@univerjs-pro/sheets-pivot 0.13.0-insiders.20251218-2062647 → 0.13.0-insiders.20251223-857805c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +39 -39
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3c4e90,_0x47cdba){const _0x18bf26=_0xfdbf,_0x567eb2=_0x3c4e90();while(!![]){try{const _0xfe6f3d=parseInt(_0x18bf26(0x152))/0x1*(parseInt(_0x18bf26(0x3f9))/0x2)+-parseInt(_0x18bf26(0x194))/0x3*(-parseInt(_0x18bf26(0x3af))/0x4)+parseInt(_0x18bf26(0x192))/0x5*(-parseInt(_0x18bf26(0x198))/0x6)+parseInt(_0x18bf26(0x1d4))/0x7+-parseInt(_0x18bf26(0x395))/0x8*(-parseInt(_0x18bf26(0x3fc))/0x9)+parseInt(_0x18bf26(0x32d))/0xa*(parseInt(_0x18bf26(0x1c2))/0xb)+-parseInt(_0x18bf26(0x37f))/0xc;if(_0xfe6f3d===_0x47cdba)break;else _0x567eb2['push'](_0x567eb2['shift']());}catch(_0xca9c2c){_0x567eb2['push'](_0x567eb2['shift']());}}}(_0x2ed3,0x2a8c7),function(_0x117931,_0x25b2ac){const _0x5bf72a=_0xfdbf;typeof exports==_0x5bf72a(0x260)&&typeof module<'u'?_0x25b2ac(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define=='function'&&define['amd']?define([_0x5bf72a(0x3a7),_0x5bf72a(0x200),'@univerjs/core','@univerjs/engine-formula',_0x5bf72a(0x1ac),_0x5bf72a(0x3d9),'@univerjs-pro/license',_0x5bf72a(0x15f),'@univerjs/rpc',_0x5bf72a(0x2ed)],_0x25b2ac):(_0x117931=typeof globalThis<'u'?globalThis:_0x117931||self,_0x25b2ac(_0x117931['UniverProSheetsPivot']={},_0x117931[_0x5bf72a(0x3e5)],_0x117931[_0x5bf72a(0x205)],_0x117931['UniverEngineFormula'],_0x117931[_0x5bf72a(0x292)],_0x117931[_0x5bf72a(0x3d9)],_0x117931[_0x5bf72a(0x1dd)],_0x117931[_0x5bf72a(0x15e)],_0x117931['UniverRpc'],_0x117931[_0x5bf72a(0x3f0)]));}(this,function(_0x4652af,_0x42fb89,_0x5475a7,_0x38ed7b,_0x20619b,_0xfe6fd0,_0x57119e,_0x4187b0,_0x3cbf50,_0x2a2a34){'use strict';const _0x37107d=_0xfdbf;var _0xa0444f=Object[_0x37107d(0x26f)],_0x1561c1=(_0x1ffa0a,_0x4d98ac,_0x273748)=>_0x4d98ac in _0x1ffa0a?_0xa0444f(_0x1ffa0a,_0x4d98ac,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x273748}):_0x1ffa0a[_0x4d98ac]=_0x273748,_0x33deac=(_0x4197b8,_0x43721d,_0x15151f)=>_0x1561c1(_0x4197b8,typeof _0x43721d!='symbol'?_0x43721d+'':_0x43721d,_0x15151f);const _0xb17d68=Number['parseInt'](0x69439c85),_0x55df66=0x10,_0x5dcb75=0x1,_0x55f144=_0x37107d(0x3cb),_0x42e754=0x1,_0x5d35e2=_0x37107d(0x29c),_0x52efc5=_0x37107d(0x316),_0x22618f='#b2b2b2',_0x141277=_0x37107d(0x339),_0x355341=_0x37107d(0x339),_0x322455=_0x37107d(0xfe),_0x3f6d66=_0x37107d(0x21b),_0x5570ac='#FFFFFF',_0x4b1221=_0x37107d(0x310),_0x4f0cdd=_0x37107d(0x21b),_0x267392='#FFFFFF',_0x506d2b='#e6ebfb',_0x5e5d68=0xe,_0x2f782f=0x6;var _0x570a84=(_0x5eb99a=>(_0x5eb99a['Existing']='existing',_0x5eb99a[_0x37107d(0x38e)]=_0x37107d(0x39b),_0x5eb99a))(_0x570a84||{});const _0x556f26={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0xdee6de=0x1e,_0x1fc2a3={'b':{'s':0x1,'cl':{'rgb':_0x22618f}},'l':{'s':0x1,'cl':{'rgb':_0x22618f}},'r':{'s':0x1,'cl':{'rgb':_0x22618f}},'t':{'s':0x1,'cl':{'rgb':_0x22618f}}},_0x2d442c={'bg':{'rgb':_0x5d35e2},'ht':0x2,'vt':0x2,'tb':0x1},_0xe48601={'bg':{'rgb':_0x52efc5},'ht':0x2,'vt':0x2,'tb':0x1},_0x1659df={'rowStyle':{'bg':{'rgb':_0x506d2b},'bd':_0x1fc2a3,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x4f0cdd},'bd':null,'cl':{'rgb':_0x267392},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x1fc2a3,'bg':{'rgb':_0x4b1221},'vt':0x2},'cornerStyle':{'bd':_0x1fc2a3,'bg':{'rgb':_0x322455},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x1fc2a3,'bg':{'rgb':_0x141277},'vt':0x2},'leafStyle':{'bd':_0x1fc2a3,'bg':{'rgb':_0x355341},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x3f6d66},'cl':{'rgb':_0x5570ac},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x1fc2a3,'vt':0x2}};function _0x26a8c7(_0x48e4d8,_0x341b62,_0x2d80ab){const _0x5abd64=_0x37107d,_0x39a913=_0x48e4d8[_0x5abd64(0xe4)](_0x5475a7[_0x5abd64(0xea)]),_0x495220=_0x2d80ab['split']('_');switch(_0x341b62){case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x1a8)]:return _0x39a913['t'](_0x5abd64(0x186),..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x2f6)]:return _0x39a913['t'](_0x5abd64(0x26c),..._0x495220);case _0x42fb89[_0x5abd64(0x159)]['Hour']:return _0x39a913['t'](_0x5abd64(0x321),..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x30e)]:return _0x39a913['t'](_0x5abd64(0x234),..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x244)]:return _0x39a913['t'](_0x5abd64(0x22f),..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x35b)]:return _0x39a913['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x109)]:return _0x39a913['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x13a)]:return _0x39a913['t'](_0x5abd64(0x276),..._0x495220);case _0x42fb89[_0x5abd64(0x159)][_0x5abd64(0x394)]:return _0x39a913['t'](_0x5abd64(0x1a7),..._0x495220);case _0x42fb89[_0x5abd64(0x159)]['YearQuarter']:return _0x39a913['t'](_0x5abd64(0x2aa),..._0x495220);}return'';}const _0xdc4591=(_0x2f940e,_0x3de298,_0x1be82b,_0x4ac4b2)=>{const _0x23140b=_0x37107d;let _0xbc1262;const _0x1b014f=_0x2f940e['get'](_0x5475a7[_0x23140b(0x14d)])[_0x23140b(0x104)](_0x5475a7[_0x23140b(0x179)][_0x23140b(0x1c4)]);if(!_0x1b014f)return null;const _0x121827=_0x1b014f['getStyles']();let _0x5bae5b;if(_0x1be82b&&(_0x5bae5b=_0x121827[_0x23140b(0x331)](_0x1be82b)),_0x3de298!=null&&_0x3de298['v']||(_0x3de298==null?void 0x0:_0x3de298['v'])===0x0){_0xbc1262||(_0xbc1262={});const _0x35b5a7=_0x39d4a8(_0x3de298['v']);typeof _0x35b5a7==_0x23140b(0x14a)?_0xbc1262['t']=_0x5475a7[_0x23140b(0x1e2)][_0x23140b(0x1f3)]:typeof _0x35b5a7==_0x23140b(0x188)&&(_0xbc1262['t']=_0x5475a7[_0x23140b(0x1e2)][_0x23140b(0x2c8)]),_0xbc1262['v']=_0x35b5a7;}if((_0x3de298!=null&&_0x3de298['i']||(_0x3de298==null?void 0x0:_0x3de298['i'])===0x0)&&(_0xbc1262||(_0xbc1262={}),_0xbc1262['fi']=_0x3de298['i']),_0x3de298!=null&&_0x3de298['s']&&(_0xbc1262||(_0xbc1262={}),_0xbc1262[_0x23140b(0x1fc)]=_0x3de298['s']),_0x1be82b&&(_0xbc1262||(_0xbc1262={}),_0xbc1262['s']=_0x5bae5b),_0x4ac4b2&&_0xbc1262!=null&&_0xbc1262['v']&&_0xbc1262['pbt']!==_0x42fb89[_0x23140b(0x273)][_0x23140b(0x2bc)]&&_0xbc1262[_0x23140b(0x1fc)]!==_0x42fb89[_0x23140b(0x273)][_0x23140b(0x350)]){const _0x1fa651=String(_0xbc1262['v']),{dateType:_0x222c95}=_0x4ac4b2;_0xbc1262['v']=_0x26a8c7(_0x2f940e,_0x222c95,_0x1fa651),_0xbc1262['t']=_0x5475a7[_0x23140b(0x1e2)][_0x23140b(0x2c8)];}return _0xbc1262;},_0x5b183b=(_0x5c2e68,_0x15faf4,_0x1661c5,_0x27d01e)=>{const _0x8e82a1=_0x37107d;var _0x494524,_0x46ea0b,_0x17bad0,_0x508bfd,_0x4db5c4,_0x34e0b3,_0x2a5cd9,_0x1d6d9e,_0x24f8ac,_0x4fda44,_0xd8b19f,_0x2ff8b2,_0xca4f1f,_0x1e87a0;const _0x5e38ee=_0x1661c5[_0x8e82a1(0x258)],{cornerView:_0x846014,rowView:_0x473977,colView:_0x3554fd,dataView:_0x344f17,pageView:_0x5266e3,formatMap:_0x597421,groupInfo:_0x39556b}=_0x15faf4,{row:_0x2a339c,col:_0x4af8f9}=_0x5e38ee,_0x44f7e8=new _0x5475a7[(_0x8e82a1(0x303))](),_0x4c0fa8={},_0x4db3b7={},_0x501c96={},_0x20cc2c={},_0x2c3d92={};let _0x3254cb=_0x2a339c,_0x43d9f8=_0x4af8f9;Object[_0x8e82a1(0x33b)](_0x5266e3[_0x8e82a1(0x402)])['forEach'](_0x4e3d03=>{const _0x332ba9=_0x8e82a1;Object['keys'](_0x5266e3[_0x332ba9(0x402)][Number(_0x4e3d03)])[_0x332ba9(0x15d)](_0x484bb5=>{const _0x329365=_0x332ba9,_0x416311={..._0x5266e3[_0x329365(0x402)][Number(_0x4e3d03)][Number(_0x484bb5)]};_0x44f7e8[_0x329365(0x331)](Number(_0x4e3d03)+_0x3254cb,Number(_0x484bb5)+_0x43d9f8,_0xdc4591(_0x5c2e68,_0x416311,_0x1659df[_0x329365(0x380)]));});});const _0x5e12de=Object['keys'](_0x5266e3[_0x8e82a1(0x402)])[_0x8e82a1(0x298)];_0x3254cb+=_0x5e12de+(_0x5e12de?_0x42e754:0x0);const _0x3166c9=_0x846014['getRowCount'](),_0x2a1c6a=_0x846014[_0x8e82a1(0x32e)]();for(let _0x25e37b=0x0;_0x25e37b<_0x3166c9;_0x25e37b++)for(let _0x5e2f84=0x0;_0x5e2f84<_0x2a1c6a;_0x5e2f84++){const _0x217a12={...(_0x46ea0b=(_0x494524=_0x846014[_0x8e82a1(0x402)])==null?void 0x0:_0x494524[_0x25e37b])==null?void 0x0:_0x46ea0b[_0x5e2f84]};_0x217a12&&((_0x17bad0=_0x473977['headerMap'][_0x5e2f84])!=null&&_0x17bad0[_0x8e82a1(0x382)])&&_0x5e2f84===_0x2a1c6a-0x1&&_0x25e37b===_0x3166c9-0x1&&(_0x217a12['v']=''+_0x27d01e['sheets-pivot.value']),_0x44f7e8[_0x8e82a1(0x331)](_0x25e37b+_0x3254cb,_0x5e2f84+_0x43d9f8,_0xdc4591(_0x5c2e68,_0x217a12,_0x1659df[_0x8e82a1(0x284)]));}for(let _0x27e91d=0x0;_0x27e91d<_0x846014[_0x8e82a1(0x2b4)][_0x8e82a1(0x298)];_0x27e91d++)_0x846014[_0x8e82a1(0x2b4)][_0x27e91d]&&(_0x501c96[''+(_0x27e91d+_0x43d9f8)]=_0x846014[_0x8e82a1(0x2b4)][_0x27e91d]);_0x43d9f8+=_0x2a1c6a;const _0x3fde04=_0x3554fd[_0x8e82a1(0x2d9)],_0x4ff3d0=_0x3554fd[_0x8e82a1(0x11f)]()>=0x0?_0x3554fd[_0x8e82a1(0x11f)]()+0x1:0x0,_0x48258f=_0x3554fd['getLastCol']()>=0x0?_0x3554fd[_0x8e82a1(0x29d)]()+0x1:0x0;for(let _0x173e18=0x0;_0x173e18<_0x48258f;_0x173e18++){for(let _0x8cfbb4=0x0;_0x8cfbb4<_0x4ff3d0;_0x8cfbb4++){const _0x4aeae4={...(_0x4db5c4=(_0x508bfd=_0x3554fd[_0x8e82a1(0x402)])==null?void 0x0:_0x508bfd[_0x8cfbb4])==null?void 0x0:_0x4db5c4[_0x173e18]},_0x466bfd=(_0x34e0b3=_0x3fde04[_0x8cfbb4])==null?void 0x0:_0x34e0b3[_0x8e82a1(0x327)],_0x55a50b=_0x597421[_0x466bfd],_0x217661=_0x39556b[_0x466bfd];_0x4aeae4&&(_0x4aeae4['v']=_0x31fcf3(_0x4aeae4,_0x8cfbb4===0x0&&((_0x2a5cd9=_0x3554fd[_0x8e82a1(0x35d)](_0x173e18+0x1))==null?void 0x0:_0x2a5cd9['isValue']),_0x55a50b,_0x27d01e));let _0x3cde30;_0x55a50b?_0x3cde30={..._0x1659df[_0x8e82a1(0x1a3)],'n':{'pattern':_0x55a50b}}:_0x3cde30={..._0x1659df[_0x8e82a1(0x1a3)]},_0x44f7e8[_0x8e82a1(0x331)](_0x8cfbb4+_0x3254cb,_0x173e18+_0x43d9f8,_0xdc4591(_0x5c2e68,_0x4aeae4,_0x3cde30,_0x217661));}_0x3554fd[_0x8e82a1(0x2b4)][_0x173e18]&&(_0x4db3b7[''+(_0x173e18+_0x43d9f8)]=_0x3554fd[_0x8e82a1(0x2b4)][_0x173e18]),_0x3554fd[_0x8e82a1(0x2d9)][_0x173e18+0x1]&&(_0x2c3d92[''+(_0x173e18+_0x3254cb+0x1)]=_0x3554fd[_0x8e82a1(0x2d9)][_0x173e18+0x1]);}_0x3254cb+=_0x3166c9;const _0x1b01bc=_0x473977[_0x8e82a1(0x2d9)],_0x5f246f=_0x473977[_0x8e82a1(0x11f)]()>=0x0?_0x473977['getLastRow']()+0x1:0x0,_0x1cf721=_0x473977[_0x8e82a1(0x29d)]()>=0x0?_0x473977[_0x8e82a1(0x29d)]()+0x1:0x0;for(let _0x11c6a2=0x0;_0x11c6a2<_0x5f246f;_0x11c6a2++){for(let _0x408776=0x0;_0x408776<_0x1cf721;_0x408776++){const _0x50e4d8={...(_0x24f8ac=(_0x1d6d9e=_0x473977[_0x8e82a1(0x402)])==null?void 0x0:_0x1d6d9e[_0x11c6a2])==null?void 0x0:_0x24f8ac[_0x408776]},_0x4df66d=(_0x4fda44=_0x1b01bc[_0x408776])==null?void 0x0:_0x4fda44[_0x8e82a1(0x327)],_0x557ed5=_0x597421[_0x4df66d],_0x3521da=_0x39556b[_0x4df66d];_0x50e4d8&&(_0x50e4d8['v']=_0x31fcf3(_0x50e4d8,!0x1,_0x557ed5,_0x27d01e));let _0x5f2e3d;_0x473977[_0x8e82a1(0x2b4)][_0x11c6a2][_0x8e82a1(0x34a)]===_0x473977[_0x8e82a1(0x32e)]()?_0x5f2e3d=_0x1659df['leafStyle']:_0x473977[_0x8e82a1(0x2b4)][_0x11c6a2][_0x8e82a1(0x3c2)]?_0x5f2e3d=_0x473977[_0x8e82a1(0x2b4)][_0x11c6a2][_0x8e82a1(0x34a)]===0x0?_0x1659df[_0x8e82a1(0x118)]:_0x1659df[_0x8e82a1(0x388)]:_0x5f2e3d=_0x1659df[_0x8e82a1(0x1e1)],_0x557ed5&&(_0x5f2e3d={..._0x5f2e3d,'n':{'pattern':_0x557ed5}}),_0x44f7e8['setValue'](_0x11c6a2+_0x3254cb,_0x408776+_0x4af8f9,_0xdc4591(_0x5c2e68,_0x50e4d8,_0x5f2e3d,_0x3521da));}_0x473977[_0x8e82a1(0x2b4)][_0x11c6a2]&&(_0x4c0fa8[''+(_0x11c6a2+_0x3254cb)]=_0x473977['info'][_0x11c6a2]),_0x473977[_0x8e82a1(0x2d9)][_0x11c6a2]&&(_0x20cc2c[''+(_0x11c6a2+_0x4af8f9)]=_0x473977[_0x8e82a1(0x2d9)][_0x11c6a2]);}const _0x5c61b7=_0x344f17[_0x8e82a1(0x37e)](),_0x392934=_0x344f17[_0x8e82a1(0x32e)]();for(let _0x3a5eb8=0x0;_0x3a5eb8<_0x5c61b7;_0x3a5eb8++)for(let _0x29d8dd=0x0;_0x29d8dd<_0x392934;_0x29d8dd++){const _0x34b9d7={...(_0x2ff8b2=(_0xd8b19f=_0x344f17[_0x8e82a1(0x402)])==null?void 0x0:_0xd8b19f[_0x3a5eb8])==null?void 0x0:_0x2ff8b2[_0x29d8dd]};let _0x5884dd;_0x473977[_0x8e82a1(0x2b4)][_0x3a5eb8]['isBottomTotal']?_0x5884dd=_0x473977['info'][_0x3a5eb8][_0x8e82a1(0x34a)]===0x0?_0x1659df['grandTotal']:_0x1659df[_0x8e82a1(0x388)]:_0x5884dd=_0x1659df[_0x8e82a1(0x2a8)];const _0x2b1357=_0x473977[_0x8e82a1(0x2b4)][_0x3a5eb8][_0x8e82a1(0x120)],_0x469999=_0x3554fd[_0x8e82a1(0x2b4)][_0x29d8dd]['valueIndex'],_0xb42ff1=Math[_0x8e82a1(0x23f)](_0x2b1357,_0x469999),_0x19c499=_0x1661c5[_0x8e82a1(0x311)]['valueFields'][_0x8e82a1(0x251)]();let _0x45eb50='';_0xb42ff1<0x0?_0x45eb50=(_0xca4f1f=_0x19c499[0x0])!=null?_0xca4f1f:'':_0x45eb50=(_0x1e87a0=_0x19c499[_0xb42ff1])!=null?_0x1e87a0:'';const _0x2ce975=_0x597421[_0x45eb50];_0x2ce975&&(_0x5884dd={..._0x5884dd,'n':{'pattern':_0x2ce975}}),_0x44f7e8[_0x8e82a1(0x331)](_0x3a5eb8+_0x3254cb,_0x29d8dd+_0x43d9f8,_0xdc4591(_0x5c2e68,_0x34b9d7,_0x5884dd));}return{'valueMatrix':_0x44f7e8,'rowInfo':_0x4c0fa8,'colInfo':_0x4db3b7,'cornerInfo':_0x501c96,'rowHeaderMap':_0x20cc2c,'colHeaderMap':_0x2c3d92};};function _0x31fcf3(_0xac774c,_0x38dab0,_0xb92c17,_0x5ac431){const _0x19c60d=_0x37107d;let _0x34db44=_0xac774c['v'];_0x38dab0&&(_0x34db44=''+_0x5ac431[_0x19c60d(0x354)]);const _0x2e00b1=_0xac774c['t']&&(_0xac774c['t']&_0x42fb89[_0x19c60d(0x18f)][_0x19c60d(0x33d)])>0x0;_0x2e00b1&&(_0x34db44=''+_0x5ac431[_0x19c60d(0x289)]);const _0x5d7f35=_0xac774c['t']&&(_0xac774c['t']&_0x42fb89[_0x19c60d(0x18f)][_0x19c60d(0x25d)])>0x0;if(_0x5d7f35&&(_0x34db44=''+_0x5ac431[_0x19c60d(0x189)]),_0xac774c['s']===_0x42fb89[_0x19c60d(0x273)][_0x19c60d(0x350)]){let _0x198f7a=_0x34db44,_0x1b9e48='';_0x42fb89['isPrefixValue'](_0x34db44)&&(_0x198f7a=_0x34db44[_0x19c60d(0xf7)],_0x1b9e48=_0x34db44[_0x19c60d(0x28d)]);const _0x108fa6=_0xb92c17&&!_0x2e00b1&&!_0x5d7f35?_0x5475a7['numfmt'][_0x19c60d(0x1b7)](_0xb92c17,Number(_0x198f7a)):_0x198f7a;_0x1b9e48?_0x34db44=_0x108fa6+'\x20'+_0x1b9e48:_0x34db44=_0x108fa6+'\x20'+_0x5ac431['sheets-pivot.subTotal'];}else _0xac774c['s']===_0x42fb89['PivotCellStyleTypeEnum'][_0x19c60d(0x2bc)]&&(_0x34db44=_0x34db44+'\x20'+_0x5ac431[_0x19c60d(0x1ea)]);return _0x34db44;}function _0x39d4a8(_0x3b28d3){const _0x26460e=_0x37107d;if(_0x42fb89[_0x26460e(0x147)](_0x3b28d3)){const {errorType:_0x55d757}=_0x3b28d3;switch(_0x55d757){case _0x42fb89[_0x26460e(0x243)][_0x26460e(0x15a)]:return _0x38ed7b[_0x26460e(0xf6)][_0x26460e(0x300)];case _0x42fb89[_0x26460e(0x243)][_0x26460e(0xfc)]:return _0x38ed7b['ErrorType'][_0x26460e(0x248)];case _0x42fb89[_0x26460e(0x243)][_0x26460e(0x392)]:return _0x38ed7b[_0x26460e(0xf6)][_0x26460e(0x111)];case _0x42fb89[_0x26460e(0x243)][_0x26460e(0x1b2)]:return _0x38ed7b[_0x26460e(0xf6)]['NAME'];case _0x42fb89['PivotErrorTypeEnum'][_0x26460e(0x3c0)]:return _0x38ed7b['ErrorType']['REF'];}}return _0x3b28d3;}function _0x5c1d7f(_0x5a438a,_0xc93cce,_0x181df5=!0x1,_0x2eca4d=!0x1){const _0x2b2410=_0x37107d,{data:_0x7088ce}=_0xc93cce,_0x24cdf7=_0xc93cce[_0x2b2410(0x37e)](),_0x13a6a6=_0xc93cce[_0x2b2410(0x32e)]();if(_0x24cdf7<=0x0||_0x13a6a6<=0x0)return[];const _0xaac351=_0xc93cce[_0x2b2410(0x29d)](),_0x484a9e=_0xc93cce[_0x2b2410(0x11f)](),_0x543fdf=_0x2eca4d?_0x484a9e>=0x0?_0x484a9e+0x1:0x0:_0x24cdf7,_0x408360=_0x2eca4d?_0xaac351>=0x0?_0xaac351+0x1:0x0:_0x13a6a6,{row:_0x4223a9,col:_0xe1641e}=_0x5a438a,_0x43f5b5=_0x4223a9,_0x1c5792=_0xe1641e;if(_0x181df5){const _0x40d95b=[];for(const [_0x507f32,_0x131629]of Object[_0x2b2410(0x336)](_0x7088ce))for(const [_0x549643,_0x15b7cb]of Object[_0x2b2410(0x336)](_0x131629))_0x40d95b[_0x2b2410(0x229)](_0x5475a7[_0x2b2410(0x2f7)](_0x43f5b5+Number(_0x507f32),_0x1c5792+Number(_0x549643)));return _0x40d95b;}else{const _0x257e0a=_0x2eca4d?_0x543fdf>0x0?0x1:0x0:0x1,_0x56d4c7=_0x2eca4d?_0x408360>0x0?0x1:0x0:0x1,_0x10df05=_0x4223a9+_0x543fdf-_0x257e0a,_0x535992=_0xe1641e+_0x408360-_0x56d4c7;return[{'startRow':_0x43f5b5,'startColumn':_0x1c5792,'endRow':_0x10df05,'endColumn':_0x535992}];}}const _0x4aadc7=_0x37107d(0x17e),_0x2bc9f8=_0x37107d(0x3a3);var _0x12f3cf=(_0x303b93=>(_0x303b93['Filter']=_0x37107d(0x183),_0x303b93[_0x37107d(0x181)]='panel',_0x303b93['AddPivotField']=_0x37107d(0x1de),_0x303b93[_0x37107d(0x1f1)]='AddPivotTableWithConfig',_0x303b93[_0x37107d(0x2b6)]='addPivotTable',_0x303b93['MovePivotField']='movePivotField',_0x303b93[_0x37107d(0x240)]='removePivotField',_0x303b93[_0x37107d(0x3a6)]='setPivotCollapse',_0x303b93[_0x37107d(0x15c)]=_0x37107d(0x127),_0x303b93[_0x37107d(0x3d4)]=_0x37107d(0x2a7),_0x303b93[_0x37107d(0x2dd)]=_0x37107d(0x26a),_0x303b93[_0x37107d(0x409)]=_0x37107d(0x2ab),_0x303b93[_0x37107d(0x173)]=_0x37107d(0x30c),_0x303b93[_0x37107d(0x3f1)]='drillDown',_0x303b93[_0x37107d(0x1ec)]=_0x37107d(0x404),_0x303b93['SetPivotTableConfig']=_0x37107d(0x1d1),_0x303b93[_0x37107d(0x377)]=_0x37107d(0x115),_0x303b93))(_0x12f3cf||{});const _0x28f93c={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x37107d(0xe6),'sheets-pivot.subTotalText':_0x37107d(0x306),'sheets-pivot.grandTotalText':_0x37107d(0x1bd),'sheets-pivot.valueText':_0x37107d(0x135),'sheets-pivot.averageName':_0x37107d(0x1be),'sheets-pivot.countName':_0x37107d(0x2a3),'sheets-pivot.countNumsName':_0x37107d(0x2a3),'sheets-pivot.maxName':_0x37107d(0x32f),'sheets-pivot.minName':_0x37107d(0x2cf),'sheets-pivot.productName':_0x37107d(0x351),'sheets-pivot.stdDevName':_0x37107d(0x403),'sheets-pivot.stdDevpName':_0x37107d(0x10f),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x37107d(0x271),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x37107d(0x1bd),'sheets-pivot.value':_0x37107d(0x28d),'sheets-pivot.blank':_0x37107d(0x33d),'sheets-pivot.other':_0x37107d(0x25d),'sheets-pivot.emptyPivot.filter':_0x37107d(0x2ff),'sheets-pivot.emptyPivot.row':_0x37107d(0x1c6),'sheets-pivot.emptyPivot.column':_0x37107d(0x1bc),'sheets-pivot.emptyPivot.values':_0x37107d(0x12d)},_0x33ea83={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x510c1a=_0x5475a7[_0x37107d(0x1c0)](_0x37107d(0x33a)),_0x359ef9=_0x5475a7[_0x37107d(0x124)](_0x37107d(0x201));var _0x2863ee=(_0x57ce4d=>(_0x57ce4d['add']='add',_0x57ce4d['delete']=_0x37107d(0x27b),_0x57ce4d[_0x37107d(0x1e0)]=_0x37107d(0x1e0),_0x57ce4d))(_0x2863ee||{}),_0x5865c2=(_0x59f1ff=>(_0x59f1ff[_0x37107d(0x282)]=_0x37107d(0x105),_0x59f1ff[_0x37107d(0x1f6)]='set',_0x59f1ff[_0x37107d(0x108)]='delete',_0x59f1ff))(_0x5865c2||{});const _0x4fcc0a={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':_0x37107d(0x2f8),'handler':()=>!0x0},_0x565331={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x892c58={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x326687={'type':_0x5475a7[_0x37107d(0x3ce)]['MUTATION'],'id':_0x37107d(0x165),'handler':()=>!0x0},_0x560a95={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var _0x59f660=Object[_0x37107d(0x141)],_0x218c3d=(_0x4b61da,_0x150a26,_0x7b276,_0x1d67a2)=>{for(var _0x31d4da=_0x1d67a2>0x1?void 0x0:_0x1d67a2?_0x59f660(_0x150a26,_0x7b276):_0x150a26,_0x4dfdd5=_0x4b61da['length']-0x1,_0x305aa3;_0x4dfdd5>=0x0;_0x4dfdd5--)(_0x305aa3=_0x4b61da[_0x4dfdd5])&&(_0x31d4da=_0x305aa3(_0x31d4da)||_0x31d4da);return _0x31d4da;},_0x4fbc3a=(_0x45cefd,_0x212ce9)=>(_0x4730e,_0x43e09b)=>_0x212ce9(_0x4730e,_0x43e09b,_0x45cefd);_0x4652af[_0x37107d(0x1d6)]=class extends _0x5475a7[_0x37107d(0x401)]{constructor(_0xdf3560){const _0x48c068=_0x37107d;super(),_0x33deac(this,_0x48c068(0x2e9),new Map()),this[_0x48c068(0x2e0)]=_0xdf3560;}[_0x37107d(0x2e7)](_0x34f6cc){const _0x1bcf07=_0x37107d,{version:_0x4a5c3a}=_0x34f6cc,_0x1ec6d5=this['_requestResolvers'][_0x1bcf07(0xe4)](_0x4a5c3a);_0x1ec6d5&&(_0x1ec6d5(_0x34f6cc),this[_0x1bcf07(0x2e9)][_0x1bcf07(0x27b)](_0x4a5c3a));}['getPivotDisplayConfig'](_0x173205){return new Promise((_0x54238c,_0x3f08ea)=>{const _0x236b9a=_0xfdbf,_0x395ca1=this[_0x236b9a(0x2af)]();this[_0x236b9a(0x2e9)]['set'](_0x395ca1,_0x54238c),this[_0x236b9a(0x2e0)][_0x236b9a(0x11a)](_0x4fcc0a['id'],{'version':_0x395ca1,..._0x173205},{'onlyLocal':!0x0});});}[_0x37107d(0x2af)](){const _0x15b63e=_0x37107d;return Math[_0x15b63e(0x405)]()[_0x15b63e(0x36d)](0x24)['substring'](0x2,0x10);}},_0x4652af[_0x37107d(0x1d6)]=_0x218c3d([_0x4fbc3a(0x0,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x3d6)]))],_0x4652af[_0x37107d(0x1d6)]);const _0x380d80={0x0:'B',0x1:'O',0x2:'K',0x3:'w',0x4:'L',0x5:'T',0x6:'Z',0x7:'7',0x8:'p',0x9:'C','S':'0','n':'1','P':'2','u':'3','D':'4','M':'5','g':'6','Q':'8','j':'9','r':'a','l':'b','H':'c','N':'d','m':'e','G':'f','y':'g','X':'h','z':'i','F':'j','f':'k','E':'l','s':'m','x':'n','p':'o','d':'q','c':'r','w':'s','J':'t','b':'u','K':'v','A':'x','R':'y','O':'z','V':'A','i':'D','T':'E','t':'F','C':'G','B':'H','h':'I','W':'J','U':'M','q':'N','Z':'P','v':'Q','L':'R','k':'S','e':'U','Y':'V','a':'W','o':'X','I':'Y'},_0x30422d=_0x37107d(0x1b8),_0x475d92=_0x51ef29=>{const _0x263ba8=_0x37107d;var _0x3c9e84;return((_0x3c9e84=_0x51ef29[_0x263ba8(0x149)])==null?void 0x0:_0x3c9e84[_0x263ba8(0xfd)][_0x263ba8(0x10d)](/\r\n$/,''))||'';};class _0x116639 extends _0x42fb89[_0x37107d(0x3cf)]{constructor(_0x2a4f11,_0x186abd){const _0x408af1=_0x37107d;super(),_0x33deac(this,_0x408af1(0x352),{}),_0x33deac(this,_0x408af1(0x2d4)),_0x33deac(this,_0x408af1(0x25e)),(this[_0x408af1(0x2d4)]=_0x186abd,this[_0x408af1(0x25e)]=_0x2a4f11);}['initDataRanges'](){const _0x5a638c=_0x37107d;for(const _0x6cb06d in this[_0x5a638c(0x254)]){const _0x3c9482=this['dataFields'][_0x6cb06d],_0x150899=_0x3c9482[_0x5a638c(0x1f8)]();this[_0x5a638c(0x352)][_0x150899]=_0x3c9482[_0x5a638c(0x193)]();}}[_0x37107d(0x16d)](){const _0x5459ec=_0x37107d,_0x10b4ce=this[_0x5459ec(0x25e)];return _0x45fa5a[_0x5459ec(0x136)](_0x10b4ce);}[_0x37107d(0x3a0)](_0x444a6d){const _0x41b200=_0x37107d,_0x1f8ab7=this[_0x41b200(0x254)][_0x444a6d]['rangeKey'];delete this[_0x41b200(0x254)][_0x444a6d],delete this['rangeKeyMap'][_0x1f8ab7];}[_0x37107d(0x36a)](_0x5f351e){this['dataFields'][_0x5f351e['getId']()]=_0x5f351e;}[_0x37107d(0x30d)](_0x212509){const _0x47551d=_0x37107d;var _0x3b76d4,_0x493c9d;const _0x15c9a8=this[_0x47551d(0x25e)][_0x47551d(0x3c7)](_0x212509);if(_0x15c9a8){const {unitId:_0x72eb8b,subUnitId:_0x5deb5c}=_0x15c9a8,_0x186678=(_0x3b76d4=this[_0x47551d(0x25e)][_0x47551d(0x36b)](_0x72eb8b,_0x5deb5c,_0x212509))==null?void 0x0:_0x3b76d4[_0x47551d(0x2fd)];this['_host'][_0x47551d(0x1b3)]({'token':_0x212509,'type':_0x2863ee[_0x47551d(0x27b)],'dataRangeInfo':_0x186678});}(_0x493c9d=this['getCollection'](_0x212509))==null||_0x493c9d[_0x47551d(0x191)](),delete this[_0x47551d(0x3b9)][_0x212509];}[_0x37107d(0x1f8)](_0x31077b,_0x206c5b){const _0x24b10b=_0x37107d,{sheetName:_0x3fa078,unitId:_0x129bd2,range:_0x27f738}=_0x31077b,{startRow:_0x5d3562,endRow:_0x516ee7}=_0x27f738;return _0x38ed7b[_0x24b10b(0x3bc)](_0x129bd2,_0x3fa078,{'startRow':_0x5d3562,'endRow':_0x516ee7,'startColumn':_0x206c5b,'endColumn':_0x206c5b});}[_0x37107d(0x1ad)](_0x1252d7){const _0x50057c=_0x37107d;return this[_0x50057c(0x254)][this[_0x50057c(0x352)][_0x1252d7]];}['setRangeKeyMap'](_0x3f83dd,_0x24111d){const _0x461861=_0x37107d;this[_0x461861(0x352)][_0x3f83dd]=_0x24111d;}[_0x37107d(0x23c)](_0x22305a,_0x14d6bf){const _0x438d71=_0x37107d;this[_0x438d71(0x352)][_0x14d6bf]=this['rangeKeyMap'][_0x22305a],delete this[_0x438d71(0x352)][_0x22305a];}['addCollectionByJSON'](_0x2c7824,_0x560a8a,_0x386fbd,_0x57a784){const _0x51cc5f=_0x37107d,_0x26ff07=new _0x42fb89[(_0x51cc5f(0x408))](this);_0x26ff07[_0x51cc5f(0x328)](_0x560a8a);const _0x35cc00=[];let _0x3de3a1=0x0;for(const _0x4d1c20 of _0x26ff07[_0x51cc5f(0x2c6)]){const _0x2599d9=this[_0x51cc5f(0x1f8)](_0x386fbd,_0x3de3a1),_0x2c40c9=this[_0x51cc5f(0x254)][_0x4d1c20];_0x2c40c9&&(_0x2c40c9['rangeKey']=_0x2599d9,this['setRangeKeyMap'](_0x2599d9,_0x4d1c20),_0x35cc00[_0x51cc5f(0x229)]({'index':_0x3de3a1,'dataField':_0x2c40c9})),_0x3de3a1++;}return this[_0x51cc5f(0x263)](_0x2c7824,_0x26ff07,_0x386fbd,_0x57a784),{'collection':_0x26ff07,'updateDataFieldList':_0x35cc00};}['getRangeStartEndInfo'](_0x54314a,_0x290c55){const _0x207fc8=_0x37107d;return _0x54314a[_0x207fc8(0x293)]===_0x5475a7[_0x207fc8(0x3eb)]['COLUMN']?{'startRow':0x0,'startColumn':_0x54314a[_0x207fc8(0x342)],'endRow':_0x290c55[_0x207fc8(0x37e)]()-0x1,'endColumn':_0x54314a[_0x207fc8(0x381)]}:{'startRow':_0x54314a[_0x207fc8(0x163)],'startColumn':_0x54314a[_0x207fc8(0x342)],'endRow':_0x54314a[_0x207fc8(0x2a0)],'endColumn':_0x54314a[_0x207fc8(0x381)]};}[_0x37107d(0x27d)](_0x2f2724){const _0x258b37=_0x37107d,{sheetName:_0x33cd6f,range:_0x45e4d0}=_0x2f2724,_0x446be4=this[_0x258b37(0x2d4)][_0x258b37(0x104)](_0x5475a7[_0x258b37(0x179)][_0x258b37(0x1c4)]),_0x1a34c3=_0x446be4[_0x258b37(0x3bf)](_0x33cd6f),_0x241a50=_0x1a34c3['getCellMatrix'](),{startColumn:_0x27be02,startRow:_0x1548fb,endColumn:_0x54b15f}=this[_0x258b37(0x25c)](_0x45e4d0,_0x1a34c3),_0x1485dc=_0x446be4[_0x258b37(0xf2)](),_0x12e329=new _0x42fb89[(_0x258b37(0x408))](this);_0x12e329[_0x258b37(0x18d)](_0x2f2724);const _0x456423=[],_0x1088af={};for(let _0x5dddf1=_0x27be02;_0x5dddf1<=_0x54b15f;_0x5dddf1++){const _0x199937=_0x241a50[_0x258b37(0x32b)](_0x1548fb,_0x5dddf1),_0x3b689d=this['getRangeKey'](_0x2f2724,_0x5dddf1),_0x52d5a7=this[_0x258b37(0x1ad)](_0x3b689d);if(_0x52d5a7)_0x12e329[_0x258b37(0x19e)](_0x52d5a7[_0x258b37(0x193)](),_0x52d5a7[_0x258b37(0x257)]());else{const _0x578bdd=this[_0x258b37(0x301)]();let _0x3f998d=this['adjustSheetCellData'](_0x199937,_0x1485dc,_0x1088af);_0x42fb89[_0x258b37(0x3a4)](_0x3f998d)&&(_0x3f998d=_0x5475a7[_0x258b37(0x35f)][_0x258b37(0x1b7)](_0x3f998d['f'],Number(_0x3f998d['v'])));const _0x289d8a=this[_0x258b37(0x359)](_0x3f998d,_0x5dddf1),_0x817e6b=new _0x42fb89[(_0x258b37(0x148))](_0x578bdd,_0x289d8a,_0x42fb89[_0x258b37(0x242)](0x3));_0x817e6b['rangeKey']=_0x3b689d,this[_0x258b37(0x254)][_0x578bdd]=_0x817e6b,_0x12e329[_0x258b37(0x19e)](_0x578bdd,_0x289d8a),_0x456423[_0x258b37(0x229)]({'index':_0x5dddf1,'dataField':_0x817e6b});}}return{'updateDataFieldList':_0x456423,'collection':_0x12e329};}[_0x37107d(0xe3)](_0x5ee4c1){const _0x4df1b6=_0x37107d;return this[_0x4df1b6(0x25e)][_0x4df1b6(0x297)]()['sheets-pivot.columnName']+'\x20'+_0x5475a7[_0x4df1b6(0x313)](_0x5ee4c1);}['uniqueDataFieldName'](_0x2d3939,_0x2bdebc){return _0x2d3939==null||_0x2d3939===''?this['_getAutoName'](_0x2bdebc):String(_0x2d3939);}[_0x37107d(0x3ad)](_0x3827be){const _0x7247ca=_0x37107d;return this[_0x7247ca(0x3b9)][_0x3827be];}['addCollection'](_0xa62670,_0x10c5d6,_0x457703,_0x397c0b){const _0x26b2cf=_0x37107d;this[_0x26b2cf(0x3b9)][_0xa62670]=_0x10c5d6,_0x10c5d6[_0x26b2cf(0x18d)](_0x457703),this[_0x26b2cf(0x25e)][_0x26b2cf(0x1b3)]({'token':_0xa62670,'type':_0x2863ee['add'],'dataRangeInfo':_0x457703,'targetCellInfo':_0x397c0b});}[_0x37107d(0xf3)](_0x36ebd0,_0x338e74){const _0x29ee6a=_0x37107d,_0x3fe351=this[_0x29ee6a(0x3ad)](_0x36ebd0),_0x17a8c5=_0x3fe351[_0x29ee6a(0x31a)]();let _0x9c4f8b=0x0;for(const _0x393639 of _0x17a8c5){const _0x125836=_0x3fe351[_0x29ee6a(0x374)](_0x393639),_0x47669c=this['getRangeKey'](_0x338e74,_0x9c4f8b);this[_0x29ee6a(0x23c)](_0x125836['rangeKey'],_0x47669c),_0x9c4f8b++;}}[_0x37107d(0x2bf)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x37107d(0x353)](_0xef1fc7,_0x20747c){const _0x1a88d6=_0x37107d;if(this[_0x1a88d6(0x3ad)](_0xef1fc7)){const _0x38e4bd=this[_0x1a88d6(0xfa)](_0x20747c),_0x42f893=[];for(const _0x465938 of _0x38e4bd)this[_0x1a88d6(0x352)][_0x465938]!==void 0x0&&_0x42f893['push'](this[_0x1a88d6(0x352)][_0x465938]);const _0x52a352=this[_0x1a88d6(0x1e3)](_0xef1fc7),_0x35ce7c=[],_0xed42aa=new Set(_0x42f893);for(const _0x5b830c of _0x52a352)_0xed42aa[_0x1a88d6(0x35c)](_0x5b830c)||_0x35ce7c[_0x1a88d6(0x229)](_0x5b830c);return _0x35ce7c;}}[_0x37107d(0x171)](_0x530cb3,_0x129091,_0x3380ef,_0x5dcf39,_0x3b328a){const _0x2b1f4e=_0x37107d;return _0x129091&&_0x129091[_0x2b1f4e(0x32b)](_0x5dcf39,_0x3b328a)?_0x129091[_0x2b1f4e(0x32b)](_0x5dcf39,_0x3b328a):_0x3380ef&&_0x3380ef['getValue'](_0x5dcf39,_0x3b328a)?_0x3380ef[_0x2b1f4e(0x32b)](_0x5dcf39,_0x3b328a):_0x530cb3[_0x2b1f4e(0x32b)](_0x5dcf39,_0x3b328a);}[_0x37107d(0x2d5)](_0x412d6c,_0x379411,_0x2f5a1e,_0x3fa5dc){const _0x5160c0=_0x37107d,_0x4dda4e=this[_0x5160c0(0x254)][_0x412d6c];if(!_0x4dda4e)return;const {subUnitId:_0x3e7e21,range:_0x1c3681,unitId:_0x278a57}=_0x379411,_0x2550f5=this[_0x5160c0(0x2d4)]['getUnit'](_0x278a57);if(!_0x2550f5){console[_0x5160c0(0x140)]('workbook\x20is\x20not\x20found');return;}const _0x2e0b88=_0x2550f5[_0x5160c0(0x153)](_0x3e7e21),_0x3cbb6d=_0x2e0b88[_0x5160c0(0x2a2)](),{arrayFormulaCellDataMatrix:_0x4e2204,unitDataMatrix:_0x101fc0}=_0x3fa5dc||{},{startRow:_0x319201,startColumn:_0x175340,endRow:_0x1ebeed}=this[_0x5160c0(0x25c)](_0x1c3681,_0x2e0b88);_0x4dda4e['reset']();const _0xd779c7=_0x2550f5['getStyles'](),_0x26d002={},_0x1027b3=this[_0x5160c0(0x171)](_0x3cbb6d,_0x4e2204,_0x101fc0,_0x319201,_0x175340+_0x2f5a1e);let _0x3f4bf7=this[_0x5160c0(0x26e)](_0x1027b3,_0xd779c7,_0x26d002);_0x42fb89[_0x5160c0(0x3a4)](_0x3f4bf7)&&(_0x3f4bf7=_0x5475a7[_0x5160c0(0x35f)]['format'](_0x3f4bf7['f'],Number(_0x3f4bf7['v'])));const _0xa7294=this[_0x5160c0(0x359)](_0x3f4bf7,_0x175340+_0x2f5a1e);_0x4dda4e[_0x5160c0(0x230)](_0xa7294);for(let _0x265ff0=_0x319201+0x1;_0x265ff0<=_0x1ebeed;_0x265ff0++){const _0x11e208=this[_0x5160c0(0x171)](_0x3cbb6d,_0x4e2204,_0x101fc0,_0x265ff0,_0x175340+_0x2f5a1e);_0x4dda4e['addRecord'](this['adjustSheetCellData'](_0x11e208,_0xd779c7,_0x26d002),_0x265ff0-0x1-_0x319201);}}[_0x37107d(0x2a6)](_0x2149b3,_0x3b0968,_0x1e776e){const _0x274d48=_0x37107d,{subUnitId:_0x4cf14b,range:_0x3fb1a1,unitId:_0x35a730}=_0x1e776e,_0x50f48b=this[_0x274d48(0x2d4)][_0x274d48(0x36f)](_0x35a730);if(!_0x50f48b){console['error'](_0x274d48(0x3b2));return;}const _0x57e441=_0x50f48b[_0x274d48(0x153)](_0x4cf14b),_0x18957c=_0x57e441[_0x274d48(0x2a2)](),{startRow:_0x4b75bb,startColumn:_0x5109bc,endRow:_0x5117e7}=this[_0x274d48(0x25c)](_0x3fb1a1,_0x57e441),_0x3445b3=_0x50f48b[_0x274d48(0xf2)](),_0x445f83={};for(const {dataField:_0x3ce0a3,index:_0x226f25}of _0x3b0968){_0x3ce0a3[_0x274d48(0x1d2)]();const _0x51b4d2=this[_0x274d48(0x171)](_0x18957c,void 0x0,void 0x0,_0x4b75bb,_0x5109bc+_0x226f25);let _0x29940c=this[_0x274d48(0x26e)](_0x51b4d2,_0x3445b3,_0x445f83);_0x42fb89['isDateValue'](_0x29940c)&&(_0x29940c=_0x5475a7['numfmt']['format'](_0x29940c['f'],Number(_0x29940c['v'])));const _0x5083fa=this['uniqueDataFieldName'](_0x29940c,_0x5109bc+_0x226f25);_0x3ce0a3[_0x274d48(0x230)](_0x5083fa);}_0x2149b3['updateAllDisplayName']();for(let _0x2dceb4=_0x4b75bb+0x1;_0x2dceb4<=_0x5117e7;_0x2dceb4++)for(const {index:_0x36c88e,dataField:_0x104416}of _0x3b0968){const _0x492872=_0x18957c[_0x274d48(0x32b)](_0x2dceb4,_0x5109bc+_0x36c88e);_0x104416[_0x274d48(0x259)](this[_0x274d48(0x26e)](_0x492872,_0x3445b3,_0x445f83),_0x2dceb4-0x1-_0x4b75bb);}_0x2149b3[_0x274d48(0x185)](_0x5117e7-_0x4b75bb);}[_0x37107d(0xfa)](_0x532309){const _0x180bfe=_0x37107d,{range:_0x68843b}=_0x532309,{startColumn:_0x3ea5d2,endColumn:_0xc58db5}=_0x68843b,_0x129d73=[];for(let _0x30706e=_0x3ea5d2;_0x30706e<=_0xc58db5;_0x30706e++)_0x129d73['push'](this[_0x180bfe(0x1f8)](_0x532309,_0x30706e));return _0x129d73;}[_0x37107d(0x26e)](_0x15c37f,_0x1b8e52,_0x4ef451){const _0x4978a1=_0x37107d;if(_0x15c37f){const {s:_0x2559a1,v:_0x197fbd,t:_0x17dbbc,p:_0x9524ef}=_0x15c37f;if(_0x9524ef)return _0x475d92(_0x9524ef);const _0x337d93=_0x1b8e52[_0x4978a1(0xe4)](_0x2559a1);if(_0x337d93&&_0x17dbbc===_0x5475a7[_0x4978a1(0x1e2)][_0x4978a1(0x1f3)]&&_0x337d93['n']){const {pattern:_0x5015fa}=_0x337d93['n'];_0x4ef451[_0x5015fa]||(_0x4ef451[_0x5015fa]=_0x5475a7[_0x4978a1(0x35f)]['getFormatInfo'](_0x5015fa));const _0x129600=_0x4ef451[_0x5015fa],_0x49c74b=_0x129600[_0x4978a1(0x369)];if(_0x129600[_0x4978a1(0x18b)])return String(_0x197fbd);if(_0x49c74b)return{'v':_0x197fbd,'f':_0x5015fa};}if(_0x17dbbc===_0x5475a7['CellValueType'][_0x4978a1(0x1f3)])return Number(_0x197fbd);if(_0x17dbbc===_0x5475a7[_0x4978a1(0x1e2)][_0x4978a1(0x2c8)]||_0x17dbbc===_0x5475a7['CellValueType'][_0x4978a1(0x2f2)])return String(_0x197fbd);if(_0x17dbbc===void 0x0){const _0x40d4a8=Number(_0x197fbd);if(!Number['isNaN'](_0x40d4a8)&&String(_0x40d4a8)===_0x197fbd)return _0x40d4a8;}return _0x197fbd!=null?_0x197fbd:null;}else return null;}['getRangeData'](_0x3c2f87){const _0x1e7fac=_0x37107d,{sheetName:_0x549c28,range:_0x3fc6e1,unitId:_0x25da9e}=_0x3c2f87,_0x3a9d2a=this[_0x1e7fac(0x2d4)][_0x1e7fac(0x36f)](_0x25da9e);if(!_0x3a9d2a)return console['error'](_0x1e7fac(0x3b2)),{'header':[],'data':[]};const _0x4ac55e=_0x3a9d2a[_0x1e7fac(0x3bf)](_0x549c28),_0x197c62=_0x4ac55e[_0x1e7fac(0x2a2)](),{startRow:_0xf20f11,startColumn:_0x5678d4,endRow:_0x173f63,endColumn:_0x2caacd}=this[_0x1e7fac(0x25c)](_0x3fc6e1,_0x4ac55e),_0x136372=_0x3a9d2a[_0x1e7fac(0xf2)](),_0x56cc81=[],_0x582b9a=[],_0x61221={};for(let _0x228f93=_0xf20f11;_0x228f93<=_0x173f63;_0x228f93++){const _0x649abb=[];for(let _0x528bca=_0x5678d4;_0x528bca<=_0x2caacd;_0x528bca++){const _0xc8b961=_0x197c62[_0x1e7fac(0x32b)](_0x228f93,_0x528bca);_0x228f93===_0xf20f11?_0x56cc81[_0x1e7fac(0x229)](_0xc8b961==null?null:String(_0xc8b961['v'])):_0x649abb[_0x1e7fac(0x229)](this[_0x1e7fac(0x26e)](_0xc8b961,_0x136372,_0x61221));}_0x582b9a[_0x1e7fac(0x229)](_0x649abb);}return{'header':_0x56cc81,'data':_0x582b9a};}[_0x37107d(0x3ef)](){const _0x21d2b3=_0x37107d;return super[_0x21d2b3(0x3ef)]();}['fromJSON'](_0x3a5258){const _0x34104a=_0x37107d;super[_0x34104a(0x328)](_0x3a5258),this[_0x34104a(0x126)]();}[_0x37107d(0x191)](){const _0x510b41=_0x37107d;super[_0x510b41(0x191)](),this[_0x510b41(0x352)]={},this[_0x510b41(0x25e)]=null;}}const _0x5f5307=_0x4c18de=>{const _0x547514=_0x37107d,{targetCellInfo:_0x154e5e}=_0x4c18de,{matrixCache:_0x203d3c,rangesCache:_0x4489f5}=_0x2c2b1c({'filter':_0x547514(0x2ff),'row':_0x547514(0x1c6),'column':_0x547514(0x1bc),'values':_0x547514(0x12d)},_0x154e5e),_0x27ac83=new _0x5475a7[(_0x547514(0x303))]();return _0x203d3c['forValue']((_0x48f196,_0x4f6285,_0x104ae7)=>{const _0x2bc9a8=_0x547514;_0x27ac83[_0x2bc9a8(0x331)](_0x48f196,_0x4f6285,_0x104ae7);}),{'matrix':_0x27ac83,'rangesCache':_0x4489f5};},_0x36486f=_0x3c2ecd=>{const _0x341bf2=_0x37107d;let _0x4844e7;if(_0x3c2ecd!=null&&_0x3c2ecd['v']||(_0x3c2ecd==null?void 0x0:_0x3c2ecd['v'])===0x0){_0x4844e7||(_0x4844e7={});const _0x18a476=_0x39d4a8(_0x3c2ecd['v']);typeof _0x18a476==_0x341bf2(0x14a)?_0x4844e7['t']=_0x5475a7[_0x341bf2(0x1e2)][_0x341bf2(0x1f3)]:typeof _0x18a476==_0x341bf2(0x188)&&(_0x4844e7['t']=_0x5475a7[_0x341bf2(0x1e2)][_0x341bf2(0x2c8)]),_0x4844e7['v']=_0x18a476;}return _0x4844e7;},_0x2dba92=(_0x57dd33,_0x21657d,_0x2b8f65)=>{const _0x3735a3=_0x37107d;var _0xb0afdc,_0x30f64f,_0x1e0f06,_0x280b99,_0xbc1bd6,_0x394f9a,_0x17b6e0,_0x4a0d8c,_0x35efa6,_0x1a6f28,_0x2ae2bd,_0x2387d3;const {cornerView:_0x3a4924,rowView:_0x10723e,colView:_0x54a0b1,dataView:_0x336a39,pageView:_0x361df1,formatMap:_0x109df1}=_0x57dd33,{row:_0x4f1b53,col:_0x483207}=_0x21657d,_0x37a82d=new _0x5475a7[(_0x3735a3(0x303))]();let _0x3e503c=_0x4f1b53,_0x2bda3e=_0x483207;Object[_0x3735a3(0x33b)](_0x361df1[_0x3735a3(0x402)])[_0x3735a3(0x15d)](_0x96a64=>{const _0x5d57be=_0x3735a3;Object[_0x5d57be(0x33b)](_0x361df1[_0x5d57be(0x402)][Number(_0x96a64)])[_0x5d57be(0x15d)](_0x5d56af=>{const _0x4b0d23=_0x5d57be,_0x713a05={..._0x361df1[_0x4b0d23(0x402)][Number(_0x96a64)][Number(_0x5d56af)]};_0x37a82d[_0x4b0d23(0x331)](Number(_0x96a64)+_0x3e503c,Number(_0x5d56af)+_0x2bda3e,_0x36486f(_0x713a05));});});const _0x50da6c=Object[_0x3735a3(0x33b)](_0x361df1[_0x3735a3(0x402)])[_0x3735a3(0x298)];_0x3e503c+=_0x50da6c+(_0x50da6c?_0x42e754:0x0);const _0x183acf=_0x3a4924['getRowCount'](),_0x19c354=_0x3a4924['getColCount']();for(let _0x51aad6=0x0;_0x51aad6<_0x183acf;_0x51aad6++)for(let _0x16c308=0x0;_0x16c308<_0x19c354;_0x16c308++){const _0x411618={...(_0x30f64f=(_0xb0afdc=_0x3a4924[_0x3735a3(0x402)])==null?void 0x0:_0xb0afdc[_0x51aad6])==null?void 0x0:_0x30f64f[_0x16c308]};_0x411618&&((_0x1e0f06=_0x10723e[_0x3735a3(0x2d9)][_0x16c308])!=null&&_0x1e0f06[_0x3735a3(0x382)])&&_0x16c308===_0x19c354-0x1&&_0x51aad6===_0x183acf-0x1&&(_0x411618['v']=''+_0x2b8f65[_0x3735a3(0x354)]),_0x37a82d[_0x3735a3(0x331)](_0x51aad6+_0x3e503c,_0x16c308+_0x2bda3e,_0x36486f(_0x411618));}_0x2bda3e+=_0x19c354;const _0x181f3a=_0x54a0b1['headerMap'],_0x4f2b0e=_0x54a0b1['getLastRow']()>=0x0?_0x54a0b1[_0x3735a3(0x11f)]()+0x1:0x0,_0x43dcf5=_0x54a0b1['getLastCol']()>=0x0?_0x54a0b1[_0x3735a3(0x29d)]()+0x1:0x0;for(let _0x55da5b=0x0;_0x55da5b<_0x43dcf5;_0x55da5b++)for(let _0x486f15=0x0;_0x486f15<_0x4f2b0e;_0x486f15++){const _0x517278={...(_0xbc1bd6=(_0x280b99=_0x54a0b1[_0x3735a3(0x402)])==null?void 0x0:_0x280b99[_0x55da5b])==null?void 0x0:_0xbc1bd6[_0x486f15]},_0x270783=(_0x394f9a=_0x181f3a[_0x55da5b])==null?void 0x0:_0x394f9a['tableFieldId'],_0x42c5e9=_0x109df1[_0x270783];_0x517278&&(_0x517278['v']=_0x31fcf3(_0x517278,_0x55da5b===0x0&&((_0x17b6e0=_0x54a0b1[_0x3735a3(0x35d)](_0x486f15+0x1))==null?void 0x0:_0x17b6e0[_0x3735a3(0x382)]),_0x42c5e9,_0x2b8f65)),_0x37a82d[_0x3735a3(0x331)](_0x55da5b+_0x3e503c,_0x486f15+_0x2bda3e,_0x36486f(_0x517278));}_0x3e503c+=_0x183acf;const _0x8a7d9e=_0x10723e['headerMap'],_0x1e113e=_0x10723e[_0x3735a3(0x11f)]()>=0x0?_0x10723e[_0x3735a3(0x11f)]()+0x1:0x0,_0x3476e9=_0x10723e['getLastCol']()>=0x0?_0x10723e['getLastCol']()+0x1:0x0;for(let _0x16ec25=0x0;_0x16ec25<_0x1e113e;_0x16ec25++)for(let _0x21c4d7=0x0;_0x21c4d7<_0x3476e9;_0x21c4d7++){const _0xb18565={...(_0x35efa6=(_0x4a0d8c=_0x10723e[_0x3735a3(0x402)])==null?void 0x0:_0x4a0d8c[_0x16ec25])==null?void 0x0:_0x35efa6[_0x21c4d7]},_0x560cd9=(_0x1a6f28=_0x8a7d9e[_0x21c4d7])==null?void 0x0:_0x1a6f28[_0x3735a3(0x327)],_0x4db53c=_0x109df1[_0x560cd9];_0xb18565&&(_0xb18565['v']=_0x31fcf3(_0xb18565,!0x1,_0x4db53c,_0x2b8f65)),_0x37a82d['setValue'](_0x16ec25+_0x3e503c,_0x21c4d7+_0x483207,_0x36486f(_0xb18565));}const _0x42c8cd=_0x336a39[_0x3735a3(0x37e)](),_0x1f1196=_0x336a39[_0x3735a3(0x32e)]();for(let _0x4100cc=0x0;_0x4100cc<_0x42c8cd;_0x4100cc++)for(let _0x341ec8=0x0;_0x341ec8<_0x1f1196;_0x341ec8++){const _0x38ee00={...(_0x2387d3=(_0x2ae2bd=_0x336a39[_0x3735a3(0x402)])==null?void 0x0:_0x2ae2bd[_0x4100cc])==null?void 0x0:_0x2387d3[_0x341ec8]};_0x37a82d[_0x3735a3(0x331)](_0x4100cc+_0x3e503c,_0x341ec8+_0x2bda3e,_0x36486f(_0x38ee00));}return _0x37a82d;},_0x348904=_0x183ba1=>{const _0x2bb328=_0x37107d,{view:_0x163206,targetCellInfo:_0x723385,isEmpty:_0x57b6d2,textInfo:_0x21d1db}=_0x183ba1;if(_0x57b6d2)return _0x5f5307(_0x183ba1);const {pageView:_0x3ddba7,cornerView:_0x16ac6b,rowView:_0x4e3769,colView:_0x3bdf66,dataView:_0x3a17eb}=_0x163206,_0x3414e5=_0x5c1d7f(_0x723385,_0x3ddba7,!0x0),_0x38aa75=_0x3ddba7['lastRow']>=0x0?_0x3ddba7[_0x2bb328(0x1ed)]+0x1:0x0,_0x48d1bb=_0x16ac6b[_0x2bb328(0x37e)](),_0x24e19f=_0x16ac6b[_0x2bb328(0x32e)](),_0x2df484=_0x3414e5[_0x2bb328(0x298)]>0x0?_0x42e754:0x0,_0x347f99=_0x5c1d7f({'row':_0x723385[_0x2bb328(0x107)]+_0x38aa75+_0x2df484,'col':_0x723385[_0x2bb328(0x182)]},_0x16ac6b,!0x1,!0x1),_0x260e0d=_0x5c1d7f({'row':_0x723385[_0x2bb328(0x107)]+_0x38aa75+_0x2df484+_0x48d1bb,'col':_0x723385[_0x2bb328(0x182)]},_0x4e3769,!0x1,!0x0),_0x197cb9=_0x5c1d7f({'row':_0x723385[_0x2bb328(0x107)]+_0x38aa75+_0x2df484,'col':_0x723385[_0x2bb328(0x182)]+_0x24e19f},_0x3bdf66,!0x1,!0x0),_0x3b6809=_0x5c1d7f({'row':_0x723385['row']+_0x38aa75+_0x2df484+_0x48d1bb,'col':_0x723385['col']+_0x24e19f},_0x3a17eb,!0x1,!0x1),_0x2f6933={'rowRanges':_0x260e0d,'colRanges':_0x197cb9,'cornerRanges':_0x347f99,'dataRanges':_0x3b6809,'pageRanges':_0x3414e5};return{'matrix':_0x2dba92(_0x163206,_0x723385,_0x21d1db),'rangesCache':_0x2f6933};};var _0x1289fd=Object['getOwnPropertyDescriptor'],_0x336354=(_0x308b99,_0x4cf05f,_0x13e625,_0x1731bf)=>{const _0x14c763=_0x37107d;for(var _0x3663f6=_0x1731bf>0x1?void 0x0:_0x1731bf?_0x1289fd(_0x4cf05f,_0x13e625):_0x4cf05f,_0x32aeb5=_0x308b99[_0x14c763(0x298)]-0x1,_0xbff524;_0x32aeb5>=0x0;_0x32aeb5--)(_0xbff524=_0x308b99[_0x32aeb5])&&(_0x3663f6=_0xbff524(_0x3663f6)||_0x3663f6);return _0x3663f6;},_0x2c1fad=(_0x16db19,_0x134e66)=>(_0x103788,_0x3f17fe)=>_0x134e66(_0x103788,_0x3f17fe,_0x16db19);_0x4652af['SheetsPivotDataSourceModel']=class extends _0x5475a7[_0x37107d(0x401)]{constructor(_0x4f14bb,_0x570a9e,_0x4b7b8f,_0x5627ad,_0x204c13){const _0x126e08=_0x37107d;super(),_0x33deac(this,_0x126e08(0x27a),new Map()),_0x33deac(this,_0x126e08(0x2ad),new Map()),_0x33deac(this,_0x126e08(0x3d2),new Map()),_0x33deac(this,_0x126e08(0x302)),_0x33deac(this,_0x126e08(0x2dc),new _0xfe6fd0[(_0x126e08(0x1c8))]()),_0x33deac(this,_0x126e08(0x2de),this['_collectionChange$']['asObservable']()),_0x33deac(this,_0x126e08(0x393),new _0xfe6fd0['Subject']()),_0x33deac(this,_0x126e08(0x228),this[_0x126e08(0x393)][_0x126e08(0x170)]()),_0x33deac(this,_0x126e08(0x238),new _0xfe6fd0[(_0x126e08(0x1c8))]()),_0x33deac(this,_0x126e08(0x3ac),this[_0x126e08(0x238)]['asObservable']()),_0x33deac(this,_0x126e08(0x246),new Map()),_0x33deac(this,_0x126e08(0x19a),[]),_0x33deac(this,_0x126e08(0x31b),new Map()),(this['_injector']=_0x4f14bb,this[_0x126e08(0x2d4)]=_0x570a9e,this[_0x126e08(0x237)]=_0x4b7b8f,this[_0x126e08(0x2e0)]=_0x5627ad,this[_0x126e08(0x3b0)]=_0x204c13,this[_0x126e08(0x1b6)]());}[_0x37107d(0x297)](){const _0xf7d6a2=_0x37107d;return this[_0xf7d6a2(0x302)]?this[_0xf7d6a2(0x302)]:_0x28f93c;}[_0x37107d(0x1c1)](_0x2d0e5c){const _0x47797b=_0x37107d;this[_0x47797b(0x302)]=_0x2d0e5c;}[_0x37107d(0xf3)](_0x49ace4){const _0xa1aae8=_0x37107d;var _0x174c89;const {from:_0x415885,to:_0x1cce53,unitId:_0x46fe40,fromRange:_0x16e42e,toRange:_0x53d7f7}=_0x49ace4;if(_0x415885&&_0x1cce53){const _0x51b174=this[_0xa1aae8(0x1aa)](_0x46fe40),_0xe8cd39=this[_0xa1aae8(0x27a)][_0xa1aae8(0xe4)](_0x46fe40),_0x4c051c=(_0x174c89=this['_univerInstanceService'][_0xa1aae8(0x36f)](_0x46fe40))==null?void 0x0:_0x174c89[_0xa1aae8(0x153)](_0x1cce53[_0xa1aae8(0x341)]);if(!_0xe8cd39||!_0x4c051c)return;const _0x33d27d=_0x4c051c==null?void 0x0:_0x4c051c[_0xa1aae8(0x257)]();for(const [_0x2c412b,_0x32d383]of _0xe8cd39[_0xa1aae8(0x336)]())for(const [_0x347e36,_0x52089e]of _0x32d383[_0xa1aae8(0x336)]()){const {sourceRangeInfo:_0x5ba93b}=_0x52089e;if(_0x5ba93b[_0xa1aae8(0x2ec)]===_0x46fe40&&_0x5ba93b[_0xa1aae8(0x341)]===_0x415885[_0xa1aae8(0x341)]&&_0x5475a7['Rectangle'][_0xa1aae8(0x3b1)](_0x16e42e,_0x5ba93b[_0xa1aae8(0x3f8)])){const _0x19ac0c={'row':_0x5ba93b[_0xa1aae8(0x3f8)][_0xa1aae8(0x163)]-_0x16e42e[_0xa1aae8(0x163)],'col':_0x5ba93b[_0xa1aae8(0x3f8)]['startColumn']-_0x16e42e['startColumn']},_0x394a7b={'unitId':_0x46fe40,'subUnitId':_0x1cce53[_0xa1aae8(0x341)],'sheetName':_0x33d27d,'range':{'startRow':_0x53d7f7[_0xa1aae8(0x163)]+_0x19ac0c['row'],'endRow':_0x53d7f7['startRow']+_0x19ac0c[_0xa1aae8(0x107)]+_0x5ba93b['range'][_0xa1aae8(0x2a0)]-_0x5ba93b['range'][_0xa1aae8(0x163)],'startColumn':_0x53d7f7[_0xa1aae8(0x342)]+_0x19ac0c['col'],'endColumn':_0x53d7f7[_0xa1aae8(0x342)]+_0x19ac0c[_0xa1aae8(0x182)]+_0x5ba93b[_0xa1aae8(0x3f8)][_0xa1aae8(0x381)]-_0x5ba93b[_0xa1aae8(0x3f8)][_0xa1aae8(0x342)]}};_0x51b174[_0xa1aae8(0xf3)](_0x347e36,_0x394a7b);const _0xdad7e7={..._0x52089e,'sourceRangeInfo':_0x394a7b};this[_0xa1aae8(0x17a)](_0x46fe40,_0x1cce53[_0xa1aae8(0x341)],_0x347e36,_0xdad7e7),this[_0xa1aae8(0x1b3)]({'unitId':_0x46fe40,'token':_0x347e36,'type':_0x2863ee['update'],'oldSourceRangeInfo':_0x5ba93b,'dataRangeInfo':_0x394a7b,'targetCellInfo':_0x52089e[_0xa1aae8(0x258)]}),this[_0xa1aae8(0x1d8)]({'unitId':_0x46fe40,'subUnitId':_0x1cce53[_0xa1aae8(0x341)],'oldSubUnitId':_0x2c412b,'pivotTableId':_0x347e36,'pivotTableConfig':_0xdad7e7,'collectionConfig':_0x51b174[_0xa1aae8(0x3ef)]()});}}}}[_0x37107d(0x1b3)](_0x1b084d){const _0x236922=_0x37107d;this['_collectionChange$'][_0x236922(0x38b)](_0x1b084d);}[_0x37107d(0x1aa)](_0x610124){const _0x41ffef=_0x37107d;let _0xcbb65c=this[_0x41ffef(0x246)]['get'](_0x610124);return _0xcbb65c||(_0xcbb65c=new _0x116639(this,this['_univerInstanceService']),this[_0x41ffef(0x246)]['set'](_0x610124,_0xcbb65c)),_0xcbb65c;}[_0x37107d(0x3ad)](_0x3ba566,_0x33b0b8){const _0x5e7f09=_0x37107d;return this[_0x5e7f09(0x1aa)](_0x3ba566)[_0x5e7f09(0x3b9)][_0x33b0b8];}['getUpdateRangeDeleteIds'](_0x3a1dba,_0x45f3b,_0x4e90e4){const _0x2dc917=_0x37107d;return this[_0x2dc917(0x1aa)](_0x3a1dba)[_0x2dc917(0x353)](_0x45f3b,_0x4e90e4);}['_ensurePivotMap'](_0x51a319,_0x472367){const _0x2c8a66=_0x37107d;let _0x235ba6=this[_0x2c8a66(0x27a)][_0x2c8a66(0xe4)](_0x51a319);_0x235ba6||(_0x235ba6=new Map(),this[_0x2c8a66(0x27a)][_0x2c8a66(0x169)](_0x51a319,_0x235ba6));let _0x4deb8d=_0x235ba6[_0x2c8a66(0xe4)](_0x472367);return _0x4deb8d||(_0x4deb8d=new Map(),_0x235ba6['set'](_0x472367,_0x4deb8d)),_0x4deb8d;}[_0x37107d(0x17a)](_0x4b4391,_0x448641,_0x5abf5f,_0x33e02d){const _0x472a46=_0x37107d;this[_0x472a46(0x18c)](_0x4b4391,_0x448641)[_0x472a46(0x169)](_0x5abf5f,_0x33e02d);}[_0x37107d(0x112)](_0x3891c0,_0x784f73,_0x4af8b5){const _0x552ab2=_0x37107d;var _0x1596bb,_0xcc8f1e,_0x45e645,_0x9e726d;((_0xcc8f1e=(_0x1596bb=this[_0x552ab2(0x27a)][_0x552ab2(0xe4)](_0x3891c0))==null?void 0x0:_0x1596bb[_0x552ab2(0xe4)](_0x784f73))==null?void 0x0:_0xcc8f1e['get'](_0x4af8b5))&&((_0x9e726d=(_0x45e645=this['_model'][_0x552ab2(0xe4)](_0x3891c0))==null?void 0x0:_0x45e645['get'](_0x784f73))==null||_0x9e726d[_0x552ab2(0x27b)](_0x4af8b5));}[_0x37107d(0x214)](_0x291e27,_0x2c7014){const _0x70ced0=_0x37107d;this[_0x70ced0(0x2ad)]['set'](_0x291e27,_0x2c7014);}[_0x37107d(0x317)](_0x171bde){const _0x3932a9=_0x37107d;this['_pivotTableInstanceCache'][_0x3932a9(0x27b)](_0x171bde);}[_0x37107d(0x24c)](_0x158272,_0x1a6b59){const _0x5ad14e=_0x37107d;let _0x2b0cce=this['_viewData'][_0x5ad14e(0xe4)](_0x158272);_0x2b0cce||(_0x2b0cce=new Map(),this[_0x5ad14e(0x3d2)]['set'](_0x158272,_0x2b0cce));let _0x35c385=_0x2b0cce[_0x5ad14e(0xe4)](_0x1a6b59);return _0x35c385||(_0x35c385=new Map(),_0x2b0cce['set'](_0x1a6b59,_0x35c385)),_0x35c385;}[_0x37107d(0x1d8)](_0x1573e4){const _0x291321=_0x37107d,{unitId:_0x203d1c,subUnitId:_0x70b16f,pivotTableId:_0x45f70c,pivotTableConfig:_0x477cf5,collectionConfig:_0x142b3c}=_0x1573e4,_0x3f07a1={'unitId':_0x203d1c,'subUnitId':_0x70b16f,'oldSubUnitId':_0x70b16f,'pivotTableId':_0x45f70c,'pivotTableConfig':_0x477cf5,'collectionConfig':_0x142b3c};this[_0x291321(0x2e0)][_0x291321(0x11a)](_0x326687['id'],_0x3f07a1,{'onlyLocal':!0x0});}[_0x37107d(0x1db)](_0x288631,_0x5bfae3,_0x4c4966,_0x47fb87,_0x29e10b,_0x24ba24,_0x58ce15,_0x3df6b6=!0x1){const _0x192782=_0x37107d;var _0x8ecba4;this[_0x192782(0x2e0)][_0x192782(0x11a)](_0x892c58['id'],{'single':{'unitId':_0x288631,'subUnitId':_0x5bfae3,'type':_0x4c4966,'pivotTableId':_0x47fb87,'view':_0x29e10b,'pivotConfig':_0x24ba24},'collectionConfig':{[_0x288631]:_0x58ce15}},{'onlyLocal':!0x0});const _0x26231e=!!((_0x8ecba4=this[_0x192782(0x266)](_0x47fb87))!=null&&_0x8ecba4[_0x192782(0x2eb)]()),_0x57d957=this[_0x192782(0x36b)](_0x288631,_0x5bfae3,_0x47fb87);_0x57d957&&this['updateViewData']({'view':_0x29e10b,'pivotTableId':_0x47fb87,'textInfo':this[_0x192782(0x297)](),'isEmpty':_0x26231e,'targetCellInfo':_0x57d957[_0x192782(0x258)]},_0x3df6b6);}[_0x37107d(0x3b3)](_0x47d800,_0x34aba9){const _0x39e650=_0x37107d,{targetCellInfo:_0x1dcc5c,pivotTableId:_0x546711}=_0x47d800,{unitId:_0x4030dc,subUnitId:_0x1f09e7}=_0x1dcc5c,_0x547f54=this[_0x39e650(0x24c)](_0x4030dc,_0x1f09e7),_0xed323=_0x547f54[_0x39e650(0xe4)](_0x546711);let _0x58d3fa,_0x385f7b;_0xed323&&(_0x58d3fa=_0xed323['rangeCache'],_0x385f7b=_0xed323[_0x39e650(0x11c)]);const {rangesCache:_0xff13ec,matrix:_0x3b8d05}=_0x348904(_0x47d800);_0x547f54[_0x39e650(0x169)](_0x546711,{'rangeCache':_0xff13ec,'matrix':_0x3b8d05,'oldMatrix':_0x385f7b,'oldRangeCache':_0x58d3fa}),_0x34aba9||this[_0x39e650(0x393)][_0x39e650(0x38b)]({'unitId':_0x4030dc,'subUnitId':_0x1f09e7,'pivotTableId':_0x546711});}[_0x37107d(0x3f6)](_0x67f913,_0x23eed4,_0x1352b1,_0x97d4fd,_0x891bc3){const _0x2c5b42=_0x37107d;this[_0x2c5b42(0x17a)](_0x67f913,_0x23eed4,_0x1352b1,_0x891bc3),this[_0x2c5b42(0x214)](_0x1352b1,_0x97d4fd);}[_0x37107d(0x340)](_0x4a00da,_0x490686,_0x210c37){const _0x445222=_0x37107d,_0x11ae38=this[_0x445222(0x1aa)](_0x4a00da);_0x11ae38[_0x445222(0x1e3)](_0x210c37)['forEach'](_0x358ada=>{const _0x60adea=_0x445222;_0x11ae38[_0x60adea(0x3a0)](_0x358ada);}),this['removeCollections'](_0x4a00da,_0x210c37),this['_deleteModelCache'](_0x4a00da,_0x490686,_0x210c37),this[_0x445222(0x317)](_0x210c37);}[_0x37107d(0x1ae)](_0x4b9fb4,_0x23e5a3,_0x2a7add,_0x115d3d){const _0x40f396=_0x37107d;this[_0x40f396(0x17a)](_0x4b9fb4,_0x23e5a3,_0x2a7add,_0x115d3d);}[_0x37107d(0x36b)](_0x45042a,_0x1efacb,_0x43d33b){const _0x5e67ac=_0x37107d;var _0x234d3d,_0x1a223f;const _0x100284=(_0x1a223f=(_0x234d3d=this[_0x5e67ac(0x27a)]['get'](_0x45042a))==null?void 0x0:_0x234d3d[_0x5e67ac(0xe4)](_0x1efacb))==null?void 0x0:_0x1a223f['get'](_0x43d33b);if(_0x100284)return _0x100284;}[_0x37107d(0x17f)](_0x383fef,_0x3c2a77,_0x143ce0){const _0x7e54d6=_0x37107d;var _0x41df5c,_0x40a8ba;const _0x4b5ee4=(_0x40a8ba=(_0x41df5c=this[_0x7e54d6(0x27a)][_0x7e54d6(0xe4)](_0x383fef))==null?void 0x0:_0x41df5c['get'](_0x3c2a77))==null?void 0x0:_0x40a8ba['get'](_0x143ce0);if(_0x4b5ee4)return _0x4b5ee4[_0x7e54d6(0x311)];}[_0x37107d(0x266)](_0x47084a){const _0x535d97=_0x37107d;return this[_0x535d97(0x2ad)][_0x535d97(0xe4)](_0x47084a);}['deleteUnitId'](_0x4d2743){const _0x15aa3a=_0x37107d;this[_0x15aa3a(0x27a)]['delete'](_0x4d2743);const _0x561b7=this[_0x15aa3a(0x246)][_0x15aa3a(0xe4)](_0x4d2743);_0x561b7&&(_0x561b7[_0x15aa3a(0x191)](),this[_0x15aa3a(0x246)][_0x15aa3a(0x27b)](_0x4d2743)),this[_0x15aa3a(0x3d2)][_0x15aa3a(0x27b)](_0x4d2743),this['needSameDeleteModel'][_0x15aa3a(0x15d)](_0x2e6ca5=>{const _0x4004e8=_0x15aa3a;_0x2e6ca5[_0x4004e8(0x13f)](_0x4d2743);});}[_0x37107d(0x345)](_0x1f2e01,_0x3932fb,_0x8baead,_0x1aafb5){const _0x45d612=_0x37107d;return this[_0x45d612(0x1aa)](_0x8baead['unitId'])[_0x45d612(0x345)](_0x1f2e01,_0x3932fb,_0x8baead,_0x1aafb5);}[_0x37107d(0x27d)](_0x570897){const _0x3e13d4=_0x37107d;return this[_0x3e13d4(0x1aa)](_0x570897[_0x3e13d4(0x2ec)])[_0x3e13d4(0x27d)](_0x570897);}[_0x37107d(0x2a6)](_0x11da89,_0x2302b9,_0x595ffe){const _0x4c33b5=_0x37107d;this[_0x4c33b5(0x1aa)](_0x595ffe['unitId'])[_0x4c33b5(0x2a6)](_0x11da89,_0x2302b9,_0x595ffe);}[_0x37107d(0x1bf)](_0x5c54ef,_0x411e52){const _0x191c6f=_0x37107d;this[_0x191c6f(0x1aa)](_0x5c54ef)[_0x191c6f(0x3a0)](_0x411e52);}[_0x37107d(0x250)](_0x458d69,_0x342eae){const _0x555544=_0x37107d;this[_0x555544(0x1aa)](_0x458d69)['removeCollectionImp'](_0x342eae);}[_0x37107d(0x3b4)](_0x53696d,_0x5485bc){const _0x39c304=_0x37107d;var _0x53b651;return(_0x53b651=this['_model'][_0x39c304(0xe4)](_0x53696d))==null?void 0x0:_0x53b651['get'](_0x5485bc);}[_0x37107d(0x3c7)](_0x5cab09){const _0x18722c=_0x37107d;for(const [_0xe0c4a6,_0x6c0ea4]of this[_0x18722c(0x27a)]['entries']())for(const [_0x1aceca,_0x462ba5]of _0x6c0ea4['entries']())if(_0x462ba5[_0x18722c(0x35c)](_0x5cab09))return{'unitId':_0xe0c4a6,'subUnitId':_0x1aceca};return null;}[_0x37107d(0x314)](_0x4133ae,_0x212ba4,_0x26eb3c,_0x2a8bef){const _0x2f783c=_0x37107d,_0x195835=this[_0x2f783c(0x24c)](_0x4133ae,_0x212ba4);_0x2a8bef?_0x195835['set'](_0x26eb3c,_0x2a8bef):_0x195835[_0x2f783c(0x27b)](_0x26eb3c),this[_0x2f783c(0x393)][_0x2f783c(0x38b)]({'unitId':_0x4133ae,'subUnitId':_0x212ba4,'pivotTableId':_0x26eb3c});}[_0x37107d(0x191)](){const _0x296eae=_0x37107d;super['dispose'](),this[_0x296eae(0x27a)][_0x296eae(0x100)](),this[_0x296eae(0x2ad)]['clear'](),this[_0x296eae(0x3d2)][_0x296eae(0x100)](),this[_0x296eae(0x2dc)][_0x296eae(0xfb)](),this[_0x296eae(0x393)]['complete'](),this[_0x296eae(0x238)][_0x296eae(0xfb)](),this[_0x296eae(0x246)]['forEach'](_0x5dd33f=>_0x5dd33f['dispose']()),this[_0x296eae(0x246)][_0x296eae(0x100)]();}[_0x37107d(0x119)](_0x170f1e,_0x4e84f0,_0x37ada6){const _0x51c5bd=_0x37107d;var _0xa93bb,_0x3b6344;const _0x11d6ee=(_0x3b6344=(_0xa93bb=this['_viewData'][_0x51c5bd(0xe4)](_0x170f1e))==null?void 0x0:_0xa93bb[_0x51c5bd(0xe4)](_0x4e84f0))==null?void 0x0:_0x3b6344[_0x51c5bd(0xe4)](_0x37ada6);return _0x11d6ee||null;}[_0x37107d(0x20a)](_0x448a6a){const _0x3e705c=_0x37107d;this[_0x3e705c(0x2a1)](_0x448a6a);}[_0x37107d(0x2a1)](_0x128830){const _0x3ea8da=_0x37107d,{token:_0x35829a,unitId:_0x390cc0,subUnitId:_0x1fc931}=_0x128830,_0x26f2d8=_0x390cc0+'-'+_0x1fc931+'-'+_0x35829a;this[_0x3ea8da(0x31b)]['get'](_0x26f2d8)&&clearTimeout(this[_0x3ea8da(0x31b)]['get'](_0x26f2d8));const _0x266f4d=setTimeout(()=>{const _0x2914d8=_0x3ea8da;this[_0x2914d8(0x168)](_0x128830),this['_queryingMap']['delete'](_0x26f2d8);},_0xdee6de);this[_0x3ea8da(0x31b)]['set'](_0x26f2d8,_0x266f4d);}['queryDirtyPivotTable'](_0x22a6a6){const _0x17e185=_0x37107d,{unitId:_0x58a650,subUnitId:_0x29effe,token:_0x1ac51b,type:_0x16a9ea,pivotConfig:_0x9ebf0a}=_0x22a6a6,_0x3338d3=this[_0x17e185(0x266)](_0x1ac51b),_0x34d86c=_0x3338d3==null?void 0x0:_0x3338d3[_0x17e185(0x20d)](),_0x35b010=_0x9ebf0a!=null?_0x9ebf0a:this[_0x17e185(0x36b)](_0x58a650,_0x29effe,_0x1ac51b);_0x35b010&&(_0x35b010[_0x17e185(0x2eb)]=!!(_0x3338d3!=null&&_0x3338d3['isEmpty']())),(_0x34d86c||_0x16a9ea===_0x5865c2[_0x17e185(0x108)])&&this[_0x17e185(0x1db)](_0x58a650,_0x29effe,_0x16a9ea,_0x1ac51b,_0x34d86c,_0x35b010,this[_0x17e185(0x1aa)](_0x58a650)[_0x17e185(0x3ef)]());}[_0x37107d(0x3ef)](_0x5297b3){const _0xd4b5a0=_0x37107d,_0xed8f06={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x5297b3)&&(_0xed8f06[_0xd4b5a0(0x158)][_0x5297b3]=this[_0xd4b5a0(0x1aa)](_0x5297b3)[_0xd4b5a0(0x3ef)]()),this[_0xd4b5a0(0x27a)]['get'](_0x5297b3)){_0xed8f06[_0xd4b5a0(0x3b5)][_0x5297b3]={};const _0xd9c7d2=this['_model']['get'](_0x5297b3);_0xd9c7d2!=null&&_0xd9c7d2[_0xd4b5a0(0x290)]&&[..._0xd9c7d2[_0xd4b5a0(0x33b)]()][_0xd4b5a0(0x15d)](_0x35cb47=>{const _0x1aead9=_0xd4b5a0,_0x3b3321=_0xd9c7d2[_0x1aead9(0xe4)](_0x35cb47);_0x3b3321!=null&&_0x3b3321[_0x1aead9(0x290)]&&(_0xed8f06[_0x1aead9(0x3b5)][_0x5297b3][_0x35cb47]={},[..._0x3b3321[_0x1aead9(0x33b)]()][_0x1aead9(0x15d)](_0x53c3e4=>{const _0x54cf18=_0x1aead9,_0xa45c8b=_0x3b3321[_0x54cf18(0xe4)](_0x53c3e4);_0xa45c8b&&(_0xed8f06['pivotTableConfigs'][_0x5297b3][_0x35cb47][_0x53c3e4]=_0xa45c8b);}));});}return _0xed8f06;}[_0x37107d(0x328)](_0x3abdb3){const _0x5da4f4=_0x37107d;var _0x5c1c67;const {dataFieldManagerConfig:_0x16d027,pivotTableConfigs:_0x1112a0}=_0x3abdb3;_0x16d027&&Object['keys'](_0x16d027)[_0x5da4f4(0x15d)](_0x30f5ba=>{const _0x3b4eaf=_0x5da4f4;this['getDataFieldManager'](_0x30f5ba)[_0x3b4eaf(0x328)](_0x16d027[_0x30f5ba]);});const _0x43bd14=[];if(_0x1112a0){const _0x48ee00=(_0x5c1c67=this[_0x5da4f4(0x21c)][_0x5da4f4(0xe4)](_0x5475a7[_0x5da4f4(0x3fb)])[_0x5da4f4(0x146)](_0x57119e[_0x5da4f4(0x348)]))!=null?_0x5c1c67:{},{ls:_0x34e4d0,pbk:_0x389b06}=_0x48ee00,_0x1c0adb=_0x16ef4f(_0x5dcb75,_0x34e4d0,_0x389b06)['count'];Object[_0x5da4f4(0x33b)](_0x1112a0)[_0x5da4f4(0x15d)](_0x381c47=>{const _0x16fc09=_0x5da4f4;let _0x2ad5a6=0x0;const _0x288a12=_0x1112a0[_0x381c47];Object[_0x16fc09(0x33b)](_0x288a12)['forEach'](_0x36aff4=>{const _0x235e63=_0x16fc09,_0x38b45d=_0x288a12[_0x36aff4];Object[_0x235e63(0x33b)](_0x38b45d)[_0x235e63(0x15d)](_0x4b5b47=>{const _0x4d5c3c=_0x235e63,_0x21645e=_0x38b45d[_0x4b5b47];if(_0x21645e){if(_0x2ad5a6>=_0x1c0adb)return;_0x2ad5a6++;const _0x28ded0=this['getDataFieldManager'](_0x381c47),_0x12fa31=_0x28ded0[_0x4d5c3c(0x3b9)][_0x4b5b47],_0x3e8c0c=_0x12fa31['getFieldIds']();let _0x6e7b07=0x0;const _0x1b2e2b=[];for(const _0x178f0f of _0x3e8c0c){const _0x213928=_0x12fa31['getFieldById'](_0x178f0f);if(_0x42fb89[_0x4d5c3c(0x2ac)](_0x213928)){const _0x47a93a=_0x213928[_0x4d5c3c(0x2c1)](),_0x443af2=_0x12fa31['getFieldById'](_0x47a93a);_0x443af2&&_0x1b2e2b[_0x4d5c3c(0x229)]([_0x213928,_0x443af2]);continue;}_0x28ded0[_0x4d5c3c(0x2d5)](_0x178f0f,_0x21645e['sourceRangeInfo'],_0x6e7b07),_0x6e7b07++;}_0x1b2e2b[_0x4d5c3c(0x15d)](([_0x17c576,_0x13c47])=>{const _0x413a2a=_0x4d5c3c;_0x17c576[_0x413a2a(0x204)](_0x13c47);});const _0x4436f3=new _0x42fb89[(_0x4d5c3c(0x151))](_0x12fa31);_0x4436f3[_0x4d5c3c(0x328)](_0x21645e[_0x4d5c3c(0x311)]),this[_0x4d5c3c(0x3f6)](_0x381c47,_0x36aff4,_0x4b5b47,_0x4436f3,_0x21645e);const _0x402af8=_0x4436f3[_0x4d5c3c(0x20d)]();_0x43bd14[_0x4d5c3c(0x229)]({'unitId':_0x381c47,'subUnitId':_0x36aff4,'pivotTableId':_0x4b5b47,'view':_0x402af8[_0x4d5c3c(0x3ef)](),'pivotConfig':_0x21645e,'type':_0x5865c2['Add']});const _0x5a66ed=!!_0x4436f3['isEmpty'](),_0x55bf3b={'view':_0x402af8,'pivotTableId':_0x4b5b47,'textInfo':this[_0x4d5c3c(0x297)](),'isEmpty':_0x5a66ed,'targetCellInfo':_0x21645e[_0x4d5c3c(0x258)]};this[_0x4d5c3c(0x3b3)](_0x55bf3b,!0x1);}});});});}_0x16d027&&Object[_0x5da4f4(0x33b)](_0x16d027)[_0x5da4f4(0x15d)](_0x1717ce=>{const _0x1ec973=_0x5da4f4,_0x370eb9=this['getDataFieldManager'](_0x1717ce);this[_0x1ec973(0x238)][_0x1ec973(0x38b)](_0x370eb9[_0x1ec973(0x3b9)]);}),this[_0x5da4f4(0x2e0)][_0x5da4f4(0x11a)](_0x892c58['id'],{'batch':_0x43bd14,'collectionConfig':_0x16d027},{'onlyLocal':!0x0});}[_0x37107d(0x1b6)](){const _0x21dcbc=_0x37107d;this[_0x21dcbc(0xe0)](this[_0x21dcbc(0x3b0)][_0x21dcbc(0x39c)]({'toJson':_0x2860f9=>JSON[_0x21dcbc(0x3c3)](this[_0x21dcbc(0x3ef)](_0x2860f9)),'parseJson':_0x5e254b=>{const _0x105444=_0x21dcbc;if(!_0x5e254b)return{};try{return JSON[_0x105444(0x102)](_0x5e254b);}catch{return{};}},'businesses':[_0x5475a7[_0x21dcbc(0x179)][_0x21dcbc(0x1c4)]],'pluginName':_0x55f144,'onLoad':(_0x58cc89,_0x2be6d8)=>{this['fromJSON'](_0x2be6d8);},'onUnLoad':_0x3d962e=>{this['deleteUnitId'](_0x3d962e);}}));}},_0x4652af['SheetsPivotDataSourceModel']=_0x336354([_0x2c1fad(0x0,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x27f)])),_0x2c1fad(0x1,_0x5475a7[_0x37107d(0x14d)]),_0x2c1fad(0x2,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x134)])),_0x2c1fad(0x3,_0x5475a7[_0x37107d(0x3d6)]),_0x2c1fad(0x4,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7['IResourceManagerService']))],_0x4652af[_0x37107d(0x275)]);const _0x52de68={0x0:{0x0:{'v':_0x37107d(0x183),'s':_0x2d442c}},0x2:{0x1:{'v':'','s':_0x2d442c},0x2:{'v':'','s':_0x2d442c},0x3:{'v':'column','s':_0x2d442c},0x4:{'v':'','s':_0x2d442c},0x5:{'v':'','s':_0x2d442c}},0x3:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0x4:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0x5:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0x6:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0x7:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0x8:{0x0:{'v':_0x37107d(0x107),'s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'values','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0x9:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0xa:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0xb:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0xc:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}},0xd:{0x0:{'v':'','s':_0x2d442c},0x1:{'v':'','s':_0xe48601},0x2:{'v':'','s':_0xe48601},0x3:{'v':'','s':_0xe48601},0x4:{'v':'','s':_0xe48601},0x5:{'v':'','s':_0xe48601}}},_0x13b8d0={'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':[]},_0x2c2b1c=(_0x48ef88,_0x2e5723)=>{const _0x95ad0b=_0x37107d,_0x3e0fc5=new _0x5475a7[(_0x95ad0b(0x303))](),_0x21dd18=new _0x5475a7[(_0x95ad0b(0x303))](_0x52de68),{row:_0x50ca86,col:_0x4ad1ee}=_0x2e5723;_0x21dd18[_0x95ad0b(0x29e)]((_0xc85709,_0x17e718,_0x2d012c)=>{const _0x4dd122=_0x95ad0b;let _0x3c17b0='';_0x2d012c['v']===_0x4dd122(0x183)?_0x3c17b0=_0x48ef88[_0x4dd122(0x183)]:_0x2d012c['v']===_0x4dd122(0x107)?_0x3c17b0=_0x48ef88[_0x4dd122(0x107)]:_0x2d012c['v']===_0x4dd122(0x3ab)?_0x3c17b0=_0x48ef88[_0x4dd122(0x3ab)]:_0x2d012c['v']===_0x4dd122(0x24a)&&(_0x3c17b0=_0x48ef88['values']),_0x3e0fc5['setValue'](_0xc85709+_0x50ca86,_0x17e718+_0x4ad1ee,{..._0x2d012c,'v':_0x3c17b0});});const _0x401d67=_0x5475a7[_0x95ad0b(0x3e1)][_0x95ad0b(0x3f5)](_0x13b8d0);return Object[_0x95ad0b(0x33b)](_0x13b8d0)[_0x95ad0b(0x15d)](_0x37f818=>{const _0xe02847=_0x95ad0b;_0x401d67[_0x37f818]=_0x13b8d0[_0x37f818][_0xe02847(0x13c)](_0x504e04=>({..._0x504e04,'startRow':_0x504e04[_0xe02847(0x163)]+_0x50ca86,'endRow':_0x504e04[_0xe02847(0x2a0)]+_0x50ca86,'startColumn':_0x504e04[_0xe02847(0x342)]+_0x4ad1ee,'endColumn':_0x504e04[_0xe02847(0x381)]+_0x4ad1ee}));}),{'matrixCache':_0x3e0fc5,'rangesCache':_0x401d67};};function _0x45fa5a(_0x57938a,_0xe05ed7){const _0x2e55ce=_0x37107d;let _0x1f1457='';const _0x3a11c7=this[_0x2e55ce(0x297)]();switch(_0xe05ed7){case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x323)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x1b0)]+_0x57938a;break;case _0x42fb89['PivotSubtotalTypeEnum'][_0x2e55ce(0x3e0)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x2da)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x34f)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x161)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x23f)]:_0x1f1457=_0x3a11c7['sheets-pivot.maxName']+_0x57938a;break;case _0x42fb89['PivotSubtotalTypeEnum'][_0x2e55ce(0x101)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x218)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x3b6)]:_0x1f1457=_0x3a11c7['sheets-pivot.productName']+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)]['stdDev']:_0x1f1457=_0x3a11c7[_0x2e55ce(0x1e9)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x2f5)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x16c)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x137)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x315)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x38c)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0x236)]+_0x57938a;break;case _0x42fb89[_0x2e55ce(0x1ff)][_0x2e55ce(0x18a)]:_0x1f1457=_0x3a11c7[_0x2e55ce(0xe8)]+_0x57938a;break;default:_0x1f1457=_0x57938a;break;}return _0x1f1457;}function _0x3d7698(_0x4fce28,_0x42c85a,_0x42fea0,_0x56c231,_0x45e7be){const _0x1cfc7d=_0x37107d;var _0x253494,_0x23d3a1,_0x4fcbb9,_0x37b364,_0x13c087;const _0x35faec=_0x5475a7[_0x1cfc7d(0x2f7)](_0x4fce28,_0x42c85a),{rangesInfo:_0x2e7384,areaInfo:_0x5f31cf,headerMap:_0x1f8abf}=_0x45e7be;if(!_0x2e7384||!_0x5f31cf||!_0x1f8abf)return;const _0x1e129d=Object[_0x1cfc7d(0x33b)](_0x2e7384)[_0x1cfc7d(0x344)](_0x2cc9da=>_0x2e7384[_0x2cc9da]['some'](_0x137807=>_0x5475a7[_0x1cfc7d(0x2b7)]['contains'](_0x137807,_0x35faec))),_0x15d7eb=_0x5f31cf;let _0x14789d,_0x581f09,_0x2f0b24;if(_0x1e129d===_0x1cfc7d(0x28a))_0x14789d=(_0x253494=_0x15d7eb==null?void 0x0:_0x15d7eb[_0x1cfc7d(0x1a1)])==null?void 0x0:_0x253494[_0x4fce28],_0x581f09=(_0x23d3a1=_0x1f8abf==null?void 0x0:_0x1f8abf[_0x1cfc7d(0x2e1)])==null?void 0x0:_0x23d3a1[_0x42c85a],_0x2f0b24=_0x581f09==null?void 0x0:_0x581f09[_0x1cfc7d(0x327)];else{if(_0x1e129d===_0x1cfc7d(0x37b))_0x14789d=(_0x4fcbb9=_0x15d7eb==null?void 0x0:_0x15d7eb[_0x1cfc7d(0x261)])==null?void 0x0:_0x4fcbb9[_0x42c85a],_0x581f09=(_0x37b364=_0x1f8abf['colHeaderMap'])==null?void 0x0:_0x37b364[_0x4fce28+0x1+_0x42c85a-_0x2e7384[_0x1cfc7d(0x37b)][0x0]['startColumn']],_0x2f0b24=_0x581f09==null?void 0x0:_0x581f09[_0x1cfc7d(0x327)];else{if(_0x1e129d===_0x1cfc7d(0x123))_0x14789d=(_0x13c087=_0x15d7eb==null?void 0x0:_0x15d7eb[_0x1cfc7d(0xe2)])==null?void 0x0:_0x13c087[_0x42c85a],_0x2f0b24=_0x14789d==null?void 0x0:_0x14789d[_0x1cfc7d(0x327)];else{if(_0x1e129d===_0x1cfc7d(0x375)){const _0x702ed8=_0x42fea0==null?void 0x0:_0x42fea0['fi'];_0x702ed8!==void 0x0&&(_0x2f0b24=_0x56c231['getFilterFieldIdByIndex'](_0x702ed8));}}}}return{'filterId':_0x2f0b24,'info':_0x14789d,'data':_0x42fea0,'headerInfo':_0x581f09};}function _0x83e56b(_0x323c6e,_0xa2c942,_0x2019ad){const _0x3ba435=_0x37107d,_0x5adb5c=_0x323c6e[_0x3ba435(0x202)],_0x5192f3=_0x5adb5c['getFieldIds'](),_0x36597c=new Set();_0x323c6e[_0x3ba435(0x1fe)](_0x3f3859=>{_0x36597c['add'](_0x3f3859['dataFieldId']);});const _0x42814f=_0x5192f3[_0x3ba435(0x13c)](_0x1aa623=>{const _0xc4f442=_0x3ba435,_0x32fdc5=_0x5adb5c[_0xc4f442(0x374)](_0x1aa623);return{'checked':_0x36597c[_0xc4f442(0x35c)](_0x1aa623),'dataFieldId':_0x32fdc5['id'],'id':_0x32fdc5['id'],'name':_0x5adb5c[_0xc4f442(0x113)](_0x32fdc5['id']),'type':_0x32fdc5[_0xc4f442(0x324)](),'pivotTableId':_0xa2c942};}),_0x1222a3=[];_0x323c6e[_0x3ba435(0x19d)](_0x42fb89[_0x3ba435(0x114)][_0x3ba435(0x1c6)],_0x1351b9=>{const _0x873186=_0x3ba435;_0x1222a3[_0x873186(0x229)]({'dataFieldId':_0x1351b9[_0x873186(0x325)],'tableFieldId':_0x1351b9['getId'](),'displayName':_0x1351b9[_0x873186(0x113)]()});});const _0x5848af=[];_0x323c6e[_0x3ba435(0x19d)](_0x42fb89[_0x3ba435(0x114)]['Column'],_0x2bb666=>{const _0x247108=_0x3ba435;_0x5848af[_0x247108(0x229)]({'dataFieldId':_0x2bb666[_0x247108(0x325)],'tableFieldId':_0x2bb666[_0x247108(0x193)](),'displayName':_0x2bb666[_0x247108(0x113)]()});});const _0x70d6ad=[];if(_0x323c6e[_0x3ba435(0x19d)](_0x42fb89['PivotTableFiledAreaEnum']['Value'],_0x3b1aaa=>{const _0x3d8e6d=_0x3ba435;_0x70d6ad[_0x3d8e6d(0x229)]({'dataFieldId':_0x3b1aaa[_0x3d8e6d(0x325)],'tableFieldId':_0x3b1aaa[_0x3d8e6d(0x193)](),'displayName':_0x3b1aaa['getDisplayName'](),'format':_0x3b1aaa[_0x3d8e6d(0x11e)](),'subTotalType':_0x3b1aaa['getSubtotal']()});}),_0x70d6ad[_0x3ba435(0x298)]>0x1){const _0x847afb=_0x323c6e[_0x3ba435(0x160)]();(_0x323c6e[_0x3ba435(0x333)]()?_0x5848af:_0x1222a3)['splice'](_0x847afb,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x3ba435(0x2d1)});}const _0x433d56=[];_0x323c6e[_0x3ba435(0x19d)](_0x42fb89[_0x3ba435(0x114)]['Filter'],_0x4cc75f=>{const _0xe1bdd9=_0x3ba435;_0x433d56[_0xe1bdd9(0x229)]({'dataFieldId':_0x4cc75f[_0xe1bdd9(0x325)],'tableFieldId':_0x4cc75f['getId'](),'displayName':_0x4cc75f['getDisplayName']()});});const _0x40af26=_0x2019ad[_0x3ba435(0x2fd)];return{'sourceList':_0x42814f,'sourceRange':_0x40af26,'rowFields':_0x1222a3,'columnFields':_0x5848af,'valueFields':_0x70d6ad,'filterFields':_0x433d56,'positionInfo':_0x2019ad[_0x3ba435(0x258)]};}function _0xc3e70d(_0x5f260a,_0x2c5ae9,_0x3c6c37='',_0x420c6a={}){const _0x45a0f6=_0x37107d,_0x36d00c=_0x5f260a[_0x45a0f6(0xe4)](_0x5475a7['LocaleService']);for(const _0x43a8a0 in _0x2c5ae9)if(Object[_0x45a0f6(0x231)]['hasOwnProperty'][_0x45a0f6(0x3d8)](_0x2c5ae9,_0x43a8a0)){const _0x37935d=_0x3c6c37?_0x3c6c37+'.'+_0x43a8a0:_0x43a8a0;typeof _0x2c5ae9[_0x43a8a0]==_0x45a0f6(0x260)&&_0x2c5ae9[_0x43a8a0]!==null&&!Array[_0x45a0f6(0x2b5)](_0x2c5ae9[_0x43a8a0])?_0xc3e70d(_0x5f260a,_0x2c5ae9[_0x43a8a0],_0x37935d,_0x420c6a):_0x420c6a[_0x37935d]=_0x36d00c['t'](_0x37935d);}return _0x420c6a;}const _0x262747=_0x409d4b=>{const _0x382bb5=_0x37107d;if(!_0x409d4b)return[];const {rowRanges:_0x3a4cd3,colRanges:_0x3d4794,cornerRanges:_0x2daa64,dataRanges:_0x1a0a3b,pageRanges:_0x5830c1}=_0x409d4b,_0x4ea2af=[..._0x3d4794,..._0x3a4cd3,..._0x1a0a3b,..._0x2daa64][_0x382bb5(0x183)](_0x2df17c=>_0x2df17c['startRow']>=0x0&&_0x2df17c[_0x382bb5(0x342)]>=0x0&&_0x2df17c[_0x382bb5(0x2a0)]>=0x0&&_0x2df17c[_0x382bb5(0x381)]>=0x0);let _0x15c369=Number[_0x382bb5(0x3f3)],_0x42681b=Number['MIN_SAFE_INTEGER'],_0x5a9953=Number[_0x382bb5(0x3f3)],_0x7539b8=Number[_0x382bb5(0x1d3)];for(let _0x32e1f4=0x0;_0x32e1f4<_0x4ea2af['length'];_0x32e1f4++)_0x15c369=Math[_0x382bb5(0x101)](_0x15c369,_0x4ea2af[_0x32e1f4][_0x382bb5(0x163)]),_0x42681b=Math[_0x382bb5(0x23f)](_0x42681b,_0x4ea2af[_0x32e1f4][_0x382bb5(0x2a0)]),_0x5a9953=Math[_0x382bb5(0x101)](_0x5a9953,_0x4ea2af[_0x32e1f4][_0x382bb5(0x342)]),_0x7539b8=Math[_0x382bb5(0x23f)](_0x7539b8,_0x4ea2af[_0x32e1f4][_0x382bb5(0x381)]);return[..._0x5830c1,{'startRow':_0x15c369,'endRow':_0x42681b,'startColumn':_0x5a9953,'endColumn':_0x7539b8}];};function _0x30b0e8(_0x13f246,_0xeb826b){const _0xeed530=_0x37107d,_0x2ee010=_0xeb826b[_0xeed530(0x132)][_0xeed530(0x28c)],{pivotTableId:_0x256afe,unitId:_0x2174a1,subUnitId:_0x310c09}=_0xeb826b;if(!_0x2ee010)return;const _0x240f07=_0x13f246['get'](_0x4652af[_0xeed530(0x275)]),_0x217744=_0x240f07[_0xeed530(0x266)](_0x256afe),_0x590c98=_0x240f07[_0xeed530(0x36b)](_0x2174a1,_0x310c09,_0x256afe);if(!_0x217744||!_0x590c98)return;const _0x1c1eee=_0x217744[_0xeed530(0x1f5)](_0x2ee010[_0xeed530(0x22c)]);if(!(_0x1c1eee!=null&&_0x1c1eee[_0xeed530(0x298)]))return;const _0x23ce3d=_0x590c98[_0xeed530(0x2fd)],{unitId:_0x32e753,subUnitId:_0x411f7d,range:_0x198cea}=_0x23ce3d;let _0x16f1ed=0x0;const _0x5c34c7=_0x217744[_0xeed530(0x202)]['getFieldIds']()[_0xeed530(0x29f)]((_0x425eff,_0x11cd8f)=>{const _0x141f00=_0xeed530;var _0x597b50;const _0xc96318=(_0x597b50=_0x217744['getDataFieldByDataFieldId'](_0x11cd8f))==null?void 0x0:_0x597b50[_0x141f00(0x1e4)]();return _0xc96318&&(_0x425eff[String(_0x16f1ed)]=_0xc96318),_0x16f1ed++,_0x425eff;},{});return{'indexes':_0x1c1eee,'range':_0x198cea,'sourceUnitId':_0x32e753,'sourceSubUnitId':_0x411f7d,'formatMap':_0x5c34c7};}function _0x57370b(_0x56a4e3,_0x8269d5){const _0x1fe321=_0x37107d;if(!_0x56a4e3||!_0x8269d5)return!0x0;const _0x4d7ca3=_0x57119e[_0x1fe321(0x216)](_0x30422d,_0x380d80),_0x592310=new Function('return\x20'+_0x4d7ca3)()(_0x56a4e3,_0x8269d5)[_0x1fe321(0x358)],_0x1cd29c=_0x57119e[_0x1fe321(0x3d5)](_0x592310,'sf',_0xb17d68);return!((_0x592310==null?void 0x0:_0x592310['rt'])===_0x57119e[_0x1fe321(0x3e7)]['NO_COMMERCIAL']&&!_0x1cd29c);}function _0x16ef4f(_0x510c6d,_0x3e6c2e,_0x713323){const _0xe227d3=_0x37107d,_0x1e9ce7={'count':_0x510c6d,'timeValid':!0x1};if(!_0x3e6c2e||!_0x713323)return _0x1e9ce7;const _0x377b46=_0x57119e[_0xe227d3(0x216)](_0x30422d,_0x380d80),_0x301089=new Function('return\x20'+_0x377b46)()(_0x3e6c2e,_0x713323);if(_0x301089!=null&&_0x301089[_0xe227d3(0x3a9)]){const _0x1707fa=_0x301089[_0xe227d3(0x358)],_0x4a1854=_0x57119e[_0xe227d3(0x3d5)](_0x1707fa,'sf',_0xb17d68);return{'count':_0x57119e['getSheetFeatureLimit'](_0x1707fa,_0x4a1854,_0xe227d3(0x213),_0x510c6d,_0x510c6d,0x0),'timeValid':_0x4a1854};}return _0x1e9ce7;}function _0x59cfb8(_0x405d2f,_0x2f1de4,_0x4ebe07,_0x50342a){const _0x2c45cc=_0x37107d,_0x68ae12={'subUnitId':_0x4ebe07,'unitId':_0x2f1de4,'cellValue':_0x20619b['generateNullCell'](_0x50342a)},_0x40e541=_0x20619b[_0x2c45cc(0x2c0)](_0x405d2f,_0x68ae12);let _0x42d051=!0x1;return new _0x5475a7[(_0x2c45cc(0x303))](_0x40e541[_0x2c45cc(0x384)])['forValue']((_0x24813,_0x43f024,_0x1528c1)=>{const _0x1dba47=_0x2c45cc;if(!_0x42d051&&_0x1528c1&&(_0x1528c1[_0x1dba47(0x206)]||_0x1528c1['f']||_0x1528c1['p']||_0x1528c1['s']||_0x1528c1['si']||_0x1528c1['t']||_0x1528c1['v']))return _0x42d051=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x20619b[_0x2c45cc(0x14c)]['id'],'params':_0x40e541},'setRangeValueRedoMutation':{'id':_0x20619b['SetRangeValuesMutation']['id'],'params':_0x68ae12},'shouldClear':_0x42d051};}function _0x55509a(_0x21a146){const {row:_0x5ea135,col:_0x1d6860}=_0x21a146,_0x102dba={'startRow':_0x5ea135,'endRow':_0x5ea135,'startColumn':_0x1d6860,'endColumn':_0x1d6860},_0x1185a1={'startRow':_0x5ea135+0x2,'endRow':_0x5ea135+0xe,'startColumn':_0x1d6860,'endColumn':_0x1d6860+0x6};return[_0x102dba,_0x1185a1];}function _0x4b701d(_0x210a06,_0x57e7c1,_0x3b8c95){const _0x2cbb8d=_0x37107d,{cornerView:_0x46bbaf,rowView:_0x31cfef,colView:_0x533d42,pageView:_0x30ccd7}=_0x210a06,{row:_0x544ee8,col:_0xd6bfa4}=_0x57e7c1;if(_0x3b8c95)return{'rowCount':_0x5e5d68+_0x544ee8,'colCount':_0x2f782f+_0xd6bfa4};const _0x4e44cb=_0x30ccd7['lastRow']>-0x1?_0x30ccd7['lastRow']+0x1:0x0,_0x52b971=_0x30ccd7[_0x2cbb8d(0x332)]>-0x1?_0x30ccd7[_0x2cbb8d(0x332)]:0x0,_0x4a311a=_0x544ee8+_0x4e44cb+(_0x4e44cb?0x1:0x0)+_0x46bbaf[_0x2cbb8d(0x2ca)]+_0x31cfef[_0x2cbb8d(0x2ca)],_0x1ae965=_0xd6bfa4+_0x52b971,_0x3e7b2a=_0xd6bfa4+_0x46bbaf[_0x2cbb8d(0x3ca)]+_0x533d42[_0x2cbb8d(0x3ca)],_0x19e0be=Math[_0x2cbb8d(0x23f)](_0x1ae965,_0x3e7b2a);return{'rowCount':_0x4a311a,'colCount':_0x19e0be};}function _0x4ba4b0(_0x323198,_0x5783ae,_0x28fb59,_0x47a8de){const _0x3e79d6=_0x37107d,{row:_0x19b503,col:_0x1c16a7,unitId:_0x4edcde,subUnitId:_0xd3ce38}=_0x28fb59,_0x3056f6=_0x4b701d(_0x5783ae,{'row':_0x19b503,'col':_0x1c16a7},_0x47a8de),_0x530ef2=_0x323198[_0x3e79d6(0xe4)](_0x5475a7[_0x3e79d6(0x14d)]),_0x3feb84=_0x20619b[_0x3e79d6(0x3fe)](_0x530ef2,{'unitId':_0x4edcde,'subUnitId':_0xd3ce38}),_0xe3f686=[],_0x23d19d=[];if(!_0x3feb84)return{'undos':_0x23d19d,'redos':_0xe3f686};const {worksheet:_0x2d5f68}=_0x3feb84,_0x42a30c=_0x2d5f68['getRowCount'](),_0x2ccbed=_0x2d5f68[_0x3e79d6(0x215)]();return _0x42a30c<_0x3056f6[_0x3e79d6(0x2ca)]&&(_0xe3f686[_0x3e79d6(0x229)]({'id':_0x20619b[_0x3e79d6(0x16e)]['id'],'params':{'unitId':_0x4edcde,'subUnitId':_0xd3ce38,'range':{'startRow':_0x42a30c,'endRow':_0x3056f6[_0x3e79d6(0x2ca)]-0x1,'startColumn':0x0,'endColumn':_0x2ccbed-0x1}}}),_0x23d19d['push']({'id':_0x20619b[_0x3e79d6(0x283)]['id'],'params':{'unitId':_0x4edcde,'subUnitId':_0xd3ce38,'range':{'startRow':_0x42a30c,'endRow':_0x3056f6[_0x3e79d6(0x2ca)]-0x1,'startColumn':0x0,'endColumn':_0x2ccbed-0x1}}})),_0x2ccbed<_0x3056f6[_0x3e79d6(0x3ca)]&&(_0xe3f686[_0x3e79d6(0x229)]({'id':_0x20619b['InsertColMutation']['id'],'params':{'unitId':_0x4edcde,'subUnitId':_0xd3ce38,'range':{'startRow':0x0,'endRow':_0x42a30c-0x1,'startColumn':_0x2ccbed,'endColumn':_0x3056f6[_0x3e79d6(0x3ca)]-0x1}}}),_0x23d19d[_0x3e79d6(0x229)]({'id':_0x20619b['RemoveColMutation']['id'],'params':{'unitId':_0x4edcde,'subUnitId':_0xd3ce38,'range':{'startRow':0x0,'endRow':_0x42a30c-0x1,'startColumn':_0x2ccbed,'endColumn':_0x3056f6[_0x3e79d6(0x3ca)]-0x1}}})),{'undos':_0x23d19d,'redos':_0xe3f686};}function _0x532024(_0x542ec8){let _0x4e6085=0x0;for(let _0x530616=0x0;_0x530616<_0x542ec8['length'];_0x530616++){const _0x4c500f=_0x542ec8['charCodeAt'](_0x530616);_0x4c500f>=0x4e00&&_0x4c500f<=0x9fff||_0x4c500f>=0x3000&&_0x4c500f<=0x303f||_0x4c500f>=0xff00&&_0x4c500f<=0xffef?_0x4e6085+=0x2:_0x4e6085+=0x1;}return _0x4e6085;}function _0x8fe89b(_0x361e05,_0x267cae,_0x378a58,_0x57e80c){const _0x43b002=_0x37107d;var _0x44d71d,_0x4b3142,_0x3baab9,_0x1f6467;const {rowCount:_0x3ed2d6,colCount:_0x571184,headerMap:_0x3737b9}=_0x361e05,_0x40d69b=0x64,_0x53f5f1=Math['min'](_0x3ed2d6,_0x40d69b),_0x5967bb=Math[_0x43b002(0x101)](_0x571184,_0x40d69b);let _0x4b2195='',_0xb5ab33=0x0;for(let _0x1ff025=0x0;_0x1ff025<_0x53f5f1;_0x1ff025++)for(let _0x3772f6=0x0;_0x3772f6<_0x5967bb;_0x3772f6++){const _0x376783={...(_0x4b3142=(_0x44d71d=_0x361e05[_0x43b002(0x402)])==null?void 0x0:_0x44d71d[_0x1ff025])==null?void 0x0:_0x4b3142[_0x3772f6]},_0x5596f5=(_0x3baab9=_0x3737b9[_0x1ff025])==null?void 0x0:_0x3baab9['tableFieldId'],_0x4ae3f5=_0x57e80c[_0x5596f5];let _0x448547=_0x361e05[_0x43b002(0x32b)](_0x1ff025,_0x3772f6);if(_0x376783){const _0x1d289c=_0x378a58?_0x3772f6===0x0&&((_0x1f6467=_0x361e05[_0x43b002(0x35d)](_0x3772f6+0x1))==null?void 0x0:_0x1f6467['isValue']):!0x1;_0x448547=_0x31fcf3(_0x376783,_0x1d289c,_0x4ae3f5,_0x267cae);}if(_0x448547!==void 0x0){const _0x1d11d3=_0x532024(String(_0x448547));_0xb5ab33<_0x1d11d3&&(_0x4b2195=String(_0x448547),_0xb5ab33=_0x1d11d3);}}return _0x4b2195;}function _0x211e08(_0xa65f86){const _0xa69bbf=_0x37107d,{rowCount:_0x17e4aa,colCount:_0x1e22c3}=_0xa65f86;let _0x5b1dfe='',_0x5cfe64=0x0;for(let _0x3843f6=_0x17e4aa-0x1;_0x3843f6>0x0&&_0x3843f6>_0x17e4aa-0x3;_0x3843f6--)for(let _0x454b0b=0x0;_0x454b0b<_0x1e22c3;_0x454b0b++){const _0x4603e4=_0xa65f86[_0xa69bbf(0x32b)](_0x3843f6,_0x454b0b);if(_0x4603e4!==void 0x0){const _0x1aefb6=String(_0x4603e4)['length'];_0x5cfe64<_0x1aefb6&&(_0x5b1dfe=String(_0x4603e4),_0x5cfe64=_0x1aefb6);}}return _0x5b1dfe;}function _0x20c960(_0x233963){const _0x447cb9=_0x37107d,{rowCount:_0x228839,colCount:_0x3f1480}=_0x233963;let _0x312793='',_0x4cb672=0x0;for(let _0x3dfa80=0x0;_0x3dfa80<_0x228839;_0x3dfa80++)for(let _0x44ccfc=0x0;_0x44ccfc<_0x3f1480;_0x44ccfc++){const _0xe821c=_0x233963[_0x447cb9(0x32b)](_0x3dfa80,_0x44ccfc);if(_0xe821c!==void 0x0){const _0x441f5d=String(_0xe821c)['length'];_0x4cb672<_0x441f5d&&(_0x312793=String(_0xe821c),_0x4cb672=_0x441f5d);}}return _0x312793;}function _0xa8b6d0(_0xeb0074,_0x1dd7a6){const _0x3b9da8=_0x37107d,{rowFields:_0x1ab642,columnFields:_0x32b28e,valueFields:_0x7411a8,filterFields:_0x26706b,dimension:_0x173e93,measure:_0x482e61}=_0x1dd7a6;for(const _0x54a8ad of _0x1ab642){const _0x5a0d3b=_0x173e93[_0x54a8ad];_0x5a0d3b&&_0xeb0074[_0x3b9da8(0x406)](_0x5a0d3b[_0x3b9da8(0x325)])&&(_0xeb0074[_0x3b9da8(0x116)](_0x5a0d3b[_0x3b9da8(0x325)],_0x42fb89[_0x3b9da8(0x114)][_0x3b9da8(0x1c6)],void 0x0,_0x54a8ad),_0x5a0d3b['displayName']&&_0xeb0074[_0x3b9da8(0x1b4)](_0x5a0d3b['id'],_0x5a0d3b[_0x3b9da8(0x18e)]),_0x5a0d3b[_0x3b9da8(0x164)]&&_0xeb0074['setSortInfo'](_0x5a0d3b['id'],_0x5a0d3b[_0x3b9da8(0x164)]),_0x5a0d3b[_0x3b9da8(0xf1)]&&_0xeb0074['setLabelFilterInfo'](_0x5a0d3b['id'],_0x5a0d3b[_0x3b9da8(0xf1)]));}for(const _0x38fa43 of _0x32b28e){const _0x2482a6=_0x173e93[_0x38fa43];_0x2482a6&&_0xeb0074[_0x3b9da8(0x406)](_0x2482a6['dataFieldId'])&&(_0xeb0074[_0x3b9da8(0x116)](_0x2482a6['dataFieldId'],_0x42fb89['PivotTableFiledAreaEnum'][_0x3b9da8(0x1bc)],void 0x0,_0x38fa43),_0x2482a6[_0x3b9da8(0x164)]&&_0xeb0074[_0x3b9da8(0x35a)](_0x2482a6['id'],_0x2482a6[_0x3b9da8(0x164)]),_0x2482a6['filterInfo']&&_0xeb0074[_0x3b9da8(0x176)](_0x2482a6['id'],_0x2482a6[_0x3b9da8(0xf1)]),_0x2482a6[_0x3b9da8(0x18e)]&&_0xeb0074[_0x3b9da8(0x1b4)](_0x2482a6['id'],_0x2482a6[_0x3b9da8(0x18e)]));}for(const _0x21913c of _0x26706b){const _0x28ccc8=_0x173e93[_0x21913c];_0x28ccc8&&_0xeb0074[_0x3b9da8(0x406)](_0x28ccc8[_0x3b9da8(0x325)])&&(_0xeb0074['addFieldWithSourceId'](_0x28ccc8[_0x3b9da8(0x325)],_0x42fb89[_0x3b9da8(0x114)][_0x3b9da8(0x2ff)],void 0x0,_0x21913c),_0x28ccc8['sortInfo']&&_0xeb0074['setSortInfo'](_0x28ccc8['id'],_0x28ccc8[_0x3b9da8(0x164)]),_0x28ccc8['filterInfo']&&_0xeb0074['setLabelFilterInfo'](_0x28ccc8['id'],_0x28ccc8[_0x3b9da8(0xf1)]),_0x28ccc8[_0x3b9da8(0x18e)]&&_0xeb0074[_0x3b9da8(0x1b4)](_0x28ccc8['id'],_0x28ccc8['displayName']));}for(const _0x2ebdbf of _0x7411a8){const _0x5828dc=_0x482e61[_0x2ebdbf];_0x5828dc&&_0xeb0074['getDataFieldByDataFieldId'](_0x5828dc[_0x3b9da8(0x325)])&&(_0xeb0074[_0x3b9da8(0x116)](_0x5828dc[_0x3b9da8(0x325)],_0x42fb89['PivotTableFiledAreaEnum'][_0x3b9da8(0x135)],void 0x0,_0x2ebdbf),_0x5828dc[_0x3b9da8(0x187)]!==void 0x0&&_0xeb0074[_0x3b9da8(0x343)](_0x2ebdbf,_0x5828dc[_0x3b9da8(0x187)]),_0x5828dc[_0x3b9da8(0x1b7)]&&_0xeb0074[_0x3b9da8(0x274)](_0x2ebdbf,_0x5828dc['format']),_0x5828dc[_0x3b9da8(0x18e)]&&_0xeb0074[_0x3b9da8(0x1b4)](_0x5828dc['id'],_0x5828dc[_0x3b9da8(0x18e)]));}const _0x2f1d07=_0x1dd7a6[_0x3b9da8(0x31d)];for(const {fieldId:_0x21c458,filterInfo:_0xb7f49e}of _0x2f1d07)_0xeb0074[_0x3b9da8(0x16f)](_0x21c458,_0xb7f49e);}function _0x297228(_0x2cda75,_0x47d05c){const _0x57d14f=_0x37107d,_0x52c66e=[];_0x47d05c===_0x42fb89['PivotTableFiledAreaEnum']['Row']&&_0x2cda75[_0x57d14f(0x19d)](_0x42fb89['PivotTableFiledAreaEnum'][_0x57d14f(0x1c6)],_0x469cbb=>{const _0x1c179a=_0x57d14f;_0x52c66e[_0x1c179a(0x229)](_0x469cbb[_0x1c179a(0x193)]());}),_0x47d05c===_0x42fb89[_0x57d14f(0x114)][_0x57d14f(0x1bc)]&&_0x2cda75[_0x57d14f(0x19d)](_0x42fb89['PivotTableFiledAreaEnum'][_0x57d14f(0x1bc)],_0x36eaeb=>{const _0x37324e=_0x57d14f;_0x52c66e[_0x37324e(0x229)](_0x36eaeb[_0x37324e(0x193)]());}),_0x47d05c===_0x42fb89[_0x57d14f(0x114)][_0x57d14f(0x2ff)]&&_0x2cda75[_0x57d14f(0x19d)](_0x42fb89[_0x57d14f(0x114)]['Filter'],_0x28baa1=>{const _0x32a6cc=_0x57d14f;_0x52c66e[_0x32a6cc(0x229)](_0x28baa1[_0x32a6cc(0x193)]());}),_0x47d05c===_0x42fb89[_0x57d14f(0x114)]['Value']&&_0x2cda75[_0x57d14f(0x19d)](_0x42fb89[_0x57d14f(0x114)][_0x57d14f(0x135)],_0x1244e8=>{const _0x6b4f8a=_0x57d14f;_0x52c66e['push'](_0x1244e8[_0x6b4f8a(0x193)]());}),_0x47d05c===void 0x0&&_0x2cda75[_0x57d14f(0x1fe)](_0x1ca7fa=>{const _0x4fc9fa=_0x57d14f;_0x52c66e[_0x4fc9fa(0x229)](_0x1ca7fa[_0x4fc9fa(0x193)]());});const _0x2e99ec=_0x52c66e[_0x57d14f(0x298)];for(let _0x2dd28e=_0x2e99ec-0x1;_0x2dd28e>=0x0;_0x2dd28e--)_0x2cda75[_0x57d14f(0x1a6)](_0x52c66e[_0x2dd28e]);const _0x5798b5=_0x2cda75[_0x57d14f(0x36c)]();for(const _0x11afc8 in _0x5798b5)_0x2cda75[_0x57d14f(0x20f)](_0x11afc8);}function _0x2b9123(_0x26cbac,_0x2d5e99){const _0x31a192=_0x37107d,_0x5728a1=new Date(_0x42fb89['excelDateToUnixMilliseconds'](_0x2d5e99)),_0x43b5f6=new Date(_0x42fb89[_0x31a192(0x128)](_0x26cbac)),_0x5697a9=_0x5728a1[_0x31a192(0x27c)](),_0x4b0884=_0x43b5f6[_0x31a192(0x27c)](),_0x16633b=_0x5728a1['getMonth'](),_0x4cc578=_0x43b5f6[_0x31a192(0x239)](),_0x5d29ea=_0x5728a1[_0x31a192(0x39e)](),_0x2934c3=_0x43b5f6['getDate'](),_0x495589=_0x5697a9===_0x4b0884,_0x480efc=_0x495589&&_0x16633b===_0x4cc578;return _0x495589&&_0x480efc&&!(_0x480efc&&_0x5d29ea===_0x2934c3)?_0x42fb89[_0x31a192(0x159)][_0x31a192(0x394)]:_0x495589&&!_0x480efc?_0x42fb89[_0x31a192(0x159)]['YearMonth']:_0x42fb89[_0x31a192(0x159)][_0x31a192(0x1a8)];}function _0x4a6f90(_0x494d45,_0x38ad99){const _0x20e7bb=_0x37107d,_0x4e78bd=_0x494d45['get'](_0x4652af[_0x20e7bb(0x275)])[_0x20e7bb(0x297)]();let _0x22c7e2='';switch(_0x38ad99){case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x394)]:_0x22c7e2=_0x4e78bd[_0x20e7bb(0x1b9)];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x13a)]:_0x22c7e2=_0x4e78bd['sheets-pivot.dateGroup.yearMonth'];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x1a8)]:_0x22c7e2=_0x4e78bd['sheets-pivot.dateGroup.year'];break;case _0x42fb89[_0x20e7bb(0x159)]['Month']:_0x22c7e2=_0x4e78bd['sheets-pivot.dateGroup.month'];break;case _0x42fb89[_0x20e7bb(0x159)]['Quarter']:_0x22c7e2=_0x4e78bd['sheets-pivot.dateGroup.quarter'];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x244)]:_0x22c7e2=_0x4e78bd['sheets-pivot.dateGroup.date'];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x30e)]:_0x22c7e2=_0x4e78bd[_0x20e7bb(0x13b)];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x1fa)]:_0x22c7e2=_0x4e78bd[_0x20e7bb(0x407)];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x2f6)]:_0x22c7e2=_0x4e78bd[_0x20e7bb(0x3b8)];break;case _0x42fb89[_0x20e7bb(0x159)]['MonthDate']:_0x22c7e2=_0x4e78bd['sheets-pivot.dateGroup.monthDate'];break;case _0x42fb89[_0x20e7bb(0x159)][_0x20e7bb(0x10c)]:_0x22c7e2=_0x4e78bd[_0x20e7bb(0x1f7)];break;default:_0x22c7e2='';break;}return _0x22c7e2;}const _0x171bdb='sheets-pivot.config',_0x54c206={};var _0x5bba33=Object[_0x37107d(0x141)],_0x57755f=(_0x18acf4,_0x3f38e7,_0x50d5fb,_0x3494b4)=>{const _0x5e6585=_0x37107d;for(var _0x50993c=_0x3494b4>0x1?void 0x0:_0x3494b4?_0x5bba33(_0x3f38e7,_0x50d5fb):_0x3f38e7,_0x25e4b8=_0x18acf4[_0x5e6585(0x298)]-0x1,_0x2a15be;_0x25e4b8>=0x0;_0x25e4b8--)(_0x2a15be=_0x18acf4[_0x25e4b8])&&(_0x50993c=_0x2a15be(_0x50993c)||_0x50993c);return _0x50993c;},_0x3a0d4c=(_0xee0278,_0xca1010)=>(_0x50ec79,_0x1b5c7f)=>_0xca1010(_0x50ec79,_0x1b5c7f,_0xee0278);_0x4652af[_0x37107d(0x28f)]=class extends _0x5475a7['Disposable']{constructor(_0x2e6ad1,_0x415d7b,_0x45b49e,_0xab838a,_0x3dbf79){const _0x186bb9=_0x37107d;super(),_0x33deac(this,_0x186bb9(0x27a),new Map()),_0x33deac(this,_0x186bb9(0x368),new Map()),_0x33deac(this,_0x186bb9(0x16b),new Map()),_0x33deac(this,_0x186bb9(0x288),new Map()),_0x33deac(this,_0x186bb9(0x2c9),new _0xfe6fd0['Subject']()),_0x33deac(this,_0x186bb9(0x2f3),new _0xfe6fd0[(_0x186bb9(0x1c8))]()),_0x33deac(this,'pivotInitCompleted$',this[_0x186bb9(0x2f3)][_0x186bb9(0x170)]()),_0x33deac(this,_0x186bb9(0x2d7),new _0xfe6fd0['Subject']()),_0x33deac(this,_0x186bb9(0x1e6),this['_pivotConfigChange$'][_0x186bb9(0x170)]()),_0x33deac(this,'_textInfo',{}),_0x33deac(this,'configVersion$',this[_0x186bb9(0x2c9)][_0x186bb9(0x170)]()),(this['_injector']=_0x2e6ad1,this[_0x186bb9(0x2e0)]=_0x415d7b,this[_0x186bb9(0x2d4)]=_0x45b49e,this[_0x186bb9(0x3b0)]=_0xab838a,this[_0x186bb9(0x34d)]=_0x3dbf79,this['_initLocale'](),this['_initUnitDisposed']());const _0x33dac1=this[_0x186bb9(0x34d)]['getConfig'](_0x171bdb);(_0x33dac1==null?void 0x0:_0x33dac1[_0x186bb9(0x2db)])===!0x0&&this[_0x186bb9(0x1b6)]();}[_0x37107d(0x329)](){const _0x8130ab=_0x37107d;this['disposeWithMe'](this[_0x8130ab(0x2d4)]['getTypeOfUnitDisposed$'](_0x5475a7[_0x8130ab(0x179)][_0x8130ab(0x1c4)])[_0x8130ab(0x3a1)](_0x1c981e=>{const _0x216952=_0x8130ab;this[_0x216952(0x13f)](_0x1c981e['getUnitId']());}));}[_0x37107d(0x3ff)](){this['_pivotInitCompleted$']['next'](!0x0);}[_0x37107d(0x3b7)](){const _0x5947ef=_0x37107d,_0x220023=_0xc3e70d(this[_0x5947ef(0x21c)],_0x556f26,'',{});this[_0x5947ef(0x302)]=_0x220023,this[_0x5947ef(0x2e0)][_0x5947ef(0x11a)](_0x560a95['id'],{'textInfo':_0x220023},{'onlyLocal':!0x0});}[_0x37107d(0x297)](){const _0x3de951=_0x37107d;return this[_0x3de951(0x302)];}['updateViewInfo'](_0x1f7b8a,_0x31b5dc,_0x4cb074,_0x3c1fca,_0x23e654){this['updatePivotTableMatrixInfo'](_0x1f7b8a,_0x31b5dc,_0x4cb074,_0x3c1fca),this['updatePivotTableRangeInfo'](_0x1f7b8a,_0x31b5dc,_0x4cb074,_0x23e654);}[_0x37107d(0x36b)](_0x388c4d,_0xeeb589,_0x370ca4){const _0x77ca84=_0x37107d;var _0x1a2c8c;const _0xd5ac88=(_0x1a2c8c=this['_model'][_0x77ca84(0xe4)](_0x388c4d))==null?void 0x0:_0x1a2c8c[_0x77ca84(0xe4)](_0xeeb589);if(_0xd5ac88)return _0xd5ac88[_0x77ca84(0xe4)](_0x370ca4);}['getTargetByPivotTableId'](_0x3807c8,_0xfd0601){const _0xe29848=_0x37107d,_0x367b97=this[_0xe29848(0x27a)][_0xe29848(0xe4)](_0x3807c8);if(_0x367b97){for(const [_0x3d56d6,_0x5381d7]of _0x367b97[_0xe29848(0x336)]())for(const [_0x38e83a,_0x475f30]of _0x5381d7[_0xe29848(0x336)]())if(_0x38e83a===_0xfd0601)return _0x475f30['targetCellInfo'];}}['getTargetByPivotId'](_0x2c9c75,_0x371fa6,_0x477da5){const _0x1752a0=_0x37107d,_0x4491f6=this[_0x1752a0(0x36b)](_0x2c9c75,_0x371fa6,_0x477da5);return _0x4491f6==null?void 0x0:_0x4491f6['targetCellInfo'];}[_0x37107d(0x3b4)](_0x7f8eb0,_0x3fd8ed){const _0x58d98e=_0x37107d;var _0x1dc874;return(_0x1dc874=this[_0x58d98e(0x27a)]['get'](_0x7f8eb0))==null?void 0x0:_0x1dc874[_0x58d98e(0xe4)](_0x3fd8ed);}[_0x37107d(0x156)](_0x9e13cc,_0x30278d,_0x1ad889,_0x56a88b){const _0x5a48c3=_0x37107d,_0x3d3c7d=this[_0x5a48c3(0x18c)](_0x9e13cc,_0x30278d);_0x56a88b?_0x3d3c7d[_0x5a48c3(0x169)](_0x1ad889,_0x56a88b):_0x3d3c7d[_0x5a48c3(0x27b)](_0x1ad889),this[_0x5a48c3(0x2d7)]['next']({'unitId':_0x9e13cc,'subUnitId':_0x30278d,'pivotTableId':_0x1ad889,'pivotTableConfig':_0x56a88b});}[_0x37107d(0x3ad)](_0x19229f,_0x30779b){const _0x200f84=_0x37107d;var _0x155ec8;return(_0x155ec8=this[_0x200f84(0x368)][_0x200f84(0xe4)](_0x19229f))==null?void 0x0:_0x155ec8[_0x200f84(0x3b9)][_0x30779b];}['updateCollectionConfig'](_0x5dd128,_0x3de57a){const _0x2d48e3=_0x37107d;this[_0x2d48e3(0x368)][_0x2d48e3(0x169)](_0x5dd128,_0x3de57a),this[_0x2d48e3(0x2c9)][_0x2d48e3(0x38b)](Math['random']());}[_0x37107d(0x18c)](_0x5af4d0,_0x394e02){const _0x53ef3a=_0x37107d;let _0x5a75d1=this[_0x53ef3a(0x27a)]['get'](_0x5af4d0);_0x5a75d1||(_0x5a75d1=new Map(),this[_0x53ef3a(0x27a)][_0x53ef3a(0x169)](_0x5af4d0,_0x5a75d1));let _0x56708a=_0x5a75d1[_0x53ef3a(0xe4)](_0x394e02);return _0x56708a||(_0x56708a=new Map(),_0x5a75d1['set'](_0x394e02,_0x56708a)),_0x56708a;}[_0x37107d(0x106)](_0x363ceb,_0x249493){const _0x3a9bb2=_0x37107d;let _0x1ed2ba=this[_0x3a9bb2(0x16b)][_0x3a9bb2(0xe4)](_0x363ceb);_0x1ed2ba||(_0x1ed2ba=new Map(),this[_0x3a9bb2(0x16b)][_0x3a9bb2(0x169)](_0x363ceb,_0x1ed2ba));let _0x1f9ca8=_0x1ed2ba[_0x3a9bb2(0xe4)](_0x249493);return _0x1f9ca8||(_0x1f9ca8=new Map(),_0x1ed2ba[_0x3a9bb2(0x169)](_0x249493,_0x1f9ca8)),_0x1f9ca8;}[_0x37107d(0x2b8)](_0x58b40d,_0x4b5c4d){const _0x230330=_0x37107d;let _0x394b66=this[_0x230330(0x288)][_0x230330(0xe4)](_0x58b40d);_0x394b66||(_0x394b66=new Map(),this[_0x230330(0x288)][_0x230330(0x169)](_0x58b40d,_0x394b66));let _0x3b0c83=_0x394b66['get'](_0x4b5c4d);return _0x3b0c83||(_0x3b0c83=new Map(),_0x394b66[_0x230330(0x169)](_0x4b5c4d,_0x3b0c83)),_0x3b0c83;}[_0x37107d(0x2fe)](_0x2059cf,_0x4fad90,_0x1d871b,_0xb80c47){const _0x2cf4d0=_0x37107d;var _0x3d7db7;const _0x2d479f=this[_0x2cf4d0(0x106)](_0x2059cf,_0x4fad90),_0x8647f2=(_0x3d7db7=_0x2d479f[_0x2cf4d0(0xe4)](_0x1d871b))==null?void 0x0:_0x3d7db7['oldRangeInfo'];_0x2d479f[_0x2cf4d0(0x169)](_0x1d871b,{'oldRangeInfo':_0x8647f2,'rangeInfo':_0xb80c47});}[_0x37107d(0x389)](_0x53711a,_0x10925d,_0x38269c,_0x287afb){const _0x56505f=_0x37107d;var _0x5e6fea;const _0x22d118=this[_0x56505f(0x2b8)](_0x53711a,_0x10925d),_0x4998fe=(_0x5e6fea=_0x22d118['get'](_0x38269c))==null?void 0x0:_0x5e6fea[_0x56505f(0x291)];_0x22d118[_0x56505f(0x169)](_0x38269c,{'oldMatrix':_0x4998fe,'matrix':_0x287afb});}[_0x37107d(0x20e)](_0x1c60be,_0x31b725,_0xa1354b){const _0x1f49a1=_0x37107d;var _0x29687f,_0x12db7d;return(_0x12db7d=(_0x29687f=this[_0x1f49a1(0x16b)][_0x1f49a1(0xe4)](_0x1c60be))==null?void 0x0:_0x29687f['get'](_0x31b725))==null?void 0x0:_0x12db7d[_0x1f49a1(0xe4)](_0xa1354b);}['getPivotTableMatrixInfo'](_0xcc7194,_0x53fbb4,_0x347fab){const _0xce3e38=_0x37107d;var _0x3c6198,_0x412941;return(_0x412941=(_0x3c6198=this[_0xce3e38(0x288)][_0xce3e38(0xe4)](_0xcc7194))==null?void 0x0:_0x3c6198['get'](_0x53fbb4))==null?void 0x0:_0x412941['get'](_0x347fab);}[_0x37107d(0x13f)](_0x2d1f17){const _0x4d4da2=_0x37107d;this[_0x4d4da2(0x27a)]['delete'](_0x2d1f17),this['_collectionConfigModel'][_0x4d4da2(0x27b)](_0x2d1f17);}[_0x37107d(0x172)](_0x2aba22){const _0x440c2c=_0x37107d,_0x118677={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x440c2c(0x368)][_0x440c2c(0xe4)](_0x2aba22)&&(_0x118677[_0x440c2c(0x158)][_0x2aba22]=this[_0x440c2c(0x368)][_0x440c2c(0xe4)](_0x2aba22)),this[_0x440c2c(0x27a)]['get'](_0x2aba22)){_0x118677[_0x440c2c(0x3b5)][_0x2aba22]={};const _0x4654cd=this[_0x440c2c(0x27a)][_0x440c2c(0xe4)](_0x2aba22);_0x4654cd!=null&&_0x4654cd['size']&&[..._0x4654cd[_0x440c2c(0x33b)]()][_0x440c2c(0x15d)](_0x40351f=>{const _0x5e2b05=_0x440c2c,_0x577b57=_0x4654cd[_0x5e2b05(0xe4)](_0x40351f);_0x577b57!=null&&_0x577b57[_0x5e2b05(0x290)]&&(_0x118677[_0x5e2b05(0x3b5)][_0x2aba22][_0x40351f]={},[..._0x577b57[_0x5e2b05(0x33b)]()][_0x5e2b05(0x15d)](_0x37a7ca=>{const _0x245921=_0x5e2b05,_0x3120fe=_0x577b57[_0x245921(0xe4)](_0x37a7ca);_0x3120fe&&(_0x118677[_0x245921(0x3b5)][_0x2aba22][_0x40351f][_0x37a7ca]=_0x3120fe);}));});}return _0x118677;}[_0x37107d(0x1b6)](){const _0x4e55c2=_0x37107d;this[_0x4e55c2(0xe0)](this[_0x4e55c2(0x3b0)][_0x4e55c2(0x39c)]({'toJson':_0xa07229=>JSON['stringify'](this[_0x4e55c2(0x172)](_0xa07229)),'parseJson':_0x1d8912=>({}),'businesses':[_0x5475a7[_0x4e55c2(0x179)]['UNIVER_SHEET']],'pluginName':_0x55f144,'onLoad':(_0x39c792,_0x265da7)=>{},'onUnLoad':_0x130af5=>{const _0x5df878=_0x4e55c2;this[_0x5df878(0x13f)](_0x130af5);}}));}},_0x4652af[_0x37107d(0x28f)]=_0x57755f([_0x3a0d4c(0x0,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7['Injector'])),_0x3a0d4c(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7['ICommandService'])),_0x3a0d4c(0x2,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x14d)])),_0x3a0d4c(0x3,_0x5475a7['Inject'](_0x5475a7[_0x37107d(0x177)])),_0x3a0d4c(0x4,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x3fb)]))],_0x4652af[_0x37107d(0x28f)]);var _0x535b8c=Object[_0x37107d(0x141)],_0x468541=(_0x2bd628,_0x4acb0b,_0x16148f,_0x2e3b87)=>{const _0x2c9c4e=_0x37107d;for(var _0xf0b5e=_0x2e3b87>0x1?void 0x0:_0x2e3b87?_0x535b8c(_0x4acb0b,_0x16148f):_0x4acb0b,_0x45e5c2=_0x2bd628[_0x2c9c4e(0x298)]-0x1,_0x547522;_0x45e5c2>=0x0;_0x45e5c2--)(_0x547522=_0x2bd628[_0x45e5c2])&&(_0xf0b5e=_0x547522(_0xf0b5e)||_0xf0b5e);return _0xf0b5e;},_0x202a33=(_0x21e929,_0x372107)=>(_0x248fd3,_0x33ed80)=>_0x372107(_0x248fd3,_0x33ed80,_0x21e929);_0x4652af[_0x37107d(0x1d0)]=class extends _0x5475a7['Disposable']{constructor(_0x41a8da,_0x36c429,_0x1c65fd,_0x4f201b,_0x32035e){const _0x5847e5=_0x37107d;super(),_0x33deac(this,_0x5847e5(0x376),new Map()),_0x33deac(this,_0x5847e5(0x3ee),new Map()),_0x33deac(this,_0x5847e5(0xff),new _0xfe6fd0['Subject']()),_0x33deac(this,_0x5847e5(0x1fb),this['_markDirty$'][_0x5847e5(0x170)]()),_0x33deac(this,_0x5847e5(0x304),new _0xfe6fd0['Subject']()),_0x33deac(this,_0x5847e5(0x2e6),this[_0x5847e5(0x304)][_0x5847e5(0x170)]()),_0x33deac(this,'_textInfo'),(this['_localeService']=_0x41a8da,this[_0x5847e5(0x21c)]=_0x36c429,this[_0x5847e5(0x337)]=_0x1c65fd,this[_0x5847e5(0x2d4)]=_0x4f201b,this[_0x5847e5(0x29a)]=_0x32035e,this[_0x5847e5(0x3b7)](),this[_0x5847e5(0x329)]());}[_0x37107d(0x329)](){const _0x439277=_0x37107d;this[_0x439277(0xe0)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5475a7[_0x439277(0x179)]['UNIVER_SHEET'])[_0x439277(0x3a1)](_0x48b6cf=>{const _0x3b8e1f=_0x439277;this[_0x3b8e1f(0x13f)](_0x48b6cf[_0x3b8e1f(0x3da)]());}));}[_0x37107d(0x3b7)](){this['_textInfo']=_0xc3e70d(this['_injector'],_0x556f26,'',{});}[_0x37107d(0x180)](_0x177c6f){const _0x51a15f=_0x37107d,{view:_0x46a08,unitId:_0x2b4a8b,subUnitId:_0x2ad90b,pivotTableId:_0x5d280f,type:_0x25bb7c}=_0x177c6f,_0x256036=this[_0x51a15f(0x337)][_0x51a15f(0x36b)](_0x2b4a8b,_0x2ad90b,_0x5d280f);if(!_0x46a08||!_0x256036||_0x25bb7c===_0x5865c2[_0x51a15f(0x108)])return;const {pageView:_0x5aa6c8,cornerView:_0x23ffb7,rowView:_0x14436e,colView:_0x12b1ae,dataView:_0x504927}=_0x46a08,_0x2a5e93=_0x256036[_0x51a15f(0x258)],_0x5bdc5d=_0x256036[_0x51a15f(0x2eb)],_0x5a9e09=this[_0x51a15f(0x383)](_0x2b4a8b,_0x2ad90b),_0x393a5a=this[_0x51a15f(0x364)](_0x2b4a8b,_0x2ad90b,_0x5d280f);if(_0x5bdc5d)return this[_0x51a15f(0x175)](_0x177c6f,_0x5a9e09,_0x2a5e93,_0x393a5a);{const _0x1d7249=_0x5c1d7f(_0x2a5e93,_0x5aa6c8,!0x0),_0x4e30fc=_0x5aa6c8[_0x51a15f(0x1ed)]>=0x0?_0x5aa6c8['lastRow']+0x1:0x0,_0x1fa0a2=_0x23ffb7[_0x51a15f(0x37e)](),_0x1daddf=_0x23ffb7[_0x51a15f(0x32e)](),_0x3275d0=_0x1d7249[_0x51a15f(0x298)]>0x0?_0x42e754:0x0,_0xf6cf45=_0x5c1d7f({'row':_0x2a5e93[_0x51a15f(0x107)]+_0x4e30fc+_0x3275d0,'col':_0x2a5e93[_0x51a15f(0x182)]},_0x23ffb7,!0x1,!0x1),_0xbb5f8f=_0x5c1d7f({'row':_0x2a5e93['row']+_0x4e30fc+_0x3275d0+_0x1fa0a2,'col':_0x2a5e93[_0x51a15f(0x182)]},_0x14436e,!0x1,!0x0),_0xa1d57b=_0x5c1d7f({'row':_0x2a5e93[_0x51a15f(0x107)]+_0x4e30fc+_0x3275d0,'col':_0x2a5e93[_0x51a15f(0x182)]+_0x1daddf},_0x12b1ae,!0x1,!0x0),_0x36184=_0x5c1d7f({'row':_0x2a5e93['row']+_0x4e30fc+_0x3275d0+_0x1fa0a2,'col':_0x2a5e93[_0x51a15f(0x182)]+_0x1daddf},_0x504927,!0x1,!0x1);_0x393a5a[_0x51a15f(0x3fd)]={'rowRanges':_0xbb5f8f,'colRanges':_0xa1d57b,'cornerRanges':_0xf6cf45,'dataRanges':_0x36184,'pageRanges':_0x1d7249};const _0x367451=_0x5b183b(this[_0x51a15f(0x21c)],_0x46a08,_0x256036,this[_0x51a15f(0x302)]),{valueMatrix:_0xd5ef7f,rowInfo:_0x55c27f,colInfo:_0x281696,cornerInfo:_0x59965d,rowHeaderMap:_0x9d8045,colHeaderMap:_0x2a1e3c}=_0x367451;return _0x393a5a[_0x51a15f(0x3cc)]={'rowInfo':_0x55c27f,'colInfo':_0x281696,'cornerInfo':_0x59965d},_0x393a5a[_0x51a15f(0x2d9)]={'rowHeaderMap':_0x9d8045,'colHeaderMap':_0x2a1e3c},_0xd5ef7f[_0x51a15f(0x15d)]((_0x3119be,_0x2c6adb)=>{const _0x4ecdd9=_0x51a15f;Object[_0x4ecdd9(0x33b)](_0x2c6adb)['forEach'](_0x143ec0=>{const _0x2b5049=_0x4ecdd9,_0x4bf763=+_0x143ec0,_0x63196d=_0xd5ef7f[_0x2b5049(0x32b)](_0x3119be,_0x4bf763);_0x5a9e09['setValue'](_0x3119be,_0x4bf763,_0x63196d);});}),this[_0x51a15f(0x304)][_0x51a15f(0x38b)]({'unitId':_0x2b4a8b,'subUnitId':_0x2ad90b,'valueMatrix':_0x5a9e09,'rangesCache':_0x393a5a[_0x51a15f(0x3fd)],'pivotTableId':_0x5d280f,'type':_0x177c6f[_0x51a15f(0x249)]}),this[_0x51a15f(0x337)][_0x51a15f(0x17c)](_0x2b4a8b,_0x2ad90b,_0x5d280f,_0x5a9e09,_0x393a5a[_0x51a15f(0x3fd)]),this[_0x51a15f(0x29a)]['addExclusiveRange'](_0x2b4a8b,_0x2ad90b,_0x2bc9f8,this[_0x51a15f(0x1e8)](_0x393a5a[_0x51a15f(0x3fd)],_0x5d280f)),{'rangeCache':_0x393a5a[_0x51a15f(0x3fd)],'matrix':_0x5a9e09};}}[_0x37107d(0x175)](_0x1ac1f3,_0x180636,_0x11c215,_0x4cbc1b){const _0x14388e=_0x37107d,_0xfc25cb=this[_0x14388e(0xf8)]['t'],{unitId:_0x1ff53e,subUnitId:_0x293183,pivotTableId:_0x5a2037}=_0x1ac1f3,_0x3396e9={'filter':_0xfc25cb('sheets-pivot.emptyPivot.filter'),'row':_0xfc25cb(_0x14388e(0x3d3)),'column':_0xfc25cb(_0x14388e(0x23e)),'values':_0xfc25cb(_0x14388e(0x1c5))},{matrixCache:_0x17492f,rangesCache:_0x24e1cb}=_0x2c2b1c(_0x3396e9,_0x11c215);return _0x17492f[_0x14388e(0x29e)]((_0x40d61e,_0x1e4f81,_0x502403)=>{const _0x138dbd=_0x14388e;_0x180636[_0x138dbd(0x331)](_0x40d61e,_0x1e4f81,_0x502403);}),_0x4cbc1b[_0x14388e(0x3fd)]=_0x24e1cb,this[_0x14388e(0x304)][_0x14388e(0x38b)]({'unitId':_0x1ff53e,'subUnitId':_0x293183,'valueMatrix':_0x180636,'rangesCache':_0x24e1cb,'pivotTableId':_0x5a2037,'type':_0x1ac1f3[_0x14388e(0x249)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x1ff53e,_0x293183,_0x5a2037,_0x180636,_0x24e1cb),this['_exclusiveRangeService']['addExclusiveRange'](_0x1ff53e,_0x293183,_0x2bc9f8,this[_0x14388e(0x1e8)](_0x24e1cb,_0x5a2037)),{'rangeCache':_0x4cbc1b[_0x14388e(0x3fd)],'matrix':_0x180636};}[_0x37107d(0x1e8)](_0x25f8ec,_0x519668){const _0x389762=_0x37107d,_0x4ea770=[],_0x5b5a60=_0x262747(_0x25f8ec);for(const _0x338412 of _0x5b5a60)_0x4ea770[_0x389762(0x229)]({'groupId':_0x519668,'range':_0x338412});return _0x4ea770;}[_0x37107d(0x197)](_0x3a5311){const _0x147370=_0x37107d;var _0x4e6f90,_0x340226,_0x5a4b71,_0x2f35d6;const {pivotTableId:_0x42ca32,unitId:_0x368d61,subUnitId:_0xdac325}=_0x3a5311;if(!_0x42ca32||!_0x368d61||!_0xdac325)return;const _0xf4bc2f=this['_ensurePivotItemRenderValueMatrixCache'](_0x368d61,_0xdac325),_0x4cbe00=(_0x340226=(_0x4e6f90=this[_0x147370(0x376)]['get'](_0x368d61))==null?void 0x0:_0x4e6f90['get'](_0xdac325))==null?void 0x0:_0x340226[_0x147370(0xe4)](_0x42ca32);if(_0x4cbe00!=null&&_0x4cbe00[_0x147370(0x3fd)]){for(const _0x14dfbd of Object[_0x147370(0x33b)](_0x4cbe00[_0x147370(0x3fd)]))_0x4cbe00[_0x147370(0x3fd)][_0x14dfbd]['forEach'](_0x1176dd=>{const _0x5dcce=_0x147370;for(let _0x21c575=_0x1176dd[_0x5dcce(0x163)];_0x21c575<=_0x1176dd[_0x5dcce(0x2a0)];_0x21c575++)for(let _0x182c12=_0x1176dd[_0x5dcce(0x342)];_0x182c12<=_0x1176dd[_0x5dcce(0x381)];_0x182c12++)_0xf4bc2f[_0x5dcce(0x14f)](_0x21c575,_0x182c12);});}_0x4cbe00&&((_0x2f35d6=(_0x5a4b71=this[_0x147370(0x376)][_0x147370(0xe4)](_0x368d61))==null?void 0x0:_0x5a4b71['get'](_0xdac325))==null||_0x2f35d6[_0x147370(0x27b)](_0x42ca32)),this[_0x147370(0x304)][_0x147370(0x38b)]({'unitId':_0x368d61,'subUnitId':_0xdac325,'valueMatrix':_0xf4bc2f,'pivotTableId':_0x42ca32,'rangesCache':void 0x0,'type':_0x3a5311['type']}),this[_0x147370(0x29a)]['clearExclusiveRangesByGroupId'](_0x368d61,_0xdac325,_0x2bc9f8,_0x42ca32);}[_0x37107d(0x364)](_0x39be3e,_0x3a3f06,_0x1dd454){const _0x4e9494=_0x37107d;var _0x1b9b70,_0x156438,_0x20c293,_0x8cd1a9,_0x511e73,_0x39d3af;return this[_0x4e9494(0x376)][_0x4e9494(0x35c)](_0x39be3e)||this[_0x4e9494(0x376)][_0x4e9494(0x169)](_0x39be3e,new Map()),(_0x1b9b70=this[_0x4e9494(0x376)][_0x4e9494(0xe4)](_0x39be3e))!=null&&_0x1b9b70['has'](_0x3a3f06)||(_0x156438=this['_pivotRenderInfoCache']['get'](_0x39be3e))==null||_0x156438[_0x4e9494(0x169)](_0x3a3f06,new Map()),(_0x8cd1a9=(_0x20c293=this['_pivotRenderInfoCache']['get'](_0x39be3e))==null?void 0x0:_0x20c293['get'](_0x3a3f06))!=null&&_0x8cd1a9[_0x4e9494(0x35c)](_0x1dd454)||(_0x39d3af=(_0x511e73=this[_0x4e9494(0x376)][_0x4e9494(0xe4)](_0x39be3e))==null?void 0x0:_0x511e73['get'](_0x3a3f06))==null||_0x39d3af[_0x4e9494(0x169)](_0x1dd454,{}),this[_0x4e9494(0x376)][_0x4e9494(0xe4)](_0x39be3e)[_0x4e9494(0xe4)](_0x3a3f06)[_0x4e9494(0xe4)](_0x1dd454);}[_0x37107d(0x383)](_0x196de2,_0x3a229f){const _0x508332=_0x37107d;var _0x4bb6e7,_0x49d4d0;return this['_pivotRenderValueMatrixCache'][_0x508332(0x35c)](_0x196de2)||this[_0x508332(0x3ee)][_0x508332(0x169)](_0x196de2,new Map()),(_0x4bb6e7=this[_0x508332(0x3ee)][_0x508332(0xe4)](_0x196de2))!=null&&_0x4bb6e7[_0x508332(0x35c)](_0x3a229f)||(_0x49d4d0=this[_0x508332(0x3ee)][_0x508332(0xe4)](_0x196de2))==null||_0x49d4d0[_0x508332(0x169)](_0x3a229f,new _0x5475a7[(_0x508332(0x303))]()),this[_0x508332(0x3ee)][_0x508332(0xe4)](_0x196de2)[_0x508332(0xe4)](_0x3a229f);}[_0x37107d(0x370)](_0x17d298,_0x3c2777,_0x54df51,_0x339c40){const _0x4f2842=_0x37107d;var _0x4d6850,_0x3c9304;const _0x571735=(_0x3c9304=(_0x4d6850=this[_0x4f2842(0x3ee)][_0x4f2842(0xe4)](_0x17d298))==null?void 0x0:_0x4d6850[_0x4f2842(0xe4)](_0x3c2777))==null?void 0x0:_0x3c9304['getValue'](_0x54df51,_0x339c40);if(_0x571735!=null)return _0x571735;}['getPivotTableIdByCell'](_0x23d225,_0x4b7aef,_0x2f66d0,_0x14b314){const _0x560a96=_0x37107d;var _0x2ba0ef;const _0x54eae6=_0x5475a7['cellToRange'](_0x2f66d0,_0x14b314),_0x3f0a9f=(_0x2ba0ef=this[_0x560a96(0x376)][_0x560a96(0xe4)](_0x23d225))==null?void 0x0:_0x2ba0ef[_0x560a96(0xe4)](_0x4b7aef);return _0x3f0a9f?Array[_0x560a96(0x40a)](_0x3f0a9f[_0x560a96(0x33b)]())['find'](_0x4e9eac=>{const _0x453729=_0x560a96,_0x26dd0a=_0x3f0a9f[_0x453729(0xe4)](_0x4e9eac),_0x4b6b79=_0x26dd0a==null?void 0x0:_0x26dd0a[_0x453729(0x3fd)];return _0x4b6b79?Object['keys'](_0x4b6b79)[_0x453729(0x23b)](_0x302337=>_0x4b6b79[_0x302337]['some'](_0x26a0db=>_0x5475a7[_0x453729(0x2b7)][_0x453729(0x3b1)](_0x26a0db,_0x54eae6))):!0x1;}):void 0x0;}[_0x37107d(0x142)](_0x1461d0,_0x2cc2cc,_0xfb95b9){const _0x53504f=_0x37107d;var _0xe11f48;const _0x2e6dc3=(_0xe11f48=this[_0x53504f(0x376)][_0x53504f(0xe4)](_0x1461d0))==null?void 0x0:_0xe11f48[_0x53504f(0xe4)](_0x2cc2cc),_0x109c29=[];return _0x2e6dc3&&Array['from'](_0x2e6dc3['keys']())['forEach'](_0x2a1c0f=>{const _0x200196=_0x53504f,_0x3bf1d1=_0x2e6dc3[_0x200196(0xe4)](_0x2a1c0f),_0x1ed593=_0x3bf1d1==null?void 0x0:_0x3bf1d1['rangesInfo'];if(_0x1ed593)for(const _0x104b16 of Object[_0x200196(0x24a)](_0x1ed593)){let _0x5329f1=!0x1;for(const _0x279e31 of _0x104b16)if(_0x5475a7['Rectangle'][_0x200196(0x1ca)](_0x279e31,_0xfb95b9)){_0x109c29[_0x200196(0x229)](_0x2a1c0f),_0x5329f1=!0x0;break;}if(_0x5329f1)break;}}),_0x109c29;}[_0x37107d(0x281)](_0x585f67,_0x430440){const _0x32915e=_0x37107d;var _0x146d0c,_0x4d1985;return(_0x4d1985=(_0x146d0c=this[_0x32915e(0x3ee)][_0x32915e(0xe4)](_0x585f67))==null?void 0x0:_0x146d0c['get'](_0x430440))!=null?_0x4d1985:new _0x5475a7['ObjectMatrix']();}[_0x37107d(0x347)](_0x5319a4,_0x130f9a){const _0x14bba0=_0x37107d;var _0x30a4b1;return(_0x30a4b1=this[_0x14bba0(0x376)][_0x14bba0(0xe4)](_0x5319a4))==null?void 0x0:_0x30a4b1[_0x14bba0(0xe4)](_0x130f9a);}['getPivotItemRenderInfoCache'](_0x560f8b,_0xf98da3,_0x2c2eb7){const _0x57ac97=_0x37107d;var _0x2b4f05,_0x3c6abb;return(_0x3c6abb=(_0x2b4f05=this['_pivotRenderInfoCache'][_0x57ac97(0xe4)](_0x560f8b))==null?void 0x0:_0x2b4f05[_0x57ac97(0xe4)](_0xf98da3))==null?void 0x0:_0x3c6abb[_0x57ac97(0xe4)](_0x2c2eb7);}[_0x37107d(0x13f)](_0x49bbe9){const _0x417a64=_0x37107d;this[_0x417a64(0x376)]['delete'](_0x49bbe9),this[_0x417a64(0x3ee)][_0x417a64(0x27b)](_0x49bbe9);}[_0x37107d(0x155)](_0x3cbb2c,_0x2d5b57){const _0x1b229b=_0x37107d;this[_0x1b229b(0xff)]['next']({'unitId':_0x3cbb2c,'subUnitId':_0x2d5b57});}},_0x4652af['SheetsPivotTableAdaptorModel']=_0x468541([_0x202a33(0x0,_0x5475a7['Inject'](_0x5475a7[_0x37107d(0xea)])),_0x202a33(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x27f)])),_0x202a33(0x2,_0x5475a7['Inject'](_0x4652af[_0x37107d(0x28f)])),_0x202a33(0x3,_0x5475a7['Inject'](_0x5475a7[_0x37107d(0x14d)])),_0x202a33(0x4,_0x5475a7['Inject'](_0x20619b[_0x37107d(0x3d1)]))],_0x4652af[_0x37107d(0x1d0)]);var _0x1f3619=Object[_0x37107d(0x141)],_0x54a5db=(_0x5533c6,_0xf252a9,_0x121fd5,_0x196005)=>{const _0x1bd341=_0x37107d;for(var _0xe96865=_0x196005>0x1?void 0x0:_0x196005?_0x1f3619(_0xf252a9,_0x121fd5):_0xf252a9,_0x2267c1=_0x5533c6[_0x1bd341(0x298)]-0x1,_0x1aaccc;_0x2267c1>=0x0;_0x2267c1--)(_0x1aaccc=_0x5533c6[_0x2267c1])&&(_0xe96865=_0x1aaccc(_0xe96865)||_0xe96865);return _0xe96865;},_0x2752db=(_0x50909d,_0x16060f)=>(_0x4e9c77,_0x4c863d)=>_0x16060f(_0x4e9c77,_0x4c863d,_0x50909d);_0x4652af[_0x37107d(0x37c)]=class extends _0x5475a7['Disposable']{constructor(_0xe413dc,_0xf47101){const _0x1b828a=_0x37107d;super(),_0x33deac(this,_0x1b828a(0x2c7),new _0x5475a7[(_0x1b828a(0x122))]({'PIVOT_PERFORM_CHECK':_0x510c1a})),_0x33deac(this,_0x1b828a(0x23d),new _0x5475a7[(_0x1b828a(0x385))]({'PIVOT_MUTATION_GENERATE':_0x359ef9})),(this['_sheetInterceptorService']=_0xe413dc,this[_0x1b828a(0x2c2)]=_0xf47101,this['_init']());}[_0x37107d(0x308)](){this['_initViewModelBySheetInterceptor']();}[_0x37107d(0x1cf)](_0x1eab99){const _0x49ac27=_0x37107d;return this['asyncInterceptor'][_0x49ac27(0x3d7)](_0x510c1a)(!0x1,_0x1eab99);}[_0x37107d(0x2cd)](){const _0x44f944=_0x37107d;this[_0x44f944(0xe0)](this[_0x44f944(0x1da)][_0x44f944(0x3c4)](_0x20619b[_0x44f944(0x3e2)][_0x44f944(0x154)],{'priority':0xc8,'effect':_0x5475a7['InterceptorEffectEnum']['Value']|_0x5475a7[_0x44f944(0x366)][_0x44f944(0x178)],'handler':(_0x4f8486,_0x330ade,_0x563b56)=>{const _0x206542=_0x44f944,{row:_0x5ef271,col:_0x4e8681,unitId:_0x2fa062,subUnitId:_0x5d57ca,workbook:_0x35ee83}=_0x330ade,_0x4e1612=this[_0x206542(0x2c2)][_0x206542(0x370)](_0x2fa062,_0x5d57ca,_0x5ef271,_0x4e8681);if(!_0x4e1612)return _0x563b56(_0x4f8486);const _0xcf486e={..._0x4f8486};(_0x4e1612['v']||_0x4e1612['v']===0x0)&&(_0xcf486e['v']=_0x4e1612['v']),_0x4e1612['t']&&(_0xcf486e['t']=_0x4e1612['t']);const _0x164467=(typeof(_0x4f8486==null?void 0x0:_0x4f8486['s'])=='string'?_0x35ee83['getStyles']()['get'](_0x4f8486==null?void 0x0:_0x4f8486['s']):_0x4f8486==null?void 0x0:_0x4f8486['s'])||{},_0x46d4bb=_0x35ee83['getStyles']()[_0x206542(0xe4)](_0x4e1612['s']),_0x425971={..._0x46d4bb,..._0x164467};_0x46d4bb!=null&&_0x46d4bb['n']&&(_0x425971['n']=_0x46d4bb['n']);const _0x4167e5=_0x35ee83['getStyles']()[_0x206542(0x331)](_0x425971);return _0xcf486e['s']=_0x4167e5,(_0x4e1612[_0x206542(0x1fc)]===_0x42fb89[_0x206542(0x273)][_0x206542(0x372)]||_0x4e1612[_0x206542(0x1fc)]===_0x42fb89[_0x206542(0x273)]['Expand'])&&(_0xcf486e[_0x206542(0x13d)]={},_0xcf486e['fontRenderExtension'][_0x206542(0x1a4)]=_0x55df66),_0x563b56(_0xcf486e);}}));}},_0x4652af['SheetsPivotTableService']=_0x54a5db([_0x2752db(0x0,_0x5475a7[_0x37107d(0x3c8)](_0x20619b[_0x37107d(0x103)])),_0x2752db(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x4652af['SheetsPivotTableAdaptorModel']))],_0x4652af[_0x37107d(0x37c)]);const _0xfbeea8={'id':_0x37107d(0x1cc),'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'handler':(_0x50d8c4,_0x2b6d99)=>{const _0x14b4f0=_0x37107d;if(!_0x2b6d99)return!0x1;if(!!_0x50d8c4[_0x14b4f0(0xe4)](_0x5475a7[_0x14b4f0(0x3fb)])[_0x14b4f0(0x146)](_0x4aadc7))return!0x0;const {pivotTableId:_0x3c6c3c,fieldJSON:_0x431591,unitId:_0x4ec341,subUnitId:_0x458691}=_0x2b6d99;let _0x4ea640;const {dataFieldType:_0x2a273f,id:_0x184003,name:_0xd01b39,hexCode:_0x3f112b,originalFieldId:_0x1effeb}=_0x431591;if(_0x2a273f===_0x42fb89[_0x14b4f0(0x220)][_0x14b4f0(0x2b2)]&&(_0x4ea640=new _0x42fb89[(_0x14b4f0(0x1b1))](_0x184003,_0xd01b39,_0x3f112b,_0x1effeb)),!_0x4ea640)return!0x1;const _0x440edc=_0x50d8c4[_0x14b4f0(0xe4)](_0x4652af[_0x14b4f0(0x275)]),_0x2e9104=_0x440edc['getDataFieldManager'](_0x4ec341),_0x20a641=_0x2e9104[_0x14b4f0(0x3ad)](_0x3c6c3c);_0x2e9104['addDataFieldWithoutUnitInfo'](_0x4ea640),_0x20a641[_0x14b4f0(0x19e)](_0x4ea640[_0x14b4f0(0x193)](),_0x4ea640[_0x14b4f0(0x257)]());const _0x2a3cb2=_0x20a641['getFieldById'](_0x4ea640[_0x14b4f0(0x2c1)]());_0x2a3cb2&&_0x4ea640[_0x14b4f0(0x204)](_0x2a3cb2);const _0x5f5465=_0x440edc[_0x14b4f0(0x36b)](_0x4ec341,_0x458691,_0x3c6c3c);return _0x440edc['addDirtyPivotTable']({'unitId':_0x4ec341,'subUnitId':_0x458691,'token':_0x3c6c3c,'type':_0x5865c2[_0x14b4f0(0x1f6)],'pivotConfig':_0x5f5465}),!0x0;}},_0x29bf5c={'id':_0x37107d(0x1e5),'type':_0x5475a7[_0x37107d(0x3ce)]['MUTATION'],'handler':(_0x44d572,_0x1f2f11)=>{const _0x5e7597=_0x37107d;if(!_0x1f2f11)return!0x1;if(!!_0x44d572[_0x5e7597(0xe4)](_0x5475a7[_0x5e7597(0x3fb)])[_0x5e7597(0x146)](_0x4aadc7))return!0x0;const {pivotTableId:_0x3f2ce8,dataFieldId:_0x5771c3,unitId:_0x570b9b,subUnitId:_0x396193}=_0x1f2f11,_0x226323=_0x44d572[_0x5e7597(0xe4)](_0x4652af['SheetsPivotDataSourceModel']),_0x2239ae=_0x226323[_0x5e7597(0x1aa)](_0x570b9b);_0x2239ae['getCollection'](_0x3f2ce8)[_0x5e7597(0xee)](_0x5771c3);let _0x2b2c8a=!0x0;for(const _0x1718e3 in _0x2239ae[_0x5e7597(0x3b9)])if(_0x2239ae[_0x5e7597(0x3b9)][_0x1718e3][_0x5e7597(0x31a)]()[_0x5e7597(0x3c9)](_0x5771c3)){_0x2b2c8a=!0x1;break;}_0x2b2c8a&&_0x2239ae['deleteDataField'](_0x5771c3);const _0x3261b1=_0x226323[_0x5e7597(0x36b)](_0x570b9b,_0x396193,_0x3f2ce8);return _0x226323[_0x5e7597(0x20a)]({'unitId':_0x570b9b,'subUnitId':_0x396193,'token':_0x3f2ce8,'type':_0x5865c2[_0x5e7597(0x1f6)],'pivotConfig':_0x3261b1}),!0x0;}};function _0x289e40(_0x29e828,_0x76cc41){const _0x5d7d7f=_0x37107d;switch(_0x76cc41){case _0x42fb89[_0x5d7d7f(0x114)][_0x5d7d7f(0x135)]:return _0x29e828[_0x5d7d7f(0x227)];case _0x42fb89[_0x5d7d7f(0x114)][_0x5d7d7f(0x2ff)]:return _0x29e828[_0x5d7d7f(0x208)];case _0x42fb89[_0x5d7d7f(0x114)]['Row']:return _0x29e828[_0x5d7d7f(0x253)];case _0x42fb89['PivotTableFiledAreaEnum']['Column']:return _0x29e828['columnFields'];default:return[];}}function _0x3a1ca9(_0x583c55,_0x3da62d){const _0xd2295b=_0x37107d;return _0x583c55[_0xd2295b(0x3ea)][_0x3da62d]||_0x583c55[_0xd2295b(0x268)][_0x3da62d];}function _0x8f5e30(_0x25d6ad,_0x34cd57){const _0xc42e27=_0x37107d,{area:_0x52d6d6,fieldJson:_0x21ae48,index:_0x228a33}=_0x34cd57;_0x52d6d6===_0x42fb89[_0xc42e27(0x114)]['Value']?_0x25d6ad[_0xc42e27(0x3ea)][_0x21ae48['id']]=_0x21ae48:_0x25d6ad[_0xc42e27(0x268)][_0x21ae48['id']]=_0x21ae48,_0x289e40(_0x25d6ad,_0x52d6d6)[_0xc42e27(0x19c)](_0x228a33,0x0,_0x21ae48['id']);}function _0x3bc759(_0x181f44,_0x69950a){const _0x36e049=_0x37107d,{area:_0x4d1a5f,fieldId:_0x59e916,index:_0x3b9fb4}=_0x69950a;_0x4d1a5f===_0x42fb89[_0x36e049(0x114)][_0x36e049(0x135)]?delete _0x181f44[_0x36e049(0x3ea)][_0x59e916]:delete _0x181f44['dimension'][_0x59e916],_0x289e40(_0x181f44,_0x4d1a5f)['splice'](_0x3b9fb4,0x1);}function _0x32de23(_0x23c4be,_0x701c5){const _0x38d958=_0x37107d,{fieldId:_0x2149d1,name:_0xba9c06}=_0x701c5,_0x2fb8f5=_0x3a1ca9(_0x23c4be,_0x2149d1);_0x2fb8f5&&(_0x2fb8f5[_0x38d958(0x18e)]=_0xba9c06);}function _0x193234(_0x1c43f4,_0x5cd0cf){const _0xd34f27=_0x37107d,{fieldId:_0x36bbbc,collapse:_0x5600b8,item:_0x39d42e}=_0x5cd0cf;_0x39d42e!==void 0x0?(_0x1c43f4[_0xd34f27(0x32a)][_0x36bbbc]=_0x1c43f4[_0xd34f27(0x32a)][_0x36bbbc]||{},_0x1c43f4[_0xd34f27(0x32a)][_0x36bbbc][_0x39d42e]=_0x5600b8):_0x1c43f4[_0xd34f27(0x32a)][_0x36bbbc]=_0x5600b8;}function _0x10088b(_0xbcd9b2,_0x57d76e){const _0x2317a3=_0x37107d,{fieldId:_0x61bd27,format:_0x1c1b2b}=_0x57d76e,_0xc33fc9=_0x3a1ca9(_0xbcd9b2,_0x61bd27);_0xc33fc9&&(_0xc33fc9[_0x2317a3(0x1b7)]=_0x1c1b2b);}function _0x15be72(_0x5c5b3c,_0x1e027a){const _0x305c83=_0x37107d,{fieldId:_0x27004f,filterInfo:_0x4bdd1d}=_0x1e027a,_0x5a819c=_0x3a1ca9(_0x5c5b3c,_0x27004f);_0x5a819c&&(_0x5a819c[_0x305c83(0xf1)]=_0x4bdd1d);}function _0x3dec04(_0x4980af,_0x19c074){const _0x33adb3=_0x37107d,{fieldId:_0x126dbb,filterInfo:_0x26d2de}=_0x19c074,_0x378cb6=_0x4980af['valueFilter'][_0x33adb3(0x183)](_0x307689=>_0x307689[_0x33adb3(0x356)]!==_0x126dbb);_0x26d2de&&_0x378cb6[_0x33adb3(0x229)]({'fieldId':_0x126dbb,'filterInfo':_0x26d2de}),_0x4980af[_0x33adb3(0x31d)]=_0x378cb6;}function _0x4c515b(_0x57592f,_0x20d679){const {fieldId:_0x5c3839,subtotalType:_0xbfea2c}=_0x20d679,_0x421e1f=_0x3a1ca9(_0x57592f,_0x5c3839);_0x421e1f&&(_0x421e1f['subtotal']=_0xbfea2c);}function _0x5ac2bc(_0x470fb6,_0x15aaff){const _0x10ff85=_0x37107d,{fieldId:_0x2702cf,oldArea:_0x34b55e,area:_0x22166f,oldIndex:_0x5b9872,index:_0x560c10}=_0x15aaff,_0x1dc982=_0x34b55e!==_0x42fb89['PivotTableFiledAreaEnum'][_0x10ff85(0x135)]&&_0x22166f===_0x42fb89[_0x10ff85(0x114)]['Value'],_0xbcc351=_0x34b55e===_0x42fb89['PivotTableFiledAreaEnum'][_0x10ff85(0x135)]&&_0x22166f!==_0x42fb89[_0x10ff85(0x114)][_0x10ff85(0x135)];if(_0x1dc982||_0xbcc351){const _0x2c359c=_0x3a1ca9(_0x470fb6,_0x2702cf);_0x2c359c&&(_0x1dc982?(delete _0x470fb6['dimension'][_0x2702cf],_0x470fb6[_0x10ff85(0x3ea)][_0x2702cf]=_0x2c359c):(delete _0x470fb6[_0x10ff85(0x3ea)][_0x2702cf],_0x470fb6[_0x10ff85(0x268)][_0x2702cf]=_0x2c359c));}const _0x375571=_0x289e40(_0x470fb6,_0x34b55e),_0x1a411a=_0x289e40(_0x470fb6,_0x22166f);_0x375571['splice'](_0x5b9872,0x1),_0x1a411a['splice'](_0x560c10,0x0,_0x2702cf);}function _0x28bee0(_0x49a12a,_0x2f33a6){const _0x4bef19=_0x37107d,{valuePosition:_0x2e9202,index:_0xe3ed1a}=_0x2f33a6;_0x49a12a[_0x4bef19(0x1f2)]=_0x2e9202,_0x49a12a[_0x4bef19(0x120)]=_0xe3ed1a;}function _0x30d107(_0x7f8a54,_0x5e8f01){const _0x104ab7=_0x37107d,{tableFieldId:_0x5d7681,sourceName:_0x118e9d,dataFieldId:_0x2a2cf5}=_0x5e8f01,_0x1dc6bc=_0x3a1ca9(_0x7f8a54,_0x5d7681);_0x1dc6bc&&(_0x1dc6bc[_0x104ab7(0x3dc)]=_0x118e9d,_0x1dc6bc['dataFieldId']=_0x2a2cf5);}function _0xfed687(_0x23120a,_0xec7af2){const _0x259263=_0x37107d,{fieldId:_0x30e2aa,sortInfo:_0x416b26}=_0xec7af2,_0x160ffc=_0x3a1ca9(_0x23120a,_0x30e2aa);_0x160ffc&&(_0x160ffc[_0x259263(0x164)]=_0x416b26);}function _0x53a474(_0xd57dbe,_0x15fe70){const _0xa03e6=_0x37107d,{options:_0xabbff4}=_0x15fe70;_0xd57dbe[_0xa03e6(0x219)]={..._0xd57dbe[_0xa03e6(0x219)],..._0xabbff4};}const _0x5485a4={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':_0x37107d(0x209),'handler'(_0x4a38ef,_0x2f4887){const _0x3fb232=_0x37107d;if(!_0x2f4887)return!0x1;if(!!_0x4a38ef['get'](_0x5475a7[_0x3fb232(0x3fb)])[_0x3fb232(0x146)](_0x4aadc7))return!0x0;const _0x30e01c=_0x4a38ef[_0x3fb232(0xe4)](_0x4652af[_0x3fb232(0x275)]),{pivotTableId:_0x144b0b,fieldJson:_0x2d6b71,area:_0x1bbe81,index:_0x1903e3,unitId:_0x5d1c99,subUnitId:_0x3f71dd}=_0x2f4887,_0x4744ca=_0x30e01c['getPivotTableInstance'](_0x144b0b);if(!_0x4744ca)return!0x1;let _0x270200;_0x1bbe81===_0x42fb89[_0x3fb232(0x114)][_0x3fb232(0x135)]?_0x270200=_0x42fb89[_0x3fb232(0x117)](_0x2d6b71):_0x270200=_0x42fb89[_0x3fb232(0x3bd)](_0x2d6b71),_0x4744ca[_0x3fb232(0x19e)](_0x270200,_0x1bbe81,_0x1903e3);const _0x2d19ba=_0x30e01c['getPivotTableModelConfig'](_0x5d1c99,_0x3f71dd,_0x144b0b);_0x8f5e30(_0x2d19ba,_0x2f4887);const _0x247ff7=_0x30e01c['getPivotTableConfig'](_0x5d1c99,_0x3f71dd,_0x144b0b);return _0x30e01c[_0x3fb232(0x20a)]({'unitId':_0x5d1c99,'subUnitId':_0x3f71dd,'token':_0x144b0b,'type':_0x5865c2[_0x3fb232(0x1f6)],'pivotConfig':_0x247ff7}),!0x0;}},_0x497dc7={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':_0x37107d(0x3dd),'handler'(_0x30c22c,_0x1e3bf4){const _0x51d82d=_0x37107d;if(!_0x1e3bf4)return!0x1;if(!!_0x30c22c[_0x51d82d(0xe4)](_0x5475a7['IConfigService'])[_0x51d82d(0x146)](_0x4aadc7))return!0x0;const _0x4cbab5=_0x30c22c[_0x51d82d(0xe4)](_0x4652af[_0x51d82d(0x275)]),{pivotTableId:_0x25521d,fieldId:_0x1a69c8,unitId:_0x30865e,subUnitId:_0x16918a}=_0x1e3bf4,_0x5cd4ba=_0x4cbab5['getPivotTableInstance'](_0x25521d);if(!_0x5cd4ba)return!0x1;_0x5cd4ba[_0x51d82d(0x1a6)](_0x1a69c8);const _0x2da2da=_0x4cbab5[_0x51d82d(0x17f)](_0x30865e,_0x16918a,_0x25521d);_0x3bc759(_0x2da2da,_0x1e3bf4);const _0x24c744=_0x4cbab5[_0x51d82d(0x36b)](_0x30865e,_0x16918a,_0x25521d);return _0x4cbab5[_0x51d82d(0x20a)]({'unitId':_0x30865e,'subUnitId':_0x16918a,'token':_0x25521d,'type':_0x5865c2[_0x51d82d(0x1f6)],'pivotConfig':_0x24c744}),!0x0;}},_0x198914={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':_0x37107d(0x3be),'handler'(_0x532b38,_0x252f42){const _0x41afb8=_0x37107d;if(!_0x252f42)return!0x1;if(!!_0x532b38[_0x41afb8(0xe4)](_0x5475a7['IConfigService'])[_0x41afb8(0x146)](_0x4aadc7))return!0x0;const _0x5d001e=_0x532b38['get'](_0x4652af['SheetsPivotDataSourceModel']),{unitId:_0x580221,subUnitId:_0x2c556f,pivotTableId:_0x5d8bea,fieldId:_0x29424d,name:_0x4bbf16}=_0x252f42,_0x1ab96e=_0x5d001e[_0x41afb8(0x266)](_0x5d8bea);if(!_0x1ab96e)return!0x1;_0x1ab96e[_0x41afb8(0x1b4)](_0x29424d,_0x4bbf16);const _0x19a1d4=_0x5d001e[_0x41afb8(0x17f)](_0x580221,_0x2c556f,_0x5d8bea);return _0x32de23(_0x19a1d4,_0x252f42),_0x5d001e['addDirtyPivotTable']({'unitId':_0x580221,'subUnitId':_0x2c556f,'token':_0x5d8bea,'type':_0x5865c2['Set']}),!0x0;}},_0xc60e14={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x203),'handler'(_0x4fe16f,_0x5bd81e){const _0x527d26=_0x37107d;if(!_0x5bd81e)return!0x1;if(!!_0x4fe16f[_0x527d26(0xe4)](_0x5475a7[_0x527d26(0x3fb)])[_0x527d26(0x146)](_0x4aadc7))return!0x0;const _0x141a61=_0x4fe16f[_0x527d26(0xe4)](_0x4652af['SheetsPivotDataSourceModel']),{unitId:_0x3a55de,subUnitId:_0x23ec49,pivotTableId:_0xd1b87c,fieldId:_0xa61a15,collapse:_0x1232aa,item:_0x57d5e9}=_0x5bd81e,_0x1bcea9=_0x141a61['getPivotTableInstance'](_0xd1b87c);if(!_0x1bcea9)return!0x1;_0x1bcea9[_0x527d26(0x2ef)](_0xa61a15,_0x1232aa,_0x57d5e9);const _0x5ec1ac=_0x141a61[_0x527d26(0x17f)](_0x3a55de,_0x23ec49,_0xd1b87c);return _0x193234(_0x5ec1ac,_0x5bd81e),_0x141a61[_0x527d26(0x20a)]({'unitId':_0x3a55de,'subUnitId':_0x23ec49,'token':_0xd1b87c,'type':_0x5865c2[_0x527d26(0x1f6)]}),!0x0;}},_0x40f547={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x371),'handler'(_0xbaa234,_0x2266d3){const _0x4e6bf8=_0x37107d;if(!_0x2266d3)return!0x1;if(!!_0xbaa234['get'](_0x5475a7['IConfigService'])[_0x4e6bf8(0x146)](_0x4aadc7))return!0x0;const _0x589b7f=_0xbaa234[_0x4e6bf8(0xe4)](_0x4652af[_0x4e6bf8(0x275)]),{unitId:_0x2fee8f,subUnitId:_0x12de51,pivotTableId:_0x55ae18,fieldId:_0x6bd3bd,format:_0xd52417}=_0x2266d3,_0x3d1394=_0x589b7f[_0x4e6bf8(0x266)](_0x55ae18);if(!_0x3d1394)return!0x1;_0x3d1394['setFieldFormat'](_0x6bd3bd,_0xd52417);const _0x561dac=_0x589b7f[_0x4e6bf8(0x17f)](_0x2fee8f,_0x12de51,_0x55ae18);return _0x10088b(_0x561dac,_0x2266d3),_0x589b7f[_0x4e6bf8(0x20a)]({'unitId':_0x2fee8f,'subUnitId':_0x12de51,'token':_0x55ae18,'type':_0x5865c2['Set']}),!0x0;}},_0x3d7071={'type':_0x5475a7['CommandType'][_0x37107d(0x39d)],'id':_0x37107d(0xeb),'handler'(_0x4060ae,_0x4a3d8e){const _0xfd1b11=_0x37107d;if(!_0x4a3d8e)return!0x1;if(!!_0x4060ae['get'](_0x5475a7['IConfigService'])[_0xfd1b11(0x146)](_0x4aadc7))return!0x0;const _0x281fc0=_0x4060ae[_0xfd1b11(0xe4)](_0x4652af[_0xfd1b11(0x275)]),{unitId:_0x2b4208,subUnitId:_0x202c8d,pivotTableId:_0x53159b,fieldId:_0x164955,filterInfo:_0x4dd9cd}=_0x4a3d8e,_0x27268c=_0x281fc0[_0xfd1b11(0x266)](_0x53159b);if(!_0x27268c)return!0x1;_0x27268c[_0xfd1b11(0x176)](_0x164955,_0x4dd9cd);const _0x97b4da=_0x281fc0['getPivotTableModelConfig'](_0x2b4208,_0x202c8d,_0x53159b);return _0x15be72(_0x97b4da,_0x4a3d8e),_0x281fc0[_0xfd1b11(0x20a)]({'unitId':_0x2b4208,'subUnitId':_0x202c8d,'token':_0x53159b,'type':_0x5865c2[_0xfd1b11(0x1f6)]}),!0x0;}},_0x35183d={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0xec),'handler'(_0x2879dd,_0xf33234){const _0x4a1aac=_0x37107d;if(!_0xf33234)return!0x1;if(!!_0x2879dd[_0x4a1aac(0xe4)](_0x5475a7[_0x4a1aac(0x3fb)])[_0x4a1aac(0x146)](_0x4aadc7))return!0x0;const _0x489f42=_0x2879dd[_0x4a1aac(0xe4)](_0x4652af['SheetsPivotDataSourceModel']),{unitId:_0x34ba9f,subUnitId:_0x3d0cff,pivotTableId:_0x2eb307,options:_0x214826}=_0xf33234,_0x320644=_0x489f42[_0x4a1aac(0x266)](_0x2eb307);if(!_0x320644)return!0x1;_0x320644[_0x4a1aac(0x386)](_0x214826);const _0x2e7cf5=_0x489f42[_0x4a1aac(0x17f)](_0x34ba9f,_0x3d0cff,_0x2eb307);return _0x53a474(_0x2e7cf5,_0xf33234),_0x489f42[_0x4a1aac(0x20a)]({'unitId':_0x34ba9f,'subUnitId':_0x3d0cff,'token':_0x2eb307,'type':_0x5865c2[_0x4a1aac(0x1f6)]}),!0x0;}},_0x536952={'type':_0x5475a7[_0x37107d(0x3ce)]['MUTATION'],'id':_0x37107d(0x1b5),'handler'(_0xae9031,_0xdb4368){const _0x44427a=_0x37107d;if(!_0xdb4368)return!0x1;if(!!_0xae9031[_0x44427a(0xe4)](_0x5475a7[_0x44427a(0x3fb)])[_0x44427a(0x146)](_0x4aadc7))return!0x0;const _0x4f7bc0=_0xae9031[_0x44427a(0xe4)](_0x4652af[_0x44427a(0x275)]),{unitId:_0x1497b2,subUnitId:_0x10a5c8,pivotTableId:_0x538718,sortInfo:_0x484cc4,fieldId:_0x17bb7c}=_0xdb4368,_0x36c3e2=_0x4f7bc0['getPivotTableInstance'](_0x538718);if(!_0x36c3e2)return!0x1;_0x36c3e2[_0x44427a(0x35a)](_0x17bb7c,_0x484cc4);const _0xf36ae2=_0x4f7bc0[_0x44427a(0x17f)](_0x1497b2,_0x10a5c8,_0x538718);return _0xfed687(_0xf36ae2,_0xdb4368),_0x4f7bc0[_0x44427a(0x20a)]({'unitId':_0x1497b2,'subUnitId':_0x10a5c8,'token':_0x538718,'type':_0x5865c2[_0x44427a(0x1f6)]}),!0x0;}},_0x133278={'type':_0x5475a7['CommandType']['MUTATION'],'id':_0x37107d(0x305),'handler'(_0x2aff38,_0x2c3ed8){const _0x42a02d=_0x37107d;if(!_0x2c3ed8)return!0x1;if(!!_0x2aff38[_0x42a02d(0xe4)](_0x5475a7['IConfigService'])[_0x42a02d(0x146)](_0x4aadc7))return!0x0;const _0x49c93d=_0x2aff38[_0x42a02d(0xe4)](_0x4652af[_0x42a02d(0x275)]),{unitId:_0x407845,subUnitId:_0x47b576,pivotTableId:_0x32c781,fieldId:_0x144772,subtotalType:_0x398532}=_0x2c3ed8,_0x206257=_0x49c93d['getPivotTableInstance'](_0x32c781);if(!_0x206257)return!0x1;_0x206257[_0x42a02d(0x343)](_0x144772,_0x398532);const _0x4be098=_0x49c93d['getPivotTableModelConfig'](_0x407845,_0x47b576,_0x32c781);return _0x4c515b(_0x4be098,_0x2c3ed8),_0x49c93d['addDirtyPivotTable']({'unitId':_0x407845,'subUnitId':_0x47b576,'token':_0x32c781,'type':_0x5865c2[_0x42a02d(0x1f6)]}),!0x0;}},_0x5eef3d={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x1a0),'handler'(_0x1a2d6a,_0x1e70fa){const _0x352114=_0x37107d;if(!_0x1e70fa)return!0x1;if(!!_0x1a2d6a['get'](_0x5475a7[_0x352114(0x3fb)])['getConfig'](_0x4aadc7))return!0x0;const _0x262186=_0x1a2d6a[_0x352114(0xe4)](_0x4652af['SheetsPivotDataSourceModel']),{unitId:_0x2194f4,subUnitId:_0x2c4306,pivotTableId:_0x17a666,fieldId:_0x5e36d7,filterInfo:_0xcf2d4d}=_0x1e70fa,_0xb00b06=_0x262186['getPivotTableInstance'](_0x17a666);if(!_0xb00b06)return!0x1;_0xb00b06[_0x352114(0x16f)](_0x5e36d7,_0xcf2d4d);const _0xeabd66=_0x262186[_0x352114(0x17f)](_0x2194f4,_0x2c4306,_0x17a666);return _0x3dec04(_0xeabd66,_0x1e70fa),_0x262186[_0x352114(0x20a)]({'unitId':_0x2194f4,'subUnitId':_0x2c4306,'token':_0x17a666,'type':_0x5865c2['Set']}),!0x0;}},_0x227ab8={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x2ce),'handler'(_0x5be32b,_0x508689){const _0x46f5c=_0x37107d;if(!_0x508689)return!0x1;if(!!_0x5be32b['get'](_0x5475a7[_0x46f5c(0x3fb)])[_0x46f5c(0x146)](_0x4aadc7))return!0x0;const _0x1ecb72=_0x5be32b['get'](_0x4652af[_0x46f5c(0x275)]),{unitId:_0x1b8472,subUnitId:_0x28e9c7,pivotTableId:_0x12bb87,area:_0x33ebf3,index:_0x1fc51a,fieldId:_0x206046}=_0x508689,_0x553fb7=_0x1ecb72[_0x46f5c(0x266)](_0x12bb87);if(!_0x553fb7)return!0x1;_0x553fb7[_0x46f5c(0x110)](_0x206046,_0x33ebf3,_0x1fc51a);const _0x4f40c0=_0x1ecb72[_0x46f5c(0x17f)](_0x1b8472,_0x28e9c7,_0x12bb87);return _0x5ac2bc(_0x4f40c0,_0x508689),_0x1ecb72[_0x46f5c(0x20a)]({'unitId':_0x1b8472,'subUnitId':_0x28e9c7,'token':_0x12bb87,'type':_0x5865c2[_0x46f5c(0x1f6)]}),!0x0;}},_0x3f9e27={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x16dc5a,_0x56a65a){const _0x49408d=_0x37107d;if(!_0x56a65a)return!0x1;if(!!_0x16dc5a[_0x49408d(0xe4)](_0x5475a7[_0x49408d(0x3fb)])[_0x49408d(0x146)](_0x4aadc7))return!0x0;const _0x187e4f=_0x16dc5a[_0x49408d(0xe4)](_0x4652af[_0x49408d(0x275)]),{unitId:_0x3212a4,subUnitId:_0x77afe8,pivotTableId:_0x35a89d,sourceName:_0x257e0f,dataFieldId:_0xa4a913,tableFieldId:_0x4a9b5a}=_0x56a65a,_0x561f14=_0x187e4f[_0x49408d(0x266)](_0x35a89d);if(!_0x561f14)return!0x1;_0x561f14[_0x49408d(0x299)](_0x4a9b5a,_0x257e0f,_0xa4a913);const _0x52c964=_0x187e4f[_0x49408d(0x17f)](_0x3212a4,_0x77afe8,_0x35a89d);return _0x30d107(_0x52c964,_0x56a65a),_0x187e4f[_0x49408d(0x20a)]({'unitId':_0x3212a4,'subUnitId':_0x77afe8,'token':_0x35a89d,'type':_0x5865c2[_0x49408d(0x1f6)]}),!0x0;}},_0x5a17aa={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x2434f2,_0x296578){const _0x360138=_0x37107d;if(!_0x296578)return!0x1;if(!!_0x2434f2[_0x360138(0xe4)](_0x5475a7[_0x360138(0x3fb)])[_0x360138(0x146)](_0x4aadc7))return!0x0;const _0x4172fd=_0x2434f2[_0x360138(0xe4)](_0x4652af[_0x360138(0x275)]),{unitId:_0x4af6cb,subUnitId:_0x4c85ce,pivotTableId:_0x2a2849,valuePosition:_0x1b36c4,index:_0x1fd9f4}=_0x296578,_0x1e7f50=_0x4172fd[_0x360138(0x266)](_0x2a2849);if(!_0x1e7f50)return!0x1;_0x1e7f50[_0x360138(0x30c)](_0x1b36c4,_0x1fd9f4);const _0x4e4672=_0x4172fd['getPivotTableModelConfig'](_0x4af6cb,_0x4c85ce,_0x2a2849);return _0x28bee0(_0x4e4672,_0x296578),_0x4172fd[_0x360138(0x20a)]({'unitId':_0x4af6cb,'subUnitId':_0x4c85ce,'token':_0x2a2849,'type':_0x5865c2[_0x360138(0x1f6)]}),!0x0;}};function _0x1bd7c8(_0x3e345b,_0xe5b1b3,_0x57864d){const _0x1dfcc9=_0x37107d,{pivotTableId:_0x1c64bf,unitId:_0x24d394,subUnitId:_0x48194c}=_0xe5b1b3,_0x4e900f=[],_0x192084=[];for(const _0x31d977 of _0x57864d)switch(_0x31d977[_0x1dfcc9(0x249)]){case _0x42fb89[_0x1dfcc9(0x1c9)][_0x1dfcc9(0x391)]:{const {fieldJson:_0xc1fb32,area:_0x40d359,index:_0x3ad54e}=_0x31d977,_0x3cf009={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldJson':_0xc1fb32,'area':_0x40d359,'index':_0x3ad54e},_0x424ef9={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0xc1fb32['id'],'area':_0x40d359,'index':_0x3ad54e};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x5485a4['id'],'params':_0x3cf009}),_0x192084[_0x1dfcc9(0x34e)]({'id':_0x497dc7['id'],'params':_0x424ef9});}break;case _0x42fb89[_0x1dfcc9(0x1c9)]['SetSubtotalType']:{const {fieldId:_0x113d22,newSubtotalType:_0x2a832d,oldSubtotalType:_0x20e8d3}=_0x31d977,_0x514f3e={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x113d22,'subtotalType':_0x2a832d};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x133278['id'],'params':_0x514f3e});const _0x3d7648={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x113d22,'subtotalType':_0x20e8d3};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x133278['id'],'params':_0x3d7648});}break;case _0x42fb89[_0x1dfcc9(0x1c9)]['RemoveField']:{const {fieldId:_0x4f2fea,fieldJson:_0x11c97a,area:_0x2578b7,index:_0x4afdcc}=_0x31d977,_0x21fcea={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x4f2fea,'index':_0x4afdcc,'area':_0x2578b7};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x497dc7['id'],'params':_0x21fcea});const _0x4d4e44={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldJson':_0x11c97a,'area':_0x2578b7,'index':_0x4afdcc};_0x192084['unshift']({'id':_0x5485a4['id'],'params':_0x4d4e44});}break;case _0x42fb89[_0x1dfcc9(0x1c9)]['RenameField']:{const {fieldId:_0x2cee86,oldName:_0x1fe19,newName:_0x4beea9}=_0x31d977,_0x525c46={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x2cee86,'name':_0x4beea9};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x198914['id'],'params':_0x525c46});const _0xa32dc4={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x2cee86,'name':_0x1fe19};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x198914['id'],'params':_0xa32dc4});}break;case _0x42fb89['PivotTableChangeTypeEnum']['SetFilterInfo']:{const {fieldId:_0x519af9,oldFilterInfo:_0x158c22,newFilterInfo:_0x5b7c47}=_0x31d977,_0x1e9903={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x519af9,'filterInfo':_0x5b7c47};_0x4e900f['push']({'id':_0x3d7071['id'],'params':_0x1e9903});const _0x452f2a={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x519af9,'filterInfo':_0x158c22};_0x192084['unshift']({'id':_0x3d7071['id'],'params':_0x452f2a});}break;case _0x42fb89[_0x1dfcc9(0x1c9)][_0x1dfcc9(0x125)]:{const {fieldId:_0x53603b,oldSortInfo:_0x3a5775,newSortInfo:_0x2cd661}=_0x31d977,_0x488678={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x53603b,'sortInfo':_0x2cd661};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x536952['id'],'params':_0x488678});const _0xfdcb23={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x53603b,'sortInfo':_0x3a5775};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x536952['id'],'params':_0xfdcb23});}break;case _0x42fb89['PivotTableChangeTypeEnum'][_0x1dfcc9(0x2b1)]:{const {oldOptions:_0x533cf8,newOptions:_0x828858}=_0x31d977,_0x40e305={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'options':_0x828858};_0x4e900f['push']({'id':_0x35183d['id'],'params':_0x40e305});const _0x459846={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'options':_0x533cf8};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x35183d['id'],'params':_0x459846});}break;case _0x42fb89[_0x1dfcc9(0x1c9)][_0x1dfcc9(0x3e4)]:{const {oldArea:_0x16c5ce,newArea:_0x5545a8,oldIndex:_0x46bb4a,newIndex:_0x38d0bf,fieldId:_0x4a4c4d}=_0x31d977,_0x58237a={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x4a4c4d,'area':_0x5545a8,'index':_0x38d0bf,'oldArea':_0x16c5ce,'oldIndex':_0x46bb4a};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x227ab8['id'],'params':_0x58237a});const _0x528e68={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x4a4c4d,'area':_0x16c5ce,'index':_0x46bb4a,'oldArea':_0x5545a8,'oldIndex':_0x38d0bf};_0x192084['unshift']({'id':_0x227ab8['id'],'params':_0x528e68});}break;case _0x42fb89[_0x1dfcc9(0x1c9)]['UpdateValuePosition']:{const {oldValuePosition:_0x12c2b2,newValuePosition:_0x510250,oldIndex:_0x45e88a,newIndex:_0x4d3cde}=_0x31d977,_0x1237fc={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'valuePosition':_0x510250,'index':_0x4d3cde};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x5a17aa['id'],'params':_0x1237fc});const _0x2f0e37={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'valuePosition':_0x12c2b2,'index':_0x45e88a};_0x192084['unshift']({'id':_0x5a17aa['id'],'params':_0x2f0e37});}break;case _0x42fb89['PivotTableChangeTypeEnum'][_0x1dfcc9(0x2df)]:{const {fieldId:_0xb50b89,collapse:_0xb311f3,item:_0x207d16}=_0x31d977,_0x5027a2={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0xb50b89,'collapse':_0xb311f3,'item':_0x207d16};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0xc60e14['id'],'params':_0x5027a2});const _0x28eac7={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0xb50b89,'collapse':!_0xb311f3,'item':_0x207d16};_0x192084[_0x1dfcc9(0x34e)]({'id':_0xc60e14['id'],'params':_0x28eac7});}break;case _0x42fb89[_0x1dfcc9(0x1c9)][_0x1dfcc9(0x36e)]:{const {newFormat:_0x2cd1b3,oldFormat:_0x1498fa,fieldId:_0x47302a}=_0x31d977,_0x1db1a7={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x47302a,'format':_0x2cd1b3};_0x4e900f['push']({'id':_0x40f547['id'],'params':_0x1db1a7});const _0x3f173b={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x47302a,'format':_0x1498fa};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x40f547['id'],'params':_0x3f173b});}break;case _0x42fb89[_0x1dfcc9(0x1c9)][_0x1dfcc9(0x25f)]:{const {tableFieldId:_0x39118a,oldSourceName:_0x393302,newSourceName:_0x72ee5a,oldDataFieldId:_0x160caf,newDataFieldId:_0xcf5ed4}=_0x31d977,_0x4a713e={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'tableFieldId':_0x39118a,'sourceName':_0x72ee5a,'dataFieldId':_0xcf5ed4};_0x4e900f['push']({'id':_0x3f9e27['id'],'params':_0x4a713e});const _0x2d6a5a={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'tableFieldId':_0x39118a,'sourceName':_0x393302,'dataFieldId':_0x160caf};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x3f9e27['id'],'params':_0x2d6a5a});}break;case _0x42fb89[_0x1dfcc9(0x1c9)]['SetValueFilter']:{const {fieldId:_0x358ea4,filterInfo:_0x25be7f,oldFilterInfo:_0x196c21}=_0x31d977,_0x21cb98={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x358ea4,'filterInfo':_0x25be7f};_0x4e900f[_0x1dfcc9(0x229)]({'id':_0x5eef3d['id'],'params':_0x21cb98});const _0x271421={'unitId':_0x24d394,'subUnitId':_0x48194c,'pivotTableId':_0x1c64bf,'fieldId':_0x358ea4,'filterInfo':_0x196c21};_0x192084[_0x1dfcc9(0x34e)]({'id':_0x5eef3d['id'],'params':_0x271421});}}return{'redos':_0x4e900f,'undos':_0x192084};}function _0x3b48c3(_0x52bdda,_0x14aa86){const _0x5e590e=_0x37107d;var _0x26d183;const _0x1fed07=_0x52bdda['get'](_0x4652af['SheetsPivotTableService']),{cellInfo:_0x576b41,view:_0x2badfc,isEmpty:_0x4e679e}=_0x14aa86;return(_0x26d183=_0x1fed07[_0x5e590e(0x23d)][_0x5e590e(0x223)](_0x359ef9)(_0x33ea83,{'cellInfo':_0x576b41,'view':_0x2badfc,'isEmpty':_0x4e679e}))!=null?_0x26d183:_0x33ea83;}const _0x4ee102={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x1cd),async 'handler'(_0x21c53e,_0x5861c5){const _0x53ea01=_0x37107d;if(!_0x5861c5)return!0x1;const _0x1d6f3c=_0x21c53e[_0x53ea01(0xe4)](_0x5475a7['ICommandService']),_0x3fe852=_0x21c53e[_0x53ea01(0xe4)](_0x4652af[_0x53ea01(0x1d6)]),_0x885d25=_0x21c53e[_0x53ea01(0xe4)](_0x5475a7[_0x53ea01(0x2fa)]),{pivotTableId:_0x5d5bb7,dataFieldId:_0x11d5c2,fieldArea:_0x78431a,index:_0x47d531,unitId:_0x330a54,subUnitId:_0x32049b}=_0x5861c5,_0x2185f1=(await _0x3fe852[_0x53ea01(0x24b)]({'unitId':_0x330a54,'subUnitId':_0x32049b,'pivotTableId':_0x5d5bb7,'params':{'type':_0x12f3cf[_0x53ea01(0x3aa)],'addPivotField':{'dataFieldId':_0x11d5c2,'fieldArea':_0x78431a,'index':_0x47d531}}}))[_0x53ea01(0x2d6)]['addPivotField'];if(!_0x2185f1)return!0x1;const {view:_0x5ab670,changesets:_0x3a2cd3,isEmpty:_0x6287de,pivotTableConfig:_0x2cd871,shouldBeAddedGroupJSON:_0x2e9aa5}=_0x2185f1,_0x51c3f9=_0x2cd871[_0x53ea01(0x258)],_0x53d009=new _0x42fb89[(_0x53ea01(0x2e8))]();_0x53d009[_0x53ea01(0x2a4)](_0x5ab670);const _0x5d4bfa={'cellInfo':_0x51c3f9,'view':_0x53d009,'isEmpty':_0x6287de};if(!await _0x21c53e['get'](_0x4652af[_0x53ea01(0x37c)])[_0x53ea01(0x2c7)]['fetchThroughAsyncInterceptors'](_0x510c1a)(!0x0,_0x5d4bfa))return!0x1;const _0x7034b0=_0x4ba4b0(_0x21c53e,_0x53d009,_0x51c3f9,_0x6287de),_0x191326=_0x3b48c3(_0x21c53e,_0x5d4bfa),{undos:_0x104c3b,redos:_0x1037c2}=_0x1bd7c8(_0x1d6f3c,{'pivotTableId':_0x5d5bb7,'unitId':_0x330a54,'subUnitId':_0x32049b},_0x3a2cd3);return _0x2e9aa5&&(_0x1037c2['unshift']({'id':_0xfbeea8['id'],'params':{'pivotTableId':_0x5d5bb7,'fieldJSON':_0x2e9aa5,'unitId':_0x330a54,'subUnitId':_0x32049b}}),_0x104c3b['push']({'id':_0x29bf5c['id'],'params':{'pivotTableId':_0x5d5bb7,'dataFieldId':_0x2e9aa5['id'],'unitId':_0x330a54,'subUnitId':_0x32049b}})),_0x5475a7[_0x53ea01(0x37d)]([..._0x7034b0[_0x53ea01(0x1f0)],..._0x191326[_0x53ea01(0x1f0)],..._0x1037c2],_0x1d6f3c),_0x885d25[_0x53ea01(0x318)]({'unitID':_0x330a54,'redoMutations':[..._0x7034b0[_0x53ea01(0x1f0)],..._0x191326['redos'],..._0x1037c2],'undoMutations':[..._0x7034b0[_0x53ea01(0x28b)],..._0x191326['undos'],..._0x104c3b]}),!0x0;}},_0x2ee275=()=>typeof process<'u'&&process[_0x37107d(0x26d)]!=null&&process[_0x37107d(0x26d)][_0x37107d(0x225)]!=null,_0x211495={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x338),'handler'(_0x1f70af,_0x31f0e4){const _0xadc229=_0x37107d;var _0x44e343;if(!_0x31f0e4)return!0x1;const _0x507460=_0x1f70af['get'](_0x5475a7[_0xadc229(0x3fb)]);if(!!_0x507460['getConfig'](_0x4aadc7))return!0x0;const _0x1b104e=_0x1f70af['get'](_0x5475a7['IUniverInstanceService']),_0x52e49a=_0x1f70af[_0xadc229(0xe4)](_0x4652af[_0xadc229(0x275)]),{pivotTableId:_0x13ddfc,pivotTableConfig:_0x405bbe,collectionConfig:_0x54a1e4,unitId:_0x5b300c,subUnitId:_0x3c6145}=_0x31f0e4,{sourceRangeInfo:_0x104129,fieldsConfig:_0x49f315,targetCellInfo:_0x212204}=_0x405bbe,_0x574046=_0x1b104e['getUnit'](_0x5b300c);if(!_0x574046||!_0x574046[_0xadc229(0x153)](_0x3c6145))return!0x1;if(!_0x2ee275()){let _0x16b30c=0x0;_0x574046[_0xadc229(0x2f0)]()[_0xadc229(0x15d)](_0x1f3a1c=>{const _0x223ae5=_0xadc229;var _0x71e374,_0xd7c6fd;_0x16b30c+=(_0xd7c6fd=(_0x71e374=_0x52e49a[_0x223ae5(0x3b4)](_0x5b300c,_0x1f3a1c['getSheetId']()))==null?void 0x0:_0x71e374[_0x223ae5(0x290)])!=null?_0xd7c6fd:0x0;});const _0xcc363b=(_0x44e343=_0x507460[_0xadc229(0x146)](_0x57119e[_0xadc229(0x348)]))!=null?_0x44e343:{},{ls:_0x2f1f3e,pbk:_0x5c0f1}=_0xcc363b;if(!_0x57370b(_0x2f1f3e,_0x5c0f1))throw new _0x5475a7[(_0xadc229(0x12c))]('limit\x20pivot');const _0x44c4b=_0x16ef4f(_0x5dcb75,_0x2f1f3e,_0x5c0f1)['count'];if(_0x16b30c>=_0x44c4b)throw new _0x5475a7[(_0xadc229(0x12c))](_0xadc229(0x21e));}if(!_0x54a1e4||!_0x49f315)return!0x1;const {collection:_0x1b10a9,updateDataFieldList:_0x4ca774}=_0x52e49a[_0xadc229(0x345)](_0x13ddfc,_0x54a1e4,_0x104129,_0x212204);_0x52e49a[_0xadc229(0x2a6)](_0x1b10a9,_0x4ca774,_0x104129);const _0x10cc6b=new _0x42fb89[(_0xadc229(0x151))](_0x1b10a9,void 0x0,_0x13ddfc);_0x10cc6b[_0xadc229(0x328)](_0x49f315);const _0x1625b6=JSON[_0xadc229(0x102)](JSON[_0xadc229(0x3c3)](_0x405bbe));return _0x52e49a[_0xadc229(0x3f6)](_0x5b300c,_0x3c6145,_0x13ddfc,_0x10cc6b,_0x1625b6),_0x52e49a['addDirtyPivotTable']({'unitId':_0x5b300c,'subUnitId':_0x3c6145,'token':_0x13ddfc,'type':_0x5865c2[_0xadc229(0x282)],'pivotConfig':_0x1625b6}),!0x0;}},_0x4463ea={'type':_0x5475a7[_0x37107d(0x3ce)]['COMMAND'],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x3a0561,_0x5b8627){const _0x212fd5=_0x37107d;if(!_0x5b8627)return!0x1;const {sourceDataInfo:_0x4146b9,pivotTableConfig:_0x433c59}=_0x5b8627;if(!_0x4146b9||!_0x433c59)return!0x1;const {unitId:_0x52c931,subUnitId:_0x28ca8d,range:_0x33874d}=_0x4146b9,_0x4fde40=_0x3a0561[_0x212fd5(0xe4)](_0x5475a7[_0x212fd5(0x14d)]),_0x4f3677=_0x3a0561[_0x212fd5(0xe4)](_0x4652af[_0x212fd5(0x1d6)]),_0xa9502f=_0x3a0561[_0x212fd5(0xe4)](_0x5475a7[_0x212fd5(0xea)]),_0x59da7a=_0x3a0561[_0x212fd5(0xe4)](_0x5475a7[_0x212fd5(0x3d6)]),_0x2aeff5=_0x4fde40['getUnit'](_0x52c931);if(!_0x2aeff5)return!0x1;const _0x20a7b6=_0x2aeff5[_0x212fd5(0x153)](_0x28ca8d);if(!_0x20a7b6)return!0x1;const _0x4fa4da=_0x42fb89[_0x212fd5(0x242)](0x8),_0xd39962=_0x33874d||{'startRow':0x0,'startColumn':0x0,'endRow':_0x20a7b6[_0x212fd5(0x37e)]()-0x1,'endColumn':_0x20a7b6[_0x212fd5(0x215)]()-0x1};_0xd39962[_0x212fd5(0x293)]=_0x5475a7[_0x212fd5(0x3eb)][_0x212fd5(0x144)];const _0x49b906=(await _0x4f3677['getPivotDisplayConfig']({'unitId':_0x52c931,'subUnitId':_0x28ca8d,'pivotTableId':_0x4fa4da,'params':{'type':_0x12f3cf[_0x212fd5(0x1f1)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x52c931,'sheetName':_0x20a7b6['getName'](),'subUnitId':_0x28ca8d,'range':_0xd39962},'pivotTableId':_0x4fa4da,'pivotTableIndexConfig':_0x433c59}}}))[_0x212fd5(0x2d6)][_0x212fd5(0xe1)];if(!_0x49b906)return!0x1;const {isEmpty:_0x525c25,fieldsConfig:_0x5bb1e8,collectionConfig:_0x562133,changesets:_0x3f5567}=_0x49b906,_0x49b072=_0x2aeff5[_0x212fd5(0x2f0)]()[_0x212fd5(0x298)],_0x31d891=_0x5475a7[_0x212fd5(0x277)]({'rowCount':_0x20a7b6[_0x212fd5(0x37e)]()-0x1,'columnCount':_0x20a7b6[_0x212fd5(0x215)]()-0x1});_0x31d891['id']=_0x5475a7[_0x212fd5(0x2a9)](),_0x31d891[_0x212fd5(0x12f)]=_0x2aeff5[_0x212fd5(0x1cb)](''+_0xa9502f['t'](_0x212fd5(0x130)));const _0x1b7089={'index':_0x49b072,'sheet':_0x31d891,'unitId':_0x52c931},{redos:_0xdda2d4}=_0x1bd7c8(_0x59da7a,{'pivotTableId':_0x4fa4da,'unitId':_0x52c931,'subUnitId':_0x31d891['id']},_0x3f5567),_0x3a6420=[{'id':_0x20619b[_0x212fd5(0x166)]['id'],'params':_0x1b7089},{'id':_0x211495['id'],'params':{'unitId':_0x52c931,'subUnitId':_0x31d891['id'],'pivotTableId':_0x4fa4da,'pivotTableConfig':{'isEmpty':_0x525c25,'fieldsConfig':_0x5bb1e8,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x52c931,'subUnitId':_0x31d891['id']},'sourceRangeInfo':{'subUnitId':_0x28ca8d,'unitId':_0x52c931,'range':_0xd39962,'sheetName':_0x20a7b6[_0x212fd5(0x257)]()}},'collectionConfig':_0x562133}},..._0xdda2d4];return _0x5475a7['sequenceExecute'](_0x3a6420,_0x59da7a),!0x0;}},_0x5d03d4={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x217),'handler'(_0x384218,_0x409a07){const _0x4bf056=_0x37107d;if(!_0x409a07)return!0x1;if(!!_0x384218[_0x4bf056(0xe4)](_0x5475a7[_0x4bf056(0x3fb)])['getConfig'](_0x4aadc7))return!0x0;const {pivotTableId:_0xa33a07,unitId:_0x108200,subUnitId:_0x5b1d75}=_0x409a07,_0x385586=_0x384218['get'](_0x4652af[_0x4bf056(0x275)]);return _0x385586[_0x4bf056(0x36b)](_0x108200,_0x5b1d75,_0xa33a07)?(_0x385586[_0x4bf056(0x20a)]({'unitId':_0x108200,'subUnitId':_0x5b1d75,'token':_0xa33a07,'type':_0x5865c2[_0x4bf056(0x108)]}),_0x385586[_0x4bf056(0x340)](_0x108200,_0x5b1d75,_0xa33a07),!0x0):!0x1;}},_0x13346d={'type':_0x5475a7['CommandType'][_0x37107d(0x222)],'id':_0x37107d(0x2bb),async 'handler'(_0x5ea9c2,_0x4fadbb){const _0x450192=_0x37107d;var _0x5864e6,_0x1e102c;const _0x3467c9=_0x5ea9c2[_0x450192(0xe4)](_0x5475a7[_0x450192(0x3d6)]),_0x1cc4e0=_0x5ea9c2[_0x450192(0xe4)](_0x5475a7[_0x450192(0x14d)]),_0x2a9dc0=_0x5ea9c2['get'](_0x5475a7[_0x450192(0xea)]),_0x133c25=_0x5ea9c2[_0x450192(0xe4)](_0x4652af['SheetsPivotRPCService']),_0x510d02=_0x5ea9c2[_0x450192(0xe4)](_0x5475a7[_0x450192(0x2fa)]),_0x2af8e1=_0x5ea9c2['get'](_0x4652af['SheetsPivotTableConfigModel']),_0x4a362a=_0x5ea9c2[_0x450192(0xe4)](_0x5475a7[_0x450192(0x3fb)]);if(!_0x4fadbb)return!0x1;const {pivotTableConfig:_0x1d8cc3,positionType:_0x3846f7}=_0x4fadbb,{targetCellInfo:_0x61adab,sourceRangeInfo:_0x24562d}=_0x1d8cc3,{unitId:_0x2b6650,subUnitId:_0x607965}=_0x61adab,_0x5de646=_0x1cc4e0[_0x450192(0x36f)](_0x2b6650);if(!_0x5de646)return!0x1;let _0x4e631d=0x0;_0x5de646[_0x450192(0x2f0)]()[_0x450192(0x15d)](_0x15f53d=>{const _0x478622=_0x450192;var _0x1ae88f,_0x2afe21;_0x4e631d+=(_0x2afe21=(_0x1ae88f=_0x2af8e1[_0x478622(0x3b4)](_0x2b6650,_0x15f53d[_0x478622(0x38d)]()))==null?void 0x0:_0x1ae88f[_0x478622(0x290)])!=null?_0x2afe21:0x0;});const _0x443524=(_0x5864e6=_0x4a362a[_0x450192(0x146)](_0x57119e['LS_CONFIG_KEY']))!=null?_0x5864e6:{},{ls:_0x298d02,pbk:_0x1def2f}=_0x443524;if(!_0x57370b(_0x298d02,_0x1def2f))return!0x1;const _0x504313=_0x16ef4f(_0x5dcb75,_0x298d02,_0x1def2f)[_0x450192(0x3e0)];if(_0x4e631d>=_0x504313)return!0x1;const _0x206d05=_0x4fadbb[_0x450192(0x252)]||_0x42fb89[_0x450192(0x242)](0x8),_0x28a2ab=(await _0x133c25[_0x450192(0x24b)]({'unitId':_0x2b6650,'subUnitId':_0x607965,'pivotTableId':_0x206d05,'params':{'type':_0x12f3cf[_0x450192(0x2b6)],'addPivotTable':{'sourceRangeInfo':_0x24562d,'pivotTableId':_0x206d05}}}))[_0x450192(0x2d6)]['addPivotTable'];if(!_0x28a2ab)return!0x1;const {view:_0x11c89b,isEmpty:_0x179186,fieldsConfig:_0x553e17,collectionConfig:_0x17fe77}=_0x28a2ab,_0x1244f9=[],_0x29a2ae=[];if(_0x3846f7===_0x570a84[_0x450192(0x38e)]){const _0xfffe64=_0x5de646[_0x450192(0x2f0)]()['length'],_0x1bc7d6=_0x5475a7['mergeWorksheetSnapshotWithDefault']({});_0x1bc7d6['id']=_0x1d8cc3['targetCellInfo'][_0x450192(0x341)],_0x1bc7d6[_0x450192(0x12f)]=(_0x1e102c=_0x1d8cc3[_0x450192(0x258)][_0x450192(0x320)])!=null?_0x1e102c:_0x5de646['generateNewSheetName'](''+_0x2a9dc0['t'](_0x450192(0x130)));const _0x457004={'index':_0xfffe64,'sheet':_0x1bc7d6,'unitId':_0x2b6650},_0x45b9e7=_0x20619b[_0x450192(0x184)](_0x5ea9c2,_0x457004);_0x1244f9[_0x450192(0x229)]({'id':_0x20619b[_0x450192(0x294)]['id'],'params':_0x45b9e7}),_0x29a2ae['push']({'id':_0x20619b[_0x450192(0x1bb)]['id'],'params':_0x457004});}else{if(!_0x5de646[_0x450192(0x153)](_0x607965))return!0x1;const _0x13795e=_0x4ba4b0(_0x5ea9c2,new _0x42fb89[(_0x450192(0x2e8))](),_0x61adab,!0x0);_0x29a2ae['push'](..._0x13795e[_0x450192(0x1f0)]),_0x1244f9['push'](..._0x13795e['undos']);const _0x209a46={'cellInfo':_0x61adab,'view':_0x11c89b,'isEmpty':_0x179186};if(!await _0x5ea9c2[_0x450192(0xe4)](_0x4652af['SheetsPivotTableService'])[_0x450192(0x2c7)][_0x450192(0x3d7)](_0x510c1a)(!0x0,_0x209a46))return!0x1;const _0x23c856=_0x3b48c3(_0x5ea9c2,_0x209a46);_0x29a2ae['push'](..._0x23c856['redos']),_0x1244f9[_0x450192(0x229)](..._0x23c856['undos']);}return _0x29a2ae['push']({'id':_0x211495['id'],'params':{'unitId':_0x61adab[_0x450192(0x2ec)],'subUnitId':_0x61adab['subUnitId'],'pivotTableId':_0x206d05,'pivotTableConfig':{'targetCellInfo':_0x61adab,'sourceRangeInfo':_0x24562d,'fieldsConfig':_0x553e17},'collectionConfig':_0x17fe77}}),_0x1244f9['unshift']({'id':_0x5d03d4['id'],'params':{'unitId':_0x2b6650,'subUnitId':_0x607965,'pivotTableId':_0x206d05}}),_0x5475a7[_0x450192(0x37d)](_0x29a2ae,_0x3467c9)&&_0x510d02[_0x450192(0x318)]({'unitID':_0x2b6650,'undoMutations':_0x1244f9,'redoMutations':_0x29a2ae}),!0x0;}},_0x17cc00={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x265),async 'handler'(_0x56c27c,_0x23ee15){const _0x2124ec=_0x37107d;if(!_0x23ee15)return!0x1;const _0x4f8043=_0x56c27c[_0x2124ec(0xe4)](_0x5475a7[_0x2124ec(0x3d6)]),_0x3b6cac=_0x56c27c[_0x2124ec(0xe4)](_0x4652af[_0x2124ec(0x1d6)]),_0x3097af=_0x56c27c[_0x2124ec(0xe4)](_0x5475a7[_0x2124ec(0x2fa)]),{pivotTableId:_0x15de31,fieldId:_0x21cda5,area:_0x56786e,index:_0x5c0225,unitId:_0x1950b0,subUnitId:_0x51a775}=_0x23ee15,_0x691dfe=(await _0x3b6cac[_0x2124ec(0x24b)]({'unitId':_0x1950b0,'subUnitId':_0x51a775,'pivotTableId':_0x15de31,'params':{'type':_0x12f3cf[_0x2124ec(0x2c3)],'movePivotField':{'fieldId':_0x21cda5,'area':_0x56786e,'index':_0x5c0225}}}))[_0x2124ec(0x2d6)]['movePivotField'];if(!_0x691dfe)return!0x1;const {changesets:_0x47cf6e,view:_0x6e0fa6,isEmpty:_0x39f298,pivotTableConfig:_0x379800}=_0x691dfe,_0x50715b=_0x379800['targetCellInfo'],_0x1cd400=new _0x42fb89[(_0x2124ec(0x2e8))]();_0x1cd400[_0x2124ec(0x2a4)](_0x6e0fa6);const _0x324c4f={'cellInfo':_0x50715b,'view':_0x1cd400,'isEmpty':_0x39f298};if(!await _0x56c27c[_0x2124ec(0xe4)](_0x4652af[_0x2124ec(0x37c)])['asyncInterceptor'][_0x2124ec(0x3d7)](_0x510c1a)(!0x0,_0x324c4f))return!0x1;const _0x218581=_0x4ba4b0(_0x56c27c,_0x1cd400,_0x50715b,_0x39f298),_0x476d71=_0x3b48c3(_0x56c27c,_0x324c4f),{redos:_0x32a013,undos:_0x17e85a}=_0x1bd7c8(_0x4f8043,{'pivotTableId':_0x15de31,'unitId':_0x1950b0,'subUnitId':_0x51a775},_0x47cf6e);return _0x5475a7[_0x2124ec(0x37d)]([..._0x218581['redos'],..._0x476d71[_0x2124ec(0x1f0)],..._0x32a013],_0x4f8043),_0x3097af['pushUndoRedo']({'unitID':_0x1950b0,'redoMutations':[..._0x218581[_0x2124ec(0x1f0)],..._0x476d71['redos'],..._0x32a013],'undoMutations':[..._0x218581['undos'],..._0x476d71[_0x2124ec(0x28b)],..._0x17e85a]}),!0x0;}},_0x3357a9={'type':_0x5475a7[_0x37107d(0x3ce)]['MUTATION'],'id':_0x37107d(0x367),'handler'(_0x5215d1,_0x29e220){const _0x44ea99=_0x37107d;if(!_0x29e220)return!0x1;if(!!_0x5215d1[_0x44ea99(0xe4)](_0x5475a7[_0x44ea99(0x3fb)])[_0x44ea99(0x146)](_0x4aadc7))return!0x0;const {pivotTableId:_0x444b15,targetCellPosition:_0x867c1b,unitId:_0x339993,subUnitId:_0x3d529e}=_0x29e220,_0x1995b6=_0x5215d1['get'](_0x4652af[_0x44ea99(0x275)]);if(!_0x1995b6[_0x44ea99(0x266)](_0x29e220['pivotTableId']))return!0x1;const _0x2c770d=_0x1995b6[_0x44ea99(0x3c7)](_0x444b15);if(!_0x2c770d)return!0x1;const _0x3f782e=_0x1995b6[_0x44ea99(0x3ad)](_0x2c770d['unitId'],_0x29e220[_0x44ea99(0x252)]);if(!_0x3f782e)return!0x1;const _0x358d0d=_0x1995b6[_0x44ea99(0x36b)](_0x2c770d[_0x44ea99(0x2ec)],_0x2c770d[_0x44ea99(0x341)],_0x444b15);if(!_0x358d0d)return!0x1;const _0x1760a6=_0x5475a7[_0x44ea99(0x3e1)][_0x44ea99(0x3f5)](_0x358d0d);_0x1760a6[_0x44ea99(0x258)]={'unitId':_0x339993,'subUnitId':_0x3d529e,'row':_0x867c1b['row'],'col':_0x867c1b[_0x44ea99(0x182)]};const _0x32063d=_0x3f782e[_0x44ea99(0x3ef)]();if(_0x2c770d['subUnitId']===_0x3d529e&&_0x2c770d[_0x44ea99(0x2ec)]===_0x339993)_0x1995b6[_0x44ea99(0x1ae)](_0x339993,_0x3d529e,_0x444b15,_0x1760a6),_0x1995b6[_0x44ea99(0x20a)]({'unitId':_0x339993,'subUnitId':_0x3d529e,'token':_0x444b15,'type':_0x5865c2[_0x44ea99(0x1f6)]});else{_0x1995b6[_0x44ea99(0x20a)]({'unitId':_0x2c770d[_0x44ea99(0x2ec)],'subUnitId':_0x2c770d['subUnitId'],'token':_0x444b15,'type':_0x5865c2['Delete']}),_0x1995b6[_0x44ea99(0x340)](_0x2c770d[_0x44ea99(0x2ec)],_0x2c770d[_0x44ea99(0x341)],_0x444b15);const _0x5f1e55=_0x1995b6[_0x44ea99(0x345)](_0x444b15,_0x32063d,_0x358d0d['sourceRangeInfo'],_0x1760a6[_0x44ea99(0x258)]),_0x4cd205=new _0x42fb89['PivotTable'](_0x5f1e55[_0x44ea99(0x11b)],void 0x0,_0x444b15);_0x4cd205[_0x44ea99(0x328)](_0x1760a6[_0x44ea99(0x311)]),_0x1995b6[_0x44ea99(0x3f6)](_0x339993,_0x3d529e,_0x444b15,_0x4cd205,_0x1760a6),_0x1995b6[_0x44ea99(0x20a)]({'unitId':_0x339993,'subUnitId':_0x3d529e,'token':_0x444b15,'type':_0x5865c2['Add'],'pivotConfig':_0x1760a6});}return!0x0;}},_0x2d021e={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x2ae),'handler':(_0x2fb2d5,_0x23df71)=>{const _0xaae970=_0x37107d,_0x5e0ed8=_0x2fb2d5[_0xaae970(0xe4)](_0x5475a7['ICommandService']),_0x4048d4=_0x2fb2d5['get'](_0x5475a7['IUndoRedoService']),_0x4d6d97=_0x2fb2d5['get'](_0x4652af[_0xaae970(0x28f)]),_0x1df96c=_0x2fb2d5['get'](_0x5475a7[_0xaae970(0x14d)]);if(!_0x23df71)return!0x1;const _0x4906fd=_0x20619b[_0xaae970(0x3fe)](_0x1df96c);if(!_0x4906fd)return!0x1;const {unitId:_0x283e7b,subUnitId:_0x4460fe,workbook:_0x1a20f3}=_0x4906fd,_0x10c6cb=_0x4d6d97['getPivotTableConfig'](_0x23df71[_0xaae970(0x2ba)][_0xaae970(0x2ec)],_0x23df71[_0xaae970(0x2ba)][_0xaae970(0x341)],_0x23df71[_0xaae970(0x252)]);if(!_0x10c6cb)return!0x1;const _0x12fd2c=_0x1a20f3[_0xaae970(0x153)](_0x23df71[_0xaae970(0x258)]['subUnitId']);if(!_0x12fd2c)throw new Error(_0xaae970(0x264));const _0x498109=_0x12fd2c[_0xaae970(0x37e)](),_0x5c9d87=_0x12fd2c[_0xaae970(0x215)]();if(_0x23df71[_0xaae970(0x258)]['row']>_0x498109||_0x23df71[_0xaae970(0x258)][_0xaae970(0x182)]>_0x5c9d87)throw new Error(_0xaae970(0x398));const _0x160bee=[{'id':_0x3357a9['id'],'params':{'unitId':_0x283e7b,'subUnitId':_0x23df71[_0xaae970(0x258)][_0xaae970(0x341)],'pivotTableId':_0x23df71[_0xaae970(0x252)],'targetCellPosition':{'row':_0x23df71['targetCellInfo'][_0xaae970(0x107)],'col':_0x23df71[_0xaae970(0x258)][_0xaae970(0x182)]}}}],_0x3e1c3e=[{'id':_0x3357a9['id'],'params':{'unitId':_0x283e7b,'subUnitId':_0x4460fe,'pivotTableId':_0x23df71['pivotTableId'],'targetCellPosition':{'row':_0x10c6cb[_0xaae970(0x258)]['row'],'col':_0x10c6cb['targetCellInfo'][_0xaae970(0x182)]}}}];return _0x5475a7[_0xaae970(0x37d)](_0x160bee,_0x5e0ed8)&&_0x4048d4[_0xaae970(0x318)]({'unitID':_0x283e7b,'undoMutations':_0x3e1c3e,'redoMutations':_0x160bee}),!0x0;}},_0x559eef={'type':_0x5475a7['CommandType'][_0x37107d(0x222)],'id':_0x37107d(0x129),async 'handler'(_0x3cb786,_0x4ef86c){const _0x519480=_0x37107d;var _0x46f352;if(!_0x4ef86c)return!0x1;const _0x4c68d9=_0x3cb786['get'](_0x5475a7[_0x519480(0x14d)]),_0x239bc3=_0x20619b['getSheetCommandTarget'](_0x4c68d9);if(!_0x239bc3)return!0x1;const {unitId:_0x5a776a,subUnitId:_0x2c653b,workbook:_0x41b581}=_0x239bc3,{row:_0xb141ca,col:_0x52ddc7}=_0x4ef86c,_0x43d586=_0x3cb786['get'](_0x4652af[_0x519480(0x1d0)]),_0x4e2e54=_0x43d586[_0x519480(0x296)](_0x5a776a,_0x2c653b,_0xb141ca,_0x52ddc7);if(!_0x4e2e54)return!0x1;const _0xbd488b=(_0x46f352=_0x43d586[_0x519480(0x121)](_0x5a776a,_0x2c653b,_0x4e2e54))==null?void 0x0:_0x46f352[_0x519480(0x3cc)];if(!_0xbd488b)return!0x1;const _0x8655fb=_0x3cb786[_0x519480(0xe4)](_0x4652af['SheetsPivotTableConfigModel'])[_0x519480(0x36b)](_0x5a776a,_0x2c653b,_0x4e2e54);if(!_0x8655fb)return!0x1;const {rowInfo:_0x517f7d,colInfo:_0x42090e}=_0xbd488b,_0xa30ead=_0x517f7d[_0xb141ca][_0x519480(0x31c)],_0x5267ae=_0x42090e[_0x52ddc7][_0x519480(0x31c)],_0x5f8ebf=_0x517f7d[_0xb141ca]['level'],_0x24e71c=_0x42090e[_0x52ddc7][_0x519480(0x34a)],_0x152192=_0xa30ead[_0x519480(0x251)](_0x5267ae),_0x3c6afc=_0x8655fb[_0x519480(0x311)]['rowFields']['slice'](0x0,_0x5f8ebf),_0x267929=_0x8655fb[_0x519480(0x311)][_0x519480(0x280)][_0x519480(0x29b)](0x0,_0x24e71c),_0x15f5d1=_0x3c6afc[_0x519480(0x251)](_0x267929),_0x2bfe87=_0x152192[_0x519480(0x13c)]((_0x5cbb6b,_0x5b8489)=>[_0x5cbb6b,_0x15f5d1[_0x5b8489]]),_0x5cb0e1=(await _0x3cb786[_0x519480(0xe4)](_0x4652af[_0x519480(0x1d6)])[_0x519480(0x24b)]({'unitId':_0x5a776a,'subUnitId':_0x2c653b,'pivotTableId':_0x4e2e54,'params':{'type':_0x12f3cf['DrillDown'],'drillDown':{'tuple':_0x2bfe87}}}))['result'][_0x519480(0x28c)];if(!_0x5cb0e1)return!0x1;const {indexes:_0x2bab4d,range:_0x54c6d6,sourceUnitId:_0x2bda1a,sourceSubUnitId:_0x28ef49,formatMap:_0x191478}=_0x5cb0e1,{startRow:_0x52d079,endRow:_0x4b8b9f,startColumn:_0x660c83,endColumn:_0x15abcd}=_0x54c6d6,_0x2abade=new _0x5475a7[(_0x519480(0x303))](),_0x3c7ef6=_0x4b8b9f-_0x52d079,_0x320681=_0x15abcd-_0x660c83,_0x373593={},_0x2033fe=_0x20619b['getSheetCommandTarget'](_0x4c68d9,{'unitId':_0x2bda1a,'subUnitId':_0x28ef49});if(!_0x2033fe)return!0x1;const _0x12999b=_0x1659df['colStyle'],_0x36f5ae=_0x1659df['subTotalStyle'],_0x22abfe=_0x1659df[_0x519480(0x388)],_0xbe79f5=_0x41b581[_0x519480(0xf2)]()[_0x519480(0x331)](_0x12999b),_0x1288d6=_0x41b581[_0x519480(0xf2)]()[_0x519480(0x331)](_0x36f5ae),_0x28cf05=_0x41b581[_0x519480(0xf2)]()[_0x519480(0x331)](_0x22abfe),{worksheet:_0xacd4fd}=_0x2033fe;let _0x3aa6ad=0x0;const _0x58bdf1=0x1;_0x2bab4d[_0x519480(0x15d)](_0x195f95=>{const _0x363038=_0x519480;for(let _0x4cf146=0x0;_0x4cf146<=_0x15abcd-_0x660c83;_0x4cf146++)_0x2abade['setValue'](_0x3aa6ad,_0x4cf146,_0xacd4fd[_0x363038(0x3df)](_0x195f95+_0x54c6d6['startRow']+_0x58bdf1,_0x4cf146));_0x3aa6ad++;});for(let _0x2e2409=_0x660c83;_0x2e2409<=_0x15abcd;_0x2e2409++){const _0x4add47=_0xacd4fd[_0x519480(0x3df)](_0x52d079,_0x2e2409);_0x373593[_0x52d079]||(_0x373593[_0x52d079]={}),_0x373593[_0x52d079][_0x2e2409]={..._0x4add47,'s':_0xbe79f5};}let _0x299cce=0x1;const _0x2a373b={},_0x19f8ef={};_0x2abade[_0x519480(0x157)]((_0x210e09,_0x311ad8)=>{const _0x274eb6=_0x519480;_0x311ad8[_0x274eb6(0x15d)](_0x2b1014=>{const _0x14e698=_0x274eb6,_0x555395=_0x2abade['getValue'](_0x210e09,_0x2b1014);if(_0x373593[_0x299cce]||(_0x373593[_0x299cce]={}),_0x373593[_0x299cce][_0x2b1014]={..._0x555395,'s':_0x299cce%0x2===0x0?_0x28cf05:_0x1288d6},_0x191478[_0x2b1014]&&_0x210e09>=0x0){const _0x365ee3=_0x299cce%0x2===0x0;let _0x5ed577=_0x365ee3?_0x19f8ef[_0x2b1014]:_0x2a373b[_0x2b1014];_0x5ed577||(_0x5ed577=_0x41b581[_0x14e698(0xf2)]()[_0x14e698(0x331)]({..._0x365ee3?_0x22abfe:_0x36f5ae,'n':{'pattern':_0x191478[_0x2b1014]}}),_0x365ee3?_0x19f8ef[_0x2b1014]=_0x5ed577:_0x2a373b[_0x2b1014]=_0x5ed577),_0x373593[_0x299cce][_0x2b1014]['s']=_0x5ed577;}}),_0x299cce++;});const _0x108fea=new _0x5475a7['ObjectMatrix'](_0x373593),_0x2cf892={};_0x108fea[_0x519480(0x29e)]((_0x33850a,_0x14835f,_0x3d7639)=>{_0x2cf892[_0x33850a]||(_0x2cf892[_0x33850a]={}),_0x2cf892[_0x33850a][_0x14835f]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0xfb73fd=[],_0x35b778=[],_0x540fd8=_0x41b581[_0x519480(0x2f0)]()[_0x519480(0x298)],_0x4ab61d=_0x5475a7[_0x519480(0x277)]({'rowCount':Math['max'](_0x5475a7['DEFAULT_WORKSHEET_ROW_COUNT'],_0x3c7ef6+0xa),'columnCount':Math[_0x519480(0x23f)](_0x5475a7[_0x519480(0x131)],_0x320681+0x5)}),_0xcbe3df=_0x3cb786[_0x519480(0xe4)](_0x5475a7[_0x519480(0xea)]);_0x4ab61d['id']=_0x5475a7[_0x519480(0x2a9)](),_0x4ab61d[_0x519480(0x12f)]=_0x41b581[_0x519480(0x1cb)](''+_0xcbe3df['t'](_0x519480(0x130)));const _0xb103b1={'index':_0x540fd8,'sheet':_0x4ab61d,'unitId':_0x5a776a},_0x1b9bef=_0x20619b['InsertSheetUndoMutationFactory'](_0x3cb786,_0xb103b1);_0x35b778[_0x519480(0x229)]({'id':_0x20619b['InsertSheetMutation']['id'],'params':_0xb103b1}),_0xfb73fd[_0x519480(0x229)]({'id':_0x20619b[_0x519480(0x294)]['id'],'params':_0x1b9bef}),_0x35b778[_0x519480(0x229)]({'id':_0x20619b[_0x519480(0x14c)]['id'],'params':{'unitId':_0x5a776a,'subUnitId':_0x4ab61d['id'],'cellValue':_0x373593}}),_0xfb73fd[_0x519480(0x34e)]({'id':_0x20619b[_0x519480(0x14c)]['id'],'params':{'unitId':_0x5a776a,'subUnitId':_0x4ab61d['id'],'cellValue':_0x2cf892}});const _0xe59d66={'startRow':0x0,'startColumn':0x0,'endRow':_0x299cce-0x1,'endColumn':_0x15abcd};_0x35b778[_0x519480(0x229)]({'id':_0x4187b0[_0x519480(0x17d)]['id'],'params':{'unitId':_0x5a776a,'subUnitId':_0x4ab61d['id'],'range':_0xe59d66}}),_0xfb73fd[_0x519480(0x34e)]({'id':_0x4187b0[_0x519480(0x25b)]['id'],'params':{'unitId':_0x5a776a,'subUnitId':_0x4ab61d['id']}});const _0x339675=_0x3cb786[_0x519480(0xe4)](_0x5475a7[_0x519480(0x3d6)]);return _0x5475a7[_0x519480(0x37d)](_0x35b778,_0x339675)&&_0x3cb786['get'](_0x5475a7[_0x519480(0x2fa)])['pushUndoRedo']({'unitID':_0x5a776a,'undoMutations':_0xfb73fd,'redoMutations':_0x35b778}),!0x0;}},_0x440bc6={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x3ba),async 'handler'(_0x33462e,_0x194d49){const _0x276b14=_0x37107d;if(!_0x194d49)return!0x1;const _0x313868=_0x33462e['get'](_0x5475a7[_0x276b14(0x3d6)]),_0xbbfe6=_0x33462e[_0x276b14(0xe4)](_0x4652af['SheetsPivotRPCService']),_0x5d35bb=_0x33462e[_0x276b14(0xe4)](_0x5475a7[_0x276b14(0x2fa)]),{pivotTableId:_0x4109fa,fieldIds:_0x15702d,unitId:_0x54031a,subUnitId:_0x50dbba}=_0x194d49,_0x34a45e=(await _0xbbfe6[_0x276b14(0x24b)]({'unitId':_0x54031a,'subUnitId':_0x50dbba,'pivotTableId':_0x4109fa,'params':{'type':_0x12f3cf[_0x276b14(0x240)],'removePivotField':{'fieldIds':_0x15702d}}}))[_0x276b14(0x2d6)][_0x276b14(0x2f9)];if(!_0x34a45e)return!0x1;const {view:_0xccc659,changesets:_0x427c80,isEmpty:_0x29d4fb,pivotTableConfig:_0x3379d7}=_0x34a45e,_0x45a412=_0x3379d7[_0x276b14(0x258)],_0x437503=new _0x42fb89[(_0x276b14(0x2e8))]();_0x437503[_0x276b14(0x2a4)](_0xccc659);const _0x4883eb={'cellInfo':_0x45a412,'view':_0x437503,'isEmpty':_0x29d4fb};if(!await _0x33462e[_0x276b14(0xe4)](_0x4652af[_0x276b14(0x37c)])[_0x276b14(0x2c7)][_0x276b14(0x3d7)](_0x510c1a)(!0x0,_0x4883eb))return!0x1;const _0x49b8ac=_0x4ba4b0(_0x33462e,_0x437503,_0x45a412,_0x29d4fb),_0x450f7a=_0x3b48c3(_0x33462e,_0x4883eb),{redos:_0x217aa5,undos:_0x5d9265}=_0x1bd7c8(_0x313868,{'pivotTableId':_0x4109fa,'unitId':_0x54031a,'subUnitId':_0x50dbba},_0x427c80);return _0x5475a7[_0x276b14(0x37d)]([..._0x49b8ac[_0x276b14(0x1f0)],..._0x450f7a[_0x276b14(0x1f0)],..._0x217aa5],_0x313868),_0x5d35bb[_0x276b14(0x318)]({'unitID':_0x54031a,'redoMutations':[..._0x49b8ac[_0x276b14(0x1f0)],..._0x450f7a['redos'],..._0x217aa5],'undoMutations':[..._0x49b8ac[_0x276b14(0x28b)],..._0x450f7a[_0x276b14(0x28b)],..._0x5d9265]}),!0x0;}},_0x5d2c34={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x21a),async 'handler'(_0xed7cd0,_0x5e6ece){const _0x1a1eda=_0x37107d;if(!_0x5e6ece)return!0x1;const _0x53f4f5=_0xed7cd0[_0x1a1eda(0xe4)](_0x5475a7['ICommandService']),_0x5735a8=_0xed7cd0[_0x1a1eda(0xe4)](_0x5475a7[_0x1a1eda(0x2fa)]),_0x13d73f=_0xed7cd0[_0x1a1eda(0xe4)](_0x4652af[_0x1a1eda(0x1d6)]),{resetArea:_0x4ecb7b,pivotTableId:_0x3d1c43,unitId:_0x230c9a,subUnitId:_0x2ff7a2}=_0x5e6ece,_0x5c2af7=(await _0x13d73f[_0x1a1eda(0x24b)]({'unitId':_0x230c9a,'subUnitId':_0x2ff7a2,'pivotTableId':_0x3d1c43,'params':{'type':_0x12f3cf[_0x1a1eda(0x377)],'resetPivotTable':{'pivotTableId':_0x3d1c43,'resetArea':_0x4ecb7b}}}))[_0x1a1eda(0x2d6)][_0x1a1eda(0x115)];if(!_0x5c2af7)return!0x1;const {changesets:_0x47dbfa}=_0x5c2af7,{redos:_0x2c4ca8,undos:_0x5539a4}=_0x1bd7c8(_0x53f4f5,{'pivotTableId':_0x3d1c43,'unitId':_0x230c9a,'subUnitId':_0x2ff7a2},_0x47dbfa);return _0x5475a7[_0x1a1eda(0x37d)](_0x2c4ca8,_0x53f4f5),_0x5735a8['pushUndoRedo']({'unitID':_0x230c9a,'redoMutations':_0x2c4ca8,'undoMutations':_0x5539a4}),!0x0;}},_0x3f4116={'type':_0x5475a7[_0x37107d(0x3ce)]['COMMAND'],'id':_0x37107d(0xf5),async 'handler'(_0x59505e,_0x161013){const _0x425445=_0x37107d,_0x536321=_0x59505e[_0x425445(0xe4)](_0x5475a7['ICommandService']),_0x4db6f3=_0x59505e[_0x425445(0xe4)](_0x4652af[_0x425445(0x1d6)]),_0x218632=_0x59505e[_0x425445(0xe4)](_0x4652af['SheetsPivotTableAdaptorModel']),_0x15bed8=_0x59505e[_0x425445(0xe4)](_0x5475a7['IUniverInstanceService']),_0x34f1af=_0x59505e[_0x425445(0xe4)](_0x5475a7[_0x425445(0xea)]),_0x4eb00b=_0x59505e[_0x425445(0xe4)](_0x5475a7[_0x425445(0x2fa)]);if(!_0x161013)return!0x1;const {unitId:_0x573868,subUnitId:_0x54a235,row:_0x3d3bcd,col:_0x4195d8,collapse:_0x4330cd}=_0x161013,_0x402519=_0x15bed8['getUnit'](_0x573868);if(!_0x402519||!_0x402519[_0x425445(0x153)](_0x54a235))return!0x1;const _0x754845=_0x218632['getPivotTableIdByCell'](_0x573868,_0x54a235,_0x3d3bcd,_0x4195d8);if(!_0x754845)return!0x1;const _0x1a1717=_0x218632['getPivotItemRenderInfoCache'](_0x573868,_0x54a235,_0x754845);if(!_0x1a1717)return!0x1;const _0x89388=_0x5475a7[_0x425445(0x2f7)](_0x3d3bcd,_0x4195d8),{rangesInfo:_0x8bb71c,areaInfo:_0x32fcad,headerMap:_0x18cd6c}=_0x1a1717;if(!_0x8bb71c||!_0x32fcad||!_0x18cd6c)return!0x1;const _0xfa730c=Object[_0x425445(0x33b)](_0x8bb71c)[_0x425445(0x344)](_0x36ac5b=>_0x8bb71c[_0x36ac5b]['some'](_0x1bca24=>_0x5475a7[_0x425445(0x2b7)][_0x425445(0x3b1)](_0x1bca24,_0x89388)));let _0x1a4b26;_0xfa730c===_0x425445(0x28a)?_0x1a4b26=_0x18cd6c[_0x425445(0x2e1)][_0x4195d8]:_0xfa730c===_0x425445(0x37b)&&(_0x1a4b26=_0x18cd6c['colHeaderMap'][_0x3d3bcd]);const _0x3cd26e=_0x1a4b26==null?void 0x0:_0x1a4b26[_0x425445(0x327)],_0x4dbcd6=_0x218632['getPivotTableCellData'](_0x573868,_0x54a235,_0x3d3bcd,_0x4195d8);let _0x579844=_0x4dbcd6==null?void 0x0:_0x4dbcd6['v'];if(_0x579844===_0x34f1af['t'](_0x425445(0x289))&&(_0x579844=_0x42fb89[_0x425445(0x309)][_0x425445(0x2bd)]),_0x579844==null||!_0x754845||!_0x3cd26e)return!0x1;const _0x2fe9aa=await _0x4db6f3['getPivotDisplayConfig']({'unitId':_0x573868,'subUnitId':_0x54a235,'pivotTableId':_0x754845,'params':{'type':_0x12f3cf[_0x425445(0x3a6)],'setPivotCollapse':{'tableFieldId':_0x3cd26e,'collapse':_0x4330cd,'item':_0x579844}}}),_0x17f3d5=_0x2fe9aa==null?void 0x0:_0x2fe9aa[_0x425445(0x2d6)][_0x425445(0x2cc)];if(!_0x17f3d5)return!0x1;const {view:_0x110ffd,pivotTableConfig:_0x3c7320,isEmpty:_0x26d178,changesets:_0x56fbe3}=_0x17f3d5,_0x507550=new _0x42fb89[(_0x425445(0x2e8))]();_0x507550[_0x425445(0x2a4)](_0x110ffd);const _0x412360=_0x3c7320['targetCellInfo'],_0x2484c5={'cellInfo':_0x412360,'view':_0x507550,'isEmpty':_0x26d178};if(!await _0x59505e[_0x425445(0xe4)](_0x4652af['SheetsPivotTableService'])[_0x425445(0x2c7)][_0x425445(0x3d7)](_0x510c1a)(!0x0,_0x2484c5))return!0x1;const _0x491ecf=_0x4ba4b0(_0x59505e,_0x507550,_0x412360,_0x26d178),_0x4dca58=_0x3b48c3(_0x59505e,_0x2484c5),{redos:_0x2ee5e4,undos:_0x5cf3a3}=_0x1bd7c8(_0x536321,{'pivotTableId':_0x754845,'unitId':_0x573868,'subUnitId':_0x54a235},_0x56fbe3);return _0x5475a7[_0x425445(0x37d)]([..._0x491ecf[_0x425445(0x1f0)],..._0x4dca58['redos'],..._0x2ee5e4],_0x536321),_0x4eb00b['pushUndoRedo']({'unitID':_0x573868,'redoMutations':[..._0x491ecf[_0x425445(0x1f0)],..._0x4dca58[_0x425445(0x1f0)],..._0x2ee5e4],'undoMutations':[..._0x491ecf[_0x425445(0x28b)],..._0x4dca58[_0x425445(0x28b)],..._0x5cf3a3]}),!0x0;}},_0x96da19={'type':_0x5475a7[_0x37107d(0x3ce)]['COMMAND'],'id':_0x37107d(0x2f1),async 'handler'(_0x329c65,_0x3d51fe){const _0x415a15=_0x37107d;if(!_0x3d51fe)return!0x1;const _0x8ecfbf=_0x329c65[_0x415a15(0xe4)](_0x5475a7[_0x415a15(0x3d6)]),_0x444842=_0x329c65[_0x415a15(0xe4)](_0x5475a7[_0x415a15(0x2fa)]),_0x1b7772=_0x329c65[_0x415a15(0xe4)](_0x4652af[_0x415a15(0x1d6)]),{pivotTableConfig:_0x54295b,pivotTableId:_0x3ef211,unitId:_0x3a6ad8,subUnitId:_0x323508}=_0x3d51fe,_0x284ea9=(await _0x1b7772[_0x415a15(0x24b)]({'unitId':_0x3a6ad8,'subUnitId':_0x323508,'pivotTableId':_0x3ef211,'params':{'type':_0x12f3cf[_0x415a15(0x278)],'setPivotTableConfig':{'pivotTableId':_0x3ef211,'pivotTableConfig':_0x54295b}}}))[_0x415a15(0x2d6)][_0x415a15(0x1d1)];if(!_0x284ea9)return!0x1;const {changesets:_0xacd091}=_0x284ea9,{redos:_0x513be8,undos:_0x10bf78}=_0x1bd7c8(_0x8ecfbf,{'pivotTableId':_0x3ef211,'unitId':_0x3a6ad8,'subUnitId':_0x323508},_0xacd091);return _0x5475a7[_0x415a15(0x37d)](_0x513be8,_0x8ecfbf),_0x444842[_0x415a15(0x318)]({'unitID':_0x3a6ad8,'redoMutations':_0x513be8,'undoMutations':_0x10bf78}),!0x0;}},_0x1fe6e6={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x365),async 'handler'(_0x15ae27,_0x71c69c){const _0x3105c3=_0x37107d;if(!_0x71c69c)return!0x1;const _0x42c940=_0x15ae27[_0x3105c3(0xe4)](_0x5475a7['ICommandService']),{pivotTableId:_0x4db473,tableFieldId:_0x150768,items:_0xa080e3,unitId:_0x970a9c,subUnitId:_0x5e3e02,isAll:_0x3bd1e5}=_0x71c69c,_0x3a0335=_0x15ae27[_0x3105c3(0xe4)](_0x4652af[_0x3105c3(0x1d6)]),_0x4ff87d=_0x15ae27[_0x3105c3(0xe4)](_0x5475a7[_0x3105c3(0x2fa)]),_0x2e83fd=(await _0x3a0335[_0x3105c3(0x24b)]({'unitId':_0x970a9c,'subUnitId':_0x5e3e02,'pivotTableId':_0x4db473,'params':{'type':_0x12f3cf[_0x3105c3(0x15c)],'setPivotFilter':{'tableFieldId':_0x150768,'items':_0xa080e3,'isAll':_0x3bd1e5}}}))[_0x3105c3(0x2d6)][_0x3105c3(0x127)];if(!_0x2e83fd)return!0x1;const {changesets:_0x1b91c0,pivotTableConfig:_0x445b2e,isEmpty:_0x3bf832,view:_0x4254f2}=_0x2e83fd,_0x11eaf4=_0x445b2e[_0x3105c3(0x258)],_0x5115ed=new _0x42fb89['PivotView']();_0x5115ed[_0x3105c3(0x2a4)](_0x4254f2);const _0x57e049={'cellInfo':_0x11eaf4,'view':_0x5115ed,'isEmpty':_0x3bf832};if(!await _0x15ae27['get'](_0x4652af[_0x3105c3(0x37c)])[_0x3105c3(0x2c7)][_0x3105c3(0x3d7)](_0x510c1a)(!0x0,_0x57e049))return!0x1;const _0x2d48cf=_0x4ba4b0(_0x15ae27,_0x5115ed,_0x11eaf4,_0x3bf832),_0x38b998=_0x3b48c3(_0x15ae27,_0x57e049),{undos:_0x4ba1ab,redos:_0x568ead}=_0x1bd7c8(_0x42c940,{'pivotTableId':_0x4db473,'unitId':_0x970a9c,'subUnitId':_0x5e3e02},_0x1b91c0);return _0x5475a7[_0x3105c3(0x37d)]([..._0x2d48cf['redos'],..._0x38b998['redos'],..._0x568ead],_0x42c940),_0x4ff87d[_0x3105c3(0x318)]({'unitID':_0x970a9c,'redoMutations':[..._0x2d48cf[_0x3105c3(0x1f0)],..._0x38b998[_0x3105c3(0x1f0)],..._0x568ead],'undoMutations':[..._0x2d48cf[_0x3105c3(0x28b)],..._0x38b998['undos'],..._0x4ba1ab]}),!0x0;}},_0x555447={'type':_0x5475a7['CommandType'][_0x37107d(0x222)],'id':_0x37107d(0xf4),async 'handler'(_0x345db6,_0x3233fa){const _0xb8eafa=_0x37107d;if(!_0x3233fa)return!0x1;const _0x361871=_0x345db6[_0xb8eafa(0xe4)](_0x5475a7[_0xb8eafa(0x3d6)]),_0x224f52=_0x345db6[_0xb8eafa(0xe4)](_0x5475a7[_0xb8eafa(0x2fa)]),_0x4faec8=_0x345db6[_0xb8eafa(0xe4)](_0x4652af['SheetsPivotRPCService']),{info:_0x5a97d4,tableFieldId:_0x29ee84,pivotTableId:_0x3b225b,unitId:_0x4347bc,subUnitId:_0x41358c}=_0x3233fa,_0x482bbd=(await _0x4faec8['getPivotDisplayConfig']({'unitId':_0x4347bc,'subUnitId':_0x41358c,'pivotTableId':_0x3b225b,'params':{'type':_0x12f3cf[_0xb8eafa(0x3d4)],'setPivotSort':{'tableFieldId':_0x29ee84,'info':_0x5a97d4}}}))[_0xb8eafa(0x2d6)]['setPivotSort'];if(!_0x482bbd)return!0x1;const {changesets:_0x47ebc2}=_0x482bbd,{redos:_0xd61f11,undos:_0x34525a}=_0x1bd7c8(_0x361871,{'pivotTableId':_0x3b225b,'unitId':_0x4347bc,'subUnitId':_0x41358c},_0x47ebc2);return _0x5475a7[_0xb8eafa(0x37d)](_0xd61f11,_0x361871),_0x224f52[_0xb8eafa(0x318)]({'unitID':_0x4347bc,'redoMutations':_0xd61f11,'undoMutations':_0x34525a}),!0x0;}},_0x375ca0={'type':_0x5475a7['CommandType'][_0x37107d(0x222)],'id':_0x37107d(0x207),async 'handler'(_0x242557,_0x389a57){const _0x517eff=_0x37107d;if(!_0x389a57)return!0x1;const _0x405dd1=_0x242557[_0x517eff(0xe4)](_0x5475a7['ICommandService']),{pivotTableId:_0x554768,fieldId:_0xa9f307,valueFilterInfo:_0x166a2c,unitId:_0x2d6561,subUnitId:_0x32fa0c}=_0x389a57,_0x28e3cf=_0x242557[_0x517eff(0xe4)](_0x4652af['SheetsPivotRPCService']),_0x2e46e9=_0x242557[_0x517eff(0xe4)](_0x5475a7[_0x517eff(0x2fa)]),_0x403726=(await _0x28e3cf[_0x517eff(0x24b)]({'unitId':_0x2d6561,'subUnitId':_0x32fa0c,'pivotTableId':_0x554768,'params':{'type':_0x12f3cf[_0x517eff(0x1ec)],'setValuePivotFilter':{'tableFieldId':_0xa9f307,'filterInfo':_0x166a2c}}}))[_0x517eff(0x2d6)]['setValuePivotFilter'];if(!_0x403726)return!0x1;const {changesets:_0x8c2cfa,pivotTableConfig:_0xefecc2,isEmpty:_0x17af06,view:_0x5c3c09}=_0x403726,_0xed0006=_0xefecc2['targetCellInfo'],_0x5781f5=new _0x42fb89[(_0x517eff(0x2e8))]();_0x5781f5['formJSON'](_0x5c3c09);const _0x371a29={'cellInfo':_0xed0006,'view':_0x5781f5,'isEmpty':_0x17af06};if(!await _0x242557['get'](_0x4652af[_0x517eff(0x37c)])['asyncInterceptor'][_0x517eff(0x3d7)](_0x510c1a)(!0x0,_0x371a29))return!0x1;const _0x26b70f=_0x4ba4b0(_0x242557,_0x5781f5,_0xed0006,_0x17af06),_0x3f96d2=_0x3b48c3(_0x242557,_0x371a29),{undos:_0x42ae88,redos:_0x4d63a7}=_0x1bd7c8(_0x405dd1,{'pivotTableId':_0x554768,'unitId':_0x2d6561,'subUnitId':_0x32fa0c},_0x8c2cfa);return _0x5475a7['sequenceExecute']([..._0x26b70f[_0x517eff(0x1f0)],..._0x3f96d2[_0x517eff(0x1f0)],..._0x4d63a7],_0x405dd1),_0x2e46e9['pushUndoRedo']({'unitID':_0x2d6561,'redoMutations':[..._0x26b70f[_0x517eff(0x1f0)],..._0x3f96d2[_0x517eff(0x1f0)],..._0x4d63a7],'undoMutations':[..._0x26b70f[_0x517eff(0x28b)],..._0x3f96d2[_0x517eff(0x28b)],..._0x42ae88]}),!0x0;}},_0x44e983={'id':_0x37107d(0x1ce),'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'handler':(_0x145598,_0x3b1fca)=>{const _0x14b6fb=_0x37107d;if(!_0x3b1fca)return!0x1;if(!!_0x145598[_0x14b6fb(0xe4)](_0x5475a7[_0x14b6fb(0x3fb)])[_0x14b6fb(0x146)](_0x4aadc7))return!0x0;const {unitId:_0x3fa91d,subUnitId:_0xe243a3,pivotTableId:_0x5eb195,tableFieldId:_0x41d3f6,dateType:_0x4070f8}=_0x3b1fca,_0x54eced=_0x145598[_0x14b6fb(0xe4)](_0x4652af['SheetsPivotDataSourceModel']),_0x38d17b=_0x54eced[_0x14b6fb(0x266)](_0x5eb195);if(!_0x38d17b)return!0x1;const _0x532c14=_0x38d17b['getDataFieldByTableId'](_0x41d3f6);if(!_0x532c14)return!0x1;const _0x471264=_0x532c14['getOriginFieldId'](),_0x3579b8=_0x38d17b['getDataFieldByDataFieldId'](_0x471264),_0x361534=(_0x3579b8==null?void 0x0:_0x3579b8['getName']())+'\x20'+_0x4a6f90(_0x145598,_0x4070f8);_0x54eced[_0x14b6fb(0x3ad)](_0x3fa91d,_0x5eb195)[_0x14b6fb(0x2e3)](_0x532c14['id'],_0x361534);const _0x43e1c0=_0x38d17b[_0x14b6fb(0x26b)](_0x41d3f6);if(!_0x43e1c0)return!0x1;_0x38d17b[_0x14b6fb(0x1b4)](_0x43e1c0[_0x14b6fb(0x193)](),_0x361534),_0x532c14[_0x14b6fb(0x3c5)](_0x4070f8);const _0x1aee1c=_0x54eced[_0x14b6fb(0x36b)](_0x3fa91d,_0xe243a3,_0x5eb195);return _0x54eced[_0x14b6fb(0x20a)]({'unitId':_0x3fa91d,'subUnitId':_0xe243a3,'token':_0x5eb195,'type':_0x5865c2[_0x14b6fb(0x1f6)],'pivotConfig':_0x1aee1c}),!0x0;}},_0x50a75e={'id':'sheet.command.update-date-group','type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'handler':(_0x21a99d,_0x192392)=>{const _0x11525f=_0x37107d;if(!_0x192392)return!0x1;const _0x29d731=_0x21a99d[_0x11525f(0xe4)](_0x5475a7['IUndoRedoService']),{unitId:_0x39ccac,subUnitId:_0x44c7fc,pivotTableId:_0x4146ec,tableFieldId:_0x54dc8c}=_0x192392,_0x355095=[],_0x28e72b=[],_0x44ddfb=_0x21a99d[_0x11525f(0xe4)](_0x4652af[_0x11525f(0x28f)]),_0x431c70=_0x44ddfb['getCollection'](_0x39ccac,_0x4146ec),_0x1540e3=_0x44ddfb['getPivotTableConfig'](_0x39ccac,_0x44c7fc,_0x4146ec);if(!(_0x1540e3!=null&&_0x1540e3[_0x11525f(0x311)]['dimension']))return!0x1;const _0x1e7687=Object[_0x11525f(0x24a)](_0x1540e3[_0x11525f(0x311)][_0x11525f(0x268)])[_0x11525f(0x344)](_0x276a79=>_0x276a79['id']===_0x54dc8c);if(!_0x1e7687)return!0x1;const _0x30bc72=_0x1e7687['dataFieldId'];if(!(_0x431c70!=null&&_0x431c70[_0x11525f(0x10a)]))return!0x1;const _0xde1edc=Object[_0x11525f(0x24a)](_0x431c70==null?void 0x0:_0x431c70['fields'])[_0x11525f(0x344)](_0x45663a=>_0x45663a['id']===_0x30bc72);if(!_0xde1edc)return!0x1;_0x42fb89[_0x11525f(0x15b)](_0xde1edc)&&_0x355095['push']({'id':_0x44e983['id'],'params':{..._0x192392,'dateType':_0xde1edc[_0x11525f(0x1c3)]}}),_0x28e72b[_0x11525f(0x229)]({'id':_0x44e983['id'],'params':{..._0x192392}});const _0x663808=_0x21a99d['get'](_0x5475a7[_0x11525f(0x3d6)]);return _0x5475a7[_0x11525f(0x37d)](_0x28e72b,_0x663808)&&_0x29d731['pushUndoRedo']({'unitID':_0x39ccac,'undoMutations':_0x355095,'redoMutations':_0x28e72b}),!0x0;}},_0x4bfb69={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':_0x37107d(0x330),async 'handler'(_0x2ad296,_0x2dff80){const _0x330681=_0x37107d;if(!_0x2dff80)return!0x1;const _0x45712a=_0x2ad296['get'](_0x5475a7[_0x330681(0x3d6)]),_0x59ded0=_0x2ad296[_0x330681(0xe4)](_0x5475a7['IUndoRedoService']),_0x5916e5=_0x2ad296[_0x330681(0xe4)](_0x4652af[_0x330681(0x1d6)]),{displayName:_0x412a23,subtotalType:_0x2f4ff0,format:_0x27d867,tableFieldId:_0x28077b,pivotTableId:_0x3c4398,unitId:_0x889601,subUnitId:_0x585fb4}=_0x2dff80,_0x584198=(await _0x5916e5[_0x330681(0x24b)]({'unitId':_0x889601,'subUnitId':_0x585fb4,'pivotTableId':_0x3c4398,'params':{'type':_0x12f3cf[_0x330681(0x2dd)],'setPivotSetting':{'tableFieldId':_0x28077b,'displayName':_0x412a23,'subtotalType':_0x2f4ff0,'format':_0x27d867}}}))[_0x330681(0x2d6)]['setPivotSetting'];if(!_0x584198)return!0x1;const {changesets:_0x5aa254,view:_0x3a117b,pivotTableConfig:_0x34a573,isEmpty:_0x1d0018}=_0x584198,_0x1614bc=_0x34a573[_0x330681(0x258)],_0x557207=new _0x42fb89[(_0x330681(0x2e8))]();_0x557207[_0x330681(0x2a4)](_0x3a117b);const _0x17adfb={'cellInfo':_0x1614bc,'view':_0x557207,'isEmpty':_0x1d0018};if(!await _0x2ad296[_0x330681(0xe4)](_0x4652af[_0x330681(0x37c)])[_0x330681(0x2c7)]['fetchThroughAsyncInterceptors'](_0x510c1a)(!0x0,_0x17adfb))return!0x1;const _0x5ed2fa=_0x4ba4b0(_0x2ad296,_0x557207,_0x1614bc,_0x1d0018),_0x433459=_0x3b48c3(_0x2ad296,_0x17adfb),{undos:_0x4621f3,redos:_0x494737}=_0x1bd7c8(_0x45712a,{'pivotTableId':_0x3c4398,'unitId':_0x889601,'subUnitId':_0x585fb4},_0x5aa254);return _0x5475a7[_0x330681(0x37d)]([..._0x5ed2fa[_0x330681(0x1f0)],..._0x433459[_0x330681(0x1f0)],..._0x494737],_0x45712a),_0x59ded0[_0x330681(0x318)]({'unitID':_0x889601,'redoMutations':[..._0x5ed2fa['redos'],..._0x433459[_0x330681(0x1f0)],..._0x494737],'undoMutations':[..._0x5ed2fa[_0x330681(0x28b)],..._0x433459['undos'],..._0x4621f3]}),!0x0;}},_0xcb809c={'type':_0x5475a7['CommandType']['MUTATION'],'id':_0x37107d(0x379),'handler'(_0x22bac5,_0x422ab1){const _0x35c623=_0x37107d;if(!_0x422ab1)return!0x1;if(!!_0x22bac5[_0x35c623(0xe4)](_0x5475a7[_0x35c623(0x3fb)])['getConfig'](_0x4aadc7))return!0x0;const _0x2d9ad7=_0x22bac5['get'](_0x4652af[_0x35c623(0x275)]),{pivotTableId:_0x2860d1,deleteIds:_0x205d1f,collectionJSON:_0x3e3d2d,dataRangeInfo:_0x5834b8,unitId:_0x20082a,subUnitId:_0x373528}=_0x422ab1,_0x33f986=_0x2d9ad7[_0x35c623(0x266)](_0x2860d1),_0x3d5bf7=_0x2d9ad7[_0x35c623(0x36b)](_0x20082a,_0x373528,_0x2860d1);if(!_0x33f986||!_0x3d5bf7)return!0x1;const {collection:_0x155a0f,updateDataFieldList:_0x447fa1}=_0x2d9ad7[_0x35c623(0x345)](_0x2860d1,_0x3e3d2d,_0x5834b8,_0x3d5bf7['targetCellInfo']);_0x2d9ad7[_0x35c623(0x2a6)](_0x155a0f,_0x447fa1,_0x5834b8),_0x33f986[_0x35c623(0x361)](_0x155a0f);for(const _0x45f9d3 of _0x205d1f)_0x2d9ad7[_0x35c623(0x1bf)](_0x5834b8[_0x35c623(0x2ec)],_0x45f9d3);const _0x17b418=_0x2d9ad7['getPivotTableConfig'](_0x20082a,_0x373528,_0x2860d1);return _0x17b418['sourceRangeInfo']=JSON[_0x35c623(0x102)](JSON[_0x35c623(0x3c3)](_0x5834b8)),_0x2d9ad7[_0x35c623(0x20a)]({'unitId':_0x20082a,'subUnitId':_0x373528,'token':_0x2860d1,'type':_0x5865c2['Set']}),!0x0;}},_0x428251={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x5e8763,_0x4526dd){const _0x2ac7e8=_0x37107d,_0x1bf388=_0x5e8763[_0x2ac7e8(0xe4)](_0x5475a7[_0x2ac7e8(0x3d6)]),_0x554242=_0x5e8763[_0x2ac7e8(0xe4)](_0x4652af[_0x2ac7e8(0x1d6)]),_0x926763=_0x5e8763[_0x2ac7e8(0xe4)](_0x5475a7[_0x2ac7e8(0x2fa)]);if(!_0x4526dd)return!0x1;const {token:_0x3dab09,dataRangeInfo:_0xda72a5,unitId:_0xa9dd99,subUnitId:_0x576f65}=_0x4526dd,_0x2da63b=[],_0x4ab07d=[],_0x213aa9=(await _0x554242[_0x2ac7e8(0x24b)]({'unitId':_0xa9dd99,'subUnitId':_0x576f65,'pivotTableId':_0x3dab09,'params':{'type':_0x12f3cf[_0x2ac7e8(0x409)],'updatePivotSource':{'dataRangeInfo':_0xda72a5,'unitId':_0xa9dd99,'subUnitId':_0x576f65}}}))[_0x2ac7e8(0x2d6)][_0x2ac7e8(0x2ab)];if(!_0x213aa9)return!0x1;const {changesets:_0x4293de,deleteIds:_0x4f6e80,collectionConfig:_0x293a52,oldCollectionConfig:_0x252284,view:_0x445e4b,isEmpty:_0x1e5dc8,pivotTableConfig:_0x24c373}=_0x213aa9;_0x4ab07d[_0x2ac7e8(0x229)]({'id':_0xcb809c['id'],'params':{'pivotTableId':_0x3dab09,'deleteIds':_0x4f6e80,'collectionJSON':_0x293a52,'dataRangeInfo':_0xda72a5,'unitId':_0xa9dd99,'subUnitId':_0x576f65}}),_0x2da63b[_0x2ac7e8(0x34e)]({'id':_0xcb809c['id'],'params':{'pivotTableId':_0x3dab09,'deleteIds':[],'collectionJSON':_0x252284,'dataRangeInfo':_0x24c373['sourceRangeInfo'],'unitId':_0xa9dd99,'subUnitId':_0x576f65}});const _0x2d2915=_0x24c373[_0x2ac7e8(0x258)],_0x5d499b=new _0x42fb89[(_0x2ac7e8(0x2e8))]();_0x5d499b[_0x2ac7e8(0x2a4)](_0x445e4b);const _0x1b830e={'cellInfo':_0x2d2915,'view':_0x5d499b,'isEmpty':_0x1e5dc8};if(!await _0x5e8763[_0x2ac7e8(0xe4)](_0x4652af['SheetsPivotTableService'])['asyncInterceptor'][_0x2ac7e8(0x3d7)](_0x510c1a)(!0x0,_0x1b830e))return!0x1;const _0x1eb63a=_0x4ba4b0(_0x5e8763,_0x5d499b,_0x2d2915,_0x1e5dc8),_0x462b2f=_0x3b48c3(_0x5e8763,_0x1b830e),{undos:_0x14fccb,redos:_0x4d5372}=_0x1bd7c8(_0x1bf388,{'pivotTableId':_0x3dab09,'unitId':_0xa9dd99,'subUnitId':_0x576f65},_0x4293de);return _0x5475a7[_0x2ac7e8(0x37d)]([..._0x1eb63a[_0x2ac7e8(0x1f0)],..._0x462b2f[_0x2ac7e8(0x1f0)],..._0x4ab07d,..._0x14fccb],_0x1bf388),_0x926763['pushUndoRedo']({'unitID':_0xa9dd99,'redoMutations':[..._0x1eb63a['redos'],..._0x462b2f['redos'],..._0x4ab07d,..._0x14fccb],'undoMutations':[..._0x1eb63a[_0x2ac7e8(0x28b)],..._0x462b2f[_0x2ac7e8(0x28b)],..._0x2da63b,..._0x4d5372]}),!0x0;}},_0x4711a7={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x222)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x24ead8,_0x53a57c){const _0x16b433=_0x37107d;if(!_0x53a57c)return!0x1;const _0x3f2c2c=_0x24ead8[_0x16b433(0xe4)](_0x5475a7[_0x16b433(0x3d6)]),_0x4ca66c=_0x24ead8[_0x16b433(0xe4)](_0x4652af[_0x16b433(0x1d6)]),_0x476c04=_0x24ead8[_0x16b433(0xe4)](_0x5475a7[_0x16b433(0x14d)]),_0x25606d=_0x24ead8['get'](_0x5475a7['IUndoRedoService']),{pivotTableId:_0x31018d,position:_0x3c1c3f,index:_0xe8b6b7}=_0x53a57c,_0x12c0e6=_0x20619b[_0x16b433(0x3fe)](_0x476c04);if(!_0x12c0e6)return!0x1;const {unitId:_0x5b6dd7,subUnitId:_0x5f09ab}=_0x12c0e6,_0x32e22a=(await _0x4ca66c[_0x16b433(0x24b)]({'unitId':_0x5b6dd7,'subUnitId':_0x5f09ab,'pivotTableId':_0x31018d,'params':{'type':_0x12f3cf[_0x16b433(0x173)],'updateValuePosition':{'position':_0x3c1c3f,'index':_0xe8b6b7}}}))[_0x16b433(0x2d6)]['updateValuePosition'];if(!_0x32e22a)return!0x1;const {changesets:_0x580453,view:_0x308705,isEmpty:_0x20d77a,pivotTableConfig:_0x205c2b}=_0x32e22a,_0x221eda=_0x205c2b[_0x16b433(0x258)],_0x453c86=new _0x42fb89[(_0x16b433(0x2e8))]();_0x453c86[_0x16b433(0x2a4)](_0x308705);const _0x1bb4b=_0x24ead8[_0x16b433(0xe4)](_0x4652af['SheetsPivotTableService']),_0x48a616={'cellInfo':_0x221eda,'view':_0x453c86,'isEmpty':_0x20d77a};if(!await _0x1bb4b['asyncInterceptor'][_0x16b433(0x3d7)](_0x510c1a)(!0x0,_0x48a616))return!0x1;const _0xf9ba24=_0x4ba4b0(_0x24ead8,_0x453c86,_0x221eda,_0x20d77a),_0x129f1d=_0x3b48c3(_0x24ead8,_0x48a616),{undos:_0x7f5ba8,redos:_0x1ef952}=_0x1bd7c8(_0x3f2c2c,{'pivotTableId':_0x31018d,'unitId':_0x5b6dd7,'subUnitId':_0x5f09ab},_0x580453);return _0x5475a7[_0x16b433(0x37d)]([..._0xf9ba24[_0x16b433(0x1f0)],..._0x129f1d['redos'],..._0x1ef952],_0x3f2c2c),_0x25606d[_0x16b433(0x318)]({'unitID':_0x5b6dd7,'redoMutations':[..._0xf9ba24[_0x16b433(0x1f0)],..._0x129f1d[_0x16b433(0x1f0)],..._0x1ef952],'undoMutations':[..._0xf9ba24[_0x16b433(0x28b)],..._0x129f1d[_0x16b433(0x28b)],..._0x7f5ba8]}),!0x0;}},_0x116d90={'type':_0x5475a7[_0x37107d(0x3ce)][_0x37107d(0x39d)],'id':_0x37107d(0x390),'handler'(){return!0x0;}};var _0x33bc7c=Object[_0x37107d(0x141)],_0x8ada97=(_0x386e72,_0x2a167c,_0x10b20a,_0x46b6ec)=>{const _0xf1edb=_0x37107d;for(var _0x1aafe6=_0x46b6ec>0x1?void 0x0:_0x46b6ec?_0x33bc7c(_0x2a167c,_0x10b20a):_0x2a167c,_0x191d0d=_0x386e72[_0xf1edb(0x298)]-0x1,_0x2ab311;_0x191d0d>=0x0;_0x191d0d--)(_0x2ab311=_0x386e72[_0x191d0d])&&(_0x1aafe6=_0x2ab311(_0x1aafe6)||_0x1aafe6);return _0x1aafe6;},_0x4b03f5=(_0xc1a1d9,_0x518eb0)=>(_0x273e8a,_0x2afa57)=>_0x518eb0(_0x273e8a,_0x2afa57,_0xc1a1d9);const _0x3c29de=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0xbb858d=(_0x187f69,_0x2bd668,_0x270e17)=>{const _0x41016c=_0x37107d,_0xde76a1=_0x187f69[_0x41016c(0x202)];_0x187f69[_0x41016c(0x373)](_0x2ae727=>{const _0x4033ee=_0x41016c,_0x699f98=_0x2ae727['getId'](),_0x5955b6=_0x2ae727[_0x4033ee(0x272)](),_0x1d0fac=_0x2ae727[_0x4033ee(0x2b0)](),_0x5f0776=_0x2ae727[_0x4033ee(0x113)]();_0x2bd668[_0x5955b6]&&_0x2bd668[_0x5955b6]===_0x5f0776&&_0x1d0fac===_0x5f0776&&(_0x187f69['renameField'](_0x699f98,_0xde76a1[_0x4033ee(0x113)](_0x5955b6)),_0x2ae727[_0x4033ee(0x167)](_0xde76a1[_0x4033ee(0x113)](_0x5955b6)));}),_0x187f69[_0x41016c(0x19d)](_0x42fb89[_0x41016c(0x114)]['Value'],_0x1dfe3d=>{const _0xfda683=_0x41016c,_0x57d79a=_0x1dfe3d[_0xfda683(0x193)](),_0x17fbff=_0x1dfe3d['getDataFieldId'](),_0x165532=_0x1dfe3d[_0xfda683(0x2b0)](),_0x2bb455=_0x1dfe3d[_0xfda683(0x113)](),_0x479d5e=_0x1dfe3d[_0xfda683(0x19b)](),_0x2c544f=_0x270e17(_0x165532,_0x479d5e);_0x2bd668[_0x17fbff]&&_0x2bd668[_0x17fbff]===_0x165532&&_0x2c544f===_0x2bb455&&(_0x187f69[_0xfda683(0x1b4)](_0x57d79a,_0x270e17(_0xde76a1['getDisplayName'](_0x17fbff),_0x479d5e)),_0x1dfe3d['setSourceName'](_0xde76a1['getDisplayName'](_0x17fbff)));});},_0x29639d=(_0x131443,_0x164a0d,_0x46a653)=>{const _0x2f29bb=_0x37107d;var _0x475fee,_0xdb5cc5;const {arrayFormulaCellData:_0x5918b4,unitData:_0x23974b}=_0x164a0d,{unitId:_0x4d73ac,subUnitId:_0x3c1260}=_0x46a653,_0x267dbf=_0x46a653[_0x2f29bb(0x3f8)],{startColumn:_0x502245,endColumn:_0x129644}=_0x267dbf,_0x1f35ee=(_0x475fee=_0x5918b4==null?void 0x0:_0x5918b4[_0x4d73ac])==null?void 0x0:_0x475fee[_0x3c1260],_0x59b309=(_0xdb5cc5=_0x23974b==null?void 0x0:_0x23974b[_0x4d73ac])==null?void 0x0:_0xdb5cc5[_0x3c1260],_0x1118e3=new Set(),_0x592536=_0x129644-_0x502245+0x1,{dirtyRanges:_0x467891}=_0x131443;if(_0x467891)for(const {range:_0x2eae41,sheetId:_0x101f95,unitId:_0x39fc4f}of _0x467891){if(_0x101f95!==_0x3c1260||_0x4d73ac!==_0x39fc4f)continue;const _0x4e616d=_0x5475a7[_0x2f29bb(0x2b7)][_0x2f29bb(0x307)](_0x2eae41,_0x267dbf);if(_0x4e616d){const {startColumn:_0x4571bf,endColumn:_0x44e50b}=_0x4e616d;for(let _0x4a9d33=_0x4571bf;_0x4a9d33<=_0x44e50b;_0x4a9d33++)_0x1118e3[_0x2f29bb(0x105)](_0x4a9d33);}}if(_0x1118e3['size']===_0x592536||_0x1118e3[_0x2f29bb(0x290)]===_0x592536)return Array[_0x2f29bb(0x40a)](_0x1118e3);if(_0x59b309){const _0x4ad1a8=_0x59b309['getMatrix'](),_0x42beb1=Object[_0x2f29bb(0x33b)](_0x4ad1a8);for(const _0x2c7434 of _0x42beb1){const _0x2c48f6=Number(_0x2c7434),_0x5a82af=_0x4ad1a8[_0x2c48f6];if(_0x1118e3[_0x2f29bb(0x290)]===_0x592536)break;for(const _0x2b6164 in _0x5a82af){const _0x4f3f2a=Number(_0x2b6164);_0x4f3f2a<_0x502245||_0x4f3f2a>_0x129644||_0x1118e3[_0x2f29bb(0x105)](_0x4f3f2a);}}}if(_0x1f35ee){const _0xff5550=_0x1f35ee[_0x2f29bb(0x3cd)](),_0x28e9e5=Object[_0x2f29bb(0x33b)](_0xff5550);for(const _0x187792 of _0x28e9e5){const _0x5f33b1=Number(_0x187792),_0xd9e200=_0xff5550[_0x5f33b1];if(_0x1118e3[_0x2f29bb(0x290)]===_0x592536)break;for(const _0x56128a in _0xd9e200){const _0x384701=Number(_0x56128a);_0x384701<_0x502245||_0x384701>_0x129644||_0x1118e3[_0x2f29bb(0x105)](_0x384701);}}}return Array[_0x2f29bb(0x40a)](_0x1118e3);},_0x362e19=_0x2755f5=>{const _0x243e1e=_0x37107d,_0xdfca9a=new Set(),_0x371573=[];for(const _0x3bfa61 of _0x2755f5){const _0x5793c8=_0x3bfa61[_0x243e1e(0x163)]+','+_0x3bfa61['endRow']+','+_0x3bfa61[_0x243e1e(0x342)]+','+_0x3bfa61[_0x243e1e(0x381)];_0xdfca9a[_0x243e1e(0x35c)](_0x5793c8)||(_0xdfca9a['add'](_0x5793c8),_0x371573['push'](_0x3bfa61));}return _0x371573;};let _0x446c62=class extends _0x5475a7[_0x37107d(0x401)]{constructor(_0x116055,_0x528066,_0x399f95,_0x387c58,_0x3f3127){const _0x1e1e04=_0x37107d;super(),_0x33deac(this,_0x1e1e04(0x335),new _0xfe6fd0[(_0x1e1e04(0x2a5))](!0x0)),_0x33deac(this,_0x1e1e04(0x363),_0x37067e=>{const _0x13d738=_0x1e1e04;this[_0x13d738(0x335)][_0x13d738(0x38b)](!0x1);}),_0x33deac(this,_0x1e1e04(0x387),_0x4ea20d=>{const _0x9f4af1=_0x1e1e04;this[_0x9f4af1(0x335)][_0x9f4af1(0x38b)](!0x0);}),(this[_0x1e1e04(0x285)]=_0x116055,this[_0x1e1e04(0x396)]=_0x528066,this[_0x1e1e04(0x2e0)]=_0x399f95,this[_0x1e1e04(0x3a2)]=_0x387c58,this[_0x1e1e04(0x21c)]=_0x3f3127,this[_0x1e1e04(0x308)](),this[_0x1e1e04(0x2d0)]());}[_0x37107d(0x308)](){const _0x21e3ac=_0x37107d;this[_0x21e3ac(0x1e7)](),this[_0x21e3ac(0x28e)](),this['_initPivotTextInfo'](),this[_0x21e3ac(0x2e2)]();}[_0x37107d(0x378)](){const _0x2011d2=_0x37107d;this['_globalComputingSrv'][_0x2011d2(0x33e)](this[_0x2011d2(0x335)]),_0x42fb89['PivotTable'][_0x2011d2(0x362)](_0x42fb89[_0x2011d2(0x267)][_0x2011d2(0x233)],this[_0x2011d2(0x363)]),_0x42fb89[_0x2011d2(0x151)]['registerCallbackWithEvent'](_0x42fb89['PivotCallbackEnum'][_0x2011d2(0x16a)],this[_0x2011d2(0x387)]);}['_initPivotDataGetListener'](){const _0x3fbeb1=_0x37107d;this[_0x3fbeb1(0xe0)](this['_commandService'][_0x3fbeb1(0x34b)](_0x32383b=>{const _0x2bd866=_0x3fbeb1;_0x32383b['id']===_0x20619b[_0x2bd866(0x1d5)]['id']&&this[_0x2bd866(0x285)][_0x2bd866(0xf3)](_0x32383b[_0x2bd866(0x132)]);})),this[_0x3fbeb1(0xe0)](this[_0x3fbeb1(0x2e0)]['onCommandExecuted'](_0x5170e2=>{const _0x405725=_0x3fbeb1;if(_0x5170e2['id']!==_0x4fcc0a['id'])return;const _0x4ef865=_0x5170e2[_0x405725(0x132)],{unitId:_0x1ef0e9,subUnitId:_0x4b865f,pivotTableId:_0x594e4f}=_0x4ef865,_0x2dba13=_0x4ef865[_0x405725(0x132)][_0x405725(0x249)],_0x252b6e={};switch(_0x2dba13){case _0x12f3cf[_0x405725(0x2ff)]:{const _0x26397e=_0x4ef865[_0x405725(0x132)][_0x405725(0x183)];if(!_0x26397e)return;const {row:_0xa49a87,col:_0x6a1e66,cellData:_0x5c8b0a,pivotItemRenderInfoCache:_0x8815c7,tableFieldId:_0xec993}=_0x26397e,_0x3bbe4c=this['_sheetsPivotDataSourceModel'][_0x405725(0x266)](_0x4ef865[_0x405725(0x252)]);if(!_0x3bbe4c||!_0x8815c7)return;if(_0xec993){const _0x3e1c8d=_0x3bbe4c['getDataFieldByTableId'](_0xec993);if(!_0x3e1c8d)return;_0x252b6e[_0x405725(0x183)]={..._0x3bbe4c[_0x405725(0x2b9)](_0x3e1c8d),'tableFieldId':_0xec993,'pivotTableId':_0x4ef865[_0x405725(0x252)],'filterInfo':_0x3bbe4c[_0x405725(0x3e8)](_0xec993),'sortInfo':_0x3bbe4c['getSortInfo'](_0xec993),'format':_0x3bbe4c[_0x405725(0x11d)](_0xec993)};}else{const _0x43b60d=_0x3d7698(_0xa49a87,_0x6a1e66,_0x5c8b0a,_0x3bbe4c,_0x8815c7),_0x16a4b7=_0x43b60d==null?void 0x0:_0x43b60d[_0x405725(0x262)];if(!_0x16a4b7)return;const _0x3b2a1c=_0x3bbe4c['getDataFieldByTableId'](_0x16a4b7);if(!_0x3b2a1c)return;_0x252b6e['filter']={..._0x3bbe4c[_0x405725(0x2b9)](_0x3b2a1c),'tableFieldId':_0x16a4b7,'pivotTableId':_0x4ef865[_0x405725(0x252)],'filterInfo':_0x3bbe4c[_0x405725(0x3e8)](_0x16a4b7),'sortInfo':_0x3bbe4c[_0x405725(0x357)](_0x16a4b7),'format':_0x3bbe4c[_0x405725(0x11d)](_0x16a4b7)};}}break;case _0x12f3cf[_0x405725(0x181)]:{const _0x3285d3=_0x4ef865[_0x405725(0x132)][_0x405725(0x399)];if(!_0x3285d3)return;const {pivotTableId:_0x3f3919}=_0x3285d3,_0x3defdb=this[_0x405725(0x285)][_0x405725(0x266)](_0x3f3919);if(!_0x3defdb)return;const _0x193e29=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x3f3919),_0x56f89f=_0x83e56b(_0x3defdb,_0x3f3919,_0x193e29);_0x252b6e['panel']=_0x56f89f;}break;case _0x12f3cf['AddPivotField']:{const _0x4835aa=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f),_0x452b93=this[_0x405725(0x285)][_0x405725(0x1aa)](_0x1ef0e9),_0x54ed2f=_0x452b93[_0x405725(0x3ad)](_0x594e4f);let _0x91403f=null;const _0x1d3c94=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f),_0x65bd6c=_0x4ef865[_0x405725(0x132)][_0x405725(0x1de)];if(!_0x4835aa||!_0x1d3c94||!_0x65bd6c)return!0x1;const {dataFieldId:_0x5c5e75,fieldArea:_0x2b76bc,index:_0x5dfb32}=_0x65bd6c;_0x4835aa['startCollectChangeset']();const _0x599d33=_0x4835aa[_0x405725(0x116)](_0x5c5e75,_0x2b76bc,_0x5dfb32);if(_0x599d33&&_0x2b76bc===_0x42fb89[_0x405725(0x114)][_0x405725(0x135)]){const _0x37dfd9=_0x599d33[_0x405725(0x193)](),_0x16df64=_0x4835aa[_0x405725(0x1a9)](_0x37dfd9);if(_0x16df64){const _0x2b546f=_0x16df64==null?void 0x0:_0x16df64[_0x405725(0x324)]();_0x4835aa[_0x405725(0x343)](_0x599d33[_0x405725(0x193)](),_0x2b546f===_0x42fb89['PivotDataFieldDataTypeEnum'][_0x405725(0x14a)]?_0x42fb89[_0x405725(0x1ff)][_0x405725(0x137)]:_0x42fb89[_0x405725(0x1ff)]['count']);}const _0x52892d=_0x4835aa['getValueIndex'](),_0x5ccea0=_0x4835aa[_0x405725(0x334)](),_0x8b96fc=_0x4835aa['getFieldCountByArea'](_0x42fb89[_0x405725(0x114)][_0x405725(0x135)]);if(_0x52892d===-0x1&&_0x8b96fc>0x1){const _0xf63948=_0x5ccea0===_0x42fb89[_0x405725(0xf9)][_0x405725(0x139)]?_0x42fb89[_0x405725(0xf9)][_0x405725(0x1bc)]:_0x5ccea0,_0x35510a=_0xf63948===_0x42fb89['PivotTableValuePositionEnum'][_0x405725(0x1c6)]?_0x42fb89[_0x405725(0x114)][_0x405725(0x1c6)]:_0x42fb89[_0x405725(0x114)][_0x405725(0x1bc)];_0x4835aa[_0x405725(0x30c)](_0xf63948,_0x4835aa[_0x405725(0x196)](_0x35510a));}}else{if(_0x599d33&&(_0x2b76bc===_0x42fb89[_0x405725(0x114)][_0x405725(0x1c6)]||_0x2b76bc===_0x42fb89[_0x405725(0x114)][_0x405725(0x1bc)])){const _0x150cd4=_0x599d33[_0x405725(0x193)](),_0x55c5da=_0x4835aa[_0x405725(0x1a9)](_0x150cd4);if(_0x55c5da&&(_0x55c5da==null?void 0x0:_0x55c5da[_0x405725(0x324)]())===_0x42fb89[_0x405725(0x30a)][_0x405725(0x31e)]){const _0x3ce14c=_0x55c5da[_0x405725(0x1e4)]();if(_0x3ce14c&&_0x4835aa['setFieldFormat'](_0x599d33[_0x405725(0x193)](),_0x3ce14c),!_0x54ed2f[_0x405725(0x31a)]()[_0x405725(0x23b)](_0x4db19b=>{const _0x109df4=_0x405725,_0x935a3b=_0x54ed2f[_0x109df4(0x374)](_0x4db19b);return _0x42fb89[_0x109df4(0x2fb)](_0x935a3b)?_0x935a3b[_0x109df4(0x255)]()[_0x109df4(0x232)]===_0x5c5e75:!0x1;})){const _0x3e2ad2=_0x452b93[_0x405725(0x301)](),_0x421129=_0x2b9123(_0x55c5da['maxDate'],_0x55c5da[_0x405725(0x10e)]),_0x2d7eb8=_0x55c5da['getName']()+_0x405725(0x2c5)+_0x4a6f90(this[_0x405725(0x21c)],_0x421129),_0x5df8b5=new _0x42fb89['DateGroupField'](_0x3e2ad2,_0x2d7eb8,_0x42fb89['generateHexNumber'](0x3),_0x55c5da[_0x405725(0x193)](),_0x421129);_0x452b93[_0x405725(0x36a)](_0x5df8b5),_0x54ed2f[_0x405725(0x19e)](_0x3e2ad2,_0x2d7eb8),_0x4835aa[_0x405725(0x116)](_0x3e2ad2,_0x2b76bc,(_0x5dfb32!=null?_0x5dfb32:0x0)+0x1),_0x91403f=_0x5df8b5;}}}}const _0x265a0b=_0x4835aa[_0x405725(0x2eb)](),_0x1b89a7=_0x4835aa[_0x405725(0x20d)]()[_0x405725(0x3ef)]();let _0x502e92;if(_0x91403f){_0x502e92=_0x91403f['toJSON']();const _0x10ce05=_0x91403f['getId']();_0x54ed2f['deleteField'](_0x10ce05);let _0x4fcbcd=!0x0;for(const _0x2b9a9c in _0x452b93[_0x405725(0x3b9)])if(_0x452b93['collections'][_0x2b9a9c][_0x405725(0x31a)]()[_0x405725(0x3c9)](_0x10ce05)){_0x4fcbcd=!0x1;break;}_0x4fcbcd&&_0x452b93[_0x405725(0x3a0)](_0x10ce05);}const _0x11973f=_0x4835aa['endCollectChangeset']();_0x252b6e[_0x405725(0x1de)]={'view':_0x1b89a7,'changesets':_0x11973f,'isEmpty':_0x265a0b,'pivotTableConfig':_0x1d3c94,'shouldBeAddedGroupJSON':_0x502e92};}break;case _0x12f3cf[_0x405725(0x2b6)]:{const _0xfdf45=_0x4ef865[_0x405725(0x132)][_0x405725(0x3f6)];if(!_0xfdf45)return;const _0x344ae3=_0xfdf45[_0x405725(0x2fd)],_0x40cd02=_0xfdf45[_0x405725(0x252)],{collection:_0x11bab2}=this[_0x405725(0x285)]['createCollectionWithDataRange']({'unitId':_0x344ae3[_0x405725(0x2ec)],'sheetName':_0x344ae3[_0x405725(0x320)],'subUnitId':_0x344ae3[_0x405725(0x341)],'range':_0x344ae3['range']}),_0x24c866=new _0x42fb89[(_0x405725(0x151))](_0x11bab2,void 0x0,_0x40cd02),_0x330072=_0x24c866[_0x405725(0x20d)](),_0x5edea8=_0x24c866[_0x405725(0x3ef)](),_0x2aa83d=_0x11bab2['toJSON']();_0x252b6e[_0x405725(0x3f6)]={'view':_0x330072,'fieldsConfig':_0x5edea8,'collectionConfig':_0x2aa83d,'isEmpty':_0x24c866['isEmpty']()};}break;case _0x12f3cf[_0x405725(0x2c3)]:{const _0x3bb92e=_0x4ef865[_0x405725(0x132)][_0x405725(0x39a)];if(!_0x3bb92e)return;const {fieldId:_0x56dfae,area:_0x2c4254,index:_0x58fe7b}=_0x3bb92e,_0x27da46=this[_0x405725(0x285)]['getPivotTableConfig'](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x27da46)return;const _0x5c963c=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f);if(!_0x5c963c)return;_0x5c963c['startCollectChangeset']();const {area:_0x1b7398,index:_0x50aa5d}=_0x5c963c['getFieldPositionInfoById'](_0x56dfae);if(_0x5c963c[_0x405725(0x110)](_0x56dfae,_0x2c4254,_0x58fe7b),_0x2c4254===_0x42fb89[_0x405725(0x114)][_0x405725(0x135)]&&_0x5c963c['getTableFieldById'](_0x56dfae)[_0x405725(0x19b)]()===void 0x0){const _0x17eb00=_0x5c963c['getTableFieldById'](_0x56dfae);if(_0x17eb00&&_0x17eb00[_0x405725(0x19b)]()===void 0x0){const _0x1d22c1=_0x5c963c['getDataFieldByTableId'](_0x56dfae);if(_0x1d22c1){const _0x30b50f=_0x1d22c1==null?void 0x0:_0x1d22c1[_0x405725(0x324)]();_0x5c963c[_0x405725(0x343)](_0x56dfae,_0x30b50f===_0x42fb89[_0x405725(0x30a)][_0x405725(0x14a)]?_0x42fb89[_0x405725(0x1ff)][_0x405725(0x137)]:_0x42fb89[_0x405725(0x1ff)]['count']);}}}const _0x57a1ff=_0x5c963c[_0x405725(0x334)](),_0x237418=_0x5c963c[_0x405725(0x160)](),_0x356cba=_0x5c963c[_0x405725(0x196)](_0x42fb89[_0x405725(0x114)][_0x405725(0x135)])>0x1;if(_0x356cba&&_0x1b7398===_0x2c4254&&(_0x2c4254===_0x42fb89[_0x405725(0x114)]['Row']&&_0x57a1ff===_0x42fb89[_0x405725(0xf9)]['Row']||_0x2c4254===_0x42fb89[_0x405725(0x114)][_0x405725(0x1bc)]&&_0x57a1ff===_0x42fb89['PivotTableValuePositionEnum']['Column'])){let _0x3d2846=_0x237418;_0x50aa5d<=_0x237418&&_0x3d2846--,_0x58fe7b<=_0x237418&&_0x3d2846++,_0x5c963c[_0x405725(0x30c)](_0x57a1ff,_0x3d2846);}else _0x356cba&&(_0x1b7398===_0x42fb89['PivotTableFiledAreaEnum']['Row']&&_0x57a1ff===_0x42fb89[_0x405725(0xf9)]['Row']||_0x1b7398===_0x42fb89[_0x405725(0x114)]['Column']&&_0x57a1ff===_0x42fb89[_0x405725(0xf9)]['Column'])&&_0x237418>=_0x50aa5d&&_0x5c963c[_0x405725(0x30c)](_0x57a1ff,_0x237418-0x1),_0x356cba&&(_0x2c4254===_0x42fb89[_0x405725(0x114)][_0x405725(0x1c6)]&&_0x57a1ff===_0x42fb89['PivotTableValuePositionEnum']['Row']||_0x2c4254===_0x42fb89['PivotTableFiledAreaEnum'][_0x405725(0x1bc)]&&_0x57a1ff===_0x42fb89[_0x405725(0xf9)]['Column'])&&_0x237418>=_0x58fe7b&&_0x5c963c[_0x405725(0x30c)](_0x57a1ff,_0x237418+0x1);const _0x1157de=_0x5c963c[_0x405725(0x20d)](),_0x435e77=_0x5c963c[_0x405725(0x2eb)](),_0x4481dd=_0x5c963c[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x39a)]={'view':_0x1157de['toJSON'](),'changesets':_0x4481dd,'isEmpty':_0x435e77,'pivotTableConfig':_0x27da46};}break;case _0x12f3cf[_0x405725(0x240)]:{const _0x11202d=_0x4ef865[_0x405725(0x132)][_0x405725(0x2f9)];if(!_0x11202d)return;const _0x25464=_0x11202d['fieldIds'],_0x3dae04=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x3dae04)return!0x1;const _0x4663f7=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f);if(!_0x4663f7)return!0x1;_0x4663f7[_0x405725(0x1ee)]();for(const _0x318f47 of _0x25464){const {area:_0x3746f5}=_0x4663f7[_0x405725(0x190)](_0x318f47);_0x3746f5===_0x42fb89['PivotTableFiledAreaEnum'][_0x405725(0x135)]&&_0x4663f7[_0x405725(0x3a8)](_0x318f47),(_0x3746f5===_0x42fb89[_0x405725(0x114)][_0x405725(0x1c6)]||_0x3746f5===_0x42fb89['PivotTableFiledAreaEnum'][_0x405725(0x1bc)])&&_0x4663f7['removeValueFilterInfo'](_0x318f47),_0x4663f7[_0x405725(0x1a6)](_0x318f47);}const _0x4ee571=_0x4663f7[_0x405725(0x2eb)](),_0x37363d=_0x4663f7[_0x405725(0x20d)]()['toJSON'](),_0x1927b8=_0x4663f7[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x2f9)]={'changesets':_0x1927b8,'pivotTableConfig':_0x3dae04,'isEmpty':_0x4ee571,'view':_0x37363d};}break;case _0x12f3cf[_0x405725(0x15c)]:{const _0x49d0de=_0x4ef865[_0x405725(0x132)][_0x405725(0x127)];if(!_0x49d0de)return;const {tableFieldId:_0x2237e1,items:_0x477b3e,isAll:_0x519d87}=_0x49d0de,_0x454bd0=this['_sheetsPivotDataSourceModel'][_0x405725(0x266)](_0x594e4f),_0x118480=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x454bd0||!_0x118480)return;_0x454bd0['startCollectChangeset'](),_0x454bd0[_0x405725(0x176)](_0x2237e1,{'type':_0x42fb89['PivotFilterTypeEnum'][_0x405725(0x27e)],'list':_0x477b3e,'isAll':_0x519d87});const _0x598709=_0x454bd0[_0x405725(0x2eb)](),_0x403dfa=_0x454bd0[_0x405725(0x20d)]()[_0x405725(0x3ef)](),_0x326726=_0x454bd0[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x127)]={'view':_0x403dfa,'changesets':_0x326726,'isEmpty':_0x598709,'pivotTableConfig':_0x118480};}break;case _0x12f3cf['SetValuePivotFilter']:{const _0x1fe12a=_0x4ef865['params'][_0x405725(0x404)];if(!_0x1fe12a)return;const {tableFieldId:_0x143228,filterInfo:_0x3075b8}=_0x1fe12a,_0x178713=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f),_0x3bb59f=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x178713||!_0x3bb59f)return;_0x178713[_0x405725(0x1ee)](),_0x178713['setValueFilterInfo'](_0x143228,_0x3075b8);const _0x2dab86=_0x178713[_0x405725(0x2eb)](),_0x2d167d=_0x178713[_0x405725(0x20d)]()[_0x405725(0x3ef)](),_0x1302f4=_0x178713[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x404)]={'view':_0x2d167d,'changesets':_0x1302f4,'isEmpty':_0x2dab86,'pivotTableConfig':_0x3bb59f};}break;case _0x12f3cf[_0x405725(0x3d4)]:{const _0x2845dd=_0x4ef865[_0x405725(0x132)]['setPivotSort'];if(!_0x2845dd)return;const {tableFieldId:_0xaada90,info:_0x20331d}=_0x2845dd,_0x44c7b2=this[_0x405725(0x285)]['getPivotTableInstance'](_0x594e4f),_0x43e0c0=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x44c7b2||!_0x43e0c0)return;_0x44c7b2[_0x405725(0x1ee)](),_0x44c7b2['setSortInfo'](_0xaada90,_0x20331d);const _0x414137=_0x44c7b2['isEmpty'](),_0xe5dcae=_0x44c7b2[_0x405725(0x20d)]()[_0x405725(0x3ef)](),_0xcfcfad=_0x44c7b2[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x2a7)]={'view':_0xe5dcae,'changesets':_0xcfcfad,'isEmpty':_0x414137,'pivotTableConfig':_0x43e0c0};}break;case _0x12f3cf['SetPivotSetting']:{const _0x4a813a=_0x4ef865['params'][_0x405725(0x26a)];if(!_0x4a813a)return;const {tableFieldId:_0x7ade4f,displayName:_0x29104b,subtotalType:_0x376062,format:_0x347e5f}=_0x4a813a,_0x2ab349=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f),_0x4c420f=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x2ab349||!_0x4c420f)return;_0x2ab349[_0x405725(0x1ee)](),_0x29104b!==void 0x0&&_0x2ab349['renameField'](_0x7ade4f,_0x29104b),_0x376062!==void 0x0&&_0x2ab349[_0x405725(0x343)](_0x7ade4f,_0x376062),_0x347e5f!==void 0x0&&_0x2ab349['setFieldFormat'](_0x7ade4f,_0x347e5f);const _0x2033e4=_0x2ab349[_0x405725(0x2eb)](),_0x13745a=_0x2ab349[_0x405725(0x20d)]()[_0x405725(0x3ef)](),_0x1695db=_0x2ab349[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x26a)]={'changesets':_0x1695db,'pivotTableConfig':_0x4c420f,'isEmpty':_0x2033e4,'view':_0x13745a};}break;case _0x12f3cf[_0x405725(0x409)]:{const _0x26bcb4=_0x4ef865[_0x405725(0x132)][_0x405725(0x2ab)];if(!_0x26bcb4)return;const {dataRangeInfo:_0x4801ce,unitId:_0x265be0,subUnitId:_0x4f3234}=_0x26bcb4,_0x2053a1=this[_0x405725(0x285)][_0x405725(0x36b)](_0x265be0,_0x4f3234,_0x594e4f),_0xfb0e95=this[_0x405725(0x285)]['getPivotTableInstance'](_0x594e4f);if(!this[_0x405725(0x285)][_0x405725(0x3ad)](_0x265be0,_0x594e4f)||!_0xfb0e95||!_0x2053a1)return;const _0x2f80d9=this['_sheetsPivotDataSourceModel'][_0x405725(0x353)](_0x265be0,_0x594e4f,_0x4801ce),_0x3a3779=this[_0x405725(0x285)]['getCollection'](_0x265be0,_0x594e4f)[_0x405725(0x3ef)](),{collection:_0xbab973}=this[_0x405725(0x285)][_0x405725(0x27d)]({'unitId':_0x4801ce[_0x405725(0x2ec)],'sheetName':_0x4801ce[_0x405725(0x320)],'subUnitId':_0x4801ce[_0x405725(0x341)],'range':_0x4801ce[_0x405725(0x3f8)]}),_0x254fe4=_0xbab973[_0x405725(0x3ef)]();_0xfb0e95[_0x405725(0x1ee)]();const _0x1b34fb=this[_0x405725(0x285)][_0x405725(0x1aa)](_0x265be0)[_0x405725(0x16d)]()||_0x42fb89[_0x405725(0x397)];_0xfb0e95[_0x405725(0x1fe)](_0x10581a=>{const _0x33033e=_0x405725,_0x572aed=_0x10581a[_0x33033e(0x272)]();if(!_0xbab973[_0x33033e(0x199)](_0x572aed)){const _0x51fc50=_0xbab973[_0x33033e(0x245)](_0x10581a['getSourceName']());if(_0x51fc50){_0xfb0e95[_0x33033e(0x299)](_0x10581a['getId'](),_0x51fc50['getName'](),_0x51fc50[_0x33033e(0x193)]());const {area:_0xe30974}=_0xfb0e95[_0x33033e(0x190)](_0x10581a[_0x33033e(0x193)]());let _0x1a3dfe=_0x10581a[_0x33033e(0x2b0)]();const _0x19c8d2=_0x10581a[_0x33033e(0x113)]();if(_0xe30974===_0x42fb89[_0x33033e(0x114)][_0x33033e(0x135)]){const _0x1081d5=_0x10581a[_0x33033e(0x19b)]();_0x1a3dfe=_0x1b34fb(_0x51fc50[_0x33033e(0x257)](),_0x1081d5);}_0x19c8d2!==_0x1a3dfe&&_0xfb0e95[_0x33033e(0x1b4)](_0x10581a[_0x33033e(0x193)](),_0x1a3dfe);}else _0xfb0e95[_0x33033e(0x1a6)](_0x10581a['getId']());}});const _0x2d5dbb=_0xfb0e95['isEmpty'](),_0x309d0e=_0xfb0e95['query']()[_0x405725(0x3ef)](),_0x55fc12=_0xfb0e95[_0x405725(0xf0)]();_0x252b6e['updatePivotSource']={'view':_0x309d0e,'changesets':_0x55fc12,'isEmpty':_0x2d5dbb,'pivotTableConfig':_0x2053a1,'collectionConfig':_0x254fe4,'oldCollectionConfig':_0x3a3779,'deleteIds':_0x2f80d9};}break;case _0x12f3cf['UpdateValuePosition']:{const _0x3e56ba=_0x4ef865[_0x405725(0x132)][_0x405725(0x30c)];if(!_0x3e56ba)return;const {position:_0x3f07e6,index:_0x5d12bd}=_0x3e56ba,_0x1d5b3b=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x1d5b3b)return!0x1;const _0x4b985f=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f);if(!_0x4b985f)return!0x1;_0x4b985f[_0x405725(0x1ee)](),_0x4b985f['updateValuePosition'](_0x3f07e6,_0x5d12bd);const _0x3fd455=_0x4b985f[_0x405725(0x2eb)](),_0x3cdb4c=_0x4b985f[_0x405725(0x20d)]()[_0x405725(0x3ef)](),_0x4851d7=_0x4b985f[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x30c)]={'changesets':_0x4851d7,'pivotTableConfig':_0x1d5b3b,'isEmpty':_0x3fd455,'view':_0x3cdb4c};}break;case _0x12f3cf[_0x405725(0x3a6)]:{const _0x598be5=_0x4ef865[_0x405725(0x132)][_0x405725(0x2cc)];if(!_0x598be5)return;const {tableFieldId:_0x3fbb50,collapse:_0x242a30,item:_0x369534}=_0x598be5,_0x43aca3=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f),_0x720e5=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x43aca3||!_0x720e5)return;_0x43aca3[_0x405725(0x1ee)](),_0x43aca3[_0x405725(0x2ef)](_0x3fbb50,_0x242a30,_0x369534);const _0xcf4000=_0x43aca3[_0x405725(0x2eb)](),_0x79c738=_0x43aca3[_0x405725(0x20d)]()['toJSON'](),_0x553f07=_0x43aca3[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x2cc)]={'view':_0x79c738,'isEmpty':_0xcf4000,'pivotTableConfig':_0x720e5,'changesets':_0x553f07};}break;case _0x12f3cf[_0x405725(0x278)]:{const _0x6e0dde=_0x4ef865[_0x405725(0x132)][_0x405725(0x1d1)];if(!_0x6e0dde)return;const {pivotTableConfig:_0x326918}=_0x6e0dde,_0x4bb1ee=this['_sheetsPivotDataSourceModel'][_0x405725(0x266)](_0x594e4f),_0x40e535=this['_sheetsPivotDataSourceModel'][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x4bb1ee||!_0x40e535)return;_0x4bb1ee[_0x405725(0x1ee)](),_0xa8b6d0(_0x4bb1ee,_0x326918);const _0x5623c6=_0x4bb1ee[_0x405725(0x2eb)](),_0x301ef7=_0x4bb1ee[_0x405725(0x20d)]()[_0x405725(0x3ef)](),_0x46e39e=_0x4bb1ee[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x1d1)]={'view':_0x301ef7,'isEmpty':_0x5623c6,'pivotTableConfig':{..._0x40e535,'fieldsConfig':_0x4bb1ee[_0x405725(0x3ef)]()},'changesets':_0x46e39e};}break;case _0x12f3cf[_0x405725(0x377)]:{const _0x3f3126=_0x4ef865[_0x405725(0x132)][_0x405725(0x115)];if(!_0x3f3126)return;const _0x14eade=this[_0x405725(0x285)][_0x405725(0x266)](_0x594e4f),_0x5ba1a5=this[_0x405725(0x285)][_0x405725(0x36b)](_0x1ef0e9,_0x4b865f,_0x594e4f);if(!_0x14eade||!_0x5ba1a5)return;_0x14eade[_0x405725(0x1ee)](),_0x297228(_0x14eade,_0x3f3126[_0x405725(0x312)]);const _0x1e3a6d=_0x14eade[_0x405725(0x20d)]()['toJSON'](),_0xd2b484=_0x14eade[_0x405725(0xf0)]();_0x252b6e[_0x405725(0x115)]={'view':_0x1e3a6d,'isEmpty':!0x0,'pivotTableConfig':{..._0x5ba1a5,'fieldsConfig':_0x14eade[_0x405725(0x3ef)]()},'changesets':_0xd2b484};}break;case _0x12f3cf[_0x405725(0x1f1)]:{const _0x3c4477=_0x4ef865[_0x405725(0x132)][_0x405725(0xe1)];if(!_0x3c4477)return;const _0x4d802b=_0x3c4477['sourceRangeInfo'],_0x34bb6f=_0x3c4477[_0x405725(0x252)],{collection:_0x3be71f}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x4d802b['unitId'],'sheetName':_0x4d802b[_0x405725(0x320)],'subUnitId':_0x4d802b[_0x405725(0x341)],'range':_0x4d802b[_0x405725(0x3f8)]}),_0x35f4fd=new _0x42fb89[(_0x405725(0x151))](_0x3be71f,void 0x0,_0x34bb6f),_0x3ad52d=_0x3be71f[_0x405725(0x31a)](),{rows:_0x1dd508,columns:_0x3b45ec,filters:_0x472d58,values:_0x1c8c85}=_0x3c4477[_0x405725(0x1d7)];_0x35f4fd['startCollectChangeset']();for(const {field:_0xba3872,selectedItems:_0x39c9e0}of _0x1dd508||[]){const _0x582a18=_0x3ad52d[_0xba3872];if(_0x582a18){const _0x5e00b0=_0x35f4fd[_0x405725(0x116)](_0x582a18,_0x42fb89[_0x405725(0x114)]['Row']);_0x39c9e0&&_0x5e00b0&&_0x35f4fd['setLabelFilterInfo'](_0x5e00b0['getId'](),{'type':_0x42fb89['PivotFilterTypeEnum']['ManualFilter'],'list':_0x39c9e0,'isAll':!0x1});}}for(const {field:_0x2207e0,selectedItems:_0x468c53}of _0x3b45ec||[]){const _0x3d585d=_0x3ad52d[_0x2207e0];if(_0x3d585d){const _0x2f771f=_0x35f4fd['addFieldWithSourceId'](_0x3d585d,_0x42fb89['PivotTableFiledAreaEnum']['Column']);_0x468c53&&_0x2f771f&&_0x35f4fd[_0x405725(0x176)](_0x2f771f[_0x405725(0x193)](),{'type':_0x42fb89[_0x405725(0x174)][_0x405725(0x27e)],'list':_0x468c53,'isAll':!0x1});}}for(const {field:_0x1079f2,selectedItems:_0x1d0d0d}of _0x472d58||[]){const _0xda1a3f=_0x3ad52d[_0x1079f2];if(_0xda1a3f){const _0x45afc2=_0x35f4fd[_0x405725(0x116)](_0xda1a3f,_0x42fb89[_0x405725(0x114)]['Filter']);_0x1d0d0d&&_0x45afc2&&_0x35f4fd[_0x405725(0x176)](_0x45afc2[_0x405725(0x193)](),{'type':_0x42fb89[_0x405725(0x174)][_0x405725(0x27e)],'list':_0x1d0d0d,'isAll':!0x1});}}for(const {field:_0x48e027,subTotalType:_0x2c5e60,formatString:_0xfed246}of _0x1c8c85||[]){const _0x505ffa=_0x3be71f[_0x405725(0x374)](_0x3ad52d[_0x48e027]);if(!_0x505ffa)continue;const _0x4e9d0e=_0x3ad52d[_0x48e027];if(_0x4e9d0e){const _0x2d4b3c=_0x35f4fd[_0x405725(0x116)](_0x4e9d0e,_0x42fb89[_0x405725(0x114)][_0x405725(0x135)]);if(_0x2d4b3c){if(_0x2c5e60!==void 0x0){_0x35f4fd[_0x405725(0x343)](_0x2d4b3c[_0x405725(0x193)](),_0x2c5e60);const _0x1af639=this[_0x405725(0x285)][_0x405725(0x1aa)](_0x4d802b[_0x405725(0x2ec)])[_0x405725(0x16d)]()||_0x42fb89[_0x405725(0x397)],_0x3daa7c=_0x3be71f['getDisplayName'](_0x4e9d0e),_0x4f69aa=_0x1af639(_0x3daa7c,_0x2c5e60);_0x35f4fd[_0x405725(0x1b4)](_0x2d4b3c[_0x405725(0x193)](),_0x4f69aa);}else{if(_0x505ffa){const _0x3ee294=_0x505ffa==null?void 0x0:_0x505ffa[_0x405725(0x324)]();_0x35f4fd[_0x405725(0x343)](_0x2d4b3c[_0x405725(0x193)](),_0x3ee294===_0x42fb89[_0x405725(0x30a)][_0x405725(0x14a)]?_0x42fb89[_0x405725(0x1ff)][_0x405725(0x137)]:_0x42fb89[_0x405725(0x1ff)][_0x405725(0x3e0)]);}}_0xfed246&&_0x35f4fd[_0x405725(0x274)](_0x2d4b3c[_0x405725(0x193)](),_0xfed246);}}}const _0x5312fc=_0x35f4fd[_0x405725(0x20d)](),_0x23cfb3=_0x35f4fd[_0x405725(0x3ef)](),_0x5b0097=_0x35f4fd[_0x405725(0x2eb)](),_0x473f3c=_0x35f4fd[_0x405725(0xf0)](),_0x58db8b=_0x3be71f['toJSON']();_0x252b6e[_0x405725(0xe1)]={'view':_0x5312fc,'fieldsConfig':_0x23cfb3,'collectionConfig':_0x58db8b,'isEmpty':_0x5b0097,'changesets':_0x473f3c};}break;case _0x12f3cf[_0x405725(0x3f1)]:{const _0x41ec19=_0x30b0e8(this[_0x405725(0x21c)],_0x4ef865);if(!_0x41ec19)return;const {range:_0x1454fa,sourceSubUnitId:_0x110024,sourceUnitId:_0x1fbe92,formatMap:_0x50551a,indexes:_0x1287cb}=_0x41ec19;_0x252b6e[_0x405725(0x28c)]={'range':_0x1454fa,'sourceSubUnitId':_0x110024,'sourceUnitId':_0x1fbe92,'formatMap':_0x50551a,'indexes':_0x1287cb};}break;}this['_commandService'][_0x405725(0x11a)](_0x565331['id'],{'version':_0x4ef865[_0x405725(0x3ec)],'result':_0x252b6e},{'onlyLocal':!0x0});}));}[_0x37107d(0x22e)](){const _0x935ac3=_0x37107d;this[_0x935ac3(0xe0)](this['_commandService']['onCommandExecuted'](_0x322bd4=>{const _0x486e23=_0x935ac3;if(_0x322bd4['id']!==_0x560a95['id'])return;const _0x15c808=_0x322bd4[_0x486e23(0x132)];return this[_0x486e23(0x285)][_0x486e23(0x1c1)](_0x15c808[_0x486e23(0x23a)]),!0x0;}));}['_subjectCollectionChange'](){const _0x4db72a=_0x37107d;this[_0x4db72a(0x285)][_0x4db72a(0x2de)][_0x4db72a(0x3a1)](_0x4ef2d4=>{const _0x50770e=_0x4db72a;switch(_0x4ef2d4[_0x50770e(0x249)]){case _0x2863ee['add']:_0x4ef2d4[_0x50770e(0x3e6)]&&_0x4ef2d4[_0x50770e(0x258)]&&this[_0x50770e(0x346)](_0x4ef2d4[_0x50770e(0x30b)],_0x4ef2d4[_0x50770e(0x3e6)],_0x4ef2d4[_0x50770e(0x258)]);break;case _0x2863ee[_0x50770e(0x27b)]:{const {unitId:_0x3ea5b3,subUnitId:_0x3502cc,token:_0x358b75}=_0x4ef2d4;_0x3ea5b3&&_0x3502cc&&_0x358b75&&this['removeSourceRangeChange'](_0x3ea5b3,_0x3502cc,_0x358b75);}break;case _0x2863ee[_0x50770e(0x1e0)]:{const {token:_0xf574b1,oldSourceRangeInfo:_0x4a2665,dataRangeInfo:_0x51bef1,targetCellInfo:_0xc44ab4}=_0x4ef2d4,{unitId:_0x127a3c,subUnitId:_0x14c1c9}=_0x4a2665||{};_0x127a3c&&_0x14c1c9&&_0xf574b1&&this['removeSourceRangeChange'](_0x127a3c,_0x14c1c9,_0xf574b1),_0x51bef1&&_0xc44ab4&&this[_0x50770e(0x346)](_0xf574b1,_0x51bef1,_0xc44ab4);}break;}});}[_0x37107d(0x2e2)](){const _0xb1bde1=_0x37107d;this[_0xb1bde1(0x285)][_0xb1bde1(0x3ac)]['subscribe'](_0x3135e3=>{const _0x338243=_0xb1bde1;Object['keys'](_0x3135e3)[_0x338243(0x15d)](_0x48afca=>{const _0x2ad34f=_0x338243,_0x3a61c0=this[_0x2ad34f(0x285)][_0x2ad34f(0x3c7)](_0x48afca);if(_0x3a61c0){const _0x3be881=this[_0x2ad34f(0x285)][_0x2ad34f(0x36b)](_0x3a61c0==null?void 0x0:_0x3a61c0[_0x2ad34f(0x2ec)],_0x3a61c0==null?void 0x0:_0x3a61c0[_0x2ad34f(0x341)],_0x48afca);_0x3be881&&(this[_0x2ad34f(0x346)](_0x48afca,_0x3be881[_0x2ad34f(0x2fd)],_0x3be881['targetCellInfo']),this[_0x2ad34f(0x322)]([{'unitId':_0x3a61c0[_0x2ad34f(0x2ec)],'subUnitId':_0x3a61c0['subUnitId'],'token':_0x48afca}]));}});});}[_0x37107d(0x28e)](){const _0x5cc77a=_0x37107d;this[_0x5cc77a(0x285)]['viewData$']['subscribe'](_0x1b2914=>{const _0x36596c=_0x5cc77a,{unitId:_0x1b0102,subUnitId:_0xc7a9ed,pivotTableId:_0x621b5b}=_0x1b2914;_0x1b0102&&_0xc7a9ed&&_0x621b5b&&this[_0x36596c(0x322)]([{'unitId':_0x1b0102,'subUnitId':_0xc7a9ed,'token':_0x621b5b}]);});}[_0x37107d(0x322)](_0x272659){const _0x5492f2=_0x37107d,_0x12304a={};_0x272659[_0x5492f2(0x15d)](_0x26ba25=>{var _0xe777ea,_0x419c00;const {unitId:_0x40e85e,subUnitId:_0xac4809,token:_0x443c1b}=_0x26ba25;_0x12304a[_0x40e85e]=(_0xe777ea=_0x12304a[_0x40e85e])!=null?_0xe777ea:{},_0x12304a[_0x40e85e][_0xac4809]=(_0x419c00=_0x12304a[_0x40e85e][_0xac4809])!=null?_0x419c00:{},_0x12304a[_0x40e85e][_0xac4809][_0x443c1b]=!0x0;}),this[_0x5492f2(0x2e0)][_0x5492f2(0x11a)](_0x116d90['id'],_0x12304a);}['removeSourceRangeChange'](_0xc621d2,_0x5cb637,_0x28f3a0){const _0x456699=_0x37107d;this[_0x456699(0x396)]['remove'](_0xc621d2,_0x5cb637,[_0x28f3a0]);}['handleSourceRangeChange'](_0x275565,_0xc5f3d1,_0x34e436){const _0x429d66=_0x37107d,{unitId:_0x589e86,subUnitId:_0x118a32}=_0xc5f3d1;this[_0x429d66(0x396)][_0x429d66(0x35c)](_0x34e436['unitId'],_0x34e436['subUnitId'],_0x275565)&&this[_0x429d66(0x247)](_0x589e86,_0x118a32,_0x275565);const _0x3c3bad={'sheetId':_0x118a32,..._0xc5f3d1};this['_featureCalculationManagerService'][_0x429d66(0x13e)](_0x34e436[_0x429d66(0x2ec)],_0x34e436[_0x429d66(0x341)],_0x275565,{'unitId':_0x34e436['unitId'],'subUnitId':_0x34e436[_0x429d66(0x341)],'dependencyRanges':[_0x3c3bad],'getDirtyData':(_0x1e4264,_0x693cdc)=>{const _0x29583b=_0x429d66,_0x3f0e13=this['_sheetsPivotDataSourceModel'],_0x24cd11=_0x3f0e13['getTargetByPivotId'](_0x275565);if(!_0x24cd11)return _0x3c29de();const {unitId:_0x2cd25b,subUnitId:_0x34f49c}=_0x24cd11,_0x2cbf5b=_0x29639d(_0x1e4264,_0x693cdc,_0xc5f3d1);if(_0x2cbf5b[_0x29583b(0x298)]>0x0){const _0x55035a=_0x3f0e13[_0x29583b(0x3ad)](_0x589e86,_0x275565),_0x2c1485=_0x55035a[_0x29583b(0x31a)](),_0x3242fc=this[_0x29583b(0x24d)](_0xc5f3d1[_0x29583b(0x2ec)],_0xc5f3d1[_0x29583b(0x341)],_0x693cdc),_0x131a36={},_0x253d8d=this[_0x29583b(0x285)][_0x29583b(0x1aa)](_0x2cd25b)['getAutoDisplayNameFunction']()||_0x42fb89['getAutoDisplayName'],_0x2c7361=[];for(const _0x5770f2 of _0x2cbf5b){const _0x490551=_0x5770f2-(_0xc5f3d1[_0x29583b(0x3f8)]['startColumn']||0x0),_0x14031c=_0x2c1485[_0x490551];_0x2c7361[_0x29583b(0x229)](_0x14031c),_0x131a36[_0x14031c]=_0x55035a[_0x29583b(0x374)](_0x14031c)[_0x29583b(0x257)](),_0x3f0e13[_0x29583b(0x1aa)](_0x589e86)['refreshDataField'](_0x14031c,_0xc5f3d1,_0x490551,_0x3242fc);}_0x55035a[_0x29583b(0x14e)](_0x2c7361)[_0x29583b(0x15d)](_0xbfa0ed=>{const _0xa31010=_0x29583b,[_0x467065,_0x4706af]=_0xbfa0ed,_0x422881=_0x55035a[_0xa31010(0x374)](_0x467065),_0x306029=_0x55035a['getFieldById'](_0x4706af);_0x422881&&_0x306029&&_0x422881[_0xa31010(0x204)](_0x306029);}),_0x55035a[_0x29583b(0x34c)]();const _0x50c332=_0x3f0e13['getPivotTableInstance'](_0x275565);if(_0x50c332){_0xbb858d(_0x50c332,_0x131a36,_0x253d8d),_0x50c332['setDirty'](!0x0);const _0x47fa91=_0x50c332[_0x29583b(0x20d)](),_0x2fe5f1=_0x3f0e13[_0x29583b(0x36b)](_0x2cd25b,_0x34f49c,_0x275565),_0x400c33=_0x3f0e13[_0x29583b(0x1aa)](_0x589e86)[_0x29583b(0x3ef)]();_0x3f0e13[_0x29583b(0x1db)](_0x2cd25b,_0x34f49c,_0x5865c2[_0x29583b(0x1f6)],_0x275565,_0x47fa91,_0x2fe5f1,_0x400c33,!0x0);}}return this[_0x29583b(0x3a5)](_0x2cd25b,_0x34f49c,_0x275565);}});}[_0x37107d(0x24d)](_0x217d4e,_0x4a2a82,_0x2e1e29){var _0xd6e36f,_0x28319e;const {arrayFormulaCellData:_0x114b8b,unitData:_0x279c3c}=_0x2e1e29,_0x56bfac=(_0xd6e36f=_0x114b8b==null?void 0x0:_0x114b8b[_0x217d4e])==null?void 0x0:_0xd6e36f[_0x4a2a82],_0x567f18=(_0x28319e=_0x279c3c==null?void 0x0:_0x279c3c[_0x217d4e])==null?void 0x0:_0x28319e[_0x4a2a82];return{'arrayFormulaCellDataMatrix':_0x56bfac,'unitDataMatrix':_0x567f18};}['getDirtyInfo'](_0x328baf,_0x259c0b,_0x3eeab4){const _0x4948d1=_0x37107d,_0x2f9a7d=this['_sheetsPivotDataSourceModel']['getViewData'](_0x328baf,_0x259c0b,_0x3eeab4),_0x589494=[],_0x130ecc=new _0x5475a7[(_0x4948d1(0x303))]();if(_0x2f9a7d){const {rangeCache:_0x14e201,matrix:_0x35a00b,oldRangeCache:_0x109f09,oldMatrix:_0x2128d6}=_0x2f9a7d,_0x1bb178=_0x262747(_0x109f09),_0x5dc23e=_0x262747(_0x14e201);_0x589494['push'](..._0x5dc23e,..._0x1bb178),_0x2128d6&&_0x109f09&&_0x1bb178[_0x4948d1(0x15d)](_0x589b25=>{const _0x3be92f=_0x4948d1;for(let _0x3944d3=_0x589b25[_0x3be92f(0x163)];_0x3944d3<=_0x589b25['endRow'];_0x3944d3++)for(let _0x2dd57c=_0x589b25[_0x3be92f(0x342)];_0x2dd57c<=_0x589b25[_0x3be92f(0x381)];_0x2dd57c++)_0x130ecc[_0x3be92f(0x14f)](_0x3944d3,_0x2dd57c);}),_0x35a00b&&_0x5dc23e&&_0x5dc23e['forEach'](_0x46aaa4=>{const _0x4a628b=_0x4948d1;for(let _0x4888cd=_0x46aaa4['startRow'];_0x4888cd<=_0x46aaa4[_0x4a628b(0x2a0)];_0x4888cd++)for(let _0x4431d7=_0x46aaa4['startColumn'];_0x4431d7<=_0x46aaa4[_0x4a628b(0x381)];_0x4431d7++)_0x130ecc['setValue'](_0x4888cd,_0x4431d7,_0x35a00b['getValue'](_0x4888cd,_0x4431d7));});}const _0x1c4ab5={};return _0x1c4ab5[_0x328baf]={[_0x259c0b]:_0x362e19(_0x589494)},{'runtimeCellData':{[_0x328baf]:{[_0x259c0b]:_0x130ecc}},'dirtyRanges':_0x1c4ab5};}[_0x37107d(0x191)](){}};_0x446c62=_0x8ada97([_0x4b03f5(0x0,_0x5475a7['Inject'](_0x4652af['SheetsPivotDataSourceModel'])),_0x4b03f5(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x38ed7b[_0x37107d(0x20c)])),_0x4b03f5(0x2,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7['ICommandService'])),_0x4b03f5(0x3,_0x5475a7[_0x37107d(0x3c8)](_0x38ed7b[_0x37107d(0x33f)])),_0x4b03f5(0x4,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7['Injector']))],_0x446c62);var _0x44216f=Object[_0x37107d(0x141)],_0x5dab95=(_0x3d389a,_0x5edeaa,_0xdcb9a8,_0x402d4e)=>{const _0x4e9023=_0x37107d;for(var _0x3bf709=_0x402d4e>0x1?void 0x0:_0x402d4e?_0x44216f(_0x5edeaa,_0xdcb9a8):_0x5edeaa,_0x16d402=_0x3d389a[_0x4e9023(0x298)]-0x1,_0x1e62dc;_0x16d402>=0x0;_0x16d402--)(_0x1e62dc=_0x3d389a[_0x16d402])&&(_0x3bf709=_0x1e62dc(_0x3bf709)||_0x3bf709);return _0x3bf709;},_0x30fe95=(_0x5bb2ed,_0x3a9241)=>(_0x33e7f7,_0x34b22a)=>_0x3a9241(_0x33e7f7,_0x34b22a,_0x5bb2ed);let _0x46ea69=class extends _0x5475a7['Disposable']{constructor(_0x36283a,_0xc16099,_0xbfc03,_0x5f4729){const _0x2fb349=_0x37107d;super(),_0x33deac(this,_0x2fb349(0x349),new _0x5475a7['DisposableCollection']()),(this[_0x2fb349(0x2d4)]=_0x36283a,this['_sheetInterceptorService']=_0xc16099,this[_0x2fb349(0x2c4)]=_0xbfc03,this[_0x2fb349(0x337)]=_0x5f4729,this[_0x2fb349(0x221)]());}['_initClearSelectionCommandInterceptor'](){const _0x340563=_0x37107d;this[_0x340563(0xe0)](this[_0x340563(0x1da)][_0x340563(0xe9)]({'getMutations':_0x28a629=>{const _0x360779=_0x340563;if(_0x28a629['id']===_0x20619b[_0x360779(0x21f)]['id']||_0x28a629['id']===_0x20619b['ClearSelectionAllCommand']['id']){const _0x2d233f=[],_0x3dd730=[],_0x4f3697=this[_0x360779(0x2c4)][_0x360779(0x2e4)]()['map'](_0x164f6e=>_0x164f6e['range']),_0x3eecd0=_0x20619b['getSheetCommandTarget'](this[_0x360779(0x2d4)]);if(!_0x3eecd0)return{'redos':[],'undos':[]};const {unitId:_0x1aafbe,subUnitId:_0x559556}=_0x3eecd0,_0xf1428a={},_0x1f3606=this[_0x360779(0x337)][_0x360779(0x3b4)](_0x1aafbe,_0x559556);if(_0x1f3606!=null&&_0x1f3606['size'])for(const [_0x3063cc,_0x115124]of _0x1f3606){const {unitId:_0x136ea3,subUnitId:_0x3ae8ca,row:_0x3251e8,col:_0x68584d}=_0x115124[_0x360779(0x258)];_0x136ea3===_0x3eecd0[_0x360779(0x2ec)]&&_0x3ae8ca===_0x3eecd0[_0x360779(0x341)]&&(_0xf1428a[_0x3251e8+'-'+_0x68584d]=_0x3063cc);}return _0x4f3697&&_0x3eecd0&&_0x4f3697[_0x360779(0x15d)](_0x69c155=>{const _0x370435=_0x360779;_0x5475a7[_0x370435(0x3ae)]['foreach'](_0x69c155,(_0x21479c,_0x13e850)=>{const _0x570249=_0x370435,_0x1cbb4b=_0x21479c+'-'+_0x13e850;if(_0xf1428a[_0x1cbb4b]){const _0x481544=_0xf1428a[_0x1cbb4b];_0x2d233f[_0x570249(0x229)]({'id':_0x5d03d4['id'],'params':{'unitId':_0x1aafbe,'subUnitId':_0x559556,'pivotTableId':_0x481544}});const _0x4f1110=this[_0x570249(0x337)]['getCollection'](_0x1aafbe,_0x481544),_0x23c7c4=this[_0x570249(0x337)]['getPivotTableConfig'](_0x1aafbe,_0x559556,_0x481544);_0x3dd730[_0x570249(0x229)]({'id':_0x211495['id'],'params':{'unitId':_0x1aafbe,'subUnitId':_0x559556,'pivotTableId':_0x481544,'pivotTableConfig':_0x23c7c4,'collectionConfig':_0x4f1110}});}});}),{'redos':_0x2d233f,'undos':_0x3dd730};}return{'redos':[],'undos':[]};}}));}};_0x46ea69=_0x5dab95([_0x30fe95(0x0,_0x5475a7[_0x37107d(0x14d)]),_0x30fe95(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x20619b[_0x37107d(0x103)])),_0x30fe95(0x2,_0x5475a7[_0x37107d(0x3c8)](_0x20619b[_0x37107d(0x360)])),_0x30fe95(0x3,_0x5475a7['Inject'](_0x4652af[_0x37107d(0x28f)]))],_0x46ea69);var _0x2a79f6=Object[_0x37107d(0x141)],_0x4585ea=(_0x2e444e,_0x19113e,_0x140d39,_0x1a93e1)=>{const _0x57474b=_0x37107d;for(var _0x1d14ee=_0x1a93e1>0x1?void 0x0:_0x1a93e1?_0x2a79f6(_0x19113e,_0x140d39):_0x19113e,_0x2008f9=_0x2e444e[_0x57474b(0x298)]-0x1,_0x49a8df;_0x2008f9>=0x0;_0x2008f9--)(_0x49a8df=_0x2e444e[_0x2008f9])&&(_0x1d14ee=_0x49a8df(_0x1d14ee)||_0x1d14ee);return _0x1d14ee;},_0x43093d=(_0x22069e,_0x211327)=>(_0x4efb90,_0x4197f1)=>_0x211327(_0x4efb90,_0x4197f1,_0x22069e);let _0x1905c6=class extends _0x5475a7[_0x37107d(0x401)]{constructor(_0x12eca6,_0x5de357,_0x3a1dbe,_0x314bfd,_0xe4e4e9){const _0xa7c188=_0x37107d;super(),this[_0xa7c188(0x1da)]=_0x12eca6,this[_0xa7c188(0x21c)]=_0x5de357,this[_0xa7c188(0x2d4)]=_0x3a1dbe,this['_sheetsPivotTableConfigModel']=_0x314bfd,this[_0xa7c188(0x1ba)]=_0xe4e4e9,this['_initCommandInterceptListener']();}['_getPivotAppliedRanges'](_0x281c40,_0x23c614,_0x1bc75a){const _0x3dae7=_0x37107d,{pageView:_0x25a893,cornerView:_0x4befd6,rowView:_0x561893,colView:_0x283c88,dataView:_0x1cb2aa}=_0x23c614,_0x1eb90f=_0x281c40;let _0x251884;if(_0x1bc75a)_0x251884=[..._0x55509a(_0x1eb90f)];else{const _0xdfdc15=_0x5c1d7f(_0x1eb90f,_0x25a893,!0x0),_0x4006d8=_0x25a893[_0x3dae7(0x1ed)]>=0x0?_0x25a893[_0x3dae7(0x1ed)]+0x1:0x0,_0x3ee30d=_0x4befd6['rowCount'],_0x1f9537=_0x4befd6['colCount'],_0x483bf6=_0xdfdc15['length']>0x0?_0x42e754:0x0,_0x2eb523=_0x5c1d7f({'row':_0x1eb90f[_0x3dae7(0x107)]+_0x4006d8+_0x483bf6,'col':_0x1eb90f[_0x3dae7(0x182)]},_0x4befd6,!0x1,!0x1),_0x4dc959=_0x5c1d7f({'row':_0x1eb90f[_0x3dae7(0x107)]+_0x4006d8+_0x483bf6+_0x3ee30d,'col':_0x1eb90f[_0x3dae7(0x182)]},_0x561893,!0x1,!0x0),_0x30aef9=_0x5c1d7f({'row':_0x1eb90f['row']+_0x4006d8+_0x483bf6,'col':_0x1eb90f[_0x3dae7(0x182)]+_0x1f9537},_0x283c88,!0x1,!0x0),_0x59f77f=_0x5c1d7f({'row':_0x1eb90f[_0x3dae7(0x107)]+_0x4006d8+_0x483bf6+_0x3ee30d,'col':_0x1eb90f[_0x3dae7(0x182)]+_0x1f9537},_0x1cb2aa,!0x1,!0x0);_0x251884=[..._0xdfdc15,..._0x2eb523,..._0x4dc959,..._0x30aef9,..._0x59f77f];}return _0x251884;}[_0x37107d(0x212)](){const _0x18ecb7=_0x37107d;this[_0x18ecb7(0xe0)](this[_0x18ecb7(0x1ba)][_0x18ecb7(0x23d)][_0x18ecb7(0x3c4)](this[_0x18ecb7(0x1ba)][_0x18ecb7(0x23d)]['getInterceptPoints']()[_0x18ecb7(0x12e)],{'handler':(_0x302393,_0x3fc632)=>{const _0x249bb1=_0x18ecb7,{cellInfo:_0x490bc8,view:_0x49b4b4,isEmpty:_0x47416d}=_0x3fc632,_0x522368=_0x490bc8,{unitId:_0x161aa4,subUnitId:_0x1a1671}=_0x522368,_0x469c25=this[_0x249bb1(0x3de)](_0x490bc8,_0x49b4b4,_0x47416d),_0x36bd69=this[_0x249bb1(0x1da)]['generateMutationsByRanges']({'unitId':_0x161aa4,'subUnitId':_0x1a1671,'ranges':_0x469c25}),_0x870993=_0x59cfb8(this[_0x249bb1(0x21c)],_0x161aa4,_0x1a1671,_0x469c25);_0x870993[_0x249bb1(0x326)]&&(_0x36bd69['redos'][_0x249bb1(0x229)](_0x870993['setRangeValueRedoMutation']),_0x36bd69[_0x249bb1(0x28b)][_0x249bb1(0x229)](_0x870993[_0x249bb1(0x355)]));const _0x3356d8=this[_0x249bb1(0x1df)](_0x49b4b4,_0x490bc8);return _0x36bd69[_0x249bb1(0x1f0)]['push'](..._0x3356d8[_0x249bb1(0x1f0)]),_0x36bd69['undos'][_0x249bb1(0x229)](..._0x3356d8[_0x249bb1(0x28b)]),{'redos':_0x36bd69[_0x249bb1(0x1f0)],'undos':_0x36bd69['undos']};}}));}[_0x37107d(0x1df)](_0x4790c5,_0x203d0c){const _0x5a137d=_0x37107d,{col:_0x3e21f4,unitId:_0x4db2a6,subUnitId:_0x540204}=_0x203d0c,_0x57c0d7=[],_0x471067=[],_0xd4045e=_0x20619b[_0x5a137d(0x3fe)](this[_0x5a137d(0x2d4)],{'unitId':_0x4db2a6,'subUnitId':_0x540204});if(!_0x203d0c||!_0x4790c5||!_0xd4045e)return{'undos':_0x471067,'redos':_0x57c0d7};const _0x438e83=this[_0x5a137d(0x337)][_0x5a137d(0x297)](),{colView:_0x31e960,dataView:_0x3ef1a9,cornerView:_0x18747e,rowView:_0xcc4f1,formatMap:_0xba4908}=_0x4790c5,_0x3149a2=_0x8fe89b(_0x31e960,_0x438e83,!0x0,_0xba4908),_0x10226e=_0x8fe89b(_0xcc4f1,_0x438e83,!0x1,_0xba4908),_0x14a674=_0x211e08(_0x3ef1a9),_0x360331=_0x20c960(_0x18747e),{worksheet:_0xf9aed3}=_0xd4045e;if(typeof window<'u'&&window[_0x5a137d(0x162)]){const _0x45e043=_0x2a2a34['getFontStyleString']({..._0x1659df[_0x5a137d(0x1a3)]}),_0x305d11=_0x2a2a34[_0x5a137d(0x270)][_0x5a137d(0x24f)](_0x3149a2,_0x45e043)[_0x5a137d(0x400)]+0x10,_0x4d8a20=_0x2a2a34[_0x5a137d(0x270)]['getTextSize'](_0x14a674,_0x45e043)['width'],_0x588a9c=Math['floor'](Math[_0x5a137d(0x23f)](_0x305d11,_0x4d8a20))+0x10,_0x2195a5=Math[_0x5a137d(0x3c6)](_0x2a2a34[_0x5a137d(0x270)][_0x5a137d(0x24f)](_0x10226e,_0x45e043)[_0x5a137d(0x400)]),_0x4e631e=Math[_0x5a137d(0x3c6)](_0x2a2a34['FontCache']['getTextSize'](_0x360331,_0x45e043)[_0x5a137d(0x400)]),_0x396754=Math['max'](_0x2195a5,_0x4e631e,0x28)+0xc,_0x1ec07d=_0x31e960['colCount']+_0x18747e[_0x5a137d(0x3ca)],_0x47d2a1={},_0x32c707={};for(let _0x31d1e1=_0x3e21f4;_0x31d1e1<_0x3e21f4+_0x1ec07d;_0x31d1e1++){const _0xc1df83=_0xf9aed3[_0x5a137d(0x3d0)](_0x31d1e1);_0x47d2a1[_0x31d1e1]=_0xc1df83,_0x31d1e1-_0x3e21f4<_0x18747e[_0x5a137d(0x3ca)]?_0x32c707[_0x31d1e1-_0x3e21f4]=_0x396754:_0x32c707[_0x31d1e1-_0x3e21f4]=_0x588a9c;}_0x57c0d7[_0x5a137d(0x229)]({'id':_0x20619b[_0x5a137d(0x1af)]['id'],'params':{'subUnitId':_0x540204,'unitId':_0x4db2a6,'ranges':[{'startColumn':_0x3e21f4,'endColumn':_0x3e21f4+_0x1ec07d-0x1,'startRow':0x0,'endRow':_0xf9aed3[_0x5a137d(0x37e)]()-0x1}],'colWidth':_0x32c707}}),_0x471067[_0x5a137d(0x229)]({'id':_0x20619b[_0x5a137d(0x1af)]['id'],'params':{'subUnitId':_0x540204,'unitId':_0x4db2a6,'ranges':[{'startColumn':_0x3e21f4,'endColumn':_0x3e21f4+_0x1ec07d-0x1,'startRow':0x0,'endRow':_0xf9aed3[_0x5a137d(0x37e)]()-0x1}],'colWidth':_0x47d2a1}});}return{'undos':_0x471067,'redos':_0x57c0d7};}};_0x1905c6=_0x4585ea([_0x43093d(0x0,_0x5475a7['Inject'](_0x20619b[_0x37107d(0x103)])),_0x43093d(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7['Injector'])),_0x43093d(0x2,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x14d)])),_0x43093d(0x3,_0x5475a7[_0x37107d(0x3c8)](_0x4652af[_0x37107d(0x28f)])),_0x43093d(0x4,_0x5475a7['Inject'](_0x4652af['SheetsPivotTableService']))],_0x1905c6);var _0x55f108=Object[_0x37107d(0x141)],_0x17b986=(_0x1e3517,_0x3ef6f9,_0x5bde1d,_0x15a143)=>{const _0x151037=_0x37107d;for(var _0x1cd57b=_0x15a143>0x1?void 0x0:_0x15a143?_0x55f108(_0x3ef6f9,_0x5bde1d):_0x3ef6f9,_0x4942d6=_0x1e3517[_0x151037(0x298)]-0x1,_0x7beb86;_0x4942d6>=0x0;_0x4942d6--)(_0x7beb86=_0x1e3517[_0x4942d6])&&(_0x1cd57b=_0x7beb86(_0x1cd57b)||_0x1cd57b);return _0x1cd57b;},_0x4d7229=(_0xc98e77,_0x14f804)=>(_0x1c97e0,_0x37c8aa)=>_0x14f804(_0x1c97e0,_0x37c8aa,_0xc98e77);let _0x3fb260=class extends _0x5475a7[_0x37107d(0x401)]{constructor(_0x46e0c6,_0x42e232,_0x4cea6d,_0x556e1e,_0x19db3f,_0x19c7ed,_0x3d85b3){const _0x8de602=_0x37107d;super(),_0x33deac(this,'disposableCollection',new _0x5475a7[(_0x8de602(0x3ed))]()),(this['_injector']=_0x46e0c6,this[_0x8de602(0x38f)]=_0x42e232,this[_0x8de602(0x2e0)]=_0x4cea6d,this[_0x8de602(0x2d4)]=_0x556e1e,this[_0x8de602(0x337)]=_0x19db3f,this[_0x8de602(0x2c2)]=_0x19c7ed,this['_sheetInterceptorService']=_0x3d85b3,this[_0x8de602(0xef)]());}[_0x37107d(0xef)](){const _0x13485f=_0x37107d,_0x59bd1c=(_0x59f1d2,_0x528fe3)=>{const _0x4db2db=_0xfdbf,_0x40d934=this[_0x4db2db(0x2d4)][_0x4db2db(0x104)](_0x5475a7[_0x4db2db(0x179)][_0x4db2db(0x1c4)]);if(!_0x40d934||!(_0x40d934==null?void 0x0:_0x40d934[_0x4db2db(0x153)](_0x528fe3)))return;this[_0x4db2db(0x349)][_0x4db2db(0x191)]();const _0x18e22e=_0x3aa92c=>this[_0x4db2db(0x150)](_0x3aa92c,_0x59f1d2,_0x528fe3),_0xe029ab=this[_0x4db2db(0x337)][_0x4db2db(0x3b4)](_0x59f1d2,_0x528fe3);if(!(_0xe029ab!=null&&_0xe029ab['size']))return;Array[_0x4db2db(0x40a)](_0xe029ab[_0x4db2db(0x24a)]())[_0x4db2db(0x13c)](_0xc21b06=>{const _0x544967=_0x4db2db,{row:_0x3ea3d5,col:_0x5b4869}=_0xc21b06[_0x544967(0x258)];return _0x5475a7[_0x544967(0x2f7)](_0x3ea3d5,_0x5b4869);})[_0x4db2db(0x15d)](_0x24ecfa=>{const _0x4b6d46=_0x4db2db;this[_0x4b6d46(0x349)][_0x4b6d46(0x105)](this[_0x4b6d46(0x38f)]['registerRefRange'](_0x24ecfa,_0x18e22e,_0x59f1d2,_0x528fe3));});},_0x4c6102=()=>{const _0x4da00e=_0xfdbf,_0xc82593=this[_0x4da00e(0x2d4)][_0x4da00e(0x104)](_0x5475a7[_0x4da00e(0x179)][_0x4da00e(0x1c4)]);if(_0xc82593){const _0x2d05ca=_0xc82593[_0x4da00e(0x22a)]();if(!_0x2d05ca)return;_0x59bd1c(_0xc82593[_0x4da00e(0x3da)](),_0x2d05ca[_0x4da00e(0x38d)]());}};this[_0x13485f(0xe0)](this[_0x13485f(0x2e0)][_0x13485f(0x34b)](_0x49cc5f=>{const _0x56aac8=_0x13485f;if(_0x49cc5f['id']===_0x20619b['SetWorksheetActiveOperation']['id']){const _0x5045f8=_0x49cc5f[_0x56aac8(0x132)],_0x143ade=_0x5045f8[_0x56aac8(0x341)],_0x41009e=_0x5045f8[_0x56aac8(0x2ec)];if(!_0x143ade||!_0x41009e)return;_0x59bd1c(_0x41009e,_0x143ade);}})),this['disposeWithMe'](this[_0x13485f(0x337)][_0x13485f(0x39f)]['subscribe'](_0x2ae25e=>{_0x2ae25e&&_0x4c6102();})),this['disposeWithMe'](this[_0x13485f(0x337)][_0x13485f(0x1e6)][_0x13485f(0x3a1)](_0x52ec2e=>{const _0x4fb8e6=_0x13485f,_0x422f55=_0x20619b[_0x4fb8e6(0x3fe)](this['_univerInstanceService']);if(!_0x422f55)return;const {unitId:_0x47ee29,subUnitId:_0x450794}=_0x422f55,{unitId:_0xbddaf1,subUnitId:_0x4ea15f}=_0x52ec2e;_0x47ee29!==_0xbddaf1||_0x450794!==_0x4ea15f||_0x59bd1c(_0x47ee29,_0x450794);})),_0x4c6102();}[_0x37107d(0x150)](_0x56ef69,_0x3bd767,_0x56ff80){const _0x3e7f35=_0x37107d;switch(_0x56ef69['id']){case _0x20619b[_0x3e7f35(0x2d2)]['id']:return this[_0x3e7f35(0x35e)](_0x56ef69[_0x3e7f35(0x132)],_0x3bd767,_0x56ff80);}return{'redos':[],'undos':[]};}[_0x37107d(0x35e)](_0x938b83,_0xa67fa1,_0x56b138){const _0x4e89bf=_0x37107d,{fromRange:_0x3a0e08,toRange:_0x211583}=_0x938b83,_0x40c63c=[],_0x3e1e49=[],_0x2e5bfa=_0x20619b[_0x4e89bf(0x3fe)](this[_0x4e89bf(0x2d4)]);if(!_0x2e5bfa)return{'undos':_0x3e1e49,'redos':_0x40c63c};if(_0xa67fa1!==_0x2e5bfa['unitId']||_0x56b138!==_0x2e5bfa[_0x4e89bf(0x341)])return{'undos':_0x3e1e49,'redos':_0x40c63c};const _0x1a9709=this[_0x4e89bf(0x337)][_0x4e89bf(0x3b4)](_0xa67fa1,_0x56b138);if(_0x1a9709!=null&&_0x1a9709[_0x4e89bf(0x290)])for(const [_0x2ff309,_0x288400]of _0x1a9709){const {unitId:_0x4a39fd,subUnitId:_0x2cdb1b,row:_0x29db47,col:_0x1e0496}=_0x288400[_0x4e89bf(0x258)];if(_0x4a39fd===_0x2e5bfa[_0x4e89bf(0x2ec)]&&_0x2cdb1b===_0x2e5bfa['subUnitId']){const _0x40ac0a=_0x5475a7[_0x4e89bf(0x2f7)](_0x29db47,_0x1e0496);if(_0x5475a7[_0x4e89bf(0x2b7)][_0x4e89bf(0x1ca)](_0x40ac0a,_0x3a0e08)){const _0x5d9481=_0x29db47-_0x3a0e08['startRow'],_0x55a584=_0x1e0496-_0x3a0e08['startColumn'],_0x48e247={'row':_0x211583[_0x4e89bf(0x163)]+_0x5d9481,'col':_0x211583[_0x4e89bf(0x342)]+_0x55a584};_0x40c63c[_0x4e89bf(0x229)]({'id':_0x3357a9['id'],'params':{'unitId':_0x4a39fd,'subUnitId':_0x2cdb1b,'pivotTableId':_0x2ff309,'targetCellPosition':_0x48e247}}),_0x3e1e49[_0x4e89bf(0x229)]({'id':_0x3357a9['id'],'params':{'unitId':_0x4a39fd,'subUnitId':_0x2cdb1b,'pivotTableId':_0x2ff309,'targetCellPosition':{'row':_0x29db47,'col':_0x1e0496}}});const _0x18ab5b=_0x48e247[_0x4e89bf(0x107)]-_0x29db47,_0x550be6=_0x48e247[_0x4e89bf(0x182)]-_0x1e0496,_0x16c658=[],_0x2a60a6=this[_0x4e89bf(0x2c2)]['getPivotItemRenderInfoCache'](_0x4a39fd,_0x2cdb1b,_0x2ff309),_0x3b373e=_0x2a60a6==null?void 0x0:_0x2a60a6[_0x4e89bf(0x3fd)];if(_0x3b373e){Object[_0x4e89bf(0x33b)](_0x3b373e)['forEach'](_0x5bab08=>{const _0x4d9f6f=_0x4e89bf;_0x3b373e[_0x5bab08][_0x4d9f6f(0x15d)](_0x5d93a4=>{const _0x1904d7=_0x4d9f6f,_0x355e54={..._0x5d93a4};_0x355e54[_0x1904d7(0x163)]=_0x5d93a4[_0x1904d7(0x163)]+_0x18ab5b,_0x355e54['endRow']=_0x5d93a4[_0x1904d7(0x2a0)]+_0x18ab5b,_0x355e54[_0x1904d7(0x342)]=_0x5d93a4[_0x1904d7(0x342)]+_0x550be6,_0x355e54[_0x1904d7(0x381)]=_0x5d93a4[_0x1904d7(0x381)]+_0x550be6,_0x16c658['push'](_0x355e54);});});const _0x52e4a2=this['_sheetInterceptorService'][_0x4e89bf(0x20b)]({'unitId':_0x4a39fd,'subUnitId':_0x2cdb1b,'ranges':_0x16c658});_0x40c63c['push'](..._0x52e4a2['redos']),_0x3e1e49['push'](..._0x52e4a2['undos']);const _0x36fe66=_0x59cfb8(this[_0x4e89bf(0x21c)],_0x4a39fd,_0x2cdb1b,_0x16c658);_0x36fe66[_0x4e89bf(0x326)]&&(_0x40c63c[_0x4e89bf(0x229)](_0x36fe66[_0x4e89bf(0x25a)]),_0x3e1e49[_0x4e89bf(0x229)](_0x36fe66[_0x4e89bf(0x355)]));}}}}return{'redos':_0x40c63c,'undos':_0x3e1e49};}};_0x3fb260=_0x17b986([_0x4d7229(0x0,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x27f)])),_0x4d7229(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x20619b[_0x37107d(0x279)])),_0x4d7229(0x2,_0x5475a7[_0x37107d(0x3d6)]),_0x4d7229(0x3,_0x5475a7[_0x37107d(0x14d)]),_0x4d7229(0x4,_0x5475a7[_0x37107d(0x3c8)](_0x4652af[_0x37107d(0x28f)])),_0x4d7229(0x5,_0x5475a7[_0x37107d(0x3c8)](_0x4652af['SheetsPivotTableAdaptorModel'])),_0x4d7229(0x6,_0x5475a7[_0x37107d(0x3c8)](_0x20619b[_0x37107d(0x103)]))],_0x3fb260);var _0x4a3555=Object[_0x37107d(0x141)],_0x3d3b6a=(_0x40997e,_0x20c7b3,_0x4be6cd,_0x4f2fe2)=>{const _0x4c0035=_0x37107d;for(var _0x26219a=_0x4f2fe2>0x1?void 0x0:_0x4f2fe2?_0x4a3555(_0x20c7b3,_0x4be6cd):_0x20c7b3,_0x2b038d=_0x40997e[_0x4c0035(0x298)]-0x1,_0x5a4198;_0x2b038d>=0x0;_0x2b038d--)(_0x5a4198=_0x40997e[_0x2b038d])&&(_0x26219a=_0x5a4198(_0x26219a)||_0x26219a);return _0x26219a;},_0x953a65=(_0xdc994b,_0x2608d2)=>(_0x54984f,_0x586c78)=>_0x2608d2(_0x54984f,_0x586c78,_0xdc994b);let _0x19bae4=class extends _0x5475a7['Disposable']{constructor(_0x55bec3,_0x33669d){const _0x3af522=_0x37107d;super(),this[_0x3af522(0x1da)]=_0x55bec3,this[_0x3af522(0x337)]=_0x33669d,this['_initRemoveSheetCommandInterceptor']();}[_0x37107d(0x31f)](){const _0x3892d0=_0x37107d;this[_0x3892d0(0xe0)](this[_0x3892d0(0x1da)]['interceptCommand']({'getMutations':_0x2c1bfb=>{const _0xedaa4a=_0x3892d0;if(_0x2c1bfb['id']===_0x20619b[_0xedaa4a(0xe5)]['id']){const _0x432262=[],_0x41c806=[],_0x31f493=_0x2c1bfb[_0xedaa4a(0x132)],{unitId:_0x438563,subUnitId:_0x56b954}=_0x31f493;if(!_0x438563||!_0x56b954)return{'undos':_0x41c806,'redos':_0x432262};const _0x224ea0=this['_sheetsPivotTableConfigModel'][_0xedaa4a(0x3b4)](_0x438563,_0x56b954);if(_0x224ea0!=null&&_0x224ea0[_0xedaa4a(0x290)])for(const [_0x4f4aaf,_0x40ce31]of _0x224ea0){_0x432262[_0xedaa4a(0x229)]({'id':_0x5d03d4['id'],'params':{'unitId':_0x438563,'subUnitId':_0x56b954,'pivotTableId':_0x4f4aaf}});const _0x346966={...this[_0xedaa4a(0x337)][_0xedaa4a(0x3ad)](_0x438563,_0x4f4aaf)};_0x41c806[_0xedaa4a(0x229)]({'id':_0x211495['id'],'params':{'unitId':_0x438563,'subUnitId':_0x56b954,'pivotTableId':_0x4f4aaf,'pivotTableConfig':_0x40ce31,'collectionConfig':_0x346966}});}return{'redos':_0x432262,'undos':_0x41c806};}return{'redos':[],'undos':[]};}}));}};_0x19bae4=_0x3d3b6a([_0x953a65(0x0,_0x5475a7[_0x37107d(0x3c8)](_0x20619b['SheetInterceptorService'])),_0x953a65(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x4652af[_0x37107d(0x28f)]))],_0x19bae4);var _0x249957=Object['getOwnPropertyDescriptor'],_0xa9364b=(_0x36b9fc,_0x1f1a18,_0x392a61,_0x5ac802)=>{for(var _0x2d2531=_0x5ac802>0x1?void 0x0:_0x5ac802?_0x249957(_0x1f1a18,_0x392a61):_0x1f1a18,_0x45113d=_0x36b9fc['length']-0x1,_0x23cb52;_0x45113d>=0x0;_0x45113d--)(_0x23cb52=_0x36b9fc[_0x45113d])&&(_0x2d2531=_0x23cb52(_0x2d2531)||_0x2d2531);return _0x2d2531;},_0x48e78d=(_0x48a928,_0x23e3ed)=>(_0x2cecc5,_0x4200f3)=>_0x23e3ed(_0x2cecc5,_0x4200f3,_0x48a928);let _0x229204=class extends _0x5475a7['Disposable']{constructor(_0x10f98b,_0x4050d1,_0x3e3030,_0x5e62be,_0x466f6d,_0xd2feed){const _0x48ad0b=_0x37107d;super(),this['_commandService']=_0x10f98b,this['_sheetsPivotRpcService']=_0x4050d1,this['_sheetsPivotTableAdaptorModel']=_0x3e3030,this[_0x48ad0b(0x337)]=_0x5e62be,this[_0x48ad0b(0x2d4)]=_0x466f6d,this[_0x48ad0b(0x3c1)]=_0xd2feed,this[_0x48ad0b(0x2be)](),this[_0x48ad0b(0xed)]();}[_0x37107d(0x2be)](){const _0xd6b9e3=_0x37107d;this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0xa24a98=>{const _0xcf2a56=_0xfdbf;if(_0xa24a98['id']!==_0x565331['id'])return;const _0x30f83c=_0xa24a98[_0xcf2a56(0x132)];this['_sheetsPivotRpcService'][_0xcf2a56(0x2e7)](_0x30f83c);})),this['disposeWithMe'](this[_0xd6b9e3(0x2e0)]['onCommandExecuted'](_0x40572a=>{const _0x159ad5=_0xd6b9e3;if(_0x40572a['id']===_0x326687['id']){const _0x537a3c=_0x40572a[_0x159ad5(0x132)];if(_0x537a3c){const {unitId:_0x6914db,subUnitId:_0x4cdde4,oldSubUnitId:_0x1f8498,pivotTableId:_0x10d5f5,pivotTableConfig:_0x390c62,collectionConfig:_0x23eaa9}=_0x537a3c;this[_0x159ad5(0x337)][_0x159ad5(0x156)](_0x6914db,_0x1f8498,_0x537a3c['pivotTableId'],null),this[_0x159ad5(0x337)][_0x159ad5(0x156)](_0x6914db,_0x4cdde4,_0x10d5f5,_0x390c62),this[_0x159ad5(0x337)][_0x159ad5(0x3e3)](_0x6914db,_0x23eaa9);}}})),this[_0xd6b9e3(0xe0)](this['_commandService'][_0xd6b9e3(0x34b)](_0x9e6169=>{const _0x23ca5c=_0xd6b9e3;if(_0x9e6169['id']!==_0x892c58['id'])return;const _0x5309a8=_0x20619b[_0x23ca5c(0x3fe)](this[_0x23ca5c(0x2d4)]);if(!_0x5309a8)return;const {unitId:_0x5c504d,subUnitId:_0x351864}=_0x5309a8,_0x4fe8c=_0x9e6169['params'];if(_0x4fe8c['collectionConfig']&&Object[_0x23ca5c(0x33b)](_0x4fe8c[_0x23ca5c(0x2e5)])[_0x23ca5c(0x15d)](_0x518fce=>{const _0x1e9506=_0x23ca5c;var _0x52d980;(_0x52d980=_0x4fe8c[_0x1e9506(0x2e5)])!=null&&_0x52d980[_0x518fce]&&this[_0x1e9506(0x337)]['updateCollectionConfig'](_0x518fce,_0x4fe8c[_0x1e9506(0x2e5)][_0x518fce]);}),_0x4fe8c[_0x23ca5c(0x33c)]){const _0x581dae=_0x4fe8c[_0x23ca5c(0x33c)],{unitId:_0x302763,subUnitId:_0x1d1c9c,view:_0x395d5f,pivotTableId:_0x42ef38,type:_0x2accba,pivotConfig:_0x50443c}=_0x581dae;if(_0x2accba===_0x5865c2[_0x23ca5c(0x108)])this[_0x23ca5c(0x2c2)]['clearRenderCache']({'unitId':_0x302763,'subUnitId':_0x1d1c9c,'pivotTableId':_0x42ef38,'type':_0x2accba}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x302763,_0x1d1c9c,_0x42ef38,null);else{const _0x5aa038=new _0x42fb89[(_0x23ca5c(0x2e8))]();_0x5aa038[_0x23ca5c(0x2a4)](_0x395d5f),this[_0x23ca5c(0x337)][_0x23ca5c(0x156)](_0x302763,_0x1d1c9c,_0x42ef38,_0x50443c),this['_sheetsPivotTableAdaptorModel'][_0x23ca5c(0x197)]({'unitId':_0x302763,'subUnitId':_0x1d1c9c,'pivotTableId':_0x42ef38,'type':_0x2accba,'view':_0x5aa038}),this[_0x23ca5c(0x2c2)][_0x23ca5c(0x180)]({'unitId':_0x302763,'subUnitId':_0x1d1c9c,'view':_0x5aa038,'pivotTableId':_0x42ef38,'type':_0x2accba});}}else _0x4fe8c[_0x23ca5c(0x1c7)]&&(_0x4fe8c['batch'][_0x23ca5c(0x15d)](_0x53ecd0=>{const _0x576963=_0x23ca5c,{unitId:_0x3f5a75,subUnitId:_0x52ba2a,view:_0x45a326,pivotTableId:_0x37f5a5,type:_0x1050ee,pivotConfig:_0x27cd59}=_0x53ecd0,_0x289f6d=new _0x42fb89['PivotView']();_0x289f6d[_0x576963(0x2a4)](_0x45a326),this[_0x576963(0x337)][_0x576963(0x156)](_0x3f5a75,_0x52ba2a,_0x37f5a5,_0x27cd59),this[_0x576963(0x2c2)][_0x576963(0x180)]({'unitId':_0x3f5a75,'subUnitId':_0x52ba2a,'view':_0x289f6d,'pivotTableId':_0x37f5a5,'type':_0x1050ee});}),this[_0x23ca5c(0x337)][_0x23ca5c(0x3ff)]());this[_0x23ca5c(0x2c2)][_0x23ca5c(0x155)](_0x5c504d,_0x351864);}));}['registerDirtyService'](){const _0x3c1876=_0x37107d;this[_0x3c1876(0x3c1)][_0x3c1876(0x13e)](_0x116d90['id'],{'commandId':_0x116d90['id'],'getDirtyData'(_0x5eb870){return{'dirtyUnitFeatureMap':_0x5eb870['params']};}});}};_0x229204=_0xa9364b([_0x48e78d(0x0,_0x5475a7['Inject'](_0x5475a7[_0x37107d(0x3d6)])),_0x48e78d(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x4652af['SheetsPivotRPCService'])),_0x48e78d(0x2,_0x5475a7[_0x37107d(0x3c8)](_0x4652af[_0x37107d(0x1d0)])),_0x48e78d(0x3,_0x5475a7[_0x37107d(0x3c8)](_0x4652af[_0x37107d(0x28f)])),_0x48e78d(0x4,_0x5475a7['Inject'](_0x5475a7[_0x37107d(0x14d)])),_0x48e78d(0x5,_0x38ed7b[_0x37107d(0x138)])],_0x229204);var _0x29c26c=Object[_0x37107d(0x26f)],_0x3a3ff9=Object[_0x37107d(0x141)],_0x1dd74d=(_0x4e733c,_0x32c65a,_0x29fed6)=>_0x32c65a in _0x4e733c?_0x29c26c(_0x4e733c,_0x32c65a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29fed6}):_0x4e733c[_0x32c65a]=_0x29fed6,_0x5805df=(_0x19c764,_0x1a2855,_0x50b722,_0x5e3691)=>{const _0x32cadd=_0x37107d;for(var _0x2cbc25=_0x5e3691>0x1?void 0x0:_0x5e3691?_0x3a3ff9(_0x1a2855,_0x50b722):_0x1a2855,_0x482a6c=_0x19c764[_0x32cadd(0x298)]-0x1,_0x367191;_0x482a6c>=0x0;_0x482a6c--)(_0x367191=_0x19c764[_0x482a6c])&&(_0x2cbc25=_0x367191(_0x2cbc25)||_0x2cbc25);return _0x2cbc25;},_0x1b4cdc=(_0x2082e0,_0x2f40a9)=>(_0x2da8b8,_0x29915a)=>_0x2f40a9(_0x2da8b8,_0x29915a,_0x2082e0),_0x29cb5d=(_0x3ed24c,_0x563bab,_0x541ec9)=>_0x1dd74d(_0x3ed24c,typeof _0x563bab!=_0x37107d(0x133)?_0x563bab+'':_0x563bab,_0x541ec9);_0x4652af['UniverSheetsPivotTablePlugin']=class extends _0x5475a7['Plugin']{constructor(_0x1eae13=_0x54c206,_0x3a2983,_0x38c38e,_0x47b865,_0x374d38){const _0x5324fa=_0x37107d;super(),this[_0x5324fa(0x286)]=_0x1eae13,this[_0x5324fa(0x21c)]=_0x3a2983,this[_0x5324fa(0x2e0)]=_0x38c38e,this[_0x5324fa(0x34d)]=_0x47b865,this[_0x5324fa(0x21d)]=_0x374d38;const {..._0x1ab35e}=_0x5475a7[_0x5324fa(0x226)]({},_0x54c206,this[_0x5324fa(0x286)]);this[_0x5324fa(0x34d)][_0x5324fa(0x32c)](_0x171bdb,_0x1ab35e),this['_initRegisterCommand'](),this['_initConfig']();}[_0x37107d(0x19f)](){const _0xf7ab79=_0x37107d;var _0x5590e8;const _0x415d09=(_0x5590e8=this[_0xf7ab79(0x286)])==null?void 0x0:_0x5590e8[_0xf7ab79(0x2db)];this[_0xf7ab79(0x34d)]['setConfig'](_0x4aadc7,_0x415d09===!0x0);}[_0x37107d(0x3bb)](){const _0x43d257=_0x37107d;var _0x396b9d;let _0x76a0e8=[];const _0xf963b3=(_0x396b9d=this[_0x43d257(0x286)])==null?void 0x0:_0x396b9d[_0x43d257(0x2db)];_0xf963b3===!0x0?_0x76a0e8=[[_0x4652af[_0x43d257(0x37c)]],[_0x4652af[_0x43d257(0x1d6)]],[_0x229204],[_0x4652af[_0x43d257(0x1d0)]],[_0x4652af[_0x43d257(0x28f)]],[_0x19bae4],[_0x46ea69],[_0x3fb260],[_0x1905c6]]:_0xf963b3===!0x1?_0x76a0e8=[[_0x4652af[_0x43d257(0x275)]],[_0x446c62]]:_0xf963b3===void 0x0&&(_0x76a0e8=[[_0x4652af[_0x43d257(0x275)]],[_0x446c62],[_0x4652af[_0x43d257(0x37c)]],[_0x4652af[_0x43d257(0x1d6)]],[_0x229204],[_0x4652af[_0x43d257(0x1d0)]],[_0x4652af[_0x43d257(0x28f)]],[_0x19bae4],[_0x46ea69],[_0x3fb260],[_0x1905c6]]),_0x76a0e8[_0x43d257(0x15d)](_0x32ec86=>this['_injector'][_0x43d257(0x105)](_0x32ec86)),[_0x446c62,_0x229204,_0x4652af[_0x43d257(0x37c)],_0x46ea69,_0x19bae4,_0x3fb260,_0x1905c6][_0x43d257(0x15d)](_0x1c024f=>{const _0x18f9a1=_0x43d257;this[_0x18f9a1(0x21c)][_0x18f9a1(0x35c)](_0x1c024f)&&this[_0x18f9a1(0x21c)][_0x18f9a1(0xe4)](_0x1c024f);});}[_0x37107d(0x235)](){const _0x49c3=_0x37107d;[_0x4463ea,_0x13346d,_0x4ee102,_0x17cc00,_0x440bc6,_0x4711a7,_0x50a75e,_0x3f4116,_0x555447,_0x1fe6e6,_0x4bfb69,_0x428251,_0x2d021e,_0x559eef,_0x211495,_0x44e983,_0x5d03d4,_0x5485a4,_0xfbeea8,_0x29bf5c,_0x3d7071,_0x497dc7,_0x198914,_0xc60e14,_0x536952,_0x35183d,_0x3357a9,_0x4fcc0a,_0x565331,_0x892c58,_0x227ab8,_0x5a17aa,_0x133278,_0x40f547,_0x560a95,_0xcb809c,_0x3f9e27,_0x116d90,_0x326687,_0x375ca0,_0x5eef3d,_0x96da19,_0x5d2c34][_0x49c3(0x15d)](_0x5a8968=>{const _0x4a973a=_0x49c3;var _0x124c7f;(_0x124c7f=this[_0x4a973a(0x21d)])==null||_0x124c7f[_0x4a973a(0x30f)](_0x5a8968),this[_0x4a973a(0x2e0)]['registerCommand'](_0x5a8968);});}},_0x29cb5d(_0x4652af['UniverSheetsPivotTablePlugin'],_0x37107d(0x3db),_0x55f144),_0x29cb5d(_0x4652af[_0x37107d(0x287)],_0x37107d(0x249),_0x5475a7[_0x37107d(0x179)][_0x37107d(0x1c4)]),_0x4652af['UniverSheetsPivotTablePlugin']=_0x5805df([_0x5475a7['DependentOn'](_0x57119e['UniverLicensePlugin']),_0x1b4cdc(0x1,_0x5475a7[_0x37107d(0x3c8)](_0x5475a7[_0x37107d(0x27f)])),_0x1b4cdc(0x2,_0x5475a7['Inject'](_0x5475a7[_0x37107d(0x3d6)])),_0x1b4cdc(0x3,_0x5475a7[_0x37107d(0x3fb)]),_0x1b4cdc(0x4,_0x5475a7[_0x37107d(0x224)](_0x3cbf50[_0x37107d(0x2f4)]))],_0x4652af[_0x37107d(0x287)]),_0x4652af[_0x37107d(0x1fd)]=_0x4ee102,_0x4652af[_0x37107d(0x143)]=_0x5485a4,_0x4652af['AddPivotTableCommand']=_0x13346d,_0x4652af['AddPivotTableMutation']=_0x211495,_0x4652af[_0x37107d(0x1f4)]=_0x4463ea,_0x4652af[_0x37107d(0x38a)]=_0x42e754,_0x4652af[_0x37107d(0x195)]=_0x5dcb75,_0x4652af[_0x37107d(0x1a2)]=_0x17cc00,_0x4652af[_0x37107d(0x1dc)]=_0x2d021e,_0x4652af[_0x37107d(0x1eb)]=_0x12f3cf,_0x4652af[_0x37107d(0x22b)]=_0x559eef,_0x4652af['PivotTableOperationEnum']=_0x5865c2,_0x4652af[_0x37107d(0x319)]=_0x116d90,_0x4652af['PositionType']=_0x570a84,_0x4652af['RemovePivotFieldCommand']=_0x440bc6,_0x4652af[_0x37107d(0x1f9)]=_0x497dc7,_0x4652af[_0x37107d(0x3fa)]=_0x5d03d4,_0x4652af[_0x37107d(0x10b)]=_0x198914,_0x4652af[_0x37107d(0x3f7)]=_0x5d2c34,_0x4652af[_0x37107d(0x2ee)]=_0x171bdb,_0x4652af[_0x37107d(0x3cb)]=_0x55f144,_0x4652af[_0x37107d(0x3f4)]=_0x3f4116,_0x4652af[_0x37107d(0x24e)]=_0xc60e14,_0x4652af[_0x37107d(0x37a)]=_0x40f547,_0x4652af[_0x37107d(0x12b)]=_0x96da19,_0x4652af[_0x37107d(0x40b)]=_0x1fe6e6,_0x4652af[_0x37107d(0x3e9)]=_0x3d7071,_0x4652af[_0x37107d(0x22d)]=_0x35183d,_0x4652af['SetPivotPositionMutation']=_0x3357a9,_0x4652af[_0x37107d(0x3f2)]=_0x555447,_0x4652af['SetPivotSortMutation']=_0x536952,_0x4652af[_0x37107d(0x295)]=_0x133278,_0x4652af[_0x37107d(0x2cb)]=_0x375ca0,_0x4652af['SetPivotValueFilterMutation']=_0x5eef3d,_0x4652af[_0x37107d(0x12a)]=_0x50a75e,_0x4652af[_0x37107d(0x2ea)]=_0x227ab8,_0x4652af[_0x37107d(0x256)]=_0x4bfb69,_0x4652af['UpdatePivotFieldSourceInfoMutation']=_0x3f9e27,_0x4652af[_0x37107d(0xe7)]=_0x428251,_0x4652af['UpdatePivotTableSourceRangeMutation']=_0xcb809c,_0x4652af[_0x37107d(0x2fc)]=_0x4711a7,_0x4652af[_0x37107d(0x1ef)]=_0x5a17aa,_0x4652af[_0x37107d(0x1d9)]=_0x1bd7c8,_0x4652af['canUsePivot']=_0x57370b,_0x4652af[_0x37107d(0x2d3)]=_0x1659df,_0x4652af[_0x37107d(0x2d8)]=_0x59cfb8,_0x4652af['getAdjustRangesPosition']=_0x5c1d7f,_0x4652af[_0x37107d(0x1a5)]=_0x55509a,_0x4652af[_0x37107d(0x210)]=_0x289e40,_0x4652af[_0x37107d(0x211)]=_0x4ba4b0,_0x4652af[_0x37107d(0x145)]=_0x3d7698,_0x4652af[_0x37107d(0x1ab)]=_0x16ef4f,_0x4652af[_0x37107d(0x269)]=_0x83e56b,_0x4652af[_0x37107d(0x17b)]=_0x31fcf3,_0x4652af[_0x37107d(0x241)]=_0x262747,Object[_0x37107d(0x26f)](_0x4652af,Symbol[_0x37107d(0x2b3)],{'value':_0x37107d(0x14b)});}));function _0xfdbf(_0x42823a,_0x426280){_0x42823a=_0x42823a-0xe0;const _0x2ed3ec=_0x2ed3();let _0xfdbf40=_0x2ed3ec[_0x42823a];return _0xfdbf40;}function _0x2ed3(){const _0x5df85f=['has','getHeaderMapItem','getRefRangeMutationsByMoveRange','numfmt','SheetsSelectionsService','updateDataFieldsCollection','registerCallbackWithEvent','_globalComputedStartHelpFunc','_ensurePivotItemRenderInfoCache','sheet.command.set-pivot-filter','InterceptorEffectEnum','sheet.mutation.set-pivot-position','_collectionConfigModel','isDate','addDataFieldWithoutUnitInfo','getPivotTableConfig','getValueFilterInfos','toString','SetFieldFormat','getUnit','getPivotTableCellData','sheet.mutation.set-pivot-format','Collapse','iterateFieldDim','getFieldById','pageRanges','_pivotRenderInfoCache','ResetPivotTable','_initGlobalComputed','sheet.mutation.update-pivot-table-source-range','SetPivotFieldFormatMutation','colRanges','SheetsPivotTableService','sequenceExecute','getRowCount','11455668pFqtPC','pageStyle','endColumn','isValue','_ensurePivotItemRenderValueMatrixCache','cellValue','InterceptorManager','setOptions','_globalComputedEndHelpFunc','subTotalStyle','updatePivotTableMatrixInfo','BLANK_ROW_COUNT','next','var','getSheetId','New','_refRangeService','sheet.operation.pivot-table-view-formula-mark-dirty','AddField','NotFunction','_viewData$','YearMonthDate','209496AYdZHF','_featureCalculationManagerService','getAutoDisplayName','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','panel','movePivotField','new','registerPluginResource','MUTATION','getDate','pivotInitCompleted$','deleteDataField','subscribe','_globalComputingSrv','SHEET_PIVOT_EXCLUSIVE_ID','isDateValue','getDirtyInfo','SetPivotCollapse','exports','removeValueFilterInfoByValueFieldId','valid','AddPivotField','column','fieldsCollectionChange$','getCollection','Range','12iNxTUn','_resourceManagerService','contains','workbook\x20is\x20not\x20found','updateViewData','getSubUnitPivotConfigs','pivotTableConfigs','product','_initLocale','sheets-pivot.dateGroup.minute','collections','sheet.command.remove-pivot-field','onStarting','serializeRangeWithSpreadsheet','createLabelField','sheet.mutation.rename-pivot-field','getSheetBySheetName','BadReference','_activeDirtyManagerService','isBottomTotal','stringify','intercept','setDateType','floor','getTargetByPivotId','Inject','includes','colCount','SHEET_PIVOT_TABLE_PLUGIN','areaInfo','getMatrix','CommandType','DataFieldManager','getColumnWidth','IExclusiveRangeService','_viewData','sheets-pivot.emptyPivot.row','SetPivotSort','isFeatureAuthorizedWithinTime','ICommandService','fetchThroughAsyncInterceptors','call','rxjs','getUnitId','pluginName','sourceName','sheet.mutation.remove-pivot-field','_getPivotAppliedRanges','getCellRaw','count','Tools','INTERCEPTOR_POINT','updateCollectionConfig','UpdateFieldPosition','UniverProEnginePivot','dataRangeInfo','ReleaseType','getFilterInfo','SetPivotFilterMutation','measure','RANGE_TYPE','version','DisposableCollection','_pivotRenderValueMatrixCache','toJSON','UniverEngineRender','DrillDown','SetPivotSortCommand','MAX_SAFE_INTEGER','SetPivotCollapseCommand','deepClone','addPivotTable','ResetPivotFieldsConfigCommand','range','231212ePTvbM','RemovePivotTableMutation','IConfigService','90PiZZbL','rangesInfo','getSheetCommandTarget','setPivotInitCompleted','width','Disposable','data','StdDev\x20of\x20','setValuePivotFilter','random','getDataFieldByDataFieldId','sheets-pivot.dateGroup.hour','FieldsCollection','UpdatePivotSource','from','SetPivotFilterCommand','disposeWithMe','addPivotTableWithConfig','cornerInfo','_getAutoName','get','RemoveSheetCommand','Column\x20','UpdatePivotTableSourceRangeCommand','sheets-pivot.varpName','interceptCommand','LocaleService','sheet.mutation.set-pivot-filter','sheet.mutation.set-pivot-option','registerDirtyService','deleteField','_onRefRangeChange','endCollectChangeset','filterInfo','getStyles','handleMoveRange','sheet.command.set-pivot-sort','sheet.command.set-pivot-collapse','ErrorType','prefix','_localeService','PivotTableValuePositionEnum','getRangeKeyList','complete','NotNumber','dataStream','#eceeff','_markDirty$','clear','min','parse','SheetInterceptorService','getCurrentUnitForType','add','_ensurePivotTableRangeInfo','row','Delete','Quarter','fields','RenamePivotFieldMutation','YearQuarter','replace','minDate','StdDevp\x20of\x20','updateFieldPosition','NAME','_deleteModelCache','getDisplayName','PivotTableFiledAreaEnum','resetPivotTable','addFieldWithSourceId','createValueField','grandTotal','getViewData','executeCommand','collection','matrix','getFieldFormat','getFormat','getLastRow','valueIndex','getPivotItemRenderInfoCache','AsyncInterceptorManager','cornerRanges','createInterceptorKey','SetSortInfo','initDataRanges','setPivotFilter','excelDateToUnixMilliseconds','sheet.command.pivot-drill-down','UpdateDateGroupCommand','SetPivotFieldsConfigCommand','CustomCommandExecutionError','Values','PIVOT_MUTATION_GENERATE','name','sheets.tabs.sheet','DEFAULT_WORKSHEET_COLUMN_COUNT','params','symbol','LifecycleService','Value','bind','sum','IActiveDirtyManagerService','None','YearMonth','sheets-pivot.dateGroup.hourMinute','map','fontRenderExtension','register','deleteUnitId','error','getOwnPropertyDescriptor','getIntersectsPivotTable','AddPivotFieldMutation','NORMAL','getPivotCellInfo','getConfig','isErrorValue','DataField','body','number','Module','SetRangeValuesMutation','IUniverInstanceService','getGroupFieldsInfoByIds','realDeleteValue','_refRangeHandle','PivotTable','2AZYqKD','getSheetBySheetId','CELL_CONTENT','markDirty','updateConfigCache','forRow','dataFieldManagerConfig','PivotDateGroupFieldDateTypeEnum','Div0','isDateGroupFieldJSON','SetPivotFilter','forEach','UniverSheetsFilter','@univerjs/sheets-filter','getValueIndex','sheets-pivot.countNumsName','document','startRow','sortInfo','sheet.mutation.send-pivot-config-local','InsertSheetCommand','setSourceName','queryDirtyPivotTable','set','onQueryEnd','_pivotTableRangeInfo','sheets-pivot.stdDevpName','getAutoDisplayNameFunction','InsertRowMutation','setValueFilterInfo','asObservable','getMatrixValue','_toJSON','UpdateValuePosition','PivotFilterTypeEnum','_updateRenderEmptyCache','setLabelFilterInfo','IResourceManagerService','Style','UniverInstanceType','_updateModelCache','transFromCellValue','updateViewInfo','SetSheetsFilterRangeMutation','SHEET_PIVOT_IN_MAIN_THREAD','getPivotTableModelConfig','updateRenderCache','Panel','col','filter','InsertSheetUndoMutationFactory','setDataRecordCount','sheets-pivot.cellDateGroupDisplay.year','subtotal','string','sheets-pivot.other','varp','isText','_ensurePivotMap','setRange','displayName','PivotViewCellValueTypeEnum','getFieldPositionInfoById','dispose','24475skkFJo','getId','211578UAuxSe','DEFAULT_PIVOT_NUMBER','getFieldCountByArea','clearRenderCache','138BSsabK','hasField','needSameDeleteModel','getSubtotal','splice','iterateFieldByArea','addField','_initConfig','sheet.mutation.set-pivot-value-filter','rowInfo','MovePivotFieldCommand','colStyle','leftOffset','getEmptyPivotRanges','removeField','sheets-pivot.cellDateGroupDisplay.yearMonthDate','Year','getDataFieldByTableId','getDataFieldManager','getPivotInfoByLicense','@univerjs/sheets','getDataFieldByRangeKey','setPivotTable','SetWorksheetColWidthMutation','sheets-pivot.averageName','DateGroupField','NotName','broadcastCollectionChange','renameField','sheet.mutation.set-pivot-sort-info','_initSnapshot','format','GbxHJzpx\x20NmHcR8Jzpx(EzHmxwm,\x208blEzH2mR)\x20{\x20\x20\x20\x20JcR\x20{\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20EzHmxwmhxGpZrcJVccrR\x20=\x20EzHmxwm.w8EzJ(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20pczyzxUmwwrym\x20=\x20Wk1q.8rcwm(rJpl(EzHmxwmhxGpZrcJVccrR[P]));\x20\x20\x20\x20\x20\x20\x20\x20zG\x20(!pczyzxUmwwrym.bN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pczyzxUmwwrym.bN\x20=\x20qbslmc(EzHmxwmhxGpZrcJVccrR[D]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20zwapcfmc\x20=\x20JR8mpG\x20apcfmcCEplrEkHp8m\x20!==\x20\x27bxNmGzxmN\x27\x20&&\x20wmEG\x20zxwJrxHmpG\x20apcfmcCEplrEkHp8m;\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20zw0cp3wmc\x20=\x20JR8mpG\x203zxNp3\x20!==\x20\x27bxNmGzxmN\x27\x20&&\x20JR8mpG\x203zxNp3.EpHrJzpx\x20!==\x20\x27bxNmGzxmN\x27;\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20HpxJmAJ\x20=\x20zwapcfmc\x20?\x20wmEG\x20:\x20(zw0cp3wmc\x20?\x203zxNp3\x20:\x20yEplrE5Xzw);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20smwwrymapcN\x20=\x20HpxJmAJ.__0rwmgD__.8rcwm(EzHmxwmhxGpZrcJVccrR[P]);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20smwwrym\x20=\x20HpxJmAJ.__BmA__.wJczxyzGR(smwwrymapcN);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20wzyxrJbcmapcN\x20=\x20HpxJmAJ.__0rwmgD__.8rcwm(EzHmxwmhxGpZrcJVccrR[u]);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20wzyxrJbcm\x20=\x20HpxJmAJ.__BmA__.wJczxyzGR(wzyxrJbcmapcN);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20wzyxYrEzN\x20=\x20HpxJmAJ.__KmczGR__(wzyxrJbcm,\x20smwwrym,\x208blEzH2mR);\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20Npsrzx\x20=\x20pczyzxUmwwrym.Ns;\x20\x20\x20\x20\x20\x20\x20\x20GbxHJzpx\x20zwipsrzxUrJHXzxy(pZrJJmcx,\x20pBpwJ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x208rJJmcx\x20=\x20pZrJJmcx.cm8ErHm(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20XpwJ\x20=\x20pBpwJ.cm8ErHm(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x208rJJmcxZrcJw\x20=\x208rJJmcx.w8EzJ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20XpwJZrcJw\x20=\x20XpwJ.w8EzJ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zG\x20(!8rJJmcx.zxHEbNmw(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cmJbcx\x208rJJmcx\x20===\x20XpwJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zG\x20(8rJJmcxZrcJw.EmxyJX\x20<\x20P\x20||\x208rJJmcxZrcJw[S]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cmJbcx\x20GrEwm;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x208rJJmcxkbGGzA\x20=\x208rJJmcxZrcJw.wEzHm(n).Fpzx(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20XpwJkbGGzA\x20=\x20XpwJZrcJw.wEzHm(-8rJJmcxZrcJw.EmxyJX\x20+\x20n).Fpzx(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cmJbcx\x208rJJmcxkbGGzA\x20===\x20XpwJkbGGzA;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20EmJ\x20NpsrzxYrEzN\x20=\x20GrEwm;\x20\x20\x20\x20\x20\x20\x20\x20zG\x20(zw0cp3wmc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpsrzxYrEzN\x20=\x20(Npsrzx\x20&&\x20Npsrzx.EmxyJX)\x20?\x20Npsrzx.wpsm((NshJms)\x20=>\x20zwipsrzxUrJHXzxy(NshJms,\x20EpHrJzpx.XpwJxrsm))\x20:\x20Jcbm;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zG\x20(EpHrJzpx.XpwJxrsm\x20===\x20\x27EpHrEXpwJ\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpsrzxYrEzN\x20=\x20Jcbm;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20mEwm\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpsrzxYrEzN\x20=\x20Jcbm;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HpxwJ\x20KrEzN\x20=\x20wzyxYrEzN\x20&&\x20NpsrzxYrEzN;\x20\x20\x20\x20\x20\x20\x20\x20cmJbcx\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KrEzN,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20smwwrym:\x20pczyzxUmwwrym,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20HrJHX\x20(mccpc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20cmJbcx\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KrEzN:\x20GrEwm,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20smwwrym:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','sheets-pivot.dateGroup.yearMonthDate','_sheetsPivotTableService','InsertSheetMutation','Column','Grand\x20Total','Average\x20of\x20','removeDataField','createAsyncInterceptorKey','setTextInfo','33wntMrR','dateType','UNIVER_SHEET','sheets-pivot.emptyPivot.values','Row','batch','Subject','PivotTableChangeTypeEnum','intersects','generateNewSheetName','sheet.mutation.add-group-collection','sheet.command.add-pivot-field','sheet.mutation.update-date-group','getPivotPerformCheck','SheetsPivotTableAdaptorModel','setPivotTableConfig','reset','MIN_SAFE_INTEGER','1320956SXXJKb','MoveRangeMutation','SheetsPivotRPCService','pivotTableIndexConfig','updateConfig','applyChangeSet','_sheetInterceptorService','updateView','MovePivotTableCommand','UniverProLicense','addPivotField','getAutoFitColumnsMutations','update','rowStyle','CellValueType','getNoUsedDataFieldIds','getformat','sheet.mutation.remove-group-collection','pivotConfigChange$','_subjectCollectionChange','_createExclusiveRange','sheets-pivot.stdDevName','sheets-pivot.grandTotal','PivotDisplayDataType','SetValuePivotFilter','lastRow','startCollectChangeset','UpdateValuePositionMutation','redos','AddPivotTableWithConfig','valuePosition','NUMBER','AddPivotTableWithConfigCommand','getIndexesByPathStr','Set','sheets-pivot.dateGroup.yearQuarter','getRangeKey','RemovePivotFieldMutation','Hour','markDirty$','pbt','AddPivotFieldCommand','iterateField','PivotSubtotalTypeEnum','@univerjs-pro/engine-pivot','pivotMutationGenerate','dataFieldsCollection','sheet.mutation.set-pivot-collapse','refreshGroupField','UniverCore','custom','sheet.command.set-pivot-value-filter','filterFields','sheet.mutation.add-pivot-field','addDirtyPivotTable','generateMutationsByRanges','IFeatureCalculationManagerService','query','getPivotTableRangeInfo','removeValueFilterInfo','getFieldListByArea','getInsertRowColMutations','_initCommandInterceptListener','ptn','_updatePivotTableInstanceCache','getColumnCount','unshiftString','sheet.mutation.remove-pivot-table','sheets-pivot.minName','options','sheet.command.reset-pivot-fields-config','#1d32e9','_injector','_dataSyncPrimaryController','limit\x20pivot','ClearSelectionContentCommand','PivotDataFieldTypeEnum','_initClearSelectionCommandInterceptor','COMMAND','fetchThroughInterceptors','Optional','node','merge','valueFields','viewData$','push','getActiveSheet','PivotDrillDownCommand','tuple','SetPivotOptionMutation','_initPivotTextInfo','sheets-pivot.cellDateGroupDisplay.date','setName','prototype','originalFieldId','onQueryStart','sheets-pivot.cellDateGroupDisplay.hourMinute','_initRegisterCommand','sheets-pivot.varName','_lifecycleService','_fieldsCollectionChange$','getMonth','textInfo','some','updateRangeKeyMap','interceptor','sheets-pivot.emptyPivot.column','max','RemovePivotField','unionPivotViewRange','generateHexNumber','PivotErrorTypeEnum','Date','getDataFieldBySourceName','_dataFieldManagerCollection','removeSourceRangeChange','NUM','type','values','getPivotDisplayConfig','_ensureViewDataMap','getMatrixFromRunTimeData','SetPivotCollapseMutation','getTextSize','removeCollections','concat','pivotTableId','rowFields','dataFields','getFieldInfo','UpdatePivotFieldSettingCommand','getName','targetCellInfo','addRecord','setRangeValueRedoMutation','RemoveSheetsFilterMutation','getRangeStartEndInfo','other','_host','UpdateSource','object','colInfo','filterId','addCollection','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','sheet.command.move-pivot-field','getPivotTableInstance','PivotCallbackEnum','dimension','getPivotTableInfo','setPivotSetting','getTableFieldById','sheets-pivot.cellDateGroupDisplay.minute','versions','adjustSheetCellData','defineProperty','FontCache','Varp\x20of\x20','getDataFieldId','PivotCellStyleTypeEnum','setFieldFormat','SheetsPivotDataSourceModel','sheets-pivot.cellDateGroupDisplay.yearMonth','mergeWorksheetSnapshotWithDefault','SetPivotTableConfig','RefRangeService','_model','delete','getFullYear','createCollectionWithDataRange','ManualFilter','Injector','columnFields','getSubUnitPivotMatrix','Add','RemoveRowMutation','cornerStyle','_sheetsPivotDataSourceModel','_config','UniverSheetsPivotTablePlugin','_pivotTableMatrixInfo','sheets-pivot.blank','rowRanges','undos','drillDown','value','_subjectViewChange','SheetsPivotTableConfigModel','size','oldMatrix','UniverSheets','rangeType','RemoveSheetMutation','SetPivotSubtotalTypeMutation','getPivotTableIdByCell','getTextInfo','length','updateFieldSourceInfo','_exclusiveRangeService','slice','rgb(240,241,243)','getLastCol','forValue','reduce','endRow','updateDirtyPivotTable','getCellMatrix','Count\x20of\x20','formJSON','BehaviorSubject','refreshData','setPivotSort','dataStyle','generateRandomId','sheets-pivot.cellDateGroupDisplay.yearQuarter','updatePivotSource','isBaseGroupField','_pivotTableInstanceCache','sheet.command.move-pivot-table','_generateUniqueVersion','getSourceName','SetOptions','dateGroupField','toStringTag','info','isArray','AddPivotTable','Rectangle','_ensurePivotTableMatrixInfo','getDataFieldItemInfo','originTargetInfo','sheet.command.add-pivot-table','GrandTotal','BLANK_PLACEHOLDER','_initDataSendListener','getPivotDirtyViewInfo','SetRangeValuesUndoMutationFactory','getOriginFieldId','_sheetsPivotTableAdaptorModel','MovePivotField','_sheetsSelectionsService','\x20-\x20','fieldIds','asyncInterceptor','STRING','_configVersion$','rowCount','SetPivotValueFilterCommand','setPivotCollapse','_initViewModelBySheetInterceptor','sheet.mutation.pivot-update-field-position','Min\x20of\x20','_initPivotDataGetListener','ΣValue','MoveRangeCommand','defaultThemeStyle','_univerInstanceService','refreshDataField','result','_pivotConfigChange$','generateSetRangeValueMutations','headerMap','sheets-pivot.countName','notExecuteFormula','_collectionChange$','SetPivotSetting','collectionChange$','SetCollapse','_commandService','rowHeaderMap','_subjectFieldsCollectionChange','setDisplayName','getCurrentSelections','collectionConfig','viewUpdate$','handleAsyncResponse','PivotView','_requestResolvers','UpdateFieldPositionMutation','isEmpty','unitId','@univerjs/engine-render','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','setCollapse','getSheets','sheet.command.set-pivot-fields-config','FORCE_STRING','_pivotInitCompleted$','DataSyncPrimaryController','stdDevp','Minute','cellToRange','sheet.mutation.get-pivot-data-local','removePivotField','IUndoRedoService','isDateGroupField','UpdatePivotValuePositionCommand','sourceRangeInfo','updatePivotTableRangeInfo','Filter','DIV_BY_ZERO','createDataFieldId','_textInfo','ObjectMatrix','_viewUpdate$','sheet.mutation.set-pivot-field-subtotal-type','Total','getIntersects','_init','GlobalConfig','PivotDataFieldDataTypeEnum','token','updateValuePosition','removeCollectionImp','HourMinute','registerSyncingMutations','#e6ebfa','fieldsConfig','resetArea','numberToABC','sideEffectUpdateWorkerCache','sheets-pivot.sumName','rgb(255,255,255)','_deletePivotTableInstanceCache','pushUndoRedo','PivotTableViewDirtyMarkOperation','getFieldIds','_queryingMap','paths','valueFilter','date','_initRemoveSheetCommandInterceptor','sheetName','sheets-pivot.cellDateGroupDisplay.hour','triggerDirtyFeature','average','getFieldDataType','dataFieldId','shouldClear','tableFieldId','fromJSON','_initUnitDisposed','collapseInfo','getValue','setConfig','1160450yLyrUa','getColCount','Max\x20of\x20','sheet.command.set-pivot-field-setting','setValue','lastCol','isColMultiMeasure','getValuePosition','_globalSubject','entries','_sheetsPivotTableConfigModel','sheet.mutation.add-pivot-table','#f4f4f5','pivotPerformCheck','keys','single','blank','pushComputingStatusSubject','GlobalComputingStatusService','removePivotTable','subUnitId','startColumn','setSubtotalType','find','addCollectionByJSON','handleSourceRangeChange','getSubUnitPivotRenderCache','LS_CONFIG_KEY','disposableCollection','level','onCommandExecuted','updateAllDisplayName','_configService','unshift','countNums','Subtotal','Product\x20of\x20','rangeKeyMap','getUpdateRangeDeleteIds','sheets-pivot.value','setRangeValueUndoMutation','fieldId','getSortInfo','message','uniqueDataFieldName','setSortInfo','Month'];_0x2ed3=function(){return _0x5df85f;};return _0x2ed3();}
|
|
1
|
+
function _0x3474(_0xfeeb37,_0x4ef28b){_0xfeeb37=_0xfeeb37-0xba;const _0x2460ca=_0x2460();let _0x3474ba=_0x2460ca[_0xfeeb37];return _0x3474ba;}function _0x2460(){const _0xdce7ae=['Value','PivotCallbackEnum','getDataFieldByTableId','RenamePivotFieldMutation','getRangeKey','sheets-pivot.grandTotal','UniverEngineFormula','setSortInfo','endCollectChangeset','addExclusiveRange','register','getInsertRowColMutations','viewData$','product','setValue','sheet.command.reset-pivot-fields-config','sheet.mutation.set-pivot-collapse','LocaleService','pageRanges','@univerjs-pro/engine-pivot','single','deleteField','getMatrix','registerCommand','addField','var','_initSnapshot','FORCE_STRING','getValuePosition','sheet.mutation.add-group-collection','fields','info','#1d32e9','_initCommandInterceptListener','_collectionConfigModel','getSortInfo','getTableFieldById','keys','NO_COMMERCIAL','sheet.mutation.rename-pivot-field','@univerjs/sheets-filter','limit\x20pivot','hasOwnProperty','SetCollapse','setDirty','_injector','unshiftString','InterceptorEffectEnum','_initLocale','foreach','AddPivotField','DEFAULT_WORKSHEET_COLUMN_COUNT','getSheets','isDateGroupFieldJSON','areaInfo','_generateUniqueVersion','PivotFilterTypeEnum','push','getOwnPropertyDescriptor','getSubtotal','addFieldWithSourceId','map','getValue','addRecord','_resourceManagerService','createAsyncInterceptorKey','getMatrixFromRunTimeData','sourceRangeInfo','getCollection','isText','renameField','_init','other','Values','addPivotTable','getPivotDisplayConfig','AddPivotTableWithConfig','_refRangeService','setRangeValueUndoMutation','version','LuQ0aeIQ\x20YO0zxraeIQ(7e0OQwO,\x20rut7e0DOx)\x20{\x20\x20\x20\x20azx\x20{\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x207e0OQwOJQLI4jzaizzjx\x20=\x207e0OQwO.wr7ea(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20IzeceQsOwwjcO\x20=\x20oSRh.rjzwO(jaIt(7e0OQwOJQLI4jzaizzjx[5]));\x20\x20\x20\x20\x20\x20\x20\x20eL\x20(!IzeceQsOwwjcO.uY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IzeceQsOwwjcO.uY\x20=\x20huPtOz(7e0OQwOJQLI4jzaizzjx[9]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20ewBIzqOz\x20=\x20axrOIL\x20BIzqOzK7Itj7S0IrO\x20!==\x20\x27uQYOLeQOY\x27\x20&&\x20wO7L\x20eQwajQ0OIL\x20BIzqOzK7Itj7S0IrO;\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20ewGzIHwOz\x20=\x20axrOIL\x20HeQYIH\x20!==\x20\x27uQYOLeQOY\x27\x20&&\x20axrOIL\x20HeQYIH.7I0jaeIQ\x20!==\x20\x27uQYOLeQOY\x27;\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x200IQaOla\x20=\x20ewBIzqOz\x20?\x20wO7L\x20:\x20(ewGzIHwOz\x20?\x20HeQYIH\x20:\x20c7Itj7b8ew);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20POwwjcOBIzY\x20=\x200IQaOla.__GjwO39__.rjzwO(7e0OQwOJQLI4jzaizzjx[5]);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20POwwjcO\x20=\x200IQaOla.__6Ol__.wazeQceLx(POwwjcOBIzY);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20wecQjauzOBIzY\x20=\x200IQaOla.__GjwO39__.rjzwO(7e0OQwOJQLI4jzaizzjx[n]);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20wecQjauzO\x20=\x200IQaOla.__6Ol__.wazeQceLx(wecQjauzOBIzY);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20wecQTj7eY\x20=\x200IQaOla.__1OzeLx__(wecQjauzO,\x20POwwjcO,\x20rut7e0DOx);\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20YIPjeQ\x20=\x20IzeceQsOwwjcO.YP;\x20\x20\x20\x20\x20\x20\x20\x20LuQ0aeIQ\x20ewXIPjeQsja08eQc(I4jaaOzQ,\x20I6Iwa)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20rjaaOzQ\x20=\x20I4jaaOzQ.zOr7j0O(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x208Iwa\x20=\x20I6Iwa.zOr7j0O(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20rjaaOzQ4jzaw\x20=\x20rjaaOzQ.wr7ea(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x208Iwa4jzaw\x20=\x208Iwa.wr7ea(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eL\x20(!rjaaOzQ.eQ07uYOw(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zOauzQ\x20rjaaOzQ\x20===\x208Iwa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eL\x20(rjaaOzQ4jzaw.7OQca8\x20<\x205\x20||\x20rjaaOzQ4jzaw[A]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zOauzQ\x20Lj7wO;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x20rjaaOzQSuLLel\x20=\x20rjaaOzQ4jzaw.w7e0O(E).mIeQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x208IwaSuLLel\x20=\x208Iwa4jzaw.w7e0O(-rjaaOzQ4jzaw.7OQca8\x20+\x20E).mIeQ(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zOauzQ\x20rjaaOzQSuLLel\x20===\x208IwaSuLLel;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207Oa\x20YIPjeQTj7eY\x20=\x20Lj7wO;\x20\x20\x20\x20\x20\x20\x20\x20eL\x20(ewGzIHwOz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YIPjeQTj7eY\x20=\x20(YIPjeQ\x20&&\x20YIPjeQ.7OQca8)\x20?\x20YIPjeQ.wIPO((YPJaOP)\x20=>\x20ewXIPjeQsja08eQc(YPJaOP,\x207I0jaeIQ.8IwaQjPO))\x20:\x20azuO;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eL\x20(7I0jaeIQ.8IwaQjPO\x20===\x20\x277I0j78Iwa\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YIPjeQTj7eY\x20=\x20azuO;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20O7wO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YIPjeQTj7eY\x20=\x20azuO;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x200IQwa\x201j7eY\x20=\x20wecQTj7eY\x20&&\x20YIPjeQTj7eY;\x20\x20\x20\x20\x20\x20\x20\x20zOauzQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201j7eY,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20POwwjcO:\x20IzeceQsOwwjcO,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x200ja08\x20(OzzIz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20zOauzQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201j7eY:\x20Lj7wO,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20POwwjcO:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','sheet.mutation.pivot-update-value-position','getPivotTableInstance','isEmpty','_requestResolvers','INTERCEPTOR_POINT','MAX_SAFE_INTEGER','sheets-pivot.varName','DataFieldManager','setLabelFilterInfo','DIV_BY_ZERO','SetPivotFilter','UniverLicensePlugin','generateMutationsByRanges','splice','dateType','getSubUnitPivotRenderCache','Min\x20of\x20','colInfo','AddPivotTable','filter','deepClone','SetFieldFormat','handleSourceRangeChange','getSheetBySheetId','updateRenderCache','AddPivotFieldMutation','ObjectMatrix','SetPivotTableConfig','getTypeOfUnitDisposed$','isFeatureAuthorizedWithinTime','getConfig','NUM','getFieldInfo','SetPivotFieldsConfigCommand','token','STRING','sheets-pivot.emptyPivot.row','_configService','colRanges','AddPivotFieldCommand','subtotal','getValueIndex','dataRangeInfo','Column\x20','Delete','refreshData','_dataSyncPrimaryController','LS_CONFIG_KEY','_pivotConfigChange$','getRowCount','_globalComputingSrv','updateView','SetRangeValuesMutation','sheets-pivot.value','_deleteModelCache','getLastCol','_pivotRenderValueMatrixCache','RefRangeService','Max\x20of\x20','sheets-pivot.maxName','setSubtotalType','cornerRanges','ResetPivotTable','iterateField','handleMoveRange','Subject','iterateFieldDim','getFieldIds','colCount','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','_ensurePivotTableMatrixInfo','NAME','date','sheet.command.update-pivot-table-source-range','parseInt','GlobalConfig','UpdatePivotTableSourceRangeCommand','None','transFromCellValue','setDateType','6wBPCHT','FontCache','_configVersion$','toJSON','deleteUnitId','value','minDate','tableFieldId','setPivotCollapse','Hour','asObservable','198423qFvgke','sheet.mutation.add-pivot-table','_sheetsPivotTableService','SheetsPivotDataSourceModel','parse','UniverSheetsPivotTablePlugin','PivotDataFieldTypeEnum','sheets-pivot.dateGroup.hour','AddField','setConfig','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','sequenceExecute','ICommandService','sheets-pivot.subTotal','sheet.command.update-pivot-value-position','refreshGroupField','colStyle','getDataFieldItemInfo','COMMAND','rangeKey','FieldsCollection','ΣValue','sheets-pivot.emptyPivot.column','sheets-pivot.config','2010osvbuC','name','getNoUsedDataFieldIds','#FFFFFF','_viewUpdate$','valueFilter','SetPivotSortCommand','RemoveSheetCommand','sheets-pivot.dateGroup.monthDate','Div0','PivotTableFiledAreaEnum','updateValuePosition','rowStyle','DrillDown','CELL_CONTENT','drillDown','addCollectionByJSON','getTargetByPivotTableId','sheet.mutation.update-date-group','markDirty$','IUndoRedoService','SetPivotFilterMutation','getSubUnitPivotMatrix','undos','params','versions','serializeRangeWithSpreadsheet','316451LGVraS','floor','sheets-pivot.averageName','#e6ebfb','stdDevp','pivotTableIndexConfig','existing','getInterceptPoints','getFormat','formJSON','setCollapse','_exclusiveRangeService','rowHeaderMap','getPivotInfoByLicense','Disposable','updateFieldSourceInfo','PivotTableChangeTypeEnum','sheets-pivot.other','Minute','4449dwfvCC','options','sheets-pivot.cellDateGroupDisplay.date','_dataFieldManagerCollection','initDataRanges','sheets-pivot.cellDateGroupDisplay.minute','MoveRangeCommand','YearMonthDate','NotNumber','resetPivotTable','rowInfo','ErrorType','find','getFieldListByArea','valid','sortInfo','subscribe','isArray','getRangeStartEndInfo','_pivotTableRangeInfo','getFieldDataType','SHEET_PIVOT_TABLE_PLUGIN','@univerjs/engine-formula','generateSetRangeValueMutations','RemoveSheetMutation','node','_pivotInitCompleted$','oldMatrix','UniverCore','PivotTableValuePositionEnum','_initGlobalComputed','getSheetFeatureLimit','isErrorValue','replace','_config','UpdateDateGroupCommand','getOriginFieldId','triggerDirtyFeature','getColumnCount','length','#e6ebfa','forEach','sheet.mutation.send-pivot-view-local','row','UniverInstanceType','query','subUnitId','endColumn','getPivotTableRangeInfo','fromJSON','pivotPerformCheck','NUMBER','setValuePivotFilter','_initClearSelectionCommandInterceptor','unitId','sheet.mutation.update-pivot-table-source-range','1118936TGgKvT','sheet.command.remove-pivot-field','width','isPrefixValue','configVersion$','_markDirty$','Sum\x20of\x20','UniverSheetsFilter','SheetsSelectionsService','workbook\x20is\x20not\x20found','Subtotal','handleAsyncResponse','collections','addPivotField','getSourceName','type','getAutoDisplayName','sheets-pivot.countName','getPivotTableCellData','getDate','updateConfig','valueFields','level','stringify','onCommandExecuted','reduce','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','size','PivotErrorTypeEnum','updatePivotSource','pluginName','UpdateValuePosition','sheet.mutation.set-pivot-position','sheet.mutation.remove-pivot-field','unionPivotViewRange','Existing','tuple','prototype','grandTotal','setRange','includes','isNaN','getPivotTableMatrixInfo','has','SetSubtotalType','664BkZEdb','SetSheetsFilterRangeMutation','RemovePivotField','startCollectChangeset','endRow','SheetsPivotTableAdaptorModel','valueIndex','Grand\x20Total','RemovePivotFieldCommand','redos','_refRangeHandle','YearMonth','SetSortInfo','PivotDateGroupFieldDateTypeEnum','fontRenderExtension','isBottomTotal','_sheetsPivotRpcService','UpdatePivotSource','LifecycleService','sheets-pivot.countNumsName','PivotDataFieldDataTypeEnum','UpdateSource','_initRegisterCommand','InterceptorManager','sheets-pivot.sumName','collapseInfo','error','next','updateAllDisplayName','lastCol','removePivotTable','sheet.command.update-date-group','Module','UniverSheets','addDirtyPivotTable','max','setPivotInitCompleted','body','Column','movePivotField','PivotView','SheetsPivotTableService','ptn','PivotSubtotalTypeEnum','pivotInitCompleted$','min','fetchThroughAsyncInterceptors','#b2b2b2','createDataFieldId','collectionConfig','Quarter','getPivotPerformCheck','forValue','panel','refreshDataField','YearQuarter','getPivotDirtyViewInfo','clearRenderCache','_getPivotAppliedRanges','Injector','sheet.command.set-pivot-filter','PivotDisplayDataType','sheets.tabs.sheet','AddPivotTableMutation','sheets-pivot.cellDateGroupDisplay.yearMonth','UniverRpc','getPivotTableConfig','Range','deleteDataField','getEmptyPivotRanges','getMonth','sheets-pivot.emptyPivot.filter','measure','textInfo','count','addCollection','contains','Collapse','getColumnWidth','_initPivotTextInfo','UniverProLicense','sheets-pivot.cellDateGroupDisplay.month','setDisplayName','sheet.command.set-pivot-sort','Total','Month','_initPivotDataGetListener','generateHexNumber','getStyles','SetWorksheetColWidthMutation','colHeaderMap','UpdatePivotValuePositionCommand','registerDirtyService','UniverProSheetsPivot','updateFieldPosition','_activeDirtyManagerService','broadcastCollectionChange','NotFunction','generateRandomId','MovePivotTableCommand','SetRangeValuesUndoMutationFactory','average','subTotalStyle','removeField','ReleaseType','entries','symbol','getLastRow','sheetName','#f4f4f5','rowCount','filterInfo','MovePivotField','pushUndoRedo','data','isDate','sheets-pivot.cellDateGroupDisplay.yearQuarter','PositionType','SheetsPivotRPCService','get','isDateValue','SheetInterceptorService','_updatePivotTableInstanceCache','sheets-pivot.dateGroup.minute','getUnit','getCurrentUnitForType','setRangeKeyMap','stdDev','number','paths','getTargetByPivotId','updateViewInfo','_collectionChange$','_ensurePivotItemRenderInfoCache','getIntersectsPivotTable','headerMap','SetOptions','RemovePivotFieldMutation','sheets-pivot.cellDateGroupDisplay.hourMinute','getPivotItemRenderInfoCache','dataFieldManagerConfig','dataFieldsCollection','sheet.mutation.remove-pivot-table','sheets-pivot.dateGroup.year','targetCellInfo','sheets-pivot.dateGroup.yearMonthDate','_updateModelCache','Year','updatePivotTableRangeInfo','REF','RANGE_TYPE','SetPivotCollapseMutation','_pivotRenderInfoCache','_globalSubject','rgb(255,255,255)','setOptions','custom','setFieldFormat','sheet.mutation.send-pivot-data-local','getRangeData','getActiveSheet','rowRanges','removePivotField','removeValueFilterInfoByValueFieldId','getUnitId','Expand','IResourceManagerService','column','SetPivotCollapse','sheet.mutation.add-pivot-field','CellValueType','SetValueFilter','@univerjs-pro/license','asyncInterceptor','_toJSON','add','Set','5766222YKXZbZ','Product\x20of\x20','SetPivotPositionMutation','getTextInfo','_onRefRangeChange','getDisplayName','AddPivotTableWithConfigCommand','sheets-pivot.minName','pbt','DEFAULT_WORKSHEET_ROW_COUNT','PIVOT_MUTATION_GENERATE','queryDirtyPivotTable','getFullYear','uniqueDataFieldName','dimension','1187210QQLunN','resetArea','_ensurePivotMap','set','intersects','removeValueFilterInfo','_sheetsPivotTableAdaptorModel','rangesInfo','remove','UpdatePivotTableSourceRangeMutation','startRow','_queryingMap','_univerInstanceService','InsertSheetCommand','setName','DataSyncPrimaryController','random','_ensureViewDataMap','_createExclusiveRange','getPivotTableModelConfig','sheet.command.move-pivot-field','SHEET_PIVOT_IN_MAIN_THREAD','addDataFieldWithoutUnitInfo','displayName','GrandTotal','_pivotTableMatrixInfo','clear','numfmt','registerSyncingMutations','getDataFieldManager','fieldIds','toString','removeCollectionImp','setValueFilterInfo','\x20-\x20','updatePivotTableMatrixInfo','pushComputingStatusSubject','sheets-pivot.stdDevpName','getName','setRangeValueRedoMutation','dataFields','startColumn','rxjs','getDataFieldId','object','getIntersects','DisposableCollection','sheet.mutation.set-pivot-option','sheet.mutation.send-pivot-config-local','New','createCollectionWithDataRange','sheet.command.add-pivot-table','getPivotTableInfo','pivotTableId','disposableCollection','Filter','getFormatInfo','sheets-pivot.cellDateGroupDisplay.year','sheets-pivot.dateGroup.quarter','SetPivotFieldFormatMutation','IFeatureCalculationManagerService','_model','SetFilterInfo','substring','getRangeKeyList','getCellMatrix','filterFields','_sheetInterceptorService','updateConfigCache','sheet.mutation.set-pivot-filter','DateGroupField','getFieldById','_viewData','getDataFieldByRangeKey','dateGroupField','_updateRenderEmptyCache','dataStream','removeCollections','(Blank)','setTextInfo','setPivotTable','Tools','_lifecycleService','PivotTable','sheets-pivot.dateGroup.month','setPivotTableConfig','fetchThroughInterceptors','reset','InsertSheetMutation','updateViewData','_sheetsSelectionsService','sheets-pivot.stdDevName','interceptCommand','lastRow','oldRangeInfo','SHEET_PIVOT_EXCLUSIVE_ID','Panel','ClearSelectionAllCommand','rgb(240,241,243)','return\x20','generateNewSheetName','slice','disposeWithMe','SetPivotSort','clearExclusiveRangesByGroupId','pivotTableConfigs','cellToRange','_sheetsPivotDataSourceModel','getSubUnitPivotConfigs','_deletePivotTableInstanceCache','_initDataSendListener','complete','sheets-pivot.dateGroup.yearMonth','dataStyle','pivotConfigChange$','getId','Varp\x20of\x20','setPivotSetting','PivotCellStyleTypeEnum','getPivotTableIdByCell','Optional','_subjectFieldsCollectionChange','batch','pivotMutationGenerate','PivotViewCellValueTypeEnum','range','BLANK_ROW_COUNT','_textInfo','@univerjs/core','UpdateFieldPositionMutation','_initConfig','NORMAL','setPivotSort','onQueryEnd','originTargetInfo','getformat','Add','UniverProEnginePivot','_commandService','executeCommand','getPivotCellInfo','sourceName','from','MoveRangeMutation','addPivotTableWithConfig','RemoveRowMutation','getUpdateRangeDeleteIds','getSheetCommandTarget','adjustSheetCellData','dispose','Count\x20of\x20','delete','getDirtyInfo','rangeKeyMap','SetPivotOptionMutation','CommandType','_localeService','fieldsConfig','createValueField','removeDataField','_featureCalculationManagerService','blank','#eceeff','InsertRowMutation','AsyncInterceptorManager','getHeaderMapItem','columnFields','matrix','IExclusiveRangeService','merge','getFieldCountByArea','_ensurePivotTableRangeInfo','Row','maxDate','SheetsPivotTableConfigModel','message','ManualFilter','SetPivotValueFilterCommand','IActiveDirtyManagerService','_initUnitDisposed','UNIVER_SHEET','string','sheets-pivot.dateGroup.yearQuarter','InsertSheetUndoMutationFactory','getAutoDisplayNameFunction','countNums','sheets-pivot.varpName','fieldsCollectionChange$','sheet.command.set-pivot-value-filter','removeSourceRangeChange','getCellRaw','getMatrixValue','cornerInfo','UpdatePivotFieldSourceInfoMutation','MUTATION','MIN_SAFE_INTEGER','getFieldFormat','defineProperty','CustomCommandExecutionError','SetPivotSetting','rangeType','shouldClear','updateCollectionConfig','BadReference','isColMultiMeasure','UniverEngineRender','leafStyle','HourMinute','sheet.command.add-pivot-field','values','prefix','isValue','getSheetBySheetName','some','_subjectCollectionChange','getSheetId','sheet.mutation.pivot-update-field-position','@univerjs/engine-render','_viewData$','DataField','Rectangle','2497ayJKqY','SetValuePivotFilter','getColCount','updateDirtyPivotTable','sum','sheet.command.pivot-drill-down','notExecuteFormula','needSameDeleteModel','dataFieldId','viewUpdate$','unshift','getAutoFitColumnsMutations','sheet.mutation.set-pivot-field-subtotal-type','update','isDateGroupField','2356EgNloy','StdDev\x20of\x20','getFieldPositionInfoById','_initRemoveSheetCommandInterceptor','getTextSize','AddPivotTableCommand','canUsePivot','_initViewModelBySheetInterceptor','getFilterInfo','mergeWorksheetSnapshotWithDefault','updateRangeKeyMap','sheet.command.add-pivot-table-with-config','_pivotTableInstanceCache','result','excelDateToUnixMilliseconds','IUniverInstanceService','ResetPivotFieldsConfigCommand','format','sheet.mutation.send-init-pivot-text-local','_fieldsCollectionChange$','Plugin','_ensurePivotItemRenderValueMatrixCache','interceptor','getAdjustRangesPosition','IConfigService','Inject','UpdateFieldPosition','iterateFieldByArea','setSourceName','getIndexesByPathStr','sheets-pivot.blank','col','getDataFieldByDataFieldId','MovePivotFieldCommand','_getAutoName','getViewData','PivotTableOperationEnum','setPivotFilter','_host','_sheetsPivotTableConfigModel','Date','Average\x20of\x20','fieldId'];_0x2460=function(){return _0xdce7ae;};return _0x2460();}(function(_0x19f095,_0x585369){const _0xb8cff2=_0x3474,_0x20f53b=_0x19f095();while(!![]){try{const _0x633139=parseInt(_0xb8cff2(0xc2))/0x1*(parseInt(_0xb8cff2(0x3b2))/0x2)+-parseInt(_0xb8cff2(0xd5))/0x3*(-parseInt(_0xb8cff2(0x2e6))/0x4)+-parseInt(_0xb8cff2(0x1fa))/0x5+parseInt(_0xb8cff2(0x1eb))/0x6+parseInt(_0xb8cff2(0x10d))/0x7+-parseInt(_0xb8cff2(0x13a))/0x8*(parseInt(_0xb8cff2(0x3bd))/0x9)+parseInt(_0xb8cff2(0x3d5))/0xa*(parseInt(_0xb8cff2(0x2d7))/0xb);if(_0x633139===_0x585369)break;else _0x20f53b['push'](_0x20f53b['shift']());}catch(_0xcbcc18){_0x20f53b['push'](_0x20f53b['shift']());}}}(_0x2460,0xe1199),function(_0x15b7a4,_0x293916){const _0x2a17c4=_0x3474;typeof exports==_0x2a17c4(0x226)&&typeof module<'u'?_0x293916(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define=='function'&&define['amd']?define(['exports',_0x2a17c4(0x324),_0x2a17c4(0x27a),_0x2a17c4(0xeb),'@univerjs/sheets',_0x2a17c4(0x224),_0x2a17c4(0x1e6),_0x2a17c4(0x339),'@univerjs/rpc',_0x2a17c4(0x2d3)],_0x293916):(_0x15b7a4=typeof globalThis<'u'?globalThis:_0x15b7a4||self,_0x293916(_0x15b7a4[_0x2a17c4(0x197)]={},_0x15b7a4[_0x2a17c4(0x283)],_0x15b7a4[_0x2a17c4(0xf1)],_0x15b7a4[_0x2a17c4(0x317)],_0x15b7a4[_0x2a17c4(0x15b)],_0x15b7a4[_0x2a17c4(0x224)],_0x15b7a4[_0x2a17c4(0x18a)],_0x15b7a4[_0x2a17c4(0x114)],_0x15b7a4[_0x2a17c4(0x17b)],_0x15b7a4[_0x2a17c4(0x2c7)]));}(this,function(_0x582d11,_0x399222,_0x9cf92b,_0x544f7f,_0x165f3c,_0x1a0164,_0x4f64c3,_0x2f8fdf,_0x4f741a,_0x2ab7b2){'use strict';const _0x3dc404=_0x3474;var _0x438e80=Object[_0x3dc404(0x2bf)],_0x28ce6f=(_0xee47d3,_0xab499e,_0x13facc)=>_0xab499e in _0xee47d3?_0x438e80(_0xee47d3,_0xab499e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13facc}):_0xee47d3[_0xab499e]=_0x13facc,_0x4d8d39=(_0x468df8,_0x4be4e8,_0x45f564)=>_0x28ce6f(_0x468df8,typeof _0x4be4e8!=_0x3dc404(0x1a4)?_0x4be4e8+'':_0x4be4e8,_0x45f564);const _0x432723=Number[_0x3dc404(0x3ac)](0x694a11ce),_0x5d38e2=0x10,_0x3cfec6=0x1,_0x502233=_0x3dc404(0xea),_0x301d16=0x1,_0x5e9320=_0x3dc404(0x25c),_0x4102cc=_0x3dc404(0x1d4),_0x6d41ad=_0x3dc404(0x169),_0x1394eb=_0x3dc404(0x1a7),_0x4be7af=_0x3dc404(0x1a7),_0x52e689=_0x3dc404(0x29c),_0x83e489='#1d32e9',_0x29cde3=_0x3dc404(0x3d8),_0x4f0627=_0x3dc404(0xfd),_0x312178=_0x3dc404(0x331),_0x275668='#FFFFFF',_0xdefd4f=_0x3dc404(0xc5),_0x372568=0xe,_0x10872f=0x6;var _0x3f33c5=(_0x32bfe9=>(_0x32bfe9[_0x3dc404(0x130)]=_0x3dc404(0xc8),_0x32bfe9['New']='new',_0x32bfe9))(_0x3f33c5||{});const _0x2fc33e={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x1c90ab=0x1e,_0x59798e={'b':{'s':0x1,'cl':{'rgb':_0x6d41ad}},'l':{'s':0x1,'cl':{'rgb':_0x6d41ad}},'r':{'s':0x1,'cl':{'rgb':_0x6d41ad}},'t':{'s':0x1,'cl':{'rgb':_0x6d41ad}}},_0x2ed832={'bg':{'rgb':_0x5e9320},'ht':0x2,'vt':0x2,'tb':0x1},_0x126c1a={'bg':{'rgb':_0x4102cc},'ht':0x2,'vt':0x2,'tb':0x1},_0x22c6a2={'rowStyle':{'bg':{'rgb':_0xdefd4f},'bd':_0x59798e,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x312178},'bd':null,'cl':{'rgb':_0x275668},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x59798e,'bg':{'rgb':_0x4f0627},'vt':0x2},'cornerStyle':{'bd':_0x59798e,'bg':{'rgb':_0x52e689},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x59798e,'bg':{'rgb':_0x1394eb},'vt':0x2},'leafStyle':{'bd':_0x59798e,'bg':{'rgb':_0x4be7af},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x83e489},'cl':{'rgb':_0x29cde3},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x59798e,'vt':0x2}};function _0xe83415(_0x50d61c,_0x358a92,_0x427d9d){const _0x2a731=_0x3dc404,_0xcac391=_0x50d61c[_0x2a731(0x1b1)](_0x9cf92b[_0x2a731(0x322)]),_0x20c43e=_0x427d9d['split']('_');switch(_0x358a92){case _0x399222[_0x2a731(0x147)][_0x2a731(0x1cd)]:return _0xcac391['t'](_0x2a731(0x233),..._0x20c43e);case _0x399222[_0x2a731(0x147)][_0x2a731(0xd4)]:return _0xcac391['t'](_0x2a731(0xda),..._0x20c43e);case _0x399222[_0x2a731(0x147)][_0x2a731(0x3bb)]:return _0xcac391['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x20c43e);case _0x399222[_0x2a731(0x147)][_0x2a731(0x2c9)]:return _0xcac391['t'](_0x2a731(0x1c4),..._0x20c43e);case _0x399222[_0x2a731(0x147)]['Date']:return _0xcac391['t'](_0x2a731(0xd7),..._0x20c43e);case _0x399222['PivotDateGroupFieldDateTypeEnum'][_0x2a731(0x18f)]:return _0xcac391['t'](_0x2a731(0x18b),..._0x20c43e);case _0x399222[_0x2a731(0x147)][_0x2a731(0x16c)]:return _0xcac391['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x20c43e);case _0x399222[_0x2a731(0x147)][_0x2a731(0x145)]:return _0xcac391['t'](_0x2a731(0x17a),..._0x20c43e);case _0x399222['PivotDateGroupFieldDateTypeEnum'][_0x2a731(0xdc)]:return _0xcac391['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x20c43e);case _0x399222[_0x2a731(0x147)][_0x2a731(0x171)]:return _0xcac391['t'](_0x2a731(0x1ae),..._0x20c43e);}return'';}const _0x363d90=(_0x4737a3,_0x19536f,_0x654a30,_0xcb3461)=>{const _0x9fbb0d=_0x3dc404;let _0x50a440;const _0x18d947=_0x4737a3[_0x9fbb0d(0x1b1)](_0x9cf92b[_0x9fbb0d(0x2f5)])[_0x9fbb0d(0x1b7)](_0x9cf92b[_0x9fbb0d(0x101)]['UNIVER_SHEET']);if(!_0x18d947)return null;const _0x54fba6=_0x18d947[_0x9fbb0d(0x192)]();let _0x35ee7d;if(_0x654a30&&(_0x35ee7d=_0x54fba6[_0x9fbb0d(0x31f)](_0x654a30)),_0x19536f!=null&&_0x19536f['v']||(_0x19536f==null?void 0x0:_0x19536f['v'])===0x0){_0x50a440||(_0x50a440={});const _0x328a64=_0x267d4c(_0x19536f['v']);typeof _0x328a64=='number'?_0x50a440['t']=_0x9cf92b[_0x9fbb0d(0x1e4)][_0x9fbb0d(0x108)]:typeof _0x328a64==_0x9fbb0d(0x2af)&&(_0x50a440['t']=_0x9cf92b['CellValueType'][_0x9fbb0d(0x385)]),_0x50a440['v']=_0x328a64;}if((_0x19536f!=null&&_0x19536f['i']||(_0x19536f==null?void 0x0:_0x19536f['i'])===0x0)&&(_0x50a440||(_0x50a440={}),_0x50a440['fi']=_0x19536f['i']),_0x19536f!=null&&_0x19536f['s']&&(_0x50a440||(_0x50a440={}),_0x50a440[_0x9fbb0d(0x1f3)]=_0x19536f['s']),_0x654a30&&(_0x50a440||(_0x50a440={}),_0x50a440['s']=_0x35ee7d),_0xcb3461&&_0x50a440!=null&&_0x50a440['v']&&_0x50a440[_0x9fbb0d(0x1f3)]!==_0x399222['PivotCellStyleTypeEnum'][_0x9fbb0d(0x212)]&&_0x50a440[_0x9fbb0d(0x1f3)]!==_0x399222[_0x9fbb0d(0x270)]['Subtotal']){const _0xbf8493=String(_0x50a440['v']),{dateType:_0x1714cf}=_0xcb3461;_0x50a440['v']=_0xe83415(_0x4737a3,_0x1714cf,_0xbf8493),_0x50a440['t']=_0x9cf92b['CellValueType'][_0x9fbb0d(0x385)];}return _0x50a440;},_0x19d145=(_0x276e38,_0x3575a2,_0x57b068,_0xc497a2)=>{const _0x3a25c1=_0x3dc404;var _0x4e79fd,_0x46d009,_0x565404,_0x2be17b,_0x2ab942,_0x482442,_0x1a1f89,_0xada849,_0x2f9b5b,_0x4aeaaa,_0xa8e77d,_0x53d868,_0x34b5f0,_0x2f0ce5;const _0x522883=_0x57b068[_0x3a25c1(0x1ca)],{cornerView:_0x2fca5e,rowView:_0x101deb,colView:_0x5a2584,dataView:_0x2348d5,pageView:_0x20b6b9,formatMap:_0x3b7ad4,groupInfo:_0x5810b0}=_0x3575a2,{row:_0x52859d,col:_0x518282}=_0x522883,_0x3add13=new _0x9cf92b[(_0x3a25c1(0x37c))](),_0x4c63ed={},_0x434c7f={},_0x8c959e={},_0x389996={},_0x48469f={};let _0x35ffde=_0x52859d,_0xb99ced=_0x518282;Object['keys'](_0x20b6b9[_0x3a25c1(0x1ac)])[_0x3a25c1(0xfe)](_0x391abd=>{const _0x4da183=_0x3a25c1;Object['keys'](_0x20b6b9[_0x4da183(0x1ac)][Number(_0x391abd)])['forEach'](_0x55f6e9=>{const _0x50636e=_0x4da183,_0x50a58f={..._0x20b6b9[_0x50636e(0x1ac)][Number(_0x391abd)][Number(_0x55f6e9)]};_0x3add13[_0x50636e(0x31f)](Number(_0x391abd)+_0x35ffde,Number(_0x55f6e9)+_0xb99ced,_0x363d90(_0x276e38,_0x50a58f,_0x22c6a2['pageStyle']));});});const _0x46e140=Object[_0x3a25c1(0x336)](_0x20b6b9[_0x3a25c1(0x1ac)])[_0x3a25c1(0xfc)];_0x35ffde+=_0x46e140+(_0x46e140?_0x301d16:0x0);const _0x41358e=_0x2fca5e[_0x3a25c1(0x393)](),_0x5517d0=_0x2fca5e[_0x3a25c1(0x2d9)]();for(let _0xa00771=0x0;_0xa00771<_0x41358e;_0xa00771++)for(let _0x598c89=0x0;_0x598c89<_0x5517d0;_0x598c89++){const _0x77e21c={...(_0x46d009=(_0x4e79fd=_0x2fca5e[_0x3a25c1(0x1ac)])==null?void 0x0:_0x4e79fd[_0xa00771])==null?void 0x0:_0x46d009[_0x598c89]};_0x77e21c&&((_0x565404=_0x101deb[_0x3a25c1(0x1c1)][_0x598c89])!=null&&_0x565404['isValue'])&&_0x598c89===_0x5517d0-0x1&&_0xa00771===_0x41358e-0x1&&(_0x77e21c['v']=''+_0xc497a2[_0x3a25c1(0x397)]),_0x3add13['setValue'](_0xa00771+_0x35ffde,_0x598c89+_0xb99ced,_0x363d90(_0x276e38,_0x77e21c,_0x22c6a2['cornerStyle']));}for(let _0x10fafd=0x0;_0x10fafd<_0x2fca5e[_0x3a25c1(0x330)][_0x3a25c1(0xfc)];_0x10fafd++)_0x2fca5e[_0x3a25c1(0x330)][_0x10fafd]&&(_0x8c959e[''+(_0x10fafd+_0xb99ced)]=_0x2fca5e[_0x3a25c1(0x330)][_0x10fafd]);_0xb99ced+=_0x5517d0;const _0x2b4136=_0x5a2584['headerMap'],_0x141654=_0x5a2584[_0x3a25c1(0x1a5)]()>=0x0?_0x5a2584[_0x3a25c1(0x1a5)]()+0x1:0x0,_0x56277c=_0x5a2584['getLastCol']()>=0x0?_0x5a2584[_0x3a25c1(0x399)]()+0x1:0x0;for(let _0x131f06=0x0;_0x131f06<_0x56277c;_0x131f06++){for(let _0x4b0f87=0x0;_0x4b0f87<_0x141654;_0x4b0f87++){const _0x44a059={...(_0x2ab942=(_0x2be17b=_0x5a2584[_0x3a25c1(0x1ac)])==null?void 0x0:_0x2be17b[_0x4b0f87])==null?void 0x0:_0x2ab942[_0x131f06]},_0x49812d=(_0x482442=_0x2b4136[_0x4b0f87])==null?void 0x0:_0x482442['tableFieldId'],_0x2ce50f=_0x3b7ad4[_0x49812d],_0x368957=_0x5810b0[_0x49812d];_0x44a059&&(_0x44a059['v']=_0x340ba5(_0x44a059,_0x4b0f87===0x0&&((_0x1a1f89=_0x5a2584[_0x3a25c1(0x29f)](_0x131f06+0x1))==null?void 0x0:_0x1a1f89[_0x3a25c1(0x2cd)]),_0x2ce50f,_0xc497a2));let _0x1a29e2;_0x2ce50f?_0x1a29e2={..._0x22c6a2[_0x3a25c1(0x3cd)],'n':{'pattern':_0x2ce50f}}:_0x1a29e2={..._0x22c6a2[_0x3a25c1(0x3cd)]},_0x3add13['setValue'](_0x4b0f87+_0x35ffde,_0x131f06+_0xb99ced,_0x363d90(_0x276e38,_0x44a059,_0x1a29e2,_0x368957));}_0x5a2584['info'][_0x131f06]&&(_0x434c7f[''+(_0x131f06+_0xb99ced)]=_0x5a2584['info'][_0x131f06]),_0x5a2584[_0x3a25c1(0x1c1)][_0x131f06+0x1]&&(_0x48469f[''+(_0x131f06+_0x35ffde+0x1)]=_0x5a2584['headerMap'][_0x131f06+0x1]);}_0x35ffde+=_0x41358e;const _0x2f657c=_0x101deb[_0x3a25c1(0x1c1)],_0x598cb4=_0x101deb[_0x3a25c1(0x1a5)]()>=0x0?_0x101deb[_0x3a25c1(0x1a5)]()+0x1:0x0,_0x513602=_0x101deb['getLastCol']()>=0x0?_0x101deb['getLastCol']()+0x1:0x0;for(let _0xa53b29=0x0;_0xa53b29<_0x598cb4;_0xa53b29++){for(let _0x5d599e=0x0;_0x5d599e<_0x513602;_0x5d599e++){const _0x3abb6e={...(_0x2f9b5b=(_0xada849=_0x101deb[_0x3a25c1(0x1ac)])==null?void 0x0:_0xada849[_0xa53b29])==null?void 0x0:_0x2f9b5b[_0x5d599e]},_0x51c683=(_0x4aeaaa=_0x2f657c[_0x5d599e])==null?void 0x0:_0x4aeaaa[_0x3a25c1(0x3b9)],_0x3126c3=_0x3b7ad4[_0x51c683],_0x5700b6=_0x5810b0[_0x51c683];_0x3abb6e&&(_0x3abb6e['v']=_0x340ba5(_0x3abb6e,!0x1,_0x3126c3,_0xc497a2));let _0x44bb00;_0x101deb[_0x3a25c1(0x330)][_0xa53b29]['level']===_0x101deb[_0x3a25c1(0x2d9)]()?_0x44bb00=_0x22c6a2[_0x3a25c1(0x2c8)]:_0x101deb['info'][_0xa53b29][_0x3a25c1(0x149)]?_0x44bb00=_0x101deb[_0x3a25c1(0x330)][_0xa53b29][_0x3a25c1(0x123)]===0x0?_0x22c6a2[_0x3a25c1(0x133)]:_0x22c6a2[_0x3a25c1(0x1a0)]:_0x44bb00=_0x22c6a2[_0x3a25c1(0x3e1)],_0x3126c3&&(_0x44bb00={..._0x44bb00,'n':{'pattern':_0x3126c3}}),_0x3add13[_0x3a25c1(0x31f)](_0xa53b29+_0x35ffde,_0x5d599e+_0x518282,_0x363d90(_0x276e38,_0x3abb6e,_0x44bb00,_0x5700b6));}_0x101deb[_0x3a25c1(0x330)][_0xa53b29]&&(_0x4c63ed[''+(_0xa53b29+_0x35ffde)]=_0x101deb[_0x3a25c1(0x330)][_0xa53b29]),_0x101deb[_0x3a25c1(0x1c1)][_0xa53b29]&&(_0x389996[''+(_0xa53b29+_0x518282)]=_0x101deb[_0x3a25c1(0x1c1)][_0xa53b29]);}const _0x509de1=_0x2348d5[_0x3a25c1(0x393)](),_0x3c6a1d=_0x2348d5['getColCount']();for(let _0x7bc0d4=0x0;_0x7bc0d4<_0x509de1;_0x7bc0d4++)for(let _0xc6f24e=0x0;_0xc6f24e<_0x3c6a1d;_0xc6f24e++){const _0x13315b={...(_0x53d868=(_0xa8e77d=_0x2348d5['data'])==null?void 0x0:_0xa8e77d[_0x7bc0d4])==null?void 0x0:_0x53d868[_0xc6f24e]};let _0x3a7752;_0x101deb['info'][_0x7bc0d4][_0x3a25c1(0x149)]?_0x3a7752=_0x101deb[_0x3a25c1(0x330)][_0x7bc0d4]['level']===0x0?_0x22c6a2['grandTotal']:_0x22c6a2['subTotalStyle']:_0x3a7752=_0x22c6a2[_0x3a25c1(0x26b)];const _0x102b15=_0x101deb[_0x3a25c1(0x330)][_0x7bc0d4][_0x3a25c1(0x140)],_0x299aad=_0x5a2584[_0x3a25c1(0x330)][_0xc6f24e][_0x3a25c1(0x140)],_0x2c0cd1=Math['max'](_0x102b15,_0x299aad),_0x51f3bc=_0x57b068['fieldsConfig'][_0x3a25c1(0x122)]['concat']();let _0x1e8ff7='';_0x2c0cd1<0x0?_0x1e8ff7=(_0x34b5f0=_0x51f3bc[0x0])!=null?_0x34b5f0:'':_0x1e8ff7=(_0x2f0ce5=_0x51f3bc[_0x2c0cd1])!=null?_0x2f0ce5:'';const _0x3f2887=_0x3b7ad4[_0x1e8ff7];_0x3f2887&&(_0x3a7752={..._0x3a7752,'n':{'pattern':_0x3f2887}}),_0x3add13[_0x3a25c1(0x31f)](_0x7bc0d4+_0x35ffde,_0xc6f24e+_0xb99ced,_0x363d90(_0x276e38,_0x13315b,_0x3a7752));}return{'valueMatrix':_0x3add13,'rowInfo':_0x4c63ed,'colInfo':_0x434c7f,'cornerInfo':_0x8c959e,'rowHeaderMap':_0x389996,'colHeaderMap':_0x48469f};};function _0x340ba5(_0x2ca4e2,_0x23f65c,_0x2dad5b,_0xdb01de){const _0x45fff4=_0x3dc404;let _0x40029d=_0x2ca4e2['v'];_0x23f65c&&(_0x40029d=''+_0xdb01de[_0x45fff4(0x397)]);const _0x40b91f=_0x2ca4e2['t']&&(_0x2ca4e2['t']&_0x399222[_0x45fff4(0x276)][_0x45fff4(0x29b)])>0x0;_0x40b91f&&(_0x40029d=''+_0xdb01de[_0x45fff4(0x304)]);const _0x4e7283=_0x2ca4e2['t']&&(_0x2ca4e2['t']&_0x399222[_0x45fff4(0x276)][_0x45fff4(0x359)])>0x0;if(_0x4e7283&&(_0x40029d=''+_0xdb01de[_0x45fff4(0xd3)]),_0x2ca4e2['s']===_0x399222[_0x45fff4(0x270)]['Subtotal']){let _0x444889=_0x40029d,_0x492224='';_0x399222[_0x45fff4(0x110)](_0x40029d)&&(_0x444889=_0x40029d[_0x45fff4(0x2cc)],_0x492224=_0x40029d[_0x45fff4(0x3b7)]);const _0x4e2c59=_0x2dad5b&&!_0x40b91f&&!_0x4e7283?_0x9cf92b['numfmt'][_0x45fff4(0x2f7)](_0x2dad5b,Number(_0x444889)):_0x444889;_0x492224?_0x40029d=_0x4e2c59+'\x20'+_0x492224:_0x40029d=_0x4e2c59+'\x20'+_0xdb01de[_0x45fff4(0x3ca)];}else _0x2ca4e2['s']===_0x399222[_0x45fff4(0x270)][_0x45fff4(0x212)]&&(_0x40029d=_0x40029d+'\x20'+_0xdb01de[_0x45fff4(0x316)]);return _0x40029d;}function _0x267d4c(_0x3305d1){const _0x4de774=_0x3dc404;if(_0x399222[_0x4de774(0xf5)](_0x3305d1)){const {errorType:_0x55a457}=_0x3305d1;switch(_0x55a457){case _0x399222['PivotErrorTypeEnum'][_0x4de774(0x3de)]:return _0x544f7f[_0x4de774(0xe0)][_0x4de774(0x36b)];case _0x399222[_0x4de774(0x129)][_0x4de774(0xdd)]:return _0x544f7f['ErrorType'][_0x4de774(0x381)];case _0x399222['PivotErrorTypeEnum'][_0x4de774(0x19b)]:return _0x544f7f[_0x4de774(0xe0)]['NAME'];case _0x399222[_0x4de774(0x129)]['NotName']:return _0x544f7f[_0x4de774(0xe0)][_0x4de774(0x3a9)];case _0x399222[_0x4de774(0x129)][_0x4de774(0x2c5)]:return _0x544f7f['ErrorType'][_0x4de774(0x1cf)];}}return _0x3305d1;}function _0x7e091f(_0x44b4e9,_0x41062c,_0x1d39c6=!0x1,_0x37f6a5=!0x1){const _0x573549=_0x3dc404,{data:_0x54b17c}=_0x41062c,_0x157efd=_0x41062c[_0x573549(0x393)](),_0x125b56=_0x41062c[_0x573549(0x2d9)]();if(_0x157efd<=0x0||_0x125b56<=0x0)return[];const _0x164f74=_0x41062c[_0x573549(0x399)](),_0x276918=_0x41062c[_0x573549(0x1a5)](),_0x20cc7c=_0x37f6a5?_0x276918>=0x0?_0x276918+0x1:0x0:_0x157efd,_0x255480=_0x37f6a5?_0x164f74>=0x0?_0x164f74+0x1:0x0:_0x125b56,{row:_0x27bd9d,col:_0x280318}=_0x44b4e9,_0x3e2f23=_0x27bd9d,_0x51a89f=_0x280318;if(_0x1d39c6){const _0x13bc5f=[];for(const [_0xa012ff,_0x619c42]of Object[_0x573549(0x1a3)](_0x54b17c))for(const [_0xe0d722,_0x240b38]of Object['entries'](_0x619c42))_0x13bc5f[_0x573549(0x34a)](_0x9cf92b[_0x573549(0x264)](_0x3e2f23+Number(_0xa012ff),_0x51a89f+Number(_0xe0d722)));return _0x13bc5f;}else{const _0xece1ac=_0x37f6a5?_0x20cc7c>0x0?0x1:0x0:0x1,_0x161c40=_0x37f6a5?_0x255480>0x0?0x1:0x0:0x1,_0x5ba655=_0x27bd9d+_0x20cc7c-_0xece1ac,_0x4be3a0=_0x280318+_0x255480-_0x161c40;return[{'startRow':_0x3e2f23,'startColumn':_0x51a89f,'endRow':_0x5ba655,'endColumn':_0x4be3a0}];}}const _0x3ee12c=_0x3dc404(0x20f),_0x19c1b4=_0x3dc404(0x259);var _0x4651ca=(_0x3d3159=>(_0x3d3159[_0x3dc404(0x231)]=_0x3dc404(0x375),_0x3d3159[_0x3dc404(0x25a)]='panel',_0x3d3159[_0x3dc404(0x343)]=_0x3dc404(0x11a),_0x3d3159['AddPivotTableWithConfig']='AddPivotTableWithConfig',_0x3d3159[_0x3dc404(0x374)]='addPivotTable',_0x3d3159['MovePivotField']=_0x3dc404(0x161),_0x3d3159[_0x3dc404(0x13c)]=_0x3dc404(0x1dc),_0x3d3159[_0x3dc404(0x1e2)]=_0x3dc404(0x3ba),_0x3d3159[_0x3dc404(0x36c)]=_0x3dc404(0x30b),_0x3d3159[_0x3dc404(0x261)]=_0x3dc404(0x27e),_0x3d3159[_0x3dc404(0x2c1)]=_0x3dc404(0x26f),_0x3d3159[_0x3dc404(0x14b)]=_0x3dc404(0x12a),_0x3d3159[_0x3dc404(0x12c)]=_0x3dc404(0x3e0),_0x3d3159[_0x3dc404(0x3e2)]=_0x3dc404(0x3e4),_0x3d3159[_0x3dc404(0x2d8)]=_0x3dc404(0x109),_0x3d3159[_0x3dc404(0x37d)]=_0x3dc404(0x24f),_0x3d3159['ResetPivotTable']=_0x3dc404(0xde),_0x3d3159))(_0x4651ca||{});const _0x19cae1={'sheets-pivot.blankValue':_0x3dc404(0x248),'sheets-pivot.columnName':_0x3dc404(0x38d),'sheets-pivot.subTotalText':_0x3dc404(0x18e),'sheets-pivot.grandTotalText':_0x3dc404(0x141),'sheets-pivot.valueText':_0x3dc404(0x311),'sheets-pivot.averageName':_0x3dc404(0x30f),'sheets-pivot.countName':_0x3dc404(0x290),'sheets-pivot.countNumsName':_0x3dc404(0x290),'sheets-pivot.maxName':_0x3dc404(0x39c),'sheets-pivot.minName':_0x3dc404(0x372),'sheets-pivot.productName':_0x3dc404(0x1ec),'sheets-pivot.stdDevName':_0x3dc404(0x2e7),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x3dc404(0x113),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x3dc404(0x26e),'sheets-pivot.subTotal':_0x3dc404(0x117),'sheets-pivot.grandTotal':_0x3dc404(0x141),'sheets-pivot.value':_0x3dc404(0x3b7),'sheets-pivot.blank':_0x3dc404(0x29b),'sheets-pivot.other':_0x3dc404(0x359),'sheets-pivot.emptyPivot.filter':_0x3dc404(0x231),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x3dc404(0x160),'sheets-pivot.emptyPivot.values':_0x3dc404(0x35a)},_0x39a6bf={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x44e1c4=_0x9cf92b[_0x3dc404(0x352)](_0x3dc404(0x107)),_0x3ce801=_0x9cf92b['createInterceptorKey'](_0x3dc404(0x275));var _0x18eb7f=(_0x323228=>(_0x323228['add']=_0x3dc404(0x1e9),_0x323228[_0x3dc404(0x291)]='delete',_0x323228[_0x3dc404(0x2e4)]='update',_0x323228))(_0x18eb7f||{}),_0x20d852=(_0x5e9dff=>(_0x5e9dff['Add']='add',_0x5e9dff[_0x3dc404(0x1ea)]=_0x3dc404(0x1fd),_0x5e9dff[_0x3dc404(0x38e)]=_0x3dc404(0x291),_0x5e9dff))(_0x20d852||{});const _0x2c3c73={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x1a7285={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x1d8),'handler':()=>!0x0},_0x33d353={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0xff),'handler':()=>!0x0},_0x479347={'type':_0x9cf92b['CommandType']['MUTATION'],'id':_0x3dc404(0x22a),'handler':()=>!0x0},_0x2b6fcc={'type':_0x9cf92b[_0x3dc404(0x295)]['MUTATION'],'id':_0x3dc404(0x2f8),'handler':()=>!0x0};var _0x132f25=Object[_0x3dc404(0x34b)],_0x5a5fd0=(_0x5d11d6,_0x49c780,_0x21249f,_0x44414d)=>{const _0x23a487=_0x3dc404;for(var _0x59986d=_0x44414d>0x1?void 0x0:_0x44414d?_0x132f25(_0x49c780,_0x21249f):_0x49c780,_0x4c6873=_0x5d11d6[_0x23a487(0xfc)]-0x1,_0x2612b4;_0x4c6873>=0x0;_0x4c6873--)(_0x2612b4=_0x5d11d6[_0x4c6873])&&(_0x59986d=_0x2612b4(_0x59986d)||_0x59986d);return _0x59986d;},_0xf36a8a=(_0x440fc1,_0xcdca1)=>(_0xd1cafe,_0x38a4e6)=>_0xcdca1(_0xd1cafe,_0x38a4e6,_0x440fc1);_0x582d11['SheetsPivotRPCService']=class extends _0x9cf92b['Disposable']{constructor(_0x1320b7){const _0x38c883=_0x3dc404;super(),_0x4d8d39(this,'_requestResolvers',new Map()),this[_0x38c883(0x284)]=_0x1320b7;}[_0x3dc404(0x118)](_0x144043){const _0x20e7ca=_0x3dc404,{version:_0x1244c0}=_0x144043,_0x1af914=this[_0x20e7ca(0x365)][_0x20e7ca(0x1b1)](_0x1244c0);_0x1af914&&(_0x1af914(_0x144043),this[_0x20e7ca(0x365)]['delete'](_0x1244c0));}[_0x3dc404(0x35c)](_0x48501a){return new Promise((_0x448f6a,_0x2cfb2b)=>{const _0x556793=_0x3474,_0x501135=this[_0x556793(0x348)]();this['_requestResolvers']['set'](_0x501135,_0x448f6a),this[_0x556793(0x284)]['executeCommand'](_0x2c3c73['id'],{'version':_0x501135,..._0x48501a},{'onlyLocal':!0x0});});}[_0x3dc404(0x348)](){const _0x17118a=_0x3dc404;return Math[_0x17118a(0x20a)]()[_0x17118a(0x219)](0x24)[_0x17118a(0x239)](0x2,0x10);}},_0x582d11[_0x3dc404(0x1b0)]=_0x5a5fd0([_0xf36a8a(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x3c9)]))],_0x582d11[_0x3dc404(0x1b0)]);const _0x1e325f={0x0:'c',0x1:'v',0x2:'C',0x3:'6',0x4:'P',0x5:'2',0x6:'H',0x7:'l',0x8:'h',0x9:'4','A':'0','E':'1','n':'3','W':'5','v':'7','C':'8','g':'9','j':'a','t':'b','Y':'d','O':'e','L':'f','c':'g','e':'i','m':'j','q':'k','P':'m','Q':'n','I':'o','r':'p','f':'q','z':'r','w':'s','a':'t','u':'u','H':'w','l':'x','x':'y','V':'z','i':'A','G':'B','X':'D','y':'E','p':'F','K':'G','J':'I','o':'J','D':'K','F':'L','s':'M','h':'N','R':'O','U':'Q','Z':'R','S':'S','b':'T','M':'U','T':'V','B':'W','d':'X','k':'Y','N':'Z'},_0x2e7bcf=_0x3dc404(0x361),_0x354503=_0x34d968=>{const _0x5747d5=_0x3dc404;var _0xe67592;return((_0xe67592=_0x34d968[_0x5747d5(0x15f)])==null?void 0x0:_0xe67592[_0x5747d5(0x246)][_0x5747d5(0xf6)](/\r\n$/,''))||'';};class _0x43007c extends _0x399222[_0x3dc404(0x369)]{constructor(_0x77fe8d,_0x512aa6){const _0x37ca50=_0x3dc404;super(),_0x4d8d39(this,_0x37ca50(0x293),{}),_0x4d8d39(this,_0x37ca50(0x206)),_0x4d8d39(this,_0x37ca50(0x30c)),(this[_0x37ca50(0x206)]=_0x512aa6,this[_0x37ca50(0x30c)]=_0x77fe8d);}[_0x3dc404(0xd9)](){const _0x361d7a=_0x3dc404;for(const _0x38bfee in this[_0x361d7a(0x222)]){const _0x1dde13=this[_0x361d7a(0x222)][_0x38bfee],_0x433276=_0x1dde13[_0x361d7a(0x315)]();this[_0x361d7a(0x293)][_0x433276]=_0x1dde13[_0x361d7a(0x26d)]();}}[_0x3dc404(0x2b2)](){const _0x382fb=_0x3dc404,_0x3fe09d=this[_0x382fb(0x30c)];return _0x30e019['bind'](_0x3fe09d);}['deleteDataField'](_0x4eafa0){const _0xe3ffae=_0x3dc404,_0xa16629=this[_0xe3ffae(0x222)][_0x4eafa0][_0xe3ffae(0x3d0)];delete this[_0xe3ffae(0x222)][_0x4eafa0],delete this['rangeKeyMap'][_0xa16629];}[_0x3dc404(0x210)](_0x5656d2){const _0x2fe8f8=_0x3dc404;this[_0x2fe8f8(0x222)][_0x5656d2[_0x2fe8f8(0x26d)]()]=_0x5656d2;}[_0x3dc404(0x21a)](_0x2f5a8a){const _0xf6f93c=_0x3dc404;var _0x4b9ce0,_0x76cd84;const _0x20b8b1=this[_0xf6f93c(0x30c)][_0xf6f93c(0x1bc)](_0x2f5a8a);if(_0x20b8b1){const {unitId:_0x330c61,subUnitId:_0x377783}=_0x20b8b1,_0xbd026d=(_0x4b9ce0=this[_0xf6f93c(0x30c)][_0xf6f93c(0x17c)](_0x330c61,_0x377783,_0x2f5a8a))==null?void 0x0:_0x4b9ce0[_0xf6f93c(0x354)];this['_host'][_0xf6f93c(0x19a)]({'token':_0x2f5a8a,'type':_0x18eb7f[_0xf6f93c(0x291)],'dataRangeInfo':_0xbd026d});}(_0x76cd84=this[_0xf6f93c(0x355)](_0x2f5a8a))==null||_0x76cd84[_0xf6f93c(0x28f)](),delete this[_0xf6f93c(0x119)][_0x2f5a8a];}[_0x3dc404(0x315)](_0x634825,_0x41e672){const _0x53e4ff=_0x3dc404,{sheetName:_0x266dab,unitId:_0x49e092,range:_0x49209b}=_0x634825,{startRow:_0x2d383b,endRow:_0x6d195c}=_0x49209b;return _0x544f7f[_0x53e4ff(0xc1)](_0x49e092,_0x266dab,{'startRow':_0x2d383b,'endRow':_0x6d195c,'startColumn':_0x41e672,'endColumn':_0x41e672});}[_0x3dc404(0x243)](_0xef5172){const _0x3ace2d=_0x3dc404;return this['dataFields'][this[_0x3ace2d(0x293)][_0xef5172]];}[_0x3dc404(0x1b8)](_0x1e12e3,_0x1952d8){const _0x5c2bea=_0x3dc404;this[_0x5c2bea(0x293)][_0x1e12e3]=_0x1952d8;}['updateRangeKeyMap'](_0x28441d,_0x2b73b2){const _0x490d6f=_0x3dc404;this[_0x490d6f(0x293)][_0x2b73b2]=this[_0x490d6f(0x293)][_0x28441d],delete this[_0x490d6f(0x293)][_0x28441d];}['addCollectionByJSON'](_0x143b9f,_0x1c289a,_0x35a015,_0x1dc836){const _0x1fbce2=_0x3dc404,_0x1e93ff=new _0x399222[(_0x1fbce2(0x3d1))](this);_0x1e93ff[_0x1fbce2(0x106)](_0x1c289a);const _0x308db7=[];let _0x22e021=0x0;for(const _0x27c22d of _0x1e93ff[_0x1fbce2(0x218)]){const _0x47e1f8=this['getRangeKey'](_0x35a015,_0x22e021),_0x1e8b48=this['dataFields'][_0x27c22d];_0x1e8b48&&(_0x1e8b48[_0x1fbce2(0x3d0)]=_0x47e1f8,this[_0x1fbce2(0x1b8)](_0x47e1f8,_0x27c22d),_0x308db7[_0x1fbce2(0x34a)]({'index':_0x22e021,'dataField':_0x1e8b48})),_0x22e021++;}return this['addCollection'](_0x143b9f,_0x1e93ff,_0x35a015,_0x1dc836),{'collection':_0x1e93ff,'updateDataFieldList':_0x308db7};}[_0x3dc404(0xe7)](_0x376f64,_0x2b533c){const _0x4b0b67=_0x3dc404;return _0x376f64[_0x4b0b67(0x2c2)]===_0x9cf92b[_0x4b0b67(0x1d0)]['COLUMN']?{'startRow':0x0,'startColumn':_0x376f64[_0x4b0b67(0x223)],'endRow':_0x2b533c['getRowCount']()-0x1,'endColumn':_0x376f64[_0x4b0b67(0x104)]}:{'startRow':_0x376f64['startRow'],'startColumn':_0x376f64['startColumn'],'endRow':_0x376f64[_0x4b0b67(0x13e)],'endColumn':_0x376f64[_0x4b0b67(0x104)]};}[_0x3dc404(0x22c)](_0x29938d){const _0x19d33a=_0x3dc404,{sheetName:_0x25e57,range:_0x50c702}=_0x29938d,_0x310cc6=this[_0x19d33a(0x206)]['getCurrentUnitForType'](_0x9cf92b[_0x19d33a(0x101)][_0x19d33a(0x2ae)]),_0x913953=_0x310cc6[_0x19d33a(0x2ce)](_0x25e57),_0x40f70f=_0x913953[_0x19d33a(0x23b)](),{startColumn:_0x4cc0bf,startRow:_0x2915c0,endColumn:_0x4fbf9c}=this[_0x19d33a(0xe7)](_0x50c702,_0x913953),_0x19e5f8=_0x310cc6['getStyles'](),_0x5b3710=new _0x399222[(_0x19d33a(0x3d1))](this);_0x5b3710[_0x19d33a(0x134)](_0x29938d);const _0x120ced=[],_0x338e0b={};for(let _0x1775e4=_0x4cc0bf;_0x1775e4<=_0x4fbf9c;_0x1775e4++){const _0x2fc339=_0x40f70f[_0x19d33a(0x34f)](_0x2915c0,_0x1775e4),_0x99bf26=this[_0x19d33a(0x315)](_0x29938d,_0x1775e4),_0x18568e=this[_0x19d33a(0x243)](_0x99bf26);if(_0x18568e)_0x5b3710['addField'](_0x18568e[_0x19d33a(0x26d)](),_0x18568e[_0x19d33a(0x220)]());else{const _0xd6b044=this[_0x19d33a(0x16a)]();let _0xcb7c84=this[_0x19d33a(0x28e)](_0x2fc339,_0x19e5f8,_0x338e0b);_0x399222[_0x19d33a(0x1b2)](_0xcb7c84)&&(_0xcb7c84=_0x9cf92b['numfmt'][_0x19d33a(0x2f7)](_0xcb7c84['f'],Number(_0xcb7c84['v'])));const _0x5878b1=this[_0x19d33a(0x1f8)](_0xcb7c84,_0x1775e4),_0x3022c4=new _0x399222[(_0x19d33a(0x2d5))](_0xd6b044,_0x5878b1,_0x399222[_0x19d33a(0x191)](0x3));_0x3022c4['rangeKey']=_0x99bf26,this[_0x19d33a(0x222)][_0xd6b044]=_0x3022c4,_0x5b3710[_0x19d33a(0x329)](_0xd6b044,_0x5878b1),_0x120ced[_0x19d33a(0x34a)]({'index':_0x1775e4,'dataField':_0x3022c4});}}return{'updateDataFieldList':_0x120ced,'collection':_0x5b3710};}[_0x3dc404(0x308)](_0x4cf084){const _0x8a163c=_0x3dc404;return this[_0x8a163c(0x30c)][_0x8a163c(0x1ee)]()['sheets-pivot.columnName']+'\x20'+_0x9cf92b['numberToABC'](_0x4cf084);}[_0x3dc404(0x1f8)](_0x47d875,_0x88c93e){const _0x2f6bd1=_0x3dc404;return _0x47d875==null||_0x47d875===''?this[_0x2f6bd1(0x308)](_0x88c93e):String(_0x47d875);}[_0x3dc404(0x355)](_0x4323f1){const _0x2d6c4e=_0x3dc404;return this[_0x2d6c4e(0x119)][_0x4323f1];}[_0x3dc404(0x185)](_0x1774e4,_0xc70115,_0x7ce485,_0x5bd6b3){const _0x4ea83c=_0x3dc404;this[_0x4ea83c(0x119)][_0x1774e4]=_0xc70115,_0xc70115[_0x4ea83c(0x134)](_0x7ce485),this[_0x4ea83c(0x30c)][_0x4ea83c(0x19a)]({'token':_0x1774e4,'type':_0x18eb7f[_0x4ea83c(0x1e9)],'dataRangeInfo':_0x7ce485,'targetCellInfo':_0x5bd6b3});}[_0x3dc404(0x3a2)](_0x9ee86f,_0x322cba){const _0x1e45e9=_0x3dc404,_0x216c91=this['getCollection'](_0x9ee86f),_0x3e0e0c=_0x216c91[_0x1e45e9(0x3a5)]();let _0x3e2da3=0x0;for(const _0x488692 of _0x3e0e0c){const _0x3ff419=_0x216c91['getFieldById'](_0x488692),_0x3ae2f0=this[_0x1e45e9(0x315)](_0x322cba,_0x3e2da3);this[_0x1e45e9(0x2f0)](_0x3ff419['rangeKey'],_0x3ae2f0),_0x3e2da3++;}}[_0x3dc404(0x172)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x3dc404(0x28c)](_0x4f7686,_0x107618){const _0x15d9b7=_0x3dc404;if(this[_0x15d9b7(0x355)](_0x4f7686)){const _0x47c58c=this[_0x15d9b7(0x23a)](_0x107618),_0x194452=[];for(const _0xd6d94a of _0x47c58c)this['rangeKeyMap'][_0xd6d94a]!==void 0x0&&_0x194452[_0x15d9b7(0x34a)](this['rangeKeyMap'][_0xd6d94a]);const _0x328dd4=this[_0x15d9b7(0x3d7)](_0x4f7686),_0xd46b89=[],_0x3061c5=new Set(_0x194452);for(const _0x4d7165 of _0x328dd4)_0x3061c5[_0x15d9b7(0x138)](_0x4d7165)||_0xd46b89[_0x15d9b7(0x34a)](_0x4d7165);return _0xd46b89;}}['getMatrixValue'](_0x40154d,_0xaa151c,_0xa08b20,_0x3f9515,_0x2ab595){const _0x630d63=_0x3dc404;return _0xaa151c&&_0xaa151c[_0x630d63(0x34f)](_0x3f9515,_0x2ab595)?_0xaa151c[_0x630d63(0x34f)](_0x3f9515,_0x2ab595):_0xa08b20&&_0xa08b20[_0x630d63(0x34f)](_0x3f9515,_0x2ab595)?_0xa08b20['getValue'](_0x3f9515,_0x2ab595):_0x40154d[_0x630d63(0x34f)](_0x3f9515,_0x2ab595);}[_0x3dc404(0x170)](_0x261d6c,_0x52bea3,_0x3f9778,_0x2a86e5){const _0x218050=_0x3dc404,_0x37bc22=this[_0x218050(0x222)][_0x261d6c];if(!_0x37bc22)return;const {subUnitId:_0x1e9a14,range:_0x3cedd2,unitId:_0x1501a5}=_0x52bea3,_0x569a44=this[_0x218050(0x206)]['getUnit'](_0x1501a5);if(!_0x569a44){console[_0x218050(0x154)]('workbook\x20is\x20not\x20found');return;}const _0x3f7e64=_0x569a44[_0x218050(0x379)](_0x1e9a14),_0x178aa1=_0x3f7e64['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x1aa847,unitDataMatrix:_0x406c1c}=_0x2a86e5||{},{startRow:_0x22f6f3,startColumn:_0x3e861c,endRow:_0x19d5d7}=this[_0x218050(0xe7)](_0x3cedd2,_0x3f7e64);_0x37bc22['reset']();const _0xa8044=_0x569a44[_0x218050(0x192)](),_0xdbc8ea={},_0x5939d4=this[_0x218050(0x2b9)](_0x178aa1,_0x1aa847,_0x406c1c,_0x22f6f3,_0x3e861c+_0x3f9778);let _0x3a15f2=this[_0x218050(0x28e)](_0x5939d4,_0xa8044,_0xdbc8ea);_0x399222[_0x218050(0x1b2)](_0x3a15f2)&&(_0x3a15f2=_0x9cf92b[_0x218050(0x215)][_0x218050(0x2f7)](_0x3a15f2['f'],Number(_0x3a15f2['v'])));const _0x4fec4d=this[_0x218050(0x1f8)](_0x3a15f2,_0x3e861c+_0x3f9778);_0x37bc22[_0x218050(0x208)](_0x4fec4d);for(let _0x471878=_0x22f6f3+0x1;_0x471878<=_0x19d5d7;_0x471878++){const _0x2f94a4=this['getMatrixValue'](_0x178aa1,_0x1aa847,_0x406c1c,_0x471878,_0x3e861c+_0x3f9778);_0x37bc22[_0x218050(0x350)](this['adjustSheetCellData'](_0x2f94a4,_0xa8044,_0xdbc8ea),_0x471878-0x1-_0x22f6f3);}}[_0x3dc404(0x38f)](_0x26fb23,_0x4790d2,_0x2012b9){const _0x31ee72=_0x3dc404,{subUnitId:_0x501262,range:_0x45205b,unitId:_0x36ff77}=_0x2012b9,_0x3033ee=this[_0x31ee72(0x206)][_0x31ee72(0x1b6)](_0x36ff77);if(!_0x3033ee){console['error'](_0x31ee72(0x116));return;}const _0x3f4f0a=_0x3033ee[_0x31ee72(0x379)](_0x501262),_0x364763=_0x3f4f0a[_0x31ee72(0x23b)](),{startRow:_0x421604,startColumn:_0x3ef0a6,endRow:_0x1be33d}=this[_0x31ee72(0xe7)](_0x45205b,_0x3f4f0a),_0x3dbea8=_0x3033ee[_0x31ee72(0x192)](),_0x41552f={};for(const {dataField:_0x32a92f,index:_0x5c6320}of _0x4790d2){_0x32a92f[_0x31ee72(0x251)]();const _0x592e7d=this[_0x31ee72(0x2b9)](_0x364763,void 0x0,void 0x0,_0x421604,_0x3ef0a6+_0x5c6320);let _0x214548=this[_0x31ee72(0x28e)](_0x592e7d,_0x3dbea8,_0x41552f);_0x399222[_0x31ee72(0x1b2)](_0x214548)&&(_0x214548=_0x9cf92b[_0x31ee72(0x215)][_0x31ee72(0x2f7)](_0x214548['f'],Number(_0x214548['v'])));const _0x19884b=this[_0x31ee72(0x1f8)](_0x214548,_0x3ef0a6+_0x5c6320);_0x32a92f['setName'](_0x19884b);}_0x26fb23['updateAllDisplayName']();for(let _0x775cbe=_0x421604+0x1;_0x775cbe<=_0x1be33d;_0x775cbe++)for(const {index:_0x27321f,dataField:_0x35bbf2}of _0x4790d2){const _0x2c9891=_0x364763['getValue'](_0x775cbe,_0x3ef0a6+_0x27321f);_0x35bbf2['addRecord'](this[_0x31ee72(0x28e)](_0x2c9891,_0x3dbea8,_0x41552f),_0x775cbe-0x1-_0x421604);}_0x26fb23['setDataRecordCount'](_0x1be33d-_0x421604);}[_0x3dc404(0x23a)](_0x3e7fde){const _0x1a9523=_0x3dc404,{range:_0x25e6e6}=_0x3e7fde,{startColumn:_0x23a03e,endColumn:_0x28a1d9}=_0x25e6e6,_0x196da8=[];for(let _0x3212a1=_0x23a03e;_0x3212a1<=_0x28a1d9;_0x3212a1++)_0x196da8[_0x1a9523(0x34a)](this['getRangeKey'](_0x3e7fde,_0x3212a1));return _0x196da8;}['adjustSheetCellData'](_0x300403,_0xfd2d1d,_0x5a8727){const _0x36310e=_0x3dc404;if(_0x300403){const {s:_0x10a2ab,v:_0x5d9286,t:_0x2cce4a,p:_0x1f746b}=_0x300403;if(_0x1f746b)return _0x354503(_0x1f746b);const _0x3ff5f1=_0xfd2d1d[_0x36310e(0x1b1)](_0x10a2ab);if(_0x3ff5f1&&_0x2cce4a===_0x9cf92b['CellValueType'][_0x36310e(0x108)]&&_0x3ff5f1['n']){const {pattern:_0x3ba62a}=_0x3ff5f1['n'];_0x5a8727[_0x3ba62a]||(_0x5a8727[_0x3ba62a]=_0x9cf92b[_0x36310e(0x215)][_0x36310e(0x232)](_0x3ba62a));const _0x5814ad=_0x5a8727[_0x3ba62a],_0x34c58e=_0x5814ad[_0x36310e(0x1ad)];if(_0x5814ad[_0x36310e(0x356)])return String(_0x5d9286);if(_0x34c58e)return{'v':_0x5d9286,'f':_0x3ba62a};}if(_0x2cce4a===_0x9cf92b['CellValueType'][_0x36310e(0x108)])return Number(_0x5d9286);if(_0x2cce4a===_0x9cf92b[_0x36310e(0x1e4)][_0x36310e(0x385)]||_0x2cce4a===_0x9cf92b[_0x36310e(0x1e4)][_0x36310e(0x32c)])return String(_0x5d9286);if(_0x2cce4a===void 0x0){const _0x2c0cb7=Number(_0x5d9286);if(!Number[_0x36310e(0x136)](_0x2c0cb7)&&String(_0x2c0cb7)===_0x5d9286)return _0x2c0cb7;}return _0x5d9286!=null?_0x5d9286:null;}else return null;}[_0x3dc404(0x1d9)](_0x1c825a){const _0x3d7c4d=_0x3dc404,{sheetName:_0x49a60b,range:_0x116e14,unitId:_0x21cea2}=_0x1c825a,_0x1b3e64=this[_0x3d7c4d(0x206)][_0x3d7c4d(0x1b6)](_0x21cea2);if(!_0x1b3e64)return console[_0x3d7c4d(0x154)](_0x3d7c4d(0x116)),{'header':[],'data':[]};const _0x1ff774=_0x1b3e64[_0x3d7c4d(0x2ce)](_0x49a60b),_0x11152f=_0x1ff774[_0x3d7c4d(0x23b)](),{startRow:_0x3ec5ab,startColumn:_0x4bcd81,endRow:_0x48e0e8,endColumn:_0x3bb035}=this['getRangeStartEndInfo'](_0x116e14,_0x1ff774),_0x46317a=_0x1b3e64[_0x3d7c4d(0x192)](),_0x54982f=[],_0x27cb00=[],_0x4d854e={};for(let _0x4e2229=_0x3ec5ab;_0x4e2229<=_0x48e0e8;_0x4e2229++){const _0x551f5a=[];for(let _0x22b9d4=_0x4bcd81;_0x22b9d4<=_0x3bb035;_0x22b9d4++){const _0x3a5d8b=_0x11152f[_0x3d7c4d(0x34f)](_0x4e2229,_0x22b9d4);_0x4e2229===_0x3ec5ab?_0x54982f[_0x3d7c4d(0x34a)](_0x3a5d8b==null?null:String(_0x3a5d8b['v'])):_0x551f5a[_0x3d7c4d(0x34a)](this[_0x3d7c4d(0x28e)](_0x3a5d8b,_0x46317a,_0x4d854e));}_0x27cb00[_0x3d7c4d(0x34a)](_0x551f5a);}return{'header':_0x54982f,'data':_0x27cb00};}[_0x3dc404(0x3b5)](){const _0x2ffa3e=_0x3dc404;return super[_0x2ffa3e(0x3b5)]();}[_0x3dc404(0x106)](_0xfb890e){const _0x1eefc0=_0x3dc404;super[_0x1eefc0(0x106)](_0xfb890e),this[_0x1eefc0(0xd9)]();}[_0x3dc404(0x28f)](){const _0x56fab1=_0x3dc404;super[_0x56fab1(0x28f)](),this[_0x56fab1(0x293)]={},this[_0x56fab1(0x30c)]=null;}}const _0x1d6db1=_0x3c7d5a=>{const _0x567ff3=_0x3dc404,{targetCellInfo:_0x577cba}=_0x3c7d5a,{matrixCache:_0x52f29f,rangesCache:_0x575231}=_0x47c976({'filter':_0x567ff3(0x231),'row':_0x567ff3(0x2a6),'column':_0x567ff3(0x160),'values':'Values'},_0x577cba),_0x1d8914=new _0x9cf92b[(_0x567ff3(0x37c))]();return _0x52f29f[_0x567ff3(0x16e)]((_0x342300,_0x487657,_0x1ca761)=>{const _0x33621f=_0x567ff3;_0x1d8914[_0x33621f(0x31f)](_0x342300,_0x487657,_0x1ca761);}),{'matrix':_0x1d8914,'rangesCache':_0x575231};},_0x27ceef=_0x248f59=>{const _0x4a31c6=_0x3dc404;let _0xa3c8d6;if(_0x248f59!=null&&_0x248f59['v']||(_0x248f59==null?void 0x0:_0x248f59['v'])===0x0){_0xa3c8d6||(_0xa3c8d6={});const _0x22dce0=_0x267d4c(_0x248f59['v']);typeof _0x22dce0==_0x4a31c6(0x1ba)?_0xa3c8d6['t']=_0x9cf92b['CellValueType'][_0x4a31c6(0x108)]:typeof _0x22dce0=='string'&&(_0xa3c8d6['t']=_0x9cf92b[_0x4a31c6(0x1e4)][_0x4a31c6(0x385)]),_0xa3c8d6['v']=_0x22dce0;}return _0xa3c8d6;},_0x1a0ed9=(_0x3949ed,_0x4ec54e,_0x522d33)=>{const _0x224ea4=_0x3dc404;var _0x6e2364,_0x1d0d13,_0x780961,_0x5e5bfd,_0x1a3bf9,_0x3fb9bf,_0x3d6b52,_0x25e5e3,_0x9c14a,_0x57a4d3,_0x10323d,_0x919c39;const {cornerView:_0xc4512b,rowView:_0x3b15be,colView:_0x3b369c,dataView:_0x283f12,pageView:_0x2a1cdc,formatMap:_0x3a6ae2}=_0x3949ed,{row:_0x2ea80d,col:_0x8dc745}=_0x4ec54e,_0x58c130=new _0x9cf92b[(_0x224ea4(0x37c))]();let _0x6a061e=_0x2ea80d,_0x5c8094=_0x8dc745;Object[_0x224ea4(0x336)](_0x2a1cdc[_0x224ea4(0x1ac)])[_0x224ea4(0xfe)](_0xcbec1=>{const _0x416ac3=_0x224ea4;Object['keys'](_0x2a1cdc['data'][Number(_0xcbec1)])[_0x416ac3(0xfe)](_0x2626f6=>{const _0xbf9f7b=_0x416ac3,_0x295a3b={..._0x2a1cdc[_0xbf9f7b(0x1ac)][Number(_0xcbec1)][Number(_0x2626f6)]};_0x58c130[_0xbf9f7b(0x31f)](Number(_0xcbec1)+_0x6a061e,Number(_0x2626f6)+_0x5c8094,_0x27ceef(_0x295a3b));});});const _0x132ecc=Object[_0x224ea4(0x336)](_0x2a1cdc['data'])[_0x224ea4(0xfc)];_0x6a061e+=_0x132ecc+(_0x132ecc?_0x301d16:0x0);const _0x3093cf=_0xc4512b['getRowCount'](),_0x3c4e43=_0xc4512b[_0x224ea4(0x2d9)]();for(let _0x1288fd=0x0;_0x1288fd<_0x3093cf;_0x1288fd++)for(let _0x20cd21=0x0;_0x20cd21<_0x3c4e43;_0x20cd21++){const _0x50da5b={...(_0x1d0d13=(_0x6e2364=_0xc4512b[_0x224ea4(0x1ac)])==null?void 0x0:_0x6e2364[_0x1288fd])==null?void 0x0:_0x1d0d13[_0x20cd21]};_0x50da5b&&((_0x780961=_0x3b15be[_0x224ea4(0x1c1)][_0x20cd21])!=null&&_0x780961[_0x224ea4(0x2cd)])&&_0x20cd21===_0x3c4e43-0x1&&_0x1288fd===_0x3093cf-0x1&&(_0x50da5b['v']=''+_0x522d33[_0x224ea4(0x397)]),_0x58c130['setValue'](_0x1288fd+_0x6a061e,_0x20cd21+_0x5c8094,_0x27ceef(_0x50da5b));}_0x5c8094+=_0x3c4e43;const _0x36bdc9=_0x3b369c[_0x224ea4(0x1c1)],_0x15f948=_0x3b369c['getLastRow']()>=0x0?_0x3b369c['getLastRow']()+0x1:0x0,_0x1f7c59=_0x3b369c[_0x224ea4(0x399)]()>=0x0?_0x3b369c[_0x224ea4(0x399)]()+0x1:0x0;for(let _0x3cdd7d=0x0;_0x3cdd7d<_0x1f7c59;_0x3cdd7d++)for(let _0x14b5cb=0x0;_0x14b5cb<_0x15f948;_0x14b5cb++){const _0x38be51={...(_0x1a3bf9=(_0x5e5bfd=_0x3b369c[_0x224ea4(0x1ac)])==null?void 0x0:_0x5e5bfd[_0x3cdd7d])==null?void 0x0:_0x1a3bf9[_0x14b5cb]},_0x46112d=(_0x3fb9bf=_0x36bdc9[_0x3cdd7d])==null?void 0x0:_0x3fb9bf[_0x224ea4(0x3b9)],_0x4033c6=_0x3a6ae2[_0x46112d];_0x38be51&&(_0x38be51['v']=_0x340ba5(_0x38be51,_0x3cdd7d===0x0&&((_0x3d6b52=_0x3b369c['getHeaderMapItem'](_0x14b5cb+0x1))==null?void 0x0:_0x3d6b52[_0x224ea4(0x2cd)]),_0x4033c6,_0x522d33)),_0x58c130[_0x224ea4(0x31f)](_0x3cdd7d+_0x6a061e,_0x14b5cb+_0x5c8094,_0x27ceef(_0x38be51));}_0x6a061e+=_0x3093cf;const _0x5b86b2=_0x3b15be['headerMap'],_0x329eee=_0x3b15be[_0x224ea4(0x1a5)]()>=0x0?_0x3b15be[_0x224ea4(0x1a5)]()+0x1:0x0,_0x450ad3=_0x3b15be[_0x224ea4(0x399)]()>=0x0?_0x3b15be[_0x224ea4(0x399)]()+0x1:0x0;for(let _0x1b9d4c=0x0;_0x1b9d4c<_0x329eee;_0x1b9d4c++)for(let _0x589b37=0x0;_0x589b37<_0x450ad3;_0x589b37++){const _0x38f4ef={...(_0x9c14a=(_0x25e5e3=_0x3b15be[_0x224ea4(0x1ac)])==null?void 0x0:_0x25e5e3[_0x1b9d4c])==null?void 0x0:_0x9c14a[_0x589b37]},_0x294d03=(_0x57a4d3=_0x5b86b2[_0x589b37])==null?void 0x0:_0x57a4d3['tableFieldId'],_0x3189d3=_0x3a6ae2[_0x294d03];_0x38f4ef&&(_0x38f4ef['v']=_0x340ba5(_0x38f4ef,!0x1,_0x3189d3,_0x522d33)),_0x58c130[_0x224ea4(0x31f)](_0x1b9d4c+_0x6a061e,_0x589b37+_0x8dc745,_0x27ceef(_0x38f4ef));}const _0x37bfcb=_0x283f12[_0x224ea4(0x393)](),_0x256df4=_0x283f12[_0x224ea4(0x2d9)]();for(let _0x45a233=0x0;_0x45a233<_0x37bfcb;_0x45a233++)for(let _0x50120e=0x0;_0x50120e<_0x256df4;_0x50120e++){const _0xd326b8={...(_0x919c39=(_0x10323d=_0x283f12[_0x224ea4(0x1ac)])==null?void 0x0:_0x10323d[_0x45a233])==null?void 0x0:_0x919c39[_0x50120e]};_0x58c130[_0x224ea4(0x31f)](_0x45a233+_0x6a061e,_0x50120e+_0x5c8094,_0x27ceef(_0xd326b8));}return _0x58c130;},_0x7c732a=_0x858e09=>{const _0x3cb881=_0x3dc404,{view:_0x477a06,targetCellInfo:_0x44dc8a,isEmpty:_0x6b0e2,textInfo:_0x2ac38c}=_0x858e09;if(_0x6b0e2)return _0x1d6db1(_0x858e09);const {pageView:_0x6add23,cornerView:_0x3b4fd9,rowView:_0x3aaf31,colView:_0x337825,dataView:_0x48f226}=_0x477a06,_0x409565=_0x7e091f(_0x44dc8a,_0x6add23,!0x0),_0x27ba79=_0x6add23[_0x3cb881(0x257)]>=0x0?_0x6add23[_0x3cb881(0x257)]+0x1:0x0,_0x2ac431=_0x3b4fd9['getRowCount'](),_0x14c83c=_0x3b4fd9[_0x3cb881(0x2d9)](),_0x324db1=_0x409565[_0x3cb881(0xfc)]>0x0?_0x301d16:0x0,_0x1ab337=_0x7e091f({'row':_0x44dc8a[_0x3cb881(0x100)]+_0x27ba79+_0x324db1,'col':_0x44dc8a[_0x3cb881(0x305)]},_0x3b4fd9,!0x1,!0x1),_0x129880=_0x7e091f({'row':_0x44dc8a[_0x3cb881(0x100)]+_0x27ba79+_0x324db1+_0x2ac431,'col':_0x44dc8a[_0x3cb881(0x305)]},_0x3aaf31,!0x1,!0x0),_0x2ae540=_0x7e091f({'row':_0x44dc8a['row']+_0x27ba79+_0x324db1,'col':_0x44dc8a[_0x3cb881(0x305)]+_0x14c83c},_0x337825,!0x1,!0x0),_0x3c1d7c=_0x7e091f({'row':_0x44dc8a[_0x3cb881(0x100)]+_0x27ba79+_0x324db1+_0x2ac431,'col':_0x44dc8a[_0x3cb881(0x305)]+_0x14c83c},_0x48f226,!0x1,!0x1),_0xd1166f={'rowRanges':_0x129880,'colRanges':_0x2ae540,'cornerRanges':_0x1ab337,'dataRanges':_0x3c1d7c,'pageRanges':_0x409565};return{'matrix':_0x1a0ed9(_0x477a06,_0x44dc8a,_0x2ac38c),'rangesCache':_0xd1166f};};var _0x25d8cd=Object[_0x3dc404(0x34b)],_0x4b2862=(_0x3e2c56,_0x3cb631,_0x6b5911,_0x30638a)=>{for(var _0x3f1023=_0x30638a>0x1?void 0x0:_0x30638a?_0x25d8cd(_0x3cb631,_0x6b5911):_0x3cb631,_0x1bbbb8=_0x3e2c56['length']-0x1,_0x349a77;_0x1bbbb8>=0x0;_0x1bbbb8--)(_0x349a77=_0x3e2c56[_0x1bbbb8])&&(_0x3f1023=_0x349a77(_0x3f1023)||_0x3f1023);return _0x3f1023;},_0x440c17=(_0x3f1de2,_0x514880)=>(_0x56ac4e,_0x2120a7)=>_0x514880(_0x56ac4e,_0x2120a7,_0x3f1de2);_0x582d11['SheetsPivotDataSourceModel']=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x20db03,_0x1b5069,_0x104ec4,_0x550f42,_0x1c841c){const _0x425e45=_0x3dc404;super(),_0x4d8d39(this,'_model',new Map()),_0x4d8d39(this,_0x425e45(0x2f2),new Map()),_0x4d8d39(this,_0x425e45(0x242),new Map()),_0x4d8d39(this,_0x425e45(0x279)),_0x4d8d39(this,_0x425e45(0x1be),new _0x1a0164['Subject']()),_0x4d8d39(this,'collectionChange$',this[_0x425e45(0x1be)][_0x425e45(0x3bc)]()),_0x4d8d39(this,'_viewData$',new _0x1a0164[(_0x425e45(0x3a3))]()),_0x4d8d39(this,'viewData$',this[_0x425e45(0x2d4)][_0x425e45(0x3bc)]()),_0x4d8d39(this,_0x425e45(0x2f9),new _0x1a0164[(_0x425e45(0x3a3))]()),_0x4d8d39(this,_0x425e45(0x2b5),this[_0x425e45(0x2f9)]['asObservable']()),_0x4d8d39(this,_0x425e45(0xd8),new Map()),_0x4d8d39(this,_0x425e45(0x2de),[]),_0x4d8d39(this,'_queryingMap',new Map()),(this['_injector']=_0x20db03,this[_0x425e45(0x206)]=_0x1b5069,this[_0x425e45(0x24c)]=_0x104ec4,this[_0x425e45(0x284)]=_0x550f42,this['_resourceManagerService']=_0x1c841c,this[_0x425e45(0x32b)]());}['getTextInfo'](){const _0x1412d7=_0x3dc404;return this[_0x1412d7(0x279)]?this[_0x1412d7(0x279)]:_0x19cae1;}['setTextInfo'](_0x1716e1){const _0x16067c=_0x3dc404;this[_0x16067c(0x279)]=_0x1716e1;}['handleMoveRange'](_0x2cfa1b){const _0x4ba6ba=_0x3dc404;var _0x1678ce;const {from:_0x533b55,to:_0x10d5f7,unitId:_0x525ac9,fromRange:_0x3505d8,toRange:_0x3f97e6}=_0x2cfa1b;if(_0x533b55&&_0x10d5f7){const _0x30be1d=this[_0x4ba6ba(0x217)](_0x525ac9),_0x2a9f2b=this[_0x4ba6ba(0x237)]['get'](_0x525ac9),_0x5ef237=(_0x1678ce=this[_0x4ba6ba(0x206)][_0x4ba6ba(0x1b6)](_0x525ac9))==null?void 0x0:_0x1678ce[_0x4ba6ba(0x379)](_0x10d5f7[_0x4ba6ba(0x103)]);if(!_0x2a9f2b||!_0x5ef237)return;const _0x431bad=_0x5ef237==null?void 0x0:_0x5ef237[_0x4ba6ba(0x220)]();for(const [_0x4c3504,_0x395905]of _0x2a9f2b['entries']())for(const [_0x4e3cce,_0x1845fb]of _0x395905[_0x4ba6ba(0x1a3)]()){const {sourceRangeInfo:_0x3fe89c}=_0x1845fb;if(_0x3fe89c[_0x4ba6ba(0x10b)]===_0x525ac9&&_0x3fe89c[_0x4ba6ba(0x103)]===_0x533b55[_0x4ba6ba(0x103)]&&_0x9cf92b[_0x4ba6ba(0x2d6)][_0x4ba6ba(0x186)](_0x3505d8,_0x3fe89c[_0x4ba6ba(0x277)])){const _0x3c8df2={'row':_0x3fe89c[_0x4ba6ba(0x277)]['startRow']-_0x3505d8[_0x4ba6ba(0x204)],'col':_0x3fe89c['range']['startColumn']-_0x3505d8[_0x4ba6ba(0x223)]},_0x1ba2e0={'unitId':_0x525ac9,'subUnitId':_0x10d5f7['subUnitId'],'sheetName':_0x431bad,'range':{'startRow':_0x3f97e6['startRow']+_0x3c8df2[_0x4ba6ba(0x100)],'endRow':_0x3f97e6[_0x4ba6ba(0x204)]+_0x3c8df2[_0x4ba6ba(0x100)]+_0x3fe89c['range'][_0x4ba6ba(0x13e)]-_0x3fe89c[_0x4ba6ba(0x277)]['startRow'],'startColumn':_0x3f97e6['startColumn']+_0x3c8df2[_0x4ba6ba(0x305)],'endColumn':_0x3f97e6[_0x4ba6ba(0x223)]+_0x3c8df2[_0x4ba6ba(0x305)]+_0x3fe89c[_0x4ba6ba(0x277)][_0x4ba6ba(0x104)]-_0x3fe89c['range'][_0x4ba6ba(0x223)]}};_0x30be1d[_0x4ba6ba(0x3a2)](_0x4e3cce,_0x1ba2e0);const _0xb89e4d={..._0x1845fb,'sourceRangeInfo':_0x1ba2e0};this['_updateModelCache'](_0x525ac9,_0x10d5f7[_0x4ba6ba(0x103)],_0x4e3cce,_0xb89e4d),this[_0x4ba6ba(0x19a)]({'unitId':_0x525ac9,'token':_0x4e3cce,'type':_0x18eb7f[_0x4ba6ba(0x2e4)],'oldSourceRangeInfo':_0x3fe89c,'dataRangeInfo':_0x1ba2e0,'targetCellInfo':_0x1845fb[_0x4ba6ba(0x1ca)]}),this[_0x4ba6ba(0x121)]({'unitId':_0x525ac9,'subUnitId':_0x10d5f7[_0x4ba6ba(0x103)],'oldSubUnitId':_0x4c3504,'pivotTableId':_0x4e3cce,'pivotTableConfig':_0xb89e4d,'collectionConfig':_0x30be1d[_0x4ba6ba(0x3b5)]()});}}}}[_0x3dc404(0x19a)](_0x292351){const _0x51fc98=_0x3dc404;this['_collectionChange$'][_0x51fc98(0x155)](_0x292351);}[_0x3dc404(0x217)](_0x464a08){const _0x40a31e=_0x3dc404;let _0x550e3c=this[_0x40a31e(0xd8)][_0x40a31e(0x1b1)](_0x464a08);return _0x550e3c||(_0x550e3c=new _0x43007c(this,this[_0x40a31e(0x206)]),this['_dataFieldManagerCollection'][_0x40a31e(0x1fd)](_0x464a08,_0x550e3c)),_0x550e3c;}[_0x3dc404(0x355)](_0x18e47d,_0x5d745c){const _0x2264c0=_0x3dc404;return this[_0x2264c0(0x217)](_0x18e47d)[_0x2264c0(0x119)][_0x5d745c];}[_0x3dc404(0x28c)](_0xfced3b,_0x34ccb4,_0xe3c9c5){const _0x2fff70=_0x3dc404;return this[_0x2fff70(0x217)](_0xfced3b)[_0x2fff70(0x28c)](_0x34ccb4,_0xe3c9c5);}['_ensurePivotMap'](_0x4e4528,_0x1eba6c){const _0x49b06d=_0x3dc404;let _0xbdbe72=this[_0x49b06d(0x237)][_0x49b06d(0x1b1)](_0x4e4528);_0xbdbe72||(_0xbdbe72=new Map(),this[_0x49b06d(0x237)][_0x49b06d(0x1fd)](_0x4e4528,_0xbdbe72));let _0x40a617=_0xbdbe72['get'](_0x1eba6c);return _0x40a617||(_0x40a617=new Map(),_0xbdbe72['set'](_0x1eba6c,_0x40a617)),_0x40a617;}['_updateModelCache'](_0x18736c,_0x51a8a6,_0x49046a,_0xa58284){const _0x4ade79=_0x3dc404;this[_0x4ade79(0x1fc)](_0x18736c,_0x51a8a6)[_0x4ade79(0x1fd)](_0x49046a,_0xa58284);}[_0x3dc404(0x398)](_0x315744,_0x4ca828,_0x51b9ab){const _0x24480e=_0x3dc404;var _0x266028,_0x4afa8e,_0x590c4d,_0x56356c;((_0x4afa8e=(_0x266028=this[_0x24480e(0x237)][_0x24480e(0x1b1)](_0x315744))==null?void 0x0:_0x266028['get'](_0x4ca828))==null?void 0x0:_0x4afa8e[_0x24480e(0x1b1)](_0x51b9ab))&&((_0x56356c=(_0x590c4d=this[_0x24480e(0x237)][_0x24480e(0x1b1)](_0x315744))==null?void 0x0:_0x590c4d[_0x24480e(0x1b1)](_0x4ca828))==null||_0x56356c[_0x24480e(0x291)](_0x51b9ab));}['_updatePivotTableInstanceCache'](_0xadbe71,_0x529921){const _0x5074d8=_0x3dc404;this[_0x5074d8(0x2f2)][_0x5074d8(0x1fd)](_0xadbe71,_0x529921);}['_deletePivotTableInstanceCache'](_0x24bb41){const _0x12bda9=_0x3dc404;this[_0x12bda9(0x2f2)][_0x12bda9(0x291)](_0x24bb41);}['_ensureViewDataMap'](_0x4b0005,_0x339709){const _0x4cbe6f=_0x3dc404;let _0x11f6a1=this[_0x4cbe6f(0x242)][_0x4cbe6f(0x1b1)](_0x4b0005);_0x11f6a1||(_0x11f6a1=new Map(),this[_0x4cbe6f(0x242)][_0x4cbe6f(0x1fd)](_0x4b0005,_0x11f6a1));let _0x1c0fc7=_0x11f6a1[_0x4cbe6f(0x1b1)](_0x339709);return _0x1c0fc7||(_0x1c0fc7=new Map(),_0x11f6a1[_0x4cbe6f(0x1fd)](_0x339709,_0x1c0fc7)),_0x1c0fc7;}[_0x3dc404(0x121)](_0x47a9bd){const _0x55c6e6=_0x3dc404,{unitId:_0x4f3796,subUnitId:_0x41ece5,pivotTableId:_0x33f28b,pivotTableConfig:_0x2dc822,collectionConfig:_0x43a055}=_0x47a9bd,_0x31699={'unitId':_0x4f3796,'subUnitId':_0x41ece5,'oldSubUnitId':_0x41ece5,'pivotTableId':_0x33f28b,'pivotTableConfig':_0x2dc822,'collectionConfig':_0x43a055};this[_0x55c6e6(0x284)]['executeCommand'](_0x479347['id'],_0x31699,{'onlyLocal':!0x0});}[_0x3dc404(0x395)](_0x54cab3,_0x4b82d2,_0x97348f,_0x38ed96,_0x13420b,_0x308a12,_0x4f1430,_0x173b77=!0x1){const _0x4a44a4=_0x3dc404;var _0x588b40;this['_commandService'][_0x4a44a4(0x285)](_0x33d353['id'],{'single':{'unitId':_0x54cab3,'subUnitId':_0x4b82d2,'type':_0x97348f,'pivotTableId':_0x38ed96,'view':_0x13420b,'pivotConfig':_0x308a12},'collectionConfig':{[_0x54cab3]:_0x4f1430}},{'onlyLocal':!0x0});const _0x23cba1=!!((_0x588b40=this[_0x4a44a4(0x363)](_0x38ed96))!=null&&_0x588b40[_0x4a44a4(0x364)]()),_0x2b2032=this[_0x4a44a4(0x17c)](_0x54cab3,_0x4b82d2,_0x38ed96);_0x2b2032&&this[_0x4a44a4(0x253)]({'view':_0x13420b,'pivotTableId':_0x38ed96,'textInfo':this[_0x4a44a4(0x1ee)](),'isEmpty':_0x23cba1,'targetCellInfo':_0x2b2032[_0x4a44a4(0x1ca)]},_0x173b77);}[_0x3dc404(0x253)](_0x2de021,_0x426e8b){const _0x43b343=_0x3dc404,{targetCellInfo:_0x5386ae,pivotTableId:_0x3dda08}=_0x2de021,{unitId:_0x4abdf0,subUnitId:_0xb23089}=_0x5386ae,_0x5775f7=this[_0x43b343(0x20b)](_0x4abdf0,_0xb23089),_0x2367d4=_0x5775f7[_0x43b343(0x1b1)](_0x3dda08);let _0x2f6d32,_0x19d72c;_0x2367d4&&(_0x2f6d32=_0x2367d4['rangeCache'],_0x19d72c=_0x2367d4[_0x43b343(0x2a1)]);const {rangesCache:_0x17cf22,matrix:_0x3d483e}=_0x7c732a(_0x2de021);_0x5775f7[_0x43b343(0x1fd)](_0x3dda08,{'rangeCache':_0x17cf22,'matrix':_0x3d483e,'oldMatrix':_0x19d72c,'oldRangeCache':_0x2f6d32}),_0x426e8b||this[_0x43b343(0x2d4)][_0x43b343(0x155)]({'unitId':_0x4abdf0,'subUnitId':_0xb23089,'pivotTableId':_0x3dda08});}[_0x3dc404(0x35b)](_0x52e853,_0x59e8cf,_0x324b16,_0x22d286,_0x592f23){const _0x30aaa8=_0x3dc404;this['_updateModelCache'](_0x52e853,_0x59e8cf,_0x324b16,_0x592f23),this[_0x30aaa8(0x1b4)](_0x324b16,_0x22d286);}[_0x3dc404(0x158)](_0x5b2a70,_0x2c299a,_0x24047e){const _0x710a96=_0x3dc404,_0x519890=this[_0x710a96(0x217)](_0x5b2a70);_0x519890[_0x710a96(0x3d7)](_0x24047e)[_0x710a96(0xfe)](_0x2a1abf=>{const _0x21476c=_0x710a96;_0x519890[_0x21476c(0x17e)](_0x2a1abf);}),this[_0x710a96(0x247)](_0x5b2a70,_0x24047e),this[_0x710a96(0x398)](_0x5b2a70,_0x2c299a,_0x24047e),this[_0x710a96(0x267)](_0x24047e);}[_0x3dc404(0x24a)](_0x396cb0,_0xcc7c5f,_0x9af650,_0x2bc59a){const _0x10beac=_0x3dc404;this[_0x10beac(0x1cc)](_0x396cb0,_0xcc7c5f,_0x9af650,_0x2bc59a);}[_0x3dc404(0x17c)](_0x194d1d,_0x299639,_0x10893f){const _0x2af805=_0x3dc404;var _0xee3cb9,_0x7fdf07;const _0x22f0fc=(_0x7fdf07=(_0xee3cb9=this[_0x2af805(0x237)][_0x2af805(0x1b1)](_0x194d1d))==null?void 0x0:_0xee3cb9[_0x2af805(0x1b1)](_0x299639))==null?void 0x0:_0x7fdf07[_0x2af805(0x1b1)](_0x10893f);if(_0x22f0fc)return _0x22f0fc;}[_0x3dc404(0x20d)](_0x2116a1,_0x587d53,_0x4a7604){const _0x1bf1bc=_0x3dc404;var _0x16845b,_0x18f362;const _0x471da0=(_0x18f362=(_0x16845b=this[_0x1bf1bc(0x237)][_0x1bf1bc(0x1b1)](_0x2116a1))==null?void 0x0:_0x16845b[_0x1bf1bc(0x1b1)](_0x587d53))==null?void 0x0:_0x18f362['get'](_0x4a7604);if(_0x471da0)return _0x471da0['fieldsConfig'];}[_0x3dc404(0x363)](_0x5a9765){const _0x2bbcc5=_0x3dc404;return this['_pivotTableInstanceCache'][_0x2bbcc5(0x1b1)](_0x5a9765);}['deleteUnitId'](_0x2e9d79){const _0x569a3c=_0x3dc404;this[_0x569a3c(0x237)][_0x569a3c(0x291)](_0x2e9d79);const _0x2cbad5=this['_dataFieldManagerCollection']['get'](_0x2e9d79);_0x2cbad5&&(_0x2cbad5[_0x569a3c(0x28f)](),this[_0x569a3c(0xd8)][_0x569a3c(0x291)](_0x2e9d79)),this[_0x569a3c(0x242)][_0x569a3c(0x291)](_0x2e9d79),this[_0x569a3c(0x2de)]['forEach'](_0x3036ab=>{const _0x140987=_0x569a3c;_0x3036ab[_0x140987(0x3b6)](_0x2e9d79);});}[_0x3dc404(0x3e5)](_0x321e62,_0x476a91,_0x5e6952,_0xc2d1f0){const _0x223fd7=_0x3dc404;return this[_0x223fd7(0x217)](_0x5e6952[_0x223fd7(0x10b)])[_0x223fd7(0x3e5)](_0x321e62,_0x476a91,_0x5e6952,_0xc2d1f0);}[_0x3dc404(0x22c)](_0x18609f){const _0x14a895=_0x3dc404;return this[_0x14a895(0x217)](_0x18609f['unitId'])[_0x14a895(0x22c)](_0x18609f);}['refreshData'](_0xbc7688,_0x5633ca,_0x645dd4){const _0x27a5cd=_0x3dc404;this[_0x27a5cd(0x217)](_0x645dd4[_0x27a5cd(0x10b)])['refreshData'](_0xbc7688,_0x5633ca,_0x645dd4);}[_0x3dc404(0x299)](_0x3e87b3,_0x152655){this['getDataFieldManager'](_0x3e87b3)['deleteDataField'](_0x152655);}[_0x3dc404(0x247)](_0x5a357d,_0xf2b272){const _0x161097=_0x3dc404;this[_0x161097(0x217)](_0x5a357d)['removeCollectionImp'](_0xf2b272);}[_0x3dc404(0x266)](_0x2a96c6,_0x5387f4){const _0x17f243=_0x3dc404;var _0x2bdc39;return(_0x2bdc39=this['_model'][_0x17f243(0x1b1)](_0x2a96c6))==null?void 0x0:_0x2bdc39[_0x17f243(0x1b1)](_0x5387f4);}[_0x3dc404(0x1bc)](_0x25c498){const _0x59b5c1=_0x3dc404;for(const [_0x114bd9,_0x216a2e]of this[_0x59b5c1(0x237)][_0x59b5c1(0x1a3)]())for(const [_0x1737df,_0x5a1baf]of _0x216a2e[_0x59b5c1(0x1a3)]())if(_0x5a1baf['has'](_0x25c498))return{'unitId':_0x114bd9,'subUnitId':_0x1737df};return null;}['sideEffectUpdateWorkerCache'](_0x374343,_0x105eae,_0xa53a25,_0x37e080){const _0x4645b9=_0x3dc404,_0x25f959=this[_0x4645b9(0x20b)](_0x374343,_0x105eae);_0x37e080?_0x25f959[_0x4645b9(0x1fd)](_0xa53a25,_0x37e080):_0x25f959['delete'](_0xa53a25),this[_0x4645b9(0x2d4)][_0x4645b9(0x155)]({'unitId':_0x374343,'subUnitId':_0x105eae,'pivotTableId':_0xa53a25});}[_0x3dc404(0x28f)](){const _0x2e64ec=_0x3dc404;super['dispose'](),this[_0x2e64ec(0x237)][_0x2e64ec(0x214)](),this[_0x2e64ec(0x2f2)][_0x2e64ec(0x214)](),this['_viewData'][_0x2e64ec(0x214)](),this[_0x2e64ec(0x1be)][_0x2e64ec(0x269)](),this['_viewData$']['complete'](),this[_0x2e64ec(0x2f9)][_0x2e64ec(0x269)](),this[_0x2e64ec(0xd8)][_0x2e64ec(0xfe)](_0x1a06cb=>_0x1a06cb[_0x2e64ec(0x28f)]()),this[_0x2e64ec(0xd8)][_0x2e64ec(0x214)]();}[_0x3dc404(0x309)](_0x3c8d26,_0x58771,_0x2b53db){const _0x2cf8f9=_0x3dc404;var _0x28c659,_0x3ec418;const _0x47fef9=(_0x3ec418=(_0x28c659=this[_0x2cf8f9(0x242)]['get'](_0x3c8d26))==null?void 0x0:_0x28c659[_0x2cf8f9(0x1b1)](_0x58771))==null?void 0x0:_0x3ec418['get'](_0x2b53db);return _0x47fef9||null;}[_0x3dc404(0x15c)](_0x553f0b){const _0xc21883=_0x3dc404;this[_0xc21883(0x2da)](_0x553f0b);}[_0x3dc404(0x2da)](_0x5b9738){const _0x422d6e=_0x3dc404,{token:_0x4fff01,unitId:_0x505afe,subUnitId:_0x442c56}=_0x5b9738,_0x2daae2=_0x505afe+'-'+_0x442c56+'-'+_0x4fff01;this[_0x422d6e(0x205)][_0x422d6e(0x1b1)](_0x2daae2)&&clearTimeout(this[_0x422d6e(0x205)]['get'](_0x2daae2));const _0x231ee9=setTimeout(()=>{const _0x55e468=_0x422d6e;this['queryDirtyPivotTable'](_0x5b9738),this[_0x55e468(0x205)][_0x55e468(0x291)](_0x2daae2);},_0x1c90ab);this[_0x422d6e(0x205)][_0x422d6e(0x1fd)](_0x2daae2,_0x231ee9);}[_0x3dc404(0x1f6)](_0x2a2865){const _0x362b82=_0x3dc404,{unitId:_0x33b692,subUnitId:_0x180eaf,token:_0x5f37dc,type:_0x1d30ae,pivotConfig:_0x1eb497}=_0x2a2865,_0x4c7dde=this[_0x362b82(0x363)](_0x5f37dc),_0x2013fc=_0x4c7dde==null?void 0x0:_0x4c7dde['query'](),_0x48f548=_0x1eb497!=null?_0x1eb497:this[_0x362b82(0x17c)](_0x33b692,_0x180eaf,_0x5f37dc);_0x48f548&&(_0x48f548[_0x362b82(0x364)]=!!(_0x4c7dde!=null&&_0x4c7dde['isEmpty']())),(_0x2013fc||_0x1d30ae===_0x20d852[_0x362b82(0x38e)])&&this[_0x362b82(0x395)](_0x33b692,_0x180eaf,_0x1d30ae,_0x5f37dc,_0x2013fc,_0x48f548,this[_0x362b82(0x217)](_0x33b692)['toJSON']());}[_0x3dc404(0x3b5)](_0x1efaaf){const _0x2fb51d=_0x3dc404,_0x54d114={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2fb51d(0x217)](_0x1efaaf)&&(_0x54d114[_0x2fb51d(0x1c6)][_0x1efaaf]=this[_0x2fb51d(0x217)](_0x1efaaf)[_0x2fb51d(0x3b5)]()),this[_0x2fb51d(0x237)][_0x2fb51d(0x1b1)](_0x1efaaf)){_0x54d114[_0x2fb51d(0x263)][_0x1efaaf]={};const _0x480f2a=this[_0x2fb51d(0x237)][_0x2fb51d(0x1b1)](_0x1efaaf);_0x480f2a!=null&&_0x480f2a[_0x2fb51d(0x128)]&&[..._0x480f2a[_0x2fb51d(0x336)]()][_0x2fb51d(0xfe)](_0xc182d5=>{const _0x218496=_0x2fb51d,_0x1d57e0=_0x480f2a[_0x218496(0x1b1)](_0xc182d5);_0x1d57e0!=null&&_0x1d57e0[_0x218496(0x128)]&&(_0x54d114[_0x218496(0x263)][_0x1efaaf][_0xc182d5]={},[..._0x1d57e0[_0x218496(0x336)]()][_0x218496(0xfe)](_0x548b1b=>{const _0x247d54=_0x218496,_0x5bd34c=_0x1d57e0[_0x247d54(0x1b1)](_0x548b1b);_0x5bd34c&&(_0x54d114[_0x247d54(0x263)][_0x1efaaf][_0xc182d5][_0x548b1b]=_0x5bd34c);}));});}return _0x54d114;}[_0x3dc404(0x106)](_0x4223db){const _0x571eaa=_0x3dc404;var _0x63870a;const {dataFieldManagerConfig:_0x531a7f,pivotTableConfigs:_0x330468}=_0x4223db;_0x531a7f&&Object['keys'](_0x531a7f)[_0x571eaa(0xfe)](_0x3980f3=>{const _0xad136b=_0x571eaa;this[_0xad136b(0x217)](_0x3980f3)['fromJSON'](_0x531a7f[_0x3980f3]);});const _0x2bd925=[];if(_0x330468){const _0x299eba=(_0x63870a=this[_0x571eaa(0x33e)][_0x571eaa(0x1b1)](_0x9cf92b['IConfigService'])[_0x571eaa(0x380)](_0x4f64c3[_0x571eaa(0x391)]))!=null?_0x63870a:{},{ls:_0x59f3f0,pbk:_0x5862e4}=_0x299eba,_0x26bb7e=_0x5e17ca(_0x3cfec6,_0x59f3f0,_0x5862e4)[_0x571eaa(0x184)];Object[_0x571eaa(0x336)](_0x330468)[_0x571eaa(0xfe)](_0x4bb65c=>{const _0x159150=_0x571eaa;let _0x304661=0x0;const _0x1dd634=_0x330468[_0x4bb65c];Object[_0x159150(0x336)](_0x1dd634)['forEach'](_0x18a951=>{const _0x194201=_0x159150,_0x3e1098=_0x1dd634[_0x18a951];Object[_0x194201(0x336)](_0x3e1098)[_0x194201(0xfe)](_0x1e682c=>{const _0x1091b3=_0x194201,_0x5b42a6=_0x3e1098[_0x1e682c];if(_0x5b42a6){if(_0x304661>=_0x26bb7e)return;_0x304661++;const _0x44e159=this[_0x1091b3(0x217)](_0x4bb65c),_0x2c4875=_0x44e159[_0x1091b3(0x119)][_0x1e682c],_0x453ad0=_0x2c4875['getFieldIds']();let _0x5e76e4=0x0;const _0x2eb138=[];for(const _0x2a9bc1 of _0x453ad0){const _0x59524e=_0x2c4875['getFieldById'](_0x2a9bc1);if(_0x399222['isBaseGroupField'](_0x59524e)){const _0x41dd53=_0x59524e['getOriginFieldId'](),_0x6befa1=_0x2c4875[_0x1091b3(0x241)](_0x41dd53);_0x6befa1&&_0x2eb138[_0x1091b3(0x34a)]([_0x59524e,_0x6befa1]);continue;}_0x44e159[_0x1091b3(0x170)](_0x2a9bc1,_0x5b42a6['sourceRangeInfo'],_0x5e76e4),_0x5e76e4++;}_0x2eb138['forEach'](([_0x3b690d,_0x1c1b70])=>{_0x3b690d['refreshGroupField'](_0x1c1b70);});const _0x32d49f=new _0x399222[(_0x1091b3(0x24d))](_0x2c4875);_0x32d49f[_0x1091b3(0x106)](_0x5b42a6[_0x1091b3(0x297)]),this['addPivotTable'](_0x4bb65c,_0x18a951,_0x1e682c,_0x32d49f,_0x5b42a6);const _0x1ecf53=_0x32d49f[_0x1091b3(0x102)]();_0x2bd925[_0x1091b3(0x34a)]({'unitId':_0x4bb65c,'subUnitId':_0x18a951,'pivotTableId':_0x1e682c,'view':_0x1ecf53['toJSON'](),'pivotConfig':_0x5b42a6,'type':_0x20d852[_0x1091b3(0x282)]});const _0x2093ec=!!_0x32d49f[_0x1091b3(0x364)](),_0x5918c9={'view':_0x1ecf53,'pivotTableId':_0x1e682c,'textInfo':this[_0x1091b3(0x1ee)](),'isEmpty':_0x2093ec,'targetCellInfo':_0x5b42a6[_0x1091b3(0x1ca)]};this[_0x1091b3(0x253)](_0x5918c9,!0x1);}});});});}_0x531a7f&&Object[_0x571eaa(0x336)](_0x531a7f)[_0x571eaa(0xfe)](_0x477569=>{const _0x432270=_0x571eaa,_0x21c38f=this[_0x432270(0x217)](_0x477569);this[_0x432270(0x2f9)]['next'](_0x21c38f[_0x432270(0x119)]);}),this[_0x571eaa(0x284)][_0x571eaa(0x285)](_0x33d353['id'],{'batch':_0x2bd925,'collectionConfig':_0x531a7f},{'onlyLocal':!0x0});}[_0x3dc404(0x32b)](){const _0x502293=_0x3dc404;this[_0x502293(0x260)](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x580674=>JSON[_0x502293(0x124)](this[_0x502293(0x3b5)](_0x580674)),'parseJson':_0x376271=>{const _0x43c95b=_0x502293;if(!_0x376271)return{};try{return JSON[_0x43c95b(0x3c1)](_0x376271);}catch{return{};}},'businesses':[_0x9cf92b[_0x502293(0x101)][_0x502293(0x2ae)]],'pluginName':_0x502233,'onLoad':(_0x524ad5,_0xf3f98d)=>{const _0x377335=_0x502293;this[_0x377335(0x106)](_0xf3f98d);},'onUnLoad':_0x52ac79=>{const _0x4d8b00=_0x502293;this[_0x4d8b00(0x3b6)](_0x52ac79);}}));}},_0x582d11[_0x3dc404(0x3c0)]=_0x4b2862([_0x440c17(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b['Injector'])),_0x440c17(0x1,_0x9cf92b[_0x3dc404(0x2f5)]),_0x440c17(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x14c)])),_0x440c17(0x3,_0x9cf92b[_0x3dc404(0x3c9)]),_0x440c17(0x4,_0x9cf92b['Inject'](_0x9cf92b[_0x3dc404(0x1e0)]))],_0x582d11[_0x3dc404(0x3c0)]);const _0x5809c5={0x0:{0x0:{'v':_0x3dc404(0x375),'s':_0x2ed832}},0x2:{0x1:{'v':'','s':_0x2ed832},0x2:{'v':'','s':_0x2ed832},0x3:{'v':_0x3dc404(0x1e1),'s':_0x2ed832},0x4:{'v':'','s':_0x2ed832},0x5:{'v':'','s':_0x2ed832}},0x3:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0x4:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0x5:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0x6:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0x7:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0x8:{0x0:{'v':_0x3dc404(0x100),'s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':_0x3dc404(0x2cb),'s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0x9:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0xa:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0xb:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0xc:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}},0xd:{0x0:{'v':'','s':_0x2ed832},0x1:{'v':'','s':_0x126c1a},0x2:{'v':'','s':_0x126c1a},0x3:{'v':'','s':_0x126c1a},0x4:{'v':'','s':_0x126c1a},0x5:{'v':'','s':_0x126c1a}}},_0x295db8={'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':[]},_0x47c976=(_0x109304,_0x347d10)=>{const _0x3114c=_0x3dc404,_0x541ad5=new _0x9cf92b[(_0x3114c(0x37c))](),_0x13f2c9=new _0x9cf92b[(_0x3114c(0x37c))](_0x5809c5),{row:_0x6dbf83,col:_0x3ec2a8}=_0x347d10;_0x13f2c9[_0x3114c(0x16e)]((_0x3073ad,_0x3251f1,_0x51ee08)=>{const _0x360aeb=_0x3114c;let _0x17d5ec='';_0x51ee08['v']===_0x360aeb(0x375)?_0x17d5ec=_0x109304[_0x360aeb(0x375)]:_0x51ee08['v']===_0x360aeb(0x100)?_0x17d5ec=_0x109304[_0x360aeb(0x100)]:_0x51ee08['v']==='column'?_0x17d5ec=_0x109304['column']:_0x51ee08['v']===_0x360aeb(0x2cb)&&(_0x17d5ec=_0x109304[_0x360aeb(0x2cb)]),_0x541ad5[_0x360aeb(0x31f)](_0x3073ad+_0x6dbf83,_0x3251f1+_0x3ec2a8,{..._0x51ee08,'v':_0x17d5ec});});const _0x1f5fb7=_0x9cf92b[_0x3114c(0x24b)][_0x3114c(0x376)](_0x295db8);return Object[_0x3114c(0x336)](_0x295db8)[_0x3114c(0xfe)](_0x31278b=>{const _0x67c9a7=_0x3114c;_0x1f5fb7[_0x31278b]=_0x295db8[_0x31278b][_0x67c9a7(0x34e)](_0x1ad941=>({..._0x1ad941,'startRow':_0x1ad941['startRow']+_0x6dbf83,'endRow':_0x1ad941[_0x67c9a7(0x13e)]+_0x6dbf83,'startColumn':_0x1ad941[_0x67c9a7(0x223)]+_0x3ec2a8,'endColumn':_0x1ad941[_0x67c9a7(0x104)]+_0x3ec2a8}));}),{'matrixCache':_0x541ad5,'rangesCache':_0x1f5fb7};};function _0x30e019(_0x1f201d,_0x21911e){const _0x293208=_0x3dc404;let _0x2047a9='';const _0x131d73=this['getTextInfo']();switch(_0x21911e){case _0x399222[_0x293208(0x165)][_0x293208(0x19f)]:_0x2047a9=_0x131d73[_0x293208(0xc4)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x184)]:_0x2047a9=_0x131d73[_0x293208(0x11e)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x2b3)]:_0x2047a9=_0x131d73[_0x293208(0x14d)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x15d)]:_0x2047a9=_0x131d73[_0x293208(0x39d)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x167)]:_0x2047a9=_0x131d73[_0x293208(0x1f2)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x31e)]:_0x2047a9=_0x131d73['sheets-pivot.productName']+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x1b9)]:_0x2047a9=_0x131d73[_0x293208(0x255)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0xc6)]:_0x2047a9=_0x131d73[_0x293208(0x21f)]+_0x1f201d;break;case _0x399222['PivotSubtotalTypeEnum']['sum']:_0x2047a9=_0x131d73[_0x293208(0x152)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)][_0x293208(0x32a)]:_0x2047a9=_0x131d73[_0x293208(0x368)]+_0x1f201d;break;case _0x399222[_0x293208(0x165)]['varp']:_0x2047a9=_0x131d73[_0x293208(0x2b4)]+_0x1f201d;break;default:_0x2047a9=_0x1f201d;break;}return _0x2047a9;}function _0x42b294(_0xbef8c7,_0x40e655,_0x205f79,_0x10585e,_0x4a237a){const _0x40b6fd=_0x3dc404;var _0x111da5,_0x2c796b,_0x461eb6,_0xead207,_0x1fd8e9;const _0x261df6=_0x9cf92b['cellToRange'](_0xbef8c7,_0x40e655),{rangesInfo:_0x449202,areaInfo:_0x19ba9f,headerMap:_0x457648}=_0x4a237a;if(!_0x449202||!_0x19ba9f||!_0x457648)return;const _0x5520df=Object['keys'](_0x449202)[_0x40b6fd(0xe1)](_0x4f6845=>_0x449202[_0x4f6845]['some'](_0x296709=>_0x9cf92b[_0x40b6fd(0x2d6)][_0x40b6fd(0x186)](_0x296709,_0x261df6))),_0x118e42=_0x19ba9f;let _0x70794a,_0xe78101,_0x16d3c3;if(_0x5520df==='rowRanges')_0x70794a=(_0x111da5=_0x118e42==null?void 0x0:_0x118e42[_0x40b6fd(0xdf)])==null?void 0x0:_0x111da5[_0xbef8c7],_0xe78101=(_0x2c796b=_0x457648==null?void 0x0:_0x457648[_0x40b6fd(0xce)])==null?void 0x0:_0x2c796b[_0x40e655],_0x16d3c3=_0xe78101==null?void 0x0:_0xe78101[_0x40b6fd(0x3b9)];else{if(_0x5520df===_0x40b6fd(0x388))_0x70794a=(_0x461eb6=_0x118e42==null?void 0x0:_0x118e42[_0x40b6fd(0x373)])==null?void 0x0:_0x461eb6[_0x40e655],_0xe78101=(_0xead207=_0x457648[_0x40b6fd(0x194)])==null?void 0x0:_0xead207[_0xbef8c7+0x1+_0x40e655-_0x449202['colRanges'][0x0]['startColumn']],_0x16d3c3=_0xe78101==null?void 0x0:_0xe78101[_0x40b6fd(0x3b9)];else{if(_0x5520df===_0x40b6fd(0x39f))_0x70794a=(_0x1fd8e9=_0x118e42==null?void 0x0:_0x118e42[_0x40b6fd(0x2ba)])==null?void 0x0:_0x1fd8e9[_0x40e655],_0x16d3c3=_0x70794a==null?void 0x0:_0x70794a[_0x40b6fd(0x3b9)];else{if(_0x5520df===_0x40b6fd(0x323)){const _0x5a9d1b=_0x205f79==null?void 0x0:_0x205f79['fi'];_0x5a9d1b!==void 0x0&&(_0x16d3c3=_0x10585e['getFilterFieldIdByIndex'](_0x5a9d1b));}}}}return{'filterId':_0x16d3c3,'info':_0x70794a,'data':_0x205f79,'headerInfo':_0xe78101};}function _0x3202fe(_0x16e78c,_0x2b4c5d,_0x31f93e){const _0x2317d1=_0x3dc404,_0x411f8b=_0x16e78c[_0x2317d1(0x1c7)],_0x2279a9=_0x411f8b[_0x2317d1(0x3a5)](),_0x29fc8f=new Set();_0x16e78c[_0x2317d1(0x3a1)](_0x3cf316=>{const _0x3ec45a=_0x2317d1;_0x29fc8f[_0x3ec45a(0x1e9)](_0x3cf316[_0x3ec45a(0x2df)]);});const _0x5e7913=_0x2279a9[_0x2317d1(0x34e)](_0x3d69d1=>{const _0x3e5473=_0x2317d1,_0x3445fe=_0x411f8b[_0x3e5473(0x241)](_0x3d69d1);return{'checked':_0x29fc8f[_0x3e5473(0x138)](_0x3d69d1),'dataFieldId':_0x3445fe['id'],'id':_0x3445fe['id'],'name':_0x411f8b[_0x3e5473(0x1f0)](_0x3445fe['id']),'type':_0x3445fe['getFieldDataType'](),'pivotTableId':_0x2b4c5d};}),_0x20d1c3=[];_0x16e78c[_0x2317d1(0x301)](_0x399222[_0x2317d1(0x3df)][_0x2317d1(0x2a6)],_0x5d69bf=>{const _0x11c0c8=_0x2317d1;_0x20d1c3['push']({'dataFieldId':_0x5d69bf[_0x11c0c8(0x2df)],'tableFieldId':_0x5d69bf[_0x11c0c8(0x26d)](),'displayName':_0x5d69bf['getDisplayName']()});});const _0x18a0e6=[];_0x16e78c[_0x2317d1(0x301)](_0x399222[_0x2317d1(0x3df)][_0x2317d1(0x160)],_0x1cf4e6=>{const _0x588c92=_0x2317d1;_0x18a0e6[_0x588c92(0x34a)]({'dataFieldId':_0x1cf4e6[_0x588c92(0x2df)],'tableFieldId':_0x1cf4e6[_0x588c92(0x26d)](),'displayName':_0x1cf4e6['getDisplayName']()});});const _0x17d296=[];if(_0x16e78c['iterateFieldByArea'](_0x399222['PivotTableFiledAreaEnum'][_0x2317d1(0x311)],_0x57e301=>{const _0x292225=_0x2317d1;_0x17d296[_0x292225(0x34a)]({'dataFieldId':_0x57e301[_0x292225(0x2df)],'tableFieldId':_0x57e301[_0x292225(0x26d)](),'displayName':_0x57e301['getDisplayName'](),'format':_0x57e301[_0x292225(0xca)](),'subTotalType':_0x57e301[_0x292225(0x34c)]()});}),_0x17d296[_0x2317d1(0xfc)]>0x1){const _0x2f2344=_0x16e78c[_0x2317d1(0x38b)]();(_0x16e78c[_0x2317d1(0x2c6)]()?_0x18a0e6:_0x20d1c3)[_0x2317d1(0x36f)](_0x2f2344,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x2317d1(0x3d2)});}const _0x56f07f=[];_0x16e78c[_0x2317d1(0x301)](_0x399222[_0x2317d1(0x3df)]['Filter'],_0x15fd2b=>{const _0x3e8701=_0x2317d1;_0x56f07f[_0x3e8701(0x34a)]({'dataFieldId':_0x15fd2b['dataFieldId'],'tableFieldId':_0x15fd2b[_0x3e8701(0x26d)](),'displayName':_0x15fd2b[_0x3e8701(0x1f0)]()});});const _0x16e8d8=_0x31f93e[_0x2317d1(0x354)];return{'sourceList':_0x5e7913,'sourceRange':_0x16e8d8,'rowFields':_0x20d1c3,'columnFields':_0x18a0e6,'valueFields':_0x17d296,'filterFields':_0x56f07f,'positionInfo':_0x31f93e['targetCellInfo']};}function _0x4452bf(_0x21b33c,_0x1de692,_0x53287f='',_0x1eda4c={}){const _0x4faacc=_0x3dc404,_0x49c3b1=_0x21b33c[_0x4faacc(0x1b1)](_0x9cf92b['LocaleService']);for(const _0x2c8aef in _0x1de692)if(Object[_0x4faacc(0x132)][_0x4faacc(0x33b)]['call'](_0x1de692,_0x2c8aef)){const _0x494e54=_0x53287f?_0x53287f+'.'+_0x2c8aef:_0x2c8aef;typeof _0x1de692[_0x2c8aef]==_0x4faacc(0x226)&&_0x1de692[_0x2c8aef]!==null&&!Array[_0x4faacc(0xe6)](_0x1de692[_0x2c8aef])?_0x4452bf(_0x21b33c,_0x1de692[_0x2c8aef],_0x494e54,_0x1eda4c):_0x1eda4c[_0x494e54]=_0x49c3b1['t'](_0x494e54);}return _0x1eda4c;}const _0x1c8bbb=_0x574075=>{const _0x58774a=_0x3dc404;if(!_0x574075)return[];const {rowRanges:_0x5b0b5a,colRanges:_0x45b1dd,cornerRanges:_0x3a2fad,dataRanges:_0x1a9edf,pageRanges:_0x1d06e7}=_0x574075,_0x5ca0eb=[..._0x45b1dd,..._0x5b0b5a,..._0x1a9edf,..._0x3a2fad][_0x58774a(0x375)](_0x56c8a9=>_0x56c8a9[_0x58774a(0x204)]>=0x0&&_0x56c8a9['startColumn']>=0x0&&_0x56c8a9[_0x58774a(0x13e)]>=0x0&&_0x56c8a9[_0x58774a(0x104)]>=0x0);let _0x4f402e=Number[_0x58774a(0x367)],_0x1c91d5=Number['MIN_SAFE_INTEGER'],_0x8ce1fb=Number[_0x58774a(0x367)],_0x5d583b=Number[_0x58774a(0x2bd)];for(let _0x1aa5b4=0x0;_0x1aa5b4<_0x5ca0eb[_0x58774a(0xfc)];_0x1aa5b4++)_0x4f402e=Math[_0x58774a(0x167)](_0x4f402e,_0x5ca0eb[_0x1aa5b4][_0x58774a(0x204)]),_0x1c91d5=Math[_0x58774a(0x15d)](_0x1c91d5,_0x5ca0eb[_0x1aa5b4][_0x58774a(0x13e)]),_0x8ce1fb=Math[_0x58774a(0x167)](_0x8ce1fb,_0x5ca0eb[_0x1aa5b4]['startColumn']),_0x5d583b=Math[_0x58774a(0x15d)](_0x5d583b,_0x5ca0eb[_0x1aa5b4][_0x58774a(0x104)]);return[..._0x1d06e7,{'startRow':_0x4f402e,'endRow':_0x1c91d5,'startColumn':_0x8ce1fb,'endColumn':_0x5d583b}];};function _0x33ea95(_0x13ca65,_0x4ecf9f){const _0x576ccd=_0x3dc404,_0x4c0514=_0x4ecf9f['params']['drillDown'],{pivotTableId:_0x444460,unitId:_0x465c65,subUnitId:_0x31bc15}=_0x4ecf9f;if(!_0x4c0514)return;const _0x2df1e2=_0x13ca65[_0x576ccd(0x1b1)](_0x582d11['SheetsPivotDataSourceModel']),_0x53e7f0=_0x2df1e2[_0x576ccd(0x363)](_0x444460),_0x39c84f=_0x2df1e2[_0x576ccd(0x17c)](_0x465c65,_0x31bc15,_0x444460);if(!_0x53e7f0||!_0x39c84f)return;const _0x2fb302=_0x53e7f0[_0x576ccd(0x303)](_0x4c0514[_0x576ccd(0x131)]);if(!(_0x2fb302!=null&&_0x2fb302[_0x576ccd(0xfc)]))return;const _0x1635c4=_0x39c84f[_0x576ccd(0x354)],{unitId:_0x411373,subUnitId:_0x5c396e,range:_0x7d2ef9}=_0x1635c4;let _0x1823d1=0x0;const _0x50b1c1=_0x53e7f0[_0x576ccd(0x1c7)][_0x576ccd(0x3a5)]()[_0x576ccd(0x126)]((_0x2a55d4,_0x4c49bb)=>{const _0x19bf08=_0x576ccd;var _0x53ff8d;const _0x4b2394=(_0x53ff8d=_0x53e7f0[_0x19bf08(0x306)](_0x4c49bb))==null?void 0x0:_0x53ff8d[_0x19bf08(0x281)]();return _0x4b2394&&(_0x2a55d4[String(_0x1823d1)]=_0x4b2394),_0x1823d1++,_0x2a55d4;},{});return{'indexes':_0x2fb302,'range':_0x7d2ef9,'sourceUnitId':_0x411373,'sourceSubUnitId':_0x5c396e,'formatMap':_0x50b1c1};}function _0x5239b9(_0xfa67e8,_0x45d216){const _0xde9b8a=_0x3dc404;if(!_0xfa67e8||!_0x45d216)return!0x0;const _0x4c0405=_0x4f64c3[_0xde9b8a(0x33f)](_0x2e7bcf,_0x1e325f),_0x3d5ec5=new Function(_0xde9b8a(0x25d)+_0x4c0405)()(_0xfa67e8,_0x45d216)[_0xde9b8a(0x2a9)],_0x135fb4=_0x4f64c3[_0xde9b8a(0x37f)](_0x3d5ec5,'sf',_0x432723);return!((_0x3d5ec5==null?void 0x0:_0x3d5ec5['rt'])===_0x4f64c3[_0xde9b8a(0x1a2)][_0xde9b8a(0x337)]&&!_0x135fb4);}function _0x5e17ca(_0x13f250,_0x14202a,_0x4309f3){const _0x4cafeb=_0x3dc404,_0x31795e={'count':_0x13f250,'timeValid':!0x1};if(!_0x14202a||!_0x4309f3)return _0x31795e;const _0x110823=_0x4f64c3[_0x4cafeb(0x33f)](_0x2e7bcf,_0x1e325f),_0x2c6dd5=new Function(_0x4cafeb(0x25d)+_0x110823)()(_0x14202a,_0x4309f3);if(_0x2c6dd5!=null&&_0x2c6dd5[_0x4cafeb(0xe3)]){const _0x103cb2=_0x2c6dd5[_0x4cafeb(0x2a9)],_0x1a38d6=_0x4f64c3[_0x4cafeb(0x37f)](_0x103cb2,'sf',_0x432723);return{'count':_0x4f64c3[_0x4cafeb(0xf4)](_0x103cb2,_0x1a38d6,_0x4cafeb(0x164),_0x13f250,_0x13f250,0x0),'timeValid':_0x1a38d6};}return _0x31795e;}function _0xfbdb4a(_0x1629dc,_0x49ee1d,_0x4c3f8d,_0x2c48fc){const _0x13ef40=_0x3dc404,_0x5abb2e={'subUnitId':_0x4c3f8d,'unitId':_0x49ee1d,'cellValue':_0x165f3c['generateNullCell'](_0x2c48fc)},_0x130718=_0x165f3c[_0x13ef40(0x19e)](_0x1629dc,_0x5abb2e);let _0x163fd3=!0x1;return new _0x9cf92b[(_0x13ef40(0x37c))](_0x130718['cellValue'])[_0x13ef40(0x16e)]((_0x515602,_0x209a67,_0x97f363)=>{const _0x3d1796=_0x13ef40;if(!_0x163fd3&&_0x97f363&&(_0x97f363[_0x3d1796(0x1d6)]||_0x97f363['f']||_0x97f363['p']||_0x97f363['s']||_0x97f363['si']||_0x97f363['t']||_0x97f363['v']))return _0x163fd3=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x165f3c[_0x13ef40(0x396)]['id'],'params':_0x130718},'setRangeValueRedoMutation':{'id':_0x165f3c['SetRangeValuesMutation']['id'],'params':_0x5abb2e},'shouldClear':_0x163fd3};}function _0x47957b(_0x31d4b1){const {row:_0x2f663f,col:_0x285747}=_0x31d4b1,_0x156259={'startRow':_0x2f663f,'endRow':_0x2f663f,'startColumn':_0x285747,'endColumn':_0x285747},_0x2094b3={'startRow':_0x2f663f+0x2,'endRow':_0x2f663f+0xe,'startColumn':_0x285747,'endColumn':_0x285747+0x6};return[_0x156259,_0x2094b3];}function _0x2ce890(_0xc2e92b,_0x180fc6,_0x133b04){const _0x3e5d13=_0x3dc404,{cornerView:_0x275fe2,rowView:_0x37093c,colView:_0x26f78a,pageView:_0x1b5b25}=_0xc2e92b,{row:_0x19f34d,col:_0x29a267}=_0x180fc6;if(_0x133b04)return{'rowCount':_0x372568+_0x19f34d,'colCount':_0x10872f+_0x29a267};const _0x1d8aa5=_0x1b5b25[_0x3e5d13(0x257)]>-0x1?_0x1b5b25[_0x3e5d13(0x257)]+0x1:0x0,_0x170963=_0x1b5b25[_0x3e5d13(0x157)]>-0x1?_0x1b5b25[_0x3e5d13(0x157)]:0x0,_0x2d259b=_0x19f34d+_0x1d8aa5+(_0x1d8aa5?0x1:0x0)+_0x275fe2[_0x3e5d13(0x1a8)]+_0x37093c[_0x3e5d13(0x1a8)],_0x2b5936=_0x29a267+_0x170963,_0x4c825d=_0x29a267+_0x275fe2[_0x3e5d13(0x3a6)]+_0x26f78a[_0x3e5d13(0x3a6)],_0x16d60a=Math['max'](_0x2b5936,_0x4c825d);return{'rowCount':_0x2d259b,'colCount':_0x16d60a};}function _0xfa0513(_0x33e21d,_0x2b6d66,_0xc76e7c,_0x4f2190){const _0x1671ad=_0x3dc404,{row:_0x5cbcbb,col:_0x3b65a7,unitId:_0x20f0e6,subUnitId:_0x558b4a}=_0xc76e7c,_0x3a1e7e=_0x2ce890(_0x2b6d66,{'row':_0x5cbcbb,'col':_0x3b65a7},_0x4f2190),_0x1e898a=_0x33e21d['get'](_0x9cf92b['IUniverInstanceService']),_0x1a270d=_0x165f3c['getSheetCommandTarget'](_0x1e898a,{'unitId':_0x20f0e6,'subUnitId':_0x558b4a}),_0x3d288b=[],_0x4e4730=[];if(!_0x1a270d)return{'undos':_0x4e4730,'redos':_0x3d288b};const {worksheet:_0x5bc7bb}=_0x1a270d,_0x1baf13=_0x5bc7bb[_0x1671ad(0x393)](),_0x259f17=_0x5bc7bb[_0x1671ad(0xfb)]();return _0x1baf13<_0x3a1e7e['rowCount']&&(_0x3d288b[_0x1671ad(0x34a)]({'id':_0x165f3c[_0x1671ad(0x29d)]['id'],'params':{'unitId':_0x20f0e6,'subUnitId':_0x558b4a,'range':{'startRow':_0x1baf13,'endRow':_0x3a1e7e[_0x1671ad(0x1a8)]-0x1,'startColumn':0x0,'endColumn':_0x259f17-0x1}}}),_0x4e4730[_0x1671ad(0x34a)]({'id':_0x165f3c[_0x1671ad(0x28b)]['id'],'params':{'unitId':_0x20f0e6,'subUnitId':_0x558b4a,'range':{'startRow':_0x1baf13,'endRow':_0x3a1e7e['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x259f17-0x1}}})),_0x259f17<_0x3a1e7e[_0x1671ad(0x3a6)]&&(_0x3d288b['push']({'id':_0x165f3c['InsertColMutation']['id'],'params':{'unitId':_0x20f0e6,'subUnitId':_0x558b4a,'range':{'startRow':0x0,'endRow':_0x1baf13-0x1,'startColumn':_0x259f17,'endColumn':_0x3a1e7e[_0x1671ad(0x3a6)]-0x1}}}),_0x4e4730['push']({'id':_0x165f3c['RemoveColMutation']['id'],'params':{'unitId':_0x20f0e6,'subUnitId':_0x558b4a,'range':{'startRow':0x0,'endRow':_0x1baf13-0x1,'startColumn':_0x259f17,'endColumn':_0x3a1e7e['colCount']-0x1}}})),{'undos':_0x4e4730,'redos':_0x3d288b};}function _0x29ffe7(_0x37e9c2){const _0xfe793d=_0x3dc404;let _0x583251=0x0;for(let _0xac0b46=0x0;_0xac0b46<_0x37e9c2[_0xfe793d(0xfc)];_0xac0b46++){const _0x1086cb=_0x37e9c2['charCodeAt'](_0xac0b46);_0x1086cb>=0x4e00&&_0x1086cb<=0x9fff||_0x1086cb>=0x3000&&_0x1086cb<=0x303f||_0x1086cb>=0xff00&&_0x1086cb<=0xffef?_0x583251+=0x2:_0x583251+=0x1;}return _0x583251;}function _0x5c9cc5(_0x1b0821,_0x1c2a5e,_0x735f12,_0x74d453){const _0x482e60=_0x3dc404;var _0xda9fe5,_0x5b3e17,_0x4e19eb,_0x4353a1;const {rowCount:_0x555ca5,colCount:_0xf53680,headerMap:_0x4908e9}=_0x1b0821,_0x22f616=0x64,_0x49139f=Math[_0x482e60(0x167)](_0x555ca5,_0x22f616),_0x5d0b32=Math[_0x482e60(0x167)](_0xf53680,_0x22f616);let _0x16d21f='',_0x290cc1=0x0;for(let _0x3e75c7=0x0;_0x3e75c7<_0x49139f;_0x3e75c7++)for(let _0x535cba=0x0;_0x535cba<_0x5d0b32;_0x535cba++){const _0x1389f4={...(_0x5b3e17=(_0xda9fe5=_0x1b0821[_0x482e60(0x1ac)])==null?void 0x0:_0xda9fe5[_0x3e75c7])==null?void 0x0:_0x5b3e17[_0x535cba]},_0x80d95f=(_0x4e19eb=_0x4908e9[_0x3e75c7])==null?void 0x0:_0x4e19eb[_0x482e60(0x3b9)],_0x2b06b5=_0x74d453[_0x80d95f];let _0x3fefda=_0x1b0821[_0x482e60(0x34f)](_0x3e75c7,_0x535cba);if(_0x1389f4){const _0x29e469=_0x735f12?_0x535cba===0x0&&((_0x4353a1=_0x1b0821[_0x482e60(0x29f)](_0x535cba+0x1))==null?void 0x0:_0x4353a1[_0x482e60(0x2cd)]):!0x1;_0x3fefda=_0x340ba5(_0x1389f4,_0x29e469,_0x2b06b5,_0x1c2a5e);}if(_0x3fefda!==void 0x0){const _0x4c487e=_0x29ffe7(String(_0x3fefda));_0x290cc1<_0x4c487e&&(_0x16d21f=String(_0x3fefda),_0x290cc1=_0x4c487e);}}return _0x16d21f;}function _0x2bf671(_0x3b86ac){const _0x21e20b=_0x3dc404,{rowCount:_0x551ddd,colCount:_0x1cb4da}=_0x3b86ac;let _0xeeeffc='',_0x5d1f7b=0x0;for(let _0x52a705=_0x551ddd-0x1;_0x52a705>0x0&&_0x52a705>_0x551ddd-0x3;_0x52a705--)for(let _0x51957a=0x0;_0x51957a<_0x1cb4da;_0x51957a++){const _0x587eba=_0x3b86ac[_0x21e20b(0x34f)](_0x52a705,_0x51957a);if(_0x587eba!==void 0x0){const _0x2cf1bb=String(_0x587eba)['length'];_0x5d1f7b<_0x2cf1bb&&(_0xeeeffc=String(_0x587eba),_0x5d1f7b=_0x2cf1bb);}}return _0xeeeffc;}function _0x4634dc(_0x5d5f97){const _0x439315=_0x3dc404,{rowCount:_0x50c6ac,colCount:_0x49ebd2}=_0x5d5f97;let _0xb67ca8='',_0xfa9c86=0x0;for(let _0x22f08c=0x0;_0x22f08c<_0x50c6ac;_0x22f08c++)for(let _0xbdf65=0x0;_0xbdf65<_0x49ebd2;_0xbdf65++){const _0x3bffce=_0x5d5f97[_0x439315(0x34f)](_0x22f08c,_0xbdf65);if(_0x3bffce!==void 0x0){const _0x1f2797=String(_0x3bffce)[_0x439315(0xfc)];_0xfa9c86<_0x1f2797&&(_0xb67ca8=String(_0x3bffce),_0xfa9c86=_0x1f2797);}}return _0xb67ca8;}function _0x3e27da(_0x4d2ea8,_0x54bebf){const _0x75ce8f=_0x3dc404,{rowFields:_0xc01e9f,columnFields:_0x541c47,valueFields:_0x971bf5,filterFields:_0x59ea47,dimension:_0x556c85,measure:_0x34312f}=_0x54bebf;for(const _0x334f67 of _0xc01e9f){const _0x37aa0a=_0x556c85[_0x334f67];_0x37aa0a&&_0x4d2ea8['getDataFieldByDataFieldId'](_0x37aa0a[_0x75ce8f(0x2df)])&&(_0x4d2ea8[_0x75ce8f(0x34d)](_0x37aa0a['dataFieldId'],_0x399222[_0x75ce8f(0x3df)]['Row'],void 0x0,_0x334f67),_0x37aa0a[_0x75ce8f(0x211)]&&_0x4d2ea8[_0x75ce8f(0x357)](_0x37aa0a['id'],_0x37aa0a[_0x75ce8f(0x211)]),_0x37aa0a['sortInfo']&&_0x4d2ea8['setSortInfo'](_0x37aa0a['id'],_0x37aa0a[_0x75ce8f(0xe4)]),_0x37aa0a['filterInfo']&&_0x4d2ea8[_0x75ce8f(0x36a)](_0x37aa0a['id'],_0x37aa0a['filterInfo']));}for(const _0x1142fc of _0x541c47){const _0x3d1db8=_0x556c85[_0x1142fc];_0x3d1db8&&_0x4d2ea8[_0x75ce8f(0x306)](_0x3d1db8['dataFieldId'])&&(_0x4d2ea8[_0x75ce8f(0x34d)](_0x3d1db8[_0x75ce8f(0x2df)],_0x399222[_0x75ce8f(0x3df)][_0x75ce8f(0x160)],void 0x0,_0x1142fc),_0x3d1db8[_0x75ce8f(0xe4)]&&_0x4d2ea8[_0x75ce8f(0x318)](_0x3d1db8['id'],_0x3d1db8[_0x75ce8f(0xe4)]),_0x3d1db8[_0x75ce8f(0x1a9)]&&_0x4d2ea8[_0x75ce8f(0x36a)](_0x3d1db8['id'],_0x3d1db8[_0x75ce8f(0x1a9)]),_0x3d1db8['displayName']&&_0x4d2ea8[_0x75ce8f(0x357)](_0x3d1db8['id'],_0x3d1db8[_0x75ce8f(0x211)]));}for(const _0x85f735 of _0x59ea47){const _0x522ed2=_0x556c85[_0x85f735];_0x522ed2&&_0x4d2ea8[_0x75ce8f(0x306)](_0x522ed2[_0x75ce8f(0x2df)])&&(_0x4d2ea8[_0x75ce8f(0x34d)](_0x522ed2[_0x75ce8f(0x2df)],_0x399222[_0x75ce8f(0x3df)][_0x75ce8f(0x231)],void 0x0,_0x85f735),_0x522ed2[_0x75ce8f(0xe4)]&&_0x4d2ea8[_0x75ce8f(0x318)](_0x522ed2['id'],_0x522ed2[_0x75ce8f(0xe4)]),_0x522ed2['filterInfo']&&_0x4d2ea8['setLabelFilterInfo'](_0x522ed2['id'],_0x522ed2['filterInfo']),_0x522ed2[_0x75ce8f(0x211)]&&_0x4d2ea8[_0x75ce8f(0x357)](_0x522ed2['id'],_0x522ed2[_0x75ce8f(0x211)]));}for(const _0x10e173 of _0x971bf5){const _0x2019f=_0x34312f[_0x10e173];_0x2019f&&_0x4d2ea8[_0x75ce8f(0x306)](_0x2019f[_0x75ce8f(0x2df)])&&(_0x4d2ea8['addFieldWithSourceId'](_0x2019f[_0x75ce8f(0x2df)],_0x399222[_0x75ce8f(0x3df)]['Value'],void 0x0,_0x10e173),_0x2019f['subtotal']!==void 0x0&&_0x4d2ea8[_0x75ce8f(0x39e)](_0x10e173,_0x2019f[_0x75ce8f(0x38a)]),_0x2019f[_0x75ce8f(0x2f7)]&&_0x4d2ea8[_0x75ce8f(0x1d7)](_0x10e173,_0x2019f[_0x75ce8f(0x2f7)]),_0x2019f[_0x75ce8f(0x211)]&&_0x4d2ea8[_0x75ce8f(0x357)](_0x2019f['id'],_0x2019f[_0x75ce8f(0x211)]));}const _0x2d3a74=_0x54bebf[_0x75ce8f(0x3da)];for(const {fieldId:_0x48d00f,filterInfo:_0x4d5d9e}of _0x2d3a74)_0x4d2ea8['setValueFilterInfo'](_0x48d00f,_0x4d5d9e);}function _0x542f26(_0x32e6d3,_0x3c1158){const _0x47c231=_0x3dc404,_0x5166e2=[];_0x3c1158===_0x399222[_0x47c231(0x3df)]['Row']&&_0x32e6d3[_0x47c231(0x301)](_0x399222[_0x47c231(0x3df)][_0x47c231(0x2a6)],_0x542254=>{const _0x4d96b8=_0x47c231;_0x5166e2[_0x4d96b8(0x34a)](_0x542254[_0x4d96b8(0x26d)]());}),_0x3c1158===_0x399222[_0x47c231(0x3df)][_0x47c231(0x160)]&&_0x32e6d3['iterateFieldByArea'](_0x399222[_0x47c231(0x3df)][_0x47c231(0x160)],_0x4f6b1b=>{const _0x5b9439=_0x47c231;_0x5166e2[_0x5b9439(0x34a)](_0x4f6b1b[_0x5b9439(0x26d)]());}),_0x3c1158===_0x399222['PivotTableFiledAreaEnum']['Filter']&&_0x32e6d3['iterateFieldByArea'](_0x399222[_0x47c231(0x3df)][_0x47c231(0x231)],_0x5cc8ba=>{const _0x4889a7=_0x47c231;_0x5166e2[_0x4889a7(0x34a)](_0x5cc8ba[_0x4889a7(0x26d)]());}),_0x3c1158===_0x399222['PivotTableFiledAreaEnum'][_0x47c231(0x311)]&&_0x32e6d3['iterateFieldByArea'](_0x399222[_0x47c231(0x3df)]['Value'],_0x2ab521=>{const _0x473a77=_0x47c231;_0x5166e2[_0x473a77(0x34a)](_0x2ab521[_0x473a77(0x26d)]());}),_0x3c1158===void 0x0&&_0x32e6d3[_0x47c231(0x3a1)](_0x31b68c=>{const _0x12ec79=_0x47c231;_0x5166e2[_0x12ec79(0x34a)](_0x31b68c[_0x12ec79(0x26d)]());});const _0x44dd31=_0x5166e2[_0x47c231(0xfc)];for(let _0x3cc6ea=_0x44dd31-0x1;_0x3cc6ea>=0x0;_0x3cc6ea--)_0x32e6d3[_0x47c231(0x1a1)](_0x5166e2[_0x3cc6ea]);const _0xb794c8=_0x32e6d3['getValueFilterInfos']();for(const _0x4b23f8 in _0xb794c8)_0x32e6d3['removeValueFilterInfo'](_0x4b23f8);}function _0x1d242b(_0xfe9f29,_0x1e0f7f){const _0x1beddc=_0x3dc404,_0x2a925a=new Date(_0x399222[_0x1beddc(0x2f4)](_0x1e0f7f)),_0x52ca2c=new Date(_0x399222[_0x1beddc(0x2f4)](_0xfe9f29)),_0x2d961f=_0x2a925a[_0x1beddc(0x1f7)](),_0x478918=_0x52ca2c[_0x1beddc(0x1f7)](),_0x10073b=_0x2a925a[_0x1beddc(0x180)](),_0x98968a=_0x52ca2c[_0x1beddc(0x180)](),_0x13b7fd=_0x2a925a[_0x1beddc(0x120)](),_0x549357=_0x52ca2c[_0x1beddc(0x120)](),_0x253862=_0x2d961f===_0x478918,_0x52e172=_0x253862&&_0x10073b===_0x98968a;return _0x253862&&_0x52e172&&!(_0x52e172&&_0x13b7fd===_0x549357)?_0x399222['PivotDateGroupFieldDateTypeEnum'][_0x1beddc(0xdc)]:_0x253862&&!_0x52e172?_0x399222[_0x1beddc(0x147)][_0x1beddc(0x145)]:_0x399222[_0x1beddc(0x147)][_0x1beddc(0x1cd)];}function _0x6d0657(_0x9062ff,_0x139710){const _0x2acb00=_0x3dc404,_0x45719e=_0x9062ff[_0x2acb00(0x1b1)](_0x582d11[_0x2acb00(0x3c0)])[_0x2acb00(0x1ee)]();let _0x3c5f34='';switch(_0x139710){case _0x399222[_0x2acb00(0x147)][_0x2acb00(0xdc)]:_0x3c5f34=_0x45719e[_0x2acb00(0x1cb)];break;case _0x399222[_0x2acb00(0x147)][_0x2acb00(0x145)]:_0x3c5f34=_0x45719e[_0x2acb00(0x26a)];break;case _0x399222[_0x2acb00(0x147)][_0x2acb00(0x1cd)]:_0x3c5f34=_0x45719e[_0x2acb00(0x1c9)];break;case _0x399222[_0x2acb00(0x147)]['Month']:_0x3c5f34=_0x45719e[_0x2acb00(0x24e)];break;case _0x399222['PivotDateGroupFieldDateTypeEnum']['Quarter']:_0x3c5f34=_0x45719e[_0x2acb00(0x234)];break;case _0x399222[_0x2acb00(0x147)][_0x2acb00(0x30e)]:_0x3c5f34=_0x45719e['sheets-pivot.dateGroup.date'];break;case _0x399222['PivotDateGroupFieldDateTypeEnum'][_0x2acb00(0x2c9)]:_0x3c5f34=_0x45719e['sheets-pivot.dateGroup.hourMinute'];break;case _0x399222[_0x2acb00(0x147)][_0x2acb00(0x3bb)]:_0x3c5f34=_0x45719e[_0x2acb00(0x3c4)];break;case _0x399222[_0x2acb00(0x147)][_0x2acb00(0xd4)]:_0x3c5f34=_0x45719e[_0x2acb00(0x1b5)];break;case _0x399222[_0x2acb00(0x147)]['MonthDate']:_0x3c5f34=_0x45719e[_0x2acb00(0x3dd)];break;case _0x399222[_0x2acb00(0x147)]['YearQuarter']:_0x3c5f34=_0x45719e[_0x2acb00(0x2b0)];break;default:_0x3c5f34='';break;}return _0x3c5f34;}const _0x4e4898=_0x3dc404(0x3d4),_0x47acb4={};var _0x3655b4=Object[_0x3dc404(0x34b)],_0x5e66ef=(_0x50b117,_0x14dbd4,_0x44088f,_0x3dca38)=>{const _0x24baf6=_0x3dc404;for(var _0x4a16f8=_0x3dca38>0x1?void 0x0:_0x3dca38?_0x3655b4(_0x14dbd4,_0x44088f):_0x14dbd4,_0x565064=_0x50b117[_0x24baf6(0xfc)]-0x1,_0x3fc06c;_0x565064>=0x0;_0x565064--)(_0x3fc06c=_0x50b117[_0x565064])&&(_0x4a16f8=_0x3fc06c(_0x4a16f8)||_0x4a16f8);return _0x4a16f8;},_0x5cf1ba=(_0x1b3b5e,_0x52b9bc)=>(_0x1d1428,_0x1e8d93)=>_0x52b9bc(_0x1d1428,_0x1e8d93,_0x1b3b5e);_0x582d11['SheetsPivotTableConfigModel']=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x39d070,_0x352726,_0x41d45a,_0x443583,_0x11c6b2){const _0x5e76e7=_0x3dc404;super(),_0x4d8d39(this,_0x5e76e7(0x237),new Map()),_0x4d8d39(this,_0x5e76e7(0x333),new Map()),_0x4d8d39(this,_0x5e76e7(0xe8),new Map()),_0x4d8d39(this,'_pivotTableMatrixInfo',new Map()),_0x4d8d39(this,_0x5e76e7(0x3b4),new _0x1a0164['Subject']()),_0x4d8d39(this,_0x5e76e7(0xef),new _0x1a0164[(_0x5e76e7(0x3a3))]()),_0x4d8d39(this,_0x5e76e7(0x166),this[_0x5e76e7(0xef)]['asObservable']()),_0x4d8d39(this,_0x5e76e7(0x392),new _0x1a0164[(_0x5e76e7(0x3a3))]()),_0x4d8d39(this,_0x5e76e7(0x26c),this[_0x5e76e7(0x392)]['asObservable']()),_0x4d8d39(this,_0x5e76e7(0x279),{}),_0x4d8d39(this,_0x5e76e7(0x111),this['_configVersion$'][_0x5e76e7(0x3bc)]()),(this['_injector']=_0x39d070,this[_0x5e76e7(0x284)]=_0x352726,this[_0x5e76e7(0x206)]=_0x41d45a,this[_0x5e76e7(0x351)]=_0x443583,this[_0x5e76e7(0x387)]=_0x11c6b2,this[_0x5e76e7(0x341)](),this[_0x5e76e7(0x2ad)]());const _0x27b7b9=this['_configService'][_0x5e76e7(0x380)](_0x4e4898);(_0x27b7b9==null?void 0x0:_0x27b7b9[_0x5e76e7(0x2dd)])===!0x0&&this[_0x5e76e7(0x32b)]();}[_0x3dc404(0x2ad)](){const _0x40ddfe=_0x3dc404;this[_0x40ddfe(0x260)](this[_0x40ddfe(0x206)][_0x40ddfe(0x37e)](_0x9cf92b['UniverInstanceType'][_0x40ddfe(0x2ae)])['subscribe'](_0x208d44=>{const _0x574aa3=_0x40ddfe;this[_0x574aa3(0x3b6)](_0x208d44[_0x574aa3(0x1de)]());}));}[_0x3dc404(0x15e)](){this['_pivotInitCompleted$']['next'](!0x0);}[_0x3dc404(0x341)](){const _0x4a4c58=_0x3dc404,_0x127010=_0x4452bf(this[_0x4a4c58(0x33e)],_0x2fc33e,'',{});this[_0x4a4c58(0x279)]=_0x127010,this[_0x4a4c58(0x284)][_0x4a4c58(0x285)](_0x2b6fcc['id'],{'textInfo':_0x127010},{'onlyLocal':!0x0});}[_0x3dc404(0x1ee)](){return this['_textInfo'];}[_0x3dc404(0x1bd)](_0x481456,_0x564c9d,_0x3bcd,_0x55ff29,_0x4976db){const _0x231b99=_0x3dc404;this[_0x231b99(0x21d)](_0x481456,_0x564c9d,_0x3bcd,_0x55ff29),this[_0x231b99(0x1ce)](_0x481456,_0x564c9d,_0x3bcd,_0x4976db);}[_0x3dc404(0x17c)](_0x27b93e,_0x1283ae,_0x1c3944){const _0x18369b=_0x3dc404;var _0x438372;const _0x42044a=(_0x438372=this[_0x18369b(0x237)][_0x18369b(0x1b1)](_0x27b93e))==null?void 0x0:_0x438372[_0x18369b(0x1b1)](_0x1283ae);if(_0x42044a)return _0x42044a[_0x18369b(0x1b1)](_0x1c3944);}[_0x3dc404(0x3e6)](_0x3044b2,_0xc54c70){const _0x1c0763=_0x3dc404,_0x235f50=this[_0x1c0763(0x237)][_0x1c0763(0x1b1)](_0x3044b2);if(_0x235f50){for(const [_0x2f1876,_0x3d6ded]of _0x235f50[_0x1c0763(0x1a3)]())for(const [_0x2005ba,_0x11e544]of _0x3d6ded[_0x1c0763(0x1a3)]())if(_0x2005ba===_0xc54c70)return _0x11e544[_0x1c0763(0x1ca)];}}[_0x3dc404(0x1bc)](_0x3ec57b,_0x196ec3,_0x1910eb){const _0x120fa1=_0x3dc404,_0x1872cf=this[_0x120fa1(0x17c)](_0x3ec57b,_0x196ec3,_0x1910eb);return _0x1872cf==null?void 0x0:_0x1872cf[_0x120fa1(0x1ca)];}[_0x3dc404(0x266)](_0x431bfa,_0x5511a8){const _0x219c80=_0x3dc404;var _0x53d269;return(_0x53d269=this['_model']['get'](_0x431bfa))==null?void 0x0:_0x53d269[_0x219c80(0x1b1)](_0x5511a8);}[_0x3dc404(0x23e)](_0x118f4c,_0x543e7d,_0x1d46fa,_0x3b961e){const _0x3997b0=_0x3dc404,_0x440446=this[_0x3997b0(0x1fc)](_0x118f4c,_0x543e7d);_0x3b961e?_0x440446[_0x3997b0(0x1fd)](_0x1d46fa,_0x3b961e):_0x440446[_0x3997b0(0x291)](_0x1d46fa),this[_0x3997b0(0x392)]['next']({'unitId':_0x118f4c,'subUnitId':_0x543e7d,'pivotTableId':_0x1d46fa,'pivotTableConfig':_0x3b961e});}[_0x3dc404(0x355)](_0x2fca10,_0x31aa44){const _0x584317=_0x3dc404;var _0xc34b92;return(_0xc34b92=this[_0x584317(0x333)][_0x584317(0x1b1)](_0x2fca10))==null?void 0x0:_0xc34b92['collections'][_0x31aa44];}['updateCollectionConfig'](_0x3a7563,_0x2ba08c){const _0x5c50dc=_0x3dc404;this['_collectionConfigModel'][_0x5c50dc(0x1fd)](_0x3a7563,_0x2ba08c),this[_0x5c50dc(0x3b4)][_0x5c50dc(0x155)](Math[_0x5c50dc(0x20a)]());}['_ensurePivotMap'](_0x5e3f2a,_0x3937aa){const _0x57f570=_0x3dc404;let _0x65bdd0=this[_0x57f570(0x237)][_0x57f570(0x1b1)](_0x5e3f2a);_0x65bdd0||(_0x65bdd0=new Map(),this[_0x57f570(0x237)]['set'](_0x5e3f2a,_0x65bdd0));let _0x561a2b=_0x65bdd0[_0x57f570(0x1b1)](_0x3937aa);return _0x561a2b||(_0x561a2b=new Map(),_0x65bdd0[_0x57f570(0x1fd)](_0x3937aa,_0x561a2b)),_0x561a2b;}[_0x3dc404(0x2a5)](_0xdbf41c,_0x100f87){const _0x15d34f=_0x3dc404;let _0x537643=this['_pivotTableRangeInfo'][_0x15d34f(0x1b1)](_0xdbf41c);_0x537643||(_0x537643=new Map(),this[_0x15d34f(0xe8)][_0x15d34f(0x1fd)](_0xdbf41c,_0x537643));let _0x22347d=_0x537643[_0x15d34f(0x1b1)](_0x100f87);return _0x22347d||(_0x22347d=new Map(),_0x537643[_0x15d34f(0x1fd)](_0x100f87,_0x22347d)),_0x22347d;}[_0x3dc404(0x3a8)](_0xed46a8,_0x4f06c2){const _0x5c3a4c=_0x3dc404;let _0x4e3324=this['_pivotTableMatrixInfo']['get'](_0xed46a8);_0x4e3324||(_0x4e3324=new Map(),this[_0x5c3a4c(0x213)][_0x5c3a4c(0x1fd)](_0xed46a8,_0x4e3324));let _0x5a91f0=_0x4e3324[_0x5c3a4c(0x1b1)](_0x4f06c2);return _0x5a91f0||(_0x5a91f0=new Map(),_0x4e3324[_0x5c3a4c(0x1fd)](_0x4f06c2,_0x5a91f0)),_0x5a91f0;}[_0x3dc404(0x1ce)](_0x16dde7,_0x2a1ce1,_0x38df00,_0x4e3b04){const _0x117ce9=_0x3dc404;var _0x2be1e9;const _0x4ff5f1=this[_0x117ce9(0x2a5)](_0x16dde7,_0x2a1ce1),_0x6256=(_0x2be1e9=_0x4ff5f1[_0x117ce9(0x1b1)](_0x38df00))==null?void 0x0:_0x2be1e9[_0x117ce9(0x258)];_0x4ff5f1['set'](_0x38df00,{'oldRangeInfo':_0x6256,'rangeInfo':_0x4e3b04});}['updatePivotTableMatrixInfo'](_0x4aa0a0,_0x3f68c1,_0x2d033f,_0xa40b36){const _0x45fd6e=_0x3dc404;var _0x3aff83;const _0x27fe8e=this[_0x45fd6e(0x3a8)](_0x4aa0a0,_0x3f68c1),_0x19b85e=(_0x3aff83=_0x27fe8e[_0x45fd6e(0x1b1)](_0x2d033f))==null?void 0x0:_0x3aff83[_0x45fd6e(0xf0)];_0x27fe8e['set'](_0x2d033f,{'oldMatrix':_0x19b85e,'matrix':_0xa40b36});}[_0x3dc404(0x105)](_0x27bae6,_0x195bf7,_0x53ee8b){const _0x4a6222=_0x3dc404;var _0x295812,_0x4dba85;return(_0x4dba85=(_0x295812=this[_0x4a6222(0xe8)][_0x4a6222(0x1b1)](_0x27bae6))==null?void 0x0:_0x295812[_0x4a6222(0x1b1)](_0x195bf7))==null?void 0x0:_0x4dba85[_0x4a6222(0x1b1)](_0x53ee8b);}[_0x3dc404(0x137)](_0x3ec6dc,_0x8b50a1,_0x59d2da){const _0x5baff2=_0x3dc404;var _0x5d3197,_0x36e4fb;return(_0x36e4fb=(_0x5d3197=this[_0x5baff2(0x213)]['get'](_0x3ec6dc))==null?void 0x0:_0x5d3197['get'](_0x8b50a1))==null?void 0x0:_0x36e4fb['get'](_0x59d2da);}['deleteUnitId'](_0x48897b){const _0x501b34=_0x3dc404;this[_0x501b34(0x237)]['delete'](_0x48897b),this[_0x501b34(0x333)][_0x501b34(0x291)](_0x48897b);}[_0x3dc404(0x1e8)](_0x5a2aad){const _0x3829c0=_0x3dc404,_0x112455={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3829c0(0x333)]['get'](_0x5a2aad)&&(_0x112455['dataFieldManagerConfig'][_0x5a2aad]=this['_collectionConfigModel'][_0x3829c0(0x1b1)](_0x5a2aad)),this[_0x3829c0(0x237)]['get'](_0x5a2aad)){_0x112455[_0x3829c0(0x263)][_0x5a2aad]={};const _0x5b9c8b=this[_0x3829c0(0x237)][_0x3829c0(0x1b1)](_0x5a2aad);_0x5b9c8b!=null&&_0x5b9c8b[_0x3829c0(0x128)]&&[..._0x5b9c8b[_0x3829c0(0x336)]()]['forEach'](_0x456049=>{const _0x54dd10=_0x3829c0,_0x571f4d=_0x5b9c8b[_0x54dd10(0x1b1)](_0x456049);_0x571f4d!=null&&_0x571f4d[_0x54dd10(0x128)]&&(_0x112455['pivotTableConfigs'][_0x5a2aad][_0x456049]={},[..._0x571f4d['keys']()][_0x54dd10(0xfe)](_0x334654=>{const _0x1110c8=_0x54dd10,_0x284a3c=_0x571f4d[_0x1110c8(0x1b1)](_0x334654);_0x284a3c&&(_0x112455[_0x1110c8(0x263)][_0x5a2aad][_0x456049][_0x334654]=_0x284a3c);}));});}return _0x112455;}['_initSnapshot'](){const _0x4c3225=_0x3dc404;this[_0x4c3225(0x260)](this[_0x4c3225(0x351)]['registerPluginResource']({'toJson':_0x2fcb41=>JSON['stringify'](this[_0x4c3225(0x1e8)](_0x2fcb41)),'parseJson':_0x5cacc4=>({}),'businesses':[_0x9cf92b[_0x4c3225(0x101)][_0x4c3225(0x2ae)]],'pluginName':_0x502233,'onLoad':(_0x4c30f8,_0x3158d7)=>{},'onUnLoad':_0x11608a=>{this['deleteUnitId'](_0x11608a);}}));}},_0x582d11[_0x3dc404(0x2a8)]=_0x5e66ef([_0x5cf1ba(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x175)])),_0x5cf1ba(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x3c9)])),_0x5cf1ba(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x2f5)])),_0x5cf1ba(0x3,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x1e0)])),_0x5cf1ba(0x4,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x2fe)]))],_0x582d11[_0x3dc404(0x2a8)]);var _0x53e95a=Object[_0x3dc404(0x34b)],_0x20e7a6=(_0x2492fe,_0x55006c,_0x23c263,_0x2888f1)=>{for(var _0x38909d=_0x2888f1>0x1?void 0x0:_0x2888f1?_0x53e95a(_0x55006c,_0x23c263):_0x55006c,_0x36d06f=_0x2492fe['length']-0x1,_0x42b06d;_0x36d06f>=0x0;_0x36d06f--)(_0x42b06d=_0x2492fe[_0x36d06f])&&(_0x38909d=_0x42b06d(_0x38909d)||_0x38909d);return _0x38909d;},_0x4172f3=(_0x340d97,_0x44c66f)=>(_0x492568,_0x44d519)=>_0x44c66f(_0x492568,_0x44d519,_0x340d97);_0x582d11[_0x3dc404(0x13f)]=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x152a68,_0x509755,_0x52ac95,_0x46e57b,_0x3a3603){const _0x3af5e5=_0x3dc404;super(),_0x4d8d39(this,_0x3af5e5(0x1d2),new Map()),_0x4d8d39(this,_0x3af5e5(0x39a),new Map()),_0x4d8d39(this,'_markDirty$',new _0x1a0164[(_0x3af5e5(0x3a3))]()),_0x4d8d39(this,_0x3af5e5(0xba),this['_markDirty$']['asObservable']()),_0x4d8d39(this,_0x3af5e5(0x3d9),new _0x1a0164['Subject']()),_0x4d8d39(this,_0x3af5e5(0x2e0),this['_viewUpdate$']['asObservable']()),_0x4d8d39(this,'_textInfo'),(this[_0x3af5e5(0x296)]=_0x152a68,this[_0x3af5e5(0x33e)]=_0x509755,this[_0x3af5e5(0x30d)]=_0x52ac95,this[_0x3af5e5(0x206)]=_0x46e57b,this['_exclusiveRangeService']=_0x3a3603,this[_0x3af5e5(0x341)](),this[_0x3af5e5(0x2ad)]());}[_0x3dc404(0x2ad)](){const _0x5ed8ae=_0x3dc404;this[_0x5ed8ae(0x260)](this[_0x5ed8ae(0x206)][_0x5ed8ae(0x37e)](_0x9cf92b[_0x5ed8ae(0x101)][_0x5ed8ae(0x2ae)])[_0x5ed8ae(0xe5)](_0x35eb10=>{const _0x482c1f=_0x5ed8ae;this[_0x482c1f(0x3b6)](_0x35eb10[_0x482c1f(0x1de)]());}));}[_0x3dc404(0x341)](){this['_textInfo']=_0x4452bf(this['_injector'],_0x2fc33e,'',{});}[_0x3dc404(0x37a)](_0x2caa1c){const _0x5f3d47=_0x3dc404,{view:_0x408e6f,unitId:_0x558605,subUnitId:_0xbb647f,pivotTableId:_0x3bd9e6,type:_0x46a591}=_0x2caa1c,_0x583a79=this[_0x5f3d47(0x30d)][_0x5f3d47(0x17c)](_0x558605,_0xbb647f,_0x3bd9e6);if(!_0x408e6f||!_0x583a79||_0x46a591===_0x20d852[_0x5f3d47(0x38e)])return;const {pageView:_0x5a2d65,cornerView:_0x234ca4,rowView:_0x2fa566,colView:_0x1bc034,dataView:_0xee44cd}=_0x408e6f,_0x48ecb9=_0x583a79['targetCellInfo'],_0x58b909=_0x583a79[_0x5f3d47(0x364)],_0x4a9e6c=this['_ensurePivotItemRenderValueMatrixCache'](_0x558605,_0xbb647f),_0x2e8617=this[_0x5f3d47(0x1bf)](_0x558605,_0xbb647f,_0x3bd9e6);if(_0x58b909)return this[_0x5f3d47(0x245)](_0x2caa1c,_0x4a9e6c,_0x48ecb9,_0x2e8617);{const _0x3caaa0=_0x7e091f(_0x48ecb9,_0x5a2d65,!0x0),_0x1520ec=_0x5a2d65[_0x5f3d47(0x257)]>=0x0?_0x5a2d65[_0x5f3d47(0x257)]+0x1:0x0,_0x1171f6=_0x234ca4['getRowCount'](),_0x329cf1=_0x234ca4[_0x5f3d47(0x2d9)](),_0x5412c7=_0x3caaa0[_0x5f3d47(0xfc)]>0x0?_0x301d16:0x0,_0x5ba9fc=_0x7e091f({'row':_0x48ecb9[_0x5f3d47(0x100)]+_0x1520ec+_0x5412c7,'col':_0x48ecb9[_0x5f3d47(0x305)]},_0x234ca4,!0x1,!0x1),_0x23a3f5=_0x7e091f({'row':_0x48ecb9[_0x5f3d47(0x100)]+_0x1520ec+_0x5412c7+_0x1171f6,'col':_0x48ecb9[_0x5f3d47(0x305)]},_0x2fa566,!0x1,!0x0),_0x45e5d6=_0x7e091f({'row':_0x48ecb9[_0x5f3d47(0x100)]+_0x1520ec+_0x5412c7,'col':_0x48ecb9[_0x5f3d47(0x305)]+_0x329cf1},_0x1bc034,!0x1,!0x0),_0x395f65=_0x7e091f({'row':_0x48ecb9['row']+_0x1520ec+_0x5412c7+_0x1171f6,'col':_0x48ecb9[_0x5f3d47(0x305)]+_0x329cf1},_0xee44cd,!0x1,!0x1);_0x2e8617[_0x5f3d47(0x201)]={'rowRanges':_0x23a3f5,'colRanges':_0x45e5d6,'cornerRanges':_0x5ba9fc,'dataRanges':_0x395f65,'pageRanges':_0x3caaa0};const _0x54ef3f=_0x19d145(this['_injector'],_0x408e6f,_0x583a79,this[_0x5f3d47(0x279)]),{valueMatrix:_0x1936ea,rowInfo:_0x3c39a7,colInfo:_0x57015f,cornerInfo:_0x134229,rowHeaderMap:_0x16d253,colHeaderMap:_0x3cd358}=_0x54ef3f;return _0x2e8617[_0x5f3d47(0x347)]={'rowInfo':_0x3c39a7,'colInfo':_0x57015f,'cornerInfo':_0x134229},_0x2e8617['headerMap']={'rowHeaderMap':_0x16d253,'colHeaderMap':_0x3cd358},_0x1936ea[_0x5f3d47(0xfe)]((_0x6ca81e,_0x3468c7)=>{const _0x5de028=_0x5f3d47;Object[_0x5de028(0x336)](_0x3468c7)['forEach'](_0x45da90=>{const _0x46bc73=_0x5de028,_0x43a517=+_0x45da90,_0x2f65fe=_0x1936ea['getValue'](_0x6ca81e,_0x43a517);_0x4a9e6c[_0x46bc73(0x31f)](_0x6ca81e,_0x43a517,_0x2f65fe);});}),this[_0x5f3d47(0x3d9)]['next']({'unitId':_0x558605,'subUnitId':_0xbb647f,'valueMatrix':_0x4a9e6c,'rangesCache':_0x2e8617[_0x5f3d47(0x201)],'pivotTableId':_0x3bd9e6,'type':_0x2caa1c[_0x5f3d47(0x11c)]}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x558605,_0xbb647f,_0x3bd9e6,_0x4a9e6c,_0x2e8617['rangesInfo']),this[_0x5f3d47(0xcd)]['addExclusiveRange'](_0x558605,_0xbb647f,_0x19c1b4,this[_0x5f3d47(0x20c)](_0x2e8617[_0x5f3d47(0x201)],_0x3bd9e6)),{'rangeCache':_0x2e8617[_0x5f3d47(0x201)],'matrix':_0x4a9e6c};}}[_0x3dc404(0x245)](_0x55b509,_0x39c9cc,_0x42f6b1,_0x257c85){const _0x2a64f9=_0x3dc404,_0x51ec98=this['_localeService']['t'],{unitId:_0x389fc4,subUnitId:_0x51bdb0,pivotTableId:_0x5271e0}=_0x55b509,_0x1d6ca3={'filter':_0x51ec98(_0x2a64f9(0x181)),'row':_0x51ec98(_0x2a64f9(0x386)),'column':_0x51ec98(_0x2a64f9(0x3d3)),'values':_0x51ec98('sheets-pivot.emptyPivot.values')},{matrixCache:_0x46b293,rangesCache:_0x25593e}=_0x47c976(_0x1d6ca3,_0x42f6b1);return _0x46b293['forValue']((_0x375e4e,_0x3681ad,_0x3fc62d)=>{const _0xa50747=_0x2a64f9;_0x39c9cc[_0xa50747(0x31f)](_0x375e4e,_0x3681ad,_0x3fc62d);}),_0x257c85['rangesInfo']=_0x25593e,this[_0x2a64f9(0x3d9)]['next']({'unitId':_0x389fc4,'subUnitId':_0x51bdb0,'valueMatrix':_0x39c9cc,'rangesCache':_0x25593e,'pivotTableId':_0x5271e0,'type':_0x55b509[_0x2a64f9(0x11c)],'isEmpty':!0x0}),this[_0x2a64f9(0x30d)]['updateViewInfo'](_0x389fc4,_0x51bdb0,_0x5271e0,_0x39c9cc,_0x25593e),this[_0x2a64f9(0xcd)][_0x2a64f9(0x31a)](_0x389fc4,_0x51bdb0,_0x19c1b4,this[_0x2a64f9(0x20c)](_0x25593e,_0x5271e0)),{'rangeCache':_0x257c85[_0x2a64f9(0x201)],'matrix':_0x39c9cc};}[_0x3dc404(0x20c)](_0x1a416f,_0x42fdbb){const _0x484747=_0x3dc404,_0x804386=[],_0x318f0c=_0x1c8bbb(_0x1a416f);for(const _0x4c9162 of _0x318f0c)_0x804386[_0x484747(0x34a)]({'groupId':_0x42fdbb,'range':_0x4c9162});return _0x804386;}['clearRenderCache'](_0x4eebd2){const _0xb4c3fe=_0x3dc404;var _0x54d70b,_0x11d5a9,_0x34d06e,_0x4c6d9f;const {pivotTableId:_0x2400c9,unitId:_0x332722,subUnitId:_0x40cc8e}=_0x4eebd2;if(!_0x2400c9||!_0x332722||!_0x40cc8e)return;const _0x29d171=this[_0xb4c3fe(0x2fb)](_0x332722,_0x40cc8e),_0x3fe632=(_0x11d5a9=(_0x54d70b=this[_0xb4c3fe(0x1d2)]['get'](_0x332722))==null?void 0x0:_0x54d70b[_0xb4c3fe(0x1b1)](_0x40cc8e))==null?void 0x0:_0x11d5a9[_0xb4c3fe(0x1b1)](_0x2400c9);if(_0x3fe632!=null&&_0x3fe632[_0xb4c3fe(0x201)]){for(const _0x22d0d2 of Object[_0xb4c3fe(0x336)](_0x3fe632[_0xb4c3fe(0x201)]))_0x3fe632[_0xb4c3fe(0x201)][_0x22d0d2][_0xb4c3fe(0xfe)](_0x440ecb=>{const _0x42a07e=_0xb4c3fe;for(let _0x56d273=_0x440ecb['startRow'];_0x56d273<=_0x440ecb['endRow'];_0x56d273++)for(let _0xe7a51=_0x440ecb[_0x42a07e(0x223)];_0xe7a51<=_0x440ecb['endColumn'];_0xe7a51++)_0x29d171['realDeleteValue'](_0x56d273,_0xe7a51);});}_0x3fe632&&((_0x4c6d9f=(_0x34d06e=this[_0xb4c3fe(0x1d2)][_0xb4c3fe(0x1b1)](_0x332722))==null?void 0x0:_0x34d06e['get'](_0x40cc8e))==null||_0x4c6d9f[_0xb4c3fe(0x291)](_0x2400c9)),this[_0xb4c3fe(0x3d9)][_0xb4c3fe(0x155)]({'unitId':_0x332722,'subUnitId':_0x40cc8e,'valueMatrix':_0x29d171,'pivotTableId':_0x2400c9,'rangesCache':void 0x0,'type':_0x4eebd2[_0xb4c3fe(0x11c)]}),this[_0xb4c3fe(0xcd)][_0xb4c3fe(0x262)](_0x332722,_0x40cc8e,_0x19c1b4,_0x2400c9);}[_0x3dc404(0x1bf)](_0x37bd08,_0x1ae6bc,_0x391713){const _0x2e5d14=_0x3dc404;var _0x1e1eed,_0x226d00,_0x1c91b8,_0x220590,_0x40e4c0,_0x12afa3;return this[_0x2e5d14(0x1d2)]['has'](_0x37bd08)||this['_pivotRenderInfoCache'][_0x2e5d14(0x1fd)](_0x37bd08,new Map()),(_0x1e1eed=this[_0x2e5d14(0x1d2)][_0x2e5d14(0x1b1)](_0x37bd08))!=null&&_0x1e1eed[_0x2e5d14(0x138)](_0x1ae6bc)||(_0x226d00=this[_0x2e5d14(0x1d2)][_0x2e5d14(0x1b1)](_0x37bd08))==null||_0x226d00['set'](_0x1ae6bc,new Map()),(_0x220590=(_0x1c91b8=this['_pivotRenderInfoCache']['get'](_0x37bd08))==null?void 0x0:_0x1c91b8['get'](_0x1ae6bc))!=null&&_0x220590[_0x2e5d14(0x138)](_0x391713)||(_0x12afa3=(_0x40e4c0=this['_pivotRenderInfoCache'][_0x2e5d14(0x1b1)](_0x37bd08))==null?void 0x0:_0x40e4c0[_0x2e5d14(0x1b1)](_0x1ae6bc))==null||_0x12afa3[_0x2e5d14(0x1fd)](_0x391713,{}),this[_0x2e5d14(0x1d2)]['get'](_0x37bd08)['get'](_0x1ae6bc)[_0x2e5d14(0x1b1)](_0x391713);}[_0x3dc404(0x2fb)](_0x5aa8b4,_0x28a331){const _0x45942a=_0x3dc404;var _0x5e470c,_0x28d1f4;return this[_0x45942a(0x39a)][_0x45942a(0x138)](_0x5aa8b4)||this[_0x45942a(0x39a)]['set'](_0x5aa8b4,new Map()),(_0x5e470c=this['_pivotRenderValueMatrixCache'][_0x45942a(0x1b1)](_0x5aa8b4))!=null&&_0x5e470c[_0x45942a(0x138)](_0x28a331)||(_0x28d1f4=this[_0x45942a(0x39a)][_0x45942a(0x1b1)](_0x5aa8b4))==null||_0x28d1f4[_0x45942a(0x1fd)](_0x28a331,new _0x9cf92b[(_0x45942a(0x37c))]()),this[_0x45942a(0x39a)][_0x45942a(0x1b1)](_0x5aa8b4)[_0x45942a(0x1b1)](_0x28a331);}[_0x3dc404(0x11f)](_0x48ce4e,_0x3d33b8,_0x59c4b3,_0x43d690){const _0x5c7653=_0x3dc404;var _0x4b8220,_0x255fd0;const _0x130dcd=(_0x255fd0=(_0x4b8220=this[_0x5c7653(0x39a)][_0x5c7653(0x1b1)](_0x48ce4e))==null?void 0x0:_0x4b8220['get'](_0x3d33b8))==null?void 0x0:_0x255fd0[_0x5c7653(0x34f)](_0x59c4b3,_0x43d690);if(_0x130dcd!=null)return _0x130dcd;}[_0x3dc404(0x271)](_0x234cde,_0x31fb67,_0x408ea5,_0x424109){const _0x2307cc=_0x3dc404;var _0x2bd964;const _0x5bc651=_0x9cf92b['cellToRange'](_0x408ea5,_0x424109),_0x4b9af6=(_0x2bd964=this[_0x2307cc(0x1d2)]['get'](_0x234cde))==null?void 0x0:_0x2bd964[_0x2307cc(0x1b1)](_0x31fb67);return _0x4b9af6?Array[_0x2307cc(0x288)](_0x4b9af6['keys']())[_0x2307cc(0xe1)](_0x5996e3=>{const _0x204094=_0x2307cc,_0x186d18=_0x4b9af6[_0x204094(0x1b1)](_0x5996e3),_0x3cfd7d=_0x186d18==null?void 0x0:_0x186d18[_0x204094(0x201)];return _0x3cfd7d?Object[_0x204094(0x336)](_0x3cfd7d)['some'](_0x38f164=>_0x3cfd7d[_0x38f164]['some'](_0x100a2d=>_0x9cf92b[_0x204094(0x2d6)][_0x204094(0x186)](_0x100a2d,_0x5bc651))):!0x1;}):void 0x0;}[_0x3dc404(0x1c0)](_0x3b7778,_0x527bf3,_0x533d5d){const _0x5886b2=_0x3dc404;var _0x7d9e65;const _0x486e41=(_0x7d9e65=this[_0x5886b2(0x1d2)][_0x5886b2(0x1b1)](_0x3b7778))==null?void 0x0:_0x7d9e65[_0x5886b2(0x1b1)](_0x527bf3),_0xcc2497=[];return _0x486e41&&Array[_0x5886b2(0x288)](_0x486e41[_0x5886b2(0x336)]())[_0x5886b2(0xfe)](_0x1fd7c3=>{const _0x561d47=_0x5886b2,_0xae6c16=_0x486e41[_0x561d47(0x1b1)](_0x1fd7c3),_0x316e19=_0xae6c16==null?void 0x0:_0xae6c16[_0x561d47(0x201)];if(_0x316e19)for(const _0x39e62f of Object['values'](_0x316e19)){let _0x37ae08=!0x1;for(const _0x20c551 of _0x39e62f)if(_0x9cf92b['Rectangle']['intersects'](_0x20c551,_0x533d5d)){_0xcc2497[_0x561d47(0x34a)](_0x1fd7c3),_0x37ae08=!0x0;break;}if(_0x37ae08)break;}}),_0xcc2497;}[_0x3dc404(0xbd)](_0x57cdfa,_0x83c2c9){const _0x21d66f=_0x3dc404;var _0x2c738c,_0x383007;return(_0x383007=(_0x2c738c=this['_pivotRenderValueMatrixCache'][_0x21d66f(0x1b1)](_0x57cdfa))==null?void 0x0:_0x2c738c[_0x21d66f(0x1b1)](_0x83c2c9))!=null?_0x383007:new _0x9cf92b[(_0x21d66f(0x37c))]();}[_0x3dc404(0x371)](_0x350f84,_0x1be1ef){const _0x587521=_0x3dc404;var _0x48b825;return(_0x48b825=this[_0x587521(0x1d2)][_0x587521(0x1b1)](_0x350f84))==null?void 0x0:_0x48b825[_0x587521(0x1b1)](_0x1be1ef);}[_0x3dc404(0x1c5)](_0x1880e7,_0x5dfaf0,_0x3bf846){const _0x2d48c0=_0x3dc404;var _0x27279b,_0x537a60;return(_0x537a60=(_0x27279b=this[_0x2d48c0(0x1d2)][_0x2d48c0(0x1b1)](_0x1880e7))==null?void 0x0:_0x27279b[_0x2d48c0(0x1b1)](_0x5dfaf0))==null?void 0x0:_0x537a60[_0x2d48c0(0x1b1)](_0x3bf846);}[_0x3dc404(0x3b6)](_0x5bd8a8){const _0x5c29c6=_0x3dc404;this[_0x5c29c6(0x1d2)][_0x5c29c6(0x291)](_0x5bd8a8),this[_0x5c29c6(0x39a)][_0x5c29c6(0x291)](_0x5bd8a8);}['markDirty'](_0x2f2a74,_0x310282){const _0x38db90=_0x3dc404;this[_0x38db90(0x112)][_0x38db90(0x155)]({'unitId':_0x2f2a74,'subUnitId':_0x310282});}},_0x582d11[_0x3dc404(0x13f)]=_0x20e7a6([_0x4172f3(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x322)])),_0x4172f3(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x175)])),_0x4172f3(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x2a8)])),_0x4172f3(0x3,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b['IUniverInstanceService'])),_0x4172f3(0x4,_0x9cf92b[_0x3dc404(0x2ff)](_0x165f3c[_0x3dc404(0x2a2)]))],_0x582d11[_0x3dc404(0x13f)]);var _0x490a7f=Object[_0x3dc404(0x34b)],_0x3cc04d=(_0x2b1419,_0x49d153,_0x242de4,_0x55dd82)=>{const _0x29c91e=_0x3dc404;for(var _0x5f2e17=_0x55dd82>0x1?void 0x0:_0x55dd82?_0x490a7f(_0x49d153,_0x242de4):_0x49d153,_0x34cc03=_0x2b1419[_0x29c91e(0xfc)]-0x1,_0x3b4e7e;_0x34cc03>=0x0;_0x34cc03--)(_0x3b4e7e=_0x2b1419[_0x34cc03])&&(_0x5f2e17=_0x3b4e7e(_0x5f2e17)||_0x5f2e17);return _0x5f2e17;},_0x397592=(_0x4bfd91,_0x5b51a6)=>(_0x12363b,_0x5832c7)=>_0x5b51a6(_0x12363b,_0x5832c7,_0x4bfd91);_0x582d11['SheetsPivotTableService']=class extends _0x9cf92b['Disposable']{constructor(_0x5ebc5e,_0x225c66){const _0x88c56b=_0x3dc404;super(),_0x4d8d39(this,_0x88c56b(0x1e7),new _0x9cf92b[(_0x88c56b(0x29e))]({'PIVOT_PERFORM_CHECK':_0x44e1c4})),_0x4d8d39(this,_0x88c56b(0x2fc),new _0x9cf92b[(_0x88c56b(0x151))]({'PIVOT_MUTATION_GENERATE':_0x3ce801})),(this['_sheetInterceptorService']=_0x5ebc5e,this['_sheetsPivotTableAdaptorModel']=_0x225c66,this['_init']());}['_init'](){this['_initViewModelBySheetInterceptor']();}[_0x3dc404(0x16d)](_0x41a3c6){const _0x4fdc8e=_0x3dc404;return this['asyncInterceptor'][_0x4fdc8e(0x168)](_0x44e1c4)(!0x1,_0x41a3c6);}[_0x3dc404(0x2ed)](){const _0x49015e=_0x3dc404;this[_0x49015e(0x260)](this[_0x49015e(0x23d)]['intercept'](_0x165f3c[_0x49015e(0x366)][_0x49015e(0x3e3)],{'priority':0xc8,'effect':_0x9cf92b[_0x49015e(0x340)][_0x49015e(0x311)]|_0x9cf92b[_0x49015e(0x340)]['Style'],'handler':(_0x194a70,_0x268b16,_0x2213f4)=>{const _0x5d6576=_0x49015e,{row:_0x4bffe4,col:_0x3d8b28,unitId:_0x1152b5,subUnitId:_0x55ae52,workbook:_0x5c9b5a}=_0x268b16,_0x412f54=this[_0x5d6576(0x200)][_0x5d6576(0x11f)](_0x1152b5,_0x55ae52,_0x4bffe4,_0x3d8b28);if(!_0x412f54)return _0x2213f4(_0x194a70);const _0x2f5c85={..._0x194a70};(_0x412f54['v']||_0x412f54['v']===0x0)&&(_0x2f5c85['v']=_0x412f54['v']),_0x412f54['t']&&(_0x2f5c85['t']=_0x412f54['t']);const _0x1e26c8=(typeof(_0x194a70==null?void 0x0:_0x194a70['s'])==_0x5d6576(0x2af)?_0x5c9b5a[_0x5d6576(0x192)]()['get'](_0x194a70==null?void 0x0:_0x194a70['s']):_0x194a70==null?void 0x0:_0x194a70['s'])||{},_0x1157a3=_0x5c9b5a[_0x5d6576(0x192)]()[_0x5d6576(0x1b1)](_0x412f54['s']),_0x50b457={..._0x1157a3,..._0x1e26c8};_0x1157a3!=null&&_0x1157a3['n']&&(_0x50b457['n']=_0x1157a3['n']);const _0x55a3ea=_0x5c9b5a['getStyles']()['setValue'](_0x50b457);return _0x2f5c85['s']=_0x55a3ea,(_0x412f54[_0x5d6576(0x1f3)]===_0x399222[_0x5d6576(0x270)][_0x5d6576(0x187)]||_0x412f54[_0x5d6576(0x1f3)]===_0x399222[_0x5d6576(0x270)][_0x5d6576(0x1df)])&&(_0x2f5c85[_0x5d6576(0x148)]={},_0x2f5c85[_0x5d6576(0x148)]['leftOffset']=_0x5d38e2),_0x2213f4(_0x2f5c85);}}));}},_0x582d11[_0x3dc404(0x163)]=_0x3cc04d([_0x397592(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x165f3c[_0x3dc404(0x1b3)])),_0x397592(0x1,_0x9cf92b['Inject'](_0x582d11[_0x3dc404(0x13f)]))],_0x582d11[_0x3dc404(0x163)]);const _0x57efd5={'id':_0x3dc404(0x32e),'type':_0x9cf92b[_0x3dc404(0x295)]['MUTATION'],'handler':(_0xfcca0f,_0x179cc2)=>{const _0x3b10c6=_0x3dc404;if(!_0x179cc2)return!0x1;if(!!_0xfcca0f[_0x3b10c6(0x1b1)](_0x9cf92b[_0x3b10c6(0x2fe)])[_0x3b10c6(0x380)](_0x3ee12c))return!0x0;const {pivotTableId:_0x58ee15,fieldJSON:_0x5b3e5d,unitId:_0x343122,subUnitId:_0x1ad539}=_0x179cc2;let _0x298849;const {dataFieldType:_0x3a7be9,id:_0x5808fb,name:_0x1bdf97,hexCode:_0x539766,originalFieldId:_0x2989a6}=_0x5b3e5d;if(_0x3a7be9===_0x399222[_0x3b10c6(0x3c3)][_0x3b10c6(0x244)]&&(_0x298849=new _0x399222[(_0x3b10c6(0x240))](_0x5808fb,_0x1bdf97,_0x539766,_0x2989a6)),!_0x298849)return!0x1;const _0x449558=_0xfcca0f[_0x3b10c6(0x1b1)](_0x582d11[_0x3b10c6(0x3c0)]),_0x22740d=_0x449558['getDataFieldManager'](_0x343122),_0x57ef49=_0x22740d[_0x3b10c6(0x355)](_0x58ee15);_0x22740d[_0x3b10c6(0x210)](_0x298849),_0x57ef49[_0x3b10c6(0x329)](_0x298849[_0x3b10c6(0x26d)](),_0x298849[_0x3b10c6(0x220)]());const _0x10b3e2=_0x57ef49['getFieldById'](_0x298849[_0x3b10c6(0xf9)]());_0x10b3e2&&_0x298849[_0x3b10c6(0x3cc)](_0x10b3e2);const _0x446f3c=_0x449558['getPivotTableConfig'](_0x343122,_0x1ad539,_0x58ee15);return _0x449558[_0x3b10c6(0x15c)]({'unitId':_0x343122,'subUnitId':_0x1ad539,'token':_0x58ee15,'type':_0x20d852[_0x3b10c6(0x1ea)],'pivotConfig':_0x446f3c}),!0x0;}},_0x1b6944={'id':'sheet.mutation.remove-group-collection','type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'handler':(_0x49ae68,_0xd596f6)=>{const _0x239545=_0x3dc404;if(!_0xd596f6)return!0x1;if(!!_0x49ae68[_0x239545(0x1b1)](_0x9cf92b[_0x239545(0x2fe)])['getConfig'](_0x3ee12c))return!0x0;const {pivotTableId:_0x25b314,dataFieldId:_0x1caaca,unitId:_0x5268bf,subUnitId:_0x3cdcd4}=_0xd596f6,_0x3ffc94=_0x49ae68[_0x239545(0x1b1)](_0x582d11[_0x239545(0x3c0)]),_0x116b90=_0x3ffc94['getDataFieldManager'](_0x5268bf);_0x116b90[_0x239545(0x355)](_0x25b314)['deleteField'](_0x1caaca);let _0x18e925=!0x0;for(const _0x9b8d0 in _0x116b90[_0x239545(0x119)])if(_0x116b90['collections'][_0x9b8d0][_0x239545(0x3a5)]()[_0x239545(0x135)](_0x1caaca)){_0x18e925=!0x1;break;}_0x18e925&&_0x116b90[_0x239545(0x17e)](_0x1caaca);const _0x45d7d5=_0x3ffc94[_0x239545(0x17c)](_0x5268bf,_0x3cdcd4,_0x25b314);return _0x3ffc94[_0x239545(0x15c)]({'unitId':_0x5268bf,'subUnitId':_0x3cdcd4,'token':_0x25b314,'type':_0x20d852[_0x239545(0x1ea)],'pivotConfig':_0x45d7d5}),!0x0;}};function _0x511f6a(_0x3ea4be,_0x60001c){const _0x254db4=_0x3dc404;switch(_0x60001c){case _0x399222['PivotTableFiledAreaEnum'][_0x254db4(0x311)]:return _0x3ea4be[_0x254db4(0x122)];case _0x399222['PivotTableFiledAreaEnum']['Filter']:return _0x3ea4be[_0x254db4(0x23c)];case _0x399222[_0x254db4(0x3df)][_0x254db4(0x2a6)]:return _0x3ea4be['rowFields'];case _0x399222[_0x254db4(0x3df)]['Column']:return _0x3ea4be[_0x254db4(0x2a0)];default:return[];}}function _0x16fb47(_0x5eefba,_0x25dc6a){const _0x8c7675=_0x3dc404;return _0x5eefba['measure'][_0x25dc6a]||_0x5eefba[_0x8c7675(0x1f9)][_0x25dc6a];}function _0x163f04(_0x23514a,_0x2aa4df){const _0x5953c6=_0x3dc404,{area:_0x1bf3a3,fieldJson:_0x4ead6f,index:_0x578204}=_0x2aa4df;_0x1bf3a3===_0x399222['PivotTableFiledAreaEnum'][_0x5953c6(0x311)]?_0x23514a[_0x5953c6(0x182)][_0x4ead6f['id']]=_0x4ead6f:_0x23514a[_0x5953c6(0x1f9)][_0x4ead6f['id']]=_0x4ead6f,_0x511f6a(_0x23514a,_0x1bf3a3)[_0x5953c6(0x36f)](_0x578204,0x0,_0x4ead6f['id']);}function _0x304a48(_0x36065c,_0x1c3d9e){const _0x3ca514=_0x3dc404,{area:_0x545dc1,fieldId:_0x38b17e,index:_0xe4b0bb}=_0x1c3d9e;_0x545dc1===_0x399222[_0x3ca514(0x3df)][_0x3ca514(0x311)]?delete _0x36065c[_0x3ca514(0x182)][_0x38b17e]:delete _0x36065c[_0x3ca514(0x1f9)][_0x38b17e],_0x511f6a(_0x36065c,_0x545dc1)[_0x3ca514(0x36f)](_0xe4b0bb,0x1);}function _0x3ad05b(_0x36e0ca,_0x463d71){const {fieldId:_0x2d70bb,name:_0x4a29d0}=_0x463d71,_0x4c6960=_0x16fb47(_0x36e0ca,_0x2d70bb);_0x4c6960&&(_0x4c6960['displayName']=_0x4a29d0);}function _0x512d7a(_0x126672,_0x13192d){const _0x57d7de=_0x3dc404,{fieldId:_0x19125e,collapse:_0x456aa7,item:_0x532922}=_0x13192d;_0x532922!==void 0x0?(_0x126672[_0x57d7de(0x153)][_0x19125e]=_0x126672['collapseInfo'][_0x19125e]||{},_0x126672[_0x57d7de(0x153)][_0x19125e][_0x532922]=_0x456aa7):_0x126672[_0x57d7de(0x153)][_0x19125e]=_0x456aa7;}function _0x1a3778(_0x492e26,_0x4f0115){const {fieldId:_0x1152fd,format:_0x376b6b}=_0x4f0115,_0x266a3c=_0x16fb47(_0x492e26,_0x1152fd);_0x266a3c&&(_0x266a3c['format']=_0x376b6b);}function _0x1fb4bb(_0xf2f99e,_0x9ce381){const _0xd9e323=_0x3dc404,{fieldId:_0x3c64ac,filterInfo:_0x287cee}=_0x9ce381,_0xad46f9=_0x16fb47(_0xf2f99e,_0x3c64ac);_0xad46f9&&(_0xad46f9[_0xd9e323(0x1a9)]=_0x287cee);}function _0x470049(_0x14deab,_0x1b49d4){const _0x15fb0a=_0x3dc404,{fieldId:_0x2533a2,filterInfo:_0x4824bf}=_0x1b49d4,_0x36c2ee=_0x14deab[_0x15fb0a(0x3da)][_0x15fb0a(0x375)](_0x30dd99=>_0x30dd99[_0x15fb0a(0x310)]!==_0x2533a2);_0x4824bf&&_0x36c2ee[_0x15fb0a(0x34a)]({'fieldId':_0x2533a2,'filterInfo':_0x4824bf}),_0x14deab['valueFilter']=_0x36c2ee;}function _0x49ec28(_0x125207,_0x48ffc6){const _0x228ff6=_0x3dc404,{fieldId:_0x14d5b3,subtotalType:_0x4b5b24}=_0x48ffc6,_0x37e16d=_0x16fb47(_0x125207,_0x14d5b3);_0x37e16d&&(_0x37e16d[_0x228ff6(0x38a)]=_0x4b5b24);}function _0x4c19fb(_0x5614d2,_0x19d29d){const _0x46489f=_0x3dc404,{fieldId:_0x348ca5,oldArea:_0x1f2510,area:_0x3281d3,oldIndex:_0x2af3ee,index:_0x311d23}=_0x19d29d,_0x3084fe=_0x1f2510!==_0x399222[_0x46489f(0x3df)][_0x46489f(0x311)]&&_0x3281d3===_0x399222[_0x46489f(0x3df)]['Value'],_0x942852=_0x1f2510===_0x399222['PivotTableFiledAreaEnum'][_0x46489f(0x311)]&&_0x3281d3!==_0x399222[_0x46489f(0x3df)][_0x46489f(0x311)];if(_0x3084fe||_0x942852){const _0x3fb6c5=_0x16fb47(_0x5614d2,_0x348ca5);_0x3fb6c5&&(_0x3084fe?(delete _0x5614d2['dimension'][_0x348ca5],_0x5614d2[_0x46489f(0x182)][_0x348ca5]=_0x3fb6c5):(delete _0x5614d2['measure'][_0x348ca5],_0x5614d2[_0x46489f(0x1f9)][_0x348ca5]=_0x3fb6c5));}const _0x3bd4a5=_0x511f6a(_0x5614d2,_0x1f2510),_0x462332=_0x511f6a(_0x5614d2,_0x3281d3);_0x3bd4a5[_0x46489f(0x36f)](_0x2af3ee,0x1),_0x462332[_0x46489f(0x36f)](_0x311d23,0x0,_0x348ca5);}function _0x5b0824(_0x4e711e,_0x1d14fd){const _0x46468f=_0x3dc404,{valuePosition:_0x1d6d54,index:_0x53af8d}=_0x1d14fd;_0x4e711e['valuePosition']=_0x1d6d54,_0x4e711e[_0x46468f(0x140)]=_0x53af8d;}function _0x4fd4ab(_0x447e84,_0x309553){const _0x3c8d2c=_0x3dc404,{tableFieldId:_0x2e6991,sourceName:_0x58f482,dataFieldId:_0x37f3eb}=_0x309553,_0x2953dd=_0x16fb47(_0x447e84,_0x2e6991);_0x2953dd&&(_0x2953dd[_0x3c8d2c(0x287)]=_0x58f482,_0x2953dd[_0x3c8d2c(0x2df)]=_0x37f3eb);}function _0xf7009a(_0x44f773,_0x5ad688){const _0x30077f=_0x3dc404,{fieldId:_0x559fda,sortInfo:_0x565d59}=_0x5ad688,_0x4653bd=_0x16fb47(_0x44f773,_0x559fda);_0x4653bd&&(_0x4653bd[_0x30077f(0xe4)]=_0x565d59);}function _0x1b9c38(_0x2c622b,_0x3bea8a){const _0x5ac518=_0x3dc404,{options:_0x12ffca}=_0x3bea8a;_0x2c622b[_0x5ac518(0xd6)]={..._0x2c622b[_0x5ac518(0xd6)],..._0x12ffca};}const _0x650ffc={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x1e3),'handler'(_0x3e817b,_0x573765){const _0x1fb6d7=_0x3dc404;if(!_0x573765)return!0x1;if(!!_0x3e817b[_0x1fb6d7(0x1b1)](_0x9cf92b['IConfigService'])['getConfig'](_0x3ee12c))return!0x0;const _0x3b560e=_0x3e817b['get'](_0x582d11[_0x1fb6d7(0x3c0)]),{pivotTableId:_0x28ec57,fieldJson:_0x8d5ee9,area:_0x5338b1,index:_0xbbef4c,unitId:_0x2bbf59,subUnitId:_0x48d5bc}=_0x573765,_0x1a8a05=_0x3b560e[_0x1fb6d7(0x363)](_0x28ec57);if(!_0x1a8a05)return!0x1;let _0x46f08e;_0x5338b1===_0x399222['PivotTableFiledAreaEnum'][_0x1fb6d7(0x311)]?_0x46f08e=_0x399222[_0x1fb6d7(0x298)](_0x8d5ee9):_0x46f08e=_0x399222['createLabelField'](_0x8d5ee9),_0x1a8a05['addField'](_0x46f08e,_0x5338b1,_0xbbef4c);const _0x50bbd3=_0x3b560e[_0x1fb6d7(0x20d)](_0x2bbf59,_0x48d5bc,_0x28ec57);_0x163f04(_0x50bbd3,_0x573765);const _0x2c38ae=_0x3b560e[_0x1fb6d7(0x17c)](_0x2bbf59,_0x48d5bc,_0x28ec57);return _0x3b560e['addDirtyPivotTable']({'unitId':_0x2bbf59,'subUnitId':_0x48d5bc,'token':_0x28ec57,'type':_0x20d852[_0x1fb6d7(0x1ea)],'pivotConfig':_0x2c38ae}),!0x0;}},_0x1deb09={'type':_0x9cf92b[_0x3dc404(0x295)]['MUTATION'],'id':_0x3dc404(0x12e),'handler'(_0x3e2983,_0x529bd1){const _0x5a831a=_0x3dc404;if(!_0x529bd1)return!0x1;if(!!_0x3e2983['get'](_0x9cf92b[_0x5a831a(0x2fe)])[_0x5a831a(0x380)](_0x3ee12c))return!0x0;const _0x69846b=_0x3e2983[_0x5a831a(0x1b1)](_0x582d11[_0x5a831a(0x3c0)]),{pivotTableId:_0x5e759d,fieldId:_0x3153da,unitId:_0x549962,subUnitId:_0x56c4a2}=_0x529bd1,_0x227136=_0x69846b[_0x5a831a(0x363)](_0x5e759d);if(!_0x227136)return!0x1;_0x227136[_0x5a831a(0x1a1)](_0x3153da);const _0x3a20fa=_0x69846b['getPivotTableModelConfig'](_0x549962,_0x56c4a2,_0x5e759d);_0x304a48(_0x3a20fa,_0x529bd1);const _0x1c1c03=_0x69846b[_0x5a831a(0x17c)](_0x549962,_0x56c4a2,_0x5e759d);return _0x69846b[_0x5a831a(0x15c)]({'unitId':_0x549962,'subUnitId':_0x56c4a2,'token':_0x5e759d,'type':_0x20d852[_0x5a831a(0x1ea)],'pivotConfig':_0x1c1c03}),!0x0;}},_0x5b87ea={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x338),'handler'(_0x2a7feb,_0x3649fe){const _0x1179f9=_0x3dc404;if(!_0x3649fe)return!0x1;if(!!_0x2a7feb[_0x1179f9(0x1b1)](_0x9cf92b[_0x1179f9(0x2fe)])[_0x1179f9(0x380)](_0x3ee12c))return!0x0;const _0x548b71=_0x2a7feb[_0x1179f9(0x1b1)](_0x582d11[_0x1179f9(0x3c0)]),{unitId:_0x4443be,subUnitId:_0x2ac049,pivotTableId:_0x4fe414,fieldId:_0xe93360,name:_0xd44e9c}=_0x3649fe,_0x4334dd=_0x548b71[_0x1179f9(0x363)](_0x4fe414);if(!_0x4334dd)return!0x1;_0x4334dd[_0x1179f9(0x357)](_0xe93360,_0xd44e9c);const _0x48abd4=_0x548b71['getPivotTableModelConfig'](_0x4443be,_0x2ac049,_0x4fe414);return _0x3ad05b(_0x48abd4,_0x3649fe),_0x548b71[_0x1179f9(0x15c)]({'unitId':_0x4443be,'subUnitId':_0x2ac049,'token':_0x4fe414,'type':_0x20d852['Set']}),!0x0;}},_0x423c02={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x321),'handler'(_0x344206,_0x244e4f){const _0x175d21=_0x3dc404;if(!_0x244e4f)return!0x1;if(!!_0x344206[_0x175d21(0x1b1)](_0x9cf92b[_0x175d21(0x2fe)])[_0x175d21(0x380)](_0x3ee12c))return!0x0;const _0x1895e1=_0x344206[_0x175d21(0x1b1)](_0x582d11[_0x175d21(0x3c0)]),{unitId:_0x6a2999,subUnitId:_0x3fb7b8,pivotTableId:_0x42659c,fieldId:_0x645b3e,collapse:_0x386951,item:_0x5a17a9}=_0x244e4f,_0x2ad301=_0x1895e1[_0x175d21(0x363)](_0x42659c);if(!_0x2ad301)return!0x1;_0x2ad301['setCollapse'](_0x645b3e,_0x386951,_0x5a17a9);const _0x1d96fa=_0x1895e1[_0x175d21(0x20d)](_0x6a2999,_0x3fb7b8,_0x42659c);return _0x512d7a(_0x1d96fa,_0x244e4f),_0x1895e1[_0x175d21(0x15c)]({'unitId':_0x6a2999,'subUnitId':_0x3fb7b8,'token':_0x42659c,'type':_0x20d852[_0x175d21(0x1ea)]}),!0x0;}},_0x1e447b={'type':_0x9cf92b[_0x3dc404(0x295)]['MUTATION'],'id':'sheet.mutation.set-pivot-format','handler'(_0x5330da,_0x48e84a){const _0x36a4ad=_0x3dc404;if(!_0x48e84a)return!0x1;if(!!_0x5330da[_0x36a4ad(0x1b1)](_0x9cf92b[_0x36a4ad(0x2fe)])[_0x36a4ad(0x380)](_0x3ee12c))return!0x0;const _0x3dbd9a=_0x5330da[_0x36a4ad(0x1b1)](_0x582d11[_0x36a4ad(0x3c0)]),{unitId:_0x2db8e3,subUnitId:_0xa9a1aa,pivotTableId:_0x2f1e9d,fieldId:_0x2bd951,format:_0x656537}=_0x48e84a,_0x2b7579=_0x3dbd9a[_0x36a4ad(0x363)](_0x2f1e9d);if(!_0x2b7579)return!0x1;_0x2b7579[_0x36a4ad(0x1d7)](_0x2bd951,_0x656537);const _0x2b0cbd=_0x3dbd9a[_0x36a4ad(0x20d)](_0x2db8e3,_0xa9a1aa,_0x2f1e9d);return _0x1a3778(_0x2b0cbd,_0x48e84a),_0x3dbd9a[_0x36a4ad(0x15c)]({'unitId':_0x2db8e3,'subUnitId':_0xa9a1aa,'token':_0x2f1e9d,'type':_0x20d852[_0x36a4ad(0x1ea)]}),!0x0;}},_0x98ff={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x23f),'handler'(_0x5dfa68,_0x49370c){const _0x30415b=_0x3dc404;if(!_0x49370c)return!0x1;if(!!_0x5dfa68[_0x30415b(0x1b1)](_0x9cf92b[_0x30415b(0x2fe)])[_0x30415b(0x380)](_0x3ee12c))return!0x0;const _0x291ef8=_0x5dfa68[_0x30415b(0x1b1)](_0x582d11[_0x30415b(0x3c0)]),{unitId:_0x3d313f,subUnitId:_0x195637,pivotTableId:_0x53bc6e,fieldId:_0x39dedb,filterInfo:_0x26a94f}=_0x49370c,_0x380366=_0x291ef8[_0x30415b(0x363)](_0x53bc6e);if(!_0x380366)return!0x1;_0x380366['setLabelFilterInfo'](_0x39dedb,_0x26a94f);const _0x38858e=_0x291ef8[_0x30415b(0x20d)](_0x3d313f,_0x195637,_0x53bc6e);return _0x1fb4bb(_0x38858e,_0x49370c),_0x291ef8[_0x30415b(0x15c)]({'unitId':_0x3d313f,'subUnitId':_0x195637,'token':_0x53bc6e,'type':_0x20d852[_0x30415b(0x1ea)]}),!0x0;}},_0x1a435f={'type':_0x9cf92b[_0x3dc404(0x295)]['MUTATION'],'id':_0x3dc404(0x229),'handler'(_0x12bd70,_0x5785e3){const _0x2a5e89=_0x3dc404;if(!_0x5785e3)return!0x1;if(!!_0x12bd70['get'](_0x9cf92b[_0x2a5e89(0x2fe)])['getConfig'](_0x3ee12c))return!0x0;const _0x38548d=_0x12bd70[_0x2a5e89(0x1b1)](_0x582d11[_0x2a5e89(0x3c0)]),{unitId:_0x3455d2,subUnitId:_0x39c1a9,pivotTableId:_0x483588,options:_0x3d8cd2}=_0x5785e3,_0x3e9e9e=_0x38548d[_0x2a5e89(0x363)](_0x483588);if(!_0x3e9e9e)return!0x1;_0x3e9e9e[_0x2a5e89(0x1d5)](_0x3d8cd2);const _0x2bae2d=_0x38548d['getPivotTableModelConfig'](_0x3455d2,_0x39c1a9,_0x483588);return _0x1b9c38(_0x2bae2d,_0x5785e3),_0x38548d[_0x2a5e89(0x15c)]({'unitId':_0x3455d2,'subUnitId':_0x39c1a9,'token':_0x483588,'type':_0x20d852[_0x2a5e89(0x1ea)]}),!0x0;}},_0x2e2457={'type':_0x9cf92b['CommandType'][_0x3dc404(0x2bc)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x10fe29,_0x473942){const _0x24e1e5=_0x3dc404;if(!_0x473942)return!0x1;if(!!_0x10fe29[_0x24e1e5(0x1b1)](_0x9cf92b['IConfigService'])[_0x24e1e5(0x380)](_0x3ee12c))return!0x0;const _0xec225a=_0x10fe29['get'](_0x582d11[_0x24e1e5(0x3c0)]),{unitId:_0x55be08,subUnitId:_0x11e63e,pivotTableId:_0x4c26eb,sortInfo:_0x1e3653,fieldId:_0x29b008}=_0x473942,_0x1b3548=_0xec225a[_0x24e1e5(0x363)](_0x4c26eb);if(!_0x1b3548)return!0x1;_0x1b3548[_0x24e1e5(0x318)](_0x29b008,_0x1e3653);const _0x14cc17=_0xec225a[_0x24e1e5(0x20d)](_0x55be08,_0x11e63e,_0x4c26eb);return _0xf7009a(_0x14cc17,_0x473942),_0xec225a[_0x24e1e5(0x15c)]({'unitId':_0x55be08,'subUnitId':_0x11e63e,'token':_0x4c26eb,'type':_0x20d852[_0x24e1e5(0x1ea)]}),!0x0;}},_0x5f043d={'type':_0x9cf92b['CommandType'][_0x3dc404(0x2bc)],'id':_0x3dc404(0x2e3),'handler'(_0x5d925d,_0xb9068b){const _0x287d00=_0x3dc404;if(!_0xb9068b)return!0x1;if(!!_0x5d925d[_0x287d00(0x1b1)](_0x9cf92b['IConfigService'])[_0x287d00(0x380)](_0x3ee12c))return!0x0;const _0x373e29=_0x5d925d[_0x287d00(0x1b1)](_0x582d11['SheetsPivotDataSourceModel']),{unitId:_0x34e09c,subUnitId:_0xdda936,pivotTableId:_0x1b081a,fieldId:_0x46d741,subtotalType:_0x13550b}=_0xb9068b,_0x35b8c1=_0x373e29[_0x287d00(0x363)](_0x1b081a);if(!_0x35b8c1)return!0x1;_0x35b8c1[_0x287d00(0x39e)](_0x46d741,_0x13550b);const _0x36a2ea=_0x373e29[_0x287d00(0x20d)](_0x34e09c,_0xdda936,_0x1b081a);return _0x49ec28(_0x36a2ea,_0xb9068b),_0x373e29[_0x287d00(0x15c)]({'unitId':_0x34e09c,'subUnitId':_0xdda936,'token':_0x1b081a,'type':_0x20d852['Set']}),!0x0;}},_0x1a2958={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x346f53,_0x2816d2){const _0x2fd0e0=_0x3dc404;if(!_0x2816d2)return!0x1;if(!!_0x346f53[_0x2fd0e0(0x1b1)](_0x9cf92b[_0x2fd0e0(0x2fe)])[_0x2fd0e0(0x380)](_0x3ee12c))return!0x0;const _0x2926b9=_0x346f53[_0x2fd0e0(0x1b1)](_0x582d11[_0x2fd0e0(0x3c0)]),{unitId:_0x5c4567,subUnitId:_0x5742c7,pivotTableId:_0x4e79ee,fieldId:_0x326c6a,filterInfo:_0x525cdd}=_0x2816d2,_0x546287=_0x2926b9[_0x2fd0e0(0x363)](_0x4e79ee);if(!_0x546287)return!0x1;_0x546287[_0x2fd0e0(0x21b)](_0x326c6a,_0x525cdd);const _0x14417c=_0x2926b9[_0x2fd0e0(0x20d)](_0x5c4567,_0x5742c7,_0x4e79ee);return _0x470049(_0x14417c,_0x2816d2),_0x2926b9[_0x2fd0e0(0x15c)]({'unitId':_0x5c4567,'subUnitId':_0x5742c7,'token':_0x4e79ee,'type':_0x20d852[_0x2fd0e0(0x1ea)]}),!0x0;}},_0x2613dd={'type':_0x9cf92b['CommandType'][_0x3dc404(0x2bc)],'id':_0x3dc404(0x2d2),'handler'(_0x1e2d5c,_0x15a09c){const _0xbf3d15=_0x3dc404;if(!_0x15a09c)return!0x1;if(!!_0x1e2d5c['get'](_0x9cf92b[_0xbf3d15(0x2fe)])['getConfig'](_0x3ee12c))return!0x0;const _0x345738=_0x1e2d5c[_0xbf3d15(0x1b1)](_0x582d11['SheetsPivotDataSourceModel']),{unitId:_0x122d1e,subUnitId:_0x1198f5,pivotTableId:_0x8fd41e,area:_0x2c78c4,index:_0x57bb74,fieldId:_0x463679}=_0x15a09c,_0xaac9ea=_0x345738[_0xbf3d15(0x363)](_0x8fd41e);if(!_0xaac9ea)return!0x1;_0xaac9ea['updateFieldPosition'](_0x463679,_0x2c78c4,_0x57bb74);const _0x59dd8b=_0x345738[_0xbf3d15(0x20d)](_0x122d1e,_0x1198f5,_0x8fd41e);return _0x4c19fb(_0x59dd8b,_0x15a09c),_0x345738['addDirtyPivotTable']({'unitId':_0x122d1e,'subUnitId':_0x1198f5,'token':_0x8fd41e,'type':_0x20d852[_0xbf3d15(0x1ea)]}),!0x0;}},_0x16ae19={'type':_0x9cf92b[_0x3dc404(0x295)]['MUTATION'],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x4ceeb3,_0x697c87){const _0x4ef992=_0x3dc404;if(!_0x697c87)return!0x1;if(!!_0x4ceeb3[_0x4ef992(0x1b1)](_0x9cf92b[_0x4ef992(0x2fe)])[_0x4ef992(0x380)](_0x3ee12c))return!0x0;const _0x479647=_0x4ceeb3[_0x4ef992(0x1b1)](_0x582d11['SheetsPivotDataSourceModel']),{unitId:_0x42aecf,subUnitId:_0x1f8aa9,pivotTableId:_0x20a337,sourceName:_0x16f9cd,dataFieldId:_0x45789e,tableFieldId:_0x1f6770}=_0x697c87,_0x8ad824=_0x479647[_0x4ef992(0x363)](_0x20a337);if(!_0x8ad824)return!0x1;_0x8ad824[_0x4ef992(0xd1)](_0x1f6770,_0x16f9cd,_0x45789e);const _0x40bfcc=_0x479647[_0x4ef992(0x20d)](_0x42aecf,_0x1f8aa9,_0x20a337);return _0x4fd4ab(_0x40bfcc,_0x697c87),_0x479647[_0x4ef992(0x15c)]({'unitId':_0x42aecf,'subUnitId':_0x1f8aa9,'token':_0x20a337,'type':_0x20d852[_0x4ef992(0x1ea)]}),!0x0;}},_0x34c4a7={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x362),'handler'(_0x42903c,_0x2f95e7){const _0x42d0bb=_0x3dc404;if(!_0x2f95e7)return!0x1;if(!!_0x42903c[_0x42d0bb(0x1b1)](_0x9cf92b[_0x42d0bb(0x2fe)])['getConfig'](_0x3ee12c))return!0x0;const _0x4c48a9=_0x42903c[_0x42d0bb(0x1b1)](_0x582d11[_0x42d0bb(0x3c0)]),{unitId:_0x53e2ee,subUnitId:_0x300be1,pivotTableId:_0x29f618,valuePosition:_0x13a172,index:_0x7fb60b}=_0x2f95e7,_0x3b61cb=_0x4c48a9['getPivotTableInstance'](_0x29f618);if(!_0x3b61cb)return!0x1;_0x3b61cb[_0x42d0bb(0x3e0)](_0x13a172,_0x7fb60b);const _0x8815c=_0x4c48a9[_0x42d0bb(0x20d)](_0x53e2ee,_0x300be1,_0x29f618);return _0x5b0824(_0x8815c,_0x2f95e7),_0x4c48a9[_0x42d0bb(0x15c)]({'unitId':_0x53e2ee,'subUnitId':_0x300be1,'token':_0x29f618,'type':_0x20d852[_0x42d0bb(0x1ea)]}),!0x0;}};function _0x3fde14(_0x343a00,_0x1e3a86,_0x52d57d){const _0x703863=_0x3dc404,{pivotTableId:_0x55d522,unitId:_0x40be90,subUnitId:_0x11dc0}=_0x1e3a86,_0x4d60eb=[],_0x670b45=[];for(const _0x5a344b of _0x52d57d)switch(_0x5a344b[_0x703863(0x11c)]){case _0x399222[_0x703863(0xd2)][_0x703863(0x3c5)]:{const {fieldJson:_0x2153dd,area:_0x42a43d,index:_0xfc932e}=_0x5a344b,_0x4c697f={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldJson':_0x2153dd,'area':_0x42a43d,'index':_0xfc932e},_0x33a35a={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x2153dd['id'],'area':_0x42a43d,'index':_0xfc932e};_0x4d60eb[_0x703863(0x34a)]({'id':_0x650ffc['id'],'params':_0x4c697f}),_0x670b45['unshift']({'id':_0x1deb09['id'],'params':_0x33a35a});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x139)]:{const {fieldId:_0x319968,newSubtotalType:_0x13268d,oldSubtotalType:_0x24c76a}=_0x5a344b,_0x8e1e27={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x319968,'subtotalType':_0x13268d};_0x4d60eb[_0x703863(0x34a)]({'id':_0x5f043d['id'],'params':_0x8e1e27});const _0x3c201c={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x319968,'subtotalType':_0x24c76a};_0x670b45[_0x703863(0x2e1)]({'id':_0x5f043d['id'],'params':_0x3c201c});}break;case _0x399222['PivotTableChangeTypeEnum']['RemoveField']:{const {fieldId:_0x5c56db,fieldJson:_0x5f3e40,area:_0x1c879f,index:_0x25f2ae}=_0x5a344b,_0x5ce4e9={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x5c56db,'index':_0x25f2ae,'area':_0x1c879f};_0x4d60eb[_0x703863(0x34a)]({'id':_0x1deb09['id'],'params':_0x5ce4e9});const _0x170ff4={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldJson':_0x5f3e40,'area':_0x1c879f,'index':_0x25f2ae};_0x670b45[_0x703863(0x2e1)]({'id':_0x650ffc['id'],'params':_0x170ff4});}break;case _0x399222['PivotTableChangeTypeEnum']['RenameField']:{const {fieldId:_0x48ee89,oldName:_0x1d0353,newName:_0x23ac3e}=_0x5a344b,_0x20ae6d={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x48ee89,'name':_0x23ac3e};_0x4d60eb[_0x703863(0x34a)]({'id':_0x5b87ea['id'],'params':_0x20ae6d});const _0x10bde5={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x48ee89,'name':_0x1d0353};_0x670b45[_0x703863(0x2e1)]({'id':_0x5b87ea['id'],'params':_0x10bde5});}break;case _0x399222['PivotTableChangeTypeEnum'][_0x703863(0x238)]:{const {fieldId:_0x2bcc42,oldFilterInfo:_0x7463c0,newFilterInfo:_0x523a01}=_0x5a344b,_0x11833a={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x2bcc42,'filterInfo':_0x523a01};_0x4d60eb[_0x703863(0x34a)]({'id':_0x98ff['id'],'params':_0x11833a});const _0x98eed2={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x2bcc42,'filterInfo':_0x7463c0};_0x670b45[_0x703863(0x2e1)]({'id':_0x98ff['id'],'params':_0x98eed2});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x146)]:{const {fieldId:_0x11b01d,oldSortInfo:_0x211e50,newSortInfo:_0x49cb21}=_0x5a344b,_0x44ce52={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x11b01d,'sortInfo':_0x49cb21};_0x4d60eb[_0x703863(0x34a)]({'id':_0x2e2457['id'],'params':_0x44ce52});const _0x33093b={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x11b01d,'sortInfo':_0x211e50};_0x670b45[_0x703863(0x2e1)]({'id':_0x2e2457['id'],'params':_0x33093b});}break;case _0x399222['PivotTableChangeTypeEnum'][_0x703863(0x1c2)]:{const {oldOptions:_0x5ca38d,newOptions:_0x338614}=_0x5a344b,_0x1d255d={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'options':_0x338614};_0x4d60eb[_0x703863(0x34a)]({'id':_0x1a435f['id'],'params':_0x1d255d});const _0x1faf0f={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'options':_0x5ca38d};_0x670b45[_0x703863(0x2e1)]({'id':_0x1a435f['id'],'params':_0x1faf0f});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x300)]:{const {oldArea:_0x57b267,newArea:_0x3454d1,oldIndex:_0x517b60,newIndex:_0x53d633,fieldId:_0xd943cc}=_0x5a344b,_0x410f7d={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0xd943cc,'area':_0x3454d1,'index':_0x53d633,'oldArea':_0x57b267,'oldIndex':_0x517b60};_0x4d60eb[_0x703863(0x34a)]({'id':_0x2613dd['id'],'params':_0x410f7d});const _0x347ffa={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0xd943cc,'area':_0x57b267,'index':_0x517b60,'oldArea':_0x3454d1,'oldIndex':_0x53d633};_0x670b45[_0x703863(0x2e1)]({'id':_0x2613dd['id'],'params':_0x347ffa});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x12c)]:{const {oldValuePosition:_0x54cc1e,newValuePosition:_0x471627,oldIndex:_0x487d0b,newIndex:_0x256890}=_0x5a344b,_0x1c0337={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'valuePosition':_0x471627,'index':_0x256890};_0x4d60eb[_0x703863(0x34a)]({'id':_0x34c4a7['id'],'params':_0x1c0337});const _0x55afed={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'valuePosition':_0x54cc1e,'index':_0x487d0b};_0x670b45[_0x703863(0x2e1)]({'id':_0x34c4a7['id'],'params':_0x55afed});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x33c)]:{const {fieldId:_0x29e733,collapse:_0x3d7dec,item:_0x1fb3cb}=_0x5a344b,_0x2e272e={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x29e733,'collapse':_0x3d7dec,'item':_0x1fb3cb};_0x4d60eb[_0x703863(0x34a)]({'id':_0x423c02['id'],'params':_0x2e272e});const _0x22ef36={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x29e733,'collapse':!_0x3d7dec,'item':_0x1fb3cb};_0x670b45[_0x703863(0x2e1)]({'id':_0x423c02['id'],'params':_0x22ef36});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x377)]:{const {newFormat:_0x3450ec,oldFormat:_0x2b22cd,fieldId:_0x4c6787}=_0x5a344b,_0x740047={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x4c6787,'format':_0x3450ec};_0x4d60eb[_0x703863(0x34a)]({'id':_0x1e447b['id'],'params':_0x740047});const _0x4eeb3e={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x4c6787,'format':_0x2b22cd};_0x670b45[_0x703863(0x2e1)]({'id':_0x1e447b['id'],'params':_0x4eeb3e});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x14f)]:{const {tableFieldId:_0x59c660,oldSourceName:_0x3b6dd7,newSourceName:_0xb50923,oldDataFieldId:_0x2a6787,newDataFieldId:_0x5280f4}=_0x5a344b,_0xa0cdcf={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'tableFieldId':_0x59c660,'sourceName':_0xb50923,'dataFieldId':_0x5280f4};_0x4d60eb['push']({'id':_0x16ae19['id'],'params':_0xa0cdcf});const _0x13bde7={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'tableFieldId':_0x59c660,'sourceName':_0x3b6dd7,'dataFieldId':_0x2a6787};_0x670b45[_0x703863(0x2e1)]({'id':_0x16ae19['id'],'params':_0x13bde7});}break;case _0x399222[_0x703863(0xd2)][_0x703863(0x1e5)]:{const {fieldId:_0x2c2616,filterInfo:_0x3b953e,oldFilterInfo:_0x59c00e}=_0x5a344b,_0x424722={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x2c2616,'filterInfo':_0x3b953e};_0x4d60eb[_0x703863(0x34a)]({'id':_0x1a2958['id'],'params':_0x424722});const _0xb62ab6={'unitId':_0x40be90,'subUnitId':_0x11dc0,'pivotTableId':_0x55d522,'fieldId':_0x2c2616,'filterInfo':_0x59c00e};_0x670b45['unshift']({'id':_0x1a2958['id'],'params':_0xb62ab6});}}return{'redos':_0x4d60eb,'undos':_0x670b45};}function _0x440085(_0x371bc3,_0xe3b118){const _0x384310=_0x3dc404;var _0x32ef67;const _0x474799=_0x371bc3[_0x384310(0x1b1)](_0x582d11[_0x384310(0x163)]),{cellInfo:_0x38ec48,view:_0x2eb9b7,isEmpty:_0x331734}=_0xe3b118;return(_0x32ef67=_0x474799['interceptor'][_0x384310(0x250)](_0x3ce801)(_0x39a6bf,{'cellInfo':_0x38ec48,'view':_0x2eb9b7,'isEmpty':_0x331734}))!=null?_0x32ef67:_0x39a6bf;}const _0xa5379e={'type':_0x9cf92b[_0x3dc404(0x295)]['COMMAND'],'id':_0x3dc404(0x2ca),async 'handler'(_0x22ba53,_0x33320d){const _0x28198f=_0x3dc404;if(!_0x33320d)return!0x1;const _0x5c62e4=_0x22ba53[_0x28198f(0x1b1)](_0x9cf92b[_0x28198f(0x3c9)]),_0x3ce482=_0x22ba53[_0x28198f(0x1b1)](_0x582d11['SheetsPivotRPCService']),_0x19bfc3=_0x22ba53[_0x28198f(0x1b1)](_0x9cf92b[_0x28198f(0xbb)]),{pivotTableId:_0x556235,dataFieldId:_0x13fd45,fieldArea:_0x4a53f0,index:_0x46c1ab,unitId:_0x3b2c83,subUnitId:_0x36afed}=_0x33320d,_0x2c99d8=(await _0x3ce482[_0x28198f(0x35c)]({'unitId':_0x3b2c83,'subUnitId':_0x36afed,'pivotTableId':_0x556235,'params':{'type':_0x4651ca[_0x28198f(0x343)],'addPivotField':{'dataFieldId':_0x13fd45,'fieldArea':_0x4a53f0,'index':_0x46c1ab}}}))['result'][_0x28198f(0x11a)];if(!_0x2c99d8)return!0x1;const {view:_0x1ff72e,changesets:_0x473de7,isEmpty:_0x67bd3f,pivotTableConfig:_0x557a41,shouldBeAddedGroupJSON:_0x213347}=_0x2c99d8,_0x1128b6=_0x557a41[_0x28198f(0x1ca)],_0xe9da42=new _0x399222['PivotView']();_0xe9da42[_0x28198f(0xcb)](_0x1ff72e);const _0x5e39ac={'cellInfo':_0x1128b6,'view':_0xe9da42,'isEmpty':_0x67bd3f};if(!await _0x22ba53['get'](_0x582d11[_0x28198f(0x163)])['asyncInterceptor'][_0x28198f(0x168)](_0x44e1c4)(!0x0,_0x5e39ac))return!0x1;const _0x473481=_0xfa0513(_0x22ba53,_0xe9da42,_0x1128b6,_0x67bd3f),_0x5908e5=_0x440085(_0x22ba53,_0x5e39ac),{undos:_0x389e2e,redos:_0xf7462}=_0x3fde14(_0x5c62e4,{'pivotTableId':_0x556235,'unitId':_0x3b2c83,'subUnitId':_0x36afed},_0x473de7);return _0x213347&&(_0xf7462[_0x28198f(0x2e1)]({'id':_0x57efd5['id'],'params':{'pivotTableId':_0x556235,'fieldJSON':_0x213347,'unitId':_0x3b2c83,'subUnitId':_0x36afed}}),_0x389e2e[_0x28198f(0x34a)]({'id':_0x1b6944['id'],'params':{'pivotTableId':_0x556235,'dataFieldId':_0x213347['id'],'unitId':_0x3b2c83,'subUnitId':_0x36afed}})),_0x9cf92b[_0x28198f(0x3c8)]([..._0x473481[_0x28198f(0x143)],..._0x5908e5[_0x28198f(0x143)],..._0xf7462],_0x5c62e4),_0x19bfc3['pushUndoRedo']({'unitID':_0x3b2c83,'redoMutations':[..._0x473481[_0x28198f(0x143)],..._0x5908e5['redos'],..._0xf7462],'undoMutations':[..._0x473481[_0x28198f(0xbe)],..._0x5908e5[_0x28198f(0xbe)],..._0x389e2e]}),!0x0;}},_0x467c51=()=>typeof process<'u'&&process[_0x3dc404(0xc0)]!=null&&process[_0x3dc404(0xc0)][_0x3dc404(0xee)]!=null,_0x16a837={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x3be),'handler'(_0x4c60a7,_0x2d1e18){const _0x236b39=_0x3dc404;var _0x2792fa;if(!_0x2d1e18)return!0x1;const _0x54b177=_0x4c60a7[_0x236b39(0x1b1)](_0x9cf92b[_0x236b39(0x2fe)]);if(!!_0x54b177['getConfig'](_0x3ee12c))return!0x0;const _0x2f92c7=_0x4c60a7[_0x236b39(0x1b1)](_0x9cf92b[_0x236b39(0x2f5)]),_0x22fcc0=_0x4c60a7[_0x236b39(0x1b1)](_0x582d11['SheetsPivotDataSourceModel']),{pivotTableId:_0x1f151c,pivotTableConfig:_0x2a4776,collectionConfig:_0x3a51ca,unitId:_0xe88c89,subUnitId:_0x3df6f3}=_0x2d1e18,{sourceRangeInfo:_0x15cfac,fieldsConfig:_0xbefd5d,targetCellInfo:_0x5cc17a}=_0x2a4776,_0x3c9e5e=_0x2f92c7[_0x236b39(0x1b6)](_0xe88c89);if(!_0x3c9e5e||!_0x3c9e5e['getSheetBySheetId'](_0x3df6f3))return!0x1;if(!_0x467c51()){let _0x4ef1c1=0x0;_0x3c9e5e['getSheets']()[_0x236b39(0xfe)](_0x31d184=>{const _0x2a4848=_0x236b39;var _0x50ebb4,_0x4142d3;_0x4ef1c1+=(_0x4142d3=(_0x50ebb4=_0x22fcc0[_0x2a4848(0x266)](_0xe88c89,_0x31d184[_0x2a4848(0x2d1)]()))==null?void 0x0:_0x50ebb4[_0x2a4848(0x128)])!=null?_0x4142d3:0x0;});const _0x356817=(_0x2792fa=_0x54b177[_0x236b39(0x380)](_0x4f64c3[_0x236b39(0x391)]))!=null?_0x2792fa:{},{ls:_0x34f00f,pbk:_0x174ecc}=_0x356817;if(!_0x5239b9(_0x34f00f,_0x174ecc))throw new _0x9cf92b['CustomCommandExecutionError'](_0x236b39(0x33a));const _0x1688e7=_0x5e17ca(_0x3cfec6,_0x34f00f,_0x174ecc)[_0x236b39(0x184)];if(_0x4ef1c1>=_0x1688e7)throw new _0x9cf92b[(_0x236b39(0x2c0))](_0x236b39(0x33a));}if(!_0x3a51ca||!_0xbefd5d)return!0x1;const {collection:_0x1f6e0a,updateDataFieldList:_0x47db9d}=_0x22fcc0[_0x236b39(0x3e5)](_0x1f151c,_0x3a51ca,_0x15cfac,_0x5cc17a);_0x22fcc0['refreshData'](_0x1f6e0a,_0x47db9d,_0x15cfac);const _0x543b5d=new _0x399222[(_0x236b39(0x24d))](_0x1f6e0a,void 0x0,_0x1f151c);_0x543b5d[_0x236b39(0x106)](_0xbefd5d);const _0x5285cc=JSON['parse'](JSON[_0x236b39(0x124)](_0x2a4776));return _0x22fcc0[_0x236b39(0x35b)](_0xe88c89,_0x3df6f3,_0x1f151c,_0x543b5d,_0x5285cc),_0x22fcc0[_0x236b39(0x15c)]({'unitId':_0xe88c89,'subUnitId':_0x3df6f3,'token':_0x1f151c,'type':_0x20d852[_0x236b39(0x282)],'pivotConfig':_0x5285cc}),!0x0;}},_0x47c177={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x2f1),async 'handler'(_0x5ba0b5,_0x20ad3b){const _0x2c7cdd=_0x3dc404;if(!_0x20ad3b)return!0x1;const {sourceDataInfo:_0x108a8c,pivotTableConfig:_0x5361ff}=_0x20ad3b;if(!_0x108a8c||!_0x5361ff)return!0x1;const {unitId:_0x336c39,subUnitId:_0x4dba23,range:_0x471ce8}=_0x108a8c,_0x222f41=_0x5ba0b5[_0x2c7cdd(0x1b1)](_0x9cf92b[_0x2c7cdd(0x2f5)]),_0x5a881e=_0x5ba0b5['get'](_0x582d11[_0x2c7cdd(0x1b0)]),_0x36f7ad=_0x5ba0b5[_0x2c7cdd(0x1b1)](_0x9cf92b['LocaleService']),_0x1c6268=_0x5ba0b5[_0x2c7cdd(0x1b1)](_0x9cf92b[_0x2c7cdd(0x3c9)]),_0x589132=_0x222f41[_0x2c7cdd(0x1b6)](_0x336c39);if(!_0x589132)return!0x1;const _0x14eafc=_0x589132[_0x2c7cdd(0x379)](_0x4dba23);if(!_0x14eafc)return!0x1;const _0x347224=_0x399222[_0x2c7cdd(0x191)](0x8),_0x3f0b12=_0x471ce8||{'startRow':0x0,'startColumn':0x0,'endRow':_0x14eafc[_0x2c7cdd(0x393)]()-0x1,'endColumn':_0x14eafc['getColumnCount']()-0x1};_0x3f0b12[_0x2c7cdd(0x2c2)]=_0x9cf92b['RANGE_TYPE'][_0x2c7cdd(0x27d)];const _0x38ecf7=(await _0x5a881e[_0x2c7cdd(0x35c)]({'unitId':_0x336c39,'subUnitId':_0x4dba23,'pivotTableId':_0x347224,'params':{'type':_0x4651ca[_0x2c7cdd(0x35d)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x336c39,'sheetName':_0x14eafc['getName'](),'subUnitId':_0x4dba23,'range':_0x3f0b12},'pivotTableId':_0x347224,'pivotTableIndexConfig':_0x5361ff}}}))[_0x2c7cdd(0x2f3)][_0x2c7cdd(0x28a)];if(!_0x38ecf7)return!0x1;const {isEmpty:_0x168616,fieldsConfig:_0x41b1b8,collectionConfig:_0x453df5,changesets:_0x3ec470}=_0x38ecf7,_0x4bd2d7=_0x589132['getSheets']()['length'],_0x817e60=_0x9cf92b[_0x2c7cdd(0x2ef)]({'rowCount':_0x14eafc[_0x2c7cdd(0x393)]()-0x1,'columnCount':_0x14eafc[_0x2c7cdd(0xfb)]()-0x1});_0x817e60['id']=_0x9cf92b[_0x2c7cdd(0x19c)](),_0x817e60[_0x2c7cdd(0x3d6)]=_0x589132[_0x2c7cdd(0x25e)](''+_0x36f7ad['t']('sheets.tabs.sheet'));const _0x234cb5={'index':_0x4bd2d7,'sheet':_0x817e60,'unitId':_0x336c39},{redos:_0x15b862}=_0x3fde14(_0x1c6268,{'pivotTableId':_0x347224,'unitId':_0x336c39,'subUnitId':_0x817e60['id']},_0x3ec470),_0x288a1c=[{'id':_0x165f3c[_0x2c7cdd(0x207)]['id'],'params':_0x234cb5},{'id':_0x16a837['id'],'params':{'unitId':_0x336c39,'subUnitId':_0x817e60['id'],'pivotTableId':_0x347224,'pivotTableConfig':{'isEmpty':_0x168616,'fieldsConfig':_0x41b1b8,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x336c39,'subUnitId':_0x817e60['id']},'sourceRangeInfo':{'subUnitId':_0x4dba23,'unitId':_0x336c39,'range':_0x3f0b12,'sheetName':_0x14eafc[_0x2c7cdd(0x220)]()}},'collectionConfig':_0x453df5}},..._0x15b862];return _0x9cf92b[_0x2c7cdd(0x3c8)](_0x288a1c,_0x1c6268),!0x0;}},_0x41c01a={'type':_0x9cf92b['CommandType'][_0x3dc404(0x2bc)],'id':_0x3dc404(0x1c8),'handler'(_0x27d43e,_0xd90c22){const _0x293904=_0x3dc404;if(!_0xd90c22)return!0x1;if(!!_0x27d43e['get'](_0x9cf92b['IConfigService'])['getConfig'](_0x3ee12c))return!0x0;const {pivotTableId:_0x2475c6,unitId:_0x8ccd2a,subUnitId:_0x845281}=_0xd90c22,_0xc23871=_0x27d43e['get'](_0x582d11['SheetsPivotDataSourceModel']);return _0xc23871[_0x293904(0x17c)](_0x8ccd2a,_0x845281,_0x2475c6)?(_0xc23871[_0x293904(0x15c)]({'unitId':_0x8ccd2a,'subUnitId':_0x845281,'token':_0x2475c6,'type':_0x20d852[_0x293904(0x38e)]}),_0xc23871['removePivotTable'](_0x8ccd2a,_0x845281,_0x2475c6),!0x0):!0x1;}},_0x4cbe1d={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x22d),async 'handler'(_0x5c9e16,_0x1eee50){const _0x955e13=_0x3dc404;var _0x2526b9,_0x1766a3;const _0x45d180=_0x5c9e16[_0x955e13(0x1b1)](_0x9cf92b['ICommandService']),_0x26e3b9=_0x5c9e16[_0x955e13(0x1b1)](_0x9cf92b[_0x955e13(0x2f5)]),_0x592e99=_0x5c9e16[_0x955e13(0x1b1)](_0x9cf92b[_0x955e13(0x322)]),_0x4db5fb=_0x5c9e16[_0x955e13(0x1b1)](_0x582d11[_0x955e13(0x1b0)]),_0x3a2aea=_0x5c9e16['get'](_0x9cf92b[_0x955e13(0xbb)]),_0x423a46=_0x5c9e16[_0x955e13(0x1b1)](_0x582d11[_0x955e13(0x2a8)]),_0x4c515b=_0x5c9e16[_0x955e13(0x1b1)](_0x9cf92b[_0x955e13(0x2fe)]);if(!_0x1eee50)return!0x1;const {pivotTableConfig:_0x20068a,positionType:_0x28b1d1}=_0x1eee50,{targetCellInfo:_0x3e5da8,sourceRangeInfo:_0x118e22}=_0x20068a,{unitId:_0x3ad944,subUnitId:_0x3c4d3b}=_0x3e5da8,_0x5a1e31=_0x26e3b9['getUnit'](_0x3ad944);if(!_0x5a1e31)return!0x1;let _0x30a01c=0x0;_0x5a1e31['getSheets']()[_0x955e13(0xfe)](_0x48dca8=>{const _0xc3ad82=_0x955e13;var _0x31049e,_0x524d9a;_0x30a01c+=(_0x524d9a=(_0x31049e=_0x423a46[_0xc3ad82(0x266)](_0x3ad944,_0x48dca8[_0xc3ad82(0x2d1)]()))==null?void 0x0:_0x31049e[_0xc3ad82(0x128)])!=null?_0x524d9a:0x0;});const _0x34257d=(_0x2526b9=_0x4c515b[_0x955e13(0x380)](_0x4f64c3['LS_CONFIG_KEY']))!=null?_0x2526b9:{},{ls:_0x5b1cd1,pbk:_0x506e9d}=_0x34257d;if(!_0x5239b9(_0x5b1cd1,_0x506e9d))return!0x1;const _0x4a1f9f=_0x5e17ca(_0x3cfec6,_0x5b1cd1,_0x506e9d)[_0x955e13(0x184)];if(_0x30a01c>=_0x4a1f9f)return!0x1;const _0x1112c6=_0x1eee50['pivotTableId']||_0x399222[_0x955e13(0x191)](0x8),_0x566399=(await _0x4db5fb['getPivotDisplayConfig']({'unitId':_0x3ad944,'subUnitId':_0x3c4d3b,'pivotTableId':_0x1112c6,'params':{'type':_0x4651ca[_0x955e13(0x374)],'addPivotTable':{'sourceRangeInfo':_0x118e22,'pivotTableId':_0x1112c6}}}))['result']['addPivotTable'];if(!_0x566399)return!0x1;const {view:_0xfafff,isEmpty:_0x3c8e55,fieldsConfig:_0x1a07bf,collectionConfig:_0x5a20e2}=_0x566399,_0x45a5f0=[],_0x468bd2=[];if(_0x28b1d1===_0x3f33c5[_0x955e13(0x22b)]){const _0xd4d96d=_0x5a1e31[_0x955e13(0x345)]()['length'],_0x18e0da=_0x9cf92b['mergeWorksheetSnapshotWithDefault']({});_0x18e0da['id']=_0x20068a[_0x955e13(0x1ca)]['subUnitId'],_0x18e0da[_0x955e13(0x3d6)]=(_0x1766a3=_0x20068a['targetCellInfo'][_0x955e13(0x1a6)])!=null?_0x1766a3:_0x5a1e31[_0x955e13(0x25e)](''+_0x592e99['t']('sheets.tabs.sheet'));const _0x2abdb6={'index':_0xd4d96d,'sheet':_0x18e0da,'unitId':_0x3ad944},_0x36049f=_0x165f3c[_0x955e13(0x2b1)](_0x5c9e16,_0x2abdb6);_0x45a5f0[_0x955e13(0x34a)]({'id':_0x165f3c[_0x955e13(0xed)]['id'],'params':_0x36049f}),_0x468bd2['push']({'id':_0x165f3c[_0x955e13(0x252)]['id'],'params':_0x2abdb6});}else{if(!_0x5a1e31[_0x955e13(0x379)](_0x3c4d3b))return!0x1;const _0x5d11f4=_0xfa0513(_0x5c9e16,new _0x399222[(_0x955e13(0x162))](),_0x3e5da8,!0x0);_0x468bd2[_0x955e13(0x34a)](..._0x5d11f4[_0x955e13(0x143)]),_0x45a5f0[_0x955e13(0x34a)](..._0x5d11f4[_0x955e13(0xbe)]);const _0x12016b={'cellInfo':_0x3e5da8,'view':_0xfafff,'isEmpty':_0x3c8e55};if(!await _0x5c9e16['get'](_0x582d11['SheetsPivotTableService'])[_0x955e13(0x1e7)][_0x955e13(0x168)](_0x44e1c4)(!0x0,_0x12016b))return!0x1;const _0x319fe6=_0x440085(_0x5c9e16,_0x12016b);_0x468bd2[_0x955e13(0x34a)](..._0x319fe6[_0x955e13(0x143)]),_0x45a5f0[_0x955e13(0x34a)](..._0x319fe6[_0x955e13(0xbe)]);}return _0x468bd2['push']({'id':_0x16a837['id'],'params':{'unitId':_0x3e5da8[_0x955e13(0x10b)],'subUnitId':_0x3e5da8[_0x955e13(0x103)],'pivotTableId':_0x1112c6,'pivotTableConfig':{'targetCellInfo':_0x3e5da8,'sourceRangeInfo':_0x118e22,'fieldsConfig':_0x1a07bf},'collectionConfig':_0x5a20e2}}),_0x45a5f0['unshift']({'id':_0x41c01a['id'],'params':{'unitId':_0x3ad944,'subUnitId':_0x3c4d3b,'pivotTableId':_0x1112c6}}),_0x9cf92b[_0x955e13(0x3c8)](_0x468bd2,_0x45d180)&&_0x3a2aea[_0x955e13(0x1ab)]({'unitID':_0x3ad944,'undoMutations':_0x45a5f0,'redoMutations':_0x468bd2}),!0x0;}},_0x2e36c4={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x20e),async 'handler'(_0x110976,_0x54b181){const _0x182a1e=_0x3dc404;if(!_0x54b181)return!0x1;const _0x58ac5c=_0x110976['get'](_0x9cf92b['ICommandService']),_0x2b2fb3=_0x110976['get'](_0x582d11[_0x182a1e(0x1b0)]),_0x5cfe19=_0x110976[_0x182a1e(0x1b1)](_0x9cf92b[_0x182a1e(0xbb)]),{pivotTableId:_0x1eb03e,fieldId:_0x1db876,area:_0x232fca,index:_0x3dafb2,unitId:_0x4458ad,subUnitId:_0x317101}=_0x54b181,_0x2c325e=(await _0x2b2fb3[_0x182a1e(0x35c)]({'unitId':_0x4458ad,'subUnitId':_0x317101,'pivotTableId':_0x1eb03e,'params':{'type':_0x4651ca[_0x182a1e(0x1aa)],'movePivotField':{'fieldId':_0x1db876,'area':_0x232fca,'index':_0x3dafb2}}}))[_0x182a1e(0x2f3)][_0x182a1e(0x161)];if(!_0x2c325e)return!0x1;const {changesets:_0x250774,view:_0x37492e,isEmpty:_0x37a339,pivotTableConfig:_0x1571a1}=_0x2c325e,_0xb16f48=_0x1571a1[_0x182a1e(0x1ca)],_0x4ce6aa=new _0x399222[(_0x182a1e(0x162))]();_0x4ce6aa['formJSON'](_0x37492e);const _0x5366ab={'cellInfo':_0xb16f48,'view':_0x4ce6aa,'isEmpty':_0x37a339};if(!await _0x110976[_0x182a1e(0x1b1)](_0x582d11[_0x182a1e(0x163)])[_0x182a1e(0x1e7)]['fetchThroughAsyncInterceptors'](_0x44e1c4)(!0x0,_0x5366ab))return!0x1;const _0x3a73ea=_0xfa0513(_0x110976,_0x4ce6aa,_0xb16f48,_0x37a339),_0x429f35=_0x440085(_0x110976,_0x5366ab),{redos:_0x36e734,undos:_0x51bada}=_0x3fde14(_0x58ac5c,{'pivotTableId':_0x1eb03e,'unitId':_0x4458ad,'subUnitId':_0x317101},_0x250774);return _0x9cf92b['sequenceExecute']([..._0x3a73ea[_0x182a1e(0x143)],..._0x429f35[_0x182a1e(0x143)],..._0x36e734],_0x58ac5c),_0x5cfe19[_0x182a1e(0x1ab)]({'unitID':_0x4458ad,'redoMutations':[..._0x3a73ea[_0x182a1e(0x143)],..._0x429f35[_0x182a1e(0x143)],..._0x36e734],'undoMutations':[..._0x3a73ea[_0x182a1e(0xbe)],..._0x429f35[_0x182a1e(0xbe)],..._0x51bada]}),!0x0;}},_0x5a33fa={'type':_0x9cf92b['CommandType']['MUTATION'],'id':_0x3dc404(0x12d),'handler'(_0x2c2a4b,_0x6dc4e5){const _0x5bb9c7=_0x3dc404;if(!_0x6dc4e5)return!0x1;if(!!_0x2c2a4b['get'](_0x9cf92b[_0x5bb9c7(0x2fe)])[_0x5bb9c7(0x380)](_0x3ee12c))return!0x0;const {pivotTableId:_0x55dd6d,targetCellPosition:_0x5da235,unitId:_0xd7cc46,subUnitId:_0x2fa098}=_0x6dc4e5,_0x55f798=_0x2c2a4b[_0x5bb9c7(0x1b1)](_0x582d11['SheetsPivotDataSourceModel']);if(!_0x55f798[_0x5bb9c7(0x363)](_0x6dc4e5[_0x5bb9c7(0x22f)]))return!0x1;const _0x4ec697=_0x55f798[_0x5bb9c7(0x1bc)](_0x55dd6d);if(!_0x4ec697)return!0x1;const _0x4b4ccb=_0x55f798['getCollection'](_0x4ec697[_0x5bb9c7(0x10b)],_0x6dc4e5['pivotTableId']);if(!_0x4b4ccb)return!0x1;const _0x5a2415=_0x55f798[_0x5bb9c7(0x17c)](_0x4ec697['unitId'],_0x4ec697['subUnitId'],_0x55dd6d);if(!_0x5a2415)return!0x1;const _0x211fbc=_0x9cf92b[_0x5bb9c7(0x24b)][_0x5bb9c7(0x376)](_0x5a2415);_0x211fbc[_0x5bb9c7(0x1ca)]={'unitId':_0xd7cc46,'subUnitId':_0x2fa098,'row':_0x5da235[_0x5bb9c7(0x100)],'col':_0x5da235[_0x5bb9c7(0x305)]};const _0x135a71=_0x4b4ccb[_0x5bb9c7(0x3b5)]();if(_0x4ec697[_0x5bb9c7(0x103)]===_0x2fa098&&_0x4ec697['unitId']===_0xd7cc46)_0x55f798[_0x5bb9c7(0x24a)](_0xd7cc46,_0x2fa098,_0x55dd6d,_0x211fbc),_0x55f798[_0x5bb9c7(0x15c)]({'unitId':_0xd7cc46,'subUnitId':_0x2fa098,'token':_0x55dd6d,'type':_0x20d852['Set']});else{_0x55f798[_0x5bb9c7(0x15c)]({'unitId':_0x4ec697['unitId'],'subUnitId':_0x4ec697[_0x5bb9c7(0x103)],'token':_0x55dd6d,'type':_0x20d852[_0x5bb9c7(0x38e)]}),_0x55f798[_0x5bb9c7(0x158)](_0x4ec697['unitId'],_0x4ec697['subUnitId'],_0x55dd6d);const _0x33ed7a=_0x55f798[_0x5bb9c7(0x3e5)](_0x55dd6d,_0x135a71,_0x5a2415['sourceRangeInfo'],_0x211fbc[_0x5bb9c7(0x1ca)]),_0x31a87b=new _0x399222[(_0x5bb9c7(0x24d))](_0x33ed7a['collection'],void 0x0,_0x55dd6d);_0x31a87b[_0x5bb9c7(0x106)](_0x211fbc[_0x5bb9c7(0x297)]),_0x55f798['addPivotTable'](_0xd7cc46,_0x2fa098,_0x55dd6d,_0x31a87b,_0x211fbc),_0x55f798[_0x5bb9c7(0x15c)]({'unitId':_0xd7cc46,'subUnitId':_0x2fa098,'token':_0x55dd6d,'type':_0x20d852[_0x5bb9c7(0x282)],'pivotConfig':_0x211fbc});}return!0x0;}},_0x51fa98={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':'sheet.command.move-pivot-table','handler':(_0x1bef0b,_0x3d6852)=>{const _0x362a01=_0x3dc404,_0x17ced0=_0x1bef0b[_0x362a01(0x1b1)](_0x9cf92b[_0x362a01(0x3c9)]),_0x1f52ca=_0x1bef0b['get'](_0x9cf92b[_0x362a01(0xbb)]),_0x14a262=_0x1bef0b[_0x362a01(0x1b1)](_0x582d11[_0x362a01(0x2a8)]),_0x5821e0=_0x1bef0b[_0x362a01(0x1b1)](_0x9cf92b[_0x362a01(0x2f5)]);if(!_0x3d6852)return!0x1;const _0x241d95=_0x165f3c[_0x362a01(0x28d)](_0x5821e0);if(!_0x241d95)return!0x1;const {unitId:_0x1a967e,subUnitId:_0x308097,workbook:_0x45092c}=_0x241d95,_0x2ec41b=_0x14a262[_0x362a01(0x17c)](_0x3d6852[_0x362a01(0x280)][_0x362a01(0x10b)],_0x3d6852['originTargetInfo']['subUnitId'],_0x3d6852[_0x362a01(0x22f)]);if(!_0x2ec41b)return!0x1;const _0xc8be40=_0x45092c[_0x362a01(0x379)](_0x3d6852[_0x362a01(0x1ca)]['subUnitId']);if(!_0xc8be40)throw new Error(_0x362a01(0x127));const _0x49a857=_0xc8be40[_0x362a01(0x393)](),_0x174931=_0xc8be40[_0x362a01(0xfb)]();if(_0x3d6852['targetCellInfo']['row']>_0x49a857||_0x3d6852['targetCellInfo'][_0x362a01(0x305)]>_0x174931)throw new Error(_0x362a01(0x3c7));const _0x55a062=[{'id':_0x5a33fa['id'],'params':{'unitId':_0x1a967e,'subUnitId':_0x3d6852[_0x362a01(0x1ca)]['subUnitId'],'pivotTableId':_0x3d6852[_0x362a01(0x22f)],'targetCellPosition':{'row':_0x3d6852['targetCellInfo'][_0x362a01(0x100)],'col':_0x3d6852[_0x362a01(0x1ca)][_0x362a01(0x305)]}}}],_0x5bee27=[{'id':_0x5a33fa['id'],'params':{'unitId':_0x1a967e,'subUnitId':_0x308097,'pivotTableId':_0x3d6852[_0x362a01(0x22f)],'targetCellPosition':{'row':_0x2ec41b[_0x362a01(0x1ca)][_0x362a01(0x100)],'col':_0x2ec41b[_0x362a01(0x1ca)][_0x362a01(0x305)]}}}];return _0x9cf92b[_0x362a01(0x3c8)](_0x55a062,_0x17ced0)&&_0x1f52ca[_0x362a01(0x1ab)]({'unitID':_0x1a967e,'undoMutations':_0x5bee27,'redoMutations':_0x55a062}),!0x0;}},_0x37db6f={'type':_0x9cf92b['CommandType'][_0x3dc404(0x3cf)],'id':_0x3dc404(0x2dc),async 'handler'(_0xc0137d,_0xf721d8){const _0xc81c8b=_0x3dc404;var _0x1990ee;if(!_0xf721d8)return!0x1;const _0x2f3c87=_0xc0137d[_0xc81c8b(0x1b1)](_0x9cf92b[_0xc81c8b(0x2f5)]),_0x3521f6=_0x165f3c[_0xc81c8b(0x28d)](_0x2f3c87);if(!_0x3521f6)return!0x1;const {unitId:_0x5d1444,subUnitId:_0x13f8cc,workbook:_0x34eb50}=_0x3521f6,{row:_0x3c4146,col:_0x179505}=_0xf721d8,_0x5d2b74=_0xc0137d['get'](_0x582d11['SheetsPivotTableAdaptorModel']),_0x49d448=_0x5d2b74[_0xc81c8b(0x271)](_0x5d1444,_0x13f8cc,_0x3c4146,_0x179505);if(!_0x49d448)return!0x1;const _0x541e3f=(_0x1990ee=_0x5d2b74[_0xc81c8b(0x1c5)](_0x5d1444,_0x13f8cc,_0x49d448))==null?void 0x0:_0x1990ee[_0xc81c8b(0x347)];if(!_0x541e3f)return!0x1;const _0x434361=_0xc0137d[_0xc81c8b(0x1b1)](_0x582d11[_0xc81c8b(0x2a8)])[_0xc81c8b(0x17c)](_0x5d1444,_0x13f8cc,_0x49d448);if(!_0x434361)return!0x1;const {rowInfo:_0x1fcd90,colInfo:_0x350a3f}=_0x541e3f,_0x5d15b2=_0x1fcd90[_0x3c4146][_0xc81c8b(0x1bb)],_0x5531fa=_0x350a3f[_0x179505]['paths'],_0x5b3711=_0x1fcd90[_0x3c4146][_0xc81c8b(0x123)],_0x30859b=_0x350a3f[_0x179505][_0xc81c8b(0x123)],_0x5aa8ad=_0x5d15b2['concat'](_0x5531fa),_0x73aba0=_0x434361[_0xc81c8b(0x297)]['rowFields'][_0xc81c8b(0x25f)](0x0,_0x5b3711),_0x5ef6f4=_0x434361[_0xc81c8b(0x297)][_0xc81c8b(0x2a0)][_0xc81c8b(0x25f)](0x0,_0x30859b),_0x38c964=_0x73aba0['concat'](_0x5ef6f4),_0xb64c1d=_0x5aa8ad[_0xc81c8b(0x34e)]((_0x3600e9,_0x5e31d7)=>[_0x3600e9,_0x38c964[_0x5e31d7]]),_0x4517b1=(await _0xc0137d[_0xc81c8b(0x1b1)](_0x582d11[_0xc81c8b(0x1b0)])[_0xc81c8b(0x35c)]({'unitId':_0x5d1444,'subUnitId':_0x13f8cc,'pivotTableId':_0x49d448,'params':{'type':_0x4651ca[_0xc81c8b(0x3e2)],'drillDown':{'tuple':_0xb64c1d}}}))[_0xc81c8b(0x2f3)][_0xc81c8b(0x3e4)];if(!_0x4517b1)return!0x1;const {indexes:_0x597558,range:_0x31f29e,sourceUnitId:_0x1fc5a2,sourceSubUnitId:_0xf4b4eb,formatMap:_0x20bd55}=_0x4517b1,{startRow:_0x5d36e8,endRow:_0x5498b2,startColumn:_0x1bcf8c,endColumn:_0xe08ca7}=_0x31f29e,_0x326608=new _0x9cf92b[(_0xc81c8b(0x37c))](),_0x1dc9de=_0x5498b2-_0x5d36e8,_0x4c7e57=_0xe08ca7-_0x1bcf8c,_0x96a6f9={},_0x13fa84=_0x165f3c[_0xc81c8b(0x28d)](_0x2f3c87,{'unitId':_0x1fc5a2,'subUnitId':_0xf4b4eb});if(!_0x13fa84)return!0x1;const _0x4650f4=_0x22c6a2[_0xc81c8b(0x3cd)],_0x5f0718=_0x22c6a2['subTotalStyle'],_0x1a6fbd=_0x22c6a2[_0xc81c8b(0x1a0)],_0x41736e=_0x34eb50[_0xc81c8b(0x192)]()[_0xc81c8b(0x31f)](_0x4650f4),_0x3c5db3=_0x34eb50[_0xc81c8b(0x192)]()[_0xc81c8b(0x31f)](_0x5f0718),_0x256bb6=_0x34eb50[_0xc81c8b(0x192)]()[_0xc81c8b(0x31f)](_0x1a6fbd),{worksheet:_0xf1f510}=_0x13fa84;let _0x17b347=0x0;const _0x3d00bb=0x1;_0x597558['forEach'](_0x25a1bd=>{const _0x5078fa=_0xc81c8b;for(let _0x1f9aaa=0x0;_0x1f9aaa<=_0xe08ca7-_0x1bcf8c;_0x1f9aaa++)_0x326608[_0x5078fa(0x31f)](_0x17b347,_0x1f9aaa,_0xf1f510[_0x5078fa(0x2b8)](_0x25a1bd+_0x31f29e[_0x5078fa(0x204)]+_0x3d00bb,_0x1f9aaa));_0x17b347++;});for(let _0x14614a=_0x1bcf8c;_0x14614a<=_0xe08ca7;_0x14614a++){const _0x32ac06=_0xf1f510['getCellRaw'](_0x5d36e8,_0x14614a);_0x96a6f9[_0x5d36e8]||(_0x96a6f9[_0x5d36e8]={}),_0x96a6f9[_0x5d36e8][_0x14614a]={..._0x32ac06,'s':_0x41736e};}let _0x236b73=0x1;const _0x517ea0={},_0x5368f8={};_0x326608['forRow']((_0x123102,_0x214049)=>{_0x214049['forEach'](_0x590fb6=>{const _0x295b73=_0x3474,_0x49d9ca=_0x326608['getValue'](_0x123102,_0x590fb6);if(_0x96a6f9[_0x236b73]||(_0x96a6f9[_0x236b73]={}),_0x96a6f9[_0x236b73][_0x590fb6]={..._0x49d9ca,'s':_0x236b73%0x2===0x0?_0x256bb6:_0x3c5db3},_0x20bd55[_0x590fb6]&&_0x123102>=0x0){const _0x255689=_0x236b73%0x2===0x0;let _0xf2b716=_0x255689?_0x5368f8[_0x590fb6]:_0x517ea0[_0x590fb6];_0xf2b716||(_0xf2b716=_0x34eb50[_0x295b73(0x192)]()['setValue']({..._0x255689?_0x1a6fbd:_0x5f0718,'n':{'pattern':_0x20bd55[_0x590fb6]}}),_0x255689?_0x5368f8[_0x590fb6]=_0xf2b716:_0x517ea0[_0x590fb6]=_0xf2b716),_0x96a6f9[_0x236b73][_0x590fb6]['s']=_0xf2b716;}}),_0x236b73++;});const _0x53235d=new _0x9cf92b[(_0xc81c8b(0x37c))](_0x96a6f9),_0x2eb8f8={};_0x53235d[_0xc81c8b(0x16e)]((_0x302f7a,_0x19c38c,_0x5d8c0b)=>{_0x2eb8f8[_0x302f7a]||(_0x2eb8f8[_0x302f7a]={}),_0x2eb8f8[_0x302f7a][_0x19c38c]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x5454a1=[],_0x424b41=[],_0x240a82=_0x34eb50['getSheets']()['length'],_0x4c61fb=_0x9cf92b[_0xc81c8b(0x2ef)]({'rowCount':Math['max'](_0x9cf92b[_0xc81c8b(0x1f4)],_0x1dc9de+0xa),'columnCount':Math[_0xc81c8b(0x15d)](_0x9cf92b[_0xc81c8b(0x344)],_0x4c7e57+0x5)}),_0x5f35e0=_0xc0137d[_0xc81c8b(0x1b1)](_0x9cf92b[_0xc81c8b(0x322)]);_0x4c61fb['id']=_0x9cf92b[_0xc81c8b(0x19c)](),_0x4c61fb[_0xc81c8b(0x3d6)]=_0x34eb50[_0xc81c8b(0x25e)](''+_0x5f35e0['t'](_0xc81c8b(0x178)));const _0x19257d={'index':_0x240a82,'sheet':_0x4c61fb,'unitId':_0x5d1444},_0x1b5b43=_0x165f3c['InsertSheetUndoMutationFactory'](_0xc0137d,_0x19257d);_0x424b41[_0xc81c8b(0x34a)]({'id':_0x165f3c['InsertSheetMutation']['id'],'params':_0x19257d}),_0x5454a1[_0xc81c8b(0x34a)]({'id':_0x165f3c['RemoveSheetMutation']['id'],'params':_0x1b5b43}),_0x424b41[_0xc81c8b(0x34a)]({'id':_0x165f3c['SetRangeValuesMutation']['id'],'params':{'unitId':_0x5d1444,'subUnitId':_0x4c61fb['id'],'cellValue':_0x96a6f9}}),_0x5454a1['unshift']({'id':_0x165f3c[_0xc81c8b(0x396)]['id'],'params':{'unitId':_0x5d1444,'subUnitId':_0x4c61fb['id'],'cellValue':_0x2eb8f8}});const _0x4df229={'startRow':0x0,'startColumn':0x0,'endRow':_0x236b73-0x1,'endColumn':_0xe08ca7};_0x424b41[_0xc81c8b(0x34a)]({'id':_0x2f8fdf[_0xc81c8b(0x13b)]['id'],'params':{'unitId':_0x5d1444,'subUnitId':_0x4c61fb['id'],'range':_0x4df229}}),_0x5454a1['unshift']({'id':_0x2f8fdf['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x5d1444,'subUnitId':_0x4c61fb['id']}});const _0x287d27=_0xc0137d[_0xc81c8b(0x1b1)](_0x9cf92b[_0xc81c8b(0x3c9)]);return _0x9cf92b[_0xc81c8b(0x3c8)](_0x424b41,_0x287d27)&&_0xc0137d[_0xc81c8b(0x1b1)](_0x9cf92b[_0xc81c8b(0xbb)])[_0xc81c8b(0x1ab)]({'unitID':_0x5d1444,'undoMutations':_0x5454a1,'redoMutations':_0x424b41}),!0x0;}},_0x1c245c={'type':_0x9cf92b[_0x3dc404(0x295)]['COMMAND'],'id':_0x3dc404(0x10e),async 'handler'(_0x42cd82,_0x273a25){const _0x4a6d0=_0x3dc404;if(!_0x273a25)return!0x1;const _0x3c86e8=_0x42cd82['get'](_0x9cf92b[_0x4a6d0(0x3c9)]),_0x3566fa=_0x42cd82[_0x4a6d0(0x1b1)](_0x582d11[_0x4a6d0(0x1b0)]),_0x180eb5=_0x42cd82[_0x4a6d0(0x1b1)](_0x9cf92b[_0x4a6d0(0xbb)]),{pivotTableId:_0xb097f0,fieldIds:_0x58cb82,unitId:_0x2cc86a,subUnitId:_0x2cdfec}=_0x273a25,_0x3557e7=(await _0x3566fa['getPivotDisplayConfig']({'unitId':_0x2cc86a,'subUnitId':_0x2cdfec,'pivotTableId':_0xb097f0,'params':{'type':_0x4651ca[_0x4a6d0(0x13c)],'removePivotField':{'fieldIds':_0x58cb82}}}))[_0x4a6d0(0x2f3)]['removePivotField'];if(!_0x3557e7)return!0x1;const {view:_0x4c1f6e,changesets:_0x5c3873,isEmpty:_0x2354d8,pivotTableConfig:_0x3921cf}=_0x3557e7,_0x4accb2=_0x3921cf[_0x4a6d0(0x1ca)],_0x3823fb=new _0x399222[(_0x4a6d0(0x162))]();_0x3823fb['formJSON'](_0x4c1f6e);const _0x277b65={'cellInfo':_0x4accb2,'view':_0x3823fb,'isEmpty':_0x2354d8};if(!await _0x42cd82[_0x4a6d0(0x1b1)](_0x582d11[_0x4a6d0(0x163)])[_0x4a6d0(0x1e7)][_0x4a6d0(0x168)](_0x44e1c4)(!0x0,_0x277b65))return!0x1;const _0xd131f7=_0xfa0513(_0x42cd82,_0x3823fb,_0x4accb2,_0x2354d8),_0x31c10d=_0x440085(_0x42cd82,_0x277b65),{redos:_0x50580e,undos:_0xb798a7}=_0x3fde14(_0x3c86e8,{'pivotTableId':_0xb097f0,'unitId':_0x2cc86a,'subUnitId':_0x2cdfec},_0x5c3873);return _0x9cf92b['sequenceExecute']([..._0xd131f7[_0x4a6d0(0x143)],..._0x31c10d['redos'],..._0x50580e],_0x3c86e8),_0x180eb5[_0x4a6d0(0x1ab)]({'unitID':_0x2cc86a,'redoMutations':[..._0xd131f7[_0x4a6d0(0x143)],..._0x31c10d[_0x4a6d0(0x143)],..._0x50580e],'undoMutations':[..._0xd131f7[_0x4a6d0(0xbe)],..._0x31c10d[_0x4a6d0(0xbe)],..._0xb798a7]}),!0x0;}},_0x90b3e3={'type':_0x9cf92b['CommandType'][_0x3dc404(0x3cf)],'id':_0x3dc404(0x320),async 'handler'(_0x1112d3,_0x596666){const _0xa83e9d=_0x3dc404;if(!_0x596666)return!0x1;const _0x1d9d54=_0x1112d3[_0xa83e9d(0x1b1)](_0x9cf92b['ICommandService']),_0x13ffb2=_0x1112d3[_0xa83e9d(0x1b1)](_0x9cf92b[_0xa83e9d(0xbb)]),_0x121ed5=_0x1112d3[_0xa83e9d(0x1b1)](_0x582d11[_0xa83e9d(0x1b0)]),{resetArea:_0x484d53,pivotTableId:_0x585ba1,unitId:_0x151b48,subUnitId:_0x19b569}=_0x596666,_0x4b5871=(await _0x121ed5[_0xa83e9d(0x35c)]({'unitId':_0x151b48,'subUnitId':_0x19b569,'pivotTableId':_0x585ba1,'params':{'type':_0x4651ca[_0xa83e9d(0x3a0)],'resetPivotTable':{'pivotTableId':_0x585ba1,'resetArea':_0x484d53}}}))['result'][_0xa83e9d(0xde)];if(!_0x4b5871)return!0x1;const {changesets:_0x494ff4}=_0x4b5871,{redos:_0x5bdcd2,undos:_0x4e9bc5}=_0x3fde14(_0x1d9d54,{'pivotTableId':_0x585ba1,'unitId':_0x151b48,'subUnitId':_0x19b569},_0x494ff4);return _0x9cf92b[_0xa83e9d(0x3c8)](_0x5bdcd2,_0x1d9d54),_0x13ffb2[_0xa83e9d(0x1ab)]({'unitID':_0x151b48,'redoMutations':_0x5bdcd2,'undoMutations':_0x4e9bc5}),!0x0;}},_0x2647d2={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x49d69f,_0xe704a){const _0x518ee2=_0x3dc404,_0x3869c4=_0x49d69f[_0x518ee2(0x1b1)](_0x9cf92b[_0x518ee2(0x3c9)]),_0x303e17=_0x49d69f['get'](_0x582d11['SheetsPivotRPCService']),_0x244ebd=_0x49d69f[_0x518ee2(0x1b1)](_0x582d11['SheetsPivotTableAdaptorModel']),_0x289762=_0x49d69f[_0x518ee2(0x1b1)](_0x9cf92b[_0x518ee2(0x2f5)]),_0xa887fb=_0x49d69f[_0x518ee2(0x1b1)](_0x9cf92b[_0x518ee2(0x322)]),_0x382414=_0x49d69f[_0x518ee2(0x1b1)](_0x9cf92b[_0x518ee2(0xbb)]);if(!_0xe704a)return!0x1;const {unitId:_0x4426e3,subUnitId:_0x5b8716,row:_0x1c4985,col:_0x538aeb,collapse:_0x4696b4}=_0xe704a,_0x19f969=_0x289762[_0x518ee2(0x1b6)](_0x4426e3);if(!_0x19f969||!_0x19f969[_0x518ee2(0x379)](_0x5b8716))return!0x1;const _0x3a0c71=_0x244ebd[_0x518ee2(0x271)](_0x4426e3,_0x5b8716,_0x1c4985,_0x538aeb);if(!_0x3a0c71)return!0x1;const _0x2fac5d=_0x244ebd[_0x518ee2(0x1c5)](_0x4426e3,_0x5b8716,_0x3a0c71);if(!_0x2fac5d)return!0x1;const _0xe60902=_0x9cf92b['cellToRange'](_0x1c4985,_0x538aeb),{rangesInfo:_0x3475ae,areaInfo:_0x5b75f9,headerMap:_0x5eb343}=_0x2fac5d;if(!_0x3475ae||!_0x5b75f9||!_0x5eb343)return!0x1;const _0xf7aec3=Object['keys'](_0x3475ae)[_0x518ee2(0xe1)](_0x27d032=>_0x3475ae[_0x27d032][_0x518ee2(0x2cf)](_0x31a3ba=>_0x9cf92b[_0x518ee2(0x2d6)][_0x518ee2(0x186)](_0x31a3ba,_0xe60902)));let _0x3c9e3d;_0xf7aec3===_0x518ee2(0x1db)?_0x3c9e3d=_0x5eb343[_0x518ee2(0xce)][_0x538aeb]:_0xf7aec3===_0x518ee2(0x388)&&(_0x3c9e3d=_0x5eb343[_0x518ee2(0x194)][_0x1c4985]);const _0x53c38b=_0x3c9e3d==null?void 0x0:_0x3c9e3d[_0x518ee2(0x3b9)],_0x24366d=_0x244ebd['getPivotTableCellData'](_0x4426e3,_0x5b8716,_0x1c4985,_0x538aeb);let _0x2e78ea=_0x24366d==null?void 0x0:_0x24366d['v'];if(_0x2e78ea===_0xa887fb['t'](_0x518ee2(0x304))&&(_0x2e78ea=_0x399222[_0x518ee2(0x3ad)]['BLANK_PLACEHOLDER']),_0x2e78ea==null||!_0x3a0c71||!_0x53c38b)return!0x1;const _0x23dfa6=await _0x303e17[_0x518ee2(0x35c)]({'unitId':_0x4426e3,'subUnitId':_0x5b8716,'pivotTableId':_0x3a0c71,'params':{'type':_0x4651ca['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x53c38b,'collapse':_0x4696b4,'item':_0x2e78ea}}}),_0x501df7=_0x23dfa6==null?void 0x0:_0x23dfa6[_0x518ee2(0x2f3)][_0x518ee2(0x3ba)];if(!_0x501df7)return!0x1;const {view:_0x1a36f3,pivotTableConfig:_0x189cdc,isEmpty:_0x2bee7a,changesets:_0x216e42}=_0x501df7,_0x45fedd=new _0x399222[(_0x518ee2(0x162))]();_0x45fedd['formJSON'](_0x1a36f3);const _0x247062=_0x189cdc['targetCellInfo'],_0xaa1d4f={'cellInfo':_0x247062,'view':_0x45fedd,'isEmpty':_0x2bee7a};if(!await _0x49d69f['get'](_0x582d11[_0x518ee2(0x163)])[_0x518ee2(0x1e7)][_0x518ee2(0x168)](_0x44e1c4)(!0x0,_0xaa1d4f))return!0x1;const _0x2e9ca5=_0xfa0513(_0x49d69f,_0x45fedd,_0x247062,_0x2bee7a),_0x400db5=_0x440085(_0x49d69f,_0xaa1d4f),{redos:_0x7c3ba2,undos:_0x48ec00}=_0x3fde14(_0x3869c4,{'pivotTableId':_0x3a0c71,'unitId':_0x4426e3,'subUnitId':_0x5b8716},_0x216e42);return _0x9cf92b[_0x518ee2(0x3c8)]([..._0x2e9ca5[_0x518ee2(0x143)],..._0x400db5[_0x518ee2(0x143)],..._0x7c3ba2],_0x3869c4),_0x382414[_0x518ee2(0x1ab)]({'unitID':_0x4426e3,'redoMutations':[..._0x2e9ca5[_0x518ee2(0x143)],..._0x400db5[_0x518ee2(0x143)],..._0x7c3ba2],'undoMutations':[..._0x2e9ca5[_0x518ee2(0xbe)],..._0x400db5[_0x518ee2(0xbe)],..._0x48ec00]}),!0x0;}},_0x11b40f={'type':_0x9cf92b[_0x3dc404(0x295)]['COMMAND'],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x2ac660,_0x5d7551){const _0x4797c5=_0x3dc404;if(!_0x5d7551)return!0x1;const _0x58728c=_0x2ac660[_0x4797c5(0x1b1)](_0x9cf92b['ICommandService']),_0x1f9fb8=_0x2ac660['get'](_0x9cf92b[_0x4797c5(0xbb)]),_0x53d96d=_0x2ac660[_0x4797c5(0x1b1)](_0x582d11['SheetsPivotRPCService']),{pivotTableConfig:_0x2dd45a,pivotTableId:_0x28902f,unitId:_0x496b7e,subUnitId:_0x33843f}=_0x5d7551,_0x54318a=(await _0x53d96d[_0x4797c5(0x35c)]({'unitId':_0x496b7e,'subUnitId':_0x33843f,'pivotTableId':_0x28902f,'params':{'type':_0x4651ca[_0x4797c5(0x37d)],'setPivotTableConfig':{'pivotTableId':_0x28902f,'pivotTableConfig':_0x2dd45a}}}))['result'][_0x4797c5(0x24f)];if(!_0x54318a)return!0x1;const {changesets:_0x2e525a}=_0x54318a,{redos:_0x59d7bf,undos:_0x5318df}=_0x3fde14(_0x58728c,{'pivotTableId':_0x28902f,'unitId':_0x496b7e,'subUnitId':_0x33843f},_0x2e525a);return _0x9cf92b[_0x4797c5(0x3c8)](_0x59d7bf,_0x58728c),_0x1f9fb8[_0x4797c5(0x1ab)]({'unitID':_0x496b7e,'redoMutations':_0x59d7bf,'undoMutations':_0x5318df}),!0x0;}},_0x29e301={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x176),async 'handler'(_0x5c5005,_0x5d7a44){const _0x13d08f=_0x3dc404;if(!_0x5d7a44)return!0x1;const _0x49288e=_0x5c5005['get'](_0x9cf92b[_0x13d08f(0x3c9)]),{pivotTableId:_0x7ce0f7,tableFieldId:_0x316847,items:_0x5aa445,unitId:_0x38f5ba,subUnitId:_0x46d103,isAll:_0x120d3b}=_0x5d7a44,_0x128694=_0x5c5005[_0x13d08f(0x1b1)](_0x582d11[_0x13d08f(0x1b0)]),_0x21c2b0=_0x5c5005[_0x13d08f(0x1b1)](_0x9cf92b[_0x13d08f(0xbb)]),_0xaeebc9=(await _0x128694[_0x13d08f(0x35c)]({'unitId':_0x38f5ba,'subUnitId':_0x46d103,'pivotTableId':_0x7ce0f7,'params':{'type':_0x4651ca[_0x13d08f(0x36c)],'setPivotFilter':{'tableFieldId':_0x316847,'items':_0x5aa445,'isAll':_0x120d3b}}}))['result'][_0x13d08f(0x30b)];if(!_0xaeebc9)return!0x1;const {changesets:_0x11617a,pivotTableConfig:_0x48f5a9,isEmpty:_0x304a35,view:_0x464a0e}=_0xaeebc9,_0x349899=_0x48f5a9['targetCellInfo'],_0x5029b7=new _0x399222[(_0x13d08f(0x162))]();_0x5029b7[_0x13d08f(0xcb)](_0x464a0e);const _0x1fad86={'cellInfo':_0x349899,'view':_0x5029b7,'isEmpty':_0x304a35};if(!await _0x5c5005[_0x13d08f(0x1b1)](_0x582d11[_0x13d08f(0x163)])['asyncInterceptor'][_0x13d08f(0x168)](_0x44e1c4)(!0x0,_0x1fad86))return!0x1;const _0x49a11d=_0xfa0513(_0x5c5005,_0x5029b7,_0x349899,_0x304a35),_0x4c14a4=_0x440085(_0x5c5005,_0x1fad86),{undos:_0x1ef87f,redos:_0xfe5ba}=_0x3fde14(_0x49288e,{'pivotTableId':_0x7ce0f7,'unitId':_0x38f5ba,'subUnitId':_0x46d103},_0x11617a);return _0x9cf92b[_0x13d08f(0x3c8)]([..._0x49a11d[_0x13d08f(0x143)],..._0x4c14a4[_0x13d08f(0x143)],..._0xfe5ba],_0x49288e),_0x21c2b0[_0x13d08f(0x1ab)]({'unitID':_0x38f5ba,'redoMutations':[..._0x49a11d[_0x13d08f(0x143)],..._0x4c14a4[_0x13d08f(0x143)],..._0xfe5ba],'undoMutations':[..._0x49a11d['undos'],..._0x4c14a4['undos'],..._0x1ef87f]}),!0x0;}},_0x122030={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x18d),async 'handler'(_0x3a82d2,_0x4617dd){const _0x216921=_0x3dc404;if(!_0x4617dd)return!0x1;const _0x5f3020=_0x3a82d2[_0x216921(0x1b1)](_0x9cf92b[_0x216921(0x3c9)]),_0x55c7e4=_0x3a82d2['get'](_0x9cf92b[_0x216921(0xbb)]),_0x53b9db=_0x3a82d2[_0x216921(0x1b1)](_0x582d11['SheetsPivotRPCService']),{info:_0x15ebe2,tableFieldId:_0x37a2fb,pivotTableId:_0x15ec4,unitId:_0x11d32e,subUnitId:_0x457d0c}=_0x4617dd,_0x597b9d=(await _0x53b9db['getPivotDisplayConfig']({'unitId':_0x11d32e,'subUnitId':_0x457d0c,'pivotTableId':_0x15ec4,'params':{'type':_0x4651ca['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x37a2fb,'info':_0x15ebe2}}}))['result'][_0x216921(0x27e)];if(!_0x597b9d)return!0x1;const {changesets:_0x417a8c}=_0x597b9d,{redos:_0x4f88a7,undos:_0x4a2e8f}=_0x3fde14(_0x5f3020,{'pivotTableId':_0x15ec4,'unitId':_0x11d32e,'subUnitId':_0x457d0c},_0x417a8c);return _0x9cf92b[_0x216921(0x3c8)](_0x4f88a7,_0x5f3020),_0x55c7e4[_0x216921(0x1ab)]({'unitID':_0x11d32e,'redoMutations':_0x4f88a7,'undoMutations':_0x4a2e8f}),!0x0;}},_0x2f2dba={'type':_0x9cf92b[_0x3dc404(0x295)]['COMMAND'],'id':_0x3dc404(0x2b6),async 'handler'(_0x1904cb,_0x5ecc5e){const _0x36b0bf=_0x3dc404;if(!_0x5ecc5e)return!0x1;const _0x275946=_0x1904cb['get'](_0x9cf92b[_0x36b0bf(0x3c9)]),{pivotTableId:_0x217946,fieldId:_0x2f69b7,valueFilterInfo:_0x3381ea,unitId:_0x5cce0c,subUnitId:_0x3ef96b}=_0x5ecc5e,_0x31d76b=_0x1904cb['get'](_0x582d11[_0x36b0bf(0x1b0)]),_0x2ee905=_0x1904cb['get'](_0x9cf92b[_0x36b0bf(0xbb)]),_0x55d5cf=(await _0x31d76b[_0x36b0bf(0x35c)]({'unitId':_0x5cce0c,'subUnitId':_0x3ef96b,'pivotTableId':_0x217946,'params':{'type':_0x4651ca[_0x36b0bf(0x2d8)],'setValuePivotFilter':{'tableFieldId':_0x2f69b7,'filterInfo':_0x3381ea}}}))[_0x36b0bf(0x2f3)]['setValuePivotFilter'];if(!_0x55d5cf)return!0x1;const {changesets:_0xa1ecd,pivotTableConfig:_0x55f988,isEmpty:_0x41baf0,view:_0x554d7c}=_0x55d5cf,_0x56aa35=_0x55f988[_0x36b0bf(0x1ca)],_0x2c57e5=new _0x399222[(_0x36b0bf(0x162))]();_0x2c57e5['formJSON'](_0x554d7c);const _0x582ad0={'cellInfo':_0x56aa35,'view':_0x2c57e5,'isEmpty':_0x41baf0};if(!await _0x1904cb[_0x36b0bf(0x1b1)](_0x582d11[_0x36b0bf(0x163)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x44e1c4)(!0x0,_0x582ad0))return!0x1;const _0x51e2a3=_0xfa0513(_0x1904cb,_0x2c57e5,_0x56aa35,_0x41baf0),_0x2a935b=_0x440085(_0x1904cb,_0x582ad0),{undos:_0x513977,redos:_0x53128c}=_0x3fde14(_0x275946,{'pivotTableId':_0x217946,'unitId':_0x5cce0c,'subUnitId':_0x3ef96b},_0xa1ecd);return _0x9cf92b[_0x36b0bf(0x3c8)]([..._0x51e2a3[_0x36b0bf(0x143)],..._0x2a935b[_0x36b0bf(0x143)],..._0x53128c],_0x275946),_0x2ee905['pushUndoRedo']({'unitID':_0x5cce0c,'redoMutations':[..._0x51e2a3[_0x36b0bf(0x143)],..._0x2a935b['redos'],..._0x53128c],'undoMutations':[..._0x51e2a3[_0x36b0bf(0xbe)],..._0x2a935b[_0x36b0bf(0xbe)],..._0x513977]}),!0x0;}},_0x171857={'id':_0x3dc404(0x3e7),'type':_0x9cf92b['CommandType'][_0x3dc404(0x2bc)],'handler':(_0x200b07,_0x22c77f)=>{const _0x43db91=_0x3dc404;if(!_0x22c77f)return!0x1;if(!!_0x200b07[_0x43db91(0x1b1)](_0x9cf92b[_0x43db91(0x2fe)])[_0x43db91(0x380)](_0x3ee12c))return!0x0;const {unitId:_0x545502,subUnitId:_0x2e8791,pivotTableId:_0x3a5333,tableFieldId:_0x35ea48,dateType:_0x1aa745}=_0x22c77f,_0x476af1=_0x200b07[_0x43db91(0x1b1)](_0x582d11[_0x43db91(0x3c0)]),_0x112d5b=_0x476af1[_0x43db91(0x363)](_0x3a5333);if(!_0x112d5b)return!0x1;const _0x223222=_0x112d5b['getDataFieldByTableId'](_0x35ea48);if(!_0x223222)return!0x1;const _0x5cd818=_0x223222[_0x43db91(0xf9)](),_0x4f6124=_0x112d5b[_0x43db91(0x306)](_0x5cd818),_0x5ac2af=(_0x4f6124==null?void 0x0:_0x4f6124['getName']())+'\x20'+_0x6d0657(_0x200b07,_0x1aa745);_0x476af1['getCollection'](_0x545502,_0x3a5333)[_0x43db91(0x18c)](_0x223222['id'],_0x5ac2af);const _0xa3f780=_0x112d5b[_0x43db91(0x335)](_0x35ea48);if(!_0xa3f780)return!0x1;_0x112d5b[_0x43db91(0x357)](_0xa3f780[_0x43db91(0x26d)](),_0x5ac2af),_0x223222[_0x43db91(0x3b1)](_0x1aa745);const _0x599cb0=_0x476af1[_0x43db91(0x17c)](_0x545502,_0x2e8791,_0x3a5333);return _0x476af1[_0x43db91(0x15c)]({'unitId':_0x545502,'subUnitId':_0x2e8791,'token':_0x3a5333,'type':_0x20d852[_0x43db91(0x1ea)],'pivotConfig':_0x599cb0}),!0x0;}},_0x5ca121={'id':_0x3dc404(0x159),'type':_0x9cf92b['CommandType'][_0x3dc404(0x3cf)],'handler':(_0x303b47,_0x2e19e2)=>{const _0x316149=_0x3dc404;if(!_0x2e19e2)return!0x1;const _0x2902b1=_0x303b47[_0x316149(0x1b1)](_0x9cf92b[_0x316149(0xbb)]),{unitId:_0x8f91d9,subUnitId:_0x2f7fe8,pivotTableId:_0x4cbe91,tableFieldId:_0x52786d}=_0x2e19e2,_0x1f1aff=[],_0x13617d=[],_0x3669f3=_0x303b47['get'](_0x582d11[_0x316149(0x2a8)]),_0x5246aa=_0x3669f3[_0x316149(0x355)](_0x8f91d9,_0x4cbe91),_0x171181=_0x3669f3['getPivotTableConfig'](_0x8f91d9,_0x2f7fe8,_0x4cbe91);if(!(_0x171181!=null&&_0x171181[_0x316149(0x297)][_0x316149(0x1f9)]))return!0x1;const _0x3d0b0a=Object[_0x316149(0x2cb)](_0x171181[_0x316149(0x297)][_0x316149(0x1f9)])[_0x316149(0xe1)](_0x1a84f4=>_0x1a84f4['id']===_0x52786d);if(!_0x3d0b0a)return!0x1;const _0x390e76=_0x3d0b0a[_0x316149(0x2df)];if(!(_0x5246aa!=null&&_0x5246aa[_0x316149(0x32f)]))return!0x1;const _0x93947f=Object['values'](_0x5246aa==null?void 0x0:_0x5246aa['fields'])[_0x316149(0xe1)](_0x1b94da=>_0x1b94da['id']===_0x390e76);if(!_0x93947f)return!0x1;_0x399222[_0x316149(0x346)](_0x93947f)&&_0x1f1aff[_0x316149(0x34a)]({'id':_0x171857['id'],'params':{..._0x2e19e2,'dateType':_0x93947f[_0x316149(0x370)]}}),_0x13617d[_0x316149(0x34a)]({'id':_0x171857['id'],'params':{..._0x2e19e2}});const _0x594c23=_0x303b47['get'](_0x9cf92b[_0x316149(0x3c9)]);return _0x9cf92b[_0x316149(0x3c8)](_0x13617d,_0x594c23)&&_0x2902b1['pushUndoRedo']({'unitID':_0x8f91d9,'undoMutations':_0x1f1aff,'redoMutations':_0x13617d}),!0x0;}},_0x22c491={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x1f98b9,_0x22bb3d){const _0x10b6fd=_0x3dc404;if(!_0x22bb3d)return!0x1;const _0x487b70=_0x1f98b9[_0x10b6fd(0x1b1)](_0x9cf92b[_0x10b6fd(0x3c9)]),_0x17acf8=_0x1f98b9[_0x10b6fd(0x1b1)](_0x9cf92b[_0x10b6fd(0xbb)]),_0x14b1b9=_0x1f98b9[_0x10b6fd(0x1b1)](_0x582d11[_0x10b6fd(0x1b0)]),{displayName:_0x595e4e,subtotalType:_0x545e34,format:_0x26478b,tableFieldId:_0x1f2f7b,pivotTableId:_0x220e47,unitId:_0x246d3c,subUnitId:_0x3c193c}=_0x22bb3d,_0x78b16e=(await _0x14b1b9['getPivotDisplayConfig']({'unitId':_0x246d3c,'subUnitId':_0x3c193c,'pivotTableId':_0x220e47,'params':{'type':_0x4651ca[_0x10b6fd(0x2c1)],'setPivotSetting':{'tableFieldId':_0x1f2f7b,'displayName':_0x595e4e,'subtotalType':_0x545e34,'format':_0x26478b}}}))[_0x10b6fd(0x2f3)]['setPivotSetting'];if(!_0x78b16e)return!0x1;const {changesets:_0x54e6af,view:_0x1d1d29,pivotTableConfig:_0x4f870b,isEmpty:_0x42935f}=_0x78b16e,_0x4c88ff=_0x4f870b[_0x10b6fd(0x1ca)],_0x321e48=new _0x399222[(_0x10b6fd(0x162))]();_0x321e48['formJSON'](_0x1d1d29);const _0x535765={'cellInfo':_0x4c88ff,'view':_0x321e48,'isEmpty':_0x42935f};if(!await _0x1f98b9['get'](_0x582d11[_0x10b6fd(0x163)])[_0x10b6fd(0x1e7)][_0x10b6fd(0x168)](_0x44e1c4)(!0x0,_0x535765))return!0x1;const _0x213e4d=_0xfa0513(_0x1f98b9,_0x321e48,_0x4c88ff,_0x42935f),_0x67d4ca=_0x440085(_0x1f98b9,_0x535765),{undos:_0x2b7e0b,redos:_0x127947}=_0x3fde14(_0x487b70,{'pivotTableId':_0x220e47,'unitId':_0x246d3c,'subUnitId':_0x3c193c},_0x54e6af);return _0x9cf92b['sequenceExecute']([..._0x213e4d[_0x10b6fd(0x143)],..._0x67d4ca[_0x10b6fd(0x143)],..._0x127947],_0x487b70),_0x17acf8[_0x10b6fd(0x1ab)]({'unitID':_0x246d3c,'redoMutations':[..._0x213e4d[_0x10b6fd(0x143)],..._0x67d4ca['redos'],..._0x127947],'undoMutations':[..._0x213e4d['undos'],..._0x67d4ca['undos'],..._0x2b7e0b]}),!0x0;}},_0x63e810={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x2bc)],'id':_0x3dc404(0x10c),'handler'(_0x4c54f0,_0x10c6da){const _0x5a4951=_0x3dc404;if(!_0x10c6da)return!0x1;if(!!_0x4c54f0['get'](_0x9cf92b['IConfigService'])[_0x5a4951(0x380)](_0x3ee12c))return!0x0;const _0x4dc6b3=_0x4c54f0[_0x5a4951(0x1b1)](_0x582d11[_0x5a4951(0x3c0)]),{pivotTableId:_0x55cb25,deleteIds:_0x5901ff,collectionJSON:_0x32753f,dataRangeInfo:_0x58ade5,unitId:_0x3130d3,subUnitId:_0x4503e3}=_0x10c6da,_0x36f917=_0x4dc6b3[_0x5a4951(0x363)](_0x55cb25),_0x69aad8=_0x4dc6b3['getPivotTableConfig'](_0x3130d3,_0x4503e3,_0x55cb25);if(!_0x36f917||!_0x69aad8)return!0x1;const {collection:_0x4d1a3d,updateDataFieldList:_0x4142c5}=_0x4dc6b3['addCollectionByJSON'](_0x55cb25,_0x32753f,_0x58ade5,_0x69aad8[_0x5a4951(0x1ca)]);_0x4dc6b3['refreshData'](_0x4d1a3d,_0x4142c5,_0x58ade5),_0x36f917['updateDataFieldsCollection'](_0x4d1a3d);for(const _0x784120 of _0x5901ff)_0x4dc6b3[_0x5a4951(0x299)](_0x58ade5[_0x5a4951(0x10b)],_0x784120);const _0xef02b6=_0x4dc6b3[_0x5a4951(0x17c)](_0x3130d3,_0x4503e3,_0x55cb25);return _0xef02b6[_0x5a4951(0x354)]=JSON['parse'](JSON[_0x5a4951(0x124)](_0x58ade5)),_0x4dc6b3['addDirtyPivotTable']({'unitId':_0x3130d3,'subUnitId':_0x4503e3,'token':_0x55cb25,'type':_0x20d852[_0x5a4951(0x1ea)]}),!0x0;}},_0x455ba6={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x3ab),async 'handler'(_0x5a7286,_0x4d9474){const _0x533e56=_0x3dc404,_0x670dc9=_0x5a7286[_0x533e56(0x1b1)](_0x9cf92b['ICommandService']),_0x312521=_0x5a7286[_0x533e56(0x1b1)](_0x582d11[_0x533e56(0x1b0)]),_0x5523f0=_0x5a7286['get'](_0x9cf92b['IUndoRedoService']);if(!_0x4d9474)return!0x1;const {token:_0x1a8327,dataRangeInfo:_0xab736c,unitId:_0x44699e,subUnitId:_0x2f330e}=_0x4d9474,_0x15087e=[],_0x3d3e26=[],_0x5ef705=(await _0x312521[_0x533e56(0x35c)]({'unitId':_0x44699e,'subUnitId':_0x2f330e,'pivotTableId':_0x1a8327,'params':{'type':_0x4651ca[_0x533e56(0x14b)],'updatePivotSource':{'dataRangeInfo':_0xab736c,'unitId':_0x44699e,'subUnitId':_0x2f330e}}}))['result']['updatePivotSource'];if(!_0x5ef705)return!0x1;const {changesets:_0xe4c4a5,deleteIds:_0x2fac34,collectionConfig:_0x507465,oldCollectionConfig:_0x372f40,view:_0x4fe7b1,isEmpty:_0x348c00,pivotTableConfig:_0x1f6c2f}=_0x5ef705;_0x3d3e26[_0x533e56(0x34a)]({'id':_0x63e810['id'],'params':{'pivotTableId':_0x1a8327,'deleteIds':_0x2fac34,'collectionJSON':_0x507465,'dataRangeInfo':_0xab736c,'unitId':_0x44699e,'subUnitId':_0x2f330e}}),_0x15087e[_0x533e56(0x2e1)]({'id':_0x63e810['id'],'params':{'pivotTableId':_0x1a8327,'deleteIds':[],'collectionJSON':_0x372f40,'dataRangeInfo':_0x1f6c2f[_0x533e56(0x354)],'unitId':_0x44699e,'subUnitId':_0x2f330e}});const _0xc8adfc=_0x1f6c2f[_0x533e56(0x1ca)],_0x3ae838=new _0x399222[(_0x533e56(0x162))]();_0x3ae838[_0x533e56(0xcb)](_0x4fe7b1);const _0x4bb867={'cellInfo':_0xc8adfc,'view':_0x3ae838,'isEmpty':_0x348c00};if(!await _0x5a7286[_0x533e56(0x1b1)](_0x582d11[_0x533e56(0x163)])['asyncInterceptor'][_0x533e56(0x168)](_0x44e1c4)(!0x0,_0x4bb867))return!0x1;const _0x4981cf=_0xfa0513(_0x5a7286,_0x3ae838,_0xc8adfc,_0x348c00),_0x4cba63=_0x440085(_0x5a7286,_0x4bb867),{undos:_0x24e9be,redos:_0x32e7ca}=_0x3fde14(_0x670dc9,{'pivotTableId':_0x1a8327,'unitId':_0x44699e,'subUnitId':_0x2f330e},_0xe4c4a5);return _0x9cf92b[_0x533e56(0x3c8)]([..._0x4981cf[_0x533e56(0x143)],..._0x4cba63[_0x533e56(0x143)],..._0x3d3e26,..._0x24e9be],_0x670dc9),_0x5523f0[_0x533e56(0x1ab)]({'unitID':_0x44699e,'redoMutations':[..._0x4981cf[_0x533e56(0x143)],..._0x4cba63[_0x533e56(0x143)],..._0x3d3e26,..._0x24e9be],'undoMutations':[..._0x4981cf['undos'],..._0x4cba63[_0x533e56(0xbe)],..._0x15087e,..._0x32e7ca]}),!0x0;}},_0x207157={'type':_0x9cf92b[_0x3dc404(0x295)][_0x3dc404(0x3cf)],'id':_0x3dc404(0x3cb),async 'handler'(_0x42dbbe,_0x1015da){const _0x5587cc=_0x3dc404;if(!_0x1015da)return!0x1;const _0xb4daa5=_0x42dbbe[_0x5587cc(0x1b1)](_0x9cf92b[_0x5587cc(0x3c9)]),_0xab1cbe=_0x42dbbe['get'](_0x582d11[_0x5587cc(0x1b0)]),_0x5e8847=_0x42dbbe[_0x5587cc(0x1b1)](_0x9cf92b[_0x5587cc(0x2f5)]),_0x4eba81=_0x42dbbe['get'](_0x9cf92b[_0x5587cc(0xbb)]),{pivotTableId:_0x31eaec,position:_0x24100c,index:_0x155a23}=_0x1015da,_0x3a0198=_0x165f3c[_0x5587cc(0x28d)](_0x5e8847);if(!_0x3a0198)return!0x1;const {unitId:_0x1c0811,subUnitId:_0x56a165}=_0x3a0198,_0x3984a8=(await _0xab1cbe[_0x5587cc(0x35c)]({'unitId':_0x1c0811,'subUnitId':_0x56a165,'pivotTableId':_0x31eaec,'params':{'type':_0x4651ca[_0x5587cc(0x12c)],'updateValuePosition':{'position':_0x24100c,'index':_0x155a23}}}))[_0x5587cc(0x2f3)][_0x5587cc(0x3e0)];if(!_0x3984a8)return!0x1;const {changesets:_0x306fb1,view:_0x2d5e52,isEmpty:_0x4543a1,pivotTableConfig:_0x219b22}=_0x3984a8,_0x5ca73a=_0x219b22[_0x5587cc(0x1ca)],_0x137dc1=new _0x399222['PivotView']();_0x137dc1[_0x5587cc(0xcb)](_0x2d5e52);const _0x548d66=_0x42dbbe['get'](_0x582d11['SheetsPivotTableService']),_0x211c6a={'cellInfo':_0x5ca73a,'view':_0x137dc1,'isEmpty':_0x4543a1};if(!await _0x548d66[_0x5587cc(0x1e7)][_0x5587cc(0x168)](_0x44e1c4)(!0x0,_0x211c6a))return!0x1;const _0x5ea00a=_0xfa0513(_0x42dbbe,_0x137dc1,_0x5ca73a,_0x4543a1),_0x24f2a8=_0x440085(_0x42dbbe,_0x211c6a),{undos:_0x40365b,redos:_0x21b585}=_0x3fde14(_0xb4daa5,{'pivotTableId':_0x31eaec,'unitId':_0x1c0811,'subUnitId':_0x56a165},_0x306fb1);return _0x9cf92b[_0x5587cc(0x3c8)]([..._0x5ea00a[_0x5587cc(0x143)],..._0x24f2a8['redos'],..._0x21b585],_0xb4daa5),_0x4eba81[_0x5587cc(0x1ab)]({'unitID':_0x1c0811,'redoMutations':[..._0x5ea00a['redos'],..._0x24f2a8[_0x5587cc(0x143)],..._0x21b585],'undoMutations':[..._0x5ea00a['undos'],..._0x24f2a8[_0x5587cc(0xbe)],..._0x40365b]}),!0x0;}},_0xc8ed1={'type':_0x9cf92b['CommandType'][_0x3dc404(0x2bc)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x15a014=Object[_0x3dc404(0x34b)],_0xdf4053=(_0xd28954,_0x526407,_0x16d012,_0x523d03)=>{const _0x41c083=_0x3dc404;for(var _0x56034c=_0x523d03>0x1?void 0x0:_0x523d03?_0x15a014(_0x526407,_0x16d012):_0x526407,_0x32dcf1=_0xd28954[_0x41c083(0xfc)]-0x1,_0x4471a5;_0x32dcf1>=0x0;_0x32dcf1--)(_0x4471a5=_0xd28954[_0x32dcf1])&&(_0x56034c=_0x4471a5(_0x56034c)||_0x56034c);return _0x56034c;},_0x36a6bf=(_0x11f3a8,_0x1dbeaa)=>(_0x1b6d04,_0x513ad0)=>_0x1dbeaa(_0x1b6d04,_0x513ad0,_0x11f3a8);const _0x2a4b13=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x500a17=(_0xde9928,_0x5082a7,_0xd08bde)=>{const _0x1ddcc0=_0x3dc404,_0x32a04b=_0xde9928[_0x1ddcc0(0x1c7)];_0xde9928[_0x1ddcc0(0x3a4)](_0x11088d=>{const _0x1e06ae=_0x1ddcc0,_0x11a13f=_0x11088d[_0x1e06ae(0x26d)](),_0x4669df=_0x11088d[_0x1e06ae(0x225)](),_0x1d2629=_0x11088d['getSourceName'](),_0x293560=_0x11088d[_0x1e06ae(0x1f0)]();_0x5082a7[_0x4669df]&&_0x5082a7[_0x4669df]===_0x293560&&_0x1d2629===_0x293560&&(_0xde9928['renameField'](_0x11a13f,_0x32a04b[_0x1e06ae(0x1f0)](_0x4669df)),_0x11088d[_0x1e06ae(0x302)](_0x32a04b[_0x1e06ae(0x1f0)](_0x4669df)));}),_0xde9928[_0x1ddcc0(0x301)](_0x399222[_0x1ddcc0(0x3df)][_0x1ddcc0(0x311)],_0x23ef43=>{const _0x1a9975=_0x1ddcc0,_0x2c41f6=_0x23ef43[_0x1a9975(0x26d)](),_0x43a0ac=_0x23ef43['getDataFieldId'](),_0xd24a2f=_0x23ef43[_0x1a9975(0x11b)](),_0x2fea4d=_0x23ef43[_0x1a9975(0x1f0)](),_0x53aa89=_0x23ef43[_0x1a9975(0x34c)](),_0x3fecf3=_0xd08bde(_0xd24a2f,_0x53aa89);_0x5082a7[_0x43a0ac]&&_0x5082a7[_0x43a0ac]===_0xd24a2f&&_0x3fecf3===_0x2fea4d&&(_0xde9928['renameField'](_0x2c41f6,_0xd08bde(_0x32a04b[_0x1a9975(0x1f0)](_0x43a0ac),_0x53aa89)),_0x23ef43[_0x1a9975(0x302)](_0x32a04b[_0x1a9975(0x1f0)](_0x43a0ac)));});},_0xa09870=(_0x5e50c1,_0x13b8e9,_0x16570a)=>{const _0x4da31d=_0x3dc404;var _0x5a3747,_0x5dce1f;const {arrayFormulaCellData:_0x42f913,unitData:_0x4eb985}=_0x13b8e9,{unitId:_0x5cc89b,subUnitId:_0x4b690a}=_0x16570a,_0x3085df=_0x16570a[_0x4da31d(0x277)],{startColumn:_0x3a3e9b,endColumn:_0x46d0b5}=_0x3085df,_0x8f77a2=(_0x5a3747=_0x42f913==null?void 0x0:_0x42f913[_0x5cc89b])==null?void 0x0:_0x5a3747[_0x4b690a],_0x2ad448=(_0x5dce1f=_0x4eb985==null?void 0x0:_0x4eb985[_0x5cc89b])==null?void 0x0:_0x5dce1f[_0x4b690a],_0xd8bba9=new Set(),_0x2976f5=_0x46d0b5-_0x3a3e9b+0x1,{dirtyRanges:_0x29801c}=_0x5e50c1;if(_0x29801c)for(const {range:_0x490fee,sheetId:_0x5c46a5,unitId:_0x5950e0}of _0x29801c){if(_0x5c46a5!==_0x4b690a||_0x5cc89b!==_0x5950e0)continue;const _0x510fab=_0x9cf92b[_0x4da31d(0x2d6)][_0x4da31d(0x227)](_0x490fee,_0x3085df);if(_0x510fab){const {startColumn:_0x47911a,endColumn:_0x51f2ea}=_0x510fab;for(let _0x4a8dfb=_0x47911a;_0x4a8dfb<=_0x51f2ea;_0x4a8dfb++)_0xd8bba9[_0x4da31d(0x1e9)](_0x4a8dfb);}}if(_0xd8bba9[_0x4da31d(0x128)]===_0x2976f5||_0xd8bba9[_0x4da31d(0x128)]===_0x2976f5)return Array[_0x4da31d(0x288)](_0xd8bba9);if(_0x2ad448){const _0x2a28e2=_0x2ad448['getMatrix'](),_0x33136b=Object[_0x4da31d(0x336)](_0x2a28e2);for(const _0x6b44da of _0x33136b){const _0xa5c0cb=Number(_0x6b44da),_0x1198e1=_0x2a28e2[_0xa5c0cb];if(_0xd8bba9[_0x4da31d(0x128)]===_0x2976f5)break;for(const _0x4c45dd in _0x1198e1){const _0x484bcb=Number(_0x4c45dd);_0x484bcb<_0x3a3e9b||_0x484bcb>_0x46d0b5||_0xd8bba9[_0x4da31d(0x1e9)](_0x484bcb);}}}if(_0x8f77a2){const _0x341007=_0x8f77a2[_0x4da31d(0x327)](),_0x4079d7=Object[_0x4da31d(0x336)](_0x341007);for(const _0x3e2879 of _0x4079d7){const _0x178489=Number(_0x3e2879),_0x30391f=_0x341007[_0x178489];if(_0xd8bba9['size']===_0x2976f5)break;for(const _0x33401b in _0x30391f){const _0xe32a1b=Number(_0x33401b);_0xe32a1b<_0x3a3e9b||_0xe32a1b>_0x46d0b5||_0xd8bba9[_0x4da31d(0x1e9)](_0xe32a1b);}}}return Array['from'](_0xd8bba9);},_0x5520f6=_0x128528=>{const _0x21142d=_0x3dc404,_0x3f0529=new Set(),_0x54ec10=[];for(const _0x384967 of _0x128528){const _0x341f5b=_0x384967[_0x21142d(0x204)]+','+_0x384967[_0x21142d(0x13e)]+','+_0x384967['startColumn']+','+_0x384967[_0x21142d(0x104)];_0x3f0529[_0x21142d(0x138)](_0x341f5b)||(_0x3f0529[_0x21142d(0x1e9)](_0x341f5b),_0x54ec10[_0x21142d(0x34a)](_0x384967));}return _0x54ec10;};let _0x503194=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x210027,_0x2ba3b4,_0x188e7b,_0x25d3d6,_0x2f37ff){const _0x38337a=_0x3dc404;super(),_0x4d8d39(this,_0x38337a(0x1d3),new _0x1a0164['BehaviorSubject'](!0x0)),_0x4d8d39(this,'_globalComputedStartHelpFunc',_0x30197a=>{this['_globalSubject']['next'](!0x1);}),_0x4d8d39(this,'_globalComputedEndHelpFunc',_0x10671c=>{const _0x206435=_0x38337a;this[_0x206435(0x1d3)][_0x206435(0x155)](!0x0);}),(this[_0x38337a(0x265)]=_0x210027,this[_0x38337a(0x29a)]=_0x2ba3b4,this[_0x38337a(0x284)]=_0x188e7b,this['_globalComputingSrv']=_0x25d3d6,this[_0x38337a(0x33e)]=_0x2f37ff,this[_0x38337a(0x358)](),this[_0x38337a(0x190)]());}[_0x3dc404(0x358)](){const _0x5a5ef9=_0x3dc404;this[_0x5a5ef9(0x2d0)](),this['_subjectViewChange'](),this[_0x5a5ef9(0x189)](),this[_0x5a5ef9(0x273)]();}[_0x3dc404(0xf3)](){const _0x14662b=_0x3dc404;this[_0x14662b(0x394)][_0x14662b(0x21e)](this['_globalSubject']),_0x399222[_0x14662b(0x24d)]['registerCallbackWithEvent'](_0x399222[_0x14662b(0x312)]['onQueryStart'],this['_globalComputedStartHelpFunc']),_0x399222[_0x14662b(0x24d)]['registerCallbackWithEvent'](_0x399222['PivotCallbackEnum'][_0x14662b(0x27f)],this['_globalComputedEndHelpFunc']);}[_0x3dc404(0x190)](){const _0x1e430a=_0x3dc404;this[_0x1e430a(0x260)](this[_0x1e430a(0x284)][_0x1e430a(0x125)](_0x4767b3=>{const _0x195d1d=_0x1e430a;_0x4767b3['id']===_0x165f3c[_0x195d1d(0x289)]['id']&&this[_0x195d1d(0x265)]['handleMoveRange'](_0x4767b3['params']);})),this[_0x1e430a(0x260)](this[_0x1e430a(0x284)][_0x1e430a(0x125)](_0xc253e1=>{const _0x43eb2b=_0x1e430a;if(_0xc253e1['id']!==_0x2c3c73['id'])return;const _0x31917e=_0xc253e1[_0x43eb2b(0xbf)],{unitId:_0x570f65,subUnitId:_0x195db9,pivotTableId:_0x85f364}=_0x31917e,_0x205fc4=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x11c)],_0x3c7495={};switch(_0x205fc4){case _0x4651ca[_0x43eb2b(0x231)]:{const _0xaa28c0=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x375)];if(!_0xaa28c0)return;const {row:_0x729838,col:_0x1df583,cellData:_0x34a257,pivotItemRenderInfoCache:_0x20e48a,tableFieldId:_0x5384d2}=_0xaa28c0,_0x1ababe=this[_0x43eb2b(0x265)]['getPivotTableInstance'](_0x31917e[_0x43eb2b(0x22f)]);if(!_0x1ababe||!_0x20e48a)return;if(_0x5384d2){const _0x5050de=_0x1ababe['getDataFieldByTableId'](_0x5384d2);if(!_0x5050de)return;_0x3c7495[_0x43eb2b(0x375)]={..._0x1ababe[_0x43eb2b(0x3ce)](_0x5050de),'tableFieldId':_0x5384d2,'pivotTableId':_0x31917e[_0x43eb2b(0x22f)],'filterInfo':_0x1ababe['getFilterInfo'](_0x5384d2),'sortInfo':_0x1ababe[_0x43eb2b(0x334)](_0x5384d2),'format':_0x1ababe[_0x43eb2b(0x2be)](_0x5384d2)};}else{const _0x35c49c=_0x42b294(_0x729838,_0x1df583,_0x34a257,_0x1ababe,_0x20e48a),_0x1d9fd5=_0x35c49c==null?void 0x0:_0x35c49c['filterId'];if(!_0x1d9fd5)return;const _0x38e896=_0x1ababe[_0x43eb2b(0x313)](_0x1d9fd5);if(!_0x38e896)return;_0x3c7495['filter']={..._0x1ababe['getDataFieldItemInfo'](_0x38e896),'tableFieldId':_0x1d9fd5,'pivotTableId':_0x31917e[_0x43eb2b(0x22f)],'filterInfo':_0x1ababe[_0x43eb2b(0x2ee)](_0x1d9fd5),'sortInfo':_0x1ababe[_0x43eb2b(0x334)](_0x1d9fd5),'format':_0x1ababe[_0x43eb2b(0x2be)](_0x1d9fd5)};}}break;case _0x4651ca[_0x43eb2b(0x25a)]:{const _0x25345f=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x16f)];if(!_0x25345f)return;const {pivotTableId:_0x20933c}=_0x25345f,_0x1de514=this[_0x43eb2b(0x265)][_0x43eb2b(0x363)](_0x20933c);if(!_0x1de514)return;const _0x3d64ad=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x20933c),_0x3402fd=_0x3202fe(_0x1de514,_0x20933c,_0x3d64ad);_0x3c7495[_0x43eb2b(0x16f)]=_0x3402fd;}break;case _0x4651ca[_0x43eb2b(0x343)]:{const _0x12f487=this[_0x43eb2b(0x265)]['getPivotTableInstance'](_0x85f364),_0x4db24a=this[_0x43eb2b(0x265)]['getDataFieldManager'](_0x570f65),_0x319a11=_0x4db24a[_0x43eb2b(0x355)](_0x85f364);let _0x47c343=null;const _0x22c87a=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364),_0x4ecefd=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x11a)];if(!_0x12f487||!_0x22c87a||!_0x4ecefd)return!0x1;const {dataFieldId:_0x1ecdf0,fieldArea:_0x20575c,index:_0x43f168}=_0x4ecefd;_0x12f487[_0x43eb2b(0x13d)]();const _0x259365=_0x12f487[_0x43eb2b(0x34d)](_0x1ecdf0,_0x20575c,_0x43f168);if(_0x259365&&_0x20575c===_0x399222[_0x43eb2b(0x3df)]['Value']){const _0x10e685=_0x259365[_0x43eb2b(0x26d)](),_0x4ddfa4=_0x12f487[_0x43eb2b(0x313)](_0x10e685);if(_0x4ddfa4){const _0x412810=_0x4ddfa4==null?void 0x0:_0x4ddfa4[_0x43eb2b(0xe9)]();_0x12f487['setSubtotalType'](_0x259365[_0x43eb2b(0x26d)](),_0x412810===_0x399222['PivotDataFieldDataTypeEnum'][_0x43eb2b(0x1ba)]?_0x399222['PivotSubtotalTypeEnum'][_0x43eb2b(0x2db)]:_0x399222[_0x43eb2b(0x165)][_0x43eb2b(0x184)]);}const _0x3e5a79=_0x12f487['getValueIndex'](),_0x5d11bc=_0x12f487[_0x43eb2b(0x32d)](),_0x50d40a=_0x12f487[_0x43eb2b(0x2a4)](_0x399222[_0x43eb2b(0x3df)]['Value']);if(_0x3e5a79===-0x1&&_0x50d40a>0x1){const _0x2d6645=_0x5d11bc===_0x399222[_0x43eb2b(0xf2)][_0x43eb2b(0x3af)]?_0x399222['PivotTableValuePositionEnum'][_0x43eb2b(0x160)]:_0x5d11bc,_0x322eba=_0x2d6645===_0x399222[_0x43eb2b(0xf2)]['Row']?_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x2a6)]:_0x399222['PivotTableFiledAreaEnum']['Column'];_0x12f487[_0x43eb2b(0x3e0)](_0x2d6645,_0x12f487['getFieldCountByArea'](_0x322eba));}}else{if(_0x259365&&(_0x20575c===_0x399222[_0x43eb2b(0x3df)]['Row']||_0x20575c===_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x160)])){const _0x4089e9=_0x259365['getId'](),_0x93557e=_0x12f487[_0x43eb2b(0x313)](_0x4089e9);if(_0x93557e&&(_0x93557e==null?void 0x0:_0x93557e[_0x43eb2b(0xe9)]())===_0x399222[_0x43eb2b(0x14e)][_0x43eb2b(0x3aa)]){const _0x24bf7a=_0x93557e['getformat']();if(_0x24bf7a&&_0x12f487[_0x43eb2b(0x1d7)](_0x259365[_0x43eb2b(0x26d)](),_0x24bf7a),!_0x319a11['getFieldIds']()[_0x43eb2b(0x2cf)](_0x48d2d6=>{const _0x50c64e=_0x43eb2b,_0x5a6705=_0x319a11['getFieldById'](_0x48d2d6);return _0x399222[_0x50c64e(0x2e5)](_0x5a6705)?_0x5a6705[_0x50c64e(0x382)]()['originalFieldId']===_0x1ecdf0:!0x1;})){const _0x3bb1a6=_0x4db24a['createDataFieldId'](),_0xe80bcb=_0x1d242b(_0x93557e[_0x43eb2b(0x2a7)],_0x93557e[_0x43eb2b(0x3b8)]),_0x1daefa=_0x93557e['getName']()+_0x43eb2b(0x21c)+_0x6d0657(this[_0x43eb2b(0x33e)],_0xe80bcb),_0x3af97c=new _0x399222[(_0x43eb2b(0x240))](_0x3bb1a6,_0x1daefa,_0x399222['generateHexNumber'](0x3),_0x93557e[_0x43eb2b(0x26d)](),_0xe80bcb);_0x4db24a[_0x43eb2b(0x210)](_0x3af97c),_0x319a11[_0x43eb2b(0x329)](_0x3bb1a6,_0x1daefa),_0x12f487[_0x43eb2b(0x34d)](_0x3bb1a6,_0x20575c,(_0x43f168!=null?_0x43f168:0x0)+0x1),_0x47c343=_0x3af97c;}}}}const _0x3f32ae=_0x12f487['isEmpty'](),_0x4a5791=_0x12f487[_0x43eb2b(0x102)]()['toJSON']();let _0x5f43ce;if(_0x47c343){_0x5f43ce=_0x47c343[_0x43eb2b(0x3b5)]();const _0x201a10=_0x47c343[_0x43eb2b(0x26d)]();_0x319a11[_0x43eb2b(0x326)](_0x201a10);let _0x54ae17=!0x0;for(const _0x54e38c in _0x4db24a[_0x43eb2b(0x119)])if(_0x4db24a[_0x43eb2b(0x119)][_0x54e38c]['getFieldIds']()['includes'](_0x201a10)){_0x54ae17=!0x1;break;}_0x54ae17&&_0x4db24a[_0x43eb2b(0x17e)](_0x201a10);}const _0x398fa2=_0x12f487[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x11a)]={'view':_0x4a5791,'changesets':_0x398fa2,'isEmpty':_0x3f32ae,'pivotTableConfig':_0x22c87a,'shouldBeAddedGroupJSON':_0x5f43ce};}break;case _0x4651ca[_0x43eb2b(0x374)]:{const _0x9ebc75=_0x31917e[_0x43eb2b(0xbf)]['addPivotTable'];if(!_0x9ebc75)return;const _0x58f9cd=_0x9ebc75['sourceRangeInfo'],_0x2ad0d4=_0x9ebc75[_0x43eb2b(0x22f)],{collection:_0x122854}=this[_0x43eb2b(0x265)][_0x43eb2b(0x22c)]({'unitId':_0x58f9cd[_0x43eb2b(0x10b)],'sheetName':_0x58f9cd[_0x43eb2b(0x1a6)],'subUnitId':_0x58f9cd[_0x43eb2b(0x103)],'range':_0x58f9cd[_0x43eb2b(0x277)]}),_0x49a4d9=new _0x399222[(_0x43eb2b(0x24d))](_0x122854,void 0x0,_0x2ad0d4),_0xcce70=_0x49a4d9['query'](),_0x1caa5d=_0x49a4d9[_0x43eb2b(0x3b5)](),_0x17ccad=_0x122854[_0x43eb2b(0x3b5)]();_0x3c7495[_0x43eb2b(0x35b)]={'view':_0xcce70,'fieldsConfig':_0x1caa5d,'collectionConfig':_0x17ccad,'isEmpty':_0x49a4d9['isEmpty']()};}break;case _0x4651ca[_0x43eb2b(0x1aa)]:{const _0x11de2a=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x161)];if(!_0x11de2a)return;const {fieldId:_0x229f1c,area:_0x25b183,index:_0x2eac35}=_0x11de2a,_0x4abec8=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x4abec8)return;const _0x4736d7=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x85f364);if(!_0x4736d7)return;_0x4736d7[_0x43eb2b(0x13d)]();const {area:_0x3c9f96,index:_0x11bb2d}=_0x4736d7[_0x43eb2b(0x2e8)](_0x229f1c);if(_0x4736d7[_0x43eb2b(0x198)](_0x229f1c,_0x25b183,_0x2eac35),_0x25b183===_0x399222[_0x43eb2b(0x3df)]['Value']&&_0x4736d7['getTableFieldById'](_0x229f1c)[_0x43eb2b(0x34c)]()===void 0x0){const _0x369e81=_0x4736d7[_0x43eb2b(0x335)](_0x229f1c);if(_0x369e81&&_0x369e81[_0x43eb2b(0x34c)]()===void 0x0){const _0x311ab5=_0x4736d7[_0x43eb2b(0x313)](_0x229f1c);if(_0x311ab5){const _0x18510d=_0x311ab5==null?void 0x0:_0x311ab5[_0x43eb2b(0xe9)]();_0x4736d7['setSubtotalType'](_0x229f1c,_0x18510d===_0x399222['PivotDataFieldDataTypeEnum']['number']?_0x399222[_0x43eb2b(0x165)][_0x43eb2b(0x2db)]:_0x399222[_0x43eb2b(0x165)][_0x43eb2b(0x184)]);}}}const _0x1ed425=_0x4736d7['getValuePosition'](),_0x2ab57c=_0x4736d7[_0x43eb2b(0x38b)](),_0xce6fb6=_0x4736d7[_0x43eb2b(0x2a4)](_0x399222[_0x43eb2b(0x3df)]['Value'])>0x1;if(_0xce6fb6&&_0x3c9f96===_0x25b183&&(_0x25b183===_0x399222[_0x43eb2b(0x3df)]['Row']&&_0x1ed425===_0x399222[_0x43eb2b(0xf2)]['Row']||_0x25b183===_0x399222['PivotTableFiledAreaEnum'][_0x43eb2b(0x160)]&&_0x1ed425===_0x399222[_0x43eb2b(0xf2)][_0x43eb2b(0x160)])){let _0x2d8601=_0x2ab57c;_0x11bb2d<=_0x2ab57c&&_0x2d8601--,_0x2eac35<=_0x2ab57c&&_0x2d8601++,_0x4736d7[_0x43eb2b(0x3e0)](_0x1ed425,_0x2d8601);}else _0xce6fb6&&(_0x3c9f96===_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x2a6)]&&_0x1ed425===_0x399222[_0x43eb2b(0xf2)]['Row']||_0x3c9f96===_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x160)]&&_0x1ed425===_0x399222['PivotTableValuePositionEnum'][_0x43eb2b(0x160)])&&_0x2ab57c>=_0x11bb2d&&_0x4736d7[_0x43eb2b(0x3e0)](_0x1ed425,_0x2ab57c-0x1),_0xce6fb6&&(_0x25b183===_0x399222[_0x43eb2b(0x3df)]['Row']&&_0x1ed425===_0x399222[_0x43eb2b(0xf2)][_0x43eb2b(0x2a6)]||_0x25b183===_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x160)]&&_0x1ed425===_0x399222[_0x43eb2b(0xf2)][_0x43eb2b(0x160)])&&_0x2ab57c>=_0x2eac35&&_0x4736d7[_0x43eb2b(0x3e0)](_0x1ed425,_0x2ab57c+0x1);const _0x14f291=_0x4736d7[_0x43eb2b(0x102)](),_0x12f695=_0x4736d7[_0x43eb2b(0x364)](),_0x533c0c=_0x4736d7['endCollectChangeset']();_0x3c7495['movePivotField']={'view':_0x14f291[_0x43eb2b(0x3b5)](),'changesets':_0x533c0c,'isEmpty':_0x12f695,'pivotTableConfig':_0x4abec8};}break;case _0x4651ca[_0x43eb2b(0x13c)]:{const _0x5af940=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x1dc)];if(!_0x5af940)return;const _0x50a89e=_0x5af940[_0x43eb2b(0x218)],_0x2a64a9=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x2a64a9)return!0x1;const _0x337e29=this['_sheetsPivotDataSourceModel'][_0x43eb2b(0x363)](_0x85f364);if(!_0x337e29)return!0x1;_0x337e29[_0x43eb2b(0x13d)]();for(const _0x250456 of _0x50a89e){const {area:_0x3628f1}=_0x337e29[_0x43eb2b(0x2e8)](_0x250456);_0x3628f1===_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x311)]&&_0x337e29[_0x43eb2b(0x1dd)](_0x250456),(_0x3628f1===_0x399222[_0x43eb2b(0x3df)]['Row']||_0x3628f1===_0x399222[_0x43eb2b(0x3df)]['Column'])&&_0x337e29[_0x43eb2b(0x1ff)](_0x250456),_0x337e29[_0x43eb2b(0x1a1)](_0x250456);}const _0x3bba7b=_0x337e29[_0x43eb2b(0x364)](),_0x388ec2=_0x337e29[_0x43eb2b(0x102)]()[_0x43eb2b(0x3b5)](),_0x28c7f1=_0x337e29[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x1dc)]={'changesets':_0x28c7f1,'pivotTableConfig':_0x2a64a9,'isEmpty':_0x3bba7b,'view':_0x388ec2};}break;case _0x4651ca[_0x43eb2b(0x36c)]:{const _0x5a211e=_0x31917e['params'][_0x43eb2b(0x30b)];if(!_0x5a211e)return;const {tableFieldId:_0x314821,items:_0x4f737c,isAll:_0x4da231}=_0x5a211e,_0x1d0012=this[_0x43eb2b(0x265)][_0x43eb2b(0x363)](_0x85f364),_0x181f58=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x1d0012||!_0x181f58)return;_0x1d0012['startCollectChangeset'](),_0x1d0012[_0x43eb2b(0x36a)](_0x314821,{'type':_0x399222['PivotFilterTypeEnum'][_0x43eb2b(0x2aa)],'list':_0x4f737c,'isAll':_0x4da231});const _0x1984f7=_0x1d0012['isEmpty'](),_0x8c4c80=_0x1d0012['query']()['toJSON'](),_0x47a7fb=_0x1d0012[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x30b)]={'view':_0x8c4c80,'changesets':_0x47a7fb,'isEmpty':_0x1984f7,'pivotTableConfig':_0x181f58};}break;case _0x4651ca['SetValuePivotFilter']:{const _0x29e2b8=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x109)];if(!_0x29e2b8)return;const {tableFieldId:_0x273ecc,filterInfo:_0x187068}=_0x29e2b8,_0x1303dd=this[_0x43eb2b(0x265)][_0x43eb2b(0x363)](_0x85f364),_0x14d82f=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x1303dd||!_0x14d82f)return;_0x1303dd[_0x43eb2b(0x13d)](),_0x1303dd[_0x43eb2b(0x21b)](_0x273ecc,_0x187068);const _0x10a31d=_0x1303dd[_0x43eb2b(0x364)](),_0x30f153=_0x1303dd[_0x43eb2b(0x102)]()[_0x43eb2b(0x3b5)](),_0x485d69=_0x1303dd[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x109)]={'view':_0x30f153,'changesets':_0x485d69,'isEmpty':_0x10a31d,'pivotTableConfig':_0x14d82f};}break;case _0x4651ca[_0x43eb2b(0x261)]:{const _0x10a901=_0x31917e[_0x43eb2b(0xbf)]['setPivotSort'];if(!_0x10a901)return;const {tableFieldId:_0x56aa5c,info:_0x21d7e}=_0x10a901,_0x1d2576=this[_0x43eb2b(0x265)][_0x43eb2b(0x363)](_0x85f364),_0x46806a=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x570f65,_0x195db9,_0x85f364);if(!_0x1d2576||!_0x46806a)return;_0x1d2576[_0x43eb2b(0x13d)](),_0x1d2576[_0x43eb2b(0x318)](_0x56aa5c,_0x21d7e);const _0xe9f0a0=_0x1d2576[_0x43eb2b(0x364)](),_0x555d73=_0x1d2576[_0x43eb2b(0x102)]()[_0x43eb2b(0x3b5)](),_0x494b46=_0x1d2576[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x27e)]={'view':_0x555d73,'changesets':_0x494b46,'isEmpty':_0xe9f0a0,'pivotTableConfig':_0x46806a};}break;case _0x4651ca[_0x43eb2b(0x2c1)]:{const _0x153b99=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x26f)];if(!_0x153b99)return;const {tableFieldId:_0x3201ce,displayName:_0x34dd21,subtotalType:_0x264e1a,format:_0x49c299}=_0x153b99,_0x478349=this['_sheetsPivotDataSourceModel'][_0x43eb2b(0x363)](_0x85f364),_0x3bffe3=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x478349||!_0x3bffe3)return;_0x478349[_0x43eb2b(0x13d)](),_0x34dd21!==void 0x0&&_0x478349[_0x43eb2b(0x357)](_0x3201ce,_0x34dd21),_0x264e1a!==void 0x0&&_0x478349[_0x43eb2b(0x39e)](_0x3201ce,_0x264e1a),_0x49c299!==void 0x0&&_0x478349[_0x43eb2b(0x1d7)](_0x3201ce,_0x49c299);const _0x25be3a=_0x478349['isEmpty'](),_0x28500d=_0x478349[_0x43eb2b(0x102)]()['toJSON'](),_0x47cf38=_0x478349[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x26f)]={'changesets':_0x47cf38,'pivotTableConfig':_0x3bffe3,'isEmpty':_0x25be3a,'view':_0x28500d};}break;case _0x4651ca[_0x43eb2b(0x14b)]:{const _0x4d6c1e=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x12a)];if(!_0x4d6c1e)return;const {dataRangeInfo:_0x4de264,unitId:_0x5a0c07,subUnitId:_0x1fc44b}=_0x4d6c1e,_0x3a176f=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x5a0c07,_0x1fc44b,_0x85f364),_0x204ba1=this['_sheetsPivotDataSourceModel'][_0x43eb2b(0x363)](_0x85f364);if(!this[_0x43eb2b(0x265)][_0x43eb2b(0x355)](_0x5a0c07,_0x85f364)||!_0x204ba1||!_0x3a176f)return;const _0x7e9af1=this[_0x43eb2b(0x265)][_0x43eb2b(0x28c)](_0x5a0c07,_0x85f364,_0x4de264),_0x348808=this[_0x43eb2b(0x265)]['getCollection'](_0x5a0c07,_0x85f364)[_0x43eb2b(0x3b5)](),{collection:_0x302bcc}=this[_0x43eb2b(0x265)][_0x43eb2b(0x22c)]({'unitId':_0x4de264['unitId'],'sheetName':_0x4de264[_0x43eb2b(0x1a6)],'subUnitId':_0x4de264[_0x43eb2b(0x103)],'range':_0x4de264['range']}),_0x404eec=_0x302bcc[_0x43eb2b(0x3b5)]();_0x204ba1[_0x43eb2b(0x13d)]();const _0x37bd7a=this[_0x43eb2b(0x265)][_0x43eb2b(0x217)](_0x5a0c07)['getAutoDisplayNameFunction']()||_0x399222[_0x43eb2b(0x11d)];_0x204ba1[_0x43eb2b(0x3a1)](_0x1a16cb=>{const _0x264154=_0x43eb2b,_0x5a27e9=_0x1a16cb[_0x264154(0x225)]();if(!_0x302bcc['hasField'](_0x5a27e9)){const _0x3d0108=_0x302bcc['getDataFieldBySourceName'](_0x1a16cb[_0x264154(0x11b)]());if(_0x3d0108){_0x204ba1[_0x264154(0xd1)](_0x1a16cb[_0x264154(0x26d)](),_0x3d0108[_0x264154(0x220)](),_0x3d0108[_0x264154(0x26d)]());const {area:_0x1d36ec}=_0x204ba1['getFieldPositionInfoById'](_0x1a16cb[_0x264154(0x26d)]());let _0x41b462=_0x1a16cb[_0x264154(0x11b)]();const _0x256c34=_0x1a16cb['getDisplayName']();if(_0x1d36ec===_0x399222[_0x264154(0x3df)][_0x264154(0x311)]){const _0x2047d6=_0x1a16cb[_0x264154(0x34c)]();_0x41b462=_0x37bd7a(_0x3d0108[_0x264154(0x220)](),_0x2047d6);}_0x256c34!==_0x41b462&&_0x204ba1[_0x264154(0x357)](_0x1a16cb['getId'](),_0x41b462);}else _0x204ba1[_0x264154(0x1a1)](_0x1a16cb[_0x264154(0x26d)]());}});const _0x3c5a0d=_0x204ba1[_0x43eb2b(0x364)](),_0x58c83e=_0x204ba1[_0x43eb2b(0x102)]()[_0x43eb2b(0x3b5)](),_0x544a39=_0x204ba1['endCollectChangeset']();_0x3c7495[_0x43eb2b(0x12a)]={'view':_0x58c83e,'changesets':_0x544a39,'isEmpty':_0x3c5a0d,'pivotTableConfig':_0x3a176f,'collectionConfig':_0x404eec,'oldCollectionConfig':_0x348808,'deleteIds':_0x7e9af1};}break;case _0x4651ca[_0x43eb2b(0x12c)]:{const _0x51e91c=_0x31917e[_0x43eb2b(0xbf)]['updateValuePosition'];if(!_0x51e91c)return;const {position:_0x4b3215,index:_0x130a30}=_0x51e91c,_0x153fc9=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x153fc9)return!0x1;const _0x69614a=this[_0x43eb2b(0x265)][_0x43eb2b(0x363)](_0x85f364);if(!_0x69614a)return!0x1;_0x69614a[_0x43eb2b(0x13d)](),_0x69614a[_0x43eb2b(0x3e0)](_0x4b3215,_0x130a30);const _0x4a38e1=_0x69614a[_0x43eb2b(0x364)](),_0x199bff=_0x69614a[_0x43eb2b(0x102)]()['toJSON'](),_0x6264ca=_0x69614a[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x3e0)]={'changesets':_0x6264ca,'pivotTableConfig':_0x153fc9,'isEmpty':_0x4a38e1,'view':_0x199bff};}break;case _0x4651ca[_0x43eb2b(0x1e2)]:{const _0xef0af3=_0x31917e[_0x43eb2b(0xbf)]['setPivotCollapse'];if(!_0xef0af3)return;const {tableFieldId:_0x4ec27d,collapse:_0x36ed71,item:_0x51b525}=_0xef0af3,_0x4d6cc2=this[_0x43eb2b(0x265)][_0x43eb2b(0x363)](_0x85f364),_0x1e6fcd=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x4d6cc2||!_0x1e6fcd)return;_0x4d6cc2[_0x43eb2b(0x13d)](),_0x4d6cc2[_0x43eb2b(0xcc)](_0x4ec27d,_0x36ed71,_0x51b525);const _0x27b06d=_0x4d6cc2[_0x43eb2b(0x364)](),_0x27e213=_0x4d6cc2['query']()[_0x43eb2b(0x3b5)](),_0x30b5e2=_0x4d6cc2[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0x3ba)]={'view':_0x27e213,'isEmpty':_0x27b06d,'pivotTableConfig':_0x1e6fcd,'changesets':_0x30b5e2};}break;case _0x4651ca[_0x43eb2b(0x37d)]:{const _0xc9e60e=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x24f)];if(!_0xc9e60e)return;const {pivotTableConfig:_0x139b6c}=_0xc9e60e,_0x1626b3=this['_sheetsPivotDataSourceModel'][_0x43eb2b(0x363)](_0x85f364),_0x1b128b=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x1626b3||!_0x1b128b)return;_0x1626b3[_0x43eb2b(0x13d)](),_0x3e27da(_0x1626b3,_0x139b6c);const _0x3f4d4d=_0x1626b3['isEmpty'](),_0x1f197c=_0x1626b3[_0x43eb2b(0x102)]()[_0x43eb2b(0x3b5)](),_0x3a1606=_0x1626b3['endCollectChangeset']();_0x3c7495['setPivotTableConfig']={'view':_0x1f197c,'isEmpty':_0x3f4d4d,'pivotTableConfig':{..._0x1b128b,'fieldsConfig':_0x1626b3['toJSON']()},'changesets':_0x3a1606};}break;case _0x4651ca[_0x43eb2b(0x3a0)]:{const _0x554f20=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0xde)];if(!_0x554f20)return;const _0x2c12a7=this[_0x43eb2b(0x265)]['getPivotTableInstance'](_0x85f364),_0x3fd0c8=this[_0x43eb2b(0x265)][_0x43eb2b(0x17c)](_0x570f65,_0x195db9,_0x85f364);if(!_0x2c12a7||!_0x3fd0c8)return;_0x2c12a7[_0x43eb2b(0x13d)](),_0x542f26(_0x2c12a7,_0x554f20[_0x43eb2b(0x1fb)]);const _0xdb2913=_0x2c12a7[_0x43eb2b(0x102)]()[_0x43eb2b(0x3b5)](),_0xce5847=_0x2c12a7[_0x43eb2b(0x319)]();_0x3c7495[_0x43eb2b(0xde)]={'view':_0xdb2913,'isEmpty':!0x0,'pivotTableConfig':{..._0x3fd0c8,'fieldsConfig':_0x2c12a7[_0x43eb2b(0x3b5)]()},'changesets':_0xce5847};}break;case _0x4651ca['AddPivotTableWithConfig']:{const _0x9f613e=_0x31917e[_0x43eb2b(0xbf)][_0x43eb2b(0x28a)];if(!_0x9f613e)return;const _0x7516d=_0x9f613e[_0x43eb2b(0x354)],_0x259c7d=_0x9f613e[_0x43eb2b(0x22f)],{collection:_0x5024ea}=this[_0x43eb2b(0x265)][_0x43eb2b(0x22c)]({'unitId':_0x7516d['unitId'],'sheetName':_0x7516d[_0x43eb2b(0x1a6)],'subUnitId':_0x7516d['subUnitId'],'range':_0x7516d['range']}),_0x1526b2=new _0x399222[(_0x43eb2b(0x24d))](_0x5024ea,void 0x0,_0x259c7d),_0x5aebbe=_0x5024ea[_0x43eb2b(0x3a5)](),{rows:_0x5d6be3,columns:_0x54da83,filters:_0x559aea,values:_0x339255}=_0x9f613e[_0x43eb2b(0xc7)];_0x1526b2[_0x43eb2b(0x13d)]();for(const {field:_0x1b36a0,selectedItems:_0x4801a7}of _0x5d6be3||[]){const _0x3d7816=_0x5aebbe[_0x1b36a0];if(_0x3d7816){const _0x475fc4=_0x1526b2['addFieldWithSourceId'](_0x3d7816,_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x2a6)]);_0x4801a7&&_0x475fc4&&_0x1526b2[_0x43eb2b(0x36a)](_0x475fc4[_0x43eb2b(0x26d)](),{'type':_0x399222[_0x43eb2b(0x349)][_0x43eb2b(0x2aa)],'list':_0x4801a7,'isAll':!0x1});}}for(const {field:_0x3b8005,selectedItems:_0x301cae}of _0x54da83||[]){const _0x5b3e5b=_0x5aebbe[_0x3b8005];if(_0x5b3e5b){const _0x4a9630=_0x1526b2['addFieldWithSourceId'](_0x5b3e5b,_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x160)]);_0x301cae&&_0x4a9630&&_0x1526b2['setLabelFilterInfo'](_0x4a9630[_0x43eb2b(0x26d)](),{'type':_0x399222[_0x43eb2b(0x349)]['ManualFilter'],'list':_0x301cae,'isAll':!0x1});}}for(const {field:_0x4092c0,selectedItems:_0x3c0ddd}of _0x559aea||[]){const _0x1cd3d0=_0x5aebbe[_0x4092c0];if(_0x1cd3d0){const _0x2dbc69=_0x1526b2['addFieldWithSourceId'](_0x1cd3d0,_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x231)]);_0x3c0ddd&&_0x2dbc69&&_0x1526b2[_0x43eb2b(0x36a)](_0x2dbc69[_0x43eb2b(0x26d)](),{'type':_0x399222[_0x43eb2b(0x349)][_0x43eb2b(0x2aa)],'list':_0x3c0ddd,'isAll':!0x1});}}for(const {field:_0x5565b4,subTotalType:_0x11e57f,formatString:_0x3b5515}of _0x339255||[]){const _0x142a95=_0x5024ea[_0x43eb2b(0x241)](_0x5aebbe[_0x5565b4]);if(!_0x142a95)continue;const _0x248d23=_0x5aebbe[_0x5565b4];if(_0x248d23){const _0x58a9c1=_0x1526b2[_0x43eb2b(0x34d)](_0x248d23,_0x399222[_0x43eb2b(0x3df)][_0x43eb2b(0x311)]);if(_0x58a9c1){if(_0x11e57f!==void 0x0){_0x1526b2[_0x43eb2b(0x39e)](_0x58a9c1['getId'](),_0x11e57f);const _0x331fef=this[_0x43eb2b(0x265)][_0x43eb2b(0x217)](_0x7516d['unitId'])['getAutoDisplayNameFunction']()||_0x399222[_0x43eb2b(0x11d)],_0x1951ca=_0x5024ea[_0x43eb2b(0x1f0)](_0x248d23),_0x2e2622=_0x331fef(_0x1951ca,_0x11e57f);_0x1526b2['renameField'](_0x58a9c1[_0x43eb2b(0x26d)](),_0x2e2622);}else{if(_0x142a95){const _0x31a74f=_0x142a95==null?void 0x0:_0x142a95['getFieldDataType']();_0x1526b2[_0x43eb2b(0x39e)](_0x58a9c1[_0x43eb2b(0x26d)](),_0x31a74f===_0x399222[_0x43eb2b(0x14e)]['number']?_0x399222[_0x43eb2b(0x165)]['sum']:_0x399222[_0x43eb2b(0x165)][_0x43eb2b(0x184)]);}}_0x3b5515&&_0x1526b2['setFieldFormat'](_0x58a9c1[_0x43eb2b(0x26d)](),_0x3b5515);}}}const _0x3b6f52=_0x1526b2[_0x43eb2b(0x102)](),_0x1f7a55=_0x1526b2['toJSON'](),_0x5dc638=_0x1526b2[_0x43eb2b(0x364)](),_0x1d9378=_0x1526b2[_0x43eb2b(0x319)](),_0x5c78cf=_0x5024ea['toJSON']();_0x3c7495[_0x43eb2b(0x28a)]={'view':_0x3b6f52,'fieldsConfig':_0x1f7a55,'collectionConfig':_0x5c78cf,'isEmpty':_0x5dc638,'changesets':_0x1d9378};}break;case _0x4651ca['DrillDown']:{const _0x326dee=_0x33ea95(this[_0x43eb2b(0x33e)],_0x31917e);if(!_0x326dee)return;const {range:_0x4e6036,sourceSubUnitId:_0x381a42,sourceUnitId:_0x4486fc,formatMap:_0x3406e4,indexes:_0x224ada}=_0x326dee;_0x3c7495['drillDown']={'range':_0x4e6036,'sourceSubUnitId':_0x381a42,'sourceUnitId':_0x4486fc,'formatMap':_0x3406e4,'indexes':_0x224ada};}break;}this['_commandService'][_0x43eb2b(0x285)](_0x1a7285['id'],{'version':_0x31917e[_0x43eb2b(0x360)],'result':_0x3c7495},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x4a971f=_0x3dc404;this[_0x4a971f(0x260)](this[_0x4a971f(0x284)][_0x4a971f(0x125)](_0x2941a9=>{const _0x57124c=_0x4a971f;if(_0x2941a9['id']!==_0x2b6fcc['id'])return;const _0xcf0b58=_0x2941a9[_0x57124c(0xbf)];return this['_sheetsPivotDataSourceModel'][_0x57124c(0x249)](_0xcf0b58[_0x57124c(0x183)]),!0x0;}));}[_0x3dc404(0x2d0)](){const _0x4ff832=_0x3dc404;this[_0x4ff832(0x265)]['collectionChange$'][_0x4ff832(0xe5)](_0x4d2ebe=>{const _0x19f252=_0x4ff832;switch(_0x4d2ebe[_0x19f252(0x11c)]){case _0x18eb7f[_0x19f252(0x1e9)]:_0x4d2ebe[_0x19f252(0x38c)]&&_0x4d2ebe[_0x19f252(0x1ca)]&&this[_0x19f252(0x378)](_0x4d2ebe[_0x19f252(0x384)],_0x4d2ebe['dataRangeInfo'],_0x4d2ebe[_0x19f252(0x1ca)]);break;case _0x18eb7f['delete']:{const {unitId:_0x3797f0,subUnitId:_0x1f3d0a,token:_0x21dcc0}=_0x4d2ebe;_0x3797f0&&_0x1f3d0a&&_0x21dcc0&&this['removeSourceRangeChange'](_0x3797f0,_0x1f3d0a,_0x21dcc0);}break;case _0x18eb7f[_0x19f252(0x2e4)]:{const {token:_0x421c23,oldSourceRangeInfo:_0x19bb9b,dataRangeInfo:_0x3c18d5,targetCellInfo:_0x3ee476}=_0x4d2ebe,{unitId:_0x3f875c,subUnitId:_0x249a3a}=_0x19bb9b||{};_0x3f875c&&_0x249a3a&&_0x421c23&&this['removeSourceRangeChange'](_0x3f875c,_0x249a3a,_0x421c23),_0x3c18d5&&_0x3ee476&&this[_0x19f252(0x378)](_0x421c23,_0x3c18d5,_0x3ee476);}break;}});}[_0x3dc404(0x273)](){const _0x57b6de=_0x3dc404;this[_0x57b6de(0x265)][_0x57b6de(0x2b5)][_0x57b6de(0xe5)](_0xcface9=>{const _0x371a6a=_0x57b6de;Object[_0x371a6a(0x336)](_0xcface9)[_0x371a6a(0xfe)](_0x24b7fe=>{const _0x159c43=_0x371a6a,_0x4da2bb=this['_sheetsPivotDataSourceModel']['getTargetByPivotId'](_0x24b7fe);if(_0x4da2bb){const _0x2e1fc1=this['_sheetsPivotDataSourceModel'][_0x159c43(0x17c)](_0x4da2bb==null?void 0x0:_0x4da2bb[_0x159c43(0x10b)],_0x4da2bb==null?void 0x0:_0x4da2bb['subUnitId'],_0x24b7fe);_0x2e1fc1&&(this[_0x159c43(0x378)](_0x24b7fe,_0x2e1fc1[_0x159c43(0x354)],_0x2e1fc1[_0x159c43(0x1ca)]),this['triggerDirtyFeature']([{'unitId':_0x4da2bb['unitId'],'subUnitId':_0x4da2bb[_0x159c43(0x103)],'token':_0x24b7fe}]));}});});}['_subjectViewChange'](){const _0x41c457=_0x3dc404;this[_0x41c457(0x265)][_0x41c457(0x31d)][_0x41c457(0xe5)](_0x58631c=>{const _0x1b1b49=_0x41c457,{unitId:_0x2ee3a3,subUnitId:_0x2fdb43,pivotTableId:_0x35da75}=_0x58631c;_0x2ee3a3&&_0x2fdb43&&_0x35da75&&this[_0x1b1b49(0xfa)]([{'unitId':_0x2ee3a3,'subUnitId':_0x2fdb43,'token':_0x35da75}]);});}[_0x3dc404(0xfa)](_0x297462){const _0x59b8df=_0x3dc404,_0x4a8419={};_0x297462['forEach'](_0x4b352e=>{var _0x311361,_0x1aba49;const {unitId:_0x180e30,subUnitId:_0x73dc56,token:_0x4b921a}=_0x4b352e;_0x4a8419[_0x180e30]=(_0x311361=_0x4a8419[_0x180e30])!=null?_0x311361:{},_0x4a8419[_0x180e30][_0x73dc56]=(_0x1aba49=_0x4a8419[_0x180e30][_0x73dc56])!=null?_0x1aba49:{},_0x4a8419[_0x180e30][_0x73dc56][_0x4b921a]=!0x0;}),this['_commandService'][_0x59b8df(0x285)](_0xc8ed1['id'],_0x4a8419);}[_0x3dc404(0x2b7)](_0x379131,_0x1ed592,_0xce6d6e){const _0x2eec81=_0x3dc404;this[_0x2eec81(0x29a)][_0x2eec81(0x202)](_0x379131,_0x1ed592,[_0xce6d6e]);}[_0x3dc404(0x378)](_0x545055,_0x1e894b,_0x22c879){const _0x24eeae=_0x3dc404,{unitId:_0xf81284,subUnitId:_0x576fd3}=_0x1e894b;this[_0x24eeae(0x29a)][_0x24eeae(0x138)](_0x22c879[_0x24eeae(0x10b)],_0x22c879['subUnitId'],_0x545055)&&this[_0x24eeae(0x2b7)](_0xf81284,_0x576fd3,_0x545055);const _0x382290={'sheetId':_0x576fd3,..._0x1e894b};this['_featureCalculationManagerService'][_0x24eeae(0x31b)](_0x22c879[_0x24eeae(0x10b)],_0x22c879[_0x24eeae(0x103)],_0x545055,{'unitId':_0x22c879[_0x24eeae(0x10b)],'subUnitId':_0x22c879[_0x24eeae(0x103)],'dependencyRanges':[_0x382290],'getDirtyData':(_0x1599b8,_0x321d2f)=>{const _0xd9937b=_0x24eeae,_0x3ad3e5=this['_sheetsPivotDataSourceModel'],_0x5a7da=_0x3ad3e5[_0xd9937b(0x1bc)](_0x545055);if(!_0x5a7da)return _0x2a4b13();const {unitId:_0x5cc06e,subUnitId:_0x4e7179}=_0x5a7da,_0x443351=_0xa09870(_0x1599b8,_0x321d2f,_0x1e894b);if(_0x443351[_0xd9937b(0xfc)]>0x0){const _0x4ff315=_0x3ad3e5[_0xd9937b(0x355)](_0xf81284,_0x545055),_0x3284b5=_0x4ff315[_0xd9937b(0x3a5)](),_0x5ae2c0=this[_0xd9937b(0x353)](_0x1e894b[_0xd9937b(0x10b)],_0x1e894b[_0xd9937b(0x103)],_0x321d2f),_0xcad146={},_0x603d7c=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x5cc06e)[_0xd9937b(0x2b2)]()||_0x399222[_0xd9937b(0x11d)],_0x450e9f=[];for(const _0x18aab4 of _0x443351){const _0x56a5cd=_0x18aab4-(_0x1e894b[_0xd9937b(0x277)][_0xd9937b(0x223)]||0x0),_0x49d646=_0x3284b5[_0x56a5cd];_0x450e9f[_0xd9937b(0x34a)](_0x49d646),_0xcad146[_0x49d646]=_0x4ff315[_0xd9937b(0x241)](_0x49d646)[_0xd9937b(0x220)](),_0x3ad3e5['getDataFieldManager'](_0xf81284)[_0xd9937b(0x170)](_0x49d646,_0x1e894b,_0x56a5cd,_0x5ae2c0);}_0x4ff315['getGroupFieldsInfoByIds'](_0x450e9f)['forEach'](_0x440f91=>{const _0x4105e5=_0xd9937b,[_0xba7c62,_0x9a2129]=_0x440f91,_0x480e12=_0x4ff315[_0x4105e5(0x241)](_0xba7c62),_0x39b701=_0x4ff315[_0x4105e5(0x241)](_0x9a2129);_0x480e12&&_0x39b701&&_0x480e12['refreshGroupField'](_0x39b701);}),_0x4ff315[_0xd9937b(0x156)]();const _0x438676=_0x3ad3e5[_0xd9937b(0x363)](_0x545055);if(_0x438676){_0x500a17(_0x438676,_0xcad146,_0x603d7c),_0x438676[_0xd9937b(0x33d)](!0x0);const _0x44675c=_0x438676['query'](),_0x466864=_0x3ad3e5[_0xd9937b(0x17c)](_0x5cc06e,_0x4e7179,_0x545055),_0x1378e0=_0x3ad3e5[_0xd9937b(0x217)](_0xf81284)['toJSON']();_0x3ad3e5[_0xd9937b(0x395)](_0x5cc06e,_0x4e7179,_0x20d852[_0xd9937b(0x1ea)],_0x545055,_0x44675c,_0x466864,_0x1378e0,!0x0);}}return this[_0xd9937b(0x292)](_0x5cc06e,_0x4e7179,_0x545055);}});}[_0x3dc404(0x353)](_0x2da7e5,_0x5860d6,_0x3b9de7){var _0x121c5a,_0x32e64c;const {arrayFormulaCellData:_0x4fd7e3,unitData:_0x399251}=_0x3b9de7,_0x340bdf=(_0x121c5a=_0x4fd7e3==null?void 0x0:_0x4fd7e3[_0x2da7e5])==null?void 0x0:_0x121c5a[_0x5860d6],_0x819a10=(_0x32e64c=_0x399251==null?void 0x0:_0x399251[_0x2da7e5])==null?void 0x0:_0x32e64c[_0x5860d6];return{'arrayFormulaCellDataMatrix':_0x340bdf,'unitDataMatrix':_0x819a10};}[_0x3dc404(0x292)](_0x275d21,_0x30e5a3,_0x59651d){const _0x4b9cfe=_0x3dc404,_0x51a757=this[_0x4b9cfe(0x265)][_0x4b9cfe(0x309)](_0x275d21,_0x30e5a3,_0x59651d),_0x44d10a=[],_0x317204=new _0x9cf92b[(_0x4b9cfe(0x37c))]();if(_0x51a757){const {rangeCache:_0xe6ceca,matrix:_0x5bf13a,oldRangeCache:_0x229c7b,oldMatrix:_0x23f407}=_0x51a757,_0x4c4f62=_0x1c8bbb(_0x229c7b),_0x3251fc=_0x1c8bbb(_0xe6ceca);_0x44d10a['push'](..._0x3251fc,..._0x4c4f62),_0x23f407&&_0x229c7b&&_0x4c4f62['forEach'](_0x48d2f5=>{const _0x5af22d=_0x4b9cfe;for(let _0x19e710=_0x48d2f5[_0x5af22d(0x204)];_0x19e710<=_0x48d2f5[_0x5af22d(0x13e)];_0x19e710++)for(let _0x2892f4=_0x48d2f5[_0x5af22d(0x223)];_0x2892f4<=_0x48d2f5[_0x5af22d(0x104)];_0x2892f4++)_0x317204['realDeleteValue'](_0x19e710,_0x2892f4);}),_0x5bf13a&&_0x3251fc&&_0x3251fc[_0x4b9cfe(0xfe)](_0x14d85d=>{const _0x448781=_0x4b9cfe;for(let _0x38728c=_0x14d85d[_0x448781(0x204)];_0x38728c<=_0x14d85d[_0x448781(0x13e)];_0x38728c++)for(let _0x36e2f8=_0x14d85d['startColumn'];_0x36e2f8<=_0x14d85d[_0x448781(0x104)];_0x36e2f8++)_0x317204['setValue'](_0x38728c,_0x36e2f8,_0x5bf13a[_0x448781(0x34f)](_0x38728c,_0x36e2f8));});}const _0x5d50c9={};return _0x5d50c9[_0x275d21]={[_0x30e5a3]:_0x5520f6(_0x44d10a)},{'runtimeCellData':{[_0x275d21]:{[_0x30e5a3]:_0x317204}},'dirtyRanges':_0x5d50c9};}['dispose'](){}};_0x503194=_0xdf4053([_0x36a6bf(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x3c0)])),_0x36a6bf(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x544f7f[_0x3dc404(0x236)])),_0x36a6bf(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x3c9)])),_0x36a6bf(0x3,_0x9cf92b[_0x3dc404(0x2ff)](_0x544f7f['GlobalComputingStatusService'])),_0x36a6bf(0x4,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x175)]))],_0x503194);var _0x486f43=Object[_0x3dc404(0x34b)],_0x4107b7=(_0x1d3487,_0x544166,_0x4764e4,_0x3a3046)=>{const _0x17c33f=_0x3dc404;for(var _0x2d9e81=_0x3a3046>0x1?void 0x0:_0x3a3046?_0x486f43(_0x544166,_0x4764e4):_0x544166,_0x33ecf5=_0x1d3487[_0x17c33f(0xfc)]-0x1,_0x47c703;_0x33ecf5>=0x0;_0x33ecf5--)(_0x47c703=_0x1d3487[_0x33ecf5])&&(_0x2d9e81=_0x47c703(_0x2d9e81)||_0x2d9e81);return _0x2d9e81;},_0x5712ad=(_0x46f4dc,_0x1d83c9)=>(_0x46a16f,_0x1a6ca2)=>_0x1d83c9(_0x46a16f,_0x1a6ca2,_0x46f4dc);let _0x22d7bd=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x273b1f,_0x4ac4e7,_0x285264,_0x3b7812){const _0x2b7a7c=_0x3dc404;super(),_0x4d8d39(this,_0x2b7a7c(0x230),new _0x9cf92b[(_0x2b7a7c(0x228))]()),(this['_univerInstanceService']=_0x273b1f,this[_0x2b7a7c(0x23d)]=_0x4ac4e7,this[_0x2b7a7c(0x254)]=_0x285264,this[_0x2b7a7c(0x30d)]=_0x3b7812,this[_0x2b7a7c(0x10a)]());}[_0x3dc404(0x10a)](){const _0x41ebaa=_0x3dc404;this[_0x41ebaa(0x260)](this['_sheetInterceptorService'][_0x41ebaa(0x256)]({'getMutations':_0x50ed63=>{const _0x4f8e14=_0x41ebaa;if(_0x50ed63['id']===_0x165f3c['ClearSelectionContentCommand']['id']||_0x50ed63['id']===_0x165f3c[_0x4f8e14(0x25b)]['id']){const _0x15823f=[],_0x169ba5=[],_0x40c529=this[_0x4f8e14(0x254)]['getCurrentSelections']()[_0x4f8e14(0x34e)](_0x22d130=>_0x22d130['range']),_0x37cff8=_0x165f3c[_0x4f8e14(0x28d)](this['_univerInstanceService']);if(!_0x37cff8)return{'redos':[],'undos':[]};const {unitId:_0x4f8d5b,subUnitId:_0x14be11}=_0x37cff8,_0x2747cd={},_0x66568=this[_0x4f8e14(0x30d)][_0x4f8e14(0x266)](_0x4f8d5b,_0x14be11);if(_0x66568!=null&&_0x66568[_0x4f8e14(0x128)])for(const [_0x597d48,_0x2271a7]of _0x66568){const {unitId:_0x8dc89f,subUnitId:_0x4474b0,row:_0x33007a,col:_0x3d06aa}=_0x2271a7['targetCellInfo'];_0x8dc89f===_0x37cff8[_0x4f8e14(0x10b)]&&_0x4474b0===_0x37cff8[_0x4f8e14(0x103)]&&(_0x2747cd[_0x33007a+'-'+_0x3d06aa]=_0x597d48);}return _0x40c529&&_0x37cff8&&_0x40c529[_0x4f8e14(0xfe)](_0x3464bd=>{const _0x16bf3f=_0x4f8e14;_0x9cf92b[_0x16bf3f(0x17d)][_0x16bf3f(0x342)](_0x3464bd,(_0x1d8027,_0x500fb8)=>{const _0x238423=_0x16bf3f,_0x3ccffa=_0x1d8027+'-'+_0x500fb8;if(_0x2747cd[_0x3ccffa]){const _0x420879=_0x2747cd[_0x3ccffa];_0x15823f['push']({'id':_0x41c01a['id'],'params':{'unitId':_0x4f8d5b,'subUnitId':_0x14be11,'pivotTableId':_0x420879}});const _0x4e69d4=this[_0x238423(0x30d)][_0x238423(0x355)](_0x4f8d5b,_0x420879),_0x4b9d49=this[_0x238423(0x30d)][_0x238423(0x17c)](_0x4f8d5b,_0x14be11,_0x420879);_0x169ba5['push']({'id':_0x16a837['id'],'params':{'unitId':_0x4f8d5b,'subUnitId':_0x14be11,'pivotTableId':_0x420879,'pivotTableConfig':_0x4b9d49,'collectionConfig':_0x4e69d4}});}});}),{'redos':_0x15823f,'undos':_0x169ba5};}return{'redos':[],'undos':[]};}}));}};_0x22d7bd=_0x4107b7([_0x5712ad(0x0,_0x9cf92b['IUniverInstanceService']),_0x5712ad(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x165f3c['SheetInterceptorService'])),_0x5712ad(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x165f3c[_0x3dc404(0x115)])),_0x5712ad(0x3,_0x9cf92b['Inject'](_0x582d11['SheetsPivotTableConfigModel']))],_0x22d7bd);var _0x1cb488=Object[_0x3dc404(0x34b)],_0x2a95d8=(_0x1b000b,_0x3d361d,_0x26fb47,_0x2ee19d)=>{const _0x394803=_0x3dc404;for(var _0x4aae76=_0x2ee19d>0x1?void 0x0:_0x2ee19d?_0x1cb488(_0x3d361d,_0x26fb47):_0x3d361d,_0xe833f9=_0x1b000b[_0x394803(0xfc)]-0x1,_0x55d56c;_0xe833f9>=0x0;_0xe833f9--)(_0x55d56c=_0x1b000b[_0xe833f9])&&(_0x4aae76=_0x55d56c(_0x4aae76)||_0x4aae76);return _0x4aae76;},_0x442e0b=(_0x3bee14,_0x5a6907)=>(_0x3f905a,_0x409456)=>_0x5a6907(_0x3f905a,_0x409456,_0x3bee14);let _0x174757=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x8b1a2c,_0x1d8978,_0x158338,_0x12eb3b,_0x19b4fa){const _0x3bde0d=_0x3dc404;super(),this['_sheetInterceptorService']=_0x8b1a2c,this[_0x3bde0d(0x33e)]=_0x1d8978,this[_0x3bde0d(0x206)]=_0x158338,this['_sheetsPivotTableConfigModel']=_0x12eb3b,this[_0x3bde0d(0x3bf)]=_0x19b4fa,this[_0x3bde0d(0x332)]();}[_0x3dc404(0x174)](_0x40be45,_0x524fb6,_0x2a1452){const _0x1e532a=_0x3dc404,{pageView:_0x12fa87,cornerView:_0x202248,rowView:_0x1a1eed,colView:_0x3488e5,dataView:_0x328fba}=_0x524fb6,_0xcf37db=_0x40be45;let _0x5b8c66;if(_0x2a1452)_0x5b8c66=[..._0x47957b(_0xcf37db)];else{const _0x1bcd5a=_0x7e091f(_0xcf37db,_0x12fa87,!0x0),_0x218e6d=_0x12fa87[_0x1e532a(0x257)]>=0x0?_0x12fa87[_0x1e532a(0x257)]+0x1:0x0,_0x3e687a=_0x202248[_0x1e532a(0x1a8)],_0xbabcce=_0x202248['colCount'],_0x2747be=_0x1bcd5a[_0x1e532a(0xfc)]>0x0?_0x301d16:0x0,_0x5db4c9=_0x7e091f({'row':_0xcf37db[_0x1e532a(0x100)]+_0x218e6d+_0x2747be,'col':_0xcf37db['col']},_0x202248,!0x1,!0x1),_0xca4f07=_0x7e091f({'row':_0xcf37db[_0x1e532a(0x100)]+_0x218e6d+_0x2747be+_0x3e687a,'col':_0xcf37db[_0x1e532a(0x305)]},_0x1a1eed,!0x1,!0x0),_0xc0bb15=_0x7e091f({'row':_0xcf37db[_0x1e532a(0x100)]+_0x218e6d+_0x2747be,'col':_0xcf37db[_0x1e532a(0x305)]+_0xbabcce},_0x3488e5,!0x1,!0x0),_0x3b9066=_0x7e091f({'row':_0xcf37db[_0x1e532a(0x100)]+_0x218e6d+_0x2747be+_0x3e687a,'col':_0xcf37db[_0x1e532a(0x305)]+_0xbabcce},_0x328fba,!0x1,!0x0);_0x5b8c66=[..._0x1bcd5a,..._0x5db4c9,..._0xca4f07,..._0xc0bb15,..._0x3b9066];}return _0x5b8c66;}['_initCommandInterceptListener'](){const _0x2a78b8=_0x3dc404;this[_0x2a78b8(0x260)](this[_0x2a78b8(0x3bf)][_0x2a78b8(0x2fc)]['intercept'](this['_sheetsPivotTableService']['interceptor'][_0x2a78b8(0xc9)]()[_0x2a78b8(0x1f5)],{'handler':(_0x484bd9,_0x18ed77)=>{const _0x1163df=_0x2a78b8,{cellInfo:_0x2b4341,view:_0x58ffe9,isEmpty:_0x58a0bc}=_0x18ed77,_0x365274=_0x2b4341,{unitId:_0x3206d7,subUnitId:_0x28b01a}=_0x365274,_0x463345=this['_getPivotAppliedRanges'](_0x2b4341,_0x58ffe9,_0x58a0bc),_0x12c758=this[_0x1163df(0x23d)][_0x1163df(0x36e)]({'unitId':_0x3206d7,'subUnitId':_0x28b01a,'ranges':_0x463345}),_0x5e96a1=_0xfbdb4a(this[_0x1163df(0x33e)],_0x3206d7,_0x28b01a,_0x463345);_0x5e96a1[_0x1163df(0x2c3)]&&(_0x12c758[_0x1163df(0x143)][_0x1163df(0x34a)](_0x5e96a1[_0x1163df(0x221)]),_0x12c758['undos'][_0x1163df(0x34a)](_0x5e96a1['setRangeValueUndoMutation']));const _0x8f2b42=this[_0x1163df(0x2e2)](_0x58ffe9,_0x2b4341);return _0x12c758[_0x1163df(0x143)]['push'](..._0x8f2b42[_0x1163df(0x143)]),_0x12c758[_0x1163df(0xbe)][_0x1163df(0x34a)](..._0x8f2b42['undos']),{'redos':_0x12c758[_0x1163df(0x143)],'undos':_0x12c758['undos']};}}));}['getAutoFitColumnsMutations'](_0x2448b3,_0x843c4){const _0x1a7311=_0x3dc404,{col:_0x5e8ecf,unitId:_0x4bcdfd,subUnitId:_0x50a0c1}=_0x843c4,_0x3ad2ba=[],_0x25cfad=[],_0x274cdb=_0x165f3c[_0x1a7311(0x28d)](this[_0x1a7311(0x206)],{'unitId':_0x4bcdfd,'subUnitId':_0x50a0c1});if(!_0x843c4||!_0x2448b3||!_0x274cdb)return{'undos':_0x25cfad,'redos':_0x3ad2ba};const _0x5cfa09=this[_0x1a7311(0x30d)][_0x1a7311(0x1ee)](),{colView:_0x563a4d,dataView:_0x54fb34,cornerView:_0x5b247b,rowView:_0xa2c289,formatMap:_0x1fa489}=_0x2448b3,_0x367e17=_0x5c9cc5(_0x563a4d,_0x5cfa09,!0x0,_0x1fa489),_0x17706=_0x5c9cc5(_0xa2c289,_0x5cfa09,!0x1,_0x1fa489),_0x1339cf=_0x2bf671(_0x54fb34),_0x3f2e06=_0x4634dc(_0x5b247b),{worksheet:_0x13752a}=_0x274cdb;if(typeof window<'u'&&window['document']){const _0x2f1ff6=_0x2ab7b2['getFontStyleString']({..._0x22c6a2[_0x1a7311(0x3cd)]}),_0x13b823=_0x2ab7b2[_0x1a7311(0x3b3)][_0x1a7311(0x2ea)](_0x367e17,_0x2f1ff6)[_0x1a7311(0x10f)]+0x10,_0xc59771=_0x2ab7b2['FontCache'][_0x1a7311(0x2ea)](_0x1339cf,_0x2f1ff6)[_0x1a7311(0x10f)],_0x1e0bd7=Math[_0x1a7311(0xc3)](Math['max'](_0x13b823,_0xc59771))+0x10,_0x26debf=Math[_0x1a7311(0xc3)](_0x2ab7b2['FontCache'][_0x1a7311(0x2ea)](_0x17706,_0x2f1ff6)[_0x1a7311(0x10f)]),_0x343167=Math[_0x1a7311(0xc3)](_0x2ab7b2['FontCache'][_0x1a7311(0x2ea)](_0x3f2e06,_0x2f1ff6)[_0x1a7311(0x10f)]),_0x3d7d47=Math[_0x1a7311(0x15d)](_0x26debf,_0x343167,0x28)+0xc,_0x12a7c3=_0x563a4d[_0x1a7311(0x3a6)]+_0x5b247b[_0x1a7311(0x3a6)],_0x21705d={},_0x4df991={};for(let _0x444a88=_0x5e8ecf;_0x444a88<_0x5e8ecf+_0x12a7c3;_0x444a88++){const _0x70493c=_0x13752a[_0x1a7311(0x188)](_0x444a88);_0x21705d[_0x444a88]=_0x70493c,_0x444a88-_0x5e8ecf<_0x5b247b['colCount']?_0x4df991[_0x444a88-_0x5e8ecf]=_0x3d7d47:_0x4df991[_0x444a88-_0x5e8ecf]=_0x1e0bd7;}_0x3ad2ba['push']({'id':_0x165f3c[_0x1a7311(0x193)]['id'],'params':{'subUnitId':_0x50a0c1,'unitId':_0x4bcdfd,'ranges':[{'startColumn':_0x5e8ecf,'endColumn':_0x5e8ecf+_0x12a7c3-0x1,'startRow':0x0,'endRow':_0x13752a['getRowCount']()-0x1}],'colWidth':_0x4df991}}),_0x25cfad[_0x1a7311(0x34a)]({'id':_0x165f3c['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x50a0c1,'unitId':_0x4bcdfd,'ranges':[{'startColumn':_0x5e8ecf,'endColumn':_0x5e8ecf+_0x12a7c3-0x1,'startRow':0x0,'endRow':_0x13752a[_0x1a7311(0x393)]()-0x1}],'colWidth':_0x21705d}});}return{'undos':_0x25cfad,'redos':_0x3ad2ba};}};_0x174757=_0x2a95d8([_0x442e0b(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x165f3c[_0x3dc404(0x1b3)])),_0x442e0b(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x175)])),_0x442e0b(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x2f5)])),_0x442e0b(0x3,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x2a8)])),_0x442e0b(0x4,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11['SheetsPivotTableService']))],_0x174757);var _0x253d6e=Object['getOwnPropertyDescriptor'],_0x2676f3=(_0x37f325,_0x2ab46a,_0x11c392,_0x2d0c3d)=>{const _0x3a6588=_0x3dc404;for(var _0xfe4651=_0x2d0c3d>0x1?void 0x0:_0x2d0c3d?_0x253d6e(_0x2ab46a,_0x11c392):_0x2ab46a,_0x587a16=_0x37f325[_0x3a6588(0xfc)]-0x1,_0x219342;_0x587a16>=0x0;_0x587a16--)(_0x219342=_0x37f325[_0x587a16])&&(_0xfe4651=_0x219342(_0xfe4651)||_0xfe4651);return _0xfe4651;},_0x34d6b1=(_0xb7dda3,_0x442cf6)=>(_0x289a37,_0x4223c8)=>_0x442cf6(_0x289a37,_0x4223c8,_0xb7dda3);let _0x4d140f=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x156308,_0x2b64c3,_0x2dc9dc,_0x51da64,_0x2d0dbd,_0x5a12b6,_0xc37108){const _0x50fca3=_0x3dc404;super(),_0x4d8d39(this,_0x50fca3(0x230),new _0x9cf92b[(_0x50fca3(0x228))]()),(this[_0x50fca3(0x33e)]=_0x156308,this[_0x50fca3(0x35e)]=_0x2b64c3,this[_0x50fca3(0x284)]=_0x2dc9dc,this['_univerInstanceService']=_0x51da64,this[_0x50fca3(0x30d)]=_0x2d0dbd,this[_0x50fca3(0x200)]=_0x5a12b6,this['_sheetInterceptorService']=_0xc37108,this[_0x50fca3(0x1ef)]());}[_0x3dc404(0x1ef)](){const _0x12fab2=_0x3dc404,_0x43afde=(_0x39d244,_0x31df7d)=>{const _0x176ff2=_0x3474,_0x25f825=this[_0x176ff2(0x206)][_0x176ff2(0x1b7)](_0x9cf92b[_0x176ff2(0x101)]['UNIVER_SHEET']);if(!_0x25f825||!(_0x25f825==null?void 0x0:_0x25f825[_0x176ff2(0x379)](_0x31df7d)))return;this[_0x176ff2(0x230)][_0x176ff2(0x28f)]();const _0x3635fc=_0x3f0c91=>this[_0x176ff2(0x144)](_0x3f0c91,_0x39d244,_0x31df7d),_0x1148ee=this[_0x176ff2(0x30d)]['getSubUnitPivotConfigs'](_0x39d244,_0x31df7d);if(!(_0x1148ee!=null&&_0x1148ee['size']))return;Array[_0x176ff2(0x288)](_0x1148ee['values']())[_0x176ff2(0x34e)](_0x411175=>{const _0x3111b1=_0x176ff2,{row:_0x168b1f,col:_0x92a822}=_0x411175[_0x3111b1(0x1ca)];return _0x9cf92b['cellToRange'](_0x168b1f,_0x92a822);})['forEach'](_0x5c67ab=>{const _0x35db17=_0x176ff2;this[_0x35db17(0x230)][_0x35db17(0x1e9)](this[_0x35db17(0x35e)]['registerRefRange'](_0x5c67ab,_0x3635fc,_0x39d244,_0x31df7d));});},_0x3a836e=()=>{const _0x10604e=_0x3474,_0x3644e2=this['_univerInstanceService'][_0x10604e(0x1b7)](_0x9cf92b[_0x10604e(0x101)]['UNIVER_SHEET']);if(_0x3644e2){const _0x5db113=_0x3644e2[_0x10604e(0x1da)]();if(!_0x5db113)return;_0x43afde(_0x3644e2[_0x10604e(0x1de)](),_0x5db113['getSheetId']());}};this['disposeWithMe'](this['_commandService'][_0x12fab2(0x125)](_0x5fc72c=>{const _0x54bc75=_0x12fab2;if(_0x5fc72c['id']===_0x165f3c['SetWorksheetActiveOperation']['id']){const _0x1d0a8f=_0x5fc72c['params'],_0xf72445=_0x1d0a8f[_0x54bc75(0x103)],_0x5e6bc2=_0x1d0a8f['unitId'];if(!_0xf72445||!_0x5e6bc2)return;_0x43afde(_0x5e6bc2,_0xf72445);}})),this['disposeWithMe'](this[_0x12fab2(0x30d)]['pivotInitCompleted$'][_0x12fab2(0xe5)](_0x368e4c=>{_0x368e4c&&_0x3a836e();})),this['disposeWithMe'](this[_0x12fab2(0x30d)][_0x12fab2(0x26c)][_0x12fab2(0xe5)](_0xb7fb51=>{const _0x7e4ada=_0x12fab2,_0x5292a6=_0x165f3c[_0x7e4ada(0x28d)](this[_0x7e4ada(0x206)]);if(!_0x5292a6)return;const {unitId:_0x5a446f,subUnitId:_0x179226}=_0x5292a6,{unitId:_0xc60070,subUnitId:_0x41d4a5}=_0xb7fb51;_0x5a446f!==_0xc60070||_0x179226!==_0x41d4a5||_0x43afde(_0x5a446f,_0x179226);})),_0x3a836e();}['_refRangeHandle'](_0x27bad7,_0x516087,_0x3fa2eb){const _0x273e1c=_0x3dc404;switch(_0x27bad7['id']){case _0x165f3c[_0x273e1c(0xdb)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x27bad7[_0x273e1c(0xbf)],_0x516087,_0x3fa2eb);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x559f6e,_0x5e7133,_0x3a3eac){const _0xf9ef35=_0x3dc404,{fromRange:_0x5a9267,toRange:_0x50ceb7}=_0x559f6e,_0x87e892=[],_0x4ae086=[],_0x2898d8=_0x165f3c[_0xf9ef35(0x28d)](this['_univerInstanceService']);if(!_0x2898d8)return{'undos':_0x4ae086,'redos':_0x87e892};if(_0x5e7133!==_0x2898d8['unitId']||_0x3a3eac!==_0x2898d8[_0xf9ef35(0x103)])return{'undos':_0x4ae086,'redos':_0x87e892};const _0x515048=this[_0xf9ef35(0x30d)]['getSubUnitPivotConfigs'](_0x5e7133,_0x3a3eac);if(_0x515048!=null&&_0x515048[_0xf9ef35(0x128)])for(const [_0x3797a3,_0x26ec85]of _0x515048){const {unitId:_0x5499b9,subUnitId:_0xc1347d,row:_0x59f71c,col:_0x153691}=_0x26ec85[_0xf9ef35(0x1ca)];if(_0x5499b9===_0x2898d8[_0xf9ef35(0x10b)]&&_0xc1347d===_0x2898d8[_0xf9ef35(0x103)]){const _0x3b2921=_0x9cf92b[_0xf9ef35(0x264)](_0x59f71c,_0x153691);if(_0x9cf92b[_0xf9ef35(0x2d6)][_0xf9ef35(0x1fe)](_0x3b2921,_0x5a9267)){const _0x174be8=_0x59f71c-_0x5a9267[_0xf9ef35(0x204)],_0x709397=_0x153691-_0x5a9267[_0xf9ef35(0x223)],_0x3f5aff={'row':_0x50ceb7['startRow']+_0x174be8,'col':_0x50ceb7['startColumn']+_0x709397};_0x87e892[_0xf9ef35(0x34a)]({'id':_0x5a33fa['id'],'params':{'unitId':_0x5499b9,'subUnitId':_0xc1347d,'pivotTableId':_0x3797a3,'targetCellPosition':_0x3f5aff}}),_0x4ae086['push']({'id':_0x5a33fa['id'],'params':{'unitId':_0x5499b9,'subUnitId':_0xc1347d,'pivotTableId':_0x3797a3,'targetCellPosition':{'row':_0x59f71c,'col':_0x153691}}});const _0x484baf=_0x3f5aff[_0xf9ef35(0x100)]-_0x59f71c,_0x339640=_0x3f5aff['col']-_0x153691,_0xb605ea=[],_0x438d80=this[_0xf9ef35(0x200)][_0xf9ef35(0x1c5)](_0x5499b9,_0xc1347d,_0x3797a3),_0x2885a5=_0x438d80==null?void 0x0:_0x438d80[_0xf9ef35(0x201)];if(_0x2885a5){Object['keys'](_0x2885a5)['forEach'](_0x36dc3d=>{_0x2885a5[_0x36dc3d]['forEach'](_0x264720=>{const _0x1d2220=_0x3474,_0x1ed349={..._0x264720};_0x1ed349[_0x1d2220(0x204)]=_0x264720[_0x1d2220(0x204)]+_0x484baf,_0x1ed349[_0x1d2220(0x13e)]=_0x264720[_0x1d2220(0x13e)]+_0x484baf,_0x1ed349[_0x1d2220(0x223)]=_0x264720[_0x1d2220(0x223)]+_0x339640,_0x1ed349[_0x1d2220(0x104)]=_0x264720[_0x1d2220(0x104)]+_0x339640,_0xb605ea[_0x1d2220(0x34a)](_0x1ed349);});});const _0x1e3b93=this['_sheetInterceptorService'][_0xf9ef35(0x36e)]({'unitId':_0x5499b9,'subUnitId':_0xc1347d,'ranges':_0xb605ea});_0x87e892['push'](..._0x1e3b93[_0xf9ef35(0x143)]),_0x4ae086[_0xf9ef35(0x34a)](..._0x1e3b93[_0xf9ef35(0xbe)]);const _0x8e29ff=_0xfbdb4a(this[_0xf9ef35(0x33e)],_0x5499b9,_0xc1347d,_0xb605ea);_0x8e29ff[_0xf9ef35(0x2c3)]&&(_0x87e892[_0xf9ef35(0x34a)](_0x8e29ff[_0xf9ef35(0x221)]),_0x4ae086['push'](_0x8e29ff[_0xf9ef35(0x35f)]));}}}}return{'redos':_0x87e892,'undos':_0x4ae086};}};_0x4d140f=_0x2676f3([_0x34d6b1(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x175)])),_0x34d6b1(0x1,_0x9cf92b['Inject'](_0x165f3c[_0x3dc404(0x39b)])),_0x34d6b1(0x2,_0x9cf92b['ICommandService']),_0x34d6b1(0x3,_0x9cf92b[_0x3dc404(0x2f5)]),_0x34d6b1(0x4,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x2a8)])),_0x34d6b1(0x5,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x13f)])),_0x34d6b1(0x6,_0x9cf92b['Inject'](_0x165f3c[_0x3dc404(0x1b3)]))],_0x4d140f);var _0x402684=Object[_0x3dc404(0x34b)],_0x16d148=(_0x5595e9,_0xc60dba,_0x5a252d,_0x5a1d2f)=>{const _0x990706=_0x3dc404;for(var _0x16f435=_0x5a1d2f>0x1?void 0x0:_0x5a1d2f?_0x402684(_0xc60dba,_0x5a252d):_0xc60dba,_0x24039c=_0x5595e9[_0x990706(0xfc)]-0x1,_0x3c086e;_0x24039c>=0x0;_0x24039c--)(_0x3c086e=_0x5595e9[_0x24039c])&&(_0x16f435=_0x3c086e(_0x16f435)||_0x16f435);return _0x16f435;},_0x435f88=(_0x5e78c6,_0x55823f)=>(_0x5169bf,_0x3ed517)=>_0x55823f(_0x5169bf,_0x3ed517,_0x5e78c6);let _0x870106=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x21facc,_0x254034){const _0x4f18fb=_0x3dc404;super(),this[_0x4f18fb(0x23d)]=_0x21facc,this[_0x4f18fb(0x30d)]=_0x254034,this[_0x4f18fb(0x2e9)]();}['_initRemoveSheetCommandInterceptor'](){const _0xbd5dd9=_0x3dc404;this[_0xbd5dd9(0x260)](this[_0xbd5dd9(0x23d)]['interceptCommand']({'getMutations':_0xf534f8=>{const _0x5a00c5=_0xbd5dd9;if(_0xf534f8['id']===_0x165f3c[_0x5a00c5(0x3dc)]['id']){const _0x3e7891=[],_0x30a616=[],_0x25aac6=_0xf534f8[_0x5a00c5(0xbf)],{unitId:_0x2da484,subUnitId:_0x629987}=_0x25aac6;if(!_0x2da484||!_0x629987)return{'undos':_0x30a616,'redos':_0x3e7891};const _0x1734fc=this[_0x5a00c5(0x30d)][_0x5a00c5(0x266)](_0x2da484,_0x629987);if(_0x1734fc!=null&&_0x1734fc[_0x5a00c5(0x128)])for(const [_0x26e1a2,_0x113186]of _0x1734fc){_0x3e7891[_0x5a00c5(0x34a)]({'id':_0x41c01a['id'],'params':{'unitId':_0x2da484,'subUnitId':_0x629987,'pivotTableId':_0x26e1a2}});const _0x4807fa={...this[_0x5a00c5(0x30d)][_0x5a00c5(0x355)](_0x2da484,_0x26e1a2)};_0x30a616[_0x5a00c5(0x34a)]({'id':_0x16a837['id'],'params':{'unitId':_0x2da484,'subUnitId':_0x629987,'pivotTableId':_0x26e1a2,'pivotTableConfig':_0x113186,'collectionConfig':_0x4807fa}});}return{'redos':_0x3e7891,'undos':_0x30a616};}return{'redos':[],'undos':[]};}}));}};_0x870106=_0x16d148([_0x435f88(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x165f3c[_0x3dc404(0x1b3)])),_0x435f88(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x2a8)]))],_0x870106);var _0x46487e=Object[_0x3dc404(0x34b)],_0x3a13c5=(_0x9ae38,_0x28ff70,_0x1a4bc9,_0x3a4bb9)=>{for(var _0x316cc0=_0x3a4bb9>0x1?void 0x0:_0x3a4bb9?_0x46487e(_0x28ff70,_0x1a4bc9):_0x28ff70,_0x3a179a=_0x9ae38['length']-0x1,_0x5cd1bd;_0x3a179a>=0x0;_0x3a179a--)(_0x5cd1bd=_0x9ae38[_0x3a179a])&&(_0x316cc0=_0x5cd1bd(_0x316cc0)||_0x316cc0);return _0x316cc0;},_0xe759b4=(_0xdf783e,_0x4c953d)=>(_0x51e8e0,_0x2f166d)=>_0x4c953d(_0x51e8e0,_0x2f166d,_0xdf783e);let _0x30e7a6=class extends _0x9cf92b[_0x3dc404(0xd0)]{constructor(_0x3b6d3c,_0x308d06,_0x5d4459,_0x31141f,_0x37fdf2,_0x125e7e){const _0x517afa=_0x3dc404;super(),this[_0x517afa(0x284)]=_0x3b6d3c,this['_sheetsPivotRpcService']=_0x308d06,this[_0x517afa(0x200)]=_0x5d4459,this[_0x517afa(0x30d)]=_0x31141f,this[_0x517afa(0x206)]=_0x37fdf2,this[_0x517afa(0x199)]=_0x125e7e,this['_initDataSendListener'](),this[_0x517afa(0x196)]();}[_0x3dc404(0x268)](){const _0x3bcea6=_0x3dc404;this['disposeWithMe'](this[_0x3bcea6(0x284)]['onCommandExecuted'](_0x30dc21=>{const _0x3abd0d=_0x3bcea6;if(_0x30dc21['id']!==_0x1a7285['id'])return;const _0x2327c6=_0x30dc21['params'];this[_0x3abd0d(0x14a)][_0x3abd0d(0x118)](_0x2327c6);})),this[_0x3bcea6(0x260)](this[_0x3bcea6(0x284)]['onCommandExecuted'](_0x513f02=>{const _0x1eb21f=_0x3bcea6;if(_0x513f02['id']===_0x479347['id']){const _0x4d9a10=_0x513f02['params'];if(_0x4d9a10){const {unitId:_0x4195a3,subUnitId:_0x1fde8c,oldSubUnitId:_0x27d0e0,pivotTableId:_0x441df7,pivotTableConfig:_0x3aa235,collectionConfig:_0x333417}=_0x4d9a10;this[_0x1eb21f(0x30d)][_0x1eb21f(0x23e)](_0x4195a3,_0x27d0e0,_0x4d9a10[_0x1eb21f(0x22f)],null),this[_0x1eb21f(0x30d)]['updateConfigCache'](_0x4195a3,_0x1fde8c,_0x441df7,_0x3aa235),this['_sheetsPivotTableConfigModel'][_0x1eb21f(0x2c4)](_0x4195a3,_0x333417);}}})),this[_0x3bcea6(0x260)](this[_0x3bcea6(0x284)][_0x3bcea6(0x125)](_0x42e746=>{const _0x1d09c4=_0x3bcea6;if(_0x42e746['id']!==_0x33d353['id'])return;const _0x1ddb4e=_0x165f3c[_0x1d09c4(0x28d)](this['_univerInstanceService']);if(!_0x1ddb4e)return;const {unitId:_0x1ce01b,subUnitId:_0x328465}=_0x1ddb4e,_0x58d1ef=_0x42e746[_0x1d09c4(0xbf)];if(_0x58d1ef[_0x1d09c4(0x16b)]&&Object['keys'](_0x58d1ef[_0x1d09c4(0x16b)])['forEach'](_0x4987f6=>{const _0x358b99=_0x1d09c4;var _0x4f9e84;(_0x4f9e84=_0x58d1ef[_0x358b99(0x16b)])!=null&&_0x4f9e84[_0x4987f6]&&this[_0x358b99(0x30d)][_0x358b99(0x2c4)](_0x4987f6,_0x58d1ef[_0x358b99(0x16b)][_0x4987f6]);}),_0x58d1ef[_0x1d09c4(0x325)]){const _0x808a27=_0x58d1ef['single'],{unitId:_0xb94a73,subUnitId:_0x69aad2,view:_0x4e5076,pivotTableId:_0xde171b,type:_0x44572f,pivotConfig:_0x4b0628}=_0x808a27;if(_0x44572f===_0x20d852[_0x1d09c4(0x38e)])this[_0x1d09c4(0x200)][_0x1d09c4(0x173)]({'unitId':_0xb94a73,'subUnitId':_0x69aad2,'pivotTableId':_0xde171b,'type':_0x44572f}),this[_0x1d09c4(0x30d)]['updateConfigCache'](_0xb94a73,_0x69aad2,_0xde171b,null);else{const _0x49462b=new _0x399222['PivotView']();_0x49462b[_0x1d09c4(0xcb)](_0x4e5076),this['_sheetsPivotTableConfigModel'][_0x1d09c4(0x23e)](_0xb94a73,_0x69aad2,_0xde171b,_0x4b0628),this['_sheetsPivotTableAdaptorModel']['clearRenderCache']({'unitId':_0xb94a73,'subUnitId':_0x69aad2,'pivotTableId':_0xde171b,'type':_0x44572f,'view':_0x49462b}),this[_0x1d09c4(0x200)]['updateRenderCache']({'unitId':_0xb94a73,'subUnitId':_0x69aad2,'view':_0x49462b,'pivotTableId':_0xde171b,'type':_0x44572f});}}else _0x58d1ef[_0x1d09c4(0x274)]&&(_0x58d1ef[_0x1d09c4(0x274)][_0x1d09c4(0xfe)](_0xc1f3ff=>{const _0x16a2fb=_0x1d09c4,{unitId:_0x51385c,subUnitId:_0x3c4bd9,view:_0x1dfa15,pivotTableId:_0x593f69,type:_0x51850a,pivotConfig:_0x4467ef}=_0xc1f3ff,_0xd8192e=new _0x399222[(_0x16a2fb(0x162))]();_0xd8192e[_0x16a2fb(0xcb)](_0x1dfa15),this[_0x16a2fb(0x30d)][_0x16a2fb(0x23e)](_0x51385c,_0x3c4bd9,_0x593f69,_0x4467ef),this[_0x16a2fb(0x200)][_0x16a2fb(0x37a)]({'unitId':_0x51385c,'subUnitId':_0x3c4bd9,'view':_0xd8192e,'pivotTableId':_0x593f69,'type':_0x51850a});}),this['_sheetsPivotTableConfigModel'][_0x1d09c4(0x15e)]());this[_0x1d09c4(0x200)]['markDirty'](_0x1ce01b,_0x328465);}));}[_0x3dc404(0x196)](){const _0x39b34b=_0x3dc404;this['_activeDirtyManagerService'][_0x39b34b(0x31b)](_0xc8ed1['id'],{'commandId':_0xc8ed1['id'],'getDirtyData'(_0xb28217){const _0x38e640=_0x39b34b;return{'dirtyUnitFeatureMap':_0xb28217[_0x38e640(0xbf)]};}});}};_0x30e7a6=_0x3a13c5([_0xe759b4(0x0,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x3c9)])),_0xe759b4(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x1b0)])),_0xe759b4(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x582d11[_0x3dc404(0x13f)])),_0xe759b4(0x3,_0x9cf92b['Inject'](_0x582d11[_0x3dc404(0x2a8)])),_0xe759b4(0x4,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x2f5)])),_0xe759b4(0x5,_0x544f7f[_0x3dc404(0x2ac)])],_0x30e7a6);var _0x4dbdba=Object[_0x3dc404(0x2bf)],_0x12dd50=Object[_0x3dc404(0x34b)],_0x5849b6=(_0x571b03,_0x480ff4,_0x3f1be0)=>_0x480ff4 in _0x571b03?_0x4dbdba(_0x571b03,_0x480ff4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f1be0}):_0x571b03[_0x480ff4]=_0x3f1be0,_0x5d41f5=(_0x3e356c,_0x30fa2b,_0x1b88ff,_0x81ecf)=>{for(var _0x4a3f5c=_0x81ecf>0x1?void 0x0:_0x81ecf?_0x12dd50(_0x30fa2b,_0x1b88ff):_0x30fa2b,_0x3d2584=_0x3e356c['length']-0x1,_0x4c21c0;_0x3d2584>=0x0;_0x3d2584--)(_0x4c21c0=_0x3e356c[_0x3d2584])&&(_0x4a3f5c=_0x4c21c0(_0x4a3f5c)||_0x4a3f5c);return _0x4a3f5c;},_0x2c919a=(_0x3f31b3,_0x3ad948)=>(_0x127e2d,_0x98a9ba)=>_0x3ad948(_0x127e2d,_0x98a9ba,_0x3f31b3),_0xa70290=(_0x1915c8,_0x2d2ab1,_0x4105ed)=>_0x5849b6(_0x1915c8,typeof _0x2d2ab1!=_0x3dc404(0x1a4)?_0x2d2ab1+'':_0x2d2ab1,_0x4105ed);_0x582d11['UniverSheetsPivotTablePlugin']=class extends _0x9cf92b[_0x3dc404(0x2fa)]{constructor(_0x2e2fd3=_0x47acb4,_0x5e9c31,_0x1a8ddc,_0x2f4eb2,_0x2e0185){const _0x3825d5=_0x3dc404;super(),this[_0x3825d5(0xf7)]=_0x2e2fd3,this[_0x3825d5(0x33e)]=_0x5e9c31,this[_0x3825d5(0x284)]=_0x1a8ddc,this[_0x3825d5(0x387)]=_0x2f4eb2,this[_0x3825d5(0x390)]=_0x2e0185;const {..._0x1959a0}=_0x9cf92b[_0x3825d5(0x2a3)]({},_0x47acb4,this[_0x3825d5(0xf7)]);this[_0x3825d5(0x387)]['setConfig'](_0x4e4898,_0x1959a0),this[_0x3825d5(0x150)](),this[_0x3825d5(0x27c)]();}[_0x3dc404(0x27c)](){const _0x4e1a97=_0x3dc404;var _0x309a16;const _0x123a2c=(_0x309a16=this[_0x4e1a97(0xf7)])==null?void 0x0:_0x309a16[_0x4e1a97(0x2dd)];this['_configService'][_0x4e1a97(0x3c6)](_0x3ee12c,_0x123a2c===!0x0);}['onStarting'](){const _0x44d353=_0x3dc404;var _0x24de9e;let _0x400593=[];const _0x4bfb96=(_0x24de9e=this[_0x44d353(0xf7)])==null?void 0x0:_0x24de9e[_0x44d353(0x2dd)];_0x4bfb96===!0x0?_0x400593=[[_0x582d11['SheetsPivotTableService']],[_0x582d11[_0x44d353(0x1b0)]],[_0x30e7a6],[_0x582d11[_0x44d353(0x13f)]],[_0x582d11[_0x44d353(0x2a8)]],[_0x870106],[_0x22d7bd],[_0x4d140f],[_0x174757]]:_0x4bfb96===!0x1?_0x400593=[[_0x582d11['SheetsPivotDataSourceModel']],[_0x503194]]:_0x4bfb96===void 0x0&&(_0x400593=[[_0x582d11[_0x44d353(0x3c0)]],[_0x503194],[_0x582d11['SheetsPivotTableService']],[_0x582d11[_0x44d353(0x1b0)]],[_0x30e7a6],[_0x582d11[_0x44d353(0x13f)]],[_0x582d11[_0x44d353(0x2a8)]],[_0x870106],[_0x22d7bd],[_0x4d140f],[_0x174757]]),_0x400593['forEach'](_0x3b3202=>this[_0x44d353(0x33e)]['add'](_0x3b3202)),[_0x503194,_0x30e7a6,_0x582d11[_0x44d353(0x163)],_0x22d7bd,_0x870106,_0x4d140f,_0x174757][_0x44d353(0xfe)](_0x3dbb44=>{const _0xa692b=_0x44d353;this[_0xa692b(0x33e)][_0xa692b(0x138)](_0x3dbb44)&&this['_injector'][_0xa692b(0x1b1)](_0x3dbb44);});}[_0x3dc404(0x150)](){const _0x1a7ff2=_0x3dc404;[_0x47c177,_0x4cbe1d,_0xa5379e,_0x2e36c4,_0x1c245c,_0x207157,_0x5ca121,_0x2647d2,_0x122030,_0x29e301,_0x22c491,_0x455ba6,_0x51fa98,_0x37db6f,_0x16a837,_0x171857,_0x41c01a,_0x650ffc,_0x57efd5,_0x1b6944,_0x98ff,_0x1deb09,_0x5b87ea,_0x423c02,_0x2e2457,_0x1a435f,_0x5a33fa,_0x2c3c73,_0x1a7285,_0x33d353,_0x2613dd,_0x34c4a7,_0x5f043d,_0x1e447b,_0x2b6fcc,_0x63e810,_0x16ae19,_0xc8ed1,_0x479347,_0x2f2dba,_0x1a2958,_0x11b40f,_0x90b3e3][_0x1a7ff2(0xfe)](_0x777d9=>{const _0x44af2e=_0x1a7ff2;var _0x5d3c1f;(_0x5d3c1f=this['_dataSyncPrimaryController'])==null||_0x5d3c1f[_0x44af2e(0x216)](_0x777d9),this[_0x44af2e(0x284)][_0x44af2e(0x328)](_0x777d9);});}},_0xa70290(_0x582d11[_0x3dc404(0x3c2)],_0x3dc404(0x12b),_0x502233),_0xa70290(_0x582d11['UniverSheetsPivotTablePlugin'],'type',_0x9cf92b[_0x3dc404(0x101)][_0x3dc404(0x2ae)]),_0x582d11['UniverSheetsPivotTablePlugin']=_0x5d41f5([_0x9cf92b['DependentOn'](_0x4f64c3[_0x3dc404(0x36d)]),_0x2c919a(0x1,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b[_0x3dc404(0x175)])),_0x2c919a(0x2,_0x9cf92b[_0x3dc404(0x2ff)](_0x9cf92b['ICommandService'])),_0x2c919a(0x3,_0x9cf92b[_0x3dc404(0x2fe)]),_0x2c919a(0x4,_0x9cf92b[_0x3dc404(0x272)](_0x4f741a[_0x3dc404(0x209)]))],_0x582d11['UniverSheetsPivotTablePlugin']),_0x582d11[_0x3dc404(0x389)]=_0xa5379e,_0x582d11[_0x3dc404(0x37b)]=_0x650ffc,_0x582d11[_0x3dc404(0x2eb)]=_0x4cbe1d,_0x582d11[_0x3dc404(0x179)]=_0x16a837,_0x582d11[_0x3dc404(0x1f1)]=_0x47c177,_0x582d11[_0x3dc404(0x278)]=_0x301d16,_0x582d11['DEFAULT_PIVOT_NUMBER']=_0x3cfec6,_0x582d11[_0x3dc404(0x307)]=_0x2e36c4,_0x582d11[_0x3dc404(0x19d)]=_0x51fa98,_0x582d11[_0x3dc404(0x177)]=_0x4651ca,_0x582d11['PivotDrillDownCommand']=_0x37db6f,_0x582d11[_0x3dc404(0x30a)]=_0x20d852,_0x582d11['PivotTableViewDirtyMarkOperation']=_0xc8ed1,_0x582d11[_0x3dc404(0x1af)]=_0x3f33c5,_0x582d11[_0x3dc404(0x142)]=_0x1c245c,_0x582d11[_0x3dc404(0x1c3)]=_0x1deb09,_0x582d11['RemovePivotTableMutation']=_0x41c01a,_0x582d11[_0x3dc404(0x314)]=_0x5b87ea,_0x582d11[_0x3dc404(0x2f6)]=_0x90b3e3,_0x582d11[_0x3dc404(0x3a7)]=_0x4e4898,_0x582d11[_0x3dc404(0xea)]=_0x502233,_0x582d11['SetPivotCollapseCommand']=_0x2647d2,_0x582d11[_0x3dc404(0x1d1)]=_0x423c02,_0x582d11[_0x3dc404(0x235)]=_0x1e447b,_0x582d11[_0x3dc404(0x383)]=_0x11b40f,_0x582d11['SetPivotFilterCommand']=_0x29e301,_0x582d11[_0x3dc404(0xbc)]=_0x98ff,_0x582d11[_0x3dc404(0x294)]=_0x1a435f,_0x582d11[_0x3dc404(0x1ed)]=_0x5a33fa,_0x582d11[_0x3dc404(0x3db)]=_0x122030,_0x582d11['SetPivotSortMutation']=_0x2e2457,_0x582d11['SetPivotSubtotalTypeMutation']=_0x5f043d,_0x582d11[_0x3dc404(0x2ab)]=_0x2f2dba,_0x582d11['SetPivotValueFilterMutation']=_0x1a2958,_0x582d11[_0x3dc404(0xf8)]=_0x5ca121,_0x582d11[_0x3dc404(0x27b)]=_0x2613dd,_0x582d11['UpdatePivotFieldSettingCommand']=_0x22c491,_0x582d11[_0x3dc404(0x2bb)]=_0x16ae19,_0x582d11[_0x3dc404(0x3ae)]=_0x455ba6,_0x582d11[_0x3dc404(0x203)]=_0x63e810,_0x582d11[_0x3dc404(0x195)]=_0x207157,_0x582d11['UpdateValuePositionMutation']=_0x34c4a7,_0x582d11['applyChangeSet']=_0x3fde14,_0x582d11[_0x3dc404(0x2ec)]=_0x5239b9,_0x582d11['defaultThemeStyle']=_0x22c6a2,_0x582d11[_0x3dc404(0xec)]=_0xfbdb4a,_0x582d11[_0x3dc404(0x2fd)]=_0x7e091f,_0x582d11[_0x3dc404(0x17f)]=_0x47957b,_0x582d11[_0x3dc404(0xe2)]=_0x511f6a,_0x582d11[_0x3dc404(0x31c)]=_0xfa0513,_0x582d11[_0x3dc404(0x286)]=_0x42b294,_0x582d11[_0x3dc404(0xcf)]=_0x5e17ca,_0x582d11[_0x3dc404(0x22e)]=_0x3202fe,_0x582d11[_0x3dc404(0x3b0)]=_0x340ba5,_0x582d11[_0x3dc404(0x12f)]=_0x1c8bbb,Object[_0x3dc404(0x2bf)](_0x582d11,Symbol['toStringTag'],{'value':_0x3dc404(0x15a)});}));
|