@univerjs-pro/sheets-pivot 0.7.0-nightly.202504291607 → 0.7.0-nightly.202505011607
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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 +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/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(_0xcf6a7c,_0x2a050e){const _0x55e946=_0x5b70,_0x31b338=_0xcf6a7c();while(!![]){try{const _0x46c818=-parseInt(_0x55e946(0x41b))/0x1*(-parseInt(_0x55e946(0x44b))/0x2)+-parseInt(_0x55e946(0x1aa))/0x3*(parseInt(_0x55e946(0x2bd))/0x4)+parseInt(_0x55e946(0x20a))/0x5*(parseInt(_0x55e946(0x345))/0x6)+-parseInt(_0x55e946(0x323))/0x7+-parseInt(_0x55e946(0x2fa))/0x8+parseInt(_0x55e946(0x210))/0x9*(-parseInt(_0x55e946(0x20b))/0xa)+parseInt(_0x55e946(0x237))/0xb;if(_0x46c818===_0x2a050e)break;else _0x31b338['push'](_0x31b338['shift']());}catch(_0x1f3aea){_0x31b338['push'](_0x31b338['shift']());}}}(_0x30ce,0x28445),function(_0x30fd8d,_0x1b0e1e){const _0xfd6f91=_0x5b70;typeof exports=='object'&&typeof module<'u'?_0x1b0e1e(exports,require(_0xfd6f91(0x3c7)),require(_0xfd6f91(0x2c0)),require('@univerjs/engine-formula'),require(_0xfd6f91(0x296)),require('rxjs'),require(_0xfd6f91(0x224)),require(_0xfd6f91(0x15e)),require(_0xfd6f91(0x24e)),require(_0xfd6f91(0x302))):typeof define==_0xfd6f91(0x2a1)&&define[_0xfd6f91(0x40b)]?define([_0xfd6f91(0x1b3),_0xfd6f91(0x3c7),_0xfd6f91(0x2c0),_0xfd6f91(0x3ad),_0xfd6f91(0x296),'rxjs','@univerjs-pro/license',_0xfd6f91(0x15e),_0xfd6f91(0x24e),_0xfd6f91(0x302)],_0x1b0e1e):(_0x30fd8d=typeof globalThis<'u'?globalThis:_0x30fd8d||self,_0x1b0e1e(_0x30fd8d['UniverProSheetsPivot']={},_0x30fd8d[_0xfd6f91(0x29a)],_0x30fd8d['UniverCore'],_0x30fd8d[_0xfd6f91(0x2bc)],_0x30fd8d[_0xfd6f91(0x419)],_0x30fd8d[_0xfd6f91(0x2fd)],_0x30fd8d[_0xfd6f91(0x406)],_0x30fd8d[_0xfd6f91(0x43a)],_0x30fd8d[_0xfd6f91(0x3c4)],_0x30fd8d[_0xfd6f91(0x29c)]));}(this,function(_0x29b926,_0x1d148a,_0x475d1b,_0x45a5e0,_0x44476f,_0x53d07a,_0x474209,_0x37da3e,_0x702276,_0x47785e){'use strict';const _0x9268c=_0x5b70;var _0x4675ba=Object[_0x9268c(0x2a0)],_0xe4a584=(_0x2f4fdb,_0x218f43,_0xe0f687)=>_0x218f43 in _0x2f4fdb?_0x4675ba(_0x2f4fdb,_0x218f43,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe0f687}):_0x2f4fdb[_0x218f43]=_0xe0f687,_0x346b88=(_0x2a90e7,_0xa7d1d0,_0x3001d4)=>_0xe4a584(_0x2a90e7,typeof _0xa7d1d0!=_0x9268c(0x207)?_0xa7d1d0+'':_0xa7d1d0,_0x3001d4);const _0x307b41=Number[_0x9268c(0x1ff)](0x6810fa3c),_0x2a1781=0x10,_0x41ce1b=0x1,_0x2ecc25=_0x9268c(0x421),_0xe9af5e=0x1,_0x638cf1=_0x9268c(0x2d2),_0x4e4540='rgb(255,255,255)',_0x54db5f=_0x9268c(0x394),_0x565f44='#f4f4f5',_0x248674='#f4f4f5',_0x56c2b1='#eceeff',_0x2e1da9=_0x9268c(0x318),_0x2936e2=_0x9268c(0x31a),_0xba0c2a='#e6ebfa',_0x451b71=_0x9268c(0x318),_0xb8a6b=_0x9268c(0x31a),_0x1e229f=_0x9268c(0x2c5),_0x39e3d5=0xe,_0x35fa5b=0x6;var _0xb63b0b=(_0x47b6ae=>(_0x47b6ae[_0x9268c(0x18f)]=_0x9268c(0x339),_0x47b6ae[_0x9268c(0x1a1)]=_0x9268c(0x3fe),_0x47b6ae))(_0xb63b0b||{});const _0x475b38={'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':''}}},_0x28174c=0x1e,_0x479a9f={'b':{'s':0x1,'cl':{'rgb':_0x54db5f}},'l':{'s':0x1,'cl':{'rgb':_0x54db5f}},'r':{'s':0x1,'cl':{'rgb':_0x54db5f}},'t':{'s':0x1,'cl':{'rgb':_0x54db5f}}},_0x180ae2={'bg':{'rgb':_0x638cf1},'ht':0x2,'vt':0x2,'tb':0x1},_0x497268={'bg':{'rgb':_0x4e4540},'ht':0x2,'vt':0x2,'tb':0x1},_0x442467={'rowStyle':{'bg':{'rgb':_0x1e229f},'bd':_0x479a9f,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x451b71},'bd':null,'cl':{'rgb':_0xb8a6b},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x479a9f,'bg':{'rgb':_0xba0c2a},'vt':0x2},'cornerStyle':{'bd':_0x479a9f,'bg':{'rgb':_0x56c2b1},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x479a9f,'bg':{'rgb':_0x565f44},'vt':0x2},'leafStyle':{'bd':_0x479a9f,'bg':{'rgb':_0x248674},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x2e1da9},'cl':{'rgb':_0x2936e2},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x479a9f,'vt':0x2}};function _0x3afbdc(_0x3d7296,_0x4de6ef,_0x11f9fa){const _0x458624=_0x9268c,_0x4b0e67=_0x3d7296['get'](_0x475d1b[_0x458624(0x3b7)]),_0x1e8a89=_0x11f9fa[_0x458624(0x249)]('_');switch(_0x4de6ef){case _0x1d148a[_0x458624(0x1e8)][_0x458624(0x2e4)]:return _0x4b0e67['t'](_0x458624(0x458),..._0x1e8a89);case _0x1d148a[_0x458624(0x1e8)][_0x458624(0x24c)]:return _0x4b0e67['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x1e8a89);case _0x1d148a[_0x458624(0x1e8)][_0x458624(0x271)]:return _0x4b0e67['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x1e8a89);case _0x1d148a[_0x458624(0x1e8)][_0x458624(0x3a6)]:return _0x4b0e67['t'](_0x458624(0x2d6),..._0x1e8a89);case _0x1d148a[_0x458624(0x1e8)][_0x458624(0x1f5)]:return _0x4b0e67['t'](_0x458624(0x18a),..._0x1e8a89);case _0x1d148a[_0x458624(0x1e8)][_0x458624(0x29d)]:return _0x4b0e67['t'](_0x458624(0x1c2),..._0x1e8a89);case _0x1d148a[_0x458624(0x1e8)][_0x458624(0x25c)]:return _0x4b0e67['t'](_0x458624(0x19d),..._0x1e8a89);case _0x1d148a[_0x458624(0x1e8)][_0x458624(0x1d6)]:return _0x4b0e67['t'](_0x458624(0x163),..._0x1e8a89);case _0x1d148a[_0x458624(0x1e8)][_0x458624(0x2bf)]:return _0x4b0e67['t'](_0x458624(0x1fe),..._0x1e8a89);case _0x1d148a[_0x458624(0x1e8)][_0x458624(0x180)]:return _0x4b0e67['t'](_0x458624(0x3e7),..._0x1e8a89);}return'';}const _0x4ddb33=(_0x55755a,_0x47659f,_0x51e02b,_0x359076)=>{const _0x4b4f55=_0x9268c;let _0x4d42a2;const _0xd01598=_0x55755a[_0x4b4f55(0x3bb)](_0x475d1b[_0x4b4f55(0x261)])[_0x4b4f55(0x243)](_0x475d1b['UniverInstanceType'][_0x4b4f55(0x461)]);if(!_0xd01598)return null;const _0x57668c=_0xd01598[_0x4b4f55(0x44e)]();let _0x6506db;if(_0x51e02b&&(_0x6506db=_0x57668c['setValue'](_0x51e02b)),_0x47659f!=null&&_0x47659f['v']||(_0x47659f==null?void 0x0:_0x47659f['v'])===0x0){_0x4d42a2||(_0x4d42a2={});const _0x4c35f3=_0x40f122(_0x47659f['v']);typeof _0x4c35f3=='number'?_0x4d42a2['t']=_0x475d1b['CellValueType'][_0x4b4f55(0x371)]:typeof _0x4c35f3=='string'&&(_0x4d42a2['t']=_0x475d1b[_0x4b4f55(0x3ca)][_0x4b4f55(0x25b)]),_0x4d42a2['v']=_0x4c35f3;}if((_0x47659f!=null&&_0x47659f['i']||(_0x47659f==null?void 0x0:_0x47659f['i'])===0x0)&&(_0x4d42a2||(_0x4d42a2={}),_0x4d42a2['fi']=_0x47659f['i']),_0x47659f!=null&&_0x47659f['s']&&(_0x4d42a2||(_0x4d42a2={}),_0x4d42a2[_0x4b4f55(0x37a)]=_0x47659f['s']),_0x51e02b&&(_0x4d42a2||(_0x4d42a2={}),_0x4d42a2['s']=_0x6506db),_0x359076&&_0x4d42a2!=null&&_0x4d42a2['v']&&_0x4d42a2[_0x4b4f55(0x37a)]!==_0x1d148a[_0x4b4f55(0x1b7)][_0x4b4f55(0x3cb)]&&_0x4d42a2['pbt']!==_0x1d148a['PivotCellStyleTypeEnum'][_0x4b4f55(0x307)]){const _0x410986=String(_0x4d42a2['v']),{dateType:_0x557292}=_0x359076;_0x4d42a2['v']=_0x3afbdc(_0x55755a,_0x557292,_0x410986),_0x4d42a2['t']=_0x475d1b[_0x4b4f55(0x3ca)][_0x4b4f55(0x25b)];}return _0x4d42a2;},_0x14ac7a=(_0x4bf96e,_0x33dab1,_0x4af0d8,_0x51c535)=>{const _0xf14c67=_0x9268c;var _0x44a104,_0x1def10,_0x2f5955,_0x568eff,_0x1e5a90,_0x25f27b,_0x2fe7e1,_0x14cfe0,_0x1af78b,_0xc0f832,_0x1363ef,_0x4c07cf,_0x5811d9,_0x17274e;const _0x1d8aa5=_0x4af0d8[_0xf14c67(0x1bf)],{cornerView:_0x2679d8,rowView:_0x59ebfc,colView:_0x222939,dataView:_0x4ad4cf,pageView:_0x158b84,formatMap:_0x1983be,groupInfo:_0x49fed8}=_0x33dab1,{row:_0x1e4d5e,col:_0x21cc01}=_0x1d8aa5,_0x1d1b50=new _0x475d1b[(_0xf14c67(0x405))](),_0x42086b={},_0x5e4c87={},_0x155056={},_0x2c7229={},_0x482f5d={};let _0x2e9e18=_0x1e4d5e,_0x324d18=_0x21cc01;Object[_0xf14c67(0x16a)](_0x158b84['data'])[_0xf14c67(0x3df)](_0x4089b1=>{const _0x15545e=_0xf14c67;Object[_0x15545e(0x16a)](_0x158b84[_0x15545e(0x43e)][Number(_0x4089b1)])[_0x15545e(0x3df)](_0xa44f90=>{const _0x184b52=_0x15545e,_0x25dbf6={..._0x158b84['data'][Number(_0x4089b1)][Number(_0xa44f90)]};_0x1d1b50[_0x184b52(0x316)](Number(_0x4089b1)+_0x2e9e18,Number(_0xa44f90)+_0x324d18,_0x4ddb33(_0x4bf96e,_0x25dbf6,_0x442467['pageStyle']));});});const _0x33770e=Object[_0xf14c67(0x16a)](_0x158b84['data'])['length'];_0x2e9e18+=_0x33770e+(_0x33770e?_0xe9af5e:0x0);const _0x425246=_0x2679d8['getRowCount'](),_0x2348c1=_0x2679d8[_0xf14c67(0x3e9)]();for(let _0x2b5625=0x0;_0x2b5625<_0x425246;_0x2b5625++)for(let _0x4fe80f=0x0;_0x4fe80f<_0x2348c1;_0x4fe80f++){const _0x206499={...(_0x1def10=(_0x44a104=_0x2679d8['data'])==null?void 0x0:_0x44a104[_0x2b5625])==null?void 0x0:_0x1def10[_0x4fe80f]};_0x206499&&((_0x2f5955=_0x59ebfc[_0xf14c67(0x29f)][_0x4fe80f])!=null&&_0x2f5955[_0xf14c67(0x1ae)])&&_0x4fe80f===_0x2348c1-0x1&&_0x2b5625===_0x425246-0x1&&(_0x206499['v']=''+_0x51c535[_0xf14c67(0x19f)]),_0x1d1b50[_0xf14c67(0x316)](_0x2b5625+_0x2e9e18,_0x4fe80f+_0x324d18,_0x4ddb33(_0x4bf96e,_0x206499,_0x442467['cornerStyle']));}for(let _0x4476c7=0x0;_0x4476c7<_0x2679d8[_0xf14c67(0x31b)][_0xf14c67(0x32d)];_0x4476c7++)_0x2679d8['info'][_0x4476c7]&&(_0x155056[''+(_0x4476c7+_0x324d18)]=_0x2679d8[_0xf14c67(0x31b)][_0x4476c7]);_0x324d18+=_0x2348c1;const _0x59ea24=_0x222939[_0xf14c67(0x29f)],_0x625f28=_0x222939[_0xf14c67(0x1db)]()>=0x0?_0x222939[_0xf14c67(0x1db)]()+0x1:0x0,_0x7971e5=_0x222939[_0xf14c67(0x34a)]()>=0x0?_0x222939[_0xf14c67(0x34a)]()+0x1:0x0;for(let _0x188ff8=0x0;_0x188ff8<_0x7971e5;_0x188ff8++){for(let _0x1124ee=0x0;_0x1124ee<_0x625f28;_0x1124ee++){const _0x224877={...(_0x1e5a90=(_0x568eff=_0x222939['data'])==null?void 0x0:_0x568eff[_0x1124ee])==null?void 0x0:_0x1e5a90[_0x188ff8]},_0x4d39df=(_0x25f27b=_0x59ea24[_0x1124ee])==null?void 0x0:_0x25f27b[_0xf14c67(0x3a9)],_0xeaa590=_0x1983be[_0x4d39df],_0x3802c9=_0x49fed8[_0x4d39df];_0x224877&&(_0x224877['v']=_0x551650(_0x224877,_0x1124ee===0x0&&((_0x2fe7e1=_0x222939[_0xf14c67(0x2e1)](_0x188ff8+0x1))==null?void 0x0:_0x2fe7e1[_0xf14c67(0x1ae)]),_0xeaa590,_0x51c535));let _0x3f7987;_0xeaa590?_0x3f7987={..._0x442467['colStyle'],'n':{'pattern':_0xeaa590}}:_0x3f7987={..._0x442467[_0xf14c67(0x3b2)]},_0x1d1b50['setValue'](_0x1124ee+_0x2e9e18,_0x188ff8+_0x324d18,_0x4ddb33(_0x4bf96e,_0x224877,_0x3f7987,_0x3802c9));}_0x222939[_0xf14c67(0x31b)][_0x188ff8]&&(_0x5e4c87[''+(_0x188ff8+_0x324d18)]=_0x222939['info'][_0x188ff8]),_0x222939['headerMap'][_0x188ff8+0x1]&&(_0x482f5d[''+(_0x188ff8+_0x2e9e18+0x1)]=_0x222939[_0xf14c67(0x29f)][_0x188ff8+0x1]);}_0x2e9e18+=_0x425246;const _0x2ce4fb=_0x59ebfc['headerMap'],_0x1b297c=_0x59ebfc[_0xf14c67(0x1db)]()>=0x0?_0x59ebfc[_0xf14c67(0x1db)]()+0x1:0x0,_0x433076=_0x59ebfc[_0xf14c67(0x34a)]()>=0x0?_0x59ebfc[_0xf14c67(0x34a)]()+0x1:0x0;for(let _0x41ab39=0x0;_0x41ab39<_0x1b297c;_0x41ab39++){for(let _0x6a9284=0x0;_0x6a9284<_0x433076;_0x6a9284++){const _0x248051={...(_0x1af78b=(_0x14cfe0=_0x59ebfc['data'])==null?void 0x0:_0x14cfe0[_0x41ab39])==null?void 0x0:_0x1af78b[_0x6a9284]},_0x22db17=(_0xc0f832=_0x2ce4fb[_0x6a9284])==null?void 0x0:_0xc0f832[_0xf14c67(0x3a9)],_0x901062=_0x1983be[_0x22db17],_0xe6983f=_0x49fed8[_0x22db17];_0x248051&&(_0x248051['v']=_0x551650(_0x248051,!0x1,_0x901062,_0x51c535));let _0x477d71;_0x59ebfc[_0xf14c67(0x31b)][_0x41ab39][_0xf14c67(0x204)]===_0x59ebfc[_0xf14c67(0x3e9)]()?_0x477d71=_0x442467[_0xf14c67(0x25f)]:_0x59ebfc[_0xf14c67(0x31b)][_0x41ab39]['isBottomTotal']?_0x477d71=_0x59ebfc['info'][_0x41ab39][_0xf14c67(0x204)]===0x0?_0x442467['grandTotal']:_0x442467[_0xf14c67(0x211)]:_0x477d71=_0x442467['rowStyle'],_0x901062&&(_0x477d71={..._0x477d71,'n':{'pattern':_0x901062}}),_0x1d1b50[_0xf14c67(0x316)](_0x41ab39+_0x2e9e18,_0x6a9284+_0x21cc01,_0x4ddb33(_0x4bf96e,_0x248051,_0x477d71,_0xe6983f));}_0x59ebfc['info'][_0x41ab39]&&(_0x42086b[''+(_0x41ab39+_0x2e9e18)]=_0x59ebfc[_0xf14c67(0x31b)][_0x41ab39]),_0x59ebfc[_0xf14c67(0x29f)][_0x41ab39]&&(_0x2c7229[''+(_0x41ab39+_0x21cc01)]=_0x59ebfc[_0xf14c67(0x29f)][_0x41ab39]);}const _0x557423=_0x4ad4cf['getRowCount'](),_0x563eaf=_0x4ad4cf[_0xf14c67(0x3e9)]();for(let _0x3165f8=0x0;_0x3165f8<_0x557423;_0x3165f8++)for(let _0x37b291=0x0;_0x37b291<_0x563eaf;_0x37b291++){const _0x2bc9e2={...(_0x4c07cf=(_0x1363ef=_0x4ad4cf['data'])==null?void 0x0:_0x1363ef[_0x3165f8])==null?void 0x0:_0x4c07cf[_0x37b291]};let _0x279fcf;_0x59ebfc[_0xf14c67(0x31b)][_0x3165f8]['isBottomTotal']?_0x279fcf=_0x59ebfc[_0xf14c67(0x31b)][_0x3165f8][_0xf14c67(0x204)]===0x0?_0x442467[_0xf14c67(0x42e)]:_0x442467['subTotalStyle']:_0x279fcf=_0x442467['dataStyle'];const _0x4d531a=_0x59ebfc[_0xf14c67(0x31b)][_0x3165f8][_0xf14c67(0x30f)],_0x5a4d16=_0x222939[_0xf14c67(0x31b)][_0x37b291][_0xf14c67(0x30f)],_0x2b2315=Math[_0xf14c67(0x328)](_0x4d531a,_0x5a4d16),_0x27e1d8=_0x4af0d8[_0xf14c67(0x1e6)][_0xf14c67(0x374)][_0xf14c67(0x39f)]();let _0x46eec7='';_0x2b2315<0x0?_0x46eec7=(_0x5811d9=_0x27e1d8[0x0])!=null?_0x5811d9:'':_0x46eec7=(_0x17274e=_0x27e1d8[_0x2b2315])!=null?_0x17274e:'';const _0x4fdcd4=_0x1983be[_0x46eec7];_0x4fdcd4&&(_0x279fcf={..._0x279fcf,'n':{'pattern':_0x4fdcd4}}),_0x1d1b50['setValue'](_0x3165f8+_0x2e9e18,_0x37b291+_0x324d18,_0x4ddb33(_0x4bf96e,_0x2bc9e2,_0x279fcf));}return{'valueMatrix':_0x1d1b50,'rowInfo':_0x42086b,'colInfo':_0x5e4c87,'cornerInfo':_0x155056,'rowHeaderMap':_0x2c7229,'colHeaderMap':_0x482f5d};};function _0x551650(_0x120b64,_0x2c8b8d,_0x30b03e,_0x2d5e9b){const _0x231d5b=_0x9268c;let _0x2df1c4=_0x120b64['v'];_0x2c8b8d&&(_0x2df1c4=''+_0x2d5e9b[_0x231d5b(0x19f)]);const _0x3bb47e=_0x120b64['t']&&(_0x120b64['t']&_0x1d148a[_0x231d5b(0x3d3)][_0x231d5b(0x21f)])>0x0;if(_0x3bb47e&&(_0x2df1c4=''+_0x2d5e9b[_0x231d5b(0x1b2)]),_0x120b64['s']===_0x1d148a[_0x231d5b(0x1b7)][_0x231d5b(0x307)]){let _0xaf17fb=_0x2df1c4,_0x5a52fb='';_0x1d148a[_0x231d5b(0x44d)](_0x2df1c4)&&(_0xaf17fb=_0x2df1c4[_0x231d5b(0x2e3)],_0x5a52fb=_0x2df1c4[_0x231d5b(0x1bc)]);const _0x1af341=_0x30b03e&&!_0x3bb47e?_0x475d1b[_0x231d5b(0x2d5)]['format'](_0x30b03e,Number(_0xaf17fb)):_0xaf17fb;_0x5a52fb?_0x2df1c4=_0x1af341+'\x20'+_0x5a52fb:_0x2df1c4=_0x1af341+'\x20'+_0x2d5e9b[_0x231d5b(0x468)];}else _0x120b64['s']===_0x1d148a[_0x231d5b(0x1b7)][_0x231d5b(0x3cb)]&&(_0x2df1c4=_0x2df1c4+'\x20'+_0x2d5e9b[_0x231d5b(0x39b)]);return _0x2df1c4;}function _0x40f122(_0x35ab34){const _0x1a188a=_0x9268c;if(_0x1d148a[_0x1a188a(0x295)](_0x35ab34)){const {errorType:_0x108e39}=_0x35ab34;switch(_0x108e39){case _0x1d148a['PivotErrorTypeEnum'][_0x1a188a(0x3d5)]:return _0x45a5e0[_0x1a188a(0x234)][_0x1a188a(0x2cf)];case _0x1d148a[_0x1a188a(0x447)][_0x1a188a(0x37b)]:return _0x45a5e0['ErrorType']['NUM'];case _0x1d148a[_0x1a188a(0x447)][_0x1a188a(0x315)]:return _0x45a5e0['ErrorType'][_0x1a188a(0x1c9)];case _0x1d148a[_0x1a188a(0x447)][_0x1a188a(0x28c)]:return _0x45a5e0[_0x1a188a(0x234)]['NAME'];case _0x1d148a[_0x1a188a(0x447)][_0x1a188a(0x3e8)]:return _0x45a5e0['ErrorType'][_0x1a188a(0x45a)];}}return _0x35ab34;}function _0xc7a07b(_0x315659,_0x4b0d8c,_0x29aaf7=!0x1,_0x3aa29e=!0x1){const _0x2d4838=_0x9268c,{data:_0x40ef2b}=_0x4b0d8c,_0x4fd95b=_0x4b0d8c[_0x2d4838(0x418)](),_0x10e8ac=_0x4b0d8c[_0x2d4838(0x3e9)]();if(_0x4fd95b<=0x0||_0x10e8ac<=0x0)return[];const _0x4bfbc6=_0x4b0d8c['getLastCol'](),_0x156060=_0x4b0d8c['getLastRow'](),_0x201487=_0x3aa29e?_0x156060>=0x0?_0x156060+0x1:0x0:_0x4fd95b,_0x43e2c3=_0x3aa29e?_0x4bfbc6>=0x0?_0x4bfbc6+0x1:0x0:_0x10e8ac,{row:_0x1ceaa3,col:_0xa0cea6}=_0x315659,_0xfd0794=_0x1ceaa3,_0x93e1c=_0xa0cea6;if(_0x29aaf7){const _0x5eb2ce=[];for(const [_0x182e8e,_0x394a39]of Object['entries'](_0x40ef2b))for(const [_0x18778f,_0x1724ed]of Object['entries'](_0x394a39))_0x5eb2ce[_0x2d4838(0x17b)](_0x475d1b[_0x2d4838(0x335)](_0xfd0794+Number(_0x182e8e),_0x93e1c+Number(_0x18778f)));return _0x5eb2ce;}else{const _0x108d1a=_0x3aa29e?_0x201487>0x0?0x1:0x0:0x1,_0x437b2d=_0x3aa29e?_0x43e2c3>0x0?0x1:0x0:0x1,_0x302bd9=_0x1ceaa3+_0x201487-_0x108d1a,_0xd6886b=_0xa0cea6+_0x43e2c3-_0x437b2d;return[{'startRow':_0xfd0794,'startColumn':_0x93e1c,'endRow':_0x302bd9,'endColumn':_0xd6886b}];}}const _0x1bd950=_0x9268c(0x46d),_0x506cb3='SHEET_PIVOT_EXCLUSIVE_ID';var _0x3ca738=(_0x4ed4ff=>(_0x4ed4ff[_0x9268c(0x228)]='filter',_0x4ed4ff[_0x9268c(0x312)]=_0x9268c(0x1ce),_0x4ed4ff[_0x9268c(0x17f)]=_0x9268c(0x28d),_0x4ed4ff[_0x9268c(0x1cb)]=_0x9268c(0x1cb),_0x4ed4ff[_0x9268c(0x34c)]=_0x9268c(0x15b),_0x4ed4ff[_0x9268c(0x196)]=_0x9268c(0x30a),_0x4ed4ff[_0x9268c(0x2de)]='removePivotField',_0x4ed4ff[_0x9268c(0x181)]=_0x9268c(0x388),_0x4ed4ff[_0x9268c(0x160)]=_0x9268c(0x410),_0x4ed4ff[_0x9268c(0x3c9)]=_0x9268c(0x28b),_0x4ed4ff[_0x9268c(0x304)]=_0x9268c(0x1ac),_0x4ed4ff[_0x9268c(0x314)]=_0x9268c(0x1fc),_0x4ed4ff[_0x9268c(0x44f)]=_0x9268c(0x1fa),_0x4ed4ff[_0x9268c(0x2ac)]='drillDown',_0x4ed4ff[_0x9268c(0x2ce)]='setValuePivotFilter',_0x4ed4ff[_0x9268c(0x35b)]=_0x9268c(0x429),_0x4ed4ff[_0x9268c(0x36f)]=_0x9268c(0x2c4),_0x4ed4ff))(_0x3ca738||{});const _0x48891c={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x9268c(0x241),'sheets-pivot.subTotalText':_0x9268c(0x285),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x9268c(0x3c2),'sheets-pivot.averageName':_0x9268c(0x272),'sheets-pivot.countName':_0x9268c(0x265),'sheets-pivot.countNumsName':_0x9268c(0x265),'sheets-pivot.maxName':_0x9268c(0x1ec),'sheets-pivot.minName':_0x9268c(0x452),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x9268c(0x26d),'sheets-pivot.stdDevpName':_0x9268c(0x176),'sheets-pivot.sumName':_0x9268c(0x428),'sheets-pivot.varName':_0x9268c(0x33a),'sheets-pivot.varpName':_0x9268c(0x465),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x9268c(0x33c),'sheets-pivot.value':_0x9268c(0x1bc),'sheets-pivot.blank':_0x9268c(0x21f),'sheets-pivot.emptyPivot.filter':_0x9268c(0x228),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x9268c(0x174),'sheets-pivot.emptyPivot.values':'Values'},_0x1de6dd={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x3b3162=_0x475d1b[_0x9268c(0x28e)]('pivotPerformCheck'),_0x79d632=_0x475d1b[_0x9268c(0x1b4)]('pivotMutationGenerate');var _0x2f2b6e=(_0x4bc1da=>(_0x4bc1da[_0x9268c(0x156)]=_0x9268c(0x156),_0x4bc1da['delete']='delete',_0x4bc1da[_0x9268c(0x402)]=_0x9268c(0x402),_0x4bc1da))(_0x2f2b6e||{}),_0x94aa6e=(_0x2255b2=>(_0x2255b2[_0x9268c(0x332)]='add',_0x2255b2[_0x9268c(0x381)]=_0x9268c(0x40a),_0x2255b2[_0x9268c(0x22e)]=_0x9268c(0x37c),_0x2255b2))(_0x94aa6e||{});const _0x1a8b36={0x0:'6',0x1:'U',0x2:'b',0x3:'P',0x4:'Z',0x5:'G',0x6:'l',0x7:'E',0x8:'T',0x9:'N','j':'0','A':'1','U':'2','k':'3','u':'4','F':'5','N':'7','H':'8','D':'9','J':'a','c':'c','p':'d','w':'e','O':'f','a':'g','X':'h','W':'i','V':'j','Z':'k','M':'m','P':'n','h':'o','s':'p','e':'q','r':'r','v':'s','m':'t','G':'u','t':'v','R':'w','b':'x','f':'y','L':'z','C':'A','B':'B','Y':'C','K':'D','o':'F','y':'H','n':'I','T':'J','g':'K','i':'L','x':'M','d':'O','S':'Q','I':'R','l':'S','Q':'V','E':'W','z':'X','q':'Y'},_0x3df0b4=_0x9268c(0x391),_0x239074={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':_0x9268c(0x3a2),'handler':()=>!0x0},_0x29dd01={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':_0x9268c(0x32e),'handler':()=>!0x0},_0x421bc0={'type':_0x475d1b[_0x9268c(0x15f)]['MUTATION'],'id':_0x9268c(0x306),'handler':()=>!0x0},_0x2c1bd3={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':_0x9268c(0x28a),'handler':()=>!0x0},_0x499dd5={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':_0x9268c(0x343),'handler':()=>!0x0},_0x1bae6f=_0x425659=>{const _0x2ff626=_0x9268c;var _0x433075;return((_0x433075=_0x425659[_0x2ff626(0x24b)])==null?void 0x0:_0x433075['dataStream']['replace'](/\r\n$/,''))||'';};class _0x2171ca extends _0x1d148a[_0x9268c(0x2c7)]{constructor(_0x1a6ff4,_0x56a6c6){const _0x423bd2=_0x9268c;super(),_0x346b88(this,'rangeKeyMap',{}),_0x346b88(this,_0x423bd2(0x2d4)),_0x346b88(this,_0x423bd2(0x445)),(this['_univerInstanceService']=_0x56a6c6,this[_0x423bd2(0x445)]=_0x1a6ff4);}['initDataRanges'](){const _0xd44a9b=_0x9268c;for(const _0x4f9b98 in this['dataFields']){const _0x210144=this['dataFields'][_0x4f9b98],_0x4eeb3d=_0x210144[_0xd44a9b(0x2e7)]();this['rangeKeyMap'][_0x4eeb3d]=_0x210144[_0xd44a9b(0x1ef)]();}}[_0x9268c(0x349)](){const _0x8f433c=_0x9268c,_0x61d87d=this[_0x8f433c(0x445)];return _0x38ef51[_0x8f433c(0x27c)](_0x61d87d);}[_0x9268c(0x378)](_0x5476f5){const _0x3972b7=_0x9268c,_0x3a68d1=this[_0x3972b7(0x1eb)][_0x5476f5][_0x3972b7(0x2e9)];delete this[_0x3972b7(0x1eb)][_0x5476f5],delete this[_0x3972b7(0x1f8)][_0x3a68d1];}[_0x9268c(0x1d9)](_0x6839c7){const _0x21b966=_0x9268c;this[_0x21b966(0x1eb)][_0x6839c7[_0x21b966(0x1ef)]()]=_0x6839c7;}['removeCollectionImp'](_0x3420d1){const _0x5977cc=_0x9268c;var _0x125162,_0x5ad13a;const _0x2d51c9=this[_0x5977cc(0x445)]['getTargetByPivotId'](_0x3420d1);if(_0x2d51c9){const {unitId:_0x2f6c46,subUnitId:_0x391dfe}=_0x2d51c9,_0x461ad5=(_0x125162=this[_0x5977cc(0x445)][_0x5977cc(0x346)](_0x2f6c46,_0x391dfe,_0x3420d1))==null?void 0x0:_0x125162[_0x5977cc(0x453)];this[_0x5977cc(0x445)][_0x5977cc(0x2fc)]({'token':_0x3420d1,'type':_0x2f2b6e['delete'],'dataRangeInfo':_0x461ad5});}(_0x5ad13a=this[_0x5977cc(0x35a)](_0x3420d1))==null||_0x5ad13a[_0x5977cc(0x3dc)](),delete this['collections'][_0x3420d1];}['getRangeKey'](_0x25b0fe,_0x45a2fd){const _0x2293c8=_0x9268c,{sheetName:_0x3cfec9,unitId:_0x1d6b1d,range:_0x4db2e3}=_0x25b0fe,{startRow:_0x313fcb,endRow:_0x27d581}=_0x4db2e3;return _0x45a5e0[_0x2293c8(0x369)](_0x1d6b1d,_0x3cfec9,{'startRow':_0x313fcb,'endRow':_0x27d581,'startColumn':_0x45a2fd,'endColumn':_0x45a2fd});}[_0x9268c(0x2f4)](_0x24fc2f){const _0x4ded4b=_0x9268c;return this[_0x4ded4b(0x1eb)][this[_0x4ded4b(0x1f8)][_0x24fc2f]];}[_0x9268c(0x178)](_0x223298,_0x553d6b){const _0x263314=_0x9268c;this[_0x263314(0x1f8)][_0x223298]=_0x553d6b;}['updateRangeKeyMap'](_0x7863a2,_0x13602d){const _0x4c3d21=_0x9268c;this[_0x4c3d21(0x1f8)][_0x13602d]=this[_0x4c3d21(0x1f8)][_0x7863a2],delete this[_0x4c3d21(0x1f8)][_0x7863a2];}[_0x9268c(0x222)](_0x447115,_0x25fb27,_0x4951d5,_0x54aa81){const _0x32e87b=_0x9268c,_0x475a16=new _0x1d148a['FieldsCollection'](this);_0x475a16[_0x32e87b(0x20e)](_0x25fb27);const _0x3e93e5=[];let _0x4f1133=0x0;for(const _0x110b08 of _0x475a16[_0x32e87b(0x449)]){const _0x2c3b3e=this[_0x32e87b(0x2e7)](_0x4951d5,_0x4f1133),_0x42ccc4=this['dataFields'][_0x110b08];_0x42ccc4&&(_0x42ccc4[_0x32e87b(0x2e9)]=_0x2c3b3e,this[_0x32e87b(0x178)](_0x2c3b3e,_0x110b08),_0x3e93e5['push']({'index':_0x4f1133,'dataField':_0x42ccc4})),_0x4f1133++;}return this['addCollection'](_0x447115,_0x475a16,_0x4951d5,_0x54aa81),{'collection':_0x475a16,'updateDataFieldList':_0x3e93e5};}[_0x9268c(0x42b)](_0x245f16,_0x1507ec){const _0xf17b9c=_0x9268c;return _0x245f16[_0xf17b9c(0x24a)]===_0x475d1b[_0xf17b9c(0x444)][_0xf17b9c(0x155)]?{'startRow':0x0,'startColumn':_0x245f16['startColumn'],'endRow':_0x1507ec[_0xf17b9c(0x418)]()-0x1,'endColumn':_0x245f16[_0xf17b9c(0x277)]}:{'startRow':_0x245f16[_0xf17b9c(0x2ff)],'startColumn':_0x245f16[_0xf17b9c(0x1e9)],'endRow':_0x245f16['endRow'],'endColumn':_0x245f16[_0xf17b9c(0x277)]};}[_0x9268c(0x2aa)](_0xe89276){const _0x47ab0f=_0x9268c,{sheetName:_0x36ecc3,range:_0x550236}=_0xe89276,_0x7f4671=this[_0x47ab0f(0x2d4)][_0x47ab0f(0x243)](_0x475d1b[_0x47ab0f(0x194)][_0x47ab0f(0x461)]),_0x342bc7=_0x7f4671['getSheetBySheetName'](_0x36ecc3),_0x9806de=_0x342bc7[_0x47ab0f(0x2d0)](),{startColumn:_0x42aac1,startRow:_0x1e3bce,endColumn:_0x374f90}=this[_0x47ab0f(0x42b)](_0x550236,_0x342bc7),_0x586512=_0x7f4671[_0x47ab0f(0x44e)](),_0x118c72=new _0x1d148a[(_0x47ab0f(0x3b8))](this);_0x118c72[_0x47ab0f(0x182)](_0xe89276);const _0x35a7a8=[],_0x1e1663={};for(let _0x3b9591=_0x42aac1;_0x3b9591<=_0x374f90;_0x3b9591++){const _0x5d07e9=_0x9806de[_0x47ab0f(0x25a)](_0x1e3bce,_0x3b9591),_0x195adf=this[_0x47ab0f(0x2e7)](_0xe89276,_0x3b9591),_0x195e7a=this[_0x47ab0f(0x2f4)](_0x195adf);if(_0x195e7a)_0x118c72[_0x47ab0f(0x426)](_0x195e7a[_0x47ab0f(0x1ef)](),_0x195e7a[_0x47ab0f(0x231)]());else{const _0x255938=this[_0x47ab0f(0x17c)]();let _0x501905=this['adjustSheetCellData'](_0x5d07e9,_0x586512,_0x1e1663);_0x1d148a['isDateValue'](_0x501905)&&(_0x501905=_0x475d1b[_0x47ab0f(0x2d5)][_0x47ab0f(0x17a)](_0x501905['f'],Number(_0x501905['v'])));const _0x31d38b=this[_0x47ab0f(0x430)](_0x501905,_0x3b9591),_0x553ab0=new _0x1d148a[(_0x47ab0f(0x3f7))](_0x255938,_0x31d38b,_0x1d148a['generateHexNumber'](0x3));_0x553ab0[_0x47ab0f(0x2e9)]=_0x195adf,this['dataFields'][_0x255938]=_0x553ab0,_0x118c72['addField'](_0x255938,_0x31d38b),_0x35a7a8['push']({'index':_0x3b9591,'dataField':_0x553ab0});}}return{'updateDataFieldList':_0x35a7a8,'collection':_0x118c72};}[_0x9268c(0x290)](_0x22508c){const _0x13f8f4=_0x9268c;return this[_0x13f8f4(0x445)][_0x13f8f4(0x22d)]()[_0x13f8f4(0x3f6)]+'\x20'+_0x475d1b[_0x13f8f4(0x372)](_0x22508c);}[_0x9268c(0x430)](_0x551783,_0x3ac626){const _0x35788e=_0x9268c;return _0x551783==null||_0x551783===''?this[_0x35788e(0x290)](_0x3ac626):String(_0x551783);}['getCollection'](_0x42d96c){return this['collections'][_0x42d96c];}[_0x9268c(0x2f6)](_0x5c30de,_0x1caf6c,_0x1120c3,_0x504fba){const _0x21a930=_0x9268c;this[_0x21a930(0x3c3)][_0x5c30de]=_0x1caf6c,_0x1caf6c[_0x21a930(0x182)](_0x1120c3),this[_0x21a930(0x445)][_0x21a930(0x2fc)]({'token':_0x5c30de,'type':_0x2f2b6e[_0x21a930(0x156)],'dataRangeInfo':_0x1120c3,'targetCellInfo':_0x504fba});}[_0x9268c(0x3eb)](_0x28ebff,_0x434c1b){const _0xa76283=_0x9268c,_0x57d9bf=this[_0xa76283(0x35a)](_0x28ebff),_0x911b36=_0x57d9bf[_0xa76283(0x1ed)]();let _0x46d839=0x0;for(const _0x47e9f0 of _0x911b36){const _0x469e87=_0x57d9bf[_0xa76283(0x3ec)](_0x47e9f0),_0x4cc7d2=this[_0xa76283(0x2e7)](_0x434c1b,_0x46d839);this['updateRangeKeyMap'](_0x469e87[_0xa76283(0x2e9)],_0x4cc7d2),_0x46d839++;}}[_0x9268c(0x278)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x411080,_0x431bcd){const _0x7e6e6c=_0x9268c;if(this['getCollection'](_0x411080)){const _0x145fdf=this[_0x7e6e6c(0x325)](_0x431bcd),_0x1308e6=[];for(const _0x2e1019 of _0x145fdf)this[_0x7e6e6c(0x1f8)][_0x2e1019]!==void 0x0&&_0x1308e6[_0x7e6e6c(0x17b)](this[_0x7e6e6c(0x1f8)][_0x2e1019]);const _0x1e3753=this[_0x7e6e6c(0x42a)](_0x411080),_0x38201e=[],_0x2c43c4=new Set(_0x1308e6);for(const _0x4c51f2 of _0x1e3753)_0x2c43c4[_0x7e6e6c(0x2a4)](_0x4c51f2)||_0x38201e[_0x7e6e6c(0x17b)](_0x4c51f2);return _0x38201e;}}[_0x9268c(0x299)](_0x4d7b8f,_0xfdf6ce,_0x4f14d0,_0x32f098,_0x1168f0){const _0x2f895d=_0x9268c;return _0xfdf6ce&&_0xfdf6ce[_0x2f895d(0x25a)](_0x32f098,_0x1168f0)?_0xfdf6ce[_0x2f895d(0x25a)](_0x32f098,_0x1168f0):_0x4f14d0&&_0x4f14d0[_0x2f895d(0x25a)](_0x32f098,_0x1168f0)?_0x4f14d0[_0x2f895d(0x25a)](_0x32f098,_0x1168f0):_0x4d7b8f[_0x2f895d(0x25a)](_0x32f098,_0x1168f0);}[_0x9268c(0x457)](_0x4bb411,_0x51b0b7,_0x113bae,_0x5c3c0b){const _0x4fd92a=_0x9268c,_0x9939a1=this[_0x4fd92a(0x1eb)][_0x4bb411];if(!_0x9939a1)return;const {subUnitId:_0x49cbd0,range:_0x4e4163,unitId:_0x2a0943}=_0x51b0b7,_0x5570a3=this[_0x4fd92a(0x2d4)][_0x4fd92a(0x3a3)](_0x2a0943);if(!_0x5570a3){console['error'](_0x4fd92a(0x19e));return;}const _0x18c6ac=_0x5570a3[_0x4fd92a(0x171)](_0x49cbd0),_0x5f0604=_0x18c6ac[_0x4fd92a(0x2d0)](),{arrayFormulaCellDataMatrix:_0x1fd871,unitDataMatrix:_0x2ae203}=_0x5c3c0b||{},{startRow:_0x25d9bd,startColumn:_0x373538,endRow:_0x3c1d7e}=this[_0x4fd92a(0x42b)](_0x4e4163,_0x18c6ac);_0x9939a1['reset']();const _0x339fa2=_0x5570a3['getStyles'](),_0x128a16={},_0x200f0b=this[_0x4fd92a(0x299)](_0x5f0604,_0x1fd871,_0x2ae203,_0x25d9bd,_0x373538+_0x113bae);let _0x289179=this['adjustSheetCellData'](_0x200f0b,_0x339fa2,_0x128a16);_0x1d148a['isDateValue'](_0x289179)&&(_0x289179=_0x475d1b['numfmt'][_0x4fd92a(0x17a)](_0x289179['f'],Number(_0x289179['v'])));const _0xaea78e=this[_0x4fd92a(0x430)](_0x289179,_0x373538+_0x113bae);_0x9939a1[_0x4fd92a(0x3bf)](_0xaea78e);for(let _0x5df941=_0x25d9bd+0x1;_0x5df941<=_0x3c1d7e;_0x5df941++){const _0x384d48=this['getMatrixValue'](_0x5f0604,_0x1fd871,_0x2ae203,_0x5df941,_0x373538+_0x113bae);_0x9939a1[_0x4fd92a(0x404)](this[_0x4fd92a(0x408)](_0x384d48,_0x339fa2,_0x128a16),_0x5df941-0x1-_0x25d9bd);}}[_0x9268c(0x168)](_0x19a926,_0x208e1f,_0x27e036){const _0xc2cdca=_0x9268c,{subUnitId:_0xf8af95,range:_0x1610db,unitId:_0xb4890d}=_0x27e036,_0x145fe3=this['_univerInstanceService']['getUnit'](_0xb4890d);if(!_0x145fe3){console[_0xc2cdca(0x3a0)](_0xc2cdca(0x19e));return;}const _0x2227cc=_0x145fe3[_0xc2cdca(0x171)](_0xf8af95),_0x143e59=_0x2227cc['getCellMatrix'](),{startRow:_0x47f566,startColumn:_0x5614ae,endRow:_0x1c8c5d}=this['getRangeStartEndInfo'](_0x1610db,_0x2227cc),_0x243cfd=_0x145fe3[_0xc2cdca(0x44e)](),_0xd648dd={};for(const {dataField:_0x29c9a5,index:_0x1e59a4}of _0x208e1f){_0x29c9a5[_0xc2cdca(0x1b6)]();const _0x417cc2=this[_0xc2cdca(0x299)](_0x143e59,void 0x0,void 0x0,_0x47f566,_0x5614ae+_0x1e59a4);let _0x3ec28f=this[_0xc2cdca(0x408)](_0x417cc2,_0x243cfd,_0xd648dd);_0x1d148a[_0xc2cdca(0x20f)](_0x3ec28f)&&(_0x3ec28f=_0x475d1b[_0xc2cdca(0x2d5)][_0xc2cdca(0x17a)](_0x3ec28f['f'],Number(_0x3ec28f['v'])));const _0x2885cc=this[_0xc2cdca(0x430)](_0x3ec28f,_0x5614ae+_0x1e59a4);_0x29c9a5[_0xc2cdca(0x3bf)](_0x2885cc);}_0x19a926['updateAllDisplayName']();for(let _0x2b667a=_0x47f566+0x1;_0x2b667a<=_0x1c8c5d;_0x2b667a++)for(const {index:_0x1c31d4,dataField:_0x45b988}of _0x208e1f){const _0x2600a6=_0x143e59['getValue'](_0x2b667a,_0x5614ae+_0x1c31d4);_0x45b988['addRecord'](this[_0xc2cdca(0x408)](_0x2600a6,_0x243cfd,_0xd648dd),_0x2b667a-0x1-_0x47f566);}_0x19a926[_0xc2cdca(0x305)](_0x1c8c5d-_0x47f566);}[_0x9268c(0x325)](_0xdfa36a){const _0x269598=_0x9268c,{range:_0x2877d9}=_0xdfa36a,{startColumn:_0x3b67fa,endColumn:_0x4e626a}=_0x2877d9,_0x3abba6=[];for(let _0x363aaf=_0x3b67fa;_0x363aaf<=_0x4e626a;_0x363aaf++)_0x3abba6[_0x269598(0x17b)](this[_0x269598(0x2e7)](_0xdfa36a,_0x363aaf));return _0x3abba6;}[_0x9268c(0x408)](_0xcc736b,_0x172053,_0x55fbf1){const _0x5cc71f=_0x9268c;if(_0xcc736b){const {s:_0x5a4d32,v:_0x106523,t:_0xcccb17,p:_0x45cc78}=_0xcc736b;if(_0x45cc78)return _0x1bae6f(_0x45cc78);const _0x14079e=_0x172053[_0x5cc71f(0x3bb)](_0x5a4d32);if(_0x14079e&&_0xcccb17===_0x475d1b[_0x5cc71f(0x3ca)][_0x5cc71f(0x371)]&&_0x14079e['n']){const {pattern:_0x2c9b73}=_0x14079e['n'];_0x55fbf1[_0x2c9b73]||(_0x55fbf1[_0x2c9b73]=_0x475d1b['numfmt'][_0x5cc71f(0x266)](_0x2c9b73));const _0x1636b5=_0x55fbf1[_0x2c9b73],_0x5683c=_0x1636b5['isDate'];if(_0x1636b5[_0x5cc71f(0x354)])return String(_0x106523);if(_0x5683c)return{'v':_0x106523,'f':_0x2c9b73};}if(_0xcccb17===_0x475d1b['CellValueType'][_0x5cc71f(0x371)])return Number(_0x106523);if(_0xcccb17===_0x475d1b[_0x5cc71f(0x3ca)]['STRING']||_0xcccb17===_0x475d1b[_0x5cc71f(0x3ca)]['FORCE_STRING'])return String(_0x106523);if(_0xcccb17===void 0x0){const _0x362702=Number(_0x106523);if(!Number['isNaN'](_0x362702)&&String(_0x362702)===_0x106523)return _0x362702;}return _0x106523!=null?_0x106523:null;}else return null;}[_0x9268c(0x2cc)](_0x422e73){const _0x16dfc3=_0x9268c,{sheetName:_0x4ddaf4,range:_0x47c18e,unitId:_0x50d12d}=_0x422e73,_0x189023=this[_0x16dfc3(0x2d4)][_0x16dfc3(0x3a3)](_0x50d12d);if(!_0x189023)return console[_0x16dfc3(0x3a0)](_0x16dfc3(0x19e)),{'header':[],'data':[]};const _0x2400b7=_0x189023['getSheetBySheetName'](_0x4ddaf4),_0xf6558d=_0x2400b7[_0x16dfc3(0x2d0)](),{startRow:_0xb5a85a,startColumn:_0x5b8573,endRow:_0x1a3f1b,endColumn:_0x172110}=this[_0x16dfc3(0x42b)](_0x47c18e,_0x2400b7),_0x3a9290=_0x189023[_0x16dfc3(0x44e)](),_0x4b2ab4=[],_0x50a1ba=[],_0x433b53={};for(let _0x3cb658=_0xb5a85a;_0x3cb658<=_0x1a3f1b;_0x3cb658++){const _0x26a71d=[];for(let _0x582c8b=_0x5b8573;_0x582c8b<=_0x172110;_0x582c8b++){const _0xd0b28c=_0xf6558d[_0x16dfc3(0x25a)](_0x3cb658,_0x582c8b);_0x3cb658===_0xb5a85a?_0x4b2ab4[_0x16dfc3(0x17b)](_0xd0b28c==null?null:String(_0xd0b28c['v'])):_0x26a71d['push'](this[_0x16dfc3(0x408)](_0xd0b28c,_0x3a9290,_0x433b53));}_0x50a1ba[_0x16dfc3(0x17b)](_0x26a71d);}return{'header':_0x4b2ab4,'data':_0x50a1ba};}[_0x9268c(0x38e)](){const _0x10016d=_0x9268c;return super[_0x10016d(0x38e)]();}[_0x9268c(0x20e)](_0x2b488e){const _0xa9981a=_0x9268c;super[_0xa9981a(0x20e)](_0x2b488e),this[_0xa9981a(0x33e)]();}[_0x9268c(0x3dc)](){const _0x550597=_0x9268c;super[_0x550597(0x3dc)](),this['rangeKeyMap']={},this[_0x550597(0x445)]=null;}}const _0x100a8a=_0x1b9bd1=>{const _0x59ef83=_0x9268c,{targetCellInfo:_0xd2d954}=_0x1b9bd1,{matrixCache:_0xc2573e,rangesCache:_0x2540d5}=_0x39db0e({'filter':_0x59ef83(0x228),'row':'Row','column':_0x59ef83(0x174),'values':_0x59ef83(0x183)},_0xd2d954),_0x126f33=new _0x475d1b[(_0x59ef83(0x405))]();return _0xc2573e[_0x59ef83(0x45e)]((_0x214412,_0x3936ca,_0x8c7591)=>{_0x126f33['setValue'](_0x214412,_0x3936ca,_0x8c7591);}),{'matrix':_0x126f33,'rangesCache':_0x2540d5};},_0x189f78=_0xfe3c5e=>{const _0xdcf5ff=_0x9268c;let _0x523fbe;if(_0xfe3c5e!=null&&_0xfe3c5e['v']||(_0xfe3c5e==null?void 0x0:_0xfe3c5e['v'])===0x0){_0x523fbe||(_0x523fbe={});const _0x13c2fe=_0x40f122(_0xfe3c5e['v']);typeof _0x13c2fe==_0xdcf5ff(0x409)?_0x523fbe['t']=_0x475d1b[_0xdcf5ff(0x3ca)][_0xdcf5ff(0x371)]:typeof _0x13c2fe=='string'&&(_0x523fbe['t']=_0x475d1b[_0xdcf5ff(0x3ca)]['STRING']),_0x523fbe['v']=_0x13c2fe;}return _0x523fbe;},_0x4cebe8=(_0x1d6b99,_0x4226e4,_0x451ab9)=>{const _0x54d37f=_0x9268c;var _0x92dfe3,_0x370b78,_0x1d5da5,_0x20fbb6,_0x308fe9,_0xaaab57,_0x5d574e,_0x22073f,_0x2e7aa2,_0x414ccc,_0x5c4805,_0x57b6d6;const {cornerView:_0xc3b4a0,rowView:_0x5aac5e,colView:_0x47de4b,dataView:_0x139af6,pageView:_0x3f3f8c,formatMap:_0x33ae30}=_0x1d6b99,{row:_0x421995,col:_0x46b04e}=_0x4226e4,_0x20ce9e=new _0x475d1b[(_0x54d37f(0x405))]();let _0x564593=_0x421995,_0x101ac9=_0x46b04e;Object[_0x54d37f(0x16a)](_0x3f3f8c[_0x54d37f(0x43e)])[_0x54d37f(0x3df)](_0xf544af=>{const _0x50c78d=_0x54d37f;Object[_0x50c78d(0x16a)](_0x3f3f8c[_0x50c78d(0x43e)][Number(_0xf544af)])[_0x50c78d(0x3df)](_0x27aa0b=>{const _0x3a6064=_0x50c78d,_0x368748={..._0x3f3f8c[_0x3a6064(0x43e)][Number(_0xf544af)][Number(_0x27aa0b)]};_0x20ce9e[_0x3a6064(0x316)](Number(_0xf544af)+_0x564593,Number(_0x27aa0b)+_0x101ac9,_0x189f78(_0x368748));});});const _0x19aca9=Object[_0x54d37f(0x16a)](_0x3f3f8c[_0x54d37f(0x43e)])['length'];_0x564593+=_0x19aca9+(_0x19aca9?_0xe9af5e:0x0);const _0x38e158=_0xc3b4a0[_0x54d37f(0x418)](),_0x47934c=_0xc3b4a0[_0x54d37f(0x3e9)]();for(let _0x561472=0x0;_0x561472<_0x38e158;_0x561472++)for(let _0x27c993=0x0;_0x27c993<_0x47934c;_0x27c993++){const _0x34038a={...(_0x370b78=(_0x92dfe3=_0xc3b4a0[_0x54d37f(0x43e)])==null?void 0x0:_0x92dfe3[_0x561472])==null?void 0x0:_0x370b78[_0x27c993]};_0x34038a&&((_0x1d5da5=_0x5aac5e[_0x54d37f(0x29f)][_0x27c993])!=null&&_0x1d5da5[_0x54d37f(0x1ae)])&&_0x27c993===_0x47934c-0x1&&_0x561472===_0x38e158-0x1&&(_0x34038a['v']=''+_0x451ab9['sheets-pivot.value']),_0x20ce9e['setValue'](_0x561472+_0x564593,_0x27c993+_0x101ac9,_0x189f78(_0x34038a));}_0x101ac9+=_0x47934c;const _0x19b416=_0x47de4b['headerMap'],_0x4bfd3c=_0x47de4b[_0x54d37f(0x1db)]()>=0x0?_0x47de4b['getLastRow']()+0x1:0x0,_0xef8f59=_0x47de4b[_0x54d37f(0x34a)]()>=0x0?_0x47de4b[_0x54d37f(0x34a)]()+0x1:0x0;for(let _0x158775=0x0;_0x158775<_0xef8f59;_0x158775++)for(let _0xcfec36=0x0;_0xcfec36<_0x4bfd3c;_0xcfec36++){const _0x39a716={...(_0x308fe9=(_0x20fbb6=_0x47de4b[_0x54d37f(0x43e)])==null?void 0x0:_0x20fbb6[_0x158775])==null?void 0x0:_0x308fe9[_0xcfec36]},_0x15d105=(_0xaaab57=_0x19b416[_0x158775])==null?void 0x0:_0xaaab57[_0x54d37f(0x3a9)],_0x41a6c6=_0x33ae30[_0x15d105];_0x39a716&&(_0x39a716['v']=_0x551650(_0x39a716,_0x158775===0x0&&((_0x5d574e=_0x47de4b[_0x54d37f(0x2e1)](_0xcfec36+0x1))==null?void 0x0:_0x5d574e[_0x54d37f(0x1ae)]),_0x41a6c6,_0x451ab9)),_0x20ce9e[_0x54d37f(0x316)](_0x158775+_0x564593,_0xcfec36+_0x101ac9,_0x189f78(_0x39a716));}_0x564593+=_0x38e158;const _0x324bf1=_0x5aac5e[_0x54d37f(0x29f)],_0x5d2513=_0x5aac5e[_0x54d37f(0x1db)]()>=0x0?_0x5aac5e['getLastRow']()+0x1:0x0,_0x138c49=_0x5aac5e[_0x54d37f(0x34a)]()>=0x0?_0x5aac5e[_0x54d37f(0x34a)]()+0x1:0x0;for(let _0x386eaa=0x0;_0x386eaa<_0x5d2513;_0x386eaa++)for(let _0x52c033=0x0;_0x52c033<_0x138c49;_0x52c033++){const _0x140568={...(_0x2e7aa2=(_0x22073f=_0x5aac5e[_0x54d37f(0x43e)])==null?void 0x0:_0x22073f[_0x386eaa])==null?void 0x0:_0x2e7aa2[_0x52c033]},_0xf93ae6=(_0x414ccc=_0x324bf1[_0x52c033])==null?void 0x0:_0x414ccc[_0x54d37f(0x3a9)],_0x5ce831=_0x33ae30[_0xf93ae6];_0x140568&&(_0x140568['v']=_0x551650(_0x140568,!0x1,_0x5ce831,_0x451ab9)),_0x20ce9e[_0x54d37f(0x316)](_0x386eaa+_0x564593,_0x52c033+_0x46b04e,_0x189f78(_0x140568));}const _0x394f9b=_0x139af6[_0x54d37f(0x418)](),_0x36a88b=_0x139af6[_0x54d37f(0x3e9)]();for(let _0x2c6be9=0x0;_0x2c6be9<_0x394f9b;_0x2c6be9++)for(let _0x3201a9=0x0;_0x3201a9<_0x36a88b;_0x3201a9++){const _0x2a4ca4={...(_0x57b6d6=(_0x5c4805=_0x139af6[_0x54d37f(0x43e)])==null?void 0x0:_0x5c4805[_0x2c6be9])==null?void 0x0:_0x57b6d6[_0x3201a9]};_0x20ce9e['setValue'](_0x2c6be9+_0x564593,_0x3201a9+_0x101ac9,_0x189f78(_0x2a4ca4));}return _0x20ce9e;},_0x5e1a38=_0x1a0020=>{const _0x64655c=_0x9268c,{view:_0x218130,targetCellInfo:_0x3e8d7d,isEmpty:_0x55e2d6,textInfo:_0x5eab67}=_0x1a0020;if(_0x55e2d6)return _0x100a8a(_0x1a0020);const {pageView:_0x266bd3,cornerView:_0x274573,rowView:_0x352fbb,colView:_0x29445b,dataView:_0x139709}=_0x218130,_0x10932c=_0xc7a07b(_0x3e8d7d,_0x266bd3,!0x0),_0x493699=_0x266bd3[_0x64655c(0x16f)]>=0x0?_0x266bd3[_0x64655c(0x16f)]+0x1:0x0,_0x206abf=_0x274573[_0x64655c(0x418)](),_0x9066bf=_0x274573[_0x64655c(0x3e9)](),_0xcd74a8=_0x10932c['length']>0x0?_0xe9af5e:0x0,_0xcf32c5=_0xc7a07b({'row':_0x3e8d7d[_0x64655c(0x18c)]+_0x493699+_0xcd74a8,'col':_0x3e8d7d[_0x64655c(0x2b7)]},_0x274573,!0x1,!0x1),_0x4abb50=_0xc7a07b({'row':_0x3e8d7d[_0x64655c(0x18c)]+_0x493699+_0xcd74a8+_0x206abf,'col':_0x3e8d7d[_0x64655c(0x2b7)]},_0x352fbb,!0x1,!0x0),_0x5f435d=_0xc7a07b({'row':_0x3e8d7d['row']+_0x493699+_0xcd74a8,'col':_0x3e8d7d[_0x64655c(0x2b7)]+_0x9066bf},_0x29445b,!0x1,!0x0),_0x3d018a=_0xc7a07b({'row':_0x3e8d7d[_0x64655c(0x18c)]+_0x493699+_0xcd74a8+_0x206abf,'col':_0x3e8d7d[_0x64655c(0x2b7)]+_0x9066bf},_0x139709,!0x1,!0x1),_0x43666d={'rowRanges':_0x4abb50,'colRanges':_0x5f435d,'cornerRanges':_0xcf32c5,'dataRanges':_0x3d018a,'pageRanges':_0x10932c};return{'matrix':_0x4cebe8(_0x218130,_0x3e8d7d,_0x5eab67),'rangesCache':_0x43666d};};var _0xb2b58=Object[_0x9268c(0x379)],_0x2aef01=(_0x5a947a,_0x2d35c9,_0x33c821,_0x4276ec)=>{const _0x5f10b0=_0x9268c;for(var _0x16146e=_0x4276ec>0x1?void 0x0:_0x4276ec?_0xb2b58(_0x2d35c9,_0x33c821):_0x2d35c9,_0x1e7d1e=_0x5a947a[_0x5f10b0(0x32d)]-0x1,_0x2a834b;_0x1e7d1e>=0x0;_0x1e7d1e--)(_0x2a834b=_0x5a947a[_0x1e7d1e])&&(_0x16146e=_0x2a834b(_0x16146e)||_0x16146e);return _0x16146e;},_0x2232d3=(_0x2c7f9c,_0x571c70)=>(_0x58f71d,_0x350890)=>_0x571c70(_0x58f71d,_0x350890,_0x2c7f9c);_0x29b926[_0x9268c(0x420)]=class extends _0x475d1b[_0x9268c(0x158)]{constructor(_0x18e403,_0x244910,_0x43bf57,_0x4abaf9,_0x5cf061,_0x6f0ed1){const _0x2eb778=_0x9268c;super(),_0x346b88(this,_0x2eb778(0x462),new Map()),_0x346b88(this,_0x2eb778(0x287),new Map()),_0x346b88(this,_0x2eb778(0x41d),new Map()),_0x346b88(this,_0x2eb778(0x1b0)),_0x346b88(this,_0x2eb778(0x3ba),new _0x53d07a[(_0x2eb778(0x1f6))]()),_0x346b88(this,_0x2eb778(0x411),this[_0x2eb778(0x3ba)][_0x2eb778(0x1f1)]()),_0x346b88(this,'_viewData$',new _0x53d07a[(_0x2eb778(0x1f6))]()),_0x346b88(this,_0x2eb778(0x1d8),this[_0x2eb778(0x2b8)]['asObservable']()),_0x346b88(this,_0x2eb778(0x162),new _0x53d07a['Subject']()),_0x346b88(this,_0x2eb778(0x440),this[_0x2eb778(0x162)][_0x2eb778(0x1f1)]()),_0x346b88(this,_0x2eb778(0x177),new Map()),_0x346b88(this,_0x2eb778(0x2f2),[]),_0x346b88(this,_0x2eb778(0x18b),new Map()),(this['_injector']=_0x18e403,this['_univerInstanceService']=_0x244910,this[_0x2eb778(0x279)]=_0x43bf57,this[_0x2eb778(0x336)]=_0x4abaf9,this[_0x2eb778(0x31d)]=_0x5cf061,this[_0x2eb778(0x3e5)]=_0x6f0ed1,this['_initSnapshot']());}[_0x9268c(0x22d)](){const _0x487d0a=_0x9268c;return this['_textInfo']?this[_0x487d0a(0x1b0)]:_0x48891c;}[_0x9268c(0x2da)](_0x4fc65f){const _0xff37da=_0x9268c;this[_0xff37da(0x1b0)]=_0x4fc65f;}[_0x9268c(0x3eb)](_0x1f278e){const _0x43783c=_0x9268c;var _0x41576e;const {from:_0x3a25d3,to:_0x3a05a1,unitId:_0xf1097c,fromRange:_0x93cc78,toRange:_0x4aeea7}=_0x1f278e;if(_0x3a25d3&&_0x3a05a1){const _0x5d4627=this[_0x43783c(0x35d)](_0xf1097c),_0x5216a2=this[_0x43783c(0x462)][_0x43783c(0x3bb)](_0xf1097c),_0x6e912f=(_0x41576e=this[_0x43783c(0x2d4)]['getUnit'](_0xf1097c))==null?void 0x0:_0x41576e[_0x43783c(0x171)](_0x3a05a1[_0x43783c(0x1ca)]);if(!_0x5216a2||!_0x6e912f)return;const _0x2b1d39=_0x6e912f==null?void 0x0:_0x6e912f['getName']();for(const [_0x3bf2e7,_0xd650ce]of _0x5216a2['entries']())for(const [_0x838c7c,_0x37e1cd]of _0xd650ce[_0x43783c(0x30b)]()){const {sourceRangeInfo:_0x1816b8}=_0x37e1cd;if(_0x1816b8['unitId']===_0xf1097c&&_0x1816b8['subUnitId']===_0x3a25d3['subUnitId']&&_0x475d1b['Rectangle']['contains'](_0x93cc78,_0x1816b8[_0x43783c(0x3bd)])){const _0x2aa115={'row':_0x1816b8['range'][_0x43783c(0x2ff)]-_0x93cc78[_0x43783c(0x2ff)],'col':_0x1816b8['range']['startColumn']-_0x93cc78[_0x43783c(0x1e9)]},_0x205812={'unitId':_0xf1097c,'subUnitId':_0x3a05a1[_0x43783c(0x1ca)],'sheetName':_0x2b1d39,'range':{'startRow':_0x4aeea7[_0x43783c(0x2ff)]+_0x2aa115[_0x43783c(0x18c)],'endRow':_0x4aeea7[_0x43783c(0x2ff)]+_0x2aa115[_0x43783c(0x18c)]+_0x1816b8[_0x43783c(0x3bd)][_0x43783c(0x1b9)]-_0x1816b8['range'][_0x43783c(0x2ff)],'startColumn':_0x4aeea7['startColumn']+_0x2aa115[_0x43783c(0x2b7)],'endColumn':_0x4aeea7[_0x43783c(0x1e9)]+_0x2aa115[_0x43783c(0x2b7)]+_0x1816b8[_0x43783c(0x3bd)]['endColumn']-_0x1816b8[_0x43783c(0x3bd)][_0x43783c(0x1e9)]}};_0x5d4627[_0x43783c(0x3eb)](_0x838c7c,_0x205812);const _0x6b70f0={..._0x37e1cd,'sourceRangeInfo':_0x205812};this['_updateModelCache'](_0xf1097c,_0x3a05a1[_0x43783c(0x1ca)],_0x838c7c,_0x6b70f0),this[_0x43783c(0x2fc)]({'unitId':_0xf1097c,'token':_0x838c7c,'type':_0x2f2b6e[_0x43783c(0x402)],'oldSourceRangeInfo':_0x1816b8,'dataRangeInfo':_0x205812,'targetCellInfo':_0x37e1cd[_0x43783c(0x1bf)]}),this['updateConfig']({'unitId':_0xf1097c,'subUnitId':_0x3a05a1[_0x43783c(0x1ca)],'oldSubUnitId':_0x3bf2e7,'pivotTableId':_0x838c7c,'pivotTableConfig':_0x6b70f0,'collectionConfig':_0x5d4627[_0x43783c(0x38e)]()});}}}}[_0x9268c(0x2fc)](_0x831744){const _0x5d9eff=_0x9268c;this[_0x5d9eff(0x3ba)][_0x5d9eff(0x347)](_0x831744);}[_0x9268c(0x35d)](_0x2b4c47){const _0x176875=_0x9268c;let _0x17ad8b=this[_0x176875(0x177)][_0x176875(0x3bb)](_0x2b4c47);return _0x17ad8b||(_0x17ad8b=new _0x2171ca(this,this[_0x176875(0x2d4)]),this['_dataFieldManagerCollection'][_0x176875(0x40a)](_0x2b4c47,_0x17ad8b)),_0x17ad8b;}['getCollection'](_0x2fc114,_0x34c16b){const _0x2b86f0=_0x9268c;return this['getDataFieldManager'](_0x2fc114)[_0x2b86f0(0x3c3)][_0x34c16b];}[_0x9268c(0x3b4)](_0x136ec5,_0x4ff673,_0x2f6a70){const _0x57a765=_0x9268c;return this[_0x57a765(0x35d)](_0x136ec5)['getUpdateRangeDeleteIds'](_0x4ff673,_0x2f6a70);}['_ensurePivotMap'](_0x538912,_0x386a07){const _0x4428aa=_0x9268c;let _0x202f68=this[_0x4428aa(0x462)][_0x4428aa(0x3bb)](_0x538912);_0x202f68||(_0x202f68=new Map(),this[_0x4428aa(0x462)][_0x4428aa(0x40a)](_0x538912,_0x202f68));let _0x406379=_0x202f68[_0x4428aa(0x3bb)](_0x386a07);return _0x406379||(_0x406379=new Map(),_0x202f68['set'](_0x386a07,_0x406379)),_0x406379;}['_updateModelCache'](_0x1b9e09,_0x287c9b,_0x526d27,_0x282e29){const _0x118be7=_0x9268c;this[_0x118be7(0x1e5)](_0x1b9e09,_0x287c9b)['set'](_0x526d27,_0x282e29);}[_0x9268c(0x3cd)](_0xf757f1,_0x2016a4,_0x5c9bba){const _0xf04405=_0x9268c;var _0x13b2cd,_0x56a1dd,_0x4fd7cc,_0x3a3501;((_0x56a1dd=(_0x13b2cd=this[_0xf04405(0x462)]['get'](_0xf757f1))==null?void 0x0:_0x13b2cd[_0xf04405(0x3bb)](_0x2016a4))==null?void 0x0:_0x56a1dd[_0xf04405(0x3bb)](_0x5c9bba))&&((_0x3a3501=(_0x4fd7cc=this[_0xf04405(0x462)][_0xf04405(0x3bb)](_0xf757f1))==null?void 0x0:_0x4fd7cc[_0xf04405(0x3bb)](_0x2016a4))==null||_0x3a3501['delete'](_0x5c9bba));}[_0x9268c(0x333)](_0x286244,_0x9b3632){const _0x4c5281=_0x9268c;this[_0x4c5281(0x287)]['set'](_0x286244,_0x9b3632);}[_0x9268c(0x2e8)](_0x1c8cb6){const _0x156249=_0x9268c;this[_0x156249(0x287)][_0x156249(0x37c)](_0x1c8cb6);}[_0x9268c(0x300)](_0x31d368,_0x116c03){const _0x2e1f7c=_0x9268c;let _0x19e960=this[_0x2e1f7c(0x41d)][_0x2e1f7c(0x3bb)](_0x31d368);_0x19e960||(_0x19e960=new Map(),this[_0x2e1f7c(0x41d)][_0x2e1f7c(0x40a)](_0x31d368,_0x19e960));let _0x569392=_0x19e960[_0x2e1f7c(0x3bb)](_0x116c03);return _0x569392||(_0x569392=new Map(),_0x19e960[_0x2e1f7c(0x40a)](_0x116c03,_0x569392)),_0x569392;}['updateConfig'](_0x46911c){const _0x3dd115=_0x9268c,{unitId:_0x4c836c,subUnitId:_0x22bde9,pivotTableId:_0x5c589d,pivotTableConfig:_0x27df22,collectionConfig:_0x5a8242}=_0x46911c,_0xc26972={'unitId':_0x4c836c,'subUnitId':_0x22bde9,'oldSubUnitId':_0x22bde9,'pivotTableId':_0x5c589d,'pivotTableConfig':_0x27df22,'collectionConfig':_0x5a8242};this['_commandService'][_0x3dd115(0x267)](_0x2c1bd3['id'],_0xc26972,{'onlyLocal':!0x0});}[_0x9268c(0x1b5)](_0x39ea57,_0x329c7b,_0xd2c57a,_0x59f579,_0x38afe8,_0x50c949,_0x4bd7ef,_0x2c7cc8=!0x1){const _0x45b519=_0x9268c;var _0xec0b1c;this[_0x45b519(0x31d)][_0x45b519(0x267)](_0x421bc0['id'],{'single':{'unitId':_0x39ea57,'subUnitId':_0x329c7b,'type':_0xd2c57a,'pivotTableId':_0x59f579,'view':_0x38afe8,'pivotConfig':_0x50c949},'collectionConfig':{[_0x39ea57]:_0x4bd7ef}},{'onlyLocal':!0x0});const _0x461037=!!((_0xec0b1c=this[_0x45b519(0x289)](_0x59f579))!=null&&_0xec0b1c[_0x45b519(0x173)]()),_0x4410c3=this['getPivotTableConfig'](_0x39ea57,_0x329c7b,_0x59f579);_0x4410c3&&this[_0x45b519(0x217)]({'view':_0x38afe8,'pivotTableId':_0x59f579,'textInfo':this[_0x45b519(0x22d)](),'isEmpty':_0x461037,'targetCellInfo':_0x4410c3[_0x45b519(0x1bf)]},_0x2c7cc8);}[_0x9268c(0x217)](_0x475efa,_0x3d9c96){const _0x269200=_0x9268c,{targetCellInfo:_0x1f821b,pivotTableId:_0x4846cb}=_0x475efa,{unitId:_0x1461f6,subUnitId:_0x400984}=_0x1f821b,_0xaddaf8=this[_0x269200(0x300)](_0x1461f6,_0x400984),_0x3c2a4a=_0xaddaf8[_0x269200(0x3bb)](_0x4846cb);let _0x3ba7c6,_0x2e6b31;_0x3c2a4a&&(_0x3ba7c6=_0x3c2a4a[_0x269200(0x1b8)],_0x2e6b31=_0x3c2a4a[_0x269200(0x293)]);const {rangesCache:_0x400950,matrix:_0xef2f9}=_0x5e1a38(_0x475efa);_0xaddaf8[_0x269200(0x40a)](_0x4846cb,{'rangeCache':_0x400950,'matrix':_0xef2f9,'oldMatrix':_0x2e6b31,'oldRangeCache':_0x3ba7c6}),_0x3d9c96||this[_0x269200(0x2b8)][_0x269200(0x347)]({'unitId':_0x1461f6,'subUnitId':_0x400984,'pivotTableId':_0x4846cb});}['addPivotTable'](_0x2cc61e,_0x5a637d,_0x476155,_0x237301,_0xe3f5ec){const _0x149ffd=_0x9268c;this['_updateModelCache'](_0x2cc61e,_0x5a637d,_0x476155,_0xe3f5ec),this[_0x149ffd(0x333)](_0x476155,_0x237301);}[_0x9268c(0x2e5)](_0x5739ff,_0x241a91,_0x4f7a26){const _0x336a25=_0x9268c,_0x164f1d=this[_0x336a25(0x35d)](_0x5739ff);_0x164f1d[_0x336a25(0x42a)](_0x4f7a26)[_0x336a25(0x3df)](_0x54f416=>{const _0x453104=_0x336a25;_0x164f1d[_0x453104(0x378)](_0x54f416);}),this['removeCollections'](_0x5739ff,_0x4f7a26),this[_0x336a25(0x3cd)](_0x5739ff,_0x241a91,_0x4f7a26),this[_0x336a25(0x2e8)](_0x4f7a26);}[_0x9268c(0x16e)](_0x524e17,_0x468883,_0x163ee0,_0x2b81b2){const _0x344018=_0x9268c;this[_0x344018(0x466)](_0x524e17,_0x468883,_0x163ee0,_0x2b81b2);}[_0x9268c(0x346)](_0x3f93ee,_0x17bb09,_0x1a5e66){const _0x138a0d=_0x9268c;var _0x414561,_0x369b42;const _0x1f8996=(_0x369b42=(_0x414561=this['_model'][_0x138a0d(0x3bb)](_0x3f93ee))==null?void 0x0:_0x414561[_0x138a0d(0x3bb)](_0x17bb09))==null?void 0x0:_0x369b42[_0x138a0d(0x3bb)](_0x1a5e66);if(_0x1f8996)return _0x1f8996;}[_0x9268c(0x327)](_0x3103c8,_0x92f7e4,_0x307c64){const _0x366a7f=_0x9268c;var _0x332684,_0x2a136b;const _0x450f08=(_0x2a136b=(_0x332684=this['_model'][_0x366a7f(0x3bb)](_0x3103c8))==null?void 0x0:_0x332684[_0x366a7f(0x3bb)](_0x92f7e4))==null?void 0x0:_0x2a136b[_0x366a7f(0x3bb)](_0x307c64);if(_0x450f08)return _0x450f08['fieldsConfig'];}['getPivotTableInstance'](_0x509a37){const _0x4b2c8a=_0x9268c;return this[_0x4b2c8a(0x287)]['get'](_0x509a37);}[_0x9268c(0x3cf)](_0x44df3c){const _0x4d6aee=_0x9268c;this[_0x4d6aee(0x462)][_0x4d6aee(0x37c)](_0x44df3c);const _0x202cd3=this[_0x4d6aee(0x177)][_0x4d6aee(0x3bb)](_0x44df3c);_0x202cd3&&(_0x202cd3[_0x4d6aee(0x3dc)](),this[_0x4d6aee(0x177)][_0x4d6aee(0x37c)](_0x44df3c)),this[_0x4d6aee(0x41d)]['delete'](_0x44df3c),this[_0x4d6aee(0x2f2)][_0x4d6aee(0x3df)](_0x5bde50=>{const _0x5d3128=_0x4d6aee;_0x5bde50[_0x5d3128(0x3cf)](_0x44df3c);});}[_0x9268c(0x222)](_0x52697c,_0x49f652,_0xdd2b7f,_0x4742d4){const _0x5b11c4=_0x9268c;return this[_0x5b11c4(0x35d)](_0xdd2b7f[_0x5b11c4(0x329)])['addCollectionByJSON'](_0x52697c,_0x49f652,_0xdd2b7f,_0x4742d4);}['createCollectionWithDataRange'](_0x5d7dd9){const _0x5effde=_0x9268c;return this['getDataFieldManager'](_0x5d7dd9[_0x5effde(0x329)])[_0x5effde(0x2aa)](_0x5d7dd9);}[_0x9268c(0x168)](_0x1f77e9,_0x1083ba,_0x44598f){const _0x4da751=_0x9268c;this[_0x4da751(0x35d)](_0x44598f[_0x4da751(0x329)])[_0x4da751(0x168)](_0x1f77e9,_0x1083ba,_0x44598f);}[_0x9268c(0x319)](_0x178600,_0x5e241a){const _0x475ccf=_0x9268c;this['getDataFieldManager'](_0x178600)[_0x475ccf(0x378)](_0x5e241a);}[_0x9268c(0x3dd)](_0x5051d4,_0x1a102f){const _0x4a3b7b=_0x9268c;this[_0x4a3b7b(0x35d)](_0x5051d4)['removeCollectionImp'](_0x1a102f);}['getSubUnitPivotConfigs'](_0xfc012c,_0x424301){const _0xae8302=_0x9268c;var _0x2310dc;return(_0x2310dc=this['_model']['get'](_0xfc012c))==null?void 0x0:_0x2310dc[_0xae8302(0x3bb)](_0x424301);}[_0x9268c(0x19a)](_0x26266b){const _0x522b69=_0x9268c;for(const [_0x1da96e,_0x306125]of this[_0x522b69(0x462)][_0x522b69(0x30b)]())for(const [_0x298332,_0x36490a]of _0x306125['entries']())if(_0x36490a['has'](_0x26266b))return{'unitId':_0x1da96e,'subUnitId':_0x298332};return null;}[_0x9268c(0x3f1)](_0x8cec81,_0x4091b6,_0x5c7a0a,_0x265321){const _0x2a34c4=_0x9268c,_0x1f4829=this[_0x2a34c4(0x300)](_0x8cec81,_0x4091b6);_0x265321?_0x1f4829['set'](_0x5c7a0a,_0x265321):_0x1f4829['delete'](_0x5c7a0a),this[_0x2a34c4(0x2b8)][_0x2a34c4(0x347)]({'unitId':_0x8cec81,'subUnitId':_0x4091b6,'pivotTableId':_0x5c7a0a});}[_0x9268c(0x3dc)](){const _0x899b85=_0x9268c;super[_0x899b85(0x3dc)]();}['getViewData'](_0x1a76b8,_0x40ac3d,_0x2b74b4){const _0x46acbd=_0x9268c;var _0x352d09,_0x2ce721;const _0x2914ec=(_0x2ce721=(_0x352d09=this['_viewData'][_0x46acbd(0x3bb)](_0x1a76b8))==null?void 0x0:_0x352d09[_0x46acbd(0x3bb)](_0x40ac3d))==null?void 0x0:_0x2ce721[_0x46acbd(0x3bb)](_0x2b74b4);return _0x2914ec||null;}[_0x9268c(0x387)](_0x1476c0){this['updateDirtyPivotTable'](_0x1476c0);}[_0x9268c(0x294)](_0x2a22b0){const _0x2729fb=_0x9268c,{token:_0x458210,unitId:_0x5e63ac,subUnitId:_0x524b93}=_0x2a22b0,_0x1ed7f0=_0x5e63ac+'-'+_0x524b93+'-'+_0x458210;this[_0x2729fb(0x18b)][_0x2729fb(0x3bb)](_0x1ed7f0)&&clearTimeout(this['_queryingMap'][_0x2729fb(0x3bb)](_0x1ed7f0));const _0x1e3e5a=setTimeout(()=>{const _0x3bd37f=_0x2729fb;this[_0x3bd37f(0x27f)](_0x2a22b0),this['_queryingMap'][_0x3bd37f(0x37c)](_0x1ed7f0);},_0x28174c);this['_queryingMap'][_0x2729fb(0x40a)](_0x1ed7f0,_0x1e3e5a);}['queryDirtyPivotTable'](_0x427bbc){const _0x5286d0=_0x9268c,{unitId:_0x186424,subUnitId:_0x1f5ad2,token:_0x529f17,type:_0x1bc693,pivotConfig:_0x15753c}=_0x427bbc,_0x4a21cc=this['getPivotTableInstance'](_0x529f17),_0x3c8248=_0x4a21cc==null?void 0x0:_0x4a21cc[_0x5286d0(0x3f9)](),_0x4a96c0=_0x15753c!=null?_0x15753c:this[_0x5286d0(0x346)](_0x186424,_0x1f5ad2,_0x529f17);_0x4a96c0&&(_0x4a96c0[_0x5286d0(0x173)]=!!(_0x4a21cc!=null&&_0x4a21cc['isEmpty']())),(_0x3c8248||_0x1bc693===_0x94aa6e[_0x5286d0(0x22e)])&&this[_0x5286d0(0x1b5)](_0x186424,_0x1f5ad2,_0x1bc693,_0x529f17,_0x3c8248,_0x4a96c0,this[_0x5286d0(0x35d)](_0x186424)[_0x5286d0(0x38e)]());}['toJSON'](_0x52c495){const _0x1d98ec=_0x9268c,_0x51ea1b={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x1d98ec(0x35d)](_0x52c495)&&(_0x51ea1b['dataFieldManagerConfig'][_0x52c495]=this[_0x1d98ec(0x35d)](_0x52c495)[_0x1d98ec(0x38e)]()),this['_model']['get'](_0x52c495)){_0x51ea1b[_0x1d98ec(0x159)][_0x52c495]={};const _0xe9c8c2=this['_model'][_0x1d98ec(0x3bb)](_0x52c495);_0xe9c8c2!=null&&_0xe9c8c2[_0x1d98ec(0x3d7)]&&[..._0xe9c8c2['keys']()][_0x1d98ec(0x3df)](_0x42833=>{const _0x5d6b68=_0x1d98ec,_0x489973=_0xe9c8c2[_0x5d6b68(0x3bb)](_0x42833);_0x489973!=null&&_0x489973['size']&&(_0x51ea1b[_0x5d6b68(0x159)][_0x52c495][_0x42833]={},[..._0x489973[_0x5d6b68(0x16a)]()][_0x5d6b68(0x3df)](_0x485dc6=>{const _0x2860ac=_0x5d6b68,_0x32b624=_0x489973[_0x2860ac(0x3bb)](_0x485dc6);_0x32b624&&(_0x51ea1b[_0x2860ac(0x159)][_0x52c495][_0x42833][_0x485dc6]=_0x32b624);}));});}return _0x51ea1b;}[_0x9268c(0x20e)](_0x5c81d1){const _0x2453c0=_0x9268c;var _0x39e3f8;const {dataFieldManagerConfig:_0x1b2f6e,pivotTableConfigs:_0x4362b9}=_0x5c81d1;_0x1b2f6e&&Object[_0x2453c0(0x16a)](_0x1b2f6e)['forEach'](_0x5e6b8d=>{const _0x465570=_0x2453c0;this[_0x465570(0x35d)](_0x5e6b8d)[_0x465570(0x20e)](_0x1b2f6e[_0x5e6b8d]);});const _0x4576be=[];if(_0x4362b9){const _0x1fa914=(_0x39e3f8=this[_0x2453c0(0x2cd)][_0x2453c0(0x3bb)](_0x475d1b['IConfigService'])[_0x2453c0(0x32b)](_0x474209['LS_CONFIG_KEY']))!=null?_0x39e3f8:{},{ls:_0xe7cb34,pbk:_0x4ebac5}=_0x1fa914,_0x3e75fe=_0x406235(_0x41ce1b,_0xe7cb34,_0x4ebac5)['count'];Object[_0x2453c0(0x16a)](_0x4362b9)['forEach'](_0x3357f5=>{const _0xfe867=_0x2453c0;let _0x432865=0x0;const _0x418832=_0x4362b9[_0x3357f5];Object[_0xfe867(0x16a)](_0x418832)[_0xfe867(0x3df)](_0x7da17=>{const _0x565f60=_0xfe867,_0x4d6acd=_0x418832[_0x7da17];Object[_0x565f60(0x16a)](_0x4d6acd)['forEach'](_0x204090=>{const _0xc0d0c2=_0x565f60,_0x3246d9=_0x4d6acd[_0x204090];if(_0x3246d9){if(_0x432865>=_0x3e75fe)return;_0x432865++;const _0x2a3891=this[_0xc0d0c2(0x35d)](_0x3357f5),_0x219db3=_0x2a3891[_0xc0d0c2(0x3c3)][_0x204090],_0x2cc86d=_0x219db3[_0xc0d0c2(0x1ed)]();let _0x32bb8b=0x0;const _0x5dd08f=[];for(const _0x159c1a of _0x2cc86d){const _0xd2cac6=_0x219db3[_0xc0d0c2(0x3ec)](_0x159c1a);if(_0x1d148a['isBaseGroupField'](_0xd2cac6)){const _0x2776b8=_0xd2cac6[_0xc0d0c2(0x34f)](),_0x4d26ab=_0x219db3[_0xc0d0c2(0x3ec)](_0x2776b8);_0x4d26ab&&_0x5dd08f[_0xc0d0c2(0x17b)]([_0xd2cac6,_0x4d26ab]);continue;}_0x2a3891[_0xc0d0c2(0x457)](_0x159c1a,_0x3246d9[_0xc0d0c2(0x453)],_0x32bb8b),_0x32bb8b++;}_0x5dd08f['forEach'](([_0x2f3b80,_0x1671b3])=>{const _0x5f2f37=_0xc0d0c2;_0x2f3b80[_0x5f2f37(0x455)](_0x1671b3);});const _0x49ebc1=new _0x1d148a[(_0xc0d0c2(0x205))](_0x219db3);_0x49ebc1[_0xc0d0c2(0x20e)](_0x3246d9[_0xc0d0c2(0x1e6)]),this[_0xc0d0c2(0x15b)](_0x3357f5,_0x7da17,_0x204090,_0x49ebc1,_0x3246d9);const _0x8e531c=_0x49ebc1[_0xc0d0c2(0x3f9)]();_0x4576be[_0xc0d0c2(0x17b)]({'unitId':_0x3357f5,'subUnitId':_0x7da17,'pivotTableId':_0x204090,'view':_0x8e531c[_0xc0d0c2(0x38e)](),'pivotConfig':_0x3246d9,'type':_0x94aa6e['Add']});const _0x5c512c=!!_0x49ebc1[_0xc0d0c2(0x173)](),_0x2c7643={'view':_0x8e531c,'pivotTableId':_0x204090,'textInfo':this[_0xc0d0c2(0x22d)](),'isEmpty':_0x5c512c,'targetCellInfo':_0x3246d9[_0xc0d0c2(0x1bf)]};this[_0xc0d0c2(0x217)](_0x2c7643,!0x1);}});});});}_0x1b2f6e&&Object[_0x2453c0(0x16a)](_0x1b2f6e)[_0x2453c0(0x3df)](_0xfa93dd=>{const _0x3ffaa2=_0x2453c0,_0x3c9f43=this[_0x3ffaa2(0x35d)](_0xfa93dd);this[_0x3ffaa2(0x162)][_0x3ffaa2(0x347)](_0x3c9f43['collections']);}),this[_0x2453c0(0x31d)][_0x2453c0(0x267)](_0x421bc0['id'],{'batch':_0x4576be,'collectionConfig':_0x1b2f6e},{'onlyLocal':!0x0});}[_0x9268c(0x3e4)](){const _0x54db3d=_0x9268c;this[_0x54db3d(0x2c9)](this['_resourceManagerService'][_0x54db3d(0x281)]({'toJson':_0x4d9350=>JSON['stringify'](this[_0x54db3d(0x38e)](_0x4d9350)),'parseJson':_0x517122=>{const _0x30f463=_0x54db3d;if(!_0x517122)return{};try{return JSON[_0x30f463(0x1af)](_0x517122);}catch{return{};}},'businesses':[_0x475d1b[_0x54db3d(0x194)]['UNIVER_SHEET']],'pluginName':_0x2ecc25,'onLoad':(_0x2a6e19,_0x110442)=>{const _0x263fb1=_0x54db3d;this[_0x263fb1(0x20e)](_0x110442);},'onUnLoad':_0x5bf9a7=>{const _0x49a261=_0x54db3d;this[_0x49a261(0x3cf)](_0x5bf9a7);}}));}},_0x29b926['SheetsPivotDataSourceModel']=_0x2aef01([_0x2232d3(0x0,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b[_0x9268c(0x250)])),_0x2232d3(0x1,_0x475d1b['IUniverInstanceService']),_0x2232d3(0x2,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b['LifecycleService'])),_0x2232d3(0x3,_0x475d1b[_0x9268c(0x260)]),_0x2232d3(0x4,_0x475d1b[_0x9268c(0x342)]),_0x2232d3(0x5,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b[_0x9268c(0x203)]))],_0x29b926[_0x9268c(0x420)]);const _0x4fdb07={0x0:{0x0:{'v':_0x9268c(0x16c),'s':_0x180ae2}},0x2:{0x1:{'v':'','s':_0x180ae2},0x2:{'v':'','s':_0x180ae2},0x3:{'v':'column','s':_0x180ae2},0x4:{'v':'','s':_0x180ae2},0x5:{'v':'','s':_0x180ae2}},0x3:{0x0:{'v':'','s':_0x180ae2},0x1:{'v':'','s':_0x497268},0x2:{'v':'','s':_0x497268},0x3:{'v':'','s':_0x497268},0x4:{'v':'','s':_0x497268},0x5:{'v':'','s':_0x497268}},0x4:{0x0:{'v':'','s':_0x180ae2},0x1:{'v':'','s':_0x497268},0x2:{'v':'','s':_0x497268},0x3:{'v':'','s':_0x497268},0x4:{'v':'','s':_0x497268},0x5:{'v':'','s':_0x497268}},0x5:{0x0:{'v':'','s':_0x180ae2},0x1:{'v':'','s':_0x497268},0x2:{'v':'','s':_0x497268},0x3:{'v':'','s':_0x497268},0x4:{'v':'','s':_0x497268},0x5:{'v':'','s':_0x497268}},0x6:{0x0:{'v':'','s':_0x180ae2},0x1:{'v':'','s':_0x497268},0x2:{'v':'','s':_0x497268},0x3:{'v':'','s':_0x497268},0x4:{'v':'','s':_0x497268},0x5:{'v':'','s':_0x497268}},0x7:{0x0:{'v':'','s':_0x180ae2},0x1:{'v':'','s':_0x497268},0x2:{'v':'','s':_0x497268},0x3:{'v':'','s':_0x497268},0x4:{'v':'','s':_0x497268},0x5:{'v':'','s':_0x497268}},0x8:{0x0:{'v':_0x9268c(0x18c),'s':_0x180ae2},0x1:{'v':'','s':_0x497268},0x2:{'v':'','s':_0x497268},0x3:{'v':_0x9268c(0x3c6),'s':_0x497268},0x4:{'v':'','s':_0x497268},0x5:{'v':'','s':_0x497268}},0x9:{0x0:{'v':'','s':_0x180ae2},0x1:{'v':'','s':_0x497268},0x2:{'v':'','s':_0x497268},0x3:{'v':'','s':_0x497268},0x4:{'v':'','s':_0x497268},0x5:{'v':'','s':_0x497268}},0xa:{0x0:{'v':'','s':_0x180ae2},0x1:{'v':'','s':_0x497268},0x2:{'v':'','s':_0x497268},0x3:{'v':'','s':_0x497268},0x4:{'v':'','s':_0x497268},0x5:{'v':'','s':_0x497268}},0xb:{0x0:{'v':'','s':_0x180ae2},0x1:{'v':'','s':_0x497268},0x2:{'v':'','s':_0x497268},0x3:{'v':'','s':_0x497268},0x4:{'v':'','s':_0x497268},0x5:{'v':'','s':_0x497268}},0xc:{0x0:{'v':'','s':_0x180ae2},0x1:{'v':'','s':_0x497268},0x2:{'v':'','s':_0x497268},0x3:{'v':'','s':_0x497268},0x4:{'v':'','s':_0x497268},0x5:{'v':'','s':_0x497268}},0xd:{0x0:{'v':'','s':_0x180ae2},0x1:{'v':'','s':_0x497268},0x2:{'v':'','s':_0x497268},0x3:{'v':'','s':_0x497268},0x4:{'v':'','s':_0x497268},0x5:{'v':'','s':_0x497268}}},_0x56a07b={'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':[]},_0x39db0e=(_0x588bb8,_0x24249c)=>{const _0x337395=_0x9268c,_0x14fde9=new _0x475d1b[(_0x337395(0x405))](),_0x1bb5b3=new _0x475d1b[(_0x337395(0x405))](_0x4fdb07),{row:_0x5cc943,col:_0x58c8ea}=_0x24249c;_0x1bb5b3['forValue']((_0x3ec1b3,_0x21ce43,_0x47bd36)=>{const _0x579276=_0x337395;let _0x2fa699='';_0x47bd36['v']===_0x579276(0x16c)?_0x2fa699=_0x588bb8[_0x579276(0x16c)]:_0x47bd36['v']==='row'?_0x2fa699=_0x588bb8[_0x579276(0x18c)]:_0x47bd36['v']===_0x579276(0x38c)?_0x2fa699=_0x588bb8[_0x579276(0x38c)]:_0x47bd36['v']===_0x579276(0x3c6)&&(_0x2fa699=_0x588bb8[_0x579276(0x3c6)]),_0x14fde9[_0x579276(0x316)](_0x3ec1b3+_0x5cc943,_0x21ce43+_0x58c8ea,{..._0x47bd36,'v':_0x2fa699});});const _0xb8560e=_0x475d1b['Tools']['deepClone'](_0x56a07b);return Object[_0x337395(0x16a)](_0x56a07b)[_0x337395(0x3df)](_0x597d2b=>{const _0x5dd9a2=_0x337395;_0xb8560e[_0x597d2b]=_0x56a07b[_0x597d2b][_0x5dd9a2(0x1c5)](_0x1a34d2=>({..._0x1a34d2,'startRow':_0x1a34d2[_0x5dd9a2(0x2ff)]+_0x5cc943,'endRow':_0x1a34d2[_0x5dd9a2(0x1b9)]+_0x5cc943,'startColumn':_0x1a34d2['startColumn']+_0x58c8ea,'endColumn':_0x1a34d2[_0x5dd9a2(0x277)]+_0x58c8ea}));}),{'matrixCache':_0x14fde9,'rangesCache':_0xb8560e};};function _0x38ef51(_0x4dd9c7,_0xb8ed53){const _0x42cf69=_0x9268c;let _0x7d2496='';const _0x1cbad4=this['getTextInfo']();switch(_0xb8ed53){case _0x1d148a[_0x42cf69(0x170)][_0x42cf69(0x2d1)]:_0x7d2496=_0x1cbad4[_0x42cf69(0x401)]+_0x4dd9c7;break;case _0x1d148a[_0x42cf69(0x170)][_0x42cf69(0x34e)]:_0x7d2496=_0x1cbad4[_0x42cf69(0x226)]+_0x4dd9c7;break;case _0x1d148a[_0x42cf69(0x170)][_0x42cf69(0x255)]:_0x7d2496=_0x1cbad4[_0x42cf69(0x193)]+_0x4dd9c7;break;case _0x1d148a[_0x42cf69(0x170)]['max']:_0x7d2496=_0x1cbad4['sheets-pivot.maxName']+_0x4dd9c7;break;case _0x1d148a['PivotSubtotalTypeEnum'][_0x42cf69(0x2bb)]:_0x7d2496=_0x1cbad4[_0x42cf69(0x431)]+_0x4dd9c7;break;case _0x1d148a[_0x42cf69(0x170)]['product']:_0x7d2496=_0x1cbad4[_0x42cf69(0x433)]+_0x4dd9c7;break;case _0x1d148a[_0x42cf69(0x170)]['stdDev']:_0x7d2496=_0x1cbad4[_0x42cf69(0x3cc)]+_0x4dd9c7;break;case _0x1d148a[_0x42cf69(0x170)]['stdDevp']:_0x7d2496=_0x1cbad4[_0x42cf69(0x324)]+_0x4dd9c7;break;case _0x1d148a[_0x42cf69(0x170)][_0x42cf69(0x3be)]:_0x7d2496=_0x1cbad4[_0x42cf69(0x257)]+_0x4dd9c7;break;case _0x1d148a[_0x42cf69(0x170)]['var']:_0x7d2496=_0x1cbad4[_0x42cf69(0x45b)]+_0x4dd9c7;break;case _0x1d148a[_0x42cf69(0x170)][_0x42cf69(0x21d)]:_0x7d2496=_0x1cbad4[_0x42cf69(0x309)]+_0x4dd9c7;break;default:_0x7d2496=_0x4dd9c7;break;}return _0x7d2496;}function _0x289393(_0x36a580,_0x5a216e,_0x37829c,_0x3c17fd,_0xeb2cd4){const _0x18be4c=_0x9268c;var _0x22236e,_0x1dc3a5,_0x4c6790,_0xe424af,_0x55612a;const _0x38ceb3=_0x475d1b[_0x18be4c(0x335)](_0x36a580,_0x5a216e),{rangesInfo:_0x170541,areaInfo:_0x16ba4d,headerMap:_0x3c531d}=_0xeb2cd4;if(!_0x170541||!_0x16ba4d||!_0x3c531d)return;const _0x416f38=Object[_0x18be4c(0x16a)](_0x170541)[_0x18be4c(0x414)](_0x2242e5=>_0x170541[_0x2242e5][_0x18be4c(0x400)](_0x5679b5=>_0x475d1b['Rectangle'][_0x18be4c(0x3c0)](_0x5679b5,_0x38ceb3))),_0x3a1196=_0x16ba4d;let _0x2ff0a2,_0x29191e,_0x5d5701;if(_0x416f38===_0x18be4c(0x191))_0x2ff0a2=(_0x22236e=_0x3a1196==null?void 0x0:_0x3a1196[_0x18be4c(0x2ef)])==null?void 0x0:_0x22236e[_0x36a580],_0x29191e=(_0x1dc3a5=_0x3c531d==null?void 0x0:_0x3c531d[_0x18be4c(0x24f)])==null?void 0x0:_0x1dc3a5[_0x5a216e],_0x5d5701=_0x29191e==null?void 0x0:_0x29191e[_0x18be4c(0x3a9)];else{if(_0x416f38===_0x18be4c(0x218))_0x2ff0a2=(_0x4c6790=_0x3a1196==null?void 0x0:_0x3a1196[_0x18be4c(0x35e)])==null?void 0x0:_0x4c6790[_0x5a216e],_0x29191e=(_0xe424af=_0x3c531d[_0x18be4c(0x2ad)])==null?void 0x0:_0xe424af[_0x36a580+0x1+_0x5a216e-_0x170541['colRanges'][0x0][_0x18be4c(0x1e9)]],_0x5d5701=_0x29191e==null?void 0x0:_0x29191e[_0x18be4c(0x3a9)];else{if(_0x416f38===_0x18be4c(0x3ff))_0x2ff0a2=(_0x55612a=_0x3a1196==null?void 0x0:_0x3a1196['cornerInfo'])==null?void 0x0:_0x55612a[_0x5a216e],_0x5d5701=_0x2ff0a2==null?void 0x0:_0x2ff0a2[_0x18be4c(0x3a9)];else{if(_0x416f38==='pageRanges'){const _0x4b0599=_0x37829c==null?void 0x0:_0x37829c['fi'];_0x4b0599!==void 0x0&&(_0x5d5701=_0x3c17fd[_0x18be4c(0x1da)](_0x4b0599));}}}}return{'filterId':_0x5d5701,'info':_0x2ff0a2,'data':_0x37829c,'headerInfo':_0x29191e};}function _0x336cf4(_0x1b4a7d,_0x19adb0,_0x94c7){const _0xfb727c=_0x9268c,_0x83708e=_0x1b4a7d[_0xfb727c(0x199)],_0x19faf0=_0x83708e['getFieldIds'](),_0x1b07c8=new Set();_0x1b4a7d['iterateField'](_0x315865=>{const _0x22b771=_0xfb727c;_0x1b07c8['add'](_0x315865[_0x22b771(0x3af)]);});const _0x4096db=_0x19faf0[_0xfb727c(0x1c5)](_0x8b03a6=>{const _0xeb1605=_0xfb727c,_0x56c500=_0x83708e['getFieldById'](_0x8b03a6);return{'checked':_0x1b07c8[_0xeb1605(0x2a4)](_0x8b03a6),'dataFieldId':_0x56c500['id'],'id':_0x56c500['id'],'name':_0x83708e[_0xeb1605(0x3a5)](_0x56c500['id']),'type':_0x56c500['getFieldDataType'](),'pivotTableId':_0x19adb0};}),_0x1bb6d3=[];_0x1b4a7d[_0xfb727c(0x1d3)](_0x1d148a[_0xfb727c(0x2ed)][_0xfb727c(0x407)],_0x10fb71=>{const _0x555db1=_0xfb727c;_0x1bb6d3[_0x555db1(0x17b)]({'dataFieldId':_0x10fb71[_0x555db1(0x3af)],'tableFieldId':_0x10fb71[_0x555db1(0x1ef)](),'displayName':_0x10fb71['getDisplayName']()});});const _0x32ec30=[];_0x1b4a7d['iterateFieldByArea'](_0x1d148a[_0xfb727c(0x2ed)][_0xfb727c(0x174)],_0x24bd95=>{const _0x47b180=_0xfb727c;_0x32ec30[_0x47b180(0x17b)]({'dataFieldId':_0x24bd95[_0x47b180(0x3af)],'tableFieldId':_0x24bd95[_0x47b180(0x1ef)](),'displayName':_0x24bd95[_0x47b180(0x3a5)]()});});const _0x5244bb=[];if(_0x1b4a7d[_0xfb727c(0x1d3)](_0x1d148a['PivotTableFiledAreaEnum']['Value'],_0x17ea44=>{const _0x32040f=_0xfb727c;_0x5244bb[_0x32040f(0x17b)]({'dataFieldId':_0x17ea44[_0x32040f(0x3af)],'tableFieldId':_0x17ea44['getId'](),'displayName':_0x17ea44['getDisplayName'](),'format':_0x17ea44[_0x32040f(0x322)](),'subTotalType':_0x17ea44[_0x32040f(0x41c)]()});}),_0x5244bb[_0xfb727c(0x32d)]>0x1){const _0x18c2d2=_0x1b4a7d[_0xfb727c(0x3f4)]();(_0x1b4a7d[_0xfb727c(0x2f8)]()?_0x32ec30:_0x1bb6d3)['splice'](_0x18c2d2,0x0,{'dataFieldId':'','tableFieldId':_0xfb727c(0x2cb),'displayName':_0xfb727c(0x435)});}const _0x355fc2=[];_0x1b4a7d[_0xfb727c(0x1d3)](_0x1d148a[_0xfb727c(0x2ed)][_0xfb727c(0x228)],_0x2f1b24=>{const _0x258929=_0xfb727c;_0x355fc2[_0x258929(0x17b)]({'dataFieldId':_0x2f1b24['dataFieldId'],'tableFieldId':_0x2f1b24['getId'](),'displayName':_0x2f1b24['getDisplayName']()});});const _0x1ee98d=_0x94c7['sourceRangeInfo'];return{'sourceList':_0x4096db,'sourceRange':_0x1ee98d,'rowFields':_0x1bb6d3,'columnFields':_0x32ec30,'valueFields':_0x5244bb,'filterFields':_0x355fc2,'positionInfo':_0x94c7['targetCellInfo']};}function _0x368654(_0x571372,_0x520eff,_0xf0ed1b='',_0x5d2a85={}){const _0x4188c4=_0x9268c,_0x1f2de9=_0x571372['get'](_0x475d1b[_0x4188c4(0x3b7)]);for(const _0x5e3bf1 in _0x520eff)if(Object['prototype'][_0x4188c4(0x26c)][_0x4188c4(0x2fb)](_0x520eff,_0x5e3bf1)){const _0xd2eb6a=_0xf0ed1b?_0xf0ed1b+'.'+_0x5e3bf1:_0x5e3bf1;typeof _0x520eff[_0x5e3bf1]==_0x4188c4(0x251)&&_0x520eff[_0x5e3bf1]!==null&&!Array[_0x4188c4(0x321)](_0x520eff[_0x5e3bf1])?_0x368654(_0x571372,_0x520eff[_0x5e3bf1],_0xd2eb6a,_0x5d2a85):_0x5d2a85[_0xd2eb6a]=_0x1f2de9['t'](_0xd2eb6a);}return _0x5d2a85;}const _0x5608c1=_0x1cba59=>{const _0x4fb637=_0x9268c;if(!_0x1cba59)return[];const {rowRanges:_0x21657f,colRanges:_0x329cf0,cornerRanges:_0x1cb9d7,dataRanges:_0x2eeaed,pageRanges:_0x8dd10d}=_0x1cba59,_0x4856de=[..._0x329cf0,..._0x21657f,..._0x2eeaed,..._0x1cb9d7]['filter'](_0x55a9de=>_0x55a9de[_0x4fb637(0x2ff)]>=0x0&&_0x55a9de['startColumn']>=0x0&&_0x55a9de['endRow']>=0x0&&_0x55a9de[_0x4fb637(0x277)]>=0x0);let _0x423fca=Number[_0x4fb637(0x240)],_0x3b7283=Number[_0x4fb637(0x3d4)],_0x3aaf92=Number[_0x4fb637(0x240)],_0x23d432=Number['MIN_SAFE_INTEGER'];for(let _0x40a466=0x0;_0x40a466<_0x4856de[_0x4fb637(0x32d)];_0x40a466++)_0x423fca=Math[_0x4fb637(0x2bb)](_0x423fca,_0x4856de[_0x40a466][_0x4fb637(0x2ff)]),_0x3b7283=Math[_0x4fb637(0x328)](_0x3b7283,_0x4856de[_0x40a466]['endRow']),_0x3aaf92=Math[_0x4fb637(0x2bb)](_0x3aaf92,_0x4856de[_0x40a466]['startColumn']),_0x23d432=Math[_0x4fb637(0x328)](_0x23d432,_0x4856de[_0x40a466]['endColumn']);return[..._0x8dd10d,{'startRow':_0x423fca,'endRow':_0x3b7283,'startColumn':_0x3aaf92,'endColumn':_0x23d432}];};function _0x3734ae(_0x47a119,_0x44e24d){const _0x5ac805=_0x9268c,_0x4c0b64=_0x44e24d['params'][_0x5ac805(0x21c)],{pivotTableId:_0x1b168d,unitId:_0x5bc97b,subUnitId:_0x47677d}=_0x44e24d;if(!_0x4c0b64)return;const _0x27dbe7=_0x47a119[_0x5ac805(0x3bb)](_0x29b926[_0x5ac805(0x420)]),_0x28927f=_0x27dbe7[_0x5ac805(0x289)](_0x1b168d),_0x53fd0d=_0x27dbe7['getPivotTableConfig'](_0x5bc97b,_0x47677d,_0x1b168d);if(!_0x28927f||!_0x53fd0d)return;const _0x211064=_0x28927f[_0x5ac805(0x2f0)](_0x4c0b64['tuple']);if(!(_0x211064!=null&&_0x211064['length']))return;const _0x1d07a2=_0x53fd0d[_0x5ac805(0x453)],{unitId:_0x24b429,subUnitId:_0x34070b,range:_0x55ed3e}=_0x1d07a2;let _0xc4ede6=0x0;const _0xb3930d=_0x28927f['dataFieldsCollection'][_0x5ac805(0x1ed)]()[_0x5ac805(0x262)]((_0x24e287,_0x48dde3)=>{const _0x15343c=_0x5ac805;var _0x59c71a;const _0x44287a=(_0x59c71a=_0x28927f[_0x15343c(0x34d)](_0x48dde3))==null?void 0x0:_0x59c71a[_0x15343c(0x1a4)]();return _0x44287a&&(_0x24e287[String(_0xc4ede6)]=_0x44287a),_0xc4ede6++,_0x24e287;},{});return{'indexes':_0x211064,'range':_0x55ed3e,'sourceUnitId':_0x24b429,'sourceSubUnitId':_0x34070b,'formatMap':_0xb3930d};}function _0x30b5d9(_0x1f4db7,_0x58bc51){const _0x1d84b5=_0x9268c;if(!_0x1f4db7||!_0x58bc51)return!0x0;const _0x1e40d9=_0x474209[_0x1d84b5(0x36e)](_0x3df0b4,_0x1a8b36),_0x33d108=new Function(_0x1d84b5(0x27a)+_0x1e40d9)()(_0x1f4db7,_0x58bc51)[_0x1d84b5(0x40f)],_0x4ce0b6=_0x474209[_0x1d84b5(0x2c3)](_0x33d108,'sf',_0x307b41);return!((_0x33d108==null?void 0x0:_0x33d108['rt'])===_0x474209[_0x1d84b5(0x415)][_0x1d84b5(0x326)]&&!_0x4ce0b6);}function _0x406235(_0x2f249d,_0x168d1d,_0x13dc0a){const _0x461a44=_0x9268c,_0x4a5ab4={'count':_0x2f249d,'timeValid':!0x1};if(!_0x168d1d||!_0x13dc0a)return _0x4a5ab4;const _0x4e10c7=_0x474209[_0x461a44(0x36e)](_0x3df0b4,_0x1a8b36),_0x453761=new Function('return\x20'+_0x4e10c7)()(_0x168d1d,_0x13dc0a);if(_0x453761!=null&&_0x453761[_0x461a44(0x454)]){const _0x2cf50f=_0x453761[_0x461a44(0x40f)],_0x590300=_0x474209['isFeatureAuthorizedWithinTime'](_0x2cf50f,'sf',_0x307b41);return{'count':_0x474209['getSheetFeatureLimit'](_0x2cf50f,_0x590300,_0x461a44(0x37e),_0x2f249d,_0x2f249d,0x0),'timeValid':_0x590300};}return _0x4a5ab4;}function _0x3f1ba5(_0x4e64e6,_0x1b04b0,_0x8c2bbd,_0x604f9){const _0xe3abf6=_0x9268c,_0x323827={'subUnitId':_0x8c2bbd,'unitId':_0x1b04b0,'cellValue':_0x44476f[_0xe3abf6(0x3d0)](_0x604f9)},_0x55e6bb=_0x44476f['SetRangeValuesUndoMutationFactory'](_0x4e64e6,_0x323827);let _0x62249=!0x1;return new _0x475d1b[(_0xe3abf6(0x405))](_0x55e6bb[_0xe3abf6(0x303)])[_0xe3abf6(0x45e)]((_0x205ad2,_0x3f7108,_0x3291fa)=>{const _0x61f134=_0xe3abf6;if(!_0x62249&&_0x3291fa&&(_0x3291fa[_0x61f134(0x31e)]||_0x3291fa['f']||_0x3291fa['p']||_0x3291fa['s']||_0x3291fa['si']||_0x3291fa['t']||_0x3291fa['v']))return _0x62249=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x44476f['SetRangeValuesMutation']['id'],'params':_0x55e6bb},'setRangeValueRedoMutation':{'id':_0x44476f['SetRangeValuesMutation']['id'],'params':_0x323827},'shouldClear':_0x62249};}function _0x4dd364(_0x1a22cb){const {row:_0x4a29e0,col:_0xd5641}=_0x1a22cb,_0x44e765={'startRow':_0x4a29e0,'endRow':_0x4a29e0,'startColumn':_0xd5641,'endColumn':_0xd5641},_0x27e7e8={'startRow':_0x4a29e0+0x2,'endRow':_0x4a29e0+0xe,'startColumn':_0xd5641,'endColumn':_0xd5641+0x6};return[_0x44e765,_0x27e7e8];}function _0x4af82e(_0x43fc83,_0x1da8b4,_0x2b0e4c){const _0x22d3e8=_0x9268c,{cornerView:_0x5d41af,rowView:_0x3ea774,colView:_0x5a7090,pageView:_0x28c847}=_0x43fc83,{row:_0x5d8e8a,col:_0x5ed739}=_0x1da8b4;if(_0x2b0e4c)return{'rowCount':_0x39e3d5+_0x5d8e8a,'colCount':_0x35fa5b+_0x5ed739};const _0x4759fc=_0x28c847[_0x22d3e8(0x16f)]>-0x1?_0x28c847[_0x22d3e8(0x16f)]+0x1:0x0,_0x1baa01=_0x28c847[_0x22d3e8(0x175)]>-0x1?_0x28c847[_0x22d3e8(0x175)]:0x0,_0x177df9=_0x5d8e8a+_0x4759fc+(_0x4759fc?0x1:0x0)+_0x5d41af[_0x22d3e8(0x166)]+_0x3ea774['rowCount'],_0x35d1e6=_0x5ed739+_0x1baa01,_0x5d33b7=_0x5ed739+_0x5d41af[_0x22d3e8(0x40d)]+_0x5a7090['colCount'],_0x5a22f1=Math[_0x22d3e8(0x328)](_0x35d1e6,_0x5d33b7);return{'rowCount':_0x177df9,'colCount':_0x5a22f1};}function _0x26091e(_0xff1027,_0x56e9f7,_0x6d36cf,_0x505dc5){const _0x9a9006=_0x9268c,{row:_0x992c55,col:_0x4f8cd1,unitId:_0x5b9ef4,subUnitId:_0x4fee11}=_0x6d36cf,_0x59df1d=_0x4af82e(_0x56e9f7,{'row':_0x992c55,'col':_0x4f8cd1},_0x505dc5),_0x5ba6d4=_0xff1027[_0x9a9006(0x3bb)](_0x475d1b['IUniverInstanceService']),_0x9c9d18=_0x44476f[_0x9a9006(0x340)](_0x5ba6d4,{'unitId':_0x5b9ef4,'subUnitId':_0x4fee11}),_0x4755d2=[],_0x21704c=[];if(!_0x9c9d18)return{'undos':_0x21704c,'redos':_0x4755d2};const {worksheet:_0x227ae3}=_0x9c9d18,_0x29a384=_0x227ae3[_0x9a9006(0x418)](),_0x5c17bc=_0x227ae3['getColumnCount']();return _0x29a384<_0x59df1d['rowCount']&&(_0x4755d2[_0x9a9006(0x17b)]({'id':_0x44476f['InsertRowMutation']['id'],'params':{'unitId':_0x5b9ef4,'subUnitId':_0x4fee11,'range':{'startRow':_0x29a384,'endRow':_0x59df1d[_0x9a9006(0x166)]-0x1,'startColumn':0x0,'endColumn':_0x5c17bc-0x1}}}),_0x21704c[_0x9a9006(0x17b)]({'id':_0x44476f[_0x9a9006(0x286)]['id'],'params':{'unitId':_0x5b9ef4,'subUnitId':_0x4fee11,'range':{'startRow':_0x29a384,'endRow':_0x59df1d['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x5c17bc-0x1}}})),_0x5c17bc<_0x59df1d[_0x9a9006(0x40d)]&&(_0x4755d2[_0x9a9006(0x17b)]({'id':_0x44476f['InsertColMutation']['id'],'params':{'unitId':_0x5b9ef4,'subUnitId':_0x4fee11,'range':{'startRow':0x0,'endRow':_0x29a384-0x1,'startColumn':_0x5c17bc,'endColumn':_0x59df1d[_0x9a9006(0x40d)]-0x1}}}),_0x21704c['push']({'id':_0x44476f['RemoveColMutation']['id'],'params':{'unitId':_0x5b9ef4,'subUnitId':_0x4fee11,'range':{'startRow':0x0,'endRow':_0x29a384-0x1,'startColumn':_0x5c17bc,'endColumn':_0x59df1d[_0x9a9006(0x40d)]-0x1}}})),{'undos':_0x21704c,'redos':_0x4755d2};}function _0x41917b(_0x2a616a){const _0x6cf21f=_0x9268c;let _0x407a99=0x0;for(let _0x2472fb=0x0;_0x2472fb<_0x2a616a[_0x6cf21f(0x32d)];_0x2472fb++){const _0x36dcf1=_0x2a616a[_0x6cf21f(0x301)](_0x2472fb);_0x36dcf1>=0x4e00&&_0x36dcf1<=0x9fff||_0x36dcf1>=0x3000&&_0x36dcf1<=0x303f||_0x36dcf1>=0xff00&&_0x36dcf1<=0xffef?_0x407a99+=0x2:_0x407a99+=0x1;}return _0x407a99;}function _0x55f414(_0x5efbde,_0x4ceeaf,_0x4b7a79,_0x35f42c){const _0x118bfc=_0x9268c;var _0x4281c3,_0x22aaeb,_0x117aff,_0x12339f;const {rowCount:_0x1cd54a,colCount:_0x5c8cdd,headerMap:_0x2632cc}=_0x5efbde,_0x41709b=0x64,_0x1f9585=Math[_0x118bfc(0x2bb)](_0x1cd54a,_0x41709b),_0x1eaa36=Math[_0x118bfc(0x2bb)](_0x5c8cdd,_0x41709b);let _0x557b11='',_0x236251=0x0;for(let _0x3cd4aa=0x0;_0x3cd4aa<_0x1f9585;_0x3cd4aa++)for(let _0x3e93e0=0x0;_0x3e93e0<_0x1eaa36;_0x3e93e0++){const _0x566087={...(_0x22aaeb=(_0x4281c3=_0x5efbde[_0x118bfc(0x43e)])==null?void 0x0:_0x4281c3[_0x3cd4aa])==null?void 0x0:_0x22aaeb[_0x3e93e0]},_0x4f99ec=(_0x117aff=_0x2632cc[_0x3cd4aa])==null?void 0x0:_0x117aff[_0x118bfc(0x3a9)],_0x1e855c=_0x35f42c[_0x4f99ec];let _0x2b26d0=_0x5efbde[_0x118bfc(0x25a)](_0x3cd4aa,_0x3e93e0);if(_0x566087){const _0x5dd159=_0x4b7a79?_0x3e93e0===0x0&&((_0x12339f=_0x5efbde[_0x118bfc(0x2e1)](_0x3e93e0+0x1))==null?void 0x0:_0x12339f[_0x118bfc(0x1ae)]):!0x1;_0x2b26d0=_0x551650(_0x566087,_0x5dd159,_0x1e855c,_0x4ceeaf);}if(_0x2b26d0!==void 0x0){const _0x2a80fc=_0x41917b(String(_0x2b26d0));_0x236251<_0x2a80fc&&(_0x557b11=String(_0x2b26d0),_0x236251=_0x2a80fc);}}return _0x557b11;}function _0x2cf7ad(_0x404a0d){const _0x5513d7=_0x9268c,{rowCount:_0x4839a6,colCount:_0x52adaa}=_0x404a0d;let _0x1531a7='',_0x1dc112=0x0;for(let _0x47f959=_0x4839a6-0x1;_0x47f959>0x0&&_0x47f959>_0x4839a6-0x3;_0x47f959--)for(let _0x19471e=0x0;_0x19471e<_0x52adaa;_0x19471e++){const _0x1626dd=_0x404a0d['getValue'](_0x47f959,_0x19471e);if(_0x1626dd!==void 0x0){const _0xe11d4=String(_0x1626dd)[_0x5513d7(0x32d)];_0x1dc112<_0xe11d4&&(_0x1531a7=String(_0x1626dd),_0x1dc112=_0xe11d4);}}return _0x1531a7;}function _0x2ea84b(_0xbb9e49){const _0x3d4f69=_0x9268c,{rowCount:_0x39f6ee,colCount:_0x2f56e8}=_0xbb9e49;let _0x2ffa39='',_0x430774=0x0;for(let _0x5eaff0=0x0;_0x5eaff0<_0x39f6ee;_0x5eaff0++)for(let _0x11785a=0x0;_0x11785a<_0x2f56e8;_0x11785a++){const _0x46eccb=_0xbb9e49['getValue'](_0x5eaff0,_0x11785a);if(_0x46eccb!==void 0x0){const _0x45c9d2=String(_0x46eccb)[_0x3d4f69(0x32d)];_0x430774<_0x45c9d2&&(_0x2ffa39=String(_0x46eccb),_0x430774=_0x45c9d2);}}return _0x2ffa39;}function _0x4021cd(_0x1a98b1,_0x2f443c){const _0x59fefa=_0x9268c,{rowFields:_0x4983ab,columnFields:_0x2e725b,valueFields:_0x409813,filterFields:_0xd4f7dc,dimension:_0x37d2eb,measure:_0x4f6c79}=_0x2f443c;for(const _0x4b0d12 of _0x4983ab){const _0x15c876=_0x37d2eb[_0x4b0d12];_0x15c876&&_0x1a98b1[_0x59fefa(0x34d)](_0x15c876[_0x59fefa(0x3af)])&&(_0x1a98b1[_0x59fefa(0x256)](_0x15c876[_0x59fefa(0x3af)],_0x1d148a[_0x59fefa(0x2ed)][_0x59fefa(0x407)],void 0x0,_0x4b0d12),_0x15c876[_0x59fefa(0x1c8)]&&_0x1a98b1['renameField'](_0x15c876['id'],_0x15c876[_0x59fefa(0x1c8)]),_0x15c876['sortInfo']&&_0x1a98b1[_0x59fefa(0x367)](_0x15c876['id'],_0x15c876[_0x59fefa(0x44a)]),_0x15c876[_0x59fefa(0x1ee)]&&_0x1a98b1[_0x59fefa(0x2eb)](_0x15c876['id'],_0x15c876[_0x59fefa(0x1ee)]));}for(const _0x12c53a of _0x2e725b){const _0x3ba45d=_0x37d2eb[_0x12c53a];_0x3ba45d&&_0x1a98b1[_0x59fefa(0x34d)](_0x3ba45d[_0x59fefa(0x3af)])&&(_0x1a98b1['addFieldWithSourceId'](_0x3ba45d['dataFieldId'],_0x1d148a[_0x59fefa(0x2ed)][_0x59fefa(0x174)],void 0x0,_0x12c53a),_0x3ba45d[_0x59fefa(0x44a)]&&_0x1a98b1[_0x59fefa(0x367)](_0x3ba45d['id'],_0x3ba45d[_0x59fefa(0x44a)]),_0x3ba45d[_0x59fefa(0x1ee)]&&_0x1a98b1[_0x59fefa(0x2eb)](_0x3ba45d['id'],_0x3ba45d['filterInfo']),_0x3ba45d[_0x59fefa(0x1c8)]&&_0x1a98b1[_0x59fefa(0x185)](_0x3ba45d['id'],_0x3ba45d[_0x59fefa(0x1c8)]));}for(const _0x439ff2 of _0xd4f7dc){const _0x1e9036=_0x37d2eb[_0x439ff2];_0x1e9036&&_0x1a98b1[_0x59fefa(0x34d)](_0x1e9036[_0x59fefa(0x3af)])&&(_0x1a98b1[_0x59fefa(0x256)](_0x1e9036[_0x59fefa(0x3af)],_0x1d148a[_0x59fefa(0x2ed)][_0x59fefa(0x228)],void 0x0,_0x439ff2),_0x1e9036[_0x59fefa(0x44a)]&&_0x1a98b1[_0x59fefa(0x367)](_0x1e9036['id'],_0x1e9036[_0x59fefa(0x44a)]),_0x1e9036[_0x59fefa(0x1ee)]&&_0x1a98b1[_0x59fefa(0x2eb)](_0x1e9036['id'],_0x1e9036[_0x59fefa(0x1ee)]),_0x1e9036[_0x59fefa(0x1c8)]&&_0x1a98b1[_0x59fefa(0x185)](_0x1e9036['id'],_0x1e9036[_0x59fefa(0x1c8)]));}for(const _0x27fec of _0x409813){const _0x1b24cd=_0x4f6c79[_0x27fec];_0x1b24cd&&_0x1a98b1[_0x59fefa(0x34d)](_0x1b24cd[_0x59fefa(0x3af)])&&(_0x1a98b1[_0x59fefa(0x256)](_0x1b24cd[_0x59fefa(0x3af)],_0x1d148a[_0x59fefa(0x2ed)]['Value'],void 0x0,_0x27fec),_0x1b24cd[_0x59fefa(0x37d)]!==void 0x0&&_0x1a98b1[_0x59fefa(0x273)](_0x27fec,_0x1b24cd[_0x59fefa(0x37d)]),_0x1b24cd[_0x59fefa(0x17a)]&&_0x1a98b1[_0x59fefa(0x412)](_0x27fec,_0x1b24cd[_0x59fefa(0x17a)]),_0x1b24cd[_0x59fefa(0x1c8)]&&_0x1a98b1[_0x59fefa(0x185)](_0x1b24cd['id'],_0x1b24cd['displayName']));}const _0x4a40a3=_0x2f443c[_0x59fefa(0x31c)];for(const {fieldId:_0x40b21c,filterInfo:_0x120b79}of _0x4a40a3)_0x1a98b1[_0x59fefa(0x2b6)](_0x40b21c,_0x120b79);}function _0x28c9b4(_0x24fce9,_0x1da37d){const _0x109756=_0x9268c,_0x403939=[];_0x1da37d===_0x1d148a[_0x109756(0x2ed)][_0x109756(0x407)]&&_0x24fce9[_0x109756(0x1d3)](_0x1d148a[_0x109756(0x2ed)][_0x109756(0x407)],_0x4e09fd=>{const _0x515429=_0x109756;_0x403939[_0x515429(0x17b)](_0x4e09fd['getId']());}),_0x1da37d===_0x1d148a[_0x109756(0x2ed)][_0x109756(0x174)]&&_0x24fce9[_0x109756(0x1d3)](_0x1d148a[_0x109756(0x2ed)][_0x109756(0x174)],_0x4a6249=>{const _0x1bd918=_0x109756;_0x403939[_0x1bd918(0x17b)](_0x4a6249['getId']());}),_0x1da37d===_0x1d148a[_0x109756(0x2ed)][_0x109756(0x228)]&&_0x24fce9[_0x109756(0x1d3)](_0x1d148a[_0x109756(0x2ed)][_0x109756(0x228)],_0x1d73b2=>{const _0x271b5e=_0x109756;_0x403939[_0x271b5e(0x17b)](_0x1d73b2[_0x271b5e(0x1ef)]());}),_0x1da37d===_0x1d148a[_0x109756(0x2ed)]['Value']&&_0x24fce9[_0x109756(0x1d3)](_0x1d148a[_0x109756(0x2ed)]['Value'],_0x1f1784=>{const _0x53f10a=_0x109756;_0x403939[_0x53f10a(0x17b)](_0x1f1784[_0x53f10a(0x1ef)]());}),_0x1da37d===void 0x0&&_0x24fce9[_0x109756(0x1e2)](_0x4ac37d=>{const _0x3de556=_0x109756;_0x403939[_0x3de556(0x17b)](_0x4ac37d['getId']());});const _0x1185be=_0x403939['length'];for(let _0x3e7c6b=_0x1185be-0x1;_0x3e7c6b>=0x0;_0x3e7c6b--)_0x24fce9[_0x109756(0x1a5)](_0x403939[_0x3e7c6b]);const _0x272b41=_0x24fce9['getValueFilterInfos']();for(const _0xbcf18 in _0x272b41)_0x24fce9['removeValueFilterInfo'](_0xbcf18);}function _0x447ce2(_0x534bce,_0x365e33){const _0x5e5f36=_0x9268c,_0x5947c5=new Date(_0x1d148a[_0x5e5f36(0x195)](_0x365e33)),_0x5eae18=new Date(_0x1d148a[_0x5e5f36(0x195)](_0x534bce)),_0x30f240=_0x5947c5[_0x5e5f36(0x3ed)](),_0x27ea06=_0x5eae18[_0x5e5f36(0x3ed)](),_0x2716c3=_0x5947c5[_0x5e5f36(0x3ab)](),_0x4ddff5=_0x5eae18[_0x5e5f36(0x3ab)](),_0x27d00b=_0x5947c5[_0x5e5f36(0x1a3)](),_0x50b1a5=_0x5eae18[_0x5e5f36(0x1a3)](),_0x52165e=_0x30f240===_0x27ea06,_0x2c3fb0=_0x52165e&&_0x2716c3===_0x4ddff5;return _0x52165e&&_0x2c3fb0&&!(_0x2c3fb0&&_0x27d00b===_0x50b1a5)?_0x1d148a[_0x5e5f36(0x1e8)][_0x5e5f36(0x2bf)]:_0x52165e&&!_0x2c3fb0?_0x1d148a[_0x5e5f36(0x1e8)][_0x5e5f36(0x1d6)]:_0x1d148a[_0x5e5f36(0x1e8)][_0x5e5f36(0x2e4)];}function _0x1fac8e(_0x395639,_0x156b51){const _0x1f4919=_0x9268c,_0xb0cd1f=_0x395639['get'](_0x29b926[_0x1f4919(0x420)])[_0x1f4919(0x22d)]();let _0x422add='';switch(_0x156b51){case _0x1d148a[_0x1f4919(0x1e8)]['YearMonthDate']:_0x422add=_0xb0cd1f[_0x1f4919(0x39d)];break;case _0x1d148a[_0x1f4919(0x1e8)][_0x1f4919(0x1d6)]:_0x422add=_0xb0cd1f[_0x1f4919(0x3d6)];break;case _0x1d148a[_0x1f4919(0x1e8)][_0x1f4919(0x2e4)]:_0x422add=_0xb0cd1f['sheets-pivot.dateGroup.year'];break;case _0x1d148a[_0x1f4919(0x1e8)][_0x1f4919(0x29d)]:_0x422add=_0xb0cd1f[_0x1f4919(0x36d)];break;case _0x1d148a[_0x1f4919(0x1e8)][_0x1f4919(0x25c)]:_0x422add=_0xb0cd1f[_0x1f4919(0x3fb)];break;case _0x1d148a[_0x1f4919(0x1e8)][_0x1f4919(0x1f5)]:_0x422add=_0xb0cd1f['sheets-pivot.dateGroup.date'];break;case _0x1d148a[_0x1f4919(0x1e8)]['HourMinute']:_0x422add=_0xb0cd1f[_0x1f4919(0x42f)];break;case _0x1d148a[_0x1f4919(0x1e8)][_0x1f4919(0x271)]:_0x422add=_0xb0cd1f[_0x1f4919(0x392)];break;case _0x1d148a[_0x1f4919(0x1e8)][_0x1f4919(0x24c)]:_0x422add=_0xb0cd1f[_0x1f4919(0x268)];break;case _0x1d148a[_0x1f4919(0x1e8)][_0x1f4919(0x3e3)]:_0x422add=_0xb0cd1f[_0x1f4919(0x1c1)];break;case _0x1d148a[_0x1f4919(0x1e8)]['YearQuarter']:_0x422add=_0xb0cd1f['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x422add='';break;}return _0x422add;}const _0x571d16='sheets-pivot.config',_0x180b02={};var _0x215153=Object[_0x9268c(0x379)],_0x26b5af=(_0x5ec219,_0x128155,_0x4a593d,_0x4c244f)=>{const _0x147c6c=_0x9268c;for(var _0x577132=_0x4c244f>0x1?void 0x0:_0x4c244f?_0x215153(_0x128155,_0x4a593d):_0x128155,_0x2f1619=_0x5ec219[_0x147c6c(0x32d)]-0x1,_0x2da236;_0x2f1619>=0x0;_0x2f1619--)(_0x2da236=_0x5ec219[_0x2f1619])&&(_0x577132=_0x2da236(_0x577132)||_0x577132);return _0x577132;},_0x3a7e38=(_0x267d5f,_0x254a86)=>(_0x3b766f,_0x4d07af)=>_0x254a86(_0x3b766f,_0x4d07af,_0x267d5f);_0x29b926[_0x9268c(0x15d)]=class extends _0x475d1b[_0x9268c(0x158)]{constructor(_0x72d38,_0x1bc31d,_0x4b8d51,_0x2d5e11,_0x336477){const _0x432ca4=_0x9268c;super(),_0x346b88(this,_0x432ca4(0x462),new Map()),_0x346b88(this,_0x432ca4(0x167),new Map()),_0x346b88(this,_0x432ca4(0x385),new Map()),_0x346b88(this,_0x432ca4(0x1fb),new Map()),_0x346b88(this,_0x432ca4(0x1dc),new _0x53d07a['Subject']()),_0x346b88(this,'_pivotInitCompleted$',new _0x53d07a[(_0x432ca4(0x1f6))]()),_0x346b88(this,_0x432ca4(0x1f9),this[_0x432ca4(0x2b3)][_0x432ca4(0x1f1)]()),_0x346b88(this,'_pivotConfigChange$',new _0x53d07a['Subject']()),_0x346b88(this,'pivotConfigChange$',this[_0x432ca4(0x439)][_0x432ca4(0x1f1)]()),_0x346b88(this,_0x432ca4(0x1b0),{}),_0x346b88(this,_0x432ca4(0x377),this[_0x432ca4(0x1dc)][_0x432ca4(0x1f1)]()),(this[_0x432ca4(0x2cd)]=_0x72d38,this[_0x432ca4(0x31d)]=_0x1bc31d,this[_0x432ca4(0x2d4)]=_0x4b8d51,this[_0x432ca4(0x3e5)]=_0x2d5e11,this[_0x432ca4(0x336)]=_0x336477,this['_initLocale'](),this[_0x432ca4(0x2e6)]());const _0x28dfed=this[_0x432ca4(0x336)][_0x432ca4(0x32b)](_0x571d16);(_0x28dfed==null?void 0x0:_0x28dfed[_0x432ca4(0x353)])===!0x0&&this[_0x432ca4(0x3e4)]();}[_0x9268c(0x2e6)](){const _0x24a7ac=_0x9268c;this[_0x24a7ac(0x2c9)](this[_0x24a7ac(0x2d4)][_0x24a7ac(0x365)](_0x475d1b[_0x24a7ac(0x194)][_0x24a7ac(0x461)])['subscribe'](_0x4d1b86=>{this['deleteUnitId'](_0x4d1b86['getUnitId']());}));}[_0x9268c(0x3bc)](){const _0x19892a=_0x9268c;this[_0x19892a(0x2b3)][_0x19892a(0x347)](!0x0);}[_0x9268c(0x1f4)](){const _0x1ca3b7=_0x9268c,_0xfa213=_0x368654(this[_0x1ca3b7(0x2cd)],_0x475b38,'',{});this[_0x1ca3b7(0x1b0)]=_0xfa213,this[_0x1ca3b7(0x31d)][_0x1ca3b7(0x267)](_0x499dd5['id'],{'textInfo':_0xfa213},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x29c727=_0x9268c;return this[_0x29c727(0x1b0)];}[_0x9268c(0x2af)](_0x2efd50,_0x574740,_0x512806,_0x337dfa,_0x224be1){const _0x59a3c2=_0x9268c;this[_0x59a3c2(0x32a)](_0x2efd50,_0x574740,_0x512806,_0x337dfa),this['updatePivotTableRangeInfo'](_0x2efd50,_0x574740,_0x512806,_0x224be1);}[_0x9268c(0x346)](_0x58fb2f,_0x5e1f56,_0x11eb38){const _0x329af7=_0x9268c;var _0x4fdf51;const _0x22242e=(_0x4fdf51=this[_0x329af7(0x462)][_0x329af7(0x3bb)](_0x58fb2f))==null?void 0x0:_0x4fdf51[_0x329af7(0x3bb)](_0x5e1f56);if(_0x22242e)return _0x22242e[_0x329af7(0x3bb)](_0x11eb38);}[_0x9268c(0x202)](_0x1796d8,_0x42b951){const _0x42a0b0=_0x9268c,_0x2fb4c6=this[_0x42a0b0(0x462)][_0x42a0b0(0x3bb)](_0x1796d8);if(_0x2fb4c6){for(const [_0x5d6618,_0x2b88cc]of _0x2fb4c6[_0x42a0b0(0x30b)]())for(const [_0x7357f9,_0x4c7248]of _0x2b88cc['entries']())if(_0x7357f9===_0x42b951)return _0x4c7248[_0x42a0b0(0x1bf)];}}[_0x9268c(0x19a)](_0x203cce,_0x25eacc,_0x23644d){const _0x262619=_0x9268c,_0x5ccb7c=this[_0x262619(0x346)](_0x203cce,_0x25eacc,_0x23644d);return _0x5ccb7c==null?void 0x0:_0x5ccb7c[_0x262619(0x1bf)];}[_0x9268c(0x46c)](_0x474bf3,_0x62edc2){const _0x32df5f=_0x9268c;var _0x5220f3;return(_0x5220f3=this[_0x32df5f(0x462)][_0x32df5f(0x3bb)](_0x474bf3))==null?void 0x0:_0x5220f3[_0x32df5f(0x3bb)](_0x62edc2);}[_0x9268c(0x313)](_0x4fa4a8,_0x199ba3,_0x4fbef7,_0x3e3f5a){const _0x183aff=_0x9268c,_0x2beec1=this[_0x183aff(0x1e5)](_0x4fa4a8,_0x199ba3);_0x3e3f5a?_0x2beec1[_0x183aff(0x40a)](_0x4fbef7,_0x3e3f5a):_0x2beec1[_0x183aff(0x37c)](_0x4fbef7),this[_0x183aff(0x439)][_0x183aff(0x347)]({'unitId':_0x4fa4a8,'subUnitId':_0x199ba3,'pivotTableId':_0x4fbef7,'pivotTableConfig':_0x3e3f5a});}[_0x9268c(0x35a)](_0x373903,_0x134176){const _0x34b190=_0x9268c;var _0x32fd8b;return(_0x32fd8b=this['_collectionConfigModel']['get'](_0x373903))==null?void 0x0:_0x32fd8b[_0x34b190(0x3c3)][_0x134176];}[_0x9268c(0x3c5)](_0x42d5d5,_0x4c63b2){const _0x504f77=_0x9268c;this['_collectionConfigModel'][_0x504f77(0x40a)](_0x42d5d5,_0x4c63b2),this['_configVersion$']['next'](Math['random']());}[_0x9268c(0x1e5)](_0x3901e0,_0x505b27){const _0x5da3ce=_0x9268c;let _0x318a9d=this['_model'][_0x5da3ce(0x3bb)](_0x3901e0);_0x318a9d||(_0x318a9d=new Map(),this[_0x5da3ce(0x462)][_0x5da3ce(0x40a)](_0x3901e0,_0x318a9d));let _0x3a6da4=_0x318a9d['get'](_0x505b27);return _0x3a6da4||(_0x3a6da4=new Map(),_0x318a9d[_0x5da3ce(0x40a)](_0x505b27,_0x3a6da4)),_0x3a6da4;}[_0x9268c(0x26a)](_0x36182a,_0x4fd8f6){const _0x3308b9=_0x9268c;let _0x4b5849=this[_0x3308b9(0x385)][_0x3308b9(0x3bb)](_0x36182a);_0x4b5849||(_0x4b5849=new Map(),this[_0x3308b9(0x385)]['set'](_0x36182a,_0x4b5849));let _0x208bab=_0x4b5849[_0x3308b9(0x3bb)](_0x4fd8f6);return _0x208bab||(_0x208bab=new Map(),_0x4b5849[_0x3308b9(0x40a)](_0x4fd8f6,_0x208bab)),_0x208bab;}[_0x9268c(0x38a)](_0x4ce63e,_0x1c3f2b){const _0xc1d2eb=_0x9268c;let _0x4e2d50=this[_0xc1d2eb(0x1fb)][_0xc1d2eb(0x3bb)](_0x4ce63e);_0x4e2d50||(_0x4e2d50=new Map(),this[_0xc1d2eb(0x1fb)]['set'](_0x4ce63e,_0x4e2d50));let _0x5c01ec=_0x4e2d50[_0xc1d2eb(0x3bb)](_0x1c3f2b);return _0x5c01ec||(_0x5c01ec=new Map(),_0x4e2d50[_0xc1d2eb(0x40a)](_0x1c3f2b,_0x5c01ec)),_0x5c01ec;}[_0x9268c(0x233)](_0x448cd3,_0x548f0d,_0x218eae,_0x2707a8){const _0xb75fb0=_0x9268c;var _0x1727bf;const _0x306188=this[_0xb75fb0(0x26a)](_0x448cd3,_0x548f0d),_0x54a227=(_0x1727bf=_0x306188[_0xb75fb0(0x3bb)](_0x218eae))==null?void 0x0:_0x1727bf[_0xb75fb0(0x45d)];_0x306188[_0xb75fb0(0x40a)](_0x218eae,{'oldRangeInfo':_0x54a227,'rangeInfo':_0x2707a8});}[_0x9268c(0x32a)](_0x4343d7,_0x4da4d9,_0x247761,_0x464370){const _0x386124=_0x9268c;var _0x4044fc;const _0x80e4d8=this['_ensurePivotTableMatrixInfo'](_0x4343d7,_0x4da4d9),_0x56acc2=(_0x4044fc=_0x80e4d8[_0x386124(0x3bb)](_0x247761))==null?void 0x0:_0x4044fc[_0x386124(0x459)];_0x80e4d8[_0x386124(0x40a)](_0x247761,{'oldMatrix':_0x56acc2,'matrix':_0x464370});}[_0x9268c(0x3a4)](_0x39f6b0,_0x5be1e0,_0x53cd4b){const _0x490692=_0x9268c;var _0x4b410d,_0x3e57b2;return(_0x3e57b2=(_0x4b410d=this['_pivotTableRangeInfo'][_0x490692(0x3bb)](_0x39f6b0))==null?void 0x0:_0x4b410d[_0x490692(0x3bb)](_0x5be1e0))==null?void 0x0:_0x3e57b2[_0x490692(0x3bb)](_0x53cd4b);}[_0x9268c(0x464)](_0x452c38,_0x3bf845,_0x328476){const _0xb08a1=_0x9268c;var _0xb0cc14,_0x2dab2e;return(_0x2dab2e=(_0xb0cc14=this[_0xb08a1(0x1fb)][_0xb08a1(0x3bb)](_0x452c38))==null?void 0x0:_0xb0cc14[_0xb08a1(0x3bb)](_0x3bf845))==null?void 0x0:_0x2dab2e['get'](_0x328476);}[_0x9268c(0x3cf)](_0x3bbc31){const _0x156f56=_0x9268c;this[_0x156f56(0x462)][_0x156f56(0x37c)](_0x3bbc31),this[_0x156f56(0x167)][_0x156f56(0x37c)](_0x3bbc31);}[_0x9268c(0x380)](_0x174039){const _0x5d519c=_0x9268c,_0x4ddd0a={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5d519c(0x167)][_0x5d519c(0x3bb)](_0x174039)&&(_0x4ddd0a[_0x5d519c(0x189)][_0x174039]=this['_collectionConfigModel'][_0x5d519c(0x3bb)](_0x174039)),this[_0x5d519c(0x462)][_0x5d519c(0x3bb)](_0x174039)){_0x4ddd0a['pivotTableConfigs'][_0x174039]={};const _0x18ccc1=this['_model'][_0x5d519c(0x3bb)](_0x174039);_0x18ccc1!=null&&_0x18ccc1[_0x5d519c(0x3d7)]&&[..._0x18ccc1[_0x5d519c(0x16a)]()][_0x5d519c(0x3df)](_0x421153=>{const _0x588b1b=_0x5d519c,_0x50f8f0=_0x18ccc1[_0x588b1b(0x3bb)](_0x421153);_0x50f8f0!=null&&_0x50f8f0[_0x588b1b(0x3d7)]&&(_0x4ddd0a['pivotTableConfigs'][_0x174039][_0x421153]={},[..._0x50f8f0[_0x588b1b(0x16a)]()]['forEach'](_0x2fc8a5=>{const _0x561a38=_0x588b1b,_0x41a940=_0x50f8f0[_0x561a38(0x3bb)](_0x2fc8a5);_0x41a940&&(_0x4ddd0a[_0x561a38(0x159)][_0x174039][_0x421153][_0x2fc8a5]=_0x41a940);}));});}return _0x4ddd0a;}['_initSnapshot'](){const _0x27a8eb=_0x9268c;this[_0x27a8eb(0x2c9)](this[_0x27a8eb(0x3e5)]['registerPluginResource']({'toJson':_0x39cbee=>JSON['stringify'](this['_toJSON'](_0x39cbee)),'parseJson':_0x3aad80=>({}),'businesses':[_0x475d1b[_0x27a8eb(0x194)][_0x27a8eb(0x461)]],'pluginName':_0x2ecc25,'onLoad':(_0x164267,_0xee948)=>{},'onUnLoad':_0x4323e1=>{const _0x48edf6=_0x27a8eb;this[_0x48edf6(0x3cf)](_0x4323e1);}}));}},_0x29b926[_0x9268c(0x15d)]=_0x26b5af([_0x3a7e38(0x0,_0x475d1b['Inject'](_0x475d1b[_0x9268c(0x250)])),_0x3a7e38(0x1,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b[_0x9268c(0x342)])),_0x3a7e38(0x2,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b['IUniverInstanceService'])),_0x3a7e38(0x3,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b[_0x9268c(0x203)])),_0x3a7e38(0x4,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b['IConfigService']))],_0x29b926[_0x9268c(0x15d)]);var _0x3cb427=Object[_0x9268c(0x379)],_0x21db0e=(_0x4643f6,_0x5b9241,_0x229296,_0x3796f8)=>{const _0x6d01c2=_0x9268c;for(var _0x31b385=_0x3796f8>0x1?void 0x0:_0x3796f8?_0x3cb427(_0x5b9241,_0x229296):_0x5b9241,_0x2f3700=_0x4643f6[_0x6d01c2(0x32d)]-0x1,_0x518ec2;_0x2f3700>=0x0;_0x2f3700--)(_0x518ec2=_0x4643f6[_0x2f3700])&&(_0x31b385=_0x518ec2(_0x31b385)||_0x31b385);return _0x31b385;},_0x3a06e7=(_0x452cf1,_0x558994)=>(_0x20eab3,_0xd654c)=>_0x558994(_0x20eab3,_0xd654c,_0x452cf1);_0x29b926[_0x9268c(0x317)]=class extends _0x475d1b[_0x9268c(0x158)]{constructor(_0x3387a6,_0x220f23,_0x3c1396,_0x3a588d,_0x27de08){const _0x13ddbc=_0x9268c;super(),_0x346b88(this,_0x13ddbc(0x460),new Map()),_0x346b88(this,_0x13ddbc(0x23a),new Map()),_0x346b88(this,_0x13ddbc(0x351),new _0x53d07a['Subject']()),_0x346b88(this,_0x13ddbc(0x386),this[_0x13ddbc(0x351)][_0x13ddbc(0x1f1)]()),_0x346b88(this,_0x13ddbc(0x416),new _0x53d07a[(_0x13ddbc(0x1f6))]()),_0x346b88(this,_0x13ddbc(0x41a),this['_viewUpdate$']['asObservable']()),_0x346b88(this,_0x13ddbc(0x1b0)),(this[_0x13ddbc(0x437)]=_0x3387a6,this[_0x13ddbc(0x2cd)]=_0x220f23,this[_0x13ddbc(0x1d7)]=_0x3c1396,this['_univerInstanceService']=_0x3a588d,this[_0x13ddbc(0x208)]=_0x27de08,this[_0x13ddbc(0x1f4)](),this['_initUnitDisposed']());}[_0x9268c(0x2e6)](){const _0x26a32d=_0x9268c;this['disposeWithMe'](this[_0x26a32d(0x2d4)][_0x26a32d(0x365)](_0x475d1b[_0x26a32d(0x194)][_0x26a32d(0x461)])[_0x26a32d(0x282)](_0x1f671b=>{const _0xf77f87=_0x26a32d;this[_0xf77f87(0x3cf)](_0x1f671b[_0xf77f87(0x25d)]());}));}[_0x9268c(0x1f4)](){const _0x399741=_0x9268c;this[_0x399741(0x1b0)]=_0x368654(this[_0x399741(0x2cd)],_0x475b38,'',{});}[_0x9268c(0x274)](_0xb27370){const _0x4d4929=_0x9268c,{view:_0x23f3fc,unitId:_0x9baa2d,subUnitId:_0x59c7bf,pivotTableId:_0xf4a6f9,type:_0x402856}=_0xb27370,_0x41267a=this[_0x4d4929(0x1d7)][_0x4d4929(0x346)](_0x9baa2d,_0x59c7bf,_0xf4a6f9);if(!_0x23f3fc||!_0x41267a||_0x402856===_0x94aa6e[_0x4d4929(0x22e)])return;const {pageView:_0x3f7886,cornerView:_0x4126c2,rowView:_0xb31526,colView:_0x11988f,dataView:_0x2dc9e5}=_0x23f3fc,_0x191b98=_0x41267a['targetCellInfo'],_0x16194c=_0x41267a['isEmpty'],_0x20f0dd=this[_0x4d4929(0x46e)](_0x9baa2d,_0x59c7bf),_0x27643d=this[_0x4d4929(0x334)](_0x9baa2d,_0x59c7bf,_0xf4a6f9);if(_0x16194c)return this['_updateRenderEmptyCache'](_0xb27370,_0x20f0dd,_0x191b98,_0x27643d);{const _0x2f412b=_0xc7a07b(_0x191b98,_0x3f7886,!0x0),_0x476dbf=_0x3f7886[_0x4d4929(0x16f)]>=0x0?_0x3f7886[_0x4d4929(0x16f)]+0x1:0x0,_0x568d07=_0x4126c2[_0x4d4929(0x418)](),_0x49a98a=_0x4126c2[_0x4d4929(0x3e9)](),_0x1d9562=_0x2f412b[_0x4d4929(0x32d)]>0x0?_0xe9af5e:0x0,_0x4e79a7=_0xc7a07b({'row':_0x191b98[_0x4d4929(0x18c)]+_0x476dbf+_0x1d9562,'col':_0x191b98[_0x4d4929(0x2b7)]},_0x4126c2,!0x1,!0x1),_0x231eb4=_0xc7a07b({'row':_0x191b98[_0x4d4929(0x18c)]+_0x476dbf+_0x1d9562+_0x568d07,'col':_0x191b98[_0x4d4929(0x2b7)]},_0xb31526,!0x1,!0x0),_0x41f1ef=_0xc7a07b({'row':_0x191b98['row']+_0x476dbf+_0x1d9562,'col':_0x191b98[_0x4d4929(0x2b7)]+_0x49a98a},_0x11988f,!0x1,!0x0),_0xb2e23f=_0xc7a07b({'row':_0x191b98['row']+_0x476dbf+_0x1d9562+_0x568d07,'col':_0x191b98[_0x4d4929(0x2b7)]+_0x49a98a},_0x2dc9e5,!0x1,!0x1);_0x27643d['rangesInfo']={'rowRanges':_0x231eb4,'colRanges':_0x41f1ef,'cornerRanges':_0x4e79a7,'dataRanges':_0xb2e23f,'pageRanges':_0x2f412b};const _0x2585a2=_0x14ac7a(this[_0x4d4929(0x2cd)],_0x23f3fc,_0x41267a,this[_0x4d4929(0x1b0)]),{valueMatrix:_0x36efb5,rowInfo:_0x2ca7ca,colInfo:_0x73b88c,cornerInfo:_0x3a7fb4,rowHeaderMap:_0x4d868c,colHeaderMap:_0x38871e}=_0x2585a2;return _0x27643d[_0x4d4929(0x2b9)]={'rowInfo':_0x2ca7ca,'colInfo':_0x73b88c,'cornerInfo':_0x3a7fb4},_0x27643d[_0x4d4929(0x29f)]={'rowHeaderMap':_0x4d868c,'colHeaderMap':_0x38871e},_0x36efb5[_0x4d4929(0x3df)]((_0x4e7fbf,_0x2515bb)=>{const _0x42537f=_0x4d4929;Object[_0x42537f(0x16a)](_0x2515bb)[_0x42537f(0x3df)](_0x467cd2=>{const _0x2b6916=_0x42537f,_0x403569=+_0x467cd2,_0x6fd7e9=_0x36efb5[_0x2b6916(0x25a)](_0x4e7fbf,_0x403569);_0x20f0dd['setValue'](_0x4e7fbf,_0x403569,_0x6fd7e9);});}),this['_viewUpdate$'][_0x4d4929(0x347)]({'unitId':_0x9baa2d,'subUnitId':_0x59c7bf,'valueMatrix':_0x20f0dd,'rangesCache':_0x27643d[_0x4d4929(0x2a9)],'pivotTableId':_0xf4a6f9,'type':_0xb27370['type']}),this[_0x4d4929(0x1d7)][_0x4d4929(0x2af)](_0x9baa2d,_0x59c7bf,_0xf4a6f9,_0x20f0dd,_0x27643d[_0x4d4929(0x2a9)]),this['_exclusiveRangeService']['addExclusiveRange'](_0x9baa2d,_0x59c7bf,_0x506cb3,this['_createExclusiveRange'](_0x27643d[_0x4d4929(0x2a9)],_0xf4a6f9)),{'rangeCache':_0x27643d['rangesInfo'],'matrix':_0x20f0dd};}}[_0x9268c(0x38b)](_0x1b1e32,_0x3d07d4,_0x52a2d6,_0xd29b5f){const _0x5b7259=_0x9268c,_0x1b446a=this['_localeService']['t'],{unitId:_0x44f9a2,subUnitId:_0x22170e,pivotTableId:_0x40b9db}=_0x1b1e32,_0x5a550c={'filter':_0x1b446a(_0x5b7259(0x384)),'row':_0x1b446a(_0x5b7259(0x446)),'column':_0x1b446a(_0x5b7259(0x341)),'values':_0x1b446a('sheets-pivot.emptyPivot.values')},{matrixCache:_0x49e40f,rangesCache:_0x56946b}=_0x39db0e(_0x5a550c,_0x52a2d6);return _0x49e40f[_0x5b7259(0x45e)]((_0x25b713,_0x219677,_0x15451d)=>{const _0x352a2a=_0x5b7259;_0x3d07d4[_0x352a2a(0x316)](_0x25b713,_0x219677,_0x15451d);}),_0xd29b5f[_0x5b7259(0x2a9)]=_0x56946b,this[_0x5b7259(0x416)]['next']({'unitId':_0x44f9a2,'subUnitId':_0x22170e,'valueMatrix':_0x3d07d4,'rangesCache':_0x56946b,'pivotTableId':_0x40b9db,'type':_0x1b1e32[_0x5b7259(0x436)],'isEmpty':!0x0}),this[_0x5b7259(0x1d7)][_0x5b7259(0x2af)](_0x44f9a2,_0x22170e,_0x40b9db,_0x3d07d4,_0x56946b),this[_0x5b7259(0x208)][_0x5b7259(0x26f)](_0x44f9a2,_0x22170e,_0x506cb3,this[_0x5b7259(0x2a7)](_0x56946b,_0x40b9db)),{'rangeCache':_0xd29b5f[_0x5b7259(0x2a9)],'matrix':_0x3d07d4};}[_0x9268c(0x2a7)](_0x3c276d,_0x41ea7f){const _0x581421=[],_0x1d0eb6=_0x5608c1(_0x3c276d);for(const _0x5057d0 of _0x1d0eb6)_0x581421['push']({'groupId':_0x41ea7f,'range':_0x5057d0});return _0x581421;}[_0x9268c(0x216)](_0x89c4a9){const _0x2cad00=_0x9268c;var _0x2c52e8,_0x250492,_0x301436,_0xf187dd;const {pivotTableId:_0x53a0ae,unitId:_0x58b0b5,subUnitId:_0x4a57ee}=_0x89c4a9;if(!_0x53a0ae||!_0x58b0b5||!_0x4a57ee)return;const _0x3012a4=this['_ensurePivotItemRenderValueMatrixCache'](_0x58b0b5,_0x4a57ee),_0x29fb94=(_0x250492=(_0x2c52e8=this[_0x2cad00(0x460)][_0x2cad00(0x3bb)](_0x58b0b5))==null?void 0x0:_0x2c52e8['get'](_0x4a57ee))==null?void 0x0:_0x250492[_0x2cad00(0x3bb)](_0x53a0ae);if(_0x29fb94!=null&&_0x29fb94['rangesInfo']){for(const _0x41a3a5 of Object[_0x2cad00(0x16a)](_0x29fb94['rangesInfo']))_0x29fb94[_0x2cad00(0x2a9)][_0x41a3a5][_0x2cad00(0x3df)](_0xcf1186=>{const _0x492659=_0x2cad00;for(let _0x12cd88=_0xcf1186[_0x492659(0x2ff)];_0x12cd88<=_0xcf1186['endRow'];_0x12cd88++)for(let _0x4bb5e1=_0xcf1186['startColumn'];_0x4bb5e1<=_0xcf1186[_0x492659(0x277)];_0x4bb5e1++)_0x3012a4['realDeleteValue'](_0x12cd88,_0x4bb5e1);});}_0x29fb94&&((_0xf187dd=(_0x301436=this[_0x2cad00(0x460)]['get'](_0x58b0b5))==null?void 0x0:_0x301436['get'](_0x4a57ee))==null||_0xf187dd[_0x2cad00(0x37c)](_0x53a0ae)),this['_viewUpdate$'][_0x2cad00(0x347)]({'unitId':_0x58b0b5,'subUnitId':_0x4a57ee,'valueMatrix':_0x3012a4,'pivotTableId':_0x53a0ae,'rangesCache':void 0x0,'type':_0x89c4a9['type']}),this['_exclusiveRangeService'][_0x2cad00(0x232)](_0x58b0b5,_0x4a57ee,_0x506cb3,_0x53a0ae);}[_0x9268c(0x334)](_0x1ee340,_0x1b1f99,_0x311b32){const _0x6c6c86=_0x9268c;var _0x335089,_0x44019a,_0x5b7f46,_0x4c48fc,_0x2d9e34,_0x126b66;return this['_pivotRenderInfoCache'][_0x6c6c86(0x2a4)](_0x1ee340)||this[_0x6c6c86(0x460)][_0x6c6c86(0x40a)](_0x1ee340,new Map()),(_0x335089=this['_pivotRenderInfoCache'][_0x6c6c86(0x3bb)](_0x1ee340))!=null&&_0x335089['has'](_0x1b1f99)||(_0x44019a=this[_0x6c6c86(0x460)][_0x6c6c86(0x3bb)](_0x1ee340))==null||_0x44019a[_0x6c6c86(0x40a)](_0x1b1f99,new Map()),(_0x4c48fc=(_0x5b7f46=this[_0x6c6c86(0x460)][_0x6c6c86(0x3bb)](_0x1ee340))==null?void 0x0:_0x5b7f46[_0x6c6c86(0x3bb)](_0x1b1f99))!=null&&_0x4c48fc['has'](_0x311b32)||(_0x126b66=(_0x2d9e34=this[_0x6c6c86(0x460)][_0x6c6c86(0x3bb)](_0x1ee340))==null?void 0x0:_0x2d9e34[_0x6c6c86(0x3bb)](_0x1b1f99))==null||_0x126b66[_0x6c6c86(0x40a)](_0x311b32,{}),this[_0x6c6c86(0x460)][_0x6c6c86(0x3bb)](_0x1ee340)['get'](_0x1b1f99)[_0x6c6c86(0x3bb)](_0x311b32);}['_ensurePivotItemRenderValueMatrixCache'](_0x315662,_0x1db0dc){const _0xb32419=_0x9268c;var _0x163b91,_0x5021b8;return this['_pivotRenderValueMatrixCache'][_0xb32419(0x2a4)](_0x315662)||this[_0xb32419(0x23a)][_0xb32419(0x40a)](_0x315662,new Map()),(_0x163b91=this[_0xb32419(0x23a)]['get'](_0x315662))!=null&&_0x163b91[_0xb32419(0x2a4)](_0x1db0dc)||(_0x5021b8=this['_pivotRenderValueMatrixCache'][_0xb32419(0x3bb)](_0x315662))==null||_0x5021b8[_0xb32419(0x40a)](_0x1db0dc,new _0x475d1b['ObjectMatrix']()),this[_0xb32419(0x23a)][_0xb32419(0x3bb)](_0x315662)['get'](_0x1db0dc);}[_0x9268c(0x164)](_0x2e2970,_0x1f91ed,_0x152102,_0x123893){const _0x1256ac=_0x9268c;var _0x1f59ae,_0x39eb7b;const _0xd429dc=(_0x39eb7b=(_0x1f59ae=this[_0x1256ac(0x23a)][_0x1256ac(0x3bb)](_0x2e2970))==null?void 0x0:_0x1f59ae[_0x1256ac(0x3bb)](_0x1f91ed))==null?void 0x0:_0x39eb7b[_0x1256ac(0x25a)](_0x152102,_0x123893);if(_0xd429dc!=null)return _0xd429dc;}[_0x9268c(0x403)](_0x1c3927,_0x4e5f90,_0x53904e,_0x4a1107){const _0x33dddb=_0x9268c;var _0x230128;const _0x1c8f74=_0x475d1b['cellToRange'](_0x53904e,_0x4a1107),_0x3e9bbd=(_0x230128=this[_0x33dddb(0x460)][_0x33dddb(0x3bb)](_0x1c3927))==null?void 0x0:_0x230128[_0x33dddb(0x3bb)](_0x4e5f90);return _0x3e9bbd?Array[_0x33dddb(0x3fd)](_0x3e9bbd[_0x33dddb(0x16a)]())['find'](_0x35963e=>{const _0x38fddb=_0x33dddb,_0x1029b0=_0x3e9bbd[_0x38fddb(0x3bb)](_0x35963e),_0x1c5c1e=_0x1029b0==null?void 0x0:_0x1029b0[_0x38fddb(0x2a9)];return _0x1c5c1e?Object[_0x38fddb(0x16a)](_0x1c5c1e)[_0x38fddb(0x400)](_0x1923e9=>_0x1c5c1e[_0x1923e9][_0x38fddb(0x400)](_0x485734=>_0x475d1b[_0x38fddb(0x3a7)]['contains'](_0x485734,_0x1c8f74))):!0x1;}):void 0x0;}[_0x9268c(0x2a8)](_0x5a2ef6,_0x449e38,_0x564ba6){const _0x3d6cb4=_0x9268c;var _0x373bcd;const _0x2760da=(_0x373bcd=this['_pivotRenderInfoCache']['get'](_0x5a2ef6))==null?void 0x0:_0x373bcd[_0x3d6cb4(0x3bb)](_0x449e38),_0x5993bd=[];return _0x2760da&&Array[_0x3d6cb4(0x3fd)](_0x2760da[_0x3d6cb4(0x16a)]())[_0x3d6cb4(0x3df)](_0x957f56=>{const _0x23d78c=_0x3d6cb4,_0x124fd8=_0x2760da[_0x23d78c(0x3bb)](_0x957f56),_0x3a0fa2=_0x124fd8==null?void 0x0:_0x124fd8[_0x23d78c(0x2a9)];if(_0x3a0fa2)for(const _0x5769b5 of Object[_0x23d78c(0x3c6)](_0x3a0fa2)){let _0x1ac347=!0x1;for(const _0x45c546 of _0x5769b5)if(_0x475d1b['Rectangle'][_0x23d78c(0x259)](_0x45c546,_0x564ba6)){_0x5993bd['push'](_0x957f56),_0x1ac347=!0x0;break;}if(_0x1ac347)break;}}),_0x5993bd;}[_0x9268c(0x28f)](_0x55b7c4,_0x56350d){const _0x51720c=_0x9268c;var _0x1d4ce0,_0x28a68d;return(_0x28a68d=(_0x1d4ce0=this['_pivotRenderValueMatrixCache'][_0x51720c(0x3bb)](_0x55b7c4))==null?void 0x0:_0x1d4ce0[_0x51720c(0x3bb)](_0x56350d))!=null?_0x28a68d:new _0x475d1b[(_0x51720c(0x405))]();}[_0x9268c(0x357)](_0x20114f,_0x2517f7){const _0x4ddc0f=_0x9268c;var _0x27872a;return(_0x27872a=this[_0x4ddc0f(0x460)][_0x4ddc0f(0x3bb)](_0x20114f))==null?void 0x0:_0x27872a[_0x4ddc0f(0x3bb)](_0x2517f7);}['getPivotItemRenderInfoCache'](_0x111070,_0x31e5cb,_0x50362d){const _0x5541ed=_0x9268c;var _0x545ea6,_0x103b91;return(_0x103b91=(_0x545ea6=this[_0x5541ed(0x460)]['get'](_0x111070))==null?void 0x0:_0x545ea6[_0x5541ed(0x3bb)](_0x31e5cb))==null?void 0x0:_0x103b91[_0x5541ed(0x3bb)](_0x50362d);}['deleteUnitId'](_0x59bcb4){const _0x41bf42=_0x9268c;this[_0x41bf42(0x460)]['delete'](_0x59bcb4),this[_0x41bf42(0x23a)][_0x41bf42(0x37c)](_0x59bcb4);}[_0x9268c(0x438)](_0x2b6563,_0x5c1266){const _0x53fa3d=_0x9268c;this[_0x53fa3d(0x351)][_0x53fa3d(0x347)]({'unitId':_0x2b6563,'subUnitId':_0x5c1266});}},_0x29b926[_0x9268c(0x317)]=_0x21db0e([_0x3a06e7(0x0,_0x475d1b['Inject'](_0x475d1b[_0x9268c(0x3b7)])),_0x3a06e7(0x1,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b[_0x9268c(0x250)])),_0x3a06e7(0x2,_0x475d1b[_0x9268c(0x3b0)](_0x29b926[_0x9268c(0x15d)])),_0x3a06e7(0x3,_0x475d1b['Inject'](_0x475d1b[_0x9268c(0x261)])),_0x3a06e7(0x4,_0x475d1b[_0x9268c(0x3b0)](_0x44476f[_0x9268c(0x1df)]))],_0x29b926[_0x9268c(0x317)]);var _0x2dcba6=Object[_0x9268c(0x379)],_0x4055a4=(_0xb6a844,_0x4b2445,_0x3bdfec,_0x28ca0c)=>{for(var _0x5273ec=_0x28ca0c>0x1?void 0x0:_0x28ca0c?_0x2dcba6(_0x4b2445,_0x3bdfec):_0x4b2445,_0x54e64e=_0xb6a844['length']-0x1,_0x11abdb;_0x54e64e>=0x0;_0x54e64e--)(_0x11abdb=_0xb6a844[_0x54e64e])&&(_0x5273ec=_0x11abdb(_0x5273ec)||_0x5273ec);return _0x5273ec;},_0x16fceb=(_0x457b82,_0x3bcc36)=>(_0x283880,_0x47e570)=>_0x3bcc36(_0x283880,_0x47e570,_0x457b82);_0x29b926['SheetsPivotTableService']=class extends _0x475d1b[_0x9268c(0x158)]{constructor(_0x24525c,_0x1e0bbe){const _0x4050d0=_0x9268c;super(),_0x346b88(this,_0x4050d0(0x3d1),new _0x475d1b[(_0x4050d0(0x3db))]({'PIVOT_PERFORM_CHECK':_0x3b3162})),_0x346b88(this,_0x4050d0(0x311),new _0x475d1b['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x79d632})),(this[_0x4050d0(0x258)]=_0x24525c,this['_sheetsPivotTableAdaptorModel']=_0x1e0bbe,this[_0x4050d0(0x3fc)]());}[_0x9268c(0x3fc)](){const _0x59e202=_0x9268c;this[_0x59e202(0x1cc)]();}[_0x9268c(0x17e)](_0x5c1233){const _0x31a5c9=_0x9268c;return this[_0x31a5c9(0x3d1)]['fetchThroughAsyncInterceptors'](_0x3b3162)(!0x1,_0x5c1233);}[_0x9268c(0x1cc)](){const _0x4ed0b5=_0x9268c;this[_0x4ed0b5(0x2c9)](this[_0x4ed0b5(0x258)][_0x4ed0b5(0x1f3)](_0x44476f[_0x4ed0b5(0x1f0)][_0x4ed0b5(0x19c)],{'priority':0xc8,'effect':_0x475d1b[_0x4ed0b5(0x38d)]['Value']|_0x475d1b['InterceptorEffectEnum'][_0x4ed0b5(0x298)],'handler':(_0x13278a,_0x20fb91,_0xd3bfad)=>{const _0x319bea=_0x4ed0b5,{row:_0x2abb5f,col:_0x2e7fd2,unitId:_0x50016a,subUnitId:_0x2a3220,workbook:_0x52b3d7}=_0x20fb91,_0x15ac84=this[_0x319bea(0x427)]['getPivotTableCellData'](_0x50016a,_0x2a3220,_0x2abb5f,_0x2e7fd2);if(!_0x15ac84)return _0xd3bfad(_0x13278a);const _0x22bb4f={..._0x13278a};(_0x15ac84['v']||_0x15ac84['v']===0x0)&&(_0x22bb4f['v']=_0x15ac84['v']),_0x15ac84['t']&&(_0x22bb4f['t']=_0x15ac84['t']);const _0x2191fb=(typeof(_0x13278a==null?void 0x0:_0x13278a['s'])==_0x319bea(0x19b)?_0x52b3d7[_0x319bea(0x44e)]()[_0x319bea(0x3bb)](_0x13278a==null?void 0x0:_0x13278a['s']):_0x13278a==null?void 0x0:_0x13278a['s'])||{},_0x270a80=_0x52b3d7[_0x319bea(0x44e)]()[_0x319bea(0x3bb)](_0x15ac84['s']),_0x2cd486={..._0x270a80,..._0x2191fb};_0x270a80!=null&&_0x270a80['n']&&(_0x2cd486['n']=_0x270a80['n']);const _0x40c19c=_0x52b3d7[_0x319bea(0x44e)]()[_0x319bea(0x316)](_0x2cd486);return _0x22bb4f['s']=_0x40c19c,(_0x15ac84[_0x319bea(0x37a)]===_0x1d148a[_0x319bea(0x1b7)][_0x319bea(0x2b4)]||_0x15ac84[_0x319bea(0x37a)]===_0x1d148a[_0x319bea(0x1b7)]['Expand'])&&(_0x22bb4f[_0x319bea(0x399)]={},_0x22bb4f['fontRenderExtension'][_0x319bea(0x2ca)]=_0x2a1781),_0xd3bfad(_0x22bb4f);}}));}},_0x29b926[_0x9268c(0x3c8)]=_0x4055a4([_0x16fceb(0x0,_0x475d1b[_0x9268c(0x3b0)](_0x44476f[_0x9268c(0x375)])),_0x16fceb(0x1,_0x475d1b[_0x9268c(0x3b0)](_0x29b926[_0x9268c(0x317)]))],_0x29b926[_0x9268c(0x3c8)]);function _0x126764(_0x2d664c,_0x572c58){const _0x4353ca=_0x9268c;switch(_0x572c58){case _0x1d148a[_0x4353ca(0x2ed)][_0x4353ca(0x3c2)]:return _0x2d664c[_0x4353ca(0x374)];case _0x1d148a['PivotTableFiledAreaEnum'][_0x4353ca(0x228)]:return _0x2d664c[_0x4353ca(0x25e)];case _0x1d148a[_0x4353ca(0x2ed)][_0x4353ca(0x407)]:return _0x2d664c[_0x4353ca(0x3da)];case _0x1d148a['PivotTableFiledAreaEnum'][_0x4353ca(0x174)]:return _0x2d664c[_0x4353ca(0x3ac)];default:return[];}}function _0x1e7392(_0xc5c0a4,_0xa294de){const _0x2a546d=_0x9268c;return _0xc5c0a4[_0x2a546d(0x366)][_0xa294de]||_0xc5c0a4[_0x2a546d(0x3d8)][_0xa294de];}function _0x9452c7(_0x3e4972,_0xde7fc2){const _0x5d8078=_0x9268c,{area:_0x4d8028,fieldJson:_0x2b61c5,index:_0x99279b}=_0xde7fc2;_0x4d8028===_0x1d148a[_0x5d8078(0x2ed)]['Value']?_0x3e4972[_0x5d8078(0x366)][_0x2b61c5['id']]=_0x2b61c5:_0x3e4972[_0x5d8078(0x3d8)][_0x2b61c5['id']]=_0x2b61c5,_0x126764(_0x3e4972,_0x4d8028)[_0x5d8078(0x16b)](_0x99279b,0x0,_0x2b61c5['id']);}function _0x4ec487(_0x29b747,_0x533759){const _0xa21f69=_0x9268c,{area:_0x483ce6,fieldId:_0x1526a5,index:_0x2d0500}=_0x533759;_0x483ce6===_0x1d148a[_0xa21f69(0x2ed)]['Value']?delete _0x29b747['measure'][_0x1526a5]:delete _0x29b747['dimension'][_0x1526a5],_0x126764(_0x29b747,_0x483ce6)[_0xa21f69(0x16b)](_0x2d0500,0x1);}function _0x3b0e44(_0xe17c94,_0x31c63f){const _0x2fb11b=_0x9268c,{fieldId:_0x2271bd,name:_0x4cc44e}=_0x31c63f,_0x59339c=_0x1e7392(_0xe17c94,_0x2271bd);_0x59339c&&(_0x59339c[_0x2fb11b(0x1c8)]=_0x4cc44e);}function _0x30730b(_0x236403,_0x2345c2){const _0x5b0fe3=_0x9268c,{fieldId:_0x2a77ec,collapse:_0xd87141,item:_0x27b669}=_0x2345c2;_0x27b669!==void 0x0?(_0x236403['collapseInfo'][_0x2a77ec]=_0x236403['collapseInfo'][_0x2a77ec]||{},_0x236403[_0x5b0fe3(0x43c)][_0x2a77ec][_0x27b669]=_0xd87141):_0x236403[_0x5b0fe3(0x43c)][_0x2a77ec]=_0xd87141;}function _0x28b762(_0xa66006,_0x5d09bc){const {fieldId:_0x767a58,format:_0x737a1d}=_0x5d09bc,_0x2c3425=_0x1e7392(_0xa66006,_0x767a58);_0x2c3425&&(_0x2c3425['format']=_0x737a1d);}function _0x5b29dd(_0x479d13,_0x5db90d){const {fieldId:_0x42471f,filterInfo:_0x2bfec9}=_0x5db90d,_0x8e90ed=_0x1e7392(_0x479d13,_0x42471f);_0x8e90ed&&(_0x8e90ed['filterInfo']=_0x2bfec9);}function _0x451eae(_0x552c82,_0xc26d31){const _0x2dbd46=_0x9268c,{fieldId:_0x11297a,filterInfo:_0x1c1081}=_0xc26d31,_0x311431=_0x552c82[_0x2dbd46(0x31c)]['filter'](_0x58b889=>_0x58b889['fieldId']!==_0x11297a);_0x1c1081&&_0x311431[_0x2dbd46(0x17b)]({'fieldId':_0x11297a,'filterInfo':_0x1c1081}),_0x552c82[_0x2dbd46(0x31c)]=_0x311431;}function _0x5415a6(_0x54779e,_0x6d51d9){const _0x247806=_0x9268c,{fieldId:_0x53cf92,subtotalType:_0x1d8685}=_0x6d51d9,_0x1b7003=_0x1e7392(_0x54779e,_0x53cf92);_0x1b7003&&(_0x1b7003[_0x247806(0x37d)]=_0x1d8685);}function _0x452af2(_0x4365ee,_0x220b39){const _0x385630=_0x9268c,{fieldId:_0x5b3cd8,oldArea:_0x3c792c,area:_0x50af85,oldIndex:_0x139f16,index:_0x1cf477}=_0x220b39,_0x5e64d1=_0x3c792c!==_0x1d148a['PivotTableFiledAreaEnum'][_0x385630(0x3c2)]&&_0x50af85===_0x1d148a['PivotTableFiledAreaEnum'][_0x385630(0x3c2)],_0x4630d6=_0x3c792c===_0x1d148a[_0x385630(0x2ed)][_0x385630(0x3c2)]&&_0x50af85!==_0x1d148a[_0x385630(0x2ed)]['Value'];if(_0x5e64d1||_0x4630d6){const _0x104ebb=_0x1e7392(_0x4365ee,_0x5b3cd8);_0x104ebb&&(_0x5e64d1?(delete _0x4365ee[_0x385630(0x3d8)][_0x5b3cd8],_0x4365ee[_0x385630(0x366)][_0x5b3cd8]=_0x104ebb):(delete _0x4365ee[_0x385630(0x366)][_0x5b3cd8],_0x4365ee[_0x385630(0x3d8)][_0x5b3cd8]=_0x104ebb));}const _0x2c1462=_0x126764(_0x4365ee,_0x3c792c),_0x553184=_0x126764(_0x4365ee,_0x50af85);_0x2c1462[_0x385630(0x16b)](_0x139f16,0x1),_0x553184['splice'](_0x1cf477,0x0,_0x5b3cd8);}function _0x3d1968(_0x51f68d,_0x54fdc8){const _0x1b8c73=_0x9268c,{valuePosition:_0x2bb74b,index:_0x227d3d}=_0x54fdc8;_0x51f68d[_0x1b8c73(0x2fe)]=_0x2bb74b,_0x51f68d['valueIndex']=_0x227d3d;}function _0xfa7f8a(_0x2e2cb7,_0x101da4){const _0x4ba8d0=_0x9268c,{tableFieldId:_0x178f1e,sourceName:_0x4f3c67,dataFieldId:_0xa4081a}=_0x101da4,_0x370944=_0x1e7392(_0x2e2cb7,_0x178f1e);_0x370944&&(_0x370944[_0x4ba8d0(0x29b)]=_0x4f3c67,_0x370944[_0x4ba8d0(0x3af)]=_0xa4081a);}function _0xc7cb8e(_0x1ac067,_0x48c8e7){const _0x152136=_0x9268c,{fieldId:_0x3fd364,sortInfo:_0x47763e}=_0x48c8e7,_0x29f2b0=_0x1e7392(_0x1ac067,_0x3fd364);_0x29f2b0&&(_0x29f2b0[_0x152136(0x44a)]=_0x47763e);}function _0x39a06e(_0x55b7a0,_0x920b7a){const _0x59ee13=_0x9268c,{options:_0x4466a0}=_0x920b7a;_0x55b7a0[_0x59ee13(0x1b1)]={..._0x55b7a0['options'],..._0x4466a0};}const _0x56c11b={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':_0x9268c(0x212),'handler'(_0x3e3b29,_0x1b3a15){const _0xb4b9d4=_0x9268c;if(!_0x1b3a15)return!0x1;if(!!_0x3e3b29['get'](_0x475d1b[_0xb4b9d4(0x260)])[_0xb4b9d4(0x32b)](_0x1bd950))return!0x0;const _0x3248e3=_0x3e3b29[_0xb4b9d4(0x3bb)](_0x29b926[_0xb4b9d4(0x420)]),{pivotTableId:_0x4d75e9,fieldJson:_0x133b26,area:_0x39ed5c,index:_0x416805,unitId:_0xd99510,subUnitId:_0x165933}=_0x1b3a15,_0xcbac80=_0x3248e3[_0xb4b9d4(0x289)](_0x4d75e9);if(!_0xcbac80)return!0x1;let _0x5dae3f;_0x39ed5c===_0x1d148a['PivotTableFiledAreaEnum'][_0xb4b9d4(0x3c2)]?_0x5dae3f=_0x1d148a['createValueField'](_0x133b26):_0x5dae3f=_0x1d148a[_0xb4b9d4(0x41e)](_0x133b26),_0xcbac80[_0xb4b9d4(0x426)](_0x5dae3f,_0x39ed5c,_0x416805);const _0xb9b77c=_0x3248e3['getPivotTableModelConfig'](_0xd99510,_0x165933,_0x4d75e9);_0x9452c7(_0xb9b77c,_0x1b3a15);const _0x45fb5f=_0x3248e3[_0xb4b9d4(0x346)](_0xd99510,_0x165933,_0x4d75e9);return _0x3248e3[_0xb4b9d4(0x387)]({'unitId':_0xd99510,'subUnitId':_0x165933,'token':_0x4d75e9,'type':_0x94aa6e['Set'],'pivotConfig':_0x45fb5f}),!0x0;}},_0x171424={'type':_0x475d1b[_0x9268c(0x15f)]['MUTATION'],'id':_0x9268c(0x355),'handler'(_0x1ae86a,_0xdad9a6){const _0xb8e4e2=_0x9268c;if(!_0xdad9a6)return!0x1;if(!!_0x1ae86a[_0xb8e4e2(0x3bb)](_0x475d1b[_0xb8e4e2(0x260)])[_0xb8e4e2(0x32b)](_0x1bd950))return!0x0;const _0x3e3e4b=_0x1ae86a['get'](_0x29b926[_0xb8e4e2(0x420)]),{pivotTableId:_0x452a19,fieldId:_0x4fa1f7,unitId:_0x2d0566,subUnitId:_0x50c808}=_0xdad9a6,_0x27399a=_0x3e3e4b['getPivotTableInstance'](_0x452a19);if(!_0x27399a)return!0x1;_0x27399a['removeField'](_0x4fa1f7);const _0x1ca99e=_0x3e3e4b['getPivotTableModelConfig'](_0x2d0566,_0x50c808,_0x452a19);_0x4ec487(_0x1ca99e,_0xdad9a6);const _0x54d253=_0x3e3e4b[_0xb8e4e2(0x346)](_0x2d0566,_0x50c808,_0x452a19);return _0x3e3e4b[_0xb8e4e2(0x387)]({'unitId':_0x2d0566,'subUnitId':_0x50c808,'token':_0x452a19,'type':_0x94aa6e[_0xb8e4e2(0x381)],'pivotConfig':_0x54d253}),!0x0;}},_0xb9bf76={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x1e16dc,_0x59a1eb){const _0x1f015f=_0x9268c;if(!_0x59a1eb)return!0x1;if(!!_0x1e16dc[_0x1f015f(0x3bb)](_0x475d1b[_0x1f015f(0x260)])[_0x1f015f(0x32b)](_0x1bd950))return!0x0;const _0x401980=_0x1e16dc[_0x1f015f(0x3bb)](_0x29b926[_0x1f015f(0x420)]),{unitId:_0x2d0863,subUnitId:_0x286800,pivotTableId:_0x45c853,fieldId:_0x5d046d,name:_0x223018}=_0x59a1eb,_0x39ef52=_0x401980['getPivotTableInstance'](_0x45c853);if(!_0x39ef52)return!0x1;_0x39ef52['renameField'](_0x5d046d,_0x223018);const _0x947761=_0x401980[_0x1f015f(0x327)](_0x2d0863,_0x286800,_0x45c853);return _0x3b0e44(_0x947761,_0x59a1eb),_0x401980[_0x1f015f(0x387)]({'unitId':_0x2d0863,'subUnitId':_0x286800,'token':_0x45c853,'type':_0x94aa6e[_0x1f015f(0x381)]}),!0x0;}},_0x5f0a5e={'type':_0x475d1b['CommandType']['MUTATION'],'id':_0x9268c(0x3ef),'handler'(_0x376527,_0x1baf73){const _0x586d50=_0x9268c;if(!_0x1baf73)return!0x1;if(!!_0x376527['get'](_0x475d1b[_0x586d50(0x260)])['getConfig'](_0x1bd950))return!0x0;const _0x45c659=_0x376527[_0x586d50(0x3bb)](_0x29b926['SheetsPivotDataSourceModel']),{unitId:_0x1dbe99,subUnitId:_0x389ea5,pivotTableId:_0x5e6fc9,fieldId:_0x20d7c8,collapse:_0x363351,item:_0x84d1ad}=_0x1baf73,_0x1e43d7=_0x45c659[_0x586d50(0x289)](_0x5e6fc9);if(!_0x1e43d7)return!0x1;_0x1e43d7[_0x586d50(0x244)](_0x20d7c8,_0x363351,_0x84d1ad);const _0x486b12=_0x45c659[_0x586d50(0x327)](_0x1dbe99,_0x389ea5,_0x5e6fc9);return _0x30730b(_0x486b12,_0x1baf73),_0x45c659[_0x586d50(0x387)]({'unitId':_0x1dbe99,'subUnitId':_0x389ea5,'token':_0x5e6fc9,'type':_0x94aa6e[_0x586d50(0x381)]}),!0x0;}},_0x2def0f={'type':_0x475d1b['CommandType'][_0x9268c(0x23e)],'id':_0x9268c(0x36c),'handler'(_0x3bdde7,_0x3a427c){const _0x4641c6=_0x9268c;if(!_0x3a427c)return!0x1;if(!!_0x3bdde7[_0x4641c6(0x3bb)](_0x475d1b['IConfigService'])[_0x4641c6(0x32b)](_0x1bd950))return!0x0;const _0x4c55fe=_0x3bdde7['get'](_0x29b926[_0x4641c6(0x420)]),{unitId:_0x1a6c82,subUnitId:_0x203ade,pivotTableId:_0x25f5aa,fieldId:_0x2dcd54,format:_0x367840}=_0x3a427c,_0x5d03c2=_0x4c55fe[_0x4641c6(0x289)](_0x25f5aa);if(!_0x5d03c2)return!0x1;_0x5d03c2[_0x4641c6(0x412)](_0x2dcd54,_0x367840);const _0x586051=_0x4c55fe[_0x4641c6(0x327)](_0x1a6c82,_0x203ade,_0x25f5aa);return _0x28b762(_0x586051,_0x3a427c),_0x4c55fe[_0x4641c6(0x387)]({'unitId':_0x1a6c82,'subUnitId':_0x203ade,'token':_0x25f5aa,'type':_0x94aa6e[_0x4641c6(0x381)]}),!0x0;}},_0x13719d={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x4dee20,_0x14b802){const _0x35df0e=_0x9268c;if(!_0x14b802)return!0x1;if(!!_0x4dee20['get'](_0x475d1b['IConfigService'])[_0x35df0e(0x32b)](_0x1bd950))return!0x0;const _0x4a3c28=_0x4dee20[_0x35df0e(0x3bb)](_0x29b926[_0x35df0e(0x420)]),{unitId:_0x4deff2,subUnitId:_0x2a291f,pivotTableId:_0x25db2d,fieldId:_0x671bce,filterInfo:_0x4a4813}=_0x14b802,_0x3d81cc=_0x4a3c28[_0x35df0e(0x289)](_0x25db2d);if(!_0x3d81cc)return!0x1;_0x3d81cc[_0x35df0e(0x2eb)](_0x671bce,_0x4a4813);const _0x1755a7=_0x4a3c28['getPivotTableModelConfig'](_0x4deff2,_0x2a291f,_0x25db2d);return _0x5b29dd(_0x1755a7,_0x14b802),_0x4a3c28['addDirtyPivotTable']({'unitId':_0x4deff2,'subUnitId':_0x2a291f,'token':_0x25db2d,'type':_0x94aa6e[_0x35df0e(0x381)]}),!0x0;}},_0x50d5f1={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':_0x9268c(0x1e3),'handler'(_0x54c600,_0x2bfa2b){const _0x6a590b=_0x9268c;if(!_0x2bfa2b)return!0x1;if(!!_0x54c600[_0x6a590b(0x3bb)](_0x475d1b[_0x6a590b(0x260)])[_0x6a590b(0x32b)](_0x1bd950))return!0x0;const _0x5055cb=_0x54c600[_0x6a590b(0x3bb)](_0x29b926[_0x6a590b(0x420)]),{unitId:_0x1b9918,subUnitId:_0x590046,pivotTableId:_0x11546a,options:_0x3882a0}=_0x2bfa2b,_0xd1c996=_0x5055cb['getPivotTableInstance'](_0x11546a);if(!_0xd1c996)return!0x1;_0xd1c996['setOptions'](_0x3882a0);const _0x3e757b=_0x5055cb[_0x6a590b(0x327)](_0x1b9918,_0x590046,_0x11546a);return _0x39a06e(_0x3e757b,_0x2bfa2b),_0x5055cb[_0x6a590b(0x387)]({'unitId':_0x1b9918,'subUnitId':_0x590046,'token':_0x11546a,'type':_0x94aa6e[_0x6a590b(0x381)]}),!0x0;}},_0x3e0bbd={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x19abe5,_0xb98e5c){const _0x14c95a=_0x9268c;if(!_0xb98e5c)return!0x1;if(!!_0x19abe5[_0x14c95a(0x3bb)](_0x475d1b['IConfigService'])[_0x14c95a(0x32b)](_0x1bd950))return!0x0;const _0x4210cc=_0x19abe5[_0x14c95a(0x3bb)](_0x29b926['SheetsPivotDataSourceModel']),{unitId:_0x1ca82a,subUnitId:_0xeeadc8,pivotTableId:_0x1c54e6,sortInfo:_0x1b73d2,fieldId:_0x5997f6}=_0xb98e5c,_0x4b5235=_0x4210cc[_0x14c95a(0x289)](_0x1c54e6);if(!_0x4b5235)return!0x1;_0x4b5235[_0x14c95a(0x367)](_0x5997f6,_0x1b73d2);const _0x359c10=_0x4210cc[_0x14c95a(0x327)](_0x1ca82a,_0xeeadc8,_0x1c54e6);return _0xc7cb8e(_0x359c10,_0xb98e5c),_0x4210cc[_0x14c95a(0x387)]({'unitId':_0x1ca82a,'subUnitId':_0xeeadc8,'token':_0x1c54e6,'type':_0x94aa6e[_0x14c95a(0x381)]}),!0x0;}},_0x2b2f10={'type':_0x475d1b['CommandType'][_0x9268c(0x23e)],'id':_0x9268c(0x348),'handler'(_0x394789,_0x174f61){const _0x3321c9=_0x9268c;if(!_0x174f61)return!0x1;if(!!_0x394789['get'](_0x475d1b['IConfigService'])[_0x3321c9(0x32b)](_0x1bd950))return!0x0;const _0x235bfa=_0x394789[_0x3321c9(0x3bb)](_0x29b926[_0x3321c9(0x420)]),{unitId:_0x577cd0,subUnitId:_0x16646c,pivotTableId:_0x4dfdca,fieldId:_0x4138f6,subtotalType:_0xdf56ba}=_0x174f61,_0x2ea331=_0x235bfa['getPivotTableInstance'](_0x4dfdca);if(!_0x2ea331)return!0x1;_0x2ea331[_0x3321c9(0x273)](_0x4138f6,_0xdf56ba);const _0xbf3e6e=_0x235bfa['getPivotTableModelConfig'](_0x577cd0,_0x16646c,_0x4dfdca);return _0x5415a6(_0xbf3e6e,_0x174f61),_0x235bfa['addDirtyPivotTable']({'unitId':_0x577cd0,'subUnitId':_0x16646c,'token':_0x4dfdca,'type':_0x94aa6e['Set']}),!0x0;}},_0x5dda94={'type':_0x475d1b['CommandType'][_0x9268c(0x23e)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x5a202f,_0x55b927){const _0x33dda9=_0x9268c;if(!_0x55b927)return!0x1;if(!!_0x5a202f[_0x33dda9(0x3bb)](_0x475d1b['IConfigService'])['getConfig'](_0x1bd950))return!0x0;const _0x27d0f6=_0x5a202f['get'](_0x29b926['SheetsPivotDataSourceModel']),{unitId:_0x35a80c,subUnitId:_0x33b164,pivotTableId:_0xed6541,fieldId:_0x109cca,filterInfo:_0x46db45}=_0x55b927,_0x59a3af=_0x27d0f6['getPivotTableInstance'](_0xed6541);if(!_0x59a3af)return!0x1;_0x59a3af[_0x33dda9(0x2b6)](_0x109cca,_0x46db45);const _0x1bb1ae=_0x27d0f6['getPivotTableModelConfig'](_0x35a80c,_0x33b164,_0xed6541);return _0x451eae(_0x1bb1ae,_0x55b927),_0x27d0f6[_0x33dda9(0x387)]({'unitId':_0x35a80c,'subUnitId':_0x33b164,'token':_0xed6541,'type':_0x94aa6e[_0x33dda9(0x381)]}),!0x0;}},_0x170a7e={'type':_0x475d1b['CommandType'][_0x9268c(0x23e)],'id':_0x9268c(0x469),'handler'(_0x130e82,_0x349597){const _0x21d2a1=_0x9268c;if(!_0x349597)return!0x1;if(!!_0x130e82[_0x21d2a1(0x3bb)](_0x475d1b[_0x21d2a1(0x260)])[_0x21d2a1(0x32b)](_0x1bd950))return!0x0;const _0x5dc36c=_0x130e82[_0x21d2a1(0x3bb)](_0x29b926[_0x21d2a1(0x420)]),{unitId:_0x3d9a5d,subUnitId:_0x447243,pivotTableId:_0x4b1370,area:_0xe084e6,index:_0x56b89e,fieldId:_0x2692f1}=_0x349597,_0x3427ed=_0x5dc36c[_0x21d2a1(0x289)](_0x4b1370);if(!_0x3427ed)return!0x1;_0x3427ed['updateFieldPosition'](_0x2692f1,_0xe084e6,_0x56b89e);const _0xaf6bc2=_0x5dc36c['getPivotTableModelConfig'](_0x3d9a5d,_0x447243,_0x4b1370);return _0x452af2(_0xaf6bc2,_0x349597),_0x5dc36c[_0x21d2a1(0x387)]({'unitId':_0x3d9a5d,'subUnitId':_0x447243,'token':_0x4b1370,'type':_0x94aa6e['Set']}),!0x0;}},_0x2703fc={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':_0x9268c(0x45c),'handler'(_0x1b4cd4,_0x4f123e){const _0x258b68=_0x9268c;if(!_0x4f123e)return!0x1;if(!!_0x1b4cd4['get'](_0x475d1b[_0x258b68(0x260)])[_0x258b68(0x32b)](_0x1bd950))return!0x0;const _0x8b32db=_0x1b4cd4[_0x258b68(0x3bb)](_0x29b926[_0x258b68(0x420)]),{unitId:_0x5e4678,subUnitId:_0x5a77da,pivotTableId:_0xe327c4,sourceName:_0x5af0ac,dataFieldId:_0x157ecc,tableFieldId:_0x1ea0be}=_0x4f123e,_0x4673ec=_0x8b32db[_0x258b68(0x289)](_0xe327c4);if(!_0x4673ec)return!0x1;_0x4673ec[_0x258b68(0x32f)](_0x1ea0be,_0x5af0ac,_0x157ecc);const _0x3fef8e=_0x8b32db[_0x258b68(0x327)](_0x5e4678,_0x5a77da,_0xe327c4);return _0xfa7f8a(_0x3fef8e,_0x4f123e),_0x8b32db[_0x258b68(0x387)]({'unitId':_0x5e4678,'subUnitId':_0x5a77da,'token':_0xe327c4,'type':_0x94aa6e['Set']}),!0x0;}},_0xab0afc={'type':_0x475d1b[_0x9268c(0x15f)]['MUTATION'],'id':_0x9268c(0x36b),'handler'(_0x5c4aa4,_0x5a9ede){const _0x35094f=_0x9268c;if(!_0x5a9ede)return!0x1;if(!!_0x5c4aa4[_0x35094f(0x3bb)](_0x475d1b[_0x35094f(0x260)])['getConfig'](_0x1bd950))return!0x0;const _0xb78708=_0x5c4aa4[_0x35094f(0x3bb)](_0x29b926[_0x35094f(0x420)]),{unitId:_0x16fbf9,subUnitId:_0x3a9d12,pivotTableId:_0x4b4c6c,valuePosition:_0x4bdc0f,index:_0x131de8}=_0x5a9ede,_0x51af77=_0xb78708[_0x35094f(0x289)](_0x4b4c6c);if(!_0x51af77)return!0x1;_0x51af77[_0x35094f(0x1fa)](_0x4bdc0f,_0x131de8);const _0x20eb3c=_0xb78708[_0x35094f(0x327)](_0x16fbf9,_0x3a9d12,_0x4b4c6c);return _0x3d1968(_0x20eb3c,_0x5a9ede),_0xb78708[_0x35094f(0x387)]({'unitId':_0x16fbf9,'subUnitId':_0x3a9d12,'token':_0x4b4c6c,'type':_0x94aa6e[_0x35094f(0x381)]}),!0x0;}};function _0x44fef9(_0x1d081e,_0x39c32d,_0x5d9896){const _0x27da37=_0x9268c,{pivotTableId:_0x32342d,unitId:_0x5843cf,subUnitId:_0x4e3082}=_0x39c32d,_0x3d97c5=[],_0x5a2873=[];for(const _0x5dd7c2 of _0x5d9896)switch(_0x5dd7c2[_0x27da37(0x436)]){case _0x1d148a[_0x27da37(0x42c)][_0x27da37(0x198)]:{const {fieldJson:_0x17672c,area:_0x1c8762,index:_0x49c2bf}=_0x5dd7c2,_0x1cee76={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldJson':_0x17672c,'area':_0x1c8762,'index':_0x49c2bf},_0x40a32e={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x17672c['id'],'area':_0x1c8762,'index':_0x49c2bf};_0x3d97c5['push']({'id':_0x56c11b['id'],'params':_0x1cee76}),_0x5a2873[_0x27da37(0x3f0)]({'id':_0x171424['id'],'params':_0x40a32e});}break;case _0x1d148a[_0x27da37(0x42c)][_0x27da37(0x2ea)]:{const {fieldId:_0x346615,newSubtotalType:_0x55c53b,oldSubtotalType:_0x193228}=_0x5dd7c2,_0x356036={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x346615,'subtotalType':_0x55c53b};_0x3d97c5[_0x27da37(0x17b)]({'id':_0x2b2f10['id'],'params':_0x356036});const _0x5a15dd={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x346615,'subtotalType':_0x193228};_0x5a2873['unshift']({'id':_0x2b2f10['id'],'params':_0x5a15dd});}break;case _0x1d148a[_0x27da37(0x42c)][_0x27da37(0x330)]:{const {fieldId:_0x39d059,fieldJson:_0x257aae,area:_0x32968a,index:_0x56729e}=_0x5dd7c2,_0x3353c5={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x39d059,'index':_0x56729e,'area':_0x32968a};_0x3d97c5[_0x27da37(0x17b)]({'id':_0x171424['id'],'params':_0x3353c5});const _0x2a9dd0={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldJson':_0x257aae,'area':_0x32968a,'index':_0x56729e};_0x5a2873[_0x27da37(0x3f0)]({'id':_0x56c11b['id'],'params':_0x2a9dd0});}break;case _0x1d148a[_0x27da37(0x42c)][_0x27da37(0x3b1)]:{const {fieldId:_0x1a99dc,oldName:_0xb7f44e,newName:_0x45d771}=_0x5dd7c2,_0x1fbc35={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x1a99dc,'name':_0x45d771};_0x3d97c5[_0x27da37(0x17b)]({'id':_0xb9bf76['id'],'params':_0x1fbc35});const _0x1360fa={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x1a99dc,'name':_0xb7f44e};_0x5a2873['unshift']({'id':_0xb9bf76['id'],'params':_0x1360fa});}break;case _0x1d148a['PivotTableChangeTypeEnum']['SetFilterInfo']:{const {fieldId:_0x32c6a8,oldFilterInfo:_0x3fae35,newFilterInfo:_0x3c7b13}=_0x5dd7c2,_0xb5b036={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x32c6a8,'filterInfo':_0x3c7b13};_0x3d97c5[_0x27da37(0x17b)]({'id':_0x13719d['id'],'params':_0xb5b036});const _0xd4ddf5={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x32c6a8,'filterInfo':_0x3fae35};_0x5a2873[_0x27da37(0x3f0)]({'id':_0x13719d['id'],'params':_0xd4ddf5});}break;case _0x1d148a['PivotTableChangeTypeEnum']['SetSortInfo']:{const {fieldId:_0x64c22f,oldSortInfo:_0x3771c7,newSortInfo:_0x282d1a}=_0x5dd7c2,_0x34844b={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x64c22f,'sortInfo':_0x282d1a};_0x3d97c5['push']({'id':_0x3e0bbd['id'],'params':_0x34844b});const _0x5ec875={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x64c22f,'sortInfo':_0x3771c7};_0x5a2873[_0x27da37(0x3f0)]({'id':_0x3e0bbd['id'],'params':_0x5ec875});}break;case _0x1d148a[_0x27da37(0x42c)][_0x27da37(0x3b3)]:{const {oldOptions:_0x3bbbac,newOptions:_0x4bcb2a}=_0x5dd7c2,_0x230413={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'options':_0x4bcb2a};_0x3d97c5[_0x27da37(0x17b)]({'id':_0x50d5f1['id'],'params':_0x230413});const _0x1a50a3={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'options':_0x3bbbac};_0x5a2873[_0x27da37(0x3f0)]({'id':_0x50d5f1['id'],'params':_0x1a50a3});}break;case _0x1d148a[_0x27da37(0x42c)]['UpdateFieldPosition']:{const {oldArea:_0x5ae9e0,newArea:_0x543ec1,oldIndex:_0x5e3ad9,newIndex:_0x392e0a,fieldId:_0x3d01f1}=_0x5dd7c2,_0x845102={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x3d01f1,'area':_0x543ec1,'index':_0x392e0a,'oldArea':_0x5ae9e0,'oldIndex':_0x5e3ad9};_0x3d97c5[_0x27da37(0x17b)]({'id':_0x170a7e['id'],'params':_0x845102});const _0x3bf056={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x3d01f1,'area':_0x5ae9e0,'index':_0x5e3ad9,'oldArea':_0x543ec1,'oldIndex':_0x392e0a};_0x5a2873[_0x27da37(0x3f0)]({'id':_0x170a7e['id'],'params':_0x3bf056});}break;case _0x1d148a[_0x27da37(0x42c)]['UpdateValuePosition']:{const {oldValuePosition:_0x86a443,newValuePosition:_0x4a2704,oldIndex:_0x1a643a,newIndex:_0x441a3c}=_0x5dd7c2,_0x18d6d0={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'valuePosition':_0x4a2704,'index':_0x441a3c};_0x3d97c5['push']({'id':_0xab0afc['id'],'params':_0x18d6d0});const _0x1c9e93={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'valuePosition':_0x86a443,'index':_0x1a643a};_0x5a2873['unshift']({'id':_0xab0afc['id'],'params':_0x1c9e93});}break;case _0x1d148a[_0x27da37(0x42c)][_0x27da37(0x209)]:{const {fieldId:_0x59b277,collapse:_0x231d0d,item:_0x204a41}=_0x5dd7c2,_0x32d444={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x59b277,'collapse':_0x231d0d,'item':_0x204a41};_0x3d97c5[_0x27da37(0x17b)]({'id':_0x5f0a5e['id'],'params':_0x32d444});const _0xe7bca3={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x59b277,'collapse':!_0x231d0d,'item':_0x204a41};_0x5a2873[_0x27da37(0x3f0)]({'id':_0x5f0a5e['id'],'params':_0xe7bca3});}break;case _0x1d148a[_0x27da37(0x42c)][_0x27da37(0x3ae)]:{const {newFormat:_0x3fa1fa,oldFormat:_0x52331a,fieldId:_0x26f932}=_0x5dd7c2,_0x294281={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x26f932,'format':_0x3fa1fa};_0x3d97c5[_0x27da37(0x17b)]({'id':_0x2def0f['id'],'params':_0x294281});const _0x37238b={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0x26f932,'format':_0x52331a};_0x5a2873[_0x27da37(0x3f0)]({'id':_0x2def0f['id'],'params':_0x37238b});}break;case _0x1d148a[_0x27da37(0x42c)]['UpdateSource']:{const {tableFieldId:_0x3c0fe8,oldSourceName:_0x10df21,newSourceName:_0x3bffd8,oldDataFieldId:_0x5ad9f3,newDataFieldId:_0x2ce44b}=_0x5dd7c2,_0x39dbd7={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'tableFieldId':_0x3c0fe8,'sourceName':_0x3bffd8,'dataFieldId':_0x2ce44b};_0x3d97c5[_0x27da37(0x17b)]({'id':_0x2703fc['id'],'params':_0x39dbd7});const _0x43aa8e={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'tableFieldId':_0x3c0fe8,'sourceName':_0x10df21,'dataFieldId':_0x5ad9f3};_0x5a2873[_0x27da37(0x3f0)]({'id':_0x2703fc['id'],'params':_0x43aa8e});}break;case _0x1d148a[_0x27da37(0x42c)][_0x27da37(0x31f)]:{const {fieldId:_0xfc9c57,filterInfo:_0x243dd7,oldFilterInfo:_0x18198d}=_0x5dd7c2,_0xcbc5b8={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0xfc9c57,'filterInfo':_0x243dd7};_0x3d97c5[_0x27da37(0x17b)]({'id':_0x5dda94['id'],'params':_0xcbc5b8});const _0x45b6c5={'unitId':_0x5843cf,'subUnitId':_0x4e3082,'pivotTableId':_0x32342d,'fieldId':_0xfc9c57,'filterInfo':_0x18198d};_0x5a2873[_0x27da37(0x3f0)]({'id':_0x5dda94['id'],'params':_0x45b6c5});}}return{'redos':_0x3d97c5,'undos':_0x5a2873};}function _0x51d5b7(_0x2fed2f,_0x1c33b9){const _0x4b4a64=_0x9268c;var _0x45ff85;const _0x466921=_0x2fed2f[_0x4b4a64(0x3bb)](_0x29b926['SheetsPivotTableService']),{cellInfo:_0x4e3430,view:_0x5b4b64,isEmpty:_0xc0ce03}=_0x1c33b9;return(_0x45ff85=_0x466921[_0x4b4a64(0x311)][_0x4b4a64(0x206)](_0x79d632)(_0x1de6dd,{'cellInfo':_0x4e3430,'view':_0x5b4b64,'isEmpty':_0xc0ce03}))!=null?_0x45ff85:_0x1de6dd;}const _0x32d1ec=()=>typeof process<'u'&&process[_0x9268c(0x382)]!=null&&process[_0x9268c(0x382)]['node']!=null,_0x2288ec={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':_0x9268c(0x44c),'handler'(_0xcc92b9,_0x52b9b4){const _0x3829c6=_0x9268c;var _0x800744;if(!_0x52b9b4)return!0x1;const _0x350ce9=_0xcc92b9[_0x3829c6(0x3bb)](_0x475d1b[_0x3829c6(0x260)]);if(!!_0x350ce9['getConfig'](_0x1bd950))return!0x0;const _0x2b907d=_0xcc92b9[_0x3829c6(0x3bb)](_0x475d1b[_0x3829c6(0x261)]),_0x2353ac=_0xcc92b9[_0x3829c6(0x3bb)](_0x29b926[_0x3829c6(0x420)]),{pivotTableId:_0x3a825a,pivotTableConfig:_0xf9211,collectionConfig:_0x40d315,unitId:_0x1aa1ec,subUnitId:_0x4ca4c0}=_0x52b9b4,{sourceRangeInfo:_0x5cdd3d,fieldsConfig:_0x6ae1b1,targetCellInfo:_0x5cf7a1}=_0xf9211,_0x13f531=_0x2b907d['getUnit'](_0x1aa1ec);if(!_0x13f531||!_0x13f531[_0x3829c6(0x171)](_0x4ca4c0))return!0x1;if(!_0x32d1ec()){let _0x38f71a=0x0;_0x13f531['getSheets']()[_0x3829c6(0x3df)](_0x26a22c=>{const _0x2eb476=_0x3829c6;var _0x418a3f,_0x77acd;_0x38f71a+=(_0x77acd=(_0x418a3f=_0x2353ac['getSubUnitPivotConfigs'](_0x1aa1ec,_0x26a22c[_0x2eb476(0x3e2)]()))==null?void 0x0:_0x418a3f['size'])!=null?_0x77acd:0x0;});const _0x485547=(_0x800744=_0x350ce9[_0x3829c6(0x32b)](_0x474209[_0x3829c6(0x2b5)]))!=null?_0x800744:{},{ls:_0x21f149,pbk:_0x214988}=_0x485547;if(!_0x30b5d9(_0x21f149,_0x214988))throw new _0x475d1b[(_0x3829c6(0x3ee))]('limit\x20pivot');const _0x202d0f=_0x406235(_0x41ce1b,_0x21f149,_0x214988)[_0x3829c6(0x34e)];if(_0x38f71a>=_0x202d0f)throw new _0x475d1b['CustomCommandExecutionError'](_0x3829c6(0x200));}if(!_0x40d315||!_0x6ae1b1)return!0x1;const {collection:_0x8d9600,updateDataFieldList:_0x4f5559}=_0x2353ac['addCollectionByJSON'](_0x3a825a,_0x40d315,_0x5cdd3d,_0x5cf7a1);_0x2353ac[_0x3829c6(0x168)](_0x8d9600,_0x4f5559,_0x5cdd3d);const _0x2e854c=new _0x1d148a[(_0x3829c6(0x205))](_0x8d9600,void 0x0,_0x3a825a);_0x2e854c[_0x3829c6(0x20e)](_0x6ae1b1);const _0x1a1db3=JSON['parse'](JSON['stringify'](_0xf9211));return _0x2353ac[_0x3829c6(0x15b)](_0x1aa1ec,_0x4ca4c0,_0x3a825a,_0x2e854c,_0x1a1db3),_0x2353ac[_0x3829c6(0x387)]({'unitId':_0x1aa1ec,'subUnitId':_0x4ca4c0,'token':_0x3a825a,'type':_0x94aa6e[_0x3829c6(0x332)],'pivotConfig':_0x1a1db3}),!0x0;}},_0x5a8bef={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':_0x9268c(0x3b5),'handler'(_0x293b80,_0x560f70){const _0x2644a2=_0x9268c;if(!_0x560f70)return!0x1;if(!!_0x293b80[_0x2644a2(0x3bb)](_0x475d1b[_0x2644a2(0x260)])[_0x2644a2(0x32b)](_0x1bd950))return!0x0;const {pivotTableId:_0x57acd9,unitId:_0x4813c2,subUnitId:_0x5d137f}=_0x560f70,_0x36cee2=_0x293b80[_0x2644a2(0x3bb)](_0x29b926[_0x2644a2(0x420)]);return _0x36cee2['getPivotTableConfig'](_0x4813c2,_0x5d137f,_0x57acd9)?(_0x36cee2[_0x2644a2(0x387)]({'unitId':_0x4813c2,'subUnitId':_0x5d137f,'token':_0x57acd9,'type':_0x94aa6e['Delete']}),_0x36cee2[_0x2644a2(0x2e5)](_0x4813c2,_0x5d137f,_0x57acd9),!0x0):!0x1;}},_0x3e9757={'type':_0x475d1b['CommandType'][_0x9268c(0x23e)],'id':'sheet.mutation.set-pivot-position','handler'(_0x2b943f,_0x374608){const _0x2443c2=_0x9268c;if(!_0x374608)return!0x1;if(!!_0x2b943f['get'](_0x475d1b[_0x2443c2(0x260)])[_0x2443c2(0x32b)](_0x1bd950))return!0x0;const {pivotTableId:_0x272ea2,targetCellPosition:_0x1ea73b,unitId:_0x166048,subUnitId:_0x139ab5}=_0x374608,_0x2fd493=_0x2b943f[_0x2443c2(0x3bb)](_0x29b926[_0x2443c2(0x420)]);if(!_0x2fd493[_0x2443c2(0x289)](_0x374608[_0x2443c2(0x213)]))return!0x1;const _0x28f4b5=_0x2fd493[_0x2443c2(0x19a)](_0x272ea2);if(!_0x28f4b5)return!0x1;const _0x2c278f=_0x2fd493[_0x2443c2(0x35a)](_0x28f4b5[_0x2443c2(0x329)],_0x374608[_0x2443c2(0x213)]);if(!_0x2c278f)return!0x1;const _0x46dac1=_0x2fd493[_0x2443c2(0x346)](_0x28f4b5[_0x2443c2(0x329)],_0x28f4b5[_0x2443c2(0x1ca)],_0x272ea2);if(!_0x46dac1)return!0x1;const _0x5078da=_0x475d1b[_0x2443c2(0x201)]['deepClone'](_0x46dac1);_0x5078da['targetCellInfo']={'unitId':_0x166048,'subUnitId':_0x139ab5,'row':_0x1ea73b[_0x2443c2(0x18c)],'col':_0x1ea73b[_0x2443c2(0x2b7)]};const _0x1c5c5c=_0x2c278f['toJSON']();if(_0x28f4b5['subUnitId']===_0x139ab5&&_0x28f4b5[_0x2443c2(0x329)]===_0x166048)_0x2fd493[_0x2443c2(0x16e)](_0x166048,_0x139ab5,_0x272ea2,_0x5078da),_0x2fd493[_0x2443c2(0x387)]({'unitId':_0x166048,'subUnitId':_0x139ab5,'token':_0x272ea2,'type':_0x94aa6e[_0x2443c2(0x381)]});else{_0x2fd493['addDirtyPivotTable']({'unitId':_0x28f4b5[_0x2443c2(0x329)],'subUnitId':_0x28f4b5[_0x2443c2(0x1ca)],'token':_0x272ea2,'type':_0x94aa6e[_0x2443c2(0x22e)]}),_0x2fd493['removePivotTable'](_0x28f4b5[_0x2443c2(0x329)],_0x28f4b5[_0x2443c2(0x1ca)],_0x272ea2);const _0x168e94=_0x2fd493[_0x2443c2(0x222)](_0x272ea2,_0x1c5c5c,_0x46dac1[_0x2443c2(0x453)],_0x5078da[_0x2443c2(0x1bf)]),_0x4a74d7=new _0x1d148a[(_0x2443c2(0x205))](_0x168e94[_0x2443c2(0x3ce)],void 0x0,_0x272ea2);_0x4a74d7[_0x2443c2(0x20e)](_0x5078da[_0x2443c2(0x1e6)]),_0x2fd493[_0x2443c2(0x15b)](_0x166048,_0x139ab5,_0x272ea2,_0x4a74d7,_0x5078da),_0x2fd493[_0x2443c2(0x387)]({'unitId':_0x166048,'subUnitId':_0x139ab5,'token':_0x272ea2,'type':_0x94aa6e['Add'],'pivotConfig':_0x5078da});}return!0x0;}},_0x5c08b3={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'id':_0x9268c(0x310),'handler'(_0x416083,_0x15437e){const _0x49b176=_0x9268c;if(!_0x15437e)return!0x1;if(!!_0x416083[_0x49b176(0x3bb)](_0x475d1b['IConfigService'])[_0x49b176(0x32b)](_0x1bd950))return!0x0;const _0x107353=_0x416083['get'](_0x29b926['SheetsPivotDataSourceModel']),{pivotTableId:_0x3ea396,deleteIds:_0x45899,collectionJSON:_0x24ecf5,dataRangeInfo:_0x20d607,unitId:_0x58365e,subUnitId:_0x4c0904}=_0x15437e,_0x3d2a97=_0x107353[_0x49b176(0x289)](_0x3ea396),_0x4b87f5=_0x107353[_0x49b176(0x346)](_0x58365e,_0x4c0904,_0x3ea396);if(!_0x3d2a97||!_0x4b87f5)return!0x1;const {collection:_0x2701b3,updateDataFieldList:_0x538b9a}=_0x107353[_0x49b176(0x222)](_0x3ea396,_0x24ecf5,_0x20d607,_0x4b87f5['targetCellInfo']);_0x107353['refreshData'](_0x2701b3,_0x538b9a,_0x20d607),_0x3d2a97[_0x49b176(0x358)](_0x2701b3);for(const _0x29d66a of _0x45899)_0x107353['removeDataField'](_0x20d607[_0x49b176(0x329)],_0x29d66a);const _0x1e78ba=_0x107353[_0x49b176(0x346)](_0x58365e,_0x4c0904,_0x3ea396);return _0x1e78ba[_0x49b176(0x453)]=JSON[_0x49b176(0x1af)](JSON[_0x49b176(0x172)](_0x20d607)),_0x107353[_0x49b176(0x387)]({'unitId':_0x58365e,'subUnitId':_0x4c0904,'token':_0x3ea396,'type':_0x94aa6e['Set']}),!0x0;}},_0x3a2ea0={'type':_0x475d1b['CommandType']['MUTATION'],'id':_0x9268c(0x2db),'handler'(){return!0x0;}};var _0x400a84=Object[_0x9268c(0x379)],_0x1b3745=(_0x31ec47,_0x16be65,_0x402b9d,_0x33d685)=>{const _0xa6a64=_0x9268c;for(var _0x4c9991=_0x33d685>0x1?void 0x0:_0x33d685?_0x400a84(_0x16be65,_0x402b9d):_0x16be65,_0x5a204a=_0x31ec47[_0xa6a64(0x32d)]-0x1,_0x10638d;_0x5a204a>=0x0;_0x5a204a--)(_0x10638d=_0x31ec47[_0x5a204a])&&(_0x4c9991=_0x10638d(_0x4c9991)||_0x4c9991);return _0x4c9991;},_0x4ec89e=(_0x4fec9b,_0x1de027)=>(_0x1968a9,_0x4f7e31)=>_0x1de027(_0x1968a9,_0x4f7e31,_0x4fec9b);_0x29b926[_0x9268c(0x17d)]=class extends _0x475d1b['Disposable']{constructor(_0x34af08,_0x1a806c){const _0x1d4b22=_0x9268c;super(),_0x346b88(this,_0x1d4b22(0x18d),new Map()),(this['_injector']=_0x34af08,this[_0x1d4b22(0x31d)]=_0x1a806c);}['handleAsyncResponse'](_0x313cbb){const _0x142acf=_0x9268c,{version:_0x54fdf9}=_0x313cbb,_0x18d8a2=this[_0x142acf(0x18d)][_0x142acf(0x3bb)](_0x54fdf9);_0x18d8a2&&(_0x18d8a2(_0x313cbb),this[_0x142acf(0x18d)][_0x142acf(0x37c)](_0x54fdf9));}[_0x9268c(0x288)](_0x1616af){return new Promise((_0x4c0390,_0x1edaac)=>{const _0x292a00=_0x5b70,_0x218a69=this['_generateUniqueVersion']();this[_0x292a00(0x18d)][_0x292a00(0x40a)](_0x218a69,_0x4c0390),this[_0x292a00(0x31d)]['executeCommand'](_0x239074['id'],{'version':_0x218a69,..._0x1616af},{'onlyLocal':!0x0});});}[_0x9268c(0x219)](){const _0x18ffea=_0x9268c;return Math['random']()[_0x18ffea(0x46a)](0x24)[_0x18ffea(0x1a0)](0x2,0x10);}},_0x29b926[_0x9268c(0x17d)]=_0x1b3745([_0x4ec89e(0x0,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b[_0x9268c(0x250)])),_0x4ec89e(0x1,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b['ICommandService']))],_0x29b926[_0x9268c(0x17d)]);const _0x4bd734={'id':'sheet.mutation.add-group-collection','type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'handler':(_0x36be70,_0x32480b)=>{const _0x2fa47a=_0x9268c;if(!_0x32480b)return!0x1;if(!!_0x36be70[_0x2fa47a(0x3bb)](_0x475d1b[_0x2fa47a(0x260)])[_0x2fa47a(0x32b)](_0x1bd950))return!0x0;const {pivotTableId:_0x1c091b,fieldJSON:_0x110b26,unitId:_0x1ee06b,subUnitId:_0x2a5d36}=_0x32480b,_0x53ffcb=_0x1d148a[_0x2fa47a(0x2ee)][_0x2fa47a(0x20e)](_0x110b26);if(!_0x53ffcb)return!0x1;const _0x2849de=_0x36be70['get'](_0x29b926['SheetsPivotDataSourceModel']),_0x2f1287=_0x2849de[_0x2fa47a(0x35d)](_0x1ee06b),_0x2dccad=_0x2f1287[_0x2fa47a(0x35a)](_0x1c091b);_0x2f1287[_0x2fa47a(0x1d9)](_0x53ffcb),_0x2dccad[_0x2fa47a(0x426)](_0x53ffcb['getId'](),_0x53ffcb['getName']());const _0x4af9af=_0x2dccad[_0x2fa47a(0x3ec)](_0x53ffcb[_0x2fa47a(0x34f)]());_0x4af9af&&_0x53ffcb[_0x2fa47a(0x455)](_0x4af9af);const _0x44f94=_0x2849de[_0x2fa47a(0x346)](_0x1ee06b,_0x2a5d36,_0x1c091b);return _0x2849de[_0x2fa47a(0x387)]({'unitId':_0x1ee06b,'subUnitId':_0x2a5d36,'token':_0x1c091b,'type':_0x94aa6e['Set'],'pivotConfig':_0x44f94}),!0x0;}},_0x4c2526={'id':_0x9268c(0x2a5),'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'handler':(_0x2ccfed,_0x368a5f)=>{const _0x89eb2f=_0x9268c;if(!_0x368a5f)return!0x1;if(!!_0x2ccfed[_0x89eb2f(0x3bb)](_0x475d1b['IConfigService'])[_0x89eb2f(0x32b)](_0x1bd950))return!0x0;const {pivotTableId:_0xd030c4,dataFieldId:_0x185b9d,unitId:_0x8079f1,subUnitId:_0x478569}=_0x368a5f,_0x333e9b=_0x2ccfed[_0x89eb2f(0x3bb)](_0x29b926['SheetsPivotDataSourceModel']),_0x5487ce=_0x333e9b[_0x89eb2f(0x35d)](_0x8079f1);_0x5487ce['getCollection'](_0xd030c4)[_0x89eb2f(0x190)](_0x185b9d);let _0x3a0a45=!0x0;for(const _0x22036b in _0x5487ce['collections'])if(_0x5487ce[_0x89eb2f(0x3c3)][_0x22036b][_0x89eb2f(0x1ed)]()[_0x89eb2f(0x23b)](_0x185b9d)){_0x3a0a45=!0x1;break;}_0x3a0a45&&_0x5487ce[_0x89eb2f(0x378)](_0x185b9d);const _0x2b4b8d=_0x333e9b[_0x89eb2f(0x346)](_0x8079f1,_0x478569,_0xd030c4);return _0x333e9b[_0x89eb2f(0x387)]({'unitId':_0x8079f1,'subUnitId':_0x478569,'token':_0xd030c4,'type':_0x94aa6e[_0x89eb2f(0x381)],'pivotConfig':_0x2b4b8d}),!0x0;}},_0x3785b0={'type':_0x475d1b[_0x9268c(0x15f)]['COMMAND'],'id':_0x9268c(0x373),async 'handler'(_0x23050d,_0x38e7e8){const _0x687556=_0x9268c;if(!_0x38e7e8)return!0x1;const _0x1839e1=_0x23050d[_0x687556(0x3bb)](_0x475d1b[_0x687556(0x342)]),_0x5b2b7f=_0x23050d['get'](_0x29b926[_0x687556(0x17d)]),_0x38f92e=_0x23050d[_0x687556(0x3bb)](_0x475d1b[_0x687556(0x425)]),{pivotTableId:_0x23720b,dataFieldId:_0x185a39,fieldArea:_0x40f558,index:_0x546fae,unitId:_0x1d3d0b,subUnitId:_0x50eedd}=_0x38e7e8,_0x46706e=(await _0x5b2b7f[_0x687556(0x288)]({'unitId':_0x1d3d0b,'subUnitId':_0x50eedd,'pivotTableId':_0x23720b,'params':{'type':_0x3ca738['AddPivotField'],'addPivotField':{'dataFieldId':_0x185a39,'fieldArea':_0x40f558,'index':_0x546fae}}}))[_0x687556(0x3f8)][_0x687556(0x28d)];if(!_0x46706e)return!0x1;const {view:_0x3aa23a,changesets:_0x375c45,isEmpty:_0x641ee1,pivotTableConfig:_0x5e13aa,shouldBeAddedGroupJSON:_0x2ef87e}=_0x46706e,_0x29b104=_0x5e13aa[_0x687556(0x1bf)],_0x5ca729=new _0x1d148a[(_0x687556(0x442))]();_0x5ca729[_0x687556(0x33d)](_0x3aa23a);const _0x41a46d={'cellInfo':_0x29b104,'view':_0x5ca729,'isEmpty':_0x641ee1};if(!await _0x23050d[_0x687556(0x3bb)](_0x29b926[_0x687556(0x3c8)])['asyncInterceptor'][_0x687556(0x1dd)](_0x3b3162)(!0x0,_0x41a46d))return!0x1;const _0x282f2d=_0x26091e(_0x23050d,_0x5ca729,_0x29b104,_0x641ee1),_0x5d68b2=_0x51d5b7(_0x23050d,_0x41a46d),{undos:_0x3b506f,redos:_0xe36ab8}=_0x44fef9(_0x1839e1,{'pivotTableId':_0x23720b,'unitId':_0x1d3d0b,'subUnitId':_0x50eedd},_0x375c45);return _0x2ef87e&&(_0xe36ab8[_0x687556(0x3f0)]({'id':_0x4bd734['id'],'params':{'pivotTableId':_0x23720b,'fieldJSON':_0x2ef87e,'unitId':_0x1d3d0b,'subUnitId':_0x50eedd}}),_0x3b506f[_0x687556(0x17b)]({'id':_0x4c2526['id'],'params':{'pivotTableId':_0x23720b,'dataFieldId':_0x2ef87e['id'],'unitId':_0x1d3d0b,'subUnitId':_0x50eedd}})),_0x475d1b[_0x687556(0x29e)]([..._0x282f2d[_0x687556(0x30e)],..._0x5d68b2[_0x687556(0x30e)],..._0xe36ab8],_0x1839e1),_0x38f92e[_0x687556(0x1e1)]({'unitID':_0x1d3d0b,'redoMutations':[..._0x282f2d[_0x687556(0x30e)],..._0x5d68b2['redos'],..._0xe36ab8],'undoMutations':[..._0x282f2d[_0x687556(0x1c7)],..._0x5d68b2['undos'],..._0x3b506f]}),!0x0;}},_0x1de490={'type':_0x475d1b[_0x9268c(0x15f)]['COMMAND'],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x33265a,_0x1e83c5){const _0x350b0e=_0x9268c;if(!_0x1e83c5)return!0x1;const {sourceDataInfo:_0x1e3dfb,pivotTableConfig:_0x29752e}=_0x1e83c5;if(!_0x1e3dfb||!_0x29752e)return!0x1;const {unitId:_0x13276f,subUnitId:_0x451775,range:_0x4d79d0}=_0x1e3dfb,_0x194ec5=_0x33265a[_0x350b0e(0x3bb)](_0x475d1b[_0x350b0e(0x261)]),_0xd9967c=_0x33265a[_0x350b0e(0x3bb)](_0x29b926[_0x350b0e(0x17d)]),_0x848da5=_0x33265a[_0x350b0e(0x3bb)](_0x475d1b[_0x350b0e(0x3b7)]),_0x424a9d=_0x33265a['get'](_0x475d1b['ICommandService']),_0x2fd898=_0x194ec5[_0x350b0e(0x3a3)](_0x13276f);if(!_0x2fd898)return!0x1;const _0x10dadf=_0x2fd898['getSheetBySheetId'](_0x451775);if(!_0x10dadf)return!0x1;const _0x2e5c50=_0x1d148a[_0x350b0e(0x448)](0x8),_0x4a1dc3=_0x4d79d0||{'startRow':0x0,'startColumn':0x0,'endRow':_0x10dadf[_0x350b0e(0x418)]()-0x1,'endColumn':_0x10dadf[_0x350b0e(0x2d8)]()-0x1};_0x4a1dc3['rangeType']=_0x475d1b[_0x350b0e(0x444)][_0x350b0e(0x23f)];const _0x29bae1=(await _0xd9967c['getPivotDisplayConfig']({'unitId':_0x13276f,'subUnitId':_0x451775,'pivotTableId':_0x2e5c50,'params':{'type':_0x3ca738[_0x350b0e(0x1cb)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x13276f,'sheetName':_0x10dadf[_0x350b0e(0x231)](),'subUnitId':_0x451775,'range':_0x4a1dc3},'pivotTableId':_0x2e5c50,'pivotTableIndexConfig':_0x29752e}}}))[_0x350b0e(0x3f8)][_0x350b0e(0x363)];if(!_0x29bae1)return!0x1;const {isEmpty:_0x1bf74d,fieldsConfig:_0x3090e9,collectionConfig:_0x3aa331,changesets:_0x3dfff3}=_0x29bae1,_0x205b2f=_0x2fd898[_0x350b0e(0x3d9)]()[_0x350b0e(0x32d)],_0xdda22=_0x475d1b[_0x350b0e(0x463)]({'rowCount':_0x10dadf['getRowCount']()-0x1,'columnCount':_0x10dadf[_0x350b0e(0x2d8)]()-0x1});_0xdda22['id']=_0x475d1b[_0x350b0e(0x1c4)](),_0xdda22[_0x350b0e(0x33f)]=_0x2fd898[_0x350b0e(0x215)](''+_0x848da5['t'](_0x350b0e(0x361)));const _0xa2a21a={'index':_0x205b2f,'sheet':_0xdda22,'unitId':_0x13276f},{redos:_0x4d3fcd}=_0x44fef9(_0x424a9d,{'pivotTableId':_0x2e5c50,'unitId':_0x13276f,'subUnitId':_0xdda22['id']},_0x3dfff3),_0x439605=[{'id':_0x44476f[_0x350b0e(0x1a2)]['id'],'params':_0xa2a21a},{'id':_0x2288ec['id'],'params':{'unitId':_0x13276f,'subUnitId':_0xdda22['id'],'pivotTableId':_0x2e5c50,'pivotTableConfig':{'isEmpty':_0x1bf74d,'fieldsConfig':_0x3090e9,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x13276f,'subUnitId':_0xdda22['id']},'sourceRangeInfo':{'subUnitId':_0x451775,'unitId':_0x13276f,'range':_0x4a1dc3,'sheetName':_0x10dadf[_0x350b0e(0x231)]()}},'collectionConfig':_0x3aa331}},..._0x4d3fcd];return _0x475d1b[_0x350b0e(0x29e)](_0x439605,_0x424a9d),!0x0;}},_0x1e70af={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x360)],'id':_0x9268c(0x3a1),async 'handler'(_0x101a05,_0x4b7c9d){const _0x4cf01b=_0x9268c;var _0x3f22c8,_0x5eb723;const _0x1526d3=_0x101a05['get'](_0x475d1b[_0x4cf01b(0x342)]),_0x41de69=_0x101a05[_0x4cf01b(0x3bb)](_0x475d1b[_0x4cf01b(0x261)]),_0x46f978=_0x101a05[_0x4cf01b(0x3bb)](_0x475d1b[_0x4cf01b(0x3b7)]),_0x5c04df=_0x101a05['get'](_0x29b926[_0x4cf01b(0x17d)]),_0x2d47fe=_0x101a05[_0x4cf01b(0x3bb)](_0x475d1b[_0x4cf01b(0x425)]),_0x3f7584=_0x101a05[_0x4cf01b(0x3bb)](_0x29b926[_0x4cf01b(0x15d)]),_0x177bdb=_0x101a05[_0x4cf01b(0x3bb)](_0x475d1b[_0x4cf01b(0x260)]);if(!_0x4b7c9d)return!0x1;const {pivotTableConfig:_0x9b9f2c,positionType:_0x45aef8}=_0x4b7c9d,{targetCellInfo:_0x44a53b,sourceRangeInfo:_0x53ec3a}=_0x9b9f2c,{unitId:_0x167121,subUnitId:_0xd49a48}=_0x44a53b,_0x4609cf=_0x41de69[_0x4cf01b(0x3a3)](_0x167121);if(!_0x4609cf)return!0x1;let _0x122291=0x0;_0x4609cf['getSheets']()['forEach'](_0x21a751=>{const _0x183c48=_0x4cf01b;var _0x4075d2,_0x549394;_0x122291+=(_0x549394=(_0x4075d2=_0x3f7584['getSubUnitPivotConfigs'](_0x167121,_0x21a751[_0x183c48(0x3e2)]()))==null?void 0x0:_0x4075d2[_0x183c48(0x3d7)])!=null?_0x549394:0x0;});const _0x1ab22e=(_0x3f22c8=_0x177bdb[_0x4cf01b(0x32b)](_0x474209[_0x4cf01b(0x2b5)]))!=null?_0x3f22c8:{},{ls:_0x3826bb,pbk:_0x446a76}=_0x1ab22e;if(!_0x30b5d9(_0x3826bb,_0x446a76))return!0x1;const _0x3fd806=_0x406235(_0x41ce1b,_0x3826bb,_0x446a76)[_0x4cf01b(0x34e)];if(_0x122291>=_0x3fd806)return!0x1;const _0x21a0ee=_0x4b7c9d[_0x4cf01b(0x213)]||_0x1d148a['generateHexNumber'](0x8),_0x39db99=(await _0x5c04df[_0x4cf01b(0x288)]({'unitId':_0x167121,'subUnitId':_0xd49a48,'pivotTableId':_0x21a0ee,'params':{'type':_0x3ca738['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x53ec3a,'pivotTableId':_0x21a0ee}}}))[_0x4cf01b(0x3f8)][_0x4cf01b(0x15b)];if(!_0x39db99)return!0x1;const {view:_0x41b904,isEmpty:_0x5a9001,fieldsConfig:_0x14e6c1,collectionConfig:_0x41b67e}=_0x39db99,_0x10e173=[],_0x5ad7d8=[];if(_0x45aef8===_0xb63b0b[_0x4cf01b(0x1a1)]){const _0x308d86=_0x4609cf[_0x4cf01b(0x3d9)]()[_0x4cf01b(0x32d)],_0x357b0e=_0x475d1b[_0x4cf01b(0x463)]({});_0x357b0e['id']=_0x9b9f2c[_0x4cf01b(0x1bf)][_0x4cf01b(0x1ca)],_0x357b0e['name']=(_0x5eb723=_0x9b9f2c['targetCellInfo'][_0x4cf01b(0x331)])!=null?_0x5eb723:_0x4609cf['generateNewSheetName'](''+_0x46f978['t']('sheets.tabs.sheet'));const _0x3b7d39={'index':_0x308d86,'sheet':_0x357b0e,'unitId':_0x167121},_0x42c171=_0x44476f[_0x4cf01b(0x2ec)](_0x101a05,_0x3b7d39);_0x10e173['push']({'id':_0x44476f[_0x4cf01b(0x253)]['id'],'params':_0x42c171}),_0x5ad7d8[_0x4cf01b(0x17b)]({'id':_0x44476f[_0x4cf01b(0x2a3)]['id'],'params':_0x3b7d39});}else{if(!_0x4609cf['getSheetBySheetId'](_0xd49a48))return!0x1;const _0x5aa8a7=_0x26091e(_0x101a05,new _0x1d148a[(_0x4cf01b(0x442))](),_0x44a53b,!0x0);_0x5ad7d8['push'](..._0x5aa8a7[_0x4cf01b(0x30e)]),_0x10e173[_0x4cf01b(0x17b)](..._0x5aa8a7['undos']);const _0x481d85={'cellInfo':_0x44a53b,'view':_0x41b904,'isEmpty':_0x5a9001};if(!await _0x101a05[_0x4cf01b(0x3bb)](_0x29b926[_0x4cf01b(0x3c8)])[_0x4cf01b(0x3d1)]['fetchThroughAsyncInterceptors'](_0x3b3162)(!0x0,_0x481d85))return!0x1;const _0x4fef90=_0x51d5b7(_0x101a05,_0x481d85);_0x5ad7d8['push'](..._0x4fef90[_0x4cf01b(0x30e)]),_0x10e173[_0x4cf01b(0x17b)](..._0x4fef90[_0x4cf01b(0x1c7)]);}return _0x5ad7d8[_0x4cf01b(0x17b)]({'id':_0x2288ec['id'],'params':{'unitId':_0x44a53b[_0x4cf01b(0x329)],'subUnitId':_0x44a53b[_0x4cf01b(0x1ca)],'pivotTableId':_0x21a0ee,'pivotTableConfig':{'targetCellInfo':_0x44a53b,'sourceRangeInfo':_0x53ec3a,'fieldsConfig':_0x14e6c1},'collectionConfig':_0x41b67e}}),_0x10e173['unshift']({'id':_0x5a8bef['id'],'params':{'unitId':_0x167121,'subUnitId':_0xd49a48,'pivotTableId':_0x21a0ee}}),_0x475d1b[_0x4cf01b(0x29e)](_0x5ad7d8,_0x1526d3)&&_0x2d47fe[_0x4cf01b(0x1e1)]({'unitID':_0x167121,'undoMutations':_0x10e173,'redoMutations':_0x5ad7d8}),!0x0;}},_0xe702fa={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x360)],'id':_0x9268c(0x396),async 'handler'(_0x39b98c,_0x400101){const _0x27e47b=_0x9268c;if(!_0x400101)return!0x1;const _0x37d59=_0x39b98c[_0x27e47b(0x3bb)](_0x475d1b[_0x27e47b(0x342)]),_0x34d7ca=_0x39b98c['get'](_0x29b926[_0x27e47b(0x17d)]),_0x18584a=_0x39b98c[_0x27e47b(0x3bb)](_0x475d1b[_0x27e47b(0x425)]),{pivotTableId:_0x2ddecf,fieldId:_0x349dcc,area:_0xae33b2,index:_0x589e91,unitId:_0x15b879,subUnitId:_0x51d7b2}=_0x400101,_0x191015=(await _0x34d7ca[_0x27e47b(0x288)]({'unitId':_0x15b879,'subUnitId':_0x51d7b2,'pivotTableId':_0x2ddecf,'params':{'type':_0x3ca738['MovePivotField'],'movePivotField':{'fieldId':_0x349dcc,'area':_0xae33b2,'index':_0x589e91}}}))[_0x27e47b(0x3f8)][_0x27e47b(0x30a)];if(!_0x191015)return!0x1;const {changesets:_0x382499,view:_0x1f5c10,isEmpty:_0x2bdd2b,pivotTableConfig:_0x49d1f1}=_0x191015,_0xc42290=_0x49d1f1['targetCellInfo'],_0x2e96df=new _0x1d148a[(_0x27e47b(0x442))]();_0x2e96df[_0x27e47b(0x33d)](_0x1f5c10);const _0x2afffc={'cellInfo':_0xc42290,'view':_0x2e96df,'isEmpty':_0x2bdd2b};if(!await _0x39b98c['get'](_0x29b926[_0x27e47b(0x3c8)])[_0x27e47b(0x3d1)][_0x27e47b(0x1dd)](_0x3b3162)(!0x0,_0x2afffc))return!0x1;const _0x7c7132=_0x26091e(_0x39b98c,_0x2e96df,_0xc42290,_0x2bdd2b),_0x6ab8fb=_0x51d5b7(_0x39b98c,_0x2afffc),{redos:_0x288a5a,undos:_0x33bd68}=_0x44fef9(_0x37d59,{'pivotTableId':_0x2ddecf,'unitId':_0x15b879,'subUnitId':_0x51d7b2},_0x382499);return _0x475d1b[_0x27e47b(0x29e)]([..._0x7c7132[_0x27e47b(0x30e)],..._0x6ab8fb['redos'],..._0x288a5a],_0x37d59),_0x18584a[_0x27e47b(0x1e1)]({'unitID':_0x15b879,'redoMutations':[..._0x7c7132[_0x27e47b(0x30e)],..._0x6ab8fb[_0x27e47b(0x30e)],..._0x288a5a],'undoMutations':[..._0x7c7132[_0x27e47b(0x1c7)],..._0x6ab8fb['undos'],..._0x33bd68]}),!0x0;}},_0xc0f12b={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x360)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x50a890,_0x11f12e){const _0x492355=_0x9268c;var _0x33ad6c;if(!_0x11f12e)return!0x1;const _0x30b80a=_0x50a890[_0x492355(0x3bb)](_0x475d1b[_0x492355(0x261)]),_0x41f19d=_0x44476f['getSheetCommandTarget'](_0x30b80a);if(!_0x41f19d)return!0x1;const {unitId:_0x36b074,subUnitId:_0x50ab06,workbook:_0x3891b0}=_0x41f19d,{row:_0x49a7e2,col:_0xe1357b}=_0x11f12e,_0x444c55=_0x50a890['get'](_0x29b926[_0x492355(0x317)]),_0x2bc6b6=_0x444c55[_0x492355(0x403)](_0x36b074,_0x50ab06,_0x49a7e2,_0xe1357b);if(!_0x2bc6b6)return!0x1;const _0x361983=(_0x33ad6c=_0x444c55[_0x492355(0x27b)](_0x36b074,_0x50ab06,_0x2bc6b6))==null?void 0x0:_0x33ad6c[_0x492355(0x2b9)];if(!_0x361983)return!0x1;const _0x170545=_0x50a890[_0x492355(0x3bb)](_0x29b926[_0x492355(0x15d)])[_0x492355(0x346)](_0x36b074,_0x50ab06,_0x2bc6b6);if(!_0x170545)return!0x1;const {rowInfo:_0x4190cf,colInfo:_0xfef3cf}=_0x361983,_0x4e445c=_0x4190cf[_0x49a7e2][_0x492355(0x362)],_0x23a1ab=_0xfef3cf[_0xe1357b][_0x492355(0x362)],_0x10a65b=_0x4190cf[_0x49a7e2][_0x492355(0x204)],_0x2906b8=_0xfef3cf[_0xe1357b][_0x492355(0x204)],_0x4f5aa8=_0x4e445c['concat'](_0x23a1ab),_0xb0abf3=_0x170545[_0x492355(0x1e6)][_0x492355(0x3da)]['slice'](0x0,_0x10a65b),_0x42881e=_0x170545[_0x492355(0x1e6)]['columnFields'][_0x492355(0x238)](0x0,_0x2906b8),_0x57e044=_0xb0abf3['concat'](_0x42881e),_0x20d672=_0x4f5aa8['map']((_0x121971,_0x9bd22a)=>[_0x121971,_0x57e044[_0x9bd22a]]),_0x343434=(await _0x50a890[_0x492355(0x3bb)](_0x29b926[_0x492355(0x17d)])[_0x492355(0x288)]({'unitId':_0x36b074,'subUnitId':_0x50ab06,'pivotTableId':_0x2bc6b6,'params':{'type':_0x3ca738[_0x492355(0x2ac)],'drillDown':{'tuple':_0x20d672}}}))[_0x492355(0x3f8)]['drillDown'];if(!_0x343434)return!0x1;const {indexes:_0x3d0ced,range:_0x29e6c1,sourceUnitId:_0x2d4030,sourceSubUnitId:_0x417843,formatMap:_0x564ed8}=_0x343434,{startRow:_0x5d541d,endRow:_0x508b4d,startColumn:_0x2139b9,endColumn:_0x5132a2}=_0x29e6c1,_0x578a86=new _0x475d1b[(_0x492355(0x405))](),_0x4f6c3b=_0x508b4d-_0x5d541d,_0x5e9ee6=_0x5132a2-_0x2139b9,_0x4e7ba4={},_0xcc4318=_0x44476f[_0x492355(0x340)](_0x30b80a,{'unitId':_0x2d4030,'subUnitId':_0x417843});if(!_0xcc4318)return!0x1;const _0x17029d=_0x442467[_0x492355(0x3b2)],_0x2967db=_0x442467[_0x492355(0x211)],_0x90a3c4=_0x442467[_0x492355(0x211)],_0x41a1af=_0x3891b0['getStyles']()[_0x492355(0x316)](_0x17029d),_0x467cc4=_0x3891b0[_0x492355(0x44e)]()[_0x492355(0x316)](_0x2967db),_0x81eb3d=_0x3891b0[_0x492355(0x44e)]()[_0x492355(0x316)](_0x90a3c4),{worksheet:_0x13481f}=_0xcc4318;let _0x2130f=0x0;const _0x3f375f=0x1;_0x3d0ced[_0x492355(0x3df)](_0x4d8340=>{const _0x41b76b=_0x492355;for(let _0x51fbd4=0x0;_0x51fbd4<=_0x5132a2-_0x2139b9;_0x51fbd4++)_0x578a86[_0x41b76b(0x316)](_0x2130f,_0x51fbd4,_0x13481f[_0x41b76b(0x1f2)](_0x4d8340+_0x29e6c1[_0x41b76b(0x2ff)]+_0x3f375f,_0x51fbd4));_0x2130f++;});for(let _0x39dd1c=_0x2139b9;_0x39dd1c<=_0x5132a2;_0x39dd1c++){const _0x4e4ed7=_0x13481f[_0x492355(0x1f2)](_0x5d541d,_0x39dd1c);_0x4e7ba4[_0x5d541d]||(_0x4e7ba4[_0x5d541d]={}),_0x4e7ba4[_0x5d541d][_0x39dd1c]={..._0x4e4ed7,'s':_0x41a1af};}let _0x2ade3e=0x1;const _0x369f9c={},_0x5af8ec={};_0x578a86[_0x492355(0x239)]((_0x4db9d1,_0x2a278d)=>{const _0x17b56b=_0x492355;_0x2a278d[_0x17b56b(0x3df)](_0x29e884=>{const _0x44bc6f=_0x17b56b,_0x4abe97=_0x578a86[_0x44bc6f(0x25a)](_0x4db9d1,_0x29e884);if(_0x4e7ba4[_0x2ade3e]||(_0x4e7ba4[_0x2ade3e]={}),_0x4e7ba4[_0x2ade3e][_0x29e884]={..._0x4abe97,'s':_0x2ade3e%0x2===0x0?_0x81eb3d:_0x467cc4},_0x564ed8[_0x29e884]&&_0x4db9d1>=0x0){const _0x29fa8c=_0x2ade3e%0x2===0x0;let _0x9c8cfc=_0x29fa8c?_0x5af8ec[_0x29e884]:_0x369f9c[_0x29e884];_0x9c8cfc||(_0x9c8cfc=_0x3891b0[_0x44bc6f(0x44e)]()[_0x44bc6f(0x316)]({..._0x29fa8c?_0x90a3c4:_0x2967db,'n':{'pattern':_0x564ed8[_0x29e884]}}),_0x29fa8c?_0x5af8ec[_0x29e884]=_0x9c8cfc:_0x369f9c[_0x29e884]=_0x9c8cfc),_0x4e7ba4[_0x2ade3e][_0x29e884]['s']=_0x9c8cfc;}}),_0x2ade3e++;});const _0x3f9cbb=new _0x475d1b[(_0x492355(0x405))](_0x4e7ba4),_0x25ed5={};_0x3f9cbb[_0x492355(0x45e)]((_0x11593a,_0x3c2b43,_0x43aac7)=>{_0x25ed5[_0x11593a]||(_0x25ed5[_0x11593a]={}),_0x25ed5[_0x11593a][_0x3c2b43]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x2747c7=[],_0x5c33d1=[],_0x3602c4=_0x3891b0[_0x492355(0x3d9)]()['length'],_0x43b595=_0x475d1b[_0x492355(0x463)]({'rowCount':Math[_0x492355(0x328)](_0x475d1b['DEFAULT_WORKSHEET_ROW_COUNT'],_0x4f6c3b+0xa),'columnCount':Math[_0x492355(0x328)](_0x475d1b['DEFAULT_WORKSHEET_COLUMN_COUNT'],_0x5e9ee6+0x5)}),_0x2aead1=_0x50a890[_0x492355(0x3bb)](_0x475d1b[_0x492355(0x3b7)]);_0x43b595['id']=_0x475d1b['generateRandomId'](),_0x43b595['name']=_0x3891b0[_0x492355(0x215)](''+_0x2aead1['t'](_0x492355(0x361)));const _0x1e74e2={'index':_0x3602c4,'sheet':_0x43b595,'unitId':_0x36b074},_0x54d012=_0x44476f[_0x492355(0x2ec)](_0x50a890,_0x1e74e2);_0x5c33d1[_0x492355(0x17b)]({'id':_0x44476f[_0x492355(0x2a3)]['id'],'params':_0x1e74e2}),_0x2747c7[_0x492355(0x17b)]({'id':_0x44476f['RemoveSheetMutation']['id'],'params':_0x54d012}),_0x5c33d1[_0x492355(0x17b)]({'id':_0x44476f[_0x492355(0x1cd)]['id'],'params':{'unitId':_0x36b074,'subUnitId':_0x43b595['id'],'cellValue':_0x4e7ba4}}),_0x2747c7[_0x492355(0x3f0)]({'id':_0x44476f[_0x492355(0x1cd)]['id'],'params':{'unitId':_0x36b074,'subUnitId':_0x43b595['id'],'cellValue':_0x25ed5}});const _0x4215d9={'startRow':0x0,'startColumn':0x0,'endRow':_0x2ade3e-0x1,'endColumn':_0x5132a2};_0x5c33d1[_0x492355(0x17b)]({'id':_0x37da3e[_0x492355(0x441)]['id'],'params':{'unitId':_0x36b074,'subUnitId':_0x43b595['id'],'range':_0x4215d9}}),_0x2747c7[_0x492355(0x3f0)]({'id':_0x37da3e[_0x492355(0x26e)]['id'],'params':{'unitId':_0x36b074,'subUnitId':_0x43b595['id']}});const _0x2c8ec9=_0x50a890[_0x492355(0x3bb)](_0x475d1b[_0x492355(0x342)]);return _0x475d1b[_0x492355(0x29e)](_0x5c33d1,_0x2c8ec9)&&_0x50a890[_0x492355(0x3bb)](_0x475d1b['IUndoRedoService'])[_0x492355(0x1e1)]({'unitID':_0x36b074,'undoMutations':_0x2747c7,'redoMutations':_0x5c33d1}),!0x0;}},_0x351b41={'type':_0x475d1b[_0x9268c(0x15f)]['COMMAND'],'id':_0x9268c(0x40e),async 'handler'(_0x4dbfda,_0x9931ea){const _0x34f5c2=_0x9268c;if(!_0x9931ea)return!0x1;const _0x19c14a=_0x4dbfda[_0x34f5c2(0x3bb)](_0x475d1b[_0x34f5c2(0x342)]),_0xd108ce=_0x4dbfda[_0x34f5c2(0x3bb)](_0x29b926[_0x34f5c2(0x17d)]),_0x6e13da=_0x4dbfda[_0x34f5c2(0x3bb)](_0x475d1b[_0x34f5c2(0x425)]),{pivotTableId:_0x5735af,fieldIds:_0xfdb285,unitId:_0x8eb510,subUnitId:_0x1a5917}=_0x9931ea,_0x2639c0=(await _0xd108ce[_0x34f5c2(0x288)]({'unitId':_0x8eb510,'subUnitId':_0x1a5917,'pivotTableId':_0x5735af,'params':{'type':_0x3ca738[_0x34f5c2(0x2de)],'removePivotField':{'fieldIds':_0xfdb285}}}))[_0x34f5c2(0x3f8)][_0x34f5c2(0x43d)];if(!_0x2639c0)return!0x1;const {view:_0x4347a5,changesets:_0x1f1d1e,isEmpty:_0x48932f,pivotTableConfig:_0x253e47}=_0x2639c0,_0x49e444=_0x253e47['targetCellInfo'],_0x5c1470=new _0x1d148a[(_0x34f5c2(0x442))]();_0x5c1470[_0x34f5c2(0x33d)](_0x4347a5);const _0x37f34e={'cellInfo':_0x49e444,'view':_0x5c1470,'isEmpty':_0x48932f};if(!await _0x4dbfda[_0x34f5c2(0x3bb)](_0x29b926[_0x34f5c2(0x3c8)])['asyncInterceptor'][_0x34f5c2(0x1dd)](_0x3b3162)(!0x0,_0x37f34e))return!0x1;const _0x2f95bc=_0x26091e(_0x4dbfda,_0x5c1470,_0x49e444,_0x48932f),_0x41a96f=_0x51d5b7(_0x4dbfda,_0x37f34e),{redos:_0x109ef3,undos:_0x44a81b}=_0x44fef9(_0x19c14a,{'pivotTableId':_0x5735af,'unitId':_0x8eb510,'subUnitId':_0x1a5917},_0x1f1d1e);return _0x475d1b['sequenceExecute']([..._0x2f95bc[_0x34f5c2(0x30e)],..._0x41a96f[_0x34f5c2(0x30e)],..._0x109ef3],_0x19c14a),_0x6e13da[_0x34f5c2(0x1e1)]({'unitID':_0x8eb510,'redoMutations':[..._0x2f95bc[_0x34f5c2(0x30e)],..._0x41a96f[_0x34f5c2(0x30e)],..._0x109ef3],'undoMutations':[..._0x2f95bc[_0x34f5c2(0x1c7)],..._0x41a96f['undos'],..._0x44a81b]}),!0x0;}},_0x15a8f9={'type':_0x475d1b[_0x9268c(0x15f)]['COMMAND'],'id':_0x9268c(0x2c2),async 'handler'(_0x178fac,_0x3cd151){const _0x5a519c=_0x9268c;var _0x42e21d;const _0x2c0e8f=_0x178fac[_0x5a519c(0x3bb)](_0x475d1b[_0x5a519c(0x342)]),_0x19d981=_0x178fac[_0x5a519c(0x3bb)](_0x29b926[_0x5a519c(0x17d)]),_0x3d6535=_0x178fac[_0x5a519c(0x3bb)](_0x29b926[_0x5a519c(0x317)]),_0x3d9971=_0x178fac[_0x5a519c(0x3bb)](_0x475d1b[_0x5a519c(0x261)]),_0x5135c7=_0x178fac[_0x5a519c(0x3bb)](_0x475d1b[_0x5a519c(0x425)]);if(!_0x3cd151)return!0x1;const {unitId:_0x4972ba,subUnitId:_0x231be1,row:_0x2390bd,col:_0x2ec97b,collapse:_0x21acdd}=_0x3cd151,_0x557b75=_0x3d9971[_0x5a519c(0x3a3)](_0x4972ba);if(!_0x557b75||!_0x557b75['getSheetBySheetId'](_0x231be1))return!0x1;const _0x403f35=_0x3d6535[_0x5a519c(0x403)](_0x4972ba,_0x231be1,_0x2390bd,_0x2ec97b);if(!_0x403f35)return!0x1;const _0x14df17=_0x3d6535[_0x5a519c(0x27b)](_0x4972ba,_0x231be1,_0x403f35);if(!_0x14df17)return!0x1;const _0x416cc8=_0x475d1b[_0x5a519c(0x335)](_0x2390bd,_0x2ec97b),{rangesInfo:_0x36eccd,areaInfo:_0x15cc30,headerMap:_0x19cd01}=_0x14df17;if(!_0x36eccd||!_0x15cc30||!_0x19cd01)return!0x1;const _0xd90f3e=Object[_0x5a519c(0x16a)](_0x36eccd)[_0x5a519c(0x414)](_0x3b8565=>_0x36eccd[_0x3b8565][_0x5a519c(0x400)](_0x2f8492=>_0x475d1b[_0x5a519c(0x3a7)][_0x5a519c(0x3c0)](_0x2f8492,_0x416cc8)));let _0x193eee;_0xd90f3e===_0x5a519c(0x191)?_0x193eee=_0x19cd01['rowHeaderMap'][_0x2ec97b]:_0xd90f3e===_0x5a519c(0x218)&&(_0x193eee=_0x19cd01[_0x5a519c(0x2ad)][_0x2390bd]);const _0x6411fc=_0x193eee==null?void 0x0:_0x193eee['tableFieldId'],_0x2de1cc=(_0x42e21d=_0x3d6535[_0x5a519c(0x164)](_0x4972ba,_0x231be1,_0x2390bd,_0x2ec97b))==null?void 0x0:_0x42e21d['v'];if(_0x2de1cc==null||!_0x403f35||!_0x6411fc)return!0x1;const _0x30d7db=await _0x19d981[_0x5a519c(0x288)]({'unitId':_0x4972ba,'subUnitId':_0x231be1,'pivotTableId':_0x403f35,'params':{'type':_0x3ca738[_0x5a519c(0x181)],'setPivotCollapse':{'tableFieldId':_0x6411fc,'collapse':_0x21acdd,'item':_0x2de1cc}}}),_0x193cc8=_0x30d7db==null?void 0x0:_0x30d7db[_0x5a519c(0x3f8)]['setPivotCollapse'];if(!_0x193cc8)return!0x1;const {view:_0x4a571a,pivotTableConfig:_0x1f0878,isEmpty:_0x19fda2,changesets:_0x3834fd}=_0x193cc8,_0x30ec83=new _0x1d148a[(_0x5a519c(0x442))]();_0x30ec83['formJSON'](_0x4a571a);const _0x5668f9=_0x1f0878[_0x5a519c(0x1bf)],_0x5d254e={'cellInfo':_0x5668f9,'view':_0x30ec83,'isEmpty':_0x19fda2};if(!await _0x178fac['get'](_0x29b926[_0x5a519c(0x3c8)])[_0x5a519c(0x3d1)][_0x5a519c(0x1dd)](_0x3b3162)(!0x0,_0x5d254e))return!0x1;const _0x36ec67=_0x26091e(_0x178fac,_0x30ec83,_0x5668f9,_0x19fda2),_0x5d96df=_0x51d5b7(_0x178fac,_0x5d254e),{redos:_0x309d83,undos:_0x508c1f}=_0x44fef9(_0x2c0e8f,{'pivotTableId':_0x403f35,'unitId':_0x4972ba,'subUnitId':_0x231be1},_0x3834fd);return _0x475d1b[_0x5a519c(0x29e)]([..._0x36ec67[_0x5a519c(0x30e)],..._0x5d96df[_0x5a519c(0x30e)],..._0x309d83],_0x2c0e8f),_0x5135c7[_0x5a519c(0x1e1)]({'unitID':_0x4972ba,'redoMutations':[..._0x36ec67['redos'],..._0x5d96df[_0x5a519c(0x30e)],..._0x309d83],'undoMutations':[..._0x36ec67[_0x5a519c(0x1c7)],..._0x5d96df[_0x5a519c(0x1c7)],..._0x508c1f]}),!0x0;}},_0x4355ed={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x360)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x333d1d,_0x26c234){const _0x4c6e42=_0x9268c;if(!_0x26c234)return!0x1;const _0x3332bf=_0x333d1d[_0x4c6e42(0x3bb)](_0x475d1b[_0x4c6e42(0x342)]),{pivotTableId:_0x562efe,tableFieldId:_0x3a27fc,items:_0x53968d,unitId:_0x113b72,subUnitId:_0x469d34,isAll:_0x2ba390}=_0x26c234,_0x44246b=_0x333d1d[_0x4c6e42(0x3bb)](_0x29b926['SheetsPivotRPCService']),_0x467a88=_0x333d1d[_0x4c6e42(0x3bb)](_0x475d1b['IUndoRedoService']),_0x191bae=(await _0x44246b['getPivotDisplayConfig']({'unitId':_0x113b72,'subUnitId':_0x469d34,'pivotTableId':_0x562efe,'params':{'type':_0x3ca738[_0x4c6e42(0x160)],'setPivotFilter':{'tableFieldId':_0x3a27fc,'items':_0x53968d,'isAll':_0x2ba390}}}))[_0x4c6e42(0x3f8)][_0x4c6e42(0x410)];if(!_0x191bae)return!0x1;const {changesets:_0x5d680c,pivotTableConfig:_0x268053,isEmpty:_0x5a58cb,view:_0x14a376}=_0x191bae,_0x45dde5=_0x268053['targetCellInfo'],_0x50316=new _0x1d148a[(_0x4c6e42(0x442))]();_0x50316[_0x4c6e42(0x33d)](_0x14a376);const _0x2dc9ae={'cellInfo':_0x45dde5,'view':_0x50316,'isEmpty':_0x5a58cb};if(!await _0x333d1d[_0x4c6e42(0x3bb)](_0x29b926[_0x4c6e42(0x3c8)])[_0x4c6e42(0x3d1)][_0x4c6e42(0x1dd)](_0x3b3162)(!0x0,_0x2dc9ae))return!0x1;const _0x74cdf4=_0x26091e(_0x333d1d,_0x50316,_0x45dde5,_0x5a58cb),_0x3c8173=_0x51d5b7(_0x333d1d,_0x2dc9ae),{undos:_0x773cd,redos:_0x297d12}=_0x44fef9(_0x3332bf,{'pivotTableId':_0x562efe,'unitId':_0x113b72,'subUnitId':_0x469d34},_0x5d680c);return _0x475d1b['sequenceExecute']([..._0x74cdf4[_0x4c6e42(0x30e)],..._0x3c8173[_0x4c6e42(0x30e)],..._0x297d12],_0x3332bf),_0x467a88[_0x4c6e42(0x1e1)]({'unitID':_0x113b72,'redoMutations':[..._0x74cdf4[_0x4c6e42(0x30e)],..._0x3c8173[_0x4c6e42(0x30e)],..._0x297d12],'undoMutations':[..._0x74cdf4[_0x4c6e42(0x1c7)],..._0x3c8173[_0x4c6e42(0x1c7)],..._0x773cd]}),!0x0;}},_0x407283={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x360)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x115f56,_0x499cbe){const _0x4403b8=_0x9268c;if(!_0x499cbe)return!0x1;const _0x3f19f3=_0x115f56['get'](_0x475d1b[_0x4403b8(0x342)]),_0x13d3ea=_0x115f56[_0x4403b8(0x3bb)](_0x475d1b[_0x4403b8(0x425)]),_0x7149bb=_0x115f56[_0x4403b8(0x3bb)](_0x29b926[_0x4403b8(0x17d)]),{info:_0x4c433f,tableFieldId:_0x4eb91e,pivotTableId:_0x595c7a,unitId:_0x559c54,subUnitId:_0xc14bf1}=_0x499cbe,_0x254950=(await _0x7149bb[_0x4403b8(0x288)]({'unitId':_0x559c54,'subUnitId':_0xc14bf1,'pivotTableId':_0x595c7a,'params':{'type':_0x3ca738['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x4eb91e,'info':_0x4c433f}}}))[_0x4403b8(0x3f8)][_0x4403b8(0x28b)];if(!_0x254950)return!0x1;const {changesets:_0x284c76}=_0x254950,{redos:_0xf4f822,undos:_0xa12ba}=_0x44fef9(_0x3f19f3,{'pivotTableId':_0x595c7a,'unitId':_0x559c54,'subUnitId':_0xc14bf1},_0x284c76);return _0x475d1b[_0x4403b8(0x29e)](_0xf4f822,_0x3f19f3),_0x13d3ea[_0x4403b8(0x1e1)]({'unitID':_0x559c54,'redoMutations':_0xf4f822,'undoMutations':_0xa12ba}),!0x0;}},_0xc51722={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x360)],'id':_0x9268c(0x350),async 'handler'(_0x3b4a9a,_0x555c6d){const _0x549667=_0x9268c;if(!_0x555c6d)return!0x1;const _0xbc11a5=_0x3b4a9a[_0x549667(0x3bb)](_0x475d1b['ICommandService']),_0x4758a3=_0x3b4a9a[_0x549667(0x3bb)](_0x475d1b[_0x549667(0x425)]),_0x145915=_0x3b4a9a[_0x549667(0x3bb)](_0x29b926[_0x549667(0x17d)]),{displayName:_0x5e20c6,subtotalType:_0x2fdca8,format:_0x4771f7,tableFieldId:_0x3b6f84,pivotTableId:_0x50bab0,unitId:_0x196250,subUnitId:_0x39877e}=_0x555c6d,_0x59ae2d=(await _0x145915[_0x549667(0x288)]({'unitId':_0x196250,'subUnitId':_0x39877e,'pivotTableId':_0x50bab0,'params':{'type':_0x3ca738[_0x549667(0x304)],'setPivotSetting':{'tableFieldId':_0x3b6f84,'displayName':_0x5e20c6,'subtotalType':_0x2fdca8,'format':_0x4771f7}}}))[_0x549667(0x3f8)][_0x549667(0x1ac)];if(!_0x59ae2d)return!0x1;const {changesets:_0x43aa8b,view:_0x4563ac,pivotTableConfig:_0x586213,isEmpty:_0x1c5f03}=_0x59ae2d,_0x2c81ce=_0x586213['targetCellInfo'],_0x497f74=new _0x1d148a[(_0x549667(0x442))]();_0x497f74[_0x549667(0x33d)](_0x4563ac);const _0x25e458={'cellInfo':_0x2c81ce,'view':_0x497f74,'isEmpty':_0x1c5f03};if(!await _0x3b4a9a[_0x549667(0x3bb)](_0x29b926[_0x549667(0x3c8)])['asyncInterceptor'][_0x549667(0x1dd)](_0x3b3162)(!0x0,_0x25e458))return!0x1;const _0x3ac418=_0x26091e(_0x3b4a9a,_0x497f74,_0x2c81ce,_0x1c5f03),_0x1d6130=_0x51d5b7(_0x3b4a9a,_0x25e458),{undos:_0x1443c0,redos:_0x2376d8}=_0x44fef9(_0xbc11a5,{'pivotTableId':_0x50bab0,'unitId':_0x196250,'subUnitId':_0x39877e},_0x43aa8b);return _0x475d1b[_0x549667(0x29e)]([..._0x3ac418['redos'],..._0x1d6130[_0x549667(0x30e)],..._0x2376d8],_0xbc11a5),_0x4758a3[_0x549667(0x1e1)]({'unitID':_0x196250,'redoMutations':[..._0x3ac418['redos'],..._0x1d6130['redos'],..._0x2376d8],'undoMutations':[..._0x3ac418[_0x549667(0x1c7)],..._0x1d6130[_0x549667(0x1c7)],..._0x1443c0]}),!0x0;}},_0x11d2c7={'type':_0x475d1b[_0x9268c(0x15f)]['COMMAND'],'id':_0x9268c(0x3e6),async 'handler'(_0x4fcbb8,_0x3a255a){const _0x16097a=_0x9268c,_0x413f51=_0x4fcbb8[_0x16097a(0x3bb)](_0x475d1b[_0x16097a(0x342)]),_0x11ecd7=_0x4fcbb8[_0x16097a(0x3bb)](_0x29b926[_0x16097a(0x17d)]),_0x2f045d=_0x4fcbb8['get'](_0x475d1b[_0x16097a(0x425)]);if(!_0x3a255a)return!0x1;const {token:_0x2a236a,dataRangeInfo:_0x3f8933,unitId:_0x5dffb7,subUnitId:_0x2f2a31}=_0x3a255a,_0x3d61f8=[],_0x37c6ad=[],_0x16baa8=(await _0x11ecd7[_0x16097a(0x288)]({'unitId':_0x5dffb7,'subUnitId':_0x2f2a31,'pivotTableId':_0x2a236a,'params':{'type':_0x3ca738['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x3f8933,'unitId':_0x5dffb7,'subUnitId':_0x2f2a31}}}))[_0x16097a(0x3f8)][_0x16097a(0x1fc)];if(!_0x16baa8)return!0x1;const {changesets:_0x396bf8,deleteIds:_0x23eaf9,collectionConfig:_0x2b7f29,oldCollectionConfig:_0x2fe5cf,view:_0x548f5f,isEmpty:_0x45ade5,pivotTableConfig:_0x23f1cd}=_0x16baa8;_0x37c6ad[_0x16097a(0x17b)]({'id':_0x5c08b3['id'],'params':{'pivotTableId':_0x2a236a,'deleteIds':_0x23eaf9,'collectionJSON':_0x2b7f29,'dataRangeInfo':_0x3f8933,'unitId':_0x5dffb7,'subUnitId':_0x2f2a31}}),_0x3d61f8[_0x16097a(0x3f0)]({'id':_0x5c08b3['id'],'params':{'pivotTableId':_0x2a236a,'deleteIds':[],'collectionJSON':_0x2fe5cf,'dataRangeInfo':_0x23f1cd[_0x16097a(0x453)],'unitId':_0x5dffb7,'subUnitId':_0x2f2a31}});const _0x3e3c02=_0x23f1cd[_0x16097a(0x1bf)],_0x4bc078=new _0x1d148a['PivotView']();_0x4bc078[_0x16097a(0x33d)](_0x548f5f);const _0x3bb57f={'cellInfo':_0x3e3c02,'view':_0x4bc078,'isEmpty':_0x45ade5};if(!await _0x4fcbb8[_0x16097a(0x3bb)](_0x29b926[_0x16097a(0x3c8)])[_0x16097a(0x3d1)]['fetchThroughAsyncInterceptors'](_0x3b3162)(!0x0,_0x3bb57f))return!0x1;const _0x2182d7=_0x26091e(_0x4fcbb8,_0x4bc078,_0x3e3c02,_0x45ade5),_0x51ef11=_0x51d5b7(_0x4fcbb8,_0x3bb57f),{undos:_0x267e5f,redos:_0x52e06c}=_0x44fef9(_0x413f51,{'pivotTableId':_0x2a236a,'unitId':_0x5dffb7,'subUnitId':_0x2f2a31},_0x396bf8);return _0x475d1b[_0x16097a(0x29e)]([..._0x2182d7['redos'],..._0x51ef11[_0x16097a(0x30e)],..._0x37c6ad,..._0x267e5f],_0x413f51),_0x2f045d[_0x16097a(0x1e1)]({'unitID':_0x5dffb7,'redoMutations':[..._0x2182d7['redos'],..._0x51ef11[_0x16097a(0x30e)],..._0x37c6ad,..._0x267e5f],'undoMutations':[..._0x2182d7['undos'],..._0x51ef11[_0x16097a(0x1c7)],..._0x3d61f8,..._0x52e06c]}),!0x0;}},_0x38d5bf={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x360)],'id':_0x9268c(0x1e0),async 'handler'(_0xa6a0a0,_0x3232df){const _0x3ea432=_0x9268c;if(!_0x3232df)return!0x1;const _0x3e250e=_0xa6a0a0[_0x3ea432(0x3bb)](_0x475d1b[_0x3ea432(0x342)]),_0x2094da=_0xa6a0a0[_0x3ea432(0x3bb)](_0x29b926[_0x3ea432(0x17d)]),_0x376b2c=_0xa6a0a0[_0x3ea432(0x3bb)](_0x475d1b[_0x3ea432(0x261)]),_0x392b56=_0xa6a0a0[_0x3ea432(0x3bb)](_0x475d1b[_0x3ea432(0x425)]),{pivotTableId:_0x3507d3,position:_0x44a574,index:_0x3c6d30}=_0x3232df,_0x466743=_0x44476f[_0x3ea432(0x340)](_0x376b2c);if(!_0x466743)return!0x1;const {unitId:_0x244c5f,subUnitId:_0x42c6b2}=_0x466743,_0x16a979=(await _0x2094da[_0x3ea432(0x288)]({'unitId':_0x244c5f,'subUnitId':_0x42c6b2,'pivotTableId':_0x3507d3,'params':{'type':_0x3ca738['UpdateValuePosition'],'updateValuePosition':{'position':_0x44a574,'index':_0x3c6d30}}}))[_0x3ea432(0x3f8)][_0x3ea432(0x1fa)];if(!_0x16a979)return!0x1;const {changesets:_0x465906,view:_0x4fd252,isEmpty:_0x5d5401,pivotTableConfig:_0x4bee87}=_0x16a979,_0x18e25c=_0x4bee87['targetCellInfo'],_0x4f2670=new _0x1d148a['PivotView']();_0x4f2670[_0x3ea432(0x33d)](_0x4fd252);const _0x59f6c3=_0xa6a0a0[_0x3ea432(0x3bb)](_0x29b926['SheetsPivotTableService']),_0x1a711a={'cellInfo':_0x18e25c,'view':_0x4f2670,'isEmpty':_0x5d5401};if(!await _0x59f6c3[_0x3ea432(0x3d1)]['fetchThroughAsyncInterceptors'](_0x3b3162)(!0x0,_0x1a711a))return!0x1;const _0x30c6fd=_0x26091e(_0xa6a0a0,_0x4f2670,_0x18e25c,_0x5d5401),_0x4bde8c=_0x51d5b7(_0xa6a0a0,_0x1a711a),{undos:_0x26496f,redos:_0x3b73c2}=_0x44fef9(_0x3e250e,{'pivotTableId':_0x3507d3,'unitId':_0x244c5f,'subUnitId':_0x42c6b2},_0x465906);return _0x475d1b['sequenceExecute']([..._0x30c6fd[_0x3ea432(0x30e)],..._0x4bde8c[_0x3ea432(0x30e)],..._0x3b73c2],_0x3e250e),_0x392b56['pushUndoRedo']({'unitID':_0x244c5f,'redoMutations':[..._0x30c6fd[_0x3ea432(0x30e)],..._0x4bde8c[_0x3ea432(0x30e)],..._0x3b73c2],'undoMutations':[..._0x30c6fd[_0x3ea432(0x1c7)],..._0x4bde8c[_0x3ea432(0x1c7)],..._0x26496f]}),!0x0;}},_0x34f389={'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x360)],'id':'sheet.command.move-pivot-table','handler':(_0x1241d5,_0x5ea014)=>{const _0x39f485=_0x9268c,_0x9d6682=_0x1241d5[_0x39f485(0x3bb)](_0x475d1b[_0x39f485(0x342)]),_0x358f1d=_0x1241d5[_0x39f485(0x3bb)](_0x475d1b[_0x39f485(0x425)]),_0x1a9750=_0x1241d5[_0x39f485(0x3bb)](_0x29b926['SheetsPivotTableConfigModel']),_0x1806dc=_0x1241d5[_0x39f485(0x3bb)](_0x475d1b[_0x39f485(0x261)]);if(!_0x5ea014)return!0x1;const _0x1e3352=_0x44476f[_0x39f485(0x340)](_0x1806dc);if(!_0x1e3352)return!0x1;const {unitId:_0x14d39e,subUnitId:_0x48c7c9,workbook:_0xac0b0a}=_0x1e3352,_0x328334=_0x1a9750['getPivotTableConfig'](_0x5ea014[_0x39f485(0x275)][_0x39f485(0x329)],_0x5ea014[_0x39f485(0x275)][_0x39f485(0x1ca)],_0x5ea014['pivotTableId']);if(!_0x328334)return!0x1;const _0x2f6e8c=_0xac0b0a[_0x39f485(0x171)](_0x5ea014[_0x39f485(0x1bf)][_0x39f485(0x1ca)]);if(!_0x2f6e8c)throw new Error(_0x39f485(0x423));const _0x228597=_0x2f6e8c[_0x39f485(0x418)](),_0x36d242=_0x2f6e8c[_0x39f485(0x2d8)]();if(_0x5ea014['targetCellInfo']['row']>_0x228597||_0x5ea014['targetCellInfo'][_0x39f485(0x2b7)]>_0x36d242)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x3c482a=[{'id':_0x3e9757['id'],'params':{'unitId':_0x14d39e,'subUnitId':_0x5ea014[_0x39f485(0x1bf)][_0x39f485(0x1ca)],'pivotTableId':_0x5ea014[_0x39f485(0x213)],'targetCellPosition':{'row':_0x5ea014[_0x39f485(0x1bf)]['row'],'col':_0x5ea014['targetCellInfo'][_0x39f485(0x2b7)]}}}],_0x22378b=[{'id':_0x3e9757['id'],'params':{'unitId':_0x14d39e,'subUnitId':_0x48c7c9,'pivotTableId':_0x5ea014[_0x39f485(0x213)],'targetCellPosition':{'row':_0x328334[_0x39f485(0x1bf)]['row'],'col':_0x328334[_0x39f485(0x1bf)]['col']}}}];return _0x475d1b[_0x39f485(0x29e)](_0x3c482a,_0x9d6682)&&_0x358f1d[_0x39f485(0x1e1)]({'unitID':_0x14d39e,'undoMutations':_0x22378b,'redoMutations':_0x3c482a}),!0x0;}},_0x46c5bd={'type':_0x475d1b[_0x9268c(0x15f)]['COMMAND'],'id':_0x9268c(0x225),async 'handler'(_0x41e716,_0x324fae){const _0x38906d=_0x9268c;if(!_0x324fae)return!0x1;const _0x33d9d9=_0x41e716['get'](_0x475d1b[_0x38906d(0x342)]),{pivotTableId:_0x5ad09d,fieldId:_0x511203,valueFilterInfo:_0x26a6f1,unitId:_0x38b55f,subUnitId:_0x351090}=_0x324fae,_0x37f9e1=_0x41e716['get'](_0x29b926[_0x38906d(0x17d)]),_0x1ed06d=_0x41e716['get'](_0x475d1b[_0x38906d(0x425)]),_0x2ca955=(await _0x37f9e1[_0x38906d(0x288)]({'unitId':_0x38b55f,'subUnitId':_0x351090,'pivotTableId':_0x5ad09d,'params':{'type':_0x3ca738[_0x38906d(0x2ce)],'setValuePivotFilter':{'tableFieldId':_0x511203,'filterInfo':_0x26a6f1}}}))[_0x38906d(0x3f8)][_0x38906d(0x245)];if(!_0x2ca955)return!0x1;const {changesets:_0x5d65e0,pivotTableConfig:_0xa1d669,isEmpty:_0x68471f,view:_0x446d2c}=_0x2ca955,_0x2b8d93=_0xa1d669[_0x38906d(0x1bf)],_0x24e6f9=new _0x1d148a['PivotView']();_0x24e6f9[_0x38906d(0x33d)](_0x446d2c);const _0xcadc0b={'cellInfo':_0x2b8d93,'view':_0x24e6f9,'isEmpty':_0x68471f};if(!await _0x41e716[_0x38906d(0x3bb)](_0x29b926[_0x38906d(0x3c8)])[_0x38906d(0x3d1)][_0x38906d(0x1dd)](_0x3b3162)(!0x0,_0xcadc0b))return!0x1;const _0x3ad32a=_0x26091e(_0x41e716,_0x24e6f9,_0x2b8d93,_0x68471f),_0x40c557=_0x51d5b7(_0x41e716,_0xcadc0b),{undos:_0x343661,redos:_0x1571b2}=_0x44fef9(_0x33d9d9,{'pivotTableId':_0x5ad09d,'unitId':_0x38b55f,'subUnitId':_0x351090},_0x5d65e0);return _0x475d1b[_0x38906d(0x29e)]([..._0x3ad32a[_0x38906d(0x30e)],..._0x40c557[_0x38906d(0x30e)],..._0x1571b2],_0x33d9d9),_0x1ed06d['pushUndoRedo']({'unitID':_0x38b55f,'redoMutations':[..._0x3ad32a[_0x38906d(0x30e)],..._0x40c557[_0x38906d(0x30e)],..._0x1571b2],'undoMutations':[..._0x3ad32a['undos'],..._0x40c557[_0x38906d(0x1c7)],..._0x343661]}),!0x0;}},_0x3c9c58={'type':_0x475d1b[_0x9268c(0x15f)]['COMMAND'],'id':_0x9268c(0x320),async 'handler'(_0x4b26ec,_0x5ca7e7){const _0x50ba16=_0x9268c;if(!_0x5ca7e7)return!0x1;const _0x3a616c=_0x4b26ec['get'](_0x475d1b['ICommandService']),_0x295e14=_0x4b26ec[_0x50ba16(0x3bb)](_0x475d1b['IUndoRedoService']),_0x56e578=_0x4b26ec[_0x50ba16(0x3bb)](_0x29b926['SheetsPivotRPCService']),{pivotTableConfig:_0x38f22f,pivotTableId:_0x1221fa,unitId:_0x25daed,subUnitId:_0x5b45b8}=_0x5ca7e7,_0x53368e=(await _0x56e578[_0x50ba16(0x288)]({'unitId':_0x25daed,'subUnitId':_0x5b45b8,'pivotTableId':_0x1221fa,'params':{'type':_0x3ca738[_0x50ba16(0x35b)],'setPivotTableConfig':{'pivotTableId':_0x1221fa,'pivotTableConfig':_0x38f22f}}}))[_0x50ba16(0x3f8)][_0x50ba16(0x429)];if(!_0x53368e)return!0x1;const {changesets:_0x9426ac}=_0x53368e,{redos:_0x15c516,undos:_0xee27d}=_0x44fef9(_0x3a616c,{'pivotTableId':_0x1221fa,'unitId':_0x25daed,'subUnitId':_0x5b45b8},_0x9426ac);return _0x475d1b[_0x50ba16(0x29e)](_0x15c516,_0x3a616c),_0x295e14[_0x50ba16(0x1e1)]({'unitID':_0x25daed,'redoMutations':_0x15c516,'undoMutations':_0xee27d}),!0x0;}},_0x239d2b={'type':_0x475d1b[_0x9268c(0x15f)]['COMMAND'],'id':_0x9268c(0x37f),async 'handler'(_0x5585eb,_0x5279ae){const _0x3da23b=_0x9268c;if(!_0x5279ae)return!0x1;const _0x22d89c=_0x5585eb[_0x3da23b(0x3bb)](_0x475d1b[_0x3da23b(0x342)]),_0x59bfa1=_0x5585eb[_0x3da23b(0x3bb)](_0x475d1b[_0x3da23b(0x425)]),_0x1d1e3f=_0x5585eb['get'](_0x29b926[_0x3da23b(0x17d)]),{resetArea:_0x20403f,pivotTableId:_0x4868d9,unitId:_0xe9983f,subUnitId:_0xab7c9a}=_0x5279ae,_0x47f818=(await _0x1d1e3f[_0x3da23b(0x288)]({'unitId':_0xe9983f,'subUnitId':_0xab7c9a,'pivotTableId':_0x4868d9,'params':{'type':_0x3ca738['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x4868d9,'resetArea':_0x20403f}}}))['result'][_0x3da23b(0x2c4)];if(!_0x47f818)return!0x1;const {changesets:_0x4c783c}=_0x47f818,{redos:_0xedcf94,undos:_0x1fbadd}=_0x44fef9(_0x22d89c,{'pivotTableId':_0x4868d9,'unitId':_0xe9983f,'subUnitId':_0xab7c9a},_0x4c783c);return _0x475d1b[_0x3da23b(0x29e)](_0xedcf94,_0x22d89c),_0x59bfa1[_0x3da23b(0x1e1)]({'unitID':_0xe9983f,'redoMutations':_0xedcf94,'undoMutations':_0x1fbadd}),!0x0;}},_0x20cf48={'id':_0x9268c(0x230),'type':_0x475d1b[_0x9268c(0x15f)][_0x9268c(0x23e)],'handler':(_0x432eb0,_0x1a8366)=>{const _0x3a9a4e=_0x9268c;if(!_0x1a8366)return!0x1;if(!!_0x432eb0['get'](_0x475d1b['IConfigService'])[_0x3a9a4e(0x32b)](_0x1bd950))return!0x0;const {unitId:_0x5afbbe,subUnitId:_0x23e6a2,pivotTableId:_0x37f744,tableFieldId:_0xbac239,dateType:_0x456bde}=_0x1a8366,_0x36d123=_0x432eb0['get'](_0x29b926[_0x3a9a4e(0x420)]),_0x1ddc38=_0x36d123['getPivotTableInstance'](_0x37f744);if(!_0x1ddc38)return!0x1;const _0x4593be=_0x1ddc38[_0x3a9a4e(0x30c)](_0xbac239);if(!_0x4593be)return!0x1;const _0x934636=_0x4593be[_0x3a9a4e(0x34f)](),_0x4ea87a=_0x1ddc38[_0x3a9a4e(0x34d)](_0x934636),_0x28de45=(_0x4ea87a==null?void 0x0:_0x4ea87a[_0x3a9a4e(0x231)]())+'\x20'+_0x1fac8e(_0x432eb0,_0x456bde);_0x36d123[_0x3a9a4e(0x35a)](_0x5afbbe,_0x37f744)[_0x3a9a4e(0x364)](_0x4593be['id'],_0x28de45);const _0x25ceb8=_0x1ddc38['getTableFieldById'](_0xbac239);if(!_0x25ceb8)return!0x1;_0x1ddc38[_0x3a9a4e(0x185)](_0x25ceb8[_0x3a9a4e(0x1ef)](),_0x28de45),_0x4593be['setDateType'](_0x456bde);const _0x39f19a=_0x36d123[_0x3a9a4e(0x346)](_0x5afbbe,_0x23e6a2,_0x37f744);return _0x36d123[_0x3a9a4e(0x387)]({'unitId':_0x5afbbe,'subUnitId':_0x23e6a2,'token':_0x37f744,'type':_0x94aa6e[_0x3a9a4e(0x381)],'pivotConfig':_0x39f19a}),!0x0;}},_0x5eb53={'id':_0x9268c(0x376),'type':_0x475d1b['CommandType'][_0x9268c(0x360)],'handler':(_0x1b295b,_0x525b32)=>{const _0x1ccb77=_0x9268c;if(!_0x525b32)return!0x1;const _0x361cb4=_0x1b295b['get'](_0x475d1b[_0x1ccb77(0x425)]),{unitId:_0x24bd58,subUnitId:_0x2dcc4b,pivotTableId:_0x6bde59,tableFieldId:_0x522778}=_0x525b32,_0x20fef7=[],_0x11e183=[],_0x33c7b2=_0x1b295b['get'](_0x29b926['SheetsPivotTableConfigModel']),_0xb05b18=_0x33c7b2[_0x1ccb77(0x35a)](_0x24bd58,_0x6bde59),_0x1746dd=_0x33c7b2['getPivotTableConfig'](_0x24bd58,_0x2dcc4b,_0x6bde59);if(!(_0x1746dd!=null&&_0x1746dd['fieldsConfig'][_0x1ccb77(0x3d8)]))return!0x1;const _0x15ea80=Object[_0x1ccb77(0x3c6)](_0x1746dd['fieldsConfig'][_0x1ccb77(0x3d8)])[_0x1ccb77(0x414)](_0x5628f5=>_0x5628f5['id']===_0x522778);if(!_0x15ea80)return!0x1;const _0x4b825a=_0x15ea80[_0x1ccb77(0x3af)];if(!(_0xb05b18!=null&&_0xb05b18[_0x1ccb77(0x227)]))return!0x1;const _0x14d1f3=Object[_0x1ccb77(0x3c6)](_0xb05b18==null?void 0x0:_0xb05b18[_0x1ccb77(0x227)])['find'](_0x525c1f=>_0x525c1f['id']===_0x4b825a);if(!_0x14d1f3)return!0x1;_0x1d148a[_0x1ccb77(0x42d)](_0x14d1f3)&&_0x20fef7[_0x1ccb77(0x17b)]({'id':_0x20cf48['id'],'params':{..._0x525b32,'dateType':_0x14d1f3[_0x1ccb77(0x393)]}}),_0x11e183[_0x1ccb77(0x17b)]({'id':_0x20cf48['id'],'params':{..._0x525b32}});const _0x25f057=_0x1b295b[_0x1ccb77(0x3bb)](_0x475d1b['ICommandService']);return _0x475d1b[_0x1ccb77(0x29e)](_0x11e183,_0x25f057)&&_0x361cb4[_0x1ccb77(0x1e1)]({'unitID':_0x24bd58,'undoMutations':_0x20fef7,'redoMutations':_0x11e183}),!0x0;}};var _0x9c775=Object[_0x9268c(0x379)],_0x5a3704=(_0x33884d,_0x87761c,_0x419eb0,_0x4cd1a8)=>{const _0x3dc4c3=_0x9268c;for(var _0x4a4846=_0x4cd1a8>0x1?void 0x0:_0x4cd1a8?_0x9c775(_0x87761c,_0x419eb0):_0x87761c,_0xa9b253=_0x33884d[_0x3dc4c3(0x32d)]-0x1,_0x2fbea7;_0xa9b253>=0x0;_0xa9b253--)(_0x2fbea7=_0x33884d[_0xa9b253])&&(_0x4a4846=_0x2fbea7(_0x4a4846)||_0x4a4846);return _0x4a4846;},_0xe01a7d=(_0x4ddae5,_0x588c63)=>(_0x2178fa,_0x27c4e9)=>_0x588c63(_0x2178fa,_0x27c4e9,_0x4ddae5);const _0x26bdad=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x21f5c8=(_0x3ea15a,_0x2e1a69,_0x18aeda)=>{const _0x17a920=_0x9268c,_0x50c25b=_0x3ea15a[_0x17a920(0x199)];_0x3ea15a['iterateFieldDim'](_0x492eb0=>{const _0x244a17=_0x17a920,_0x2683e5=_0x492eb0['getId'](),_0x499e9f=_0x492eb0[_0x244a17(0x1a6)](),_0x334d3a=_0x492eb0[_0x244a17(0x3e0)](),_0xd710dc=_0x492eb0[_0x244a17(0x3a5)]();_0x2e1a69[_0x499e9f]&&_0x2e1a69[_0x499e9f]===_0xd710dc&&_0x334d3a===_0xd710dc&&(_0x3ea15a[_0x244a17(0x185)](_0x2683e5,_0x50c25b[_0x244a17(0x3a5)](_0x499e9f)),_0x492eb0['setSourceName'](_0x50c25b[_0x244a17(0x3a5)](_0x499e9f)));}),_0x3ea15a[_0x17a920(0x1d3)](_0x1d148a[_0x17a920(0x2ed)][_0x17a920(0x3c2)],_0x2ff51e=>{const _0x437983=_0x17a920,_0x689c0=_0x2ff51e[_0x437983(0x1ef)](),_0x250a7a=_0x2ff51e[_0x437983(0x1a6)](),_0x57dd65=_0x2ff51e[_0x437983(0x3e0)](),_0x1338f7=_0x2ff51e[_0x437983(0x3a5)](),_0xb7f318=_0x2ff51e[_0x437983(0x41c)](),_0x41ad03=_0x18aeda(_0x57dd65,_0xb7f318);_0x2e1a69[_0x250a7a]&&_0x2e1a69[_0x250a7a]===_0x57dd65&&_0x41ad03===_0x1338f7&&(_0x3ea15a[_0x437983(0x185)](_0x689c0,_0x18aeda(_0x50c25b[_0x437983(0x3a5)](_0x250a7a),_0xb7f318)),_0x2ff51e[_0x437983(0x188)](_0x50c25b[_0x437983(0x3a5)](_0x250a7a)));});},_0x3e9a91=(_0x47a1e0,_0x27de39,_0x33e192)=>{const _0x3d635a=_0x9268c;var _0x319841,_0x4d25e5;const {arrayFormulaCellData:_0x213a00,unitData:_0x34d7c1}=_0x27de39,{unitId:_0x5ce060,subUnitId:_0x54efb5}=_0x33e192,_0x427554=_0x33e192[_0x3d635a(0x3bd)],{startColumn:_0x2afadc,endColumn:_0x5c2a22}=_0x427554,_0x5001fa=(_0x319841=_0x213a00==null?void 0x0:_0x213a00[_0x5ce060])==null?void 0x0:_0x319841[_0x54efb5],_0x10b0dc=(_0x4d25e5=_0x34d7c1==null?void 0x0:_0x34d7c1[_0x5ce060])==null?void 0x0:_0x4d25e5[_0x54efb5],_0x3f658b=new Set(),_0x49a621=_0x5c2a22-_0x2afadc+0x1,{dirtyRanges:_0x1e6765}=_0x47a1e0;if(_0x1e6765)for(const {range:_0x2f8838,sheetId:_0x32e2f8,unitId:_0xb12951}of _0x1e6765){if(_0x32e2f8!==_0x54efb5||_0x5ce060!==_0xb12951)continue;const _0x194128=_0x475d1b[_0x3d635a(0x3a7)]['getIntersects'](_0x2f8838,_0x427554);if(_0x194128){const {startColumn:_0x42f493,endColumn:_0x707165}=_0x194128;for(let _0xa93cc9=_0x42f493;_0xa93cc9<=_0x707165;_0xa93cc9++)_0x3f658b[_0x3d635a(0x156)](_0xa93cc9);}}if(_0x3f658b['size']===_0x49a621||_0x3f658b[_0x3d635a(0x3d7)]===_0x49a621)return Array['from'](_0x3f658b);if(_0x10b0dc){const _0x261d66=_0x10b0dc['getMatrix'](),_0x4e0cc1=Object[_0x3d635a(0x16a)](_0x261d66);for(const _0x25b615 of _0x4e0cc1){const _0x42e2e7=Number(_0x25b615),_0x46aedf=_0x261d66[_0x42e2e7];if(_0x3f658b[_0x3d635a(0x3d7)]===_0x49a621)break;for(const _0x3af8ed in _0x46aedf){const _0x2a7cea=Number(_0x3af8ed);_0x2a7cea<_0x2afadc||_0x2a7cea>_0x5c2a22||_0x3f658b[_0x3d635a(0x156)](_0x2a7cea);}}}if(_0x5001fa){const _0x43a8dc=_0x5001fa['getMatrix'](),_0x5bbc06=Object[_0x3d635a(0x16a)](_0x43a8dc);for(const _0x511167 of _0x5bbc06){const _0x4d9c60=Number(_0x511167),_0x502706=_0x43a8dc[_0x4d9c60];if(_0x3f658b['size']===_0x49a621)break;for(const _0xfe2cc0 in _0x502706){const _0x11d607=Number(_0xfe2cc0);_0x11d607<_0x2afadc||_0x11d607>_0x5c2a22||_0x3f658b[_0x3d635a(0x156)](_0x11d607);}}}return Array[_0x3d635a(0x3fd)](_0x3f658b);},_0x2c3319=_0x30192d=>{const _0x4b0d6f=_0x9268c,_0x3a0431=new Set(),_0x5d7505=[];for(const _0xae3fb of _0x30192d){const _0x345a31=_0xae3fb[_0x4b0d6f(0x2ff)]+','+_0xae3fb['endRow']+','+_0xae3fb['startColumn']+','+_0xae3fb[_0x4b0d6f(0x277)];_0x3a0431[_0x4b0d6f(0x2a4)](_0x345a31)||(_0x3a0431['add'](_0x345a31),_0x5d7505['push'](_0xae3fb));}return _0x5d7505;};let _0x5c421c=class extends _0x475d1b[_0x9268c(0x158)]{constructor(_0x4cae5f,_0x34c581,_0x466a31,_0x6604c,_0x532f15,_0x17ed41){const _0x5b1537=_0x9268c;super(),_0x346b88(this,'_globalSubject',new _0x53d07a[(_0x5b1537(0x3f5))](!0x0)),_0x346b88(this,_0x5b1537(0x3b6),_0x27a047=>{const _0x3e7d66=_0x5b1537;this['_globalSubject'][_0x3e7d66(0x347)](!0x1);}),_0x346b88(this,_0x5b1537(0x2ae),_0x4347a9=>{const _0x50e2e8=_0x5b1537;this[_0x50e2e8(0x39a)][_0x50e2e8(0x347)](!0x0);}),(this[_0x5b1537(0x15a)]=_0x4cae5f,this[_0x5b1537(0x336)]=_0x34c581,this['_featureCalculationManagerService']=_0x466a31,this['_commandService']=_0x6604c,this['_globalComputingSrv']=_0x532f15,this[_0x5b1537(0x2cd)]=_0x17ed41,this[_0x5b1537(0x3fc)](),this[_0x5b1537(0x2f1)]());}[_0x9268c(0x3fc)](){const _0x38a71c=_0x9268c;this[_0x38a71c(0x223)](),this[_0x38a71c(0x254)](),this[_0x38a71c(0x26b)](),this[_0x38a71c(0x1e4)]();}['_initGlobalComputed'](){const _0x310b6f=_0x9268c;this[_0x310b6f(0x179)]['pushComputingStatusSubject'](this[_0x310b6f(0x39a)]),_0x1d148a[_0x310b6f(0x205)][_0x310b6f(0x337)](_0x1d148a[_0x310b6f(0x270)][_0x310b6f(0x43f)],this[_0x310b6f(0x3b6)]),_0x1d148a[_0x310b6f(0x205)][_0x310b6f(0x337)](_0x1d148a[_0x310b6f(0x270)][_0x310b6f(0x214)],this[_0x310b6f(0x2ae)]);}['_initPivotDataGetListener'](){const _0x3c6fd9=_0x9268c;this[_0x3c6fd9(0x2c9)](this[_0x3c6fd9(0x31d)][_0x3c6fd9(0x24d)](_0xd7d472=>{const _0x3071c0=_0x3c6fd9;_0xd7d472['id']===_0x44476f['MoveRangeMutation']['id']&&this['_sheetsPivotDataSourceModel']['handleMoveRange'](_0xd7d472[_0x3071c0(0x352)]);})),this['disposeWithMe'](this[_0x3c6fd9(0x31d)][_0x3c6fd9(0x24d)](_0x3c0aae=>{const _0x329060=_0x3c6fd9;if(_0x3c0aae['id']!==_0x239074['id'])return;const _0x173a46=_0x3c0aae[_0x329060(0x352)],{unitId:_0x25bb71,subUnitId:_0x90af25,pivotTableId:_0x4eb630}=_0x173a46,_0x5c761c=_0x173a46['params'][_0x329060(0x436)],_0x3c8dd2={};switch(_0x5c761c){case _0x3ca738[_0x329060(0x228)]:{const _0x511c0c=_0x173a46[_0x329060(0x352)][_0x329060(0x16c)];if(!_0x511c0c)return;const {row:_0x3d9f2c,col:_0x2afaaa,cellData:_0x4585a9,pivotItemRenderInfoCache:_0x5c3bd1,tableFieldId:_0x398901}=_0x511c0c,_0xab1f15=this[_0x329060(0x15a)][_0x329060(0x289)](_0x173a46[_0x329060(0x213)]);if(!_0xab1f15||!_0x5c3bd1)return;if(_0x398901){const _0xeb476a=_0xab1f15[_0x329060(0x30c)](_0x398901);if(!_0xeb476a)return;_0x3c8dd2[_0x329060(0x16c)]={..._0xab1f15[_0x329060(0x1c0)](_0xeb476a),'tableFieldId':_0x398901,'pivotTableId':_0x173a46[_0x329060(0x213)],'filterInfo':_0xab1f15['getFilterInfo'](_0x398901),'sortInfo':_0xab1f15[_0x329060(0x186)](_0x398901),'format':_0xab1f15[_0x329060(0x2e0)](_0x398901)};}else{const _0x15765e=_0x289393(_0x3d9f2c,_0x2afaaa,_0x4585a9,_0xab1f15,_0x5c3bd1),_0x4fda83=_0x15765e==null?void 0x0:_0x15765e[_0x329060(0x2c1)];if(!_0x4fda83)return;const _0x34c09e=_0xab1f15[_0x329060(0x30c)](_0x4fda83);if(!_0x34c09e)return;_0x3c8dd2[_0x329060(0x16c)]={..._0xab1f15[_0x329060(0x1c0)](_0x34c09e),'tableFieldId':_0x4fda83,'pivotTableId':_0x173a46[_0x329060(0x213)],'filterInfo':_0xab1f15[_0x329060(0x2e2)](_0x4fda83),'sortInfo':_0xab1f15['getSortInfo'](_0x4fda83),'format':_0xab1f15[_0x329060(0x2e0)](_0x4fda83)};}}break;case _0x3ca738[_0x329060(0x312)]:{const _0x116ac8=_0x173a46[_0x329060(0x352)][_0x329060(0x1ce)];if(!_0x116ac8)return;const {pivotTableId:_0x2c5aa5}=_0x116ac8,_0x5b7f03=this[_0x329060(0x15a)][_0x329060(0x289)](_0x2c5aa5);if(!_0x5b7f03)return;const _0xb99458=this[_0x329060(0x15a)]['getPivotTableConfig'](_0x25bb71,_0x90af25,_0x2c5aa5),_0x37f194=_0x336cf4(_0x5b7f03,_0x2c5aa5,_0xb99458);_0x3c8dd2[_0x329060(0x1ce)]=_0x37f194;}break;case _0x3ca738[_0x329060(0x17f)]:{const _0x38c05e=this[_0x329060(0x15a)][_0x329060(0x289)](_0x4eb630),_0x22e758=this[_0x329060(0x15a)][_0x329060(0x35d)](_0x25bb71),_0x361aa0=_0x22e758['getCollection'](_0x4eb630);let _0x17ad80=null;const _0x1723bd=this['_sheetsPivotDataSourceModel'][_0x329060(0x346)](_0x25bb71,_0x90af25,_0x4eb630),_0x1ad262=_0x173a46[_0x329060(0x352)][_0x329060(0x28d)];if(!_0x38c05e||!_0x1723bd||!_0x1ad262)return!0x1;const {dataFieldId:_0x1fd4b2,fieldArea:_0x29c493,index:_0x4a35ff}=_0x1ad262;_0x38c05e[_0x329060(0x398)]();const _0x317921=_0x38c05e[_0x329060(0x256)](_0x1fd4b2,_0x29c493,_0x4a35ff);if(_0x317921&&_0x29c493===_0x1d148a[_0x329060(0x2ed)][_0x329060(0x3c2)]){const _0x5a3b6e=_0x317921[_0x329060(0x1ef)](),_0x747ed4=_0x38c05e['getDataFieldByTableId'](_0x5a3b6e);if(_0x747ed4){const _0x233482=_0x747ed4==null?void 0x0:_0x747ed4[_0x329060(0x3f3)]();_0x38c05e[_0x329060(0x273)](_0x317921[_0x329060(0x1ef)](),_0x233482===_0x1d148a[_0x329060(0x27e)][_0x329060(0x409)]?_0x1d148a[_0x329060(0x170)][_0x329060(0x3be)]:_0x1d148a[_0x329060(0x170)][_0x329060(0x34e)]);}const _0x52dd07=_0x38c05e['getValueIndex'](),_0x1e9977=_0x38c05e[_0x329060(0x165)](),_0x5a834a=_0x38c05e[_0x329060(0x1fd)](_0x1d148a[_0x329060(0x2ed)]['Value']);if(_0x52dd07===-0x1&&_0x5a834a>0x1){const _0x25854e=_0x1e9977===_0x1d148a[_0x329060(0x34b)][_0x329060(0x2a2)]?_0x1d148a[_0x329060(0x34b)][_0x329060(0x174)]:_0x1e9977,_0x40b44e=_0x25854e===_0x1d148a['PivotTableValuePositionEnum']['Row']?_0x1d148a['PivotTableFiledAreaEnum'][_0x329060(0x407)]:_0x1d148a[_0x329060(0x2ed)][_0x329060(0x174)];_0x38c05e[_0x329060(0x1fa)](_0x25854e,_0x38c05e[_0x329060(0x1fd)](_0x40b44e));}}else{if(_0x317921&&(_0x29c493===_0x1d148a['PivotTableFiledAreaEnum'][_0x329060(0x407)]||_0x29c493===_0x1d148a[_0x329060(0x2ed)][_0x329060(0x174)])){const _0x1cf205=_0x317921[_0x329060(0x1ef)](),_0x246177=_0x38c05e['getDataFieldByTableId'](_0x1cf205);if(_0x246177&&(_0x246177==null?void 0x0:_0x246177[_0x329060(0x3f3)]())===_0x1d148a[_0x329060(0x27e)][_0x329060(0x184)]){const _0x4cc423=_0x246177[_0x329060(0x1a4)]();if(_0x4cc423&&_0x38c05e[_0x329060(0x412)](_0x317921['getId'](),_0x4cc423),!_0x361aa0[_0x329060(0x1ed)]()[_0x329060(0x400)](_0x1bf9b9=>{const _0x4c5d70=_0x329060,_0x69e6b5=_0x361aa0[_0x4c5d70(0x3ec)](_0x1bf9b9);return _0x1d148a['isDateGroupField'](_0x69e6b5)?_0x69e6b5[_0x4c5d70(0x2dd)]()[_0x4c5d70(0x2f7)]===_0x1fd4b2:!0x1;})){const _0x3265eb=_0x22e758[_0x329060(0x17c)](),_0x5313cf=_0x447ce2(_0x246177['maxDate'],_0x246177[_0x329060(0x23c)]),_0xdca132=_0x246177['getName']()+'\x20-\x20'+_0x1fac8e(this[_0x329060(0x2cd)],_0x5313cf),_0x2ebe74=new _0x1d148a[(_0x329060(0x283))](_0x3265eb,_0xdca132,_0x1d148a['generateHexNumber'](0x3),_0x246177[_0x329060(0x1ef)](),_0x5313cf);_0x22e758[_0x329060(0x1d9)](_0x2ebe74),_0x361aa0[_0x329060(0x426)](_0x3265eb,_0xdca132),_0x38c05e['addFieldWithSourceId'](_0x3265eb,_0x29c493,(_0x4a35ff!=null?_0x4a35ff:0x0)+0x1),_0x17ad80=_0x2ebe74;}}}}const _0x112aed=_0x38c05e[_0x329060(0x173)](),_0x42e1ee=_0x38c05e[_0x329060(0x3f9)]()['toJSON']();let _0x38e35f;if(_0x17ad80){_0x38e35f=_0x17ad80['toJSON']();const _0x2d5678=_0x17ad80['getId']();_0x361aa0[_0x329060(0x190)](_0x2d5678);let _0x1d173a=!0x0;for(const _0xd6cb07 in _0x22e758[_0x329060(0x3c3)])if(_0x22e758['collections'][_0xd6cb07][_0x329060(0x1ed)]()['includes'](_0x2d5678)){_0x1d173a=!0x1;break;}_0x1d173a&&_0x22e758[_0x329060(0x378)](_0x2d5678);}const _0x4d1aa4=_0x38c05e[_0x329060(0x187)]();_0x3c8dd2['addPivotField']={'view':_0x42e1ee,'changesets':_0x4d1aa4,'isEmpty':_0x112aed,'pivotTableConfig':_0x1723bd,'shouldBeAddedGroupJSON':_0x38e35f};}break;case _0x3ca738[_0x329060(0x34c)]:{const _0xc05e23=_0x173a46[_0x329060(0x352)]['addPivotTable'];if(!_0xc05e23)return;const _0x52ec81=_0xc05e23['sourceRangeInfo'],_0x4d61e2=_0xc05e23['pivotTableId'],{collection:_0x22a770}=this[_0x329060(0x15a)]['createCollectionWithDataRange']({'unitId':_0x52ec81[_0x329060(0x329)],'sheetName':_0x52ec81[_0x329060(0x331)],'subUnitId':_0x52ec81[_0x329060(0x1ca)],'range':_0x52ec81[_0x329060(0x3bd)]}),_0xb3f7b2=new _0x1d148a[(_0x329060(0x205))](_0x22a770,void 0x0,_0x4d61e2),_0x5262dc=_0xb3f7b2[_0x329060(0x3f9)](),_0x3a826b=_0xb3f7b2[_0x329060(0x38e)](),_0x235b4e=_0x22a770[_0x329060(0x38e)]();_0x3c8dd2[_0x329060(0x15b)]={'view':_0x5262dc,'fieldsConfig':_0x3a826b,'collectionConfig':_0x235b4e,'isEmpty':_0xb3f7b2[_0x329060(0x173)]()};}break;case _0x3ca738['MovePivotField']:{const _0x23d1d2=_0x173a46['params'][_0x329060(0x30a)];if(!_0x23d1d2)return;const {fieldId:_0x4498ee,area:_0x32cab2,index:_0x4f124a}=_0x23d1d2,_0x35e494=this[_0x329060(0x15a)][_0x329060(0x346)](_0x25bb71,_0x90af25,_0x4eb630);if(!_0x35e494)return;const _0x8da047=this[_0x329060(0x15a)][_0x329060(0x289)](_0x4eb630);if(!_0x8da047)return;_0x8da047[_0x329060(0x398)]();const {area:_0x33c4d9,index:_0x349237}=_0x8da047['getFieldPositionInfoById'](_0x4498ee);if(_0x8da047[_0x329060(0x192)](_0x4498ee,_0x32cab2,_0x4f124a),_0x32cab2===_0x1d148a[_0x329060(0x2ed)]['Value']&&_0x8da047[_0x329060(0x1ad)](_0x4498ee)[_0x329060(0x41c)]()===void 0x0){const _0x10d08e=_0x8da047[_0x329060(0x1ad)](_0x4498ee);if(_0x10d08e&&_0x10d08e[_0x329060(0x41c)]()===void 0x0){const _0x581653=_0x8da047['getDataFieldByTableId'](_0x4498ee);if(_0x581653){const _0x45fa94=_0x581653==null?void 0x0:_0x581653[_0x329060(0x3f3)]();_0x8da047[_0x329060(0x273)](_0x4498ee,_0x45fa94===_0x1d148a[_0x329060(0x27e)][_0x329060(0x409)]?_0x1d148a['PivotSubtotalTypeEnum'][_0x329060(0x3be)]:_0x1d148a[_0x329060(0x170)][_0x329060(0x34e)]);}}}const _0x2fcdce=_0x8da047[_0x329060(0x165)](),_0x5d3d1b=_0x8da047[_0x329060(0x3f4)](),_0x4893db=_0x8da047[_0x329060(0x1fd)](_0x1d148a['PivotTableFiledAreaEnum'][_0x329060(0x3c2)])>0x1;if(_0x4893db&&_0x33c4d9===_0x32cab2&&(_0x32cab2===_0x1d148a[_0x329060(0x2ed)][_0x329060(0x407)]&&_0x2fcdce===_0x1d148a['PivotTableValuePositionEnum'][_0x329060(0x407)]||_0x32cab2===_0x1d148a[_0x329060(0x2ed)][_0x329060(0x174)]&&_0x2fcdce===_0x1d148a[_0x329060(0x34b)][_0x329060(0x174)])){let _0x6bd4ea=_0x5d3d1b;_0x349237<=_0x5d3d1b&&_0x6bd4ea--,_0x4f124a<=_0x5d3d1b&&_0x6bd4ea++,_0x8da047[_0x329060(0x1fa)](_0x2fcdce,_0x6bd4ea);}else _0x4893db&&(_0x33c4d9===_0x1d148a[_0x329060(0x2ed)][_0x329060(0x407)]&&_0x2fcdce===_0x1d148a[_0x329060(0x34b)][_0x329060(0x407)]||_0x33c4d9===_0x1d148a[_0x329060(0x2ed)]['Column']&&_0x2fcdce===_0x1d148a[_0x329060(0x34b)]['Column'])&&_0x5d3d1b>=_0x349237&&_0x8da047[_0x329060(0x1fa)](_0x2fcdce,_0x5d3d1b-0x1),_0x4893db&&(_0x32cab2===_0x1d148a[_0x329060(0x2ed)][_0x329060(0x407)]&&_0x2fcdce===_0x1d148a['PivotTableValuePositionEnum']['Row']||_0x32cab2===_0x1d148a['PivotTableFiledAreaEnum'][_0x329060(0x174)]&&_0x2fcdce===_0x1d148a[_0x329060(0x34b)][_0x329060(0x174)])&&_0x5d3d1b>=_0x4f124a&&_0x8da047[_0x329060(0x1fa)](_0x2fcdce,_0x5d3d1b+0x1);const _0x1b01d5=_0x8da047['query'](),_0x3ad913=_0x8da047[_0x329060(0x173)](),_0x2b1ae3=_0x8da047[_0x329060(0x187)]();_0x3c8dd2[_0x329060(0x30a)]={'view':_0x1b01d5['toJSON'](),'changesets':_0x2b1ae3,'isEmpty':_0x3ad913,'pivotTableConfig':_0x35e494};}break;case _0x3ca738[_0x329060(0x2de)]:{const _0xa83f7e=_0x173a46[_0x329060(0x352)]['removePivotField'];if(!_0xa83f7e)return;const _0x2c38d=_0xa83f7e['fieldIds'],_0x44b942=this[_0x329060(0x15a)]['getPivotTableConfig'](_0x25bb71,_0x90af25,_0x4eb630);if(!_0x44b942)return!0x1;const _0x212e2f=this[_0x329060(0x15a)][_0x329060(0x289)](_0x4eb630);if(!_0x212e2f)return!0x1;_0x212e2f[_0x329060(0x398)]();for(const _0x11a02c of _0x2c38d){const {area:_0xbc310d}=_0x212e2f[_0x329060(0x248)](_0x11a02c);_0xbc310d===_0x1d148a[_0x329060(0x2ed)]['Value']&&_0x212e2f['removeValueFilterInfoByValueFieldId'](_0x11a02c),(_0xbc310d===_0x1d148a[_0x329060(0x2ed)]['Row']||_0xbc310d===_0x1d148a[_0x329060(0x2ed)]['Column'])&&_0x212e2f[_0x329060(0x2df)](_0x11a02c),_0x212e2f['removeField'](_0x11a02c);}const _0x15413a=_0x212e2f[_0x329060(0x173)](),_0x512605=_0x212e2f[_0x329060(0x3f9)]()[_0x329060(0x38e)](),_0x46acdf=_0x212e2f[_0x329060(0x187)]();_0x3c8dd2['removePivotField']={'changesets':_0x46acdf,'pivotTableConfig':_0x44b942,'isEmpty':_0x15413a,'view':_0x512605};}break;case _0x3ca738[_0x329060(0x160)]:{const _0x32e1a6=_0x173a46[_0x329060(0x352)][_0x329060(0x410)];if(!_0x32e1a6)return;const {tableFieldId:_0x4aef51,items:_0x2056c7,isAll:_0x2e27e8}=_0x32e1a6,_0x147624=this['_sheetsPivotDataSourceModel'][_0x329060(0x289)](_0x4eb630),_0x55c8bf=this[_0x329060(0x15a)][_0x329060(0x346)](_0x25bb71,_0x90af25,_0x4eb630);if(!_0x147624||!_0x55c8bf)return;_0x147624[_0x329060(0x398)](),_0x147624[_0x329060(0x2eb)](_0x4aef51,{'type':_0x1d148a[_0x329060(0x1a9)][_0x329060(0x284)],'list':_0x2056c7,'isAll':_0x2e27e8});const _0x4e41de=_0x147624[_0x329060(0x173)](),_0x2a7148=_0x147624['query']()['toJSON'](),_0x40bc0a=_0x147624[_0x329060(0x187)]();_0x3c8dd2[_0x329060(0x410)]={'view':_0x2a7148,'changesets':_0x40bc0a,'isEmpty':_0x4e41de,'pivotTableConfig':_0x55c8bf};}break;case _0x3ca738[_0x329060(0x2ce)]:{const _0x1b5a1f=_0x173a46['params'][_0x329060(0x245)];if(!_0x1b5a1f)return;const {tableFieldId:_0x33e1e1,filterInfo:_0x99bd81}=_0x1b5a1f,_0x5bdbf7=this[_0x329060(0x15a)]['getPivotTableInstance'](_0x4eb630),_0xaecfcd=this[_0x329060(0x15a)][_0x329060(0x346)](_0x25bb71,_0x90af25,_0x4eb630);if(!_0x5bdbf7||!_0xaecfcd)return;_0x5bdbf7[_0x329060(0x398)](),_0x5bdbf7[_0x329060(0x2b6)](_0x33e1e1,_0x99bd81);const _0x2d628b=_0x5bdbf7[_0x329060(0x173)](),_0x2ae3f3=_0x5bdbf7[_0x329060(0x3f9)]()[_0x329060(0x38e)](),_0x5ad2ec=_0x5bdbf7['endCollectChangeset']();_0x3c8dd2[_0x329060(0x245)]={'view':_0x2ae3f3,'changesets':_0x5ad2ec,'isEmpty':_0x2d628b,'pivotTableConfig':_0xaecfcd};}break;case _0x3ca738[_0x329060(0x3c9)]:{const _0x391706=_0x173a46['params'][_0x329060(0x28b)];if(!_0x391706)return;const {tableFieldId:_0x26c698,info:_0x1f5992}=_0x391706,_0x14f77f=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x4eb630),_0x26f137=this[_0x329060(0x15a)][_0x329060(0x346)](_0x25bb71,_0x90af25,_0x4eb630);if(!_0x14f77f||!_0x26f137)return;_0x14f77f['startCollectChangeset'](),_0x14f77f['setSortInfo'](_0x26c698,_0x1f5992);const _0x358845=_0x14f77f['isEmpty'](),_0x38cc11=_0x14f77f['query']()['toJSON'](),_0x12d830=_0x14f77f[_0x329060(0x187)]();_0x3c8dd2[_0x329060(0x28b)]={'view':_0x38cc11,'changesets':_0x12d830,'isEmpty':_0x358845,'pivotTableConfig':_0x26f137};}break;case _0x3ca738[_0x329060(0x304)]:{const _0x25c9c5=_0x173a46[_0x329060(0x352)][_0x329060(0x1ac)];if(!_0x25c9c5)return;const {tableFieldId:_0xbc2b3d,displayName:_0x341c62,subtotalType:_0x1dccce,format:_0x21b385}=_0x25c9c5,_0x4adc8b=this[_0x329060(0x15a)][_0x329060(0x289)](_0x4eb630),_0x3fdcf2=this[_0x329060(0x15a)]['getPivotTableConfig'](_0x25bb71,_0x90af25,_0x4eb630);if(!_0x4adc8b||!_0x3fdcf2)return;_0x4adc8b[_0x329060(0x398)](),_0x341c62!==void 0x0&&_0x4adc8b['renameField'](_0xbc2b3d,_0x341c62),_0x1dccce!==void 0x0&&_0x4adc8b['setSubtotalType'](_0xbc2b3d,_0x1dccce),_0x21b385!==void 0x0&&_0x4adc8b[_0x329060(0x412)](_0xbc2b3d,_0x21b385);const _0x31aa6b=_0x4adc8b['isEmpty'](),_0x4d1808=_0x4adc8b[_0x329060(0x3f9)]()['toJSON'](),_0x128a45=_0x4adc8b['endCollectChangeset']();_0x3c8dd2[_0x329060(0x1ac)]={'changesets':_0x128a45,'pivotTableConfig':_0x3fdcf2,'isEmpty':_0x31aa6b,'view':_0x4d1808};}break;case _0x3ca738['UpdatePivotSource']:{const _0x76e5cf=_0x173a46[_0x329060(0x352)][_0x329060(0x1fc)];if(!_0x76e5cf)return;const {dataRangeInfo:_0x2652f8,unitId:_0x28494c,subUnitId:_0x5e5351}=_0x76e5cf,_0x388eca=this[_0x329060(0x15a)][_0x329060(0x346)](_0x28494c,_0x5e5351,_0x4eb630),_0x44ee87=this[_0x329060(0x15a)][_0x329060(0x289)](_0x4eb630);if(!this[_0x329060(0x15a)]['getCollection'](_0x28494c,_0x4eb630)||!_0x44ee87||!_0x388eca)return;const _0x2ffe0a=this[_0x329060(0x15a)][_0x329060(0x3b4)](_0x28494c,_0x4eb630,_0x2652f8),_0x2c2775=this['_sheetsPivotDataSourceModel']['getCollection'](_0x28494c,_0x4eb630)['toJSON'](),{collection:_0x48fe3a}=this[_0x329060(0x15a)]['createCollectionWithDataRange']({'unitId':_0x2652f8[_0x329060(0x329)],'sheetName':_0x2652f8[_0x329060(0x331)],'subUnitId':_0x2652f8[_0x329060(0x1ca)],'range':_0x2652f8[_0x329060(0x3bd)]}),_0x4ec072=_0x48fe3a[_0x329060(0x38e)]();_0x44ee87[_0x329060(0x398)]();const _0xd0bf88=this[_0x329060(0x15a)][_0x329060(0x35d)](_0x28494c)['getAutoDisplayNameFunction']()||_0x1d148a[_0x329060(0x2c8)];_0x44ee87[_0x329060(0x1e2)](_0x4efbb5=>{const _0x6e1e4f=_0x329060,_0xed93b1=_0x4efbb5['getDataFieldId']();if(!_0x48fe3a[_0x6e1e4f(0x2c6)](_0xed93b1)){const _0x13e902=_0x48fe3a[_0x6e1e4f(0x3a8)](_0x4efbb5[_0x6e1e4f(0x3e0)]());if(_0x13e902){_0x44ee87[_0x6e1e4f(0x32f)](_0x4efbb5[_0x6e1e4f(0x1ef)](),_0x13e902[_0x6e1e4f(0x231)](),_0x13e902[_0x6e1e4f(0x1ef)]());const {area:_0x2d1fa5}=_0x44ee87[_0x6e1e4f(0x248)](_0x4efbb5[_0x6e1e4f(0x1ef)]());let _0x5279da=_0x4efbb5[_0x6e1e4f(0x3e0)]();const _0x1f77f8=_0x4efbb5[_0x6e1e4f(0x3a5)]();if(_0x2d1fa5===_0x1d148a['PivotTableFiledAreaEnum'][_0x6e1e4f(0x3c2)]){const _0x4f7a8d=_0x4efbb5['getSubtotal']();_0x5279da=_0xd0bf88(_0x13e902[_0x6e1e4f(0x231)](),_0x4f7a8d);}_0x1f77f8!==_0x5279da&&_0x44ee87['renameField'](_0x4efbb5[_0x6e1e4f(0x1ef)](),_0x5279da);}else _0x44ee87[_0x6e1e4f(0x1a5)](_0x4efbb5[_0x6e1e4f(0x1ef)]());}});const _0x4e28b8=_0x44ee87[_0x329060(0x173)](),_0x288b4d=_0x44ee87[_0x329060(0x3f9)]()[_0x329060(0x38e)](),_0x21e663=_0x44ee87[_0x329060(0x187)]();_0x3c8dd2['updatePivotSource']={'view':_0x288b4d,'changesets':_0x21e663,'isEmpty':_0x4e28b8,'pivotTableConfig':_0x388eca,'collectionConfig':_0x4ec072,'oldCollectionConfig':_0x2c2775,'deleteIds':_0x2ffe0a};}break;case _0x3ca738[_0x329060(0x44f)]:{const _0x14f76b=_0x173a46[_0x329060(0x352)][_0x329060(0x1fa)];if(!_0x14f76b)return;const {position:_0x2d8815,index:_0x4e922f}=_0x14f76b,_0x4320e6=this['_sheetsPivotDataSourceModel'][_0x329060(0x346)](_0x25bb71,_0x90af25,_0x4eb630);if(!_0x4320e6)return!0x1;const _0x408548=this[_0x329060(0x15a)][_0x329060(0x289)](_0x4eb630);if(!_0x408548)return!0x1;_0x408548[_0x329060(0x398)](),_0x408548[_0x329060(0x1fa)](_0x2d8815,_0x4e922f);const _0x38d3e2=_0x408548['isEmpty'](),_0x1ef893=_0x408548[_0x329060(0x3f9)]()[_0x329060(0x38e)](),_0x596649=_0x408548[_0x329060(0x187)]();_0x3c8dd2[_0x329060(0x1fa)]={'changesets':_0x596649,'pivotTableConfig':_0x4320e6,'isEmpty':_0x38d3e2,'view':_0x1ef893};}break;case _0x3ca738[_0x329060(0x181)]:{const _0x5cf911=_0x173a46[_0x329060(0x352)][_0x329060(0x388)];if(!_0x5cf911)return;const {tableFieldId:_0x2a6a7,collapse:_0x54be40,item:_0x55d1b3}=_0x5cf911,_0x2ecf99=this[_0x329060(0x15a)][_0x329060(0x289)](_0x4eb630),_0x53ed3c=this[_0x329060(0x15a)][_0x329060(0x346)](_0x25bb71,_0x90af25,_0x4eb630);if(!_0x2ecf99||!_0x53ed3c)return;_0x2ecf99[_0x329060(0x398)](),_0x2ecf99[_0x329060(0x244)](_0x2a6a7,_0x54be40,_0x55d1b3);const _0x4f2cdc=_0x2ecf99[_0x329060(0x173)](),_0x6f5539=_0x2ecf99['query']()[_0x329060(0x38e)](),_0x5ef2c0=_0x2ecf99['endCollectChangeset']();_0x3c8dd2[_0x329060(0x388)]={'view':_0x6f5539,'isEmpty':_0x4f2cdc,'pivotTableConfig':_0x53ed3c,'changesets':_0x5ef2c0};}break;case _0x3ca738[_0x329060(0x35b)]:{const _0x26d1f3=_0x173a46[_0x329060(0x352)][_0x329060(0x429)];if(!_0x26d1f3)return;const {pivotTableConfig:_0x4a9741}=_0x26d1f3,_0x4f52a2=this[_0x329060(0x15a)][_0x329060(0x289)](_0x4eb630),_0xf32454=this[_0x329060(0x15a)][_0x329060(0x346)](_0x25bb71,_0x90af25,_0x4eb630);if(!_0x4f52a2||!_0xf32454)return;_0x4f52a2[_0x329060(0x398)](),_0x4021cd(_0x4f52a2,_0x4a9741);const _0x537953=_0x4f52a2[_0x329060(0x173)](),_0x33b87d=_0x4f52a2['query']()['toJSON'](),_0x148bfd=_0x4f52a2['endCollectChangeset']();_0x3c8dd2[_0x329060(0x429)]={'view':_0x33b87d,'isEmpty':_0x537953,'pivotTableConfig':{..._0xf32454,'fieldsConfig':_0x4f52a2[_0x329060(0x38e)]()},'changesets':_0x148bfd};}break;case _0x3ca738[_0x329060(0x36f)]:{const _0x19679c=_0x173a46[_0x329060(0x352)]['resetPivotTable'];if(!_0x19679c)return;const _0x3932ee=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x4eb630),_0x59b3dd=this[_0x329060(0x15a)][_0x329060(0x346)](_0x25bb71,_0x90af25,_0x4eb630);if(!_0x3932ee||!_0x59b3dd)return;_0x3932ee[_0x329060(0x398)](),_0x28c9b4(_0x3932ee,_0x19679c[_0x329060(0x35c)]);const _0xedf8ed=_0x3932ee[_0x329060(0x3f9)]()['toJSON'](),_0x22ded5=_0x3932ee[_0x329060(0x187)]();_0x3c8dd2[_0x329060(0x2c4)]={'view':_0xedf8ed,'isEmpty':!0x0,'pivotTableConfig':{..._0x59b3dd,'fieldsConfig':_0x3932ee[_0x329060(0x38e)]()},'changesets':_0x22ded5};}break;case _0x3ca738[_0x329060(0x1cb)]:{const _0x561dd7=_0x173a46[_0x329060(0x352)]['addPivotTableWithConfig'];if(!_0x561dd7)return;const _0x4a567f=_0x561dd7[_0x329060(0x453)],_0x340a47=_0x561dd7['pivotTableId'],{collection:_0x3b1ecb}=this[_0x329060(0x15a)][_0x329060(0x2aa)]({'unitId':_0x4a567f[_0x329060(0x329)],'sheetName':_0x4a567f['sheetName'],'subUnitId':_0x4a567f[_0x329060(0x1ca)],'range':_0x4a567f['range']}),_0x516c68=new _0x1d148a[(_0x329060(0x205))](_0x3b1ecb,void 0x0,_0x340a47),_0xadb06f=_0x3b1ecb[_0x329060(0x1ed)](),{rows:_0x5bf947,columns:_0x403f04,filters:_0x169ab9,values:_0x24194a}=_0x561dd7[_0x329060(0x3de)];_0x516c68[_0x329060(0x398)]();for(const {field:_0x4309ec,selectedItems:_0x38c120}of _0x5bf947||[]){const _0x231e47=_0xadb06f[_0x4309ec];if(_0x231e47){const _0x32abe7=_0x516c68['addFieldWithSourceId'](_0x231e47,_0x1d148a[_0x329060(0x2ed)][_0x329060(0x407)]);_0x38c120&&_0x32abe7&&_0x516c68[_0x329060(0x2eb)](_0x32abe7[_0x329060(0x1ef)](),{'type':_0x1d148a['PivotFilterTypeEnum']['ManualFilter'],'list':_0x38c120,'isAll':!0x1});}}for(const {field:_0x217a8f,selectedItems:_0x206e33}of _0x403f04||[]){const _0x22ec7b=_0xadb06f[_0x217a8f];if(_0x22ec7b){const _0x4e3010=_0x516c68['addFieldWithSourceId'](_0x22ec7b,_0x1d148a[_0x329060(0x2ed)][_0x329060(0x174)]);_0x206e33&&_0x4e3010&&_0x516c68['setLabelFilterInfo'](_0x4e3010[_0x329060(0x1ef)](),{'type':_0x1d148a['PivotFilterTypeEnum'][_0x329060(0x284)],'list':_0x206e33,'isAll':!0x1});}}for(const {field:_0x1f7ed2,selectedItems:_0x266a04}of _0x169ab9||[]){const _0xaf519c=_0xadb06f[_0x1f7ed2];if(_0xaf519c){const _0x2f2661=_0x516c68[_0x329060(0x256)](_0xaf519c,_0x1d148a['PivotTableFiledAreaEnum'][_0x329060(0x228)]);_0x266a04&&_0x2f2661&&_0x516c68[_0x329060(0x2eb)](_0x2f2661[_0x329060(0x1ef)](),{'type':_0x1d148a['PivotFilterTypeEnum'][_0x329060(0x284)],'list':_0x266a04,'isAll':!0x1});}}for(const {field:_0x139490,subTotalType:_0x661fb1,formatString:_0x3ad869}of _0x24194a||[]){const _0x38c485=_0x3b1ecb[_0x329060(0x3ec)](_0xadb06f[_0x139490]);if(!_0x38c485)continue;const _0x3104e3=_0xadb06f[_0x139490];if(_0x3104e3){const _0x15a672=_0x516c68[_0x329060(0x256)](_0x3104e3,_0x1d148a['PivotTableFiledAreaEnum']['Value']);if(_0x15a672){if(_0x661fb1!==void 0x0){_0x516c68['setSubtotalType'](_0x15a672[_0x329060(0x1ef)](),_0x661fb1);const _0x3372db=this[_0x329060(0x15a)][_0x329060(0x35d)](_0x4a567f[_0x329060(0x329)])[_0x329060(0x349)]()||_0x1d148a[_0x329060(0x2c8)],_0x5f4120=_0x3b1ecb['getDisplayName'](_0x3104e3),_0x2e4dc7=_0x3372db(_0x5f4120,_0x661fb1);_0x516c68[_0x329060(0x185)](_0x15a672[_0x329060(0x1ef)](),_0x2e4dc7);}else{if(_0x38c485){const _0x23fae1=_0x38c485==null?void 0x0:_0x38c485[_0x329060(0x3f3)]();_0x516c68[_0x329060(0x273)](_0x15a672[_0x329060(0x1ef)](),_0x23fae1===_0x1d148a['PivotDataFieldDataTypeEnum'][_0x329060(0x409)]?_0x1d148a[_0x329060(0x170)]['sum']:_0x1d148a[_0x329060(0x170)][_0x329060(0x34e)]);}}_0x3ad869&&_0x516c68[_0x329060(0x412)](_0x15a672[_0x329060(0x1ef)](),_0x3ad869);}}}const _0xe45208=_0x516c68[_0x329060(0x3f9)](),_0x32f8b8=_0x516c68[_0x329060(0x38e)](),_0x1aae3c=_0x516c68['isEmpty'](),_0x1edd86=_0x516c68['endCollectChangeset'](),_0x2d3565=_0x3b1ecb['toJSON']();_0x3c8dd2['addPivotTableWithConfig']={'view':_0xe45208,'fieldsConfig':_0x32f8b8,'collectionConfig':_0x2d3565,'isEmpty':_0x1aae3c,'changesets':_0x1edd86};}break;case _0x3ca738['DrillDown']:{const _0x1929ae=_0x3734ae(this[_0x329060(0x2cd)],_0x173a46);if(!_0x1929ae)return;const {range:_0x2660e2,sourceSubUnitId:_0x77bbc2,sourceUnitId:_0x14b3b3,formatMap:_0x238816,indexes:_0x36da71}=_0x1929ae;_0x3c8dd2[_0x329060(0x21c)]={'range':_0x2660e2,'sourceSubUnitId':_0x77bbc2,'sourceUnitId':_0x14b3b3,'formatMap':_0x238816,'indexes':_0x36da71};}break;}this[_0x329060(0x31d)][_0x329060(0x267)](_0x29dd01['id'],{'version':_0x173a46[_0x329060(0x22f)],'result':_0x3c8dd2},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x143ae1=_0x9268c;this['disposeWithMe'](this[_0x143ae1(0x31d)][_0x143ae1(0x24d)](_0x217f43=>{const _0x3d8a87=_0x143ae1;if(_0x217f43['id']!==_0x499dd5['id'])return;const _0x21cabd=_0x217f43['params'];return this[_0x3d8a87(0x15a)][_0x3d8a87(0x2da)](_0x21cabd[_0x3d8a87(0x3b9)]),!0x0;}));}[_0x9268c(0x223)](){const _0x1bad0d=_0x9268c;this[_0x1bad0d(0x15a)][_0x1bad0d(0x411)]['subscribe'](_0x19beab=>{const _0x5aaf10=_0x1bad0d;switch(_0x19beab['type']){case _0x2f2b6e['add']:_0x19beab[_0x5aaf10(0x235)]&&_0x19beab[_0x5aaf10(0x1bf)]&&this['handleSourceRangeChange'](_0x19beab[_0x5aaf10(0x21a)],_0x19beab[_0x5aaf10(0x235)],_0x19beab[_0x5aaf10(0x1bf)]);break;case _0x2f2b6e[_0x5aaf10(0x37c)]:{const {unitId:_0x1cee3c,subUnitId:_0x2615a3,token:_0x1bc399}=_0x19beab;_0x1cee3c&&_0x2615a3&&_0x1bc399&&this[_0x5aaf10(0x2f3)](_0x1cee3c,_0x2615a3,_0x1bc399);}break;case _0x2f2b6e['update']:{const {token:_0x31e6b8,oldSourceRangeInfo:_0x2efa10,dataRangeInfo:_0x4ed1b0,targetCellInfo:_0x4edd88}=_0x19beab,{unitId:_0x55438a,subUnitId:_0x3a2509}=_0x2efa10||{};_0x55438a&&_0x3a2509&&_0x31e6b8&&this[_0x5aaf10(0x2f3)](_0x55438a,_0x3a2509,_0x31e6b8),_0x4ed1b0&&_0x4edd88&&this[_0x5aaf10(0x1bb)](_0x31e6b8,_0x4ed1b0,_0x4edd88);}break;}});}['_subjectFieldsCollectionChange'](){const _0x59a420=_0x9268c;this['_sheetsPivotDataSourceModel'][_0x59a420(0x440)][_0x59a420(0x282)](_0x346f41=>{const _0x5d1f15=_0x59a420;Object[_0x5d1f15(0x16a)](_0x346f41)[_0x5d1f15(0x3df)](_0x330409=>{const _0x1e6dd6=_0x5d1f15,_0x299c20=this['_sheetsPivotDataSourceModel'][_0x1e6dd6(0x19a)](_0x330409);if(_0x299c20){const _0x145f4e=this[_0x1e6dd6(0x15a)][_0x1e6dd6(0x346)](_0x299c20==null?void 0x0:_0x299c20[_0x1e6dd6(0x329)],_0x299c20==null?void 0x0:_0x299c20[_0x1e6dd6(0x1ca)],_0x330409);_0x145f4e&&(this[_0x1e6dd6(0x1bb)](_0x330409,_0x145f4e[_0x1e6dd6(0x453)],_0x145f4e[_0x1e6dd6(0x1bf)]),this[_0x1e6dd6(0x1d5)]([{'unitId':_0x299c20[_0x1e6dd6(0x329)],'subUnitId':_0x299c20[_0x1e6dd6(0x1ca)],'token':_0x330409}]));}});});}[_0x9268c(0x254)](){const _0x3f107b=_0x9268c;this['_sheetsPivotDataSourceModel']['viewData$'][_0x3f107b(0x282)](_0x53c77d=>{const _0x4004ae=_0x3f107b,{unitId:_0x4923a7,subUnitId:_0x48d357,pivotTableId:_0x43a914}=_0x53c77d;_0x4923a7&&_0x48d357&&_0x43a914&&this[_0x4004ae(0x1d5)]([{'unitId':_0x4923a7,'subUnitId':_0x48d357,'token':_0x43a914}]);});}['triggerDirtyFeature'](_0x558df6){const _0x3882d5=_0x9268c,_0x377c4f={};_0x558df6[_0x3882d5(0x3df)](_0x541b9f=>{var _0x36aad6,_0x29c45d;const {unitId:_0x1b3044,subUnitId:_0x5b709b,token:_0x3e46f4}=_0x541b9f;_0x377c4f[_0x1b3044]=(_0x36aad6=_0x377c4f[_0x1b3044])!=null?_0x36aad6:{},_0x377c4f[_0x1b3044][_0x5b709b]=(_0x29c45d=_0x377c4f[_0x1b3044][_0x5b709b])!=null?_0x29c45d:{},_0x377c4f[_0x1b3044][_0x5b709b][_0x3e46f4]=!0x0;}),this[_0x3882d5(0x31d)]['executeCommand'](_0x3a2ea0['id'],_0x377c4f);}[_0x9268c(0x2f3)](_0xb5e50c,_0x146cdf,_0x5a3142){this['_featureCalculationManagerService']['remove'](_0xb5e50c,_0x146cdf,[_0x5a3142]);}['handleSourceRangeChange'](_0x3373b9,_0x5e8920,_0x11211f){const _0x321d01=_0x9268c,{unitId:_0x36dae9,subUnitId:_0x1edbd8}=_0x5e8920;this[_0x321d01(0x3aa)][_0x321d01(0x2a4)](_0x11211f[_0x321d01(0x329)],_0x11211f[_0x321d01(0x1ca)],_0x3373b9)&&this[_0x321d01(0x2f3)](_0x36dae9,_0x1edbd8,_0x3373b9);const _0x470acc={'sheetId':_0x1edbd8,..._0x5e8920};this[_0x321d01(0x3aa)][_0x321d01(0x33b)](_0x11211f[_0x321d01(0x329)],_0x11211f[_0x321d01(0x1ca)],_0x3373b9,{'unitId':_0x11211f[_0x321d01(0x329)],'subUnitId':_0x11211f['subUnitId'],'dependencyRanges':[_0x470acc],'getDirtyData':(_0xd7bc46,_0xde03d4)=>{const _0x597a87=_0x321d01,_0x39f50a=this['_sheetsPivotDataSourceModel'],_0xd0404f=_0x39f50a[_0x597a87(0x19a)](_0x3373b9);if(!_0xd0404f)return _0x26bdad();const {unitId:_0x4abf0e,subUnitId:_0x515436}=_0xd0404f,_0x383285=_0x3e9a91(_0xd7bc46,_0xde03d4,_0x5e8920);if(_0x383285['length']>0x0){const _0xdf3828=_0x39f50a[_0x597a87(0x35a)](_0x36dae9,_0x3373b9),_0x225c95=_0xdf3828[_0x597a87(0x1ed)](),_0x58b412=this[_0x597a87(0x2a6)](_0x5e8920[_0x597a87(0x329)],_0x5e8920[_0x597a87(0x1ca)],_0xde03d4),_0x50a3af={},_0x318154=this[_0x597a87(0x15a)][_0x597a87(0x35d)](_0x4abf0e)[_0x597a87(0x349)]()||_0x1d148a[_0x597a87(0x2c8)],_0x3e962a=[];for(const _0x242d78 of _0x383285){const _0xb1cc40=_0x242d78-(_0x5e8920[_0x597a87(0x3bd)][_0x597a87(0x1e9)]||0x0),_0xea9e5=_0x225c95[_0xb1cc40];_0x3e962a['push'](_0xea9e5),_0x50a3af[_0xea9e5]=_0xdf3828[_0x597a87(0x3ec)](_0xea9e5)[_0x597a87(0x231)](),_0x39f50a['getDataFieldManager'](_0x36dae9)[_0x597a87(0x457)](_0xea9e5,_0x5e8920,_0xb1cc40,_0x58b412);}_0xdf3828['getGroupFieldsInfoByIds'](_0x3e962a)[_0x597a87(0x3df)](_0x66d41f=>{const _0x39a432=_0x597a87,[_0x20be31,_0xc0d863]=_0x66d41f,_0x19ede4=_0xdf3828[_0x39a432(0x3ec)](_0x20be31),_0x5ad7fd=_0xdf3828[_0x39a432(0x3ec)](_0xc0d863);_0x19ede4&&_0x5ad7fd&&_0x19ede4[_0x39a432(0x455)](_0x5ad7fd);}),_0xdf3828['updateAllDisplayName']();const _0x2d465e=_0x39f50a[_0x597a87(0x289)](_0x3373b9);if(_0x2d465e){_0x21f5c8(_0x2d465e,_0x50a3af,_0x318154),_0x2d465e[_0x597a87(0x3c1)](!0x0);const _0x4427ec=_0x2d465e[_0x597a87(0x3f9)](),_0xc6a652=_0x39f50a['getPivotTableConfig'](_0x4abf0e,_0x515436,_0x3373b9),_0x446ec4=_0x39f50a['getDataFieldManager'](_0x36dae9)['toJSON']();_0x39f50a[_0x597a87(0x1b5)](_0x4abf0e,_0x515436,_0x94aa6e['Set'],_0x3373b9,_0x4427ec,_0xc6a652,_0x446ec4,!0x0);}}return this[_0x597a87(0x20c)](_0x4abf0e,_0x515436,_0x3373b9);}});}['getMatrixFromRunTimeData'](_0x42b614,_0x3f8baa,_0x1e21ab){var _0x48ea22,_0x27ab6d;const {arrayFormulaCellData:_0x108cc7,unitData:_0x1633ef}=_0x1e21ab,_0x22e99c=(_0x48ea22=_0x108cc7==null?void 0x0:_0x108cc7[_0x42b614])==null?void 0x0:_0x48ea22[_0x3f8baa],_0x123696=(_0x27ab6d=_0x1633ef==null?void 0x0:_0x1633ef[_0x42b614])==null?void 0x0:_0x27ab6d[_0x3f8baa];return{'arrayFormulaCellDataMatrix':_0x22e99c,'unitDataMatrix':_0x123696};}[_0x9268c(0x20c)](_0x450f9d,_0x2651bc,_0x4ca366){const _0x389f57=_0x9268c,_0x49e51e=this[_0x389f57(0x15a)][_0x389f57(0x3fa)](_0x450f9d,_0x2651bc,_0x4ca366),_0x28fe82=[],_0x29a1b7=new _0x475d1b[(_0x389f57(0x405))]();if(_0x49e51e){const {rangeCache:_0x39b753,matrix:_0x5c2541,oldRangeCache:_0x39270d,oldMatrix:_0x48c5d2}=_0x49e51e,_0x594643=_0x5608c1(_0x39270d),_0x389825=_0x5608c1(_0x39b753);_0x28fe82[_0x389f57(0x17b)](..._0x389825,..._0x594643),_0x48c5d2&&_0x39270d&&_0x594643[_0x389f57(0x3df)](_0x1d1909=>{const _0x227599=_0x389f57;for(let _0x5cff6f=_0x1d1909[_0x227599(0x2ff)];_0x5cff6f<=_0x1d1909[_0x227599(0x1b9)];_0x5cff6f++)for(let _0x4a4c08=_0x1d1909[_0x227599(0x1e9)];_0x4a4c08<=_0x1d1909[_0x227599(0x277)];_0x4a4c08++)_0x29a1b7['realDeleteValue'](_0x5cff6f,_0x4a4c08);}),_0x5c2541&&_0x389825&&_0x389825[_0x389f57(0x3df)](_0x2053b1=>{const _0x151337=_0x389f57;for(let _0x2e04e3=_0x2053b1[_0x151337(0x2ff)];_0x2e04e3<=_0x2053b1['endRow'];_0x2e04e3++)for(let _0x19686f=_0x2053b1[_0x151337(0x1e9)];_0x19686f<=_0x2053b1['endColumn'];_0x19686f++)_0x29a1b7[_0x151337(0x316)](_0x2e04e3,_0x19686f,_0x5c2541[_0x151337(0x25a)](_0x2e04e3,_0x19686f));});}const _0x88ac48={};return _0x88ac48[_0x450f9d]={[_0x2651bc]:_0x2c3319(_0x28fe82)},{'runtimeCellData':{[_0x450f9d]:{[_0x2651bc]:_0x29a1b7}},'dirtyRanges':_0x88ac48};}[_0x9268c(0x3dc)](){}};_0x5c421c=_0x5a3704([_0xe01a7d(0x0,_0x475d1b[_0x9268c(0x3b0)](_0x29b926[_0x9268c(0x420)])),_0xe01a7d(0x1,_0x475d1b[_0x9268c(0x260)]),_0xe01a7d(0x2,_0x475d1b[_0x9268c(0x3b0)](_0x45a5e0[_0x9268c(0x21e)])),_0xe01a7d(0x3,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b[_0x9268c(0x342)])),_0xe01a7d(0x4,_0x475d1b['Inject'](_0x45a5e0[_0x9268c(0x390)])),_0xe01a7d(0x5,_0x475d1b['Inject'](_0x475d1b[_0x9268c(0x250)]))],_0x5c421c);var _0x102ef5=Object[_0x9268c(0x379)],_0x12eaaf=(_0x2ed33c,_0x2e2bd3,_0x26168a,_0x4fb5df)=>{const _0x508679=_0x9268c;for(var _0x1b89e0=_0x4fb5df>0x1?void 0x0:_0x4fb5df?_0x102ef5(_0x2e2bd3,_0x26168a):_0x2e2bd3,_0x29582e=_0x2ed33c[_0x508679(0x32d)]-0x1,_0x36ec1d;_0x29582e>=0x0;_0x29582e--)(_0x36ec1d=_0x2ed33c[_0x29582e])&&(_0x1b89e0=_0x36ec1d(_0x1b89e0)||_0x1b89e0);return _0x1b89e0;},_0x39f6dc=(_0x34ab4b,_0x559ff1)=>(_0x11edf6,_0x52fada)=>_0x559ff1(_0x11edf6,_0x52fada,_0x34ab4b);let _0x5a61c4=class extends _0x475d1b[_0x9268c(0x158)]{constructor(_0x3f18b0,_0x703603,_0x147a8e,_0x1c329d){const _0x188644=_0x9268c;super(),_0x346b88(this,_0x188644(0x38f),new _0x475d1b[(_0x188644(0x2ba))]()),(this[_0x188644(0x2d4)]=_0x3f18b0,this[_0x188644(0x258)]=_0x703603,this[_0x188644(0x220)]=_0x147a8e,this[_0x188644(0x1d7)]=_0x1c329d,this[_0x188644(0x263)]());}[_0x9268c(0x263)](){const _0x3b4095=_0x9268c;this['disposeWithMe'](this[_0x3b4095(0x258)][_0x3b4095(0x2f9)]({'getMutations':_0x48cf7a=>{const _0x4a25f1=_0x3b4095;if(_0x48cf7a['id']===_0x44476f[_0x4a25f1(0x3ea)]['id']||_0x48cf7a['id']===_0x44476f[_0x4a25f1(0x383)]['id']){const _0x3012b8=[],_0x4b3bdf=[],_0x3db749=this[_0x4a25f1(0x220)]['getCurrentSelections']()['map'](_0x135bc8=>_0x135bc8[_0x4a25f1(0x3bd)]),_0x27621e=_0x44476f[_0x4a25f1(0x340)](this['_univerInstanceService']);if(!_0x27621e)return{'redos':[],'undos':[]};const {unitId:_0xf8915a,subUnitId:_0x37326c}=_0x27621e,_0x163e23={},_0x328580=this[_0x4a25f1(0x1d7)][_0x4a25f1(0x46c)](_0xf8915a,_0x37326c);if(_0x328580!=null&&_0x328580[_0x4a25f1(0x3d7)])for(const [_0x2843bf,_0x3dbe8c]of _0x328580){const {unitId:_0x22e3bf,subUnitId:_0xe2eb4d,row:_0x1c4b13,col:_0x5a0b4b}=_0x3dbe8c[_0x4a25f1(0x1bf)];_0x22e3bf===_0x27621e[_0x4a25f1(0x329)]&&_0xe2eb4d===_0x27621e['subUnitId']&&(_0x163e23[_0x1c4b13+'-'+_0x5a0b4b]=_0x2843bf);}return _0x3db749&&_0x27621e&&_0x3db749['forEach'](_0x395fee=>{const _0x42a733=_0x4a25f1;_0x475d1b[_0x42a733(0x297)][_0x42a733(0x1f7)](_0x395fee,(_0x55bc6e,_0x36d28d)=>{const _0x22c006=_0x42a733,_0x17fa92=_0x55bc6e+'-'+_0x36d28d;if(_0x163e23[_0x17fa92]){const _0x222caa=_0x163e23[_0x17fa92];_0x3012b8['push']({'id':_0x5a8bef['id'],'params':{'unitId':_0xf8915a,'subUnitId':_0x37326c,'pivotTableId':_0x222caa}});const _0x1d3d9d=this[_0x22c006(0x1d7)][_0x22c006(0x35a)](_0xf8915a,_0x222caa),_0x1c91fc=this['_sheetsPivotTableConfigModel'][_0x22c006(0x346)](_0xf8915a,_0x37326c,_0x222caa);_0x4b3bdf['push']({'id':_0x2288ec['id'],'params':{'unitId':_0xf8915a,'subUnitId':_0x37326c,'pivotTableId':_0x222caa,'pivotTableConfig':_0x1c91fc,'collectionConfig':_0x1d3d9d}});}});}),{'redos':_0x3012b8,'undos':_0x4b3bdf};}return{'redos':[],'undos':[]};}}));}};_0x5a61c4=_0x12eaaf([_0x39f6dc(0x0,_0x475d1b[_0x9268c(0x261)]),_0x39f6dc(0x1,_0x475d1b[_0x9268c(0x3b0)](_0x44476f[_0x9268c(0x375)])),_0x39f6dc(0x2,_0x475d1b['Inject'](_0x44476f['SheetsSelectionsService'])),_0x39f6dc(0x3,_0x475d1b[_0x9268c(0x3b0)](_0x29b926['SheetsPivotTableConfigModel']))],_0x5a61c4);var _0x13cba6=Object[_0x9268c(0x379)],_0x108d86=(_0x59f59f,_0x55affd,_0x5af76b,_0x3c3ad2)=>{const _0x58105c=_0x9268c;for(var _0x360bea=_0x3c3ad2>0x1?void 0x0:_0x3c3ad2?_0x13cba6(_0x55affd,_0x5af76b):_0x55affd,_0x20c42c=_0x59f59f[_0x58105c(0x32d)]-0x1,_0x1a973d;_0x20c42c>=0x0;_0x20c42c--)(_0x1a973d=_0x59f59f[_0x20c42c])&&(_0x360bea=_0x1a973d(_0x360bea)||_0x360bea);return _0x360bea;},_0x38b117=(_0x174447,_0x3ce23d)=>(_0x2673b7,_0x116dcc)=>_0x3ce23d(_0x2673b7,_0x116dcc,_0x174447);let _0x91f317=class extends _0x475d1b[_0x9268c(0x158)]{constructor(_0x7d8bcc,_0x486083,_0x2beea1,_0x2cc8de,_0x135c6e,_0x27557e){const _0x58f562=_0x9268c;super(),this['_localeService']=_0x7d8bcc,this[_0x58f562(0x258)]=_0x486083,this[_0x58f562(0x2cd)]=_0x2beea1,this['_univerInstanceService']=_0x2cc8de,this['_sheetsPivotTableConfigModel']=_0x135c6e,this[_0x58f562(0x2b0)]=_0x27557e,this[_0x58f562(0x1d4)]();}[_0x9268c(0x30d)](_0xa43a6f,_0x3a6360,_0x4c281b){const _0x2db51a=_0x9268c,{pageView:_0x42baee,cornerView:_0x5a9f5e,rowView:_0x8f918e,colView:_0x10133f,dataView:_0x2e703c}=_0x3a6360,_0x525b23=_0xa43a6f;let _0x3c68e8;if(_0x4c281b)_0x3c68e8=[..._0x4dd364(_0x525b23)];else{const _0x2e7f7d=_0xc7a07b(_0x525b23,_0x42baee,!0x0),_0x515980=_0x42baee[_0x2db51a(0x16f)]>=0x0?_0x42baee[_0x2db51a(0x16f)]+0x1:0x0,_0x3b4b1d=_0x5a9f5e[_0x2db51a(0x166)],_0x202910=_0x5a9f5e['colCount'],_0x440221=_0x2e7f7d[_0x2db51a(0x32d)]>0x0?_0xe9af5e:0x0,_0x1c6f50=_0xc7a07b({'row':_0x525b23['row']+_0x515980+_0x440221,'col':_0x525b23[_0x2db51a(0x2b7)]},_0x5a9f5e,!0x1,!0x1),_0x5a7622=_0xc7a07b({'row':_0x525b23[_0x2db51a(0x18c)]+_0x515980+_0x440221+_0x3b4b1d,'col':_0x525b23[_0x2db51a(0x2b7)]},_0x8f918e,!0x1,!0x0),_0x5aef9a=_0xc7a07b({'row':_0x525b23[_0x2db51a(0x18c)]+_0x515980+_0x440221,'col':_0x525b23[_0x2db51a(0x2b7)]+_0x202910},_0x10133f,!0x1,!0x0),_0x4b18e2=_0xc7a07b({'row':_0x525b23['row']+_0x515980+_0x440221+_0x3b4b1d,'col':_0x525b23[_0x2db51a(0x2b7)]+_0x202910},_0x2e703c,!0x1,!0x0);_0x3c68e8=[..._0x2e7f7d,..._0x1c6f50,..._0x5a7622,..._0x5aef9a,..._0x4b18e2];}return _0x3c68e8;}[_0x9268c(0x1d4)](){const _0x3133bd=_0x9268c;this[_0x3133bd(0x2c9)](this['_sheetsPivotTableService'][_0x3133bd(0x311)][_0x3133bd(0x1f3)](this[_0x3133bd(0x2b0)][_0x3133bd(0x311)]['getInterceptPoints']()[_0x3133bd(0x22a)],{'handler':(_0x5bd93b,_0x5f02e4)=>{const _0x13523c=_0x3133bd,{cellInfo:_0x534e4c,view:_0x463bd1,isEmpty:_0x204a89}=_0x5f02e4,_0x16200e=_0x534e4c,{unitId:_0x4644e5,subUnitId:_0x40a0ab}=_0x16200e,_0x37f544=this[_0x13523c(0x30d)](_0x534e4c,_0x463bd1,_0x204a89),_0x4742e3=this[_0x13523c(0x258)][_0x13523c(0x221)]({'unitId':_0x4644e5,'subUnitId':_0x40a0ab,'ranges':_0x37f544}),_0x4fae88=_0x3f1ba5(this[_0x13523c(0x2cd)],_0x4644e5,_0x40a0ab,_0x37f544);_0x4fae88['shouldClear']&&(_0x4742e3['redos']['push'](_0x4fae88[_0x13523c(0x15c)]),_0x4742e3[_0x13523c(0x1c7)][_0x13523c(0x17b)](_0x4fae88[_0x13523c(0x422)]));const _0x3db735=this[_0x13523c(0x246)](_0x463bd1,_0x534e4c);return _0x4742e3['redos'][_0x13523c(0x17b)](..._0x3db735[_0x13523c(0x30e)]),_0x4742e3['undos'][_0x13523c(0x17b)](..._0x3db735['undos']),{'redos':_0x4742e3['redos'],'undos':_0x4742e3[_0x13523c(0x1c7)]};}}));}[_0x9268c(0x246)](_0x51f420,_0x542316){const _0x3c50a9=_0x9268c,{col:_0x26c7f3,unitId:_0x4a784e,subUnitId:_0x3535ad}=_0x542316,_0x6fb7d2=[],_0x131b50=[],_0x23eb8f=_0x44476f[_0x3c50a9(0x340)](this[_0x3c50a9(0x2d4)],{'unitId':_0x4a784e,'subUnitId':_0x3535ad});if(!_0x542316||!_0x51f420||!_0x23eb8f)return{'undos':_0x131b50,'redos':_0x6fb7d2};const _0x289142=this['_sheetsPivotTableConfigModel']['getTextInfo'](),{colView:_0xfa6016,dataView:_0x47658d,cornerView:_0x376fc6,rowView:_0x13c759,formatMap:_0x58aded}=_0x51f420,_0x279236=_0x55f414(_0xfa6016,_0x289142,!0x0,_0x58aded),_0x3a0f5a=_0x55f414(_0x13c759,_0x289142,!0x1,_0x58aded),_0x389dba=_0x2cf7ad(_0x47658d),_0x2e19cb=_0x2ea84b(_0x376fc6),{worksheet:_0x1ef12a}=_0x23eb8f;if(typeof window<'u'&&window[_0x3c50a9(0x3d2)]){const _0x2344dd=_0x47785e['getFontStyleString']({..._0x442467[_0x3c50a9(0x3b2)]}),_0x3844bc=_0x47785e[_0x3c50a9(0x157)]['getTextSize'](_0x279236,_0x2344dd)['width']+0x10,_0x4bcffd=_0x47785e[_0x3c50a9(0x157)][_0x3c50a9(0x2ab)](_0x389dba,_0x2344dd)[_0x3c50a9(0x247)],_0x3532b6=Math['floor'](Math[_0x3c50a9(0x328)](_0x3844bc,_0x4bcffd))+0x10,_0x686bec=Math[_0x3c50a9(0x229)](_0x47785e[_0x3c50a9(0x157)][_0x3c50a9(0x2ab)](_0x3a0f5a,_0x2344dd)['width']),_0x2b4874=Math[_0x3c50a9(0x229)](_0x47785e[_0x3c50a9(0x157)][_0x3c50a9(0x2ab)](_0x2e19cb,_0x2344dd)['width']),_0x4d6cf6=Math[_0x3c50a9(0x328)](_0x686bec,_0x2b4874,0x28)+0xc,_0x4c0aef=_0xfa6016['colCount']+_0x376fc6[_0x3c50a9(0x40d)],_0x21f985={},_0x13ecb5={};for(let _0x4f64ac=_0x26c7f3;_0x4f64ac<_0x26c7f3+_0x4c0aef;_0x4f64ac++){const _0x38f1d7=_0x1ef12a[_0x3c50a9(0x276)](_0x4f64ac);_0x21f985[_0x4f64ac]=_0x38f1d7,_0x4f64ac-_0x26c7f3<_0x376fc6['colCount']?_0x13ecb5[_0x4f64ac-_0x26c7f3]=_0x4d6cf6:_0x13ecb5[_0x4f64ac-_0x26c7f3]=_0x3532b6;}_0x6fb7d2['push']({'id':_0x44476f[_0x3c50a9(0x16d)]['id'],'params':{'subUnitId':_0x3535ad,'unitId':_0x4a784e,'ranges':[{'startColumn':_0x26c7f3,'endColumn':_0x26c7f3+_0x4c0aef-0x1,'startRow':0x0,'endRow':_0x1ef12a[_0x3c50a9(0x418)]()-0x1}],'colWidth':_0x13ecb5}}),_0x131b50[_0x3c50a9(0x17b)]({'id':_0x44476f[_0x3c50a9(0x16d)]['id'],'params':{'subUnitId':_0x3535ad,'unitId':_0x4a784e,'ranges':[{'startColumn':_0x26c7f3,'endColumn':_0x26c7f3+_0x4c0aef-0x1,'startRow':0x0,'endRow':_0x1ef12a[_0x3c50a9(0x418)]()-0x1}],'colWidth':_0x21f985}});}return{'undos':_0x131b50,'redos':_0x6fb7d2};}};_0x91f317=_0x108d86([_0x38b117(0x0,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b[_0x9268c(0x3b7)])),_0x38b117(0x1,_0x475d1b[_0x9268c(0x3b0)](_0x44476f[_0x9268c(0x375)])),_0x38b117(0x2,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b[_0x9268c(0x250)])),_0x38b117(0x3,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b[_0x9268c(0x261)])),_0x38b117(0x4,_0x475d1b[_0x9268c(0x3b0)](_0x29b926[_0x9268c(0x15d)])),_0x38b117(0x5,_0x475d1b[_0x9268c(0x3b0)](_0x29b926['SheetsPivotTableService']))],_0x91f317);var _0x1250ec=Object[_0x9268c(0x379)],_0x307282=(_0xb822bb,_0x3f6d96,_0x452d66,_0x479be5)=>{const _0x4224db=_0x9268c;for(var _0x35ed95=_0x479be5>0x1?void 0x0:_0x479be5?_0x1250ec(_0x3f6d96,_0x452d66):_0x3f6d96,_0x265f4a=_0xb822bb[_0x4224db(0x32d)]-0x1,_0x370520;_0x265f4a>=0x0;_0x265f4a--)(_0x370520=_0xb822bb[_0x265f4a])&&(_0x35ed95=_0x370520(_0x35ed95)||_0x35ed95);return _0x35ed95;},_0x229a00=(_0x40123a,_0x50f9e0)=>(_0x106230,_0x30bbd3)=>_0x50f9e0(_0x106230,_0x30bbd3,_0x40123a);let _0xa8891d=class extends _0x475d1b[_0x9268c(0x158)]{constructor(_0x3268a6,_0x1a08cb,_0x327d30,_0x5ea92e,_0x3c1767,_0x1e5842,_0x30f34b){const _0x260990=_0x9268c;super(),_0x346b88(this,_0x260990(0x38f),new _0x475d1b[(_0x260990(0x2ba))]()),(this[_0x260990(0x2cd)]=_0x3268a6,this[_0x260990(0x20d)]=_0x1a08cb,this[_0x260990(0x31d)]=_0x327d30,this[_0x260990(0x2d4)]=_0x5ea92e,this[_0x260990(0x1d7)]=_0x3c1767,this['_sheetsPivotTableAdaptorModel']=_0x1e5842,this['_sheetInterceptorService']=_0x30f34b,this[_0x260990(0x1c6)]());}[_0x9268c(0x1c6)](){const _0x4a12bb=_0x9268c,_0x162c69=(_0x555991,_0x39f5f3)=>{const _0x593ee7=_0x5b70,_0x4e0f67=this[_0x593ee7(0x2d4)][_0x593ee7(0x243)](_0x475d1b[_0x593ee7(0x194)][_0x593ee7(0x461)]);if(!_0x4e0f67||!(_0x4e0f67==null?void 0x0:_0x4e0f67[_0x593ee7(0x171)](_0x39f5f3)))return;this['disposableCollection'][_0x593ee7(0x3dc)]();const _0xe7a2d=_0x300428=>this[_0x593ee7(0x456)](_0x300428,_0x555991,_0x39f5f3),_0x49378c=this['_sheetsPivotTableConfigModel'][_0x593ee7(0x46c)](_0x555991,_0x39f5f3);if(!(_0x49378c!=null&&_0x49378c[_0x593ee7(0x3d7)]))return;Array[_0x593ee7(0x3fd)](_0x49378c[_0x593ee7(0x3c6)]())[_0x593ee7(0x1c5)](_0x299392=>{const _0xc52ce2=_0x593ee7,{row:_0x537bb4,col:_0x522c62}=_0x299392[_0xc52ce2(0x1bf)];return _0x475d1b[_0xc52ce2(0x335)](_0x537bb4,_0x522c62);})[_0x593ee7(0x3df)](_0x487004=>{const _0x1edd08=_0x593ee7;this['disposableCollection'][_0x1edd08(0x156)](this['_refRangeService'][_0x1edd08(0x1cf)](_0x487004,_0xe7a2d,_0x555991,_0x39f5f3));});},_0x4ce297=()=>{const _0x73d80d=_0x5b70,_0x3884a7=this[_0x73d80d(0x2d4)][_0x73d80d(0x243)](_0x475d1b[_0x73d80d(0x194)][_0x73d80d(0x461)]);if(_0x3884a7){const _0x1cfc43=_0x3884a7['getActiveSheet']();if(!_0x1cfc43)return;_0x162c69(_0x3884a7['getUnitId'](),_0x1cfc43[_0x73d80d(0x3e2)]());}};this['disposeWithMe'](this['_commandService'][_0x4a12bb(0x24d)](_0x4c14c2=>{const _0x439725=_0x4a12bb;if(_0x4c14c2['id']===_0x44476f[_0x439725(0x397)]['id']){const _0x39974c=_0x4c14c2[_0x439725(0x352)],_0x26d160=_0x39974c[_0x439725(0x1ca)],_0x1c88ae=_0x39974c[_0x439725(0x329)];if(!_0x26d160||!_0x1c88ae)return;_0x162c69(_0x1c88ae,_0x26d160);}})),this['disposeWithMe'](this[_0x4a12bb(0x1d7)]['pivotInitCompleted$']['subscribe'](_0x46c902=>{_0x46c902&&_0x4ce297();})),this['disposeWithMe'](this['_sheetsPivotTableConfigModel']['pivotConfigChange$'][_0x4a12bb(0x282)](_0xd77ca9=>{const _0x4cf257=_0x4a12bb,_0x5d678e=_0x44476f[_0x4cf257(0x340)](this[_0x4cf257(0x2d4)]);if(!_0x5d678e)return;const {unitId:_0x130945,subUnitId:_0x429cc9}=_0x5d678e,{unitId:_0x844639,subUnitId:_0x30c562}=_0xd77ca9;_0x130945!==_0x844639||_0x429cc9!==_0x30c562||_0x162c69(_0x130945,_0x429cc9);})),_0x4ce297();}[_0x9268c(0x456)](_0x3dce21,_0x446747,_0xd41f8b){const _0x2ccaf3=_0x9268c;switch(_0x3dce21['id']){case _0x44476f[_0x2ccaf3(0x356)]['id']:return this[_0x2ccaf3(0x43b)](_0x3dce21[_0x2ccaf3(0x352)],_0x446747,_0xd41f8b);}return{'redos':[],'undos':[]};}[_0x9268c(0x43b)](_0x4ed1a3,_0x44dd83,_0x56d967){const _0x537fac=_0x9268c,{fromRange:_0x56c2c7,toRange:_0x54ceb1}=_0x4ed1a3,_0x177ba6=[],_0x21efa2=[],_0x1898e1=_0x44476f[_0x537fac(0x340)](this[_0x537fac(0x2d4)]);if(!_0x1898e1)return{'undos':_0x21efa2,'redos':_0x177ba6};if(_0x44dd83!==_0x1898e1[_0x537fac(0x329)]||_0x56d967!==_0x1898e1[_0x537fac(0x1ca)])return{'undos':_0x21efa2,'redos':_0x177ba6};const _0xe8fdd0=this[_0x537fac(0x1d7)][_0x537fac(0x46c)](_0x44dd83,_0x56d967);if(_0xe8fdd0!=null&&_0xe8fdd0[_0x537fac(0x3d7)])for(const [_0x2be3ca,_0x36e13d]of _0xe8fdd0){const {unitId:_0x38cc01,subUnitId:_0x21f723,row:_0x20dae5,col:_0x3b94f5}=_0x36e13d[_0x537fac(0x1bf)];if(_0x38cc01===_0x1898e1[_0x537fac(0x329)]&&_0x21f723===_0x1898e1[_0x537fac(0x1ca)]){const _0x2d1853=_0x475d1b[_0x537fac(0x335)](_0x20dae5,_0x3b94f5);if(_0x475d1b[_0x537fac(0x3a7)][_0x537fac(0x259)](_0x2d1853,_0x56c2c7)){const _0x312de8=_0x20dae5-_0x56c2c7[_0x537fac(0x2ff)],_0x42da2a=_0x3b94f5-_0x56c2c7[_0x537fac(0x1e9)],_0x3e1496={'row':_0x54ceb1[_0x537fac(0x2ff)]+_0x312de8,'col':_0x54ceb1[_0x537fac(0x1e9)]+_0x42da2a};_0x177ba6['push']({'id':_0x3e9757['id'],'params':{'unitId':_0x38cc01,'subUnitId':_0x21f723,'pivotTableId':_0x2be3ca,'targetCellPosition':_0x3e1496}}),_0x21efa2[_0x537fac(0x17b)]({'id':_0x3e9757['id'],'params':{'unitId':_0x38cc01,'subUnitId':_0x21f723,'pivotTableId':_0x2be3ca,'targetCellPosition':{'row':_0x20dae5,'col':_0x3b94f5}}});const _0x518120=_0x3e1496['row']-_0x20dae5,_0x49b516=_0x3e1496[_0x537fac(0x2b7)]-_0x3b94f5,_0x3970be=[],_0x17aa33=this[_0x537fac(0x427)]['getPivotItemRenderInfoCache'](_0x38cc01,_0x21f723,_0x2be3ca),_0xc8b701=_0x17aa33==null?void 0x0:_0x17aa33['rangesInfo'];if(_0xc8b701){Object[_0x537fac(0x16a)](_0xc8b701)[_0x537fac(0x3df)](_0x527646=>{_0xc8b701[_0x527646]['forEach'](_0x289fe4=>{const _0x4f5fe3=_0x5b70,_0x5ea29b={..._0x289fe4};_0x5ea29b[_0x4f5fe3(0x2ff)]=_0x289fe4[_0x4f5fe3(0x2ff)]+_0x518120,_0x5ea29b[_0x4f5fe3(0x1b9)]=_0x289fe4[_0x4f5fe3(0x1b9)]+_0x518120,_0x5ea29b['startColumn']=_0x289fe4[_0x4f5fe3(0x1e9)]+_0x49b516,_0x5ea29b[_0x4f5fe3(0x277)]=_0x289fe4[_0x4f5fe3(0x277)]+_0x49b516,_0x3970be[_0x4f5fe3(0x17b)](_0x5ea29b);});});const _0x295ee0=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x38cc01,'subUnitId':_0x21f723,'ranges':_0x3970be});_0x177ba6[_0x537fac(0x17b)](..._0x295ee0[_0x537fac(0x30e)]),_0x21efa2[_0x537fac(0x17b)](..._0x295ee0['undos']);const _0x2a27f7=_0x3f1ba5(this['_injector'],_0x38cc01,_0x21f723,_0x3970be);_0x2a27f7[_0x537fac(0x46b)]&&(_0x177ba6[_0x537fac(0x17b)](_0x2a27f7[_0x537fac(0x15c)]),_0x21efa2[_0x537fac(0x17b)](_0x2a27f7['setRangeValueUndoMutation']));}}}}return{'redos':_0x177ba6,'undos':_0x21efa2};}};_0xa8891d=_0x307282([_0x229a00(0x0,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b[_0x9268c(0x250)])),_0x229a00(0x1,_0x475d1b[_0x9268c(0x3b0)](_0x44476f[_0x9268c(0x344)])),_0x229a00(0x2,_0x475d1b[_0x9268c(0x342)]),_0x229a00(0x3,_0x475d1b[_0x9268c(0x261)]),_0x229a00(0x4,_0x475d1b[_0x9268c(0x3b0)](_0x29b926[_0x9268c(0x15d)])),_0x229a00(0x5,_0x475d1b['Inject'](_0x29b926['SheetsPivotTableAdaptorModel'])),_0x229a00(0x6,_0x475d1b[_0x9268c(0x3b0)](_0x44476f['SheetInterceptorService']))],_0xa8891d);var _0x35592b=Object[_0x9268c(0x379)],_0x2c8151=(_0x542ea6,_0x14d1b9,_0xde1b5d,_0x437e4e)=>{for(var _0x4e188c=_0x437e4e>0x1?void 0x0:_0x437e4e?_0x35592b(_0x14d1b9,_0xde1b5d):_0x14d1b9,_0x3d22c2=_0x542ea6['length']-0x1,_0x4af8bd;_0x3d22c2>=0x0;_0x3d22c2--)(_0x4af8bd=_0x542ea6[_0x3d22c2])&&(_0x4e188c=_0x4af8bd(_0x4e188c)||_0x4e188c);return _0x4e188c;},_0x5ca6a3=(_0x56ab30,_0x514192)=>(_0x490763,_0x110aa1)=>_0x514192(_0x490763,_0x110aa1,_0x56ab30);let _0x1dec4b=class extends _0x475d1b[_0x9268c(0x158)]{constructor(_0x2064d5,_0x2a82f6){const _0x494de4=_0x9268c;super(),this[_0x494de4(0x258)]=_0x2064d5,this[_0x494de4(0x1d7)]=_0x2a82f6,this['_initRemoveSheetCommandInterceptor']();}['_initRemoveSheetCommandInterceptor'](){const _0x26fac2=_0x9268c;this[_0x26fac2(0x2c9)](this[_0x26fac2(0x258)][_0x26fac2(0x2f9)]({'getMutations':_0xca9e8c=>{const _0x51f116=_0x26fac2;if(_0xca9e8c['id']===_0x44476f[_0x51f116(0x197)]['id']){const _0x2e683f=[],_0x5c5ef2=[],_0x3509a8=_0xca9e8c[_0x51f116(0x352)],{unitId:_0x506dab,subUnitId:_0x17fe16}=_0x3509a8;if(!_0x506dab||!_0x17fe16)return{'undos':_0x5c5ef2,'redos':_0x2e683f};const _0xa40c61=this[_0x51f116(0x1d7)]['getSubUnitPivotConfigs'](_0x506dab,_0x17fe16);if(_0xa40c61!=null&&_0xa40c61[_0x51f116(0x3d7)])for(const [_0x26a41b,_0x19ece]of _0xa40c61){_0x2e683f['push']({'id':_0x5a8bef['id'],'params':{'unitId':_0x506dab,'subUnitId':_0x17fe16,'pivotTableId':_0x26a41b}});const _0x2d099c={...this['_sheetsPivotTableConfigModel'][_0x51f116(0x35a)](_0x506dab,_0x26a41b)};_0x5c5ef2['push']({'id':_0x2288ec['id'],'params':{'unitId':_0x506dab,'subUnitId':_0x17fe16,'pivotTableId':_0x26a41b,'pivotTableConfig':_0x19ece,'collectionConfig':_0x2d099c}});}return{'redos':_0x2e683f,'undos':_0x5c5ef2};}return{'redos':[],'undos':[]};}}));}};_0x1dec4b=_0x2c8151([_0x5ca6a3(0x0,_0x475d1b[_0x9268c(0x3b0)](_0x44476f['SheetInterceptorService'])),_0x5ca6a3(0x1,_0x475d1b[_0x9268c(0x3b0)](_0x29b926[_0x9268c(0x15d)]))],_0x1dec4b);var _0x570a26=Object[_0x9268c(0x379)],_0x54415e=(_0x5db40b,_0x1c38c8,_0x341bde,_0x1e3534)=>{const _0xdabfbd=_0x9268c;for(var _0x56349a=_0x1e3534>0x1?void 0x0:_0x1e3534?_0x570a26(_0x1c38c8,_0x341bde):_0x1c38c8,_0x37ca83=_0x5db40b[_0xdabfbd(0x32d)]-0x1,_0x5d25a2;_0x37ca83>=0x0;_0x37ca83--)(_0x5d25a2=_0x5db40b[_0x37ca83])&&(_0x56349a=_0x5d25a2(_0x56349a)||_0x56349a);return _0x56349a;},_0x4e0ee6=(_0x1bf46e,_0x24101b)=>(_0x20a190,_0x4efb7f)=>_0x24101b(_0x20a190,_0x4efb7f,_0x1bf46e);let _0x59010d=class extends _0x475d1b[_0x9268c(0x158)]{constructor(_0x12a59a,_0xc37116,_0x548a83,_0x165608,_0x1d0333,_0x186e8d){const _0x12ea7c=_0x9268c;super(),this['_commandService']=_0x12a59a,this[_0x12ea7c(0x2d9)]=_0xc37116,this[_0x12ea7c(0x427)]=_0x548a83,this[_0x12ea7c(0x1d7)]=_0x165608,this['_univerInstanceService']=_0x1d0333,this['_activeDirtyManagerService']=_0x186e8d,this['_initDataSendListener'](),this['registerDirtyService']();}[_0x9268c(0x45f)](){const _0x1b156f=_0x9268c;this[_0x1b156f(0x2c9)](this[_0x1b156f(0x31d)][_0x1b156f(0x24d)](_0x178f19=>{const _0x17373a=_0x1b156f;if(_0x178f19['id']!==_0x29dd01['id'])return;const _0x14ebe9=_0x178f19[_0x17373a(0x352)];this[_0x17373a(0x2d9)]['handleAsyncResponse'](_0x14ebe9);})),this[_0x1b156f(0x2c9)](this[_0x1b156f(0x31d)][_0x1b156f(0x24d)](_0x278194=>{const _0x55b987=_0x1b156f;if(_0x278194['id']===_0x2c1bd3['id']){const _0x4bd935=_0x278194['params'];if(_0x4bd935){const {unitId:_0x5a4cdd,subUnitId:_0x4c824c,oldSubUnitId:_0x8ce42,pivotTableId:_0x2233d5,pivotTableConfig:_0x1f0dc2,collectionConfig:_0x109d36}=_0x4bd935;this[_0x55b987(0x1d7)][_0x55b987(0x313)](_0x5a4cdd,_0x8ce42,_0x4bd935[_0x55b987(0x213)],null),this[_0x55b987(0x1d7)][_0x55b987(0x313)](_0x5a4cdd,_0x4c824c,_0x2233d5,_0x1f0dc2),this['_sheetsPivotTableConfigModel'][_0x55b987(0x3c5)](_0x5a4cdd,_0x109d36);}}})),this['disposeWithMe'](this['_commandService'][_0x1b156f(0x24d)](_0x2ac990=>{const _0x1e234a=_0x1b156f;if(_0x2ac990['id']!==_0x421bc0['id'])return;const _0x4e43ef=_0x44476f['getSheetCommandTarget'](this[_0x1e234a(0x2d4)]);if(!_0x4e43ef)return;const {unitId:_0x2c83c2,subUnitId:_0x5ba5c2}=_0x4e43ef,_0x5d15c9=_0x2ac990['params'];if(_0x5d15c9[_0x1e234a(0x39e)]&&Object[_0x1e234a(0x16a)](_0x5d15c9[_0x1e234a(0x39e)])['forEach'](_0xfe4053=>{const _0x34a6c0=_0x1e234a;var _0x19487c;(_0x19487c=_0x5d15c9[_0x34a6c0(0x39e)])!=null&&_0x19487c[_0xfe4053]&&this['_sheetsPivotTableConfigModel'][_0x34a6c0(0x3c5)](_0xfe4053,_0x5d15c9[_0x34a6c0(0x39e)][_0xfe4053]);}),_0x5d15c9['single']){const _0x30a4cd=_0x5d15c9[_0x1e234a(0x467)],{unitId:_0x39fe24,subUnitId:_0x4120d9,view:_0x2581fd,pivotTableId:_0xa7b998,type:_0x571569,pivotConfig:_0x34b990}=_0x30a4cd;if(_0x571569===_0x94aa6e[_0x1e234a(0x22e)])this['_sheetsPivotTableAdaptorModel'][_0x1e234a(0x216)]({'unitId':_0x39fe24,'subUnitId':_0x4120d9,'pivotTableId':_0xa7b998,'type':_0x571569}),this[_0x1e234a(0x1d7)][_0x1e234a(0x313)](_0x39fe24,_0x4120d9,_0xa7b998,null);else{const _0x4fe239=new _0x1d148a[(_0x1e234a(0x442))]();_0x4fe239[_0x1e234a(0x33d)](_0x2581fd),this[_0x1e234a(0x1d7)][_0x1e234a(0x313)](_0x39fe24,_0x4120d9,_0xa7b998,_0x34b990),this[_0x1e234a(0x427)][_0x1e234a(0x216)]({'unitId':_0x39fe24,'subUnitId':_0x4120d9,'pivotTableId':_0xa7b998,'type':_0x571569,'view':_0x4fe239}),this['_sheetsPivotTableAdaptorModel'][_0x1e234a(0x274)]({'unitId':_0x39fe24,'subUnitId':_0x4120d9,'view':_0x4fe239,'pivotTableId':_0xa7b998,'type':_0x571569});}}else _0x5d15c9['batch']&&(_0x5d15c9['batch'][_0x1e234a(0x3df)](_0x2e2bb3=>{const _0x1a87c4=_0x1e234a,{unitId:_0x1246da,subUnitId:_0x576fed,view:_0x52ed91,pivotTableId:_0x5d1230,type:_0x32c389,pivotConfig:_0x15a61e}=_0x2e2bb3,_0x23b4a1=new _0x1d148a['PivotView']();_0x23b4a1[_0x1a87c4(0x33d)](_0x52ed91),this['_sheetsPivotTableConfigModel'][_0x1a87c4(0x313)](_0x1246da,_0x576fed,_0x5d1230,_0x15a61e),this[_0x1a87c4(0x427)][_0x1a87c4(0x274)]({'unitId':_0x1246da,'subUnitId':_0x576fed,'view':_0x23b4a1,'pivotTableId':_0x5d1230,'type':_0x32c389});}),this[_0x1e234a(0x1d7)]['setPivotInitCompleted']());this[_0x1e234a(0x427)][_0x1e234a(0x438)](_0x2c83c2,_0x5ba5c2);}));}[_0x9268c(0x370)](){const _0x14f158=_0x9268c;this['_activeDirtyManagerService'][_0x14f158(0x33b)](_0x3a2ea0['id'],{'commandId':_0x3a2ea0['id'],'getDirtyData'(_0x5ee2a9){const _0x2ee653=_0x14f158;return{'dirtyUnitFeatureMap':_0x5ee2a9[_0x2ee653(0x352)]};}});}};_0x59010d=_0x54415e([_0x4e0ee6(0x0,_0x475d1b['Inject'](_0x475d1b[_0x9268c(0x342)])),_0x4e0ee6(0x1,_0x475d1b[_0x9268c(0x3b0)](_0x29b926[_0x9268c(0x17d)])),_0x4e0ee6(0x2,_0x475d1b['Inject'](_0x29b926[_0x9268c(0x317)])),_0x4e0ee6(0x3,_0x475d1b[_0x9268c(0x3b0)](_0x29b926[_0x9268c(0x15d)])),_0x4e0ee6(0x4,_0x475d1b['Inject'](_0x475d1b[_0x9268c(0x261)])),_0x4e0ee6(0x5,_0x45a5e0[_0x9268c(0x3f2)])],_0x59010d);var _0x41a0f3=Object[_0x9268c(0x2a0)],_0x54400e=Object['getOwnPropertyDescriptor'],_0x24fd30=(_0x42b446,_0x1c8c55,_0x88679d)=>_0x1c8c55 in _0x42b446?_0x41a0f3(_0x42b446,_0x1c8c55,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x88679d}):_0x42b446[_0x1c8c55]=_0x88679d,_0x336c9d=(_0x337229,_0x4af478,_0x4edd5f,_0x30bf16)=>{const _0x3dab52=_0x9268c;for(var _0x1a32df=_0x30bf16>0x1?void 0x0:_0x30bf16?_0x54400e(_0x4af478,_0x4edd5f):_0x4af478,_0x58b947=_0x337229[_0x3dab52(0x32d)]-0x1,_0x8259ad;_0x58b947>=0x0;_0x58b947--)(_0x8259ad=_0x337229[_0x58b947])&&(_0x1a32df=_0x8259ad(_0x1a32df)||_0x1a32df);return _0x1a32df;},_0x14a1fb=(_0x327ea8,_0x146844)=>(_0x51c351,_0x2f5e2e)=>_0x146844(_0x51c351,_0x2f5e2e,_0x327ea8),_0x21976e=(_0x3025ea,_0x2c0a4c,_0x3bcc13)=>_0x24fd30(_0x3025ea,typeof _0x2c0a4c!=_0x9268c(0x207)?_0x2c0a4c+'':_0x2c0a4c,_0x3bcc13);_0x29b926['UniverSheetsPivotTablePlugin']=class extends _0x475d1b[_0x9268c(0x23d)]{constructor(_0xde0736=_0x180b02,_0xef41f8,_0x5c2193,_0x3d6981,_0x139aec){const _0x32c86f=_0x9268c;super(),this[_0x32c86f(0x36a)]=_0xde0736,this[_0x32c86f(0x2cd)]=_0xef41f8,this[_0x32c86f(0x31d)]=_0x5c2193,this[_0x32c86f(0x336)]=_0x3d6981,this[_0x32c86f(0x1a7)]=_0x139aec;const {..._0x3bb044}=_0x475d1b['merge']({},_0x180b02,this['_config']);this['_configService']['setConfig'](_0x571d16,_0x3bb044),this[_0x32c86f(0x359)](),this[_0x32c86f(0x252)]();}['_initConfig'](){const _0x33638a=_0x9268c;var _0x50efee;const _0x4e02e0=(_0x50efee=this[_0x33638a(0x36a)])==null?void 0x0:_0x50efee[_0x33638a(0x353)];this[_0x33638a(0x336)][_0x33638a(0x21b)](_0x1bd950,_0x4e02e0===!0x0);}[_0x9268c(0x413)](){const _0x53e11b=_0x9268c;var _0x3bda03;let _0x10b5da=[];const _0x4beea5=(_0x3bda03=this['_config'])==null?void 0x0:_0x3bda03[_0x53e11b(0x353)];_0x4beea5===!0x0?_0x10b5da=[[_0x29b926[_0x53e11b(0x3c8)]],[_0x29b926['SheetsPivotRPCService']],[_0x59010d],[_0x29b926[_0x53e11b(0x317)]],[_0x29b926[_0x53e11b(0x15d)]],[_0x1dec4b],[_0x5a61c4],[_0xa8891d],[_0x91f317]]:_0x4beea5===!0x1?_0x10b5da=[[_0x29b926['SheetsPivotDataSourceModel']],[_0x5c421c]]:_0x4beea5===void 0x0&&(_0x10b5da=[[_0x29b926[_0x53e11b(0x420)]],[_0x5c421c],[_0x29b926[_0x53e11b(0x3c8)]],[_0x29b926[_0x53e11b(0x17d)]],[_0x59010d],[_0x29b926[_0x53e11b(0x317)]],[_0x29b926[_0x53e11b(0x15d)]],[_0x1dec4b],[_0x5a61c4],[_0xa8891d],[_0x91f317]]),_0x10b5da[_0x53e11b(0x3df)](_0x3014d8=>this[_0x53e11b(0x2cd)][_0x53e11b(0x156)](_0x3014d8)),[_0x5c421c,_0x59010d,_0x29b926[_0x53e11b(0x3c8)],_0x5a61c4,_0x1dec4b,_0xa8891d,_0x91f317][_0x53e11b(0x3df)](_0x4805dd=>{const _0x5be35d=_0x53e11b;this[_0x5be35d(0x2cd)][_0x5be35d(0x2a4)](_0x4805dd)&&this[_0x5be35d(0x2cd)][_0x5be35d(0x3bb)](_0x4805dd);});}[_0x9268c(0x359)](){const _0x3ae7c7=_0x9268c;[_0x1de490,_0x1e70af,_0x3785b0,_0xe702fa,_0x351b41,_0x38d5bf,_0x5eb53,_0x15a8f9,_0x407283,_0x4355ed,_0xc51722,_0x11d2c7,_0x34f389,_0xc0f12b,_0x2288ec,_0x20cf48,_0x5a8bef,_0x56c11b,_0x4bd734,_0x4c2526,_0x13719d,_0x171424,_0xb9bf76,_0x5f0a5e,_0x3e0bbd,_0x50d5f1,_0x3e9757,_0x239074,_0x29dd01,_0x421bc0,_0x170a7e,_0xab0afc,_0x2b2f10,_0x2def0f,_0x499dd5,_0x5c08b3,_0x2703fc,_0x3a2ea0,_0x2c1bd3,_0x46c5bd,_0x5dda94,_0x3c9c58,_0x239d2b][_0x3ae7c7(0x3df)](_0x31a311=>{const _0x5f5b43=_0x3ae7c7;var _0x5ca181;(_0x5ca181=this[_0x5f5b43(0x1a7)])==null||_0x5ca181[_0x5f5b43(0x2b2)](_0x31a311),this[_0x5f5b43(0x31d)][_0x5f5b43(0x1d1)](_0x31a311);});}},_0x21976e(_0x29b926[_0x9268c(0x32c)],_0x9268c(0x291),_0x2ecc25),_0x21976e(_0x29b926['UniverSheetsPivotTablePlugin'],_0x9268c(0x436),_0x475d1b[_0x9268c(0x194)][_0x9268c(0x461)]),_0x29b926[_0x9268c(0x32c)]=_0x336c9d([_0x475d1b['DependentOn'](_0x474209[_0x9268c(0x2dc)]),_0x14a1fb(0x1,_0x475d1b['Inject'](_0x475d1b[_0x9268c(0x250)])),_0x14a1fb(0x2,_0x475d1b[_0x9268c(0x3b0)](_0x475d1b[_0x9268c(0x342)])),_0x14a1fb(0x3,_0x475d1b[_0x9268c(0x260)]),_0x14a1fb(0x4,_0x475d1b[_0x9268c(0x292)](_0x702276[_0x9268c(0x1d0)]))],_0x29b926[_0x9268c(0x32c)]),_0x29b926[_0x9268c(0x2be)]=_0x3785b0,_0x29b926['AddPivotFieldMutation']=_0x56c11b,_0x29b926[_0x9268c(0x1ab)]=_0x1e70af,_0x29b926[_0x9268c(0x236)]=_0x2288ec,_0x29b926[_0x9268c(0x22b)]=_0x1de490,_0x29b926[_0x9268c(0x1be)]=_0xe9af5e,_0x29b926[_0x9268c(0x2f5)]=_0x41ce1b,_0x29b926['MovePivotFieldCommand']=_0xe702fa,_0x29b926['MovePivotTableCommand']=_0x34f389,_0x29b926['PivotDisplayDataType']=_0x3ca738,_0x29b926[_0x9268c(0x1de)]=_0xc0f12b,_0x29b926[_0x9268c(0x2b1)]=_0x94aa6e,_0x29b926[_0x9268c(0x1bd)]=_0x3a2ea0,_0x29b926[_0x9268c(0x1a8)]=_0xb63b0b,_0x29b926[_0x9268c(0x18e)]=_0x351b41,_0x29b926[_0x9268c(0x417)]=_0x171424,_0x29b926[_0x9268c(0x389)]=_0x5a8bef,_0x29b926[_0x9268c(0x3e1)]=_0xb9bf76,_0x29b926[_0x9268c(0x161)]=_0x239d2b,_0x29b926[_0x9268c(0x2d7)]=_0x571d16,_0x29b926[_0x9268c(0x421)]=_0x2ecc25,_0x29b926[_0x9268c(0x450)]=_0x15a8f9,_0x29b926[_0x9268c(0x1ea)]=_0x5f0a5e,_0x29b926[_0x9268c(0x443)]=_0x2def0f,_0x29b926[_0x9268c(0x1e7)]=_0x3c9c58,_0x29b926['SetPivotFilterCommand']=_0x4355ed,_0x29b926['SetPivotFilterMutation']=_0x13719d,_0x29b926[_0x9268c(0x264)]=_0x50d5f1,_0x29b926[_0x9268c(0x41f)]=_0x3e9757,_0x29b926[_0x9268c(0x432)]=_0x407283,_0x29b926[_0x9268c(0x280)]=_0x3e0bbd,_0x29b926[_0x9268c(0x169)]=_0x2b2f10,_0x29b926[_0x9268c(0x2d3)]=_0x46c5bd,_0x29b926['SetPivotValueFilterMutation']=_0x5dda94,_0x29b926[_0x9268c(0x22c)]=_0x5eb53,_0x29b926['UpdateFieldPositionMutation']=_0x170a7e,_0x29b926[_0x9268c(0x451)]=_0xc51722,_0x29b926['UpdatePivotFieldSourceInfoMutation']=_0x2703fc,_0x29b926['UpdatePivotTableSourceRangeCommand']=_0x11d2c7,_0x29b926[_0x9268c(0x434)]=_0x5c08b3,_0x29b926[_0x9268c(0x368)]=_0x38d5bf,_0x29b926[_0x9268c(0x1ba)]=_0xab0afc,_0x29b926[_0x9268c(0x395)]=_0x44fef9,_0x29b926[_0x9268c(0x35f)]=_0x30b5d9,_0x29b926[_0x9268c(0x1c3)]=_0x442467,_0x29b926[_0x9268c(0x269)]=_0x3f1ba5,_0x29b926[_0x9268c(0x338)]=_0xc7a07b,_0x29b926[_0x9268c(0x242)]=_0x4dd364,_0x29b926[_0x9268c(0x308)]=_0x126764,_0x29b926['getInsertRowColMutations']=_0x26091e,_0x29b926[_0x9268c(0x39c)]=_0x289393,_0x29b926['getPivotInfoByLicense']=_0x406235,_0x29b926[_0x9268c(0x424)]=_0x336cf4,_0x29b926[_0x9268c(0x1d2)]=_0x551650,_0x29b926['unionPivotViewRange']=_0x5608c1,Object['defineProperty'](_0x29b926,Symbol[_0x9268c(0x27d)],{'value':_0x9268c(0x40c)});}));function _0x5b70(_0x52c03d,_0x458879){const _0x30ce75=_0x30ce();return _0x5b70=function(_0x5b707d,_0x2829b8){_0x5b707d=_0x5b707d-0x155;let _0x597d9c=_0x30ce75[_0x5b707d];return _0x597d9c;},_0x5b70(_0x52c03d,_0x458879);}function _0x30ce(){const _0x4c8b2d=['dimension','getSheets','rowFields','AsyncInterceptorManager','dispose','removeCollections','pivotTableIndexConfig','forEach','getSourceName','RenamePivotFieldMutation','getSheetId','MonthDate','_initSnapshot','_resourceManagerService','sheet.command.update-pivot-table-source-range','sheets-pivot.cellDateGroupDisplay.yearQuarter','BadReference','getColCount','ClearSelectionContentCommand','handleMoveRange','getFieldById','getFullYear','CustomCommandExecutionError','sheet.mutation.set-pivot-collapse','unshift','sideEffectUpdateWorkerCache','IActiveDirtyManagerService','getFieldDataType','getValueIndex','BehaviorSubject','sheets-pivot.columnName','DataField','result','query','getViewData','sheets-pivot.dateGroup.quarter','_init','from','new','cornerRanges','some','sheets-pivot.averageName','update','getPivotTableIdByCell','addRecord','ObjectMatrix','UniverProLicense','Row','adjustSheetCellData','number','set','amd','Module','colCount','sheet.command.remove-pivot-field','message','setPivotFilter','collectionChange$','setFieldFormat','onStarting','find','ReleaseType','_viewUpdate$','RemovePivotFieldMutation','getRowCount','UniverSheets','viewUpdate$','4UOMKHU','getSubtotal','_viewData','createLabelField','SetPivotPositionMutation','SheetsPivotDataSourceModel','SHEET_PIVOT_TABLE_PLUGIN','setRangeValueUndoMutation','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getPivotTableInfo','IUndoRedoService','addField','_sheetsPivotTableAdaptorModel','Sum\x20of\x20','setPivotTableConfig','getNoUsedDataFieldIds','getRangeStartEndInfo','PivotTableChangeTypeEnum','isDateGroupFieldJSON','grandTotal','sheets-pivot.dateGroup.hourMinute','uniqueDataFieldName','sheets-pivot.minName','SetPivotSortCommand','sheets-pivot.productName','UpdatePivotTableSourceRangeMutation','ΣValue','type','_localeService','markDirty','_pivotConfigChange$','UniverSheetsFilter','getRefRangeMutationsByMoveRange','collapseInfo','removePivotField','data','onQueryStart','fieldsCollectionChange$','SetSheetsFilterRangeMutation','PivotView','SetPivotFieldFormatMutation','RANGE_TYPE','_host','sheets-pivot.emptyPivot.row','PivotErrorTypeEnum','generateHexNumber','fieldIds','sortInfo','28354natiSA','sheet.mutation.add-pivot-table','isPrefixValue','getStyles','UpdateValuePosition','SetPivotCollapseCommand','UpdatePivotFieldSettingCommand','Min\x20of\x20','sourceRangeInfo','valid','refreshGroupField','_refRangeHandle','refreshDataField','sheets-pivot.cellDateGroupDisplay.year','oldMatrix','REF','sheets-pivot.varName','sheet.mutation.pivot-update-field-source-info','oldRangeInfo','forValue','_initDataSendListener','_pivotRenderInfoCache','UNIVER_SHEET','_model','mergeWorksheetSnapshotWithDefault','getPivotTableMatrixInfo','Varp\x20of\x20','_updateModelCache','single','sheets-pivot.subTotal','sheet.mutation.pivot-update-field-position','toString','shouldClear','getSubUnitPivotConfigs','SHEET_PIVOT_IN_MAIN_THREAD','_ensurePivotItemRenderValueMatrixCache','COLUMN','add','FontCache','Disposable','pivotTableConfigs','_sheetsPivotDataSourceModel','addPivotTable','setRangeValueRedoMutation','SheetsPivotTableConfigModel','@univerjs/sheets-filter','CommandType','SetPivotFilter','ResetPivotFieldsConfigCommand','_fieldsCollectionChange$','sheets-pivot.cellDateGroupDisplay.yearMonth','getPivotTableCellData','getValuePosition','rowCount','_collectionConfigModel','refreshData','SetPivotSubtotalTypeMutation','keys','splice','filter','SetWorksheetColWidthMutation','setPivotTable','lastRow','PivotSubtotalTypeEnum','getSheetBySheetId','stringify','isEmpty','Column','lastCol','StdDevp\x20of\x20','_dataFieldManagerCollection','setRangeKeyMap','_globalComputingSrv','format','push','createDataFieldId','SheetsPivotRPCService','getPivotPerformCheck','AddPivotField','YearQuarter','SetPivotCollapse','setRange','Values','date','renameField','getSortInfo','endCollectChangeset','setSourceName','dataFieldManagerConfig','sheets-pivot.cellDateGroupDisplay.date','_queryingMap','row','_requestResolvers','RemovePivotFieldCommand','Existing','deleteField','rowRanges','updateFieldPosition','sheets-pivot.countNumsName','UniverInstanceType','excelDateToUnixMilliseconds','MovePivotField','RemoveSheetCommand','AddField','dataFieldsCollection','getTargetByPivotId','string','CELL_CONTENT','sheets-pivot.cellDateGroupDisplay.quarter','workbook\x20is\x20not\x20found','sheets-pivot.value','substring','New','InsertSheetCommand','getDate','getformat','removeField','getDataFieldId','_dataSyncPrimaryController','PositionType','PivotFilterTypeEnum','3fBOvMV','AddPivotTableCommand','setPivotSetting','getTableFieldById','isValue','parse','_textInfo','options','sheets-pivot.blank','exports','createInterceptorKey','updateView','reset','PivotCellStyleTypeEnum','rangeCache','endRow','UpdateValuePositionMutation','handleSourceRangeChange','value','PivotTableViewDirtyMarkOperation','BLANK_ROW_COUNT','targetCellInfo','getDataFieldItemInfo','sheets-pivot.dateGroup.monthDate','sheets-pivot.cellDateGroupDisplay.month','defaultThemeStyle','generateRandomId','map','_onRefRangeChange','undos','displayName','NAME','subUnitId','AddPivotTableWithConfig','_initViewModelBySheetInterceptor','SetRangeValuesMutation','panel','registerRefRange','DataSyncPrimaryController','registerCommand','transFromCellValue','iterateFieldByArea','_initCommandInterceptListener','triggerDirtyFeature','YearMonth','_sheetsPivotTableConfigModel','viewData$','addDataFieldWithoutUnitInfo','getFilterFieldIdByIndex','getLastRow','_configVersion$','fetchThroughAsyncInterceptors','PivotDrillDownCommand','IExclusiveRangeService','sheet.command.update-pivot-value-position','pushUndoRedo','iterateField','sheet.mutation.set-pivot-option','_subjectFieldsCollectionChange','_ensurePivotMap','fieldsConfig','SetPivotFieldsConfigCommand','PivotDateGroupFieldDateTypeEnum','startColumn','SetPivotCollapseMutation','dataFields','Max\x20of\x20','getFieldIds','filterInfo','getId','INTERCEPTOR_POINT','asObservable','getCellRaw','intercept','_initLocale','Date','Subject','foreach','rangeKeyMap','pivotInitCompleted$','updateValuePosition','_pivotTableMatrixInfo','updatePivotSource','getFieldCountByArea','sheets-pivot.cellDateGroupDisplay.yearMonthDate','parseInt','limit\x20pivot','Tools','getTargetByPivotTableId','IResourceManagerService','level','PivotTable','fetchThroughInterceptors','symbol','_exclusiveRangeService','SetCollapse','381355ZQlETP','30JwjBDh','getDirtyInfo','_refRangeService','fromJSON','isDateValue','862497XqBhws','subTotalStyle','sheet.mutation.add-pivot-field','pivotTableId','onQueryEnd','generateNewSheetName','clearRenderCache','updateViewData','colRanges','_generateUniqueVersion','token','setConfig','drillDown','varp','IFeatureCalculationManagerService','blank','_sheetsSelectionsService','generateMutationsByRanges','addCollectionByJSON','_subjectCollectionChange','@univerjs-pro/license','sheet.command.set-pivot-value-filter','sheets-pivot.countName','fields','Filter','floor','PIVOT_MUTATION_GENERATE','AddPivotTableWithConfigCommand','UpdateDateGroupCommand','getTextInfo','Delete','version','sheet.mutation.update-date-group','getName','clearExclusiveRangesByGroupId','updatePivotTableRangeInfo','ErrorType','dataRangeInfo','AddPivotTableMutation','8199477TlnEbf','slice','forRow','_pivotRenderValueMatrixCache','includes','minDate','Plugin','MUTATION','NORMAL','MAX_SAFE_INTEGER','Column\x20','getEmptyPivotRanges','getCurrentUnitForType','setCollapse','setValuePivotFilter','getAutoFitColumnsMutations','width','getFieldPositionInfoById','split','rangeType','body','Minute','onCommandExecuted','@univerjs/rpc','rowHeaderMap','Injector','object','_initConfig','RemoveSheetMutation','_subjectViewChange','countNums','addFieldWithSourceId','sheets-pivot.sumName','_sheetInterceptorService','intersects','getValue','STRING','Quarter','getUnitId','filterFields','leafStyle','IConfigService','IUniverInstanceService','reduce','_initClearSelectionCommandInterceptor','SetPivotOptionMutation','Count\x20of\x20','getInfo','executeCommand','sheets-pivot.dateGroup.minute','generateSetRangeValueMutations','_ensurePivotTableRangeInfo','_initPivotTextInfo','hasOwnProperty','StdDev\x20of\x20','RemoveSheetsFilterMutation','addExclusiveRange','PivotCallbackEnum','Hour','Average\x20of\x20','setSubtotalType','updateRenderCache','originTargetInfo','getColumnWidth','endColumn','getPivotDirtyViewInfo','_lifecycleService','return\x20','getPivotItemRenderInfoCache','bind','toStringTag','PivotDataFieldDataTypeEnum','queryDirtyPivotTable','SetPivotSortMutation','registerPluginResource','subscribe','DateGroupField','ManualFilter','Total','RemoveRowMutation','_pivotTableInstanceCache','getPivotDisplayConfig','getPivotTableInstance','sheet.mutation.send-pivot-config-local','setPivotSort','NotName','addPivotField','createAsyncInterceptorKey','getSubUnitPivotMatrix','_getAutoName','pluginName','Optional','matrix','updateDirtyPivotTable','isErrorValue','@univerjs/sheets','Range','Style','getMatrixValue','UniverProEnginePivot','sourceName','UniverEngineRender','Month','sequenceExecute','headerMap','defineProperty','function','None','InsertSheetMutation','has','sheet.mutation.remove-group-collection','getMatrixFromRunTimeData','_createExclusiveRange','getIntersectsPivotTable','rangesInfo','createCollectionWithDataRange','getTextSize','DrillDown','colHeaderMap','_globalComputedEndHelpFunc','updateViewInfo','_sheetsPivotTableService','PivotTableOperationEnum','registerSyncingMutations','_pivotInitCompleted$','Collapse','LS_CONFIG_KEY','setValueFilterInfo','col','_viewData$','areaInfo','DisposableCollection','min','UniverEngineFormula','1004688JYURsX','AddPivotFieldCommand','YearMonthDate','@univerjs/core','filterId','sheet.command.set-pivot-collapse','isFeatureAuthorizedWithinTime','resetPivotTable','#e6ebfb','hasField','DataFieldManager','getAutoDisplayName','disposeWithMe','leftOffset','PivotMultipleValueId','getRangeData','_injector','SetValuePivotFilter','DIV_BY_ZERO','getCellMatrix','average','rgb(240,241,243)','SetPivotValueFilterCommand','_univerInstanceService','numfmt','sheets-pivot.cellDateGroupDisplay.hourMinute','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','getColumnCount','_sheetsPivotRpcService','setTextInfo','sheet.operation.pivot-table-view-formula-mark-dirty','UniverLicensePlugin','getFieldInfo','RemovePivotField','removeValueFilterInfo','getFieldFormat','getHeaderMapItem','getFilterInfo','prefix','Year','removePivotTable','_initUnitDisposed','getRangeKey','_deletePivotTableInstanceCache','rangeKey','SetSubtotalType','setLabelFilterInfo','InsertSheetUndoMutationFactory','PivotTableFiledAreaEnum','BaseGroupField','rowInfo','getIndexesByPathStr','_initPivotDataGetListener','needSameDeleteModel','removeSourceRangeChange','getDataFieldByRangeKey','DEFAULT_PIVOT_NUMBER','addCollection','originalFieldId','isColMultiMeasure','interceptCommand','340352mbSrbT','call','broadcastCollectionChange','rxjs','valuePosition','startRow','_ensureViewDataMap','charCodeAt','@univerjs/engine-render','cellValue','SetPivotSetting','setDataRecordCount','sheet.mutation.send-pivot-view-local','Subtotal','getFieldListByArea','sheets-pivot.varpName','movePivotField','entries','getDataFieldByTableId','_getPivotAppliedRanges','redos','valueIndex','sheet.mutation.update-pivot-table-source-range','interceptor','Panel','updateConfigCache','UpdatePivotSource','NotFunction','setValue','SheetsPivotTableAdaptorModel','#1d32e9','removeDataField','#FFFFFF','info','valueFilter','_commandService','custom','SetValueFilter','sheet.command.set-pivot-fields-config','isArray','getFormat','925666kGCSff','sheets-pivot.stdDevpName','getRangeKeyList','NO_COMMERCIAL','getPivotTableModelConfig','max','unitId','updatePivotTableMatrixInfo','getConfig','UniverSheetsPivotTablePlugin','length','sheet.mutation.send-pivot-data-local','updateFieldSourceInfo','RemoveField','sheetName','Add','_updatePivotTableInstanceCache','_ensurePivotItemRenderInfoCache','cellToRange','_configService','registerCallbackWithEvent','getAdjustRangesPosition','existing','Var\x20of\x20','register','Grand\x20Total','formJSON','initDataRanges','name','getSheetCommandTarget','sheets-pivot.emptyPivot.column','ICommandService','sheet.mutation.send-init-pivot-text-local','RefRangeService','6JbSPZB','getPivotTableConfig','next','sheet.mutation.set-pivot-field-subtotal-type','getAutoDisplayNameFunction','getLastCol','PivotTableValuePositionEnum','AddPivotTable','getDataFieldByDataFieldId','count','getOriginFieldId','sheet.command.set-pivot-field-setting','_markDirty$','params','notExecuteFormula','isText','sheet.mutation.remove-pivot-field','MoveRangeCommand','getSubUnitPivotRenderCache','updateDataFieldsCollection','_initRegisterCommand','getCollection','SetPivotTableConfig','resetArea','getDataFieldManager','colInfo','canUsePivot','COMMAND','sheets.tabs.sheet','paths','addPivotTableWithConfig','setDisplayName','getTypeOfUnitDisposed$','measure','setSortInfo','UpdatePivotValuePositionCommand','serializeRangeWithSpreadsheet','_config','sheet.mutation.pivot-update-value-position','sheet.mutation.set-pivot-format','sheets-pivot.dateGroup.month','unshiftString','ResetPivotTable','registerDirtyService','NUMBER','numberToABC','sheet.command.add-pivot-field','valueFields','SheetInterceptorService','sheet.command.update-date-group','configVersion$','deleteDataField','getOwnPropertyDescriptor','pbt','NotNumber','delete','subtotal','ptn','sheet.command.reset-pivot-fields-config','_toJSON','Set','versions','ClearSelectionAllCommand','sheets-pivot.emptyPivot.filter','_pivotTableRangeInfo','markDirty$','addDirtyPivotTable','setPivotCollapse','RemovePivotTableMutation','_ensurePivotTableMatrixInfo','_updateRenderEmptyCache','column','InterceptorEffectEnum','toJSON','disposableCollection','GlobalComputingStatusService','OGPcmWhP\x20pwcrfsmWhP(6WcwPvw,\x20sG26Wcgwf)\x20{\x20\x20\x20\x20mrf\x20{\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x206WcwPvwnPOh3JrmCrrJf\x20=\x206WcwPvw.vs6Wm(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20hrWaWPxwvvJaw\x20=\x20Tld9.sJrvw(Jmh2(6WcwPvwnPOh3JrmCrrJf[U]));\x20\x20\x20\x20\x20\x20\x20\x20WO\x20(!hrWaWPxwvvJaw.Gp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hrWaWPxwvvJaw.Gp\x20=\x209GM2wr(6WcwPvwnPOh3JrmCrrJf[u]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20WvEhrZwr\x20=\x20mfswhO\x20EhrZwr56h2J6lchsw\x20!==\x20\x27GPpwOWPwp\x27\x20&&\x20vw6O\x20WPvmJPcwhO\x20EhrZwr56h2J6lchsw;\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20chPmwbm\x20=\x20WvEhrZwr\x20?\x20vw6O\x20:\x20RWPphR;\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20MwvvJawEhrp\x20=\x20chPmwbm.__BJvw0u__.sJrvw(6WcwPvwnPOh3JrmCrrJf[U]);\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20MwvvJaw\x20=\x20chPmwbm.__ywb__.vmrWPaWOf(MwvvJawEhrp);\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20vWaPJmGrwEhrp\x20=\x20chPmwbm.__BJvw0u__.sJrvw(6WcwPvwnPOh3JrmCrrJf[k]);\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20vWaPJmGrw\x20=\x20chPmwbm.__ywb__.vmrWPaWOf(vWaPJmGrwEhrp);\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20vWaPQJ6Wp\x20=\x20chPmwbm.__twrWOf__(vWaPJmGrw,\x20MwvvJaw,\x20sG26Wcgwf);\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20phMJWP\x20=\x20hrWaWPxwvvJaw.pM;\x20\x20\x20\x20\x20\x20\x20\x20OGPcmWhP\x20WvKhMJWPxJmcXWPa(h3JmmwrP,\x20hyhvm)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20sJmmwrP\x20=\x20h3JmmwrP.rws6Jcw(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20Xhvm\x20=\x20hyhvm.rws6Jcw(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20sJmmwrP3Jrmv\x20=\x20sJmmwrP.vs6Wm(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20Xhvm3Jrmv\x20=\x20Xhvm.vs6Wm(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WO\x20(!sJmmwrP.WPc6Gpwv(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rwmGrP\x20sJmmwrP\x20===\x20Xhvm;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WO\x20(sJmmwrP3Jrmv.6wPamX\x20<\x20U\x20||\x20sJmmwrP3Jrmv[j]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rwmGrP\x20OJ6vw;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20sJmmwrPlGOOWb\x20=\x20sJmmwrP3Jrmv.v6Wcw(A).VhWP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20XhvmlGOOWb\x20=\x20Xhvm3Jrmv.v6Wcw(-sJmmwrP3Jrmv.6wPamX\x20+\x20A).VhWP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rwmGrP\x20sJmmwrPlGOOWb\x20===\x20XhvmlGOOWb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x206wm\x20phMJWPQJ6Wp\x20=\x20(phMJWP\x20&&\x20phMJWP.6wPamX)\x20?\x20phMJWP.vhMw((pMnmwM)\x20=>\x20WvKhMJWPxJmcXWPa(pMnmwM,\x206hcJmWhP.XhvmPJMw))\x20:\x20mrGw;\x20\x20\x20\x20\x20\x20\x20\x20WO\x20(6hcJmWhP.XhvmPJMw\x20===\x20\x276hcJ6Xhvm\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20phMJWPQJ6Wp\x20=\x20mrGw;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20chPvm\x20tJ6Wp\x20=\x20vWaPQJ6Wp\x20&&\x20phMJWPQJ6Wp;\x20\x20\x20\x20\x20\x20\x20\x20rwmGrP\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tJ6Wp,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MwvvJaw:\x20hrWaWPxwvvJaw,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20cJmcX\x20(wrrhr)\x20{\x20\x20\x20\x20\x20\x20\x20\x20rwmGrP\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tJ6Wp:\x20OJ6vw,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MwvvJaw:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','sheets-pivot.dateGroup.hour','dateType','#b2b2b2','applyChangeSet','sheet.command.move-pivot-field','SetWorksheetActiveOperation','startCollectChangeset','fontRenderExtension','_globalSubject','sheets-pivot.grandTotal','getPivotCellInfo','sheets-pivot.dateGroup.yearMonthDate','collectionConfig','concat','error','sheet.command.add-pivot-table','sheet.mutation.get-pivot-data-local','getUnit','getPivotTableRangeInfo','getDisplayName','HourMinute','Rectangle','getDataFieldBySourceName','tableFieldId','_featureCalculationManagerService','getMonth','columnFields','@univerjs/engine-formula','SetFieldFormat','dataFieldId','Inject','RenameField','colStyle','SetOptions','getUpdateRangeDeleteIds','sheet.mutation.remove-pivot-table','_globalComputedStartHelpFunc','LocaleService','FieldsCollection','textInfo','_collectionChange$','get','setPivotInitCompleted','range','sum','setName','contains','setDirty','Value','collections','UniverRpc','updateCollectionConfig','values','@univerjs-pro/engine-pivot','SheetsPivotTableService','SetPivotSort','CellValueType','GrandTotal','sheets-pivot.stdDevName','_deleteModelCache','collection','deleteUnitId','generateNullCell','asyncInterceptor','document','PivotViewCellValueTypeEnum','MIN_SAFE_INTEGER','Div0','sheets-pivot.dateGroup.yearMonth','size'];_0x30ce=function(){return _0x4c8b2d;};return _0x30ce();}
|
|
1
|
+
(function(_0x1bafc7,_0x4cbb17){const _0x1aa134=_0x5549,_0x29fcd6=_0x1bafc7();while(!![]){try{const _0x45a698=-parseInt(_0x1aa134(0x359))/0x1+-parseInt(_0x1aa134(0x284))/0x2+-parseInt(_0x1aa134(0x463))/0x3+parseInt(_0x1aa134(0x464))/0x4+-parseInt(_0x1aa134(0x31b))/0x5+-parseInt(_0x1aa134(0x285))/0x6+-parseInt(_0x1aa134(0x268))/0x7*(-parseInt(_0x1aa134(0x1ce))/0x8);if(_0x45a698===_0x4cbb17)break;else _0x29fcd6['push'](_0x29fcd6['shift']());}catch(_0x433333){_0x29fcd6['push'](_0x29fcd6['shift']());}}}(_0x12df,0xb076b),function(_0x3218de,_0x10e462){const _0x16fc96=_0x5549;typeof exports=='object'&&typeof module<'u'?_0x10e462(exports,require(_0x16fc96(0x35e)),require('@univerjs/core'),require(_0x16fc96(0x350)),require(_0x16fc96(0x46a)),require(_0x16fc96(0x221)),require(_0x16fc96(0x46f)),require('@univerjs/sheets-filter'),require(_0x16fc96(0x3b0)),require(_0x16fc96(0x235))):typeof define==_0x16fc96(0x20c)&&define[_0x16fc96(0x37f)]?define([_0x16fc96(0x197),_0x16fc96(0x35e),_0x16fc96(0x1f9),_0x16fc96(0x350),'@univerjs/sheets',_0x16fc96(0x221),_0x16fc96(0x46f),_0x16fc96(0x1f4),_0x16fc96(0x3b0),_0x16fc96(0x235)],_0x10e462):(_0x3218de=typeof globalThis<'u'?globalThis:_0x3218de||self,_0x10e462(_0x3218de['UniverProSheetsPivot']={},_0x3218de[_0x16fc96(0x32d)],_0x3218de[_0x16fc96(0x380)],_0x3218de[_0x16fc96(0x18d)],_0x3218de[_0x16fc96(0x42d)],_0x3218de[_0x16fc96(0x221)],_0x3218de[_0x16fc96(0x33e)],_0x3218de[_0x16fc96(0x44c)],_0x3218de[_0x16fc96(0x2cc)],_0x3218de[_0x16fc96(0x307)]));}(this,function(_0x35c787,_0x426cf2,_0x6ffa6d,_0x3e6642,_0x2361cb,_0xcfe6e1,_0x225f82,_0x355c14,_0x217075,_0x2675f0){'use strict';const _0x6f5ed9=_0x5549;var _0xef0906=Object[_0x6f5ed9(0x304)],_0x246966=(_0xa346a,_0x10586f,_0x43f8d6)=>_0x10586f in _0xa346a?_0xef0906(_0xa346a,_0x10586f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43f8d6}):_0xa346a[_0x10586f]=_0x43f8d6,_0x47a2cd=(_0x257a31,_0x3aeaa8,_0x45ca6d)=>_0x246966(_0x257a31,typeof _0x3aeaa8!='symbol'?_0x3aeaa8+'':_0x3aeaa8,_0x45ca6d);const _0x1a1fcb=Number[_0x6f5ed9(0x2bd)](0x68139d2d),_0x10b9c0=0x10,_0x7f0533=0x1,_0x33898b='SHEET_PIVOT_TABLE_PLUGIN',_0x523e5a=0x1,_0x153431=_0x6f5ed9(0x303),_0x272524=_0x6f5ed9(0x1ec),_0xa422e9='#b2b2b2',_0x387636=_0x6f5ed9(0x27f),_0x4914e4=_0x6f5ed9(0x27f),_0x58a306='#eceeff',_0x5b7ed4=_0x6f5ed9(0x37b),_0x52857e=_0x6f5ed9(0x48c),_0x264153='#e6ebfa',_0x1f3b15=_0x6f5ed9(0x37b),_0x3212a2=_0x6f5ed9(0x48c),_0x45cfa4=_0x6f5ed9(0x43b),_0x5a5848=0xe,_0x164e72=0x6;var _0x202116=(_0x45f337=>(_0x45f337[_0x6f5ed9(0x30c)]=_0x6f5ed9(0x188),_0x45f337[_0x6f5ed9(0x243)]='new',_0x45f337))(_0x202116||{});const _0x1a58d5={'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':''}}},_0x399e9d=0x1e,_0xe02e1c={'b':{'s':0x1,'cl':{'rgb':_0xa422e9}},'l':{'s':0x1,'cl':{'rgb':_0xa422e9}},'r':{'s':0x1,'cl':{'rgb':_0xa422e9}},'t':{'s':0x1,'cl':{'rgb':_0xa422e9}}},_0xe319e1={'bg':{'rgb':_0x153431},'ht':0x2,'vt':0x2,'tb':0x1},_0xcc6d25={'bg':{'rgb':_0x272524},'ht':0x2,'vt':0x2,'tb':0x1},_0x2f0b61={'rowStyle':{'bg':{'rgb':_0x45cfa4},'bd':_0xe02e1c,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x1f3b15},'bd':null,'cl':{'rgb':_0x3212a2},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0xe02e1c,'bg':{'rgb':_0x264153},'vt':0x2},'cornerStyle':{'bd':_0xe02e1c,'bg':{'rgb':_0x58a306},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0xe02e1c,'bg':{'rgb':_0x387636},'vt':0x2},'leafStyle':{'bd':_0xe02e1c,'bg':{'rgb':_0x4914e4},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x5b7ed4},'cl':{'rgb':_0x52857e},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0xe02e1c,'vt':0x2}};function _0x55907e(_0x485475,_0x912f86,_0x123c4d){const _0x1c7e24=_0x6f5ed9,_0x300705=_0x485475[_0x1c7e24(0x446)](_0x6ffa6d[_0x1c7e24(0x2aa)]),_0x4200cb=_0x123c4d[_0x1c7e24(0x215)]('_');switch(_0x912f86){case _0x426cf2['PivotDateGroupFieldDateTypeEnum'][_0x1c7e24(0x34c)]:return _0x300705['t'](_0x1c7e24(0x396),..._0x4200cb);case _0x426cf2['PivotDateGroupFieldDateTypeEnum'][_0x1c7e24(0x379)]:return _0x300705['t'](_0x1c7e24(0x399),..._0x4200cb);case _0x426cf2[_0x1c7e24(0x388)][_0x1c7e24(0x3d5)]:return _0x300705['t'](_0x1c7e24(0x3f9),..._0x4200cb);case _0x426cf2['PivotDateGroupFieldDateTypeEnum'][_0x1c7e24(0x212)]:return _0x300705['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x4200cb);case _0x426cf2[_0x1c7e24(0x388)][_0x1c7e24(0x29e)]:return _0x300705['t'](_0x1c7e24(0x18f),..._0x4200cb);case _0x426cf2[_0x1c7e24(0x388)][_0x1c7e24(0x336)]:return _0x300705['t'](_0x1c7e24(0x363),..._0x4200cb);case _0x426cf2['PivotDateGroupFieldDateTypeEnum'][_0x1c7e24(0x404)]:return _0x300705['t'](_0x1c7e24(0x468),..._0x4200cb);case _0x426cf2[_0x1c7e24(0x388)][_0x1c7e24(0x40e)]:return _0x300705['t'](_0x1c7e24(0x3a2),..._0x4200cb);case _0x426cf2[_0x1c7e24(0x388)][_0x1c7e24(0x3d8)]:return _0x300705['t'](_0x1c7e24(0x241),..._0x4200cb);case _0x426cf2['PivotDateGroupFieldDateTypeEnum']['YearQuarter']:return _0x300705['t'](_0x1c7e24(0x1be),..._0x4200cb);}return'';}const _0x3ead80=(_0x346240,_0x4ad847,_0x3cb25f,_0x39e57a)=>{const _0x453afc=_0x6f5ed9;let _0x5c57b6;const _0x245c0a=_0x346240[_0x453afc(0x446)](_0x6ffa6d['IUniverInstanceService'])[_0x453afc(0x362)](_0x6ffa6d[_0x453afc(0x19f)][_0x453afc(0x335)]);if(!_0x245c0a)return null;const _0x133b12=_0x245c0a[_0x453afc(0x3aa)]();let _0x4fe2c0;if(_0x3cb25f&&(_0x4fe2c0=_0x133b12[_0x453afc(0x41e)](_0x3cb25f)),_0x4ad847!=null&&_0x4ad847['v']||(_0x4ad847==null?void 0x0:_0x4ad847['v'])===0x0){_0x5c57b6||(_0x5c57b6={});const _0x5edb7a=_0x7be21d(_0x4ad847['v']);typeof _0x5edb7a=='number'?_0x5c57b6['t']=_0x6ffa6d[_0x453afc(0x326)][_0x453afc(0x407)]:typeof _0x5edb7a==_0x453afc(0x179)&&(_0x5c57b6['t']=_0x6ffa6d[_0x453afc(0x326)][_0x453afc(0x3c9)]),_0x5c57b6['v']=_0x5edb7a;}if((_0x4ad847!=null&&_0x4ad847['i']||(_0x4ad847==null?void 0x0:_0x4ad847['i'])===0x0)&&(_0x5c57b6||(_0x5c57b6={}),_0x5c57b6['fi']=_0x4ad847['i']),_0x4ad847!=null&&_0x4ad847['s']&&(_0x5c57b6||(_0x5c57b6={}),_0x5c57b6['pbt']=_0x4ad847['s']),_0x3cb25f&&(_0x5c57b6||(_0x5c57b6={}),_0x5c57b6['s']=_0x4fe2c0),_0x39e57a&&_0x5c57b6!=null&&_0x5c57b6['v']&&_0x5c57b6[_0x453afc(0x28e)]!==_0x426cf2[_0x453afc(0x428)][_0x453afc(0x246)]&&_0x5c57b6[_0x453afc(0x28e)]!==_0x426cf2['PivotCellStyleTypeEnum'][_0x453afc(0x19c)]){const _0xcecef4=String(_0x5c57b6['v']),{dateType:_0x2d7b6c}=_0x39e57a;_0x5c57b6['v']=_0x55907e(_0x346240,_0x2d7b6c,_0xcecef4),_0x5c57b6['t']=_0x6ffa6d['CellValueType'][_0x453afc(0x3c9)];}return _0x5c57b6;},_0x161c8f=(_0x14bc01,_0x4a61de,_0x2b4f61,_0x47b050)=>{const _0x2fe39b=_0x6f5ed9;var _0x51ae21,_0x53b186,_0x845a07,_0x15bdfb,_0x5b25a5,_0x2b88fd,_0x541ef8,_0x1c6401,_0x52a905,_0x2fe233,_0x1888a7,_0x24675d,_0x4b9622,_0x53a1ab;const _0x38ee23=_0x2b4f61[_0x2fe39b(0x1fb)],{cornerView:_0x5858d6,rowView:_0x311a01,colView:_0x226187,dataView:_0x2f8460,pageView:_0x188990,formatMap:_0x16cc7e,groupInfo:_0x3d6958}=_0x4a61de,{row:_0x3a7488,col:_0x17ee02}=_0x38ee23,_0x3f1f40=new _0x6ffa6d[(_0x2fe39b(0x291))](),_0x5d7da8={},_0x31908d={},_0x47bf24={},_0x46aa1e={},_0x7ef205={};let _0x54f97a=_0x3a7488,_0x158987=_0x17ee02;Object[_0x2fe39b(0x1b3)](_0x188990[_0x2fe39b(0x2b4)])[_0x2fe39b(0x3a7)](_0x1f715d=>{const _0x11a1d9=_0x2fe39b;Object[_0x11a1d9(0x1b3)](_0x188990[_0x11a1d9(0x2b4)][Number(_0x1f715d)])['forEach'](_0x45504a=>{const _0x42a28c=_0x11a1d9,_0x241e5f={..._0x188990['data'][Number(_0x1f715d)][Number(_0x45504a)]};_0x3f1f40[_0x42a28c(0x41e)](Number(_0x1f715d)+_0x54f97a,Number(_0x45504a)+_0x158987,_0x3ead80(_0x14bc01,_0x241e5f,_0x2f0b61[_0x42a28c(0x1a1)]));});});const _0x1d4876=Object['keys'](_0x188990[_0x2fe39b(0x2b4)])['length'];_0x54f97a+=_0x1d4876+(_0x1d4876?_0x523e5a:0x0);const _0x5f5cac=_0x5858d6[_0x2fe39b(0x471)](),_0x1a5431=_0x5858d6[_0x2fe39b(0x280)]();for(let _0xa54549=0x0;_0xa54549<_0x5f5cac;_0xa54549++)for(let _0x4e1bc9=0x0;_0x4e1bc9<_0x1a5431;_0x4e1bc9++){const _0xa2ff44={...(_0x53b186=(_0x51ae21=_0x5858d6[_0x2fe39b(0x2b4)])==null?void 0x0:_0x51ae21[_0xa54549])==null?void 0x0:_0x53b186[_0x4e1bc9]};_0xa2ff44&&((_0x845a07=_0x311a01['headerMap'][_0x4e1bc9])!=null&&_0x845a07[_0x2fe39b(0x417)])&&_0x4e1bc9===_0x1a5431-0x1&&_0xa54549===_0x5f5cac-0x1&&(_0xa2ff44['v']=''+_0x47b050[_0x2fe39b(0x3e5)]),_0x3f1f40[_0x2fe39b(0x41e)](_0xa54549+_0x54f97a,_0x4e1bc9+_0x158987,_0x3ead80(_0x14bc01,_0xa2ff44,_0x2f0b61[_0x2fe39b(0x385)]));}for(let _0x8baf2e=0x0;_0x8baf2e<_0x5858d6[_0x2fe39b(0x3ce)][_0x2fe39b(0x293)];_0x8baf2e++)_0x5858d6[_0x2fe39b(0x3ce)][_0x8baf2e]&&(_0x47bf24[''+(_0x8baf2e+_0x158987)]=_0x5858d6['info'][_0x8baf2e]);_0x158987+=_0x1a5431;const _0x49fb2f=_0x226187['headerMap'],_0x33eaee=_0x226187[_0x2fe39b(0x48f)]()>=0x0?_0x226187[_0x2fe39b(0x48f)]()+0x1:0x0,_0x32c1cd=_0x226187[_0x2fe39b(0x479)]()>=0x0?_0x226187['getLastCol']()+0x1:0x0;for(let _0x18be35=0x0;_0x18be35<_0x32c1cd;_0x18be35++){for(let _0x118036=0x0;_0x118036<_0x33eaee;_0x118036++){const _0x4658f8={...(_0x5b25a5=(_0x15bdfb=_0x226187[_0x2fe39b(0x2b4)])==null?void 0x0:_0x15bdfb[_0x118036])==null?void 0x0:_0x5b25a5[_0x18be35]},_0x3c1248=(_0x2b88fd=_0x49fb2f[_0x118036])==null?void 0x0:_0x2b88fd['tableFieldId'],_0x3f4e51=_0x16cc7e[_0x3c1248],_0x3dbf4c=_0x3d6958[_0x3c1248];_0x4658f8&&(_0x4658f8['v']=_0x324cc3(_0x4658f8,_0x118036===0x0&&((_0x541ef8=_0x226187[_0x2fe39b(0x273)](_0x18be35+0x1))==null?void 0x0:_0x541ef8['isValue']),_0x3f4e51,_0x47b050));let _0x5070ed;_0x3f4e51?_0x5070ed={..._0x2f0b61[_0x2fe39b(0x3b2)],'n':{'pattern':_0x3f4e51}}:_0x5070ed={..._0x2f0b61[_0x2fe39b(0x3b2)]},_0x3f1f40['setValue'](_0x118036+_0x54f97a,_0x18be35+_0x158987,_0x3ead80(_0x14bc01,_0x4658f8,_0x5070ed,_0x3dbf4c));}_0x226187[_0x2fe39b(0x3ce)][_0x18be35]&&(_0x31908d[''+(_0x18be35+_0x158987)]=_0x226187[_0x2fe39b(0x3ce)][_0x18be35]),_0x226187['headerMap'][_0x18be35+0x1]&&(_0x7ef205[''+(_0x18be35+_0x54f97a+0x1)]=_0x226187[_0x2fe39b(0x447)][_0x18be35+0x1]);}_0x54f97a+=_0x5f5cac;const _0x495cf3=_0x311a01[_0x2fe39b(0x447)],_0x20edde=_0x311a01[_0x2fe39b(0x48f)]()>=0x0?_0x311a01[_0x2fe39b(0x48f)]()+0x1:0x0,_0x39dd58=_0x311a01[_0x2fe39b(0x479)]()>=0x0?_0x311a01[_0x2fe39b(0x479)]()+0x1:0x0;for(let _0x473e38=0x0;_0x473e38<_0x20edde;_0x473e38++){for(let _0x49ae68=0x0;_0x49ae68<_0x39dd58;_0x49ae68++){const _0x3a4e00={...(_0x52a905=(_0x1c6401=_0x311a01[_0x2fe39b(0x2b4)])==null?void 0x0:_0x1c6401[_0x473e38])==null?void 0x0:_0x52a905[_0x49ae68]},_0x2711b0=(_0x2fe233=_0x495cf3[_0x49ae68])==null?void 0x0:_0x2fe233[_0x2fe39b(0x1ad)],_0x397944=_0x16cc7e[_0x2711b0],_0x31aa5c=_0x3d6958[_0x2711b0];_0x3a4e00&&(_0x3a4e00['v']=_0x324cc3(_0x3a4e00,!0x1,_0x397944,_0x47b050));let _0x49364e;_0x311a01[_0x2fe39b(0x3ce)][_0x473e38][_0x2fe39b(0x244)]===_0x311a01['getColCount']()?_0x49364e=_0x2f0b61['leafStyle']:_0x311a01[_0x2fe39b(0x3ce)][_0x473e38][_0x2fe39b(0x1fa)]?_0x49364e=_0x311a01[_0x2fe39b(0x3ce)][_0x473e38][_0x2fe39b(0x244)]===0x0?_0x2f0b61[_0x2fe39b(0x333)]:_0x2f0b61[_0x2fe39b(0x210)]:_0x49364e=_0x2f0b61['rowStyle'],_0x397944&&(_0x49364e={..._0x49364e,'n':{'pattern':_0x397944}}),_0x3f1f40[_0x2fe39b(0x41e)](_0x473e38+_0x54f97a,_0x49ae68+_0x17ee02,_0x3ead80(_0x14bc01,_0x3a4e00,_0x49364e,_0x31aa5c));}_0x311a01[_0x2fe39b(0x3ce)][_0x473e38]&&(_0x5d7da8[''+(_0x473e38+_0x54f97a)]=_0x311a01[_0x2fe39b(0x3ce)][_0x473e38]),_0x311a01[_0x2fe39b(0x447)][_0x473e38]&&(_0x46aa1e[''+(_0x473e38+_0x17ee02)]=_0x311a01[_0x2fe39b(0x447)][_0x473e38]);}const _0x3b3d80=_0x2f8460[_0x2fe39b(0x471)](),_0x5946ee=_0x2f8460[_0x2fe39b(0x280)]();for(let _0x545153=0x0;_0x545153<_0x3b3d80;_0x545153++)for(let _0xbb69e0=0x0;_0xbb69e0<_0x5946ee;_0xbb69e0++){const _0x465373={...(_0x24675d=(_0x1888a7=_0x2f8460['data'])==null?void 0x0:_0x1888a7[_0x545153])==null?void 0x0:_0x24675d[_0xbb69e0]};let _0xf76bbf;_0x311a01[_0x2fe39b(0x3ce)][_0x545153][_0x2fe39b(0x1fa)]?_0xf76bbf=_0x311a01['info'][_0x545153]['level']===0x0?_0x2f0b61['grandTotal']:_0x2f0b61[_0x2fe39b(0x210)]:_0xf76bbf=_0x2f0b61[_0x2fe39b(0x227)];const _0x273372=_0x311a01[_0x2fe39b(0x3ce)][_0x545153][_0x2fe39b(0x43e)],_0x16357e=_0x226187[_0x2fe39b(0x3ce)][_0xbb69e0]['valueIndex'],_0x4770d2=Math[_0x2fe39b(0x387)](_0x273372,_0x16357e),_0x375c52=_0x2b4f61[_0x2fe39b(0x427)][_0x2fe39b(0x2a5)][_0x2fe39b(0x36a)]();let _0x1389a6='';_0x4770d2<0x0?_0x1389a6=(_0x4b9622=_0x375c52[0x0])!=null?_0x4b9622:'':_0x1389a6=(_0x53a1ab=_0x375c52[_0x4770d2])!=null?_0x53a1ab:'';const _0x2f2912=_0x16cc7e[_0x1389a6];_0x2f2912&&(_0xf76bbf={..._0xf76bbf,'n':{'pattern':_0x2f2912}}),_0x3f1f40['setValue'](_0x545153+_0x54f97a,_0xbb69e0+_0x158987,_0x3ead80(_0x14bc01,_0x465373,_0xf76bbf));}return{'valueMatrix':_0x3f1f40,'rowInfo':_0x5d7da8,'colInfo':_0x31908d,'cornerInfo':_0x47bf24,'rowHeaderMap':_0x46aa1e,'colHeaderMap':_0x7ef205};};function _0x324cc3(_0x5d8bff,_0x2bbbcd,_0xee115b,_0x1fde32){const _0x20e036=_0x6f5ed9;let _0xfba23a=_0x5d8bff['v'];_0x2bbbcd&&(_0xfba23a=''+_0x1fde32[_0x20e036(0x3e5)]);const _0x2d0764=_0x5d8bff['t']&&(_0x5d8bff['t']&_0x426cf2[_0x20e036(0x277)][_0x20e036(0x33c)])>0x0;if(_0x2d0764&&(_0xfba23a=''+_0x1fde32[_0x20e036(0x25a)]),_0x5d8bff['s']===_0x426cf2[_0x20e036(0x428)][_0x20e036(0x19c)]){let _0x32fafd=_0xfba23a,_0x28ffa1='';_0x426cf2['isPrefixValue'](_0xfba23a)&&(_0x32fafd=_0xfba23a['prefix'],_0x28ffa1=_0xfba23a[_0x20e036(0x1d0)]);const _0x157b22=_0xee115b&&!_0x2d0764?_0x6ffa6d['numfmt'][_0x20e036(0x242)](_0xee115b,Number(_0x32fafd)):_0x32fafd;_0x28ffa1?_0xfba23a=_0x157b22+'\x20'+_0x28ffa1:_0xfba23a=_0x157b22+'\x20'+_0x1fde32[_0x20e036(0x34e)];}else _0x5d8bff['s']===_0x426cf2['PivotCellStyleTypeEnum'][_0x20e036(0x246)]&&(_0xfba23a=_0xfba23a+'\x20'+_0x1fde32[_0x20e036(0x17f)]);return _0xfba23a;}function _0x7be21d(_0x4c6b50){const _0x2dfc46=_0x6f5ed9;if(_0x426cf2['isErrorValue'](_0x4c6b50)){const {errorType:_0x2a32a3}=_0x4c6b50;switch(_0x2a32a3){case _0x426cf2['PivotErrorTypeEnum'][_0x2dfc46(0x27d)]:return _0x3e6642[_0x2dfc46(0x3a5)]['DIV_BY_ZERO'];case _0x426cf2[_0x2dfc46(0x1ab)]['NotNumber']:return _0x3e6642['ErrorType'][_0x2dfc46(0x1bd)];case _0x426cf2[_0x2dfc46(0x1ab)][_0x2dfc46(0x238)]:return _0x3e6642[_0x2dfc46(0x3a5)][_0x2dfc46(0x3b6)];case _0x426cf2[_0x2dfc46(0x1ab)]['NotName']:return _0x3e6642[_0x2dfc46(0x3a5)][_0x2dfc46(0x3b6)];case _0x426cf2[_0x2dfc46(0x1ab)][_0x2dfc46(0x270)]:return _0x3e6642[_0x2dfc46(0x3a5)][_0x2dfc46(0x279)];}}return _0x4c6b50;}function _0x5b7a08(_0x26e013,_0x446648,_0xdea980=!0x1,_0x174b29=!0x1){const _0x2ad8f8=_0x6f5ed9,{data:_0xad1095}=_0x446648,_0x49dd35=_0x446648[_0x2ad8f8(0x471)](),_0x21dc8b=_0x446648[_0x2ad8f8(0x280)]();if(_0x49dd35<=0x0||_0x21dc8b<=0x0)return[];const _0x3557f6=_0x446648[_0x2ad8f8(0x479)](),_0x4759b6=_0x446648[_0x2ad8f8(0x48f)](),_0x1ef9b0=_0x174b29?_0x4759b6>=0x0?_0x4759b6+0x1:0x0:_0x49dd35,_0x292d29=_0x174b29?_0x3557f6>=0x0?_0x3557f6+0x1:0x0:_0x21dc8b,{row:_0x3b7873,col:_0x351ce5}=_0x26e013,_0x1b5643=_0x3b7873,_0x199506=_0x351ce5;if(_0xdea980){const _0x56be03=[];for(const [_0x55c3dc,_0x35022d]of Object['entries'](_0xad1095))for(const [_0x5686b2,_0x28b36c]of Object[_0x2ad8f8(0x37a)](_0x35022d))_0x56be03[_0x2ad8f8(0x321)](_0x6ffa6d['cellToRange'](_0x1b5643+Number(_0x55c3dc),_0x199506+Number(_0x5686b2)));return _0x56be03;}else{const _0x3bfcc2=_0x174b29?_0x1ef9b0>0x0?0x1:0x0:0x1,_0x5bb5e2=_0x174b29?_0x292d29>0x0?0x1:0x0:0x1,_0x109ae0=_0x3b7873+_0x1ef9b0-_0x3bfcc2,_0x35c237=_0x351ce5+_0x292d29-_0x5bb5e2;return[{'startRow':_0x1b5643,'startColumn':_0x199506,'endRow':_0x109ae0,'endColumn':_0x35c237}];}}const _0x838977=_0x6f5ed9(0x349),_0x4bccec=_0x6f5ed9(0x422);var _0x1222bc=(_0x3f3c20=>(_0x3f3c20[_0x6f5ed9(0x1f3)]=_0x6f5ed9(0x1ee),_0x3f3c20[_0x6f5ed9(0x2ab)]=_0x6f5ed9(0x183),_0x3f3c20['AddPivotField']=_0x6f5ed9(0x232),_0x3f3c20[_0x6f5ed9(0x34d)]=_0x6f5ed9(0x34d),_0x3f3c20[_0x6f5ed9(0x494)]=_0x6f5ed9(0x18c),_0x3f3c20[_0x6f5ed9(0x488)]=_0x6f5ed9(0x1e3),_0x3f3c20[_0x6f5ed9(0x196)]=_0x6f5ed9(0x26b),_0x3f3c20['SetPivotCollapse']=_0x6f5ed9(0x26f),_0x3f3c20[_0x6f5ed9(0x2d7)]='setPivotFilter',_0x3f3c20[_0x6f5ed9(0x177)]=_0x6f5ed9(0x231),_0x3f3c20['SetPivotSetting']=_0x6f5ed9(0x2a9),_0x3f3c20[_0x6f5ed9(0x449)]=_0x6f5ed9(0x3ef),_0x3f3c20[_0x6f5ed9(0x3cf)]=_0x6f5ed9(0x20f),_0x3f3c20['DrillDown']=_0x6f5ed9(0x299),_0x3f3c20[_0x6f5ed9(0x2c9)]=_0x6f5ed9(0x415),_0x3f3c20[_0x6f5ed9(0x3db)]=_0x6f5ed9(0x2a8),_0x3f3c20[_0x6f5ed9(0x234)]=_0x6f5ed9(0x408),_0x3f3c20))(_0x1222bc||{});const _0x18ed96={'sheets-pivot.blankValue':_0x6f5ed9(0x239),'sheets-pivot.columnName':_0x6f5ed9(0x454),'sheets-pivot.subTotalText':_0x6f5ed9(0x351),'sheets-pivot.grandTotalText':_0x6f5ed9(0x33b),'sheets-pivot.valueText':_0x6f5ed9(0x435),'sheets-pivot.averageName':_0x6f5ed9(0x240),'sheets-pivot.countName':_0x6f5ed9(0x3cb),'sheets-pivot.countNumsName':_0x6f5ed9(0x3cb),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x6f5ed9(0x30b),'sheets-pivot.productName':_0x6f5ed9(0x353),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x6f5ed9(0x366),'sheets-pivot.sumName':_0x6f5ed9(0x41c),'sheets-pivot.varName':_0x6f5ed9(0x30e),'sheets-pivot.varpName':_0x6f5ed9(0x328),'sheets-pivot.subTotal':_0x6f5ed9(0x19c),'sheets-pivot.grandTotal':_0x6f5ed9(0x33b),'sheets-pivot.value':_0x6f5ed9(0x1d0),'sheets-pivot.blank':_0x6f5ed9(0x33c),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x6f5ed9(0x248),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':_0x6f5ed9(0x1ba)},_0xd22ebc={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x1f0071=_0x6ffa6d[_0x6f5ed9(0x424)]('pivotPerformCheck'),_0x1b527c=_0x6ffa6d[_0x6f5ed9(0x21e)](_0x6f5ed9(0x2df));var _0x27353a=(_0x4d55eb=>(_0x4d55eb[_0x6f5ed9(0x39c)]=_0x6f5ed9(0x39c),_0x4d55eb[_0x6f5ed9(0x374)]='delete',_0x4d55eb[_0x6f5ed9(0x1c3)]=_0x6f5ed9(0x1c3),_0x4d55eb))(_0x27353a||{}),_0x1bdb8f=(_0x122448=>(_0x122448[_0x6f5ed9(0x1b6)]='add',_0x122448[_0x6f5ed9(0x2e5)]=_0x6f5ed9(0x2bc),_0x122448['Delete']=_0x6f5ed9(0x374),_0x122448))(_0x1bdb8f||{});const _0x74b1b3={0x0:'A',0x1:'x',0x2:'g',0x3:'9',0x4:'Q',0x5:'B',0x6:'O',0x7:'t',0x8:'C',0x9:'8','R':'0','J':'1','c':'2','n':'3','B':'4','G':'5','Q':'6','M':'7','h':'a','r':'b','U':'c','j':'d','L':'e','w':'f','Y':'h','a':'i','d':'j','D':'k','z':'l','b':'m','N':'n','p':'o','Z':'p','E':'q','v':'r','W':'s','x':'u','m':'v','X':'w','l':'y','C':'z','T':'D','P':'E','y':'F','I':'G','H':'H','i':'I','e':'J','u':'K','O':'L','k':'M','V':'N','t':'P','S':'R','q':'S','f':'T','F':'U','g':'V','A':'W','s':'X','o':'Y','K':'Z'},_0x4c8fda='wxNU7apN\x20jLUvlZ7apN(zaULNWL,\x20ZxrzaUuLl)\x20{\x20\x20\x20\x207vl\x20{\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20zaULNWLiNwpthv70vvhl\x20=\x20zaULNWL.WZza7(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20pva2aNkLWWh2L\x20=\x20eq6V.ZhvWL(h7pr(zaULNWLiNwpthv70vvhl[c]));\x20\x20\x20\x20\x20\x20\x20\x20aw\x20(!pva2aNkLWWh2L.xj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pva2aNkLWWh2L.xj\x20=\x20VxbrLv(zaULNWLiNwpthv70vvhl[B]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20aWApvDLv\x20=\x207lZLpw\x20ApvDLvIzprhzqUpZL\x20!==\x20\x27xNjLwaNLj\x27\x20&&\x20WLzw\x20aNW7hNULpw\x20ApvDLvIzprhzqUpZL;\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20UpN7L17\x20=\x20aWApvDLv\x20?\x20WLzw\x20:\x20XaNjpX;\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20bLWWh2LApvj\x20=\x20UpN7L17.__5hWLQB__.ZhvWL(zaULNWLiNwpthv70vvhl[c]);\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20bLWWh2L\x20=\x20UpN7L17.__HL1__.W7vaN2awl(bLWWh2LApvj);\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20Wa2Nh7xvLApvj\x20=\x20UpN7L17.__5hWLQB__.ZhvWL(zaULNWLiNwpthv70vvhl[n]);\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20Wa2Nh7xvL\x20=\x20UpN7L17.__HL1__.W7vaN2awl(Wa2Nh7xvLApvj);\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20Wa2Nghzaj\x20=\x20UpN7L17.__mLvawl__(Wa2Nh7xvL,\x20bLWWh2L,\x20ZxrzaUuLl);\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20jpbhaN\x20=\x20pva2aNkLWWh2L.jb;\x20\x20\x20\x20\x20\x20\x20\x20wxNU7apN\x20aWTpbhaNkh7UYaN2(pth77LvN,\x20pHpW7)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20Zh77LvN\x20=\x20pth77LvN.vLZzhUL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20YpW7\x20=\x20pHpW7.vLZzhUL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20Zh77LvNthv7W\x20=\x20Zh77LvN.WZza7(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20YpW7thv7W\x20=\x20YpW7.WZza7(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aw\x20(!Zh77LvN.aNUzxjLW(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vL7xvN\x20Zh77LvN\x20===\x20YpW7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aw\x20(Zh77LvNthv7W.zLN27Y\x20<\x20c\x20||\x20Zh77LvNthv7W[R]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vL7xvN\x20whzWL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20Zh77LvNqxwwa1\x20=\x20Zh77LvNthv7W.WzaUL(J).dpaN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20YpW7qxwwa1\x20=\x20YpW7thv7W.WzaUL(-Zh77LvNthv7W.zLN27Y\x20+\x20J).dpaN(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vL7xvN\x20Zh77LvNqxwwa1\x20===\x20YpW7qxwwa1;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zL7\x20jpbhaNghzaj\x20=\x20(jpbhaN\x20&&\x20jpbhaN.zLN27Y)\x20?\x20jpbhaN.WpbL((jbi7Lb)\x20=>\x20aWTpbhaNkh7UYaN2(jbi7Lb,\x20zpUh7apN.YpW7NhbL))\x20:\x207vxL;\x20\x20\x20\x20\x20\x20\x20\x20aw\x20(zpUh7apN.YpW7NhbL\x20===\x20\x27zpUhzYpW7\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jpbhaNghzaj\x20=\x207vxL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20UpNW7\x20mhzaj\x20=\x20Wa2Nghzaj\x20&&\x20jpbhaNghzaj;\x20\x20\x20\x20\x20\x20\x20\x20vL7xvN\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mhzaj,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bLWWh2L:\x20pva2aNkLWWh2L,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Uh7UY\x20(Lvvpv)\x20{\x20\x20\x20\x20\x20\x20\x20\x20vL7xvN\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mhzaj:\x20whzWL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bLWWh2L:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x1ca9ca={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x3bf),'handler':()=>!0x0},_0x535bb2={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x1e5),'handler':()=>!0x0},_0x2806a0={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x5533a9={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x295),'handler':()=>!0x0},_0x49280b={'type':_0x6ffa6d['CommandType']['MUTATION'],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0},_0x44de46=_0xe21a47=>{const _0x51d940=_0x6f5ed9;var _0x3e6c47;return((_0x3e6c47=_0xe21a47['body'])==null?void 0x0:_0x3e6c47[_0x51d940(0x40d)]['replace'](/\r\n$/,''))||'';};class _0x535585 extends _0x426cf2[_0x6f5ed9(0x2f9)]{constructor(_0x1943ba,_0x4811ee){const _0x21d13c=_0x6f5ed9;super(),_0x47a2cd(this,_0x21d13c(0x332),{}),_0x47a2cd(this,_0x21d13c(0x19e)),_0x47a2cd(this,_0x21d13c(0x2e0)),(this[_0x21d13c(0x19e)]=_0x4811ee,this[_0x21d13c(0x2e0)]=_0x1943ba);}[_0x6f5ed9(0x44b)](){const _0x4caecb=_0x6f5ed9;for(const _0x4cdb03 in this[_0x4caecb(0x41a)]){const _0x4e24ac=this['dataFields'][_0x4cdb03],_0x57d951=_0x4e24ac[_0x4caecb(0x18a)]();this[_0x4caecb(0x332)][_0x57d951]=_0x4e24ac[_0x4caecb(0x222)]();}}[_0x6f5ed9(0x41f)](){const _0x104209=_0x6f5ed9,_0x1f35d2=this[_0x104209(0x2e0)];return _0x5d4e05[_0x104209(0x432)](_0x1f35d2);}[_0x6f5ed9(0x2e2)](_0x4d8f71){const _0xdd76b6=_0x6f5ed9,_0x18b982=this[_0xdd76b6(0x41a)][_0x4d8f71][_0xdd76b6(0x43c)];delete this[_0xdd76b6(0x41a)][_0x4d8f71],delete this[_0xdd76b6(0x332)][_0x18b982];}[_0x6f5ed9(0x400)](_0xc3b16a){const _0x5b78ce=_0x6f5ed9;this[_0x5b78ce(0x41a)][_0xc3b16a['getId']()]=_0xc3b16a;}[_0x6f5ed9(0x2c6)](_0x458e37){const _0x60c0f7=_0x6f5ed9;var _0x18ac90,_0x4068af;const _0x44bda9=this[_0x60c0f7(0x2e0)][_0x60c0f7(0x292)](_0x458e37);if(_0x44bda9){const {unitId:_0x2b3cf5,subUnitId:_0x5a4c39}=_0x44bda9,_0x929b50=(_0x18ac90=this[_0x60c0f7(0x2e0)][_0x60c0f7(0x34a)](_0x2b3cf5,_0x5a4c39,_0x458e37))==null?void 0x0:_0x18ac90['sourceRangeInfo'];this[_0x60c0f7(0x2e0)][_0x60c0f7(0x22a)]({'token':_0x458e37,'type':_0x27353a[_0x60c0f7(0x374)],'dataRangeInfo':_0x929b50});}(_0x4068af=this['getCollection'](_0x458e37))==null||_0x4068af['dispose'](),delete this['collections'][_0x458e37];}['getRangeKey'](_0x260bdf,_0xdcefa0){const {sheetName:_0x22e023,unitId:_0x46d351,range:_0x5cb41f}=_0x260bdf,{startRow:_0xfac709,endRow:_0x5f49a3}=_0x5cb41f;return _0x3e6642['serializeRangeWithSpreadsheet'](_0x46d351,_0x22e023,{'startRow':_0xfac709,'endRow':_0x5f49a3,'startColumn':_0xdcefa0,'endColumn':_0xdcefa0});}[_0x6f5ed9(0x377)](_0x34f0fd){const _0x33736e=_0x6f5ed9;return this[_0x33736e(0x41a)][this[_0x33736e(0x332)][_0x34f0fd]];}[_0x6f5ed9(0x3a1)](_0x6a9295,_0x38b565){const _0x1f913d=_0x6f5ed9;this[_0x1f913d(0x332)][_0x6a9295]=_0x38b565;}[_0x6f5ed9(0x482)](_0xe8f3e,_0x55ab67){const _0x1b4544=_0x6f5ed9;this[_0x1b4544(0x332)][_0x55ab67]=this[_0x1b4544(0x332)][_0xe8f3e],delete this[_0x1b4544(0x332)][_0xe8f3e];}[_0x6f5ed9(0x1c1)](_0xfd38bc,_0x33929c,_0x57bc9d,_0x4218ab){const _0x35f49d=_0x6f5ed9,_0xb2d4f8=new _0x426cf2['FieldsCollection'](this);_0xb2d4f8[_0x35f49d(0x269)](_0x33929c);const _0x527681=[];let _0x307b9b=0x0;for(const _0x560963 of _0xb2d4f8['fieldIds']){const _0x533e46=this[_0x35f49d(0x18a)](_0x57bc9d,_0x307b9b),_0x34bdc2=this[_0x35f49d(0x41a)][_0x560963];_0x34bdc2&&(_0x34bdc2[_0x35f49d(0x43c)]=_0x533e46,this['setRangeKeyMap'](_0x533e46,_0x560963),_0x527681[_0x35f49d(0x321)]({'index':_0x307b9b,'dataField':_0x34bdc2})),_0x307b9b++;}return this[_0x35f49d(0x37c)](_0xfd38bc,_0xb2d4f8,_0x57bc9d,_0x4218ab),{'collection':_0xb2d4f8,'updateDataFieldList':_0x527681};}[_0x6f5ed9(0x394)](_0x21dd08,_0x5a70a2){const _0x586c30=_0x6f5ed9;return _0x21dd08[_0x586c30(0x2c5)]===_0x6ffa6d[_0x586c30(0x434)]['COLUMN']?{'startRow':0x0,'startColumn':_0x21dd08['startColumn'],'endRow':_0x5a70a2[_0x586c30(0x471)]()-0x1,'endColumn':_0x21dd08[_0x586c30(0x3e9)]}:{'startRow':_0x21dd08['startRow'],'startColumn':_0x21dd08[_0x586c30(0x477)],'endRow':_0x21dd08[_0x586c30(0x272)],'endColumn':_0x21dd08['endColumn']};}['createCollectionWithDataRange'](_0x3008e8){const _0x4c8c09=_0x6f5ed9,{sheetName:_0x40e88b,range:_0x66cde7}=_0x3008e8,_0x3edc80=this['_univerInstanceService'][_0x4c8c09(0x362)](_0x6ffa6d[_0x4c8c09(0x19f)]['UNIVER_SHEET']),_0x4c40e4=_0x3edc80['getSheetBySheetName'](_0x40e88b),_0x3d0c0c=_0x4c40e4[_0x4c8c09(0x3b8)](),{startColumn:_0x3ef7c5,startRow:_0x372ddd,endColumn:_0x321c4e}=this[_0x4c8c09(0x394)](_0x66cde7,_0x4c40e4),_0x22fc9f=_0x3edc80['getStyles'](),_0x3ed20e=new _0x426cf2[(_0x4c8c09(0x1e1))](this);_0x3ed20e[_0x4c8c09(0x37d)](_0x3008e8);const _0x3993ce=[],_0x4958b6={};for(let _0x5edbea=_0x3ef7c5;_0x5edbea<=_0x321c4e;_0x5edbea++){const _0x2b8960=_0x3d0c0c[_0x4c8c09(0x3d6)](_0x372ddd,_0x5edbea),_0x2fef11=this['getRangeKey'](_0x3008e8,_0x5edbea),_0x4e604d=this[_0x4c8c09(0x377)](_0x2fef11);if(_0x4e604d)_0x3ed20e[_0x4c8c09(0x2ef)](_0x4e604d[_0x4c8c09(0x222)](),_0x4e604d[_0x4c8c09(0x459)]());else{const _0x160b54=this[_0x4c8c09(0x1dd)]();let _0x91cdf3=this[_0x4c8c09(0x1d6)](_0x2b8960,_0x22fc9f,_0x4958b6);_0x426cf2[_0x4c8c09(0x2ec)](_0x91cdf3)&&(_0x91cdf3=_0x6ffa6d['numfmt']['format'](_0x91cdf3['f'],Number(_0x91cdf3['v'])));const _0x43e258=this['uniqueDataFieldName'](_0x91cdf3,_0x5edbea),_0x374092=new _0x426cf2[(_0x4c8c09(0x3c7))](_0x160b54,_0x43e258,_0x426cf2[_0x4c8c09(0x474)](0x3));_0x374092[_0x4c8c09(0x43c)]=_0x2fef11,this[_0x4c8c09(0x41a)][_0x160b54]=_0x374092,_0x3ed20e[_0x4c8c09(0x2ef)](_0x160b54,_0x43e258),_0x3993ce[_0x4c8c09(0x321)]({'index':_0x5edbea,'dataField':_0x374092});}}return{'updateDataFieldList':_0x3993ce,'collection':_0x3ed20e};}['_getAutoName'](_0x359efa){const _0x1dfcfe=_0x6f5ed9;return this['_host']['getTextInfo']()['sheets-pivot.columnName']+'\x20'+_0x6ffa6d[_0x1dfcfe(0x44f)](_0x359efa);}[_0x6f5ed9(0x40f)](_0x105c1d,_0x36534a){const _0x493dc8=_0x6f5ed9;return _0x105c1d==null||_0x105c1d===''?this[_0x493dc8(0x356)](_0x36534a):String(_0x105c1d);}[_0x6f5ed9(0x3d9)](_0x5f0381){const _0x1c425c=_0x6f5ed9;return this[_0x1c425c(0x27c)][_0x5f0381];}[_0x6f5ed9(0x37c)](_0x20b387,_0x7a2fd2,_0x5e60b8,_0x282d62){const _0x28f18d=_0x6f5ed9;this[_0x28f18d(0x27c)][_0x20b387]=_0x7a2fd2,_0x7a2fd2[_0x28f18d(0x37d)](_0x5e60b8),this[_0x28f18d(0x2e0)][_0x28f18d(0x22a)]({'token':_0x20b387,'type':_0x27353a[_0x28f18d(0x39c)],'dataRangeInfo':_0x5e60b8,'targetCellInfo':_0x282d62});}[_0x6f5ed9(0x320)](_0x4590a9,_0x398cb2){const _0x393d86=_0x6f5ed9,_0x4f5bcd=this[_0x393d86(0x3d9)](_0x4590a9),_0x4c3134=_0x4f5bcd['getFieldIds']();let _0x1f6b41=0x0;for(const _0x40cad4 of _0x4c3134){const _0x12fca2=_0x4f5bcd[_0x393d86(0x229)](_0x40cad4),_0x172d57=this[_0x393d86(0x18a)](_0x398cb2,_0x1f6b41);this[_0x393d86(0x482)](_0x12fca2[_0x393d86(0x43c)],_0x172d57),_0x1f6b41++;}}[_0x6f5ed9(0x329)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x6f5ed9(0x39a)](_0x1cca9f,_0x2dd12e){const _0xa086fd=_0x6f5ed9;if(this['getCollection'](_0x1cca9f)){const _0x1ce440=this[_0xa086fd(0x382)](_0x2dd12e),_0x69a312=[];for(const _0x23d15f of _0x1ce440)this[_0xa086fd(0x332)][_0x23d15f]!==void 0x0&&_0x69a312[_0xa086fd(0x321)](this[_0xa086fd(0x332)][_0x23d15f]);const _0x322e22=this[_0xa086fd(0x36b)](_0x1cca9f),_0x4e2155=[],_0x592006=new Set(_0x69a312);for(const _0x54cc60 of _0x322e22)_0x592006[_0xa086fd(0x228)](_0x54cc60)||_0x4e2155[_0xa086fd(0x321)](_0x54cc60);return _0x4e2155;}}[_0x6f5ed9(0x3fd)](_0x4e3479,_0x3a9ad6,_0x1c22f9,_0x35361a,_0xd3ec89){const _0x3c67df=_0x6f5ed9;return _0x3a9ad6&&_0x3a9ad6[_0x3c67df(0x3d6)](_0x35361a,_0xd3ec89)?_0x3a9ad6[_0x3c67df(0x3d6)](_0x35361a,_0xd3ec89):_0x1c22f9&&_0x1c22f9[_0x3c67df(0x3d6)](_0x35361a,_0xd3ec89)?_0x1c22f9['getValue'](_0x35361a,_0xd3ec89):_0x4e3479['getValue'](_0x35361a,_0xd3ec89);}['refreshDataField'](_0x3c5745,_0x39ff2b,_0x260e0c,_0x380ecf){const _0x518b1f=_0x6f5ed9,_0x45f53f=this[_0x518b1f(0x41a)][_0x3c5745];if(!_0x45f53f)return;const {subUnitId:_0x1f70a4,range:_0xa9fa43,unitId:_0xdc5641}=_0x39ff2b,_0x25caaa=this[_0x518b1f(0x19e)]['getUnit'](_0xdc5641);if(!_0x25caaa){console['error'](_0x518b1f(0x3e3));return;}const _0x1cfd50=_0x25caaa[_0x518b1f(0x410)](_0x1f70a4),_0x4b16a0=_0x1cfd50['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0xb34f2e,unitDataMatrix:_0x3aa778}=_0x380ecf||{},{startRow:_0x22547e,startColumn:_0x3dbb04,endRow:_0x30cdc2}=this[_0x518b1f(0x394)](_0xa9fa43,_0x1cfd50);_0x45f53f[_0x518b1f(0x345)]();const _0x26a32f=_0x25caaa['getStyles'](),_0x1cae14={},_0x25f837=this[_0x518b1f(0x3fd)](_0x4b16a0,_0xb34f2e,_0x3aa778,_0x22547e,_0x3dbb04+_0x260e0c);let _0x6a6aec=this[_0x518b1f(0x1d6)](_0x25f837,_0x26a32f,_0x1cae14);_0x426cf2['isDateValue'](_0x6a6aec)&&(_0x6a6aec=_0x6ffa6d['numfmt'][_0x518b1f(0x242)](_0x6a6aec['f'],Number(_0x6a6aec['v'])));const _0x27e06c=this[_0x518b1f(0x40f)](_0x6a6aec,_0x3dbb04+_0x260e0c);_0x45f53f[_0x518b1f(0x3e4)](_0x27e06c);for(let _0x383bc2=_0x22547e+0x1;_0x383bc2<=_0x30cdc2;_0x383bc2++){const _0x35c863=this[_0x518b1f(0x3fd)](_0x4b16a0,_0xb34f2e,_0x3aa778,_0x383bc2,_0x3dbb04+_0x260e0c);_0x45f53f[_0x518b1f(0x1cd)](this[_0x518b1f(0x1d6)](_0x35c863,_0x26a32f,_0x1cae14),_0x383bc2-0x1-_0x22547e);}}[_0x6f5ed9(0x21d)](_0x585dc3,_0x5eef8d,_0x5f241c){const _0x5ab370=_0x6f5ed9,{subUnitId:_0x203b17,range:_0x2f24cd,unitId:_0x21d648}=_0x5f241c,_0x13457a=this[_0x5ab370(0x19e)][_0x5ab370(0x46d)](_0x21d648);if(!_0x13457a){console[_0x5ab370(0x486)]('workbook\x20is\x20not\x20found');return;}const _0x525889=_0x13457a[_0x5ab370(0x410)](_0x203b17),_0x50de36=_0x525889[_0x5ab370(0x3b8)](),{startRow:_0xfd8d0d,startColumn:_0x7edc86,endRow:_0x2a68b0}=this['getRangeStartEndInfo'](_0x2f24cd,_0x525889),_0x483a8b=_0x13457a[_0x5ab370(0x3aa)](),_0x2a03f2={};for(const {dataField:_0x5d2fcf,index:_0x42419c}of _0x5eef8d){_0x5d2fcf[_0x5ab370(0x345)]();const _0x7a8225=this[_0x5ab370(0x3fd)](_0x50de36,void 0x0,void 0x0,_0xfd8d0d,_0x7edc86+_0x42419c);let _0x5194e0=this[_0x5ab370(0x1d6)](_0x7a8225,_0x483a8b,_0x2a03f2);_0x426cf2[_0x5ab370(0x2ec)](_0x5194e0)&&(_0x5194e0=_0x6ffa6d[_0x5ab370(0x2d0)][_0x5ab370(0x242)](_0x5194e0['f'],Number(_0x5194e0['v'])));const _0x2c0380=this[_0x5ab370(0x40f)](_0x5194e0,_0x7edc86+_0x42419c);_0x5d2fcf[_0x5ab370(0x3e4)](_0x2c0380);}_0x585dc3[_0x5ab370(0x2d8)]();for(let _0x50df75=_0xfd8d0d+0x1;_0x50df75<=_0x2a68b0;_0x50df75++)for(const {index:_0x2145d3,dataField:_0x539b8d}of _0x5eef8d){const _0x136357=_0x50de36[_0x5ab370(0x3d6)](_0x50df75,_0x7edc86+_0x2145d3);_0x539b8d[_0x5ab370(0x1cd)](this[_0x5ab370(0x1d6)](_0x136357,_0x483a8b,_0x2a03f2),_0x50df75-0x1-_0xfd8d0d);}_0x585dc3['setDataRecordCount'](_0x2a68b0-_0xfd8d0d);}[_0x6f5ed9(0x382)](_0x5df76c){const {range:_0xdf80ee}=_0x5df76c,{startColumn:_0x1f6a82,endColumn:_0xce572c}=_0xdf80ee,_0x47d435=[];for(let _0x3daa23=_0x1f6a82;_0x3daa23<=_0xce572c;_0x3daa23++)_0x47d435['push'](this['getRangeKey'](_0x5df76c,_0x3daa23));return _0x47d435;}[_0x6f5ed9(0x1d6)](_0x51b632,_0x49079a,_0x19d8b5){const _0x5e6229=_0x6f5ed9;if(_0x51b632){const {s:_0x395c0a,v:_0x21ca54,t:_0x507837,p:_0x4dc8dd}=_0x51b632;if(_0x4dc8dd)return _0x44de46(_0x4dc8dd);const _0x7d32f6=_0x49079a[_0x5e6229(0x446)](_0x395c0a);if(_0x7d32f6&&_0x507837===_0x6ffa6d['CellValueType'][_0x5e6229(0x407)]&&_0x7d32f6['n']){const {pattern:_0x56bdaa}=_0x7d32f6['n'];_0x19d8b5[_0x56bdaa]||(_0x19d8b5[_0x56bdaa]=_0x6ffa6d[_0x5e6229(0x2d0)][_0x5e6229(0x230)](_0x56bdaa));const _0x37cf09=_0x19d8b5[_0x56bdaa],_0x3bc482=_0x37cf09['isDate'];if(_0x37cf09['isText'])return String(_0x21ca54);if(_0x3bc482)return{'v':_0x21ca54,'f':_0x56bdaa};}if(_0x507837===_0x6ffa6d[_0x5e6229(0x326)][_0x5e6229(0x407)])return Number(_0x21ca54);if(_0x507837===_0x6ffa6d[_0x5e6229(0x326)][_0x5e6229(0x3c9)]||_0x507837===_0x6ffa6d[_0x5e6229(0x326)][_0x5e6229(0x1c5)])return String(_0x21ca54);if(_0x507837===void 0x0){const _0x3aa578=Number(_0x21ca54);if(!Number[_0x5e6229(0x376)](_0x3aa578)&&String(_0x3aa578)===_0x21ca54)return _0x3aa578;}return _0x21ca54!=null?_0x21ca54:null;}else return null;}[_0x6f5ed9(0x2a7)](_0x249620){const _0x433e19=_0x6f5ed9,{sheetName:_0x528991,range:_0x5d7492,unitId:_0x5dfec3}=_0x249620,_0x207f32=this[_0x433e19(0x19e)][_0x433e19(0x46d)](_0x5dfec3);if(!_0x207f32)return console[_0x433e19(0x486)](_0x433e19(0x3e3)),{'header':[],'data':[]};const _0x41602b=_0x207f32[_0x433e19(0x421)](_0x528991),_0x566dd3=_0x41602b[_0x433e19(0x3b8)](),{startRow:_0xa72467,startColumn:_0x4e42ca,endRow:_0x49cc8b,endColumn:_0xc7cfed}=this['getRangeStartEndInfo'](_0x5d7492,_0x41602b),_0x2d375a=_0x207f32[_0x433e19(0x3aa)](),_0x1d0e93=[],_0x12d120=[],_0x521e08={};for(let _0x32dbc1=_0xa72467;_0x32dbc1<=_0x49cc8b;_0x32dbc1++){const _0x45840c=[];for(let _0x2ec15d=_0x4e42ca;_0x2ec15d<=_0xc7cfed;_0x2ec15d++){const _0x495b93=_0x566dd3['getValue'](_0x32dbc1,_0x2ec15d);_0x32dbc1===_0xa72467?_0x1d0e93['push'](_0x495b93==null?null:String(_0x495b93['v'])):_0x45840c[_0x433e19(0x321)](this[_0x433e19(0x1d6)](_0x495b93,_0x2d375a,_0x521e08));}_0x12d120[_0x433e19(0x321)](_0x45840c);}return{'header':_0x1d0e93,'data':_0x12d120};}[_0x6f5ed9(0x309)](){return super['toJSON']();}['fromJSON'](_0x345d7c){const _0x4aaa69=_0x6f5ed9;super['fromJSON'](_0x345d7c),this[_0x4aaa69(0x44b)]();}[_0x6f5ed9(0x274)](){const _0x13c498=_0x6f5ed9;super['dispose'](),this[_0x13c498(0x332)]={},this['_host']=null;}}const _0x32ae3f=_0x3e7c53=>{const _0x2ca88b=_0x6f5ed9,{targetCellInfo:_0x483a18}=_0x3e7c53,{matrixCache:_0x2dce92,rangesCache:_0x26d31b}=_0x92b1bb({'filter':'Filter','row':_0x2ca88b(0x248),'column':_0x2ca88b(0x2fe),'values':_0x2ca88b(0x1ba)},_0x483a18),_0x359e23=new _0x6ffa6d[(_0x2ca88b(0x291))]();return _0x2dce92[_0x2ca88b(0x263)]((_0x2f25ac,_0x18c376,_0x183ae5)=>{const _0x2970f3=_0x2ca88b;_0x359e23[_0x2970f3(0x41e)](_0x2f25ac,_0x18c376,_0x183ae5);}),{'matrix':_0x359e23,'rangesCache':_0x26d31b};},_0x25e937=_0x4abd70=>{const _0x45b578=_0x6f5ed9;let _0x6ab6b3;if(_0x4abd70!=null&&_0x4abd70['v']||(_0x4abd70==null?void 0x0:_0x4abd70['v'])===0x0){_0x6ab6b3||(_0x6ab6b3={});const _0x27e835=_0x7be21d(_0x4abd70['v']);typeof _0x27e835=='number'?_0x6ab6b3['t']=_0x6ffa6d[_0x45b578(0x326)][_0x45b578(0x407)]:typeof _0x27e835=='string'&&(_0x6ab6b3['t']=_0x6ffa6d[_0x45b578(0x326)][_0x45b578(0x3c9)]),_0x6ab6b3['v']=_0x27e835;}return _0x6ab6b3;},_0x5c9895=(_0x56d38f,_0x1e0532,_0x118de7)=>{const _0x26685f=_0x6f5ed9;var _0x1fc09b,_0x22404a,_0x190a3b,_0x6ad93b,_0xe695d4,_0x295927,_0x15bbb7,_0x57416d,_0x39b4a1,_0x42019f,_0x4f74c8,_0x118a94;const {cornerView:_0x20d629,rowView:_0xf846bb,colView:_0xad03d1,dataView:_0x12b494,pageView:_0x37e966,formatMap:_0x212369}=_0x56d38f,{row:_0x1ee27a,col:_0x3183e8}=_0x1e0532,_0x58556b=new _0x6ffa6d['ObjectMatrix']();let _0x3c1a8b=_0x1ee27a,_0x57fbb8=_0x3183e8;Object[_0x26685f(0x1b3)](_0x37e966['data'])[_0x26685f(0x3a7)](_0x450226=>{const _0x5ee921=_0x26685f;Object['keys'](_0x37e966[_0x5ee921(0x2b4)][Number(_0x450226)])[_0x5ee921(0x3a7)](_0x206405=>{const _0x6dff0b=_0x5ee921,_0x31487d={..._0x37e966[_0x6dff0b(0x2b4)][Number(_0x450226)][Number(_0x206405)]};_0x58556b[_0x6dff0b(0x41e)](Number(_0x450226)+_0x3c1a8b,Number(_0x206405)+_0x57fbb8,_0x25e937(_0x31487d));});});const _0x4f04ea=Object[_0x26685f(0x1b3)](_0x37e966[_0x26685f(0x2b4)])['length'];_0x3c1a8b+=_0x4f04ea+(_0x4f04ea?_0x523e5a:0x0);const _0xef6af8=_0x20d629[_0x26685f(0x471)](),_0x5a9247=_0x20d629[_0x26685f(0x280)]();for(let _0x433582=0x0;_0x433582<_0xef6af8;_0x433582++)for(let _0x1aa777=0x0;_0x1aa777<_0x5a9247;_0x1aa777++){const _0x524bf4={...(_0x22404a=(_0x1fc09b=_0x20d629[_0x26685f(0x2b4)])==null?void 0x0:_0x1fc09b[_0x433582])==null?void 0x0:_0x22404a[_0x1aa777]};_0x524bf4&&((_0x190a3b=_0xf846bb[_0x26685f(0x447)][_0x1aa777])!=null&&_0x190a3b[_0x26685f(0x417)])&&_0x1aa777===_0x5a9247-0x1&&_0x433582===_0xef6af8-0x1&&(_0x524bf4['v']=''+_0x118de7['sheets-pivot.value']),_0x58556b[_0x26685f(0x41e)](_0x433582+_0x3c1a8b,_0x1aa777+_0x57fbb8,_0x25e937(_0x524bf4));}_0x57fbb8+=_0x5a9247;const _0xc2490=_0xad03d1[_0x26685f(0x447)],_0x38e7ae=_0xad03d1[_0x26685f(0x48f)]()>=0x0?_0xad03d1['getLastRow']()+0x1:0x0,_0x3d1130=_0xad03d1[_0x26685f(0x479)]()>=0x0?_0xad03d1['getLastCol']()+0x1:0x0;for(let _0x554acb=0x0;_0x554acb<_0x3d1130;_0x554acb++)for(let _0x263013=0x0;_0x263013<_0x38e7ae;_0x263013++){const _0x3f4988={...(_0xe695d4=(_0x6ad93b=_0xad03d1[_0x26685f(0x2b4)])==null?void 0x0:_0x6ad93b[_0x554acb])==null?void 0x0:_0xe695d4[_0x263013]},_0x5efc0f=(_0x295927=_0xc2490[_0x554acb])==null?void 0x0:_0x295927[_0x26685f(0x1ad)],_0x21ca2e=_0x212369[_0x5efc0f];_0x3f4988&&(_0x3f4988['v']=_0x324cc3(_0x3f4988,_0x554acb===0x0&&((_0x15bbb7=_0xad03d1[_0x26685f(0x273)](_0x263013+0x1))==null?void 0x0:_0x15bbb7[_0x26685f(0x417)]),_0x21ca2e,_0x118de7)),_0x58556b[_0x26685f(0x41e)](_0x554acb+_0x3c1a8b,_0x263013+_0x57fbb8,_0x25e937(_0x3f4988));}_0x3c1a8b+=_0xef6af8;const _0x4840d0=_0xf846bb[_0x26685f(0x447)],_0x51d38b=_0xf846bb['getLastRow']()>=0x0?_0xf846bb[_0x26685f(0x48f)]()+0x1:0x0,_0x5bfc0f=_0xf846bb['getLastCol']()>=0x0?_0xf846bb['getLastCol']()+0x1:0x0;for(let _0x3f44bb=0x0;_0x3f44bb<_0x51d38b;_0x3f44bb++)for(let _0x48f203=0x0;_0x48f203<_0x5bfc0f;_0x48f203++){const _0x258831={...(_0x39b4a1=(_0x57416d=_0xf846bb[_0x26685f(0x2b4)])==null?void 0x0:_0x57416d[_0x3f44bb])==null?void 0x0:_0x39b4a1[_0x48f203]},_0x4dcee4=(_0x42019f=_0x4840d0[_0x48f203])==null?void 0x0:_0x42019f['tableFieldId'],_0x2d7b9a=_0x212369[_0x4dcee4];_0x258831&&(_0x258831['v']=_0x324cc3(_0x258831,!0x1,_0x2d7b9a,_0x118de7)),_0x58556b[_0x26685f(0x41e)](_0x3f44bb+_0x3c1a8b,_0x48f203+_0x3183e8,_0x25e937(_0x258831));}const _0x48f18d=_0x12b494[_0x26685f(0x471)](),_0x1d36d9=_0x12b494[_0x26685f(0x280)]();for(let _0x4812fa=0x0;_0x4812fa<_0x48f18d;_0x4812fa++)for(let _0x5d96e2=0x0;_0x5d96e2<_0x1d36d9;_0x5d96e2++){const _0x53050f={...(_0x118a94=(_0x4f74c8=_0x12b494['data'])==null?void 0x0:_0x4f74c8[_0x4812fa])==null?void 0x0:_0x118a94[_0x5d96e2]};_0x58556b[_0x26685f(0x41e)](_0x4812fa+_0x3c1a8b,_0x5d96e2+_0x57fbb8,_0x25e937(_0x53050f));}return _0x58556b;},_0xb023d5=_0x234a80=>{const _0x3ff236=_0x6f5ed9,{view:_0x19d739,targetCellInfo:_0x51a87a,isEmpty:_0x563596,textInfo:_0x27b413}=_0x234a80;if(_0x563596)return _0x32ae3f(_0x234a80);const {pageView:_0xadd61c,cornerView:_0x10503e,rowView:_0x4425ee,colView:_0x4010c2,dataView:_0x5960eb}=_0x19d739,_0x44f810=_0x5b7a08(_0x51a87a,_0xadd61c,!0x0),_0x2c834a=_0xadd61c[_0x3ff236(0x1f6)]>=0x0?_0xadd61c[_0x3ff236(0x1f6)]+0x1:0x0,_0x295cf1=_0x10503e[_0x3ff236(0x471)](),_0x253516=_0x10503e[_0x3ff236(0x280)](),_0x551794=_0x44f810[_0x3ff236(0x293)]>0x0?_0x523e5a:0x0,_0x448e2d=_0x5b7a08({'row':_0x51a87a[_0x3ff236(0x316)]+_0x2c834a+_0x551794,'col':_0x51a87a[_0x3ff236(0x48d)]},_0x10503e,!0x1,!0x1),_0x5acc5f=_0x5b7a08({'row':_0x51a87a[_0x3ff236(0x316)]+_0x2c834a+_0x551794+_0x295cf1,'col':_0x51a87a[_0x3ff236(0x48d)]},_0x4425ee,!0x1,!0x0),_0x35faa1=_0x5b7a08({'row':_0x51a87a['row']+_0x2c834a+_0x551794,'col':_0x51a87a[_0x3ff236(0x48d)]+_0x253516},_0x4010c2,!0x1,!0x0),_0x46705a=_0x5b7a08({'row':_0x51a87a[_0x3ff236(0x316)]+_0x2c834a+_0x551794+_0x295cf1,'col':_0x51a87a['col']+_0x253516},_0x5960eb,!0x1,!0x1),_0x54ec77={'rowRanges':_0x5acc5f,'colRanges':_0x35faa1,'cornerRanges':_0x448e2d,'dataRanges':_0x46705a,'pageRanges':_0x44f810};return{'matrix':_0x5c9895(_0x19d739,_0x51a87a,_0x27b413),'rangesCache':_0x54ec77};};var _0x1d0683=Object[_0x6f5ed9(0x1a9)],_0x3d6b19=(_0x519a33,_0x4e34a4,_0x153ca2,_0xf140b1)=>{const _0xba933=_0x6f5ed9;for(var _0x5334af=_0xf140b1>0x1?void 0x0:_0xf140b1?_0x1d0683(_0x4e34a4,_0x153ca2):_0x4e34a4,_0x373a69=_0x519a33[_0xba933(0x293)]-0x1,_0x26d25f;_0x373a69>=0x0;_0x373a69--)(_0x26d25f=_0x519a33[_0x373a69])&&(_0x5334af=_0x26d25f(_0x5334af)||_0x5334af);return _0x5334af;},_0x1f5a7c=(_0x4ea36b,_0x3f7df7)=>(_0x43d622,_0x4f9fb1)=>_0x3f7df7(_0x43d622,_0x4f9fb1,_0x4ea36b);_0x35c787[_0x6f5ed9(0x185)]=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x41f1b1,_0x24534e,_0x2ddfd9,_0x29586a,_0x427eb2,_0x53c67c){const _0x280762=_0x6f5ed9;super(),_0x47a2cd(this,_0x280762(0x2bf),new Map()),_0x47a2cd(this,_0x280762(0x1d2),new Map()),_0x47a2cd(this,_0x280762(0x3a0),new Map()),_0x47a2cd(this,'_textInfo'),_0x47a2cd(this,_0x280762(0x2cb),new _0xcfe6e1['Subject']()),_0x47a2cd(this,_0x280762(0x17c),this[_0x280762(0x2cb)][_0x280762(0x1e6)]()),_0x47a2cd(this,_0x280762(0x411),new _0xcfe6e1[(_0x280762(0x2af))]()),_0x47a2cd(this,_0x280762(0x306),this[_0x280762(0x411)][_0x280762(0x1e6)]()),_0x47a2cd(this,_0x280762(0x257),new _0xcfe6e1[(_0x280762(0x2af))]()),_0x47a2cd(this,'fieldsCollectionChange$',this['_fieldsCollectionChange$']['asObservable']()),_0x47a2cd(this,_0x280762(0x31c),new Map()),_0x47a2cd(this,_0x280762(0x20d),[]),_0x47a2cd(this,_0x280762(0x289),new Map()),(this[_0x280762(0x208)]=_0x41f1b1,this[_0x280762(0x19e)]=_0x24534e,this[_0x280762(0x260)]=_0x2ddfd9,this['_configService']=_0x29586a,this[_0x280762(0x42b)]=_0x427eb2,this[_0x280762(0x2e6)]=_0x53c67c,this['_initSnapshot']());}[_0x6f5ed9(0x3e7)](){const _0x26ddb3=_0x6f5ed9;return this[_0x26ddb3(0x1e9)]?this[_0x26ddb3(0x1e9)]:_0x18ed96;}[_0x6f5ed9(0x28a)](_0x10742c){const _0x235034=_0x6f5ed9;this[_0x235034(0x1e9)]=_0x10742c;}[_0x6f5ed9(0x320)](_0x27e896){const _0xbfc7a2=_0x6f5ed9;var _0x467444;const {from:_0x202738,to:_0x4d433f,unitId:_0x32dada,fromRange:_0x3b1a2b,toRange:_0x4f0bdf}=_0x27e896;if(_0x202738&&_0x4d433f){const _0x29320a=this[_0xbfc7a2(0x358)](_0x32dada),_0x5e33db=this[_0xbfc7a2(0x2bf)]['get'](_0x32dada),_0x45ea72=(_0x467444=this[_0xbfc7a2(0x19e)][_0xbfc7a2(0x46d)](_0x32dada))==null?void 0x0:_0x467444[_0xbfc7a2(0x410)](_0x4d433f['subUnitId']);if(!_0x5e33db||!_0x45ea72)return;const _0x43c6f9=_0x45ea72==null?void 0x0:_0x45ea72[_0xbfc7a2(0x459)]();for(const [_0x2b7b79,_0x32258b]of _0x5e33db[_0xbfc7a2(0x37a)]())for(const [_0x395327,_0x2a0bc2]of _0x32258b[_0xbfc7a2(0x37a)]()){const {sourceRangeInfo:_0x5df225}=_0x2a0bc2;if(_0x5df225[_0xbfc7a2(0x322)]===_0x32dada&&_0x5df225[_0xbfc7a2(0x2d3)]===_0x202738[_0xbfc7a2(0x2d3)]&&_0x6ffa6d['Rectangle']['contains'](_0x3b1a2b,_0x5df225[_0xbfc7a2(0x1db)])){const _0x47694a={'row':_0x5df225[_0xbfc7a2(0x1db)][_0xbfc7a2(0x297)]-_0x3b1a2b[_0xbfc7a2(0x297)],'col':_0x5df225[_0xbfc7a2(0x1db)]['startColumn']-_0x3b1a2b['startColumn']},_0x45a714={'unitId':_0x32dada,'subUnitId':_0x4d433f[_0xbfc7a2(0x2d3)],'sheetName':_0x43c6f9,'range':{'startRow':_0x4f0bdf[_0xbfc7a2(0x297)]+_0x47694a[_0xbfc7a2(0x316)],'endRow':_0x4f0bdf[_0xbfc7a2(0x297)]+_0x47694a[_0xbfc7a2(0x316)]+_0x5df225[_0xbfc7a2(0x1db)][_0xbfc7a2(0x272)]-_0x5df225[_0xbfc7a2(0x1db)]['startRow'],'startColumn':_0x4f0bdf['startColumn']+_0x47694a[_0xbfc7a2(0x48d)],'endColumn':_0x4f0bdf[_0xbfc7a2(0x477)]+_0x47694a['col']+_0x5df225[_0xbfc7a2(0x1db)][_0xbfc7a2(0x3e9)]-_0x5df225[_0xbfc7a2(0x1db)][_0xbfc7a2(0x477)]}};_0x29320a[_0xbfc7a2(0x320)](_0x395327,_0x45a714);const _0xe995f0={..._0x2a0bc2,'sourceRangeInfo':_0x45a714};this['_updateModelCache'](_0x32dada,_0x4d433f[_0xbfc7a2(0x2d3)],_0x395327,_0xe995f0),this[_0xbfc7a2(0x22a)]({'unitId':_0x32dada,'token':_0x395327,'type':_0x27353a[_0xbfc7a2(0x1c3)],'oldSourceRangeInfo':_0x5df225,'dataRangeInfo':_0x45a714,'targetCellInfo':_0x2a0bc2[_0xbfc7a2(0x1fb)]}),this[_0xbfc7a2(0x256)]({'unitId':_0x32dada,'subUnitId':_0x4d433f[_0xbfc7a2(0x2d3)],'oldSubUnitId':_0x2b7b79,'pivotTableId':_0x395327,'pivotTableConfig':_0xe995f0,'collectionConfig':_0x29320a[_0xbfc7a2(0x309)]()});}}}}[_0x6f5ed9(0x22a)](_0x3b63ed){const _0x277e62=_0x6f5ed9;this[_0x277e62(0x2cb)][_0x277e62(0x253)](_0x3b63ed);}['getDataFieldManager'](_0xcde4f4){const _0x45c7e9=_0x6f5ed9;let _0x35a077=this[_0x45c7e9(0x31c)]['get'](_0xcde4f4);return _0x35a077||(_0x35a077=new _0x535585(this,this[_0x45c7e9(0x19e)]),this[_0x45c7e9(0x31c)]['set'](_0xcde4f4,_0x35a077)),_0x35a077;}[_0x6f5ed9(0x3d9)](_0x2e8538,_0x597ca8){const _0x39e912=_0x6f5ed9;return this[_0x39e912(0x358)](_0x2e8538)['collections'][_0x597ca8];}[_0x6f5ed9(0x39a)](_0xeb7517,_0x22e74e,_0x18c4f0){const _0x42439d=_0x6f5ed9;return this[_0x42439d(0x358)](_0xeb7517)[_0x42439d(0x39a)](_0x22e74e,_0x18c4f0);}[_0x6f5ed9(0x3d3)](_0x5cd83f,_0x2f6088){const _0x517875=_0x6f5ed9;let _0x42618f=this['_model'][_0x517875(0x446)](_0x5cd83f);_0x42618f||(_0x42618f=new Map(),this[_0x517875(0x2bf)][_0x517875(0x2bc)](_0x5cd83f,_0x42618f));let _0x429fb9=_0x42618f[_0x517875(0x446)](_0x2f6088);return _0x429fb9||(_0x429fb9=new Map(),_0x42618f['set'](_0x2f6088,_0x429fb9)),_0x429fb9;}[_0x6f5ed9(0x250)](_0x2d8b24,_0xe71f18,_0x4e78ba,_0x1e98f2){const _0x8bf58b=_0x6f5ed9;this[_0x8bf58b(0x3d3)](_0x2d8b24,_0xe71f18)[_0x8bf58b(0x2bc)](_0x4e78ba,_0x1e98f2);}[_0x6f5ed9(0x45d)](_0x99ebbf,_0x217e2b,_0x5aa44e){const _0x4e1832=_0x6f5ed9;var _0x1858ec,_0x17b3ec,_0x35f4c9,_0x31105f;((_0x17b3ec=(_0x1858ec=this[_0x4e1832(0x2bf)][_0x4e1832(0x446)](_0x99ebbf))==null?void 0x0:_0x1858ec[_0x4e1832(0x446)](_0x217e2b))==null?void 0x0:_0x17b3ec['get'](_0x5aa44e))&&((_0x31105f=(_0x35f4c9=this[_0x4e1832(0x2bf)]['get'](_0x99ebbf))==null?void 0x0:_0x35f4c9[_0x4e1832(0x446)](_0x217e2b))==null||_0x31105f['delete'](_0x5aa44e));}[_0x6f5ed9(0x2ac)](_0x4acec0,_0x2ca921){const _0x16d8ce=_0x6f5ed9;this[_0x16d8ce(0x1d2)]['set'](_0x4acec0,_0x2ca921);}[_0x6f5ed9(0x1b2)](_0x2dcc21){this['_pivotTableInstanceCache']['delete'](_0x2dcc21);}[_0x6f5ed9(0x2d5)](_0x207de6,_0x42c878){const _0x1bcdec=_0x6f5ed9;let _0x3ff106=this[_0x1bcdec(0x3a0)][_0x1bcdec(0x446)](_0x207de6);_0x3ff106||(_0x3ff106=new Map(),this[_0x1bcdec(0x3a0)]['set'](_0x207de6,_0x3ff106));let _0x25eb81=_0x3ff106[_0x1bcdec(0x446)](_0x42c878);return _0x25eb81||(_0x25eb81=new Map(),_0x3ff106[_0x1bcdec(0x2bc)](_0x42c878,_0x25eb81)),_0x25eb81;}[_0x6f5ed9(0x256)](_0x472be3){const _0x3bb440=_0x6f5ed9,{unitId:_0xc0f13c,subUnitId:_0xe45e0a,pivotTableId:_0xf9e9de,pivotTableConfig:_0x5ba954,collectionConfig:_0x41d111}=_0x472be3,_0x2c441d={'unitId':_0xc0f13c,'subUnitId':_0xe45e0a,'oldSubUnitId':_0xe45e0a,'pivotTableId':_0xf9e9de,'pivotTableConfig':_0x5ba954,'collectionConfig':_0x41d111};this[_0x3bb440(0x42b)]['executeCommand'](_0x5533a9['id'],_0x2c441d,{'onlyLocal':!0x0});}[_0x6f5ed9(0x327)](_0x1eb9f7,_0x3b4939,_0x25126a,_0x391596,_0x5db3fb,_0x5a61d4,_0x230c01,_0x1d88af=!0x1){const _0x1d42ec=_0x6f5ed9;var _0x3e7e88;this[_0x1d42ec(0x42b)]['executeCommand'](_0x2806a0['id'],{'single':{'unitId':_0x1eb9f7,'subUnitId':_0x3b4939,'type':_0x25126a,'pivotTableId':_0x391596,'view':_0x5db3fb,'pivotConfig':_0x5a61d4},'collectionConfig':{[_0x1eb9f7]:_0x230c01}},{'onlyLocal':!0x0});const _0xacbfb0=!!((_0x3e7e88=this[_0x1d42ec(0x442)](_0x391596))!=null&&_0x3e7e88[_0x1d42ec(0x412)]()),_0x28871e=this[_0x1d42ec(0x34a)](_0x1eb9f7,_0x3b4939,_0x391596);_0x28871e&&this[_0x1d42ec(0x414)]({'view':_0x5db3fb,'pivotTableId':_0x391596,'textInfo':this[_0x1d42ec(0x3e7)](),'isEmpty':_0xacbfb0,'targetCellInfo':_0x28871e[_0x1d42ec(0x1fb)]},_0x1d88af);}[_0x6f5ed9(0x414)](_0x3d34cc,_0x3bfceb){const _0x5a3632=_0x6f5ed9,{targetCellInfo:_0x2e841a,pivotTableId:_0x5d6a44}=_0x3d34cc,{unitId:_0x4c198c,subUnitId:_0x438317}=_0x2e841a,_0x53a14f=this[_0x5a3632(0x2d5)](_0x4c198c,_0x438317),_0x515112=_0x53a14f[_0x5a3632(0x446)](_0x5d6a44);let _0x57117f,_0x1489d6;_0x515112&&(_0x57117f=_0x515112[_0x5a3632(0x324)],_0x1489d6=_0x515112[_0x5a3632(0x194)]);const {rangesCache:_0x3a70b5,matrix:_0x3e29e4}=_0xb023d5(_0x3d34cc);_0x53a14f[_0x5a3632(0x2bc)](_0x5d6a44,{'rangeCache':_0x3a70b5,'matrix':_0x3e29e4,'oldMatrix':_0x1489d6,'oldRangeCache':_0x57117f}),_0x3bfceb||this[_0x5a3632(0x411)]['next']({'unitId':_0x4c198c,'subUnitId':_0x438317,'pivotTableId':_0x5d6a44});}[_0x6f5ed9(0x18c)](_0x3c1aa9,_0x48985e,_0x4bbcd7,_0x53d90a,_0x5c1fde){const _0x1e04fb=_0x6f5ed9;this[_0x1e04fb(0x250)](_0x3c1aa9,_0x48985e,_0x4bbcd7,_0x5c1fde),this[_0x1e04fb(0x2ac)](_0x4bbcd7,_0x53d90a);}[_0x6f5ed9(0x2e1)](_0x28e40c,_0x29bcdd,_0x4b259f){const _0x1ceefe=_0x6f5ed9,_0x4d4406=this[_0x1ceefe(0x358)](_0x28e40c);_0x4d4406[_0x1ceefe(0x36b)](_0x4b259f)[_0x1ceefe(0x3a7)](_0x33b641=>{const _0x4f6d6d=_0x1ceefe;_0x4d4406[_0x4f6d6d(0x2e2)](_0x33b641);}),this['removeCollections'](_0x28e40c,_0x4b259f),this[_0x1ceefe(0x45d)](_0x28e40c,_0x29bcdd,_0x4b259f),this[_0x1ceefe(0x1b2)](_0x4b259f);}[_0x6f5ed9(0x2b3)](_0x2d8ccf,_0x24fef3,_0x4142f3,_0x2db65d){const _0x3aff7f=_0x6f5ed9;this[_0x3aff7f(0x250)](_0x2d8ccf,_0x24fef3,_0x4142f3,_0x2db65d);}[_0x6f5ed9(0x34a)](_0x1f6ade,_0x25b6c6,_0x221df6){const _0x237bd7=_0x6f5ed9;var _0x25482d,_0x11106e;const _0x24e844=(_0x11106e=(_0x25482d=this['_model'][_0x237bd7(0x446)](_0x1f6ade))==null?void 0x0:_0x25482d[_0x237bd7(0x446)](_0x25b6c6))==null?void 0x0:_0x11106e['get'](_0x221df6);if(_0x24e844)return _0x24e844;}[_0x6f5ed9(0x43a)](_0x5df4e8,_0x52fbec,_0xa5582b){const _0x3d6ce2=_0x6f5ed9;var _0x7a0fc,_0x1f6309;const _0x279faf=(_0x1f6309=(_0x7a0fc=this[_0x3d6ce2(0x2bf)][_0x3d6ce2(0x446)](_0x5df4e8))==null?void 0x0:_0x7a0fc[_0x3d6ce2(0x446)](_0x52fbec))==null?void 0x0:_0x1f6309[_0x3d6ce2(0x446)](_0xa5582b);if(_0x279faf)return _0x279faf[_0x3d6ce2(0x427)];}[_0x6f5ed9(0x442)](_0x4c59b5){return this['_pivotTableInstanceCache']['get'](_0x4c59b5);}[_0x6f5ed9(0x3ff)](_0x456b00){const _0x290308=_0x6f5ed9;this[_0x290308(0x2bf)][_0x290308(0x374)](_0x456b00);const _0x130382=this['_dataFieldManagerCollection'][_0x290308(0x446)](_0x456b00);_0x130382&&(_0x130382[_0x290308(0x274)](),this[_0x290308(0x31c)][_0x290308(0x374)](_0x456b00)),this['_viewData']['delete'](_0x456b00),this['needSameDeleteModel'][_0x290308(0x3a7)](_0x3b18fc=>{const _0x6a68c0=_0x290308;_0x3b18fc[_0x6a68c0(0x3ff)](_0x456b00);});}[_0x6f5ed9(0x1c1)](_0xb74d63,_0xfdba30,_0x46b021,_0x1a6ad7){const _0x1a19c3=_0x6f5ed9;return this[_0x1a19c3(0x358)](_0x46b021['unitId'])[_0x1a19c3(0x1c1)](_0xb74d63,_0xfdba30,_0x46b021,_0x1a6ad7);}[_0x6f5ed9(0x437)](_0x5f2b7b){const _0xfbbc3b=_0x6f5ed9;return this['getDataFieldManager'](_0x5f2b7b['unitId'])[_0xfbbc3b(0x437)](_0x5f2b7b);}['refreshData'](_0xc8c00a,_0x3f9ee8,_0x29d294){const _0xfd99ac=_0x6f5ed9;this[_0xfd99ac(0x358)](_0x29d294[_0xfd99ac(0x322)])[_0xfd99ac(0x21d)](_0xc8c00a,_0x3f9ee8,_0x29d294);}[_0x6f5ed9(0x29b)](_0x28b064,_0x487999){const _0x5d85f7=_0x6f5ed9;this[_0x5d85f7(0x358)](_0x28b064)['deleteDataField'](_0x487999);}[_0x6f5ed9(0x2c1)](_0x2d1979,_0x778e30){const _0x3c9bad=_0x6f5ed9;this[_0x3c9bad(0x358)](_0x2d1979)[_0x3c9bad(0x2c6)](_0x778e30);}[_0x6f5ed9(0x1a0)](_0x4911ba,_0x55bdb7){const _0x4e5c6c=_0x6f5ed9;var _0xaeff7c;return(_0xaeff7c=this[_0x4e5c6c(0x2bf)]['get'](_0x4911ba))==null?void 0x0:_0xaeff7c['get'](_0x55bdb7);}[_0x6f5ed9(0x292)](_0x5cc492){const _0x4530d0=_0x6f5ed9;for(const [_0x1d0851,_0x564589]of this['_model'][_0x4530d0(0x37a)]())for(const [_0x327b71,_0x1e3899]of _0x564589['entries']())if(_0x1e3899[_0x4530d0(0x228)](_0x5cc492))return{'unitId':_0x1d0851,'subUnitId':_0x327b71};return null;}['sideEffectUpdateWorkerCache'](_0x402bdf,_0xda840b,_0x1bf9a1,_0x5d065c){const _0x1b951f=_0x6f5ed9,_0x15a7d3=this[_0x1b951f(0x2d5)](_0x402bdf,_0xda840b);_0x5d065c?_0x15a7d3[_0x1b951f(0x2bc)](_0x1bf9a1,_0x5d065c):_0x15a7d3[_0x1b951f(0x374)](_0x1bf9a1),this[_0x1b951f(0x411)][_0x1b951f(0x253)]({'unitId':_0x402bdf,'subUnitId':_0xda840b,'pivotTableId':_0x1bf9a1});}[_0x6f5ed9(0x274)](){super['dispose']();}[_0x6f5ed9(0x3ac)](_0x334987,_0xb3b019,_0x13b779){const _0x1a65cd=_0x6f5ed9;var _0x53f6a8,_0x3b2d85;const _0x2500a3=(_0x3b2d85=(_0x53f6a8=this[_0x1a65cd(0x3a0)]['get'](_0x334987))==null?void 0x0:_0x53f6a8[_0x1a65cd(0x446)](_0xb3b019))==null?void 0x0:_0x3b2d85[_0x1a65cd(0x446)](_0x13b779);return _0x2500a3||null;}['addDirtyPivotTable'](_0x5b0b8e){const _0x30f2c4=_0x6f5ed9;this[_0x30f2c4(0x3d2)](_0x5b0b8e);}[_0x6f5ed9(0x3d2)](_0x407493){const _0x573453=_0x6f5ed9,{token:_0x5182f1,unitId:_0x18e39b,subUnitId:_0x117842}=_0x407493,_0x2a3e79=_0x18e39b+'-'+_0x117842+'-'+_0x5182f1;this[_0x573453(0x289)][_0x573453(0x446)](_0x2a3e79)&&clearTimeout(this[_0x573453(0x289)][_0x573453(0x446)](_0x2a3e79));const _0x5ce437=setTimeout(()=>{const _0x2895a8=_0x573453;this[_0x2895a8(0x416)](_0x407493),this['_queryingMap'][_0x2895a8(0x374)](_0x2a3e79);},_0x399e9d);this[_0x573453(0x289)][_0x573453(0x2bc)](_0x2a3e79,_0x5ce437);}[_0x6f5ed9(0x416)](_0x246f5c){const _0xf7394d=_0x6f5ed9,{unitId:_0x1a700b,subUnitId:_0x50e089,token:_0x23603a,type:_0x4e0f40,pivotConfig:_0x312825}=_0x246f5c,_0x1c03f8=this['getPivotTableInstance'](_0x23603a),_0x14e38e=_0x1c03f8==null?void 0x0:_0x1c03f8[_0xf7394d(0x36e)](),_0x5160ca=_0x312825!=null?_0x312825:this[_0xf7394d(0x34a)](_0x1a700b,_0x50e089,_0x23603a);_0x5160ca&&(_0x5160ca['isEmpty']=!!(_0x1c03f8!=null&&_0x1c03f8['isEmpty']())),(_0x14e38e||_0x4e0f40===_0x1bdb8f[_0xf7394d(0x3f6)])&&this[_0xf7394d(0x327)](_0x1a700b,_0x50e089,_0x4e0f40,_0x23603a,_0x14e38e,_0x5160ca,this[_0xf7394d(0x358)](_0x1a700b)[_0xf7394d(0x309)]());}[_0x6f5ed9(0x309)](_0x38a5e4){const _0xa2d7da=_0x6f5ed9,_0x402175={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0xa2d7da(0x358)](_0x38a5e4)&&(_0x402175[_0xa2d7da(0x2a2)][_0x38a5e4]=this['getDataFieldManager'](_0x38a5e4)['toJSON']()),this[_0xa2d7da(0x2bf)]['get'](_0x38a5e4)){_0x402175['pivotTableConfigs'][_0x38a5e4]={};const _0x12c2cc=this[_0xa2d7da(0x2bf)][_0xa2d7da(0x446)](_0x38a5e4);_0x12c2cc!=null&&_0x12c2cc[_0xa2d7da(0x317)]&&[..._0x12c2cc[_0xa2d7da(0x1b3)]()][_0xa2d7da(0x3a7)](_0x16c633=>{const _0x2bdef5=_0xa2d7da,_0x4fe0bb=_0x12c2cc['get'](_0x16c633);_0x4fe0bb!=null&&_0x4fe0bb['size']&&(_0x402175[_0x2bdef5(0x401)][_0x38a5e4][_0x16c633]={},[..._0x4fe0bb[_0x2bdef5(0x1b3)]()][_0x2bdef5(0x3a7)](_0x3e9ae5=>{const _0x50cf3c=_0x2bdef5,_0x502f59=_0x4fe0bb[_0x50cf3c(0x446)](_0x3e9ae5);_0x502f59&&(_0x402175[_0x50cf3c(0x401)][_0x38a5e4][_0x16c633][_0x3e9ae5]=_0x502f59);}));});}return _0x402175;}[_0x6f5ed9(0x269)](_0x5d8edb){const _0xcf40af=_0x6f5ed9;var _0x5402b6;const {dataFieldManagerConfig:_0x61a882,pivotTableConfigs:_0x250b59}=_0x5d8edb;_0x61a882&&Object[_0xcf40af(0x1b3)](_0x61a882)[_0xcf40af(0x3a7)](_0x53c88d=>{const _0x25240b=_0xcf40af;this[_0x25240b(0x358)](_0x53c88d)['fromJSON'](_0x61a882[_0x53c88d]);});const _0x3e0488=[];if(_0x250b59){const _0x531ea6=(_0x5402b6=this[_0xcf40af(0x208)][_0xcf40af(0x446)](_0x6ffa6d[_0xcf40af(0x431)])[_0xcf40af(0x2a3)](_0x225f82[_0xcf40af(0x355)]))!=null?_0x5402b6:{},{ls:_0x373ae0,pbk:_0x427775}=_0x531ea6,_0x36885d=_0x1cbe56(_0x7f0533,_0x373ae0,_0x427775)['count'];Object[_0xcf40af(0x1b3)](_0x250b59)[_0xcf40af(0x3a7)](_0x2bda6b=>{const _0x2bba1a=_0xcf40af;let _0x4fa328=0x0;const _0x15dacb=_0x250b59[_0x2bda6b];Object[_0x2bba1a(0x1b3)](_0x15dacb)[_0x2bba1a(0x3a7)](_0x52b136=>{const _0x5f580b=_0x2bba1a,_0x394ae7=_0x15dacb[_0x52b136];Object[_0x5f580b(0x1b3)](_0x394ae7)[_0x5f580b(0x3a7)](_0x2626d5=>{const _0x378c76=_0x5f580b,_0x3fe032=_0x394ae7[_0x2626d5];if(_0x3fe032){if(_0x4fa328>=_0x36885d)return;_0x4fa328++;const _0x581878=this['getDataFieldManager'](_0x2bda6b),_0x65400=_0x581878['collections'][_0x2626d5],_0x366dab=_0x65400[_0x378c76(0x2ca)]();let _0x405767=0x0;const _0x231cec=[];for(const _0x138753 of _0x366dab){const _0x25c409=_0x65400[_0x378c76(0x229)](_0x138753);if(_0x426cf2['isBaseGroupField'](_0x25c409)){const _0x18e35e=_0x25c409[_0x378c76(0x1ef)](),_0x571fc0=_0x65400['getFieldById'](_0x18e35e);_0x571fc0&&_0x231cec['push']([_0x25c409,_0x571fc0]);continue;}_0x581878[_0x378c76(0x199)](_0x138753,_0x3fe032[_0x378c76(0x23d)],_0x405767),_0x405767++;}_0x231cec['forEach'](([_0x35b104,_0x381c11])=>{_0x35b104['refreshGroupField'](_0x381c11);});const _0x387d32=new _0x426cf2[(_0x378c76(0x190))](_0x65400);_0x387d32[_0x378c76(0x269)](_0x3fe032[_0x378c76(0x427)]),this[_0x378c76(0x18c)](_0x2bda6b,_0x52b136,_0x2626d5,_0x387d32,_0x3fe032);const _0x1c3ddc=_0x387d32[_0x378c76(0x36e)]();_0x3e0488[_0x378c76(0x321)]({'unitId':_0x2bda6b,'subUnitId':_0x52b136,'pivotTableId':_0x2626d5,'view':_0x1c3ddc['toJSON'](),'pivotConfig':_0x3fe032,'type':_0x1bdb8f[_0x378c76(0x1b6)]});const _0x486aa1=!!_0x387d32[_0x378c76(0x412)](),_0x4910ad={'view':_0x1c3ddc,'pivotTableId':_0x2626d5,'textInfo':this[_0x378c76(0x3e7)](),'isEmpty':_0x486aa1,'targetCellInfo':_0x3fe032[_0x378c76(0x1fb)]};this[_0x378c76(0x414)](_0x4910ad,!0x1);}});});});}_0x61a882&&Object[_0xcf40af(0x1b3)](_0x61a882)[_0xcf40af(0x3a7)](_0x4e0f95=>{const _0x4ef43b=_0xcf40af,_0xa7f178=this[_0x4ef43b(0x358)](_0x4e0f95);this[_0x4ef43b(0x257)][_0x4ef43b(0x253)](_0xa7f178[_0x4ef43b(0x27c)]);}),this[_0xcf40af(0x42b)][_0xcf40af(0x1d9)](_0x2806a0['id'],{'batch':_0x3e0488,'collectionConfig':_0x61a882},{'onlyLocal':!0x0});}[_0x6f5ed9(0x37e)](){const _0x70393a=_0x6f5ed9;this[_0x70393a(0x237)](this[_0x70393a(0x2e6)][_0x70393a(0x2c8)]({'toJson':_0x3bf15e=>JSON[_0x70393a(0x46b)](this['toJSON'](_0x3bf15e)),'parseJson':_0x2d6816=>{if(!_0x2d6816)return{};try{return JSON['parse'](_0x2d6816);}catch{return{};}},'businesses':[_0x6ffa6d[_0x70393a(0x19f)][_0x70393a(0x335)]],'pluginName':_0x33898b,'onLoad':(_0x18aac9,_0x2d53db)=>{const _0x5a3106=_0x70393a;this[_0x5a3106(0x269)](_0x2d53db);},'onUnLoad':_0x1ecfa6=>{const _0x2433ab=_0x70393a;this[_0x2433ab(0x3ff)](_0x1ecfa6);}}));}},_0x35c787[_0x6f5ed9(0x185)]=_0x3d6b19([_0x1f5a7c(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x24b)])),_0x1f5a7c(0x1,_0x6ffa6d['IUniverInstanceService']),_0x1f5a7c(0x2,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x361)])),_0x1f5a7c(0x3,_0x6ffa6d[_0x6f5ed9(0x431)]),_0x1f5a7c(0x4,_0x6ffa6d[_0x6f5ed9(0x3fa)]),_0x1f5a7c(0x5,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x348)]))],_0x35c787['SheetsPivotDataSourceModel']);const _0x5f1f5d={0x0:{0x0:{'v':'filter','s':_0xe319e1}},0x2:{0x1:{'v':'','s':_0xe319e1},0x2:{'v':'','s':_0xe319e1},0x3:{'v':_0x6f5ed9(0x1eb),'s':_0xe319e1},0x4:{'v':'','s':_0xe319e1},0x5:{'v':'','s':_0xe319e1}},0x3:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0x4:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0x5:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0x6:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0x7:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0x8:{0x0:{'v':_0x6f5ed9(0x316),'s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'values','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0x9:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0xa:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0xb:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0xc:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}},0xd:{0x0:{'v':'','s':_0xe319e1},0x1:{'v':'','s':_0xcc6d25},0x2:{'v':'','s':_0xcc6d25},0x3:{'v':'','s':_0xcc6d25},0x4:{'v':'','s':_0xcc6d25},0x5:{'v':'','s':_0xcc6d25}}},_0x3ad250={'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':[]},_0x92b1bb=(_0x2ef87d,_0x3ef926)=>{const _0x46170c=_0x6f5ed9,_0x2e4938=new _0x6ffa6d[(_0x46170c(0x291))](),_0x50d682=new _0x6ffa6d[(_0x46170c(0x291))](_0x5f1f5d),{row:_0x45f0ff,col:_0x4edd2c}=_0x3ef926;_0x50d682[_0x46170c(0x263)]((_0x44f7e2,_0xaa35ed,_0x46e282)=>{const _0x17ec16=_0x46170c;let _0x446b7d='';_0x46e282['v']==='filter'?_0x446b7d=_0x2ef87d['filter']:_0x46e282['v']===_0x17ec16(0x316)?_0x446b7d=_0x2ef87d['row']:_0x46e282['v']===_0x17ec16(0x1eb)?_0x446b7d=_0x2ef87d['column']:_0x46e282['v']==='values'&&(_0x446b7d=_0x2ef87d[_0x17ec16(0x342)]),_0x2e4938['setValue'](_0x44f7e2+_0x45f0ff,_0xaa35ed+_0x4edd2c,{..._0x46e282,'v':_0x446b7d});});const _0x57d311=_0x6ffa6d[_0x46170c(0x2eb)][_0x46170c(0x264)](_0x3ad250);return Object[_0x46170c(0x1b3)](_0x3ad250)[_0x46170c(0x3a7)](_0x2a6b9b=>{const _0x2b36bb=_0x46170c;_0x57d311[_0x2a6b9b]=_0x3ad250[_0x2a6b9b][_0x2b36bb(0x38b)](_0x281753=>({..._0x281753,'startRow':_0x281753['startRow']+_0x45f0ff,'endRow':_0x281753[_0x2b36bb(0x272)]+_0x45f0ff,'startColumn':_0x281753[_0x2b36bb(0x477)]+_0x4edd2c,'endColumn':_0x281753[_0x2b36bb(0x3e9)]+_0x4edd2c}));}),{'matrixCache':_0x2e4938,'rangesCache':_0x57d311};};function _0x5d4e05(_0x15e073,_0x1db3e4){const _0x3b80b5=_0x6f5ed9;let _0x22b881='';const _0x29c114=this[_0x3b80b5(0x3e7)]();switch(_0x1db3e4){case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x1cf)]:_0x22b881=_0x29c114[_0x3b80b5(0x337)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x2ba)]:_0x22b881=_0x29c114[_0x3b80b5(0x47a)]+_0x15e073;break;case _0x426cf2['PivotSubtotalTypeEnum']['countNums']:_0x22b881=_0x29c114[_0x3b80b5(0x23b)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x387)]:_0x22b881=_0x29c114[_0x3b80b5(0x192)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x48e)]:_0x22b881=_0x29c114[_0x3b80b5(0x1a4)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)]['product']:_0x22b881=_0x29c114[_0x3b80b5(0x3cc)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x2cd)]:_0x22b881=_0x29c114[_0x3b80b5(0x2da)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x473)]:_0x22b881=_0x29c114[_0x3b80b5(0x386)]+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x1df)]:_0x22b881=_0x29c114['sheets-pivot.sumName']+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)]['var']:_0x22b881=_0x29c114['sheets-pivot.varName']+_0x15e073;break;case _0x426cf2[_0x3b80b5(0x38a)][_0x3b80b5(0x395)]:_0x22b881=_0x29c114[_0x3b80b5(0x2ea)]+_0x15e073;break;default:_0x22b881=_0x15e073;break;}return _0x22b881;}function _0x94cdc1(_0x4bbc78,_0x378f81,_0x3c12da,_0xc439b8,_0x22bcbd){const _0x1b0416=_0x6f5ed9;var _0x2fbcc8,_0x259947,_0x1dedf3,_0xdbeda5,_0x10fc0b;const _0x2c4b7c=_0x6ffa6d['cellToRange'](_0x4bbc78,_0x378f81),{rangesInfo:_0x89d9f4,areaInfo:_0x56a427,headerMap:_0x2e1c28}=_0x22bcbd;if(!_0x89d9f4||!_0x56a427||!_0x2e1c28)return;const _0x20cd03=Object[_0x1b0416(0x1b3)](_0x89d9f4)[_0x1b0416(0x29c)](_0x3ba2f5=>_0x89d9f4[_0x3ba2f5]['some'](_0x35f331=>_0x6ffa6d[_0x1b0416(0x341)][_0x1b0416(0x20e)](_0x35f331,_0x2c4b7c))),_0x5ba5e1=_0x56a427;let _0x3ed42a,_0x85e0f1,_0x467c20;if(_0x20cd03===_0x1b0416(0x1a5))_0x3ed42a=(_0x2fbcc8=_0x5ba5e1==null?void 0x0:_0x5ba5e1[_0x1b0416(0x44d)])==null?void 0x0:_0x2fbcc8[_0x4bbc78],_0x85e0f1=(_0x259947=_0x2e1c28==null?void 0x0:_0x2e1c28[_0x1b0416(0x191)])==null?void 0x0:_0x259947[_0x378f81],_0x467c20=_0x85e0f1==null?void 0x0:_0x85e0f1[_0x1b0416(0x1ad)];else{if(_0x20cd03===_0x1b0416(0x1d7))_0x3ed42a=(_0x1dedf3=_0x5ba5e1==null?void 0x0:_0x5ba5e1[_0x1b0416(0x458)])==null?void 0x0:_0x1dedf3[_0x378f81],_0x85e0f1=(_0xdbeda5=_0x2e1c28['colHeaderMap'])==null?void 0x0:_0xdbeda5[_0x4bbc78+0x1+_0x378f81-_0x89d9f4[_0x1b0416(0x1d7)][0x0][_0x1b0416(0x477)]],_0x467c20=_0x85e0f1==null?void 0x0:_0x85e0f1[_0x1b0416(0x1ad)];else{if(_0x20cd03==='cornerRanges')_0x3ed42a=(_0x10fc0b=_0x5ba5e1==null?void 0x0:_0x5ba5e1[_0x1b0416(0x450)])==null?void 0x0:_0x10fc0b[_0x378f81],_0x467c20=_0x3ed42a==null?void 0x0:_0x3ed42a[_0x1b0416(0x1ad)];else{if(_0x20cd03===_0x1b0416(0x2d4)){const _0x511025=_0x3c12da==null?void 0x0:_0x3c12da['fi'];_0x511025!==void 0x0&&(_0x467c20=_0xc439b8[_0x1b0416(0x29f)](_0x511025));}}}}return{'filterId':_0x467c20,'info':_0x3ed42a,'data':_0x3c12da,'headerInfo':_0x85e0f1};}function _0x54c6a0(_0x4aa985,_0x3bd770,_0x3d6794){const _0x501689=_0x6f5ed9,_0x40354c=_0x4aa985['dataFieldsCollection'],_0x3a95df=_0x40354c[_0x501689(0x2ca)](),_0x4b4d46=new Set();_0x4aa985[_0x501689(0x24e)](_0x4f951f=>{const _0x2d7f13=_0x501689;_0x4b4d46[_0x2d7f13(0x39c)](_0x4f951f[_0x2d7f13(0x31f)]);});const _0x19bdeb=_0x3a95df[_0x501689(0x38b)](_0x311abe=>{const _0x8d3f68=_0x501689,_0x54e852=_0x40354c[_0x8d3f68(0x229)](_0x311abe);return{'checked':_0x4b4d46[_0x8d3f68(0x228)](_0x311abe),'dataFieldId':_0x54e852['id'],'id':_0x54e852['id'],'name':_0x40354c[_0x8d3f68(0x2e9)](_0x54e852['id']),'type':_0x54e852[_0x8d3f68(0x20b)](),'pivotTableId':_0x3bd770};}),_0x1a4ae5=[];_0x4aa985[_0x501689(0x39e)](_0x426cf2[_0x501689(0x23e)]['Row'],_0x324ec6=>{const _0x5f1a77=_0x501689;_0x1a4ae5[_0x5f1a77(0x321)]({'dataFieldId':_0x324ec6[_0x5f1a77(0x31f)],'tableFieldId':_0x324ec6[_0x5f1a77(0x222)](),'displayName':_0x324ec6[_0x5f1a77(0x2e9)]()});});const _0x31d569=[];_0x4aa985[_0x501689(0x39e)](_0x426cf2['PivotTableFiledAreaEnum'][_0x501689(0x2fe)],_0x12aecd=>{const _0xc0c13b=_0x501689;_0x31d569['push']({'dataFieldId':_0x12aecd[_0xc0c13b(0x31f)],'tableFieldId':_0x12aecd['getId'](),'displayName':_0x12aecd[_0xc0c13b(0x2e9)]()});});const _0x78a06a=[];if(_0x4aa985['iterateFieldByArea'](_0x426cf2[_0x501689(0x23e)][_0x501689(0x435)],_0x5ebe9c=>{const _0x1d2f05=_0x501689;_0x78a06a[_0x1d2f05(0x321)]({'dataFieldId':_0x5ebe9c[_0x1d2f05(0x31f)],'tableFieldId':_0x5ebe9c['getId'](),'displayName':_0x5ebe9c[_0x1d2f05(0x2e9)](),'format':_0x5ebe9c[_0x1d2f05(0x369)](),'subTotalType':_0x5ebe9c[_0x1d2f05(0x31d)]()});}),_0x78a06a[_0x501689(0x293)]>0x1){const _0x3be62b=_0x4aa985[_0x501689(0x476)]();(_0x4aa985['isColMultiMeasure']()?_0x31d569:_0x1a4ae5)['splice'](_0x3be62b,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x501689(0x3ec)});}const _0x5ebdf9=[];_0x4aa985[_0x501689(0x39e)](_0x426cf2[_0x501689(0x23e)][_0x501689(0x1f3)],_0x47dd64=>{const _0x2011ad=_0x501689;_0x5ebdf9[_0x2011ad(0x321)]({'dataFieldId':_0x47dd64['dataFieldId'],'tableFieldId':_0x47dd64['getId'](),'displayName':_0x47dd64['getDisplayName']()});});const _0x410763=_0x3d6794[_0x501689(0x23d)];return{'sourceList':_0x19bdeb,'sourceRange':_0x410763,'rowFields':_0x1a4ae5,'columnFields':_0x31d569,'valueFields':_0x78a06a,'filterFields':_0x5ebdf9,'positionInfo':_0x3d6794[_0x501689(0x1fb)]};}function _0x5f4daa(_0x57013b,_0x1d7f37,_0x80a1e9='',_0x3d986d={}){const _0x3eb052=_0x6f5ed9,_0x45fffd=_0x57013b[_0x3eb052(0x446)](_0x6ffa6d[_0x3eb052(0x2aa)]);for(const _0xa42168 in _0x1d7f37)if(Object[_0x3eb052(0x42a)][_0x3eb052(0x305)][_0x3eb052(0x338)](_0x1d7f37,_0xa42168)){const _0x4b1fb4=_0x80a1e9?_0x80a1e9+'.'+_0xa42168:_0xa42168;typeof _0x1d7f37[_0xa42168]=='object'&&_0x1d7f37[_0xa42168]!==null&&!Array[_0x3eb052(0x1d4)](_0x1d7f37[_0xa42168])?_0x5f4daa(_0x57013b,_0x1d7f37[_0xa42168],_0x4b1fb4,_0x3d986d):_0x3d986d[_0x4b1fb4]=_0x45fffd['t'](_0x4b1fb4);}return _0x3d986d;}const _0x5be06b=_0x11d477=>{const _0x41c08a=_0x6f5ed9;if(!_0x11d477)return[];const {rowRanges:_0x5154a7,colRanges:_0x4216da,cornerRanges:_0x22eb47,dataRanges:_0x33578a,pageRanges:_0x31528b}=_0x11d477,_0x3aef22=[..._0x4216da,..._0x5154a7,..._0x33578a,..._0x22eb47][_0x41c08a(0x1ee)](_0x28cda3=>_0x28cda3[_0x41c08a(0x297)]>=0x0&&_0x28cda3[_0x41c08a(0x477)]>=0x0&&_0x28cda3[_0x41c08a(0x272)]>=0x0&&_0x28cda3[_0x41c08a(0x3e9)]>=0x0);let _0x588519=Number[_0x41c08a(0x28c)],_0x411c0b=Number[_0x41c08a(0x178)],_0x5a17ba=Number[_0x41c08a(0x28c)],_0x4902dc=Number[_0x41c08a(0x178)];for(let _0x1c3518=0x0;_0x1c3518<_0x3aef22[_0x41c08a(0x293)];_0x1c3518++)_0x588519=Math['min'](_0x588519,_0x3aef22[_0x1c3518][_0x41c08a(0x297)]),_0x411c0b=Math[_0x41c08a(0x387)](_0x411c0b,_0x3aef22[_0x1c3518][_0x41c08a(0x272)]),_0x5a17ba=Math[_0x41c08a(0x48e)](_0x5a17ba,_0x3aef22[_0x1c3518][_0x41c08a(0x477)]),_0x4902dc=Math[_0x41c08a(0x387)](_0x4902dc,_0x3aef22[_0x1c3518][_0x41c08a(0x3e9)]);return[..._0x31528b,{'startRow':_0x588519,'endRow':_0x411c0b,'startColumn':_0x5a17ba,'endColumn':_0x4902dc}];};function _0x4e094c(_0x378b12,_0x45decc){const _0xf1d55f=_0x6f5ed9,_0x2d192c=_0x45decc[_0xf1d55f(0x35c)]['drillDown'],{pivotTableId:_0x10ed5b,unitId:_0x579deb,subUnitId:_0x3a58e4}=_0x45decc;if(!_0x2d192c)return;const _0x1f1f62=_0x378b12['get'](_0x35c787[_0xf1d55f(0x185)]),_0x2a51bf=_0x1f1f62[_0xf1d55f(0x442)](_0x10ed5b),_0x32af6e=_0x1f1f62['getPivotTableConfig'](_0x579deb,_0x3a58e4,_0x10ed5b);if(!_0x2a51bf||!_0x32af6e)return;const _0x502f4d=_0x2a51bf[_0xf1d55f(0x3be)](_0x2d192c[_0xf1d55f(0x23c)]);if(!(_0x502f4d!=null&&_0x502f4d['length']))return;const _0x1c84d9=_0x32af6e[_0xf1d55f(0x23d)],{unitId:_0x5cf1bb,subUnitId:_0x190232,range:_0x42332d}=_0x1c84d9;let _0x507099=0x0;const _0x354aa0=_0x2a51bf[_0xf1d55f(0x176)][_0xf1d55f(0x2ca)]()['reduce']((_0x65dd94,_0x1fc176)=>{const _0x2948c9=_0xf1d55f;var _0x154eda;const _0x1124df=(_0x154eda=_0x2a51bf[_0x2948c9(0x403)](_0x1fc176))==null?void 0x0:_0x154eda['getformat']();return _0x1124df&&(_0x65dd94[String(_0x507099)]=_0x1124df),_0x507099++,_0x65dd94;},{});return{'indexes':_0x502f4d,'range':_0x42332d,'sourceUnitId':_0x5cf1bb,'sourceSubUnitId':_0x190232,'formatMap':_0x354aa0};}function _0x1caba2(_0x2e44cb,_0x45510a){const _0x41c6ce=_0x6f5ed9;if(!_0x2e44cb||!_0x45510a)return!0x0;const _0x1a8218=_0x225f82[_0x41c6ce(0x296)](_0x4c8fda,_0x74b1b3),_0x4153de=new Function(_0x41c6ce(0x402)+_0x1a8218)()(_0x2e44cb,_0x45510a)[_0x41c6ce(0x330)],_0x251b5c=_0x225f82[_0x41c6ce(0x2a6)](_0x4153de,'sf',_0x1a1fcb);return!((_0x4153de==null?void 0x0:_0x4153de['rt'])===_0x225f82[_0x41c6ce(0x255)][_0x41c6ce(0x1c0)]&&!_0x251b5c);}function _0x1cbe56(_0x23e7e7,_0x417c6e,_0x398282){const _0x59ff3f=_0x6f5ed9,_0x4b80a4={'count':_0x23e7e7,'timeValid':!0x1};if(!_0x417c6e||!_0x398282)return _0x4b80a4;const _0x35b5d1=_0x225f82[_0x59ff3f(0x296)](_0x4c8fda,_0x74b1b3),_0x31107f=new Function(_0x59ff3f(0x402)+_0x35b5d1)()(_0x417c6e,_0x398282);if(_0x31107f!=null&&_0x31107f[_0x59ff3f(0x17b)]){const _0xff8f96=_0x31107f[_0x59ff3f(0x330)],_0x4f43d2=_0x225f82['isFeatureAuthorizedWithinTime'](_0xff8f96,'sf',_0x1a1fcb);return{'count':_0x225f82[_0x59ff3f(0x2f5)](_0xff8f96,_0x4f43d2,_0x59ff3f(0x490),_0x23e7e7,_0x23e7e7,0x0),'timeValid':_0x4f43d2};}return _0x4b80a4;}function _0x4b7ad7(_0x1b0546,_0x1d8123,_0x461cc6,_0x2a8465){const _0x40aa2c=_0x6f5ed9,_0x239f3a={'subUnitId':_0x461cc6,'unitId':_0x1d8123,'cellValue':_0x2361cb[_0x40aa2c(0x423)](_0x2a8465)},_0x2a6789=_0x2361cb['SetRangeValuesUndoMutationFactory'](_0x1b0546,_0x239f3a);let _0x385bb5=!0x1;return new _0x6ffa6d['ObjectMatrix'](_0x2a6789[_0x40aa2c(0x3b3)])[_0x40aa2c(0x263)]((_0x17cee4,_0x43a2b2,_0x533c72)=>{const _0x7fa33f=_0x40aa2c;if(!_0x385bb5&&_0x533c72&&(_0x533c72[_0x7fa33f(0x187)]||_0x533c72['f']||_0x533c72['p']||_0x533c72['s']||_0x533c72['si']||_0x533c72['t']||_0x533c72['v']))return _0x385bb5=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x2361cb[_0x40aa2c(0x1ea)]['id'],'params':_0x2a6789},'setRangeValueRedoMutation':{'id':_0x2361cb[_0x40aa2c(0x1ea)]['id'],'params':_0x239f3a},'shouldClear':_0x385bb5};}function _0x297ca1(_0x74471){const {row:_0x22f4d9,col:_0xebf78b}=_0x74471,_0x3e02d7={'startRow':_0x22f4d9,'endRow':_0x22f4d9,'startColumn':_0xebf78b,'endColumn':_0xebf78b},_0x12bd35={'startRow':_0x22f4d9+0x2,'endRow':_0x22f4d9+0xe,'startColumn':_0xebf78b,'endColumn':_0xebf78b+0x6};return[_0x3e02d7,_0x12bd35];}function _0xb62d81(_0x2e165f,_0x494b4b,_0x2adeb9){const _0x29fd5b=_0x6f5ed9,{cornerView:_0x343e18,rowView:_0x404fb,colView:_0x5db672,pageView:_0x4f7d7b}=_0x2e165f,{row:_0x540040,col:_0x2a492c}=_0x494b4b;if(_0x2adeb9)return{'rowCount':_0x5a5848+_0x540040,'colCount':_0x164e72+_0x2a492c};const _0x2665ba=_0x4f7d7b[_0x29fd5b(0x1f6)]>-0x1?_0x4f7d7b[_0x29fd5b(0x1f6)]+0x1:0x0,_0x1ea236=_0x4f7d7b[_0x29fd5b(0x249)]>-0x1?_0x4f7d7b[_0x29fd5b(0x249)]:0x0,_0x3efbdc=_0x540040+_0x2665ba+(_0x2665ba?0x1:0x0)+_0x343e18[_0x29fd5b(0x3bd)]+_0x404fb[_0x29fd5b(0x3bd)],_0x38f7a1=_0x2a492c+_0x1ea236,_0xb90ee6=_0x2a492c+_0x343e18['colCount']+_0x5db672['colCount'],_0x5d9454=Math[_0x29fd5b(0x387)](_0x38f7a1,_0xb90ee6);return{'rowCount':_0x3efbdc,'colCount':_0x5d9454};}function _0x2a9e07(_0x5ea4f3,_0x2aea09,_0x51a3ca,_0x38a330){const _0x5991f2=_0x6f5ed9,{row:_0x4d4e62,col:_0x5089f3,unitId:_0xdda3bf,subUnitId:_0x3907ea}=_0x51a3ca,_0x9fb3c5=_0xb62d81(_0x2aea09,{'row':_0x4d4e62,'col':_0x5089f3},_0x38a330),_0x22364c=_0x5ea4f3[_0x5991f2(0x446)](_0x6ffa6d[_0x5991f2(0x491)]),_0xfa43e2=_0x2361cb['getSheetCommandTarget'](_0x22364c,{'unitId':_0xdda3bf,'subUnitId':_0x3907ea}),_0x4a529a=[],_0x4696e0=[];if(!_0xfa43e2)return{'undos':_0x4696e0,'redos':_0x4a529a};const {worksheet:_0x3c7556}=_0xfa43e2,_0x5baba2=_0x3c7556[_0x5991f2(0x471)](),_0x3c911a=_0x3c7556[_0x5991f2(0x36c)]();return _0x5baba2<_0x9fb3c5['rowCount']&&(_0x4a529a[_0x5991f2(0x321)]({'id':_0x2361cb[_0x5991f2(0x2c7)]['id'],'params':{'unitId':_0xdda3bf,'subUnitId':_0x3907ea,'range':{'startRow':_0x5baba2,'endRow':_0x9fb3c5[_0x5991f2(0x3bd)]-0x1,'startColumn':0x0,'endColumn':_0x3c911a-0x1}}}),_0x4696e0['push']({'id':_0x2361cb[_0x5991f2(0x2fd)]['id'],'params':{'unitId':_0xdda3bf,'subUnitId':_0x3907ea,'range':{'startRow':_0x5baba2,'endRow':_0x9fb3c5['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x3c911a-0x1}}})),_0x3c911a<_0x9fb3c5[_0x5991f2(0x301)]&&(_0x4a529a[_0x5991f2(0x321)]({'id':_0x2361cb[_0x5991f2(0x354)]['id'],'params':{'unitId':_0xdda3bf,'subUnitId':_0x3907ea,'range':{'startRow':0x0,'endRow':_0x5baba2-0x1,'startColumn':_0x3c911a,'endColumn':_0x9fb3c5['colCount']-0x1}}}),_0x4696e0[_0x5991f2(0x321)]({'id':_0x2361cb['RemoveColMutation']['id'],'params':{'unitId':_0xdda3bf,'subUnitId':_0x3907ea,'range':{'startRow':0x0,'endRow':_0x5baba2-0x1,'startColumn':_0x3c911a,'endColumn':_0x9fb3c5[_0x5991f2(0x301)]-0x1}}})),{'undos':_0x4696e0,'redos':_0x4a529a};}function _0x3046a9(_0x835824){let _0x2e5c75=0x0;for(let _0x219755=0x0;_0x219755<_0x835824['length'];_0x219755++){const _0x461450=_0x835824['charCodeAt'](_0x219755);_0x461450>=0x4e00&&_0x461450<=0x9fff||_0x461450>=0x3000&&_0x461450<=0x303f||_0x461450>=0xff00&&_0x461450<=0xffef?_0x2e5c75+=0x2:_0x2e5c75+=0x1;}return _0x2e5c75;}function _0x5baf45(_0xaebf88,_0x4136bf,_0x2d1ef8,_0x47130a){const _0x287caf=_0x6f5ed9;var _0x442d6c,_0x420f17,_0x40f2c1,_0x282269;const {rowCount:_0x1decd3,colCount:_0x138171,headerMap:_0x181eb9}=_0xaebf88,_0x5d130c=0x64,_0x26d0b9=Math['min'](_0x1decd3,_0x5d130c),_0x1fc4a0=Math[_0x287caf(0x48e)](_0x138171,_0x5d130c);let _0x1eef00='',_0x4c66c9=0x0;for(let _0x569313=0x0;_0x569313<_0x26d0b9;_0x569313++)for(let _0x19c75d=0x0;_0x19c75d<_0x1fc4a0;_0x19c75d++){const _0xb56b61={...(_0x420f17=(_0x442d6c=_0xaebf88[_0x287caf(0x2b4)])==null?void 0x0:_0x442d6c[_0x569313])==null?void 0x0:_0x420f17[_0x19c75d]},_0x703d37=(_0x40f2c1=_0x181eb9[_0x569313])==null?void 0x0:_0x40f2c1['tableFieldId'],_0x2fbc04=_0x47130a[_0x703d37];let _0x343859=_0xaebf88[_0x287caf(0x3d6)](_0x569313,_0x19c75d);if(_0xb56b61){const _0x251561=_0x2d1ef8?_0x19c75d===0x0&&((_0x282269=_0xaebf88[_0x287caf(0x273)](_0x19c75d+0x1))==null?void 0x0:_0x282269[_0x287caf(0x417)]):!0x1;_0x343859=_0x324cc3(_0xb56b61,_0x251561,_0x2fbc04,_0x4136bf);}if(_0x343859!==void 0x0){const _0x437ad0=_0x3046a9(String(_0x343859));_0x4c66c9<_0x437ad0&&(_0x1eef00=String(_0x343859),_0x4c66c9=_0x437ad0);}}return _0x1eef00;}function _0x48db21(_0x293d1c){const _0x3c4fb9=_0x6f5ed9,{rowCount:_0x32cb42,colCount:_0x33b4db}=_0x293d1c;let _0x28be65='',_0x62ad2e=0x0;for(let _0x393a60=_0x32cb42-0x1;_0x393a60>0x0&&_0x393a60>_0x32cb42-0x3;_0x393a60--)for(let _0x3a08c0=0x0;_0x3a08c0<_0x33b4db;_0x3a08c0++){const _0xd5fd3c=_0x293d1c['getValue'](_0x393a60,_0x3a08c0);if(_0xd5fd3c!==void 0x0){const _0x4aafd0=String(_0xd5fd3c)[_0x3c4fb9(0x293)];_0x62ad2e<_0x4aafd0&&(_0x28be65=String(_0xd5fd3c),_0x62ad2e=_0x4aafd0);}}return _0x28be65;}function _0x240e5e(_0x5eab42){const _0x9bd655=_0x6f5ed9,{rowCount:_0x568002,colCount:_0x3d4dde}=_0x5eab42;let _0x20c37e='',_0x3e87ac=0x0;for(let _0x2fc3f9=0x0;_0x2fc3f9<_0x568002;_0x2fc3f9++)for(let _0x344e84=0x0;_0x344e84<_0x3d4dde;_0x344e84++){const _0x43c72d=_0x5eab42[_0x9bd655(0x3d6)](_0x2fc3f9,_0x344e84);if(_0x43c72d!==void 0x0){const _0x84ed40=String(_0x43c72d)[_0x9bd655(0x293)];_0x3e87ac<_0x84ed40&&(_0x20c37e=String(_0x43c72d),_0x3e87ac=_0x84ed40);}}return _0x20c37e;}function _0x1e5c72(_0x25128c,_0x28ead4){const _0x21ac44=_0x6f5ed9,{rowFields:_0x21c345,columnFields:_0x1f4837,valueFields:_0x176e39,filterFields:_0x41c155,dimension:_0x177d11,measure:_0x2a985b}=_0x28ead4;for(const _0xfa74f4 of _0x21c345){const _0xb9b565=_0x177d11[_0xfa74f4];_0xb9b565&&_0x25128c[_0x21ac44(0x403)](_0xb9b565[_0x21ac44(0x31f)])&&(_0x25128c[_0x21ac44(0x2f4)](_0xb9b565[_0x21ac44(0x31f)],_0x426cf2[_0x21ac44(0x23e)][_0x21ac44(0x248)],void 0x0,_0xfa74f4),_0xb9b565['displayName']&&_0x25128c['renameField'](_0xb9b565['id'],_0xb9b565[_0x21ac44(0x1d8)]),_0xb9b565[_0x21ac44(0x314)]&&_0x25128c['setSortInfo'](_0xb9b565['id'],_0xb9b565[_0x21ac44(0x314)]),_0xb9b565['filterInfo']&&_0x25128c[_0x21ac44(0x3c3)](_0xb9b565['id'],_0xb9b565[_0x21ac44(0x444)]));}for(const _0x171b0f of _0x1f4837){const _0x5f4fde=_0x177d11[_0x171b0f];_0x5f4fde&&_0x25128c[_0x21ac44(0x403)](_0x5f4fde[_0x21ac44(0x31f)])&&(_0x25128c[_0x21ac44(0x2f4)](_0x5f4fde[_0x21ac44(0x31f)],_0x426cf2[_0x21ac44(0x23e)][_0x21ac44(0x2fe)],void 0x0,_0x171b0f),_0x5f4fde[_0x21ac44(0x314)]&&_0x25128c[_0x21ac44(0x370)](_0x5f4fde['id'],_0x5f4fde[_0x21ac44(0x314)]),_0x5f4fde[_0x21ac44(0x444)]&&_0x25128c[_0x21ac44(0x3c3)](_0x5f4fde['id'],_0x5f4fde['filterInfo']),_0x5f4fde[_0x21ac44(0x1d8)]&&_0x25128c[_0x21ac44(0x475)](_0x5f4fde['id'],_0x5f4fde[_0x21ac44(0x1d8)]));}for(const _0x3783cc of _0x41c155){const _0x41c343=_0x177d11[_0x3783cc];_0x41c343&&_0x25128c[_0x21ac44(0x403)](_0x41c343['dataFieldId'])&&(_0x25128c[_0x21ac44(0x2f4)](_0x41c343['dataFieldId'],_0x426cf2[_0x21ac44(0x23e)][_0x21ac44(0x1f3)],void 0x0,_0x3783cc),_0x41c343[_0x21ac44(0x314)]&&_0x25128c['setSortInfo'](_0x41c343['id'],_0x41c343[_0x21ac44(0x314)]),_0x41c343[_0x21ac44(0x444)]&&_0x25128c[_0x21ac44(0x3c3)](_0x41c343['id'],_0x41c343[_0x21ac44(0x444)]),_0x41c343[_0x21ac44(0x1d8)]&&_0x25128c['renameField'](_0x41c343['id'],_0x41c343[_0x21ac44(0x1d8)]));}for(const _0x14068f of _0x176e39){const _0x17b45b=_0x2a985b[_0x14068f];_0x17b45b&&_0x25128c['getDataFieldByDataFieldId'](_0x17b45b['dataFieldId'])&&(_0x25128c[_0x21ac44(0x2f4)](_0x17b45b[_0x21ac44(0x31f)],_0x426cf2[_0x21ac44(0x23e)][_0x21ac44(0x435)],void 0x0,_0x14068f),_0x17b45b[_0x21ac44(0x492)]!==void 0x0&&_0x25128c['setSubtotalType'](_0x14068f,_0x17b45b[_0x21ac44(0x492)]),_0x17b45b[_0x21ac44(0x242)]&&_0x25128c[_0x21ac44(0x21b)](_0x14068f,_0x17b45b[_0x21ac44(0x242)]),_0x17b45b[_0x21ac44(0x1d8)]&&_0x25128c[_0x21ac44(0x475)](_0x17b45b['id'],_0x17b45b[_0x21ac44(0x1d8)]));}const _0x45ff77=_0x28ead4[_0x21ac44(0x346)];for(const {fieldId:_0x36fdfc,filterInfo:_0x208bcc}of _0x45ff77)_0x25128c[_0x21ac44(0x209)](_0x36fdfc,_0x208bcc);}function _0x37d3ad(_0x31ede8,_0x4f4d86){const _0x391414=_0x6f5ed9,_0x5d4bc6=[];_0x4f4d86===_0x426cf2[_0x391414(0x23e)][_0x391414(0x248)]&&_0x31ede8['iterateFieldByArea'](_0x426cf2[_0x391414(0x23e)][_0x391414(0x248)],_0x2cb4b0=>{const _0x52912a=_0x391414;_0x5d4bc6[_0x52912a(0x321)](_0x2cb4b0[_0x52912a(0x222)]());}),_0x4f4d86===_0x426cf2['PivotTableFiledAreaEnum'][_0x391414(0x2fe)]&&_0x31ede8[_0x391414(0x39e)](_0x426cf2[_0x391414(0x23e)]['Column'],_0x186592=>{const _0x5ea0b5=_0x391414;_0x5d4bc6['push'](_0x186592[_0x5ea0b5(0x222)]());}),_0x4f4d86===_0x426cf2[_0x391414(0x23e)]['Filter']&&_0x31ede8[_0x391414(0x39e)](_0x426cf2[_0x391414(0x23e)][_0x391414(0x1f3)],_0x2e3558=>{const _0xdc9de9=_0x391414;_0x5d4bc6[_0xdc9de9(0x321)](_0x2e3558['getId']());}),_0x4f4d86===_0x426cf2[_0x391414(0x23e)][_0x391414(0x435)]&&_0x31ede8[_0x391414(0x39e)](_0x426cf2[_0x391414(0x23e)][_0x391414(0x435)],_0xfe442f=>{const _0x5292a2=_0x391414;_0x5d4bc6[_0x5292a2(0x321)](_0xfe442f[_0x5292a2(0x222)]());}),_0x4f4d86===void 0x0&&_0x31ede8['iterateField'](_0x1ce7ca=>{const _0x6e06d3=_0x391414;_0x5d4bc6[_0x6e06d3(0x321)](_0x1ce7ca[_0x6e06d3(0x222)]());});const _0x178a54=_0x5d4bc6['length'];for(let _0x567117=_0x178a54-0x1;_0x567117>=0x0;_0x567117--)_0x31ede8['removeField'](_0x5d4bc6[_0x567117]);const _0x48c6c3=_0x31ede8['getValueFilterInfos']();for(const _0x2704a2 in _0x48c6c3)_0x31ede8[_0x391414(0x189)](_0x2704a2);}function _0x10ee0f(_0x2ffe10,_0x500ec0){const _0x263b11=_0x6f5ed9,_0x5ea473=new Date(_0x426cf2[_0x263b11(0x26e)](_0x500ec0)),_0x440258=new Date(_0x426cf2[_0x263b11(0x26e)](_0x2ffe10)),_0x5ed02a=_0x5ea473[_0x263b11(0x1de)](),_0xa54c55=_0x440258['getFullYear'](),_0x3479fa=_0x5ea473[_0x263b11(0x1a2)](),_0x32a949=_0x440258[_0x263b11(0x1a2)](),_0x109d55=_0x5ea473['getDate'](),_0x388f6d=_0x440258[_0x263b11(0x1f8)](),_0x1fa228=_0x5ed02a===_0xa54c55,_0x3ee17f=_0x1fa228&&_0x3479fa===_0x32a949;return _0x1fa228&&_0x3ee17f&&!(_0x3ee17f&&_0x109d55===_0x388f6d)?_0x426cf2[_0x263b11(0x388)][_0x263b11(0x3d8)]:_0x1fa228&&!_0x3ee17f?_0x426cf2[_0x263b11(0x388)]['YearMonth']:_0x426cf2[_0x263b11(0x388)][_0x263b11(0x34c)];}function _0x55d82e(_0x1fd55c,_0x5d4d95){const _0x1097d8=_0x6f5ed9,_0x4917f4=_0x1fd55c[_0x1097d8(0x446)](_0x35c787[_0x1097d8(0x185)])[_0x1097d8(0x3e7)]();let _0x22435d='';switch(_0x5d4d95){case _0x426cf2['PivotDateGroupFieldDateTypeEnum'][_0x1097d8(0x3d8)]:_0x22435d=_0x4917f4[_0x1097d8(0x218)];break;case _0x426cf2[_0x1097d8(0x388)]['YearMonth']:_0x22435d=_0x4917f4[_0x1097d8(0x2b8)];break;case _0x426cf2[_0x1097d8(0x388)]['Year']:_0x22435d=_0x4917f4[_0x1097d8(0x3b9)];break;case _0x426cf2[_0x1097d8(0x388)][_0x1097d8(0x336)]:_0x22435d=_0x4917f4[_0x1097d8(0x3eb)];break;case _0x426cf2[_0x1097d8(0x388)]['Quarter']:_0x22435d=_0x4917f4[_0x1097d8(0x32e)];break;case _0x426cf2[_0x1097d8(0x388)]['Date']:_0x22435d=_0x4917f4[_0x1097d8(0x17a)];break;case _0x426cf2[_0x1097d8(0x388)]['HourMinute']:_0x22435d=_0x4917f4[_0x1097d8(0x2fb)];break;case _0x426cf2[_0x1097d8(0x388)][_0x1097d8(0x3d5)]:_0x22435d=_0x4917f4[_0x1097d8(0x483)];break;case _0x426cf2['PivotDateGroupFieldDateTypeEnum']['Minute']:_0x22435d=_0x4917f4['sheets-pivot.dateGroup.minute'];break;case _0x426cf2[_0x1097d8(0x388)]['MonthDate']:_0x22435d=_0x4917f4['sheets-pivot.dateGroup.monthDate'];break;case _0x426cf2[_0x1097d8(0x388)][_0x1097d8(0x2a4)]:_0x22435d=_0x4917f4[_0x1097d8(0x2c2)];break;default:_0x22435d='';break;}return _0x22435d;}const _0xdced9d=_0x6f5ed9(0x26c),_0x246221={};var _0x190224=Object[_0x6f5ed9(0x1a9)],_0x2df5da=(_0x5d75af,_0xc84b1b,_0x1f1a27,_0x223459)=>{const _0x5c8279=_0x6f5ed9;for(var _0x2f6399=_0x223459>0x1?void 0x0:_0x223459?_0x190224(_0xc84b1b,_0x1f1a27):_0xc84b1b,_0xe7f9a4=_0x5d75af[_0x5c8279(0x293)]-0x1,_0x3bc58b;_0xe7f9a4>=0x0;_0xe7f9a4--)(_0x3bc58b=_0x5d75af[_0xe7f9a4])&&(_0x2f6399=_0x3bc58b(_0x2f6399)||_0x2f6399);return _0x2f6399;},_0x331927=(_0x49a3f0,_0x280a82)=>(_0x374953,_0x3691e8)=>_0x280a82(_0x374953,_0x3691e8,_0x49a3f0);_0x35c787[_0x6f5ed9(0x266)]=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x21bf78,_0x510541,_0x398589,_0xb10092,_0x3ea79f){const _0x7ecd67=_0x6f5ed9;super(),_0x47a2cd(this,_0x7ecd67(0x2bf),new Map()),_0x47a2cd(this,'_collectionConfigModel',new Map()),_0x47a2cd(this,_0x7ecd67(0x1aa),new Map()),_0x47a2cd(this,'_pivotTableMatrixInfo',new Map()),_0x47a2cd(this,_0x7ecd67(0x3ae),new _0xcfe6e1[(_0x7ecd67(0x2af))]()),_0x47a2cd(this,_0x7ecd67(0x278),new _0xcfe6e1[(_0x7ecd67(0x2af))]()),_0x47a2cd(this,_0x7ecd67(0x472),this['_pivotInitCompleted$'][_0x7ecd67(0x1e6)]()),_0x47a2cd(this,_0x7ecd67(0x31e),new _0xcfe6e1[(_0x7ecd67(0x2af))]()),_0x47a2cd(this,_0x7ecd67(0x3da),this[_0x7ecd67(0x31e)][_0x7ecd67(0x1e6)]()),_0x47a2cd(this,_0x7ecd67(0x1e9),{}),_0x47a2cd(this,'configVersion$',this[_0x7ecd67(0x3ae)][_0x7ecd67(0x1e6)]()),(this[_0x7ecd67(0x208)]=_0x21bf78,this[_0x7ecd67(0x42b)]=_0x510541,this[_0x7ecd67(0x19e)]=_0x398589,this[_0x7ecd67(0x2e6)]=_0xb10092,this[_0x7ecd67(0x347)]=_0x3ea79f,this['_initLocale'](),this['_initUnitDisposed']());const _0x15c13d=this[_0x7ecd67(0x347)][_0x7ecd67(0x2a3)](_0xdced9d);(_0x15c13d==null?void 0x0:_0x15c13d['notExecuteFormula'])===!0x0&&this[_0x7ecd67(0x37e)]();}[_0x6f5ed9(0x225)](){const _0x262554=_0x6f5ed9;this[_0x262554(0x237)](this[_0x262554(0x19e)]['getTypeOfUnitDisposed$'](_0x6ffa6d['UniverInstanceType'][_0x262554(0x335)])[_0x262554(0x281)](_0x564ce0=>{const _0x574d6c=_0x262554;this[_0x574d6c(0x3ff)](_0x564ce0[_0x574d6c(0x2d1)]());}));}[_0x6f5ed9(0x319)](){const _0x412e17=_0x6f5ed9;this['_pivotInitCompleted$'][_0x412e17(0x253)](!0x0);}[_0x6f5ed9(0x275)](){const _0x46b377=_0x6f5ed9,_0x5a339f=_0x5f4daa(this['_injector'],_0x1a58d5,'',{});this[_0x46b377(0x1e9)]=_0x5a339f,this['_commandService'][_0x46b377(0x1d9)](_0x49280b['id'],{'textInfo':_0x5a339f},{'onlyLocal':!0x0});}[_0x6f5ed9(0x3e7)](){const _0x23aea9=_0x6f5ed9;return this[_0x23aea9(0x1e9)];}[_0x6f5ed9(0x271)](_0x2a7d86,_0x4a9977,_0x4f23e9,_0x464066,_0x3d5719){const _0x2f6c9e=_0x6f5ed9;this[_0x2f6c9e(0x195)](_0x2a7d86,_0x4a9977,_0x4f23e9,_0x464066),this['updatePivotTableRangeInfo'](_0x2a7d86,_0x4a9977,_0x4f23e9,_0x3d5719);}[_0x6f5ed9(0x34a)](_0x308e5c,_0x3b7158,_0x57da7a){const _0x3489b6=_0x6f5ed9;var _0x1fb28a;const _0x2af470=(_0x1fb28a=this[_0x3489b6(0x2bf)][_0x3489b6(0x446)](_0x308e5c))==null?void 0x0:_0x1fb28a['get'](_0x3b7158);if(_0x2af470)return _0x2af470['get'](_0x57da7a);}[_0x6f5ed9(0x47b)](_0x26fd33,_0x39f7d5){const _0x57a622=_0x6f5ed9,_0x2d8764=this['_model'][_0x57a622(0x446)](_0x26fd33);if(_0x2d8764){for(const [_0x10c3d1,_0x78ab1a]of _0x2d8764[_0x57a622(0x37a)]())for(const [_0x39b236,_0x10e1b6]of _0x78ab1a['entries']())if(_0x39b236===_0x39f7d5)return _0x10e1b6['targetCellInfo'];}}[_0x6f5ed9(0x292)](_0x476131,_0x5ba95d,_0x3f1cca){const _0x41d551=_0x6f5ed9,_0x397598=this[_0x41d551(0x34a)](_0x476131,_0x5ba95d,_0x3f1cca);return _0x397598==null?void 0x0:_0x397598[_0x41d551(0x1fb)];}[_0x6f5ed9(0x1a0)](_0x27f016,_0x569e70){const _0x2aed29=_0x6f5ed9;var _0x5cb207;return(_0x5cb207=this[_0x2aed29(0x2bf)][_0x2aed29(0x446)](_0x27f016))==null?void 0x0:_0x5cb207[_0x2aed29(0x446)](_0x569e70);}[_0x6f5ed9(0x193)](_0x4d3552,_0x24ecb2,_0x302913,_0x2b5dbe){const _0x4e53f4=_0x6f5ed9,_0x1f7a1d=this[_0x4e53f4(0x3d3)](_0x4d3552,_0x24ecb2);_0x2b5dbe?_0x1f7a1d[_0x4e53f4(0x2bc)](_0x302913,_0x2b5dbe):_0x1f7a1d[_0x4e53f4(0x374)](_0x302913),this[_0x4e53f4(0x31e)]['next']({'unitId':_0x4d3552,'subUnitId':_0x24ecb2,'pivotTableId':_0x302913,'pivotTableConfig':_0x2b5dbe});}[_0x6f5ed9(0x3d9)](_0x31b341,_0x4d5b24){const _0x460764=_0x6f5ed9;var _0x5c8bff;return(_0x5c8bff=this['_collectionConfigModel'][_0x460764(0x446)](_0x31b341))==null?void 0x0:_0x5c8bff[_0x460764(0x27c)][_0x4d5b24];}[_0x6f5ed9(0x1ae)](_0x5540ce,_0x306d24){const _0x58916a=_0x6f5ed9;this['_collectionConfigModel'][_0x58916a(0x2bc)](_0x5540ce,_0x306d24),this[_0x58916a(0x3ae)][_0x58916a(0x253)](Math[_0x58916a(0x25e)]());}[_0x6f5ed9(0x3d3)](_0x364570,_0x277bcd){const _0x73e22c=_0x6f5ed9;let _0x130958=this[_0x73e22c(0x2bf)]['get'](_0x364570);_0x130958||(_0x130958=new Map(),this[_0x73e22c(0x2bf)][_0x73e22c(0x2bc)](_0x364570,_0x130958));let _0x1ffbf9=_0x130958[_0x73e22c(0x446)](_0x277bcd);return _0x1ffbf9||(_0x1ffbf9=new Map(),_0x130958[_0x73e22c(0x2bc)](_0x277bcd,_0x1ffbf9)),_0x1ffbf9;}[_0x6f5ed9(0x360)](_0x487854,_0x536ac9){const _0xfc50d=_0x6f5ed9;let _0x38c9a8=this['_pivotTableRangeInfo']['get'](_0x487854);_0x38c9a8||(_0x38c9a8=new Map(),this['_pivotTableRangeInfo'][_0xfc50d(0x2bc)](_0x487854,_0x38c9a8));let _0x3be155=_0x38c9a8[_0xfc50d(0x446)](_0x536ac9);return _0x3be155||(_0x3be155=new Map(),_0x38c9a8[_0xfc50d(0x2bc)](_0x536ac9,_0x3be155)),_0x3be155;}[_0x6f5ed9(0x3e8)](_0x44d2b7,_0x2d08c4){const _0x2e98de=_0x6f5ed9;let _0x4480e7=this[_0x2e98de(0x3a3)][_0x2e98de(0x446)](_0x44d2b7);_0x4480e7||(_0x4480e7=new Map(),this[_0x2e98de(0x3a3)][_0x2e98de(0x2bc)](_0x44d2b7,_0x4480e7));let _0x3fff7b=_0x4480e7[_0x2e98de(0x446)](_0x2d08c4);return _0x3fff7b||(_0x3fff7b=new Map(),_0x4480e7[_0x2e98de(0x2bc)](_0x2d08c4,_0x3fff7b)),_0x3fff7b;}[_0x6f5ed9(0x2ee)](_0x3c60b1,_0xd4d72b,_0x3e9373,_0xe9a3bc){const _0x26867a=_0x6f5ed9;var _0x4999d0;const _0x49c645=this[_0x26867a(0x360)](_0x3c60b1,_0xd4d72b),_0x10651f=(_0x4999d0=_0x49c645[_0x26867a(0x446)](_0x3e9373))==null?void 0x0:_0x4999d0[_0x26867a(0x181)];_0x49c645[_0x26867a(0x2bc)](_0x3e9373,{'oldRangeInfo':_0x10651f,'rangeInfo':_0xe9a3bc});}[_0x6f5ed9(0x195)](_0x1fea2f,_0x25be1a,_0x3755ed,_0x5e0de5){const _0x5ce129=_0x6f5ed9;var _0x13f0c3;const _0x4b0907=this[_0x5ce129(0x3e8)](_0x1fea2f,_0x25be1a),_0x2fa174=(_0x13f0c3=_0x4b0907[_0x5ce129(0x446)](_0x3755ed))==null?void 0x0:_0x13f0c3[_0x5ce129(0x3e2)];_0x4b0907[_0x5ce129(0x2bc)](_0x3755ed,{'oldMatrix':_0x2fa174,'matrix':_0x5e0de5});}[_0x6f5ed9(0x3e6)](_0x219716,_0xaf2cb0,_0x240ab9){const _0x17d758=_0x6f5ed9;var _0x444d0f,_0x3a13a3;return(_0x3a13a3=(_0x444d0f=this[_0x17d758(0x1aa)]['get'](_0x219716))==null?void 0x0:_0x444d0f[_0x17d758(0x446)](_0xaf2cb0))==null?void 0x0:_0x3a13a3[_0x17d758(0x446)](_0x240ab9);}[_0x6f5ed9(0x48a)](_0x18650f,_0x206516,_0x28986f){const _0x8ae409=_0x6f5ed9;var _0x4ebc6f,_0x56b5a6;return(_0x56b5a6=(_0x4ebc6f=this['_pivotTableMatrixInfo'][_0x8ae409(0x446)](_0x18650f))==null?void 0x0:_0x4ebc6f[_0x8ae409(0x446)](_0x206516))==null?void 0x0:_0x56b5a6[_0x8ae409(0x446)](_0x28986f);}[_0x6f5ed9(0x3ff)](_0x1432cf){const _0x10783d=_0x6f5ed9;this[_0x10783d(0x2bf)][_0x10783d(0x374)](_0x1432cf),this[_0x10783d(0x1c8)][_0x10783d(0x374)](_0x1432cf);}[_0x6f5ed9(0x2f3)](_0xd50a02){const _0x3bcbb0=_0x6f5ed9,_0x2bf19b={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3bcbb0(0x1c8)][_0x3bcbb0(0x446)](_0xd50a02)&&(_0x2bf19b['dataFieldManagerConfig'][_0xd50a02]=this[_0x3bcbb0(0x1c8)][_0x3bcbb0(0x446)](_0xd50a02)),this['_model'][_0x3bcbb0(0x446)](_0xd50a02)){_0x2bf19b['pivotTableConfigs'][_0xd50a02]={};const _0x3c774a=this[_0x3bcbb0(0x2bf)][_0x3bcbb0(0x446)](_0xd50a02);_0x3c774a!=null&&_0x3c774a['size']&&[..._0x3c774a[_0x3bcbb0(0x1b3)]()][_0x3bcbb0(0x3a7)](_0x555cc9=>{const _0x36e428=_0x3bcbb0,_0x3b0e66=_0x3c774a[_0x36e428(0x446)](_0x555cc9);_0x3b0e66!=null&&_0x3b0e66[_0x36e428(0x317)]&&(_0x2bf19b[_0x36e428(0x401)][_0xd50a02][_0x555cc9]={},[..._0x3b0e66[_0x36e428(0x1b3)]()]['forEach'](_0x89790b=>{const _0x1c9c3d=_0x36e428,_0x2de502=_0x3b0e66[_0x1c9c3d(0x446)](_0x89790b);_0x2de502&&(_0x2bf19b[_0x1c9c3d(0x401)][_0xd50a02][_0x555cc9][_0x89790b]=_0x2de502);}));});}return _0x2bf19b;}[_0x6f5ed9(0x37e)](){const _0x2a94e9=_0x6f5ed9;this[_0x2a94e9(0x237)](this['_resourceManagerService'][_0x2a94e9(0x2c8)]({'toJson':_0x46fcac=>JSON[_0x2a94e9(0x46b)](this[_0x2a94e9(0x2f3)](_0x46fcac)),'parseJson':_0x588cb0=>({}),'businesses':[_0x6ffa6d[_0x2a94e9(0x19f)][_0x2a94e9(0x335)]],'pluginName':_0x33898b,'onLoad':(_0x8795,_0x33c49b)=>{},'onUnLoad':_0x5b9489=>{const _0xc759e3=_0x2a94e9;this[_0xc759e3(0x3ff)](_0x5b9489);}}));}},_0x35c787[_0x6f5ed9(0x266)]=_0x2df5da([_0x331927(0x0,_0x6ffa6d['Inject'](_0x6ffa6d['Injector'])),_0x331927(0x1,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x3fa)])),_0x331927(0x2,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x491)])),_0x331927(0x3,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d['IResourceManagerService'])),_0x331927(0x4,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x431)]))],_0x35c787[_0x6f5ed9(0x266)]);var _0x212748=Object['getOwnPropertyDescriptor'],_0x1ada84=(_0x1e3002,_0x54d957,_0x46bd52,_0x4a7e21)=>{const _0x543cb4=_0x6f5ed9;for(var _0x18dce2=_0x4a7e21>0x1?void 0x0:_0x4a7e21?_0x212748(_0x54d957,_0x46bd52):_0x54d957,_0x232a8a=_0x1e3002[_0x543cb4(0x293)]-0x1,_0x179786;_0x232a8a>=0x0;_0x232a8a--)(_0x179786=_0x1e3002[_0x232a8a])&&(_0x18dce2=_0x179786(_0x18dce2)||_0x18dce2);return _0x18dce2;},_0x2fe318=(_0x13d272,_0x11ec3f)=>(_0x1d2135,_0x211be7)=>_0x11ec3f(_0x1d2135,_0x211be7,_0x13d272);_0x35c787[_0x6f5ed9(0x2e3)]=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x1847c0,_0x57e9ad,_0x428164,_0x58711b,_0x15d578){const _0x2b6f68=_0x6f5ed9;super(),_0x47a2cd(this,_0x2b6f68(0x3dd),new Map()),_0x47a2cd(this,'_pivotRenderValueMatrixCache',new Map()),_0x47a2cd(this,_0x2b6f68(0x1c6),new _0xcfe6e1[(_0x2b6f68(0x2af))]()),_0x47a2cd(this,_0x2b6f68(0x17d),this[_0x2b6f68(0x1c6)][_0x2b6f68(0x1e6)]()),_0x47a2cd(this,'_viewUpdate$',new _0xcfe6e1[(_0x2b6f68(0x2af))]()),_0x47a2cd(this,'viewUpdate$',this[_0x2b6f68(0x25c)][_0x2b6f68(0x1e6)]()),_0x47a2cd(this,_0x2b6f68(0x1e9)),(this[_0x2b6f68(0x3df)]=_0x1847c0,this[_0x2b6f68(0x208)]=_0x57e9ad,this[_0x2b6f68(0x310)]=_0x428164,this[_0x2b6f68(0x19e)]=_0x58711b,this['_exclusiveRangeService']=_0x15d578,this[_0x2b6f68(0x275)](),this[_0x2b6f68(0x225)]());}[_0x6f5ed9(0x225)](){const _0x2f2487=_0x6f5ed9;this['disposeWithMe'](this[_0x2f2487(0x19e)][_0x2f2487(0x2e8)](_0x6ffa6d[_0x2f2487(0x19f)][_0x2f2487(0x335)])[_0x2f2487(0x281)](_0xd59aba=>{const _0x3474d7=_0x2f2487;this[_0x3474d7(0x3ff)](_0xd59aba[_0x3474d7(0x2d1)]());}));}['_initLocale'](){const _0x4d8989=_0x6f5ed9;this[_0x4d8989(0x1e9)]=_0x5f4daa(this[_0x4d8989(0x208)],_0x1a58d5,'',{});}[_0x6f5ed9(0x25b)](_0x46111e){const _0x15599c=_0x6f5ed9,{view:_0x581763,unitId:_0x50a169,subUnitId:_0x6a3f5d,pivotTableId:_0x2fbda0,type:_0x4912c3}=_0x46111e,_0x1f66ed=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x50a169,_0x6a3f5d,_0x2fbda0);if(!_0x581763||!_0x1f66ed||_0x4912c3===_0x1bdb8f[_0x15599c(0x3f6)])return;const {pageView:_0x5dcec9,cornerView:_0x1dfab1,rowView:_0x506faa,colView:_0xffe22,dataView:_0x4fd786}=_0x581763,_0x222d40=_0x1f66ed[_0x15599c(0x1fb)],_0x35eb95=_0x1f66ed[_0x15599c(0x412)],_0x30b3f0=this[_0x15599c(0x440)](_0x50a169,_0x6a3f5d),_0x46c49d=this[_0x15599c(0x452)](_0x50a169,_0x6a3f5d,_0x2fbda0);if(_0x35eb95)return this[_0x15599c(0x22b)](_0x46111e,_0x30b3f0,_0x222d40,_0x46c49d);{const _0x46eeca=_0x5b7a08(_0x222d40,_0x5dcec9,!0x0),_0x4f3ee1=_0x5dcec9[_0x15599c(0x1f6)]>=0x0?_0x5dcec9['lastRow']+0x1:0x0,_0x142257=_0x1dfab1['getRowCount'](),_0xaa709=_0x1dfab1['getColCount'](),_0x5b4e18=_0x46eeca[_0x15599c(0x293)]>0x0?_0x523e5a:0x0,_0x2c4cd2=_0x5b7a08({'row':_0x222d40[_0x15599c(0x316)]+_0x4f3ee1+_0x5b4e18,'col':_0x222d40[_0x15599c(0x48d)]},_0x1dfab1,!0x1,!0x1),_0x18b7e2=_0x5b7a08({'row':_0x222d40[_0x15599c(0x316)]+_0x4f3ee1+_0x5b4e18+_0x142257,'col':_0x222d40[_0x15599c(0x48d)]},_0x506faa,!0x1,!0x0),_0x98c5fe=_0x5b7a08({'row':_0x222d40[_0x15599c(0x316)]+_0x4f3ee1+_0x5b4e18,'col':_0x222d40['col']+_0xaa709},_0xffe22,!0x1,!0x0),_0x520dd8=_0x5b7a08({'row':_0x222d40[_0x15599c(0x316)]+_0x4f3ee1+_0x5b4e18+_0x142257,'col':_0x222d40[_0x15599c(0x48d)]+_0xaa709},_0x4fd786,!0x1,!0x1);_0x46c49d[_0x15599c(0x1af)]={'rowRanges':_0x18b7e2,'colRanges':_0x98c5fe,'cornerRanges':_0x2c4cd2,'dataRanges':_0x520dd8,'pageRanges':_0x46eeca};const _0xc566a0=_0x161c8f(this[_0x15599c(0x208)],_0x581763,_0x1f66ed,this[_0x15599c(0x1e9)]),{valueMatrix:_0x28c946,rowInfo:_0x415e85,colInfo:_0x6266c1,cornerInfo:_0x2166a6,rowHeaderMap:_0x11b72b,colHeaderMap:_0x124e9a}=_0xc566a0;return _0x46c49d[_0x15599c(0x2e4)]={'rowInfo':_0x415e85,'colInfo':_0x6266c1,'cornerInfo':_0x2166a6},_0x46c49d['headerMap']={'rowHeaderMap':_0x11b72b,'colHeaderMap':_0x124e9a},_0x28c946[_0x15599c(0x3a7)]((_0x16fa33,_0x268e0c)=>{const _0x3d7c28=_0x15599c;Object[_0x3d7c28(0x1b3)](_0x268e0c)[_0x3d7c28(0x3a7)](_0x5225dd=>{const _0x538c82=_0x3d7c28,_0x423df3=+_0x5225dd,_0x26e195=_0x28c946[_0x538c82(0x3d6)](_0x16fa33,_0x423df3);_0x30b3f0[_0x538c82(0x41e)](_0x16fa33,_0x423df3,_0x26e195);});}),this[_0x15599c(0x25c)][_0x15599c(0x253)]({'unitId':_0x50a169,'subUnitId':_0x6a3f5d,'valueMatrix':_0x30b3f0,'rangesCache':_0x46c49d[_0x15599c(0x1af)],'pivotTableId':_0x2fbda0,'type':_0x46111e['type']}),this[_0x15599c(0x310)][_0x15599c(0x271)](_0x50a169,_0x6a3f5d,_0x2fbda0,_0x30b3f0,_0x46c49d['rangesInfo']),this[_0x15599c(0x2b5)][_0x15599c(0x45b)](_0x50a169,_0x6a3f5d,_0x4bccec,this[_0x15599c(0x45f)](_0x46c49d[_0x15599c(0x1af)],_0x2fbda0)),{'rangeCache':_0x46c49d[_0x15599c(0x1af)],'matrix':_0x30b3f0};}}[_0x6f5ed9(0x22b)](_0xd93a80,_0x204c2f,_0x2e7fd3,_0x12309c){const _0x3ed32d=_0x6f5ed9,_0x232dde=this[_0x3ed32d(0x3df)]['t'],{unitId:_0x38af24,subUnitId:_0x534119,pivotTableId:_0x2484a9}=_0xd93a80,_0x2530ba={'filter':_0x232dde(_0x3ed32d(0x26a)),'row':_0x232dde(_0x3ed32d(0x389)),'column':_0x232dde(_0x3ed32d(0x2f7)),'values':_0x232dde(_0x3ed32d(0x420))},{matrixCache:_0x2e2a9e,rangesCache:_0x495a98}=_0x92b1bb(_0x2530ba,_0x2e7fd3);return _0x2e2a9e[_0x3ed32d(0x263)]((_0x296aac,_0x2fe274,_0xb67b24)=>{const _0xe638cc=_0x3ed32d;_0x204c2f[_0xe638cc(0x41e)](_0x296aac,_0x2fe274,_0xb67b24);}),_0x12309c[_0x3ed32d(0x1af)]=_0x495a98,this['_viewUpdate$']['next']({'unitId':_0x38af24,'subUnitId':_0x534119,'valueMatrix':_0x204c2f,'rangesCache':_0x495a98,'pivotTableId':_0x2484a9,'type':_0xd93a80['type'],'isEmpty':!0x0}),this[_0x3ed32d(0x310)][_0x3ed32d(0x271)](_0x38af24,_0x534119,_0x2484a9,_0x204c2f,_0x495a98),this[_0x3ed32d(0x2b5)][_0x3ed32d(0x45b)](_0x38af24,_0x534119,_0x4bccec,this[_0x3ed32d(0x45f)](_0x495a98,_0x2484a9)),{'rangeCache':_0x12309c[_0x3ed32d(0x1af)],'matrix':_0x204c2f};}[_0x6f5ed9(0x45f)](_0x4dbb1f,_0x3301fd){const _0x24cff8=_0x6f5ed9,_0xa0020b=[],_0x5ba3f0=_0x5be06b(_0x4dbb1f);for(const _0x50ff28 of _0x5ba3f0)_0xa0020b[_0x24cff8(0x321)]({'groupId':_0x3301fd,'range':_0x50ff28});return _0xa0020b;}[_0x6f5ed9(0x202)](_0x586cc3){const _0x277062=_0x6f5ed9;var _0x15cdf8,_0x38ab01,_0x4813d1,_0x395c98;const {pivotTableId:_0x3c354e,unitId:_0x1244e2,subUnitId:_0x404f76}=_0x586cc3;if(!_0x3c354e||!_0x1244e2||!_0x404f76)return;const _0x2efdd3=this[_0x277062(0x440)](_0x1244e2,_0x404f76),_0x1ce274=(_0x38ab01=(_0x15cdf8=this['_pivotRenderInfoCache'][_0x277062(0x446)](_0x1244e2))==null?void 0x0:_0x15cdf8[_0x277062(0x446)](_0x404f76))==null?void 0x0:_0x38ab01[_0x277062(0x446)](_0x3c354e);if(_0x1ce274!=null&&_0x1ce274[_0x277062(0x1af)]){for(const _0x5bc46e of Object['keys'](_0x1ce274['rangesInfo']))_0x1ce274[_0x277062(0x1af)][_0x5bc46e][_0x277062(0x3a7)](_0x242d51=>{const _0x4b45d9=_0x277062;for(let _0x188836=_0x242d51[_0x4b45d9(0x297)];_0x188836<=_0x242d51[_0x4b45d9(0x272)];_0x188836++)for(let _0x579212=_0x242d51[_0x4b45d9(0x477)];_0x579212<=_0x242d51[_0x4b45d9(0x3e9)];_0x579212++)_0x2efdd3[_0x4b45d9(0x3f8)](_0x188836,_0x579212);});}_0x1ce274&&((_0x395c98=(_0x4813d1=this[_0x277062(0x3dd)][_0x277062(0x446)](_0x1244e2))==null?void 0x0:_0x4813d1['get'](_0x404f76))==null||_0x395c98[_0x277062(0x374)](_0x3c354e)),this[_0x277062(0x25c)][_0x277062(0x253)]({'unitId':_0x1244e2,'subUnitId':_0x404f76,'valueMatrix':_0x2efdd3,'pivotTableId':_0x3c354e,'rangesCache':void 0x0,'type':_0x586cc3['type']}),this[_0x277062(0x2b5)][_0x277062(0x259)](_0x1244e2,_0x404f76,_0x4bccec,_0x3c354e);}[_0x6f5ed9(0x452)](_0x4eef81,_0x39e955,_0x81084f){const _0x13cdd7=_0x6f5ed9;var _0xa7a7eb,_0x1a6f9a,_0x689724,_0x4c8347,_0x4d58a2,_0x2930f5;return this[_0x13cdd7(0x3dd)]['has'](_0x4eef81)||this[_0x13cdd7(0x3dd)][_0x13cdd7(0x2bc)](_0x4eef81,new Map()),(_0xa7a7eb=this[_0x13cdd7(0x3dd)][_0x13cdd7(0x446)](_0x4eef81))!=null&&_0xa7a7eb[_0x13cdd7(0x228)](_0x39e955)||(_0x1a6f9a=this[_0x13cdd7(0x3dd)][_0x13cdd7(0x446)](_0x4eef81))==null||_0x1a6f9a['set'](_0x39e955,new Map()),(_0x4c8347=(_0x689724=this[_0x13cdd7(0x3dd)]['get'](_0x4eef81))==null?void 0x0:_0x689724[_0x13cdd7(0x446)](_0x39e955))!=null&&_0x4c8347['has'](_0x81084f)||(_0x2930f5=(_0x4d58a2=this['_pivotRenderInfoCache'][_0x13cdd7(0x446)](_0x4eef81))==null?void 0x0:_0x4d58a2['get'](_0x39e955))==null||_0x2930f5[_0x13cdd7(0x2bc)](_0x81084f,{}),this[_0x13cdd7(0x3dd)][_0x13cdd7(0x446)](_0x4eef81)[_0x13cdd7(0x446)](_0x39e955)[_0x13cdd7(0x446)](_0x81084f);}[_0x6f5ed9(0x440)](_0x3bedfd,_0x1a9e94){const _0x376c00=_0x6f5ed9;var _0x126eb6,_0x3a62de;return this['_pivotRenderValueMatrixCache'][_0x376c00(0x228)](_0x3bedfd)||this[_0x376c00(0x393)]['set'](_0x3bedfd,new Map()),(_0x126eb6=this['_pivotRenderValueMatrixCache'][_0x376c00(0x446)](_0x3bedfd))!=null&&_0x126eb6[_0x376c00(0x228)](_0x1a9e94)||(_0x3a62de=this[_0x376c00(0x393)]['get'](_0x3bedfd))==null||_0x3a62de[_0x376c00(0x2bc)](_0x1a9e94,new _0x6ffa6d[(_0x376c00(0x291))]()),this[_0x376c00(0x393)][_0x376c00(0x446)](_0x3bedfd)[_0x376c00(0x446)](_0x1a9e94);}[_0x6f5ed9(0x22d)](_0x14defc,_0x377489,_0x897e8e,_0x3dbcc7){const _0x2a5505=_0x6f5ed9;var _0x1066ad,_0x236bd0;const _0x1d2cfc=(_0x236bd0=(_0x1066ad=this[_0x2a5505(0x393)]['get'](_0x14defc))==null?void 0x0:_0x1066ad[_0x2a5505(0x446)](_0x377489))==null?void 0x0:_0x236bd0[_0x2a5505(0x3d6)](_0x897e8e,_0x3dbcc7);if(_0x1d2cfc!=null)return _0x1d2cfc;}[_0x6f5ed9(0x2be)](_0x1a493,_0x368a92,_0xa76972,_0x40a210){const _0x1d12d6=_0x6f5ed9;var _0x59dad9;const _0x12543b=_0x6ffa6d[_0x1d12d6(0x38c)](_0xa76972,_0x40a210),_0x254df6=(_0x59dad9=this[_0x1d12d6(0x3dd)][_0x1d12d6(0x446)](_0x1a493))==null?void 0x0:_0x59dad9['get'](_0x368a92);return _0x254df6?Array[_0x1d12d6(0x325)](_0x254df6[_0x1d12d6(0x1b3)]())['find'](_0x14b8a4=>{const _0x4af811=_0x1d12d6,_0x61d15=_0x254df6[_0x4af811(0x446)](_0x14b8a4),_0x4cfc8d=_0x61d15==null?void 0x0:_0x61d15['rangesInfo'];return _0x4cfc8d?Object[_0x4af811(0x1b3)](_0x4cfc8d)[_0x4af811(0x282)](_0x2bccb1=>_0x4cfc8d[_0x2bccb1][_0x4af811(0x282)](_0x269757=>_0x6ffa6d['Rectangle']['contains'](_0x269757,_0x12543b))):!0x1;}):void 0x0;}[_0x6f5ed9(0x1d3)](_0x166e1c,_0xd03e3,_0xb742ca){const _0x157153=_0x6f5ed9;var _0x18a13a;const _0x3cebba=(_0x18a13a=this[_0x157153(0x3dd)]['get'](_0x166e1c))==null?void 0x0:_0x18a13a[_0x157153(0x446)](_0xd03e3),_0x25d59d=[];return _0x3cebba&&Array[_0x157153(0x325)](_0x3cebba[_0x157153(0x1b3)]())[_0x157153(0x3a7)](_0x16921f=>{const _0x55fae0=_0x157153,_0x5010fd=_0x3cebba['get'](_0x16921f),_0x2fb38d=_0x5010fd==null?void 0x0:_0x5010fd[_0x55fae0(0x1af)];if(_0x2fb38d)for(const _0x52086b of Object[_0x55fae0(0x342)](_0x2fb38d)){let _0x5d9e34=!0x1;for(const _0x165932 of _0x52086b)if(_0x6ffa6d[_0x55fae0(0x341)][_0x55fae0(0x21c)](_0x165932,_0xb742ca)){_0x25d59d[_0x55fae0(0x321)](_0x16921f),_0x5d9e34=!0x0;break;}if(_0x5d9e34)break;}}),_0x25d59d;}['getSubUnitPivotMatrix'](_0x165776,_0x18b456){const _0x138196=_0x6f5ed9;var _0x5e52f1,_0x1cc603;return(_0x1cc603=(_0x5e52f1=this['_pivotRenderValueMatrixCache'][_0x138196(0x446)](_0x165776))==null?void 0x0:_0x5e52f1['get'](_0x18b456))!=null?_0x1cc603:new _0x6ffa6d[(_0x138196(0x291))]();}[_0x6f5ed9(0x28d)](_0x10b1e5,_0x3928fa){const _0x239cfd=_0x6f5ed9;var _0x276264;return(_0x276264=this[_0x239cfd(0x3dd)][_0x239cfd(0x446)](_0x10b1e5))==null?void 0x0:_0x276264[_0x239cfd(0x446)](_0x3928fa);}[_0x6f5ed9(0x42e)](_0x19b543,_0x43b69f,_0x2bb7d6){const _0x5e7e67=_0x6f5ed9;var _0x187af6,_0x2eb8c6;return(_0x2eb8c6=(_0x187af6=this[_0x5e7e67(0x3dd)]['get'](_0x19b543))==null?void 0x0:_0x187af6[_0x5e7e67(0x446)](_0x43b69f))==null?void 0x0:_0x2eb8c6[_0x5e7e67(0x446)](_0x2bb7d6);}[_0x6f5ed9(0x3ff)](_0x4c400d){const _0x5f4181=_0x6f5ed9;this[_0x5f4181(0x3dd)][_0x5f4181(0x374)](_0x4c400d),this[_0x5f4181(0x393)]['delete'](_0x4c400d);}[_0x6f5ed9(0x27e)](_0x5195d2,_0x1c55e3){const _0xaf0e0=_0x6f5ed9;this[_0xaf0e0(0x1c6)][_0xaf0e0(0x253)]({'unitId':_0x5195d2,'subUnitId':_0x1c55e3});}},_0x35c787[_0x6f5ed9(0x2e3)]=_0x1ada84([_0x2fe318(0x0,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x2aa)])),_0x2fe318(0x1,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x24b)])),_0x2fe318(0x2,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x266)])),_0x2fe318(0x3,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x491)])),_0x2fe318(0x4,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb[_0x6f5ed9(0x47d)]))],_0x35c787[_0x6f5ed9(0x2e3)]);var _0x38b3c5=Object[_0x6f5ed9(0x1a9)],_0x53a881=(_0x9d1487,_0x5553bd,_0xaea5ca,_0x416808)=>{const _0x2eb3cd=_0x6f5ed9;for(var _0x425951=_0x416808>0x1?void 0x0:_0x416808?_0x38b3c5(_0x5553bd,_0xaea5ca):_0x5553bd,_0x2d8518=_0x9d1487[_0x2eb3cd(0x293)]-0x1,_0x4813a5;_0x2d8518>=0x0;_0x2d8518--)(_0x4813a5=_0x9d1487[_0x2d8518])&&(_0x425951=_0x4813a5(_0x425951)||_0x425951);return _0x425951;},_0x125857=(_0x140d83,_0x5e48fc)=>(_0x35eaf8,_0x270f50)=>_0x5e48fc(_0x35eaf8,_0x270f50,_0x140d83);_0x35c787[_0x6f5ed9(0x207)]=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x1d7dab,_0x328920){const _0x3428dc=_0x6f5ed9;super(),_0x47a2cd(this,_0x3428dc(0x233),new _0x6ffa6d[(_0x3428dc(0x28b))]({'PIVOT_PERFORM_CHECK':_0x1f0071})),_0x47a2cd(this,_0x3428dc(0x2e7),new _0x6ffa6d[(_0x3428dc(0x457))]({'PIVOT_MUTATION_GENERATE':_0x1b527c})),(this[_0x3428dc(0x44e)]=_0x1d7dab,this[_0x3428dc(0x3ad)]=_0x328920,this[_0x3428dc(0x19b)]());}[_0x6f5ed9(0x19b)](){const _0x3a38b0=_0x6f5ed9;this[_0x3a38b0(0x298)]();}['getPivotPerformCheck'](_0x1406a9){const _0x422902=_0x6f5ed9;return this[_0x422902(0x233)][_0x422902(0x493)](_0x1f0071)(!0x1,_0x1406a9);}[_0x6f5ed9(0x298)](){const _0x2380ae=_0x6f5ed9;this[_0x2380ae(0x237)](this[_0x2380ae(0x44e)]['intercept'](_0x2361cb['INTERCEPTOR_POINT'][_0x2380ae(0x2ae)],{'priority':0xc8,'effect':_0x6ffa6d[_0x2380ae(0x390)]['Value']|_0x6ffa6d['InterceptorEffectEnum'][_0x2380ae(0x381)],'handler':(_0x4ef565,_0x84fae1,_0x56d783)=>{const _0x5d8a3a=_0x2380ae,{row:_0x8e4281,col:_0x92e735,unitId:_0x25b1ba,subUnitId:_0x416ab4,workbook:_0x73e0e}=_0x84fae1,_0x43a165=this[_0x5d8a3a(0x3ad)]['getPivotTableCellData'](_0x25b1ba,_0x416ab4,_0x8e4281,_0x92e735);if(!_0x43a165)return _0x56d783(_0x4ef565);const _0x22bf40={..._0x4ef565};(_0x43a165['v']||_0x43a165['v']===0x0)&&(_0x22bf40['v']=_0x43a165['v']),_0x43a165['t']&&(_0x22bf40['t']=_0x43a165['t']);const _0x18737b=(typeof(_0x4ef565==null?void 0x0:_0x4ef565['s'])==_0x5d8a3a(0x179)?_0x73e0e[_0x5d8a3a(0x3aa)]()[_0x5d8a3a(0x446)](_0x4ef565==null?void 0x0:_0x4ef565['s']):_0x4ef565==null?void 0x0:_0x4ef565['s'])||{},_0x5a44df=_0x73e0e['getStyles']()[_0x5d8a3a(0x446)](_0x43a165['s']),_0x37bd68={..._0x5a44df,..._0x18737b};_0x5a44df!=null&&_0x5a44df['n']&&(_0x37bd68['n']=_0x5a44df['n']);const _0xc5e7a6=_0x73e0e[_0x5d8a3a(0x3aa)]()[_0x5d8a3a(0x41e)](_0x37bd68);return _0x22bf40['s']=_0xc5e7a6,(_0x43a165[_0x5d8a3a(0x28e)]===_0x426cf2[_0x5d8a3a(0x428)]['Collapse']||_0x43a165['pbt']===_0x426cf2[_0x5d8a3a(0x428)][_0x5d8a3a(0x29a)])&&(_0x22bf40['fontRenderExtension']={},_0x22bf40[_0x5d8a3a(0x3f2)][_0x5d8a3a(0x1b1)]=_0x10b9c0),_0x56d783(_0x22bf40);}}));}},_0x35c787[_0x6f5ed9(0x207)]=_0x53a881([_0x125857(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb['SheetInterceptorService'])),_0x125857(0x1,_0x6ffa6d['Inject'](_0x35c787[_0x6f5ed9(0x2e3)]))],_0x35c787[_0x6f5ed9(0x207)]);function _0x389881(_0x4530d9,_0x2f8af3){const _0x14403a=_0x6f5ed9;switch(_0x2f8af3){case _0x426cf2['PivotTableFiledAreaEnum'][_0x14403a(0x435)]:return _0x4530d9[_0x14403a(0x2a5)];case _0x426cf2[_0x14403a(0x23e)][_0x14403a(0x1f3)]:return _0x4530d9[_0x14403a(0x3c2)];case _0x426cf2['PivotTableFiledAreaEnum']['Row']:return _0x4530d9[_0x14403a(0x1c4)];case _0x426cf2[_0x14403a(0x23e)][_0x14403a(0x2fe)]:return _0x4530d9[_0x14403a(0x18b)];default:return[];}}function _0x283405(_0x3e23f9,_0x5e3497){const _0x3c198f=_0x6f5ed9;return _0x3e23f9[_0x3c198f(0x36d)][_0x5e3497]||_0x3e23f9['dimension'][_0x5e3497];}function _0x500597(_0x4f2f96,_0x29cba3){const _0x3bb761=_0x6f5ed9,{area:_0x20622f,fieldJson:_0x465409,index:_0x4be1cd}=_0x29cba3;_0x20622f===_0x426cf2['PivotTableFiledAreaEnum']['Value']?_0x4f2f96[_0x3bb761(0x36d)][_0x465409['id']]=_0x465409:_0x4f2f96[_0x3bb761(0x17e)][_0x465409['id']]=_0x465409,_0x389881(_0x4f2f96,_0x20622f)[_0x3bb761(0x31a)](_0x4be1cd,0x0,_0x465409['id']);}function _0x25d749(_0x3925a6,_0x1ada0d){const _0x330840=_0x6f5ed9,{area:_0x312fdf,fieldId:_0x4153fd,index:_0x5e2138}=_0x1ada0d;_0x312fdf===_0x426cf2['PivotTableFiledAreaEnum'][_0x330840(0x435)]?delete _0x3925a6[_0x330840(0x36d)][_0x4153fd]:delete _0x3925a6[_0x330840(0x17e)][_0x4153fd],_0x389881(_0x3925a6,_0x312fdf)[_0x330840(0x31a)](_0x5e2138,0x1);}function _0x2e9547(_0x3e84b8,_0x477c98){const _0x4db106=_0x6f5ed9,{fieldId:_0x3c7e8b,name:_0x3260b0}=_0x477c98,_0x183f33=_0x283405(_0x3e84b8,_0x3c7e8b);_0x183f33&&(_0x183f33[_0x4db106(0x1d8)]=_0x3260b0);}function _0x58673a(_0x19713c,_0x32725c){const _0x22ae9d=_0x6f5ed9,{fieldId:_0x757590,collapse:_0x4b6ddc,item:_0x2f9ce6}=_0x32725c;_0x2f9ce6!==void 0x0?(_0x19713c[_0x22ae9d(0x25f)][_0x757590]=_0x19713c[_0x22ae9d(0x25f)][_0x757590]||{},_0x19713c[_0x22ae9d(0x25f)][_0x757590][_0x2f9ce6]=_0x4b6ddc):_0x19713c[_0x22ae9d(0x25f)][_0x757590]=_0x4b6ddc;}function _0x2751ac(_0x463b58,_0x4c50cc){const _0x10f6c9=_0x6f5ed9,{fieldId:_0x238374,format:_0x281f25}=_0x4c50cc,_0x2dce17=_0x283405(_0x463b58,_0x238374);_0x2dce17&&(_0x2dce17[_0x10f6c9(0x242)]=_0x281f25);}function _0x25f45b(_0x4a8f61,_0x3292cf){const _0x4b34f2=_0x6f5ed9,{fieldId:_0x4d44d9,filterInfo:_0x294f42}=_0x3292cf,_0x6cd893=_0x283405(_0x4a8f61,_0x4d44d9);_0x6cd893&&(_0x6cd893[_0x4b34f2(0x444)]=_0x294f42);}function _0x48df7d(_0x1bfe9e,_0x103d62){const _0x3b49f4=_0x6f5ed9,{fieldId:_0x4e08fb,filterInfo:_0x4b4d92}=_0x103d62,_0x4c8571=_0x1bfe9e[_0x3b49f4(0x346)][_0x3b49f4(0x1ee)](_0x6dd6e1=>_0x6dd6e1['fieldId']!==_0x4e08fb);_0x4b4d92&&_0x4c8571[_0x3b49f4(0x321)]({'fieldId':_0x4e08fb,'filterInfo':_0x4b4d92}),_0x1bfe9e[_0x3b49f4(0x346)]=_0x4c8571;}function _0x1df3db(_0x33ad7a,_0x3eb3e9){const _0x407c0e=_0x6f5ed9,{fieldId:_0x221a6b,subtotalType:_0x1290f4}=_0x3eb3e9,_0x4e6cb3=_0x283405(_0x33ad7a,_0x221a6b);_0x4e6cb3&&(_0x4e6cb3[_0x407c0e(0x492)]=_0x1290f4);}function _0x4f4ac5(_0x2eb052,_0x593749){const _0x4133e9=_0x6f5ed9,{fieldId:_0x4120a9,oldArea:_0x3c3c3a,area:_0x3e6405,oldIndex:_0x309e2f,index:_0x39c850}=_0x593749,_0x1b913c=_0x3c3c3a!==_0x426cf2[_0x4133e9(0x23e)][_0x4133e9(0x435)]&&_0x3e6405===_0x426cf2['PivotTableFiledAreaEnum'][_0x4133e9(0x435)],_0x3bb4d4=_0x3c3c3a===_0x426cf2[_0x4133e9(0x23e)][_0x4133e9(0x435)]&&_0x3e6405!==_0x426cf2[_0x4133e9(0x23e)][_0x4133e9(0x435)];if(_0x1b913c||_0x3bb4d4){const _0x32ea4f=_0x283405(_0x2eb052,_0x4120a9);_0x32ea4f&&(_0x1b913c?(delete _0x2eb052['dimension'][_0x4120a9],_0x2eb052[_0x4133e9(0x36d)][_0x4120a9]=_0x32ea4f):(delete _0x2eb052[_0x4133e9(0x36d)][_0x4120a9],_0x2eb052[_0x4133e9(0x17e)][_0x4120a9]=_0x32ea4f));}const _0x45e7a7=_0x389881(_0x2eb052,_0x3c3c3a),_0x2d4791=_0x389881(_0x2eb052,_0x3e6405);_0x45e7a7[_0x4133e9(0x31a)](_0x309e2f,0x1),_0x2d4791[_0x4133e9(0x31a)](_0x39c850,0x0,_0x4120a9);}function _0x36c898(_0x155fb9,_0x263755){const _0x2214dd=_0x6f5ed9,{valuePosition:_0x8ba6d5,index:_0x14e52e}=_0x263755;_0x155fb9[_0x2214dd(0x41d)]=_0x8ba6d5,_0x155fb9[_0x2214dd(0x43e)]=_0x14e52e;}function _0x396379(_0x540917,_0x3714e7){const _0x28bc08=_0x6f5ed9,{tableFieldId:_0x38af1d,sourceName:_0x1b3cfd,dataFieldId:_0xd0984c}=_0x3714e7,_0x107682=_0x283405(_0x540917,_0x38af1d);_0x107682&&(_0x107682[_0x28bc08(0x466)]=_0x1b3cfd,_0x107682[_0x28bc08(0x31f)]=_0xd0984c);}function _0x23db1d(_0x5ac50d,_0x4fe410){const _0x27526c=_0x6f5ed9,{fieldId:_0x215c49,sortInfo:_0x2a6c21}=_0x4fe410,_0x471171=_0x283405(_0x5ac50d,_0x215c49);_0x471171&&(_0x471171[_0x27526c(0x314)]=_0x2a6c21);}function _0x3f4797(_0x308f81,_0x4d1ae6){const _0x5dde2e=_0x6f5ed9,{options:_0x489b64}=_0x4d1ae6;_0x308f81[_0x5dde2e(0x48b)]={..._0x308f81[_0x5dde2e(0x48b)],..._0x489b64};}const _0x3162b8={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x3f1),'handler'(_0x8b36a2,_0x519298){const _0x1deb6f=_0x6f5ed9;if(!_0x519298)return!0x1;if(!!_0x8b36a2[_0x1deb6f(0x446)](_0x6ffa6d[_0x1deb6f(0x431)])[_0x1deb6f(0x2a3)](_0x838977))return!0x0;const _0x395700=_0x8b36a2[_0x1deb6f(0x446)](_0x35c787['SheetsPivotDataSourceModel']),{pivotTableId:_0x1d3b8d,fieldJson:_0x424b8a,area:_0x226da4,index:_0x18d641,unitId:_0x340410,subUnitId:_0x418f50}=_0x519298,_0x1722db=_0x395700[_0x1deb6f(0x442)](_0x1d3b8d);if(!_0x1722db)return!0x1;let _0x12f058;_0x226da4===_0x426cf2['PivotTableFiledAreaEnum'][_0x1deb6f(0x435)]?_0x12f058=_0x426cf2[_0x1deb6f(0x1fe)](_0x424b8a):_0x12f058=_0x426cf2[_0x1deb6f(0x418)](_0x424b8a),_0x1722db[_0x1deb6f(0x2ef)](_0x12f058,_0x226da4,_0x18d641);const _0x1bed12=_0x395700[_0x1deb6f(0x43a)](_0x340410,_0x418f50,_0x1d3b8d);_0x500597(_0x1bed12,_0x519298);const _0x1c11b2=_0x395700[_0x1deb6f(0x34a)](_0x340410,_0x418f50,_0x1d3b8d);return _0x395700[_0x1deb6f(0x3c1)]({'unitId':_0x340410,'subUnitId':_0x418f50,'token':_0x1d3b8d,'type':_0x1bdb8f[_0x1deb6f(0x2e5)],'pivotConfig':_0x1c11b2}),!0x0;}},_0x2cf165={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':'sheet.mutation.remove-pivot-field','handler'(_0xb97720,_0x1d9061){const _0x343804=_0x6f5ed9;if(!_0x1d9061)return!0x1;if(!!_0xb97720['get'](_0x6ffa6d['IConfigService'])[_0x343804(0x2a3)](_0x838977))return!0x0;const _0x1a6461=_0xb97720[_0x343804(0x446)](_0x35c787['SheetsPivotDataSourceModel']),{pivotTableId:_0x157887,fieldId:_0x480272,unitId:_0x5c3278,subUnitId:_0x36aebe}=_0x1d9061,_0x266b03=_0x1a6461[_0x343804(0x442)](_0x157887);if(!_0x266b03)return!0x1;_0x266b03[_0x343804(0x38f)](_0x480272);const _0x13038b=_0x1a6461['getPivotTableModelConfig'](_0x5c3278,_0x36aebe,_0x157887);_0x25d749(_0x13038b,_0x1d9061);const _0x3b70ad=_0x1a6461[_0x343804(0x34a)](_0x5c3278,_0x36aebe,_0x157887);return _0x1a6461['addDirtyPivotTable']({'unitId':_0x5c3278,'subUnitId':_0x36aebe,'token':_0x157887,'type':_0x1bdb8f[_0x343804(0x2e5)],'pivotConfig':_0x3b70ad}),!0x0;}},_0x382b64={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['MUTATION'],'id':_0x6f5ed9(0x436),'handler'(_0x40ace9,_0x173de7){const _0x5a088b=_0x6f5ed9;if(!_0x173de7)return!0x1;if(!!_0x40ace9[_0x5a088b(0x446)](_0x6ffa6d['IConfigService'])[_0x5a088b(0x2a3)](_0x838977))return!0x0;const _0x4be4df=_0x40ace9[_0x5a088b(0x446)](_0x35c787[_0x5a088b(0x185)]),{unitId:_0x371773,subUnitId:_0x48d486,pivotTableId:_0x36dd1c,fieldId:_0x212822,name:_0x48d9ff}=_0x173de7,_0x167b8e=_0x4be4df[_0x5a088b(0x442)](_0x36dd1c);if(!_0x167b8e)return!0x1;_0x167b8e[_0x5a088b(0x475)](_0x212822,_0x48d9ff);const _0x59420a=_0x4be4df[_0x5a088b(0x43a)](_0x371773,_0x48d486,_0x36dd1c);return _0x2e9547(_0x59420a,_0x173de7),_0x4be4df[_0x5a088b(0x3c1)]({'unitId':_0x371773,'subUnitId':_0x48d486,'token':_0x36dd1c,'type':_0x1bdb8f[_0x5a088b(0x2e5)]}),!0x0;}},_0x2bbb11={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x3ed),'handler'(_0x3e6807,_0x1e4119){const _0x100b99=_0x6f5ed9;if(!_0x1e4119)return!0x1;if(!!_0x3e6807[_0x100b99(0x446)](_0x6ffa6d[_0x100b99(0x431)])[_0x100b99(0x2a3)](_0x838977))return!0x0;const _0x1b53cd=_0x3e6807[_0x100b99(0x446)](_0x35c787[_0x100b99(0x185)]),{unitId:_0x1f075f,subUnitId:_0x5cf597,pivotTableId:_0x1b45c3,fieldId:_0x80df0e,collapse:_0x38554d,item:_0x2ecfd2}=_0x1e4119,_0x4d36ba=_0x1b53cd['getPivotTableInstance'](_0x1b45c3);if(!_0x4d36ba)return!0x1;_0x4d36ba['setCollapse'](_0x80df0e,_0x38554d,_0x2ecfd2);const _0x5a5144=_0x1b53cd[_0x100b99(0x43a)](_0x1f075f,_0x5cf597,_0x1b45c3);return _0x58673a(_0x5a5144,_0x1e4119),_0x1b53cd[_0x100b99(0x3c1)]({'unitId':_0x1f075f,'subUnitId':_0x5cf597,'token':_0x1b45c3,'type':_0x1bdb8f[_0x100b99(0x2e5)]}),!0x0;}},_0x117dd7={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x47e),'handler'(_0x449345,_0x3a7c30){const _0x53103d=_0x6f5ed9;if(!_0x3a7c30)return!0x1;if(!!_0x449345[_0x53103d(0x446)](_0x6ffa6d[_0x53103d(0x431)])['getConfig'](_0x838977))return!0x0;const _0x3ef939=_0x449345[_0x53103d(0x446)](_0x35c787['SheetsPivotDataSourceModel']),{unitId:_0x231ac1,subUnitId:_0x2a9159,pivotTableId:_0x18fee5,fieldId:_0x732c91,format:_0x56dfee}=_0x3a7c30,_0x45cb61=_0x3ef939[_0x53103d(0x442)](_0x18fee5);if(!_0x45cb61)return!0x1;_0x45cb61[_0x53103d(0x21b)](_0x732c91,_0x56dfee);const _0x5ef23e=_0x3ef939['getPivotTableModelConfig'](_0x231ac1,_0x2a9159,_0x18fee5);return _0x2751ac(_0x5ef23e,_0x3a7c30),_0x3ef939[_0x53103d(0x3c1)]({'unitId':_0x231ac1,'subUnitId':_0x2a9159,'token':_0x18fee5,'type':_0x1bdb8f[_0x53103d(0x2e5)]}),!0x0;}},_0x4e8127={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x3b1),'handler'(_0x49faa7,_0x569b36){const _0x838283=_0x6f5ed9;if(!_0x569b36)return!0x1;if(!!_0x49faa7[_0x838283(0x446)](_0x6ffa6d[_0x838283(0x431)])[_0x838283(0x2a3)](_0x838977))return!0x0;const _0x2b89a2=_0x49faa7[_0x838283(0x446)](_0x35c787[_0x838283(0x185)]),{unitId:_0x118065,subUnitId:_0x1fc7f7,pivotTableId:_0x57bb3f,fieldId:_0xc4bea6,filterInfo:_0x52bd17}=_0x569b36,_0x737753=_0x2b89a2[_0x838283(0x442)](_0x57bb3f);if(!_0x737753)return!0x1;_0x737753[_0x838283(0x3c3)](_0xc4bea6,_0x52bd17);const _0xd9d6cf=_0x2b89a2[_0x838283(0x43a)](_0x118065,_0x1fc7f7,_0x57bb3f);return _0x25f45b(_0xd9d6cf,_0x569b36),_0x2b89a2[_0x838283(0x3c1)]({'unitId':_0x118065,'subUnitId':_0x1fc7f7,'token':_0x57bb3f,'type':_0x1bdb8f[_0x838283(0x2e5)]}),!0x0;}},_0x5129ed={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x465),'handler'(_0x1b1ed8,_0xd6f40d){const _0x20136c=_0x6f5ed9;if(!_0xd6f40d)return!0x1;if(!!_0x1b1ed8[_0x20136c(0x446)](_0x6ffa6d[_0x20136c(0x431)])['getConfig'](_0x838977))return!0x0;const _0xc81385=_0x1b1ed8[_0x20136c(0x446)](_0x35c787[_0x20136c(0x185)]),{unitId:_0x36d82c,subUnitId:_0x3b05ed,pivotTableId:_0x1b69a4,options:_0x217895}=_0xd6f40d,_0xc87ec2=_0xc81385[_0x20136c(0x442)](_0x1b69a4);if(!_0xc87ec2)return!0x1;_0xc87ec2[_0x20136c(0x34b)](_0x217895);const _0x590e2f=_0xc81385[_0x20136c(0x43a)](_0x36d82c,_0x3b05ed,_0x1b69a4);return _0x3f4797(_0x590e2f,_0xd6f40d),_0xc81385[_0x20136c(0x3c1)]({'unitId':_0x36d82c,'subUnitId':_0x3b05ed,'token':_0x1b69a4,'type':_0x1bdb8f[_0x20136c(0x2e5)]}),!0x0;}},_0x3df2c2={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['MUTATION'],'id':_0x6f5ed9(0x1cb),'handler'(_0x56cb2e,_0x20b1e9){const _0x1a17ab=_0x6f5ed9;if(!_0x20b1e9)return!0x1;if(!!_0x56cb2e['get'](_0x6ffa6d[_0x1a17ab(0x431)])['getConfig'](_0x838977))return!0x0;const _0x269d42=_0x56cb2e['get'](_0x35c787['SheetsPivotDataSourceModel']),{unitId:_0x5b56ee,subUnitId:_0x580077,pivotTableId:_0x639a79,sortInfo:_0x152f35,fieldId:_0x112a5e}=_0x20b1e9,_0x29579c=_0x269d42[_0x1a17ab(0x442)](_0x639a79);if(!_0x29579c)return!0x1;_0x29579c[_0x1a17ab(0x370)](_0x112a5e,_0x152f35);const _0x5ef4fc=_0x269d42['getPivotTableModelConfig'](_0x5b56ee,_0x580077,_0x639a79);return _0x23db1d(_0x5ef4fc,_0x20b1e9),_0x269d42['addDirtyPivotTable']({'unitId':_0x5b56ee,'subUnitId':_0x580077,'token':_0x639a79,'type':_0x1bdb8f[_0x1a17ab(0x2e5)]}),!0x0;}},_0x371bfd={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x3a8),'handler'(_0x2891ea,_0x2e4861){const _0x1eceeb=_0x6f5ed9;if(!_0x2e4861)return!0x1;if(!!_0x2891ea[_0x1eceeb(0x446)](_0x6ffa6d[_0x1eceeb(0x431)])[_0x1eceeb(0x2a3)](_0x838977))return!0x0;const _0x2e12de=_0x2891ea[_0x1eceeb(0x446)](_0x35c787[_0x1eceeb(0x185)]),{unitId:_0x1e2f52,subUnitId:_0x45c6ef,pivotTableId:_0x1c29ed,fieldId:_0x31a3d9,subtotalType:_0x379816}=_0x2e4861,_0x301a81=_0x2e12de[_0x1eceeb(0x442)](_0x1c29ed);if(!_0x301a81)return!0x1;_0x301a81[_0x1eceeb(0x40c)](_0x31a3d9,_0x379816);const _0x520ddc=_0x2e12de[_0x1eceeb(0x43a)](_0x1e2f52,_0x45c6ef,_0x1c29ed);return _0x1df3db(_0x520ddc,_0x2e4861),_0x2e12de[_0x1eceeb(0x3c1)]({'unitId':_0x1e2f52,'subUnitId':_0x45c6ef,'token':_0x1c29ed,'type':_0x1bdb8f[_0x1eceeb(0x2e5)]}),!0x0;}},_0xe3f52a={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x216)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x501672,_0x5e8c02){const _0x319de5=_0x6f5ed9;if(!_0x5e8c02)return!0x1;if(!!_0x501672['get'](_0x6ffa6d['IConfigService'])[_0x319de5(0x2a3)](_0x838977))return!0x0;const _0x3dfc93=_0x501672[_0x319de5(0x446)](_0x35c787[_0x319de5(0x185)]),{unitId:_0xd8a657,subUnitId:_0x4aae74,pivotTableId:_0x5eb78d,fieldId:_0xbd902e,filterInfo:_0x998b25}=_0x5e8c02,_0xeef630=_0x3dfc93[_0x319de5(0x442)](_0x5eb78d);if(!_0xeef630)return!0x1;_0xeef630[_0x319de5(0x209)](_0xbd902e,_0x998b25);const _0x34a432=_0x3dfc93['getPivotTableModelConfig'](_0xd8a657,_0x4aae74,_0x5eb78d);return _0x48df7d(_0x34a432,_0x5e8c02),_0x3dfc93[_0x319de5(0x3c1)]({'unitId':_0xd8a657,'subUnitId':_0x4aae74,'token':_0x5eb78d,'type':_0x1bdb8f[_0x319de5(0x2e5)]}),!0x0;}},_0x960903={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x121f89,_0x1ede67){const _0x490397=_0x6f5ed9;if(!_0x1ede67)return!0x1;if(!!_0x121f89[_0x490397(0x446)](_0x6ffa6d['IConfigService'])['getConfig'](_0x838977))return!0x0;const _0x429135=_0x121f89[_0x490397(0x446)](_0x35c787[_0x490397(0x185)]),{unitId:_0x48b0a4,subUnitId:_0x26f7fb,pivotTableId:_0x492e56,area:_0x341133,index:_0x553b9c,fieldId:_0x199746}=_0x1ede67,_0x24a543=_0x429135[_0x490397(0x442)](_0x492e56);if(!_0x24a543)return!0x1;_0x24a543[_0x490397(0x211)](_0x199746,_0x341133,_0x553b9c);const _0x29f56f=_0x429135['getPivotTableModelConfig'](_0x48b0a4,_0x26f7fb,_0x492e56);return _0x4f4ac5(_0x29f56f,_0x1ede67),_0x429135[_0x490397(0x3c1)]({'unitId':_0x48b0a4,'subUnitId':_0x26f7fb,'token':_0x492e56,'type':_0x1bdb8f[_0x490397(0x2e5)]}),!0x0;}},_0x10371c={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x3cd),'handler'(_0x69e6d3,_0x23163c){const _0x244ba4=_0x6f5ed9;if(!_0x23163c)return!0x1;if(!!_0x69e6d3['get'](_0x6ffa6d[_0x244ba4(0x431)])[_0x244ba4(0x2a3)](_0x838977))return!0x0;const _0x3f6b78=_0x69e6d3[_0x244ba4(0x446)](_0x35c787[_0x244ba4(0x185)]),{unitId:_0x3da8e1,subUnitId:_0x2415c8,pivotTableId:_0x527d5d,sourceName:_0x436206,dataFieldId:_0x5afb19,tableFieldId:_0x4179e5}=_0x23163c,_0x12dcc5=_0x3f6b78[_0x244ba4(0x442)](_0x527d5d);if(!_0x12dcc5)return!0x1;_0x12dcc5[_0x244ba4(0x32a)](_0x4179e5,_0x436206,_0x5afb19);const _0x32d0c9=_0x3f6b78[_0x244ba4(0x43a)](_0x3da8e1,_0x2415c8,_0x527d5d);return _0x396379(_0x32d0c9,_0x23163c),_0x3f6b78[_0x244ba4(0x3c1)]({'unitId':_0x3da8e1,'subUnitId':_0x2415c8,'token':_0x527d5d,'type':_0x1bdb8f['Set']}),!0x0;}},_0x3c682e={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x38d),'handler'(_0x112122,_0x5a3046){const _0xe13be9=_0x6f5ed9;if(!_0x5a3046)return!0x1;if(!!_0x112122[_0xe13be9(0x446)](_0x6ffa6d['IConfigService'])['getConfig'](_0x838977))return!0x0;const _0x41fa5d=_0x112122[_0xe13be9(0x446)](_0x35c787['SheetsPivotDataSourceModel']),{unitId:_0x208d8e,subUnitId:_0x2c8c5b,pivotTableId:_0x304004,valuePosition:_0x504d0f,index:_0xe857b7}=_0x5a3046,_0x396558=_0x41fa5d[_0xe13be9(0x442)](_0x304004);if(!_0x396558)return!0x1;_0x396558['updateValuePosition'](_0x504d0f,_0xe857b7);const _0x275a9b=_0x41fa5d[_0xe13be9(0x43a)](_0x208d8e,_0x2c8c5b,_0x304004);return _0x36c898(_0x275a9b,_0x5a3046),_0x41fa5d['addDirtyPivotTable']({'unitId':_0x208d8e,'subUnitId':_0x2c8c5b,'token':_0x304004,'type':_0x1bdb8f[_0xe13be9(0x2e5)]}),!0x0;}};function _0x1f747e(_0x4685ce,_0x2fe18d,_0x115b0a){const _0x51c824=_0x6f5ed9,{pivotTableId:_0x168e5f,unitId:_0x427687,subUnitId:_0x17d58c}=_0x2fe18d,_0x4ba7af=[],_0x57256c=[];for(const _0x14e29b of _0x115b0a)switch(_0x14e29b[_0x51c824(0x41b)]){case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x184)]:{const {fieldJson:_0x63a31e,area:_0x3a0504,index:_0x5da261}=_0x14e29b,_0x456f04={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldJson':_0x63a31e,'area':_0x3a0504,'index':_0x5da261},_0x652d3a={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x63a31e['id'],'area':_0x3a0504,'index':_0x5da261};_0x4ba7af['push']({'id':_0x3162b8['id'],'params':_0x456f04}),_0x57256c[_0x51c824(0x25d)]({'id':_0x2cf165['id'],'params':_0x652d3a});}break;case _0x426cf2['PivotTableChangeTypeEnum'][_0x51c824(0x32c)]:{const {fieldId:_0x2a8204,newSubtotalType:_0x5be63a,oldSubtotalType:_0x2c986f}=_0x14e29b,_0x22e1a7={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x2a8204,'subtotalType':_0x5be63a};_0x4ba7af[_0x51c824(0x321)]({'id':_0x371bfd['id'],'params':_0x22e1a7});const _0x583026={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x2a8204,'subtotalType':_0x2c986f};_0x57256c[_0x51c824(0x25d)]({'id':_0x371bfd['id'],'params':_0x583026});}break;case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x1f5)]:{const {fieldId:_0x11ef8c,fieldJson:_0x7116,area:_0x552101,index:_0xe31c70}=_0x14e29b,_0x2eb835={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x11ef8c,'index':_0xe31c70,'area':_0x552101};_0x4ba7af[_0x51c824(0x321)]({'id':_0x2cf165['id'],'params':_0x2eb835});const _0x26955c={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldJson':_0x7116,'area':_0x552101,'index':_0xe31c70};_0x57256c[_0x51c824(0x25d)]({'id':_0x3162b8['id'],'params':_0x26955c});}break;case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x1a3)]:{const {fieldId:_0x40de53,oldName:_0x3aa9da,newName:_0x1f48ba}=_0x14e29b,_0x48981b={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x40de53,'name':_0x1f48ba};_0x4ba7af[_0x51c824(0x321)]({'id':_0x382b64['id'],'params':_0x48981b});const _0x206cff={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x40de53,'name':_0x3aa9da};_0x57256c[_0x51c824(0x25d)]({'id':_0x382b64['id'],'params':_0x206cff});}break;case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x392)]:{const {fieldId:_0x5641f7,oldFilterInfo:_0xd50c6,newFilterInfo:_0x24f7a4}=_0x14e29b,_0x5b4dae={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x5641f7,'filterInfo':_0x24f7a4};_0x4ba7af[_0x51c824(0x321)]({'id':_0x4e8127['id'],'params':_0x5b4dae});const _0x243fc9={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x5641f7,'filterInfo':_0xd50c6};_0x57256c[_0x51c824(0x25d)]({'id':_0x4e8127['id'],'params':_0x243fc9});}break;case _0x426cf2['PivotTableChangeTypeEnum'][_0x51c824(0x485)]:{const {fieldId:_0xa3ce05,oldSortInfo:_0x1eacfc,newSortInfo:_0x128970}=_0x14e29b,_0x338e52={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0xa3ce05,'sortInfo':_0x128970};_0x4ba7af[_0x51c824(0x321)]({'id':_0x3df2c2['id'],'params':_0x338e52});const _0x251902={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0xa3ce05,'sortInfo':_0x1eacfc};_0x57256c[_0x51c824(0x25d)]({'id':_0x3df2c2['id'],'params':_0x251902});}break;case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x288)]:{const {oldOptions:_0x69c1c1,newOptions:_0x40229f}=_0x14e29b,_0x2ded85={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'options':_0x40229f};_0x4ba7af[_0x51c824(0x321)]({'id':_0x5129ed['id'],'params':_0x2ded85});const _0x3a1483={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'options':_0x69c1c1};_0x57256c[_0x51c824(0x25d)]({'id':_0x5129ed['id'],'params':_0x3a1483});}break;case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x397)]:{const {oldArea:_0xfd76de,newArea:_0xe63fa1,oldIndex:_0x244e2f,newIndex:_0x315d82,fieldId:_0x1f839c}=_0x14e29b,_0x365c87={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x1f839c,'area':_0xe63fa1,'index':_0x315d82,'oldArea':_0xfd76de,'oldIndex':_0x244e2f};_0x4ba7af['push']({'id':_0x960903['id'],'params':_0x365c87});const _0x3c7a9e={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x1f839c,'area':_0xfd76de,'index':_0x244e2f,'oldArea':_0xe63fa1,'oldIndex':_0x315d82};_0x57256c[_0x51c824(0x25d)]({'id':_0x960903['id'],'params':_0x3c7a9e});}break;case _0x426cf2[_0x51c824(0x3de)]['UpdateValuePosition']:{const {oldValuePosition:_0x141e93,newValuePosition:_0x1d8a62,oldIndex:_0x25918b,newIndex:_0x1d43e4}=_0x14e29b,_0x1a1894={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'valuePosition':_0x1d8a62,'index':_0x1d43e4};_0x4ba7af[_0x51c824(0x321)]({'id':_0x3c682e['id'],'params':_0x1a1894});const _0x2bfe91={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'valuePosition':_0x141e93,'index':_0x25918b};_0x57256c['unshift']({'id':_0x3c682e['id'],'params':_0x2bfe91});}break;case _0x426cf2[_0x51c824(0x3de)]['SetCollapse']:{const {fieldId:_0x43b6e6,collapse:_0x5a64c3,item:_0x5da9a9}=_0x14e29b,_0x17c119={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x43b6e6,'collapse':_0x5a64c3,'item':_0x5da9a9};_0x4ba7af[_0x51c824(0x321)]({'id':_0x2bbb11['id'],'params':_0x17c119});const _0x45b487={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x43b6e6,'collapse':!_0x5a64c3,'item':_0x5da9a9};_0x57256c[_0x51c824(0x25d)]({'id':_0x2bbb11['id'],'params':_0x45b487});}break;case _0x426cf2[_0x51c824(0x3de)][_0x51c824(0x180)]:{const {newFormat:_0x4c720d,oldFormat:_0x154669,fieldId:_0x37f9cf}=_0x14e29b,_0xac798e={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x37f9cf,'format':_0x4c720d};_0x4ba7af[_0x51c824(0x321)]({'id':_0x117dd7['id'],'params':_0xac798e});const _0x447f10={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0x37f9cf,'format':_0x154669};_0x57256c[_0x51c824(0x25d)]({'id':_0x117dd7['id'],'params':_0x447f10});}break;case _0x426cf2['PivotTableChangeTypeEnum']['UpdateSource']:{const {tableFieldId:_0x2bf643,oldSourceName:_0x2c0190,newSourceName:_0x23ae02,oldDataFieldId:_0x1d10f2,newDataFieldId:_0x5c087e}=_0x14e29b,_0x4c4776={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'tableFieldId':_0x2bf643,'sourceName':_0x23ae02,'dataFieldId':_0x5c087e};_0x4ba7af[_0x51c824(0x321)]({'id':_0x10371c['id'],'params':_0x4c4776});const _0x40ce04={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'tableFieldId':_0x2bf643,'sourceName':_0x2c0190,'dataFieldId':_0x1d10f2};_0x57256c[_0x51c824(0x25d)]({'id':_0x10371c['id'],'params':_0x40ce04});}break;case _0x426cf2[_0x51c824(0x3de)]['SetValueFilter']:{const {fieldId:_0xf28cea,filterInfo:_0x5619c3,oldFilterInfo:_0x5d3de1}=_0x14e29b,_0x14549b={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0xf28cea,'filterInfo':_0x5619c3};_0x4ba7af[_0x51c824(0x321)]({'id':_0xe3f52a['id'],'params':_0x14549b});const _0x37a0f8={'unitId':_0x427687,'subUnitId':_0x17d58c,'pivotTableId':_0x168e5f,'fieldId':_0xf28cea,'filterInfo':_0x5d3de1};_0x57256c[_0x51c824(0x25d)]({'id':_0xe3f52a['id'],'params':_0x37a0f8});}}return{'redos':_0x4ba7af,'undos':_0x57256c};}function _0x2aaec3(_0x4b9b79,_0x15fd93){const _0x1c1717=_0x6f5ed9;var _0x1d7333;const _0x3e24de=_0x4b9b79[_0x1c1717(0x446)](_0x35c787['SheetsPivotTableService']),{cellInfo:_0x9bd750,view:_0x6653af,isEmpty:_0x3eb9ba}=_0x15fd93;return(_0x1d7333=_0x3e24de[_0x1c1717(0x2e7)][_0x1c1717(0x311)](_0x1b527c)(_0xd22ebc,{'cellInfo':_0x9bd750,'view':_0x6653af,'isEmpty':_0x3eb9ba}))!=null?_0x1d7333:_0xd22ebc;}const _0x2be464=()=>typeof process<'u'&&process[_0x6f5ed9(0x365)]!=null&&process[_0x6f5ed9(0x365)][_0x6f5ed9(0x19d)]!=null,_0x524173={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x236),'handler'(_0xb3a9fb,_0x5e8efb){const _0x4737cc=_0x6f5ed9;var _0x5358ae;if(!_0x5e8efb)return!0x1;const _0x3eaa03=_0xb3a9fb[_0x4737cc(0x446)](_0x6ffa6d[_0x4737cc(0x431)]);if(!!_0x3eaa03[_0x4737cc(0x2a3)](_0x838977))return!0x0;const _0x444500=_0xb3a9fb['get'](_0x6ffa6d[_0x4737cc(0x491)]),_0x5d6e77=_0xb3a9fb['get'](_0x35c787[_0x4737cc(0x185)]),{pivotTableId:_0x50c67c,pivotTableConfig:_0x2749f5,collectionConfig:_0x4f657e,unitId:_0xf72efa,subUnitId:_0x138c7a}=_0x5e8efb,{sourceRangeInfo:_0x9acb18,fieldsConfig:_0x3aecfa,targetCellInfo:_0x2bd910}=_0x2749f5,_0x1b9fcf=_0x444500['getUnit'](_0xf72efa);if(!_0x1b9fcf||!_0x1b9fcf[_0x4737cc(0x410)](_0x138c7a))return!0x1;if(!_0x2be464()){let _0x2916a1=0x0;_0x1b9fcf['getSheets']()[_0x4737cc(0x3a7)](_0x42e69b=>{const _0xde58b=_0x4737cc;var _0x189c36,_0x3f0aee;_0x2916a1+=(_0x3f0aee=(_0x189c36=_0x5d6e77[_0xde58b(0x1a0)](_0xf72efa,_0x42e69b[_0xde58b(0x1ac)]()))==null?void 0x0:_0x189c36[_0xde58b(0x317)])!=null?_0x3f0aee:0x0;});const _0x78df67=(_0x5358ae=_0x3eaa03['getConfig'](_0x225f82['LS_CONFIG_KEY']))!=null?_0x5358ae:{},{ls:_0x11e4c4,pbk:_0x327ccc}=_0x78df67;if(!_0x1caba2(_0x11e4c4,_0x327ccc))throw new _0x6ffa6d['CustomCommandExecutionError']('limit\x20pivot');const _0x18591b=_0x1cbe56(_0x7f0533,_0x11e4c4,_0x327ccc)[_0x4737cc(0x2ba)];if(_0x2916a1>=_0x18591b)throw new _0x6ffa6d[(_0x4737cc(0x226))]('limit\x20pivot');}if(!_0x4f657e||!_0x3aecfa)return!0x1;const {collection:_0xa0a22,updateDataFieldList:_0x5e4d65}=_0x5d6e77[_0x4737cc(0x1c1)](_0x50c67c,_0x4f657e,_0x9acb18,_0x2bd910);_0x5d6e77['refreshData'](_0xa0a22,_0x5e4d65,_0x9acb18);const _0x544b47=new _0x426cf2[(_0x4737cc(0x190))](_0xa0a22,void 0x0,_0x50c67c);_0x544b47[_0x4737cc(0x269)](_0x3aecfa);const _0x3c287a=JSON['parse'](JSON['stringify'](_0x2749f5));return _0x5d6e77['addPivotTable'](_0xf72efa,_0x138c7a,_0x50c67c,_0x544b47,_0x3c287a),_0x5d6e77[_0x4737cc(0x3c1)]({'unitId':_0xf72efa,'subUnitId':_0x138c7a,'token':_0x50c67c,'type':_0x1bdb8f[_0x4737cc(0x1b6)],'pivotConfig':_0x3c287a}),!0x0;}},_0x1d9fe9={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['MUTATION'],'id':_0x6f5ed9(0x43d),'handler'(_0x5d7df6,_0x634971){const _0x310535=_0x6f5ed9;if(!_0x634971)return!0x1;if(!!_0x5d7df6[_0x310535(0x446)](_0x6ffa6d[_0x310535(0x431)])['getConfig'](_0x838977))return!0x0;const {pivotTableId:_0x57bb66,unitId:_0x317431,subUnitId:_0x1569f8}=_0x634971,_0xde8095=_0x5d7df6[_0x310535(0x446)](_0x35c787[_0x310535(0x185)]);return _0xde8095[_0x310535(0x34a)](_0x317431,_0x1569f8,_0x57bb66)?(_0xde8095[_0x310535(0x3c1)]({'unitId':_0x317431,'subUnitId':_0x1569f8,'token':_0x57bb66,'type':_0x1bdb8f[_0x310535(0x3f6)]}),_0xde8095[_0x310535(0x2e1)](_0x317431,_0x1569f8,_0x57bb66),!0x0):!0x1;}},_0x34b248={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':'sheet.mutation.set-pivot-position','handler'(_0x28c1c1,_0x3ff1be){const _0x32ac15=_0x6f5ed9;if(!_0x3ff1be)return!0x1;if(!!_0x28c1c1[_0x32ac15(0x446)](_0x6ffa6d[_0x32ac15(0x431)])[_0x32ac15(0x2a3)](_0x838977))return!0x0;const {pivotTableId:_0x4ee136,targetCellPosition:_0x56c159,unitId:_0x1fc591,subUnitId:_0x1b6054}=_0x3ff1be,_0x5c0e25=_0x28c1c1[_0x32ac15(0x446)](_0x35c787[_0x32ac15(0x185)]);if(!_0x5c0e25[_0x32ac15(0x442)](_0x3ff1be['pivotTableId']))return!0x1;const _0x21d73a=_0x5c0e25[_0x32ac15(0x292)](_0x4ee136);if(!_0x21d73a)return!0x1;const _0x159063=_0x5c0e25[_0x32ac15(0x3d9)](_0x21d73a['unitId'],_0x3ff1be[_0x32ac15(0x391)]);if(!_0x159063)return!0x1;const _0xc006a1=_0x5c0e25[_0x32ac15(0x34a)](_0x21d73a[_0x32ac15(0x322)],_0x21d73a[_0x32ac15(0x2d3)],_0x4ee136);if(!_0xc006a1)return!0x1;const _0x3b57e7=_0x6ffa6d['Tools']['deepClone'](_0xc006a1);_0x3b57e7['targetCellInfo']={'unitId':_0x1fc591,'subUnitId':_0x1b6054,'row':_0x56c159[_0x32ac15(0x316)],'col':_0x56c159[_0x32ac15(0x48d)]};const _0x17a457=_0x159063['toJSON']();if(_0x21d73a[_0x32ac15(0x2d3)]===_0x1b6054&&_0x21d73a[_0x32ac15(0x322)]===_0x1fc591)_0x5c0e25[_0x32ac15(0x2b3)](_0x1fc591,_0x1b6054,_0x4ee136,_0x3b57e7),_0x5c0e25[_0x32ac15(0x3c1)]({'unitId':_0x1fc591,'subUnitId':_0x1b6054,'token':_0x4ee136,'type':_0x1bdb8f[_0x32ac15(0x2e5)]});else{_0x5c0e25[_0x32ac15(0x3c1)]({'unitId':_0x21d73a[_0x32ac15(0x322)],'subUnitId':_0x21d73a[_0x32ac15(0x2d3)],'token':_0x4ee136,'type':_0x1bdb8f[_0x32ac15(0x3f6)]}),_0x5c0e25[_0x32ac15(0x2e1)](_0x21d73a[_0x32ac15(0x322)],_0x21d73a[_0x32ac15(0x2d3)],_0x4ee136);const _0x3bb6c6=_0x5c0e25[_0x32ac15(0x1c1)](_0x4ee136,_0x17a457,_0xc006a1['sourceRangeInfo'],_0x3b57e7[_0x32ac15(0x1fb)]),_0xd1b37a=new _0x426cf2[(_0x32ac15(0x190))](_0x3bb6c6['collection'],void 0x0,_0x4ee136);_0xd1b37a[_0x32ac15(0x269)](_0x3b57e7[_0x32ac15(0x427)]),_0x5c0e25['addPivotTable'](_0x1fc591,_0x1b6054,_0x4ee136,_0xd1b37a,_0x3b57e7),_0x5c0e25['addDirtyPivotTable']({'unitId':_0x1fc591,'subUnitId':_0x1b6054,'token':_0x4ee136,'type':_0x1bdb8f[_0x32ac15(0x1b6)],'pivotConfig':_0x3b57e7});}return!0x0;}},_0x455e79={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x30b606,_0x3f2915){const _0xfb935=_0x6f5ed9;if(!_0x3f2915)return!0x1;if(!!_0x30b606[_0xfb935(0x446)](_0x6ffa6d[_0xfb935(0x431)])[_0xfb935(0x2a3)](_0x838977))return!0x0;const _0x17ba0c=_0x30b606[_0xfb935(0x446)](_0x35c787[_0xfb935(0x185)]),{pivotTableId:_0x2fa7cf,deleteIds:_0x4c20db,collectionJSON:_0x3b1f68,dataRangeInfo:_0x11aa0a,unitId:_0x3bdb9d,subUnitId:_0x40e55a}=_0x3f2915,_0x2cb3bf=_0x17ba0c[_0xfb935(0x442)](_0x2fa7cf),_0x360526=_0x17ba0c[_0xfb935(0x34a)](_0x3bdb9d,_0x40e55a,_0x2fa7cf);if(!_0x2cb3bf||!_0x360526)return!0x1;const {collection:_0x500d1f,updateDataFieldList:_0x2713f5}=_0x17ba0c[_0xfb935(0x1c1)](_0x2fa7cf,_0x3b1f68,_0x11aa0a,_0x360526[_0xfb935(0x1fb)]);_0x17ba0c[_0xfb935(0x21d)](_0x500d1f,_0x2713f5,_0x11aa0a),_0x2cb3bf[_0xfb935(0x312)](_0x500d1f);for(const _0x359d4a of _0x4c20db)_0x17ba0c[_0xfb935(0x29b)](_0x11aa0a[_0xfb935(0x322)],_0x359d4a);const _0x36a6ce=_0x17ba0c['getPivotTableConfig'](_0x3bdb9d,_0x40e55a,_0x2fa7cf);return _0x36a6ce[_0xfb935(0x23d)]=JSON['parse'](JSON[_0xfb935(0x46b)](_0x11aa0a)),_0x17ba0c[_0xfb935(0x3c1)]({'unitId':_0x3bdb9d,'subUnitId':_0x40e55a,'token':_0x2fa7cf,'type':_0x1bdb8f[_0xfb935(0x2e5)]}),!0x0;}},_0xe09225={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'id':_0x6f5ed9(0x1bc),'handler'(){return!0x0;}};var _0x454f25=Object[_0x6f5ed9(0x1a9)],_0x3d49ed=(_0x5d7688,_0x209143,_0x1f934d,_0x4b508f)=>{const _0x383c23=_0x6f5ed9;for(var _0x15a33f=_0x4b508f>0x1?void 0x0:_0x4b508f?_0x454f25(_0x209143,_0x1f934d):_0x209143,_0x3d5f3b=_0x5d7688[_0x383c23(0x293)]-0x1,_0x3ffabd;_0x3d5f3b>=0x0;_0x3d5f3b--)(_0x3ffabd=_0x5d7688[_0x3d5f3b])&&(_0x15a33f=_0x3ffabd(_0x15a33f)||_0x15a33f);return _0x15a33f;},_0x2b832d=(_0x51f4d1,_0x704748)=>(_0x697f13,_0xf7472d)=>_0x704748(_0x697f13,_0xf7472d,_0x51f4d1);_0x35c787[_0x6f5ed9(0x214)]=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x1a9002,_0x49ace1){const _0x59be7f=_0x6f5ed9;super(),_0x47a2cd(this,_0x59be7f(0x2ce),new Map()),(this[_0x59be7f(0x208)]=_0x1a9002,this[_0x59be7f(0x42b)]=_0x49ace1);}['handleAsyncResponse'](_0x3b6c78){const _0xe1b26b=_0x6f5ed9,{version:_0x19c8f1}=_0x3b6c78,_0x1dcc34=this['_requestResolvers'][_0xe1b26b(0x446)](_0x19c8f1);_0x1dcc34&&(_0x1dcc34(_0x3b6c78),this[_0xe1b26b(0x2ce)][_0xe1b26b(0x374)](_0x19c8f1));}[_0x6f5ed9(0x39b)](_0x1b091a){return new Promise((_0x8c93cc,_0x38a422)=>{const _0x34f255=_0x5549,_0x1498cb=this['_generateUniqueVersion']();this[_0x34f255(0x2ce)][_0x34f255(0x2bc)](_0x1498cb,_0x8c93cc),this[_0x34f255(0x42b)][_0x34f255(0x1d9)](_0x1ca9ca['id'],{'version':_0x1498cb,..._0x1b091a},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x9fa8ec=_0x6f5ed9;return Math['random']()[_0x9fa8ec(0x413)](0x24)[_0x9fa8ec(0x443)](0x2,0x10);}},_0x35c787[_0x6f5ed9(0x214)]=_0x3d49ed([_0x2b832d(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x24b)])),_0x2b832d(0x1,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d['ICommandService']))],_0x35c787[_0x6f5ed9(0x214)]);const _0xa1b196={'id':_0x6f5ed9(0x1e7),'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['MUTATION'],'handler':(_0x3b5889,_0x336276)=>{const _0x309190=_0x6f5ed9;if(!_0x336276)return!0x1;if(!!_0x3b5889[_0x309190(0x446)](_0x6ffa6d['IConfigService'])[_0x309190(0x2a3)](_0x838977))return!0x0;const {pivotTableId:_0x193e66,fieldJSON:_0x30c924,unitId:_0x1c96d2,subUnitId:_0x163ba1}=_0x336276,_0x4c1af8=_0x426cf2[_0x309190(0x2de)][_0x309190(0x269)](_0x30c924);if(!_0x4c1af8)return!0x1;const _0x598545=_0x3b5889[_0x309190(0x446)](_0x35c787[_0x309190(0x185)]),_0x2a9c37=_0x598545['getDataFieldManager'](_0x1c96d2),_0x1004b1=_0x2a9c37['getCollection'](_0x193e66);_0x2a9c37[_0x309190(0x400)](_0x4c1af8),_0x1004b1[_0x309190(0x2ef)](_0x4c1af8[_0x309190(0x222)](),_0x4c1af8[_0x309190(0x459)]());const _0x5ce73c=_0x1004b1[_0x309190(0x229)](_0x4c1af8[_0x309190(0x1ef)]());_0x5ce73c&&_0x4c1af8[_0x309190(0x1ff)](_0x5ce73c);const _0xbbca48=_0x598545[_0x309190(0x34a)](_0x1c96d2,_0x163ba1,_0x193e66);return _0x598545[_0x309190(0x3c1)]({'unitId':_0x1c96d2,'subUnitId':_0x163ba1,'token':_0x193e66,'type':_0x1bdb8f[_0x309190(0x2e5)],'pivotConfig':_0xbbca48}),!0x0;}},_0x11cfc9={'id':_0x6f5ed9(0x33f),'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x216)],'handler':(_0x1fce4c,_0x38b925)=>{const _0x1af14e=_0x6f5ed9;if(!_0x38b925)return!0x1;if(!!_0x1fce4c[_0x1af14e(0x446)](_0x6ffa6d['IConfigService'])[_0x1af14e(0x2a3)](_0x838977))return!0x0;const {pivotTableId:_0x3b0890,dataFieldId:_0x3d5b92,unitId:_0xefc6d1,subUnitId:_0x57c9b1}=_0x38b925,_0x1e7fa7=_0x1fce4c['get'](_0x35c787['SheetsPivotDataSourceModel']),_0x452899=_0x1e7fa7[_0x1af14e(0x358)](_0xefc6d1);_0x452899[_0x1af14e(0x3d9)](_0x3b0890)[_0x1af14e(0x2b9)](_0x3d5b92);let _0x41d10a=!0x0;for(const _0x3e9fa0 in _0x452899[_0x1af14e(0x27c)])if(_0x452899[_0x1af14e(0x27c)][_0x3e9fa0][_0x1af14e(0x2ca)]()['includes'](_0x3d5b92)){_0x41d10a=!0x1;break;}_0x41d10a&&_0x452899[_0x1af14e(0x2e2)](_0x3d5b92);const _0xd199f5=_0x1e7fa7['getPivotTableConfig'](_0xefc6d1,_0x57c9b1,_0x3b0890);return _0x1e7fa7[_0x1af14e(0x3c1)]({'unitId':_0xefc6d1,'subUnitId':_0x57c9b1,'token':_0x3b0890,'type':_0x1bdb8f['Set'],'pivotConfig':_0xd199f5}),!0x0;}},_0xc0513b={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x3e0),async 'handler'(_0x3f99d2,_0x9450d6){const _0xa64059=_0x6f5ed9;if(!_0x9450d6)return!0x1;const _0x3585ee=_0x3f99d2[_0xa64059(0x446)](_0x6ffa6d[_0xa64059(0x3fa)]),_0x42e4f7=_0x3f99d2['get'](_0x35c787['SheetsPivotRPCService']),_0x44f6b0=_0x3f99d2[_0xa64059(0x446)](_0x6ffa6d[_0xa64059(0x186)]),{pivotTableId:_0xaf10d8,dataFieldId:_0x565927,fieldArea:_0x2ead7c,index:_0x13fdec,unitId:_0x140b42,subUnitId:_0x35e58c}=_0x9450d6,_0x1be70b=(await _0x42e4f7['getPivotDisplayConfig']({'unitId':_0x140b42,'subUnitId':_0x35e58c,'pivotTableId':_0xaf10d8,'params':{'type':_0x1222bc['AddPivotField'],'addPivotField':{'dataFieldId':_0x565927,'fieldArea':_0x2ead7c,'index':_0x13fdec}}}))['result'][_0xa64059(0x232)];if(!_0x1be70b)return!0x1;const {view:_0x4edc7d,changesets:_0x57a5c6,isEmpty:_0x30514e,pivotTableConfig:_0x52b703,shouldBeAddedGroupJSON:_0x553f36}=_0x1be70b,_0x408287=_0x52b703['targetCellInfo'],_0x5a5a74=new _0x426cf2[(_0xa64059(0x2c4))]();_0x5a5a74[_0xa64059(0x357)](_0x4edc7d);const _0xc00c77={'cellInfo':_0x408287,'view':_0x5a5a74,'isEmpty':_0x30514e};if(!await _0x3f99d2[_0xa64059(0x446)](_0x35c787[_0xa64059(0x207)])[_0xa64059(0x233)][_0xa64059(0x493)](_0x1f0071)(!0x0,_0xc00c77))return!0x1;const _0x427ea4=_0x2a9e07(_0x3f99d2,_0x5a5a74,_0x408287,_0x30514e),_0x3146ba=_0x2aaec3(_0x3f99d2,_0xc00c77),{undos:_0x13889a,redos:_0xd2ddfd}=_0x1f747e(_0x3585ee,{'pivotTableId':_0xaf10d8,'unitId':_0x140b42,'subUnitId':_0x35e58c},_0x57a5c6);return _0x553f36&&(_0xd2ddfd['unshift']({'id':_0xa1b196['id'],'params':{'pivotTableId':_0xaf10d8,'fieldJSON':_0x553f36,'unitId':_0x140b42,'subUnitId':_0x35e58c}}),_0x13889a[_0xa64059(0x321)]({'id':_0x11cfc9['id'],'params':{'pivotTableId':_0xaf10d8,'dataFieldId':_0x553f36['id'],'unitId':_0x140b42,'subUnitId':_0x35e58c}})),_0x6ffa6d[_0xa64059(0x451)]([..._0x427ea4['redos'],..._0x3146ba[_0xa64059(0x32f)],..._0xd2ddfd],_0x3585ee),_0x44f6b0[_0xa64059(0x470)]({'unitID':_0x140b42,'redoMutations':[..._0x427ea4[_0xa64059(0x32f)],..._0x3146ba['redos'],..._0xd2ddfd],'undoMutations':[..._0x427ea4['undos'],..._0x3146ba[_0xa64059(0x2dd)],..._0x13889a]}),!0x0;}},_0x7aab6f={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x258)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x266c2f,_0x4455df){const _0x301999=_0x6f5ed9;if(!_0x4455df)return!0x1;const {sourceDataInfo:_0x27940b,pivotTableConfig:_0x1bd075}=_0x4455df;if(!_0x27940b||!_0x1bd075)return!0x1;const {unitId:_0x437e12,subUnitId:_0x1451de,range:_0x475b2e}=_0x27940b,_0x27fe18=_0x266c2f[_0x301999(0x446)](_0x6ffa6d[_0x301999(0x491)]),_0x5c97b8=_0x266c2f[_0x301999(0x446)](_0x35c787[_0x301999(0x214)]),_0x2db862=_0x266c2f[_0x301999(0x446)](_0x6ffa6d[_0x301999(0x2aa)]),_0x215784=_0x266c2f[_0x301999(0x446)](_0x6ffa6d[_0x301999(0x3fa)]),_0x5b62ae=_0x27fe18[_0x301999(0x46d)](_0x437e12);if(!_0x5b62ae)return!0x1;const _0x231d1a=_0x5b62ae[_0x301999(0x410)](_0x1451de);if(!_0x231d1a)return!0x1;const _0x53be05=_0x426cf2['generateHexNumber'](0x8),_0x9163ab=_0x475b2e||{'startRow':0x0,'startColumn':0x0,'endRow':_0x231d1a[_0x301999(0x471)]()-0x1,'endColumn':_0x231d1a[_0x301999(0x36c)]()-0x1};_0x9163ab['rangeType']=_0x6ffa6d[_0x301999(0x434)][_0x301999(0x3f7)];const _0x1673eb=(await _0x5c97b8[_0x301999(0x39b)]({'unitId':_0x437e12,'subUnitId':_0x1451de,'pivotTableId':_0x53be05,'params':{'type':_0x1222bc[_0x301999(0x34d)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x437e12,'sheetName':_0x231d1a[_0x301999(0x459)](),'subUnitId':_0x1451de,'range':_0x9163ab},'pivotTableId':_0x53be05,'pivotTableIndexConfig':_0x1bd075}}}))[_0x301999(0x251)][_0x301999(0x2dc)];if(!_0x1673eb)return!0x1;const {isEmpty:_0x27c754,fieldsConfig:_0x41d93c,collectionConfig:_0x236843,changesets:_0x542671}=_0x1673eb,_0x5098f4=_0x5b62ae[_0x301999(0x439)]()[_0x301999(0x293)],_0x558521=_0x6ffa6d[_0x301999(0x302)]({'rowCount':_0x231d1a[_0x301999(0x471)]()-0x1,'columnCount':_0x231d1a['getColumnCount']()-0x1});_0x558521['id']=_0x6ffa6d[_0x301999(0x18e)](),_0x558521[_0x301999(0x3c6)]=_0x5b62ae['generateNewSheetName'](''+_0x2db862['t'](_0x301999(0x201)));const _0x3b5a77={'index':_0x5098f4,'sheet':_0x558521,'unitId':_0x437e12},{redos:_0x487f01}=_0x1f747e(_0x215784,{'pivotTableId':_0x53be05,'unitId':_0x437e12,'subUnitId':_0x558521['id']},_0x542671),_0x48140a=[{'id':_0x2361cb['InsertSheetCommand']['id'],'params':_0x3b5a77},{'id':_0x524173['id'],'params':{'unitId':_0x437e12,'subUnitId':_0x558521['id'],'pivotTableId':_0x53be05,'pivotTableConfig':{'isEmpty':_0x27c754,'fieldsConfig':_0x41d93c,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x437e12,'subUnitId':_0x558521['id']},'sourceRangeInfo':{'subUnitId':_0x1451de,'unitId':_0x437e12,'range':_0x9163ab,'sheetName':_0x231d1a[_0x301999(0x459)]()}},'collectionConfig':_0x236843}},..._0x487f01];return _0x6ffa6d[_0x301999(0x451)](_0x48140a,_0x215784),!0x0;}},_0x59d57c={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x368),async 'handler'(_0x9650b3,_0x41b56e){const _0x25510f=_0x6f5ed9;var _0x351d90,_0xff7b64;const _0x446467=_0x9650b3[_0x25510f(0x446)](_0x6ffa6d[_0x25510f(0x3fa)]),_0x2d4fb8=_0x9650b3[_0x25510f(0x446)](_0x6ffa6d[_0x25510f(0x491)]),_0x6bb4d6=_0x9650b3[_0x25510f(0x446)](_0x6ffa6d[_0x25510f(0x2aa)]),_0x240918=_0x9650b3[_0x25510f(0x446)](_0x35c787['SheetsPivotRPCService']),_0xb672b=_0x9650b3[_0x25510f(0x446)](_0x6ffa6d[_0x25510f(0x186)]),_0x16f1b7=_0x9650b3[_0x25510f(0x446)](_0x35c787[_0x25510f(0x266)]),_0x1bd137=_0x9650b3[_0x25510f(0x446)](_0x6ffa6d[_0x25510f(0x431)]);if(!_0x41b56e)return!0x1;const {pivotTableConfig:_0xbf4c67,positionType:_0x498891}=_0x41b56e,{targetCellInfo:_0x3fe6d5,sourceRangeInfo:_0x535ba9}=_0xbf4c67,{unitId:_0x73eb06,subUnitId:_0x128a6f}=_0x3fe6d5,_0x1f5e59=_0x2d4fb8[_0x25510f(0x46d)](_0x73eb06);if(!_0x1f5e59)return!0x1;let _0x2f7cef=0x0;_0x1f5e59[_0x25510f(0x439)]()[_0x25510f(0x3a7)](_0x2cdd60=>{const _0x48fb25=_0x25510f;var _0xc18b9e,_0x15b59a;_0x2f7cef+=(_0x15b59a=(_0xc18b9e=_0x16f1b7[_0x48fb25(0x1a0)](_0x73eb06,_0x2cdd60[_0x48fb25(0x1ac)]()))==null?void 0x0:_0xc18b9e[_0x48fb25(0x317)])!=null?_0x15b59a:0x0;});const _0x3bef9b=(_0x351d90=_0x1bd137[_0x25510f(0x2a3)](_0x225f82[_0x25510f(0x355)]))!=null?_0x351d90:{},{ls:_0x2a260b,pbk:_0x836731}=_0x3bef9b;if(!_0x1caba2(_0x2a260b,_0x836731))return!0x1;const _0x598821=_0x1cbe56(_0x7f0533,_0x2a260b,_0x836731)[_0x25510f(0x2ba)];if(_0x2f7cef>=_0x598821)return!0x1;const _0x32868b=_0x41b56e[_0x25510f(0x391)]||_0x426cf2[_0x25510f(0x474)](0x8),_0x313dca=(await _0x240918[_0x25510f(0x39b)]({'unitId':_0x73eb06,'subUnitId':_0x128a6f,'pivotTableId':_0x32868b,'params':{'type':_0x1222bc[_0x25510f(0x494)],'addPivotTable':{'sourceRangeInfo':_0x535ba9,'pivotTableId':_0x32868b}}}))[_0x25510f(0x251)]['addPivotTable'];if(!_0x313dca)return!0x1;const {view:_0x117a50,isEmpty:_0x15b082,fieldsConfig:_0x1de8d1,collectionConfig:_0x7533e}=_0x313dca,_0x21635f=[],_0x4eb496=[];if(_0x498891===_0x202116['New']){const _0x45ef3e=_0x1f5e59['getSheets']()['length'],_0x361189=_0x6ffa6d[_0x25510f(0x302)]({});_0x361189['id']=_0xbf4c67[_0x25510f(0x1fb)]['subUnitId'],_0x361189[_0x25510f(0x3c6)]=(_0xff7b64=_0xbf4c67[_0x25510f(0x1fb)][_0x25510f(0x3c4)])!=null?_0xff7b64:_0x1f5e59[_0x25510f(0x30d)](''+_0x6bb4d6['t'](_0x25510f(0x201)));const _0x19e356={'index':_0x45ef3e,'sheet':_0x361189,'unitId':_0x73eb06},_0x274a44=_0x2361cb[_0x25510f(0x254)](_0x9650b3,_0x19e356);_0x21635f[_0x25510f(0x321)]({'id':_0x2361cb[_0x25510f(0x3b5)]['id'],'params':_0x274a44}),_0x4eb496[_0x25510f(0x321)]({'id':_0x2361cb[_0x25510f(0x20a)]['id'],'params':_0x19e356});}else{if(!_0x1f5e59['getSheetBySheetId'](_0x128a6f))return!0x1;const _0x17dbe4=_0x2a9e07(_0x9650b3,new _0x426cf2[(_0x25510f(0x2c4))](),_0x3fe6d5,!0x0);_0x4eb496[_0x25510f(0x321)](..._0x17dbe4[_0x25510f(0x32f)]),_0x21635f[_0x25510f(0x321)](..._0x17dbe4[_0x25510f(0x2dd)]);const _0x126550={'cellInfo':_0x3fe6d5,'view':_0x117a50,'isEmpty':_0x15b082};if(!await _0x9650b3[_0x25510f(0x446)](_0x35c787['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x1f0071)(!0x0,_0x126550))return!0x1;const _0x144ad6=_0x2aaec3(_0x9650b3,_0x126550);_0x4eb496[_0x25510f(0x321)](..._0x144ad6[_0x25510f(0x32f)]),_0x21635f[_0x25510f(0x321)](..._0x144ad6[_0x25510f(0x2dd)]);}return _0x4eb496[_0x25510f(0x321)]({'id':_0x524173['id'],'params':{'unitId':_0x3fe6d5[_0x25510f(0x322)],'subUnitId':_0x3fe6d5['subUnitId'],'pivotTableId':_0x32868b,'pivotTableConfig':{'targetCellInfo':_0x3fe6d5,'sourceRangeInfo':_0x535ba9,'fieldsConfig':_0x1de8d1},'collectionConfig':_0x7533e}}),_0x21635f['unshift']({'id':_0x1d9fe9['id'],'params':{'unitId':_0x73eb06,'subUnitId':_0x128a6f,'pivotTableId':_0x32868b}}),_0x6ffa6d[_0x25510f(0x451)](_0x4eb496,_0x446467)&&_0xb672b[_0x25510f(0x470)]({'unitID':_0x73eb06,'undoMutations':_0x21635f,'redoMutations':_0x4eb496}),!0x0;}},_0x56cd53={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x2ac411,_0x1e104f){const _0x345c5e=_0x6f5ed9;if(!_0x1e104f)return!0x1;const _0x42af27=_0x2ac411[_0x345c5e(0x446)](_0x6ffa6d[_0x345c5e(0x3fa)]),_0x108143=_0x2ac411[_0x345c5e(0x446)](_0x35c787['SheetsPivotRPCService']),_0xfbbd09=_0x2ac411[_0x345c5e(0x446)](_0x6ffa6d['IUndoRedoService']),{pivotTableId:_0x27072e,fieldId:_0x425fb6,area:_0x3b3506,index:_0x42607d,unitId:_0xbad114,subUnitId:_0x5acd2d}=_0x1e104f,_0x4d08ec=(await _0x108143[_0x345c5e(0x39b)]({'unitId':_0xbad114,'subUnitId':_0x5acd2d,'pivotTableId':_0x27072e,'params':{'type':_0x1222bc['MovePivotField'],'movePivotField':{'fieldId':_0x425fb6,'area':_0x3b3506,'index':_0x42607d}}}))[_0x345c5e(0x251)]['movePivotField'];if(!_0x4d08ec)return!0x1;const {changesets:_0x4792f1,view:_0x4d9f81,isEmpty:_0x99c3ce,pivotTableConfig:_0x52fb19}=_0x4d08ec,_0x50782b=_0x52fb19['targetCellInfo'],_0x5c207e=new _0x426cf2[(_0x345c5e(0x2c4))]();_0x5c207e[_0x345c5e(0x357)](_0x4d9f81);const _0x1c9e31={'cellInfo':_0x50782b,'view':_0x5c207e,'isEmpty':_0x99c3ce};if(!await _0x2ac411[_0x345c5e(0x446)](_0x35c787['SheetsPivotTableService'])[_0x345c5e(0x233)][_0x345c5e(0x493)](_0x1f0071)(!0x0,_0x1c9e31))return!0x1;const _0x4221a9=_0x2a9e07(_0x2ac411,_0x5c207e,_0x50782b,_0x99c3ce),_0x457d8f=_0x2aaec3(_0x2ac411,_0x1c9e31),{redos:_0x47a270,undos:_0x30514c}=_0x1f747e(_0x42af27,{'pivotTableId':_0x27072e,'unitId':_0xbad114,'subUnitId':_0x5acd2d},_0x4792f1);return _0x6ffa6d[_0x345c5e(0x451)]([..._0x4221a9['redos'],..._0x457d8f[_0x345c5e(0x32f)],..._0x47a270],_0x42af27),_0xfbbd09[_0x345c5e(0x470)]({'unitID':_0xbad114,'redoMutations':[..._0x4221a9[_0x345c5e(0x32f)],..._0x457d8f['redos'],..._0x47a270],'undoMutations':[..._0x4221a9[_0x345c5e(0x2dd)],..._0x457d8f[_0x345c5e(0x2dd)],..._0x30514c]}),!0x0;}},_0x5638db={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x19a),async 'handler'(_0x949a72,_0x252119){const _0x1a5690=_0x6f5ed9;var _0x394e95;if(!_0x252119)return!0x1;const _0xfeaaac=_0x949a72['get'](_0x6ffa6d[_0x1a5690(0x491)]),_0x862730=_0x2361cb[_0x1a5690(0x489)](_0xfeaaac);if(!_0x862730)return!0x1;const {unitId:_0x47bdee,subUnitId:_0x2a3931,workbook:_0x381566}=_0x862730,{row:_0xff221d,col:_0x198d9f}=_0x252119,_0x5cf094=_0x949a72['get'](_0x35c787[_0x1a5690(0x2e3)]),_0x3d25a9=_0x5cf094['getPivotTableIdByCell'](_0x47bdee,_0x2a3931,_0xff221d,_0x198d9f);if(!_0x3d25a9)return!0x1;const _0x79a172=(_0x394e95=_0x5cf094[_0x1a5690(0x42e)](_0x47bdee,_0x2a3931,_0x3d25a9))==null?void 0x0:_0x394e95[_0x1a5690(0x2e4)];if(!_0x79a172)return!0x1;const _0x2a0a70=_0x949a72[_0x1a5690(0x446)](_0x35c787[_0x1a5690(0x266)])['getPivotTableConfig'](_0x47bdee,_0x2a3931,_0x3d25a9);if(!_0x2a0a70)return!0x1;const {rowInfo:_0x26c07b,colInfo:_0x415a40}=_0x79a172,_0xf2a9d4=_0x26c07b[_0xff221d][_0x1a5690(0x383)],_0x1409c3=_0x415a40[_0x198d9f][_0x1a5690(0x383)],_0x48bf5c=_0x26c07b[_0xff221d][_0x1a5690(0x244)],_0x42f08c=_0x415a40[_0x198d9f][_0x1a5690(0x244)],_0x35983f=_0xf2a9d4[_0x1a5690(0x36a)](_0x1409c3),_0x8d8c2b=_0x2a0a70[_0x1a5690(0x427)][_0x1a5690(0x1c4)][_0x1a5690(0x2f1)](0x0,_0x48bf5c),_0x465119=_0x2a0a70[_0x1a5690(0x427)]['columnFields'][_0x1a5690(0x2f1)](0x0,_0x42f08c),_0x40b378=_0x8d8c2b[_0x1a5690(0x36a)](_0x465119),_0xb81f70=_0x35983f['map']((_0x17fb09,_0x2c7c1a)=>[_0x17fb09,_0x40b378[_0x2c7c1a]]),_0x1dd473=(await _0x949a72['get'](_0x35c787[_0x1a5690(0x214)])[_0x1a5690(0x39b)]({'unitId':_0x47bdee,'subUnitId':_0x2a3931,'pivotTableId':_0x3d25a9,'params':{'type':_0x1222bc[_0x1a5690(0x3f5)],'drillDown':{'tuple':_0xb81f70}}}))[_0x1a5690(0x251)][_0x1a5690(0x299)];if(!_0x1dd473)return!0x1;const {indexes:_0x3f5786,range:_0x1264d1,sourceUnitId:_0xe5f2bc,sourceSubUnitId:_0x50cabd,formatMap:_0x258d69}=_0x1dd473,{startRow:_0x1c4037,endRow:_0x42fe35,startColumn:_0x252d55,endColumn:_0x490062}=_0x1264d1,_0x6b71df=new _0x6ffa6d['ObjectMatrix'](),_0x5aa27a=_0x42fe35-_0x1c4037,_0x335e22=_0x490062-_0x252d55,_0x28d2c8={},_0x3540ee=_0x2361cb[_0x1a5690(0x489)](_0xfeaaac,{'unitId':_0xe5f2bc,'subUnitId':_0x50cabd});if(!_0x3540ee)return!0x1;const _0x218186=_0x2f0b61[_0x1a5690(0x3b2)],_0x259f1c=_0x2f0b61[_0x1a5690(0x210)],_0x11140a=_0x2f0b61[_0x1a5690(0x210)],_0x3ec0b6=_0x381566[_0x1a5690(0x3aa)]()[_0x1a5690(0x41e)](_0x218186),_0x11f1f0=_0x381566[_0x1a5690(0x3aa)]()[_0x1a5690(0x41e)](_0x259f1c),_0x5bbf86=_0x381566['getStyles']()[_0x1a5690(0x41e)](_0x11140a),{worksheet:_0x3e9b80}=_0x3540ee;let _0x3ee0a9=0x0;const _0x437b41=0x1;_0x3f5786[_0x1a5690(0x3a7)](_0x241c8b=>{const _0x524bc0=_0x1a5690;for(let _0x478509=0x0;_0x478509<=_0x490062-_0x252d55;_0x478509++)_0x6b71df[_0x524bc0(0x41e)](_0x3ee0a9,_0x478509,_0x3e9b80['getCellRaw'](_0x241c8b+_0x1264d1['startRow']+_0x437b41,_0x478509));_0x3ee0a9++;});for(let _0x30d82e=_0x252d55;_0x30d82e<=_0x490062;_0x30d82e++){const _0x589b42=_0x3e9b80[_0x1a5690(0x1f1)](_0x1c4037,_0x30d82e);_0x28d2c8[_0x1c4037]||(_0x28d2c8[_0x1c4037]={}),_0x28d2c8[_0x1c4037][_0x30d82e]={..._0x589b42,'s':_0x3ec0b6};}let _0x553002=0x1;const _0x9911b2={},_0x33fc3b={};_0x6b71df[_0x1a5690(0x343)]((_0x11fc54,_0x55ce84)=>{const _0x3377be=_0x1a5690;_0x55ce84[_0x3377be(0x3a7)](_0x13078b=>{const _0x5ecc27=_0x3377be,_0x983e9a=_0x6b71df[_0x5ecc27(0x3d6)](_0x11fc54,_0x13078b);if(_0x28d2c8[_0x553002]||(_0x28d2c8[_0x553002]={}),_0x28d2c8[_0x553002][_0x13078b]={..._0x983e9a,'s':_0x553002%0x2===0x0?_0x5bbf86:_0x11f1f0},_0x258d69[_0x13078b]&&_0x11fc54>=0x0){const _0x27f8bc=_0x553002%0x2===0x0;let _0x2555a7=_0x27f8bc?_0x33fc3b[_0x13078b]:_0x9911b2[_0x13078b];_0x2555a7||(_0x2555a7=_0x381566[_0x5ecc27(0x3aa)]()[_0x5ecc27(0x41e)]({..._0x27f8bc?_0x11140a:_0x259f1c,'n':{'pattern':_0x258d69[_0x13078b]}}),_0x27f8bc?_0x33fc3b[_0x13078b]=_0x2555a7:_0x9911b2[_0x13078b]=_0x2555a7),_0x28d2c8[_0x553002][_0x13078b]['s']=_0x2555a7;}}),_0x553002++;});const _0x36a862=new _0x6ffa6d[(_0x1a5690(0x291))](_0x28d2c8),_0x2abc80={};_0x36a862[_0x1a5690(0x263)]((_0x36a28f,_0x5ba3d2,_0x41c986)=>{_0x2abc80[_0x36a28f]||(_0x2abc80[_0x36a28f]={}),_0x2abc80[_0x36a28f][_0x5ba3d2]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x4dd5f7=[],_0x116989=[],_0x9c513b=_0x381566['getSheets']()['length'],_0x2e8d7e=_0x6ffa6d[_0x1a5690(0x302)]({'rowCount':Math[_0x1a5690(0x387)](_0x6ffa6d[_0x1a5690(0x2f2)],_0x5aa27a+0xa),'columnCount':Math[_0x1a5690(0x387)](_0x6ffa6d[_0x1a5690(0x2bb)],_0x335e22+0x5)}),_0x1fba0d=_0x949a72['get'](_0x6ffa6d[_0x1a5690(0x2aa)]);_0x2e8d7e['id']=_0x6ffa6d['generateRandomId'](),_0x2e8d7e[_0x1a5690(0x3c6)]=_0x381566['generateNewSheetName'](''+_0x1fba0d['t'](_0x1a5690(0x201)));const _0x59cbe3={'index':_0x9c513b,'sheet':_0x2e8d7e,'unitId':_0x47bdee},_0x2bc056=_0x2361cb[_0x1a5690(0x254)](_0x949a72,_0x59cbe3);_0x116989[_0x1a5690(0x321)]({'id':_0x2361cb[_0x1a5690(0x20a)]['id'],'params':_0x59cbe3}),_0x4dd5f7[_0x1a5690(0x321)]({'id':_0x2361cb[_0x1a5690(0x3b5)]['id'],'params':_0x2bc056}),_0x116989['push']({'id':_0x2361cb[_0x1a5690(0x1ea)]['id'],'params':{'unitId':_0x47bdee,'subUnitId':_0x2e8d7e['id'],'cellValue':_0x28d2c8}}),_0x4dd5f7['unshift']({'id':_0x2361cb['SetRangeValuesMutation']['id'],'params':{'unitId':_0x47bdee,'subUnitId':_0x2e8d7e['id'],'cellValue':_0x2abc80}});const _0x2947ce={'startRow':0x0,'startColumn':0x0,'endRow':_0x553002-0x1,'endColumn':_0x490062};_0x116989[_0x1a5690(0x321)]({'id':_0x355c14[_0x1a5690(0x213)]['id'],'params':{'unitId':_0x47bdee,'subUnitId':_0x2e8d7e['id'],'range':_0x2947ce}}),_0x4dd5f7[_0x1a5690(0x25d)]({'id':_0x355c14[_0x1a5690(0x1bb)]['id'],'params':{'unitId':_0x47bdee,'subUnitId':_0x2e8d7e['id']}});const _0x54dbcb=_0x949a72['get'](_0x6ffa6d['ICommandService']);return _0x6ffa6d['sequenceExecute'](_0x116989,_0x54dbcb)&&_0x949a72[_0x1a5690(0x446)](_0x6ffa6d[_0x1a5690(0x186)])[_0x1a5690(0x470)]({'unitID':_0x47bdee,'undoMutations':_0x4dd5f7,'redoMutations':_0x116989}),!0x0;}},_0x3445dc={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x50aaec,_0x47263a){const _0x198a64=_0x6f5ed9;if(!_0x47263a)return!0x1;const _0x391e16=_0x50aaec['get'](_0x6ffa6d[_0x198a64(0x3fa)]),_0x4ec87b=_0x50aaec[_0x198a64(0x446)](_0x35c787[_0x198a64(0x214)]),_0x558dd9=_0x50aaec[_0x198a64(0x446)](_0x6ffa6d[_0x198a64(0x186)]),{pivotTableId:_0x160cc9,fieldIds:_0x3b698c,unitId:_0x1369cb,subUnitId:_0x59b0da}=_0x47263a,_0x2ac12c=(await _0x4ec87b[_0x198a64(0x39b)]({'unitId':_0x1369cb,'subUnitId':_0x59b0da,'pivotTableId':_0x160cc9,'params':{'type':_0x1222bc[_0x198a64(0x196)],'removePivotField':{'fieldIds':_0x3b698c}}}))[_0x198a64(0x251)][_0x198a64(0x26b)];if(!_0x2ac12c)return!0x1;const {view:_0x5f176a,changesets:_0x262b30,isEmpty:_0x36a1fe,pivotTableConfig:_0x32b4cf}=_0x2ac12c,_0x34c6ab=_0x32b4cf[_0x198a64(0x1fb)],_0x2ad6be=new _0x426cf2['PivotView']();_0x2ad6be[_0x198a64(0x357)](_0x5f176a);const _0x397ae2={'cellInfo':_0x34c6ab,'view':_0x2ad6be,'isEmpty':_0x36a1fe};if(!await _0x50aaec[_0x198a64(0x446)](_0x35c787['SheetsPivotTableService'])[_0x198a64(0x233)][_0x198a64(0x493)](_0x1f0071)(!0x0,_0x397ae2))return!0x1;const _0x5e340a=_0x2a9e07(_0x50aaec,_0x2ad6be,_0x34c6ab,_0x36a1fe),_0x1fe032=_0x2aaec3(_0x50aaec,_0x397ae2),{redos:_0x230b0e,undos:_0x31f3a1}=_0x1f747e(_0x391e16,{'pivotTableId':_0x160cc9,'unitId':_0x1369cb,'subUnitId':_0x59b0da},_0x262b30);return _0x6ffa6d[_0x198a64(0x451)]([..._0x5e340a[_0x198a64(0x32f)],..._0x1fe032[_0x198a64(0x32f)],..._0x230b0e],_0x391e16),_0x558dd9['pushUndoRedo']({'unitID':_0x1369cb,'redoMutations':[..._0x5e340a[_0x198a64(0x32f)],..._0x1fe032[_0x198a64(0x32f)],..._0x230b0e],'undoMutations':[..._0x5e340a[_0x198a64(0x2dd)],..._0x1fe032[_0x198a64(0x2dd)],..._0x31f3a1]}),!0x0;}},_0x137eeb={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['COMMAND'],'id':_0x6f5ed9(0x3a9),async 'handler'(_0x243b1b,_0x59f110){const _0x3f093f=_0x6f5ed9;var _0x20d91c;const _0x1d18f6=_0x243b1b[_0x3f093f(0x446)](_0x6ffa6d[_0x3f093f(0x3fa)]),_0x22d56b=_0x243b1b['get'](_0x35c787[_0x3f093f(0x214)]),_0x126fcd=_0x243b1b[_0x3f093f(0x446)](_0x35c787['SheetsPivotTableAdaptorModel']),_0x5cc36c=_0x243b1b['get'](_0x6ffa6d[_0x3f093f(0x491)]),_0x4b6528=_0x243b1b[_0x3f093f(0x446)](_0x6ffa6d[_0x3f093f(0x186)]);if(!_0x59f110)return!0x1;const {unitId:_0x4a24a4,subUnitId:_0x54e04e,row:_0x249d10,col:_0x25e445,collapse:_0x1b20d1}=_0x59f110,_0x5e0308=_0x5cc36c[_0x3f093f(0x46d)](_0x4a24a4);if(!_0x5e0308||!_0x5e0308[_0x3f093f(0x410)](_0x54e04e))return!0x1;const _0x2733ec=_0x126fcd[_0x3f093f(0x2be)](_0x4a24a4,_0x54e04e,_0x249d10,_0x25e445);if(!_0x2733ec)return!0x1;const _0x5b26b9=_0x126fcd['getPivotItemRenderInfoCache'](_0x4a24a4,_0x54e04e,_0x2733ec);if(!_0x5b26b9)return!0x1;const _0x35c1b5=_0x6ffa6d[_0x3f093f(0x38c)](_0x249d10,_0x25e445),{rangesInfo:_0x1732f1,areaInfo:_0xfeebde,headerMap:_0x15aa99}=_0x5b26b9;if(!_0x1732f1||!_0xfeebde||!_0x15aa99)return!0x1;const _0x4ceaef=Object[_0x3f093f(0x1b3)](_0x1732f1)[_0x3f093f(0x29c)](_0x56b44c=>_0x1732f1[_0x56b44c][_0x3f093f(0x282)](_0x56c50b=>_0x6ffa6d['Rectangle'][_0x3f093f(0x20e)](_0x56c50b,_0x35c1b5)));let _0x4c77c4;_0x4ceaef===_0x3f093f(0x1a5)?_0x4c77c4=_0x15aa99['rowHeaderMap'][_0x25e445]:_0x4ceaef===_0x3f093f(0x1d7)&&(_0x4c77c4=_0x15aa99[_0x3f093f(0x300)][_0x249d10]);const _0x5618d9=_0x4c77c4==null?void 0x0:_0x4c77c4[_0x3f093f(0x1ad)],_0x54bcc7=(_0x20d91c=_0x126fcd['getPivotTableCellData'](_0x4a24a4,_0x54e04e,_0x249d10,_0x25e445))==null?void 0x0:_0x20d91c['v'];if(_0x54bcc7==null||!_0x2733ec||!_0x5618d9)return!0x1;const _0x3f95e1=await _0x22d56b[_0x3f093f(0x39b)]({'unitId':_0x4a24a4,'subUnitId':_0x54e04e,'pivotTableId':_0x2733ec,'params':{'type':_0x1222bc[_0x3f093f(0x2ed)],'setPivotCollapse':{'tableFieldId':_0x5618d9,'collapse':_0x1b20d1,'item':_0x54bcc7}}}),_0x2016b8=_0x3f95e1==null?void 0x0:_0x3f95e1[_0x3f093f(0x251)][_0x3f093f(0x26f)];if(!_0x2016b8)return!0x1;const {view:_0x34b5ca,pivotTableConfig:_0x233f41,isEmpty:_0x26682a,changesets:_0x49317a}=_0x2016b8,_0xc8bfe8=new _0x426cf2[(_0x3f093f(0x2c4))]();_0xc8bfe8[_0x3f093f(0x357)](_0x34b5ca);const _0x5e455d=_0x233f41[_0x3f093f(0x1fb)],_0x5a437f={'cellInfo':_0x5e455d,'view':_0xc8bfe8,'isEmpty':_0x26682a};if(!await _0x243b1b[_0x3f093f(0x446)](_0x35c787[_0x3f093f(0x207)])[_0x3f093f(0x233)][_0x3f093f(0x493)](_0x1f0071)(!0x0,_0x5a437f))return!0x1;const _0x380f40=_0x2a9e07(_0x243b1b,_0xc8bfe8,_0x5e455d,_0x26682a),_0x3827f1=_0x2aaec3(_0x243b1b,_0x5a437f),{redos:_0x5aa6ca,undos:_0x4d1d29}=_0x1f747e(_0x1d18f6,{'pivotTableId':_0x2733ec,'unitId':_0x4a24a4,'subUnitId':_0x54e04e},_0x49317a);return _0x6ffa6d[_0x3f093f(0x451)]([..._0x380f40[_0x3f093f(0x32f)],..._0x3827f1[_0x3f093f(0x32f)],..._0x5aa6ca],_0x1d18f6),_0x4b6528[_0x3f093f(0x470)]({'unitID':_0x4a24a4,'redoMutations':[..._0x380f40[_0x3f093f(0x32f)],..._0x3827f1[_0x3f093f(0x32f)],..._0x5aa6ca],'undoMutations':[..._0x380f40[_0x3f093f(0x2dd)],..._0x3827f1[_0x3f093f(0x2dd)],..._0x4d1d29]}),!0x0;}},_0x2a0eec={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x375),async 'handler'(_0x205bc9,_0x3f5f0f){const _0x342cc2=_0x6f5ed9;if(!_0x3f5f0f)return!0x1;const _0x5a3003=_0x205bc9[_0x342cc2(0x446)](_0x6ffa6d[_0x342cc2(0x3fa)]),{pivotTableId:_0xf7b923,tableFieldId:_0x489e86,items:_0x373d1e,unitId:_0x33d39d,subUnitId:_0xe51926,isAll:_0x37d833}=_0x3f5f0f,_0x542680=_0x205bc9[_0x342cc2(0x446)](_0x35c787[_0x342cc2(0x214)]),_0x2fa32b=_0x205bc9[_0x342cc2(0x446)](_0x6ffa6d[_0x342cc2(0x186)]),_0x2e1ce6=(await _0x542680['getPivotDisplayConfig']({'unitId':_0x33d39d,'subUnitId':_0xe51926,'pivotTableId':_0xf7b923,'params':{'type':_0x1222bc[_0x342cc2(0x2d7)],'setPivotFilter':{'tableFieldId':_0x489e86,'items':_0x373d1e,'isAll':_0x37d833}}}))[_0x342cc2(0x251)]['setPivotFilter'];if(!_0x2e1ce6)return!0x1;const {changesets:_0x2ba419,pivotTableConfig:_0x21d977,isEmpty:_0x435a02,view:_0x4206e2}=_0x2e1ce6,_0x1dd068=_0x21d977[_0x342cc2(0x1fb)],_0x1a030e=new _0x426cf2[(_0x342cc2(0x2c4))]();_0x1a030e['formJSON'](_0x4206e2);const _0x105856={'cellInfo':_0x1dd068,'view':_0x1a030e,'isEmpty':_0x435a02};if(!await _0x205bc9['get'](_0x35c787['SheetsPivotTableService'])[_0x342cc2(0x233)]['fetchThroughAsyncInterceptors'](_0x1f0071)(!0x0,_0x105856))return!0x1;const _0x10143e=_0x2a9e07(_0x205bc9,_0x1a030e,_0x1dd068,_0x435a02),_0x277f77=_0x2aaec3(_0x205bc9,_0x105856),{undos:_0x927733,redos:_0x33b3fd}=_0x1f747e(_0x5a3003,{'pivotTableId':_0xf7b923,'unitId':_0x33d39d,'subUnitId':_0xe51926},_0x2ba419);return _0x6ffa6d[_0x342cc2(0x451)]([..._0x10143e[_0x342cc2(0x32f)],..._0x277f77[_0x342cc2(0x32f)],..._0x33b3fd],_0x5a3003),_0x2fa32b[_0x342cc2(0x470)]({'unitID':_0x33d39d,'redoMutations':[..._0x10143e[_0x342cc2(0x32f)],..._0x277f77[_0x342cc2(0x32f)],..._0x33b3fd],'undoMutations':[..._0x10143e[_0x342cc2(0x2dd)],..._0x277f77[_0x342cc2(0x2dd)],..._0x927733]}),!0x0;}},_0x553f42={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x35b),async 'handler'(_0x465192,_0x132ac5){const _0x3ce46f=_0x6f5ed9;if(!_0x132ac5)return!0x1;const _0x13c6f7=_0x465192[_0x3ce46f(0x446)](_0x6ffa6d[_0x3ce46f(0x3fa)]),_0x4a31ef=_0x465192[_0x3ce46f(0x446)](_0x6ffa6d[_0x3ce46f(0x186)]),_0x195191=_0x465192[_0x3ce46f(0x446)](_0x35c787[_0x3ce46f(0x214)]),{info:_0x3dcd78,tableFieldId:_0x2999c3,pivotTableId:_0x4fd2d1,unitId:_0x30d805,subUnitId:_0x2c3bf5}=_0x132ac5,_0x1c3f30=(await _0x195191[_0x3ce46f(0x39b)]({'unitId':_0x30d805,'subUnitId':_0x2c3bf5,'pivotTableId':_0x4fd2d1,'params':{'type':_0x1222bc[_0x3ce46f(0x177)],'setPivotSort':{'tableFieldId':_0x2999c3,'info':_0x3dcd78}}}))[_0x3ce46f(0x251)]['setPivotSort'];if(!_0x1c3f30)return!0x1;const {changesets:_0x1e1f82}=_0x1c3f30,{redos:_0x3aafb1,undos:_0x34e03e}=_0x1f747e(_0x13c6f7,{'pivotTableId':_0x4fd2d1,'unitId':_0x30d805,'subUnitId':_0x2c3bf5},_0x1e1f82);return _0x6ffa6d[_0x3ce46f(0x451)](_0x3aafb1,_0x13c6f7),_0x4a31ef[_0x3ce46f(0x470)]({'unitID':_0x30d805,'redoMutations':_0x3aafb1,'undoMutations':_0x34e03e}),!0x0;}},_0x259856={'type':_0x6ffa6d['CommandType'][_0x6f5ed9(0x258)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x5251c3,_0x3dedd1){const _0x47f16d=_0x6f5ed9;if(!_0x3dedd1)return!0x1;const _0x3a4e78=_0x5251c3[_0x47f16d(0x446)](_0x6ffa6d[_0x47f16d(0x3fa)]),_0x12f5f5=_0x5251c3[_0x47f16d(0x446)](_0x6ffa6d[_0x47f16d(0x186)]),_0x1725bf=_0x5251c3[_0x47f16d(0x446)](_0x35c787[_0x47f16d(0x214)]),{displayName:_0x30cef3,subtotalType:_0xe0919b,format:_0x33afe3,tableFieldId:_0x18a5f9,pivotTableId:_0x9217d4,unitId:_0x21cd7f,subUnitId:_0x3636d9}=_0x3dedd1,_0x7878cd=(await _0x1725bf[_0x47f16d(0x39b)]({'unitId':_0x21cd7f,'subUnitId':_0x3636d9,'pivotTableId':_0x9217d4,'params':{'type':_0x1222bc[_0x47f16d(0x2b6)],'setPivotSetting':{'tableFieldId':_0x18a5f9,'displayName':_0x30cef3,'subtotalType':_0xe0919b,'format':_0x33afe3}}}))[_0x47f16d(0x251)][_0x47f16d(0x2a9)];if(!_0x7878cd)return!0x1;const {changesets:_0xe28026,view:_0x4507b0,pivotTableConfig:_0x37764b,isEmpty:_0x10aebc}=_0x7878cd,_0x412cc0=_0x37764b['targetCellInfo'],_0x32d90c=new _0x426cf2[(_0x47f16d(0x2c4))]();_0x32d90c[_0x47f16d(0x357)](_0x4507b0);const _0x20f9a9={'cellInfo':_0x412cc0,'view':_0x32d90c,'isEmpty':_0x10aebc};if(!await _0x5251c3[_0x47f16d(0x446)](_0x35c787[_0x47f16d(0x207)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x1f0071)(!0x0,_0x20f9a9))return!0x1;const _0x1508a2=_0x2a9e07(_0x5251c3,_0x32d90c,_0x412cc0,_0x10aebc),_0x2ead8b=_0x2aaec3(_0x5251c3,_0x20f9a9),{undos:_0x3ebafe,redos:_0x1a448e}=_0x1f747e(_0x3a4e78,{'pivotTableId':_0x9217d4,'unitId':_0x21cd7f,'subUnitId':_0x3636d9},_0xe28026);return _0x6ffa6d[_0x47f16d(0x451)]([..._0x1508a2[_0x47f16d(0x32f)],..._0x2ead8b[_0x47f16d(0x32f)],..._0x1a448e],_0x3a4e78),_0x12f5f5[_0x47f16d(0x470)]({'unitID':_0x21cd7f,'redoMutations':[..._0x1508a2[_0x47f16d(0x32f)],..._0x2ead8b[_0x47f16d(0x32f)],..._0x1a448e],'undoMutations':[..._0x1508a2['undos'],..._0x2ead8b['undos'],..._0x3ebafe]}),!0x0;}},_0x446e9a={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['COMMAND'],'id':_0x6f5ed9(0x47f),async 'handler'(_0x4a01d0,_0x3f7690){const _0x1e8c0b=_0x6f5ed9,_0x3fd721=_0x4a01d0[_0x1e8c0b(0x446)](_0x6ffa6d[_0x1e8c0b(0x3fa)]),_0xe544bc=_0x4a01d0[_0x1e8c0b(0x446)](_0x35c787[_0x1e8c0b(0x214)]),_0x1964a1=_0x4a01d0['get'](_0x6ffa6d['IUndoRedoService']);if(!_0x3f7690)return!0x1;const {token:_0xb91048,dataRangeInfo:_0x22c7fe,unitId:_0xb120ae,subUnitId:_0x4b5c7d}=_0x3f7690,_0x16333e=[],_0x346119=[],_0x247ca4=(await _0xe544bc[_0x1e8c0b(0x39b)]({'unitId':_0xb120ae,'subUnitId':_0x4b5c7d,'pivotTableId':_0xb91048,'params':{'type':_0x1222bc[_0x1e8c0b(0x449)],'updatePivotSource':{'dataRangeInfo':_0x22c7fe,'unitId':_0xb120ae,'subUnitId':_0x4b5c7d}}}))['result']['updatePivotSource'];if(!_0x247ca4)return!0x1;const {changesets:_0x585de1,deleteIds:_0x10f76b,collectionConfig:_0x13edf,oldCollectionConfig:_0x423073,view:_0x20f601,isEmpty:_0x5b6cdc,pivotTableConfig:_0x3889b7}=_0x247ca4;_0x346119[_0x1e8c0b(0x321)]({'id':_0x455e79['id'],'params':{'pivotTableId':_0xb91048,'deleteIds':_0x10f76b,'collectionJSON':_0x13edf,'dataRangeInfo':_0x22c7fe,'unitId':_0xb120ae,'subUnitId':_0x4b5c7d}}),_0x16333e[_0x1e8c0b(0x25d)]({'id':_0x455e79['id'],'params':{'pivotTableId':_0xb91048,'deleteIds':[],'collectionJSON':_0x423073,'dataRangeInfo':_0x3889b7['sourceRangeInfo'],'unitId':_0xb120ae,'subUnitId':_0x4b5c7d}});const _0x318e69=_0x3889b7[_0x1e8c0b(0x1fb)],_0x2b6e76=new _0x426cf2[(_0x1e8c0b(0x2c4))]();_0x2b6e76[_0x1e8c0b(0x357)](_0x20f601);const _0x562c4a={'cellInfo':_0x318e69,'view':_0x2b6e76,'isEmpty':_0x5b6cdc};if(!await _0x4a01d0['get'](_0x35c787[_0x1e8c0b(0x207)])[_0x1e8c0b(0x233)][_0x1e8c0b(0x493)](_0x1f0071)(!0x0,_0x562c4a))return!0x1;const _0x5016a8=_0x2a9e07(_0x4a01d0,_0x2b6e76,_0x318e69,_0x5b6cdc),_0x31e96e=_0x2aaec3(_0x4a01d0,_0x562c4a),{undos:_0x4e5500,redos:_0x1094c1}=_0x1f747e(_0x3fd721,{'pivotTableId':_0xb91048,'unitId':_0xb120ae,'subUnitId':_0x4b5c7d},_0x585de1);return _0x6ffa6d['sequenceExecute']([..._0x5016a8[_0x1e8c0b(0x32f)],..._0x31e96e[_0x1e8c0b(0x32f)],..._0x346119,..._0x4e5500],_0x3fd721),_0x1964a1[_0x1e8c0b(0x470)]({'unitID':_0xb120ae,'redoMutations':[..._0x5016a8[_0x1e8c0b(0x32f)],..._0x31e96e[_0x1e8c0b(0x32f)],..._0x346119,..._0x4e5500],'undoMutations':[..._0x5016a8[_0x1e8c0b(0x2dd)],..._0x31e96e[_0x1e8c0b(0x2dd)],..._0x16333e,..._0x1094c1]}),!0x0;}},_0x4b649e={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['COMMAND'],'id':_0x6f5ed9(0x42c),async 'handler'(_0x4f3a4a,_0x48f894){const _0x162519=_0x6f5ed9;if(!_0x48f894)return!0x1;const _0x7b6ef1=_0x4f3a4a[_0x162519(0x446)](_0x6ffa6d[_0x162519(0x3fa)]),_0x41ad27=_0x4f3a4a[_0x162519(0x446)](_0x35c787[_0x162519(0x214)]),_0x5b33a8=_0x4f3a4a[_0x162519(0x446)](_0x6ffa6d[_0x162519(0x491)]),_0x1ff652=_0x4f3a4a[_0x162519(0x446)](_0x6ffa6d['IUndoRedoService']),{pivotTableId:_0x3121e9,position:_0x526da0,index:_0xf47da2}=_0x48f894,_0x29d1df=_0x2361cb['getSheetCommandTarget'](_0x5b33a8);if(!_0x29d1df)return!0x1;const {unitId:_0x31bb67,subUnitId:_0x4d2696}=_0x29d1df,_0x2ed158=(await _0x41ad27['getPivotDisplayConfig']({'unitId':_0x31bb67,'subUnitId':_0x4d2696,'pivotTableId':_0x3121e9,'params':{'type':_0x1222bc[_0x162519(0x3cf)],'updateValuePosition':{'position':_0x526da0,'index':_0xf47da2}}}))[_0x162519(0x251)][_0x162519(0x20f)];if(!_0x2ed158)return!0x1;const {changesets:_0x1a719d,view:_0x1bfaf8,isEmpty:_0x362208,pivotTableConfig:_0x3a4a6f}=_0x2ed158,_0x292b77=_0x3a4a6f[_0x162519(0x1fb)],_0x3f5bdb=new _0x426cf2[(_0x162519(0x2c4))]();_0x3f5bdb['formJSON'](_0x1bfaf8);const _0xd7161a=_0x4f3a4a[_0x162519(0x446)](_0x35c787[_0x162519(0x207)]),_0x2f2dd9={'cellInfo':_0x292b77,'view':_0x3f5bdb,'isEmpty':_0x362208};if(!await _0xd7161a['asyncInterceptor'][_0x162519(0x493)](_0x1f0071)(!0x0,_0x2f2dd9))return!0x1;const _0x5a92bb=_0x2a9e07(_0x4f3a4a,_0x3f5bdb,_0x292b77,_0x362208),_0x2de32e=_0x2aaec3(_0x4f3a4a,_0x2f2dd9),{undos:_0x4c9e95,redos:_0x5619fa}=_0x1f747e(_0x7b6ef1,{'pivotTableId':_0x3121e9,'unitId':_0x31bb67,'subUnitId':_0x4d2696},_0x1a719d);return _0x6ffa6d['sequenceExecute']([..._0x5a92bb[_0x162519(0x32f)],..._0x2de32e['redos'],..._0x5619fa],_0x7b6ef1),_0x1ff652[_0x162519(0x470)]({'unitID':_0x31bb67,'redoMutations':[..._0x5a92bb['redos'],..._0x2de32e[_0x162519(0x32f)],..._0x5619fa],'undoMutations':[..._0x5a92bb[_0x162519(0x2dd)],..._0x2de32e[_0x162519(0x2dd)],..._0x4c9e95]}),!0x0;}},_0x5011ab={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x3ea),'handler':(_0x2c84c1,_0x3e52f7)=>{const _0x24fd22=_0x6f5ed9,_0xc859df=_0x2c84c1[_0x24fd22(0x446)](_0x6ffa6d[_0x24fd22(0x3fa)]),_0x39e1f2=_0x2c84c1[_0x24fd22(0x446)](_0x6ffa6d[_0x24fd22(0x186)]),_0xe41f96=_0x2c84c1['get'](_0x35c787[_0x24fd22(0x266)]),_0x1569ee=_0x2c84c1[_0x24fd22(0x446)](_0x6ffa6d[_0x24fd22(0x491)]);if(!_0x3e52f7)return!0x1;const _0x197219=_0x2361cb[_0x24fd22(0x489)](_0x1569ee);if(!_0x197219)return!0x1;const {unitId:_0x29e6fc,subUnitId:_0x332e7a,workbook:_0x4398cc}=_0x197219,_0x19f69d=_0xe41f96[_0x24fd22(0x34a)](_0x3e52f7[_0x24fd22(0x262)][_0x24fd22(0x322)],_0x3e52f7[_0x24fd22(0x262)][_0x24fd22(0x2d3)],_0x3e52f7[_0x24fd22(0x391)]);if(!_0x19f69d)return!0x1;const _0x218252=_0x4398cc[_0x24fd22(0x410)](_0x3e52f7[_0x24fd22(0x1fb)][_0x24fd22(0x2d3)]);if(!_0x218252)throw new Error(_0x24fd22(0x1a8));const _0x630f65=_0x218252[_0x24fd22(0x471)](),_0x873f1c=_0x218252[_0x24fd22(0x36c)]();if(_0x3e52f7[_0x24fd22(0x1fb)][_0x24fd22(0x316)]>_0x630f65||_0x3e52f7[_0x24fd22(0x1fb)][_0x24fd22(0x48d)]>_0x873f1c)throw new Error(_0x24fd22(0x198));const _0x56a20a=[{'id':_0x34b248['id'],'params':{'unitId':_0x29e6fc,'subUnitId':_0x3e52f7[_0x24fd22(0x1fb)][_0x24fd22(0x2d3)],'pivotTableId':_0x3e52f7[_0x24fd22(0x391)],'targetCellPosition':{'row':_0x3e52f7[_0x24fd22(0x1fb)][_0x24fd22(0x316)],'col':_0x3e52f7[_0x24fd22(0x1fb)][_0x24fd22(0x48d)]}}}],_0x496a93=[{'id':_0x34b248['id'],'params':{'unitId':_0x29e6fc,'subUnitId':_0x332e7a,'pivotTableId':_0x3e52f7[_0x24fd22(0x391)],'targetCellPosition':{'row':_0x19f69d['targetCellInfo'][_0x24fd22(0x316)],'col':_0x19f69d[_0x24fd22(0x1fb)][_0x24fd22(0x48d)]}}}];return _0x6ffa6d['sequenceExecute'](_0x56a20a,_0xc859df)&&_0x39e1f2[_0x24fd22(0x470)]({'unitID':_0x29e6fc,'undoMutations':_0x496a93,'redoMutations':_0x56a20a}),!0x0;}},_0x310234={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x217f5d,_0x6ca01f){const _0x424070=_0x6f5ed9;if(!_0x6ca01f)return!0x1;const _0x1d3430=_0x217f5d[_0x424070(0x446)](_0x6ffa6d[_0x424070(0x3fa)]),{pivotTableId:_0x5a00a8,fieldId:_0x3637dd,valueFilterInfo:_0x3dc59c,unitId:_0x53c2df,subUnitId:_0x4bd00a}=_0x6ca01f,_0x25bc97=_0x217f5d['get'](_0x35c787[_0x424070(0x214)]),_0x2c462b=_0x217f5d['get'](_0x6ffa6d['IUndoRedoService']),_0x2b00c1=(await _0x25bc97['getPivotDisplayConfig']({'unitId':_0x53c2df,'subUnitId':_0x4bd00a,'pivotTableId':_0x5a00a8,'params':{'type':_0x1222bc['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x3637dd,'filterInfo':_0x3dc59c}}}))['result']['setValuePivotFilter'];if(!_0x2b00c1)return!0x1;const {changesets:_0x544a49,pivotTableConfig:_0x1ecd6d,isEmpty:_0xe07d90,view:_0x1493fd}=_0x2b00c1,_0x30bb83=_0x1ecd6d[_0x424070(0x1fb)],_0x41b51c=new _0x426cf2[(_0x424070(0x2c4))]();_0x41b51c['formJSON'](_0x1493fd);const _0xc6e8e8={'cellInfo':_0x30bb83,'view':_0x41b51c,'isEmpty':_0xe07d90};if(!await _0x217f5d[_0x424070(0x446)](_0x35c787[_0x424070(0x207)])[_0x424070(0x233)]['fetchThroughAsyncInterceptors'](_0x1f0071)(!0x0,_0xc6e8e8))return!0x1;const _0x4ed4fc=_0x2a9e07(_0x217f5d,_0x41b51c,_0x30bb83,_0xe07d90),_0x3e1089=_0x2aaec3(_0x217f5d,_0xc6e8e8),{undos:_0x2bf807,redos:_0x40604b}=_0x1f747e(_0x1d3430,{'pivotTableId':_0x5a00a8,'unitId':_0x53c2df,'subUnitId':_0x4bd00a},_0x544a49);return _0x6ffa6d[_0x424070(0x451)]([..._0x4ed4fc[_0x424070(0x32f)],..._0x3e1089[_0x424070(0x32f)],..._0x40604b],_0x1d3430),_0x2c462b[_0x424070(0x470)]({'unitID':_0x53c2df,'redoMutations':[..._0x4ed4fc[_0x424070(0x32f)],..._0x3e1089['redos'],..._0x40604b],'undoMutations':[..._0x4ed4fc[_0x424070(0x2dd)],..._0x3e1089['undos'],..._0x2bf807]}),!0x0;}},_0x551cd2={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)]['COMMAND'],'id':_0x6f5ed9(0x484),async 'handler'(_0xab55d7,_0x4e8d92){const _0x5ddaf7=_0x6f5ed9;if(!_0x4e8d92)return!0x1;const _0x5f413e=_0xab55d7[_0x5ddaf7(0x446)](_0x6ffa6d['ICommandService']),_0x1eddb9=_0xab55d7['get'](_0x6ffa6d[_0x5ddaf7(0x186)]),_0x5c8ba5=_0xab55d7['get'](_0x35c787['SheetsPivotRPCService']),{pivotTableConfig:_0x48f321,pivotTableId:_0x552ea3,unitId:_0xe4e3ff,subUnitId:_0x542f32}=_0x4e8d92,_0x7c035b=(await _0x5c8ba5[_0x5ddaf7(0x39b)]({'unitId':_0xe4e3ff,'subUnitId':_0x542f32,'pivotTableId':_0x552ea3,'params':{'type':_0x1222bc[_0x5ddaf7(0x3db)],'setPivotTableConfig':{'pivotTableId':_0x552ea3,'pivotTableConfig':_0x48f321}}}))[_0x5ddaf7(0x251)][_0x5ddaf7(0x2a8)];if(!_0x7c035b)return!0x1;const {changesets:_0x2894ad}=_0x7c035b,{redos:_0xf08f00,undos:_0x45c238}=_0x1f747e(_0x5f413e,{'pivotTableId':_0x552ea3,'unitId':_0xe4e3ff,'subUnitId':_0x542f32},_0x2894ad);return _0x6ffa6d[_0x5ddaf7(0x451)](_0xf08f00,_0x5f413e),_0x1eddb9[_0x5ddaf7(0x470)]({'unitID':_0xe4e3ff,'redoMutations':_0xf08f00,'undoMutations':_0x45c238}),!0x0;}},_0x127bbd={'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'id':_0x6f5ed9(0x3d0),async 'handler'(_0x3c3341,_0x5039c6){const _0x4e04c0=_0x6f5ed9;if(!_0x5039c6)return!0x1;const _0x2dafc7=_0x3c3341[_0x4e04c0(0x446)](_0x6ffa6d[_0x4e04c0(0x3fa)]),_0x2d77d8=_0x3c3341[_0x4e04c0(0x446)](_0x6ffa6d[_0x4e04c0(0x186)]),_0x18766c=_0x3c3341[_0x4e04c0(0x446)](_0x35c787[_0x4e04c0(0x214)]),{resetArea:_0x3ebc0e,pivotTableId:_0x31354e,unitId:_0x3cdc56,subUnitId:_0x47513e}=_0x5039c6,_0x1cd511=(await _0x18766c[_0x4e04c0(0x39b)]({'unitId':_0x3cdc56,'subUnitId':_0x47513e,'pivotTableId':_0x31354e,'params':{'type':_0x1222bc[_0x4e04c0(0x234)],'resetPivotTable':{'pivotTableId':_0x31354e,'resetArea':_0x3ebc0e}}}))[_0x4e04c0(0x251)][_0x4e04c0(0x408)];if(!_0x1cd511)return!0x1;const {changesets:_0xf0cac9}=_0x1cd511,{redos:_0x29b001,undos:_0x25fa83}=_0x1f747e(_0x2dafc7,{'pivotTableId':_0x31354e,'unitId':_0x3cdc56,'subUnitId':_0x47513e},_0xf0cac9);return _0x6ffa6d[_0x4e04c0(0x451)](_0x29b001,_0x2dafc7),_0x2d77d8[_0x4e04c0(0x470)]({'unitID':_0x3cdc56,'redoMutations':_0x29b001,'undoMutations':_0x25fa83}),!0x0;}},_0x2fe399={'id':_0x6f5ed9(0x205),'type':_0x6ffa6d['CommandType']['MUTATION'],'handler':(_0x1380ae,_0x3ee387)=>{const _0xc20e1c=_0x6f5ed9;if(!_0x3ee387)return!0x1;if(!!_0x1380ae[_0xc20e1c(0x446)](_0x6ffa6d[_0xc20e1c(0x431)])[_0xc20e1c(0x2a3)](_0x838977))return!0x0;const {unitId:_0x1bb98e,subUnitId:_0x3e938c,pivotTableId:_0x51d235,tableFieldId:_0x4d49b0,dateType:_0x3a306f}=_0x3ee387,_0x2dedc7=_0x1380ae[_0xc20e1c(0x446)](_0x35c787[_0xc20e1c(0x185)]),_0x187311=_0x2dedc7[_0xc20e1c(0x442)](_0x51d235);if(!_0x187311)return!0x1;const _0x3ac5cc=_0x187311['getDataFieldByTableId'](_0x4d49b0);if(!_0x3ac5cc)return!0x1;const _0x276f05=_0x3ac5cc[_0xc20e1c(0x1ef)](),_0x59462e=_0x187311[_0xc20e1c(0x403)](_0x276f05),_0xf9baeb=(_0x59462e==null?void 0x0:_0x59462e['getName']())+'\x20'+_0x55d82e(_0x1380ae,_0x3a306f);_0x2dedc7[_0xc20e1c(0x3d9)](_0x1bb98e,_0x51d235)['setDisplayName'](_0x3ac5cc['id'],_0xf9baeb);const _0x3e9ecd=_0x187311['getTableFieldById'](_0x4d49b0);if(!_0x3e9ecd)return!0x1;_0x187311[_0xc20e1c(0x475)](_0x3e9ecd[_0xc20e1c(0x222)](),_0xf9baeb),_0x3ac5cc['setDateType'](_0x3a306f);const _0x5e3994=_0x2dedc7[_0xc20e1c(0x34a)](_0x1bb98e,_0x3e938c,_0x51d235);return _0x2dedc7['addDirtyPivotTable']({'unitId':_0x1bb98e,'subUnitId':_0x3e938c,'token':_0x51d235,'type':_0x1bdb8f[_0xc20e1c(0x2e5)],'pivotConfig':_0x5e3994}),!0x0;}},_0x9577c5={'id':_0x6f5ed9(0x334),'type':_0x6ffa6d[_0x6f5ed9(0x3f4)][_0x6f5ed9(0x258)],'handler':(_0x163a22,_0x47c39f)=>{const _0x5a33d3=_0x6f5ed9;if(!_0x47c39f)return!0x1;const _0x253dba=_0x163a22[_0x5a33d3(0x446)](_0x6ffa6d[_0x5a33d3(0x186)]),{unitId:_0x52bdd2,subUnitId:_0x4bbb46,pivotTableId:_0x21956d,tableFieldId:_0x38a57c}=_0x47c39f,_0x57ef5e=[],_0x4e9437=[],_0x249bde=_0x163a22[_0x5a33d3(0x446)](_0x35c787[_0x5a33d3(0x266)]),_0x4f6e8c=_0x249bde['getCollection'](_0x52bdd2,_0x21956d),_0x5b3632=_0x249bde[_0x5a33d3(0x34a)](_0x52bdd2,_0x4bbb46,_0x21956d);if(!(_0x5b3632!=null&&_0x5b3632[_0x5a33d3(0x427)][_0x5a33d3(0x17e)]))return!0x1;const _0x10684c=Object['values'](_0x5b3632[_0x5a33d3(0x427)][_0x5a33d3(0x17e)])[_0x5a33d3(0x29c)](_0x341309=>_0x341309['id']===_0x38a57c);if(!_0x10684c)return!0x1;const _0x2c86c5=_0x10684c[_0x5a33d3(0x31f)];if(!(_0x4f6e8c!=null&&_0x4f6e8c[_0x5a33d3(0x33a)]))return!0x1;const _0x52007a=Object[_0x5a33d3(0x342)](_0x4f6e8c==null?void 0x0:_0x4f6e8c['fields'])[_0x5a33d3(0x29c)](_0x36fd45=>_0x36fd45['id']===_0x2c86c5);if(!_0x52007a)return!0x1;_0x426cf2[_0x5a33d3(0x453)](_0x52007a)&&_0x57ef5e['push']({'id':_0x2fe399['id'],'params':{..._0x47c39f,'dateType':_0x52007a[_0x5a33d3(0x22e)]}}),_0x4e9437[_0x5a33d3(0x321)]({'id':_0x2fe399['id'],'params':{..._0x47c39f}});const _0x4b3d65=_0x163a22[_0x5a33d3(0x446)](_0x6ffa6d[_0x5a33d3(0x3fa)]);return _0x6ffa6d[_0x5a33d3(0x451)](_0x4e9437,_0x4b3d65)&&_0x253dba[_0x5a33d3(0x470)]({'unitID':_0x52bdd2,'undoMutations':_0x57ef5e,'redoMutations':_0x4e9437}),!0x0;}};var _0xb51917=Object[_0x6f5ed9(0x1a9)],_0x27a868=(_0x2f3bf5,_0x970856,_0x3597f,_0x12234f)=>{const _0x272f35=_0x6f5ed9;for(var _0x429c69=_0x12234f>0x1?void 0x0:_0x12234f?_0xb51917(_0x970856,_0x3597f):_0x970856,_0x17c29a=_0x2f3bf5[_0x272f35(0x293)]-0x1,_0x1d947f;_0x17c29a>=0x0;_0x17c29a--)(_0x1d947f=_0x2f3bf5[_0x17c29a])&&(_0x429c69=_0x1d947f(_0x429c69)||_0x429c69);return _0x429c69;},_0x47713b=(_0x5b20e8,_0x4e814b)=>(_0x2a67da,_0x571a50)=>_0x4e814b(_0x2a67da,_0x571a50,_0x5b20e8);const _0x23465a=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x4f6f46=(_0x50c04b,_0x3039f8,_0x2cfe78)=>{const _0x3bd1d0=_0x6f5ed9,_0x1056ce=_0x50c04b[_0x3bd1d0(0x176)];_0x50c04b[_0x3bd1d0(0x39d)](_0x14026c=>{const _0x580a85=_0x3bd1d0,_0x1c5b31=_0x14026c[_0x580a85(0x222)](),_0x8afde8=_0x14026c[_0x580a85(0x1d5)](),_0x5ed89a=_0x14026c['getSourceName'](),_0x50b40b=_0x14026c[_0x580a85(0x2e9)]();_0x3039f8[_0x8afde8]&&_0x3039f8[_0x8afde8]===_0x50b40b&&_0x5ed89a===_0x50b40b&&(_0x50c04b[_0x580a85(0x475)](_0x1c5b31,_0x1056ce[_0x580a85(0x2e9)](_0x8afde8)),_0x14026c[_0x580a85(0x223)](_0x1056ce['getDisplayName'](_0x8afde8)));}),_0x50c04b[_0x3bd1d0(0x39e)](_0x426cf2[_0x3bd1d0(0x23e)][_0x3bd1d0(0x435)],_0x5bee1b=>{const _0x27294e=_0x3bd1d0,_0x446cb1=_0x5bee1b[_0x27294e(0x222)](),_0x1732fb=_0x5bee1b[_0x27294e(0x1d5)](),_0x42cdf1=_0x5bee1b['getSourceName'](),_0x14dc21=_0x5bee1b[_0x27294e(0x2e9)](),_0x20fb15=_0x5bee1b[_0x27294e(0x31d)](),_0x4efc8d=_0x2cfe78(_0x42cdf1,_0x20fb15);_0x3039f8[_0x1732fb]&&_0x3039f8[_0x1732fb]===_0x42cdf1&&_0x4efc8d===_0x14dc21&&(_0x50c04b[_0x27294e(0x475)](_0x446cb1,_0x2cfe78(_0x1056ce['getDisplayName'](_0x1732fb),_0x20fb15)),_0x5bee1b[_0x27294e(0x223)](_0x1056ce['getDisplayName'](_0x1732fb)));});},_0x42ff8c=(_0x9f0a54,_0x202425,_0x5b9ec4)=>{const _0x4f604b=_0x6f5ed9;var _0x16298c,_0x2fa7ca;const {arrayFormulaCellData:_0x5468cf,unitData:_0x18ff82}=_0x202425,{unitId:_0x406889,subUnitId:_0x273d48}=_0x5b9ec4,_0x2fe276=_0x5b9ec4[_0x4f604b(0x1db)],{startColumn:_0x25d461,endColumn:_0x1f05c0}=_0x2fe276,_0x20cc3e=(_0x16298c=_0x5468cf==null?void 0x0:_0x5468cf[_0x406889])==null?void 0x0:_0x16298c[_0x273d48],_0x305761=(_0x2fa7ca=_0x18ff82==null?void 0x0:_0x18ff82[_0x406889])==null?void 0x0:_0x2fa7ca[_0x273d48],_0x5e2cf4=new Set(),_0x37c03f=_0x1f05c0-_0x25d461+0x1,{dirtyRanges:_0x5eecbb}=_0x9f0a54;if(_0x5eecbb)for(const {range:_0x576d77,sheetId:_0x294293,unitId:_0x2e0c98}of _0x5eecbb){if(_0x294293!==_0x273d48||_0x406889!==_0x2e0c98)continue;const _0x599bba=_0x6ffa6d[_0x4f604b(0x341)][_0x4f604b(0x2db)](_0x576d77,_0x2fe276);if(_0x599bba){const {startColumn:_0x14651f,endColumn:_0x18bdfa}=_0x599bba;for(let _0x41d95f=_0x14651f;_0x41d95f<=_0x18bdfa;_0x41d95f++)_0x5e2cf4['add'](_0x41d95f);}}if(_0x5e2cf4[_0x4f604b(0x317)]===_0x37c03f||_0x5e2cf4['size']===_0x37c03f)return Array[_0x4f604b(0x325)](_0x5e2cf4);if(_0x305761){const _0x47fa07=_0x305761[_0x4f604b(0x315)](),_0x1b3b0c=Object[_0x4f604b(0x1b3)](_0x47fa07);for(const _0x4f0973 of _0x1b3b0c){const _0x9a0e80=Number(_0x4f0973),_0x50906a=_0x47fa07[_0x9a0e80];if(_0x5e2cf4[_0x4f604b(0x317)]===_0x37c03f)break;for(const _0x521c64 in _0x50906a){const _0x583c60=Number(_0x521c64);_0x583c60<_0x25d461||_0x583c60>_0x1f05c0||_0x5e2cf4[_0x4f604b(0x39c)](_0x583c60);}}}if(_0x20cc3e){const _0x2e91ab=_0x20cc3e[_0x4f604b(0x315)](),_0x602073=Object['keys'](_0x2e91ab);for(const _0x3dabf8 of _0x602073){const _0x2aba4d=Number(_0x3dabf8),_0x51977d=_0x2e91ab[_0x2aba4d];if(_0x5e2cf4[_0x4f604b(0x317)]===_0x37c03f)break;for(const _0x38f522 in _0x51977d){const _0x1c93bd=Number(_0x38f522);_0x1c93bd<_0x25d461||_0x1c93bd>_0x1f05c0||_0x5e2cf4[_0x4f604b(0x39c)](_0x1c93bd);}}}return Array[_0x4f604b(0x325)](_0x5e2cf4);},_0x2775b7=_0x8d7eca=>{const _0x2e696e=_0x6f5ed9,_0x51d77f=new Set(),_0x35ffb0=[];for(const _0x483ccc of _0x8d7eca){const _0x40b061=_0x483ccc[_0x2e696e(0x297)]+','+_0x483ccc[_0x2e696e(0x272)]+','+_0x483ccc[_0x2e696e(0x477)]+','+_0x483ccc[_0x2e696e(0x3e9)];_0x51d77f['has'](_0x40b061)||(_0x51d77f[_0x2e696e(0x39c)](_0x40b061),_0x35ffb0[_0x2e696e(0x321)](_0x483ccc));}return _0x35ffb0;};let _0x1e5f48=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x5f3ff9,_0xd2602e,_0x3004e9,_0x2f9767,_0x4effe9,_0x3501aa){const _0x16b46e=_0x6f5ed9;super(),_0x47a2cd(this,_0x16b46e(0x286),new _0xcfe6e1[(_0x16b46e(0x224))](!0x0)),_0x47a2cd(this,_0x16b46e(0x3d7),_0x2d5990=>{const _0x27b06b=_0x16b46e;this[_0x27b06b(0x286)]['next'](!0x1);}),_0x47a2cd(this,_0x16b46e(0x1ed),_0x19991e=>{const _0x497434=_0x16b46e;this[_0x497434(0x286)][_0x497434(0x253)](!0x0);}),(this[_0x16b46e(0x340)]=_0x5f3ff9,this['_configService']=_0xd2602e,this[_0x16b46e(0x35d)]=_0x3004e9,this[_0x16b46e(0x42b)]=_0x2f9767,this['_globalComputingSrv']=_0x4effe9,this[_0x16b46e(0x208)]=_0x3501aa,this['_init'](),this['_initPivotDataGetListener']());}[_0x6f5ed9(0x19b)](){const _0x1d0fb4=_0x6f5ed9;this['_subjectCollectionChange'](),this[_0x1d0fb4(0x267)](),this[_0x1d0fb4(0x378)](),this['_subjectFieldsCollectionChange']();}['_initGlobalComputed'](){const _0x3ae3e0=_0x6f5ed9;this[_0x3ae3e0(0x33d)][_0x3ae3e0(0x3c0)](this[_0x3ae3e0(0x286)]),_0x426cf2['PivotTable'][_0x3ae3e0(0x406)](_0x426cf2['PivotCallbackEnum']['onQueryStart'],this[_0x3ae3e0(0x3d7)]),_0x426cf2[_0x3ae3e0(0x190)][_0x3ae3e0(0x406)](_0x426cf2[_0x3ae3e0(0x24d)][_0x3ae3e0(0x1e4)],this[_0x3ae3e0(0x1ed)]);}[_0x6f5ed9(0x46e)](){const _0x187fb6=_0x6f5ed9;this[_0x187fb6(0x237)](this['_commandService'][_0x187fb6(0x276)](_0x39ac6e=>{const _0x37c06e=_0x187fb6;_0x39ac6e['id']===_0x2361cb['MoveRangeMutation']['id']&&this['_sheetsPivotDataSourceModel'][_0x37c06e(0x320)](_0x39ac6e[_0x37c06e(0x35c)]);})),this[_0x187fb6(0x237)](this['_commandService'][_0x187fb6(0x276)](_0x18c39f=>{const _0x1646ec=_0x187fb6;if(_0x18c39f['id']!==_0x1ca9ca['id'])return;const _0x1c9f81=_0x18c39f[_0x1646ec(0x35c)],{unitId:_0x54f0ad,subUnitId:_0x117da6,pivotTableId:_0x43a11a}=_0x1c9f81,_0x502f8a=_0x1c9f81['params'][_0x1646ec(0x41b)],_0x11bdf7={};switch(_0x502f8a){case _0x1222bc['Filter']:{const _0x24656e=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x1ee)];if(!_0x24656e)return;const {row:_0x37a286,col:_0x7b3786,cellData:_0x145849,pivotItemRenderInfoCache:_0x190663,tableFieldId:_0x3e7f6e}=_0x24656e,_0x346851=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x1c9f81['pivotTableId']);if(!_0x346851||!_0x190663)return;if(_0x3e7f6e){const _0x1e8764=_0x346851['getDataFieldByTableId'](_0x3e7f6e);if(!_0x1e8764)return;_0x11bdf7['filter']={..._0x346851[_0x1646ec(0x206)](_0x1e8764),'tableFieldId':_0x3e7f6e,'pivotTableId':_0x1c9f81['pivotTableId'],'filterInfo':_0x346851['getFilterInfo'](_0x3e7f6e),'sortInfo':_0x346851[_0x1646ec(0x433)](_0x3e7f6e),'format':_0x346851[_0x1646ec(0x36f)](_0x3e7f6e)};}else{const _0x1d7003=_0x94cdc1(_0x37a286,_0x7b3786,_0x145849,_0x346851,_0x190663),_0x6f31dc=_0x1d7003==null?void 0x0:_0x1d7003['filterId'];if(!_0x6f31dc)return;const _0x404368=_0x346851[_0x1646ec(0x3af)](_0x6f31dc);if(!_0x404368)return;_0x11bdf7[_0x1646ec(0x1ee)]={..._0x346851[_0x1646ec(0x206)](_0x404368),'tableFieldId':_0x6f31dc,'pivotTableId':_0x1c9f81[_0x1646ec(0x391)],'filterInfo':_0x346851[_0x1646ec(0x1b0)](_0x6f31dc),'sortInfo':_0x346851[_0x1646ec(0x433)](_0x6f31dc),'format':_0x346851['getFieldFormat'](_0x6f31dc)};}}break;case _0x1222bc[_0x1646ec(0x2ab)]:{const _0x4b2082=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x183)];if(!_0x4b2082)return;const {pivotTableId:_0x2e9258}=_0x4b2082,_0x3c81c1=this['_sheetsPivotDataSourceModel'][_0x1646ec(0x442)](_0x2e9258);if(!_0x3c81c1)return;const _0x1b746c=this['_sheetsPivotDataSourceModel'][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x2e9258),_0x4cdb1f=_0x54c6a0(_0x3c81c1,_0x2e9258,_0x1b746c);_0x11bdf7[_0x1646ec(0x183)]=_0x4cdb1f;}break;case _0x1222bc[_0x1646ec(0x45e)]:{const _0x2fa4ba=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x43a11a),_0x51fd1d=this[_0x1646ec(0x340)][_0x1646ec(0x358)](_0x54f0ad),_0x43680e=_0x51fd1d[_0x1646ec(0x3d9)](_0x43a11a);let _0x61c25e=null;const _0xe4cc4d=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a),_0x5e655b=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x232)];if(!_0x2fa4ba||!_0xe4cc4d||!_0x5e655b)return!0x1;const {dataFieldId:_0x242963,fieldArea:_0x55e859,index:_0x3fde52}=_0x5e655b;_0x2fa4ba['startCollectChangeset']();const _0x5c474d=_0x2fa4ba[_0x1646ec(0x2f4)](_0x242963,_0x55e859,_0x3fde52);if(_0x5c474d&&_0x55e859===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x435)]){const _0x399029=_0x5c474d[_0x1646ec(0x222)](),_0x20a3fe=_0x2fa4ba[_0x1646ec(0x3af)](_0x399029);if(_0x20a3fe){const _0x421ce6=_0x20a3fe==null?void 0x0:_0x20a3fe[_0x1646ec(0x20b)]();_0x2fa4ba['setSubtotalType'](_0x5c474d[_0x1646ec(0x222)](),_0x421ce6===_0x426cf2['PivotDataFieldDataTypeEnum'][_0x1646ec(0x1f0)]?_0x426cf2['PivotSubtotalTypeEnum'][_0x1646ec(0x1df)]:_0x426cf2[_0x1646ec(0x38a)][_0x1646ec(0x2ba)]);}const _0x41aa6d=_0x2fa4ba[_0x1646ec(0x476)](),_0x36ed41=_0x2fa4ba[_0x1646ec(0x1cc)](),_0x16b289=_0x2fa4ba[_0x1646ec(0x1e0)](_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x435)]);if(_0x41aa6d===-0x1&&_0x16b289>0x1){const _0x345c08=_0x36ed41===_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x23f)]?_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x2fe)]:_0x36ed41,_0x1a6a40=_0x345c08===_0x426cf2[_0x1646ec(0x1e2)]['Row']?_0x426cf2['PivotTableFiledAreaEnum'][_0x1646ec(0x248)]:_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x2fe)];_0x2fa4ba[_0x1646ec(0x20f)](_0x345c08,_0x2fa4ba[_0x1646ec(0x1e0)](_0x1a6a40));}}else{if(_0x5c474d&&(_0x55e859===_0x426cf2[_0x1646ec(0x23e)]['Row']||_0x55e859===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x2fe)])){const _0x557dbf=_0x5c474d[_0x1646ec(0x222)](),_0x560994=_0x2fa4ba[_0x1646ec(0x3af)](_0x557dbf);if(_0x560994&&(_0x560994==null?void 0x0:_0x560994[_0x1646ec(0x20b)]())===_0x426cf2[_0x1646ec(0x38e)]['date']){const _0x4a8608=_0x560994[_0x1646ec(0x45c)]();if(_0x4a8608&&_0x2fa4ba[_0x1646ec(0x21b)](_0x5c474d[_0x1646ec(0x222)](),_0x4a8608),!_0x43680e[_0x1646ec(0x2ca)]()[_0x1646ec(0x282)](_0x57adba=>{const _0x46e04e=_0x1646ec,_0x36a5ef=_0x43680e[_0x46e04e(0x229)](_0x57adba);return _0x426cf2[_0x46e04e(0x2b7)](_0x36a5ef)?_0x36a5ef[_0x46e04e(0x478)]()['originalFieldId']===_0x242963:!0x1;})){const _0x3de8b2=_0x51fd1d['createDataFieldId'](),_0x930e53=_0x10ee0f(_0x560994[_0x1646ec(0x2cf)],_0x560994[_0x1646ec(0x2f6)]),_0x50d0b0=_0x560994[_0x1646ec(0x459)]()+'\x20-\x20'+_0x55d82e(this[_0x1646ec(0x208)],_0x930e53),_0x2f31f4=new _0x426cf2['DateGroupField'](_0x3de8b2,_0x50d0b0,_0x426cf2[_0x1646ec(0x474)](0x3),_0x560994[_0x1646ec(0x222)](),_0x930e53);_0x51fd1d[_0x1646ec(0x400)](_0x2f31f4),_0x43680e[_0x1646ec(0x2ef)](_0x3de8b2,_0x50d0b0),_0x2fa4ba[_0x1646ec(0x2f4)](_0x3de8b2,_0x55e859,(_0x3fde52!=null?_0x3fde52:0x0)+0x1),_0x61c25e=_0x2f31f4;}}}}const _0x3935a2=_0x2fa4ba[_0x1646ec(0x412)](),_0x242977=_0x2fa4ba[_0x1646ec(0x36e)]()[_0x1646ec(0x309)]();let _0x1d999a;if(_0x61c25e){_0x1d999a=_0x61c25e[_0x1646ec(0x309)]();const _0x5a5f3e=_0x61c25e['getId']();_0x43680e[_0x1646ec(0x2b9)](_0x5a5f3e);let _0x196e5d=!0x0;for(const _0x19bea5 in _0x51fd1d[_0x1646ec(0x27c)])if(_0x51fd1d[_0x1646ec(0x27c)][_0x19bea5][_0x1646ec(0x2ca)]()['includes'](_0x5a5f3e)){_0x196e5d=!0x1;break;}_0x196e5d&&_0x51fd1d[_0x1646ec(0x2e2)](_0x5a5f3e);}const _0x3b9a0e=_0x2fa4ba[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x232)]={'view':_0x242977,'changesets':_0x3b9a0e,'isEmpty':_0x3935a2,'pivotTableConfig':_0xe4cc4d,'shouldBeAddedGroupJSON':_0x1d999a};}break;case _0x1222bc[_0x1646ec(0x494)]:{const _0x135956=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x18c)];if(!_0x135956)return;const _0x12dc88=_0x135956[_0x1646ec(0x23d)],_0x3801b7=_0x135956[_0x1646ec(0x391)],{collection:_0x445c21}=this[_0x1646ec(0x340)][_0x1646ec(0x437)]({'unitId':_0x12dc88[_0x1646ec(0x322)],'sheetName':_0x12dc88[_0x1646ec(0x3c4)],'subUnitId':_0x12dc88[_0x1646ec(0x2d3)],'range':_0x12dc88[_0x1646ec(0x1db)]}),_0x24aad6=new _0x426cf2[(_0x1646ec(0x190))](_0x445c21,void 0x0,_0x3801b7),_0x1d1770=_0x24aad6['query'](),_0x4ad308=_0x24aad6['toJSON'](),_0x1a6c03=_0x445c21[_0x1646ec(0x309)]();_0x11bdf7['addPivotTable']={'view':_0x1d1770,'fieldsConfig':_0x4ad308,'collectionConfig':_0x1a6c03,'isEmpty':_0x24aad6[_0x1646ec(0x412)]()};}break;case _0x1222bc[_0x1646ec(0x488)]:{const _0x4e5fe6=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x1e3)];if(!_0x4e5fe6)return;const {fieldId:_0x54a2a5,area:_0x4dfcb5,index:_0x25e2d0}=_0x4e5fe6,_0x3df779=this['_sheetsPivotDataSourceModel'][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x3df779)return;const _0x2a22c7=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x43a11a);if(!_0x2a22c7)return;_0x2a22c7['startCollectChangeset']();const {area:_0x61bb5,index:_0x48d37b}=_0x2a22c7[_0x1646ec(0x47c)](_0x54a2a5);if(_0x2a22c7[_0x1646ec(0x211)](_0x54a2a5,_0x4dfcb5,_0x25e2d0),_0x4dfcb5===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x435)]&&_0x2a22c7['getTableFieldById'](_0x54a2a5)[_0x1646ec(0x31d)]()===void 0x0){const _0x391aaa=_0x2a22c7[_0x1646ec(0x1f2)](_0x54a2a5);if(_0x391aaa&&_0x391aaa[_0x1646ec(0x31d)]()===void 0x0){const _0x283777=_0x2a22c7[_0x1646ec(0x3af)](_0x54a2a5);if(_0x283777){const _0x85b54a=_0x283777==null?void 0x0:_0x283777[_0x1646ec(0x20b)]();_0x2a22c7['setSubtotalType'](_0x54a2a5,_0x85b54a===_0x426cf2[_0x1646ec(0x38e)]['number']?_0x426cf2[_0x1646ec(0x38a)][_0x1646ec(0x1df)]:_0x426cf2[_0x1646ec(0x38a)]['count']);}}}const _0x51576c=_0x2a22c7[_0x1646ec(0x1cc)](),_0x61ceb8=_0x2a22c7[_0x1646ec(0x476)](),_0x4e4205=_0x2a22c7[_0x1646ec(0x1e0)](_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x435)])>0x1;if(_0x4e4205&&_0x61bb5===_0x4dfcb5&&(_0x4dfcb5===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x248)]&&_0x51576c===_0x426cf2['PivotTableValuePositionEnum'][_0x1646ec(0x248)]||_0x4dfcb5===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x2fe)]&&_0x51576c===_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x2fe)])){let _0x4fc00b=_0x61ceb8;_0x48d37b<=_0x61ceb8&&_0x4fc00b--,_0x25e2d0<=_0x61ceb8&&_0x4fc00b++,_0x2a22c7[_0x1646ec(0x20f)](_0x51576c,_0x4fc00b);}else _0x4e4205&&(_0x61bb5===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x248)]&&_0x51576c===_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x248)]||_0x61bb5===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x2fe)]&&_0x51576c===_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x2fe)])&&_0x61ceb8>=_0x48d37b&&_0x2a22c7[_0x1646ec(0x20f)](_0x51576c,_0x61ceb8-0x1),_0x4e4205&&(_0x4dfcb5===_0x426cf2[_0x1646ec(0x23e)]['Row']&&_0x51576c===_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x248)]||_0x4dfcb5===_0x426cf2[_0x1646ec(0x23e)]['Column']&&_0x51576c===_0x426cf2[_0x1646ec(0x1e2)][_0x1646ec(0x2fe)])&&_0x61ceb8>=_0x25e2d0&&_0x2a22c7[_0x1646ec(0x20f)](_0x51576c,_0x61ceb8+0x1);const _0x5b678d=_0x2a22c7[_0x1646ec(0x36e)](),_0x5b8660=_0x2a22c7[_0x1646ec(0x412)](),_0x59e99a=_0x2a22c7[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x1e3)]={'view':_0x5b678d['toJSON'](),'changesets':_0x59e99a,'isEmpty':_0x5b8660,'pivotTableConfig':_0x3df779};}break;case _0x1222bc[_0x1646ec(0x196)]:{const _0x418255=_0x1c9f81[_0x1646ec(0x35c)]['removePivotField'];if(!_0x418255)return;const _0x421c00=_0x418255[_0x1646ec(0x409)],_0x1b14f3=this['_sheetsPivotDataSourceModel'][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x1b14f3)return!0x1;const _0x354477=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x43a11a);if(!_0x354477)return!0x1;_0x354477[_0x1646ec(0x1bf)]();for(const _0x529512 of _0x421c00){const {area:_0x582fbf}=_0x354477[_0x1646ec(0x47c)](_0x529512);_0x582fbf===_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x435)]&&_0x354477[_0x1646ec(0x24a)](_0x529512),(_0x582fbf===_0x426cf2['PivotTableFiledAreaEnum'][_0x1646ec(0x248)]||_0x582fbf===_0x426cf2['PivotTableFiledAreaEnum']['Column'])&&_0x354477[_0x1646ec(0x189)](_0x529512),_0x354477[_0x1646ec(0x38f)](_0x529512);}const _0x2d5b1a=_0x354477[_0x1646ec(0x412)](),_0x3cd29a=_0x354477[_0x1646ec(0x36e)]()[_0x1646ec(0x309)](),_0x42e37f=_0x354477[_0x1646ec(0x35f)]();_0x11bdf7['removePivotField']={'changesets':_0x42e37f,'pivotTableConfig':_0x1b14f3,'isEmpty':_0x2d5b1a,'view':_0x3cd29a};}break;case _0x1222bc[_0x1646ec(0x2d7)]:{const _0x377185=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x2a1)];if(!_0x377185)return;const {tableFieldId:_0x26bdbf,items:_0x19a7ed,isAll:_0x3b8436}=_0x377185,_0x6bd2e9=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x43a11a),_0x6f12da=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x6bd2e9||!_0x6f12da)return;_0x6bd2e9[_0x1646ec(0x1bf)](),_0x6bd2e9[_0x1646ec(0x3c3)](_0x26bdbf,{'type':_0x426cf2[_0x1646ec(0x23a)][_0x1646ec(0x27a)],'list':_0x19a7ed,'isAll':_0x3b8436});const _0x16f485=_0x6bd2e9[_0x1646ec(0x412)](),_0x2a32c4=_0x6bd2e9[_0x1646ec(0x36e)]()[_0x1646ec(0x309)](),_0x5ce85a=_0x6bd2e9[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x2a1)]={'view':_0x2a32c4,'changesets':_0x5ce85a,'isEmpty':_0x16f485,'pivotTableConfig':_0x6f12da};}break;case _0x1222bc[_0x1646ec(0x2c9)]:{const _0x5cb0d0=_0x1c9f81[_0x1646ec(0x35c)]['setValuePivotFilter'];if(!_0x5cb0d0)return;const {tableFieldId:_0x3fe695,filterInfo:_0x7e6f9d}=_0x5cb0d0,_0x284a74=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x43a11a),_0x3c3bbe=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x284a74||!_0x3c3bbe)return;_0x284a74[_0x1646ec(0x1bf)](),_0x284a74[_0x1646ec(0x209)](_0x3fe695,_0x7e6f9d);const _0x27278a=_0x284a74['isEmpty'](),_0x20b5cb=_0x284a74[_0x1646ec(0x36e)]()[_0x1646ec(0x309)](),_0x262dbd=_0x284a74[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x415)]={'view':_0x20b5cb,'changesets':_0x262dbd,'isEmpty':_0x27278a,'pivotTableConfig':_0x3c3bbe};}break;case _0x1222bc['SetPivotSort']:{const _0x132c6d=_0x1c9f81[_0x1646ec(0x35c)]['setPivotSort'];if(!_0x132c6d)return;const {tableFieldId:_0x5c9e17,info:_0x3a19ff}=_0x132c6d,_0x3e066c=this[_0x1646ec(0x340)]['getPivotTableInstance'](_0x43a11a),_0x54489b=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x3e066c||!_0x54489b)return;_0x3e066c[_0x1646ec(0x1bf)](),_0x3e066c[_0x1646ec(0x370)](_0x5c9e17,_0x3a19ff);const _0x12391f=_0x3e066c[_0x1646ec(0x412)](),_0x1836f5=_0x3e066c[_0x1646ec(0x36e)]()[_0x1646ec(0x309)](),_0x44fec7=_0x3e066c[_0x1646ec(0x35f)]();_0x11bdf7['setPivotSort']={'view':_0x1836f5,'changesets':_0x44fec7,'isEmpty':_0x12391f,'pivotTableConfig':_0x54489b};}break;case _0x1222bc[_0x1646ec(0x2b6)]:{const _0x4b1eff=_0x1c9f81[_0x1646ec(0x35c)]['setPivotSetting'];if(!_0x4b1eff)return;const {tableFieldId:_0x55cfdf,displayName:_0x2b056f,subtotalType:_0x2419f4,format:_0x54668e}=_0x4b1eff,_0x58e51b=this['_sheetsPivotDataSourceModel'][_0x1646ec(0x442)](_0x43a11a),_0x509295=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x58e51b||!_0x509295)return;_0x58e51b[_0x1646ec(0x1bf)](),_0x2b056f!==void 0x0&&_0x58e51b[_0x1646ec(0x475)](_0x55cfdf,_0x2b056f),_0x2419f4!==void 0x0&&_0x58e51b[_0x1646ec(0x40c)](_0x55cfdf,_0x2419f4),_0x54668e!==void 0x0&&_0x58e51b[_0x1646ec(0x21b)](_0x55cfdf,_0x54668e);const _0x3e7555=_0x58e51b[_0x1646ec(0x412)](),_0x4daf06=_0x58e51b[_0x1646ec(0x36e)]()['toJSON'](),_0x148416=_0x58e51b['endCollectChangeset']();_0x11bdf7[_0x1646ec(0x2a9)]={'changesets':_0x148416,'pivotTableConfig':_0x509295,'isEmpty':_0x3e7555,'view':_0x4daf06};}break;case _0x1222bc['UpdatePivotSource']:{const _0x1275bb=_0x1c9f81['params'][_0x1646ec(0x3ef)];if(!_0x1275bb)return;const {dataRangeInfo:_0x926219,unitId:_0x2cd134,subUnitId:_0x1d7995}=_0x1275bb,_0x12ffbd=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x2cd134,_0x1d7995,_0x43a11a),_0x529dd9=this[_0x1646ec(0x340)]['getPivotTableInstance'](_0x43a11a);if(!this[_0x1646ec(0x340)][_0x1646ec(0x3d9)](_0x2cd134,_0x43a11a)||!_0x529dd9||!_0x12ffbd)return;const _0x2ab322=this[_0x1646ec(0x340)][_0x1646ec(0x39a)](_0x2cd134,_0x43a11a,_0x926219),_0x2d04e0=this[_0x1646ec(0x340)]['getCollection'](_0x2cd134,_0x43a11a)['toJSON'](),{collection:_0x2f2bbe}=this[_0x1646ec(0x340)][_0x1646ec(0x437)]({'unitId':_0x926219['unitId'],'sheetName':_0x926219['sheetName'],'subUnitId':_0x926219[_0x1646ec(0x2d3)],'range':_0x926219[_0x1646ec(0x1db)]}),_0x162d32=_0x2f2bbe['toJSON']();_0x529dd9[_0x1646ec(0x1bf)]();const _0x4cbbdc=this[_0x1646ec(0x340)]['getDataFieldManager'](_0x2cd134)[_0x1646ec(0x41f)]()||_0x426cf2[_0x1646ec(0x460)];_0x529dd9[_0x1646ec(0x24e)](_0x19c24e=>{const _0x1d16e0=_0x1646ec,_0x113c9a=_0x19c24e[_0x1d16e0(0x1d5)]();if(!_0x2f2bbe['hasField'](_0x113c9a)){const _0xacf74=_0x2f2bbe['getDataFieldBySourceName'](_0x19c24e[_0x1d16e0(0x323)]());if(_0xacf74){_0x529dd9[_0x1d16e0(0x32a)](_0x19c24e['getId'](),_0xacf74[_0x1d16e0(0x459)](),_0xacf74[_0x1d16e0(0x222)]());const {area:_0x478a6f}=_0x529dd9[_0x1d16e0(0x47c)](_0x19c24e[_0x1d16e0(0x222)]());let _0x5931d0=_0x19c24e[_0x1d16e0(0x323)]();const _0x5a7d90=_0x19c24e[_0x1d16e0(0x2e9)]();if(_0x478a6f===_0x426cf2[_0x1d16e0(0x23e)][_0x1d16e0(0x435)]){const _0x56f758=_0x19c24e['getSubtotal']();_0x5931d0=_0x4cbbdc(_0xacf74[_0x1d16e0(0x459)](),_0x56f758);}_0x5a7d90!==_0x5931d0&&_0x529dd9['renameField'](_0x19c24e[_0x1d16e0(0x222)](),_0x5931d0);}else _0x529dd9[_0x1d16e0(0x38f)](_0x19c24e['getId']());}});const _0xcdcf27=_0x529dd9[_0x1646ec(0x412)](),_0x5b9b62=_0x529dd9['query']()[_0x1646ec(0x309)](),_0xaac1c3=_0x529dd9[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x3ef)]={'view':_0x5b9b62,'changesets':_0xaac1c3,'isEmpty':_0xcdcf27,'pivotTableConfig':_0x12ffbd,'collectionConfig':_0x162d32,'oldCollectionConfig':_0x2d04e0,'deleteIds':_0x2ab322};}break;case _0x1222bc[_0x1646ec(0x3cf)]:{const _0x4a6104=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x20f)];if(!_0x4a6104)return;const {position:_0x59b452,index:_0x49a42e}=_0x4a6104,_0x27f95c=this['_sheetsPivotDataSourceModel'][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x27f95c)return!0x1;const _0x5e2a69=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x43a11a);if(!_0x5e2a69)return!0x1;_0x5e2a69[_0x1646ec(0x1bf)](),_0x5e2a69[_0x1646ec(0x20f)](_0x59b452,_0x49a42e);const _0x35503d=_0x5e2a69[_0x1646ec(0x412)](),_0x530681=_0x5e2a69[_0x1646ec(0x36e)]()[_0x1646ec(0x309)](),_0x428aa6=_0x5e2a69['endCollectChangeset']();_0x11bdf7[_0x1646ec(0x20f)]={'changesets':_0x428aa6,'pivotTableConfig':_0x27f95c,'isEmpty':_0x35503d,'view':_0x530681};}break;case _0x1222bc[_0x1646ec(0x2ed)]:{const _0x1ab33e=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x26f)];if(!_0x1ab33e)return;const {tableFieldId:_0x5c6a92,collapse:_0xf0f898,item:_0x39ed7b}=_0x1ab33e,_0x63c4b9=this[_0x1646ec(0x340)]['getPivotTableInstance'](_0x43a11a),_0xe03e68=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x63c4b9||!_0xe03e68)return;_0x63c4b9['startCollectChangeset'](),_0x63c4b9['setCollapse'](_0x5c6a92,_0xf0f898,_0x39ed7b);const _0x2a6058=_0x63c4b9[_0x1646ec(0x412)](),_0x31cb8b=_0x63c4b9[_0x1646ec(0x36e)]()['toJSON'](),_0x3b7b69=_0x63c4b9[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x26f)]={'view':_0x31cb8b,'isEmpty':_0x2a6058,'pivotTableConfig':_0xe03e68,'changesets':_0x3b7b69};}break;case _0x1222bc[_0x1646ec(0x3db)]:{const _0x56e0a8=_0x1c9f81['params'][_0x1646ec(0x2a8)];if(!_0x56e0a8)return;const {pivotTableConfig:_0x1ec5b1}=_0x56e0a8,_0x28abb7=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x43a11a),_0x5e9fa4=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x28abb7||!_0x5e9fa4)return;_0x28abb7['startCollectChangeset'](),_0x1e5c72(_0x28abb7,_0x1ec5b1);const _0xe9725e=_0x28abb7[_0x1646ec(0x412)](),_0x3919d3=_0x28abb7[_0x1646ec(0x36e)]()[_0x1646ec(0x309)](),_0x5a542=_0x28abb7[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x2a8)]={'view':_0x3919d3,'isEmpty':_0xe9725e,'pivotTableConfig':{..._0x5e9fa4,'fieldsConfig':_0x28abb7[_0x1646ec(0x309)]()},'changesets':_0x5a542};}break;case _0x1222bc[_0x1646ec(0x234)]:{const _0x145bd3=_0x1c9f81[_0x1646ec(0x35c)][_0x1646ec(0x408)];if(!_0x145bd3)return;const _0x56a8ab=this[_0x1646ec(0x340)][_0x1646ec(0x442)](_0x43a11a),_0x31f268=this[_0x1646ec(0x340)][_0x1646ec(0x34a)](_0x54f0ad,_0x117da6,_0x43a11a);if(!_0x56a8ab||!_0x31f268)return;_0x56a8ab['startCollectChangeset'](),_0x37d3ad(_0x56a8ab,_0x145bd3[_0x1646ec(0x26d)]);const _0x551037=_0x56a8ab[_0x1646ec(0x36e)]()['toJSON'](),_0x57390b=_0x56a8ab[_0x1646ec(0x35f)]();_0x11bdf7[_0x1646ec(0x408)]={'view':_0x551037,'isEmpty':!0x0,'pivotTableConfig':{..._0x31f268,'fieldsConfig':_0x56a8ab[_0x1646ec(0x309)]()},'changesets':_0x57390b};}break;case _0x1222bc[_0x1646ec(0x34d)]:{const _0x4976de=_0x1c9f81[_0x1646ec(0x35c)]['addPivotTableWithConfig'];if(!_0x4976de)return;const _0x47f75f=_0x4976de[_0x1646ec(0x23d)],_0x45cb37=_0x4976de['pivotTableId'],{collection:_0x35d545}=this[_0x1646ec(0x340)][_0x1646ec(0x437)]({'unitId':_0x47f75f[_0x1646ec(0x322)],'sheetName':_0x47f75f[_0x1646ec(0x3c4)],'subUnitId':_0x47f75f[_0x1646ec(0x2d3)],'range':_0x47f75f[_0x1646ec(0x1db)]}),_0x40e967=new _0x426cf2['PivotTable'](_0x35d545,void 0x0,_0x45cb37),_0x1edfb1=_0x35d545['getFieldIds'](),{rows:_0x4bcdf7,columns:_0x4021d4,filters:_0x1748c5,values:_0x55d35d}=_0x4976de['pivotTableIndexConfig'];_0x40e967['startCollectChangeset']();for(const {field:_0x5e3d98,selectedItems:_0x5adac2}of _0x4bcdf7||[]){const _0x460d54=_0x1edfb1[_0x5e3d98];if(_0x460d54){const _0x5040ee=_0x40e967[_0x1646ec(0x2f4)](_0x460d54,_0x426cf2['PivotTableFiledAreaEnum'][_0x1646ec(0x248)]);_0x5adac2&&_0x5040ee&&_0x40e967[_0x1646ec(0x3c3)](_0x5040ee[_0x1646ec(0x222)](),{'type':_0x426cf2[_0x1646ec(0x23a)][_0x1646ec(0x27a)],'list':_0x5adac2,'isAll':!0x1});}}for(const {field:_0xb12a68,selectedItems:_0x52080c}of _0x4021d4||[]){const _0x2afe10=_0x1edfb1[_0xb12a68];if(_0x2afe10){const _0x9e516b=_0x40e967[_0x1646ec(0x2f4)](_0x2afe10,_0x426cf2[_0x1646ec(0x23e)]['Column']);_0x52080c&&_0x9e516b&&_0x40e967['setLabelFilterInfo'](_0x9e516b['getId'](),{'type':_0x426cf2['PivotFilterTypeEnum'][_0x1646ec(0x27a)],'list':_0x52080c,'isAll':!0x1});}}for(const {field:_0x111a10,selectedItems:_0x507c8d}of _0x1748c5||[]){const _0x22874a=_0x1edfb1[_0x111a10];if(_0x22874a){const _0x433221=_0x40e967['addFieldWithSourceId'](_0x22874a,_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x1f3)]);_0x507c8d&&_0x433221&&_0x40e967[_0x1646ec(0x3c3)](_0x433221['getId'](),{'type':_0x426cf2[_0x1646ec(0x23a)][_0x1646ec(0x27a)],'list':_0x507c8d,'isAll':!0x1});}}for(const {field:_0x448f8e,subTotalType:_0x388657,formatString:_0x4ee7ec}of _0x55d35d||[]){const _0x2867bf=_0x35d545['getFieldById'](_0x1edfb1[_0x448f8e]);if(!_0x2867bf)continue;const _0x6f7970=_0x1edfb1[_0x448f8e];if(_0x6f7970){const _0x33e02f=_0x40e967[_0x1646ec(0x2f4)](_0x6f7970,_0x426cf2[_0x1646ec(0x23e)][_0x1646ec(0x435)]);if(_0x33e02f){if(_0x388657!==void 0x0){_0x40e967[_0x1646ec(0x40c)](_0x33e02f[_0x1646ec(0x222)](),_0x388657);const _0x4dcb9b=this[_0x1646ec(0x340)][_0x1646ec(0x358)](_0x47f75f[_0x1646ec(0x322)])[_0x1646ec(0x41f)]()||_0x426cf2[_0x1646ec(0x460)],_0x59cdcc=_0x35d545[_0x1646ec(0x2e9)](_0x6f7970),_0x5ebc92=_0x4dcb9b(_0x59cdcc,_0x388657);_0x40e967[_0x1646ec(0x475)](_0x33e02f[_0x1646ec(0x222)](),_0x5ebc92);}else{if(_0x2867bf){const _0x1a92fa=_0x2867bf==null?void 0x0:_0x2867bf['getFieldDataType']();_0x40e967[_0x1646ec(0x40c)](_0x33e02f[_0x1646ec(0x222)](),_0x1a92fa===_0x426cf2[_0x1646ec(0x38e)][_0x1646ec(0x1f0)]?_0x426cf2['PivotSubtotalTypeEnum'][_0x1646ec(0x1df)]:_0x426cf2['PivotSubtotalTypeEnum'][_0x1646ec(0x2ba)]);}}_0x4ee7ec&&_0x40e967[_0x1646ec(0x21b)](_0x33e02f[_0x1646ec(0x222)](),_0x4ee7ec);}}}const _0xfb6ee4=_0x40e967[_0x1646ec(0x36e)](),_0x199462=_0x40e967[_0x1646ec(0x309)](),_0x49109f=_0x40e967['isEmpty'](),_0xed6084=_0x40e967[_0x1646ec(0x35f)](),_0x984b1c=_0x35d545[_0x1646ec(0x309)]();_0x11bdf7['addPivotTableWithConfig']={'view':_0xfb6ee4,'fieldsConfig':_0x199462,'collectionConfig':_0x984b1c,'isEmpty':_0x49109f,'changesets':_0xed6084};}break;case _0x1222bc[_0x1646ec(0x3f5)]:{const _0x34fce9=_0x4e094c(this[_0x1646ec(0x208)],_0x1c9f81);if(!_0x34fce9)return;const {range:_0x47b952,sourceSubUnitId:_0x5678aa,sourceUnitId:_0x5c30da,formatMap:_0x5d41d0,indexes:_0x247568}=_0x34fce9;_0x11bdf7[_0x1646ec(0x299)]={'range':_0x47b952,'sourceSubUnitId':_0x5678aa,'sourceUnitId':_0x5c30da,'formatMap':_0x5d41d0,'indexes':_0x247568};}break;}this[_0x1646ec(0x42b)][_0x1646ec(0x1d9)](_0x535bb2['id'],{'version':_0x1c9f81[_0x1646ec(0x45a)],'result':_0x11bdf7},{'onlyLocal':!0x0});}));}[_0x6f5ed9(0x378)](){const _0x27fac9=_0x6f5ed9;this[_0x27fac9(0x237)](this[_0x27fac9(0x42b)][_0x27fac9(0x276)](_0x5cd8ec=>{const _0x4564e4=_0x27fac9;if(_0x5cd8ec['id']!==_0x49280b['id'])return;const _0x33e058=_0x5cd8ec['params'];return this[_0x4564e4(0x340)][_0x4564e4(0x28a)](_0x33e058[_0x4564e4(0x3dc)]),!0x0;}));}[_0x6f5ed9(0x371)](){const _0x1db879=_0x6f5ed9;this[_0x1db879(0x340)][_0x1db879(0x17c)]['subscribe'](_0x2cafd7=>{const _0x64ca20=_0x1db879;switch(_0x2cafd7['type']){case _0x27353a[_0x64ca20(0x39c)]:_0x2cafd7[_0x64ca20(0x318)]&&_0x2cafd7['targetCellInfo']&&this['handleSourceRangeChange'](_0x2cafd7[_0x64ca20(0x1f7)],_0x2cafd7['dataRangeInfo'],_0x2cafd7['targetCellInfo']);break;case _0x27353a[_0x64ca20(0x374)]:{const {unitId:_0x4c66d0,subUnitId:_0xcaa595,token:_0x6346cd}=_0x2cafd7;_0x4c66d0&&_0xcaa595&&_0x6346cd&&this[_0x64ca20(0x481)](_0x4c66d0,_0xcaa595,_0x6346cd);}break;case _0x27353a[_0x64ca20(0x1c3)]:{const {token:_0x1866b0,oldSourceRangeInfo:_0x1c6f2a,dataRangeInfo:_0x2e5813,targetCellInfo:_0x3793b3}=_0x2cafd7,{unitId:_0x2130e7,subUnitId:_0x370d2f}=_0x1c6f2a||{};_0x2130e7&&_0x370d2f&&_0x1866b0&&this[_0x64ca20(0x481)](_0x2130e7,_0x370d2f,_0x1866b0),_0x2e5813&&_0x3793b3&&this['handleSourceRangeChange'](_0x1866b0,_0x2e5813,_0x3793b3);}break;}});}[_0x6f5ed9(0x2ad)](){const _0x3e09c7=_0x6f5ed9;this[_0x3e09c7(0x340)][_0x3e09c7(0x398)][_0x3e09c7(0x281)](_0x28d5ad=>{const _0x3cc905=_0x3e09c7;Object[_0x3cc905(0x1b3)](_0x28d5ad)['forEach'](_0x4d1157=>{const _0xdff7d7=_0x3cc905,_0x22f881=this[_0xdff7d7(0x340)]['getTargetByPivotId'](_0x4d1157);if(_0x22f881){const _0x43884b=this[_0xdff7d7(0x340)]['getPivotTableConfig'](_0x22f881==null?void 0x0:_0x22f881['unitId'],_0x22f881==null?void 0x0:_0x22f881[_0xdff7d7(0x2d3)],_0x4d1157);_0x43884b&&(this[_0xdff7d7(0x3a4)](_0x4d1157,_0x43884b['sourceRangeInfo'],_0x43884b[_0xdff7d7(0x1fb)]),this[_0xdff7d7(0x461)]([{'unitId':_0x22f881[_0xdff7d7(0x322)],'subUnitId':_0x22f881['subUnitId'],'token':_0x4d1157}]));}});});}[_0x6f5ed9(0x267)](){const _0x75a680=_0x6f5ed9;this[_0x75a680(0x340)][_0x75a680(0x306)]['subscribe'](_0x3fd7d8=>{const _0x10f61f=_0x75a680,{unitId:_0x1ac994,subUnitId:_0x51fecf,pivotTableId:_0x1d2790}=_0x3fd7d8;_0x1ac994&&_0x51fecf&&_0x1d2790&&this[_0x10f61f(0x461)]([{'unitId':_0x1ac994,'subUnitId':_0x51fecf,'token':_0x1d2790}]);});}[_0x6f5ed9(0x461)](_0x7c4392){const _0x1d04c0=_0x6f5ed9,_0xa47431={};_0x7c4392[_0x1d04c0(0x3a7)](_0x13fb4c=>{var _0x3d27a7,_0x7e0739;const {unitId:_0x5d85b4,subUnitId:_0xd1746d,token:_0x24f4cb}=_0x13fb4c;_0xa47431[_0x5d85b4]=(_0x3d27a7=_0xa47431[_0x5d85b4])!=null?_0x3d27a7:{},_0xa47431[_0x5d85b4][_0xd1746d]=(_0x7e0739=_0xa47431[_0x5d85b4][_0xd1746d])!=null?_0x7e0739:{},_0xa47431[_0x5d85b4][_0xd1746d][_0x24f4cb]=!0x0;}),this[_0x1d04c0(0x42b)][_0x1d04c0(0x1d9)](_0xe09225['id'],_0xa47431);}[_0x6f5ed9(0x481)](_0x32f483,_0x5a89ce,_0x131c57){const _0x20ad69=_0x6f5ed9;this[_0x20ad69(0x35d)][_0x20ad69(0x1fc)](_0x32f483,_0x5a89ce,[_0x131c57]);}[_0x6f5ed9(0x3a4)](_0x7890d9,_0x52b100,_0x2a70c3){const _0x3a848d=_0x6f5ed9,{unitId:_0x9a7f43,subUnitId:_0x4eadb4}=_0x52b100;this[_0x3a848d(0x35d)][_0x3a848d(0x228)](_0x2a70c3['unitId'],_0x2a70c3[_0x3a848d(0x2d3)],_0x7890d9)&&this['removeSourceRangeChange'](_0x9a7f43,_0x4eadb4,_0x7890d9);const _0x1b1278={'sheetId':_0x4eadb4,..._0x52b100};this[_0x3a848d(0x35d)][_0x3a848d(0x24c)](_0x2a70c3[_0x3a848d(0x322)],_0x2a70c3[_0x3a848d(0x2d3)],_0x7890d9,{'unitId':_0x2a70c3[_0x3a848d(0x322)],'subUnitId':_0x2a70c3['subUnitId'],'dependencyRanges':[_0x1b1278],'getDirtyData':(_0x426118,_0x3b5eb7)=>{const _0x46ad5e=_0x3a848d,_0x215416=this[_0x46ad5e(0x340)],_0x10a6a0=_0x215416[_0x46ad5e(0x292)](_0x7890d9);if(!_0x10a6a0)return _0x23465a();const {unitId:_0x1e145a,subUnitId:_0x1cc69f}=_0x10a6a0,_0x3dfbc6=_0x42ff8c(_0x426118,_0x3b5eb7,_0x52b100);if(_0x3dfbc6['length']>0x0){const _0x5ebd62=_0x215416[_0x46ad5e(0x3d9)](_0x9a7f43,_0x7890d9),_0x3488b=_0x5ebd62[_0x46ad5e(0x2ca)](),_0x19b4c6=this[_0x46ad5e(0x487)](_0x52b100['unitId'],_0x52b100[_0x46ad5e(0x2d3)],_0x3b5eb7),_0x1eb8bd={},_0x47697b=this[_0x46ad5e(0x340)][_0x46ad5e(0x358)](_0x1e145a)[_0x46ad5e(0x41f)]()||_0x426cf2[_0x46ad5e(0x460)],_0x3f7edf=[];for(const _0x3036e6 of _0x3dfbc6){const _0x30c392=_0x3036e6-(_0x52b100['range'][_0x46ad5e(0x477)]||0x0),_0x1cf84d=_0x3488b[_0x30c392];_0x3f7edf[_0x46ad5e(0x321)](_0x1cf84d),_0x1eb8bd[_0x1cf84d]=_0x5ebd62['getFieldById'](_0x1cf84d)['getName'](),_0x215416[_0x46ad5e(0x358)](_0x9a7f43)[_0x46ad5e(0x199)](_0x1cf84d,_0x52b100,_0x30c392,_0x19b4c6);}_0x5ebd62[_0x46ad5e(0x3fe)](_0x3f7edf)[_0x46ad5e(0x3a7)](_0x2c517a=>{const _0xe5cc08=_0x46ad5e,[_0x5258cd,_0x326216]=_0x2c517a,_0x342abb=_0x5ebd62[_0xe5cc08(0x229)](_0x5258cd),_0x53ad26=_0x5ebd62[_0xe5cc08(0x229)](_0x326216);_0x342abb&&_0x53ad26&&_0x342abb['refreshGroupField'](_0x53ad26);}),_0x5ebd62['updateAllDisplayName']();const _0xb8f04=_0x215416[_0x46ad5e(0x442)](_0x7890d9);if(_0xb8f04){_0x4f6f46(_0xb8f04,_0x1eb8bd,_0x47697b),_0xb8f04[_0x46ad5e(0x203)](!0x0);const _0x5ef86e=_0xb8f04[_0x46ad5e(0x36e)](),_0x1bde44=_0x215416[_0x46ad5e(0x34a)](_0x1e145a,_0x1cc69f,_0x7890d9),_0x2a8b9b=_0x215416[_0x46ad5e(0x358)](_0x9a7f43)[_0x46ad5e(0x309)]();_0x215416[_0x46ad5e(0x327)](_0x1e145a,_0x1cc69f,_0x1bdb8f[_0x46ad5e(0x2e5)],_0x7890d9,_0x5ef86e,_0x1bde44,_0x2a8b9b,!0x0);}}return this[_0x46ad5e(0x40b)](_0x1e145a,_0x1cc69f,_0x7890d9);}});}[_0x6f5ed9(0x487)](_0x1c8d99,_0x56b951,_0x5c8edf){var _0x5b6dab,_0x2caf01;const {arrayFormulaCellData:_0x58f37a,unitData:_0xbd811d}=_0x5c8edf,_0x4d5b0a=(_0x5b6dab=_0x58f37a==null?void 0x0:_0x58f37a[_0x1c8d99])==null?void 0x0:_0x5b6dab[_0x56b951],_0x14e2e2=(_0x2caf01=_0xbd811d==null?void 0x0:_0xbd811d[_0x1c8d99])==null?void 0x0:_0x2caf01[_0x56b951];return{'arrayFormulaCellDataMatrix':_0x4d5b0a,'unitDataMatrix':_0x14e2e2};}[_0x6f5ed9(0x40b)](_0x18d227,_0x220d6c,_0x462193){const _0x5a5198=_0x6f5ed9,_0x2d4a71=this['_sheetsPivotDataSourceModel'][_0x5a5198(0x3ac)](_0x18d227,_0x220d6c,_0x462193),_0xbb5991=[],_0xbe73c2=new _0x6ffa6d[(_0x5a5198(0x291))]();if(_0x2d4a71){const {rangeCache:_0x8b5aa1,matrix:_0x484b9b,oldRangeCache:_0x3b0076,oldMatrix:_0x3bbcc5}=_0x2d4a71,_0x403de3=_0x5be06b(_0x3b0076),_0x508381=_0x5be06b(_0x8b5aa1);_0xbb5991['push'](..._0x508381,..._0x403de3),_0x3bbcc5&&_0x3b0076&&_0x403de3[_0x5a5198(0x3a7)](_0x2b2c2d=>{const _0x1f8be5=_0x5a5198;for(let _0x5cdd6b=_0x2b2c2d[_0x1f8be5(0x297)];_0x5cdd6b<=_0x2b2c2d['endRow'];_0x5cdd6b++)for(let _0xa891a0=_0x2b2c2d[_0x1f8be5(0x477)];_0xa891a0<=_0x2b2c2d[_0x1f8be5(0x3e9)];_0xa891a0++)_0xbe73c2['realDeleteValue'](_0x5cdd6b,_0xa891a0);}),_0x484b9b&&_0x508381&&_0x508381[_0x5a5198(0x3a7)](_0xb0806=>{const _0x43ac9c=_0x5a5198;for(let _0x5a806a=_0xb0806[_0x43ac9c(0x297)];_0x5a806a<=_0xb0806[_0x43ac9c(0x272)];_0x5a806a++)for(let _0x37ae23=_0xb0806[_0x43ac9c(0x477)];_0x37ae23<=_0xb0806[_0x43ac9c(0x3e9)];_0x37ae23++)_0xbe73c2['setValue'](_0x5a806a,_0x37ae23,_0x484b9b[_0x43ac9c(0x3d6)](_0x5a806a,_0x37ae23));});}const _0x57f561={};return _0x57f561[_0x18d227]={[_0x220d6c]:_0x2775b7(_0xbb5991)},{'runtimeCellData':{[_0x18d227]:{[_0x220d6c]:_0xbe73c2}},'dirtyRanges':_0x57f561};}[_0x6f5ed9(0x274)](){}};_0x1e5f48=_0x27a868([_0x47713b(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x185)])),_0x47713b(0x1,_0x6ffa6d['IConfigService']),_0x47713b(0x2,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x3e6642[_0x6f5ed9(0x2f0)])),_0x47713b(0x3,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x3fa)])),_0x47713b(0x4,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x3e6642[_0x6f5ed9(0x2b1)])),_0x47713b(0x5,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x24b)]))],_0x1e5f48);var _0x15ebe7=Object[_0x6f5ed9(0x1a9)],_0x1c1f8c=(_0x94bab4,_0x431351,_0x4b8b97,_0x2db4ee)=>{for(var _0x3bb701=_0x2db4ee>0x1?void 0x0:_0x2db4ee?_0x15ebe7(_0x431351,_0x4b8b97):_0x431351,_0x39917a=_0x94bab4['length']-0x1,_0x2216fb;_0x39917a>=0x0;_0x39917a--)(_0x2216fb=_0x94bab4[_0x39917a])&&(_0x3bb701=_0x2216fb(_0x3bb701)||_0x3bb701);return _0x3bb701;},_0x18257a=(_0x14e05d,_0x369d03)=>(_0x1671e9,_0x5d715a)=>_0x369d03(_0x1671e9,_0x5d715a,_0x14e05d);let _0x162c52=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x4a23b4,_0x261798,_0x3a94bb,_0x1f183b){const _0x48656b=_0x6f5ed9;super(),_0x47a2cd(this,'disposableCollection',new _0x6ffa6d['DisposableCollection']()),(this[_0x48656b(0x19e)]=_0x4a23b4,this[_0x48656b(0x44e)]=_0x261798,this[_0x48656b(0x283)]=_0x3a94bb,this['_sheetsPivotTableConfigModel']=_0x1f183b,this[_0x48656b(0x384)]());}[_0x6f5ed9(0x384)](){const _0x45ca8a=_0x6f5ed9;this[_0x45ca8a(0x237)](this[_0x45ca8a(0x44e)][_0x45ca8a(0x3ee)]({'getMutations':_0x417fcf=>{const _0x493c44=_0x45ca8a;if(_0x417fcf['id']===_0x2361cb[_0x493c44(0x46c)]['id']||_0x417fcf['id']===_0x2361cb[_0x493c44(0x1da)]['id']){const _0x3cfd91=[],_0x11c788=[],_0x2ca5d5=this[_0x493c44(0x283)][_0x493c44(0x467)]()['map'](_0x1e17f1=>_0x1e17f1['range']),_0x4a308b=_0x2361cb[_0x493c44(0x489)](this['_univerInstanceService']);if(!_0x4a308b)return{'redos':[],'undos':[]};const {unitId:_0x3031a6,subUnitId:_0x187ef8}=_0x4a308b,_0x338ebc={},_0x56ccb1=this[_0x493c44(0x310)]['getSubUnitPivotConfigs'](_0x3031a6,_0x187ef8);if(_0x56ccb1!=null&&_0x56ccb1[_0x493c44(0x317)])for(const [_0x4a9b16,_0x4e4e00]of _0x56ccb1){const {unitId:_0x98e679,subUnitId:_0x1b3583,row:_0x1eddeb,col:_0x50f098}=_0x4e4e00[_0x493c44(0x1fb)];_0x98e679===_0x4a308b[_0x493c44(0x322)]&&_0x1b3583===_0x4a308b['subUnitId']&&(_0x338ebc[_0x1eddeb+'-'+_0x50f098]=_0x4a9b16);}return _0x2ca5d5&&_0x4a308b&&_0x2ca5d5['forEach'](_0x2f6c6e=>{const _0x237e43=_0x493c44;_0x6ffa6d[_0x237e43(0x3ca)][_0x237e43(0x34f)](_0x2f6c6e,(_0x4b7e05,_0x444367)=>{const _0x42976c=_0x237e43,_0x338fcd=_0x4b7e05+'-'+_0x444367;if(_0x338ebc[_0x338fcd]){const _0x36893f=_0x338ebc[_0x338fcd];_0x3cfd91[_0x42976c(0x321)]({'id':_0x1d9fe9['id'],'params':{'unitId':_0x3031a6,'subUnitId':_0x187ef8,'pivotTableId':_0x36893f}});const _0x157dd2=this['_sheetsPivotTableConfigModel'][_0x42976c(0x3d9)](_0x3031a6,_0x36893f),_0x537baa=this[_0x42976c(0x310)][_0x42976c(0x34a)](_0x3031a6,_0x187ef8,_0x36893f);_0x11c788[_0x42976c(0x321)]({'id':_0x524173['id'],'params':{'unitId':_0x3031a6,'subUnitId':_0x187ef8,'pivotTableId':_0x36893f,'pivotTableConfig':_0x537baa,'collectionConfig':_0x157dd2}});}});}),{'redos':_0x3cfd91,'undos':_0x11c788};}return{'redos':[],'undos':[]};}}));}};_0x162c52=_0x1c1f8c([_0x18257a(0x0,_0x6ffa6d[_0x6f5ed9(0x491)]),_0x18257a(0x1,_0x6ffa6d['Inject'](_0x2361cb[_0x6f5ed9(0x3e1)])),_0x18257a(0x2,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb[_0x6f5ed9(0x3fc)])),_0x18257a(0x3,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x266)]))],_0x162c52);var _0x4e57fa=Object[_0x6f5ed9(0x1a9)],_0x41830b=(_0xc14c95,_0x13b6dd,_0x36622c,_0x31f026)=>{const _0x75a5a4=_0x6f5ed9;for(var _0x198ff9=_0x31f026>0x1?void 0x0:_0x31f026?_0x4e57fa(_0x13b6dd,_0x36622c):_0x13b6dd,_0x5c4f48=_0xc14c95[_0x75a5a4(0x293)]-0x1,_0x2ba545;_0x5c4f48>=0x0;_0x5c4f48--)(_0x2ba545=_0xc14c95[_0x5c4f48])&&(_0x198ff9=_0x2ba545(_0x198ff9)||_0x198ff9);return _0x198ff9;},_0x1c11d7=(_0x4a08c7,_0x262317)=>(_0x408fe9,_0x3db748)=>_0x262317(_0x408fe9,_0x3db748,_0x4a08c7);let _0x4ca569=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x374866,_0x34ec69,_0x2b8c2c,_0x17b8e1,_0x17b2b0,_0x12189c){const _0x3b5c24=_0x6f5ed9;super(),this[_0x3b5c24(0x3df)]=_0x374866,this[_0x3b5c24(0x44e)]=_0x34ec69,this[_0x3b5c24(0x208)]=_0x2b8c2c,this[_0x3b5c24(0x19e)]=_0x17b8e1,this[_0x3b5c24(0x310)]=_0x17b2b0,this[_0x3b5c24(0x367)]=_0x12189c,this['_initCommandInterceptListener']();}[_0x6f5ed9(0x1ca)](_0x18e308,_0x429371,_0x17ea99){const _0x2db0fd=_0x6f5ed9,{pageView:_0x518180,cornerView:_0x2bc208,rowView:_0x573533,colView:_0x360279,dataView:_0x53f29c}=_0x429371,_0x47317f=_0x18e308;let _0x50c0ef;if(_0x17ea99)_0x50c0ef=[..._0x297ca1(_0x47317f)];else{const _0x5a61fd=_0x5b7a08(_0x47317f,_0x518180,!0x0),_0x4e45fb=_0x518180['lastRow']>=0x0?_0x518180[_0x2db0fd(0x1f6)]+0x1:0x0,_0x17e3ac=_0x2bc208['rowCount'],_0x429822=_0x2bc208[_0x2db0fd(0x301)],_0x4be3a2=_0x5a61fd[_0x2db0fd(0x293)]>0x0?_0x523e5a:0x0,_0x39b6fb=_0x5b7a08({'row':_0x47317f['row']+_0x4e45fb+_0x4be3a2,'col':_0x47317f['col']},_0x2bc208,!0x1,!0x1),_0x27c81e=_0x5b7a08({'row':_0x47317f[_0x2db0fd(0x316)]+_0x4e45fb+_0x4be3a2+_0x17e3ac,'col':_0x47317f[_0x2db0fd(0x48d)]},_0x573533,!0x1,!0x0),_0xeacb03=_0x5b7a08({'row':_0x47317f[_0x2db0fd(0x316)]+_0x4e45fb+_0x4be3a2,'col':_0x47317f[_0x2db0fd(0x48d)]+_0x429822},_0x360279,!0x1,!0x0),_0x2969db=_0x5b7a08({'row':_0x47317f[_0x2db0fd(0x316)]+_0x4e45fb+_0x4be3a2+_0x17e3ac,'col':_0x47317f['col']+_0x429822},_0x53f29c,!0x1,!0x0);_0x50c0ef=[..._0x5a61fd,..._0x39b6fb,..._0x27c81e,..._0xeacb03,..._0x2969db];}return _0x50c0ef;}[_0x6f5ed9(0x352)](){const _0x293aee=_0x6f5ed9;this['disposeWithMe'](this[_0x293aee(0x367)][_0x293aee(0x2e7)][_0x293aee(0x1c7)](this[_0x293aee(0x367)][_0x293aee(0x2e7)][_0x293aee(0x3a6)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x2cb6db,_0x4b8b1d)=>{const _0x2f7544=_0x293aee,{cellInfo:_0x238d1f,view:_0x1ba0ec,isEmpty:_0x5ea4df}=_0x4b8b1d,_0x57bdc6=_0x238d1f,{unitId:_0x4752aa,subUnitId:_0x2dc98f}=_0x57bdc6,_0x585365=this[_0x2f7544(0x1ca)](_0x238d1f,_0x1ba0ec,_0x5ea4df),_0x33949f=this['_sheetInterceptorService'][_0x2f7544(0x339)]({'unitId':_0x4752aa,'subUnitId':_0x2dc98f,'ranges':_0x585365}),_0x199c36=_0x4b7ad7(this[_0x2f7544(0x208)],_0x4752aa,_0x2dc98f,_0x585365);_0x199c36[_0x2f7544(0x2d2)]&&(_0x33949f[_0x2f7544(0x32f)][_0x2f7544(0x321)](_0x199c36['setRangeValueRedoMutation']),_0x33949f[_0x2f7544(0x2dd)]['push'](_0x199c36[_0x2f7544(0x290)]));const _0x29be55=this[_0x2f7544(0x1c2)](_0x1ba0ec,_0x238d1f);return _0x33949f[_0x2f7544(0x32f)][_0x2f7544(0x321)](..._0x29be55[_0x2f7544(0x32f)]),_0x33949f[_0x2f7544(0x2dd)][_0x2f7544(0x321)](..._0x29be55[_0x2f7544(0x2dd)]),{'redos':_0x33949f[_0x2f7544(0x32f)],'undos':_0x33949f[_0x2f7544(0x2dd)]};}}));}[_0x6f5ed9(0x1c2)](_0x5493fc,_0x489055){const _0x1dce6d=_0x6f5ed9,{col:_0x5ea361,unitId:_0x23ea1a,subUnitId:_0x4377c7}=_0x489055,_0x276c56=[],_0x312507=[],_0xbc4390=_0x2361cb[_0x1dce6d(0x489)](this[_0x1dce6d(0x19e)],{'unitId':_0x23ea1a,'subUnitId':_0x4377c7});if(!_0x489055||!_0x5493fc||!_0xbc4390)return{'undos':_0x312507,'redos':_0x276c56};const _0x2a7dc2=this[_0x1dce6d(0x310)]['getTextInfo'](),{colView:_0x4a1f29,dataView:_0x8b219b,cornerView:_0x1a6618,rowView:_0x4653d3,formatMap:_0x1e691c}=_0x5493fc,_0x1cb7ff=_0x5baf45(_0x4a1f29,_0x2a7dc2,!0x0,_0x1e691c),_0xe688cc=_0x5baf45(_0x4653d3,_0x2a7dc2,!0x1,_0x1e691c),_0x5c3a6c=_0x48db21(_0x8b219b),_0x38bdf7=_0x240e5e(_0x1a6618),{worksheet:_0x34f1ca}=_0xbc4390;if(typeof window<'u'&&window[_0x1dce6d(0x429)]){const _0x4c2a44=_0x2675f0[_0x1dce6d(0x220)]({..._0x2f0b61['colStyle']}),_0x2d5ea4=_0x2675f0[_0x1dce6d(0x182)][_0x1dce6d(0x3fb)](_0x1cb7ff,_0x4c2a44)['width']+0x10,_0x3d9eff=_0x2675f0['FontCache'][_0x1dce6d(0x3fb)](_0x5c3a6c,_0x4c2a44)[_0x1dce6d(0x445)],_0x249efb=Math[_0x1dce6d(0x1dc)](Math[_0x1dce6d(0x387)](_0x2d5ea4,_0x3d9eff))+0x10,_0x3fb5f4=Math['floor'](_0x2675f0[_0x1dce6d(0x182)]['getTextSize'](_0xe688cc,_0x4c2a44)[_0x1dce6d(0x445)]),_0x119774=Math[_0x1dce6d(0x1dc)](_0x2675f0['FontCache'][_0x1dce6d(0x3fb)](_0x38bdf7,_0x4c2a44)['width']),_0x33c622=Math['max'](_0x3fb5f4,_0x119774,0x28)+0xc,_0xb235fa=_0x4a1f29['colCount']+_0x1a6618['colCount'],_0x415e73={},_0x20823c={};for(let _0x36fb97=_0x5ea361;_0x36fb97<_0x5ea361+_0xb235fa;_0x36fb97++){const _0x31bb1d=_0x34f1ca[_0x1dce6d(0x308)](_0x36fb97);_0x415e73[_0x36fb97]=_0x31bb1d,_0x36fb97-_0x5ea361<_0x1a6618['colCount']?_0x20823c[_0x36fb97-_0x5ea361]=_0x33c622:_0x20823c[_0x36fb97-_0x5ea361]=_0x249efb;}_0x276c56[_0x1dce6d(0x321)]({'id':_0x2361cb[_0x1dce6d(0x438)]['id'],'params':{'subUnitId':_0x4377c7,'unitId':_0x23ea1a,'ranges':[{'startColumn':_0x5ea361,'endColumn':_0x5ea361+_0xb235fa-0x1,'startRow':0x0,'endRow':_0x34f1ca[_0x1dce6d(0x471)]()-0x1}],'colWidth':_0x20823c}}),_0x312507[_0x1dce6d(0x321)]({'id':_0x2361cb[_0x1dce6d(0x438)]['id'],'params':{'subUnitId':_0x4377c7,'unitId':_0x23ea1a,'ranges':[{'startColumn':_0x5ea361,'endColumn':_0x5ea361+_0xb235fa-0x1,'startRow':0x0,'endRow':_0x34f1ca[_0x1dce6d(0x471)]()-0x1}],'colWidth':_0x415e73}});}return{'undos':_0x312507,'redos':_0x276c56};}};_0x4ca569=_0x41830b([_0x1c11d7(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x2aa)])),_0x1c11d7(0x1,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb[_0x6f5ed9(0x3e1)])),_0x1c11d7(0x2,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x24b)])),_0x1c11d7(0x3,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x491)])),_0x1c11d7(0x4,_0x6ffa6d['Inject'](_0x35c787[_0x6f5ed9(0x266)])),_0x1c11d7(0x5,_0x6ffa6d['Inject'](_0x35c787[_0x6f5ed9(0x207)]))],_0x4ca569);var _0x27ab8d=Object['getOwnPropertyDescriptor'],_0x10a28d=(_0x4abe00,_0x587935,_0x14638f,_0x1ca58e)=>{const _0x12b723=_0x6f5ed9;for(var _0x24a647=_0x1ca58e>0x1?void 0x0:_0x1ca58e?_0x27ab8d(_0x587935,_0x14638f):_0x587935,_0x1b414a=_0x4abe00[_0x12b723(0x293)]-0x1,_0x74160a;_0x1b414a>=0x0;_0x1b414a--)(_0x74160a=_0x4abe00[_0x1b414a])&&(_0x24a647=_0x74160a(_0x24a647)||_0x24a647);return _0x24a647;},_0x3d4d64=(_0x58b511,_0x4329fd)=>(_0x457df1,_0x3598b8)=>_0x4329fd(_0x457df1,_0x3598b8,_0x58b511);let _0x215d37=class extends _0x6ffa6d['Disposable']{constructor(_0x1cad82,_0x12bbf0,_0xe0b1da,_0x4f6420,_0x5f0f6c,_0x158ef4,_0x3f7ffb){const _0x572c4e=_0x6f5ed9;super(),_0x47a2cd(this,_0x572c4e(0x30a),new _0x6ffa6d['DisposableCollection']()),(this[_0x572c4e(0x208)]=_0x1cad82,this[_0x572c4e(0x419)]=_0x12bbf0,this[_0x572c4e(0x42b)]=_0xe0b1da,this[_0x572c4e(0x19e)]=_0x4f6420,this[_0x572c4e(0x310)]=_0x5f0f6c,this[_0x572c4e(0x3ad)]=_0x158ef4,this[_0x572c4e(0x44e)]=_0x3f7ffb,this[_0x572c4e(0x39f)]());}[_0x6f5ed9(0x39f)](){const _0x1636c6=_0x6f5ed9,_0x284c7a=(_0x4e3760,_0x913e7d)=>{const _0x5ac935=_0x5549,_0x4d1074=this[_0x5ac935(0x19e)][_0x5ac935(0x362)](_0x6ffa6d[_0x5ac935(0x19f)]['UNIVER_SHEET']);if(!_0x4d1074||!(_0x4d1074==null?void 0x0:_0x4d1074[_0x5ac935(0x410)](_0x913e7d)))return;this[_0x5ac935(0x30a)]['dispose']();const _0x3ba513=_0x1033f3=>this[_0x5ac935(0x28f)](_0x1033f3,_0x4e3760,_0x913e7d),_0xb62f8=this['_sheetsPivotTableConfigModel'][_0x5ac935(0x1a0)](_0x4e3760,_0x913e7d);if(!(_0xb62f8!=null&&_0xb62f8['size']))return;Array[_0x5ac935(0x325)](_0xb62f8[_0x5ac935(0x342)]())[_0x5ac935(0x38b)](_0x44784b=>{const _0x472d10=_0x5ac935,{row:_0x58fbec,col:_0x1db502}=_0x44784b[_0x472d10(0x1fb)];return _0x6ffa6d[_0x472d10(0x38c)](_0x58fbec,_0x1db502);})[_0x5ac935(0x3a7)](_0xd4e82a=>{const _0x3a71bb=_0x5ac935;this[_0x3a71bb(0x30a)]['add'](this[_0x3a71bb(0x419)][_0x3a71bb(0x373)](_0xd4e82a,_0x3ba513,_0x4e3760,_0x913e7d));});},_0x3a0842=()=>{const _0x225fdb=_0x5549,_0x464311=this[_0x225fdb(0x19e)][_0x225fdb(0x362)](_0x6ffa6d['UniverInstanceType'][_0x225fdb(0x335)]);if(_0x464311){const _0x45f4db=_0x464311[_0x225fdb(0x3bb)]();if(!_0x45f4db)return;_0x284c7a(_0x464311[_0x225fdb(0x2d1)](),_0x45f4db[_0x225fdb(0x1ac)]());}};this[_0x1636c6(0x237)](this[_0x1636c6(0x42b)][_0x1636c6(0x276)](_0x3d5c06=>{const _0x3a0031=_0x1636c6;if(_0x3d5c06['id']===_0x2361cb['SetWorksheetActiveOperation']['id']){const _0x262412=_0x3d5c06[_0x3a0031(0x35c)],_0x514ea2=_0x262412[_0x3a0031(0x2d3)],_0x116cc4=_0x262412['unitId'];if(!_0x514ea2||!_0x116cc4)return;_0x284c7a(_0x116cc4,_0x514ea2);}})),this[_0x1636c6(0x237)](this[_0x1636c6(0x310)][_0x1636c6(0x472)]['subscribe'](_0x2acc4b=>{_0x2acc4b&&_0x3a0842();})),this[_0x1636c6(0x237)](this[_0x1636c6(0x310)][_0x1636c6(0x3da)]['subscribe'](_0x39f38c=>{const _0x56fc17=_0x1636c6,_0x13202d=_0x2361cb[_0x56fc17(0x489)](this[_0x56fc17(0x19e)]);if(!_0x13202d)return;const {unitId:_0x2cb71b,subUnitId:_0x3c326d}=_0x13202d,{unitId:_0x377d7d,subUnitId:_0x2555e5}=_0x39f38c;_0x2cb71b!==_0x377d7d||_0x3c326d!==_0x2555e5||_0x284c7a(_0x2cb71b,_0x3c326d);})),_0x3a0842();}[_0x6f5ed9(0x28f)](_0x47f6e8,_0x3fbc30,_0x2d19a1){const _0x4228d1=_0x6f5ed9;switch(_0x47f6e8['id']){case _0x2361cb[_0x4228d1(0x462)]['id']:return this[_0x4228d1(0x2d9)](_0x47f6e8[_0x4228d1(0x35c)],_0x3fbc30,_0x2d19a1);}return{'redos':[],'undos':[]};}[_0x6f5ed9(0x2d9)](_0x23439a,_0x410af0,_0x104bae){const _0x524ae8=_0x6f5ed9,{fromRange:_0x302169,toRange:_0x13dd80}=_0x23439a,_0x180e4f=[],_0x23fc05=[],_0x4a25f7=_0x2361cb[_0x524ae8(0x489)](this[_0x524ae8(0x19e)]);if(!_0x4a25f7)return{'undos':_0x23fc05,'redos':_0x180e4f};if(_0x410af0!==_0x4a25f7[_0x524ae8(0x322)]||_0x104bae!==_0x4a25f7[_0x524ae8(0x2d3)])return{'undos':_0x23fc05,'redos':_0x180e4f};const _0x5e4057=this['_sheetsPivotTableConfigModel'][_0x524ae8(0x1a0)](_0x410af0,_0x104bae);if(_0x5e4057!=null&&_0x5e4057[_0x524ae8(0x317)])for(const [_0x23649c,_0x4783ea]of _0x5e4057){const {unitId:_0x5d65f9,subUnitId:_0x22fbd9,row:_0x1328be,col:_0x2913d2}=_0x4783ea[_0x524ae8(0x1fb)];if(_0x5d65f9===_0x4a25f7[_0x524ae8(0x322)]&&_0x22fbd9===_0x4a25f7['subUnitId']){const _0x9a2ad=_0x6ffa6d[_0x524ae8(0x38c)](_0x1328be,_0x2913d2);if(_0x6ffa6d[_0x524ae8(0x341)][_0x524ae8(0x21c)](_0x9a2ad,_0x302169)){const _0x15f571=_0x1328be-_0x302169['startRow'],_0x17cc2f=_0x2913d2-_0x302169[_0x524ae8(0x477)],_0x4a0486={'row':_0x13dd80['startRow']+_0x15f571,'col':_0x13dd80[_0x524ae8(0x477)]+_0x17cc2f};_0x180e4f['push']({'id':_0x34b248['id'],'params':{'unitId':_0x5d65f9,'subUnitId':_0x22fbd9,'pivotTableId':_0x23649c,'targetCellPosition':_0x4a0486}}),_0x23fc05[_0x524ae8(0x321)]({'id':_0x34b248['id'],'params':{'unitId':_0x5d65f9,'subUnitId':_0x22fbd9,'pivotTableId':_0x23649c,'targetCellPosition':{'row':_0x1328be,'col':_0x2913d2}}});const _0x3dbc24=_0x4a0486['row']-_0x1328be,_0x421dd4=_0x4a0486[_0x524ae8(0x48d)]-_0x2913d2,_0x50dbab=[],_0x286d25=this[_0x524ae8(0x3ad)][_0x524ae8(0x42e)](_0x5d65f9,_0x22fbd9,_0x23649c),_0x48c32e=_0x286d25==null?void 0x0:_0x286d25['rangesInfo'];if(_0x48c32e){Object[_0x524ae8(0x1b3)](_0x48c32e)[_0x524ae8(0x3a7)](_0x5c3cfa=>{_0x48c32e[_0x5c3cfa]['forEach'](_0x72c9a5=>{const _0xd260d2=_0x5549,_0x1b6b39={..._0x72c9a5};_0x1b6b39[_0xd260d2(0x297)]=_0x72c9a5[_0xd260d2(0x297)]+_0x3dbc24,_0x1b6b39[_0xd260d2(0x272)]=_0x72c9a5[_0xd260d2(0x272)]+_0x3dbc24,_0x1b6b39[_0xd260d2(0x477)]=_0x72c9a5['startColumn']+_0x421dd4,_0x1b6b39[_0xd260d2(0x3e9)]=_0x72c9a5[_0xd260d2(0x3e9)]+_0x421dd4,_0x50dbab[_0xd260d2(0x321)](_0x1b6b39);});});const _0x3f383d=this[_0x524ae8(0x44e)]['generateMutationsByRanges']({'unitId':_0x5d65f9,'subUnitId':_0x22fbd9,'ranges':_0x50dbab});_0x180e4f[_0x524ae8(0x321)](..._0x3f383d[_0x524ae8(0x32f)]),_0x23fc05[_0x524ae8(0x321)](..._0x3f383d[_0x524ae8(0x2dd)]);const _0x5b5b34=_0x4b7ad7(this['_injector'],_0x5d65f9,_0x22fbd9,_0x50dbab);_0x5b5b34['shouldClear']&&(_0x180e4f['push'](_0x5b5b34['setRangeValueRedoMutation']),_0x23fc05[_0x524ae8(0x321)](_0x5b5b34[_0x524ae8(0x290)]));}}}}return{'redos':_0x180e4f,'undos':_0x23fc05};}};_0x215d37=_0x10a28d([_0x3d4d64(0x0,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x24b)])),_0x3d4d64(0x1,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb[_0x6f5ed9(0x1e8)])),_0x3d4d64(0x2,_0x6ffa6d[_0x6f5ed9(0x3fa)]),_0x3d4d64(0x3,_0x6ffa6d[_0x6f5ed9(0x491)]),_0x3d4d64(0x4,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x266)])),_0x3d4d64(0x5,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x2e3)])),_0x3d4d64(0x6,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb[_0x6f5ed9(0x3e1)]))],_0x215d37);var _0x230cae=Object[_0x6f5ed9(0x1a9)],_0x42a144=(_0x1d4304,_0x292d84,_0xda45e7,_0x3ccf8e)=>{const _0x413cc9=_0x6f5ed9;for(var _0xd19c86=_0x3ccf8e>0x1?void 0x0:_0x3ccf8e?_0x230cae(_0x292d84,_0xda45e7):_0x292d84,_0x16e921=_0x1d4304[_0x413cc9(0x293)]-0x1,_0xdcacd9;_0x16e921>=0x0;_0x16e921--)(_0xdcacd9=_0x1d4304[_0x16e921])&&(_0xd19c86=_0xdcacd9(_0xd19c86)||_0xd19c86);return _0xd19c86;},_0x114949=(_0x4c82e2,_0x20564e)=>(_0x177642,_0x2cacb7)=>_0x20564e(_0x177642,_0x2cacb7,_0x4c82e2);let _0x3dac46=class extends _0x6ffa6d['Disposable']{constructor(_0x262959,_0x584ff6){const _0x33776b=_0x6f5ed9;super(),this[_0x33776b(0x44e)]=_0x262959,this[_0x33776b(0x310)]=_0x584ff6,this[_0x33776b(0x3d4)]();}[_0x6f5ed9(0x3d4)](){const _0x3eaed2=_0x6f5ed9;this[_0x3eaed2(0x237)](this[_0x3eaed2(0x44e)]['interceptCommand']({'getMutations':_0x1644f3=>{const _0x94899a=_0x3eaed2;if(_0x1644f3['id']===_0x2361cb['RemoveSheetCommand']['id']){const _0x4dc38b=[],_0x321ca1=[],_0x4316c4=_0x1644f3[_0x94899a(0x35c)],{unitId:_0x5c3b07,subUnitId:_0x36e06c}=_0x4316c4;if(!_0x5c3b07||!_0x36e06c)return{'undos':_0x321ca1,'redos':_0x4dc38b};const _0x23e9f1=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x5c3b07,_0x36e06c);if(_0x23e9f1!=null&&_0x23e9f1[_0x94899a(0x317)])for(const [_0x24928b,_0x3dbab6]of _0x23e9f1){_0x4dc38b[_0x94899a(0x321)]({'id':_0x1d9fe9['id'],'params':{'unitId':_0x5c3b07,'subUnitId':_0x36e06c,'pivotTableId':_0x24928b}});const _0x3a4b47={...this[_0x94899a(0x310)][_0x94899a(0x3d9)](_0x5c3b07,_0x24928b)};_0x321ca1[_0x94899a(0x321)]({'id':_0x524173['id'],'params':{'unitId':_0x5c3b07,'subUnitId':_0x36e06c,'pivotTableId':_0x24928b,'pivotTableConfig':_0x3dbab6,'collectionConfig':_0x3a4b47}});}return{'redos':_0x4dc38b,'undos':_0x321ca1};}return{'redos':[],'undos':[]};}}));}};_0x3dac46=_0x42a144([_0x114949(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x2361cb[_0x6f5ed9(0x3e1)])),_0x114949(0x1,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x266)]))],_0x3dac46);var _0x2c8bbe=Object[_0x6f5ed9(0x1a9)],_0x171e4d=(_0x34d46c,_0x4f41d4,_0x59c5dc,_0x117078)=>{for(var _0xda118e=_0x117078>0x1?void 0x0:_0x117078?_0x2c8bbe(_0x4f41d4,_0x59c5dc):_0x4f41d4,_0x555338=_0x34d46c['length']-0x1,_0xdf9ac7;_0x555338>=0x0;_0x555338--)(_0xdf9ac7=_0x34d46c[_0x555338])&&(_0xda118e=_0xdf9ac7(_0xda118e)||_0xda118e);return _0xda118e;},_0xa12279=(_0x4da2a2,_0x4e5c60)=>(_0x518f1d,_0x49b186)=>_0x4e5c60(_0x518f1d,_0x49b186,_0x4da2a2);let _0x58ac0e=class extends _0x6ffa6d[_0x6f5ed9(0x40a)]{constructor(_0x33f386,_0x23a15b,_0x313a24,_0x230570,_0x326c80,_0x59dd26){const _0x5b7aae=_0x6f5ed9;super(),this[_0x5b7aae(0x42b)]=_0x33f386,this[_0x5b7aae(0x3f0)]=_0x23a15b,this[_0x5b7aae(0x3ad)]=_0x313a24,this[_0x5b7aae(0x310)]=_0x230570,this[_0x5b7aae(0x19e)]=_0x326c80,this[_0x5b7aae(0x2c0)]=_0x59dd26,this[_0x5b7aae(0x3c8)](),this[_0x5b7aae(0x480)]();}['_initDataSendListener'](){const _0x25b1a5=_0x6f5ed9;this[_0x25b1a5(0x237)](this['_commandService'][_0x25b1a5(0x276)](_0x1356ce=>{const _0x416076=_0x25b1a5;if(_0x1356ce['id']!==_0x535bb2['id'])return;const _0x125301=_0x1356ce[_0x416076(0x35c)];this[_0x416076(0x3f0)]['handleAsyncResponse'](_0x125301);})),this['disposeWithMe'](this[_0x25b1a5(0x42b)][_0x25b1a5(0x276)](_0x5a9041=>{const _0x46e8c9=_0x25b1a5;if(_0x5a9041['id']===_0x5533a9['id']){const _0x44e64b=_0x5a9041[_0x46e8c9(0x35c)];if(_0x44e64b){const {unitId:_0x337b3e,subUnitId:_0x3ba21d,oldSubUnitId:_0x33fae6,pivotTableId:_0x4140e8,pivotTableConfig:_0x4a2e99,collectionConfig:_0x1f61c6}=_0x44e64b;this[_0x46e8c9(0x310)][_0x46e8c9(0x193)](_0x337b3e,_0x33fae6,_0x44e64b['pivotTableId'],null),this[_0x46e8c9(0x310)]['updateConfigCache'](_0x337b3e,_0x3ba21d,_0x4140e8,_0x4a2e99),this[_0x46e8c9(0x310)][_0x46e8c9(0x1ae)](_0x337b3e,_0x1f61c6);}}})),this[_0x25b1a5(0x237)](this[_0x25b1a5(0x42b)][_0x25b1a5(0x276)](_0x158ef9=>{const _0x8e8ffd=_0x25b1a5;if(_0x158ef9['id']!==_0x2806a0['id'])return;const _0x4c4a49=_0x2361cb['getSheetCommandTarget'](this[_0x8e8ffd(0x19e)]);if(!_0x4c4a49)return;const {unitId:_0x146dc3,subUnitId:_0x384d28}=_0x4c4a49,_0x5a8656=_0x158ef9[_0x8e8ffd(0x35c)];if(_0x5a8656['collectionConfig']&&Object[_0x8e8ffd(0x1b3)](_0x5a8656[_0x8e8ffd(0x469)])[_0x8e8ffd(0x3a7)](_0x56f8f4=>{const _0x4b17cf=_0x8e8ffd;var _0x4642ea;(_0x4642ea=_0x5a8656[_0x4b17cf(0x469)])!=null&&_0x4642ea[_0x56f8f4]&&this[_0x4b17cf(0x310)][_0x4b17cf(0x1ae)](_0x56f8f4,_0x5a8656['collectionConfig'][_0x56f8f4]);}),_0x5a8656[_0x8e8ffd(0x1a7)]){const _0x3fa3cb=_0x5a8656['single'],{unitId:_0x4898bf,subUnitId:_0x5c5f8c,view:_0x4b9c7f,pivotTableId:_0x4d9210,type:_0x2c4a64,pivotConfig:_0x167d6c}=_0x3fa3cb;if(_0x2c4a64===_0x1bdb8f['Delete'])this[_0x8e8ffd(0x3ad)][_0x8e8ffd(0x202)]({'unitId':_0x4898bf,'subUnitId':_0x5c5f8c,'pivotTableId':_0x4d9210,'type':_0x2c4a64}),this['_sheetsPivotTableConfigModel'][_0x8e8ffd(0x193)](_0x4898bf,_0x5c5f8c,_0x4d9210,null);else{const _0x5b798e=new _0x426cf2[(_0x8e8ffd(0x2c4))]();_0x5b798e[_0x8e8ffd(0x357)](_0x4b9c7f),this[_0x8e8ffd(0x310)][_0x8e8ffd(0x193)](_0x4898bf,_0x5c5f8c,_0x4d9210,_0x167d6c),this[_0x8e8ffd(0x3ad)][_0x8e8ffd(0x202)]({'unitId':_0x4898bf,'subUnitId':_0x5c5f8c,'pivotTableId':_0x4d9210,'type':_0x2c4a64,'view':_0x5b798e}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0x4898bf,'subUnitId':_0x5c5f8c,'view':_0x5b798e,'pivotTableId':_0x4d9210,'type':_0x2c4a64});}}else _0x5a8656[_0x8e8ffd(0x200)]&&(_0x5a8656['batch'][_0x8e8ffd(0x3a7)](_0x25f610=>{const _0x2a9f54=_0x8e8ffd,{unitId:_0x561268,subUnitId:_0x4e3873,view:_0x2d71ef,pivotTableId:_0x325ea8,type:_0x1c812c,pivotConfig:_0x589121}=_0x25f610,_0x39abaa=new _0x426cf2[(_0x2a9f54(0x2c4))]();_0x39abaa[_0x2a9f54(0x357)](_0x2d71ef),this[_0x2a9f54(0x310)]['updateConfigCache'](_0x561268,_0x4e3873,_0x325ea8,_0x589121),this[_0x2a9f54(0x3ad)][_0x2a9f54(0x25b)]({'unitId':_0x561268,'subUnitId':_0x4e3873,'view':_0x39abaa,'pivotTableId':_0x325ea8,'type':_0x1c812c});}),this['_sheetsPivotTableConfigModel'][_0x8e8ffd(0x319)]());this[_0x8e8ffd(0x3ad)]['markDirty'](_0x146dc3,_0x384d28);}));}['registerDirtyService'](){const _0x203812=_0x6f5ed9;this[_0x203812(0x2c0)][_0x203812(0x24c)](_0xe09225['id'],{'commandId':_0xe09225['id'],'getDirtyData'(_0x3d7fa6){return{'dirtyUnitFeatureMap':_0x3d7fa6['params']};}});}};_0x58ac0e=_0x171e4d([_0xa12279(0x0,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x3fa)])),_0xa12279(0x1,_0x6ffa6d['Inject'](_0x35c787[_0x6f5ed9(0x214)])),_0xa12279(0x2,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x2e3)])),_0xa12279(0x3,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x35c787[_0x6f5ed9(0x266)])),_0xa12279(0x4,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x491)])),_0xa12279(0x5,_0x3e6642[_0x6f5ed9(0x21a)])],_0x58ac0e);var _0x4bc2a4=Object[_0x6f5ed9(0x304)],_0x490fb2=Object[_0x6f5ed9(0x1a9)],_0x251bd6=(_0x1c3324,_0x43d0e2,_0x5bd912)=>_0x43d0e2 in _0x1c3324?_0x4bc2a4(_0x1c3324,_0x43d0e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bd912}):_0x1c3324[_0x43d0e2]=_0x5bd912,_0x173390=(_0x3161d4,_0x43d378,_0x8fe92a,_0x3a6dec)=>{const _0x4caf1e=_0x6f5ed9;for(var _0x352219=_0x3a6dec>0x1?void 0x0:_0x3a6dec?_0x490fb2(_0x43d378,_0x8fe92a):_0x43d378,_0x2fd5bc=_0x3161d4[_0x4caf1e(0x293)]-0x1,_0x5446f4;_0x2fd5bc>=0x0;_0x2fd5bc--)(_0x5446f4=_0x3161d4[_0x2fd5bc])&&(_0x352219=_0x5446f4(_0x352219)||_0x352219);return _0x352219;},_0x2e4583=(_0x50b652,_0x64a3b9)=>(_0x58f9cd,_0x4e81a0)=>_0x64a3b9(_0x58f9cd,_0x4e81a0,_0x50b652),_0x244e0d=(_0x161fe8,_0x365fb1,_0x298d7b)=>_0x251bd6(_0x161fe8,typeof _0x365fb1!=_0x6f5ed9(0x1c9)?_0x365fb1+'':_0x365fb1,_0x298d7b);_0x35c787[_0x6f5ed9(0x261)]=class extends _0x6ffa6d[_0x6f5ed9(0x44a)]{constructor(_0xcc268e=_0x246221,_0x393235,_0x1fba12,_0x2c3a6e,_0x11e39f){const _0x9ef508=_0x6f5ed9;super(),this[_0x9ef508(0x441)]=_0xcc268e,this[_0x9ef508(0x208)]=_0x393235,this[_0x9ef508(0x42b)]=_0x1fba12,this[_0x9ef508(0x347)]=_0x2c3a6e,this[_0x9ef508(0x455)]=_0x11e39f;const {..._0xb2882d}=_0x6ffa6d[_0x9ef508(0x2b0)]({},_0x246221,this[_0x9ef508(0x441)]);this[_0x9ef508(0x347)][_0x9ef508(0x331)](_0xdced9d,_0xb2882d),this[_0x9ef508(0x448)](),this[_0x9ef508(0x217)]();}[_0x6f5ed9(0x217)](){const _0x112c7b=_0x6f5ed9;var _0x3ca9bb;const _0x59b009=(_0x3ca9bb=this['_config'])==null?void 0x0:_0x3ca9bb[_0x112c7b(0x265)];this[_0x112c7b(0x347)]['setConfig'](_0x838977,_0x59b009===!0x0);}[_0x6f5ed9(0x27b)](){const _0x45a2c6=_0x6f5ed9;var _0x257da8;let _0x2b7845=[];const _0x710f04=(_0x257da8=this[_0x45a2c6(0x441)])==null?void 0x0:_0x257da8[_0x45a2c6(0x265)];_0x710f04===!0x0?_0x2b7845=[[_0x35c787[_0x45a2c6(0x207)]],[_0x35c787['SheetsPivotRPCService']],[_0x58ac0e],[_0x35c787['SheetsPivotTableAdaptorModel']],[_0x35c787[_0x45a2c6(0x266)]],[_0x3dac46],[_0x162c52],[_0x215d37],[_0x4ca569]]:_0x710f04===!0x1?_0x2b7845=[[_0x35c787[_0x45a2c6(0x185)]],[_0x1e5f48]]:_0x710f04===void 0x0&&(_0x2b7845=[[_0x35c787[_0x45a2c6(0x185)]],[_0x1e5f48],[_0x35c787[_0x45a2c6(0x207)]],[_0x35c787[_0x45a2c6(0x214)]],[_0x58ac0e],[_0x35c787[_0x45a2c6(0x2e3)]],[_0x35c787['SheetsPivotTableConfigModel']],[_0x3dac46],[_0x162c52],[_0x215d37],[_0x4ca569]]),_0x2b7845[_0x45a2c6(0x3a7)](_0x5b49f1=>this[_0x45a2c6(0x208)][_0x45a2c6(0x39c)](_0x5b49f1)),[_0x1e5f48,_0x58ac0e,_0x35c787[_0x45a2c6(0x207)],_0x162c52,_0x3dac46,_0x215d37,_0x4ca569][_0x45a2c6(0x3a7)](_0x1547af=>{const _0x56e53d=_0x45a2c6;this['_injector'][_0x56e53d(0x228)](_0x1547af)&&this[_0x56e53d(0x208)][_0x56e53d(0x446)](_0x1547af);});}['_initRegisterCommand'](){const _0x1a971c=_0x6f5ed9;[_0x7aab6f,_0x59d57c,_0xc0513b,_0x56cd53,_0x3445dc,_0x4b649e,_0x9577c5,_0x137eeb,_0x553f42,_0x2a0eec,_0x259856,_0x446e9a,_0x5011ab,_0x5638db,_0x524173,_0x2fe399,_0x1d9fe9,_0x3162b8,_0xa1b196,_0x11cfc9,_0x4e8127,_0x2cf165,_0x382b64,_0x2bbb11,_0x3df2c2,_0x5129ed,_0x34b248,_0x1ca9ca,_0x535bb2,_0x2806a0,_0x960903,_0x3c682e,_0x371bfd,_0x117dd7,_0x49280b,_0x455e79,_0x10371c,_0xe09225,_0x5533a9,_0x310234,_0xe3f52a,_0x551cd2,_0x127bbd][_0x1a971c(0x3a7)](_0xa4990b=>{const _0x4be1ad=_0x1a971c;var _0x52ada2;(_0x52ada2=this['_dataSyncPrimaryController'])==null||_0x52ada2[_0x4be1ad(0x245)](_0xa4990b),this[_0x4be1ad(0x42b)]['registerCommand'](_0xa4990b);});}},_0x244e0d(_0x35c787[_0x6f5ed9(0x261)],_0x6f5ed9(0x1fd),_0x33898b),_0x244e0d(_0x35c787[_0x6f5ed9(0x261)],_0x6f5ed9(0x41b),_0x6ffa6d[_0x6f5ed9(0x19f)][_0x6f5ed9(0x335)]),_0x35c787[_0x6f5ed9(0x261)]=_0x173390([_0x6ffa6d[_0x6f5ed9(0x219)](_0x225f82[_0x6f5ed9(0x364)]),_0x2e4583(0x1,_0x6ffa6d[_0x6f5ed9(0x29d)](_0x6ffa6d[_0x6f5ed9(0x24b)])),_0x2e4583(0x2,_0x6ffa6d['Inject'](_0x6ffa6d[_0x6f5ed9(0x3fa)])),_0x2e4583(0x3,_0x6ffa6d['IConfigService']),_0x2e4583(0x4,_0x6ffa6d[_0x6f5ed9(0x3b4)](_0x217075['DataSyncPrimaryController']))],_0x35c787[_0x6f5ed9(0x261)]),_0x35c787['AddPivotFieldCommand']=_0xc0513b,_0x35c787[_0x6f5ed9(0x1b9)]=_0x3162b8,_0x35c787[_0x6f5ed9(0x21f)]=_0x59d57c,_0x35c787[_0x6f5ed9(0x426)]=_0x524173,_0x35c787[_0x6f5ed9(0x1d1)]=_0x7aab6f,_0x35c787[_0x6f5ed9(0x252)]=_0x523e5a,_0x35c787[_0x6f5ed9(0x1b7)]=_0x7f0533,_0x35c787[_0x6f5ed9(0x344)]=_0x56cd53,_0x35c787[_0x6f5ed9(0x1a6)]=_0x5011ab,_0x35c787[_0x6f5ed9(0x24f)]=_0x1222bc,_0x35c787[_0x6f5ed9(0x313)]=_0x5638db,_0x35c787[_0x6f5ed9(0x43f)]=_0x1bdb8f,_0x35c787[_0x6f5ed9(0x3d1)]=_0xe09225,_0x35c787[_0x6f5ed9(0x2d6)]=_0x202116,_0x35c787[_0x6f5ed9(0x3ba)]=_0x3445dc,_0x35c787[_0x6f5ed9(0x1b4)]=_0x2cf165,_0x35c787[_0x6f5ed9(0x430)]=_0x1d9fe9,_0x35c787[_0x6f5ed9(0x372)]=_0x382b64,_0x35c787[_0x6f5ed9(0x2b2)]=_0x127bbd,_0x35c787['SHEETS_PIVOT_PLUGIN_CONFIG_KEY']=_0xdced9d,_0x35c787[_0x6f5ed9(0x247)]=_0x33898b,_0x35c787['SetPivotCollapseCommand']=_0x137eeb,_0x35c787[_0x6f5ed9(0x2fc)]=_0x2bbb11,_0x35c787[_0x6f5ed9(0x2c3)]=_0x117dd7,_0x35c787[_0x6f5ed9(0x2fa)]=_0x551cd2,_0x35c787['SetPivotFilterCommand']=_0x2a0eec,_0x35c787[_0x6f5ed9(0x204)]=_0x4e8127,_0x35c787[_0x6f5ed9(0x294)]=_0x5129ed,_0x35c787['SetPivotPositionMutation']=_0x34b248,_0x35c787['SetPivotSortCommand']=_0x553f42,_0x35c787[_0x6f5ed9(0x32b)]=_0x3df2c2,_0x35c787[_0x6f5ed9(0x42f)]=_0x371bfd,_0x35c787[_0x6f5ed9(0x3bc)]=_0x310234,_0x35c787[_0x6f5ed9(0x30f)]=_0xe3f52a,_0x35c787['UpdateDateGroupCommand']=_0x9577c5,_0x35c787['UpdateFieldPositionMutation']=_0x960903,_0x35c787[_0x6f5ed9(0x2a0)]=_0x259856,_0x35c787[_0x6f5ed9(0x1b5)]=_0x10371c,_0x35c787[_0x6f5ed9(0x35a)]=_0x446e9a,_0x35c787[_0x6f5ed9(0x3c5)]=_0x455e79,_0x35c787['UpdatePivotValuePositionCommand']=_0x4b649e,_0x35c787[_0x6f5ed9(0x22c)]=_0x3c682e,_0x35c787['applyChangeSet']=_0x1f747e,_0x35c787[_0x6f5ed9(0x287)]=_0x1caba2,_0x35c787[_0x6f5ed9(0x425)]=_0x2f0b61,_0x35c787[_0x6f5ed9(0x2f8)]=_0x4b7ad7,_0x35c787[_0x6f5ed9(0x3f3)]=_0x5b7a08,_0x35c787[_0x6f5ed9(0x3b7)]=_0x297ca1,_0x35c787['getFieldListByArea']=_0x389881,_0x35c787[_0x6f5ed9(0x405)]=_0x2a9e07,_0x35c787[_0x6f5ed9(0x22f)]=_0x94cdc1,_0x35c787[_0x6f5ed9(0x456)]=_0x1cbe56,_0x35c787['getPivotTableInfo']=_0x54c6a0,_0x35c787[_0x6f5ed9(0x3ab)]=_0x324cc3,_0x35c787['unionPivotViewRange']=_0x5be06b,Object[_0x6f5ed9(0x304)](_0x35c787,Symbol[_0x6f5ed9(0x1b8)],{'value':_0x6f5ed9(0x2ff)});}));function _0x5549(_0xcb4853,_0x1c9abd){const _0x12df2e=_0x12df();return _0x5549=function(_0x55497d,_0x5cad0f){_0x55497d=_0x55497d-0x176;let _0x574ff0=_0x12df2e[_0x55497d];return _0x574ff0;},_0x5549(_0xcb4853,_0x1c9abd);}function _0x12df(){const _0x1546d9=['sheets-pivot.stdDevName','getIntersects','addPivotTableWithConfig','undos','BaseGroupField','pivotMutationGenerate','_host','removePivotTable','deleteDataField','SheetsPivotTableAdaptorModel','areaInfo','Set','_resourceManagerService','interceptor','getTypeOfUnitDisposed$','getDisplayName','sheets-pivot.varpName','Tools','isDateValue','SetPivotCollapse','updatePivotTableRangeInfo','addField','IFeatureCalculationManagerService','slice','DEFAULT_WORKSHEET_ROW_COUNT','_toJSON','addFieldWithSourceId','getSheetFeatureLimit','minDate','sheets-pivot.emptyPivot.column','generateSetRangeValueMutations','DataFieldManager','SetPivotFieldsConfigCommand','sheets-pivot.dateGroup.hourMinute','SetPivotCollapseMutation','RemoveRowMutation','Column','Module','colHeaderMap','colCount','mergeWorksheetSnapshotWithDefault','rgb(240,241,243)','defineProperty','hasOwnProperty','viewData$','UniverEngineRender','getColumnWidth','toJSON','disposableCollection','Min\x20of\x20','Existing','generateNewSheetName','Var\x20of\x20','SetPivotValueFilterMutation','_sheetsPivotTableConfigModel','fetchThroughInterceptors','updateDataFieldsCollection','PivotDrillDownCommand','sortInfo','getMatrix','row','size','dataRangeInfo','setPivotInitCompleted','splice','2846380Oioptw','_dataFieldManagerCollection','getSubtotal','_pivotConfigChange$','dataFieldId','handleMoveRange','push','unitId','getSourceName','rangeCache','from','CellValueType','updateView','Varp\x20of\x20','getPivotDirtyViewInfo','updateFieldSourceInfo','SetPivotSortMutation','SetSubtotalType','UniverProEnginePivot','sheets-pivot.dateGroup.quarter','redos','message','setConfig','rangeKeyMap','grandTotal','sheet.command.update-date-group','UNIVER_SHEET','Month','sheets-pivot.averageName','call','generateMutationsByRanges','fields','Grand\x20Total','blank','_globalComputingSrv','UniverProLicense','sheet.mutation.remove-group-collection','_sheetsPivotDataSourceModel','Rectangle','values','forRow','MovePivotFieldCommand','reset','valueFilter','_configService','IResourceManagerService','SHEET_PIVOT_IN_MAIN_THREAD','getPivotTableConfig','setOptions','Year','AddPivotTableWithConfig','sheets-pivot.subTotal','foreach','@univerjs/engine-formula','Total','_initCommandInterceptListener','Product\x20of\x20','InsertColMutation','LS_CONFIG_KEY','_getAutoName','formJSON','getDataFieldManager','50087pizmje','UpdatePivotTableSourceRangeCommand','sheet.command.set-pivot-sort','params','_featureCalculationManagerService','@univerjs-pro/engine-pivot','endCollectChangeset','_ensurePivotTableRangeInfo','LifecycleService','getCurrentUnitForType','sheets-pivot.cellDateGroupDisplay.month','UniverLicensePlugin','versions','StdDevp\x20of\x20','_sheetsPivotTableService','sheet.command.add-pivot-table','getFormat','concat','getNoUsedDataFieldIds','getColumnCount','measure','query','getFieldFormat','setSortInfo','_subjectCollectionChange','RenamePivotFieldMutation','registerRefRange','delete','sheet.command.set-pivot-filter','isNaN','getDataFieldByRangeKey','_initPivotTextInfo','Minute','entries','#1d32e9','addCollection','setRange','_initSnapshot','amd','UniverCore','Style','getRangeKeyList','paths','_initClearSelectionCommandInterceptor','cornerStyle','sheets-pivot.stdDevpName','max','PivotDateGroupFieldDateTypeEnum','sheets-pivot.emptyPivot.row','PivotSubtotalTypeEnum','map','cellToRange','sheet.mutation.pivot-update-value-position','PivotDataFieldDataTypeEnum','removeField','InterceptorEffectEnum','pivotTableId','SetFilterInfo','_pivotRenderValueMatrixCache','getRangeStartEndInfo','varp','sheets-pivot.cellDateGroupDisplay.year','UpdateFieldPosition','fieldsCollectionChange$','sheets-pivot.cellDateGroupDisplay.minute','getUpdateRangeDeleteIds','getPivotDisplayConfig','add','iterateFieldDim','iterateFieldByArea','_onRefRangeChange','_viewData','setRangeKeyMap','sheets-pivot.cellDateGroupDisplay.yearMonth','_pivotTableMatrixInfo','handleSourceRangeChange','ErrorType','getInterceptPoints','forEach','sheet.mutation.set-pivot-field-subtotal-type','sheet.command.set-pivot-collapse','getStyles','transFromCellValue','getViewData','_sheetsPivotTableAdaptorModel','_configVersion$','getDataFieldByTableId','@univerjs/rpc','sheet.mutation.set-pivot-filter','colStyle','cellValue','Optional','RemoveSheetMutation','NAME','getEmptyPivotRanges','getCellMatrix','sheets-pivot.dateGroup.year','RemovePivotFieldCommand','getActiveSheet','SetPivotValueFilterCommand','rowCount','getIndexesByPathStr','sheet.mutation.get-pivot-data-local','pushComputingStatusSubject','addDirtyPivotTable','filterFields','setLabelFilterInfo','sheetName','UpdatePivotTableSourceRangeMutation','name','DataField','_initDataSendListener','STRING','Range','Count\x20of\x20','sheets-pivot.productName','sheet.mutation.pivot-update-field-source-info','info','UpdateValuePosition','sheet.command.reset-pivot-fields-config','PivotTableViewDirtyMarkOperation','updateDirtyPivotTable','_ensurePivotMap','_initRemoveSheetCommandInterceptor','Hour','getValue','_globalComputedStartHelpFunc','YearMonthDate','getCollection','pivotConfigChange$','SetPivotTableConfig','textInfo','_pivotRenderInfoCache','PivotTableChangeTypeEnum','_localeService','sheet.command.add-pivot-field','SheetInterceptorService','oldMatrix','workbook\x20is\x20not\x20found','setName','sheets-pivot.value','getPivotTableRangeInfo','getTextInfo','_ensurePivotTableMatrixInfo','endColumn','sheet.command.move-pivot-table','sheets-pivot.dateGroup.month','ΣValue','sheet.mutation.set-pivot-collapse','interceptCommand','updatePivotSource','_sheetsPivotRpcService','sheet.mutation.add-pivot-field','fontRenderExtension','getAdjustRangesPosition','CommandType','DrillDown','Delete','NORMAL','realDeleteValue','sheets-pivot.cellDateGroupDisplay.hour','ICommandService','getTextSize','SheetsSelectionsService','getMatrixValue','getGroupFieldsInfoByIds','deleteUnitId','addDataFieldWithoutUnitInfo','pivotTableConfigs','return\x20','getDataFieldByDataFieldId','Quarter','getInsertRowColMutations','registerCallbackWithEvent','NUMBER','resetPivotTable','fieldIds','Disposable','getDirtyInfo','setSubtotalType','dataStream','YearMonth','uniqueDataFieldName','getSheetBySheetId','_viewData$','isEmpty','toString','updateViewData','setValuePivotFilter','queryDirtyPivotTable','isValue','createLabelField','_refRangeService','dataFields','type','Sum\x20of\x20','valuePosition','setValue','getAutoDisplayNameFunction','sheets-pivot.emptyPivot.values','getSheetBySheetName','SHEET_PIVOT_EXCLUSIVE_ID','generateNullCell','createAsyncInterceptorKey','defaultThemeStyle','AddPivotTableMutation','fieldsConfig','PivotCellStyleTypeEnum','document','prototype','_commandService','sheet.command.update-pivot-value-position','UniverSheets','getPivotItemRenderInfoCache','SetPivotSubtotalTypeMutation','RemovePivotTableMutation','IConfigService','bind','getSortInfo','RANGE_TYPE','Value','sheet.mutation.rename-pivot-field','createCollectionWithDataRange','SetWorksheetColWidthMutation','getSheets','getPivotTableModelConfig','#e6ebfb','rangeKey','sheet.mutation.remove-pivot-table','valueIndex','PivotTableOperationEnum','_ensurePivotItemRenderValueMatrixCache','_config','getPivotTableInstance','substring','filterInfo','width','get','headerMap','_initRegisterCommand','UpdatePivotSource','Plugin','initDataRanges','UniverSheetsFilter','rowInfo','_sheetInterceptorService','numberToABC','cornerInfo','sequenceExecute','_ensurePivotItemRenderInfoCache','isDateGroupFieldJSON','Column\x20','_dataSyncPrimaryController','getPivotInfoByLicense','InterceptorManager','colInfo','getName','version','addExclusiveRange','getformat','_deleteModelCache','AddPivotField','_createExclusiveRange','getAutoDisplayName','triggerDirtyFeature','MoveRangeCommand','4240254QKNnTd','3819568QwWRpq','sheet.mutation.set-pivot-option','sourceName','getCurrentSelections','sheets-pivot.cellDateGroupDisplay.quarter','collectionConfig','@univerjs/sheets','stringify','ClearSelectionContentCommand','getUnit','_initPivotDataGetListener','@univerjs-pro/license','pushUndoRedo','getRowCount','pivotInitCompleted$','stdDevp','generateHexNumber','renameField','getValueIndex','startColumn','getFieldInfo','getLastCol','sheets-pivot.countName','getTargetByPivotTableId','getFieldPositionInfoById','IExclusiveRangeService','sheet.mutation.set-pivot-format','sheet.command.update-pivot-table-source-range','registerDirtyService','removeSourceRangeChange','updateRangeKeyMap','sheets-pivot.dateGroup.hour','sheet.command.set-pivot-fields-config','SetSortInfo','error','getMatrixFromRunTimeData','MovePivotField','getSheetCommandTarget','getPivotTableMatrixInfo','options','#FFFFFF','col','min','getLastRow','ptn','IUniverInstanceService','subtotal','fetchThroughAsyncInterceptors','AddPivotTable','dataFieldsCollection','SetPivotSort','MIN_SAFE_INTEGER','string','sheets-pivot.dateGroup.date','valid','collectionChange$','markDirty$','dimension','sheets-pivot.grandTotal','SetFieldFormat','oldRangeInfo','FontCache','panel','AddField','SheetsPivotDataSourceModel','IUndoRedoService','custom','existing','removeValueFilterInfo','getRangeKey','columnFields','addPivotTable','UniverEngineFormula','generateRandomId','sheets-pivot.cellDateGroupDisplay.date','PivotTable','rowHeaderMap','sheets-pivot.maxName','updateConfigCache','matrix','updatePivotTableMatrixInfo','RemovePivotField','exports','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','refreshDataField','sheet.command.pivot-drill-down','_init','Subtotal','node','_univerInstanceService','UniverInstanceType','getSubUnitPivotConfigs','pageStyle','getMonth','RenameField','sheets-pivot.minName','rowRanges','MovePivotTableCommand','single','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getOwnPropertyDescriptor','_pivotTableRangeInfo','PivotErrorTypeEnum','getSheetId','tableFieldId','updateCollectionConfig','rangesInfo','getFilterInfo','leftOffset','_deletePivotTableInstanceCache','keys','RemovePivotFieldMutation','UpdatePivotFieldSourceInfoMutation','Add','DEFAULT_PIVOT_NUMBER','toStringTag','AddPivotFieldMutation','Values','RemoveSheetsFilterMutation','sheet.operation.pivot-table-view-formula-mark-dirty','NUM','sheets-pivot.cellDateGroupDisplay.yearQuarter','startCollectChangeset','NO_COMMERCIAL','addCollectionByJSON','getAutoFitColumnsMutations','update','rowFields','FORCE_STRING','_markDirty$','intercept','_collectionConfigModel','symbol','_getPivotAppliedRanges','sheet.mutation.set-pivot-sort-info','getValuePosition','addRecord','30015232ADujsL','average','value','AddPivotTableWithConfigCommand','_pivotTableInstanceCache','getIntersectsPivotTable','isArray','getDataFieldId','adjustSheetCellData','colRanges','displayName','executeCommand','ClearSelectionAllCommand','range','floor','createDataFieldId','getFullYear','sum','getFieldCountByArea','FieldsCollection','PivotTableValuePositionEnum','movePivotField','onQueryEnd','sheet.mutation.send-pivot-data-local','asObservable','sheet.mutation.add-group-collection','RefRangeService','_textInfo','SetRangeValuesMutation','column','rgb(255,255,255)','_globalComputedEndHelpFunc','filter','getOriginFieldId','number','getCellRaw','getTableFieldById','Filter','@univerjs/sheets-filter','RemoveField','lastRow','token','getDate','@univerjs/core','isBottomTotal','targetCellInfo','remove','pluginName','createValueField','refreshGroupField','batch','sheets.tabs.sheet','clearRenderCache','setDirty','SetPivotFilterMutation','sheet.mutation.update-date-group','getDataFieldItemInfo','SheetsPivotTableService','_injector','setValueFilterInfo','InsertSheetMutation','getFieldDataType','function','needSameDeleteModel','contains','updateValuePosition','subTotalStyle','updateFieldPosition','HourMinute','SetSheetsFilterRangeMutation','SheetsPivotRPCService','split','MUTATION','_initConfig','sheets-pivot.dateGroup.yearMonthDate','DependentOn','IActiveDirtyManagerService','setFieldFormat','intersects','refreshData','createInterceptorKey','AddPivotTableCommand','getFontStyleString','rxjs','getId','setSourceName','BehaviorSubject','_initUnitDisposed','CustomCommandExecutionError','dataStyle','has','getFieldById','broadcastCollectionChange','_updateRenderEmptyCache','UpdateValuePositionMutation','getPivotTableCellData','dateType','getPivotCellInfo','getInfo','setPivotSort','addPivotField','asyncInterceptor','ResetPivotTable','@univerjs/engine-render','sheet.mutation.add-pivot-table','disposeWithMe','NotFunction','(Blank)','PivotFilterTypeEnum','sheets-pivot.countNumsName','tuple','sourceRangeInfo','PivotTableFiledAreaEnum','None','Average\x20of\x20','sheets-pivot.cellDateGroupDisplay.yearMonthDate','format','New','level','registerSyncingMutations','GrandTotal','SHEET_PIVOT_TABLE_PLUGIN','Row','lastCol','removeValueFilterInfoByValueFieldId','Injector','register','PivotCallbackEnum','iterateField','PivotDisplayDataType','_updateModelCache','result','BLANK_ROW_COUNT','next','InsertSheetUndoMutationFactory','ReleaseType','updateConfig','_fieldsCollectionChange$','COMMAND','clearExclusiveRangesByGroupId','sheets-pivot.blank','updateRenderCache','_viewUpdate$','unshift','random','collapseInfo','_lifecycleService','UniverSheetsPivotTablePlugin','originTargetInfo','forValue','deepClone','notExecuteFormula','SheetsPivotTableConfigModel','_subjectViewChange','7BvHlMJ','fromJSON','sheets-pivot.emptyPivot.filter','removePivotField','sheets-pivot.config','resetArea','excelDateToUnixMilliseconds','setPivotCollapse','BadReference','updateViewInfo','endRow','getHeaderMapItem','dispose','_initLocale','onCommandExecuted','PivotViewCellValueTypeEnum','_pivotInitCompleted$','REF','ManualFilter','onStarting','collections','Div0','markDirty','#f4f4f5','getColCount','subscribe','some','_sheetsSelectionsService','1064134VSEiUz','8514918HfedKn','_globalSubject','canUsePivot','SetOptions','_queryingMap','setTextInfo','AsyncInterceptorManager','MAX_SAFE_INTEGER','getSubUnitPivotRenderCache','pbt','_refRangeHandle','setRangeValueUndoMutation','ObjectMatrix','getTargetByPivotId','length','SetPivotOptionMutation','sheet.mutation.send-pivot-config-local','unshiftString','startRow','_initViewModelBySheetInterceptor','drillDown','Expand','removeDataField','find','Inject','Date','getFilterFieldIdByIndex','UpdatePivotFieldSettingCommand','setPivotFilter','dataFieldManagerConfig','getConfig','YearQuarter','valueFields','isFeatureAuthorizedWithinTime','getRangeData','setPivotTableConfig','setPivotSetting','LocaleService','Panel','_updatePivotTableInstanceCache','_subjectFieldsCollectionChange','CELL_CONTENT','Subject','merge','GlobalComputingStatusService','ResetPivotFieldsConfigCommand','setPivotTable','data','_exclusiveRangeService','SetPivotSetting','isDateGroupField','sheets-pivot.dateGroup.yearMonth','deleteField','count','DEFAULT_WORKSHEET_COLUMN_COUNT','set','parseInt','getPivotTableIdByCell','_model','_activeDirtyManagerService','removeCollections','sheets-pivot.dateGroup.yearQuarter','SetPivotFieldFormatMutation','PivotView','rangeType','removeCollectionImp','InsertRowMutation','registerPluginResource','SetValuePivotFilter','getFieldIds','_collectionChange$','UniverRpc','stdDev','_requestResolvers','maxDate','numfmt','getUnitId','shouldClear','subUnitId','pageRanges','_ensureViewDataMap','PositionType','SetPivotFilter','updateAllDisplayName','getRefRangeMutationsByMoveRange'];_0x12df=function(){return _0x1546d9;};return _0x12df();}
|