@univerjs-pro/sheets-pivot 0.9.4 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +42 -42
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/controllers/sheets-pivot-caculate.controller.d.ts +2 -3
- package/lib/types/controllers/sheets-pivot-interceptor.controller.d.ts +2 -3
- package/lib/types/models/sheets-pivot-data-source-model.d.ts +2 -3
- package/lib/types/services/sheets-pivot-rpc.service.d.ts +2 -3
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x48de2a,_0x28ac68){const _0x4ba10c=_0xc6ae,_0x107ff0=_0x48de2a();while(!![]){try{const _0x4c7fc5=parseInt(_0x4ba10c(0x137))/0x1+parseInt(_0x4ba10c(0x31b))/0x2*(parseInt(_0x4ba10c(0x395))/0x3)+-parseInt(_0x4ba10c(0x12a))/0x4*(-parseInt(_0x4ba10c(0x15f))/0x5)+-parseInt(_0x4ba10c(0x1d5))/0x6*(parseInt(_0x4ba10c(0xda))/0x7)+parseInt(_0x4ba10c(0x384))/0x8*(parseInt(_0x4ba10c(0x30a))/0x9)+-parseInt(_0x4ba10c(0x1f3))/0xa+-parseInt(_0x4ba10c(0x131))/0xb;if(_0x4c7fc5===_0x28ac68)break;else _0x107ff0['push'](_0x107ff0['shift']());}catch(_0x500e6e){_0x107ff0['push'](_0x107ff0['shift']());}}}(_0x28fa,0xae7ab),function(_0x4870ea,_0x1bb275){const _0x2b1e85=_0xc6ae;typeof exports==_0x2b1e85(0x2ba)&&typeof module<'u'?_0x1bb275(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==_0x2b1e85(0x1ea)&&define['amd']?define([_0x2b1e85(0xc6),'@univerjs-pro/engine-pivot',_0x2b1e85(0x16b),_0x2b1e85(0x299),_0x2b1e85(0x33f),_0x2b1e85(0x1f8),_0x2b1e85(0x214),_0x2b1e85(0x1fd),_0x2b1e85(0x2af),'@univerjs/engine-render'],_0x1bb275):(_0x4870ea=typeof globalThis<'u'?globalThis:_0x4870ea||self,_0x1bb275(_0x4870ea[_0x2b1e85(0x186)]={},_0x4870ea[_0x2b1e85(0xef)],_0x4870ea[_0x2b1e85(0x2c0)],_0x4870ea['UniverEngineFormula'],_0x4870ea[_0x2b1e85(0x9f)],_0x4870ea[_0x2b1e85(0x1f8)],_0x4870ea[_0x2b1e85(0x345)],_0x4870ea[_0x2b1e85(0x357)],_0x4870ea[_0x2b1e85(0x289)],_0x4870ea['UniverEngineRender']));}(this,function(_0x89a8ec,_0x24a6f0,_0x3f1699,_0x54af29,_0x1c7b09,_0x28d43e,_0x48414d,_0x10853a,_0x59f156,_0x340edc){'use strict';const _0x43ed60=_0xc6ae;var _0x4226cb=Object['defineProperty'],_0x147b91=(_0x3a1a27,_0x51fad6,_0x3dc337)=>_0x51fad6 in _0x3a1a27?_0x4226cb(_0x3a1a27,_0x51fad6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dc337}):_0x3a1a27[_0x51fad6]=_0x3dc337,_0x575f06=(_0x5e1822,_0x2bc866,_0x98e85d)=>_0x147b91(_0x5e1822,typeof _0x2bc866!=_0x43ed60(0x11f)?_0x2bc866+'':_0x2bc866,_0x98e85d);const _0x81ded8=Number[_0x43ed60(0x1c4)](0x68835018),_0x121f60=0x10,_0x53ba46=0x1,_0x1cc3eb=_0x43ed60(0x2da),_0x4cd667=0x1,_0x151292=_0x43ed60(0xbd),_0x32c6fb=_0x43ed60(0xcb),_0x4e2624=_0x43ed60(0x2ca),_0x29e8c5='#f4f4f5',_0x2dd948=_0x43ed60(0x377),_0xb51d9b=_0x43ed60(0xd4),_0x467bb4=_0x43ed60(0x35e),_0x552eb1=_0x43ed60(0x184),_0x136aa2=_0x43ed60(0x303),_0x2443fa=_0x43ed60(0x35e),_0x12df3c='#FFFFFF',_0x4b4e7f=_0x43ed60(0x2df),_0x4cc7a2=0xe,_0x5763f3=0x6;var _0x581236=(_0x20172f=>(_0x20172f[_0x43ed60(0x13e)]='existing',_0x20172f['New']=_0x43ed60(0x278),_0x20172f))(_0x581236||{});const _0x5c6bc9={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x46d021=0x1e,_0xc5712={'b':{'s':0x1,'cl':{'rgb':_0x4e2624}},'l':{'s':0x1,'cl':{'rgb':_0x4e2624}},'r':{'s':0x1,'cl':{'rgb':_0x4e2624}},'t':{'s':0x1,'cl':{'rgb':_0x4e2624}}},_0x35fd4d={'bg':{'rgb':_0x151292},'ht':0x2,'vt':0x2,'tb':0x1},_0x5d472a={'bg':{'rgb':_0x32c6fb},'ht':0x2,'vt':0x2,'tb':0x1},_0x4939a9={'rowStyle':{'bg':{'rgb':_0x4b4e7f},'bd':_0xc5712,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x2443fa},'bd':null,'cl':{'rgb':_0x12df3c},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0xc5712,'bg':{'rgb':_0x136aa2},'vt':0x2},'cornerStyle':{'bd':_0xc5712,'bg':{'rgb':_0xb51d9b},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0xc5712,'bg':{'rgb':_0x29e8c5},'vt':0x2},'leafStyle':{'bd':_0xc5712,'bg':{'rgb':_0x2dd948},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x467bb4},'cl':{'rgb':_0x552eb1},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0xc5712,'vt':0x2}};function _0x425910(_0x2d184b,_0x52867d,_0x39867b){const _0x50579a=_0x43ed60,_0x112139=_0x2d184b[_0x50579a(0x33b)](_0x3f1699[_0x50579a(0x27e)]),_0x1973f7=_0x39867b[_0x50579a(0x1bd)]('_');switch(_0x52867d){case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x50579a(0x3aa)]:return _0x112139['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x105)]:return _0x112139['t'](_0x50579a(0x10e),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x29c)]:return _0x112139['t'](_0x50579a(0x3a1),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)]['HourMinute']:return _0x112139['t'](_0x50579a(0x13d),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x30e)]:return _0x112139['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x1973f7);case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x50579a(0xcc)]:return _0x112139['t'](_0x50579a(0x1c2),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0xa3)]:return _0x112139['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x1973f7);case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x50579a(0x9e)]:return _0x112139['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x9b)]:return _0x112139['t'](_0x50579a(0x222),..._0x1973f7);case _0x24a6f0[_0x50579a(0x354)][_0x50579a(0x301)]:return _0x112139['t'](_0x50579a(0x389),..._0x1973f7);}return'';}const _0xbb2f71=(_0x4a71c2,_0xb61939,_0x148215,_0x239dac)=>{const _0x28e84a=_0x43ed60;let _0x3b319a;const _0x3af287=_0x4a71c2[_0x28e84a(0x33b)](_0x3f1699['IUniverInstanceService'])[_0x28e84a(0x2a7)](_0x3f1699[_0x28e84a(0x139)][_0x28e84a(0xfd)]);if(!_0x3af287)return null;const _0x876252=_0x3af287[_0x28e84a(0x2ce)]();let _0x5d8768;if(_0x148215&&(_0x5d8768=_0x876252[_0x28e84a(0x297)](_0x148215)),_0xb61939!=null&&_0xb61939['v']||(_0xb61939==null?void 0x0:_0xb61939['v'])===0x0){_0x3b319a||(_0x3b319a={});const _0x10e991=_0x5cb347(_0xb61939['v']);typeof _0x10e991==_0x28e84a(0x209)?_0x3b319a['t']=_0x3f1699[_0x28e84a(0x130)]['NUMBER']:typeof _0x10e991==_0x28e84a(0x38b)&&(_0x3b319a['t']=_0x3f1699[_0x28e84a(0x130)]['STRING']),_0x3b319a['v']=_0x10e991;}if((_0xb61939!=null&&_0xb61939['i']||(_0xb61939==null?void 0x0:_0xb61939['i'])===0x0)&&(_0x3b319a||(_0x3b319a={}),_0x3b319a['fi']=_0xb61939['i']),_0xb61939!=null&&_0xb61939['s']&&(_0x3b319a||(_0x3b319a={}),_0x3b319a[_0x28e84a(0xa8)]=_0xb61939['s']),_0x148215&&(_0x3b319a||(_0x3b319a={}),_0x3b319a['s']=_0x5d8768),_0x239dac&&_0x3b319a!=null&&_0x3b319a['v']&&_0x3b319a['pbt']!==_0x24a6f0[_0x28e84a(0x2c1)][_0x28e84a(0x370)]&&_0x3b319a[_0x28e84a(0xa8)]!==_0x24a6f0['PivotCellStyleTypeEnum'][_0x28e84a(0x2c3)]){const _0x142b2c=String(_0x3b319a['v']),{dateType:_0x4688a0}=_0x239dac;_0x3b319a['v']=_0x425910(_0x4a71c2,_0x4688a0,_0x142b2c),_0x3b319a['t']=_0x3f1699[_0x28e84a(0x130)][_0x28e84a(0x217)];}return _0x3b319a;},_0x21cd62=(_0x1e55f4,_0x32b657,_0x42fa38,_0x6d3983)=>{const _0x3dfb6f=_0x43ed60;var _0x3a9cbf,_0x4e8898,_0x6c2c36,_0x35a708,_0x3be51e,_0x324f14,_0x5f2571,_0x2d6557,_0x296990,_0x5cb1b7,_0x2136f,_0x4f44cc,_0x4bcdf9,_0xd0b0e0;const _0x5737c9=_0x42fa38['targetCellInfo'],{cornerView:_0x49715d,rowView:_0x4e5be7,colView:_0x466381,dataView:_0x10421f,pageView:_0x2032f8,formatMap:_0x5a832c,groupInfo:_0x2e8856}=_0x32b657,{row:_0x30f99d,col:_0x474197}=_0x5737c9,_0x401312=new _0x3f1699[(_0x3dfb6f(0x2cb))](),_0x597999={},_0x5b5f51={},_0x237657={},_0x3831ef={},_0x190715={};let _0xb0281=_0x30f99d,_0x2c6bf4=_0x474197;Object[_0x3dfb6f(0x375)](_0x2032f8[_0x3dfb6f(0x187)])['forEach'](_0x56227b=>{const _0x5a4394=_0x3dfb6f;Object[_0x5a4394(0x375)](_0x2032f8[_0x5a4394(0x187)][Number(_0x56227b)])[_0x5a4394(0x2f8)](_0x34609f=>{const _0x29a897=_0x5a4394,_0x28a1cc={..._0x2032f8[_0x29a897(0x187)][Number(_0x56227b)][Number(_0x34609f)]};_0x401312[_0x29a897(0x297)](Number(_0x56227b)+_0xb0281,Number(_0x34609f)+_0x2c6bf4,_0xbb2f71(_0x1e55f4,_0x28a1cc,_0x4939a9['pageStyle']));});});const _0x9855de=Object[_0x3dfb6f(0x375)](_0x2032f8[_0x3dfb6f(0x187)])['length'];_0xb0281+=_0x9855de+(_0x9855de?_0x4cd667:0x0);const _0x1fad3d=_0x49715d[_0x3dfb6f(0x2b0)](),_0x248271=_0x49715d[_0x3dfb6f(0x12b)]();for(let _0x37f32c=0x0;_0x37f32c<_0x1fad3d;_0x37f32c++)for(let _0x5859a5=0x0;_0x5859a5<_0x248271;_0x5859a5++){const _0x58c5e9={...(_0x4e8898=(_0x3a9cbf=_0x49715d[_0x3dfb6f(0x187)])==null?void 0x0:_0x3a9cbf[_0x37f32c])==null?void 0x0:_0x4e8898[_0x5859a5]};_0x58c5e9&&((_0x6c2c36=_0x4e5be7['headerMap'][_0x5859a5])!=null&&_0x6c2c36[_0x3dfb6f(0x302)])&&_0x5859a5===_0x248271-0x1&&_0x37f32c===_0x1fad3d-0x1&&(_0x58c5e9['v']=''+_0x6d3983[_0x3dfb6f(0x373)]),_0x401312[_0x3dfb6f(0x297)](_0x37f32c+_0xb0281,_0x5859a5+_0x2c6bf4,_0xbb2f71(_0x1e55f4,_0x58c5e9,_0x4939a9[_0x3dfb6f(0x312)]));}for(let _0x1d35d9=0x0;_0x1d35d9<_0x49715d[_0x3dfb6f(0xfe)]['length'];_0x1d35d9++)_0x49715d[_0x3dfb6f(0xfe)][_0x1d35d9]&&(_0x237657[''+(_0x1d35d9+_0x2c6bf4)]=_0x49715d[_0x3dfb6f(0xfe)][_0x1d35d9]);_0x2c6bf4+=_0x248271;const _0x49ca66=_0x466381['headerMap'],_0x116225=_0x466381[_0x3dfb6f(0x116)]()>=0x0?_0x466381[_0x3dfb6f(0x116)]()+0x1:0x0,_0x13b1ae=_0x466381[_0x3dfb6f(0x157)]()>=0x0?_0x466381[_0x3dfb6f(0x157)]()+0x1:0x0;for(let _0x10d172=0x0;_0x10d172<_0x13b1ae;_0x10d172++){for(let _0x45294b=0x0;_0x45294b<_0x116225;_0x45294b++){const _0x5f59af={...(_0x3be51e=(_0x35a708=_0x466381[_0x3dfb6f(0x187)])==null?void 0x0:_0x35a708[_0x45294b])==null?void 0x0:_0x3be51e[_0x10d172]},_0x154c1f=(_0x324f14=_0x49ca66[_0x45294b])==null?void 0x0:_0x324f14['tableFieldId'],_0x126b75=_0x5a832c[_0x154c1f],_0x25e181=_0x2e8856[_0x154c1f];_0x5f59af&&(_0x5f59af['v']=_0x2a897d(_0x5f59af,_0x45294b===0x0&&((_0x5f2571=_0x466381[_0x3dfb6f(0xe1)](_0x10d172+0x1))==null?void 0x0:_0x5f2571['isValue']),_0x126b75,_0x6d3983));let _0x3f8645;_0x126b75?_0x3f8645={..._0x4939a9[_0x3dfb6f(0x114)],'n':{'pattern':_0x126b75}}:_0x3f8645={..._0x4939a9[_0x3dfb6f(0x114)]},_0x401312[_0x3dfb6f(0x297)](_0x45294b+_0xb0281,_0x10d172+_0x2c6bf4,_0xbb2f71(_0x1e55f4,_0x5f59af,_0x3f8645,_0x25e181));}_0x466381[_0x3dfb6f(0xfe)][_0x10d172]&&(_0x5b5f51[''+(_0x10d172+_0x2c6bf4)]=_0x466381[_0x3dfb6f(0xfe)][_0x10d172]),_0x466381[_0x3dfb6f(0xe2)][_0x10d172+0x1]&&(_0x190715[''+(_0x10d172+_0xb0281+0x1)]=_0x466381['headerMap'][_0x10d172+0x1]);}_0xb0281+=_0x1fad3d;const _0xfc0668=_0x4e5be7['headerMap'],_0x3078d0=_0x4e5be7[_0x3dfb6f(0x116)]()>=0x0?_0x4e5be7['getLastRow']()+0x1:0x0,_0x54e5e4=_0x4e5be7[_0x3dfb6f(0x157)]()>=0x0?_0x4e5be7[_0x3dfb6f(0x157)]()+0x1:0x0;for(let _0x3c47b2=0x0;_0x3c47b2<_0x3078d0;_0x3c47b2++){for(let _0x298925=0x0;_0x298925<_0x54e5e4;_0x298925++){const _0x59c880={...(_0x296990=(_0x2d6557=_0x4e5be7['data'])==null?void 0x0:_0x2d6557[_0x3c47b2])==null?void 0x0:_0x296990[_0x298925]},_0x1b64dd=(_0x5cb1b7=_0xfc0668[_0x298925])==null?void 0x0:_0x5cb1b7[_0x3dfb6f(0x2e5)],_0x373a02=_0x5a832c[_0x1b64dd],_0x352a35=_0x2e8856[_0x1b64dd];_0x59c880&&(_0x59c880['v']=_0x2a897d(_0x59c880,!0x1,_0x373a02,_0x6d3983));let _0x14f308;_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2][_0x3dfb6f(0x32c)]===_0x4e5be7['getColCount']()?_0x14f308=_0x4939a9[_0x3dfb6f(0xf6)]:_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2][_0x3dfb6f(0x2ad)]?_0x14f308=_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2][_0x3dfb6f(0x32c)]===0x0?_0x4939a9['grandTotal']:_0x4939a9['subTotalStyle']:_0x14f308=_0x4939a9[_0x3dfb6f(0xbf)],_0x373a02&&(_0x14f308={..._0x14f308,'n':{'pattern':_0x373a02}}),_0x401312[_0x3dfb6f(0x297)](_0x3c47b2+_0xb0281,_0x298925+_0x474197,_0xbb2f71(_0x1e55f4,_0x59c880,_0x14f308,_0x352a35));}_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2]&&(_0x597999[''+(_0x3c47b2+_0xb0281)]=_0x4e5be7[_0x3dfb6f(0xfe)][_0x3c47b2]),_0x4e5be7[_0x3dfb6f(0xe2)][_0x3c47b2]&&(_0x3831ef[''+(_0x3c47b2+_0x474197)]=_0x4e5be7[_0x3dfb6f(0xe2)][_0x3c47b2]);}const _0x18b424=_0x10421f[_0x3dfb6f(0x2b0)](),_0x379ce2=_0x10421f[_0x3dfb6f(0x12b)]();for(let _0x15a154=0x0;_0x15a154<_0x18b424;_0x15a154++)for(let _0x3e9398=0x0;_0x3e9398<_0x379ce2;_0x3e9398++){const _0x636585={...(_0x4f44cc=(_0x2136f=_0x10421f[_0x3dfb6f(0x187)])==null?void 0x0:_0x2136f[_0x15a154])==null?void 0x0:_0x4f44cc[_0x3e9398]};let _0x2e6ee7;_0x4e5be7[_0x3dfb6f(0xfe)][_0x15a154][_0x3dfb6f(0x2ad)]?_0x2e6ee7=_0x4e5be7['info'][_0x15a154][_0x3dfb6f(0x32c)]===0x0?_0x4939a9[_0x3dfb6f(0x366)]:_0x4939a9[_0x3dfb6f(0x113)]:_0x2e6ee7=_0x4939a9[_0x3dfb6f(0xb0)];const _0x897a01=_0x4e5be7[_0x3dfb6f(0xfe)][_0x15a154][_0x3dfb6f(0x374)],_0x489f9f=_0x466381[_0x3dfb6f(0xfe)][_0x3e9398][_0x3dfb6f(0x374)],_0x164ea5=Math['max'](_0x897a01,_0x489f9f),_0x26a0cf=_0x42fa38[_0x3dfb6f(0x1d8)][_0x3dfb6f(0x16c)][_0x3dfb6f(0x1b0)]();let _0x2442b6='';_0x164ea5<0x0?_0x2442b6=(_0x4bcdf9=_0x26a0cf[0x0])!=null?_0x4bcdf9:'':_0x2442b6=(_0xd0b0e0=_0x26a0cf[_0x164ea5])!=null?_0xd0b0e0:'';const _0x508fbd=_0x5a832c[_0x2442b6];_0x508fbd&&(_0x2e6ee7={..._0x2e6ee7,'n':{'pattern':_0x508fbd}}),_0x401312[_0x3dfb6f(0x297)](_0x15a154+_0xb0281,_0x3e9398+_0x2c6bf4,_0xbb2f71(_0x1e55f4,_0x636585,_0x2e6ee7));}return{'valueMatrix':_0x401312,'rowInfo':_0x597999,'colInfo':_0x5b5f51,'cornerInfo':_0x237657,'rowHeaderMap':_0x3831ef,'colHeaderMap':_0x190715};};function _0x2a897d(_0x166c5f,_0x36b81e,_0x228d8d,_0x24bb6c){const _0x48cc82=_0x43ed60;let _0x362961=_0x166c5f['v'];_0x36b81e&&(_0x362961=''+_0x24bb6c[_0x48cc82(0x373)]);const _0x4221a9=_0x166c5f['t']&&(_0x166c5f['t']&_0x24a6f0[_0x48cc82(0x1d3)][_0x48cc82(0x398)])>0x0;if(_0x4221a9&&(_0x362961=''+_0x24bb6c[_0x48cc82(0x1f9)]),_0x166c5f['s']===_0x24a6f0[_0x48cc82(0x2c1)]['Subtotal']){let _0x3f470=_0x362961,_0x2eccd8='';_0x24a6f0[_0x48cc82(0x2bb)](_0x362961)&&(_0x3f470=_0x362961[_0x48cc82(0x270)],_0x2eccd8=_0x362961[_0x48cc82(0x342)]);const _0x3a973e=_0x228d8d&&!_0x4221a9?_0x3f1699[_0x48cc82(0x1c9)][_0x48cc82(0x2ac)](_0x228d8d,Number(_0x3f470)):_0x3f470;_0x2eccd8?_0x362961=_0x3a973e+'\x20'+_0x2eccd8:_0x362961=_0x3a973e+'\x20'+_0x24bb6c[_0x48cc82(0x292)];}else _0x166c5f['s']===_0x24a6f0[_0x48cc82(0x2c1)][_0x48cc82(0x370)]&&(_0x362961=_0x362961+'\x20'+_0x24bb6c['sheets-pivot.grandTotal']);return _0x362961;}function _0x5cb347(_0x26fe27){const _0x361cfd=_0x43ed60;if(_0x24a6f0['isErrorValue'](_0x26fe27)){const {errorType:_0x36f566}=_0x26fe27;switch(_0x36f566){case _0x24a6f0[_0x361cfd(0x2fc)][_0x361cfd(0x118)]:return _0x54af29[_0x361cfd(0x1c6)][_0x361cfd(0x30d)];case _0x24a6f0['PivotErrorTypeEnum'][_0x361cfd(0x1fc)]:return _0x54af29[_0x361cfd(0x1c6)]['NUM'];case _0x24a6f0[_0x361cfd(0x2fc)]['NotFunction']:return _0x54af29['ErrorType'][_0x361cfd(0x124)];case _0x24a6f0[_0x361cfd(0x2fc)][_0x361cfd(0x319)]:return _0x54af29[_0x361cfd(0x1c6)]['NAME'];case _0x24a6f0[_0x361cfd(0x2fc)][_0x361cfd(0x30c)]:return _0x54af29[_0x361cfd(0x1c6)][_0x361cfd(0x29e)];}}return _0x26fe27;}function _0x3688e4(_0x50db0d,_0x4f5620,_0x1bce27=!0x1,_0x34d41c=!0x1){const _0x2dfb3c=_0x43ed60,{data:_0x5c7302}=_0x4f5620,_0x1a9146=_0x4f5620[_0x2dfb3c(0x2b0)](),_0x306220=_0x4f5620[_0x2dfb3c(0x12b)]();if(_0x1a9146<=0x0||_0x306220<=0x0)return[];const _0xb66fb1=_0x4f5620['getLastCol'](),_0x35717f=_0x4f5620['getLastRow'](),_0x1d353e=_0x34d41c?_0x35717f>=0x0?_0x35717f+0x1:0x0:_0x1a9146,_0x13229a=_0x34d41c?_0xb66fb1>=0x0?_0xb66fb1+0x1:0x0:_0x306220,{row:_0x396e8d,col:_0xf28010}=_0x50db0d,_0x17e1ca=_0x396e8d,_0x29daf5=_0xf28010;if(_0x1bce27){const _0x4d30de=[];for(const [_0x594734,_0x181bf5]of Object[_0x2dfb3c(0x169)](_0x5c7302))for(const [_0x1f4b6c,_0x24fd8b]of Object[_0x2dfb3c(0x169)](_0x181bf5))_0x4d30de['push'](_0x3f1699[_0x2dfb3c(0x240)](_0x17e1ca+Number(_0x594734),_0x29daf5+Number(_0x1f4b6c)));return _0x4d30de;}else{const _0x325b7b=_0x34d41c?_0x1d353e>0x0?0x1:0x0:0x1,_0x4b023f=_0x34d41c?_0x13229a>0x0?0x1:0x0:0x1,_0x2d52c5=_0x396e8d+_0x1d353e-_0x325b7b,_0x3cec75=_0xf28010+_0x13229a-_0x4b023f;return[{'startRow':_0x17e1ca,'startColumn':_0x29daf5,'endRow':_0x2d52c5,'endColumn':_0x3cec75}];}}const _0x57d9c3=_0x43ed60(0xe3),_0x2a7c6b=_0x43ed60(0x221);var _0x56b655=(_0x1e2612=>(_0x1e2612[_0x43ed60(0x385)]=_0x43ed60(0x2a3),_0x1e2612['Panel']=_0x43ed60(0xdf),_0x1e2612[_0x43ed60(0x323)]=_0x43ed60(0xbb),_0x1e2612[_0x43ed60(0x11e)]=_0x43ed60(0x11e),_0x1e2612['AddPivotTable']=_0x43ed60(0x2b2),_0x1e2612[_0x43ed60(0x26d)]=_0x43ed60(0x170),_0x1e2612['RemovePivotField']=_0x43ed60(0xa9),_0x1e2612[_0x43ed60(0x2c8)]=_0x43ed60(0x2d4),_0x1e2612[_0x43ed60(0x1a1)]=_0x43ed60(0x31d),_0x1e2612[_0x43ed60(0xcd)]=_0x43ed60(0x3a7),_0x1e2612[_0x43ed60(0x167)]=_0x43ed60(0x204),_0x1e2612['UpdatePivotSource']=_0x43ed60(0x351),_0x1e2612['UpdateValuePosition']=_0x43ed60(0x386),_0x1e2612[_0x43ed60(0x1f7)]=_0x43ed60(0x1e1),_0x1e2612[_0x43ed60(0x219)]=_0x43ed60(0xf7),_0x1e2612[_0x43ed60(0x33c)]=_0x43ed60(0x223),_0x1e2612[_0x43ed60(0x356)]=_0x43ed60(0x280),_0x1e2612))(_0x56b655||{});const _0x5de561={'sheets-pivot.blankValue':_0x43ed60(0x14a),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x43ed60(0x290),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x43ed60(0x11a),'sheets-pivot.averageName':_0x43ed60(0x229),'sheets-pivot.countName':_0x43ed60(0x3ad),'sheets-pivot.countNumsName':_0x43ed60(0x3ad),'sheets-pivot.maxName':_0x43ed60(0x17a),'sheets-pivot.minName':_0x43ed60(0x262),'sheets-pivot.productName':_0x43ed60(0x19d),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x43ed60(0x100),'sheets-pivot.sumName':_0x43ed60(0x2ef),'sheets-pivot.varName':_0x43ed60(0x226),'sheets-pivot.varpName':_0x43ed60(0x2d1),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x43ed60(0x274),'sheets-pivot.value':_0x43ed60(0x342),'sheets-pivot.blank':_0x43ed60(0x398),'sheets-pivot.emptyPivot.filter':_0x43ed60(0x385),'sheets-pivot.emptyPivot.row':_0x43ed60(0x352),'sheets-pivot.emptyPivot.column':_0x43ed60(0x14b),'sheets-pivot.emptyPivot.values':_0x43ed60(0x2bd)},_0x505667={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0xb533ef=_0x3f1699['createAsyncInterceptorKey'](_0x43ed60(0x32d)),_0x2f0e9b=_0x3f1699[_0x43ed60(0x271)](_0x43ed60(0x1e5));var _0x55be86=(_0x3cdd8a=>(_0x3cdd8a['add']=_0x43ed60(0xe9),_0x3cdd8a['delete']=_0x43ed60(0x21c),_0x3cdd8a[_0x43ed60(0x31c)]='update',_0x3cdd8a))(_0x55be86||{}),_0x1870de=(_0x42693e=>(_0x42693e[_0x43ed60(0x11b)]=_0x43ed60(0xe9),_0x42693e[_0x43ed60(0xf0)]='set',_0x42693e[_0x43ed60(0x39e)]=_0x43ed60(0x21c),_0x42693e))(_0x1870de||{});const _0x156274={0x0:'n',0x1:'5',0x2:'Q',0x3:'E',0x4:'i',0x5:'O',0x6:'0',0x7:'T',0x8:'6',0x9:'l','c':'1','S':'2','i':'3','h':'4','L':'7','j':'8','G':'9','l':'a','a':'b','C':'c','I':'d','M':'e','w':'f','V':'g','s':'h','F':'j','y':'k','K':'m','x':'o','U':'p','J':'q','H':'r','r':'s','T':'t','N':'u','f':'v','X':'w','O':'x','D':'y','k':'z','e':'A','b':'B','B':'C','Q':'D','n':'F','Y':'G','m':'H','W':'I','E':'J','P':'K','q':'L','Z':'M','o':'N','t':'P','R':'R','v':'S','u':'U','z':'V','g':'W','A':'X','p':'Y','d':'Z'},_0x1e2524='wN0CT4x0\x20IMCHDUT4x0(94CM0rM,\x20UNa94CPMD)\x20{\x20\x20\x20\x20THD\x20{\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x2094CM0rMW0wxtlHTeHHlD\x20=\x2094CM0rM.rU94T(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20xH4V40ZMrrlVM\x20=\x20Ev5o.UlHrM(lTxa(94CM0rMW0wxtlHTeHHlD[S]));\x20\x20\x20\x20\x20\x20\x20\x204w\x20(!xH4V40ZMrrlVM.NI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xH4V40ZMrrlVM.NI\x20=\x20oNKaMH(94CM0rMW0wxtlHTeHHlD[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x204rgxHyMH\x20=\x20TDUMxw\x20gxHyMHY9xal9vCxUM\x20!==\x20\x27N0IMw40MI\x27\x20&&\x20rM9w\x2040rTl0CMxw\x20gxHyMHY9xal9vCxUM;\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20Cx0TMOT\x20=\x204rgxHyMH\x20?\x20rM9w\x20:\x20X40IxX;\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20KMrrlVMgxHI\x20=\x20Cx0TMOT.__blrM8h__.UlHrM(94CM0rMW0wxtlHTeHHlD[S]);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20KMrrlVM\x20=\x20Cx0TMOT.__mMO__.rTH40V4wD(KMrrlVMgxHI);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20r4V0lTNHMgxHI\x20=\x20Cx0TMOT.__blrM8h__.UlHrM(94CM0rMW0wxtlHTeHHlD[i]);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20r4V0lTNHM\x20=\x20Cx0TMOT.__mMO__.rTH40V4wD(r4V0lTNHMgxHI);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20r4V0zl94I\x20=\x20Cx0TMOT.__fMH4wD__(r4V0lTNHM,\x20KMrrlVM,\x20UNa94CPMD);\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20IxKl40\x20=\x20xH4V40ZMrrlVM.IK;\x20\x20\x20\x20\x20\x20\x20\x20wN0CT4x0\x204rQxKl40ZlTCs40V(xtlTTMH0,\x20xmxrT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20UlTTMH0\x20=\x20xtlTTMH0.HMU9lCM(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20sxrT\x20=\x20xmxrT.HMU9lCM(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20UlTTMH0tlHTr\x20=\x20UlTTMH0.rU94T(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20sxrTtlHTr\x20=\x20sxrT.rU94T(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204w\x20(!UlTTMH0.40C9NIMr(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20UlTTMH0\x20===\x20sxrT;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204w\x20(UlTTMH0tlHTr.9M0VTs\x20<\x20S\x20||\x20UlTTMH0tlHTr[6]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20wl9rM;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20UlTTMH0vNww4O\x20=\x20UlTTMH0tlHTr.r94CM(c).Fx40(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20sxrTvNww4O\x20=\x20sxrTtlHTr.r94CM(-UlTTMH0tlHTr.9M0VTs\x20+\x20c).Fx40(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20UlTTMH0vNww4O\x20===\x20sxrTvNww4O;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x209MT\x20IxKl40zl94I\x20=\x20(IxKl40\x20&&\x20IxKl40.9M0VTs)\x20?\x20IxKl40.rxKM((IKWTMK)\x20=>\x204rQxKl40ZlTCs40V(IKWTMK,\x209xClT4x0.sxrT0lKM))\x20:\x20THNM;\x20\x20\x20\x20\x20\x20\x20\x204w\x20(9xClT4x0.sxrT0lKM\x20===\x20\x279xCl9sxrT\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IxKl40zl94I\x20=\x20THNM;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Cx0rT\x20fl94I\x20=\x20r4V0zl94I\x20&&\x20IxKl40zl94I;\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fl94I,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KMrrlVM:\x20xH4V40ZMrrlVM,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20ClTCs\x20(MHHxH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20HMTNH0\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fl94I:\x20wl9rM,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KMrrlVM:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x5cd217={'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'id':_0x43ed60(0x293),'handler':()=>!0x0},_0x193676={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x4c5ebb={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x2b1),'handler':()=>!0x0},_0x3ffdcd={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x34e502={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x2eb),'handler':()=>!0x0},_0x2535b1=_0x1af770=>{const _0x2077e0=_0x43ed60;var _0x397c7a;return((_0x397c7a=_0x1af770[_0x2077e0(0x36f)])==null?void 0x0:_0x397c7a[_0x2077e0(0x396)][_0x2077e0(0x197)](/\r\n$/,''))||'';};class _0x51fae1 extends _0x24a6f0['DataFieldManager']{constructor(_0x56dc80,_0x445ad7){const _0x482590=_0x43ed60;super(),_0x575f06(this,'rangeKeyMap',{}),_0x575f06(this,'_univerInstanceService'),_0x575f06(this,_0x482590(0x338)),(this['_univerInstanceService']=_0x445ad7,this[_0x482590(0x338)]=_0x56dc80);}[_0x43ed60(0x331)](){const _0x566352=_0x43ed60;for(const _0x3ef459 in this[_0x566352(0xa5)]){const _0x3997d2=this[_0x566352(0xa5)][_0x3ef459],_0x34c103=_0x3997d2[_0x566352(0xbc)]();this[_0x566352(0x339)][_0x34c103]=_0x3997d2[_0x566352(0x242)]();}}[_0x43ed60(0x1d0)](){const _0x3d469a=_0x43ed60,_0x3f6282=this[_0x3d469a(0x338)];return _0x44e045['bind'](_0x3f6282);}[_0x43ed60(0x37d)](_0x2ffde0){const _0x5833b1=_0x43ed60,_0x19422f=this[_0x5833b1(0xa5)][_0x2ffde0][_0x5833b1(0x309)];delete this['dataFields'][_0x2ffde0],delete this[_0x5833b1(0x339)][_0x19422f];}[_0x43ed60(0x37f)](_0x41c561){const _0x4c4f8a=_0x43ed60;this['dataFields'][_0x41c561[_0x4c4f8a(0x242)]()]=_0x41c561;}[_0x43ed60(0x1ba)](_0x455df1){const _0x242636=_0x43ed60;var _0x5dca1f,_0x457362;const _0x3e2dcf=this['_host'][_0x242636(0x367)](_0x455df1);if(_0x3e2dcf){const {unitId:_0x56c00e,subUnitId:_0x211d7b}=_0x3e2dcf,_0x4f74cf=(_0x5dca1f=this[_0x242636(0x338)][_0x242636(0x275)](_0x56c00e,_0x211d7b,_0x455df1))==null?void 0x0:_0x5dca1f['sourceRangeInfo'];this[_0x242636(0x338)]['broadcastCollectionChange']({'token':_0x455df1,'type':_0x55be86[_0x242636(0x21c)],'dataRangeInfo':_0x4f74cf});}(_0x457362=this[_0x242636(0x361)](_0x455df1))==null||_0x457362['dispose'](),delete this['collections'][_0x455df1];}[_0x43ed60(0xbc)](_0x37ea25,_0x1ad652){const {sheetName:_0x3ce076,unitId:_0x266e0e,range:_0x3b55a6}=_0x37ea25,{startRow:_0x3cf463,endRow:_0x123a3a}=_0x3b55a6;return _0x54af29['serializeRangeWithSpreadsheet'](_0x266e0e,_0x3ce076,{'startRow':_0x3cf463,'endRow':_0x123a3a,'startColumn':_0x1ad652,'endColumn':_0x1ad652});}['getDataFieldByRangeKey'](_0x215d61){const _0x3d91e3=_0x43ed60;return this[_0x3d91e3(0xa5)][this[_0x3d91e3(0x339)][_0x215d61]];}[_0x43ed60(0x199)](_0x4675b2,_0x48f1c9){const _0x228d3f=_0x43ed60;this[_0x228d3f(0x339)][_0x4675b2]=_0x48f1c9;}[_0x43ed60(0x1f0)](_0x4d398a,_0x802943){const _0x449be1=_0x43ed60;this['rangeKeyMap'][_0x802943]=this['rangeKeyMap'][_0x4d398a],delete this[_0x449be1(0x339)][_0x4d398a];}[_0x43ed60(0x1c3)](_0x234509,_0x4cc7e2,_0x131b77,_0x119799){const _0x3aded6=_0x43ed60,_0x1197df=new _0x24a6f0[(_0x3aded6(0x136))](this);_0x1197df['fromJSON'](_0x4cc7e2);const _0x395a09=[];let _0x11e4a3=0x0;for(const _0x4b4d59 of _0x1197df[_0x3aded6(0x33a)]){const _0x140043=this[_0x3aded6(0xbc)](_0x131b77,_0x11e4a3),_0x2e78ea=this['dataFields'][_0x4b4d59];_0x2e78ea&&(_0x2e78ea[_0x3aded6(0x309)]=_0x140043,this[_0x3aded6(0x199)](_0x140043,_0x4b4d59),_0x395a09[_0x3aded6(0x182)]({'index':_0x11e4a3,'dataField':_0x2e78ea})),_0x11e4a3++;}return this[_0x3aded6(0x16e)](_0x234509,_0x1197df,_0x131b77,_0x119799),{'collection':_0x1197df,'updateDataFieldList':_0x395a09};}[_0x43ed60(0x340)](_0xfa251f,_0x557901){const _0xc6768a=_0x43ed60;return _0xfa251f[_0xc6768a(0x215)]===_0x3f1699['RANGE_TYPE']['COLUMN']?{'startRow':0x0,'startColumn':_0xfa251f[_0xc6768a(0x135)],'endRow':_0x557901['getRowCount']()-0x1,'endColumn':_0xfa251f['endColumn']}:{'startRow':_0xfa251f[_0xc6768a(0x13a)],'startColumn':_0xfa251f[_0xc6768a(0x135)],'endRow':_0xfa251f[_0xc6768a(0x18b)],'endColumn':_0xfa251f['endColumn']};}[_0x43ed60(0x97)](_0x3e9175){const _0x193b8a=_0x43ed60,{sheetName:_0x8545d4,range:_0x3f0a5c}=_0x3e9175,_0xa1610d=this[_0x193b8a(0x2dc)][_0x193b8a(0x2a7)](_0x3f1699[_0x193b8a(0x139)][_0x193b8a(0xfd)]),_0x326b1a=_0xa1610d['getSheetBySheetName'](_0x8545d4),_0x242a26=_0x326b1a[_0x193b8a(0x305)](),{startColumn:_0x42380d,startRow:_0x3565f5,endColumn:_0x837b29}=this[_0x193b8a(0x340)](_0x3f0a5c,_0x326b1a),_0x240104=_0xa1610d[_0x193b8a(0x2ce)](),_0x3b2279=new _0x24a6f0[(_0x193b8a(0x136))](this);_0x3b2279[_0x193b8a(0xc1)](_0x3e9175);const _0x14cd34=[],_0x706d2e={};for(let _0x3758d8=_0x42380d;_0x3758d8<=_0x837b29;_0x3758d8++){const _0x5d36b4=_0x242a26[_0x193b8a(0x381)](_0x3565f5,_0x3758d8),_0x33f7a5=this[_0x193b8a(0xbc)](_0x3e9175,_0x3758d8),_0xbafc7e=this[_0x193b8a(0x325)](_0x33f7a5);if(_0xbafc7e)_0x3b2279[_0x193b8a(0x372)](_0xbafc7e['getId'](),_0xbafc7e[_0x193b8a(0xbe)]());else{const _0x5344d6=this[_0x193b8a(0x185)]();let _0x2bf324=this[_0x193b8a(0x147)](_0x5d36b4,_0x240104,_0x706d2e);_0x24a6f0[_0x193b8a(0x349)](_0x2bf324)&&(_0x2bf324=_0x3f1699[_0x193b8a(0x1c9)]['format'](_0x2bf324['f'],Number(_0x2bf324['v'])));const _0x217723=this['uniqueDataFieldName'](_0x2bf324,_0x3758d8),_0x51a351=new _0x24a6f0['DataField'](_0x5344d6,_0x217723,_0x24a6f0['generateHexNumber'](0x3));_0x51a351['rangeKey']=_0x33f7a5,this[_0x193b8a(0xa5)][_0x5344d6]=_0x51a351,_0x3b2279[_0x193b8a(0x372)](_0x5344d6,_0x217723),_0x14cd34[_0x193b8a(0x182)]({'index':_0x3758d8,'dataField':_0x51a351});}}return{'updateDataFieldList':_0x14cd34,'collection':_0x3b2279};}['_getAutoName'](_0x1e9199){const _0x4801f4=_0x43ed60;return this['_host'][_0x4801f4(0x1a0)]()[_0x4801f4(0xe4)]+'\x20'+_0x3f1699[_0x4801f4(0x255)](_0x1e9199);}['uniqueDataFieldName'](_0x201d63,_0x53004e){return _0x201d63==null||_0x201d63===''?this['_getAutoName'](_0x53004e):String(_0x201d63);}[_0x43ed60(0x361)](_0x4676ba){return this['collections'][_0x4676ba];}[_0x43ed60(0x16e)](_0x1d0a49,_0x55b07f,_0x52e163,_0x3defcb){const _0x5a412b=_0x43ed60;this['collections'][_0x1d0a49]=_0x55b07f,_0x55b07f[_0x5a412b(0xc1)](_0x52e163),this['_host'][_0x5a412b(0x266)]({'token':_0x1d0a49,'type':_0x55be86[_0x5a412b(0xe9)],'dataRangeInfo':_0x52e163,'targetCellInfo':_0x3defcb});}['handleMoveRange'](_0x3ca812,_0x8e203b){const _0x1ead9d=_0x43ed60,_0x26735e=this[_0x1ead9d(0x361)](_0x3ca812),_0x2d802f=_0x26735e[_0x1ead9d(0x2d8)]();let _0x561076=0x0;for(const _0x43f8ee of _0x2d802f){const _0x179c0d=_0x26735e[_0x1ead9d(0x2c7)](_0x43f8ee),_0x74382d=this[_0x1ead9d(0xbc)](_0x8e203b,_0x561076);this[_0x1ead9d(0x1f0)](_0x179c0d[_0x1ead9d(0x309)],_0x74382d),_0x561076++;}}[_0x43ed60(0x284)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x43ed60(0x2ab)](_0x23a6a1,_0x2813c9){const _0x3584ee=_0x43ed60;if(this[_0x3584ee(0x361)](_0x23a6a1)){const _0x462f53=this[_0x3584ee(0x20a)](_0x2813c9),_0x1086fe=[];for(const _0x2bf85a of _0x462f53)this[_0x3584ee(0x339)][_0x2bf85a]!==void 0x0&&_0x1086fe[_0x3584ee(0x182)](this[_0x3584ee(0x339)][_0x2bf85a]);const _0x2db6c3=this['getNoUsedDataFieldIds'](_0x23a6a1),_0x46bef5=[],_0x5f460d=new Set(_0x1086fe);for(const _0x2afa89 of _0x2db6c3)_0x5f460d[_0x3584ee(0x1d1)](_0x2afa89)||_0x46bef5[_0x3584ee(0x182)](_0x2afa89);return _0x46bef5;}}['getMatrixValue'](_0x4ae7ae,_0x20476e,_0x4b63d3,_0x177966,_0x280d7b){const _0x32a908=_0x43ed60;return _0x20476e&&_0x20476e['getValue'](_0x177966,_0x280d7b)?_0x20476e[_0x32a908(0x381)](_0x177966,_0x280d7b):_0x4b63d3&&_0x4b63d3[_0x32a908(0x381)](_0x177966,_0x280d7b)?_0x4b63d3[_0x32a908(0x381)](_0x177966,_0x280d7b):_0x4ae7ae[_0x32a908(0x381)](_0x177966,_0x280d7b);}[_0x43ed60(0xb9)](_0x499cce,_0x37f265,_0x2e4a4e,_0x45f22a){const _0x5161e3=_0x43ed60,_0xb36a39=this[_0x5161e3(0xa5)][_0x499cce];if(!_0xb36a39)return;const {subUnitId:_0x1a6910,range:_0x1bbc21,unitId:_0x342541}=_0x37f265,_0x312096=this[_0x5161e3(0x2dc)][_0x5161e3(0x35a)](_0x342541);if(!_0x312096){console[_0x5161e3(0x175)]('workbook\x20is\x20not\x20found');return;}const _0x2b2c3f=_0x312096['getSheetBySheetId'](_0x1a6910),_0x181cd6=_0x2b2c3f[_0x5161e3(0x305)](),{arrayFormulaCellDataMatrix:_0x19fa19,unitDataMatrix:_0x5788b3}=_0x45f22a||{},{startRow:_0x22b5fd,startColumn:_0xbc8665,endRow:_0x429f08}=this[_0x5161e3(0x340)](_0x1bbc21,_0x2b2c3f);_0xb36a39[_0x5161e3(0x2a5)]();const _0x4480fb=_0x312096[_0x5161e3(0x2ce)](),_0x4ca5c8={},_0x567396=this[_0x5161e3(0x38a)](_0x181cd6,_0x19fa19,_0x5788b3,_0x22b5fd,_0xbc8665+_0x2e4a4e);let _0x3edd44=this['adjustSheetCellData'](_0x567396,_0x4480fb,_0x4ca5c8);_0x24a6f0[_0x5161e3(0x349)](_0x3edd44)&&(_0x3edd44=_0x3f1699['numfmt'][_0x5161e3(0x2ac)](_0x3edd44['f'],Number(_0x3edd44['v'])));const _0x3e380d=this[_0x5161e3(0x207)](_0x3edd44,_0xbc8665+_0x2e4a4e);_0xb36a39['setName'](_0x3e380d);for(let _0x4a907b=_0x22b5fd+0x1;_0x4a907b<=_0x429f08;_0x4a907b++){const _0x4558fb=this['getMatrixValue'](_0x181cd6,_0x19fa19,_0x5788b3,_0x4a907b,_0xbc8665+_0x2e4a4e);_0xb36a39[_0x5161e3(0x260)](this[_0x5161e3(0x147)](_0x4558fb,_0x4480fb,_0x4ca5c8),_0x4a907b-0x1-_0x22b5fd);}}[_0x43ed60(0xf8)](_0x15c2fb,_0x35c2af,_0x4b600b){const _0x3e7ade=_0x43ed60,{subUnitId:_0x539637,range:_0x38c4e7,unitId:_0x4460dc}=_0x4b600b,_0x3ec7df=this[_0x3e7ade(0x2dc)][_0x3e7ade(0x35a)](_0x4460dc);if(!_0x3ec7df){console[_0x3e7ade(0x175)](_0x3e7ade(0x12d));return;}const _0x35e75b=_0x3ec7df[_0x3e7ade(0x11d)](_0x539637),_0x2c0aed=_0x35e75b[_0x3e7ade(0x305)](),{startRow:_0x2111c0,startColumn:_0x231e51,endRow:_0x21900a}=this[_0x3e7ade(0x340)](_0x38c4e7,_0x35e75b),_0x160615=_0x3ec7df[_0x3e7ade(0x2ce)](),_0x3c9f48={};for(const {dataField:_0x2499b9,index:_0x37ef19}of _0x35c2af){_0x2499b9[_0x3e7ade(0x2a5)]();const _0xe556dc=this[_0x3e7ade(0x38a)](_0x2c0aed,void 0x0,void 0x0,_0x2111c0,_0x231e51+_0x37ef19);let _0x3900ff=this[_0x3e7ade(0x147)](_0xe556dc,_0x160615,_0x3c9f48);_0x24a6f0[_0x3e7ade(0x349)](_0x3900ff)&&(_0x3900ff=_0x3f1699[_0x3e7ade(0x1c9)][_0x3e7ade(0x2ac)](_0x3900ff['f'],Number(_0x3900ff['v'])));const _0x47a66e=this['uniqueDataFieldName'](_0x3900ff,_0x231e51+_0x37ef19);_0x2499b9[_0x3e7ade(0x2b3)](_0x47a66e);}_0x15c2fb[_0x3e7ade(0xd7)]();for(let _0x15b02a=_0x2111c0+0x1;_0x15b02a<=_0x21900a;_0x15b02a++)for(const {index:_0x4353c9,dataField:_0x4ce16d}of _0x35c2af){const _0x5c41c3=_0x2c0aed['getValue'](_0x15b02a,_0x231e51+_0x4353c9);_0x4ce16d[_0x3e7ade(0x260)](this[_0x3e7ade(0x147)](_0x5c41c3,_0x160615,_0x3c9f48),_0x15b02a-0x1-_0x2111c0);}_0x15c2fb[_0x3e7ade(0x343)](_0x21900a-_0x2111c0);}[_0x43ed60(0x20a)](_0x19f8fa){const _0x36040e=_0x43ed60,{range:_0x61ea0f}=_0x19f8fa,{startColumn:_0x4c6a58,endColumn:_0x509dc5}=_0x61ea0f,_0x51015f=[];for(let _0x8b3f4b=_0x4c6a58;_0x8b3f4b<=_0x509dc5;_0x8b3f4b++)_0x51015f[_0x36040e(0x182)](this['getRangeKey'](_0x19f8fa,_0x8b3f4b));return _0x51015f;}[_0x43ed60(0x147)](_0x2b4530,_0x378f20,_0x42b79b){const _0x28fc0d=_0x43ed60;if(_0x2b4530){const {s:_0x2996b2,v:_0x2acd00,t:_0x22404c,p:_0x3be969}=_0x2b4530;if(_0x3be969)return _0x2535b1(_0x3be969);const _0x1bca41=_0x378f20[_0x28fc0d(0x33b)](_0x2996b2);if(_0x1bca41&&_0x22404c===_0x3f1699[_0x28fc0d(0x130)][_0x28fc0d(0x19c)]&&_0x1bca41['n']){const {pattern:_0x1157c0}=_0x1bca41['n'];_0x42b79b[_0x1157c0]||(_0x42b79b[_0x1157c0]=_0x3f1699[_0x28fc0d(0x1c9)][_0x28fc0d(0x336)](_0x1157c0));const _0x34e625=_0x42b79b[_0x1157c0],_0x1688b9=_0x34e625['isDate'];if(_0x34e625[_0x28fc0d(0xf2)])return String(_0x2acd00);if(_0x1688b9)return{'v':_0x2acd00,'f':_0x1157c0};}if(_0x22404c===_0x3f1699[_0x28fc0d(0x130)][_0x28fc0d(0x19c)])return Number(_0x2acd00);if(_0x22404c===_0x3f1699[_0x28fc0d(0x130)][_0x28fc0d(0x217)]||_0x22404c===_0x3f1699[_0x28fc0d(0x130)][_0x28fc0d(0x2cd)])return String(_0x2acd00);if(_0x22404c===void 0x0){const _0x6a6064=Number(_0x2acd00);if(!Number[_0x28fc0d(0x34c)](_0x6a6064)&&String(_0x6a6064)===_0x2acd00)return _0x6a6064;}return _0x2acd00!=null?_0x2acd00:null;}else return null;}[_0x43ed60(0x348)](_0x379b56){const _0x424540=_0x43ed60,{sheetName:_0x56fdda,range:_0x14dd11,unitId:_0x2190cf}=_0x379b56,_0x39f9b2=this[_0x424540(0x2dc)]['getUnit'](_0x2190cf);if(!_0x39f9b2)return console['error'](_0x424540(0x12d)),{'header':[],'data':[]};const _0x3e1eb7=_0x39f9b2[_0x424540(0xa7)](_0x56fdda),_0x396861=_0x3e1eb7[_0x424540(0x305)](),{startRow:_0x36f24e,startColumn:_0xe9e331,endRow:_0x323e25,endColumn:_0x10ee37}=this[_0x424540(0x340)](_0x14dd11,_0x3e1eb7),_0x5ee7de=_0x39f9b2[_0x424540(0x2ce)](),_0x83b06c=[],_0x18109b=[],_0x15b622={};for(let _0x52895b=_0x36f24e;_0x52895b<=_0x323e25;_0x52895b++){const _0x4d7af7=[];for(let _0x2965da=_0xe9e331;_0x2965da<=_0x10ee37;_0x2965da++){const _0x53ffcd=_0x396861[_0x424540(0x381)](_0x52895b,_0x2965da);_0x52895b===_0x36f24e?_0x83b06c[_0x424540(0x182)](_0x53ffcd==null?null:String(_0x53ffcd['v'])):_0x4d7af7['push'](this[_0x424540(0x147)](_0x53ffcd,_0x5ee7de,_0x15b622));}_0x18109b[_0x424540(0x182)](_0x4d7af7);}return{'header':_0x83b06c,'data':_0x18109b};}[_0x43ed60(0x10f)](){const _0x9b1408=_0x43ed60;return super[_0x9b1408(0x10f)]();}[_0x43ed60(0x327)](_0x14eda8){const _0x5a3263=_0x43ed60;super[_0x5a3263(0x327)](_0x14eda8),this['initDataRanges']();}[_0x43ed60(0x180)](){const _0x195035=_0x43ed60;super[_0x195035(0x180)](),this['rangeKeyMap']={},this['_host']=null;}}const _0x542000=_0x331b7b=>{const _0x3bb1e9=_0x43ed60,{targetCellInfo:_0x281fa3}=_0x331b7b,{matrixCache:_0xec1ecb,rangesCache:_0x1f1b0d}=_0x8a4b79({'filter':_0x3bb1e9(0x385),'row':'Row','column':_0x3bb1e9(0x14b),'values':_0x3bb1e9(0x2bd)},_0x281fa3),_0x3944f4=new _0x3f1699['ObjectMatrix']();return _0xec1ecb[_0x3bb1e9(0x36d)]((_0x54d2d4,_0x4c04a1,_0x8ddd11)=>{_0x3944f4['setValue'](_0x54d2d4,_0x4c04a1,_0x8ddd11);}),{'matrix':_0x3944f4,'rangesCache':_0x1f1b0d};},_0x48c8c1=_0x28d04f=>{const _0x5818c8=_0x43ed60;let _0xb79714;if(_0x28d04f!=null&&_0x28d04f['v']||(_0x28d04f==null?void 0x0:_0x28d04f['v'])===0x0){_0xb79714||(_0xb79714={});const _0x56bb4c=_0x5cb347(_0x28d04f['v']);typeof _0x56bb4c==_0x5818c8(0x209)?_0xb79714['t']=_0x3f1699[_0x5818c8(0x130)][_0x5818c8(0x19c)]:typeof _0x56bb4c=='string'&&(_0xb79714['t']=_0x3f1699['CellValueType']['STRING']),_0xb79714['v']=_0x56bb4c;}return _0xb79714;},_0xd9e50e=(_0x43e97c,_0x50f80d,_0x219b45)=>{const _0xa15031=_0x43ed60;var _0xcb0351,_0x4eec10,_0x1a5c80,_0x50efdc,_0x22f6dd,_0x5b0218,_0x44ec73,_0x4481cb,_0x3b36bd,_0x25dc52,_0x395015,_0x90d9d3;const {cornerView:_0x91279e,rowView:_0x5f132c,colView:_0x325a14,dataView:_0x1fc2f1,pageView:_0x7f51f3,formatMap:_0x4b05ef}=_0x43e97c,{row:_0x42ccc2,col:_0x375638}=_0x50f80d,_0x497afb=new _0x3f1699[(_0xa15031(0x2cb))]();let _0x93dbdc=_0x42ccc2,_0x5ee363=_0x375638;Object[_0xa15031(0x375)](_0x7f51f3['data'])['forEach'](_0x297d83=>{const _0x1daa75=_0xa15031;Object[_0x1daa75(0x375)](_0x7f51f3[_0x1daa75(0x187)][Number(_0x297d83)])[_0x1daa75(0x2f8)](_0xf4555b=>{const _0x328a14=_0x1daa75,_0x53a43a={..._0x7f51f3[_0x328a14(0x187)][Number(_0x297d83)][Number(_0xf4555b)]};_0x497afb[_0x328a14(0x297)](Number(_0x297d83)+_0x93dbdc,Number(_0xf4555b)+_0x5ee363,_0x48c8c1(_0x53a43a));});});const _0x4c0a89=Object['keys'](_0x7f51f3[_0xa15031(0x187)])['length'];_0x93dbdc+=_0x4c0a89+(_0x4c0a89?_0x4cd667:0x0);const _0x27423f=_0x91279e[_0xa15031(0x2b0)](),_0xdadc17=_0x91279e['getColCount']();for(let _0x1ca463=0x0;_0x1ca463<_0x27423f;_0x1ca463++)for(let _0x52fdc6=0x0;_0x52fdc6<_0xdadc17;_0x52fdc6++){const _0xf23ff8={...(_0x4eec10=(_0xcb0351=_0x91279e[_0xa15031(0x187)])==null?void 0x0:_0xcb0351[_0x1ca463])==null?void 0x0:_0x4eec10[_0x52fdc6]};_0xf23ff8&&((_0x1a5c80=_0x5f132c['headerMap'][_0x52fdc6])!=null&&_0x1a5c80[_0xa15031(0x302)])&&_0x52fdc6===_0xdadc17-0x1&&_0x1ca463===_0x27423f-0x1&&(_0xf23ff8['v']=''+_0x219b45['sheets-pivot.value']),_0x497afb['setValue'](_0x1ca463+_0x93dbdc,_0x52fdc6+_0x5ee363,_0x48c8c1(_0xf23ff8));}_0x5ee363+=_0xdadc17;const _0x221818=_0x325a14[_0xa15031(0xe2)],_0x4da138=_0x325a14['getLastRow']()>=0x0?_0x325a14[_0xa15031(0x116)]()+0x1:0x0,_0x41da62=_0x325a14[_0xa15031(0x157)]()>=0x0?_0x325a14[_0xa15031(0x157)]()+0x1:0x0;for(let _0x4ab71f=0x0;_0x4ab71f<_0x41da62;_0x4ab71f++)for(let _0x46b92c=0x0;_0x46b92c<_0x4da138;_0x46b92c++){const _0x3ddb3c={...(_0x22f6dd=(_0x50efdc=_0x325a14[_0xa15031(0x187)])==null?void 0x0:_0x50efdc[_0x4ab71f])==null?void 0x0:_0x22f6dd[_0x46b92c]},_0x3c45d5=(_0x5b0218=_0x221818[_0x4ab71f])==null?void 0x0:_0x5b0218[_0xa15031(0x2e5)],_0xfba303=_0x4b05ef[_0x3c45d5];_0x3ddb3c&&(_0x3ddb3c['v']=_0x2a897d(_0x3ddb3c,_0x4ab71f===0x0&&((_0x44ec73=_0x325a14[_0xa15031(0xe1)](_0x46b92c+0x1))==null?void 0x0:_0x44ec73[_0xa15031(0x302)]),_0xfba303,_0x219b45)),_0x497afb[_0xa15031(0x297)](_0x4ab71f+_0x93dbdc,_0x46b92c+_0x5ee363,_0x48c8c1(_0x3ddb3c));}_0x93dbdc+=_0x27423f;const _0x47250a=_0x5f132c['headerMap'],_0x113317=_0x5f132c[_0xa15031(0x116)]()>=0x0?_0x5f132c[_0xa15031(0x116)]()+0x1:0x0,_0x44a798=_0x5f132c[_0xa15031(0x157)]()>=0x0?_0x5f132c[_0xa15031(0x157)]()+0x1:0x0;for(let _0x44434f=0x0;_0x44434f<_0x113317;_0x44434f++)for(let _0x5a72c3=0x0;_0x5a72c3<_0x44a798;_0x5a72c3++){const _0x2a6025={...(_0x3b36bd=(_0x4481cb=_0x5f132c[_0xa15031(0x187)])==null?void 0x0:_0x4481cb[_0x44434f])==null?void 0x0:_0x3b36bd[_0x5a72c3]},_0x34117f=(_0x25dc52=_0x47250a[_0x5a72c3])==null?void 0x0:_0x25dc52[_0xa15031(0x2e5)],_0x482785=_0x4b05ef[_0x34117f];_0x2a6025&&(_0x2a6025['v']=_0x2a897d(_0x2a6025,!0x1,_0x482785,_0x219b45)),_0x497afb[_0xa15031(0x297)](_0x44434f+_0x93dbdc,_0x5a72c3+_0x375638,_0x48c8c1(_0x2a6025));}const _0x44ab86=_0x1fc2f1[_0xa15031(0x2b0)](),_0x44d5e0=_0x1fc2f1[_0xa15031(0x12b)]();for(let _0x5b9b9f=0x0;_0x5b9b9f<_0x44ab86;_0x5b9b9f++)for(let _0x51690f=0x0;_0x51690f<_0x44d5e0;_0x51690f++){const _0x48d0ef={...(_0x90d9d3=(_0x395015=_0x1fc2f1[_0xa15031(0x187)])==null?void 0x0:_0x395015[_0x5b9b9f])==null?void 0x0:_0x90d9d3[_0x51690f]};_0x497afb[_0xa15031(0x297)](_0x5b9b9f+_0x93dbdc,_0x51690f+_0x5ee363,_0x48c8c1(_0x48d0ef));}return _0x497afb;},_0x2375c2=_0x306ce1=>{const _0x3e0633=_0x43ed60,{view:_0x27d976,targetCellInfo:_0x16a799,isEmpty:_0x2fcd50,textInfo:_0x5ee143}=_0x306ce1;if(_0x2fcd50)return _0x542000(_0x306ce1);const {pageView:_0x465a8c,cornerView:_0x32131d,rowView:_0x4220c5,colView:_0x401075,dataView:_0x404069}=_0x27d976,_0x163e2c=_0x3688e4(_0x16a799,_0x465a8c,!0x0),_0x693275=_0x465a8c['lastRow']>=0x0?_0x465a8c[_0x3e0633(0x121)]+0x1:0x0,_0x58a776=_0x32131d['getRowCount'](),_0x20402f=_0x32131d[_0x3e0633(0x12b)](),_0x5b7ac3=_0x163e2c['length']>0x0?_0x4cd667:0x0,_0x3a32bb=_0x3688e4({'row':_0x16a799[_0x3e0633(0x329)]+_0x693275+_0x5b7ac3,'col':_0x16a799[_0x3e0633(0x14c)]},_0x32131d,!0x1,!0x1),_0x3034f1=_0x3688e4({'row':_0x16a799[_0x3e0633(0x329)]+_0x693275+_0x5b7ac3+_0x58a776,'col':_0x16a799[_0x3e0633(0x14c)]},_0x4220c5,!0x1,!0x0),_0x1f59c6=_0x3688e4({'row':_0x16a799[_0x3e0633(0x329)]+_0x693275+_0x5b7ac3,'col':_0x16a799[_0x3e0633(0x14c)]+_0x20402f},_0x401075,!0x1,!0x0),_0x2dbd67=_0x3688e4({'row':_0x16a799[_0x3e0633(0x329)]+_0x693275+_0x5b7ac3+_0x58a776,'col':_0x16a799[_0x3e0633(0x14c)]+_0x20402f},_0x404069,!0x1,!0x1),_0x395e88={'rowRanges':_0x3034f1,'colRanges':_0x1f59c6,'cornerRanges':_0x3a32bb,'dataRanges':_0x2dbd67,'pageRanges':_0x163e2c};return{'matrix':_0xd9e50e(_0x27d976,_0x16a799,_0x5ee143),'rangesCache':_0x395e88};};var _0x518cd8=Object[_0x43ed60(0x269)],_0x5d57aa=(_0x41e94e,_0x252da8,_0x56a9f8,_0x39fce5)=>{for(var _0x23b13f=_0x39fce5>0x1?void 0x0:_0x39fce5?_0x518cd8(_0x252da8,_0x56a9f8):_0x252da8,_0x563b14=_0x41e94e['length']-0x1,_0x59e4b9;_0x563b14>=0x0;_0x563b14--)(_0x59e4b9=_0x41e94e[_0x563b14])&&(_0x23b13f=_0x59e4b9(_0x23b13f)||_0x23b13f);return _0x23b13f;},_0x4963f7=(_0x459a47,_0x1d9d5e)=>(_0x2cbb25,_0x983cb5)=>_0x1d9d5e(_0x2cbb25,_0x983cb5,_0x459a47);_0x89a8ec['SheetsPivotDataSourceModel']=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x307875,_0xb83a6f,_0x586a23,_0x4697ef,_0x24439f,_0x1be0f1){const _0x3be3c8=_0x43ed60;super(),_0x575f06(this,_0x3be3c8(0x268),new Map()),_0x575f06(this,_0x3be3c8(0x3a8),new Map()),_0x575f06(this,_0x3be3c8(0x34b),new Map()),_0x575f06(this,'_textInfo'),_0x575f06(this,_0x3be3c8(0x218),new _0x28d43e[(_0x3be3c8(0x1ee))]()),_0x575f06(this,'collectionChange$',this['_collectionChange$'][_0x3be3c8(0xfc)]()),_0x575f06(this,_0x3be3c8(0x285),new _0x28d43e[(_0x3be3c8(0x1ee))]()),_0x575f06(this,_0x3be3c8(0x9a),this[_0x3be3c8(0x285)][_0x3be3c8(0xfc)]()),_0x575f06(this,'_fieldsCollectionChange$',new _0x28d43e['Subject']()),_0x575f06(this,_0x3be3c8(0x387),this[_0x3be3c8(0x38d)][_0x3be3c8(0xfc)]()),_0x575f06(this,_0x3be3c8(0x1b6),new Map()),_0x575f06(this,_0x3be3c8(0xb5),[]),_0x575f06(this,_0x3be3c8(0x146),new Map()),(this[_0x3be3c8(0x2f1)]=_0x307875,this[_0x3be3c8(0x2dc)]=_0xb83a6f,this['_lifecycleService']=_0x586a23,this[_0x3be3c8(0x359)]=_0x4697ef,this[_0x3be3c8(0x399)]=_0x24439f,this[_0x3be3c8(0xe7)]=_0x1be0f1,this[_0x3be3c8(0x216)]());}[_0x43ed60(0x1a0)](){const _0x10f855=_0x43ed60;return this[_0x10f855(0x134)]?this['_textInfo']:_0x5de561;}['setTextInfo'](_0x5bed69){this['_textInfo']=_0x5bed69;}['handleMoveRange'](_0x2c57b9){const _0x32a25e=_0x43ed60;var _0x26ffa2;const {from:_0x46f90a,to:_0x930014,unitId:_0x245d9f,fromRange:_0x1dfb31,toRange:_0x521e39}=_0x2c57b9;if(_0x46f90a&&_0x930014){const _0x12ec2b=this[_0x32a25e(0x1b1)](_0x245d9f),_0x48cfbc=this[_0x32a25e(0x268)][_0x32a25e(0x33b)](_0x245d9f),_0x23bfab=(_0x26ffa2=this[_0x32a25e(0x2dc)]['getUnit'](_0x245d9f))==null?void 0x0:_0x26ffa2[_0x32a25e(0x11d)](_0x930014['subUnitId']);if(!_0x48cfbc||!_0x23bfab)return;const _0x1caf85=_0x23bfab==null?void 0x0:_0x23bfab['getName']();for(const [_0x61a2f9,_0x374b07]of _0x48cfbc[_0x32a25e(0x169)]())for(const [_0x2026ac,_0x50e98f]of _0x374b07[_0x32a25e(0x169)]()){const {sourceRangeInfo:_0x3dd4f6}=_0x50e98f;if(_0x3dd4f6[_0x32a25e(0x210)]===_0x245d9f&&_0x3dd4f6[_0x32a25e(0x15a)]===_0x46f90a[_0x32a25e(0x15a)]&&_0x3f1699[_0x32a25e(0x36b)]['contains'](_0x1dfb31,_0x3dd4f6[_0x32a25e(0x24d)])){const _0x59b74a={'row':_0x3dd4f6['range'][_0x32a25e(0x13a)]-_0x1dfb31['startRow'],'col':_0x3dd4f6['range']['startColumn']-_0x1dfb31['startColumn']},_0x324396={'unitId':_0x245d9f,'subUnitId':_0x930014[_0x32a25e(0x15a)],'sheetName':_0x1caf85,'range':{'startRow':_0x521e39['startRow']+_0x59b74a[_0x32a25e(0x329)],'endRow':_0x521e39['startRow']+_0x59b74a[_0x32a25e(0x329)]+_0x3dd4f6[_0x32a25e(0x24d)][_0x32a25e(0x18b)]-_0x3dd4f6[_0x32a25e(0x24d)][_0x32a25e(0x13a)],'startColumn':_0x521e39[_0x32a25e(0x135)]+_0x59b74a[_0x32a25e(0x14c)],'endColumn':_0x521e39[_0x32a25e(0x135)]+_0x59b74a[_0x32a25e(0x14c)]+_0x3dd4f6[_0x32a25e(0x24d)]['endColumn']-_0x3dd4f6[_0x32a25e(0x24d)][_0x32a25e(0x135)]}};_0x12ec2b[_0x32a25e(0x310)](_0x2026ac,_0x324396);const _0x1d876a={..._0x50e98f,'sourceRangeInfo':_0x324396};this[_0x32a25e(0x173)](_0x245d9f,_0x930014[_0x32a25e(0x15a)],_0x2026ac,_0x1d876a),this[_0x32a25e(0x266)]({'unitId':_0x245d9f,'token':_0x2026ac,'type':_0x55be86[_0x32a25e(0x31c)],'oldSourceRangeInfo':_0x3dd4f6,'dataRangeInfo':_0x324396,'targetCellInfo':_0x50e98f[_0x32a25e(0x3a4)]}),this[_0x32a25e(0x1c1)]({'unitId':_0x245d9f,'subUnitId':_0x930014[_0x32a25e(0x15a)],'oldSubUnitId':_0x61a2f9,'pivotTableId':_0x2026ac,'pivotTableConfig':_0x1d876a,'collectionConfig':_0x12ec2b[_0x32a25e(0x10f)]()});}}}}[_0x43ed60(0x266)](_0x146fe7){const _0x5bc17e=_0x43ed60;this[_0x5bc17e(0x218)][_0x5bc17e(0x2c4)](_0x146fe7);}[_0x43ed60(0x1b1)](_0x2d42f7){const _0x2f2cb2=_0x43ed60;let _0xca5dd0=this[_0x2f2cb2(0x1b6)][_0x2f2cb2(0x33b)](_0x2d42f7);return _0xca5dd0||(_0xca5dd0=new _0x51fae1(this,this[_0x2f2cb2(0x2dc)]),this['_dataFieldManagerCollection']['set'](_0x2d42f7,_0xca5dd0)),_0xca5dd0;}['getCollection'](_0x4311b8,_0x4baad4){const _0x33c546=_0x43ed60;return this[_0x33c546(0x1b1)](_0x4311b8)[_0x33c546(0x379)][_0x4baad4];}['getUpdateRangeDeleteIds'](_0x162955,_0x556406,_0xefcb24){const _0x143f95=_0x43ed60;return this[_0x143f95(0x1b1)](_0x162955)[_0x143f95(0x2ab)](_0x556406,_0xefcb24);}['_ensurePivotMap'](_0x255ecb,_0x32bc77){const _0x19d555=_0x43ed60;let _0x180b2a=this[_0x19d555(0x268)]['get'](_0x255ecb);_0x180b2a||(_0x180b2a=new Map(),this['_model'][_0x19d555(0x273)](_0x255ecb,_0x180b2a));let _0x187bf8=_0x180b2a[_0x19d555(0x33b)](_0x32bc77);return _0x187bf8||(_0x187bf8=new Map(),_0x180b2a[_0x19d555(0x273)](_0x32bc77,_0x187bf8)),_0x187bf8;}[_0x43ed60(0x173)](_0x2e4f9b,_0xf43f7c,_0x3aff36,_0x329782){const _0x13ef79=_0x43ed60;this[_0x13ef79(0x31e)](_0x2e4f9b,_0xf43f7c)[_0x13ef79(0x273)](_0x3aff36,_0x329782);}[_0x43ed60(0xa4)](_0xeb4d41,_0xfcb602,_0x51392a){const _0x15790f=_0x43ed60;var _0x213c4b,_0xee4af0,_0x2a0a8e,_0xe8dc46;((_0xee4af0=(_0x213c4b=this[_0x15790f(0x268)]['get'](_0xeb4d41))==null?void 0x0:_0x213c4b[_0x15790f(0x33b)](_0xfcb602))==null?void 0x0:_0xee4af0['get'](_0x51392a))&&((_0xe8dc46=(_0x2a0a8e=this[_0x15790f(0x268)][_0x15790f(0x33b)](_0xeb4d41))==null?void 0x0:_0x2a0a8e[_0x15790f(0x33b)](_0xfcb602))==null||_0xe8dc46[_0x15790f(0x21c)](_0x51392a));}[_0x43ed60(0x201)](_0x48613e,_0x3440d7){this['_pivotTableInstanceCache']['set'](_0x48613e,_0x3440d7);}['_deletePivotTableInstanceCache'](_0x3af9fe){const _0x96d1dc=_0x43ed60;this[_0x96d1dc(0x3a8)]['delete'](_0x3af9fe);}[_0x43ed60(0x26e)](_0x33a4db,_0x17a17f){const _0x32e44d=_0x43ed60;let _0xbbbb94=this[_0x32e44d(0x34b)][_0x32e44d(0x33b)](_0x33a4db);_0xbbbb94||(_0xbbbb94=new Map(),this[_0x32e44d(0x34b)][_0x32e44d(0x273)](_0x33a4db,_0xbbbb94));let _0x3c7d8d=_0xbbbb94[_0x32e44d(0x33b)](_0x17a17f);return _0x3c7d8d||(_0x3c7d8d=new Map(),_0xbbbb94['set'](_0x17a17f,_0x3c7d8d)),_0x3c7d8d;}['updateConfig'](_0x148daf){const _0x5d9338=_0x43ed60,{unitId:_0x537db5,subUnitId:_0x354078,pivotTableId:_0x1ae312,pivotTableConfig:_0x5d95ed,collectionConfig:_0x12dd1e}=_0x148daf,_0x2b4441={'unitId':_0x537db5,'subUnitId':_0x354078,'oldSubUnitId':_0x354078,'pivotTableId':_0x1ae312,'pivotTableConfig':_0x5d95ed,'collectionConfig':_0x12dd1e};this[_0x5d9338(0x399)][_0x5d9338(0x294)](_0x3ffdcd['id'],_0x2b4441,{'onlyLocal':!0x0});}[_0x43ed60(0x259)](_0x5427a7,_0x5e7c0d,_0x54e30b,_0x2e3156,_0x33d9ce,_0x20ca5c,_0x249e65,_0xc868a0=!0x1){const _0x3b5cab=_0x43ed60;var _0xf97b86;this[_0x3b5cab(0x399)][_0x3b5cab(0x294)](_0x4c5ebb['id'],{'single':{'unitId':_0x5427a7,'subUnitId':_0x5e7c0d,'type':_0x54e30b,'pivotTableId':_0x2e3156,'view':_0x33d9ce,'pivotConfig':_0x20ca5c},'collectionConfig':{[_0x5427a7]:_0x249e65}},{'onlyLocal':!0x0});const _0x45d350=!!((_0xf97b86=this['getPivotTableInstance'](_0x2e3156))!=null&&_0xf97b86['isEmpty']()),_0x3b3fa2=this['getPivotTableConfig'](_0x5427a7,_0x5e7c0d,_0x2e3156);_0x3b3fa2&&this[_0x3b5cab(0x258)]({'view':_0x33d9ce,'pivotTableId':_0x2e3156,'textInfo':this[_0x3b5cab(0x1a0)](),'isEmpty':_0x45d350,'targetCellInfo':_0x3b3fa2[_0x3b5cab(0x3a4)]},_0xc868a0);}[_0x43ed60(0x258)](_0x28c0db,_0xa62dbb){const _0x2b5c2d=_0x43ed60,{targetCellInfo:_0x4ceb34,pivotTableId:_0x33b437}=_0x28c0db,{unitId:_0x51f11e,subUnitId:_0x289ef0}=_0x4ceb34,_0x4449f0=this[_0x2b5c2d(0x26e)](_0x51f11e,_0x289ef0),_0x20be22=_0x4449f0[_0x2b5c2d(0x33b)](_0x33b437);let _0x4b9049,_0x989955;_0x20be22&&(_0x4b9049=_0x20be22[_0x2b5c2d(0x1f6)],_0x989955=_0x20be22[_0x2b5c2d(0x288)]);const {rangesCache:_0x17e0f7,matrix:_0xa8b8a3}=_0x2375c2(_0x28c0db);_0x4449f0[_0x2b5c2d(0x273)](_0x33b437,{'rangeCache':_0x17e0f7,'matrix':_0xa8b8a3,'oldMatrix':_0x989955,'oldRangeCache':_0x4b9049}),_0xa62dbb||this['_viewData$']['next']({'unitId':_0x51f11e,'subUnitId':_0x289ef0,'pivotTableId':_0x33b437});}['addPivotTable'](_0x34da63,_0x4de613,_0x3de97c,_0x70c33d,_0x390a2e){const _0x1c1828=_0x43ed60;this[_0x1c1828(0x173)](_0x34da63,_0x4de613,_0x3de97c,_0x390a2e),this[_0x1c1828(0x201)](_0x3de97c,_0x70c33d);}['removePivotTable'](_0x264ca8,_0x11c7bc,_0x35cbf3){const _0x2b2a61=_0x43ed60,_0x4d3259=this[_0x2b2a61(0x1b1)](_0x264ca8);_0x4d3259['getNoUsedDataFieldIds'](_0x35cbf3)[_0x2b2a61(0x2f8)](_0x2777eb=>{const _0xcfe7fb=_0x2b2a61;_0x4d3259[_0xcfe7fb(0x37d)](_0x2777eb);}),this['removeCollections'](_0x264ca8,_0x35cbf3),this[_0x2b2a61(0xa4)](_0x264ca8,_0x11c7bc,_0x35cbf3),this[_0x2b2a61(0xd1)](_0x35cbf3);}[_0x43ed60(0x2d0)](_0x1058e8,_0x1628e8,_0x1d2f19,_0x325273){this['_updateModelCache'](_0x1058e8,_0x1628e8,_0x1d2f19,_0x325273);}[_0x43ed60(0x275)](_0x291d31,_0x22b88e,_0x36a35b){const _0x5c939f=_0x43ed60;var _0x2fa937,_0x2874d6;const _0x1cf87a=(_0x2874d6=(_0x2fa937=this[_0x5c939f(0x268)]['get'](_0x291d31))==null?void 0x0:_0x2fa937[_0x5c939f(0x33b)](_0x22b88e))==null?void 0x0:_0x2874d6['get'](_0x36a35b);if(_0x1cf87a)return _0x1cf87a;}[_0x43ed60(0x26c)](_0x29960c,_0x1beb4e,_0x521318){const _0xd6c945=_0x43ed60;var _0x345dab,_0x120e2a;const _0x22be05=(_0x120e2a=(_0x345dab=this[_0xd6c945(0x268)]['get'](_0x29960c))==null?void 0x0:_0x345dab[_0xd6c945(0x33b)](_0x1beb4e))==null?void 0x0:_0x120e2a['get'](_0x521318);if(_0x22be05)return _0x22be05['fieldsConfig'];}['getPivotTableInstance'](_0x557873){const _0xcbf850=_0x43ed60;return this[_0xcbf850(0x3a8)][_0xcbf850(0x33b)](_0x557873);}['deleteUnitId'](_0x565846){const _0x2d80d4=_0x43ed60;this[_0x2d80d4(0x268)]['delete'](_0x565846);const _0x51eef6=this['_dataFieldManagerCollection'][_0x2d80d4(0x33b)](_0x565846);_0x51eef6&&(_0x51eef6[_0x2d80d4(0x180)](),this[_0x2d80d4(0x1b6)][_0x2d80d4(0x21c)](_0x565846)),this[_0x2d80d4(0x34b)][_0x2d80d4(0x21c)](_0x565846),this[_0x2d80d4(0xb5)][_0x2d80d4(0x2f8)](_0x34bf7b=>{_0x34bf7b['deleteUnitId'](_0x565846);});}[_0x43ed60(0x1c3)](_0x858d3f,_0xf2690f,_0x31a857,_0x5ce8a7){const _0x48c7df=_0x43ed60;return this[_0x48c7df(0x1b1)](_0x31a857[_0x48c7df(0x210)])[_0x48c7df(0x1c3)](_0x858d3f,_0xf2690f,_0x31a857,_0x5ce8a7);}[_0x43ed60(0x97)](_0x13d7d0){const _0x18f177=_0x43ed60;return this[_0x18f177(0x1b1)](_0x13d7d0[_0x18f177(0x210)])['createCollectionWithDataRange'](_0x13d7d0);}[_0x43ed60(0xf8)](_0x4d65f5,_0xd639b1,_0x28c910){const _0x18f3e2=_0x43ed60;this['getDataFieldManager'](_0x28c910[_0x18f3e2(0x210)])['refreshData'](_0x4d65f5,_0xd639b1,_0x28c910);}[_0x43ed60(0x2c6)](_0x26cb86,_0x2eee0a){const _0x564f8f=_0x43ed60;this[_0x564f8f(0x1b1)](_0x26cb86)[_0x564f8f(0x37d)](_0x2eee0a);}[_0x43ed60(0x178)](_0x241264,_0x4fc60){const _0x490dfb=_0x43ed60;this[_0x490dfb(0x1b1)](_0x241264)[_0x490dfb(0x1ba)](_0x4fc60);}[_0x43ed60(0x39b)](_0x2bc0d4,_0xb9739a){const _0x2fef80=_0x43ed60;var _0x342096;return(_0x342096=this[_0x2fef80(0x268)]['get'](_0x2bc0d4))==null?void 0x0:_0x342096[_0x2fef80(0x33b)](_0xb9739a);}[_0x43ed60(0x367)](_0x261ae3){const _0x2177f5=_0x43ed60;for(const [_0x368ea5,_0x19a120]of this[_0x2177f5(0x268)][_0x2177f5(0x169)]())for(const [_0x444d65,_0x5aa0ee]of _0x19a120['entries']())if(_0x5aa0ee[_0x2177f5(0x1d1)](_0x261ae3))return{'unitId':_0x368ea5,'subUnitId':_0x444d65};return null;}[_0x43ed60(0x17e)](_0x486a97,_0x5b00ec,_0x579fa0,_0x97101f){const _0x408997=_0x43ed60,_0x2b5ef5=this['_ensureViewDataMap'](_0x486a97,_0x5b00ec);_0x97101f?_0x2b5ef5[_0x408997(0x273)](_0x579fa0,_0x97101f):_0x2b5ef5['delete'](_0x579fa0),this[_0x408997(0x285)]['next']({'unitId':_0x486a97,'subUnitId':_0x5b00ec,'pivotTableId':_0x579fa0});}[_0x43ed60(0x180)](){const _0x55524e=_0x43ed60;super[_0x55524e(0x180)]();}[_0x43ed60(0x18d)](_0x346802,_0x1003b6,_0x53b7e9){const _0x3d4ad8=_0x43ed60;var _0x23f5a9,_0x45f7b1;const _0x5623de=(_0x45f7b1=(_0x23f5a9=this['_viewData'][_0x3d4ad8(0x33b)](_0x346802))==null?void 0x0:_0x23f5a9[_0x3d4ad8(0x33b)](_0x1003b6))==null?void 0x0:_0x45f7b1[_0x3d4ad8(0x33b)](_0x53b7e9);return _0x5623de||null;}[_0x43ed60(0x232)](_0x471a0d){const _0x59630a=_0x43ed60;this[_0x59630a(0x102)](_0x471a0d);}[_0x43ed60(0x102)](_0x570303){const _0x29dda1=_0x43ed60,{token:_0x2fa039,unitId:_0x294c2c,subUnitId:_0x1347c0}=_0x570303,_0xf4aba3=_0x294c2c+'-'+_0x1347c0+'-'+_0x2fa039;this[_0x29dda1(0x146)][_0x29dda1(0x33b)](_0xf4aba3)&&clearTimeout(this[_0x29dda1(0x146)][_0x29dda1(0x33b)](_0xf4aba3));const _0x23334b=setTimeout(()=>{const _0x4e4549=_0x29dda1;this[_0x4e4549(0x337)](_0x570303),this[_0x4e4549(0x146)][_0x4e4549(0x21c)](_0xf4aba3);},_0x46d021);this[_0x29dda1(0x146)]['set'](_0xf4aba3,_0x23334b);}[_0x43ed60(0x337)](_0x3b4747){const _0x3e76a6=_0x43ed60,{unitId:_0x43838f,subUnitId:_0xab0720,token:_0x1d6a44,type:_0x5b3743,pivotConfig:_0x332d24}=_0x3b4747,_0x19490e=this['getPivotTableInstance'](_0x1d6a44),_0x57be8c=_0x19490e==null?void 0x0:_0x19490e[_0x3e76a6(0x264)](),_0x456ffe=_0x332d24!=null?_0x332d24:this[_0x3e76a6(0x275)](_0x43838f,_0xab0720,_0x1d6a44);_0x456ffe&&(_0x456ffe[_0x3e76a6(0x35c)]=!!(_0x19490e!=null&&_0x19490e[_0x3e76a6(0x35c)]())),(_0x57be8c||_0x5b3743===_0x1870de[_0x3e76a6(0x39e)])&&this['updateView'](_0x43838f,_0xab0720,_0x5b3743,_0x1d6a44,_0x57be8c,_0x456ffe,this[_0x3e76a6(0x1b1)](_0x43838f)[_0x3e76a6(0x10f)]());}[_0x43ed60(0x10f)](_0x3172fe){const _0x351e34=_0x43ed60,_0x243295={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x3172fe)&&(_0x243295[_0x351e34(0x1f4)][_0x3172fe]=this[_0x351e34(0x1b1)](_0x3172fe)[_0x351e34(0x10f)]()),this[_0x351e34(0x268)][_0x351e34(0x33b)](_0x3172fe)){_0x243295[_0x351e34(0x193)][_0x3172fe]={};const _0x237417=this[_0x351e34(0x268)][_0x351e34(0x33b)](_0x3172fe);_0x237417!=null&&_0x237417[_0x351e34(0x1e8)]&&[..._0x237417[_0x351e34(0x375)]()][_0x351e34(0x2f8)](_0x1403b2=>{const _0x219582=_0x351e34,_0x3ec604=_0x237417[_0x219582(0x33b)](_0x1403b2);_0x3ec604!=null&&_0x3ec604['size']&&(_0x243295[_0x219582(0x193)][_0x3172fe][_0x1403b2]={},[..._0x3ec604[_0x219582(0x375)]()][_0x219582(0x2f8)](_0x2d79b4=>{const _0x8aacc4=_0x219582,_0x5b03b7=_0x3ec604[_0x8aacc4(0x33b)](_0x2d79b4);_0x5b03b7&&(_0x243295[_0x8aacc4(0x193)][_0x3172fe][_0x1403b2][_0x2d79b4]=_0x5b03b7);}));});}return _0x243295;}[_0x43ed60(0x327)](_0x5bd237){const _0x2f6463=_0x43ed60;var _0x213e76;const {dataFieldManagerConfig:_0x276fc3,pivotTableConfigs:_0x30c24d}=_0x5bd237;_0x276fc3&&Object[_0x2f6463(0x375)](_0x276fc3)[_0x2f6463(0x2f8)](_0x5ac74b=>{const _0x522ed5=_0x2f6463;this[_0x522ed5(0x1b1)](_0x5ac74b)[_0x522ed5(0x327)](_0x276fc3[_0x5ac74b]);});const _0x29b70d=[];if(_0x30c24d){const _0x4ec336=(_0x213e76=this[_0x2f6463(0x2f1)]['get'](_0x3f1699[_0x2f6463(0x23e)])[_0x2f6463(0x30f)](_0x48414d['LS_CONFIG_KEY']))!=null?_0x213e76:{},{ls:_0x5aaa48,pbk:_0x4cf135}=_0x4ec336,_0x2baf67=_0xa1005d(_0x53ba46,_0x5aaa48,_0x4cf135)[_0x2f6463(0x28f)];Object[_0x2f6463(0x375)](_0x30c24d)['forEach'](_0x3bc901=>{const _0x3b1d10=_0x2f6463;let _0x2ae16a=0x0;const _0x23a439=_0x30c24d[_0x3bc901];Object[_0x3b1d10(0x375)](_0x23a439)[_0x3b1d10(0x2f8)](_0x211094=>{const _0xb4919=_0x3b1d10,_0x3d96e6=_0x23a439[_0x211094];Object[_0xb4919(0x375)](_0x3d96e6)['forEach'](_0x2dac5f=>{const _0x5662af=_0xb4919,_0x540aa9=_0x3d96e6[_0x2dac5f];if(_0x540aa9){if(_0x2ae16a>=_0x2baf67)return;_0x2ae16a++;const _0x29e259=this[_0x5662af(0x1b1)](_0x3bc901),_0x1ae20f=_0x29e259[_0x5662af(0x379)][_0x2dac5f],_0x352758=_0x1ae20f[_0x5662af(0x2d8)]();let _0x517ea1=0x0;const _0x345e8d=[];for(const _0x5d8eab of _0x352758){const _0x4feec9=_0x1ae20f['getFieldById'](_0x5d8eab);if(_0x24a6f0[_0x5662af(0x156)](_0x4feec9)){const _0x3be279=_0x4feec9[_0x5662af(0x211)](),_0x45ff6a=_0x1ae20f['getFieldById'](_0x3be279);_0x45ff6a&&_0x345e8d[_0x5662af(0x182)]([_0x4feec9,_0x45ff6a]);continue;}_0x29e259['refreshDataField'](_0x5d8eab,_0x540aa9[_0x5662af(0x1af)],_0x517ea1),_0x517ea1++;}_0x345e8d['forEach'](([_0x48300f,_0x54f685])=>{const _0x2b5e72=_0x5662af;_0x48300f[_0x2b5e72(0x151)](_0x54f685);});const _0x572ba9=new _0x24a6f0[(_0x5662af(0x308))](_0x1ae20f);_0x572ba9[_0x5662af(0x327)](_0x540aa9[_0x5662af(0x1d8)]),this[_0x5662af(0x2b2)](_0x3bc901,_0x211094,_0x2dac5f,_0x572ba9,_0x540aa9);const _0x566a75=_0x572ba9[_0x5662af(0x264)]();_0x29b70d[_0x5662af(0x182)]({'unitId':_0x3bc901,'subUnitId':_0x211094,'pivotTableId':_0x2dac5f,'view':_0x566a75[_0x5662af(0x10f)](),'pivotConfig':_0x540aa9,'type':_0x1870de[_0x5662af(0x11b)]});const _0x55b331=!!_0x572ba9[_0x5662af(0x35c)](),_0x710222={'view':_0x566a75,'pivotTableId':_0x2dac5f,'textInfo':this['getTextInfo'](),'isEmpty':_0x55b331,'targetCellInfo':_0x540aa9[_0x5662af(0x3a4)]};this[_0x5662af(0x258)](_0x710222,!0x1);}});});});}_0x276fc3&&Object[_0x2f6463(0x375)](_0x276fc3)['forEach'](_0x1d6a92=>{const _0x303ab7=_0x2f6463,_0x408f86=this[_0x303ab7(0x1b1)](_0x1d6a92);this[_0x303ab7(0x38d)]['next'](_0x408f86[_0x303ab7(0x379)]);}),this[_0x2f6463(0x399)][_0x2f6463(0x294)](_0x4c5ebb['id'],{'batch':_0x29b70d,'collectionConfig':_0x276fc3},{'onlyLocal':!0x0});}[_0x43ed60(0x216)](){const _0x1ccdd1=_0x43ed60;this[_0x1ccdd1(0xaf)](this[_0x1ccdd1(0xe7)][_0x1ccdd1(0x322)]({'toJson':_0x1ad2b0=>JSON['stringify'](this[_0x1ccdd1(0x10f)](_0x1ad2b0)),'parseJson':_0x41ed5f=>{const _0x12f895=_0x1ccdd1;if(!_0x41ed5f)return{};try{return JSON[_0x12f895(0x203)](_0x41ed5f);}catch{return{};}},'businesses':[_0x3f1699[_0x1ccdd1(0x139)][_0x1ccdd1(0xfd)]],'pluginName':_0x1cc3eb,'onLoad':(_0x1208f2,_0x506191)=>{this['fromJSON'](_0x506191);},'onUnLoad':_0x338be0=>{this['deleteUnitId'](_0x338be0);}}));}},_0x89a8ec[_0x43ed60(0x1b5)]=_0x5d57aa([_0x4963f7(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x383)])),_0x4963f7(0x1,_0x3f1699[_0x43ed60(0x1b9)]),_0x4963f7(0x2,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x1e9)])),_0x4963f7(0x3,_0x3f1699[_0x43ed60(0x23e)]),_0x4963f7(0x4,_0x3f1699[_0x43ed60(0x163)]),_0x4963f7(0x5,_0x3f1699['Inject'](_0x3f1699['IResourceManagerService']))],_0x89a8ec['SheetsPivotDataSourceModel']);const _0x43d41d={0x0:{0x0:{'v':_0x43ed60(0x2a3),'s':_0x35fd4d}},0x2:{0x1:{'v':'','s':_0x35fd4d},0x2:{'v':'','s':_0x35fd4d},0x3:{'v':_0x43ed60(0x31a),'s':_0x35fd4d},0x4:{'v':'','s':_0x35fd4d},0x5:{'v':'','s':_0x35fd4d}},0x3:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x4:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x5:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x6:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x7:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x8:{0x0:{'v':_0x43ed60(0x329),'s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':_0x43ed60(0x213),'s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0x9:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0xa:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0xb:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0xc:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}},0xd:{0x0:{'v':'','s':_0x35fd4d},0x1:{'v':'','s':_0x5d472a},0x2:{'v':'','s':_0x5d472a},0x3:{'v':'','s':_0x5d472a},0x4:{'v':'','s':_0x5d472a},0x5:{'v':'','s':_0x5d472a}}},_0x25b867={'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':[]},_0x8a4b79=(_0x280644,_0x3f2b03)=>{const _0x38cf97=_0x43ed60,_0x40dec9=new _0x3f1699[(_0x38cf97(0x2cb))](),_0x29d124=new _0x3f1699[(_0x38cf97(0x2cb))](_0x43d41d),{row:_0x36f1c1,col:_0xcf300d}=_0x3f2b03;_0x29d124[_0x38cf97(0x36d)]((_0x5bb857,_0x2ddd8a,_0x583631)=>{const _0x4fb86a=_0x38cf97;let _0x49f1d2='';_0x583631['v']===_0x4fb86a(0x2a3)?_0x49f1d2=_0x280644[_0x4fb86a(0x2a3)]:_0x583631['v']===_0x4fb86a(0x329)?_0x49f1d2=_0x280644[_0x4fb86a(0x329)]:_0x583631['v']==='column'?_0x49f1d2=_0x280644[_0x4fb86a(0x31a)]:_0x583631['v']==='values'&&(_0x49f1d2=_0x280644[_0x4fb86a(0x213)]),_0x40dec9[_0x4fb86a(0x297)](_0x5bb857+_0x36f1c1,_0x2ddd8a+_0xcf300d,{..._0x583631,'v':_0x49f1d2});});const _0x553e43=_0x3f1699[_0x38cf97(0x21b)][_0x38cf97(0xf5)](_0x25b867);return Object[_0x38cf97(0x375)](_0x25b867)[_0x38cf97(0x2f8)](_0x1f1e6a=>{const _0x3f38b0=_0x38cf97;_0x553e43[_0x1f1e6a]=_0x25b867[_0x1f1e6a][_0x3f38b0(0xca)](_0x4743e7=>({..._0x4743e7,'startRow':_0x4743e7[_0x3f38b0(0x13a)]+_0x36f1c1,'endRow':_0x4743e7['endRow']+_0x36f1c1,'startColumn':_0x4743e7[_0x3f38b0(0x135)]+_0xcf300d,'endColumn':_0x4743e7[_0x3f38b0(0x1dc)]+_0xcf300d}));}),{'matrixCache':_0x40dec9,'rangesCache':_0x553e43};};function _0x44e045(_0x30572d,_0x1f6d37){const _0x2334e5=_0x43ed60;let _0x37d017='';const _0xccba27=this[_0x2334e5(0x1a0)]();switch(_0x1f6d37){case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x166)]:_0x37d017=_0xccba27[_0x2334e5(0x1b3)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x28f)]:_0x37d017=_0xccba27['sheets-pivot.countName']+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x2fb)]:_0x37d017=_0xccba27[_0x2334e5(0x28c)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)]['max']:_0x37d017=_0xccba27[_0x2334e5(0x37b)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x2f6)]:_0x37d017=_0xccba27[_0x2334e5(0xc8)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)]['product']:_0x37d017=_0xccba27['sheets-pivot.productName']+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)]['stdDev']:_0x37d017=_0xccba27['sheets-pivot.stdDevName']+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x1a2)]:_0x37d017=_0xccba27[_0x2334e5(0x227)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x37a)]:_0x37d017=_0xccba27[_0x2334e5(0x20c)]+_0x30572d;break;case _0x24a6f0[_0x2334e5(0x1f5)][_0x2334e5(0x34a)]:_0x37d017=_0xccba27['sheets-pivot.varName']+_0x30572d;break;case _0x24a6f0['PivotSubtotalTypeEnum']['varp']:_0x37d017=_0xccba27['sheets-pivot.varpName']+_0x30572d;break;default:_0x37d017=_0x30572d;break;}return _0x37d017;}function _0x4e2eec(_0xa81f73,_0xa0fd8e,_0x54520b,_0x153fcf,_0x178358){const _0x17a0aa=_0x43ed60;var _0x3aa73b,_0x56ff3a,_0x695675,_0xb1d28a,_0xbbc59d;const _0x2e4ff2=_0x3f1699[_0x17a0aa(0x240)](_0xa81f73,_0xa0fd8e),{rangesInfo:_0xb94b35,areaInfo:_0x12527e,headerMap:_0x2b8c3e}=_0x178358;if(!_0xb94b35||!_0x12527e||!_0x2b8c3e)return;const _0x5c0847=Object[_0x17a0aa(0x375)](_0xb94b35)['find'](_0x52871d=>_0xb94b35[_0x52871d]['some'](_0x58e5b9=>_0x3f1699[_0x17a0aa(0x36b)]['contains'](_0x58e5b9,_0x2e4ff2))),_0x276c0f=_0x12527e;let _0x445dea,_0x54d2df,_0x2702d9;if(_0x5c0847===_0x17a0aa(0xeb))_0x445dea=(_0x3aa73b=_0x276c0f==null?void 0x0:_0x276c0f[_0x17a0aa(0x1e3)])==null?void 0x0:_0x3aa73b[_0xa81f73],_0x54d2df=(_0x56ff3a=_0x2b8c3e==null?void 0x0:_0x2b8c3e['rowHeaderMap'])==null?void 0x0:_0x56ff3a[_0xa0fd8e],_0x2702d9=_0x54d2df==null?void 0x0:_0x54d2df['tableFieldId'];else{if(_0x5c0847===_0x17a0aa(0xd8))_0x445dea=(_0x695675=_0x276c0f==null?void 0x0:_0x276c0f[_0x17a0aa(0x382)])==null?void 0x0:_0x695675[_0xa0fd8e],_0x54d2df=(_0xb1d28a=_0x2b8c3e['colHeaderMap'])==null?void 0x0:_0xb1d28a[_0xa81f73+0x1+_0xa0fd8e-_0xb94b35['colRanges'][0x0][_0x17a0aa(0x135)]],_0x2702d9=_0x54d2df==null?void 0x0:_0x54d2df[_0x17a0aa(0x2e5)];else{if(_0x5c0847==='cornerRanges')_0x445dea=(_0xbbc59d=_0x276c0f==null?void 0x0:_0x276c0f[_0x17a0aa(0x1cd)])==null?void 0x0:_0xbbc59d[_0xa0fd8e],_0x2702d9=_0x445dea==null?void 0x0:_0x445dea[_0x17a0aa(0x2e5)];else{if(_0x5c0847===_0x17a0aa(0x2ae)){const _0x1c3506=_0x54520b==null?void 0x0:_0x54520b['fi'];_0x1c3506!==void 0x0&&(_0x2702d9=_0x153fcf[_0x17a0aa(0x2de)](_0x1c3506));}}}}return{'filterId':_0x2702d9,'info':_0x445dea,'data':_0x54520b,'headerInfo':_0x54d2df};}function _0x34c403(_0x4f2bd7,_0x231861,_0x100647){const _0x466e63=_0x43ed60,_0x2748d2=_0x4f2bd7[_0x466e63(0x21f)],_0x2617c7=_0x2748d2[_0x466e63(0x2d8)](),_0x54d866=new Set();_0x4f2bd7[_0x466e63(0x1f1)](_0xb1a544=>{const _0x114409=_0x466e63;_0x54d866[_0x114409(0xe9)](_0xb1a544[_0x114409(0xea)]);});const _0x2711b0=_0x2617c7[_0x466e63(0xca)](_0xfd03e0=>{const _0x36ad22=_0x466e63,_0x4f1b11=_0x2748d2[_0x36ad22(0x2c7)](_0xfd03e0);return{'checked':_0x54d866[_0x36ad22(0x1d1)](_0xfd03e0),'dataFieldId':_0x4f1b11['id'],'id':_0x4f1b11['id'],'name':_0x2748d2[_0x36ad22(0x16a)](_0x4f1b11['id']),'type':_0x4f1b11[_0x36ad22(0x165)](),'pivotTableId':_0x231861};}),_0x4395b0=[];_0x4f2bd7['iterateFieldByArea'](_0x24a6f0[_0x466e63(0x2b6)][_0x466e63(0x352)],_0x310869=>{const _0x12630e=_0x466e63;_0x4395b0['push']({'dataFieldId':_0x310869[_0x12630e(0xea)],'tableFieldId':_0x310869[_0x12630e(0x242)](),'displayName':_0x310869[_0x12630e(0x16a)]()});});const _0x533dee=[];_0x4f2bd7[_0x466e63(0x120)](_0x24a6f0[_0x466e63(0x2b6)][_0x466e63(0x14b)],_0x3ef36d=>{const _0x203cd2=_0x466e63;_0x533dee[_0x203cd2(0x182)]({'dataFieldId':_0x3ef36d['dataFieldId'],'tableFieldId':_0x3ef36d['getId'](),'displayName':_0x3ef36d['getDisplayName']()});});const _0x330420=[];if(_0x4f2bd7['iterateFieldByArea'](_0x24a6f0[_0x466e63(0x2b6)][_0x466e63(0x11a)],_0x1a46f7=>{const _0x5da1aa=_0x466e63;_0x330420[_0x5da1aa(0x182)]({'dataFieldId':_0x1a46f7[_0x5da1aa(0xea)],'tableFieldId':_0x1a46f7[_0x5da1aa(0x242)](),'displayName':_0x1a46f7[_0x5da1aa(0x16a)](),'format':_0x1a46f7[_0x5da1aa(0xe6)](),'subTotalType':_0x1a46f7['getSubtotal']()});}),_0x330420[_0x466e63(0x27d)]>0x1){const _0x2365d1=_0x4f2bd7['getValueIndex']();(_0x4f2bd7[_0x466e63(0x39f)]()?_0x533dee:_0x4395b0)[_0x466e63(0xd0)](_0x2365d1,0x0,{'dataFieldId':'','tableFieldId':_0x466e63(0x1e7),'displayName':_0x466e63(0x22c)});}const _0x56496e=[];_0x4f2bd7[_0x466e63(0x120)](_0x24a6f0[_0x466e63(0x2b6)][_0x466e63(0x385)],_0x4e09ff=>{const _0x573e4d=_0x466e63;_0x56496e[_0x573e4d(0x182)]({'dataFieldId':_0x4e09ff[_0x573e4d(0xea)],'tableFieldId':_0x4e09ff[_0x573e4d(0x242)](),'displayName':_0x4e09ff['getDisplayName']()});});const _0x44cb2e=_0x100647[_0x466e63(0x1af)];return{'sourceList':_0x2711b0,'sourceRange':_0x44cb2e,'rowFields':_0x4395b0,'columnFields':_0x533dee,'valueFields':_0x330420,'filterFields':_0x56496e,'positionInfo':_0x100647['targetCellInfo']};}function _0x59f8a5(_0x463213,_0x28beba,_0x3450e1='',_0x56d6fc={}){const _0x1c94ed=_0x43ed60,_0x3a3506=_0x463213['get'](_0x3f1699['LocaleService']);for(const _0x2d0111 in _0x28beba)if(Object[_0x1c94ed(0x1df)][_0x1c94ed(0x18c)]['call'](_0x28beba,_0x2d0111)){const _0x46a03f=_0x3450e1?_0x3450e1+'.'+_0x2d0111:_0x2d0111;typeof _0x28beba[_0x2d0111]==_0x1c94ed(0x2ba)&&_0x28beba[_0x2d0111]!==null&&!Array[_0x1c94ed(0x1ca)](_0x28beba[_0x2d0111])?_0x59f8a5(_0x463213,_0x28beba[_0x2d0111],_0x46a03f,_0x56d6fc):_0x56d6fc[_0x46a03f]=_0x3a3506['t'](_0x46a03f);}return _0x56d6fc;}const _0x3fa2d9=_0x209f71=>{const _0xd51b1a=_0x43ed60;if(!_0x209f71)return[];const {rowRanges:_0x49f43a,colRanges:_0x43a29f,cornerRanges:_0x3d03fe,dataRanges:_0xdf4489,pageRanges:_0x2ce3de}=_0x209f71,_0x4a4f30=[..._0x43a29f,..._0x49f43a,..._0xdf4489,..._0x3d03fe][_0xd51b1a(0x2a3)](_0x53aa81=>_0x53aa81[_0xd51b1a(0x13a)]>=0x0&&_0x53aa81[_0xd51b1a(0x135)]>=0x0&&_0x53aa81[_0xd51b1a(0x18b)]>=0x0&&_0x53aa81['endColumn']>=0x0);let _0x102125=Number[_0xd51b1a(0x126)],_0x4d09a2=Number[_0xd51b1a(0x1e0)],_0x10bd75=Number[_0xd51b1a(0x126)],_0x18472e=Number['MIN_SAFE_INTEGER'];for(let _0x4f654c=0x0;_0x4f654c<_0x4a4f30[_0xd51b1a(0x27d)];_0x4f654c++)_0x102125=Math[_0xd51b1a(0x2f6)](_0x102125,_0x4a4f30[_0x4f654c][_0xd51b1a(0x13a)]),_0x4d09a2=Math[_0xd51b1a(0x144)](_0x4d09a2,_0x4a4f30[_0x4f654c]['endRow']),_0x10bd75=Math['min'](_0x10bd75,_0x4a4f30[_0x4f654c][_0xd51b1a(0x135)]),_0x18472e=Math['max'](_0x18472e,_0x4a4f30[_0x4f654c][_0xd51b1a(0x1dc)]);return[..._0x2ce3de,{'startRow':_0x102125,'endRow':_0x4d09a2,'startColumn':_0x10bd75,'endColumn':_0x18472e}];};function _0x23420b(_0x2255ef,_0x3056ac){const _0x27eee5=_0x43ed60,_0x3f7c33=_0x3056ac[_0x27eee5(0x2c9)]['drillDown'],{pivotTableId:_0x598213,unitId:_0x4ea7e6,subUnitId:_0x3dcc72}=_0x3056ac;if(!_0x3f7c33)return;const _0x27922e=_0x2255ef[_0x27eee5(0x33b)](_0x89a8ec[_0x27eee5(0x1b5)]),_0x32ad15=_0x27922e[_0x27eee5(0x1bf)](_0x598213),_0x4223f0=_0x27922e[_0x27eee5(0x275)](_0x4ea7e6,_0x3dcc72,_0x598213);if(!_0x32ad15||!_0x4223f0)return;const _0x475254=_0x32ad15[_0x27eee5(0xdd)](_0x3f7c33[_0x27eee5(0x23b)]);if(!(_0x475254!=null&&_0x475254[_0x27eee5(0x27d)]))return;const _0x259190=_0x4223f0[_0x27eee5(0x1af)],{unitId:_0x29b569,subUnitId:_0x63d96b,range:_0x3fa948}=_0x259190;let _0x355647=0x0;const _0x2efc80=_0x32ad15[_0x27eee5(0x21f)][_0x27eee5(0x2d8)]()[_0x27eee5(0x115)]((_0x5b95c5,_0x3cc3a1)=>{const _0x1f11e8=_0x27eee5;var _0x55435b;const _0x256f1e=(_0x55435b=_0x32ad15['getDataFieldByDataFieldId'](_0x3cc3a1))==null?void 0x0:_0x55435b[_0x1f11e8(0x14d)]();return _0x256f1e&&(_0x5b95c5[String(_0x355647)]=_0x256f1e),_0x355647++,_0x5b95c5;},{});return{'indexes':_0x475254,'range':_0x3fa948,'sourceUnitId':_0x29b569,'sourceSubUnitId':_0x63d96b,'formatMap':_0x2efc80};}function _0x35e5f9(_0x5300b0,_0x40140a){const _0x2ef42c=_0x43ed60;if(!_0x5300b0||!_0x40140a)return!0x0;const _0x2dd3c3=_0x48414d['unshiftString'](_0x1e2524,_0x156274),_0xde00a1=new Function(_0x2ef42c(0x13b)+_0x2dd3c3)()(_0x5300b0,_0x40140a)[_0x2ef42c(0x1dd)],_0x3ef59c=_0x48414d[_0x2ef42c(0x2e2)](_0xde00a1,'sf',_0x81ded8);return!((_0xde00a1==null?void 0x0:_0xde00a1['rt'])===_0x48414d[_0x2ef42c(0xa0)]['NO_COMMERCIAL']&&!_0x3ef59c);}function _0xa1005d(_0x43afc4,_0x42af61,_0x438545){const _0x110bc3=_0x43ed60,_0x2caab7={'count':_0x43afc4,'timeValid':!0x1};if(!_0x42af61||!_0x438545)return _0x2caab7;const _0x41452f=_0x48414d[_0x110bc3(0x36e)](_0x1e2524,_0x156274),_0x43348b=new Function(_0x110bc3(0x13b)+_0x41452f)()(_0x42af61,_0x438545);if(_0x43348b!=null&&_0x43348b[_0x110bc3(0x27c)]){const _0x1e63cc=_0x43348b[_0x110bc3(0x1dd)],_0x33631a=_0x48414d[_0x110bc3(0x2e2)](_0x1e63cc,'sf',_0x81ded8);return{'count':_0x48414d[_0x110bc3(0xb8)](_0x1e63cc,_0x33631a,_0x110bc3(0x265),_0x43afc4,_0x43afc4,0x0),'timeValid':_0x33631a};}return _0x2caab7;}function _0x228cb9(_0x3eb195,_0xfc238f,_0x210312,_0x4deb01){const _0x4fc4f4=_0x43ed60,_0x5e27b0={'subUnitId':_0x210312,'unitId':_0xfc238f,'cellValue':_0x1c7b09[_0x4fc4f4(0x19f)](_0x4deb01)},_0x540e39=_0x1c7b09['SetRangeValuesUndoMutationFactory'](_0x3eb195,_0x5e27b0);let _0x2b6d01=!0x1;return new _0x3f1699[(_0x4fc4f4(0x2cb))](_0x540e39[_0x4fc4f4(0x1b7)])[_0x4fc4f4(0x36d)]((_0x4054c3,_0x204f37,_0x4f7da3)=>{const _0x3955ab=_0x4fc4f4;if(!_0x2b6d01&&_0x4f7da3&&(_0x4f7da3[_0x3955ab(0x2a8)]||_0x4f7da3['f']||_0x4f7da3['p']||_0x4f7da3['s']||_0x4f7da3['si']||_0x4f7da3['t']||_0x4f7da3['v']))return _0x2b6d01=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x1c7b09[_0x4fc4f4(0x2f0)]['id'],'params':_0x540e39},'setRangeValueRedoMutation':{'id':_0x1c7b09['SetRangeValuesMutation']['id'],'params':_0x5e27b0},'shouldClear':_0x2b6d01};}function _0x51080a(_0x110cb2){const {row:_0x360b6d,col:_0x599293}=_0x110cb2,_0x3cd915={'startRow':_0x360b6d,'endRow':_0x360b6d,'startColumn':_0x599293,'endColumn':_0x599293},_0x1e4184={'startRow':_0x360b6d+0x2,'endRow':_0x360b6d+0xe,'startColumn':_0x599293,'endColumn':_0x599293+0x6};return[_0x3cd915,_0x1e4184];}function _0x38bce4(_0x472f9a,_0x1f45d2,_0xc24fd4){const _0x113f8c=_0x43ed60,{cornerView:_0x12703b,rowView:_0x1719bc,colView:_0x215cbf,pageView:_0x3aaacf}=_0x472f9a,{row:_0xa0128d,col:_0x5f22c7}=_0x1f45d2;if(_0xc24fd4)return{'rowCount':_0x4cc7a2+_0xa0128d,'colCount':_0x5763f3+_0x5f22c7};const _0x357cc6=_0x3aaacf['lastRow']>-0x1?_0x3aaacf[_0x113f8c(0x121)]+0x1:0x0,_0x4fcf48=_0x3aaacf[_0x113f8c(0x39d)]>-0x1?_0x3aaacf[_0x113f8c(0x39d)]:0x0,_0x2c0935=_0xa0128d+_0x357cc6+(_0x357cc6?0x1:0x0)+_0x12703b[_0x113f8c(0x140)]+_0x1719bc[_0x113f8c(0x140)],_0x2ad3f6=_0x5f22c7+_0x4fcf48,_0x1a086e=_0x5f22c7+_0x12703b[_0x113f8c(0x19b)]+_0x215cbf[_0x113f8c(0x19b)],_0x170dc6=Math['max'](_0x2ad3f6,_0x1a086e);return{'rowCount':_0x2c0935,'colCount':_0x170dc6};}function _0x34a7f9(_0x481ccd,_0x5193d7,_0x3ff420,_0x32fd4d){const _0x2f36d6=_0x43ed60,{row:_0x10f573,col:_0x221dfe,unitId:_0x4fced3,subUnitId:_0x1ea64f}=_0x3ff420,_0x469e39=_0x38bce4(_0x5193d7,{'row':_0x10f573,'col':_0x221dfe},_0x32fd4d),_0x5dbee9=_0x481ccd[_0x2f36d6(0x33b)](_0x3f1699['IUniverInstanceService']),_0x4d5505=_0x1c7b09['getSheetCommandTarget'](_0x5dbee9,{'unitId':_0x4fced3,'subUnitId':_0x1ea64f}),_0x5dbf98=[],_0x5798b1=[];if(!_0x4d5505)return{'undos':_0x5798b1,'redos':_0x5dbf98};const {worksheet:_0x9e608f}=_0x4d5505,_0x1f985c=_0x9e608f[_0x2f36d6(0x2b0)](),_0xbdaad0=_0x9e608f[_0x2f36d6(0x179)]();return _0x1f985c<_0x469e39['rowCount']&&(_0x5dbf98[_0x2f36d6(0x182)]({'id':_0x1c7b09[_0x2f36d6(0x142)]['id'],'params':{'unitId':_0x4fced3,'subUnitId':_0x1ea64f,'range':{'startRow':_0x1f985c,'endRow':_0x469e39['rowCount']-0x1,'startColumn':0x0,'endColumn':_0xbdaad0-0x1}}}),_0x5798b1[_0x2f36d6(0x182)]({'id':_0x1c7b09[_0x2f36d6(0x272)]['id'],'params':{'unitId':_0x4fced3,'subUnitId':_0x1ea64f,'range':{'startRow':_0x1f985c,'endRow':_0x469e39[_0x2f36d6(0x140)]-0x1,'startColumn':0x0,'endColumn':_0xbdaad0-0x1}}})),_0xbdaad0<_0x469e39[_0x2f36d6(0x19b)]&&(_0x5dbf98[_0x2f36d6(0x182)]({'id':_0x1c7b09[_0x2f36d6(0xc5)]['id'],'params':{'unitId':_0x4fced3,'subUnitId':_0x1ea64f,'range':{'startRow':0x0,'endRow':_0x1f985c-0x1,'startColumn':_0xbdaad0,'endColumn':_0x469e39[_0x2f36d6(0x19b)]-0x1}}}),_0x5798b1[_0x2f36d6(0x182)]({'id':_0x1c7b09[_0x2f36d6(0x190)]['id'],'params':{'unitId':_0x4fced3,'subUnitId':_0x1ea64f,'range':{'startRow':0x0,'endRow':_0x1f985c-0x1,'startColumn':_0xbdaad0,'endColumn':_0x469e39[_0x2f36d6(0x19b)]-0x1}}})),{'undos':_0x5798b1,'redos':_0x5dbf98};}function _0x2423e9(_0x1199b8){const _0x4cf48d=_0x43ed60;let _0x5c6d66=0x0;for(let _0x33d451=0x0;_0x33d451<_0x1199b8['length'];_0x33d451++){const _0x33aa8c=_0x1199b8[_0x4cf48d(0x20d)](_0x33d451);_0x33aa8c>=0x4e00&&_0x33aa8c<=0x9fff||_0x33aa8c>=0x3000&&_0x33aa8c<=0x303f||_0x33aa8c>=0xff00&&_0x33aa8c<=0xffef?_0x5c6d66+=0x2:_0x5c6d66+=0x1;}return _0x5c6d66;}function _0x40f147(_0x27c3bb,_0x46d830,_0xa2d50a,_0x46fb5d){const _0x591055=_0x43ed60;var _0x50cea0,_0x59d4eb,_0x482a4b,_0x191bb0;const {rowCount:_0x4d183f,colCount:_0x248da6,headerMap:_0x314d39}=_0x27c3bb,_0x4e42fd=0x64,_0x20b71=Math['min'](_0x4d183f,_0x4e42fd),_0x4bd70e=Math[_0x591055(0x2f6)](_0x248da6,_0x4e42fd);let _0x509e61='',_0x4f8521=0x0;for(let _0x1a6c75=0x0;_0x1a6c75<_0x20b71;_0x1a6c75++)for(let _0x23fb7b=0x0;_0x23fb7b<_0x4bd70e;_0x23fb7b++){const _0x34f2ff={...(_0x59d4eb=(_0x50cea0=_0x27c3bb[_0x591055(0x187)])==null?void 0x0:_0x50cea0[_0x1a6c75])==null?void 0x0:_0x59d4eb[_0x23fb7b]},_0x39c0be=(_0x482a4b=_0x314d39[_0x1a6c75])==null?void 0x0:_0x482a4b[_0x591055(0x2e5)],_0x17a23c=_0x46fb5d[_0x39c0be];let _0x13a0b1=_0x27c3bb[_0x591055(0x381)](_0x1a6c75,_0x23fb7b);if(_0x34f2ff){const _0x5e1cd3=_0xa2d50a?_0x23fb7b===0x0&&((_0x191bb0=_0x27c3bb[_0x591055(0xe1)](_0x23fb7b+0x1))==null?void 0x0:_0x191bb0[_0x591055(0x302)]):!0x1;_0x13a0b1=_0x2a897d(_0x34f2ff,_0x5e1cd3,_0x17a23c,_0x46d830);}if(_0x13a0b1!==void 0x0){const _0x21755d=_0x2423e9(String(_0x13a0b1));_0x4f8521<_0x21755d&&(_0x509e61=String(_0x13a0b1),_0x4f8521=_0x21755d);}}return _0x509e61;}function _0x838b47(_0x4e0d7b){const _0x276ad3=_0x43ed60,{rowCount:_0x5980e7,colCount:_0x32f340}=_0x4e0d7b;let _0x5bb96d='',_0x4dd241=0x0;for(let _0x1b48c2=_0x5980e7-0x1;_0x1b48c2>0x0&&_0x1b48c2>_0x5980e7-0x3;_0x1b48c2--)for(let _0x2435c7=0x0;_0x2435c7<_0x32f340;_0x2435c7++){const _0x45641f=_0x4e0d7b['getValue'](_0x1b48c2,_0x2435c7);if(_0x45641f!==void 0x0){const _0x522c34=String(_0x45641f)[_0x276ad3(0x27d)];_0x4dd241<_0x522c34&&(_0x5bb96d=String(_0x45641f),_0x4dd241=_0x522c34);}}return _0x5bb96d;}function _0xd435f9(_0x5e52c1){const _0x2287d4=_0x43ed60,{rowCount:_0x38215d,colCount:_0x269d1a}=_0x5e52c1;let _0x2451c2='',_0x25eb02=0x0;for(let _0x5f297a=0x0;_0x5f297a<_0x38215d;_0x5f297a++)for(let _0x5787da=0x0;_0x5787da<_0x269d1a;_0x5787da++){const _0x8d4c19=_0x5e52c1[_0x2287d4(0x381)](_0x5f297a,_0x5787da);if(_0x8d4c19!==void 0x0){const _0x150ce1=String(_0x8d4c19)[_0x2287d4(0x27d)];_0x25eb02<_0x150ce1&&(_0x2451c2=String(_0x8d4c19),_0x25eb02=_0x150ce1);}}return _0x2451c2;}function _0x44161b(_0x382327,_0xa727e1){const _0x25155d=_0x43ed60,{rowFields:_0x1f8da1,columnFields:_0xfe30b4,valueFields:_0x71691f,filterFields:_0x5cda74,dimension:_0x207ac0,measure:_0x299f99}=_0xa727e1;for(const _0x200365 of _0x1f8da1){const _0x4c8046=_0x207ac0[_0x200365];_0x4c8046&&_0x382327[_0x25155d(0x1a3)](_0x4c8046['dataFieldId'])&&(_0x382327[_0x25155d(0x34f)](_0x4c8046[_0x25155d(0xea)],_0x24a6f0[_0x25155d(0x2b6)][_0x25155d(0x352)],void 0x0,_0x200365),_0x4c8046[_0x25155d(0x106)]&&_0x382327[_0x25155d(0xb2)](_0x4c8046['id'],_0x4c8046['displayName']),_0x4c8046[_0x25155d(0x141)]&&_0x382327[_0x25155d(0x13c)](_0x4c8046['id'],_0x4c8046['sortInfo']),_0x4c8046[_0x25155d(0x22e)]&&_0x382327[_0x25155d(0xd5)](_0x4c8046['id'],_0x4c8046[_0x25155d(0x22e)]));}for(const _0x25fcdc of _0xfe30b4){const _0x4a9ef5=_0x207ac0[_0x25fcdc];_0x4a9ef5&&_0x382327[_0x25155d(0x1a3)](_0x4a9ef5[_0x25155d(0xea)])&&(_0x382327[_0x25155d(0x34f)](_0x4a9ef5[_0x25155d(0xea)],_0x24a6f0[_0x25155d(0x2b6)][_0x25155d(0x14b)],void 0x0,_0x25fcdc),_0x4a9ef5[_0x25155d(0x141)]&&_0x382327[_0x25155d(0x13c)](_0x4a9ef5['id'],_0x4a9ef5[_0x25155d(0x141)]),_0x4a9ef5[_0x25155d(0x22e)]&&_0x382327[_0x25155d(0xd5)](_0x4a9ef5['id'],_0x4a9ef5['filterInfo']),_0x4a9ef5[_0x25155d(0x106)]&&_0x382327['renameField'](_0x4a9ef5['id'],_0x4a9ef5[_0x25155d(0x106)]));}for(const _0x19a638 of _0x5cda74){const _0x4fd8b2=_0x207ac0[_0x19a638];_0x4fd8b2&&_0x382327[_0x25155d(0x1a3)](_0x4fd8b2['dataFieldId'])&&(_0x382327[_0x25155d(0x34f)](_0x4fd8b2['dataFieldId'],_0x24a6f0[_0x25155d(0x2b6)][_0x25155d(0x385)],void 0x0,_0x19a638),_0x4fd8b2[_0x25155d(0x141)]&&_0x382327[_0x25155d(0x13c)](_0x4fd8b2['id'],_0x4fd8b2[_0x25155d(0x141)]),_0x4fd8b2[_0x25155d(0x22e)]&&_0x382327[_0x25155d(0xd5)](_0x4fd8b2['id'],_0x4fd8b2[_0x25155d(0x22e)]),_0x4fd8b2[_0x25155d(0x106)]&&_0x382327[_0x25155d(0xb2)](_0x4fd8b2['id'],_0x4fd8b2[_0x25155d(0x106)]));}for(const _0xd2ffc7 of _0x71691f){const _0x552af7=_0x299f99[_0xd2ffc7];_0x552af7&&_0x382327[_0x25155d(0x1a3)](_0x552af7[_0x25155d(0xea)])&&(_0x382327[_0x25155d(0x34f)](_0x552af7[_0x25155d(0xea)],_0x24a6f0[_0x25155d(0x2b6)][_0x25155d(0x11a)],void 0x0,_0xd2ffc7),_0x552af7[_0x25155d(0x296)]!==void 0x0&&_0x382327[_0x25155d(0x1a9)](_0xd2ffc7,_0x552af7[_0x25155d(0x296)]),_0x552af7[_0x25155d(0x2ac)]&&_0x382327[_0x25155d(0x19a)](_0xd2ffc7,_0x552af7['format']),_0x552af7[_0x25155d(0x106)]&&_0x382327[_0x25155d(0xb2)](_0x552af7['id'],_0x552af7[_0x25155d(0x106)]));}const _0x381e61=_0xa727e1[_0x25155d(0x1a7)];for(const {fieldId:_0x41cfb3,filterInfo:_0x4a6e2c}of _0x381e61)_0x382327['setValueFilterInfo'](_0x41cfb3,_0x4a6e2c);}function _0x20f090(_0x3e638b,_0x17b2a7){const _0xacf560=_0x43ed60,_0x5f160e=[];_0x17b2a7===_0x24a6f0['PivotTableFiledAreaEnum']['Row']&&_0x3e638b[_0xacf560(0x120)](_0x24a6f0['PivotTableFiledAreaEnum']['Row'],_0x3b42eb=>{const _0x57d360=_0xacf560;_0x5f160e[_0x57d360(0x182)](_0x3b42eb[_0x57d360(0x242)]());}),_0x17b2a7===_0x24a6f0['PivotTableFiledAreaEnum']['Column']&&_0x3e638b[_0xacf560(0x120)](_0x24a6f0[_0xacf560(0x2b6)][_0xacf560(0x14b)],_0x5eb2fb=>{const _0x3a137a=_0xacf560;_0x5f160e[_0x3a137a(0x182)](_0x5eb2fb[_0x3a137a(0x242)]());}),_0x17b2a7===_0x24a6f0[_0xacf560(0x2b6)]['Filter']&&_0x3e638b[_0xacf560(0x120)](_0x24a6f0[_0xacf560(0x2b6)][_0xacf560(0x385)],_0x399f2d=>{const _0x483567=_0xacf560;_0x5f160e[_0x483567(0x182)](_0x399f2d[_0x483567(0x242)]());}),_0x17b2a7===_0x24a6f0[_0xacf560(0x2b6)][_0xacf560(0x11a)]&&_0x3e638b[_0xacf560(0x120)](_0x24a6f0['PivotTableFiledAreaEnum']['Value'],_0x484279=>{const _0x1cd5ff=_0xacf560;_0x5f160e[_0x1cd5ff(0x182)](_0x484279[_0x1cd5ff(0x242)]());}),_0x17b2a7===void 0x0&&_0x3e638b[_0xacf560(0x1f1)](_0x233d0d=>{const _0x537996=_0xacf560;_0x5f160e[_0x537996(0x182)](_0x233d0d[_0x537996(0x242)]());});const _0xb0ed0b=_0x5f160e[_0xacf560(0x27d)];for(let _0x519100=_0xb0ed0b-0x1;_0x519100>=0x0;_0x519100--)_0x3e638b[_0xacf560(0x32f)](_0x5f160e[_0x519100]);const _0x178426=_0x3e638b[_0xacf560(0x35b)]();for(const _0x324437 in _0x178426)_0x3e638b[_0xacf560(0x2e7)](_0x324437);}function _0x4aebca(_0x504dab,_0x8f88eb){const _0x367b80=_0x43ed60,_0x173095=new Date(_0x24a6f0[_0x367b80(0x324)](_0x8f88eb)),_0x50cb22=new Date(_0x24a6f0[_0x367b80(0x324)](_0x504dab)),_0x1866bb=_0x173095['getFullYear'](),_0x1762c8=_0x50cb22['getFullYear'](),_0x26c3d7=_0x173095['getMonth'](),_0xb59ecb=_0x50cb22['getMonth'](),_0x47858f=_0x173095[_0x367b80(0x256)](),_0x379715=_0x50cb22[_0x367b80(0x256)](),_0x54ab19=_0x1866bb===_0x1762c8,_0x2b5281=_0x54ab19&&_0x26c3d7===_0xb59ecb;return _0x54ab19&&_0x2b5281&&!(_0x2b5281&&_0x47858f===_0x379715)?_0x24a6f0['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:_0x54ab19&&!_0x2b5281?_0x24a6f0[_0x367b80(0x354)][_0x367b80(0x9e)]:_0x24a6f0[_0x367b80(0x354)][_0x367b80(0x3aa)];}function _0xe6d46c(_0x57decc,_0x157364){const _0x49e09f=_0x43ed60,_0x1ef126=_0x57decc[_0x49e09f(0x33b)](_0x89a8ec[_0x49e09f(0x1b5)])[_0x49e09f(0x1a0)]();let _0x520042='';switch(_0x157364){case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x49e09f(0x9b)]:_0x520042=_0x1ef126[_0x49e09f(0x39a)];break;case _0x24a6f0[_0x49e09f(0x354)]['YearMonth']:_0x520042=_0x1ef126['sheets-pivot.dateGroup.yearMonth'];break;case _0x24a6f0[_0x49e09f(0x354)]['Year']:_0x520042=_0x1ef126[_0x49e09f(0xd9)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0xcc)]:_0x520042=_0x1ef126[_0x49e09f(0x380)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0xa3)]:_0x520042=_0x1ef126[_0x49e09f(0x160)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0x30e)]:_0x520042=_0x1ef126[_0x49e09f(0x1d6)];break;case _0x24a6f0['PivotDateGroupFieldDateTypeEnum'][_0x49e09f(0xc9)]:_0x520042=_0x1ef126[_0x49e09f(0x161)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0x29c)]:_0x520042=_0x1ef126['sheets-pivot.dateGroup.hour'];break;case _0x24a6f0[_0x49e09f(0x354)]['Minute']:_0x520042=_0x1ef126[_0x49e09f(0x2b7)];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0xab)]:_0x520042=_0x1ef126['sheets-pivot.dateGroup.monthDate'];break;case _0x24a6f0[_0x49e09f(0x354)][_0x49e09f(0x301)]:_0x520042=_0x1ef126[_0x49e09f(0x358)];break;default:_0x520042='';break;}return _0x520042;}const _0x3b7866='sheets-pivot.config',_0x548652={};var _0x29ef34=Object['getOwnPropertyDescriptor'],_0x111e6b=(_0x451b8a,_0x21f9cd,_0x17773a,_0x305bfc)=>{const _0x27263a=_0x43ed60;for(var _0x4bae4d=_0x305bfc>0x1?void 0x0:_0x305bfc?_0x29ef34(_0x21f9cd,_0x17773a):_0x21f9cd,_0x56c776=_0x451b8a[_0x27263a(0x27d)]-0x1,_0x3f9dfd;_0x56c776>=0x0;_0x56c776--)(_0x3f9dfd=_0x451b8a[_0x56c776])&&(_0x4bae4d=_0x3f9dfd(_0x4bae4d)||_0x4bae4d);return _0x4bae4d;},_0x392ba4=(_0x5a57a0,_0x57585f)=>(_0x27f857,_0x4da3cb)=>_0x57585f(_0x27f857,_0x4da3cb,_0x5a57a0);_0x89a8ec['SheetsPivotTableConfigModel']=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0xc445a3,_0x388ff7,_0x7450c9,_0x36dbb1,_0x5ca91d){const _0x204e33=_0x43ed60;super(),_0x575f06(this,_0x204e33(0x268),new Map()),_0x575f06(this,_0x204e33(0xed),new Map()),_0x575f06(this,_0x204e33(0x2c5),new Map()),_0x575f06(this,_0x204e33(0x15d),new Map()),_0x575f06(this,_0x204e33(0x313),new _0x28d43e[(_0x204e33(0x1ee))]()),_0x575f06(this,_0x204e33(0x2ff),new _0x28d43e[(_0x204e33(0x1ee))]()),_0x575f06(this,_0x204e33(0x1c0),this[_0x204e33(0x2ff)]['asObservable']()),_0x575f06(this,_0x204e33(0x36a),new _0x28d43e[(_0x204e33(0x1ee))]()),_0x575f06(this,'pivotConfigChange$',this[_0x204e33(0x36a)][_0x204e33(0xfc)]()),_0x575f06(this,_0x204e33(0x134),{}),_0x575f06(this,_0x204e33(0x158),this[_0x204e33(0x313)][_0x204e33(0xfc)]()),(this[_0x204e33(0x2f1)]=_0xc445a3,this[_0x204e33(0x399)]=_0x388ff7,this['_univerInstanceService']=_0x7450c9,this['_resourceManagerService']=_0x36dbb1,this['_configService']=_0x5ca91d,this[_0x204e33(0x355)](),this[_0x204e33(0x129)]());const _0x4b09c3=this[_0x204e33(0x359)][_0x204e33(0x30f)](_0x3b7866);(_0x4b09c3==null?void 0x0:_0x4b09c3['notExecuteFormula'])===!0x0&&this[_0x204e33(0x216)]();}['_initUnitDisposed'](){const _0x2902f4=_0x43ed60;this[_0x2902f4(0xaf)](this[_0x2902f4(0x2dc)][_0x2902f4(0x101)](_0x3f1699['UniverInstanceType'][_0x2902f4(0xfd)])[_0x2902f4(0x3ae)](_0x8d7ab7=>{const _0x4afaee=_0x2902f4;this[_0x4afaee(0x233)](_0x8d7ab7[_0x4afaee(0x330)]());}));}[_0x43ed60(0x22a)](){const _0x496632=_0x43ed60;this[_0x496632(0x2ff)][_0x496632(0x2c4)](!0x0);}[_0x43ed60(0x355)](){const _0x51e9ba=_0x43ed60,_0x590ea7=_0x59f8a5(this['_injector'],_0x5c6bc9,'',{});this[_0x51e9ba(0x134)]=_0x590ea7,this[_0x51e9ba(0x399)][_0x51e9ba(0x294)](_0x34e502['id'],{'textInfo':_0x590ea7},{'onlyLocal':!0x0});}[_0x43ed60(0x1a0)](){const _0x19cc26=_0x43ed60;return this[_0x19cc26(0x134)];}[_0x43ed60(0x390)](_0x35b951,_0xeb32a1,_0x58804a,_0x4d2ee3,_0x15502a){const _0x205d9e=_0x43ed60;this[_0x205d9e(0x206)](_0x35b951,_0xeb32a1,_0x58804a,_0x4d2ee3),this[_0x205d9e(0x1d7)](_0x35b951,_0xeb32a1,_0x58804a,_0x15502a);}['getPivotTableConfig'](_0x51d8ac,_0x3a3e78,_0x432132){const _0x4bb959=_0x43ed60;var _0x2e13ca;const _0x133ecd=(_0x2e13ca=this[_0x4bb959(0x268)][_0x4bb959(0x33b)](_0x51d8ac))==null?void 0x0:_0x2e13ca['get'](_0x3a3e78);if(_0x133ecd)return _0x133ecd[_0x4bb959(0x33b)](_0x432132);}[_0x43ed60(0x192)](_0x2d72b4,_0x3b853d){const _0x1ead3e=_0x43ed60,_0x5534a0=this[_0x1ead3e(0x268)]['get'](_0x2d72b4);if(_0x5534a0){for(const [_0x53d396,_0x2c6843]of _0x5534a0[_0x1ead3e(0x169)]())for(const [_0x58796b,_0x251f14]of _0x2c6843[_0x1ead3e(0x169)]())if(_0x58796b===_0x3b853d)return _0x251f14['targetCellInfo'];}}[_0x43ed60(0x367)](_0xed98ab,_0x5afc86,_0x2594c2){const _0x31b7d4=_0x43ed60,_0x17f625=this[_0x31b7d4(0x275)](_0xed98ab,_0x5afc86,_0x2594c2);return _0x17f625==null?void 0x0:_0x17f625['targetCellInfo'];}['getSubUnitPivotConfigs'](_0x1f6aa8,_0x5b7915){const _0x28c4dd=_0x43ed60;var _0x1016db;return(_0x1016db=this[_0x28c4dd(0x268)][_0x28c4dd(0x33b)](_0x1f6aa8))==null?void 0x0:_0x1016db[_0x28c4dd(0x33b)](_0x5b7915);}[_0x43ed60(0x2b5)](_0x36e52f,_0x2eaa8f,_0x3929cd,_0x345b91){const _0x4e5e9b=_0x43ed60,_0x191487=this[_0x4e5e9b(0x31e)](_0x36e52f,_0x2eaa8f);_0x345b91?_0x191487['set'](_0x3929cd,_0x345b91):_0x191487[_0x4e5e9b(0x21c)](_0x3929cd),this['_pivotConfigChange$'][_0x4e5e9b(0x2c4)]({'unitId':_0x36e52f,'subUnitId':_0x2eaa8f,'pivotTableId':_0x3929cd,'pivotTableConfig':_0x345b91});}[_0x43ed60(0x361)](_0x376711,_0x527470){const _0x1fb5c0=_0x43ed60;var _0x52d664;return(_0x52d664=this[_0x1fb5c0(0xed)][_0x1fb5c0(0x33b)](_0x376711))==null?void 0x0:_0x52d664[_0x1fb5c0(0x379)][_0x527470];}[_0x43ed60(0x32a)](_0x529ec5,_0x2c6b51){const _0x249444=_0x43ed60;this[_0x249444(0xed)][_0x249444(0x273)](_0x529ec5,_0x2c6b51),this['_configVersion$']['next'](Math['random']());}[_0x43ed60(0x31e)](_0x26f5ae,_0x4d84be){const _0x1b4dd8=_0x43ed60;let _0x175229=this[_0x1b4dd8(0x268)][_0x1b4dd8(0x33b)](_0x26f5ae);_0x175229||(_0x175229=new Map(),this[_0x1b4dd8(0x268)][_0x1b4dd8(0x273)](_0x26f5ae,_0x175229));let _0x1c4104=_0x175229[_0x1b4dd8(0x33b)](_0x4d84be);return _0x1c4104||(_0x1c4104=new Map(),_0x175229[_0x1b4dd8(0x273)](_0x4d84be,_0x1c4104)),_0x1c4104;}['_ensurePivotTableRangeInfo'](_0x19ad32,_0x28522b){const _0x530f90=_0x43ed60;let _0x706946=this[_0x530f90(0x2c5)][_0x530f90(0x33b)](_0x19ad32);_0x706946||(_0x706946=new Map(),this[_0x530f90(0x2c5)][_0x530f90(0x273)](_0x19ad32,_0x706946));let _0xd9d69a=_0x706946['get'](_0x28522b);return _0xd9d69a||(_0xd9d69a=new Map(),_0x706946[_0x530f90(0x273)](_0x28522b,_0xd9d69a)),_0xd9d69a;}[_0x43ed60(0x362)](_0xf729c9,_0x21cf30){const _0x3ab10a=_0x43ed60;let _0x14fa7a=this[_0x3ab10a(0x15d)]['get'](_0xf729c9);_0x14fa7a||(_0x14fa7a=new Map(),this[_0x3ab10a(0x15d)][_0x3ab10a(0x273)](_0xf729c9,_0x14fa7a));let _0x2bc93a=_0x14fa7a['get'](_0x21cf30);return _0x2bc93a||(_0x2bc93a=new Map(),_0x14fa7a[_0x3ab10a(0x273)](_0x21cf30,_0x2bc93a)),_0x2bc93a;}[_0x43ed60(0x1d7)](_0x8326c0,_0x1fc010,_0x444bf9,_0x248ba9){const _0x21a6fb=_0x43ed60;var _0x51f489;const _0x120f62=this[_0x21a6fb(0x2d2)](_0x8326c0,_0x1fc010),_0x283ed8=(_0x51f489=_0x120f62[_0x21a6fb(0x33b)](_0x444bf9))==null?void 0x0:_0x51f489['oldRangeInfo'];_0x120f62[_0x21a6fb(0x273)](_0x444bf9,{'oldRangeInfo':_0x283ed8,'rangeInfo':_0x248ba9});}[_0x43ed60(0x206)](_0xddbe9e,_0x5475a5,_0xd179c,_0x64f59e){const _0x416fc0=_0x43ed60;var _0x35829a;const _0x28ccb9=this['_ensurePivotTableMatrixInfo'](_0xddbe9e,_0x5475a5),_0x1e2299=(_0x35829a=_0x28ccb9[_0x416fc0(0x33b)](_0xd179c))==null?void 0x0:_0x35829a[_0x416fc0(0x19e)];_0x28ccb9['set'](_0xd179c,{'oldMatrix':_0x1e2299,'matrix':_0x64f59e});}[_0x43ed60(0x2a6)](_0x2c488c,_0x1f2e99,_0x10772d){const _0x1459a7=_0x43ed60;var _0x42b798,_0x39df19;return(_0x39df19=(_0x42b798=this[_0x1459a7(0x2c5)][_0x1459a7(0x33b)](_0x2c488c))==null?void 0x0:_0x42b798[_0x1459a7(0x33b)](_0x1f2e99))==null?void 0x0:_0x39df19['get'](_0x10772d);}[_0x43ed60(0x13f)](_0x45690f,_0x28c6fe,_0x3d86cb){const _0x2549bc=_0x43ed60;var _0x2c48eb,_0x35be8c;return(_0x35be8c=(_0x2c48eb=this['_pivotTableMatrixInfo'][_0x2549bc(0x33b)](_0x45690f))==null?void 0x0:_0x2c48eb['get'](_0x28c6fe))==null?void 0x0:_0x35be8c[_0x2549bc(0x33b)](_0x3d86cb);}[_0x43ed60(0x233)](_0x141698){const _0x3cef62=_0x43ed60;this['_model'][_0x3cef62(0x21c)](_0x141698),this['_collectionConfigModel'][_0x3cef62(0x21c)](_0x141698);}[_0x43ed60(0x1ec)](_0x529fe5){const _0x2c5444=_0x43ed60,_0x2a822a={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2c5444(0xed)][_0x2c5444(0x33b)](_0x529fe5)&&(_0x2a822a[_0x2c5444(0x1f4)][_0x529fe5]=this[_0x2c5444(0xed)]['get'](_0x529fe5)),this[_0x2c5444(0x268)][_0x2c5444(0x33b)](_0x529fe5)){_0x2a822a['pivotTableConfigs'][_0x529fe5]={};const _0x5c9104=this[_0x2c5444(0x268)][_0x2c5444(0x33b)](_0x529fe5);_0x5c9104!=null&&_0x5c9104[_0x2c5444(0x1e8)]&&[..._0x5c9104['keys']()]['forEach'](_0x53503f=>{const _0x5c8e84=_0x2c5444,_0x2e0ff2=_0x5c9104['get'](_0x53503f);_0x2e0ff2!=null&&_0x2e0ff2['size']&&(_0x2a822a[_0x5c8e84(0x193)][_0x529fe5][_0x53503f]={},[..._0x2e0ff2['keys']()][_0x5c8e84(0x2f8)](_0x321861=>{const _0x501993=_0x5c8e84,_0x4cec8a=_0x2e0ff2[_0x501993(0x33b)](_0x321861);_0x4cec8a&&(_0x2a822a['pivotTableConfigs'][_0x529fe5][_0x53503f][_0x321861]=_0x4cec8a);}));});}return _0x2a822a;}[_0x43ed60(0x216)](){const _0x2fd9b7=_0x43ed60;this[_0x2fd9b7(0xaf)](this[_0x2fd9b7(0xe7)][_0x2fd9b7(0x322)]({'toJson':_0x237d35=>JSON[_0x2fd9b7(0x252)](this[_0x2fd9b7(0x1ec)](_0x237d35)),'parseJson':_0x41d369=>({}),'businesses':[_0x3f1699[_0x2fd9b7(0x139)][_0x2fd9b7(0xfd)]],'pluginName':_0x1cc3eb,'onLoad':(_0x578c07,_0x4ddc5f)=>{},'onUnLoad':_0x5033e8=>{const _0x1461ee=_0x2fd9b7;this[_0x1461ee(0x233)](_0x5033e8);}}));}},_0x89a8ec[_0x43ed60(0xb3)]=_0x111e6b([_0x392ba4(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x383)])),_0x392ba4(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699['ICommandService'])),_0x392ba4(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x1b9)])),_0x392ba4(0x3,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x230)])),_0x392ba4(0x4,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x23e)]))],_0x89a8ec['SheetsPivotTableConfigModel']);var _0x3c01cb=Object[_0x43ed60(0x269)],_0x1fc49e=(_0x367552,_0x51b856,_0x106f9c,_0x1b3d6b)=>{for(var _0x1b63a0=_0x1b3d6b>0x1?void 0x0:_0x1b3d6b?_0x3c01cb(_0x51b856,_0x106f9c):_0x51b856,_0x22a342=_0x367552['length']-0x1,_0x5366b4;_0x22a342>=0x0;_0x22a342--)(_0x5366b4=_0x367552[_0x22a342])&&(_0x1b63a0=_0x5366b4(_0x1b63a0)||_0x1b63a0);return _0x1b63a0;},_0x1a911d=(_0x4a085e,_0x446340)=>(_0x3ab5ab,_0x1efffc)=>_0x446340(_0x3ab5ab,_0x1efffc,_0x4a085e);_0x89a8ec[_0x43ed60(0x1ef)]=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x2c2f21,_0xafd39a,_0x124168,_0x4c01f2,_0x2d2589){const _0x2a9226=_0x43ed60;super(),_0x575f06(this,_0x2a9226(0x17d),new Map()),_0x575f06(this,'_pivotRenderValueMatrixCache',new Map()),_0x575f06(this,_0x2a9226(0x34d),new _0x28d43e[(_0x2a9226(0x1ee))]()),_0x575f06(this,'markDirty$',this[_0x2a9226(0x34d)][_0x2a9226(0xfc)]()),_0x575f06(this,'_viewUpdate$',new _0x28d43e['Subject']()),_0x575f06(this,'viewUpdate$',this[_0x2a9226(0x369)]['asObservable']()),_0x575f06(this,_0x2a9226(0x134)),(this[_0x2a9226(0x1da)]=_0x2c2f21,this[_0x2a9226(0x2f1)]=_0xafd39a,this['_sheetsPivotTableConfigModel']=_0x124168,this[_0x2a9226(0x2dc)]=_0x4c01f2,this[_0x2a9226(0x35d)]=_0x2d2589,this[_0x2a9226(0x355)](),this[_0x2a9226(0x129)]());}['_initUnitDisposed'](){const _0x4c706f=_0x43ed60;this[_0x4c706f(0xaf)](this[_0x4c706f(0x2dc)][_0x4c706f(0x101)](_0x3f1699['UniverInstanceType']['UNIVER_SHEET'])[_0x4c706f(0x3ae)](_0x293346=>{const _0x2adfd8=_0x4c706f;this[_0x2adfd8(0x233)](_0x293346[_0x2adfd8(0x330)]());}));}[_0x43ed60(0x355)](){this['_textInfo']=_0x59f8a5(this['_injector'],_0x5c6bc9,'',{});}['updateRenderCache'](_0x22fd2e){const _0x2c3e8d=_0x43ed60,{view:_0x319956,unitId:_0x3c2ae8,subUnitId:_0x11faad,pivotTableId:_0x390e4c,type:_0x5df599}=_0x22fd2e,_0x21619c=this[_0x2c3e8d(0xd6)][_0x2c3e8d(0x275)](_0x3c2ae8,_0x11faad,_0x390e4c);if(!_0x319956||!_0x21619c||_0x5df599===_0x1870de[_0x2c3e8d(0x39e)])return;const {pageView:_0x1b7e2c,cornerView:_0x2c5391,rowView:_0xf3ea24,colView:_0x28078c,dataView:_0x3fb37a}=_0x319956,_0x2a4629=_0x21619c[_0x2c3e8d(0x3a4)],_0x2d613b=_0x21619c[_0x2c3e8d(0x35c)],_0x3dfb7f=this[_0x2c3e8d(0x24b)](_0x3c2ae8,_0x11faad),_0x20c301=this['_ensurePivotItemRenderInfoCache'](_0x3c2ae8,_0x11faad,_0x390e4c);if(_0x2d613b)return this[_0x2c3e8d(0x1e2)](_0x22fd2e,_0x3dfb7f,_0x2a4629,_0x20c301);{const _0x376dee=_0x3688e4(_0x2a4629,_0x1b7e2c,!0x0),_0x494c3d=_0x1b7e2c['lastRow']>=0x0?_0x1b7e2c['lastRow']+0x1:0x0,_0x1713bf=_0x2c5391[_0x2c3e8d(0x2b0)](),_0x104f92=_0x2c5391[_0x2c3e8d(0x12b)](),_0x5dab30=_0x376dee['length']>0x0?_0x4cd667:0x0,_0x10951c=_0x3688e4({'row':_0x2a4629[_0x2c3e8d(0x329)]+_0x494c3d+_0x5dab30,'col':_0x2a4629['col']},_0x2c5391,!0x1,!0x1),_0x4a7673=_0x3688e4({'row':_0x2a4629[_0x2c3e8d(0x329)]+_0x494c3d+_0x5dab30+_0x1713bf,'col':_0x2a4629[_0x2c3e8d(0x14c)]},_0xf3ea24,!0x1,!0x0),_0x54fd86=_0x3688e4({'row':_0x2a4629[_0x2c3e8d(0x329)]+_0x494c3d+_0x5dab30,'col':_0x2a4629[_0x2c3e8d(0x14c)]+_0x104f92},_0x28078c,!0x1,!0x0),_0x140770=_0x3688e4({'row':_0x2a4629[_0x2c3e8d(0x329)]+_0x494c3d+_0x5dab30+_0x1713bf,'col':_0x2a4629[_0x2c3e8d(0x14c)]+_0x104f92},_0x3fb37a,!0x1,!0x1);_0x20c301[_0x2c3e8d(0x250)]={'rowRanges':_0x4a7673,'colRanges':_0x54fd86,'cornerRanges':_0x10951c,'dataRanges':_0x140770,'pageRanges':_0x376dee};const _0x1ac22c=_0x21cd62(this[_0x2c3e8d(0x2f1)],_0x319956,_0x21619c,this['_textInfo']),{valueMatrix:_0x39867e,rowInfo:_0x5f1b95,colInfo:_0x21a293,cornerInfo:_0x5f53fa,rowHeaderMap:_0x4ca8b3,colHeaderMap:_0x4dd98a}=_0x1ac22c;return _0x20c301[_0x2c3e8d(0x155)]={'rowInfo':_0x5f1b95,'colInfo':_0x21a293,'cornerInfo':_0x5f53fa},_0x20c301[_0x2c3e8d(0xe2)]={'rowHeaderMap':_0x4ca8b3,'colHeaderMap':_0x4dd98a},_0x39867e[_0x2c3e8d(0x2f8)]((_0x5e089e,_0x45d5cf)=>{const _0x42ed2b=_0x2c3e8d;Object[_0x42ed2b(0x375)](_0x45d5cf)[_0x42ed2b(0x2f8)](_0x59f010=>{const _0xd530e8=_0x42ed2b,_0x46495a=+_0x59f010,_0x4c04e6=_0x39867e[_0xd530e8(0x381)](_0x5e089e,_0x46495a);_0x3dfb7f['setValue'](_0x5e089e,_0x46495a,_0x4c04e6);});}),this['_viewUpdate$'][_0x2c3e8d(0x2c4)]({'unitId':_0x3c2ae8,'subUnitId':_0x11faad,'valueMatrix':_0x3dfb7f,'rangesCache':_0x20c301[_0x2c3e8d(0x250)],'pivotTableId':_0x390e4c,'type':_0x22fd2e[_0x2c3e8d(0x347)]}),this[_0x2c3e8d(0xd6)][_0x2c3e8d(0x390)](_0x3c2ae8,_0x11faad,_0x390e4c,_0x3dfb7f,_0x20c301[_0x2c3e8d(0x250)]),this[_0x2c3e8d(0x35d)][_0x2c3e8d(0x371)](_0x3c2ae8,_0x11faad,_0x2a7c6b,this[_0x2c3e8d(0x148)](_0x20c301[_0x2c3e8d(0x250)],_0x390e4c)),{'rangeCache':_0x20c301[_0x2c3e8d(0x250)],'matrix':_0x3dfb7f};}}[_0x43ed60(0x1e2)](_0x372a1b,_0x361f80,_0x2c2a49,_0x5f27b3){const _0x5c007d=_0x43ed60,_0x52deca=this[_0x5c007d(0x1da)]['t'],{unitId:_0x309fe9,subUnitId:_0x5ab9a6,pivotTableId:_0x405464}=_0x372a1b,_0x1cba97={'filter':_0x52deca(_0x5c007d(0x306)),'row':_0x52deca('sheets-pivot.emptyPivot.row'),'column':_0x52deca('sheets-pivot.emptyPivot.column'),'values':_0x52deca(_0x5c007d(0xc3))},{matrixCache:_0x225016,rangesCache:_0x1b42d2}=_0x8a4b79(_0x1cba97,_0x2c2a49);return _0x225016[_0x5c007d(0x36d)]((_0x5ed95d,_0x361437,_0x2df27b)=>{const _0xdca79c=_0x5c007d;_0x361f80[_0xdca79c(0x297)](_0x5ed95d,_0x361437,_0x2df27b);}),_0x5f27b3[_0x5c007d(0x250)]=_0x1b42d2,this[_0x5c007d(0x369)]['next']({'unitId':_0x309fe9,'subUnitId':_0x5ab9a6,'valueMatrix':_0x361f80,'rangesCache':_0x1b42d2,'pivotTableId':_0x405464,'type':_0x372a1b[_0x5c007d(0x347)],'isEmpty':!0x0}),this[_0x5c007d(0xd6)][_0x5c007d(0x390)](_0x309fe9,_0x5ab9a6,_0x405464,_0x361f80,_0x1b42d2),this['_exclusiveRangeService'][_0x5c007d(0x371)](_0x309fe9,_0x5ab9a6,_0x2a7c6b,this[_0x5c007d(0x148)](_0x1b42d2,_0x405464)),{'rangeCache':_0x5f27b3[_0x5c007d(0x250)],'matrix':_0x361f80};}[_0x43ed60(0x148)](_0x1a2af4,_0x3e5fe9){const _0x2ebf1c=[],_0x46ba0f=_0x3fa2d9(_0x1a2af4);for(const _0x565c92 of _0x46ba0f)_0x2ebf1c['push']({'groupId':_0x3e5fe9,'range':_0x565c92});return _0x2ebf1c;}[_0x43ed60(0x26b)](_0x2a15c1){const _0x491487=_0x43ed60;var _0x157f9d,_0x47e446,_0x4d57f4,_0x49c4b1;const {pivotTableId:_0x1a2549,unitId:_0x4a4aab,subUnitId:_0x147f62}=_0x2a15c1;if(!_0x1a2549||!_0x4a4aab||!_0x147f62)return;const _0x3c396c=this['_ensurePivotItemRenderValueMatrixCache'](_0x4a4aab,_0x147f62),_0x5e4857=(_0x47e446=(_0x157f9d=this[_0x491487(0x17d)][_0x491487(0x33b)](_0x4a4aab))==null?void 0x0:_0x157f9d['get'](_0x147f62))==null?void 0x0:_0x47e446[_0x491487(0x33b)](_0x1a2549);if(_0x5e4857!=null&&_0x5e4857[_0x491487(0x250)]){for(const _0x2e8651 of Object[_0x491487(0x375)](_0x5e4857[_0x491487(0x250)]))_0x5e4857[_0x491487(0x250)][_0x2e8651][_0x491487(0x2f8)](_0x3075c7=>{const _0x4572d5=_0x491487;for(let _0xeb4143=_0x3075c7['startRow'];_0xeb4143<=_0x3075c7[_0x4572d5(0x18b)];_0xeb4143++)for(let _0x270563=_0x3075c7[_0x4572d5(0x135)];_0x270563<=_0x3075c7['endColumn'];_0x270563++)_0x3c396c['realDeleteValue'](_0xeb4143,_0x270563);});}_0x5e4857&&((_0x49c4b1=(_0x4d57f4=this[_0x491487(0x17d)]['get'](_0x4a4aab))==null?void 0x0:_0x4d57f4[_0x491487(0x33b)](_0x147f62))==null||_0x49c4b1[_0x491487(0x21c)](_0x1a2549)),this[_0x491487(0x369)][_0x491487(0x2c4)]({'unitId':_0x4a4aab,'subUnitId':_0x147f62,'valueMatrix':_0x3c396c,'pivotTableId':_0x1a2549,'rangesCache':void 0x0,'type':_0x2a15c1[_0x491487(0x347)]}),this[_0x491487(0x35d)][_0x491487(0x1fb)](_0x4a4aab,_0x147f62,_0x2a7c6b,_0x1a2549);}[_0x43ed60(0x2f5)](_0x5c1fc7,_0x1e3e1f,_0x246b68){const _0x63d079=_0x43ed60;var _0x169844,_0x49a1bc,_0x37c398,_0x3649c4,_0x1870da,_0x3b4666;return this[_0x63d079(0x17d)][_0x63d079(0x1d1)](_0x5c1fc7)||this[_0x63d079(0x17d)][_0x63d079(0x273)](_0x5c1fc7,new Map()),(_0x169844=this[_0x63d079(0x17d)][_0x63d079(0x33b)](_0x5c1fc7))!=null&&_0x169844['has'](_0x1e3e1f)||(_0x49a1bc=this['_pivotRenderInfoCache']['get'](_0x5c1fc7))==null||_0x49a1bc[_0x63d079(0x273)](_0x1e3e1f,new Map()),(_0x3649c4=(_0x37c398=this[_0x63d079(0x17d)][_0x63d079(0x33b)](_0x5c1fc7))==null?void 0x0:_0x37c398[_0x63d079(0x33b)](_0x1e3e1f))!=null&&_0x3649c4[_0x63d079(0x1d1)](_0x246b68)||(_0x3b4666=(_0x1870da=this[_0x63d079(0x17d)][_0x63d079(0x33b)](_0x5c1fc7))==null?void 0x0:_0x1870da[_0x63d079(0x33b)](_0x1e3e1f))==null||_0x3b4666[_0x63d079(0x273)](_0x246b68,{}),this['_pivotRenderInfoCache'][_0x63d079(0x33b)](_0x5c1fc7)['get'](_0x1e3e1f)[_0x63d079(0x33b)](_0x246b68);}[_0x43ed60(0x24b)](_0x303e80,_0x2c7b21){const _0x154881=_0x43ed60;var _0x46399f,_0x21f51d;return this[_0x154881(0x37e)][_0x154881(0x1d1)](_0x303e80)||this[_0x154881(0x37e)]['set'](_0x303e80,new Map()),(_0x46399f=this['_pivotRenderValueMatrixCache'][_0x154881(0x33b)](_0x303e80))!=null&&_0x46399f['has'](_0x2c7b21)||(_0x21f51d=this[_0x154881(0x37e)]['get'](_0x303e80))==null||_0x21f51d['set'](_0x2c7b21,new _0x3f1699[(_0x154881(0x2cb))]()),this[_0x154881(0x37e)][_0x154881(0x33b)](_0x303e80)[_0x154881(0x33b)](_0x2c7b21);}[_0x43ed60(0x224)](_0x43029e,_0x12dabd,_0x299b8f,_0x109982){const _0x2043c6=_0x43ed60;var _0x186d26,_0x2fb4b9;const _0x2c02dd=(_0x2fb4b9=(_0x186d26=this[_0x2043c6(0x37e)]['get'](_0x43029e))==null?void 0x0:_0x186d26[_0x2043c6(0x33b)](_0x12dabd))==null?void 0x0:_0x2fb4b9[_0x2043c6(0x381)](_0x299b8f,_0x109982);if(_0x2c02dd!=null)return _0x2c02dd;}[_0x43ed60(0x393)](_0x7cde2d,_0xb1d05d,_0x598c28,_0x5cd488){const _0x5c0ad1=_0x43ed60;var _0x53b89c;const _0x468d26=_0x3f1699[_0x5c0ad1(0x240)](_0x598c28,_0x5cd488),_0x466075=(_0x53b89c=this[_0x5c0ad1(0x17d)]['get'](_0x7cde2d))==null?void 0x0:_0x53b89c[_0x5c0ad1(0x33b)](_0xb1d05d);return _0x466075?Array[_0x5c0ad1(0xff)](_0x466075[_0x5c0ad1(0x375)]())[_0x5c0ad1(0xfb)](_0xbeae30=>{const _0x5c5d35=_0x5c0ad1,_0x1fb8b1=_0x466075['get'](_0xbeae30),_0x1b4473=_0x1fb8b1==null?void 0x0:_0x1fb8b1[_0x5c5d35(0x250)];return _0x1b4473?Object[_0x5c5d35(0x375)](_0x1b4473)['some'](_0x1a2096=>_0x1b4473[_0x1a2096][_0x5c5d35(0x35f)](_0x41f2cc=>_0x3f1699[_0x5c5d35(0x36b)][_0x5c5d35(0x123)](_0x41f2cc,_0x468d26))):!0x1;}):void 0x0;}[_0x43ed60(0x261)](_0x2339ef,_0x5041ca,_0x8729ba){const _0x49e538=_0x43ed60;var _0x26ad72;const _0xb00f56=(_0x26ad72=this[_0x49e538(0x17d)][_0x49e538(0x33b)](_0x2339ef))==null?void 0x0:_0x26ad72[_0x49e538(0x33b)](_0x5041ca),_0x33aec4=[];return _0xb00f56&&Array[_0x49e538(0xff)](_0xb00f56[_0x49e538(0x375)]())[_0x49e538(0x2f8)](_0x5a6241=>{const _0x3fc880=_0x49e538,_0x1c17bd=_0xb00f56[_0x3fc880(0x33b)](_0x5a6241),_0x450b34=_0x1c17bd==null?void 0x0:_0x1c17bd['rangesInfo'];if(_0x450b34)for(const _0x2870c0 of Object[_0x3fc880(0x213)](_0x450b34)){let _0x16518c=!0x1;for(const _0xc5d6f0 of _0x2870c0)if(_0x3f1699[_0x3fc880(0x36b)]['intersects'](_0xc5d6f0,_0x8729ba)){_0x33aec4[_0x3fc880(0x182)](_0x5a6241),_0x16518c=!0x0;break;}if(_0x16518c)break;}}),_0x33aec4;}[_0x43ed60(0x30b)](_0x4c7384,_0x4c8883){const _0x18ad65=_0x43ed60;var _0x17b742,_0x14fe06;return(_0x14fe06=(_0x17b742=this[_0x18ad65(0x37e)][_0x18ad65(0x33b)](_0x4c7384))==null?void 0x0:_0x17b742[_0x18ad65(0x33b)](_0x4c8883))!=null?_0x14fe06:new _0x3f1699[(_0x18ad65(0x2cb))]();}[_0x43ed60(0x154)](_0x32d147,_0x4c135a){const _0x3902e6=_0x43ed60;var _0x5d98ec;return(_0x5d98ec=this[_0x3902e6(0x17d)][_0x3902e6(0x33b)](_0x32d147))==null?void 0x0:_0x5d98ec[_0x3902e6(0x33b)](_0x4c135a);}[_0x43ed60(0x2e4)](_0x2bdf9b,_0x42a805,_0x238488){const _0x5d9fe2=_0x43ed60;var _0x5295fc,_0x327575;return(_0x327575=(_0x5295fc=this[_0x5d9fe2(0x17d)]['get'](_0x2bdf9b))==null?void 0x0:_0x5295fc[_0x5d9fe2(0x33b)](_0x42a805))==null?void 0x0:_0x327575[_0x5d9fe2(0x33b)](_0x238488);}[_0x43ed60(0x233)](_0x448ba3){const _0x24ce6e=_0x43ed60;this[_0x24ce6e(0x17d)][_0x24ce6e(0x21c)](_0x448ba3),this[_0x24ce6e(0x37e)][_0x24ce6e(0x21c)](_0x448ba3);}['markDirty'](_0x2061b2,_0x504b48){this['_markDirty$']['next']({'unitId':_0x2061b2,'subUnitId':_0x504b48});}},_0x89a8ec['SheetsPivotTableAdaptorModel']=_0x1fc49e([_0x1a911d(0x0,_0x3f1699['Inject'](_0x3f1699['LocaleService'])),_0x1a911d(0x1,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x383)])),_0x1a911d(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)])),_0x1a911d(0x3,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x1b9)])),_0x1a911d(0x4,_0x3f1699['Inject'](_0x1c7b09[_0x43ed60(0x132)]))],_0x89a8ec[_0x43ed60(0x1ef)]);var _0x3967c3=Object[_0x43ed60(0x269)],_0x1adeea=(_0x4c1b3e,_0x1605d4,_0x2f1484,_0x3b745f)=>{for(var _0x48cbf0=_0x3b745f>0x1?void 0x0:_0x3b745f?_0x3967c3(_0x1605d4,_0x2f1484):_0x1605d4,_0x2fbbdc=_0x4c1b3e['length']-0x1,_0xe88a64;_0x2fbbdc>=0x0;_0x2fbbdc--)(_0xe88a64=_0x4c1b3e[_0x2fbbdc])&&(_0x48cbf0=_0xe88a64(_0x48cbf0)||_0x48cbf0);return _0x48cbf0;},_0x4f2a49=(_0x3dc9a3,_0x2ead77)=>(_0x1dae1c,_0x2d8993)=>_0x2ead77(_0x1dae1c,_0x2d8993,_0x3dc9a3);_0x89a8ec[_0x43ed60(0xba)]=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x191c7e,_0xb4e1d9){const _0x33fef8=_0x43ed60;super(),_0x575f06(this,'asyncInterceptor',new _0x3f1699[(_0x33fef8(0x254))]({'PIVOT_PERFORM_CHECK':_0xb533ef})),_0x575f06(this,_0x33fef8(0x2f9),new _0x3f1699['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x2f0e9b})),(this['_sheetInterceptorService']=_0x191c7e,this[_0x33fef8(0x2cc)]=_0xb4e1d9,this[_0x33fef8(0x360)]());}[_0x43ed60(0x360)](){this['_initViewModelBySheetInterceptor']();}[_0x43ed60(0x2b4)](_0x175dec){const _0x2b0092=_0x43ed60;return this[_0x2b0092(0x159)]['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x1,_0x175dec);}[_0x43ed60(0x23d)](){const _0x635e23=_0x43ed60;this['disposeWithMe'](this['_sheetInterceptorService'][_0x635e23(0x188)](_0x1c7b09[_0x635e23(0x1f2)][_0x635e23(0x189)],{'priority':0xc8,'effect':_0x3f1699[_0x635e23(0x225)][_0x635e23(0x11a)]|_0x3f1699[_0x635e23(0x225)][_0x635e23(0x234)],'handler':(_0x45fe85,_0x34f4ca,_0x322dc3)=>{const _0x8b8be7=_0x635e23,{row:_0x521323,col:_0x201902,unitId:_0x2b9938,subUnitId:_0x2523aa,workbook:_0x2b07af}=_0x34f4ca,_0x4711bb=this[_0x8b8be7(0x2cc)][_0x8b8be7(0x224)](_0x2b9938,_0x2523aa,_0x521323,_0x201902);if(!_0x4711bb)return _0x322dc3(_0x45fe85);const _0x2b1650={..._0x45fe85};(_0x4711bb['v']||_0x4711bb['v']===0x0)&&(_0x2b1650['v']=_0x4711bb['v']),_0x4711bb['t']&&(_0x2b1650['t']=_0x4711bb['t']);const _0x5ef23e=(typeof(_0x45fe85==null?void 0x0:_0x45fe85['s'])==_0x8b8be7(0x38b)?_0x2b07af[_0x8b8be7(0x2ce)]()['get'](_0x45fe85==null?void 0x0:_0x45fe85['s']):_0x45fe85==null?void 0x0:_0x45fe85['s'])||{},_0x10ee08=_0x2b07af[_0x8b8be7(0x2ce)]()[_0x8b8be7(0x33b)](_0x4711bb['s']),_0x549d87={..._0x10ee08,..._0x5ef23e};_0x10ee08!=null&&_0x10ee08['n']&&(_0x549d87['n']=_0x10ee08['n']);const _0x3ac9fc=_0x2b07af[_0x8b8be7(0x2ce)]()[_0x8b8be7(0x297)](_0x549d87);return _0x2b1650['s']=_0x3ac9fc,(_0x4711bb[_0x8b8be7(0xa8)]===_0x24a6f0['PivotCellStyleTypeEnum'][_0x8b8be7(0x2db)]||_0x4711bb[_0x8b8be7(0xa8)]===_0x24a6f0[_0x8b8be7(0x2c1)][_0x8b8be7(0x39c)])&&(_0x2b1650[_0x8b8be7(0x3af)]={},_0x2b1650[_0x8b8be7(0x3af)]['leftOffset']=_0x121f60),_0x322dc3(_0x2b1650);}}));}},_0x89a8ec[_0x43ed60(0xba)]=_0x1adeea([_0x4f2a49(0x0,_0x3f1699['Inject'](_0x1c7b09[_0x43ed60(0x133)])),_0x4f2a49(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0x1ef)]))],_0x89a8ec['SheetsPivotTableService']);function _0x10b759(_0x341db2,_0x451d17){const _0x50c3fe=_0x43ed60;switch(_0x451d17){case _0x24a6f0[_0x50c3fe(0x2b6)][_0x50c3fe(0x11a)]:return _0x341db2['valueFields'];case _0x24a6f0[_0x50c3fe(0x2b6)][_0x50c3fe(0x385)]:return _0x341db2['filterFields'];case _0x24a6f0[_0x50c3fe(0x2b6)][_0x50c3fe(0x352)]:return _0x341db2[_0x50c3fe(0x2d5)];case _0x24a6f0[_0x50c3fe(0x2b6)][_0x50c3fe(0x14b)]:return _0x341db2[_0x50c3fe(0x2d9)];default:return[];}}function _0x27884e(_0x4b693e,_0x234c38){const _0x2a8932=_0x43ed60;return _0x4b693e[_0x2a8932(0x1ff)][_0x234c38]||_0x4b693e[_0x2a8932(0x1ab)][_0x234c38];}function _0x35d338(_0x5f1417,_0x169892){const _0x200c4d=_0x43ed60,{area:_0x28f95e,fieldJson:_0x6ea4ad,index:_0x2084fe}=_0x169892;_0x28f95e===_0x24a6f0[_0x200c4d(0x2b6)][_0x200c4d(0x11a)]?_0x5f1417[_0x200c4d(0x1ff)][_0x6ea4ad['id']]=_0x6ea4ad:_0x5f1417[_0x200c4d(0x1ab)][_0x6ea4ad['id']]=_0x6ea4ad,_0x10b759(_0x5f1417,_0x28f95e)[_0x200c4d(0xd0)](_0x2084fe,0x0,_0x6ea4ad['id']);}function _0x47202d(_0x4029fc,_0x3e05e5){const _0x72a01b=_0x43ed60,{area:_0x5cc3a0,fieldId:_0x5639b5,index:_0x39d6fe}=_0x3e05e5;_0x5cc3a0===_0x24a6f0['PivotTableFiledAreaEnum'][_0x72a01b(0x11a)]?delete _0x4029fc[_0x72a01b(0x1ff)][_0x5639b5]:delete _0x4029fc[_0x72a01b(0x1ab)][_0x5639b5],_0x10b759(_0x4029fc,_0x5cc3a0)[_0x72a01b(0xd0)](_0x39d6fe,0x1);}function _0xf2cdc1(_0x472af1,_0x14cb87){const {fieldId:_0x445387,name:_0x51552b}=_0x14cb87,_0x1c80d5=_0x27884e(_0x472af1,_0x445387);_0x1c80d5&&(_0x1c80d5['displayName']=_0x51552b);}function _0x41eed8(_0x3d5117,_0x4e4598){const _0x463e36=_0x43ed60,{fieldId:_0x4b2fa6,collapse:_0x2a715c,item:_0x16d7e4}=_0x4e4598;_0x16d7e4!==void 0x0?(_0x3d5117[_0x463e36(0x23f)][_0x4b2fa6]=_0x3d5117[_0x463e36(0x23f)][_0x4b2fa6]||{},_0x3d5117[_0x463e36(0x23f)][_0x4b2fa6][_0x16d7e4]=_0x2a715c):_0x3d5117[_0x463e36(0x23f)][_0x4b2fa6]=_0x2a715c;}function _0x47bc72(_0x49f363,_0x126167){const _0x40be35=_0x43ed60,{fieldId:_0xe7bcb2,format:_0x12c7c5}=_0x126167,_0x1019a6=_0x27884e(_0x49f363,_0xe7bcb2);_0x1019a6&&(_0x1019a6[_0x40be35(0x2ac)]=_0x12c7c5);}function _0x575d8c(_0x55f59a,_0x8b87b5){const _0x43ac47=_0x43ed60,{fieldId:_0x1134a0,filterInfo:_0x871cca}=_0x8b87b5,_0x35f9d5=_0x27884e(_0x55f59a,_0x1134a0);_0x35f9d5&&(_0x35f9d5[_0x43ac47(0x22e)]=_0x871cca);}function _0x131fda(_0x51a736,_0x4c08ff){const _0x3d81a4=_0x43ed60,{fieldId:_0xe0062f,filterInfo:_0xcabd6e}=_0x4c08ff,_0x5068ce=_0x51a736['valueFilter'][_0x3d81a4(0x2a3)](_0x248e02=>_0x248e02[_0x3d81a4(0x196)]!==_0xe0062f);_0xcabd6e&&_0x5068ce['push']({'fieldId':_0xe0062f,'filterInfo':_0xcabd6e}),_0x51a736['valueFilter']=_0x5068ce;}function _0x11a70f(_0x58eaea,_0x4f44fd){const _0x397fad=_0x43ed60,{fieldId:_0x44c630,subtotalType:_0xb3534b}=_0x4f44fd,_0x475959=_0x27884e(_0x58eaea,_0x44c630);_0x475959&&(_0x475959[_0x397fad(0x296)]=_0xb3534b);}function _0x3a1a7d(_0xe50944,_0x158902){const _0x49e964=_0x43ed60,{fieldId:_0x1e7482,oldArea:_0x58eaa0,area:_0x58643c,oldIndex:_0x1a2994,index:_0x35e7e0}=_0x158902,_0x10bbca=_0x58eaa0!==_0x24a6f0[_0x49e964(0x2b6)][_0x49e964(0x11a)]&&_0x58643c===_0x24a6f0[_0x49e964(0x2b6)][_0x49e964(0x11a)],_0x28a924=_0x58eaa0===_0x24a6f0[_0x49e964(0x2b6)]['Value']&&_0x58643c!==_0x24a6f0[_0x49e964(0x2b6)][_0x49e964(0x11a)];if(_0x10bbca||_0x28a924){const _0x58a395=_0x27884e(_0xe50944,_0x1e7482);_0x58a395&&(_0x10bbca?(delete _0xe50944[_0x49e964(0x1ab)][_0x1e7482],_0xe50944[_0x49e964(0x1ff)][_0x1e7482]=_0x58a395):(delete _0xe50944['measure'][_0x1e7482],_0xe50944[_0x49e964(0x1ab)][_0x1e7482]=_0x58a395));}const _0x54ea36=_0x10b759(_0xe50944,_0x58eaa0),_0x27893d=_0x10b759(_0xe50944,_0x58643c);_0x54ea36[_0x49e964(0xd0)](_0x1a2994,0x1),_0x27893d[_0x49e964(0xd0)](_0x35e7e0,0x0,_0x1e7482);}function _0x3bbf67(_0x32de65,_0x242159){const _0x16b7d9=_0x43ed60,{valuePosition:_0xb9722c,index:_0x166e77}=_0x242159;_0x32de65[_0x16b7d9(0x98)]=_0xb9722c,_0x32de65[_0x16b7d9(0x374)]=_0x166e77;}function _0x4af060(_0x305409,_0x316596){const _0xa8b2b6=_0x43ed60,{tableFieldId:_0x1df4fb,sourceName:_0x569435,dataFieldId:_0x2b277c}=_0x316596,_0x3fc8ee=_0x27884e(_0x305409,_0x1df4fb);_0x3fc8ee&&(_0x3fc8ee['sourceName']=_0x569435,_0x3fc8ee[_0xa8b2b6(0xea)]=_0x2b277c);}function _0x2ad79e(_0x20ebea,_0x3c5359){const _0x39d24c=_0x43ed60,{fieldId:_0x853178,sortInfo:_0x48a3a0}=_0x3c5359,_0x41707d=_0x27884e(_0x20ebea,_0x853178);_0x41707d&&(_0x41707d[_0x39d24c(0x141)]=_0x48a3a0);}function _0x38c32f(_0x4102ce,_0x483e68){const _0x4971f9=_0x43ed60,{options:_0x471916}=_0x483e68;_0x4102ce[_0x4971f9(0x28e)]={..._0x4102ce[_0x4971f9(0x28e)],..._0x471916};}const _0x2683fb={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':_0x43ed60(0xaa),'handler'(_0x44a04b,_0x59fe9c){const _0x18fffa=_0x43ed60;if(!_0x59fe9c)return!0x1;if(!!_0x44a04b[_0x18fffa(0x33b)](_0x3f1699[_0x18fffa(0x23e)])[_0x18fffa(0x30f)](_0x57d9c3))return!0x0;const _0x3cd1a9=_0x44a04b['get'](_0x89a8ec[_0x18fffa(0x1b5)]),{pivotTableId:_0x2cb395,fieldJson:_0x849b6d,area:_0x1c96b9,index:_0x4634cf,unitId:_0x490542,subUnitId:_0x570d00}=_0x59fe9c,_0x41cd8e=_0x3cd1a9['getPivotTableInstance'](_0x2cb395);if(!_0x41cd8e)return!0x1;let _0x3b1084;_0x1c96b9===_0x24a6f0[_0x18fffa(0x2b6)][_0x18fffa(0x11a)]?_0x3b1084=_0x24a6f0[_0x18fffa(0x18e)](_0x849b6d):_0x3b1084=_0x24a6f0[_0x18fffa(0x2e0)](_0x849b6d),_0x41cd8e[_0x18fffa(0x372)](_0x3b1084,_0x1c96b9,_0x4634cf);const _0x25157c=_0x3cd1a9[_0x18fffa(0x26c)](_0x490542,_0x570d00,_0x2cb395);_0x35d338(_0x25157c,_0x59fe9c);const _0x4b89cf=_0x3cd1a9['getPivotTableConfig'](_0x490542,_0x570d00,_0x2cb395);return _0x3cd1a9[_0x18fffa(0x232)]({'unitId':_0x490542,'subUnitId':_0x570d00,'token':_0x2cb395,'type':_0x1870de[_0x18fffa(0xf0)],'pivotConfig':_0x4b89cf}),!0x0;}},_0x4c4039={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x518c97,_0x2d60f2){const _0x202595=_0x43ed60;if(!_0x2d60f2)return!0x1;if(!!_0x518c97[_0x202595(0x33b)](_0x3f1699[_0x202595(0x23e)])[_0x202595(0x30f)](_0x57d9c3))return!0x0;const _0x5c11cc=_0x518c97[_0x202595(0x33b)](_0x89a8ec[_0x202595(0x1b5)]),{pivotTableId:_0x7bdca1,fieldId:_0x2eb64a,unitId:_0x3027e9,subUnitId:_0x181317}=_0x2d60f2,_0x589214=_0x5c11cc[_0x202595(0x1bf)](_0x7bdca1);if(!_0x589214)return!0x1;_0x589214[_0x202595(0x32f)](_0x2eb64a);const _0x58b2bd=_0x5c11cc[_0x202595(0x26c)](_0x3027e9,_0x181317,_0x7bdca1);_0x47202d(_0x58b2bd,_0x2d60f2);const _0x38e4ac=_0x5c11cc[_0x202595(0x275)](_0x3027e9,_0x181317,_0x7bdca1);return _0x5c11cc['addDirtyPivotTable']({'unitId':_0x3027e9,'subUnitId':_0x181317,'token':_0x7bdca1,'type':_0x1870de['Set'],'pivotConfig':_0x38e4ac}),!0x0;}},_0x33ff97={'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'id':_0x43ed60(0x14e),'handler'(_0x168d13,_0x4b3335){const _0x516393=_0x43ed60;if(!_0x4b3335)return!0x1;if(!!_0x168d13[_0x516393(0x33b)](_0x3f1699['IConfigService'])[_0x516393(0x30f)](_0x57d9c3))return!0x0;const _0x590ac2=_0x168d13[_0x516393(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x4f344a,subUnitId:_0x5acfcb,pivotTableId:_0x4d01d0,fieldId:_0x26e519,name:_0x4d4baf}=_0x4b3335,_0x2a4861=_0x590ac2[_0x516393(0x1bf)](_0x4d01d0);if(!_0x2a4861)return!0x1;_0x2a4861[_0x516393(0xb2)](_0x26e519,_0x4d4baf);const _0x5a6532=_0x590ac2[_0x516393(0x26c)](_0x4f344a,_0x5acfcb,_0x4d01d0);return _0xf2cdc1(_0x5a6532,_0x4b3335),_0x590ac2['addDirtyPivotTable']({'unitId':_0x4f344a,'subUnitId':_0x5acfcb,'token':_0x4d01d0,'type':_0x1870de[_0x516393(0xf0)]}),!0x0;}},_0x4d2e93={'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x308289,_0x192eaa){const _0x12a365=_0x43ed60;if(!_0x192eaa)return!0x1;if(!!_0x308289[_0x12a365(0x33b)](_0x3f1699[_0x12a365(0x23e)])['getConfig'](_0x57d9c3))return!0x0;const _0x45e984=_0x308289[_0x12a365(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x55db88,subUnitId:_0x5f47b9,pivotTableId:_0x27f173,fieldId:_0x934efd,collapse:_0x1a911c,item:_0x59ec97}=_0x192eaa,_0xa69924=_0x45e984[_0x12a365(0x1bf)](_0x27f173);if(!_0xa69924)return!0x1;_0xa69924['setCollapse'](_0x934efd,_0x1a911c,_0x59ec97);const _0x4610a0=_0x45e984[_0x12a365(0x26c)](_0x55db88,_0x5f47b9,_0x27f173);return _0x41eed8(_0x4610a0,_0x192eaa),_0x45e984[_0x12a365(0x232)]({'unitId':_0x55db88,'subUnitId':_0x5f47b9,'token':_0x27f173,'type':_0x1870de['Set']}),!0x0;}},_0x574c2c={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x3ab),'handler'(_0x47615d,_0x1ecfeb){const _0x141630=_0x43ed60;if(!_0x1ecfeb)return!0x1;if(!!_0x47615d[_0x141630(0x33b)](_0x3f1699[_0x141630(0x23e)])['getConfig'](_0x57d9c3))return!0x0;const _0x14b921=_0x47615d[_0x141630(0x33b)](_0x89a8ec[_0x141630(0x1b5)]),{unitId:_0x49e972,subUnitId:_0x51842e,pivotTableId:_0x265973,fieldId:_0x6f0d34,format:_0x4c5ad1}=_0x1ecfeb,_0x457c90=_0x14b921['getPivotTableInstance'](_0x265973);if(!_0x457c90)return!0x1;_0x457c90['setFieldFormat'](_0x6f0d34,_0x4c5ad1);const _0x485314=_0x14b921['getPivotTableModelConfig'](_0x49e972,_0x51842e,_0x265973);return _0x47bc72(_0x485314,_0x1ecfeb),_0x14b921[_0x141630(0x232)]({'unitId':_0x49e972,'subUnitId':_0x51842e,'token':_0x265973,'type':_0x1870de[_0x141630(0xf0)]}),!0x0;}},_0x32fa40={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':_0x43ed60(0x1ed),'handler'(_0x1098e4,_0x532c15){const _0x2b1ed9=_0x43ed60;if(!_0x532c15)return!0x1;if(!!_0x1098e4[_0x2b1ed9(0x33b)](_0x3f1699[_0x2b1ed9(0x23e)])[_0x2b1ed9(0x30f)](_0x57d9c3))return!0x0;const _0x4fb6ac=_0x1098e4[_0x2b1ed9(0x33b)](_0x89a8ec[_0x2b1ed9(0x1b5)]),{unitId:_0xda400,subUnitId:_0x47d473,pivotTableId:_0x365081,fieldId:_0x5ceff5,filterInfo:_0x2fbdb2}=_0x532c15,_0x369c34=_0x4fb6ac[_0x2b1ed9(0x1bf)](_0x365081);if(!_0x369c34)return!0x1;_0x369c34[_0x2b1ed9(0xd5)](_0x5ceff5,_0x2fbdb2);const _0x17769c=_0x4fb6ac[_0x2b1ed9(0x26c)](_0xda400,_0x47d473,_0x365081);return _0x575d8c(_0x17769c,_0x532c15),_0x4fb6ac[_0x2b1ed9(0x232)]({'unitId':_0xda400,'subUnitId':_0x47d473,'token':_0x365081,'type':_0x1870de[_0x2b1ed9(0xf0)]}),!0x0;}},_0x1082bc={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x2d7),'handler'(_0x3ed879,_0x570bd1){const _0x29972f=_0x43ed60;if(!_0x570bd1)return!0x1;if(!!_0x3ed879[_0x29972f(0x33b)](_0x3f1699[_0x29972f(0x23e)])[_0x29972f(0x30f)](_0x57d9c3))return!0x0;const _0x4ab4f9=_0x3ed879[_0x29972f(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x1a3405,subUnitId:_0x555186,pivotTableId:_0xbe9dc1,options:_0x5d0bc6}=_0x570bd1,_0x4c7782=_0x4ab4f9[_0x29972f(0x1bf)](_0xbe9dc1);if(!_0x4c7782)return!0x1;_0x4c7782[_0x29972f(0x2a4)](_0x5d0bc6);const _0x55ead7=_0x4ab4f9[_0x29972f(0x26c)](_0x1a3405,_0x555186,_0xbe9dc1);return _0x38c32f(_0x55ead7,_0x570bd1),_0x4ab4f9['addDirtyPivotTable']({'unitId':_0x1a3405,'subUnitId':_0x555186,'token':_0xbe9dc1,'type':_0x1870de['Set']}),!0x0;}},_0xdc2a8={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':_0x43ed60(0x10c),'handler'(_0x188978,_0x3a44fd){const _0x4a3bc7=_0x43ed60;if(!_0x3a44fd)return!0x1;if(!!_0x188978[_0x4a3bc7(0x33b)](_0x3f1699[_0x4a3bc7(0x23e)])[_0x4a3bc7(0x30f)](_0x57d9c3))return!0x0;const _0x11fade=_0x188978['get'](_0x89a8ec[_0x4a3bc7(0x1b5)]),{unitId:_0x37d5f7,subUnitId:_0x219d84,pivotTableId:_0x3c6f46,sortInfo:_0x4a74ed,fieldId:_0x3871ba}=_0x3a44fd,_0x365b7f=_0x11fade['getPivotTableInstance'](_0x3c6f46);if(!_0x365b7f)return!0x1;_0x365b7f['setSortInfo'](_0x3871ba,_0x4a74ed);const _0x3bf13b=_0x11fade[_0x4a3bc7(0x26c)](_0x37d5f7,_0x219d84,_0x3c6f46);return _0x2ad79e(_0x3bf13b,_0x3a44fd),_0x11fade[_0x4a3bc7(0x232)]({'unitId':_0x37d5f7,'subUnitId':_0x219d84,'token':_0x3c6f46,'type':_0x1870de['Set']}),!0x0;}},_0x47dd65={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':_0x43ed60(0x333),'handler'(_0x22f2d1,_0x317179){const _0x5ece04=_0x43ed60;if(!_0x317179)return!0x1;if(!!_0x22f2d1['get'](_0x3f1699[_0x5ece04(0x23e)])[_0x5ece04(0x30f)](_0x57d9c3))return!0x0;const _0x385ff8=_0x22f2d1[_0x5ece04(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x5ec802,subUnitId:_0x3c07bb,pivotTableId:_0x44db1f,fieldId:_0x1be5c8,subtotalType:_0x2d59fc}=_0x317179,_0x3bc300=_0x385ff8[_0x5ece04(0x1bf)](_0x44db1f);if(!_0x3bc300)return!0x1;_0x3bc300[_0x5ece04(0x1a9)](_0x1be5c8,_0x2d59fc);const _0x91aa73=_0x385ff8[_0x5ece04(0x26c)](_0x5ec802,_0x3c07bb,_0x44db1f);return _0x11a70f(_0x91aa73,_0x317179),_0x385ff8['addDirtyPivotTable']({'unitId':_0x5ec802,'subUnitId':_0x3c07bb,'token':_0x44db1f,'type':_0x1870de['Set']}),!0x0;}},_0x56fe20={'type':_0x3f1699['CommandType']['MUTATION'],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x1403d8,_0x5057e8){const _0x52583a=_0x43ed60;if(!_0x5057e8)return!0x1;if(!!_0x1403d8[_0x52583a(0x33b)](_0x3f1699[_0x52583a(0x23e)])[_0x52583a(0x30f)](_0x57d9c3))return!0x0;const _0x4e8eff=_0x1403d8[_0x52583a(0x33b)](_0x89a8ec[_0x52583a(0x1b5)]),{unitId:_0x4d197e,subUnitId:_0x405b41,pivotTableId:_0x4edfb0,fieldId:_0x52906a,filterInfo:_0x314847}=_0x5057e8,_0x2cc6b2=_0x4e8eff[_0x52583a(0x1bf)](_0x4edfb0);if(!_0x2cc6b2)return!0x1;_0x2cc6b2[_0x52583a(0x2b9)](_0x52906a,_0x314847);const _0x3eb27d=_0x4e8eff['getPivotTableModelConfig'](_0x4d197e,_0x405b41,_0x4edfb0);return _0x131fda(_0x3eb27d,_0x5057e8),_0x4e8eff[_0x52583a(0x232)]({'unitId':_0x4d197e,'subUnitId':_0x405b41,'token':_0x4edfb0,'type':_0x1870de[_0x52583a(0xf0)]}),!0x0;}},_0x1389af={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x128),'handler'(_0x4ff2eb,_0x2d959b){const _0x5a13a4=_0x43ed60;if(!_0x2d959b)return!0x1;if(!!_0x4ff2eb[_0x5a13a4(0x33b)](_0x3f1699[_0x5a13a4(0x23e)])['getConfig'](_0x57d9c3))return!0x0;const _0x1d67f8=_0x4ff2eb['get'](_0x89a8ec[_0x5a13a4(0x1b5)]),{unitId:_0x4a808e,subUnitId:_0x261b08,pivotTableId:_0x554428,area:_0x12db79,index:_0x128cce,fieldId:_0x3900e5}=_0x2d959b,_0x12f6c4=_0x1d67f8[_0x5a13a4(0x1bf)](_0x554428);if(!_0x12f6c4)return!0x1;_0x12f6c4[_0x5a13a4(0x109)](_0x3900e5,_0x12db79,_0x128cce);const _0xbae0da=_0x1d67f8[_0x5a13a4(0x26c)](_0x4a808e,_0x261b08,_0x554428);return _0x3a1a7d(_0xbae0da,_0x2d959b),_0x1d67f8['addDirtyPivotTable']({'unitId':_0x4a808e,'subUnitId':_0x261b08,'token':_0x554428,'type':_0x1870de['Set']}),!0x0;}},_0x344faf={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x38f),'handler'(_0x21945a,_0x413c67){const _0x6e3d88=_0x43ed60;if(!_0x413c67)return!0x1;if(!!_0x21945a[_0x6e3d88(0x33b)](_0x3f1699['IConfigService'])[_0x6e3d88(0x30f)](_0x57d9c3))return!0x0;const _0x2f0cc2=_0x21945a[_0x6e3d88(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x204d82,subUnitId:_0xa41127,pivotTableId:_0x347822,sourceName:_0x4dc8c7,dataFieldId:_0x2c49be,tableFieldId:_0x5f0724}=_0x413c67,_0x3db347=_0x2f0cc2[_0x6e3d88(0x1bf)](_0x347822);if(!_0x3db347)return!0x1;_0x3db347[_0x6e3d88(0x1bc)](_0x5f0724,_0x4dc8c7,_0x2c49be);const _0x598ea0=_0x2f0cc2[_0x6e3d88(0x26c)](_0x204d82,_0xa41127,_0x347822);return _0x4af060(_0x598ea0,_0x413c67),_0x2f0cc2['addDirtyPivotTable']({'unitId':_0x204d82,'subUnitId':_0xa41127,'token':_0x347822,'type':_0x1870de['Set']}),!0x0;}},_0xad2258={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x26f),'handler'(_0x560e86,_0x524391){const _0x491d94=_0x43ed60;if(!_0x524391)return!0x1;if(!!_0x560e86[_0x491d94(0x33b)](_0x3f1699[_0x491d94(0x23e)])[_0x491d94(0x30f)](_0x57d9c3))return!0x0;const _0x3926d6=_0x560e86[_0x491d94(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{unitId:_0x10f49a,subUnitId:_0x2f8abb,pivotTableId:_0x389f09,valuePosition:_0x2c66b2,index:_0x33120c}=_0x524391,_0x7fb1d0=_0x3926d6[_0x491d94(0x1bf)](_0x389f09);if(!_0x7fb1d0)return!0x1;_0x7fb1d0[_0x491d94(0x386)](_0x2c66b2,_0x33120c);const _0x49be1d=_0x3926d6[_0x491d94(0x26c)](_0x10f49a,_0x2f8abb,_0x389f09);return _0x3bbf67(_0x49be1d,_0x524391),_0x3926d6[_0x491d94(0x232)]({'unitId':_0x10f49a,'subUnitId':_0x2f8abb,'token':_0x389f09,'type':_0x1870de[_0x491d94(0xf0)]}),!0x0;}};function _0x122330(_0x3bbd3b,_0x3aa680,_0x561847){const _0x2e7e60=_0x43ed60,{pivotTableId:_0x22432b,unitId:_0x8e1edf,subUnitId:_0x50dae8}=_0x3aa680,_0x3d307d=[],_0x28815d=[];for(const _0x24e382 of _0x561847)switch(_0x24e382['type']){case _0x24a6f0[_0x2e7e60(0x295)]['AddField']:{const {fieldJson:_0x140c87,area:_0x283aeb,index:_0x363b63}=_0x24e382,_0x6b782c={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldJson':_0x140c87,'area':_0x283aeb,'index':_0x363b63},_0x4fa736={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x140c87['id'],'area':_0x283aeb,'index':_0x363b63};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x2683fb['id'],'params':_0x6b782c}),_0x28815d['unshift']({'id':_0x4c4039['id'],'params':_0x4fa736});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x2d3)]:{const {fieldId:_0x32fc67,newSubtotalType:_0x337eda,oldSubtotalType:_0x1e9734}=_0x24e382,_0x2a1b7b={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x32fc67,'subtotalType':_0x337eda};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x47dd65['id'],'params':_0x2a1b7b});const _0x3859ce={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x32fc67,'subtotalType':_0x1e9734};_0x28815d[_0x2e7e60(0x318)]({'id':_0x47dd65['id'],'params':_0x3859ce});}break;case _0x24a6f0['PivotTableChangeTypeEnum'][_0x2e7e60(0x200)]:{const {fieldId:_0x3f6341,fieldJson:_0x10f92f,area:_0x27bb98,index:_0x75cd4c}=_0x24e382,_0x149209={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3f6341,'index':_0x75cd4c,'area':_0x27bb98};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x4c4039['id'],'params':_0x149209});const _0x4d6ea0={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldJson':_0x10f92f,'area':_0x27bb98,'index':_0x75cd4c};_0x28815d['unshift']({'id':_0x2683fb['id'],'params':_0x4d6ea0});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x321)]:{const {fieldId:_0x3791f7,oldName:_0x41b6e6,newName:_0x548c40}=_0x24e382,_0x1261e3={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3791f7,'name':_0x548c40};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x33ff97['id'],'params':_0x1261e3});const _0x444c0c={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3791f7,'name':_0x41b6e6};_0x28815d[_0x2e7e60(0x318)]({'id':_0x33ff97['id'],'params':_0x444c0c});}break;case _0x24a6f0[_0x2e7e60(0x295)]['SetFilterInfo']:{const {fieldId:_0x440b95,oldFilterInfo:_0x49e3d2,newFilterInfo:_0x58cf08}=_0x24e382,_0x3ec973={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x440b95,'filterInfo':_0x58cf08};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x32fa40['id'],'params':_0x3ec973});const _0x3a7712={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x440b95,'filterInfo':_0x49e3d2};_0x28815d[_0x2e7e60(0x318)]({'id':_0x32fa40['id'],'params':_0x3a7712});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x2bc)]:{const {fieldId:_0x3fdf3d,oldSortInfo:_0x355b55,newSortInfo:_0x482b1d}=_0x24e382,_0x23a02d={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3fdf3d,'sortInfo':_0x482b1d};_0x3d307d[_0x2e7e60(0x182)]({'id':_0xdc2a8['id'],'params':_0x23a02d});const _0x1ec93d={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x3fdf3d,'sortInfo':_0x355b55};_0x28815d['unshift']({'id':_0xdc2a8['id'],'params':_0x1ec93d});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x25f)]:{const {oldOptions:_0x3e2f1f,newOptions:_0x4212aa}=_0x24e382,_0x4a4774={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'options':_0x4212aa};_0x3d307d['push']({'id':_0x1082bc['id'],'params':_0x4a4774});const _0x258ef3={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'options':_0x3e2f1f};_0x28815d[_0x2e7e60(0x318)]({'id':_0x1082bc['id'],'params':_0x258ef3});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x208)]:{const {oldArea:_0x5aa979,newArea:_0x4d276a,oldIndex:_0x157bce,newIndex:_0x910235,fieldId:_0x4b5210}=_0x24e382,_0x4c4613={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x4b5210,'area':_0x4d276a,'index':_0x910235,'oldArea':_0x5aa979,'oldIndex':_0x157bce};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x1389af['id'],'params':_0x4c4613});const _0x52e795={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x4b5210,'area':_0x5aa979,'index':_0x157bce,'oldArea':_0x4d276a,'oldIndex':_0x910235};_0x28815d[_0x2e7e60(0x318)]({'id':_0x1389af['id'],'params':_0x52e795});}break;case _0x24a6f0[_0x2e7e60(0x295)]['UpdateValuePosition']:{const {oldValuePosition:_0x185b55,newValuePosition:_0x1e4969,oldIndex:_0x109352,newIndex:_0x5da059}=_0x24e382,_0x542cd4={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'valuePosition':_0x1e4969,'index':_0x5da059};_0x3d307d[_0x2e7e60(0x182)]({'id':_0xad2258['id'],'params':_0x542cd4});const _0x48fb6d={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'valuePosition':_0x185b55,'index':_0x109352};_0x28815d[_0x2e7e60(0x318)]({'id':_0xad2258['id'],'params':_0x48fb6d});}break;case _0x24a6f0[_0x2e7e60(0x295)]['SetCollapse']:{const {fieldId:_0x438157,collapse:_0x36bb8d,item:_0x6afd2b}=_0x24e382,_0x52c8fb={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x438157,'collapse':_0x36bb8d,'item':_0x6afd2b};_0x3d307d['push']({'id':_0x4d2e93['id'],'params':_0x52c8fb});const _0xf5a0bb={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x438157,'collapse':!_0x36bb8d,'item':_0x6afd2b};_0x28815d[_0x2e7e60(0x318)]({'id':_0x4d2e93['id'],'params':_0xf5a0bb});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x150)]:{const {newFormat:_0x43ed64,oldFormat:_0x584585,fieldId:_0x52da6e}=_0x24e382,_0x5291f7={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x52da6e,'format':_0x43ed64};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x574c2c['id'],'params':_0x5291f7});const _0x30e663={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x52da6e,'format':_0x584585};_0x28815d['unshift']({'id':_0x574c2c['id'],'params':_0x30e663});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0xe8)]:{const {tableFieldId:_0x4d6b1f,oldSourceName:_0x8fa71e,newSourceName:_0x1506f6,oldDataFieldId:_0x52baf2,newDataFieldId:_0x551499}=_0x24e382,_0xa106ab={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'tableFieldId':_0x4d6b1f,'sourceName':_0x1506f6,'dataFieldId':_0x551499};_0x3d307d[_0x2e7e60(0x182)]({'id':_0x344faf['id'],'params':_0xa106ab});const _0x12aae1={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'tableFieldId':_0x4d6b1f,'sourceName':_0x8fa71e,'dataFieldId':_0x52baf2};_0x28815d[_0x2e7e60(0x318)]({'id':_0x344faf['id'],'params':_0x12aae1});}break;case _0x24a6f0[_0x2e7e60(0x295)][_0x2e7e60(0x164)]:{const {fieldId:_0x58e66b,filterInfo:_0x4422ea,oldFilterInfo:_0x2e7824}=_0x24e382,_0x329b4f={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x58e66b,'filterInfo':_0x4422ea};_0x3d307d['push']({'id':_0x56fe20['id'],'params':_0x329b4f});const _0x112daa={'unitId':_0x8e1edf,'subUnitId':_0x50dae8,'pivotTableId':_0x22432b,'fieldId':_0x58e66b,'filterInfo':_0x2e7824};_0x28815d[_0x2e7e60(0x318)]({'id':_0x56fe20['id'],'params':_0x112daa});}}return{'redos':_0x3d307d,'undos':_0x28815d};}function _0x2debb2(_0x5d4cad,_0x2ce24b){const _0x460144=_0x43ed60;var _0x32e619;const _0x5c7a28=_0x5d4cad[_0x460144(0x33b)](_0x89a8ec[_0x460144(0xba)]),{cellInfo:_0x4de9a4,view:_0x56fe46,isEmpty:_0x33c63d}=_0x2ce24b;return(_0x32e619=_0x5c7a28[_0x460144(0x2f9)][_0x460144(0x22b)](_0x2f0e9b)(_0x505667,{'cellInfo':_0x4de9a4,'view':_0x56fe46,'isEmpty':_0x33c63d}))!=null?_0x32e619:_0x505667;}const _0x3efb0f=()=>typeof process<'u'&&process[_0x43ed60(0x239)]!=null&&process[_0x43ed60(0x239)][_0x43ed60(0x2cf)]!=null,_0x158817={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x12c),'handler'(_0x1cb0a0,_0x162148){const _0x1c0520=_0x43ed60;var _0x4a49cb;if(!_0x162148)return!0x1;const _0x262808=_0x1cb0a0[_0x1c0520(0x33b)](_0x3f1699[_0x1c0520(0x23e)]);if(!!_0x262808['getConfig'](_0x57d9c3))return!0x0;const _0xe0d27c=_0x1cb0a0[_0x1c0520(0x33b)](_0x3f1699[_0x1c0520(0x1b9)]),_0x2693c0=_0x1cb0a0[_0x1c0520(0x33b)](_0x89a8ec[_0x1c0520(0x1b5)]),{pivotTableId:_0xa8e5de,pivotTableConfig:_0x59ef01,collectionConfig:_0x8da18a,unitId:_0x31d81f,subUnitId:_0x446ba8}=_0x162148,{sourceRangeInfo:_0x1553df,fieldsConfig:_0x26beda,targetCellInfo:_0x3b9e8b}=_0x59ef01,_0x4c4cf2=_0xe0d27c[_0x1c0520(0x35a)](_0x31d81f);if(!_0x4c4cf2||!_0x4c4cf2[_0x1c0520(0x11d)](_0x446ba8))return!0x1;if(!_0x3efb0f()){let _0x29f47f=0x0;_0x4c4cf2[_0x1c0520(0x2e6)]()[_0x1c0520(0x2f8)](_0x4090b9=>{const _0x4c2493=_0x1c0520;var _0x4c1195,_0x1b9592;_0x29f47f+=(_0x1b9592=(_0x4c1195=_0x2693c0['getSubUnitPivotConfigs'](_0x31d81f,_0x4090b9[_0x4c2493(0x344)]()))==null?void 0x0:_0x4c1195[_0x4c2493(0x1e8)])!=null?_0x1b9592:0x0;});const _0xbb87e9=(_0x4a49cb=_0x262808[_0x1c0520(0x30f)](_0x48414d[_0x1c0520(0x228)]))!=null?_0x4a49cb:{},{ls:_0x374f06,pbk:_0x18858}=_0xbb87e9;if(!_0x35e5f9(_0x374f06,_0x18858))throw new _0x3f1699[(_0x1c0520(0x282))](_0x1c0520(0x298));const _0x796758=_0xa1005d(_0x53ba46,_0x374f06,_0x18858)[_0x1c0520(0x28f)];if(_0x29f47f>=_0x796758)throw new _0x3f1699[(_0x1c0520(0x282))](_0x1c0520(0x298));}if(!_0x8da18a||!_0x26beda)return!0x1;const {collection:_0x34fb01,updateDataFieldList:_0x3f051e}=_0x2693c0[_0x1c0520(0x1c3)](_0xa8e5de,_0x8da18a,_0x1553df,_0x3b9e8b);_0x2693c0['refreshData'](_0x34fb01,_0x3f051e,_0x1553df);const _0x326989=new _0x24a6f0[(_0x1c0520(0x308))](_0x34fb01,void 0x0,_0xa8e5de);_0x326989[_0x1c0520(0x327)](_0x26beda);const _0x5ca5bb=JSON[_0x1c0520(0x203)](JSON[_0x1c0520(0x252)](_0x59ef01));return _0x2693c0['addPivotTable'](_0x31d81f,_0x446ba8,_0xa8e5de,_0x326989,_0x5ca5bb),_0x2693c0['addDirtyPivotTable']({'unitId':_0x31d81f,'subUnitId':_0x446ba8,'token':_0xa8e5de,'type':_0x1870de[_0x1c0520(0x11b)],'pivotConfig':_0x5ca5bb}),!0x0;}},_0x3fa252={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x315),'handler'(_0x1b5a3d,_0xd597b5){const _0x5df4e6=_0x43ed60;if(!_0xd597b5)return!0x1;if(!!_0x1b5a3d[_0x5df4e6(0x33b)](_0x3f1699['IConfigService'])[_0x5df4e6(0x30f)](_0x57d9c3))return!0x0;const {pivotTableId:_0x114c56,unitId:_0x36892b,subUnitId:_0x342f77}=_0xd597b5,_0x24c86a=_0x1b5a3d[_0x5df4e6(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']);return _0x24c86a[_0x5df4e6(0x275)](_0x36892b,_0x342f77,_0x114c56)?(_0x24c86a['addDirtyPivotTable']({'unitId':_0x36892b,'subUnitId':_0x342f77,'token':_0x114c56,'type':_0x1870de[_0x5df4e6(0x39e)]}),_0x24c86a['removePivotTable'](_0x36892b,_0x342f77,_0x114c56),!0x0):!0x1;}},_0x118dc3={'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'id':_0x43ed60(0xfa),'handler'(_0x36aaca,_0x167431){const _0x450119=_0x43ed60;if(!_0x167431)return!0x1;if(!!_0x36aaca[_0x450119(0x33b)](_0x3f1699[_0x450119(0x23e)])[_0x450119(0x30f)](_0x57d9c3))return!0x0;const {pivotTableId:_0x55c593,targetCellPosition:_0x925ed8,unitId:_0x5bba26,subUnitId:_0xcabdb7}=_0x167431,_0x22b900=_0x36aaca[_0x450119(0x33b)](_0x89a8ec[_0x450119(0x1b5)]);if(!_0x22b900['getPivotTableInstance'](_0x167431[_0x450119(0x281)]))return!0x1;const _0x44f510=_0x22b900['getTargetByPivotId'](_0x55c593);if(!_0x44f510)return!0x1;const _0x46d3c3=_0x22b900[_0x450119(0x361)](_0x44f510[_0x450119(0x210)],_0x167431[_0x450119(0x281)]);if(!_0x46d3c3)return!0x1;const _0x50a784=_0x22b900['getPivotTableConfig'](_0x44f510['unitId'],_0x44f510[_0x450119(0x15a)],_0x55c593);if(!_0x50a784)return!0x1;const _0x56eb2f=_0x3f1699[_0x450119(0x21b)][_0x450119(0xf5)](_0x50a784);_0x56eb2f[_0x450119(0x3a4)]={'unitId':_0x5bba26,'subUnitId':_0xcabdb7,'row':_0x925ed8['row'],'col':_0x925ed8[_0x450119(0x14c)]};const _0x4f33c9=_0x46d3c3[_0x450119(0x10f)]();if(_0x44f510['subUnitId']===_0xcabdb7&&_0x44f510['unitId']===_0x5bba26)_0x22b900['setPivotTable'](_0x5bba26,_0xcabdb7,_0x55c593,_0x56eb2f),_0x22b900[_0x450119(0x232)]({'unitId':_0x5bba26,'subUnitId':_0xcabdb7,'token':_0x55c593,'type':_0x1870de['Set']});else{_0x22b900[_0x450119(0x232)]({'unitId':_0x44f510['unitId'],'subUnitId':_0x44f510[_0x450119(0x15a)],'token':_0x55c593,'type':_0x1870de[_0x450119(0x39e)]}),_0x22b900['removePivotTable'](_0x44f510[_0x450119(0x210)],_0x44f510[_0x450119(0x15a)],_0x55c593);const _0x59921b=_0x22b900[_0x450119(0x1c3)](_0x55c593,_0x4f33c9,_0x50a784['sourceRangeInfo'],_0x56eb2f[_0x450119(0x3a4)]),_0x5ce531=new _0x24a6f0['PivotTable'](_0x59921b['collection'],void 0x0,_0x55c593);_0x5ce531['fromJSON'](_0x56eb2f[_0x450119(0x1d8)]),_0x22b900[_0x450119(0x2b2)](_0x5bba26,_0xcabdb7,_0x55c593,_0x5ce531,_0x56eb2f),_0x22b900[_0x450119(0x232)]({'unitId':_0x5bba26,'subUnitId':_0xcabdb7,'token':_0x55c593,'type':_0x1870de[_0x450119(0x11b)],'pivotConfig':_0x56eb2f});}return!0x0;}},_0x100c03={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'id':_0x43ed60(0x32b),'handler'(_0x5ed09a,_0x42d42f){const _0x24feea=_0x43ed60;if(!_0x42d42f)return!0x1;if(!!_0x5ed09a[_0x24feea(0x33b)](_0x3f1699['IConfigService'])[_0x24feea(0x30f)](_0x57d9c3))return!0x0;const _0x25a34e=_0x5ed09a[_0x24feea(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),{pivotTableId:_0x44fa88,deleteIds:_0x17ca99,collectionJSON:_0x53d941,dataRangeInfo:_0x1cdf32,unitId:_0x4e203f,subUnitId:_0xdc91e8}=_0x42d42f,_0x3eec08=_0x25a34e[_0x24feea(0x1bf)](_0x44fa88),_0x50ad20=_0x25a34e['getPivotTableConfig'](_0x4e203f,_0xdc91e8,_0x44fa88);if(!_0x3eec08||!_0x50ad20)return!0x1;const {collection:_0x123e1b,updateDataFieldList:_0xa42749}=_0x25a34e['addCollectionByJSON'](_0x44fa88,_0x53d941,_0x1cdf32,_0x50ad20[_0x24feea(0x3a4)]);_0x25a34e[_0x24feea(0xf8)](_0x123e1b,_0xa42749,_0x1cdf32),_0x3eec08[_0x24feea(0x320)](_0x123e1b);for(const _0x3090db of _0x17ca99)_0x25a34e['removeDataField'](_0x1cdf32[_0x24feea(0x210)],_0x3090db);const _0x508ff5=_0x25a34e['getPivotTableConfig'](_0x4e203f,_0xdc91e8,_0x44fa88);return _0x508ff5[_0x24feea(0x1af)]=JSON[_0x24feea(0x203)](JSON['stringify'](_0x1cdf32)),_0x25a34e['addDirtyPivotTable']({'unitId':_0x4e203f,'subUnitId':_0xdc91e8,'token':_0x44fa88,'type':_0x1870de[_0x24feea(0xf0)]}),!0x0;}},_0x1e4960={'type':_0x3f1699[_0x43ed60(0x1cb)]['MUTATION'],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x3598f3=Object['getOwnPropertyDescriptor'],_0x8c97d1=(_0x397595,_0x5483a0,_0x228dae,_0x10db56)=>{const _0x59a830=_0x43ed60;for(var _0x181c8d=_0x10db56>0x1?void 0x0:_0x10db56?_0x3598f3(_0x5483a0,_0x228dae):_0x5483a0,_0xcf8a36=_0x397595[_0x59a830(0x27d)]-0x1,_0x5191e6;_0xcf8a36>=0x0;_0xcf8a36--)(_0x5191e6=_0x397595[_0xcf8a36])&&(_0x181c8d=_0x5191e6(_0x181c8d)||_0x181c8d);return _0x181c8d;},_0x19eb5d=(_0x4ca4f6,_0x1366af)=>(_0x21d5c0,_0x1ecabb)=>_0x1366af(_0x21d5c0,_0x1ecabb,_0x4ca4f6);_0x89a8ec[_0x43ed60(0x392)]=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x2593e3,_0x2c3f5b){const _0x213fb2=_0x43ed60;super(),_0x575f06(this,_0x213fb2(0x15c),new Map()),(this[_0x213fb2(0x2f1)]=_0x2593e3,this[_0x213fb2(0x399)]=_0x2c3f5b);}[_0x43ed60(0x2f2)](_0x515bdf){const _0x382bba=_0x43ed60,{version:_0x3d10a6}=_0x515bdf,_0x523bc3=this[_0x382bba(0x15c)][_0x382bba(0x33b)](_0x3d10a6);_0x523bc3&&(_0x523bc3(_0x515bdf),this['_requestResolvers']['delete'](_0x3d10a6));}[_0x43ed60(0x20b)](_0x463e84){return new Promise((_0x51e5ae,_0x1c45f8)=>{const _0x5c35ef=_0xc6ae,_0x567515=this[_0x5c35ef(0x3a9)]();this[_0x5c35ef(0x15c)][_0x5c35ef(0x273)](_0x567515,_0x51e5ae),this[_0x5c35ef(0x399)][_0x5c35ef(0x294)](_0x5cd217['id'],{'version':_0x567515,..._0x463e84},{'onlyLocal':!0x0});});}[_0x43ed60(0x3a9)](){const _0x2c6203=_0x43ed60;return Math['random']()['toString'](0x24)[_0x2c6203(0x122)](0x2,0x10);}},_0x89a8ec[_0x43ed60(0x392)]=_0x8c97d1([_0x19eb5d(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699['Injector'])),_0x19eb5d(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699['ICommandService']))],_0x89a8ec['SheetsPivotRPCService']);const _0x50e961={'id':_0x43ed60(0x177),'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'handler':(_0x3458a0,_0x141ec0)=>{const _0x1dd19c=_0x43ed60;if(!_0x141ec0)return!0x1;if(!!_0x3458a0[_0x1dd19c(0x33b)](_0x3f1699[_0x1dd19c(0x23e)])[_0x1dd19c(0x30f)](_0x57d9c3))return!0x0;const {pivotTableId:_0x1713e0,fieldJSON:_0x17177d,unitId:_0xe5be94,subUnitId:_0x100da6}=_0x141ec0,_0x11ac19=_0x24a6f0[_0x1dd19c(0x328)]['fromJSON'](_0x17177d);if(!_0x11ac19)return!0x1;const _0x1b2f0d=_0x3458a0[_0x1dd19c(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),_0x3e0ec8=_0x1b2f0d[_0x1dd19c(0x1b1)](_0xe5be94),_0x520046=_0x3e0ec8[_0x1dd19c(0x361)](_0x1713e0);_0x3e0ec8[_0x1dd19c(0x37f)](_0x11ac19),_0x520046[_0x1dd19c(0x372)](_0x11ac19[_0x1dd19c(0x242)](),_0x11ac19[_0x1dd19c(0xbe)]());const _0x15af6b=_0x520046[_0x1dd19c(0x2c7)](_0x11ac19[_0x1dd19c(0x211)]());_0x15af6b&&_0x11ac19[_0x1dd19c(0x151)](_0x15af6b);const _0x125a75=_0x1b2f0d[_0x1dd19c(0x275)](_0xe5be94,_0x100da6,_0x1713e0);return _0x1b2f0d[_0x1dd19c(0x232)]({'unitId':_0xe5be94,'subUnitId':_0x100da6,'token':_0x1713e0,'type':_0x1870de[_0x1dd19c(0xf0)],'pivotConfig':_0x125a75}),!0x0;}},_0x3d58af={'id':_0x43ed60(0x249),'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0x24c)],'handler':(_0xdf87f8,_0x23976f)=>{const _0x1b4250=_0x43ed60;if(!_0x23976f)return!0x1;if(!!_0xdf87f8['get'](_0x3f1699[_0x1b4250(0x23e)])[_0x1b4250(0x30f)](_0x57d9c3))return!0x0;const {pivotTableId:_0x3ca1a4,dataFieldId:_0x2b30a2,unitId:_0x38553f,subUnitId:_0x26a16b}=_0x23976f,_0x2b407c=_0xdf87f8[_0x1b4250(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),_0x5e8287=_0x2b407c[_0x1b4250(0x1b1)](_0x38553f);_0x5e8287['getCollection'](_0x3ca1a4)[_0x1b4250(0x172)](_0x2b30a2);let _0x5537c4=!0x0;for(const _0x2316d7 in _0x5e8287[_0x1b4250(0x379)])if(_0x5e8287[_0x1b4250(0x379)][_0x2316d7]['getFieldIds']()[_0x1b4250(0x376)](_0x2b30a2)){_0x5537c4=!0x1;break;}_0x5537c4&&_0x5e8287[_0x1b4250(0x37d)](_0x2b30a2);const _0x3c9fb4=_0x2b407c[_0x1b4250(0x275)](_0x38553f,_0x26a16b,_0x3ca1a4);return _0x2b407c['addDirtyPivotTable']({'unitId':_0x38553f,'subUnitId':_0x26a16b,'token':_0x3ca1a4,'type':_0x1870de[_0x1b4250(0xf0)],'pivotConfig':_0x3c9fb4}),!0x0;}},_0x3f11e0={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x40ea7c,_0x45f66a){const _0x583001=_0x43ed60;if(!_0x45f66a)return!0x1;const _0x214be0=_0x40ea7c[_0x583001(0x33b)](_0x3f1699[_0x583001(0x163)]),_0xe8c433=_0x40ea7c['get'](_0x89a8ec[_0x583001(0x392)]),_0x17b973=_0x40ea7c['get'](_0x3f1699['IUndoRedoService']),{pivotTableId:_0xa6dcc4,dataFieldId:_0x5ca284,fieldArea:_0x45ae13,index:_0x50df8e,unitId:_0x3b035d,subUnitId:_0xaf6609}=_0x45f66a,_0x160e6b=(await _0xe8c433[_0x583001(0x20b)]({'unitId':_0x3b035d,'subUnitId':_0xaf6609,'pivotTableId':_0xa6dcc4,'params':{'type':_0x56b655[_0x583001(0x323)],'addPivotField':{'dataFieldId':_0x5ca284,'fieldArea':_0x45ae13,'index':_0x50df8e}}}))[_0x583001(0x2fa)][_0x583001(0xbb)];if(!_0x160e6b)return!0x1;const {view:_0x11fd42,changesets:_0x20c5ef,isEmpty:_0x3ed464,pivotTableConfig:_0x2fc9fa,shouldBeAddedGroupJSON:_0x164510}=_0x160e6b,_0x15be0a=_0x2fc9fa['targetCellInfo'],_0x12bccc=new _0x24a6f0[(_0x583001(0x25b))]();_0x12bccc[_0x583001(0xd2)](_0x11fd42);const _0x1b422c={'cellInfo':_0x15be0a,'view':_0x12bccc,'isEmpty':_0x3ed464};if(!await _0x40ea7c[_0x583001(0x33b)](_0x89a8ec['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x0,_0x1b422c))return!0x1;const _0x3f7146=_0x34a7f9(_0x40ea7c,_0x12bccc,_0x15be0a,_0x3ed464),_0x13bcdd=_0x2debb2(_0x40ea7c,_0x1b422c),{undos:_0x2126f2,redos:_0x23e213}=_0x122330(_0x214be0,{'pivotTableId':_0xa6dcc4,'unitId':_0x3b035d,'subUnitId':_0xaf6609},_0x20c5ef);return _0x164510&&(_0x23e213[_0x583001(0x318)]({'id':_0x50e961['id'],'params':{'pivotTableId':_0xa6dcc4,'fieldJSON':_0x164510,'unitId':_0x3b035d,'subUnitId':_0xaf6609}}),_0x2126f2[_0x583001(0x182)]({'id':_0x3d58af['id'],'params':{'pivotTableId':_0xa6dcc4,'dataFieldId':_0x164510['id'],'unitId':_0x3b035d,'subUnitId':_0xaf6609}})),_0x3f1699[_0x583001(0x22f)]([..._0x3f7146[_0x583001(0x245)],..._0x13bcdd[_0x583001(0x245)],..._0x23e213],_0x214be0),_0x17b973[_0x583001(0x368)]({'unitID':_0x3b035d,'redoMutations':[..._0x3f7146[_0x583001(0x245)],..._0x13bcdd[_0x583001(0x245)],..._0x23e213],'undoMutations':[..._0x3f7146[_0x583001(0x176)],..._0x13bcdd[_0x583001(0x176)],..._0x2126f2]}),!0x0;}},_0x2355f0={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x3a6),async 'handler'(_0x1e82f8,_0x433355){const _0x24f173=_0x43ed60;if(!_0x433355)return!0x1;const {sourceDataInfo:_0x27cf40,pivotTableConfig:_0x376e2f}=_0x433355;if(!_0x27cf40||!_0x376e2f)return!0x1;const {unitId:_0x6ac95b,subUnitId:_0x39e8b2,range:_0xde43b0}=_0x27cf40,_0x2aff3d=_0x1e82f8['get'](_0x3f1699[_0x24f173(0x1b9)]),_0x1cadbf=_0x1e82f8[_0x24f173(0x33b)](_0x89a8ec[_0x24f173(0x392)]),_0x6c0be8=_0x1e82f8[_0x24f173(0x33b)](_0x3f1699[_0x24f173(0x27e)]),_0x5c12ab=_0x1e82f8[_0x24f173(0x33b)](_0x3f1699[_0x24f173(0x163)]),_0x1c7100=_0x2aff3d[_0x24f173(0x35a)](_0x6ac95b);if(!_0x1c7100)return!0x1;const _0x5d1a2b=_0x1c7100[_0x24f173(0x11d)](_0x39e8b2);if(!_0x5d1a2b)return!0x1;const _0x489dd5=_0x24a6f0[_0x24f173(0x1c5)](0x8),_0x5e082b=_0xde43b0||{'startRow':0x0,'startColumn':0x0,'endRow':_0x5d1a2b[_0x24f173(0x2b0)]()-0x1,'endColumn':_0x5d1a2b[_0x24f173(0x179)]()-0x1};_0x5e082b[_0x24f173(0x215)]=_0x3f1699['RANGE_TYPE'][_0x24f173(0x21a)];const _0x121a7b=(await _0x1cadbf['getPivotDisplayConfig']({'unitId':_0x6ac95b,'subUnitId':_0x39e8b2,'pivotTableId':_0x489dd5,'params':{'type':_0x56b655[_0x24f173(0x11e)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x6ac95b,'sheetName':_0x5d1a2b[_0x24f173(0xbe)](),'subUnitId':_0x39e8b2,'range':_0x5e082b},'pivotTableId':_0x489dd5,'pivotTableIndexConfig':_0x376e2f}}}))[_0x24f173(0x2fa)][_0x24f173(0x2ec)];if(!_0x121a7b)return!0x1;const {isEmpty:_0x5321f1,fieldsConfig:_0x1e1aee,collectionConfig:_0x3fdf5f,changesets:_0x3a2f0e}=_0x121a7b,_0x23d179=_0x1c7100['getSheets']()[_0x24f173(0x27d)],_0x57cffd=_0x3f1699[_0x24f173(0x33e)]({'rowCount':_0x5d1a2b[_0x24f173(0x2b0)]()-0x1,'columnCount':_0x5d1a2b[_0x24f173(0x179)]()-0x1});_0x57cffd['id']=_0x3f1699['generateRandomId'](),_0x57cffd[_0x24f173(0x112)]=_0x1c7100[_0x24f173(0x28b)](''+_0x6c0be8['t']('sheets.tabs.sheet'));const _0xdb14a8={'index':_0x23d179,'sheet':_0x57cffd,'unitId':_0x6ac95b},{redos:_0x2dbafd}=_0x122330(_0x5c12ab,{'pivotTableId':_0x489dd5,'unitId':_0x6ac95b,'subUnitId':_0x57cffd['id']},_0x3a2f0e),_0x27dac9=[{'id':_0x1c7b09[_0x24f173(0x237)]['id'],'params':_0xdb14a8},{'id':_0x158817['id'],'params':{'unitId':_0x6ac95b,'subUnitId':_0x57cffd['id'],'pivotTableId':_0x489dd5,'pivotTableConfig':{'isEmpty':_0x5321f1,'fieldsConfig':_0x1e1aee,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x6ac95b,'subUnitId':_0x57cffd['id']},'sourceRangeInfo':{'subUnitId':_0x39e8b2,'unitId':_0x6ac95b,'range':_0x5e082b,'sheetName':_0x5d1a2b[_0x24f173(0xbe)]()}},'collectionConfig':_0x3fdf5f}},..._0x2dbafd];return _0x3f1699['sequenceExecute'](_0x27dac9,_0x5c12ab),!0x0;}},_0xa736a1={'type':_0x3f1699[_0x43ed60(0x1cb)]['COMMAND'],'id':_0x43ed60(0x1eb),async 'handler'(_0x6c9a7,_0x3641dd){const _0xe40016=_0x43ed60;var _0x3db6ab,_0x1f17ac;const _0x2a1f07=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x163)]),_0x104ac6=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x1b9)]),_0xbbaeba=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x27e)]),_0x15de56=_0x6c9a7[_0xe40016(0x33b)](_0x89a8ec['SheetsPivotRPCService']),_0x2c3dfd=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x2a9)]),_0x32896b=_0x6c9a7[_0xe40016(0x33b)](_0x89a8ec['SheetsPivotTableConfigModel']),_0x1699e8=_0x6c9a7[_0xe40016(0x33b)](_0x3f1699[_0xe40016(0x23e)]);if(!_0x3641dd)return!0x1;const {pivotTableConfig:_0x2ec458,positionType:_0x158768}=_0x3641dd,{targetCellInfo:_0xfe3b5,sourceRangeInfo:_0x254084}=_0x2ec458,{unitId:_0x533fce,subUnitId:_0xa99d07}=_0xfe3b5,_0x5c9102=_0x104ac6['getUnit'](_0x533fce);if(!_0x5c9102)return!0x1;let _0x763a1=0x0;_0x5c9102[_0xe40016(0x2e6)]()['forEach'](_0x2eaf61=>{const _0x559447=_0xe40016;var _0x530231,_0x28968f;_0x763a1+=(_0x28968f=(_0x530231=_0x32896b[_0x559447(0x39b)](_0x533fce,_0x2eaf61[_0x559447(0x344)]()))==null?void 0x0:_0x530231[_0x559447(0x1e8)])!=null?_0x28968f:0x0;});const _0x25fdae=(_0x3db6ab=_0x1699e8[_0xe40016(0x30f)](_0x48414d[_0xe40016(0x228)]))!=null?_0x3db6ab:{},{ls:_0x1ea2b6,pbk:_0x40e257}=_0x25fdae;if(!_0x35e5f9(_0x1ea2b6,_0x40e257))return!0x1;const _0x1201ad=_0xa1005d(_0x53ba46,_0x1ea2b6,_0x40e257)[_0xe40016(0x28f)];if(_0x763a1>=_0x1201ad)return!0x1;const _0x3215d9=_0x3641dd['pivotTableId']||_0x24a6f0['generateHexNumber'](0x8),_0x239b48=(await _0x15de56[_0xe40016(0x20b)]({'unitId':_0x533fce,'subUnitId':_0xa99d07,'pivotTableId':_0x3215d9,'params':{'type':_0x56b655[_0xe40016(0x3a5)],'addPivotTable':{'sourceRangeInfo':_0x254084,'pivotTableId':_0x3215d9}}}))[_0xe40016(0x2fa)][_0xe40016(0x2b2)];if(!_0x239b48)return!0x1;const {view:_0x228c6f,isEmpty:_0x4037eb,fieldsConfig:_0x33d448,collectionConfig:_0x2d1307}=_0x239b48,_0x46907d=[],_0x1a53a6=[];if(_0x158768===_0x581236[_0xe40016(0x1a5)]){const _0x4a81f4=_0x5c9102[_0xe40016(0x2e6)]()[_0xe40016(0x27d)],_0x4d6724=_0x3f1699[_0xe40016(0x33e)]({});_0x4d6724['id']=_0x2ec458[_0xe40016(0x3a4)]['subUnitId'],_0x4d6724[_0xe40016(0x112)]=(_0x1f17ac=_0x2ec458[_0xe40016(0x3a4)]['sheetName'])!=null?_0x1f17ac:_0x5c9102['generateNewSheetName'](''+_0xbbaeba['t'](_0xe40016(0x2be)));const _0x462715={'index':_0x4a81f4,'sheet':_0x4d6724,'unitId':_0x533fce},_0x10131a=_0x1c7b09['InsertSheetUndoMutationFactory'](_0x6c9a7,_0x462715);_0x46907d[_0xe40016(0x182)]({'id':_0x1c7b09[_0xe40016(0x15b)]['id'],'params':_0x10131a}),_0x1a53a6[_0xe40016(0x182)]({'id':_0x1c7b09[_0xe40016(0x10b)]['id'],'params':_0x462715});}else{if(!_0x5c9102['getSheetBySheetId'](_0xa99d07))return!0x1;const _0xd79dd1=_0x34a7f9(_0x6c9a7,new _0x24a6f0[(_0xe40016(0x25b))](),_0xfe3b5,!0x0);_0x1a53a6[_0xe40016(0x182)](..._0xd79dd1[_0xe40016(0x245)]),_0x46907d[_0xe40016(0x182)](..._0xd79dd1[_0xe40016(0x176)]);const _0x35875d={'cellInfo':_0xfe3b5,'view':_0x228c6f,'isEmpty':_0x4037eb};if(!await _0x6c9a7['get'](_0x89a8ec[_0xe40016(0xba)])[_0xe40016(0x159)][_0xe40016(0x300)](_0xb533ef)(!0x0,_0x35875d))return!0x1;const _0x5498c1=_0x2debb2(_0x6c9a7,_0x35875d);_0x1a53a6[_0xe40016(0x182)](..._0x5498c1[_0xe40016(0x245)]),_0x46907d[_0xe40016(0x182)](..._0x5498c1[_0xe40016(0x176)]);}return _0x1a53a6[_0xe40016(0x182)]({'id':_0x158817['id'],'params':{'unitId':_0xfe3b5[_0xe40016(0x210)],'subUnitId':_0xfe3b5[_0xe40016(0x15a)],'pivotTableId':_0x3215d9,'pivotTableConfig':{'targetCellInfo':_0xfe3b5,'sourceRangeInfo':_0x254084,'fieldsConfig':_0x33d448},'collectionConfig':_0x2d1307}}),_0x46907d['unshift']({'id':_0x3fa252['id'],'params':{'unitId':_0x533fce,'subUnitId':_0xa99d07,'pivotTableId':_0x3215d9}}),_0x3f1699[_0xe40016(0x22f)](_0x1a53a6,_0x2a1f07)&&_0x2c3dfd[_0xe40016(0x368)]({'unitID':_0x533fce,'undoMutations':_0x46907d,'redoMutations':_0x1a53a6}),!0x0;}},_0x1e7f27={'type':_0x3f1699['CommandType'][_0x43ed60(0xb4)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x3611d1,_0x443472){const _0x65088=_0x43ed60;if(!_0x443472)return!0x1;const _0x105514=_0x3611d1[_0x65088(0x33b)](_0x3f1699[_0x65088(0x163)]),_0x4fd828=_0x3611d1['get'](_0x89a8ec[_0x65088(0x392)]),_0x3134b4=_0x3611d1[_0x65088(0x33b)](_0x3f1699[_0x65088(0x2a9)]),{pivotTableId:_0x3b2c77,fieldId:_0x3b2731,area:_0x352dfa,index:_0x24ec64,unitId:_0x2e7502,subUnitId:_0x1d9359}=_0x443472,_0x1c2576=(await _0x4fd828['getPivotDisplayConfig']({'unitId':_0x2e7502,'subUnitId':_0x1d9359,'pivotTableId':_0x3b2c77,'params':{'type':_0x56b655[_0x65088(0x26d)],'movePivotField':{'fieldId':_0x3b2731,'area':_0x352dfa,'index':_0x24ec64}}}))[_0x65088(0x2fa)][_0x65088(0x170)];if(!_0x1c2576)return!0x1;const {changesets:_0x22b507,view:_0x527666,isEmpty:_0x5a4d12,pivotTableConfig:_0x252aef}=_0x1c2576,_0x283e14=_0x252aef['targetCellInfo'],_0x394447=new _0x24a6f0[(_0x65088(0x25b))]();_0x394447['formJSON'](_0x527666);const _0x163431={'cellInfo':_0x283e14,'view':_0x394447,'isEmpty':_0x5a4d12};if(!await _0x3611d1[_0x65088(0x33b)](_0x89a8ec[_0x65088(0xba)])[_0x65088(0x159)][_0x65088(0x300)](_0xb533ef)(!0x0,_0x163431))return!0x1;const _0x1f240f=_0x34a7f9(_0x3611d1,_0x394447,_0x283e14,_0x5a4d12),_0x48bb82=_0x2debb2(_0x3611d1,_0x163431),{redos:_0x547e39,undos:_0x4f0ee9}=_0x122330(_0x105514,{'pivotTableId':_0x3b2c77,'unitId':_0x2e7502,'subUnitId':_0x1d9359},_0x22b507);return _0x3f1699[_0x65088(0x22f)]([..._0x1f240f[_0x65088(0x245)],..._0x48bb82[_0x65088(0x245)],..._0x547e39],_0x105514),_0x3134b4[_0x65088(0x368)]({'unitID':_0x2e7502,'redoMutations':[..._0x1f240f[_0x65088(0x245)],..._0x48bb82[_0x65088(0x245)],..._0x547e39],'undoMutations':[..._0x1f240f[_0x65088(0x176)],..._0x48bb82['undos'],..._0x4f0ee9]}),!0x0;}},_0x55ad53={'type':_0x3f1699[_0x43ed60(0x1cb)]['COMMAND'],'id':_0x43ed60(0x236),async 'handler'(_0x43511f,_0xe0d45a){const _0x2af15d=_0x43ed60;var _0x437c18;if(!_0xe0d45a)return!0x1;const _0x5c0df1=_0x43511f[_0x2af15d(0x33b)](_0x3f1699[_0x2af15d(0x1b9)]),_0x3b15b9=_0x1c7b09['getSheetCommandTarget'](_0x5c0df1);if(!_0x3b15b9)return!0x1;const {unitId:_0x5c6ed6,subUnitId:_0x394534,workbook:_0xb902c8}=_0x3b15b9,{row:_0x2457b6,col:_0x1fa6f2}=_0xe0d45a,_0x49a51c=_0x43511f[_0x2af15d(0x33b)](_0x89a8ec[_0x2af15d(0x1ef)]),_0x16449a=_0x49a51c['getPivotTableIdByCell'](_0x5c6ed6,_0x394534,_0x2457b6,_0x1fa6f2);if(!_0x16449a)return!0x1;const _0x49d85d=(_0x437c18=_0x49a51c['getPivotItemRenderInfoCache'](_0x5c6ed6,_0x394534,_0x16449a))==null?void 0x0:_0x437c18['areaInfo'];if(!_0x49d85d)return!0x1;const _0x3b07fb=_0x43511f['get'](_0x89a8ec[_0x2af15d(0xb3)])[_0x2af15d(0x275)](_0x5c6ed6,_0x394534,_0x16449a);if(!_0x3b07fb)return!0x1;const {rowInfo:_0x4576b8,colInfo:_0x25a1e7}=_0x49d85d,_0xbbe8ec=_0x4576b8[_0x2457b6][_0x2af15d(0x1a8)],_0x2238ac=_0x25a1e7[_0x1fa6f2][_0x2af15d(0x1a8)],_0x45e2cf=_0x4576b8[_0x2457b6][_0x2af15d(0x32c)],_0x143b6f=_0x25a1e7[_0x1fa6f2]['level'],_0x13bcc0=_0xbbe8ec[_0x2af15d(0x1b0)](_0x2238ac),_0x62bea8=_0x3b07fb['fieldsConfig'][_0x2af15d(0x2d5)][_0x2af15d(0x10d)](0x0,_0x45e2cf),_0x512d5e=_0x3b07fb[_0x2af15d(0x1d8)][_0x2af15d(0x2d9)]['slice'](0x0,_0x143b6f),_0x1663fc=_0x62bea8['concat'](_0x512d5e),_0x477cac=_0x13bcc0[_0x2af15d(0xca)]((_0xb5b65a,_0x2f41c1)=>[_0xb5b65a,_0x1663fc[_0x2f41c1]]),_0x3c0b8e=(await _0x43511f['get'](_0x89a8ec[_0x2af15d(0x392)])[_0x2af15d(0x20b)]({'unitId':_0x5c6ed6,'subUnitId':_0x394534,'pivotTableId':_0x16449a,'params':{'type':_0x56b655[_0x2af15d(0x1f7)],'drillDown':{'tuple':_0x477cac}}}))[_0x2af15d(0x2fa)][_0x2af15d(0x1e1)];if(!_0x3c0b8e)return!0x1;const {indexes:_0x262721,range:_0x1dbe38,sourceUnitId:_0x35c345,sourceSubUnitId:_0x48f1fa,formatMap:_0x4f2668}=_0x3c0b8e,{startRow:_0x3dda92,endRow:_0x1dee92,startColumn:_0x16365b,endColumn:_0x5ddb51}=_0x1dbe38,_0x4f17a2=new _0x3f1699[(_0x2af15d(0x2cb))](),_0x5a3715=_0x1dee92-_0x3dda92,_0x39c619=_0x5ddb51-_0x16365b,_0x48c329={},_0x2943e3=_0x1c7b09[_0x2af15d(0x11c)](_0x5c0df1,{'unitId':_0x35c345,'subUnitId':_0x48f1fa});if(!_0x2943e3)return!0x1;const _0x555729=_0x4939a9[_0x2af15d(0x114)],_0x14ecbc=_0x4939a9[_0x2af15d(0x113)],_0x54c8dc=_0x4939a9[_0x2af15d(0x113)],_0x281c55=_0xb902c8['getStyles']()[_0x2af15d(0x297)](_0x555729),_0x35a58d=_0xb902c8['getStyles']()[_0x2af15d(0x297)](_0x14ecbc),_0x589948=_0xb902c8[_0x2af15d(0x2ce)]()[_0x2af15d(0x297)](_0x54c8dc),{worksheet:_0x307871}=_0x2943e3;let _0x162a38=0x0;const _0x513073=0x1;_0x262721[_0x2af15d(0x2f8)](_0x1c34ca=>{const _0x144a9b=_0x2af15d;for(let _0x367007=0x0;_0x367007<=_0x5ddb51-_0x16365b;_0x367007++)_0x4f17a2['setValue'](_0x162a38,_0x367007,_0x307871[_0x144a9b(0x22d)](_0x1c34ca+_0x1dbe38[_0x144a9b(0x13a)]+_0x513073,_0x367007));_0x162a38++;});for(let _0x561c9f=_0x16365b;_0x561c9f<=_0x5ddb51;_0x561c9f++){const _0x4000d3=_0x307871[_0x2af15d(0x22d)](_0x3dda92,_0x561c9f);_0x48c329[_0x3dda92]||(_0x48c329[_0x3dda92]={}),_0x48c329[_0x3dda92][_0x561c9f]={..._0x4000d3,'s':_0x281c55};}let _0xfd6420=0x1;const _0x207d61={},_0x3c9794={};_0x4f17a2[_0x2af15d(0x194)]((_0x49fe12,_0x18f851)=>{_0x18f851['forEach'](_0x3b5546=>{const _0x30d9a8=_0xc6ae,_0x1b6b9c=_0x4f17a2[_0x30d9a8(0x381)](_0x49fe12,_0x3b5546);if(_0x48c329[_0xfd6420]||(_0x48c329[_0xfd6420]={}),_0x48c329[_0xfd6420][_0x3b5546]={..._0x1b6b9c,'s':_0xfd6420%0x2===0x0?_0x589948:_0x35a58d},_0x4f2668[_0x3b5546]&&_0x49fe12>=0x0){const _0x334d62=_0xfd6420%0x2===0x0;let _0x35a808=_0x334d62?_0x3c9794[_0x3b5546]:_0x207d61[_0x3b5546];_0x35a808||(_0x35a808=_0xb902c8[_0x30d9a8(0x2ce)]()[_0x30d9a8(0x297)]({..._0x334d62?_0x54c8dc:_0x14ecbc,'n':{'pattern':_0x4f2668[_0x3b5546]}}),_0x334d62?_0x3c9794[_0x3b5546]=_0x35a808:_0x207d61[_0x3b5546]=_0x35a808),_0x48c329[_0xfd6420][_0x3b5546]['s']=_0x35a808;}}),_0xfd6420++;});const _0x17b0e6=new _0x3f1699[(_0x2af15d(0x2cb))](_0x48c329),_0x47d7ca={};_0x17b0e6[_0x2af15d(0x36d)]((_0x2945d8,_0x434a56,_0x44ef1c)=>{_0x47d7ca[_0x2945d8]||(_0x47d7ca[_0x2945d8]={}),_0x47d7ca[_0x2945d8][_0x434a56]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x5da2e4=[],_0x5c3759=[],_0x5efee7=_0xb902c8['getSheets']()[_0x2af15d(0x27d)],_0x16ba87=_0x3f1699[_0x2af15d(0x33e)]({'rowCount':Math[_0x2af15d(0x144)](_0x3f1699[_0x2af15d(0x111)],_0x5a3715+0xa),'columnCount':Math[_0x2af15d(0x144)](_0x3f1699[_0x2af15d(0x108)],_0x39c619+0x5)}),_0x477415=_0x43511f[_0x2af15d(0x33b)](_0x3f1699[_0x2af15d(0x27e)]);_0x16ba87['id']=_0x3f1699[_0x2af15d(0x365)](),_0x16ba87[_0x2af15d(0x112)]=_0xb902c8[_0x2af15d(0x28b)](''+_0x477415['t'](_0x2af15d(0x2be)));const _0x137429={'index':_0x5efee7,'sheet':_0x16ba87,'unitId':_0x5c6ed6},_0x152c88=_0x1c7b09[_0x2af15d(0x1fa)](_0x43511f,_0x137429);_0x5c3759[_0x2af15d(0x182)]({'id':_0x1c7b09[_0x2af15d(0x10b)]['id'],'params':_0x137429}),_0x5da2e4['push']({'id':_0x1c7b09[_0x2af15d(0x15b)]['id'],'params':_0x152c88}),_0x5c3759[_0x2af15d(0x182)]({'id':_0x1c7b09[_0x2af15d(0x2f0)]['id'],'params':{'unitId':_0x5c6ed6,'subUnitId':_0x16ba87['id'],'cellValue':_0x48c329}}),_0x5da2e4[_0x2af15d(0x318)]({'id':_0x1c7b09[_0x2af15d(0x2f0)]['id'],'params':{'unitId':_0x5c6ed6,'subUnitId':_0x16ba87['id'],'cellValue':_0x47d7ca}});const _0x2ae586={'startRow':0x0,'startColumn':0x0,'endRow':_0xfd6420-0x1,'endColumn':_0x5ddb51};_0x5c3759[_0x2af15d(0x182)]({'id':_0x10853a['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x5c6ed6,'subUnitId':_0x16ba87['id'],'range':_0x2ae586}}),_0x5da2e4[_0x2af15d(0x318)]({'id':_0x10853a[_0x2af15d(0x38c)]['id'],'params':{'unitId':_0x5c6ed6,'subUnitId':_0x16ba87['id']}});const _0x368855=_0x43511f['get'](_0x3f1699[_0x2af15d(0x163)]);return _0x3f1699['sequenceExecute'](_0x5c3759,_0x368855)&&_0x43511f[_0x2af15d(0x33b)](_0x3f1699[_0x2af15d(0x2a9)])[_0x2af15d(0x368)]({'unitID':_0x5c6ed6,'undoMutations':_0x5da2e4,'redoMutations':_0x5c3759}),!0x0;}},_0x59be0b={'type':_0x3f1699[_0x43ed60(0x1cb)]['COMMAND'],'id':_0x43ed60(0xee),async 'handler'(_0x1bcae5,_0x4e4009){const _0x17da98=_0x43ed60;if(!_0x4e4009)return!0x1;const _0x5e4d39=_0x1bcae5[_0x17da98(0x33b)](_0x3f1699[_0x17da98(0x163)]),_0x3ebb0c=_0x1bcae5[_0x17da98(0x33b)](_0x89a8ec[_0x17da98(0x392)]),_0x497ab0=_0x1bcae5['get'](_0x3f1699['IUndoRedoService']),{pivotTableId:_0x36bce5,fieldIds:_0x27b26a,unitId:_0xbc067a,subUnitId:_0x1ced77}=_0x4e4009,_0x59b7b4=(await _0x3ebb0c['getPivotDisplayConfig']({'unitId':_0xbc067a,'subUnitId':_0x1ced77,'pivotTableId':_0x36bce5,'params':{'type':_0x56b655[_0x17da98(0x2ed)],'removePivotField':{'fieldIds':_0x27b26a}}}))[_0x17da98(0x2fa)][_0x17da98(0xa9)];if(!_0x59b7b4)return!0x1;const {view:_0x475715,changesets:_0x2d74a9,isEmpty:_0x4083bd,pivotTableConfig:_0x5ebbc9}=_0x59b7b4,_0x3017dd=_0x5ebbc9['targetCellInfo'],_0x36734b=new _0x24a6f0['PivotView']();_0x36734b[_0x17da98(0xd2)](_0x475715);const _0x5ef79a={'cellInfo':_0x3017dd,'view':_0x36734b,'isEmpty':_0x4083bd};if(!await _0x1bcae5[_0x17da98(0x33b)](_0x89a8ec[_0x17da98(0xba)])[_0x17da98(0x159)][_0x17da98(0x300)](_0xb533ef)(!0x0,_0x5ef79a))return!0x1;const _0x16b69e=_0x34a7f9(_0x1bcae5,_0x36734b,_0x3017dd,_0x4083bd),_0x40a641=_0x2debb2(_0x1bcae5,_0x5ef79a),{redos:_0x5d29b1,undos:_0x4c91be}=_0x122330(_0x5e4d39,{'pivotTableId':_0x36bce5,'unitId':_0xbc067a,'subUnitId':_0x1ced77},_0x2d74a9);return _0x3f1699['sequenceExecute']([..._0x16b69e[_0x17da98(0x245)],..._0x40a641[_0x17da98(0x245)],..._0x5d29b1],_0x5e4d39),_0x497ab0['pushUndoRedo']({'unitID':_0xbc067a,'redoMutations':[..._0x16b69e[_0x17da98(0x245)],..._0x40a641[_0x17da98(0x245)],..._0x5d29b1],'undoMutations':[..._0x16b69e[_0x17da98(0x176)],..._0x40a641[_0x17da98(0x176)],..._0x4c91be]}),!0x0;}},_0x1e7c51={'type':_0x3f1699['CommandType'][_0x43ed60(0xb4)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x4a0b8d,_0x5ccc3a){const _0x280331=_0x43ed60;var _0x2e052c;const _0x508443=_0x4a0b8d[_0x280331(0x33b)](_0x3f1699['ICommandService']),_0x5b30ab=_0x4a0b8d['get'](_0x89a8ec[_0x280331(0x392)]),_0xa56cc9=_0x4a0b8d['get'](_0x89a8ec['SheetsPivotTableAdaptorModel']),_0x43c306=_0x4a0b8d[_0x280331(0x33b)](_0x3f1699['IUniverInstanceService']),_0x28b6f5=_0x4a0b8d[_0x280331(0x33b)](_0x3f1699[_0x280331(0x2a9)]);if(!_0x5ccc3a)return!0x1;const {unitId:_0x25274c,subUnitId:_0x4547dc,row:_0x3cf38a,col:_0x242be7,collapse:_0x3eabdc}=_0x5ccc3a,_0x3e203e=_0x43c306['getUnit'](_0x25274c);if(!_0x3e203e||!_0x3e203e[_0x280331(0x11d)](_0x4547dc))return!0x1;const _0x42ed1e=_0xa56cc9['getPivotTableIdByCell'](_0x25274c,_0x4547dc,_0x3cf38a,_0x242be7);if(!_0x42ed1e)return!0x1;const _0x39a052=_0xa56cc9[_0x280331(0x2e4)](_0x25274c,_0x4547dc,_0x42ed1e);if(!_0x39a052)return!0x1;const _0x10504f=_0x3f1699[_0x280331(0x240)](_0x3cf38a,_0x242be7),{rangesInfo:_0x4114ea,areaInfo:_0xcb6e4e,headerMap:_0x35fa38}=_0x39a052;if(!_0x4114ea||!_0xcb6e4e||!_0x35fa38)return!0x1;const _0x5473fe=Object[_0x280331(0x375)](_0x4114ea)[_0x280331(0xfb)](_0x3c893a=>_0x4114ea[_0x3c893a][_0x280331(0x35f)](_0xb8f87=>_0x3f1699[_0x280331(0x36b)]['contains'](_0xb8f87,_0x10504f)));let _0x9ddba1;_0x5473fe===_0x280331(0xeb)?_0x9ddba1=_0x35fa38[_0x280331(0x29b)][_0x242be7]:_0x5473fe===_0x280331(0xd8)&&(_0x9ddba1=_0x35fa38[_0x280331(0x241)][_0x3cf38a]);const _0x3cddc9=_0x9ddba1==null?void 0x0:_0x9ddba1['tableFieldId'],_0x51965f=(_0x2e052c=_0xa56cc9[_0x280331(0x224)](_0x25274c,_0x4547dc,_0x3cf38a,_0x242be7))==null?void 0x0:_0x2e052c['v'];if(_0x51965f==null||!_0x42ed1e||!_0x3cddc9)return!0x1;const _0x216ef3=await _0x5b30ab[_0x280331(0x20b)]({'unitId':_0x25274c,'subUnitId':_0x4547dc,'pivotTableId':_0x42ed1e,'params':{'type':_0x56b655['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x3cddc9,'collapse':_0x3eabdc,'item':_0x51965f}}}),_0x5ef1c8=_0x216ef3==null?void 0x0:_0x216ef3[_0x280331(0x2fa)][_0x280331(0x2d4)];if(!_0x5ef1c8)return!0x1;const {view:_0x2bdfd4,pivotTableConfig:_0x303af9,isEmpty:_0x38c73,changesets:_0x118f6e}=_0x5ef1c8,_0x470ba7=new _0x24a6f0[(_0x280331(0x25b))]();_0x470ba7[_0x280331(0xd2)](_0x2bdfd4);const _0x387cfc=_0x303af9[_0x280331(0x3a4)],_0x1e6106={'cellInfo':_0x387cfc,'view':_0x470ba7,'isEmpty':_0x38c73};if(!await _0x4a0b8d[_0x280331(0x33b)](_0x89a8ec['SheetsPivotTableService'])[_0x280331(0x159)]['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x0,_0x1e6106))return!0x1;const _0x14266c=_0x34a7f9(_0x4a0b8d,_0x470ba7,_0x387cfc,_0x38c73),_0x5a2c78=_0x2debb2(_0x4a0b8d,_0x1e6106),{redos:_0x7bb1db,undos:_0x1cab71}=_0x122330(_0x508443,{'pivotTableId':_0x42ed1e,'unitId':_0x25274c,'subUnitId':_0x4547dc},_0x118f6e);return _0x3f1699[_0x280331(0x22f)]([..._0x14266c['redos'],..._0x5a2c78[_0x280331(0x245)],..._0x7bb1db],_0x508443),_0x28b6f5[_0x280331(0x368)]({'unitID':_0x25274c,'redoMutations':[..._0x14266c[_0x280331(0x245)],..._0x5a2c78[_0x280331(0x245)],..._0x7bb1db],'undoMutations':[..._0x14266c[_0x280331(0x176)],..._0x5a2c78[_0x280331(0x176)],..._0x1cab71]}),!0x0;}},_0x1cf9cd={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x1db),async 'handler'(_0xbfb36d,_0x4ed350){const _0x45fcd7=_0x43ed60;if(!_0x4ed350)return!0x1;const _0x1f6d11=_0xbfb36d[_0x45fcd7(0x33b)](_0x3f1699['ICommandService']),{pivotTableId:_0x1f80bd,tableFieldId:_0x234a29,items:_0x43ae92,unitId:_0x3e701a,subUnitId:_0x316ab3,isAll:_0x1c6cab}=_0x4ed350,_0x513983=_0xbfb36d[_0x45fcd7(0x33b)](_0x89a8ec[_0x45fcd7(0x392)]),_0x3f7c35=_0xbfb36d[_0x45fcd7(0x33b)](_0x3f1699['IUndoRedoService']),_0x127c9d=(await _0x513983['getPivotDisplayConfig']({'unitId':_0x3e701a,'subUnitId':_0x316ab3,'pivotTableId':_0x1f80bd,'params':{'type':_0x56b655[_0x45fcd7(0x1a1)],'setPivotFilter':{'tableFieldId':_0x234a29,'items':_0x43ae92,'isAll':_0x1c6cab}}}))['result'][_0x45fcd7(0x31d)];if(!_0x127c9d)return!0x1;const {changesets:_0x4cff45,pivotTableConfig:_0x3461fb,isEmpty:_0xca9196,view:_0x44539b}=_0x127c9d,_0x4efc7e=_0x3461fb[_0x45fcd7(0x3a4)],_0x221d04=new _0x24a6f0[(_0x45fcd7(0x25b))]();_0x221d04[_0x45fcd7(0xd2)](_0x44539b);const _0x22c266={'cellInfo':_0x4efc7e,'view':_0x221d04,'isEmpty':_0xca9196};if(!await _0xbfb36d['get'](_0x89a8ec[_0x45fcd7(0xba)])[_0x45fcd7(0x159)][_0x45fcd7(0x300)](_0xb533ef)(!0x0,_0x22c266))return!0x1;const _0x5d85b0=_0x34a7f9(_0xbfb36d,_0x221d04,_0x4efc7e,_0xca9196),_0x47cdd8=_0x2debb2(_0xbfb36d,_0x22c266),{undos:_0x116f62,redos:_0x451d76}=_0x122330(_0x1f6d11,{'pivotTableId':_0x1f80bd,'unitId':_0x3e701a,'subUnitId':_0x316ab3},_0x4cff45);return _0x3f1699[_0x45fcd7(0x22f)]([..._0x5d85b0[_0x45fcd7(0x245)],..._0x47cdd8['redos'],..._0x451d76],_0x1f6d11),_0x3f7c35['pushUndoRedo']({'unitID':_0x3e701a,'redoMutations':[..._0x5d85b0['redos'],..._0x47cdd8['redos'],..._0x451d76],'undoMutations':[..._0x5d85b0[_0x45fcd7(0x176)],..._0x47cdd8[_0x45fcd7(0x176)],..._0x116f62]}),!0x0;}},_0x4df349={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x31e955,_0x4f18bd){const _0x45dc5e=_0x43ed60;if(!_0x4f18bd)return!0x1;const _0xa96dd=_0x31e955['get'](_0x3f1699[_0x45dc5e(0x163)]),_0x4a9e49=_0x31e955[_0x45dc5e(0x33b)](_0x3f1699[_0x45dc5e(0x2a9)]),_0x5bfe0e=_0x31e955[_0x45dc5e(0x33b)](_0x89a8ec[_0x45dc5e(0x392)]),{info:_0x434fb4,tableFieldId:_0x2c6ee1,pivotTableId:_0x557295,unitId:_0x41f7ba,subUnitId:_0x1dcab3}=_0x4f18bd,_0x3f53c9=(await _0x5bfe0e[_0x45dc5e(0x20b)]({'unitId':_0x41f7ba,'subUnitId':_0x1dcab3,'pivotTableId':_0x557295,'params':{'type':_0x56b655[_0x45dc5e(0xcd)],'setPivotSort':{'tableFieldId':_0x2c6ee1,'info':_0x434fb4}}}))['result'][_0x45dc5e(0x3a7)];if(!_0x3f53c9)return!0x1;const {changesets:_0xdf2d6}=_0x3f53c9,{redos:_0x40c338,undos:_0x59e31f}=_0x122330(_0xa96dd,{'pivotTableId':_0x557295,'unitId':_0x41f7ba,'subUnitId':_0x1dcab3},_0xdf2d6);return _0x3f1699['sequenceExecute'](_0x40c338,_0xa96dd),_0x4a9e49['pushUndoRedo']({'unitID':_0x41f7ba,'redoMutations':_0x40c338,'undoMutations':_0x59e31f}),!0x0;}},_0x1d8ad2={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x276),async 'handler'(_0x3f32d0,_0x42b2f6){const _0x48230a=_0x43ed60;if(!_0x42b2f6)return!0x1;const _0x53ae5e=_0x3f32d0[_0x48230a(0x33b)](_0x3f1699[_0x48230a(0x163)]),_0x43218b=_0x3f32d0[_0x48230a(0x33b)](_0x3f1699[_0x48230a(0x2a9)]),_0x2f0091=_0x3f32d0['get'](_0x89a8ec[_0x48230a(0x392)]),{displayName:_0x7a03eb,subtotalType:_0x33ad2a,format:_0x2fb3c2,tableFieldId:_0x1769d1,pivotTableId:_0x51d286,unitId:_0x1ee6b7,subUnitId:_0x2f9336}=_0x42b2f6,_0x2a8106=(await _0x2f0091['getPivotDisplayConfig']({'unitId':_0x1ee6b7,'subUnitId':_0x2f9336,'pivotTableId':_0x51d286,'params':{'type':_0x56b655['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x1769d1,'displayName':_0x7a03eb,'subtotalType':_0x33ad2a,'format':_0x2fb3c2}}}))['result']['setPivotSetting'];if(!_0x2a8106)return!0x1;const {changesets:_0x25e534,view:_0xb61c9,pivotTableConfig:_0x1b405d,isEmpty:_0x365f4d}=_0x2a8106,_0x5a8eac=_0x1b405d[_0x48230a(0x3a4)],_0x35f15b=new _0x24a6f0[(_0x48230a(0x25b))]();_0x35f15b[_0x48230a(0xd2)](_0xb61c9);const _0x1fe061={'cellInfo':_0x5a8eac,'view':_0x35f15b,'isEmpty':_0x365f4d};if(!await _0x3f32d0[_0x48230a(0x33b)](_0x89a8ec[_0x48230a(0xba)])['asyncInterceptor'][_0x48230a(0x300)](_0xb533ef)(!0x0,_0x1fe061))return!0x1;const _0x3729c8=_0x34a7f9(_0x3f32d0,_0x35f15b,_0x5a8eac,_0x365f4d),_0xe2e27=_0x2debb2(_0x3f32d0,_0x1fe061),{undos:_0x563497,redos:_0x353cf0}=_0x122330(_0x53ae5e,{'pivotTableId':_0x51d286,'unitId':_0x1ee6b7,'subUnitId':_0x2f9336},_0x25e534);return _0x3f1699[_0x48230a(0x22f)]([..._0x3729c8[_0x48230a(0x245)],..._0xe2e27[_0x48230a(0x245)],..._0x353cf0],_0x53ae5e),_0x43218b[_0x48230a(0x368)]({'unitID':_0x1ee6b7,'redoMutations':[..._0x3729c8[_0x48230a(0x245)],..._0xe2e27[_0x48230a(0x245)],..._0x353cf0],'undoMutations':[..._0x3729c8[_0x48230a(0x176)],..._0xe2e27[_0x48230a(0x176)],..._0x563497]}),!0x0;}},_0x3c72f3={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x2aa),async 'handler'(_0xc54eda,_0x1309eb){const _0x4d860f=_0x43ed60,_0x8b10c5=_0xc54eda[_0x4d860f(0x33b)](_0x3f1699[_0x4d860f(0x163)]),_0x4563a0=_0xc54eda[_0x4d860f(0x33b)](_0x89a8ec[_0x4d860f(0x392)]),_0x2a0608=_0xc54eda[_0x4d860f(0x33b)](_0x3f1699['IUndoRedoService']);if(!_0x1309eb)return!0x1;const {token:_0x301366,dataRangeInfo:_0x537ea8,unitId:_0x380fb3,subUnitId:_0x33f31f}=_0x1309eb,_0x166dc4=[],_0x59983c=[],_0x1022b0=(await _0x4563a0[_0x4d860f(0x20b)]({'unitId':_0x380fb3,'subUnitId':_0x33f31f,'pivotTableId':_0x301366,'params':{'type':_0x56b655[_0x4d860f(0x32e)],'updatePivotSource':{'dataRangeInfo':_0x537ea8,'unitId':_0x380fb3,'subUnitId':_0x33f31f}}}))[_0x4d860f(0x2fa)]['updatePivotSource'];if(!_0x1022b0)return!0x1;const {changesets:_0xb9c765,deleteIds:_0x22edd0,collectionConfig:_0x51d634,oldCollectionConfig:_0x4cc491,view:_0x23a69f,isEmpty:_0x2957e4,pivotTableConfig:_0x3854ac}=_0x1022b0;_0x59983c[_0x4d860f(0x182)]({'id':_0x100c03['id'],'params':{'pivotTableId':_0x301366,'deleteIds':_0x22edd0,'collectionJSON':_0x51d634,'dataRangeInfo':_0x537ea8,'unitId':_0x380fb3,'subUnitId':_0x33f31f}}),_0x166dc4[_0x4d860f(0x318)]({'id':_0x100c03['id'],'params':{'pivotTableId':_0x301366,'deleteIds':[],'collectionJSON':_0x4cc491,'dataRangeInfo':_0x3854ac[_0x4d860f(0x1af)],'unitId':_0x380fb3,'subUnitId':_0x33f31f}});const _0x3f1525=_0x3854ac['targetCellInfo'],_0x3c9e4e=new _0x24a6f0['PivotView']();_0x3c9e4e[_0x4d860f(0xd2)](_0x23a69f);const _0x1ae832={'cellInfo':_0x3f1525,'view':_0x3c9e4e,'isEmpty':_0x2957e4};if(!await _0xc54eda[_0x4d860f(0x33b)](_0x89a8ec[_0x4d860f(0xba)])[_0x4d860f(0x159)][_0x4d860f(0x300)](_0xb533ef)(!0x0,_0x1ae832))return!0x1;const _0x81981d=_0x34a7f9(_0xc54eda,_0x3c9e4e,_0x3f1525,_0x2957e4),_0x40b9bd=_0x2debb2(_0xc54eda,_0x1ae832),{undos:_0x11294e,redos:_0x871029}=_0x122330(_0x8b10c5,{'pivotTableId':_0x301366,'unitId':_0x380fb3,'subUnitId':_0x33f31f},_0xb9c765);return _0x3f1699[_0x4d860f(0x22f)]([..._0x81981d[_0x4d860f(0x245)],..._0x40b9bd[_0x4d860f(0x245)],..._0x59983c,..._0x11294e],_0x8b10c5),_0x2a0608[_0x4d860f(0x368)]({'unitID':_0x380fb3,'redoMutations':[..._0x81981d[_0x4d860f(0x245)],..._0x40b9bd['redos'],..._0x59983c,..._0x11294e],'undoMutations':[..._0x81981d[_0x4d860f(0x176)],..._0x40b9bd[_0x4d860f(0x176)],..._0x166dc4,..._0x871029]}),!0x0;}},_0x3af9ef={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x3ff5a5,_0x2bce4d){const _0x5792bd=_0x43ed60;if(!_0x2bce4d)return!0x1;const _0x1b8b9d=_0x3ff5a5[_0x5792bd(0x33b)](_0x3f1699['ICommandService']),_0x557c5b=_0x3ff5a5[_0x5792bd(0x33b)](_0x89a8ec['SheetsPivotRPCService']),_0xcbb018=_0x3ff5a5[_0x5792bd(0x33b)](_0x3f1699[_0x5792bd(0x1b9)]),_0x15a43c=_0x3ff5a5['get'](_0x3f1699[_0x5792bd(0x2a9)]),{pivotTableId:_0x3d580f,position:_0x4b7fa6,index:_0x1030fb}=_0x2bce4d,_0x51fb23=_0x1c7b09[_0x5792bd(0x11c)](_0xcbb018);if(!_0x51fb23)return!0x1;const {unitId:_0x1cb5a7,subUnitId:_0x5b71ad}=_0x51fb23,_0x5bb2c4=(await _0x557c5b[_0x5792bd(0x20b)]({'unitId':_0x1cb5a7,'subUnitId':_0x5b71ad,'pivotTableId':_0x3d580f,'params':{'type':_0x56b655[_0x5792bd(0x14f)],'updateValuePosition':{'position':_0x4b7fa6,'index':_0x1030fb}}}))[_0x5792bd(0x2fa)]['updateValuePosition'];if(!_0x5bb2c4)return!0x1;const {changesets:_0x416238,view:_0x7c3773,isEmpty:_0x4ec175,pivotTableConfig:_0x19ab2d}=_0x5bb2c4,_0x543afe=_0x19ab2d['targetCellInfo'],_0x939562=new _0x24a6f0[(_0x5792bd(0x25b))]();_0x939562[_0x5792bd(0xd2)](_0x7c3773);const _0x5534e4=_0x3ff5a5[_0x5792bd(0x33b)](_0x89a8ec[_0x5792bd(0xba)]),_0x2390d1={'cellInfo':_0x543afe,'view':_0x939562,'isEmpty':_0x4ec175};if(!await _0x5534e4[_0x5792bd(0x159)]['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x0,_0x2390d1))return!0x1;const _0x200373=_0x34a7f9(_0x3ff5a5,_0x939562,_0x543afe,_0x4ec175),_0x1e21f0=_0x2debb2(_0x3ff5a5,_0x2390d1),{undos:_0x10d84c,redos:_0x5a45fd}=_0x122330(_0x1b8b9d,{'pivotTableId':_0x3d580f,'unitId':_0x1cb5a7,'subUnitId':_0x5b71ad},_0x416238);return _0x3f1699['sequenceExecute']([..._0x200373[_0x5792bd(0x245)],..._0x1e21f0[_0x5792bd(0x245)],..._0x5a45fd],_0x1b8b9d),_0x15a43c[_0x5792bd(0x368)]({'unitID':_0x1cb5a7,'redoMutations':[..._0x200373[_0x5792bd(0x245)],..._0x1e21f0[_0x5792bd(0x245)],..._0x5a45fd],'undoMutations':[..._0x200373[_0x5792bd(0x176)],..._0x1e21f0['undos'],..._0x10d84c]}),!0x0;}},_0x30bfee={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.move-pivot-table','handler':(_0x149fca,_0x3955e8)=>{const _0xf693ef=_0x43ed60,_0x14b68c=_0x149fca[_0xf693ef(0x33b)](_0x3f1699[_0xf693ef(0x163)]),_0x20f877=_0x149fca[_0xf693ef(0x33b)](_0x3f1699['IUndoRedoService']),_0x3b0463=_0x149fca['get'](_0x89a8ec['SheetsPivotTableConfigModel']),_0x1001a4=_0x149fca[_0xf693ef(0x33b)](_0x3f1699['IUniverInstanceService']);if(!_0x3955e8)return!0x1;const _0x3d4164=_0x1c7b09[_0xf693ef(0x11c)](_0x1001a4);if(!_0x3d4164)return!0x1;const {unitId:_0x29ab51,subUnitId:_0x4bae02,workbook:_0x197671}=_0x3d4164,_0x11c803=_0x3b0463[_0xf693ef(0x275)](_0x3955e8['originTargetInfo'][_0xf693ef(0x210)],_0x3955e8['originTargetInfo'][_0xf693ef(0x15a)],_0x3955e8[_0xf693ef(0x281)]);if(!_0x11c803)return!0x1;const _0x53f993=_0x197671['getSheetBySheetId'](_0x3955e8[_0xf693ef(0x3a4)][_0xf693ef(0x15a)]);if(!_0x53f993)throw new Error(_0xf693ef(0x143));const _0x45c4b4=_0x53f993[_0xf693ef(0x2b0)](),_0x2bb8b6=_0x53f993[_0xf693ef(0x179)]();if(_0x3955e8['targetCellInfo'][_0xf693ef(0x329)]>_0x45c4b4||_0x3955e8['targetCellInfo'][_0xf693ef(0x14c)]>_0x2bb8b6)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x279237=[{'id':_0x118dc3['id'],'params':{'unitId':_0x29ab51,'subUnitId':_0x3955e8[_0xf693ef(0x3a4)]['subUnitId'],'pivotTableId':_0x3955e8[_0xf693ef(0x281)],'targetCellPosition':{'row':_0x3955e8['targetCellInfo'][_0xf693ef(0x329)],'col':_0x3955e8['targetCellInfo'][_0xf693ef(0x14c)]}}}],_0x2a59f4=[{'id':_0x118dc3['id'],'params':{'unitId':_0x29ab51,'subUnitId':_0x4bae02,'pivotTableId':_0x3955e8[_0xf693ef(0x281)],'targetCellPosition':{'row':_0x11c803[_0xf693ef(0x3a4)][_0xf693ef(0x329)],'col':_0x11c803[_0xf693ef(0x3a4)][_0xf693ef(0x14c)]}}}];return _0x3f1699[_0xf693ef(0x22f)](_0x279237,_0x14b68c)&&_0x20f877[_0xf693ef(0x368)]({'unitID':_0x29ab51,'undoMutations':_0x2a59f4,'redoMutations':_0x279237}),!0x0;}},_0x1cacdd={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x18f),async 'handler'(_0x4fbb26,_0x4240bb){const _0x32f7a2=_0x43ed60;if(!_0x4240bb)return!0x1;const _0x1ad1c0=_0x4fbb26[_0x32f7a2(0x33b)](_0x3f1699[_0x32f7a2(0x163)]),{pivotTableId:_0x9e7b1e,fieldId:_0x48d63a,valueFilterInfo:_0x30016c,unitId:_0x2389d8,subUnitId:_0x19f4c6}=_0x4240bb,_0x4ebfc2=_0x4fbb26[_0x32f7a2(0x33b)](_0x89a8ec[_0x32f7a2(0x392)]),_0x310461=_0x4fbb26['get'](_0x3f1699[_0x32f7a2(0x2a9)]),_0x4a50fe=(await _0x4ebfc2[_0x32f7a2(0x20b)]({'unitId':_0x2389d8,'subUnitId':_0x19f4c6,'pivotTableId':_0x9e7b1e,'params':{'type':_0x56b655[_0x32f7a2(0x219)],'setValuePivotFilter':{'tableFieldId':_0x48d63a,'filterInfo':_0x30016c}}}))[_0x32f7a2(0x2fa)][_0x32f7a2(0xf7)];if(!_0x4a50fe)return!0x1;const {changesets:_0x316c95,pivotTableConfig:_0x2ddd64,isEmpty:_0x5e616e,view:_0x2bf7f4}=_0x4a50fe,_0x2a2fa8=_0x2ddd64[_0x32f7a2(0x3a4)],_0x47f73f=new _0x24a6f0[(_0x32f7a2(0x25b))]();_0x47f73f[_0x32f7a2(0xd2)](_0x2bf7f4);const _0x451bf3={'cellInfo':_0x2a2fa8,'view':_0x47f73f,'isEmpty':_0x5e616e};if(!await _0x4fbb26[_0x32f7a2(0x33b)](_0x89a8ec[_0x32f7a2(0xba)])[_0x32f7a2(0x159)]['fetchThroughAsyncInterceptors'](_0xb533ef)(!0x0,_0x451bf3))return!0x1;const _0x5d2053=_0x34a7f9(_0x4fbb26,_0x47f73f,_0x2a2fa8,_0x5e616e),_0xd402ee=_0x2debb2(_0x4fbb26,_0x451bf3),{undos:_0x23dd9b,redos:_0x5b276c}=_0x122330(_0x1ad1c0,{'pivotTableId':_0x9e7b1e,'unitId':_0x2389d8,'subUnitId':_0x19f4c6},_0x316c95);return _0x3f1699['sequenceExecute']([..._0x5d2053[_0x32f7a2(0x245)],..._0xd402ee[_0x32f7a2(0x245)],..._0x5b276c],_0x1ad1c0),_0x310461['pushUndoRedo']({'unitID':_0x2389d8,'redoMutations':[..._0x5d2053['redos'],..._0xd402ee[_0x32f7a2(0x245)],..._0x5b276c],'undoMutations':[..._0x5d2053[_0x32f7a2(0x176)],..._0xd402ee[_0x32f7a2(0x176)],..._0x23dd9b]}),!0x0;}},_0x3c2f81={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x4377a0,_0x5c1957){const _0x29a5c8=_0x43ed60;if(!_0x5c1957)return!0x1;const _0x2efa27=_0x4377a0[_0x29a5c8(0x33b)](_0x3f1699[_0x29a5c8(0x163)]),_0x4596de=_0x4377a0[_0x29a5c8(0x33b)](_0x3f1699[_0x29a5c8(0x2a9)]),_0x33df6c=_0x4377a0[_0x29a5c8(0x33b)](_0x89a8ec['SheetsPivotRPCService']),{pivotTableConfig:_0x2e8e8a,pivotTableId:_0x25a71a,unitId:_0x1e3b8c,subUnitId:_0x30caf9}=_0x5c1957,_0x2ac20d=(await _0x33df6c[_0x29a5c8(0x20b)]({'unitId':_0x1e3b8c,'subUnitId':_0x30caf9,'pivotTableId':_0x25a71a,'params':{'type':_0x56b655[_0x29a5c8(0x33c)],'setPivotTableConfig':{'pivotTableId':_0x25a71a,'pivotTableConfig':_0x2e8e8a}}}))[_0x29a5c8(0x2fa)]['setPivotTableConfig'];if(!_0x2ac20d)return!0x1;const {changesets:_0x4364ad}=_0x2ac20d,{redos:_0xaf09ae,undos:_0x479d14}=_0x122330(_0x2efa27,{'pivotTableId':_0x25a71a,'unitId':_0x1e3b8c,'subUnitId':_0x30caf9},_0x4364ad);return _0x3f1699['sequenceExecute'](_0xaf09ae,_0x2efa27),_0x4596de[_0x29a5c8(0x368)]({'unitID':_0x1e3b8c,'redoMutations':_0xaf09ae,'undoMutations':_0x479d14}),!0x0;}},_0x4106d8={'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'id':_0x43ed60(0x263),async 'handler'(_0x440bbb,_0x943f7c){const _0x11139b=_0x43ed60;if(!_0x943f7c)return!0x1;const _0x1a40f6=_0x440bbb['get'](_0x3f1699['ICommandService']),_0x4989a7=_0x440bbb[_0x11139b(0x33b)](_0x3f1699['IUndoRedoService']),_0x5b423d=_0x440bbb[_0x11139b(0x33b)](_0x89a8ec[_0x11139b(0x392)]),{resetArea:_0x4f7b84,pivotTableId:_0x4fa6d0,unitId:_0x32230a,subUnitId:_0x39813b}=_0x943f7c,_0x52f3ae=(await _0x5b423d[_0x11139b(0x20b)]({'unitId':_0x32230a,'subUnitId':_0x39813b,'pivotTableId':_0x4fa6d0,'params':{'type':_0x56b655[_0x11139b(0x356)],'resetPivotTable':{'pivotTableId':_0x4fa6d0,'resetArea':_0x4f7b84}}}))['result'][_0x11139b(0x280)];if(!_0x52f3ae)return!0x1;const {changesets:_0x51880d}=_0x52f3ae,{redos:_0x4d1377,undos:_0x121576}=_0x122330(_0x1a40f6,{'pivotTableId':_0x4fa6d0,'unitId':_0x32230a,'subUnitId':_0x39813b},_0x51880d);return _0x3f1699[_0x11139b(0x22f)](_0x4d1377,_0x1a40f6),_0x4989a7[_0x11139b(0x368)]({'unitID':_0x32230a,'redoMutations':_0x4d1377,'undoMutations':_0x121576}),!0x0;}},_0x6eb560={'id':_0x43ed60(0x346),'type':_0x3f1699['CommandType'][_0x43ed60(0x24c)],'handler':(_0x34a808,_0x389591)=>{const _0x4bcbb6=_0x43ed60;if(!_0x389591)return!0x1;if(!!_0x34a808[_0x4bcbb6(0x33b)](_0x3f1699[_0x4bcbb6(0x23e)])[_0x4bcbb6(0x30f)](_0x57d9c3))return!0x0;const {unitId:_0xa29fa4,subUnitId:_0x57a7ce,pivotTableId:_0x5b0223,tableFieldId:_0xcf31e0,dateType:_0x201da5}=_0x389591,_0x5f587f=_0x34a808[_0x4bcbb6(0x33b)](_0x89a8ec['SheetsPivotDataSourceModel']),_0x16bf97=_0x5f587f[_0x4bcbb6(0x1bf)](_0x5b0223);if(!_0x16bf97)return!0x1;const _0x505c1f=_0x16bf97[_0x4bcbb6(0xad)](_0xcf31e0);if(!_0x505c1f)return!0x1;const _0x54d7d6=_0x505c1f['getOriginFieldId'](),_0x4f443b=_0x16bf97[_0x4bcbb6(0x1a3)](_0x54d7d6),_0x4bba8b=(_0x4f443b==null?void 0x0:_0x4f443b[_0x4bcbb6(0xbe)]())+'\x20'+_0xe6d46c(_0x34a808,_0x201da5);_0x5f587f[_0x4bcbb6(0x361)](_0xa29fa4,_0x5b0223)[_0x4bcbb6(0x2ea)](_0x505c1f['id'],_0x4bba8b);const _0xa5aed6=_0x16bf97[_0x4bcbb6(0x145)](_0xcf31e0);if(!_0xa5aed6)return!0x1;_0x16bf97[_0x4bcbb6(0xb2)](_0xa5aed6['getId'](),_0x4bba8b),_0x505c1f[_0x4bcbb6(0xa2)](_0x201da5);const _0x537fc6=_0x5f587f[_0x4bcbb6(0x275)](_0xa29fa4,_0x57a7ce,_0x5b0223);return _0x5f587f[_0x4bcbb6(0x232)]({'unitId':_0xa29fa4,'subUnitId':_0x57a7ce,'token':_0x5b0223,'type':_0x1870de['Set'],'pivotConfig':_0x537fc6}),!0x0;}},_0x427b3e={'id':_0x43ed60(0xae),'type':_0x3f1699[_0x43ed60(0x1cb)][_0x43ed60(0xb4)],'handler':(_0x507c91,_0x412096)=>{const _0xe5be9e=_0x43ed60;if(!_0x412096)return!0x1;const _0x58ff26=_0x507c91[_0xe5be9e(0x33b)](_0x3f1699[_0xe5be9e(0x2a9)]),{unitId:_0x5a6f6d,subUnitId:_0x4f5dc3,pivotTableId:_0x1041e6,tableFieldId:_0x446825}=_0x412096,_0x8bacd8=[],_0x1fb97e=[],_0x46e807=_0x507c91[_0xe5be9e(0x33b)](_0x89a8ec[_0xe5be9e(0xb3)]),_0x65ef5c=_0x46e807[_0xe5be9e(0x361)](_0x5a6f6d,_0x1041e6),_0x2a7b53=_0x46e807['getPivotTableConfig'](_0x5a6f6d,_0x4f5dc3,_0x1041e6);if(!(_0x2a7b53!=null&&_0x2a7b53[_0xe5be9e(0x1d8)]['dimension']))return!0x1;const _0x2efce0=Object[_0xe5be9e(0x213)](_0x2a7b53[_0xe5be9e(0x1d8)]['dimension'])['find'](_0xd7ddb0=>_0xd7ddb0['id']===_0x446825);if(!_0x2efce0)return!0x1;const _0x3c0495=_0x2efce0[_0xe5be9e(0xea)];if(!(_0x65ef5c!=null&&_0x65ef5c[_0xe5be9e(0x99)]))return!0x1;const _0x1e0571=Object['values'](_0x65ef5c==null?void 0x0:_0x65ef5c[_0xe5be9e(0x99)])['find'](_0x26926d=>_0x26926d['id']===_0x3c0495);if(!_0x1e0571)return!0x1;_0x24a6f0[_0xe5be9e(0x17c)](_0x1e0571)&&_0x8bacd8[_0xe5be9e(0x182)]({'id':_0x6eb560['id'],'params':{..._0x412096,'dateType':_0x1e0571[_0xe5be9e(0xb7)]}}),_0x1fb97e['push']({'id':_0x6eb560['id'],'params':{..._0x412096}});const _0x933b42=_0x507c91[_0xe5be9e(0x33b)](_0x3f1699[_0xe5be9e(0x163)]);return _0x3f1699['sequenceExecute'](_0x1fb97e,_0x933b42)&&_0x58ff26[_0xe5be9e(0x368)]({'unitID':_0x5a6f6d,'undoMutations':_0x8bacd8,'redoMutations':_0x1fb97e}),!0x0;}};var _0x18ceef=Object['getOwnPropertyDescriptor'],_0x4fd81f=(_0x48969f,_0x4bd4d3,_0x4e2b5f,_0x523449)=>{const _0x1e8b82=_0x43ed60;for(var _0xf09716=_0x523449>0x1?void 0x0:_0x523449?_0x18ceef(_0x4bd4d3,_0x4e2b5f):_0x4bd4d3,_0x5d32dc=_0x48969f[_0x1e8b82(0x27d)]-0x1,_0x147fbe;_0x5d32dc>=0x0;_0x5d32dc--)(_0x147fbe=_0x48969f[_0x5d32dc])&&(_0xf09716=_0x147fbe(_0xf09716)||_0xf09716);return _0xf09716;},_0x4b20b6=(_0x2d8d26,_0x15210b)=>(_0x1ea0f5,_0xb196de)=>_0x15210b(_0x1ea0f5,_0xb196de,_0x2d8d26);const _0x231ff0=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x15a34d=(_0x5d6f21,_0x24662e,_0x363d10)=>{const _0x231d36=_0x43ed60,_0x11572b=_0x5d6f21[_0x231d36(0x21f)];_0x5d6f21['iterateFieldDim'](_0x34bc9d=>{const _0x42611a=_0x231d36,_0x386ed3=_0x34bc9d[_0x42611a(0x242)](),_0x3c27bb=_0x34bc9d[_0x42611a(0x291)](),_0x24b882=_0x34bc9d[_0x42611a(0x391)](),_0x5a7bd5=_0x34bc9d['getDisplayName']();_0x24662e[_0x3c27bb]&&_0x24662e[_0x3c27bb]===_0x5a7bd5&&_0x24b882===_0x5a7bd5&&(_0x5d6f21[_0x42611a(0xb2)](_0x386ed3,_0x11572b[_0x42611a(0x16a)](_0x3c27bb)),_0x34bc9d[_0x42611a(0x24a)](_0x11572b[_0x42611a(0x16a)](_0x3c27bb)));}),_0x5d6f21[_0x231d36(0x120)](_0x24a6f0['PivotTableFiledAreaEnum']['Value'],_0xf0d76e=>{const _0x2f3bfe=_0x231d36,_0x1bdf1d=_0xf0d76e[_0x2f3bfe(0x242)](),_0x25ae14=_0xf0d76e[_0x2f3bfe(0x291)](),_0x1c0b1f=_0xf0d76e[_0x2f3bfe(0x391)](),_0x1efc87=_0xf0d76e[_0x2f3bfe(0x16a)](),_0x3a181b=_0xf0d76e[_0x2f3bfe(0x1d4)](),_0x5b773e=_0x363d10(_0x1c0b1f,_0x3a181b);_0x24662e[_0x25ae14]&&_0x24662e[_0x25ae14]===_0x1c0b1f&&_0x5b773e===_0x1efc87&&(_0x5d6f21['renameField'](_0x1bdf1d,_0x363d10(_0x11572b[_0x2f3bfe(0x16a)](_0x25ae14),_0x3a181b)),_0xf0d76e[_0x2f3bfe(0x24a)](_0x11572b['getDisplayName'](_0x25ae14)));});},_0x57cd46=(_0x45ce2a,_0x2c1c09,_0x32ea34)=>{const _0x4cfb75=_0x43ed60;var _0x229800,_0x4e271e;const {arrayFormulaCellData:_0x42703c,unitData:_0x160960}=_0x2c1c09,{unitId:_0x424e20,subUnitId:_0x49e74a}=_0x32ea34,_0x33b90a=_0x32ea34[_0x4cfb75(0x24d)],{startColumn:_0xecde9d,endColumn:_0x5cf1d0}=_0x33b90a,_0x1839d5=(_0x229800=_0x42703c==null?void 0x0:_0x42703c[_0x424e20])==null?void 0x0:_0x229800[_0x49e74a],_0x5ca936=(_0x4e271e=_0x160960==null?void 0x0:_0x160960[_0x424e20])==null?void 0x0:_0x4e271e[_0x49e74a],_0x17f9cd=new Set(),_0x2a4427=_0x5cf1d0-_0xecde9d+0x1,{dirtyRanges:_0x368649}=_0x45ce2a;if(_0x368649)for(const {range:_0xd3dc77,sheetId:_0x8ee8d1,unitId:_0x22fbb0}of _0x368649){if(_0x8ee8d1!==_0x49e74a||_0x424e20!==_0x22fbb0)continue;const _0xb54897=_0x3f1699['Rectangle'][_0x4cfb75(0x34e)](_0xd3dc77,_0x33b90a);if(_0xb54897){const {startColumn:_0x2c1da9,endColumn:_0x301e62}=_0xb54897;for(let _0x49acab=_0x2c1da9;_0x49acab<=_0x301e62;_0x49acab++)_0x17f9cd[_0x4cfb75(0xe9)](_0x49acab);}}if(_0x17f9cd['size']===_0x2a4427||_0x17f9cd[_0x4cfb75(0x1e8)]===_0x2a4427)return Array[_0x4cfb75(0xff)](_0x17f9cd);if(_0x5ca936){const _0x3db5b3=_0x5ca936['getMatrix'](),_0x1c4c6d=Object[_0x4cfb75(0x375)](_0x3db5b3);for(const _0xb11ff1 of _0x1c4c6d){const _0x32fe60=Number(_0xb11ff1),_0x297bbe=_0x3db5b3[_0x32fe60];if(_0x17f9cd['size']===_0x2a4427)break;for(const _0x287e6e in _0x297bbe){const _0x3c4ea2=Number(_0x287e6e);_0x3c4ea2<_0xecde9d||_0x3c4ea2>_0x5cf1d0||_0x17f9cd[_0x4cfb75(0xe9)](_0x3c4ea2);}}}if(_0x1839d5){const _0x1f0d96=_0x1839d5[_0x4cfb75(0x2f7)](),_0x4342e0=Object['keys'](_0x1f0d96);for(const _0x2a55d4 of _0x4342e0){const _0x5bf99a=Number(_0x2a55d4),_0x8a7e39=_0x1f0d96[_0x5bf99a];if(_0x17f9cd[_0x4cfb75(0x1e8)]===_0x2a4427)break;for(const _0x437569 in _0x8a7e39){const _0x43bdc2=Number(_0x437569);_0x43bdc2<_0xecde9d||_0x43bdc2>_0x5cf1d0||_0x17f9cd[_0x4cfb75(0xe9)](_0x43bdc2);}}}return Array['from'](_0x17f9cd);},_0x2a939d=_0x326765=>{const _0x5a40c6=_0x43ed60,_0x9a3503=new Set(),_0x5e83d0=[];for(const _0x27344d of _0x326765){const _0x7522c2=_0x27344d[_0x5a40c6(0x13a)]+','+_0x27344d[_0x5a40c6(0x18b)]+','+_0x27344d['startColumn']+','+_0x27344d[_0x5a40c6(0x1dc)];_0x9a3503[_0x5a40c6(0x1d1)](_0x7522c2)||(_0x9a3503['add'](_0x7522c2),_0x5e83d0['push'](_0x27344d));}return _0x5e83d0;};let _0x500fea=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x3cce08,_0x31908a,_0x5bad95,_0x143253,_0x919fc8,_0x3af175){const _0x586e68=_0x43ed60;super(),_0x575f06(this,'_globalSubject',new _0x28d43e[(_0x586e68(0xc2))](!0x0)),_0x575f06(this,_0x586e68(0x332),_0x367fee=>{const _0x3c7af7=_0x586e68;this[_0x3c7af7(0x15e)]['next'](!0x1);}),_0x575f06(this,'_globalComputedEndHelpFunc',_0x2dabe5=>{this['_globalSubject']['next'](!0x0);}),(this[_0x586e68(0x212)]=_0x3cce08,this[_0x586e68(0x359)]=_0x31908a,this[_0x586e68(0x1cf)]=_0x5bad95,this['_commandService']=_0x143253,this['_globalComputingSrv']=_0x919fc8,this[_0x586e68(0x2f1)]=_0x3af175,this[_0x586e68(0x360)](),this['_initPivotDataGetListener']());}['_init'](){const _0x435bc7=_0x43ed60;this['_subjectCollectionChange'](),this[_0x435bc7(0x21e)](),this[_0x435bc7(0x117)](),this[_0x435bc7(0x202)]();}['_initGlobalComputed'](){const _0x53e1e0=_0x43ed60;this['_globalComputingSrv']['pushComputingStatusSubject'](this[_0x53e1e0(0x15e)]),_0x24a6f0['PivotTable'][_0x53e1e0(0x279)](_0x24a6f0[_0x53e1e0(0x238)][_0x53e1e0(0x2f4)],this[_0x53e1e0(0x332)]),_0x24a6f0[_0x53e1e0(0x308)]['registerCallbackWithEvent'](_0x24a6f0['PivotCallbackEnum']['onQueryEnd'],this[_0x53e1e0(0xa6)]);}[_0x43ed60(0x287)](){const _0xe173dd=_0x43ed60;this[_0xe173dd(0xaf)](this['_commandService'][_0xe173dd(0x149)](_0x2c1e32=>{const _0x271669=_0xe173dd;_0x2c1e32['id']===_0x1c7b09[_0x271669(0x394)]['id']&&this[_0x271669(0x212)][_0x271669(0x310)](_0x2c1e32['params']);})),this[_0xe173dd(0xaf)](this[_0xe173dd(0x399)][_0xe173dd(0x149)](_0x52e051=>{const _0x395f52=_0xe173dd;if(_0x52e051['id']!==_0x5cd217['id'])return;const _0x907c6=_0x52e051[_0x395f52(0x2c9)],{unitId:_0x5c5f2f,subUnitId:_0x4bf8b2,pivotTableId:_0xe5d454}=_0x907c6,_0x4c37fc=_0x907c6['params']['type'],_0x4a387c={};switch(_0x4c37fc){case _0x56b655[_0x395f52(0x385)]:{const _0x242468=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x2a3)];if(!_0x242468)return;const {row:_0x68a1d4,col:_0x12781f,cellData:_0x21e93b,pivotItemRenderInfoCache:_0x21eae5,tableFieldId:_0x4b7dbf}=_0x242468,_0x582a9a=this[_0x395f52(0x212)]['getPivotTableInstance'](_0x907c6[_0x395f52(0x281)]);if(!_0x582a9a||!_0x21eae5)return;if(_0x4b7dbf){const _0x4b06c1=_0x582a9a[_0x395f52(0xad)](_0x4b7dbf);if(!_0x4b06c1)return;_0x4a387c[_0x395f52(0x2a3)]={..._0x582a9a[_0x395f52(0x168)](_0x4b06c1),'tableFieldId':_0x4b7dbf,'pivotTableId':_0x907c6['pivotTableId'],'filterInfo':_0x582a9a['getFilterInfo'](_0x4b7dbf),'sortInfo':_0x582a9a['getSortInfo'](_0x4b7dbf),'format':_0x582a9a[_0x395f52(0x2fd)](_0x4b7dbf)};}else{const _0x4496c5=_0x4e2eec(_0x68a1d4,_0x12781f,_0x21e93b,_0x582a9a,_0x21eae5),_0x27b59e=_0x4496c5==null?void 0x0:_0x4496c5[_0x395f52(0x257)];if(!_0x27b59e)return;const _0xb7acbf=_0x582a9a['getDataFieldByTableId'](_0x27b59e);if(!_0xb7acbf)return;_0x4a387c[_0x395f52(0x2a3)]={..._0x582a9a['getDataFieldItemInfo'](_0xb7acbf),'tableFieldId':_0x27b59e,'pivotTableId':_0x907c6[_0x395f52(0x281)],'filterInfo':_0x582a9a[_0x395f52(0xf9)](_0x27b59e),'sortInfo':_0x582a9a[_0x395f52(0x198)](_0x27b59e),'format':_0x582a9a[_0x395f52(0x2fd)](_0x27b59e)};}}break;case _0x56b655[_0x395f52(0x110)]:{const _0xaf32e8=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0xdf)];if(!_0xaf32e8)return;const {pivotTableId:_0x11eaa3}=_0xaf32e8,_0x245e8b=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0x11eaa3);if(!_0x245e8b)return;const _0x1b4565=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0x11eaa3),_0x12b7c3=_0x34c403(_0x245e8b,_0x11eaa3,_0x1b4565);_0x4a387c[_0x395f52(0xdf)]=_0x12b7c3;}break;case _0x56b655[_0x395f52(0x323)]:{const _0x58a591=this[_0x395f52(0x212)]['getPivotTableInstance'](_0xe5d454),_0x50f83b=this['_sheetsPivotDataSourceModel'][_0x395f52(0x1b1)](_0x5c5f2f),_0x7eefd3=_0x50f83b[_0x395f52(0x361)](_0xe5d454);let _0x21dcb5=null;const _0x5bd99f=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454),_0x1b20ed=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0xbb)];if(!_0x58a591||!_0x5bd99f||!_0x1b20ed)return!0x1;const {dataFieldId:_0xaa1817,fieldArea:_0x18b960,index:_0x3a3b04}=_0x1b20ed;_0x58a591[_0x395f52(0x127)]();const _0x2344c3=_0x58a591[_0x395f52(0x34f)](_0xaa1817,_0x18b960,_0x3a3b04);if(_0x2344c3&&_0x18b960===_0x24a6f0[_0x395f52(0x2b6)]['Value']){const _0x1fbc41=_0x2344c3[_0x395f52(0x242)](),_0x2292b2=_0x58a591[_0x395f52(0xad)](_0x1fbc41);if(_0x2292b2){const _0x58d678=_0x2292b2==null?void 0x0:_0x2292b2[_0x395f52(0x165)]();_0x58a591['setSubtotalType'](_0x2344c3[_0x395f52(0x242)](),_0x58d678===_0x24a6f0[_0x395f52(0x1c8)][_0x395f52(0x209)]?_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x37a)]:_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x28f)]);}const _0x33f544=_0x58a591['getValueIndex'](),_0x2d1884=_0x58a591['getValuePosition'](),_0x3862ce=_0x58a591[_0x395f52(0x247)](_0x24a6f0[_0x395f52(0x2b6)]['Value']);if(_0x33f544===-0x1&&_0x3862ce>0x1){const _0x461e81=_0x2d1884===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x1e6)]?_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x14b)]:_0x2d1884,_0x77d325=_0x461e81===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x352)]?_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]:_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x14b)];_0x58a591[_0x395f52(0x386)](_0x461e81,_0x58a591['getFieldCountByArea'](_0x77d325));}}else{if(_0x2344c3&&(_0x18b960===_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x352)]||_0x18b960===_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x14b)])){const _0x3abe60=_0x2344c3['getId'](),_0x199eff=_0x58a591['getDataFieldByTableId'](_0x3abe60);if(_0x199eff&&(_0x199eff==null?void 0x0:_0x199eff[_0x395f52(0x165)]())===_0x24a6f0[_0x395f52(0x1c8)][_0x395f52(0x2a0)]){const _0x66577f=_0x199eff[_0x395f52(0x14d)]();if(_0x66577f&&_0x58a591[_0x395f52(0x19a)](_0x2344c3['getId'](),_0x66577f),!_0x7eefd3[_0x395f52(0x2d8)]()[_0x395f52(0x35f)](_0x5653b4=>{const _0x58d3ed=_0x395f52,_0x45473e=_0x7eefd3[_0x58d3ed(0x2c7)](_0x5653b4);return _0x24a6f0['isDateGroupField'](_0x45473e)?_0x45473e[_0x58d3ed(0x350)]()[_0x58d3ed(0x171)]===_0xaa1817:!0x1;})){const _0x556acd=_0x50f83b[_0x395f52(0x185)](),_0x54a6e3=_0x4aebca(_0x199eff['maxDate'],_0x199eff[_0x395f52(0x17f)]),_0x19caed=_0x199eff[_0x395f52(0xbe)]()+'\x20-\x20'+_0xe6d46c(this[_0x395f52(0x2f1)],_0x54a6e3),_0x12f48c=new _0x24a6f0['DateGroupField'](_0x556acd,_0x19caed,_0x24a6f0[_0x395f52(0x1c5)](0x3),_0x199eff[_0x395f52(0x242)](),_0x54a6e3);_0x50f83b[_0x395f52(0x37f)](_0x12f48c),_0x7eefd3[_0x395f52(0x372)](_0x556acd,_0x19caed),_0x58a591[_0x395f52(0x34f)](_0x556acd,_0x18b960,(_0x3a3b04!=null?_0x3a3b04:0x0)+0x1),_0x21dcb5=_0x12f48c;}}}}const _0xff8e1c=_0x58a591[_0x395f52(0x35c)](),_0x2ffb56=_0x58a591[_0x395f52(0x264)]()[_0x395f52(0x10f)]();let _0x2e3de6;if(_0x21dcb5){_0x2e3de6=_0x21dcb5['toJSON']();const _0x521637=_0x21dcb5[_0x395f52(0x242)]();_0x7eefd3['deleteField'](_0x521637);let _0xf513ee=!0x0;for(const _0x523526 in _0x50f83b[_0x395f52(0x379)])if(_0x50f83b[_0x395f52(0x379)][_0x523526][_0x395f52(0x2d8)]()[_0x395f52(0x376)](_0x521637)){_0xf513ee=!0x1;break;}_0xf513ee&&_0x50f83b['deleteDataField'](_0x521637);}const _0x469c6f=_0x58a591[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0xbb)]={'view':_0x2ffb56,'changesets':_0x469c6f,'isEmpty':_0xff8e1c,'pivotTableConfig':_0x5bd99f,'shouldBeAddedGroupJSON':_0x2e3de6};}break;case _0x56b655[_0x395f52(0x3a5)]:{const _0x427d02=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x2b2)];if(!_0x427d02)return;const _0xd4f33c=_0x427d02[_0x395f52(0x1af)],_0x257908=_0x427d02[_0x395f52(0x281)],{collection:_0x1b1495}=this[_0x395f52(0x212)]['createCollectionWithDataRange']({'unitId':_0xd4f33c[_0x395f52(0x210)],'sheetName':_0xd4f33c[_0x395f52(0x248)],'subUnitId':_0xd4f33c[_0x395f52(0x15a)],'range':_0xd4f33c[_0x395f52(0x24d)]}),_0x7abaea=new _0x24a6f0[(_0x395f52(0x308))](_0x1b1495,void 0x0,_0x257908),_0x3815cc=_0x7abaea[_0x395f52(0x264)](),_0x4a357d=_0x7abaea[_0x395f52(0x10f)](),_0x4706ff=_0x1b1495[_0x395f52(0x10f)]();_0x4a387c['addPivotTable']={'view':_0x3815cc,'fieldsConfig':_0x4a357d,'collectionConfig':_0x4706ff,'isEmpty':_0x7abaea[_0x395f52(0x35c)]()};}break;case _0x56b655[_0x395f52(0x26d)]:{const _0x539584=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x170)];if(!_0x539584)return;const {fieldId:_0x2d6592,area:_0x13f372,index:_0x377a31}=_0x539584,_0x3bd2e9=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x3bd2e9)return;const _0x3e78d6=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454);if(!_0x3e78d6)return;_0x3e78d6['startCollectChangeset']();const {area:_0x1454dc,index:_0x312a2a}=_0x3e78d6[_0x395f52(0x2ee)](_0x2d6592);if(_0x3e78d6[_0x395f52(0x109)](_0x2d6592,_0x13f372,_0x377a31),_0x13f372===_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x11a)]&&_0x3e78d6['getTableFieldById'](_0x2d6592)[_0x395f52(0x1d4)]()===void 0x0){const _0x16d913=_0x3e78d6['getTableFieldById'](_0x2d6592);if(_0x16d913&&_0x16d913[_0x395f52(0x1d4)]()===void 0x0){const _0x15bf60=_0x3e78d6[_0x395f52(0xad)](_0x2d6592);if(_0x15bf60){const _0x5b0956=_0x15bf60==null?void 0x0:_0x15bf60['getFieldDataType']();_0x3e78d6[_0x395f52(0x1a9)](_0x2d6592,_0x5b0956===_0x24a6f0[_0x395f52(0x1c8)][_0x395f52(0x209)]?_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x37a)]:_0x24a6f0[_0x395f52(0x1f5)]['count']);}}}const _0x15bcbb=_0x3e78d6[_0x395f52(0xde)](),_0x4a3f54=_0x3e78d6[_0x395f52(0x251)](),_0x183de4=_0x3e78d6['getFieldCountByArea'](_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x11a)])>0x1;if(_0x183de4&&_0x1454dc===_0x13f372&&(_0x13f372===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x352)]||_0x13f372===_0x24a6f0[_0x395f52(0x2b6)]['Column']&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)]['Column'])){let _0x2fceff=_0x4a3f54;_0x312a2a<=_0x4a3f54&&_0x2fceff--,_0x377a31<=_0x4a3f54&&_0x2fceff++,_0x3e78d6[_0x395f52(0x386)](_0x15bcbb,_0x2fceff);}else _0x183de4&&(_0x1454dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x352)]||_0x1454dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x14b)]&&_0x15bcbb===_0x24a6f0['PivotTableValuePositionEnum'][_0x395f52(0x14b)])&&_0x4a3f54>=_0x312a2a&&_0x3e78d6[_0x395f52(0x386)](_0x15bcbb,_0x4a3f54-0x1),_0x183de4&&(_0x13f372===_0x24a6f0['PivotTableFiledAreaEnum'][_0x395f52(0x352)]&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x352)]||_0x13f372===_0x24a6f0[_0x395f52(0x2b6)]['Column']&&_0x15bcbb===_0x24a6f0[_0x395f52(0xb1)][_0x395f52(0x14b)])&&_0x4a3f54>=_0x377a31&&_0x3e78d6['updateValuePosition'](_0x15bcbb,_0x4a3f54+0x1);const _0x227a51=_0x3e78d6[_0x395f52(0x264)](),_0x3f75c4=_0x3e78d6['isEmpty'](),_0x44e52e=_0x3e78d6[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x170)]={'view':_0x227a51[_0x395f52(0x10f)](),'changesets':_0x44e52e,'isEmpty':_0x3f75c4,'pivotTableConfig':_0x3bd2e9};}break;case _0x56b655['RemovePivotField']:{const _0x24d4cd=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0xa9)];if(!_0x24d4cd)return;const _0x2cde89=_0x24d4cd[_0x395f52(0x33a)],_0x4ca795=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x4ca795)return!0x1;const _0x40747f=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454);if(!_0x40747f)return!0x1;_0x40747f[_0x395f52(0x127)]();for(const _0x1c40d3 of _0x2cde89){const {area:_0x1a03dc}=_0x40747f['getFieldPositionInfoById'](_0x1c40d3);_0x1a03dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x11a)]&&_0x40747f[_0x395f52(0x2a1)](_0x1c40d3),(_0x1a03dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]||_0x1a03dc===_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x14b)])&&_0x40747f['removeValueFilterInfo'](_0x1c40d3),_0x40747f[_0x395f52(0x32f)](_0x1c40d3);}const _0x45d1a9=_0x40747f[_0x395f52(0x35c)](),_0x37ec64=_0x40747f['query']()[_0x395f52(0x10f)](),_0x43c61b=_0x40747f[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0xa9)]={'changesets':_0x43c61b,'pivotTableConfig':_0x4ca795,'isEmpty':_0x45d1a9,'view':_0x37ec64};}break;case _0x56b655['SetPivotFilter']:{const _0x3b5ab0=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x31d)];if(!_0x3b5ab0)return;const {tableFieldId:_0x41706e,items:_0xfcb099,isAll:_0x281815}=_0x3b5ab0,_0x48f5fd=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x189cdf=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x48f5fd||!_0x189cdf)return;_0x48f5fd[_0x395f52(0x127)](),_0x48f5fd[_0x395f52(0xd5)](_0x41706e,{'type':_0x24a6f0[_0x395f52(0x2fe)]['ManualFilter'],'list':_0xfcb099,'isAll':_0x281815});const _0x15935f=_0x48f5fd['isEmpty'](),_0x4315b9=_0x48f5fd[_0x395f52(0x264)]()[_0x395f52(0x10f)](),_0x1cd7e2=_0x48f5fd[_0x395f52(0x21d)]();_0x4a387c['setPivotFilter']={'view':_0x4315b9,'changesets':_0x1cd7e2,'isEmpty':_0x15935f,'pivotTableConfig':_0x189cdf};}break;case _0x56b655[_0x395f52(0x219)]:{const _0x15e99d=_0x907c6[_0x395f52(0x2c9)]['setValuePivotFilter'];if(!_0x15e99d)return;const {tableFieldId:_0x366427,filterInfo:_0xec7893}=_0x15e99d,_0x487e24=this[_0x395f52(0x212)]['getPivotTableInstance'](_0xe5d454),_0x556d7c=this[_0x395f52(0x212)]['getPivotTableConfig'](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x487e24||!_0x556d7c)return;_0x487e24[_0x395f52(0x127)](),_0x487e24[_0x395f52(0x2b9)](_0x366427,_0xec7893);const _0x1a3af0=_0x487e24[_0x395f52(0x35c)](),_0x31e956=_0x487e24[_0x395f52(0x264)]()['toJSON'](),_0x59b707=_0x487e24[_0x395f52(0x21d)]();_0x4a387c['setValuePivotFilter']={'view':_0x31e956,'changesets':_0x59b707,'isEmpty':_0x1a3af0,'pivotTableConfig':_0x556d7c};}break;case _0x56b655[_0x395f52(0xcd)]:{const _0x62211=_0x907c6[_0x395f52(0x2c9)]['setPivotSort'];if(!_0x62211)return;const {tableFieldId:_0x38eb66,info:_0x39ac18}=_0x62211,_0x3a356d=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x1fa7ef=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x3a356d||!_0x1fa7ef)return;_0x3a356d[_0x395f52(0x127)](),_0x3a356d[_0x395f52(0x13c)](_0x38eb66,_0x39ac18);const _0x500db8=_0x3a356d[_0x395f52(0x35c)](),_0x929974=_0x3a356d['query']()[_0x395f52(0x10f)](),_0x4271c1=_0x3a356d['endCollectChangeset']();_0x4a387c['setPivotSort']={'view':_0x929974,'changesets':_0x4271c1,'isEmpty':_0x500db8,'pivotTableConfig':_0x1fa7ef};}break;case _0x56b655[_0x395f52(0x167)]:{const _0x49367d=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x204)];if(!_0x49367d)return;const {tableFieldId:_0x4780c6,displayName:_0x52bc1d,subtotalType:_0xf9f1f7,format:_0x3d762d}=_0x49367d,_0x4e187c=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x354361=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x4e187c||!_0x354361)return;_0x4e187c[_0x395f52(0x127)](),_0x52bc1d!==void 0x0&&_0x4e187c[_0x395f52(0xb2)](_0x4780c6,_0x52bc1d),_0xf9f1f7!==void 0x0&&_0x4e187c[_0x395f52(0x1a9)](_0x4780c6,_0xf9f1f7),_0x3d762d!==void 0x0&&_0x4e187c[_0x395f52(0x19a)](_0x4780c6,_0x3d762d);const _0x18227b=_0x4e187c['isEmpty'](),_0x1c5d0a=_0x4e187c[_0x395f52(0x264)]()['toJSON'](),_0x887b0c=_0x4e187c[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x204)]={'changesets':_0x887b0c,'pivotTableConfig':_0x354361,'isEmpty':_0x18227b,'view':_0x1c5d0a};}break;case _0x56b655[_0x395f52(0x32e)]:{const _0x24008b=_0x907c6[_0x395f52(0x2c9)]['updatePivotSource'];if(!_0x24008b)return;const {dataRangeInfo:_0x37d3f5,unitId:_0x48f860,subUnitId:_0x20116e}=_0x24008b,_0x162787=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x48f860,_0x20116e,_0xe5d454),_0x33bd16=this[_0x395f52(0x212)]['getPivotTableInstance'](_0xe5d454);if(!this['_sheetsPivotDataSourceModel'][_0x395f52(0x361)](_0x48f860,_0xe5d454)||!_0x33bd16||!_0x162787)return;const _0x1f0892=this[_0x395f52(0x212)][_0x395f52(0x2ab)](_0x48f860,_0xe5d454,_0x37d3f5),_0x28f785=this[_0x395f52(0x212)][_0x395f52(0x361)](_0x48f860,_0xe5d454)['toJSON'](),{collection:_0x4a7ca8}=this['_sheetsPivotDataSourceModel'][_0x395f52(0x97)]({'unitId':_0x37d3f5[_0x395f52(0x210)],'sheetName':_0x37d3f5['sheetName'],'subUnitId':_0x37d3f5[_0x395f52(0x15a)],'range':_0x37d3f5[_0x395f52(0x24d)]}),_0x21b7fd=_0x4a7ca8[_0x395f52(0x10f)]();_0x33bd16[_0x395f52(0x127)]();const _0x17656a=this[_0x395f52(0x212)][_0x395f52(0x1b1)](_0x48f860)[_0x395f52(0x1d0)]()||_0x24a6f0[_0x395f52(0x1cc)];_0x33bd16[_0x395f52(0x1f1)](_0x2e6d0f=>{const _0x208fc7=_0x395f52,_0x2b5631=_0x2e6d0f[_0x208fc7(0x291)]();if(!_0x4a7ca8[_0x208fc7(0x397)](_0x2b5631)){const _0x56f9ee=_0x4a7ca8[_0x208fc7(0x152)](_0x2e6d0f['getSourceName']());if(_0x56f9ee){_0x33bd16[_0x208fc7(0x1bc)](_0x2e6d0f['getId'](),_0x56f9ee['getName'](),_0x56f9ee[_0x208fc7(0x242)]());const {area:_0x3a4249}=_0x33bd16[_0x208fc7(0x2ee)](_0x2e6d0f[_0x208fc7(0x242)]());let _0x20fa3f=_0x2e6d0f[_0x208fc7(0x391)]();const _0x514acb=_0x2e6d0f['getDisplayName']();if(_0x3a4249===_0x24a6f0['PivotTableFiledAreaEnum'][_0x208fc7(0x11a)]){const _0x16a153=_0x2e6d0f['getSubtotal']();_0x20fa3f=_0x17656a(_0x56f9ee[_0x208fc7(0xbe)](),_0x16a153);}_0x514acb!==_0x20fa3f&&_0x33bd16[_0x208fc7(0xb2)](_0x2e6d0f[_0x208fc7(0x242)](),_0x20fa3f);}else _0x33bd16[_0x208fc7(0x32f)](_0x2e6d0f[_0x208fc7(0x242)]());}});const _0x1256a3=_0x33bd16[_0x395f52(0x35c)](),_0x3f6876=_0x33bd16[_0x395f52(0x264)]()['toJSON'](),_0x18cf67=_0x33bd16[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x351)]={'view':_0x3f6876,'changesets':_0x18cf67,'isEmpty':_0x1256a3,'pivotTableConfig':_0x162787,'collectionConfig':_0x21b7fd,'oldCollectionConfig':_0x28f785,'deleteIds':_0x1f0892};}break;case _0x56b655[_0x395f52(0x14f)]:{const _0x5e134a=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x386)];if(!_0x5e134a)return;const {position:_0x189db0,index:_0x39e330}=_0x5e134a,_0x955f94=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x955f94)return!0x1;const _0x326229=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454);if(!_0x326229)return!0x1;_0x326229['startCollectChangeset'](),_0x326229[_0x395f52(0x386)](_0x189db0,_0x39e330);const _0x74636f=_0x326229[_0x395f52(0x35c)](),_0x56b43a=_0x326229[_0x395f52(0x264)]()[_0x395f52(0x10f)](),_0x22a035=_0x326229[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x386)]={'changesets':_0x22a035,'pivotTableConfig':_0x955f94,'isEmpty':_0x74636f,'view':_0x56b43a};}break;case _0x56b655[_0x395f52(0x2c8)]:{const _0x10b8c4=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x2d4)];if(!_0x10b8c4)return;const {tableFieldId:_0x46f9f9,collapse:_0x4027f1,item:_0x2a4788}=_0x10b8c4,_0x3d0fd9=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x2c77f5=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x3d0fd9||!_0x2c77f5)return;_0x3d0fd9['startCollectChangeset'](),_0x3d0fd9[_0x395f52(0x107)](_0x46f9f9,_0x4027f1,_0x2a4788);const _0x4e1fa0=_0x3d0fd9['isEmpty'](),_0x37f49b=_0x3d0fd9[_0x395f52(0x264)]()[_0x395f52(0x10f)](),_0x9280d3=_0x3d0fd9[_0x395f52(0x21d)]();_0x4a387c[_0x395f52(0x2d4)]={'view':_0x37f49b,'isEmpty':_0x4e1fa0,'pivotTableConfig':_0x2c77f5,'changesets':_0x9280d3};}break;case _0x56b655[_0x395f52(0x33c)]:{const _0x25b972=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x223)];if(!_0x25b972)return;const {pivotTableConfig:_0x59777d}=_0x25b972,_0x467485=this[_0x395f52(0x212)][_0x395f52(0x1bf)](_0xe5d454),_0x1b23b9=this[_0x395f52(0x212)][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x467485||!_0x1b23b9)return;_0x467485[_0x395f52(0x127)](),_0x44161b(_0x467485,_0x59777d);const _0x3e12ca=_0x467485[_0x395f52(0x35c)](),_0x24c866=_0x467485[_0x395f52(0x264)]()[_0x395f52(0x10f)](),_0x62d708=_0x467485['endCollectChangeset']();_0x4a387c['setPivotTableConfig']={'view':_0x24c866,'isEmpty':_0x3e12ca,'pivotTableConfig':{..._0x1b23b9,'fieldsConfig':_0x467485[_0x395f52(0x10f)]()},'changesets':_0x62d708};}break;case _0x56b655[_0x395f52(0x356)]:{const _0xa2d6d1=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x280)];if(!_0xa2d6d1)return;const _0x4e66c9=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0xe5d454),_0xcb7ed6=this['_sheetsPivotDataSourceModel'][_0x395f52(0x275)](_0x5c5f2f,_0x4bf8b2,_0xe5d454);if(!_0x4e66c9||!_0xcb7ed6)return;_0x4e66c9[_0x395f52(0x127)](),_0x20f090(_0x4e66c9,_0xa2d6d1[_0x395f52(0x2e3)]);const _0x128d2e=_0x4e66c9[_0x395f52(0x264)]()['toJSON'](),_0x379ced=_0x4e66c9[_0x395f52(0x21d)]();_0x4a387c['resetPivotTable']={'view':_0x128d2e,'isEmpty':!0x0,'pivotTableConfig':{..._0xcb7ed6,'fieldsConfig':_0x4e66c9[_0x395f52(0x10f)]()},'changesets':_0x379ced};}break;case _0x56b655['AddPivotTableWithConfig']:{const _0x2aec2d=_0x907c6[_0x395f52(0x2c9)][_0x395f52(0x2ec)];if(!_0x2aec2d)return;const _0x4b0c95=_0x2aec2d['sourceRangeInfo'],_0x4caf85=_0x2aec2d[_0x395f52(0x281)],{collection:_0x51a806}=this[_0x395f52(0x212)][_0x395f52(0x97)]({'unitId':_0x4b0c95[_0x395f52(0x210)],'sheetName':_0x4b0c95[_0x395f52(0x248)],'subUnitId':_0x4b0c95[_0x395f52(0x15a)],'range':_0x4b0c95[_0x395f52(0x24d)]}),_0x5babc4=new _0x24a6f0['PivotTable'](_0x51a806,void 0x0,_0x4caf85),_0x5b95d2=_0x51a806[_0x395f52(0x2d8)](),{rows:_0x3096e6,columns:_0x5e6e1d,filters:_0x521b55,values:_0x6befe2}=_0x2aec2d[_0x395f52(0x1ad)];_0x5babc4[_0x395f52(0x127)]();for(const {field:_0x2fa377,selectedItems:_0x45d645}of _0x3096e6||[]){const _0xe7419c=_0x5b95d2[_0x2fa377];if(_0xe7419c){const _0x115c8e=_0x5babc4['addFieldWithSourceId'](_0xe7419c,_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x352)]);_0x45d645&&_0x115c8e&&_0x5babc4[_0x395f52(0xd5)](_0x115c8e['getId'](),{'type':_0x24a6f0[_0x395f52(0x2fe)][_0x395f52(0x1ae)],'list':_0x45d645,'isAll':!0x1});}}for(const {field:_0x1293f7,selectedItems:_0x15157a}of _0x5e6e1d||[]){const _0x291a98=_0x5b95d2[_0x1293f7];if(_0x291a98){const _0x5db4f=_0x5babc4['addFieldWithSourceId'](_0x291a98,_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x14b)]);_0x15157a&&_0x5db4f&&_0x5babc4[_0x395f52(0xd5)](_0x5db4f[_0x395f52(0x242)](),{'type':_0x24a6f0[_0x395f52(0x2fe)]['ManualFilter'],'list':_0x15157a,'isAll':!0x1});}}for(const {field:_0x59714a,selectedItems:_0x293c8d}of _0x521b55||[]){const _0x452cc3=_0x5b95d2[_0x59714a];if(_0x452cc3){const _0x5f7a5f=_0x5babc4['addFieldWithSourceId'](_0x452cc3,_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x385)]);_0x293c8d&&_0x5f7a5f&&_0x5babc4[_0x395f52(0xd5)](_0x5f7a5f['getId'](),{'type':_0x24a6f0[_0x395f52(0x2fe)][_0x395f52(0x1ae)],'list':_0x293c8d,'isAll':!0x1});}}for(const {field:_0x41c02a,subTotalType:_0x46f93f,formatString:_0x476084}of _0x6befe2||[]){const _0x293a9f=_0x51a806[_0x395f52(0x2c7)](_0x5b95d2[_0x41c02a]);if(!_0x293a9f)continue;const _0x9e6dab=_0x5b95d2[_0x41c02a];if(_0x9e6dab){const _0x746fb6=_0x5babc4[_0x395f52(0x34f)](_0x9e6dab,_0x24a6f0[_0x395f52(0x2b6)][_0x395f52(0x11a)]);if(_0x746fb6){if(_0x46f93f!==void 0x0){_0x5babc4[_0x395f52(0x1a9)](_0x746fb6[_0x395f52(0x242)](),_0x46f93f);const _0x291d5e=this[_0x395f52(0x212)][_0x395f52(0x1b1)](_0x4b0c95[_0x395f52(0x210)])[_0x395f52(0x1d0)]()||_0x24a6f0['getAutoDisplayName'],_0x565b60=_0x51a806[_0x395f52(0x16a)](_0x9e6dab),_0x2a0754=_0x291d5e(_0x565b60,_0x46f93f);_0x5babc4[_0x395f52(0xb2)](_0x746fb6['getId'](),_0x2a0754);}else{if(_0x293a9f){const _0x44a815=_0x293a9f==null?void 0x0:_0x293a9f[_0x395f52(0x165)]();_0x5babc4['setSubtotalType'](_0x746fb6[_0x395f52(0x242)](),_0x44a815===_0x24a6f0[_0x395f52(0x1c8)][_0x395f52(0x209)]?_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x37a)]:_0x24a6f0[_0x395f52(0x1f5)][_0x395f52(0x28f)]);}}_0x476084&&_0x5babc4['setFieldFormat'](_0x746fb6['getId'](),_0x476084);}}}const _0x2703c0=_0x5babc4[_0x395f52(0x264)](),_0x35fce0=_0x5babc4[_0x395f52(0x10f)](),_0x4268c6=_0x5babc4[_0x395f52(0x35c)](),_0x5292cb=_0x5babc4['endCollectChangeset'](),_0x15fae3=_0x51a806[_0x395f52(0x10f)]();_0x4a387c[_0x395f52(0x2ec)]={'view':_0x2703c0,'fieldsConfig':_0x35fce0,'collectionConfig':_0x15fae3,'isEmpty':_0x4268c6,'changesets':_0x5292cb};}break;case _0x56b655[_0x395f52(0x1f7)]:{const _0xb46658=_0x23420b(this[_0x395f52(0x2f1)],_0x907c6);if(!_0xb46658)return;const {range:_0x5ca808,sourceSubUnitId:_0x7e7b4e,sourceUnitId:_0x3f5ae6,formatMap:_0x194f00,indexes:_0x1fafea}=_0xb46658;_0x4a387c[_0x395f52(0x1e1)]={'range':_0x5ca808,'sourceSubUnitId':_0x7e7b4e,'sourceUnitId':_0x3f5ae6,'formatMap':_0x194f00,'indexes':_0x1fafea};}break;}this[_0x395f52(0x399)][_0x395f52(0x294)](_0x193676['id'],{'version':_0x907c6[_0x395f52(0x24e)],'result':_0x4a387c},{'onlyLocal':!0x0});}));}[_0x43ed60(0x117)](){const _0x4d1fb4=_0x43ed60;this[_0x4d1fb4(0xaf)](this[_0x4d1fb4(0x399)][_0x4d1fb4(0x149)](_0x5a8dbf=>{const _0x41b86a=_0x4d1fb4;if(_0x5a8dbf['id']!==_0x34e502['id'])return;const _0x11706c=_0x5a8dbf[_0x41b86a(0x2c9)];return this[_0x41b86a(0x212)][_0x41b86a(0x10a)](_0x11706c[_0x41b86a(0xf4)]),!0x0;}));}[_0x43ed60(0x1d2)](){const _0x1b3d04=_0x43ed60;this[_0x1b3d04(0x212)][_0x1b3d04(0x38e)][_0x1b3d04(0x3ae)](_0x47694e=>{const _0x3214f3=_0x1b3d04;switch(_0x47694e[_0x3214f3(0x347)]){case _0x55be86[_0x3214f3(0xe9)]:_0x47694e[_0x3214f3(0x3ac)]&&_0x47694e[_0x3214f3(0x3a4)]&&this[_0x3214f3(0xb6)](_0x47694e['token'],_0x47694e[_0x3214f3(0x3ac)],_0x47694e[_0x3214f3(0x3a4)]);break;case _0x55be86[_0x3214f3(0x21c)]:{const {unitId:_0x1d6fd5,subUnitId:_0x1d4457,token:_0x205633}=_0x47694e;_0x1d6fd5&&_0x1d4457&&_0x205633&&this['removeSourceRangeChange'](_0x1d6fd5,_0x1d4457,_0x205633);}break;case _0x55be86[_0x3214f3(0x31c)]:{const {token:_0x2ea3cb,oldSourceRangeInfo:_0x1a7e07,dataRangeInfo:_0x53604b,targetCellInfo:_0x393532}=_0x47694e,{unitId:_0x5680d4,subUnitId:_0x4fe040}=_0x1a7e07||{};_0x5680d4&&_0x4fe040&&_0x2ea3cb&&this[_0x3214f3(0x2e9)](_0x5680d4,_0x4fe040,_0x2ea3cb),_0x53604b&&_0x393532&&this[_0x3214f3(0xb6)](_0x2ea3cb,_0x53604b,_0x393532);}break;}});}['_subjectFieldsCollectionChange'](){const _0x570586=_0x43ed60;this[_0x570586(0x212)][_0x570586(0x387)][_0x570586(0x3ae)](_0x454b9e=>{const _0xedb729=_0x570586;Object[_0xedb729(0x375)](_0x454b9e)[_0xedb729(0x2f8)](_0x4e3384=>{const _0x35ae57=_0xedb729,_0x5539b0=this['_sheetsPivotDataSourceModel'][_0x35ae57(0x367)](_0x4e3384);if(_0x5539b0){const _0x59fea2=this[_0x35ae57(0x212)][_0x35ae57(0x275)](_0x5539b0==null?void 0x0:_0x5539b0[_0x35ae57(0x210)],_0x5539b0==null?void 0x0:_0x5539b0[_0x35ae57(0x15a)],_0x4e3384);_0x59fea2&&(this[_0x35ae57(0xb6)](_0x4e3384,_0x59fea2[_0x35ae57(0x1af)],_0x59fea2[_0x35ae57(0x3a4)]),this['triggerDirtyFeature']([{'unitId':_0x5539b0[_0x35ae57(0x210)],'subUnitId':_0x5539b0[_0x35ae57(0x15a)],'token':_0x4e3384}]));}});});}[_0x43ed60(0x21e)](){const _0x4725f8=_0x43ed60;this['_sheetsPivotDataSourceModel'][_0x4725f8(0x9a)][_0x4725f8(0x3ae)](_0x4f656f=>{const {unitId:_0x25800c,subUnitId:_0x106156,pivotTableId:_0x2c5e4f}=_0x4f656f;_0x25800c&&_0x106156&&_0x2c5e4f&&this['triggerDirtyFeature']([{'unitId':_0x25800c,'subUnitId':_0x106156,'token':_0x2c5e4f}]);});}[_0x43ed60(0x353)](_0x4ca572){const _0x384326=_0x43ed60,_0x509bba={};_0x4ca572['forEach'](_0x3d0948=>{var _0x29e283,_0xe83763;const {unitId:_0x514228,subUnitId:_0x28d4ec,token:_0x457244}=_0x3d0948;_0x509bba[_0x514228]=(_0x29e283=_0x509bba[_0x514228])!=null?_0x29e283:{},_0x509bba[_0x514228][_0x28d4ec]=(_0xe83763=_0x509bba[_0x514228][_0x28d4ec])!=null?_0xe83763:{},_0x509bba[_0x514228][_0x28d4ec][_0x457244]=!0x0;}),this['_commandService'][_0x384326(0x294)](_0x1e4960['id'],_0x509bba);}['removeSourceRangeChange'](_0x24a0d1,_0x5d8eb5,_0x463a52){const _0x53acbf=_0x43ed60;this[_0x53acbf(0x1cf)][_0x53acbf(0x2e1)](_0x24a0d1,_0x5d8eb5,[_0x463a52]);}['handleSourceRangeChange'](_0x1756b8,_0x423852,_0x45b694){const _0x3db828=_0x43ed60,{unitId:_0x227221,subUnitId:_0x26ce25}=_0x423852;this['_featureCalculationManagerService']['has'](_0x45b694[_0x3db828(0x210)],_0x45b694[_0x3db828(0x15a)],_0x1756b8)&&this[_0x3db828(0x2e9)](_0x227221,_0x26ce25,_0x1756b8);const _0x280730={'sheetId':_0x26ce25,..._0x423852};this[_0x3db828(0x1cf)][_0x3db828(0x244)](_0x45b694[_0x3db828(0x210)],_0x45b694[_0x3db828(0x15a)],_0x1756b8,{'unitId':_0x45b694[_0x3db828(0x210)],'subUnitId':_0x45b694[_0x3db828(0x15a)],'dependencyRanges':[_0x280730],'getDirtyData':(_0x342aa6,_0x3c1fae)=>{const _0x4e6503=_0x3db828,_0xdda439=this[_0x4e6503(0x212)],_0x1c689b=_0xdda439[_0x4e6503(0x367)](_0x1756b8);if(!_0x1c689b)return _0x231ff0();const {unitId:_0x3030f7,subUnitId:_0x254b25}=_0x1c689b,_0x52e467=_0x57cd46(_0x342aa6,_0x3c1fae,_0x423852);if(_0x52e467['length']>0x0){const _0x55038e=_0xdda439[_0x4e6503(0x361)](_0x227221,_0x1756b8),_0x2cb247=_0x55038e['getFieldIds'](),_0x431273=this[_0x4e6503(0x26a)](_0x423852[_0x4e6503(0x210)],_0x423852[_0x4e6503(0x15a)],_0x3c1fae),_0x3a6848={},_0x11084=this[_0x4e6503(0x212)][_0x4e6503(0x1b1)](_0x3030f7)[_0x4e6503(0x1d0)]()||_0x24a6f0[_0x4e6503(0x1cc)],_0x2d479a=[];for(const _0x5b3544 of _0x52e467){const _0x4a727e=_0x5b3544-(_0x423852[_0x4e6503(0x24d)][_0x4e6503(0x135)]||0x0),_0x128f43=_0x2cb247[_0x4a727e];_0x2d479a['push'](_0x128f43),_0x3a6848[_0x128f43]=_0x55038e[_0x4e6503(0x2c7)](_0x128f43)[_0x4e6503(0xbe)](),_0xdda439[_0x4e6503(0x1b1)](_0x227221)['refreshDataField'](_0x128f43,_0x423852,_0x4a727e,_0x431273);}_0x55038e[_0x4e6503(0x311)](_0x2d479a)[_0x4e6503(0x2f8)](_0x458d2f=>{const _0x19aca4=_0x4e6503,[_0xced7da,_0x344a83]=_0x458d2f,_0x1956b2=_0x55038e['getFieldById'](_0xced7da),_0x267e3b=_0x55038e[_0x19aca4(0x2c7)](_0x344a83);_0x1956b2&&_0x267e3b&&_0x1956b2[_0x19aca4(0x151)](_0x267e3b);}),_0x55038e[_0x4e6503(0xd7)]();const _0x53a5e0=_0xdda439[_0x4e6503(0x1bf)](_0x1756b8);if(_0x53a5e0){_0x15a34d(_0x53a5e0,_0x3a6848,_0x11084),_0x53a5e0['setDirty'](!0x0);const _0x4d2595=_0x53a5e0['query'](),_0x52e03d=_0xdda439[_0x4e6503(0x275)](_0x3030f7,_0x254b25,_0x1756b8),_0xdc2ab9=_0xdda439[_0x4e6503(0x1b1)](_0x227221)[_0x4e6503(0x10f)]();_0xdda439['updateView'](_0x3030f7,_0x254b25,_0x1870de['Set'],_0x1756b8,_0x4d2595,_0x52e03d,_0xdc2ab9,!0x0);}}return this[_0x4e6503(0x2bf)](_0x3030f7,_0x254b25,_0x1756b8);}});}[_0x43ed60(0x26a)](_0x21ecaa,_0x240930,_0x1489c1){var _0x4e1e5a,_0x54ce40;const {arrayFormulaCellData:_0xac3f4c,unitData:_0x3c1c14}=_0x1489c1,_0x102996=(_0x4e1e5a=_0xac3f4c==null?void 0x0:_0xac3f4c[_0x21ecaa])==null?void 0x0:_0x4e1e5a[_0x240930],_0x4b5c8c=(_0x54ce40=_0x3c1c14==null?void 0x0:_0x3c1c14[_0x21ecaa])==null?void 0x0:_0x54ce40[_0x240930];return{'arrayFormulaCellDataMatrix':_0x102996,'unitDataMatrix':_0x4b5c8c};}[_0x43ed60(0x2bf)](_0x373146,_0x33f01f,_0x1f525f){const _0x40bfae=_0x43ed60,_0x94f7c=this[_0x40bfae(0x212)][_0x40bfae(0x18d)](_0x373146,_0x33f01f,_0x1f525f),_0x261849=[],_0x4e5a3f=new _0x3f1699[(_0x40bfae(0x2cb))]();if(_0x94f7c){const {rangeCache:_0x1c00d6,matrix:_0x228a73,oldRangeCache:_0x5d5842,oldMatrix:_0x5c979c}=_0x94f7c,_0x20f0b1=_0x3fa2d9(_0x5d5842),_0x44f3d7=_0x3fa2d9(_0x1c00d6);_0x261849['push'](..._0x44f3d7,..._0x20f0b1),_0x5c979c&&_0x5d5842&&_0x20f0b1[_0x40bfae(0x2f8)](_0x594c13=>{const _0x43f064=_0x40bfae;for(let _0x2d5687=_0x594c13[_0x43f064(0x13a)];_0x2d5687<=_0x594c13['endRow'];_0x2d5687++)for(let _0x181869=_0x594c13[_0x43f064(0x135)];_0x181869<=_0x594c13[_0x43f064(0x1dc)];_0x181869++)_0x4e5a3f[_0x43f064(0x235)](_0x2d5687,_0x181869);}),_0x228a73&&_0x44f3d7&&_0x44f3d7[_0x40bfae(0x2f8)](_0x4a9042=>{const _0x2b1c0c=_0x40bfae;for(let _0x362d72=_0x4a9042[_0x2b1c0c(0x13a)];_0x362d72<=_0x4a9042[_0x2b1c0c(0x18b)];_0x362d72++)for(let _0x20b023=_0x4a9042[_0x2b1c0c(0x135)];_0x20b023<=_0x4a9042[_0x2b1c0c(0x1dc)];_0x20b023++)_0x4e5a3f[_0x2b1c0c(0x297)](_0x362d72,_0x20b023,_0x228a73[_0x2b1c0c(0x381)](_0x362d72,_0x20b023));});}const _0x43f848={};return _0x43f848[_0x373146]={[_0x33f01f]:_0x2a939d(_0x261849)},{'runtimeCellData':{[_0x373146]:{[_0x33f01f]:_0x4e5a3f}},'dirtyRanges':_0x43f848};}[_0x43ed60(0x180)](){}};_0x500fea=_0x4fd81f([_0x4b20b6(0x0,_0x3f1699['Inject'](_0x89a8ec[_0x43ed60(0x1b5)])),_0x4b20b6(0x1,_0x3f1699[_0x43ed60(0x23e)]),_0x4b20b6(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x54af29['IFeatureCalculationManagerService'])),_0x4b20b6(0x3,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x163)])),_0x4b20b6(0x4,_0x3f1699[_0x43ed60(0x24f)](_0x54af29['GlobalComputingStatusService'])),_0x4b20b6(0x5,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x383)]))],_0x500fea);var _0x417cf7=Object[_0x43ed60(0x269)],_0x52fbc3=(_0x5498bf,_0x543dbe,_0x140de6,_0x3fd37c)=>{const _0x322684=_0x43ed60;for(var _0x31fb08=_0x3fd37c>0x1?void 0x0:_0x3fd37c?_0x417cf7(_0x543dbe,_0x140de6):_0x543dbe,_0x20e05e=_0x5498bf[_0x322684(0x27d)]-0x1,_0x157734;_0x20e05e>=0x0;_0x20e05e--)(_0x157734=_0x5498bf[_0x20e05e])&&(_0x31fb08=_0x157734(_0x31fb08)||_0x31fb08);return _0x31fb08;},_0x2a0b98=(_0x46dae8,_0x42e767)=>(_0x420f14,_0x241f8a)=>_0x42e767(_0x420f14,_0x241f8a,_0x46dae8);let _0x16f3f8=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x31f309,_0x4e6e6a,_0x1584aa,_0x3ac6e0){const _0x27ef3c=_0x43ed60;super(),_0x575f06(this,_0x27ef3c(0x29a),new _0x3f1699[(_0x27ef3c(0xa1))]()),(this['_univerInstanceService']=_0x31f309,this[_0x27ef3c(0x1c7)]=_0x4e6e6a,this[_0x27ef3c(0x1bb)]=_0x1584aa,this['_sheetsPivotTableConfigModel']=_0x3ac6e0,this[_0x27ef3c(0x246)]());}[_0x43ed60(0x246)](){const _0x39584c=_0x43ed60;this[_0x39584c(0xaf)](this['_sheetInterceptorService'][_0x39584c(0x307)]({'getMutations':_0x3da60c=>{const _0x592c7f=_0x39584c;if(_0x3da60c['id']===_0x1c7b09['ClearSelectionContentCommand']['id']||_0x3da60c['id']===_0x1c7b09['ClearSelectionAllCommand']['id']){const _0x2c9258=[],_0x5e0f30=[],_0x516d8b=this[_0x592c7f(0x1bb)][_0x592c7f(0x195)]()['map'](_0xf3020b=>_0xf3020b['range']),_0x105f7c=_0x1c7b09[_0x592c7f(0x11c)](this['_univerInstanceService']);if(!_0x105f7c)return{'redos':[],'undos':[]};const {unitId:_0x41f2fe,subUnitId:_0x1ee362}=_0x105f7c,_0x195e56={},_0x675230=this[_0x592c7f(0xd6)][_0x592c7f(0x39b)](_0x41f2fe,_0x1ee362);if(_0x675230!=null&&_0x675230['size'])for(const [_0x5d90c5,_0x581340]of _0x675230){const {unitId:_0x24832d,subUnitId:_0x4323b3,row:_0x1be074,col:_0x40e395}=_0x581340[_0x592c7f(0x3a4)];_0x24832d===_0x105f7c[_0x592c7f(0x210)]&&_0x4323b3===_0x105f7c[_0x592c7f(0x15a)]&&(_0x195e56[_0x1be074+'-'+_0x40e395]=_0x5d90c5);}return _0x516d8b&&_0x105f7c&&_0x516d8b[_0x592c7f(0x2f8)](_0x2a218b=>{const _0xbc9ea2=_0x592c7f;_0x3f1699['Range'][_0xbc9ea2(0x1aa)](_0x2a218b,(_0x3904e5,_0xee8488)=>{const _0x139168=_0xbc9ea2,_0x5d2dd8=_0x3904e5+'-'+_0xee8488;if(_0x195e56[_0x5d2dd8]){const _0x17bbce=_0x195e56[_0x5d2dd8];_0x2c9258['push']({'id':_0x3fa252['id'],'params':{'unitId':_0x41f2fe,'subUnitId':_0x1ee362,'pivotTableId':_0x17bbce}});const _0x232527=this[_0x139168(0xd6)]['getCollection'](_0x41f2fe,_0x17bbce),_0x3d8b00=this[_0x139168(0xd6)][_0x139168(0x275)](_0x41f2fe,_0x1ee362,_0x17bbce);_0x5e0f30['push']({'id':_0x158817['id'],'params':{'unitId':_0x41f2fe,'subUnitId':_0x1ee362,'pivotTableId':_0x17bbce,'pivotTableConfig':_0x3d8b00,'collectionConfig':_0x232527}});}});}),{'redos':_0x2c9258,'undos':_0x5e0f30};}return{'redos':[],'undos':[]};}}));}};_0x16f3f8=_0x52fbc3([_0x2a0b98(0x0,_0x3f1699['IUniverInstanceService']),_0x2a0b98(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x1c7b09[_0x43ed60(0x133)])),_0x2a0b98(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x1c7b09['SheetsSelectionsService'])),_0x2a0b98(0x3,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)]))],_0x16f3f8);var _0x536239=Object['getOwnPropertyDescriptor'],_0x4672a9=(_0x343c84,_0x44a7e4,_0x4bf06a,_0x12be58)=>{const _0x5110be=_0x43ed60;for(var _0x5c5d44=_0x12be58>0x1?void 0x0:_0x12be58?_0x536239(_0x44a7e4,_0x4bf06a):_0x44a7e4,_0x59e4ee=_0x343c84[_0x5110be(0x27d)]-0x1,_0x39bc92;_0x59e4ee>=0x0;_0x59e4ee--)(_0x39bc92=_0x343c84[_0x59e4ee])&&(_0x5c5d44=_0x39bc92(_0x5c5d44)||_0x5c5d44);return _0x5c5d44;},_0x40e43a=(_0x469605,_0x11d567)=>(_0x305202,_0x22b5e9)=>_0x11d567(_0x305202,_0x22b5e9,_0x469605);let _0x3fa19b=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x5368fa,_0x149e95,_0x3bed71,_0x380ef1,_0x46782f,_0x11070c){const _0x1ceaa1=_0x43ed60;super(),this[_0x1ceaa1(0x1da)]=_0x5368fa,this[_0x1ceaa1(0x1c7)]=_0x149e95,this[_0x1ceaa1(0x2f1)]=_0x3bed71,this[_0x1ceaa1(0x2dc)]=_0x380ef1,this[_0x1ceaa1(0xd6)]=_0x46782f,this[_0x1ceaa1(0x1a4)]=_0x11070c,this[_0x1ceaa1(0x20f)]();}[_0x43ed60(0x3a3)](_0x14686a,_0x26f22e,_0x3fdc67){const _0x4d6f56=_0x43ed60,{pageView:_0x2b75a0,cornerView:_0x7d05b,rowView:_0x59423b,colView:_0x1700c6,dataView:_0x22d523}=_0x26f22e,_0x466ae0=_0x14686a;let _0x4bcd1f;if(_0x3fdc67)_0x4bcd1f=[..._0x51080a(_0x466ae0)];else{const _0xe6e0e6=_0x3688e4(_0x466ae0,_0x2b75a0,!0x0),_0x3a09c0=_0x2b75a0[_0x4d6f56(0x121)]>=0x0?_0x2b75a0[_0x4d6f56(0x121)]+0x1:0x0,_0x3c9723=_0x7d05b[_0x4d6f56(0x140)],_0x4edb34=_0x7d05b[_0x4d6f56(0x19b)],_0x2845f3=_0xe6e0e6[_0x4d6f56(0x27d)]>0x0?_0x4cd667:0x0,_0x148c58=_0x3688e4({'row':_0x466ae0['row']+_0x3a09c0+_0x2845f3,'col':_0x466ae0['col']},_0x7d05b,!0x1,!0x1),_0x1cf204=_0x3688e4({'row':_0x466ae0['row']+_0x3a09c0+_0x2845f3+_0x3c9723,'col':_0x466ae0['col']},_0x59423b,!0x1,!0x0),_0x33431a=_0x3688e4({'row':_0x466ae0[_0x4d6f56(0x329)]+_0x3a09c0+_0x2845f3,'col':_0x466ae0['col']+_0x4edb34},_0x1700c6,!0x1,!0x0),_0x2398bb=_0x3688e4({'row':_0x466ae0['row']+_0x3a09c0+_0x2845f3+_0x3c9723,'col':_0x466ae0[_0x4d6f56(0x14c)]+_0x4edb34},_0x22d523,!0x1,!0x0);_0x4bcd1f=[..._0xe6e0e6,..._0x148c58,..._0x1cf204,..._0x33431a,..._0x2398bb];}return _0x4bcd1f;}[_0x43ed60(0x20f)](){const _0xbe9563=_0x43ed60;this['disposeWithMe'](this[_0xbe9563(0x1a4)][_0xbe9563(0x2f9)][_0xbe9563(0x188)](this[_0xbe9563(0x1a4)][_0xbe9563(0x2f9)][_0xbe9563(0x17b)]()[_0xbe9563(0x37c)],{'handler':(_0x18603d,_0x37710f)=>{const _0x2de937=_0xbe9563,{cellInfo:_0x35c635,view:_0x588dc9,isEmpty:_0x18abd0}=_0x37710f,_0x567861=_0x35c635,{unitId:_0xcb13de,subUnitId:_0xb0bc00}=_0x567861,_0x297cf0=this['_getPivotAppliedRanges'](_0x35c635,_0x588dc9,_0x18abd0),_0x488452=this[_0x2de937(0x1c7)][_0x2de937(0x1b2)]({'unitId':_0xcb13de,'subUnitId':_0xb0bc00,'ranges':_0x297cf0}),_0x35fbd8=_0x228cb9(this[_0x2de937(0x2f1)],_0xcb13de,_0xb0bc00,_0x297cf0);_0x35fbd8['shouldClear']&&(_0x488452[_0x2de937(0x245)][_0x2de937(0x182)](_0x35fbd8[_0x2de937(0xc4)]),_0x488452[_0x2de937(0x176)][_0x2de937(0x182)](_0x35fbd8[_0x2de937(0xd3)]));const _0x3f5161=this[_0x2de937(0x3a0)](_0x588dc9,_0x35c635);return _0x488452[_0x2de937(0x245)]['push'](..._0x3f5161[_0x2de937(0x245)]),_0x488452[_0x2de937(0x176)][_0x2de937(0x182)](..._0x3f5161[_0x2de937(0x176)]),{'redos':_0x488452[_0x2de937(0x245)],'undos':_0x488452[_0x2de937(0x176)]};}}));}[_0x43ed60(0x3a0)](_0x4c67d3,_0x1a5d99){const _0x38d40c=_0x43ed60,{col:_0x4cdfae,unitId:_0x634e60,subUnitId:_0x4dc39e}=_0x1a5d99,_0xfa7fba=[],_0x2f43a9=[],_0x3bc383=_0x1c7b09['getSheetCommandTarget'](this['_univerInstanceService'],{'unitId':_0x634e60,'subUnitId':_0x4dc39e});if(!_0x1a5d99||!_0x4c67d3||!_0x3bc383)return{'undos':_0x2f43a9,'redos':_0xfa7fba};const _0x1e09cf=this['_sheetsPivotTableConfigModel'][_0x38d40c(0x1a0)](),{colView:_0x45556c,dataView:_0x3e8869,cornerView:_0xf7cf84,rowView:_0x5e6095,formatMap:_0x3ff0de}=_0x4c67d3,_0x5414d1=_0x40f147(_0x45556c,_0x1e09cf,!0x0,_0x3ff0de),_0x1336dc=_0x40f147(_0x5e6095,_0x1e09cf,!0x1,_0x3ff0de),_0x2728bd=_0x838b47(_0x3e8869),_0x4c9187=_0xd435f9(_0xf7cf84),{worksheet:_0x385c9e}=_0x3bc383;if(typeof window<'u'&&window[_0x38d40c(0x326)]){const _0x4ca632=_0x340edc['getFontStyleString']({..._0x4939a9['colStyle']}),_0x5ebe2b=_0x340edc[_0x38d40c(0x104)][_0x38d40c(0x9d)](_0x5414d1,_0x4ca632)['width']+0x10,_0x263da8=_0x340edc[_0x38d40c(0x104)]['getTextSize'](_0x2728bd,_0x4ca632)['width'],_0x2606bf=Math[_0x38d40c(0x12f)](Math[_0x38d40c(0x144)](_0x5ebe2b,_0x263da8))+0x10,_0x3ff18a=Math[_0x38d40c(0x12f)](_0x340edc['FontCache'][_0x38d40c(0x9d)](_0x1336dc,_0x4ca632)['width']),_0x238bc9=Math[_0x38d40c(0x12f)](_0x340edc[_0x38d40c(0x104)][_0x38d40c(0x9d)](_0x4c9187,_0x4ca632)[_0x38d40c(0x1d9)]),_0x3f0f1d=Math[_0x38d40c(0x144)](_0x3ff18a,_0x238bc9,0x28)+0xc,_0x517891=_0x45556c[_0x38d40c(0x19b)]+_0xf7cf84[_0x38d40c(0x19b)],_0x5e1695={},_0x5a15a5={};for(let _0x269043=_0x4cdfae;_0x269043<_0x4cdfae+_0x517891;_0x269043++){const _0x3596b4=_0x385c9e[_0x38d40c(0xf3)](_0x269043);_0x5e1695[_0x269043]=_0x3596b4,_0x269043-_0x4cdfae<_0xf7cf84['colCount']?_0x5a15a5[_0x269043-_0x4cdfae]=_0x3f0f1d:_0x5a15a5[_0x269043-_0x4cdfae]=_0x2606bf;}_0xfa7fba[_0x38d40c(0x182)]({'id':_0x1c7b09[_0x38d40c(0x341)]['id'],'params':{'subUnitId':_0x4dc39e,'unitId':_0x634e60,'ranges':[{'startColumn':_0x4cdfae,'endColumn':_0x4cdfae+_0x517891-0x1,'startRow':0x0,'endRow':_0x385c9e[_0x38d40c(0x2b0)]()-0x1}],'colWidth':_0x5a15a5}}),_0x2f43a9[_0x38d40c(0x182)]({'id':_0x1c7b09[_0x38d40c(0x341)]['id'],'params':{'subUnitId':_0x4dc39e,'unitId':_0x634e60,'ranges':[{'startColumn':_0x4cdfae,'endColumn':_0x4cdfae+_0x517891-0x1,'startRow':0x0,'endRow':_0x385c9e[_0x38d40c(0x2b0)]()-0x1}],'colWidth':_0x5e1695}});}return{'undos':_0x2f43a9,'redos':_0xfa7fba};}};_0x3fa19b=_0x4672a9([_0x40e43a(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x27e)])),_0x40e43a(0x1,_0x3f1699['Inject'](_0x1c7b09[_0x43ed60(0x133)])),_0x40e43a(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x383)])),_0x40e43a(0x3,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x1b9)])),_0x40e43a(0x4,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)])),_0x40e43a(0x5,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xba)]))],_0x3fa19b);var _0x3a1b3f=Object[_0x43ed60(0x269)],_0x107260=(_0x20c52e,_0x376423,_0x383d69,_0x5b9476)=>{const _0x161fb0=_0x43ed60;for(var _0x43e100=_0x5b9476>0x1?void 0x0:_0x5b9476?_0x3a1b3f(_0x376423,_0x383d69):_0x376423,_0x1e54d9=_0x20c52e[_0x161fb0(0x27d)]-0x1,_0x1c9721;_0x1e54d9>=0x0;_0x1e54d9--)(_0x1c9721=_0x20c52e[_0x1e54d9])&&(_0x43e100=_0x1c9721(_0x43e100)||_0x43e100);return _0x43e100;},_0x3db426=(_0x470f5c,_0x57bc45)=>(_0x4239db,_0x6d78b8)=>_0x57bc45(_0x4239db,_0x6d78b8,_0x470f5c);let _0x14f8d7=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x2f0da7,_0x567a91,_0x4ecc21,_0x53801a,_0x5b5e45,_0x15094d,_0x4afa9b){const _0x3b790b=_0x43ed60;super(),_0x575f06(this,_0x3b790b(0x29a),new _0x3f1699[(_0x3b790b(0xa1))]()),(this[_0x3b790b(0x2f1)]=_0x2f0da7,this['_refRangeService']=_0x567a91,this[_0x3b790b(0x399)]=_0x4ecc21,this[_0x3b790b(0x2dc)]=_0x53801a,this[_0x3b790b(0xd6)]=_0x5b5e45,this[_0x3b790b(0x2cc)]=_0x15094d,this[_0x3b790b(0x1c7)]=_0x4afa9b,this['_onRefRangeChange']());}[_0x43ed60(0x191)](){const _0x33d25b=_0x43ed60,_0x225a3e=(_0x2d853d,_0x28d88f)=>{const _0x3031d1=_0xc6ae,_0x535907=this[_0x3031d1(0x2dc)][_0x3031d1(0x2a7)](_0x3f1699['UniverInstanceType']['UNIVER_SHEET']);if(!_0x535907||!(_0x535907==null?void 0x0:_0x535907['getSheetBySheetId'](_0x28d88f)))return;this[_0x3031d1(0x29a)][_0x3031d1(0x180)]();const _0x55ecdb=_0x3f75c1=>this[_0x3031d1(0x2a2)](_0x3f75c1,_0x2d853d,_0x28d88f),_0x54817e=this[_0x3031d1(0xd6)]['getSubUnitPivotConfigs'](_0x2d853d,_0x28d88f);if(!(_0x54817e!=null&&_0x54817e['size']))return;Array['from'](_0x54817e[_0x3031d1(0x213)]())[_0x3031d1(0xca)](_0xeb8d09=>{const _0x3d83ea=_0x3031d1,{row:_0x444a72,col:_0x380cff}=_0xeb8d09['targetCellInfo'];return _0x3f1699[_0x3d83ea(0x240)](_0x444a72,_0x380cff);})[_0x3031d1(0x2f8)](_0x4ac555=>{const _0x2d87a5=_0x3031d1;this[_0x2d87a5(0x29a)]['add'](this[_0x2d87a5(0x12e)][_0x2d87a5(0x267)](_0x4ac555,_0x55ecdb,_0x2d853d,_0x28d88f));});},_0x565f7d=()=>{const _0x17db9e=_0xc6ae,_0xed20f5=this[_0x17db9e(0x2dc)]['getCurrentUnitForType'](_0x3f1699[_0x17db9e(0x139)][_0x17db9e(0xfd)]);if(_0xed20f5){const _0x2aff14=_0xed20f5[_0x17db9e(0x25e)]();if(!_0x2aff14)return;_0x225a3e(_0xed20f5[_0x17db9e(0x330)](),_0x2aff14[_0x17db9e(0x344)]());}};this['disposeWithMe'](this[_0x33d25b(0x399)][_0x33d25b(0x149)](_0x395fd6=>{const _0x150cfe=_0x33d25b;if(_0x395fd6['id']===_0x1c7b09[_0x150cfe(0x1ce)]['id']){const _0x37adef=_0x395fd6[_0x150cfe(0x2c9)],_0x5ddf4c=_0x37adef[_0x150cfe(0x15a)],_0x58460e=_0x37adef[_0x150cfe(0x210)];if(!_0x5ddf4c||!_0x58460e)return;_0x225a3e(_0x58460e,_0x5ddf4c);}})),this['disposeWithMe'](this['_sheetsPivotTableConfigModel']['pivotInitCompleted$']['subscribe'](_0x34f650=>{_0x34f650&&_0x565f7d();})),this[_0x33d25b(0xaf)](this[_0x33d25b(0xd6)]['pivotConfigChange$'][_0x33d25b(0x3ae)](_0x3b8f7f=>{const _0x13c641=_0x33d25b,_0x1dc7e8=_0x1c7b09[_0x13c641(0x11c)](this['_univerInstanceService']);if(!_0x1dc7e8)return;const {unitId:_0x27a65a,subUnitId:_0x4e1d8}=_0x1dc7e8,{unitId:_0x1b679c,subUnitId:_0xbe6e43}=_0x3b8f7f;_0x27a65a!==_0x1b679c||_0x4e1d8!==_0xbe6e43||_0x225a3e(_0x27a65a,_0x4e1d8);})),_0x565f7d();}[_0x43ed60(0x2a2)](_0x385be6,_0x3b72d4,_0x39e86d){const _0x279762=_0x43ed60;switch(_0x385be6['id']){case _0x1c7b09[_0x279762(0x364)]['id']:return this[_0x279762(0x27b)](_0x385be6[_0x279762(0x2c9)],_0x3b72d4,_0x39e86d);}return{'redos':[],'undos':[]};}[_0x43ed60(0x27b)](_0x3f1d60,_0xa02e7c,_0x29943c){const _0x97737a=_0x43ed60,{fromRange:_0x2a46f5,toRange:_0x24c2ea}=_0x3f1d60,_0x5660de=[],_0x57c409=[],_0x44030e=_0x1c7b09[_0x97737a(0x11c)](this[_0x97737a(0x2dc)]);if(!_0x44030e)return{'undos':_0x57c409,'redos':_0x5660de};if(_0xa02e7c!==_0x44030e['unitId']||_0x29943c!==_0x44030e[_0x97737a(0x15a)])return{'undos':_0x57c409,'redos':_0x5660de};const _0x21181a=this[_0x97737a(0xd6)]['getSubUnitPivotConfigs'](_0xa02e7c,_0x29943c);if(_0x21181a!=null&&_0x21181a[_0x97737a(0x1e8)])for(const [_0x8ebd05,_0x28bde6]of _0x21181a){const {unitId:_0x1fd9fb,subUnitId:_0x558497,row:_0x1787b6,col:_0x41e96c}=_0x28bde6[_0x97737a(0x3a4)];if(_0x1fd9fb===_0x44030e[_0x97737a(0x210)]&&_0x558497===_0x44030e[_0x97737a(0x15a)]){const _0x3c85c1=_0x3f1699[_0x97737a(0x240)](_0x1787b6,_0x41e96c);if(_0x3f1699[_0x97737a(0x36b)]['intersects'](_0x3c85c1,_0x2a46f5)){const _0x1cda22=_0x1787b6-_0x2a46f5[_0x97737a(0x13a)],_0x431c49=_0x41e96c-_0x2a46f5[_0x97737a(0x135)],_0x5f4870={'row':_0x24c2ea[_0x97737a(0x13a)]+_0x1cda22,'col':_0x24c2ea['startColumn']+_0x431c49};_0x5660de[_0x97737a(0x182)]({'id':_0x118dc3['id'],'params':{'unitId':_0x1fd9fb,'subUnitId':_0x558497,'pivotTableId':_0x8ebd05,'targetCellPosition':_0x5f4870}}),_0x57c409[_0x97737a(0x182)]({'id':_0x118dc3['id'],'params':{'unitId':_0x1fd9fb,'subUnitId':_0x558497,'pivotTableId':_0x8ebd05,'targetCellPosition':{'row':_0x1787b6,'col':_0x41e96c}}});const _0x3b576c=_0x5f4870[_0x97737a(0x329)]-_0x1787b6,_0x1ccdf6=_0x5f4870[_0x97737a(0x14c)]-_0x41e96c,_0x548180=[],_0x418b3f=this['_sheetsPivotTableAdaptorModel']['getPivotItemRenderInfoCache'](_0x1fd9fb,_0x558497,_0x8ebd05),_0x124e0c=_0x418b3f==null?void 0x0:_0x418b3f[_0x97737a(0x250)];if(_0x124e0c){Object[_0x97737a(0x375)](_0x124e0c)[_0x97737a(0x2f8)](_0x26fcf6=>{const _0x476e57=_0x97737a;_0x124e0c[_0x26fcf6][_0x476e57(0x2f8)](_0x53e285=>{const _0x565f6e=_0x476e57,_0x2a2a62={..._0x53e285};_0x2a2a62['startRow']=_0x53e285['startRow']+_0x3b576c,_0x2a2a62[_0x565f6e(0x18b)]=_0x53e285['endRow']+_0x3b576c,_0x2a2a62[_0x565f6e(0x135)]=_0x53e285[_0x565f6e(0x135)]+_0x1ccdf6,_0x2a2a62[_0x565f6e(0x1dc)]=_0x53e285[_0x565f6e(0x1dc)]+_0x1ccdf6,_0x548180[_0x565f6e(0x182)](_0x2a2a62);});});const _0x29ca3c=this['_sheetInterceptorService'][_0x97737a(0x1b2)]({'unitId':_0x1fd9fb,'subUnitId':_0x558497,'ranges':_0x548180});_0x5660de[_0x97737a(0x182)](..._0x29ca3c[_0x97737a(0x245)]),_0x57c409['push'](..._0x29ca3c[_0x97737a(0x176)]);const _0x37135a=_0x228cb9(this[_0x97737a(0x2f1)],_0x1fd9fb,_0x558497,_0x548180);_0x37135a[_0x97737a(0x316)]&&(_0x5660de[_0x97737a(0x182)](_0x37135a['setRangeValueRedoMutation']),_0x57c409[_0x97737a(0x182)](_0x37135a[_0x97737a(0xd3)]));}}}}return{'redos':_0x5660de,'undos':_0x57c409};}};_0x14f8d7=_0x107260([_0x3db426(0x0,_0x3f1699['Inject'](_0x3f1699['Injector'])),_0x3db426(0x1,_0x3f1699['Inject'](_0x1c7b09[_0x43ed60(0x220)])),_0x3db426(0x2,_0x3f1699['ICommandService']),_0x3db426(0x3,_0x3f1699[_0x43ed60(0x1b9)]),_0x3db426(0x4,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)])),_0x3db426(0x5,_0x3f1699['Inject'](_0x89a8ec[_0x43ed60(0x1ef)])),_0x3db426(0x6,_0x3f1699[_0x43ed60(0x24f)](_0x1c7b09['SheetInterceptorService']))],_0x14f8d7);var _0x433747=Object[_0x43ed60(0x269)],_0x5d37e9=(_0x3731c6,_0x3eb1da,_0x2198db,_0x475482)=>{const _0x4fd1af=_0x43ed60;for(var _0x1db35b=_0x475482>0x1?void 0x0:_0x475482?_0x433747(_0x3eb1da,_0x2198db):_0x3eb1da,_0x6bf9fa=_0x3731c6[_0x4fd1af(0x27d)]-0x1,_0x14247d;_0x6bf9fa>=0x0;_0x6bf9fa--)(_0x14247d=_0x3731c6[_0x6bf9fa])&&(_0x1db35b=_0x14247d(_0x1db35b)||_0x1db35b);return _0x1db35b;},_0x54a561=(_0x4b123d,_0x15845c)=>(_0x5510b9,_0x31f9b6)=>_0x15845c(_0x5510b9,_0x31f9b6,_0x4b123d);let _0x5885e7=class extends _0x3f1699[_0x43ed60(0x2b8)]{constructor(_0x5ed089,_0x3b6148){const _0x42f896=_0x43ed60;super(),this[_0x42f896(0x1c7)]=_0x5ed089,this[_0x42f896(0xd6)]=_0x3b6148,this[_0x42f896(0x1ac)]();}['_initRemoveSheetCommandInterceptor'](){const _0x42f2dd=_0x43ed60;this[_0x42f2dd(0xaf)](this['_sheetInterceptorService'][_0x42f2dd(0x307)]({'getMutations':_0x22c40e=>{const _0x467185=_0x42f2dd;if(_0x22c40e['id']===_0x1c7b09[_0x467185(0x2d6)]['id']){const _0x542ee0=[],_0x4acebd=[],_0x1c37da=_0x22c40e['params'],{unitId:_0x23fb15,subUnitId:_0x44794f}=_0x1c37da;if(!_0x23fb15||!_0x44794f)return{'undos':_0x4acebd,'redos':_0x542ee0};const _0x4b79ff=this[_0x467185(0xd6)]['getSubUnitPivotConfigs'](_0x23fb15,_0x44794f);if(_0x4b79ff!=null&&_0x4b79ff[_0x467185(0x1e8)])for(const [_0x56f291,_0xcecca]of _0x4b79ff){_0x542ee0[_0x467185(0x182)]({'id':_0x3fa252['id'],'params':{'unitId':_0x23fb15,'subUnitId':_0x44794f,'pivotTableId':_0x56f291}});const _0x16919d={...this[_0x467185(0xd6)][_0x467185(0x361)](_0x23fb15,_0x56f291)};_0x4acebd[_0x467185(0x182)]({'id':_0x158817['id'],'params':{'unitId':_0x23fb15,'subUnitId':_0x44794f,'pivotTableId':_0x56f291,'pivotTableConfig':_0xcecca,'collectionConfig':_0x16919d}});}return{'redos':_0x542ee0,'undos':_0x4acebd};}return{'redos':[],'undos':[]};}}));}};_0x5885e7=_0x5d37e9([_0x54a561(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x1c7b09[_0x43ed60(0x133)])),_0x54a561(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec['SheetsPivotTableConfigModel']))],_0x5885e7);var _0x478b3e=Object['getOwnPropertyDescriptor'],_0x5b3cab=(_0x5e66cf,_0x2cadc0,_0x263248,_0x2b80a6)=>{for(var _0x4d8261=_0x2b80a6>0x1?void 0x0:_0x2b80a6?_0x478b3e(_0x2cadc0,_0x263248):_0x2cadc0,_0x43ec7b=_0x5e66cf['length']-0x1,_0x324e3d;_0x43ec7b>=0x0;_0x43ec7b--)(_0x324e3d=_0x5e66cf[_0x43ec7b])&&(_0x4d8261=_0x324e3d(_0x4d8261)||_0x4d8261);return _0x4d8261;},_0x843479=(_0x121c84,_0x5c0b2d)=>(_0x36c924,_0x12843c)=>_0x5c0b2d(_0x36c924,_0x12843c,_0x121c84);let _0xe8846f=class extends _0x3f1699['Disposable']{constructor(_0x264935,_0x21daf1,_0x37a39f,_0x1c2c14,_0x1b4f86,_0x52e876){const _0x44711a=_0x43ed60;super(),this['_commandService']=_0x264935,this[_0x44711a(0x314)]=_0x21daf1,this['_sheetsPivotTableAdaptorModel']=_0x37a39f,this[_0x44711a(0xd6)]=_0x1c2c14,this[_0x44711a(0x2dc)]=_0x1b4f86,this[_0x44711a(0x1b4)]=_0x52e876,this['_initDataSendListener'](),this[_0x44711a(0x286)]();}[_0x43ed60(0x125)](){const _0x270be4=_0x43ed60;this[_0x270be4(0xaf)](this['_commandService']['onCommandExecuted'](_0x4a1922=>{const _0x1a1a75=_0x270be4;if(_0x4a1922['id']!==_0x193676['id'])return;const _0x359fbc=_0x4a1922[_0x1a1a75(0x2c9)];this[_0x1a1a75(0x314)]['handleAsyncResponse'](_0x359fbc);})),this['disposeWithMe'](this[_0x270be4(0x399)][_0x270be4(0x149)](_0x51693a=>{const _0x5106b3=_0x270be4;if(_0x51693a['id']===_0x3ffdcd['id']){const _0x223ad7=_0x51693a[_0x5106b3(0x2c9)];if(_0x223ad7){const {unitId:_0x325df9,subUnitId:_0x44c989,oldSubUnitId:_0x33f19f,pivotTableId:_0x11a8b4,pivotTableConfig:_0xb408da,collectionConfig:_0x1f79c2}=_0x223ad7;this[_0x5106b3(0xd6)]['updateConfigCache'](_0x325df9,_0x33f19f,_0x223ad7[_0x5106b3(0x281)],null),this[_0x5106b3(0xd6)][_0x5106b3(0x2b5)](_0x325df9,_0x44c989,_0x11a8b4,_0xb408da),this[_0x5106b3(0xd6)][_0x5106b3(0x32a)](_0x325df9,_0x1f79c2);}}})),this[_0x270be4(0xaf)](this['_commandService']['onCommandExecuted'](_0x4a4359=>{const _0x2b02cc=_0x270be4;if(_0x4a4359['id']!==_0x4c5ebb['id'])return;const _0x57f8be=_0x1c7b09['getSheetCommandTarget'](this[_0x2b02cc(0x2dc)]);if(!_0x57f8be)return;const {unitId:_0x4f9276,subUnitId:_0x207505}=_0x57f8be,_0x1e2949=_0x4a4359[_0x2b02cc(0x2c9)];if(_0x1e2949[_0x2b02cc(0x25d)]&&Object[_0x2b02cc(0x375)](_0x1e2949[_0x2b02cc(0x25d)])['forEach'](_0x939951=>{const _0x525bfe=_0x2b02cc;var _0x520f27;(_0x520f27=_0x1e2949['collectionConfig'])!=null&&_0x520f27[_0x939951]&&this[_0x525bfe(0xd6)]['updateCollectionConfig'](_0x939951,_0x1e2949[_0x525bfe(0x25d)][_0x939951]);}),_0x1e2949[_0x2b02cc(0x28a)]){const _0x56c9d8=_0x1e2949['single'],{unitId:_0xe3d26c,subUnitId:_0x211f3e,view:_0x1f40d2,pivotTableId:_0x4200ea,type:_0x1f5823,pivotConfig:_0x2ad7a2}=_0x56c9d8;if(_0x1f5823===_0x1870de[_0x2b02cc(0x39e)])this['_sheetsPivotTableAdaptorModel'][_0x2b02cc(0x26b)]({'unitId':_0xe3d26c,'subUnitId':_0x211f3e,'pivotTableId':_0x4200ea,'type':_0x1f5823}),this[_0x2b02cc(0xd6)][_0x2b02cc(0x2b5)](_0xe3d26c,_0x211f3e,_0x4200ea,null);else{const _0x239456=new _0x24a6f0['PivotView']();_0x239456['formJSON'](_0x1f40d2),this[_0x2b02cc(0xd6)]['updateConfigCache'](_0xe3d26c,_0x211f3e,_0x4200ea,_0x2ad7a2),this[_0x2b02cc(0x2cc)]['clearRenderCache']({'unitId':_0xe3d26c,'subUnitId':_0x211f3e,'pivotTableId':_0x4200ea,'type':_0x1f5823,'view':_0x239456}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0xe3d26c,'subUnitId':_0x211f3e,'view':_0x239456,'pivotTableId':_0x4200ea,'type':_0x1f5823});}}else _0x1e2949[_0x2b02cc(0xcf)]&&(_0x1e2949[_0x2b02cc(0xcf)][_0x2b02cc(0x2f8)](_0x10a391=>{const _0x1f5e15=_0x2b02cc,{unitId:_0x459a2c,subUnitId:_0x2a2d09,view:_0x3b53fe,pivotTableId:_0x3f6e0e,type:_0x27b286,pivotConfig:_0x407869}=_0x10a391,_0x283328=new _0x24a6f0[(_0x1f5e15(0x25b))]();_0x283328[_0x1f5e15(0xd2)](_0x3b53fe),this[_0x1f5e15(0xd6)][_0x1f5e15(0x2b5)](_0x459a2c,_0x2a2d09,_0x3f6e0e,_0x407869),this[_0x1f5e15(0x2cc)][_0x1f5e15(0x27a)]({'unitId':_0x459a2c,'subUnitId':_0x2a2d09,'view':_0x283328,'pivotTableId':_0x3f6e0e,'type':_0x27b286});}),this['_sheetsPivotTableConfigModel'][_0x2b02cc(0x22a)]());this[_0x2b02cc(0x2cc)][_0x2b02cc(0x27f)](_0x4f9276,_0x207505);}));}[_0x43ed60(0x286)](){const _0x3d2e67=_0x43ed60;this[_0x3d2e67(0x1b4)][_0x3d2e67(0x244)](_0x1e4960['id'],{'commandId':_0x1e4960['id'],'getDirtyData'(_0x17a03c){const _0x41c62c=_0x3d2e67;return{'dirtyUnitFeatureMap':_0x17a03c[_0x41c62c(0x2c9)]};}});}};_0xe8846f=_0x5b3cab([_0x843479(0x0,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x163)])),_0x843479(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0x392)])),_0x843479(0x2,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0x1ef)])),_0x843479(0x3,_0x3f1699[_0x43ed60(0x24f)](_0x89a8ec[_0x43ed60(0xb3)])),_0x843479(0x4,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x1b9)])),_0x843479(0x5,_0x54af29[_0x43ed60(0x23a)])],_0xe8846f);var _0x3f129a=Object['defineProperty'],_0x5c2d19=Object['getOwnPropertyDescriptor'],_0x7a59de=(_0x1c2ab4,_0x14d99f,_0x546b6c)=>_0x14d99f in _0x1c2ab4?_0x3f129a(_0x1c2ab4,_0x14d99f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x546b6c}):_0x1c2ab4[_0x14d99f]=_0x546b6c,_0x3d1c83=(_0x461ac1,_0x1233e9,_0x44bb1d,_0x2d6d17)=>{const _0x52e9e8=_0x43ed60;for(var _0x247621=_0x2d6d17>0x1?void 0x0:_0x2d6d17?_0x5c2d19(_0x1233e9,_0x44bb1d):_0x1233e9,_0xf86544=_0x461ac1[_0x52e9e8(0x27d)]-0x1,_0x4f54dc;_0xf86544>=0x0;_0xf86544--)(_0x4f54dc=_0x461ac1[_0xf86544])&&(_0x247621=_0x4f54dc(_0x247621)||_0x247621);return _0x247621;},_0x12d9d2=(_0x228008,_0x183869)=>(_0x58a769,_0x1bf990)=>_0x183869(_0x58a769,_0x1bf990,_0x228008),_0x4b7164=(_0x408133,_0x1a7024,_0x431e0a)=>_0x7a59de(_0x408133,typeof _0x1a7024!=_0x43ed60(0x11f)?_0x1a7024+'':_0x1a7024,_0x431e0a);_0x89a8ec['UniverSheetsPivotTablePlugin']=class extends _0x3f1699[_0x43ed60(0x283)]{constructor(_0x4fec6f=_0x548652,_0x123cf8,_0xee879b,_0x25373f,_0x5ad637){const _0x27de31=_0x43ed60;super(),this[_0x27de31(0x9c)]=_0x4fec6f,this[_0x27de31(0x2f1)]=_0x123cf8,this[_0x27de31(0x399)]=_0xee879b,this['_configService']=_0x25373f,this[_0x27de31(0x3a2)]=_0x5ad637;const {..._0x5cf6ab}=_0x3f1699[_0x27de31(0xe0)]({},_0x548652,this['_config']);this['_configService'][_0x27de31(0x335)](_0x3b7866,_0x5cf6ab),this['_initRegisterCommand'](),this['_initConfig']();}[_0x43ed60(0xe5)](){const _0x4479c1=_0x43ed60;var _0x15864b;const _0x57e2c6=(_0x15864b=this[_0x4479c1(0x9c)])==null?void 0x0:_0x15864b[_0x4479c1(0x18a)];this[_0x4479c1(0x359)][_0x4479c1(0x335)](_0x57d9c3,_0x57e2c6===!0x0);}[_0x43ed60(0x317)](){const _0x2c9944=_0x43ed60;var _0x2c8650;let _0xde8d34=[];const _0x14299a=(_0x2c8650=this[_0x2c9944(0x9c)])==null?void 0x0:_0x2c8650['notExecuteFormula'];_0x14299a===!0x0?_0xde8d34=[[_0x89a8ec[_0x2c9944(0xba)]],[_0x89a8ec[_0x2c9944(0x392)]],[_0xe8846f],[_0x89a8ec['SheetsPivotTableAdaptorModel']],[_0x89a8ec[_0x2c9944(0xb3)]],[_0x5885e7],[_0x16f3f8],[_0x14f8d7],[_0x3fa19b]]:_0x14299a===!0x1?_0xde8d34=[[_0x89a8ec[_0x2c9944(0x1b5)]],[_0x500fea]]:_0x14299a===void 0x0&&(_0xde8d34=[[_0x89a8ec[_0x2c9944(0x1b5)]],[_0x500fea],[_0x89a8ec[_0x2c9944(0xba)]],[_0x89a8ec[_0x2c9944(0x392)]],[_0xe8846f],[_0x89a8ec[_0x2c9944(0x1ef)]],[_0x89a8ec[_0x2c9944(0xb3)]],[_0x5885e7],[_0x16f3f8],[_0x14f8d7],[_0x3fa19b]]),_0xde8d34[_0x2c9944(0x2f8)](_0x578cbc=>this[_0x2c9944(0x2f1)][_0x2c9944(0xe9)](_0x578cbc)),[_0x500fea,_0xe8846f,_0x89a8ec['SheetsPivotTableService'],_0x16f3f8,_0x5885e7,_0x14f8d7,_0x3fa19b][_0x2c9944(0x2f8)](_0x16c239=>{const _0x3b7644=_0x2c9944;this[_0x3b7644(0x2f1)][_0x3b7644(0x1d1)](_0x16c239)&&this[_0x3b7644(0x2f1)]['get'](_0x16c239);});}[_0x43ed60(0x2e8)](){const _0x2e2b8b=_0x43ed60;[_0x2355f0,_0xa736a1,_0x3f11e0,_0x1e7f27,_0x59be0b,_0x3af9ef,_0x427b3e,_0x1e7c51,_0x4df349,_0x1cf9cd,_0x1d8ad2,_0x3c72f3,_0x30bfee,_0x55ad53,_0x158817,_0x6eb560,_0x3fa252,_0x2683fb,_0x50e961,_0x3d58af,_0x32fa40,_0x4c4039,_0x33ff97,_0x4d2e93,_0xdc2a8,_0x1082bc,_0x118dc3,_0x5cd217,_0x193676,_0x4c5ebb,_0x1389af,_0xad2258,_0x47dd65,_0x574c2c,_0x34e502,_0x100c03,_0x344faf,_0x1e4960,_0x3ffdcd,_0x1cacdd,_0x56fe20,_0x3c2f81,_0x4106d8][_0x2e2b8b(0x2f8)](_0x5d0b47=>{const _0x481a48=_0x2e2b8b;var _0x3d202e;(_0x3d202e=this[_0x481a48(0x3a2)])==null||_0x3d202e[_0x481a48(0x20e)](_0x5d0b47),this[_0x481a48(0x399)]['registerCommand'](_0x5d0b47);});}},_0x4b7164(_0x89a8ec[_0x43ed60(0x25c)],_0x43ed60(0x2dd),_0x1cc3eb),_0x4b7164(_0x89a8ec[_0x43ed60(0x25c)],_0x43ed60(0x347),_0x3f1699[_0x43ed60(0x139)]['UNIVER_SHEET']),_0x89a8ec[_0x43ed60(0x25c)]=_0x3d1c83([_0x3f1699['DependentOn'](_0x48414d['UniverLicensePlugin']),_0x12d9d2(0x1,_0x3f1699[_0x43ed60(0x24f)](_0x3f1699[_0x43ed60(0x383)])),_0x12d9d2(0x2,_0x3f1699['Inject'](_0x3f1699[_0x43ed60(0x163)])),_0x12d9d2(0x3,_0x3f1699[_0x43ed60(0x23e)]),_0x12d9d2(0x4,_0x3f1699[_0x43ed60(0x1fe)](_0x59f156[_0x43ed60(0x334)]))],_0x89a8ec[_0x43ed60(0x25c)]),_0x89a8ec[_0x43ed60(0x277)]=_0x3f11e0,_0x89a8ec['AddPivotFieldMutation']=_0x2683fb,_0x89a8ec[_0x43ed60(0x253)]=_0xa736a1,_0x89a8ec['AddPivotTableMutation']=_0x158817,_0x89a8ec[_0x43ed60(0x23c)]=_0x2355f0,_0x89a8ec['BLANK_ROW_COUNT']=_0x4cd667,_0x89a8ec[_0x43ed60(0xac)]=_0x53ba46,_0x89a8ec[_0x43ed60(0x205)]=_0x1e7f27,_0x89a8ec[_0x43ed60(0x31f)]=_0x30bfee,_0x89a8ec['PivotDisplayDataType']=_0x56b655,_0x89a8ec[_0x43ed60(0x363)]=_0x55ad53,_0x89a8ec['PivotTableOperationEnum']=_0x1870de,_0x89a8ec[_0x43ed60(0x243)]=_0x1e4960,_0x89a8ec[_0x43ed60(0xdb)]=_0x581236,_0x89a8ec['RemovePivotFieldCommand']=_0x59be0b,_0x89a8ec[_0x43ed60(0x103)]=_0x4c4039,_0x89a8ec[_0x43ed60(0x28d)]=_0x3fa252,_0x89a8ec[_0x43ed60(0x388)]=_0x33ff97,_0x89a8ec[_0x43ed60(0x16f)]=_0x4106d8,_0x89a8ec[_0x43ed60(0xc7)]=_0x3b7866,_0x89a8ec['SHEET_PIVOT_TABLE_PLUGIN']=_0x1cc3eb,_0x89a8ec[_0x43ed60(0x1e4)]=_0x1e7c51,_0x89a8ec[_0x43ed60(0x33d)]=_0x4d2e93,_0x89a8ec[_0x43ed60(0xc0)]=_0x574c2c,_0x89a8ec[_0x43ed60(0x181)]=_0x3c2f81,_0x89a8ec['SetPivotFilterCommand']=_0x1cf9cd,_0x89a8ec[_0x43ed60(0x183)]=_0x32fa40,_0x89a8ec[_0x43ed60(0x162)]=_0x1082bc,_0x89a8ec['SetPivotPositionMutation']=_0x118dc3,_0x89a8ec['SetPivotSortCommand']=_0x4df349,_0x89a8ec[_0x43ed60(0x16d)]=_0xdc2a8,_0x89a8ec[_0x43ed60(0x29d)]=_0x47dd65,_0x89a8ec[_0x43ed60(0x378)]=_0x1cacdd,_0x89a8ec[_0x43ed60(0x36c)]=_0x56fe20,_0x89a8ec[_0x43ed60(0x304)]=_0x427b3e,_0x89a8ec[_0x43ed60(0x174)]=_0x1389af,_0x89a8ec['UpdatePivotFieldSettingCommand']=_0x1d8ad2,_0x89a8ec[_0x43ed60(0xec)]=_0x344faf,_0x89a8ec[_0x43ed60(0xdc)]=_0x3c72f3,_0x89a8ec[_0x43ed60(0x2c2)]=_0x100c03,_0x89a8ec[_0x43ed60(0x119)]=_0x3af9ef,_0x89a8ec[_0x43ed60(0xce)]=_0xad2258,_0x89a8ec[_0x43ed60(0x1a6)]=_0x122330,_0x89a8ec['canUsePivot']=_0x35e5f9,_0x89a8ec[_0x43ed60(0x153)]=_0x4939a9,_0x89a8ec['generateSetRangeValueMutations']=_0x228cb9,_0x89a8ec[_0x43ed60(0x25a)]=_0x3688e4,_0x89a8ec[_0x43ed60(0x29f)]=_0x51080a,_0x89a8ec[_0x43ed60(0x231)]=_0x10b759,_0x89a8ec[_0x43ed60(0xf1)]=_0x34a7f9,_0x89a8ec[_0x43ed60(0x1de)]=_0x4e2eec,_0x89a8ec[_0x43ed60(0x138)]=_0xa1005d,_0x89a8ec['getPivotTableInfo']=_0x34c403,_0x89a8ec[_0x43ed60(0x1be)]=_0x2a897d,_0x89a8ec['unionPivotViewRange']=_0x3fa2d9,Object[_0x43ed60(0x2f3)](_0x89a8ec,Symbol['toStringTag'],{'value':_0x43ed60(0x1b8)});}));function _0xc6ae(_0x333181,_0xec30e1){const _0x28fa73=_0x28fa();return _0xc6ae=function(_0xc6ae32,_0x5b5215){_0xc6ae32=_0xc6ae32-0x97;let _0x18936e=_0x28fa73[_0xc6ae32];return _0x18936e;},_0xc6ae(_0x333181,_0xec30e1);}function _0x28fa(){const _0x3aacac=['_sheetsPivotTableAdaptorModel','FORCE_STRING','getStyles','node','setPivotTable','Varp\x20of\x20','_ensurePivotTableRangeInfo','SetSubtotalType','setPivotCollapse','rowFields','RemoveSheetCommand','sheet.mutation.set-pivot-option','getFieldIds','columnFields','SHEET_PIVOT_TABLE_PLUGIN','Collapse','_univerInstanceService','pluginName','getFilterFieldIdByIndex','#e6ebfb','createLabelField','remove','isFeatureAuthorizedWithinTime','resetArea','getPivotItemRenderInfoCache','tableFieldId','getSheets','removeValueFilterInfo','_initRegisterCommand','removeSourceRangeChange','setDisplayName','sheet.mutation.send-init-pivot-text-local','addPivotTableWithConfig','RemovePivotField','getFieldPositionInfoById','Sum\x20of\x20','SetRangeValuesMutation','_injector','handleAsyncResponse','defineProperty','onQueryStart','_ensurePivotItemRenderInfoCache','min','getMatrix','forEach','interceptor','result','countNums','PivotErrorTypeEnum','getFieldFormat','PivotFilterTypeEnum','_pivotInitCompleted$','fetchThroughAsyncInterceptors','YearQuarter','isValue','#e6ebfa','UpdateDateGroupCommand','getCellMatrix','sheets-pivot.emptyPivot.filter','interceptCommand','PivotTable','rangeKey','531svvHTb','getSubUnitPivotMatrix','BadReference','DIV_BY_ZERO','Date','getConfig','handleMoveRange','getGroupFieldsInfoByIds','cornerStyle','_configVersion$','_sheetsPivotRpcService','sheet.mutation.remove-pivot-table','shouldClear','onStarting','unshift','NotName','column','1839806VMMckB','update','setPivotFilter','_ensurePivotMap','MovePivotTableCommand','updateDataFieldsCollection','RenameField','registerPluginResource','AddPivotField','excelDateToUnixMilliseconds','getDataFieldByRangeKey','document','fromJSON','BaseGroupField','row','updateCollectionConfig','sheet.mutation.update-pivot-table-source-range','level','pivotPerformCheck','UpdatePivotSource','removeField','getUnitId','initDataRanges','_globalComputedStartHelpFunc','sheet.mutation.set-pivot-field-subtotal-type','DataSyncPrimaryController','setConfig','getFormatInfo','queryDirtyPivotTable','_host','rangeKeyMap','fieldIds','get','SetPivotTableConfig','SetPivotCollapseMutation','mergeWorksheetSnapshotWithDefault','@univerjs/sheets','getRangeStartEndInfo','SetWorksheetColWidthMutation','value','setDataRecordCount','getSheetId','UniverProLicense','sheet.mutation.update-date-group','type','getRangeData','isDateValue','var','_viewData','isNaN','_markDirty$','getIntersects','addFieldWithSourceId','getFieldInfo','updatePivotSource','Row','triggerDirtyFeature','PivotDateGroupFieldDateTypeEnum','_initLocale','ResetPivotTable','UniverSheetsFilter','sheets-pivot.dateGroup.yearQuarter','_configService','getUnit','getValueFilterInfos','isEmpty','_exclusiveRangeService','#1d32e9','some','_init','getCollection','_ensurePivotTableMatrixInfo','PivotDrillDownCommand','MoveRangeCommand','generateRandomId','grandTotal','getTargetByPivotId','pushUndoRedo','_viewUpdate$','_pivotConfigChange$','Rectangle','SetPivotValueFilterMutation','forValue','unshiftString','body','GrandTotal','addExclusiveRange','addField','sheets-pivot.value','valueIndex','keys','includes','#f4f4f5','SetPivotValueFilterCommand','collections','sum','sheets-pivot.maxName','PIVOT_MUTATION_GENERATE','deleteDataField','_pivotRenderValueMatrixCache','addDataFieldWithoutUnitInfo','sheets-pivot.dateGroup.month','getValue','colInfo','Injector','113512uLCxEw','Filter','updateValuePosition','fieldsCollectionChange$','RenamePivotFieldMutation','sheets-pivot.cellDateGroupDisplay.yearQuarter','getMatrixValue','string','RemoveSheetsFilterMutation','_fieldsCollectionChange$','collectionChange$','sheet.mutation.pivot-update-field-source-info','updateViewInfo','getSourceName','SheetsPivotRPCService','getPivotTableIdByCell','MoveRangeMutation','3ShRJxT','dataStream','hasField','blank','_commandService','sheets-pivot.dateGroup.yearMonthDate','getSubUnitPivotConfigs','Expand','lastCol','Delete','isColMultiMeasure','getAutoFitColumnsMutations','sheets-pivot.cellDateGroupDisplay.hour','_dataSyncPrimaryController','_getPivotAppliedRanges','targetCellInfo','AddPivotTable','sheet.command.add-pivot-table-with-config','setPivotSort','_pivotTableInstanceCache','_generateUniqueVersion','Year','sheet.mutation.set-pivot-format','dataRangeInfo','Count\x20of\x20','subscribe','fontRenderExtension','createCollectionWithDataRange','valuePosition','fields','viewData$','YearMonthDate','_config','getTextSize','YearMonth','UniverSheets','ReleaseType','DisposableCollection','setDateType','Quarter','_deleteModelCache','dataFields','_globalComputedEndHelpFunc','getSheetBySheetName','pbt','removePivotField','sheet.mutation.add-pivot-field','MonthDate','DEFAULT_PIVOT_NUMBER','getDataFieldByTableId','sheet.command.update-date-group','disposeWithMe','dataStyle','PivotTableValuePositionEnum','renameField','SheetsPivotTableConfigModel','COMMAND','needSameDeleteModel','handleSourceRangeChange','dateType','getSheetFeatureLimit','refreshDataField','SheetsPivotTableService','addPivotField','getRangeKey','rgb(240,241,243)','getName','rowStyle','SetPivotFieldFormatMutation','setRange','BehaviorSubject','sheets-pivot.emptyPivot.values','setRangeValueRedoMutation','InsertColMutation','exports','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','sheets-pivot.minName','HourMinute','map','rgb(255,255,255)','Month','SetPivotSort','UpdateValuePositionMutation','batch','splice','_deletePivotTableInstanceCache','formJSON','setRangeValueUndoMutation','#eceeff','setLabelFilterInfo','_sheetsPivotTableConfigModel','updateAllDisplayName','colRanges','sheets-pivot.dateGroup.year','221501qfCZKP','PositionType','UpdatePivotTableSourceRangeCommand','getIndexesByPathStr','getValuePosition','panel','merge','getHeaderMapItem','headerMap','SHEET_PIVOT_IN_MAIN_THREAD','sheets-pivot.columnName','_initConfig','getFormat','_resourceManagerService','UpdateSource','add','dataFieldId','rowRanges','UpdatePivotFieldSourceInfoMutation','_collectionConfigModel','sheet.command.remove-pivot-field','UniverProEnginePivot','Set','getInsertRowColMutations','isText','getColumnWidth','textInfo','deepClone','leafStyle','setValuePivotFilter','refreshData','getFilterInfo','sheet.mutation.set-pivot-position','find','asObservable','UNIVER_SHEET','info','from','StdDevp\x20of\x20','getTypeOfUnitDisposed$','updateDirtyPivotTable','RemovePivotFieldMutation','FontCache','Minute','displayName','setCollapse','DEFAULT_WORKSHEET_COLUMN_COUNT','updateFieldPosition','setTextInfo','InsertSheetMutation','sheet.mutation.set-pivot-sort-info','slice','sheets-pivot.cellDateGroupDisplay.minute','toJSON','Panel','DEFAULT_WORKSHEET_ROW_COUNT','name','subTotalStyle','colStyle','reduce','getLastRow','_initPivotTextInfo','Div0','UpdatePivotValuePositionCommand','Value','Add','getSheetCommandTarget','getSheetBySheetId','AddPivotTableWithConfig','symbol','iterateFieldByArea','lastRow','substring','contains','NAME','_initDataSendListener','MAX_SAFE_INTEGER','startCollectChangeset','sheet.mutation.pivot-update-field-position','_initUnitDisposed','184112xMuDsg','getColCount','sheet.mutation.add-pivot-table','workbook\x20is\x20not\x20found','_refRangeService','floor','CellValueType','26491872ebQuTs','IExclusiveRangeService','SheetInterceptorService','_textInfo','startColumn','FieldsCollection','1118402tQtUsZ','getPivotInfoByLicense','UniverInstanceType','startRow','return\x20','setSortInfo','sheets-pivot.cellDateGroupDisplay.hourMinute','Existing','getPivotTableMatrixInfo','rowCount','sortInfo','InsertRowMutation','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','max','getTableFieldById','_queryingMap','adjustSheetCellData','_createExclusiveRange','onCommandExecuted','(Blank)','Column','col','getformat','sheet.mutation.rename-pivot-field','UpdateValuePosition','SetFieldFormat','refreshGroupField','getDataFieldBySourceName','defaultThemeStyle','getSubUnitPivotRenderCache','areaInfo','isBaseGroupField','getLastCol','configVersion$','asyncInterceptor','subUnitId','RemoveSheetMutation','_requestResolvers','_pivotTableMatrixInfo','_globalSubject','115zqXROW','sheets-pivot.dateGroup.quarter','sheets-pivot.dateGroup.hourMinute','SetPivotOptionMutation','ICommandService','SetValueFilter','getFieldDataType','average','SetPivotSetting','getDataFieldItemInfo','entries','getDisplayName','@univerjs/core','valueFields','SetPivotSortMutation','addCollection','ResetPivotFieldsConfigCommand','movePivotField','originalFieldId','deleteField','_updateModelCache','UpdateFieldPositionMutation','error','undos','sheet.mutation.add-group-collection','removeCollections','getColumnCount','Max\x20of\x20','getInterceptPoints','isDateGroupFieldJSON','_pivotRenderInfoCache','sideEffectUpdateWorkerCache','minDate','dispose','SetPivotFieldsConfigCommand','push','SetPivotFilterMutation','#FFFFFF','createDataFieldId','UniverProSheetsPivot','data','intercept','CELL_CONTENT','notExecuteFormula','endRow','hasOwnProperty','getViewData','createValueField','sheet.command.set-pivot-value-filter','RemoveColMutation','_onRefRangeChange','getTargetByPivotTableId','pivotTableConfigs','forRow','getCurrentSelections','fieldId','replace','getSortInfo','setRangeKeyMap','setFieldFormat','colCount','NUMBER','Product\x20of\x20','oldMatrix','generateNullCell','getTextInfo','SetPivotFilter','stdDevp','getDataFieldByDataFieldId','_sheetsPivotTableService','New','applyChangeSet','valueFilter','paths','setSubtotalType','foreach','dimension','_initRemoveSheetCommandInterceptor','pivotTableIndexConfig','ManualFilter','sourceRangeInfo','concat','getDataFieldManager','generateMutationsByRanges','sheets-pivot.averageName','_activeDirtyManagerService','SheetsPivotDataSourceModel','_dataFieldManagerCollection','cellValue','Module','IUniverInstanceService','removeCollectionImp','_sheetsSelectionsService','updateFieldSourceInfo','split','transFromCellValue','getPivotTableInstance','pivotInitCompleted$','updateConfig','sheets-pivot.cellDateGroupDisplay.month','addCollectionByJSON','parseInt','generateHexNumber','ErrorType','_sheetInterceptorService','PivotDataFieldDataTypeEnum','numfmt','isArray','CommandType','getAutoDisplayName','cornerInfo','SetWorksheetActiveOperation','_featureCalculationManagerService','getAutoDisplayNameFunction','has','_subjectCollectionChange','PivotViewCellValueTypeEnum','getSubtotal','54kpYGza','sheets-pivot.dateGroup.date','updatePivotTableRangeInfo','fieldsConfig','width','_localeService','sheet.command.set-pivot-filter','endColumn','message','getPivotCellInfo','prototype','MIN_SAFE_INTEGER','drillDown','_updateRenderEmptyCache','rowInfo','SetPivotCollapseCommand','pivotMutationGenerate','None','PivotMultipleValueId','size','LifecycleService','function','sheet.command.add-pivot-table','_toJSON','sheet.mutation.set-pivot-filter','Subject','SheetsPivotTableAdaptorModel','updateRangeKeyMap','iterateField','INTERCEPTOR_POINT','5262940QFovhQ','dataFieldManagerConfig','PivotSubtotalTypeEnum','rangeCache','DrillDown','rxjs','sheets-pivot.blank','InsertSheetUndoMutationFactory','clearExclusiveRangesByGroupId','NotNumber','@univerjs/sheets-filter','Optional','measure','RemoveField','_updatePivotTableInstanceCache','_subjectFieldsCollectionChange','parse','setPivotSetting','MovePivotFieldCommand','updatePivotTableMatrixInfo','uniqueDataFieldName','UpdateFieldPosition','number','getRangeKeyList','getPivotDisplayConfig','sheets-pivot.sumName','charCodeAt','registerSyncingMutations','_initCommandInterceptListener','unitId','getOriginFieldId','_sheetsPivotDataSourceModel','values','@univerjs-pro/license','rangeType','_initSnapshot','STRING','_collectionChange$','SetValuePivotFilter','NORMAL','Tools','delete','endCollectChangeset','_subjectViewChange','dataFieldsCollection','RefRangeService','SHEET_PIVOT_EXCLUSIVE_ID','sheets-pivot.cellDateGroupDisplay.yearMonthDate','setPivotTableConfig','getPivotTableCellData','InterceptorEffectEnum','Var\x20of\x20','sheets-pivot.stdDevpName','LS_CONFIG_KEY','Average\x20of\x20','setPivotInitCompleted','fetchThroughInterceptors','ΣValue','getCellRaw','filterInfo','sequenceExecute','IResourceManagerService','getFieldListByArea','addDirtyPivotTable','deleteUnitId','Style','realDeleteValue','sheet.command.pivot-drill-down','InsertSheetCommand','PivotCallbackEnum','versions','IActiveDirtyManagerService','tuple','AddPivotTableWithConfigCommand','_initViewModelBySheetInterceptor','IConfigService','collapseInfo','cellToRange','colHeaderMap','getId','PivotTableViewDirtyMarkOperation','register','redos','_initClearSelectionCommandInterceptor','getFieldCountByArea','sheetName','sheet.mutation.remove-group-collection','setSourceName','_ensurePivotItemRenderValueMatrixCache','MUTATION','range','version','Inject','rangesInfo','getValueIndex','stringify','AddPivotTableCommand','AsyncInterceptorManager','numberToABC','getDate','filterId','updateViewData','updateView','getAdjustRangesPosition','PivotView','UniverSheetsPivotTablePlugin','collectionConfig','getActiveSheet','SetOptions','addRecord','getIntersectsPivotTable','Min\x20of\x20','sheet.command.reset-pivot-fields-config','query','ptn','broadcastCollectionChange','registerRefRange','_model','getOwnPropertyDescriptor','getMatrixFromRunTimeData','clearRenderCache','getPivotTableModelConfig','MovePivotField','_ensureViewDataMap','sheet.mutation.pivot-update-value-position','prefix','createInterceptorKey','RemoveRowMutation','set','Grand\x20Total','getPivotTableConfig','sheet.command.set-pivot-field-setting','AddPivotFieldCommand','new','registerCallbackWithEvent','updateRenderCache','getRefRangeMutationsByMoveRange','valid','length','LocaleService','markDirty','resetPivotTable','pivotTableId','CustomCommandExecutionError','Plugin','getPivotDirtyViewInfo','_viewData$','registerDirtyService','_initPivotDataGetListener','matrix','UniverRpc','single','generateNewSheetName','sheets-pivot.countNumsName','RemovePivotTableMutation','options','count','Total','getDataFieldId','sheets-pivot.subTotal','sheet.mutation.get-pivot-data-local','executeCommand','PivotTableChangeTypeEnum','subtotal','setValue','limit\x20pivot','@univerjs/engine-formula','disposableCollection','rowHeaderMap','Hour','SetPivotSubtotalTypeMutation','REF','getEmptyPivotRanges','date','removeValueFilterInfoByValueFieldId','_refRangeHandle','filter','setOptions','reset','getPivotTableRangeInfo','getCurrentUnitForType','custom','IUndoRedoService','sheet.command.update-pivot-table-source-range','getUpdateRangeDeleteIds','format','isBottomTotal','pageRanges','@univerjs/rpc','getRowCount','sheet.mutation.send-pivot-view-local','addPivotTable','setName','getPivotPerformCheck','updateConfigCache','PivotTableFiledAreaEnum','sheets-pivot.dateGroup.minute','Disposable','setValueFilterInfo','object','isPrefixValue','SetSortInfo','Values','sheets.tabs.sheet','getDirtyInfo','UniverCore','PivotCellStyleTypeEnum','UpdatePivotTableSourceRangeMutation','Subtotal','next','_pivotTableRangeInfo','removeDataField','getFieldById','SetPivotCollapse','params','#b2b2b2','ObjectMatrix'];_0x28fa=function(){return _0x3aacac;};return _0x28fa();}
|
|
1
|
+
function _0x1eec(){const _0x335d16=['ResetPivotTable','Rectangle','_sheetsPivotRpcService','_resourceManagerService','UniverProSheetsPivot','SetPivotPositionMutation','sheets-pivot.grandTotal','uniqueDataFieldName','DisposableCollection','_dataSyncPrimaryController','IExclusiveRangeService','PIVOT_MUTATION_GENERATE','_sheetsPivotDataSourceModel','limit\x20pivot','addField','setSubtotalType','rangeType','RemovePivotField','LocaleService','numberToABC','count','stringify','@univerjs/rpc','setRangeValueUndoMutation','collections','sheets-pivot.blank','isErrorValue','CommandType','sheets-pivot.cellDateGroupDisplay.yearQuarter','_initDataSendListener','addRecord','var','_commandService','getDirtyInfo','has','COLUMN','handleSourceRangeChange','Values','row','UniverInstanceType','SetPivotFieldsConfigCommand','sheets-pivot.dateGroup.yearMonthDate','_ensurePivotTableMatrixInfo','PivotFilterTypeEnum','getPivotCellInfo','getIntersectsPivotTable','getAutoFitColumnsMutations','min','removeCollectionImp','isValue','PivotTable','setPivotTable','UpdateDateGroupCommand','_initClearSelectionCommandInterceptor','sortInfo','_fieldsCollectionChange$','PivotTableOperationEnum','sheet.command.move-pivot-field','Inject','_collectionConfigModel','updateFieldSourceInfo','setFieldFormat','StdDev\x20of\x20','UniverEngineFormula','6269732VOApVQ','params','setRangeValueRedoMutation','fontRenderExtension','8geOcun','rowCount','getId','exports','getTypeOfUnitDisposed$','updateConfig','unshift','COMMAND','dataFields','sheets-pivot.cellDateGroupDisplay.year','fieldsCollectionChange$','sheets-pivot.subTotal','Expand','setPivotInitCompleted','SheetsPivotDataSourceModel','sheet.mutation.set-pivot-position','sheet.command.set-pivot-collapse','#1d32e9','GrandTotal','_deleteModelCache','remove','delete','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','leftOffset','sheets-pivot.emptyPivot.values','removeCollections','removeValueFilterInfoByValueFieldId','targetCellInfo','deleteUnitId','areaInfo','InsertColMutation','DIV_BY_ZERO','_pivotRenderInfoCache','rxjs','MovePivotField','date','iterateFieldDim','_globalComputedEndHelpFunc','width','clearRenderCache','values','colHeaderMap','bind','ICommandService','setDirty','Add','viewData$','adjustSheetCellData','isText','addPivotField','updateDirtyPivotTable','RemovePivotFieldMutation','sheets-pivot.emptyPivot.row','sheets-pivot.cellDateGroupDisplay.date','sheet.mutation.set-pivot-sort-info','getMonth','Column','getConfig','setPivotCollapse','rgb(255,255,255)','getHeaderMapItem','sheet.command.set-pivot-field-setting','updateRenderCache','setPivotSetting','RANGE_TYPE','_viewUpdate$','string','getDataFieldByRangeKey','YearQuarter','_initPivotTextInfo','getDataFieldId','generateNullCell','SheetsPivotTableService','viewUpdate$','_sheetsSelectionsService','SetPivotValueFilterMutation','endCollectChangeset','from','getSubUnitPivotMatrix','UpdateValuePositionMutation','SetPivotSort','disposableCollection','SetWorksheetActiveOperation','RemoveSheetsFilterMutation','getUnitId','cornerInfo','column','rowFields','getTextSize','NotNumber','getSheetBySheetId','SetSubtotalType','2708646MceuNq','replace','setDateType','updatePivotTableMatrixInfo','InterceptorManager','_updateModelCache','valueFilter','shouldClear','getDate','getPivotTableIdByCell','handleMoveRange','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','_globalComputingSrv','_univerInstanceService','isPrefixValue','forValue','rgb(240,241,243)','updateViewInfo','getRefRangeMutationsByMoveRange','configVersion$','getRowCount','intersects','document','unitId','sheets-pivot.dateGroup.yearQuarter','IActiveDirtyManagerService','_refRangeHandle','iterateFieldByArea','2493756DTvCmp','leafStyle','getValueFilterInfos','startColumn','PivotDataFieldDataTypeEnum','endRow','UpdateFieldPositionMutation','varp','cornerRanges','info','SHEET_PIVOT_TABLE_PLUGIN','@univerjs/sheets-filter','Existing','AddPivotFieldMutation','addCollection','blank','sheet.mutation.update-date-group','cellToRange','originalFieldId','NUMBER','sheets-pivot.cellDateGroupDisplay.month','sheets.tabs.sheet','size','SHEET_PIVOT_EXCLUSIVE_ID','sheet.command.remove-pivot-field','createLabelField','applyChangeSet','intercept','getDataFieldManager','sheets-pivot.minName','sheet.mutation.send-pivot-data-local','subscribe','sum','canUsePivot','subUnitId','RemoveColMutation','CELL_CONTENT','_initRemoveSheetCommandInterceptor','getTextInfo','LifecycleService','SetSheetsFilterRangeMutation','sheets-pivot.sumName','Style','PivotDateGroupFieldDateTypeEnum','sheetName','_configService','fieldIds','getSortInfo','isDate','format','addPivotTable','tableFieldId','_onRefRangeChange','UpdatePivotSource','ManualFilter','excelDateToUnixMilliseconds','DEFAULT_WORKSHEET_ROW_COUNT','getCollection','dataFieldsCollection','Panel','_dataFieldManagerCollection','Subtotal','InsertSheetMutation','Grand\x20Total','transFromCellValue','UpdatePivotFieldSourceInfoMutation','(Blank)','notExecuteFormula','DataFieldManager','MonthDate','getPivotPerformCheck','pageRanges','sheets-pivot.cellDateGroupDisplay.minute','_initPivotDataGetListener','_ensurePivotItemRenderInfoCache','IConfigService','NO_COMMERCIAL','getFormatInfo','UpdatePivotValuePositionCommand','CustomCommandExecutionError','Var\x20of\x20','resetPivotTable','MovePivotTableCommand','getAdjustRangesPosition','UniverSheetsPivotTablePlugin','Div0','find','_globalComputedStartHelpFunc','fieldId','BehaviorSubject','removeDataField','getOwnPropertyDescriptor','Collapse','UpdatePivotTableSourceRangeMutation','SetSortInfo','name','setRangeKeyMap','sheets-pivot.config','some','push','colCount','InsertSheetCommand','_collectionChange$','Set','isArray','register','isDateValue','InsertSheetUndoMutationFactory','addDirtyPivotTable','_initCommandInterceptListener','generateHexNumber','SheetsPivotRPCService','sheets-pivot.averageName','Date','updateRangeKeyMap','registerCommand','HourMinute','_initRegisterCommand','fieldsConfig','matrix','SetPivotTableConfig','_pivotTableMatrixInfo','setSourceName','DEFAULT_PIVOT_NUMBER','Row','pushUndoRedo','subTotalStyle','ErrorType','PivotTableValuePositionEnum','SetFieldFormat','Filter','SetCollapse','number','columnFields','getOriginFieldId','cellValue','getFieldPositionInfoById','getViewData','rangeCache','getFieldById','getSubUnitPivotConfigs','_sheetsPivotTableConfigModel','value','getStyles','filterInfo','contains','parse','_updatePivotTableInstanceCache','createValueField','asObservable','paths','updatePivotTableRangeInfo','markDirty','sheet.mutation.remove-group-collection','RenamePivotFieldMutation','RemovePivotTableMutation','collectionConfig','getTableFieldById','sheets-pivot.dateGroup.quarter','custom','UpdatePivotFieldSettingCommand','_initConfig','sheets-pivot.dateGroup.monthDate','SHEET_PIVOT_IN_MAIN_THREAD','SheetsSelectionsService','getDataFieldByDataFieldId','getSubtotal','isFeatureAuthorizedWithinTime','deepClone','sheets-pivot.maxName','sheets-pivot.stdDevpName','_deletePivotTableInstanceCache','sheet.mutation.update-pivot-table-source-range','_configVersion$','getLastRow','getName','versions','AddPivotTableWithConfig','_initSnapshot','getCellMatrix','getRangeKey','valid','sheet.mutation.send-pivot-view-local','ObjectMatrix','existing','NotFunction','Product\x20of\x20','error','_init','MUTATION','rangeKeyMap','getInterceptPoints','InterceptorEffectEnum','SetPivotSortMutation','Hour','_updateRenderEmptyCache','lastRow','getMatrixValue','getSheetBySheetName','@univerjs/engine-render','setValueFilterInfo','isNaN','PivotViewCellValueTypeEnum','sheet.mutation.remove-pivot-table','sheets-pivot.varpName','sheet.command.update-date-group','defineProperty','getSheets','toString','addFieldWithSourceId','filter','initDataRanges','_createExclusiveRange','BLANK_ROW_COUNT','colRanges','getFullYear','UniverSheetsFilter','serializeRangeWithSpreadsheet','getPivotTableCellData','collectionChange$','sheet.mutation.send-init-pivot-text-local','RemoveRowMutation','sheets-pivot.dateGroup.minute','MAX_SAFE_INTEGER','BadReference','DateGroupField','refreshDataField','getPivotTableModelConfig','forRow','add','Year','removePivotField','setTextInfo','getUpdateRangeDeleteIds','setCollapse','next','type','sheets-pivot.emptyPivot.column','_lifecycleService','redos','sourceRangeInfo','isDateGroupFieldJSON','clearExclusiveRangesByGroupId','_ensurePivotMap','DataField','generateNewSheetName','disposeWithMe','Quarter','keys','originTargetInfo','executeCommand','AddPivotTableWithConfigCommand','rangeKey','_viewData$','defaultThemeStyle','_pivotInitCompleted$','_queryingMap','_model','getColumnCount','sheets-pivot.columnName','2261640SoOfGD','pivotInitCompleted$','addCollectionByJSON','sheet.operation.pivot-table-view-formula-mark-dirty','Delete','getPivotTableInfo','rowStyle','Average\x20of\x20','Count\x20of\x20','oldRangeInfo','map','#e6ebfa','_pivotConfigChange$','reduce','PivotSubtotalTypeEnum','undos','pivotPerformCheck','generateMutationsByRanges','_ensurePivotItemRenderValueMatrixCache','IResourceManagerService','getSubUnitPivotRenderCache','iterateField','startRow','RemoveSheetCommand','Min\x20of\x20','PivotTableFiledAreaEnum','cornerStyle','setValuePivotFilter','REF','setValue','PivotDrillDownCommand','formJSON','_subjectFieldsCollectionChange','splice','maxDate','AddPivotField','ClearSelectionAllCommand','getColCount','subtotal','FORCE_STRING','createInterceptorKey','stdDevp','sheet.mutation.remove-pivot-field','setPivotSort','Subject','dimension','Disposable','average','addPivotTableWithConfig','setPivotTableConfig','generateSetRangeValueMutations','isBottomTotal','getFieldIds','RemoveField','refreshData','_ensureViewDataMap','sheets-pivot.varName','single','getSourceName','asyncInterceptor','AddField','deleteDataField','return\x20','SetPivotFilter','SetPivotOptionMutation','refreshGroupField','pivotMutationGenerate','SetPivotValueFilterCommand','_activeDirtyManagerService','sheets-pivot.countName','removePivotTable','@univerjs-pro/license','getSheetId','col','SheetsPivotTableConfigModel','STRING','sheet.command.reset-pivot-fields-config','SetWorksheetColWidthMutation','getDataFieldByTableId','getFieldInfo','InsertRowMutation','dateType','pbt','addExclusiveRange','SetPivotCollapse','_toJSON','toJSON','addDataFieldWithoutUnitInfo','getPivotItemRenderInfoCache','UNIVER_SHEET','RemoveSheetMutation','PivotTableChangeTypeEnum','UniverEngineRender','rowRanges','entries','get','IUndoRedoService','getFieldDataType','40vsCgwi','getSheetCommandTarget','getEmptyPivotRanges','_generateUniqueVersion','valueIndex','setName','_featureCalculationManagerService','sheets-pivot.cellDateGroupDisplay.yearMonthDate','colStyle','updateValuePosition','AddPivotTableCommand','getDisplayName','FieldsCollection','getFilterFieldIdByIndex','batch','UpdatePivotTableSourceRangeCommand','pivotTableConfigs','updateView','pivotTableId','rangesInfo','getTargetByPivotId','onQueryStart','slice','getPivotInfoByLicense','DEFAULT_WORKSHEET_COLUMN_COUNT','sheets-pivot.dateGroup.date','_markDirty$','SetPivotSetting','createCollectionWithDataRange','pivotConfigChange$','NotName','IFeatureCalculationManagerService','_pivotTableRangeInfo','Optional','sheets-pivot.dateGroup.hourMinute','_getPivotAppliedRanges','resetArea','unshiftString','SetFilterInfo','collapseInfo','MoveRangeMutation','update','updatePivotSource','1149752MMYmVn','getPivotDirtyViewInfo','PivotDisplayDataType','RefRangeService','_globalSubject','panel','INTERCEPTOR_POINT','set','handleAsyncResponse','drillDown','sheets-pivot.cellDateGroupDisplay.yearMonth','getValuePosition','Value','getCurrentUnitForType','_initUnitDisposed','triggerDirtyFeature','length','getLastCol','setDisplayName','call','sequenceExecute','getPivotDisplayConfig','PivotErrorTypeEnum','Month','renameField','max','workbook\x20is\x20not\x20found','updateFieldPosition','_initGlobalComputed','LS_CONFIG_KEY','data','level','fields','ResetPivotFieldsConfigCommand','options','sheet.mutation.send-pivot-config-local','UpdateValuePosition','_getAutoName','_textInfo','symbol','pluginName','interceptor','IUniverInstanceService','DataSyncPrimaryController','PivotCellStyleTypeEnum','getNoUsedDataFieldIds','dataFieldId','sheets-pivot.countNumsName','SetPivotFilterMutation','markDirty$','_pivotRenderValueMatrixCache','token','result','setOptions','onCommandExecuted','_host','setRange','filterId','SetPivotSubtotalTypeMutation','getSheetFeatureLimit','startCollectChangeset','getFilterInfo','UpdateFieldPosition','getCellRaw','setPivotFilter','YearMonthDate','isColMultiMeasure','dispose','numfmt','sheet.mutation.set-pivot-format','UpdateSource','sheets-pivot.dateGroup.year','_initLocale','_subjectCollectionChange','SetValueFilter','Total','PositionType','isEmpty','deleteField','_subjectViewChange','sheet.mutation.pivot-update-value-position','MIN_SAFE_INTEGER','new','hasOwnProperty','updateCollectionConfig','sheet.mutation.pivot-update-field-position','dataRangeInfo','valuePosition','removeField','DrillDown','movePivotField','floor','_ensurePivotTableRangeInfo','getRangeStartEndInfo','interceptCommand','UniverRpc','getGroupFieldsInfoByIds','getUnit','sheet.command.set-pivot-sort','_localeService','getPivotTableInstance','getTargetByPivotTableId','fetchThroughAsyncInterceptors','_exclusiveRangeService','endColumn','sheet.command.update-pivot-value-position','includes','getMatrixFromRunTimeData','getValue','_sheetInterceptorService','sheets-pivot.stdDevName','removeValueFilterInfo','registerRefRange','FontCache','realDeleteValue','removeSourceRangeChange','sheets-pivot.value','fetchThroughInterceptors','rowInfo','SheetInterceptorService','measure','mergeWorksheetSnapshotWithDefault','getAutoDisplayName','queryDirtyPivotTable','sourceName','setDataRecordCount','10DmlABp','SheetsPivotTableAdaptorModel','YearMonth','ReleaseType','AddPivotTable','rowHeaderMap','DependentOn','minDate','sheet.command.update-pivot-table-source-range','stdDev','concat','generateRandomId','_config','CellValueType','#e6ebfb','_injector','setConfig','getRangeKeyList','Tools','sheets-pivot.cellDateGroupDisplay.quarter','unionPivotViewRange','getPivotTableConfig','getInsertRowColMutations','foreach','getDataFieldBySourceName','prototype','814103xQPdli','sheet.command.set-pivot-fields-config','broadcastCollectionChange','SetRangeValuesMutation','toStringTag','_viewData','getFieldCountByArea','@univerjs-pro/engine-pivot','needSameDeleteModel','random','range','updateViewData','None','getformat','_requestResolvers','valueFields','_sheetsPivotTableAdaptorModel','collection','sheet.command.add-pivot-table-with-config','sheets-pivot.cellDateGroupDisplay.hour','_sheetsPivotTableService','dataStream','reset','RenameField','sheet.mutation.add-pivot-table','fromJSON','AddPivotTableMutation','4530159uJYUFG','PivotCallbackEnum','_pivotTableInstanceCache','object','forEach','ptn','sheets-pivot.cellDateGroupDisplay.hourMinute','registerDirtyService','setLabelFilterInfo','registerSyncingMutations','query','getAutoDisplayNameFunction','updateConfigCache','grandTotal','Injector','onStarting','updateAllDisplayName','GlobalComputingStatusService','getDataFieldItemInfo','sheet.mutation.set-pivot-field-subtotal-type','displayName','#eceeff','headerMap','PivotView','setSortInfo','getValueIndex','message'];_0x1eec=function(){return _0x335d16;};return _0x1eec();}function _0x1756(_0x5b0b77,_0x5c0b66){const _0x1eec35=_0x1eec();return _0x1756=function(_0x17563a,_0x304b85){_0x17563a=_0x17563a-0x1ae;let _0x1e1dfe=_0x1eec35[_0x17563a];return _0x1e1dfe;},_0x1756(_0x5b0b77,_0x5c0b66);}(function(_0x7baf3d,_0x519c0f){const _0x563df1=_0x1756,_0x5342a6=_0x7baf3d();while(!![]){try{const _0x5705b6=parseInt(_0x563df1(0x2e1))/0x1+-parseInt(_0x563df1(0x249))/0x2+parseInt(_0x563df1(0x1bc))/0x3+-parseInt(_0x563df1(0x3d3))/0x4+parseInt(_0x563df1(0x2c7))/0x5*(-parseInt(_0x563df1(0x3b7))/0x6)+-parseInt(_0x563df1(0x357))/0x7*(parseInt(_0x563df1(0x35b))/0x8)+-parseInt(_0x563df1(0x2fc))/0x9*(-parseInt(_0x563df1(0x21e))/0xa);if(_0x5705b6===_0x519c0f)break;else _0x5342a6['push'](_0x5342a6['shift']());}catch(_0x21da90){_0x5342a6['push'](_0x5342a6['shift']());}}}(_0x1eec,0x8eb42),function(_0x4efb30,_0x347fcf){const _0x41d28a=_0x1756;typeof exports==_0x41d28a(0x2ff)&&typeof module<'u'?_0x347fcf(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([_0x41d28a(0x35e),_0x41d28a(0x2e8),'@univerjs/core','@univerjs/engine-formula','@univerjs/sheets',_0x41d28a(0x37c),_0x41d28a(0x203),_0x41d28a(0x3de),_0x41d28a(0x32d),_0x41d28a(0x49a)],_0x347fcf):(_0x4efb30=typeof globalThis<'u'?globalThis:_0x4efb30||self,_0x347fcf(_0x4efb30[_0x41d28a(0x31b)]={},_0x4efb30['UniverProEnginePivot'],_0x4efb30['UniverCore'],_0x4efb30[_0x41d28a(0x356)],_0x4efb30['UniverSheets'],_0x4efb30['rxjs'],_0x4efb30['UniverProLicense'],_0x4efb30[_0x41d28a(0x4ab)],_0x4efb30[_0x41d28a(0x2a8)],_0x4efb30[_0x41d28a(0x218)]));}(this,function(_0x24ce63,_0x3f54d9,_0x555844,_0x132492,_0x402aa8,_0xf4d055,_0x440f6c,_0x34a1a8,_0x554f49,_0x1e8ab7){'use strict';const _0x29437c=_0x1756;var _0x2ca44f=Object[_0x29437c(0x4a1)],_0xe032f2=(_0x26f392,_0x4d78a2,_0x1c791c)=>_0x4d78a2 in _0x26f392?_0x2ca44f(_0x26f392,_0x4d78a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c791c}):_0x26f392[_0x4d78a2]=_0x1c791c,_0x528485=(_0x51a6b3,_0x4350a5,_0x34b3aa)=>_0xe032f2(_0x51a6b3,typeof _0x4350a5!=_0x29437c(0x270)?_0x4350a5+'':_0x4350a5,_0x34b3aa);const _0x1dc0e1=Number['parseInt'](0x68888c12),_0x496aef=0x10,_0x5a959c=0x1,_0x117208='SHEET_PIVOT_TABLE_PLUGIN',_0x413b87=0x1,_0x4b0898=_0x29437c(0x3c7),_0x5e4282=_0x29437c(0x396),_0x1af61b='#b2b2b2',_0x3c4d68='#f4f4f5',_0x39cc16='#f4f4f5',_0x2dce10=_0x29437c(0x311),_0xe29cee=_0x29437c(0x36c),_0x112c00='#FFFFFF',_0x4385ad=_0x29437c(0x1c7),_0x4a156c=_0x29437c(0x36c),_0x5ad5b3='#FFFFFF',_0x56f40b=_0x29437c(0x2d5),_0x32e840=0xe,_0x465164=0x6;var _0x2a49a5=(_0x486c11=>(_0x486c11[_0x29437c(0x3df)]=_0x29437c(0x48b),_0x486c11['New']=_0x29437c(0x29b),_0x486c11))(_0x2a49a5||{});const _0x53562c={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x233ee7=0x1e,_0x5388f6={'b':{'s':0x1,'cl':{'rgb':_0x1af61b}},'l':{'s':0x1,'cl':{'rgb':_0x1af61b}},'r':{'s':0x1,'cl':{'rgb':_0x1af61b}},'t':{'s':0x1,'cl':{'rgb':_0x1af61b}}},_0x536e9a={'bg':{'rgb':_0x4b0898},'ht':0x2,'vt':0x2,'tb':0x1},_0x1db7bc={'bg':{'rgb':_0x5e4282},'ht':0x2,'vt':0x2,'tb':0x1},_0x368c25={'rowStyle':{'bg':{'rgb':_0x56f40b},'bd':_0x5388f6,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x4a156c},'bd':null,'cl':{'rgb':_0x5ad5b3},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x5388f6,'bg':{'rgb':_0x4385ad},'vt':0x2},'cornerStyle':{'bd':_0x5388f6,'bg':{'rgb':_0x2dce10},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x5388f6,'bg':{'rgb':_0x3c4d68},'vt':0x2},'leafStyle':{'bd':_0x5388f6,'bg':{'rgb':_0x39cc16},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0xe29cee},'cl':{'rgb':_0x112c00},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x5388f6,'vt':0x2}};function _0x5303db(_0x566c9b,_0x1b7da2,_0xeb158b){const _0x391dbf=_0x29437c,_0x1b97c9=_0x566c9b['get'](_0x555844[_0x391dbf(0x329)]),_0x51097f=_0xeb158b['split']('_');switch(_0x1b7da2){case _0x3f54d9[_0x391dbf(0x3fe)][_0x391dbf(0x4b9)]:return _0x1b97c9['t'](_0x391dbf(0x364),..._0x51097f);case _0x3f54d9['PivotDateGroupFieldDateTypeEnum']['Minute']:return _0x1b97c9['t'](_0x391dbf(0x41b),..._0x51097f);case _0x3f54d9['PivotDateGroupFieldDateTypeEnum'][_0x391dbf(0x495)]:return _0x1b97c9['t'](_0x391dbf(0x2f4),..._0x51097f);case _0x3f54d9[_0x391dbf(0x3fe)][_0x391dbf(0x447)]:return _0x1b97c9['t'](_0x391dbf(0x302),..._0x51097f);case _0x3f54d9[_0x391dbf(0x3fe)][_0x391dbf(0x444)]:return _0x1b97c9['t'](_0x391dbf(0x390),..._0x51097f);case _0x3f54d9[_0x391dbf(0x3fe)][_0x391dbf(0x260)]:return _0x1b97c9['t'](_0x391dbf(0x3e7),..._0x51097f);case _0x3f54d9[_0x391dbf(0x3fe)]['Quarter']:return _0x1b97c9['t'](_0x391dbf(0x2da),..._0x51097f);case _0x3f54d9[_0x391dbf(0x3fe)][_0x391dbf(0x2c9)]:return _0x1b97c9['t'](_0x391dbf(0x253),..._0x51097f);case _0x3f54d9['PivotDateGroupFieldDateTypeEnum'][_0x391dbf(0x28a)]:return _0x1b97c9['t'](_0x391dbf(0x225),..._0x51097f);case _0x3f54d9[_0x391dbf(0x3fe)][_0x391dbf(0x39f)]:return _0x1b97c9['t'](_0x391dbf(0x333),..._0x51097f);}return'';}const _0x3069a0=(_0x4d87e1,_0x5c526c,_0x58a264,_0x1d2369)=>{const _0x358e6a=_0x29437c;let _0x29421f;const _0x2fcdf3=_0x4d87e1['get'](_0x555844[_0x358e6a(0x273)])[_0x358e6a(0x256)](_0x555844[_0x358e6a(0x33e)][_0x358e6a(0x215)]);if(!_0x2fcdf3)return null;const _0x517613=_0x2fcdf3['getStyles']();let _0x56a0cf;if(_0x58a264&&(_0x56a0cf=_0x517613[_0x358e6a(0x1d9)](_0x58a264)),_0x5c526c!=null&&_0x5c526c['v']||(_0x5c526c==null?void 0x0:_0x5c526c['v'])===0x0){_0x29421f||(_0x29421f={});const _0x19291d=_0x58e7c0(_0x5c526c['v']);typeof _0x19291d==_0x358e6a(0x457)?_0x29421f['t']=_0x555844[_0x358e6a(0x2d4)]['NUMBER']:typeof _0x19291d==_0x358e6a(0x39d)&&(_0x29421f['t']=_0x555844['CellValueType'][_0x358e6a(0x207)]),_0x29421f['v']=_0x19291d;}if((_0x5c526c!=null&&_0x5c526c['i']||(_0x5c526c==null?void 0x0:_0x5c526c['i'])===0x0)&&(_0x29421f||(_0x29421f={}),_0x29421f['fi']=_0x5c526c['i']),_0x5c526c!=null&&_0x5c526c['s']&&(_0x29421f||(_0x29421f={}),_0x29421f['pbt']=_0x5c526c['s']),_0x58a264&&(_0x29421f||(_0x29421f={}),_0x29421f['s']=_0x56a0cf),_0x1d2369&&_0x29421f!=null&&_0x29421f['v']&&_0x29421f['pbt']!==_0x3f54d9[_0x358e6a(0x275)]['GrandTotal']&&_0x29421f['pbt']!==_0x3f54d9[_0x358e6a(0x275)][_0x358e6a(0x410)]){const _0xd55098=String(_0x29421f['v']),{dateType:_0xf39818}=_0x1d2369;_0x29421f['v']=_0x5303db(_0x4d87e1,_0xf39818,_0xd55098),_0x29421f['t']=_0x555844[_0x358e6a(0x2d4)][_0x358e6a(0x207)];}return _0x29421f;},_0x4050e7=(_0x3daf11,_0x17965d,_0x16f473,_0x349316)=>{const _0x56491e=_0x29437c;var _0xe2ccfb,_0x2cdb41,_0x5fc32c,_0x19a40e,_0x584f82,_0x24e175,_0x4b2d4e,_0x3ad064,_0x447ad8,_0x2ab9e7,_0xbad680,_0x24d20e,_0x19aa78,_0x27d639;const _0x22cbf5=_0x16f473[_0x56491e(0x376)],{cornerView:_0x71fbd3,rowView:_0x51a349,colView:_0x1c2b67,dataView:_0x3b43b8,pageView:_0x55feba,formatMap:_0x579073,groupInfo:_0x58f5a8}=_0x17965d,{row:_0x5ab619,col:_0x249c1e}=_0x22cbf5,_0xd6e684=new _0x555844[(_0x56491e(0x48a))](),_0x4d4fa5={},_0x8556ff={},_0x8e3971={},_0x566881={},_0x5a8c1b={};let _0x13ac40=_0x5ab619,_0x181376=_0x249c1e;Object[_0x56491e(0x1b0)](_0x55feba['data'])[_0x56491e(0x300)](_0x5de214=>{const _0x1cdd2f=_0x56491e;Object['keys'](_0x55feba[_0x1cdd2f(0x267)][Number(_0x5de214)])[_0x1cdd2f(0x300)](_0x18f091=>{const _0x4963e1=_0x1cdd2f,_0x4b1dd0={..._0x55feba[_0x4963e1(0x267)][Number(_0x5de214)][Number(_0x18f091)]};_0xd6e684[_0x4963e1(0x1d9)](Number(_0x5de214)+_0x13ac40,Number(_0x18f091)+_0x181376,_0x3069a0(_0x3daf11,_0x4b1dd0,_0x368c25['pageStyle']));});});const _0x422e7c=Object[_0x56491e(0x1b0)](_0x55feba[_0x56491e(0x267)])['length'];_0x13ac40+=_0x422e7c+(_0x422e7c?_0x413b87:0x0);const _0x2520f0=_0x71fbd3[_0x56491e(0x3cb)](),_0x5df757=_0x71fbd3[_0x56491e(0x1e1)]();for(let _0x172d67=0x0;_0x172d67<_0x2520f0;_0x172d67++)for(let _0x49207b=0x0;_0x49207b<_0x5df757;_0x49207b++){const _0x268ba2={...(_0x2cdb41=(_0xe2ccfb=_0x71fbd3[_0x56491e(0x267)])==null?void 0x0:_0xe2ccfb[_0x172d67])==null?void 0x0:_0x2cdb41[_0x49207b]};_0x268ba2&&((_0x5fc32c=_0x51a349[_0x56491e(0x312)][_0x49207b])!=null&&_0x5fc32c['isValue'])&&_0x49207b===_0x5df757-0x1&&_0x172d67===_0x2520f0-0x1&&(_0x268ba2['v']=''+_0x349316['sheets-pivot.value']),_0xd6e684[_0x56491e(0x1d9)](_0x172d67+_0x13ac40,_0x49207b+_0x181376,_0x3069a0(_0x3daf11,_0x268ba2,_0x368c25[_0x56491e(0x1d6)]));}for(let _0x2c571a=0x0;_0x2c571a<_0x71fbd3[_0x56491e(0x3dc)][_0x56491e(0x259)];_0x2c571a++)_0x71fbd3['info'][_0x2c571a]&&(_0x8e3971[''+(_0x2c571a+_0x181376)]=_0x71fbd3[_0x56491e(0x3dc)][_0x2c571a]);_0x181376+=_0x5df757;const _0x418ad9=_0x1c2b67[_0x56491e(0x312)],_0x1729b9=_0x1c2b67[_0x56491e(0x481)]()>=0x0?_0x1c2b67[_0x56491e(0x481)]()+0x1:0x0,_0x458e61=_0x1c2b67['getLastCol']()>=0x0?_0x1c2b67[_0x56491e(0x25a)]()+0x1:0x0;for(let _0x69cdfd=0x0;_0x69cdfd<_0x458e61;_0x69cdfd++){for(let _0x56c9a7=0x0;_0x56c9a7<_0x1729b9;_0x56c9a7++){const _0x5a03a5={...(_0x584f82=(_0x19a40e=_0x1c2b67['data'])==null?void 0x0:_0x19a40e[_0x56c9a7])==null?void 0x0:_0x584f82[_0x69cdfd]},_0x146d3b=(_0x24e175=_0x418ad9[_0x56c9a7])==null?void 0x0:_0x24e175[_0x56491e(0x406)],_0x100d31=_0x579073[_0x146d3b],_0x2143cc=_0x58f5a8[_0x146d3b];_0x5a03a5&&(_0x5a03a5['v']=_0x108fde(_0x5a03a5,_0x56c9a7===0x0&&((_0x4b2d4e=_0x1c2b67[_0x56491e(0x397)](_0x69cdfd+0x1))==null?void 0x0:_0x4b2d4e[_0x56491e(0x348)]),_0x100d31,_0x349316));let _0x10c6eb;_0x100d31?_0x10c6eb={..._0x368c25['colStyle'],'n':{'pattern':_0x100d31}}:_0x10c6eb={..._0x368c25[_0x56491e(0x226)]},_0xd6e684[_0x56491e(0x1d9)](_0x56c9a7+_0x13ac40,_0x69cdfd+_0x181376,_0x3069a0(_0x3daf11,_0x5a03a5,_0x10c6eb,_0x2143cc));}_0x1c2b67['info'][_0x69cdfd]&&(_0x8556ff[''+(_0x69cdfd+_0x181376)]=_0x1c2b67[_0x56491e(0x3dc)][_0x69cdfd]),_0x1c2b67[_0x56491e(0x312)][_0x69cdfd+0x1]&&(_0x5a8c1b[''+(_0x69cdfd+_0x13ac40+0x1)]=_0x1c2b67['headerMap'][_0x69cdfd+0x1]);}_0x13ac40+=_0x2520f0;const _0x18248e=_0x51a349[_0x56491e(0x312)],_0x2633fa=_0x51a349[_0x56491e(0x481)]()>=0x0?_0x51a349[_0x56491e(0x481)]()+0x1:0x0,_0xbb5b1a=_0x51a349[_0x56491e(0x25a)]()>=0x0?_0x51a349[_0x56491e(0x25a)]()+0x1:0x0;for(let _0x42109d=0x0;_0x42109d<_0x2633fa;_0x42109d++){for(let _0x52c3ec=0x0;_0x52c3ec<_0xbb5b1a;_0x52c3ec++){const _0xfcaaff={...(_0x447ad8=(_0x3ad064=_0x51a349[_0x56491e(0x267)])==null?void 0x0:_0x3ad064[_0x42109d])==null?void 0x0:_0x447ad8[_0x52c3ec]},_0x4cb1f7=(_0x2ab9e7=_0x18248e[_0x52c3ec])==null?void 0x0:_0x2ab9e7[_0x56491e(0x406)],_0x4ef6e4=_0x579073[_0x4cb1f7],_0x359df3=_0x58f5a8[_0x4cb1f7];_0xfcaaff&&(_0xfcaaff['v']=_0x108fde(_0xfcaaff,!0x1,_0x4ef6e4,_0x349316));let _0x590693;_0x51a349[_0x56491e(0x3dc)][_0x42109d][_0x56491e(0x268)]===_0x51a349[_0x56491e(0x1e1)]()?_0x590693=_0x368c25[_0x56491e(0x3d4)]:_0x51a349['info'][_0x42109d][_0x56491e(0x1ef)]?_0x590693=_0x51a349[_0x56491e(0x3dc)][_0x42109d][_0x56491e(0x268)]===0x0?_0x368c25[_0x56491e(0x309)]:_0x368c25['subTotalStyle']:_0x590693=_0x368c25[_0x56491e(0x1c2)],_0x4ef6e4&&(_0x590693={..._0x590693,'n':{'pattern':_0x4ef6e4}}),_0xd6e684['setValue'](_0x42109d+_0x13ac40,_0x52c3ec+_0x249c1e,_0x3069a0(_0x3daf11,_0xfcaaff,_0x590693,_0x359df3));}_0x51a349[_0x56491e(0x3dc)][_0x42109d]&&(_0x4d4fa5[''+(_0x42109d+_0x13ac40)]=_0x51a349['info'][_0x42109d]),_0x51a349[_0x56491e(0x312)][_0x42109d]&&(_0x566881[''+(_0x42109d+_0x249c1e)]=_0x51a349[_0x56491e(0x312)][_0x42109d]);}const _0x4315eb=_0x3b43b8[_0x56491e(0x3cb)](),_0x2c43a6=_0x3b43b8[_0x56491e(0x1e1)]();for(let _0x478a53=0x0;_0x478a53<_0x4315eb;_0x478a53++)for(let _0x829b3e=0x0;_0x829b3e<_0x2c43a6;_0x829b3e++){const _0xe532f9={...(_0x24d20e=(_0xbad680=_0x3b43b8[_0x56491e(0x267)])==null?void 0x0:_0xbad680[_0x478a53])==null?void 0x0:_0x24d20e[_0x829b3e]};let _0x5d7893;_0x51a349[_0x56491e(0x3dc)][_0x478a53][_0x56491e(0x1ef)]?_0x5d7893=_0x51a349[_0x56491e(0x3dc)][_0x478a53][_0x56491e(0x268)]===0x0?_0x368c25[_0x56491e(0x309)]:_0x368c25['subTotalStyle']:_0x5d7893=_0x368c25['dataStyle'];const _0x5a6001=_0x51a349[_0x56491e(0x3dc)][_0x478a53]['valueIndex'],_0x1e427e=_0x1c2b67[_0x56491e(0x3dc)][_0x829b3e][_0x56491e(0x222)],_0x3b0914=Math[_0x56491e(0x262)](_0x5a6001,_0x1e427e),_0x1c3502=_0x16f473[_0x56491e(0x449)][_0x56491e(0x2f0)]['concat']();let _0x4415cc='';_0x3b0914<0x0?_0x4415cc=(_0x19aa78=_0x1c3502[0x0])!=null?_0x19aa78:'':_0x4415cc=(_0x27d639=_0x1c3502[_0x3b0914])!=null?_0x27d639:'';const _0x1705db=_0x579073[_0x4415cc];_0x1705db&&(_0x5d7893={..._0x5d7893,'n':{'pattern':_0x1705db}}),_0xd6e684[_0x56491e(0x1d9)](_0x478a53+_0x13ac40,_0x829b3e+_0x181376,_0x3069a0(_0x3daf11,_0xe532f9,_0x5d7893));}return{'valueMatrix':_0xd6e684,'rowInfo':_0x4d4fa5,'colInfo':_0x8556ff,'cornerInfo':_0x8e3971,'rowHeaderMap':_0x566881,'colHeaderMap':_0x5a8c1b};};function _0x108fde(_0x94c4cc,_0x59758a,_0x47d554,_0x53297e){const _0x16e350=_0x29437c;let _0x1ce137=_0x94c4cc['v'];_0x59758a&&(_0x1ce137=''+_0x53297e[_0x16e350(0x2bd)]);const _0x3fbaef=_0x94c4cc['t']&&(_0x94c4cc['t']&_0x3f54d9[_0x16e350(0x49d)]['blank'])>0x0;if(_0x3fbaef&&(_0x1ce137=''+_0x53297e[_0x16e350(0x330)]),_0x94c4cc['s']===_0x3f54d9['PivotCellStyleTypeEnum'][_0x16e350(0x410)]){let _0x1583cc=_0x1ce137,_0x2acec7='';_0x3f54d9[_0x16e350(0x3c5)](_0x1ce137)&&(_0x1583cc=_0x1ce137['prefix'],_0x2acec7=_0x1ce137[_0x16e350(0x461)]);const _0x1e1eb2=_0x47d554&&!_0x3fbaef?_0x555844[_0x16e350(0x28d)]['format'](_0x47d554,Number(_0x1583cc)):_0x1583cc;_0x2acec7?_0x1ce137=_0x1e1eb2+'\x20'+_0x2acec7:_0x1ce137=_0x1e1eb2+'\x20'+_0x53297e[_0x16e350(0x366)];}else _0x94c4cc['s']===_0x3f54d9[_0x16e350(0x275)][_0x16e350(0x36d)]&&(_0x1ce137=_0x1ce137+'\x20'+_0x53297e[_0x16e350(0x31d)]);return _0x1ce137;}function _0x58e7c0(_0x597b6b){const _0x3459e0=_0x29437c;if(_0x3f54d9[_0x3459e0(0x331)](_0x597b6b)){const {errorType:_0x5b657a}=_0x597b6b;switch(_0x5b657a){case _0x3f54d9[_0x3459e0(0x25f)][_0x3459e0(0x428)]:return _0x132492['ErrorType'][_0x3459e0(0x37a)];case _0x3f54d9[_0x3459e0(0x25f)][_0x3459e0(0x3b4)]:return _0x132492[_0x3459e0(0x452)]['NUM'];case _0x3f54d9[_0x3459e0(0x25f)][_0x3459e0(0x48c)]:return _0x132492[_0x3459e0(0x452)]['NAME'];case _0x3f54d9[_0x3459e0(0x25f)][_0x3459e0(0x23c)]:return _0x132492[_0x3459e0(0x452)]['NAME'];case _0x3f54d9['PivotErrorTypeEnum'][_0x3459e0(0x4b3)]:return _0x132492[_0x3459e0(0x452)][_0x3459e0(0x1d8)];}}return _0x597b6b;}function _0x32d47c(_0x30713a,_0x253a9e,_0x4b14b9=!0x1,_0x5315da=!0x1){const _0x154a6e=_0x29437c,{data:_0x381321}=_0x253a9e,_0x391b86=_0x253a9e[_0x154a6e(0x3cb)](),_0x5aa942=_0x253a9e['getColCount']();if(_0x391b86<=0x0||_0x5aa942<=0x0)return[];const _0x49fede=_0x253a9e[_0x154a6e(0x25a)](),_0x25f539=_0x253a9e[_0x154a6e(0x481)](),_0x43ef0a=_0x5315da?_0x25f539>=0x0?_0x25f539+0x1:0x0:_0x391b86,_0x4ea939=_0x5315da?_0x49fede>=0x0?_0x49fede+0x1:0x0:_0x5aa942,{row:_0x113248,col:_0x46ae93}=_0x30713a,_0x28cd13=_0x113248,_0x30977e=_0x46ae93;if(_0x4b14b9){const _0x3f778d=[];for(const [_0x5bd28c,_0x2ade00]of Object[_0x154a6e(0x21a)](_0x381321))for(const [_0x217fb,_0x231780]of Object[_0x154a6e(0x21a)](_0x2ade00))_0x3f778d['push'](_0x555844[_0x154a6e(0x3e4)](_0x28cd13+Number(_0x5bd28c),_0x30977e+Number(_0x217fb)));return _0x3f778d;}else{const _0x2698d4=_0x5315da?_0x43ef0a>0x0?0x1:0x0:0x1,_0x266642=_0x5315da?_0x4ea939>0x0?0x1:0x0:0x1,_0x5bc16d=_0x113248+_0x43ef0a-_0x2698d4,_0xbe6435=_0x46ae93+_0x4ea939-_0x266642;return[{'startRow':_0x28cd13,'startColumn':_0x30977e,'endRow':_0x5bc16d,'endColumn':_0xbe6435}];}}const _0x1437ff=_0x29437c(0x476),_0x12c814=_0x29437c(0x3ea);var _0x125767=(_0x3cbb96=>(_0x3cbb96[_0x29437c(0x455)]=_0x29437c(0x4a5),_0x3cbb96[_0x29437c(0x40e)]=_0x29437c(0x24e),_0x3cbb96[_0x29437c(0x1df)]=_0x29437c(0x38c),_0x3cbb96[_0x29437c(0x484)]=_0x29437c(0x484),_0x3cbb96[_0x29437c(0x2cb)]='addPivotTable',_0x3cbb96['MovePivotField']=_0x29437c(0x2a3),_0x3cbb96[_0x29437c(0x328)]=_0x29437c(0x4ba),_0x3cbb96[_0x29437c(0x210)]=_0x29437c(0x395),_0x3cbb96[_0x29437c(0x1fb)]=_0x29437c(0x289),_0x3cbb96[_0x29437c(0x3ab)]=_0x29437c(0x1e7),_0x3cbb96[_0x29437c(0x239)]='setPivotSetting',_0x3cbb96[_0x29437c(0x408)]=_0x29437c(0x248),_0x3cbb96[_0x29437c(0x26d)]='updateValuePosition',_0x3cbb96['DrillDown']=_0x29437c(0x252),_0x3cbb96['SetValuePivotFilter']='setValuePivotFilter',_0x3cbb96['SetPivotTableConfig']=_0x29437c(0x1ed),_0x3cbb96[_0x29437c(0x317)]=_0x29437c(0x424),_0x3cbb96))(_0x125767||{});const _0x5c90f1={'sheets-pivot.blankValue':_0x29437c(0x415),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x29437c(0x294),'sheets-pivot.grandTotalText':_0x29437c(0x412),'sheets-pivot.valueText':_0x29437c(0x255),'sheets-pivot.averageName':_0x29437c(0x1c3),'sheets-pivot.countName':_0x29437c(0x1c4),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x29437c(0x1d4),'sheets-pivot.productName':_0x29437c(0x48d),'sheets-pivot.stdDevName':_0x29437c(0x355),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x29437c(0x423),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x29437c(0x410),'sheets-pivot.grandTotal':_0x29437c(0x412),'sheets-pivot.value':'value','sheets-pivot.blank':_0x29437c(0x3e2),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':_0x29437c(0x33c)},_0x1950cf={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x2c9371=_0x555844['createAsyncInterceptorKey'](_0x29437c(0x1cc)),_0x103368=_0x555844[_0x29437c(0x1e4)](_0x29437c(0x1fe));var _0x40c7ce=(_0xc061ce=>(_0xc061ce['add']=_0x29437c(0x4b8),_0xc061ce['delete']=_0x29437c(0x370),_0xc061ce[_0x29437c(0x247)]=_0x29437c(0x247),_0xc061ce))(_0x40c7ce||{}),_0xc3c280=(_0x1af4bb=>(_0x1af4bb[_0x29437c(0x388)]=_0x29437c(0x4b8),_0x1af4bb[_0x29437c(0x43a)]=_0x29437c(0x250),_0x1af4bb[_0x29437c(0x1c0)]=_0x29437c(0x370),_0x1af4bb))(_0xc3c280||{});const _0x1f532f={0x0:'k',0x1:'W',0x2:'X',0x3:'T',0x4:'J',0x5:'M',0x6:'e',0x7:'3',0x8:'O',0x9:'y','o':'0','U':'1','Y':'2','y':'4','W':'5','u':'6','t':'7','R':'8','D':'9','v':'a','H':'b','n':'c','f':'d','c':'f','B':'g','l':'h','T':'i','g':'j','J':'l','M':'m','F':'n','b':'o','A':'p','C':'q','d':'r','Q':'s','z':'t','m':'u','r':'v','j':'w','O':'x','G':'z','V':'A','h':'B','a':'C','N':'D','i':'E','Z':'F','E':'G','L':'H','p':'I','s':'K','k':'L','P':'N','K':'P','X':'Q','I':'R','x':'S','S':'U','q':'V','e':'Y','w':'Z'},_0x44b417='cmFnzTbF\x20f6nd9AzTbF(JTn6FQ6,\x20AmHJTns69)\x20{\x20\x20\x20\x20zd9\x20{\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20JTn6FQ6pFcbKvdzVddv9\x20=\x20JTn6FQ6.QAJTz(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20bdTBTF56QQvB6\x20=\x204x8P.AvdQ6(vzbH(JTn6FQ6pFcbKvdzVddv9[Y]));\x20\x20\x20\x20\x20\x20\x20\x20Tc\x20(!bdTBTF56QQvB6.mf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bdTBTF56QQvB6.mf\x20=\x20PmMH6d(JTn6FQ6pFcbKvdzVddv9[y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20TQ1bd06d\x20=\x20z9A6bc\x201bd06dEJbHvJxnbA6\x20!==\x20\x27mFf6cTF6f\x27\x20&&\x20Q6Jc\x20TFQzvFn6bc\x201bd06dEJbHvJxnbA6;\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20nbFz6Oz\x20=\x20TQ1bd06d\x20?\x20Q6Jc\x20:\x20jTFfbj;\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20M6QQvB61bdf\x20=\x20nbFz6Oz.__hvQ6uy__.AvdQ6(JTn6FQ6pFcbKvdzVddv9[Y]);\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20M6QQvB6\x20=\x20nbFz6Oz.__L6O__.QzdTFBTc9(M6QQvB61bdf);\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20QTBFvzmd61bdf\x20=\x20nbFz6Oz.__hvQ6uy__.AvdQ6(JTn6FQ6pFcbKvdzVddv9[7]);\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20QTBFvzmd6\x20=\x20nbFz6Oz.__L6O__.QzdTFBTc9(QTBFvzmd61bdf);\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20QTBFqvJTf\x20=\x20nbFz6Oz.__r6dTc9__(QTBFvzmd6,\x20M6QQvB6,\x20AmHJTns69);\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20fbMvTF\x20=\x20bdTBTF56QQvB6.fM;\x20\x20\x20\x20\x20\x20\x20\x20cmFnzTbF\x20TQNbMvTF5vznlTFB(bKvzz6dF,\x20bLbQz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20Avzz6dF\x20=\x20bKvzz6dF.d6AJvn6(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20lbQz\x20=\x20bLbQz.d6AJvn6(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20Avzz6dFKvdzQ\x20=\x20Avzz6dF.QAJTz(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20lbQzKvdzQ\x20=\x20lbQz.QAJTz(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tc\x20(!Avzz6dF.TFnJmf6Q(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20d6zmdF\x20Avzz6dF\x20===\x20lbQz;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Tc\x20(Avzz6dFKvdzQ.J6FBzl\x20<\x20Y\x20||\x20Avzz6dFKvdzQ[o]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20d6zmdF\x20cvJQ6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20Avzz6dFxmccTO\x20=\x20Avzz6dFKvdzQ.QJTn6(U).gbTF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20lbQzxmccTO\x20=\x20lbQzKvdzQ.QJTn6(-Avzz6dFKvdzQ.J6FBzl\x20+\x20U).gbTF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20d6zmdF\x20Avzz6dFxmccTO\x20===\x20lbQzxmccTO;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20J6z\x20fbMvTFqvJTf\x20=\x20(fbMvTF\x20&&\x20fbMvTF.J6FBzl)\x20?\x20fbMvTF.QbM6((fMpz6M)\x20=>\x20TQNbMvTF5vznlTFB(fMpz6M,\x20JbnvzTbF.lbQzFvM6))\x20:\x20zdm6;\x20\x20\x20\x20\x20\x20\x20\x20Tc\x20(JbnvzTbF.lbQzFvM6\x20===\x20\x27JbnvJlbQz\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fbMvTFqvJTf\x20=\x20zdm6;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20nbFQz\x20rvJTf\x20=\x20QTBFqvJTf\x20&&\x20fbMvTFqvJTf;\x20\x20\x20\x20\x20\x20\x20\x20d6zmdF\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rvJTf,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M6QQvB6:\x20bdTBTF56QQvB6,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20nvznl\x20(6ddbd)\x20{\x20\x20\x20\x20\x20\x20\x20\x20d6zmdF\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rvJTf:\x20cvJQ6,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20M6QQvB6:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x309158={'type':_0x555844['CommandType'][_0x29437c(0x490)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x232fbc={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x490)],'id':_0x29437c(0x3f1),'handler':()=>!0x0},_0x2d4f5e={'type':_0x555844['CommandType'][_0x29437c(0x490)],'id':_0x29437c(0x489),'handler':()=>!0x0},_0x1c3780={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x490)],'id':_0x29437c(0x26c),'handler':()=>!0x0},_0x5f1e8f={'type':_0x555844['CommandType'][_0x29437c(0x490)],'id':_0x29437c(0x4af),'handler':()=>!0x0},_0x59e72e=_0x57a673=>{const _0x14e3be=_0x29437c;var _0x9a6e16;return((_0x9a6e16=_0x57a673['body'])==null?void 0x0:_0x9a6e16[_0x14e3be(0x2f6)][_0x14e3be(0x3b8)](/\r\n$/,''))||'';};class _0x120245 extends _0x3f54d9[_0x29437c(0x417)]{constructor(_0x3256cc,_0x525aa0){const _0x55bba4=_0x29437c;super(),_0x528485(this,'rangeKeyMap',{}),_0x528485(this,_0x55bba4(0x3c4)),_0x528485(this,_0x55bba4(0x280)),(this[_0x55bba4(0x3c4)]=_0x525aa0,this[_0x55bba4(0x280)]=_0x3256cc);}[_0x29437c(0x4a6)](){const _0x2e2f7c=_0x29437c;for(const _0x6c88e8 in this[_0x2e2f7c(0x363)]){const _0x1dffa2=this[_0x2e2f7c(0x363)][_0x6c88e8],_0x455a17=_0x1dffa2['getRangeKey']();this[_0x2e2f7c(0x491)][_0x455a17]=_0x1dffa2[_0x2e2f7c(0x35d)]();}}[_0x29437c(0x307)](){const _0x53cc1a=_0x29437c,_0x28d01f=this[_0x53cc1a(0x280)];return _0x3c31bb[_0x53cc1a(0x385)](_0x28d01f);}['deleteDataField'](_0x3df046){const _0x5a1853=_0x29437c,_0xdb01b9=this['dataFields'][_0x3df046][_0x5a1853(0x1b4)];delete this['dataFields'][_0x3df046],delete this['rangeKeyMap'][_0xdb01b9];}[_0x29437c(0x213)](_0x1fe0de){const _0x37bb4d=_0x29437c;this[_0x37bb4d(0x363)][_0x1fe0de[_0x37bb4d(0x35d)]()]=_0x1fe0de;}[_0x29437c(0x347)](_0x5f4374){const _0x1f5d21=_0x29437c;var _0x321339,_0x451cda;const _0x2bd3d3=this[_0x1f5d21(0x280)][_0x1f5d21(0x232)](_0x5f4374);if(_0x2bd3d3){const {unitId:_0x3fde66,subUnitId:_0x430ffe}=_0x2bd3d3,_0x586453=(_0x321339=this[_0x1f5d21(0x280)]['getPivotTableConfig'](_0x3fde66,_0x430ffe,_0x5f4374))==null?void 0x0:_0x321339[_0x1f5d21(0x4c3)];this[_0x1f5d21(0x280)][_0x1f5d21(0x2e3)]({'token':_0x5f4374,'type':_0x40c7ce[_0x1f5d21(0x370)],'dataRangeInfo':_0x586453});}(_0x451cda=this[_0x1f5d21(0x40c)](_0x5f4374))==null||_0x451cda[_0x1f5d21(0x28c)](),delete this[_0x1f5d21(0x32f)][_0x5f4374];}[_0x29437c(0x487)](_0x22ee7a,_0x335167){const _0x3dde90=_0x29437c,{sheetName:_0x1da385,unitId:_0x257f14,range:_0x43e58b}=_0x22ee7a,{startRow:_0x1d7bb2,endRow:_0x10bef8}=_0x43e58b;return _0x132492[_0x3dde90(0x4ac)](_0x257f14,_0x1da385,{'startRow':_0x1d7bb2,'endRow':_0x10bef8,'startColumn':_0x335167,'endColumn':_0x335167});}[_0x29437c(0x39e)](_0x2c2d2a){const _0x38dd9b=_0x29437c;return this[_0x38dd9b(0x363)][this[_0x38dd9b(0x491)][_0x2c2d2a]];}[_0x29437c(0x433)](_0x591f26,_0x152af9){this['rangeKeyMap'][_0x591f26]=_0x152af9;}[_0x29437c(0x445)](_0x43f838,_0x1b17f2){const _0x108ac1=_0x29437c;this['rangeKeyMap'][_0x1b17f2]=this[_0x108ac1(0x491)][_0x43f838],delete this[_0x108ac1(0x491)][_0x43f838];}[_0x29437c(0x1be)](_0x3c8e1f,_0xffe57a,_0xc59a0a,_0x184b13){const _0x4d0b52=_0x29437c,_0x3593fc=new _0x3f54d9[(_0x4d0b52(0x22a))](this);_0x3593fc[_0x4d0b52(0x2fa)](_0xffe57a);const _0x3165a9=[];let _0x116b3b=0x0;for(const _0x563674 of _0x3593fc[_0x4d0b52(0x401)]){const _0x1db04e=this[_0x4d0b52(0x487)](_0xc59a0a,_0x116b3b),_0x536646=this[_0x4d0b52(0x363)][_0x563674];_0x536646&&(_0x536646[_0x4d0b52(0x1b4)]=_0x1db04e,this['setRangeKeyMap'](_0x1db04e,_0x563674),_0x3165a9[_0x4d0b52(0x436)]({'index':_0x116b3b,'dataField':_0x536646})),_0x116b3b++;}return this[_0x4d0b52(0x3e1)](_0x3c8e1f,_0x3593fc,_0xc59a0a,_0x184b13),{'collection':_0x3593fc,'updateDataFieldList':_0x3165a9};}['getRangeStartEndInfo'](_0x6ad877,_0x5ac6a5){const _0x5e2115=_0x29437c;return _0x6ad877[_0x5e2115(0x327)]===_0x555844[_0x5e2115(0x39b)][_0x5e2115(0x33a)]?{'startRow':0x0,'startColumn':_0x6ad877[_0x5e2115(0x3d6)],'endRow':_0x5ac6a5[_0x5e2115(0x3cb)]()-0x1,'endColumn':_0x6ad877[_0x5e2115(0x2b1)]}:{'startRow':_0x6ad877[_0x5e2115(0x1d2)],'startColumn':_0x6ad877[_0x5e2115(0x3d6)],'endRow':_0x6ad877['endRow'],'endColumn':_0x6ad877['endColumn']};}[_0x29437c(0x23a)](_0x4cec86){const _0xed4198=_0x29437c,{sheetName:_0x3a1082,range:_0x45cc05}=_0x4cec86,_0x4f99e1=this['_univerInstanceService'][_0xed4198(0x256)](_0x555844[_0xed4198(0x33e)][_0xed4198(0x215)]),_0x33ad87=_0x4f99e1['getSheetBySheetName'](_0x3a1082),_0x181efb=_0x33ad87['getCellMatrix'](),{startColumn:_0x28422b,startRow:_0x4ba886,endColumn:_0x376b57}=this['getRangeStartEndInfo'](_0x45cc05,_0x33ad87),_0x14ab7e=_0x4f99e1[_0xed4198(0x462)](),_0x4b00d2=new _0x3f54d9['FieldsCollection'](this);_0x4b00d2[_0xed4198(0x281)](_0x4cec86);const _0x51440a=[],_0x3c3eaa={};for(let _0x138943=_0x28422b;_0x138943<=_0x376b57;_0x138943++){const _0x2a94c9=_0x181efb['getValue'](_0x4ba886,_0x138943),_0xc6ff61=this[_0xed4198(0x487)](_0x4cec86,_0x138943),_0x4665e7=this['getDataFieldByRangeKey'](_0xc6ff61);if(_0x4665e7)_0x4b00d2[_0xed4198(0x325)](_0x4665e7[_0xed4198(0x35d)](),_0x4665e7[_0xed4198(0x482)]());else{const _0x199d2b=this['createDataFieldId']();let _0x1b2ae2=this['adjustSheetCellData'](_0x2a94c9,_0x14ab7e,_0x3c3eaa);_0x3f54d9[_0xed4198(0x43d)](_0x1b2ae2)&&(_0x1b2ae2=_0x555844[_0xed4198(0x28d)][_0xed4198(0x404)](_0x1b2ae2['f'],Number(_0x1b2ae2['v'])));const _0x45380c=this[_0xed4198(0x31e)](_0x1b2ae2,_0x138943),_0x231e74=new _0x3f54d9[(_0xed4198(0x4c7))](_0x199d2b,_0x45380c,_0x3f54d9[_0xed4198(0x441)](0x3));_0x231e74[_0xed4198(0x1b4)]=_0xc6ff61,this[_0xed4198(0x363)][_0x199d2b]=_0x231e74,_0x4b00d2[_0xed4198(0x325)](_0x199d2b,_0x45380c),_0x51440a['push']({'index':_0x138943,'dataField':_0x231e74});}}return{'updateDataFieldList':_0x51440a,'collection':_0x4b00d2};}[_0x29437c(0x26e)](_0x1aa461){const _0x43bf1e=_0x29437c;return this[_0x43bf1e(0x280)][_0x43bf1e(0x3f9)]()[_0x43bf1e(0x1bb)]+'\x20'+_0x555844[_0x43bf1e(0x32a)](_0x1aa461);}[_0x29437c(0x31e)](_0x172542,_0x309013){return _0x172542==null||_0x172542===''?this['_getAutoName'](_0x309013):String(_0x172542);}[_0x29437c(0x40c)](_0x5c7f7e){const _0x5e63ac=_0x29437c;return this[_0x5e63ac(0x32f)][_0x5c7f7e];}[_0x29437c(0x3e1)](_0x5cbbbf,_0x48c489,_0x37dcef,_0x1d38dc){const _0x1956ee=_0x29437c;this['collections'][_0x5cbbbf]=_0x48c489,_0x48c489['setRange'](_0x37dcef),this[_0x1956ee(0x280)]['broadcastCollectionChange']({'token':_0x5cbbbf,'type':_0x40c7ce[_0x1956ee(0x4b8)],'dataRangeInfo':_0x37dcef,'targetCellInfo':_0x1d38dc});}[_0x29437c(0x3c1)](_0x3e752c,_0x443df6){const _0x1ef22c=_0x29437c,_0x3f8120=this[_0x1ef22c(0x40c)](_0x3e752c),_0x28b510=_0x3f8120[_0x1ef22c(0x1f0)]();let _0x41d6d6=0x0;for(const _0x464aae of _0x28b510){const _0x52b1ff=_0x3f8120[_0x1ef22c(0x45e)](_0x464aae),_0x2660e7=this[_0x1ef22c(0x487)](_0x443df6,_0x41d6d6);this[_0x1ef22c(0x445)](_0x52b1ff[_0x1ef22c(0x1b4)],_0x2660e7),_0x41d6d6++;}}[_0x29437c(0x24a)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x29437c(0x4bc)](_0x5ac669,_0x2f8684){const _0x2a73ed=_0x29437c;if(this[_0x2a73ed(0x40c)](_0x5ac669)){const _0x2829f4=this[_0x2a73ed(0x2d8)](_0x2f8684),_0x57e2a0=[];for(const _0x2d8413 of _0x2829f4)this['rangeKeyMap'][_0x2d8413]!==void 0x0&&_0x57e2a0[_0x2a73ed(0x436)](this['rangeKeyMap'][_0x2d8413]);const _0x300d04=this[_0x2a73ed(0x276)](_0x5ac669),_0x5968b7=[],_0x78f1f9=new Set(_0x57e2a0);for(const _0x2df830 of _0x300d04)_0x78f1f9[_0x2a73ed(0x339)](_0x2df830)||_0x5968b7[_0x2a73ed(0x436)](_0x2df830);return _0x5968b7;}}['getMatrixValue'](_0x104eba,_0x55ccaa,_0x2a69cc,_0x29a0e0,_0x11ba81){const _0x369cdc=_0x29437c;return _0x55ccaa&&_0x55ccaa['getValue'](_0x29a0e0,_0x11ba81)?_0x55ccaa[_0x369cdc(0x2b5)](_0x29a0e0,_0x11ba81):_0x2a69cc&&_0x2a69cc[_0x369cdc(0x2b5)](_0x29a0e0,_0x11ba81)?_0x2a69cc[_0x369cdc(0x2b5)](_0x29a0e0,_0x11ba81):_0x104eba[_0x369cdc(0x2b5)](_0x29a0e0,_0x11ba81);}['refreshDataField'](_0x4c82b8,_0x55bed8,_0x3a3afa,_0x54a55){const _0x4d126b=_0x29437c,_0x4c7cce=this['dataFields'][_0x4c82b8];if(!_0x4c7cce)return;const {subUnitId:_0x5a455d,range:_0x23860c,unitId:_0x58b547}=_0x55bed8,_0x548dc8=this['_univerInstanceService']['getUnit'](_0x58b547);if(!_0x548dc8){console[_0x4d126b(0x48e)](_0x4d126b(0x263));return;}const _0x4c137f=_0x548dc8[_0x4d126b(0x3b5)](_0x5a455d),_0xfb9f4d=_0x4c137f[_0x4d126b(0x486)](),{arrayFormulaCellDataMatrix:_0x4fb074,unitDataMatrix:_0x5a0715}=_0x54a55||{},{startRow:_0x1ce3af,startColumn:_0xf60c8b,endRow:_0x3b5abc}=this['getRangeStartEndInfo'](_0x23860c,_0x4c137f);_0x4c7cce[_0x4d126b(0x2f7)]();const _0x2fd8fc=_0x548dc8[_0x4d126b(0x462)](),_0x35f33e={},_0x370cdb=this[_0x4d126b(0x498)](_0xfb9f4d,_0x4fb074,_0x5a0715,_0x1ce3af,_0xf60c8b+_0x3a3afa);let _0x26ea37=this[_0x4d126b(0x38a)](_0x370cdb,_0x2fd8fc,_0x35f33e);_0x3f54d9[_0x4d126b(0x43d)](_0x26ea37)&&(_0x26ea37=_0x555844[_0x4d126b(0x28d)][_0x4d126b(0x404)](_0x26ea37['f'],Number(_0x26ea37['v'])));const _0x1287d5=this[_0x4d126b(0x31e)](_0x26ea37,_0xf60c8b+_0x3a3afa);_0x4c7cce[_0x4d126b(0x223)](_0x1287d5);for(let _0xfe0f65=_0x1ce3af+0x1;_0xfe0f65<=_0x3b5abc;_0xfe0f65++){const _0x30a6f0=this[_0x4d126b(0x498)](_0xfb9f4d,_0x4fb074,_0x5a0715,_0xfe0f65,_0xf60c8b+_0x3a3afa);_0x4c7cce[_0x4d126b(0x335)](this[_0x4d126b(0x38a)](_0x30a6f0,_0x2fd8fc,_0x35f33e),_0xfe0f65-0x1-_0x1ce3af);}}['refreshData'](_0x1049a5,_0x4feaf1,_0x6016a0){const _0x367c23=_0x29437c,{subUnitId:_0x52a1a6,range:_0x39c59e,unitId:_0x502436}=_0x6016a0,_0x4dab67=this[_0x367c23(0x3c4)]['getUnit'](_0x502436);if(!_0x4dab67){console['error'](_0x367c23(0x263));return;}const _0x49cbe4=_0x4dab67[_0x367c23(0x3b5)](_0x52a1a6),_0x9740c1=_0x49cbe4[_0x367c23(0x486)](),{startRow:_0x2500f5,startColumn:_0x2d313a,endRow:_0x320717}=this[_0x367c23(0x2a6)](_0x39c59e,_0x49cbe4),_0x2836e9=_0x4dab67[_0x367c23(0x462)](),_0x1bf19d={};for(const {dataField:_0x47e043,index:_0x5d90f5}of _0x4feaf1){_0x47e043['reset']();const _0x15540d=this[_0x367c23(0x498)](_0x9740c1,void 0x0,void 0x0,_0x2500f5,_0x2d313a+_0x5d90f5);let _0x5a1974=this[_0x367c23(0x38a)](_0x15540d,_0x2836e9,_0x1bf19d);_0x3f54d9[_0x367c23(0x43d)](_0x5a1974)&&(_0x5a1974=_0x555844[_0x367c23(0x28d)][_0x367c23(0x404)](_0x5a1974['f'],Number(_0x5a1974['v'])));const _0x5173ba=this[_0x367c23(0x31e)](_0x5a1974,_0x2d313a+_0x5d90f5);_0x47e043[_0x367c23(0x223)](_0x5173ba);}_0x1049a5[_0x367c23(0x30c)]();for(let _0x46b17c=_0x2500f5+0x1;_0x46b17c<=_0x320717;_0x46b17c++)for(const {index:_0x306d7a,dataField:_0x1b2937}of _0x4feaf1){const _0x58f514=_0x9740c1['getValue'](_0x46b17c,_0x2d313a+_0x306d7a);_0x1b2937[_0x367c23(0x335)](this['adjustSheetCellData'](_0x58f514,_0x2836e9,_0x1bf19d),_0x46b17c-0x1-_0x2500f5);}_0x1049a5[_0x367c23(0x2c6)](_0x320717-_0x2500f5);}[_0x29437c(0x2d8)](_0x3df3c3){const _0x294dea=_0x29437c,{range:_0x4df7ef}=_0x3df3c3,{startColumn:_0x1d2794,endColumn:_0x27feb7}=_0x4df7ef,_0xb2b732=[];for(let _0x3b79a3=_0x1d2794;_0x3b79a3<=_0x27feb7;_0x3b79a3++)_0xb2b732[_0x294dea(0x436)](this[_0x294dea(0x487)](_0x3df3c3,_0x3b79a3));return _0xb2b732;}[_0x29437c(0x38a)](_0x41a678,_0x465a95,_0x312cef){const _0xf1b079=_0x29437c;if(_0x41a678){const {s:_0x37b912,v:_0x3316fb,t:_0x3b5d90,p:_0x2b138c}=_0x41a678;if(_0x2b138c)return _0x59e72e(_0x2b138c);const _0x5c0f09=_0x465a95[_0xf1b079(0x21b)](_0x37b912);if(_0x5c0f09&&_0x3b5d90===_0x555844[_0xf1b079(0x2d4)][_0xf1b079(0x3e6)]&&_0x5c0f09['n']){const {pattern:_0xef78cc}=_0x5c0f09['n'];_0x312cef[_0xef78cc]||(_0x312cef[_0xef78cc]=_0x555844[_0xf1b079(0x28d)][_0xf1b079(0x420)](_0xef78cc));const _0x26082b=_0x312cef[_0xef78cc],_0x1c8ffb=_0x26082b[_0xf1b079(0x403)];if(_0x26082b[_0xf1b079(0x38b)])return String(_0x3316fb);if(_0x1c8ffb)return{'v':_0x3316fb,'f':_0xef78cc};}if(_0x3b5d90===_0x555844['CellValueType'][_0xf1b079(0x3e6)])return Number(_0x3316fb);if(_0x3b5d90===_0x555844[_0xf1b079(0x2d4)][_0xf1b079(0x207)]||_0x3b5d90===_0x555844[_0xf1b079(0x2d4)][_0xf1b079(0x1e3)])return String(_0x3316fb);if(_0x3b5d90===void 0x0){const _0x4596b8=Number(_0x3316fb);if(!Number[_0xf1b079(0x49c)](_0x4596b8)&&String(_0x4596b8)===_0x3316fb)return _0x4596b8;}return _0x3316fb!=null?_0x3316fb:null;}else return null;}['getRangeData'](_0x1a942a){const _0x53bce1=_0x29437c,{sheetName:_0x55d20c,range:_0x6894e0,unitId:_0x1e06bb}=_0x1a942a,_0x5b8ea7=this[_0x53bce1(0x3c4)]['getUnit'](_0x1e06bb);if(!_0x5b8ea7)return console[_0x53bce1(0x48e)](_0x53bce1(0x263)),{'header':[],'data':[]};const _0x65629e=_0x5b8ea7[_0x53bce1(0x499)](_0x55d20c),_0x34cd1d=_0x65629e[_0x53bce1(0x486)](),{startRow:_0x49b487,startColumn:_0x2fc85e,endRow:_0x48668b,endColumn:_0x1c3f62}=this[_0x53bce1(0x2a6)](_0x6894e0,_0x65629e),_0x34472a=_0x5b8ea7[_0x53bce1(0x462)](),_0x1d1996=[],_0xb48dd9=[],_0x54bb8a={};for(let _0x597f17=_0x49b487;_0x597f17<=_0x48668b;_0x597f17++){const _0x314428=[];for(let _0x1f88dc=_0x2fc85e;_0x1f88dc<=_0x1c3f62;_0x1f88dc++){const _0x333b99=_0x34cd1d[_0x53bce1(0x2b5)](_0x597f17,_0x1f88dc);_0x597f17===_0x49b487?_0x1d1996[_0x53bce1(0x436)](_0x333b99==null?null:String(_0x333b99['v'])):_0x314428[_0x53bce1(0x436)](this['adjustSheetCellData'](_0x333b99,_0x34472a,_0x54bb8a));}_0xb48dd9[_0x53bce1(0x436)](_0x314428);}return{'header':_0x1d1996,'data':_0xb48dd9};}[_0x29437c(0x212)](){const _0x1ebdc6=_0x29437c;return super[_0x1ebdc6(0x212)]();}['fromJSON'](_0x3b7539){const _0x2c6982=_0x29437c;super['fromJSON'](_0x3b7539),this[_0x2c6982(0x4a6)]();}[_0x29437c(0x28c)](){const _0x326a65=_0x29437c;super['dispose'](),this[_0x326a65(0x491)]={},this[_0x326a65(0x280)]=null;}}const _0x12b009=_0x23d926=>{const _0x4c458a=_0x29437c,{targetCellInfo:_0x17c033}=_0x23d926,{matrixCache:_0x540a7c,rangesCache:_0x218b0c}=_0x56f3d6({'filter':'Filter','row':'Row','column':_0x4c458a(0x393),'values':_0x4c458a(0x33c)},_0x17c033),_0x96342f=new _0x555844[(_0x4c458a(0x48a))]();return _0x540a7c[_0x4c458a(0x3c6)]((_0x5a0fd5,_0x308f14,_0x51bb45)=>{const _0x70951c=_0x4c458a;_0x96342f[_0x70951c(0x1d9)](_0x5a0fd5,_0x308f14,_0x51bb45);}),{'matrix':_0x96342f,'rangesCache':_0x218b0c};},_0x4aae9b=_0x25a1c1=>{const _0x3fb15e=_0x29437c;let _0x2b535f;if(_0x25a1c1!=null&&_0x25a1c1['v']||(_0x25a1c1==null?void 0x0:_0x25a1c1['v'])===0x0){_0x2b535f||(_0x2b535f={});const _0x265a9f=_0x58e7c0(_0x25a1c1['v']);typeof _0x265a9f==_0x3fb15e(0x457)?_0x2b535f['t']=_0x555844[_0x3fb15e(0x2d4)]['NUMBER']:typeof _0x265a9f=='string'&&(_0x2b535f['t']=_0x555844[_0x3fb15e(0x2d4)][_0x3fb15e(0x207)]),_0x2b535f['v']=_0x265a9f;}return _0x2b535f;},_0x17f21c=(_0x3e54d8,_0x5698bc,_0x99c10e)=>{const _0x1a8a07=_0x29437c;var _0x3d51ed,_0x1a846f,_0x60edd9,_0xaa18e6,_0x41f978,_0x235da7,_0x8eb5f2,_0x1e6eb8,_0x1dea00,_0x47278b,_0x3b16eb,_0x23edd5;const {cornerView:_0x2c08b5,rowView:_0x2b0dd7,colView:_0x17e710,dataView:_0x265243,pageView:_0x203909,formatMap:_0x862453}=_0x3e54d8,{row:_0x533c9c,col:_0x1e1cd4}=_0x5698bc,_0x262451=new _0x555844[(_0x1a8a07(0x48a))]();let _0xbf8fca=_0x533c9c,_0x4d521a=_0x1e1cd4;Object[_0x1a8a07(0x1b0)](_0x203909[_0x1a8a07(0x267)])[_0x1a8a07(0x300)](_0x273594=>{const _0x77973c=_0x1a8a07;Object[_0x77973c(0x1b0)](_0x203909[_0x77973c(0x267)][Number(_0x273594)])[_0x77973c(0x300)](_0x47564a=>{const _0x1045fc=_0x77973c,_0x443ff6={..._0x203909['data'][Number(_0x273594)][Number(_0x47564a)]};_0x262451[_0x1045fc(0x1d9)](Number(_0x273594)+_0xbf8fca,Number(_0x47564a)+_0x4d521a,_0x4aae9b(_0x443ff6));});});const _0x2e510e=Object[_0x1a8a07(0x1b0)](_0x203909[_0x1a8a07(0x267)])[_0x1a8a07(0x259)];_0xbf8fca+=_0x2e510e+(_0x2e510e?_0x413b87:0x0);const _0x34ab83=_0x2c08b5[_0x1a8a07(0x3cb)](),_0x56224e=_0x2c08b5['getColCount']();for(let _0x1afac5=0x0;_0x1afac5<_0x34ab83;_0x1afac5++)for(let _0x45b523=0x0;_0x45b523<_0x56224e;_0x45b523++){const _0x32a1e9={...(_0x1a846f=(_0x3d51ed=_0x2c08b5[_0x1a8a07(0x267)])==null?void 0x0:_0x3d51ed[_0x1afac5])==null?void 0x0:_0x1a846f[_0x45b523]};_0x32a1e9&&((_0x60edd9=_0x2b0dd7['headerMap'][_0x45b523])!=null&&_0x60edd9[_0x1a8a07(0x348)])&&_0x45b523===_0x56224e-0x1&&_0x1afac5===_0x34ab83-0x1&&(_0x32a1e9['v']=''+_0x99c10e[_0x1a8a07(0x2bd)]),_0x262451[_0x1a8a07(0x1d9)](_0x1afac5+_0xbf8fca,_0x45b523+_0x4d521a,_0x4aae9b(_0x32a1e9));}_0x4d521a+=_0x56224e;const _0x3280c5=_0x17e710[_0x1a8a07(0x312)],_0x3f9ba7=_0x17e710['getLastRow']()>=0x0?_0x17e710[_0x1a8a07(0x481)]()+0x1:0x0,_0x55d1b5=_0x17e710[_0x1a8a07(0x25a)]()>=0x0?_0x17e710[_0x1a8a07(0x25a)]()+0x1:0x0;for(let _0x22569d=0x0;_0x22569d<_0x55d1b5;_0x22569d++)for(let _0x4fe20b=0x0;_0x4fe20b<_0x3f9ba7;_0x4fe20b++){const _0x30d86c={...(_0x41f978=(_0xaa18e6=_0x17e710[_0x1a8a07(0x267)])==null?void 0x0:_0xaa18e6[_0x22569d])==null?void 0x0:_0x41f978[_0x4fe20b]},_0x4d7344=(_0x235da7=_0x3280c5[_0x22569d])==null?void 0x0:_0x235da7[_0x1a8a07(0x406)],_0x26c896=_0x862453[_0x4d7344];_0x30d86c&&(_0x30d86c['v']=_0x108fde(_0x30d86c,_0x22569d===0x0&&((_0x8eb5f2=_0x17e710[_0x1a8a07(0x397)](_0x4fe20b+0x1))==null?void 0x0:_0x8eb5f2['isValue']),_0x26c896,_0x99c10e)),_0x262451[_0x1a8a07(0x1d9)](_0x22569d+_0xbf8fca,_0x4fe20b+_0x4d521a,_0x4aae9b(_0x30d86c));}_0xbf8fca+=_0x34ab83;const _0x82e98d=_0x2b0dd7[_0x1a8a07(0x312)],_0x5850a4=_0x2b0dd7[_0x1a8a07(0x481)]()>=0x0?_0x2b0dd7[_0x1a8a07(0x481)]()+0x1:0x0,_0x29b63c=_0x2b0dd7['getLastCol']()>=0x0?_0x2b0dd7[_0x1a8a07(0x25a)]()+0x1:0x0;for(let _0x2133ea=0x0;_0x2133ea<_0x5850a4;_0x2133ea++)for(let _0x5c5d2a=0x0;_0x5c5d2a<_0x29b63c;_0x5c5d2a++){const _0x26741a={...(_0x1dea00=(_0x1e6eb8=_0x2b0dd7[_0x1a8a07(0x267)])==null?void 0x0:_0x1e6eb8[_0x2133ea])==null?void 0x0:_0x1dea00[_0x5c5d2a]},_0x5ae7cc=(_0x47278b=_0x82e98d[_0x5c5d2a])==null?void 0x0:_0x47278b[_0x1a8a07(0x406)],_0x327005=_0x862453[_0x5ae7cc];_0x26741a&&(_0x26741a['v']=_0x108fde(_0x26741a,!0x1,_0x327005,_0x99c10e)),_0x262451[_0x1a8a07(0x1d9)](_0x2133ea+_0xbf8fca,_0x5c5d2a+_0x1e1cd4,_0x4aae9b(_0x26741a));}const _0x1d7fb0=_0x265243[_0x1a8a07(0x3cb)](),_0x49e73d=_0x265243[_0x1a8a07(0x1e1)]();for(let _0x48ad24=0x0;_0x48ad24<_0x1d7fb0;_0x48ad24++)for(let _0x49fe03=0x0;_0x49fe03<_0x49e73d;_0x49fe03++){const _0x2eeca4={...(_0x23edd5=(_0x3b16eb=_0x265243[_0x1a8a07(0x267)])==null?void 0x0:_0x3b16eb[_0x48ad24])==null?void 0x0:_0x23edd5[_0x49fe03]};_0x262451[_0x1a8a07(0x1d9)](_0x48ad24+_0xbf8fca,_0x49fe03+_0x4d521a,_0x4aae9b(_0x2eeca4));}return _0x262451;},_0x1ef80d=_0xfb443a=>{const _0x4d7493=_0x29437c,{view:_0x90080f,targetCellInfo:_0x434157,isEmpty:_0x3378f0,textInfo:_0x192745}=_0xfb443a;if(_0x3378f0)return _0x12b009(_0xfb443a);const {pageView:_0x1332be,cornerView:_0x82acbc,rowView:_0xfd6d3a,colView:_0xc43f06,dataView:_0x2402a5}=_0x90080f,_0x19df4f=_0x32d47c(_0x434157,_0x1332be,!0x0),_0x2d36ba=_0x1332be['lastRow']>=0x0?_0x1332be[_0x4d7493(0x497)]+0x1:0x0,_0x51b226=_0x82acbc[_0x4d7493(0x3cb)](),_0x10656e=_0x82acbc[_0x4d7493(0x1e1)](),_0x44baeb=_0x19df4f[_0x4d7493(0x259)]>0x0?_0x413b87:0x0,_0xdc8c44=_0x32d47c({'row':_0x434157['row']+_0x2d36ba+_0x44baeb,'col':_0x434157['col']},_0x82acbc,!0x1,!0x1),_0x1d65a4=_0x32d47c({'row':_0x434157[_0x4d7493(0x33d)]+_0x2d36ba+_0x44baeb+_0x51b226,'col':_0x434157[_0x4d7493(0x205)]},_0xfd6d3a,!0x1,!0x0),_0x47d7cf=_0x32d47c({'row':_0x434157[_0x4d7493(0x33d)]+_0x2d36ba+_0x44baeb,'col':_0x434157[_0x4d7493(0x205)]+_0x10656e},_0xc43f06,!0x1,!0x0),_0x5b8fe5=_0x32d47c({'row':_0x434157['row']+_0x2d36ba+_0x44baeb+_0x51b226,'col':_0x434157['col']+_0x10656e},_0x2402a5,!0x1,!0x1),_0x4b8a08={'rowRanges':_0x1d65a4,'colRanges':_0x47d7cf,'cornerRanges':_0xdc8c44,'dataRanges':_0x5b8fe5,'pageRanges':_0x19df4f};return{'matrix':_0x17f21c(_0x90080f,_0x434157,_0x192745),'rangesCache':_0x4b8a08};};var _0x55d8ce=Object['getOwnPropertyDescriptor'],_0x107baa=(_0x3d0c56,_0x3a272a,_0xa51ede,_0x1fdadf)=>{const _0xd6cb6b=_0x29437c;for(var _0x229eaf=_0x1fdadf>0x1?void 0x0:_0x1fdadf?_0x55d8ce(_0x3a272a,_0xa51ede):_0x3a272a,_0x244071=_0x3d0c56[_0xd6cb6b(0x259)]-0x1,_0x37579d;_0x244071>=0x0;_0x244071--)(_0x37579d=_0x3d0c56[_0x244071])&&(_0x229eaf=_0x37579d(_0x229eaf)||_0x229eaf);return _0x229eaf;},_0x120327=(_0x4ec0c7,_0x2c3e25)=>(_0x29f604,_0x3ded2a)=>_0x2c3e25(_0x29f604,_0x3ded2a,_0x4ec0c7);_0x24ce63[_0x29437c(0x369)]=class extends _0x555844['Disposable']{constructor(_0x234bf5,_0x7865f4,_0x3f410d,_0x15a1c4,_0x454709){const _0x55ab14=_0x29437c;super(),_0x528485(this,_0x55ab14(0x1b9),new Map()),_0x528485(this,_0x55ab14(0x2fe),new Map()),_0x528485(this,_0x55ab14(0x2e6),new Map()),_0x528485(this,_0x55ab14(0x26f)),_0x528485(this,_0x55ab14(0x439),new _0xf4d055['Subject']()),_0x528485(this,'collectionChange$',this['_collectionChange$'][_0x55ab14(0x468)]()),_0x528485(this,_0x55ab14(0x1b5),new _0xf4d055[(_0x55ab14(0x1e8))]()),_0x528485(this,_0x55ab14(0x389),this['_viewData$'][_0x55ab14(0x468)]()),_0x528485(this,_0x55ab14(0x34e),new _0xf4d055[(_0x55ab14(0x1e8))]()),_0x528485(this,_0x55ab14(0x365),this[_0x55ab14(0x34e)][_0x55ab14(0x468)]()),_0x528485(this,_0x55ab14(0x40f),new Map()),_0x528485(this,'needSameDeleteModel',[]),_0x528485(this,_0x55ab14(0x1b8),new Map()),(this['_injector']=_0x234bf5,this[_0x55ab14(0x3c4)]=_0x7865f4,this[_0x55ab14(0x4c1)]=_0x3f410d,this[_0x55ab14(0x337)]=_0x15a1c4,this['_resourceManagerService']=_0x454709,this[_0x55ab14(0x485)]());}[_0x29437c(0x3f9)](){const _0x40826b=_0x29437c;return this[_0x40826b(0x26f)]?this[_0x40826b(0x26f)]:_0x5c90f1;}[_0x29437c(0x4bb)](_0x3e217a){const _0x4258c2=_0x29437c;this[_0x4258c2(0x26f)]=_0x3e217a;}[_0x29437c(0x3c1)](_0x4cb826){const _0x39e9ce=_0x29437c;var _0x456c63;const {from:_0x293b7b,to:_0x406c40,unitId:_0x37c9d9,fromRange:_0x4a7885,toRange:_0x18e25d}=_0x4cb826;if(_0x293b7b&&_0x406c40){const _0x430492=this[_0x39e9ce(0x3ef)](_0x37c9d9),_0x285d55=this[_0x39e9ce(0x1b9)]['get'](_0x37c9d9),_0x36f291=(_0x456c63=this[_0x39e9ce(0x3c4)][_0x39e9ce(0x2aa)](_0x37c9d9))==null?void 0x0:_0x456c63[_0x39e9ce(0x3b5)](_0x406c40[_0x39e9ce(0x3f5)]);if(!_0x285d55||!_0x36f291)return;const _0x9fbef9=_0x36f291==null?void 0x0:_0x36f291[_0x39e9ce(0x482)]();for(const [_0x907216,_0x490de3]of _0x285d55[_0x39e9ce(0x21a)]())for(const [_0x1ad008,_0x1868ff]of _0x490de3[_0x39e9ce(0x21a)]()){const {sourceRangeInfo:_0x129990}=_0x1868ff;if(_0x129990['unitId']===_0x37c9d9&&_0x129990[_0x39e9ce(0x3f5)]===_0x293b7b[_0x39e9ce(0x3f5)]&&_0x555844['Rectangle'][_0x39e9ce(0x464)](_0x4a7885,_0x129990[_0x39e9ce(0x2eb)])){const _0x3e8c33={'row':_0x129990[_0x39e9ce(0x2eb)][_0x39e9ce(0x1d2)]-_0x4a7885[_0x39e9ce(0x1d2)],'col':_0x129990[_0x39e9ce(0x2eb)][_0x39e9ce(0x3d6)]-_0x4a7885[_0x39e9ce(0x3d6)]},_0x598ec5={'unitId':_0x37c9d9,'subUnitId':_0x406c40['subUnitId'],'sheetName':_0x9fbef9,'range':{'startRow':_0x18e25d[_0x39e9ce(0x1d2)]+_0x3e8c33[_0x39e9ce(0x33d)],'endRow':_0x18e25d[_0x39e9ce(0x1d2)]+_0x3e8c33[_0x39e9ce(0x33d)]+_0x129990['range'][_0x39e9ce(0x3d8)]-_0x129990[_0x39e9ce(0x2eb)][_0x39e9ce(0x1d2)],'startColumn':_0x18e25d[_0x39e9ce(0x3d6)]+_0x3e8c33['col'],'endColumn':_0x18e25d['startColumn']+_0x3e8c33[_0x39e9ce(0x205)]+_0x129990[_0x39e9ce(0x2eb)][_0x39e9ce(0x2b1)]-_0x129990['range'][_0x39e9ce(0x3d6)]}};_0x430492[_0x39e9ce(0x3c1)](_0x1ad008,_0x598ec5);const _0x107c36={..._0x1868ff,'sourceRangeInfo':_0x598ec5};this[_0x39e9ce(0x3bc)](_0x37c9d9,_0x406c40[_0x39e9ce(0x3f5)],_0x1ad008,_0x107c36),this[_0x39e9ce(0x2e3)]({'unitId':_0x37c9d9,'token':_0x1ad008,'type':_0x40c7ce[_0x39e9ce(0x247)],'oldSourceRangeInfo':_0x129990,'dataRangeInfo':_0x598ec5,'targetCellInfo':_0x1868ff[_0x39e9ce(0x376)]}),this[_0x39e9ce(0x360)]({'unitId':_0x37c9d9,'subUnitId':_0x406c40[_0x39e9ce(0x3f5)],'oldSubUnitId':_0x907216,'pivotTableId':_0x1ad008,'pivotTableConfig':_0x107c36,'collectionConfig':_0x430492[_0x39e9ce(0x212)]()});}}}}['broadcastCollectionChange'](_0x1d0efb){const _0xc698ea=_0x29437c;this[_0xc698ea(0x439)][_0xc698ea(0x4be)](_0x1d0efb);}['getDataFieldManager'](_0x32b545){const _0x1a131e=_0x29437c;let _0x426f37=this[_0x1a131e(0x40f)]['get'](_0x32b545);return _0x426f37||(_0x426f37=new _0x120245(this,this[_0x1a131e(0x3c4)]),this['_dataFieldManagerCollection'][_0x1a131e(0x250)](_0x32b545,_0x426f37)),_0x426f37;}['getCollection'](_0x52728f,_0x579668){const _0x5d91ea=_0x29437c;return this[_0x5d91ea(0x3ef)](_0x52728f)[_0x5d91ea(0x32f)][_0x579668];}[_0x29437c(0x4bc)](_0x232a67,_0x52c33e,_0x28d5b4){const _0x2def57=_0x29437c;return this[_0x2def57(0x3ef)](_0x232a67)[_0x2def57(0x4bc)](_0x52c33e,_0x28d5b4);}[_0x29437c(0x4c6)](_0x10377e,_0x2ae232){const _0x551e7a=_0x29437c;let _0x38d64e=this[_0x551e7a(0x1b9)][_0x551e7a(0x21b)](_0x10377e);_0x38d64e||(_0x38d64e=new Map(),this[_0x551e7a(0x1b9)][_0x551e7a(0x250)](_0x10377e,_0x38d64e));let _0x13124d=_0x38d64e[_0x551e7a(0x21b)](_0x2ae232);return _0x13124d||(_0x13124d=new Map(),_0x38d64e[_0x551e7a(0x250)](_0x2ae232,_0x13124d)),_0x13124d;}[_0x29437c(0x3bc)](_0x2e36e2,_0x51d3c9,_0x218208,_0x4e9c40){const _0x4b156a=_0x29437c;this[_0x4b156a(0x4c6)](_0x2e36e2,_0x51d3c9)[_0x4b156a(0x250)](_0x218208,_0x4e9c40);}['_deleteModelCache'](_0x4160a5,_0x2da2b3,_0x34096a){const _0x331b88=_0x29437c;var _0x45eea2,_0x1c90b8,_0x4d257b,_0x2e0425;((_0x1c90b8=(_0x45eea2=this[_0x331b88(0x1b9)][_0x331b88(0x21b)](_0x4160a5))==null?void 0x0:_0x45eea2[_0x331b88(0x21b)](_0x2da2b3))==null?void 0x0:_0x1c90b8['get'](_0x34096a))&&((_0x2e0425=(_0x4d257b=this[_0x331b88(0x1b9)]['get'](_0x4160a5))==null?void 0x0:_0x4d257b[_0x331b88(0x21b)](_0x2da2b3))==null||_0x2e0425[_0x331b88(0x370)](_0x34096a));}[_0x29437c(0x466)](_0x16df7f,_0x33c09b){this['_pivotTableInstanceCache']['set'](_0x16df7f,_0x33c09b);}['_deletePivotTableInstanceCache'](_0x2eed13){const _0x250532=_0x29437c;this[_0x250532(0x2fe)][_0x250532(0x370)](_0x2eed13);}[_0x29437c(0x1f3)](_0x5016c5,_0x44172a){const _0x4aab9e=_0x29437c;let _0x2b4290=this[_0x4aab9e(0x2e6)][_0x4aab9e(0x21b)](_0x5016c5);_0x2b4290||(_0x2b4290=new Map(),this['_viewData'][_0x4aab9e(0x250)](_0x5016c5,_0x2b4290));let _0x493ec1=_0x2b4290[_0x4aab9e(0x21b)](_0x44172a);return _0x493ec1||(_0x493ec1=new Map(),_0x2b4290[_0x4aab9e(0x250)](_0x44172a,_0x493ec1)),_0x493ec1;}[_0x29437c(0x360)](_0xee57b){const _0xec6db9=_0x29437c,{unitId:_0x5d9c93,subUnitId:_0x3e9ff4,pivotTableId:_0x54dd5c,pivotTableConfig:_0x1a8bfe,collectionConfig:_0x50d03e}=_0xee57b,_0x485697={'unitId':_0x5d9c93,'subUnitId':_0x3e9ff4,'oldSubUnitId':_0x3e9ff4,'pivotTableId':_0x54dd5c,'pivotTableConfig':_0x1a8bfe,'collectionConfig':_0x50d03e};this[_0xec6db9(0x337)]['executeCommand'](_0x1c3780['id'],_0x485697,{'onlyLocal':!0x0});}[_0x29437c(0x22f)](_0x33a800,_0x28e975,_0x212fab,_0x50121c,_0x1c0978,_0x22bf63,_0x1af82d,_0xf74147=!0x1){const _0x1d85c7=_0x29437c;var _0x3aab49;this[_0x1d85c7(0x337)][_0x1d85c7(0x1b2)](_0x2d4f5e['id'],{'single':{'unitId':_0x33a800,'subUnitId':_0x28e975,'type':_0x212fab,'pivotTableId':_0x50121c,'view':_0x1c0978,'pivotConfig':_0x22bf63},'collectionConfig':{[_0x33a800]:_0x1af82d}},{'onlyLocal':!0x0});const _0x10d2e3=!!((_0x3aab49=this['getPivotTableInstance'](_0x50121c))!=null&&_0x3aab49[_0x1d85c7(0x296)]()),_0x1cf48a=this[_0x1d85c7(0x2dc)](_0x33a800,_0x28e975,_0x50121c);_0x1cf48a&&this[_0x1d85c7(0x2ec)]({'view':_0x1c0978,'pivotTableId':_0x50121c,'textInfo':this[_0x1d85c7(0x3f9)](),'isEmpty':_0x10d2e3,'targetCellInfo':_0x1cf48a[_0x1d85c7(0x376)]},_0xf74147);}['updateViewData'](_0x27d703,_0x4c35cf){const _0x2cdfb4=_0x29437c,{targetCellInfo:_0x2d4a8f,pivotTableId:_0x3fe10b}=_0x27d703,{unitId:_0x283895,subUnitId:_0x5798a3}=_0x2d4a8f,_0x147df2=this[_0x2cdfb4(0x1f3)](_0x283895,_0x5798a3),_0x358ab8=_0x147df2[_0x2cdfb4(0x21b)](_0x3fe10b);let _0x22d23a,_0x340c16;_0x358ab8&&(_0x22d23a=_0x358ab8[_0x2cdfb4(0x45d)],_0x340c16=_0x358ab8[_0x2cdfb4(0x44a)]);const {rangesCache:_0x38a252,matrix:_0x241101}=_0x1ef80d(_0x27d703);_0x147df2['set'](_0x3fe10b,{'rangeCache':_0x38a252,'matrix':_0x241101,'oldMatrix':_0x340c16,'oldRangeCache':_0x22d23a}),_0x4c35cf||this[_0x2cdfb4(0x1b5)][_0x2cdfb4(0x4be)]({'unitId':_0x283895,'subUnitId':_0x5798a3,'pivotTableId':_0x3fe10b});}[_0x29437c(0x405)](_0x3462d5,_0x477a82,_0x543bdb,_0x14fc27,_0x5b48ef){const _0x39bb20=_0x29437c;this[_0x39bb20(0x3bc)](_0x3462d5,_0x477a82,_0x543bdb,_0x5b48ef),this['_updatePivotTableInstanceCache'](_0x543bdb,_0x14fc27);}[_0x29437c(0x202)](_0x5ed334,_0x5100f1,_0x223f92){const _0x2b22ed=_0x29437c,_0x5205ba=this[_0x2b22ed(0x3ef)](_0x5ed334);_0x5205ba[_0x2b22ed(0x276)](_0x223f92)[_0x2b22ed(0x300)](_0x61e8ec=>{const _0x5c0626=_0x2b22ed;_0x5205ba[_0x5c0626(0x1f9)](_0x61e8ec);}),this['removeCollections'](_0x5ed334,_0x223f92),this[_0x2b22ed(0x36e)](_0x5ed334,_0x5100f1,_0x223f92),this[_0x2b22ed(0x47e)](_0x223f92);}[_0x29437c(0x34a)](_0x1efd9a,_0x3151bc,_0x3f1eec,_0xb46ab){this['_updateModelCache'](_0x1efd9a,_0x3151bc,_0x3f1eec,_0xb46ab);}['getPivotTableConfig'](_0x1b6a96,_0x446d96,_0x344528){const _0x51b958=_0x29437c;var _0x119426,_0x44c033;const _0x4a1438=(_0x44c033=(_0x119426=this['_model'][_0x51b958(0x21b)](_0x1b6a96))==null?void 0x0:_0x119426['get'](_0x446d96))==null?void 0x0:_0x44c033[_0x51b958(0x21b)](_0x344528);if(_0x4a1438)return _0x4a1438;}[_0x29437c(0x4b6)](_0x4dcbe6,_0x4cc20c,_0x3a982b){const _0x16b485=_0x29437c;var _0x3963b0,_0x32b9ee;const _0x53f3aa=(_0x32b9ee=(_0x3963b0=this[_0x16b485(0x1b9)]['get'](_0x4dcbe6))==null?void 0x0:_0x3963b0['get'](_0x4cc20c))==null?void 0x0:_0x32b9ee['get'](_0x3a982b);if(_0x53f3aa)return _0x53f3aa[_0x16b485(0x449)];}[_0x29437c(0x2ad)](_0x108d02){const _0xf24f5a=_0x29437c;return this['_pivotTableInstanceCache'][_0xf24f5a(0x21b)](_0x108d02);}[_0x29437c(0x377)](_0x56c5f4){const _0x2a3422=_0x29437c;this[_0x2a3422(0x1b9)][_0x2a3422(0x370)](_0x56c5f4);const _0x2913e1=this['_dataFieldManagerCollection'][_0x2a3422(0x21b)](_0x56c5f4);_0x2913e1&&(_0x2913e1[_0x2a3422(0x28c)](),this[_0x2a3422(0x40f)]['delete'](_0x56c5f4)),this[_0x2a3422(0x2e6)]['delete'](_0x56c5f4),this[_0x2a3422(0x2e9)][_0x2a3422(0x300)](_0x30894f=>{const _0x197f9c=_0x2a3422;_0x30894f[_0x197f9c(0x377)](_0x56c5f4);});}[_0x29437c(0x1be)](_0xbdd803,_0x588f7e,_0x5a7ba3,_0x26a8b0){const _0x1e17bf=_0x29437c;return this[_0x1e17bf(0x3ef)](_0x5a7ba3[_0x1e17bf(0x3ce)])[_0x1e17bf(0x1be)](_0xbdd803,_0x588f7e,_0x5a7ba3,_0x26a8b0);}[_0x29437c(0x23a)](_0x5de229){const _0x4a944d=_0x29437c;return this[_0x4a944d(0x3ef)](_0x5de229[_0x4a944d(0x3ce)])['createCollectionWithDataRange'](_0x5de229);}[_0x29437c(0x1f2)](_0x501d4d,_0x527fb4,_0x116628){const _0x531636=_0x29437c;this[_0x531636(0x3ef)](_0x116628[_0x531636(0x3ce)])[_0x531636(0x1f2)](_0x501d4d,_0x527fb4,_0x116628);}[_0x29437c(0x42d)](_0x30d489,_0x409b38){const _0x227d2d=_0x29437c;this[_0x227d2d(0x3ef)](_0x30d489)[_0x227d2d(0x1f9)](_0x409b38);}[_0x29437c(0x374)](_0x4c3bb5,_0x2327e9){const _0x2d0cf3=_0x29437c;this[_0x2d0cf3(0x3ef)](_0x4c3bb5)[_0x2d0cf3(0x347)](_0x2327e9);}[_0x29437c(0x45f)](_0x1478cd,_0x2ef3d8){const _0x467049=_0x29437c;var _0x4b0223;return(_0x4b0223=this[_0x467049(0x1b9)]['get'](_0x1478cd))==null?void 0x0:_0x4b0223['get'](_0x2ef3d8);}[_0x29437c(0x232)](_0x438fc3){const _0x18999e=_0x29437c;for(const [_0x31070a,_0x3527a3]of this[_0x18999e(0x1b9)][_0x18999e(0x21a)]())for(const [_0x2ccf46,_0x5561bd]of _0x3527a3[_0x18999e(0x21a)]())if(_0x5561bd[_0x18999e(0x339)](_0x438fc3))return{'unitId':_0x31070a,'subUnitId':_0x2ccf46};return null;}['sideEffectUpdateWorkerCache'](_0x5d53a0,_0x371373,_0xce69be,_0x11f3ab){const _0x1032b8=_0x29437c,_0x68797=this['_ensureViewDataMap'](_0x5d53a0,_0x371373);_0x11f3ab?_0x68797[_0x1032b8(0x250)](_0xce69be,_0x11f3ab):_0x68797[_0x1032b8(0x370)](_0xce69be),this['_viewData$']['next']({'unitId':_0x5d53a0,'subUnitId':_0x371373,'pivotTableId':_0xce69be});}[_0x29437c(0x28c)](){const _0x3f8841=_0x29437c;super[_0x3f8841(0x28c)]();}['getViewData'](_0x977042,_0x1ff6a4,_0x53e1eb){const _0x38c211=_0x29437c;var _0x5ee625,_0xed8ba3;const _0x1d02c2=(_0xed8ba3=(_0x5ee625=this['_viewData'][_0x38c211(0x21b)](_0x977042))==null?void 0x0:_0x5ee625[_0x38c211(0x21b)](_0x1ff6a4))==null?void 0x0:_0xed8ba3[_0x38c211(0x21b)](_0x53e1eb);return _0x1d02c2||null;}[_0x29437c(0x43f)](_0x101eeb){const _0x135431=_0x29437c;this[_0x135431(0x38d)](_0x101eeb);}[_0x29437c(0x38d)](_0x4c8977){const _0xc12b7b=_0x29437c,{token:_0x282750,unitId:_0x23036f,subUnitId:_0x26003a}=_0x4c8977,_0x16a7fa=_0x23036f+'-'+_0x26003a+'-'+_0x282750;this['_queryingMap'][_0xc12b7b(0x21b)](_0x16a7fa)&&clearTimeout(this['_queryingMap']['get'](_0x16a7fa));const _0x1c171a=setTimeout(()=>{const _0x1aa75e=_0xc12b7b;this[_0x1aa75e(0x2c4)](_0x4c8977),this[_0x1aa75e(0x1b8)][_0x1aa75e(0x370)](_0x16a7fa);},_0x233ee7);this['_queryingMap']['set'](_0x16a7fa,_0x1c171a);}[_0x29437c(0x2c4)](_0x5264be){const _0x56528c=_0x29437c,{unitId:_0x5d85df,subUnitId:_0x3a1acc,token:_0x43d623,type:_0x52a82d,pivotConfig:_0x4bbe7d}=_0x5264be,_0x30503c=this['getPivotTableInstance'](_0x43d623),_0x5349da=_0x30503c==null?void 0x0:_0x30503c[_0x56528c(0x306)](),_0x346914=_0x4bbe7d!=null?_0x4bbe7d:this[_0x56528c(0x2dc)](_0x5d85df,_0x3a1acc,_0x43d623);_0x346914&&(_0x346914[_0x56528c(0x296)]=!!(_0x30503c!=null&&_0x30503c[_0x56528c(0x296)]())),(_0x5349da||_0x52a82d===_0xc3c280[_0x56528c(0x1c0)])&&this[_0x56528c(0x22f)](_0x5d85df,_0x3a1acc,_0x52a82d,_0x43d623,_0x5349da,_0x346914,this[_0x56528c(0x3ef)](_0x5d85df)[_0x56528c(0x212)]());}['toJSON'](_0x59710b){const _0x4f01fb=_0x29437c,_0x4d598f={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x4f01fb(0x3ef)](_0x59710b)&&(_0x4d598f['dataFieldManagerConfig'][_0x59710b]=this[_0x4f01fb(0x3ef)](_0x59710b)[_0x4f01fb(0x212)]()),this[_0x4f01fb(0x1b9)]['get'](_0x59710b)){_0x4d598f[_0x4f01fb(0x22e)][_0x59710b]={};const _0x2a8bbf=this[_0x4f01fb(0x1b9)][_0x4f01fb(0x21b)](_0x59710b);_0x2a8bbf!=null&&_0x2a8bbf[_0x4f01fb(0x3e9)]&&[..._0x2a8bbf[_0x4f01fb(0x1b0)]()]['forEach'](_0x12f337=>{const _0x2cacc9=_0x4f01fb,_0x333daf=_0x2a8bbf[_0x2cacc9(0x21b)](_0x12f337);_0x333daf!=null&&_0x333daf[_0x2cacc9(0x3e9)]&&(_0x4d598f[_0x2cacc9(0x22e)][_0x59710b][_0x12f337]={},[..._0x333daf[_0x2cacc9(0x1b0)]()][_0x2cacc9(0x300)](_0x5438f0=>{const _0x4cafa4=_0x333daf['get'](_0x5438f0);_0x4cafa4&&(_0x4d598f['pivotTableConfigs'][_0x59710b][_0x12f337][_0x5438f0]=_0x4cafa4);}));});}return _0x4d598f;}[_0x29437c(0x2fa)](_0x41fb7a){const _0x37106c=_0x29437c;var _0x5a612d;const {dataFieldManagerConfig:_0x454c17,pivotTableConfigs:_0x27c852}=_0x41fb7a;_0x454c17&&Object[_0x37106c(0x1b0)](_0x454c17)['forEach'](_0x1b958f=>{const _0x58ee19=_0x37106c;this[_0x58ee19(0x3ef)](_0x1b958f)[_0x58ee19(0x2fa)](_0x454c17[_0x1b958f]);});const _0x4a467a=[];if(_0x27c852){const _0x4634a6=(_0x5a612d=this[_0x37106c(0x2d6)][_0x37106c(0x21b)](_0x555844[_0x37106c(0x41e)])[_0x37106c(0x394)](_0x440f6c['LS_CONFIG_KEY']))!=null?_0x5a612d:{},{ls:_0x48c400,pbk:_0x4b082d}=_0x4634a6,_0x16f31d=_0x992aa1(_0x5a959c,_0x48c400,_0x4b082d)[_0x37106c(0x32b)];Object[_0x37106c(0x1b0)](_0x27c852)[_0x37106c(0x300)](_0xdccf31=>{const _0x48c3ff=_0x37106c;let _0x4b4fd7=0x0;const _0x4a355d=_0x27c852[_0xdccf31];Object[_0x48c3ff(0x1b0)](_0x4a355d)[_0x48c3ff(0x300)](_0x24ce2f=>{const _0x313eac=_0x48c3ff,_0x497c34=_0x4a355d[_0x24ce2f];Object['keys'](_0x497c34)[_0x313eac(0x300)](_0x253137=>{const _0x21213f=_0x313eac,_0x80c724=_0x497c34[_0x253137];if(_0x80c724){if(_0x4b4fd7>=_0x16f31d)return;_0x4b4fd7++;const _0x512de4=this['getDataFieldManager'](_0xdccf31),_0x4ffee0=_0x512de4[_0x21213f(0x32f)][_0x253137],_0xc3d017=_0x4ffee0[_0x21213f(0x1f0)]();let _0x410acb=0x0;const _0x2017fa=[];for(const _0x55f727 of _0xc3d017){const _0x56fda=_0x4ffee0[_0x21213f(0x45e)](_0x55f727);if(_0x3f54d9['isBaseGroupField'](_0x56fda)){const _0x2cd67a=_0x56fda[_0x21213f(0x459)](),_0x47e71d=_0x4ffee0[_0x21213f(0x45e)](_0x2cd67a);_0x47e71d&&_0x2017fa['push']([_0x56fda,_0x47e71d]);continue;}_0x512de4[_0x21213f(0x4b5)](_0x55f727,_0x80c724[_0x21213f(0x4c3)],_0x410acb),_0x410acb++;}_0x2017fa[_0x21213f(0x300)](([_0x15112f,_0x45fa44])=>{const _0x209888=_0x21213f;_0x15112f[_0x209888(0x1fd)](_0x45fa44);});const _0x1bd49d=new _0x3f54d9['PivotTable'](_0x4ffee0);_0x1bd49d['fromJSON'](_0x80c724['fieldsConfig']),this[_0x21213f(0x405)](_0xdccf31,_0x24ce2f,_0x253137,_0x1bd49d,_0x80c724);const _0x589410=_0x1bd49d[_0x21213f(0x306)]();_0x4a467a[_0x21213f(0x436)]({'unitId':_0xdccf31,'subUnitId':_0x24ce2f,'pivotTableId':_0x253137,'view':_0x589410['toJSON'](),'pivotConfig':_0x80c724,'type':_0xc3c280[_0x21213f(0x388)]});const _0x17e446=!!_0x1bd49d['isEmpty'](),_0x420106={'view':_0x589410,'pivotTableId':_0x253137,'textInfo':this[_0x21213f(0x3f9)](),'isEmpty':_0x17e446,'targetCellInfo':_0x80c724['targetCellInfo']};this[_0x21213f(0x2ec)](_0x420106,!0x1);}});});});}_0x454c17&&Object['keys'](_0x454c17)[_0x37106c(0x300)](_0x5ad6d0=>{const _0x3aaadc=_0x37106c,_0x23689a=this['getDataFieldManager'](_0x5ad6d0);this[_0x3aaadc(0x34e)][_0x3aaadc(0x4be)](_0x23689a['collections']);}),this[_0x37106c(0x337)][_0x37106c(0x1b2)](_0x2d4f5e['id'],{'batch':_0x4a467a,'collectionConfig':_0x454c17},{'onlyLocal':!0x0});}[_0x29437c(0x485)](){const _0xa56cba=_0x29437c;this[_0xa56cba(0x1ae)](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x135b72=>JSON[_0xa56cba(0x32c)](this[_0xa56cba(0x212)](_0x135b72)),'parseJson':_0x5b454c=>{if(!_0x5b454c)return{};try{return JSON['parse'](_0x5b454c);}catch{return{};}},'businesses':[_0x555844[_0xa56cba(0x33e)][_0xa56cba(0x215)]],'pluginName':_0x117208,'onLoad':(_0x4b2458,_0x16adac)=>{this['fromJSON'](_0x16adac);},'onUnLoad':_0x5dc8e6=>{const _0xe34908=_0xa56cba;this[_0xe34908(0x377)](_0x5dc8e6);}}));}},_0x24ce63[_0x29437c(0x369)]=_0x107baa([_0x120327(0x0,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x30a)])),_0x120327(0x1,_0x555844[_0x29437c(0x273)]),_0x120327(0x2,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x3fa)])),_0x120327(0x3,_0x555844['ICommandService']),_0x120327(0x4,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x1cf)]))],_0x24ce63[_0x29437c(0x369)]);const _0x28eb45={0x0:{0x0:{'v':_0x29437c(0x4a5),'s':_0x536e9a}},0x2:{0x1:{'v':'','s':_0x536e9a},0x2:{'v':'','s':_0x536e9a},0x3:{'v':_0x29437c(0x3b1),'s':_0x536e9a},0x4:{'v':'','s':_0x536e9a},0x5:{'v':'','s':_0x536e9a}},0x3:{0x0:{'v':'','s':_0x536e9a},0x1:{'v':'','s':_0x1db7bc},0x2:{'v':'','s':_0x1db7bc},0x3:{'v':'','s':_0x1db7bc},0x4:{'v':'','s':_0x1db7bc},0x5:{'v':'','s':_0x1db7bc}},0x4:{0x0:{'v':'','s':_0x536e9a},0x1:{'v':'','s':_0x1db7bc},0x2:{'v':'','s':_0x1db7bc},0x3:{'v':'','s':_0x1db7bc},0x4:{'v':'','s':_0x1db7bc},0x5:{'v':'','s':_0x1db7bc}},0x5:{0x0:{'v':'','s':_0x536e9a},0x1:{'v':'','s':_0x1db7bc},0x2:{'v':'','s':_0x1db7bc},0x3:{'v':'','s':_0x1db7bc},0x4:{'v':'','s':_0x1db7bc},0x5:{'v':'','s':_0x1db7bc}},0x6:{0x0:{'v':'','s':_0x536e9a},0x1:{'v':'','s':_0x1db7bc},0x2:{'v':'','s':_0x1db7bc},0x3:{'v':'','s':_0x1db7bc},0x4:{'v':'','s':_0x1db7bc},0x5:{'v':'','s':_0x1db7bc}},0x7:{0x0:{'v':'','s':_0x536e9a},0x1:{'v':'','s':_0x1db7bc},0x2:{'v':'','s':_0x1db7bc},0x3:{'v':'','s':_0x1db7bc},0x4:{'v':'','s':_0x1db7bc},0x5:{'v':'','s':_0x1db7bc}},0x8:{0x0:{'v':_0x29437c(0x33d),'s':_0x536e9a},0x1:{'v':'','s':_0x1db7bc},0x2:{'v':'','s':_0x1db7bc},0x3:{'v':_0x29437c(0x383),'s':_0x1db7bc},0x4:{'v':'','s':_0x1db7bc},0x5:{'v':'','s':_0x1db7bc}},0x9:{0x0:{'v':'','s':_0x536e9a},0x1:{'v':'','s':_0x1db7bc},0x2:{'v':'','s':_0x1db7bc},0x3:{'v':'','s':_0x1db7bc},0x4:{'v':'','s':_0x1db7bc},0x5:{'v':'','s':_0x1db7bc}},0xa:{0x0:{'v':'','s':_0x536e9a},0x1:{'v':'','s':_0x1db7bc},0x2:{'v':'','s':_0x1db7bc},0x3:{'v':'','s':_0x1db7bc},0x4:{'v':'','s':_0x1db7bc},0x5:{'v':'','s':_0x1db7bc}},0xb:{0x0:{'v':'','s':_0x536e9a},0x1:{'v':'','s':_0x1db7bc},0x2:{'v':'','s':_0x1db7bc},0x3:{'v':'','s':_0x1db7bc},0x4:{'v':'','s':_0x1db7bc},0x5:{'v':'','s':_0x1db7bc}},0xc:{0x0:{'v':'','s':_0x536e9a},0x1:{'v':'','s':_0x1db7bc},0x2:{'v':'','s':_0x1db7bc},0x3:{'v':'','s':_0x1db7bc},0x4:{'v':'','s':_0x1db7bc},0x5:{'v':'','s':_0x1db7bc}},0xd:{0x0:{'v':'','s':_0x536e9a},0x1:{'v':'','s':_0x1db7bc},0x2:{'v':'','s':_0x1db7bc},0x3:{'v':'','s':_0x1db7bc},0x4:{'v':'','s':_0x1db7bc},0x5:{'v':'','s':_0x1db7bc}}},_0x20e0e7={'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':[]},_0x56f3d6=(_0x24d578,_0x40deb5)=>{const _0x2527f3=_0x29437c,_0x58b1b7=new _0x555844[(_0x2527f3(0x48a))](),_0x590ff9=new _0x555844['ObjectMatrix'](_0x28eb45),{row:_0x16212d,col:_0x498a1b}=_0x40deb5;_0x590ff9[_0x2527f3(0x3c6)]((_0x455310,_0x3dbaab,_0x1ecb0a)=>{const _0x37939b=_0x2527f3;let _0x392760='';_0x1ecb0a['v']===_0x37939b(0x4a5)?_0x392760=_0x24d578['filter']:_0x1ecb0a['v']===_0x37939b(0x33d)?_0x392760=_0x24d578[_0x37939b(0x33d)]:_0x1ecb0a['v']==='column'?_0x392760=_0x24d578[_0x37939b(0x3b1)]:_0x1ecb0a['v']==='values'&&(_0x392760=_0x24d578['values']),_0x58b1b7[_0x37939b(0x1d9)](_0x455310+_0x16212d,_0x3dbaab+_0x498a1b,{..._0x1ecb0a,'v':_0x392760});});const _0x354b9a=_0x555844[_0x2527f3(0x2d9)][_0x2527f3(0x47b)](_0x20e0e7);return Object[_0x2527f3(0x1b0)](_0x20e0e7)['forEach'](_0x99e8b6=>{const _0x14c11d=_0x2527f3;_0x354b9a[_0x99e8b6]=_0x20e0e7[_0x99e8b6][_0x14c11d(0x1c6)](_0x46174a=>({..._0x46174a,'startRow':_0x46174a[_0x14c11d(0x1d2)]+_0x16212d,'endRow':_0x46174a[_0x14c11d(0x3d8)]+_0x16212d,'startColumn':_0x46174a['startColumn']+_0x498a1b,'endColumn':_0x46174a[_0x14c11d(0x2b1)]+_0x498a1b}));}),{'matrixCache':_0x58b1b7,'rangesCache':_0x354b9a};};function _0x3c31bb(_0x2a7b40,_0x36a769){const _0x58c70b=_0x29437c;let _0x5a8ff5='';const _0x1d8bd3=this[_0x58c70b(0x3f9)]();switch(_0x36a769){case _0x3f54d9[_0x58c70b(0x1ca)][_0x58c70b(0x1eb)]:_0x5a8ff5=_0x1d8bd3[_0x58c70b(0x443)]+_0x2a7b40;break;case _0x3f54d9['PivotSubtotalTypeEnum'][_0x58c70b(0x32b)]:_0x5a8ff5=_0x1d8bd3[_0x58c70b(0x201)]+_0x2a7b40;break;case _0x3f54d9[_0x58c70b(0x1ca)]['countNums']:_0x5a8ff5=_0x1d8bd3[_0x58c70b(0x278)]+_0x2a7b40;break;case _0x3f54d9[_0x58c70b(0x1ca)]['max']:_0x5a8ff5=_0x1d8bd3[_0x58c70b(0x47c)]+_0x2a7b40;break;case _0x3f54d9[_0x58c70b(0x1ca)]['min']:_0x5a8ff5=_0x1d8bd3[_0x58c70b(0x3f0)]+_0x2a7b40;break;case _0x3f54d9[_0x58c70b(0x1ca)]['product']:_0x5a8ff5=_0x1d8bd3['sheets-pivot.productName']+_0x2a7b40;break;case _0x3f54d9['PivotSubtotalTypeEnum'][_0x58c70b(0x2d0)]:_0x5a8ff5=_0x1d8bd3[_0x58c70b(0x2b7)]+_0x2a7b40;break;case _0x3f54d9['PivotSubtotalTypeEnum'][_0x58c70b(0x1e5)]:_0x5a8ff5=_0x1d8bd3[_0x58c70b(0x47d)]+_0x2a7b40;break;case _0x3f54d9[_0x58c70b(0x1ca)][_0x58c70b(0x3f3)]:_0x5a8ff5=_0x1d8bd3[_0x58c70b(0x3fc)]+_0x2a7b40;break;case _0x3f54d9[_0x58c70b(0x1ca)][_0x58c70b(0x336)]:_0x5a8ff5=_0x1d8bd3[_0x58c70b(0x1f4)]+_0x2a7b40;break;case _0x3f54d9[_0x58c70b(0x1ca)][_0x58c70b(0x3da)]:_0x5a8ff5=_0x1d8bd3[_0x58c70b(0x49f)]+_0x2a7b40;break;default:_0x5a8ff5=_0x2a7b40;break;}return _0x5a8ff5;}function _0x57f2b2(_0x3ee3e5,_0x5e9b9d,_0x5e36b4,_0x531736,_0x1660e4){const _0x5e6046=_0x29437c;var _0x1e3670,_0xabdb4e,_0x48b78d,_0x424084,_0x4d13e9;const _0x20b435=_0x555844[_0x5e6046(0x3e4)](_0x3ee3e5,_0x5e9b9d),{rangesInfo:_0x21cdc9,areaInfo:_0x3453b3,headerMap:_0x20ed07}=_0x1660e4;if(!_0x21cdc9||!_0x3453b3||!_0x20ed07)return;const _0x53f66a=Object[_0x5e6046(0x1b0)](_0x21cdc9)[_0x5e6046(0x429)](_0x32c3fc=>_0x21cdc9[_0x32c3fc][_0x5e6046(0x435)](_0x1588f7=>_0x555844[_0x5e6046(0x318)][_0x5e6046(0x464)](_0x1588f7,_0x20b435))),_0x12f458=_0x3453b3;let _0x4efeb1,_0x5a775f,_0x3cbb9d;if(_0x53f66a===_0x5e6046(0x219))_0x4efeb1=(_0x1e3670=_0x12f458==null?void 0x0:_0x12f458[_0x5e6046(0x2bf)])==null?void 0x0:_0x1e3670[_0x3ee3e5],_0x5a775f=(_0xabdb4e=_0x20ed07==null?void 0x0:_0x20ed07[_0x5e6046(0x2cc)])==null?void 0x0:_0xabdb4e[_0x5e9b9d],_0x3cbb9d=_0x5a775f==null?void 0x0:_0x5a775f[_0x5e6046(0x406)];else{if(_0x53f66a===_0x5e6046(0x4a9))_0x4efeb1=(_0x48b78d=_0x12f458==null?void 0x0:_0x12f458['colInfo'])==null?void 0x0:_0x48b78d[_0x5e9b9d],_0x5a775f=(_0x424084=_0x20ed07[_0x5e6046(0x384)])==null?void 0x0:_0x424084[_0x3ee3e5+0x1+_0x5e9b9d-_0x21cdc9[_0x5e6046(0x4a9)][0x0]['startColumn']],_0x3cbb9d=_0x5a775f==null?void 0x0:_0x5a775f[_0x5e6046(0x406)];else{if(_0x53f66a===_0x5e6046(0x3db))_0x4efeb1=(_0x4d13e9=_0x12f458==null?void 0x0:_0x12f458[_0x5e6046(0x3b0)])==null?void 0x0:_0x4d13e9[_0x5e9b9d],_0x3cbb9d=_0x4efeb1==null?void 0x0:_0x4efeb1[_0x5e6046(0x406)];else{if(_0x53f66a===_0x5e6046(0x41a)){const _0x4809f1=_0x5e36b4==null?void 0x0:_0x5e36b4['fi'];_0x4809f1!==void 0x0&&(_0x3cbb9d=_0x531736[_0x5e6046(0x22b)](_0x4809f1));}}}}return{'filterId':_0x3cbb9d,'info':_0x4efeb1,'data':_0x5e36b4,'headerInfo':_0x5a775f};}function _0x184797(_0x2d1816,_0x4ead16,_0x8c5504){const _0x36215c=_0x29437c,_0x1e9346=_0x2d1816[_0x36215c(0x40d)],_0x12023f=_0x1e9346['getFieldIds'](),_0x5a0d3d=new Set();_0x2d1816[_0x36215c(0x1d1)](_0x11114d=>{const _0x209834=_0x36215c;_0x5a0d3d[_0x209834(0x4b8)](_0x11114d['dataFieldId']);});const _0x58c856=_0x12023f[_0x36215c(0x1c6)](_0x129b87=>{const _0xae5c8b=_0x36215c,_0x5b1655=_0x1e9346[_0xae5c8b(0x45e)](_0x129b87);return{'checked':_0x5a0d3d[_0xae5c8b(0x339)](_0x129b87),'dataFieldId':_0x5b1655['id'],'id':_0x5b1655['id'],'name':_0x1e9346['getDisplayName'](_0x5b1655['id']),'type':_0x5b1655[_0xae5c8b(0x21d)](),'pivotTableId':_0x4ead16};}),_0x38a04e=[];_0x2d1816[_0x36215c(0x3d2)](_0x3f54d9['PivotTableFiledAreaEnum'][_0x36215c(0x44f)],_0x20b9db=>{const _0x981f69=_0x36215c;_0x38a04e[_0x981f69(0x436)]({'dataFieldId':_0x20b9db['dataFieldId'],'tableFieldId':_0x20b9db[_0x981f69(0x35d)](),'displayName':_0x20b9db[_0x981f69(0x229)]()});});const _0x554e91=[];_0x2d1816['iterateFieldByArea'](_0x3f54d9[_0x36215c(0x1d5)]['Column'],_0x27ca22=>{const _0xf16ec0=_0x36215c;_0x554e91[_0xf16ec0(0x436)]({'dataFieldId':_0x27ca22[_0xf16ec0(0x277)],'tableFieldId':_0x27ca22['getId'](),'displayName':_0x27ca22[_0xf16ec0(0x229)]()});});const _0x318c8c=[];if(_0x2d1816[_0x36215c(0x3d2)](_0x3f54d9[_0x36215c(0x1d5)][_0x36215c(0x255)],_0x530bd2=>{const _0x2458ed=_0x36215c;_0x318c8c[_0x2458ed(0x436)]({'dataFieldId':_0x530bd2['dataFieldId'],'tableFieldId':_0x530bd2[_0x2458ed(0x35d)](),'displayName':_0x530bd2[_0x2458ed(0x229)](),'format':_0x530bd2['getFormat'](),'subTotalType':_0x530bd2[_0x2458ed(0x479)]()});}),_0x318c8c[_0x36215c(0x259)]>0x1){const _0x19e584=_0x2d1816[_0x36215c(0x315)]();(_0x2d1816[_0x36215c(0x28b)]()?_0x554e91:_0x38a04e)[_0x36215c(0x1dd)](_0x19e584,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':'ΣValue'});}const _0x543de1=[];_0x2d1816[_0x36215c(0x3d2)](_0x3f54d9[_0x36215c(0x1d5)][_0x36215c(0x455)],_0x514da9=>{const _0xb8f301=_0x36215c;_0x543de1[_0xb8f301(0x436)]({'dataFieldId':_0x514da9[_0xb8f301(0x277)],'tableFieldId':_0x514da9[_0xb8f301(0x35d)](),'displayName':_0x514da9[_0xb8f301(0x229)]()});});const _0x7e3716=_0x8c5504['sourceRangeInfo'];return{'sourceList':_0x58c856,'sourceRange':_0x7e3716,'rowFields':_0x38a04e,'columnFields':_0x554e91,'valueFields':_0x318c8c,'filterFields':_0x543de1,'positionInfo':_0x8c5504[_0x36215c(0x376)]};}function _0x4f7cd8(_0x4faf91,_0x420504,_0x35f5d5='',_0x56dad9={}){const _0x2addc7=_0x29437c,_0x4fbadd=_0x4faf91[_0x2addc7(0x21b)](_0x555844['LocaleService']);for(const _0x1c0a52 in _0x420504)if(Object[_0x2addc7(0x2e0)][_0x2addc7(0x29c)][_0x2addc7(0x25c)](_0x420504,_0x1c0a52)){const _0x57436e=_0x35f5d5?_0x35f5d5+'.'+_0x1c0a52:_0x1c0a52;typeof _0x420504[_0x1c0a52]=='object'&&_0x420504[_0x1c0a52]!==null&&!Array[_0x2addc7(0x43b)](_0x420504[_0x1c0a52])?_0x4f7cd8(_0x4faf91,_0x420504[_0x1c0a52],_0x57436e,_0x56dad9):_0x56dad9[_0x57436e]=_0x4fbadd['t'](_0x57436e);}return _0x56dad9;}const _0x2c3da1=_0x2be944=>{const _0x112fb8=_0x29437c;if(!_0x2be944)return[];const {rowRanges:_0x3394ed,colRanges:_0x71d13b,cornerRanges:_0x40c29f,dataRanges:_0x41d249,pageRanges:_0x4d154f}=_0x2be944,_0x1e9f02=[..._0x71d13b,..._0x3394ed,..._0x41d249,..._0x40c29f][_0x112fb8(0x4a5)](_0x5d4aae=>_0x5d4aae[_0x112fb8(0x1d2)]>=0x0&&_0x5d4aae[_0x112fb8(0x3d6)]>=0x0&&_0x5d4aae[_0x112fb8(0x3d8)]>=0x0&&_0x5d4aae[_0x112fb8(0x2b1)]>=0x0);let _0xfd160e=Number[_0x112fb8(0x4b2)],_0x53b496=Number[_0x112fb8(0x29a)],_0x85c007=Number[_0x112fb8(0x4b2)],_0x2192e8=Number[_0x112fb8(0x29a)];for(let _0x1dd50e=0x0;_0x1dd50e<_0x1e9f02['length'];_0x1dd50e++)_0xfd160e=Math[_0x112fb8(0x346)](_0xfd160e,_0x1e9f02[_0x1dd50e]['startRow']),_0x53b496=Math[_0x112fb8(0x262)](_0x53b496,_0x1e9f02[_0x1dd50e][_0x112fb8(0x3d8)]),_0x85c007=Math[_0x112fb8(0x346)](_0x85c007,_0x1e9f02[_0x1dd50e][_0x112fb8(0x3d6)]),_0x2192e8=Math[_0x112fb8(0x262)](_0x2192e8,_0x1e9f02[_0x1dd50e][_0x112fb8(0x2b1)]);return[..._0x4d154f,{'startRow':_0xfd160e,'endRow':_0x53b496,'startColumn':_0x85c007,'endColumn':_0x2192e8}];};function _0x4d64eb(_0x20dad1,_0x507640){const _0x51b7af=_0x29437c,_0x3a6f5c=_0x507640[_0x51b7af(0x358)]['drillDown'],{pivotTableId:_0x5a6e64,unitId:_0x169ae6,subUnitId:_0x449668}=_0x507640;if(!_0x3a6f5c)return;const _0x295bb2=_0x20dad1[_0x51b7af(0x21b)](_0x24ce63[_0x51b7af(0x369)]),_0x8c5235=_0x295bb2[_0x51b7af(0x2ad)](_0x5a6e64),_0x1f6358=_0x295bb2[_0x51b7af(0x2dc)](_0x169ae6,_0x449668,_0x5a6e64);if(!_0x8c5235||!_0x1f6358)return;const _0x1ac6b2=_0x8c5235['getIndexesByPathStr'](_0x3a6f5c['tuple']);if(!(_0x1ac6b2!=null&&_0x1ac6b2['length']))return;const _0x4d5f7f=_0x1f6358[_0x51b7af(0x4c3)],{unitId:_0x19d665,subUnitId:_0x3252a4,range:_0x4af805}=_0x4d5f7f;let _0x10c319=0x0;const _0x1adcb4=_0x8c5235[_0x51b7af(0x40d)][_0x51b7af(0x1f0)]()[_0x51b7af(0x1c9)]((_0x21f13e,_0x5ea5f8)=>{const _0x433696=_0x51b7af;var _0x3bfaf5;const _0x3b91e6=(_0x3bfaf5=_0x8c5235[_0x433696(0x478)](_0x5ea5f8))==null?void 0x0:_0x3bfaf5[_0x433696(0x2ee)]();return _0x3b91e6&&(_0x21f13e[String(_0x10c319)]=_0x3b91e6),_0x10c319++,_0x21f13e;},{});return{'indexes':_0x1ac6b2,'range':_0x4af805,'sourceUnitId':_0x19d665,'sourceSubUnitId':_0x3252a4,'formatMap':_0x1adcb4};}function _0x503abc(_0xb7887,_0x75508c){const _0x1970c5=_0x29437c;if(!_0xb7887||!_0x75508c)return!0x0;const _0x5db291=_0x440f6c['unshiftString'](_0x44b417,_0x1f532f),_0x3c478f=new Function(_0x1970c5(0x1fa)+_0x5db291)()(_0xb7887,_0x75508c)[_0x1970c5(0x316)],_0x4c68f1=_0x440f6c['isFeatureAuthorizedWithinTime'](_0x3c478f,'sf',_0x1dc0e1);return!((_0x3c478f==null?void 0x0:_0x3c478f['rt'])===_0x440f6c[_0x1970c5(0x2ca)][_0x1970c5(0x41f)]&&!_0x4c68f1);}function _0x992aa1(_0x52d0b7,_0x8eb2a0,_0x34081b){const _0x1ce092=_0x29437c,_0x3392db={'count':_0x52d0b7,'timeValid':!0x1};if(!_0x8eb2a0||!_0x34081b)return _0x3392db;const _0x126ffe=_0x440f6c[_0x1ce092(0x243)](_0x44b417,_0x1f532f),_0x488d63=new Function(_0x1ce092(0x1fa)+_0x126ffe)()(_0x8eb2a0,_0x34081b);if(_0x488d63!=null&&_0x488d63[_0x1ce092(0x488)]){const _0x517d55=_0x488d63[_0x1ce092(0x316)],_0x3f2401=_0x440f6c[_0x1ce092(0x47a)](_0x517d55,'sf',_0x1dc0e1);return{'count':_0x440f6c[_0x1ce092(0x284)](_0x517d55,_0x3f2401,_0x1ce092(0x301),_0x52d0b7,_0x52d0b7,0x0),'timeValid':_0x3f2401};}return _0x3392db;}function _0x13c0e9(_0x44a9c9,_0x5d7a5d,_0x29d0d4,_0x2ea028){const _0x319cfd=_0x29437c,_0x42cb1c={'subUnitId':_0x29d0d4,'unitId':_0x5d7a5d,'cellValue':_0x402aa8[_0x319cfd(0x3a2)](_0x2ea028)},_0x112feb=_0x402aa8['SetRangeValuesUndoMutationFactory'](_0x44a9c9,_0x42cb1c);let _0x3a14ce=!0x1;return new _0x555844[(_0x319cfd(0x48a))](_0x112feb[_0x319cfd(0x45a)])['forValue']((_0x52c82b,_0x34b98c,_0x1d6d7a)=>{const _0x5ac177=_0x319cfd;if(!_0x3a14ce&&_0x1d6d7a&&(_0x1d6d7a[_0x5ac177(0x472)]||_0x1d6d7a['f']||_0x1d6d7a['p']||_0x1d6d7a['s']||_0x1d6d7a['si']||_0x1d6d7a['t']||_0x1d6d7a['v']))return _0x3a14ce=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x402aa8[_0x319cfd(0x2e4)]['id'],'params':_0x112feb},'setRangeValueRedoMutation':{'id':_0x402aa8[_0x319cfd(0x2e4)]['id'],'params':_0x42cb1c},'shouldClear':_0x3a14ce};}function _0x457858(_0x2ddd9a){const {row:_0x3cb26a,col:_0x35bd04}=_0x2ddd9a,_0x496c99={'startRow':_0x3cb26a,'endRow':_0x3cb26a,'startColumn':_0x35bd04,'endColumn':_0x35bd04},_0x954a7f={'startRow':_0x3cb26a+0x2,'endRow':_0x3cb26a+0xe,'startColumn':_0x35bd04,'endColumn':_0x35bd04+0x6};return[_0x496c99,_0x954a7f];}function _0x170cc7(_0x4ed0f5,_0x95fc65,_0x164e64){const _0x5a78b0=_0x29437c,{cornerView:_0x3d27a1,rowView:_0x13e732,colView:_0x108cfc,pageView:_0x717076}=_0x4ed0f5,{row:_0x378845,col:_0x58cd56}=_0x95fc65;if(_0x164e64)return{'rowCount':_0x32e840+_0x378845,'colCount':_0x465164+_0x58cd56};const _0x4907f6=_0x717076[_0x5a78b0(0x497)]>-0x1?_0x717076[_0x5a78b0(0x497)]+0x1:0x0,_0x52af02=_0x717076['lastCol']>-0x1?_0x717076['lastCol']:0x0,_0x52a110=_0x378845+_0x4907f6+(_0x4907f6?0x1:0x0)+_0x3d27a1[_0x5a78b0(0x35c)]+_0x13e732[_0x5a78b0(0x35c)],_0x2868f3=_0x58cd56+_0x52af02,_0x416eb9=_0x58cd56+_0x3d27a1['colCount']+_0x108cfc[_0x5a78b0(0x437)],_0x66cf35=Math['max'](_0x2868f3,_0x416eb9);return{'rowCount':_0x52a110,'colCount':_0x66cf35};}function _0x45c089(_0x334fee,_0x45686e,_0x319d9d,_0x171975){const _0x14f676=_0x29437c,{row:_0x34517b,col:_0x1c861c,unitId:_0x2da14c,subUnitId:_0x39000a}=_0x319d9d,_0x3e3fc6=_0x170cc7(_0x45686e,{'row':_0x34517b,'col':_0x1c861c},_0x171975),_0x1618b3=_0x334fee[_0x14f676(0x21b)](_0x555844[_0x14f676(0x273)]),_0x1fcf51=_0x402aa8[_0x14f676(0x21f)](_0x1618b3,{'unitId':_0x2da14c,'subUnitId':_0x39000a}),_0x2b9843=[],_0x18f5b0=[];if(!_0x1fcf51)return{'undos':_0x18f5b0,'redos':_0x2b9843};const {worksheet:_0x3c6376}=_0x1fcf51,_0x26b0fe=_0x3c6376['getRowCount'](),_0x3c5e2c=_0x3c6376[_0x14f676(0x1ba)]();return _0x26b0fe<_0x3e3fc6[_0x14f676(0x35c)]&&(_0x2b9843[_0x14f676(0x436)]({'id':_0x402aa8[_0x14f676(0x20c)]['id'],'params':{'unitId':_0x2da14c,'subUnitId':_0x39000a,'range':{'startRow':_0x26b0fe,'endRow':_0x3e3fc6['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x3c5e2c-0x1}}}),_0x18f5b0[_0x14f676(0x436)]({'id':_0x402aa8[_0x14f676(0x4b0)]['id'],'params':{'unitId':_0x2da14c,'subUnitId':_0x39000a,'range':{'startRow':_0x26b0fe,'endRow':_0x3e3fc6[_0x14f676(0x35c)]-0x1,'startColumn':0x0,'endColumn':_0x3c5e2c-0x1}}})),_0x3c5e2c<_0x3e3fc6[_0x14f676(0x437)]&&(_0x2b9843['push']({'id':_0x402aa8[_0x14f676(0x379)]['id'],'params':{'unitId':_0x2da14c,'subUnitId':_0x39000a,'range':{'startRow':0x0,'endRow':_0x26b0fe-0x1,'startColumn':_0x3c5e2c,'endColumn':_0x3e3fc6['colCount']-0x1}}}),_0x18f5b0[_0x14f676(0x436)]({'id':_0x402aa8[_0x14f676(0x3f6)]['id'],'params':{'unitId':_0x2da14c,'subUnitId':_0x39000a,'range':{'startRow':0x0,'endRow':_0x26b0fe-0x1,'startColumn':_0x3c5e2c,'endColumn':_0x3e3fc6[_0x14f676(0x437)]-0x1}}})),{'undos':_0x18f5b0,'redos':_0x2b9843};}function _0x5d7f96(_0x45f57b){const _0x59264a=_0x29437c;let _0x18290e=0x0;for(let _0x32088c=0x0;_0x32088c<_0x45f57b[_0x59264a(0x259)];_0x32088c++){const _0x9d63f2=_0x45f57b['charCodeAt'](_0x32088c);_0x9d63f2>=0x4e00&&_0x9d63f2<=0x9fff||_0x9d63f2>=0x3000&&_0x9d63f2<=0x303f||_0x9d63f2>=0xff00&&_0x9d63f2<=0xffef?_0x18290e+=0x2:_0x18290e+=0x1;}return _0x18290e;}function _0xe11e88(_0x21cb7c,_0x2a853e,_0x5abf8a,_0x2bdc2b){const _0x2cd603=_0x29437c;var _0x416a40,_0x1a4605,_0x666cb5,_0x328a4c;const {rowCount:_0x253d5d,colCount:_0x276492,headerMap:_0x20f55a}=_0x21cb7c,_0x117178=0x64,_0x3a0b61=Math['min'](_0x253d5d,_0x117178),_0x1fc8ed=Math[_0x2cd603(0x346)](_0x276492,_0x117178);let _0x341f37='',_0x401ff9=0x0;for(let _0x247aad=0x0;_0x247aad<_0x3a0b61;_0x247aad++)for(let _0x162c00=0x0;_0x162c00<_0x1fc8ed;_0x162c00++){const _0x521f34={...(_0x1a4605=(_0x416a40=_0x21cb7c[_0x2cd603(0x267)])==null?void 0x0:_0x416a40[_0x247aad])==null?void 0x0:_0x1a4605[_0x162c00]},_0x227844=(_0x666cb5=_0x20f55a[_0x247aad])==null?void 0x0:_0x666cb5[_0x2cd603(0x406)],_0x5d9e81=_0x2bdc2b[_0x227844];let _0x25e35c=_0x21cb7c[_0x2cd603(0x2b5)](_0x247aad,_0x162c00);if(_0x521f34){const _0x26c9f1=_0x5abf8a?_0x162c00===0x0&&((_0x328a4c=_0x21cb7c[_0x2cd603(0x397)](_0x162c00+0x1))==null?void 0x0:_0x328a4c[_0x2cd603(0x348)]):!0x1;_0x25e35c=_0x108fde(_0x521f34,_0x26c9f1,_0x5d9e81,_0x2a853e);}if(_0x25e35c!==void 0x0){const _0x48eff9=_0x5d7f96(String(_0x25e35c));_0x401ff9<_0x48eff9&&(_0x341f37=String(_0x25e35c),_0x401ff9=_0x48eff9);}}return _0x341f37;}function _0x3e7e46(_0x583aae){const _0x1f41e9=_0x29437c,{rowCount:_0x24de04,colCount:_0x5e595a}=_0x583aae;let _0x531301='',_0x37844f=0x0;for(let _0x50126c=_0x24de04-0x1;_0x50126c>0x0&&_0x50126c>_0x24de04-0x3;_0x50126c--)for(let _0x95e3c7=0x0;_0x95e3c7<_0x5e595a;_0x95e3c7++){const _0x37c2cc=_0x583aae[_0x1f41e9(0x2b5)](_0x50126c,_0x95e3c7);if(_0x37c2cc!==void 0x0){const _0x1cdee9=String(_0x37c2cc)[_0x1f41e9(0x259)];_0x37844f<_0x1cdee9&&(_0x531301=String(_0x37c2cc),_0x37844f=_0x1cdee9);}}return _0x531301;}function _0x599954(_0x3b1d5c){const _0x2da3dc=_0x29437c,{rowCount:_0x21be52,colCount:_0x289ed1}=_0x3b1d5c;let _0x438af8='',_0x256cad=0x0;for(let _0x10651c=0x0;_0x10651c<_0x21be52;_0x10651c++)for(let _0x42112d=0x0;_0x42112d<_0x289ed1;_0x42112d++){const _0x132551=_0x3b1d5c[_0x2da3dc(0x2b5)](_0x10651c,_0x42112d);if(_0x132551!==void 0x0){const _0x117b42=String(_0x132551)['length'];_0x256cad<_0x117b42&&(_0x438af8=String(_0x132551),_0x256cad=_0x117b42);}}return _0x438af8;}function _0x681f5d(_0x2ca796,_0x5ebb69){const _0x52eb58=_0x29437c,{rowFields:_0x326ff1,columnFields:_0x157e3e,valueFields:_0x12a7a5,filterFields:_0xfabae1,dimension:_0x301e72,measure:_0x751fad}=_0x5ebb69;for(const _0x55f3a4 of _0x326ff1){const _0x57251e=_0x301e72[_0x55f3a4];_0x57251e&&_0x2ca796['getDataFieldByDataFieldId'](_0x57251e[_0x52eb58(0x277)])&&(_0x2ca796[_0x52eb58(0x4a4)](_0x57251e[_0x52eb58(0x277)],_0x3f54d9[_0x52eb58(0x1d5)]['Row'],void 0x0,_0x55f3a4),_0x57251e[_0x52eb58(0x310)]&&_0x2ca796[_0x52eb58(0x261)](_0x57251e['id'],_0x57251e[_0x52eb58(0x310)]),_0x57251e['sortInfo']&&_0x2ca796['setSortInfo'](_0x57251e['id'],_0x57251e['sortInfo']),_0x57251e[_0x52eb58(0x463)]&&_0x2ca796[_0x52eb58(0x304)](_0x57251e['id'],_0x57251e[_0x52eb58(0x463)]));}for(const _0x389c25 of _0x157e3e){const _0x47ebc5=_0x301e72[_0x389c25];_0x47ebc5&&_0x2ca796[_0x52eb58(0x478)](_0x47ebc5[_0x52eb58(0x277)])&&(_0x2ca796['addFieldWithSourceId'](_0x47ebc5[_0x52eb58(0x277)],_0x3f54d9[_0x52eb58(0x1d5)][_0x52eb58(0x393)],void 0x0,_0x389c25),_0x47ebc5['sortInfo']&&_0x2ca796['setSortInfo'](_0x47ebc5['id'],_0x47ebc5[_0x52eb58(0x34d)]),_0x47ebc5[_0x52eb58(0x463)]&&_0x2ca796[_0x52eb58(0x304)](_0x47ebc5['id'],_0x47ebc5[_0x52eb58(0x463)]),_0x47ebc5[_0x52eb58(0x310)]&&_0x2ca796['renameField'](_0x47ebc5['id'],_0x47ebc5[_0x52eb58(0x310)]));}for(const _0x14c836 of _0xfabae1){const _0x5f31c5=_0x301e72[_0x14c836];_0x5f31c5&&_0x2ca796[_0x52eb58(0x478)](_0x5f31c5[_0x52eb58(0x277)])&&(_0x2ca796[_0x52eb58(0x4a4)](_0x5f31c5[_0x52eb58(0x277)],_0x3f54d9[_0x52eb58(0x1d5)][_0x52eb58(0x455)],void 0x0,_0x14c836),_0x5f31c5[_0x52eb58(0x34d)]&&_0x2ca796[_0x52eb58(0x314)](_0x5f31c5['id'],_0x5f31c5[_0x52eb58(0x34d)]),_0x5f31c5[_0x52eb58(0x463)]&&_0x2ca796['setLabelFilterInfo'](_0x5f31c5['id'],_0x5f31c5['filterInfo']),_0x5f31c5[_0x52eb58(0x310)]&&_0x2ca796[_0x52eb58(0x261)](_0x5f31c5['id'],_0x5f31c5[_0x52eb58(0x310)]));}for(const _0x670c7c of _0x12a7a5){const _0x7de804=_0x751fad[_0x670c7c];_0x7de804&&_0x2ca796[_0x52eb58(0x478)](_0x7de804[_0x52eb58(0x277)])&&(_0x2ca796[_0x52eb58(0x4a4)](_0x7de804[_0x52eb58(0x277)],_0x3f54d9[_0x52eb58(0x1d5)][_0x52eb58(0x255)],void 0x0,_0x670c7c),_0x7de804[_0x52eb58(0x1e2)]!==void 0x0&&_0x2ca796[_0x52eb58(0x326)](_0x670c7c,_0x7de804[_0x52eb58(0x1e2)]),_0x7de804['format']&&_0x2ca796[_0x52eb58(0x354)](_0x670c7c,_0x7de804[_0x52eb58(0x404)]),_0x7de804[_0x52eb58(0x310)]&&_0x2ca796[_0x52eb58(0x261)](_0x7de804['id'],_0x7de804[_0x52eb58(0x310)]));}const _0x1461ae=_0x5ebb69[_0x52eb58(0x3bd)];for(const {fieldId:_0x328e9e,filterInfo:_0x40a9ab}of _0x1461ae)_0x2ca796[_0x52eb58(0x49b)](_0x328e9e,_0x40a9ab);}function _0x4fc550(_0x377fcf,_0x39ae98){const _0x38576b=_0x29437c,_0x44c971=[];_0x39ae98===_0x3f54d9[_0x38576b(0x1d5)][_0x38576b(0x44f)]&&_0x377fcf[_0x38576b(0x3d2)](_0x3f54d9[_0x38576b(0x1d5)][_0x38576b(0x44f)],_0x16d68d=>{const _0x24dc46=_0x38576b;_0x44c971[_0x24dc46(0x436)](_0x16d68d[_0x24dc46(0x35d)]());}),_0x39ae98===_0x3f54d9[_0x38576b(0x1d5)][_0x38576b(0x393)]&&_0x377fcf['iterateFieldByArea'](_0x3f54d9[_0x38576b(0x1d5)][_0x38576b(0x393)],_0x43e14d=>{const _0x13f40a=_0x38576b;_0x44c971[_0x13f40a(0x436)](_0x43e14d['getId']());}),_0x39ae98===_0x3f54d9['PivotTableFiledAreaEnum'][_0x38576b(0x455)]&&_0x377fcf[_0x38576b(0x3d2)](_0x3f54d9[_0x38576b(0x1d5)]['Filter'],_0xae5a5b=>{const _0x4457e2=_0x38576b;_0x44c971[_0x4457e2(0x436)](_0xae5a5b[_0x4457e2(0x35d)]());}),_0x39ae98===_0x3f54d9[_0x38576b(0x1d5)][_0x38576b(0x255)]&&_0x377fcf[_0x38576b(0x3d2)](_0x3f54d9['PivotTableFiledAreaEnum']['Value'],_0x292446=>{const _0xc8c027=_0x38576b;_0x44c971[_0xc8c027(0x436)](_0x292446[_0xc8c027(0x35d)]());}),_0x39ae98===void 0x0&&_0x377fcf[_0x38576b(0x1d1)](_0x3cd631=>{const _0x1fcb7e=_0x38576b;_0x44c971[_0x1fcb7e(0x436)](_0x3cd631[_0x1fcb7e(0x35d)]());});const _0x9de235=_0x44c971[_0x38576b(0x259)];for(let _0x24dd73=_0x9de235-0x1;_0x24dd73>=0x0;_0x24dd73--)_0x377fcf['removeField'](_0x44c971[_0x24dd73]);const _0x247632=_0x377fcf[_0x38576b(0x3d5)]();for(const _0x5c494c in _0x247632)_0x377fcf['removeValueFilterInfo'](_0x5c494c);}function _0x471d00(_0xc4bcd9,_0x3b9d1d){const _0x17109f=_0x29437c,_0x268102=new Date(_0x3f54d9[_0x17109f(0x40a)](_0x3b9d1d)),_0x4c05d3=new Date(_0x3f54d9[_0x17109f(0x40a)](_0xc4bcd9)),_0x24cc52=_0x268102[_0x17109f(0x4aa)](),_0xc4b9d1=_0x4c05d3[_0x17109f(0x4aa)](),_0x48836f=_0x268102[_0x17109f(0x392)](),_0x90e62=_0x4c05d3[_0x17109f(0x392)](),_0x58311b=_0x268102[_0x17109f(0x3bf)](),_0x5b55c1=_0x4c05d3[_0x17109f(0x3bf)](),_0xb7882e=_0x24cc52===_0xc4b9d1,_0x2396d7=_0xb7882e&&_0x48836f===_0x90e62;return _0xb7882e&&_0x2396d7&&!(_0x2396d7&&_0x58311b===_0x5b55c1)?_0x3f54d9[_0x17109f(0x3fe)][_0x17109f(0x28a)]:_0xb7882e&&!_0x2396d7?_0x3f54d9['PivotDateGroupFieldDateTypeEnum'][_0x17109f(0x2c9)]:_0x3f54d9[_0x17109f(0x3fe)][_0x17109f(0x4b9)];}function _0x134215(_0x25e3a5,_0x2fe693){const _0x4bcee3=_0x29437c,_0x2e255d=_0x25e3a5['get'](_0x24ce63[_0x4bcee3(0x369)])[_0x4bcee3(0x3f9)]();let _0x1add24='';switch(_0x2fe693){case _0x3f54d9[_0x4bcee3(0x3fe)][_0x4bcee3(0x28a)]:_0x1add24=_0x2e255d[_0x4bcee3(0x340)];break;case _0x3f54d9['PivotDateGroupFieldDateTypeEnum'][_0x4bcee3(0x2c9)]:_0x1add24=_0x2e255d['sheets-pivot.dateGroup.yearMonth'];break;case _0x3f54d9[_0x4bcee3(0x3fe)]['Year']:_0x1add24=_0x2e255d[_0x4bcee3(0x290)];break;case _0x3f54d9[_0x4bcee3(0x3fe)][_0x4bcee3(0x260)]:_0x1add24=_0x2e255d['sheets-pivot.dateGroup.month'];break;case _0x3f54d9[_0x4bcee3(0x3fe)][_0x4bcee3(0x1af)]:_0x1add24=_0x2e255d[_0x4bcee3(0x471)];break;case _0x3f54d9[_0x4bcee3(0x3fe)][_0x4bcee3(0x444)]:_0x1add24=_0x2e255d[_0x4bcee3(0x237)];break;case _0x3f54d9[_0x4bcee3(0x3fe)]['HourMinute']:_0x1add24=_0x2e255d[_0x4bcee3(0x240)];break;case _0x3f54d9[_0x4bcee3(0x3fe)][_0x4bcee3(0x495)]:_0x1add24=_0x2e255d['sheets-pivot.dateGroup.hour'];break;case _0x3f54d9[_0x4bcee3(0x3fe)]['Minute']:_0x1add24=_0x2e255d[_0x4bcee3(0x4b1)];break;case _0x3f54d9[_0x4bcee3(0x3fe)][_0x4bcee3(0x418)]:_0x1add24=_0x2e255d[_0x4bcee3(0x475)];break;case _0x3f54d9[_0x4bcee3(0x3fe)][_0x4bcee3(0x39f)]:_0x1add24=_0x2e255d[_0x4bcee3(0x3cf)];break;default:_0x1add24='';break;}return _0x1add24;}const _0x375bf7=_0x29437c(0x434),_0x5a7918={};var _0x41b1b9=Object[_0x29437c(0x42e)],_0x511714=(_0x36fa77,_0x455dfd,_0x986db5,_0x4b4f1d)=>{const _0x5b037c=_0x29437c;for(var _0xa8c430=_0x4b4f1d>0x1?void 0x0:_0x4b4f1d?_0x41b1b9(_0x455dfd,_0x986db5):_0x455dfd,_0x52f917=_0x36fa77[_0x5b037c(0x259)]-0x1,_0x20ea97;_0x52f917>=0x0;_0x52f917--)(_0x20ea97=_0x36fa77[_0x52f917])&&(_0xa8c430=_0x20ea97(_0xa8c430)||_0xa8c430);return _0xa8c430;},_0x461993=(_0x5817e1,_0x4ca041)=>(_0x49bbff,_0x3cebb5)=>_0x4ca041(_0x49bbff,_0x3cebb5,_0x5817e1);_0x24ce63[_0x29437c(0x206)]=class extends _0x555844[_0x29437c(0x1ea)]{constructor(_0x35f4fd,_0xad667b,_0x15f96e,_0x18ed05,_0x1c506e){const _0x1dd521=_0x29437c;super(),_0x528485(this,_0x1dd521(0x1b9),new Map()),_0x528485(this,_0x1dd521(0x352),new Map()),_0x528485(this,'_pivotTableRangeInfo',new Map()),_0x528485(this,_0x1dd521(0x44c),new Map()),_0x528485(this,'_configVersion$',new _0xf4d055['Subject']()),_0x528485(this,_0x1dd521(0x1b7),new _0xf4d055[(_0x1dd521(0x1e8))]()),_0x528485(this,_0x1dd521(0x1bd),this['_pivotInitCompleted$'][_0x1dd521(0x468)]()),_0x528485(this,'_pivotConfigChange$',new _0xf4d055[(_0x1dd521(0x1e8))]()),_0x528485(this,'pivotConfigChange$',this[_0x1dd521(0x1c8)][_0x1dd521(0x468)]()),_0x528485(this,_0x1dd521(0x26f),{}),_0x528485(this,_0x1dd521(0x3ca),this[_0x1dd521(0x480)][_0x1dd521(0x468)]()),(this[_0x1dd521(0x2d6)]=_0x35f4fd,this[_0x1dd521(0x337)]=_0xad667b,this[_0x1dd521(0x3c4)]=_0x15f96e,this['_resourceManagerService']=_0x18ed05,this[_0x1dd521(0x400)]=_0x1c506e,this[_0x1dd521(0x291)](),this[_0x1dd521(0x257)]());const _0x97eab7=this[_0x1dd521(0x400)][_0x1dd521(0x394)](_0x375bf7);(_0x97eab7==null?void 0x0:_0x97eab7[_0x1dd521(0x416)])===!0x0&&this[_0x1dd521(0x485)]();}[_0x29437c(0x257)](){const _0x4857bf=_0x29437c;this[_0x4857bf(0x1ae)](this[_0x4857bf(0x3c4)]['getTypeOfUnitDisposed$'](_0x555844[_0x4857bf(0x33e)]['UNIVER_SHEET'])['subscribe'](_0x31cbd0=>{const _0x4d9c16=_0x4857bf;this[_0x4d9c16(0x377)](_0x31cbd0[_0x4d9c16(0x3af)]());}));}[_0x29437c(0x368)](){const _0x239123=_0x29437c;this[_0x239123(0x1b7)][_0x239123(0x4be)](!0x0);}[_0x29437c(0x291)](){const _0x3cc2c9=_0x29437c,_0x473326=_0x4f7cd8(this[_0x3cc2c9(0x2d6)],_0x53562c,'',{});this[_0x3cc2c9(0x26f)]=_0x473326,this['_commandService'][_0x3cc2c9(0x1b2)](_0x5f1e8f['id'],{'textInfo':_0x473326},{'onlyLocal':!0x0});}[_0x29437c(0x3f9)](){const _0x2f8730=_0x29437c;return this[_0x2f8730(0x26f)];}['updateViewInfo'](_0x141190,_0x181cf0,_0x5b8e29,_0x303961,_0x10a7eb){const _0x3601a9=_0x29437c;this['updatePivotTableMatrixInfo'](_0x141190,_0x181cf0,_0x5b8e29,_0x303961),this[_0x3601a9(0x46a)](_0x141190,_0x181cf0,_0x5b8e29,_0x10a7eb);}[_0x29437c(0x2dc)](_0x4ec163,_0x6ff7dd,_0x17d9f0){const _0x5cd134=_0x29437c;var _0x21d480;const _0x3f3e59=(_0x21d480=this['_model'][_0x5cd134(0x21b)](_0x4ec163))==null?void 0x0:_0x21d480[_0x5cd134(0x21b)](_0x6ff7dd);if(_0x3f3e59)return _0x3f3e59[_0x5cd134(0x21b)](_0x17d9f0);}[_0x29437c(0x2ae)](_0x1090df,_0x148bb6){const _0x7d2ffc=_0x29437c,_0x2259fe=this[_0x7d2ffc(0x1b9)][_0x7d2ffc(0x21b)](_0x1090df);if(_0x2259fe){for(const [_0x2f81c4,_0x4cc68e]of _0x2259fe['entries']())for(const [_0x47f05c,_0x56ab11]of _0x4cc68e[_0x7d2ffc(0x21a)]())if(_0x47f05c===_0x148bb6)return _0x56ab11[_0x7d2ffc(0x376)];}}[_0x29437c(0x232)](_0x5d15ff,_0x4446e7,_0x13837c){const _0xe091cb=_0x29437c,_0x2a4a5a=this['getPivotTableConfig'](_0x5d15ff,_0x4446e7,_0x13837c);return _0x2a4a5a==null?void 0x0:_0x2a4a5a[_0xe091cb(0x376)];}[_0x29437c(0x45f)](_0x469b60,_0x49625f){const _0x378a0c=_0x29437c;var _0xa53ccc;return(_0xa53ccc=this[_0x378a0c(0x1b9)]['get'](_0x469b60))==null?void 0x0:_0xa53ccc['get'](_0x49625f);}[_0x29437c(0x308)](_0x58cd34,_0x270b94,_0x5826c9,_0x525f12){const _0x10236c=_0x29437c,_0x2f72ad=this[_0x10236c(0x4c6)](_0x58cd34,_0x270b94);_0x525f12?_0x2f72ad[_0x10236c(0x250)](_0x5826c9,_0x525f12):_0x2f72ad['delete'](_0x5826c9),this[_0x10236c(0x1c8)]['next']({'unitId':_0x58cd34,'subUnitId':_0x270b94,'pivotTableId':_0x5826c9,'pivotTableConfig':_0x525f12});}[_0x29437c(0x40c)](_0x5bec34,_0x2a3edb){const _0x22edf1=_0x29437c;var _0x5d8a23;return(_0x5d8a23=this[_0x22edf1(0x352)]['get'](_0x5bec34))==null?void 0x0:_0x5d8a23[_0x22edf1(0x32f)][_0x2a3edb];}[_0x29437c(0x29d)](_0x531733,_0x58040e){const _0x4584b6=_0x29437c;this[_0x4584b6(0x352)][_0x4584b6(0x250)](_0x531733,_0x58040e),this[_0x4584b6(0x480)][_0x4584b6(0x4be)](Math[_0x4584b6(0x2ea)]());}[_0x29437c(0x4c6)](_0x376e13,_0x2280b1){const _0x183466=_0x29437c;let _0x429e9a=this[_0x183466(0x1b9)][_0x183466(0x21b)](_0x376e13);_0x429e9a||(_0x429e9a=new Map(),this['_model'][_0x183466(0x250)](_0x376e13,_0x429e9a));let _0x37e71c=_0x429e9a['get'](_0x2280b1);return _0x37e71c||(_0x37e71c=new Map(),_0x429e9a[_0x183466(0x250)](_0x2280b1,_0x37e71c)),_0x37e71c;}[_0x29437c(0x2a5)](_0x2804d2,_0x41f5a8){const _0x492b67=_0x29437c;let _0x36a538=this[_0x492b67(0x23e)][_0x492b67(0x21b)](_0x2804d2);_0x36a538||(_0x36a538=new Map(),this[_0x492b67(0x23e)][_0x492b67(0x250)](_0x2804d2,_0x36a538));let _0x189d45=_0x36a538['get'](_0x41f5a8);return _0x189d45||(_0x189d45=new Map(),_0x36a538[_0x492b67(0x250)](_0x41f5a8,_0x189d45)),_0x189d45;}[_0x29437c(0x341)](_0x5456cf,_0x37e247){const _0x309adc=_0x29437c;let _0x51f91f=this[_0x309adc(0x44c)][_0x309adc(0x21b)](_0x5456cf);_0x51f91f||(_0x51f91f=new Map(),this['_pivotTableMatrixInfo'][_0x309adc(0x250)](_0x5456cf,_0x51f91f));let _0x1f8bc1=_0x51f91f['get'](_0x37e247);return _0x1f8bc1||(_0x1f8bc1=new Map(),_0x51f91f[_0x309adc(0x250)](_0x37e247,_0x1f8bc1)),_0x1f8bc1;}[_0x29437c(0x46a)](_0x22d394,_0x3da5b8,_0x30fafe,_0x1a8278){const _0x12acc5=_0x29437c;var _0x574eda;const _0x55546f=this[_0x12acc5(0x2a5)](_0x22d394,_0x3da5b8),_0x20563f=(_0x574eda=_0x55546f[_0x12acc5(0x21b)](_0x30fafe))==null?void 0x0:_0x574eda[_0x12acc5(0x1c5)];_0x55546f[_0x12acc5(0x250)](_0x30fafe,{'oldRangeInfo':_0x20563f,'rangeInfo':_0x1a8278});}[_0x29437c(0x3ba)](_0x219916,_0x128f05,_0x3cbfa3,_0x3a4802){const _0x5e3999=_0x29437c;var _0x5f271b;const _0x2c9175=this[_0x5e3999(0x341)](_0x219916,_0x128f05),_0x5c9a5f=(_0x5f271b=_0x2c9175['get'](_0x3cbfa3))==null?void 0x0:_0x5f271b['oldMatrix'];_0x2c9175[_0x5e3999(0x250)](_0x3cbfa3,{'oldMatrix':_0x5c9a5f,'matrix':_0x3a4802});}['getPivotTableRangeInfo'](_0x2ecf26,_0x1110ad,_0x1d671d){const _0x220c9f=_0x29437c;var _0x4865ee,_0x189ad9;return(_0x189ad9=(_0x4865ee=this[_0x220c9f(0x23e)][_0x220c9f(0x21b)](_0x2ecf26))==null?void 0x0:_0x4865ee[_0x220c9f(0x21b)](_0x1110ad))==null?void 0x0:_0x189ad9[_0x220c9f(0x21b)](_0x1d671d);}['getPivotTableMatrixInfo'](_0x2c1e52,_0x15a46b,_0xbb5be0){const _0x1c0b2a=_0x29437c;var _0x329df0,_0x36326c;return(_0x36326c=(_0x329df0=this[_0x1c0b2a(0x44c)][_0x1c0b2a(0x21b)](_0x2c1e52))==null?void 0x0:_0x329df0[_0x1c0b2a(0x21b)](_0x15a46b))==null?void 0x0:_0x36326c[_0x1c0b2a(0x21b)](_0xbb5be0);}['deleteUnitId'](_0x53e2f9){const _0x547c00=_0x29437c;this[_0x547c00(0x1b9)]['delete'](_0x53e2f9),this['_collectionConfigModel'][_0x547c00(0x370)](_0x53e2f9);}[_0x29437c(0x211)](_0x5bced6){const _0x46e29a=_0x29437c,_0x485dca={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x46e29a(0x352)]['get'](_0x5bced6)&&(_0x485dca['dataFieldManagerConfig'][_0x5bced6]=this[_0x46e29a(0x352)][_0x46e29a(0x21b)](_0x5bced6)),this['_model'][_0x46e29a(0x21b)](_0x5bced6)){_0x485dca[_0x46e29a(0x22e)][_0x5bced6]={};const _0x1d41c5=this[_0x46e29a(0x1b9)][_0x46e29a(0x21b)](_0x5bced6);_0x1d41c5!=null&&_0x1d41c5[_0x46e29a(0x3e9)]&&[..._0x1d41c5[_0x46e29a(0x1b0)]()][_0x46e29a(0x300)](_0x473672=>{const _0x49122b=_0x46e29a,_0x102be1=_0x1d41c5[_0x49122b(0x21b)](_0x473672);_0x102be1!=null&&_0x102be1[_0x49122b(0x3e9)]&&(_0x485dca[_0x49122b(0x22e)][_0x5bced6][_0x473672]={},[..._0x102be1[_0x49122b(0x1b0)]()][_0x49122b(0x300)](_0x245197=>{const _0xf75380=_0x49122b,_0x31ca6d=_0x102be1[_0xf75380(0x21b)](_0x245197);_0x31ca6d&&(_0x485dca[_0xf75380(0x22e)][_0x5bced6][_0x473672][_0x245197]=_0x31ca6d);}));});}return _0x485dca;}[_0x29437c(0x485)](){const _0x5db8e6=_0x29437c;this['disposeWithMe'](this[_0x5db8e6(0x31a)]['registerPluginResource']({'toJson':_0x3e1b75=>JSON[_0x5db8e6(0x32c)](this['_toJSON'](_0x3e1b75)),'parseJson':_0x177670=>({}),'businesses':[_0x555844[_0x5db8e6(0x33e)][_0x5db8e6(0x215)]],'pluginName':_0x117208,'onLoad':(_0x2cac1d,_0x183e11)=>{},'onUnLoad':_0x43eddd=>{const _0x7a021a=_0x5db8e6;this[_0x7a021a(0x377)](_0x43eddd);}}));}},_0x24ce63[_0x29437c(0x206)]=_0x511714([_0x461993(0x0,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x30a)])),_0x461993(0x1,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x386)])),_0x461993(0x2,_0x555844['Inject'](_0x555844['IUniverInstanceService'])),_0x461993(0x3,_0x555844['Inject'](_0x555844[_0x29437c(0x1cf)])),_0x461993(0x4,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x41e)]))],_0x24ce63['SheetsPivotTableConfigModel']);var _0x4c4657=Object[_0x29437c(0x42e)],_0x305ac5=(_0x164745,_0x82bd45,_0x29be88,_0x304b13)=>{const _0x5c56cd=_0x29437c;for(var _0x3ed3e5=_0x304b13>0x1?void 0x0:_0x304b13?_0x4c4657(_0x82bd45,_0x29be88):_0x82bd45,_0x16983e=_0x164745[_0x5c56cd(0x259)]-0x1,_0x536671;_0x16983e>=0x0;_0x16983e--)(_0x536671=_0x164745[_0x16983e])&&(_0x3ed3e5=_0x536671(_0x3ed3e5)||_0x3ed3e5);return _0x3ed3e5;},_0x1665a0=(_0x84df01,_0x395ca8)=>(_0x474249,_0x5427ee)=>_0x395ca8(_0x474249,_0x5427ee,_0x84df01);_0x24ce63[_0x29437c(0x2c8)]=class extends _0x555844['Disposable']{constructor(_0x104a3c,_0x59ab95,_0x133fe0,_0x98e015,_0x53dd20){const _0x4f488d=_0x29437c;super(),_0x528485(this,_0x4f488d(0x37b),new Map()),_0x528485(this,_0x4f488d(0x27b),new Map()),_0x528485(this,_0x4f488d(0x238),new _0xf4d055[(_0x4f488d(0x1e8))]()),_0x528485(this,_0x4f488d(0x27a),this[_0x4f488d(0x238)][_0x4f488d(0x468)]()),_0x528485(this,_0x4f488d(0x39c),new _0xf4d055[(_0x4f488d(0x1e8))]()),_0x528485(this,_0x4f488d(0x3a4),this[_0x4f488d(0x39c)][_0x4f488d(0x468)]()),_0x528485(this,'_textInfo'),(this[_0x4f488d(0x2ac)]=_0x104a3c,this['_injector']=_0x59ab95,this['_sheetsPivotTableConfigModel']=_0x133fe0,this[_0x4f488d(0x3c4)]=_0x98e015,this['_exclusiveRangeService']=_0x53dd20,this[_0x4f488d(0x291)](),this[_0x4f488d(0x257)]());}[_0x29437c(0x257)](){const _0x372240=_0x29437c;this['disposeWithMe'](this[_0x372240(0x3c4)][_0x372240(0x35f)](_0x555844[_0x372240(0x33e)]['UNIVER_SHEET'])[_0x372240(0x3f2)](_0x2602f3=>{const _0x50c70d=_0x372240;this[_0x50c70d(0x377)](_0x2602f3[_0x50c70d(0x3af)]());}));}['_initLocale'](){const _0x1995f4=_0x29437c;this[_0x1995f4(0x26f)]=_0x4f7cd8(this[_0x1995f4(0x2d6)],_0x53562c,'',{});}['updateRenderCache'](_0x2c270c){const _0xcb397a=_0x29437c,{view:_0x34187a,unitId:_0x28ff60,subUnitId:_0x472571,pivotTableId:_0x4c47ef,type:_0x41bc65}=_0x2c270c,_0x426ea2=this[_0xcb397a(0x460)]['getPivotTableConfig'](_0x28ff60,_0x472571,_0x4c47ef);if(!_0x34187a||!_0x426ea2||_0x41bc65===_0xc3c280[_0xcb397a(0x1c0)])return;const {pageView:_0x1f65de,cornerView:_0x1e4856,rowView:_0x24738b,colView:_0x5adb58,dataView:_0x37e48e}=_0x34187a,_0x1bfe65=_0x426ea2[_0xcb397a(0x376)],_0x5eaf63=_0x426ea2['isEmpty'],_0x4d856c=this[_0xcb397a(0x1ce)](_0x28ff60,_0x472571),_0x3f1194=this['_ensurePivotItemRenderInfoCache'](_0x28ff60,_0x472571,_0x4c47ef);if(_0x5eaf63)return this[_0xcb397a(0x496)](_0x2c270c,_0x4d856c,_0x1bfe65,_0x3f1194);{const _0x59a18e=_0x32d47c(_0x1bfe65,_0x1f65de,!0x0),_0x11cc96=_0x1f65de[_0xcb397a(0x497)]>=0x0?_0x1f65de[_0xcb397a(0x497)]+0x1:0x0,_0x1dce26=_0x1e4856[_0xcb397a(0x3cb)](),_0x2f938d=_0x1e4856[_0xcb397a(0x1e1)](),_0x36c7bb=_0x59a18e[_0xcb397a(0x259)]>0x0?_0x413b87:0x0,_0xb03a60=_0x32d47c({'row':_0x1bfe65[_0xcb397a(0x33d)]+_0x11cc96+_0x36c7bb,'col':_0x1bfe65[_0xcb397a(0x205)]},_0x1e4856,!0x1,!0x1),_0x258a36=_0x32d47c({'row':_0x1bfe65[_0xcb397a(0x33d)]+_0x11cc96+_0x36c7bb+_0x1dce26,'col':_0x1bfe65['col']},_0x24738b,!0x1,!0x0),_0x1e2f2a=_0x32d47c({'row':_0x1bfe65[_0xcb397a(0x33d)]+_0x11cc96+_0x36c7bb,'col':_0x1bfe65[_0xcb397a(0x205)]+_0x2f938d},_0x5adb58,!0x1,!0x0),_0x68e07a=_0x32d47c({'row':_0x1bfe65[_0xcb397a(0x33d)]+_0x11cc96+_0x36c7bb+_0x1dce26,'col':_0x1bfe65[_0xcb397a(0x205)]+_0x2f938d},_0x37e48e,!0x1,!0x1);_0x3f1194[_0xcb397a(0x231)]={'rowRanges':_0x258a36,'colRanges':_0x1e2f2a,'cornerRanges':_0xb03a60,'dataRanges':_0x68e07a,'pageRanges':_0x59a18e};const _0x4957dc=_0x4050e7(this[_0xcb397a(0x2d6)],_0x34187a,_0x426ea2,this[_0xcb397a(0x26f)]),{valueMatrix:_0x3c8a38,rowInfo:_0xe2bf6b,colInfo:_0x3a187d,cornerInfo:_0x5db48f,rowHeaderMap:_0x45312d,colHeaderMap:_0x29fc7a}=_0x4957dc;return _0x3f1194['areaInfo']={'rowInfo':_0xe2bf6b,'colInfo':_0x3a187d,'cornerInfo':_0x5db48f},_0x3f1194[_0xcb397a(0x312)]={'rowHeaderMap':_0x45312d,'colHeaderMap':_0x29fc7a},_0x3c8a38['forEach']((_0x8a79a1,_0x40eb54)=>{const _0x292d76=_0xcb397a;Object['keys'](_0x40eb54)[_0x292d76(0x300)](_0xf6258a=>{const _0x33fa1e=+_0xf6258a,_0x54ea01=_0x3c8a38['getValue'](_0x8a79a1,_0x33fa1e);_0x4d856c['setValue'](_0x8a79a1,_0x33fa1e,_0x54ea01);});}),this[_0xcb397a(0x39c)]['next']({'unitId':_0x28ff60,'subUnitId':_0x472571,'valueMatrix':_0x4d856c,'rangesCache':_0x3f1194['rangesInfo'],'pivotTableId':_0x4c47ef,'type':_0x2c270c[_0xcb397a(0x4bf)]}),this[_0xcb397a(0x460)]['updateViewInfo'](_0x28ff60,_0x472571,_0x4c47ef,_0x4d856c,_0x3f1194[_0xcb397a(0x231)]),this['_exclusiveRangeService'][_0xcb397a(0x20f)](_0x28ff60,_0x472571,_0x12c814,this[_0xcb397a(0x4a7)](_0x3f1194['rangesInfo'],_0x4c47ef)),{'rangeCache':_0x3f1194[_0xcb397a(0x231)],'matrix':_0x4d856c};}}[_0x29437c(0x496)](_0x6f10ec,_0x14452f,_0x308e79,_0x2d4fd1){const _0x565829=_0x29437c,_0x4a014d=this[_0x565829(0x2ac)]['t'],{unitId:_0x6b5467,subUnitId:_0x4416a9,pivotTableId:_0xa2988b}=_0x6f10ec,_0x27f1dd={'filter':_0x4a014d('sheets-pivot.emptyPivot.filter'),'row':_0x4a014d(_0x565829(0x38f)),'column':_0x4a014d(_0x565829(0x4c0)),'values':_0x4a014d(_0x565829(0x373))},{matrixCache:_0x2287c4,rangesCache:_0x393573}=_0x56f3d6(_0x27f1dd,_0x308e79);return _0x2287c4[_0x565829(0x3c6)]((_0x3cc796,_0x3b7586,_0x4a1251)=>{const _0x1755f8=_0x565829;_0x14452f[_0x1755f8(0x1d9)](_0x3cc796,_0x3b7586,_0x4a1251);}),_0x2d4fd1[_0x565829(0x231)]=_0x393573,this[_0x565829(0x39c)][_0x565829(0x4be)]({'unitId':_0x6b5467,'subUnitId':_0x4416a9,'valueMatrix':_0x14452f,'rangesCache':_0x393573,'pivotTableId':_0xa2988b,'type':_0x6f10ec[_0x565829(0x4bf)],'isEmpty':!0x0}),this[_0x565829(0x460)][_0x565829(0x3c8)](_0x6b5467,_0x4416a9,_0xa2988b,_0x14452f,_0x393573),this[_0x565829(0x2b0)][_0x565829(0x20f)](_0x6b5467,_0x4416a9,_0x12c814,this['_createExclusiveRange'](_0x393573,_0xa2988b)),{'rangeCache':_0x2d4fd1[_0x565829(0x231)],'matrix':_0x14452f};}[_0x29437c(0x4a7)](_0x2d97ba,_0x396677){const _0x44f43d=_0x29437c,_0x900136=[],_0x53fc1f=_0x2c3da1(_0x2d97ba);for(const _0x553962 of _0x53fc1f)_0x900136[_0x44f43d(0x436)]({'groupId':_0x396677,'range':_0x553962});return _0x900136;}[_0x29437c(0x382)](_0x2c307c){const _0x260389=_0x29437c;var _0x1a15c5,_0x1e588b,_0x22cce1,_0x274fa;const {pivotTableId:_0x2e2eab,unitId:_0x7ed178,subUnitId:_0xbec428}=_0x2c307c;if(!_0x2e2eab||!_0x7ed178||!_0xbec428)return;const _0x17058c=this[_0x260389(0x1ce)](_0x7ed178,_0xbec428),_0x2c81e8=(_0x1e588b=(_0x1a15c5=this['_pivotRenderInfoCache'][_0x260389(0x21b)](_0x7ed178))==null?void 0x0:_0x1a15c5[_0x260389(0x21b)](_0xbec428))==null?void 0x0:_0x1e588b[_0x260389(0x21b)](_0x2e2eab);if(_0x2c81e8!=null&&_0x2c81e8['rangesInfo']){for(const _0x2b8d6f of Object['keys'](_0x2c81e8[_0x260389(0x231)]))_0x2c81e8['rangesInfo'][_0x2b8d6f]['forEach'](_0x4beaf5=>{const _0x3726ec=_0x260389;for(let _0x2ffb2a=_0x4beaf5[_0x3726ec(0x1d2)];_0x2ffb2a<=_0x4beaf5[_0x3726ec(0x3d8)];_0x2ffb2a++)for(let _0x1732fe=_0x4beaf5[_0x3726ec(0x3d6)];_0x1732fe<=_0x4beaf5[_0x3726ec(0x2b1)];_0x1732fe++)_0x17058c['realDeleteValue'](_0x2ffb2a,_0x1732fe);});}_0x2c81e8&&((_0x274fa=(_0x22cce1=this[_0x260389(0x37b)][_0x260389(0x21b)](_0x7ed178))==null?void 0x0:_0x22cce1[_0x260389(0x21b)](_0xbec428))==null||_0x274fa[_0x260389(0x370)](_0x2e2eab)),this[_0x260389(0x39c)][_0x260389(0x4be)]({'unitId':_0x7ed178,'subUnitId':_0xbec428,'valueMatrix':_0x17058c,'pivotTableId':_0x2e2eab,'rangesCache':void 0x0,'type':_0x2c307c[_0x260389(0x4bf)]}),this['_exclusiveRangeService'][_0x260389(0x4c5)](_0x7ed178,_0xbec428,_0x12c814,_0x2e2eab);}[_0x29437c(0x41d)](_0x3f38aa,_0xf67fdd,_0xeab254){const _0x31704f=_0x29437c;var _0x2dfcbe,_0x124de6,_0x4e92c0,_0x366ed5,_0x21767b,_0x1409f5;return this[_0x31704f(0x37b)][_0x31704f(0x339)](_0x3f38aa)||this[_0x31704f(0x37b)][_0x31704f(0x250)](_0x3f38aa,new Map()),(_0x2dfcbe=this[_0x31704f(0x37b)][_0x31704f(0x21b)](_0x3f38aa))!=null&&_0x2dfcbe[_0x31704f(0x339)](_0xf67fdd)||(_0x124de6=this[_0x31704f(0x37b)][_0x31704f(0x21b)](_0x3f38aa))==null||_0x124de6['set'](_0xf67fdd,new Map()),(_0x366ed5=(_0x4e92c0=this[_0x31704f(0x37b)][_0x31704f(0x21b)](_0x3f38aa))==null?void 0x0:_0x4e92c0[_0x31704f(0x21b)](_0xf67fdd))!=null&&_0x366ed5[_0x31704f(0x339)](_0xeab254)||(_0x1409f5=(_0x21767b=this[_0x31704f(0x37b)][_0x31704f(0x21b)](_0x3f38aa))==null?void 0x0:_0x21767b[_0x31704f(0x21b)](_0xf67fdd))==null||_0x1409f5['set'](_0xeab254,{}),this[_0x31704f(0x37b)][_0x31704f(0x21b)](_0x3f38aa)[_0x31704f(0x21b)](_0xf67fdd)[_0x31704f(0x21b)](_0xeab254);}[_0x29437c(0x1ce)](_0x71d609,_0x5445a1){const _0x19a732=_0x29437c;var _0x425afd,_0x4d9caf;return this[_0x19a732(0x27b)]['has'](_0x71d609)||this[_0x19a732(0x27b)][_0x19a732(0x250)](_0x71d609,new Map()),(_0x425afd=this[_0x19a732(0x27b)][_0x19a732(0x21b)](_0x71d609))!=null&&_0x425afd['has'](_0x5445a1)||(_0x4d9caf=this[_0x19a732(0x27b)][_0x19a732(0x21b)](_0x71d609))==null||_0x4d9caf[_0x19a732(0x250)](_0x5445a1,new _0x555844[(_0x19a732(0x48a))]()),this[_0x19a732(0x27b)]['get'](_0x71d609)['get'](_0x5445a1);}[_0x29437c(0x4ad)](_0x2c3458,_0x2802ee,_0x3209ac,_0x1511a0){const _0x5ae4ba=_0x29437c;var _0x513a5a,_0x59207e;const _0x49474f=(_0x59207e=(_0x513a5a=this[_0x5ae4ba(0x27b)][_0x5ae4ba(0x21b)](_0x2c3458))==null?void 0x0:_0x513a5a[_0x5ae4ba(0x21b)](_0x2802ee))==null?void 0x0:_0x59207e[_0x5ae4ba(0x2b5)](_0x3209ac,_0x1511a0);if(_0x49474f!=null)return _0x49474f;}['getPivotTableIdByCell'](_0x1ae512,_0x27f568,_0x7fd798,_0x219b89){const _0x848c24=_0x29437c;var _0x1178c4;const _0x44fd6a=_0x555844[_0x848c24(0x3e4)](_0x7fd798,_0x219b89),_0xd6a74=(_0x1178c4=this[_0x848c24(0x37b)][_0x848c24(0x21b)](_0x1ae512))==null?void 0x0:_0x1178c4[_0x848c24(0x21b)](_0x27f568);return _0xd6a74?Array[_0x848c24(0x3a8)](_0xd6a74[_0x848c24(0x1b0)]())['find'](_0x25bda0=>{const _0x2ba861=_0x848c24,_0xa33007=_0xd6a74[_0x2ba861(0x21b)](_0x25bda0),_0x2b2ddf=_0xa33007==null?void 0x0:_0xa33007['rangesInfo'];return _0x2b2ddf?Object[_0x2ba861(0x1b0)](_0x2b2ddf)[_0x2ba861(0x435)](_0x1affd5=>_0x2b2ddf[_0x1affd5][_0x2ba861(0x435)](_0x1154b4=>_0x555844['Rectangle']['contains'](_0x1154b4,_0x44fd6a))):!0x1;}):void 0x0;}[_0x29437c(0x344)](_0x366fd7,_0x558b47,_0x1df331){const _0x2de1b8=_0x29437c;var _0x5d345c;const _0x488c78=(_0x5d345c=this[_0x2de1b8(0x37b)][_0x2de1b8(0x21b)](_0x366fd7))==null?void 0x0:_0x5d345c['get'](_0x558b47),_0x482f56=[];return _0x488c78&&Array['from'](_0x488c78[_0x2de1b8(0x1b0)]())[_0x2de1b8(0x300)](_0x45948c=>{const _0x25e5e7=_0x2de1b8,_0x486db2=_0x488c78[_0x25e5e7(0x21b)](_0x45948c),_0x4e1b10=_0x486db2==null?void 0x0:_0x486db2[_0x25e5e7(0x231)];if(_0x4e1b10)for(const _0x89fa5 of Object[_0x25e5e7(0x383)](_0x4e1b10)){let _0x4e80a1=!0x1;for(const _0x80617d of _0x89fa5)if(_0x555844[_0x25e5e7(0x318)][_0x25e5e7(0x3cc)](_0x80617d,_0x1df331)){_0x482f56['push'](_0x45948c),_0x4e80a1=!0x0;break;}if(_0x4e80a1)break;}}),_0x482f56;}[_0x29437c(0x3a9)](_0x316cb0,_0x478f32){const _0x4b67bb=_0x29437c;var _0x49fdef,_0x4c1b3b;return(_0x4c1b3b=(_0x49fdef=this[_0x4b67bb(0x27b)][_0x4b67bb(0x21b)](_0x316cb0))==null?void 0x0:_0x49fdef['get'](_0x478f32))!=null?_0x4c1b3b:new _0x555844['ObjectMatrix']();}[_0x29437c(0x1d0)](_0x31ee5c,_0x197614){const _0x111d75=_0x29437c;var _0x1304e4;return(_0x1304e4=this['_pivotRenderInfoCache']['get'](_0x31ee5c))==null?void 0x0:_0x1304e4[_0x111d75(0x21b)](_0x197614);}[_0x29437c(0x214)](_0x4054e2,_0x52ff55,_0x192de3){const _0x164a91=_0x29437c;var _0x1f1ec0,_0x4f5187;return(_0x4f5187=(_0x1f1ec0=this[_0x164a91(0x37b)][_0x164a91(0x21b)](_0x4054e2))==null?void 0x0:_0x1f1ec0['get'](_0x52ff55))==null?void 0x0:_0x4f5187[_0x164a91(0x21b)](_0x192de3);}[_0x29437c(0x377)](_0x51125d){const _0x356c8d=_0x29437c;this[_0x356c8d(0x37b)][_0x356c8d(0x370)](_0x51125d),this[_0x356c8d(0x27b)][_0x356c8d(0x370)](_0x51125d);}['markDirty'](_0x3d2a64,_0x294452){const _0x2f2cc2=_0x29437c;this[_0x2f2cc2(0x238)][_0x2f2cc2(0x4be)]({'unitId':_0x3d2a64,'subUnitId':_0x294452});}},_0x24ce63[_0x29437c(0x2c8)]=_0x305ac5([_0x1665a0(0x0,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x329)])),_0x1665a0(0x1,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x30a)])),_0x1665a0(0x2,_0x555844[_0x29437c(0x351)](_0x24ce63[_0x29437c(0x206)])),_0x1665a0(0x3,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x273)])),_0x1665a0(0x4,_0x555844[_0x29437c(0x351)](_0x402aa8[_0x29437c(0x321)]))],_0x24ce63['SheetsPivotTableAdaptorModel']);var _0x4e7b75=Object[_0x29437c(0x42e)],_0x1db02e=(_0x1be97f,_0x60308,_0x1d0e70,_0x3989ad)=>{for(var _0x874982=_0x3989ad>0x1?void 0x0:_0x3989ad?_0x4e7b75(_0x60308,_0x1d0e70):_0x60308,_0x404649=_0x1be97f['length']-0x1,_0xa379b7;_0x404649>=0x0;_0x404649--)(_0xa379b7=_0x1be97f[_0x404649])&&(_0x874982=_0xa379b7(_0x874982)||_0x874982);return _0x874982;},_0x4fe90d=(_0x50ee53,_0x58605b)=>(_0x2790d8,_0x46150c)=>_0x58605b(_0x2790d8,_0x46150c,_0x50ee53);_0x24ce63[_0x29437c(0x3a3)]=class extends _0x555844[_0x29437c(0x1ea)]{constructor(_0x2b53a8,_0x236fb6){const _0x28ed68=_0x29437c;super(),_0x528485(this,_0x28ed68(0x1f7),new _0x555844['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x2c9371})),_0x528485(this,_0x28ed68(0x272),new _0x555844[(_0x28ed68(0x3bb))]({'PIVOT_MUTATION_GENERATE':_0x103368})),(this[_0x28ed68(0x2b6)]=_0x2b53a8,this['_sheetsPivotTableAdaptorModel']=_0x236fb6,this['_init']());}[_0x29437c(0x48f)](){this['_initViewModelBySheetInterceptor']();}[_0x29437c(0x419)](_0x4c33e7){const _0x5f558e=_0x29437c;return this[_0x5f558e(0x1f7)][_0x5f558e(0x2af)](_0x2c9371)(!0x1,_0x4c33e7);}['_initViewModelBySheetInterceptor'](){const _0x105611=_0x29437c;this['disposeWithMe'](this[_0x105611(0x2b6)][_0x105611(0x3ee)](_0x402aa8[_0x105611(0x24f)][_0x105611(0x3f7)],{'priority':0xc8,'effect':_0x555844[_0x105611(0x493)]['Value']|_0x555844[_0x105611(0x493)][_0x105611(0x3fd)],'handler':(_0x23fcbd,_0x471b95,_0x41a8)=>{const _0x4366e2=_0x105611,{row:_0x58db2a,col:_0xef3eba,unitId:_0x531d46,subUnitId:_0xdb0689,workbook:_0x50b6cd}=_0x471b95,_0x183f73=this[_0x4366e2(0x2f1)][_0x4366e2(0x4ad)](_0x531d46,_0xdb0689,_0x58db2a,_0xef3eba);if(!_0x183f73)return _0x41a8(_0x23fcbd);const _0x4e9b2e={..._0x23fcbd};(_0x183f73['v']||_0x183f73['v']===0x0)&&(_0x4e9b2e['v']=_0x183f73['v']),_0x183f73['t']&&(_0x4e9b2e['t']=_0x183f73['t']);const _0x5dea7c=(typeof(_0x23fcbd==null?void 0x0:_0x23fcbd['s'])==_0x4366e2(0x39d)?_0x50b6cd[_0x4366e2(0x462)]()['get'](_0x23fcbd==null?void 0x0:_0x23fcbd['s']):_0x23fcbd==null?void 0x0:_0x23fcbd['s'])||{},_0x51e4ab=_0x50b6cd[_0x4366e2(0x462)]()[_0x4366e2(0x21b)](_0x183f73['s']),_0x5c1999={..._0x51e4ab,..._0x5dea7c};_0x51e4ab!=null&&_0x51e4ab['n']&&(_0x5c1999['n']=_0x51e4ab['n']);const _0x1661e4=_0x50b6cd[_0x4366e2(0x462)]()[_0x4366e2(0x1d9)](_0x5c1999);return _0x4e9b2e['s']=_0x1661e4,(_0x183f73['pbt']===_0x3f54d9[_0x4366e2(0x275)][_0x4366e2(0x42f)]||_0x183f73[_0x4366e2(0x20e)]===_0x3f54d9[_0x4366e2(0x275)][_0x4366e2(0x367)])&&(_0x4e9b2e[_0x4366e2(0x35a)]={},_0x4e9b2e[_0x4366e2(0x35a)][_0x4366e2(0x372)]=_0x496aef),_0x41a8(_0x4e9b2e);}}));}},_0x24ce63[_0x29437c(0x3a3)]=_0x1db02e([_0x4fe90d(0x0,_0x555844[_0x29437c(0x351)](_0x402aa8[_0x29437c(0x2c0)])),_0x4fe90d(0x1,_0x555844['Inject'](_0x24ce63[_0x29437c(0x2c8)]))],_0x24ce63['SheetsPivotTableService']);function _0x1eff12(_0x2a0824,_0x23ef3e){const _0x16ecc0=_0x29437c;switch(_0x23ef3e){case _0x3f54d9[_0x16ecc0(0x1d5)][_0x16ecc0(0x255)]:return _0x2a0824[_0x16ecc0(0x2f0)];case _0x3f54d9[_0x16ecc0(0x1d5)]['Filter']:return _0x2a0824['filterFields'];case _0x3f54d9[_0x16ecc0(0x1d5)][_0x16ecc0(0x44f)]:return _0x2a0824[_0x16ecc0(0x3b2)];case _0x3f54d9[_0x16ecc0(0x1d5)][_0x16ecc0(0x393)]:return _0x2a0824[_0x16ecc0(0x458)];default:return[];}}function _0x2bb175(_0x2a793f,_0x534cd8){const _0x3dbc8f=_0x29437c;return _0x2a793f[_0x3dbc8f(0x2c1)][_0x534cd8]||_0x2a793f['dimension'][_0x534cd8];}function _0x54df32(_0x4b9515,_0x5b787f){const _0x52dd54=_0x29437c,{area:_0x1e06c9,fieldJson:_0x598ff7,index:_0x3c3caf}=_0x5b787f;_0x1e06c9===_0x3f54d9[_0x52dd54(0x1d5)]['Value']?_0x4b9515[_0x52dd54(0x2c1)][_0x598ff7['id']]=_0x598ff7:_0x4b9515['dimension'][_0x598ff7['id']]=_0x598ff7,_0x1eff12(_0x4b9515,_0x1e06c9)[_0x52dd54(0x1dd)](_0x3c3caf,0x0,_0x598ff7['id']);}function _0xc45f8d(_0xe01121,_0x1f48d9){const _0x68bf1a=_0x29437c,{area:_0x2114c0,fieldId:_0x4262d8,index:_0x289d58}=_0x1f48d9;_0x2114c0===_0x3f54d9[_0x68bf1a(0x1d5)][_0x68bf1a(0x255)]?delete _0xe01121[_0x68bf1a(0x2c1)][_0x4262d8]:delete _0xe01121[_0x68bf1a(0x1e9)][_0x4262d8],_0x1eff12(_0xe01121,_0x2114c0)[_0x68bf1a(0x1dd)](_0x289d58,0x1);}function _0x472a7b(_0x48f9a2,_0x511a11){const {fieldId:_0x3b260b,name:_0x120277}=_0x511a11,_0x28ffca=_0x2bb175(_0x48f9a2,_0x3b260b);_0x28ffca&&(_0x28ffca['displayName']=_0x120277);}function _0x1ab88d(_0x51f3ea,_0x5f4cd9){const _0x2501ee=_0x29437c,{fieldId:_0x2b4941,collapse:_0x5e786b,item:_0x599bcd}=_0x5f4cd9;_0x599bcd!==void 0x0?(_0x51f3ea['collapseInfo'][_0x2b4941]=_0x51f3ea['collapseInfo'][_0x2b4941]||{},_0x51f3ea[_0x2501ee(0x245)][_0x2b4941][_0x599bcd]=_0x5e786b):_0x51f3ea[_0x2501ee(0x245)][_0x2b4941]=_0x5e786b;}function _0x1e1c75(_0x3f8de9,_0x4d3246){const _0x307749=_0x29437c,{fieldId:_0x25ff64,format:_0x3de54d}=_0x4d3246,_0xb490ba=_0x2bb175(_0x3f8de9,_0x25ff64);_0xb490ba&&(_0xb490ba[_0x307749(0x404)]=_0x3de54d);}function _0x5aeb13(_0x37a584,_0x4e748a){const _0x3e61a8=_0x29437c,{fieldId:_0x4ca719,filterInfo:_0x3091da}=_0x4e748a,_0x3d0ef2=_0x2bb175(_0x37a584,_0x4ca719);_0x3d0ef2&&(_0x3d0ef2[_0x3e61a8(0x463)]=_0x3091da);}function _0x225dfa(_0x544387,_0x1b02df){const _0x2e86cd=_0x29437c,{fieldId:_0xdcaab5,filterInfo:_0xb8d890}=_0x1b02df,_0x463b2c=_0x544387[_0x2e86cd(0x3bd)][_0x2e86cd(0x4a5)](_0xf73775=>_0xf73775[_0x2e86cd(0x42b)]!==_0xdcaab5);_0xb8d890&&_0x463b2c['push']({'fieldId':_0xdcaab5,'filterInfo':_0xb8d890}),_0x544387[_0x2e86cd(0x3bd)]=_0x463b2c;}function _0x5f30d4(_0x1d065c,_0x2af3ce){const _0x37bcea=_0x29437c,{fieldId:_0x262fb3,subtotalType:_0x14ce5e}=_0x2af3ce,_0x4d61c3=_0x2bb175(_0x1d065c,_0x262fb3);_0x4d61c3&&(_0x4d61c3[_0x37bcea(0x1e2)]=_0x14ce5e);}function _0x3e382b(_0x3203c4,_0x3ec27f){const _0x3319f7=_0x29437c,{fieldId:_0xf8f1ac,oldArea:_0x5646ed,area:_0x28d678,oldIndex:_0x5568b3,index:_0x56f2f2}=_0x3ec27f,_0x3c2007=_0x5646ed!==_0x3f54d9[_0x3319f7(0x1d5)][_0x3319f7(0x255)]&&_0x28d678===_0x3f54d9[_0x3319f7(0x1d5)]['Value'],_0x304091=_0x5646ed===_0x3f54d9[_0x3319f7(0x1d5)][_0x3319f7(0x255)]&&_0x28d678!==_0x3f54d9[_0x3319f7(0x1d5)]['Value'];if(_0x3c2007||_0x304091){const _0x5f1066=_0x2bb175(_0x3203c4,_0xf8f1ac);_0x5f1066&&(_0x3c2007?(delete _0x3203c4[_0x3319f7(0x1e9)][_0xf8f1ac],_0x3203c4[_0x3319f7(0x2c1)][_0xf8f1ac]=_0x5f1066):(delete _0x3203c4[_0x3319f7(0x2c1)][_0xf8f1ac],_0x3203c4[_0x3319f7(0x1e9)][_0xf8f1ac]=_0x5f1066));}const _0x2743e1=_0x1eff12(_0x3203c4,_0x5646ed),_0x3e4288=_0x1eff12(_0x3203c4,_0x28d678);_0x2743e1[_0x3319f7(0x1dd)](_0x5568b3,0x1),_0x3e4288['splice'](_0x56f2f2,0x0,_0xf8f1ac);}function _0x2ea8de(_0x224527,_0x86517a){const _0x516b39=_0x29437c,{valuePosition:_0x5736bb,index:_0x3cae7c}=_0x86517a;_0x224527[_0x516b39(0x2a0)]=_0x5736bb,_0x224527[_0x516b39(0x222)]=_0x3cae7c;}function _0x162758(_0x8bb406,_0x4279a5){const _0x2c639e=_0x29437c,{tableFieldId:_0x3bef6c,sourceName:_0x5138b4,dataFieldId:_0x533af4}=_0x4279a5,_0x10f124=_0x2bb175(_0x8bb406,_0x3bef6c);_0x10f124&&(_0x10f124[_0x2c639e(0x2c5)]=_0x5138b4,_0x10f124[_0x2c639e(0x277)]=_0x533af4);}function _0x221b2d(_0x4442e4,_0x1e94c5){const _0x231c13=_0x29437c,{fieldId:_0x1a1714,sortInfo:_0x31d41a}=_0x1e94c5,_0x582c00=_0x2bb175(_0x4442e4,_0x1a1714);_0x582c00&&(_0x582c00[_0x231c13(0x34d)]=_0x31d41a);}function _0x5e123(_0x306c70,_0x2b4971){const _0x1f58cc=_0x29437c,{options:_0x5b91fd}=_0x2b4971;_0x306c70[_0x1f58cc(0x26b)]={..._0x306c70[_0x1f58cc(0x26b)],..._0x5b91fd};}const _0x3bd948={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x490)],'id':'sheet.mutation.add-pivot-field','handler'(_0x101ecc,_0x17939a){const _0x18598d=_0x29437c;if(!_0x17939a)return!0x1;if(!!_0x101ecc['get'](_0x555844['IConfigService'])[_0x18598d(0x394)](_0x1437ff))return!0x0;const _0x40d4cd=_0x101ecc['get'](_0x24ce63[_0x18598d(0x369)]),{pivotTableId:_0x916ecf,fieldJson:_0x49dbbc,area:_0x5d698f,index:_0x4e5103,unitId:_0x4f4ff3,subUnitId:_0x7b67d6}=_0x17939a,_0x26bd61=_0x40d4cd['getPivotTableInstance'](_0x916ecf);if(!_0x26bd61)return!0x1;let _0x380309;_0x5d698f===_0x3f54d9['PivotTableFiledAreaEnum'][_0x18598d(0x255)]?_0x380309=_0x3f54d9[_0x18598d(0x467)](_0x49dbbc):_0x380309=_0x3f54d9[_0x18598d(0x3ec)](_0x49dbbc),_0x26bd61[_0x18598d(0x325)](_0x380309,_0x5d698f,_0x4e5103);const _0x402fdf=_0x40d4cd[_0x18598d(0x4b6)](_0x4f4ff3,_0x7b67d6,_0x916ecf);_0x54df32(_0x402fdf,_0x17939a);const _0x158863=_0x40d4cd[_0x18598d(0x2dc)](_0x4f4ff3,_0x7b67d6,_0x916ecf);return _0x40d4cd[_0x18598d(0x43f)]({'unitId':_0x4f4ff3,'subUnitId':_0x7b67d6,'token':_0x916ecf,'type':_0xc3c280[_0x18598d(0x43a)],'pivotConfig':_0x158863}),!0x0;}},_0x4d5cec={'type':_0x555844[_0x29437c(0x332)]['MUTATION'],'id':_0x29437c(0x1e6),'handler'(_0x54b237,_0x1276b6){const _0x4ed7e5=_0x29437c;if(!_0x1276b6)return!0x1;if(!!_0x54b237[_0x4ed7e5(0x21b)](_0x555844[_0x4ed7e5(0x41e)])[_0x4ed7e5(0x394)](_0x1437ff))return!0x0;const _0x3f01f5=_0x54b237[_0x4ed7e5(0x21b)](_0x24ce63[_0x4ed7e5(0x369)]),{pivotTableId:_0x2d3a5e,fieldId:_0x57a5bf,unitId:_0x4e377a,subUnitId:_0x2a3ba0}=_0x1276b6,_0x55320e=_0x3f01f5[_0x4ed7e5(0x2ad)](_0x2d3a5e);if(!_0x55320e)return!0x1;_0x55320e[_0x4ed7e5(0x2a1)](_0x57a5bf);const _0x4a1855=_0x3f01f5[_0x4ed7e5(0x4b6)](_0x4e377a,_0x2a3ba0,_0x2d3a5e);_0xc45f8d(_0x4a1855,_0x1276b6);const _0x1aa663=_0x3f01f5[_0x4ed7e5(0x2dc)](_0x4e377a,_0x2a3ba0,_0x2d3a5e);return _0x3f01f5[_0x4ed7e5(0x43f)]({'unitId':_0x4e377a,'subUnitId':_0x2a3ba0,'token':_0x2d3a5e,'type':_0xc3c280[_0x4ed7e5(0x43a)],'pivotConfig':_0x1aa663}),!0x0;}},_0x351b5d={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x490)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x525124,_0x2a7ad2){const _0x46b27d=_0x29437c;if(!_0x2a7ad2)return!0x1;if(!!_0x525124[_0x46b27d(0x21b)](_0x555844[_0x46b27d(0x41e)])['getConfig'](_0x1437ff))return!0x0;const _0x544583=_0x525124[_0x46b27d(0x21b)](_0x24ce63[_0x46b27d(0x369)]),{unitId:_0xb7e08,subUnitId:_0xbdf658,pivotTableId:_0x96307f,fieldId:_0x4b3344,name:_0x5c2a80}=_0x2a7ad2,_0x30c246=_0x544583[_0x46b27d(0x2ad)](_0x96307f);if(!_0x30c246)return!0x1;_0x30c246[_0x46b27d(0x261)](_0x4b3344,_0x5c2a80);const _0x2ec02a=_0x544583[_0x46b27d(0x4b6)](_0xb7e08,_0xbdf658,_0x96307f);return _0x472a7b(_0x2ec02a,_0x2a7ad2),_0x544583[_0x46b27d(0x43f)]({'unitId':_0xb7e08,'subUnitId':_0xbdf658,'token':_0x96307f,'type':_0xc3c280[_0x46b27d(0x43a)]}),!0x0;}},_0x6b877d={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x490)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x3fd1e1,_0x3d9828){const _0x4f67bb=_0x29437c;if(!_0x3d9828)return!0x1;if(!!_0x3fd1e1['get'](_0x555844[_0x4f67bb(0x41e)])['getConfig'](_0x1437ff))return!0x0;const _0x42dce1=_0x3fd1e1[_0x4f67bb(0x21b)](_0x24ce63[_0x4f67bb(0x369)]),{unitId:_0x525f49,subUnitId:_0x306390,pivotTableId:_0x4271fd,fieldId:_0xdbb29e,collapse:_0x333e1f,item:_0x3f5674}=_0x3d9828,_0x2f1c97=_0x42dce1[_0x4f67bb(0x2ad)](_0x4271fd);if(!_0x2f1c97)return!0x1;_0x2f1c97[_0x4f67bb(0x4bd)](_0xdbb29e,_0x333e1f,_0x3f5674);const _0x3f7d96=_0x42dce1[_0x4f67bb(0x4b6)](_0x525f49,_0x306390,_0x4271fd);return _0x1ab88d(_0x3f7d96,_0x3d9828),_0x42dce1[_0x4f67bb(0x43f)]({'unitId':_0x525f49,'subUnitId':_0x306390,'token':_0x4271fd,'type':_0xc3c280['Set']}),!0x0;}},_0x499e04={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x490)],'id':_0x29437c(0x28e),'handler'(_0x15ceca,_0x45d1b5){const _0x2f20da=_0x29437c;if(!_0x45d1b5)return!0x1;if(!!_0x15ceca[_0x2f20da(0x21b)](_0x555844[_0x2f20da(0x41e)])['getConfig'](_0x1437ff))return!0x0;const _0x57a407=_0x15ceca[_0x2f20da(0x21b)](_0x24ce63[_0x2f20da(0x369)]),{unitId:_0x510ef6,subUnitId:_0x328a36,pivotTableId:_0x5362bc,fieldId:_0x4c04c9,format:_0x1c196f}=_0x45d1b5,_0x50a74d=_0x57a407['getPivotTableInstance'](_0x5362bc);if(!_0x50a74d)return!0x1;_0x50a74d['setFieldFormat'](_0x4c04c9,_0x1c196f);const _0x8d158b=_0x57a407[_0x2f20da(0x4b6)](_0x510ef6,_0x328a36,_0x5362bc);return _0x1e1c75(_0x8d158b,_0x45d1b5),_0x57a407[_0x2f20da(0x43f)]({'unitId':_0x510ef6,'subUnitId':_0x328a36,'token':_0x5362bc,'type':_0xc3c280[_0x2f20da(0x43a)]}),!0x0;}},_0x2558db={'type':_0x555844['CommandType'][_0x29437c(0x490)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x22bb02,_0x4b360c){const _0x140df6=_0x29437c;if(!_0x4b360c)return!0x1;if(!!_0x22bb02[_0x140df6(0x21b)](_0x555844[_0x140df6(0x41e)])[_0x140df6(0x394)](_0x1437ff))return!0x0;const _0x391970=_0x22bb02[_0x140df6(0x21b)](_0x24ce63['SheetsPivotDataSourceModel']),{unitId:_0x3c7496,subUnitId:_0x2cc3fe,pivotTableId:_0x3a2a59,fieldId:_0x4394bb,filterInfo:_0x216704}=_0x4b360c,_0x1e28ca=_0x391970['getPivotTableInstance'](_0x3a2a59);if(!_0x1e28ca)return!0x1;_0x1e28ca[_0x140df6(0x304)](_0x4394bb,_0x216704);const _0x57c141=_0x391970[_0x140df6(0x4b6)](_0x3c7496,_0x2cc3fe,_0x3a2a59);return _0x5aeb13(_0x57c141,_0x4b360c),_0x391970[_0x140df6(0x43f)]({'unitId':_0x3c7496,'subUnitId':_0x2cc3fe,'token':_0x3a2a59,'type':_0xc3c280[_0x140df6(0x43a)]}),!0x0;}},_0x2e5c58={'type':_0x555844['CommandType']['MUTATION'],'id':'sheet.mutation.set-pivot-option','handler'(_0x36ccd3,_0x3634fd){const _0x2da6f0=_0x29437c;if(!_0x3634fd)return!0x1;if(!!_0x36ccd3[_0x2da6f0(0x21b)](_0x555844[_0x2da6f0(0x41e)])[_0x2da6f0(0x394)](_0x1437ff))return!0x0;const _0x229da5=_0x36ccd3['get'](_0x24ce63['SheetsPivotDataSourceModel']),{unitId:_0x10756c,subUnitId:_0x3a1594,pivotTableId:_0x259e1b,options:_0x1feb5c}=_0x3634fd,_0xe7a51a=_0x229da5['getPivotTableInstance'](_0x259e1b);if(!_0xe7a51a)return!0x1;_0xe7a51a[_0x2da6f0(0x27e)](_0x1feb5c);const _0x2762c3=_0x229da5[_0x2da6f0(0x4b6)](_0x10756c,_0x3a1594,_0x259e1b);return _0x5e123(_0x2762c3,_0x3634fd),_0x229da5['addDirtyPivotTable']({'unitId':_0x10756c,'subUnitId':_0x3a1594,'token':_0x259e1b,'type':_0xc3c280['Set']}),!0x0;}},_0x2f48f2={'type':_0x555844[_0x29437c(0x332)]['MUTATION'],'id':_0x29437c(0x391),'handler'(_0x3c8284,_0x401cd1){const _0x337208=_0x29437c;if(!_0x401cd1)return!0x1;if(!!_0x3c8284[_0x337208(0x21b)](_0x555844[_0x337208(0x41e)])[_0x337208(0x394)](_0x1437ff))return!0x0;const _0x4f0d7a=_0x3c8284[_0x337208(0x21b)](_0x24ce63['SheetsPivotDataSourceModel']),{unitId:_0x36887f,subUnitId:_0x5bbdea,pivotTableId:_0x512fc7,sortInfo:_0x282c87,fieldId:_0x71eb01}=_0x401cd1,_0x27cd96=_0x4f0d7a[_0x337208(0x2ad)](_0x512fc7);if(!_0x27cd96)return!0x1;_0x27cd96[_0x337208(0x314)](_0x71eb01,_0x282c87);const _0x53f2f1=_0x4f0d7a[_0x337208(0x4b6)](_0x36887f,_0x5bbdea,_0x512fc7);return _0x221b2d(_0x53f2f1,_0x401cd1),_0x4f0d7a[_0x337208(0x43f)]({'unitId':_0x36887f,'subUnitId':_0x5bbdea,'token':_0x512fc7,'type':_0xc3c280['Set']}),!0x0;}},_0x3a9e58={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x490)],'id':_0x29437c(0x30f),'handler'(_0x3971fa,_0x2ceed8){const _0x2eae5e=_0x29437c;if(!_0x2ceed8)return!0x1;if(!!_0x3971fa[_0x2eae5e(0x21b)](_0x555844[_0x2eae5e(0x41e)])[_0x2eae5e(0x394)](_0x1437ff))return!0x0;const _0x440a5b=_0x3971fa[_0x2eae5e(0x21b)](_0x24ce63[_0x2eae5e(0x369)]),{unitId:_0x7fd9df,subUnitId:_0x108362,pivotTableId:_0x306e62,fieldId:_0x272e7e,subtotalType:_0xb0193b}=_0x2ceed8,_0x1da30d=_0x440a5b['getPivotTableInstance'](_0x306e62);if(!_0x1da30d)return!0x1;_0x1da30d[_0x2eae5e(0x326)](_0x272e7e,_0xb0193b);const _0x3b2dab=_0x440a5b[_0x2eae5e(0x4b6)](_0x7fd9df,_0x108362,_0x306e62);return _0x5f30d4(_0x3b2dab,_0x2ceed8),_0x440a5b[_0x2eae5e(0x43f)]({'unitId':_0x7fd9df,'subUnitId':_0x108362,'token':_0x306e62,'type':_0xc3c280[_0x2eae5e(0x43a)]}),!0x0;}},_0x3217bf={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x490)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x1d2ed1,_0x55281b){const _0x2dd918=_0x29437c;if(!_0x55281b)return!0x1;if(!!_0x1d2ed1[_0x2dd918(0x21b)](_0x555844[_0x2dd918(0x41e)])[_0x2dd918(0x394)](_0x1437ff))return!0x0;const _0x26d475=_0x1d2ed1['get'](_0x24ce63['SheetsPivotDataSourceModel']),{unitId:_0x3b9667,subUnitId:_0x1e3036,pivotTableId:_0x12cbeb,fieldId:_0x3a08b8,filterInfo:_0x1523bc}=_0x55281b,_0x17f7c8=_0x26d475[_0x2dd918(0x2ad)](_0x12cbeb);if(!_0x17f7c8)return!0x1;_0x17f7c8[_0x2dd918(0x49b)](_0x3a08b8,_0x1523bc);const _0x129194=_0x26d475[_0x2dd918(0x4b6)](_0x3b9667,_0x1e3036,_0x12cbeb);return _0x225dfa(_0x129194,_0x55281b),_0x26d475[_0x2dd918(0x43f)]({'unitId':_0x3b9667,'subUnitId':_0x1e3036,'token':_0x12cbeb,'type':_0xc3c280[_0x2dd918(0x43a)]}),!0x0;}},_0x44de4d={'type':_0x555844[_0x29437c(0x332)]['MUTATION'],'id':_0x29437c(0x29e),'handler'(_0x2ad795,_0x5b3146){const _0x5c3c24=_0x29437c;if(!_0x5b3146)return!0x1;if(!!_0x2ad795[_0x5c3c24(0x21b)](_0x555844[_0x5c3c24(0x41e)])[_0x5c3c24(0x394)](_0x1437ff))return!0x0;const _0x3a9c36=_0x2ad795[_0x5c3c24(0x21b)](_0x24ce63['SheetsPivotDataSourceModel']),{unitId:_0x1b794c,subUnitId:_0x20196f,pivotTableId:_0x471f61,area:_0xcca45b,index:_0x1afea2,fieldId:_0x24c813}=_0x5b3146,_0x14e050=_0x3a9c36[_0x5c3c24(0x2ad)](_0x471f61);if(!_0x14e050)return!0x1;_0x14e050[_0x5c3c24(0x264)](_0x24c813,_0xcca45b,_0x1afea2);const _0x5465a4=_0x3a9c36[_0x5c3c24(0x4b6)](_0x1b794c,_0x20196f,_0x471f61);return _0x3e382b(_0x5465a4,_0x5b3146),_0x3a9c36[_0x5c3c24(0x43f)]({'unitId':_0x1b794c,'subUnitId':_0x20196f,'token':_0x471f61,'type':_0xc3c280['Set']}),!0x0;}},_0x476697={'type':_0x555844['CommandType']['MUTATION'],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x21f781,_0x58aedf){const _0x32ab3d=_0x29437c;if(!_0x58aedf)return!0x1;if(!!_0x21f781[_0x32ab3d(0x21b)](_0x555844[_0x32ab3d(0x41e)])[_0x32ab3d(0x394)](_0x1437ff))return!0x0;const _0x19dd58=_0x21f781['get'](_0x24ce63[_0x32ab3d(0x369)]),{unitId:_0xf943f2,subUnitId:_0x11f3e4,pivotTableId:_0x451a6e,sourceName:_0x297a82,dataFieldId:_0x100c1f,tableFieldId:_0x229569}=_0x58aedf,_0x1bce40=_0x19dd58[_0x32ab3d(0x2ad)](_0x451a6e);if(!_0x1bce40)return!0x1;_0x1bce40['updateFieldSourceInfo'](_0x229569,_0x297a82,_0x100c1f);const _0xf2810d=_0x19dd58[_0x32ab3d(0x4b6)](_0xf943f2,_0x11f3e4,_0x451a6e);return _0x162758(_0xf2810d,_0x58aedf),_0x19dd58['addDirtyPivotTable']({'unitId':_0xf943f2,'subUnitId':_0x11f3e4,'token':_0x451a6e,'type':_0xc3c280['Set']}),!0x0;}},_0x3e019a={'type':_0x555844['CommandType'][_0x29437c(0x490)],'id':_0x29437c(0x299),'handler'(_0x30455e,_0x48e3b2){const _0xc29cd5=_0x29437c;if(!_0x48e3b2)return!0x1;if(!!_0x30455e[_0xc29cd5(0x21b)](_0x555844[_0xc29cd5(0x41e)])[_0xc29cd5(0x394)](_0x1437ff))return!0x0;const _0x5297a9=_0x30455e[_0xc29cd5(0x21b)](_0x24ce63['SheetsPivotDataSourceModel']),{unitId:_0x27d36f,subUnitId:_0x5036f9,pivotTableId:_0xaefa81,valuePosition:_0x4da90d,index:_0x2888bc}=_0x48e3b2,_0x2285ba=_0x5297a9[_0xc29cd5(0x2ad)](_0xaefa81);if(!_0x2285ba)return!0x1;_0x2285ba['updateValuePosition'](_0x4da90d,_0x2888bc);const _0x1b0bd1=_0x5297a9[_0xc29cd5(0x4b6)](_0x27d36f,_0x5036f9,_0xaefa81);return _0x2ea8de(_0x1b0bd1,_0x48e3b2),_0x5297a9[_0xc29cd5(0x43f)]({'unitId':_0x27d36f,'subUnitId':_0x5036f9,'token':_0xaefa81,'type':_0xc3c280['Set']}),!0x0;}};function _0x42105c(_0x11bd89,_0x544f12,_0x42dbd5){const _0x9f2b31=_0x29437c,{pivotTableId:_0x40e019,unitId:_0x1d8767,subUnitId:_0x403462}=_0x544f12,_0x445034=[],_0x47975=[];for(const _0x3b4f0a of _0x42dbd5)switch(_0x3b4f0a['type']){case _0x3f54d9[_0x9f2b31(0x217)][_0x9f2b31(0x1f8)]:{const {fieldJson:_0x3e6615,area:_0x5540cb,index:_0x8de48e}=_0x3b4f0a,_0x361fa4={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldJson':_0x3e6615,'area':_0x5540cb,'index':_0x8de48e},_0x3cb86e={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x3e6615['id'],'area':_0x5540cb,'index':_0x8de48e};_0x445034[_0x9f2b31(0x436)]({'id':_0x3bd948['id'],'params':_0x361fa4}),_0x47975[_0x9f2b31(0x361)]({'id':_0x4d5cec['id'],'params':_0x3cb86e});}break;case _0x3f54d9[_0x9f2b31(0x217)][_0x9f2b31(0x3b6)]:{const {fieldId:_0x4ba302,newSubtotalType:_0x1a6587,oldSubtotalType:_0x3428b0}=_0x3b4f0a,_0x3b018c={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x4ba302,'subtotalType':_0x1a6587};_0x445034[_0x9f2b31(0x436)]({'id':_0x3a9e58['id'],'params':_0x3b018c});const _0x15f1ba={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x4ba302,'subtotalType':_0x3428b0};_0x47975[_0x9f2b31(0x361)]({'id':_0x3a9e58['id'],'params':_0x15f1ba});}break;case _0x3f54d9['PivotTableChangeTypeEnum'][_0x9f2b31(0x1f1)]:{const {fieldId:_0x4546ce,fieldJson:_0x5061c4,area:_0x30ed2f,index:_0x174963}=_0x3b4f0a,_0x1bd7a8={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x4546ce,'index':_0x174963,'area':_0x30ed2f};_0x445034[_0x9f2b31(0x436)]({'id':_0x4d5cec['id'],'params':_0x1bd7a8});const _0x15e54e={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldJson':_0x5061c4,'area':_0x30ed2f,'index':_0x174963};_0x47975['unshift']({'id':_0x3bd948['id'],'params':_0x15e54e});}break;case _0x3f54d9[_0x9f2b31(0x217)][_0x9f2b31(0x2f8)]:{const {fieldId:_0x41c860,oldName:_0x112602,newName:_0x5cbb8a}=_0x3b4f0a,_0x4e97f2={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x41c860,'name':_0x5cbb8a};_0x445034[_0x9f2b31(0x436)]({'id':_0x351b5d['id'],'params':_0x4e97f2});const _0x15eacd={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x41c860,'name':_0x112602};_0x47975[_0x9f2b31(0x361)]({'id':_0x351b5d['id'],'params':_0x15eacd});}break;case _0x3f54d9['PivotTableChangeTypeEnum'][_0x9f2b31(0x244)]:{const {fieldId:_0x457697,oldFilterInfo:_0x59dd21,newFilterInfo:_0x2dd4e0}=_0x3b4f0a,_0x3b6df3={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x457697,'filterInfo':_0x2dd4e0};_0x445034[_0x9f2b31(0x436)]({'id':_0x2558db['id'],'params':_0x3b6df3});const _0x1cdcc3={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x457697,'filterInfo':_0x59dd21};_0x47975[_0x9f2b31(0x361)]({'id':_0x2558db['id'],'params':_0x1cdcc3});}break;case _0x3f54d9[_0x9f2b31(0x217)][_0x9f2b31(0x431)]:{const {fieldId:_0x426012,oldSortInfo:_0x146d1a,newSortInfo:_0x33610b}=_0x3b4f0a,_0x5b525b={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x426012,'sortInfo':_0x33610b};_0x445034['push']({'id':_0x2f48f2['id'],'params':_0x5b525b});const _0x138f93={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x426012,'sortInfo':_0x146d1a};_0x47975['unshift']({'id':_0x2f48f2['id'],'params':_0x138f93});}break;case _0x3f54d9['PivotTableChangeTypeEnum']['SetOptions']:{const {oldOptions:_0x538f93,newOptions:_0x12fe6e}=_0x3b4f0a,_0x515da5={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'options':_0x12fe6e};_0x445034[_0x9f2b31(0x436)]({'id':_0x2e5c58['id'],'params':_0x515da5});const _0x28f537={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'options':_0x538f93};_0x47975[_0x9f2b31(0x361)]({'id':_0x2e5c58['id'],'params':_0x28f537});}break;case _0x3f54d9[_0x9f2b31(0x217)][_0x9f2b31(0x287)]:{const {oldArea:_0x5ed06c,newArea:_0x184c64,oldIndex:_0x2fbfea,newIndex:_0xb5925b,fieldId:_0x591ceb}=_0x3b4f0a,_0x1a70bc={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x591ceb,'area':_0x184c64,'index':_0xb5925b,'oldArea':_0x5ed06c,'oldIndex':_0x2fbfea};_0x445034[_0x9f2b31(0x436)]({'id':_0x44de4d['id'],'params':_0x1a70bc});const _0x56fe52={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x591ceb,'area':_0x5ed06c,'index':_0x2fbfea,'oldArea':_0x184c64,'oldIndex':_0xb5925b};_0x47975['unshift']({'id':_0x44de4d['id'],'params':_0x56fe52});}break;case _0x3f54d9[_0x9f2b31(0x217)][_0x9f2b31(0x26d)]:{const {oldValuePosition:_0x124e52,newValuePosition:_0x1bf322,oldIndex:_0x1d68d2,newIndex:_0x41b61e}=_0x3b4f0a,_0x53452c={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'valuePosition':_0x1bf322,'index':_0x41b61e};_0x445034['push']({'id':_0x3e019a['id'],'params':_0x53452c});const _0x34aafb={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'valuePosition':_0x124e52,'index':_0x1d68d2};_0x47975[_0x9f2b31(0x361)]({'id':_0x3e019a['id'],'params':_0x34aafb});}break;case _0x3f54d9['PivotTableChangeTypeEnum'][_0x9f2b31(0x456)]:{const {fieldId:_0x104d69,collapse:_0x1d8f7c,item:_0x199edd}=_0x3b4f0a,_0x5a5e74={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x104d69,'collapse':_0x1d8f7c,'item':_0x199edd};_0x445034[_0x9f2b31(0x436)]({'id':_0x6b877d['id'],'params':_0x5a5e74});const _0x33a1ce={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x104d69,'collapse':!_0x1d8f7c,'item':_0x199edd};_0x47975[_0x9f2b31(0x361)]({'id':_0x6b877d['id'],'params':_0x33a1ce});}break;case _0x3f54d9[_0x9f2b31(0x217)][_0x9f2b31(0x454)]:{const {newFormat:_0x41a9e7,oldFormat:_0x2dfea5,fieldId:_0x26d3bd}=_0x3b4f0a,_0x2d17ef={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x26d3bd,'format':_0x41a9e7};_0x445034[_0x9f2b31(0x436)]({'id':_0x499e04['id'],'params':_0x2d17ef});const _0xd566a8={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x26d3bd,'format':_0x2dfea5};_0x47975[_0x9f2b31(0x361)]({'id':_0x499e04['id'],'params':_0xd566a8});}break;case _0x3f54d9['PivotTableChangeTypeEnum'][_0x9f2b31(0x28f)]:{const {tableFieldId:_0x47eeb0,oldSourceName:_0x4fd102,newSourceName:_0x28b9bc,oldDataFieldId:_0x1a1689,newDataFieldId:_0x37dae5}=_0x3b4f0a,_0x109f26={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'tableFieldId':_0x47eeb0,'sourceName':_0x28b9bc,'dataFieldId':_0x37dae5};_0x445034['push']({'id':_0x476697['id'],'params':_0x109f26});const _0x2e5a8e={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'tableFieldId':_0x47eeb0,'sourceName':_0x4fd102,'dataFieldId':_0x1a1689};_0x47975[_0x9f2b31(0x361)]({'id':_0x476697['id'],'params':_0x2e5a8e});}break;case _0x3f54d9[_0x9f2b31(0x217)][_0x9f2b31(0x293)]:{const {fieldId:_0x190ce9,filterInfo:_0x104092,oldFilterInfo:_0x5371e6}=_0x3b4f0a,_0x10e91a={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x190ce9,'filterInfo':_0x104092};_0x445034[_0x9f2b31(0x436)]({'id':_0x3217bf['id'],'params':_0x10e91a});const _0x3146ea={'unitId':_0x1d8767,'subUnitId':_0x403462,'pivotTableId':_0x40e019,'fieldId':_0x190ce9,'filterInfo':_0x5371e6};_0x47975['unshift']({'id':_0x3217bf['id'],'params':_0x3146ea});}}return{'redos':_0x445034,'undos':_0x47975};}function _0x5c01c6(_0x398638,_0x186ee3){const _0x1c93cc=_0x29437c;var _0x473fb4;const _0x2d9a3f=_0x398638[_0x1c93cc(0x21b)](_0x24ce63[_0x1c93cc(0x3a3)]),{cellInfo:_0x38a613,view:_0x1f7610,isEmpty:_0x3dd766}=_0x186ee3;return(_0x473fb4=_0x2d9a3f[_0x1c93cc(0x272)][_0x1c93cc(0x2be)](_0x103368)(_0x1950cf,{'cellInfo':_0x38a613,'view':_0x1f7610,'isEmpty':_0x3dd766}))!=null?_0x473fb4:_0x1950cf;}const _0x18a4f3=()=>typeof process<'u'&&process[_0x29437c(0x483)]!=null&&process['versions']['node']!=null,_0x265e5a={'type':_0x555844['CommandType'][_0x29437c(0x490)],'id':_0x29437c(0x2f9),'handler'(_0x2c7cc6,_0xf344a7){const _0x2d6ee3=_0x29437c;var _0x26b60b;if(!_0xf344a7)return!0x1;const _0x24ea90=_0x2c7cc6[_0x2d6ee3(0x21b)](_0x555844[_0x2d6ee3(0x41e)]);if(!!_0x24ea90[_0x2d6ee3(0x394)](_0x1437ff))return!0x0;const _0x1a0941=_0x2c7cc6[_0x2d6ee3(0x21b)](_0x555844[_0x2d6ee3(0x273)]),_0xbcc19b=_0x2c7cc6[_0x2d6ee3(0x21b)](_0x24ce63['SheetsPivotDataSourceModel']),{pivotTableId:_0x19206c,pivotTableConfig:_0x17195d,collectionConfig:_0x3a8679,unitId:_0x9d3c30,subUnitId:_0x352627}=_0xf344a7,{sourceRangeInfo:_0x4c9b57,fieldsConfig:_0x2dd7b1,targetCellInfo:_0x2be389}=_0x17195d,_0x507ec4=_0x1a0941[_0x2d6ee3(0x2aa)](_0x9d3c30);if(!_0x507ec4||!_0x507ec4[_0x2d6ee3(0x3b5)](_0x352627))return!0x1;if(!_0x18a4f3()){let _0x1c4b5c=0x0;_0x507ec4[_0x2d6ee3(0x4a2)]()['forEach'](_0x1de8df=>{const _0x31b7b8=_0x2d6ee3;var _0xa59e39,_0x596895;_0x1c4b5c+=(_0x596895=(_0xa59e39=_0xbcc19b['getSubUnitPivotConfigs'](_0x9d3c30,_0x1de8df[_0x31b7b8(0x204)]()))==null?void 0x0:_0xa59e39[_0x31b7b8(0x3e9)])!=null?_0x596895:0x0;});const _0x150629=(_0x26b60b=_0x24ea90[_0x2d6ee3(0x394)](_0x440f6c[_0x2d6ee3(0x266)]))!=null?_0x26b60b:{},{ls:_0x248aee,pbk:_0xa849af}=_0x150629;if(!_0x503abc(_0x248aee,_0xa849af))throw new _0x555844[(_0x2d6ee3(0x422))](_0x2d6ee3(0x324));const _0x17a5be=_0x992aa1(_0x5a959c,_0x248aee,_0xa849af)[_0x2d6ee3(0x32b)];if(_0x1c4b5c>=_0x17a5be)throw new _0x555844[(_0x2d6ee3(0x422))]('limit\x20pivot');}if(!_0x3a8679||!_0x2dd7b1)return!0x1;const {collection:_0x55779b,updateDataFieldList:_0x2a9428}=_0xbcc19b[_0x2d6ee3(0x1be)](_0x19206c,_0x3a8679,_0x4c9b57,_0x2be389);_0xbcc19b[_0x2d6ee3(0x1f2)](_0x55779b,_0x2a9428,_0x4c9b57);const _0x50e7f3=new _0x3f54d9[(_0x2d6ee3(0x349))](_0x55779b,void 0x0,_0x19206c);_0x50e7f3[_0x2d6ee3(0x2fa)](_0x2dd7b1);const _0x495db3=JSON[_0x2d6ee3(0x465)](JSON['stringify'](_0x17195d));return _0xbcc19b[_0x2d6ee3(0x405)](_0x9d3c30,_0x352627,_0x19206c,_0x50e7f3,_0x495db3),_0xbcc19b['addDirtyPivotTable']({'unitId':_0x9d3c30,'subUnitId':_0x352627,'token':_0x19206c,'type':_0xc3c280[_0x2d6ee3(0x388)],'pivotConfig':_0x495db3}),!0x0;}},_0x364b92={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x490)],'id':_0x29437c(0x49e),'handler'(_0x13901c,_0x15128f){const _0x54b0b7=_0x29437c;if(!_0x15128f)return!0x1;if(!!_0x13901c[_0x54b0b7(0x21b)](_0x555844['IConfigService'])['getConfig'](_0x1437ff))return!0x0;const {pivotTableId:_0x5abad8,unitId:_0x46e5f5,subUnitId:_0xed3819}=_0x15128f,_0x386bb8=_0x13901c[_0x54b0b7(0x21b)](_0x24ce63[_0x54b0b7(0x369)]);return _0x386bb8['getPivotTableConfig'](_0x46e5f5,_0xed3819,_0x5abad8)?(_0x386bb8[_0x54b0b7(0x43f)]({'unitId':_0x46e5f5,'subUnitId':_0xed3819,'token':_0x5abad8,'type':_0xc3c280['Delete']}),_0x386bb8[_0x54b0b7(0x202)](_0x46e5f5,_0xed3819,_0x5abad8),!0x0):!0x1;}},_0x521e1b={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x490)],'id':_0x29437c(0x36a),'handler'(_0x422492,_0x432301){const _0x528f15=_0x29437c;if(!_0x432301)return!0x1;if(!!_0x422492[_0x528f15(0x21b)](_0x555844[_0x528f15(0x41e)])['getConfig'](_0x1437ff))return!0x0;const {pivotTableId:_0x21f6c1,targetCellPosition:_0x3f3c81,unitId:_0x20b47a,subUnitId:_0x26ed7f}=_0x432301,_0xaf2eb8=_0x422492[_0x528f15(0x21b)](_0x24ce63[_0x528f15(0x369)]);if(!_0xaf2eb8[_0x528f15(0x2ad)](_0x432301[_0x528f15(0x230)]))return!0x1;const _0x24ea41=_0xaf2eb8[_0x528f15(0x232)](_0x21f6c1);if(!_0x24ea41)return!0x1;const _0x3c7632=_0xaf2eb8[_0x528f15(0x40c)](_0x24ea41['unitId'],_0x432301[_0x528f15(0x230)]);if(!_0x3c7632)return!0x1;const _0x56b0ae=_0xaf2eb8[_0x528f15(0x2dc)](_0x24ea41[_0x528f15(0x3ce)],_0x24ea41['subUnitId'],_0x21f6c1);if(!_0x56b0ae)return!0x1;const _0x4aa152=_0x555844[_0x528f15(0x2d9)][_0x528f15(0x47b)](_0x56b0ae);_0x4aa152[_0x528f15(0x376)]={'unitId':_0x20b47a,'subUnitId':_0x26ed7f,'row':_0x3f3c81[_0x528f15(0x33d)],'col':_0x3f3c81[_0x528f15(0x205)]};const _0x2b52e=_0x3c7632[_0x528f15(0x212)]();if(_0x24ea41[_0x528f15(0x3f5)]===_0x26ed7f&&_0x24ea41['unitId']===_0x20b47a)_0xaf2eb8['setPivotTable'](_0x20b47a,_0x26ed7f,_0x21f6c1,_0x4aa152),_0xaf2eb8['addDirtyPivotTable']({'unitId':_0x20b47a,'subUnitId':_0x26ed7f,'token':_0x21f6c1,'type':_0xc3c280[_0x528f15(0x43a)]});else{_0xaf2eb8['addDirtyPivotTable']({'unitId':_0x24ea41[_0x528f15(0x3ce)],'subUnitId':_0x24ea41['subUnitId'],'token':_0x21f6c1,'type':_0xc3c280['Delete']}),_0xaf2eb8['removePivotTable'](_0x24ea41[_0x528f15(0x3ce)],_0x24ea41['subUnitId'],_0x21f6c1);const _0x593f23=_0xaf2eb8[_0x528f15(0x1be)](_0x21f6c1,_0x2b52e,_0x56b0ae[_0x528f15(0x4c3)],_0x4aa152[_0x528f15(0x376)]),_0x230d3d=new _0x3f54d9[(_0x528f15(0x349))](_0x593f23[_0x528f15(0x2f2)],void 0x0,_0x21f6c1);_0x230d3d[_0x528f15(0x2fa)](_0x4aa152[_0x528f15(0x449)]),_0xaf2eb8[_0x528f15(0x405)](_0x20b47a,_0x26ed7f,_0x21f6c1,_0x230d3d,_0x4aa152),_0xaf2eb8[_0x528f15(0x43f)]({'unitId':_0x20b47a,'subUnitId':_0x26ed7f,'token':_0x21f6c1,'type':_0xc3c280[_0x528f15(0x388)],'pivotConfig':_0x4aa152});}return!0x0;}},_0x296d79={'type':_0x555844[_0x29437c(0x332)]['MUTATION'],'id':_0x29437c(0x47f),'handler'(_0x434056,_0x2def12){const _0x18d31c=_0x29437c;if(!_0x2def12)return!0x1;if(!!_0x434056[_0x18d31c(0x21b)](_0x555844['IConfigService'])[_0x18d31c(0x394)](_0x1437ff))return!0x0;const _0x321372=_0x434056['get'](_0x24ce63[_0x18d31c(0x369)]),{pivotTableId:_0x3f6d52,deleteIds:_0x417e0a,collectionJSON:_0x53fd8a,dataRangeInfo:_0x5ad117,unitId:_0x475a0b,subUnitId:_0x284104}=_0x2def12,_0x2fa49f=_0x321372[_0x18d31c(0x2ad)](_0x3f6d52),_0x9a048c=_0x321372['getPivotTableConfig'](_0x475a0b,_0x284104,_0x3f6d52);if(!_0x2fa49f||!_0x9a048c)return!0x1;const {collection:_0x25fc34,updateDataFieldList:_0xf031e7}=_0x321372['addCollectionByJSON'](_0x3f6d52,_0x53fd8a,_0x5ad117,_0x9a048c['targetCellInfo']);_0x321372[_0x18d31c(0x1f2)](_0x25fc34,_0xf031e7,_0x5ad117),_0x2fa49f['updateDataFieldsCollection'](_0x25fc34);for(const _0x256b78 of _0x417e0a)_0x321372['removeDataField'](_0x5ad117[_0x18d31c(0x3ce)],_0x256b78);const _0x3bc0d2=_0x321372['getPivotTableConfig'](_0x475a0b,_0x284104,_0x3f6d52);return _0x3bc0d2[_0x18d31c(0x4c3)]=JSON[_0x18d31c(0x465)](JSON[_0x18d31c(0x32c)](_0x5ad117)),_0x321372[_0x18d31c(0x43f)]({'unitId':_0x475a0b,'subUnitId':_0x284104,'token':_0x3f6d52,'type':_0xc3c280[_0x18d31c(0x43a)]}),!0x0;}},_0x2c4e1b={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x490)],'id':_0x29437c(0x1bf),'handler'(){return!0x0;}};var _0x3b81ec=Object[_0x29437c(0x42e)],_0x5b52d2=(_0x5c9d91,_0x505441,_0x1ac8d9,_0x3a008e)=>{const _0xb63dfe=_0x29437c;for(var _0x5dfeda=_0x3a008e>0x1?void 0x0:_0x3a008e?_0x3b81ec(_0x505441,_0x1ac8d9):_0x505441,_0x3e5fc8=_0x5c9d91[_0xb63dfe(0x259)]-0x1,_0x13b5a7;_0x3e5fc8>=0x0;_0x3e5fc8--)(_0x13b5a7=_0x5c9d91[_0x3e5fc8])&&(_0x5dfeda=_0x13b5a7(_0x5dfeda)||_0x5dfeda);return _0x5dfeda;},_0x4c849d=(_0x5b87d1,_0x438502)=>(_0x4aeeba,_0x24d7a0)=>_0x438502(_0x4aeeba,_0x24d7a0,_0x5b87d1);_0x24ce63[_0x29437c(0x442)]=class extends _0x555844[_0x29437c(0x1ea)]{constructor(_0x1c2308){const _0x3c8bca=_0x29437c;super(),_0x528485(this,'_requestResolvers',new Map()),this[_0x3c8bca(0x337)]=_0x1c2308;}[_0x29437c(0x251)](_0x1c92e3){const _0x49dace=_0x29437c,{version:_0x215663}=_0x1c92e3,_0x586496=this[_0x49dace(0x2ef)][_0x49dace(0x21b)](_0x215663);_0x586496&&(_0x586496(_0x1c92e3),this[_0x49dace(0x2ef)][_0x49dace(0x370)](_0x215663));}[_0x29437c(0x25e)](_0x2f7fec){return new Promise((_0x8f76eb,_0x4ce5b2)=>{const _0x4667dd=_0x1756,_0xbc37b=this[_0x4667dd(0x221)]();this[_0x4667dd(0x2ef)][_0x4667dd(0x250)](_0xbc37b,_0x8f76eb),this[_0x4667dd(0x337)]['executeCommand'](_0x309158['id'],{'version':_0xbc37b,..._0x2f7fec},{'onlyLocal':!0x0});});}[_0x29437c(0x221)](){const _0x42e74b=_0x29437c;return Math['random']()[_0x42e74b(0x4a3)](0x24)['substring'](0x2,0x10);}},_0x24ce63[_0x29437c(0x442)]=_0x5b52d2([_0x4c849d(0x0,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x386)]))],_0x24ce63[_0x29437c(0x442)]);const _0xff388d={'id':'sheet.mutation.add-group-collection','type':_0x555844['CommandType'][_0x29437c(0x490)],'handler':(_0x21f1fb,_0x35d5a0)=>{const _0x7f742d=_0x29437c;if(!_0x35d5a0)return!0x1;if(!!_0x21f1fb[_0x7f742d(0x21b)](_0x555844[_0x7f742d(0x41e)])[_0x7f742d(0x394)](_0x1437ff))return!0x0;const {pivotTableId:_0x612d94,fieldJSON:_0x28fa9e,unitId:_0x35eb8e,subUnitId:_0x1c2ef6}=_0x35d5a0,_0x50511b=_0x3f54d9['BaseGroupField']['fromJSON'](_0x28fa9e);if(!_0x50511b)return!0x1;const _0x43c4bc=_0x21f1fb[_0x7f742d(0x21b)](_0x24ce63[_0x7f742d(0x369)]),_0x43cd4c=_0x43c4bc[_0x7f742d(0x3ef)](_0x35eb8e),_0x4a8ca2=_0x43cd4c['getCollection'](_0x612d94);_0x43cd4c['addDataFieldWithoutUnitInfo'](_0x50511b),_0x4a8ca2[_0x7f742d(0x325)](_0x50511b['getId'](),_0x50511b[_0x7f742d(0x482)]());const _0x491926=_0x4a8ca2[_0x7f742d(0x45e)](_0x50511b[_0x7f742d(0x459)]());_0x491926&&_0x50511b[_0x7f742d(0x1fd)](_0x491926);const _0x116645=_0x43c4bc['getPivotTableConfig'](_0x35eb8e,_0x1c2ef6,_0x612d94);return _0x43c4bc[_0x7f742d(0x43f)]({'unitId':_0x35eb8e,'subUnitId':_0x1c2ef6,'token':_0x612d94,'type':_0xc3c280[_0x7f742d(0x43a)],'pivotConfig':_0x116645}),!0x0;}},_0x568c39={'id':_0x29437c(0x46c),'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x490)],'handler':(_0x8f658a,_0x20ad6f)=>{const _0x5d0595=_0x29437c;if(!_0x20ad6f)return!0x1;if(!!_0x8f658a[_0x5d0595(0x21b)](_0x555844[_0x5d0595(0x41e)])['getConfig'](_0x1437ff))return!0x0;const {pivotTableId:_0x3a0478,dataFieldId:_0x463ba0,unitId:_0x2043b7,subUnitId:_0x1f5d3c}=_0x20ad6f,_0x32a18f=_0x8f658a['get'](_0x24ce63[_0x5d0595(0x369)]),_0x283132=_0x32a18f[_0x5d0595(0x3ef)](_0x2043b7);_0x283132[_0x5d0595(0x40c)](_0x3a0478)[_0x5d0595(0x297)](_0x463ba0);let _0x104363=!0x0;for(const _0x35aa61 in _0x283132[_0x5d0595(0x32f)])if(_0x283132['collections'][_0x35aa61]['getFieldIds']()[_0x5d0595(0x2b3)](_0x463ba0)){_0x104363=!0x1;break;}_0x104363&&_0x283132[_0x5d0595(0x1f9)](_0x463ba0);const _0x46ec65=_0x32a18f['getPivotTableConfig'](_0x2043b7,_0x1f5d3c,_0x3a0478);return _0x32a18f['addDirtyPivotTable']({'unitId':_0x2043b7,'subUnitId':_0x1f5d3c,'token':_0x3a0478,'type':_0xc3c280['Set'],'pivotConfig':_0x46ec65}),!0x0;}},_0x12e316={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x362)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x90552a,_0x30e9dc){const _0x18b63c=_0x29437c;if(!_0x30e9dc)return!0x1;const _0x3e5629=_0x90552a[_0x18b63c(0x21b)](_0x555844[_0x18b63c(0x386)]),_0x1006f7=_0x90552a[_0x18b63c(0x21b)](_0x24ce63[_0x18b63c(0x442)]),_0x551ca5=_0x90552a[_0x18b63c(0x21b)](_0x555844['IUndoRedoService']),{pivotTableId:_0xcaf2d0,dataFieldId:_0x281245,fieldArea:_0x3a8a29,index:_0x556404,unitId:_0x48ee16,subUnitId:_0x51bfac}=_0x30e9dc,_0x441398=(await _0x1006f7[_0x18b63c(0x25e)]({'unitId':_0x48ee16,'subUnitId':_0x51bfac,'pivotTableId':_0xcaf2d0,'params':{'type':_0x125767['AddPivotField'],'addPivotField':{'dataFieldId':_0x281245,'fieldArea':_0x3a8a29,'index':_0x556404}}}))['result'][_0x18b63c(0x38c)];if(!_0x441398)return!0x1;const {view:_0x565843,changesets:_0x8eb900,isEmpty:_0x151ff9,pivotTableConfig:_0x5ba33b,shouldBeAddedGroupJSON:_0x33a0eb}=_0x441398,_0x106d9f=_0x5ba33b[_0x18b63c(0x376)],_0x81be2d=new _0x3f54d9[(_0x18b63c(0x313))]();_0x81be2d['formJSON'](_0x565843);const _0x39cafe={'cellInfo':_0x106d9f,'view':_0x81be2d,'isEmpty':_0x151ff9};if(!await _0x90552a[_0x18b63c(0x21b)](_0x24ce63[_0x18b63c(0x3a3)])[_0x18b63c(0x1f7)][_0x18b63c(0x2af)](_0x2c9371)(!0x0,_0x39cafe))return!0x1;const _0x3c7deb=_0x45c089(_0x90552a,_0x81be2d,_0x106d9f,_0x151ff9),_0x5bf119=_0x5c01c6(_0x90552a,_0x39cafe),{undos:_0x184fff,redos:_0x490ac1}=_0x42105c(_0x3e5629,{'pivotTableId':_0xcaf2d0,'unitId':_0x48ee16,'subUnitId':_0x51bfac},_0x8eb900);return _0x33a0eb&&(_0x490ac1[_0x18b63c(0x361)]({'id':_0xff388d['id'],'params':{'pivotTableId':_0xcaf2d0,'fieldJSON':_0x33a0eb,'unitId':_0x48ee16,'subUnitId':_0x51bfac}}),_0x184fff[_0x18b63c(0x436)]({'id':_0x568c39['id'],'params':{'pivotTableId':_0xcaf2d0,'dataFieldId':_0x33a0eb['id'],'unitId':_0x48ee16,'subUnitId':_0x51bfac}})),_0x555844[_0x18b63c(0x25d)]([..._0x3c7deb[_0x18b63c(0x4c2)],..._0x5bf119[_0x18b63c(0x4c2)],..._0x490ac1],_0x3e5629),_0x551ca5[_0x18b63c(0x450)]({'unitID':_0x48ee16,'redoMutations':[..._0x3c7deb['redos'],..._0x5bf119[_0x18b63c(0x4c2)],..._0x490ac1],'undoMutations':[..._0x3c7deb[_0x18b63c(0x1cb)],..._0x5bf119[_0x18b63c(0x1cb)],..._0x184fff]}),!0x0;}},_0x28f31c={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x362)],'id':_0x29437c(0x2f3),async 'handler'(_0x24eafb,_0xcb6fab){const _0x2852f4=_0x29437c;if(!_0xcb6fab)return!0x1;const {sourceDataInfo:_0xa3f28e,pivotTableConfig:_0xc8e08c}=_0xcb6fab;if(!_0xa3f28e||!_0xc8e08c)return!0x1;const {unitId:_0x5ed03a,subUnitId:_0x235762,range:_0x168b77}=_0xa3f28e,_0x37504b=_0x24eafb['get'](_0x555844['IUniverInstanceService']),_0x4a0123=_0x24eafb[_0x2852f4(0x21b)](_0x24ce63['SheetsPivotRPCService']),_0x4d5608=_0x24eafb[_0x2852f4(0x21b)](_0x555844[_0x2852f4(0x329)]),_0x32ef71=_0x24eafb['get'](_0x555844[_0x2852f4(0x386)]),_0x30c928=_0x37504b[_0x2852f4(0x2aa)](_0x5ed03a);if(!_0x30c928)return!0x1;const _0x426ba1=_0x30c928['getSheetBySheetId'](_0x235762);if(!_0x426ba1)return!0x1;const _0xc6efb2=_0x3f54d9[_0x2852f4(0x441)](0x8),_0x225075=_0x168b77||{'startRow':0x0,'startColumn':0x0,'endRow':_0x426ba1[_0x2852f4(0x3cb)]()-0x1,'endColumn':_0x426ba1['getColumnCount']()-0x1};_0x225075[_0x2852f4(0x327)]=_0x555844[_0x2852f4(0x39b)]['NORMAL'];const _0x4041fd=(await _0x4a0123[_0x2852f4(0x25e)]({'unitId':_0x5ed03a,'subUnitId':_0x235762,'pivotTableId':_0xc6efb2,'params':{'type':_0x125767[_0x2852f4(0x484)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x5ed03a,'sheetName':_0x426ba1[_0x2852f4(0x482)](),'subUnitId':_0x235762,'range':_0x225075},'pivotTableId':_0xc6efb2,'pivotTableIndexConfig':_0xc8e08c}}}))[_0x2852f4(0x27d)][_0x2852f4(0x1ec)];if(!_0x4041fd)return!0x1;const {isEmpty:_0x22b19a,fieldsConfig:_0x17a174,collectionConfig:_0x4ad6d3,changesets:_0x4babf1}=_0x4041fd,_0x23f7f3=_0x30c928[_0x2852f4(0x4a2)]()['length'],_0x5b10b1=_0x555844['mergeWorksheetSnapshotWithDefault']({'rowCount':_0x426ba1[_0x2852f4(0x3cb)]()-0x1,'columnCount':_0x426ba1[_0x2852f4(0x1ba)]()-0x1});_0x5b10b1['id']=_0x555844[_0x2852f4(0x2d2)](),_0x5b10b1[_0x2852f4(0x432)]=_0x30c928[_0x2852f4(0x4c8)](''+_0x4d5608['t']('sheets.tabs.sheet'));const _0x146cba={'index':_0x23f7f3,'sheet':_0x5b10b1,'unitId':_0x5ed03a},{redos:_0x38c263}=_0x42105c(_0x32ef71,{'pivotTableId':_0xc6efb2,'unitId':_0x5ed03a,'subUnitId':_0x5b10b1['id']},_0x4babf1),_0x59b1ef=[{'id':_0x402aa8[_0x2852f4(0x438)]['id'],'params':_0x146cba},{'id':_0x265e5a['id'],'params':{'unitId':_0x5ed03a,'subUnitId':_0x5b10b1['id'],'pivotTableId':_0xc6efb2,'pivotTableConfig':{'isEmpty':_0x22b19a,'fieldsConfig':_0x17a174,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x5ed03a,'subUnitId':_0x5b10b1['id']},'sourceRangeInfo':{'subUnitId':_0x235762,'unitId':_0x5ed03a,'range':_0x225075,'sheetName':_0x426ba1[_0x2852f4(0x482)]()}},'collectionConfig':_0x4ad6d3}},..._0x38c263];return _0x555844[_0x2852f4(0x25d)](_0x59b1ef,_0x32ef71),!0x0;}},_0x2d65ef={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x362)],'id':'sheet.command.add-pivot-table',async 'handler'(_0xaeb927,_0x55ec12){const _0x33b978=_0x29437c;var _0x1e3d8d,_0x5beef4;const _0x45ecb3=_0xaeb927['get'](_0x555844[_0x33b978(0x386)]),_0xdfead7=_0xaeb927[_0x33b978(0x21b)](_0x555844['IUniverInstanceService']),_0x2acedf=_0xaeb927[_0x33b978(0x21b)](_0x555844[_0x33b978(0x329)]),_0x45c3e2=_0xaeb927[_0x33b978(0x21b)](_0x24ce63[_0x33b978(0x442)]),_0x1a843e=_0xaeb927[_0x33b978(0x21b)](_0x555844[_0x33b978(0x21c)]),_0x38abec=_0xaeb927['get'](_0x24ce63['SheetsPivotTableConfigModel']),_0x2a4be1=_0xaeb927['get'](_0x555844['IConfigService']);if(!_0x55ec12)return!0x1;const {pivotTableConfig:_0x5c2f71,positionType:_0x1c06da}=_0x55ec12,{targetCellInfo:_0x240f96,sourceRangeInfo:_0x3af82a}=_0x5c2f71,{unitId:_0x114f53,subUnitId:_0xef8de1}=_0x240f96,_0x1013e4=_0xdfead7[_0x33b978(0x2aa)](_0x114f53);if(!_0x1013e4)return!0x1;let _0x628967=0x0;_0x1013e4['getSheets']()[_0x33b978(0x300)](_0x58d4f1=>{const _0x7d154f=_0x33b978;var _0x3888ef,_0x3737f7;_0x628967+=(_0x3737f7=(_0x3888ef=_0x38abec['getSubUnitPivotConfigs'](_0x114f53,_0x58d4f1['getSheetId']()))==null?void 0x0:_0x3888ef[_0x7d154f(0x3e9)])!=null?_0x3737f7:0x0;});const _0x8677b=(_0x1e3d8d=_0x2a4be1['getConfig'](_0x440f6c[_0x33b978(0x266)]))!=null?_0x1e3d8d:{},{ls:_0x4a8337,pbk:_0x4356f5}=_0x8677b;if(!_0x503abc(_0x4a8337,_0x4356f5))return!0x1;const _0x352f20=_0x992aa1(_0x5a959c,_0x4a8337,_0x4356f5)['count'];if(_0x628967>=_0x352f20)return!0x1;const _0x13d501=_0x55ec12[_0x33b978(0x230)]||_0x3f54d9[_0x33b978(0x441)](0x8),_0x358611=(await _0x45c3e2[_0x33b978(0x25e)]({'unitId':_0x114f53,'subUnitId':_0xef8de1,'pivotTableId':_0x13d501,'params':{'type':_0x125767[_0x33b978(0x2cb)],'addPivotTable':{'sourceRangeInfo':_0x3af82a,'pivotTableId':_0x13d501}}}))[_0x33b978(0x27d)][_0x33b978(0x405)];if(!_0x358611)return!0x1;const {view:_0x48ac1f,isEmpty:_0x37a8f0,fieldsConfig:_0x496895,collectionConfig:_0x18ccdc}=_0x358611,_0x1c92cb=[],_0x1f6991=[];if(_0x1c06da===_0x2a49a5['New']){const _0xd2a21d=_0x1013e4[_0x33b978(0x4a2)]()['length'],_0x194cd6=_0x555844[_0x33b978(0x2c2)]({});_0x194cd6['id']=_0x5c2f71['targetCellInfo'][_0x33b978(0x3f5)],_0x194cd6[_0x33b978(0x432)]=(_0x5beef4=_0x5c2f71[_0x33b978(0x376)][_0x33b978(0x3ff)])!=null?_0x5beef4:_0x1013e4[_0x33b978(0x4c8)](''+_0x2acedf['t'](_0x33b978(0x3e8)));const _0x1cbcf2={'index':_0xd2a21d,'sheet':_0x194cd6,'unitId':_0x114f53},_0x56129c=_0x402aa8[_0x33b978(0x43e)](_0xaeb927,_0x1cbcf2);_0x1c92cb[_0x33b978(0x436)]({'id':_0x402aa8['RemoveSheetMutation']['id'],'params':_0x56129c}),_0x1f6991[_0x33b978(0x436)]({'id':_0x402aa8['InsertSheetMutation']['id'],'params':_0x1cbcf2});}else{if(!_0x1013e4['getSheetBySheetId'](_0xef8de1))return!0x1;const _0xd86000=_0x45c089(_0xaeb927,new _0x3f54d9[(_0x33b978(0x313))](),_0x240f96,!0x0);_0x1f6991[_0x33b978(0x436)](..._0xd86000[_0x33b978(0x4c2)]),_0x1c92cb[_0x33b978(0x436)](..._0xd86000[_0x33b978(0x1cb)]);const _0xf6e886={'cellInfo':_0x240f96,'view':_0x48ac1f,'isEmpty':_0x37a8f0};if(!await _0xaeb927[_0x33b978(0x21b)](_0x24ce63[_0x33b978(0x3a3)])[_0x33b978(0x1f7)][_0x33b978(0x2af)](_0x2c9371)(!0x0,_0xf6e886))return!0x1;const _0x487d8f=_0x5c01c6(_0xaeb927,_0xf6e886);_0x1f6991[_0x33b978(0x436)](..._0x487d8f[_0x33b978(0x4c2)]),_0x1c92cb[_0x33b978(0x436)](..._0x487d8f['undos']);}return _0x1f6991['push']({'id':_0x265e5a['id'],'params':{'unitId':_0x240f96[_0x33b978(0x3ce)],'subUnitId':_0x240f96[_0x33b978(0x3f5)],'pivotTableId':_0x13d501,'pivotTableConfig':{'targetCellInfo':_0x240f96,'sourceRangeInfo':_0x3af82a,'fieldsConfig':_0x496895},'collectionConfig':_0x18ccdc}}),_0x1c92cb[_0x33b978(0x361)]({'id':_0x364b92['id'],'params':{'unitId':_0x114f53,'subUnitId':_0xef8de1,'pivotTableId':_0x13d501}}),_0x555844['sequenceExecute'](_0x1f6991,_0x45ecb3)&&_0x1a843e['pushUndoRedo']({'unitID':_0x114f53,'undoMutations':_0x1c92cb,'redoMutations':_0x1f6991}),!0x0;}},_0x550f6f={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x362)],'id':_0x29437c(0x350),async 'handler'(_0x421806,_0x28411c){const _0x1ff117=_0x29437c;if(!_0x28411c)return!0x1;const _0x8d3a0=_0x421806[_0x1ff117(0x21b)](_0x555844[_0x1ff117(0x386)]),_0x3543d8=_0x421806[_0x1ff117(0x21b)](_0x24ce63[_0x1ff117(0x442)]),_0x5bab93=_0x421806[_0x1ff117(0x21b)](_0x555844[_0x1ff117(0x21c)]),{pivotTableId:_0x5edd62,fieldId:_0x5366c7,area:_0x599241,index:_0x15fc9b,unitId:_0x4fce1b,subUnitId:_0x3a4aa5}=_0x28411c,_0xdc7f59=(await _0x3543d8[_0x1ff117(0x25e)]({'unitId':_0x4fce1b,'subUnitId':_0x3a4aa5,'pivotTableId':_0x5edd62,'params':{'type':_0x125767['MovePivotField'],'movePivotField':{'fieldId':_0x5366c7,'area':_0x599241,'index':_0x15fc9b}}}))['result'][_0x1ff117(0x2a3)];if(!_0xdc7f59)return!0x1;const {changesets:_0x58199d,view:_0x576eef,isEmpty:_0x284447,pivotTableConfig:_0x465926}=_0xdc7f59,_0x47c5f0=_0x465926['targetCellInfo'],_0x28a5f5=new _0x3f54d9['PivotView']();_0x28a5f5[_0x1ff117(0x1db)](_0x576eef);const _0x2ee17d={'cellInfo':_0x47c5f0,'view':_0x28a5f5,'isEmpty':_0x284447};if(!await _0x421806[_0x1ff117(0x21b)](_0x24ce63[_0x1ff117(0x3a3)])[_0x1ff117(0x1f7)][_0x1ff117(0x2af)](_0x2c9371)(!0x0,_0x2ee17d))return!0x1;const _0x3a3d39=_0x45c089(_0x421806,_0x28a5f5,_0x47c5f0,_0x284447),_0x43cf34=_0x5c01c6(_0x421806,_0x2ee17d),{redos:_0x56c90d,undos:_0x4b2d82}=_0x42105c(_0x8d3a0,{'pivotTableId':_0x5edd62,'unitId':_0x4fce1b,'subUnitId':_0x3a4aa5},_0x58199d);return _0x555844[_0x1ff117(0x25d)]([..._0x3a3d39[_0x1ff117(0x4c2)],..._0x43cf34[_0x1ff117(0x4c2)],..._0x56c90d],_0x8d3a0),_0x5bab93[_0x1ff117(0x450)]({'unitID':_0x4fce1b,'redoMutations':[..._0x3a3d39[_0x1ff117(0x4c2)],..._0x43cf34[_0x1ff117(0x4c2)],..._0x56c90d],'undoMutations':[..._0x3a3d39['undos'],..._0x43cf34[_0x1ff117(0x1cb)],..._0x4b2d82]}),!0x0;}},_0x1b16c8={'type':_0x555844['CommandType'][_0x29437c(0x362)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x523669,_0x249ab4){const _0x766a36=_0x29437c;var _0x5d33bd;if(!_0x249ab4)return!0x1;const _0x4b26d5=_0x523669[_0x766a36(0x21b)](_0x555844['IUniverInstanceService']),_0x107a3e=_0x402aa8['getSheetCommandTarget'](_0x4b26d5);if(!_0x107a3e)return!0x1;const {unitId:_0x101d60,subUnitId:_0x448f4a,workbook:_0x36cb55}=_0x107a3e,{row:_0xbd89f5,col:_0x29ad53}=_0x249ab4,_0x4d89ae=_0x523669[_0x766a36(0x21b)](_0x24ce63[_0x766a36(0x2c8)]),_0x4e325e=_0x4d89ae[_0x766a36(0x3c0)](_0x101d60,_0x448f4a,_0xbd89f5,_0x29ad53);if(!_0x4e325e)return!0x1;const _0x59e8f1=(_0x5d33bd=_0x4d89ae[_0x766a36(0x214)](_0x101d60,_0x448f4a,_0x4e325e))==null?void 0x0:_0x5d33bd[_0x766a36(0x378)];if(!_0x59e8f1)return!0x1;const _0x3c0a6d=_0x523669[_0x766a36(0x21b)](_0x24ce63[_0x766a36(0x206)])[_0x766a36(0x2dc)](_0x101d60,_0x448f4a,_0x4e325e);if(!_0x3c0a6d)return!0x1;const {rowInfo:_0x511058,colInfo:_0xbc7da}=_0x59e8f1,_0x2c1695=_0x511058[_0xbd89f5]['paths'],_0x357955=_0xbc7da[_0x29ad53][_0x766a36(0x469)],_0x3666d2=_0x511058[_0xbd89f5][_0x766a36(0x268)],_0x147c34=_0xbc7da[_0x29ad53][_0x766a36(0x268)],_0x599b81=_0x2c1695[_0x766a36(0x2d1)](_0x357955),_0x202762=_0x3c0a6d['fieldsConfig'][_0x766a36(0x3b2)][_0x766a36(0x234)](0x0,_0x3666d2),_0x4b6e8a=_0x3c0a6d['fieldsConfig']['columnFields'][_0x766a36(0x234)](0x0,_0x147c34),_0x5e767f=_0x202762[_0x766a36(0x2d1)](_0x4b6e8a),_0x1d860a=_0x599b81[_0x766a36(0x1c6)]((_0x3e37a4,_0x3d3ea3)=>[_0x3e37a4,_0x5e767f[_0x3d3ea3]]),_0x5cf7c9=(await _0x523669[_0x766a36(0x21b)](_0x24ce63[_0x766a36(0x442)])[_0x766a36(0x25e)]({'unitId':_0x101d60,'subUnitId':_0x448f4a,'pivotTableId':_0x4e325e,'params':{'type':_0x125767[_0x766a36(0x2a2)],'drillDown':{'tuple':_0x1d860a}}}))[_0x766a36(0x27d)][_0x766a36(0x252)];if(!_0x5cf7c9)return!0x1;const {indexes:_0x1239be,range:_0x173f3c,sourceUnitId:_0x559f36,sourceSubUnitId:_0x3e2b95,formatMap:_0x3836bd}=_0x5cf7c9,{startRow:_0x2fb0da,endRow:_0x2a7369,startColumn:_0x7c21b5,endColumn:_0x45b370}=_0x173f3c,_0x32f834=new _0x555844['ObjectMatrix'](),_0x4422a5=_0x2a7369-_0x2fb0da,_0x5be564=_0x45b370-_0x7c21b5,_0x4a43b7={},_0x5051e0=_0x402aa8[_0x766a36(0x21f)](_0x4b26d5,{'unitId':_0x559f36,'subUnitId':_0x3e2b95});if(!_0x5051e0)return!0x1;const _0x5345f5=_0x368c25['colStyle'],_0x7c3627=_0x368c25[_0x766a36(0x451)],_0x56be13=_0x368c25['subTotalStyle'],_0x26a224=_0x36cb55[_0x766a36(0x462)]()[_0x766a36(0x1d9)](_0x5345f5),_0x579b89=_0x36cb55[_0x766a36(0x462)]()['setValue'](_0x7c3627),_0x260773=_0x36cb55[_0x766a36(0x462)]()[_0x766a36(0x1d9)](_0x56be13),{worksheet:_0x4ce252}=_0x5051e0;let _0x4dd85e=0x0;const _0x2d5fc7=0x1;_0x1239be[_0x766a36(0x300)](_0x15ac94=>{const _0x537eb7=_0x766a36;for(let _0x517811=0x0;_0x517811<=_0x45b370-_0x7c21b5;_0x517811++)_0x32f834[_0x537eb7(0x1d9)](_0x4dd85e,_0x517811,_0x4ce252[_0x537eb7(0x288)](_0x15ac94+_0x173f3c[_0x537eb7(0x1d2)]+_0x2d5fc7,_0x517811));_0x4dd85e++;});for(let _0x52772d=_0x7c21b5;_0x52772d<=_0x45b370;_0x52772d++){const _0x347353=_0x4ce252[_0x766a36(0x288)](_0x2fb0da,_0x52772d);_0x4a43b7[_0x2fb0da]||(_0x4a43b7[_0x2fb0da]={}),_0x4a43b7[_0x2fb0da][_0x52772d]={..._0x347353,'s':_0x26a224};}let _0x585cbf=0x1;const _0x87c6e3={},_0x3ff84a={};_0x32f834[_0x766a36(0x4b7)]((_0x45fbdd,_0x116a68)=>{const _0x116a88=_0x766a36;_0x116a68[_0x116a88(0x300)](_0x49318e=>{const _0x1b96ef=_0x116a88,_0x26ac6d=_0x32f834[_0x1b96ef(0x2b5)](_0x45fbdd,_0x49318e);if(_0x4a43b7[_0x585cbf]||(_0x4a43b7[_0x585cbf]={}),_0x4a43b7[_0x585cbf][_0x49318e]={..._0x26ac6d,'s':_0x585cbf%0x2===0x0?_0x260773:_0x579b89},_0x3836bd[_0x49318e]&&_0x45fbdd>=0x0){const _0x35a928=_0x585cbf%0x2===0x0;let _0x32917a=_0x35a928?_0x3ff84a[_0x49318e]:_0x87c6e3[_0x49318e];_0x32917a||(_0x32917a=_0x36cb55[_0x1b96ef(0x462)]()[_0x1b96ef(0x1d9)]({..._0x35a928?_0x56be13:_0x7c3627,'n':{'pattern':_0x3836bd[_0x49318e]}}),_0x35a928?_0x3ff84a[_0x49318e]=_0x32917a:_0x87c6e3[_0x49318e]=_0x32917a),_0x4a43b7[_0x585cbf][_0x49318e]['s']=_0x32917a;}}),_0x585cbf++;});const _0x322a33=new _0x555844[(_0x766a36(0x48a))](_0x4a43b7),_0x337270={};_0x322a33[_0x766a36(0x3c6)]((_0x4a9320,_0x47e799,_0x25db4f)=>{_0x337270[_0x4a9320]||(_0x337270[_0x4a9320]={}),_0x337270[_0x4a9320][_0x47e799]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0xd1805b=[],_0x246c06=[],_0x3ec699=_0x36cb55[_0x766a36(0x4a2)]()[_0x766a36(0x259)],_0x1ac97f=_0x555844[_0x766a36(0x2c2)]({'rowCount':Math[_0x766a36(0x262)](_0x555844[_0x766a36(0x40b)],_0x4422a5+0xa),'columnCount':Math[_0x766a36(0x262)](_0x555844[_0x766a36(0x236)],_0x5be564+0x5)}),_0x4ce688=_0x523669[_0x766a36(0x21b)](_0x555844[_0x766a36(0x329)]);_0x1ac97f['id']=_0x555844[_0x766a36(0x2d2)](),_0x1ac97f[_0x766a36(0x432)]=_0x36cb55[_0x766a36(0x4c8)](''+_0x4ce688['t']('sheets.tabs.sheet'));const _0x12583b={'index':_0x3ec699,'sheet':_0x1ac97f,'unitId':_0x101d60},_0x429cbe=_0x402aa8[_0x766a36(0x43e)](_0x523669,_0x12583b);_0x246c06['push']({'id':_0x402aa8[_0x766a36(0x411)]['id'],'params':_0x12583b}),_0xd1805b['push']({'id':_0x402aa8[_0x766a36(0x216)]['id'],'params':_0x429cbe}),_0x246c06[_0x766a36(0x436)]({'id':_0x402aa8[_0x766a36(0x2e4)]['id'],'params':{'unitId':_0x101d60,'subUnitId':_0x1ac97f['id'],'cellValue':_0x4a43b7}}),_0xd1805b[_0x766a36(0x361)]({'id':_0x402aa8[_0x766a36(0x2e4)]['id'],'params':{'unitId':_0x101d60,'subUnitId':_0x1ac97f['id'],'cellValue':_0x337270}});const _0x1285bf={'startRow':0x0,'startColumn':0x0,'endRow':_0x585cbf-0x1,'endColumn':_0x45b370};_0x246c06[_0x766a36(0x436)]({'id':_0x34a1a8[_0x766a36(0x3fb)]['id'],'params':{'unitId':_0x101d60,'subUnitId':_0x1ac97f['id'],'range':_0x1285bf}}),_0xd1805b[_0x766a36(0x361)]({'id':_0x34a1a8[_0x766a36(0x3ae)]['id'],'params':{'unitId':_0x101d60,'subUnitId':_0x1ac97f['id']}});const _0x290f4c=_0x523669['get'](_0x555844[_0x766a36(0x386)]);return _0x555844[_0x766a36(0x25d)](_0x246c06,_0x290f4c)&&_0x523669['get'](_0x555844[_0x766a36(0x21c)])[_0x766a36(0x450)]({'unitID':_0x101d60,'undoMutations':_0xd1805b,'redoMutations':_0x246c06}),!0x0;}},_0x3b7b61={'type':_0x555844['CommandType'][_0x29437c(0x362)],'id':_0x29437c(0x3eb),async 'handler'(_0x5462c8,_0x5be929){const _0x3a51eb=_0x29437c;if(!_0x5be929)return!0x1;const _0x9ede4e=_0x5462c8[_0x3a51eb(0x21b)](_0x555844['ICommandService']),_0x550839=_0x5462c8[_0x3a51eb(0x21b)](_0x24ce63[_0x3a51eb(0x442)]),_0x42a133=_0x5462c8['get'](_0x555844['IUndoRedoService']),{pivotTableId:_0x419420,fieldIds:_0x9b7e46,unitId:_0x15fdb8,subUnitId:_0x4d2848}=_0x5be929,_0x552a4e=(await _0x550839[_0x3a51eb(0x25e)]({'unitId':_0x15fdb8,'subUnitId':_0x4d2848,'pivotTableId':_0x419420,'params':{'type':_0x125767['RemovePivotField'],'removePivotField':{'fieldIds':_0x9b7e46}}}))[_0x3a51eb(0x27d)][_0x3a51eb(0x4ba)];if(!_0x552a4e)return!0x1;const {view:_0x1430e5,changesets:_0x222dc9,isEmpty:_0x2ab1f9,pivotTableConfig:_0x3b6b01}=_0x552a4e,_0x409f0b=_0x3b6b01['targetCellInfo'],_0xffb925=new _0x3f54d9[(_0x3a51eb(0x313))]();_0xffb925[_0x3a51eb(0x1db)](_0x1430e5);const _0x1d7135={'cellInfo':_0x409f0b,'view':_0xffb925,'isEmpty':_0x2ab1f9};if(!await _0x5462c8[_0x3a51eb(0x21b)](_0x24ce63['SheetsPivotTableService'])[_0x3a51eb(0x1f7)][_0x3a51eb(0x2af)](_0x2c9371)(!0x0,_0x1d7135))return!0x1;const _0x3168f5=_0x45c089(_0x5462c8,_0xffb925,_0x409f0b,_0x2ab1f9),_0x5b09e=_0x5c01c6(_0x5462c8,_0x1d7135),{redos:_0x2cfff5,undos:_0x56778b}=_0x42105c(_0x9ede4e,{'pivotTableId':_0x419420,'unitId':_0x15fdb8,'subUnitId':_0x4d2848},_0x222dc9);return _0x555844[_0x3a51eb(0x25d)]([..._0x3168f5[_0x3a51eb(0x4c2)],..._0x5b09e[_0x3a51eb(0x4c2)],..._0x2cfff5],_0x9ede4e),_0x42a133[_0x3a51eb(0x450)]({'unitID':_0x15fdb8,'redoMutations':[..._0x3168f5[_0x3a51eb(0x4c2)],..._0x5b09e[_0x3a51eb(0x4c2)],..._0x2cfff5],'undoMutations':[..._0x3168f5[_0x3a51eb(0x1cb)],..._0x5b09e['undos'],..._0x56778b]}),!0x0;}},_0x4db8df={'type':_0x555844['CommandType'][_0x29437c(0x362)],'id':_0x29437c(0x36b),async 'handler'(_0x5db619,_0x49e681){const _0x9609b=_0x29437c;var _0x3898a8;const _0x9cd174=_0x5db619[_0x9609b(0x21b)](_0x555844[_0x9609b(0x386)]),_0x2499c7=_0x5db619['get'](_0x24ce63[_0x9609b(0x442)]),_0x278ab3=_0x5db619[_0x9609b(0x21b)](_0x24ce63[_0x9609b(0x2c8)]),_0x4e524b=_0x5db619[_0x9609b(0x21b)](_0x555844[_0x9609b(0x273)]),_0x58fd5e=_0x5db619[_0x9609b(0x21b)](_0x555844[_0x9609b(0x21c)]);if(!_0x49e681)return!0x1;const {unitId:_0x42a1f0,subUnitId:_0x35330d,row:_0x3e3907,col:_0x109bfb,collapse:_0x2149be}=_0x49e681,_0x5e270c=_0x4e524b[_0x9609b(0x2aa)](_0x42a1f0);if(!_0x5e270c||!_0x5e270c[_0x9609b(0x3b5)](_0x35330d))return!0x1;const _0x136bfa=_0x278ab3['getPivotTableIdByCell'](_0x42a1f0,_0x35330d,_0x3e3907,_0x109bfb);if(!_0x136bfa)return!0x1;const _0x5628b9=_0x278ab3[_0x9609b(0x214)](_0x42a1f0,_0x35330d,_0x136bfa);if(!_0x5628b9)return!0x1;const _0x221aa4=_0x555844[_0x9609b(0x3e4)](_0x3e3907,_0x109bfb),{rangesInfo:_0x203feb,areaInfo:_0x47f025,headerMap:_0x4ded3d}=_0x5628b9;if(!_0x203feb||!_0x47f025||!_0x4ded3d)return!0x1;const _0x4dcefa=Object['keys'](_0x203feb)[_0x9609b(0x429)](_0x2210d7=>_0x203feb[_0x2210d7][_0x9609b(0x435)](_0x175cdd=>_0x555844['Rectangle']['contains'](_0x175cdd,_0x221aa4)));let _0x213110;_0x4dcefa===_0x9609b(0x219)?_0x213110=_0x4ded3d[_0x9609b(0x2cc)][_0x109bfb]:_0x4dcefa===_0x9609b(0x4a9)&&(_0x213110=_0x4ded3d[_0x9609b(0x384)][_0x3e3907]);const _0x152898=_0x213110==null?void 0x0:_0x213110[_0x9609b(0x406)],_0x2b9727=(_0x3898a8=_0x278ab3[_0x9609b(0x4ad)](_0x42a1f0,_0x35330d,_0x3e3907,_0x109bfb))==null?void 0x0:_0x3898a8['v'];if(_0x2b9727==null||!_0x136bfa||!_0x152898)return!0x1;const _0x4cd7e2=await _0x2499c7[_0x9609b(0x25e)]({'unitId':_0x42a1f0,'subUnitId':_0x35330d,'pivotTableId':_0x136bfa,'params':{'type':_0x125767[_0x9609b(0x210)],'setPivotCollapse':{'tableFieldId':_0x152898,'collapse':_0x2149be,'item':_0x2b9727}}}),_0x1e1dd4=_0x4cd7e2==null?void 0x0:_0x4cd7e2['result'][_0x9609b(0x395)];if(!_0x1e1dd4)return!0x1;const {view:_0x411de5,pivotTableConfig:_0x284ce4,isEmpty:_0x57ce40,changesets:_0x103610}=_0x1e1dd4,_0x5526a2=new _0x3f54d9[(_0x9609b(0x313))]();_0x5526a2[_0x9609b(0x1db)](_0x411de5);const _0x441530=_0x284ce4[_0x9609b(0x376)],_0x1d7038={'cellInfo':_0x441530,'view':_0x5526a2,'isEmpty':_0x57ce40};if(!await _0x5db619[_0x9609b(0x21b)](_0x24ce63[_0x9609b(0x3a3)])[_0x9609b(0x1f7)][_0x9609b(0x2af)](_0x2c9371)(!0x0,_0x1d7038))return!0x1;const _0x515687=_0x45c089(_0x5db619,_0x5526a2,_0x441530,_0x57ce40),_0x10f1ed=_0x5c01c6(_0x5db619,_0x1d7038),{redos:_0x4c3090,undos:_0x32de30}=_0x42105c(_0x9cd174,{'pivotTableId':_0x136bfa,'unitId':_0x42a1f0,'subUnitId':_0x35330d},_0x103610);return _0x555844[_0x9609b(0x25d)]([..._0x515687[_0x9609b(0x4c2)],..._0x10f1ed[_0x9609b(0x4c2)],..._0x4c3090],_0x9cd174),_0x58fd5e[_0x9609b(0x450)]({'unitID':_0x42a1f0,'redoMutations':[..._0x515687[_0x9609b(0x4c2)],..._0x10f1ed[_0x9609b(0x4c2)],..._0x4c3090],'undoMutations':[..._0x515687[_0x9609b(0x1cb)],..._0x10f1ed['undos'],..._0x32de30]}),!0x0;}},_0x5b51e7={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x362)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0xa7afc0,_0x45be7a){const _0xad12bf=_0x29437c;if(!_0x45be7a)return!0x1;const _0x2f666d=_0xa7afc0[_0xad12bf(0x21b)](_0x555844[_0xad12bf(0x386)]),{pivotTableId:_0x2751bb,tableFieldId:_0x412242,items:_0x438649,unitId:_0x14f7ea,subUnitId:_0x1ea4e2,isAll:_0x3262eb}=_0x45be7a,_0x38e323=_0xa7afc0[_0xad12bf(0x21b)](_0x24ce63[_0xad12bf(0x442)]),_0x274993=_0xa7afc0[_0xad12bf(0x21b)](_0x555844[_0xad12bf(0x21c)]),_0x1f8b9e=(await _0x38e323[_0xad12bf(0x25e)]({'unitId':_0x14f7ea,'subUnitId':_0x1ea4e2,'pivotTableId':_0x2751bb,'params':{'type':_0x125767[_0xad12bf(0x1fb)],'setPivotFilter':{'tableFieldId':_0x412242,'items':_0x438649,'isAll':_0x3262eb}}}))[_0xad12bf(0x27d)][_0xad12bf(0x289)];if(!_0x1f8b9e)return!0x1;const {changesets:_0x214ca8,pivotTableConfig:_0x2350e9,isEmpty:_0x281c11,view:_0x3657d9}=_0x1f8b9e,_0x5d8831=_0x2350e9[_0xad12bf(0x376)],_0x19ebc4=new _0x3f54d9[(_0xad12bf(0x313))]();_0x19ebc4[_0xad12bf(0x1db)](_0x3657d9);const _0x4618b3={'cellInfo':_0x5d8831,'view':_0x19ebc4,'isEmpty':_0x281c11};if(!await _0xa7afc0[_0xad12bf(0x21b)](_0x24ce63[_0xad12bf(0x3a3)])[_0xad12bf(0x1f7)][_0xad12bf(0x2af)](_0x2c9371)(!0x0,_0x4618b3))return!0x1;const _0x2dafe5=_0x45c089(_0xa7afc0,_0x19ebc4,_0x5d8831,_0x281c11),_0x19b008=_0x5c01c6(_0xa7afc0,_0x4618b3),{undos:_0x5efd37,redos:_0xbb3c9e}=_0x42105c(_0x2f666d,{'pivotTableId':_0x2751bb,'unitId':_0x14f7ea,'subUnitId':_0x1ea4e2},_0x214ca8);return _0x555844[_0xad12bf(0x25d)]([..._0x2dafe5[_0xad12bf(0x4c2)],..._0x19b008[_0xad12bf(0x4c2)],..._0xbb3c9e],_0x2f666d),_0x274993[_0xad12bf(0x450)]({'unitID':_0x14f7ea,'redoMutations':[..._0x2dafe5[_0xad12bf(0x4c2)],..._0x19b008[_0xad12bf(0x4c2)],..._0xbb3c9e],'undoMutations':[..._0x2dafe5[_0xad12bf(0x1cb)],..._0x19b008['undos'],..._0x5efd37]}),!0x0;}},_0x23dfa9={'type':_0x555844[_0x29437c(0x332)]['COMMAND'],'id':_0x29437c(0x2ab),async 'handler'(_0x5bdd96,_0x192d53){const _0x3b55af=_0x29437c;if(!_0x192d53)return!0x1;const _0x17c5b5=_0x5bdd96[_0x3b55af(0x21b)](_0x555844[_0x3b55af(0x386)]),_0x97043e=_0x5bdd96[_0x3b55af(0x21b)](_0x555844[_0x3b55af(0x21c)]),_0x4ad096=_0x5bdd96[_0x3b55af(0x21b)](_0x24ce63[_0x3b55af(0x442)]),{info:_0x52e172,tableFieldId:_0x4a27f0,pivotTableId:_0x49b49b,unitId:_0x460aaa,subUnitId:_0x3edd6a}=_0x192d53,_0x562bef=(await _0x4ad096[_0x3b55af(0x25e)]({'unitId':_0x460aaa,'subUnitId':_0x3edd6a,'pivotTableId':_0x49b49b,'params':{'type':_0x125767[_0x3b55af(0x3ab)],'setPivotSort':{'tableFieldId':_0x4a27f0,'info':_0x52e172}}}))[_0x3b55af(0x27d)][_0x3b55af(0x1e7)];if(!_0x562bef)return!0x1;const {changesets:_0x49e571}=_0x562bef,{redos:_0x13a28d,undos:_0x2c0180}=_0x42105c(_0x17c5b5,{'pivotTableId':_0x49b49b,'unitId':_0x460aaa,'subUnitId':_0x3edd6a},_0x49e571);return _0x555844[_0x3b55af(0x25d)](_0x13a28d,_0x17c5b5),_0x97043e[_0x3b55af(0x450)]({'unitID':_0x460aaa,'redoMutations':_0x13a28d,'undoMutations':_0x2c0180}),!0x0;}},_0x4d6849={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x362)],'id':_0x29437c(0x398),async 'handler'(_0x41698a,_0x2d4004){const _0x379728=_0x29437c;if(!_0x2d4004)return!0x1;const _0x4e830a=_0x41698a[_0x379728(0x21b)](_0x555844[_0x379728(0x386)]),_0x463e43=_0x41698a[_0x379728(0x21b)](_0x555844[_0x379728(0x21c)]),_0x2f2f99=_0x41698a[_0x379728(0x21b)](_0x24ce63['SheetsPivotRPCService']),{displayName:_0x588111,subtotalType:_0x2e810d,format:_0x1ff1b4,tableFieldId:_0x4d74f7,pivotTableId:_0xdfcfa4,unitId:_0x503667,subUnitId:_0x5ac1ad}=_0x2d4004,_0x57bfc5=(await _0x2f2f99['getPivotDisplayConfig']({'unitId':_0x503667,'subUnitId':_0x5ac1ad,'pivotTableId':_0xdfcfa4,'params':{'type':_0x125767['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x4d74f7,'displayName':_0x588111,'subtotalType':_0x2e810d,'format':_0x1ff1b4}}}))[_0x379728(0x27d)][_0x379728(0x39a)];if(!_0x57bfc5)return!0x1;const {changesets:_0x2fe024,view:_0x166f75,pivotTableConfig:_0x3f8fdc,isEmpty:_0x347b68}=_0x57bfc5,_0x345f74=_0x3f8fdc[_0x379728(0x376)],_0x930be9=new _0x3f54d9[(_0x379728(0x313))]();_0x930be9[_0x379728(0x1db)](_0x166f75);const _0xdcbec0={'cellInfo':_0x345f74,'view':_0x930be9,'isEmpty':_0x347b68};if(!await _0x41698a[_0x379728(0x21b)](_0x24ce63['SheetsPivotTableService'])[_0x379728(0x1f7)][_0x379728(0x2af)](_0x2c9371)(!0x0,_0xdcbec0))return!0x1;const _0x11ce89=_0x45c089(_0x41698a,_0x930be9,_0x345f74,_0x347b68),_0x338895=_0x5c01c6(_0x41698a,_0xdcbec0),{undos:_0x2cb0eb,redos:_0x303e6e}=_0x42105c(_0x4e830a,{'pivotTableId':_0xdfcfa4,'unitId':_0x503667,'subUnitId':_0x5ac1ad},_0x2fe024);return _0x555844[_0x379728(0x25d)]([..._0x11ce89[_0x379728(0x4c2)],..._0x338895[_0x379728(0x4c2)],..._0x303e6e],_0x4e830a),_0x463e43[_0x379728(0x450)]({'unitID':_0x503667,'redoMutations':[..._0x11ce89[_0x379728(0x4c2)],..._0x338895[_0x379728(0x4c2)],..._0x303e6e],'undoMutations':[..._0x11ce89[_0x379728(0x1cb)],..._0x338895['undos'],..._0x2cb0eb]}),!0x0;}},_0xeadc6={'type':_0x555844['CommandType'][_0x29437c(0x362)],'id':_0x29437c(0x2cf),async 'handler'(_0x56c405,_0x4ad1ea){const _0x50049a=_0x29437c,_0x2ea881=_0x56c405[_0x50049a(0x21b)](_0x555844[_0x50049a(0x386)]),_0x181f8d=_0x56c405[_0x50049a(0x21b)](_0x24ce63[_0x50049a(0x442)]),_0x2e5261=_0x56c405[_0x50049a(0x21b)](_0x555844[_0x50049a(0x21c)]);if(!_0x4ad1ea)return!0x1;const {token:_0xd43e1e,dataRangeInfo:_0x4532d6,unitId:_0x55f284,subUnitId:_0x2f8cf9}=_0x4ad1ea,_0xaaa6c3=[],_0x2dd778=[],_0x2ccd5d=(await _0x181f8d[_0x50049a(0x25e)]({'unitId':_0x55f284,'subUnitId':_0x2f8cf9,'pivotTableId':_0xd43e1e,'params':{'type':_0x125767[_0x50049a(0x408)],'updatePivotSource':{'dataRangeInfo':_0x4532d6,'unitId':_0x55f284,'subUnitId':_0x2f8cf9}}}))[_0x50049a(0x27d)][_0x50049a(0x248)];if(!_0x2ccd5d)return!0x1;const {changesets:_0x5cdd33,deleteIds:_0x4504ec,collectionConfig:_0x20bbfe,oldCollectionConfig:_0x4ddfcb,view:_0x4c1cf2,isEmpty:_0x111602,pivotTableConfig:_0x44c559}=_0x2ccd5d;_0x2dd778[_0x50049a(0x436)]({'id':_0x296d79['id'],'params':{'pivotTableId':_0xd43e1e,'deleteIds':_0x4504ec,'collectionJSON':_0x20bbfe,'dataRangeInfo':_0x4532d6,'unitId':_0x55f284,'subUnitId':_0x2f8cf9}}),_0xaaa6c3[_0x50049a(0x361)]({'id':_0x296d79['id'],'params':{'pivotTableId':_0xd43e1e,'deleteIds':[],'collectionJSON':_0x4ddfcb,'dataRangeInfo':_0x44c559[_0x50049a(0x4c3)],'unitId':_0x55f284,'subUnitId':_0x2f8cf9}});const _0x1de2e4=_0x44c559[_0x50049a(0x376)],_0x5c701a=new _0x3f54d9['PivotView']();_0x5c701a[_0x50049a(0x1db)](_0x4c1cf2);const _0x50f0a4={'cellInfo':_0x1de2e4,'view':_0x5c701a,'isEmpty':_0x111602};if(!await _0x56c405[_0x50049a(0x21b)](_0x24ce63[_0x50049a(0x3a3)])[_0x50049a(0x1f7)][_0x50049a(0x2af)](_0x2c9371)(!0x0,_0x50f0a4))return!0x1;const _0x72818d=_0x45c089(_0x56c405,_0x5c701a,_0x1de2e4,_0x111602),_0x4f3435=_0x5c01c6(_0x56c405,_0x50f0a4),{undos:_0x2c4a67,redos:_0x2cf1ff}=_0x42105c(_0x2ea881,{'pivotTableId':_0xd43e1e,'unitId':_0x55f284,'subUnitId':_0x2f8cf9},_0x5cdd33);return _0x555844['sequenceExecute']([..._0x72818d['redos'],..._0x4f3435[_0x50049a(0x4c2)],..._0x2dd778,..._0x2c4a67],_0x2ea881),_0x2e5261[_0x50049a(0x450)]({'unitID':_0x55f284,'redoMutations':[..._0x72818d[_0x50049a(0x4c2)],..._0x4f3435[_0x50049a(0x4c2)],..._0x2dd778,..._0x2c4a67],'undoMutations':[..._0x72818d[_0x50049a(0x1cb)],..._0x4f3435['undos'],..._0xaaa6c3,..._0x2cf1ff]}),!0x0;}},_0x417c6f={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x362)],'id':_0x29437c(0x2b2),async 'handler'(_0x1042c4,_0x30b284){const _0xa87313=_0x29437c;if(!_0x30b284)return!0x1;const _0xf0937d=_0x1042c4['get'](_0x555844[_0xa87313(0x386)]),_0xb9b7e=_0x1042c4['get'](_0x24ce63['SheetsPivotRPCService']),_0x5d994d=_0x1042c4[_0xa87313(0x21b)](_0x555844[_0xa87313(0x273)]),_0x3d3fb6=_0x1042c4[_0xa87313(0x21b)](_0x555844[_0xa87313(0x21c)]),{pivotTableId:_0x584f18,position:_0x356471,index:_0x460b65}=_0x30b284,_0x192094=_0x402aa8[_0xa87313(0x21f)](_0x5d994d);if(!_0x192094)return!0x1;const {unitId:_0x24b05c,subUnitId:_0x45a145}=_0x192094,_0x91f616=(await _0xb9b7e[_0xa87313(0x25e)]({'unitId':_0x24b05c,'subUnitId':_0x45a145,'pivotTableId':_0x584f18,'params':{'type':_0x125767['UpdateValuePosition'],'updateValuePosition':{'position':_0x356471,'index':_0x460b65}}}))[_0xa87313(0x27d)][_0xa87313(0x227)];if(!_0x91f616)return!0x1;const {changesets:_0x1e57b4,view:_0x17a97c,isEmpty:_0x2ad0cc,pivotTableConfig:_0x52b414}=_0x91f616,_0x13f690=_0x52b414[_0xa87313(0x376)],_0x4ee59f=new _0x3f54d9[(_0xa87313(0x313))]();_0x4ee59f[_0xa87313(0x1db)](_0x17a97c);const _0x21df52=_0x1042c4[_0xa87313(0x21b)](_0x24ce63['SheetsPivotTableService']),_0x3ae686={'cellInfo':_0x13f690,'view':_0x4ee59f,'isEmpty':_0x2ad0cc};if(!await _0x21df52[_0xa87313(0x1f7)][_0xa87313(0x2af)](_0x2c9371)(!0x0,_0x3ae686))return!0x1;const _0x4a4e8a=_0x45c089(_0x1042c4,_0x4ee59f,_0x13f690,_0x2ad0cc),_0x190315=_0x5c01c6(_0x1042c4,_0x3ae686),{undos:_0x116b23,redos:_0x8da43b}=_0x42105c(_0xf0937d,{'pivotTableId':_0x584f18,'unitId':_0x24b05c,'subUnitId':_0x45a145},_0x1e57b4);return _0x555844['sequenceExecute']([..._0x4a4e8a[_0xa87313(0x4c2)],..._0x190315['redos'],..._0x8da43b],_0xf0937d),_0x3d3fb6[_0xa87313(0x450)]({'unitID':_0x24b05c,'redoMutations':[..._0x4a4e8a['redos'],..._0x190315[_0xa87313(0x4c2)],..._0x8da43b],'undoMutations':[..._0x4a4e8a['undos'],..._0x190315[_0xa87313(0x1cb)],..._0x116b23]}),!0x0;}},_0x310da8={'type':_0x555844[_0x29437c(0x332)]['COMMAND'],'id':'sheet.command.move-pivot-table','handler':(_0x4ed4bc,_0x54f239)=>{const _0x28966e=_0x29437c,_0x6aac69=_0x4ed4bc[_0x28966e(0x21b)](_0x555844[_0x28966e(0x386)]),_0x41bf46=_0x4ed4bc[_0x28966e(0x21b)](_0x555844['IUndoRedoService']),_0x1ba13b=_0x4ed4bc[_0x28966e(0x21b)](_0x24ce63['SheetsPivotTableConfigModel']),_0x1f22e1=_0x4ed4bc['get'](_0x555844[_0x28966e(0x273)]);if(!_0x54f239)return!0x1;const _0x313058=_0x402aa8[_0x28966e(0x21f)](_0x1f22e1);if(!_0x313058)return!0x1;const {unitId:_0x1bb401,subUnitId:_0x2ef21f,workbook:_0x4bf2f7}=_0x313058,_0x543ae2=_0x1ba13b['getPivotTableConfig'](_0x54f239[_0x28966e(0x1b1)][_0x28966e(0x3ce)],_0x54f239[_0x28966e(0x1b1)][_0x28966e(0x3f5)],_0x54f239[_0x28966e(0x230)]);if(!_0x543ae2)return!0x1;const _0xb0dfea=_0x4bf2f7[_0x28966e(0x3b5)](_0x54f239[_0x28966e(0x376)]['subUnitId']);if(!_0xb0dfea)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x5ca8d6=_0xb0dfea[_0x28966e(0x3cb)](),_0x194694=_0xb0dfea[_0x28966e(0x1ba)]();if(_0x54f239['targetCellInfo']['row']>_0x5ca8d6||_0x54f239[_0x28966e(0x376)][_0x28966e(0x205)]>_0x194694)throw new Error(_0x28966e(0x3c2));const _0x1352e9=[{'id':_0x521e1b['id'],'params':{'unitId':_0x1bb401,'subUnitId':_0x54f239[_0x28966e(0x376)][_0x28966e(0x3f5)],'pivotTableId':_0x54f239[_0x28966e(0x230)],'targetCellPosition':{'row':_0x54f239[_0x28966e(0x376)][_0x28966e(0x33d)],'col':_0x54f239[_0x28966e(0x376)][_0x28966e(0x205)]}}}],_0x4fadf0=[{'id':_0x521e1b['id'],'params':{'unitId':_0x1bb401,'subUnitId':_0x2ef21f,'pivotTableId':_0x54f239[_0x28966e(0x230)],'targetCellPosition':{'row':_0x543ae2['targetCellInfo'][_0x28966e(0x33d)],'col':_0x543ae2[_0x28966e(0x376)][_0x28966e(0x205)]}}}];return _0x555844['sequenceExecute'](_0x1352e9,_0x6aac69)&&_0x41bf46[_0x28966e(0x450)]({'unitID':_0x1bb401,'undoMutations':_0x4fadf0,'redoMutations':_0x1352e9}),!0x0;}},_0x1b3c9d={'type':_0x555844[_0x29437c(0x332)]['COMMAND'],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0xbb0fc4,_0x2b1606){const _0x3f1654=_0x29437c;if(!_0x2b1606)return!0x1;const _0x50832d=_0xbb0fc4[_0x3f1654(0x21b)](_0x555844[_0x3f1654(0x386)]),{pivotTableId:_0x3a5a9f,fieldId:_0x8f38c7,valueFilterInfo:_0x944dd4,unitId:_0x5c640e,subUnitId:_0x17a78f}=_0x2b1606,_0x112961=_0xbb0fc4[_0x3f1654(0x21b)](_0x24ce63[_0x3f1654(0x442)]),_0x5ee698=_0xbb0fc4['get'](_0x555844[_0x3f1654(0x21c)]),_0x50a2d9=(await _0x112961[_0x3f1654(0x25e)]({'unitId':_0x5c640e,'subUnitId':_0x17a78f,'pivotTableId':_0x3a5a9f,'params':{'type':_0x125767['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x8f38c7,'filterInfo':_0x944dd4}}}))[_0x3f1654(0x27d)][_0x3f1654(0x1d7)];if(!_0x50a2d9)return!0x1;const {changesets:_0x26fbc2,pivotTableConfig:_0x52d08c,isEmpty:_0x2c9213,view:_0x485669}=_0x50a2d9,_0xf8a97a=_0x52d08c[_0x3f1654(0x376)],_0x2be73b=new _0x3f54d9[(_0x3f1654(0x313))]();_0x2be73b['formJSON'](_0x485669);const _0x51dcd1={'cellInfo':_0xf8a97a,'view':_0x2be73b,'isEmpty':_0x2c9213};if(!await _0xbb0fc4[_0x3f1654(0x21b)](_0x24ce63[_0x3f1654(0x3a3)])[_0x3f1654(0x1f7)][_0x3f1654(0x2af)](_0x2c9371)(!0x0,_0x51dcd1))return!0x1;const _0x5c7b74=_0x45c089(_0xbb0fc4,_0x2be73b,_0xf8a97a,_0x2c9213),_0x338b4f=_0x5c01c6(_0xbb0fc4,_0x51dcd1),{undos:_0x2324ea,redos:_0x6445b1}=_0x42105c(_0x50832d,{'pivotTableId':_0x3a5a9f,'unitId':_0x5c640e,'subUnitId':_0x17a78f},_0x26fbc2);return _0x555844[_0x3f1654(0x25d)]([..._0x5c7b74[_0x3f1654(0x4c2)],..._0x338b4f[_0x3f1654(0x4c2)],..._0x6445b1],_0x50832d),_0x5ee698[_0x3f1654(0x450)]({'unitID':_0x5c640e,'redoMutations':[..._0x5c7b74['redos'],..._0x338b4f[_0x3f1654(0x4c2)],..._0x6445b1],'undoMutations':[..._0x5c7b74['undos'],..._0x338b4f['undos'],..._0x2324ea]}),!0x0;}},_0x1686e2={'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x362)],'id':_0x29437c(0x2e2),async 'handler'(_0x5453bf,_0x232978){const _0x3cdca5=_0x29437c;if(!_0x232978)return!0x1;const _0x3079a5=_0x5453bf['get'](_0x555844[_0x3cdca5(0x386)]),_0x21f4d4=_0x5453bf['get'](_0x555844[_0x3cdca5(0x21c)]),_0x4b65e1=_0x5453bf[_0x3cdca5(0x21b)](_0x24ce63['SheetsPivotRPCService']),{pivotTableConfig:_0x312d6b,pivotTableId:_0x814ac3,unitId:_0x19546d,subUnitId:_0x399d63}=_0x232978,_0x58afaf=(await _0x4b65e1[_0x3cdca5(0x25e)]({'unitId':_0x19546d,'subUnitId':_0x399d63,'pivotTableId':_0x814ac3,'params':{'type':_0x125767['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x814ac3,'pivotTableConfig':_0x312d6b}}}))[_0x3cdca5(0x27d)]['setPivotTableConfig'];if(!_0x58afaf)return!0x1;const {changesets:_0x1ff30e}=_0x58afaf,{redos:_0x5a07fd,undos:_0x23aa23}=_0x42105c(_0x3079a5,{'pivotTableId':_0x814ac3,'unitId':_0x19546d,'subUnitId':_0x399d63},_0x1ff30e);return _0x555844[_0x3cdca5(0x25d)](_0x5a07fd,_0x3079a5),_0x21f4d4[_0x3cdca5(0x450)]({'unitID':_0x19546d,'redoMutations':_0x5a07fd,'undoMutations':_0x23aa23}),!0x0;}},_0x19ccfd={'type':_0x555844['CommandType'][_0x29437c(0x362)],'id':_0x29437c(0x208),async 'handler'(_0x96c8e3,_0x47aabe){const _0x49be85=_0x29437c;if(!_0x47aabe)return!0x1;const _0x1c08ca=_0x96c8e3[_0x49be85(0x21b)](_0x555844['ICommandService']),_0x5238c0=_0x96c8e3[_0x49be85(0x21b)](_0x555844['IUndoRedoService']),_0x4b3e06=_0x96c8e3['get'](_0x24ce63[_0x49be85(0x442)]),{resetArea:_0x3e1538,pivotTableId:_0x47019d,unitId:_0xd46591,subUnitId:_0x1e99fd}=_0x47aabe,_0x106fc0=(await _0x4b3e06[_0x49be85(0x25e)]({'unitId':_0xd46591,'subUnitId':_0x1e99fd,'pivotTableId':_0x47019d,'params':{'type':_0x125767[_0x49be85(0x317)],'resetPivotTable':{'pivotTableId':_0x47019d,'resetArea':_0x3e1538}}}))['result']['resetPivotTable'];if(!_0x106fc0)return!0x1;const {changesets:_0xf02631}=_0x106fc0,{redos:_0x46eb40,undos:_0x5962e0}=_0x42105c(_0x1c08ca,{'pivotTableId':_0x47019d,'unitId':_0xd46591,'subUnitId':_0x1e99fd},_0xf02631);return _0x555844['sequenceExecute'](_0x46eb40,_0x1c08ca),_0x5238c0[_0x49be85(0x450)]({'unitID':_0xd46591,'redoMutations':_0x46eb40,'undoMutations':_0x5962e0}),!0x0;}},_0xa98e9e={'id':_0x29437c(0x3e3),'type':_0x555844['CommandType'][_0x29437c(0x490)],'handler':(_0x4c4cf0,_0x2ec5e1)=>{const _0xa94b88=_0x29437c;if(!_0x2ec5e1)return!0x1;if(!!_0x4c4cf0[_0xa94b88(0x21b)](_0x555844[_0xa94b88(0x41e)])[_0xa94b88(0x394)](_0x1437ff))return!0x0;const {unitId:_0x2e9bcf,subUnitId:_0xe23c1a,pivotTableId:_0x1cf9fb,tableFieldId:_0x216f4c,dateType:_0x20db1b}=_0x2ec5e1,_0x143f60=_0x4c4cf0[_0xa94b88(0x21b)](_0x24ce63['SheetsPivotDataSourceModel']),_0x42ab79=_0x143f60[_0xa94b88(0x2ad)](_0x1cf9fb);if(!_0x42ab79)return!0x1;const _0x4b0b14=_0x42ab79['getDataFieldByTableId'](_0x216f4c);if(!_0x4b0b14)return!0x1;const _0x14299e=_0x4b0b14[_0xa94b88(0x459)](),_0xe7ef7a=_0x42ab79[_0xa94b88(0x478)](_0x14299e),_0x123ef8=(_0xe7ef7a==null?void 0x0:_0xe7ef7a[_0xa94b88(0x482)]())+'\x20'+_0x134215(_0x4c4cf0,_0x20db1b);_0x143f60[_0xa94b88(0x40c)](_0x2e9bcf,_0x1cf9fb)[_0xa94b88(0x25b)](_0x4b0b14['id'],_0x123ef8);const _0x1f3d26=_0x42ab79[_0xa94b88(0x470)](_0x216f4c);if(!_0x1f3d26)return!0x1;_0x42ab79[_0xa94b88(0x261)](_0x1f3d26[_0xa94b88(0x35d)](),_0x123ef8),_0x4b0b14[_0xa94b88(0x3b9)](_0x20db1b);const _0x6bcc5f=_0x143f60[_0xa94b88(0x2dc)](_0x2e9bcf,_0xe23c1a,_0x1cf9fb);return _0x143f60[_0xa94b88(0x43f)]({'unitId':_0x2e9bcf,'subUnitId':_0xe23c1a,'token':_0x1cf9fb,'type':_0xc3c280[_0xa94b88(0x43a)],'pivotConfig':_0x6bcc5f}),!0x0;}},_0x33d0bb={'id':_0x29437c(0x4a0),'type':_0x555844[_0x29437c(0x332)][_0x29437c(0x362)],'handler':(_0x3b47dc,_0x40014e)=>{const _0x45d145=_0x29437c;if(!_0x40014e)return!0x1;const _0x5783a2=_0x3b47dc[_0x45d145(0x21b)](_0x555844[_0x45d145(0x21c)]),{unitId:_0x4636fd,subUnitId:_0x3be303,pivotTableId:_0x1cd422,tableFieldId:_0xa47aaf}=_0x40014e,_0x57002e=[],_0x3d7d37=[],_0x347fe0=_0x3b47dc[_0x45d145(0x21b)](_0x24ce63[_0x45d145(0x206)]),_0x16ca8f=_0x347fe0[_0x45d145(0x40c)](_0x4636fd,_0x1cd422),_0x3ec9d9=_0x347fe0[_0x45d145(0x2dc)](_0x4636fd,_0x3be303,_0x1cd422);if(!(_0x3ec9d9!=null&&_0x3ec9d9[_0x45d145(0x449)][_0x45d145(0x1e9)]))return!0x1;const _0x5d959f=Object['values'](_0x3ec9d9['fieldsConfig']['dimension'])[_0x45d145(0x429)](_0x2b0c31=>_0x2b0c31['id']===_0xa47aaf);if(!_0x5d959f)return!0x1;const _0x4c526f=_0x5d959f[_0x45d145(0x277)];if(!(_0x16ca8f!=null&&_0x16ca8f[_0x45d145(0x269)]))return!0x1;const _0x4cd795=Object[_0x45d145(0x383)](_0x16ca8f==null?void 0x0:_0x16ca8f[_0x45d145(0x269)])['find'](_0x959df1=>_0x959df1['id']===_0x4c526f);if(!_0x4cd795)return!0x1;_0x3f54d9[_0x45d145(0x4c4)](_0x4cd795)&&_0x57002e['push']({'id':_0xa98e9e['id'],'params':{..._0x40014e,'dateType':_0x4cd795[_0x45d145(0x20d)]}}),_0x3d7d37[_0x45d145(0x436)]({'id':_0xa98e9e['id'],'params':{..._0x40014e}});const _0x536904=_0x3b47dc['get'](_0x555844[_0x45d145(0x386)]);return _0x555844['sequenceExecute'](_0x3d7d37,_0x536904)&&_0x5783a2[_0x45d145(0x450)]({'unitID':_0x4636fd,'undoMutations':_0x57002e,'redoMutations':_0x3d7d37}),!0x0;}};var _0x3514c0=Object[_0x29437c(0x42e)],_0x46f217=(_0x208259,_0x2e4600,_0x5e0a18,_0x5aa57c)=>{for(var _0x389a7f=_0x5aa57c>0x1?void 0x0:_0x5aa57c?_0x3514c0(_0x2e4600,_0x5e0a18):_0x2e4600,_0x4a1e02=_0x208259['length']-0x1,_0x585aaa;_0x4a1e02>=0x0;_0x4a1e02--)(_0x585aaa=_0x208259[_0x4a1e02])&&(_0x389a7f=_0x585aaa(_0x389a7f)||_0x389a7f);return _0x389a7f;},_0x344072=(_0x294735,_0x14b0b8)=>(_0xa10e95,_0x8c62e6)=>_0x14b0b8(_0xa10e95,_0x8c62e6,_0x294735);const _0x4cae06=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x186605=(_0x476481,_0x5e8c1a,_0x52aea4)=>{const _0x6abbe9=_0x29437c,_0x65aa2e=_0x476481[_0x6abbe9(0x40d)];_0x476481[_0x6abbe9(0x37f)](_0x419880=>{const _0x53406b=_0x6abbe9,_0x437be9=_0x419880[_0x53406b(0x35d)](),_0x5e04bb=_0x419880[_0x53406b(0x3a1)](),_0xb216ba=_0x419880[_0x53406b(0x1f6)](),_0x9f1f8d=_0x419880[_0x53406b(0x229)]();_0x5e8c1a[_0x5e04bb]&&_0x5e8c1a[_0x5e04bb]===_0x9f1f8d&&_0xb216ba===_0x9f1f8d&&(_0x476481[_0x53406b(0x261)](_0x437be9,_0x65aa2e[_0x53406b(0x229)](_0x5e04bb)),_0x419880['setSourceName'](_0x65aa2e['getDisplayName'](_0x5e04bb)));}),_0x476481[_0x6abbe9(0x3d2)](_0x3f54d9[_0x6abbe9(0x1d5)][_0x6abbe9(0x255)],_0x4a9850=>{const _0x1cdf8b=_0x6abbe9,_0x3a886e=_0x4a9850[_0x1cdf8b(0x35d)](),_0x6bcc68=_0x4a9850[_0x1cdf8b(0x3a1)](),_0x5edd9c=_0x4a9850['getSourceName'](),_0x34a0a1=_0x4a9850['getDisplayName'](),_0x247325=_0x4a9850[_0x1cdf8b(0x479)](),_0x7a670e=_0x52aea4(_0x5edd9c,_0x247325);_0x5e8c1a[_0x6bcc68]&&_0x5e8c1a[_0x6bcc68]===_0x5edd9c&&_0x7a670e===_0x34a0a1&&(_0x476481[_0x1cdf8b(0x261)](_0x3a886e,_0x52aea4(_0x65aa2e['getDisplayName'](_0x6bcc68),_0x247325)),_0x4a9850[_0x1cdf8b(0x44d)](_0x65aa2e[_0x1cdf8b(0x229)](_0x6bcc68)));});},_0x1da8e7=(_0x32d7d3,_0x43ef24,_0x445f9b)=>{const _0x1c124d=_0x29437c;var _0x1880f9,_0x339799;const {arrayFormulaCellData:_0x497e3d,unitData:_0x5881ec}=_0x43ef24,{unitId:_0x351f64,subUnitId:_0x57e618}=_0x445f9b,_0x5937c6=_0x445f9b['range'],{startColumn:_0x351a2a,endColumn:_0x485751}=_0x5937c6,_0x168101=(_0x1880f9=_0x497e3d==null?void 0x0:_0x497e3d[_0x351f64])==null?void 0x0:_0x1880f9[_0x57e618],_0x493c11=(_0x339799=_0x5881ec==null?void 0x0:_0x5881ec[_0x351f64])==null?void 0x0:_0x339799[_0x57e618],_0x3a6696=new Set(),_0x25ab4c=_0x485751-_0x351a2a+0x1,{dirtyRanges:_0x51a4d1}=_0x32d7d3;if(_0x51a4d1)for(const {range:_0x5d0ce3,sheetId:_0x55b5a7,unitId:_0x545d2c}of _0x51a4d1){if(_0x55b5a7!==_0x57e618||_0x351f64!==_0x545d2c)continue;const _0x2b24d3=_0x555844[_0x1c124d(0x318)]['getIntersects'](_0x5d0ce3,_0x5937c6);if(_0x2b24d3){const {startColumn:_0xe623f,endColumn:_0x50407a}=_0x2b24d3;for(let _0x1f796f=_0xe623f;_0x1f796f<=_0x50407a;_0x1f796f++)_0x3a6696[_0x1c124d(0x4b8)](_0x1f796f);}}if(_0x3a6696['size']===_0x25ab4c||_0x3a6696[_0x1c124d(0x3e9)]===_0x25ab4c)return Array[_0x1c124d(0x3a8)](_0x3a6696);if(_0x493c11){const _0x51b4bf=_0x493c11['getMatrix'](),_0x53b075=Object['keys'](_0x51b4bf);for(const _0x27b718 of _0x53b075){const _0x5ae036=Number(_0x27b718),_0x5df14e=_0x51b4bf[_0x5ae036];if(_0x3a6696['size']===_0x25ab4c)break;for(const _0x1f3f03 in _0x5df14e){const _0x2598fc=Number(_0x1f3f03);_0x2598fc<_0x351a2a||_0x2598fc>_0x485751||_0x3a6696[_0x1c124d(0x4b8)](_0x2598fc);}}}if(_0x168101){const _0xd728df=_0x168101['getMatrix'](),_0xaefbbd=Object['keys'](_0xd728df);for(const _0x38eeb9 of _0xaefbbd){const _0x433cf1=Number(_0x38eeb9),_0x4be9b6=_0xd728df[_0x433cf1];if(_0x3a6696[_0x1c124d(0x3e9)]===_0x25ab4c)break;for(const _0x120a67 in _0x4be9b6){const _0x3e07a2=Number(_0x120a67);_0x3e07a2<_0x351a2a||_0x3e07a2>_0x485751||_0x3a6696[_0x1c124d(0x4b8)](_0x3e07a2);}}}return Array[_0x1c124d(0x3a8)](_0x3a6696);},_0x516aa7=_0x3b5030=>{const _0x1702f1=_0x29437c,_0x4564cf=new Set(),_0xcf9c3d=[];for(const _0x3abb0d of _0x3b5030){const _0x14bd3f=_0x3abb0d[_0x1702f1(0x1d2)]+','+_0x3abb0d[_0x1702f1(0x3d8)]+','+_0x3abb0d[_0x1702f1(0x3d6)]+','+_0x3abb0d['endColumn'];_0x4564cf[_0x1702f1(0x339)](_0x14bd3f)||(_0x4564cf[_0x1702f1(0x4b8)](_0x14bd3f),_0xcf9c3d[_0x1702f1(0x436)](_0x3abb0d));}return _0xcf9c3d;};let _0x4855ae=class extends _0x555844[_0x29437c(0x1ea)]{constructor(_0x9b7241,_0x1a70b6,_0x5184f8,_0x4eccf0,_0x473e2c){const _0x198a09=_0x29437c;super(),_0x528485(this,_0x198a09(0x24d),new _0xf4d055[(_0x198a09(0x42c))](!0x0)),_0x528485(this,_0x198a09(0x42a),_0x1ab398=>{this['_globalSubject']['next'](!0x1);}),_0x528485(this,_0x198a09(0x380),_0xd1c925=>{const _0x36c2e8=_0x198a09;this[_0x36c2e8(0x24d)][_0x36c2e8(0x4be)](!0x0);}),(this[_0x198a09(0x323)]=_0x9b7241,this[_0x198a09(0x224)]=_0x1a70b6,this[_0x198a09(0x337)]=_0x5184f8,this[_0x198a09(0x3c3)]=_0x4eccf0,this['_injector']=_0x473e2c,this[_0x198a09(0x48f)](),this[_0x198a09(0x41c)]());}[_0x29437c(0x48f)](){const _0x30eac0=_0x29437c;this[_0x30eac0(0x292)](),this[_0x30eac0(0x298)](),this[_0x30eac0(0x3a0)](),this[_0x30eac0(0x1dc)]();}[_0x29437c(0x265)](){const _0x205636=_0x29437c;this[_0x205636(0x3c3)]['pushComputingStatusSubject'](this[_0x205636(0x24d)]),_0x3f54d9[_0x205636(0x349)]['registerCallbackWithEvent'](_0x3f54d9[_0x205636(0x2fd)][_0x205636(0x233)],this[_0x205636(0x42a)]),_0x3f54d9[_0x205636(0x349)]['registerCallbackWithEvent'](_0x3f54d9[_0x205636(0x2fd)]['onQueryEnd'],this['_globalComputedEndHelpFunc']);}[_0x29437c(0x41c)](){const _0x359727=_0x29437c;this[_0x359727(0x1ae)](this[_0x359727(0x337)]['onCommandExecuted'](_0x4272f6=>{const _0x12e5b9=_0x359727;_0x4272f6['id']===_0x402aa8[_0x12e5b9(0x246)]['id']&&this[_0x12e5b9(0x323)][_0x12e5b9(0x3c1)](_0x4272f6['params']);})),this[_0x359727(0x1ae)](this['_commandService'][_0x359727(0x27f)](_0x420192=>{const _0x4bb97a=_0x359727;if(_0x420192['id']!==_0x309158['id'])return;const _0x1ea159=_0x420192[_0x4bb97a(0x358)],{unitId:_0x43ba08,subUnitId:_0x54fe8b,pivotTableId:_0x558614}=_0x1ea159,_0x50c7c9=_0x1ea159[_0x4bb97a(0x358)][_0x4bb97a(0x4bf)],_0x3a86e1={};switch(_0x50c7c9){case _0x125767[_0x4bb97a(0x455)]:{const _0x3aad17=_0x1ea159[_0x4bb97a(0x358)]['filter'];if(!_0x3aad17)return;const {row:_0x5b837b,col:_0xda515e,cellData:_0x1a1a09,pivotItemRenderInfoCache:_0x397fd7,tableFieldId:_0x459af6}=_0x3aad17,_0x583989=this[_0x4bb97a(0x323)]['getPivotTableInstance'](_0x1ea159[_0x4bb97a(0x230)]);if(!_0x583989||!_0x397fd7)return;if(_0x459af6){const _0xf2b680=_0x583989[_0x4bb97a(0x20a)](_0x459af6);if(!_0xf2b680)return;_0x3a86e1[_0x4bb97a(0x4a5)]={..._0x583989[_0x4bb97a(0x30e)](_0xf2b680),'tableFieldId':_0x459af6,'pivotTableId':_0x1ea159[_0x4bb97a(0x230)],'filterInfo':_0x583989[_0x4bb97a(0x286)](_0x459af6),'sortInfo':_0x583989[_0x4bb97a(0x402)](_0x459af6),'format':_0x583989['getFieldFormat'](_0x459af6)};}else{const _0x1748c8=_0x57f2b2(_0x5b837b,_0xda515e,_0x1a1a09,_0x583989,_0x397fd7),_0x2d27e2=_0x1748c8==null?void 0x0:_0x1748c8[_0x4bb97a(0x282)];if(!_0x2d27e2)return;const _0x2a1e1d=_0x583989['getDataFieldByTableId'](_0x2d27e2);if(!_0x2a1e1d)return;_0x3a86e1[_0x4bb97a(0x4a5)]={..._0x583989[_0x4bb97a(0x30e)](_0x2a1e1d),'tableFieldId':_0x2d27e2,'pivotTableId':_0x1ea159[_0x4bb97a(0x230)],'filterInfo':_0x583989[_0x4bb97a(0x286)](_0x2d27e2),'sortInfo':_0x583989[_0x4bb97a(0x402)](_0x2d27e2),'format':_0x583989['getFieldFormat'](_0x2d27e2)};}}break;case _0x125767[_0x4bb97a(0x40e)]:{const _0x233fd7=_0x1ea159[_0x4bb97a(0x358)][_0x4bb97a(0x24e)];if(!_0x233fd7)return;const {pivotTableId:_0x8280fe}=_0x233fd7,_0x4399ed=this[_0x4bb97a(0x323)][_0x4bb97a(0x2ad)](_0x8280fe);if(!_0x4399ed)return;const _0x2b4fd3=this[_0x4bb97a(0x323)][_0x4bb97a(0x2dc)](_0x43ba08,_0x54fe8b,_0x8280fe),_0x500377=_0x184797(_0x4399ed,_0x8280fe,_0x2b4fd3);_0x3a86e1[_0x4bb97a(0x24e)]=_0x500377;}break;case _0x125767[_0x4bb97a(0x1df)]:{const _0x515c56=this[_0x4bb97a(0x323)][_0x4bb97a(0x2ad)](_0x558614),_0x145abf=this[_0x4bb97a(0x323)][_0x4bb97a(0x3ef)](_0x43ba08),_0x3f7f93=_0x145abf[_0x4bb97a(0x40c)](_0x558614);let _0x58568=null;const _0x1b4182=this[_0x4bb97a(0x323)][_0x4bb97a(0x2dc)](_0x43ba08,_0x54fe8b,_0x558614),_0x31d0f7=_0x1ea159[_0x4bb97a(0x358)][_0x4bb97a(0x38c)];if(!_0x515c56||!_0x1b4182||!_0x31d0f7)return!0x1;const {dataFieldId:_0x4fb9df,fieldArea:_0x25032d,index:_0x3bd706}=_0x31d0f7;_0x515c56['startCollectChangeset']();const _0x3d67ad=_0x515c56[_0x4bb97a(0x4a4)](_0x4fb9df,_0x25032d,_0x3bd706);if(_0x3d67ad&&_0x25032d===_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x255)]){const _0x505c44=_0x3d67ad['getId'](),_0x44b1ed=_0x515c56[_0x4bb97a(0x20a)](_0x505c44);if(_0x44b1ed){const _0x11800b=_0x44b1ed==null?void 0x0:_0x44b1ed[_0x4bb97a(0x21d)]();_0x515c56[_0x4bb97a(0x326)](_0x3d67ad[_0x4bb97a(0x35d)](),_0x11800b===_0x3f54d9['PivotDataFieldDataTypeEnum'][_0x4bb97a(0x457)]?_0x3f54d9[_0x4bb97a(0x1ca)][_0x4bb97a(0x3f3)]:_0x3f54d9[_0x4bb97a(0x1ca)]['count']);}const _0x11dfe7=_0x515c56['getValueIndex'](),_0x1b3e6a=_0x515c56[_0x4bb97a(0x254)](),_0x501b34=_0x515c56[_0x4bb97a(0x2e7)](_0x3f54d9['PivotTableFiledAreaEnum'][_0x4bb97a(0x255)]);if(_0x11dfe7===-0x1&&_0x501b34>0x1){const _0x1777e9=_0x1b3e6a===_0x3f54d9[_0x4bb97a(0x453)][_0x4bb97a(0x2ed)]?_0x3f54d9[_0x4bb97a(0x453)][_0x4bb97a(0x393)]:_0x1b3e6a,_0x3f5f1c=_0x1777e9===_0x3f54d9[_0x4bb97a(0x453)][_0x4bb97a(0x44f)]?_0x3f54d9[_0x4bb97a(0x1d5)]['Row']:_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x393)];_0x515c56[_0x4bb97a(0x227)](_0x1777e9,_0x515c56[_0x4bb97a(0x2e7)](_0x3f5f1c));}}else{if(_0x3d67ad&&(_0x25032d===_0x3f54d9['PivotTableFiledAreaEnum'][_0x4bb97a(0x44f)]||_0x25032d===_0x3f54d9[_0x4bb97a(0x1d5)]['Column'])){const _0x4a8727=_0x3d67ad[_0x4bb97a(0x35d)](),_0x28db36=_0x515c56['getDataFieldByTableId'](_0x4a8727);if(_0x28db36&&(_0x28db36==null?void 0x0:_0x28db36[_0x4bb97a(0x21d)]())===_0x3f54d9['PivotDataFieldDataTypeEnum'][_0x4bb97a(0x37e)]){const _0x5e6ef5=_0x28db36[_0x4bb97a(0x2ee)]();if(_0x5e6ef5&&_0x515c56[_0x4bb97a(0x354)](_0x3d67ad['getId'](),_0x5e6ef5),!_0x3f7f93['getFieldIds']()[_0x4bb97a(0x435)](_0x296a91=>{const _0x3dee93=_0x4bb97a,_0x1b96d0=_0x3f7f93[_0x3dee93(0x45e)](_0x296a91);return _0x3f54d9['isDateGroupField'](_0x1b96d0)?_0x1b96d0[_0x3dee93(0x20b)]()[_0x3dee93(0x3e5)]===_0x4fb9df:!0x1;})){const _0x4af198=_0x145abf['createDataFieldId'](),_0x8b2c6=_0x471d00(_0x28db36[_0x4bb97a(0x1de)],_0x28db36[_0x4bb97a(0x2ce)]),_0x19d462=_0x28db36[_0x4bb97a(0x482)]()+'\x20-\x20'+_0x134215(this[_0x4bb97a(0x2d6)],_0x8b2c6),_0x349a33=new _0x3f54d9[(_0x4bb97a(0x4b4))](_0x4af198,_0x19d462,_0x3f54d9[_0x4bb97a(0x441)](0x3),_0x28db36[_0x4bb97a(0x35d)](),_0x8b2c6);_0x145abf[_0x4bb97a(0x213)](_0x349a33),_0x3f7f93[_0x4bb97a(0x325)](_0x4af198,_0x19d462),_0x515c56[_0x4bb97a(0x4a4)](_0x4af198,_0x25032d,(_0x3bd706!=null?_0x3bd706:0x0)+0x1),_0x58568=_0x349a33;}}}}const _0x21fa55=_0x515c56['isEmpty'](),_0x2e8dc2=_0x515c56[_0x4bb97a(0x306)]()[_0x4bb97a(0x212)]();let _0x20edd1;if(_0x58568){_0x20edd1=_0x58568[_0x4bb97a(0x212)]();const _0x31147a=_0x58568[_0x4bb97a(0x35d)]();_0x3f7f93[_0x4bb97a(0x297)](_0x31147a);let _0x3980ba=!0x0;for(const _0x32ac9d in _0x145abf[_0x4bb97a(0x32f)])if(_0x145abf['collections'][_0x32ac9d][_0x4bb97a(0x1f0)]()['includes'](_0x31147a)){_0x3980ba=!0x1;break;}_0x3980ba&&_0x145abf['deleteDataField'](_0x31147a);}const _0x28fd7f=_0x515c56[_0x4bb97a(0x3a7)]();_0x3a86e1[_0x4bb97a(0x38c)]={'view':_0x2e8dc2,'changesets':_0x28fd7f,'isEmpty':_0x21fa55,'pivotTableConfig':_0x1b4182,'shouldBeAddedGroupJSON':_0x20edd1};}break;case _0x125767[_0x4bb97a(0x2cb)]:{const _0x40739c=_0x1ea159[_0x4bb97a(0x358)][_0x4bb97a(0x405)];if(!_0x40739c)return;const _0x1f2194=_0x40739c[_0x4bb97a(0x4c3)],_0x4b4dac=_0x40739c[_0x4bb97a(0x230)],{collection:_0x29c4d8}=this[_0x4bb97a(0x323)][_0x4bb97a(0x23a)]({'unitId':_0x1f2194[_0x4bb97a(0x3ce)],'sheetName':_0x1f2194[_0x4bb97a(0x3ff)],'subUnitId':_0x1f2194[_0x4bb97a(0x3f5)],'range':_0x1f2194[_0x4bb97a(0x2eb)]}),_0x17f3aa=new _0x3f54d9[(_0x4bb97a(0x349))](_0x29c4d8,void 0x0,_0x4b4dac),_0x503df5=_0x17f3aa[_0x4bb97a(0x306)](),_0x168dce=_0x17f3aa[_0x4bb97a(0x212)](),_0x56d29a=_0x29c4d8[_0x4bb97a(0x212)]();_0x3a86e1['addPivotTable']={'view':_0x503df5,'fieldsConfig':_0x168dce,'collectionConfig':_0x56d29a,'isEmpty':_0x17f3aa[_0x4bb97a(0x296)]()};}break;case _0x125767[_0x4bb97a(0x37d)]:{const _0xcf4ad8=_0x1ea159[_0x4bb97a(0x358)][_0x4bb97a(0x2a3)];if(!_0xcf4ad8)return;const {fieldId:_0x11b6e0,area:_0x57d565,index:_0x5600e0}=_0xcf4ad8,_0x3993bd=this[_0x4bb97a(0x323)][_0x4bb97a(0x2dc)](_0x43ba08,_0x54fe8b,_0x558614);if(!_0x3993bd)return;const _0x5dd2d8=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x558614);if(!_0x5dd2d8)return;_0x5dd2d8[_0x4bb97a(0x285)]();const {area:_0x398704,index:_0x24e951}=_0x5dd2d8[_0x4bb97a(0x45b)](_0x11b6e0);if(_0x5dd2d8[_0x4bb97a(0x264)](_0x11b6e0,_0x57d565,_0x5600e0),_0x57d565===_0x3f54d9['PivotTableFiledAreaEnum'][_0x4bb97a(0x255)]&&_0x5dd2d8['getTableFieldById'](_0x11b6e0)['getSubtotal']()===void 0x0){const _0x9c28=_0x5dd2d8[_0x4bb97a(0x470)](_0x11b6e0);if(_0x9c28&&_0x9c28[_0x4bb97a(0x479)]()===void 0x0){const _0xc0776e=_0x5dd2d8['getDataFieldByTableId'](_0x11b6e0);if(_0xc0776e){const _0x28d20c=_0xc0776e==null?void 0x0:_0xc0776e[_0x4bb97a(0x21d)]();_0x5dd2d8[_0x4bb97a(0x326)](_0x11b6e0,_0x28d20c===_0x3f54d9[_0x4bb97a(0x3d7)][_0x4bb97a(0x457)]?_0x3f54d9[_0x4bb97a(0x1ca)][_0x4bb97a(0x3f3)]:_0x3f54d9[_0x4bb97a(0x1ca)]['count']);}}}const _0x48bbab=_0x5dd2d8[_0x4bb97a(0x254)](),_0x17858e=_0x5dd2d8[_0x4bb97a(0x315)](),_0x3cdf48=_0x5dd2d8['getFieldCountByArea'](_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x255)])>0x1;if(_0x3cdf48&&_0x398704===_0x57d565&&(_0x57d565===_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x44f)]&&_0x48bbab===_0x3f54d9['PivotTableValuePositionEnum'][_0x4bb97a(0x44f)]||_0x57d565===_0x3f54d9['PivotTableFiledAreaEnum']['Column']&&_0x48bbab===_0x3f54d9[_0x4bb97a(0x453)]['Column'])){let _0x1b2c0a=_0x17858e;_0x24e951<=_0x17858e&&_0x1b2c0a--,_0x5600e0<=_0x17858e&&_0x1b2c0a++,_0x5dd2d8[_0x4bb97a(0x227)](_0x48bbab,_0x1b2c0a);}else _0x3cdf48&&(_0x398704===_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x44f)]&&_0x48bbab===_0x3f54d9[_0x4bb97a(0x453)][_0x4bb97a(0x44f)]||_0x398704===_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x393)]&&_0x48bbab===_0x3f54d9['PivotTableValuePositionEnum'][_0x4bb97a(0x393)])&&_0x17858e>=_0x24e951&&_0x5dd2d8['updateValuePosition'](_0x48bbab,_0x17858e-0x1),_0x3cdf48&&(_0x57d565===_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x44f)]&&_0x48bbab===_0x3f54d9[_0x4bb97a(0x453)]['Row']||_0x57d565===_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x393)]&&_0x48bbab===_0x3f54d9[_0x4bb97a(0x453)]['Column'])&&_0x17858e>=_0x5600e0&&_0x5dd2d8['updateValuePosition'](_0x48bbab,_0x17858e+0x1);const _0x54da6a=_0x5dd2d8[_0x4bb97a(0x306)](),_0x2cb2f6=_0x5dd2d8[_0x4bb97a(0x296)](),_0x50aca6=_0x5dd2d8[_0x4bb97a(0x3a7)]();_0x3a86e1[_0x4bb97a(0x2a3)]={'view':_0x54da6a[_0x4bb97a(0x212)](),'changesets':_0x50aca6,'isEmpty':_0x2cb2f6,'pivotTableConfig':_0x3993bd};}break;case _0x125767['RemovePivotField']:{const _0x3aad69=_0x1ea159[_0x4bb97a(0x358)][_0x4bb97a(0x4ba)];if(!_0x3aad69)return;const _0x2c1445=_0x3aad69[_0x4bb97a(0x401)],_0x327848=this[_0x4bb97a(0x323)]['getPivotTableConfig'](_0x43ba08,_0x54fe8b,_0x558614);if(!_0x327848)return!0x1;const _0x26bf37=this[_0x4bb97a(0x323)]['getPivotTableInstance'](_0x558614);if(!_0x26bf37)return!0x1;_0x26bf37[_0x4bb97a(0x285)]();for(const _0x138bca of _0x2c1445){const {area:_0x5333c2}=_0x26bf37[_0x4bb97a(0x45b)](_0x138bca);_0x5333c2===_0x3f54d9['PivotTableFiledAreaEnum']['Value']&&_0x26bf37[_0x4bb97a(0x375)](_0x138bca),(_0x5333c2===_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x44f)]||_0x5333c2===_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x393)])&&_0x26bf37[_0x4bb97a(0x2b8)](_0x138bca),_0x26bf37[_0x4bb97a(0x2a1)](_0x138bca);}const _0x16d714=_0x26bf37[_0x4bb97a(0x296)](),_0x351340=_0x26bf37['query']()[_0x4bb97a(0x212)](),_0x5ed1f8=_0x26bf37[_0x4bb97a(0x3a7)]();_0x3a86e1['removePivotField']={'changesets':_0x5ed1f8,'pivotTableConfig':_0x327848,'isEmpty':_0x16d714,'view':_0x351340};}break;case _0x125767[_0x4bb97a(0x1fb)]:{const _0x50e88f=_0x1ea159[_0x4bb97a(0x358)][_0x4bb97a(0x289)];if(!_0x50e88f)return;const {tableFieldId:_0x18fa9d,items:_0x205183,isAll:_0x57e661}=_0x50e88f,_0x42b076=this[_0x4bb97a(0x323)]['getPivotTableInstance'](_0x558614),_0xc71a5c=this[_0x4bb97a(0x323)][_0x4bb97a(0x2dc)](_0x43ba08,_0x54fe8b,_0x558614);if(!_0x42b076||!_0xc71a5c)return;_0x42b076[_0x4bb97a(0x285)](),_0x42b076[_0x4bb97a(0x304)](_0x18fa9d,{'type':_0x3f54d9['PivotFilterTypeEnum'][_0x4bb97a(0x409)],'list':_0x205183,'isAll':_0x57e661});const _0x347aef=_0x42b076[_0x4bb97a(0x296)](),_0x5b785c=_0x42b076['query']()[_0x4bb97a(0x212)](),_0x369500=_0x42b076[_0x4bb97a(0x3a7)]();_0x3a86e1['setPivotFilter']={'view':_0x5b785c,'changesets':_0x369500,'isEmpty':_0x347aef,'pivotTableConfig':_0xc71a5c};}break;case _0x125767['SetValuePivotFilter']:{const _0x560ab2=_0x1ea159[_0x4bb97a(0x358)][_0x4bb97a(0x1d7)];if(!_0x560ab2)return;const {tableFieldId:_0x38ac3c,filterInfo:_0x18da30}=_0x560ab2,_0x125495=this[_0x4bb97a(0x323)]['getPivotTableInstance'](_0x558614),_0x35a2f1=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x43ba08,_0x54fe8b,_0x558614);if(!_0x125495||!_0x35a2f1)return;_0x125495[_0x4bb97a(0x285)](),_0x125495['setValueFilterInfo'](_0x38ac3c,_0x18da30);const _0x1bdd69=_0x125495[_0x4bb97a(0x296)](),_0x3beafe=_0x125495['query']()[_0x4bb97a(0x212)](),_0x4552f6=_0x125495[_0x4bb97a(0x3a7)]();_0x3a86e1[_0x4bb97a(0x1d7)]={'view':_0x3beafe,'changesets':_0x4552f6,'isEmpty':_0x1bdd69,'pivotTableConfig':_0x35a2f1};}break;case _0x125767[_0x4bb97a(0x3ab)]:{const _0x204aa1=_0x1ea159[_0x4bb97a(0x358)][_0x4bb97a(0x1e7)];if(!_0x204aa1)return;const {tableFieldId:_0x25b45f,info:_0x55f8dd}=_0x204aa1,_0x411997=this['_sheetsPivotDataSourceModel'][_0x4bb97a(0x2ad)](_0x558614),_0x41741b=this[_0x4bb97a(0x323)][_0x4bb97a(0x2dc)](_0x43ba08,_0x54fe8b,_0x558614);if(!_0x411997||!_0x41741b)return;_0x411997[_0x4bb97a(0x285)](),_0x411997[_0x4bb97a(0x314)](_0x25b45f,_0x55f8dd);const _0x1a13aa=_0x411997[_0x4bb97a(0x296)](),_0x374543=_0x411997[_0x4bb97a(0x306)]()[_0x4bb97a(0x212)](),_0x35a0d1=_0x411997[_0x4bb97a(0x3a7)]();_0x3a86e1[_0x4bb97a(0x1e7)]={'view':_0x374543,'changesets':_0x35a0d1,'isEmpty':_0x1a13aa,'pivotTableConfig':_0x41741b};}break;case _0x125767['SetPivotSetting']:{const _0xff9228=_0x1ea159[_0x4bb97a(0x358)]['setPivotSetting'];if(!_0xff9228)return;const {tableFieldId:_0x41313d,displayName:_0x3dd54e,subtotalType:_0x405760,format:_0x1f7b4a}=_0xff9228,_0x5a020b=this[_0x4bb97a(0x323)][_0x4bb97a(0x2ad)](_0x558614),_0x976827=this[_0x4bb97a(0x323)][_0x4bb97a(0x2dc)](_0x43ba08,_0x54fe8b,_0x558614);if(!_0x5a020b||!_0x976827)return;_0x5a020b[_0x4bb97a(0x285)](),_0x3dd54e!==void 0x0&&_0x5a020b[_0x4bb97a(0x261)](_0x41313d,_0x3dd54e),_0x405760!==void 0x0&&_0x5a020b[_0x4bb97a(0x326)](_0x41313d,_0x405760),_0x1f7b4a!==void 0x0&&_0x5a020b['setFieldFormat'](_0x41313d,_0x1f7b4a);const _0x4e00be=_0x5a020b[_0x4bb97a(0x296)](),_0x20f9ff=_0x5a020b[_0x4bb97a(0x306)]()['toJSON'](),_0x148aba=_0x5a020b['endCollectChangeset']();_0x3a86e1[_0x4bb97a(0x39a)]={'changesets':_0x148aba,'pivotTableConfig':_0x976827,'isEmpty':_0x4e00be,'view':_0x20f9ff};}break;case _0x125767[_0x4bb97a(0x408)]:{const _0x5c9ceb=_0x1ea159['params'][_0x4bb97a(0x248)];if(!_0x5c9ceb)return;const {dataRangeInfo:_0x160521,unitId:_0x46a23a,subUnitId:_0x3fe52a}=_0x5c9ceb,_0x17ee79=this[_0x4bb97a(0x323)]['getPivotTableConfig'](_0x46a23a,_0x3fe52a,_0x558614),_0x4f69e4=this['_sheetsPivotDataSourceModel'][_0x4bb97a(0x2ad)](_0x558614);if(!this['_sheetsPivotDataSourceModel']['getCollection'](_0x46a23a,_0x558614)||!_0x4f69e4||!_0x17ee79)return;const _0x54cd21=this[_0x4bb97a(0x323)][_0x4bb97a(0x4bc)](_0x46a23a,_0x558614,_0x160521),_0x2201e6=this[_0x4bb97a(0x323)][_0x4bb97a(0x40c)](_0x46a23a,_0x558614)['toJSON'](),{collection:_0x15e030}=this['_sheetsPivotDataSourceModel'][_0x4bb97a(0x23a)]({'unitId':_0x160521[_0x4bb97a(0x3ce)],'sheetName':_0x160521[_0x4bb97a(0x3ff)],'subUnitId':_0x160521['subUnitId'],'range':_0x160521['range']}),_0x21154b=_0x15e030[_0x4bb97a(0x212)]();_0x4f69e4['startCollectChangeset']();const _0x585071=this[_0x4bb97a(0x323)][_0x4bb97a(0x3ef)](_0x46a23a)[_0x4bb97a(0x307)]()||_0x3f54d9[_0x4bb97a(0x2c3)];_0x4f69e4[_0x4bb97a(0x1d1)](_0x3e5d81=>{const _0x4031d6=_0x4bb97a,_0x5057f2=_0x3e5d81[_0x4031d6(0x3a1)]();if(!_0x15e030['hasField'](_0x5057f2)){const _0x5d9229=_0x15e030[_0x4031d6(0x2df)](_0x3e5d81['getSourceName']());if(_0x5d9229){_0x4f69e4[_0x4031d6(0x353)](_0x3e5d81[_0x4031d6(0x35d)](),_0x5d9229['getName'](),_0x5d9229[_0x4031d6(0x35d)]());const {area:_0x3eb89b}=_0x4f69e4['getFieldPositionInfoById'](_0x3e5d81['getId']());let _0x3efad7=_0x3e5d81[_0x4031d6(0x1f6)]();const _0x4e586e=_0x3e5d81[_0x4031d6(0x229)]();if(_0x3eb89b===_0x3f54d9['PivotTableFiledAreaEnum']['Value']){const _0x311bca=_0x3e5d81[_0x4031d6(0x479)]();_0x3efad7=_0x585071(_0x5d9229[_0x4031d6(0x482)](),_0x311bca);}_0x4e586e!==_0x3efad7&&_0x4f69e4[_0x4031d6(0x261)](_0x3e5d81[_0x4031d6(0x35d)](),_0x3efad7);}else _0x4f69e4['removeField'](_0x3e5d81[_0x4031d6(0x35d)]());}});const _0x46d4dc=_0x4f69e4['isEmpty'](),_0x40f4ba=_0x4f69e4[_0x4bb97a(0x306)]()[_0x4bb97a(0x212)](),_0x1b285f=_0x4f69e4[_0x4bb97a(0x3a7)]();_0x3a86e1['updatePivotSource']={'view':_0x40f4ba,'changesets':_0x1b285f,'isEmpty':_0x46d4dc,'pivotTableConfig':_0x17ee79,'collectionConfig':_0x21154b,'oldCollectionConfig':_0x2201e6,'deleteIds':_0x54cd21};}break;case _0x125767['UpdateValuePosition']:{const _0x45a9d3=_0x1ea159[_0x4bb97a(0x358)]['updateValuePosition'];if(!_0x45a9d3)return;const {position:_0x2bd9ed,index:_0x301f53}=_0x45a9d3,_0x589423=this[_0x4bb97a(0x323)][_0x4bb97a(0x2dc)](_0x43ba08,_0x54fe8b,_0x558614);if(!_0x589423)return!0x1;const _0x4ceb93=this[_0x4bb97a(0x323)][_0x4bb97a(0x2ad)](_0x558614);if(!_0x4ceb93)return!0x1;_0x4ceb93['startCollectChangeset'](),_0x4ceb93[_0x4bb97a(0x227)](_0x2bd9ed,_0x301f53);const _0x4ac4ae=_0x4ceb93[_0x4bb97a(0x296)](),_0x30028f=_0x4ceb93[_0x4bb97a(0x306)]()[_0x4bb97a(0x212)](),_0x2f93bd=_0x4ceb93['endCollectChangeset']();_0x3a86e1[_0x4bb97a(0x227)]={'changesets':_0x2f93bd,'pivotTableConfig':_0x589423,'isEmpty':_0x4ac4ae,'view':_0x30028f};}break;case _0x125767[_0x4bb97a(0x210)]:{const _0x59dac5=_0x1ea159['params'][_0x4bb97a(0x395)];if(!_0x59dac5)return;const {tableFieldId:_0x4e8433,collapse:_0x5a79d5,item:_0x2320fb}=_0x59dac5,_0x73a0b3=this[_0x4bb97a(0x323)][_0x4bb97a(0x2ad)](_0x558614),_0x391770=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x43ba08,_0x54fe8b,_0x558614);if(!_0x73a0b3||!_0x391770)return;_0x73a0b3['startCollectChangeset'](),_0x73a0b3[_0x4bb97a(0x4bd)](_0x4e8433,_0x5a79d5,_0x2320fb);const _0x31994b=_0x73a0b3[_0x4bb97a(0x296)](),_0x22dc7c=_0x73a0b3[_0x4bb97a(0x306)]()[_0x4bb97a(0x212)](),_0x112789=_0x73a0b3[_0x4bb97a(0x3a7)]();_0x3a86e1[_0x4bb97a(0x395)]={'view':_0x22dc7c,'isEmpty':_0x31994b,'pivotTableConfig':_0x391770,'changesets':_0x112789};}break;case _0x125767[_0x4bb97a(0x44b)]:{const _0x3f53e2=_0x1ea159['params']['setPivotTableConfig'];if(!_0x3f53e2)return;const {pivotTableConfig:_0x3f117f}=_0x3f53e2,_0x251d89=this[_0x4bb97a(0x323)][_0x4bb97a(0x2ad)](_0x558614),_0x19dd4e=this['_sheetsPivotDataSourceModel'][_0x4bb97a(0x2dc)](_0x43ba08,_0x54fe8b,_0x558614);if(!_0x251d89||!_0x19dd4e)return;_0x251d89[_0x4bb97a(0x285)](),_0x681f5d(_0x251d89,_0x3f117f);const _0x487fa9=_0x251d89['isEmpty'](),_0x1dc536=_0x251d89[_0x4bb97a(0x306)]()[_0x4bb97a(0x212)](),_0x4bb2be=_0x251d89[_0x4bb97a(0x3a7)]();_0x3a86e1[_0x4bb97a(0x1ed)]={'view':_0x1dc536,'isEmpty':_0x487fa9,'pivotTableConfig':{..._0x19dd4e,'fieldsConfig':_0x251d89[_0x4bb97a(0x212)]()},'changesets':_0x4bb2be};}break;case _0x125767[_0x4bb97a(0x317)]:{const _0x4e522b=_0x1ea159[_0x4bb97a(0x358)][_0x4bb97a(0x424)];if(!_0x4e522b)return;const _0x389b02=this[_0x4bb97a(0x323)][_0x4bb97a(0x2ad)](_0x558614),_0x5bf2ac=this[_0x4bb97a(0x323)][_0x4bb97a(0x2dc)](_0x43ba08,_0x54fe8b,_0x558614);if(!_0x389b02||!_0x5bf2ac)return;_0x389b02['startCollectChangeset'](),_0x4fc550(_0x389b02,_0x4e522b[_0x4bb97a(0x242)]);const _0x5cdda9=_0x389b02[_0x4bb97a(0x306)]()[_0x4bb97a(0x212)](),_0xbcefe4=_0x389b02[_0x4bb97a(0x3a7)]();_0x3a86e1['resetPivotTable']={'view':_0x5cdda9,'isEmpty':!0x0,'pivotTableConfig':{..._0x5bf2ac,'fieldsConfig':_0x389b02[_0x4bb97a(0x212)]()},'changesets':_0xbcefe4};}break;case _0x125767[_0x4bb97a(0x484)]:{const _0x202e7c=_0x1ea159[_0x4bb97a(0x358)]['addPivotTableWithConfig'];if(!_0x202e7c)return;const _0x23a9ab=_0x202e7c[_0x4bb97a(0x4c3)],_0x39c1e4=_0x202e7c[_0x4bb97a(0x230)],{collection:_0x1a3128}=this['_sheetsPivotDataSourceModel'][_0x4bb97a(0x23a)]({'unitId':_0x23a9ab['unitId'],'sheetName':_0x23a9ab['sheetName'],'subUnitId':_0x23a9ab[_0x4bb97a(0x3f5)],'range':_0x23a9ab[_0x4bb97a(0x2eb)]}),_0x1c68dd=new _0x3f54d9[(_0x4bb97a(0x349))](_0x1a3128,void 0x0,_0x39c1e4),_0x14ea53=_0x1a3128[_0x4bb97a(0x1f0)](),{rows:_0x5d3a10,columns:_0x534fb2,filters:_0x45976e,values:_0x267d51}=_0x202e7c['pivotTableIndexConfig'];_0x1c68dd[_0x4bb97a(0x285)]();for(const {field:_0x30f888,selectedItems:_0x47509b}of _0x5d3a10||[]){const _0x5126c3=_0x14ea53[_0x30f888];if(_0x5126c3){const _0x474158=_0x1c68dd[_0x4bb97a(0x4a4)](_0x5126c3,_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x44f)]);_0x47509b&&_0x474158&&_0x1c68dd[_0x4bb97a(0x304)](_0x474158[_0x4bb97a(0x35d)](),{'type':_0x3f54d9[_0x4bb97a(0x342)][_0x4bb97a(0x409)],'list':_0x47509b,'isAll':!0x1});}}for(const {field:_0x2e76b2,selectedItems:_0xab0f2d}of _0x534fb2||[]){const _0x3b2292=_0x14ea53[_0x2e76b2];if(_0x3b2292){const _0x304418=_0x1c68dd[_0x4bb97a(0x4a4)](_0x3b2292,_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x393)]);_0xab0f2d&&_0x304418&&_0x1c68dd['setLabelFilterInfo'](_0x304418['getId'](),{'type':_0x3f54d9['PivotFilterTypeEnum'][_0x4bb97a(0x409)],'list':_0xab0f2d,'isAll':!0x1});}}for(const {field:_0x539d8c,selectedItems:_0x2a1eb1}of _0x45976e||[]){const _0x4d7852=_0x14ea53[_0x539d8c];if(_0x4d7852){const _0x3d8371=_0x1c68dd['addFieldWithSourceId'](_0x4d7852,_0x3f54d9['PivotTableFiledAreaEnum'][_0x4bb97a(0x455)]);_0x2a1eb1&&_0x3d8371&&_0x1c68dd[_0x4bb97a(0x304)](_0x3d8371['getId'](),{'type':_0x3f54d9[_0x4bb97a(0x342)][_0x4bb97a(0x409)],'list':_0x2a1eb1,'isAll':!0x1});}}for(const {field:_0x2dcb64,subTotalType:_0x4bc94e,formatString:_0x181967}of _0x267d51||[]){const _0xcbec84=_0x1a3128[_0x4bb97a(0x45e)](_0x14ea53[_0x2dcb64]);if(!_0xcbec84)continue;const _0x5d3bae=_0x14ea53[_0x2dcb64];if(_0x5d3bae){const _0x3b188a=_0x1c68dd[_0x4bb97a(0x4a4)](_0x5d3bae,_0x3f54d9[_0x4bb97a(0x1d5)][_0x4bb97a(0x255)]);if(_0x3b188a){if(_0x4bc94e!==void 0x0){_0x1c68dd[_0x4bb97a(0x326)](_0x3b188a[_0x4bb97a(0x35d)](),_0x4bc94e);const _0x372763=this[_0x4bb97a(0x323)][_0x4bb97a(0x3ef)](_0x23a9ab['unitId'])[_0x4bb97a(0x307)]()||_0x3f54d9[_0x4bb97a(0x2c3)],_0x49dca4=_0x1a3128[_0x4bb97a(0x229)](_0x5d3bae),_0x13d6c3=_0x372763(_0x49dca4,_0x4bc94e);_0x1c68dd[_0x4bb97a(0x261)](_0x3b188a[_0x4bb97a(0x35d)](),_0x13d6c3);}else{if(_0xcbec84){const _0x484765=_0xcbec84==null?void 0x0:_0xcbec84[_0x4bb97a(0x21d)]();_0x1c68dd[_0x4bb97a(0x326)](_0x3b188a[_0x4bb97a(0x35d)](),_0x484765===_0x3f54d9['PivotDataFieldDataTypeEnum'][_0x4bb97a(0x457)]?_0x3f54d9[_0x4bb97a(0x1ca)]['sum']:_0x3f54d9[_0x4bb97a(0x1ca)][_0x4bb97a(0x32b)]);}}_0x181967&&_0x1c68dd[_0x4bb97a(0x354)](_0x3b188a[_0x4bb97a(0x35d)](),_0x181967);}}}const _0x4f72b8=_0x1c68dd[_0x4bb97a(0x306)](),_0x39abf5=_0x1c68dd[_0x4bb97a(0x212)](),_0x4ba318=_0x1c68dd['isEmpty'](),_0x22b06c=_0x1c68dd[_0x4bb97a(0x3a7)](),_0x325dbc=_0x1a3128[_0x4bb97a(0x212)]();_0x3a86e1['addPivotTableWithConfig']={'view':_0x4f72b8,'fieldsConfig':_0x39abf5,'collectionConfig':_0x325dbc,'isEmpty':_0x4ba318,'changesets':_0x22b06c};}break;case _0x125767[_0x4bb97a(0x2a2)]:{const _0x1e1b3b=_0x4d64eb(this[_0x4bb97a(0x2d6)],_0x1ea159);if(!_0x1e1b3b)return;const {range:_0x183ca0,sourceSubUnitId:_0x2ae55e,sourceUnitId:_0x2bbdb4,formatMap:_0x282f06,indexes:_0x298f97}=_0x1e1b3b;_0x3a86e1[_0x4bb97a(0x252)]={'range':_0x183ca0,'sourceSubUnitId':_0x2ae55e,'sourceUnitId':_0x2bbdb4,'formatMap':_0x282f06,'indexes':_0x298f97};}break;}this[_0x4bb97a(0x337)][_0x4bb97a(0x1b2)](_0x232fbc['id'],{'version':_0x1ea159['version'],'result':_0x3a86e1},{'onlyLocal':!0x0});}));}[_0x29437c(0x3a0)](){const _0x5ed14e=_0x29437c;this[_0x5ed14e(0x1ae)](this['_commandService'][_0x5ed14e(0x27f)](_0x24f611=>{const _0x327a19=_0x5ed14e;if(_0x24f611['id']!==_0x5f1e8f['id'])return;const _0x1470f4=_0x24f611[_0x327a19(0x358)];return this[_0x327a19(0x323)][_0x327a19(0x4bb)](_0x1470f4['textInfo']),!0x0;}));}[_0x29437c(0x292)](){const _0x3bac29=_0x29437c;this[_0x3bac29(0x323)][_0x3bac29(0x4ae)][_0x3bac29(0x3f2)](_0x4598d1=>{const _0x2b9f45=_0x3bac29;switch(_0x4598d1[_0x2b9f45(0x4bf)]){case _0x40c7ce[_0x2b9f45(0x4b8)]:_0x4598d1[_0x2b9f45(0x29f)]&&_0x4598d1[_0x2b9f45(0x376)]&&this[_0x2b9f45(0x33b)](_0x4598d1[_0x2b9f45(0x27c)],_0x4598d1[_0x2b9f45(0x29f)],_0x4598d1[_0x2b9f45(0x376)]);break;case _0x40c7ce[_0x2b9f45(0x370)]:{const {unitId:_0x3ce683,subUnitId:_0x2c3188,token:_0x30709b}=_0x4598d1;_0x3ce683&&_0x2c3188&&_0x30709b&&this[_0x2b9f45(0x2bc)](_0x3ce683,_0x2c3188,_0x30709b);}break;case _0x40c7ce[_0x2b9f45(0x247)]:{const {token:_0x5e203b,oldSourceRangeInfo:_0x49fb70,dataRangeInfo:_0x4e9d0c,targetCellInfo:_0x5e9b09}=_0x4598d1,{unitId:_0x4f493d,subUnitId:_0x51cff2}=_0x49fb70||{};_0x4f493d&&_0x51cff2&&_0x5e203b&&this[_0x2b9f45(0x2bc)](_0x4f493d,_0x51cff2,_0x5e203b),_0x4e9d0c&&_0x5e9b09&&this[_0x2b9f45(0x33b)](_0x5e203b,_0x4e9d0c,_0x5e9b09);}break;}});}['_subjectFieldsCollectionChange'](){const _0x13133a=_0x29437c;this['_sheetsPivotDataSourceModel']['fieldsCollectionChange$'][_0x13133a(0x3f2)](_0x313f1f=>{Object['keys'](_0x313f1f)['forEach'](_0x46a1a4=>{const _0x20cf1a=_0x1756,_0x238e26=this['_sheetsPivotDataSourceModel'][_0x20cf1a(0x232)](_0x46a1a4);if(_0x238e26){const _0x3e1e76=this[_0x20cf1a(0x323)][_0x20cf1a(0x2dc)](_0x238e26==null?void 0x0:_0x238e26['unitId'],_0x238e26==null?void 0x0:_0x238e26[_0x20cf1a(0x3f5)],_0x46a1a4);_0x3e1e76&&(this[_0x20cf1a(0x33b)](_0x46a1a4,_0x3e1e76[_0x20cf1a(0x4c3)],_0x3e1e76[_0x20cf1a(0x376)]),this[_0x20cf1a(0x258)]([{'unitId':_0x238e26[_0x20cf1a(0x3ce)],'subUnitId':_0x238e26[_0x20cf1a(0x3f5)],'token':_0x46a1a4}]));}});});}['_subjectViewChange'](){const _0x468cd0=_0x29437c;this[_0x468cd0(0x323)][_0x468cd0(0x389)][_0x468cd0(0x3f2)](_0x39807e=>{const _0x53175b=_0x468cd0,{unitId:_0x3bcb72,subUnitId:_0x32f0c0,pivotTableId:_0x59b8c7}=_0x39807e;_0x3bcb72&&_0x32f0c0&&_0x59b8c7&&this[_0x53175b(0x258)]([{'unitId':_0x3bcb72,'subUnitId':_0x32f0c0,'token':_0x59b8c7}]);});}[_0x29437c(0x258)](_0xef73f3){const _0x1e7b7e=_0x29437c,_0xdb476e={};_0xef73f3['forEach'](_0xda2fec=>{var _0x21c280,_0x26ecec;const {unitId:_0x1e8c60,subUnitId:_0x5dc751,token:_0x49b5c5}=_0xda2fec;_0xdb476e[_0x1e8c60]=(_0x21c280=_0xdb476e[_0x1e8c60])!=null?_0x21c280:{},_0xdb476e[_0x1e8c60][_0x5dc751]=(_0x26ecec=_0xdb476e[_0x1e8c60][_0x5dc751])!=null?_0x26ecec:{},_0xdb476e[_0x1e8c60][_0x5dc751][_0x49b5c5]=!0x0;}),this[_0x1e7b7e(0x337)][_0x1e7b7e(0x1b2)](_0x2c4e1b['id'],_0xdb476e);}['removeSourceRangeChange'](_0x39284a,_0x33ba2c,_0x3acda9){const _0x3c77ca=_0x29437c;this[_0x3c77ca(0x224)][_0x3c77ca(0x36f)](_0x39284a,_0x33ba2c,[_0x3acda9]);}[_0x29437c(0x33b)](_0x5a1ea2,_0x907492,_0x34cf1e){const _0x2d929f=_0x29437c,{unitId:_0x57209d,subUnitId:_0x4da2ec}=_0x907492;this[_0x2d929f(0x224)][_0x2d929f(0x339)](_0x34cf1e['unitId'],_0x34cf1e[_0x2d929f(0x3f5)],_0x5a1ea2)&&this[_0x2d929f(0x2bc)](_0x57209d,_0x4da2ec,_0x5a1ea2);const _0x4ebf87={'sheetId':_0x4da2ec,..._0x907492};this['_featureCalculationManagerService'][_0x2d929f(0x43c)](_0x34cf1e[_0x2d929f(0x3ce)],_0x34cf1e[_0x2d929f(0x3f5)],_0x5a1ea2,{'unitId':_0x34cf1e[_0x2d929f(0x3ce)],'subUnitId':_0x34cf1e[_0x2d929f(0x3f5)],'dependencyRanges':[_0x4ebf87],'getDirtyData':(_0x97f0f3,_0x4b7949)=>{const _0x5d7a62=_0x2d929f,_0x49d217=this['_sheetsPivotDataSourceModel'],_0x4b5c0e=_0x49d217[_0x5d7a62(0x232)](_0x5a1ea2);if(!_0x4b5c0e)return _0x4cae06();const {unitId:_0x5250f4,subUnitId:_0x40b0cb}=_0x4b5c0e,_0x2656d3=_0x1da8e7(_0x97f0f3,_0x4b7949,_0x907492);if(_0x2656d3[_0x5d7a62(0x259)]>0x0){const _0x4621c2=_0x49d217[_0x5d7a62(0x40c)](_0x57209d,_0x5a1ea2),_0x43ca2f=_0x4621c2[_0x5d7a62(0x1f0)](),_0x1b1b04=this[_0x5d7a62(0x2b4)](_0x907492['unitId'],_0x907492['subUnitId'],_0x4b7949),_0x1d63c0={},_0x13956b=this['_sheetsPivotDataSourceModel'][_0x5d7a62(0x3ef)](_0x5250f4)[_0x5d7a62(0x307)]()||_0x3f54d9[_0x5d7a62(0x2c3)],_0x315379=[];for(const _0x190384 of _0x2656d3){const _0x447801=_0x190384-(_0x907492['range'][_0x5d7a62(0x3d6)]||0x0),_0x32a562=_0x43ca2f[_0x447801];_0x315379[_0x5d7a62(0x436)](_0x32a562),_0x1d63c0[_0x32a562]=_0x4621c2[_0x5d7a62(0x45e)](_0x32a562)['getName'](),_0x49d217[_0x5d7a62(0x3ef)](_0x57209d)[_0x5d7a62(0x4b5)](_0x32a562,_0x907492,_0x447801,_0x1b1b04);}_0x4621c2[_0x5d7a62(0x2a9)](_0x315379)[_0x5d7a62(0x300)](_0x4efcd8=>{const _0x1cfcdd=_0x5d7a62,[_0x34692c,_0x45eb0d]=_0x4efcd8,_0x3334d8=_0x4621c2[_0x1cfcdd(0x45e)](_0x34692c),_0x534e1f=_0x4621c2[_0x1cfcdd(0x45e)](_0x45eb0d);_0x3334d8&&_0x534e1f&&_0x3334d8[_0x1cfcdd(0x1fd)](_0x534e1f);}),_0x4621c2[_0x5d7a62(0x30c)]();const _0x5dd021=_0x49d217[_0x5d7a62(0x2ad)](_0x5a1ea2);if(_0x5dd021){_0x186605(_0x5dd021,_0x1d63c0,_0x13956b),_0x5dd021[_0x5d7a62(0x387)](!0x0);const _0x18c1da=_0x5dd021[_0x5d7a62(0x306)](),_0x2adbc9=_0x49d217[_0x5d7a62(0x2dc)](_0x5250f4,_0x40b0cb,_0x5a1ea2),_0x48a3e9=_0x49d217[_0x5d7a62(0x3ef)](_0x57209d)[_0x5d7a62(0x212)]();_0x49d217['updateView'](_0x5250f4,_0x40b0cb,_0xc3c280[_0x5d7a62(0x43a)],_0x5a1ea2,_0x18c1da,_0x2adbc9,_0x48a3e9,!0x0);}}return this[_0x5d7a62(0x338)](_0x5250f4,_0x40b0cb,_0x5a1ea2);}});}[_0x29437c(0x2b4)](_0x768c12,_0x5ee0ad,_0x4c135d){var _0x233155,_0x44013b;const {arrayFormulaCellData:_0x5de9d0,unitData:_0x32a9bc}=_0x4c135d,_0x2741e1=(_0x233155=_0x5de9d0==null?void 0x0:_0x5de9d0[_0x768c12])==null?void 0x0:_0x233155[_0x5ee0ad],_0x101cfc=(_0x44013b=_0x32a9bc==null?void 0x0:_0x32a9bc[_0x768c12])==null?void 0x0:_0x44013b[_0x5ee0ad];return{'arrayFormulaCellDataMatrix':_0x2741e1,'unitDataMatrix':_0x101cfc};}[_0x29437c(0x338)](_0x5c4bdd,_0x238e95,_0x6292f6){const _0x1d9de1=_0x29437c,_0x2288d7=this[_0x1d9de1(0x323)][_0x1d9de1(0x45c)](_0x5c4bdd,_0x238e95,_0x6292f6),_0xc08b68=[],_0x4b58df=new _0x555844[(_0x1d9de1(0x48a))]();if(_0x2288d7){const {rangeCache:_0x2fd0bd,matrix:_0x2ca2c3,oldRangeCache:_0x49df0e,oldMatrix:_0x14e2a4}=_0x2288d7,_0x385129=_0x2c3da1(_0x49df0e),_0x5e84e0=_0x2c3da1(_0x2fd0bd);_0xc08b68[_0x1d9de1(0x436)](..._0x5e84e0,..._0x385129),_0x14e2a4&&_0x49df0e&&_0x385129[_0x1d9de1(0x300)](_0x27dbf9=>{const _0x9c111b=_0x1d9de1;for(let _0x48b649=_0x27dbf9['startRow'];_0x48b649<=_0x27dbf9[_0x9c111b(0x3d8)];_0x48b649++)for(let _0x50a62b=_0x27dbf9[_0x9c111b(0x3d6)];_0x50a62b<=_0x27dbf9[_0x9c111b(0x2b1)];_0x50a62b++)_0x4b58df[_0x9c111b(0x2bb)](_0x48b649,_0x50a62b);}),_0x2ca2c3&&_0x5e84e0&&_0x5e84e0['forEach'](_0x4e602c=>{const _0x56e595=_0x1d9de1;for(let _0x16eafd=_0x4e602c[_0x56e595(0x1d2)];_0x16eafd<=_0x4e602c[_0x56e595(0x3d8)];_0x16eafd++)for(let _0x5d1ae2=_0x4e602c[_0x56e595(0x3d6)];_0x5d1ae2<=_0x4e602c[_0x56e595(0x2b1)];_0x5d1ae2++)_0x4b58df[_0x56e595(0x1d9)](_0x16eafd,_0x5d1ae2,_0x2ca2c3[_0x56e595(0x2b5)](_0x16eafd,_0x5d1ae2));});}const _0x3052da={};return _0x3052da[_0x5c4bdd]={[_0x238e95]:_0x516aa7(_0xc08b68)},{'runtimeCellData':{[_0x5c4bdd]:{[_0x238e95]:_0x4b58df}},'dirtyRanges':_0x3052da};}['dispose'](){}};_0x4855ae=_0x46f217([_0x344072(0x0,_0x555844[_0x29437c(0x351)](_0x24ce63['SheetsPivotDataSourceModel'])),_0x344072(0x1,_0x555844['Inject'](_0x132492[_0x29437c(0x23d)])),_0x344072(0x2,_0x555844[_0x29437c(0x351)](_0x555844['ICommandService'])),_0x344072(0x3,_0x555844['Inject'](_0x132492[_0x29437c(0x30d)])),_0x344072(0x4,_0x555844[_0x29437c(0x351)](_0x555844['Injector']))],_0x4855ae);var _0x4688ac=Object[_0x29437c(0x42e)],_0x3d4342=(_0x4b5784,_0x229cb6,_0x712ce5,_0x202235)=>{const _0x5088c2=_0x29437c;for(var _0x4bf89d=_0x202235>0x1?void 0x0:_0x202235?_0x4688ac(_0x229cb6,_0x712ce5):_0x229cb6,_0x367a59=_0x4b5784[_0x5088c2(0x259)]-0x1,_0x55587b;_0x367a59>=0x0;_0x367a59--)(_0x55587b=_0x4b5784[_0x367a59])&&(_0x4bf89d=_0x55587b(_0x4bf89d)||_0x4bf89d);return _0x4bf89d;},_0xe53fdd=(_0x4dbf42,_0x340bf8)=>(_0x1dcd69,_0x15bc73)=>_0x340bf8(_0x1dcd69,_0x15bc73,_0x4dbf42);let _0x10ec82=class extends _0x555844[_0x29437c(0x1ea)]{constructor(_0x20074a,_0x14d1a3,_0x58b13c,_0x18d736){const _0x6a0b91=_0x29437c;super(),_0x528485(this,_0x6a0b91(0x3ac),new _0x555844[(_0x6a0b91(0x31f))]()),(this[_0x6a0b91(0x3c4)]=_0x20074a,this[_0x6a0b91(0x2b6)]=_0x14d1a3,this[_0x6a0b91(0x3a5)]=_0x58b13c,this['_sheetsPivotTableConfigModel']=_0x18d736,this[_0x6a0b91(0x34c)]());}[_0x29437c(0x34c)](){const _0x21da81=_0x29437c;this['disposeWithMe'](this[_0x21da81(0x2b6)][_0x21da81(0x2a7)]({'getMutations':_0x40585a=>{const _0x5837de=_0x21da81;if(_0x40585a['id']===_0x402aa8['ClearSelectionContentCommand']['id']||_0x40585a['id']===_0x402aa8[_0x5837de(0x1e0)]['id']){const _0x3a8404=[],_0x28ee81=[],_0x2eba38=this[_0x5837de(0x3a5)]['getCurrentSelections']()[_0x5837de(0x1c6)](_0x2db0be=>_0x2db0be[_0x5837de(0x2eb)]),_0x88e3ee=_0x402aa8[_0x5837de(0x21f)](this[_0x5837de(0x3c4)]);if(!_0x88e3ee)return{'redos':[],'undos':[]};const {unitId:_0x1ea83b,subUnitId:_0x10a079}=_0x88e3ee,_0x4c95b5={},_0x4bae33=this[_0x5837de(0x460)][_0x5837de(0x45f)](_0x1ea83b,_0x10a079);if(_0x4bae33!=null&&_0x4bae33[_0x5837de(0x3e9)])for(const [_0x42d616,_0x5355ff]of _0x4bae33){const {unitId:_0x5586c8,subUnitId:_0x3f80ab,row:_0x57447c,col:_0x53ed2a}=_0x5355ff['targetCellInfo'];_0x5586c8===_0x88e3ee['unitId']&&_0x3f80ab===_0x88e3ee['subUnitId']&&(_0x4c95b5[_0x57447c+'-'+_0x53ed2a]=_0x42d616);}return _0x2eba38&&_0x88e3ee&&_0x2eba38[_0x5837de(0x300)](_0x5d8684=>{const _0x152808=_0x5837de;_0x555844['Range'][_0x152808(0x2de)](_0x5d8684,(_0x35e638,_0x2deead)=>{const _0x309d95=_0x152808,_0x48dec5=_0x35e638+'-'+_0x2deead;if(_0x4c95b5[_0x48dec5]){const _0x275d4a=_0x4c95b5[_0x48dec5];_0x3a8404[_0x309d95(0x436)]({'id':_0x364b92['id'],'params':{'unitId':_0x1ea83b,'subUnitId':_0x10a079,'pivotTableId':_0x275d4a}});const _0xe798a5=this[_0x309d95(0x460)][_0x309d95(0x40c)](_0x1ea83b,_0x275d4a),_0x54c041=this[_0x309d95(0x460)]['getPivotTableConfig'](_0x1ea83b,_0x10a079,_0x275d4a);_0x28ee81[_0x309d95(0x436)]({'id':_0x265e5a['id'],'params':{'unitId':_0x1ea83b,'subUnitId':_0x10a079,'pivotTableId':_0x275d4a,'pivotTableConfig':_0x54c041,'collectionConfig':_0xe798a5}});}});}),{'redos':_0x3a8404,'undos':_0x28ee81};}return{'redos':[],'undos':[]};}}));}};_0x10ec82=_0x3d4342([_0xe53fdd(0x0,_0x555844[_0x29437c(0x273)]),_0xe53fdd(0x1,_0x555844[_0x29437c(0x351)](_0x402aa8[_0x29437c(0x2c0)])),_0xe53fdd(0x2,_0x555844[_0x29437c(0x351)](_0x402aa8[_0x29437c(0x477)])),_0xe53fdd(0x3,_0x555844[_0x29437c(0x351)](_0x24ce63[_0x29437c(0x206)]))],_0x10ec82);var _0x3df386=Object[_0x29437c(0x42e)],_0x55035b=(_0x2a5129,_0x112f0b,_0xf09b43,_0x15b8e6)=>{for(var _0x369b7d=_0x15b8e6>0x1?void 0x0:_0x15b8e6?_0x3df386(_0x112f0b,_0xf09b43):_0x112f0b,_0x28183b=_0x2a5129['length']-0x1,_0x3ce462;_0x28183b>=0x0;_0x28183b--)(_0x3ce462=_0x2a5129[_0x28183b])&&(_0x369b7d=_0x3ce462(_0x369b7d)||_0x369b7d);return _0x369b7d;},_0x306220=(_0x341c9f,_0x7a7f65)=>(_0x4e7514,_0x57d30b)=>_0x7a7f65(_0x4e7514,_0x57d30b,_0x341c9f);let _0x236a54=class extends _0x555844[_0x29437c(0x1ea)]{constructor(_0x2d65d3,_0xf915f4,_0x59c56c,_0x1a2c4c,_0x4d2f81){const _0x264a65=_0x29437c;super(),this['_sheetInterceptorService']=_0x2d65d3,this[_0x264a65(0x2d6)]=_0xf915f4,this[_0x264a65(0x3c4)]=_0x59c56c,this[_0x264a65(0x460)]=_0x1a2c4c,this[_0x264a65(0x2f5)]=_0x4d2f81,this['_initCommandInterceptListener']();}[_0x29437c(0x241)](_0x15533f,_0x24eab9,_0xe4d583){const _0x4a8d19=_0x29437c,{pageView:_0x45fa1b,cornerView:_0x165467,rowView:_0x3af16a,colView:_0x490bab,dataView:_0x56b238}=_0x24eab9,_0x49d5c0=_0x15533f;let _0x351435;if(_0xe4d583)_0x351435=[..._0x457858(_0x49d5c0)];else{const _0x225fd2=_0x32d47c(_0x49d5c0,_0x45fa1b,!0x0),_0x1df839=_0x45fa1b[_0x4a8d19(0x497)]>=0x0?_0x45fa1b[_0x4a8d19(0x497)]+0x1:0x0,_0x363f87=_0x165467[_0x4a8d19(0x35c)],_0x3937c6=_0x165467['colCount'],_0x56cb9e=_0x225fd2[_0x4a8d19(0x259)]>0x0?_0x413b87:0x0,_0x59545d=_0x32d47c({'row':_0x49d5c0[_0x4a8d19(0x33d)]+_0x1df839+_0x56cb9e,'col':_0x49d5c0[_0x4a8d19(0x205)]},_0x165467,!0x1,!0x1),_0x22ab12=_0x32d47c({'row':_0x49d5c0[_0x4a8d19(0x33d)]+_0x1df839+_0x56cb9e+_0x363f87,'col':_0x49d5c0[_0x4a8d19(0x205)]},_0x3af16a,!0x1,!0x0),_0x3dfe41=_0x32d47c({'row':_0x49d5c0[_0x4a8d19(0x33d)]+_0x1df839+_0x56cb9e,'col':_0x49d5c0[_0x4a8d19(0x205)]+_0x3937c6},_0x490bab,!0x1,!0x0),_0x368a5b=_0x32d47c({'row':_0x49d5c0[_0x4a8d19(0x33d)]+_0x1df839+_0x56cb9e+_0x363f87,'col':_0x49d5c0[_0x4a8d19(0x205)]+_0x3937c6},_0x56b238,!0x1,!0x0);_0x351435=[..._0x225fd2,..._0x59545d,..._0x22ab12,..._0x3dfe41,..._0x368a5b];}return _0x351435;}[_0x29437c(0x440)](){const _0x221216=_0x29437c;this[_0x221216(0x1ae)](this[_0x221216(0x2f5)]['interceptor'][_0x221216(0x3ee)](this[_0x221216(0x2f5)][_0x221216(0x272)][_0x221216(0x492)]()[_0x221216(0x322)],{'handler':(_0x45cb5f,_0x38de63)=>{const _0x13842a=_0x221216,{cellInfo:_0x185636,view:_0x54f06a,isEmpty:_0x355182}=_0x38de63,_0x1999f9=_0x185636,{unitId:_0x2b39e7,subUnitId:_0x5c8e4d}=_0x1999f9,_0x491173=this[_0x13842a(0x241)](_0x185636,_0x54f06a,_0x355182),_0x52df34=this[_0x13842a(0x2b6)][_0x13842a(0x1cd)]({'unitId':_0x2b39e7,'subUnitId':_0x5c8e4d,'ranges':_0x491173}),_0x3a6bda=_0x13c0e9(this[_0x13842a(0x2d6)],_0x2b39e7,_0x5c8e4d,_0x491173);_0x3a6bda['shouldClear']&&(_0x52df34[_0x13842a(0x4c2)]['push'](_0x3a6bda['setRangeValueRedoMutation']),_0x52df34[_0x13842a(0x1cb)][_0x13842a(0x436)](_0x3a6bda[_0x13842a(0x32e)]));const _0x25cded=this[_0x13842a(0x345)](_0x54f06a,_0x185636);return _0x52df34[_0x13842a(0x4c2)][_0x13842a(0x436)](..._0x25cded['redos']),_0x52df34[_0x13842a(0x1cb)][_0x13842a(0x436)](..._0x25cded[_0x13842a(0x1cb)]),{'redos':_0x52df34[_0x13842a(0x4c2)],'undos':_0x52df34[_0x13842a(0x1cb)]};}}));}['getAutoFitColumnsMutations'](_0x56bc70,_0x2d110f){const _0x2e912c=_0x29437c,{col:_0x1ad1e8,unitId:_0x28260b,subUnitId:_0xed139e}=_0x2d110f,_0x40c9e3=[],_0x87d331=[],_0x1ca6f3=_0x402aa8[_0x2e912c(0x21f)](this[_0x2e912c(0x3c4)],{'unitId':_0x28260b,'subUnitId':_0xed139e});if(!_0x2d110f||!_0x56bc70||!_0x1ca6f3)return{'undos':_0x87d331,'redos':_0x40c9e3};const _0x2f068c=this['_sheetsPivotTableConfigModel']['getTextInfo'](),{colView:_0x1e5a08,dataView:_0x5d4e23,cornerView:_0x2afc49,rowView:_0x4caa5a,formatMap:_0x22ed01}=_0x56bc70,_0x2575f1=_0xe11e88(_0x1e5a08,_0x2f068c,!0x0,_0x22ed01),_0x301014=_0xe11e88(_0x4caa5a,_0x2f068c,!0x1,_0x22ed01),_0x9eb97b=_0x3e7e46(_0x5d4e23),_0x72e09c=_0x599954(_0x2afc49),{worksheet:_0x5d24ca}=_0x1ca6f3;if(typeof window<'u'&&window[_0x2e912c(0x3cd)]){const _0x585797=_0x1e8ab7['getFontStyleString']({..._0x368c25[_0x2e912c(0x226)]}),_0x1ef489=_0x1e8ab7[_0x2e912c(0x2ba)][_0x2e912c(0x3b3)](_0x2575f1,_0x585797)[_0x2e912c(0x381)]+0x10,_0x465744=_0x1e8ab7['FontCache'][_0x2e912c(0x3b3)](_0x9eb97b,_0x585797)[_0x2e912c(0x381)],_0x13eb8e=Math[_0x2e912c(0x2a4)](Math[_0x2e912c(0x262)](_0x1ef489,_0x465744))+0x10,_0x1faae4=Math[_0x2e912c(0x2a4)](_0x1e8ab7[_0x2e912c(0x2ba)][_0x2e912c(0x3b3)](_0x301014,_0x585797)[_0x2e912c(0x381)]),_0x462357=Math[_0x2e912c(0x2a4)](_0x1e8ab7[_0x2e912c(0x2ba)][_0x2e912c(0x3b3)](_0x72e09c,_0x585797)['width']),_0x4201e6=Math[_0x2e912c(0x262)](_0x1faae4,_0x462357,0x28)+0xc,_0x3e22ec=_0x1e5a08[_0x2e912c(0x437)]+_0x2afc49[_0x2e912c(0x437)],_0x51a4d8={},_0x36a678={};for(let _0x3ff2ca=_0x1ad1e8;_0x3ff2ca<_0x1ad1e8+_0x3e22ec;_0x3ff2ca++){const _0x3225c2=_0x5d24ca['getColumnWidth'](_0x3ff2ca);_0x51a4d8[_0x3ff2ca]=_0x3225c2,_0x3ff2ca-_0x1ad1e8<_0x2afc49[_0x2e912c(0x437)]?_0x36a678[_0x3ff2ca-_0x1ad1e8]=_0x4201e6:_0x36a678[_0x3ff2ca-_0x1ad1e8]=_0x13eb8e;}_0x40c9e3[_0x2e912c(0x436)]({'id':_0x402aa8[_0x2e912c(0x209)]['id'],'params':{'subUnitId':_0xed139e,'unitId':_0x28260b,'ranges':[{'startColumn':_0x1ad1e8,'endColumn':_0x1ad1e8+_0x3e22ec-0x1,'startRow':0x0,'endRow':_0x5d24ca[_0x2e912c(0x3cb)]()-0x1}],'colWidth':_0x36a678}}),_0x87d331[_0x2e912c(0x436)]({'id':_0x402aa8[_0x2e912c(0x209)]['id'],'params':{'subUnitId':_0xed139e,'unitId':_0x28260b,'ranges':[{'startColumn':_0x1ad1e8,'endColumn':_0x1ad1e8+_0x3e22ec-0x1,'startRow':0x0,'endRow':_0x5d24ca[_0x2e912c(0x3cb)]()-0x1}],'colWidth':_0x51a4d8}});}return{'undos':_0x87d331,'redos':_0x40c9e3};}};_0x236a54=_0x55035b([_0x306220(0x0,_0x555844[_0x29437c(0x351)](_0x402aa8[_0x29437c(0x2c0)])),_0x306220(0x1,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x30a)])),_0x306220(0x2,_0x555844['Inject'](_0x555844[_0x29437c(0x273)])),_0x306220(0x3,_0x555844[_0x29437c(0x351)](_0x24ce63['SheetsPivotTableConfigModel'])),_0x306220(0x4,_0x555844[_0x29437c(0x351)](_0x24ce63[_0x29437c(0x3a3)]))],_0x236a54);var _0x5abd36=Object[_0x29437c(0x42e)],_0x2cda3e=(_0x1f9427,_0x1fd806,_0x1a804f,_0x47c6f9)=>{const _0x3ae5dc=_0x29437c;for(var _0xec15eb=_0x47c6f9>0x1?void 0x0:_0x47c6f9?_0x5abd36(_0x1fd806,_0x1a804f):_0x1fd806,_0x323d3b=_0x1f9427[_0x3ae5dc(0x259)]-0x1,_0x4abf45;_0x323d3b>=0x0;_0x323d3b--)(_0x4abf45=_0x1f9427[_0x323d3b])&&(_0xec15eb=_0x4abf45(_0xec15eb)||_0xec15eb);return _0xec15eb;},_0x48d5ba=(_0x195c72,_0x3b887f)=>(_0x22374a,_0x111ff5)=>_0x3b887f(_0x22374a,_0x111ff5,_0x195c72);let _0x45c0ea=class extends _0x555844['Disposable']{constructor(_0x360f31,_0x187bb5,_0x49d734,_0x21c9be,_0x24fc59,_0x51d823,_0x996511){const _0x59616f=_0x29437c;super(),_0x528485(this,'disposableCollection',new _0x555844['DisposableCollection']()),(this[_0x59616f(0x2d6)]=_0x360f31,this['_refRangeService']=_0x187bb5,this['_commandService']=_0x49d734,this[_0x59616f(0x3c4)]=_0x21c9be,this[_0x59616f(0x460)]=_0x24fc59,this[_0x59616f(0x2f1)]=_0x51d823,this[_0x59616f(0x2b6)]=_0x996511,this[_0x59616f(0x407)]());}[_0x29437c(0x407)](){const _0x21da62=_0x29437c,_0x270889=(_0x384c5f,_0x4c4708)=>{const _0x1ac7c2=_0x1756,_0x5b7602=this['_univerInstanceService'][_0x1ac7c2(0x256)](_0x555844[_0x1ac7c2(0x33e)][_0x1ac7c2(0x215)]);if(!_0x5b7602||!(_0x5b7602==null?void 0x0:_0x5b7602[_0x1ac7c2(0x3b5)](_0x4c4708)))return;this['disposableCollection'][_0x1ac7c2(0x28c)]();const _0x9314b1=_0x5d9247=>this[_0x1ac7c2(0x3d1)](_0x5d9247,_0x384c5f,_0x4c4708),_0x597603=this[_0x1ac7c2(0x460)]['getSubUnitPivotConfigs'](_0x384c5f,_0x4c4708);if(!(_0x597603!=null&&_0x597603[_0x1ac7c2(0x3e9)]))return;Array[_0x1ac7c2(0x3a8)](_0x597603[_0x1ac7c2(0x383)]())[_0x1ac7c2(0x1c6)](_0x5e2ea2=>{const _0xb390ce=_0x1ac7c2,{row:_0x4ced4b,col:_0x1ea2ac}=_0x5e2ea2[_0xb390ce(0x376)];return _0x555844[_0xb390ce(0x3e4)](_0x4ced4b,_0x1ea2ac);})[_0x1ac7c2(0x300)](_0x40059b=>{const _0x39b3a6=_0x1ac7c2;this[_0x39b3a6(0x3ac)][_0x39b3a6(0x4b8)](this['_refRangeService'][_0x39b3a6(0x2b9)](_0x40059b,_0x9314b1,_0x384c5f,_0x4c4708));});},_0x5182ba=()=>{const _0x7859e0=_0x1756,_0x2d90ea=this['_univerInstanceService'][_0x7859e0(0x256)](_0x555844['UniverInstanceType']['UNIVER_SHEET']);if(_0x2d90ea){const _0x4d7cef=_0x2d90ea['getActiveSheet']();if(!_0x4d7cef)return;_0x270889(_0x2d90ea[_0x7859e0(0x3af)](),_0x4d7cef['getSheetId']());}};this[_0x21da62(0x1ae)](this[_0x21da62(0x337)][_0x21da62(0x27f)](_0xc31482=>{const _0x17a7c6=_0x21da62;if(_0xc31482['id']===_0x402aa8[_0x17a7c6(0x3ad)]['id']){const _0x489846=_0xc31482['params'],_0x1f1421=_0x489846['subUnitId'],_0x3dbe27=_0x489846[_0x17a7c6(0x3ce)];if(!_0x1f1421||!_0x3dbe27)return;_0x270889(_0x3dbe27,_0x1f1421);}})),this['disposeWithMe'](this[_0x21da62(0x460)]['pivotInitCompleted$']['subscribe'](_0x55d3a3=>{_0x55d3a3&&_0x5182ba();})),this[_0x21da62(0x1ae)](this['_sheetsPivotTableConfigModel'][_0x21da62(0x23b)][_0x21da62(0x3f2)](_0x954a7e=>{const _0x5a10cd=_0x21da62,_0x2853e8=_0x402aa8[_0x5a10cd(0x21f)](this[_0x5a10cd(0x3c4)]);if(!_0x2853e8)return;const {unitId:_0x3e5368,subUnitId:_0x5cacc0}=_0x2853e8,{unitId:_0xee858a,subUnitId:_0x4b83fb}=_0x954a7e;_0x3e5368!==_0xee858a||_0x5cacc0!==_0x4b83fb||_0x270889(_0x3e5368,_0x5cacc0);})),_0x5182ba();}[_0x29437c(0x3d1)](_0x26f321,_0x4eff8a,_0x3c6da0){const _0x39e5e2=_0x29437c;switch(_0x26f321['id']){case _0x402aa8['MoveRangeCommand']['id']:return this[_0x39e5e2(0x3c9)](_0x26f321['params'],_0x4eff8a,_0x3c6da0);}return{'redos':[],'undos':[]};}[_0x29437c(0x3c9)](_0x2b455b,_0x3a2c3f,_0x14dbcd){const _0x1e4008=_0x29437c,{fromRange:_0x400ef9,toRange:_0x3f01fd}=_0x2b455b,_0x386fc3=[],_0x451c73=[],_0x1ec1d8=_0x402aa8[_0x1e4008(0x21f)](this[_0x1e4008(0x3c4)]);if(!_0x1ec1d8)return{'undos':_0x451c73,'redos':_0x386fc3};if(_0x3a2c3f!==_0x1ec1d8[_0x1e4008(0x3ce)]||_0x14dbcd!==_0x1ec1d8[_0x1e4008(0x3f5)])return{'undos':_0x451c73,'redos':_0x386fc3};const _0x2f3e09=this['_sheetsPivotTableConfigModel'][_0x1e4008(0x45f)](_0x3a2c3f,_0x14dbcd);if(_0x2f3e09!=null&&_0x2f3e09['size'])for(const [_0x5e38da,_0x346158]of _0x2f3e09){const {unitId:_0x19d37c,subUnitId:_0x22427b,row:_0x3074fe,col:_0x5a8b27}=_0x346158[_0x1e4008(0x376)];if(_0x19d37c===_0x1ec1d8[_0x1e4008(0x3ce)]&&_0x22427b===_0x1ec1d8[_0x1e4008(0x3f5)]){const _0x2e38ec=_0x555844[_0x1e4008(0x3e4)](_0x3074fe,_0x5a8b27);if(_0x555844[_0x1e4008(0x318)][_0x1e4008(0x3cc)](_0x2e38ec,_0x400ef9)){const _0x265849=_0x3074fe-_0x400ef9[_0x1e4008(0x1d2)],_0x30482e=_0x5a8b27-_0x400ef9[_0x1e4008(0x3d6)],_0x418530={'row':_0x3f01fd['startRow']+_0x265849,'col':_0x3f01fd['startColumn']+_0x30482e};_0x386fc3['push']({'id':_0x521e1b['id'],'params':{'unitId':_0x19d37c,'subUnitId':_0x22427b,'pivotTableId':_0x5e38da,'targetCellPosition':_0x418530}}),_0x451c73[_0x1e4008(0x436)]({'id':_0x521e1b['id'],'params':{'unitId':_0x19d37c,'subUnitId':_0x22427b,'pivotTableId':_0x5e38da,'targetCellPosition':{'row':_0x3074fe,'col':_0x5a8b27}}});const _0x5c5123=_0x418530[_0x1e4008(0x33d)]-_0x3074fe,_0x2c8ffd=_0x418530[_0x1e4008(0x205)]-_0x5a8b27,_0x900a61=[],_0x5e384d=this[_0x1e4008(0x2f1)][_0x1e4008(0x214)](_0x19d37c,_0x22427b,_0x5e38da),_0xeea67c=_0x5e384d==null?void 0x0:_0x5e384d['rangesInfo'];if(_0xeea67c){Object[_0x1e4008(0x1b0)](_0xeea67c)['forEach'](_0x44ad68=>{const _0x4f9a39=_0x1e4008;_0xeea67c[_0x44ad68][_0x4f9a39(0x300)](_0x1819bf=>{const _0x2f2921=_0x4f9a39,_0x3997ac={..._0x1819bf};_0x3997ac[_0x2f2921(0x1d2)]=_0x1819bf[_0x2f2921(0x1d2)]+_0x5c5123,_0x3997ac['endRow']=_0x1819bf[_0x2f2921(0x3d8)]+_0x5c5123,_0x3997ac[_0x2f2921(0x3d6)]=_0x1819bf[_0x2f2921(0x3d6)]+_0x2c8ffd,_0x3997ac['endColumn']=_0x1819bf[_0x2f2921(0x2b1)]+_0x2c8ffd,_0x900a61['push'](_0x3997ac);});});const _0x27aaff=this[_0x1e4008(0x2b6)][_0x1e4008(0x1cd)]({'unitId':_0x19d37c,'subUnitId':_0x22427b,'ranges':_0x900a61});_0x386fc3[_0x1e4008(0x436)](..._0x27aaff[_0x1e4008(0x4c2)]),_0x451c73[_0x1e4008(0x436)](..._0x27aaff['undos']);const _0x348b7b=_0x13c0e9(this[_0x1e4008(0x2d6)],_0x19d37c,_0x22427b,_0x900a61);_0x348b7b[_0x1e4008(0x3be)]&&(_0x386fc3['push'](_0x348b7b[_0x1e4008(0x359)]),_0x451c73[_0x1e4008(0x436)](_0x348b7b[_0x1e4008(0x32e)]));}}}}return{'redos':_0x386fc3,'undos':_0x451c73};}};_0x45c0ea=_0x2cda3e([_0x48d5ba(0x0,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x30a)])),_0x48d5ba(0x1,_0x555844['Inject'](_0x402aa8[_0x29437c(0x24c)])),_0x48d5ba(0x2,_0x555844[_0x29437c(0x386)]),_0x48d5ba(0x3,_0x555844[_0x29437c(0x273)]),_0x48d5ba(0x4,_0x555844[_0x29437c(0x351)](_0x24ce63[_0x29437c(0x206)])),_0x48d5ba(0x5,_0x555844['Inject'](_0x24ce63['SheetsPivotTableAdaptorModel'])),_0x48d5ba(0x6,_0x555844['Inject'](_0x402aa8[_0x29437c(0x2c0)]))],_0x45c0ea);var _0x2bc9d0=Object['getOwnPropertyDescriptor'],_0x2f9935=(_0x41f9e8,_0x591bd6,_0x94c960,_0x45df69)=>{const _0x5db839=_0x29437c;for(var _0x1bda8=_0x45df69>0x1?void 0x0:_0x45df69?_0x2bc9d0(_0x591bd6,_0x94c960):_0x591bd6,_0x56ec5e=_0x41f9e8[_0x5db839(0x259)]-0x1,_0x3e46ae;_0x56ec5e>=0x0;_0x56ec5e--)(_0x3e46ae=_0x41f9e8[_0x56ec5e])&&(_0x1bda8=_0x3e46ae(_0x1bda8)||_0x1bda8);return _0x1bda8;},_0x1a2b77=(_0x30c945,_0x2794c9)=>(_0x33416a,_0x982a24)=>_0x2794c9(_0x33416a,_0x982a24,_0x30c945);let _0x34a2d8=class extends _0x555844[_0x29437c(0x1ea)]{constructor(_0x8de1c1,_0x3d09b9){const _0x4ac454=_0x29437c;super(),this[_0x4ac454(0x2b6)]=_0x8de1c1,this[_0x4ac454(0x460)]=_0x3d09b9,this[_0x4ac454(0x3f8)]();}[_0x29437c(0x3f8)](){const _0x4cbbd7=_0x29437c;this[_0x4cbbd7(0x1ae)](this[_0x4cbbd7(0x2b6)][_0x4cbbd7(0x2a7)]({'getMutations':_0x3d4145=>{const _0x4c97a0=_0x4cbbd7;if(_0x3d4145['id']===_0x402aa8[_0x4c97a0(0x1d3)]['id']){const _0x2b772e=[],_0x519f9f=[],_0x1b613e=_0x3d4145['params'],{unitId:_0x43663c,subUnitId:_0x38a43c}=_0x1b613e;if(!_0x43663c||!_0x38a43c)return{'undos':_0x519f9f,'redos':_0x2b772e};const _0x3727c0=this[_0x4c97a0(0x460)][_0x4c97a0(0x45f)](_0x43663c,_0x38a43c);if(_0x3727c0!=null&&_0x3727c0[_0x4c97a0(0x3e9)])for(const [_0x2d40dc,_0x137d19]of _0x3727c0){_0x2b772e[_0x4c97a0(0x436)]({'id':_0x364b92['id'],'params':{'unitId':_0x43663c,'subUnitId':_0x38a43c,'pivotTableId':_0x2d40dc}});const _0x1bb684={...this[_0x4c97a0(0x460)][_0x4c97a0(0x40c)](_0x43663c,_0x2d40dc)};_0x519f9f['push']({'id':_0x265e5a['id'],'params':{'unitId':_0x43663c,'subUnitId':_0x38a43c,'pivotTableId':_0x2d40dc,'pivotTableConfig':_0x137d19,'collectionConfig':_0x1bb684}});}return{'redos':_0x2b772e,'undos':_0x519f9f};}return{'redos':[],'undos':[]};}}));}};_0x34a2d8=_0x2f9935([_0x1a2b77(0x0,_0x555844[_0x29437c(0x351)](_0x402aa8[_0x29437c(0x2c0)])),_0x1a2b77(0x1,_0x555844[_0x29437c(0x351)](_0x24ce63[_0x29437c(0x206)]))],_0x34a2d8);var _0x27946d=Object[_0x29437c(0x42e)],_0x35e810=(_0x9146f1,_0x1e4233,_0x24ab13,_0x162126)=>{const _0x121d6c=_0x29437c;for(var _0x1538eb=_0x162126>0x1?void 0x0:_0x162126?_0x27946d(_0x1e4233,_0x24ab13):_0x1e4233,_0x13e546=_0x9146f1[_0x121d6c(0x259)]-0x1,_0x28ce5e;_0x13e546>=0x0;_0x13e546--)(_0x28ce5e=_0x9146f1[_0x13e546])&&(_0x1538eb=_0x28ce5e(_0x1538eb)||_0x1538eb);return _0x1538eb;},_0xe4c4a8=(_0x32d45b,_0x3eafd1)=>(_0x48f2b7,_0x151834)=>_0x3eafd1(_0x48f2b7,_0x151834,_0x32d45b);let _0x490702=class extends _0x555844[_0x29437c(0x1ea)]{constructor(_0x28e4ab,_0x14c1ad,_0x29a4df,_0x3e6a20,_0x177ff5,_0x4dc142){const _0x140c57=_0x29437c;super(),this['_commandService']=_0x28e4ab,this[_0x140c57(0x319)]=_0x14c1ad,this[_0x140c57(0x2f1)]=_0x29a4df,this['_sheetsPivotTableConfigModel']=_0x3e6a20,this[_0x140c57(0x3c4)]=_0x177ff5,this[_0x140c57(0x200)]=_0x4dc142,this[_0x140c57(0x334)](),this[_0x140c57(0x303)]();}[_0x29437c(0x334)](){const _0x355c79=_0x29437c;this[_0x355c79(0x1ae)](this[_0x355c79(0x337)][_0x355c79(0x27f)](_0x13f523=>{const _0x6aa646=_0x355c79;if(_0x13f523['id']!==_0x232fbc['id'])return;const _0x5324ec=_0x13f523[_0x6aa646(0x358)];this['_sheetsPivotRpcService'][_0x6aa646(0x251)](_0x5324ec);})),this[_0x355c79(0x1ae)](this[_0x355c79(0x337)][_0x355c79(0x27f)](_0x41b787=>{const _0x4f43b2=_0x355c79;if(_0x41b787['id']===_0x1c3780['id']){const _0x45fbda=_0x41b787[_0x4f43b2(0x358)];if(_0x45fbda){const {unitId:_0x4ca116,subUnitId:_0x5c8344,oldSubUnitId:_0x12b4a8,pivotTableId:_0x5ec16c,pivotTableConfig:_0x117dd9,collectionConfig:_0x4d460d}=_0x45fbda;this[_0x4f43b2(0x460)][_0x4f43b2(0x308)](_0x4ca116,_0x12b4a8,_0x45fbda[_0x4f43b2(0x230)],null),this[_0x4f43b2(0x460)][_0x4f43b2(0x308)](_0x4ca116,_0x5c8344,_0x5ec16c,_0x117dd9),this[_0x4f43b2(0x460)]['updateCollectionConfig'](_0x4ca116,_0x4d460d);}}})),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x417520=>{const _0x5c2844=_0x355c79;if(_0x417520['id']!==_0x2d4f5e['id'])return;const _0x1a5cb3=_0x402aa8['getSheetCommandTarget'](this[_0x5c2844(0x3c4)]);if(!_0x1a5cb3)return;const {unitId:_0x5e5a39,subUnitId:_0x26faa5}=_0x1a5cb3,_0x3a3ea9=_0x417520['params'];if(_0x3a3ea9[_0x5c2844(0x46f)]&&Object['keys'](_0x3a3ea9[_0x5c2844(0x46f)])[_0x5c2844(0x300)](_0x18f1d5=>{const _0x4d92c9=_0x5c2844;var _0x1cba04;(_0x1cba04=_0x3a3ea9[_0x4d92c9(0x46f)])!=null&&_0x1cba04[_0x18f1d5]&&this[_0x4d92c9(0x460)][_0x4d92c9(0x29d)](_0x18f1d5,_0x3a3ea9[_0x4d92c9(0x46f)][_0x18f1d5]);}),_0x3a3ea9['single']){const _0x233b02=_0x3a3ea9[_0x5c2844(0x1f5)],{unitId:_0x38fe3f,subUnitId:_0x573f4b,view:_0x2133a8,pivotTableId:_0x21cbcd,type:_0x12f8b8,pivotConfig:_0xabb9d8}=_0x233b02;if(_0x12f8b8===_0xc3c280['Delete'])this[_0x5c2844(0x2f1)]['clearRenderCache']({'unitId':_0x38fe3f,'subUnitId':_0x573f4b,'pivotTableId':_0x21cbcd,'type':_0x12f8b8}),this[_0x5c2844(0x460)][_0x5c2844(0x308)](_0x38fe3f,_0x573f4b,_0x21cbcd,null);else{const _0x1ad4a2=new _0x3f54d9[(_0x5c2844(0x313))]();_0x1ad4a2[_0x5c2844(0x1db)](_0x2133a8),this[_0x5c2844(0x460)][_0x5c2844(0x308)](_0x38fe3f,_0x573f4b,_0x21cbcd,_0xabb9d8),this['_sheetsPivotTableAdaptorModel'][_0x5c2844(0x382)]({'unitId':_0x38fe3f,'subUnitId':_0x573f4b,'pivotTableId':_0x21cbcd,'type':_0x12f8b8,'view':_0x1ad4a2}),this['_sheetsPivotTableAdaptorModel'][_0x5c2844(0x399)]({'unitId':_0x38fe3f,'subUnitId':_0x573f4b,'view':_0x1ad4a2,'pivotTableId':_0x21cbcd,'type':_0x12f8b8});}}else _0x3a3ea9[_0x5c2844(0x22c)]&&(_0x3a3ea9[_0x5c2844(0x22c)][_0x5c2844(0x300)](_0xc1f2ad=>{const _0x318265=_0x5c2844,{unitId:_0x171e8e,subUnitId:_0x56fa6f,view:_0x16ecd4,pivotTableId:_0x298828,type:_0x33cc74,pivotConfig:_0x132a29}=_0xc1f2ad,_0x4aeedb=new _0x3f54d9[(_0x318265(0x313))]();_0x4aeedb[_0x318265(0x1db)](_0x16ecd4),this[_0x318265(0x460)][_0x318265(0x308)](_0x171e8e,_0x56fa6f,_0x298828,_0x132a29),this['_sheetsPivotTableAdaptorModel'][_0x318265(0x399)]({'unitId':_0x171e8e,'subUnitId':_0x56fa6f,'view':_0x4aeedb,'pivotTableId':_0x298828,'type':_0x33cc74});}),this[_0x5c2844(0x460)][_0x5c2844(0x368)]());this[_0x5c2844(0x2f1)][_0x5c2844(0x46b)](_0x5e5a39,_0x26faa5);}));}[_0x29437c(0x303)](){const _0x21bedc=_0x29437c;this[_0x21bedc(0x200)]['register'](_0x2c4e1b['id'],{'commandId':_0x2c4e1b['id'],'getDirtyData'(_0x212f02){const _0x209054=_0x21bedc;return{'dirtyUnitFeatureMap':_0x212f02[_0x209054(0x358)]};}});}};_0x490702=_0x35e810([_0xe4c4a8(0x0,_0x555844['Inject'](_0x555844[_0x29437c(0x386)])),_0xe4c4a8(0x1,_0x555844[_0x29437c(0x351)](_0x24ce63[_0x29437c(0x442)])),_0xe4c4a8(0x2,_0x555844['Inject'](_0x24ce63[_0x29437c(0x2c8)])),_0xe4c4a8(0x3,_0x555844[_0x29437c(0x351)](_0x24ce63[_0x29437c(0x206)])),_0xe4c4a8(0x4,_0x555844[_0x29437c(0x351)](_0x555844['IUniverInstanceService'])),_0xe4c4a8(0x5,_0x132492[_0x29437c(0x3d0)])],_0x490702);var _0x1d3a20=Object[_0x29437c(0x4a1)],_0x220b3a=Object[_0x29437c(0x42e)],_0x2dd309=(_0x1d4c77,_0x23dca2,_0x36c951)=>_0x23dca2 in _0x1d4c77?_0x1d3a20(_0x1d4c77,_0x23dca2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36c951}):_0x1d4c77[_0x23dca2]=_0x36c951,_0x12c2ea=(_0x5868de,_0x28a2dc,_0xdc3272,_0x408d31)=>{for(var _0x3471ae=_0x408d31>0x1?void 0x0:_0x408d31?_0x220b3a(_0x28a2dc,_0xdc3272):_0x28a2dc,_0xf793ce=_0x5868de['length']-0x1,_0x1bc6bd;_0xf793ce>=0x0;_0xf793ce--)(_0x1bc6bd=_0x5868de[_0xf793ce])&&(_0x3471ae=_0x1bc6bd(_0x3471ae)||_0x3471ae);return _0x3471ae;},_0x54e58c=(_0x510a59,_0x4e64f7)=>(_0x4bd3c3,_0x675a9c)=>_0x4e64f7(_0x4bd3c3,_0x675a9c,_0x510a59),_0x3714c7=(_0x153270,_0x538e06,_0x1a3270)=>_0x2dd309(_0x153270,typeof _0x538e06!=_0x29437c(0x270)?_0x538e06+'':_0x538e06,_0x1a3270);_0x24ce63[_0x29437c(0x427)]=class extends _0x555844['Plugin']{constructor(_0x3d51d4=_0x5a7918,_0x940f72,_0x2fb034,_0x57e849,_0x4ef07a){const _0x46ae1c=_0x29437c;super(),this[_0x46ae1c(0x2d3)]=_0x3d51d4,this[_0x46ae1c(0x2d6)]=_0x940f72,this['_commandService']=_0x2fb034,this['_configService']=_0x57e849,this[_0x46ae1c(0x320)]=_0x4ef07a;const {..._0x576afb}=_0x555844['merge']({},_0x5a7918,this[_0x46ae1c(0x2d3)]);this['_configService']['setConfig'](_0x375bf7,_0x576afb),this[_0x46ae1c(0x448)](),this[_0x46ae1c(0x474)]();}[_0x29437c(0x474)](){const _0x17ddf4=_0x29437c;var _0x233a9;const _0x33f1c9=(_0x233a9=this[_0x17ddf4(0x2d3)])==null?void 0x0:_0x233a9[_0x17ddf4(0x416)];this[_0x17ddf4(0x400)][_0x17ddf4(0x2d7)](_0x1437ff,_0x33f1c9===!0x0);}[_0x29437c(0x30b)](){const _0x5f3ad8=_0x29437c;var _0xea4e25;let _0x44ce26=[];const _0x430b01=(_0xea4e25=this[_0x5f3ad8(0x2d3)])==null?void 0x0:_0xea4e25[_0x5f3ad8(0x416)];_0x430b01===!0x0?_0x44ce26=[[_0x24ce63['SheetsPivotTableService']],[_0x24ce63[_0x5f3ad8(0x442)]],[_0x490702],[_0x24ce63[_0x5f3ad8(0x2c8)]],[_0x24ce63['SheetsPivotTableConfigModel']],[_0x34a2d8],[_0x10ec82],[_0x45c0ea],[_0x236a54]]:_0x430b01===!0x1?_0x44ce26=[[_0x24ce63['SheetsPivotDataSourceModel']],[_0x4855ae]]:_0x430b01===void 0x0&&(_0x44ce26=[[_0x24ce63['SheetsPivotDataSourceModel']],[_0x4855ae],[_0x24ce63[_0x5f3ad8(0x3a3)]],[_0x24ce63[_0x5f3ad8(0x442)]],[_0x490702],[_0x24ce63['SheetsPivotTableAdaptorModel']],[_0x24ce63[_0x5f3ad8(0x206)]],[_0x34a2d8],[_0x10ec82],[_0x45c0ea],[_0x236a54]]),_0x44ce26[_0x5f3ad8(0x300)](_0x323938=>this[_0x5f3ad8(0x2d6)][_0x5f3ad8(0x4b8)](_0x323938)),[_0x4855ae,_0x490702,_0x24ce63[_0x5f3ad8(0x3a3)],_0x10ec82,_0x34a2d8,_0x45c0ea,_0x236a54][_0x5f3ad8(0x300)](_0x1dd2a7=>{const _0xd90c3e=_0x5f3ad8;this[_0xd90c3e(0x2d6)][_0xd90c3e(0x339)](_0x1dd2a7)&&this[_0xd90c3e(0x2d6)][_0xd90c3e(0x21b)](_0x1dd2a7);});}[_0x29437c(0x448)](){const _0x14da4b=_0x29437c;[_0x28f31c,_0x2d65ef,_0x12e316,_0x550f6f,_0x3b7b61,_0x417c6f,_0x33d0bb,_0x4db8df,_0x23dfa9,_0x5b51e7,_0x4d6849,_0xeadc6,_0x310da8,_0x1b16c8,_0x265e5a,_0xa98e9e,_0x364b92,_0x3bd948,_0xff388d,_0x568c39,_0x2558db,_0x4d5cec,_0x351b5d,_0x6b877d,_0x2f48f2,_0x2e5c58,_0x521e1b,_0x309158,_0x232fbc,_0x2d4f5e,_0x44de4d,_0x3e019a,_0x3a9e58,_0x499e04,_0x5f1e8f,_0x296d79,_0x476697,_0x2c4e1b,_0x1c3780,_0x1b3c9d,_0x3217bf,_0x1686e2,_0x19ccfd][_0x14da4b(0x300)](_0x47c759=>{const _0x3ea458=_0x14da4b;var _0xbf787;(_0xbf787=this[_0x3ea458(0x320)])==null||_0xbf787[_0x3ea458(0x305)](_0x47c759),this[_0x3ea458(0x337)][_0x3ea458(0x446)](_0x47c759);});}},_0x3714c7(_0x24ce63[_0x29437c(0x427)],_0x29437c(0x271),_0x117208),_0x3714c7(_0x24ce63[_0x29437c(0x427)],'type',_0x555844[_0x29437c(0x33e)]['UNIVER_SHEET']),_0x24ce63[_0x29437c(0x427)]=_0x12c2ea([_0x555844[_0x29437c(0x2cd)](_0x440f6c['UniverLicensePlugin']),_0x54e58c(0x1,_0x555844[_0x29437c(0x351)](_0x555844['Injector'])),_0x54e58c(0x2,_0x555844[_0x29437c(0x351)](_0x555844[_0x29437c(0x386)])),_0x54e58c(0x3,_0x555844[_0x29437c(0x41e)]),_0x54e58c(0x4,_0x555844[_0x29437c(0x23f)](_0x554f49[_0x29437c(0x274)]))],_0x24ce63['UniverSheetsPivotTablePlugin']),_0x24ce63['AddPivotFieldCommand']=_0x12e316,_0x24ce63[_0x29437c(0x3e0)]=_0x3bd948,_0x24ce63[_0x29437c(0x228)]=_0x2d65ef,_0x24ce63[_0x29437c(0x2fb)]=_0x265e5a,_0x24ce63[_0x29437c(0x1b3)]=_0x28f31c,_0x24ce63[_0x29437c(0x4a8)]=_0x413b87,_0x24ce63[_0x29437c(0x44e)]=_0x5a959c,_0x24ce63['MovePivotFieldCommand']=_0x550f6f,_0x24ce63[_0x29437c(0x425)]=_0x310da8,_0x24ce63[_0x29437c(0x24b)]=_0x125767,_0x24ce63[_0x29437c(0x1da)]=_0x1b16c8,_0x24ce63[_0x29437c(0x34f)]=_0xc3c280,_0x24ce63['PivotTableViewDirtyMarkOperation']=_0x2c4e1b,_0x24ce63[_0x29437c(0x295)]=_0x2a49a5,_0x24ce63['RemovePivotFieldCommand']=_0x3b7b61,_0x24ce63[_0x29437c(0x38e)]=_0x4d5cec,_0x24ce63[_0x29437c(0x46e)]=_0x364b92,_0x24ce63[_0x29437c(0x46d)]=_0x351b5d,_0x24ce63[_0x29437c(0x26a)]=_0x19ccfd,_0x24ce63[_0x29437c(0x371)]=_0x375bf7,_0x24ce63[_0x29437c(0x3dd)]=_0x117208,_0x24ce63['SetPivotCollapseCommand']=_0x4db8df,_0x24ce63['SetPivotCollapseMutation']=_0x6b877d,_0x24ce63['SetPivotFieldFormatMutation']=_0x499e04,_0x24ce63[_0x29437c(0x33f)]=_0x1686e2,_0x24ce63['SetPivotFilterCommand']=_0x5b51e7,_0x24ce63[_0x29437c(0x279)]=_0x2558db,_0x24ce63[_0x29437c(0x1fc)]=_0x2e5c58,_0x24ce63[_0x29437c(0x31c)]=_0x521e1b,_0x24ce63['SetPivotSortCommand']=_0x23dfa9,_0x24ce63[_0x29437c(0x494)]=_0x2f48f2,_0x24ce63[_0x29437c(0x283)]=_0x3a9e58,_0x24ce63[_0x29437c(0x1ff)]=_0x1b3c9d,_0x24ce63[_0x29437c(0x3a6)]=_0x3217bf,_0x24ce63[_0x29437c(0x34b)]=_0x33d0bb,_0x24ce63[_0x29437c(0x3d9)]=_0x44de4d,_0x24ce63[_0x29437c(0x473)]=_0x4d6849,_0x24ce63[_0x29437c(0x414)]=_0x476697,_0x24ce63[_0x29437c(0x22d)]=_0xeadc6,_0x24ce63[_0x29437c(0x430)]=_0x296d79,_0x24ce63[_0x29437c(0x421)]=_0x417c6f,_0x24ce63[_0x29437c(0x3aa)]=_0x3e019a,_0x24ce63[_0x29437c(0x3ed)]=_0x42105c,_0x24ce63[_0x29437c(0x3f4)]=_0x503abc,_0x24ce63[_0x29437c(0x1b6)]=_0x368c25,_0x24ce63[_0x29437c(0x1ee)]=_0x13c0e9,_0x24ce63[_0x29437c(0x426)]=_0x32d47c,_0x24ce63[_0x29437c(0x220)]=_0x457858,_0x24ce63['getFieldListByArea']=_0x1eff12,_0x24ce63[_0x29437c(0x2dd)]=_0x45c089,_0x24ce63[_0x29437c(0x343)]=_0x57f2b2,_0x24ce63[_0x29437c(0x235)]=_0x992aa1,_0x24ce63[_0x29437c(0x1c1)]=_0x184797,_0x24ce63[_0x29437c(0x413)]=_0x108fde,_0x24ce63[_0x29437c(0x2db)]=_0x2c3da1,Object[_0x29437c(0x4a1)](_0x24ce63,Symbol[_0x29437c(0x2e5)],{'value':'Module'});}));
|