@univerjs-pro/sheets-pivot 0.6.10-nightly.202504171607 → 0.6.10-nightly.202504191606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0xc82721,_0x572b4a){const _0x4ff96a=_0x286d,_0x29411d=_0xc82721();while(!![]){try{const _0x3a2156=parseInt(_0x4ff96a(0x3fb))/0x1+-parseInt(_0x4ff96a(0x3d1))/0x2*(-parseInt(_0x4ff96a(0x223))/0x3)+-parseInt(_0x4ff96a(0x47b))/0x4+-parseInt(_0x4ff96a(0x273))/0x5*(parseInt(_0x4ff96a(0x2ac))/0x6)+-parseInt(_0x4ff96a(0x1bd))/0x7*(parseInt(_0x4ff96a(0x1c1))/0x8)+-parseInt(_0x4ff96a(0x384))/0x9*(parseInt(_0x4ff96a(0x366))/0xa)+-parseInt(_0x4ff96a(0x343))/0xb*(-parseInt(_0x4ff96a(0x2df))/0xc);if(_0x3a2156===_0x572b4a)break;else _0x29411d['push'](_0x29411d['shift']());}catch(_0x5eefb4){_0x29411d['push'](_0x29411d['shift']());}}}(_0x2604,0x60d2a),function(_0x2866bb,_0x1955d1){const _0x4ce035=_0x286d;typeof exports==_0x4ce035(0x427)&&typeof module<'u'?_0x1955d1(exports,require(_0x4ce035(0x3e8)),require(_0x4ce035(0x269)),require(_0x4ce035(0x3e7)),require(_0x4ce035(0x308)),require(_0x4ce035(0x222)),require(_0x4ce035(0x3d9)),require(_0x4ce035(0x461)),require(_0x4ce035(0x1d0)),require(_0x4ce035(0x22d))):typeof define==_0x4ce035(0x43d)&&define[_0x4ce035(0x44b)]?define(['exports','@univerjs-pro/engine-pivot','@univerjs/core',_0x4ce035(0x3e7),_0x4ce035(0x308),'rxjs',_0x4ce035(0x3d9),_0x4ce035(0x461),_0x4ce035(0x1d0),_0x4ce035(0x22d)],_0x1955d1):(_0x2866bb=typeof globalThis<'u'?globalThis:_0x2866bb||self,_0x1955d1(_0x2866bb[_0x4ce035(0x1fb)]={},_0x2866bb[_0x4ce035(0x1b9)],_0x2866bb[_0x4ce035(0x42b)],_0x2866bb[_0x4ce035(0x2e6)],_0x2866bb['UniverSheets'],_0x2866bb[_0x4ce035(0x222)],_0x2866bb['UniverProLicense'],_0x2866bb['UniverSheetsFilter'],_0x2866bb[_0x4ce035(0x42a)],_0x2866bb[_0x4ce035(0x428)]));}(this,function(_0x3d41c7,_0x15c500,_0x2d1844,_0x132f13,_0xbdc533,_0x4d1926,_0x2e8cbd,_0x4fc90d,_0x48c88f,_0x328244){'use strict';const _0x97f3f=_0x286d;var _0x2eeee5=Object[_0x97f3f(0x2e2)],_0x340bec=(_0x11424b,_0x2583d0,_0x49650a)=>_0x2583d0 in _0x11424b?_0x2eeee5(_0x11424b,_0x2583d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49650a}):_0x11424b[_0x2583d0]=_0x49650a,_0x4a9226=(_0x1f3302,_0x5ba6de,_0x149c7d)=>_0x340bec(_0x1f3302,typeof _0x5ba6de!='symbol'?_0x5ba6de+'':_0x5ba6de,_0x149c7d);const _0x1a72c2=Number[_0x97f3f(0x41f)](0x6801280a),_0x55e7ec=0x10,_0x38f1de=0x1,_0x51e4a1=_0x97f3f(0x30a),_0x356b5c=0x1,_0x32a03a=_0x97f3f(0x2ed),_0x34f148=_0x97f3f(0x207),_0x40f89d=_0x97f3f(0x2fe),_0x1bf7f6=_0x97f3f(0x336),_0x1223d4=_0x97f3f(0x336),_0x90cb50=_0x97f3f(0x3c9),_0x2c03e8=_0x97f3f(0x2e5),_0x13715e='#FFFFFF',_0x1a79b5=_0x97f3f(0x2af),_0x2d5178=_0x97f3f(0x2e5),_0x3664c9=_0x97f3f(0x465),_0x29d555=_0x97f3f(0x388),_0x32739d=0xe,_0x595a8b=0x6;var _0x3f8913=(_0x28ea46=>(_0x28ea46[_0x97f3f(0x469)]=_0x97f3f(0x2cb),_0x28ea46['New']='new',_0x28ea46))(_0x3f8913||{});const _0x5b1277={'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':''}}},_0x2ff45e=0x1e,_0x20a9b7={'b':{'s':0x1,'cl':{'rgb':_0x40f89d}},'l':{'s':0x1,'cl':{'rgb':_0x40f89d}},'r':{'s':0x1,'cl':{'rgb':_0x40f89d}},'t':{'s':0x1,'cl':{'rgb':_0x40f89d}}},_0x173f28={'bg':{'rgb':_0x32a03a},'ht':0x2,'vt':0x2,'tb':0x1},_0x387342={'bg':{'rgb':_0x34f148},'ht':0x2,'vt':0x2,'tb':0x1},_0x4cde20={'rowStyle':{'bg':{'rgb':_0x29d555},'bd':_0x20a9b7,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x2d5178},'bd':null,'cl':{'rgb':_0x3664c9},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x20a9b7,'bg':{'rgb':_0x1a79b5},'vt':0x2},'cornerStyle':{'bd':_0x20a9b7,'bg':{'rgb':_0x90cb50},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x20a9b7,'bg':{'rgb':_0x1bf7f6},'vt':0x2},'leafStyle':{'bd':_0x20a9b7,'bg':{'rgb':_0x1223d4},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x2c03e8},'cl':{'rgb':_0x13715e},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x20a9b7,'vt':0x2}};function _0x276d2b(_0x150d84,_0x57688e,_0x3d6e8e){const _0x1e91d1=_0x97f3f,_0xd2eee5=_0x150d84[_0x1e91d1(0x4a6)](_0x2d1844[_0x1e91d1(0x284)]),_0x27aa13=_0x3d6e8e['split']('_');switch(_0x57688e){case _0x15c500[_0x1e91d1(0x398)][_0x1e91d1(0x1e0)]:return _0xd2eee5['t'](_0x1e91d1(0x44f),..._0x27aa13);case _0x15c500['PivotDateGroupFieldDateTypeEnum'][_0x1e91d1(0x23f)]:return _0xd2eee5['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x27aa13);case _0x15c500[_0x1e91d1(0x398)]['Hour']:return _0xd2eee5['t'](_0x1e91d1(0x3b4),..._0x27aa13);case _0x15c500[_0x1e91d1(0x398)][_0x1e91d1(0x431)]:return _0xd2eee5['t'](_0x1e91d1(0x47f),..._0x27aa13);case _0x15c500['PivotDateGroupFieldDateTypeEnum'][_0x1e91d1(0x399)]:return _0xd2eee5['t'](_0x1e91d1(0x41c),..._0x27aa13);case _0x15c500[_0x1e91d1(0x398)][_0x1e91d1(0x4a8)]:return _0xd2eee5['t'](_0x1e91d1(0x187),..._0x27aa13);case _0x15c500['PivotDateGroupFieldDateTypeEnum'][_0x1e91d1(0x3b5)]:return _0xd2eee5['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x27aa13);case _0x15c500[_0x1e91d1(0x398)][_0x1e91d1(0x240)]:return _0xd2eee5['t'](_0x1e91d1(0x49a),..._0x27aa13);case _0x15c500[_0x1e91d1(0x398)]['YearMonthDate']:return _0xd2eee5['t'](_0x1e91d1(0x45b),..._0x27aa13);case _0x15c500[_0x1e91d1(0x398)][_0x1e91d1(0x1d2)]:return _0xd2eee5['t'](_0x1e91d1(0x488),..._0x27aa13);}return'';}const _0x3d5d3a=(_0x1506fb,_0x4ec602,_0x1e8b72,_0x420776)=>{const _0x16a921=_0x97f3f;let _0x17761f;const _0xea16f4=_0x1506fb[_0x16a921(0x4a6)](_0x2d1844[_0x16a921(0x21b)])[_0x16a921(0x1fd)](_0x2d1844[_0x16a921(0x400)]['UNIVER_SHEET']);if(!_0xea16f4)return null;const _0x4fb6fc=_0xea16f4[_0x16a921(0x450)]();let _0xa4cada;if(_0x1e8b72&&(_0xa4cada=_0x4fb6fc[_0x16a921(0x2eb)](_0x1e8b72)),_0x4ec602!=null&&_0x4ec602['v']||(_0x4ec602==null?void 0x0:_0x4ec602['v'])===0x0){_0x17761f||(_0x17761f={});const _0x482171=_0xfb7710(_0x4ec602['v']);typeof _0x482171==_0x16a921(0x3d8)?_0x17761f['t']=_0x2d1844['CellValueType'][_0x16a921(0x1e1)]:typeof _0x482171==_0x16a921(0x2d9)&&(_0x17761f['t']=_0x2d1844[_0x16a921(0x190)]['STRING']),_0x17761f['v']=_0x482171;}if((_0x4ec602!=null&&_0x4ec602['i']||(_0x4ec602==null?void 0x0:_0x4ec602['i'])===0x0)&&(_0x17761f||(_0x17761f={}),_0x17761f['fi']=_0x4ec602['i']),_0x4ec602!=null&&_0x4ec602['s']&&(_0x17761f||(_0x17761f={}),_0x17761f[_0x16a921(0x466)]=_0x4ec602['s']),_0x1e8b72&&(_0x17761f||(_0x17761f={}),_0x17761f['s']=_0xa4cada),_0x420776&&_0x17761f!=null&&_0x17761f['v']&&_0x17761f[_0x16a921(0x466)]!==_0x15c500[_0x16a921(0x36b)][_0x16a921(0x45c)]&&_0x17761f[_0x16a921(0x466)]!==_0x15c500['PivotCellStyleTypeEnum'][_0x16a921(0x3cb)]){const _0x3f8781=String(_0x17761f['v']),{dateType:_0x1f4c13}=_0x420776;_0x17761f['v']=_0x276d2b(_0x1506fb,_0x1f4c13,_0x3f8781),_0x17761f['t']=_0x2d1844[_0x16a921(0x190)][_0x16a921(0x227)];}return _0x17761f;},_0x1be287=(_0x4f734b,_0x289266,_0x154557,_0x272896)=>{const _0x1e85aa=_0x97f3f;var _0xf79b2a,_0x4df173,_0x156069,_0x3643c6,_0x185bd1,_0x215b13,_0x4ebe44,_0x201f01,_0x1ac3ac,_0x27ff59,_0x9e06e7,_0x42d633,_0x53c4e7,_0x72fcdd;const _0x336b70=_0x154557[_0x1e85aa(0x19a)],{cornerView:_0x9d9d1e,rowView:_0xfa5a8b,colView:_0x4f55bf,dataView:_0xb2f813,pageView:_0x2871a8,formatMap:_0x2eb39e,groupInfo:_0x6cc650}=_0x289266,{row:_0x1c1d9a,col:_0x19ff13}=_0x336b70,_0x576629=new _0x2d1844['ObjectMatrix'](),_0x27f59e={},_0x4b8642={},_0x524fd0={},_0x4b6080={},_0x16d97b={};let _0x41f715=_0x1c1d9a,_0x4255e2=_0x19ff13;Object[_0x1e85aa(0x334)](_0x2871a8[_0x1e85aa(0x307)])['forEach'](_0x25f735=>{const _0x90552c=_0x1e85aa;Object[_0x90552c(0x334)](_0x2871a8[_0x90552c(0x307)][Number(_0x25f735)])[_0x90552c(0x34f)](_0xb9a773=>{const _0xcbf489=_0x90552c,_0x181fc1={..._0x2871a8[_0xcbf489(0x307)][Number(_0x25f735)][Number(_0xb9a773)]};_0x576629[_0xcbf489(0x2eb)](Number(_0x25f735)+_0x41f715,Number(_0xb9a773)+_0x4255e2,_0x3d5d3a(_0x4f734b,_0x181fc1,_0x4cde20[_0xcbf489(0x196)]));});});const _0x5afa6e=Object[_0x1e85aa(0x334)](_0x2871a8[_0x1e85aa(0x307)])[_0x1e85aa(0x376)];_0x41f715+=_0x5afa6e+(_0x5afa6e?_0x356b5c:0x0);const _0x5d73ea=_0x9d9d1e[_0x1e85aa(0x412)](),_0x524395=_0x9d9d1e['getColCount']();for(let _0x2590d9=0x0;_0x2590d9<_0x5d73ea;_0x2590d9++)for(let _0x8fca59=0x0;_0x8fca59<_0x524395;_0x8fca59++){const _0x2fcb0f={...(_0x4df173=(_0xf79b2a=_0x9d9d1e[_0x1e85aa(0x307)])==null?void 0x0:_0xf79b2a[_0x2590d9])==null?void 0x0:_0x4df173[_0x8fca59]};_0x2fcb0f&&((_0x156069=_0xfa5a8b[_0x1e85aa(0x367)][_0x8fca59])!=null&&_0x156069[_0x1e85aa(0x266)])&&_0x8fca59===_0x524395-0x1&&_0x2590d9===_0x5d73ea-0x1&&(_0x2fcb0f['v']=''+_0x272896['sheets-pivot.value']),_0x576629[_0x1e85aa(0x2eb)](_0x2590d9+_0x41f715,_0x8fca59+_0x4255e2,_0x3d5d3a(_0x4f734b,_0x2fcb0f,_0x4cde20[_0x1e85aa(0x2bb)]));}for(let _0x4982a7=0x0;_0x4982a7<_0x9d9d1e[_0x1e85aa(0x32c)][_0x1e85aa(0x376)];_0x4982a7++)_0x9d9d1e[_0x1e85aa(0x32c)][_0x4982a7]&&(_0x524fd0[''+(_0x4982a7+_0x4255e2)]=_0x9d9d1e[_0x1e85aa(0x32c)][_0x4982a7]);_0x4255e2+=_0x524395;const _0x164e84=_0x4f55bf[_0x1e85aa(0x367)],_0x54b30f=_0x4f55bf[_0x1e85aa(0x31f)]()>=0x0?_0x4f55bf[_0x1e85aa(0x31f)]()+0x1:0x0,_0x1a9b75=_0x4f55bf[_0x1e85aa(0x4ab)]()>=0x0?_0x4f55bf[_0x1e85aa(0x4ab)]()+0x1:0x0;for(let _0x411035=0x0;_0x411035<_0x1a9b75;_0x411035++){for(let _0x12deab=0x0;_0x12deab<_0x54b30f;_0x12deab++){const _0x82b472={...(_0x185bd1=(_0x3643c6=_0x4f55bf[_0x1e85aa(0x307)])==null?void 0x0:_0x3643c6[_0x12deab])==null?void 0x0:_0x185bd1[_0x411035]},_0x155d71=(_0x215b13=_0x164e84[_0x12deab])==null?void 0x0:_0x215b13[_0x1e85aa(0x3e1)],_0x4e5198=_0x2eb39e[_0x155d71],_0x2c87de=_0x6cc650[_0x155d71];_0x82b472&&(_0x82b472['v']=_0x352ede(_0x82b472,_0x12deab===0x0&&((_0x4ebe44=_0x4f55bf[_0x1e85aa(0x3e5)](_0x411035+0x1))==null?void 0x0:_0x4ebe44[_0x1e85aa(0x266)]),_0x4e5198,_0x272896));let _0x158863;_0x4e5198?_0x158863={..._0x4cde20[_0x1e85aa(0x1bc)],'n':{'pattern':_0x4e5198}}:_0x158863={..._0x4cde20[_0x1e85aa(0x1bc)]},_0x576629[_0x1e85aa(0x2eb)](_0x12deab+_0x41f715,_0x411035+_0x4255e2,_0x3d5d3a(_0x4f734b,_0x82b472,_0x158863,_0x2c87de));}_0x4f55bf[_0x1e85aa(0x32c)][_0x411035]&&(_0x4b8642[''+(_0x411035+_0x4255e2)]=_0x4f55bf[_0x1e85aa(0x32c)][_0x411035]),_0x4f55bf['headerMap'][_0x411035+0x1]&&(_0x16d97b[''+(_0x411035+_0x41f715+0x1)]=_0x4f55bf[_0x1e85aa(0x367)][_0x411035+0x1]);}_0x41f715+=_0x5d73ea;const _0x4f58a0=_0xfa5a8b[_0x1e85aa(0x367)],_0x4a5e7d=_0xfa5a8b['getLastRow']()>=0x0?_0xfa5a8b['getLastRow']()+0x1:0x0,_0x51a6ba=_0xfa5a8b[_0x1e85aa(0x4ab)]()>=0x0?_0xfa5a8b[_0x1e85aa(0x4ab)]()+0x1:0x0;for(let _0x326040=0x0;_0x326040<_0x4a5e7d;_0x326040++){for(let _0x4c13ee=0x0;_0x4c13ee<_0x51a6ba;_0x4c13ee++){const _0x5e6755={...(_0x1ac3ac=(_0x201f01=_0xfa5a8b[_0x1e85aa(0x307)])==null?void 0x0:_0x201f01[_0x326040])==null?void 0x0:_0x1ac3ac[_0x4c13ee]},_0x4d49dd=(_0x27ff59=_0x4f58a0[_0x4c13ee])==null?void 0x0:_0x27ff59[_0x1e85aa(0x3e1)],_0x37b4a1=_0x2eb39e[_0x4d49dd],_0x6e65d7=_0x6cc650[_0x4d49dd];_0x5e6755&&(_0x5e6755['v']=_0x352ede(_0x5e6755,!0x1,_0x37b4a1,_0x272896));let _0x3452cf;_0xfa5a8b[_0x1e85aa(0x32c)][_0x326040][_0x1e85aa(0x1ba)]===_0xfa5a8b[_0x1e85aa(0x32f)]()?_0x3452cf=_0x4cde20['leafStyle']:_0xfa5a8b[_0x1e85aa(0x32c)][_0x326040]['isBottomTotal']?_0x3452cf=_0xfa5a8b[_0x1e85aa(0x32c)][_0x326040][_0x1e85aa(0x1ba)]===0x0?_0x4cde20[_0x1e85aa(0x22b)]:_0x4cde20[_0x1e85aa(0x27b)]:_0x3452cf=_0x4cde20['rowStyle'],_0x37b4a1&&(_0x3452cf={..._0x3452cf,'n':{'pattern':_0x37b4a1}}),_0x576629[_0x1e85aa(0x2eb)](_0x326040+_0x41f715,_0x4c13ee+_0x19ff13,_0x3d5d3a(_0x4f734b,_0x5e6755,_0x3452cf,_0x6e65d7));}_0xfa5a8b[_0x1e85aa(0x32c)][_0x326040]&&(_0x27f59e[''+(_0x326040+_0x41f715)]=_0xfa5a8b[_0x1e85aa(0x32c)][_0x326040]),_0xfa5a8b[_0x1e85aa(0x367)][_0x326040]&&(_0x4b6080[''+(_0x326040+_0x19ff13)]=_0xfa5a8b[_0x1e85aa(0x367)][_0x326040]);}const _0x34b95f=_0xb2f813[_0x1e85aa(0x412)](),_0x44ade8=_0xb2f813['getColCount']();for(let _0x40d678=0x0;_0x40d678<_0x34b95f;_0x40d678++)for(let _0x44f7f6=0x0;_0x44f7f6<_0x44ade8;_0x44f7f6++){const _0x1c3041={...(_0x42d633=(_0x9e06e7=_0xb2f813[_0x1e85aa(0x307)])==null?void 0x0:_0x9e06e7[_0x40d678])==null?void 0x0:_0x42d633[_0x44f7f6]};let _0x3f8b03;_0xfa5a8b['info'][_0x40d678][_0x1e85aa(0x352)]?_0x3f8b03=_0xfa5a8b[_0x1e85aa(0x32c)][_0x40d678][_0x1e85aa(0x1ba)]===0x0?_0x4cde20['grandTotal']:_0x4cde20[_0x1e85aa(0x27b)]:_0x3f8b03=_0x4cde20[_0x1e85aa(0x19f)];const _0x5588c0=_0xfa5a8b[_0x1e85aa(0x32c)][_0x40d678][_0x1e85aa(0x3f5)],_0xc24c0a=_0x4f55bf[_0x1e85aa(0x32c)][_0x44f7f6][_0x1e85aa(0x3f5)],_0x408d61=Math['max'](_0x5588c0,_0xc24c0a),_0x45522a=_0x154557[_0x1e85aa(0x35b)][_0x1e85aa(0x1f8)][_0x1e85aa(0x1aa)]();let _0x5bb5e1='';_0x408d61<0x0?_0x5bb5e1=(_0x53c4e7=_0x45522a[0x0])!=null?_0x53c4e7:'':_0x5bb5e1=(_0x72fcdd=_0x45522a[_0x408d61])!=null?_0x72fcdd:'';const _0x445ca3=_0x2eb39e[_0x5bb5e1];_0x445ca3&&(_0x3f8b03={..._0x3f8b03,'n':{'pattern':_0x445ca3}}),_0x576629['setValue'](_0x40d678+_0x41f715,_0x44f7f6+_0x4255e2,_0x3d5d3a(_0x4f734b,_0x1c3041,_0x3f8b03));}return{'valueMatrix':_0x576629,'rowInfo':_0x27f59e,'colInfo':_0x4b8642,'cornerInfo':_0x524fd0,'rowHeaderMap':_0x4b6080,'colHeaderMap':_0x16d97b};};function _0x352ede(_0x13969a,_0x2d9017,_0x3efb8a,_0x35c2e0){const _0x332773=_0x97f3f;let _0x323647=_0x13969a['v'];_0x2d9017&&(_0x323647=''+_0x35c2e0['sheets-pivot.value']);const _0x337332=_0x13969a['t']&&(_0x13969a['t']&_0x15c500['PivotViewCellValueTypeEnum']['blank'])>0x0;if(_0x337332&&(_0x323647=''+_0x35c2e0[_0x332773(0x2a8)]),_0x13969a['s']===_0x15c500[_0x332773(0x36b)][_0x332773(0x3cb)]){let _0x135a6b=_0x323647,_0x5b87ca='';_0x15c500[_0x332773(0x2b0)](_0x323647)&&(_0x135a6b=_0x323647[_0x332773(0x201)],_0x5b87ca=_0x323647[_0x332773(0x2c3)]);const _0x2fc536=_0x3efb8a&&!_0x337332?_0x2d1844['numfmt'][_0x332773(0x264)](_0x3efb8a,Number(_0x135a6b)):_0x135a6b;_0x5b87ca?_0x323647=_0x2fc536+'\x20'+_0x5b87ca:_0x323647=_0x2fc536+'\x20'+_0x35c2e0[_0x332773(0x27f)];}else _0x13969a['s']===_0x15c500[_0x332773(0x36b)][_0x332773(0x45c)]&&(_0x323647=_0x323647+'\x20'+_0x35c2e0[_0x332773(0x3cd)]);return _0x323647;}function _0xfb7710(_0x26efdf){const _0x4b6e21=_0x97f3f;if(_0x15c500[_0x4b6e21(0x478)](_0x26efdf)){const {errorType:_0x30abfe}=_0x26efdf;switch(_0x30abfe){case _0x15c500[_0x4b6e21(0x494)][_0x4b6e21(0x2e9)]:return _0x132f13[_0x4b6e21(0x470)][_0x4b6e21(0x423)];case _0x15c500[_0x4b6e21(0x494)][_0x4b6e21(0x33b)]:return _0x132f13[_0x4b6e21(0x470)][_0x4b6e21(0x4a1)];case _0x15c500[_0x4b6e21(0x494)]['NotFunction']:return _0x132f13[_0x4b6e21(0x470)][_0x4b6e21(0x498)];case _0x15c500[_0x4b6e21(0x494)][_0x4b6e21(0x2fd)]:return _0x132f13[_0x4b6e21(0x470)][_0x4b6e21(0x498)];case _0x15c500[_0x4b6e21(0x494)][_0x4b6e21(0x357)]:return _0x132f13[_0x4b6e21(0x470)][_0x4b6e21(0x475)];}}return _0x26efdf;}function _0x56818c(_0x35d82e,_0x2427c4,_0x58526b=!0x1,_0x2981f6=!0x1){const _0x4f30b7=_0x97f3f,{data:_0x1c8a98}=_0x2427c4,_0x5e6bd8=_0x2427c4['getRowCount'](),_0x226baa=_0x2427c4[_0x4f30b7(0x32f)]();if(_0x5e6bd8<=0x0||_0x226baa<=0x0)return[];const _0xbe6fbe=_0x2427c4[_0x4f30b7(0x4ab)](),_0x112c94=_0x2427c4[_0x4f30b7(0x31f)](),_0x3909af=_0x2981f6?_0x112c94>=0x0?_0x112c94+0x1:0x0:_0x5e6bd8,_0x2da146=_0x2981f6?_0xbe6fbe>=0x0?_0xbe6fbe+0x1:0x0:_0x226baa,{row:_0x585159,col:_0x5775c5}=_0x35d82e,_0x13b703=_0x585159,_0x55e360=_0x5775c5;if(_0x58526b){const _0x411699=[];for(const [_0x19ea24,_0x38d4c0]of Object[_0x4f30b7(0x2e8)](_0x1c8a98))for(const [_0x4414cc,_0xf98085]of Object[_0x4f30b7(0x2e8)](_0x38d4c0))_0x411699[_0x4f30b7(0x1fc)](_0x2d1844[_0x4f30b7(0x453)](_0x13b703+Number(_0x19ea24),_0x55e360+Number(_0x4414cc)));return _0x411699;}else{const _0x5f1332=_0x2981f6?_0x3909af>0x0?0x1:0x0:0x1,_0x58b3e1=_0x2981f6?_0x2da146>0x0?0x1:0x0:0x1,_0x339343=_0x585159+_0x3909af-_0x5f1332,_0x1906d4=_0x5775c5+_0x2da146-_0x58b3e1;return[{'startRow':_0x13b703,'startColumn':_0x55e360,'endRow':_0x339343,'endColumn':_0x1906d4}];}}const _0x292159=_0x97f3f(0x394),_0x3828b2='SHEET_PIVOT_EXCLUSIVE_ID';var _0x1ae0ae=(_0xb64aa8=>(_0xb64aa8[_0x97f3f(0x1d6)]=_0x97f3f(0x426),_0xb64aa8['Panel']=_0x97f3f(0x3f8),_0xb64aa8[_0x97f3f(0x354)]='addPivotField',_0xb64aa8[_0x97f3f(0x31e)]=_0x97f3f(0x31e),_0xb64aa8['AddPivotTable']=_0x97f3f(0x445),_0xb64aa8[_0x97f3f(0x459)]=_0x97f3f(0x2d1),_0xb64aa8[_0x97f3f(0x43f)]=_0x97f3f(0x43e),_0xb64aa8[_0x97f3f(0x257)]='setPivotCollapse',_0xb64aa8[_0x97f3f(0x2e3)]=_0x97f3f(0x2b9),_0xb64aa8[_0x97f3f(0x449)]=_0x97f3f(0x35d),_0xb64aa8[_0x97f3f(0x365)]=_0x97f3f(0x369),_0xb64aa8['UpdatePivotSource']=_0x97f3f(0x438),_0xb64aa8['UpdateValuePosition']='updateValuePosition',_0xb64aa8[_0x97f3f(0x471)]=_0x97f3f(0x362),_0xb64aa8['SetValuePivotFilter']=_0x97f3f(0x3da),_0xb64aa8[_0x97f3f(0x1ec)]=_0x97f3f(0x2cf),_0xb64aa8['ResetPivotTable']='resetPivotTable',_0xb64aa8))(_0x1ae0ae||{});const _0x530313={'sheets-pivot.blankValue':_0x97f3f(0x2f3),'sheets-pivot.columnName':_0x97f3f(0x192),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x97f3f(0x34c),'sheets-pivot.averageName':_0x97f3f(0x351),'sheets-pivot.countName':_0x97f3f(0x278),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x97f3f(0x1b0),'sheets-pivot.productName':_0x97f3f(0x3f9),'sheets-pivot.stdDevName':_0x97f3f(0x330),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x97f3f(0x3e6),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x97f3f(0x3cb),'sheets-pivot.grandTotal':_0x97f3f(0x200),'sheets-pivot.value':_0x97f3f(0x2c3),'sheets-pivot.blank':_0x97f3f(0x26d),'sheets-pivot.emptyPivot.filter':_0x97f3f(0x1d6),'sheets-pivot.emptyPivot.row':_0x97f3f(0x3d7),'sheets-pivot.emptyPivot.column':_0x97f3f(0x437),'sheets-pivot.emptyPivot.values':_0x97f3f(0x1c9)},_0x46042a={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x20dd1f=_0x2d1844[_0x97f3f(0x3a8)](_0x97f3f(0x25f)),_0xa4cc95=_0x2d1844[_0x97f3f(0x309)](_0x97f3f(0x433));var _0x14b9a3=(_0x13a33f=>(_0x13a33f[_0x97f3f(0x349)]=_0x97f3f(0x349),_0x13a33f[_0x97f3f(0x3ca)]=_0x97f3f(0x3ca),_0x13a33f[_0x97f3f(0x482)]=_0x97f3f(0x482),_0x13a33f))(_0x14b9a3||{}),_0x532e5d=(_0xc54156=>(_0xc54156[_0x97f3f(0x31d)]=_0x97f3f(0x349),_0xc54156[_0x97f3f(0x3a5)]='set',_0xc54156[_0x97f3f(0x262)]='delete',_0xc54156))(_0x532e5d||{});const _0x449c5e={0x0:'M',0x1:'W',0x2:'y',0x3:'1',0x4:'l',0x5:'E',0x6:'A',0x7:'T',0x8:'h',0x9:'3','o':'0','e':'2','J':'4','Q':'5','c':'6','Y':'7','V':'8','O':'9','t':'a','C':'b','d':'c','j':'d','h':'e','q':'f','r':'g','g':'i','E':'j','u':'k','p':'m','m':'n','n':'o','I':'p','U':'q','k':'r','i':'s','Z':'t','L':'u','G':'v','A':'w','W':'x','H':'z','f':'B','z':'C','F':'D','X':'F','P':'G','w':'H','y':'I','K':'J','x':'K','b':'L','l':'N','B':'O','S':'P','T':'Q','s':'R','N':'S','R':'U','a':'V','v':'X','M':'Y','D':'Z'},_0x11cf23=_0x97f3f(0x1c2),_0x51bd44={'type':_0x2d1844[_0x97f3f(0x216)]['MUTATION'],'id':_0x97f3f(0x23b),'handler':()=>!0x0},_0x3d05f5={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':_0x97f3f(0x1e5),'handler':()=>!0x0},_0x26ad74={'type':_0x2d1844[_0x97f3f(0x216)]['MUTATION'],'id':_0x97f3f(0x1d5),'handler':()=>!0x0},_0x2a81da={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':_0x97f3f(0x1b6),'handler':()=>!0x0},_0x7d7c7={'type':_0x2d1844['CommandType'][_0x97f3f(0x3ad)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0},_0x165f8d=_0x58300b=>{const _0x21788b=_0x97f3f;var _0x15ba05;return((_0x15ba05=_0x58300b[_0x21788b(0x259)])==null?void 0x0:_0x15ba05['dataStream'][_0x21788b(0x42c)](/\r\n$/,''))||'';};class _0xaa63d1 extends _0x15c500[_0x97f3f(0x3f7)]{constructor(_0x3e2780,_0x51899e){const _0x5cbe6b=_0x97f3f;super(),_0x4a9226(this,_0x5cbe6b(0x1e6),{}),_0x4a9226(this,_0x5cbe6b(0x1bf)),_0x4a9226(this,_0x5cbe6b(0x23a)),(this[_0x5cbe6b(0x1bf)]=_0x51899e,this[_0x5cbe6b(0x23a)]=_0x3e2780);}['initDataRanges'](){const _0x29d3db=_0x97f3f;for(const _0x1a7505 in this[_0x29d3db(0x2b1)]){const _0x25e02d=this[_0x29d3db(0x2b1)][_0x1a7505],_0xa03a3=_0x25e02d[_0x29d3db(0x199)]();this['rangeKeyMap'][_0xa03a3]=_0x25e02d[_0x29d3db(0x204)]();}}['getAutoDisplayNameFunction'](){const _0x56ad60=_0x97f3f,_0x1511fb=this[_0x56ad60(0x23a)];return _0x2263b8['bind'](_0x1511fb);}[_0x97f3f(0x41d)](_0x6ffee6){const _0x21292d=_0x97f3f,_0x5d0453=this[_0x21292d(0x2b1)][_0x6ffee6]['rangeKey'];delete this[_0x21292d(0x2b1)][_0x6ffee6],delete this['rangeKeyMap'][_0x5d0453];}[_0x97f3f(0x29a)](_0x2705de){const _0x36a51b=_0x97f3f;this[_0x36a51b(0x2b1)][_0x2705de[_0x36a51b(0x204)]()]=_0x2705de;}[_0x97f3f(0x345)](_0x2118da){const _0x4ba004=_0x97f3f;var _0x1f1feb,_0x3199f9;const _0x56c587=this[_0x4ba004(0x23a)][_0x4ba004(0x289)](_0x2118da);if(_0x56c587){const {unitId:_0x18c20f,subUnitId:_0x3e377c}=_0x56c587,_0x4b644d=(_0x1f1feb=this[_0x4ba004(0x23a)][_0x4ba004(0x21d)](_0x18c20f,_0x3e377c,_0x2118da))==null?void 0x0:_0x1f1feb['sourceRangeInfo'];this[_0x4ba004(0x23a)][_0x4ba004(0x3cf)]({'token':_0x2118da,'type':_0x14b9a3[_0x4ba004(0x3ca)],'dataRangeInfo':_0x4b644d});}(_0x3199f9=this[_0x4ba004(0x3b2)](_0x2118da))==null||_0x3199f9['dispose'](),delete this[_0x4ba004(0x1de)][_0x2118da];}[_0x97f3f(0x199)](_0x408802,_0x78e4ab){const _0xb7649d=_0x97f3f,{sheetName:_0x318b21,unitId:_0xb465d7,range:_0xd4feee}=_0x408802,{startRow:_0xe20de0,endRow:_0x4ae4c1}=_0xd4feee;return _0x132f13[_0xb7649d(0x1b5)](_0xb465d7,_0x318b21,{'startRow':_0xe20de0,'endRow':_0x4ae4c1,'startColumn':_0x78e4ab,'endColumn':_0x78e4ab});}[_0x97f3f(0x3f4)](_0x4af8b7){const _0x14d171=_0x97f3f;return this[_0x14d171(0x2b1)][this[_0x14d171(0x1e6)][_0x4af8b7]];}[_0x97f3f(0x265)](_0x4587be,_0x575b4e){const _0x2a6741=_0x97f3f;this[_0x2a6741(0x1e6)][_0x4587be]=_0x575b4e;}[_0x97f3f(0x31a)](_0x5c59c6,_0xc484f3){const _0x3331a1=_0x97f3f;this['rangeKeyMap'][_0xc484f3]=this[_0x3331a1(0x1e6)][_0x5c59c6],delete this[_0x3331a1(0x1e6)][_0x5c59c6];}[_0x97f3f(0x2aa)](_0x44c0dc,_0x2665da,_0x10e744,_0x51d446){const _0x360372=_0x97f3f,_0x562208=new _0x15c500[(_0x360372(0x2f1))](this);_0x562208['fromJSON'](_0x2665da);const _0x161e03=[];let _0x10e915=0x0;for(const _0x1f7805 of _0x562208['fieldIds']){const _0x5659b9=this[_0x360372(0x199)](_0x10e744,_0x10e915),_0x2171cb=this[_0x360372(0x2b1)][_0x1f7805];_0x2171cb&&(_0x2171cb[_0x360372(0x18e)]=_0x5659b9,this[_0x360372(0x265)](_0x5659b9,_0x1f7805),_0x161e03['push']({'index':_0x10e915,'dataField':_0x2171cb})),_0x10e915++;}return this[_0x360372(0x468)](_0x44c0dc,_0x562208,_0x10e744,_0x51d446),{'collection':_0x562208,'updateDataFieldList':_0x161e03};}[_0x97f3f(0x3b7)](_0x399eca,_0x33455e){const _0x24b41e=_0x97f3f;return _0x399eca[_0x24b41e(0x30b)]===_0x2d1844[_0x24b41e(0x26c)][_0x24b41e(0x49d)]?{'startRow':0x0,'startColumn':_0x399eca[_0x24b41e(0x3d6)],'endRow':_0x33455e['getRowCount']()-0x1,'endColumn':_0x399eca[_0x24b41e(0x43a)]}:{'startRow':_0x399eca[_0x24b41e(0x2b8)],'startColumn':_0x399eca[_0x24b41e(0x3d6)],'endRow':_0x399eca[_0x24b41e(0x2b5)],'endColumn':_0x399eca[_0x24b41e(0x43a)]};}[_0x97f3f(0x1e4)](_0x4c71b0){const _0x295d60=_0x97f3f,{sheetName:_0x546e61,range:_0x4e3ff7}=_0x4c71b0,_0x23f102=this[_0x295d60(0x1bf)][_0x295d60(0x1fd)](_0x2d1844[_0x295d60(0x400)][_0x295d60(0x48b)]),_0x3e3c89=_0x23f102[_0x295d60(0x3fe)](_0x546e61),_0x6067ee=_0x3e3c89[_0x295d60(0x208)](),{startColumn:_0x7378da,startRow:_0x41a39f,endColumn:_0xfdec10}=this['getRangeStartEndInfo'](_0x4e3ff7,_0x3e3c89),_0x212552=_0x23f102[_0x295d60(0x450)](),_0x2600b5=new _0x15c500[(_0x295d60(0x2f1))](this);_0x2600b5[_0x295d60(0x271)](_0x4c71b0);const _0x23a098=[],_0x441d3b={};for(let _0x3f248c=_0x7378da;_0x3f248c<=_0xfdec10;_0x3f248c++){const _0x68f75=_0x6067ee[_0x295d60(0x370)](_0x41a39f,_0x3f248c),_0x46c6c7=this[_0x295d60(0x199)](_0x4c71b0,_0x3f248c),_0x28b9e5=this[_0x295d60(0x3f4)](_0x46c6c7);if(_0x28b9e5)_0x2600b5['addField'](_0x28b9e5['getId'](),_0x28b9e5[_0x295d60(0x301)]());else{const _0x35e375=this[_0x295d60(0x421)]();let _0xf55896=this['adjustSheetCellData'](_0x68f75,_0x212552,_0x441d3b);_0x15c500[_0x295d60(0x248)](_0xf55896)&&(_0xf55896=_0x2d1844[_0x295d60(0x1a9)][_0x295d60(0x264)](_0xf55896['f'],Number(_0xf55896['v'])));const _0x1d66a0=this[_0x295d60(0x331)](_0xf55896,_0x3f248c),_0x3bac60=new _0x15c500[(_0x295d60(0x3c7))](_0x35e375,_0x1d66a0,_0x15c500[_0x295d60(0x3b8)](0x3));_0x3bac60[_0x295d60(0x18e)]=_0x46c6c7,this[_0x295d60(0x2b1)][_0x35e375]=_0x3bac60,_0x2600b5[_0x295d60(0x3c6)](_0x35e375,_0x1d66a0),_0x23a098[_0x295d60(0x1fc)]({'index':_0x3f248c,'dataField':_0x3bac60});}}return{'updateDataFieldList':_0x23a098,'collection':_0x2600b5};}[_0x97f3f(0x490)](_0x1552e8){const _0x20f31d=_0x97f3f;return this[_0x20f31d(0x23a)][_0x20f31d(0x1ff)]()[_0x20f31d(0x268)]+'\x20'+_0x2d1844[_0x20f31d(0x2fa)](_0x1552e8);}[_0x97f3f(0x331)](_0x2a4b40,_0x4e03e6){const _0x35569c=_0x97f3f;return _0x2a4b40==null||_0x2a4b40===''?this[_0x35569c(0x490)](_0x4e03e6):String(_0x2a4b40);}[_0x97f3f(0x3b2)](_0x76894c){const _0x263131=_0x97f3f;return this[_0x263131(0x1de)][_0x76894c];}[_0x97f3f(0x468)](_0x4abe84,_0x4c1b48,_0x256d31,_0x54a2f7){const _0x2141aa=_0x97f3f;this[_0x2141aa(0x1de)][_0x4abe84]=_0x4c1b48,_0x4c1b48[_0x2141aa(0x271)](_0x256d31),this[_0x2141aa(0x23a)][_0x2141aa(0x3cf)]({'token':_0x4abe84,'type':_0x14b9a3[_0x2141aa(0x349)],'dataRangeInfo':_0x256d31,'targetCellInfo':_0x54a2f7});}['handleMoveRange'](_0x34c5af,_0x42a59d){const _0x2f9e6d=_0x97f3f,_0x31df69=this[_0x2f9e6d(0x3b2)](_0x34c5af),_0xf3daa7=_0x31df69['getFieldIds']();let _0x58bb28=0x0;for(const _0x539359 of _0xf3daa7){const _0xf7218c=_0x31df69[_0x2f9e6d(0x258)](_0x539359),_0x405cb3=this[_0x2f9e6d(0x199)](_0x42a59d,_0x58bb28);this['updateRangeKeyMap'](_0xf7218c[_0x2f9e6d(0x18e)],_0x405cb3),_0x58bb28++;}}[_0x97f3f(0x1a4)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x97f3f(0x2a5)](_0x5761b2,_0x57e288){const _0x43b13c=_0x97f3f;if(this['getCollection'](_0x5761b2)){const _0x39ac0f=this[_0x43b13c(0x446)](_0x57e288),_0x55b1bd=[];for(const _0x2e7661 of _0x39ac0f)this[_0x43b13c(0x1e6)][_0x2e7661]!==void 0x0&&_0x55b1bd[_0x43b13c(0x1fc)](this[_0x43b13c(0x1e6)][_0x2e7661]);const _0x1b9067=this['getNoUsedDataFieldIds'](_0x5761b2),_0xdd5f79=[],_0x3dad8b=new Set(_0x55b1bd);for(const _0x58c529 of _0x1b9067)_0x3dad8b['has'](_0x58c529)||_0xdd5f79[_0x43b13c(0x1fc)](_0x58c529);return _0xdd5f79;}}['getMatrixValue'](_0x28eae0,_0x5f3619,_0x288144,_0x2c3636,_0x2a0ee3){const _0x41cecc=_0x97f3f;return _0x5f3619&&_0x5f3619[_0x41cecc(0x370)](_0x2c3636,_0x2a0ee3)?_0x5f3619[_0x41cecc(0x370)](_0x2c3636,_0x2a0ee3):_0x288144&&_0x288144[_0x41cecc(0x370)](_0x2c3636,_0x2a0ee3)?_0x288144['getValue'](_0x2c3636,_0x2a0ee3):_0x28eae0[_0x41cecc(0x370)](_0x2c3636,_0x2a0ee3);}[_0x97f3f(0x2a3)](_0x2db46a,_0x421bf2,_0x1a2d21,_0x2ddc6c){const _0x14f094=_0x97f3f,_0x3450a9=this[_0x14f094(0x2b1)][_0x2db46a];if(!_0x3450a9)return;const {subUnitId:_0x3a8064,range:_0x169cd7,unitId:_0x1d22df}=_0x421bf2,_0x1a18e9=this[_0x14f094(0x1bf)]['getUnit'](_0x1d22df);if(!_0x1a18e9){console[_0x14f094(0x2bc)]('workbook\x20is\x20not\x20found');return;}const _0x4474af=_0x1a18e9[_0x14f094(0x385)](_0x3a8064),_0x7a6d2c=_0x4474af[_0x14f094(0x208)](),{arrayFormulaCellDataMatrix:_0x360d49,unitDataMatrix:_0x3a8413}=_0x2ddc6c||{},{startRow:_0x25982d,startColumn:_0x7bc530,endRow:_0x112212}=this[_0x14f094(0x3b7)](_0x169cd7,_0x4474af);_0x3450a9[_0x14f094(0x38f)]();const _0x4a5af6=_0x1a18e9['getStyles'](),_0x4c699a={},_0x445ea0=this[_0x14f094(0x436)](_0x7a6d2c,_0x360d49,_0x3a8413,_0x25982d,_0x7bc530+_0x1a2d21);let _0x14d88b=this[_0x14f094(0x1b3)](_0x445ea0,_0x4a5af6,_0x4c699a);_0x15c500[_0x14f094(0x248)](_0x14d88b)&&(_0x14d88b=_0x2d1844[_0x14f094(0x1a9)][_0x14f094(0x264)](_0x14d88b['f'],Number(_0x14d88b['v'])));const _0x1511ab=this[_0x14f094(0x331)](_0x14d88b,_0x7bc530+_0x1a2d21);_0x3450a9[_0x14f094(0x3c5)](_0x1511ab);for(let _0x47dc9d=_0x25982d+0x1;_0x47dc9d<=_0x112212;_0x47dc9d++){const _0x37daed=this[_0x14f094(0x436)](_0x7a6d2c,_0x360d49,_0x3a8413,_0x47dc9d,_0x7bc530+_0x1a2d21);_0x3450a9[_0x14f094(0x2e1)](this['adjustSheetCellData'](_0x37daed,_0x4a5af6,_0x4c699a),_0x47dc9d-0x1-_0x25982d);}}[_0x97f3f(0x3ce)](_0x5dc8cb,_0x472ddf,_0x3ccd70){const _0x5519b8=_0x97f3f,{subUnitId:_0x4e742d,range:_0x3682a2,unitId:_0x50e20b}=_0x3ccd70,_0x21d2a4=this[_0x5519b8(0x1bf)][_0x5519b8(0x322)](_0x50e20b);if(!_0x21d2a4){console['error']('workbook\x20is\x20not\x20found');return;}const _0x3ac3f2=_0x21d2a4[_0x5519b8(0x385)](_0x4e742d),_0x5116fd=_0x3ac3f2[_0x5519b8(0x208)](),{startRow:_0x1a9312,startColumn:_0x41bd93,endRow:_0x2559de}=this[_0x5519b8(0x3b7)](_0x3682a2,_0x3ac3f2),_0x549244=_0x21d2a4[_0x5519b8(0x450)](),_0x2c5ba1={};for(const {dataField:_0x2f5a9c,index:_0x53557b}of _0x472ddf){_0x2f5a9c[_0x5519b8(0x38f)]();const _0x4d2aa9=this[_0x5519b8(0x436)](_0x5116fd,void 0x0,void 0x0,_0x1a9312,_0x41bd93+_0x53557b);let _0x296354=this[_0x5519b8(0x1b3)](_0x4d2aa9,_0x549244,_0x2c5ba1);_0x15c500[_0x5519b8(0x248)](_0x296354)&&(_0x296354=_0x2d1844['numfmt'][_0x5519b8(0x264)](_0x296354['f'],Number(_0x296354['v'])));const _0x2e3fd3=this[_0x5519b8(0x331)](_0x296354,_0x41bd93+_0x53557b);_0x2f5a9c['setName'](_0x2e3fd3);}_0x5dc8cb[_0x5519b8(0x40b)]();for(let _0x4de1fa=_0x1a9312+0x1;_0x4de1fa<=_0x2559de;_0x4de1fa++)for(const {index:_0x45aa7b,dataField:_0x5360e5}of _0x472ddf){const _0x59c0b8=_0x5116fd[_0x5519b8(0x370)](_0x4de1fa,_0x41bd93+_0x45aa7b);_0x5360e5[_0x5519b8(0x2e1)](this[_0x5519b8(0x1b3)](_0x59c0b8,_0x549244,_0x2c5ba1),_0x4de1fa-0x1-_0x1a9312);}_0x5dc8cb[_0x5519b8(0x22e)](_0x2559de-_0x1a9312);}[_0x97f3f(0x446)](_0x4a7630){const _0x3a5ec7=_0x97f3f,{range:_0x3c6b14}=_0x4a7630,{startColumn:_0x1d5b2e,endColumn:_0xcc68be}=_0x3c6b14,_0x37987e=[];for(let _0x5e436c=_0x1d5b2e;_0x5e436c<=_0xcc68be;_0x5e436c++)_0x37987e['push'](this[_0x3a5ec7(0x199)](_0x4a7630,_0x5e436c));return _0x37987e;}['adjustSheetCellData'](_0x5d4fc7,_0x15727d,_0x1ac69f){const _0x30cbaf=_0x97f3f;if(_0x5d4fc7){const {s:_0x7c0a96,v:_0xd59039,t:_0x3abc1a,p:_0x5e86e}=_0x5d4fc7;if(_0x5e86e)return _0x165f8d(_0x5e86e);const _0x258727=_0x15727d[_0x30cbaf(0x4a6)](_0x7c0a96);if(_0x258727&&_0x3abc1a===_0x2d1844[_0x30cbaf(0x190)][_0x30cbaf(0x1e1)]&&_0x258727['n']){const {pattern:_0x12e286}=_0x258727['n'];_0x1ac69f[_0x12e286]||(_0x1ac69f[_0x12e286]=_0x2d1844[_0x30cbaf(0x1a9)][_0x30cbaf(0x318)](_0x12e286));const _0x3dee72=_0x1ac69f[_0x12e286],_0x2822c6=_0x3dee72['isDate'];if(_0x3dee72[_0x30cbaf(0x281)])return String(_0xd59039);if(_0x2822c6)return{'v':_0xd59039,'f':_0x12e286};}if(_0x3abc1a===_0x2d1844[_0x30cbaf(0x190)][_0x30cbaf(0x1e1)])return Number(_0xd59039);if(_0x3abc1a===_0x2d1844['CellValueType'][_0x30cbaf(0x227)]||_0x3abc1a===_0x2d1844['CellValueType'][_0x30cbaf(0x3fd)])return String(_0xd59039);if(_0x3abc1a===void 0x0){const _0x16e4a6=Number(_0xd59039);if(!Number[_0x30cbaf(0x401)](_0x16e4a6)&&String(_0x16e4a6)===_0xd59039)return _0x16e4a6;}return _0xd59039!=null?_0xd59039:null;}else return null;}[_0x97f3f(0x474)](_0x451ace){const _0x47565e=_0x97f3f,{sheetName:_0x4c0be9,range:_0x1ccc0d,unitId:_0x5a69fa}=_0x451ace,_0x27d733=this['_univerInstanceService'][_0x47565e(0x322)](_0x5a69fa);if(!_0x27d733)return console[_0x47565e(0x2bc)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x226f9f=_0x27d733['getSheetBySheetName'](_0x4c0be9),_0x6d0a1=_0x226f9f[_0x47565e(0x208)](),{startRow:_0x2f2db0,startColumn:_0x2b2820,endRow:_0x37b592,endColumn:_0x284dc7}=this['getRangeStartEndInfo'](_0x1ccc0d,_0x226f9f),_0x30753c=_0x27d733[_0x47565e(0x450)](),_0x58ba5b=[],_0x279852=[],_0x44d7d0={};for(let _0x16c616=_0x2f2db0;_0x16c616<=_0x37b592;_0x16c616++){const _0x54bfe4=[];for(let _0x42a3de=_0x2b2820;_0x42a3de<=_0x284dc7;_0x42a3de++){const _0x1a5241=_0x6d0a1[_0x47565e(0x370)](_0x16c616,_0x42a3de);_0x16c616===_0x2f2db0?_0x58ba5b[_0x47565e(0x1fc)](_0x1a5241==null?null:String(_0x1a5241['v'])):_0x54bfe4['push'](this[_0x47565e(0x1b3)](_0x1a5241,_0x30753c,_0x44d7d0));}_0x279852[_0x47565e(0x1fc)](_0x54bfe4);}return{'header':_0x58ba5b,'data':_0x279852};}[_0x97f3f(0x486)](){return super['toJSON']();}[_0x97f3f(0x371)](_0x3a333b){const _0x23e917=_0x97f3f;super['fromJSON'](_0x3a333b),this[_0x23e917(0x425)]();}[_0x97f3f(0x24d)](){const _0x336b76=_0x97f3f;super['dispose'](),this[_0x336b76(0x1e6)]={},this[_0x336b76(0x23a)]=null;}}const _0x2b2f12=_0x49671d=>{const _0x5a1db2=_0x97f3f,{targetCellInfo:_0x35a824}=_0x49671d,{matrixCache:_0x406db1,rangesCache:_0x1f95ad}=_0x16df6a({'filter':'Filter','row':'Row','column':_0x5a1db2(0x437),'values':_0x5a1db2(0x1c9)},_0x35a824),_0x589c3b=new _0x2d1844[(_0x5a1db2(0x19d))]();return _0x406db1[_0x5a1db2(0x214)]((_0x437a80,_0x4549c0,_0x5b052f)=>{const _0x12deca=_0x5a1db2;_0x589c3b[_0x12deca(0x2eb)](_0x437a80,_0x4549c0,_0x5b052f);}),{'matrix':_0x589c3b,'rangesCache':_0x1f95ad};},_0x49905e=_0x3ff5de=>{const _0x1ba12d=_0x97f3f;let _0x5493ef;if(_0x3ff5de!=null&&_0x3ff5de['v']||(_0x3ff5de==null?void 0x0:_0x3ff5de['v'])===0x0){_0x5493ef||(_0x5493ef={});const _0x286866=_0xfb7710(_0x3ff5de['v']);typeof _0x286866==_0x1ba12d(0x3d8)?_0x5493ef['t']=_0x2d1844[_0x1ba12d(0x190)]['NUMBER']:typeof _0x286866==_0x1ba12d(0x2d9)&&(_0x5493ef['t']=_0x2d1844[_0x1ba12d(0x190)][_0x1ba12d(0x227)]),_0x5493ef['v']=_0x286866;}return _0x5493ef;},_0x55e891=(_0x2b5f80,_0x1800c4,_0x29ccc1)=>{const _0x45d4cd=_0x97f3f;var _0x594693,_0x5c5702,_0x5c2bdf,_0x210200,_0x2e6f86,_0x4337ad,_0xa9f154,_0x540c99,_0x4a98c5,_0x3e8068,_0x22d13c,_0x5aae50;const {cornerView:_0xbe3fc3,rowView:_0x4223d8,colView:_0x1f1106,dataView:_0x527ef1,pageView:_0x4f47fe,formatMap:_0x749903}=_0x2b5f80,{row:_0x3d8bb1,col:_0x1f30df}=_0x1800c4,_0x41a520=new _0x2d1844['ObjectMatrix']();let _0x4cc651=_0x3d8bb1,_0x5d03b0=_0x1f30df;Object['keys'](_0x4f47fe[_0x45d4cd(0x307)])[_0x45d4cd(0x34f)](_0x551de8=>{const _0x5f5990=_0x45d4cd;Object[_0x5f5990(0x334)](_0x4f47fe[_0x5f5990(0x307)][Number(_0x551de8)])[_0x5f5990(0x34f)](_0x41d863=>{const _0x255b86=_0x5f5990,_0x4b80be={..._0x4f47fe[_0x255b86(0x307)][Number(_0x551de8)][Number(_0x41d863)]};_0x41a520[_0x255b86(0x2eb)](Number(_0x551de8)+_0x4cc651,Number(_0x41d863)+_0x5d03b0,_0x49905e(_0x4b80be));});});const _0x81d514=Object[_0x45d4cd(0x334)](_0x4f47fe['data'])['length'];_0x4cc651+=_0x81d514+(_0x81d514?_0x356b5c:0x0);const _0x563ced=_0xbe3fc3['getRowCount'](),_0x5e85dc=_0xbe3fc3[_0x45d4cd(0x32f)]();for(let _0x271772=0x0;_0x271772<_0x563ced;_0x271772++)for(let _0x504568=0x0;_0x504568<_0x5e85dc;_0x504568++){const _0x5e5ffb={...(_0x5c5702=(_0x594693=_0xbe3fc3[_0x45d4cd(0x307)])==null?void 0x0:_0x594693[_0x271772])==null?void 0x0:_0x5c5702[_0x504568]};_0x5e5ffb&&((_0x5c2bdf=_0x4223d8[_0x45d4cd(0x367)][_0x504568])!=null&&_0x5c2bdf[_0x45d4cd(0x266)])&&_0x504568===_0x5e85dc-0x1&&_0x271772===_0x563ced-0x1&&(_0x5e5ffb['v']=''+_0x29ccc1[_0x45d4cd(0x37d)]),_0x41a520[_0x45d4cd(0x2eb)](_0x271772+_0x4cc651,_0x504568+_0x5d03b0,_0x49905e(_0x5e5ffb));}_0x5d03b0+=_0x5e85dc;const _0x357162=_0x1f1106['headerMap'],_0x7f076e=_0x1f1106[_0x45d4cd(0x31f)]()>=0x0?_0x1f1106['getLastRow']()+0x1:0x0,_0x512363=_0x1f1106[_0x45d4cd(0x4ab)]()>=0x0?_0x1f1106[_0x45d4cd(0x4ab)]()+0x1:0x0;for(let _0x1ec4ef=0x0;_0x1ec4ef<_0x512363;_0x1ec4ef++)for(let _0x27e53c=0x0;_0x27e53c<_0x7f076e;_0x27e53c++){const _0x59b982={...(_0x2e6f86=(_0x210200=_0x1f1106['data'])==null?void 0x0:_0x210200[_0x1ec4ef])==null?void 0x0:_0x2e6f86[_0x27e53c]},_0x3b894c=(_0x4337ad=_0x357162[_0x1ec4ef])==null?void 0x0:_0x4337ad[_0x45d4cd(0x3e1)],_0x34d6ff=_0x749903[_0x3b894c];_0x59b982&&(_0x59b982['v']=_0x352ede(_0x59b982,_0x1ec4ef===0x0&&((_0xa9f154=_0x1f1106['getHeaderMapItem'](_0x27e53c+0x1))==null?void 0x0:_0xa9f154[_0x45d4cd(0x266)]),_0x34d6ff,_0x29ccc1)),_0x41a520[_0x45d4cd(0x2eb)](_0x1ec4ef+_0x4cc651,_0x27e53c+_0x5d03b0,_0x49905e(_0x59b982));}_0x4cc651+=_0x563ced;const _0x5108d3=_0x4223d8[_0x45d4cd(0x367)],_0x577e41=_0x4223d8[_0x45d4cd(0x31f)]()>=0x0?_0x4223d8['getLastRow']()+0x1:0x0,_0x317394=_0x4223d8['getLastCol']()>=0x0?_0x4223d8[_0x45d4cd(0x4ab)]()+0x1:0x0;for(let _0x53511a=0x0;_0x53511a<_0x577e41;_0x53511a++)for(let _0x5dd86c=0x0;_0x5dd86c<_0x317394;_0x5dd86c++){const _0x2d415b={...(_0x4a98c5=(_0x540c99=_0x4223d8[_0x45d4cd(0x307)])==null?void 0x0:_0x540c99[_0x53511a])==null?void 0x0:_0x4a98c5[_0x5dd86c]},_0x3b2aab=(_0x3e8068=_0x5108d3[_0x5dd86c])==null?void 0x0:_0x3e8068[_0x45d4cd(0x3e1)],_0xcc1949=_0x749903[_0x3b2aab];_0x2d415b&&(_0x2d415b['v']=_0x352ede(_0x2d415b,!0x1,_0xcc1949,_0x29ccc1)),_0x41a520[_0x45d4cd(0x2eb)](_0x53511a+_0x4cc651,_0x5dd86c+_0x1f30df,_0x49905e(_0x2d415b));}const _0x1269e5=_0x527ef1[_0x45d4cd(0x412)](),_0x332625=_0x527ef1[_0x45d4cd(0x32f)]();for(let _0x4b616f=0x0;_0x4b616f<_0x1269e5;_0x4b616f++)for(let _0x567174=0x0;_0x567174<_0x332625;_0x567174++){const _0x11d1e2={...(_0x5aae50=(_0x22d13c=_0x527ef1[_0x45d4cd(0x307)])==null?void 0x0:_0x22d13c[_0x4b616f])==null?void 0x0:_0x5aae50[_0x567174]};_0x41a520[_0x45d4cd(0x2eb)](_0x4b616f+_0x4cc651,_0x567174+_0x5d03b0,_0x49905e(_0x11d1e2));}return _0x41a520;},_0x3f12ba=_0x452fe5=>{const _0xde5573=_0x97f3f,{view:_0x599b0d,targetCellInfo:_0x49aeab,isEmpty:_0x3e8720,textInfo:_0x193162}=_0x452fe5;if(_0x3e8720)return _0x2b2f12(_0x452fe5);const {pageView:_0x432985,cornerView:_0x154c1a,rowView:_0x55ff4a,colView:_0x50a599,dataView:_0x376d65}=_0x599b0d,_0x573c38=_0x56818c(_0x49aeab,_0x432985,!0x0),_0x510f11=_0x432985[_0xde5573(0x34b)]>=0x0?_0x432985[_0xde5573(0x34b)]+0x1:0x0,_0x27c987=_0x154c1a[_0xde5573(0x412)](),_0x4e41f9=_0x154c1a[_0xde5573(0x32f)](),_0x32d7ee=_0x573c38[_0xde5573(0x376)]>0x0?_0x356b5c:0x0,_0x166c69=_0x56818c({'row':_0x49aeab[_0xde5573(0x41b)]+_0x510f11+_0x32d7ee,'col':_0x49aeab['col']},_0x154c1a,!0x1,!0x1),_0x3cf5ef=_0x56818c({'row':_0x49aeab['row']+_0x510f11+_0x32d7ee+_0x27c987,'col':_0x49aeab[_0xde5573(0x36c)]},_0x55ff4a,!0x1,!0x0),_0x4628d9=_0x56818c({'row':_0x49aeab['row']+_0x510f11+_0x32d7ee,'col':_0x49aeab['col']+_0x4e41f9},_0x50a599,!0x1,!0x0),_0x4c7d5d=_0x56818c({'row':_0x49aeab[_0xde5573(0x41b)]+_0x510f11+_0x32d7ee+_0x27c987,'col':_0x49aeab[_0xde5573(0x36c)]+_0x4e41f9},_0x376d65,!0x1,!0x1),_0x20b04c={'rowRanges':_0x3cf5ef,'colRanges':_0x4628d9,'cornerRanges':_0x166c69,'dataRanges':_0x4c7d5d,'pageRanges':_0x573c38};return{'matrix':_0x55e891(_0x599b0d,_0x49aeab,_0x193162),'rangesCache':_0x20b04c};};var _0x2340e9=Object[_0x97f3f(0x1a1)],_0x187e4f=(_0x40d265,_0x5e9e51,_0x4b548f,_0x4b8166)=>{const _0x28fdc0=_0x97f3f;for(var _0x4ded2e=_0x4b8166>0x1?void 0x0:_0x4b8166?_0x2340e9(_0x5e9e51,_0x4b548f):_0x5e9e51,_0x27cbea=_0x40d265[_0x28fdc0(0x376)]-0x1,_0x4160f3;_0x27cbea>=0x0;_0x27cbea--)(_0x4160f3=_0x40d265[_0x27cbea])&&(_0x4ded2e=_0x4160f3(_0x4ded2e)||_0x4ded2e);return _0x4ded2e;},_0x28e32b=(_0x37557c,_0x3e6135)=>(_0x4370b4,_0x124457)=>_0x3e6135(_0x4370b4,_0x124457,_0x37557c);_0x3d41c7['SheetsPivotDataSourceModel']=class extends _0x2d1844[_0x97f3f(0x3a4)]{constructor(_0x307e03,_0x203b7a,_0x454d29,_0x990906,_0xcdf9a5,_0x1234dd){const _0x2b150a=_0x97f3f;super(),_0x4a9226(this,_0x2b150a(0x3b6),new Map()),_0x4a9226(this,_0x2b150a(0x228),new Map()),_0x4a9226(this,'_viewData',new Map()),_0x4a9226(this,_0x2b150a(0x1e9)),_0x4a9226(this,_0x2b150a(0x414),new _0x4d1926[(_0x2b150a(0x249))]()),_0x4a9226(this,_0x2b150a(0x33d),this[_0x2b150a(0x414)][_0x2b150a(0x1f2)]()),_0x4a9226(this,_0x2b150a(0x3e0),new _0x4d1926[(_0x2b150a(0x249))]()),_0x4a9226(this,_0x2b150a(0x18d),this['_viewData$'][_0x2b150a(0x1f2)]()),_0x4a9226(this,_0x2b150a(0x3fc),new _0x4d1926['Subject']()),_0x4a9226(this,_0x2b150a(0x44d),this['_fieldsCollectionChange$'][_0x2b150a(0x1f2)]()),_0x4a9226(this,'_dataFieldManagerCollection',new Map()),_0x4a9226(this,'needSameDeleteModel',[]),_0x4a9226(this,_0x2b150a(0x1cc),new Map()),(this[_0x2b150a(0x3ba)]=_0x307e03,this[_0x2b150a(0x1bf)]=_0x203b7a,this[_0x2b150a(0x346)]=_0x454d29,this[_0x2b150a(0x3b0)]=_0x990906,this[_0x2b150a(0x444)]=_0xcdf9a5,this[_0x2b150a(0x23e)]=_0x1234dd,this[_0x2b150a(0x462)]());}[_0x97f3f(0x1ff)](){const _0x31e86f=_0x97f3f;return this[_0x31e86f(0x1e9)]?this[_0x31e86f(0x1e9)]:_0x530313;}['setTextInfo'](_0x454073){const _0x4c199f=_0x97f3f;this[_0x4c199f(0x1e9)]=_0x454073;}[_0x97f3f(0x3b1)](_0x20b09a){const _0x45646a=_0x97f3f;var _0x1c2c37;const {from:_0x1e33c2,to:_0x20a0e8,unitId:_0x5d2407,fromRange:_0xdc3a2c,toRange:_0x118339}=_0x20b09a;if(_0x1e33c2&&_0x20a0e8){const _0x6ea779=this[_0x45646a(0x374)](_0x5d2407),_0x743846=this[_0x45646a(0x3b6)][_0x45646a(0x4a6)](_0x5d2407),_0x4c4ab3=(_0x1c2c37=this['_univerInstanceService']['getUnit'](_0x5d2407))==null?void 0x0:_0x1c2c37[_0x45646a(0x385)](_0x20a0e8[_0x45646a(0x2bd)]);if(!_0x743846||!_0x4c4ab3)return;const _0x3e741b=_0x4c4ab3==null?void 0x0:_0x4c4ab3[_0x45646a(0x301)]();for(const [_0x14ac39,_0x23a775]of _0x743846['entries']())for(const [_0x4b3cb9,_0x158c6f]of _0x23a775['entries']()){const {sourceRangeInfo:_0x1b63cb}=_0x158c6f;if(_0x1b63cb[_0x45646a(0x39a)]===_0x5d2407&&_0x1b63cb[_0x45646a(0x2bd)]===_0x1e33c2['subUnitId']&&_0x2d1844[_0x45646a(0x417)][_0x45646a(0x2f4)](_0xdc3a2c,_0x1b63cb[_0x45646a(0x46e)])){const _0x9012eb={'row':_0x1b63cb['range']['startRow']-_0xdc3a2c[_0x45646a(0x2b8)],'col':_0x1b63cb[_0x45646a(0x46e)][_0x45646a(0x3d6)]-_0xdc3a2c['startColumn']},_0x75dbb0={'unitId':_0x5d2407,'subUnitId':_0x20a0e8[_0x45646a(0x2bd)],'sheetName':_0x3e741b,'range':{'startRow':_0x118339[_0x45646a(0x2b8)]+_0x9012eb[_0x45646a(0x41b)],'endRow':_0x118339['startRow']+_0x9012eb[_0x45646a(0x41b)]+_0x1b63cb[_0x45646a(0x46e)][_0x45646a(0x2b5)]-_0x1b63cb[_0x45646a(0x46e)][_0x45646a(0x2b8)],'startColumn':_0x118339[_0x45646a(0x3d6)]+_0x9012eb['col'],'endColumn':_0x118339['startColumn']+_0x9012eb[_0x45646a(0x36c)]+_0x1b63cb['range'][_0x45646a(0x43a)]-_0x1b63cb['range']['startColumn']}};_0x6ea779['handleMoveRange'](_0x4b3cb9,_0x75dbb0);const _0x5f578e={..._0x158c6f,'sourceRangeInfo':_0x75dbb0};this[_0x45646a(0x395)](_0x5d2407,_0x20a0e8[_0x45646a(0x2bd)],_0x4b3cb9,_0x5f578e),this[_0x45646a(0x3cf)]({'unitId':_0x5d2407,'token':_0x4b3cb9,'type':_0x14b9a3[_0x45646a(0x482)],'oldSourceRangeInfo':_0x1b63cb,'dataRangeInfo':_0x75dbb0,'targetCellInfo':_0x158c6f[_0x45646a(0x19a)]}),this[_0x45646a(0x28a)]({'unitId':_0x5d2407,'subUnitId':_0x20a0e8['subUnitId'],'oldSubUnitId':_0x14ac39,'pivotTableId':_0x4b3cb9,'pivotTableConfig':_0x5f578e,'collectionConfig':_0x6ea779[_0x45646a(0x486)]()});}}}}[_0x97f3f(0x3cf)](_0x1769eb){const _0x24198b=_0x97f3f;this[_0x24198b(0x414)][_0x24198b(0x339)](_0x1769eb);}[_0x97f3f(0x374)](_0x5a92a7){const _0x3b3f6d=_0x97f3f;let _0x2ff2cf=this[_0x3b3f6d(0x455)][_0x3b3f6d(0x4a6)](_0x5a92a7);return _0x2ff2cf||(_0x2ff2cf=new _0xaa63d1(this,this['_univerInstanceService']),this[_0x3b3f6d(0x455)]['set'](_0x5a92a7,_0x2ff2cf)),_0x2ff2cf;}[_0x97f3f(0x3b2)](_0x475fbc,_0x4e82cf){const _0x176d3d=_0x97f3f;return this[_0x176d3d(0x374)](_0x475fbc)[_0x176d3d(0x1de)][_0x4e82cf];}[_0x97f3f(0x2a5)](_0xdd4b7a,_0x2f3a2a,_0xe6d74f){const _0x2f890e=_0x97f3f;return this[_0x2f890e(0x374)](_0xdd4b7a)[_0x2f890e(0x2a5)](_0x2f3a2a,_0xe6d74f);}[_0x97f3f(0x195)](_0x5478bf,_0x44b103){const _0x228a2d=_0x97f3f;let _0x3f698e=this[_0x228a2d(0x3b6)][_0x228a2d(0x4a6)](_0x5478bf);_0x3f698e||(_0x3f698e=new Map(),this[_0x228a2d(0x3b6)][_0x228a2d(0x251)](_0x5478bf,_0x3f698e));let _0x361e39=_0x3f698e[_0x228a2d(0x4a6)](_0x44b103);return _0x361e39||(_0x361e39=new Map(),_0x3f698e[_0x228a2d(0x251)](_0x44b103,_0x361e39)),_0x361e39;}[_0x97f3f(0x395)](_0x4b1fc3,_0x30e286,_0x378f3a,_0x5eab44){const _0x4fbee=_0x97f3f;this[_0x4fbee(0x195)](_0x4b1fc3,_0x30e286)[_0x4fbee(0x251)](_0x378f3a,_0x5eab44);}[_0x97f3f(0x37a)](_0x1b52f4,_0x22701e,_0x39c2de){const _0x25594a=_0x97f3f;var _0x602043,_0x165f48,_0x428e33,_0xa0a7ff;((_0x165f48=(_0x602043=this[_0x25594a(0x3b6)]['get'](_0x1b52f4))==null?void 0x0:_0x602043[_0x25594a(0x4a6)](_0x22701e))==null?void 0x0:_0x165f48['get'](_0x39c2de))&&((_0xa0a7ff=(_0x428e33=this[_0x25594a(0x3b6)][_0x25594a(0x4a6)](_0x1b52f4))==null?void 0x0:_0x428e33['get'](_0x22701e))==null||_0xa0a7ff[_0x25594a(0x3ca)](_0x39c2de));}['_updatePivotTableInstanceCache'](_0x1e4bd0,_0x415e96){const _0x2ac972=_0x97f3f;this[_0x2ac972(0x228)][_0x2ac972(0x251)](_0x1e4bd0,_0x415e96);}[_0x97f3f(0x479)](_0x350c02){this['_pivotTableInstanceCache']['delete'](_0x350c02);}[_0x97f3f(0x1f3)](_0xe05bfa,_0x38a7c8){const _0x3b2a29=_0x97f3f;let _0x53b223=this[_0x3b2a29(0x189)][_0x3b2a29(0x4a6)](_0xe05bfa);_0x53b223||(_0x53b223=new Map(),this['_viewData'][_0x3b2a29(0x251)](_0xe05bfa,_0x53b223));let _0x58872a=_0x53b223[_0x3b2a29(0x4a6)](_0x38a7c8);return _0x58872a||(_0x58872a=new Map(),_0x53b223['set'](_0x38a7c8,_0x58872a)),_0x58872a;}['updateConfig'](_0x5b6a92){const _0x3b33e9=_0x97f3f,{unitId:_0x52644e,subUnitId:_0x5a4154,pivotTableId:_0x45806e,pivotTableConfig:_0x469c8d,collectionConfig:_0x228544}=_0x5b6a92,_0x4bbdce={'unitId':_0x52644e,'subUnitId':_0x5a4154,'oldSubUnitId':_0x5a4154,'pivotTableId':_0x45806e,'pivotTableConfig':_0x469c8d,'collectionConfig':_0x228544};this[_0x3b33e9(0x444)][_0x3b33e9(0x2ff)](_0x2a81da['id'],_0x4bbdce,{'onlyLocal':!0x0});}[_0x97f3f(0x439)](_0x1ba2a4,_0x954974,_0x781279,_0x5b6d35,_0x82a7fd,_0x5d3c3f,_0x55cdeb,_0x22d897=!0x1){const _0x20061d=_0x97f3f;var _0x3b46b1;this['_commandService'][_0x20061d(0x2ff)](_0x26ad74['id'],{'single':{'unitId':_0x1ba2a4,'subUnitId':_0x954974,'type':_0x781279,'pivotTableId':_0x5b6d35,'view':_0x82a7fd,'pivotConfig':_0x5d3c3f},'collectionConfig':{[_0x1ba2a4]:_0x55cdeb}},{'onlyLocal':!0x0});const _0x4f0fbb=!!((_0x3b46b1=this[_0x20061d(0x42e)](_0x5b6d35))!=null&&_0x3b46b1['isEmpty']()),_0xe9073a=this[_0x20061d(0x21d)](_0x1ba2a4,_0x954974,_0x5b6d35);_0xe9073a&&this[_0x20061d(0x489)]({'view':_0x82a7fd,'pivotTableId':_0x5b6d35,'textInfo':this[_0x20061d(0x1ff)](),'isEmpty':_0x4f0fbb,'targetCellInfo':_0xe9073a['targetCellInfo']},_0x22d897);}['updateViewData'](_0x1f6991,_0x3b1921){const _0x28ef7c=_0x97f3f,{targetCellInfo:_0x30b0ff,pivotTableId:_0x44b18b}=_0x1f6991,{unitId:_0x716960,subUnitId:_0x303cd7}=_0x30b0ff,_0x1a8b99=this['_ensureViewDataMap'](_0x716960,_0x303cd7),_0x238301=_0x1a8b99[_0x28ef7c(0x4a6)](_0x44b18b);let _0x1ba72c,_0x1399cf;_0x238301&&(_0x1ba72c=_0x238301[_0x28ef7c(0x350)],_0x1399cf=_0x238301['matrix']);const {rangesCache:_0x4c4b0d,matrix:_0x3c95a6}=_0x3f12ba(_0x1f6991);_0x1a8b99[_0x28ef7c(0x251)](_0x44b18b,{'rangeCache':_0x4c4b0d,'matrix':_0x3c95a6,'oldMatrix':_0x1399cf,'oldRangeCache':_0x1ba72c}),_0x3b1921||this['_viewData$']['next']({'unitId':_0x716960,'subUnitId':_0x303cd7,'pivotTableId':_0x44b18b});}[_0x97f3f(0x445)](_0x18561e,_0x3f2ba1,_0x252654,_0x49fb42,_0x22e214){const _0x3aeb6d=_0x97f3f;this[_0x3aeb6d(0x395)](_0x18561e,_0x3f2ba1,_0x252654,_0x22e214),this['_updatePivotTableInstanceCache'](_0x252654,_0x49fb42);}[_0x97f3f(0x35e)](_0x1f05f6,_0x49edf4,_0x595353){const _0x3bbe61=_0x97f3f,_0x365bad=this['getDataFieldManager'](_0x1f05f6);_0x365bad['getNoUsedDataFieldIds'](_0x595353)['forEach'](_0x253beb=>{const _0x133e96=_0x286d;_0x365bad[_0x133e96(0x41d)](_0x253beb);}),this[_0x3bbe61(0x2d6)](_0x1f05f6,_0x595353),this[_0x3bbe61(0x37a)](_0x1f05f6,_0x49edf4,_0x595353),this[_0x3bbe61(0x479)](_0x595353);}['setPivotTable'](_0x28503a,_0x3b4ead,_0x52584a,_0x343380){this['_updateModelCache'](_0x28503a,_0x3b4ead,_0x52584a,_0x343380);}['getPivotTableConfig'](_0x5d7015,_0x49572d,_0x254cc5){const _0x2b6416=_0x97f3f;var _0xbfbceb,_0x16f4a3;const _0x1bd9ed=(_0x16f4a3=(_0xbfbceb=this[_0x2b6416(0x3b6)][_0x2b6416(0x4a6)](_0x5d7015))==null?void 0x0:_0xbfbceb['get'](_0x49572d))==null?void 0x0:_0x16f4a3['get'](_0x254cc5);if(_0x1bd9ed)return _0x1bd9ed;}[_0x97f3f(0x242)](_0x536e98,_0x1f0ffe,_0x11dee4){const _0x107566=_0x97f3f;var _0xffaf08,_0x51774a;const _0x2b2b4b=(_0x51774a=(_0xffaf08=this['_model'][_0x107566(0x4a6)](_0x536e98))==null?void 0x0:_0xffaf08['get'](_0x1f0ffe))==null?void 0x0:_0x51774a[_0x107566(0x4a6)](_0x11dee4);if(_0x2b2b4b)return _0x2b2b4b[_0x107566(0x35b)];}[_0x97f3f(0x42e)](_0x2478e1){const _0x48bbef=_0x97f3f;return this[_0x48bbef(0x228)]['get'](_0x2478e1);}[_0x97f3f(0x34e)](_0x2203e1){const _0x1043fe=_0x97f3f;this['_model'][_0x1043fe(0x3ca)](_0x2203e1);const _0x5cc0a3=this[_0x1043fe(0x455)][_0x1043fe(0x4a6)](_0x2203e1);_0x5cc0a3&&(_0x5cc0a3['dispose'](),this[_0x1043fe(0x455)][_0x1043fe(0x3ca)](_0x2203e1)),this[_0x1043fe(0x189)][_0x1043fe(0x3ca)](_0x2203e1),this['needSameDeleteModel'][_0x1043fe(0x34f)](_0x16c717=>{const _0x3ad329=_0x1043fe;_0x16c717[_0x3ad329(0x34e)](_0x2203e1);});}[_0x97f3f(0x2aa)](_0x19cdec,_0x472b9d,_0xf70a5d,_0x3b6ff2){const _0x2e45aa=_0x97f3f;return this[_0x2e45aa(0x374)](_0xf70a5d[_0x2e45aa(0x39a)])[_0x2e45aa(0x2aa)](_0x19cdec,_0x472b9d,_0xf70a5d,_0x3b6ff2);}[_0x97f3f(0x1e4)](_0x1dbe88){const _0x342e4a=_0x97f3f;return this[_0x342e4a(0x374)](_0x1dbe88[_0x342e4a(0x39a)])[_0x342e4a(0x1e4)](_0x1dbe88);}[_0x97f3f(0x3ce)](_0x459550,_0x39abe7,_0x842101){const _0x3a0051=_0x97f3f;this[_0x3a0051(0x374)](_0x842101[_0x3a0051(0x39a)])['refreshData'](_0x459550,_0x39abe7,_0x842101);}[_0x97f3f(0x1b1)](_0x368961,_0x5d8fec){const _0x3cdc47=_0x97f3f;this[_0x3cdc47(0x374)](_0x368961)['deleteDataField'](_0x5d8fec);}['removeCollections'](_0x1b9483,_0x504648){const _0x439491=_0x97f3f;this[_0x439491(0x374)](_0x1b9483)['removeCollectionImp'](_0x504648);}[_0x97f3f(0x285)](_0x4df496,_0x336fbb){const _0x6477f=_0x97f3f;var _0x3b6572;return(_0x3b6572=this[_0x6477f(0x3b6)]['get'](_0x4df496))==null?void 0x0:_0x3b6572['get'](_0x336fbb);}[_0x97f3f(0x289)](_0x2df5b8){const _0x3c409c=_0x97f3f;for(const [_0xe652fe,_0x5a0c1a]of this[_0x3c409c(0x3b6)][_0x3c409c(0x2e8)]())for(const [_0x575939,_0x750e1e]of _0x5a0c1a['entries']())if(_0x750e1e[_0x3c409c(0x364)](_0x2df5b8))return{'unitId':_0xe652fe,'subUnitId':_0x575939};return null;}['sideEffectUpdateWorkerCache'](_0x5fa8a1,_0x44a54f,_0x24d52c,_0xa4dc6b){const _0x2b7427=_0x97f3f,_0x1bdd04=this['_ensureViewDataMap'](_0x5fa8a1,_0x44a54f);_0xa4dc6b?_0x1bdd04['set'](_0x24d52c,_0xa4dc6b):_0x1bdd04[_0x2b7427(0x3ca)](_0x24d52c),this['_viewData$'][_0x2b7427(0x339)]({'unitId':_0x5fa8a1,'subUnitId':_0x44a54f,'pivotTableId':_0x24d52c});}[_0x97f3f(0x24d)](){const _0x9654a2=_0x97f3f;super[_0x9654a2(0x24d)]();}['getViewData'](_0x68f740,_0x50072a,_0x4da31e){const _0x1a45bd=_0x97f3f;var _0x2d5593,_0x449a70;const _0x454c96=(_0x449a70=(_0x2d5593=this['_viewData'][_0x1a45bd(0x4a6)](_0x68f740))==null?void 0x0:_0x2d5593[_0x1a45bd(0x4a6)](_0x50072a))==null?void 0x0:_0x449a70['get'](_0x4da31e);return _0x454c96||null;}[_0x97f3f(0x22f)](_0x298428){const _0x18a748=_0x97f3f;this[_0x18a748(0x2c8)](_0x298428);}[_0x97f3f(0x2c8)](_0x115a59){const _0x58a6e9=_0x97f3f,{token:_0x15d717,unitId:_0x1b7fe1,subUnitId:_0x2147fa}=_0x115a59,_0x253757=_0x1b7fe1+'-'+_0x2147fa+'-'+_0x15d717;this[_0x58a6e9(0x1cc)][_0x58a6e9(0x4a6)](_0x253757)&&clearTimeout(this[_0x58a6e9(0x1cc)][_0x58a6e9(0x4a6)](_0x253757));const _0x319ed0=setTimeout(()=>{const _0x4ff82f=_0x58a6e9;this[_0x4ff82f(0x45d)](_0x115a59),this[_0x4ff82f(0x1cc)][_0x4ff82f(0x3ca)](_0x253757);},_0x2ff45e);this[_0x58a6e9(0x1cc)]['set'](_0x253757,_0x319ed0);}[_0x97f3f(0x45d)](_0x6e71a3){const _0x6ca8c3=_0x97f3f,{unitId:_0x3beeb6,subUnitId:_0x219b96,token:_0x455894,type:_0x4e38e9,pivotConfig:_0x48c274}=_0x6e71a3,_0x3d7192=this[_0x6ca8c3(0x42e)](_0x455894),_0x392ea7=_0x3d7192==null?void 0x0:_0x3d7192[_0x6ca8c3(0x448)](),_0x4f637e=_0x48c274!=null?_0x48c274:this[_0x6ca8c3(0x21d)](_0x3beeb6,_0x219b96,_0x455894);_0x4f637e&&(_0x4f637e['isEmpty']=!!(_0x3d7192!=null&&_0x3d7192[_0x6ca8c3(0x241)]())),(_0x392ea7||_0x4e38e9===_0x532e5d[_0x6ca8c3(0x262)])&&this[_0x6ca8c3(0x439)](_0x3beeb6,_0x219b96,_0x4e38e9,_0x455894,_0x392ea7,_0x4f637e,this[_0x6ca8c3(0x374)](_0x3beeb6)[_0x6ca8c3(0x486)]());}[_0x97f3f(0x486)](_0x491e39){const _0x52d85d=_0x97f3f,_0x350e99={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x491e39)&&(_0x350e99['dataFieldManagerConfig'][_0x491e39]=this['getDataFieldManager'](_0x491e39)['toJSON']()),this[_0x52d85d(0x3b6)]['get'](_0x491e39)){_0x350e99[_0x52d85d(0x21c)][_0x491e39]={};const _0x470a00=this[_0x52d85d(0x3b6)][_0x52d85d(0x4a6)](_0x491e39);_0x470a00!=null&&_0x470a00['size']&&[..._0x470a00['keys']()][_0x52d85d(0x34f)](_0xdf01fd=>{const _0x2d6ad6=_0x52d85d,_0x583171=_0x470a00[_0x2d6ad6(0x4a6)](_0xdf01fd);_0x583171!=null&&_0x583171[_0x2d6ad6(0x35f)]&&(_0x350e99['pivotTableConfigs'][_0x491e39][_0xdf01fd]={},[..._0x583171[_0x2d6ad6(0x334)]()]['forEach'](_0x3d0434=>{const _0x1b6b29=_0x2d6ad6,_0xc5ea0b=_0x583171[_0x1b6b29(0x4a6)](_0x3d0434);_0xc5ea0b&&(_0x350e99[_0x1b6b29(0x21c)][_0x491e39][_0xdf01fd][_0x3d0434]=_0xc5ea0b);}));});}return _0x350e99;}[_0x97f3f(0x371)](_0x43eafc){const _0x6bd425=_0x97f3f;var _0x4ee9b6;const {dataFieldManagerConfig:_0x1de758,pivotTableConfigs:_0x1cb576}=_0x43eafc;_0x1de758&&Object[_0x6bd425(0x334)](_0x1de758)[_0x6bd425(0x34f)](_0x346de9=>{const _0x690b8d=_0x6bd425;this['getDataFieldManager'](_0x346de9)[_0x690b8d(0x371)](_0x1de758[_0x346de9]);});const _0x289051=[];if(_0x1cb576){const _0x55a7f4=(_0x4ee9b6=this[_0x6bd425(0x3ba)][_0x6bd425(0x4a6)](_0x2d1844[_0x6bd425(0x2ca)])[_0x6bd425(0x327)](_0x2e8cbd[_0x6bd425(0x1c4)]))!=null?_0x4ee9b6:{},{ls:_0x43e53f,pbk:_0x514545}=_0x55a7f4,_0xef18a1=_0xa337b6(_0x38f1de,_0x43e53f,_0x514545)[_0x6bd425(0x3d5)];Object[_0x6bd425(0x334)](_0x1cb576)[_0x6bd425(0x34f)](_0xffe351=>{const _0x2e0c89=_0x6bd425;let _0x31a20f=0x0;const _0x1a5e64=_0x1cb576[_0xffe351];Object['keys'](_0x1a5e64)[_0x2e0c89(0x34f)](_0xfd9b62=>{const _0x35700c=_0x2e0c89,_0x21911e=_0x1a5e64[_0xfd9b62];Object[_0x35700c(0x334)](_0x21911e)[_0x35700c(0x34f)](_0x3cf4e3=>{const _0x107895=_0x35700c,_0x4e5680=_0x21911e[_0x3cf4e3];if(_0x4e5680){if(_0x31a20f>=_0xef18a1)return;_0x31a20f++;const _0x50c95e=this['getDataFieldManager'](_0xffe351),_0x123e69=_0x50c95e[_0x107895(0x1de)][_0x3cf4e3],_0x369ab9=_0x123e69[_0x107895(0x1ab)]();let _0x160a87=0x0;const _0x11aebe=[];for(const _0x22fb70 of _0x369ab9){const _0x49fe2f=_0x123e69[_0x107895(0x258)](_0x22fb70);if(_0x15c500[_0x107895(0x3f3)](_0x49fe2f)){const _0x124e57=_0x49fe2f['getOriginFieldId'](),_0x4144a8=_0x123e69[_0x107895(0x258)](_0x124e57);_0x4144a8&&_0x11aebe[_0x107895(0x1fc)]([_0x49fe2f,_0x4144a8]);continue;}_0x50c95e[_0x107895(0x2a3)](_0x22fb70,_0x4e5680[_0x107895(0x252)],_0x160a87),_0x160a87++;}_0x11aebe[_0x107895(0x34f)](([_0x3c2452,_0x4e646])=>{_0x3c2452['refreshGroupField'](_0x4e646);});const _0x3480a8=new _0x15c500[(_0x107895(0x1fa))](_0x123e69);_0x3480a8[_0x107895(0x371)](_0x4e5680[_0x107895(0x35b)]),this[_0x107895(0x445)](_0xffe351,_0xfd9b62,_0x3cf4e3,_0x3480a8,_0x4e5680);const _0x250a5c=_0x3480a8[_0x107895(0x448)]();_0x289051[_0x107895(0x1fc)]({'unitId':_0xffe351,'subUnitId':_0xfd9b62,'pivotTableId':_0x3cf4e3,'view':_0x250a5c[_0x107895(0x486)](),'pivotConfig':_0x4e5680,'type':_0x532e5d[_0x107895(0x31d)]});const _0x3af046=!!_0x3480a8['isEmpty'](),_0x124bd4={'view':_0x250a5c,'pivotTableId':_0x3cf4e3,'textInfo':this[_0x107895(0x1ff)](),'isEmpty':_0x3af046,'targetCellInfo':_0x4e5680[_0x107895(0x19a)]};this[_0x107895(0x489)](_0x124bd4,!0x1);}});});});}_0x1de758&&Object[_0x6bd425(0x334)](_0x1de758)['forEach'](_0x31f10b=>{const _0x4fbc10=_0x6bd425,_0x5d82e2=this[_0x4fbc10(0x374)](_0x31f10b);this['_fieldsCollectionChange$'][_0x4fbc10(0x339)](_0x5d82e2[_0x4fbc10(0x1de)]);}),this[_0x6bd425(0x444)][_0x6bd425(0x2ff)](_0x26ad74['id'],{'batch':_0x289051,'collectionConfig':_0x1de758},{'onlyLocal':!0x0});}[_0x97f3f(0x462)](){const _0x14929e=_0x97f3f;this[_0x14929e(0x311)](this['_resourceManagerService'][_0x14929e(0x188)]({'toJson':_0x580c84=>JSON['stringify'](this[_0x14929e(0x486)](_0x580c84)),'parseJson':_0x55424f=>{const _0x51a3f9=_0x14929e;if(!_0x55424f)return{};try{return JSON[_0x51a3f9(0x1e2)](_0x55424f);}catch{return{};}},'businesses':[_0x2d1844['UniverInstanceType'][_0x14929e(0x48b)]],'pluginName':_0x51e4a1,'onLoad':(_0x59f362,_0x4121ac)=>{const _0x14cbd8=_0x14929e;this[_0x14cbd8(0x371)](_0x4121ac);},'onUnLoad':_0x5e1fd0=>{const _0x3421ae=_0x14929e;this[_0x3421ae(0x34e)](_0x5e1fd0);}}));}},_0x3d41c7[_0x97f3f(0x3a2)]=_0x187e4f([_0x28e32b(0x0,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x2b2)])),_0x28e32b(0x1,_0x2d1844[_0x97f3f(0x21b)]),_0x28e32b(0x2,_0x2d1844['Inject'](_0x2d1844[_0x97f3f(0x2da)])),_0x28e32b(0x3,_0x2d1844['IConfigService']),_0x28e32b(0x4,_0x2d1844[_0x97f3f(0x35c)]),_0x28e32b(0x5,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x293)]))],_0x3d41c7[_0x97f3f(0x3a2)]);const _0x34b165={0x0:{0x0:{'v':_0x97f3f(0x426),'s':_0x173f28}},0x2:{0x1:{'v':'','s':_0x173f28},0x2:{'v':'','s':_0x173f28},0x3:{'v':_0x97f3f(0x211),'s':_0x173f28},0x4:{'v':'','s':_0x173f28},0x5:{'v':'','s':_0x173f28}},0x3:{0x0:{'v':'','s':_0x173f28},0x1:{'v':'','s':_0x387342},0x2:{'v':'','s':_0x387342},0x3:{'v':'','s':_0x387342},0x4:{'v':'','s':_0x387342},0x5:{'v':'','s':_0x387342}},0x4:{0x0:{'v':'','s':_0x173f28},0x1:{'v':'','s':_0x387342},0x2:{'v':'','s':_0x387342},0x3:{'v':'','s':_0x387342},0x4:{'v':'','s':_0x387342},0x5:{'v':'','s':_0x387342}},0x5:{0x0:{'v':'','s':_0x173f28},0x1:{'v':'','s':_0x387342},0x2:{'v':'','s':_0x387342},0x3:{'v':'','s':_0x387342},0x4:{'v':'','s':_0x387342},0x5:{'v':'','s':_0x387342}},0x6:{0x0:{'v':'','s':_0x173f28},0x1:{'v':'','s':_0x387342},0x2:{'v':'','s':_0x387342},0x3:{'v':'','s':_0x387342},0x4:{'v':'','s':_0x387342},0x5:{'v':'','s':_0x387342}},0x7:{0x0:{'v':'','s':_0x173f28},0x1:{'v':'','s':_0x387342},0x2:{'v':'','s':_0x387342},0x3:{'v':'','s':_0x387342},0x4:{'v':'','s':_0x387342},0x5:{'v':'','s':_0x387342}},0x8:{0x0:{'v':'row','s':_0x173f28},0x1:{'v':'','s':_0x387342},0x2:{'v':'','s':_0x387342},0x3:{'v':'values','s':_0x387342},0x4:{'v':'','s':_0x387342},0x5:{'v':'','s':_0x387342}},0x9:{0x0:{'v':'','s':_0x173f28},0x1:{'v':'','s':_0x387342},0x2:{'v':'','s':_0x387342},0x3:{'v':'','s':_0x387342},0x4:{'v':'','s':_0x387342},0x5:{'v':'','s':_0x387342}},0xa:{0x0:{'v':'','s':_0x173f28},0x1:{'v':'','s':_0x387342},0x2:{'v':'','s':_0x387342},0x3:{'v':'','s':_0x387342},0x4:{'v':'','s':_0x387342},0x5:{'v':'','s':_0x387342}},0xb:{0x0:{'v':'','s':_0x173f28},0x1:{'v':'','s':_0x387342},0x2:{'v':'','s':_0x387342},0x3:{'v':'','s':_0x387342},0x4:{'v':'','s':_0x387342},0x5:{'v':'','s':_0x387342}},0xc:{0x0:{'v':'','s':_0x173f28},0x1:{'v':'','s':_0x387342},0x2:{'v':'','s':_0x387342},0x3:{'v':'','s':_0x387342},0x4:{'v':'','s':_0x387342},0x5:{'v':'','s':_0x387342}},0xd:{0x0:{'v':'','s':_0x173f28},0x1:{'v':'','s':_0x387342},0x2:{'v':'','s':_0x387342},0x3:{'v':'','s':_0x387342},0x4:{'v':'','s':_0x387342},0x5:{'v':'','s':_0x387342}}},_0x58f081={'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':[]},_0x16df6a=(_0x16b25d,_0x72747b)=>{const _0x57037d=_0x97f3f,_0x176757=new _0x2d1844[(_0x57037d(0x19d))](),_0x1a85a7=new _0x2d1844[(_0x57037d(0x19d))](_0x34b165),{row:_0x7a1308,col:_0x3a835e}=_0x72747b;_0x1a85a7[_0x57037d(0x214)]((_0x35cbd4,_0x3cc7ba,_0x38286d)=>{const _0x1c4c45=_0x57037d;let _0x3a2b6c='';_0x38286d['v']==='filter'?_0x3a2b6c=_0x16b25d[_0x1c4c45(0x426)]:_0x38286d['v']===_0x1c4c45(0x41b)?_0x3a2b6c=_0x16b25d[_0x1c4c45(0x41b)]:_0x38286d['v']===_0x1c4c45(0x211)?_0x3a2b6c=_0x16b25d[_0x1c4c45(0x211)]:_0x38286d['v']===_0x1c4c45(0x45f)&&(_0x3a2b6c=_0x16b25d[_0x1c4c45(0x45f)]),_0x176757['setValue'](_0x35cbd4+_0x7a1308,_0x3cc7ba+_0x3a835e,{..._0x38286d,'v':_0x3a2b6c});});const _0x335a0d=_0x2d1844[_0x57037d(0x3a9)][_0x57037d(0x40c)](_0x58f081);return Object[_0x57037d(0x334)](_0x58f081)[_0x57037d(0x34f)](_0xf60b1c=>{const _0x3f244a=_0x57037d;_0x335a0d[_0xf60b1c]=_0x58f081[_0xf60b1c][_0x3f244a(0x2ad)](_0x2fdd29=>({..._0x2fdd29,'startRow':_0x2fdd29[_0x3f244a(0x2b8)]+_0x7a1308,'endRow':_0x2fdd29['endRow']+_0x7a1308,'startColumn':_0x2fdd29[_0x3f244a(0x3d6)]+_0x3a835e,'endColumn':_0x2fdd29['endColumn']+_0x3a835e}));}),{'matrixCache':_0x176757,'rangesCache':_0x335a0d};};function _0x2263b8(_0x285c80,_0x577fb2){const _0x3d8f7f=_0x97f3f;let _0x547fde='';const _0x11dd5d=this['getTextInfo']();switch(_0x577fb2){case _0x15c500['PivotSubtotalTypeEnum']['average']:_0x547fde=_0x11dd5d[_0x3d8f7f(0x3df)]+_0x285c80;break;case _0x15c500[_0x3d8f7f(0x1ef)][_0x3d8f7f(0x3d5)]:_0x547fde=_0x11dd5d[_0x3d8f7f(0x484)]+_0x285c80;break;case _0x15c500[_0x3d8f7f(0x1ef)][_0x3d8f7f(0x28d)]:_0x547fde=_0x11dd5d[_0x3d8f7f(0x2a7)]+_0x285c80;break;case _0x15c500[_0x3d8f7f(0x1ef)]['max']:_0x547fde=_0x11dd5d[_0x3d8f7f(0x1d1)]+_0x285c80;break;case _0x15c500[_0x3d8f7f(0x1ef)][_0x3d8f7f(0x254)]:_0x547fde=_0x11dd5d[_0x3d8f7f(0x33e)]+_0x285c80;break;case _0x15c500['PivotSubtotalTypeEnum'][_0x3d8f7f(0x315)]:_0x547fde=_0x11dd5d[_0x3d8f7f(0x1db)]+_0x285c80;break;case _0x15c500['PivotSubtotalTypeEnum'][_0x3d8f7f(0x286)]:_0x547fde=_0x11dd5d[_0x3d8f7f(0x2b3)]+_0x285c80;break;case _0x15c500[_0x3d8f7f(0x1ef)][_0x3d8f7f(0x20f)]:_0x547fde=_0x11dd5d['sheets-pivot.stdDevpName']+_0x285c80;break;case _0x15c500[_0x3d8f7f(0x1ef)][_0x3d8f7f(0x379)]:_0x547fde=_0x11dd5d[_0x3d8f7f(0x20e)]+_0x285c80;break;case _0x15c500['PivotSubtotalTypeEnum'][_0x3d8f7f(0x460)]:_0x547fde=_0x11dd5d[_0x3d8f7f(0x26b)]+_0x285c80;break;case _0x15c500[_0x3d8f7f(0x1ef)][_0x3d8f7f(0x497)]:_0x547fde=_0x11dd5d[_0x3d8f7f(0x40d)]+_0x285c80;break;default:_0x547fde=_0x285c80;break;}return _0x547fde;}function _0x418c21(_0xd6e0ca,_0x8c5e51,_0x1d7e50,_0x76cc82,_0x1341e6){const _0x4706ba=_0x97f3f;var _0x415b86,_0x1f296c,_0x141f1c,_0x7ef5b8,_0x19f60f;const _0x153ddd=_0x2d1844['cellToRange'](_0xd6e0ca,_0x8c5e51),{rangesInfo:_0x4cd3b7,areaInfo:_0x36cdd2,headerMap:_0x1797f5}=_0x1341e6;if(!_0x4cd3b7||!_0x36cdd2||!_0x1797f5)return;const _0x1aafca=Object[_0x4706ba(0x334)](_0x4cd3b7)[_0x4706ba(0x457)](_0x2ecf35=>_0x4cd3b7[_0x2ecf35]['some'](_0x528587=>_0x2d1844[_0x4706ba(0x417)][_0x4706ba(0x2f4)](_0x528587,_0x153ddd))),_0xd024c3=_0x36cdd2;let _0xee5fc5,_0x2add1f,_0x4ac514;if(_0x1aafca===_0x4706ba(0x411))_0xee5fc5=(_0x415b86=_0xd024c3==null?void 0x0:_0xd024c3[_0x4706ba(0x35a)])==null?void 0x0:_0x415b86[_0xd6e0ca],_0x2add1f=(_0x1f296c=_0x1797f5==null?void 0x0:_0x1797f5['rowHeaderMap'])==null?void 0x0:_0x1f296c[_0x8c5e51],_0x4ac514=_0x2add1f==null?void 0x0:_0x2add1f[_0x4706ba(0x3e1)];else{if(_0x1aafca===_0x4706ba(0x46c))_0xee5fc5=(_0x141f1c=_0xd024c3==null?void 0x0:_0xd024c3[_0x4706ba(0x212)])==null?void 0x0:_0x141f1c[_0x8c5e51],_0x2add1f=(_0x7ef5b8=_0x1797f5[_0x4706ba(0x1ac)])==null?void 0x0:_0x7ef5b8[_0xd6e0ca+0x1+_0x8c5e51-_0x4cd3b7['colRanges'][0x0][_0x4706ba(0x3d6)]],_0x4ac514=_0x2add1f==null?void 0x0:_0x2add1f[_0x4706ba(0x3e1)];else{if(_0x1aafca===_0x4706ba(0x29d))_0xee5fc5=(_0x19f60f=_0xd024c3==null?void 0x0:_0xd024c3['cornerInfo'])==null?void 0x0:_0x19f60f[_0x8c5e51],_0x4ac514=_0xee5fc5==null?void 0x0:_0xee5fc5[_0x4706ba(0x3e1)];else{if(_0x1aafca===_0x4706ba(0x3cc)){const _0x4a35d6=_0x1d7e50==null?void 0x0:_0x1d7e50['fi'];_0x4a35d6!==void 0x0&&(_0x4ac514=_0x76cc82[_0x4706ba(0x1ed)](_0x4a35d6));}}}}return{'filterId':_0x4ac514,'info':_0xee5fc5,'data':_0x1d7e50,'headerInfo':_0x2add1f};}function _0x409a21(_0x51b8e3,_0x1d8439,_0x171937){const _0x538018=_0x97f3f,_0xf0212=_0x51b8e3[_0x538018(0x442)],_0x10884e=_0xf0212[_0x538018(0x1ab)](),_0x3d027f=new Set();_0x51b8e3['iterateField'](_0x5c1c92=>{const _0x4bc56f=_0x538018;_0x3d027f['add'](_0x5c1c92[_0x4bc56f(0x20d)]);});const _0x3d5ff1=_0x10884e[_0x538018(0x2ad)](_0x2d4785=>{const _0x211a02=_0x538018,_0x2beaa7=_0xf0212[_0x211a02(0x258)](_0x2d4785);return{'checked':_0x3d027f[_0x211a02(0x364)](_0x2d4785),'dataFieldId':_0x2beaa7['id'],'id':_0x2beaa7['id'],'name':_0xf0212['getDisplayName'](_0x2beaa7['id']),'type':_0x2beaa7['getFieldDataType'](),'pivotTableId':_0x1d8439};}),_0x4b4e24=[];_0x51b8e3[_0x538018(0x28e)](_0x15c500[_0x538018(0x2c1)][_0x538018(0x3d7)],_0x200d43=>{const _0x19d212=_0x538018;_0x4b4e24[_0x19d212(0x1fc)]({'dataFieldId':_0x200d43[_0x19d212(0x20d)],'tableFieldId':_0x200d43[_0x19d212(0x204)](),'displayName':_0x200d43[_0x19d212(0x3c8)]()});});const _0x418ad2=[];_0x51b8e3[_0x538018(0x28e)](_0x15c500['PivotTableFiledAreaEnum'][_0x538018(0x437)],_0x783792=>{const _0xbb7def=_0x538018;_0x418ad2['push']({'dataFieldId':_0x783792[_0xbb7def(0x20d)],'tableFieldId':_0x783792[_0xbb7def(0x204)](),'displayName':_0x783792['getDisplayName']()});});const _0x147254=[];if(_0x51b8e3[_0x538018(0x28e)](_0x15c500[_0x538018(0x2c1)]['Value'],_0x32a54d=>{const _0x454a11=_0x538018;_0x147254['push']({'dataFieldId':_0x32a54d[_0x454a11(0x20d)],'tableFieldId':_0x32a54d[_0x454a11(0x204)](),'displayName':_0x32a54d[_0x454a11(0x3c8)](),'format':_0x32a54d[_0x454a11(0x2d7)](),'subTotalType':_0x32a54d['getSubtotal']()});}),_0x147254['length']>0x1){const _0x21aae1=_0x51b8e3[_0x538018(0x42d)]();(_0x51b8e3[_0x538018(0x2c4)]()?_0x418ad2:_0x4b4e24)[_0x538018(0x3c1)](_0x21aae1,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':'ΣValue'});}const _0x395222=[];_0x51b8e3[_0x538018(0x28e)](_0x15c500[_0x538018(0x2c1)][_0x538018(0x1d6)],_0x1ac66c=>{const _0x1ef7ae=_0x538018;_0x395222['push']({'dataFieldId':_0x1ac66c['dataFieldId'],'tableFieldId':_0x1ac66c[_0x1ef7ae(0x204)](),'displayName':_0x1ac66c[_0x1ef7ae(0x3c8)]()});});const _0x17c70b=_0x171937[_0x538018(0x252)];return{'sourceList':_0x3d5ff1,'sourceRange':_0x17c70b,'rowFields':_0x4b4e24,'columnFields':_0x418ad2,'valueFields':_0x147254,'filterFields':_0x395222,'positionInfo':_0x171937['targetCellInfo']};}function _0x2bc22e(_0x5522ab,_0x230c71,_0xf8f5d1='',_0x52b755={}){const _0x362fe1=_0x97f3f,_0x45d9a4=_0x5522ab['get'](_0x2d1844['LocaleService']);for(const _0x4e863c in _0x230c71)if(Object[_0x362fe1(0x1d8)][_0x362fe1(0x245)][_0x362fe1(0x19b)](_0x230c71,_0x4e863c)){const _0x55f6d0=_0xf8f5d1?_0xf8f5d1+'.'+_0x4e863c:_0x4e863c;typeof _0x230c71[_0x4e863c]==_0x362fe1(0x427)&&_0x230c71[_0x4e863c]!==null&&!Array[_0x362fe1(0x30d)](_0x230c71[_0x4e863c])?_0x2bc22e(_0x5522ab,_0x230c71[_0x4e863c],_0x55f6d0,_0x52b755):_0x52b755[_0x55f6d0]=_0x45d9a4['t'](_0x55f6d0);}return _0x52b755;}const _0x13c172=_0x524236=>{const _0x4e3061=_0x97f3f;if(!_0x524236)return[];const {rowRanges:_0x3a1a5e,colRanges:_0x26486f,cornerRanges:_0x44aa44,dataRanges:_0x579a88,pageRanges:_0x4534a3}=_0x524236,_0x52d663=[..._0x26486f,..._0x3a1a5e,..._0x579a88,..._0x44aa44][_0x4e3061(0x426)](_0xcf53e9=>_0xcf53e9['startRow']>=0x0&&_0xcf53e9[_0x4e3061(0x3d6)]>=0x0&&_0xcf53e9[_0x4e3061(0x2b5)]>=0x0&&_0xcf53e9['endColumn']>=0x0);let _0x2c7b77=Number['MAX_SAFE_INTEGER'],_0x16e995=Number[_0x4e3061(0x1dd)],_0x94f3ea=Number[_0x4e3061(0x435)],_0x5ad817=Number[_0x4e3061(0x1dd)];for(let _0x3abbb0=0x0;_0x3abbb0<_0x52d663[_0x4e3061(0x376)];_0x3abbb0++)_0x2c7b77=Math[_0x4e3061(0x254)](_0x2c7b77,_0x52d663[_0x3abbb0][_0x4e3061(0x2b8)]),_0x16e995=Math['max'](_0x16e995,_0x52d663[_0x3abbb0]['endRow']),_0x94f3ea=Math['min'](_0x94f3ea,_0x52d663[_0x3abbb0][_0x4e3061(0x3d6)]),_0x5ad817=Math['max'](_0x5ad817,_0x52d663[_0x3abbb0][_0x4e3061(0x43a)]);return[..._0x4534a3,{'startRow':_0x2c7b77,'endRow':_0x16e995,'startColumn':_0x94f3ea,'endColumn':_0x5ad817}];};function _0x2505ec(_0x455ecc,_0x3bb5f2){const _0x5a43f0=_0x97f3f,_0x4a2387=_0x3bb5f2[_0x5a43f0(0x418)][_0x5a43f0(0x362)],{pivotTableId:_0x35ebcb,unitId:_0x75c509,subUnitId:_0x4da896}=_0x3bb5f2;if(!_0x4a2387)return;const _0x97e3d3=_0x455ecc[_0x5a43f0(0x4a6)](_0x3d41c7[_0x5a43f0(0x3a2)]),_0x1c36ed=_0x97e3d3['getPivotTableInstance'](_0x35ebcb),_0x50a7a3=_0x97e3d3['getPivotTableConfig'](_0x75c509,_0x4da896,_0x35ebcb);if(!_0x1c36ed||!_0x50a7a3)return;const _0x5fa1f6=_0x1c36ed[_0x5a43f0(0x270)](_0x4a2387[_0x5a43f0(0x1d4)]);if(!(_0x5fa1f6!=null&&_0x5fa1f6[_0x5a43f0(0x376)]))return;const _0x5c830f=_0x50a7a3[_0x5a43f0(0x252)],{unitId:_0x22412e,subUnitId:_0xbf1c76,range:_0x3455a9}=_0x5c830f;let _0x545209=0x0;const _0x3bd1b9=_0x1c36ed[_0x5a43f0(0x442)]['getFieldIds']()[_0x5a43f0(0x3c3)]((_0x318be7,_0x590c32)=>{const _0x134fc7=_0x5a43f0;var _0xb8ce67;const _0x321ee8=(_0xb8ce67=_0x1c36ed['getDataFieldByDataFieldId'](_0x590c32))==null?void 0x0:_0xb8ce67[_0x134fc7(0x292)]();return _0x321ee8&&(_0x318be7[String(_0x545209)]=_0x321ee8),_0x545209++,_0x318be7;},{});return{'indexes':_0x5fa1f6,'range':_0x3455a9,'sourceUnitId':_0x22412e,'sourceSubUnitId':_0xbf1c76,'formatMap':_0x3bd1b9};}function _0x388fdb(_0x3f12de,_0x2829c9){const _0x576e23=_0x97f3f;if(!_0x3f12de||!_0x2829c9)return!0x0;const _0x70897c=_0x2e8cbd[_0x576e23(0x480)](_0x11cf23,_0x449c5e),_0x38a3e4=new Function('return\x20'+_0x70897c)()(_0x3f12de,_0x2829c9)[_0x576e23(0x409)],_0x5b55ee=_0x2e8cbd[_0x576e23(0x2cd)](_0x38a3e4,'sf',_0x1a72c2);return!((_0x38a3e4==null?void 0x0:_0x38a3e4['rt'])===_0x2e8cbd[_0x576e23(0x49e)][_0x576e23(0x230)]&&!_0x5b55ee);}function _0xa337b6(_0x103222,_0x536cf4,_0x2f27bd){const _0x3e8164=_0x97f3f,_0x4ee7bc={'count':_0x103222,'timeValid':!0x1};if(!_0x536cf4||!_0x2f27bd)return _0x4ee7bc;const _0x583279=_0x2e8cbd[_0x3e8164(0x480)](_0x11cf23,_0x449c5e),_0x296f5f=new Function(_0x3e8164(0x25a)+_0x583279)()(_0x536cf4,_0x2f27bd);if(_0x296f5f!=null&&_0x296f5f['valid']){const _0xc39fa7=_0x296f5f[_0x3e8164(0x409)],_0x3574a9=_0x2e8cbd[_0x3e8164(0x2cd)](_0xc39fa7,'sf',_0x1a72c2);return{'count':_0x2e8cbd[_0x3e8164(0x487)](_0xc39fa7,_0x3574a9,_0x3e8164(0x21f),_0x103222,_0x103222,0x0),'timeValid':_0x3574a9};}return _0x4ee7bc;}function _0x1ea4b3(_0x3f3bb0,_0x389eca,_0x5a4851,_0x5027fc){const _0x42c3d=_0x97f3f,_0x30be87={'subUnitId':_0x5a4851,'unitId':_0x389eca,'cellValue':_0xbdc533[_0x42c3d(0x18f)](_0x5027fc)},_0x3340e2=_0xbdc533[_0x42c3d(0x314)](_0x3f3bb0,_0x30be87);let _0xcd1ae9=!0x1;return new _0x2d1844['ObjectMatrix'](_0x3340e2['cellValue'])[_0x42c3d(0x214)]((_0x2359c8,_0x15741b,_0xb91975)=>{const _0x5564e4=_0x42c3d;if(!_0xcd1ae9&&_0xb91975&&(_0xb91975[_0x5564e4(0x2cc)]||_0xb91975['f']||_0xb91975['p']||_0xb91975['s']||_0xb91975['si']||_0xb91975['t']||_0xb91975['v']))return _0xcd1ae9=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0xbdc533['SetRangeValuesMutation']['id'],'params':_0x3340e2},'setRangeValueRedoMutation':{'id':_0xbdc533[_0x42c3d(0x191)]['id'],'params':_0x30be87},'shouldClear':_0xcd1ae9};}function _0x491299(_0x2a6ab2){const {row:_0x4d69a1,col:_0x1badd3}=_0x2a6ab2,_0x360daf={'startRow':_0x4d69a1,'endRow':_0x4d69a1,'startColumn':_0x1badd3,'endColumn':_0x1badd3},_0x5208ae={'startRow':_0x4d69a1+0x2,'endRow':_0x4d69a1+0xe,'startColumn':_0x1badd3,'endColumn':_0x1badd3+0x6};return[_0x360daf,_0x5208ae];}function _0x543865(_0x18f4cb,_0xaf13dc,_0x3bdf84){const _0x525c7e=_0x97f3f,{cornerView:_0x13f1bf,rowView:_0x214c32,colView:_0x223834,pageView:_0x427a7a}=_0x18f4cb,{row:_0x59fa0c,col:_0x55e7bd}=_0xaf13dc;if(_0x3bdf84)return{'rowCount':_0x32739d+_0x59fa0c,'colCount':_0x595a8b+_0x55e7bd};const _0x3fcadf=_0x427a7a['lastRow']>-0x1?_0x427a7a[_0x525c7e(0x34b)]+0x1:0x0,_0x205638=_0x427a7a[_0x525c7e(0x43c)]>-0x1?_0x427a7a[_0x525c7e(0x43c)]:0x0,_0x973f5c=_0x59fa0c+_0x3fcadf+(_0x3fcadf?0x1:0x0)+_0x13f1bf[_0x525c7e(0x38a)]+_0x214c32['rowCount'],_0x3cdc24=_0x55e7bd+_0x205638,_0x369eee=_0x55e7bd+_0x13f1bf[_0x525c7e(0x274)]+_0x223834[_0x525c7e(0x274)],_0x3f2d00=Math[_0x525c7e(0x22c)](_0x3cdc24,_0x369eee);return{'rowCount':_0x973f5c,'colCount':_0x3f2d00};}function _0x592441(_0x3a8104,_0x2d4fa2,_0x799ef3,_0x33223f){const _0x4cc86b=_0x97f3f,{row:_0x2294a3,col:_0x3a4e7c,unitId:_0x43aebc,subUnitId:_0x3a02d0}=_0x799ef3,_0x3b9c34=_0x543865(_0x2d4fa2,{'row':_0x2294a3,'col':_0x3a4e7c},_0x33223f),_0x3bc5c5=_0x3a8104['get'](_0x2d1844[_0x4cc86b(0x21b)]),_0x3448e4=_0xbdc533['getSheetCommandTarget'](_0x3bc5c5,{'unitId':_0x43aebc,'subUnitId':_0x3a02d0}),_0x346f04=[],_0x386d3b=[];if(!_0x3448e4)return{'undos':_0x386d3b,'redos':_0x346f04};const {worksheet:_0x411b48}=_0x3448e4,_0x20bf97=_0x411b48['getRowCount'](),_0x43d8a7=_0x411b48[_0x4cc86b(0x1e3)]();return _0x20bf97<_0x3b9c34[_0x4cc86b(0x38a)]&&(_0x346f04[_0x4cc86b(0x1fc)]({'id':_0xbdc533[_0x4cc86b(0x2c6)]['id'],'params':{'unitId':_0x43aebc,'subUnitId':_0x3a02d0,'range':{'startRow':_0x20bf97,'endRow':_0x3b9c34[_0x4cc86b(0x38a)]-0x1,'startColumn':0x0,'endColumn':_0x43d8a7-0x1}}}),_0x386d3b[_0x4cc86b(0x1fc)]({'id':_0xbdc533[_0x4cc86b(0x209)]['id'],'params':{'unitId':_0x43aebc,'subUnitId':_0x3a02d0,'range':{'startRow':_0x20bf97,'endRow':_0x3b9c34[_0x4cc86b(0x38a)]-0x1,'startColumn':0x0,'endColumn':_0x43d8a7-0x1}}})),_0x43d8a7<_0x3b9c34[_0x4cc86b(0x274)]&&(_0x346f04['push']({'id':_0xbdc533[_0x4cc86b(0x424)]['id'],'params':{'unitId':_0x43aebc,'subUnitId':_0x3a02d0,'range':{'startRow':0x0,'endRow':_0x20bf97-0x1,'startColumn':_0x43d8a7,'endColumn':_0x3b9c34[_0x4cc86b(0x274)]-0x1}}}),_0x386d3b[_0x4cc86b(0x1fc)]({'id':_0xbdc533[_0x4cc86b(0x406)]['id'],'params':{'unitId':_0x43aebc,'subUnitId':_0x3a02d0,'range':{'startRow':0x0,'endRow':_0x20bf97-0x1,'startColumn':_0x43d8a7,'endColumn':_0x3b9c34[_0x4cc86b(0x274)]-0x1}}})),{'undos':_0x386d3b,'redos':_0x346f04};}function _0x40d76a(_0x6fcb8f){const _0x25f51c=_0x97f3f;let _0x2adde5=0x0;for(let _0x357230=0x0;_0x357230<_0x6fcb8f['length'];_0x357230++){const _0x49b568=_0x6fcb8f[_0x25f51c(0x1a8)](_0x357230);_0x49b568>=0x4e00&&_0x49b568<=0x9fff||_0x49b568>=0x3000&&_0x49b568<=0x303f||_0x49b568>=0xff00&&_0x49b568<=0xffef?_0x2adde5+=0x2:_0x2adde5+=0x1;}return _0x2adde5;}function _0x22120c(_0xd9ab09,_0x21a71c,_0x415292,_0x1a5102){const _0x258844=_0x97f3f;var _0x1b26fa,_0x5e8ad9,_0x4db236,_0x38ef91;const {rowCount:_0x4a10a9,colCount:_0x4fb812,headerMap:_0x28ac85}=_0xd9ab09,_0x2c6c66=0x64,_0x2f25d3=Math[_0x258844(0x254)](_0x4a10a9,_0x2c6c66),_0x6e3d6f=Math[_0x258844(0x254)](_0x4fb812,_0x2c6c66);let _0xd19c33='',_0x4e9f38=0x0;for(let _0x389b47=0x0;_0x389b47<_0x2f25d3;_0x389b47++)for(let _0x226b04=0x0;_0x226b04<_0x6e3d6f;_0x226b04++){const _0x5ede80={...(_0x5e8ad9=(_0x1b26fa=_0xd9ab09[_0x258844(0x307)])==null?void 0x0:_0x1b26fa[_0x389b47])==null?void 0x0:_0x5e8ad9[_0x226b04]},_0x370c44=(_0x4db236=_0x28ac85[_0x389b47])==null?void 0x0:_0x4db236['tableFieldId'],_0x1e0f8e=_0x1a5102[_0x370c44];let _0x40482d=_0xd9ab09[_0x258844(0x370)](_0x389b47,_0x226b04);if(_0x5ede80){const _0x27653e=_0x415292?_0x226b04===0x0&&((_0x38ef91=_0xd9ab09[_0x258844(0x3e5)](_0x226b04+0x1))==null?void 0x0:_0x38ef91['isValue']):!0x1;_0x40482d=_0x352ede(_0x5ede80,_0x27653e,_0x1e0f8e,_0x21a71c);}if(_0x40482d!==void 0x0){const _0x2398e1=_0x40d76a(String(_0x40482d));_0x4e9f38<_0x2398e1&&(_0xd19c33=String(_0x40482d),_0x4e9f38=_0x2398e1);}}return _0xd19c33;}function _0x49df47(_0x4e3f34){const _0x1cdb43=_0x97f3f,{rowCount:_0x4785bb,colCount:_0x2c7dca}=_0x4e3f34;let _0x254803='',_0x37af01=0x0;for(let _0x141368=_0x4785bb-0x1;_0x141368>0x0&&_0x141368>_0x4785bb-0x3;_0x141368--)for(let _0x2cf958=0x0;_0x2cf958<_0x2c7dca;_0x2cf958++){const _0x51d5d5=_0x4e3f34[_0x1cdb43(0x370)](_0x141368,_0x2cf958);if(_0x51d5d5!==void 0x0){const _0x4c5514=String(_0x51d5d5)[_0x1cdb43(0x376)];_0x37af01<_0x4c5514&&(_0x254803=String(_0x51d5d5),_0x37af01=_0x4c5514);}}return _0x254803;}function _0x5217d0(_0x47a0ac){const _0x462cf5=_0x97f3f,{rowCount:_0x5569a0,colCount:_0x120015}=_0x47a0ac;let _0x535e25='',_0x102cb5=0x0;for(let _0x2757ef=0x0;_0x2757ef<_0x5569a0;_0x2757ef++)for(let _0x1cf812=0x0;_0x1cf812<_0x120015;_0x1cf812++){const _0x32a098=_0x47a0ac[_0x462cf5(0x370)](_0x2757ef,_0x1cf812);if(_0x32a098!==void 0x0){const _0x1cf7e9=String(_0x32a098)[_0x462cf5(0x376)];_0x102cb5<_0x1cf7e9&&(_0x535e25=String(_0x32a098),_0x102cb5=_0x1cf7e9);}}return _0x535e25;}function _0x147162(_0xc4308f,_0x22d187){const _0x198caa=_0x97f3f,{rowFields:_0xded9a9,columnFields:_0x1aa22f,valueFields:_0x55bce1,filterFields:_0x3cea6a,dimension:_0xb8e158,measure:_0x42869a}=_0x22d187;for(const _0x2d0f37 of _0xded9a9){const _0x40bf78=_0xb8e158[_0x2d0f37];_0x40bf78&&_0xc4308f[_0x198caa(0x456)](_0x40bf78[_0x198caa(0x20d)])&&(_0xc4308f['addFieldWithSourceId'](_0x40bf78[_0x198caa(0x20d)],_0x15c500[_0x198caa(0x2c1)][_0x198caa(0x3d7)],void 0x0,_0x2d0f37),_0x40bf78[_0x198caa(0x440)]&&_0xc4308f[_0x198caa(0x316)](_0x40bf78['id'],_0x40bf78[_0x198caa(0x440)]),_0x40bf78[_0x198caa(0x338)]&&_0xc4308f[_0x198caa(0x25c)](_0x40bf78['id'],_0x40bf78[_0x198caa(0x338)]),_0x40bf78['filterInfo']&&_0xc4308f[_0x198caa(0x3ab)](_0x40bf78['id'],_0x40bf78['filterInfo']));}for(const _0x20e731 of _0x1aa22f){const _0x4595db=_0xb8e158[_0x20e731];_0x4595db&&_0xc4308f[_0x198caa(0x456)](_0x4595db[_0x198caa(0x20d)])&&(_0xc4308f[_0x198caa(0x3f1)](_0x4595db[_0x198caa(0x20d)],_0x15c500[_0x198caa(0x2c1)][_0x198caa(0x437)],void 0x0,_0x20e731),_0x4595db['sortInfo']&&_0xc4308f['setSortInfo'](_0x4595db['id'],_0x4595db[_0x198caa(0x338)]),_0x4595db[_0x198caa(0x372)]&&_0xc4308f[_0x198caa(0x3ab)](_0x4595db['id'],_0x4595db[_0x198caa(0x372)]),_0x4595db['displayName']&&_0xc4308f[_0x198caa(0x316)](_0x4595db['id'],_0x4595db['displayName']));}for(const _0x13d9ab of _0x3cea6a){const _0x4a21fd=_0xb8e158[_0x13d9ab];_0x4a21fd&&_0xc4308f[_0x198caa(0x456)](_0x4a21fd[_0x198caa(0x20d)])&&(_0xc4308f[_0x198caa(0x3f1)](_0x4a21fd['dataFieldId'],_0x15c500[_0x198caa(0x2c1)][_0x198caa(0x1d6)],void 0x0,_0x13d9ab),_0x4a21fd[_0x198caa(0x338)]&&_0xc4308f[_0x198caa(0x25c)](_0x4a21fd['id'],_0x4a21fd[_0x198caa(0x338)]),_0x4a21fd[_0x198caa(0x372)]&&_0xc4308f[_0x198caa(0x3ab)](_0x4a21fd['id'],_0x4a21fd['filterInfo']),_0x4a21fd[_0x198caa(0x440)]&&_0xc4308f[_0x198caa(0x316)](_0x4a21fd['id'],_0x4a21fd['displayName']));}for(const _0x3544c1 of _0x55bce1){const _0x23bddf=_0x42869a[_0x3544c1];_0x23bddf&&_0xc4308f['getDataFieldByDataFieldId'](_0x23bddf[_0x198caa(0x20d)])&&(_0xc4308f[_0x198caa(0x3f1)](_0x23bddf['dataFieldId'],_0x15c500[_0x198caa(0x2c1)]['Value'],void 0x0,_0x3544c1),_0x23bddf[_0x198caa(0x2ec)]!==void 0x0&&_0xc4308f['setSubtotalType'](_0x3544c1,_0x23bddf['subtotal']),_0x23bddf['format']&&_0xc4308f['setFieldFormat'](_0x3544c1,_0x23bddf[_0x198caa(0x264)]),_0x23bddf['displayName']&&_0xc4308f['renameField'](_0x23bddf['id'],_0x23bddf[_0x198caa(0x440)]));}const _0x33b35a=_0x22d187[_0x198caa(0x2f9)];for(const {fieldId:_0x2465f6,filterInfo:_0x2f0f25}of _0x33b35a)_0xc4308f['setValueFilterInfo'](_0x2465f6,_0x2f0f25);}function _0x2106ff(_0x403ae0,_0x26b5f1){const _0x1a77e0=_0x97f3f,_0x493143=[];_0x26b5f1===_0x15c500[_0x1a77e0(0x2c1)][_0x1a77e0(0x3d7)]&&_0x403ae0[_0x1a77e0(0x28e)](_0x15c500[_0x1a77e0(0x2c1)]['Row'],_0x3f7937=>{_0x493143['push'](_0x3f7937['getId']());}),_0x26b5f1===_0x15c500[_0x1a77e0(0x2c1)][_0x1a77e0(0x437)]&&_0x403ae0[_0x1a77e0(0x28e)](_0x15c500[_0x1a77e0(0x2c1)][_0x1a77e0(0x437)],_0x4ee85c=>{const _0x310b1f=_0x1a77e0;_0x493143[_0x310b1f(0x1fc)](_0x4ee85c[_0x310b1f(0x204)]());}),_0x26b5f1===_0x15c500[_0x1a77e0(0x2c1)][_0x1a77e0(0x1d6)]&&_0x403ae0[_0x1a77e0(0x28e)](_0x15c500[_0x1a77e0(0x2c1)]['Filter'],_0x390cb9=>{const _0x611ce=_0x1a77e0;_0x493143[_0x611ce(0x1fc)](_0x390cb9['getId']());}),_0x26b5f1===_0x15c500[_0x1a77e0(0x2c1)][_0x1a77e0(0x34c)]&&_0x403ae0['iterateFieldByArea'](_0x15c500[_0x1a77e0(0x2c1)][_0x1a77e0(0x34c)],_0x403a90=>{const _0x393f99=_0x1a77e0;_0x493143[_0x393f99(0x1fc)](_0x403a90[_0x393f99(0x204)]());}),_0x26b5f1===void 0x0&&_0x403ae0[_0x1a77e0(0x4aa)](_0x1bc7be=>{const _0x4c0f67=_0x1a77e0;_0x493143['push'](_0x1bc7be[_0x4c0f67(0x204)]());});const _0x47ee54=_0x493143[_0x1a77e0(0x376)];for(let _0x196fba=_0x47ee54-0x1;_0x196fba>=0x0;_0x196fba--)_0x403ae0['removeField'](_0x493143[_0x196fba]);const _0x48347c=_0x403ae0[_0x1a77e0(0x28c)]();for(const _0x22b303 in _0x48347c)_0x403ae0[_0x1a77e0(0x213)](_0x22b303);}function _0x2fdd76(_0x4dd1fa,_0x2732d7){const _0x4f6da9=_0x97f3f,_0x356e6c=new Date(_0x15c500[_0x4f6da9(0x4a7)](_0x2732d7)),_0xbcfec1=new Date(_0x15c500[_0x4f6da9(0x4a7)](_0x4dd1fa)),_0x500602=_0x356e6c[_0x4f6da9(0x2bf)](),_0x243ff7=_0xbcfec1[_0x4f6da9(0x2bf)](),_0x59c62b=_0x356e6c[_0x4f6da9(0x299)](),_0x4a39cf=_0xbcfec1['getMonth'](),_0x25394f=_0x356e6c[_0x4f6da9(0x37f)](),_0xa42d6e=_0xbcfec1['getDate'](),_0x29d596=_0x500602===_0x243ff7,_0x412cd3=_0x29d596&&_0x59c62b===_0x4a39cf;return _0x29d596&&_0x412cd3&&!(_0x412cd3&&_0x25394f===_0xa42d6e)?_0x15c500[_0x4f6da9(0x398)][_0x4f6da9(0x206)]:_0x29d596&&!_0x412cd3?_0x15c500[_0x4f6da9(0x398)]['YearMonth']:_0x15c500['PivotDateGroupFieldDateTypeEnum'][_0x4f6da9(0x1e0)];}function _0x2862bb(_0x215154,_0x2922a3){const _0x1f436d=_0x97f3f,_0x4f0856=_0x215154[_0x1f436d(0x4a6)](_0x3d41c7[_0x1f436d(0x3a2)])[_0x1f436d(0x1ff)]();let _0x570b40='';switch(_0x2922a3){case _0x15c500[_0x1f436d(0x398)]['YearMonthDate']:_0x570b40=_0x4f0856[_0x1f436d(0x1cd)];break;case _0x15c500[_0x1f436d(0x398)][_0x1f436d(0x240)]:_0x570b40=_0x4f0856[_0x1f436d(0x3be)];break;case _0x15c500[_0x1f436d(0x398)][_0x1f436d(0x1e0)]:_0x570b40=_0x4f0856['sheets-pivot.dateGroup.year'];break;case _0x15c500[_0x1f436d(0x398)]['Month']:_0x570b40=_0x4f0856[_0x1f436d(0x26a)];break;case _0x15c500[_0x1f436d(0x398)][_0x1f436d(0x3b5)]:_0x570b40=_0x4f0856['sheets-pivot.dateGroup.quarter'];break;case _0x15c500[_0x1f436d(0x398)]['Date']:_0x570b40=_0x4f0856[_0x1f436d(0x355)];break;case _0x15c500[_0x1f436d(0x398)][_0x1f436d(0x431)]:_0x570b40=_0x4f0856[_0x1f436d(0x256)];break;case _0x15c500[_0x1f436d(0x398)]['Hour']:_0x570b40=_0x4f0856['sheets-pivot.dateGroup.hour'];break;case _0x15c500[_0x1f436d(0x398)][_0x1f436d(0x23f)]:_0x570b40=_0x4f0856[_0x1f436d(0x33f)];break;case _0x15c500[_0x1f436d(0x398)][_0x1f436d(0x2f6)]:_0x570b40=_0x4f0856['sheets-pivot.dateGroup.monthDate'];break;case _0x15c500[_0x1f436d(0x398)]['YearQuarter']:_0x570b40=_0x4f0856['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x570b40='';break;}return _0x570b40;}const _0x5440e2='sheets-pivot.config',_0x3a3f48={};var _0x41ecfa=Object[_0x97f3f(0x1a1)],_0x501c8c=(_0x135272,_0xe41933,_0x5d5ea6,_0x4d10e0)=>{const _0x359b71=_0x97f3f;for(var _0xc60b80=_0x4d10e0>0x1?void 0x0:_0x4d10e0?_0x41ecfa(_0xe41933,_0x5d5ea6):_0xe41933,_0x1f58a5=_0x135272[_0x359b71(0x376)]-0x1,_0x343aba;_0x1f58a5>=0x0;_0x1f58a5--)(_0x343aba=_0x135272[_0x1f58a5])&&(_0xc60b80=_0x343aba(_0xc60b80)||_0xc60b80);return _0xc60b80;},_0x3c7dd7=(_0xe8163d,_0x537f1b)=>(_0x4f491d,_0x241788)=>_0x537f1b(_0x4f491d,_0x241788,_0xe8163d);_0x3d41c7[_0x97f3f(0x499)]=class extends _0x2d1844['Disposable']{constructor(_0x5aad09,_0x2526cd,_0x5f584f,_0x2b0aff,_0x1cebf4){const _0x13340f=_0x97f3f;super(),_0x4a9226(this,_0x13340f(0x3b6),new Map()),_0x4a9226(this,_0x13340f(0x27d),new Map()),_0x4a9226(this,_0x13340f(0x276),new Map()),_0x4a9226(this,_0x13340f(0x297),new Map()),_0x4a9226(this,_0x13340f(0x326),new _0x4d1926[(_0x13340f(0x249))]()),_0x4a9226(this,_0x13340f(0x2ce),new _0x4d1926['Subject']()),_0x4a9226(this,_0x13340f(0x312),this[_0x13340f(0x2ce)][_0x13340f(0x1f2)]()),_0x4a9226(this,_0x13340f(0x324),new _0x4d1926[(_0x13340f(0x249))]()),_0x4a9226(this,'pivotConfigChange$',this[_0x13340f(0x324)][_0x13340f(0x1f2)]()),_0x4a9226(this,_0x13340f(0x1e9),{}),_0x4a9226(this,_0x13340f(0x3a7),this[_0x13340f(0x326)]['asObservable']()),(this[_0x13340f(0x3ba)]=_0x5aad09,this[_0x13340f(0x444)]=_0x2526cd,this[_0x13340f(0x1bf)]=_0x5f584f,this[_0x13340f(0x23e)]=_0x2b0aff,this[_0x13340f(0x3b0)]=_0x1cebf4,this[_0x13340f(0x45a)](),this['_initUnitDisposed']());const _0x52e197=this[_0x13340f(0x3b0)][_0x13340f(0x327)](_0x5440e2);(_0x52e197==null?void 0x0:_0x52e197[_0x13340f(0x2a2)])===!0x0&&this[_0x13340f(0x462)]();}[_0x97f3f(0x238)](){const _0x27952d=_0x97f3f;this[_0x27952d(0x311)](this[_0x27952d(0x1bf)][_0x27952d(0x413)](_0x2d1844['UniverInstanceType'][_0x27952d(0x48b)])['subscribe'](_0x30ef8c=>{const _0x2d56e5=_0x27952d;this[_0x2d56e5(0x34e)](_0x30ef8c[_0x2d56e5(0x1af)]());}));}[_0x97f3f(0x236)](){this['_pivotInitCompleted$']['next'](!0x0);}[_0x97f3f(0x45a)](){const _0xeec1ad=_0x97f3f,_0x2d9faf=_0x2bc22e(this[_0xeec1ad(0x3ba)],_0x5b1277,'',{});this[_0xeec1ad(0x1e9)]=_0x2d9faf,this['_commandService'][_0xeec1ad(0x2ff)](_0x7d7c7['id'],{'textInfo':_0x2d9faf},{'onlyLocal':!0x0});}['getTextInfo'](){const _0xd78964=_0x97f3f;return this[_0xd78964(0x1e9)];}[_0x97f3f(0x2e7)](_0x3ba8f5,_0x226ca7,_0x4280fc,_0x3fe9be,_0x225013){const _0x358a31=_0x97f3f;this[_0x358a31(0x422)](_0x3ba8f5,_0x226ca7,_0x4280fc,_0x3fe9be),this[_0x358a31(0x3c4)](_0x3ba8f5,_0x226ca7,_0x4280fc,_0x225013);}[_0x97f3f(0x21d)](_0x2e8713,_0x1628ca,_0x308c00){const _0x46075e=_0x97f3f;var _0x8cb503;const _0x3cff1d=(_0x8cb503=this[_0x46075e(0x3b6)][_0x46075e(0x4a6)](_0x2e8713))==null?void 0x0:_0x8cb503['get'](_0x1628ca);if(_0x3cff1d)return _0x3cff1d[_0x46075e(0x4a6)](_0x308c00);}[_0x97f3f(0x48c)](_0x2e42e8,_0x54a047){const _0x3f7264=_0x97f3f,_0x3b345e=this[_0x3f7264(0x3b6)]['get'](_0x2e42e8);if(_0x3b345e){for(const [_0x289f69,_0x58bb1c]of _0x3b345e[_0x3f7264(0x2e8)]())for(const [_0x38d72d,_0x2ff476]of _0x58bb1c[_0x3f7264(0x2e8)]())if(_0x38d72d===_0x54a047)return _0x2ff476[_0x3f7264(0x19a)];}}[_0x97f3f(0x289)](_0x1165c2,_0x30fee2,_0x42284e){const _0x325957=_0x97f3f,_0x5e3c02=this[_0x325957(0x21d)](_0x1165c2,_0x30fee2,_0x42284e);return _0x5e3c02==null?void 0x0:_0x5e3c02[_0x325957(0x19a)];}['getSubUnitPivotConfigs'](_0x3e6647,_0x1ee735){const _0x26d426=_0x97f3f;var _0x569b0d;return(_0x569b0d=this['_model'][_0x26d426(0x4a6)](_0x3e6647))==null?void 0x0:_0x569b0d['get'](_0x1ee735);}[_0x97f3f(0x3bb)](_0x5499ac,_0x4a46ad,_0x6f86ed,_0xee91b2){const _0x29099a=_0x97f3f,_0x220cb5=this[_0x29099a(0x195)](_0x5499ac,_0x4a46ad);_0xee91b2?_0x220cb5[_0x29099a(0x251)](_0x6f86ed,_0xee91b2):_0x220cb5[_0x29099a(0x3ca)](_0x6f86ed),this[_0x29099a(0x324)][_0x29099a(0x339)]({'unitId':_0x5499ac,'subUnitId':_0x4a46ad,'pivotTableId':_0x6f86ed,'pivotTableConfig':_0xee91b2});}['getCollection'](_0xa5a328,_0x454dd9){const _0x274e14=_0x97f3f;var _0x4173e2;return(_0x4173e2=this[_0x274e14(0x27d)][_0x274e14(0x4a6)](_0xa5a328))==null?void 0x0:_0x4173e2[_0x274e14(0x1de)][_0x454dd9];}[_0x97f3f(0x3de)](_0x180197,_0x3aef00){const _0x408ae8=_0x97f3f;this[_0x408ae8(0x27d)][_0x408ae8(0x251)](_0x180197,_0x3aef00),this[_0x408ae8(0x326)]['next'](Math[_0x408ae8(0x1b4)]());}[_0x97f3f(0x195)](_0x1f7dfc,_0x45c940){const _0x26426f=_0x97f3f;let _0x52faa7=this[_0x26426f(0x3b6)][_0x26426f(0x4a6)](_0x1f7dfc);_0x52faa7||(_0x52faa7=new Map(),this[_0x26426f(0x3b6)][_0x26426f(0x251)](_0x1f7dfc,_0x52faa7));let _0x17fc84=_0x52faa7[_0x26426f(0x4a6)](_0x45c940);return _0x17fc84||(_0x17fc84=new Map(),_0x52faa7[_0x26426f(0x251)](_0x45c940,_0x17fc84)),_0x17fc84;}[_0x97f3f(0x1a0)](_0x527101,_0x17c0fb){const _0x1782d5=_0x97f3f;let _0x1127f7=this[_0x1782d5(0x276)][_0x1782d5(0x4a6)](_0x527101);_0x1127f7||(_0x1127f7=new Map(),this[_0x1782d5(0x276)]['set'](_0x527101,_0x1127f7));let _0x3b11d6=_0x1127f7['get'](_0x17c0fb);return _0x3b11d6||(_0x3b11d6=new Map(),_0x1127f7['set'](_0x17c0fb,_0x3b11d6)),_0x3b11d6;}[_0x97f3f(0x41e)](_0x24eab9,_0x26727b){const _0x562c9a=_0x97f3f;let _0x22bfd1=this[_0x562c9a(0x297)][_0x562c9a(0x4a6)](_0x24eab9);_0x22bfd1||(_0x22bfd1=new Map(),this['_pivotTableMatrixInfo'][_0x562c9a(0x251)](_0x24eab9,_0x22bfd1));let _0x2257c3=_0x22bfd1['get'](_0x26727b);return _0x2257c3||(_0x2257c3=new Map(),_0x22bfd1[_0x562c9a(0x251)](_0x26727b,_0x2257c3)),_0x2257c3;}[_0x97f3f(0x3c4)](_0x8fcd52,_0x507acd,_0xf1e9de,_0x17972d){const _0x24e750=_0x97f3f;var _0x27810d;const _0x31dff5=this[_0x24e750(0x1a0)](_0x8fcd52,_0x507acd),_0x4d6b0d=(_0x27810d=_0x31dff5[_0x24e750(0x4a6)](_0xf1e9de))==null?void 0x0:_0x27810d[_0x24e750(0x30f)];_0x31dff5['set'](_0xf1e9de,{'oldRangeInfo':_0x4d6b0d,'rangeInfo':_0x17972d});}[_0x97f3f(0x422)](_0x5d74c6,_0x17aea3,_0x5e8aa9,_0x310b16){const _0x31dc5a=_0x97f3f;var _0x2bd8d8;const _0x4573a0=this[_0x31dc5a(0x41e)](_0x5d74c6,_0x17aea3),_0x2d6298=(_0x2bd8d8=_0x4573a0[_0x31dc5a(0x4a6)](_0x5e8aa9))==null?void 0x0:_0x2bd8d8[_0x31dc5a(0x46d)];_0x4573a0[_0x31dc5a(0x251)](_0x5e8aa9,{'oldMatrix':_0x2d6298,'matrix':_0x310b16});}[_0x97f3f(0x407)](_0x3c7ea7,_0x5461ce,_0x2108f1){const _0x30dac1=_0x97f3f;var _0x346c15,_0x41a30c;return(_0x41a30c=(_0x346c15=this[_0x30dac1(0x276)][_0x30dac1(0x4a6)](_0x3c7ea7))==null?void 0x0:_0x346c15[_0x30dac1(0x4a6)](_0x5461ce))==null?void 0x0:_0x41a30c[_0x30dac1(0x4a6)](_0x2108f1);}[_0x97f3f(0x337)](_0x585d65,_0x3c3d48,_0x53ea15){const _0x3abd34=_0x97f3f;var _0x274337,_0x759fcd;return(_0x759fcd=(_0x274337=this[_0x3abd34(0x297)]['get'](_0x585d65))==null?void 0x0:_0x274337['get'](_0x3c3d48))==null?void 0x0:_0x759fcd[_0x3abd34(0x4a6)](_0x53ea15);}['deleteUnitId'](_0x3eaaae){const _0xaa96ec=_0x97f3f;this['_model'][_0xaa96ec(0x3ca)](_0x3eaaae),this[_0xaa96ec(0x27d)][_0xaa96ec(0x3ca)](_0x3eaaae);}[_0x97f3f(0x186)](_0x3ef8c3){const _0x124124=_0x97f3f,_0x37b14f={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x124124(0x27d)]['get'](_0x3ef8c3)&&(_0x37b14f[_0x124124(0x1d9)][_0x3ef8c3]=this[_0x124124(0x27d)][_0x124124(0x4a6)](_0x3ef8c3)),this[_0x124124(0x3b6)][_0x124124(0x4a6)](_0x3ef8c3)){_0x37b14f[_0x124124(0x21c)][_0x3ef8c3]={};const _0x48b378=this[_0x124124(0x3b6)][_0x124124(0x4a6)](_0x3ef8c3);_0x48b378!=null&&_0x48b378[_0x124124(0x35f)]&&[..._0x48b378[_0x124124(0x334)]()][_0x124124(0x34f)](_0x261268=>{const _0x4d12d5=_0x124124,_0x6a5a1b=_0x48b378['get'](_0x261268);_0x6a5a1b!=null&&_0x6a5a1b[_0x4d12d5(0x35f)]&&(_0x37b14f['pivotTableConfigs'][_0x3ef8c3][_0x261268]={},[..._0x6a5a1b['keys']()][_0x4d12d5(0x34f)](_0x29b00f=>{const _0x536bdf=_0x4d12d5,_0x1b5756=_0x6a5a1b['get'](_0x29b00f);_0x1b5756&&(_0x37b14f[_0x536bdf(0x21c)][_0x3ef8c3][_0x261268][_0x29b00f]=_0x1b5756);}));});}return _0x37b14f;}['_initSnapshot'](){const _0x5bd7aa=_0x97f3f;this[_0x5bd7aa(0x311)](this[_0x5bd7aa(0x23e)][_0x5bd7aa(0x188)]({'toJson':_0x48b947=>JSON[_0x5bd7aa(0x2f8)](this[_0x5bd7aa(0x186)](_0x48b947)),'parseJson':_0x1b5c95=>({}),'businesses':[_0x2d1844[_0x5bd7aa(0x400)][_0x5bd7aa(0x48b)]],'pluginName':_0x51e4a1,'onLoad':(_0x68eb6f,_0x594c3a)=>{},'onUnLoad':_0xa62998=>{const _0x11aa47=_0x5bd7aa;this[_0x11aa47(0x34e)](_0xa62998);}}));}},_0x3d41c7['SheetsPivotTableConfigModel']=_0x501c8c([_0x3c7dd7(0x0,_0x2d1844['Inject'](_0x2d1844[_0x97f3f(0x2b2)])),_0x3c7dd7(0x1,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844['ICommandService'])),_0x3c7dd7(0x2,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844['IUniverInstanceService'])),_0x3c7dd7(0x3,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x293)])),_0x3c7dd7(0x4,_0x2d1844['Inject'](_0x2d1844[_0x97f3f(0x2ca)]))],_0x3d41c7[_0x97f3f(0x499)]);var _0x4ebb22=Object['getOwnPropertyDescriptor'],_0x520716=(_0x3fdec6,_0xb8d681,_0x8ef32f,_0x596e0f)=>{const _0x1caab0=_0x97f3f;for(var _0x5efa3e=_0x596e0f>0x1?void 0x0:_0x596e0f?_0x4ebb22(_0xb8d681,_0x8ef32f):_0xb8d681,_0x572ee4=_0x3fdec6[_0x1caab0(0x376)]-0x1,_0x2a47fb;_0x572ee4>=0x0;_0x572ee4--)(_0x2a47fb=_0x3fdec6[_0x572ee4])&&(_0x5efa3e=_0x2a47fb(_0x5efa3e)||_0x5efa3e);return _0x5efa3e;},_0x5abeaa=(_0xfa9b26,_0x10e93f)=>(_0x15cf42,_0x1e194d)=>_0x10e93f(_0x15cf42,_0x1e194d,_0xfa9b26);_0x3d41c7[_0x97f3f(0x402)]=class extends _0x2d1844[_0x97f3f(0x3a4)]{constructor(_0x4d1a8e,_0x3b53c6,_0xc3f018,_0x5c8619,_0x5d0c3){const _0x1a50bd=_0x97f3f;super(),_0x4a9226(this,_0x1a50bd(0x226),new Map()),_0x4a9226(this,_0x1a50bd(0x3bf),new Map()),_0x4a9226(this,_0x1a50bd(0x397),new _0x4d1926[(_0x1a50bd(0x249))]()),_0x4a9226(this,_0x1a50bd(0x3fa),this[_0x1a50bd(0x397)][_0x1a50bd(0x1f2)]()),_0x4a9226(this,_0x1a50bd(0x2c7),new _0x4d1926[(_0x1a50bd(0x249))]()),_0x4a9226(this,_0x1a50bd(0x2dc),this[_0x1a50bd(0x2c7)][_0x1a50bd(0x1f2)]()),_0x4a9226(this,'_textInfo'),(this[_0x1a50bd(0x48e)]=_0x4d1a8e,this[_0x1a50bd(0x3ba)]=_0x3b53c6,this[_0x1a50bd(0x49f)]=_0xc3f018,this[_0x1a50bd(0x1bf)]=_0x5c8619,this[_0x1a50bd(0x2dd)]=_0x5d0c3,this[_0x1a50bd(0x45a)](),this[_0x1a50bd(0x238)]());}[_0x97f3f(0x238)](){const _0x5288ea=_0x97f3f;this[_0x5288ea(0x311)](this[_0x5288ea(0x1bf)][_0x5288ea(0x413)](_0x2d1844[_0x5288ea(0x400)][_0x5288ea(0x48b)])['subscribe'](_0x63a532=>{const _0x531976=_0x5288ea;this[_0x531976(0x34e)](_0x63a532[_0x531976(0x1af)]());}));}[_0x97f3f(0x45a)](){const _0x560e34=_0x97f3f;this[_0x560e34(0x1e9)]=_0x2bc22e(this[_0x560e34(0x3ba)],_0x5b1277,'',{});}['updateRenderCache'](_0x1c5651){const _0x1e2ec2=_0x97f3f,{view:_0xb66ab0,unitId:_0x2d89cc,subUnitId:_0x26eeec,pivotTableId:_0xfaa197,type:_0x1bd595}=_0x1c5651,_0x309de0=this[_0x1e2ec2(0x49f)][_0x1e2ec2(0x21d)](_0x2d89cc,_0x26eeec,_0xfaa197);if(!_0xb66ab0||!_0x309de0||_0x1bd595===_0x532e5d['Delete'])return;const {pageView:_0x1f690a,cornerView:_0x34f2c8,rowView:_0x1002ce,colView:_0x1ba5be,dataView:_0x33eda8}=_0xb66ab0,_0x21342e=_0x309de0[_0x1e2ec2(0x19a)],_0x3889a1=_0x309de0['isEmpty'],_0x508b5f=this[_0x1e2ec2(0x29f)](_0x2d89cc,_0x26eeec),_0x351113=this[_0x1e2ec2(0x434)](_0x2d89cc,_0x26eeec,_0xfaa197);if(_0x3889a1)return this[_0x1e2ec2(0x18b)](_0x1c5651,_0x508b5f,_0x21342e,_0x351113);{const _0x53e463=_0x56818c(_0x21342e,_0x1f690a,!0x0),_0x2a03be=_0x1f690a[_0x1e2ec2(0x34b)]>=0x0?_0x1f690a[_0x1e2ec2(0x34b)]+0x1:0x0,_0x36cda9=_0x34f2c8[_0x1e2ec2(0x412)](),_0x4d5616=_0x34f2c8['getColCount'](),_0x78ce4b=_0x53e463[_0x1e2ec2(0x376)]>0x0?_0x356b5c:0x0,_0x399ce1=_0x56818c({'row':_0x21342e['row']+_0x2a03be+_0x78ce4b,'col':_0x21342e[_0x1e2ec2(0x36c)]},_0x34f2c8,!0x1,!0x1),_0x13c0be=_0x56818c({'row':_0x21342e[_0x1e2ec2(0x41b)]+_0x2a03be+_0x78ce4b+_0x36cda9,'col':_0x21342e[_0x1e2ec2(0x36c)]},_0x1002ce,!0x1,!0x0),_0x4c324a=_0x56818c({'row':_0x21342e[_0x1e2ec2(0x41b)]+_0x2a03be+_0x78ce4b,'col':_0x21342e[_0x1e2ec2(0x36c)]+_0x4d5616},_0x1ba5be,!0x1,!0x0),_0x22724e=_0x56818c({'row':_0x21342e[_0x1e2ec2(0x41b)]+_0x2a03be+_0x78ce4b+_0x36cda9,'col':_0x21342e[_0x1e2ec2(0x36c)]+_0x4d5616},_0x33eda8,!0x1,!0x1);_0x351113['rangesInfo']={'rowRanges':_0x13c0be,'colRanges':_0x4c324a,'cornerRanges':_0x399ce1,'dataRanges':_0x22724e,'pageRanges':_0x53e463};const _0x57dc4f=_0x1be287(this[_0x1e2ec2(0x3ba)],_0xb66ab0,_0x309de0,this[_0x1e2ec2(0x1e9)]),{valueMatrix:_0x18993a,rowInfo:_0xe334be,colInfo:_0x56bead,cornerInfo:_0x111ecc,rowHeaderMap:_0x1b5991,colHeaderMap:_0x52e31c}=_0x57dc4f;return _0x351113[_0x1e2ec2(0x39c)]={'rowInfo':_0xe334be,'colInfo':_0x56bead,'cornerInfo':_0x111ecc},_0x351113[_0x1e2ec2(0x367)]={'rowHeaderMap':_0x1b5991,'colHeaderMap':_0x52e31c},_0x18993a['forEach']((_0x302e4d,_0x2aa32f)=>{const _0x435a1d=_0x1e2ec2;Object[_0x435a1d(0x334)](_0x2aa32f)[_0x435a1d(0x34f)](_0x3cc9f6=>{const _0x53759b=_0x435a1d,_0x6b815c=+_0x3cc9f6,_0x18e66e=_0x18993a[_0x53759b(0x370)](_0x302e4d,_0x6b815c);_0x508b5f[_0x53759b(0x2eb)](_0x302e4d,_0x6b815c,_0x18e66e);});}),this['_viewUpdate$'][_0x1e2ec2(0x339)]({'unitId':_0x2d89cc,'subUnitId':_0x26eeec,'valueMatrix':_0x508b5f,'rangesCache':_0x351113[_0x1e2ec2(0x3af)],'pivotTableId':_0xfaa197,'type':_0x1c5651[_0x1e2ec2(0x305)]}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x2d89cc,_0x26eeec,_0xfaa197,_0x508b5f,_0x351113['rangesInfo']),this[_0x1e2ec2(0x2dd)][_0x1e2ec2(0x2ee)](_0x2d89cc,_0x26eeec,_0x3828b2,this[_0x1e2ec2(0x39d)](_0x351113['rangesInfo'],_0xfaa197)),{'rangeCache':_0x351113[_0x1e2ec2(0x3af)],'matrix':_0x508b5f};}}[_0x97f3f(0x18b)](_0x40e62f,_0x4982b3,_0x4b6be6,_0x89c013){const _0xaf2a1d=_0x97f3f,_0x1d0237=this[_0xaf2a1d(0x48e)]['t'],{unitId:_0x301402,subUnitId:_0x1f450c,pivotTableId:_0x342f95}=_0x40e62f,_0x4cf4e0={'filter':_0x1d0237('sheets-pivot.emptyPivot.filter'),'row':_0x1d0237(_0xaf2a1d(0x215)),'column':_0x1d0237(_0xaf2a1d(0x29c)),'values':_0x1d0237(_0xaf2a1d(0x1bb))},{matrixCache:_0x446930,rangesCache:_0x3f3504}=_0x16df6a(_0x4cf4e0,_0x4b6be6);return _0x446930[_0xaf2a1d(0x214)]((_0x222cde,_0x47210b,_0x41ecc9)=>{_0x4982b3['setValue'](_0x222cde,_0x47210b,_0x41ecc9);}),_0x89c013[_0xaf2a1d(0x3af)]=_0x3f3504,this[_0xaf2a1d(0x2c7)][_0xaf2a1d(0x339)]({'unitId':_0x301402,'subUnitId':_0x1f450c,'valueMatrix':_0x4982b3,'rangesCache':_0x3f3504,'pivotTableId':_0x342f95,'type':_0x40e62f[_0xaf2a1d(0x305)],'isEmpty':!0x0}),this[_0xaf2a1d(0x49f)][_0xaf2a1d(0x2e7)](_0x301402,_0x1f450c,_0x342f95,_0x4982b3,_0x3f3504),this[_0xaf2a1d(0x2dd)][_0xaf2a1d(0x2ee)](_0x301402,_0x1f450c,_0x3828b2,this[_0xaf2a1d(0x39d)](_0x3f3504,_0x342f95)),{'rangeCache':_0x89c013[_0xaf2a1d(0x3af)],'matrix':_0x4982b3};}['_createExclusiveRange'](_0x204510,_0xeadb96){const _0x5921ca=_0x97f3f,_0x26f46f=[],_0x594602=_0x13c172(_0x204510);for(const _0x5d8ed4 of _0x594602)_0x26f46f[_0x5921ca(0x1fc)]({'groupId':_0xeadb96,'range':_0x5d8ed4});return _0x26f46f;}['clearRenderCache'](_0x2d64a7){const _0x5900a2=_0x97f3f;var _0x2832c3,_0x2e6138,_0x2b12a3,_0x4be9ab;const {pivotTableId:_0x308b71,unitId:_0x1b1d4f,subUnitId:_0x1b8527}=_0x2d64a7;if(!_0x308b71||!_0x1b1d4f||!_0x1b8527)return;const _0x41f7d5=this[_0x5900a2(0x29f)](_0x1b1d4f,_0x1b8527),_0x58ad36=(_0x2e6138=(_0x2832c3=this[_0x5900a2(0x226)][_0x5900a2(0x4a6)](_0x1b1d4f))==null?void 0x0:_0x2832c3[_0x5900a2(0x4a6)](_0x1b8527))==null?void 0x0:_0x2e6138[_0x5900a2(0x4a6)](_0x308b71);if(_0x58ad36!=null&&_0x58ad36[_0x5900a2(0x3af)]){for(const _0x1ef57f of Object[_0x5900a2(0x334)](_0x58ad36[_0x5900a2(0x3af)]))_0x58ad36['rangesInfo'][_0x1ef57f][_0x5900a2(0x34f)](_0x34368a=>{const _0x504445=_0x5900a2;for(let _0x48261a=_0x34368a[_0x504445(0x2b8)];_0x48261a<=_0x34368a[_0x504445(0x2b5)];_0x48261a++)for(let _0x53bfc2=_0x34368a['startColumn'];_0x53bfc2<=_0x34368a[_0x504445(0x43a)];_0x53bfc2++)_0x41f7d5[_0x504445(0x1d3)](_0x48261a,_0x53bfc2);});}_0x58ad36&&((_0x4be9ab=(_0x2b12a3=this['_pivotRenderInfoCache']['get'](_0x1b1d4f))==null?void 0x0:_0x2b12a3[_0x5900a2(0x4a6)](_0x1b8527))==null||_0x4be9ab[_0x5900a2(0x3ca)](_0x308b71)),this[_0x5900a2(0x2c7)][_0x5900a2(0x339)]({'unitId':_0x1b1d4f,'subUnitId':_0x1b8527,'valueMatrix':_0x41f7d5,'pivotTableId':_0x308b71,'rangesCache':void 0x0,'type':_0x2d64a7[_0x5900a2(0x305)]}),this[_0x5900a2(0x2dd)][_0x5900a2(0x39f)](_0x1b1d4f,_0x1b8527,_0x3828b2,_0x308b71);}[_0x97f3f(0x434)](_0x4f83a3,_0x4142ff,_0x9a7352){const _0x56c4cd=_0x97f3f;var _0x1373a5,_0x3c511f,_0x3de8db,_0x463c48,_0x3e782e,_0x25ca9c;return this[_0x56c4cd(0x226)][_0x56c4cd(0x364)](_0x4f83a3)||this[_0x56c4cd(0x226)][_0x56c4cd(0x251)](_0x4f83a3,new Map()),(_0x1373a5=this[_0x56c4cd(0x226)][_0x56c4cd(0x4a6)](_0x4f83a3))!=null&&_0x1373a5[_0x56c4cd(0x364)](_0x4142ff)||(_0x3c511f=this[_0x56c4cd(0x226)]['get'](_0x4f83a3))==null||_0x3c511f[_0x56c4cd(0x251)](_0x4142ff,new Map()),(_0x463c48=(_0x3de8db=this['_pivotRenderInfoCache'][_0x56c4cd(0x4a6)](_0x4f83a3))==null?void 0x0:_0x3de8db['get'](_0x4142ff))!=null&&_0x463c48[_0x56c4cd(0x364)](_0x9a7352)||(_0x25ca9c=(_0x3e782e=this[_0x56c4cd(0x226)]['get'](_0x4f83a3))==null?void 0x0:_0x3e782e[_0x56c4cd(0x4a6)](_0x4142ff))==null||_0x25ca9c[_0x56c4cd(0x251)](_0x9a7352,{}),this[_0x56c4cd(0x226)][_0x56c4cd(0x4a6)](_0x4f83a3)[_0x56c4cd(0x4a6)](_0x4142ff)[_0x56c4cd(0x4a6)](_0x9a7352);}[_0x97f3f(0x29f)](_0x346a98,_0x4ee649){const _0x230253=_0x97f3f;var _0x41b65e,_0x597703;return this[_0x230253(0x3bf)][_0x230253(0x364)](_0x346a98)||this[_0x230253(0x3bf)]['set'](_0x346a98,new Map()),(_0x41b65e=this['_pivotRenderValueMatrixCache'][_0x230253(0x4a6)](_0x346a98))!=null&&_0x41b65e['has'](_0x4ee649)||(_0x597703=this[_0x230253(0x3bf)][_0x230253(0x4a6)](_0x346a98))==null||_0x597703[_0x230253(0x251)](_0x4ee649,new _0x2d1844[(_0x230253(0x19d))]()),this[_0x230253(0x3bf)][_0x230253(0x4a6)](_0x346a98)['get'](_0x4ee649);}[_0x97f3f(0x229)](_0x18dbfb,_0x11e9cc,_0x4cfa1d,_0x344271){const _0x3414ee=_0x97f3f;var _0x487c30,_0x3f170f;const _0x1cc4b9=(_0x3f170f=(_0x487c30=this[_0x3414ee(0x3bf)][_0x3414ee(0x4a6)](_0x18dbfb))==null?void 0x0:_0x487c30['get'](_0x11e9cc))==null?void 0x0:_0x3f170f['getValue'](_0x4cfa1d,_0x344271);if(_0x1cc4b9!=null)return _0x1cc4b9;}[_0x97f3f(0x3b3)](_0x480e19,_0x2c4c49,_0x378d01,_0x485d76){const _0x470876=_0x97f3f;var _0x31078d;const _0x55dffe=_0x2d1844[_0x470876(0x453)](_0x378d01,_0x485d76),_0x2f03d2=(_0x31078d=this[_0x470876(0x226)][_0x470876(0x4a6)](_0x480e19))==null?void 0x0:_0x31078d[_0x470876(0x4a6)](_0x2c4c49);return _0x2f03d2?Array[_0x470876(0x393)](_0x2f03d2[_0x470876(0x334)]())[_0x470876(0x457)](_0x40e16=>{const _0x23e950=_0x470876,_0x5b373a=_0x2f03d2['get'](_0x40e16),_0x938b2d=_0x5b373a==null?void 0x0:_0x5b373a['rangesInfo'];return _0x938b2d?Object[_0x23e950(0x334)](_0x938b2d)[_0x23e950(0x20a)](_0x22b143=>_0x938b2d[_0x22b143][_0x23e950(0x20a)](_0x5369f5=>_0x2d1844[_0x23e950(0x417)]['contains'](_0x5369f5,_0x55dffe))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x98c13a,_0x2ffcd8,_0x77b56c){const _0x409fcc=_0x97f3f;var _0x515b82;const _0x21395a=(_0x515b82=this['_pivotRenderInfoCache'][_0x409fcc(0x4a6)](_0x98c13a))==null?void 0x0:_0x515b82['get'](_0x2ffcd8),_0x2e765d=[];return _0x21395a&&Array['from'](_0x21395a[_0x409fcc(0x334)]())['forEach'](_0x15fc6b=>{const _0x2625a1=_0x409fcc,_0x1750e3=_0x21395a['get'](_0x15fc6b),_0x2e1004=_0x1750e3==null?void 0x0:_0x1750e3[_0x2625a1(0x3af)];if(_0x2e1004)for(const _0x4437a4 of Object[_0x2625a1(0x45f)](_0x2e1004)){let _0x435b90=!0x1;for(const _0x52383f of _0x4437a4)if(_0x2d1844[_0x2625a1(0x417)][_0x2625a1(0x3f2)](_0x52383f,_0x77b56c)){_0x2e765d[_0x2625a1(0x1fc)](_0x15fc6b),_0x435b90=!0x0;break;}if(_0x435b90)break;}}),_0x2e765d;}['getSubUnitPivotMatrix'](_0x1021e6,_0x622686){const _0x5e9699=_0x97f3f;var _0x5f5680,_0x17e864;return(_0x17e864=(_0x5f5680=this['_pivotRenderValueMatrixCache'][_0x5e9699(0x4a6)](_0x1021e6))==null?void 0x0:_0x5f5680[_0x5e9699(0x4a6)](_0x622686))!=null?_0x17e864:new _0x2d1844[(_0x5e9699(0x19d))]();}[_0x97f3f(0x41a)](_0x5bb55a,_0x49fc0e){const _0x103555=_0x97f3f;var _0x47b2d4;return(_0x47b2d4=this[_0x103555(0x226)][_0x103555(0x4a6)](_0x5bb55a))==null?void 0x0:_0x47b2d4[_0x103555(0x4a6)](_0x49fc0e);}[_0x97f3f(0x243)](_0x4dc511,_0x3da125,_0x26e9fd){const _0x205e7d=_0x97f3f;var _0xdda921,_0x16f808;return(_0x16f808=(_0xdda921=this[_0x205e7d(0x226)][_0x205e7d(0x4a6)](_0x4dc511))==null?void 0x0:_0xdda921[_0x205e7d(0x4a6)](_0x3da125))==null?void 0x0:_0x16f808[_0x205e7d(0x4a6)](_0x26e9fd);}[_0x97f3f(0x34e)](_0x57a90f){const _0x153dc8=_0x97f3f;this[_0x153dc8(0x226)][_0x153dc8(0x3ca)](_0x57a90f),this[_0x153dc8(0x3bf)][_0x153dc8(0x3ca)](_0x57a90f);}[_0x97f3f(0x36d)](_0x3a5dc3,_0x2359eb){const _0x43d34d=_0x97f3f;this[_0x43d34d(0x397)]['next']({'unitId':_0x3a5dc3,'subUnitId':_0x2359eb});}},_0x3d41c7[_0x97f3f(0x402)]=_0x520716([_0x5abeaa(0x0,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x284)])),_0x5abeaa(0x1,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x2b2)])),_0x5abeaa(0x2,_0x2d1844[_0x97f3f(0x4a0)](_0x3d41c7[_0x97f3f(0x499)])),_0x5abeaa(0x3,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x21b)])),_0x5abeaa(0x4,_0x2d1844[_0x97f3f(0x4a0)](_0xbdc533[_0x97f3f(0x1e8)]))],_0x3d41c7[_0x97f3f(0x402)]);var _0x2822d3=Object[_0x97f3f(0x1a1)],_0x55d258=(_0x17fa0b,_0xcf5db6,_0x4b9268,_0x173925)=>{for(var _0x443589=_0x173925>0x1?void 0x0:_0x173925?_0x2822d3(_0xcf5db6,_0x4b9268):_0xcf5db6,_0x2a7cb8=_0x17fa0b['length']-0x1,_0x24be98;_0x2a7cb8>=0x0;_0x2a7cb8--)(_0x24be98=_0x17fa0b[_0x2a7cb8])&&(_0x443589=_0x24be98(_0x443589)||_0x443589);return _0x443589;},_0x55a27f=(_0x26bc9f,_0x3e58fb)=>(_0x19084b,_0x1d07e7)=>_0x3e58fb(_0x19084b,_0x1d07e7,_0x26bc9f);_0x3d41c7[_0x97f3f(0x44e)]=class extends _0x2d1844[_0x97f3f(0x3a4)]{constructor(_0x43ab01,_0x1a6fac){const _0x29fe72=_0x97f3f;super(),_0x4a9226(this,_0x29fe72(0x325),new _0x2d1844['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x20dd1f})),_0x4a9226(this,'interceptor',new _0x2d1844[(_0x29fe72(0x2f7))]({'PIVOT_MUTATION_GENERATE':_0xa4cc95})),(this[_0x29fe72(0x287)]=_0x43ab01,this[_0x29fe72(0x359)]=_0x1a6fac,this[_0x29fe72(0x267)]());}[_0x97f3f(0x267)](){const _0x235fa0=_0x97f3f;this[_0x235fa0(0x404)]();}['getPivotPerformCheck'](_0x2b85bf){const _0x5a63ed=_0x97f3f;return this['asyncInterceptor'][_0x5a63ed(0x429)](_0x20dd1f)(!0x1,_0x2b85bf);}[_0x97f3f(0x404)](){const _0x2630eb=_0x97f3f;this[_0x2630eb(0x311)](this[_0x2630eb(0x287)][_0x2630eb(0x3e3)](_0xbdc533[_0x2630eb(0x463)][_0x2630eb(0x2f2)],{'priority':0xc8,'effect':_0x2d1844['InterceptorEffectEnum'][_0x2630eb(0x34c)]|_0x2d1844['InterceptorEffectEnum'][_0x2630eb(0x1f1)],'handler':(_0x178188,_0x5a28ed,_0x379719)=>{const _0x27f855=_0x2630eb,{row:_0x568898,col:_0x44e8a0,unitId:_0x378f20,subUnitId:_0x251138,workbook:_0x33a5ff}=_0x5a28ed,_0x473dce=this[_0x27f855(0x359)][_0x27f855(0x229)](_0x378f20,_0x251138,_0x568898,_0x44e8a0);if(!_0x473dce)return _0x379719(_0x178188);const _0x2b3674={..._0x178188};(_0x473dce['v']||_0x473dce['v']===0x0)&&(_0x2b3674['v']=_0x473dce['v']),_0x473dce['t']&&(_0x2b3674['t']=_0x473dce['t']);const _0x1ebb53=(typeof(_0x178188==null?void 0x0:_0x178188['s'])==_0x27f855(0x2d9)?_0x33a5ff[_0x27f855(0x450)]()[_0x27f855(0x4a6)](_0x178188==null?void 0x0:_0x178188['s']):_0x178188==null?void 0x0:_0x178188['s'])||{},_0x463d00=_0x33a5ff[_0x27f855(0x450)]()[_0x27f855(0x4a6)](_0x473dce['s']),_0x3d07b3={..._0x463d00,..._0x1ebb53};_0x463d00!=null&&_0x463d00['n']&&(_0x3d07b3['n']=_0x463d00['n']);const _0x231284=_0x33a5ff[_0x27f855(0x450)]()[_0x27f855(0x2eb)](_0x3d07b3);return _0x2b3674['s']=_0x231284,(_0x473dce['pbt']===_0x15c500[_0x27f855(0x36b)][_0x27f855(0x2ab)]||_0x473dce[_0x27f855(0x466)]===_0x15c500[_0x27f855(0x36b)][_0x27f855(0x2a1)])&&(_0x2b3674[_0x27f855(0x1da)]={},_0x2b3674[_0x27f855(0x1da)][_0x27f855(0x389)]=_0x55e7ec),_0x379719(_0x2b3674);}}));}},_0x3d41c7[_0x97f3f(0x44e)]=_0x55d258([_0x55a27f(0x0,_0x2d1844[_0x97f3f(0x4a0)](_0xbdc533['SheetInterceptorService'])),_0x55a27f(0x1,_0x2d1844[_0x97f3f(0x4a0)](_0x3d41c7[_0x97f3f(0x402)]))],_0x3d41c7[_0x97f3f(0x44e)]);function _0x5b395d(_0x40850f,_0x4596ac){const _0x4c3515=_0x97f3f;switch(_0x4596ac){case _0x15c500['PivotTableFiledAreaEnum']['Value']:return _0x40850f[_0x4c3515(0x1f8)];case _0x15c500[_0x4c3515(0x2c1)][_0x4c3515(0x1d6)]:return _0x40850f[_0x4c3515(0x483)];case _0x15c500[_0x4c3515(0x2c1)]['Row']:return _0x40850f['rowFields'];case _0x15c500[_0x4c3515(0x2c1)][_0x4c3515(0x437)]:return _0x40850f[_0x4c3515(0x358)];default:return[];}}function _0x5192c6(_0x32d178,_0x67ba0c){return _0x32d178['measure'][_0x67ba0c]||_0x32d178['dimension'][_0x67ba0c];}function _0x4b0611(_0x5a051d,_0x147d88){const _0x2e580f=_0x97f3f,{area:_0x59deeb,fieldJson:_0x5a6c67,index:_0xe42550}=_0x147d88;_0x59deeb===_0x15c500[_0x2e580f(0x2c1)][_0x2e580f(0x34c)]?_0x5a051d[_0x2e580f(0x24b)][_0x5a6c67['id']]=_0x5a6c67:_0x5a051d[_0x2e580f(0x3e2)][_0x5a6c67['id']]=_0x5a6c67,_0x5b395d(_0x5a051d,_0x59deeb)['splice'](_0xe42550,0x0,_0x5a6c67['id']);}function _0x2da5f4(_0x153d05,_0x2ee3b3){const _0x2eb022=_0x97f3f,{area:_0x3875c7,fieldId:_0x3d5a73,index:_0x2d004a}=_0x2ee3b3;_0x3875c7===_0x15c500[_0x2eb022(0x2c1)][_0x2eb022(0x34c)]?delete _0x153d05[_0x2eb022(0x24b)][_0x3d5a73]:delete _0x153d05[_0x2eb022(0x3e2)][_0x3d5a73],_0x5b395d(_0x153d05,_0x3875c7)['splice'](_0x2d004a,0x1);}function _0x294e23(_0x4447af,_0x16e97c){const _0x36fe31=_0x97f3f,{fieldId:_0x3d9668,name:_0x291bf2}=_0x16e97c,_0x1e07ce=_0x5192c6(_0x4447af,_0x3d9668);_0x1e07ce&&(_0x1e07ce[_0x36fe31(0x440)]=_0x291bf2);}function _0x339237(_0xd9ad71,_0x2ac12d){const _0x49ac78=_0x97f3f,{fieldId:_0x3b51f6,collapse:_0x493b5c,item:_0x22145b}=_0x2ac12d;_0x22145b!==void 0x0?(_0xd9ad71[_0x49ac78(0x3ef)][_0x3b51f6]=_0xd9ad71[_0x49ac78(0x3ef)][_0x3b51f6]||{},_0xd9ad71['collapseInfo'][_0x3b51f6][_0x22145b]=_0x493b5c):_0xd9ad71['collapseInfo'][_0x3b51f6]=_0x493b5c;}function _0x407129(_0x144cd2,_0x418f9d){const _0x41215a=_0x97f3f,{fieldId:_0x269fb0,format:_0x375001}=_0x418f9d,_0x567196=_0x5192c6(_0x144cd2,_0x269fb0);_0x567196&&(_0x567196[_0x41215a(0x264)]=_0x375001);}function _0x111441(_0xe4bff,_0x1b34f9){const _0x52b777=_0x97f3f,{fieldId:_0x3c4026,filterInfo:_0x330181}=_0x1b34f9,_0x333786=_0x5192c6(_0xe4bff,_0x3c4026);_0x333786&&(_0x333786[_0x52b777(0x372)]=_0x330181);}function _0x23c7aa(_0x52f0e7,_0x4e01d5){const _0x3dc243=_0x97f3f,{fieldId:_0xc747f5,filterInfo:_0x19a916}=_0x4e01d5,_0x4ac6c4=_0x52f0e7[_0x3dc243(0x2f9)]['filter'](_0x1c34ef=>_0x1c34ef[_0x3dc243(0x48f)]!==_0xc747f5);_0x19a916&&_0x4ac6c4[_0x3dc243(0x1fc)]({'fieldId':_0xc747f5,'filterInfo':_0x19a916}),_0x52f0e7[_0x3dc243(0x2f9)]=_0x4ac6c4;}function _0x18711e(_0x3ef9bd,_0x13bdb2){const _0x2d7e47=_0x97f3f,{fieldId:_0x5d97bf,subtotalType:_0x5426a0}=_0x13bdb2,_0x5addb3=_0x5192c6(_0x3ef9bd,_0x5d97bf);_0x5addb3&&(_0x5addb3[_0x2d7e47(0x2ec)]=_0x5426a0);}function _0x56fecf(_0x52d60e,_0xd94ae9){const _0xcfe4b5=_0x97f3f,{fieldId:_0x2a8044,oldArea:_0xda67d7,area:_0x344b5d,oldIndex:_0x32ef50,index:_0x3e6956}=_0xd94ae9,_0x192200=_0xda67d7!==_0x15c500['PivotTableFiledAreaEnum'][_0xcfe4b5(0x34c)]&&_0x344b5d===_0x15c500[_0xcfe4b5(0x2c1)]['Value'],_0x5eebd0=_0xda67d7===_0x15c500['PivotTableFiledAreaEnum'][_0xcfe4b5(0x34c)]&&_0x344b5d!==_0x15c500['PivotTableFiledAreaEnum'][_0xcfe4b5(0x34c)];if(_0x192200||_0x5eebd0){const _0x51603c=_0x5192c6(_0x52d60e,_0x2a8044);_0x51603c&&(_0x192200?(delete _0x52d60e['dimension'][_0x2a8044],_0x52d60e[_0xcfe4b5(0x24b)][_0x2a8044]=_0x51603c):(delete _0x52d60e[_0xcfe4b5(0x24b)][_0x2a8044],_0x52d60e[_0xcfe4b5(0x3e2)][_0x2a8044]=_0x51603c));}const _0x11ed45=_0x5b395d(_0x52d60e,_0xda67d7),_0x3cc47a=_0x5b395d(_0x52d60e,_0x344b5d);_0x11ed45[_0xcfe4b5(0x3c1)](_0x32ef50,0x1),_0x3cc47a[_0xcfe4b5(0x3c1)](_0x3e6956,0x0,_0x2a8044);}function _0x4098af(_0x4c6acf,_0x1e8c15){const _0x50ac91=_0x97f3f,{valuePosition:_0x4f4ab5,index:_0x322d16}=_0x1e8c15;_0x4c6acf[_0x50ac91(0x39e)]=_0x4f4ab5,_0x4c6acf[_0x50ac91(0x3f5)]=_0x322d16;}function _0x232b96(_0x2ed53b,_0x519941){const {tableFieldId:_0x4e3dbe,sourceName:_0x53fb81,dataFieldId:_0x5e7d52}=_0x519941,_0x1acfb=_0x5192c6(_0x2ed53b,_0x4e3dbe);_0x1acfb&&(_0x1acfb['sourceName']=_0x53fb81,_0x1acfb['dataFieldId']=_0x5e7d52);}function _0x2be42e(_0x725bca,_0x370cf5){const _0x1b43c4=_0x97f3f,{fieldId:_0x4eb5ca,sortInfo:_0x19f460}=_0x370cf5,_0xb7976c=_0x5192c6(_0x725bca,_0x4eb5ca);_0xb7976c&&(_0xb7976c[_0x1b43c4(0x338)]=_0x19f460);}function _0x53e88f(_0x589e01,_0x3f0862){const _0x475568=_0x97f3f,{options:_0x167808}=_0x3f0862;_0x589e01[_0x475568(0x458)]={..._0x589e01[_0x475568(0x458)],..._0x167808};}const _0x26769b={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':_0x97f3f(0x232),'handler'(_0x4af8f8,_0x1fa302){const _0x47766d=_0x97f3f;if(!_0x1fa302)return!0x1;if(!!_0x4af8f8[_0x47766d(0x4a6)](_0x2d1844[_0x47766d(0x2ca)])[_0x47766d(0x327)](_0x292159))return!0x0;const _0x289398=_0x4af8f8[_0x47766d(0x4a6)](_0x3d41c7[_0x47766d(0x3a2)]),{pivotTableId:_0x1f0c09,fieldJson:_0x49f480,area:_0x174cff,index:_0x8a561f,unitId:_0x5a3984,subUnitId:_0x411fdd}=_0x1fa302,_0x2866dd=_0x289398[_0x47766d(0x42e)](_0x1f0c09);if(!_0x2866dd)return!0x1;let _0x56a223;_0x174cff===_0x15c500[_0x47766d(0x2c1)][_0x47766d(0x34c)]?_0x56a223=_0x15c500[_0x47766d(0x1ad)](_0x49f480):_0x56a223=_0x15c500[_0x47766d(0x46a)](_0x49f480),_0x2866dd[_0x47766d(0x3c6)](_0x56a223,_0x174cff,_0x8a561f);const _0x4ce26a=_0x289398[_0x47766d(0x242)](_0x5a3984,_0x411fdd,_0x1f0c09);_0x4b0611(_0x4ce26a,_0x1fa302);const _0x23eaeb=_0x289398[_0x47766d(0x21d)](_0x5a3984,_0x411fdd,_0x1f0c09);return _0x289398[_0x47766d(0x22f)]({'unitId':_0x5a3984,'subUnitId':_0x411fdd,'token':_0x1f0c09,'type':_0x532e5d[_0x47766d(0x3a5)],'pivotConfig':_0x23eaeb}),!0x0;}},_0x261617={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':_0x97f3f(0x381),'handler'(_0x3e5615,_0x5a179b){const _0x4c5858=_0x97f3f;if(!_0x5a179b)return!0x1;if(!!_0x3e5615['get'](_0x2d1844[_0x4c5858(0x2ca)])[_0x4c5858(0x327)](_0x292159))return!0x0;const _0x372365=_0x3e5615[_0x4c5858(0x4a6)](_0x3d41c7[_0x4c5858(0x3a2)]),{pivotTableId:_0xdbb139,fieldId:_0x112660,unitId:_0x1db152,subUnitId:_0x4515de}=_0x5a179b,_0x4f1a30=_0x372365[_0x4c5858(0x42e)](_0xdbb139);if(!_0x4f1a30)return!0x1;_0x4f1a30[_0x4c5858(0x495)](_0x112660);const _0x5be8a3=_0x372365[_0x4c5858(0x242)](_0x1db152,_0x4515de,_0xdbb139);_0x2da5f4(_0x5be8a3,_0x5a179b);const _0x19777e=_0x372365[_0x4c5858(0x21d)](_0x1db152,_0x4515de,_0xdbb139);return _0x372365[_0x4c5858(0x22f)]({'unitId':_0x1db152,'subUnitId':_0x4515de,'token':_0xdbb139,'type':_0x532e5d[_0x4c5858(0x3a5)],'pivotConfig':_0x19777e}),!0x0;}},_0x17028d={'type':_0x2d1844[_0x97f3f(0x216)]['MUTATION'],'id':'sheet.mutation.rename-pivot-field','handler'(_0x2a0858,_0x217fe8){const _0x4017f6=_0x97f3f;if(!_0x217fe8)return!0x1;if(!!_0x2a0858[_0x4017f6(0x4a6)](_0x2d1844[_0x4017f6(0x2ca)])['getConfig'](_0x292159))return!0x0;const _0x14bb96=_0x2a0858['get'](_0x3d41c7['SheetsPivotDataSourceModel']),{unitId:_0x41f0dc,subUnitId:_0x29ca4d,pivotTableId:_0xe1647b,fieldId:_0x1338c1,name:_0x4886a1}=_0x217fe8,_0x149bb0=_0x14bb96[_0x4017f6(0x42e)](_0xe1647b);if(!_0x149bb0)return!0x1;_0x149bb0[_0x4017f6(0x316)](_0x1338c1,_0x4886a1);const _0x299113=_0x14bb96['getPivotTableModelConfig'](_0x41f0dc,_0x29ca4d,_0xe1647b);return _0x294e23(_0x299113,_0x217fe8),_0x14bb96[_0x4017f6(0x22f)]({'unitId':_0x41f0dc,'subUnitId':_0x29ca4d,'token':_0xe1647b,'type':_0x532e5d[_0x4017f6(0x3a5)]}),!0x0;}},_0x41ef5a={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x366eb7,_0x49d506){const _0x903ec=_0x97f3f;if(!_0x49d506)return!0x1;if(!!_0x366eb7[_0x903ec(0x4a6)](_0x2d1844[_0x903ec(0x2ca)])[_0x903ec(0x327)](_0x292159))return!0x0;const _0x2a0848=_0x366eb7[_0x903ec(0x4a6)](_0x3d41c7[_0x903ec(0x3a2)]),{unitId:_0x147cdc,subUnitId:_0x3c922b,pivotTableId:_0x2acab8,fieldId:_0x843d21,collapse:_0x111fe1,item:_0xb76546}=_0x49d506,_0x506f11=_0x2a0848[_0x903ec(0x42e)](_0x2acab8);if(!_0x506f11)return!0x1;_0x506f11[_0x903ec(0x20b)](_0x843d21,_0x111fe1,_0xb76546);const _0x5cdf18=_0x2a0848[_0x903ec(0x242)](_0x147cdc,_0x3c922b,_0x2acab8);return _0x339237(_0x5cdf18,_0x49d506),_0x2a0848[_0x903ec(0x22f)]({'unitId':_0x147cdc,'subUnitId':_0x3c922b,'token':_0x2acab8,'type':_0x532e5d['Set']}),!0x0;}},_0x47c557={'type':_0x2d1844[_0x97f3f(0x216)]['MUTATION'],'id':_0x97f3f(0x21e),'handler'(_0x36d368,_0x107c11){const _0x49dde2=_0x97f3f;if(!_0x107c11)return!0x1;if(!!_0x36d368[_0x49dde2(0x4a6)](_0x2d1844[_0x49dde2(0x2ca)])[_0x49dde2(0x327)](_0x292159))return!0x0;const _0x44557e=_0x36d368['get'](_0x3d41c7['SheetsPivotDataSourceModel']),{unitId:_0x584b63,subUnitId:_0x518131,pivotTableId:_0x50eb7c,fieldId:_0x10655a,format:_0x15f1c6}=_0x107c11,_0x3e9d8a=_0x44557e['getPivotTableInstance'](_0x50eb7c);if(!_0x3e9d8a)return!0x1;_0x3e9d8a[_0x49dde2(0x306)](_0x10655a,_0x15f1c6);const _0x295990=_0x44557e[_0x49dde2(0x242)](_0x584b63,_0x518131,_0x50eb7c);return _0x407129(_0x295990,_0x107c11),_0x44557e[_0x49dde2(0x22f)]({'unitId':_0x584b63,'subUnitId':_0x518131,'token':_0x50eb7c,'type':_0x532e5d['Set']}),!0x0;}},_0x59ffbe={'type':_0x2d1844[_0x97f3f(0x216)]['MUTATION'],'id':_0x97f3f(0x340),'handler'(_0x395b40,_0x11be0b){const _0x442def=_0x97f3f;if(!_0x11be0b)return!0x1;if(!!_0x395b40['get'](_0x2d1844[_0x442def(0x2ca)])[_0x442def(0x327)](_0x292159))return!0x0;const _0x239fd1=_0x395b40['get'](_0x3d41c7[_0x442def(0x3a2)]),{unitId:_0x30af4a,subUnitId:_0x12cf95,pivotTableId:_0x237031,fieldId:_0x2fbba7,filterInfo:_0x53700a}=_0x11be0b,_0x5c6eea=_0x239fd1[_0x442def(0x42e)](_0x237031);if(!_0x5c6eea)return!0x1;_0x5c6eea[_0x442def(0x3ab)](_0x2fbba7,_0x53700a);const _0x5c5dbb=_0x239fd1[_0x442def(0x242)](_0x30af4a,_0x12cf95,_0x237031);return _0x111441(_0x5c5dbb,_0x11be0b),_0x239fd1[_0x442def(0x22f)]({'unitId':_0x30af4a,'subUnitId':_0x12cf95,'token':_0x237031,'type':_0x532e5d['Set']}),!0x0;}},_0x2d9715={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':'sheet.mutation.set-pivot-option','handler'(_0x4ce1ca,_0x37254d){const _0x55075d=_0x97f3f;if(!_0x37254d)return!0x1;if(!!_0x4ce1ca[_0x55075d(0x4a6)](_0x2d1844[_0x55075d(0x2ca)])['getConfig'](_0x292159))return!0x0;const _0x50f2f1=_0x4ce1ca[_0x55075d(0x4a6)](_0x3d41c7[_0x55075d(0x3a2)]),{unitId:_0x35a10a,subUnitId:_0x4d7b06,pivotTableId:_0x5a711a,options:_0x26e50a}=_0x37254d,_0x184a45=_0x50f2f1[_0x55075d(0x42e)](_0x5a711a);if(!_0x184a45)return!0x1;_0x184a45[_0x55075d(0x383)](_0x26e50a);const _0x37e7d1=_0x50f2f1[_0x55075d(0x242)](_0x35a10a,_0x4d7b06,_0x5a711a);return _0x53e88f(_0x37e7d1,_0x37254d),_0x50f2f1[_0x55075d(0x22f)]({'unitId':_0x35a10a,'subUnitId':_0x4d7b06,'token':_0x5a711a,'type':_0x532e5d[_0x55075d(0x3a5)]}),!0x0;}},_0x4891ca={'type':_0x2d1844['CommandType'][_0x97f3f(0x3ad)],'id':_0x97f3f(0x3ec),'handler'(_0x2844e0,_0x2da81b){const _0x4d6bfd=_0x97f3f;if(!_0x2da81b)return!0x1;if(!!_0x2844e0[_0x4d6bfd(0x4a6)](_0x2d1844[_0x4d6bfd(0x2ca)])['getConfig'](_0x292159))return!0x0;const _0x33d534=_0x2844e0[_0x4d6bfd(0x4a6)](_0x3d41c7[_0x4d6bfd(0x3a2)]),{unitId:_0x11f387,subUnitId:_0x942c17,pivotTableId:_0x4b7af6,sortInfo:_0x23d4b0,fieldId:_0x4c45d9}=_0x2da81b,_0x354a1a=_0x33d534[_0x4d6bfd(0x42e)](_0x4b7af6);if(!_0x354a1a)return!0x1;_0x354a1a[_0x4d6bfd(0x25c)](_0x4c45d9,_0x23d4b0);const _0x460c3b=_0x33d534[_0x4d6bfd(0x242)](_0x11f387,_0x942c17,_0x4b7af6);return _0x2be42e(_0x460c3b,_0x2da81b),_0x33d534[_0x4d6bfd(0x22f)]({'unitId':_0x11f387,'subUnitId':_0x942c17,'token':_0x4b7af6,'type':_0x532e5d[_0x4d6bfd(0x3a5)]}),!0x0;}},_0x445eca={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':_0x97f3f(0x1ae),'handler'(_0x243e48,_0x5bee08){const _0x5be5bb=_0x97f3f;if(!_0x5bee08)return!0x1;if(!!_0x243e48[_0x5be5bb(0x4a6)](_0x2d1844[_0x5be5bb(0x2ca)])['getConfig'](_0x292159))return!0x0;const _0x17486d=_0x243e48['get'](_0x3d41c7['SheetsPivotDataSourceModel']),{unitId:_0x1a63e5,subUnitId:_0x45f170,pivotTableId:_0x1c29fe,fieldId:_0x2fe97b,subtotalType:_0x4555b7}=_0x5bee08,_0x455aef=_0x17486d[_0x5be5bb(0x42e)](_0x1c29fe);if(!_0x455aef)return!0x1;_0x455aef[_0x5be5bb(0x31b)](_0x2fe97b,_0x4555b7);const _0x569884=_0x17486d['getPivotTableModelConfig'](_0x1a63e5,_0x45f170,_0x1c29fe);return _0x18711e(_0x569884,_0x5bee08),_0x17486d[_0x5be5bb(0x22f)]({'unitId':_0x1a63e5,'subUnitId':_0x45f170,'token':_0x1c29fe,'type':_0x532e5d[_0x5be5bb(0x3a5)]}),!0x0;}},_0x52f8a2={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':_0x97f3f(0x3a3),'handler'(_0x15f42c,_0x3e50f9){const _0x4aa31b=_0x97f3f;if(!_0x3e50f9)return!0x1;if(!!_0x15f42c[_0x4aa31b(0x4a6)](_0x2d1844[_0x4aa31b(0x2ca)])['getConfig'](_0x292159))return!0x0;const _0x5eefd9=_0x15f42c[_0x4aa31b(0x4a6)](_0x3d41c7['SheetsPivotDataSourceModel']),{unitId:_0x545b29,subUnitId:_0x5e0f83,pivotTableId:_0x573a34,fieldId:_0x17f36d,filterInfo:_0x2d2d75}=_0x3e50f9,_0x257c1e=_0x5eefd9[_0x4aa31b(0x42e)](_0x573a34);if(!_0x257c1e)return!0x1;_0x257c1e[_0x4aa31b(0x375)](_0x17f36d,_0x2d2d75);const _0x56a979=_0x5eefd9[_0x4aa31b(0x242)](_0x545b29,_0x5e0f83,_0x573a34);return _0x23c7aa(_0x56a979,_0x3e50f9),_0x5eefd9[_0x4aa31b(0x22f)]({'unitId':_0x545b29,'subUnitId':_0x5e0f83,'token':_0x573a34,'type':_0x532e5d[_0x4aa31b(0x3a5)]}),!0x0;}},_0x54b859={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':_0x97f3f(0x290),'handler'(_0x1ed290,_0x34048b){const _0x37f487=_0x97f3f;if(!_0x34048b)return!0x1;if(!!_0x1ed290[_0x37f487(0x4a6)](_0x2d1844['IConfigService'])[_0x37f487(0x327)](_0x292159))return!0x0;const _0x369256=_0x1ed290['get'](_0x3d41c7[_0x37f487(0x3a2)]),{unitId:_0x2ca998,subUnitId:_0x2b5ef4,pivotTableId:_0x33d084,area:_0xbbcdcd,index:_0x3d6cfb,fieldId:_0x430f74}=_0x34048b,_0x350914=_0x369256[_0x37f487(0x42e)](_0x33d084);if(!_0x350914)return!0x1;_0x350914['updateFieldPosition'](_0x430f74,_0xbbcdcd,_0x3d6cfb);const _0x3f53f4=_0x369256[_0x37f487(0x242)](_0x2ca998,_0x2b5ef4,_0x33d084);return _0x56fecf(_0x3f53f4,_0x34048b),_0x369256[_0x37f487(0x22f)]({'unitId':_0x2ca998,'subUnitId':_0x2b5ef4,'token':_0x33d084,'type':_0x532e5d[_0x37f487(0x3a5)]}),!0x0;}},_0x4dbee8={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':_0x97f3f(0x23d),'handler'(_0x404b01,_0xec9f22){const _0x5b0682=_0x97f3f;if(!_0xec9f22)return!0x1;if(!!_0x404b01['get'](_0x2d1844[_0x5b0682(0x2ca)])[_0x5b0682(0x327)](_0x292159))return!0x0;const _0x36d7de=_0x404b01[_0x5b0682(0x4a6)](_0x3d41c7[_0x5b0682(0x3a2)]),{unitId:_0x4440ea,subUnitId:_0x176f55,pivotTableId:_0x21a46b,sourceName:_0x8dba10,dataFieldId:_0x187f2a,tableFieldId:_0x4952f6}=_0xec9f22,_0x371ae5=_0x36d7de['getPivotTableInstance'](_0x21a46b);if(!_0x371ae5)return!0x1;_0x371ae5[_0x5b0682(0x32a)](_0x4952f6,_0x8dba10,_0x187f2a);const _0x51bc01=_0x36d7de[_0x5b0682(0x242)](_0x4440ea,_0x176f55,_0x21a46b);return _0x232b96(_0x51bc01,_0xec9f22),_0x36d7de[_0x5b0682(0x22f)]({'unitId':_0x4440ea,'subUnitId':_0x176f55,'token':_0x21a46b,'type':_0x532e5d[_0x5b0682(0x3a5)]}),!0x0;}},_0x1a8754={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':_0x97f3f(0x237),'handler'(_0x4cbe80,_0x53d319){const _0x5a5685=_0x97f3f;if(!_0x53d319)return!0x1;if(!!_0x4cbe80['get'](_0x2d1844['IConfigService'])[_0x5a5685(0x327)](_0x292159))return!0x0;const _0x4d093d=_0x4cbe80['get'](_0x3d41c7[_0x5a5685(0x3a2)]),{unitId:_0x51f894,subUnitId:_0x33bf71,pivotTableId:_0x444e82,valuePosition:_0x29c6f2,index:_0x442270}=_0x53d319,_0x7b6e8c=_0x4d093d[_0x5a5685(0x42e)](_0x444e82);if(!_0x7b6e8c)return!0x1;_0x7b6e8c['updateValuePosition'](_0x29c6f2,_0x442270);const _0x29d290=_0x4d093d[_0x5a5685(0x242)](_0x51f894,_0x33bf71,_0x444e82);return _0x4098af(_0x29d290,_0x53d319),_0x4d093d[_0x5a5685(0x22f)]({'unitId':_0x51f894,'subUnitId':_0x33bf71,'token':_0x444e82,'type':_0x532e5d[_0x5a5685(0x3a5)]}),!0x0;}};function _0x2a8660(_0x3be8c8,_0x373e81,_0x53350e){const _0x446c01=_0x97f3f,{pivotTableId:_0x58ed7c,unitId:_0x379518,subUnitId:_0x4e3c1c}=_0x373e81,_0x438b89=[],_0x4187aa=[];for(const _0x1d6ded of _0x53350e)switch(_0x1d6ded[_0x446c01(0x305)]){case _0x15c500[_0x446c01(0x3dc)]['AddField']:{const {fieldJson:_0x331e2b,area:_0x4406d8,index:_0x345617}=_0x1d6ded,_0x231579={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldJson':_0x331e2b,'area':_0x4406d8,'index':_0x345617},_0x1daf05={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x331e2b['id'],'area':_0x4406d8,'index':_0x345617};_0x438b89[_0x446c01(0x1fc)]({'id':_0x26769b['id'],'params':_0x231579}),_0x4187aa[_0x446c01(0x353)]({'id':_0x261617['id'],'params':_0x1daf05});}break;case _0x15c500['PivotTableChangeTypeEnum'][_0x446c01(0x2b4)]:{const {fieldId:_0xae15d2,newSubtotalType:_0x4b520a,oldSubtotalType:_0x1a472f}=_0x1d6ded,_0x3b82ea={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0xae15d2,'subtotalType':_0x4b520a};_0x438b89[_0x446c01(0x1fc)]({'id':_0x445eca['id'],'params':_0x3b82ea});const _0x30499f={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0xae15d2,'subtotalType':_0x1a472f};_0x4187aa[_0x446c01(0x353)]({'id':_0x445eca['id'],'params':_0x30499f});}break;case _0x15c500['PivotTableChangeTypeEnum']['RemoveField']:{const {fieldId:_0x3722e5,fieldJson:_0x3b8057,area:_0x51712b,index:_0x493507}=_0x1d6ded,_0x512fe3={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x3722e5,'index':_0x493507,'area':_0x51712b};_0x438b89[_0x446c01(0x1fc)]({'id':_0x261617['id'],'params':_0x512fe3});const _0x258f0b={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldJson':_0x3b8057,'area':_0x51712b,'index':_0x493507};_0x4187aa[_0x446c01(0x353)]({'id':_0x26769b['id'],'params':_0x258f0b});}break;case _0x15c500[_0x446c01(0x3dc)][_0x446c01(0x3a6)]:{const {fieldId:_0x1cc874,oldName:_0x11250a,newName:_0x1800bf}=_0x1d6ded,_0x27435c={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x1cc874,'name':_0x1800bf};_0x438b89[_0x446c01(0x1fc)]({'id':_0x17028d['id'],'params':_0x27435c});const _0x435612={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x1cc874,'name':_0x11250a};_0x4187aa[_0x446c01(0x353)]({'id':_0x17028d['id'],'params':_0x435612});}break;case _0x15c500[_0x446c01(0x3dc)][_0x446c01(0x472)]:{const {fieldId:_0x2cfc73,oldFilterInfo:_0x292c77,newFilterInfo:_0x464375}=_0x1d6ded,_0x46adc4={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x2cfc73,'filterInfo':_0x464375};_0x438b89[_0x446c01(0x1fc)]({'id':_0x59ffbe['id'],'params':_0x46adc4});const _0x4c4674={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x2cfc73,'filterInfo':_0x292c77};_0x4187aa[_0x446c01(0x353)]({'id':_0x59ffbe['id'],'params':_0x4c4674});}break;case _0x15c500['PivotTableChangeTypeEnum'][_0x446c01(0x3d3)]:{const {fieldId:_0x524c20,oldSortInfo:_0x26ce41,newSortInfo:_0x23fa99}=_0x1d6ded,_0x1f22d8={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x524c20,'sortInfo':_0x23fa99};_0x438b89[_0x446c01(0x1fc)]({'id':_0x4891ca['id'],'params':_0x1f22d8});const _0x5dfcbe={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x524c20,'sortInfo':_0x26ce41};_0x4187aa[_0x446c01(0x353)]({'id':_0x4891ca['id'],'params':_0x5dfcbe});}break;case _0x15c500[_0x446c01(0x3dc)]['SetOptions']:{const {oldOptions:_0x1e9c5e,newOptions:_0x5c4435}=_0x1d6ded,_0x1c036f={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'options':_0x5c4435};_0x438b89[_0x446c01(0x1fc)]({'id':_0x2d9715['id'],'params':_0x1c036f});const _0x213778={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'options':_0x1e9c5e};_0x4187aa[_0x446c01(0x353)]({'id':_0x2d9715['id'],'params':_0x213778});}break;case _0x15c500['PivotTableChangeTypeEnum'][_0x446c01(0x261)]:{const {oldArea:_0x73cdcf,newArea:_0xa0a978,oldIndex:_0x35ab4d,newIndex:_0x5b083d,fieldId:_0x1ab499}=_0x1d6ded,_0x1c6a2e={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x1ab499,'area':_0xa0a978,'index':_0x5b083d,'oldArea':_0x73cdcf,'oldIndex':_0x35ab4d};_0x438b89[_0x446c01(0x1fc)]({'id':_0x54b859['id'],'params':_0x1c6a2e});const _0x36355d={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x1ab499,'area':_0x73cdcf,'index':_0x35ab4d,'oldArea':_0xa0a978,'oldIndex':_0x5b083d};_0x4187aa[_0x446c01(0x353)]({'id':_0x54b859['id'],'params':_0x36355d});}break;case _0x15c500[_0x446c01(0x3dc)]['UpdateValuePosition']:{const {oldValuePosition:_0x4e8c01,newValuePosition:_0x3107e9,oldIndex:_0x4baed3,newIndex:_0x11029b}=_0x1d6ded,_0x55ef83={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'valuePosition':_0x3107e9,'index':_0x11029b};_0x438b89[_0x446c01(0x1fc)]({'id':_0x1a8754['id'],'params':_0x55ef83});const _0x39771e={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'valuePosition':_0x4e8c01,'index':_0x4baed3};_0x4187aa['unshift']({'id':_0x1a8754['id'],'params':_0x39771e});}break;case _0x15c500[_0x446c01(0x3dc)][_0x446c01(0x18c)]:{const {fieldId:_0x32ff80,collapse:_0x37d2f0,item:_0x2a89db}=_0x1d6ded,_0x595d8a={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x32ff80,'collapse':_0x37d2f0,'item':_0x2a89db};_0x438b89[_0x446c01(0x1fc)]({'id':_0x41ef5a['id'],'params':_0x595d8a});const _0x51bcde={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x32ff80,'collapse':!_0x37d2f0,'item':_0x2a89db};_0x4187aa[_0x446c01(0x353)]({'id':_0x41ef5a['id'],'params':_0x51bcde});}break;case _0x15c500[_0x446c01(0x3dc)][_0x446c01(0x1c6)]:{const {newFormat:_0x4d5042,oldFormat:_0x4b9d34,fieldId:_0x4e7260}=_0x1d6ded,_0x55dc74={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x4e7260,'format':_0x4d5042};_0x438b89[_0x446c01(0x1fc)]({'id':_0x47c557['id'],'params':_0x55dc74});const _0x469c7f={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x4e7260,'format':_0x4b9d34};_0x4187aa[_0x446c01(0x353)]({'id':_0x47c557['id'],'params':_0x469c7f});}break;case _0x15c500[_0x446c01(0x3dc)][_0x446c01(0x347)]:{const {tableFieldId:_0x2db134,oldSourceName:_0x3591f0,newSourceName:_0x480291,oldDataFieldId:_0x2d2e8a,newDataFieldId:_0x4beab9}=_0x1d6ded,_0x509549={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'tableFieldId':_0x2db134,'sourceName':_0x480291,'dataFieldId':_0x4beab9};_0x438b89[_0x446c01(0x1fc)]({'id':_0x4dbee8['id'],'params':_0x509549});const _0x10d0a1={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'tableFieldId':_0x2db134,'sourceName':_0x3591f0,'dataFieldId':_0x2d2e8a};_0x4187aa[_0x446c01(0x353)]({'id':_0x4dbee8['id'],'params':_0x10d0a1});}break;case _0x15c500[_0x446c01(0x3dc)][_0x446c01(0x4ac)]:{const {fieldId:_0x16540b,filterInfo:_0x209a6a,oldFilterInfo:_0x1ad977}=_0x1d6ded,_0x11bd7e={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x16540b,'filterInfo':_0x209a6a};_0x438b89['push']({'id':_0x52f8a2['id'],'params':_0x11bd7e});const _0x1f3784={'unitId':_0x379518,'subUnitId':_0x4e3c1c,'pivotTableId':_0x58ed7c,'fieldId':_0x16540b,'filterInfo':_0x1ad977};_0x4187aa['unshift']({'id':_0x52f8a2['id'],'params':_0x1f3784});}}return{'redos':_0x438b89,'undos':_0x4187aa};}function _0x548d50(_0x214807,_0xec3b9d){const _0x6a8242=_0x97f3f;var _0x415db6;const _0x59e128=_0x214807[_0x6a8242(0x4a6)](_0x3d41c7[_0x6a8242(0x44e)]),{cellInfo:_0x13abc5,view:_0x1d23a2,isEmpty:_0x4bf25b}=_0xec3b9d;return(_0x415db6=_0x59e128[_0x6a8242(0x485)]['fetchThroughInterceptors'](_0xa4cc95)(_0x46042a,{'cellInfo':_0x13abc5,'view':_0x1d23a2,'isEmpty':_0x4bf25b}))!=null?_0x415db6:_0x46042a;}const _0x1a05fc=()=>typeof process<'u'&&process[_0x97f3f(0x319)]!=null&&process[_0x97f3f(0x319)]['node']!=null,_0x158653={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':_0x97f3f(0x250),'handler'(_0x244f55,_0xe0c1f7){const _0x26258d=_0x97f3f;var _0x484f40;if(!_0xe0c1f7)return!0x1;const _0x3ee38a=_0x244f55[_0x26258d(0x4a6)](_0x2d1844[_0x26258d(0x2ca)]);if(!!_0x3ee38a[_0x26258d(0x327)](_0x292159))return!0x0;const _0x3bab4b=_0x244f55[_0x26258d(0x4a6)](_0x2d1844['IUniverInstanceService']),_0x4afd02=_0x244f55[_0x26258d(0x4a6)](_0x3d41c7['SheetsPivotDataSourceModel']),{pivotTableId:_0x549188,pivotTableConfig:_0x5a5e80,collectionConfig:_0x3414c2,unitId:_0x15c3f2,subUnitId:_0x4de850}=_0xe0c1f7,{sourceRangeInfo:_0x239126,fieldsConfig:_0x1d1dc9,targetCellInfo:_0x4fc089}=_0x5a5e80,_0x1de6a9=_0x3bab4b[_0x26258d(0x322)](_0x15c3f2);if(!_0x1de6a9||!_0x1de6a9[_0x26258d(0x385)](_0x4de850))return!0x1;if(!_0x1a05fc()){let _0x285017=0x0;_0x1de6a9['getSheets']()[_0x26258d(0x34f)](_0xc41d01=>{const _0x4eef4a=_0x26258d;var _0x1ee7c8,_0x5afa70;_0x285017+=(_0x5afa70=(_0x1ee7c8=_0x4afd02[_0x4eef4a(0x285)](_0x15c3f2,_0xc41d01[_0x4eef4a(0x1e7)]()))==null?void 0x0:_0x1ee7c8[_0x4eef4a(0x35f)])!=null?_0x5afa70:0x0;});const _0xa02da9=(_0x484f40=_0x3ee38a['getConfig'](_0x2e8cbd[_0x26258d(0x1c4)]))!=null?_0x484f40:{},{ls:_0x19b8aa,pbk:_0x490ace}=_0xa02da9;if(!_0x388fdb(_0x19b8aa,_0x490ace))throw new _0x2d1844[(_0x26258d(0x1b2))](_0x26258d(0x29e));const _0x4867fb=_0xa337b6(_0x38f1de,_0x19b8aa,_0x490ace)[_0x26258d(0x3d5)];if(_0x285017>=_0x4867fb)throw new _0x2d1844['CustomCommandExecutionError'](_0x26258d(0x29e));}if(!_0x3414c2||!_0x1d1dc9)return!0x1;const {collection:_0x1e1425,updateDataFieldList:_0x19faf7}=_0x4afd02['addCollectionByJSON'](_0x549188,_0x3414c2,_0x239126,_0x4fc089);_0x4afd02[_0x26258d(0x3ce)](_0x1e1425,_0x19faf7,_0x239126);const _0xa8522d=new _0x15c500[(_0x26258d(0x1fa))](_0x1e1425,void 0x0,_0x549188);_0xa8522d[_0x26258d(0x371)](_0x1d1dc9);const _0x217452=JSON[_0x26258d(0x1e2)](JSON['stringify'](_0x5a5e80));return _0x4afd02['addPivotTable'](_0x15c3f2,_0x4de850,_0x549188,_0xa8522d,_0x217452),_0x4afd02[_0x26258d(0x22f)]({'unitId':_0x15c3f2,'subUnitId':_0x4de850,'token':_0x549188,'type':_0x532e5d[_0x26258d(0x31d)],'pivotConfig':_0x217452}),!0x0;}},_0x10da6e={'type':_0x2d1844[_0x97f3f(0x216)]['MUTATION'],'id':_0x97f3f(0x47d),'handler'(_0xc633de,_0x3a3372){const _0x4f054a=_0x97f3f;if(!_0x3a3372)return!0x1;if(!!_0xc633de['get'](_0x2d1844[_0x4f054a(0x2ca)])[_0x4f054a(0x327)](_0x292159))return!0x0;const {pivotTableId:_0x4bbdb6,unitId:_0x2e9210,subUnitId:_0x37cd10}=_0x3a3372,_0x3f1ec6=_0xc633de['get'](_0x3d41c7[_0x4f054a(0x3a2)]);return _0x3f1ec6[_0x4f054a(0x21d)](_0x2e9210,_0x37cd10,_0x4bbdb6)?(_0x3f1ec6[_0x4f054a(0x22f)]({'unitId':_0x2e9210,'subUnitId':_0x37cd10,'token':_0x4bbdb6,'type':_0x532e5d[_0x4f054a(0x262)]}),_0x3f1ec6[_0x4f054a(0x35e)](_0x2e9210,_0x37cd10,_0x4bbdb6),!0x0):!0x1;}},_0x4c1b3e={'type':_0x2d1844['CommandType'][_0x97f3f(0x3ad)],'id':_0x97f3f(0x1a2),'handler'(_0x50d302,_0x482945){const _0x49afcd=_0x97f3f;if(!_0x482945)return!0x1;if(!!_0x50d302['get'](_0x2d1844[_0x49afcd(0x2ca)])['getConfig'](_0x292159))return!0x0;const {pivotTableId:_0x45873d,targetCellPosition:_0x25b4ad,unitId:_0x2e270e,subUnitId:_0x502e97}=_0x482945,_0x483989=_0x50d302[_0x49afcd(0x4a6)](_0x3d41c7['SheetsPivotDataSourceModel']);if(!_0x483989['getPivotTableInstance'](_0x482945[_0x49afcd(0x34a)]))return!0x1;const _0x5b9df3=_0x483989['getTargetByPivotId'](_0x45873d);if(!_0x5b9df3)return!0x1;const _0x4a015e=_0x483989[_0x49afcd(0x3b2)](_0x5b9df3[_0x49afcd(0x39a)],_0x482945[_0x49afcd(0x34a)]);if(!_0x4a015e)return!0x1;const _0x361ed3=_0x483989[_0x49afcd(0x21d)](_0x5b9df3['unitId'],_0x5b9df3[_0x49afcd(0x2bd)],_0x45873d);if(!_0x361ed3)return!0x1;const _0x568180=_0x2d1844[_0x49afcd(0x3a9)][_0x49afcd(0x40c)](_0x361ed3);_0x568180[_0x49afcd(0x19a)]={'unitId':_0x2e270e,'subUnitId':_0x502e97,'row':_0x25b4ad['row'],'col':_0x25b4ad[_0x49afcd(0x36c)]};const _0x2cc94e=_0x4a015e[_0x49afcd(0x486)]();if(_0x5b9df3[_0x49afcd(0x2bd)]===_0x502e97&&_0x5b9df3[_0x49afcd(0x39a)]===_0x2e270e)_0x483989[_0x49afcd(0x419)](_0x2e270e,_0x502e97,_0x45873d,_0x568180),_0x483989[_0x49afcd(0x22f)]({'unitId':_0x2e270e,'subUnitId':_0x502e97,'token':_0x45873d,'type':_0x532e5d['Set']});else{_0x483989[_0x49afcd(0x22f)]({'unitId':_0x5b9df3[_0x49afcd(0x39a)],'subUnitId':_0x5b9df3[_0x49afcd(0x2bd)],'token':_0x45873d,'type':_0x532e5d['Delete']}),_0x483989[_0x49afcd(0x35e)](_0x5b9df3[_0x49afcd(0x39a)],_0x5b9df3[_0x49afcd(0x2bd)],_0x45873d);const _0x14eed4=_0x483989[_0x49afcd(0x2aa)](_0x45873d,_0x2cc94e,_0x361ed3[_0x49afcd(0x252)],_0x568180[_0x49afcd(0x19a)]),_0x365e14=new _0x15c500[(_0x49afcd(0x1fa))](_0x14eed4[_0x49afcd(0x360)],void 0x0,_0x45873d);_0x365e14[_0x49afcd(0x371)](_0x568180[_0x49afcd(0x35b)]),_0x483989[_0x49afcd(0x445)](_0x2e270e,_0x502e97,_0x45873d,_0x365e14,_0x568180),_0x483989[_0x49afcd(0x22f)]({'unitId':_0x2e270e,'subUnitId':_0x502e97,'token':_0x45873d,'type':_0x532e5d[_0x49afcd(0x31d)],'pivotConfig':_0x568180});}return!0x0;}},_0x3ceb3e={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'id':_0x97f3f(0x217),'handler'(_0x59336a,_0x59231e){const _0x221f90=_0x97f3f;if(!_0x59231e)return!0x1;if(!!_0x59336a['get'](_0x2d1844['IConfigService'])[_0x221f90(0x327)](_0x292159))return!0x0;const _0x2d3fa4=_0x59336a[_0x221f90(0x4a6)](_0x3d41c7[_0x221f90(0x3a2)]),{pivotTableId:_0x2601a6,deleteIds:_0x165707,collectionJSON:_0x283cd4,dataRangeInfo:_0x215666,unitId:_0x1bfe80,subUnitId:_0x596b6a}=_0x59231e,_0x35146a=_0x2d3fa4['getPivotTableInstance'](_0x2601a6),_0x529268=_0x2d3fa4[_0x221f90(0x21d)](_0x1bfe80,_0x596b6a,_0x2601a6);if(!_0x35146a||!_0x529268)return!0x1;const {collection:_0x326129,updateDataFieldList:_0x3611fb}=_0x2d3fa4[_0x221f90(0x2aa)](_0x2601a6,_0x283cd4,_0x215666,_0x529268[_0x221f90(0x19a)]);_0x2d3fa4[_0x221f90(0x3ce)](_0x326129,_0x3611fb,_0x215666),_0x35146a[_0x221f90(0x317)](_0x326129);for(const _0x5d9c41 of _0x165707)_0x2d3fa4[_0x221f90(0x1b1)](_0x215666['unitId'],_0x5d9c41);const _0xc0237b=_0x2d3fa4[_0x221f90(0x21d)](_0x1bfe80,_0x596b6a,_0x2601a6);return _0xc0237b[_0x221f90(0x252)]=JSON[_0x221f90(0x1e2)](JSON['stringify'](_0x215666)),_0x2d3fa4[_0x221f90(0x22f)]({'unitId':_0x1bfe80,'subUnitId':_0x596b6a,'token':_0x2601a6,'type':_0x532e5d[_0x221f90(0x3a5)]}),!0x0;}},_0x1beddf={'type':_0x2d1844['CommandType'][_0x97f3f(0x3ad)],'id':_0x97f3f(0x3ae),'handler'(){return!0x0;}};var _0x524eba=Object[_0x97f3f(0x1a1)],_0x3afcc2=(_0x5a6a9,_0x2e5b6f,_0x212651,_0x19685c)=>{for(var _0x15d999=_0x19685c>0x1?void 0x0:_0x19685c?_0x524eba(_0x2e5b6f,_0x212651):_0x2e5b6f,_0x4563b9=_0x5a6a9['length']-0x1,_0x5aba1a;_0x4563b9>=0x0;_0x4563b9--)(_0x5aba1a=_0x5a6a9[_0x4563b9])&&(_0x15d999=_0x5aba1a(_0x15d999)||_0x15d999);return _0x15d999;},_0x347af5=(_0x7eb40,_0x414677)=>(_0x3c4b05,_0x3e43cc)=>_0x414677(_0x3c4b05,_0x3e43cc,_0x7eb40);_0x3d41c7['SheetsPivotRPCService']=class extends _0x2d1844[_0x97f3f(0x3a4)]{constructor(_0x148b0c,_0x2d471a){const _0x4add80=_0x97f3f;super(),_0x4a9226(this,'_requestResolvers',new Map()),(this[_0x4add80(0x3ba)]=_0x148b0c,this[_0x4add80(0x444)]=_0x2d471a);}[_0x97f3f(0x221)](_0x43fadb){const _0x1a090e=_0x97f3f,{version:_0x4dae0b}=_0x43fadb,_0x559b12=this[_0x1a090e(0x363)][_0x1a090e(0x4a6)](_0x4dae0b);_0x559b12&&(_0x559b12(_0x43fadb),this[_0x1a090e(0x363)][_0x1a090e(0x3ca)](_0x4dae0b));}[_0x97f3f(0x28b)](_0x528e0c){return new Promise((_0xcd75a7,_0x3b4f0f)=>{const _0xc5c180=_0x286d,_0x39783c=this['_generateUniqueVersion']();this[_0xc5c180(0x363)][_0xc5c180(0x251)](_0x39783c,_0xcd75a7),this['_commandService'][_0xc5c180(0x2ff)](_0x51bd44['id'],{'version':_0x39783c,..._0x528e0c},{'onlyLocal':!0x0});});}[_0x97f3f(0x1f9)](){const _0x14e568=_0x97f3f;return Math[_0x14e568(0x1b4)]()[_0x14e568(0x430)](0x24)['substring'](0x2,0x10);}},_0x3d41c7[_0x97f3f(0x49c)]=_0x3afcc2([_0x347af5(0x0,_0x2d1844['Inject'](_0x2d1844[_0x97f3f(0x2b2)])),_0x347af5(0x1,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x35c)]))],_0x3d41c7[_0x97f3f(0x49c)]);const _0x1a0db6={'id':_0x97f3f(0x44c),'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'handler':(_0x54e9b3,_0x54cabf)=>{const _0x213b8f=_0x97f3f;if(!_0x54cabf)return!0x1;if(!!_0x54e9b3['get'](_0x2d1844[_0x213b8f(0x2ca)])[_0x213b8f(0x327)](_0x292159))return!0x0;const {pivotTableId:_0x3e24d7,fieldJSON:_0x45b5b8,unitId:_0x1a43d3,subUnitId:_0x385592}=_0x54cabf,_0x2fb56c=_0x15c500[_0x213b8f(0x2ba)][_0x213b8f(0x371)](_0x45b5b8);if(!_0x2fb56c)return!0x1;const _0x3e747f=_0x54e9b3['get'](_0x3d41c7['SheetsPivotDataSourceModel']),_0x3c5036=_0x3e747f[_0x213b8f(0x374)](_0x1a43d3),_0x5a5262=_0x3c5036[_0x213b8f(0x3b2)](_0x3e24d7);_0x3c5036[_0x213b8f(0x29a)](_0x2fb56c),_0x5a5262['addField'](_0x2fb56c[_0x213b8f(0x204)](),_0x2fb56c[_0x213b8f(0x301)]());const _0x36b63c=_0x5a5262[_0x213b8f(0x258)](_0x2fb56c[_0x213b8f(0x48a)]());_0x36b63c&&_0x2fb56c['refreshGroupField'](_0x36b63c);const _0x4d8a35=_0x3e747f[_0x213b8f(0x21d)](_0x1a43d3,_0x385592,_0x3e24d7);return _0x3e747f[_0x213b8f(0x22f)]({'unitId':_0x1a43d3,'subUnitId':_0x385592,'token':_0x3e24d7,'type':_0x532e5d[_0x213b8f(0x3a5)],'pivotConfig':_0x4d8a35}),!0x0;}},_0x400117={'id':_0x97f3f(0x279),'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x3ad)],'handler':(_0x261254,_0x2873f4)=>{const _0x28e91e=_0x97f3f;if(!_0x2873f4)return!0x1;if(!!_0x261254['get'](_0x2d1844[_0x28e91e(0x2ca)])['getConfig'](_0x292159))return!0x0;const {pivotTableId:_0x2d82ff,dataFieldId:_0x4d30e4,unitId:_0x2018ba,subUnitId:_0x42d365}=_0x2873f4,_0x5367b4=_0x261254[_0x28e91e(0x4a6)](_0x3d41c7['SheetsPivotDataSourceModel']),_0x4dbc72=_0x5367b4[_0x28e91e(0x374)](_0x2018ba);_0x4dbc72[_0x28e91e(0x3b2)](_0x2d82ff)[_0x28e91e(0x20c)](_0x4d30e4);let _0x2862cc=!0x0;for(const _0x1095f3 in _0x4dbc72[_0x28e91e(0x1de)])if(_0x4dbc72[_0x28e91e(0x1de)][_0x1095f3]['getFieldIds']()[_0x28e91e(0x2c5)](_0x4d30e4)){_0x2862cc=!0x1;break;}_0x2862cc&&_0x4dbc72['deleteDataField'](_0x4d30e4);const _0x353238=_0x5367b4[_0x28e91e(0x21d)](_0x2018ba,_0x42d365,_0x2d82ff);return _0x5367b4[_0x28e91e(0x22f)]({'unitId':_0x2018ba,'subUnitId':_0x42d365,'token':_0x2d82ff,'type':_0x532e5d[_0x28e91e(0x3a5)],'pivotConfig':_0x353238}),!0x0;}},_0x503fa9={'type':_0x2d1844[_0x97f3f(0x216)]['COMMAND'],'id':_0x97f3f(0x335),async 'handler'(_0x26ac8d,_0x47f5a4){const _0x12a55a=_0x97f3f;if(!_0x47f5a4)return!0x1;const _0x28ce43=_0x26ac8d['get'](_0x2d1844[_0x12a55a(0x35c)]),_0x3640c4=_0x26ac8d[_0x12a55a(0x4a6)](_0x3d41c7[_0x12a55a(0x49c)]),_0x5257f7=_0x26ac8d[_0x12a55a(0x4a6)](_0x2d1844[_0x12a55a(0x2f0)]),{pivotTableId:_0x3ba1e8,dataFieldId:_0xc657d8,fieldArea:_0x37ea3c,index:_0x574646,unitId:_0x385b4b,subUnitId:_0xb019bb}=_0x47f5a4,_0x132d4c=(await _0x3640c4['getPivotDisplayConfig']({'unitId':_0x385b4b,'subUnitId':_0xb019bb,'pivotTableId':_0x3ba1e8,'params':{'type':_0x1ae0ae[_0x12a55a(0x354)],'addPivotField':{'dataFieldId':_0xc657d8,'fieldArea':_0x37ea3c,'index':_0x574646}}}))[_0x12a55a(0x4a4)]['addPivotField'];if(!_0x132d4c)return!0x1;const {view:_0x2b3a2f,changesets:_0x295ff4,isEmpty:_0x1d1692,pivotTableConfig:_0x5ee3d6,shouldBeAddedGroupJSON:_0x29d53f}=_0x132d4c,_0x10736a=_0x5ee3d6[_0x12a55a(0x19a)],_0x51b05a=new _0x15c500[(_0x12a55a(0x2d3))]();_0x51b05a['formJSON'](_0x2b3a2f);const _0x4f3238={'cellInfo':_0x10736a,'view':_0x51b05a,'isEmpty':_0x1d1692};if(!await _0x26ac8d['get'](_0x3d41c7[_0x12a55a(0x44e)])['asyncInterceptor'][_0x12a55a(0x429)](_0x20dd1f)(!0x0,_0x4f3238))return!0x1;const _0x3ff435=_0x592441(_0x26ac8d,_0x51b05a,_0x10736a,_0x1d1692),_0x2d28f5=_0x548d50(_0x26ac8d,_0x4f3238),{undos:_0x2f967a,redos:_0x440663}=_0x2a8660(_0x28ce43,{'pivotTableId':_0x3ba1e8,'unitId':_0x385b4b,'subUnitId':_0xb019bb},_0x295ff4);return _0x29d53f&&(_0x440663['unshift']({'id':_0x1a0db6['id'],'params':{'pivotTableId':_0x3ba1e8,'fieldJSON':_0x29d53f,'unitId':_0x385b4b,'subUnitId':_0xb019bb}}),_0x2f967a[_0x12a55a(0x1fc)]({'id':_0x400117['id'],'params':{'pivotTableId':_0x3ba1e8,'dataFieldId':_0x29d53f['id'],'unitId':_0x385b4b,'subUnitId':_0xb019bb}})),_0x2d1844['sequenceExecute']([..._0x3ff435[_0x12a55a(0x1d7)],..._0x2d28f5['redos'],..._0x440663],_0x28ce43),_0x5257f7['pushUndoRedo']({'unitID':_0x385b4b,'redoMutations':[..._0x3ff435['redos'],..._0x2d28f5[_0x12a55a(0x1d7)],..._0x440663],'undoMutations':[..._0x3ff435[_0x12a55a(0x1a3)],..._0x2d28f5[_0x12a55a(0x1a3)],..._0x2f967a]}),!0x0;}},_0x35ef05={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'id':_0x97f3f(0x420),async 'handler'(_0x205fa5,_0x2b4462){const _0x193b5d=_0x97f3f;if(!_0x2b4462)return!0x1;const {sourceDataInfo:_0x2b2b49,pivotTableConfig:_0x320cff}=_0x2b4462;if(!_0x2b2b49||!_0x320cff)return!0x1;const {unitId:_0x45d6ad,subUnitId:_0x202f5f,range:_0x15c272}=_0x2b2b49,_0x4eddfb=_0x205fa5[_0x193b5d(0x4a6)](_0x2d1844['IUniverInstanceService']),_0x2e992c=_0x205fa5[_0x193b5d(0x4a6)](_0x3d41c7[_0x193b5d(0x49c)]),_0x1c781f=_0x205fa5[_0x193b5d(0x4a6)](_0x2d1844[_0x193b5d(0x284)]),_0x4a80f1=_0x205fa5[_0x193b5d(0x4a6)](_0x2d1844[_0x193b5d(0x35c)]),_0x27779a=_0x4eddfb[_0x193b5d(0x322)](_0x45d6ad);if(!_0x27779a)return!0x1;const _0x5e93da=_0x27779a[_0x193b5d(0x385)](_0x202f5f);if(!_0x5e93da)return!0x1;const _0x1dec7b=_0x15c500['generateHexNumber'](0x8),_0x179bd5=_0x15c272||{'startRow':0x0,'startColumn':0x0,'endRow':_0x5e93da[_0x193b5d(0x412)]()-0x1,'endColumn':_0x5e93da['getColumnCount']()-0x1};_0x179bd5[_0x193b5d(0x30b)]=_0x2d1844['RANGE_TYPE'][_0x193b5d(0x36a)];const _0x3c766f=(await _0x2e992c[_0x193b5d(0x28b)]({'unitId':_0x45d6ad,'subUnitId':_0x202f5f,'pivotTableId':_0x1dec7b,'params':{'type':_0x1ae0ae[_0x193b5d(0x31e)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x45d6ad,'sheetName':_0x5e93da['getName'](),'subUnitId':_0x202f5f,'range':_0x179bd5},'pivotTableId':_0x1dec7b,'pivotTableIndexConfig':_0x320cff}}}))[_0x193b5d(0x4a4)]['addPivotTableWithConfig'];if(!_0x3c766f)return!0x1;const {isEmpty:_0x453bfe,fieldsConfig:_0x3467a2,collectionConfig:_0x3aa4ca,changesets:_0x2651f5}=_0x3c766f,_0x498c17=_0x27779a['getSheets']()[_0x193b5d(0x376)],_0x68098c=_0x2d1844[_0x193b5d(0x3bc)]({'rowCount':_0x5e93da['getRowCount']()-0x1,'columnCount':_0x5e93da[_0x193b5d(0x1e3)]()-0x1});_0x68098c['id']=_0x2d1844['generateRandomId'](),_0x68098c[_0x193b5d(0x2a6)]=_0x27779a[_0x193b5d(0x295)](''+_0x1c781f['t'](_0x193b5d(0x310)));const _0x374efb={'index':_0x498c17,'sheet':_0x68098c,'unitId':_0x45d6ad},{redos:_0x4b09aa}=_0x2a8660(_0x4a80f1,{'pivotTableId':_0x1dec7b,'unitId':_0x45d6ad,'subUnitId':_0x68098c['id']},_0x2651f5),_0x52e40a=[{'id':_0xbdc533['InsertSheetCommand']['id'],'params':_0x374efb},{'id':_0x158653['id'],'params':{'unitId':_0x45d6ad,'subUnitId':_0x68098c['id'],'pivotTableId':_0x1dec7b,'pivotTableConfig':{'isEmpty':_0x453bfe,'fieldsConfig':_0x3467a2,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x45d6ad,'subUnitId':_0x68098c['id']},'sourceRangeInfo':{'subUnitId':_0x202f5f,'unitId':_0x45d6ad,'range':_0x179bd5,'sheetName':_0x5e93da[_0x193b5d(0x301)]()}},'collectionConfig':_0x3aa4ca}},..._0x4b09aa];return _0x2d1844[_0x193b5d(0x373)](_0x52e40a,_0x4a80f1),!0x0;}},_0x168751={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'id':_0x97f3f(0x2c9),async 'handler'(_0x358987,_0x247ad0){const _0x5d504d=_0x97f3f;var _0x560ae8,_0x19ea02;const _0x24a1fe=_0x358987[_0x5d504d(0x4a6)](_0x2d1844[_0x5d504d(0x35c)]),_0x1e6602=_0x358987['get'](_0x2d1844[_0x5d504d(0x21b)]),_0x18ed19=_0x358987[_0x5d504d(0x4a6)](_0x2d1844[_0x5d504d(0x284)]),_0x39ecb3=_0x358987[_0x5d504d(0x4a6)](_0x3d41c7['SheetsPivotRPCService']),_0x448bb2=_0x358987[_0x5d504d(0x4a6)](_0x2d1844[_0x5d504d(0x2f0)]),_0x22498e=_0x358987['get'](_0x3d41c7['SheetsPivotTableConfigModel']),_0x1a9db3=_0x358987['get'](_0x2d1844['IConfigService']);if(!_0x247ad0)return!0x1;const {pivotTableConfig:_0x162c6a,positionType:_0x14304b}=_0x247ad0,{targetCellInfo:_0x299989,sourceRangeInfo:_0x591107}=_0x162c6a,{unitId:_0x4cd722,subUnitId:_0x369835}=_0x299989,_0x21853b=_0x1e6602[_0x5d504d(0x322)](_0x4cd722);if(!_0x21853b)return!0x1;let _0x5407c4=0x0;_0x21853b[_0x5d504d(0x235)]()[_0x5d504d(0x34f)](_0xe54d7c=>{const _0x36033c=_0x5d504d;var _0x508ea4,_0x5318f7;_0x5407c4+=(_0x5318f7=(_0x508ea4=_0x22498e['getSubUnitPivotConfigs'](_0x4cd722,_0xe54d7c[_0x36033c(0x1e7)]()))==null?void 0x0:_0x508ea4[_0x36033c(0x35f)])!=null?_0x5318f7:0x0;});const _0x5f2dee=(_0x560ae8=_0x1a9db3['getConfig'](_0x2e8cbd[_0x5d504d(0x1c4)]))!=null?_0x560ae8:{},{ls:_0x55881d,pbk:_0x456cde}=_0x5f2dee;if(!_0x388fdb(_0x55881d,_0x456cde))return!0x1;const _0x2b1906=_0xa337b6(_0x38f1de,_0x55881d,_0x456cde)[_0x5d504d(0x3d5)];if(_0x5407c4>=_0x2b1906)return!0x1;const _0x243d2d=_0x247ad0[_0x5d504d(0x34a)]||_0x15c500[_0x5d504d(0x3b8)](0x8),_0x3a6eb2=(await _0x39ecb3['getPivotDisplayConfig']({'unitId':_0x4cd722,'subUnitId':_0x369835,'pivotTableId':_0x243d2d,'params':{'type':_0x1ae0ae[_0x5d504d(0x283)],'addPivotTable':{'sourceRangeInfo':_0x591107,'pivotTableId':_0x243d2d}}}))['result'][_0x5d504d(0x445)];if(!_0x3a6eb2)return!0x1;const {view:_0x5e29dd,isEmpty:_0x312176,fieldsConfig:_0x21420d,collectionConfig:_0x5125fa}=_0x3a6eb2,_0x1ab36a=[],_0x521125=[];if(_0x14304b===_0x3f8913[_0x5d504d(0x2a9)]){const _0x47cafa=_0x21853b['getSheets']()[_0x5d504d(0x376)],_0x46bb5c=_0x2d1844['mergeWorksheetSnapshotWithDefault']({});_0x46bb5c['id']=_0x162c6a['targetCellInfo'][_0x5d504d(0x2bd)],_0x46bb5c['name']=(_0x19ea02=_0x162c6a['targetCellInfo'][_0x5d504d(0x473)])!=null?_0x19ea02:_0x21853b[_0x5d504d(0x295)](''+_0x18ed19['t'](_0x5d504d(0x310)));const _0x4825b6={'index':_0x47cafa,'sheet':_0x46bb5c,'unitId':_0x4cd722},_0x410aec=_0xbdc533[_0x5d504d(0x291)](_0x358987,_0x4825b6);_0x1ab36a['push']({'id':_0xbdc533[_0x5d504d(0x247)]['id'],'params':_0x410aec}),_0x521125[_0x5d504d(0x1fc)]({'id':_0xbdc533['InsertSheetMutation']['id'],'params':_0x4825b6});}else{if(!_0x21853b['getSheetBySheetId'](_0x369835))return!0x1;const _0xd06e10=_0x592441(_0x358987,new _0x15c500[(_0x5d504d(0x2d3))](),_0x299989,!0x0);_0x521125[_0x5d504d(0x1fc)](..._0xd06e10[_0x5d504d(0x1d7)]),_0x1ab36a[_0x5d504d(0x1fc)](..._0xd06e10['undos']);const _0x6857a1={'cellInfo':_0x299989,'view':_0x5e29dd,'isEmpty':_0x312176};if(!await _0x358987[_0x5d504d(0x4a6)](_0x3d41c7[_0x5d504d(0x44e)])['asyncInterceptor'][_0x5d504d(0x429)](_0x20dd1f)(!0x0,_0x6857a1))return!0x1;const _0x392033=_0x548d50(_0x358987,_0x6857a1);_0x521125[_0x5d504d(0x1fc)](..._0x392033['redos']),_0x1ab36a['push'](..._0x392033[_0x5d504d(0x1a3)]);}return _0x521125[_0x5d504d(0x1fc)]({'id':_0x158653['id'],'params':{'unitId':_0x299989[_0x5d504d(0x39a)],'subUnitId':_0x299989[_0x5d504d(0x2bd)],'pivotTableId':_0x243d2d,'pivotTableConfig':{'targetCellInfo':_0x299989,'sourceRangeInfo':_0x591107,'fieldsConfig':_0x21420d},'collectionConfig':_0x5125fa}}),_0x1ab36a[_0x5d504d(0x353)]({'id':_0x10da6e['id'],'params':{'unitId':_0x4cd722,'subUnitId':_0x369835,'pivotTableId':_0x243d2d}}),_0x2d1844[_0x5d504d(0x373)](_0x521125,_0x24a1fe)&&_0x448bb2['pushUndoRedo']({'unitID':_0x4cd722,'undoMutations':_0x1ab36a,'redoMutations':_0x521125}),!0x0;}},_0xffbfb7={'type':_0x2d1844[_0x97f3f(0x216)]['COMMAND'],'id':_0x97f3f(0x2ae),async 'handler'(_0x401c26,_0x18f4a6){const _0x2c292b=_0x97f3f;if(!_0x18f4a6)return!0x1;const _0x32371c=_0x401c26[_0x2c292b(0x4a6)](_0x2d1844[_0x2c292b(0x35c)]),_0x495d62=_0x401c26[_0x2c292b(0x4a6)](_0x3d41c7[_0x2c292b(0x49c)]),_0x1107b8=_0x401c26[_0x2c292b(0x4a6)](_0x2d1844[_0x2c292b(0x2f0)]),{pivotTableId:_0x4b7fbf,fieldId:_0x312512,area:_0x5a8b70,index:_0x2d2f7c,unitId:_0x58e831,subUnitId:_0x15a1fe}=_0x18f4a6,_0x26b5e7=(await _0x495d62[_0x2c292b(0x28b)]({'unitId':_0x58e831,'subUnitId':_0x15a1fe,'pivotTableId':_0x4b7fbf,'params':{'type':_0x1ae0ae[_0x2c292b(0x459)],'movePivotField':{'fieldId':_0x312512,'area':_0x5a8b70,'index':_0x2d2f7c}}}))[_0x2c292b(0x4a4)][_0x2c292b(0x2d1)];if(!_0x26b5e7)return!0x1;const {changesets:_0x26df88,view:_0x3d138e,isEmpty:_0x3692bf,pivotTableConfig:_0x38f61b}=_0x26b5e7,_0x1963f2=_0x38f61b[_0x2c292b(0x19a)],_0x6578ee=new _0x15c500[(_0x2c292b(0x2d3))]();_0x6578ee[_0x2c292b(0x4a5)](_0x3d138e);const _0x12979e={'cellInfo':_0x1963f2,'view':_0x6578ee,'isEmpty':_0x3692bf};if(!await _0x401c26[_0x2c292b(0x4a6)](_0x3d41c7['SheetsPivotTableService'])['asyncInterceptor'][_0x2c292b(0x429)](_0x20dd1f)(!0x0,_0x12979e))return!0x1;const _0x37fcc1=_0x592441(_0x401c26,_0x6578ee,_0x1963f2,_0x3692bf),_0x40554d=_0x548d50(_0x401c26,_0x12979e),{redos:_0x1769b9,undos:_0x3dc6b5}=_0x2a8660(_0x32371c,{'pivotTableId':_0x4b7fbf,'unitId':_0x58e831,'subUnitId':_0x15a1fe},_0x26df88);return _0x2d1844[_0x2c292b(0x373)]([..._0x37fcc1[_0x2c292b(0x1d7)],..._0x40554d[_0x2c292b(0x1d7)],..._0x1769b9],_0x32371c),_0x1107b8[_0x2c292b(0x3e4)]({'unitID':_0x58e831,'redoMutations':[..._0x37fcc1['redos'],..._0x40554d[_0x2c292b(0x1d7)],..._0x1769b9],'undoMutations':[..._0x37fcc1[_0x2c292b(0x1a3)],..._0x40554d[_0x2c292b(0x1a3)],..._0x3dc6b5]}),!0x0;}},_0x23e160={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'id':_0x97f3f(0x2ea),async 'handler'(_0x2efff1,_0x3683f2){const _0x391c75=_0x97f3f;var _0x32da11;if(!_0x3683f2)return!0x1;const _0x357485=_0x2efff1[_0x391c75(0x4a6)](_0x2d1844[_0x391c75(0x21b)]),_0x6ae73a=_0xbdc533[_0x391c75(0x2e0)](_0x357485);if(!_0x6ae73a)return!0x1;const {unitId:_0x32dc5d,subUnitId:_0x22a61e,workbook:_0x4c1c28}=_0x6ae73a,{row:_0x3849d3,col:_0xccf569}=_0x3683f2,_0x1fd259=_0x2efff1[_0x391c75(0x4a6)](_0x3d41c7[_0x391c75(0x402)]),_0xf7c054=_0x1fd259[_0x391c75(0x3b3)](_0x32dc5d,_0x22a61e,_0x3849d3,_0xccf569);if(!_0xf7c054)return!0x1;const _0x267597=(_0x32da11=_0x1fd259[_0x391c75(0x243)](_0x32dc5d,_0x22a61e,_0xf7c054))==null?void 0x0:_0x32da11[_0x391c75(0x39c)];if(!_0x267597)return!0x1;const _0x25a486=_0x2efff1[_0x391c75(0x4a6)](_0x3d41c7[_0x391c75(0x499)])['getPivotTableConfig'](_0x32dc5d,_0x22a61e,_0xf7c054);if(!_0x25a486)return!0x1;const {rowInfo:_0xee18c1,colInfo:_0x112378}=_0x267597,_0x3c5c93=_0xee18c1[_0x3849d3][_0x391c75(0x492)],_0x2f5830=_0x112378[_0xccf569]['paths'],_0x228574=_0xee18c1[_0x3849d3][_0x391c75(0x1ba)],_0x1aff44=_0x112378[_0xccf569][_0x391c75(0x1ba)],_0x4b072a=_0x3c5c93[_0x391c75(0x1aa)](_0x2f5830),_0x3dc867=_0x25a486['fieldsConfig']['rowFields'][_0x391c75(0x34d)](0x0,_0x228574),_0x8e7dcc=_0x25a486[_0x391c75(0x35b)][_0x391c75(0x358)]['slice'](0x0,_0x1aff44),_0x286c67=_0x3dc867['concat'](_0x8e7dcc),_0x2727bf=_0x4b072a['map']((_0x46751a,_0x36370a)=>[_0x46751a,_0x286c67[_0x36370a]]),_0xe6153d=(await _0x2efff1['get'](_0x3d41c7[_0x391c75(0x49c)])[_0x391c75(0x28b)]({'unitId':_0x32dc5d,'subUnitId':_0x22a61e,'pivotTableId':_0xf7c054,'params':{'type':_0x1ae0ae[_0x391c75(0x471)],'drillDown':{'tuple':_0x2727bf}}}))[_0x391c75(0x4a4)][_0x391c75(0x362)];if(!_0xe6153d)return!0x1;const {indexes:_0x432cc9,range:_0x4a9c1b,sourceUnitId:_0x2be690,sourceSubUnitId:_0x50b15c,formatMap:_0x5956f6}=_0xe6153d,{startRow:_0x416063,endRow:_0x3af400,startColumn:_0x1a6b2c,endColumn:_0x3c391d}=_0x4a9c1b,_0x41ca6c=new _0x2d1844[(_0x391c75(0x19d))](),_0x393cc7=_0x3af400-_0x416063,_0x4d407e=_0x3c391d-_0x1a6b2c,_0x7bd150={},_0x3ad256=_0xbdc533[_0x391c75(0x2e0)](_0x357485,{'unitId':_0x2be690,'subUnitId':_0x50b15c});if(!_0x3ad256)return!0x1;const _0x2f664d=_0x4cde20[_0x391c75(0x1bc)],_0x3145b2=_0x4cde20[_0x391c75(0x27b)],_0x3e9c0e=_0x4cde20[_0x391c75(0x27b)],_0x4f01d0=_0x4c1c28['getStyles']()[_0x391c75(0x2eb)](_0x2f664d),_0x28f405=_0x4c1c28[_0x391c75(0x450)]()[_0x391c75(0x2eb)](_0x3145b2),_0x4396e3=_0x4c1c28[_0x391c75(0x450)]()[_0x391c75(0x2eb)](_0x3e9c0e),{worksheet:_0x518acb}=_0x3ad256;let _0x50d26b=0x0;const _0x3ab3ac=0x1;_0x432cc9[_0x391c75(0x34f)](_0x3ce562=>{const _0x4f7202=_0x391c75;for(let _0x26a399=0x0;_0x26a399<=_0x3c391d-_0x1a6b2c;_0x26a399++)_0x41ca6c[_0x4f7202(0x2eb)](_0x50d26b,_0x26a399,_0x518acb['getCellRaw'](_0x3ce562+_0x4a9c1b[_0x4f7202(0x2b8)]+_0x3ab3ac,_0x26a399));_0x50d26b++;});for(let _0x1b9c98=_0x1a6b2c;_0x1b9c98<=_0x3c391d;_0x1b9c98++){const _0x12d55c=_0x518acb[_0x391c75(0x42f)](_0x416063,_0x1b9c98);_0x7bd150[_0x416063]||(_0x7bd150[_0x416063]={}),_0x7bd150[_0x416063][_0x1b9c98]={..._0x12d55c,'s':_0x4f01d0};}let _0x155c3c=0x1;const _0x286b28={},_0x538ae3={};_0x41ca6c['forRow']((_0x427f5e,_0x2c4a8d)=>{const _0x13ee4c=_0x391c75;_0x2c4a8d[_0x13ee4c(0x34f)](_0x2d2874=>{const _0x2fb17f=_0x13ee4c,_0x3db889=_0x41ca6c[_0x2fb17f(0x370)](_0x427f5e,_0x2d2874);if(_0x7bd150[_0x155c3c]||(_0x7bd150[_0x155c3c]={}),_0x7bd150[_0x155c3c][_0x2d2874]={..._0x3db889,'s':_0x155c3c%0x2===0x0?_0x4396e3:_0x28f405},_0x5956f6[_0x2d2874]&&_0x427f5e>=0x0){const _0x3d4e57=_0x155c3c%0x2===0x0;let _0x595c56=_0x3d4e57?_0x538ae3[_0x2d2874]:_0x286b28[_0x2d2874];_0x595c56||(_0x595c56=_0x4c1c28[_0x2fb17f(0x450)]()[_0x2fb17f(0x2eb)]({..._0x3d4e57?_0x3e9c0e:_0x3145b2,'n':{'pattern':_0x5956f6[_0x2d2874]}}),_0x3d4e57?_0x538ae3[_0x2d2874]=_0x595c56:_0x286b28[_0x2d2874]=_0x595c56),_0x7bd150[_0x155c3c][_0x2d2874]['s']=_0x595c56;}}),_0x155c3c++;});const _0x1d6011=new _0x2d1844[(_0x391c75(0x19d))](_0x7bd150),_0x9a767b={};_0x1d6011[_0x391c75(0x214)]((_0xda139a,_0x3cec44,_0x581675)=>{_0x9a767b[_0xda139a]||(_0x9a767b[_0xda139a]={}),_0x9a767b[_0xda139a][_0x3cec44]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x4ac181=[],_0x25c085=[],_0x765256=_0x4c1c28['getSheets']()[_0x391c75(0x376)],_0x33b9ba=_0x2d1844[_0x391c75(0x3bc)]({'rowCount':Math[_0x391c75(0x22c)](_0x2d1844[_0x391c75(0x3f0)],_0x393cc7+0xa),'columnCount':Math[_0x391c75(0x22c)](_0x2d1844[_0x391c75(0x1ca)],_0x4d407e+0x5)}),_0x4a2bdb=_0x2efff1['get'](_0x2d1844[_0x391c75(0x284)]);_0x33b9ba['id']=_0x2d1844[_0x391c75(0x1cf)](),_0x33b9ba[_0x391c75(0x2a6)]=_0x4c1c28[_0x391c75(0x295)](''+_0x4a2bdb['t']('sheets.tabs.sheet'));const _0x2dac8b={'index':_0x765256,'sheet':_0x33b9ba,'unitId':_0x32dc5d},_0x4f8a13=_0xbdc533[_0x391c75(0x291)](_0x2efff1,_0x2dac8b);_0x25c085[_0x391c75(0x1fc)]({'id':_0xbdc533[_0x391c75(0x43b)]['id'],'params':_0x2dac8b}),_0x4ac181[_0x391c75(0x1fc)]({'id':_0xbdc533[_0x391c75(0x247)]['id'],'params':_0x4f8a13}),_0x25c085[_0x391c75(0x1fc)]({'id':_0xbdc533[_0x391c75(0x191)]['id'],'params':{'unitId':_0x32dc5d,'subUnitId':_0x33b9ba['id'],'cellValue':_0x7bd150}}),_0x4ac181['unshift']({'id':_0xbdc533['SetRangeValuesMutation']['id'],'params':{'unitId':_0x32dc5d,'subUnitId':_0x33b9ba['id'],'cellValue':_0x9a767b}});const _0x5243c4={'startRow':0x0,'startColumn':0x0,'endRow':_0x155c3c-0x1,'endColumn':_0x3c391d};_0x25c085[_0x391c75(0x1fc)]({'id':_0x4fc90d[_0x391c75(0x2d4)]['id'],'params':{'unitId':_0x32dc5d,'subUnitId':_0x33b9ba['id'],'range':_0x5243c4}}),_0x4ac181[_0x391c75(0x353)]({'id':_0x4fc90d[_0x391c75(0x408)]['id'],'params':{'unitId':_0x32dc5d,'subUnitId':_0x33b9ba['id']}});const _0x46a38e=_0x2efff1[_0x391c75(0x4a6)](_0x2d1844[_0x391c75(0x35c)]);return _0x2d1844[_0x391c75(0x373)](_0x25c085,_0x46a38e)&&_0x2efff1[_0x391c75(0x4a6)](_0x2d1844[_0x391c75(0x2f0)])['pushUndoRedo']({'unitID':_0x32dc5d,'undoMutations':_0x4ac181,'redoMutations':_0x25c085}),!0x0;}},_0x559c53={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'id':_0x97f3f(0x3d4),async 'handler'(_0x13c794,_0x29c1fe){const _0x25bb40=_0x97f3f;if(!_0x29c1fe)return!0x1;const _0xa32738=_0x13c794['get'](_0x2d1844[_0x25bb40(0x35c)]),_0x2091e8=_0x13c794['get'](_0x3d41c7[_0x25bb40(0x49c)]),_0x36972c=_0x13c794[_0x25bb40(0x4a6)](_0x2d1844[_0x25bb40(0x2f0)]),{pivotTableId:_0xeecd3d,fieldIds:_0x3bc8e7,unitId:_0x5e7d85,subUnitId:_0x236079}=_0x29c1fe,_0xeff15a=(await _0x2091e8[_0x25bb40(0x28b)]({'unitId':_0x5e7d85,'subUnitId':_0x236079,'pivotTableId':_0xeecd3d,'params':{'type':_0x1ae0ae[_0x25bb40(0x43f)],'removePivotField':{'fieldIds':_0x3bc8e7}}}))[_0x25bb40(0x4a4)][_0x25bb40(0x43e)];if(!_0xeff15a)return!0x1;const {view:_0x2d9eb8,changesets:_0x3361a2,isEmpty:_0x4fd862,pivotTableConfig:_0x271f13}=_0xeff15a,_0x26232a=_0x271f13[_0x25bb40(0x19a)],_0x530401=new _0x15c500[(_0x25bb40(0x2d3))]();_0x530401['formJSON'](_0x2d9eb8);const _0x4260a9={'cellInfo':_0x26232a,'view':_0x530401,'isEmpty':_0x4fd862};if(!await _0x13c794[_0x25bb40(0x4a6)](_0x3d41c7[_0x25bb40(0x44e)])[_0x25bb40(0x325)][_0x25bb40(0x429)](_0x20dd1f)(!0x0,_0x4260a9))return!0x1;const _0x5d4ffb=_0x592441(_0x13c794,_0x530401,_0x26232a,_0x4fd862),_0x28c70a=_0x548d50(_0x13c794,_0x4260a9),{redos:_0x5e66eb,undos:_0x2f31d9}=_0x2a8660(_0xa32738,{'pivotTableId':_0xeecd3d,'unitId':_0x5e7d85,'subUnitId':_0x236079},_0x3361a2);return _0x2d1844[_0x25bb40(0x373)]([..._0x5d4ffb[_0x25bb40(0x1d7)],..._0x28c70a[_0x25bb40(0x1d7)],..._0x5e66eb],_0xa32738),_0x36972c[_0x25bb40(0x3e4)]({'unitID':_0x5e7d85,'redoMutations':[..._0x5d4ffb['redos'],..._0x28c70a[_0x25bb40(0x1d7)],..._0x5e66eb],'undoMutations':[..._0x5d4ffb['undos'],..._0x28c70a['undos'],..._0x2f31d9]}),!0x0;}},_0x29a506={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'id':_0x97f3f(0x33a),async 'handler'(_0x456f4e,_0x41ed6a){const _0x2cb2a2=_0x97f3f;var _0x6100f;const _0x2f57c5=_0x456f4e[_0x2cb2a2(0x4a6)](_0x2d1844[_0x2cb2a2(0x35c)]),_0x5a592f=_0x456f4e[_0x2cb2a2(0x4a6)](_0x3d41c7[_0x2cb2a2(0x49c)]),_0x3a93ab=_0x456f4e[_0x2cb2a2(0x4a6)](_0x3d41c7['SheetsPivotTableAdaptorModel']),_0x439c75=_0x456f4e[_0x2cb2a2(0x4a6)](_0x2d1844[_0x2cb2a2(0x21b)]),_0x593d1a=_0x456f4e[_0x2cb2a2(0x4a6)](_0x2d1844['IUndoRedoService']);if(!_0x41ed6a)return!0x1;const {unitId:_0x355e92,subUnitId:_0x3c4358,row:_0x4f3b9a,col:_0x2d5437,collapse:_0x567724}=_0x41ed6a,_0x4a00b9=_0x439c75[_0x2cb2a2(0x322)](_0x355e92);if(!_0x4a00b9||!_0x4a00b9['getSheetBySheetId'](_0x3c4358))return!0x1;const _0x4cadc2=_0x3a93ab[_0x2cb2a2(0x3b3)](_0x355e92,_0x3c4358,_0x4f3b9a,_0x2d5437);if(!_0x4cadc2)return!0x1;const _0x535d96=_0x3a93ab['getPivotItemRenderInfoCache'](_0x355e92,_0x3c4358,_0x4cadc2);if(!_0x535d96)return!0x1;const _0x1cfa2c=_0x2d1844['cellToRange'](_0x4f3b9a,_0x2d5437),{rangesInfo:_0x300064,areaInfo:_0x40c5d0,headerMap:_0x114883}=_0x535d96;if(!_0x300064||!_0x40c5d0||!_0x114883)return!0x1;const _0x51fbdf=Object[_0x2cb2a2(0x334)](_0x300064)['find'](_0x9b77b=>_0x300064[_0x9b77b]['some'](_0xc91b30=>_0x2d1844[_0x2cb2a2(0x417)][_0x2cb2a2(0x2f4)](_0xc91b30,_0x1cfa2c)));let _0x30b636;_0x51fbdf===_0x2cb2a2(0x411)?_0x30b636=_0x114883[_0x2cb2a2(0x28f)][_0x2d5437]:_0x51fbdf===_0x2cb2a2(0x46c)&&(_0x30b636=_0x114883[_0x2cb2a2(0x1ac)][_0x4f3b9a]);const _0x305270=_0x30b636==null?void 0x0:_0x30b636['tableFieldId'],_0x430f2e=(_0x6100f=_0x3a93ab[_0x2cb2a2(0x229)](_0x355e92,_0x3c4358,_0x4f3b9a,_0x2d5437))==null?void 0x0:_0x6100f['v'];if(_0x430f2e==null||!_0x4cadc2||!_0x305270)return!0x1;const _0xe7df8b=await _0x5a592f[_0x2cb2a2(0x28b)]({'unitId':_0x355e92,'subUnitId':_0x3c4358,'pivotTableId':_0x4cadc2,'params':{'type':_0x1ae0ae[_0x2cb2a2(0x257)],'setPivotCollapse':{'tableFieldId':_0x305270,'collapse':_0x567724,'item':_0x430f2e}}}),_0x183d08=_0xe7df8b==null?void 0x0:_0xe7df8b[_0x2cb2a2(0x4a4)]['setPivotCollapse'];if(!_0x183d08)return!0x1;const {view:_0x2fad49,pivotTableConfig:_0x16e632,isEmpty:_0x4143da,changesets:_0x2ae3a9}=_0x183d08,_0x306afb=new _0x15c500[(_0x2cb2a2(0x2d3))]();_0x306afb[_0x2cb2a2(0x4a5)](_0x2fad49);const _0x281196=_0x16e632[_0x2cb2a2(0x19a)],_0x4324d4={'cellInfo':_0x281196,'view':_0x306afb,'isEmpty':_0x4143da};if(!await _0x456f4e[_0x2cb2a2(0x4a6)](_0x3d41c7[_0x2cb2a2(0x44e)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x20dd1f)(!0x0,_0x4324d4))return!0x1;const _0x1e50a4=_0x592441(_0x456f4e,_0x306afb,_0x281196,_0x4143da),_0x2d1d34=_0x548d50(_0x456f4e,_0x4324d4),{redos:_0x17014d,undos:_0x2c6f06}=_0x2a8660(_0x2f57c5,{'pivotTableId':_0x4cadc2,'unitId':_0x355e92,'subUnitId':_0x3c4358},_0x2ae3a9);return _0x2d1844[_0x2cb2a2(0x373)]([..._0x1e50a4[_0x2cb2a2(0x1d7)],..._0x2d1d34[_0x2cb2a2(0x1d7)],..._0x17014d],_0x2f57c5),_0x593d1a[_0x2cb2a2(0x3e4)]({'unitID':_0x355e92,'redoMutations':[..._0x1e50a4[_0x2cb2a2(0x1d7)],..._0x2d1d34[_0x2cb2a2(0x1d7)],..._0x17014d],'undoMutations':[..._0x1e50a4['undos'],..._0x2d1d34['undos'],..._0x2c6f06]}),!0x0;}},_0x2744c5={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x3e4743,_0x2e0f2a){const _0x1678fb=_0x97f3f;if(!_0x2e0f2a)return!0x1;const _0x5c5ec4=_0x3e4743[_0x1678fb(0x4a6)](_0x2d1844['ICommandService']),{pivotTableId:_0x12e683,tableFieldId:_0x3609e6,items:_0x4cb043,unitId:_0x5113b8,subUnitId:_0x7bd4f7,isAll:_0x373e0e}=_0x2e0f2a,_0x1270ce=_0x3e4743[_0x1678fb(0x4a6)](_0x3d41c7[_0x1678fb(0x49c)]),_0x361c9e=_0x3e4743['get'](_0x2d1844[_0x1678fb(0x2f0)]),_0x3c230c=(await _0x1270ce['getPivotDisplayConfig']({'unitId':_0x5113b8,'subUnitId':_0x7bd4f7,'pivotTableId':_0x12e683,'params':{'type':_0x1ae0ae[_0x1678fb(0x2e3)],'setPivotFilter':{'tableFieldId':_0x3609e6,'items':_0x4cb043,'isAll':_0x373e0e}}}))[_0x1678fb(0x4a4)][_0x1678fb(0x2b9)];if(!_0x3c230c)return!0x1;const {changesets:_0x5706bd,pivotTableConfig:_0x3f3f07,isEmpty:_0x3ed1b1,view:_0x4df24c}=_0x3c230c,_0x5d47f0=_0x3f3f07['targetCellInfo'],_0x168646=new _0x15c500[(_0x1678fb(0x2d3))]();_0x168646[_0x1678fb(0x4a5)](_0x4df24c);const _0x1e5df8={'cellInfo':_0x5d47f0,'view':_0x168646,'isEmpty':_0x3ed1b1};if(!await _0x3e4743['get'](_0x3d41c7[_0x1678fb(0x44e)])['asyncInterceptor'][_0x1678fb(0x429)](_0x20dd1f)(!0x0,_0x1e5df8))return!0x1;const _0x4d6df0=_0x592441(_0x3e4743,_0x168646,_0x5d47f0,_0x3ed1b1),_0xb221a3=_0x548d50(_0x3e4743,_0x1e5df8),{undos:_0x9151ca,redos:_0x55307e}=_0x2a8660(_0x5c5ec4,{'pivotTableId':_0x12e683,'unitId':_0x5113b8,'subUnitId':_0x7bd4f7},_0x5706bd);return _0x2d1844[_0x1678fb(0x373)]([..._0x4d6df0[_0x1678fb(0x1d7)],..._0xb221a3['redos'],..._0x55307e],_0x5c5ec4),_0x361c9e['pushUndoRedo']({'unitID':_0x5113b8,'redoMutations':[..._0x4d6df0[_0x1678fb(0x1d7)],..._0xb221a3[_0x1678fb(0x1d7)],..._0x55307e],'undoMutations':[..._0x4d6df0[_0x1678fb(0x1a3)],..._0xb221a3[_0x1678fb(0x1a3)],..._0x9151ca]}),!0x0;}},_0x4a7d32={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'id':_0x97f3f(0x302),async 'handler'(_0x5ad6ba,_0x30c7a1){const _0x1c5c16=_0x97f3f;if(!_0x30c7a1)return!0x1;const _0x15f827=_0x5ad6ba[_0x1c5c16(0x4a6)](_0x2d1844[_0x1c5c16(0x35c)]),_0x13c1e1=_0x5ad6ba[_0x1c5c16(0x4a6)](_0x2d1844[_0x1c5c16(0x2f0)]),_0x4790b2=_0x5ad6ba[_0x1c5c16(0x4a6)](_0x3d41c7['SheetsPivotRPCService']),{info:_0x5d0221,tableFieldId:_0x236327,pivotTableId:_0x12e403,unitId:_0x4728af,subUnitId:_0x5a1b14}=_0x30c7a1,_0x25ba0b=(await _0x4790b2[_0x1c5c16(0x28b)]({'unitId':_0x4728af,'subUnitId':_0x5a1b14,'pivotTableId':_0x12e403,'params':{'type':_0x1ae0ae['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x236327,'info':_0x5d0221}}}))[_0x1c5c16(0x4a4)][_0x1c5c16(0x35d)];if(!_0x25ba0b)return!0x1;const {changesets:_0x49322f}=_0x25ba0b,{redos:_0x9f43e0,undos:_0x47937f}=_0x2a8660(_0x15f827,{'pivotTableId':_0x12e403,'unitId':_0x4728af,'subUnitId':_0x5a1b14},_0x49322f);return _0x2d1844['sequenceExecute'](_0x9f43e0,_0x15f827),_0x13c1e1[_0x1c5c16(0x3e4)]({'unitID':_0x4728af,'redoMutations':_0x9f43e0,'undoMutations':_0x47937f}),!0x0;}},_0x3f0722={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'id':_0x97f3f(0x22a),async 'handler'(_0x20ac87,_0x4343c6){const _0x3e5a05=_0x97f3f;if(!_0x4343c6)return!0x1;const _0x5d642c=_0x20ac87[_0x3e5a05(0x4a6)](_0x2d1844[_0x3e5a05(0x35c)]),_0x4ab6a9=_0x20ac87[_0x3e5a05(0x4a6)](_0x2d1844[_0x3e5a05(0x2f0)]),_0x20d339=_0x20ac87[_0x3e5a05(0x4a6)](_0x3d41c7[_0x3e5a05(0x49c)]),{displayName:_0x4f1487,subtotalType:_0x9b0d0c,format:_0x486bda,tableFieldId:_0xb0b176,pivotTableId:_0x1adbd5,unitId:_0x4309dc,subUnitId:_0x30f2e8}=_0x4343c6,_0x87f84d=(await _0x20d339[_0x3e5a05(0x28b)]({'unitId':_0x4309dc,'subUnitId':_0x30f2e8,'pivotTableId':_0x1adbd5,'params':{'type':_0x1ae0ae[_0x3e5a05(0x365)],'setPivotSetting':{'tableFieldId':_0xb0b176,'displayName':_0x4f1487,'subtotalType':_0x9b0d0c,'format':_0x486bda}}}))[_0x3e5a05(0x4a4)]['setPivotSetting'];if(!_0x87f84d)return!0x1;const {changesets:_0x40cb30,view:_0x488ef8,pivotTableConfig:_0x17dbcc,isEmpty:_0x18f30d}=_0x87f84d,_0x4b072c=_0x17dbcc[_0x3e5a05(0x19a)],_0x41c872=new _0x15c500[(_0x3e5a05(0x2d3))]();_0x41c872[_0x3e5a05(0x4a5)](_0x488ef8);const _0x253ec8={'cellInfo':_0x4b072c,'view':_0x41c872,'isEmpty':_0x18f30d};if(!await _0x20ac87[_0x3e5a05(0x4a6)](_0x3d41c7[_0x3e5a05(0x44e)])['asyncInterceptor'][_0x3e5a05(0x429)](_0x20dd1f)(!0x0,_0x253ec8))return!0x1;const _0x5920c0=_0x592441(_0x20ac87,_0x41c872,_0x4b072c,_0x18f30d),_0x21766f=_0x548d50(_0x20ac87,_0x253ec8),{undos:_0x5290a7,redos:_0x2b22b7}=_0x2a8660(_0x5d642c,{'pivotTableId':_0x1adbd5,'unitId':_0x4309dc,'subUnitId':_0x30f2e8},_0x40cb30);return _0x2d1844[_0x3e5a05(0x373)]([..._0x5920c0[_0x3e5a05(0x1d7)],..._0x21766f['redos'],..._0x2b22b7],_0x5d642c),_0x4ab6a9[_0x3e5a05(0x3e4)]({'unitID':_0x4309dc,'redoMutations':[..._0x5920c0[_0x3e5a05(0x1d7)],..._0x21766f[_0x3e5a05(0x1d7)],..._0x2b22b7],'undoMutations':[..._0x5920c0['undos'],..._0x21766f[_0x3e5a05(0x1a3)],..._0x5290a7]}),!0x0;}},_0x19fc9f={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'id':_0x97f3f(0x24c),async 'handler'(_0x50a1c3,_0x4d4f84){const _0x230c0c=_0x97f3f,_0x34f0e7=_0x50a1c3[_0x230c0c(0x4a6)](_0x2d1844[_0x230c0c(0x35c)]),_0x125ca8=_0x50a1c3['get'](_0x3d41c7[_0x230c0c(0x49c)]),_0x112f8e=_0x50a1c3[_0x230c0c(0x4a6)](_0x2d1844[_0x230c0c(0x2f0)]);if(!_0x4d4f84)return!0x1;const {token:_0x4dd097,dataRangeInfo:_0x444519,unitId:_0x3e18a8,subUnitId:_0x123c4a}=_0x4d4f84,_0x2b66bd=[],_0x2942b4=[],_0x1ba407=(await _0x125ca8['getPivotDisplayConfig']({'unitId':_0x3e18a8,'subUnitId':_0x123c4a,'pivotTableId':_0x4dd097,'params':{'type':_0x1ae0ae['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x444519,'unitId':_0x3e18a8,'subUnitId':_0x123c4a}}}))[_0x230c0c(0x4a4)][_0x230c0c(0x438)];if(!_0x1ba407)return!0x1;const {changesets:_0x51ca38,deleteIds:_0x1fc174,collectionConfig:_0x4105d1,oldCollectionConfig:_0x25b6f4,view:_0x4d157b,isEmpty:_0x22a58b,pivotTableConfig:_0x55657d}=_0x1ba407;_0x2942b4[_0x230c0c(0x1fc)]({'id':_0x3ceb3e['id'],'params':{'pivotTableId':_0x4dd097,'deleteIds':_0x1fc174,'collectionJSON':_0x4105d1,'dataRangeInfo':_0x444519,'unitId':_0x3e18a8,'subUnitId':_0x123c4a}}),_0x2b66bd['unshift']({'id':_0x3ceb3e['id'],'params':{'pivotTableId':_0x4dd097,'deleteIds':[],'collectionJSON':_0x25b6f4,'dataRangeInfo':_0x55657d[_0x230c0c(0x252)],'unitId':_0x3e18a8,'subUnitId':_0x123c4a}});const _0x32a3b8=_0x55657d[_0x230c0c(0x19a)],_0x31887e=new _0x15c500[(_0x230c0c(0x2d3))]();_0x31887e['formJSON'](_0x4d157b);const _0x34ce51={'cellInfo':_0x32a3b8,'view':_0x31887e,'isEmpty':_0x22a58b};if(!await _0x50a1c3['get'](_0x3d41c7[_0x230c0c(0x44e)])['asyncInterceptor'][_0x230c0c(0x429)](_0x20dd1f)(!0x0,_0x34ce51))return!0x1;const _0x638c9b=_0x592441(_0x50a1c3,_0x31887e,_0x32a3b8,_0x22a58b),_0x5e7635=_0x548d50(_0x50a1c3,_0x34ce51),{undos:_0x4bddfb,redos:_0x132cbc}=_0x2a8660(_0x34f0e7,{'pivotTableId':_0x4dd097,'unitId':_0x3e18a8,'subUnitId':_0x123c4a},_0x51ca38);return _0x2d1844[_0x230c0c(0x373)]([..._0x638c9b[_0x230c0c(0x1d7)],..._0x5e7635[_0x230c0c(0x1d7)],..._0x2942b4,..._0x4bddfb],_0x34f0e7),_0x112f8e[_0x230c0c(0x3e4)]({'unitID':_0x3e18a8,'redoMutations':[..._0x638c9b['redos'],..._0x5e7635['redos'],..._0x2942b4,..._0x4bddfb],'undoMutations':[..._0x638c9b['undos'],..._0x5e7635[_0x230c0c(0x1a3)],..._0x2b66bd,..._0x132cbc]}),!0x0;}},_0x13f83b={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'id':_0x97f3f(0x387),async 'handler'(_0x48f19a,_0x35806f){const _0xd2b49d=_0x97f3f;if(!_0x35806f)return!0x1;const _0x6d8979=_0x48f19a[_0xd2b49d(0x4a6)](_0x2d1844[_0xd2b49d(0x35c)]),_0x3f5c9b=_0x48f19a[_0xd2b49d(0x4a6)](_0x3d41c7[_0xd2b49d(0x49c)]),_0x2f42b9=_0x48f19a[_0xd2b49d(0x4a6)](_0x2d1844[_0xd2b49d(0x21b)]),_0x2b1df2=_0x48f19a[_0xd2b49d(0x4a6)](_0x2d1844['IUndoRedoService']),{pivotTableId:_0x4cc496,position:_0x392ae8,index:_0x5a96a3}=_0x35806f,_0x310ec2=_0xbdc533['getSheetCommandTarget'](_0x2f42b9);if(!_0x310ec2)return!0x1;const {unitId:_0xb0610,subUnitId:_0x1f9177}=_0x310ec2,_0x38bd3f=(await _0x3f5c9b[_0xd2b49d(0x28b)]({'unitId':_0xb0610,'subUnitId':_0x1f9177,'pivotTableId':_0x4cc496,'params':{'type':_0x1ae0ae[_0xd2b49d(0x464)],'updateValuePosition':{'position':_0x392ae8,'index':_0x5a96a3}}}))[_0xd2b49d(0x4a4)]['updateValuePosition'];if(!_0x38bd3f)return!0x1;const {changesets:_0x501aa2,view:_0x1957d3,isEmpty:_0x47c7d0,pivotTableConfig:_0xcbde4b}=_0x38bd3f,_0x23dee7=_0xcbde4b[_0xd2b49d(0x19a)],_0x3399b5=new _0x15c500[(_0xd2b49d(0x2d3))]();_0x3399b5[_0xd2b49d(0x4a5)](_0x1957d3);const _0x533001=_0x48f19a[_0xd2b49d(0x4a6)](_0x3d41c7['SheetsPivotTableService']),_0x24dddd={'cellInfo':_0x23dee7,'view':_0x3399b5,'isEmpty':_0x47c7d0};if(!await _0x533001[_0xd2b49d(0x325)][_0xd2b49d(0x429)](_0x20dd1f)(!0x0,_0x24dddd))return!0x1;const _0x23b576=_0x592441(_0x48f19a,_0x3399b5,_0x23dee7,_0x47c7d0),_0x240167=_0x548d50(_0x48f19a,_0x24dddd),{undos:_0x5b272a,redos:_0xebae38}=_0x2a8660(_0x6d8979,{'pivotTableId':_0x4cc496,'unitId':_0xb0610,'subUnitId':_0x1f9177},_0x501aa2);return _0x2d1844[_0xd2b49d(0x373)]([..._0x23b576[_0xd2b49d(0x1d7)],..._0x240167[_0xd2b49d(0x1d7)],..._0xebae38],_0x6d8979),_0x2b1df2['pushUndoRedo']({'unitID':_0xb0610,'redoMutations':[..._0x23b576[_0xd2b49d(0x1d7)],..._0x240167[_0xd2b49d(0x1d7)],..._0xebae38],'undoMutations':[..._0x23b576[_0xd2b49d(0x1a3)],..._0x240167[_0xd2b49d(0x1a3)],..._0x5b272a]}),!0x0;}},_0x45a7af={'type':_0x2d1844['CommandType'][_0x97f3f(0x202)],'id':_0x97f3f(0x2b6),'handler':(_0x2d3ee0,_0x235f66)=>{const _0x1ba972=_0x97f3f,_0x17d872=_0x2d3ee0[_0x1ba972(0x4a6)](_0x2d1844[_0x1ba972(0x35c)]),_0x36c3b2=_0x2d3ee0[_0x1ba972(0x4a6)](_0x2d1844[_0x1ba972(0x2f0)]),_0x13b450=_0x2d3ee0[_0x1ba972(0x4a6)](_0x3d41c7[_0x1ba972(0x499)]),_0x18f318=_0x2d3ee0[_0x1ba972(0x4a6)](_0x2d1844[_0x1ba972(0x21b)]);if(!_0x235f66)return!0x1;const _0x5d522a=_0xbdc533[_0x1ba972(0x2e0)](_0x18f318);if(!_0x5d522a)return!0x1;const {unitId:_0x320fad,subUnitId:_0x459d3e,workbook:_0x3d9b8d}=_0x5d522a,_0x3dab05=_0x13b450[_0x1ba972(0x21d)](_0x235f66[_0x1ba972(0x37e)][_0x1ba972(0x39a)],_0x235f66['originTargetInfo'][_0x1ba972(0x2bd)],_0x235f66[_0x1ba972(0x34a)]);if(!_0x3dab05)return!0x1;const _0x1aa23d=_0x3d9b8d[_0x1ba972(0x385)](_0x235f66[_0x1ba972(0x19a)][_0x1ba972(0x2bd)]);if(!_0x1aa23d)throw new Error(_0x1ba972(0x298));const _0x33d552=_0x1aa23d[_0x1ba972(0x412)](),_0x48fea4=_0x1aa23d['getColumnCount']();if(_0x235f66[_0x1ba972(0x19a)]['row']>_0x33d552||_0x235f66[_0x1ba972(0x19a)]['col']>_0x48fea4)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x106b41=[{'id':_0x4c1b3e['id'],'params':{'unitId':_0x320fad,'subUnitId':_0x235f66[_0x1ba972(0x19a)][_0x1ba972(0x2bd)],'pivotTableId':_0x235f66[_0x1ba972(0x34a)],'targetCellPosition':{'row':_0x235f66[_0x1ba972(0x19a)]['row'],'col':_0x235f66[_0x1ba972(0x19a)][_0x1ba972(0x36c)]}}}],_0x2bb533=[{'id':_0x4c1b3e['id'],'params':{'unitId':_0x320fad,'subUnitId':_0x459d3e,'pivotTableId':_0x235f66[_0x1ba972(0x34a)],'targetCellPosition':{'row':_0x3dab05[_0x1ba972(0x19a)]['row'],'col':_0x3dab05[_0x1ba972(0x19a)][_0x1ba972(0x36c)]}}}];return _0x2d1844[_0x1ba972(0x373)](_0x106b41,_0x17d872)&&_0x36c3b2['pushUndoRedo']({'unitID':_0x320fad,'undoMutations':_0x2bb533,'redoMutations':_0x106b41}),!0x0;}},_0xd512dc={'type':_0x2d1844[_0x97f3f(0x216)]['COMMAND'],'id':_0x97f3f(0x3d0),async 'handler'(_0x2dbd15,_0xf3c073){const _0x3af47b=_0x97f3f;if(!_0xf3c073)return!0x1;const _0x3389b8=_0x2dbd15[_0x3af47b(0x4a6)](_0x2d1844[_0x3af47b(0x35c)]),{pivotTableId:_0x50ed4a,fieldId:_0x25c889,valueFilterInfo:_0x2cf2a2,unitId:_0x2486f5,subUnitId:_0x134d3b}=_0xf3c073,_0x4144ff=_0x2dbd15[_0x3af47b(0x4a6)](_0x3d41c7[_0x3af47b(0x49c)]),_0x3008e6=_0x2dbd15[_0x3af47b(0x4a6)](_0x2d1844[_0x3af47b(0x2f0)]),_0x566dad=(await _0x4144ff['getPivotDisplayConfig']({'unitId':_0x2486f5,'subUnitId':_0x134d3b,'pivotTableId':_0x50ed4a,'params':{'type':_0x1ae0ae['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x25c889,'filterInfo':_0x2cf2a2}}}))[_0x3af47b(0x4a4)][_0x3af47b(0x3da)];if(!_0x566dad)return!0x1;const {changesets:_0x37035d,pivotTableConfig:_0x5556e8,isEmpty:_0x33e52b,view:_0x4556d5}=_0x566dad,_0x4b5679=_0x5556e8[_0x3af47b(0x19a)],_0x8bffc3=new _0x15c500[(_0x3af47b(0x2d3))]();_0x8bffc3[_0x3af47b(0x4a5)](_0x4556d5);const _0x559c4a={'cellInfo':_0x4b5679,'view':_0x8bffc3,'isEmpty':_0x33e52b};if(!await _0x2dbd15[_0x3af47b(0x4a6)](_0x3d41c7[_0x3af47b(0x44e)])['asyncInterceptor'][_0x3af47b(0x429)](_0x20dd1f)(!0x0,_0x559c4a))return!0x1;const _0x28308d=_0x592441(_0x2dbd15,_0x8bffc3,_0x4b5679,_0x33e52b),_0x4ebc63=_0x548d50(_0x2dbd15,_0x559c4a),{undos:_0x3a798f,redos:_0x48630f}=_0x2a8660(_0x3389b8,{'pivotTableId':_0x50ed4a,'unitId':_0x2486f5,'subUnitId':_0x134d3b},_0x37035d);return _0x2d1844[_0x3af47b(0x373)]([..._0x28308d[_0x3af47b(0x1d7)],..._0x4ebc63[_0x3af47b(0x1d7)],..._0x48630f],_0x3389b8),_0x3008e6[_0x3af47b(0x3e4)]({'unitID':_0x2486f5,'redoMutations':[..._0x28308d['redos'],..._0x4ebc63[_0x3af47b(0x1d7)],..._0x48630f],'undoMutations':[..._0x28308d[_0x3af47b(0x1a3)],..._0x4ebc63['undos'],..._0x3a798f]}),!0x0;}},_0x13599c={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'id':_0x97f3f(0x233),async 'handler'(_0x22e929,_0x53edc4){const _0x3f5b8e=_0x97f3f;if(!_0x53edc4)return!0x1;const _0xb48dd4=_0x22e929[_0x3f5b8e(0x4a6)](_0x2d1844[_0x3f5b8e(0x35c)]),_0xeef551=_0x22e929['get'](_0x2d1844[_0x3f5b8e(0x2f0)]),_0xd4c34f=_0x22e929[_0x3f5b8e(0x4a6)](_0x3d41c7[_0x3f5b8e(0x49c)]),{pivotTableConfig:_0x3be27d,pivotTableId:_0x44ad22,unitId:_0x57d5ea,subUnitId:_0x5a06e9}=_0x53edc4,_0x43843f=(await _0xd4c34f['getPivotDisplayConfig']({'unitId':_0x57d5ea,'subUnitId':_0x5a06e9,'pivotTableId':_0x44ad22,'params':{'type':_0x1ae0ae['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x44ad22,'pivotTableConfig':_0x3be27d}}}))['result'][_0x3f5b8e(0x2cf)];if(!_0x43843f)return!0x1;const {changesets:_0x432da8}=_0x43843f,{redos:_0x3a3f50,undos:_0x356770}=_0x2a8660(_0xb48dd4,{'pivotTableId':_0x44ad22,'unitId':_0x57d5ea,'subUnitId':_0x5a06e9},_0x432da8);return _0x2d1844[_0x3f5b8e(0x373)](_0x3a3f50,_0xb48dd4),_0xeef551[_0x3f5b8e(0x3e4)]({'unitID':_0x57d5ea,'redoMutations':_0x3a3f50,'undoMutations':_0x356770}),!0x0;}},_0x3d2a7d={'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'id':_0x97f3f(0x1be),async 'handler'(_0x3c7ae8,_0x2a8dc6){const _0x36b182=_0x97f3f;if(!_0x2a8dc6)return!0x1;const _0x3b928a=_0x3c7ae8['get'](_0x2d1844[_0x36b182(0x35c)]),_0x1edd83=_0x3c7ae8[_0x36b182(0x4a6)](_0x2d1844[_0x36b182(0x2f0)]),_0x4889e8=_0x3c7ae8[_0x36b182(0x4a6)](_0x3d41c7[_0x36b182(0x49c)]),{resetArea:_0x2f3396,pivotTableId:_0x545510,unitId:_0xf59993,subUnitId:_0x7c4072}=_0x2a8dc6,_0x1772be=(await _0x4889e8[_0x36b182(0x28b)]({'unitId':_0xf59993,'subUnitId':_0x7c4072,'pivotTableId':_0x545510,'params':{'type':_0x1ae0ae[_0x36b182(0x32d)],'resetPivotTable':{'pivotTableId':_0x545510,'resetArea':_0x2f3396}}}))[_0x36b182(0x4a4)][_0x36b182(0x396)];if(!_0x1772be)return!0x1;const {changesets:_0x4cbb45}=_0x1772be,{redos:_0x64f281,undos:_0x33342e}=_0x2a8660(_0x3b928a,{'pivotTableId':_0x545510,'unitId':_0xf59993,'subUnitId':_0x7c4072},_0x4cbb45);return _0x2d1844[_0x36b182(0x373)](_0x64f281,_0x3b928a),_0x1edd83['pushUndoRedo']({'unitID':_0xf59993,'redoMutations':_0x64f281,'undoMutations':_0x33342e}),!0x0;}},_0x240a92={'id':'sheet.mutation.update-date-group','type':_0x2d1844[_0x97f3f(0x216)]['MUTATION'],'handler':(_0x10646c,_0x4f4495)=>{const _0x50390f=_0x97f3f;if(!_0x4f4495)return!0x1;if(!!_0x10646c[_0x50390f(0x4a6)](_0x2d1844[_0x50390f(0x2ca)])[_0x50390f(0x327)](_0x292159))return!0x0;const {unitId:_0x2faaba,subUnitId:_0x1b6d8a,pivotTableId:_0x21567e,tableFieldId:_0xa5ee56,dateType:_0x1b0b7d}=_0x4f4495,_0x13cfd7=_0x10646c[_0x50390f(0x4a6)](_0x3d41c7[_0x50390f(0x3a2)]),_0xe48510=_0x13cfd7[_0x50390f(0x42e)](_0x21567e);if(!_0xe48510)return!0x1;const _0x1dde6b=_0xe48510[_0x50390f(0x294)](_0xa5ee56);if(!_0x1dde6b)return!0x1;const _0x11e783=_0x1dde6b[_0x50390f(0x48a)](),_0x569405=_0xe48510[_0x50390f(0x456)](_0x11e783),_0x259788=(_0x569405==null?void 0x0:_0x569405[_0x50390f(0x301)]())+'\x20'+_0x2862bb(_0x10646c,_0x1b0b7d);_0x13cfd7[_0x50390f(0x3b2)](_0x2faaba,_0x21567e)[_0x50390f(0x377)](_0x1dde6b['id'],_0x259788);const _0x1c3722=_0xe48510[_0x50390f(0x47c)](_0xa5ee56);if(!_0x1c3722)return!0x1;_0xe48510[_0x50390f(0x316)](_0x1c3722[_0x50390f(0x204)](),_0x259788),_0x1dde6b[_0x50390f(0x218)](_0x1b0b7d);const _0x542114=_0x13cfd7[_0x50390f(0x21d)](_0x2faaba,_0x1b6d8a,_0x21567e);return _0x13cfd7[_0x50390f(0x22f)]({'unitId':_0x2faaba,'subUnitId':_0x1b6d8a,'token':_0x21567e,'type':_0x532e5d[_0x50390f(0x3a5)],'pivotConfig':_0x542114}),!0x0;}},_0x34471d={'id':_0x97f3f(0x416),'type':_0x2d1844[_0x97f3f(0x216)][_0x97f3f(0x202)],'handler':(_0x33e099,_0x1d1bde)=>{const _0x3f1e13=_0x97f3f;if(!_0x1d1bde)return!0x1;const _0x4c9973=_0x33e099[_0x3f1e13(0x4a6)](_0x2d1844[_0x3f1e13(0x2f0)]),{unitId:_0x245025,subUnitId:_0x1fa417,pivotTableId:_0x4d74c6,tableFieldId:_0x3cc212}=_0x1d1bde,_0x32e44e=[],_0x5b0cc7=[],_0x137c6e=_0x33e099['get'](_0x3d41c7[_0x3f1e13(0x499)]),_0x561af4=_0x137c6e[_0x3f1e13(0x3b2)](_0x245025,_0x4d74c6),_0x6df65e=_0x137c6e[_0x3f1e13(0x21d)](_0x245025,_0x1fa417,_0x4d74c6);if(!(_0x6df65e!=null&&_0x6df65e[_0x3f1e13(0x35b)][_0x3f1e13(0x3e2)]))return!0x1;const _0x29d884=Object[_0x3f1e13(0x45f)](_0x6df65e['fieldsConfig'][_0x3f1e13(0x3e2)])['find'](_0x40c85f=>_0x40c85f['id']===_0x3cc212);if(!_0x29d884)return!0x1;const _0x4f6b07=_0x29d884['dataFieldId'];if(!(_0x561af4!=null&&_0x561af4[_0x3f1e13(0x1ce)]))return!0x1;const _0x238069=Object[_0x3f1e13(0x45f)](_0x561af4==null?void 0x0:_0x561af4[_0x3f1e13(0x1ce)])[_0x3f1e13(0x457)](_0x2c369e=>_0x2c369e['id']===_0x4f6b07);if(!_0x238069)return!0x1;_0x15c500['isDateGroupFieldJSON'](_0x238069)&&_0x32e44e['push']({'id':_0x240a92['id'],'params':{..._0x1d1bde,'dateType':_0x238069[_0x3f1e13(0x2c0)]}}),_0x5b0cc7['push']({'id':_0x240a92['id'],'params':{..._0x1d1bde}});const _0x2c94c7=_0x33e099[_0x3f1e13(0x4a6)](_0x2d1844[_0x3f1e13(0x35c)]);return _0x2d1844[_0x3f1e13(0x373)](_0x5b0cc7,_0x2c94c7)&&_0x4c9973[_0x3f1e13(0x3e4)]({'unitID':_0x245025,'undoMutations':_0x32e44e,'redoMutations':_0x5b0cc7}),!0x0;}};var _0xa9619f=Object[_0x97f3f(0x1a1)],_0x1e66a5=(_0x1824b6,_0x1ff444,_0x17ef5b,_0x5ddfde)=>{for(var _0x488cef=_0x5ddfde>0x1?void 0x0:_0x5ddfde?_0xa9619f(_0x1ff444,_0x17ef5b):_0x1ff444,_0x1681eb=_0x1824b6['length']-0x1,_0x374f45;_0x1681eb>=0x0;_0x1681eb--)(_0x374f45=_0x1824b6[_0x1681eb])&&(_0x488cef=_0x374f45(_0x488cef)||_0x488cef);return _0x488cef;},_0x5310e0=(_0x570988,_0x3a5c81)=>(_0x10bd1c,_0x22c6f9)=>_0x3a5c81(_0x10bd1c,_0x22c6f9,_0x570988);const _0x2a2cc4=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x46191e=(_0x3e0eab,_0xf25f42,_0x3ccc6a)=>{const _0x8902c4=_0x97f3f,_0x378b3b=_0x3e0eab[_0x8902c4(0x442)];_0x3e0eab[_0x8902c4(0x46b)](_0x4ccadc=>{const _0x2ced12=_0x8902c4,_0x55efbe=_0x4ccadc[_0x2ced12(0x204)](),_0x57f2f2=_0x4ccadc[_0x2ced12(0x3aa)](),_0x203a85=_0x4ccadc[_0x2ced12(0x1b7)](),_0x44d20f=_0x4ccadc[_0x2ced12(0x3c8)]();_0xf25f42[_0x57f2f2]&&_0xf25f42[_0x57f2f2]===_0x44d20f&&_0x203a85===_0x44d20f&&(_0x3e0eab['renameField'](_0x55efbe,_0x378b3b[_0x2ced12(0x3c8)](_0x57f2f2)),_0x4ccadc[_0x2ced12(0x198)](_0x378b3b[_0x2ced12(0x3c8)](_0x57f2f2)));}),_0x3e0eab[_0x8902c4(0x28e)](_0x15c500['PivotTableFiledAreaEnum']['Value'],_0x3d026e=>{const _0x21331d=_0x8902c4,_0x26b396=_0x3d026e[_0x21331d(0x204)](),_0x4cc169=_0x3d026e[_0x21331d(0x3aa)](),_0x7f4db=_0x3d026e['getSourceName'](),_0x548fc1=_0x3d026e[_0x21331d(0x3c8)](),_0xff0a88=_0x3d026e['getSubtotal'](),_0x49812c=_0x3ccc6a(_0x7f4db,_0xff0a88);_0xf25f42[_0x4cc169]&&_0xf25f42[_0x4cc169]===_0x7f4db&&_0x49812c===_0x548fc1&&(_0x3e0eab[_0x21331d(0x316)](_0x26b396,_0x3ccc6a(_0x378b3b['getDisplayName'](_0x4cc169),_0xff0a88)),_0x3d026e[_0x21331d(0x198)](_0x378b3b['getDisplayName'](_0x4cc169)));});},_0x3e73c4=(_0x3e727d,_0x375922,_0x5620fb)=>{const _0x5e8960=_0x97f3f;var _0x3fa6db,_0x9b9c82;const {arrayFormulaCellData:_0x476f7c,unitData:_0x4a46a1}=_0x375922,{unitId:_0x2801cc,subUnitId:_0x26c41b}=_0x5620fb,_0x9cd9bd=_0x5620fb[_0x5e8960(0x46e)],{startColumn:_0x1fe1a3,endColumn:_0x4649b1}=_0x9cd9bd,_0x3f5475=(_0x3fa6db=_0x476f7c==null?void 0x0:_0x476f7c[_0x2801cc])==null?void 0x0:_0x3fa6db[_0x26c41b],_0x2b6373=(_0x9b9c82=_0x4a46a1==null?void 0x0:_0x4a46a1[_0x2801cc])==null?void 0x0:_0x9b9c82[_0x26c41b],_0x1784bb=new Set(),_0x107d79=_0x4649b1-_0x1fe1a3+0x1,{dirtyRanges:_0xebb4d8}=_0x3e727d;if(_0xebb4d8)for(const {range:_0x4ab88f,sheetId:_0x1d0dc1,unitId:_0x40d925}of _0xebb4d8){if(_0x1d0dc1!==_0x26c41b||_0x2801cc!==_0x40d925)continue;const _0x293496=_0x2d1844[_0x5e8960(0x417)][_0x5e8960(0x378)](_0x4ab88f,_0x9cd9bd);if(_0x293496){const {startColumn:_0x52e62b,endColumn:_0x4a68fb}=_0x293496;for(let _0x280f66=_0x52e62b;_0x280f66<=_0x4a68fb;_0x280f66++)_0x1784bb[_0x5e8960(0x349)](_0x280f66);}}if(_0x1784bb[_0x5e8960(0x35f)]===_0x107d79||_0x1784bb[_0x5e8960(0x35f)]===_0x107d79)return Array['from'](_0x1784bb);if(_0x2b6373){const _0x26523c=_0x2b6373[_0x5e8960(0x26f)](),_0x56e97f=Object['keys'](_0x26523c);for(const _0x30940f of _0x56e97f){const _0x120c15=Number(_0x30940f),_0x49b3d4=_0x26523c[_0x120c15];if(_0x1784bb[_0x5e8960(0x35f)]===_0x107d79)break;for(const _0xf942dd in _0x49b3d4){const _0x12b6be=Number(_0xf942dd);_0x12b6be<_0x1fe1a3||_0x12b6be>_0x4649b1||_0x1784bb[_0x5e8960(0x349)](_0x12b6be);}}}if(_0x3f5475){const _0x3aab99=_0x3f5475[_0x5e8960(0x26f)](),_0x38226f=Object['keys'](_0x3aab99);for(const _0x23a9aa of _0x38226f){const _0x55ce4a=Number(_0x23a9aa),_0x535d9e=_0x3aab99[_0x55ce4a];if(_0x1784bb[_0x5e8960(0x35f)]===_0x107d79)break;for(const _0x14371e in _0x535d9e){const _0x3c1b98=Number(_0x14371e);_0x3c1b98<_0x1fe1a3||_0x3c1b98>_0x4649b1||_0x1784bb['add'](_0x3c1b98);}}}return Array[_0x5e8960(0x393)](_0x1784bb);},_0x1dbc04=_0x5c1564=>{const _0x12f971=_0x97f3f,_0x4aab89=new Set(),_0x4b6f7b=[];for(const _0x19538c of _0x5c1564){const _0xe16588=_0x19538c[_0x12f971(0x2b8)]+','+_0x19538c[_0x12f971(0x2b5)]+','+_0x19538c[_0x12f971(0x3d6)]+','+_0x19538c[_0x12f971(0x43a)];_0x4aab89['has'](_0xe16588)||(_0x4aab89[_0x12f971(0x349)](_0xe16588),_0x4b6f7b[_0x12f971(0x1fc)](_0x19538c));}return _0x4b6f7b;};let _0x1192e8=class extends _0x2d1844[_0x97f3f(0x3a4)]{constructor(_0x41df78,_0x55b97f,_0x3c6680,_0x28d0b5,_0x20b358,_0x1c9e28){const _0x433131=_0x97f3f;super(),_0x4a9226(this,_0x433131(0x1f7),new _0x4d1926[(_0x433131(0x2be))](!0x0)),_0x4a9226(this,_0x433131(0x3e9),_0x374dc9=>{const _0x51a653=_0x433131;this[_0x51a653(0x1f7)]['next'](!0x1);}),_0x4a9226(this,'_globalComputedEndHelpFunc',_0x1d5c5b=>{const _0x5bb1d6=_0x433131;this[_0x5bb1d6(0x1f7)][_0x5bb1d6(0x339)](!0x0);}),(this[_0x433131(0x197)]=_0x41df78,this[_0x433131(0x3b0)]=_0x55b97f,this[_0x433131(0x275)]=_0x3c6680,this[_0x433131(0x444)]=_0x28d0b5,this[_0x433131(0x329)]=_0x20b358,this[_0x433131(0x3ba)]=_0x1c9e28,this['_init'](),this['_initPivotDataGetListener']());}[_0x97f3f(0x267)](){const _0x51cea4=_0x97f3f;this[_0x51cea4(0x320)](),this[_0x51cea4(0x3a1)](),this[_0x51cea4(0x410)](),this['_subjectFieldsCollectionChange']();}[_0x97f3f(0x332)](){const _0x558000=_0x97f3f;this[_0x558000(0x329)][_0x558000(0x1f5)](this[_0x558000(0x1f7)]),_0x15c500[_0x558000(0x1fa)][_0x558000(0x32b)](_0x15c500[_0x558000(0x224)][_0x558000(0x1a7)],this[_0x558000(0x3e9)]),_0x15c500['PivotTable']['registerCallbackWithEvent'](_0x15c500['PivotCallbackEnum'][_0x558000(0x25b)],this[_0x558000(0x210)]);}[_0x97f3f(0x1f0)](){const _0x26cead=_0x97f3f;this[_0x26cead(0x311)](this[_0x26cead(0x444)]['onCommandExecuted'](_0x5b030f=>{const _0x182000=_0x26cead;_0x5b030f['id']===_0xbdc533['MoveRangeMutation']['id']&&this['_sheetsPivotDataSourceModel'][_0x182000(0x3b1)](_0x5b030f[_0x182000(0x418)]);})),this[_0x26cead(0x311)](this[_0x26cead(0x444)][_0x26cead(0x3a0)](_0x438348=>{const _0x2832f6=_0x26cead;if(_0x438348['id']!==_0x51bd44['id'])return;const _0x4bdc83=_0x438348[_0x2832f6(0x418)],{unitId:_0x249fa8,subUnitId:_0x3f7f78,pivotTableId:_0x2c4a59}=_0x4bdc83,_0x23ddd2=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x305)],_0x1b3a13={};switch(_0x23ddd2){case _0x1ae0ae[_0x2832f6(0x1d6)]:{const _0x19be1f=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x426)];if(!_0x19be1f)return;const {row:_0x10c4b5,col:_0x440b20,cellData:_0x35151f,pivotItemRenderInfoCache:_0x4dc53c,tableFieldId:_0x2440aa}=_0x19be1f,_0x3d8692=this['_sheetsPivotDataSourceModel'][_0x2832f6(0x42e)](_0x4bdc83['pivotTableId']);if(!_0x3d8692||!_0x4dc53c)return;if(_0x2440aa){const _0x5679f3=_0x3d8692[_0x2832f6(0x294)](_0x2440aa);if(!_0x5679f3)return;_0x1b3a13[_0x2832f6(0x426)]={..._0x3d8692[_0x2832f6(0x37c)](_0x5679f3),'tableFieldId':_0x2440aa,'pivotTableId':_0x4bdc83[_0x2832f6(0x34a)],'filterInfo':_0x3d8692[_0x2832f6(0x333)](_0x2440aa),'sortInfo':_0x3d8692[_0x2832f6(0x1ee)](_0x2440aa),'format':_0x3d8692[_0x2832f6(0x40a)](_0x2440aa)};}else{const _0x3afc8d=_0x418c21(_0x10c4b5,_0x440b20,_0x35151f,_0x3d8692,_0x4dc53c),_0x3c0ddd=_0x3afc8d==null?void 0x0:_0x3afc8d[_0x2832f6(0x2d2)];if(!_0x3c0ddd)return;const _0x1bef12=_0x3d8692[_0x2832f6(0x294)](_0x3c0ddd);if(!_0x1bef12)return;_0x1b3a13[_0x2832f6(0x426)]={..._0x3d8692[_0x2832f6(0x37c)](_0x1bef12),'tableFieldId':_0x3c0ddd,'pivotTableId':_0x4bdc83[_0x2832f6(0x34a)],'filterInfo':_0x3d8692['getFilterInfo'](_0x3c0ddd),'sortInfo':_0x3d8692[_0x2832f6(0x1ee)](_0x3c0ddd),'format':_0x3d8692[_0x2832f6(0x40a)](_0x3c0ddd)};}}break;case _0x1ae0ae[_0x2832f6(0x3bd)]:{const _0x7d4700=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x3f8)];if(!_0x7d4700)return;const {pivotTableId:_0x26b728}=_0x7d4700,_0x4d5cd8=this[_0x2832f6(0x197)][_0x2832f6(0x42e)](_0x26b728);if(!_0x4d5cd8)return;const _0x378f1e=this[_0x2832f6(0x197)][_0x2832f6(0x21d)](_0x249fa8,_0x3f7f78,_0x26b728),_0x550f06=_0x409a21(_0x4d5cd8,_0x26b728,_0x378f1e);_0x1b3a13[_0x2832f6(0x3f8)]=_0x550f06;}break;case _0x1ae0ae[_0x2832f6(0x354)]:{const _0x357d1f=this['_sheetsPivotDataSourceModel'][_0x2832f6(0x42e)](_0x2c4a59),_0x4afa45=this[_0x2832f6(0x197)]['getDataFieldManager'](_0x249fa8),_0x248651=_0x4afa45[_0x2832f6(0x3b2)](_0x2c4a59);let _0x10ce5f=null;const _0x3c7818=this[_0x2832f6(0x197)][_0x2832f6(0x21d)](_0x249fa8,_0x3f7f78,_0x2c4a59),_0x623330=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x1eb)];if(!_0x357d1f||!_0x3c7818||!_0x623330)return!0x1;const {dataFieldId:_0x404f0b,fieldArea:_0x416665,index:_0xb8fa8c}=_0x623330;_0x357d1f[_0x2832f6(0x1f6)]();const _0x5e95e7=_0x357d1f[_0x2832f6(0x3f1)](_0x404f0b,_0x416665,_0xb8fa8c);if(_0x5e95e7&&_0x416665===_0x15c500[_0x2832f6(0x2c1)]['Value']){const _0x209d19=_0x5e95e7[_0x2832f6(0x204)](),_0x5b6b3f=_0x357d1f['getDataFieldByTableId'](_0x209d19);if(_0x5b6b3f){const _0x529ceb=_0x5b6b3f==null?void 0x0:_0x5b6b3f[_0x2832f6(0x496)]();_0x357d1f[_0x2832f6(0x31b)](_0x5e95e7['getId'](),_0x529ceb===_0x15c500[_0x2832f6(0x3c0)][_0x2832f6(0x3d8)]?_0x15c500[_0x2832f6(0x1ef)][_0x2832f6(0x379)]:_0x15c500[_0x2832f6(0x1ef)][_0x2832f6(0x3d5)]);}const _0x2c2c5b=_0x357d1f[_0x2832f6(0x42d)](),_0x4666c8=_0x357d1f['getValuePosition'](),_0x3e5a5f=_0x357d1f[_0x2832f6(0x40e)](_0x15c500[_0x2832f6(0x2c1)]['Value']);if(_0x2c2c5b===-0x1&&_0x3e5a5f>0x1){const _0x1529a7=_0x4666c8===_0x15c500['PivotTableValuePositionEnum']['None']?_0x15c500['PivotTableValuePositionEnum']['Column']:_0x4666c8,_0x2c0b38=_0x1529a7===_0x15c500[_0x2832f6(0x3dd)][_0x2832f6(0x3d7)]?_0x15c500[_0x2832f6(0x2c1)][_0x2832f6(0x3d7)]:_0x15c500[_0x2832f6(0x2c1)]['Column'];_0x357d1f[_0x2832f6(0x356)](_0x1529a7,_0x357d1f[_0x2832f6(0x40e)](_0x2c0b38));}}else{if(_0x5e95e7&&(_0x416665===_0x15c500[_0x2832f6(0x2c1)][_0x2832f6(0x3d7)]||_0x416665===_0x15c500['PivotTableFiledAreaEnum'][_0x2832f6(0x437)])){const _0x38fab0=_0x5e95e7[_0x2832f6(0x204)](),_0x3c86fb=_0x357d1f[_0x2832f6(0x294)](_0x38fab0);if(_0x3c86fb&&(_0x3c86fb==null?void 0x0:_0x3c86fb[_0x2832f6(0x496)]())===_0x15c500[_0x2832f6(0x3c0)][_0x2832f6(0x47e)]){const _0x3fa4af=_0x3c86fb[_0x2832f6(0x292)]();if(_0x3fa4af&&_0x357d1f[_0x2832f6(0x306)](_0x5e95e7[_0x2832f6(0x204)](),_0x3fa4af),!_0x248651['getFieldIds']()[_0x2832f6(0x20a)](_0x59903c=>{const _0xaa6549=_0x2832f6,_0x16c398=_0x248651[_0xaa6549(0x258)](_0x59903c);return _0x15c500['isDateGroupField'](_0x16c398)?_0x16c398[_0xaa6549(0x2e4)]()[_0xaa6549(0x1cb)]===_0x404f0b:!0x1;})){const _0x3760de=_0x4afa45['createDataFieldId'](),_0x246d1a=_0x2fdd76(_0x3c86fb[_0x2832f6(0x244)],_0x3c86fb[_0x2832f6(0x282)]),_0xff319d=_0x3c86fb[_0x2832f6(0x301)]()+'\x20-\x20'+_0x2862bb(this[_0x2832f6(0x3ba)],_0x246d1a),_0x576b45=new _0x15c500[(_0x2832f6(0x46f))](_0x3760de,_0xff319d,_0x15c500['generateHexNumber'](0x3),_0x3c86fb[_0x2832f6(0x204)](),_0x246d1a);_0x4afa45[_0x2832f6(0x29a)](_0x576b45),_0x248651[_0x2832f6(0x3c6)](_0x3760de,_0xff319d),_0x357d1f[_0x2832f6(0x3f1)](_0x3760de,_0x416665,(_0xb8fa8c!=null?_0xb8fa8c:0x0)+0x1),_0x10ce5f=_0x576b45;}}}}const _0x56e2ec=_0x357d1f[_0x2832f6(0x241)](),_0x2f82f2=_0x357d1f['query']()['toJSON']();let _0x3776a9;if(_0x10ce5f){_0x3776a9=_0x10ce5f[_0x2832f6(0x486)]();const _0x2e393c=_0x10ce5f[_0x2832f6(0x204)]();_0x248651[_0x2832f6(0x20c)](_0x2e393c);let _0x1c20f7=!0x0;for(const _0x5f1ac5 in _0x4afa45[_0x2832f6(0x1de)])if(_0x4afa45['collections'][_0x5f1ac5]['getFieldIds']()['includes'](_0x2e393c)){_0x1c20f7=!0x1;break;}_0x1c20f7&&_0x4afa45[_0x2832f6(0x41d)](_0x2e393c);}const _0x481045=_0x357d1f[_0x2832f6(0x451)]();_0x1b3a13[_0x2832f6(0x1eb)]={'view':_0x2f82f2,'changesets':_0x481045,'isEmpty':_0x56e2ec,'pivotTableConfig':_0x3c7818,'shouldBeAddedGroupJSON':_0x3776a9};}break;case _0x1ae0ae[_0x2832f6(0x283)]:{const _0x341748=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x445)];if(!_0x341748)return;const _0x311508=_0x341748['sourceRangeInfo'],_0xd1393e=_0x341748[_0x2832f6(0x34a)],{collection:_0x42daf2}=this['_sheetsPivotDataSourceModel'][_0x2832f6(0x1e4)]({'unitId':_0x311508['unitId'],'sheetName':_0x311508[_0x2832f6(0x473)],'subUnitId':_0x311508[_0x2832f6(0x2bd)],'range':_0x311508[_0x2832f6(0x46e)]}),_0x3f15fd=new _0x15c500[(_0x2832f6(0x1fa))](_0x42daf2,void 0x0,_0xd1393e),_0x5616c6=_0x3f15fd[_0x2832f6(0x448)](),_0x3c5d17=_0x3f15fd[_0x2832f6(0x486)](),_0x20d971=_0x42daf2['toJSON']();_0x1b3a13[_0x2832f6(0x445)]={'view':_0x5616c6,'fieldsConfig':_0x3c5d17,'collectionConfig':_0x20d971,'isEmpty':_0x3f15fd['isEmpty']()};}break;case _0x1ae0ae['MovePivotField']:{const _0x50f7c2=_0x4bdc83['params'][_0x2832f6(0x2d1)];if(!_0x50f7c2)return;const {fieldId:_0x8c57c7,area:_0x1955cb,index:_0x58a369}=_0x50f7c2,_0x33da80=this[_0x2832f6(0x197)][_0x2832f6(0x21d)](_0x249fa8,_0x3f7f78,_0x2c4a59);if(!_0x33da80)return;const _0x450005=this[_0x2832f6(0x197)]['getPivotTableInstance'](_0x2c4a59);if(!_0x450005)return;_0x450005[_0x2832f6(0x1f6)]();const {area:_0x5f47b2,index:_0x1fbc70}=_0x450005[_0x2832f6(0x2ef)](_0x8c57c7);if(_0x450005[_0x2832f6(0x392)](_0x8c57c7,_0x1955cb,_0x58a369),_0x1955cb===_0x15c500[_0x2832f6(0x2c1)][_0x2832f6(0x34c)]&&_0x450005[_0x2832f6(0x47c)](_0x8c57c7)[_0x2832f6(0x3ea)]()===void 0x0){const _0x33f92f=_0x450005[_0x2832f6(0x47c)](_0x8c57c7);if(_0x33f92f&&_0x33f92f['getSubtotal']()===void 0x0){const _0x561942=_0x450005[_0x2832f6(0x294)](_0x8c57c7);if(_0x561942){const _0x54989f=_0x561942==null?void 0x0:_0x561942[_0x2832f6(0x496)]();_0x450005[_0x2832f6(0x31b)](_0x8c57c7,_0x54989f===_0x15c500[_0x2832f6(0x3c0)][_0x2832f6(0x3d8)]?_0x15c500[_0x2832f6(0x1ef)][_0x2832f6(0x379)]:_0x15c500[_0x2832f6(0x1ef)][_0x2832f6(0x3d5)]);}}}const _0x55dd99=_0x450005['getValuePosition'](),_0xb115f1=_0x450005['getValueIndex'](),_0x585d8b=_0x450005['getFieldCountByArea'](_0x15c500['PivotTableFiledAreaEnum'][_0x2832f6(0x34c)])>0x1;if(_0x585d8b&&_0x5f47b2===_0x1955cb&&(_0x1955cb===_0x15c500[_0x2832f6(0x2c1)][_0x2832f6(0x3d7)]&&_0x55dd99===_0x15c500[_0x2832f6(0x3dd)][_0x2832f6(0x3d7)]||_0x1955cb===_0x15c500['PivotTableFiledAreaEnum'][_0x2832f6(0x437)]&&_0x55dd99===_0x15c500['PivotTableValuePositionEnum'][_0x2832f6(0x437)])){let _0x23fb2f=_0xb115f1;_0x1fbc70<=_0xb115f1&&_0x23fb2f--,_0x58a369<=_0xb115f1&&_0x23fb2f++,_0x450005[_0x2832f6(0x356)](_0x55dd99,_0x23fb2f);}else _0x585d8b&&(_0x5f47b2===_0x15c500[_0x2832f6(0x2c1)][_0x2832f6(0x3d7)]&&_0x55dd99===_0x15c500[_0x2832f6(0x3dd)][_0x2832f6(0x3d7)]||_0x5f47b2===_0x15c500[_0x2832f6(0x2c1)][_0x2832f6(0x437)]&&_0x55dd99===_0x15c500[_0x2832f6(0x3dd)][_0x2832f6(0x437)])&&_0xb115f1>=_0x1fbc70&&_0x450005[_0x2832f6(0x356)](_0x55dd99,_0xb115f1-0x1),_0x585d8b&&(_0x1955cb===_0x15c500['PivotTableFiledAreaEnum'][_0x2832f6(0x3d7)]&&_0x55dd99===_0x15c500[_0x2832f6(0x3dd)][_0x2832f6(0x3d7)]||_0x1955cb===_0x15c500[_0x2832f6(0x2c1)]['Column']&&_0x55dd99===_0x15c500[_0x2832f6(0x3dd)][_0x2832f6(0x437)])&&_0xb115f1>=_0x58a369&&_0x450005[_0x2832f6(0x356)](_0x55dd99,_0xb115f1+0x1);const _0x542f85=_0x450005[_0x2832f6(0x448)](),_0x7f11fc=_0x450005[_0x2832f6(0x241)](),_0x51852a=_0x450005['endCollectChangeset']();_0x1b3a13[_0x2832f6(0x2d1)]={'view':_0x542f85[_0x2832f6(0x486)](),'changesets':_0x51852a,'isEmpty':_0x7f11fc,'pivotTableConfig':_0x33da80};}break;case _0x1ae0ae[_0x2832f6(0x43f)]:{const _0x3d0ab3=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x43e)];if(!_0x3d0ab3)return;const _0x2521c7=_0x3d0ab3['fieldIds'],_0x5d41b2=this[_0x2832f6(0x197)]['getPivotTableConfig'](_0x249fa8,_0x3f7f78,_0x2c4a59);if(!_0x5d41b2)return!0x1;const _0x1e4514=this[_0x2832f6(0x197)][_0x2832f6(0x42e)](_0x2c4a59);if(!_0x1e4514)return!0x1;_0x1e4514[_0x2832f6(0x1f6)]();for(const _0x1e5521 of _0x2521c7){const {area:_0x58e10d}=_0x1e4514['getFieldPositionInfoById'](_0x1e5521);_0x58e10d===_0x15c500[_0x2832f6(0x2c1)][_0x2832f6(0x34c)]&&_0x1e4514[_0x2832f6(0x193)](_0x1e5521),(_0x58e10d===_0x15c500['PivotTableFiledAreaEnum']['Row']||_0x58e10d===_0x15c500[_0x2832f6(0x2c1)][_0x2832f6(0x437)])&&_0x1e4514[_0x2832f6(0x213)](_0x1e5521),_0x1e4514[_0x2832f6(0x495)](_0x1e5521);}const _0x36520c=_0x1e4514[_0x2832f6(0x241)](),_0x3a72a6=_0x1e4514[_0x2832f6(0x448)]()['toJSON'](),_0x37084e=_0x1e4514[_0x2832f6(0x451)]();_0x1b3a13[_0x2832f6(0x43e)]={'changesets':_0x37084e,'pivotTableConfig':_0x5d41b2,'isEmpty':_0x36520c,'view':_0x3a72a6};}break;case _0x1ae0ae[_0x2832f6(0x2e3)]:{const _0x45d196=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x2b9)];if(!_0x45d196)return;const {tableFieldId:_0x54193c,items:_0x394c92,isAll:_0x3f43fa}=_0x45d196,_0x7b6059=this['_sheetsPivotDataSourceModel'][_0x2832f6(0x42e)](_0x2c4a59),_0x5e9c6c=this[_0x2832f6(0x197)]['getPivotTableConfig'](_0x249fa8,_0x3f7f78,_0x2c4a59);if(!_0x7b6059||!_0x5e9c6c)return;_0x7b6059[_0x2832f6(0x1f6)](),_0x7b6059['setLabelFilterInfo'](_0x54193c,{'type':_0x15c500[_0x2832f6(0x19c)][_0x2832f6(0x32e)],'list':_0x394c92,'isAll':_0x3f43fa});const _0x52b5da=_0x7b6059[_0x2832f6(0x241)](),_0x4f40cf=_0x7b6059[_0x2832f6(0x448)]()['toJSON'](),_0xe69e75=_0x7b6059[_0x2832f6(0x451)]();_0x1b3a13[_0x2832f6(0x2b9)]={'view':_0x4f40cf,'changesets':_0xe69e75,'isEmpty':_0x52b5da,'pivotTableConfig':_0x5e9c6c};}break;case _0x1ae0ae[_0x2832f6(0x2c2)]:{const _0x40fc7a=_0x4bdc83['params']['setValuePivotFilter'];if(!_0x40fc7a)return;const {tableFieldId:_0x241e5e,filterInfo:_0x2736d9}=_0x40fc7a,_0x53fef5=this[_0x2832f6(0x197)]['getPivotTableInstance'](_0x2c4a59),_0x37cfa7=this[_0x2832f6(0x197)]['getPivotTableConfig'](_0x249fa8,_0x3f7f78,_0x2c4a59);if(!_0x53fef5||!_0x37cfa7)return;_0x53fef5[_0x2832f6(0x1f6)](),_0x53fef5[_0x2832f6(0x375)](_0x241e5e,_0x2736d9);const _0x2ef915=_0x53fef5['isEmpty'](),_0x13c393=_0x53fef5[_0x2832f6(0x448)]()[_0x2832f6(0x486)](),_0x43bfbd=_0x53fef5[_0x2832f6(0x451)]();_0x1b3a13['setValuePivotFilter']={'view':_0x13c393,'changesets':_0x43bfbd,'isEmpty':_0x2ef915,'pivotTableConfig':_0x37cfa7};}break;case _0x1ae0ae['SetPivotSort']:{const _0x4cce57=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x35d)];if(!_0x4cce57)return;const {tableFieldId:_0x1c73ef,info:_0x419b3c}=_0x4cce57,_0xf6f1b=this[_0x2832f6(0x197)]['getPivotTableInstance'](_0x2c4a59),_0xf20a46=this[_0x2832f6(0x197)][_0x2832f6(0x21d)](_0x249fa8,_0x3f7f78,_0x2c4a59);if(!_0xf6f1b||!_0xf20a46)return;_0xf6f1b[_0x2832f6(0x1f6)](),_0xf6f1b[_0x2832f6(0x25c)](_0x1c73ef,_0x419b3c);const _0x142673=_0xf6f1b['isEmpty'](),_0x310884=_0xf6f1b[_0x2832f6(0x448)]()[_0x2832f6(0x486)](),_0x32f7a7=_0xf6f1b[_0x2832f6(0x451)]();_0x1b3a13[_0x2832f6(0x35d)]={'view':_0x310884,'changesets':_0x32f7a7,'isEmpty':_0x142673,'pivotTableConfig':_0xf20a46};}break;case _0x1ae0ae[_0x2832f6(0x365)]:{const _0x1c8008=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x369)];if(!_0x1c8008)return;const {tableFieldId:_0x47d833,displayName:_0x15c80c,subtotalType:_0x3d0de6,format:_0x56d64c}=_0x1c8008,_0x3094b8=this[_0x2832f6(0x197)][_0x2832f6(0x42e)](_0x2c4a59),_0x3251bc=this['_sheetsPivotDataSourceModel'][_0x2832f6(0x21d)](_0x249fa8,_0x3f7f78,_0x2c4a59);if(!_0x3094b8||!_0x3251bc)return;_0x3094b8['startCollectChangeset'](),_0x15c80c!==void 0x0&&_0x3094b8[_0x2832f6(0x316)](_0x47d833,_0x15c80c),_0x3d0de6!==void 0x0&&_0x3094b8[_0x2832f6(0x31b)](_0x47d833,_0x3d0de6),_0x56d64c!==void 0x0&&_0x3094b8[_0x2832f6(0x306)](_0x47d833,_0x56d64c);const _0x3b9c4c=_0x3094b8[_0x2832f6(0x241)](),_0xaa8baa=_0x3094b8[_0x2832f6(0x448)]()[_0x2832f6(0x486)](),_0x4171b5=_0x3094b8['endCollectChangeset']();_0x1b3a13[_0x2832f6(0x369)]={'changesets':_0x4171b5,'pivotTableConfig':_0x3251bc,'isEmpty':_0x3b9c4c,'view':_0xaa8baa};}break;case _0x1ae0ae['UpdatePivotSource']:{const _0x3eaeff=_0x4bdc83['params']['updatePivotSource'];if(!_0x3eaeff)return;const {dataRangeInfo:_0x57a752,unitId:_0x44bec0,subUnitId:_0x454701}=_0x3eaeff,_0x5518cf=this['_sheetsPivotDataSourceModel'][_0x2832f6(0x21d)](_0x44bec0,_0x454701,_0x2c4a59),_0x12926e=this[_0x2832f6(0x197)]['getPivotTableInstance'](_0x2c4a59);if(!this[_0x2832f6(0x197)]['getCollection'](_0x44bec0,_0x2c4a59)||!_0x12926e||!_0x5518cf)return;const _0x250288=this[_0x2832f6(0x197)][_0x2832f6(0x2a5)](_0x44bec0,_0x2c4a59,_0x57a752),_0x37962f=this[_0x2832f6(0x197)][_0x2832f6(0x3b2)](_0x44bec0,_0x2c4a59)[_0x2832f6(0x486)](),{collection:_0x38f6f7}=this[_0x2832f6(0x197)]['createCollectionWithDataRange']({'unitId':_0x57a752[_0x2832f6(0x39a)],'sheetName':_0x57a752['sheetName'],'subUnitId':_0x57a752['subUnitId'],'range':_0x57a752[_0x2832f6(0x46e)]}),_0x44676e=_0x38f6f7[_0x2832f6(0x486)]();_0x12926e[_0x2832f6(0x1f6)]();const _0x3252f2=this[_0x2832f6(0x197)]['getDataFieldManager'](_0x44bec0)[_0x2832f6(0x1f4)]()||_0x15c500['getAutoDisplayName'];_0x12926e[_0x2832f6(0x4aa)](_0x51c964=>{const _0x42ee7a=_0x2832f6,_0x290d60=_0x51c964[_0x42ee7a(0x3aa)]();if(!_0x38f6f7[_0x42ee7a(0x405)](_0x290d60)){const _0x5053a6=_0x38f6f7[_0x42ee7a(0x348)](_0x51c964[_0x42ee7a(0x1b7)]());if(_0x5053a6){_0x12926e[_0x42ee7a(0x32a)](_0x51c964[_0x42ee7a(0x204)](),_0x5053a6[_0x42ee7a(0x301)](),_0x5053a6['getId']());const {area:_0xbf658a}=_0x12926e[_0x42ee7a(0x2ef)](_0x51c964[_0x42ee7a(0x204)]());let _0x518ab8=_0x51c964['getSourceName']();const _0x543b80=_0x51c964['getDisplayName']();if(_0xbf658a===_0x15c500[_0x42ee7a(0x2c1)][_0x42ee7a(0x34c)]){const _0x2dafb2=_0x51c964[_0x42ee7a(0x3ea)]();_0x518ab8=_0x3252f2(_0x5053a6[_0x42ee7a(0x301)](),_0x2dafb2);}_0x543b80!==_0x518ab8&&_0x12926e['renameField'](_0x51c964[_0x42ee7a(0x204)](),_0x518ab8);}else _0x12926e['removeField'](_0x51c964[_0x42ee7a(0x204)]());}});const _0x36205e=_0x12926e[_0x2832f6(0x241)](),_0x5eaeeb=_0x12926e['query']()[_0x2832f6(0x486)](),_0x45037f=_0x12926e[_0x2832f6(0x451)]();_0x1b3a13[_0x2832f6(0x438)]={'view':_0x5eaeeb,'changesets':_0x45037f,'isEmpty':_0x36205e,'pivotTableConfig':_0x5518cf,'collectionConfig':_0x44676e,'oldCollectionConfig':_0x37962f,'deleteIds':_0x250288};}break;case _0x1ae0ae[_0x2832f6(0x464)]:{const _0x29f4c3=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x356)];if(!_0x29f4c3)return;const {position:_0x16813d,index:_0x5a86ec}=_0x29f4c3,_0x3b893d=this[_0x2832f6(0x197)][_0x2832f6(0x21d)](_0x249fa8,_0x3f7f78,_0x2c4a59);if(!_0x3b893d)return!0x1;const _0x452bf3=this['_sheetsPivotDataSourceModel'][_0x2832f6(0x42e)](_0x2c4a59);if(!_0x452bf3)return!0x1;_0x452bf3[_0x2832f6(0x1f6)](),_0x452bf3[_0x2832f6(0x356)](_0x16813d,_0x5a86ec);const _0x1cfb8b=_0x452bf3[_0x2832f6(0x241)](),_0x12ecc4=_0x452bf3[_0x2832f6(0x448)]()[_0x2832f6(0x486)](),_0x55aaca=_0x452bf3['endCollectChangeset']();_0x1b3a13[_0x2832f6(0x356)]={'changesets':_0x55aaca,'pivotTableConfig':_0x3b893d,'isEmpty':_0x1cfb8b,'view':_0x12ecc4};}break;case _0x1ae0ae[_0x2832f6(0x257)]:{const _0x2647f0=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x1c0)];if(!_0x2647f0)return;const {tableFieldId:_0x2cb838,collapse:_0x1967d1,item:_0x5d02d5}=_0x2647f0,_0x581179=this[_0x2832f6(0x197)][_0x2832f6(0x42e)](_0x2c4a59),_0x432d13=this[_0x2832f6(0x197)]['getPivotTableConfig'](_0x249fa8,_0x3f7f78,_0x2c4a59);if(!_0x581179||!_0x432d13)return;_0x581179[_0x2832f6(0x1f6)](),_0x581179[_0x2832f6(0x20b)](_0x2cb838,_0x1967d1,_0x5d02d5);const _0x4575c3=_0x581179[_0x2832f6(0x241)](),_0x14f0d2=_0x581179[_0x2832f6(0x448)]()[_0x2832f6(0x486)](),_0x471bed=_0x581179[_0x2832f6(0x451)]();_0x1b3a13[_0x2832f6(0x1c0)]={'view':_0x14f0d2,'isEmpty':_0x4575c3,'pivotTableConfig':_0x432d13,'changesets':_0x471bed};}break;case _0x1ae0ae['SetPivotTableConfig']:{const _0x43af5d=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x2cf)];if(!_0x43af5d)return;const {pivotTableConfig:_0x254109}=_0x43af5d,_0x509d7f=this['_sheetsPivotDataSourceModel'][_0x2832f6(0x42e)](_0x2c4a59),_0x5ddf75=this['_sheetsPivotDataSourceModel'][_0x2832f6(0x21d)](_0x249fa8,_0x3f7f78,_0x2c4a59);if(!_0x509d7f||!_0x5ddf75)return;_0x509d7f[_0x2832f6(0x1f6)](),_0x147162(_0x509d7f,_0x254109);const _0x314422=_0x509d7f['isEmpty'](),_0x1dff69=_0x509d7f['query']()[_0x2832f6(0x486)](),_0x57b4d2=_0x509d7f[_0x2832f6(0x451)]();_0x1b3a13['setPivotTableConfig']={'view':_0x1dff69,'isEmpty':_0x314422,'pivotTableConfig':{..._0x5ddf75,'fieldsConfig':_0x509d7f[_0x2832f6(0x486)]()},'changesets':_0x57b4d2};}break;case _0x1ae0ae[_0x2832f6(0x32d)]:{const _0x5c616b=_0x4bdc83[_0x2832f6(0x418)][_0x2832f6(0x396)];if(!_0x5c616b)return;const _0x1cd0fc=this[_0x2832f6(0x197)][_0x2832f6(0x42e)](_0x2c4a59),_0x224ba7=this[_0x2832f6(0x197)]['getPivotTableConfig'](_0x249fa8,_0x3f7f78,_0x2c4a59);if(!_0x1cd0fc||!_0x224ba7)return;_0x1cd0fc[_0x2832f6(0x1f6)](),_0x2106ff(_0x1cd0fc,_0x5c616b[_0x2832f6(0x31c)]);const _0x3d3b74=_0x1cd0fc[_0x2832f6(0x448)]()[_0x2832f6(0x486)](),_0x1a98a8=_0x1cd0fc[_0x2832f6(0x451)]();_0x1b3a13[_0x2832f6(0x396)]={'view':_0x3d3b74,'isEmpty':!0x0,'pivotTableConfig':{..._0x224ba7,'fieldsConfig':_0x1cd0fc[_0x2832f6(0x486)]()},'changesets':_0x1a98a8};}break;case _0x1ae0ae[_0x2832f6(0x31e)]:{const _0x4b0767=_0x4bdc83['params'][_0x2832f6(0x1c8)];if(!_0x4b0767)return;const _0x43fc27=_0x4b0767[_0x2832f6(0x252)],_0x797455=_0x4b0767[_0x2832f6(0x34a)],{collection:_0x2d9596}=this[_0x2832f6(0x197)][_0x2832f6(0x1e4)]({'unitId':_0x43fc27[_0x2832f6(0x39a)],'sheetName':_0x43fc27['sheetName'],'subUnitId':_0x43fc27[_0x2832f6(0x2bd)],'range':_0x43fc27['range']}),_0x5b1e8f=new _0x15c500[(_0x2832f6(0x1fa))](_0x2d9596,void 0x0,_0x797455),_0x1efead=_0x2d9596['getFieldIds'](),{rows:_0x52d8f6,columns:_0x3be126,filters:_0x5ceda3,values:_0x2dd82d}=_0x4b0767['pivotTableIndexConfig'];_0x5b1e8f[_0x2832f6(0x1f6)]();for(const {field:_0x356670,selectedItems:_0x500338}of _0x52d8f6||[]){const _0xbe2378=_0x1efead[_0x356670];if(_0xbe2378){const _0x454f05=_0x5b1e8f[_0x2832f6(0x3f1)](_0xbe2378,_0x15c500[_0x2832f6(0x2c1)][_0x2832f6(0x3d7)]);_0x500338&&_0x454f05&&_0x5b1e8f[_0x2832f6(0x3ab)](_0x454f05[_0x2832f6(0x204)](),{'type':_0x15c500['PivotFilterTypeEnum']['ManualFilter'],'list':_0x500338,'isAll':!0x1});}}for(const {field:_0x5433b3,selectedItems:_0x21ec13}of _0x3be126||[]){const _0x249b94=_0x1efead[_0x5433b3];if(_0x249b94){const _0x1c6c3a=_0x5b1e8f['addFieldWithSourceId'](_0x249b94,_0x15c500[_0x2832f6(0x2c1)][_0x2832f6(0x437)]);_0x21ec13&&_0x1c6c3a&&_0x5b1e8f[_0x2832f6(0x3ab)](_0x1c6c3a['getId'](),{'type':_0x15c500[_0x2832f6(0x19c)][_0x2832f6(0x32e)],'list':_0x21ec13,'isAll':!0x1});}}for(const {field:_0x2bad06,selectedItems:_0x39dc90}of _0x5ceda3||[]){const _0x526477=_0x1efead[_0x2bad06];if(_0x526477){const _0x34b25f=_0x5b1e8f[_0x2832f6(0x3f1)](_0x526477,_0x15c500[_0x2832f6(0x2c1)][_0x2832f6(0x1d6)]);_0x39dc90&&_0x34b25f&&_0x5b1e8f[_0x2832f6(0x3ab)](_0x34b25f[_0x2832f6(0x204)](),{'type':_0x15c500['PivotFilterTypeEnum'][_0x2832f6(0x32e)],'list':_0x39dc90,'isAll':!0x1});}}for(const {field:_0x14bca0,subTotalType:_0x3f7c51,formatString:_0x2a3551}of _0x2dd82d||[]){const _0x4742fb=_0x2d9596[_0x2832f6(0x258)](_0x1efead[_0x14bca0]);if(!_0x4742fb)continue;const _0x4b1505=_0x1efead[_0x14bca0];if(_0x4b1505){const _0x15ebf1=_0x5b1e8f[_0x2832f6(0x3f1)](_0x4b1505,_0x15c500[_0x2832f6(0x2c1)]['Value']);if(_0x15ebf1){if(_0x3f7c51!==void 0x0){_0x5b1e8f[_0x2832f6(0x31b)](_0x15ebf1[_0x2832f6(0x204)](),_0x3f7c51);const _0x13b6d4=this['_sheetsPivotDataSourceModel'][_0x2832f6(0x374)](_0x43fc27['unitId'])[_0x2832f6(0x1f4)]()||_0x15c500[_0x2832f6(0x321)],_0xcbd17f=_0x2d9596[_0x2832f6(0x3c8)](_0x4b1505),_0x1d8fa5=_0x13b6d4(_0xcbd17f,_0x3f7c51);_0x5b1e8f[_0x2832f6(0x316)](_0x15ebf1[_0x2832f6(0x204)](),_0x1d8fa5);}else{if(_0x4742fb){const _0x3d6a73=_0x4742fb==null?void 0x0:_0x4742fb[_0x2832f6(0x496)]();_0x5b1e8f['setSubtotalType'](_0x15ebf1[_0x2832f6(0x204)](),_0x3d6a73===_0x15c500[_0x2832f6(0x3c0)]['number']?_0x15c500[_0x2832f6(0x1ef)]['sum']:_0x15c500[_0x2832f6(0x1ef)][_0x2832f6(0x3d5)]);}}_0x2a3551&&_0x5b1e8f[_0x2832f6(0x306)](_0x15ebf1[_0x2832f6(0x204)](),_0x2a3551);}}}const _0xd005e0=_0x5b1e8f[_0x2832f6(0x448)](),_0x2fbc23=_0x5b1e8f[_0x2832f6(0x486)](),_0x110e9b=_0x5b1e8f[_0x2832f6(0x241)](),_0x65a044=_0x5b1e8f[_0x2832f6(0x451)](),_0x8c5f7c=_0x2d9596[_0x2832f6(0x486)]();_0x1b3a13['addPivotTableWithConfig']={'view':_0xd005e0,'fieldsConfig':_0x2fbc23,'collectionConfig':_0x8c5f7c,'isEmpty':_0x110e9b,'changesets':_0x65a044};}break;case _0x1ae0ae[_0x2832f6(0x471)]:{const _0x378d7f=_0x2505ec(this['_injector'],_0x4bdc83);if(!_0x378d7f)return;const {range:_0x5d01b7,sourceSubUnitId:_0x145863,sourceUnitId:_0x57c508,formatMap:_0x555616,indexes:_0x5b1f9d}=_0x378d7f;_0x1b3a13[_0x2832f6(0x362)]={'range':_0x5d01b7,'sourceSubUnitId':_0x145863,'sourceUnitId':_0x57c508,'formatMap':_0x555616,'indexes':_0x5b1f9d};}break;}this[_0x2832f6(0x444)][_0x2832f6(0x2ff)](_0x3d05f5['id'],{'version':_0x4bdc83[_0x2832f6(0x344)],'result':_0x1b3a13},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x46af60=>{const _0x58c337=_0x286d;if(_0x46af60['id']!==_0x7d7c7['id'])return;const _0x2cb24d=_0x46af60[_0x58c337(0x418)];return this[_0x58c337(0x197)]['setTextInfo'](_0x2cb24d[_0x58c337(0x272)]),!0x0;}));}[_0x97f3f(0x320)](){const _0x1eabb6=_0x97f3f;this['_sheetsPivotDataSourceModel']['collectionChange$'][_0x1eabb6(0x21a)](_0x56b205=>{const _0x46d89e=_0x1eabb6;switch(_0x56b205[_0x46d89e(0x305)]){case _0x14b9a3[_0x46d89e(0x349)]:_0x56b205['dataRangeInfo']&&_0x56b205[_0x46d89e(0x19a)]&&this[_0x46d89e(0x477)](_0x56b205[_0x46d89e(0x239)],_0x56b205[_0x46d89e(0x1c5)],_0x56b205[_0x46d89e(0x19a)]);break;case _0x14b9a3[_0x46d89e(0x3ca)]:{const {unitId:_0x4f020c,subUnitId:_0x934d9b,token:_0xf75575}=_0x56b205;_0x4f020c&&_0x934d9b&&_0xf75575&&this[_0x46d89e(0x3ee)](_0x4f020c,_0x934d9b,_0xf75575);}break;case _0x14b9a3[_0x46d89e(0x482)]:{const {token:_0x2bf3f8,oldSourceRangeInfo:_0x141d4f,dataRangeInfo:_0x5cffff,targetCellInfo:_0x1c738b}=_0x56b205,{unitId:_0xca732,subUnitId:_0x2181cd}=_0x141d4f||{};_0xca732&&_0x2181cd&&_0x2bf3f8&&this[_0x46d89e(0x3ee)](_0xca732,_0x2181cd,_0x2bf3f8),_0x5cffff&&_0x1c738b&&this[_0x46d89e(0x477)](_0x2bf3f8,_0x5cffff,_0x1c738b);}break;}});}[_0x97f3f(0x40f)](){const _0x65ce29=_0x97f3f;this[_0x65ce29(0x197)][_0x65ce29(0x44d)]['subscribe'](_0x415c6d=>{const _0x5216af=_0x65ce29;Object[_0x5216af(0x334)](_0x415c6d)['forEach'](_0x3cede4=>{const _0x15bc80=_0x5216af,_0x2f5066=this[_0x15bc80(0x197)][_0x15bc80(0x289)](_0x3cede4);if(_0x2f5066){const _0x1b84a9=this[_0x15bc80(0x197)][_0x15bc80(0x21d)](_0x2f5066==null?void 0x0:_0x2f5066[_0x15bc80(0x39a)],_0x2f5066==null?void 0x0:_0x2f5066[_0x15bc80(0x2bd)],_0x3cede4);_0x1b84a9&&(this[_0x15bc80(0x477)](_0x3cede4,_0x1b84a9[_0x15bc80(0x252)],_0x1b84a9[_0x15bc80(0x19a)]),this[_0x15bc80(0x341)]([{'unitId':_0x2f5066[_0x15bc80(0x39a)],'subUnitId':_0x2f5066[_0x15bc80(0x2bd)],'token':_0x3cede4}]));}});});}['_subjectViewChange'](){const _0x6e4165=_0x97f3f;this[_0x6e4165(0x197)][_0x6e4165(0x18d)][_0x6e4165(0x21a)](_0x1e5914=>{const {unitId:_0x262345,subUnitId:_0x3b19ca,pivotTableId:_0x4ae579}=_0x1e5914;_0x262345&&_0x3b19ca&&_0x4ae579&&this['triggerDirtyFeature']([{'unitId':_0x262345,'subUnitId':_0x3b19ca,'token':_0x4ae579}]);});}[_0x97f3f(0x341)](_0x134e44){const _0x196262=_0x97f3f,_0x12cee1={};_0x134e44['forEach'](_0x77c267=>{var _0x236743,_0x683552;const {unitId:_0x28faaa,subUnitId:_0x3a60fe,token:_0x2def8}=_0x77c267;_0x12cee1[_0x28faaa]=(_0x236743=_0x12cee1[_0x28faaa])!=null?_0x236743:{},_0x12cee1[_0x28faaa][_0x3a60fe]=(_0x683552=_0x12cee1[_0x28faaa][_0x3a60fe])!=null?_0x683552:{},_0x12cee1[_0x28faaa][_0x3a60fe][_0x2def8]=!0x0;}),this['_commandService'][_0x196262(0x2ff)](_0x1beddf['id'],_0x12cee1);}['removeSourceRangeChange'](_0xaf1552,_0x144605,_0x2adfc4){const _0x13f9fa=_0x97f3f;this['_featureCalculationManagerService'][_0x13f9fa(0x288)](_0xaf1552,_0x144605,[_0x2adfc4]);}['handleSourceRangeChange'](_0xba2a70,_0x4436be,_0xc5ad11){const _0x3a25bb=_0x97f3f,{unitId:_0x26e075,subUnitId:_0x589dfb}=_0x4436be;this[_0x3a25bb(0x275)][_0x3a25bb(0x364)](_0xc5ad11[_0x3a25bb(0x39a)],_0xc5ad11[_0x3a25bb(0x2bd)],_0xba2a70)&&this['removeSourceRangeChange'](_0x26e075,_0x589dfb,_0xba2a70);const _0x5c74c2={'sheetId':_0x589dfb,..._0x4436be};this['_featureCalculationManagerService']['register'](_0xc5ad11[_0x3a25bb(0x39a)],_0xc5ad11[_0x3a25bb(0x2bd)],_0xba2a70,{'unitId':_0xc5ad11[_0x3a25bb(0x39a)],'subUnitId':_0xc5ad11[_0x3a25bb(0x2bd)],'dependencyRanges':[_0x5c74c2],'getDirtyData':(_0x1f8465,_0x1d8e75)=>{const _0x5a3f50=_0x3a25bb,_0x30268d=this[_0x5a3f50(0x197)],_0x80dff1=_0x30268d[_0x5a3f50(0x289)](_0xba2a70);if(!_0x80dff1)return _0x2a2cc4();const {unitId:_0x49388a,subUnitId:_0x1a7aba}=_0x80dff1,_0x841ea5=_0x3e73c4(_0x1f8465,_0x1d8e75,_0x4436be);if(_0x841ea5[_0x5a3f50(0x376)]>0x0){const _0x555a1c=_0x30268d[_0x5a3f50(0x3b2)](_0x26e075,_0xba2a70),_0x8535a1=_0x555a1c[_0x5a3f50(0x1ab)](),_0x10adb0=this['getMatrixFromRunTimeData'](_0x4436be[_0x5a3f50(0x39a)],_0x4436be['subUnitId'],_0x1d8e75),_0x43cb09={},_0x334c6b=this[_0x5a3f50(0x197)][_0x5a3f50(0x374)](_0x49388a)[_0x5a3f50(0x1f4)]()||_0x15c500[_0x5a3f50(0x321)],_0x3e209b=[];for(const _0x3980fe of _0x841ea5){const _0x48ef7c=_0x3980fe-(_0x4436be[_0x5a3f50(0x46e)]['startColumn']||0x0),_0x2d7414=_0x8535a1[_0x48ef7c];_0x3e209b[_0x5a3f50(0x1fc)](_0x2d7414),_0x43cb09[_0x2d7414]=_0x555a1c[_0x5a3f50(0x258)](_0x2d7414)[_0x5a3f50(0x301)](),_0x30268d[_0x5a3f50(0x374)](_0x26e075)[_0x5a3f50(0x2a3)](_0x2d7414,_0x4436be,_0x48ef7c,_0x10adb0);}_0x555a1c[_0x5a3f50(0x3d2)](_0x3e209b)[_0x5a3f50(0x34f)](_0x269d0b=>{const _0x28fbd3=_0x5a3f50,[_0x50d030,_0x5d58e6]=_0x269d0b,_0x57da78=_0x555a1c[_0x28fbd3(0x258)](_0x50d030),_0x2d6824=_0x555a1c[_0x28fbd3(0x258)](_0x5d58e6);_0x57da78&&_0x2d6824&&_0x57da78[_0x28fbd3(0x234)](_0x2d6824);}),_0x555a1c['updateAllDisplayName']();const _0x2a63b3=_0x30268d['getPivotTableInstance'](_0xba2a70);if(_0x2a63b3){_0x46191e(_0x2a63b3,_0x43cb09,_0x334c6b),_0x2a63b3['setDirty'](!0x0);const _0x5c4051=_0x2a63b3['query'](),_0x59f3ed=_0x30268d['getPivotTableConfig'](_0x49388a,_0x1a7aba,_0xba2a70),_0x311b3b=_0x30268d[_0x5a3f50(0x374)](_0x26e075)[_0x5a3f50(0x486)]();_0x30268d[_0x5a3f50(0x439)](_0x49388a,_0x1a7aba,_0x532e5d[_0x5a3f50(0x3a5)],_0xba2a70,_0x5c4051,_0x59f3ed,_0x311b3b,!0x0);}}return this[_0x5a3f50(0x1a5)](_0x49388a,_0x1a7aba,_0xba2a70);}});}[_0x97f3f(0x3ff)](_0x2cc0ad,_0x4b1764,_0x39dc7b){var _0x3d8516,_0xe7d4fb;const {arrayFormulaCellData:_0x1e6959,unitData:_0x1d4d29}=_0x39dc7b,_0x576f1e=(_0x3d8516=_0x1e6959==null?void 0x0:_0x1e6959[_0x2cc0ad])==null?void 0x0:_0x3d8516[_0x4b1764],_0x48956c=(_0xe7d4fb=_0x1d4d29==null?void 0x0:_0x1d4d29[_0x2cc0ad])==null?void 0x0:_0xe7d4fb[_0x4b1764];return{'arrayFormulaCellDataMatrix':_0x576f1e,'unitDataMatrix':_0x48956c};}[_0x97f3f(0x1a5)](_0x3ef5b1,_0x3af218,_0x843640){const _0xd7fac2=_0x97f3f,_0x58f15a=this[_0xd7fac2(0x197)][_0xd7fac2(0x49b)](_0x3ef5b1,_0x3af218,_0x843640),_0x3dd25d=[],_0x593df2=new _0x2d1844[(_0xd7fac2(0x19d))]();if(_0x58f15a){const {rangeCache:_0x572c73,matrix:_0x40ee8b,oldRangeCache:_0x347c45,oldMatrix:_0x51fb11}=_0x58f15a,_0x5479df=_0x13c172(_0x347c45),_0x1bdd09=_0x13c172(_0x572c73);_0x3dd25d[_0xd7fac2(0x1fc)](..._0x1bdd09,..._0x5479df),_0x51fb11&&_0x347c45&&_0x5479df[_0xd7fac2(0x34f)](_0x5e9e56=>{const _0x419aa3=_0xd7fac2;for(let _0x36a42b=_0x5e9e56['startRow'];_0x36a42b<=_0x5e9e56[_0x419aa3(0x2b5)];_0x36a42b++)for(let _0x2048ef=_0x5e9e56[_0x419aa3(0x3d6)];_0x2048ef<=_0x5e9e56[_0x419aa3(0x43a)];_0x2048ef++)_0x593df2[_0x419aa3(0x1d3)](_0x36a42b,_0x2048ef);}),_0x40ee8b&&_0x1bdd09&&_0x1bdd09[_0xd7fac2(0x34f)](_0x332b5c=>{const _0x36d1bc=_0xd7fac2;for(let _0x525e6b=_0x332b5c[_0x36d1bc(0x2b8)];_0x525e6b<=_0x332b5c[_0x36d1bc(0x2b5)];_0x525e6b++)for(let _0x29715b=_0x332b5c[_0x36d1bc(0x3d6)];_0x29715b<=_0x332b5c[_0x36d1bc(0x43a)];_0x29715b++)_0x593df2[_0x36d1bc(0x2eb)](_0x525e6b,_0x29715b,_0x40ee8b[_0x36d1bc(0x370)](_0x525e6b,_0x29715b));});}const _0x5243fb={};return _0x5243fb[_0x3ef5b1]={[_0x3af218]:_0x1dbc04(_0x3dd25d)},{'runtimeCellData':{[_0x3ef5b1]:{[_0x3af218]:_0x593df2}},'dirtyRanges':_0x5243fb};}[_0x97f3f(0x24d)](){}};_0x1192e8=_0x1e66a5([_0x5310e0(0x0,_0x2d1844[_0x97f3f(0x4a0)](_0x3d41c7[_0x97f3f(0x3a2)])),_0x5310e0(0x1,_0x2d1844['IConfigService']),_0x5310e0(0x2,_0x2d1844[_0x97f3f(0x4a0)](_0x132f13[_0x97f3f(0x403)])),_0x5310e0(0x3,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x35c)])),_0x5310e0(0x4,_0x2d1844[_0x97f3f(0x4a0)](_0x132f13[_0x97f3f(0x2f5)])),_0x5310e0(0x5,_0x2d1844['Inject'](_0x2d1844[_0x97f3f(0x2b2)]))],_0x1192e8);var _0x445cbe=Object['getOwnPropertyDescriptor'],_0x15c7e9=(_0x276e93,_0x24f819,_0x190c92,_0x2062e9)=>{const _0x4be385=_0x97f3f;for(var _0xa683bb=_0x2062e9>0x1?void 0x0:_0x2062e9?_0x445cbe(_0x24f819,_0x190c92):_0x24f819,_0x5bd01f=_0x276e93[_0x4be385(0x376)]-0x1,_0x2071bf;_0x5bd01f>=0x0;_0x5bd01f--)(_0x2071bf=_0x276e93[_0x5bd01f])&&(_0xa683bb=_0x2071bf(_0xa683bb)||_0xa683bb);return _0xa683bb;},_0x58f124=(_0x4284bd,_0x4fa4f0)=>(_0x1462ae,_0x49c098)=>_0x4fa4f0(_0x1462ae,_0x49c098,_0x4284bd);let _0xc61200=class extends _0x2d1844[_0x97f3f(0x3a4)]{constructor(_0x4b0e1b,_0x202e6f,_0x3b0d38,_0x13b587){const _0x31689d=_0x97f3f;super(),_0x4a9226(this,_0x31689d(0x255),new _0x2d1844['DisposableCollection']()),(this[_0x31689d(0x1bf)]=_0x4b0e1b,this[_0x31689d(0x287)]=_0x202e6f,this[_0x31689d(0x2b7)]=_0x3b0d38,this['_sheetsPivotTableConfigModel']=_0x13b587,this[_0x31689d(0x38d)]());}[_0x97f3f(0x38d)](){const _0x485c72=_0x97f3f;this[_0x485c72(0x311)](this['_sheetInterceptorService'][_0x485c72(0x25e)]({'getMutations':_0x150903=>{const _0x213333=_0x485c72;if(_0x150903['id']===_0xbdc533['ClearSelectionContentCommand']['id']||_0x150903['id']===_0xbdc533[_0x213333(0x3f6)]['id']){const _0x5098e3=[],_0x510635=[],_0x4028c5=this[_0x213333(0x2b7)][_0x213333(0x481)]()[_0x213333(0x2ad)](_0x6e5160=>_0x6e5160[_0x213333(0x46e)]),_0xb00d09=_0xbdc533[_0x213333(0x2e0)](this[_0x213333(0x1bf)]);if(!_0xb00d09)return{'redos':[],'undos':[]};const {unitId:_0x53a6e5,subUnitId:_0x464d81}=_0xb00d09,_0x50f7f9={},_0x42bf2d=this[_0x213333(0x49f)]['getSubUnitPivotConfigs'](_0x53a6e5,_0x464d81);if(_0x42bf2d!=null&&_0x42bf2d[_0x213333(0x35f)])for(const [_0x4c8fa5,_0x5122c0]of _0x42bf2d){const {unitId:_0x145f65,subUnitId:_0x405d53,row:_0x3c8a53,col:_0x56d83c}=_0x5122c0[_0x213333(0x19a)];_0x145f65===_0xb00d09['unitId']&&_0x405d53===_0xb00d09[_0x213333(0x2bd)]&&(_0x50f7f9[_0x3c8a53+'-'+_0x56d83c]=_0x4c8fa5);}return _0x4028c5&&_0xb00d09&&_0x4028c5['forEach'](_0x1a111d=>{const _0x5101a6=_0x213333;_0x2d1844[_0x5101a6(0x38b)]['foreach'](_0x1a111d,(_0x4bb906,_0x2bd42d)=>{const _0x33fc82=_0x5101a6,_0xb2317f=_0x4bb906+'-'+_0x2bd42d;if(_0x50f7f9[_0xb2317f]){const _0x281472=_0x50f7f9[_0xb2317f];_0x5098e3[_0x33fc82(0x1fc)]({'id':_0x10da6e['id'],'params':{'unitId':_0x53a6e5,'subUnitId':_0x464d81,'pivotTableId':_0x281472}});const _0x213820=this[_0x33fc82(0x49f)][_0x33fc82(0x3b2)](_0x53a6e5,_0x281472),_0x2bc381=this[_0x33fc82(0x49f)][_0x33fc82(0x21d)](_0x53a6e5,_0x464d81,_0x281472);_0x510635[_0x33fc82(0x1fc)]({'id':_0x158653['id'],'params':{'unitId':_0x53a6e5,'subUnitId':_0x464d81,'pivotTableId':_0x281472,'pivotTableConfig':_0x2bc381,'collectionConfig':_0x213820}});}});}),{'redos':_0x5098e3,'undos':_0x510635};}return{'redos':[],'undos':[]};}}));}};_0xc61200=_0x15c7e9([_0x58f124(0x0,_0x2d1844['IUniverInstanceService']),_0x58f124(0x1,_0x2d1844[_0x97f3f(0x4a0)](_0xbdc533[_0x97f3f(0x225)])),_0x58f124(0x2,_0x2d1844['Inject'](_0xbdc533[_0x97f3f(0x263)])),_0x58f124(0x3,_0x2d1844[_0x97f3f(0x4a0)](_0x3d41c7[_0x97f3f(0x499)]))],_0xc61200);var _0xa0b184=Object[_0x97f3f(0x1a1)],_0x527b3b=(_0x5717d1,_0x5e2dde,_0x252118,_0x516574)=>{for(var _0x4ff19a=_0x516574>0x1?void 0x0:_0x516574?_0xa0b184(_0x5e2dde,_0x252118):_0x5e2dde,_0x29a9f0=_0x5717d1['length']-0x1,_0xbd83ae;_0x29a9f0>=0x0;_0x29a9f0--)(_0xbd83ae=_0x5717d1[_0x29a9f0])&&(_0x4ff19a=_0xbd83ae(_0x4ff19a)||_0x4ff19a);return _0x4ff19a;},_0x4934a4=(_0x2025b6,_0x3818f7)=>(_0x18b745,_0x2d7b8a)=>_0x3818f7(_0x18b745,_0x2d7b8a,_0x2025b6);let _0x5e90dc=class extends _0x2d1844[_0x97f3f(0x3a4)]{constructor(_0x2ad355,_0x52979e,_0x5a2604,_0x3187d1,_0x93f8ce,_0x4300be){const _0xa313fd=_0x97f3f;super(),this['_localeService']=_0x2ad355,this[_0xa313fd(0x287)]=_0x52979e,this['_injector']=_0x5a2604,this[_0xa313fd(0x1bf)]=_0x3187d1,this[_0xa313fd(0x49f)]=_0x93f8ce,this[_0xa313fd(0x342)]=_0x4300be,this['_initCommandInterceptListener']();}[_0x97f3f(0x323)](_0x48dfea,_0x1e5626,_0x3931ea){const _0x2c9a42=_0x97f3f,{pageView:_0xe9b2d,cornerView:_0x5effbe,rowView:_0x4d5b56,colView:_0x495d1d,dataView:_0x12c950}=_0x1e5626,_0x1edcd2=_0x48dfea;let _0x2d7004;if(_0x3931ea)_0x2d7004=[..._0x491299(_0x1edcd2)];else{const _0x313a22=_0x56818c(_0x1edcd2,_0xe9b2d,!0x0),_0x55c7b9=_0xe9b2d[_0x2c9a42(0x34b)]>=0x0?_0xe9b2d[_0x2c9a42(0x34b)]+0x1:0x0,_0x2436fd=_0x5effbe[_0x2c9a42(0x38a)],_0x4bba00=_0x5effbe[_0x2c9a42(0x274)],_0x491c33=_0x313a22['length']>0x0?_0x356b5c:0x0,_0x1cc81b=_0x56818c({'row':_0x1edcd2[_0x2c9a42(0x41b)]+_0x55c7b9+_0x491c33,'col':_0x1edcd2[_0x2c9a42(0x36c)]},_0x5effbe,!0x1,!0x1),_0x454c82=_0x56818c({'row':_0x1edcd2[_0x2c9a42(0x41b)]+_0x55c7b9+_0x491c33+_0x2436fd,'col':_0x1edcd2[_0x2c9a42(0x36c)]},_0x4d5b56,!0x1,!0x0),_0x2cc601=_0x56818c({'row':_0x1edcd2[_0x2c9a42(0x41b)]+_0x55c7b9+_0x491c33,'col':_0x1edcd2[_0x2c9a42(0x36c)]+_0x4bba00},_0x495d1d,!0x1,!0x0),_0x5d752b=_0x56818c({'row':_0x1edcd2[_0x2c9a42(0x41b)]+_0x55c7b9+_0x491c33+_0x2436fd,'col':_0x1edcd2[_0x2c9a42(0x36c)]+_0x4bba00},_0x12c950,!0x1,!0x0);_0x2d7004=[..._0x313a22,..._0x1cc81b,..._0x454c82,..._0x2cc601,..._0x5d752b];}return _0x2d7004;}[_0x97f3f(0x36f)](){const _0xb242de=_0x97f3f;this[_0xb242de(0x311)](this[_0xb242de(0x342)][_0xb242de(0x485)][_0xb242de(0x3e3)](this[_0xb242de(0x342)][_0xb242de(0x485)]['getInterceptPoints']()[_0xb242de(0x390)],{'handler':(_0x5701a2,_0x239dfc)=>{const _0x5a92e6=_0xb242de,{cellInfo:_0x131ac4,view:_0x5e10eb,isEmpty:_0x3e310b}=_0x239dfc,_0x1f8233=_0x131ac4,{unitId:_0x3e4521,subUnitId:_0x1357ce}=_0x1f8233,_0x473a5f=this[_0x5a92e6(0x323)](_0x131ac4,_0x5e10eb,_0x3e310b),_0x4eeb97=this['_sheetInterceptorService'][_0x5a92e6(0x2fc)]({'unitId':_0x3e4521,'subUnitId':_0x1357ce,'ranges':_0x473a5f}),_0x576b7a=_0x1ea4b3(this[_0x5a92e6(0x3ba)],_0x3e4521,_0x1357ce,_0x473a5f);_0x576b7a[_0x5a92e6(0x30c)]&&(_0x4eeb97['redos'][_0x5a92e6(0x1fc)](_0x576b7a[_0x5a92e6(0x231)]),_0x4eeb97['undos'][_0x5a92e6(0x1fc)](_0x576b7a[_0x5a92e6(0x219)]));const _0xc552d9=this[_0x5a92e6(0x27e)](_0x5e10eb,_0x131ac4);return _0x4eeb97['redos'][_0x5a92e6(0x1fc)](..._0xc552d9[_0x5a92e6(0x1d7)]),_0x4eeb97[_0x5a92e6(0x1a3)][_0x5a92e6(0x1fc)](..._0xc552d9[_0x5a92e6(0x1a3)]),{'redos':_0x4eeb97[_0x5a92e6(0x1d7)],'undos':_0x4eeb97[_0x5a92e6(0x1a3)]};}}));}[_0x97f3f(0x27e)](_0x55fcd0,_0x363609){const _0x4c7e03=_0x97f3f,{col:_0x4f0309,unitId:_0x173538,subUnitId:_0x5cb2ad}=_0x363609,_0x51c72e=[],_0x3fef70=[],_0x2e5b3c=_0xbdc533[_0x4c7e03(0x2e0)](this[_0x4c7e03(0x1bf)],{'unitId':_0x173538,'subUnitId':_0x5cb2ad});if(!_0x363609||!_0x55fcd0||!_0x2e5b3c)return{'undos':_0x3fef70,'redos':_0x51c72e};const _0x41f64e=this[_0x4c7e03(0x49f)]['getTextInfo'](),{colView:_0x516c39,dataView:_0xeedec8,cornerView:_0x547bd2,rowView:_0x2efd9f,formatMap:_0x5be11e}=_0x55fcd0,_0x973915=_0x22120c(_0x516c39,_0x41f64e,!0x0,_0x5be11e),_0x3bb065=_0x22120c(_0x2efd9f,_0x41f64e,!0x1,_0x5be11e),_0x45f829=_0x49df47(_0xeedec8),_0x3b4831=_0x5217d0(_0x547bd2),{worksheet:_0x43f6d3}=_0x2e5b3c;if(typeof window<'u'&&window['document']){const _0x5c48fc=_0x328244[_0x4c7e03(0x386)]({..._0x4cde20[_0x4c7e03(0x1bc)]}),_0x211600=_0x328244['FontCache'][_0x4c7e03(0x277)](_0x973915,_0x5c48fc)['width']+0x10,_0x3b48d9=_0x328244[_0x4c7e03(0x1df)][_0x4c7e03(0x277)](_0x45f829,_0x5c48fc)[_0x4c7e03(0x203)],_0x5600ab=Math['floor'](Math[_0x4c7e03(0x22c)](_0x211600,_0x3b48d9))+0x10,_0x1488db=Math[_0x4c7e03(0x4a9)](_0x328244[_0x4c7e03(0x1df)]['getTextSize'](_0x3bb065,_0x5c48fc)[_0x4c7e03(0x203)]),_0x387668=Math[_0x4c7e03(0x4a9)](_0x328244[_0x4c7e03(0x1df)][_0x4c7e03(0x277)](_0x3b4831,_0x5c48fc)[_0x4c7e03(0x203)]),_0x2dc7f0=Math[_0x4c7e03(0x22c)](_0x1488db,_0x387668,0x28)+0xc,_0x233443=_0x516c39[_0x4c7e03(0x274)]+_0x547bd2[_0x4c7e03(0x274)],_0x1b2999={},_0x9adf35={};for(let _0xfef7e3=_0x4f0309;_0xfef7e3<_0x4f0309+_0x233443;_0xfef7e3++){const _0x5ba8d9=_0x43f6d3[_0x4c7e03(0x3eb)](_0xfef7e3);_0x1b2999[_0xfef7e3]=_0x5ba8d9,_0xfef7e3-_0x4f0309<_0x547bd2['colCount']?_0x9adf35[_0xfef7e3-_0x4f0309]=_0x2dc7f0:_0x9adf35[_0xfef7e3-_0x4f0309]=_0x5600ab;}_0x51c72e[_0x4c7e03(0x1fc)]({'id':_0xbdc533['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x5cb2ad,'unitId':_0x173538,'ranges':[{'startColumn':_0x4f0309,'endColumn':_0x4f0309+_0x233443-0x1,'startRow':0x0,'endRow':_0x43f6d3[_0x4c7e03(0x412)]()-0x1}],'colWidth':_0x9adf35}}),_0x3fef70[_0x4c7e03(0x1fc)]({'id':_0xbdc533[_0x4c7e03(0x38e)]['id'],'params':{'subUnitId':_0x5cb2ad,'unitId':_0x173538,'ranges':[{'startColumn':_0x4f0309,'endColumn':_0x4f0309+_0x233443-0x1,'startRow':0x0,'endRow':_0x43f6d3[_0x4c7e03(0x412)]()-0x1}],'colWidth':_0x1b2999}});}return{'undos':_0x3fef70,'redos':_0x51c72e};}};_0x5e90dc=_0x527b3b([_0x4934a4(0x0,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x284)])),_0x4934a4(0x1,_0x2d1844[_0x97f3f(0x4a0)](_0xbdc533[_0x97f3f(0x225)])),_0x4934a4(0x2,_0x2d1844['Inject'](_0x2d1844[_0x97f3f(0x2b2)])),_0x4934a4(0x3,_0x2d1844['Inject'](_0x2d1844[_0x97f3f(0x21b)])),_0x4934a4(0x4,_0x2d1844[_0x97f3f(0x4a0)](_0x3d41c7['SheetsPivotTableConfigModel'])),_0x4934a4(0x5,_0x2d1844[_0x97f3f(0x4a0)](_0x3d41c7[_0x97f3f(0x44e)]))],_0x5e90dc);var _0x299773=Object['getOwnPropertyDescriptor'],_0x8abe4f=(_0x4ef035,_0x43b118,_0x16b62b,_0xcfb599)=>{for(var _0x3d34ef=_0xcfb599>0x1?void 0x0:_0xcfb599?_0x299773(_0x43b118,_0x16b62b):_0x43b118,_0x2b17f2=_0x4ef035['length']-0x1,_0x43319b;_0x2b17f2>=0x0;_0x2b17f2--)(_0x43319b=_0x4ef035[_0x2b17f2])&&(_0x3d34ef=_0x43319b(_0x3d34ef)||_0x3d34ef);return _0x3d34ef;},_0x5ddde2=(_0x2ec386,_0xbfc236)=>(_0x5e3d01,_0x420383)=>_0xbfc236(_0x5e3d01,_0x420383,_0x2ec386);let _0xc1dbb9=class extends _0x2d1844[_0x97f3f(0x3a4)]{constructor(_0x2a4fa4,_0x4fdf24,_0x5eb2f7,_0x31a3ac,_0x3b51c1,_0x103450,_0x55d991){const _0x3a27ca=_0x97f3f;super(),_0x4a9226(this,_0x3a27ca(0x255),new _0x2d1844[(_0x3a27ca(0x48d))]()),(this[_0x3a27ca(0x3ba)]=_0x2a4fa4,this['_refRangeService']=_0x4fdf24,this['_commandService']=_0x5eb2f7,this[_0x3a27ca(0x1bf)]=_0x31a3ac,this[_0x3a27ca(0x49f)]=_0x3b51c1,this['_sheetsPivotTableAdaptorModel']=_0x103450,this[_0x3a27ca(0x287)]=_0x55d991,this[_0x3a27ca(0x3b9)]());}[_0x97f3f(0x3b9)](){const _0x440271=_0x97f3f,_0x59eb0b=(_0x462802,_0x4c1949)=>{const _0x532e49=_0x286d,_0x12974a=this[_0x532e49(0x1bf)][_0x532e49(0x1fd)](_0x2d1844[_0x532e49(0x400)]['UNIVER_SHEET']);if(!_0x12974a||!(_0x12974a==null?void 0x0:_0x12974a[_0x532e49(0x385)](_0x4c1949)))return;this[_0x532e49(0x255)][_0x532e49(0x24d)]();const _0x37943b=_0x4b204e=>this[_0x532e49(0x382)](_0x4b204e,_0x462802,_0x4c1949),_0x2f07f7=this['_sheetsPivotTableConfigModel'][_0x532e49(0x285)](_0x462802,_0x4c1949);if(!(_0x2f07f7!=null&&_0x2f07f7[_0x532e49(0x35f)]))return;Array[_0x532e49(0x393)](_0x2f07f7['values']())[_0x532e49(0x2ad)](_0x171930=>{const _0x519ef8=_0x532e49,{row:_0x480e2b,col:_0x52eea7}=_0x171930[_0x519ef8(0x19a)];return _0x2d1844[_0x519ef8(0x453)](_0x480e2b,_0x52eea7);})['forEach'](_0x5a7bf9=>{const _0x2acce8=_0x532e49;this[_0x2acce8(0x255)][_0x2acce8(0x349)](this[_0x2acce8(0x304)][_0x2acce8(0x467)](_0x5a7bf9,_0x37943b,_0x462802,_0x4c1949));});},_0x15cde0=()=>{const _0x14429e=_0x286d,_0x4ae2f4=this[_0x14429e(0x1bf)][_0x14429e(0x1fd)](_0x2d1844[_0x14429e(0x400)]['UNIVER_SHEET']);if(_0x4ae2f4){const _0x207bc8=_0x4ae2f4['getActiveSheet']();if(!_0x207bc8)return;_0x59eb0b(_0x4ae2f4[_0x14429e(0x1af)](),_0x207bc8[_0x14429e(0x1e7)]());}};this['disposeWithMe'](this[_0x440271(0x444)][_0x440271(0x3a0)](_0x190605=>{const _0x46ed3e=_0x440271;if(_0x190605['id']===_0xbdc533[_0x46ed3e(0x443)]['id']){const _0x2c0aa1=_0x190605['params'],_0x56217a=_0x2c0aa1[_0x46ed3e(0x2bd)],_0x5adf78=_0x2c0aa1[_0x46ed3e(0x39a)];if(!_0x56217a||!_0x5adf78)return;_0x59eb0b(_0x5adf78,_0x56217a);}})),this[_0x440271(0x311)](this[_0x440271(0x49f)][_0x440271(0x312)][_0x440271(0x21a)](_0x50508e=>{_0x50508e&&_0x15cde0();})),this[_0x440271(0x311)](this[_0x440271(0x49f)][_0x440271(0x300)][_0x440271(0x21a)](_0x2f52ee=>{const _0xc6ba48=_0x440271,_0x56aee5=_0xbdc533['getSheetCommandTarget'](this[_0xc6ba48(0x1bf)]);if(!_0x56aee5)return;const {unitId:_0x300413,subUnitId:_0x114a67}=_0x56aee5,{unitId:_0x57f187,subUnitId:_0x5dd4e9}=_0x2f52ee;_0x300413!==_0x57f187||_0x114a67!==_0x5dd4e9||_0x59eb0b(_0x300413,_0x114a67);})),_0x15cde0();}[_0x97f3f(0x382)](_0xeec14b,_0x245ae9,_0x21b84d){const _0x1c283f=_0x97f3f;switch(_0xeec14b['id']){case _0xbdc533[_0x1c283f(0x1fe)]['id']:return this[_0x1c283f(0x18a)](_0xeec14b['params'],_0x245ae9,_0x21b84d);}return{'redos':[],'undos':[]};}[_0x97f3f(0x18a)](_0x5623b5,_0x4f22df,_0x2c60f3){const _0x570478=_0x97f3f,{fromRange:_0x506456,toRange:_0x3f9658}=_0x5623b5,_0x4ee41c=[],_0x1cd4ea=[],_0x48d840=_0xbdc533[_0x570478(0x2e0)](this[_0x570478(0x1bf)]);if(!_0x48d840)return{'undos':_0x1cd4ea,'redos':_0x4ee41c};if(_0x4f22df!==_0x48d840[_0x570478(0x39a)]||_0x2c60f3!==_0x48d840[_0x570478(0x2bd)])return{'undos':_0x1cd4ea,'redos':_0x4ee41c};const _0x20fa8d=this[_0x570478(0x49f)][_0x570478(0x285)](_0x4f22df,_0x2c60f3);if(_0x20fa8d!=null&&_0x20fa8d[_0x570478(0x35f)])for(const [_0x34f04,_0x58acd2]of _0x20fa8d){const {unitId:_0x1c300e,subUnitId:_0x520d61,row:_0x563c3a,col:_0x15c71f}=_0x58acd2[_0x570478(0x19a)];if(_0x1c300e===_0x48d840[_0x570478(0x39a)]&&_0x520d61===_0x48d840[_0x570478(0x2bd)]){const _0x337166=_0x2d1844[_0x570478(0x453)](_0x563c3a,_0x15c71f);if(_0x2d1844['Rectangle'][_0x570478(0x3f2)](_0x337166,_0x506456)){const _0x49ee9d=_0x563c3a-_0x506456[_0x570478(0x2b8)],_0x420326=_0x15c71f-_0x506456['startColumn'],_0x530877={'row':_0x3f9658[_0x570478(0x2b8)]+_0x49ee9d,'col':_0x3f9658['startColumn']+_0x420326};_0x4ee41c[_0x570478(0x1fc)]({'id':_0x4c1b3e['id'],'params':{'unitId':_0x1c300e,'subUnitId':_0x520d61,'pivotTableId':_0x34f04,'targetCellPosition':_0x530877}}),_0x1cd4ea[_0x570478(0x1fc)]({'id':_0x4c1b3e['id'],'params':{'unitId':_0x1c300e,'subUnitId':_0x520d61,'pivotTableId':_0x34f04,'targetCellPosition':{'row':_0x563c3a,'col':_0x15c71f}}});const _0xd37059=_0x530877[_0x570478(0x41b)]-_0x563c3a,_0x105022=_0x530877['col']-_0x15c71f,_0x3d5d28=[],_0x3dc154=this[_0x570478(0x359)][_0x570478(0x243)](_0x1c300e,_0x520d61,_0x34f04),_0x58b1a2=_0x3dc154==null?void 0x0:_0x3dc154[_0x570478(0x3af)];if(_0x58b1a2){Object[_0x570478(0x334)](_0x58b1a2)[_0x570478(0x34f)](_0x13a6d3=>{const _0x1b01b8=_0x570478;_0x58b1a2[_0x13a6d3][_0x1b01b8(0x34f)](_0x2832d8=>{const _0xc93a8a=_0x1b01b8,_0x39461f={..._0x2832d8};_0x39461f[_0xc93a8a(0x2b8)]=_0x2832d8['startRow']+_0xd37059,_0x39461f[_0xc93a8a(0x2b5)]=_0x2832d8[_0xc93a8a(0x2b5)]+_0xd37059,_0x39461f[_0xc93a8a(0x3d6)]=_0x2832d8['startColumn']+_0x105022,_0x39461f[_0xc93a8a(0x43a)]=_0x2832d8['endColumn']+_0x105022,_0x3d5d28[_0xc93a8a(0x1fc)](_0x39461f);});});const _0x1c27db=this[_0x570478(0x287)][_0x570478(0x2fc)]({'unitId':_0x1c300e,'subUnitId':_0x520d61,'ranges':_0x3d5d28});_0x4ee41c[_0x570478(0x1fc)](..._0x1c27db[_0x570478(0x1d7)]),_0x1cd4ea[_0x570478(0x1fc)](..._0x1c27db[_0x570478(0x1a3)]);const _0xbb0590=_0x1ea4b3(this[_0x570478(0x3ba)],_0x1c300e,_0x520d61,_0x3d5d28);_0xbb0590['shouldClear']&&(_0x4ee41c[_0x570478(0x1fc)](_0xbb0590[_0x570478(0x231)]),_0x1cd4ea['push'](_0xbb0590[_0x570478(0x219)]));}}}}return{'redos':_0x4ee41c,'undos':_0x1cd4ea};}};_0xc1dbb9=_0x8abe4f([_0x5ddde2(0x0,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x2b2)])),_0x5ddde2(0x1,_0x2d1844['Inject'](_0xbdc533[_0x97f3f(0x476)])),_0x5ddde2(0x2,_0x2d1844[_0x97f3f(0x35c)]),_0x5ddde2(0x3,_0x2d1844[_0x97f3f(0x21b)]),_0x5ddde2(0x4,_0x2d1844[_0x97f3f(0x4a0)](_0x3d41c7[_0x97f3f(0x499)])),_0x5ddde2(0x5,_0x2d1844[_0x97f3f(0x4a0)](_0x3d41c7[_0x97f3f(0x402)])),_0x5ddde2(0x6,_0x2d1844[_0x97f3f(0x4a0)](_0xbdc533[_0x97f3f(0x225)]))],_0xc1dbb9);var _0x50b226=Object['getOwnPropertyDescriptor'],_0xe2d2c7=(_0xb8a682,_0x1a8f22,_0x4d811,_0x2c5e51)=>{const _0x5e2401=_0x97f3f;for(var _0x1135ba=_0x2c5e51>0x1?void 0x0:_0x2c5e51?_0x50b226(_0x1a8f22,_0x4d811):_0x1a8f22,_0x2f7ffb=_0xb8a682[_0x5e2401(0x376)]-0x1,_0x31ff3e;_0x2f7ffb>=0x0;_0x2f7ffb--)(_0x31ff3e=_0xb8a682[_0x2f7ffb])&&(_0x1135ba=_0x31ff3e(_0x1135ba)||_0x1135ba);return _0x1135ba;},_0x4608d7=(_0x26195d,_0x385d8)=>(_0x11b98b,_0x30bbd4)=>_0x385d8(_0x11b98b,_0x30bbd4,_0x26195d);let _0x4c3177=class extends _0x2d1844[_0x97f3f(0x3a4)]{constructor(_0x551a9a,_0x3c6cd5){const _0x176943=_0x97f3f;super(),this['_sheetInterceptorService']=_0x551a9a,this[_0x176943(0x49f)]=_0x3c6cd5,this[_0x176943(0x23c)]();}[_0x97f3f(0x23c)](){const _0x114b9d=_0x97f3f;this[_0x114b9d(0x311)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x162c9e=>{const _0x33f61e=_0x114b9d;if(_0x162c9e['id']===_0xbdc533[_0x33f61e(0x27c)]['id']){const _0x270f2e=[],_0x3bb513=[],_0x3c3432=_0x162c9e[_0x33f61e(0x418)],{unitId:_0x211681,subUnitId:_0x5733ef}=_0x3c3432;if(!_0x211681||!_0x5733ef)return{'undos':_0x3bb513,'redos':_0x270f2e};const _0x359c16=this['_sheetsPivotTableConfigModel'][_0x33f61e(0x285)](_0x211681,_0x5733ef);if(_0x359c16!=null&&_0x359c16[_0x33f61e(0x35f)])for(const [_0x20c17d,_0x229de9]of _0x359c16){_0x270f2e['push']({'id':_0x10da6e['id'],'params':{'unitId':_0x211681,'subUnitId':_0x5733ef,'pivotTableId':_0x20c17d}});const _0x402bd5={...this[_0x33f61e(0x49f)][_0x33f61e(0x3b2)](_0x211681,_0x20c17d)};_0x3bb513[_0x33f61e(0x1fc)]({'id':_0x158653['id'],'params':{'unitId':_0x211681,'subUnitId':_0x5733ef,'pivotTableId':_0x20c17d,'pivotTableConfig':_0x229de9,'collectionConfig':_0x402bd5}});}return{'redos':_0x270f2e,'undos':_0x3bb513};}return{'redos':[],'undos':[]};}}));}};_0x4c3177=_0xe2d2c7([_0x4608d7(0x0,_0x2d1844['Inject'](_0xbdc533[_0x97f3f(0x225)])),_0x4608d7(0x1,_0x2d1844[_0x97f3f(0x4a0)](_0x3d41c7['SheetsPivotTableConfigModel']))],_0x4c3177);var _0x2cc21b=Object[_0x97f3f(0x1a1)],_0x335396=(_0x82e9d9,_0x1e04c8,_0x1eae7d,_0x5e1d1d)=>{const _0x493813=_0x97f3f;for(var _0x8dbe13=_0x5e1d1d>0x1?void 0x0:_0x5e1d1d?_0x2cc21b(_0x1e04c8,_0x1eae7d):_0x1e04c8,_0x45bbac=_0x82e9d9[_0x493813(0x376)]-0x1,_0x47ab72;_0x45bbac>=0x0;_0x45bbac--)(_0x47ab72=_0x82e9d9[_0x45bbac])&&(_0x8dbe13=_0x47ab72(_0x8dbe13)||_0x8dbe13);return _0x8dbe13;},_0x15e708=(_0x2808b,_0x48944b)=>(_0x306be9,_0x5a834f)=>_0x48944b(_0x306be9,_0x5a834f,_0x2808b);let _0x17ef6c=class extends _0x2d1844[_0x97f3f(0x3a4)]{constructor(_0x144321,_0x4aedac,_0x46896b,_0x1e6144,_0x26eb5a,_0x15c982){const _0x229b6c=_0x97f3f;super(),this[_0x229b6c(0x444)]=_0x144321,this[_0x229b6c(0x1dc)]=_0x4aedac,this[_0x229b6c(0x359)]=_0x46896b,this['_sheetsPivotTableConfigModel']=_0x1e6144,this['_univerInstanceService']=_0x26eb5a,this[_0x229b6c(0x391)]=_0x15c982,this[_0x229b6c(0x296)](),this[_0x229b6c(0x491)]();}['_initDataSendListener'](){const _0x4b1366=_0x97f3f;this['disposeWithMe'](this[_0x4b1366(0x444)][_0x4b1366(0x3a0)](_0x594baf=>{const _0xd5ed38=_0x4b1366;if(_0x594baf['id']!==_0x3d05f5['id'])return;const _0x38d351=_0x594baf['params'];this[_0xd5ed38(0x1dc)][_0xd5ed38(0x221)](_0x38d351);})),this[_0x4b1366(0x311)](this[_0x4b1366(0x444)]['onCommandExecuted'](_0x2f16e8=>{const _0x203a04=_0x4b1366;if(_0x2f16e8['id']===_0x2a81da['id']){const _0x4c482f=_0x2f16e8['params'];if(_0x4c482f){const {unitId:_0x6e9bf0,subUnitId:_0x588d49,oldSubUnitId:_0x1d5313,pivotTableId:_0x2745ea,pivotTableConfig:_0x39384f,collectionConfig:_0x2f2c4f}=_0x4c482f;this['_sheetsPivotTableConfigModel'][_0x203a04(0x3bb)](_0x6e9bf0,_0x1d5313,_0x4c482f[_0x203a04(0x34a)],null),this[_0x203a04(0x49f)][_0x203a04(0x3bb)](_0x6e9bf0,_0x588d49,_0x2745ea,_0x39384f),this[_0x203a04(0x49f)][_0x203a04(0x3de)](_0x6e9bf0,_0x2f2c4f);}}})),this['disposeWithMe'](this['_commandService'][_0x4b1366(0x3a0)](_0x1ecb9c=>{const _0x3c0913=_0x4b1366;if(_0x1ecb9c['id']!==_0x26ad74['id'])return;const _0x214de0=_0xbdc533['getSheetCommandTarget'](this[_0x3c0913(0x1bf)]);if(!_0x214de0)return;const {unitId:_0x306f7b,subUnitId:_0x2abf0e}=_0x214de0,_0x39348a=_0x1ecb9c[_0x3c0913(0x418)];if(_0x39348a[_0x3c0913(0x2d5)]&&Object[_0x3c0913(0x334)](_0x39348a[_0x3c0913(0x2d5)])['forEach'](_0x4da978=>{const _0x598d2c=_0x3c0913;var _0x352624;(_0x352624=_0x39348a['collectionConfig'])!=null&&_0x352624[_0x4da978]&&this['_sheetsPivotTableConfigModel'][_0x598d2c(0x3de)](_0x4da978,_0x39348a[_0x598d2c(0x2d5)][_0x4da978]);}),_0x39348a[_0x3c0913(0x313)]){const _0x2a65df=_0x39348a[_0x3c0913(0x313)],{unitId:_0xc68ca5,subUnitId:_0x3670d0,view:_0x1bebbe,pivotTableId:_0x3e2157,type:_0x112d05,pivotConfig:_0x3a7ea2}=_0x2a65df;if(_0x112d05===_0x532e5d['Delete'])this[_0x3c0913(0x359)]['clearRenderCache']({'unitId':_0xc68ca5,'subUnitId':_0x3670d0,'pivotTableId':_0x3e2157,'type':_0x112d05}),this[_0x3c0913(0x49f)]['updateConfigCache'](_0xc68ca5,_0x3670d0,_0x3e2157,null);else{const _0x3b6101=new _0x15c500[(_0x3c0913(0x2d3))]();_0x3b6101[_0x3c0913(0x4a5)](_0x1bebbe),this['_sheetsPivotTableConfigModel'][_0x3c0913(0x3bb)](_0xc68ca5,_0x3670d0,_0x3e2157,_0x3a7ea2),this[_0x3c0913(0x359)]['clearRenderCache']({'unitId':_0xc68ca5,'subUnitId':_0x3670d0,'pivotTableId':_0x3e2157,'type':_0x112d05,'view':_0x3b6101}),this[_0x3c0913(0x359)][_0x3c0913(0x246)]({'unitId':_0xc68ca5,'subUnitId':_0x3670d0,'view':_0x3b6101,'pivotTableId':_0x3e2157,'type':_0x112d05});}}else _0x39348a['batch']&&(_0x39348a[_0x3c0913(0x260)][_0x3c0913(0x34f)](_0x3e8ef9=>{const _0x47e64f=_0x3c0913,{unitId:_0x26c0e2,subUnitId:_0x347d3a,view:_0x4238b7,pivotTableId:_0x11ce87,type:_0x3b18d1,pivotConfig:_0x54f33a}=_0x3e8ef9,_0x4d1be4=new _0x15c500[(_0x47e64f(0x2d3))]();_0x4d1be4[_0x47e64f(0x4a5)](_0x4238b7),this[_0x47e64f(0x49f)]['updateConfigCache'](_0x26c0e2,_0x347d3a,_0x11ce87,_0x54f33a),this[_0x47e64f(0x359)][_0x47e64f(0x246)]({'unitId':_0x26c0e2,'subUnitId':_0x347d3a,'view':_0x4d1be4,'pivotTableId':_0x11ce87,'type':_0x3b18d1});}),this[_0x3c0913(0x49f)]['setPivotInitCompleted']());this[_0x3c0913(0x359)]['markDirty'](_0x306f7b,_0x2abf0e);}));}[_0x97f3f(0x491)](){const _0x211a0a=_0x97f3f;this[_0x211a0a(0x391)][_0x211a0a(0x2a4)](_0x1beddf['id'],{'commandId':_0x1beddf['id'],'getDirtyData'(_0x16a5e8){const _0x17fc82=_0x211a0a;return{'dirtyUnitFeatureMap':_0x16a5e8[_0x17fc82(0x418)]};}});}};_0x17ef6c=_0x335396([_0x15e708(0x0,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x35c)])),_0x15e708(0x1,_0x2d1844[_0x97f3f(0x4a0)](_0x3d41c7[_0x97f3f(0x49c)])),_0x15e708(0x2,_0x2d1844[_0x97f3f(0x4a0)](_0x3d41c7[_0x97f3f(0x402)])),_0x15e708(0x3,_0x2d1844[_0x97f3f(0x4a0)](_0x3d41c7[_0x97f3f(0x499)])),_0x15e708(0x4,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x21b)])),_0x15e708(0x5,_0x132f13['IActiveDirtyManagerService'])],_0x17ef6c);var _0x5eaa97=Object[_0x97f3f(0x2e2)],_0x563fb1=Object[_0x97f3f(0x1a1)],_0x1af3c2=(_0x322476,_0x12b917,_0x39528f)=>_0x12b917 in _0x322476?_0x5eaa97(_0x322476,_0x12b917,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39528f}):_0x322476[_0x12b917]=_0x39528f,_0x1f1938=(_0x53d2c8,_0x9fd5b2,_0x59d630,_0x58091d)=>{const _0x506add=_0x97f3f;for(var _0x4debd9=_0x58091d>0x1?void 0x0:_0x58091d?_0x563fb1(_0x9fd5b2,_0x59d630):_0x9fd5b2,_0x3f0d9c=_0x53d2c8[_0x506add(0x376)]-0x1,_0x365c18;_0x3f0d9c>=0x0;_0x3f0d9c--)(_0x365c18=_0x53d2c8[_0x3f0d9c])&&(_0x4debd9=_0x365c18(_0x4debd9)||_0x4debd9);return _0x4debd9;},_0x5c3fad=(_0x1c3988,_0x347207)=>(_0xcfdc9d,_0x389ca2)=>_0x347207(_0xcfdc9d,_0x389ca2,_0x1c3988),_0x118842=(_0x5a37dd,_0x9c144f,_0x7a776)=>_0x1af3c2(_0x5a37dd,typeof _0x9c144f!=_0x97f3f(0x24e)?_0x9c144f+'':_0x9c144f,_0x7a776);_0x3d41c7[_0x97f3f(0x194)]=class extends _0x2d1844[_0x97f3f(0x1b8)]{constructor(_0x214780=_0x3a3f48,_0x1d7bd2,_0x8d9f9a,_0x536f82,_0x3f10dc){const _0x989f95=_0x97f3f;super(),this[_0x989f95(0x33c)]=_0x214780,this[_0x989f95(0x3ba)]=_0x1d7bd2,this['_commandService']=_0x8d9f9a,this['_configService']=_0x536f82,this[_0x989f95(0x24f)]=_0x3f10dc;const {..._0x10d129}=_0x2d1844[_0x989f95(0x37b)]({},_0x3a3f48,this['_config']);this['_configService'][_0x989f95(0x25d)](_0x5440e2,_0x10d129),this['_initRegisterCommand'](),this[_0x989f95(0x24a)]();}['_initConfig'](){const _0x56cccc=_0x97f3f;var _0x4e9ee6;const _0x37bb47=(_0x4e9ee6=this[_0x56cccc(0x33c)])==null?void 0x0:_0x4e9ee6['notExecuteFormula'];this[_0x56cccc(0x3b0)][_0x56cccc(0x25d)](_0x292159,_0x37bb47===!0x0);}[_0x97f3f(0x361)](){const _0x57b9fa=_0x97f3f;var _0x355db7;let _0x7b1d9=[];const _0x45ee82=(_0x355db7=this['_config'])==null?void 0x0:_0x355db7[_0x57b9fa(0x2a2)];_0x45ee82===!0x0?_0x7b1d9=[[_0x3d41c7[_0x57b9fa(0x44e)]],[_0x3d41c7['SheetsPivotRPCService']],[_0x17ef6c],[_0x3d41c7[_0x57b9fa(0x402)]],[_0x3d41c7[_0x57b9fa(0x499)]],[_0x4c3177],[_0xc61200],[_0xc1dbb9],[_0x5e90dc]]:_0x45ee82===!0x1?_0x7b1d9=[[_0x3d41c7[_0x57b9fa(0x3a2)]],[_0x1192e8]]:_0x45ee82===void 0x0&&(_0x7b1d9=[[_0x3d41c7[_0x57b9fa(0x3a2)]],[_0x1192e8],[_0x3d41c7[_0x57b9fa(0x44e)]],[_0x3d41c7[_0x57b9fa(0x49c)]],[_0x17ef6c],[_0x3d41c7['SheetsPivotTableAdaptorModel']],[_0x3d41c7['SheetsPivotTableConfigModel']],[_0x4c3177],[_0xc61200],[_0xc1dbb9],[_0x5e90dc]]),_0x7b1d9[_0x57b9fa(0x34f)](_0x6d396e=>this[_0x57b9fa(0x3ba)][_0x57b9fa(0x349)](_0x6d396e)),[_0x1192e8,_0x17ef6c,_0x3d41c7[_0x57b9fa(0x44e)],_0xc61200,_0x4c3177,_0xc1dbb9,_0x5e90dc][_0x57b9fa(0x34f)](_0x3b9dd8=>{const _0x3c40e0=_0x57b9fa;this['_injector'][_0x3c40e0(0x364)](_0x3b9dd8)&&this[_0x3c40e0(0x3ba)][_0x3c40e0(0x4a6)](_0x3b9dd8);});}['_initRegisterCommand'](){const _0x1981c1=_0x97f3f;[_0x35ef05,_0x168751,_0x503fa9,_0xffbfb7,_0x559c53,_0x13f83b,_0x34471d,_0x29a506,_0x4a7d32,_0x2744c5,_0x3f0722,_0x19fc9f,_0x45a7af,_0x23e160,_0x158653,_0x240a92,_0x10da6e,_0x26769b,_0x1a0db6,_0x400117,_0x59ffbe,_0x261617,_0x17028d,_0x41ef5a,_0x4891ca,_0x2d9715,_0x4c1b3e,_0x51bd44,_0x3d05f5,_0x26ad74,_0x54b859,_0x1a8754,_0x445eca,_0x47c557,_0x7d7c7,_0x3ceb3e,_0x4dbee8,_0x1beddf,_0x2a81da,_0xd512dc,_0x52f8a2,_0x13599c,_0x3d2a7d][_0x1981c1(0x34f)](_0x1390f4=>{const _0x54070e=_0x1981c1;var _0xab9f12;(_0xab9f12=this['_dataSyncPrimaryController'])==null||_0xab9f12[_0x54070e(0x45e)](_0x1390f4),this[_0x54070e(0x444)][_0x54070e(0x47a)](_0x1390f4);});}},_0x118842(_0x3d41c7[_0x97f3f(0x194)],_0x97f3f(0x4a3),_0x51e4a1),_0x118842(_0x3d41c7[_0x97f3f(0x194)],_0x97f3f(0x305),_0x2d1844[_0x97f3f(0x400)]['UNIVER_SHEET']),_0x3d41c7['UniverSheetsPivotTablePlugin']=_0x1f1938([_0x2d1844[_0x97f3f(0x303)](_0x2e8cbd['UniverLicensePlugin']),_0x5c3fad(0x1,_0x2d1844[_0x97f3f(0x4a0)](_0x2d1844[_0x97f3f(0x2b2)])),_0x5c3fad(0x2,_0x2d1844['Inject'](_0x2d1844[_0x97f3f(0x35c)])),_0x5c3fad(0x3,_0x2d1844[_0x97f3f(0x2ca)]),_0x5c3fad(0x4,_0x2d1844[_0x97f3f(0x2a0)](_0x48c88f[_0x97f3f(0x493)]))],_0x3d41c7[_0x97f3f(0x194)]),_0x3d41c7[_0x97f3f(0x452)]=_0x503fa9,_0x3d41c7[_0x97f3f(0x1c7)]=_0x26769b,_0x3d41c7[_0x97f3f(0x2db)]=_0x168751,_0x3d41c7['AddPivotTableMutation']=_0x158653,_0x3d41c7[_0x97f3f(0x2de)]=_0x35ef05,_0x3d41c7['BLANK_ROW_COUNT']=_0x356b5c,_0x3d41c7['DEFAULT_PIVOT_NUMBER']=_0x38f1de,_0x3d41c7[_0x97f3f(0x1c3)]=_0xffbfb7,_0x3d41c7[_0x97f3f(0x220)]=_0x45a7af,_0x3d41c7[_0x97f3f(0x29b)]=_0x1ae0ae,_0x3d41c7['PivotDrillDownCommand']=_0x23e160,_0x3d41c7[_0x97f3f(0x253)]=_0x532e5d,_0x3d41c7[_0x97f3f(0x2d8)]=_0x1beddf,_0x3d41c7[_0x97f3f(0x26e)]=_0x3f8913,_0x3d41c7[_0x97f3f(0x380)]=_0x559c53,_0x3d41c7[_0x97f3f(0x39b)]=_0x261617,_0x3d41c7['RemovePivotTableMutation']=_0x10da6e,_0x3d41c7[_0x97f3f(0x44a)]=_0x17028d,_0x3d41c7['ResetPivotFieldsConfigCommand']=_0x3d2a7d,_0x3d41c7['SHEETS_PIVOT_PLUGIN_CONFIG_KEY']=_0x5440e2,_0x3d41c7[_0x97f3f(0x30a)]=_0x51e4a1,_0x3d41c7['SetPivotCollapseCommand']=_0x29a506,_0x3d41c7[_0x97f3f(0x415)]=_0x41ef5a,_0x3d41c7['SetPivotFieldFormatMutation']=_0x47c557,_0x3d41c7['SetPivotFieldsConfigCommand']=_0x13599c,_0x3d41c7[_0x97f3f(0x368)]=_0x2744c5,_0x3d41c7['SetPivotFilterMutation']=_0x59ffbe,_0x3d41c7[_0x97f3f(0x447)]=_0x2d9715,_0x3d41c7[_0x97f3f(0x38c)]=_0x4c1b3e,_0x3d41c7[_0x97f3f(0x205)]=_0x4a7d32,_0x3d41c7[_0x97f3f(0x328)]=_0x4891ca,_0x3d41c7[_0x97f3f(0x454)]=_0x445eca,_0x3d41c7[_0x97f3f(0x1a6)]=_0xd512dc,_0x3d41c7[_0x97f3f(0x2d0)]=_0x52f8a2,_0x3d41c7['UpdateDateGroupCommand']=_0x34471d,_0x3d41c7['UpdateFieldPositionMutation']=_0x54b859,_0x3d41c7[_0x97f3f(0x19e)]=_0x3f0722,_0x3d41c7[_0x97f3f(0x2fb)]=_0x4dbee8,_0x3d41c7['UpdatePivotTableSourceRangeCommand']=_0x19fc9f,_0x3d41c7['UpdatePivotTableSourceRangeMutation']=_0x3ceb3e,_0x3d41c7[_0x97f3f(0x1ea)]=_0x13f83b,_0x3d41c7['UpdateValuePositionMutation']=_0x1a8754,_0x3d41c7[_0x97f3f(0x36e)]=_0x2a8660,_0x3d41c7[_0x97f3f(0x4a2)]=_0x388fdb,_0x3d41c7['defaultThemeStyle']=_0x4cde20,_0x3d41c7[_0x97f3f(0x441)]=_0x1ea4b3,_0x3d41c7[_0x97f3f(0x3c2)]=_0x56818c,_0x3d41c7['getEmptyPivotRanges']=_0x491299,_0x3d41c7[_0x97f3f(0x3ed)]=_0x5b395d,_0x3d41c7[_0x97f3f(0x3db)]=_0x592441,_0x3d41c7[_0x97f3f(0x280)]=_0x418c21,_0x3d41c7['getPivotInfoByLicense']=_0xa337b6,_0x3d41c7[_0x97f3f(0x30e)]=_0x409a21,_0x3d41c7[_0x97f3f(0x432)]=_0x352ede,_0x3d41c7['unionPivotViewRange']=_0x13c172,Object[_0x97f3f(0x2e2)](_0x3d41c7,Symbol[_0x97f3f(0x27a)],{'value':_0x97f3f(0x3ac)});}));function _0x286d(_0x1aced4,_0x4b4338){const _0x26042a=_0x2604();return _0x286d=function(_0x286d5d,_0x565719){_0x286d5d=_0x286d5d-0x186;let _0x43408c=_0x26042a[_0x286d5d];return _0x43408c;},_0x286d(_0x1aced4,_0x4b4338);}function _0x2604(){const _0x36be8b=['updateViewInfo','entries','Div0','sheet.command.pivot-drill-down','setValue','subtotal','rgb(240,241,243)','addExclusiveRange','getFieldPositionInfoById','IUndoRedoService','FieldsCollection','CELL_CONTENT','(Blank)','contains','GlobalComputingStatusService','MonthDate','InterceptorManager','stringify','valueFilter','numberToABC','UpdatePivotFieldSourceInfoMutation','generateMutationsByRanges','NotName','#b2b2b2','executeCommand','pivotConfigChange$','getName','sheet.command.set-pivot-sort','DependentOn','_refRangeService','type','setFieldFormat','data','@univerjs/sheets','createInterceptorKey','SHEET_PIVOT_TABLE_PLUGIN','rangeType','shouldClear','isArray','getPivotTableInfo','oldRangeInfo','sheets.tabs.sheet','disposeWithMe','pivotInitCompleted$','single','SetRangeValuesUndoMutationFactory','product','renameField','updateDataFieldsCollection','getInfo','versions','updateRangeKeyMap','setSubtotalType','resetArea','Add','AddPivotTableWithConfig','getLastRow','_subjectCollectionChange','getAutoDisplayName','getUnit','_getPivotAppliedRanges','_pivotConfigChange$','asyncInterceptor','_configVersion$','getConfig','SetPivotSortMutation','_globalComputingSrv','updateFieldSourceInfo','registerCallbackWithEvent','info','ResetPivotTable','ManualFilter','getColCount','StdDev\x20of\x20','uniqueDataFieldName','_initGlobalComputed','getFilterInfo','keys','sheet.command.add-pivot-field','#f4f4f5','getPivotTableMatrixInfo','sortInfo','next','sheet.command.set-pivot-collapse','NotNumber','_config','collectionChange$','sheets-pivot.minName','sheets-pivot.dateGroup.minute','sheet.mutation.set-pivot-filter','triggerDirtyFeature','_sheetsPivotTableService','55fCSQhY','version','removeCollectionImp','_lifecycleService','UpdateSource','getDataFieldBySourceName','add','pivotTableId','lastRow','Value','slice','deleteUnitId','forEach','rangeCache','Average\x20of\x20','isBottomTotal','unshift','AddPivotField','sheets-pivot.dateGroup.date','updateValuePosition','BadReference','columnFields','_sheetsPivotTableAdaptorModel','rowInfo','fieldsConfig','ICommandService','setPivotSort','removePivotTable','size','collection','onStarting','drillDown','_requestResolvers','has','SetPivotSetting','3740dPwLhf','headerMap','SetPivotFilterCommand','setPivotSetting','NORMAL','PivotCellStyleTypeEnum','col','markDirty','applyChangeSet','_initCommandInterceptListener','getValue','fromJSON','filterInfo','sequenceExecute','getDataFieldManager','setValueFilterInfo','length','setDisplayName','getIntersects','sum','_deleteModelCache','merge','getDataFieldItemInfo','sheets-pivot.value','originTargetInfo','getDate','RemovePivotFieldCommand','sheet.mutation.remove-pivot-field','_refRangeHandle','setOptions','6363VVJlyk','getSheetBySheetId','getFontStyleString','sheet.command.update-pivot-value-position','#e6ebfb','leftOffset','rowCount','Range','SetPivotPositionMutation','_initClearSelectionCommandInterceptor','SetWorksheetColWidthMutation','reset','PIVOT_MUTATION_GENERATE','_activeDirtyManagerService','updateFieldPosition','from','SHEET_PIVOT_IN_MAIN_THREAD','_updateModelCache','resetPivotTable','_markDirty$','PivotDateGroupFieldDateTypeEnum','Date','unitId','RemovePivotFieldMutation','areaInfo','_createExclusiveRange','valuePosition','clearExclusiveRangesByGroupId','onCommandExecuted','_subjectViewChange','SheetsPivotDataSourceModel','sheet.mutation.set-pivot-value-filter','Disposable','Set','RenameField','configVersion$','createAsyncInterceptorKey','Tools','getDataFieldId','setLabelFilterInfo','Module','MUTATION','sheet.operation.pivot-table-view-formula-mark-dirty','rangesInfo','_configService','handleMoveRange','getCollection','getPivotTableIdByCell','sheets-pivot.cellDateGroupDisplay.hour','Quarter','_model','getRangeStartEndInfo','generateHexNumber','_onRefRangeChange','_injector','updateConfigCache','mergeWorksheetSnapshotWithDefault','Panel','sheets-pivot.dateGroup.yearMonth','_pivotRenderValueMatrixCache','PivotDataFieldDataTypeEnum','splice','getAdjustRangesPosition','reduce','updatePivotTableRangeInfo','setName','addField','DataField','getDisplayName','#eceeff','delete','Subtotal','pageRanges','sheets-pivot.grandTotal','refreshData','broadcastCollectionChange','sheet.command.set-pivot-value-filter','1288918tlNPmu','getGroupFieldsInfoByIds','SetSortInfo','sheet.command.remove-pivot-field','count','startColumn','Row','number','@univerjs-pro/license','setValuePivotFilter','getInsertRowColMutations','PivotTableChangeTypeEnum','PivotTableValuePositionEnum','updateCollectionConfig','sheets-pivot.averageName','_viewData$','tableFieldId','dimension','intercept','pushUndoRedo','getHeaderMapItem','Var\x20of\x20','@univerjs/engine-formula','@univerjs-pro/engine-pivot','_globalComputedStartHelpFunc','getSubtotal','getColumnWidth','sheet.mutation.set-pivot-sort-info','getFieldListByArea','removeSourceRangeChange','collapseInfo','DEFAULT_WORKSHEET_ROW_COUNT','addFieldWithSourceId','intersects','isBaseGroupField','getDataFieldByRangeKey','valueIndex','ClearSelectionAllCommand','DataFieldManager','panel','Product\x20of\x20','markDirty$','447373HDSvjl','_fieldsCollectionChange$','FORCE_STRING','getSheetBySheetName','getMatrixFromRunTimeData','UniverInstanceType','isNaN','SheetsPivotTableAdaptorModel','IFeatureCalculationManagerService','_initViewModelBySheetInterceptor','hasField','RemoveColMutation','getPivotTableRangeInfo','RemoveSheetsFilterMutation','message','getFieldFormat','updateAllDisplayName','deepClone','sheets-pivot.varpName','getFieldCountByArea','_subjectFieldsCollectionChange','_initPivotTextInfo','rowRanges','getRowCount','getTypeOfUnitDisposed$','_collectionChange$','SetPivotCollapseMutation','sheet.command.update-date-group','Rectangle','params','setPivotTable','getSubUnitPivotRenderCache','row','sheets-pivot.cellDateGroupDisplay.date','deleteDataField','_ensurePivotTableMatrixInfo','parseInt','sheet.command.add-pivot-table-with-config','createDataFieldId','updatePivotTableMatrixInfo','DIV_BY_ZERO','InsertColMutation','initDataRanges','filter','object','UniverEngineRender','fetchThroughAsyncInterceptors','UniverRpc','UniverCore','replace','getValueIndex','getPivotTableInstance','getCellRaw','toString','HourMinute','transFromCellValue','pivotMutationGenerate','_ensurePivotItemRenderInfoCache','MAX_SAFE_INTEGER','getMatrixValue','Column','updatePivotSource','updateView','endColumn','InsertSheetMutation','lastCol','function','removePivotField','RemovePivotField','displayName','generateSetRangeValueMutations','dataFieldsCollection','SetWorksheetActiveOperation','_commandService','addPivotTable','getRangeKeyList','SetPivotOptionMutation','query','SetPivotSort','RenamePivotFieldMutation','amd','sheet.mutation.add-group-collection','fieldsCollectionChange$','SheetsPivotTableService','sheets-pivot.cellDateGroupDisplay.year','getStyles','endCollectChangeset','AddPivotFieldCommand','cellToRange','SetPivotSubtotalTypeMutation','_dataFieldManagerCollection','getDataFieldByDataFieldId','find','options','MovePivotField','_initLocale','sheets-pivot.cellDateGroupDisplay.yearMonthDate','GrandTotal','queryDirtyPivotTable','registerSyncingMutations','values','var','@univerjs/sheets-filter','_initSnapshot','INTERCEPTOR_POINT','UpdateValuePosition','#FFFFFF','pbt','registerRefRange','addCollection','Existing','createLabelField','iterateFieldDim','colRanges','oldMatrix','range','DateGroupField','ErrorType','DrillDown','SetFilterInfo','sheetName','getRangeData','REF','RefRangeService','handleSourceRangeChange','isErrorValue','_deletePivotTableInstanceCache','registerCommand','2762520CHPhLl','getTableFieldById','sheet.mutation.remove-pivot-table','date','sheets-pivot.cellDateGroupDisplay.hourMinute','unshiftString','getCurrentSelections','update','filterFields','sheets-pivot.countName','interceptor','toJSON','getSheetFeatureLimit','sheets-pivot.cellDateGroupDisplay.yearQuarter','updateViewData','getOriginFieldId','UNIVER_SHEET','getTargetByPivotTableId','DisposableCollection','_localeService','fieldId','_getAutoName','registerDirtyService','paths','DataSyncPrimaryController','PivotErrorTypeEnum','removeField','getFieldDataType','varp','NAME','SheetsPivotTableConfigModel','sheets-pivot.cellDateGroupDisplay.yearMonth','getViewData','SheetsPivotRPCService','COLUMN','ReleaseType','_sheetsPivotTableConfigModel','Inject','NUM','canUsePivot','pluginName','result','formJSON','get','excelDateToUnixMilliseconds','Month','floor','iterateField','getLastCol','SetValueFilter','_toJSON','sheets-pivot.cellDateGroupDisplay.month','registerPluginResource','_viewData','getRefRangeMutationsByMoveRange','_updateRenderEmptyCache','SetCollapse','viewData$','rangeKey','generateNullCell','CellValueType','SetRangeValuesMutation','Column\x20','removeValueFilterInfoByValueFieldId','UniverSheetsPivotTablePlugin','_ensurePivotMap','pageStyle','_sheetsPivotDataSourceModel','setSourceName','getRangeKey','targetCellInfo','call','PivotFilterTypeEnum','ObjectMatrix','UpdatePivotFieldSettingCommand','dataStyle','_ensurePivotTableRangeInfo','getOwnPropertyDescriptor','sheet.mutation.set-pivot-position','undos','getPivotDirtyViewInfo','getDirtyInfo','SetPivotValueFilterCommand','onQueryStart','charCodeAt','numfmt','concat','getFieldIds','colHeaderMap','createValueField','sheet.mutation.set-pivot-field-subtotal-type','getUnitId','Min\x20of\x20','removeDataField','CustomCommandExecutionError','adjustSheetCellData','random','serializeRangeWithSpreadsheet','sheet.mutation.send-pivot-config-local','getSourceName','Plugin','UniverProEnginePivot','level','sheets-pivot.emptyPivot.values','colStyle','7klNAMH','sheet.command.reset-pivot-fields-config','_univerInstanceService','setPivotCollapse','4406816FqmKiM','qLmdZgnm\x20jhdk2IZgnm(4gdhmih,\x20ILC4gdxh2)\x20{\x20\x20\x20\x20Zk2\x20{\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x204gdhmihymqnStkZ6kkt2\x20=\x204gdhmih.iI4gZ(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20nkgrgm0hiitrh\x20=\x20KNBl.Itkih(tZnC(4gdhmihymqnStkZ6kkt2[e]));\x20\x20\x20\x20\x20\x20\x20\x20gq\x20(!nkgrgm0hiitrh.Lj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nkgrgm0hiitrh.Lj\x20=\x20lLpChk(4gdhmihymqnStkZ6kkt2[J]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20gi1nkuhk\x20=\x20Z2Ihnq\x201nkuhkP4nCt4NdnIh\x20!==\x20\x27Lmjhqgmhj\x27\x20&&\x20ih4q\x20gmiZtmdhnq\x201nkuhkP4nCt4NdnIh;\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20dnmZhWZ\x20=\x20gi1nkuhk\x20?\x20ih4q\x20:\x20AgmjnA;\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20phiitrh1nkj\x20=\x20dnmZhWZ.__ftihcJ__.Itkih(4gdhmihymqnStkZ6kkt2[e]);\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20phiitrh\x20=\x20dnmZhWZ.__whW__.iZkgmrgq2(phiitrh1nkj);\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20igrmtZLkh1nkj\x20=\x20dnmZhWZ.__ftihcJ__.Itkih(4gdhmihymqnStkZ6kkt2[9]);\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20igrmtZLkh\x20=\x20dnmZhWZ.__whW__.iZkgmrgq2(igrmtZLkh1nkj);\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20igrmat4gj\x20=\x20dnmZhWZ.__Ghkgq2__(igrmtZLkh,\x20phiitrh,\x20ILC4gdxh2);\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20jnptgm\x20=\x20nkgrgm0hiitrh.jp;\x20\x20\x20\x20\x20\x20\x20\x20qLmdZgnm\x20giFnptgm0tZd8gmr(nStZZhkm,\x20nwniZ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20ItZZhkm\x20=\x20nStZZhkm.khI4tdh(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x208niZ\x20=\x20nwniZ.khI4tdh(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20ItZZhkmStkZi\x20=\x20ItZZhkm.iI4gZ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x208niZStkZi\x20=\x208niZ.iI4gZ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gq\x20(!ItZZhkm.gmd4Ljhi(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20khZLkm\x20ItZZhkm\x20===\x208niZ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gq\x20(ItZZhkmStkZi.4hmrZ8\x20<\x20e\x20||\x20ItZZhkmStkZi[o]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20khZLkm\x20qt4ih;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20ItZZhkmNLqqgW\x20=\x20ItZZhkmStkZi.i4gdh(3).Engm(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x208niZNLqqgW\x20=\x208niZStkZi.i4gdh(-ItZZhkmStkZi.4hmrZ8\x20+\x203).Engm(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20khZLkm\x20ItZZhkmNLqqgW\x20===\x208niZNLqqgW;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204hZ\x20jnptgmat4gj\x20=\x20(jnptgm\x20&&\x20jnptgm.4hmrZ8)\x20?\x20jnptgm.inph((jpyZhp)\x20=>\x20giFnptgm0tZd8gmr(jpyZhp,\x204ndtZgnm.8niZmtph))\x20:\x20ZkLh;\x20\x20\x20\x20\x20\x20\x20\x20gq\x20(4ndtZgnm.8niZmtph\x20===\x20\x274ndt48niZ\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jnptgmat4gj\x20=\x20ZkLh;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dnmiZ\x20Gt4gj\x20=\x20igrmat4gj\x20&&\x20jnptgmat4gj;\x20\x20\x20\x20\x20\x20\x20\x20khZLkm\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gt4gj,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20phiitrh:\x20nkgrgm0hiitrh,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20dtZd8\x20(hkknk)\x20{\x20\x20\x20\x20\x20\x20\x20\x20khZLkm\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gt4gj:\x20qt4ih,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20phiitrh:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','MovePivotFieldCommand','LS_CONFIG_KEY','dataRangeInfo','SetFieldFormat','AddPivotFieldMutation','addPivotTableWithConfig','Values','DEFAULT_WORKSHEET_COLUMN_COUNT','originalFieldId','_queryingMap','sheets-pivot.dateGroup.yearMonthDate','fields','generateRandomId','@univerjs/rpc','sheets-pivot.maxName','YearQuarter','realDeleteValue','tuple','sheet.mutation.send-pivot-view-local','Filter','redos','prototype','dataFieldManagerConfig','fontRenderExtension','sheets-pivot.productName','_sheetsPivotRpcService','MIN_SAFE_INTEGER','collections','FontCache','Year','NUMBER','parse','getColumnCount','createCollectionWithDataRange','sheet.mutation.send-pivot-data-local','rangeKeyMap','getSheetId','IExclusiveRangeService','_textInfo','UpdatePivotValuePositionCommand','addPivotField','SetPivotTableConfig','getFilterFieldIdByIndex','getSortInfo','PivotSubtotalTypeEnum','_initPivotDataGetListener','Style','asObservable','_ensureViewDataMap','getAutoDisplayNameFunction','pushComputingStatusSubject','startCollectChangeset','_globalSubject','valueFields','_generateUniqueVersion','PivotTable','UniverProSheetsPivot','push','getCurrentUnitForType','MoveRangeCommand','getTextInfo','Grand\x20Total','prefix','COMMAND','width','getId','SetPivotSortCommand','YearMonthDate','rgb(255,255,255)','getCellMatrix','RemoveRowMutation','some','setCollapse','deleteField','dataFieldId','sheets-pivot.sumName','stdDevp','_globalComputedEndHelpFunc','column','colInfo','removeValueFilterInfo','forValue','sheets-pivot.emptyPivot.row','CommandType','sheet.mutation.update-pivot-table-source-range','setDateType','setRangeValueUndoMutation','subscribe','IUniverInstanceService','pivotTableConfigs','getPivotTableConfig','sheet.mutation.set-pivot-format','ptn','MovePivotTableCommand','handleAsyncResponse','rxjs','3qTviJD','PivotCallbackEnum','SheetInterceptorService','_pivotRenderInfoCache','STRING','_pivotTableInstanceCache','getPivotTableCellData','sheet.command.set-pivot-field-setting','grandTotal','max','@univerjs/engine-render','setDataRecordCount','addDirtyPivotTable','NO_COMMERCIAL','setRangeValueRedoMutation','sheet.mutation.add-pivot-field','sheet.command.set-pivot-fields-config','refreshGroupField','getSheets','setPivotInitCompleted','sheet.mutation.pivot-update-value-position','_initUnitDisposed','token','_host','sheet.mutation.get-pivot-data-local','_initRemoveSheetCommandInterceptor','sheet.mutation.pivot-update-field-source-info','_resourceManagerService','Minute','YearMonth','isEmpty','getPivotTableModelConfig','getPivotItemRenderInfoCache','maxDate','hasOwnProperty','updateRenderCache','RemoveSheetMutation','isDateValue','Subject','_initConfig','measure','sheet.command.update-pivot-table-source-range','dispose','symbol','_dataSyncPrimaryController','sheet.mutation.add-pivot-table','set','sourceRangeInfo','PivotTableOperationEnum','min','disposableCollection','sheets-pivot.dateGroup.hourMinute','SetPivotCollapse','getFieldById','body','return\x20','onQueryEnd','setSortInfo','setConfig','interceptCommand','pivotPerformCheck','batch','UpdateFieldPosition','Delete','SheetsSelectionsService','format','setRangeKeyMap','isValue','_init','sheets-pivot.columnName','@univerjs/core','sheets-pivot.dateGroup.month','sheets-pivot.varName','RANGE_TYPE','blank','PositionType','getMatrix','getIndexesByPathStr','setRange','textInfo','35ZHwHZc','colCount','_featureCalculationManagerService','_pivotTableRangeInfo','getTextSize','Count\x20of\x20','sheet.mutation.remove-group-collection','toStringTag','subTotalStyle','RemoveSheetCommand','_collectionConfigModel','getAutoFitColumnsMutations','sheets-pivot.subTotal','getPivotCellInfo','isText','minDate','AddPivotTable','LocaleService','getSubUnitPivotConfigs','stdDev','_sheetInterceptorService','remove','getTargetByPivotId','updateConfig','getPivotDisplayConfig','getValueFilterInfos','countNums','iterateFieldByArea','rowHeaderMap','sheet.mutation.pivot-update-field-position','InsertSheetUndoMutationFactory','getformat','IResourceManagerService','getDataFieldByTableId','generateNewSheetName','_initDataSendListener','_pivotTableMatrixInfo','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getMonth','addDataFieldWithoutUnitInfo','PivotDisplayDataType','sheets-pivot.emptyPivot.column','cornerRanges','limit\x20pivot','_ensurePivotItemRenderValueMatrixCache','Optional','Expand','notExecuteFormula','refreshDataField','register','getUpdateRangeDeleteIds','name','sheets-pivot.countNumsName','sheets-pivot.blank','New','addCollectionByJSON','Collapse','481038ZxGmxC','map','sheet.command.move-pivot-field','#e6ebfa','isPrefixValue','dataFields','Injector','sheets-pivot.stdDevName','SetSubtotalType','endRow','sheet.command.move-pivot-table','_sheetsSelectionsService','startRow','setPivotFilter','BaseGroupField','cornerStyle','error','subUnitId','BehaviorSubject','getFullYear','dateType','PivotTableFiledAreaEnum','SetValuePivotFilter','value','isColMultiMeasure','includes','InsertRowMutation','_viewUpdate$','updateDirtyPivotTable','sheet.command.add-pivot-table','IConfigService','existing','custom','isFeatureAuthorizedWithinTime','_pivotInitCompleted$','setPivotTableConfig','SetPivotValueFilterMutation','movePivotField','filterId','PivotView','SetSheetsFilterRangeMutation','collectionConfig','removeCollections','getFormat','PivotTableViewDirtyMarkOperation','string','LifecycleService','AddPivotTableCommand','viewUpdate$','_exclusiveRangeService','AddPivotTableWithConfigCommand','3292476wjZfpE','getSheetCommandTarget','addRecord','defineProperty','SetPivotFilter','getFieldInfo','#1d32e9','UniverEngineFormula'];_0x2604=function(){return _0x36be8b;};return _0x2604();}
1
+ function _0x25c6(_0x18ae0e,_0xe9c7fe){const _0x1e057e=_0x1e05();return _0x25c6=function(_0x25c6f7,_0x52603a){_0x25c6f7=_0x25c6f7-0xb0;let _0x2f14f5=_0x1e057e[_0x25c6f7];return _0x2f14f5;},_0x25c6(_0x18ae0e,_0xe9c7fe);}(function(_0x41c645,_0xd0ddeb){const _0x4c1df9=_0x25c6,_0x244d9f=_0x41c645();while(!![]){try{const _0xf2085e=-parseInt(_0x4c1df9(0xfe))/0x1*(parseInt(_0x4c1df9(0x2f1))/0x2)+-parseInt(_0x4c1df9(0x3b6))/0x3*(-parseInt(_0x4c1df9(0x35f))/0x4)+-parseInt(_0x4c1df9(0xf1))/0x5+-parseInt(_0x4c1df9(0x1f1))/0x6*(parseInt(_0x4c1df9(0x2a4))/0x7)+parseInt(_0x4c1df9(0x385))/0x8*(-parseInt(_0x4c1df9(0x3d0))/0x9)+-parseInt(_0x4c1df9(0xba))/0xa*(-parseInt(_0x4c1df9(0x3d4))/0xb)+parseInt(_0x4c1df9(0xf4))/0xc;if(_0xf2085e===_0xd0ddeb)break;else _0x244d9f['push'](_0x244d9f['shift']());}catch(_0xd0a8db){_0x244d9f['push'](_0x244d9f['shift']());}}}(_0x1e05,0x9f8d6),function(_0x366425,_0x3793d9){const _0x14d9d8=_0x25c6;typeof exports==_0x14d9d8(0x17d)&&typeof module<'u'?_0x3793d9(exports,require(_0x14d9d8(0x226)),require(_0x14d9d8(0x3d3)),require(_0x14d9d8(0x378)),require(_0x14d9d8(0x10c)),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require(_0x14d9d8(0x1e2)),require('@univerjs/engine-render')):typeof define=='function'&&define[_0x14d9d8(0x346)]?define([_0x14d9d8(0x366),_0x14d9d8(0x226),'@univerjs/core',_0x14d9d8(0x378),_0x14d9d8(0x10c),_0x14d9d8(0x3d6),_0x14d9d8(0x26b),_0x14d9d8(0x26f),_0x14d9d8(0x1e2),_0x14d9d8(0x32a)],_0x3793d9):(_0x366425=typeof globalThis<'u'?globalThis:_0x366425||self,_0x3793d9(_0x366425[_0x14d9d8(0x1ea)]={},_0x366425['UniverProEnginePivot'],_0x366425[_0x14d9d8(0x17c)],_0x366425['UniverEngineFormula'],_0x366425[_0x14d9d8(0x184)],_0x366425[_0x14d9d8(0x3d6)],_0x366425[_0x14d9d8(0x2ca)],_0x366425[_0x14d9d8(0x399)],_0x366425[_0x14d9d8(0x3a4)],_0x366425[_0x14d9d8(0x34b)]));}(this,function(_0x4d1fa4,_0x2350f2,_0x3ec010,_0x1b07e0,_0x23e7ae,_0x12c2f2,_0x2e18f4,_0x241770,_0xad6e03,_0x1776d8){'use strict';const _0x501dc7=_0x25c6;var _0x2ea2e3=Object['defineProperty'],_0x1d6e55=(_0x536163,_0x216e5f,_0x233a8e)=>_0x216e5f in _0x536163?_0x2ea2e3(_0x536163,_0x216e5f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x233a8e}):_0x536163[_0x216e5f]=_0x233a8e,_0x69c9df=(_0x2df3e0,_0x4b034a,_0x3e51e0)=>_0x1d6e55(_0x2df3e0,typeof _0x4b034a!=_0x501dc7(0x2f8)?_0x4b034a+'':_0x4b034a,_0x3e51e0);const _0x15b372=Number[_0x501dc7(0x147)](0x6803ca8c),_0x2813a4=0x10,_0xff2d0f=0x1,_0x4567c4='SHEET_PIVOT_TABLE_PLUGIN',_0x119d67=0x1,_0x23bedf=_0x501dc7(0x38d),_0x30f12e=_0x501dc7(0x105),_0x5cf2d4=_0x501dc7(0x244),_0x1c16fa='#f4f4f5',_0x5aa65e=_0x501dc7(0x11b),_0xb2ac7=_0x501dc7(0x34a),_0x556931=_0x501dc7(0x3ab),_0x38aae5=_0x501dc7(0x3e1),_0x5e3734=_0x501dc7(0x212),_0x4d1f29=_0x501dc7(0x3ab),_0x306241='#FFFFFF',_0x1427d4=_0x501dc7(0x21e),_0x30394d=0xe,_0x1a2c65=0x6;var _0x4975d8=(_0x51cf54=>(_0x51cf54['Existing']='existing',_0x51cf54[_0x501dc7(0x15c)]='new',_0x51cf54))(_0x4975d8||{});const _0x578727={'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':''}}},_0x4c53ff=0x1e,_0x4734c6={'b':{'s':0x1,'cl':{'rgb':_0x5cf2d4}},'l':{'s':0x1,'cl':{'rgb':_0x5cf2d4}},'r':{'s':0x1,'cl':{'rgb':_0x5cf2d4}},'t':{'s':0x1,'cl':{'rgb':_0x5cf2d4}}},_0x3f87ec={'bg':{'rgb':_0x23bedf},'ht':0x2,'vt':0x2,'tb':0x1},_0x4e4e10={'bg':{'rgb':_0x30f12e},'ht':0x2,'vt':0x2,'tb':0x1},_0x470f60={'rowStyle':{'bg':{'rgb':_0x1427d4},'bd':_0x4734c6,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x4d1f29},'bd':null,'cl':{'rgb':_0x306241},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x4734c6,'bg':{'rgb':_0x5e3734},'vt':0x2},'cornerStyle':{'bd':_0x4734c6,'bg':{'rgb':_0xb2ac7},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x4734c6,'bg':{'rgb':_0x1c16fa},'vt':0x2},'leafStyle':{'bd':_0x4734c6,'bg':{'rgb':_0x5aa65e},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x556931},'cl':{'rgb':_0x38aae5},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x4734c6,'vt':0x2}};function _0x1cca35(_0x38635d,_0x47dfb9,_0x5caafb){const _0x108013=_0x501dc7,_0x324c4e=_0x38635d[_0x108013(0x1d2)](_0x3ec010[_0x108013(0x18c)]),_0x2de6ef=_0x5caafb[_0x108013(0x25e)]('_');switch(_0x47dfb9){case _0x2350f2[_0x108013(0x20a)][_0x108013(0x309)]:return _0x324c4e['t'](_0x108013(0xb1),..._0x2de6ef);case _0x2350f2['PivotDateGroupFieldDateTypeEnum'][_0x108013(0x2d2)]:return _0x324c4e['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x2de6ef);case _0x2350f2[_0x108013(0x20a)]['Hour']:return _0x324c4e['t'](_0x108013(0x1cf),..._0x2de6ef);case _0x2350f2[_0x108013(0x20a)][_0x108013(0x3ae)]:return _0x324c4e['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x2de6ef);case _0x2350f2['PivotDateGroupFieldDateTypeEnum']['Date']:return _0x324c4e['t'](_0x108013(0x3af),..._0x2de6ef);case _0x2350f2[_0x108013(0x20a)][_0x108013(0x30b)]:return _0x324c4e['t'](_0x108013(0x210),..._0x2de6ef);case _0x2350f2[_0x108013(0x20a)][_0x108013(0x19e)]:return _0x324c4e['t'](_0x108013(0x367),..._0x2de6ef);case _0x2350f2['PivotDateGroupFieldDateTypeEnum'][_0x108013(0x283)]:return _0x324c4e['t'](_0x108013(0x285),..._0x2de6ef);case _0x2350f2[_0x108013(0x20a)]['YearMonthDate']:return _0x324c4e['t'](_0x108013(0x37d),..._0x2de6ef);case _0x2350f2[_0x108013(0x20a)][_0x108013(0x299)]:return _0x324c4e['t'](_0x108013(0x31a),..._0x2de6ef);}return'';}const _0x334e51=(_0x3edb1a,_0x18efc2,_0x422c2e,_0x3da910)=>{const _0x22493d=_0x501dc7;let _0x2d2df0;const _0x45a496=_0x3edb1a[_0x22493d(0x1d2)](_0x3ec010[_0x22493d(0x3df)])[_0x22493d(0x14d)](_0x3ec010[_0x22493d(0x2b9)]['UNIVER_SHEET']);if(!_0x45a496)return null;const _0x272e2f=_0x45a496[_0x22493d(0x381)]();let _0x28857c;if(_0x422c2e&&(_0x28857c=_0x272e2f[_0x22493d(0x27f)](_0x422c2e)),_0x18efc2!=null&&_0x18efc2['v']||(_0x18efc2==null?void 0x0:_0x18efc2['v'])===0x0){_0x2d2df0||(_0x2d2df0={});const _0xf7cbc8=_0x2aa6e8(_0x18efc2['v']);typeof _0xf7cbc8==_0x22493d(0x25f)?_0x2d2df0['t']=_0x3ec010[_0x22493d(0x356)]['NUMBER']:typeof _0xf7cbc8==_0x22493d(0x1ce)&&(_0x2d2df0['t']=_0x3ec010['CellValueType'][_0x22493d(0x107)]),_0x2d2df0['v']=_0xf7cbc8;}if((_0x18efc2!=null&&_0x18efc2['i']||(_0x18efc2==null?void 0x0:_0x18efc2['i'])===0x0)&&(_0x2d2df0||(_0x2d2df0={}),_0x2d2df0['fi']=_0x18efc2['i']),_0x18efc2!=null&&_0x18efc2['s']&&(_0x2d2df0||(_0x2d2df0={}),_0x2d2df0['pbt']=_0x18efc2['s']),_0x422c2e&&(_0x2d2df0||(_0x2d2df0={}),_0x2d2df0['s']=_0x28857c),_0x3da910&&_0x2d2df0!=null&&_0x2d2df0['v']&&_0x2d2df0[_0x22493d(0x126)]!==_0x2350f2[_0x22493d(0x2f9)][_0x22493d(0x2cd)]&&_0x2d2df0[_0x22493d(0x126)]!==_0x2350f2['PivotCellStyleTypeEnum'][_0x22493d(0x1f0)]){const _0xf589c2=String(_0x2d2df0['v']),{dateType:_0x1d9aed}=_0x3da910;_0x2d2df0['v']=_0x1cca35(_0x3edb1a,_0x1d9aed,_0xf589c2),_0x2d2df0['t']=_0x3ec010['CellValueType']['STRING'];}return _0x2d2df0;},_0x19aafa=(_0x2744ad,_0x377f9c,_0x1e7211,_0x400bef)=>{const _0x29e0e4=_0x501dc7;var _0x293072,_0xfc7c1,_0x5be97d,_0x50add2,_0x5c9c48,_0x36a423,_0x4a3230,_0x46935f,_0x5f5d27,_0x5a3715,_0x2aa1ce,_0x33d125,_0x43e034,_0x57acc6;const _0x101dce=_0x1e7211[_0x29e0e4(0x16b)],{cornerView:_0x46ec55,rowView:_0x280ae0,colView:_0x22a121,dataView:_0x470bc9,pageView:_0x46b104,formatMap:_0x32e975,groupInfo:_0xd8f5f2}=_0x377f9c,{row:_0xb8a5e,col:_0x42f1bb}=_0x101dce,_0x46a35c=new _0x3ec010[(_0x29e0e4(0x1be))](),_0x139f49={},_0x5b4aeb={},_0x2ee25a={},_0x42029d={},_0x19390f={};let _0x592ade=_0xb8a5e,_0x30b303=_0x42f1bb;Object['keys'](_0x46b104['data'])[_0x29e0e4(0x189)](_0x2c3ec3=>{const _0x308284=_0x29e0e4;Object[_0x308284(0x396)](_0x46b104[_0x308284(0x344)][Number(_0x2c3ec3)])[_0x308284(0x189)](_0x11834f=>{const _0x311898=_0x308284,_0x141b77={..._0x46b104[_0x311898(0x344)][Number(_0x2c3ec3)][Number(_0x11834f)]};_0x46a35c[_0x311898(0x27f)](Number(_0x2c3ec3)+_0x592ade,Number(_0x11834f)+_0x30b303,_0x334e51(_0x2744ad,_0x141b77,_0x470f60['pageStyle']));});});const _0x3bf75a=Object[_0x29e0e4(0x396)](_0x46b104[_0x29e0e4(0x344)])['length'];_0x592ade+=_0x3bf75a+(_0x3bf75a?_0x119d67:0x0);const _0x4a73ff=_0x46ec55[_0x29e0e4(0x142)](),_0x3ea9d9=_0x46ec55['getColCount']();for(let _0x5246d2=0x0;_0x5246d2<_0x4a73ff;_0x5246d2++)for(let _0x1e9fde=0x0;_0x1e9fde<_0x3ea9d9;_0x1e9fde++){const _0x6b35df={...(_0xfc7c1=(_0x293072=_0x46ec55['data'])==null?void 0x0:_0x293072[_0x5246d2])==null?void 0x0:_0xfc7c1[_0x1e9fde]};_0x6b35df&&((_0x5be97d=_0x280ae0['headerMap'][_0x1e9fde])!=null&&_0x5be97d[_0x29e0e4(0x3d7)])&&_0x1e9fde===_0x3ea9d9-0x1&&_0x5246d2===_0x4a73ff-0x1&&(_0x6b35df['v']=''+_0x400bef[_0x29e0e4(0x1ac)]),_0x46a35c[_0x29e0e4(0x27f)](_0x5246d2+_0x592ade,_0x1e9fde+_0x30b303,_0x334e51(_0x2744ad,_0x6b35df,_0x470f60[_0x29e0e4(0x31c)]));}for(let _0x5e29ca=0x0;_0x5e29ca<_0x46ec55[_0x29e0e4(0x300)]['length'];_0x5e29ca++)_0x46ec55[_0x29e0e4(0x300)][_0x5e29ca]&&(_0x2ee25a[''+(_0x5e29ca+_0x30b303)]=_0x46ec55['info'][_0x5e29ca]);_0x30b303+=_0x3ea9d9;const _0x4ed294=_0x22a121[_0x29e0e4(0x22a)],_0x6f9294=_0x22a121['getLastRow']()>=0x0?_0x22a121[_0x29e0e4(0x3c4)]()+0x1:0x0,_0x41d9dc=_0x22a121[_0x29e0e4(0x36a)]()>=0x0?_0x22a121[_0x29e0e4(0x36a)]()+0x1:0x0;for(let _0x225999=0x0;_0x225999<_0x41d9dc;_0x225999++){for(let _0x3723e6=0x0;_0x3723e6<_0x6f9294;_0x3723e6++){const _0x1deeb7={...(_0x5c9c48=(_0x50add2=_0x22a121[_0x29e0e4(0x344)])==null?void 0x0:_0x50add2[_0x3723e6])==null?void 0x0:_0x5c9c48[_0x225999]},_0x4c229e=(_0x36a423=_0x4ed294[_0x3723e6])==null?void 0x0:_0x36a423[_0x29e0e4(0x349)],_0x1627ec=_0x32e975[_0x4c229e],_0x5ae22a=_0xd8f5f2[_0x4c229e];_0x1deeb7&&(_0x1deeb7['v']=_0x52ecb2(_0x1deeb7,_0x3723e6===0x0&&((_0x4a3230=_0x22a121[_0x29e0e4(0x288)](_0x225999+0x1))==null?void 0x0:_0x4a3230[_0x29e0e4(0x3d7)]),_0x1627ec,_0x400bef));let _0x8a903c;_0x1627ec?_0x8a903c={..._0x470f60['colStyle'],'n':{'pattern':_0x1627ec}}:_0x8a903c={..._0x470f60[_0x29e0e4(0x280)]},_0x46a35c[_0x29e0e4(0x27f)](_0x3723e6+_0x592ade,_0x225999+_0x30b303,_0x334e51(_0x2744ad,_0x1deeb7,_0x8a903c,_0x5ae22a));}_0x22a121['info'][_0x225999]&&(_0x5b4aeb[''+(_0x225999+_0x30b303)]=_0x22a121[_0x29e0e4(0x300)][_0x225999]),_0x22a121[_0x29e0e4(0x22a)][_0x225999+0x1]&&(_0x19390f[''+(_0x225999+_0x592ade+0x1)]=_0x22a121[_0x29e0e4(0x22a)][_0x225999+0x1]);}_0x592ade+=_0x4a73ff;const _0x16ade0=_0x280ae0['headerMap'],_0x55a53b=_0x280ae0[_0x29e0e4(0x3c4)]()>=0x0?_0x280ae0['getLastRow']()+0x1:0x0,_0x4663a6=_0x280ae0['getLastCol']()>=0x0?_0x280ae0[_0x29e0e4(0x36a)]()+0x1:0x0;for(let _0x159c9c=0x0;_0x159c9c<_0x55a53b;_0x159c9c++){for(let _0x4f04a3=0x0;_0x4f04a3<_0x4663a6;_0x4f04a3++){const _0x236dd6={...(_0x5f5d27=(_0x46935f=_0x280ae0[_0x29e0e4(0x344)])==null?void 0x0:_0x46935f[_0x159c9c])==null?void 0x0:_0x5f5d27[_0x4f04a3]},_0x557930=(_0x5a3715=_0x16ade0[_0x4f04a3])==null?void 0x0:_0x5a3715[_0x29e0e4(0x349)],_0x3163d0=_0x32e975[_0x557930],_0x46102f=_0xd8f5f2[_0x557930];_0x236dd6&&(_0x236dd6['v']=_0x52ecb2(_0x236dd6,!0x1,_0x3163d0,_0x400bef));let _0x4833d0;_0x280ae0[_0x29e0e4(0x300)][_0x159c9c][_0x29e0e4(0x2ba)]===_0x280ae0['getColCount']()?_0x4833d0=_0x470f60[_0x29e0e4(0x246)]:_0x280ae0[_0x29e0e4(0x300)][_0x159c9c]['isBottomTotal']?_0x4833d0=_0x280ae0[_0x29e0e4(0x300)][_0x159c9c][_0x29e0e4(0x2ba)]===0x0?_0x470f60[_0x29e0e4(0x129)]:_0x470f60[_0x29e0e4(0x25b)]:_0x4833d0=_0x470f60[_0x29e0e4(0x115)],_0x3163d0&&(_0x4833d0={..._0x4833d0,'n':{'pattern':_0x3163d0}}),_0x46a35c[_0x29e0e4(0x27f)](_0x159c9c+_0x592ade,_0x4f04a3+_0x42f1bb,_0x334e51(_0x2744ad,_0x236dd6,_0x4833d0,_0x46102f));}_0x280ae0['info'][_0x159c9c]&&(_0x139f49[''+(_0x159c9c+_0x592ade)]=_0x280ae0[_0x29e0e4(0x300)][_0x159c9c]),_0x280ae0[_0x29e0e4(0x22a)][_0x159c9c]&&(_0x42029d[''+(_0x159c9c+_0x42f1bb)]=_0x280ae0[_0x29e0e4(0x22a)][_0x159c9c]);}const _0x460b2c=_0x470bc9[_0x29e0e4(0x142)](),_0x3986ec=_0x470bc9[_0x29e0e4(0x3a7)]();for(let _0x3ce47c=0x0;_0x3ce47c<_0x460b2c;_0x3ce47c++)for(let _0x59755a=0x0;_0x59755a<_0x3986ec;_0x59755a++){const _0x3a015a={...(_0x33d125=(_0x2aa1ce=_0x470bc9[_0x29e0e4(0x344)])==null?void 0x0:_0x2aa1ce[_0x3ce47c])==null?void 0x0:_0x33d125[_0x59755a]};let _0x171731;_0x280ae0[_0x29e0e4(0x300)][_0x3ce47c]['isBottomTotal']?_0x171731=_0x280ae0[_0x29e0e4(0x300)][_0x3ce47c][_0x29e0e4(0x2ba)]===0x0?_0x470f60[_0x29e0e4(0x129)]:_0x470f60[_0x29e0e4(0x25b)]:_0x171731=_0x470f60['dataStyle'];const _0x376d3a=_0x280ae0[_0x29e0e4(0x300)][_0x3ce47c][_0x29e0e4(0x200)],_0x391e2f=_0x22a121['info'][_0x59755a][_0x29e0e4(0x200)],_0x18dbb3=Math[_0x29e0e4(0x1a8)](_0x376d3a,_0x391e2f),_0x4391c5=_0x1e7211['fieldsConfig']['valueFields']['concat']();let _0x5f1fec='';_0x18dbb3<0x0?_0x5f1fec=(_0x43e034=_0x4391c5[0x0])!=null?_0x43e034:'':_0x5f1fec=(_0x57acc6=_0x4391c5[_0x18dbb3])!=null?_0x57acc6:'';const _0x1f307a=_0x32e975[_0x5f1fec];_0x1f307a&&(_0x171731={..._0x171731,'n':{'pattern':_0x1f307a}}),_0x46a35c['setValue'](_0x3ce47c+_0x592ade,_0x59755a+_0x30b303,_0x334e51(_0x2744ad,_0x3a015a,_0x171731));}return{'valueMatrix':_0x46a35c,'rowInfo':_0x139f49,'colInfo':_0x5b4aeb,'cornerInfo':_0x2ee25a,'rowHeaderMap':_0x42029d,'colHeaderMap':_0x19390f};};function _0x52ecb2(_0x1c5fdc,_0x48736a,_0x1a7ee1,_0x5987fc){const _0x57389d=_0x501dc7;let _0x9b428f=_0x1c5fdc['v'];_0x48736a&&(_0x9b428f=''+_0x5987fc[_0x57389d(0x1ac)]);const _0x3bdf04=_0x1c5fdc['t']&&(_0x1c5fdc['t']&_0x2350f2[_0x57389d(0xe3)]['blank'])>0x0;if(_0x3bdf04&&(_0x9b428f=''+_0x5987fc['sheets-pivot.blank']),_0x1c5fdc['s']===_0x2350f2['PivotCellStyleTypeEnum'][_0x57389d(0x1f0)]){let _0x39f8d4=_0x9b428f,_0x504e40='';_0x2350f2['isPrefixValue'](_0x9b428f)&&(_0x39f8d4=_0x9b428f[_0x57389d(0x1b5)],_0x504e40=_0x9b428f[_0x57389d(0x269)]);const _0x4bc03d=_0x1a7ee1&&!_0x3bdf04?_0x3ec010[_0x57389d(0x229)][_0x57389d(0x263)](_0x1a7ee1,Number(_0x39f8d4)):_0x39f8d4;_0x504e40?_0x9b428f=_0x4bc03d+'\x20'+_0x504e40:_0x9b428f=_0x4bc03d+'\x20'+_0x5987fc['sheets-pivot.subTotal'];}else _0x1c5fdc['s']===_0x2350f2[_0x57389d(0x2f9)]['GrandTotal']&&(_0x9b428f=_0x9b428f+'\x20'+_0x5987fc[_0x57389d(0x1a1)]);return _0x9b428f;}function _0x2aa6e8(_0x3991b3){const _0x28d602=_0x501dc7;if(_0x2350f2[_0x28d602(0x328)](_0x3991b3)){const {errorType:_0x10cda6}=_0x3991b3;switch(_0x10cda6){case _0x2350f2['PivotErrorTypeEnum'][_0x28d602(0x141)]:return _0x1b07e0[_0x28d602(0x36e)][_0x28d602(0x32c)];case _0x2350f2[_0x28d602(0x169)][_0x28d602(0x2ce)]:return _0x1b07e0['ErrorType'][_0x28d602(0x1f4)];case _0x2350f2['PivotErrorTypeEnum'][_0x28d602(0x201)]:return _0x1b07e0['ErrorType'][_0x28d602(0xfa)];case _0x2350f2[_0x28d602(0x169)][_0x28d602(0x23c)]:return _0x1b07e0[_0x28d602(0x36e)][_0x28d602(0xfa)];case _0x2350f2[_0x28d602(0x169)][_0x28d602(0x15e)]:return _0x1b07e0[_0x28d602(0x36e)][_0x28d602(0x373)];}}return _0x3991b3;}function _0xe5777b(_0x5030a2,_0x28c306,_0x1db675=!0x1,_0x452403=!0x1){const _0x10d133=_0x501dc7,{data:_0x5291a0}=_0x28c306,_0x5828b5=_0x28c306[_0x10d133(0x142)](),_0x1b9dcb=_0x28c306[_0x10d133(0x3a7)]();if(_0x5828b5<=0x0||_0x1b9dcb<=0x0)return[];const _0x54e76a=_0x28c306[_0x10d133(0x36a)](),_0x5904a1=_0x28c306[_0x10d133(0x3c4)](),_0x282877=_0x452403?_0x5904a1>=0x0?_0x5904a1+0x1:0x0:_0x5828b5,_0x5f27a1=_0x452403?_0x54e76a>=0x0?_0x54e76a+0x1:0x0:_0x1b9dcb,{row:_0x34ee9d,col:_0x52eed4}=_0x5030a2,_0x2d1d90=_0x34ee9d,_0x485851=_0x52eed4;if(_0x1db675){const _0x40ccf6=[];for(const [_0x55752a,_0x4ac5cc]of Object[_0x10d133(0x135)](_0x5291a0))for(const [_0x4a1b8d,_0x284b0e]of Object[_0x10d133(0x135)](_0x4ac5cc))_0x40ccf6[_0x10d133(0x37a)](_0x3ec010[_0x10d133(0x23a)](_0x2d1d90+Number(_0x55752a),_0x485851+Number(_0x4a1b8d)));return _0x40ccf6;}else{const _0x3e934b=_0x452403?_0x282877>0x0?0x1:0x0:0x1,_0x5a093e=_0x452403?_0x5f27a1>0x0?0x1:0x0:0x1,_0xdf388a=_0x34ee9d+_0x282877-_0x3e934b,_0x3d3893=_0x52eed4+_0x5f27a1-_0x5a093e;return[{'startRow':_0x2d1d90,'startColumn':_0x485851,'endRow':_0xdf388a,'endColumn':_0x3d3893}];}}const _0x49492b=_0x501dc7(0x177),_0x5de4bc=_0x501dc7(0x1fe);var _0x299d21=(_0xd9962=>(_0xd9962[_0x501dc7(0xc6)]=_0x501dc7(0x375),_0xd9962[_0x501dc7(0x20e)]='panel',_0xd9962[_0x501dc7(0x1d3)]=_0x501dc7(0x2f5),_0xd9962[_0x501dc7(0x324)]='AddPivotTableWithConfig',_0xd9962[_0x501dc7(0x260)]='addPivotTable',_0xd9962[_0x501dc7(0x19c)]=_0x501dc7(0x1cc),_0xd9962[_0x501dc7(0x2fc)]=_0x501dc7(0x15b),_0xd9962[_0x501dc7(0x2ef)]=_0x501dc7(0x1a2),_0xd9962[_0x501dc7(0x122)]='setPivotFilter',_0xd9962['SetPivotSort']='setPivotSort',_0xd9962[_0x501dc7(0x28c)]=_0x501dc7(0x287),_0xd9962[_0x501dc7(0xfd)]=_0x501dc7(0x397),_0xd9962[_0x501dc7(0x360)]=_0x501dc7(0x1c3),_0xd9962[_0x501dc7(0xdf)]=_0x501dc7(0x140),_0xd9962[_0x501dc7(0x1b7)]=_0x501dc7(0xb4),_0xd9962[_0x501dc7(0x109)]='setPivotTableConfig',_0xd9962['ResetPivotTable']='resetPivotTable',_0xd9962))(_0x299d21||{});const _0x15b244={'sheets-pivot.blankValue':_0x501dc7(0x271),'sheets-pivot.columnName':_0x501dc7(0x282),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x501dc7(0x281),'sheets-pivot.countName':_0x501dc7(0xce),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x501dc7(0x34c),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x501dc7(0x2d8),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x501dc7(0x145),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x501dc7(0x143),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x501dc7(0x1d8),'sheets-pivot.value':'value','sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':_0x501dc7(0xc6),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x501dc7(0x301),'sheets-pivot.emptyPivot.values':_0x501dc7(0x347)},_0x46b6a6={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x2e75eb=_0x3ec010[_0x501dc7(0xfc)](_0x501dc7(0x10b)),_0x505420=_0x3ec010['createInterceptorKey'](_0x501dc7(0x179));var _0xbe7c88=(_0xf53b10=>(_0xf53b10[_0x501dc7(0x261)]=_0x501dc7(0x261),_0xf53b10[_0x501dc7(0x2fe)]=_0x501dc7(0x2fe),_0xf53b10[_0x501dc7(0x1fa)]=_0x501dc7(0x1fa),_0xf53b10))(_0xbe7c88||{}),_0x284607=(_0x29bb14=>(_0x29bb14[_0x501dc7(0x21b)]=_0x501dc7(0x261),_0x29bb14['Set']=_0x501dc7(0xec),_0x29bb14[_0x501dc7(0xcd)]=_0x501dc7(0x2fe),_0x29bb14))(_0x284607||{});const _0x1023a5={0x0:'6',0x1:'p',0x2:'u',0x3:'R',0x4:'Q',0x5:'o',0x6:'d',0x7:'H',0x8:'J',0x9:'S','l':'0','L':'1','J':'2','c':'3','k':'4','U':'5','w':'7','I':'8','s':'9','g':'a','K':'b','T':'c','a':'e','p':'f','D':'g','X':'h','H':'i','V':'j','z':'k','o':'l','W':'m','M':'n','P':'q','t':'r','B':'s','i':'t','Y':'v','y':'w','e':'x','O':'y','A':'z','E':'A','N':'B','u':'C','R':'D','h':'E','x':'F','F':'G','v':'I','r':'K','Q':'L','b':'M','d':'N','G':'O','C':'P','n':'T','m':'U','Z':'V','S':'W','f':'X','j':'Y','q':'Z'},_0x441766=_0x501dc7(0xb9),_0xdd19b1={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':_0x501dc7(0x351),'handler':()=>!0x0},_0x3aaa9b={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':_0x501dc7(0x3c1),'handler':()=>!0x0},_0x96abfa={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':_0x501dc7(0x270),'handler':()=>!0x0},_0x3ed3b2={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':_0x501dc7(0x231),'handler':()=>!0x0},_0x1b6b45={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':_0x501dc7(0xf9),'handler':()=>!0x0},_0x965891=_0x253889=>{var _0x232511;return((_0x232511=_0x253889['body'])==null?void 0x0:_0x232511['dataStream']['replace'](/\r\n$/,''))||'';};class _0x588b0f extends _0x2350f2[_0x501dc7(0x2e2)]{constructor(_0x55a64a,_0x583ff3){const _0x27a63a=_0x501dc7;super(),_0x69c9df(this,_0x27a63a(0x234),{}),_0x69c9df(this,_0x27a63a(0x1ca)),_0x69c9df(this,_0x27a63a(0x359)),(this[_0x27a63a(0x1ca)]=_0x583ff3,this['_host']=_0x55a64a);}[_0x501dc7(0x1d9)](){const _0x586934=_0x501dc7;for(const _0x2d1e8b in this[_0x586934(0x28f)]){const _0x29ecf5=this[_0x586934(0x28f)][_0x2d1e8b],_0x4bd43d=_0x29ecf5[_0x586934(0x2a5)]();this[_0x586934(0x234)][_0x4bd43d]=_0x29ecf5[_0x586934(0xd0)]();}}['getAutoDisplayNameFunction'](){const _0x5839ed=_0x501dc7,_0x2b2364=this[_0x5839ed(0x359)];return _0x564bcb[_0x5839ed(0x13f)](_0x2b2364);}[_0x501dc7(0x272)](_0x4c7f9b){const _0x28b4e3=_0x501dc7,_0x59d7d1=this['dataFields'][_0x4c7f9b]['rangeKey'];delete this[_0x28b4e3(0x28f)][_0x4c7f9b],delete this[_0x28b4e3(0x234)][_0x59d7d1];}[_0x501dc7(0x133)](_0x31c6ce){const _0x4deb63=_0x501dc7;this[_0x4deb63(0x28f)][_0x31c6ce[_0x4deb63(0xd0)]()]=_0x31c6ce;}[_0x501dc7(0x3bb)](_0x23d259){const _0x2dd931=_0x501dc7;var _0x2dbc14,_0x18614d;const _0x52ca5e=this['_host'][_0x2dd931(0x1c6)](_0x23d259);if(_0x52ca5e){const {unitId:_0x507e9d,subUnitId:_0x17256a}=_0x52ca5e,_0x203a6f=(_0x2dbc14=this[_0x2dd931(0x359)][_0x2dd931(0x22d)](_0x507e9d,_0x17256a,_0x23d259))==null?void 0x0:_0x2dbc14[_0x2dd931(0x188)];this['_host'][_0x2dd931(0x15a)]({'token':_0x23d259,'type':_0xbe7c88['delete'],'dataRangeInfo':_0x203a6f});}(_0x18614d=this[_0x2dd931(0x28e)](_0x23d259))==null||_0x18614d[_0x2dd931(0x2b8)](),delete this[_0x2dd931(0x132)][_0x23d259];}[_0x501dc7(0x2a5)](_0x5d241b,_0x4fa513){const _0x1e1b47=_0x501dc7,{sheetName:_0x1ca93b,unitId:_0x29b446,range:_0x17d84a}=_0x5d241b,{startRow:_0x1a97fa,endRow:_0x1cff94}=_0x17d84a;return _0x1b07e0[_0x1e1b47(0x1dc)](_0x29b446,_0x1ca93b,{'startRow':_0x1a97fa,'endRow':_0x1cff94,'startColumn':_0x4fa513,'endColumn':_0x4fa513});}[_0x501dc7(0xcf)](_0x319dc7){const _0x3fa957=_0x501dc7;return this[_0x3fa957(0x28f)][this[_0x3fa957(0x234)][_0x319dc7]];}[_0x501dc7(0xc2)](_0x4518e4,_0x2d7624){this['rangeKeyMap'][_0x4518e4]=_0x2d7624;}[_0x501dc7(0x3a3)](_0x3844f6,_0x2bfe6f){const _0x5cedca=_0x501dc7;this[_0x5cedca(0x234)][_0x2bfe6f]=this['rangeKeyMap'][_0x3844f6],delete this[_0x5cedca(0x234)][_0x3844f6];}[_0x501dc7(0x310)](_0x3e3c40,_0x307ad0,_0x5a0fdc,_0x7b540d){const _0x189b61=_0x501dc7,_0x5bd00d=new _0x2350f2['FieldsCollection'](this);_0x5bd00d[_0x189b61(0x3b1)](_0x307ad0);const _0x12d325=[];let _0x17b5f5=0x0;for(const _0x5ca565 of _0x5bd00d['fieldIds']){const _0x49c2e8=this[_0x189b61(0x2a5)](_0x5a0fdc,_0x17b5f5),_0x19bd8f=this[_0x189b61(0x28f)][_0x5ca565];_0x19bd8f&&(_0x19bd8f['rangeKey']=_0x49c2e8,this['setRangeKeyMap'](_0x49c2e8,_0x5ca565),_0x12d325[_0x189b61(0x37a)]({'index':_0x17b5f5,'dataField':_0x19bd8f})),_0x17b5f5++;}return this[_0x189b61(0x3c7)](_0x3e3c40,_0x5bd00d,_0x5a0fdc,_0x7b540d),{'collection':_0x5bd00d,'updateDataFieldList':_0x12d325};}[_0x501dc7(0x21a)](_0x275275,_0xdcd07f){const _0x22326e=_0x501dc7;return _0x275275[_0x22326e(0x223)]===_0x3ec010[_0x22326e(0x15d)][_0x22326e(0x275)]?{'startRow':0x0,'startColumn':_0x275275[_0x22326e(0xe0)],'endRow':_0xdcd07f[_0x22326e(0x142)]()-0x1,'endColumn':_0x275275[_0x22326e(0x339)]}:{'startRow':_0x275275[_0x22326e(0x24a)],'startColumn':_0x275275['startColumn'],'endRow':_0x275275['endRow'],'endColumn':_0x275275[_0x22326e(0x339)]};}[_0x501dc7(0x2d6)](_0x300564){const _0x2d7380=_0x501dc7,{sheetName:_0x952404,range:_0x2acab3}=_0x300564,_0x320312=this[_0x2d7380(0x1ca)]['getCurrentUnitForType'](_0x3ec010['UniverInstanceType']['UNIVER_SHEET']),_0x472d3c=_0x320312[_0x2d7380(0x19f)](_0x952404),_0x3cb348=_0x472d3c[_0x2d7380(0x116)](),{startColumn:_0x4c50e3,startRow:_0xeebc41,endColumn:_0x1dc534}=this[_0x2d7380(0x21a)](_0x2acab3,_0x472d3c),_0xa41fc7=_0x320312[_0x2d7380(0x381)](),_0x119718=new _0x2350f2[(_0x2d7380(0x2b6))](this);_0x119718[_0x2d7380(0x10d)](_0x300564);const _0x3a6f58=[],_0x1b5a7c={};for(let _0x34c4d7=_0x4c50e3;_0x34c4d7<=_0x1dc534;_0x34c4d7++){const _0x524ff7=_0x3cb348[_0x2d7380(0x106)](_0xeebc41,_0x34c4d7),_0x49583a=this[_0x2d7380(0x2a5)](_0x300564,_0x34c4d7),_0x3f7749=this[_0x2d7380(0xcf)](_0x49583a);if(_0x3f7749)_0x119718[_0x2d7380(0x192)](_0x3f7749[_0x2d7380(0xd0)](),_0x3f7749['getName']());else{const _0x29ae1e=this[_0x2d7380(0x207)]();let _0x1c2124=this['adjustSheetCellData'](_0x524ff7,_0xa41fc7,_0x1b5a7c);_0x2350f2[_0x2d7380(0xed)](_0x1c2124)&&(_0x1c2124=_0x3ec010[_0x2d7380(0x229)][_0x2d7380(0x263)](_0x1c2124['f'],Number(_0x1c2124['v'])));const _0x469724=this[_0x2d7380(0x386)](_0x1c2124,_0x34c4d7),_0x2f4e22=new _0x2350f2['DataField'](_0x29ae1e,_0x469724,_0x2350f2[_0x2d7380(0xbe)](0x3));_0x2f4e22['rangeKey']=_0x49583a,this[_0x2d7380(0x28f)][_0x29ae1e]=_0x2f4e22,_0x119718[_0x2d7380(0x192)](_0x29ae1e,_0x469724),_0x3a6f58[_0x2d7380(0x37a)]({'index':_0x34c4d7,'dataField':_0x2f4e22});}}return{'updateDataFieldList':_0x3a6f58,'collection':_0x119718};}[_0x501dc7(0x253)](_0x5d94f5){const _0x199c37=_0x501dc7;return this[_0x199c37(0x359)][_0x199c37(0x1c9)]()[_0x199c37(0x175)]+'\x20'+_0x3ec010['numberToABC'](_0x5d94f5);}['uniqueDataFieldName'](_0x1dddfb,_0x5f1fcc){return _0x1dddfb==null||_0x1dddfb===''?this['_getAutoName'](_0x5f1fcc):String(_0x1dddfb);}[_0x501dc7(0x28e)](_0x36ae92){const _0x421e4c=_0x501dc7;return this[_0x421e4c(0x132)][_0x36ae92];}[_0x501dc7(0x3c7)](_0x30f755,_0xf48f57,_0x2d0f33,_0x27a772){const _0x5c1842=_0x501dc7;this['collections'][_0x30f755]=_0xf48f57,_0xf48f57[_0x5c1842(0x10d)](_0x2d0f33),this[_0x5c1842(0x359)]['broadcastCollectionChange']({'token':_0x30f755,'type':_0xbe7c88['add'],'dataRangeInfo':_0x2d0f33,'targetCellInfo':_0x27a772});}[_0x501dc7(0x2e9)](_0x100da8,_0x5a4137){const _0x223684=_0x501dc7,_0x237469=this[_0x223684(0x28e)](_0x100da8),_0x34e40a=_0x237469[_0x223684(0x12a)]();let _0x369659=0x0;for(const _0x2acad9 of _0x34e40a){const _0x5e9743=_0x237469[_0x223684(0x313)](_0x2acad9),_0x871e1b=this['getRangeKey'](_0x5a4137,_0x369659);this[_0x223684(0x3a3)](_0x5e9743['rangeKey'],_0x871e1b),_0x369659++;}}[_0x501dc7(0x20d)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x501dc7(0xd1)](_0x55aefd,_0x31c4bf){const _0xb502b6=_0x501dc7;if(this[_0xb502b6(0x28e)](_0x55aefd)){const _0xd2042a=this[_0xb502b6(0x391)](_0x31c4bf),_0x23529d=[];for(const _0x13b4fd of _0xd2042a)this[_0xb502b6(0x234)][_0x13b4fd]!==void 0x0&&_0x23529d[_0xb502b6(0x37a)](this[_0xb502b6(0x234)][_0x13b4fd]);const _0x57b157=this[_0xb502b6(0x3a9)](_0x55aefd),_0x31e683=[],_0x527e9b=new Set(_0x23529d);for(const _0x4b5995 of _0x57b157)_0x527e9b['has'](_0x4b5995)||_0x31e683[_0xb502b6(0x37a)](_0x4b5995);return _0x31e683;}}[_0x501dc7(0x39a)](_0x327bf1,_0x980cb2,_0x25b37e,_0x49286a,_0x5c02b4){const _0x2109c7=_0x501dc7;return _0x980cb2&&_0x980cb2[_0x2109c7(0x106)](_0x49286a,_0x5c02b4)?_0x980cb2[_0x2109c7(0x106)](_0x49286a,_0x5c02b4):_0x25b37e&&_0x25b37e[_0x2109c7(0x106)](_0x49286a,_0x5c02b4)?_0x25b37e[_0x2109c7(0x106)](_0x49286a,_0x5c02b4):_0x327bf1[_0x2109c7(0x106)](_0x49286a,_0x5c02b4);}[_0x501dc7(0x372)](_0x2115b6,_0x3f74f7,_0x1fc14d,_0x3fab3b){const _0x41a992=_0x501dc7,_0x1cf37d=this[_0x41a992(0x28f)][_0x2115b6];if(!_0x1cf37d)return;const {subUnitId:_0x2a771f,range:_0x4acc1d,unitId:_0x39c375}=_0x3f74f7,_0x5ee1f6=this[_0x41a992(0x1ca)][_0x41a992(0x305)](_0x39c375);if(!_0x5ee1f6){console[_0x41a992(0x138)]('workbook\x20is\x20not\x20found');return;}const _0xbda66c=_0x5ee1f6[_0x41a992(0x23b)](_0x2a771f),_0x4e514b=_0xbda66c[_0x41a992(0x116)](),{arrayFormulaCellDataMatrix:_0x1a88d4,unitDataMatrix:_0x137668}=_0x3fab3b||{},{startRow:_0x4daac9,startColumn:_0x21cf17,endRow:_0x135233}=this[_0x41a992(0x21a)](_0x4acc1d,_0xbda66c);_0x1cf37d[_0x41a992(0x24e)]();const _0x5d132f=_0x5ee1f6[_0x41a992(0x381)](),_0xdb8712={},_0x37429d=this['getMatrixValue'](_0x4e514b,_0x1a88d4,_0x137668,_0x4daac9,_0x21cf17+_0x1fc14d);let _0x171b8a=this[_0x41a992(0x2e4)](_0x37429d,_0x5d132f,_0xdb8712);_0x2350f2['isDateValue'](_0x171b8a)&&(_0x171b8a=_0x3ec010['numfmt']['format'](_0x171b8a['f'],Number(_0x171b8a['v'])));const _0x1fdcc4=this['uniqueDataFieldName'](_0x171b8a,_0x21cf17+_0x1fc14d);_0x1cf37d[_0x41a992(0x101)](_0x1fdcc4);for(let _0x481474=_0x4daac9+0x1;_0x481474<=_0x135233;_0x481474++){const _0x5a9faa=this[_0x41a992(0x39a)](_0x4e514b,_0x1a88d4,_0x137668,_0x481474,_0x21cf17+_0x1fc14d);_0x1cf37d[_0x41a992(0x3a0)](this[_0x41a992(0x2e4)](_0x5a9faa,_0x5d132f,_0xdb8712),_0x481474-0x1-_0x4daac9);}}[_0x501dc7(0x36d)](_0x532bfc,_0x400ce4,_0x132e7b){const _0x3fc9a9=_0x501dc7,{subUnitId:_0x4bf3cc,range:_0x1b2b56,unitId:_0x26eb4d}=_0x132e7b,_0x442198=this[_0x3fc9a9(0x1ca)]['getUnit'](_0x26eb4d);if(!_0x442198){console[_0x3fc9a9(0x138)](_0x3fc9a9(0x252));return;}const _0x334267=_0x442198[_0x3fc9a9(0x23b)](_0x4bf3cc),_0x40eaa8=_0x334267[_0x3fc9a9(0x116)](),{startRow:_0x5738dd,startColumn:_0xae02a,endRow:_0x1579ad}=this[_0x3fc9a9(0x21a)](_0x1b2b56,_0x334267),_0x6d566f=_0x442198[_0x3fc9a9(0x381)](),_0x4ce810={};for(const {dataField:_0x4f63ab,index:_0xe7221f}of _0x400ce4){_0x4f63ab[_0x3fc9a9(0x24e)]();const _0x30ad5e=this[_0x3fc9a9(0x39a)](_0x40eaa8,void 0x0,void 0x0,_0x5738dd,_0xae02a+_0xe7221f);let _0x3128ec=this[_0x3fc9a9(0x2e4)](_0x30ad5e,_0x6d566f,_0x4ce810);_0x2350f2[_0x3fc9a9(0xed)](_0x3128ec)&&(_0x3128ec=_0x3ec010['numfmt'][_0x3fc9a9(0x263)](_0x3128ec['f'],Number(_0x3128ec['v'])));const _0x4c7475=this[_0x3fc9a9(0x386)](_0x3128ec,_0xae02a+_0xe7221f);_0x4f63ab[_0x3fc9a9(0x101)](_0x4c7475);}_0x532bfc['updateAllDisplayName']();for(let _0x3f54d5=_0x5738dd+0x1;_0x3f54d5<=_0x1579ad;_0x3f54d5++)for(const {index:_0x1c62b8,dataField:_0x91d683}of _0x400ce4){const _0x1b339f=_0x40eaa8[_0x3fc9a9(0x106)](_0x3f54d5,_0xae02a+_0x1c62b8);_0x91d683[_0x3fc9a9(0x3a0)](this[_0x3fc9a9(0x2e4)](_0x1b339f,_0x6d566f,_0x4ce810),_0x3f54d5-0x1-_0x5738dd);}_0x532bfc[_0x3fc9a9(0x307)](_0x1579ad-_0x5738dd);}[_0x501dc7(0x391)](_0xa14e30){const _0x611a31=_0x501dc7,{range:_0x3c9834}=_0xa14e30,{startColumn:_0x2bb7c6,endColumn:_0x40449f}=_0x3c9834,_0x4aa942=[];for(let _0x1ef036=_0x2bb7c6;_0x1ef036<=_0x40449f;_0x1ef036++)_0x4aa942[_0x611a31(0x37a)](this[_0x611a31(0x2a5)](_0xa14e30,_0x1ef036));return _0x4aa942;}[_0x501dc7(0x2e4)](_0x4bac90,_0x10e3f4,_0x119dbe){const _0x43f908=_0x501dc7;if(_0x4bac90){const {s:_0x32f4fd,v:_0x10e8bf,t:_0x4fe20f,p:_0x22d8f8}=_0x4bac90;if(_0x22d8f8)return _0x965891(_0x22d8f8);const _0x1a4d52=_0x10e3f4['get'](_0x32f4fd);if(_0x1a4d52&&_0x4fe20f===_0x3ec010[_0x43f908(0x356)][_0x43f908(0x1fc)]&&_0x1a4d52['n']){const {pattern:_0x537ef4}=_0x1a4d52['n'];_0x119dbe[_0x537ef4]||(_0x119dbe[_0x537ef4]=_0x3ec010[_0x43f908(0x229)][_0x43f908(0x2d9)](_0x537ef4));const _0x8a8f2b=_0x119dbe[_0x537ef4],_0x4311aa=_0x8a8f2b[_0x43f908(0x14e)];if(_0x8a8f2b[_0x43f908(0x317)])return String(_0x10e8bf);if(_0x4311aa)return{'v':_0x10e8bf,'f':_0x537ef4};}if(_0x4fe20f===_0x3ec010[_0x43f908(0x356)][_0x43f908(0x1fc)])return Number(_0x10e8bf);if(_0x4fe20f===_0x3ec010[_0x43f908(0x356)][_0x43f908(0x107)]||_0x4fe20f===_0x3ec010[_0x43f908(0x356)][_0x43f908(0x3be)])return String(_0x10e8bf);if(_0x4fe20f===void 0x0){const _0x24e6b3=Number(_0x10e8bf);if(!Number[_0x43f908(0x345)](_0x24e6b3)&&String(_0x24e6b3)===_0x10e8bf)return _0x24e6b3;}return _0x10e8bf!=null?_0x10e8bf:null;}else return null;}[_0x501dc7(0x2ec)](_0x2e3f4c){const _0x33dca0=_0x501dc7,{sheetName:_0x2d31fc,range:_0x4e9d6e,unitId:_0x21419f}=_0x2e3f4c,_0x2d208d=this[_0x33dca0(0x1ca)][_0x33dca0(0x305)](_0x21419f);if(!_0x2d208d)return console[_0x33dca0(0x138)](_0x33dca0(0x252)),{'header':[],'data':[]};const _0x2a4f70=_0x2d208d[_0x33dca0(0x19f)](_0x2d31fc),_0x1a3d99=_0x2a4f70[_0x33dca0(0x116)](),{startRow:_0x248d0e,startColumn:_0x59358e,endRow:_0x3f70fb,endColumn:_0x521900}=this[_0x33dca0(0x21a)](_0x4e9d6e,_0x2a4f70),_0x113146=_0x2d208d[_0x33dca0(0x381)](),_0x228f50=[],_0x512b6d=[],_0x59dc96={};for(let _0x9b89b3=_0x248d0e;_0x9b89b3<=_0x3f70fb;_0x9b89b3++){const _0x4842e5=[];for(let _0x9c266a=_0x59358e;_0x9c266a<=_0x521900;_0x9c266a++){const _0x1e464a=_0x1a3d99['getValue'](_0x9b89b3,_0x9c266a);_0x9b89b3===_0x248d0e?_0x228f50['push'](_0x1e464a==null?null:String(_0x1e464a['v'])):_0x4842e5[_0x33dca0(0x37a)](this[_0x33dca0(0x2e4)](_0x1e464a,_0x113146,_0x59dc96));}_0x512b6d[_0x33dca0(0x37a)](_0x4842e5);}return{'header':_0x228f50,'data':_0x512b6d};}[_0x501dc7(0x2ea)](){const _0x2ad092=_0x501dc7;return super[_0x2ad092(0x2ea)]();}[_0x501dc7(0x3b1)](_0xe9608f){super['fromJSON'](_0xe9608f),this['initDataRanges']();}['dispose'](){const _0x5c9623=_0x501dc7;super['dispose'](),this[_0x5c9623(0x234)]={},this['_host']=null;}}const _0x337424=_0x49a3c9=>{const _0x9c1185=_0x501dc7,{targetCellInfo:_0x391012}=_0x49a3c9,{matrixCache:_0x1cee6b,rangesCache:_0x588d48}=_0x27197a({'filter':_0x9c1185(0xc6),'row':_0x9c1185(0xbb),'column':_0x9c1185(0x301),'values':'Values'},_0x391012),_0x2b870b=new _0x3ec010[(_0x9c1185(0x1be))]();return _0x1cee6b[_0x9c1185(0x264)]((_0x36bf77,_0x2002a5,_0x4b936a)=>{const _0x1cf52b=_0x9c1185;_0x2b870b[_0x1cf52b(0x27f)](_0x36bf77,_0x2002a5,_0x4b936a);}),{'matrix':_0x2b870b,'rangesCache':_0x588d48};},_0xfe40d2=_0x135bc0=>{const _0x4e19b3=_0x501dc7;let _0x274cd7;if(_0x135bc0!=null&&_0x135bc0['v']||(_0x135bc0==null?void 0x0:_0x135bc0['v'])===0x0){_0x274cd7||(_0x274cd7={});const _0x3a0ddd=_0x2aa6e8(_0x135bc0['v']);typeof _0x3a0ddd==_0x4e19b3(0x25f)?_0x274cd7['t']=_0x3ec010['CellValueType'][_0x4e19b3(0x1fc)]:typeof _0x3a0ddd==_0x4e19b3(0x1ce)&&(_0x274cd7['t']=_0x3ec010[_0x4e19b3(0x356)]['STRING']),_0x274cd7['v']=_0x3a0ddd;}return _0x274cd7;},_0x1da4e2=(_0x2f9f97,_0x38a49a,_0x580ca1)=>{const _0x9a891d=_0x501dc7;var _0x153238,_0x4361df,_0x13088c,_0x30ad1a,_0x219ace,_0xe15393,_0x54c213,_0x2af70c,_0x1f0445,_0x2088a6,_0x496958,_0x307608;const {cornerView:_0x19bc83,rowView:_0x52236a,colView:_0x465c5f,dataView:_0x434669,pageView:_0x1ad547,formatMap:_0x516fb2}=_0x2f9f97,{row:_0x27fdfb,col:_0x2144bd}=_0x38a49a,_0x13ff6e=new _0x3ec010[(_0x9a891d(0x1be))]();let _0x21983d=_0x27fdfb,_0x545983=_0x2144bd;Object['keys'](_0x1ad547[_0x9a891d(0x344)])[_0x9a891d(0x189)](_0x2b2a72=>{const _0x73e371=_0x9a891d;Object[_0x73e371(0x396)](_0x1ad547[_0x73e371(0x344)][Number(_0x2b2a72)])[_0x73e371(0x189)](_0x500ee2=>{const _0x20185c=_0x73e371,_0x120bc5={..._0x1ad547[_0x20185c(0x344)][Number(_0x2b2a72)][Number(_0x500ee2)]};_0x13ff6e[_0x20185c(0x27f)](Number(_0x2b2a72)+_0x21983d,Number(_0x500ee2)+_0x545983,_0xfe40d2(_0x120bc5));});});const _0x50cddc=Object[_0x9a891d(0x396)](_0x1ad547[_0x9a891d(0x344)])[_0x9a891d(0x3a5)];_0x21983d+=_0x50cddc+(_0x50cddc?_0x119d67:0x0);const _0x32d67a=_0x19bc83[_0x9a891d(0x142)](),_0x1d6c18=_0x19bc83[_0x9a891d(0x3a7)]();for(let _0x9ccea6=0x0;_0x9ccea6<_0x32d67a;_0x9ccea6++)for(let _0x1e6fc8=0x0;_0x1e6fc8<_0x1d6c18;_0x1e6fc8++){const _0x44e02e={...(_0x4361df=(_0x153238=_0x19bc83[_0x9a891d(0x344)])==null?void 0x0:_0x153238[_0x9ccea6])==null?void 0x0:_0x4361df[_0x1e6fc8]};_0x44e02e&&((_0x13088c=_0x52236a[_0x9a891d(0x22a)][_0x1e6fc8])!=null&&_0x13088c['isValue'])&&_0x1e6fc8===_0x1d6c18-0x1&&_0x9ccea6===_0x32d67a-0x1&&(_0x44e02e['v']=''+_0x580ca1[_0x9a891d(0x1ac)]),_0x13ff6e[_0x9a891d(0x27f)](_0x9ccea6+_0x21983d,_0x1e6fc8+_0x545983,_0xfe40d2(_0x44e02e));}_0x545983+=_0x1d6c18;const _0x421862=_0x465c5f[_0x9a891d(0x22a)],_0x7a1d9f=_0x465c5f[_0x9a891d(0x3c4)]()>=0x0?_0x465c5f[_0x9a891d(0x3c4)]()+0x1:0x0,_0x21e031=_0x465c5f[_0x9a891d(0x36a)]()>=0x0?_0x465c5f['getLastCol']()+0x1:0x0;for(let _0x2e7a72=0x0;_0x2e7a72<_0x21e031;_0x2e7a72++)for(let _0x1e41e1=0x0;_0x1e41e1<_0x7a1d9f;_0x1e41e1++){const _0x37e6c9={...(_0x219ace=(_0x30ad1a=_0x465c5f[_0x9a891d(0x344)])==null?void 0x0:_0x30ad1a[_0x2e7a72])==null?void 0x0:_0x219ace[_0x1e41e1]},_0x5de446=(_0xe15393=_0x421862[_0x2e7a72])==null?void 0x0:_0xe15393[_0x9a891d(0x349)],_0x282672=_0x516fb2[_0x5de446];_0x37e6c9&&(_0x37e6c9['v']=_0x52ecb2(_0x37e6c9,_0x2e7a72===0x0&&((_0x54c213=_0x465c5f[_0x9a891d(0x288)](_0x1e41e1+0x1))==null?void 0x0:_0x54c213['isValue']),_0x282672,_0x580ca1)),_0x13ff6e[_0x9a891d(0x27f)](_0x2e7a72+_0x21983d,_0x1e41e1+_0x545983,_0xfe40d2(_0x37e6c9));}_0x21983d+=_0x32d67a;const _0x5039d3=_0x52236a[_0x9a891d(0x22a)],_0x1a168b=_0x52236a[_0x9a891d(0x3c4)]()>=0x0?_0x52236a['getLastRow']()+0x1:0x0,_0x25322f=_0x52236a[_0x9a891d(0x36a)]()>=0x0?_0x52236a[_0x9a891d(0x36a)]()+0x1:0x0;for(let _0x186009=0x0;_0x186009<_0x1a168b;_0x186009++)for(let _0x2ecf99=0x0;_0x2ecf99<_0x25322f;_0x2ecf99++){const _0x1f6651={...(_0x1f0445=(_0x2af70c=_0x52236a[_0x9a891d(0x344)])==null?void 0x0:_0x2af70c[_0x186009])==null?void 0x0:_0x1f0445[_0x2ecf99]},_0xe52c67=(_0x2088a6=_0x5039d3[_0x2ecf99])==null?void 0x0:_0x2088a6[_0x9a891d(0x349)],_0x952d42=_0x516fb2[_0xe52c67];_0x1f6651&&(_0x1f6651['v']=_0x52ecb2(_0x1f6651,!0x1,_0x952d42,_0x580ca1)),_0x13ff6e[_0x9a891d(0x27f)](_0x186009+_0x21983d,_0x2ecf99+_0x2144bd,_0xfe40d2(_0x1f6651));}const _0x24fec9=_0x434669[_0x9a891d(0x142)](),_0x10e0fa=_0x434669[_0x9a891d(0x3a7)]();for(let _0x2189b5=0x0;_0x2189b5<_0x24fec9;_0x2189b5++)for(let _0x456c89=0x0;_0x456c89<_0x10e0fa;_0x456c89++){const _0x15c049={...(_0x307608=(_0x496958=_0x434669['data'])==null?void 0x0:_0x496958[_0x2189b5])==null?void 0x0:_0x307608[_0x456c89]};_0x13ff6e[_0x9a891d(0x27f)](_0x2189b5+_0x21983d,_0x456c89+_0x545983,_0xfe40d2(_0x15c049));}return _0x13ff6e;},_0x3646c7=_0x5676bf=>{const _0x31fe3a=_0x501dc7,{view:_0x322590,targetCellInfo:_0x284f04,isEmpty:_0x9a3222,textInfo:_0x420749}=_0x5676bf;if(_0x9a3222)return _0x337424(_0x5676bf);const {pageView:_0x5c7729,cornerView:_0x4ee84f,rowView:_0x2623b6,colView:_0x107bb6,dataView:_0xf769bd}=_0x322590,_0x187fd3=_0xe5777b(_0x284f04,_0x5c7729,!0x0),_0x569518=_0x5c7729[_0x31fe3a(0x2c2)]>=0x0?_0x5c7729['lastRow']+0x1:0x0,_0x246c23=_0x4ee84f['getRowCount'](),_0xd836a5=_0x4ee84f['getColCount'](),_0x56987f=_0x187fd3[_0x31fe3a(0x3a5)]>0x0?_0x119d67:0x0,_0x943d5e=_0xe5777b({'row':_0x284f04[_0x31fe3a(0x34d)]+_0x569518+_0x56987f,'col':_0x284f04[_0x31fe3a(0xea)]},_0x4ee84f,!0x1,!0x1),_0x5011f4=_0xe5777b({'row':_0x284f04['row']+_0x569518+_0x56987f+_0x246c23,'col':_0x284f04[_0x31fe3a(0xea)]},_0x2623b6,!0x1,!0x0),_0xb77217=_0xe5777b({'row':_0x284f04['row']+_0x569518+_0x56987f,'col':_0x284f04['col']+_0xd836a5},_0x107bb6,!0x1,!0x0),_0x3fa304=_0xe5777b({'row':_0x284f04[_0x31fe3a(0x34d)]+_0x569518+_0x56987f+_0x246c23,'col':_0x284f04[_0x31fe3a(0xea)]+_0xd836a5},_0xf769bd,!0x1,!0x1),_0x431f9c={'rowRanges':_0x5011f4,'colRanges':_0xb77217,'cornerRanges':_0x943d5e,'dataRanges':_0x3fa304,'pageRanges':_0x187fd3};return{'matrix':_0x1da4e2(_0x322590,_0x284f04,_0x420749),'rangesCache':_0x431f9c};};var _0x441fb3=Object[_0x501dc7(0x311)],_0x56a839=(_0x11e4d4,_0x1fc8b5,_0x1e8fde,_0x4a4873)=>{const _0x4e4e06=_0x501dc7;for(var _0x5eb1bf=_0x4a4873>0x1?void 0x0:_0x4a4873?_0x441fb3(_0x1fc8b5,_0x1e8fde):_0x1fc8b5,_0x511d1a=_0x11e4d4[_0x4e4e06(0x3a5)]-0x1,_0x68b6f0;_0x511d1a>=0x0;_0x511d1a--)(_0x68b6f0=_0x11e4d4[_0x511d1a])&&(_0x5eb1bf=_0x68b6f0(_0x5eb1bf)||_0x5eb1bf);return _0x5eb1bf;},_0x312bda=(_0x1f28aa,_0x243ba4)=>(_0x2396f5,_0x46348e)=>_0x243ba4(_0x2396f5,_0x46348e,_0x1f28aa);_0x4d1fa4[_0x501dc7(0x33a)]=class extends _0x3ec010[_0x501dc7(0x17f)]{constructor(_0x5363a9,_0x4cdee6,_0x2cbc5e,_0x1cc4e3,_0x3f7098,_0x41c4b2){const _0x5a9769=_0x501dc7;super(),_0x69c9df(this,_0x5a9769(0x1df),new Map()),_0x69c9df(this,_0x5a9769(0x121),new Map()),_0x69c9df(this,'_viewData',new Map()),_0x69c9df(this,'_textInfo'),_0x69c9df(this,_0x5a9769(0x1c7),new _0x12c2f2[(_0x5a9769(0x327))]()),_0x69c9df(this,_0x5a9769(0x1eb),this['_collectionChange$'][_0x5a9769(0x245)]()),_0x69c9df(this,'_viewData$',new _0x12c2f2[(_0x5a9769(0x327))]()),_0x69c9df(this,_0x5a9769(0x1e7),this['_viewData$'][_0x5a9769(0x245)]()),_0x69c9df(this,'_fieldsCollectionChange$',new _0x12c2f2[(_0x5a9769(0x327))]()),_0x69c9df(this,'fieldsCollectionChange$',this['_fieldsCollectionChange$']['asObservable']()),_0x69c9df(this,'_dataFieldManagerCollection',new Map()),_0x69c9df(this,_0x5a9769(0xf8),[]),_0x69c9df(this,_0x5a9769(0x38e),new Map()),(this[_0x5a9769(0x371)]=_0x5363a9,this[_0x5a9769(0x1ca)]=_0x4cdee6,this[_0x5a9769(0x27c)]=_0x2cbc5e,this['_configService']=_0x1cc4e3,this[_0x5a9769(0x2bf)]=_0x3f7098,this[_0x5a9769(0x203)]=_0x41c4b2,this[_0x5a9769(0x190)]());}[_0x501dc7(0x1c9)](){const _0x2f43c4=_0x501dc7;return this[_0x2f43c4(0x25d)]?this['_textInfo']:_0x15b244;}[_0x501dc7(0x208)](_0xe31f21){const _0x2dd476=_0x501dc7;this[_0x2dd476(0x25d)]=_0xe31f21;}[_0x501dc7(0x2e9)](_0x2e7456){const _0x3fc01b=_0x501dc7;var _0x3c8106;const {from:_0xe80ecd,to:_0x5d9985,unitId:_0x3e7384,fromRange:_0x4e964a,toRange:_0x5123fe}=_0x2e7456;if(_0xe80ecd&&_0x5d9985){const _0x16f23c=this[_0x3fc01b(0x32b)](_0x3e7384),_0x626023=this[_0x3fc01b(0x1df)]['get'](_0x3e7384),_0x60e4f0=(_0x3c8106=this[_0x3fc01b(0x1ca)]['getUnit'](_0x3e7384))==null?void 0x0:_0x3c8106[_0x3fc01b(0x23b)](_0x5d9985['subUnitId']);if(!_0x626023||!_0x60e4f0)return;const _0x35611e=_0x60e4f0==null?void 0x0:_0x60e4f0[_0x3fc01b(0x172)]();for(const [_0x4177c1,_0x328b86]of _0x626023[_0x3fc01b(0x135)]())for(const [_0x1b3c4a,_0x3ced96]of _0x328b86['entries']()){const {sourceRangeInfo:_0x569f23}=_0x3ced96;if(_0x569f23['unitId']===_0x3e7384&&_0x569f23['subUnitId']===_0xe80ecd[_0x3fc01b(0x130)]&&_0x3ec010[_0x3fc01b(0x3a2)][_0x3fc01b(0x3ba)](_0x4e964a,_0x569f23[_0x3fc01b(0x1a6)])){const _0x499301={'row':_0x569f23[_0x3fc01b(0x1a6)][_0x3fc01b(0x24a)]-_0x4e964a[_0x3fc01b(0x24a)],'col':_0x569f23['range']['startColumn']-_0x4e964a[_0x3fc01b(0xe0)]},_0x4f410f={'unitId':_0x3e7384,'subUnitId':_0x5d9985[_0x3fc01b(0x130)],'sheetName':_0x35611e,'range':{'startRow':_0x5123fe[_0x3fc01b(0x24a)]+_0x499301[_0x3fc01b(0x34d)],'endRow':_0x5123fe['startRow']+_0x499301['row']+_0x569f23[_0x3fc01b(0x1a6)][_0x3fc01b(0x3c0)]-_0x569f23['range'][_0x3fc01b(0x24a)],'startColumn':_0x5123fe[_0x3fc01b(0xe0)]+_0x499301[_0x3fc01b(0xea)],'endColumn':_0x5123fe[_0x3fc01b(0xe0)]+_0x499301[_0x3fc01b(0xea)]+_0x569f23[_0x3fc01b(0x1a6)]['endColumn']-_0x569f23['range'][_0x3fc01b(0xe0)]}};_0x16f23c['handleMoveRange'](_0x1b3c4a,_0x4f410f);const _0x562132={..._0x3ced96,'sourceRangeInfo':_0x4f410f};this[_0x3fc01b(0x21c)](_0x3e7384,_0x5d9985[_0x3fc01b(0x130)],_0x1b3c4a,_0x562132),this[_0x3fc01b(0x15a)]({'unitId':_0x3e7384,'token':_0x1b3c4a,'type':_0xbe7c88['update'],'oldSourceRangeInfo':_0x569f23,'dataRangeInfo':_0x4f410f,'targetCellInfo':_0x3ced96[_0x3fc01b(0x16b)]}),this['updateConfig']({'unitId':_0x3e7384,'subUnitId':_0x5d9985[_0x3fc01b(0x130)],'oldSubUnitId':_0x4177c1,'pivotTableId':_0x1b3c4a,'pivotTableConfig':_0x562132,'collectionConfig':_0x16f23c['toJSON']()});}}}}[_0x501dc7(0x15a)](_0x3e0d53){this['_collectionChange$']['next'](_0x3e0d53);}[_0x501dc7(0x32b)](_0x5ddcba){const _0x2b0bb9=_0x501dc7;let _0x3942d5=this['_dataFieldManagerCollection'][_0x2b0bb9(0x1d2)](_0x5ddcba);return _0x3942d5||(_0x3942d5=new _0x588b0f(this,this[_0x2b0bb9(0x1ca)]),this[_0x2b0bb9(0x363)][_0x2b0bb9(0xec)](_0x5ddcba,_0x3942d5)),_0x3942d5;}[_0x501dc7(0x28e)](_0x71b18a,_0x9df936){const _0x2a0b0d=_0x501dc7;return this[_0x2a0b0d(0x32b)](_0x71b18a)[_0x2a0b0d(0x132)][_0x9df936];}['getUpdateRangeDeleteIds'](_0xbc7f65,_0x27c5d7,_0x551038){const _0x3f1f20=_0x501dc7;return this[_0x3f1f20(0x32b)](_0xbc7f65)[_0x3f1f20(0xd1)](_0x27c5d7,_0x551038);}[_0x501dc7(0x2f7)](_0x4a2715,_0x59f873){const _0xb46445=_0x501dc7;let _0xec8063=this['_model'][_0xb46445(0x1d2)](_0x4a2715);_0xec8063||(_0xec8063=new Map(),this[_0xb46445(0x1df)][_0xb46445(0xec)](_0x4a2715,_0xec8063));let _0xfe184f=_0xec8063[_0xb46445(0x1d2)](_0x59f873);return _0xfe184f||(_0xfe184f=new Map(),_0xec8063[_0xb46445(0xec)](_0x59f873,_0xfe184f)),_0xfe184f;}['_updateModelCache'](_0x294dc4,_0x4db749,_0x28db29,_0x120b0f){const _0x3ed5d6=_0x501dc7;this[_0x3ed5d6(0x2f7)](_0x294dc4,_0x4db749)[_0x3ed5d6(0xec)](_0x28db29,_0x120b0f);}[_0x501dc7(0x1d4)](_0x2bf373,_0x528b68,_0x2ebfdf){const _0x462381=_0x501dc7;var _0x34f967,_0x507fe1,_0x5870e8,_0x289ec7;((_0x507fe1=(_0x34f967=this[_0x462381(0x1df)][_0x462381(0x1d2)](_0x2bf373))==null?void 0x0:_0x34f967['get'](_0x528b68))==null?void 0x0:_0x507fe1[_0x462381(0x1d2)](_0x2ebfdf))&&((_0x289ec7=(_0x5870e8=this[_0x462381(0x1df)][_0x462381(0x1d2)](_0x2bf373))==null?void 0x0:_0x5870e8[_0x462381(0x1d2)](_0x528b68))==null||_0x289ec7[_0x462381(0x2fe)](_0x2ebfdf));}[_0x501dc7(0x23e)](_0x526d99,_0x18358e){this['_pivotTableInstanceCache']['set'](_0x526d99,_0x18358e);}['_deletePivotTableInstanceCache'](_0x1ca9a6){const _0x4ba03b=_0x501dc7;this[_0x4ba03b(0x121)]['delete'](_0x1ca9a6);}['_ensureViewDataMap'](_0x593690,_0x207732){const _0x401add=_0x501dc7;let _0x38f96f=this[_0x401add(0x266)][_0x401add(0x1d2)](_0x593690);_0x38f96f||(_0x38f96f=new Map(),this[_0x401add(0x266)]['set'](_0x593690,_0x38f96f));let _0xed9a93=_0x38f96f[_0x401add(0x1d2)](_0x207732);return _0xed9a93||(_0xed9a93=new Map(),_0x38f96f[_0x401add(0xec)](_0x207732,_0xed9a93)),_0xed9a93;}[_0x501dc7(0x2ab)](_0x4e5339){const {unitId:_0x398a81,subUnitId:_0x1dc67f,pivotTableId:_0x1c87c6,pivotTableConfig:_0x44d3ed,collectionConfig:_0x3ae0e1}=_0x4e5339,_0x3d70cb={'unitId':_0x398a81,'subUnitId':_0x1dc67f,'oldSubUnitId':_0x1dc67f,'pivotTableId':_0x1c87c6,'pivotTableConfig':_0x44d3ed,'collectionConfig':_0x3ae0e1};this['_commandService']['executeCommand'](_0x3ed3b2['id'],_0x3d70cb,{'onlyLocal':!0x0});}['updateView'](_0xa108f4,_0x369453,_0x52eeea,_0x4db62d,_0x330f8e,_0xf23ea1,_0x5ef14c,_0x340e68=!0x1){const _0x2a7486=_0x501dc7;var _0x52399b;this['_commandService'][_0x2a7486(0x247)](_0x96abfa['id'],{'single':{'unitId':_0xa108f4,'subUnitId':_0x369453,'type':_0x52eeea,'pivotTableId':_0x4db62d,'view':_0x330f8e,'pivotConfig':_0xf23ea1},'collectionConfig':{[_0xa108f4]:_0x5ef14c}},{'onlyLocal':!0x0});const _0x46a42a=!!((_0x52399b=this[_0x2a7486(0x1f8)](_0x4db62d))!=null&&_0x52399b['isEmpty']()),_0x1f87e1=this[_0x2a7486(0x22d)](_0xa108f4,_0x369453,_0x4db62d);_0x1f87e1&&this[_0x2a7486(0x26c)]({'view':_0x330f8e,'pivotTableId':_0x4db62d,'textInfo':this[_0x2a7486(0x1c9)](),'isEmpty':_0x46a42a,'targetCellInfo':_0x1f87e1['targetCellInfo']},_0x340e68);}[_0x501dc7(0x26c)](_0x1ca085,_0x47bc33){const _0x315f23=_0x501dc7,{targetCellInfo:_0x1498b9,pivotTableId:_0x563138}=_0x1ca085,{unitId:_0x2a53aa,subUnitId:_0x2b59ef}=_0x1498b9,_0x14c5bb=this['_ensureViewDataMap'](_0x2a53aa,_0x2b59ef),_0xeb5403=_0x14c5bb[_0x315f23(0x1d2)](_0x563138);let _0x21bfa8,_0x455d69;_0xeb5403&&(_0x21bfa8=_0xeb5403['rangeCache'],_0x455d69=_0xeb5403[_0x315f23(0x1af)]);const {rangesCache:_0x4eb792,matrix:_0x523a2c}=_0x3646c7(_0x1ca085);_0x14c5bb[_0x315f23(0xec)](_0x563138,{'rangeCache':_0x4eb792,'matrix':_0x523a2c,'oldMatrix':_0x455d69,'oldRangeCache':_0x21bfa8}),_0x47bc33||this['_viewData$'][_0x315f23(0x333)]({'unitId':_0x2a53aa,'subUnitId':_0x2b59ef,'pivotTableId':_0x563138});}[_0x501dc7(0x296)](_0x24304d,_0x4bb98d,_0x4bc173,_0x49d854,_0x10a3f7){const _0x5a390f=_0x501dc7;this[_0x5a390f(0x21c)](_0x24304d,_0x4bb98d,_0x4bc173,_0x10a3f7),this['_updatePivotTableInstanceCache'](_0x4bc173,_0x49d854);}[_0x501dc7(0x291)](_0x11a695,_0x29dad0,_0x2f9964){const _0x148a82=_0x501dc7,_0x2de28a=this[_0x148a82(0x32b)](_0x11a695);_0x2de28a[_0x148a82(0x3a9)](_0x2f9964)['forEach'](_0x13bec0=>{const _0xa2166a=_0x148a82;_0x2de28a[_0xa2166a(0x272)](_0x13bec0);}),this[_0x148a82(0x29f)](_0x11a695,_0x2f9964),this[_0x148a82(0x1d4)](_0x11a695,_0x29dad0,_0x2f9964),this['_deletePivotTableInstanceCache'](_0x2f9964);}[_0x501dc7(0x139)](_0x1f2bae,_0xf187bd,_0x2fe51d,_0x4a5c41){const _0x1be043=_0x501dc7;this[_0x1be043(0x21c)](_0x1f2bae,_0xf187bd,_0x2fe51d,_0x4a5c41);}[_0x501dc7(0x22d)](_0x5dd45d,_0x5718d1,_0x46a275){const _0x3b3d80=_0x501dc7;var _0x4890c7,_0x4cf680;const _0x56743c=(_0x4cf680=(_0x4890c7=this[_0x3b3d80(0x1df)][_0x3b3d80(0x1d2)](_0x5dd45d))==null?void 0x0:_0x4890c7[_0x3b3d80(0x1d2)](_0x5718d1))==null?void 0x0:_0x4cf680[_0x3b3d80(0x1d2)](_0x46a275);if(_0x56743c)return _0x56743c;}[_0x501dc7(0x22f)](_0x54d3dd,_0x4e34b0,_0x32e712){const _0x39fed7=_0x501dc7;var _0x189cd4,_0xa70b93;const _0x154390=(_0xa70b93=(_0x189cd4=this[_0x39fed7(0x1df)]['get'](_0x54d3dd))==null?void 0x0:_0x189cd4[_0x39fed7(0x1d2)](_0x4e34b0))==null?void 0x0:_0xa70b93[_0x39fed7(0x1d2)](_0x32e712);if(_0x154390)return _0x154390[_0x39fed7(0xd4)];}['getPivotTableInstance'](_0x4a8f31){const _0x3f771e=_0x501dc7;return this[_0x3f771e(0x121)][_0x3f771e(0x1d2)](_0x4a8f31);}[_0x501dc7(0x295)](_0x4c224c){const _0x8cb899=_0x501dc7;this[_0x8cb899(0x1df)][_0x8cb899(0x2fe)](_0x4c224c);const _0x122212=this[_0x8cb899(0x363)][_0x8cb899(0x1d2)](_0x4c224c);_0x122212&&(_0x122212[_0x8cb899(0x2b8)](),this['_dataFieldManagerCollection'][_0x8cb899(0x2fe)](_0x4c224c)),this[_0x8cb899(0x266)][_0x8cb899(0x2fe)](_0x4c224c),this[_0x8cb899(0xf8)][_0x8cb899(0x189)](_0x12d14f=>{_0x12d14f['deleteUnitId'](_0x4c224c);});}[_0x501dc7(0x310)](_0xb52b35,_0x4dfacc,_0x5114bf,_0xcf6ce7){const _0xdb0b11=_0x501dc7;return this[_0xdb0b11(0x32b)](_0x5114bf[_0xdb0b11(0x316)])[_0xdb0b11(0x310)](_0xb52b35,_0x4dfacc,_0x5114bf,_0xcf6ce7);}[_0x501dc7(0x2d6)](_0x4cbc69){const _0x53cd35=_0x501dc7;return this[_0x53cd35(0x32b)](_0x4cbc69[_0x53cd35(0x316)])[_0x53cd35(0x2d6)](_0x4cbc69);}[_0x501dc7(0x36d)](_0xf3498b,_0x2eb2b7,_0x353ad0){const _0x1dc617=_0x501dc7;this['getDataFieldManager'](_0x353ad0['unitId'])[_0x1dc617(0x36d)](_0xf3498b,_0x2eb2b7,_0x353ad0);}[_0x501dc7(0xe6)](_0x419120,_0x4ab0f9){const _0x62828e=_0x501dc7;this[_0x62828e(0x32b)](_0x419120)['deleteDataField'](_0x4ab0f9);}[_0x501dc7(0x29f)](_0x251aa3,_0xce2732){const _0x2d820d=_0x501dc7;this[_0x2d820d(0x32b)](_0x251aa3)[_0x2d820d(0x3bb)](_0xce2732);}[_0x501dc7(0x392)](_0x35c883,_0x529643){const _0x38c3dc=_0x501dc7;var _0x23d64d;return(_0x23d64d=this['_model'][_0x38c3dc(0x1d2)](_0x35c883))==null?void 0x0:_0x23d64d[_0x38c3dc(0x1d2)](_0x529643);}[_0x501dc7(0x1c6)](_0x4462dd){const _0x45e026=_0x501dc7;for(const [_0x38344f,_0x344b11]of this[_0x45e026(0x1df)][_0x45e026(0x135)]())for(const [_0x107cbd,_0x2e4a11]of _0x344b11[_0x45e026(0x135)]())if(_0x2e4a11['has'](_0x4462dd))return{'unitId':_0x38344f,'subUnitId':_0x107cbd};return null;}['sideEffectUpdateWorkerCache'](_0x306111,_0x19e62d,_0x2672e1,_0x393c3b){const _0x5646d8=_0x501dc7,_0x88ae6=this[_0x5646d8(0xbd)](_0x306111,_0x19e62d);_0x393c3b?_0x88ae6['set'](_0x2672e1,_0x393c3b):_0x88ae6[_0x5646d8(0x2fe)](_0x2672e1),this[_0x5646d8(0x1ec)][_0x5646d8(0x333)]({'unitId':_0x306111,'subUnitId':_0x19e62d,'pivotTableId':_0x2672e1});}[_0x501dc7(0x2b8)](){const _0x2a8079=_0x501dc7;super[_0x2a8079(0x2b8)]();}['getViewData'](_0x4c02e4,_0xad9e83,_0x14469b){const _0x449b6c=_0x501dc7;var _0x47164d,_0x532592;const _0x2c432e=(_0x532592=(_0x47164d=this['_viewData']['get'](_0x4c02e4))==null?void 0x0:_0x47164d['get'](_0xad9e83))==null?void 0x0:_0x532592[_0x449b6c(0x1d2)](_0x14469b);return _0x2c432e||null;}[_0x501dc7(0xdd)](_0x19f8b3){const _0x45f19a=_0x501dc7;this[_0x45f19a(0x335)](_0x19f8b3);}[_0x501dc7(0x335)](_0x2edc5c){const _0x9111b0=_0x501dc7,{token:_0x1cde8c,unitId:_0x2e6a61,subUnitId:_0x3c1d80}=_0x2edc5c,_0x1d7598=_0x2e6a61+'-'+_0x3c1d80+'-'+_0x1cde8c;this[_0x9111b0(0x38e)][_0x9111b0(0x1d2)](_0x1d7598)&&clearTimeout(this[_0x9111b0(0x38e)][_0x9111b0(0x1d2)](_0x1d7598));const _0x3d7774=setTimeout(()=>{const _0x8b0051=_0x9111b0;this['queryDirtyPivotTable'](_0x2edc5c),this[_0x8b0051(0x38e)][_0x8b0051(0x2fe)](_0x1d7598);},_0x4c53ff);this[_0x9111b0(0x38e)]['set'](_0x1d7598,_0x3d7774);}[_0x501dc7(0xd5)](_0x2e0e43){const _0x58e774=_0x501dc7,{unitId:_0x243de3,subUnitId:_0x378b5d,token:_0x222063,type:_0x5638d2,pivotConfig:_0x194b3c}=_0x2e0e43,_0x4c0fc6=this['getPivotTableInstance'](_0x222063),_0xf8fdb=_0x4c0fc6==null?void 0x0:_0x4c0fc6[_0x58e774(0x3b4)](),_0x2c0ab9=_0x194b3c!=null?_0x194b3c:this[_0x58e774(0x22d)](_0x243de3,_0x378b5d,_0x222063);_0x2c0ab9&&(_0x2c0ab9[_0x58e774(0x103)]=!!(_0x4c0fc6!=null&&_0x4c0fc6[_0x58e774(0x103)]())),(_0xf8fdb||_0x5638d2===_0x284607[_0x58e774(0xcd)])&&this[_0x58e774(0x1ab)](_0x243de3,_0x378b5d,_0x5638d2,_0x222063,_0xf8fdb,_0x2c0ab9,this[_0x58e774(0x32b)](_0x243de3)[_0x58e774(0x2ea)]());}[_0x501dc7(0x2ea)](_0x28c51a){const _0xb703ae=_0x501dc7,_0xadfb9b={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0xb703ae(0x32b)](_0x28c51a)&&(_0xadfb9b['dataFieldManagerConfig'][_0x28c51a]=this[_0xb703ae(0x32b)](_0x28c51a)[_0xb703ae(0x2ea)]()),this[_0xb703ae(0x1df)]['get'](_0x28c51a)){_0xadfb9b[_0xb703ae(0x293)][_0x28c51a]={};const _0x3dcb2f=this[_0xb703ae(0x1df)]['get'](_0x28c51a);_0x3dcb2f!=null&&_0x3dcb2f[_0xb703ae(0x161)]&&[..._0x3dcb2f[_0xb703ae(0x396)]()][_0xb703ae(0x189)](_0x40af8=>{const _0x3b7af7=_0xb703ae,_0x42b86d=_0x3dcb2f['get'](_0x40af8);_0x42b86d!=null&&_0x42b86d[_0x3b7af7(0x161)]&&(_0xadfb9b[_0x3b7af7(0x293)][_0x28c51a][_0x40af8]={},[..._0x42b86d[_0x3b7af7(0x396)]()][_0x3b7af7(0x189)](_0x329acb=>{const _0x8293ae=_0x3b7af7,_0x1c5ca2=_0x42b86d[_0x8293ae(0x1d2)](_0x329acb);_0x1c5ca2&&(_0xadfb9b[_0x8293ae(0x293)][_0x28c51a][_0x40af8][_0x329acb]=_0x1c5ca2);}));});}return _0xadfb9b;}[_0x501dc7(0x3b1)](_0xd69a70){const _0x33581f=_0x501dc7;var _0x46ec98;const {dataFieldManagerConfig:_0x538fda,pivotTableConfigs:_0x2a756b}=_0xd69a70;_0x538fda&&Object['keys'](_0x538fda)[_0x33581f(0x189)](_0x192dd9=>{const _0x40bd72=_0x33581f;this['getDataFieldManager'](_0x192dd9)[_0x40bd72(0x3b1)](_0x538fda[_0x192dd9]);});const _0x38eb3f=[];if(_0x2a756b){const _0x57e7b5=(_0x46ec98=this[_0x33581f(0x371)][_0x33581f(0x1d2)](_0x3ec010[_0x33581f(0x2d4)])['getConfig'](_0x2e18f4[_0x33581f(0x257)]))!=null?_0x46ec98:{},{ls:_0x1a9d10,pbk:_0xf183ba}=_0x57e7b5,_0x126269=_0x2da912(_0xff2d0f,_0x1a9d10,_0xf183ba)['count'];Object[_0x33581f(0x396)](_0x2a756b)[_0x33581f(0x189)](_0x3367a4=>{const _0x49c8b2=_0x33581f;let _0x54b3fc=0x0;const _0x42390c=_0x2a756b[_0x3367a4];Object['keys'](_0x42390c)[_0x49c8b2(0x189)](_0x1f61bc=>{const _0x30d8e7=_0x42390c[_0x1f61bc];Object['keys'](_0x30d8e7)['forEach'](_0x1d2846=>{const _0x39544f=_0x25c6,_0xeead68=_0x30d8e7[_0x1d2846];if(_0xeead68){if(_0x54b3fc>=_0x126269)return;_0x54b3fc++;const _0x5988a2=this[_0x39544f(0x32b)](_0x3367a4),_0x41390d=_0x5988a2[_0x39544f(0x132)][_0x1d2846],_0x4a01ad=_0x41390d['getFieldIds']();let _0x168850=0x0;const _0x9dc839=[];for(const _0x1e7bcb of _0x4a01ad){const _0x2dd43d=_0x41390d[_0x39544f(0x313)](_0x1e7bcb);if(_0x2350f2['isBaseGroupField'](_0x2dd43d)){const _0x50520d=_0x2dd43d[_0x39544f(0x124)](),_0x187bf4=_0x41390d[_0x39544f(0x313)](_0x50520d);_0x187bf4&&_0x9dc839[_0x39544f(0x37a)]([_0x2dd43d,_0x187bf4]);continue;}_0x5988a2['refreshDataField'](_0x1e7bcb,_0xeead68[_0x39544f(0x188)],_0x168850),_0x168850++;}_0x9dc839['forEach'](([_0x22c53c,_0x112545])=>{const _0x2dacfb=_0x39544f;_0x22c53c[_0x2dacfb(0x136)](_0x112545);});const _0x221530=new _0x2350f2[(_0x39544f(0xcc))](_0x41390d);_0x221530[_0x39544f(0x3b1)](_0xeead68['fieldsConfig']),this[_0x39544f(0x296)](_0x3367a4,_0x1f61bc,_0x1d2846,_0x221530,_0xeead68);const _0x4dcda8=_0x221530[_0x39544f(0x3b4)]();_0x38eb3f[_0x39544f(0x37a)]({'unitId':_0x3367a4,'subUnitId':_0x1f61bc,'pivotTableId':_0x1d2846,'view':_0x4dcda8[_0x39544f(0x2ea)](),'pivotConfig':_0xeead68,'type':_0x284607[_0x39544f(0x21b)]});const _0x2f1af7=!!_0x221530[_0x39544f(0x103)](),_0x451a95={'view':_0x4dcda8,'pivotTableId':_0x1d2846,'textInfo':this[_0x39544f(0x1c9)](),'isEmpty':_0x2f1af7,'targetCellInfo':_0xeead68['targetCellInfo']};this[_0x39544f(0x26c)](_0x451a95,!0x1);}});});});}_0x538fda&&Object[_0x33581f(0x396)](_0x538fda)[_0x33581f(0x189)](_0x49f11b=>{const _0x5a147d=_0x33581f,_0x38b49d=this[_0x5a147d(0x32b)](_0x49f11b);this['_fieldsCollectionChange$'][_0x5a147d(0x333)](_0x38b49d[_0x5a147d(0x132)]);}),this[_0x33581f(0x2bf)][_0x33581f(0x247)](_0x96abfa['id'],{'batch':_0x38eb3f,'collectionConfig':_0x538fda},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x4d2384=_0x501dc7;this[_0x4d2384(0xbf)](this[_0x4d2384(0x203)][_0x4d2384(0x1bc)]({'toJson':_0x3306fe=>JSON[_0x4d2384(0x268)](this[_0x4d2384(0x2ea)](_0x3306fe)),'parseJson':_0x42a0ef=>{if(!_0x42a0ef)return{};try{return JSON['parse'](_0x42a0ef);}catch{return{};}},'businesses':[_0x3ec010[_0x4d2384(0x2b9)][_0x4d2384(0x128)]],'pluginName':_0x4567c4,'onLoad':(_0x1c7c95,_0xc8c29c)=>{this['fromJSON'](_0xc8c29c);},'onUnLoad':_0x2d065f=>{const _0x13db92=_0x4d2384;this[_0x13db92(0x295)](_0x2d065f);}}));}},_0x4d1fa4[_0x501dc7(0x33a)]=_0x56a839([_0x312bda(0x0,_0x3ec010['Inject'](_0x3ec010[_0x501dc7(0x2c4)])),_0x312bda(0x1,_0x3ec010['IUniverInstanceService']),_0x312bda(0x2,_0x3ec010[_0x501dc7(0x170)](_0x3ec010['LifecycleService'])),_0x312bda(0x3,_0x3ec010[_0x501dc7(0x2d4)]),_0x312bda(0x4,_0x3ec010[_0x501dc7(0x155)]),_0x312bda(0x5,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x2fa)]))],_0x4d1fa4[_0x501dc7(0x33a)]);const _0x2fbbbe={0x0:{0x0:{'v':_0x501dc7(0x375),'s':_0x3f87ec}},0x2:{0x1:{'v':'','s':_0x3f87ec},0x2:{'v':'','s':_0x3f87ec},0x3:{'v':_0x501dc7(0x112),'s':_0x3f87ec},0x4:{'v':'','s':_0x3f87ec},0x5:{'v':'','s':_0x3f87ec}},0x3:{0x0:{'v':'','s':_0x3f87ec},0x1:{'v':'','s':_0x4e4e10},0x2:{'v':'','s':_0x4e4e10},0x3:{'v':'','s':_0x4e4e10},0x4:{'v':'','s':_0x4e4e10},0x5:{'v':'','s':_0x4e4e10}},0x4:{0x0:{'v':'','s':_0x3f87ec},0x1:{'v':'','s':_0x4e4e10},0x2:{'v':'','s':_0x4e4e10},0x3:{'v':'','s':_0x4e4e10},0x4:{'v':'','s':_0x4e4e10},0x5:{'v':'','s':_0x4e4e10}},0x5:{0x0:{'v':'','s':_0x3f87ec},0x1:{'v':'','s':_0x4e4e10},0x2:{'v':'','s':_0x4e4e10},0x3:{'v':'','s':_0x4e4e10},0x4:{'v':'','s':_0x4e4e10},0x5:{'v':'','s':_0x4e4e10}},0x6:{0x0:{'v':'','s':_0x3f87ec},0x1:{'v':'','s':_0x4e4e10},0x2:{'v':'','s':_0x4e4e10},0x3:{'v':'','s':_0x4e4e10},0x4:{'v':'','s':_0x4e4e10},0x5:{'v':'','s':_0x4e4e10}},0x7:{0x0:{'v':'','s':_0x3f87ec},0x1:{'v':'','s':_0x4e4e10},0x2:{'v':'','s':_0x4e4e10},0x3:{'v':'','s':_0x4e4e10},0x4:{'v':'','s':_0x4e4e10},0x5:{'v':'','s':_0x4e4e10}},0x8:{0x0:{'v':_0x501dc7(0x34d),'s':_0x3f87ec},0x1:{'v':'','s':_0x4e4e10},0x2:{'v':'','s':_0x4e4e10},0x3:{'v':_0x501dc7(0x27e),'s':_0x4e4e10},0x4:{'v':'','s':_0x4e4e10},0x5:{'v':'','s':_0x4e4e10}},0x9:{0x0:{'v':'','s':_0x3f87ec},0x1:{'v':'','s':_0x4e4e10},0x2:{'v':'','s':_0x4e4e10},0x3:{'v':'','s':_0x4e4e10},0x4:{'v':'','s':_0x4e4e10},0x5:{'v':'','s':_0x4e4e10}},0xa:{0x0:{'v':'','s':_0x3f87ec},0x1:{'v':'','s':_0x4e4e10},0x2:{'v':'','s':_0x4e4e10},0x3:{'v':'','s':_0x4e4e10},0x4:{'v':'','s':_0x4e4e10},0x5:{'v':'','s':_0x4e4e10}},0xb:{0x0:{'v':'','s':_0x3f87ec},0x1:{'v':'','s':_0x4e4e10},0x2:{'v':'','s':_0x4e4e10},0x3:{'v':'','s':_0x4e4e10},0x4:{'v':'','s':_0x4e4e10},0x5:{'v':'','s':_0x4e4e10}},0xc:{0x0:{'v':'','s':_0x3f87ec},0x1:{'v':'','s':_0x4e4e10},0x2:{'v':'','s':_0x4e4e10},0x3:{'v':'','s':_0x4e4e10},0x4:{'v':'','s':_0x4e4e10},0x5:{'v':'','s':_0x4e4e10}},0xd:{0x0:{'v':'','s':_0x3f87ec},0x1:{'v':'','s':_0x4e4e10},0x2:{'v':'','s':_0x4e4e10},0x3:{'v':'','s':_0x4e4e10},0x4:{'v':'','s':_0x4e4e10},0x5:{'v':'','s':_0x4e4e10}}},_0x52b58e={'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':[]},_0x27197a=(_0x3fde38,_0x1a4edd)=>{const _0x256090=_0x501dc7,_0x329096=new _0x3ec010[(_0x256090(0x1be))](),_0x2bc008=new _0x3ec010[(_0x256090(0x1be))](_0x2fbbbe),{row:_0xe7edc5,col:_0x11206e}=_0x1a4edd;_0x2bc008[_0x256090(0x264)]((_0x29303d,_0x5d0905,_0x1eccce)=>{const _0x5c3422=_0x256090;let _0x2414ae='';_0x1eccce['v']===_0x5c3422(0x375)?_0x2414ae=_0x3fde38[_0x5c3422(0x375)]:_0x1eccce['v']==='row'?_0x2414ae=_0x3fde38['row']:_0x1eccce['v']===_0x5c3422(0x112)?_0x2414ae=_0x3fde38['column']:_0x1eccce['v']==='values'&&(_0x2414ae=_0x3fde38[_0x5c3422(0x27e)]),_0x329096[_0x5c3422(0x27f)](_0x29303d+_0xe7edc5,_0x5d0905+_0x11206e,{..._0x1eccce,'v':_0x2414ae});});const _0x5216a0=_0x3ec010[_0x256090(0x25a)][_0x256090(0x221)](_0x52b58e);return Object[_0x256090(0x396)](_0x52b58e)[_0x256090(0x189)](_0x11b74d=>{const _0x1d340d=_0x256090;_0x5216a0[_0x11b74d]=_0x52b58e[_0x11b74d]['map'](_0x329bb8=>({..._0x329bb8,'startRow':_0x329bb8[_0x1d340d(0x24a)]+_0xe7edc5,'endRow':_0x329bb8[_0x1d340d(0x3c0)]+_0xe7edc5,'startColumn':_0x329bb8[_0x1d340d(0xe0)]+_0x11206e,'endColumn':_0x329bb8[_0x1d340d(0x339)]+_0x11206e}));}),{'matrixCache':_0x329096,'rangesCache':_0x5216a0};};function _0x564bcb(_0x4df2cb,_0x54a3c2){const _0x4a82e0=_0x501dc7;let _0x16075f='';const _0x35b3bb=this['getTextInfo']();switch(_0x54a3c2){case _0x2350f2[_0x4a82e0(0x1bd)][_0x4a82e0(0xb7)]:_0x16075f=_0x35b3bb[_0x4a82e0(0x395)]+_0x4df2cb;break;case _0x2350f2[_0x4a82e0(0x1bd)][_0x4a82e0(0x2e3)]:_0x16075f=_0x35b3bb[_0x4a82e0(0x2cc)]+_0x4df2cb;break;case _0x2350f2[_0x4a82e0(0x1bd)]['countNums']:_0x16075f=_0x35b3bb[_0x4a82e0(0x250)]+_0x4df2cb;break;case _0x2350f2[_0x4a82e0(0x1bd)][_0x4a82e0(0x1a8)]:_0x16075f=_0x35b3bb[_0x4a82e0(0x199)]+_0x4df2cb;break;case _0x2350f2['PivotSubtotalTypeEnum'][_0x4a82e0(0xe7)]:_0x16075f=_0x35b3bb['sheets-pivot.minName']+_0x4df2cb;break;case _0x2350f2[_0x4a82e0(0x1bd)][_0x4a82e0(0x178)]:_0x16075f=_0x35b3bb[_0x4a82e0(0x267)]+_0x4df2cb;break;case _0x2350f2[_0x4a82e0(0x1bd)][_0x4a82e0(0x379)]:_0x16075f=_0x35b3bb['sheets-pivot.stdDevName']+_0x4df2cb;break;case _0x2350f2[_0x4a82e0(0x1bd)][_0x4a82e0(0x1a7)]:_0x16075f=_0x35b3bb[_0x4a82e0(0x3c6)]+_0x4df2cb;break;case _0x2350f2[_0x4a82e0(0x1bd)][_0x4a82e0(0x383)]:_0x16075f=_0x35b3bb[_0x4a82e0(0x348)]+_0x4df2cb;break;case _0x2350f2['PivotSubtotalTypeEnum'][_0x4a82e0(0x2eb)]:_0x16075f=_0x35b3bb[_0x4a82e0(0x35a)]+_0x4df2cb;break;case _0x2350f2[_0x4a82e0(0x1bd)][_0x4a82e0(0x2b2)]:_0x16075f=_0x35b3bb[_0x4a82e0(0x2f3)]+_0x4df2cb;break;default:_0x16075f=_0x4df2cb;break;}return _0x16075f;}function _0x2f6cf5(_0x534652,_0x2072b3,_0x1f4f22,_0x28fb84,_0x1271c9){const _0x23e487=_0x501dc7;var _0x2bd58e,_0x134afd,_0x3bde57,_0x3b2286,_0xd8eca;const _0x534e67=_0x3ec010[_0x23e487(0x23a)](_0x534652,_0x2072b3),{rangesInfo:_0x29d9df,areaInfo:_0x3d175c,headerMap:_0x9f0945}=_0x1271c9;if(!_0x29d9df||!_0x3d175c||!_0x9f0945)return;const _0x417aab=Object[_0x23e487(0x396)](_0x29d9df)[_0x23e487(0x20f)](_0x864088=>_0x29d9df[_0x864088][_0x23e487(0xc0)](_0x56323d=>_0x3ec010[_0x23e487(0x3a2)][_0x23e487(0x3ba)](_0x56323d,_0x534e67))),_0x41bdf4=_0x3d175c;let _0x32ec8b,_0xdff8cc,_0x30aa71;if(_0x417aab===_0x23e487(0x11e))_0x32ec8b=(_0x2bd58e=_0x41bdf4==null?void 0x0:_0x41bdf4[_0x23e487(0x1c0)])==null?void 0x0:_0x2bd58e[_0x534652],_0xdff8cc=(_0x134afd=_0x9f0945==null?void 0x0:_0x9f0945[_0x23e487(0x19b)])==null?void 0x0:_0x134afd[_0x2072b3],_0x30aa71=_0xdff8cc==null?void 0x0:_0xdff8cc[_0x23e487(0x349)];else{if(_0x417aab===_0x23e487(0x28a))_0x32ec8b=(_0x3bde57=_0x41bdf4==null?void 0x0:_0x41bdf4[_0x23e487(0x193)])==null?void 0x0:_0x3bde57[_0x2072b3],_0xdff8cc=(_0x3b2286=_0x9f0945[_0x23e487(0x332)])==null?void 0x0:_0x3b2286[_0x534652+0x1+_0x2072b3-_0x29d9df[_0x23e487(0x28a)][0x0][_0x23e487(0xe0)]],_0x30aa71=_0xdff8cc==null?void 0x0:_0xdff8cc[_0x23e487(0x349)];else{if(_0x417aab==='cornerRanges')_0x32ec8b=(_0xd8eca=_0x41bdf4==null?void 0x0:_0x41bdf4[_0x23e487(0x37f)])==null?void 0x0:_0xd8eca[_0x2072b3],_0x30aa71=_0x32ec8b==null?void 0x0:_0x32ec8b['tableFieldId'];else{if(_0x417aab===_0x23e487(0xc4)){const _0x9f1cdc=_0x1f4f22==null?void 0x0:_0x1f4f22['fi'];_0x9f1cdc!==void 0x0&&(_0x30aa71=_0x28fb84['getFilterFieldIdByIndex'](_0x9f1cdc));}}}}return{'filterId':_0x30aa71,'info':_0x32ec8b,'data':_0x1f4f22,'headerInfo':_0xdff8cc};}function _0x192c67(_0x835e92,_0x575147,_0x44615f){const _0x18120a=_0x501dc7,_0x9cd799=_0x835e92['dataFieldsCollection'],_0x15a7c1=_0x9cd799[_0x18120a(0x12a)](),_0x19049a=new Set();_0x835e92[_0x18120a(0x1e1)](_0x1e1640=>{const _0x3df693=_0x18120a;_0x19049a['add'](_0x1e1640[_0x3df693(0x2b0)]);});const _0xfed0b8=_0x15a7c1[_0x18120a(0x2d0)](_0x145337=>{const _0x40e51f=_0x18120a,_0x398f52=_0x9cd799[_0x40e51f(0x313)](_0x145337);return{'checked':_0x19049a[_0x40e51f(0x284)](_0x145337),'dataFieldId':_0x398f52['id'],'id':_0x398f52['id'],'name':_0x9cd799[_0x40e51f(0x369)](_0x398f52['id']),'type':_0x398f52['getFieldDataType'](),'pivotTableId':_0x575147};}),_0x59c878=[];_0x835e92['iterateFieldByArea'](_0x2350f2['PivotTableFiledAreaEnum'][_0x18120a(0xbb)],_0x54a616=>{const _0x2e7b6d=_0x18120a;_0x59c878['push']({'dataFieldId':_0x54a616[_0x2e7b6d(0x2b0)],'tableFieldId':_0x54a616[_0x2e7b6d(0xd0)](),'displayName':_0x54a616[_0x2e7b6d(0x369)]()});});const _0x5b4c52=[];_0x835e92['iterateFieldByArea'](_0x2350f2[_0x18120a(0x297)][_0x18120a(0x301)],_0x340e35=>{const _0x161792=_0x18120a;_0x5b4c52[_0x161792(0x37a)]({'dataFieldId':_0x340e35[_0x161792(0x2b0)],'tableFieldId':_0x340e35['getId'](),'displayName':_0x340e35[_0x161792(0x369)]()});});const _0x13a511=[];if(_0x835e92[_0x18120a(0x336)](_0x2350f2[_0x18120a(0x297)][_0x18120a(0x2aa)],_0x340f7c=>{const _0x1d8559=_0x18120a;_0x13a511[_0x1d8559(0x37a)]({'dataFieldId':_0x340f7c['dataFieldId'],'tableFieldId':_0x340f7c[_0x1d8559(0xd0)](),'displayName':_0x340f7c['getDisplayName'](),'format':_0x340f7c['getFormat'](),'subTotalType':_0x340f7c[_0x1d8559(0xd7)]()});}),_0x13a511['length']>0x1){const _0x36e4a4=_0x835e92[_0x18120a(0x1de)]();(_0x835e92['isColMultiMeasure']()?_0x5b4c52:_0x59c878)['splice'](_0x36e4a4,0x0,{'dataFieldId':'','tableFieldId':_0x18120a(0x1e6),'displayName':_0x18120a(0x26a)});}const _0x33419e=[];_0x835e92['iterateFieldByArea'](_0x2350f2['PivotTableFiledAreaEnum'][_0x18120a(0xc6)],_0x5bb3c2=>{const _0x96ee1c=_0x18120a;_0x33419e[_0x96ee1c(0x37a)]({'dataFieldId':_0x5bb3c2['dataFieldId'],'tableFieldId':_0x5bb3c2[_0x96ee1c(0xd0)](),'displayName':_0x5bb3c2[_0x96ee1c(0x369)]()});});const _0xca5d=_0x44615f['sourceRangeInfo'];return{'sourceList':_0xfed0b8,'sourceRange':_0xca5d,'rowFields':_0x59c878,'columnFields':_0x5b4c52,'valueFields':_0x13a511,'filterFields':_0x33419e,'positionInfo':_0x44615f[_0x18120a(0x16b)]};}function _0x51d940(_0x2e67bd,_0x3866b5,_0x13881e='',_0x37a7db={}){const _0xb8ff98=_0x501dc7,_0x18457a=_0x2e67bd[_0xb8ff98(0x1d2)](_0x3ec010[_0xb8ff98(0x18c)]);for(const _0x24c1f0 in _0x3866b5)if(Object['prototype'][_0xb8ff98(0xe9)][_0xb8ff98(0x262)](_0x3866b5,_0x24c1f0)){const _0x135346=_0x13881e?_0x13881e+'.'+_0x24c1f0:_0x24c1f0;typeof _0x3866b5[_0x24c1f0]==_0xb8ff98(0x17d)&&_0x3866b5[_0x24c1f0]!==null&&!Array[_0xb8ff98(0x1f5)](_0x3866b5[_0x24c1f0])?_0x51d940(_0x2e67bd,_0x3866b5[_0x24c1f0],_0x135346,_0x37a7db):_0x37a7db[_0x135346]=_0x18457a['t'](_0x135346);}return _0x37a7db;}const _0x3873e6=_0x3b16a9=>{const _0x54529b=_0x501dc7;if(!_0x3b16a9)return[];const {rowRanges:_0xd5c57e,colRanges:_0x27fb8d,cornerRanges:_0x3d7b79,dataRanges:_0x160279,pageRanges:_0x5180e6}=_0x3b16a9,_0x362974=[..._0x27fb8d,..._0xd5c57e,..._0x160279,..._0x3d7b79][_0x54529b(0x375)](_0x2c39cc=>_0x2c39cc[_0x54529b(0x24a)]>=0x0&&_0x2c39cc[_0x54529b(0xe0)]>=0x0&&_0x2c39cc[_0x54529b(0x3c0)]>=0x0&&_0x2c39cc[_0x54529b(0x339)]>=0x0);let _0x40f3b9=Number[_0x54529b(0x2cf)],_0x22a348=Number['MIN_SAFE_INTEGER'],_0x262a19=Number[_0x54529b(0x2cf)],_0x2da2bd=Number[_0x54529b(0x1e0)];for(let _0x16c520=0x0;_0x16c520<_0x362974['length'];_0x16c520++)_0x40f3b9=Math['min'](_0x40f3b9,_0x362974[_0x16c520][_0x54529b(0x24a)]),_0x22a348=Math['max'](_0x22a348,_0x362974[_0x16c520][_0x54529b(0x3c0)]),_0x262a19=Math['min'](_0x262a19,_0x362974[_0x16c520][_0x54529b(0xe0)]),_0x2da2bd=Math[_0x54529b(0x1a8)](_0x2da2bd,_0x362974[_0x16c520][_0x54529b(0x339)]);return[..._0x5180e6,{'startRow':_0x40f3b9,'endRow':_0x22a348,'startColumn':_0x262a19,'endColumn':_0x2da2bd}];};function _0x10d650(_0x53a39a,_0x39adb3){const _0x821996=_0x501dc7,_0x2e4202=_0x39adb3[_0x821996(0x2ff)][_0x821996(0x140)],{pivotTableId:_0x47a952,unitId:_0x4f0815,subUnitId:_0x376dda}=_0x39adb3;if(!_0x2e4202)return;const _0x48cf00=_0x53a39a[_0x821996(0x1d2)](_0x4d1fa4[_0x821996(0x33a)]),_0x1230b7=_0x48cf00['getPivotTableInstance'](_0x47a952),_0x2a8a5f=_0x48cf00[_0x821996(0x22d)](_0x4f0815,_0x376dda,_0x47a952);if(!_0x1230b7||!_0x2a8a5f)return;const _0xc74fb8=_0x1230b7[_0x821996(0x38a)](_0x2e4202[_0x821996(0x238)]);if(!(_0xc74fb8!=null&&_0xc74fb8[_0x821996(0x3a5)]))return;const _0x3cea4d=_0x2a8a5f['sourceRangeInfo'],{unitId:_0x54678b,subUnitId:_0x504813,range:_0x4e9bac}=_0x3cea4d;let _0x33e86a=0x0;const _0x406d28=_0x1230b7[_0x821996(0x22e)][_0x821996(0x12a)]()[_0x821996(0x17b)]((_0x2ca3c5,_0x223436)=>{const _0x3d66c4=_0x821996;var _0x5c724c;const _0x40f7d9=(_0x5c724c=_0x1230b7['getDataFieldByDataFieldId'](_0x223436))==null?void 0x0:_0x5c724c[_0x3d66c4(0x18f)]();return _0x40f7d9&&(_0x2ca3c5[String(_0x33e86a)]=_0x40f7d9),_0x33e86a++,_0x2ca3c5;},{});return{'indexes':_0xc74fb8,'range':_0x4e9bac,'sourceUnitId':_0x54678b,'sourceSubUnitId':_0x504813,'formatMap':_0x406d28};}function _0xd07d80(_0x40e489,_0x122aee){const _0xfda06d=_0x501dc7;if(!_0x40e489||!_0x122aee)return!0x0;const _0x4233e1=_0x2e18f4['unshiftString'](_0x441766,_0x1023a5),_0x934d99=new Function(_0xfda06d(0x167)+_0x4233e1)()(_0x40e489,_0x122aee)['message'],_0x14e645=_0x2e18f4[_0xfda06d(0x149)](_0x934d99,'sf',_0x15b372);return!((_0x934d99==null?void 0x0:_0x934d99['rt'])===_0x2e18f4[_0xfda06d(0x1f9)][_0xfda06d(0x1a0)]&&!_0x14e645);}function _0x2da912(_0x5544f9,_0x2337c8,_0x544911){const _0x5735dd=_0x501dc7,_0x5f35dc={'count':_0x5544f9,'timeValid':!0x1};if(!_0x2337c8||!_0x544911)return _0x5f35dc;const _0x55f075=_0x2e18f4['unshiftString'](_0x441766,_0x1023a5),_0x9cc91f=new Function(_0x5735dd(0x167)+_0x55f075)()(_0x2337c8,_0x544911);if(_0x9cc91f!=null&&_0x9cc91f[_0x5735dd(0x2c8)]){const _0xef8322=_0x9cc91f[_0x5735dd(0xc9)],_0x49366f=_0x2e18f4[_0x5735dd(0x149)](_0xef8322,'sf',_0x15b372);return{'count':_0x2e18f4[_0x5735dd(0x340)](_0xef8322,_0x49366f,_0x5735dd(0x3c5),_0x5544f9,_0x5544f9,0x0),'timeValid':_0x49366f};}return _0x5f35dc;}function _0x1ed240(_0xb98c60,_0x4cacc4,_0x3ff7ee,_0x3fe788){const _0x814f51=_0x501dc7,_0x51cff8={'subUnitId':_0x3ff7ee,'unitId':_0x4cacc4,'cellValue':_0x23e7ae[_0x814f51(0x277)](_0x3fe788)},_0x3433ee=_0x23e7ae[_0x814f51(0x183)](_0xb98c60,_0x51cff8);let _0x1a3261=!0x1;return new _0x3ec010[(_0x814f51(0x1be))](_0x3433ee[_0x814f51(0x150)])[_0x814f51(0x264)]((_0x115e09,_0xe323a9,_0x48aba7)=>{const _0x3d54b6=_0x814f51;if(!_0x1a3261&&_0x48aba7&&(_0x48aba7[_0x3d54b6(0x376)]||_0x48aba7['f']||_0x48aba7['p']||_0x48aba7['s']||_0x48aba7['si']||_0x48aba7['t']||_0x48aba7['v']))return _0x1a3261=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x23e7ae['SetRangeValuesMutation']['id'],'params':_0x3433ee},'setRangeValueRedoMutation':{'id':_0x23e7ae['SetRangeValuesMutation']['id'],'params':_0x51cff8},'shouldClear':_0x1a3261};}function _0x52cb4a(_0x165a8e){const {row:_0x4a85cf,col:_0x5c7e17}=_0x165a8e,_0x52597f={'startRow':_0x4a85cf,'endRow':_0x4a85cf,'startColumn':_0x5c7e17,'endColumn':_0x5c7e17},_0x1b8480={'startRow':_0x4a85cf+0x2,'endRow':_0x4a85cf+0xe,'startColumn':_0x5c7e17,'endColumn':_0x5c7e17+0x6};return[_0x52597f,_0x1b8480];}function _0x37a418(_0x3c2c89,_0x1f7cb1,_0x54ffa0){const _0x111abb=_0x501dc7,{cornerView:_0x5a7aae,rowView:_0x33b08d,colView:_0x1e69d2,pageView:_0x41092b}=_0x3c2c89,{row:_0x3dbd54,col:_0xf32193}=_0x1f7cb1;if(_0x54ffa0)return{'rowCount':_0x30394d+_0x3dbd54,'colCount':_0x1a2c65+_0xf32193};const _0x439f17=_0x41092b[_0x111abb(0x2c2)]>-0x1?_0x41092b[_0x111abb(0x2c2)]+0x1:0x0,_0x496bde=_0x41092b[_0x111abb(0x239)]>-0x1?_0x41092b[_0x111abb(0x239)]:0x0,_0x4e4965=_0x3dbd54+_0x439f17+(_0x439f17?0x1:0x0)+_0x5a7aae[_0x111abb(0x364)]+_0x33b08d[_0x111abb(0x364)],_0x3a7d92=_0xf32193+_0x496bde,_0x2efd06=_0xf32193+_0x5a7aae[_0x111abb(0x30c)]+_0x1e69d2[_0x111abb(0x30c)],_0x39dc98=Math[_0x111abb(0x1a8)](_0x3a7d92,_0x2efd06);return{'rowCount':_0x4e4965,'colCount':_0x39dc98};}function _0x1efb63(_0x4e33db,_0x110f29,_0x174481,_0x20ea39){const _0x4ab91d=_0x501dc7,{row:_0x3370c0,col:_0x1b9037,unitId:_0x148047,subUnitId:_0x473dc4}=_0x174481,_0x421ded=_0x37a418(_0x110f29,{'row':_0x3370c0,'col':_0x1b9037},_0x20ea39),_0x251563=_0x4e33db[_0x4ab91d(0x1d2)](_0x3ec010['IUniverInstanceService']),_0x3fbfdd=_0x23e7ae['getSheetCommandTarget'](_0x251563,{'unitId':_0x148047,'subUnitId':_0x473dc4}),_0x591c6e=[],_0x339d03=[];if(!_0x3fbfdd)return{'undos':_0x339d03,'redos':_0x591c6e};const {worksheet:_0x5caf7e}=_0x3fbfdd,_0x56aafb=_0x5caf7e['getRowCount'](),_0x59d7d6=_0x5caf7e[_0x4ab91d(0x113)]();return _0x56aafb<_0x421ded[_0x4ab91d(0x364)]&&(_0x591c6e[_0x4ab91d(0x37a)]({'id':_0x23e7ae[_0x4ab91d(0x23d)]['id'],'params':{'unitId':_0x148047,'subUnitId':_0x473dc4,'range':{'startRow':_0x56aafb,'endRow':_0x421ded[_0x4ab91d(0x364)]-0x1,'startColumn':0x0,'endColumn':_0x59d7d6-0x1}}}),_0x339d03[_0x4ab91d(0x37a)]({'id':_0x23e7ae[_0x4ab91d(0x1ad)]['id'],'params':{'unitId':_0x148047,'subUnitId':_0x473dc4,'range':{'startRow':_0x56aafb,'endRow':_0x421ded[_0x4ab91d(0x364)]-0x1,'startColumn':0x0,'endColumn':_0x59d7d6-0x1}}})),_0x59d7d6<_0x421ded[_0x4ab91d(0x30c)]&&(_0x591c6e[_0x4ab91d(0x37a)]({'id':_0x23e7ae['InsertColMutation']['id'],'params':{'unitId':_0x148047,'subUnitId':_0x473dc4,'range':{'startRow':0x0,'endRow':_0x56aafb-0x1,'startColumn':_0x59d7d6,'endColumn':_0x421ded[_0x4ab91d(0x30c)]-0x1}}}),_0x339d03[_0x4ab91d(0x37a)]({'id':_0x23e7ae['RemoveColMutation']['id'],'params':{'unitId':_0x148047,'subUnitId':_0x473dc4,'range':{'startRow':0x0,'endRow':_0x56aafb-0x1,'startColumn':_0x59d7d6,'endColumn':_0x421ded[_0x4ab91d(0x30c)]-0x1}}})),{'undos':_0x339d03,'redos':_0x591c6e};}function _0x414879(_0x3de097){const _0x116ef3=_0x501dc7;let _0x5a7c2e=0x0;for(let _0x467b8b=0x0;_0x467b8b<_0x3de097[_0x116ef3(0x3a5)];_0x467b8b++){const _0x6422fa=_0x3de097['charCodeAt'](_0x467b8b);_0x6422fa>=0x4e00&&_0x6422fa<=0x9fff||_0x6422fa>=0x3000&&_0x6422fa<=0x303f||_0x6422fa>=0xff00&&_0x6422fa<=0xffef?_0x5a7c2e+=0x2:_0x5a7c2e+=0x1;}return _0x5a7c2e;}function _0x5e9f50(_0x4a4c37,_0x369b45,_0x1802cd,_0x4a7412){const _0x3f7394=_0x501dc7;var _0xe2bbbf,_0x501d02,_0x83007c,_0x5131fc;const {rowCount:_0x54b4c3,colCount:_0x2acef3,headerMap:_0x56e241}=_0x4a4c37,_0x24cd75=0x64,_0x47bf39=Math['min'](_0x54b4c3,_0x24cd75),_0x5a3bab=Math[_0x3f7394(0xe7)](_0x2acef3,_0x24cd75);let _0x23db99='',_0x1633c3=0x0;for(let _0x36defd=0x0;_0x36defd<_0x47bf39;_0x36defd++)for(let _0xa41c1a=0x0;_0xa41c1a<_0x5a3bab;_0xa41c1a++){const _0x3fc1f3={...(_0x501d02=(_0xe2bbbf=_0x4a4c37[_0x3f7394(0x344)])==null?void 0x0:_0xe2bbbf[_0x36defd])==null?void 0x0:_0x501d02[_0xa41c1a]},_0x53c65e=(_0x83007c=_0x56e241[_0x36defd])==null?void 0x0:_0x83007c[_0x3f7394(0x349)],_0x533c87=_0x4a7412[_0x53c65e];let _0x2ad655=_0x4a4c37['getValue'](_0x36defd,_0xa41c1a);if(_0x3fc1f3){const _0x31749f=_0x1802cd?_0xa41c1a===0x0&&((_0x5131fc=_0x4a4c37[_0x3f7394(0x288)](_0xa41c1a+0x1))==null?void 0x0:_0x5131fc[_0x3f7394(0x3d7)]):!0x1;_0x2ad655=_0x52ecb2(_0x3fc1f3,_0x31749f,_0x533c87,_0x369b45);}if(_0x2ad655!==void 0x0){const _0x280459=_0x414879(String(_0x2ad655));_0x1633c3<_0x280459&&(_0x23db99=String(_0x2ad655),_0x1633c3=_0x280459);}}return _0x23db99;}function _0x6d9554(_0x420024){const _0x100b95=_0x501dc7,{rowCount:_0x309024,colCount:_0x5bc020}=_0x420024;let _0x3b4861='',_0x4e1769=0x0;for(let _0x5b0c84=_0x309024-0x1;_0x5b0c84>0x0&&_0x5b0c84>_0x309024-0x3;_0x5b0c84--)for(let _0x4e9932=0x0;_0x4e9932<_0x5bc020;_0x4e9932++){const _0x3cf246=_0x420024[_0x100b95(0x106)](_0x5b0c84,_0x4e9932);if(_0x3cf246!==void 0x0){const _0x27b25b=String(_0x3cf246)[_0x100b95(0x3a5)];_0x4e1769<_0x27b25b&&(_0x3b4861=String(_0x3cf246),_0x4e1769=_0x27b25b);}}return _0x3b4861;}function _0x1e95e2(_0x1d0086){const _0x488be6=_0x501dc7,{rowCount:_0x520592,colCount:_0x3dff1a}=_0x1d0086;let _0x4ebbb9='',_0x853e05=0x0;for(let _0x884234=0x0;_0x884234<_0x520592;_0x884234++)for(let _0x2d8557=0x0;_0x2d8557<_0x3dff1a;_0x2d8557++){const _0x58a5ec=_0x1d0086['getValue'](_0x884234,_0x2d8557);if(_0x58a5ec!==void 0x0){const _0x185df7=String(_0x58a5ec)[_0x488be6(0x3a5)];_0x853e05<_0x185df7&&(_0x4ebbb9=String(_0x58a5ec),_0x853e05=_0x185df7);}}return _0x4ebbb9;}function _0x3409a0(_0x3c6251,_0x3f6697){const _0x15772e=_0x501dc7,{rowFields:_0x58c747,columnFields:_0x1217c5,valueFields:_0x2c79b5,filterFields:_0x2310e7,dimension:_0xe33ba2,measure:_0x42fa81}=_0x3f6697;for(const _0x1f6edb of _0x58c747){const _0x17fd50=_0xe33ba2[_0x1f6edb];_0x17fd50&&_0x3c6251[_0x15772e(0x182)](_0x17fd50[_0x15772e(0x2b0)])&&(_0x3c6251[_0x15772e(0x2e0)](_0x17fd50['dataFieldId'],_0x2350f2[_0x15772e(0x297)][_0x15772e(0xbb)],void 0x0,_0x1f6edb),_0x17fd50[_0x15772e(0x330)]&&_0x3c6251[_0x15772e(0x12f)](_0x17fd50['id'],_0x17fd50['displayName']),_0x17fd50[_0x15772e(0x2b7)]&&_0x3c6251[_0x15772e(0x2a3)](_0x17fd50['id'],_0x17fd50['sortInfo']),_0x17fd50[_0x15772e(0x31e)]&&_0x3c6251[_0x15772e(0x12b)](_0x17fd50['id'],_0x17fd50['filterInfo']));}for(const _0x42a56a of _0x1217c5){const _0x290c07=_0xe33ba2[_0x42a56a];_0x290c07&&_0x3c6251['getDataFieldByDataFieldId'](_0x290c07['dataFieldId'])&&(_0x3c6251['addFieldWithSourceId'](_0x290c07[_0x15772e(0x2b0)],_0x2350f2[_0x15772e(0x297)][_0x15772e(0x301)],void 0x0,_0x42a56a),_0x290c07['sortInfo']&&_0x3c6251[_0x15772e(0x2a3)](_0x290c07['id'],_0x290c07['sortInfo']),_0x290c07[_0x15772e(0x31e)]&&_0x3c6251[_0x15772e(0x12b)](_0x290c07['id'],_0x290c07[_0x15772e(0x31e)]),_0x290c07[_0x15772e(0x330)]&&_0x3c6251[_0x15772e(0x12f)](_0x290c07['id'],_0x290c07['displayName']));}for(const _0x9cf132 of _0x2310e7){const _0x4eb8bc=_0xe33ba2[_0x9cf132];_0x4eb8bc&&_0x3c6251[_0x15772e(0x182)](_0x4eb8bc[_0x15772e(0x2b0)])&&(_0x3c6251[_0x15772e(0x2e0)](_0x4eb8bc[_0x15772e(0x2b0)],_0x2350f2[_0x15772e(0x297)][_0x15772e(0xc6)],void 0x0,_0x9cf132),_0x4eb8bc[_0x15772e(0x2b7)]&&_0x3c6251[_0x15772e(0x2a3)](_0x4eb8bc['id'],_0x4eb8bc[_0x15772e(0x2b7)]),_0x4eb8bc['filterInfo']&&_0x3c6251['setLabelFilterInfo'](_0x4eb8bc['id'],_0x4eb8bc[_0x15772e(0x31e)]),_0x4eb8bc[_0x15772e(0x330)]&&_0x3c6251[_0x15772e(0x12f)](_0x4eb8bc['id'],_0x4eb8bc[_0x15772e(0x330)]));}for(const _0x42402e of _0x2c79b5){const _0x23fe32=_0x42fa81[_0x42402e];_0x23fe32&&_0x3c6251[_0x15772e(0x182)](_0x23fe32[_0x15772e(0x2b0)])&&(_0x3c6251['addFieldWithSourceId'](_0x23fe32[_0x15772e(0x2b0)],_0x2350f2[_0x15772e(0x297)][_0x15772e(0x2aa)],void 0x0,_0x42402e),_0x23fe32[_0x15772e(0x276)]!==void 0x0&&_0x3c6251[_0x15772e(0x216)](_0x42402e,_0x23fe32[_0x15772e(0x276)]),_0x23fe32[_0x15772e(0x263)]&&_0x3c6251[_0x15772e(0x334)](_0x42402e,_0x23fe32[_0x15772e(0x263)]),_0x23fe32[_0x15772e(0x330)]&&_0x3c6251[_0x15772e(0x12f)](_0x23fe32['id'],_0x23fe32['displayName']));}const _0x9d1a35=_0x3f6697['valueFilter'];for(const {fieldId:_0x4d6caa,filterInfo:_0x513ec7}of _0x9d1a35)_0x3c6251['setValueFilterInfo'](_0x4d6caa,_0x513ec7);}function _0x5907f9(_0x5acabe,_0x2e7e1b){const _0x87682d=_0x501dc7,_0x46dfe1=[];_0x2e7e1b===_0x2350f2[_0x87682d(0x297)][_0x87682d(0xbb)]&&_0x5acabe[_0x87682d(0x336)](_0x2350f2[_0x87682d(0x297)][_0x87682d(0xbb)],_0x3e282e=>{const _0xb1eb85=_0x87682d;_0x46dfe1[_0xb1eb85(0x37a)](_0x3e282e[_0xb1eb85(0xd0)]());}),_0x2e7e1b===_0x2350f2[_0x87682d(0x297)][_0x87682d(0x301)]&&_0x5acabe[_0x87682d(0x336)](_0x2350f2[_0x87682d(0x297)][_0x87682d(0x301)],_0x4b22f5=>{const _0x5231a5=_0x87682d;_0x46dfe1['push'](_0x4b22f5[_0x5231a5(0xd0)]());}),_0x2e7e1b===_0x2350f2[_0x87682d(0x297)][_0x87682d(0xc6)]&&_0x5acabe[_0x87682d(0x336)](_0x2350f2[_0x87682d(0x297)][_0x87682d(0xc6)],_0x24249a=>{const _0x5c3e18=_0x87682d;_0x46dfe1[_0x5c3e18(0x37a)](_0x24249a[_0x5c3e18(0xd0)]());}),_0x2e7e1b===_0x2350f2['PivotTableFiledAreaEnum'][_0x87682d(0x2aa)]&&_0x5acabe[_0x87682d(0x336)](_0x2350f2[_0x87682d(0x297)]['Value'],_0x3d2511=>{const _0x5397ab=_0x87682d;_0x46dfe1[_0x5397ab(0x37a)](_0x3d2511[_0x5397ab(0xd0)]());}),_0x2e7e1b===void 0x0&&_0x5acabe[_0x87682d(0x1e1)](_0x224d4b=>{const _0x7870db=_0x87682d;_0x46dfe1[_0x7870db(0x37a)](_0x224d4b[_0x7870db(0xd0)]());});const _0x249e74=_0x46dfe1[_0x87682d(0x3a5)];for(let _0x5687fa=_0x249e74-0x1;_0x5687fa>=0x0;_0x5687fa--)_0x5acabe[_0x87682d(0x1ef)](_0x46dfe1[_0x5687fa]);const _0x2d5064=_0x5acabe[_0x87682d(0x308)]();for(const _0x3de9e5 in _0x2d5064)_0x5acabe['removeValueFilterInfo'](_0x3de9e5);}function _0x22117e(_0x316fdd,_0x5a5651){const _0x5c6856=_0x501dc7,_0xd966f1=new Date(_0x2350f2[_0x5c6856(0x24d)](_0x5a5651)),_0x502bdb=new Date(_0x2350f2[_0x5c6856(0x24d)](_0x316fdd)),_0x47e150=_0xd966f1['getFullYear'](),_0x2c7fe0=_0x502bdb['getFullYear'](),_0x254b75=_0xd966f1[_0x5c6856(0x294)](),_0x295618=_0x502bdb[_0x5c6856(0x294)](),_0x45f90c=_0xd966f1[_0x5c6856(0x110)](),_0x2bd107=_0x502bdb['getDate'](),_0xe0a7ba=_0x47e150===_0x2c7fe0,_0x50b4ff=_0xe0a7ba&&_0x254b75===_0x295618;return _0xe0a7ba&&_0x50b4ff&&!(_0x50b4ff&&_0x45f90c===_0x2bd107)?_0x2350f2['PivotDateGroupFieldDateTypeEnum'][_0x5c6856(0x323)]:_0xe0a7ba&&!_0x50b4ff?_0x2350f2[_0x5c6856(0x20a)][_0x5c6856(0x283)]:_0x2350f2[_0x5c6856(0x20a)][_0x5c6856(0x309)];}function _0x8fa35(_0x16e9e7,_0x3af621){const _0x1367c0=_0x501dc7,_0x432813=_0x16e9e7[_0x1367c0(0x1d2)](_0x4d1fa4[_0x1367c0(0x33a)])[_0x1367c0(0x1c9)]();let _0x383700='';switch(_0x3af621){case _0x2350f2[_0x1367c0(0x20a)]['YearMonthDate']:_0x383700=_0x432813[_0x1367c0(0x29c)];break;case _0x2350f2[_0x1367c0(0x20a)][_0x1367c0(0x283)]:_0x383700=_0x432813[_0x1367c0(0xf6)];break;case _0x2350f2[_0x1367c0(0x20a)][_0x1367c0(0x309)]:_0x383700=_0x432813[_0x1367c0(0x33e)];break;case _0x2350f2[_0x1367c0(0x20a)][_0x1367c0(0x30b)]:_0x383700=_0x432813[_0x1367c0(0x151)];break;case _0x2350f2['PivotDateGroupFieldDateTypeEnum'][_0x1367c0(0x19e)]:_0x383700=_0x432813[_0x1367c0(0xeb)];break;case _0x2350f2[_0x1367c0(0x20a)][_0x1367c0(0x2c6)]:_0x383700=_0x432813[_0x1367c0(0x125)];break;case _0x2350f2[_0x1367c0(0x20a)][_0x1367c0(0x3ae)]:_0x383700=_0x432813[_0x1367c0(0x1e5)];break;case _0x2350f2[_0x1367c0(0x20a)][_0x1367c0(0x27d)]:_0x383700=_0x432813['sheets-pivot.dateGroup.hour'];break;case _0x2350f2[_0x1367c0(0x20a)]['Minute']:_0x383700=_0x432813[_0x1367c0(0x2da)];break;case _0x2350f2['PivotDateGroupFieldDateTypeEnum'][_0x1367c0(0x144)]:_0x383700=_0x432813[_0x1367c0(0x104)];break;case _0x2350f2[_0x1367c0(0x20a)][_0x1367c0(0x299)]:_0x383700=_0x432813[_0x1367c0(0x185)];break;default:_0x383700='';break;}return _0x383700;}const _0x437f5e=_0x501dc7(0x1c5),_0x1f2443={};var _0xd72e5c=Object[_0x501dc7(0x311)],_0x219f05=(_0x56a578,_0x9a2fa1,_0x546eb8,_0x290f63)=>{const _0x294db5=_0x501dc7;for(var _0x341b39=_0x290f63>0x1?void 0x0:_0x290f63?_0xd72e5c(_0x9a2fa1,_0x546eb8):_0x9a2fa1,_0x530139=_0x56a578[_0x294db5(0x3a5)]-0x1,_0x28875d;_0x530139>=0x0;_0x530139--)(_0x28875d=_0x56a578[_0x530139])&&(_0x341b39=_0x28875d(_0x341b39)||_0x341b39);return _0x341b39;},_0x36a901=(_0x1ae301,_0x308ec5)=>(_0x3f7a68,_0x434aec)=>_0x308ec5(_0x3f7a68,_0x434aec,_0x1ae301);_0x4d1fa4[_0x501dc7(0x1fb)]=class extends _0x3ec010[_0x501dc7(0x17f)]{constructor(_0x2c53bc,_0x1af6b3,_0x1949b1,_0x530764,_0xa20906){const _0x50ceee=_0x501dc7;super(),_0x69c9df(this,_0x50ceee(0x1df),new Map()),_0x69c9df(this,_0x50ceee(0x1b9),new Map()),_0x69c9df(this,_0x50ceee(0x318),new Map()),_0x69c9df(this,_0x50ceee(0x36c),new Map()),_0x69c9df(this,'_configVersion$',new _0x12c2f2[(_0x50ceee(0x327))]()),_0x69c9df(this,'_pivotInitCompleted$',new _0x12c2f2['Subject']()),_0x69c9df(this,_0x50ceee(0x338),this['_pivotInitCompleted$'][_0x50ceee(0x245)]()),_0x69c9df(this,'_pivotConfigChange$',new _0x12c2f2[(_0x50ceee(0x327))]()),_0x69c9df(this,_0x50ceee(0x242),this[_0x50ceee(0x158)][_0x50ceee(0x245)]()),_0x69c9df(this,_0x50ceee(0x25d),{}),_0x69c9df(this,_0x50ceee(0x153),this['_configVersion$']['asObservable']()),(this['_injector']=_0x2c53bc,this[_0x50ceee(0x2bf)]=_0x1af6b3,this[_0x50ceee(0x1ca)]=_0x1949b1,this[_0x50ceee(0x203)]=_0x530764,this[_0x50ceee(0x13d)]=_0xa20906,this['_initLocale'](),this['_initUnitDisposed']());const _0x34d953=this[_0x50ceee(0x13d)][_0x50ceee(0x13e)](_0x437f5e);(_0x34d953==null?void 0x0:_0x34d953['notExecuteFormula'])===!0x0&&this[_0x50ceee(0x190)]();}[_0x501dc7(0x352)](){const _0x26d8f0=_0x501dc7;this[_0x26d8f0(0xbf)](this[_0x26d8f0(0x1ca)][_0x26d8f0(0x362)](_0x3ec010[_0x26d8f0(0x2b9)][_0x26d8f0(0x128)])[_0x26d8f0(0x30a)](_0x38222b=>{const _0x586175=_0x26d8f0;this[_0x586175(0x295)](_0x38222b[_0x586175(0x2bc)]());}));}[_0x501dc7(0x1d5)](){const _0x374de0=_0x501dc7;this[_0x374de0(0x353)][_0x374de0(0x333)](!0x0);}[_0x501dc7(0x303)](){const _0x205871=_0x501dc7,_0x404d30=_0x51d940(this[_0x205871(0x371)],_0x578727,'',{});this[_0x205871(0x25d)]=_0x404d30,this[_0x205871(0x2bf)][_0x205871(0x247)](_0x1b6b45['id'],{'textInfo':_0x404d30},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x1328eb=_0x501dc7;return this[_0x1328eb(0x25d)];}[_0x501dc7(0x228)](_0x16d53d,_0x3f3c4d,_0x4f6b01,_0x5f1b8b,_0xa1eb0b){const _0x1cb71f=_0x501dc7;this[_0x1cb71f(0x1b4)](_0x16d53d,_0x3f3c4d,_0x4f6b01,_0x5f1b8b),this[_0x1cb71f(0x350)](_0x16d53d,_0x3f3c4d,_0x4f6b01,_0xa1eb0b);}['getPivotTableConfig'](_0x329491,_0x1c1861,_0x56830d){const _0xb50d61=_0x501dc7;var _0x3d6968;const _0x2b0c70=(_0x3d6968=this['_model'][_0xb50d61(0x1d2)](_0x329491))==null?void 0x0:_0x3d6968[_0xb50d61(0x1d2)](_0x1c1861);if(_0x2b0c70)return _0x2b0c70[_0xb50d61(0x1d2)](_0x56830d);}[_0x501dc7(0x3b5)](_0x8353bf,_0x5d57fc){const _0x2ee00e=_0x501dc7,_0x26f65d=this[_0x2ee00e(0x1df)][_0x2ee00e(0x1d2)](_0x8353bf);if(_0x26f65d){for(const [_0x83a455,_0x4e9d35]of _0x26f65d[_0x2ee00e(0x135)]())for(const [_0x5cbb0b,_0x206316]of _0x4e9d35['entries']())if(_0x5cbb0b===_0x5d57fc)return _0x206316[_0x2ee00e(0x16b)];}}['getTargetByPivotId'](_0x1f134f,_0x31855d,_0x4b66d7){const _0x42fd8a=_0x501dc7,_0x4b1ccd=this[_0x42fd8a(0x22d)](_0x1f134f,_0x31855d,_0x4b66d7);return _0x4b1ccd==null?void 0x0:_0x4b1ccd[_0x42fd8a(0x16b)];}['getSubUnitPivotConfigs'](_0x5ea6dc,_0x4abb34){const _0x2a1d27=_0x501dc7;var _0xc86e3b;return(_0xc86e3b=this[_0x2a1d27(0x1df)]['get'](_0x5ea6dc))==null?void 0x0:_0xc86e3b['get'](_0x4abb34);}['updateConfigCache'](_0x34e81e,_0x24ecb1,_0x2232ae,_0x34d1d3){const _0x522076=_0x501dc7,_0x3f0e56=this[_0x522076(0x2f7)](_0x34e81e,_0x24ecb1);_0x34d1d3?_0x3f0e56[_0x522076(0xec)](_0x2232ae,_0x34d1d3):_0x3f0e56[_0x522076(0x2fe)](_0x2232ae),this[_0x522076(0x158)][_0x522076(0x333)]({'unitId':_0x34e81e,'subUnitId':_0x24ecb1,'pivotTableId':_0x2232ae,'pivotTableConfig':_0x34d1d3});}[_0x501dc7(0x28e)](_0x21d4a5,_0x1817c2){const _0xf93ca6=_0x501dc7;var _0x3cfc8a;return(_0x3cfc8a=this[_0xf93ca6(0x1b9)][_0xf93ca6(0x1d2)](_0x21d4a5))==null?void 0x0:_0x3cfc8a[_0xf93ca6(0x132)][_0x1817c2];}[_0x501dc7(0x1ae)](_0x44881d,_0x16e894){const _0x1b256c=_0x501dc7;this['_collectionConfigModel']['set'](_0x44881d,_0x16e894),this[_0x1b256c(0x3bf)][_0x1b256c(0x333)](Math[_0x1b256c(0x20b)]());}['_ensurePivotMap'](_0x58265d,_0x5786d1){const _0xcd8b06=_0x501dc7;let _0x16e9ce=this['_model'][_0xcd8b06(0x1d2)](_0x58265d);_0x16e9ce||(_0x16e9ce=new Map(),this['_model'][_0xcd8b06(0xec)](_0x58265d,_0x16e9ce));let _0x3a1993=_0x16e9ce[_0xcd8b06(0x1d2)](_0x5786d1);return _0x3a1993||(_0x3a1993=new Map(),_0x16e9ce[_0xcd8b06(0xec)](_0x5786d1,_0x3a1993)),_0x3a1993;}[_0x501dc7(0x298)](_0x141787,_0x83c222){const _0x51b94e=_0x501dc7;let _0x1530b9=this[_0x51b94e(0x318)]['get'](_0x141787);_0x1530b9||(_0x1530b9=new Map(),this[_0x51b94e(0x318)][_0x51b94e(0xec)](_0x141787,_0x1530b9));let _0x398401=_0x1530b9['get'](_0x83c222);return _0x398401||(_0x398401=new Map(),_0x1530b9[_0x51b94e(0xec)](_0x83c222,_0x398401)),_0x398401;}[_0x501dc7(0xb0)](_0x3e5781,_0xbd253b){const _0x235b6f=_0x501dc7;let _0x581d09=this[_0x235b6f(0x36c)][_0x235b6f(0x1d2)](_0x3e5781);_0x581d09||(_0x581d09=new Map(),this['_pivotTableMatrixInfo'][_0x235b6f(0xec)](_0x3e5781,_0x581d09));let _0x28c20b=_0x581d09[_0x235b6f(0x1d2)](_0xbd253b);return _0x28c20b||(_0x28c20b=new Map(),_0x581d09[_0x235b6f(0xec)](_0xbd253b,_0x28c20b)),_0x28c20b;}[_0x501dc7(0x350)](_0x18faf0,_0x2da62f,_0x4b70a4,_0x1127f3){const _0x1b7ee5=_0x501dc7;var _0x3b9e4b;const _0x31aad2=this['_ensurePivotTableRangeInfo'](_0x18faf0,_0x2da62f),_0x3a0092=(_0x3b9e4b=_0x31aad2[_0x1b7ee5(0x1d2)](_0x4b70a4))==null?void 0x0:_0x3b9e4b[_0x1b7ee5(0x258)];_0x31aad2[_0x1b7ee5(0xec)](_0x4b70a4,{'oldRangeInfo':_0x3a0092,'rangeInfo':_0x1127f3});}['updatePivotTableMatrixInfo'](_0x3c75ec,_0x7a78d7,_0x34cc42,_0x2ab685){const _0x5311c2=_0x501dc7;var _0x10f86c;const _0x4feae4=this['_ensurePivotTableMatrixInfo'](_0x3c75ec,_0x7a78d7),_0x16a755=(_0x10f86c=_0x4feae4[_0x5311c2(0x1d2)](_0x34cc42))==null?void 0x0:_0x10f86c[_0x5311c2(0x3d2)];_0x4feae4['set'](_0x34cc42,{'oldMatrix':_0x16a755,'matrix':_0x2ab685});}[_0x501dc7(0x14b)](_0x4dc730,_0x435716,_0xd6d098){const _0x35a201=_0x501dc7;var _0xb13e2a,_0x2db967;return(_0x2db967=(_0xb13e2a=this[_0x35a201(0x318)][_0x35a201(0x1d2)](_0x4dc730))==null?void 0x0:_0xb13e2a[_0x35a201(0x1d2)](_0x435716))==null?void 0x0:_0x2db967[_0x35a201(0x1d2)](_0xd6d098);}[_0x501dc7(0x3de)](_0x396ed5,_0xfe8c1f,_0x4701c7){const _0x2a8697=_0x501dc7;var _0x203574,_0x31c44c;return(_0x31c44c=(_0x203574=this[_0x2a8697(0x36c)][_0x2a8697(0x1d2)](_0x396ed5))==null?void 0x0:_0x203574[_0x2a8697(0x1d2)](_0xfe8c1f))==null?void 0x0:_0x31c44c[_0x2a8697(0x1d2)](_0x4701c7);}[_0x501dc7(0x295)](_0x1063bf){const _0x31fe17=_0x501dc7;this['_model'][_0x31fe17(0x2fe)](_0x1063bf),this[_0x31fe17(0x1b9)][_0x31fe17(0x2fe)](_0x1063bf);}[_0x501dc7(0x165)](_0x429695){const _0x19f17b=_0x501dc7,_0x233ef3={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x19f17b(0x1b9)][_0x19f17b(0x1d2)](_0x429695)&&(_0x233ef3[_0x19f17b(0x13b)][_0x429695]=this[_0x19f17b(0x1b9)]['get'](_0x429695)),this[_0x19f17b(0x1df)][_0x19f17b(0x1d2)](_0x429695)){_0x233ef3[_0x19f17b(0x293)][_0x429695]={};const _0x25fbc4=this[_0x19f17b(0x1df)][_0x19f17b(0x1d2)](_0x429695);_0x25fbc4!=null&&_0x25fbc4[_0x19f17b(0x161)]&&[..._0x25fbc4[_0x19f17b(0x396)]()][_0x19f17b(0x189)](_0x4a391d=>{const _0x4f7e64=_0x19f17b,_0x1bcdf7=_0x25fbc4[_0x4f7e64(0x1d2)](_0x4a391d);_0x1bcdf7!=null&&_0x1bcdf7['size']&&(_0x233ef3[_0x4f7e64(0x293)][_0x429695][_0x4a391d]={},[..._0x1bcdf7[_0x4f7e64(0x396)]()][_0x4f7e64(0x189)](_0x49845e=>{const _0x333af9=_0x4f7e64,_0x4cecbc=_0x1bcdf7['get'](_0x49845e);_0x4cecbc&&(_0x233ef3[_0x333af9(0x293)][_0x429695][_0x4a391d][_0x49845e]=_0x4cecbc);}));});}return _0x233ef3;}['_initSnapshot'](){const _0x52d0df=_0x501dc7;this[_0x52d0df(0xbf)](this[_0x52d0df(0x203)][_0x52d0df(0x1bc)]({'toJson':_0x1dfc2d=>JSON[_0x52d0df(0x268)](this[_0x52d0df(0x165)](_0x1dfc2d)),'parseJson':_0x2ae116=>({}),'businesses':[_0x3ec010[_0x52d0df(0x2b9)][_0x52d0df(0x128)]],'pluginName':_0x4567c4,'onLoad':(_0x2ea370,_0x163e92)=>{},'onUnLoad':_0x1699f3=>{this['deleteUnitId'](_0x1699f3);}}));}},_0x4d1fa4[_0x501dc7(0x1fb)]=_0x219f05([_0x36a901(0x0,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x2c4)])),_0x36a901(0x1,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x155)])),_0x36a901(0x2,_0x3ec010['Inject'](_0x3ec010[_0x501dc7(0x3df)])),_0x36a901(0x3,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x2fa)])),_0x36a901(0x4,_0x3ec010[_0x501dc7(0x170)](_0x3ec010['IConfigService']))],_0x4d1fa4[_0x501dc7(0x1fb)]);var _0x7c6799=Object[_0x501dc7(0x311)],_0x3abad2=(_0x30c8d4,_0x49e05d,_0x3eeff1,_0x56fd63)=>{const _0x2a6799=_0x501dc7;for(var _0x44bcd7=_0x56fd63>0x1?void 0x0:_0x56fd63?_0x7c6799(_0x49e05d,_0x3eeff1):_0x49e05d,_0x2fdd69=_0x30c8d4[_0x2a6799(0x3a5)]-0x1,_0xe39b20;_0x2fdd69>=0x0;_0x2fdd69--)(_0xe39b20=_0x30c8d4[_0x2fdd69])&&(_0x44bcd7=_0xe39b20(_0x44bcd7)||_0x44bcd7);return _0x44bcd7;},_0x1a1cd4=(_0xd709bf,_0x11e2a3)=>(_0x34a269,_0x3fcbbd)=>_0x11e2a3(_0x34a269,_0x3fcbbd,_0xd709bf);_0x4d1fa4[_0x501dc7(0x2f2)]=class extends _0x3ec010[_0x501dc7(0x17f)]{constructor(_0x46783f,_0x514546,_0x2225b0,_0x37686a,_0x287e7c){const _0x41c022=_0x501dc7;super(),_0x69c9df(this,_0x41c022(0x31d),new Map()),_0x69c9df(this,_0x41c022(0x2b5),new Map()),_0x69c9df(this,_0x41c022(0x14a),new _0x12c2f2[(_0x41c022(0x327))]()),_0x69c9df(this,_0x41c022(0x1ed),this[_0x41c022(0x14a)][_0x41c022(0x245)]()),_0x69c9df(this,'_viewUpdate$',new _0x12c2f2['Subject']()),_0x69c9df(this,_0x41c022(0x16a),this[_0x41c022(0x2ae)][_0x41c022(0x245)]()),_0x69c9df(this,_0x41c022(0x25d)),(this[_0x41c022(0x2fd)]=_0x46783f,this['_injector']=_0x514546,this[_0x41c022(0x1c4)]=_0x2225b0,this[_0x41c022(0x1ca)]=_0x37686a,this[_0x41c022(0x164)]=_0x287e7c,this[_0x41c022(0x303)](),this[_0x41c022(0x352)]());}[_0x501dc7(0x352)](){const _0x49a1f6=_0x501dc7;this[_0x49a1f6(0xbf)](this[_0x49a1f6(0x1ca)][_0x49a1f6(0x362)](_0x3ec010['UniverInstanceType'][_0x49a1f6(0x128)])['subscribe'](_0x1fae1f=>{const _0x40619f=_0x49a1f6;this[_0x40619f(0x295)](_0x1fae1f[_0x40619f(0x2bc)]());}));}[_0x501dc7(0x303)](){const _0x4ae246=_0x501dc7;this[_0x4ae246(0x25d)]=_0x51d940(this['_injector'],_0x578727,'',{});}[_0x501dc7(0x388)](_0x2d522d){const _0x52f85a=_0x501dc7,{view:_0x3dff36,unitId:_0x306e65,subUnitId:_0x34014b,pivotTableId:_0x8fe1f6,type:_0x443b90}=_0x2d522d,_0x1506db=this['_sheetsPivotTableConfigModel'][_0x52f85a(0x22d)](_0x306e65,_0x34014b,_0x8fe1f6);if(!_0x3dff36||!_0x1506db||_0x443b90===_0x284607['Delete'])return;const {pageView:_0x4aa7db,cornerView:_0xe3fe6e,rowView:_0x569ed9,colView:_0x29b322,dataView:_0x58575a}=_0x3dff36,_0x1571c0=_0x1506db[_0x52f85a(0x16b)],_0x1a0064=_0x1506db[_0x52f85a(0x103)],_0x995871=this['_ensurePivotItemRenderValueMatrixCache'](_0x306e65,_0x34014b),_0xc808d1=this['_ensurePivotItemRenderInfoCache'](_0x306e65,_0x34014b,_0x8fe1f6);if(_0x1a0064)return this[_0x52f85a(0x215)](_0x2d522d,_0x995871,_0x1571c0,_0xc808d1);{const _0x4f2f4c=_0xe5777b(_0x1571c0,_0x4aa7db,!0x0),_0x4327e5=_0x4aa7db[_0x52f85a(0x2c2)]>=0x0?_0x4aa7db[_0x52f85a(0x2c2)]+0x1:0x0,_0x1c864c=_0xe3fe6e[_0x52f85a(0x142)](),_0x199594=_0xe3fe6e[_0x52f85a(0x3a7)](),_0x33c1b0=_0x4f2f4c[_0x52f85a(0x3a5)]>0x0?_0x119d67:0x0,_0x145655=_0xe5777b({'row':_0x1571c0['row']+_0x4327e5+_0x33c1b0,'col':_0x1571c0[_0x52f85a(0xea)]},_0xe3fe6e,!0x1,!0x1),_0x42b973=_0xe5777b({'row':_0x1571c0[_0x52f85a(0x34d)]+_0x4327e5+_0x33c1b0+_0x1c864c,'col':_0x1571c0[_0x52f85a(0xea)]},_0x569ed9,!0x1,!0x0),_0x54ef54=_0xe5777b({'row':_0x1571c0[_0x52f85a(0x34d)]+_0x4327e5+_0x33c1b0,'col':_0x1571c0[_0x52f85a(0xea)]+_0x199594},_0x29b322,!0x1,!0x0),_0x1e3c66=_0xe5777b({'row':_0x1571c0[_0x52f85a(0x34d)]+_0x4327e5+_0x33c1b0+_0x1c864c,'col':_0x1571c0[_0x52f85a(0xea)]+_0x199594},_0x58575a,!0x1,!0x1);_0xc808d1[_0x52f85a(0x2b1)]={'rowRanges':_0x42b973,'colRanges':_0x54ef54,'cornerRanges':_0x145655,'dataRanges':_0x1e3c66,'pageRanges':_0x4f2f4c};const _0x46bedc=_0x19aafa(this[_0x52f85a(0x371)],_0x3dff36,_0x1506db,this['_textInfo']),{valueMatrix:_0x1474ad,rowInfo:_0x480495,colInfo:_0x38bce4,cornerInfo:_0x6eba37,rowHeaderMap:_0x125bd1,colHeaderMap:_0x1ed2f5}=_0x46bedc;return _0xc808d1[_0x52f85a(0x304)]={'rowInfo':_0x480495,'colInfo':_0x38bce4,'cornerInfo':_0x6eba37},_0xc808d1[_0x52f85a(0x22a)]={'rowHeaderMap':_0x125bd1,'colHeaderMap':_0x1ed2f5},_0x1474ad[_0x52f85a(0x189)]((_0x53aaaf,_0x66039a)=>{const _0x23eafc=_0x52f85a;Object['keys'](_0x66039a)[_0x23eafc(0x189)](_0x21c0ae=>{const _0x44beb2=_0x23eafc,_0x688cb7=+_0x21c0ae,_0x1c3549=_0x1474ad[_0x44beb2(0x106)](_0x53aaaf,_0x688cb7);_0x995871[_0x44beb2(0x27f)](_0x53aaaf,_0x688cb7,_0x1c3549);});}),this[_0x52f85a(0x2ae)][_0x52f85a(0x333)]({'unitId':_0x306e65,'subUnitId':_0x34014b,'valueMatrix':_0x995871,'rangesCache':_0xc808d1['rangesInfo'],'pivotTableId':_0x8fe1f6,'type':_0x2d522d[_0x52f85a(0x286)]}),this['_sheetsPivotTableConfigModel'][_0x52f85a(0x228)](_0x306e65,_0x34014b,_0x8fe1f6,_0x995871,_0xc808d1[_0x52f85a(0x2b1)]),this[_0x52f85a(0x164)][_0x52f85a(0x290)](_0x306e65,_0x34014b,_0x5de4bc,this[_0x52f85a(0xe1)](_0xc808d1[_0x52f85a(0x2b1)],_0x8fe1f6)),{'rangeCache':_0xc808d1['rangesInfo'],'matrix':_0x995871};}}[_0x501dc7(0x215)](_0x48ae45,_0x4f8582,_0x21ec9f,_0x5e99d8){const _0x4f193e=_0x501dc7,_0x2ff985=this[_0x4f193e(0x2fd)]['t'],{unitId:_0x1e5de3,subUnitId:_0x39d342,pivotTableId:_0x19b4a9}=_0x48ae45,_0x48fde1={'filter':_0x2ff985(_0x4f193e(0x357)),'row':_0x2ff985(_0x4f193e(0xc7)),'column':_0x2ff985(_0x4f193e(0x12d)),'values':_0x2ff985('sheets-pivot.emptyPivot.values')},{matrixCache:_0x5ca864,rangesCache:_0x47c9af}=_0x27197a(_0x48fde1,_0x21ec9f);return _0x5ca864[_0x4f193e(0x264)]((_0x37bbe0,_0x5b169e,_0x47e0bd)=>{const _0x124828=_0x4f193e;_0x4f8582[_0x124828(0x27f)](_0x37bbe0,_0x5b169e,_0x47e0bd);}),_0x5e99d8[_0x4f193e(0x2b1)]=_0x47c9af,this[_0x4f193e(0x2ae)][_0x4f193e(0x333)]({'unitId':_0x1e5de3,'subUnitId':_0x39d342,'valueMatrix':_0x4f8582,'rangesCache':_0x47c9af,'pivotTableId':_0x19b4a9,'type':_0x48ae45[_0x4f193e(0x286)],'isEmpty':!0x0}),this[_0x4f193e(0x1c4)][_0x4f193e(0x228)](_0x1e5de3,_0x39d342,_0x19b4a9,_0x4f8582,_0x47c9af),this[_0x4f193e(0x164)][_0x4f193e(0x290)](_0x1e5de3,_0x39d342,_0x5de4bc,this[_0x4f193e(0xe1)](_0x47c9af,_0x19b4a9)),{'rangeCache':_0x5e99d8['rangesInfo'],'matrix':_0x4f8582};}['_createExclusiveRange'](_0x57626b,_0x11253d){const _0x45155a=[],_0x3f8325=_0x3873e6(_0x57626b);for(const _0x5ac703 of _0x3f8325)_0x45155a['push']({'groupId':_0x11253d,'range':_0x5ac703});return _0x45155a;}[_0x501dc7(0x1a4)](_0x54c900){const _0x3d1cdb=_0x501dc7;var _0x1eca8e,_0x54acdc,_0x5073c5,_0x425584;const {pivotTableId:_0x46fb28,unitId:_0x407121,subUnitId:_0x3d135d}=_0x54c900;if(!_0x46fb28||!_0x407121||!_0x3d135d)return;const _0x43142d=this[_0x3d1cdb(0x16d)](_0x407121,_0x3d135d),_0x437d42=(_0x54acdc=(_0x1eca8e=this[_0x3d1cdb(0x31d)][_0x3d1cdb(0x1d2)](_0x407121))==null?void 0x0:_0x1eca8e['get'](_0x3d135d))==null?void 0x0:_0x54acdc[_0x3d1cdb(0x1d2)](_0x46fb28);if(_0x437d42!=null&&_0x437d42[_0x3d1cdb(0x2b1)]){for(const _0x524d4 of Object[_0x3d1cdb(0x396)](_0x437d42[_0x3d1cdb(0x2b1)]))_0x437d42[_0x3d1cdb(0x2b1)][_0x524d4][_0x3d1cdb(0x189)](_0x4e5504=>{const _0x29baf4=_0x3d1cdb;for(let _0x55a97d=_0x4e5504[_0x29baf4(0x24a)];_0x55a97d<=_0x4e5504[_0x29baf4(0x3c0)];_0x55a97d++)for(let _0x1e3a78=_0x4e5504['startColumn'];_0x1e3a78<=_0x4e5504[_0x29baf4(0x339)];_0x1e3a78++)_0x43142d['realDeleteValue'](_0x55a97d,_0x1e3a78);});}_0x437d42&&((_0x425584=(_0x5073c5=this[_0x3d1cdb(0x31d)][_0x3d1cdb(0x1d2)](_0x407121))==null?void 0x0:_0x5073c5[_0x3d1cdb(0x1d2)](_0x3d135d))==null||_0x425584[_0x3d1cdb(0x2fe)](_0x46fb28)),this[_0x3d1cdb(0x2ae)]['next']({'unitId':_0x407121,'subUnitId':_0x3d135d,'valueMatrix':_0x43142d,'pivotTableId':_0x46fb28,'rangesCache':void 0x0,'type':_0x54c900[_0x3d1cdb(0x286)]}),this[_0x3d1cdb(0x164)][_0x3d1cdb(0x30e)](_0x407121,_0x3d135d,_0x5de4bc,_0x46fb28);}[_0x501dc7(0x292)](_0x2a5208,_0x3df82d,_0x85063d){const _0x4de3eb=_0x501dc7;var _0x37ae54,_0x421bfa,_0x4b2b63,_0x21d817,_0x58af52,_0x5b9f83;return this[_0x4de3eb(0x31d)]['has'](_0x2a5208)||this[_0x4de3eb(0x31d)][_0x4de3eb(0xec)](_0x2a5208,new Map()),(_0x37ae54=this[_0x4de3eb(0x31d)][_0x4de3eb(0x1d2)](_0x2a5208))!=null&&_0x37ae54[_0x4de3eb(0x284)](_0x3df82d)||(_0x421bfa=this[_0x4de3eb(0x31d)][_0x4de3eb(0x1d2)](_0x2a5208))==null||_0x421bfa[_0x4de3eb(0xec)](_0x3df82d,new Map()),(_0x21d817=(_0x4b2b63=this['_pivotRenderInfoCache'][_0x4de3eb(0x1d2)](_0x2a5208))==null?void 0x0:_0x4b2b63[_0x4de3eb(0x1d2)](_0x3df82d))!=null&&_0x21d817[_0x4de3eb(0x284)](_0x85063d)||(_0x5b9f83=(_0x58af52=this[_0x4de3eb(0x31d)][_0x4de3eb(0x1d2)](_0x2a5208))==null?void 0x0:_0x58af52[_0x4de3eb(0x1d2)](_0x3df82d))==null||_0x5b9f83[_0x4de3eb(0xec)](_0x85063d,{}),this[_0x4de3eb(0x31d)][_0x4de3eb(0x1d2)](_0x2a5208)[_0x4de3eb(0x1d2)](_0x3df82d)[_0x4de3eb(0x1d2)](_0x85063d);}[_0x501dc7(0x16d)](_0x10c268,_0x25b15e){const _0x1876b2=_0x501dc7;var _0x42e368,_0x5bff60;return this[_0x1876b2(0x2b5)][_0x1876b2(0x284)](_0x10c268)||this[_0x1876b2(0x2b5)][_0x1876b2(0xec)](_0x10c268,new Map()),(_0x42e368=this[_0x1876b2(0x2b5)][_0x1876b2(0x1d2)](_0x10c268))!=null&&_0x42e368[_0x1876b2(0x284)](_0x25b15e)||(_0x5bff60=this[_0x1876b2(0x2b5)][_0x1876b2(0x1d2)](_0x10c268))==null||_0x5bff60[_0x1876b2(0xec)](_0x25b15e,new _0x3ec010[(_0x1876b2(0x1be))]()),this[_0x1876b2(0x2b5)][_0x1876b2(0x1d2)](_0x10c268)['get'](_0x25b15e);}[_0x501dc7(0x10a)](_0xdab64e,_0x26dc26,_0x15213b,_0x590aec){const _0x3d3d4b=_0x501dc7;var _0x698022,_0x2572e6;const _0x3a5579=(_0x2572e6=(_0x698022=this[_0x3d3d4b(0x2b5)][_0x3d3d4b(0x1d2)](_0xdab64e))==null?void 0x0:_0x698022['get'](_0x26dc26))==null?void 0x0:_0x2572e6[_0x3d3d4b(0x106)](_0x15213b,_0x590aec);if(_0x3a5579!=null)return _0x3a5579;}[_0x501dc7(0x2d5)](_0x58a954,_0x32da9d,_0x5a9de9,_0x473ca0){const _0x1c3e29=_0x501dc7;var _0x192c74;const _0x5dfb37=_0x3ec010['cellToRange'](_0x5a9de9,_0x473ca0),_0x59a2dd=(_0x192c74=this[_0x1c3e29(0x31d)][_0x1c3e29(0x1d2)](_0x58a954))==null?void 0x0:_0x192c74['get'](_0x32da9d);return _0x59a2dd?Array[_0x1c3e29(0x154)](_0x59a2dd[_0x1c3e29(0x396)]())[_0x1c3e29(0x20f)](_0x36beaf=>{const _0x2934f8=_0x1c3e29,_0x5eadec=_0x59a2dd['get'](_0x36beaf),_0x1ffb76=_0x5eadec==null?void 0x0:_0x5eadec[_0x2934f8(0x2b1)];return _0x1ffb76?Object['keys'](_0x1ffb76)[_0x2934f8(0xc0)](_0x20fe89=>_0x1ffb76[_0x20fe89][_0x2934f8(0xc0)](_0x3e79d4=>_0x3ec010[_0x2934f8(0x3a2)][_0x2934f8(0x3ba)](_0x3e79d4,_0x5dfb37))):!0x1;}):void 0x0;}[_0x501dc7(0x1ee)](_0x48ef9d,_0x5b1537,_0x48a356){const _0x314088=_0x501dc7;var _0x28ef3a;const _0x39d06a=(_0x28ef3a=this[_0x314088(0x31d)][_0x314088(0x1d2)](_0x48ef9d))==null?void 0x0:_0x28ef3a[_0x314088(0x1d2)](_0x5b1537),_0x4d6e6c=[];return _0x39d06a&&Array['from'](_0x39d06a[_0x314088(0x396)]())[_0x314088(0x189)](_0x505184=>{const _0x2d0cfa=_0x314088,_0x515dfd=_0x39d06a[_0x2d0cfa(0x1d2)](_0x505184),_0xa60171=_0x515dfd==null?void 0x0:_0x515dfd['rangesInfo'];if(_0xa60171)for(const _0x427347 of Object[_0x2d0cfa(0x27e)](_0xa60171)){let _0xa8544b=!0x1;for(const _0x16fc58 of _0x427347)if(_0x3ec010[_0x2d0cfa(0x3a2)][_0x2d0cfa(0x2de)](_0x16fc58,_0x48a356)){_0x4d6e6c[_0x2d0cfa(0x37a)](_0x505184),_0xa8544b=!0x0;break;}if(_0xa8544b)break;}}),_0x4d6e6c;}[_0x501dc7(0x3cf)](_0x4b680d,_0x34fd21){const _0x55250e=_0x501dc7;var _0x59f42d,_0x256fff;return(_0x256fff=(_0x59f42d=this['_pivotRenderValueMatrixCache'][_0x55250e(0x1d2)](_0x4b680d))==null?void 0x0:_0x59f42d['get'](_0x34fd21))!=null?_0x256fff:new _0x3ec010['ObjectMatrix']();}['getSubUnitPivotRenderCache'](_0x27fa44,_0x1d7cb5){const _0x3fdc59=_0x501dc7;var _0x16392a;return(_0x16392a=this[_0x3fdc59(0x31d)][_0x3fdc59(0x1d2)](_0x27fa44))==null?void 0x0:_0x16392a[_0x3fdc59(0x1d2)](_0x1d7cb5);}[_0x501dc7(0x1e3)](_0xdac772,_0x38d259,_0x599372){const _0x5342b4=_0x501dc7;var _0x324449,_0x379329;return(_0x379329=(_0x324449=this['_pivotRenderInfoCache'][_0x5342b4(0x1d2)](_0xdac772))==null?void 0x0:_0x324449['get'](_0x38d259))==null?void 0x0:_0x379329[_0x5342b4(0x1d2)](_0x599372);}[_0x501dc7(0x295)](_0x39c2d0){const _0x493950=_0x501dc7;this[_0x493950(0x31d)][_0x493950(0x2fe)](_0x39c2d0),this[_0x493950(0x2b5)][_0x493950(0x2fe)](_0x39c2d0);}['markDirty'](_0x5dc7f2,_0x1a9588){const _0x172448=_0x501dc7;this[_0x172448(0x14a)][_0x172448(0x333)]({'unitId':_0x5dc7f2,'subUnitId':_0x1a9588});}},_0x4d1fa4[_0x501dc7(0x2f2)]=_0x3abad2([_0x1a1cd4(0x0,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x18c)])),_0x1a1cd4(0x1,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x2c4)])),_0x1a1cd4(0x2,_0x3ec010[_0x501dc7(0x170)](_0x4d1fa4['SheetsPivotTableConfigModel'])),_0x1a1cd4(0x3,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x3df)])),_0x1a1cd4(0x4,_0x3ec010['Inject'](_0x23e7ae[_0x501dc7(0x217)]))],_0x4d1fa4[_0x501dc7(0x2f2)]);var _0x29c203=Object[_0x501dc7(0x311)],_0x156f9c=(_0x5dce91,_0x5b745d,_0x380e4a,_0x5cdb0b)=>{const _0x1f1203=_0x501dc7;for(var _0x4849a1=_0x5cdb0b>0x1?void 0x0:_0x5cdb0b?_0x29c203(_0x5b745d,_0x380e4a):_0x5b745d,_0x349097=_0x5dce91[_0x1f1203(0x3a5)]-0x1,_0x452f5b;_0x349097>=0x0;_0x349097--)(_0x452f5b=_0x5dce91[_0x349097])&&(_0x4849a1=_0x452f5b(_0x4849a1)||_0x4849a1);return _0x4849a1;},_0x365817=(_0x3d8ee8,_0x297efc)=>(_0x1925ac,_0x4696ed)=>_0x297efc(_0x1925ac,_0x4696ed,_0x3d8ee8);_0x4d1fa4[_0x501dc7(0x240)]=class extends _0x3ec010[_0x501dc7(0x17f)]{constructor(_0x4e3d46,_0x5100e7){const _0x216056=_0x501dc7;super(),_0x69c9df(this,_0x216056(0x1cb),new _0x3ec010['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x2e75eb})),_0x69c9df(this,_0x216056(0x30f),new _0x3ec010['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x505420})),(this[_0x216056(0x2e5)]=_0x4e3d46,this['_sheetsPivotTableAdaptorModel']=_0x5100e7,this['_init']());}['_init'](){const _0xff9da=_0x501dc7;this[_0xff9da(0x31f)]();}[_0x501dc7(0x156)](_0x10eb00){const _0x569691=_0x501dc7;return this[_0x569691(0x1cb)][_0x569691(0x34f)](_0x2e75eb)(!0x1,_0x10eb00);}[_0x501dc7(0x31f)](){const _0x4c0739=_0x501dc7;this[_0x4c0739(0xbf)](this[_0x4c0739(0x2e5)][_0x4c0739(0x370)](_0x23e7ae[_0x4c0739(0x1b0)][_0x4c0739(0x273)],{'priority':0xc8,'effect':_0x3ec010[_0x4c0739(0x29e)][_0x4c0739(0x2aa)]|_0x3ec010[_0x4c0739(0x29e)][_0x4c0739(0x194)],'handler':(_0x2585d8,_0x2f66d6,_0x2ffa5a)=>{const _0x11b75e=_0x4c0739,{row:_0x3bf90d,col:_0x2f596e,unitId:_0x249c9a,subUnitId:_0x1b84de,workbook:_0x4265ea}=_0x2f66d6,_0x9e0b55=this[_0x11b75e(0x102)]['getPivotTableCellData'](_0x249c9a,_0x1b84de,_0x3bf90d,_0x2f596e);if(!_0x9e0b55)return _0x2ffa5a(_0x2585d8);const _0x5242fe={..._0x2585d8};(_0x9e0b55['v']||_0x9e0b55['v']===0x0)&&(_0x5242fe['v']=_0x9e0b55['v']),_0x9e0b55['t']&&(_0x5242fe['t']=_0x9e0b55['t']);const _0x183049=(typeof(_0x2585d8==null?void 0x0:_0x2585d8['s'])==_0x11b75e(0x1ce)?_0x4265ea[_0x11b75e(0x381)]()[_0x11b75e(0x1d2)](_0x2585d8==null?void 0x0:_0x2585d8['s']):_0x2585d8==null?void 0x0:_0x2585d8['s'])||{},_0x2cc327=_0x4265ea['getStyles']()[_0x11b75e(0x1d2)](_0x9e0b55['s']),_0x2c78eb={..._0x2cc327,..._0x183049};_0x2cc327!=null&&_0x2cc327['n']&&(_0x2c78eb['n']=_0x2cc327['n']);const _0x34850c=_0x4265ea['getStyles']()[_0x11b75e(0x27f)](_0x2c78eb);return _0x5242fe['s']=_0x34850c,(_0x9e0b55[_0x11b75e(0x126)]===_0x2350f2['PivotCellStyleTypeEnum']['Collapse']||_0x9e0b55['pbt']===_0x2350f2[_0x11b75e(0x2f9)][_0x11b75e(0x213)])&&(_0x5242fe['fontRenderExtension']={},_0x5242fe[_0x11b75e(0x33c)][_0x11b75e(0x2c7)]=_0x2813a4),_0x2ffa5a(_0x5242fe);}}));}},_0x4d1fa4['SheetsPivotTableService']=_0x156f9c([_0x365817(0x0,_0x3ec010[_0x501dc7(0x170)](_0x23e7ae[_0x501dc7(0x137)])),_0x365817(0x1,_0x3ec010[_0x501dc7(0x170)](_0x4d1fa4[_0x501dc7(0x2f2)]))],_0x4d1fa4[_0x501dc7(0x240)]);function _0x1903b3(_0x3f9f0d,_0x18ac73){const _0x1a65c2=_0x501dc7;switch(_0x18ac73){case _0x2350f2[_0x1a65c2(0x297)][_0x1a65c2(0x2aa)]:return _0x3f9f0d[_0x1a65c2(0xd6)];case _0x2350f2['PivotTableFiledAreaEnum'][_0x1a65c2(0xc6)]:return _0x3f9f0d[_0x1a65c2(0x1bf)];case _0x2350f2[_0x1a65c2(0x297)][_0x1a65c2(0xbb)]:return _0x3f9f0d[_0x1a65c2(0x1b8)];case _0x2350f2[_0x1a65c2(0x297)]['Column']:return _0x3f9f0d[_0x1a65c2(0x1fd)];default:return[];}}function _0x2b475c(_0x29876e,_0x564a2a){const _0x264c38=_0x501dc7;return _0x29876e['measure'][_0x564a2a]||_0x29876e[_0x264c38(0x21f)][_0x564a2a];}function _0x5f1242(_0x972dbe,_0x272006){const _0xfcfb66=_0x501dc7,{area:_0x33f7c6,fieldJson:_0x2b032a,index:_0x436604}=_0x272006;_0x33f7c6===_0x2350f2[_0xfcfb66(0x297)][_0xfcfb66(0x2aa)]?_0x972dbe[_0xfcfb66(0x39d)][_0x2b032a['id']]=_0x2b032a:_0x972dbe[_0xfcfb66(0x21f)][_0x2b032a['id']]=_0x2b032a,_0x1903b3(_0x972dbe,_0x33f7c6)[_0xfcfb66(0x2ee)](_0x436604,0x0,_0x2b032a['id']);}function _0x1e2ac2(_0x2c3a6b,_0x3e8918){const _0x337070=_0x501dc7,{area:_0x3fdc95,fieldId:_0x4dd4ac,index:_0x2f00d4}=_0x3e8918;_0x3fdc95===_0x2350f2[_0x337070(0x297)][_0x337070(0x2aa)]?delete _0x2c3a6b['measure'][_0x4dd4ac]:delete _0x2c3a6b['dimension'][_0x4dd4ac],_0x1903b3(_0x2c3a6b,_0x3fdc95)[_0x337070(0x2ee)](_0x2f00d4,0x1);}function _0x551003(_0x1f4e02,_0x485399){const _0x33441e=_0x501dc7,{fieldId:_0x4ee28a,name:_0x2f76a3}=_0x485399,_0x2ab957=_0x2b475c(_0x1f4e02,_0x4ee28a);_0x2ab957&&(_0x2ab957[_0x33441e(0x330)]=_0x2f76a3);}function _0x2538fb(_0x3a8943,_0x51b0a1){const _0x14534c=_0x501dc7,{fieldId:_0x5dcffe,collapse:_0x3c6326,item:_0x33d627}=_0x51b0a1;_0x33d627!==void 0x0?(_0x3a8943[_0x14534c(0xc8)][_0x5dcffe]=_0x3a8943['collapseInfo'][_0x5dcffe]||{},_0x3a8943[_0x14534c(0xc8)][_0x5dcffe][_0x33d627]=_0x3c6326):_0x3a8943[_0x14534c(0xc8)][_0x5dcffe]=_0x3c6326;}function _0x4aaf26(_0x29a6c7,_0x3b2c85){const _0x3d0a5b=_0x501dc7,{fieldId:_0x3e8f5a,format:_0xfb993c}=_0x3b2c85,_0x44059d=_0x2b475c(_0x29a6c7,_0x3e8f5a);_0x44059d&&(_0x44059d[_0x3d0a5b(0x263)]=_0xfb993c);}function _0x2dd7bf(_0x52fcc1,_0x483e84){const {fieldId:_0x2f519e,filterInfo:_0x30b8ba}=_0x483e84,_0x5e34e4=_0x2b475c(_0x52fcc1,_0x2f519e);_0x5e34e4&&(_0x5e34e4['filterInfo']=_0x30b8ba);}function _0x53d960(_0x4ae1aa,_0x103ceb){const _0xd6a881=_0x501dc7,{fieldId:_0x7b8073,filterInfo:_0x212906}=_0x103ceb,_0x48f03f=_0x4ae1aa[_0xd6a881(0x2fb)][_0xd6a881(0x375)](_0x1ac5a6=>_0x1ac5a6['fieldId']!==_0x7b8073);_0x212906&&_0x48f03f[_0xd6a881(0x37a)]({'fieldId':_0x7b8073,'filterInfo':_0x212906}),_0x4ae1aa[_0xd6a881(0x2fb)]=_0x48f03f;}function _0x426a53(_0x37db3c,_0x366f54){const _0x4c194a=_0x501dc7,{fieldId:_0x560929,subtotalType:_0x23b4ba}=_0x366f54,_0x59f631=_0x2b475c(_0x37db3c,_0x560929);_0x59f631&&(_0x59f631[_0x4c194a(0x276)]=_0x23b4ba);}function _0x3e12a6(_0x155818,_0x39a232){const _0x58b34d=_0x501dc7,{fieldId:_0x1a97f3,oldArea:_0x42e237,area:_0xdc3934,oldIndex:_0x4dcd4e,index:_0x5b1a61}=_0x39a232,_0x3fdac7=_0x42e237!==_0x2350f2['PivotTableFiledAreaEnum'][_0x58b34d(0x2aa)]&&_0xdc3934===_0x2350f2[_0x58b34d(0x297)][_0x58b34d(0x2aa)],_0x5aaf08=_0x42e237===_0x2350f2['PivotTableFiledAreaEnum']['Value']&&_0xdc3934!==_0x2350f2['PivotTableFiledAreaEnum'][_0x58b34d(0x2aa)];if(_0x3fdac7||_0x5aaf08){const _0x30300e=_0x2b475c(_0x155818,_0x1a97f3);_0x30300e&&(_0x3fdac7?(delete _0x155818[_0x58b34d(0x21f)][_0x1a97f3],_0x155818[_0x58b34d(0x39d)][_0x1a97f3]=_0x30300e):(delete _0x155818[_0x58b34d(0x39d)][_0x1a97f3],_0x155818[_0x58b34d(0x21f)][_0x1a97f3]=_0x30300e));}const _0x2dedca=_0x1903b3(_0x155818,_0x42e237),_0x17eedb=_0x1903b3(_0x155818,_0xdc3934);_0x2dedca['splice'](_0x4dcd4e,0x1),_0x17eedb[_0x58b34d(0x2ee)](_0x5b1a61,0x0,_0x1a97f3);}function _0x5f9f26(_0x51c3c8,_0x379657){const _0x199e6e=_0x501dc7,{valuePosition:_0x251f3f,index:_0x2a929d}=_0x379657;_0x51c3c8[_0x199e6e(0x38c)]=_0x251f3f,_0x51c3c8['valueIndex']=_0x2a929d;}function _0x3625e6(_0x14b776,_0x929b35){const _0x3d1279=_0x501dc7,{tableFieldId:_0x695644,sourceName:_0x64898e,dataFieldId:_0x5c1d66}=_0x929b35,_0x1deba0=_0x2b475c(_0x14b776,_0x695644);_0x1deba0&&(_0x1deba0[_0x3d1279(0x227)]=_0x64898e,_0x1deba0[_0x3d1279(0x2b0)]=_0x5c1d66);}function _0x4b7e15(_0x8a7851,_0x1f6acf){const _0x23c07f=_0x501dc7,{fieldId:_0x5aff7b,sortInfo:_0x4ea675}=_0x1f6acf,_0x5ea8b9=_0x2b475c(_0x8a7851,_0x5aff7b);_0x5ea8b9&&(_0x5ea8b9[_0x23c07f(0x2b7)]=_0x4ea675);}function _0x18fe5b(_0x373116,_0x549d35){const _0x26598c=_0x501dc7,{options:_0x3fbcde}=_0x549d35;_0x373116[_0x26598c(0x2f6)]={..._0x373116[_0x26598c(0x2f6)],..._0x3fbcde};}const _0x345588={'type':_0x3ec010[_0x501dc7(0x337)]['MUTATION'],'id':'sheet.mutation.add-pivot-field','handler'(_0x10cac7,_0x20571f){const _0x53dc12=_0x501dc7;if(!_0x20571f)return!0x1;if(!!_0x10cac7['get'](_0x3ec010[_0x53dc12(0x2d4)])[_0x53dc12(0x13e)](_0x49492b))return!0x0;const _0x9c58f=_0x10cac7['get'](_0x4d1fa4['SheetsPivotDataSourceModel']),{pivotTableId:_0x2b6a37,fieldJson:_0x290d70,area:_0x3a57c8,index:_0x5be537,unitId:_0x1cf852,subUnitId:_0x490eca}=_0x20571f,_0x5b55b4=_0x9c58f['getPivotTableInstance'](_0x2b6a37);if(!_0x5b55b4)return!0x1;let _0x21510d;_0x3a57c8===_0x2350f2['PivotTableFiledAreaEnum'][_0x53dc12(0x2aa)]?_0x21510d=_0x2350f2['createValueField'](_0x290d70):_0x21510d=_0x2350f2[_0x53dc12(0x1c8)](_0x290d70),_0x5b55b4['addField'](_0x21510d,_0x3a57c8,_0x5be537);const _0x31255d=_0x9c58f['getPivotTableModelConfig'](_0x1cf852,_0x490eca,_0x2b6a37);_0x5f1242(_0x31255d,_0x20571f);const _0x1b3db9=_0x9c58f[_0x53dc12(0x22d)](_0x1cf852,_0x490eca,_0x2b6a37);return _0x9c58f['addDirtyPivotTable']({'unitId':_0x1cf852,'subUnitId':_0x490eca,'token':_0x2b6a37,'type':_0x284607[_0x53dc12(0x120)],'pivotConfig':_0x1b3db9}),!0x0;}},_0x90849={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':_0x501dc7(0x22c),'handler'(_0x3544b6,_0x464c88){const _0x218cea=_0x501dc7;if(!_0x464c88)return!0x1;if(!!_0x3544b6[_0x218cea(0x1d2)](_0x3ec010[_0x218cea(0x2d4)])[_0x218cea(0x13e)](_0x49492b))return!0x0;const _0xd76b64=_0x3544b6['get'](_0x4d1fa4[_0x218cea(0x33a)]),{pivotTableId:_0x30d110,fieldId:_0x29c84b,unitId:_0x1c5969,subUnitId:_0x4a7d82}=_0x464c88,_0x5ea144=_0xd76b64[_0x218cea(0x1f8)](_0x30d110);if(!_0x5ea144)return!0x1;_0x5ea144['removeField'](_0x29c84b);const _0xf97e00=_0xd76b64[_0x218cea(0x22f)](_0x1c5969,_0x4a7d82,_0x30d110);_0x1e2ac2(_0xf97e00,_0x464c88);const _0x58d417=_0xd76b64['getPivotTableConfig'](_0x1c5969,_0x4a7d82,_0x30d110);return _0xd76b64[_0x218cea(0xdd)]({'unitId':_0x1c5969,'subUnitId':_0x4a7d82,'token':_0x30d110,'type':_0x284607[_0x218cea(0x120)],'pivotConfig':_0x58d417}),!0x0;}},_0x2d9f8b={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':_0x501dc7(0x1e9),'handler'(_0x5b0bc6,_0x5761ab){const _0x4485f1=_0x501dc7;if(!_0x5761ab)return!0x1;if(!!_0x5b0bc6['get'](_0x3ec010['IConfigService'])[_0x4485f1(0x13e)](_0x49492b))return!0x0;const _0x237842=_0x5b0bc6[_0x4485f1(0x1d2)](_0x4d1fa4[_0x4485f1(0x33a)]),{unitId:_0x3da89e,subUnitId:_0x171d24,pivotTableId:_0x2a30fe,fieldId:_0x46164c,name:_0x1aec77}=_0x5761ab,_0xf30731=_0x237842[_0x4485f1(0x1f8)](_0x2a30fe);if(!_0xf30731)return!0x1;_0xf30731[_0x4485f1(0x12f)](_0x46164c,_0x1aec77);const _0x7c1854=_0x237842[_0x4485f1(0x22f)](_0x3da89e,_0x171d24,_0x2a30fe);return _0x551003(_0x7c1854,_0x5761ab),_0x237842[_0x4485f1(0xdd)]({'unitId':_0x3da89e,'subUnitId':_0x171d24,'token':_0x2a30fe,'type':_0x284607[_0x4485f1(0x120)]}),!0x0;}},_0x57c2b2={'type':_0x3ec010['CommandType'][_0x501dc7(0x3d5)],'id':_0x501dc7(0xc1),'handler'(_0x4a395c,_0x3593f3){const _0xfa4ba6=_0x501dc7;if(!_0x3593f3)return!0x1;if(!!_0x4a395c[_0xfa4ba6(0x1d2)](_0x3ec010['IConfigService'])[_0xfa4ba6(0x13e)](_0x49492b))return!0x0;const _0x5e7a0c=_0x4a395c[_0xfa4ba6(0x1d2)](_0x4d1fa4[_0xfa4ba6(0x33a)]),{unitId:_0x438b6f,subUnitId:_0x187662,pivotTableId:_0x2fa7b6,fieldId:_0x4e1b44,collapse:_0x22c2b1,item:_0x334f9b}=_0x3593f3,_0x519149=_0x5e7a0c[_0xfa4ba6(0x1f8)](_0x2fa7b6);if(!_0x519149)return!0x1;_0x519149['setCollapse'](_0x4e1b44,_0x22c2b1,_0x334f9b);const _0x263517=_0x5e7a0c[_0xfa4ba6(0x22f)](_0x438b6f,_0x187662,_0x2fa7b6);return _0x2538fb(_0x263517,_0x3593f3),_0x5e7a0c['addDirtyPivotTable']({'unitId':_0x438b6f,'subUnitId':_0x187662,'token':_0x2fa7b6,'type':_0x284607[_0xfa4ba6(0x120)]}),!0x0;}},_0x333ca8={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':_0x501dc7(0x2ac),'handler'(_0x2727bd,_0xbdacbb){const _0x33457d=_0x501dc7;if(!_0xbdacbb)return!0x1;if(!!_0x2727bd['get'](_0x3ec010[_0x33457d(0x2d4)])[_0x33457d(0x13e)](_0x49492b))return!0x0;const _0x3dae3b=_0x2727bd['get'](_0x4d1fa4['SheetsPivotDataSourceModel']),{unitId:_0xe61419,subUnitId:_0x247c97,pivotTableId:_0x552fba,fieldId:_0x5aacf3,format:_0x547477}=_0xbdacbb,_0x459888=_0x3dae3b[_0x33457d(0x1f8)](_0x552fba);if(!_0x459888)return!0x1;_0x459888['setFieldFormat'](_0x5aacf3,_0x547477);const _0x18cff7=_0x3dae3b[_0x33457d(0x22f)](_0xe61419,_0x247c97,_0x552fba);return _0x4aaf26(_0x18cff7,_0xbdacbb),_0x3dae3b[_0x33457d(0xdd)]({'unitId':_0xe61419,'subUnitId':_0x247c97,'token':_0x552fba,'type':_0x284607[_0x33457d(0x120)]}),!0x0;}},_0x37595e={'type':_0x3ec010[_0x501dc7(0x337)]['MUTATION'],'id':_0x501dc7(0x254),'handler'(_0x2b7884,_0x14c3e9){const _0x1e2ab7=_0x501dc7;if(!_0x14c3e9)return!0x1;if(!!_0x2b7884[_0x1e2ab7(0x1d2)](_0x3ec010[_0x1e2ab7(0x2d4)])[_0x1e2ab7(0x13e)](_0x49492b))return!0x0;const _0x2e5fe4=_0x2b7884['get'](_0x4d1fa4[_0x1e2ab7(0x33a)]),{unitId:_0x1c47af,subUnitId:_0x1e28d2,pivotTableId:_0x1b9e97,fieldId:_0x5ac499,filterInfo:_0x5eec23}=_0x14c3e9,_0x2bb025=_0x2e5fe4['getPivotTableInstance'](_0x1b9e97);if(!_0x2bb025)return!0x1;_0x2bb025[_0x1e2ab7(0x12b)](_0x5ac499,_0x5eec23);const _0x53d898=_0x2e5fe4['getPivotTableModelConfig'](_0x1c47af,_0x1e28d2,_0x1b9e97);return _0x2dd7bf(_0x53d898,_0x14c3e9),_0x2e5fe4[_0x1e2ab7(0xdd)]({'unitId':_0x1c47af,'subUnitId':_0x1e28d2,'token':_0x1b9e97,'type':_0x284607[_0x1e2ab7(0x120)]}),!0x0;}},_0x4a0adf={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':'sheet.mutation.set-pivot-option','handler'(_0x3381d3,_0x1240d6){const _0x1d7e3d=_0x501dc7;if(!_0x1240d6)return!0x1;if(!!_0x3381d3[_0x1d7e3d(0x1d2)](_0x3ec010[_0x1d7e3d(0x2d4)])['getConfig'](_0x49492b))return!0x0;const _0x15cd87=_0x3381d3[_0x1d7e3d(0x1d2)](_0x4d1fa4[_0x1d7e3d(0x33a)]),{unitId:_0x363d76,subUnitId:_0x32545f,pivotTableId:_0x4dbbd0,options:_0x42e26f}=_0x1240d6,_0x35b28e=_0x15cd87[_0x1d7e3d(0x1f8)](_0x4dbbd0);if(!_0x35b28e)return!0x1;_0x35b28e[_0x1d7e3d(0x314)](_0x42e26f);const _0x5140b1=_0x15cd87[_0x1d7e3d(0x22f)](_0x363d76,_0x32545f,_0x4dbbd0);return _0x18fe5b(_0x5140b1,_0x1240d6),_0x15cd87['addDirtyPivotTable']({'unitId':_0x363d76,'subUnitId':_0x32545f,'token':_0x4dbbd0,'type':_0x284607[_0x1d7e3d(0x120)]}),!0x0;}},_0x3eb4ff={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':_0x501dc7(0x119),'handler'(_0x3c7222,_0x21ada9){const _0x2c4de1=_0x501dc7;if(!_0x21ada9)return!0x1;if(!!_0x3c7222[_0x2c4de1(0x1d2)](_0x3ec010[_0x2c4de1(0x2d4)])[_0x2c4de1(0x13e)](_0x49492b))return!0x0;const _0x15d30c=_0x3c7222['get'](_0x4d1fa4['SheetsPivotDataSourceModel']),{unitId:_0x4d26b0,subUnitId:_0x2f0f78,pivotTableId:_0x49ef1b,sortInfo:_0x3f3ddb,fieldId:_0x5c216d}=_0x21ada9,_0x1ba60=_0x15d30c[_0x2c4de1(0x1f8)](_0x49ef1b);if(!_0x1ba60)return!0x1;_0x1ba60[_0x2c4de1(0x2a3)](_0x5c216d,_0x3f3ddb);const _0x1b4d2d=_0x15d30c['getPivotTableModelConfig'](_0x4d26b0,_0x2f0f78,_0x49ef1b);return _0x4b7e15(_0x1b4d2d,_0x21ada9),_0x15d30c[_0x2c4de1(0xdd)]({'unitId':_0x4d26b0,'subUnitId':_0x2f0f78,'token':_0x49ef1b,'type':_0x284607[_0x2c4de1(0x120)]}),!0x0;}},_0x44f64d={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':_0x501dc7(0x181),'handler'(_0x4fc6aa,_0x581fdc){const _0x922808=_0x501dc7;if(!_0x581fdc)return!0x1;if(!!_0x4fc6aa[_0x922808(0x1d2)](_0x3ec010[_0x922808(0x2d4)])['getConfig'](_0x49492b))return!0x0;const _0x583a56=_0x4fc6aa[_0x922808(0x1d2)](_0x4d1fa4[_0x922808(0x33a)]),{unitId:_0x22deca,subUnitId:_0xe72719,pivotTableId:_0x3dad46,fieldId:_0x27929f,subtotalType:_0xe57d76}=_0x581fdc,_0x346052=_0x583a56[_0x922808(0x1f8)](_0x3dad46);if(!_0x346052)return!0x1;_0x346052[_0x922808(0x216)](_0x27929f,_0xe57d76);const _0x348531=_0x583a56[_0x922808(0x22f)](_0x22deca,_0xe72719,_0x3dad46);return _0x426a53(_0x348531,_0x581fdc),_0x583a56[_0x922808(0xdd)]({'unitId':_0x22deca,'subUnitId':_0xe72719,'token':_0x3dad46,'type':_0x284607[_0x922808(0x120)]}),!0x0;}},_0x3ffde0={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x5d67c0,_0x49664f){const _0x422767=_0x501dc7;if(!_0x49664f)return!0x1;if(!!_0x5d67c0[_0x422767(0x1d2)](_0x3ec010['IConfigService'])[_0x422767(0x13e)](_0x49492b))return!0x0;const _0x431124=_0x5d67c0[_0x422767(0x1d2)](_0x4d1fa4[_0x422767(0x33a)]),{unitId:_0x292f3f,subUnitId:_0x40ba8d,pivotTableId:_0xcd8fba,fieldId:_0x49ccf0,filterInfo:_0x233b87}=_0x49664f,_0x5cb4c0=_0x431124[_0x422767(0x1f8)](_0xcd8fba);if(!_0x5cb4c0)return!0x1;_0x5cb4c0[_0x422767(0x11a)](_0x49ccf0,_0x233b87);const _0x27de1b=_0x431124[_0x422767(0x22f)](_0x292f3f,_0x40ba8d,_0xcd8fba);return _0x53d960(_0x27de1b,_0x49664f),_0x431124[_0x422767(0xdd)]({'unitId':_0x292f3f,'subUnitId':_0x40ba8d,'token':_0xcd8fba,'type':_0x284607[_0x422767(0x120)]}),!0x0;}},_0x4e110e={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':_0x501dc7(0x232),'handler'(_0xdec748,_0x148d01){const _0xf2cfd8=_0x501dc7;if(!_0x148d01)return!0x1;if(!!_0xdec748['get'](_0x3ec010['IConfigService'])['getConfig'](_0x49492b))return!0x0;const _0x51530e=_0xdec748[_0xf2cfd8(0x1d2)](_0x4d1fa4[_0xf2cfd8(0x33a)]),{unitId:_0x2cc7e7,subUnitId:_0x4bbf0d,pivotTableId:_0x17ae87,area:_0x237555,index:_0x5e3f5a,fieldId:_0xe6260f}=_0x148d01,_0xafb8d0=_0x51530e[_0xf2cfd8(0x1f8)](_0x17ae87);if(!_0xafb8d0)return!0x1;_0xafb8d0[_0xf2cfd8(0x24c)](_0xe6260f,_0x237555,_0x5e3f5a);const _0x52b786=_0x51530e[_0xf2cfd8(0x22f)](_0x2cc7e7,_0x4bbf0d,_0x17ae87);return _0x3e12a6(_0x52b786,_0x148d01),_0x51530e[_0xf2cfd8(0xdd)]({'unitId':_0x2cc7e7,'subUnitId':_0x4bbf0d,'token':_0x17ae87,'type':_0x284607[_0xf2cfd8(0x120)]}),!0x0;}},_0x24a7b6={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'id':_0x501dc7(0x249),'handler'(_0x4b2b00,_0x1e5b4e){const _0x4980e8=_0x501dc7;if(!_0x1e5b4e)return!0x1;if(!!_0x4b2b00[_0x4980e8(0x1d2)](_0x3ec010[_0x4980e8(0x2d4)])['getConfig'](_0x49492b))return!0x0;const _0x292dd9=_0x4b2b00[_0x4980e8(0x1d2)](_0x4d1fa4['SheetsPivotDataSourceModel']),{unitId:_0x1919af,subUnitId:_0x46b398,pivotTableId:_0x4c1100,sourceName:_0x120e79,dataFieldId:_0x4d7b64,tableFieldId:_0x17b729}=_0x1e5b4e,_0x3d2adf=_0x292dd9[_0x4980e8(0x1f8)](_0x4c1100);if(!_0x3d2adf)return!0x1;_0x3d2adf[_0x4980e8(0x1d1)](_0x17b729,_0x120e79,_0x4d7b64);const _0xcbd1e8=_0x292dd9[_0x4980e8(0x22f)](_0x1919af,_0x46b398,_0x4c1100);return _0x3625e6(_0xcbd1e8,_0x1e5b4e),_0x292dd9[_0x4980e8(0xdd)]({'unitId':_0x1919af,'subUnitId':_0x46b398,'token':_0x4c1100,'type':_0x284607[_0x4980e8(0x120)]}),!0x0;}},_0x6b4c9a={'type':_0x3ec010[_0x501dc7(0x337)]['MUTATION'],'id':_0x501dc7(0x3cb),'handler'(_0x486c2f,_0x25123e){const _0x24c5a5=_0x501dc7;if(!_0x25123e)return!0x1;if(!!_0x486c2f[_0x24c5a5(0x1d2)](_0x3ec010[_0x24c5a5(0x2d4)])[_0x24c5a5(0x13e)](_0x49492b))return!0x0;const _0x1ad67c=_0x486c2f[_0x24c5a5(0x1d2)](_0x4d1fa4[_0x24c5a5(0x33a)]),{unitId:_0x2c8ccc,subUnitId:_0x2c04a1,pivotTableId:_0x1039cc,valuePosition:_0xc17716,index:_0x10e216}=_0x25123e,_0x28de1d=_0x1ad67c['getPivotTableInstance'](_0x1039cc);if(!_0x28de1d)return!0x1;_0x28de1d[_0x24c5a5(0x1c3)](_0xc17716,_0x10e216);const _0x2d3969=_0x1ad67c[_0x24c5a5(0x22f)](_0x2c8ccc,_0x2c04a1,_0x1039cc);return _0x5f9f26(_0x2d3969,_0x25123e),_0x1ad67c[_0x24c5a5(0xdd)]({'unitId':_0x2c8ccc,'subUnitId':_0x2c04a1,'token':_0x1039cc,'type':_0x284607[_0x24c5a5(0x120)]}),!0x0;}};function _0x57fc0c(_0x312eac,_0x59eae8,_0x55a91a){const _0x4abf3f=_0x501dc7,{pivotTableId:_0xc101ab,unitId:_0x3f84b7,subUnitId:_0x33d982}=_0x59eae8,_0x48549b=[],_0x4bbdcd=[];for(const _0x18b26 of _0x55a91a)switch(_0x18b26[_0x4abf3f(0x286)]){case _0x2350f2[_0x4abf3f(0xdc)][_0x4abf3f(0x1b6)]:{const {fieldJson:_0x807728,area:_0x3223ff,index:_0x2592aa}=_0x18b26,_0x2a6b71={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldJson':_0x807728,'area':_0x3223ff,'index':_0x2592aa},_0x35d6ab={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x807728['id'],'area':_0x3223ff,'index':_0x2592aa};_0x48549b['push']({'id':_0x345588['id'],'params':_0x2a6b71}),_0x4bbdcd[_0x4abf3f(0x2d7)]({'id':_0x90849['id'],'params':_0x35d6ab});}break;case _0x2350f2[_0x4abf3f(0xdc)][_0x4abf3f(0x315)]:{const {fieldId:_0x19a314,newSubtotalType:_0x45741a,oldSubtotalType:_0x1c9008}=_0x18b26,_0x2c5df7={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x19a314,'subtotalType':_0x45741a};_0x48549b[_0x4abf3f(0x37a)]({'id':_0x44f64d['id'],'params':_0x2c5df7});const _0x197094={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x19a314,'subtotalType':_0x1c9008};_0x4bbdcd['unshift']({'id':_0x44f64d['id'],'params':_0x197094});}break;case _0x2350f2[_0x4abf3f(0xdc)][_0x4abf3f(0xf5)]:{const {fieldId:_0x4f5d72,fieldJson:_0x4b9881,area:_0x902c58,index:_0x68b102}=_0x18b26,_0x5fcc88={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x4f5d72,'index':_0x68b102,'area':_0x902c58};_0x48549b[_0x4abf3f(0x37a)]({'id':_0x90849['id'],'params':_0x5fcc88});const _0x4a21b5={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldJson':_0x4b9881,'area':_0x902c58,'index':_0x68b102};_0x4bbdcd[_0x4abf3f(0x2d7)]({'id':_0x345588['id'],'params':_0x4a21b5});}break;case _0x2350f2[_0x4abf3f(0xdc)][_0x4abf3f(0x382)]:{const {fieldId:_0x139504,oldName:_0x5ea4de,newName:_0x36ee1b}=_0x18b26,_0x4c3994={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x139504,'name':_0x36ee1b};_0x48549b[_0x4abf3f(0x37a)]({'id':_0x2d9f8b['id'],'params':_0x4c3994});const _0xe4722e={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x139504,'name':_0x5ea4de};_0x4bbdcd[_0x4abf3f(0x2d7)]({'id':_0x2d9f8b['id'],'params':_0xe4722e});}break;case _0x2350f2[_0x4abf3f(0xdc)][_0x4abf3f(0x1f6)]:{const {fieldId:_0x2b89c8,oldFilterInfo:_0x339cf4,newFilterInfo:_0xc73ba5}=_0x18b26,_0x3b9a62={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x2b89c8,'filterInfo':_0xc73ba5};_0x48549b[_0x4abf3f(0x37a)]({'id':_0x37595e['id'],'params':_0x3b9a62});const _0x3bcc3d={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x2b89c8,'filterInfo':_0x339cf4};_0x4bbdcd[_0x4abf3f(0x2d7)]({'id':_0x37595e['id'],'params':_0x3bcc3d});}break;case _0x2350f2[_0x4abf3f(0xdc)][_0x4abf3f(0x29b)]:{const {fieldId:_0x15e4dd,oldSortInfo:_0x10585e,newSortInfo:_0x46e52c}=_0x18b26,_0x196649={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x15e4dd,'sortInfo':_0x46e52c};_0x48549b[_0x4abf3f(0x37a)]({'id':_0x3eb4ff['id'],'params':_0x196649});const _0xc4e9b6={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x15e4dd,'sortInfo':_0x10585e};_0x4bbdcd[_0x4abf3f(0x2d7)]({'id':_0x3eb4ff['id'],'params':_0xc4e9b6});}break;case _0x2350f2[_0x4abf3f(0xdc)][_0x4abf3f(0x14f)]:{const {oldOptions:_0x3edb4e,newOptions:_0x59de2d}=_0x18b26,_0x4bf295={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'options':_0x59de2d};_0x48549b[_0x4abf3f(0x37a)]({'id':_0x4a0adf['id'],'params':_0x4bf295});const _0x54f7c9={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'options':_0x3edb4e};_0x4bbdcd['unshift']({'id':_0x4a0adf['id'],'params':_0x54f7c9});}break;case _0x2350f2[_0x4abf3f(0xdc)]['UpdateFieldPosition']:{const {oldArea:_0x3d5c9b,newArea:_0x158ed3,oldIndex:_0x4936d0,newIndex:_0x4df369,fieldId:_0x475e86}=_0x18b26,_0x13c439={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x475e86,'area':_0x158ed3,'index':_0x4df369,'oldArea':_0x3d5c9b,'oldIndex':_0x4936d0};_0x48549b[_0x4abf3f(0x37a)]({'id':_0x4e110e['id'],'params':_0x13c439});const _0x3e80c3={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x475e86,'area':_0x3d5c9b,'index':_0x4936d0,'oldArea':_0x158ed3,'oldIndex':_0x4df369};_0x4bbdcd[_0x4abf3f(0x2d7)]({'id':_0x4e110e['id'],'params':_0x3e80c3});}break;case _0x2350f2['PivotTableChangeTypeEnum']['UpdateValuePosition']:{const {oldValuePosition:_0x29a48d,newValuePosition:_0x55e5a7,oldIndex:_0x5038e1,newIndex:_0x7f5894}=_0x18b26,_0x25c5bf={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'valuePosition':_0x55e5a7,'index':_0x7f5894};_0x48549b['push']({'id':_0x6b4c9a['id'],'params':_0x25c5bf});const _0x34d0af={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'valuePosition':_0x29a48d,'index':_0x5038e1};_0x4bbdcd[_0x4abf3f(0x2d7)]({'id':_0x6b4c9a['id'],'params':_0x34d0af});}break;case _0x2350f2[_0x4abf3f(0xdc)][_0x4abf3f(0x259)]:{const {fieldId:_0xa29faa,collapse:_0x121b9b,item:_0x268c7c}=_0x18b26,_0x2a44ea={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0xa29faa,'collapse':_0x121b9b,'item':_0x268c7c};_0x48549b['push']({'id':_0x57c2b2['id'],'params':_0x2a44ea});const _0x38ff9c={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0xa29faa,'collapse':!_0x121b9b,'item':_0x268c7c};_0x4bbdcd[_0x4abf3f(0x2d7)]({'id':_0x57c2b2['id'],'params':_0x38ff9c});}break;case _0x2350f2[_0x4abf3f(0xdc)]['SetFieldFormat']:{const {newFormat:_0x11d827,oldFormat:_0x41fc38,fieldId:_0x97f4bc}=_0x18b26,_0x3ea664={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x97f4bc,'format':_0x11d827};_0x48549b[_0x4abf3f(0x37a)]({'id':_0x333ca8['id'],'params':_0x3ea664});const _0x397362={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x97f4bc,'format':_0x41fc38};_0x4bbdcd[_0x4abf3f(0x2d7)]({'id':_0x333ca8['id'],'params':_0x397362});}break;case _0x2350f2[_0x4abf3f(0xdc)][_0x4abf3f(0x22b)]:{const {tableFieldId:_0x15b9f0,oldSourceName:_0x44ffc3,newSourceName:_0x3a56ef,oldDataFieldId:_0x3c6fc9,newDataFieldId:_0x224c53}=_0x18b26,_0x2b7532={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'tableFieldId':_0x15b9f0,'sourceName':_0x3a56ef,'dataFieldId':_0x224c53};_0x48549b[_0x4abf3f(0x37a)]({'id':_0x24a7b6['id'],'params':_0x2b7532});const _0x28a2c8={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'tableFieldId':_0x15b9f0,'sourceName':_0x44ffc3,'dataFieldId':_0x3c6fc9};_0x4bbdcd['unshift']({'id':_0x24a7b6['id'],'params':_0x28a2c8});}break;case _0x2350f2[_0x4abf3f(0xdc)][_0x4abf3f(0x10e)]:{const {fieldId:_0x415562,filterInfo:_0x11dbc4,oldFilterInfo:_0x1e194f}=_0x18b26,_0x334b86={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x415562,'filterInfo':_0x11dbc4};_0x48549b[_0x4abf3f(0x37a)]({'id':_0x3ffde0['id'],'params':_0x334b86});const _0x2b5fcf={'unitId':_0x3f84b7,'subUnitId':_0x33d982,'pivotTableId':_0xc101ab,'fieldId':_0x415562,'filterInfo':_0x1e194f};_0x4bbdcd[_0x4abf3f(0x2d7)]({'id':_0x3ffde0['id'],'params':_0x2b5fcf});}}return{'redos':_0x48549b,'undos':_0x4bbdcd};}function _0xf3dc4b(_0x1412d9,_0x14a6ee){const _0x4dbca6=_0x501dc7;var _0x156de0;const _0x2f04f4=_0x1412d9[_0x4dbca6(0x1d2)](_0x4d1fa4[_0x4dbca6(0x240)]),{cellInfo:_0xc5bea7,view:_0x39eb93,isEmpty:_0x365842}=_0x14a6ee;return(_0x156de0=_0x2f04f4[_0x4dbca6(0x30f)]['fetchThroughInterceptors'](_0x505420)(_0x46b6a6,{'cellInfo':_0xc5bea7,'view':_0x39eb93,'isEmpty':_0x365842}))!=null?_0x156de0:_0x46b6a6;}const _0x258901=()=>typeof process<'u'&&process[_0x501dc7(0x279)]!=null&&process[_0x501dc7(0x279)][_0x501dc7(0x331)]!=null,_0x45a670={'type':_0x3ec010[_0x501dc7(0x337)]['MUTATION'],'id':_0x501dc7(0x3d8),'handler'(_0x4f01b3,_0x2ac64a){const _0x4d6bd4=_0x501dc7;var _0x3523d6;if(!_0x2ac64a)return!0x1;const _0x495266=_0x4f01b3[_0x4d6bd4(0x1d2)](_0x3ec010['IConfigService']);if(!!_0x495266[_0x4d6bd4(0x13e)](_0x49492b))return!0x0;const _0x5b6f3b=_0x4f01b3[_0x4d6bd4(0x1d2)](_0x3ec010['IUniverInstanceService']),_0x3c5c6c=_0x4f01b3[_0x4d6bd4(0x1d2)](_0x4d1fa4['SheetsPivotDataSourceModel']),{pivotTableId:_0x595cc7,pivotTableConfig:_0x1be5f6,collectionConfig:_0x524817,unitId:_0x3da902,subUnitId:_0x228bfb}=_0x2ac64a,{sourceRangeInfo:_0x529aab,fieldsConfig:_0x5e6639,targetCellInfo:_0x60d3a5}=_0x1be5f6,_0x1e8e44=_0x5b6f3b[_0x4d6bd4(0x305)](_0x3da902);if(!_0x1e8e44||!_0x1e8e44[_0x4d6bd4(0x23b)](_0x228bfb))return!0x1;if(!_0x258901()){let _0x1bb370=0x0;_0x1e8e44['getSheets']()[_0x4d6bd4(0x189)](_0xa986ac=>{const _0x12534a=_0x4d6bd4;var _0x3cff36,_0x3cf319;_0x1bb370+=(_0x3cf319=(_0x3cff36=_0x3c5c6c[_0x12534a(0x392)](_0x3da902,_0xa986ac[_0x12534a(0x3cd)]()))==null?void 0x0:_0x3cff36[_0x12534a(0x161)])!=null?_0x3cf319:0x0;});const _0x1675a6=(_0x3523d6=_0x495266[_0x4d6bd4(0x13e)](_0x2e18f4[_0x4d6bd4(0x257)]))!=null?_0x3523d6:{},{ls:_0xd72345,pbk:_0x558438}=_0x1675a6;if(!_0xd07d80(_0xd72345,_0x558438))throw new _0x3ec010['CustomCommandExecutionError'](_0x4d6bd4(0x38f));const _0x329047=_0x2da912(_0xff2d0f,_0xd72345,_0x558438)['count'];if(_0x1bb370>=_0x329047)throw new _0x3ec010['CustomCommandExecutionError'](_0x4d6bd4(0x38f));}if(!_0x524817||!_0x5e6639)return!0x1;const {collection:_0x13cc49,updateDataFieldList:_0x2bf378}=_0x3c5c6c[_0x4d6bd4(0x310)](_0x595cc7,_0x524817,_0x529aab,_0x60d3a5);_0x3c5c6c[_0x4d6bd4(0x36d)](_0x13cc49,_0x2bf378,_0x529aab);const _0x324d9b=new _0x2350f2[(_0x4d6bd4(0xcc))](_0x13cc49,void 0x0,_0x595cc7);_0x324d9b['fromJSON'](_0x5e6639);const _0x53d13a=JSON[_0x4d6bd4(0x1ba)](JSON[_0x4d6bd4(0x268)](_0x1be5f6));return _0x3c5c6c[_0x4d6bd4(0x296)](_0x3da902,_0x228bfb,_0x595cc7,_0x324d9b,_0x53d13a),_0x3c5c6c[_0x4d6bd4(0xdd)]({'unitId':_0x3da902,'subUnitId':_0x228bfb,'token':_0x595cc7,'type':_0x284607[_0x4d6bd4(0x21b)],'pivotConfig':_0x53d13a}),!0x0;}},_0x5b5c95={'type':_0x3ec010['CommandType'][_0x501dc7(0x3d5)],'id':_0x501dc7(0x3db),'handler'(_0x24a9b0,_0x490290){const _0x33cfef=_0x501dc7;if(!_0x490290)return!0x1;if(!!_0x24a9b0['get'](_0x3ec010['IConfigService'])[_0x33cfef(0x13e)](_0x49492b))return!0x0;const {pivotTableId:_0x331747,unitId:_0x52f9c3,subUnitId:_0x5647a5}=_0x490290,_0x1f211a=_0x24a9b0[_0x33cfef(0x1d2)](_0x4d1fa4[_0x33cfef(0x33a)]);return _0x1f211a[_0x33cfef(0x22d)](_0x52f9c3,_0x5647a5,_0x331747)?(_0x1f211a[_0x33cfef(0xdd)]({'unitId':_0x52f9c3,'subUnitId':_0x5647a5,'token':_0x331747,'type':_0x284607[_0x33cfef(0xcd)]}),_0x1f211a[_0x33cfef(0x291)](_0x52f9c3,_0x5647a5,_0x331747),!0x0):!0x1;}},_0x4446f4={'type':_0x3ec010['CommandType'][_0x501dc7(0x3d5)],'id':_0x501dc7(0xe8),'handler'(_0x5e48d8,_0x50c4cd){const _0x251e13=_0x501dc7;if(!_0x50c4cd)return!0x1;if(!!_0x5e48d8[_0x251e13(0x1d2)](_0x3ec010[_0x251e13(0x2d4)])['getConfig'](_0x49492b))return!0x0;const {pivotTableId:_0x2d18e3,targetCellPosition:_0x48e25b,unitId:_0x275ce7,subUnitId:_0x4109bd}=_0x50c4cd,_0x4bdcb3=_0x5e48d8['get'](_0x4d1fa4[_0x251e13(0x33a)]);if(!_0x4bdcb3[_0x251e13(0x1f8)](_0x50c4cd[_0x251e13(0x1a5)]))return!0x1;const _0x5c2c51=_0x4bdcb3['getTargetByPivotId'](_0x2d18e3);if(!_0x5c2c51)return!0x1;const _0x2e320e=_0x4bdcb3['getCollection'](_0x5c2c51[_0x251e13(0x316)],_0x50c4cd['pivotTableId']);if(!_0x2e320e)return!0x1;const _0x41a1b3=_0x4bdcb3[_0x251e13(0x22d)](_0x5c2c51[_0x251e13(0x316)],_0x5c2c51['subUnitId'],_0x2d18e3);if(!_0x41a1b3)return!0x1;const _0x149fd6=_0x3ec010['Tools'][_0x251e13(0x221)](_0x41a1b3);_0x149fd6['targetCellInfo']={'unitId':_0x275ce7,'subUnitId':_0x4109bd,'row':_0x48e25b['row'],'col':_0x48e25b[_0x251e13(0xea)]};const _0x39e7d6=_0x2e320e[_0x251e13(0x2ea)]();if(_0x5c2c51[_0x251e13(0x130)]===_0x4109bd&&_0x5c2c51[_0x251e13(0x316)]===_0x275ce7)_0x4bdcb3[_0x251e13(0x139)](_0x275ce7,_0x4109bd,_0x2d18e3,_0x149fd6),_0x4bdcb3[_0x251e13(0xdd)]({'unitId':_0x275ce7,'subUnitId':_0x4109bd,'token':_0x2d18e3,'type':_0x284607[_0x251e13(0x120)]});else{_0x4bdcb3[_0x251e13(0xdd)]({'unitId':_0x5c2c51['unitId'],'subUnitId':_0x5c2c51['subUnitId'],'token':_0x2d18e3,'type':_0x284607[_0x251e13(0xcd)]}),_0x4bdcb3[_0x251e13(0x291)](_0x5c2c51[_0x251e13(0x316)],_0x5c2c51[_0x251e13(0x130)],_0x2d18e3);const _0xa0dfbc=_0x4bdcb3[_0x251e13(0x310)](_0x2d18e3,_0x39e7d6,_0x41a1b3['sourceRangeInfo'],_0x149fd6[_0x251e13(0x16b)]),_0x1dffcf=new _0x2350f2[(_0x251e13(0xcc))](_0xa0dfbc[_0x251e13(0x256)],void 0x0,_0x2d18e3);_0x1dffcf[_0x251e13(0x3b1)](_0x149fd6[_0x251e13(0xd4)]),_0x4bdcb3['addPivotTable'](_0x275ce7,_0x4109bd,_0x2d18e3,_0x1dffcf,_0x149fd6),_0x4bdcb3['addDirtyPivotTable']({'unitId':_0x275ce7,'subUnitId':_0x4109bd,'token':_0x2d18e3,'type':_0x284607[_0x251e13(0x21b)],'pivotConfig':_0x149fd6});}return!0x0;}},_0x572a3c={'type':_0x3ec010['CommandType'][_0x501dc7(0x3d5)],'id':_0x501dc7(0x134),'handler'(_0x5990a9,_0x58335e){const _0x422331=_0x501dc7;if(!_0x58335e)return!0x1;if(!!_0x5990a9[_0x422331(0x1d2)](_0x3ec010[_0x422331(0x2d4)])[_0x422331(0x13e)](_0x49492b))return!0x0;const _0x21c37d=_0x5990a9[_0x422331(0x1d2)](_0x4d1fa4[_0x422331(0x33a)]),{pivotTableId:_0x5097ea,deleteIds:_0x383af0,collectionJSON:_0x1359f5,dataRangeInfo:_0x275f89,unitId:_0x19b8a0,subUnitId:_0x3063c1}=_0x58335e,_0x16e22b=_0x21c37d[_0x422331(0x1f8)](_0x5097ea),_0x25af90=_0x21c37d[_0x422331(0x22d)](_0x19b8a0,_0x3063c1,_0x5097ea);if(!_0x16e22b||!_0x25af90)return!0x1;const {collection:_0x45e24c,updateDataFieldList:_0x3f7574}=_0x21c37d[_0x422331(0x310)](_0x5097ea,_0x1359f5,_0x275f89,_0x25af90['targetCellInfo']);_0x21c37d[_0x422331(0x36d)](_0x45e24c,_0x3f7574,_0x275f89),_0x16e22b[_0x422331(0x12e)](_0x45e24c);for(const _0x2338ec of _0x383af0)_0x21c37d['removeDataField'](_0x275f89[_0x422331(0x316)],_0x2338ec);const _0x314928=_0x21c37d[_0x422331(0x22d)](_0x19b8a0,_0x3063c1,_0x5097ea);return _0x314928[_0x422331(0x188)]=JSON[_0x422331(0x1ba)](JSON[_0x422331(0x268)](_0x275f89)),_0x21c37d[_0x422331(0xdd)]({'unitId':_0x19b8a0,'subUnitId':_0x3063c1,'token':_0x5097ea,'type':_0x284607[_0x422331(0x120)]}),!0x0;}},_0x5d2696={'type':_0x3ec010['CommandType'][_0x501dc7(0x3d5)],'id':_0x501dc7(0x174),'handler'(){return!0x0;}};var _0x55f7d3=Object[_0x501dc7(0x311)],_0x39ea40=(_0x4b2d3f,_0x714286,_0x56415a,_0x36d301)=>{const _0xfb3451=_0x501dc7;for(var _0x2b4385=_0x36d301>0x1?void 0x0:_0x36d301?_0x55f7d3(_0x714286,_0x56415a):_0x714286,_0x43d8b9=_0x4b2d3f[_0xfb3451(0x3a5)]-0x1,_0x4cc69b;_0x43d8b9>=0x0;_0x43d8b9--)(_0x4cc69b=_0x4b2d3f[_0x43d8b9])&&(_0x2b4385=_0x4cc69b(_0x2b4385)||_0x2b4385);return _0x2b4385;},_0x3e94ea=(_0x542e38,_0x3e3f2f)=>(_0xfac597,_0x1c0396)=>_0x3e3f2f(_0xfac597,_0x1c0396,_0x542e38);_0x4d1fa4[_0x501dc7(0x18b)]=class extends _0x3ec010['Disposable']{constructor(_0x56fb1c,_0x3868d3){const _0x4ab4d6=_0x501dc7;super(),_0x69c9df(this,_0x4ab4d6(0x390),new Map()),(this[_0x4ab4d6(0x371)]=_0x56fb1c,this[_0x4ab4d6(0x2bf)]=_0x3868d3);}[_0x501dc7(0x166)](_0x2ab42b){const _0x1a322c=_0x501dc7,{version:_0xefe237}=_0x2ab42b,_0x35a91a=this[_0x1a322c(0x390)][_0x1a322c(0x1d2)](_0xefe237);_0x35a91a&&(_0x35a91a(_0x2ab42b),this[_0x1a322c(0x390)]['delete'](_0xefe237));}[_0x501dc7(0x355)](_0x421b47){return new Promise((_0x72d5c4,_0x1492af)=>{const _0x3f4ae0=_0x25c6,_0x1dd785=this[_0x3f4ae0(0xc5)]();this[_0x3f4ae0(0x390)][_0x3f4ae0(0xec)](_0x1dd785,_0x72d5c4),this[_0x3f4ae0(0x2bf)][_0x3f4ae0(0x247)](_0xdd19b1['id'],{'version':_0x1dd785,..._0x421b47},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x96ea56=_0x501dc7;return Math[_0x96ea56(0x20b)]()[_0x96ea56(0x326)](0x24)[_0x96ea56(0x319)](0x2,0x10);}},_0x4d1fa4[_0x501dc7(0x18b)]=_0x39ea40([_0x3e94ea(0x0,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x2c4)])),_0x3e94ea(0x1,_0x3ec010['Inject'](_0x3ec010['ICommandService']))],_0x4d1fa4['SheetsPivotRPCService']);const _0x5eb53e={'id':_0x501dc7(0x18d),'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'handler':(_0x12c8e1,_0x1857ca)=>{const _0x2cba3d=_0x501dc7;if(!_0x1857ca)return!0x1;if(!!_0x12c8e1[_0x2cba3d(0x1d2)](_0x3ec010[_0x2cba3d(0x2d4)])[_0x2cba3d(0x13e)](_0x49492b))return!0x0;const {pivotTableId:_0x5be133,fieldJSON:_0x561b64,unitId:_0x2fb639,subUnitId:_0x12ffdf}=_0x1857ca,_0x3d7f66=_0x2350f2[_0x2cba3d(0x2db)][_0x2cba3d(0x3b1)](_0x561b64);if(!_0x3d7f66)return!0x1;const _0x2bbc43=_0x12c8e1[_0x2cba3d(0x1d2)](_0x4d1fa4['SheetsPivotDataSourceModel']),_0x3fc022=_0x2bbc43['getDataFieldManager'](_0x2fb639),_0x399902=_0x3fc022[_0x2cba3d(0x28e)](_0x5be133);_0x3fc022['addDataFieldWithoutUnitInfo'](_0x3d7f66),_0x399902[_0x2cba3d(0x192)](_0x3d7f66['getId'](),_0x3d7f66[_0x2cba3d(0x172)]());const _0x120341=_0x399902['getFieldById'](_0x3d7f66['getOriginFieldId']());_0x120341&&_0x3d7f66[_0x2cba3d(0x136)](_0x120341);const _0x44158d=_0x2bbc43[_0x2cba3d(0x22d)](_0x2fb639,_0x12ffdf,_0x5be133);return _0x2bbc43[_0x2cba3d(0xdd)]({'unitId':_0x2fb639,'subUnitId':_0x12ffdf,'token':_0x5be133,'type':_0x284607[_0x2cba3d(0x120)],'pivotConfig':_0x44158d}),!0x0;}},_0x20d2d7={'id':_0x501dc7(0x1a3),'type':_0x3ec010[_0x501dc7(0x337)]['MUTATION'],'handler':(_0xa692ae,_0x575594)=>{const _0x20bc66=_0x501dc7;if(!_0x575594)return!0x1;if(!!_0xa692ae[_0x20bc66(0x1d2)](_0x3ec010['IConfigService'])[_0x20bc66(0x13e)](_0x49492b))return!0x0;const {pivotTableId:_0x37db65,dataFieldId:_0x2f890c,unitId:_0x1b9631,subUnitId:_0x356d5a}=_0x575594,_0x33dcbc=_0xa692ae['get'](_0x4d1fa4[_0x20bc66(0x33a)]),_0x2aade6=_0x33dcbc['getDataFieldManager'](_0x1b9631);_0x2aade6[_0x20bc66(0x28e)](_0x37db65)[_0x20bc66(0x394)](_0x2f890c);let _0x39ff41=!0x0;for(const _0x2afccd in _0x2aade6[_0x20bc66(0x132)])if(_0x2aade6[_0x20bc66(0x132)][_0x2afccd][_0x20bc66(0x12a)]()[_0x20bc66(0x148)](_0x2f890c)){_0x39ff41=!0x1;break;}_0x39ff41&&_0x2aade6[_0x20bc66(0x272)](_0x2f890c);const _0x358eea=_0x33dcbc['getPivotTableConfig'](_0x1b9631,_0x356d5a,_0x37db65);return _0x33dcbc[_0x20bc66(0xdd)]({'unitId':_0x1b9631,'subUnitId':_0x356d5a,'token':_0x37db65,'type':_0x284607[_0x20bc66(0x120)],'pivotConfig':_0x358eea}),!0x0;}},_0x5a980e={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x195)],'id':_0x501dc7(0x389),async 'handler'(_0x319d7c,_0xd8504c){const _0xd69125=_0x501dc7;if(!_0xd8504c)return!0x1;const _0x4876bf=_0x319d7c[_0xd69125(0x1d2)](_0x3ec010[_0xd69125(0x155)]),_0xa03833=_0x319d7c[_0xd69125(0x1d2)](_0x4d1fa4['SheetsPivotRPCService']),_0xd74424=_0x319d7c['get'](_0x3ec010['IUndoRedoService']),{pivotTableId:_0x387dc2,dataFieldId:_0x12bce9,fieldArea:_0x4e4dad,index:_0x559962,unitId:_0x2a22e1,subUnitId:_0x3eb9c1}=_0xd8504c,_0x255217=(await _0xa03833['getPivotDisplayConfig']({'unitId':_0x2a22e1,'subUnitId':_0x3eb9c1,'pivotTableId':_0x387dc2,'params':{'type':_0x299d21[_0xd69125(0x1d3)],'addPivotField':{'dataFieldId':_0x12bce9,'fieldArea':_0x4e4dad,'index':_0x559962}}}))[_0xd69125(0x3c9)]['addPivotField'];if(!_0x255217)return!0x1;const {view:_0x3e3f82,changesets:_0x17b8d2,isEmpty:_0xc0a719,pivotTableConfig:_0xc9770b,shouldBeAddedGroupJSON:_0x5abf93}=_0x255217,_0x3d615a=_0xc9770b[_0xd69125(0x16b)],_0x577936=new _0x2350f2[(_0xd69125(0x274))]();_0x577936[_0xd69125(0x2d3)](_0x3e3f82);const _0x4521dc={'cellInfo':_0x3d615a,'view':_0x577936,'isEmpty':_0xc0a719};if(!await _0x319d7c[_0xd69125(0x1d2)](_0x4d1fa4['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x2e75eb)(!0x0,_0x4521dc))return!0x1;const _0x1e0592=_0x1efb63(_0x319d7c,_0x577936,_0x3d615a,_0xc0a719),_0x40b6a3=_0xf3dc4b(_0x319d7c,_0x4521dc),{undos:_0x1fe898,redos:_0x615b7a}=_0x57fc0c(_0x4876bf,{'pivotTableId':_0x387dc2,'unitId':_0x2a22e1,'subUnitId':_0x3eb9c1},_0x17b8d2);return _0x5abf93&&(_0x615b7a[_0xd69125(0x2d7)]({'id':_0x5eb53e['id'],'params':{'pivotTableId':_0x387dc2,'fieldJSON':_0x5abf93,'unitId':_0x2a22e1,'subUnitId':_0x3eb9c1}}),_0x1fe898[_0xd69125(0x37a)]({'id':_0x20d2d7['id'],'params':{'pivotTableId':_0x387dc2,'dataFieldId':_0x5abf93['id'],'unitId':_0x2a22e1,'subUnitId':_0x3eb9c1}})),_0x3ec010[_0xd69125(0x2ad)]([..._0x1e0592[_0xd69125(0x16e)],..._0x40b6a3['redos'],..._0x615b7a],_0x4876bf),_0xd74424[_0xd69125(0x2df)]({'unitID':_0x2a22e1,'redoMutations':[..._0x1e0592[_0xd69125(0x16e)],..._0x40b6a3[_0xd69125(0x16e)],..._0x615b7a],'undoMutations':[..._0x1e0592[_0xd69125(0x361)],..._0x40b6a3[_0xd69125(0x361)],..._0x1fe898]}),!0x0;}},_0x2b348a={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x195)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x17caa9,_0x2d1fef){const _0x3d930f=_0x501dc7;if(!_0x2d1fef)return!0x1;const {sourceDataInfo:_0x2784d4,pivotTableConfig:_0x38c1a4}=_0x2d1fef;if(!_0x2784d4||!_0x38c1a4)return!0x1;const {unitId:_0x328d9c,subUnitId:_0x5a933c,range:_0x19bcb6}=_0x2784d4,_0x490aa0=_0x17caa9[_0x3d930f(0x1d2)](_0x3ec010[_0x3d930f(0x3df)]),_0x3b6a2e=_0x17caa9['get'](_0x4d1fa4[_0x3d930f(0x18b)]),_0x30038c=_0x17caa9['get'](_0x3ec010['LocaleService']),_0x99ef6d=_0x17caa9[_0x3d930f(0x1d2)](_0x3ec010[_0x3d930f(0x155)]),_0xddc568=_0x490aa0['getUnit'](_0x328d9c);if(!_0xddc568)return!0x1;const _0x4a191c=_0xddc568['getSheetBySheetId'](_0x5a933c);if(!_0x4a191c)return!0x1;const _0x3d19c1=_0x2350f2[_0x3d930f(0xbe)](0x8),_0x4f5412=_0x19bcb6||{'startRow':0x0,'startColumn':0x0,'endRow':_0x4a191c[_0x3d930f(0x142)]()-0x1,'endColumn':_0x4a191c[_0x3d930f(0x113)]()-0x1};_0x4f5412[_0x3d930f(0x223)]=_0x3ec010[_0x3d930f(0x15d)]['NORMAL'];const _0x4c4150=(await _0x3b6a2e[_0x3d930f(0x355)]({'unitId':_0x328d9c,'subUnitId':_0x5a933c,'pivotTableId':_0x3d19c1,'params':{'type':_0x299d21[_0x3d930f(0x324)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x328d9c,'sheetName':_0x4a191c[_0x3d930f(0x172)](),'subUnitId':_0x5a933c,'range':_0x4f5412},'pivotTableId':_0x3d19c1,'pivotTableIndexConfig':_0x38c1a4}}}))['result'][_0x3d930f(0x302)];if(!_0x4c4150)return!0x1;const {isEmpty:_0x124201,fieldsConfig:_0x12602e,collectionConfig:_0x280601,changesets:_0x392521}=_0x4c4150,_0x1e5f4f=_0xddc568[_0x3d930f(0x180)]()['length'],_0xe6cf18=_0x3ec010[_0x3d930f(0x36b)]({'rowCount':_0x4a191c[_0x3d930f(0x142)]()-0x1,'columnCount':_0x4a191c['getColumnCount']()-0x1});_0xe6cf18['id']=_0x3ec010[_0x3d930f(0x1bb)](),_0xe6cf18[_0x3d930f(0x214)]=_0xddc568[_0x3d930f(0x2f0)](''+_0x30038c['t'](_0x3d930f(0x387)));const _0x4fd483={'index':_0x1e5f4f,'sheet':_0xe6cf18,'unitId':_0x328d9c},{redos:_0x148aa4}=_0x57fc0c(_0x99ef6d,{'pivotTableId':_0x3d19c1,'unitId':_0x328d9c,'subUnitId':_0xe6cf18['id']},_0x392521),_0x2aa10b=[{'id':_0x23e7ae[_0x3d930f(0xb3)]['id'],'params':_0x4fd483},{'id':_0x45a670['id'],'params':{'unitId':_0x328d9c,'subUnitId':_0xe6cf18['id'],'pivotTableId':_0x3d19c1,'pivotTableConfig':{'isEmpty':_0x124201,'fieldsConfig':_0x12602e,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x328d9c,'subUnitId':_0xe6cf18['id']},'sourceRangeInfo':{'subUnitId':_0x5a933c,'unitId':_0x328d9c,'range':_0x4f5412,'sheetName':_0x4a191c[_0x3d930f(0x172)]()}},'collectionConfig':_0x280601}},..._0x148aa4];return _0x3ec010['sequenceExecute'](_0x2aa10b,_0x99ef6d),!0x0;}},_0x3328ec={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x195)],'id':_0x501dc7(0x127),async 'handler'(_0x51590e,_0x5d2266){const _0x4cf790=_0x501dc7;var _0x4e9459,_0x4249ae;const _0x50cb95=_0x51590e[_0x4cf790(0x1d2)](_0x3ec010[_0x4cf790(0x155)]),_0x40b42d=_0x51590e['get'](_0x3ec010['IUniverInstanceService']),_0x42cd3c=_0x51590e[_0x4cf790(0x1d2)](_0x3ec010[_0x4cf790(0x18c)]),_0x35ea59=_0x51590e['get'](_0x4d1fa4[_0x4cf790(0x18b)]),_0xf04825=_0x51590e['get'](_0x3ec010[_0x4cf790(0x17e)]),_0x6d3e39=_0x51590e[_0x4cf790(0x1d2)](_0x4d1fa4['SheetsPivotTableConfigModel']),_0x4bf4bd=_0x51590e[_0x4cf790(0x1d2)](_0x3ec010[_0x4cf790(0x2d4)]);if(!_0x5d2266)return!0x1;const {pivotTableConfig:_0x5c026a,positionType:_0x5b96e4}=_0x5d2266,{targetCellInfo:_0x1766fc,sourceRangeInfo:_0x513b99}=_0x5c026a,{unitId:_0x5666f6,subUnitId:_0x2d2613}=_0x1766fc,_0x1ec48c=_0x40b42d[_0x4cf790(0x305)](_0x5666f6);if(!_0x1ec48c)return!0x1;let _0x4cc74e=0x0;_0x1ec48c[_0x4cf790(0x180)]()[_0x4cf790(0x189)](_0x2bfcf2=>{const _0x35f974=_0x4cf790;var _0x3f4163,_0x1eeec8;_0x4cc74e+=(_0x1eeec8=(_0x3f4163=_0x6d3e39[_0x35f974(0x392)](_0x5666f6,_0x2bfcf2[_0x35f974(0x3cd)]()))==null?void 0x0:_0x3f4163['size'])!=null?_0x1eeec8:0x0;});const _0x5d9216=(_0x4e9459=_0x4bf4bd[_0x4cf790(0x13e)](_0x2e18f4[_0x4cf790(0x257)]))!=null?_0x4e9459:{},{ls:_0x353e9c,pbk:_0x57d4d8}=_0x5d9216;if(!_0xd07d80(_0x353e9c,_0x57d4d8))return!0x1;const _0x21b0c3=_0x2da912(_0xff2d0f,_0x353e9c,_0x57d4d8)[_0x4cf790(0x2e3)];if(_0x4cc74e>=_0x21b0c3)return!0x1;const _0x28df9f=_0x5d2266['pivotTableId']||_0x2350f2['generateHexNumber'](0x8),_0xfed9b3=(await _0x35ea59[_0x4cf790(0x355)]({'unitId':_0x5666f6,'subUnitId':_0x2d2613,'pivotTableId':_0x28df9f,'params':{'type':_0x299d21[_0x4cf790(0x260)],'addPivotTable':{'sourceRangeInfo':_0x513b99,'pivotTableId':_0x28df9f}}}))[_0x4cf790(0x3c9)][_0x4cf790(0x296)];if(!_0xfed9b3)return!0x1;const {view:_0x54a27c,isEmpty:_0x1668c1,fieldsConfig:_0x15a380,collectionConfig:_0x8c786a}=_0xfed9b3,_0x4090ef=[],_0xfe0c8a=[];if(_0x5b96e4===_0x4975d8['New']){const _0x41c4d8=_0x1ec48c[_0x4cf790(0x180)]()[_0x4cf790(0x3a5)],_0x4a39cf=_0x3ec010[_0x4cf790(0x36b)]({});_0x4a39cf['id']=_0x5c026a['targetCellInfo']['subUnitId'],_0x4a39cf['name']=(_0x4249ae=_0x5c026a[_0x4cf790(0x16b)][_0x4cf790(0x117)])!=null?_0x4249ae:_0x1ec48c[_0x4cf790(0x2f0)](''+_0x42cd3c['t']('sheets.tabs.sheet'));const _0x413b9={'index':_0x41c4d8,'sheet':_0x4a39cf,'unitId':_0x5666f6},_0x3b4fbd=_0x23e7ae[_0x4cf790(0x3b0)](_0x51590e,_0x413b9);_0x4090ef[_0x4cf790(0x37a)]({'id':_0x23e7ae[_0x4cf790(0x220)]['id'],'params':_0x3b4fbd}),_0xfe0c8a['push']({'id':_0x23e7ae[_0x4cf790(0x368)]['id'],'params':_0x413b9});}else{if(!_0x1ec48c[_0x4cf790(0x23b)](_0x2d2613))return!0x1;const _0x3453fd=_0x1efb63(_0x51590e,new _0x2350f2[(_0x4cf790(0x274))](),_0x1766fc,!0x0);_0xfe0c8a[_0x4cf790(0x37a)](..._0x3453fd[_0x4cf790(0x16e)]),_0x4090ef[_0x4cf790(0x37a)](..._0x3453fd[_0x4cf790(0x361)]);const _0xac16d9={'cellInfo':_0x1766fc,'view':_0x54a27c,'isEmpty':_0x1668c1};if(!await _0x51590e['get'](_0x4d1fa4[_0x4cf790(0x240)])[_0x4cf790(0x1cb)][_0x4cf790(0x34f)](_0x2e75eb)(!0x0,_0xac16d9))return!0x1;const _0xd55a93=_0xf3dc4b(_0x51590e,_0xac16d9);_0xfe0c8a['push'](..._0xd55a93['redos']),_0x4090ef[_0x4cf790(0x37a)](..._0xd55a93[_0x4cf790(0x361)]);}return _0xfe0c8a[_0x4cf790(0x37a)]({'id':_0x45a670['id'],'params':{'unitId':_0x1766fc[_0x4cf790(0x316)],'subUnitId':_0x1766fc[_0x4cf790(0x130)],'pivotTableId':_0x28df9f,'pivotTableConfig':{'targetCellInfo':_0x1766fc,'sourceRangeInfo':_0x513b99,'fieldsConfig':_0x15a380},'collectionConfig':_0x8c786a}}),_0x4090ef[_0x4cf790(0x2d7)]({'id':_0x5b5c95['id'],'params':{'unitId':_0x5666f6,'subUnitId':_0x2d2613,'pivotTableId':_0x28df9f}}),_0x3ec010['sequenceExecute'](_0xfe0c8a,_0x50cb95)&&_0xf04825[_0x4cf790(0x2df)]({'unitID':_0x5666f6,'undoMutations':_0x4090ef,'redoMutations':_0xfe0c8a}),!0x0;}},_0x50435e={'type':_0x3ec010[_0x501dc7(0x337)]['COMMAND'],'id':_0x501dc7(0x11f),async 'handler'(_0x2fc487,_0x229db1){const _0x49c3da=_0x501dc7;if(!_0x229db1)return!0x1;const _0xdeff57=_0x2fc487[_0x49c3da(0x1d2)](_0x3ec010[_0x49c3da(0x155)]),_0x2ce207=_0x2fc487[_0x49c3da(0x1d2)](_0x4d1fa4['SheetsPivotRPCService']),_0x5ba21d=_0x2fc487[_0x49c3da(0x1d2)](_0x3ec010[_0x49c3da(0x17e)]),{pivotTableId:_0x15f0bd,fieldId:_0x48ebbb,area:_0x213ea4,index:_0x3d04e0,unitId:_0x2d5c2d,subUnitId:_0x113ce0}=_0x229db1,_0x410de9=(await _0x2ce207[_0x49c3da(0x355)]({'unitId':_0x2d5c2d,'subUnitId':_0x113ce0,'pivotTableId':_0x15f0bd,'params':{'type':_0x299d21['MovePivotField'],'movePivotField':{'fieldId':_0x48ebbb,'area':_0x213ea4,'index':_0x3d04e0}}}))[_0x49c3da(0x3c9)][_0x49c3da(0x1cc)];if(!_0x410de9)return!0x1;const {changesets:_0x4141ae,view:_0x3e2584,isEmpty:_0x1f373c,pivotTableConfig:_0x41ccae}=_0x410de9,_0x347f43=_0x41ccae[_0x49c3da(0x16b)],_0x4d8fbf=new _0x2350f2[(_0x49c3da(0x274))]();_0x4d8fbf[_0x49c3da(0x2d3)](_0x3e2584);const _0x4dc90a={'cellInfo':_0x347f43,'view':_0x4d8fbf,'isEmpty':_0x1f373c};if(!await _0x2fc487[_0x49c3da(0x1d2)](_0x4d1fa4[_0x49c3da(0x240)])[_0x49c3da(0x1cb)][_0x49c3da(0x34f)](_0x2e75eb)(!0x0,_0x4dc90a))return!0x1;const _0x36a9f4=_0x1efb63(_0x2fc487,_0x4d8fbf,_0x347f43,_0x1f373c),_0x1607b3=_0xf3dc4b(_0x2fc487,_0x4dc90a),{redos:_0x285b05,undos:_0xbb25c}=_0x57fc0c(_0xdeff57,{'pivotTableId':_0x15f0bd,'unitId':_0x2d5c2d,'subUnitId':_0x113ce0},_0x4141ae);return _0x3ec010['sequenceExecute']([..._0x36a9f4[_0x49c3da(0x16e)],..._0x1607b3[_0x49c3da(0x16e)],..._0x285b05],_0xdeff57),_0x5ba21d['pushUndoRedo']({'unitID':_0x2d5c2d,'redoMutations':[..._0x36a9f4['redos'],..._0x1607b3['redos'],..._0x285b05],'undoMutations':[..._0x36a9f4['undos'],..._0x1607b3[_0x49c3da(0x361)],..._0xbb25c]}),!0x0;}},_0x466d31={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x195)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x5a010c,_0x36f3ae){const _0x3544ce=_0x501dc7;var _0x41b15a;if(!_0x36f3ae)return!0x1;const _0x3cc33a=_0x5a010c[_0x3544ce(0x1d2)](_0x3ec010[_0x3544ce(0x3df)]),_0x3784ca=_0x23e7ae['getSheetCommandTarget'](_0x3cc33a);if(!_0x3784ca)return!0x1;const {unitId:_0x187f75,subUnitId:_0x372d82,workbook:_0x373bcf}=_0x3784ca,{row:_0x1c86ab,col:_0x5b2e24}=_0x36f3ae,_0x183cb0=_0x5a010c[_0x3544ce(0x1d2)](_0x4d1fa4[_0x3544ce(0x2f2)]),_0x158c41=_0x183cb0[_0x3544ce(0x2d5)](_0x187f75,_0x372d82,_0x1c86ab,_0x5b2e24);if(!_0x158c41)return!0x1;const _0xe0827e=(_0x41b15a=_0x183cb0[_0x3544ce(0x1e3)](_0x187f75,_0x372d82,_0x158c41))==null?void 0x0:_0x41b15a[_0x3544ce(0x304)];if(!_0xe0827e)return!0x1;const _0x2b9cf2=_0x5a010c[_0x3544ce(0x1d2)](_0x4d1fa4['SheetsPivotTableConfigModel'])[_0x3544ce(0x22d)](_0x187f75,_0x372d82,_0x158c41);if(!_0x2b9cf2)return!0x1;const {rowInfo:_0x4338e0,colInfo:_0x4bee11}=_0xe0827e,_0x5c994d=_0x4338e0[_0x1c86ab][_0x3544ce(0x1e8)],_0x2992d4=_0x4bee11[_0x5b2e24][_0x3544ce(0x1e8)],_0x259ca6=_0x4338e0[_0x1c86ab]['level'],_0x48d484=_0x4bee11[_0x5b2e24][_0x3544ce(0x2ba)],_0x4912ae=_0x5c994d[_0x3544ce(0xc3)](_0x2992d4),_0x1bd104=_0x2b9cf2['fieldsConfig'][_0x3544ce(0x1b8)][_0x3544ce(0x3cc)](0x0,_0x259ca6),_0xe9367b=_0x2b9cf2['fieldsConfig'][_0x3544ce(0x1fd)][_0x3544ce(0x3cc)](0x0,_0x48d484),_0x1d006b=_0x1bd104[_0x3544ce(0xc3)](_0xe9367b),_0x4f3ace=_0x4912ae[_0x3544ce(0x2d0)]((_0x3ee882,_0x3c3342)=>[_0x3ee882,_0x1d006b[_0x3c3342]]),_0x50fcd4=(await _0x5a010c[_0x3544ce(0x1d2)](_0x4d1fa4[_0x3544ce(0x18b)])['getPivotDisplayConfig']({'unitId':_0x187f75,'subUnitId':_0x372d82,'pivotTableId':_0x158c41,'params':{'type':_0x299d21[_0x3544ce(0xdf)],'drillDown':{'tuple':_0x4f3ace}}}))[_0x3544ce(0x3c9)]['drillDown'];if(!_0x50fcd4)return!0x1;const {indexes:_0x4f98e1,range:_0x36d082,sourceUnitId:_0x43cb76,sourceSubUnitId:_0x708b3a,formatMap:_0x238db8}=_0x50fcd4,{startRow:_0x2968c8,endRow:_0x36fc28,startColumn:_0x1fd2e7,endColumn:_0x2bee7d}=_0x36d082,_0x14a056=new _0x3ec010[(_0x3544ce(0x1be))](),_0x5e9fb9=_0x36fc28-_0x2968c8,_0x34cac8=_0x2bee7d-_0x1fd2e7,_0x44e13a={},_0x146f12=_0x23e7ae['getSheetCommandTarget'](_0x3cc33a,{'unitId':_0x43cb76,'subUnitId':_0x708b3a});if(!_0x146f12)return!0x1;const _0x76455d=_0x470f60[_0x3544ce(0x280)],_0x2c3e42=_0x470f60[_0x3544ce(0x25b)],_0x3138a2=_0x470f60['subTotalStyle'],_0x2c8b43=_0x373bcf['getStyles']()[_0x3544ce(0x27f)](_0x76455d),_0x56c7bb=_0x373bcf[_0x3544ce(0x381)]()['setValue'](_0x2c3e42),_0x5ef6c5=_0x373bcf['getStyles']()['setValue'](_0x3138a2),{worksheet:_0x3db2c0}=_0x146f12;let _0xbfa6a7=0x0;const _0x1ae664=0x1;_0x4f98e1[_0x3544ce(0x189)](_0x584bcf=>{const _0x50dfda=_0x3544ce;for(let _0x20fdd9=0x0;_0x20fdd9<=_0x2bee7d-_0x1fd2e7;_0x20fdd9++)_0x14a056['setValue'](_0xbfa6a7,_0x20fdd9,_0x3db2c0[_0x50dfda(0x29a)](_0x584bcf+_0x36d082[_0x50dfda(0x24a)]+_0x1ae664,_0x20fdd9));_0xbfa6a7++;});for(let _0xce8f32=_0x1fd2e7;_0xce8f32<=_0x2bee7d;_0xce8f32++){const _0x17f601=_0x3db2c0['getCellRaw'](_0x2968c8,_0xce8f32);_0x44e13a[_0x2968c8]||(_0x44e13a[_0x2968c8]={}),_0x44e13a[_0x2968c8][_0xce8f32]={..._0x17f601,'s':_0x2c8b43};}let _0x1532fd=0x1;const _0xbacd62={},_0x5ab593={};_0x14a056[_0x3544ce(0x28b)]((_0x1af638,_0x28e4f1)=>{const _0x55903c=_0x3544ce;_0x28e4f1[_0x55903c(0x189)](_0x54c5e5=>{const _0x38f6dc=_0x55903c,_0x3a8607=_0x14a056[_0x38f6dc(0x106)](_0x1af638,_0x54c5e5);if(_0x44e13a[_0x1532fd]||(_0x44e13a[_0x1532fd]={}),_0x44e13a[_0x1532fd][_0x54c5e5]={..._0x3a8607,'s':_0x1532fd%0x2===0x0?_0x5ef6c5:_0x56c7bb},_0x238db8[_0x54c5e5]&&_0x1af638>=0x0){const _0x571a09=_0x1532fd%0x2===0x0;let _0x5e0952=_0x571a09?_0x5ab593[_0x54c5e5]:_0xbacd62[_0x54c5e5];_0x5e0952||(_0x5e0952=_0x373bcf['getStyles']()[_0x38f6dc(0x27f)]({..._0x571a09?_0x3138a2:_0x2c3e42,'n':{'pattern':_0x238db8[_0x54c5e5]}}),_0x571a09?_0x5ab593[_0x54c5e5]=_0x5e0952:_0xbacd62[_0x54c5e5]=_0x5e0952),_0x44e13a[_0x1532fd][_0x54c5e5]['s']=_0x5e0952;}}),_0x1532fd++;});const _0x15472e=new _0x3ec010[(_0x3544ce(0x1be))](_0x44e13a),_0x5e5ca1={};_0x15472e[_0x3544ce(0x264)]((_0x2a5e22,_0x255fed,_0x454148)=>{_0x5e5ca1[_0x2a5e22]||(_0x5e5ca1[_0x2a5e22]={}),_0x5e5ca1[_0x2a5e22][_0x255fed]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x429b20=[],_0x4ab1f8=[],_0x26e545=_0x373bcf[_0x3544ce(0x180)]()[_0x3544ce(0x3a5)],_0x272ab8=_0x3ec010['mergeWorksheetSnapshotWithDefault']({'rowCount':Math['max'](_0x3ec010[_0x3544ce(0xf3)],_0x5e9fb9+0xa),'columnCount':Math['max'](_0x3ec010[_0x3544ce(0x2dd)],_0x34cac8+0x5)}),_0x4cb271=_0x5a010c['get'](_0x3ec010[_0x3544ce(0x18c)]);_0x272ab8['id']=_0x3ec010[_0x3544ce(0x1bb)](),_0x272ab8[_0x3544ce(0x214)]=_0x373bcf[_0x3544ce(0x2f0)](''+_0x4cb271['t'](_0x3544ce(0x387)));const _0x38b388={'index':_0x26e545,'sheet':_0x272ab8,'unitId':_0x187f75},_0x2368a4=_0x23e7ae[_0x3544ce(0x3b0)](_0x5a010c,_0x38b388);_0x4ab1f8[_0x3544ce(0x37a)]({'id':_0x23e7ae[_0x3544ce(0x368)]['id'],'params':_0x38b388}),_0x429b20[_0x3544ce(0x37a)]({'id':_0x23e7ae[_0x3544ce(0x220)]['id'],'params':_0x2368a4}),_0x4ab1f8['push']({'id':_0x23e7ae[_0x3544ce(0x1a9)]['id'],'params':{'unitId':_0x187f75,'subUnitId':_0x272ab8['id'],'cellValue':_0x44e13a}}),_0x429b20[_0x3544ce(0x2d7)]({'id':_0x23e7ae[_0x3544ce(0x1a9)]['id'],'params':{'unitId':_0x187f75,'subUnitId':_0x272ab8['id'],'cellValue':_0x5e5ca1}});const _0xd17c0b={'startRow':0x0,'startColumn':0x0,'endRow':_0x1532fd-0x1,'endColumn':_0x2bee7d};_0x4ab1f8[_0x3544ce(0x37a)]({'id':_0x241770[_0x3544ce(0x33b)]['id'],'params':{'unitId':_0x187f75,'subUnitId':_0x272ab8['id'],'range':_0xd17c0b}}),_0x429b20['unshift']({'id':_0x241770[_0x3544ce(0x1f3)]['id'],'params':{'unitId':_0x187f75,'subUnitId':_0x272ab8['id']}});const _0x57bc36=_0x5a010c[_0x3544ce(0x1d2)](_0x3ec010[_0x3544ce(0x155)]);return _0x3ec010[_0x3544ce(0x2ad)](_0x4ab1f8,_0x57bc36)&&_0x5a010c[_0x3544ce(0x1d2)](_0x3ec010[_0x3544ce(0x17e)])['pushUndoRedo']({'unitID':_0x187f75,'undoMutations':_0x429b20,'redoMutations':_0x4ab1f8}),!0x0;}},_0x4b9d0e={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x195)],'id':_0x501dc7(0x16c),async 'handler'(_0x26af7b,_0x46f60a){const _0x14d80a=_0x501dc7;if(!_0x46f60a)return!0x1;const _0x4c8f55=_0x26af7b['get'](_0x3ec010[_0x14d80a(0x155)]),_0x38be96=_0x26af7b[_0x14d80a(0x1d2)](_0x4d1fa4[_0x14d80a(0x18b)]),_0x467b60=_0x26af7b['get'](_0x3ec010[_0x14d80a(0x17e)]),{pivotTableId:_0x5b7426,fieldIds:_0x26a95e,unitId:_0x38b548,subUnitId:_0x1f871a}=_0x46f60a,_0x291838=(await _0x38be96[_0x14d80a(0x355)]({'unitId':_0x38b548,'subUnitId':_0x1f871a,'pivotTableId':_0x5b7426,'params':{'type':_0x299d21['RemovePivotField'],'removePivotField':{'fieldIds':_0x26a95e}}}))['result'][_0x14d80a(0x15b)];if(!_0x291838)return!0x1;const {view:_0x24fd46,changesets:_0x53d279,isEmpty:_0x1ad750,pivotTableConfig:_0x3c49cc}=_0x291838,_0x1b033c=_0x3c49cc[_0x14d80a(0x16b)],_0x356474=new _0x2350f2[(_0x14d80a(0x274))]();_0x356474[_0x14d80a(0x2d3)](_0x24fd46);const _0x3548ea={'cellInfo':_0x1b033c,'view':_0x356474,'isEmpty':_0x1ad750};if(!await _0x26af7b[_0x14d80a(0x1d2)](_0x4d1fa4[_0x14d80a(0x240)])[_0x14d80a(0x1cb)][_0x14d80a(0x34f)](_0x2e75eb)(!0x0,_0x3548ea))return!0x1;const _0x10aa25=_0x1efb63(_0x26af7b,_0x356474,_0x1b033c,_0x1ad750),_0x38b78f=_0xf3dc4b(_0x26af7b,_0x3548ea),{redos:_0x145d07,undos:_0x1d9597}=_0x57fc0c(_0x4c8f55,{'pivotTableId':_0x5b7426,'unitId':_0x38b548,'subUnitId':_0x1f871a},_0x53d279);return _0x3ec010['sequenceExecute']([..._0x10aa25[_0x14d80a(0x16e)],..._0x38b78f[_0x14d80a(0x16e)],..._0x145d07],_0x4c8f55),_0x467b60[_0x14d80a(0x2df)]({'unitID':_0x38b548,'redoMutations':[..._0x10aa25[_0x14d80a(0x16e)],..._0x38b78f[_0x14d80a(0x16e)],..._0x145d07],'undoMutations':[..._0x10aa25[_0x14d80a(0x361)],..._0x38b78f[_0x14d80a(0x361)],..._0x1d9597]}),!0x0;}},_0x7f2e77={'type':_0x3ec010[_0x501dc7(0x337)]['COMMAND'],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x2e4cd8,_0x4a99d5){const _0x506cd8=_0x501dc7;var _0x24814d;const _0x4097d3=_0x2e4cd8['get'](_0x3ec010[_0x506cd8(0x155)]),_0x5c28cd=_0x2e4cd8[_0x506cd8(0x1d2)](_0x4d1fa4[_0x506cd8(0x18b)]),_0x21cd29=_0x2e4cd8[_0x506cd8(0x1d2)](_0x4d1fa4['SheetsPivotTableAdaptorModel']),_0x42e54a=_0x2e4cd8['get'](_0x3ec010['IUniverInstanceService']),_0x1844b1=_0x2e4cd8[_0x506cd8(0x1d2)](_0x3ec010[_0x506cd8(0x17e)]);if(!_0x4a99d5)return!0x1;const {unitId:_0x1a8882,subUnitId:_0x2f688f,row:_0x190820,col:_0x3b2a59,collapse:_0x2426e2}=_0x4a99d5,_0x2c5999=_0x42e54a[_0x506cd8(0x305)](_0x1a8882);if(!_0x2c5999||!_0x2c5999['getSheetBySheetId'](_0x2f688f))return!0x1;const _0x23125f=_0x21cd29[_0x506cd8(0x2d5)](_0x1a8882,_0x2f688f,_0x190820,_0x3b2a59);if(!_0x23125f)return!0x1;const _0x26eda1=_0x21cd29['getPivotItemRenderInfoCache'](_0x1a8882,_0x2f688f,_0x23125f);if(!_0x26eda1)return!0x1;const _0x7da0e6=_0x3ec010['cellToRange'](_0x190820,_0x3b2a59),{rangesInfo:_0x5a415c,areaInfo:_0x4f5206,headerMap:_0x17781a}=_0x26eda1;if(!_0x5a415c||!_0x4f5206||!_0x17781a)return!0x1;const _0x2237c1=Object['keys'](_0x5a415c)[_0x506cd8(0x20f)](_0x50bf0f=>_0x5a415c[_0x50bf0f][_0x506cd8(0xc0)](_0x42fedd=>_0x3ec010['Rectangle'][_0x506cd8(0x3ba)](_0x42fedd,_0x7da0e6)));let _0x2a87bd;_0x2237c1===_0x506cd8(0x11e)?_0x2a87bd=_0x17781a[_0x506cd8(0x19b)][_0x3b2a59]:_0x2237c1===_0x506cd8(0x28a)&&(_0x2a87bd=_0x17781a[_0x506cd8(0x332)][_0x190820]);const _0x3184da=_0x2a87bd==null?void 0x0:_0x2a87bd[_0x506cd8(0x349)],_0xcb4611=(_0x24814d=_0x21cd29[_0x506cd8(0x10a)](_0x1a8882,_0x2f688f,_0x190820,_0x3b2a59))==null?void 0x0:_0x24814d['v'];if(_0xcb4611==null||!_0x23125f||!_0x3184da)return!0x1;const _0x54c465=await _0x5c28cd[_0x506cd8(0x355)]({'unitId':_0x1a8882,'subUnitId':_0x2f688f,'pivotTableId':_0x23125f,'params':{'type':_0x299d21[_0x506cd8(0x2ef)],'setPivotCollapse':{'tableFieldId':_0x3184da,'collapse':_0x2426e2,'item':_0xcb4611}}}),_0x4a862d=_0x54c465==null?void 0x0:_0x54c465[_0x506cd8(0x3c9)][_0x506cd8(0x1a2)];if(!_0x4a862d)return!0x1;const {view:_0x73e2ce,pivotTableConfig:_0x2e3249,isEmpty:_0x4b1eb5,changesets:_0x19d5e6}=_0x4a862d,_0x30231a=new _0x2350f2['PivotView']();_0x30231a[_0x506cd8(0x2d3)](_0x73e2ce);const _0x17f1a9=_0x2e3249[_0x506cd8(0x16b)],_0x51e3e9={'cellInfo':_0x17f1a9,'view':_0x30231a,'isEmpty':_0x4b1eb5};if(!await _0x2e4cd8[_0x506cd8(0x1d2)](_0x4d1fa4[_0x506cd8(0x240)])[_0x506cd8(0x1cb)][_0x506cd8(0x34f)](_0x2e75eb)(!0x0,_0x51e3e9))return!0x1;const _0x41b47e=_0x1efb63(_0x2e4cd8,_0x30231a,_0x17f1a9,_0x4b1eb5),_0x66c7bd=_0xf3dc4b(_0x2e4cd8,_0x51e3e9),{redos:_0x30f75b,undos:_0x107265}=_0x57fc0c(_0x4097d3,{'pivotTableId':_0x23125f,'unitId':_0x1a8882,'subUnitId':_0x2f688f},_0x19d5e6);return _0x3ec010[_0x506cd8(0x2ad)]([..._0x41b47e[_0x506cd8(0x16e)],..._0x66c7bd[_0x506cd8(0x16e)],..._0x30f75b],_0x4097d3),_0x1844b1[_0x506cd8(0x2df)]({'unitID':_0x1a8882,'redoMutations':[..._0x41b47e['redos'],..._0x66c7bd[_0x506cd8(0x16e)],..._0x30f75b],'undoMutations':[..._0x41b47e[_0x506cd8(0x361)],..._0x66c7bd['undos'],..._0x107265]}),!0x0;}},_0x123294={'type':_0x3ec010['CommandType'][_0x501dc7(0x195)],'id':_0x501dc7(0x160),async 'handler'(_0x57e53d,_0x44e044){const _0x5d61a6=_0x501dc7;if(!_0x44e044)return!0x1;const _0x37ac80=_0x57e53d[_0x5d61a6(0x1d2)](_0x3ec010[_0x5d61a6(0x155)]),{pivotTableId:_0x28424e,tableFieldId:_0x1f153d,items:_0x4ddbe9,unitId:_0x533bb2,subUnitId:_0x17e39c,isAll:_0xc4d12e}=_0x44e044,_0x410d72=_0x57e53d[_0x5d61a6(0x1d2)](_0x4d1fa4[_0x5d61a6(0x18b)]),_0xf13966=_0x57e53d[_0x5d61a6(0x1d2)](_0x3ec010[_0x5d61a6(0x17e)]),_0x2a94dd=(await _0x410d72['getPivotDisplayConfig']({'unitId':_0x533bb2,'subUnitId':_0x17e39c,'pivotTableId':_0x28424e,'params':{'type':_0x299d21[_0x5d61a6(0x122)],'setPivotFilter':{'tableFieldId':_0x1f153d,'items':_0x4ddbe9,'isAll':_0xc4d12e}}}))[_0x5d61a6(0x3c9)][_0x5d61a6(0x31b)];if(!_0x2a94dd)return!0x1;const {changesets:_0x2b017e,pivotTableConfig:_0x1c05ce,isEmpty:_0x39ce18,view:_0x313875}=_0x2a94dd,_0x5620b1=_0x1c05ce[_0x5d61a6(0x16b)],_0x440818=new _0x2350f2[(_0x5d61a6(0x274))]();_0x440818['formJSON'](_0x313875);const _0xd928f8={'cellInfo':_0x5620b1,'view':_0x440818,'isEmpty':_0x39ce18};if(!await _0x57e53d['get'](_0x4d1fa4[_0x5d61a6(0x240)])['asyncInterceptor'][_0x5d61a6(0x34f)](_0x2e75eb)(!0x0,_0xd928f8))return!0x1;const _0x1493e8=_0x1efb63(_0x57e53d,_0x440818,_0x5620b1,_0x39ce18),_0x4bb786=_0xf3dc4b(_0x57e53d,_0xd928f8),{undos:_0x3e4926,redos:_0x282b1f}=_0x57fc0c(_0x37ac80,{'pivotTableId':_0x28424e,'unitId':_0x533bb2,'subUnitId':_0x17e39c},_0x2b017e);return _0x3ec010[_0x5d61a6(0x2ad)]([..._0x1493e8[_0x5d61a6(0x16e)],..._0x4bb786['redos'],..._0x282b1f],_0x37ac80),_0xf13966[_0x5d61a6(0x2df)]({'unitID':_0x533bb2,'redoMutations':[..._0x1493e8[_0x5d61a6(0x16e)],..._0x4bb786[_0x5d61a6(0x16e)],..._0x282b1f],'undoMutations':[..._0x1493e8[_0x5d61a6(0x361)],..._0x4bb786[_0x5d61a6(0x361)],..._0x3e4926]}),!0x0;}},_0x535bb5={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x195)],'id':_0x501dc7(0x2e7),async 'handler'(_0x15f8a3,_0x5f2e93){const _0x35efcb=_0x501dc7;if(!_0x5f2e93)return!0x1;const _0x4acb7f=_0x15f8a3['get'](_0x3ec010[_0x35efcb(0x155)]),_0x26055c=_0x15f8a3['get'](_0x3ec010[_0x35efcb(0x17e)]),_0xac6da2=_0x15f8a3[_0x35efcb(0x1d2)](_0x4d1fa4[_0x35efcb(0x18b)]),{info:_0x46a000,tableFieldId:_0xeaea81,pivotTableId:_0x11a979,unitId:_0x16ea0f,subUnitId:_0x1a70d0}=_0x5f2e93,_0x184a9f=(await _0xac6da2[_0x35efcb(0x355)]({'unitId':_0x16ea0f,'subUnitId':_0x1a70d0,'pivotTableId':_0x11a979,'params':{'type':_0x299d21[_0x35efcb(0x236)],'setPivotSort':{'tableFieldId':_0xeaea81,'info':_0x46a000}}}))[_0x35efcb(0x3c9)][_0x35efcb(0xb2)];if(!_0x184a9f)return!0x1;const {changesets:_0x7386bd}=_0x184a9f,{redos:_0x2f96f0,undos:_0x564d57}=_0x57fc0c(_0x4acb7f,{'pivotTableId':_0x11a979,'unitId':_0x16ea0f,'subUnitId':_0x1a70d0},_0x7386bd);return _0x3ec010[_0x35efcb(0x2ad)](_0x2f96f0,_0x4acb7f),_0x26055c[_0x35efcb(0x2df)]({'unitID':_0x16ea0f,'redoMutations':_0x2f96f0,'undoMutations':_0x564d57}),!0x0;}},_0x1ab598={'type':_0x3ec010['CommandType'][_0x501dc7(0x195)],'id':_0x501dc7(0x377),async 'handler'(_0x408551,_0x3b0e5d){const _0xc653f9=_0x501dc7;if(!_0x3b0e5d)return!0x1;const _0x1b79dd=_0x408551[_0xc653f9(0x1d2)](_0x3ec010[_0xc653f9(0x155)]),_0x4c3b48=_0x408551[_0xc653f9(0x1d2)](_0x3ec010[_0xc653f9(0x17e)]),_0x5849f8=_0x408551['get'](_0x4d1fa4[_0xc653f9(0x18b)]),{displayName:_0x2b9ed7,subtotalType:_0x3e4b35,format:_0x470977,tableFieldId:_0x556309,pivotTableId:_0x58374f,unitId:_0x1b04b9,subUnitId:_0xfcd6ee}=_0x3b0e5d,_0x435894=(await _0x5849f8['getPivotDisplayConfig']({'unitId':_0x1b04b9,'subUnitId':_0xfcd6ee,'pivotTableId':_0x58374f,'params':{'type':_0x299d21['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x556309,'displayName':_0x2b9ed7,'subtotalType':_0x3e4b35,'format':_0x470977}}}))[_0xc653f9(0x3c9)]['setPivotSetting'];if(!_0x435894)return!0x1;const {changesets:_0xf8bf96,view:_0x28e0c1,pivotTableConfig:_0x16252d,isEmpty:_0x1cdcb7}=_0x435894,_0x276197=_0x16252d[_0xc653f9(0x16b)],_0x55a7a4=new _0x2350f2['PivotView']();_0x55a7a4[_0xc653f9(0x2d3)](_0x28e0c1);const _0x594693={'cellInfo':_0x276197,'view':_0x55a7a4,'isEmpty':_0x1cdcb7};if(!await _0x408551[_0xc653f9(0x1d2)](_0x4d1fa4['SheetsPivotTableService'])['asyncInterceptor'][_0xc653f9(0x34f)](_0x2e75eb)(!0x0,_0x594693))return!0x1;const _0x412622=_0x1efb63(_0x408551,_0x55a7a4,_0x276197,_0x1cdcb7),_0x97f48b=_0xf3dc4b(_0x408551,_0x594693),{undos:_0x337e5c,redos:_0x3a1236}=_0x57fc0c(_0x1b79dd,{'pivotTableId':_0x58374f,'unitId':_0x1b04b9,'subUnitId':_0xfcd6ee},_0xf8bf96);return _0x3ec010['sequenceExecute']([..._0x412622['redos'],..._0x97f48b['redos'],..._0x3a1236],_0x1b79dd),_0x4c3b48[_0xc653f9(0x2df)]({'unitID':_0x1b04b9,'redoMutations':[..._0x412622[_0xc653f9(0x16e)],..._0x97f48b[_0xc653f9(0x16e)],..._0x3a1236],'undoMutations':[..._0x412622[_0xc653f9(0x361)],..._0x97f48b['undos'],..._0x337e5c]}),!0x0;}},_0x261215={'type':_0x3ec010[_0x501dc7(0x337)]['COMMAND'],'id':_0x501dc7(0x230),async 'handler'(_0x38c3c3,_0x9b7f9a){const _0x15ee93=_0x501dc7,_0x188d58=_0x38c3c3[_0x15ee93(0x1d2)](_0x3ec010[_0x15ee93(0x155)]),_0xe58187=_0x38c3c3[_0x15ee93(0x1d2)](_0x4d1fa4[_0x15ee93(0x18b)]),_0x273201=_0x38c3c3[_0x15ee93(0x1d2)](_0x3ec010[_0x15ee93(0x17e)]);if(!_0x9b7f9a)return!0x1;const {token:_0x3f97b1,dataRangeInfo:_0x2230ec,unitId:_0x8ef588,subUnitId:_0x59fdee}=_0x9b7f9a,_0xe7fef8=[],_0x1143cf=[],_0x3562e4=(await _0xe58187[_0x15ee93(0x355)]({'unitId':_0x8ef588,'subUnitId':_0x59fdee,'pivotTableId':_0x3f97b1,'params':{'type':_0x299d21[_0x15ee93(0xfd)],'updatePivotSource':{'dataRangeInfo':_0x2230ec,'unitId':_0x8ef588,'subUnitId':_0x59fdee}}}))[_0x15ee93(0x3c9)]['updatePivotSource'];if(!_0x3562e4)return!0x1;const {changesets:_0x3e77ff,deleteIds:_0x296495,collectionConfig:_0x1fdba7,oldCollectionConfig:_0x324e55,view:_0x14df57,isEmpty:_0x5175e0,pivotTableConfig:_0x11dd51}=_0x3562e4;_0x1143cf[_0x15ee93(0x37a)]({'id':_0x572a3c['id'],'params':{'pivotTableId':_0x3f97b1,'deleteIds':_0x296495,'collectionJSON':_0x1fdba7,'dataRangeInfo':_0x2230ec,'unitId':_0x8ef588,'subUnitId':_0x59fdee}}),_0xe7fef8[_0x15ee93(0x2d7)]({'id':_0x572a3c['id'],'params':{'pivotTableId':_0x3f97b1,'deleteIds':[],'collectionJSON':_0x324e55,'dataRangeInfo':_0x11dd51['sourceRangeInfo'],'unitId':_0x8ef588,'subUnitId':_0x59fdee}});const _0x26913e=_0x11dd51['targetCellInfo'],_0x46e22c=new _0x2350f2[(_0x15ee93(0x274))]();_0x46e22c[_0x15ee93(0x2d3)](_0x14df57);const _0x54295b={'cellInfo':_0x26913e,'view':_0x46e22c,'isEmpty':_0x5175e0};if(!await _0x38c3c3[_0x15ee93(0x1d2)](_0x4d1fa4['SheetsPivotTableService'])[_0x15ee93(0x1cb)]['fetchThroughAsyncInterceptors'](_0x2e75eb)(!0x0,_0x54295b))return!0x1;const _0x40d59e=_0x1efb63(_0x38c3c3,_0x46e22c,_0x26913e,_0x5175e0),_0x34cdf2=_0xf3dc4b(_0x38c3c3,_0x54295b),{undos:_0x199957,redos:_0x3119da}=_0x57fc0c(_0x188d58,{'pivotTableId':_0x3f97b1,'unitId':_0x8ef588,'subUnitId':_0x59fdee},_0x3e77ff);return _0x3ec010['sequenceExecute']([..._0x40d59e[_0x15ee93(0x16e)],..._0x34cdf2[_0x15ee93(0x16e)],..._0x1143cf,..._0x199957],_0x188d58),_0x273201['pushUndoRedo']({'unitID':_0x8ef588,'redoMutations':[..._0x40d59e['redos'],..._0x34cdf2[_0x15ee93(0x16e)],..._0x1143cf,..._0x199957],'undoMutations':[..._0x40d59e[_0x15ee93(0x361)],..._0x34cdf2['undos'],..._0xe7fef8,..._0x3119da]}),!0x0;}},_0x1399f3={'type':_0x3ec010['CommandType'][_0x501dc7(0x195)],'id':_0x501dc7(0x3da),async 'handler'(_0x9e8797,_0x430c14){const _0x3a07ec=_0x501dc7;if(!_0x430c14)return!0x1;const _0x47e072=_0x9e8797[_0x3a07ec(0x1d2)](_0x3ec010[_0x3a07ec(0x155)]),_0x413596=_0x9e8797['get'](_0x4d1fa4[_0x3a07ec(0x18b)]),_0x40fdb0=_0x9e8797[_0x3a07ec(0x1d2)](_0x3ec010[_0x3a07ec(0x3df)]),_0x5d29b7=_0x9e8797[_0x3a07ec(0x1d2)](_0x3ec010[_0x3a07ec(0x17e)]),{pivotTableId:_0x390d0a,position:_0x177fbf,index:_0x483824}=_0x430c14,_0x3375e8=_0x23e7ae[_0x3a07ec(0x325)](_0x40fdb0);if(!_0x3375e8)return!0x1;const {unitId:_0x441489,subUnitId:_0x1e2fc3}=_0x3375e8,_0x298b15=(await _0x413596[_0x3a07ec(0x355)]({'unitId':_0x441489,'subUnitId':_0x1e2fc3,'pivotTableId':_0x390d0a,'params':{'type':_0x299d21[_0x3a07ec(0x360)],'updateValuePosition':{'position':_0x177fbf,'index':_0x483824}}}))[_0x3a07ec(0x3c9)][_0x3a07ec(0x1c3)];if(!_0x298b15)return!0x1;const {changesets:_0x221d48,view:_0x51415d,isEmpty:_0x4fe521,pivotTableConfig:_0x1a2e06}=_0x298b15,_0x14f43d=_0x1a2e06[_0x3a07ec(0x16b)],_0x304cc8=new _0x2350f2['PivotView']();_0x304cc8[_0x3a07ec(0x2d3)](_0x51415d);const _0x4e8381=_0x9e8797[_0x3a07ec(0x1d2)](_0x4d1fa4['SheetsPivotTableService']),_0x3e32e7={'cellInfo':_0x14f43d,'view':_0x304cc8,'isEmpty':_0x4fe521};if(!await _0x4e8381['asyncInterceptor'][_0x3a07ec(0x34f)](_0x2e75eb)(!0x0,_0x3e32e7))return!0x1;const _0x454105=_0x1efb63(_0x9e8797,_0x304cc8,_0x14f43d,_0x4fe521),_0x285176=_0xf3dc4b(_0x9e8797,_0x3e32e7),{undos:_0x21250c,redos:_0x250dd9}=_0x57fc0c(_0x47e072,{'pivotTableId':_0x390d0a,'unitId':_0x441489,'subUnitId':_0x1e2fc3},_0x221d48);return _0x3ec010['sequenceExecute']([..._0x454105[_0x3a07ec(0x16e)],..._0x285176[_0x3a07ec(0x16e)],..._0x250dd9],_0x47e072),_0x5d29b7[_0x3a07ec(0x2df)]({'unitID':_0x441489,'redoMutations':[..._0x454105[_0x3a07ec(0x16e)],..._0x285176['redos'],..._0x250dd9],'undoMutations':[..._0x454105['undos'],..._0x285176[_0x3a07ec(0x361)],..._0x21250c]}),!0x0;}},_0x107be1={'type':_0x3ec010['CommandType']['COMMAND'],'id':_0x501dc7(0xb5),'handler':(_0x715182,_0x4c4479)=>{const _0x523306=_0x501dc7,_0x1eb77d=_0x715182[_0x523306(0x1d2)](_0x3ec010[_0x523306(0x155)]),_0x353371=_0x715182['get'](_0x3ec010[_0x523306(0x17e)]),_0x3fc675=_0x715182[_0x523306(0x1d2)](_0x4d1fa4['SheetsPivotTableConfigModel']),_0x23637d=_0x715182[_0x523306(0x1d2)](_0x3ec010[_0x523306(0x3df)]);if(!_0x4c4479)return!0x1;const _0x1f9fda=_0x23e7ae[_0x523306(0x325)](_0x23637d);if(!_0x1f9fda)return!0x1;const {unitId:_0x46c7e9,subUnitId:_0x1abd8d,workbook:_0x182ef5}=_0x1f9fda,_0xea90fe=_0x3fc675[_0x523306(0x22d)](_0x4c4479[_0x523306(0x2c5)][_0x523306(0x316)],_0x4c4479[_0x523306(0x2c5)][_0x523306(0x130)],_0x4c4479[_0x523306(0x1a5)]);if(!_0xea90fe)return!0x1;const _0x2eabd6=_0x182ef5[_0x523306(0x23b)](_0x4c4479['targetCellInfo'][_0x523306(0x130)]);if(!_0x2eabd6)throw new Error(_0x523306(0xd9));const _0x1a20e7=_0x2eabd6[_0x523306(0x142)](),_0x3c0db3=_0x2eabd6[_0x523306(0x113)]();if(_0x4c4479['targetCellInfo'][_0x523306(0x34d)]>_0x1a20e7||_0x4c4479[_0x523306(0x16b)][_0x523306(0xea)]>_0x3c0db3)throw new Error(_0x523306(0x306));const _0x590486=[{'id':_0x4446f4['id'],'params':{'unitId':_0x46c7e9,'subUnitId':_0x4c4479[_0x523306(0x16b)][_0x523306(0x130)],'pivotTableId':_0x4c4479[_0x523306(0x1a5)],'targetCellPosition':{'row':_0x4c4479['targetCellInfo'][_0x523306(0x34d)],'col':_0x4c4479[_0x523306(0x16b)][_0x523306(0xea)]}}}],_0x21a35b=[{'id':_0x4446f4['id'],'params':{'unitId':_0x46c7e9,'subUnitId':_0x1abd8d,'pivotTableId':_0x4c4479['pivotTableId'],'targetCellPosition':{'row':_0xea90fe['targetCellInfo']['row'],'col':_0xea90fe[_0x523306(0x16b)][_0x523306(0xea)]}}}];return _0x3ec010['sequenceExecute'](_0x590486,_0x1eb77d)&&_0x353371[_0x523306(0x2df)]({'unitID':_0x46c7e9,'undoMutations':_0x21a35b,'redoMutations':_0x590486}),!0x0;}},_0x4b00df={'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x195)],'id':_0x501dc7(0x17a),async 'handler'(_0x88db7d,_0x1323c1){const _0x3429f7=_0x501dc7;if(!_0x1323c1)return!0x1;const _0x3e5345=_0x88db7d[_0x3429f7(0x1d2)](_0x3ec010[_0x3429f7(0x155)]),{pivotTableId:_0xa5191d,fieldId:_0x3dc1cd,valueFilterInfo:_0x3c8678,unitId:_0xee37de,subUnitId:_0xafeeef}=_0x1323c1,_0xc73015=_0x88db7d[_0x3429f7(0x1d2)](_0x4d1fa4[_0x3429f7(0x18b)]),_0x5a4dea=_0x88db7d[_0x3429f7(0x1d2)](_0x3ec010[_0x3429f7(0x17e)]),_0x10d0d0=(await _0xc73015[_0x3429f7(0x355)]({'unitId':_0xee37de,'subUnitId':_0xafeeef,'pivotTableId':_0xa5191d,'params':{'type':_0x299d21[_0x3429f7(0x1b7)],'setValuePivotFilter':{'tableFieldId':_0x3dc1cd,'filterInfo':_0x3c8678}}}))[_0x3429f7(0x3c9)]['setValuePivotFilter'];if(!_0x10d0d0)return!0x1;const {changesets:_0x2e4a08,pivotTableConfig:_0x1fa94d,isEmpty:_0x443523,view:_0x418200}=_0x10d0d0,_0x29a478=_0x1fa94d[_0x3429f7(0x16b)],_0x7ddeec=new _0x2350f2[(_0x3429f7(0x274))]();_0x7ddeec[_0x3429f7(0x2d3)](_0x418200);const _0x3bc914={'cellInfo':_0x29a478,'view':_0x7ddeec,'isEmpty':_0x443523};if(!await _0x88db7d[_0x3429f7(0x1d2)](_0x4d1fa4[_0x3429f7(0x240)])[_0x3429f7(0x1cb)][_0x3429f7(0x34f)](_0x2e75eb)(!0x0,_0x3bc914))return!0x1;const _0x4c0890=_0x1efb63(_0x88db7d,_0x7ddeec,_0x29a478,_0x443523),_0x178e66=_0xf3dc4b(_0x88db7d,_0x3bc914),{undos:_0x277f11,redos:_0x15440a}=_0x57fc0c(_0x3e5345,{'pivotTableId':_0xa5191d,'unitId':_0xee37de,'subUnitId':_0xafeeef},_0x2e4a08);return _0x3ec010[_0x3429f7(0x2ad)]([..._0x4c0890['redos'],..._0x178e66[_0x3429f7(0x16e)],..._0x15440a],_0x3e5345),_0x5a4dea[_0x3429f7(0x2df)]({'unitID':_0xee37de,'redoMutations':[..._0x4c0890[_0x3429f7(0x16e)],..._0x178e66['redos'],..._0x15440a],'undoMutations':[..._0x4c0890['undos'],..._0x178e66['undos'],..._0x277f11]}),!0x0;}},_0x2d855a={'type':_0x3ec010[_0x501dc7(0x337)]['COMMAND'],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x301d63,_0x3b1dc2){const _0x22f055=_0x501dc7;if(!_0x3b1dc2)return!0x1;const _0xb75438=_0x301d63[_0x22f055(0x1d2)](_0x3ec010['ICommandService']),_0x3d0a48=_0x301d63[_0x22f055(0x1d2)](_0x3ec010['IUndoRedoService']),_0x2ff1cf=_0x301d63[_0x22f055(0x1d2)](_0x4d1fa4[_0x22f055(0x18b)]),{pivotTableConfig:_0x3b338b,pivotTableId:_0x24d582,unitId:_0x3265d3,subUnitId:_0x4f21e4}=_0x3b1dc2,_0x4a3544=(await _0x2ff1cf[_0x22f055(0x355)]({'unitId':_0x3265d3,'subUnitId':_0x4f21e4,'pivotTableId':_0x24d582,'params':{'type':_0x299d21[_0x22f055(0x109)],'setPivotTableConfig':{'pivotTableId':_0x24d582,'pivotTableConfig':_0x3b338b}}}))[_0x22f055(0x3c9)]['setPivotTableConfig'];if(!_0x4a3544)return!0x1;const {changesets:_0x88eb44}=_0x4a3544,{redos:_0x20eb9b,undos:_0x57c7c4}=_0x57fc0c(_0xb75438,{'pivotTableId':_0x24d582,'unitId':_0x3265d3,'subUnitId':_0x4f21e4},_0x88eb44);return _0x3ec010[_0x22f055(0x2ad)](_0x20eb9b,_0xb75438),_0x3d0a48['pushUndoRedo']({'unitID':_0x3265d3,'redoMutations':_0x20eb9b,'undoMutations':_0x57c7c4}),!0x0;}},_0x5b9d48={'type':_0x3ec010[_0x501dc7(0x337)]['COMMAND'],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x966d71,_0x2477a9){const _0x383118=_0x501dc7;if(!_0x2477a9)return!0x1;const _0x23d410=_0x966d71[_0x383118(0x1d2)](_0x3ec010[_0x383118(0x155)]),_0x391ceb=_0x966d71[_0x383118(0x1d2)](_0x3ec010[_0x383118(0x17e)]),_0xefc562=_0x966d71['get'](_0x4d1fa4[_0x383118(0x18b)]),{resetArea:_0x538b84,pivotTableId:_0x3ba6ce,unitId:_0x2eeef3,subUnitId:_0x54df5}=_0x2477a9,_0x3f6a76=(await _0xefc562[_0x383118(0x355)]({'unitId':_0x2eeef3,'subUnitId':_0x54df5,'pivotTableId':_0x3ba6ce,'params':{'type':_0x299d21['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x3ba6ce,'resetArea':_0x538b84}}}))[_0x383118(0x3c9)][_0x383118(0x329)];if(!_0x3f6a76)return!0x1;const {changesets:_0x42a0de}=_0x3f6a76,{redos:_0x177ea4,undos:_0x36d77e}=_0x57fc0c(_0x23d410,{'pivotTableId':_0x3ba6ce,'unitId':_0x2eeef3,'subUnitId':_0x54df5},_0x42a0de);return _0x3ec010[_0x383118(0x2ad)](_0x177ea4,_0x23d410),_0x391ceb[_0x383118(0x2df)]({'unitID':_0x2eeef3,'redoMutations':_0x177ea4,'undoMutations':_0x36d77e}),!0x0;}},_0x517475={'id':_0x501dc7(0x35c),'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x3d5)],'handler':(_0x532154,_0x10a4d5)=>{const _0x171126=_0x501dc7;if(!_0x10a4d5)return!0x1;if(!!_0x532154[_0x171126(0x1d2)](_0x3ec010[_0x171126(0x2d4)])[_0x171126(0x13e)](_0x49492b))return!0x0;const {unitId:_0x5c47b5,subUnitId:_0x4bec7d,pivotTableId:_0x7316a8,tableFieldId:_0x434ae7,dateType:_0x463339}=_0x10a4d5,_0x42d8d7=_0x532154['get'](_0x4d1fa4[_0x171126(0x33a)]),_0x1bf46d=_0x42d8d7[_0x171126(0x1f8)](_0x7316a8);if(!_0x1bf46d)return!0x1;const _0x579c83=_0x1bf46d['getDataFieldByTableId'](_0x434ae7);if(!_0x579c83)return!0x1;const _0x182226=_0x579c83[_0x171126(0x124)](),_0x452a65=_0x1bf46d[_0x171126(0x182)](_0x182226),_0x4ed89e=(_0x452a65==null?void 0x0:_0x452a65['getName']())+'\x20'+_0x8fa35(_0x532154,_0x463339);_0x42d8d7[_0x171126(0x28e)](_0x5c47b5,_0x7316a8)[_0x171126(0x206)](_0x579c83['id'],_0x4ed89e);const _0x7f70d0=_0x1bf46d[_0x171126(0x11c)](_0x434ae7);if(!_0x7f70d0)return!0x1;_0x1bf46d[_0x171126(0x12f)](_0x7f70d0[_0x171126(0xd0)](),_0x4ed89e),_0x579c83[_0x171126(0x2c3)](_0x463339);const _0x5ca452=_0x42d8d7[_0x171126(0x22d)](_0x5c47b5,_0x4bec7d,_0x7316a8);return _0x42d8d7[_0x171126(0xdd)]({'unitId':_0x5c47b5,'subUnitId':_0x4bec7d,'token':_0x7316a8,'type':_0x284607['Set'],'pivotConfig':_0x5ca452}),!0x0;}},_0x96b162={'id':_0x501dc7(0x171),'type':_0x3ec010[_0x501dc7(0x337)][_0x501dc7(0x195)],'handler':(_0x40f5d6,_0x23b95a)=>{const _0x2c6e4f=_0x501dc7;if(!_0x23b95a)return!0x1;const _0xb9d38e=_0x40f5d6['get'](_0x3ec010[_0x2c6e4f(0x17e)]),{unitId:_0x2b276f,subUnitId:_0x27353c,pivotTableId:_0x34e479,tableFieldId:_0x4f0850}=_0x23b95a,_0x3309be=[],_0x37014a=[],_0x5b56b1=_0x40f5d6[_0x2c6e4f(0x1d2)](_0x4d1fa4[_0x2c6e4f(0x1fb)]),_0x36c6fd=_0x5b56b1['getCollection'](_0x2b276f,_0x34e479),_0x5c961b=_0x5b56b1[_0x2c6e4f(0x22d)](_0x2b276f,_0x27353c,_0x34e479);if(!(_0x5c961b!=null&&_0x5c961b[_0x2c6e4f(0xd4)][_0x2c6e4f(0x21f)]))return!0x1;const _0x5dd4b2=Object[_0x2c6e4f(0x27e)](_0x5c961b['fieldsConfig']['dimension'])['find'](_0xace56f=>_0xace56f['id']===_0x4f0850);if(!_0x5dd4b2)return!0x1;const _0x477863=_0x5dd4b2[_0x2c6e4f(0x2b0)];if(!(_0x36c6fd!=null&&_0x36c6fd['fields']))return!0x1;const _0x392a56=Object[_0x2c6e4f(0x27e)](_0x36c6fd==null?void 0x0:_0x36c6fd['fields'])[_0x2c6e4f(0x20f)](_0x175d27=>_0x175d27['id']===_0x477863);if(!_0x392a56)return!0x1;_0x2350f2[_0x2c6e4f(0x2c9)](_0x392a56)&&_0x3309be[_0x2c6e4f(0x37a)]({'id':_0x517475['id'],'params':{..._0x23b95a,'dateType':_0x392a56[_0x2c6e4f(0x2dc)]}}),_0x37014a[_0x2c6e4f(0x37a)]({'id':_0x517475['id'],'params':{..._0x23b95a}});const _0x4cdf29=_0x40f5d6['get'](_0x3ec010['ICommandService']);return _0x3ec010[_0x2c6e4f(0x2ad)](_0x37014a,_0x4cdf29)&&_0xb9d38e[_0x2c6e4f(0x2df)]({'unitID':_0x2b276f,'undoMutations':_0x3309be,'redoMutations':_0x37014a}),!0x0;}};var _0x5e7aaa=Object['getOwnPropertyDescriptor'],_0x52862c=(_0x1b91f8,_0x482388,_0x33b4ba,_0x712276)=>{const _0x5b8e0a=_0x501dc7;for(var _0x4015ff=_0x712276>0x1?void 0x0:_0x712276?_0x5e7aaa(_0x482388,_0x33b4ba):_0x482388,_0x2ba6a2=_0x1b91f8[_0x5b8e0a(0x3a5)]-0x1,_0x1490e4;_0x2ba6a2>=0x0;_0x2ba6a2--)(_0x1490e4=_0x1b91f8[_0x2ba6a2])&&(_0x4015ff=_0x1490e4(_0x4015ff)||_0x4015ff);return _0x4015ff;},_0x6d76c=(_0x150cc9,_0x52ce01)=>(_0x68e626,_0x1094f4)=>_0x52ce01(_0x68e626,_0x1094f4,_0x150cc9);const _0x4c133d=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x42e58=(_0x20d7a1,_0x1710ee,_0x4f633a)=>{const _0x767ce9=_0x501dc7,_0x59a5af=_0x20d7a1[_0x767ce9(0x22e)];_0x20d7a1[_0x767ce9(0x1b1)](_0x548e39=>{const _0x54d8ec=_0x767ce9,_0x31afde=_0x548e39['getId'](),_0x2a21f1=_0x548e39[_0x54d8ec(0x3a6)](),_0x2fa4c6=_0x548e39[_0x54d8ec(0x24f)](),_0x4bb428=_0x548e39['getDisplayName']();_0x1710ee[_0x2a21f1]&&_0x1710ee[_0x2a21f1]===_0x4bb428&&_0x2fa4c6===_0x4bb428&&(_0x20d7a1[_0x54d8ec(0x12f)](_0x31afde,_0x59a5af['getDisplayName'](_0x2a21f1)),_0x548e39['setSourceName'](_0x59a5af[_0x54d8ec(0x369)](_0x2a21f1)));}),_0x20d7a1[_0x767ce9(0x336)](_0x2350f2[_0x767ce9(0x297)][_0x767ce9(0x2aa)],_0xe5e157=>{const _0x2b3f30=_0x767ce9,_0x56580c=_0xe5e157['getId'](),_0x8f211=_0xe5e157[_0x2b3f30(0x3a6)](),_0x5081bb=_0xe5e157['getSourceName'](),_0x58e252=_0xe5e157[_0x2b3f30(0x369)](),_0x2c6a8d=_0xe5e157[_0x2b3f30(0xd7)](),_0x2d7b75=_0x4f633a(_0x5081bb,_0x2c6a8d);_0x1710ee[_0x8f211]&&_0x1710ee[_0x8f211]===_0x5081bb&&_0x2d7b75===_0x58e252&&(_0x20d7a1[_0x2b3f30(0x12f)](_0x56580c,_0x4f633a(_0x59a5af[_0x2b3f30(0x369)](_0x8f211),_0x2c6a8d)),_0xe5e157[_0x2b3f30(0x3b8)](_0x59a5af[_0x2b3f30(0x369)](_0x8f211)));});},_0xd3497c=(_0x5137a8,_0x392f88,_0x1bbc54)=>{const _0x5b5f30=_0x501dc7;var _0x3ab328,_0x31c357;const {arrayFormulaCellData:_0x30d6a1,unitData:_0x4ff1f2}=_0x392f88,{unitId:_0x93507a,subUnitId:_0x35b5d1}=_0x1bbc54,_0x3883ed=_0x1bbc54[_0x5b5f30(0x1a6)],{startColumn:_0x3d300c,endColumn:_0x38bf7a}=_0x3883ed,_0x44c48d=(_0x3ab328=_0x30d6a1==null?void 0x0:_0x30d6a1[_0x93507a])==null?void 0x0:_0x3ab328[_0x35b5d1],_0x41d104=(_0x31c357=_0x4ff1f2==null?void 0x0:_0x4ff1f2[_0x93507a])==null?void 0x0:_0x31c357[_0x35b5d1],_0x3e6ac9=new Set(),_0x55302e=_0x38bf7a-_0x3d300c+0x1,{dirtyRanges:_0x20f172}=_0x5137a8;if(_0x20f172)for(const {range:_0x31f18e,sheetId:_0x21cedd,unitId:_0x2b7e01}of _0x20f172){if(_0x21cedd!==_0x35b5d1||_0x93507a!==_0x2b7e01)continue;const _0x29f320=_0x3ec010['Rectangle']['getIntersects'](_0x31f18e,_0x3883ed);if(_0x29f320){const {startColumn:_0x3c347c,endColumn:_0x28e41d}=_0x29f320;for(let _0x113eca=_0x3c347c;_0x113eca<=_0x28e41d;_0x113eca++)_0x3e6ac9[_0x5b5f30(0x261)](_0x113eca);}}if(_0x3e6ac9[_0x5b5f30(0x161)]===_0x55302e||_0x3e6ac9[_0x5b5f30(0x161)]===_0x55302e)return Array[_0x5b5f30(0x154)](_0x3e6ac9);if(_0x41d104){const _0xe23521=_0x41d104[_0x5b5f30(0x343)](),_0x5eea57=Object['keys'](_0xe23521);for(const _0x1864ac of _0x5eea57){const _0x113554=Number(_0x1864ac),_0xb9a148=_0xe23521[_0x113554];if(_0x3e6ac9[_0x5b5f30(0x161)]===_0x55302e)break;for(const _0x3ba6c1 in _0xb9a148){const _0x1206a4=Number(_0x3ba6c1);_0x1206a4<_0x3d300c||_0x1206a4>_0x38bf7a||_0x3e6ac9[_0x5b5f30(0x261)](_0x1206a4);}}}if(_0x44c48d){const _0x22a1be=_0x44c48d[_0x5b5f30(0x343)](),_0x5df768=Object[_0x5b5f30(0x396)](_0x22a1be);for(const _0x5d09dc of _0x5df768){const _0x2305e4=Number(_0x5d09dc),_0x2a1f31=_0x22a1be[_0x2305e4];if(_0x3e6ac9[_0x5b5f30(0x161)]===_0x55302e)break;for(const _0x2699ef in _0x2a1f31){const _0x415d5a=Number(_0x2699ef);_0x415d5a<_0x3d300c||_0x415d5a>_0x38bf7a||_0x3e6ac9[_0x5b5f30(0x261)](_0x415d5a);}}}return Array[_0x5b5f30(0x154)](_0x3e6ac9);},_0x512f78=_0x1691e1=>{const _0x5cd097=_0x501dc7,_0x25b401=new Set(),_0x1d9248=[];for(const _0x2e7b3c of _0x1691e1){const _0x24d8b8=_0x2e7b3c[_0x5cd097(0x24a)]+','+_0x2e7b3c[_0x5cd097(0x3c0)]+','+_0x2e7b3c[_0x5cd097(0xe0)]+','+_0x2e7b3c[_0x5cd097(0x339)];_0x25b401[_0x5cd097(0x284)](_0x24d8b8)||(_0x25b401[_0x5cd097(0x261)](_0x24d8b8),_0x1d9248['push'](_0x2e7b3c));}return _0x1d9248;};let _0x7e8a2a=class extends _0x3ec010[_0x501dc7(0x17f)]{constructor(_0x4279aa,_0x2f1da4,_0x4e3904,_0x49ed24,_0x439614,_0x51cb3b){const _0x2b3bd7=_0x501dc7;super(),_0x69c9df(this,_0x2b3bd7(0x358),new _0x12c2f2[(_0x2b3bd7(0x2d1))](!0x0)),_0x69c9df(this,_0x2b3bd7(0x2a0),_0x3e7370=>{const _0x57d727=_0x2b3bd7;this[_0x57d727(0x358)]['next'](!0x1);}),_0x69c9df(this,'_globalComputedEndHelpFunc',_0x22a8bc=>{const _0x3eebb3=_0x2b3bd7;this['_globalSubject'][_0x3eebb3(0x333)](!0x0);}),(this[_0x2b3bd7(0x1da)]=_0x4279aa,this['_configService']=_0x2f1da4,this[_0x2b3bd7(0x321)]=_0x4e3904,this[_0x2b3bd7(0x2bf)]=_0x49ed24,this[_0x2b3bd7(0x1d7)]=_0x439614,this[_0x2b3bd7(0x371)]=_0x51cb3b,this[_0x2b3bd7(0x384)](),this[_0x2b3bd7(0x1c2)]());}[_0x501dc7(0x384)](){const _0x58e11c=_0x501dc7;this[_0x58e11c(0x33d)](),this[_0x58e11c(0x15f)](),this[_0x58e11c(0x312)](),this[_0x58e11c(0x3c2)]();}[_0x501dc7(0xdb)](){const _0x54a1ba=_0x501dc7;this[_0x54a1ba(0x1d7)][_0x54a1ba(0x2c0)](this['_globalSubject']),_0x2350f2[_0x54a1ba(0xcc)][_0x54a1ba(0x1cd)](_0x2350f2[_0x54a1ba(0x114)]['onQueryStart'],this['_globalComputedStartHelpFunc']),_0x2350f2['PivotTable'][_0x54a1ba(0x1cd)](_0x2350f2[_0x54a1ba(0x114)][_0x54a1ba(0xde)],this[_0x54a1ba(0x1f7)]);}[_0x501dc7(0x1c2)](){const _0x154f62=_0x501dc7;this[_0x154f62(0xbf)](this[_0x154f62(0x2bf)][_0x154f62(0x10f)](_0x3fcbb6=>{const _0x14b1d9=_0x154f62;_0x3fcbb6['id']===_0x23e7ae['MoveRangeMutation']['id']&&this[_0x14b1d9(0x1da)][_0x14b1d9(0x2e9)](_0x3fcbb6['params']);})),this['disposeWithMe'](this[_0x154f62(0x2bf)]['onCommandExecuted'](_0x2f1ea2=>{const _0x31933a=_0x154f62;if(_0x2f1ea2['id']!==_0xdd19b1['id'])return;const _0x2b5519=_0x2f1ea2['params'],{unitId:_0x56c2a4,subUnitId:_0x90b2a5,pivotTableId:_0x36bcca}=_0x2b5519,_0x5e1bf1=_0x2b5519[_0x31933a(0x2ff)][_0x31933a(0x286)],_0x113705={};switch(_0x5e1bf1){case _0x299d21['Filter']:{const _0x441d6a=_0x2b5519[_0x31933a(0x2ff)]['filter'];if(!_0x441d6a)return;const {row:_0xfb0722,col:_0x34f181,cellData:_0x2236b7,pivotItemRenderInfoCache:_0x466ac2,tableFieldId:_0x4a7d6d}=_0x441d6a,_0xa0a169=this[_0x31933a(0x1da)][_0x31933a(0x1f8)](_0x2b5519[_0x31933a(0x1a5)]);if(!_0xa0a169||!_0x466ac2)return;if(_0x4a7d6d){const _0x5382bf=_0xa0a169[_0x31933a(0x3ca)](_0x4a7d6d);if(!_0x5382bf)return;_0x113705[_0x31933a(0x375)]={..._0xa0a169[_0x31933a(0xf2)](_0x5382bf),'tableFieldId':_0x4a7d6d,'pivotTableId':_0x2b5519[_0x31933a(0x1a5)],'filterInfo':_0xa0a169[_0x31933a(0x354)](_0x4a7d6d),'sortInfo':_0xa0a169['getSortInfo'](_0x4a7d6d),'format':_0xa0a169[_0x31933a(0x398)](_0x4a7d6d)};}else{const _0x1e1025=_0x2f6cf5(_0xfb0722,_0x34f181,_0x2236b7,_0xa0a169,_0x466ac2),_0x5eadea=_0x1e1025==null?void 0x0:_0x1e1025[_0x31933a(0x3aa)];if(!_0x5eadea)return;const _0x41fb8b=_0xa0a169['getDataFieldByTableId'](_0x5eadea);if(!_0x41fb8b)return;_0x113705[_0x31933a(0x375)]={..._0xa0a169[_0x31933a(0xf2)](_0x41fb8b),'tableFieldId':_0x5eadea,'pivotTableId':_0x2b5519[_0x31933a(0x1a5)],'filterInfo':_0xa0a169[_0x31933a(0x354)](_0x5eadea),'sortInfo':_0xa0a169[_0x31933a(0x2bb)](_0x5eadea),'format':_0xa0a169[_0x31933a(0x398)](_0x5eadea)};}}break;case _0x299d21[_0x31933a(0x20e)]:{const _0x4f7944=_0x2b5519[_0x31933a(0x2ff)][_0x31933a(0x163)];if(!_0x4f7944)return;const {pivotTableId:_0x5d6eef}=_0x4f7944,_0x2bd615=this[_0x31933a(0x1da)]['getPivotTableInstance'](_0x5d6eef);if(!_0x2bd615)return;const _0x26d450=this['_sheetsPivotDataSourceModel'][_0x31933a(0x22d)](_0x56c2a4,_0x90b2a5,_0x5d6eef),_0x5ec2ca=_0x192c67(_0x2bd615,_0x5d6eef,_0x26d450);_0x113705[_0x31933a(0x163)]=_0x5ec2ca;}break;case _0x299d21[_0x31933a(0x1d3)]:{const _0x3885c0=this[_0x31933a(0x1da)][_0x31933a(0x1f8)](_0x36bcca),_0x29b7c6=this[_0x31933a(0x1da)]['getDataFieldManager'](_0x56c2a4),_0x2ee01a=_0x29b7c6[_0x31933a(0x28e)](_0x36bcca);let _0x1e7ebd=null;const _0x41a211=this[_0x31933a(0x1da)]['getPivotTableConfig'](_0x56c2a4,_0x90b2a5,_0x36bcca),_0x239d07=_0x2b5519[_0x31933a(0x2ff)]['addPivotField'];if(!_0x3885c0||!_0x41a211||!_0x239d07)return!0x1;const {dataFieldId:_0x17e3b8,fieldArea:_0x353887,index:_0x43c9ab}=_0x239d07;_0x3885c0[_0x31933a(0xcb)]();const _0x46b388=_0x3885c0[_0x31933a(0x2e0)](_0x17e3b8,_0x353887,_0x43c9ab);if(_0x46b388&&_0x353887===_0x2350f2[_0x31933a(0x297)]['Value']){const _0x1faa33=_0x46b388[_0x31933a(0xd0)](),_0x29f08e=_0x3885c0['getDataFieldByTableId'](_0x1faa33);if(_0x29f08e){const _0xeec209=_0x29f08e==null?void 0x0:_0x29f08e['getFieldDataType']();_0x3885c0[_0x31933a(0x216)](_0x46b388[_0x31933a(0xd0)](),_0xeec209===_0x2350f2['PivotDataFieldDataTypeEnum']['number']?_0x2350f2[_0x31933a(0x1bd)][_0x31933a(0x383)]:_0x2350f2[_0x31933a(0x1bd)][_0x31933a(0x2e3)]);}const _0x32c315=_0x3885c0['getValueIndex'](),_0x2fbb95=_0x3885c0[_0x31933a(0x13c)](),_0x559f7d=_0x3885c0['getFieldCountByArea'](_0x2350f2[_0x31933a(0x297)][_0x31933a(0x2aa)]);if(_0x32c315===-0x1&&_0x559f7d>0x1){const _0x240ad1=_0x2fbb95===_0x2350f2['PivotTableValuePositionEnum'][_0x31933a(0x365)]?_0x2350f2['PivotTableValuePositionEnum'][_0x31933a(0x301)]:_0x2fbb95,_0x1679d9=_0x240ad1===_0x2350f2[_0x31933a(0x35e)]['Row']?_0x2350f2[_0x31933a(0x297)]['Row']:_0x2350f2[_0x31933a(0x297)][_0x31933a(0x301)];_0x3885c0[_0x31933a(0x1c3)](_0x240ad1,_0x3885c0['getFieldCountByArea'](_0x1679d9));}}else{if(_0x46b388&&(_0x353887===_0x2350f2[_0x31933a(0x297)][_0x31933a(0xbb)]||_0x353887===_0x2350f2[_0x31933a(0x297)][_0x31933a(0x301)])){const _0x4a020d=_0x46b388[_0x31933a(0xd0)](),_0x90b5ec=_0x3885c0['getDataFieldByTableId'](_0x4a020d);if(_0x90b5ec&&(_0x90b5ec==null?void 0x0:_0x90b5ec['getFieldDataType']())===_0x2350f2[_0x31933a(0xd2)]['date']){const _0x5b0809=_0x90b5ec['getformat']();if(_0x5b0809&&_0x3885c0['setFieldFormat'](_0x46b388['getId'](),_0x5b0809),!_0x2ee01a[_0x31933a(0x12a)]()[_0x31933a(0xc0)](_0x48baa0=>{const _0x41a96f=_0x31933a,_0x39fa03=_0x2ee01a[_0x41a96f(0x313)](_0x48baa0);return _0x2350f2[_0x41a96f(0x157)](_0x39fa03)?_0x39fa03[_0x41a96f(0x36f)]()[_0x41a96f(0xff)]===_0x17e3b8:!0x1;})){const _0x1aeee4=_0x29b7c6[_0x31933a(0x207)](),_0x5cb3a1=_0x22117e(_0x90b5ec[_0x31933a(0x18e)],_0x90b5ec[_0x31933a(0x3dc)]),_0x3df68c=_0x90b5ec[_0x31933a(0x172)]()+_0x31933a(0xe2)+_0x8fa35(this[_0x31933a(0x371)],_0x5cb3a1),_0x547659=new _0x2350f2[(_0x31933a(0x191))](_0x1aeee4,_0x3df68c,_0x2350f2[_0x31933a(0xbe)](0x3),_0x90b5ec[_0x31933a(0xd0)](),_0x5cb3a1);_0x29b7c6[_0x31933a(0x133)](_0x547659),_0x2ee01a[_0x31933a(0x192)](_0x1aeee4,_0x3df68c),_0x3885c0[_0x31933a(0x2e0)](_0x1aeee4,_0x353887,(_0x43c9ab!=null?_0x43c9ab:0x0)+0x1),_0x1e7ebd=_0x547659;}}}}const _0x38cd40=_0x3885c0[_0x31933a(0x103)](),_0x15068a=_0x3885c0['query']()[_0x31933a(0x2ea)]();let _0x340e44;if(_0x1e7ebd){_0x340e44=_0x1e7ebd[_0x31933a(0x2ea)]();const _0x4509ba=_0x1e7ebd[_0x31933a(0xd0)]();_0x2ee01a[_0x31933a(0x394)](_0x4509ba);let _0x4b1afd=!0x0;for(const _0x5bb54b in _0x29b7c6[_0x31933a(0x132)])if(_0x29b7c6[_0x31933a(0x132)][_0x5bb54b][_0x31933a(0x12a)]()[_0x31933a(0x148)](_0x4509ba)){_0x4b1afd=!0x1;break;}_0x4b1afd&&_0x29b7c6[_0x31933a(0x272)](_0x4509ba);}const _0xfa31e4=_0x3885c0[_0x31933a(0xe4)]();_0x113705[_0x31933a(0x2f5)]={'view':_0x15068a,'changesets':_0xfa31e4,'isEmpty':_0x38cd40,'pivotTableConfig':_0x41a211,'shouldBeAddedGroupJSON':_0x340e44};}break;case _0x299d21[_0x31933a(0x260)]:{const _0x47f6ab=_0x2b5519[_0x31933a(0x2ff)][_0x31933a(0x296)];if(!_0x47f6ab)return;const _0x5a7aaf=_0x47f6ab[_0x31933a(0x188)],_0x119d41=_0x47f6ab[_0x31933a(0x1a5)],{collection:_0x4b49fd}=this[_0x31933a(0x1da)][_0x31933a(0x2d6)]({'unitId':_0x5a7aaf[_0x31933a(0x316)],'sheetName':_0x5a7aaf['sheetName'],'subUnitId':_0x5a7aaf[_0x31933a(0x130)],'range':_0x5a7aaf[_0x31933a(0x1a6)]}),_0x5c6339=new _0x2350f2['PivotTable'](_0x4b49fd,void 0x0,_0x119d41),_0x384d85=_0x5c6339[_0x31933a(0x3b4)](),_0x2aaf6a=_0x5c6339['toJSON'](),_0x591b1b=_0x4b49fd[_0x31933a(0x2ea)]();_0x113705[_0x31933a(0x296)]={'view':_0x384d85,'fieldsConfig':_0x2aaf6a,'collectionConfig':_0x591b1b,'isEmpty':_0x5c6339[_0x31933a(0x103)]()};}break;case _0x299d21[_0x31933a(0x19c)]:{const _0x5548c4=_0x2b5519[_0x31933a(0x2ff)]['movePivotField'];if(!_0x5548c4)return;const {fieldId:_0x337659,area:_0x54bd3b,index:_0x4cbed1}=_0x5548c4,_0x161f36=this[_0x31933a(0x1da)]['getPivotTableConfig'](_0x56c2a4,_0x90b2a5,_0x36bcca);if(!_0x161f36)return;const _0x2d062b=this[_0x31933a(0x1da)]['getPivotTableInstance'](_0x36bcca);if(!_0x2d062b)return;_0x2d062b['startCollectChangeset']();const {area:_0xd7036b,index:_0x548eb7}=_0x2d062b['getFieldPositionInfoById'](_0x337659);if(_0x2d062b[_0x31933a(0x24c)](_0x337659,_0x54bd3b,_0x4cbed1),_0x54bd3b===_0x2350f2['PivotTableFiledAreaEnum'][_0x31933a(0x2aa)]&&_0x2d062b['getTableFieldById'](_0x337659)[_0x31933a(0xd7)]()===void 0x0){const _0x176f1a=_0x2d062b[_0x31933a(0x11c)](_0x337659);if(_0x176f1a&&_0x176f1a[_0x31933a(0xd7)]()===void 0x0){const _0x278a9c=_0x2d062b[_0x31933a(0x3ca)](_0x337659);if(_0x278a9c){const _0x4c9778=_0x278a9c==null?void 0x0:_0x278a9c[_0x31933a(0x2b4)]();_0x2d062b[_0x31933a(0x216)](_0x337659,_0x4c9778===_0x2350f2[_0x31933a(0xd2)]['number']?_0x2350f2[_0x31933a(0x1bd)][_0x31933a(0x383)]:_0x2350f2['PivotSubtotalTypeEnum'][_0x31933a(0x2e3)]);}}}const _0x4f9024=_0x2d062b[_0x31933a(0x13c)](),_0x3f9791=_0x2d062b[_0x31933a(0x1de)](),_0x2484aa=_0x2d062b[_0x31933a(0x1ff)](_0x2350f2[_0x31933a(0x297)][_0x31933a(0x2aa)])>0x1;if(_0x2484aa&&_0xd7036b===_0x54bd3b&&(_0x54bd3b===_0x2350f2[_0x31933a(0x297)][_0x31933a(0xbb)]&&_0x4f9024===_0x2350f2['PivotTableValuePositionEnum'][_0x31933a(0xbb)]||_0x54bd3b===_0x2350f2['PivotTableFiledAreaEnum']['Column']&&_0x4f9024===_0x2350f2[_0x31933a(0x35e)][_0x31933a(0x301)])){let _0x4dffb4=_0x3f9791;_0x548eb7<=_0x3f9791&&_0x4dffb4--,_0x4cbed1<=_0x3f9791&&_0x4dffb4++,_0x2d062b[_0x31933a(0x1c3)](_0x4f9024,_0x4dffb4);}else _0x2484aa&&(_0xd7036b===_0x2350f2['PivotTableFiledAreaEnum'][_0x31933a(0xbb)]&&_0x4f9024===_0x2350f2[_0x31933a(0x35e)][_0x31933a(0xbb)]||_0xd7036b===_0x2350f2[_0x31933a(0x297)][_0x31933a(0x301)]&&_0x4f9024===_0x2350f2[_0x31933a(0x35e)][_0x31933a(0x301)])&&_0x3f9791>=_0x548eb7&&_0x2d062b[_0x31933a(0x1c3)](_0x4f9024,_0x3f9791-0x1),_0x2484aa&&(_0x54bd3b===_0x2350f2[_0x31933a(0x297)][_0x31933a(0xbb)]&&_0x4f9024===_0x2350f2[_0x31933a(0x35e)][_0x31933a(0xbb)]||_0x54bd3b===_0x2350f2[_0x31933a(0x297)][_0x31933a(0x301)]&&_0x4f9024===_0x2350f2[_0x31933a(0x35e)][_0x31933a(0x301)])&&_0x3f9791>=_0x4cbed1&&_0x2d062b[_0x31933a(0x1c3)](_0x4f9024,_0x3f9791+0x1);const _0x4f9643=_0x2d062b[_0x31933a(0x3b4)](),_0x5ec9a8=_0x2d062b[_0x31933a(0x103)](),_0x58a836=_0x2d062b[_0x31933a(0xe4)]();_0x113705[_0x31933a(0x1cc)]={'view':_0x4f9643[_0x31933a(0x2ea)](),'changesets':_0x58a836,'isEmpty':_0x5ec9a8,'pivotTableConfig':_0x161f36};}break;case _0x299d21[_0x31933a(0x2fc)]:{const _0x48b49f=_0x2b5519[_0x31933a(0x2ff)]['removePivotField'];if(!_0x48b49f)return;const _0x387221=_0x48b49f['fieldIds'],_0x4ed1be=this[_0x31933a(0x1da)]['getPivotTableConfig'](_0x56c2a4,_0x90b2a5,_0x36bcca);if(!_0x4ed1be)return!0x1;const _0x208d2e=this[_0x31933a(0x1da)][_0x31933a(0x1f8)](_0x36bcca);if(!_0x208d2e)return!0x1;_0x208d2e['startCollectChangeset']();for(const _0x1645d5 of _0x387221){const {area:_0x37b008}=_0x208d2e[_0x31933a(0x211)](_0x1645d5);_0x37b008===_0x2350f2[_0x31933a(0x297)]['Value']&&_0x208d2e[_0x31933a(0x26e)](_0x1645d5),(_0x37b008===_0x2350f2[_0x31933a(0x297)][_0x31933a(0xbb)]||_0x37b008===_0x2350f2[_0x31933a(0x297)][_0x31933a(0x301)])&&_0x208d2e[_0x31933a(0x25c)](_0x1645d5),_0x208d2e[_0x31933a(0x1ef)](_0x1645d5);}const _0x4d2490=_0x208d2e[_0x31933a(0x103)](),_0x51b2b6=_0x208d2e['query']()[_0x31933a(0x2ea)](),_0x324fb7=_0x208d2e[_0x31933a(0xe4)]();_0x113705['removePivotField']={'changesets':_0x324fb7,'pivotTableConfig':_0x4ed1be,'isEmpty':_0x4d2490,'view':_0x51b2b6};}break;case _0x299d21[_0x31933a(0x122)]:{const _0x511879=_0x2b5519[_0x31933a(0x2ff)][_0x31933a(0x31b)];if(!_0x511879)return;const {tableFieldId:_0x439722,items:_0x1a2ea2,isAll:_0xa9e76a}=_0x511879,_0x254c88=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x36bcca),_0x216ea5=this[_0x31933a(0x1da)]['getPivotTableConfig'](_0x56c2a4,_0x90b2a5,_0x36bcca);if(!_0x254c88||!_0x216ea5)return;_0x254c88[_0x31933a(0xcb)](),_0x254c88[_0x31933a(0x12b)](_0x439722,{'type':_0x2350f2[_0x31933a(0x24b)]['ManualFilter'],'list':_0x1a2ea2,'isAll':_0xa9e76a});const _0x3eabc7=_0x254c88[_0x31933a(0x103)](),_0x51a33e=_0x254c88[_0x31933a(0x3b4)]()[_0x31933a(0x2ea)](),_0xf52476=_0x254c88['endCollectChangeset']();_0x113705[_0x31933a(0x31b)]={'view':_0x51a33e,'changesets':_0xf52476,'isEmpty':_0x3eabc7,'pivotTableConfig':_0x216ea5};}break;case _0x299d21['SetValuePivotFilter']:{const _0x714134=_0x2b5519[_0x31933a(0x2ff)][_0x31933a(0xb4)];if(!_0x714134)return;const {tableFieldId:_0x582e2e,filterInfo:_0x4ff331}=_0x714134,_0x2b52cb=this[_0x31933a(0x1da)][_0x31933a(0x1f8)](_0x36bcca),_0x4fc65f=this['_sheetsPivotDataSourceModel'][_0x31933a(0x22d)](_0x56c2a4,_0x90b2a5,_0x36bcca);if(!_0x2b52cb||!_0x4fc65f)return;_0x2b52cb[_0x31933a(0xcb)](),_0x2b52cb[_0x31933a(0x11a)](_0x582e2e,_0x4ff331);const _0x4d3328=_0x2b52cb[_0x31933a(0x103)](),_0x558b1b=_0x2b52cb[_0x31933a(0x3b4)]()[_0x31933a(0x2ea)](),_0x21e685=_0x2b52cb[_0x31933a(0xe4)]();_0x113705['setValuePivotFilter']={'view':_0x558b1b,'changesets':_0x21e685,'isEmpty':_0x4d3328,'pivotTableConfig':_0x4fc65f};}break;case _0x299d21[_0x31933a(0x236)]:{const _0x3750b2=_0x2b5519[_0x31933a(0x2ff)][_0x31933a(0xb2)];if(!_0x3750b2)return;const {tableFieldId:_0x31deda,info:_0x16c729}=_0x3750b2,_0x3bac13=this[_0x31933a(0x1da)][_0x31933a(0x1f8)](_0x36bcca),_0x2cb11e=this['_sheetsPivotDataSourceModel'][_0x31933a(0x22d)](_0x56c2a4,_0x90b2a5,_0x36bcca);if(!_0x3bac13||!_0x2cb11e)return;_0x3bac13[_0x31933a(0xcb)](),_0x3bac13[_0x31933a(0x2a3)](_0x31deda,_0x16c729);const _0x121991=_0x3bac13['isEmpty'](),_0x55a53e=_0x3bac13[_0x31933a(0x3b4)]()['toJSON'](),_0x5bfee3=_0x3bac13['endCollectChangeset']();_0x113705[_0x31933a(0xb2)]={'view':_0x55a53e,'changesets':_0x5bfee3,'isEmpty':_0x121991,'pivotTableConfig':_0x2cb11e};}break;case _0x299d21[_0x31933a(0x28c)]:{const _0x52536c=_0x2b5519['params'][_0x31933a(0x287)];if(!_0x52536c)return;const {tableFieldId:_0x2a808c,displayName:_0xf9864e,subtotalType:_0x558324,format:_0x2601e5}=_0x52536c,_0x5165a5=this[_0x31933a(0x1da)][_0x31933a(0x1f8)](_0x36bcca),_0x1e9d69=this[_0x31933a(0x1da)][_0x31933a(0x22d)](_0x56c2a4,_0x90b2a5,_0x36bcca);if(!_0x5165a5||!_0x1e9d69)return;_0x5165a5['startCollectChangeset'](),_0xf9864e!==void 0x0&&_0x5165a5[_0x31933a(0x12f)](_0x2a808c,_0xf9864e),_0x558324!==void 0x0&&_0x5165a5[_0x31933a(0x216)](_0x2a808c,_0x558324),_0x2601e5!==void 0x0&&_0x5165a5[_0x31933a(0x334)](_0x2a808c,_0x2601e5);const _0x699132=_0x5165a5[_0x31933a(0x103)](),_0x5e5f7d=_0x5165a5[_0x31933a(0x3b4)]()[_0x31933a(0x2ea)](),_0x39c322=_0x5165a5['endCollectChangeset']();_0x113705[_0x31933a(0x287)]={'changesets':_0x39c322,'pivotTableConfig':_0x1e9d69,'isEmpty':_0x699132,'view':_0x5e5f7d};}break;case _0x299d21[_0x31933a(0xfd)]:{const _0x4c6c0f=_0x2b5519[_0x31933a(0x2ff)][_0x31933a(0x397)];if(!_0x4c6c0f)return;const {dataRangeInfo:_0x44a780,unitId:_0x1c9680,subUnitId:_0x431f99}=_0x4c6c0f,_0x1d2193=this[_0x31933a(0x1da)][_0x31933a(0x22d)](_0x1c9680,_0x431f99,_0x36bcca),_0x27c11d=this['_sheetsPivotDataSourceModel'][_0x31933a(0x1f8)](_0x36bcca);if(!this[_0x31933a(0x1da)][_0x31933a(0x28e)](_0x1c9680,_0x36bcca)||!_0x27c11d||!_0x1d2193)return;const _0x4ba5dd=this['_sheetsPivotDataSourceModel'][_0x31933a(0xd1)](_0x1c9680,_0x36bcca,_0x44a780),_0x132369=this['_sheetsPivotDataSourceModel'][_0x31933a(0x28e)](_0x1c9680,_0x36bcca)[_0x31933a(0x2ea)](),{collection:_0x39318c}=this[_0x31933a(0x1da)][_0x31933a(0x2d6)]({'unitId':_0x44a780[_0x31933a(0x316)],'sheetName':_0x44a780['sheetName'],'subUnitId':_0x44a780[_0x31933a(0x130)],'range':_0x44a780[_0x31933a(0x1a6)]}),_0x542e08=_0x39318c[_0x31933a(0x2ea)]();_0x27c11d['startCollectChangeset']();const _0x51fb04=this[_0x31933a(0x1da)][_0x31933a(0x32b)](_0x1c9680)[_0x31933a(0x196)]()||_0x2350f2[_0x31933a(0x197)];_0x27c11d[_0x31933a(0x1e1)](_0x23bc4b=>{const _0x30a0e4=_0x31933a,_0x27d478=_0x23bc4b['getDataFieldId']();if(!_0x39318c[_0x30a0e4(0xbc)](_0x27d478)){const _0x40d5c6=_0x39318c[_0x30a0e4(0x241)](_0x23bc4b[_0x30a0e4(0x24f)]());if(_0x40d5c6){_0x27c11d['updateFieldSourceInfo'](_0x23bc4b[_0x30a0e4(0xd0)](),_0x40d5c6[_0x30a0e4(0x172)](),_0x40d5c6[_0x30a0e4(0xd0)]());const {area:_0x32c0d9}=_0x27c11d[_0x30a0e4(0x211)](_0x23bc4b[_0x30a0e4(0xd0)]());let _0x112ec0=_0x23bc4b[_0x30a0e4(0x24f)]();const _0x20f8d7=_0x23bc4b[_0x30a0e4(0x369)]();if(_0x32c0d9===_0x2350f2['PivotTableFiledAreaEnum'][_0x30a0e4(0x2aa)]){const _0x196a7e=_0x23bc4b[_0x30a0e4(0xd7)]();_0x112ec0=_0x51fb04(_0x40d5c6[_0x30a0e4(0x172)](),_0x196a7e);}_0x20f8d7!==_0x112ec0&&_0x27c11d[_0x30a0e4(0x12f)](_0x23bc4b[_0x30a0e4(0xd0)](),_0x112ec0);}else _0x27c11d[_0x30a0e4(0x1ef)](_0x23bc4b[_0x30a0e4(0xd0)]());}});const _0x2b47d5=_0x27c11d[_0x31933a(0x103)](),_0x4e96f1=_0x27c11d[_0x31933a(0x3b4)]()[_0x31933a(0x2ea)](),_0x397c7a=_0x27c11d['endCollectChangeset']();_0x113705['updatePivotSource']={'view':_0x4e96f1,'changesets':_0x397c7a,'isEmpty':_0x2b47d5,'pivotTableConfig':_0x1d2193,'collectionConfig':_0x542e08,'oldCollectionConfig':_0x132369,'deleteIds':_0x4ba5dd};}break;case _0x299d21[_0x31933a(0x360)]:{const _0x1f988d=_0x2b5519[_0x31933a(0x2ff)]['updateValuePosition'];if(!_0x1f988d)return;const {position:_0x3d60a6,index:_0x55af54}=_0x1f988d,_0x3bda05=this[_0x31933a(0x1da)][_0x31933a(0x22d)](_0x56c2a4,_0x90b2a5,_0x36bcca);if(!_0x3bda05)return!0x1;const _0x3d728f=this[_0x31933a(0x1da)][_0x31933a(0x1f8)](_0x36bcca);if(!_0x3d728f)return!0x1;_0x3d728f[_0x31933a(0xcb)](),_0x3d728f['updateValuePosition'](_0x3d60a6,_0x55af54);const _0x62c107=_0x3d728f[_0x31933a(0x103)](),_0x148bd6=_0x3d728f[_0x31933a(0x3b4)]()['toJSON'](),_0x41db87=_0x3d728f[_0x31933a(0xe4)]();_0x113705['updateValuePosition']={'changesets':_0x41db87,'pivotTableConfig':_0x3bda05,'isEmpty':_0x62c107,'view':_0x148bd6};}break;case _0x299d21[_0x31933a(0x2ef)]:{const _0x146e6f=_0x2b5519[_0x31933a(0x2ff)][_0x31933a(0x1a2)];if(!_0x146e6f)return;const {tableFieldId:_0x5f2cc1,collapse:_0x504474,item:_0x3a9956}=_0x146e6f,_0x393925=this[_0x31933a(0x1da)][_0x31933a(0x1f8)](_0x36bcca),_0x5e4617=this[_0x31933a(0x1da)][_0x31933a(0x22d)](_0x56c2a4,_0x90b2a5,_0x36bcca);if(!_0x393925||!_0x5e4617)return;_0x393925[_0x31933a(0xcb)](),_0x393925[_0x31933a(0x186)](_0x5f2cc1,_0x504474,_0x3a9956);const _0x20498e=_0x393925[_0x31933a(0x103)](),_0x44ec76=_0x393925[_0x31933a(0x3b4)]()[_0x31933a(0x2ea)](),_0x7bada4=_0x393925[_0x31933a(0xe4)]();_0x113705['setPivotCollapse']={'view':_0x44ec76,'isEmpty':_0x20498e,'pivotTableConfig':_0x5e4617,'changesets':_0x7bada4};}break;case _0x299d21[_0x31933a(0x109)]:{const _0x2c5d11=_0x2b5519['params'][_0x31933a(0x16f)];if(!_0x2c5d11)return;const {pivotTableConfig:_0x4a5a60}=_0x2c5d11,_0x1ee7e8=this[_0x31933a(0x1da)][_0x31933a(0x1f8)](_0x36bcca),_0x43326d=this['_sheetsPivotDataSourceModel'][_0x31933a(0x22d)](_0x56c2a4,_0x90b2a5,_0x36bcca);if(!_0x1ee7e8||!_0x43326d)return;_0x1ee7e8['startCollectChangeset'](),_0x3409a0(_0x1ee7e8,_0x4a5a60);const _0x5418d2=_0x1ee7e8[_0x31933a(0x103)](),_0x1d51cb=_0x1ee7e8[_0x31933a(0x3b4)]()['toJSON'](),_0x356927=_0x1ee7e8[_0x31933a(0xe4)]();_0x113705[_0x31933a(0x16f)]={'view':_0x1d51cb,'isEmpty':_0x5418d2,'pivotTableConfig':{..._0x43326d,'fieldsConfig':_0x1ee7e8['toJSON']()},'changesets':_0x356927};}break;case _0x299d21[_0x31933a(0x320)]:{const _0x7ab356=_0x2b5519[_0x31933a(0x2ff)][_0x31933a(0x329)];if(!_0x7ab356)return;const _0x289377=this['_sheetsPivotDataSourceModel'][_0x31933a(0x1f8)](_0x36bcca),_0x2af074=this[_0x31933a(0x1da)][_0x31933a(0x22d)](_0x56c2a4,_0x90b2a5,_0x36bcca);if(!_0x289377||!_0x2af074)return;_0x289377[_0x31933a(0xcb)](),_0x5907f9(_0x289377,_0x7ab356[_0x31933a(0x37e)]);const _0x17eccc=_0x289377['query']()[_0x31933a(0x2ea)](),_0x4392b0=_0x289377['endCollectChangeset']();_0x113705[_0x31933a(0x329)]={'view':_0x17eccc,'isEmpty':!0x0,'pivotTableConfig':{..._0x2af074,'fieldsConfig':_0x289377['toJSON']()},'changesets':_0x4392b0};}break;case _0x299d21[_0x31933a(0x324)]:{const _0x28692e=_0x2b5519[_0x31933a(0x2ff)]['addPivotTableWithConfig'];if(!_0x28692e)return;const _0x1a9e97=_0x28692e[_0x31933a(0x188)],_0x7d1ebb=_0x28692e['pivotTableId'],{collection:_0x802d5d}=this[_0x31933a(0x1da)][_0x31933a(0x2d6)]({'unitId':_0x1a9e97[_0x31933a(0x316)],'sheetName':_0x1a9e97['sheetName'],'subUnitId':_0x1a9e97['subUnitId'],'range':_0x1a9e97[_0x31933a(0x1a6)]}),_0x170cd6=new _0x2350f2[(_0x31933a(0xcc))](_0x802d5d,void 0x0,_0x7d1ebb),_0x273772=_0x802d5d[_0x31933a(0x12a)](),{rows:_0x12072c,columns:_0x44d209,filters:_0x332fc0,values:_0x56761c}=_0x28692e[_0x31933a(0x3d1)];_0x170cd6[_0x31933a(0xcb)]();for(const {field:_0x2625cf,selectedItems:_0x6f8a37}of _0x12072c||[]){const _0x3ba905=_0x273772[_0x2625cf];if(_0x3ba905){const _0x520bad=_0x170cd6['addFieldWithSourceId'](_0x3ba905,_0x2350f2[_0x31933a(0x297)][_0x31933a(0xbb)]);_0x6f8a37&&_0x520bad&&_0x170cd6[_0x31933a(0x12b)](_0x520bad[_0x31933a(0xd0)](),{'type':_0x2350f2[_0x31933a(0x24b)][_0x31933a(0x2a8)],'list':_0x6f8a37,'isAll':!0x1});}}for(const {field:_0x268d20,selectedItems:_0x22673e}of _0x44d209||[]){const _0xc2d4d3=_0x273772[_0x268d20];if(_0xc2d4d3){const _0x21369d=_0x170cd6[_0x31933a(0x2e0)](_0xc2d4d3,_0x2350f2[_0x31933a(0x297)][_0x31933a(0x301)]);_0x22673e&&_0x21369d&&_0x170cd6['setLabelFilterInfo'](_0x21369d[_0x31933a(0xd0)](),{'type':_0x2350f2[_0x31933a(0x24b)]['ManualFilter'],'list':_0x22673e,'isAll':!0x1});}}for(const {field:_0x163f01,selectedItems:_0x5c2521}of _0x332fc0||[]){const _0xabc704=_0x273772[_0x163f01];if(_0xabc704){const _0x40b25f=_0x170cd6['addFieldWithSourceId'](_0xabc704,_0x2350f2[_0x31933a(0x297)]['Filter']);_0x5c2521&&_0x40b25f&&_0x170cd6['setLabelFilterInfo'](_0x40b25f[_0x31933a(0xd0)](),{'type':_0x2350f2[_0x31933a(0x24b)]['ManualFilter'],'list':_0x5c2521,'isAll':!0x1});}}for(const {field:_0x3bbf99,subTotalType:_0x3860fa,formatString:_0x5a54c3}of _0x56761c||[]){const _0x3c95da=_0x802d5d[_0x31933a(0x313)](_0x273772[_0x3bbf99]);if(!_0x3c95da)continue;const _0x4f1929=_0x273772[_0x3bbf99];if(_0x4f1929){const _0x50fad8=_0x170cd6[_0x31933a(0x2e0)](_0x4f1929,_0x2350f2['PivotTableFiledAreaEnum'][_0x31933a(0x2aa)]);if(_0x50fad8){if(_0x3860fa!==void 0x0){_0x170cd6[_0x31933a(0x216)](_0x50fad8[_0x31933a(0xd0)](),_0x3860fa);const _0x748505=this[_0x31933a(0x1da)]['getDataFieldManager'](_0x1a9e97[_0x31933a(0x316)])[_0x31933a(0x196)]()||_0x2350f2['getAutoDisplayName'],_0xc09357=_0x802d5d['getDisplayName'](_0x4f1929),_0x38c267=_0x748505(_0xc09357,_0x3860fa);_0x170cd6[_0x31933a(0x12f)](_0x50fad8[_0x31933a(0xd0)](),_0x38c267);}else{if(_0x3c95da){const _0x165a80=_0x3c95da==null?void 0x0:_0x3c95da[_0x31933a(0x2b4)]();_0x170cd6[_0x31933a(0x216)](_0x50fad8['getId'](),_0x165a80===_0x2350f2[_0x31933a(0xd2)][_0x31933a(0x25f)]?_0x2350f2['PivotSubtotalTypeEnum'][_0x31933a(0x383)]:_0x2350f2['PivotSubtotalTypeEnum'][_0x31933a(0x2e3)]);}}_0x5a54c3&&_0x170cd6[_0x31933a(0x334)](_0x50fad8[_0x31933a(0xd0)](),_0x5a54c3);}}}const _0x2e46c5=_0x170cd6[_0x31933a(0x3b4)](),_0x41b3c2=_0x170cd6[_0x31933a(0x2ea)](),_0x1a44b4=_0x170cd6[_0x31933a(0x103)](),_0x10e22b=_0x170cd6[_0x31933a(0xe4)](),_0x55cd3d=_0x802d5d['toJSON']();_0x113705[_0x31933a(0x302)]={'view':_0x2e46c5,'fieldsConfig':_0x41b3c2,'collectionConfig':_0x55cd3d,'isEmpty':_0x1a44b4,'changesets':_0x10e22b};}break;case _0x299d21[_0x31933a(0xdf)]:{const _0xe43cf0=_0x10d650(this[_0x31933a(0x371)],_0x2b5519);if(!_0xe43cf0)return;const {range:_0x3c33e2,sourceSubUnitId:_0xaa80b9,sourceUnitId:_0x4cbff5,formatMap:_0x14aeca,indexes:_0x3f27b1}=_0xe43cf0;_0x113705[_0x31933a(0x140)]={'range':_0x3c33e2,'sourceSubUnitId':_0xaa80b9,'sourceUnitId':_0x4cbff5,'formatMap':_0x14aeca,'indexes':_0x3f27b1};}break;}this[_0x31933a(0x2bf)][_0x31933a(0x247)](_0x3aaa9b['id'],{'version':_0x2b5519[_0x31933a(0x39f)],'result':_0x113705},{'onlyLocal':!0x0});}));}[_0x501dc7(0x312)](){const _0x3fd6a9=_0x501dc7;this[_0x3fd6a9(0xbf)](this[_0x3fd6a9(0x2bf)][_0x3fd6a9(0x10f)](_0x5f0d19=>{const _0x1e8173=_0x3fd6a9;if(_0x5f0d19['id']!==_0x1b6b45['id'])return;const _0x12be41=_0x5f0d19[_0x1e8173(0x2ff)];return this['_sheetsPivotDataSourceModel']['setTextInfo'](_0x12be41[_0x1e8173(0x205)]),!0x0;}));}[_0x501dc7(0x33d)](){const _0x2d82cb=_0x501dc7;this[_0x2d82cb(0x1da)]['collectionChange$']['subscribe'](_0x47aa98=>{const _0x4dc177=_0x2d82cb;switch(_0x47aa98[_0x4dc177(0x286)]){case _0xbe7c88['add']:_0x47aa98['dataRangeInfo']&&_0x47aa98['targetCellInfo']&&this['handleSourceRangeChange'](_0x47aa98[_0x4dc177(0x2cb)],_0x47aa98[_0x4dc177(0x173)],_0x47aa98[_0x4dc177(0x16b)]);break;case _0xbe7c88['delete']:{const {unitId:_0x484180,subUnitId:_0x193590,token:_0x20bfd7}=_0x47aa98;_0x484180&&_0x193590&&_0x20bfd7&&this[_0x4dc177(0x3b9)](_0x484180,_0x193590,_0x20bfd7);}break;case _0xbe7c88[_0x4dc177(0x1fa)]:{const {token:_0x177005,oldSourceRangeInfo:_0x3dea13,dataRangeInfo:_0x6ce44a,targetCellInfo:_0x49b37c}=_0x47aa98,{unitId:_0x2f8042,subUnitId:_0x4e5361}=_0x3dea13||{};_0x2f8042&&_0x4e5361&&_0x177005&&this[_0x4dc177(0x3b9)](_0x2f8042,_0x4e5361,_0x177005),_0x6ce44a&&_0x49b37c&&this[_0x4dc177(0x14c)](_0x177005,_0x6ce44a,_0x49b37c);}break;}});}[_0x501dc7(0x3c2)](){this['_sheetsPivotDataSourceModel']['fieldsCollectionChange$']['subscribe'](_0x116383=>{const _0x17f8b5=_0x25c6;Object[_0x17f8b5(0x396)](_0x116383)['forEach'](_0x48e10b=>{const _0x20df51=_0x17f8b5,_0x535888=this[_0x20df51(0x1da)][_0x20df51(0x1c6)](_0x48e10b);if(_0x535888){const _0x3839fb=this[_0x20df51(0x1da)]['getPivotTableConfig'](_0x535888==null?void 0x0:_0x535888[_0x20df51(0x316)],_0x535888==null?void 0x0:_0x535888['subUnitId'],_0x48e10b);_0x3839fb&&(this[_0x20df51(0x14c)](_0x48e10b,_0x3839fb[_0x20df51(0x188)],_0x3839fb[_0x20df51(0x16b)]),this['triggerDirtyFeature']([{'unitId':_0x535888['unitId'],'subUnitId':_0x535888['subUnitId'],'token':_0x48e10b}]));}});});}['_subjectViewChange'](){const _0x2a3856=_0x501dc7;this[_0x2a3856(0x1da)][_0x2a3856(0x1e7)][_0x2a3856(0x30a)](_0x47d068=>{const {unitId:_0x35871d,subUnitId:_0x4db3f7,pivotTableId:_0x5233cc}=_0x47d068;_0x35871d&&_0x4db3f7&&_0x5233cc&&this['triggerDirtyFeature']([{'unitId':_0x35871d,'subUnitId':_0x4db3f7,'token':_0x5233cc}]);});}[_0x501dc7(0x12c)](_0x342eb9){const _0x45eaa0=_0x501dc7,_0x18a034={};_0x342eb9[_0x45eaa0(0x189)](_0x267e6e=>{var _0x51af85,_0x3b7728;const {unitId:_0x3be820,subUnitId:_0x44c1fa,token:_0x1c7dc1}=_0x267e6e;_0x18a034[_0x3be820]=(_0x51af85=_0x18a034[_0x3be820])!=null?_0x51af85:{},_0x18a034[_0x3be820][_0x44c1fa]=(_0x3b7728=_0x18a034[_0x3be820][_0x44c1fa])!=null?_0x3b7728:{},_0x18a034[_0x3be820][_0x44c1fa][_0x1c7dc1]=!0x0;}),this[_0x45eaa0(0x2bf)]['executeCommand'](_0x5d2696['id'],_0x18a034);}[_0x501dc7(0x3b9)](_0x25ecc7,_0x2cf498,_0x488fc5){const _0x54af3b=_0x501dc7;this[_0x54af3b(0x321)]['remove'](_0x25ecc7,_0x2cf498,[_0x488fc5]);}[_0x501dc7(0x14c)](_0x5792d3,_0x16d3ba,_0x45b25f){const _0x7570ec=_0x501dc7,{unitId:_0x398b8d,subUnitId:_0x10c3a8}=_0x16d3ba;this['_featureCalculationManagerService']['has'](_0x45b25f['unitId'],_0x45b25f[_0x7570ec(0x130)],_0x5792d3)&&this[_0x7570ec(0x3b9)](_0x398b8d,_0x10c3a8,_0x5792d3);const _0x26e073={'sheetId':_0x10c3a8,..._0x16d3ba};this[_0x7570ec(0x321)][_0x7570ec(0x30d)](_0x45b25f[_0x7570ec(0x316)],_0x45b25f['subUnitId'],_0x5792d3,{'unitId':_0x45b25f[_0x7570ec(0x316)],'subUnitId':_0x45b25f['subUnitId'],'dependencyRanges':[_0x26e073],'getDirtyData':(_0x2a1d66,_0x5514dc)=>{const _0x2a7acc=_0x7570ec,_0x2b6f67=this['_sheetsPivotDataSourceModel'],_0x2f7c2a=_0x2b6f67[_0x2a7acc(0x1c6)](_0x5792d3);if(!_0x2f7c2a)return _0x4c133d();const {unitId:_0x7dcae8,subUnitId:_0x45fa07}=_0x2f7c2a,_0x4fcc62=_0xd3497c(_0x2a1d66,_0x5514dc,_0x16d3ba);if(_0x4fcc62[_0x2a7acc(0x3a5)]>0x0){const _0x5aff19=_0x2b6f67['getCollection'](_0x398b8d,_0x5792d3),_0x28378e=_0x5aff19[_0x2a7acc(0x12a)](),_0x213b3e=this[_0x2a7acc(0x2ed)](_0x16d3ba['unitId'],_0x16d3ba[_0x2a7acc(0x130)],_0x5514dc),_0x21d074={},_0x2e5973=this['_sheetsPivotDataSourceModel'][_0x2a7acc(0x32b)](_0x7dcae8)['getAutoDisplayNameFunction']()||_0x2350f2['getAutoDisplayName'],_0x3cd099=[];for(const _0x5ecbe3 of _0x4fcc62){const _0x457384=_0x5ecbe3-(_0x16d3ba[_0x2a7acc(0x1a6)]['startColumn']||0x0),_0x1dc348=_0x28378e[_0x457384];_0x3cd099['push'](_0x1dc348),_0x21d074[_0x1dc348]=_0x5aff19[_0x2a7acc(0x313)](_0x1dc348)['getName'](),_0x2b6f67[_0x2a7acc(0x32b)](_0x398b8d)[_0x2a7acc(0x372)](_0x1dc348,_0x16d3ba,_0x457384,_0x213b3e);}_0x5aff19['getGroupFieldsInfoByIds'](_0x3cd099)[_0x2a7acc(0x189)](_0x22e66d=>{const _0xe41137=_0x2a7acc,[_0x5e52d0,_0x46c11f]=_0x22e66d,_0x3e898b=_0x5aff19[_0xe41137(0x313)](_0x5e52d0),_0x252af8=_0x5aff19[_0xe41137(0x313)](_0x46c11f);_0x3e898b&&_0x252af8&&_0x3e898b['refreshGroupField'](_0x252af8);}),_0x5aff19[_0x2a7acc(0x219)]();const _0x306d78=_0x2b6f67[_0x2a7acc(0x1f8)](_0x5792d3);if(_0x306d78){_0x42e58(_0x306d78,_0x21d074,_0x2e5973),_0x306d78[_0x2a7acc(0x23f)](!0x0);const _0xbc1030=_0x306d78[_0x2a7acc(0x3b4)](),_0x32e209=_0x2b6f67['getPivotTableConfig'](_0x7dcae8,_0x45fa07,_0x5792d3),_0x5820e0=_0x2b6f67[_0x2a7acc(0x32b)](_0x398b8d)[_0x2a7acc(0x2ea)]();_0x2b6f67[_0x2a7acc(0x1ab)](_0x7dcae8,_0x45fa07,_0x284607[_0x2a7acc(0x120)],_0x5792d3,_0xbc1030,_0x32e209,_0x5820e0,!0x0);}}return this[_0x2a7acc(0x2c1)](_0x7dcae8,_0x45fa07,_0x5792d3);}});}[_0x501dc7(0x2ed)](_0x1fd5ed,_0x294b41,_0x3f2f3d){var _0x1e9161,_0x4fb46a;const {arrayFormulaCellData:_0x366555,unitData:_0x4026db}=_0x3f2f3d,_0x2b7e26=(_0x1e9161=_0x366555==null?void 0x0:_0x366555[_0x1fd5ed])==null?void 0x0:_0x1e9161[_0x294b41],_0x323c00=(_0x4fb46a=_0x4026db==null?void 0x0:_0x4026db[_0x1fd5ed])==null?void 0x0:_0x4fb46a[_0x294b41];return{'arrayFormulaCellDataMatrix':_0x2b7e26,'unitDataMatrix':_0x323c00};}[_0x501dc7(0x2c1)](_0xdff967,_0x2d630,_0x4d6dc6){const _0xdc8720=_0x501dc7,_0x1f1b24=this[_0xdc8720(0x1da)][_0xdc8720(0x3bd)](_0xdff967,_0x2d630,_0x4d6dc6),_0x3568e3=[],_0x6e202a=new _0x3ec010[(_0xdc8720(0x1be))]();if(_0x1f1b24){const {rangeCache:_0x40a947,matrix:_0x2ff626,oldRangeCache:_0x38491a,oldMatrix:_0x11fef3}=_0x1f1b24,_0x20a64b=_0x3873e6(_0x38491a),_0x4b361b=_0x3873e6(_0x40a947);_0x3568e3[_0xdc8720(0x37a)](..._0x4b361b,..._0x20a64b),_0x11fef3&&_0x38491a&&_0x20a64b[_0xdc8720(0x189)](_0xa895a4=>{const _0x24689c=_0xdc8720;for(let _0x18d98e=_0xa895a4['startRow'];_0x18d98e<=_0xa895a4[_0x24689c(0x3c0)];_0x18d98e++)for(let _0x21db0b=_0xa895a4[_0x24689c(0xe0)];_0x21db0b<=_0xa895a4['endColumn'];_0x21db0b++)_0x6e202a[_0x24689c(0x39e)](_0x18d98e,_0x21db0b);}),_0x2ff626&&_0x4b361b&&_0x4b361b[_0xdc8720(0x189)](_0x42b612=>{const _0x34db3d=_0xdc8720;for(let _0x426ec8=_0x42b612[_0x34db3d(0x24a)];_0x426ec8<=_0x42b612['endRow'];_0x426ec8++)for(let _0x18b283=_0x42b612['startColumn'];_0x18b283<=_0x42b612[_0x34db3d(0x339)];_0x18b283++)_0x6e202a['setValue'](_0x426ec8,_0x18b283,_0x2ff626['getValue'](_0x426ec8,_0x18b283));});}const _0x1a702a={};return _0x1a702a[_0xdff967]={[_0x2d630]:_0x512f78(_0x3568e3)},{'runtimeCellData':{[_0xdff967]:{[_0x2d630]:_0x6e202a}},'dirtyRanges':_0x1a702a};}[_0x501dc7(0x2b8)](){}};_0x7e8a2a=_0x52862c([_0x6d76c(0x0,_0x3ec010[_0x501dc7(0x170)](_0x4d1fa4['SheetsPivotDataSourceModel'])),_0x6d76c(0x1,_0x3ec010['IConfigService']),_0x6d76c(0x2,_0x3ec010[_0x501dc7(0x170)](_0x1b07e0[_0x501dc7(0x1d6)])),_0x6d76c(0x3,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x155)])),_0x6d76c(0x4,_0x3ec010[_0x501dc7(0x170)](_0x1b07e0[_0x501dc7(0x3b7)])),_0x6d76c(0x5,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x2c4)]))],_0x7e8a2a);var _0x4e6d80=Object['getOwnPropertyDescriptor'],_0x4e528a=(_0x19ef6a,_0x1a9d2d,_0x3f2c35,_0x789d28)=>{const _0x4bd237=_0x501dc7;for(var _0xc3497=_0x789d28>0x1?void 0x0:_0x789d28?_0x4e6d80(_0x1a9d2d,_0x3f2c35):_0x1a9d2d,_0x395994=_0x19ef6a[_0x4bd237(0x3a5)]-0x1,_0x1f632f;_0x395994>=0x0;_0x395994--)(_0x1f632f=_0x19ef6a[_0x395994])&&(_0xc3497=_0x1f632f(_0xc3497)||_0xc3497);return _0xc3497;},_0x237925=(_0x1236f7,_0x1ce8b1)=>(_0x170ac3,_0x4169c2)=>_0x1ce8b1(_0x170ac3,_0x4169c2,_0x1236f7);let _0x322cb0=class extends _0x3ec010[_0x501dc7(0x17f)]{constructor(_0x8da450,_0x43fd26,_0x15cd47,_0x2ccf3e){const _0x25deda=_0x501dc7;super(),_0x69c9df(this,_0x25deda(0x35b),new _0x3ec010[(_0x25deda(0x34e))]()),(this[_0x25deda(0x1ca)]=_0x8da450,this[_0x25deda(0x2e5)]=_0x43fd26,this[_0x25deda(0x159)]=_0x15cd47,this['_sheetsPivotTableConfigModel']=_0x2ccf3e,this[_0x25deda(0x3b2)]());}['_initClearSelectionCommandInterceptor'](){const _0x1a66a2=_0x501dc7;this[_0x1a66a2(0xbf)](this['_sheetInterceptorService'][_0x1a66a2(0x176)]({'getMutations':_0x134580=>{const _0x302962=_0x1a66a2;if(_0x134580['id']===_0x23e7ae[_0x302962(0x38b)]['id']||_0x134580['id']===_0x23e7ae[_0x302962(0x222)]['id']){const _0xb78c66=[],_0x319e74=[],_0x40cf73=this[_0x302962(0x159)][_0x302962(0xb6)]()[_0x302962(0x2d0)](_0x3107f4=>_0x3107f4[_0x302962(0x1a6)]),_0x49a9dd=_0x23e7ae[_0x302962(0x325)](this[_0x302962(0x1ca)]);if(!_0x49a9dd)return{'redos':[],'undos':[]};const {unitId:_0x434b1a,subUnitId:_0x228e87}=_0x49a9dd,_0x1a8c7e={},_0x365332=this[_0x302962(0x1c4)][_0x302962(0x392)](_0x434b1a,_0x228e87);if(_0x365332!=null&&_0x365332['size'])for(const [_0xa3ef79,_0xe2263d]of _0x365332){const {unitId:_0x55a441,subUnitId:_0x5c38b7,row:_0x53c787,col:_0x3ed8ae}=_0xe2263d[_0x302962(0x16b)];_0x55a441===_0x49a9dd[_0x302962(0x316)]&&_0x5c38b7===_0x49a9dd['subUnitId']&&(_0x1a8c7e[_0x53c787+'-'+_0x3ed8ae]=_0xa3ef79);}return _0x40cf73&&_0x49a9dd&&_0x40cf73['forEach'](_0x308ed2=>{const _0x7afb65=_0x302962;_0x3ec010[_0x7afb65(0x39c)]['foreach'](_0x308ed2,(_0x485eea,_0x55da0c)=>{const _0x247ee7=_0x7afb65,_0x21202b=_0x485eea+'-'+_0x55da0c;if(_0x1a8c7e[_0x21202b]){const _0x547a82=_0x1a8c7e[_0x21202b];_0xb78c66[_0x247ee7(0x37a)]({'id':_0x5b5c95['id'],'params':{'unitId':_0x434b1a,'subUnitId':_0x228e87,'pivotTableId':_0x547a82}});const _0x517c9e=this[_0x247ee7(0x1c4)][_0x247ee7(0x28e)](_0x434b1a,_0x547a82),_0x284814=this[_0x247ee7(0x1c4)][_0x247ee7(0x22d)](_0x434b1a,_0x228e87,_0x547a82);_0x319e74[_0x247ee7(0x37a)]({'id':_0x45a670['id'],'params':{'unitId':_0x434b1a,'subUnitId':_0x228e87,'pivotTableId':_0x547a82,'pivotTableConfig':_0x284814,'collectionConfig':_0x517c9e}});}});}),{'redos':_0xb78c66,'undos':_0x319e74};}return{'redos':[],'undos':[]};}}));}};_0x322cb0=_0x4e528a([_0x237925(0x0,_0x3ec010[_0x501dc7(0x3df)]),_0x237925(0x1,_0x3ec010[_0x501dc7(0x170)](_0x23e7ae['SheetInterceptorService'])),_0x237925(0x2,_0x3ec010[_0x501dc7(0x170)](_0x23e7ae['SheetsSelectionsService'])),_0x237925(0x3,_0x3ec010[_0x501dc7(0x170)](_0x4d1fa4[_0x501dc7(0x1fb)]))],_0x322cb0);var _0x35ec09=Object[_0x501dc7(0x311)],_0x4821ee=(_0x517912,_0x59f09b,_0x5664d1,_0x270349)=>{const _0x46c2c0=_0x501dc7;for(var _0x5ea410=_0x270349>0x1?void 0x0:_0x270349?_0x35ec09(_0x59f09b,_0x5664d1):_0x59f09b,_0x4d73e2=_0x517912[_0x46c2c0(0x3a5)]-0x1,_0x5a67b1;_0x4d73e2>=0x0;_0x4d73e2--)(_0x5a67b1=_0x517912[_0x4d73e2])&&(_0x5ea410=_0x5a67b1(_0x5ea410)||_0x5ea410);return _0x5ea410;},_0x1ba3cf=(_0x402d8f,_0x14a00f)=>(_0x587623,_0x4ce3f4)=>_0x14a00f(_0x587623,_0x4ce3f4,_0x402d8f);let _0x510db1=class extends _0x3ec010[_0x501dc7(0x17f)]{constructor(_0x42463a,_0x310353,_0x13dbf5,_0x4a04cb,_0x485f2e,_0x2db3b9){const _0x40c1c9=_0x501dc7;super(),this[_0x40c1c9(0x2fd)]=_0x42463a,this[_0x40c1c9(0x2e5)]=_0x310353,this[_0x40c1c9(0x371)]=_0x13dbf5,this['_univerInstanceService']=_0x4a04cb,this[_0x40c1c9(0x1c4)]=_0x485f2e,this[_0x40c1c9(0x235)]=_0x2db3b9,this[_0x40c1c9(0x33f)]();}[_0x501dc7(0x32d)](_0x43a3f1,_0x2c1657,_0x52299f){const _0x36a7b0=_0x501dc7,{pageView:_0x1f5bcb,cornerView:_0x33b0a7,rowView:_0x46b48d,colView:_0x1c3439,dataView:_0x301f27}=_0x2c1657,_0x5ddfc8=_0x43a3f1;let _0x13bc1e;if(_0x52299f)_0x13bc1e=[..._0x52cb4a(_0x5ddfc8)];else{const _0x2dd43a=_0xe5777b(_0x5ddfc8,_0x1f5bcb,!0x0),_0x2ea6d0=_0x1f5bcb[_0x36a7b0(0x2c2)]>=0x0?_0x1f5bcb[_0x36a7b0(0x2c2)]+0x1:0x0,_0x286d34=_0x33b0a7[_0x36a7b0(0x364)],_0xd7daf3=_0x33b0a7[_0x36a7b0(0x30c)],_0x2cd108=_0x2dd43a[_0x36a7b0(0x3a5)]>0x0?_0x119d67:0x0,_0x59831c=_0xe5777b({'row':_0x5ddfc8['row']+_0x2ea6d0+_0x2cd108,'col':_0x5ddfc8[_0x36a7b0(0xea)]},_0x33b0a7,!0x1,!0x1),_0x449456=_0xe5777b({'row':_0x5ddfc8[_0x36a7b0(0x34d)]+_0x2ea6d0+_0x2cd108+_0x286d34,'col':_0x5ddfc8[_0x36a7b0(0xea)]},_0x46b48d,!0x1,!0x0),_0x3f3e1e=_0xe5777b({'row':_0x5ddfc8[_0x36a7b0(0x34d)]+_0x2ea6d0+_0x2cd108,'col':_0x5ddfc8[_0x36a7b0(0xea)]+_0xd7daf3},_0x1c3439,!0x1,!0x0),_0x3ed9a5=_0xe5777b({'row':_0x5ddfc8[_0x36a7b0(0x34d)]+_0x2ea6d0+_0x2cd108+_0x286d34,'col':_0x5ddfc8[_0x36a7b0(0xea)]+_0xd7daf3},_0x301f27,!0x1,!0x0);_0x13bc1e=[..._0x2dd43a,..._0x59831c,..._0x449456,..._0x3f3e1e,..._0x3ed9a5];}return _0x13bc1e;}['_initCommandInterceptListener'](){const _0x1a47c2=_0x501dc7;this[_0x1a47c2(0xbf)](this['_sheetsPivotTableService']['interceptor'][_0x1a47c2(0x370)](this['_sheetsPivotTableService'][_0x1a47c2(0x30f)][_0x1a47c2(0x3ac)]()[_0x1a47c2(0x1f2)],{'handler':(_0x38df61,_0x40bda2)=>{const _0x4b4f12=_0x1a47c2,{cellInfo:_0x4bfced,view:_0x487559,isEmpty:_0x5f5d5e}=_0x40bda2,_0x30c3bc=_0x4bfced,{unitId:_0x26ba6e,subUnitId:_0x587c44}=_0x30c3bc,_0x42f531=this[_0x4b4f12(0x32d)](_0x4bfced,_0x487559,_0x5f5d5e),_0x398deb=this[_0x4b4f12(0x2e5)][_0x4b4f12(0x152)]({'unitId':_0x26ba6e,'subUnitId':_0x587c44,'ranges':_0x42f531}),_0x2ca3f9=_0x1ed240(this['_injector'],_0x26ba6e,_0x587c44,_0x42f531);_0x2ca3f9['shouldClear']&&(_0x398deb[_0x4b4f12(0x16e)][_0x4b4f12(0x37a)](_0x2ca3f9[_0x4b4f12(0x2b3)]),_0x398deb['undos'][_0x4b4f12(0x37a)](_0x2ca3f9[_0x4b4f12(0xd8)]));const _0x484e71=this[_0x4b4f12(0x237)](_0x487559,_0x4bfced);return _0x398deb[_0x4b4f12(0x16e)]['push'](..._0x484e71[_0x4b4f12(0x16e)]),_0x398deb[_0x4b4f12(0x361)][_0x4b4f12(0x37a)](..._0x484e71['undos']),{'redos':_0x398deb[_0x4b4f12(0x16e)],'undos':_0x398deb[_0x4b4f12(0x361)]};}}));}[_0x501dc7(0x237)](_0x5a323b,_0x4511b9){const _0x444d72=_0x501dc7,{col:_0x5d6963,unitId:_0x5198d0,subUnitId:_0x58e9b6}=_0x4511b9,_0x3425a1=[],_0x1da1a3=[],_0x279c57=_0x23e7ae[_0x444d72(0x325)](this['_univerInstanceService'],{'unitId':_0x5198d0,'subUnitId':_0x58e9b6});if(!_0x4511b9||!_0x5a323b||!_0x279c57)return{'undos':_0x1da1a3,'redos':_0x3425a1};const _0x4397ca=this['_sheetsPivotTableConfigModel'][_0x444d72(0x1c9)](),{colView:_0x551b34,dataView:_0xf6bc47,cornerView:_0x137dbd,rowView:_0x253200,formatMap:_0x18077c}=_0x5a323b,_0x1b8204=_0x5e9f50(_0x551b34,_0x4397ca,!0x0,_0x18077c),_0x3fc01a=_0x5e9f50(_0x253200,_0x4397ca,!0x1,_0x18077c),_0x3b5e24=_0x6d9554(_0xf6bc47),_0x1845c2=_0x1e95e2(_0x137dbd),{worksheet:_0x3fec46}=_0x279c57;if(typeof window<'u'&&window[_0x444d72(0x243)]){const _0x14ae9d=_0x1776d8['getFontStyleString']({..._0x470f60['colStyle']}),_0x3a66ff=_0x1776d8[_0x444d72(0x255)][_0x444d72(0x162)](_0x1b8204,_0x14ae9d)[_0x444d72(0x20c)]+0x10,_0x450ffe=_0x1776d8[_0x444d72(0x255)][_0x444d72(0x162)](_0x3b5e24,_0x14ae9d)[_0x444d72(0x20c)],_0x398833=Math[_0x444d72(0x3ce)](Math[_0x444d72(0x1a8)](_0x3a66ff,_0x450ffe))+0x10,_0x3ca5c2=Math[_0x444d72(0x3ce)](_0x1776d8['FontCache'][_0x444d72(0x162)](_0x3fc01a,_0x14ae9d)[_0x444d72(0x20c)]),_0x1ce3c5=Math[_0x444d72(0x3ce)](_0x1776d8[_0x444d72(0x255)][_0x444d72(0x162)](_0x1845c2,_0x14ae9d)['width']),_0x20c4ba=Math['max'](_0x3ca5c2,_0x1ce3c5,0x28)+0xc,_0x568589=_0x551b34[_0x444d72(0x30c)]+_0x137dbd['colCount'],_0x21ab26={},_0x5f4523={};for(let _0x4abb8b=_0x5d6963;_0x4abb8b<_0x5d6963+_0x568589;_0x4abb8b++){const _0x13c332=_0x3fec46[_0x444d72(0x27b)](_0x4abb8b);_0x21ab26[_0x4abb8b]=_0x13c332,_0x4abb8b-_0x5d6963<_0x137dbd[_0x444d72(0x30c)]?_0x5f4523[_0x4abb8b-_0x5d6963]=_0x20c4ba:_0x5f4523[_0x4abb8b-_0x5d6963]=_0x398833;}_0x3425a1[_0x444d72(0x37a)]({'id':_0x23e7ae[_0x444d72(0x37b)]['id'],'params':{'subUnitId':_0x58e9b6,'unitId':_0x5198d0,'ranges':[{'startColumn':_0x5d6963,'endColumn':_0x5d6963+_0x568589-0x1,'startRow':0x0,'endRow':_0x3fec46[_0x444d72(0x142)]()-0x1}],'colWidth':_0x5f4523}}),_0x1da1a3['push']({'id':_0x23e7ae[_0x444d72(0x37b)]['id'],'params':{'subUnitId':_0x58e9b6,'unitId':_0x5198d0,'ranges':[{'startColumn':_0x5d6963,'endColumn':_0x5d6963+_0x568589-0x1,'startRow':0x0,'endRow':_0x3fec46[_0x444d72(0x142)]()-0x1}],'colWidth':_0x21ab26}});}return{'undos':_0x1da1a3,'redos':_0x3425a1};}};_0x510db1=_0x4821ee([_0x1ba3cf(0x0,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x18c)])),_0x1ba3cf(0x1,_0x3ec010[_0x501dc7(0x170)](_0x23e7ae[_0x501dc7(0x137)])),_0x1ba3cf(0x2,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x2c4)])),_0x1ba3cf(0x3,_0x3ec010['Inject'](_0x3ec010[_0x501dc7(0x3df)])),_0x1ba3cf(0x4,_0x3ec010['Inject'](_0x4d1fa4['SheetsPivotTableConfigModel'])),_0x1ba3cf(0x5,_0x3ec010[_0x501dc7(0x170)](_0x4d1fa4[_0x501dc7(0x240)]))],_0x510db1);var _0x8e001e=Object[_0x501dc7(0x311)],_0x2e75a5=(_0x8c3eff,_0x4f7e25,_0x53da4e,_0x4582da)=>{const _0x3cfbda=_0x501dc7;for(var _0x271a1f=_0x4582da>0x1?void 0x0:_0x4582da?_0x8e001e(_0x4f7e25,_0x53da4e):_0x4f7e25,_0x158f2=_0x8c3eff[_0x3cfbda(0x3a5)]-0x1,_0x2542d2;_0x158f2>=0x0;_0x158f2--)(_0x2542d2=_0x8c3eff[_0x158f2])&&(_0x271a1f=_0x2542d2(_0x271a1f)||_0x271a1f);return _0x271a1f;},_0x38eda6=(_0x377fa8,_0x3ed4bb)=>(_0xd2e6ac,_0x24ebc9)=>_0x3ed4bb(_0xd2e6ac,_0x24ebc9,_0x377fa8);let _0x283054=class extends _0x3ec010[_0x501dc7(0x17f)]{constructor(_0x3567f5,_0x41683e,_0x7bf063,_0x182b99,_0x27413b,_0x598994,_0x1f9ffc){const _0x31ae0e=_0x501dc7;super(),_0x69c9df(this,_0x31ae0e(0x35b),new _0x3ec010[(_0x31ae0e(0x34e))]()),(this[_0x31ae0e(0x371)]=_0x3567f5,this[_0x31ae0e(0x1d0)]=_0x41683e,this['_commandService']=_0x7bf063,this[_0x31ae0e(0x1ca)]=_0x182b99,this[_0x31ae0e(0x1c4)]=_0x27413b,this[_0x31ae0e(0x102)]=_0x598994,this[_0x31ae0e(0x2e5)]=_0x1f9ffc,this[_0x31ae0e(0x2af)]());}[_0x501dc7(0x2af)](){const _0x49c8d5=_0x501dc7,_0x269a94=(_0x14b61a,_0x839f73)=>{const _0xb77ade=_0x25c6,_0x47416d=this[_0xb77ade(0x1ca)]['getCurrentUnitForType'](_0x3ec010[_0xb77ade(0x2b9)][_0xb77ade(0x128)]);if(!_0x47416d||!(_0x47416d==null?void 0x0:_0x47416d[_0xb77ade(0x23b)](_0x839f73)))return;this[_0xb77ade(0x35b)][_0xb77ade(0x2b8)]();const _0x30fa19=_0x2462bd=>this[_0xb77ade(0x19a)](_0x2462bd,_0x14b61a,_0x839f73),_0x68e05b=this[_0xb77ade(0x1c4)][_0xb77ade(0x392)](_0x14b61a,_0x839f73);if(!(_0x68e05b!=null&&_0x68e05b[_0xb77ade(0x161)]))return;Array[_0xb77ade(0x154)](_0x68e05b[_0xb77ade(0x27e)]())['map'](_0x3958f5=>{const {row:_0x340c14,col:_0x315fa3}=_0x3958f5['targetCellInfo'];return _0x3ec010['cellToRange'](_0x340c14,_0x315fa3);})[_0xb77ade(0x189)](_0x371470=>{const _0x15040d=_0xb77ade;this['disposableCollection'][_0x15040d(0x261)](this['_refRangeService'][_0x15040d(0x341)](_0x371470,_0x30fa19,_0x14b61a,_0x839f73));});},_0x3c36d4=()=>{const _0x24e122=_0x25c6,_0xe89da2=this[_0x24e122(0x1ca)][_0x24e122(0x14d)](_0x3ec010[_0x24e122(0x2b9)]['UNIVER_SHEET']);if(_0xe89da2){const _0x8d4eb0=_0xe89da2[_0x24e122(0x289)]();if(!_0x8d4eb0)return;_0x269a94(_0xe89da2[_0x24e122(0x2bc)](),_0x8d4eb0[_0x24e122(0x3cd)]());}};this['disposeWithMe'](this[_0x49c8d5(0x2bf)][_0x49c8d5(0x10f)](_0x146385=>{const _0x2b1145=_0x49c8d5;if(_0x146385['id']===_0x23e7ae[_0x2b1145(0x131)]['id']){const _0x5f7ace=_0x146385['params'],_0x294ec0=_0x5f7ace[_0x2b1145(0x130)],_0x19440c=_0x5f7ace['unitId'];if(!_0x294ec0||!_0x19440c)return;_0x269a94(_0x19440c,_0x294ec0);}})),this[_0x49c8d5(0xbf)](this['_sheetsPivotTableConfigModel']['pivotInitCompleted$'][_0x49c8d5(0x30a)](_0x2119e6=>{_0x2119e6&&_0x3c36d4();})),this[_0x49c8d5(0xbf)](this[_0x49c8d5(0x1c4)][_0x49c8d5(0x242)][_0x49c8d5(0x30a)](_0x30ea9f=>{const _0x3770a2=_0x49c8d5,_0x44db70=_0x23e7ae[_0x3770a2(0x325)](this[_0x3770a2(0x1ca)]);if(!_0x44db70)return;const {unitId:_0x4eaee2,subUnitId:_0x3e1287}=_0x44db70,{unitId:_0x52c5c3,subUnitId:_0x4f06e9}=_0x30ea9f;_0x4eaee2!==_0x52c5c3||_0x3e1287!==_0x4f06e9||_0x269a94(_0x4eaee2,_0x3e1287);})),_0x3c36d4();}['_refRangeHandle'](_0x4e3cdf,_0x3ebf22,_0x43c8d3){const _0x3b8eb0=_0x501dc7;switch(_0x4e3cdf['id']){case _0x23e7ae[_0x3b8eb0(0x3d9)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x4e3cdf[_0x3b8eb0(0x2ff)],_0x3ebf22,_0x43c8d3);}return{'redos':[],'undos':[]};}[_0x501dc7(0x111)](_0x39e5e5,_0x874905,_0x23584f){const _0x5924ee=_0x501dc7,{fromRange:_0x2b1666,toRange:_0x860bcb}=_0x39e5e5,_0x5ab502=[],_0x1c3082=[],_0x3e5da4=_0x23e7ae['getSheetCommandTarget'](this['_univerInstanceService']);if(!_0x3e5da4)return{'undos':_0x1c3082,'redos':_0x5ab502};if(_0x874905!==_0x3e5da4[_0x5924ee(0x316)]||_0x23584f!==_0x3e5da4[_0x5924ee(0x130)])return{'undos':_0x1c3082,'redos':_0x5ab502};const _0x4e2124=this[_0x5924ee(0x1c4)][_0x5924ee(0x392)](_0x874905,_0x23584f);if(_0x4e2124!=null&&_0x4e2124['size'])for(const [_0x23c8c4,_0x6c97db]of _0x4e2124){const {unitId:_0x5986a2,subUnitId:_0x25ac35,row:_0x4135cf,col:_0x16fb9f}=_0x6c97db['targetCellInfo'];if(_0x5986a2===_0x3e5da4['unitId']&&_0x25ac35===_0x3e5da4[_0x5924ee(0x130)]){const _0x1ce510=_0x3ec010[_0x5924ee(0x23a)](_0x4135cf,_0x16fb9f);if(_0x3ec010[_0x5924ee(0x3a2)][_0x5924ee(0x2de)](_0x1ce510,_0x2b1666)){const _0x220988=_0x4135cf-_0x2b1666[_0x5924ee(0x24a)],_0x54f6e8=_0x16fb9f-_0x2b1666[_0x5924ee(0xe0)],_0x4c670e={'row':_0x860bcb[_0x5924ee(0x24a)]+_0x220988,'col':_0x860bcb[_0x5924ee(0xe0)]+_0x54f6e8};_0x5ab502['push']({'id':_0x4446f4['id'],'params':{'unitId':_0x5986a2,'subUnitId':_0x25ac35,'pivotTableId':_0x23c8c4,'targetCellPosition':_0x4c670e}}),_0x1c3082[_0x5924ee(0x37a)]({'id':_0x4446f4['id'],'params':{'unitId':_0x5986a2,'subUnitId':_0x25ac35,'pivotTableId':_0x23c8c4,'targetCellPosition':{'row':_0x4135cf,'col':_0x16fb9f}}});const _0x4bf3aa=_0x4c670e[_0x5924ee(0x34d)]-_0x4135cf,_0x26e555=_0x4c670e[_0x5924ee(0xea)]-_0x16fb9f,_0xcb37f=[],_0x31ada=this[_0x5924ee(0x102)][_0x5924ee(0x1e3)](_0x5986a2,_0x25ac35,_0x23c8c4),_0x171e5e=_0x31ada==null?void 0x0:_0x31ada[_0x5924ee(0x2b1)];if(_0x171e5e){Object['keys'](_0x171e5e)['forEach'](_0x2699e4=>{const _0x5ca755=_0x5924ee;_0x171e5e[_0x2699e4][_0x5ca755(0x189)](_0x2d08d0=>{const _0x42338e=_0x5ca755,_0x4ee879={..._0x2d08d0};_0x4ee879['startRow']=_0x2d08d0[_0x42338e(0x24a)]+_0x4bf3aa,_0x4ee879[_0x42338e(0x3c0)]=_0x2d08d0[_0x42338e(0x3c0)]+_0x4bf3aa,_0x4ee879[_0x42338e(0xe0)]=_0x2d08d0['startColumn']+_0x26e555,_0x4ee879[_0x42338e(0x339)]=_0x2d08d0[_0x42338e(0x339)]+_0x26e555,_0xcb37f[_0x42338e(0x37a)](_0x4ee879);});});const _0x572a6d=this[_0x5924ee(0x2e5)]['generateMutationsByRanges']({'unitId':_0x5986a2,'subUnitId':_0x25ac35,'ranges':_0xcb37f});_0x5ab502[_0x5924ee(0x37a)](..._0x572a6d[_0x5924ee(0x16e)]),_0x1c3082[_0x5924ee(0x37a)](..._0x572a6d[_0x5924ee(0x361)]);const _0x51a5e5=_0x1ed240(this[_0x5924ee(0x371)],_0x5986a2,_0x25ac35,_0xcb37f);_0x51a5e5['shouldClear']&&(_0x5ab502['push'](_0x51a5e5[_0x5924ee(0x2b3)]),_0x1c3082['push'](_0x51a5e5[_0x5924ee(0xd8)]));}}}}return{'redos':_0x5ab502,'undos':_0x1c3082};}};_0x283054=_0x2e75a5([_0x38eda6(0x0,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x2c4)])),_0x38eda6(0x1,_0x3ec010[_0x501dc7(0x170)](_0x23e7ae[_0x501dc7(0x342)])),_0x38eda6(0x2,_0x3ec010[_0x501dc7(0x155)]),_0x38eda6(0x3,_0x3ec010[_0x501dc7(0x3df)]),_0x38eda6(0x4,_0x3ec010[_0x501dc7(0x170)](_0x4d1fa4['SheetsPivotTableConfigModel'])),_0x38eda6(0x5,_0x3ec010[_0x501dc7(0x170)](_0x4d1fa4[_0x501dc7(0x2f2)])),_0x38eda6(0x6,_0x3ec010[_0x501dc7(0x170)](_0x23e7ae[_0x501dc7(0x137)]))],_0x283054);var _0x271deb=Object[_0x501dc7(0x311)],_0x31140f=(_0x2e8bc5,_0x14b035,_0x5cbc2d,_0x565c6e)=>{const _0x977d2e=_0x501dc7;for(var _0x28993e=_0x565c6e>0x1?void 0x0:_0x565c6e?_0x271deb(_0x14b035,_0x5cbc2d):_0x14b035,_0x11764f=_0x2e8bc5[_0x977d2e(0x3a5)]-0x1,_0x33b276;_0x11764f>=0x0;_0x11764f--)(_0x33b276=_0x2e8bc5[_0x11764f])&&(_0x28993e=_0x33b276(_0x28993e)||_0x28993e);return _0x28993e;},_0x237419=(_0x214fb4,_0x1d4ce9)=>(_0x27450b,_0xfc6d25)=>_0x1d4ce9(_0x27450b,_0xfc6d25,_0x214fb4);let _0x337b30=class extends _0x3ec010[_0x501dc7(0x17f)]{constructor(_0x57ed5e,_0x1c5aa5){const _0x5795fb=_0x501dc7;super(),this[_0x5795fb(0x2e5)]=_0x57ed5e,this[_0x5795fb(0x1c4)]=_0x1c5aa5,this[_0x5795fb(0x3ad)]();}[_0x501dc7(0x3ad)](){const _0x588a2f=_0x501dc7;this[_0x588a2f(0xbf)](this[_0x588a2f(0x2e5)][_0x588a2f(0x176)]({'getMutations':_0x45fd65=>{const _0x406e13=_0x588a2f;if(_0x45fd65['id']===_0x23e7ae[_0x406e13(0x37c)]['id']){const _0x15152b=[],_0x47a93f=[],_0x57c933=_0x45fd65[_0x406e13(0x2ff)],{unitId:_0x1acc2a,subUnitId:_0x53eff3}=_0x57c933;if(!_0x1acc2a||!_0x53eff3)return{'undos':_0x47a93f,'redos':_0x15152b};const _0x159355=this[_0x406e13(0x1c4)][_0x406e13(0x392)](_0x1acc2a,_0x53eff3);if(_0x159355!=null&&_0x159355['size'])for(const [_0x405ac9,_0x398c90]of _0x159355){_0x15152b[_0x406e13(0x37a)]({'id':_0x5b5c95['id'],'params':{'unitId':_0x1acc2a,'subUnitId':_0x53eff3,'pivotTableId':_0x405ac9}});const _0x6cf570={...this[_0x406e13(0x1c4)]['getCollection'](_0x1acc2a,_0x405ac9)};_0x47a93f[_0x406e13(0x37a)]({'id':_0x45a670['id'],'params':{'unitId':_0x1acc2a,'subUnitId':_0x53eff3,'pivotTableId':_0x405ac9,'pivotTableConfig':_0x398c90,'collectionConfig':_0x6cf570}});}return{'redos':_0x15152b,'undos':_0x47a93f};}return{'redos':[],'undos':[]};}}));}};_0x337b30=_0x31140f([_0x237419(0x0,_0x3ec010[_0x501dc7(0x170)](_0x23e7ae[_0x501dc7(0x137)])),_0x237419(0x1,_0x3ec010[_0x501dc7(0x170)](_0x4d1fa4[_0x501dc7(0x1fb)]))],_0x337b30);var _0x3da2d7=Object[_0x501dc7(0x311)],_0x534dea=(_0x18af04,_0x55864c,_0x1ad092,_0x1a7227)=>{for(var _0x23ec71=_0x1a7227>0x1?void 0x0:_0x1a7227?_0x3da2d7(_0x55864c,_0x1ad092):_0x55864c,_0x171ac4=_0x18af04['length']-0x1,_0x519008;_0x171ac4>=0x0;_0x171ac4--)(_0x519008=_0x18af04[_0x171ac4])&&(_0x23ec71=_0x519008(_0x23ec71)||_0x23ec71);return _0x23ec71;},_0x19c35e=(_0x5b8644,_0x2ee5d8)=>(_0x189170,_0x1fedcd)=>_0x2ee5d8(_0x189170,_0x1fedcd,_0x5b8644);let _0x518c2d=class extends _0x3ec010[_0x501dc7(0x17f)]{constructor(_0x38ab06,_0x39ea6f,_0xf69165,_0xe658ae,_0xd5a600,_0x8517e7){const _0x5310c4=_0x501dc7;super(),this[_0x5310c4(0x2bf)]=_0x38ab06,this[_0x5310c4(0xf7)]=_0x39ea6f,this[_0x5310c4(0x102)]=_0xf69165,this[_0x5310c4(0x1c4)]=_0xe658ae,this[_0x5310c4(0x1ca)]=_0xd5a600,this['_activeDirtyManagerService']=_0x8517e7,this[_0x5310c4(0xb8)](),this['registerDirtyService']();}['_initDataSendListener'](){const _0x5c35d6=_0x501dc7;this[_0x5c35d6(0xbf)](this['_commandService'][_0x5c35d6(0x10f)](_0x339692=>{const _0x479ad4=_0x5c35d6;if(_0x339692['id']!==_0x3aaa9b['id'])return;const _0x1fc213=_0x339692['params'];this['_sheetsPivotRpcService'][_0x479ad4(0x166)](_0x1fc213);})),this[_0x5c35d6(0xbf)](this[_0x5c35d6(0x2bf)][_0x5c35d6(0x10f)](_0x40fe6d=>{const _0x1ad5da=_0x5c35d6;if(_0x40fe6d['id']===_0x3ed3b2['id']){const _0x2b5f99=_0x40fe6d[_0x1ad5da(0x2ff)];if(_0x2b5f99){const {unitId:_0x17bcff,subUnitId:_0x56c51d,oldSubUnitId:_0x425a9d,pivotTableId:_0x3cafa8,pivotTableConfig:_0x190ef2,collectionConfig:_0x504e97}=_0x2b5f99;this[_0x1ad5da(0x1c4)][_0x1ad5da(0x29d)](_0x17bcff,_0x425a9d,_0x2b5f99[_0x1ad5da(0x1a5)],null),this[_0x1ad5da(0x1c4)]['updateConfigCache'](_0x17bcff,_0x56c51d,_0x3cafa8,_0x190ef2),this[_0x1ad5da(0x1c4)]['updateCollectionConfig'](_0x17bcff,_0x504e97);}}})),this[_0x5c35d6(0xbf)](this[_0x5c35d6(0x2bf)][_0x5c35d6(0x10f)](_0x5d454c=>{const _0x34589f=_0x5c35d6;if(_0x5d454c['id']!==_0x96abfa['id'])return;const _0x26d510=_0x23e7ae[_0x34589f(0x325)](this[_0x34589f(0x1ca)]);if(!_0x26d510)return;const {unitId:_0xaeed4,subUnitId:_0x2be4e7}=_0x26d510,_0x178fb3=_0x5d454c[_0x34589f(0x2ff)];if(_0x178fb3[_0x34589f(0x2bd)]&&Object['keys'](_0x178fb3['collectionConfig'])[_0x34589f(0x189)](_0x1243be=>{const _0x3e7bd3=_0x34589f;var _0x362407;(_0x362407=_0x178fb3[_0x3e7bd3(0x2bd)])!=null&&_0x362407[_0x1243be]&&this[_0x3e7bd3(0x1c4)]['updateCollectionConfig'](_0x1243be,_0x178fb3[_0x3e7bd3(0x2bd)][_0x1243be]);}),_0x178fb3[_0x34589f(0xca)]){const _0x30ddf1=_0x178fb3[_0x34589f(0xca)],{unitId:_0x38f984,subUnitId:_0x897236,view:_0x3ea713,pivotTableId:_0x4063b6,type:_0x53433c,pivotConfig:_0x58a08d}=_0x30ddf1;if(_0x53433c===_0x284607[_0x34589f(0xcd)])this[_0x34589f(0x102)][_0x34589f(0x1a4)]({'unitId':_0x38f984,'subUnitId':_0x897236,'pivotTableId':_0x4063b6,'type':_0x53433c}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x38f984,_0x897236,_0x4063b6,null);else{const _0x48322d=new _0x2350f2[(_0x34589f(0x274))]();_0x48322d[_0x34589f(0x2d3)](_0x3ea713),this['_sheetsPivotTableConfigModel'][_0x34589f(0x29d)](_0x38f984,_0x897236,_0x4063b6,_0x58a08d),this[_0x34589f(0x102)][_0x34589f(0x1a4)]({'unitId':_0x38f984,'subUnitId':_0x897236,'pivotTableId':_0x4063b6,'type':_0x53433c,'view':_0x48322d}),this[_0x34589f(0x102)][_0x34589f(0x388)]({'unitId':_0x38f984,'subUnitId':_0x897236,'view':_0x48322d,'pivotTableId':_0x4063b6,'type':_0x53433c});}}else _0x178fb3['batch']&&(_0x178fb3[_0x34589f(0x1b3)][_0x34589f(0x189)](_0x1b0bcf=>{const _0x3012a5=_0x34589f,{unitId:_0x3da8ce,subUnitId:_0x1c8428,view:_0x2fba57,pivotTableId:_0x4ccb77,type:_0x295602,pivotConfig:_0x3692f0}=_0x1b0bcf,_0x48c07c=new _0x2350f2['PivotView']();_0x48c07c[_0x3012a5(0x2d3)](_0x2fba57),this[_0x3012a5(0x1c4)][_0x3012a5(0x29d)](_0x3da8ce,_0x1c8428,_0x4ccb77,_0x3692f0),this['_sheetsPivotTableAdaptorModel'][_0x3012a5(0x388)]({'unitId':_0x3da8ce,'subUnitId':_0x1c8428,'view':_0x48c07c,'pivotTableId':_0x4ccb77,'type':_0x295602});}),this[_0x34589f(0x1c4)][_0x34589f(0x1d5)]());this['_sheetsPivotTableAdaptorModel']['markDirty'](_0xaeed4,_0x2be4e7);}));}[_0x501dc7(0x2a6)](){const _0x4e2eda=_0x501dc7;this[_0x4e2eda(0xda)][_0x4e2eda(0x30d)](_0x5d2696['id'],{'commandId':_0x5d2696['id'],'getDirtyData'(_0x305535){return{'dirtyUnitFeatureMap':_0x305535['params']};}});}};_0x518c2d=_0x534dea([_0x19c35e(0x0,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x155)])),_0x19c35e(0x1,_0x3ec010[_0x501dc7(0x170)](_0x4d1fa4[_0x501dc7(0x18b)])),_0x19c35e(0x2,_0x3ec010[_0x501dc7(0x170)](_0x4d1fa4[_0x501dc7(0x2f2)])),_0x19c35e(0x3,_0x3ec010[_0x501dc7(0x170)](_0x4d1fa4['SheetsPivotTableConfigModel'])),_0x19c35e(0x4,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x3df)])),_0x19c35e(0x5,_0x1b07e0[_0x501dc7(0x3c3)])],_0x518c2d);var _0x52f4fc=Object[_0x501dc7(0x218)],_0x1d4a0a=Object[_0x501dc7(0x311)],_0xf553bb=(_0x260269,_0x2413da,_0x527a0c)=>_0x2413da in _0x260269?_0x52f4fc(_0x260269,_0x2413da,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x527a0c}):_0x260269[_0x2413da]=_0x527a0c,_0x2f6b4a=(_0x1c92f3,_0x57a414,_0x57b101,_0x471421)=>{const _0x12b05f=_0x501dc7;for(var _0x24ede8=_0x471421>0x1?void 0x0:_0x471421?_0x1d4a0a(_0x57a414,_0x57b101):_0x57a414,_0x40bbc0=_0x1c92f3[_0x12b05f(0x3a5)]-0x1,_0x57ee62;_0x40bbc0>=0x0;_0x40bbc0--)(_0x57ee62=_0x1c92f3[_0x40bbc0])&&(_0x24ede8=_0x57ee62(_0x24ede8)||_0x24ede8);return _0x24ede8;},_0x3f3fbb=(_0x34e0e5,_0x53715a)=>(_0x5207ba,_0x5cc042)=>_0x53715a(_0x5207ba,_0x5cc042,_0x34e0e5),_0x336359=(_0x4dbe9b,_0x36ad92,_0x5ebb6b)=>_0xf553bb(_0x4dbe9b,typeof _0x36ad92!=_0x501dc7(0x2f8)?_0x36ad92+'':_0x36ad92,_0x5ebb6b);_0x4d1fa4['UniverSheetsPivotTablePlugin']=class extends _0x3ec010[_0x501dc7(0x251)]{constructor(_0x3ee884=_0x1f2443,_0x41dd55,_0x2f2ba9,_0xe4282a,_0x222e61){const _0x2b70b2=_0x501dc7;super(),this[_0x2b70b2(0x123)]=_0x3ee884,this[_0x2b70b2(0x371)]=_0x41dd55,this[_0x2b70b2(0x2bf)]=_0x2f2ba9,this[_0x2b70b2(0x13d)]=_0xe4282a,this[_0x2b70b2(0xee)]=_0x222e61;const {..._0x53f28f}=_0x3ec010[_0x2b70b2(0x32f)]({},_0x1f2443,this['_config']);this['_configService'][_0x2b70b2(0x374)](_0x437f5e,_0x53f28f),this[_0x2b70b2(0x21d)](),this[_0x2b70b2(0x35d)]();}['_initConfig'](){const _0x1c61f8=_0x501dc7;var _0x3d3f97;const _0xd38dba=(_0x3d3f97=this['_config'])==null?void 0x0:_0x3d3f97[_0x1c61f8(0x2be)];this[_0x1c61f8(0x13d)][_0x1c61f8(0x374)](_0x49492b,_0xd38dba===!0x0);}[_0x501dc7(0x108)](){const _0x1a3f68=_0x501dc7;var _0x25eae7;let _0x497252=[];const _0x2392d5=(_0x25eae7=this[_0x1a3f68(0x123)])==null?void 0x0:_0x25eae7[_0x1a3f68(0x2be)];_0x2392d5===!0x0?_0x497252=[[_0x4d1fa4[_0x1a3f68(0x240)]],[_0x4d1fa4[_0x1a3f68(0x18b)]],[_0x518c2d],[_0x4d1fa4[_0x1a3f68(0x2f2)]],[_0x4d1fa4[_0x1a3f68(0x1fb)]],[_0x337b30],[_0x322cb0],[_0x283054],[_0x510db1]]:_0x2392d5===!0x1?_0x497252=[[_0x4d1fa4[_0x1a3f68(0x33a)]],[_0x7e8a2a]]:_0x2392d5===void 0x0&&(_0x497252=[[_0x4d1fa4[_0x1a3f68(0x33a)]],[_0x7e8a2a],[_0x4d1fa4[_0x1a3f68(0x240)]],[_0x4d1fa4[_0x1a3f68(0x18b)]],[_0x518c2d],[_0x4d1fa4['SheetsPivotTableAdaptorModel']],[_0x4d1fa4[_0x1a3f68(0x1fb)]],[_0x337b30],[_0x322cb0],[_0x283054],[_0x510db1]]),_0x497252[_0x1a3f68(0x189)](_0x2bc7a7=>this[_0x1a3f68(0x371)]['add'](_0x2bc7a7)),[_0x7e8a2a,_0x518c2d,_0x4d1fa4[_0x1a3f68(0x240)],_0x322cb0,_0x337b30,_0x283054,_0x510db1][_0x1a3f68(0x189)](_0xb12754=>{const _0x56f15c=_0x1a3f68;this['_injector'][_0x56f15c(0x284)](_0xb12754)&&this[_0x56f15c(0x371)][_0x56f15c(0x1d2)](_0xb12754);});}['_initRegisterCommand'](){const _0x4ac1c2=_0x501dc7;[_0x2b348a,_0x3328ec,_0x5a980e,_0x50435e,_0x4b9d0e,_0x1399f3,_0x96b162,_0x7f2e77,_0x535bb5,_0x123294,_0x1ab598,_0x261215,_0x107be1,_0x466d31,_0x45a670,_0x517475,_0x5b5c95,_0x345588,_0x5eb53e,_0x20d2d7,_0x37595e,_0x90849,_0x2d9f8b,_0x57c2b2,_0x3eb4ff,_0x4a0adf,_0x4446f4,_0xdd19b1,_0x3aaa9b,_0x96abfa,_0x4e110e,_0x6b4c9a,_0x44f64d,_0x333ca8,_0x1b6b45,_0x572a3c,_0x24a7b6,_0x5d2696,_0x3ed3b2,_0x4b00df,_0x3ffde0,_0x2d855a,_0x5b9d48][_0x4ac1c2(0x189)](_0x302684=>{const _0xa7ca4a=_0x4ac1c2;var _0x26135c;(_0x26135c=this[_0xa7ca4a(0xee)])==null||_0x26135c[_0xa7ca4a(0x2a9)](_0x302684),this[_0xa7ca4a(0x2bf)][_0xa7ca4a(0x118)](_0x302684);});}},_0x336359(_0x4d1fa4[_0x501dc7(0x3e0)],_0x501dc7(0x3bc),_0x4567c4),_0x336359(_0x4d1fa4[_0x501dc7(0x3e0)],_0x501dc7(0x286),_0x3ec010['UniverInstanceType'][_0x501dc7(0x128)]),_0x4d1fa4['UniverSheetsPivotTablePlugin']=_0x2f6b4a([_0x3ec010[_0x501dc7(0x380)](_0x2e18f4[_0x501dc7(0x2a2)]),_0x3f3fbb(0x1,_0x3ec010['Inject'](_0x3ec010[_0x501dc7(0x2c4)])),_0x3f3fbb(0x2,_0x3ec010[_0x501dc7(0x170)](_0x3ec010[_0x501dc7(0x155)])),_0x3f3fbb(0x3,_0x3ec010[_0x501dc7(0x2d4)]),_0x3f3fbb(0x4,_0x3ec010['Optional'](_0xad6e03[_0x501dc7(0x2e1)]))],_0x4d1fa4[_0x501dc7(0x3e0)]),_0x4d1fa4[_0x501dc7(0x187)]=_0x5a980e,_0x4d1fa4[_0x501dc7(0x39b)]=_0x345588,_0x4d1fa4[_0x501dc7(0x27a)]=_0x3328ec,_0x4d1fa4[_0x501dc7(0x2a1)]=_0x45a670,_0x4d1fa4[_0x501dc7(0x11d)]=_0x2b348a,_0x4d1fa4[_0x501dc7(0x3a8)]=_0x119d67,_0x4d1fa4[_0x501dc7(0xd3)]=_0xff2d0f,_0x4d1fa4['MovePivotFieldCommand']=_0x50435e,_0x4d1fa4[_0x501dc7(0x198)]=_0x107be1,_0x4d1fa4[_0x501dc7(0x233)]=_0x299d21,_0x4d1fa4[_0x501dc7(0x224)]=_0x466d31,_0x4d1fa4[_0x501dc7(0x393)]=_0x284607,_0x4d1fa4['PivotTableViewDirtyMarkOperation']=_0x5d2696,_0x4d1fa4[_0x501dc7(0xfb)]=_0x4975d8,_0x4d1fa4[_0x501dc7(0x2f4)]=_0x4b9d0e,_0x4d1fa4[_0x501dc7(0x278)]=_0x90849,_0x4d1fa4[_0x501dc7(0x13a)]=_0x5b5c95,_0x4d1fa4[_0x501dc7(0x18a)]=_0x2d9f8b,_0x4d1fa4['ResetPivotFieldsConfigCommand']=_0x5b9d48,_0x4d1fa4[_0x501dc7(0x248)]=_0x437f5e,_0x4d1fa4[_0x501dc7(0x204)]=_0x4567c4,_0x4d1fa4[_0x501dc7(0x146)]=_0x7f2e77,_0x4d1fa4[_0x501dc7(0x3b3)]=_0x57c2b2,_0x4d1fa4[_0x501dc7(0x3a1)]=_0x333ca8,_0x4d1fa4['SetPivotFieldsConfigCommand']=_0x2d855a,_0x4d1fa4[_0x501dc7(0xef)]=_0x123294,_0x4d1fa4[_0x501dc7(0x322)]=_0x37595e,_0x4d1fa4[_0x501dc7(0x28d)]=_0x4a0adf,_0x4d1fa4[_0x501dc7(0x202)]=_0x4446f4,_0x4d1fa4[_0x501dc7(0x1aa)]=_0x535bb5,_0x4d1fa4[_0x501dc7(0x1b2)]=_0x3eb4ff,_0x4d1fa4[_0x501dc7(0x265)]=_0x44f64d,_0x4d1fa4[_0x501dc7(0x3dd)]=_0x4b00df,_0x4d1fa4[_0x501dc7(0xe5)]=_0x3ffde0,_0x4d1fa4[_0x501dc7(0x1db)]=_0x96b162,_0x4d1fa4['UpdateFieldPositionMutation']=_0x4e110e,_0x4d1fa4[_0x501dc7(0x100)]=_0x1ab598,_0x4d1fa4[_0x501dc7(0x209)]=_0x24a7b6,_0x4d1fa4['UpdatePivotTableSourceRangeCommand']=_0x261215,_0x4d1fa4['UpdatePivotTableSourceRangeMutation']=_0x572a3c,_0x4d1fa4[_0x501dc7(0x225)]=_0x1399f3,_0x4d1fa4[_0x501dc7(0x1dd)]=_0x6b4c9a,_0x4d1fa4[_0x501dc7(0x168)]=_0x57fc0c,_0x4d1fa4[_0x501dc7(0x26d)]=_0xd07d80,_0x4d1fa4[_0x501dc7(0x2e6)]=_0x470f60,_0x4d1fa4[_0x501dc7(0x2a7)]=_0x1ed240,_0x4d1fa4['getAdjustRangesPosition']=_0xe5777b,_0x4d1fa4[_0x501dc7(0x1c1)]=_0x52cb4a,_0x4d1fa4[_0x501dc7(0xf0)]=_0x1903b3,_0x4d1fa4['getInsertRowColMutations']=_0x1efb63,_0x4d1fa4[_0x501dc7(0x3c8)]=_0x2f6cf5,_0x4d1fa4['getPivotInfoByLicense']=_0x2da912,_0x4d1fa4[_0x501dc7(0x2e8)]=_0x192c67,_0x4d1fa4['transFromCellValue']=_0x52ecb2,_0x4d1fa4[_0x501dc7(0x32e)]=_0x3873e6,Object['defineProperty'](_0x4d1fa4,Symbol[_0x501dc7(0x1e4)],{'value':_0x501dc7(0x19d)});}));function _0x1e05(){const _0x817c34=['updateConfig','sheet.mutation.set-pivot-format','sequenceExecute','_viewUpdate$','_onRefRangeChange','dataFieldId','rangesInfo','varp','setRangeValueRedoMutation','getFieldDataType','_pivotRenderValueMatrixCache','FieldsCollection','sortInfo','dispose','UniverInstanceType','level','getSortInfo','getUnitId','collectionConfig','notExecuteFormula','_commandService','pushComputingStatusSubject','getDirtyInfo','lastRow','setDateType','Injector','originTargetInfo','Date','leftOffset','valid','isDateGroupFieldJSON','UniverProLicense','token','sheets-pivot.countName','GrandTotal','NotNumber','MAX_SAFE_INTEGER','map','BehaviorSubject','Minute','formJSON','IConfigService','getPivotTableIdByCell','createCollectionWithDataRange','unshift','Product\x20of\x20','getInfo','sheets-pivot.dateGroup.minute','BaseGroupField','dateType','DEFAULT_WORKSHEET_COLUMN_COUNT','intersects','pushUndoRedo','addFieldWithSourceId','DataSyncPrimaryController','DataFieldManager','count','adjustSheetCellData','_sheetInterceptorService','defaultThemeStyle','sheet.command.set-pivot-sort','getPivotTableInfo','handleMoveRange','toJSON','var','getRangeData','getMatrixFromRunTimeData','splice','SetPivotCollapse','generateNewSheetName','2167928wHgRTA','SheetsPivotTableAdaptorModel','sheets-pivot.varpName','RemovePivotFieldCommand','addPivotField','options','_ensurePivotMap','symbol','PivotCellStyleTypeEnum','IResourceManagerService','valueFilter','RemovePivotField','_localeService','delete','params','info','Column','addPivotTableWithConfig','_initLocale','areaInfo','getUnit','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','setDataRecordCount','getValueFilterInfos','Year','subscribe','Month','colCount','register','clearExclusiveRangesByGroupId','interceptor','addCollectionByJSON','getOwnPropertyDescriptor','_initPivotTextInfo','getFieldById','setOptions','SetSubtotalType','unitId','isText','_pivotTableRangeInfo','substring','sheets-pivot.cellDateGroupDisplay.yearQuarter','setPivotFilter','cornerStyle','_pivotRenderInfoCache','filterInfo','_initViewModelBySheetInterceptor','ResetPivotTable','_featureCalculationManagerService','SetPivotFilterMutation','YearMonthDate','AddPivotTableWithConfig','getSheetCommandTarget','toString','Subject','isErrorValue','resetPivotTable','@univerjs/engine-render','getDataFieldManager','DIV_BY_ZERO','_getPivotAppliedRanges','unionPivotViewRange','merge','displayName','node','colHeaderMap','next','setFieldFormat','updateDirtyPivotTable','iterateFieldByArea','CommandType','pivotInitCompleted$','endColumn','SheetsPivotDataSourceModel','SetSheetsFilterRangeMutation','fontRenderExtension','_subjectCollectionChange','sheets-pivot.dateGroup.year','_initCommandInterceptListener','getSheetFeatureLimit','registerRefRange','RefRangeService','getMatrix','data','isNaN','amd','Values','sheets-pivot.sumName','tableFieldId','#eceeff','UniverEngineRender','Max\x20of\x20','row','DisposableCollection','fetchThroughAsyncInterceptors','updatePivotTableRangeInfo','sheet.mutation.get-pivot-data-local','_initUnitDisposed','_pivotInitCompleted$','getFilterInfo','getPivotDisplayConfig','CellValueType','sheets-pivot.emptyPivot.filter','_globalSubject','_host','sheets-pivot.varName','disposableCollection','sheet.mutation.update-date-group','_initConfig','PivotTableValuePositionEnum','6096qtdqmA','UpdateValuePosition','undos','getTypeOfUnitDisposed$','_dataFieldManagerCollection','rowCount','None','exports','sheets-pivot.cellDateGroupDisplay.quarter','InsertSheetMutation','getDisplayName','getLastCol','mergeWorksheetSnapshotWithDefault','_pivotTableMatrixInfo','refreshData','ErrorType','getFieldInfo','intercept','_injector','refreshDataField','REF','setConfig','filter','custom','sheet.command.set-pivot-field-setting','@univerjs/engine-formula','stdDev','push','SetWorksheetColWidthMutation','RemoveSheetCommand','sheets-pivot.cellDateGroupDisplay.yearMonthDate','resetArea','cornerInfo','DependentOn','getStyles','RenameField','sum','_init','444520BmBaTu','uniqueDataFieldName','sheets.tabs.sheet','updateRenderCache','sheet.command.add-pivot-field','getIndexesByPathStr','ClearSelectionContentCommand','valuePosition','rgb(240,241,243)','_queryingMap','limit\x20pivot','_requestResolvers','getRangeKeyList','getSubUnitPivotConfigs','PivotTableOperationEnum','deleteField','sheets-pivot.averageName','keys','updatePivotSource','getFieldFormat','UniverSheetsFilter','getMatrixValue','AddPivotFieldMutation','Range','measure','realDeleteValue','version','addRecord','SetPivotFieldFormatMutation','Rectangle','updateRangeKeyMap','UniverRpc','length','getDataFieldId','getColCount','BLANK_ROW_COUNT','getNoUsedDataFieldIds','filterId','#1d32e9','getInterceptPoints','_initRemoveSheetCommandInterceptor','HourMinute','sheets-pivot.cellDateGroupDisplay.date','InsertSheetUndoMutationFactory','fromJSON','_initClearSelectionCommandInterceptor','SetPivotCollapseMutation','query','getTargetByPivotTableId','156DmdpSW','GlobalComputingStatusService','setSourceName','removeSourceRangeChange','contains','removeCollectionImp','pluginName','getViewData','FORCE_STRING','_configVersion$','endRow','sheet.mutation.send-pivot-data-local','_subjectFieldsCollectionChange','IActiveDirtyManagerService','getLastRow','ptn','sheets-pivot.stdDevpName','addCollection','getPivotCellInfo','result','getDataFieldByTableId','sheet.mutation.pivot-update-value-position','slice','getSheetId','floor','getSubUnitPivotMatrix','18VPybou','pivotTableIndexConfig','oldMatrix','@univerjs/core','99iDCQFg','MUTATION','rxjs','isValue','sheet.mutation.add-pivot-table','MoveRangeCommand','sheet.command.update-pivot-value-position','sheet.mutation.remove-pivot-table','minDate','SetPivotValueFilterCommand','getPivotTableMatrixInfo','IUniverInstanceService','UniverSheetsPivotTablePlugin','#FFFFFF','_ensurePivotTableMatrixInfo','sheets-pivot.cellDateGroupDisplay.year','setPivotSort','InsertSheetCommand','setValuePivotFilter','sheet.command.move-pivot-table','getCurrentSelections','average','_initDataSendListener','p2MTiH5M\x206aTtO1iH5M(oHTaMBa,\x2012KoHTraO)\x20{\x20\x20\x20\x20itO\x20{\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x20oHTaMBavMp5CgtiEttgO\x20=\x20oHTaMBa.B1oHi(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x205tHDHMbaBBgDa\x20=\x2089Gd.1gtBa(gi5K(oHTaMBavMp5CgtiEttgO[J]));\x20\x20\x20\x20\x20\x20\x20\x20Hp\x20(!5tHDHMbaBBgDa.26)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205tHDHMbaBBgDa.26\x20=\x20d2WKat(oHTaMBavMp5CgtiEttgO[k]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x20HBS5tzat\x20=\x20iO1a5p\x20S5tzatFo5Kgo9T51a\x20!==\x20\x272M6apHMa6\x27\x20&&\x20Baop\x20HMBigMTa5p\x20S5tzatFo5Kgo9T51a;\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x20T5Miaei\x20=\x20HBS5tzat\x20?\x20Baop\x20:\x20yHM65y;\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x20WaBBgDaS5t6\x20=\x20T5Miaei.__NgBa0k__.1gtBa(oHTaMBavMp5CgtiEttgO[J]);\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x20WaBBgDa\x20=\x20T5Miaei.__7ae__.BitHMDHpO(WaBBgDaS5t6);\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x20BHDMgi2taS5t6\x20=\x20T5Miaei.__NgBa0k__.1gtBa(oHTaMBavMp5CgtiEttgO[c]);\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x20BHDMgi2ta\x20=\x20T5Miaei.__7ae__.BitHMDHpO(BHDMgi2taS5t6);\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x20BHDMZgoH6\x20=\x20T5Miaei.__YatHpO__(BHDMgi2ta,\x20WaBBgDa,\x2012KoHTraO);\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x2065WgHM\x20=\x205tHDHMbaBBgDa.6W;\x20\x20\x20\x20\x20\x20\x20\x20p2MTiH5M\x20HBR5WgHMbgiTXHMD(5CgiiatM,\x20575Bi)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x201giiatM\x20=\x205CgiiatM.ta1ogTa(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x20X5Bi\x20=\x20575Bi.ta1ogTa(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x201giiatMCgtiB\x20=\x201giiatM.B1oHi(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x20X5BiCgtiB\x20=\x20X5Bi.B1oHi(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hp\x20(!1giiatM.HMTo26aB(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tai2tM\x201giiatM\x20===\x20X5Bi;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hp\x20(1giiatMCgtiB.oaMDiX\x20<\x20J\x20||\x201giiatMCgtiB[l]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tai2tM\x20pgoBa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x201giiatM92ppHe\x20=\x201giiatMCgtiB.BoHTa(L).V5HM(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x20X5Bi92ppHe\x20=\x20X5BiCgtiB.BoHTa(-1giiatMCgtiB.oaMDiX\x20+\x20L).V5HM(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tai2tM\x201giiatM92ppHe\x20===\x20X5Bi92ppHe;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20oai\x2065WgHMZgoH6\x20=\x20(65WgHM\x20&&\x2065WgHM.oaMDiX)\x20?\x2065WgHM.B5Wa((6WviaW)\x20=>\x20HBR5WgHMbgiTXHMD(6WviaW,\x20o5TgiH5M.X5BiMgWa))\x20:\x20it2a;\x20\x20\x20\x20\x20\x20\x20\x20Hp\x20(o5TgiH5M.X5BiMgWa\x20===\x20\x27o5TgoX5Bi\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2065WgHMZgoH6\x20=\x20it2a;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20T5MBi\x20YgoH6\x20=\x20BHDMZgoH6\x20&&\x2065WgHMZgoH6;\x20\x20\x20\x20\x20\x20\x20\x20tai2tM\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YgoH6,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaBBgDa:\x205tHDHMbaBBgDa,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20TgiTX\x20(att5t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20tai2tM\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YgoH6:\x20pgoBa,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WaBBgDa:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','980340eerysC','Row','hasField','_ensureViewDataMap','generateHexNumber','disposeWithMe','some','sheet.mutation.set-pivot-collapse','setRangeKeyMap','concat','pageRanges','_generateUniqueVersion','Filter','sheets-pivot.emptyPivot.row','collapseInfo','message','single','startCollectChangeset','PivotTable','Delete','Count\x20of\x20','getDataFieldByRangeKey','getId','getUpdateRangeDeleteIds','PivotDataFieldDataTypeEnum','DEFAULT_PIVOT_NUMBER','fieldsConfig','queryDirtyPivotTable','valueFields','getSubtotal','setRangeValueUndoMutation','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','_activeDirtyManagerService','_initGlobalComputed','PivotTableChangeTypeEnum','addDirtyPivotTable','onQueryEnd','DrillDown','startColumn','_createExclusiveRange','\x20-\x20','PivotViewCellValueTypeEnum','endCollectChangeset','SetPivotValueFilterMutation','removeDataField','min','sheet.mutation.set-pivot-position','hasOwnProperty','col','sheets-pivot.dateGroup.quarter','set','isDateValue','_dataSyncPrimaryController','SetPivotFilterCommand','getFieldListByArea','2505540TXdxvN','getDataFieldItemInfo','DEFAULT_WORKSHEET_ROW_COUNT','20913060ronMCG','RemoveField','sheets-pivot.dateGroup.yearMonth','_sheetsPivotRpcService','needSameDeleteModel','sheet.mutation.send-init-pivot-text-local','NAME','PositionType','createAsyncInterceptorKey','UpdatePivotSource','1iJaWcj','originalFieldId','UpdatePivotFieldSettingCommand','setName','_sheetsPivotTableAdaptorModel','isEmpty','sheets-pivot.dateGroup.monthDate','rgb(255,255,255)','getValue','STRING','onStarting','SetPivotTableConfig','getPivotTableCellData','pivotPerformCheck','@univerjs/sheets','setRange','SetValueFilter','onCommandExecuted','getDate','getRefRangeMutationsByMoveRange','column','getColumnCount','PivotCallbackEnum','rowStyle','getCellMatrix','sheetName','registerCommand','sheet.mutation.set-pivot-sort-info','setValueFilterInfo','#f4f4f5','getTableFieldById','AddPivotTableWithConfigCommand','rowRanges','sheet.command.move-pivot-field','Set','_pivotTableInstanceCache','SetPivotFilter','_config','getOriginFieldId','sheets-pivot.dateGroup.date','pbt','sheet.command.add-pivot-table','UNIVER_SHEET','grandTotal','getFieldIds','setLabelFilterInfo','triggerDirtyFeature','sheets-pivot.emptyPivot.column','updateDataFieldsCollection','renameField','subUnitId','SetWorksheetActiveOperation','collections','addDataFieldWithoutUnitInfo','sheet.mutation.update-pivot-table-source-range','entries','refreshGroupField','SheetInterceptorService','error','setPivotTable','RemovePivotTableMutation','dataFieldManagerConfig','getValuePosition','_configService','getConfig','bind','drillDown','Div0','getRowCount','Var\x20of\x20','MonthDate','StdDevp\x20of\x20','SetPivotCollapseCommand','parseInt','includes','isFeatureAuthorizedWithinTime','_markDirty$','getPivotTableRangeInfo','handleSourceRangeChange','getCurrentUnitForType','isDate','SetOptions','cellValue','sheets-pivot.dateGroup.month','generateMutationsByRanges','configVersion$','from','ICommandService','getPivotPerformCheck','isDateGroupField','_pivotConfigChange$','_sheetsSelectionsService','broadcastCollectionChange','removePivotField','New','RANGE_TYPE','BadReference','_subjectViewChange','sheet.command.set-pivot-filter','size','getTextSize','panel','_exclusiveRangeService','_toJSON','handleAsyncResponse','return\x20','applyChangeSet','PivotErrorTypeEnum','viewUpdate$','targetCellInfo','sheet.command.remove-pivot-field','_ensurePivotItemRenderValueMatrixCache','redos','setPivotTableConfig','Inject','sheet.command.update-date-group','getName','dataRangeInfo','sheet.operation.pivot-table-view-formula-mark-dirty','sheets-pivot.columnName','interceptCommand','SHEET_PIVOT_IN_MAIN_THREAD','product','pivotMutationGenerate','sheet.command.set-pivot-value-filter','reduce','UniverCore','object','IUndoRedoService','Disposable','getSheets','sheet.mutation.set-pivot-field-subtotal-type','getDataFieldByDataFieldId','SetRangeValuesUndoMutationFactory','UniverSheets','sheets-pivot.dateGroup.yearQuarter','setCollapse','AddPivotFieldCommand','sourceRangeInfo','forEach','RenamePivotFieldMutation','SheetsPivotRPCService','LocaleService','sheet.mutation.add-group-collection','maxDate','getformat','_initSnapshot','DateGroupField','addField','colInfo','Style','COMMAND','getAutoDisplayNameFunction','getAutoDisplayName','MovePivotTableCommand','sheets-pivot.maxName','_refRangeHandle','rowHeaderMap','MovePivotField','Module','Quarter','getSheetBySheetName','NO_COMMERCIAL','sheets-pivot.grandTotal','setPivotCollapse','sheet.mutation.remove-group-collection','clearRenderCache','pivotTableId','range','stdDevp','max','SetRangeValuesMutation','SetPivotSortCommand','updateView','sheets-pivot.value','RemoveRowMutation','updateCollectionConfig','matrix','INTERCEPTOR_POINT','iterateFieldDim','SetPivotSortMutation','batch','updatePivotTableMatrixInfo','prefix','AddField','SetValuePivotFilter','rowFields','_collectionConfigModel','parse','generateRandomId','registerPluginResource','PivotSubtotalTypeEnum','ObjectMatrix','filterFields','rowInfo','getEmptyPivotRanges','_initPivotDataGetListener','updateValuePosition','_sheetsPivotTableConfigModel','sheets-pivot.config','getTargetByPivotId','_collectionChange$','createLabelField','getTextInfo','_univerInstanceService','asyncInterceptor','movePivotField','registerCallbackWithEvent','string','sheets-pivot.cellDateGroupDisplay.hour','_refRangeService','updateFieldSourceInfo','get','AddPivotField','_deleteModelCache','setPivotInitCompleted','IFeatureCalculationManagerService','_globalComputingSrv','Grand\x20Total','initDataRanges','_sheetsPivotDataSourceModel','UpdateDateGroupCommand','serializeRangeWithSpreadsheet','UpdateValuePositionMutation','getValueIndex','_model','MIN_SAFE_INTEGER','iterateField','@univerjs/rpc','getPivotItemRenderInfoCache','toStringTag','sheets-pivot.dateGroup.hourMinute','PivotMultipleValueId','viewData$','paths','sheet.mutation.rename-pivot-field','UniverProSheetsPivot','collectionChange$','_viewData$','markDirty$','getIntersectsPivotTable','removeField','Subtotal','2127486kEXNla','PIVOT_MUTATION_GENERATE','RemoveSheetsFilterMutation','NUM','isArray','SetFilterInfo','_globalComputedEndHelpFunc','getPivotTableInstance','ReleaseType','update','SheetsPivotTableConfigModel','NUMBER','columnFields','SHEET_PIVOT_EXCLUSIVE_ID','getFieldCountByArea','valueIndex','NotFunction','SetPivotPositionMutation','_resourceManagerService','SHEET_PIVOT_TABLE_PLUGIN','textInfo','setDisplayName','createDataFieldId','setTextInfo','UpdatePivotFieldSourceInfoMutation','PivotDateGroupFieldDateTypeEnum','random','width','getPivotDirtyViewInfo','Panel','find','sheets-pivot.cellDateGroupDisplay.month','getFieldPositionInfoById','#e6ebfa','Expand','name','_updateRenderEmptyCache','setSubtotalType','IExclusiveRangeService','defineProperty','updateAllDisplayName','getRangeStartEndInfo','Add','_updateModelCache','_initRegisterCommand','#e6ebfb','dimension','RemoveSheetMutation','deepClone','ClearSelectionAllCommand','rangeType','PivotDrillDownCommand','UpdatePivotValuePositionCommand','@univerjs-pro/engine-pivot','sourceName','updateViewInfo','numfmt','headerMap','UpdateSource','sheet.mutation.remove-pivot-field','getPivotTableConfig','dataFieldsCollection','getPivotTableModelConfig','sheet.command.update-pivot-table-source-range','sheet.mutation.send-pivot-config-local','sheet.mutation.pivot-update-field-position','PivotDisplayDataType','rangeKeyMap','_sheetsPivotTableService','SetPivotSort','getAutoFitColumnsMutations','tuple','lastCol','cellToRange','getSheetBySheetId','NotName','InsertRowMutation','_updatePivotTableInstanceCache','setDirty','SheetsPivotTableService','getDataFieldBySourceName','pivotConfigChange$','document','#b2b2b2','asObservable','leafStyle','executeCommand','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','sheet.mutation.pivot-update-field-source-info','startRow','PivotFilterTypeEnum','updateFieldPosition','excelDateToUnixMilliseconds','reset','getSourceName','sheets-pivot.countNumsName','Plugin','workbook\x20is\x20not\x20found','_getAutoName','sheet.mutation.set-pivot-filter','FontCache','collection','LS_CONFIG_KEY','oldRangeInfo','SetCollapse','Tools','subTotalStyle','removeValueFilterInfo','_textInfo','split','number','AddPivotTable','add','call','format','forValue','SetPivotSubtotalTypeMutation','_viewData','sheets-pivot.productName','stringify','value','ΣValue','@univerjs-pro/license','updateViewData','canUsePivot','removeValueFilterInfoByValueFieldId','@univerjs/sheets-filter','sheet.mutation.send-pivot-view-local','(Blank)','deleteDataField','CELL_CONTENT','PivotView','COLUMN','subtotal','generateNullCell','RemovePivotFieldMutation','versions','AddPivotTableCommand','getColumnWidth','_lifecycleService','Hour','values','setValue','colStyle','Average\x20of\x20','Column\x20','YearMonth','has','sheets-pivot.cellDateGroupDisplay.yearMonth','type','setPivotSetting','getHeaderMapItem','getActiveSheet','colRanges','forRow','SetPivotSetting','SetPivotOptionMutation','getCollection','dataFields','addExclusiveRange','removePivotTable','_ensurePivotItemRenderInfoCache','pivotTableConfigs','getMonth','deleteUnitId','addPivotTable','PivotTableFiledAreaEnum','_ensurePivotTableRangeInfo','YearQuarter','getCellRaw','SetSortInfo','sheets-pivot.dateGroup.yearMonthDate','updateConfigCache','InterceptorEffectEnum','removeCollections','_globalComputedStartHelpFunc','AddPivotTableMutation','UniverLicensePlugin','setSortInfo','7pcDGJl','getRangeKey','registerDirtyService','generateSetRangeValueMutations','ManualFilter','registerSyncingMutations','Value'];_0x1e05=function(){return _0x817c34;};return _0x1e05();}