@univerjs-pro/docs-formula 1.0.0-rc.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x34e78c,_0x1d4536){const _0x54efbd=_0x3362,_0x36189d=_0x34e78c();while(!![]){try{const _0x4ff110=parseInt(_0x54efbd(0x1f8))/0x1*(-parseInt(_0x54efbd(0x1cb))/0x2)+-parseInt(_0x54efbd(0x15d))/0x3*(-parseInt(_0x54efbd(0x188))/0x4)+-parseInt(_0x54efbd(0x23b))/0x5*(-parseInt(_0x54efbd(0x253))/0x6)+-parseInt(_0x54efbd(0x196))/0x7+parseInt(_0x54efbd(0x287))/0x8*(parseInt(_0x54efbd(0x212))/0x9)+-parseInt(_0x54efbd(0x279))/0xa*(-parseInt(_0x54efbd(0x14a))/0xb)+parseInt(_0x54efbd(0x203))/0xc;if(_0x4ff110===_0x1d4536)break;else _0x36189d['push'](_0x36189d['shift']());}catch(_0x5aa3cd){_0x36189d['push'](_0x36189d['shift']());}}}(_0x4a5f,0x8588b),function(_0x5e1abe,_0x5b3785){const _0x4165bd=_0x3362;typeof exports==_0x4165bd(0x18f)&&typeof module<'u'?_0x5b3785(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x4165bd(0x24a)]?define([_0x4165bd(0x28c),_0x4165bd(0x21c),_0x4165bd(0x1fa),_0x4165bd(0x232),_0x4165bd(0x19d),_0x4165bd(0x27d),'@univerjs-pro/license'],_0x5b3785):(_0x5e1abe=typeof globalThis<'u'?globalThis:_0x5e1abe||self,_0x5b3785(_0x5e1abe[_0x4165bd(0x199)]={},_0x5e1abe[_0x4165bd(0x260)],_0x5e1abe[_0x4165bd(0x27c)],_0x5e1abe['UniverDocs'],_0x5e1abe['UniverEngineFormula'],_0x5e1abe[_0x4165bd(0x27d)],_0x5e1abe['UniverProLicense']));}(this,function(_0x26b9a4,_0x145aa2,_0x4f7619,_0x598ef1,_0x4ccd29,_0x1092de,_0xe318f5){const _0x63b022=_0x3362;Object['defineProperty'](_0x26b9a4,Symbol['toStringTag'],{'value':_0x63b022(0x15c)});let _0x1165ca='DOC_FORMULA_PLUGIN',_0x5e46e0=_0x63b022(0x291);function _0xcaf32(){return{'schemaVersion':0x1,'formulas':{}};}function _0x56bef6(_0x49b5c9){const _0xd581d0=_0x63b022;return!_0x49b5c9||typeof _0x49b5c9!=_0xd581d0(0x18f)||!_0x203267(_0x49b5c9,[_0xd581d0(0x157),_0xd581d0(0x1e0)])||!(_0xd581d0(0x157)in _0x49b5c9)||_0x49b5c9['schemaVersion']!==0x1||!(_0xd581d0(0x1e0)in _0x49b5c9)||!_0x49b5c9[_0xd581d0(0x1e0)]||typeof _0x49b5c9['formulas']!=_0xd581d0(0x18f)||Array['isArray'](_0x49b5c9[_0xd581d0(0x1e0)])?!0x1:Object[_0xd581d0(0x167)](_0x49b5c9[_0xd581d0(0x1e0)])[_0xd581d0(0x214)](([_0x1fd811,_0x41bf5e])=>_0x1fd811[_0xd581d0(0x177)]>0x0&&_0x370aa7(_0x41bf5e));}function _0x370aa7(_0x3a23d7){const _0x3d3f30=_0x63b022;return!_0x3a23d7||typeof _0x3a23d7!=_0x3d3f30(0x18f)||!_0x203267(_0x3a23d7,[_0x3d3f30(0x23f),_0x3d3f30(0x19c),_0x3d3f30(0x1d8)])||!('formula'in _0x3a23d7)||typeof _0x3a23d7['formula']!=_0x3d3f30(0x259)||!_0x3a23d7[_0x3d3f30(0x23f)][_0x3d3f30(0x247)]()||_0x3d3f30(0x19c)in _0x3a23d7&&_0x3a23d7['numberFormat']!=null&&(typeof _0x3a23d7[_0x3d3f30(0x19c)]!=_0x3d3f30(0x18f)||!_0x203267(_0x3a23d7[_0x3d3f30(0x19c)],['pattern'])||!(_0x3d3f30(0x204)in _0x3a23d7[_0x3d3f30(0x19c)])||typeof _0x3a23d7[_0x3d3f30(0x19c)][_0x3d3f30(0x204)]!='string')?!0x1:!('lastValue'in _0x3a23d7)||_0x3a23d7[_0x3d3f30(0x1d8)]==null||_0xdbc34f(_0x3a23d7[_0x3d3f30(0x1d8)]);}function _0xdbc34f(_0x13cf2a){const _0x3a9eb9=_0x63b022;return!_0x13cf2a||typeof _0x13cf2a!='object'||!_0x203267(_0x13cf2a,['v','t',_0x3a9eb9(0x204)])||!('v'in _0x13cf2a)||_0x13cf2a['v']!==null&&typeof _0x13cf2a['v']!=_0x3a9eb9(0x259)&&typeof _0x13cf2a['v']!=_0x3a9eb9(0x19a)&&typeof _0x13cf2a['v']!=_0x3a9eb9(0x1f3)||'t'in _0x13cf2a&&_0x13cf2a['t']!=null&&!_0x236cce(_0x13cf2a['t'])?!0x1:!(_0x3a9eb9(0x204)in _0x13cf2a)||_0x13cf2a[_0x3a9eb9(0x204)]==null||typeof _0x13cf2a[_0x3a9eb9(0x204)]==_0x3a9eb9(0x259);}function _0x203267(_0x585879,_0x25b7a3){const _0x12650c=_0x63b022;let _0x883b3f=new Set(_0x25b7a3);return Object[_0x12650c(0x270)](_0x585879)[_0x12650c(0x214)](_0x1488e3=>_0x883b3f[_0x12650c(0x237)](_0x1488e3));}function _0x236cce(_0x2f15cc){const _0x5ea219=_0x63b022;return typeof _0x2f15cc==_0x5ea219(0x19a)&&Object[_0x5ea219(0x1ee)](_0x4f7619[_0x5ea219(0x1ea)])['includes'](_0x2f15cc);}let _0xb7b294=new Set([_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x257)],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x271)],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x231)],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x17d)],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x241)],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x1af)],_0x4f7619['DataStreamTreeTokenType']['TABLE_END'],_0x4f7619['DataStreamTreeTokenType'][_0x63b022(0x250)],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x1bd)],_0x4f7619[_0x63b022(0x21e)]['COLUMN_END'],_0x4f7619[_0x63b022(0x21e)]['COLUMN_GROUP_END'],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x159)],_0x4f7619[_0x63b022(0x21e)]['BLOCK_END'],_0x4f7619[_0x63b022(0x21e)][_0x63b022(0x22d)]]);var _0x3890ed=class extends Error{constructor(){const _0xa232a2=_0x63b022;super(_0xa232a2(0x1a7));}};function _0x2c0d1f(_0x92d194){const _0x7af93c=_0x63b022;var _0x2e9651,_0x162236;let _0x50b75e=_0x4f7619[_0x7af93c(0x26c)][_0x7af93c(0x26d)](_0x92d194['documentData']),_0x1e0ec2=_0x3be366(_0x50b75e),{startOffset:_0x4bb3ed,endOffset:_0x4ab3fb}=_0x40fa1d(_0x1e0ec2,_0x92d194[_0x7af93c(0x23d)],_0x92d194[_0x7af93c(0x1a5)]);_0x2f3df1(_0x1e0ec2,_0x4bb3ed,_0x4ab3fb);let _0x5d232b=((_0x2e9651=_0x1e0ec2[_0x7af93c(0x1fe)])==null?void 0x0:_0x2e9651[_0x7af93c(0x1ec)](_0x5359d2=>{const _0x16b865=_0x7af93c;if(!_0x359c18(_0x5359d2))return!0x1;let _0x12a43f=(0x0,_0x4f7619[_0x16b865(0x1d9)])(_0x5359d2);return _0x12a43f[_0x16b865(0x1a5)]>_0x4bb3ed&&_0x12a43f[_0x16b865(0x23d)]<_0x4ab3fb;})['map'](_0x3e901a=>_0x3e901a[_0x7af93c(0x1c0)]))??[];_0x6df54e(_0x1e0ec2,_0x4bb3ed,_0x4ab3fb,''),_0x1e0ec2[_0x7af93c(0x1fe)]=[...((_0x162236=_0x1e0ec2[_0x7af93c(0x1fe)])==null?void 0x0:_0x162236[_0x7af93c(0x1ec)](_0x2921a4=>!_0x5d232b[_0x7af93c(0x24f)](_0x2921a4[_0x7af93c(0x1c0)])&&_0x2921a4['rangeId']!==_0x92d194[_0x7af93c(0x1c0)]))??[],_0x139e7e(_0x92d194[_0x7af93c(0x1c0)],_0x4bb3ed)][_0x7af93c(0x255)]((_0x332ece,_0x1fd770)=>_0x332ece[_0x7af93c(0x19b)]-_0x1fd770[_0x7af93c(0x19b)]);let _0x409228=_0x216ffd(_0x92d194[_0x7af93c(0x186)]);return _0x5d232b['forEach'](_0x1350c1=>{delete _0x409228['formulas'][_0x1350c1];}),_0x409228['formulas'][_0x92d194[_0x7af93c(0x1c0)]]=_0x4f7619[_0x7af93c(0x26c)][_0x7af93c(0x26d)](_0x92d194[_0x7af93c(0x1e6)]),{'nextDocumentData':_0x50b75e,'nextResource':_0x409228,'cursorOffset':_0x4bb3ed+0x1};}function _0x10e54c(_0x4b083c){const _0x23b5fb=_0x63b022;var _0x47065d,_0x5ceac6;let _0x5b0c68=_0x4f7619['Tools'][_0x23b5fb(0x26d)](_0x4b083c[_0x23b5fb(0x22b)]),_0x541523=(_0x47065d=_0x3be366(_0x5b0c68)[_0x23b5fb(0x1fe)])==null?void 0x0:_0x47065d[_0x23b5fb(0x155)](_0x4ae920=>_0x4ae920[_0x23b5fb(0x1c0)]===_0x4b083c[_0x23b5fb(0x1c0)]&&_0x359c18(_0x4ae920));if(!_0x541523||!((_0x5ceac6=_0x4b083c[_0x23b5fb(0x186)])!=null&&_0x5ceac6[_0x23b5fb(0x1e0)][_0x4b083c['rangeId']]))return null;let _0x19f665=_0x216ffd(_0x4b083c[_0x23b5fb(0x186)]);return _0x19f665[_0x23b5fb(0x1e0)][_0x4b083c[_0x23b5fb(0x1c0)]]=_0x4f7619[_0x23b5fb(0x26c)]['deepClone'](_0x4b083c[_0x23b5fb(0x1e6)]),{'nextDocumentData':_0x5b0c68,'nextResource':_0x19f665,'cursorOffset':_0x541523[_0x23b5fb(0x202)]+0x1};}function _0x5209f3(_0x29d9a1){const _0x78c920=_0x63b022;let _0x7b7088=_0x4f7619[_0x78c920(0x26c)][_0x78c920(0x26d)](_0x29d9a1[_0x78c920(0x22b)]),_0x58dbc6=_0x5877f1(_0x7b7088,_0x29d9a1[_0x78c920(0x1c0)],_0x29d9a1[_0x78c920(0x282)]??'');if(_0x58dbc6==null)return null;let _0x4bc54f=_0x216ffd(_0x29d9a1[_0x78c920(0x186)]);return delete _0x4bc54f[_0x78c920(0x1e0)][_0x29d9a1[_0x78c920(0x1c0)]],{'nextDocumentData':_0x7b7088,'nextResource':_0x4bc54f,'cursorOffset':_0x58dbc6};}function _0x590aef(_0x5e7669,_0x33c4bf){const _0x3c50f2=_0x63b022;var _0x5ac2e4;let _0x9ce19c=_0x4f7619['Tools'][_0x3c50f2(0x26d)](_0x5e7669),_0x501cdf=_0x9ce19c['body'];if(!_0x501cdf)return _0x9ce19c;let _0x2f9b18=new Map(_0x33c4bf[_0x3c50f2(0x1c7)](_0x5bab0b=>[_0x5bab0b['rangeId'],_0x5bab0b[_0x3c50f2(0x282)]])),_0x395e3b=((_0x5ac2e4=_0x501cdf[_0x3c50f2(0x1fe)])==null?void 0x0:_0x5ac2e4[_0x3c50f2(0x1ec)](_0x582d56=>_0x359c18(_0x582d56)&&_0x2f9b18['has'](_0x582d56[_0x3c50f2(0x1c0)]))[_0x3c50f2(0x255)]((_0x467701,_0x1e8ac4)=>_0x1e8ac4[_0x3c50f2(0x19b)]-_0x467701['startIndex']))??[];for(let _0x591f30 of _0x395e3b)_0x5877f1(_0x9ce19c,_0x591f30[_0x3c50f2(0x1c0)],_0x2f9b18['get'](_0x591f30[_0x3c50f2(0x1c0)])??'');return _0x9ce19c;}function _0x359c18(_0x1c6051){const _0x46fa59=_0x63b022;var _0x53c485;return(_0x1c6051==null?void 0x0:_0x1c6051[_0x46fa59(0x169)])===_0x4f7619['CustomRangeType'][_0x46fa59(0x176)]&&_0x1c6051[_0x46fa59(0x278)]===!0x0&&((_0x53c485=_0x1c6051[_0x46fa59(0x28f)])==null?void 0x0:_0x53c485['kind'])===_0x46fa59(0x291);}function _0x3fe7af(_0x375560,_0x59d17c){const _0x199bba=_0x63b022;var _0x1f5ec2;return _0x375560==null||(_0x1f5ec2=_0x375560[_0x199bba(0x1fe)])==null?void 0x0:_0x1f5ec2[_0x199bba(0x155)](_0x4c13f7=>_0x4c13f7['rangeId']===_0x59d17c&&_0x359c18(_0x4c13f7));}function _0x2f3df1(_0x198b54,_0x544821,_0x3c9cfe){const _0x33a34a=_0x63b022;if(_0x544821===_0x3c9cfe){if(_0xb7b294[_0x33a34a(0x237)](_0x198b54[_0x33a34a(0x1df)][_0x544821]))throw new _0x3890ed();return;}for(let _0x53adee=_0x544821;_0x53adee<_0x3c9cfe;_0x53adee++)if(_0x198b54['dataStream'][_0x53adee]===_0x4f7619['DataStreamTreeTokenType'][_0x33a34a(0x194)]||_0xb7b294[_0x33a34a(0x237)](_0x198b54[_0x33a34a(0x1df)][_0x53adee]))throw new _0x3890ed();}function _0x139e7e(_0x825db0,_0x1bdd5f){const _0x1a7b8f=_0x63b022;return{'startIndex':_0x1bdd5f,'endIndex':_0x1bdd5f,'rangeId':_0x825db0,'rangeType':_0x4f7619[_0x1a7b8f(0x1c4)][_0x1a7b8f(0x176)],'wholeEntity':!0x0,'properties':{'kind':_0x5e46e0}};}function _0x216ffd(_0x4fa683){const _0x402500=_0x63b022;return _0x4fa683?_0x4f7619['Tools'][_0x402500(0x26d)](_0x4fa683):_0xcaf32();}function _0x40fa1d(_0x452b7e,_0x442497,_0xba15f2){const _0x10f4df=_0x63b022;let _0x5e5167=_0xa86875(_0x452b7e),_0xbf1dfa=_0x442497??_0x5e5167,_0x30676b=_0xba15f2??_0xbf1dfa;return{'startOffset':_0x41097c(Math[_0x10f4df(0x1de)](_0xbf1dfa,_0x30676b),_0x5e5167),'endOffset':_0x41097c(Math[_0x10f4df(0x1ff)](_0xbf1dfa,_0x30676b),_0x5e5167)};}function _0x41097c(_0x58b44e,_0x1fe447){const _0x46174a=_0x63b022;return Math[_0x46174a(0x1ff)](0x0,Math[_0x46174a(0x1de)](_0x58b44e,_0x1fe447));}function _0xa86875(_0x1e6020){const _0x3d3f3d=_0x63b022;return _0x1e6020[_0x3d3f3d(0x1df)]['endsWith'](''+_0x4f7619['DataStreamTreeTokenType'][_0x3d3f3d(0x194)]+_0x4f7619[_0x3d3f3d(0x21e)][_0x3d3f3d(0x257)])?Math['max'](0x0,_0x1e6020[_0x3d3f3d(0x1df)]['length']-0x2):_0x1e6020[_0x3d3f3d(0x1df)]['endsWith'](_0x4f7619[_0x3d3f3d(0x21e)][_0x3d3f3d(0x257)])?Math[_0x3d3f3d(0x1ff)](0x0,_0x1e6020[_0x3d3f3d(0x1df)][_0x3d3f3d(0x177)]-0x1):_0x1e6020['dataStream'][_0x3d3f3d(0x177)];}function _0x6df54e(_0x4d4b01,_0x50e2d2,_0x34c8f1,_0x1caeb7){_0x34c8f1>_0x50e2d2&&_0x168a5e(_0x4d4b01,_0x50e2d2,_0x34c8f1),_0x5a1408(_0x4d4b01,_0x50e2d2,_0x1caeb7);}function _0x5877f1(_0x530124,_0x5cc289,_0x273d16){const _0x36eeb7=_0x63b022;var _0x5cdca2,_0x454a39;let _0x5d7b3d=_0x3be366(_0x530124),_0x30a414=(_0x5cdca2=_0x5d7b3d[_0x36eeb7(0x1fe)])==null?void 0x0:_0x5cdca2[_0x36eeb7(0x155)](_0x5ad8aa=>_0x5ad8aa[_0x36eeb7(0x1c0)]===_0x5cc289&&_0x359c18(_0x5ad8aa));if(!_0x30a414)return null;let _0x30db2d=(0x0,_0x4f7619[_0x36eeb7(0x1d9)])(_0x30a414);return _0x6df54e(_0x5d7b3d,_0x30db2d[_0x36eeb7(0x23d)],_0x30db2d['endOffset'],_0x273d16),_0x5d7b3d[_0x36eeb7(0x1fe)]=(_0x454a39=_0x5d7b3d[_0x36eeb7(0x1fe)])==null?void 0x0:_0x454a39[_0x36eeb7(0x1ec)](_0x5a2d80=>_0x5a2d80[_0x36eeb7(0x1c0)]!==_0x5cc289),_0x30db2d['startOffset']+_0x273d16['length'];}function _0x5a1408(_0x4d0ffc,_0x5c3d7f,_0x12fc29){const _0x3518a2=_0x63b022;_0x12fc29&&(_0x4d0ffc[_0x3518a2(0x1df)]=''+_0x4d0ffc[_0x3518a2(0x1df)][_0x3518a2(0x1f0)](0x0,_0x5c3d7f)+_0x12fc29+_0x4d0ffc[_0x3518a2(0x1df)][_0x3518a2(0x1f0)](_0x5c3d7f),_0x5e7e78(_0x4d0ffc,_0x5c3d7f,_0x12fc29[_0x3518a2(0x177)]));}function _0x168a5e(_0x168610,_0x517b7a,_0x7bfe8c){const _0x43239b=_0x63b022;let _0x3d83a1=_0x7bfe8c-_0x517b7a;_0x168610['dataStream']=''+_0x168610['dataStream'][_0x43239b(0x1f0)](0x0,_0x517b7a)+_0x168610['dataStream'][_0x43239b(0x1f0)](_0x7bfe8c),_0x28fb35(_0x168610,_0x517b7a,_0x3d83a1);}function _0x5e7e78(_0x423761,_0x57d9aa,_0x3fdb8f){const _0x5c357b=_0x63b022;_0x423761[_0x5c357b(0x19e)]=_0xf56160(_0x423761[_0x5c357b(0x19e)],_0x57d9aa,_0x3fdb8f),_0x423761[_0x5c357b(0x18a)]=_0xf56160(_0x423761[_0x5c357b(0x18a)],_0x57d9aa,_0x3fdb8f),_0x423761['customBlocks']=_0xf56160(_0x423761[_0x5c357b(0x1ef)],_0x57d9aa,_0x3fdb8f),_0x423761[_0x5c357b(0x17e)]=_0x56b80b(_0x423761[_0x5c357b(0x17e)],_0x57d9aa,_0x3fdb8f),_0x423761[_0x5c357b(0x168)]=_0x39c228(_0x423761['tables'],_0x57d9aa,_0x3fdb8f),_0x423761['columnGroups']=_0xa3ffcd(_0x423761[_0x5c357b(0x1a3)],_0x57d9aa,_0x3fdb8f),_0x423761[_0x5c357b(0x1fe)]=_0xa3ffcd(_0x423761[_0x5c357b(0x1fe)],_0x57d9aa,_0x3fdb8f),_0x423761[_0x5c357b(0x227)]=_0xa3ffcd(_0x423761[_0x5c357b(0x227)],_0x57d9aa,_0x3fdb8f),_0x423761[_0x5c357b(0x183)]=_0xa3ffcd(_0x423761[_0x5c357b(0x183)],_0x57d9aa,_0x3fdb8f);}function _0x28fb35(_0x354e00,_0x11a6e2,_0x33b005){const _0x34af14=_0x63b022;var _0x38d0db,_0x597272;_0x354e00[_0x34af14(0x19e)]=_0x1b29df(_0x354e00[_0x34af14(0x19e)],_0x11a6e2,_0x33b005),_0x354e00[_0x34af14(0x18a)]=_0x1b29df(_0x354e00[_0x34af14(0x18a)],_0x11a6e2,_0x33b005),_0x354e00[_0x34af14(0x1ef)]=_0x1b29df(_0x354e00['customBlocks'],_0x11a6e2,_0x33b005),_0x354e00[_0x34af14(0x17e)]=(_0x38d0db=_0x3c9e04((_0x597272=_0x354e00[_0x34af14(0x17e)])==null?void 0x0:_0x597272[_0x34af14(0x1c7)](_0x41787d=>({..._0x41787d,'startIndex':_0x41787d['st'],'endIndex':_0x41787d['ed']})),_0x11a6e2,_0x33b005))==null?void 0x0:_0x38d0db[_0x34af14(0x1c7)](_0x148292=>{let {startIndex:_0x280779,endIndex:_0x1b10cf,..._0x1bf14f}=_0x148292;return{..._0x1bf14f,'st':_0x280779,'ed':_0x1b10cf};}),_0x354e00['tables']=_0x3c9e04(_0x354e00[_0x34af14(0x168)],_0x11a6e2,_0x33b005),_0x354e00['columnGroups']=_0x3c7d4d(_0x354e00[_0x34af14(0x1a3)],_0x11a6e2,_0x33b005),_0x354e00[_0x34af14(0x1fe)]=_0x3c7d4d(_0x354e00[_0x34af14(0x1fe)],_0x11a6e2,_0x33b005),_0x354e00['customDecorations']=_0x3c7d4d(_0x354e00[_0x34af14(0x227)],_0x11a6e2,_0x33b005),_0x354e00[_0x34af14(0x183)]=_0x3c7d4d(_0x354e00[_0x34af14(0x183)],_0x11a6e2,_0x33b005);}function _0xf56160(_0xbf282c,_0x18ee55,_0x3c3849){const _0x4da671=_0x63b022;return _0xbf282c==null?void 0x0:_0xbf282c[_0x4da671(0x1c7)](_0x3265e1=>_0x3265e1['startIndex']>=_0x18ee55?{..._0x3265e1,'startIndex':_0x3265e1[_0x4da671(0x19b)]+_0x3c3849}:_0x3265e1);}function _0x1b29df(_0x163faf,_0x4367dd,_0x4c5b03){const _0x1e0039=_0x63b022;let _0x397d9a=_0x4367dd+_0x4c5b03;return _0x163faf==null?void 0x0:_0x163faf[_0x1e0039(0x1c7)](_0x59991f=>_0x59991f['startIndex']>=_0x4367dd&&_0x59991f[_0x1e0039(0x19b)]<_0x397d9a?null:_0x59991f['startIndex']>=_0x397d9a?{..._0x59991f,'startIndex':_0x59991f[_0x1e0039(0x19b)]-_0x4c5b03}:_0x59991f)['filter'](_0xfdad56=>_0xfdad56!=null);}function _0x56b80b(_0x23d159,_0xd872d6,_0x5781dc){const _0x2a8fa0=_0x63b022;return _0x23d159==null?void 0x0:_0x23d159[_0x2a8fa0(0x1c7)](_0x2590f0=>_0x2590f0['st']>=_0xd872d6?{..._0x2590f0,'st':_0x2590f0['st']+_0x5781dc,'ed':_0x2590f0['ed']+_0x5781dc}:_0x2590f0['ed']>_0xd872d6?{..._0x2590f0,'ed':_0x2590f0['ed']+_0x5781dc}:_0x2590f0);}function _0xa3ffcd(_0x1b5681,_0x1d7f05,_0x2f80c){const _0x4eac3b=_0x63b022;return _0x1b5681==null?void 0x0:_0x1b5681[_0x4eac3b(0x1c7)](_0xb02753=>(0x0,_0x4f7619[_0x4eac3b(0x1c3)])(_0xb02753,_0x1d7f05,_0x2f80c));}function _0x39c228(_0x2103db,_0x476adc,_0x3acb19){const _0x432056=_0x63b022;return _0x2103db==null?void 0x0:_0x2103db[_0x432056(0x1c7)](_0x32a9af=>(0x0,_0x4f7619[_0x432056(0x223)])(_0x32a9af,_0x476adc,_0x3acb19));}function _0x3c7d4d(_0x1b2fd8,_0x47bf15,_0x566400){const _0x329fc8=_0x63b022;return _0x1b2fd8==null?void 0x0:_0x1b2fd8[_0x329fc8(0x1c7)](_0xae3799=>(0x0,_0x4f7619['shiftInclusiveRangeOnDelete'])(_0xae3799,_0x47bf15,_0x566400))[_0x329fc8(0x1ec)](_0x282d16=>_0x282d16!=null);}function _0x3c9e04(_0x247105,_0x1c57db,_0x5b8869){const _0x161189=_0x63b022;return _0x247105==null?void 0x0:_0x247105[_0x161189(0x1c7)](_0x2f4c91=>(0x0,_0x4f7619[_0x161189(0x244)])(_0x2f4c91,_0x1c57db,_0x5b8869))[_0x161189(0x1ec)](_0x1e9f71=>_0x1e9f71!=null);}function _0x3be366(_0x338a53){const _0x1725c1=_0x63b022;if(!_0x338a53[_0x1725c1(0x1fd)])throw Error(_0x1725c1(0x1b9));return _0x338a53[_0x1725c1(0x1fd)];}function _0x560506(_0x4d91c6){'@babel/helpers - typeof';const _0x4947e9=_0x63b022;return _0x560506=typeof Symbol==_0x4947e9(0x248)&&typeof Symbol[_0x4947e9(0x19f)]==_0x4947e9(0x1d7)?function(_0x5b8d9e){return typeof _0x5b8d9e;}:function(_0x4fdc42){const _0x21bedd=_0x4947e9;return _0x4fdc42&&typeof Symbol==_0x21bedd(0x248)&&_0x4fdc42[_0x21bedd(0x21b)]===Symbol&&_0x4fdc42!==Symbol[_0x21bedd(0x1c8)]?_0x21bedd(0x1d7):typeof _0x4fdc42;},_0x560506(_0x4d91c6);}function _0xacdc61(_0x5a0729,_0x2c836d){const _0x168d94=_0x63b022;if(_0x560506(_0x5a0729)!=_0x168d94(0x18f)||!_0x5a0729)return _0x5a0729;var _0x1660fc=_0x5a0729[Symbol['toPrimitive']];if(_0x1660fc!==void 0x0){var _0x10a500=_0x1660fc[_0x168d94(0x22f)](_0x5a0729,_0x2c836d||_0x168d94(0x1c1));if(_0x560506(_0x10a500)!='object')return _0x10a500;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2c836d===_0x168d94(0x259)?String:Number)(_0x5a0729);}function _0x19448e(_0x278950){const _0x2ba4e0=_0x63b022;var _0x50b288=_0xacdc61(_0x278950,_0x2ba4e0(0x259));return _0x560506(_0x50b288)==_0x2ba4e0(0x1d7)?_0x50b288:_0x50b288+'';}function _0x11e211(_0x377400,_0x2b0016,_0x1614d2){const _0x187d2d=_0x63b022;return(_0x2b0016=_0x19448e(_0x2b0016))in _0x377400?Object[_0x187d2d(0x230)](_0x377400,_0x2b0016,{'value':_0x1614d2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x377400[_0x2b0016]=_0x1614d2,_0x377400;}var _0x2bf8cc=class extends _0x4f7619['Disposable']{constructor(..._0x416938){const _0x551343=_0x63b022;super(..._0x416938),_0x11e211(this,_0x551343(0x201),new Map()),_0x11e211(this,_0x551343(0x1dc),new Map()),_0x11e211(this,'_loadErrors',new Map()),_0x11e211(this,_0x551343(0x276),new _0x1092de[(_0x551343(0x20f))]()),_0x11e211(this,_0x551343(0x164),this[_0x551343(0x276)]['asObservable']());}['getFormula'](_0x78fec2,_0x184cf1){const _0x32c547=_0x63b022;var _0x6790d3;let _0x2f9d37=(_0x6790d3=this[_0x32c547(0x201)][_0x32c547(0x185)](_0x78fec2))==null?void 0x0:_0x6790d3[_0x32c547(0x1e0)][_0x184cf1];return _0x2f9d37?_0x4f7619[_0x32c547(0x26c)]['deepClone'](_0x2f9d37):void 0x0;}[_0x63b022(0x219)](_0x366bef){const _0x24c4f7=_0x63b022;var _0x4b0e13;return _0x4f7619['Tools'][_0x24c4f7(0x26d)](((_0x4b0e13=this[_0x24c4f7(0x201)][_0x24c4f7(0x185)](_0x366bef))==null?void 0x0:_0x4b0e13[_0x24c4f7(0x1e0)])??{});}[_0x63b022(0x1f1)](_0x3d16c2){const _0x111417=_0x63b022;let _0x4af1df=this[_0x111417(0x201)][_0x111417(0x185)](_0x3d16c2);return _0x4af1df?_0x4f7619['Tools']['deepClone'](_0x4af1df):void 0x0;}[_0x63b022(0x1a4)](_0x36a6f4,_0x24c532,_0x50df7b){return this['setFormulas'](_0x36a6f4,{[_0x24c532]:_0x50df7b});}[_0x63b022(0x149)](_0x3030e1,_0x4b8c5a){const _0x396e3c=_0x63b022;return this[_0x396e3c(0x284)]['has'](_0x3030e1)||!_0x56bef6(_0x4b8c5a)?!0x1:(this['_resources'][_0x396e3c(0x21f)](_0x3030e1,_0x4f7619[_0x396e3c(0x26c)][_0x396e3c(0x26d)](_0x4b8c5a)),this['_change$'][_0x396e3c(0x16a)]({'unitId':_0x3030e1}),!0x0);}[_0x63b022(0x1be)](_0x440747,_0x2a3ab7){const _0x2e80ae=_0x63b022;if(this[_0x2e80ae(0x284)][_0x2e80ae(0x237)](_0x440747)||!Object[_0x2e80ae(0x270)](_0x2a3ab7)[_0x2e80ae(0x177)]||!_0x56bef6({'schemaVersion':0x1,'formulas':_0x2a3ab7}))return!0x1;let _0x591dd2=this[_0x2e80ae(0x201)][_0x2e80ae(0x185)](_0x440747)??_0xcaf32(),_0x386202=_0x4f7619[_0x2e80ae(0x26c)]['deepClone'](_0x591dd2);return Object['assign'](_0x386202[_0x2e80ae(0x1e0)],_0x4f7619[_0x2e80ae(0x26c)]['deepClone'](_0x2a3ab7)),this['_resources'][_0x2e80ae(0x21f)](_0x440747,_0x386202),this[_0x2e80ae(0x276)][_0x2e80ae(0x16a)]({'unitId':_0x440747,'rangeIds':Object[_0x2e80ae(0x270)](_0x2a3ab7)}),!0x0;}[_0x63b022(0x217)](_0x825e54,_0x58e07c){const _0x6d4010=_0x63b022;if(this[_0x6d4010(0x284)][_0x6d4010(0x237)](_0x825e54))return!0x1;let _0x266713=this[_0x6d4010(0x201)][_0x6d4010(0x185)](_0x825e54);if(!(_0x266713!=null&&_0x266713[_0x6d4010(0x1e0)][_0x58e07c]))return!0x1;let _0xd9c993=_0x4f7619[_0x6d4010(0x26c)]['deepClone'](_0x266713);return delete _0xd9c993[_0x6d4010(0x1e0)][_0x58e07c],this[_0x6d4010(0x201)][_0x6d4010(0x21f)](_0x825e54,_0xd9c993),this[_0x6d4010(0x276)]['next']({'unitId':_0x825e54,'rangeIds':[_0x58e07c]}),!0x0;}['load'](_0x4ded3c,_0x5a0dcb){const _0x14c3c7=_0x63b022;return _0x5a0dcb&&typeof _0x5a0dcb=='object'&&_0x14c3c7(0x157)in _0x5a0dcb&&_0x5a0dcb['schemaVersion']!==0x1?(this['_preserveInvalid'](_0x4ded3c,_0x5a0dcb,'unsupported-version'),!0x1):_0x56bef6(_0x5a0dcb)?(this[_0x14c3c7(0x201)]['set'](_0x4ded3c,_0x4f7619[_0x14c3c7(0x26c)][_0x14c3c7(0x26d)](_0x5a0dcb)),this[_0x14c3c7(0x1dc)][_0x14c3c7(0x16b)](_0x4ded3c),this[_0x14c3c7(0x284)][_0x14c3c7(0x16b)](_0x4ded3c),this['_change$']['next']({'unitId':_0x4ded3c}),!0x0):(this[_0x14c3c7(0x215)](_0x4ded3c,_0x5a0dcb,'invalid-resource'),!0x1);}[_0x63b022(0x1d5)](_0xf86154){const _0x16aa9e=_0x63b022;let _0x249719=this[_0x16aa9e(0x201)][_0x16aa9e(0x185)](_0xf86154);return _0x249719?_0x4f7619[_0x16aa9e(0x26c)][_0x16aa9e(0x26d)](_0x249719):this['_rawResources'][_0x16aa9e(0x237)](_0xf86154)?_0x4f7619['Tools']['deepClone'](this['_rawResources'][_0x16aa9e(0x185)](_0xf86154)):_0xcaf32();}['getLoadError'](_0x26d105){const _0x34201a=_0x63b022;return this[_0x34201a(0x284)][_0x34201a(0x185)](_0x26d105);}[_0x63b022(0x226)](_0x473de9){const _0xf4b5e1=_0x63b022;this[_0xf4b5e1(0x201)][_0xf4b5e1(0x16b)](_0x473de9),this[_0xf4b5e1(0x1dc)][_0xf4b5e1(0x16b)](_0x473de9),this[_0xf4b5e1(0x284)][_0xf4b5e1(0x16b)](_0x473de9),this[_0xf4b5e1(0x276)]['next']({'unitId':_0x473de9});}[_0x63b022(0x191)](){const _0x1fe325=_0x63b022;this[_0x1fe325(0x201)][_0x1fe325(0x1f6)](),this[_0x1fe325(0x1dc)][_0x1fe325(0x1f6)](),this[_0x1fe325(0x284)][_0x1fe325(0x1f6)](),this[_0x1fe325(0x276)][_0x1fe325(0x245)](),super[_0x1fe325(0x191)]();}[_0x63b022(0x215)](_0x30e4f0,_0x5716dd,_0x3fd198){const _0x42f0b8=_0x63b022;this[_0x42f0b8(0x201)][_0x42f0b8(0x16b)](_0x30e4f0),this['_rawResources']['set'](_0x30e4f0,_0x4f7619['Tools'][_0x42f0b8(0x26d)](_0x5716dd)),this[_0x42f0b8(0x284)][_0x42f0b8(0x21f)](_0x30e4f0,_0x3fd198),this['_change$']['next']({'unitId':_0x30e4f0});}};let _0x14fe4d=function(_0x42a356){const _0x48adbb=_0x63b022;return _0x42a356[_0x48adbb(0x1cd)]=_0x48adbb(0x1a6),_0x42a356[_0x48adbb(0x238)]='pending',_0x42a356['SUCCESS']=_0x48adbb(0x1cf),_0x42a356[_0x48adbb(0x1da)]='error',_0x42a356;}({});function _0x74fe3c(_0x525876,_0xe1201d){return function(_0x122236,_0x1b99c1){_0xe1201d(_0x122236,_0x1b99c1,_0x525876);};}function _0x57146d(_0x5286f9,_0x5752ba,_0x2d58da,_0x4841d2){const _0x1f0d8e=_0x63b022;var _0x4e8a7d=arguments[_0x1f0d8e(0x177)],_0x5c022a=_0x4e8a7d<0x3?_0x5752ba:_0x4841d2===null?_0x4841d2=Object[_0x1f0d8e(0x1ab)](_0x5752ba,_0x2d58da):_0x4841d2,_0x2c031c;if(typeof Reflect==_0x1f0d8e(0x18f)&&typeof Reflect[_0x1f0d8e(0x210)]==_0x1f0d8e(0x248))_0x5c022a=Reflect[_0x1f0d8e(0x210)](_0x5286f9,_0x5752ba,_0x2d58da,_0x4841d2);else{for(var _0x10a1d5=_0x5286f9[_0x1f0d8e(0x177)]-0x1;_0x10a1d5>=0x0;_0x10a1d5--)(_0x2c031c=_0x5286f9[_0x10a1d5])&&(_0x5c022a=(_0x4e8a7d<0x3?_0x2c031c(_0x5c022a):_0x4e8a7d>0x3?_0x2c031c(_0x5752ba,_0x2d58da,_0x5c022a):_0x2c031c(_0x5752ba,_0x2d58da))||_0x5c022a);}return _0x4e8a7d>0x3&&_0x5c022a&&Object[_0x1f0d8e(0x230)](_0x5752ba,_0x2d58da,_0x5c022a),_0x5c022a;}let _0x15eebe=class extends _0x4f7619['Disposable']{constructor(_0x2052b7,_0x5c64d3,_0x58fc61){const _0x9b5625=_0x63b022;super(),this[_0x9b5625(0x165)]=_0x2052b7,this[_0x9b5625(0x20e)]=_0x5c64d3,this[_0x9b5625(0x1a0)]=_0x58fc61,_0x11e211(this,_0x9b5625(0x16c),new Map()),_0x11e211(this,'_formulaKeys',new Map()),_0x11e211(this,'_presentationChanged$',new _0x1092de['Subject']()),_0x11e211(this,_0x9b5625(0x274),this[_0x9b5625(0x17c)]['asObservable']()),this[_0x9b5625(0x1b3)](this[_0x9b5625(0x20e)][_0x9b5625(0x180)][_0x9b5625(0x239)](_0x1ccde5=>{const _0x32e1cd=_0x9b5625;for(let _0x47ec32 of Object[_0x32e1cd(0x1ee)](_0x1ccde5))for(let _0xd8d7d8 of Object[_0x32e1cd(0x1ee)](_0x47ec32))_0xd8d7d8[_0x32e1cd(0x1b1)](_0xc0e974=>this[_0x32e1cd(0x28d)](_0xc0e974));}));}['syncUnit'](_0x184ecb){const _0x563d84=_0x63b022;var _0x51360c;let _0xca052e=_0x184ecb['getUnitId'](),_0x50b596=((_0x51360c=_0x184ecb[_0x563d84(0x1f7)]()[_0x563d84(0x1fd)])==null||(_0x51360c=_0x51360c[_0x563d84(0x1fe)])==null?void 0x0:_0x51360c['filter'](_0x359c18))??[],_0xd2a086=this['_model'][_0x563d84(0x219)](_0xca052e),_0x372303=new Set();for(let _0x49c5fe of _0x50b596){let _0x3e50ce=_0xd2a086[_0x49c5fe[_0x563d84(0x1c0)]];_0x3e50ce&&(_0x372303[_0x563d84(0x25c)](_0x361e38(_0xca052e,_0x49c5fe[_0x563d84(0x1c0)])),this[_0x563d84(0x28e)]({'unitId':_0xca052e,'rangeId':_0x49c5fe[_0x563d84(0x1c0)]},_0x3e50ce));}for(let _0x3de707 of Array['from'](this[_0x563d84(0x16c)][_0x563d84(0x1ee)]()))_0x3de707[_0x563d84(0x22a)]===_0xca052e&&!_0x372303[_0x563d84(0x237)](_0x361e38(_0x3de707[_0x563d84(0x22a)],_0x3de707['rangeId']))&&this[_0x563d84(0x15e)](_0x3de707);}[_0x63b022(0x28e)](_0x17578e,_0x333676){const _0x1f70c4=_0x63b022;let _0x85edf7=_0x361e38(_0x17578e[_0x1f70c4(0x22a)],_0x17578e['rangeId']),_0x1d3adf=this[_0x1f70c4(0x16c)][_0x1f70c4(0x185)](_0x85edf7),_0x28a905=this[_0x1f70c4(0x1a0)][_0x1f70c4(0x1bb)](_0x17578e[_0x1f70c4(0x22a)]);if(_0x1d3adf&&_0x1d3adf['config']['formula']===_0x333676['formula']&&_0x1d3adf[_0x1f70c4(0x1a9)]===_0x28a905){_0x1d3adf[_0x1f70c4(0x1e6)]=_0x333676;let _0x150feb=_0x1d3adf[_0x1f70c4(0x1c5)]?this[_0x1f70c4(0x20e)][_0x1f70c4(0x18d)](_0x1d3adf[_0x1f70c4(0x22a)],_0x1d3adf[_0x1f70c4(0x22a)],_0x1d3adf[_0x1f70c4(0x1c5)])??void 0x0:void 0x0;_0x1d3adf['liveResult']=_0x150feb,this[_0x1f70c4(0x211)](_0x85edf7,_0x357d66(_0x333676,_0x150feb));return;}_0x1d3adf!=null&&_0x1d3adf['formulaId']&&this[_0x1f70c4(0x24b)](_0x1d3adf);let _0x121be7={..._0x17578e,'config':_0x333676,'referenceRevision':_0x28a905,'presentation':_0x357d66(_0x333676,void 0x0)};if(this[_0x1f70c4(0x16c)]['set'](_0x85edf7,_0x121be7),!_0x333676[_0x1f70c4(0x23f)][_0x1f70c4(0x247)]())return;let _0x533a5b=this[_0x1f70c4(0x20e)]['registerFormulaWithRange'](_0x17578e[_0x1f70c4(0x22a)],_0x17578e[_0x1f70c4(0x22a)],_0x333676['formula'],void 0x0,{'rangeId':_0x17578e['rangeId']},_0x4ccd29['OtherFormulaBizType']['DOC'],_0x17578e[_0x1f70c4(0x1c0)]);_0x121be7['formulaId']=_0x533a5b,this[_0x1f70c4(0x14b)][_0x1f70c4(0x21f)](_0x533a5b,_0x85edf7);}[_0x63b022(0x15e)](_0x532379){const _0x31407b=_0x63b022;let _0x2daa85=_0x361e38(_0x532379[_0x31407b(0x22a)],_0x532379[_0x31407b(0x1c0)]),_0x7dc10b=this[_0x31407b(0x16c)]['get'](_0x2daa85);_0x7dc10b&&(this['_deleteRegistration'](_0x7dc10b),this['_registrations'][_0x31407b(0x16b)](_0x2daa85));}[_0x63b022(0x17a)](_0x96a3ee){const _0x3c4cdc=_0x63b022;for(let _0x16d9b3 of Array['from'](this['_registrations'][_0x3c4cdc(0x1ee)]()))_0x16d9b3[_0x3c4cdc(0x22a)]===_0x96a3ee&&this['unregister'](_0x16d9b3);}[_0x63b022(0x1b0)](_0x289950){const _0x4442bd=_0x63b022;var _0x5e568f;return(_0x5e568f=this[_0x4442bd(0x16c)][_0x4442bd(0x185)](_0x361e38(_0x289950[_0x4442bd(0x22a)],_0x289950[_0x4442bd(0x1c0)])))==null?void 0x0:_0x5e568f[_0x4442bd(0x15a)];}[_0x63b022(0x275)](_0x4b5f17){const _0x463511=_0x63b022;let _0x41ceee=this[_0x463511(0x16c)][_0x463511(0x185)](_0x361e38(_0x4b5f17[_0x463511(0x22a)],_0x4b5f17[_0x463511(0x1c0)]));return _0x41ceee?_0x5851da(_0x41ceee):void 0x0;}[_0x63b022(0x234)](){const _0x40c22c=_0x63b022;return Array[_0x40c22c(0x24e)](this['_registrations'][_0x40c22c(0x1ee)](),_0x35cb26=>({'identity':{'unitId':_0x35cb26[_0x40c22c(0x22a)],'rangeId':_0x35cb26[_0x40c22c(0x1c0)]},'config':_0x35cb26['config'],'referenceRevision':_0x35cb26[_0x40c22c(0x1a9)],..._0x35cb26[_0x40c22c(0x25f)]?{'liveResult':_0x35cb26[_0x40c22c(0x25f)]}:null}));}[_0x63b022(0x191)](){const _0x14edce=_0x63b022;for(let _0x5c4e36 of this[_0x14edce(0x16c)][_0x14edce(0x1ee)]())this[_0x14edce(0x24b)](_0x5c4e36);this['_registrations'][_0x14edce(0x1f6)](),this[_0x14edce(0x14b)]['clear'](),this[_0x14edce(0x17c)][_0x14edce(0x245)](),super['dispose']();}[_0x63b022(0x28d)](_0x39284b){const _0x5acda7=_0x63b022;let _0x55024f=this[_0x5acda7(0x14b)][_0x5acda7(0x185)](_0x39284b[_0x5acda7(0x1c5)]),_0x5b01da=_0x55024f?this[_0x5acda7(0x16c)][_0x5acda7(0x185)](_0x55024f):void 0x0;!_0x55024f||!_0x5b01da||(_0x5b01da[_0x5acda7(0x25f)]=_0x39284b,this['_setPresentation'](_0x55024f,_0x357d66(_0x5b01da['config'],_0x39284b)));}['_setPresentation'](_0x3d5a6d,_0x2b41ad){const _0x159925=_0x63b022;var _0x2c3beb,_0xb3bce6;let _0x13fd1c=this[_0x159925(0x16c)][_0x159925(0x185)](_0x3d5a6d);if(!_0x13fd1c||_0x42a7c4(_0x13fd1c[_0x159925(0x15a)],_0x2b41ad))return;let _0x141e26=_0x13fd1c[_0x159925(0x15a)],_0x3ab55f=_0x5851da(_0x13fd1c);_0x13fd1c[_0x159925(0x15a)]=_0x2b41ad,this[_0x159925(0x17c)][_0x159925(0x16a)]({'unitId':_0x13fd1c[_0x159925(0x22a)],'rangeId':_0x13fd1c['rangeId'],'presentation':_0x2b41ad,'previousPresentation':_0x141e26,'result':_0x5851da(_0x13fd1c),'previousResult':{..._0x3ab55f,..._0x141e26,'value':(_0x2c3beb=_0x141e26['cell'])==null?void 0x0:_0x2c3beb['v'],'valueType':((_0xb3bce6=_0x141e26[_0x159925(0x195)])==null?void 0x0:_0xb3bce6['t'])??void 0x0}});}['_deleteRegistration'](_0x491272){const _0x27d70d=_0x63b022;_0x491272[_0x27d70d(0x1c5)]&&(this[_0x27d70d(0x20e)][_0x27d70d(0x228)](_0x491272[_0x27d70d(0x22a)],_0x491272[_0x27d70d(0x22a)],[_0x491272[_0x27d70d(0x1c5)]]),this[_0x27d70d(0x14b)][_0x27d70d(0x16b)](_0x491272[_0x27d70d(0x1c5)]));}};_0x15eebe=_0x57146d([_0x74fe3c(0x0,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x2bf8cc)),_0x74fe3c(0x1,(0x0,_0x4f7619['Inject'])(_0x4ccd29[_0x63b022(0x150)])),_0x74fe3c(0x2,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x145aa2[_0x63b022(0x1e9)]))],_0x15eebe);function _0x361e38(_0x4c4da8,_0x354805){return _0x4c4da8+'\x00'+_0x354805;}function _0x357d66(_0xe76e1c,_0x101cfe){const _0x3aa275=_0x63b022;return(0x0,_0x145aa2['resolveFormulaResultPresentation'])({'numberFormat':_0xe76e1c[_0x3aa275(0x19c)],'lastValue':_0xe76e1c[_0x3aa275(0x1d8)],'result':_0x101cfe});}function _0x5851da(_0x3d03a2){const _0x146d3f=_0x63b022;var _0x38ac76,_0xb1197e,_0x369054;let _0x445b8c=_0x3d03a2[_0x146d3f(0x15a)],_0xcfbc85=_0x3d03a2['config'][_0x146d3f(0x23f)][_0x146d3f(0x247)]()?_0x445b8c[_0x146d3f(0x190)]||_0x445b8c[_0x146d3f(0x195)]==null?_0x146d3f(0x28a):((_0x38ac76=_0x3d03a2[_0x146d3f(0x25f)])==null?void 0x0:_0x38ac76[_0x146d3f(0x178)])===_0x4ccd29['FormulaResultStatus'][_0x146d3f(0x1da)]?_0x146d3f(0x1e1):_0x146d3f(0x1cf):_0x146d3f(0x1a6);return{..._0x445b8c,'status':_0xcfbc85,'value':(_0xb1197e=_0x445b8c[_0x146d3f(0x195)])==null?void 0x0:_0xb1197e['v'],'valueType':((_0x369054=_0x445b8c['cell'])==null?void 0x0:_0x369054['t'])??void 0x0};}function _0x42a7c4(_0x4e950e,_0x38ee22){const _0x121583=_0x63b022;var _0x42f657,_0x40c9a2,_0x22e678,_0x2059a8;return _0x4e950e['text']===_0x38ee22[_0x121583(0x282)]&&_0x4e950e['color']===_0x38ee22['color']&&_0x4e950e['pattern']===_0x38ee22['pattern']&&_0x4e950e[_0x121583(0x161)]===_0x38ee22[_0x121583(0x161)]&&_0x4e950e['stale']===_0x38ee22[_0x121583(0x190)]&&((_0x42f657=_0x4e950e[_0x121583(0x195)])==null?void 0x0:_0x42f657['t'])===((_0x40c9a2=_0x38ee22['cell'])==null?void 0x0:_0x40c9a2['t'])&&Object['is']((_0x22e678=_0x4e950e[_0x121583(0x195)])==null?void 0x0:_0x22e678['v'],(_0x2059a8=_0x38ee22[_0x121583(0x195)])==null?void 0x0:_0x2059a8['v']);}let _0x15f9ad={'id':_0x63b022(0x229),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x14f)],'handler':(_0x4f8a7e,_0x4adb6d)=>!(_0x4adb6d!=null&&_0x4adb6d[_0x63b022(0x22a)])||!_0x4adb6d[_0x63b022(0x1c0)]||!_0x4adb6d[_0x63b022(0x1e6)]?!0x1:_0x4f8a7e[_0x63b022(0x185)](_0x2bf8cc)['setFormula'](_0x4adb6d[_0x63b022(0x22a)],_0x4adb6d['rangeId'],_0x4adb6d[_0x63b022(0x1e6)])},_0x3a7b95={'id':_0x63b022(0x262),'type':_0x4f7619[_0x63b022(0x1ad)]['MUTATION'],'handler':(_0x309b6d,_0xa95eb)=>!(_0xa95eb!=null&&_0xa95eb[_0x63b022(0x22a)])||!_0xa95eb[_0x63b022(0x1c0)]?!0x1:_0x309b6d[_0x63b022(0x185)](_0x2bf8cc)[_0x63b022(0x217)](_0xa95eb[_0x63b022(0x22a)],_0xa95eb['rangeId'])},_0x507e5b={'id':'docs-formula.mutation.set-resource','type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x14f)],'handler':(_0x5ee399,_0x3bc101)=>!(_0x3bc101!=null&&_0x3bc101[_0x63b022(0x22a)])||!_0x3bc101[_0x63b022(0x186)]?!0x1:_0x5ee399['get'](_0x2bf8cc)['setResource'](_0x3bc101[_0x63b022(0x22a)],_0x3bc101[_0x63b022(0x186)])},_0x57290b={'id':_0x63b022(0x1b7),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x14f)],'handler':(_0x4f1cd2,_0x4f5a09)=>{const _0x269d42=_0x63b022;if(!(_0x4f5a09!=null&&_0x4f5a09[_0x269d42(0x22a)])||!_0x4f5a09[_0x269d42(0x1c6)]['length'])return!0x1;let _0x2dc49d=_0x4f1cd2[_0x269d42(0x185)](_0x2bf8cc),_0x300551=_0x4f1cd2[_0x269d42(0x185)](_0x145aa2[_0x269d42(0x1e9)]),_0x1d1a5b=_0x2dc49d[_0x269d42(0x1f1)](_0x4f5a09['unitId']);if(!_0x1d1a5b)return!0x1;let _0x18b05c=_0x4f7619[_0x269d42(0x26c)][_0x269d42(0x26d)](_0x1d1a5b),_0x2de6d2=!0x1;for(let _0x2a6519 of _0x4f5a09[_0x269d42(0x1c6)]){var _0x1ebac6,_0x5931f0,_0x59e35c,_0xa4cb2c;let _0x5bfd96=_0x18b05c[_0x269d42(0x1e0)][_0x2a6519['rangeId']];!_0x5bfd96||_0x5bfd96[_0x269d42(0x23f)]!==_0x2a6519[_0x269d42(0x1a1)]||((_0x1ebac6=_0x5bfd96[_0x269d42(0x19c)])==null?void 0x0:_0x1ebac6[_0x269d42(0x204)])!==_0x2a6519[_0x269d42(0x156)]||_0x300551[_0x269d42(0x1bb)](_0x4f5a09[_0x269d42(0x22a)])!==_0x2a6519[_0x269d42(0x17b)]||(((_0x5931f0=_0x5bfd96[_0x269d42(0x1d8)])==null?void 0x0:_0x5931f0['v'])!==_0x2a6519[_0x269d42(0x1d8)]['v']||((_0x59e35c=_0x5bfd96['lastValue'])==null?void 0x0:_0x59e35c['t'])!==_0x2a6519[_0x269d42(0x1d8)]['t']||((_0xa4cb2c=_0x5bfd96[_0x269d42(0x1d8)])==null?void 0x0:_0xa4cb2c[_0x269d42(0x204)])!==_0x2a6519[_0x269d42(0x1d8)]['pattern'])&&(_0x5bfd96[_0x269d42(0x1d8)]=_0x4f7619[_0x269d42(0x26c)]['deepClone'](_0x2a6519[_0x269d42(0x1d8)]),_0x2de6d2=!0x0);}return!_0x2de6d2||_0x2dc49d[_0x269d42(0x149)](_0x4f5a09['unitId'],_0x18b05c);}},_0x1fa41f={'id':_0x63b022(0x283),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x208)],'handler':(_0x3adfb1,_0x16b9df)=>{const _0x2b74ca=_0x63b022;if(!(_0x16b9df!=null&&_0x16b9df[_0x2b74ca(0x23f)]['trim']()))return!0x1;let _0xbfa073=_0x28cabf(_0x3adfb1,_0x16b9df[_0x2b74ca(0x22a)],'');if(!_0xbfa073)return!0x1;let _0x8de0a3=_0x305d14(_0x16b9df['target'],_0xbfa073[_0x2b74ca(0x1fd)],_0x109ab8(_0x3adfb1,_0xbfa073[_0x2b74ca(0x22a)]));if(!_0x8de0a3)return!0x1;let _0xa7bc4d=_0x4d7fbf(_0x3adfb1,_0xbfa073[_0x2b74ca(0x22a)],_0x16b9df[_0x2b74ca(0x23f)],_0x16b9df[_0x2b74ca(0x1e2)]??[]);if(!_0xa7bc4d)return!0x1;let _0x4a10a2=_0x8da86b(_0xbfa073[_0x2b74ca(0x1fd)],_0xbfa073[_0x2b74ca(0x268)],_0xbfa073[_0x2b74ca(0x22a)]),_0x203a24=_0x1f873e({'documentData':_0xbfa073['documentData'],'resource':_0xbfa073[_0x2b74ca(0x186)],'rangeId':_0x4a10a2,'config':{'formula':_0x16b9df['formula'],..._0x16b9df[_0x2b74ca(0x19c)]?{'numberFormat':_0x16b9df['numberFormat']}:null},'startOffset':_0x8de0a3[_0x2b74ca(0x23d)],'endOffset':_0x8de0a3['endOffset']});if(!_0x203a24)return!0x1;let _0x320e1d=(0x0,_0x145aa2[_0x2b74ca(0x152)])(_0x3adfb1,_0xbfa073[_0x2b74ca(0x22a)],_0xa7bc4d);return!_0x320e1d||!_0x951212({'accessor':_0x3adfb1,'document':_0xbfa073['document'],'unitId':_0xbfa073[_0x2b74ca(0x22a)],'trigger':_0x1fa41f['id'],'rangeId':_0x4a10a2,'previousResource':_0xbfa073['resource'],'nextResource':_0x203a24[_0x2b74ca(0x290)],'previousDocumentData':_0xbfa073[_0x2b74ca(0x22b)],'nextDocumentData':_0x203a24[_0x2b74ca(0x264)],'cursorOffset':_0x203a24[_0x2b74ca(0x154)],'externalMutations':_0x320e1d})?!0x1:{'rangeId':_0x4a10a2,'startOffset':_0x203a24[_0x2b74ca(0x154)]-0x1,'endOffset':_0x203a24[_0x2b74ca(0x154)]};}},_0x556927={'id':_0x63b022(0x198),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x208)],'handler':(_0xbc826e,_0x343b11)=>{const _0x4ffdaf=_0x63b022;if(!(_0x343b11!=null&&_0x343b11[_0x4ffdaf(0x1c0)])||!_0x343b11[_0x4ffdaf(0x23f)]['trim']())return!0x1;let _0x4dae09=_0x28cabf(_0xbc826e,_0x343b11['unitId'],''),_0x4a16db=_0x4dae09==null?void 0x0:_0x4dae09[_0x4ffdaf(0x268)][_0x4ffdaf(0x236)](_0x4dae09[_0x4ffdaf(0x22a)],_0x343b11[_0x4ffdaf(0x1c0)]),_0x1b2b59=_0x4dae09?_0x3fe7af(_0x4dae09[_0x4ffdaf(0x22b)][_0x4ffdaf(0x1fd)],_0x343b11[_0x4ffdaf(0x1c0)]):void 0x0;if(!_0x4dae09||!_0x4a16db||!_0x1b2b59)return!0x1;let _0x19ceac=_0x4d7fbf(_0xbc826e,_0x4dae09[_0x4ffdaf(0x22a)],_0x343b11[_0x4ffdaf(0x23f)],_0x343b11[_0x4ffdaf(0x1e2)]??[]);if(!_0x19ceac)return!0x1;let _0x411085=(0x0,_0x145aa2[_0x4ffdaf(0x152)])(_0xbc826e,_0x4dae09[_0x4ffdaf(0x22a)],_0x19ceac);if(!_0x411085)return!0x1;let _0x23e1d2=_0x5458c3(_0x4dae09[_0x4ffdaf(0x186)]);return _0x23e1d2[_0x4ffdaf(0x1e0)][_0x343b11['rangeId']]={'formula':_0x343b11['formula'],..._0x343b11[_0x4ffdaf(0x19c)]?{'numberFormat':_0x343b11['numberFormat']}:_0x4a16db[_0x4ffdaf(0x19c)]?{'numberFormat':_0x4a16db['numberFormat']}:null},_0x951212({'accessor':_0xbc826e,'document':_0x4dae09['document'],'unitId':_0x4dae09[_0x4ffdaf(0x22a)],'trigger':_0x556927['id'],'rangeId':_0x343b11[_0x4ffdaf(0x1c0)],'previousResource':_0x4dae09['resource'],'nextResource':_0x23e1d2,'cursorOffset':_0x1b2b59['endIndex']+0x1,'externalMutations':_0x411085});}},_0x588adf={'id':_0x63b022(0x272),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x208)],'handler':(_0x1da91a,_0x11f82d)=>{const _0x2f9f90=_0x63b022;if(!(_0x11f82d!=null&&_0x11f82d[_0x2f9f90(0x1c0)]))return!0x1;let _0xefcea3=_0x28cabf(_0x1da91a,_0x11f82d[_0x2f9f90(0x22a)],''),_0x1628c6=_0xefcea3==null?void 0x0:_0xefcea3[_0x2f9f90(0x268)][_0x2f9f90(0x236)](_0xefcea3[_0x2f9f90(0x22a)],_0x11f82d['rangeId']),_0x396e64=_0xefcea3?_0x3fe7af(_0xefcea3[_0x2f9f90(0x22b)][_0x2f9f90(0x1fd)],_0x11f82d[_0x2f9f90(0x1c0)]):void 0x0;if(!_0xefcea3||!_0x1628c6||!_0x396e64)return!0x1;let _0x2564eb=_0x5458c3(_0xefcea3['resource']);return _0x2564eb[_0x2f9f90(0x1e0)][_0x11f82d[_0x2f9f90(0x1c0)]]={..._0x1628c6,..._0x11f82d[_0x2f9f90(0x19c)]?{'numberFormat':_0x11f82d[_0x2f9f90(0x19c)]}:null},_0x11f82d[_0x2f9f90(0x19c)]||delete _0x2564eb[_0x2f9f90(0x1e0)][_0x11f82d[_0x2f9f90(0x1c0)]]['numberFormat'],_0x951212({'accessor':_0x1da91a,'document':_0xefcea3[_0x2f9f90(0x1e3)],'unitId':_0xefcea3[_0x2f9f90(0x22a)],'trigger':_0x588adf['id'],'rangeId':_0x11f82d[_0x2f9f90(0x1c0)],'previousResource':_0xefcea3[_0x2f9f90(0x186)],'nextResource':_0x2564eb,'cursorOffset':_0x396e64['endIndex']+0x1,'externalMutations':{}});}},_0xa85899={'id':_0x63b022(0x222),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x208)],'handler':(_0x3b757d,_0x520dc4)=>_0x2b3d4f(_0x3b757d,_0x520dc4,'',_0xa85899['id'])},_0x4453ab={'id':_0x63b022(0x25a),'type':_0x4f7619[_0x63b022(0x1ad)][_0x63b022(0x208)],'handler':(_0x20e2e5,_0x189fd2)=>_0x2b3d4f(_0x20e2e5,_0x189fd2,(_0x189fd2==null?void 0x0:_0x189fd2[_0x63b022(0x282)])??'',_0x4453ab['id'])},_0x16b5e8={'id':_0x63b022(0x28b),'type':_0x4f7619[_0x63b022(0x1ad)]['COMMAND'],'handler':(_0x4b2dc3,_0x1bf708)=>{const _0x50c316=_0x63b022;if(!(_0x1bf708!=null&&_0x1bf708['rangeId']))return!0x1;let _0x1c9cfd=_0x28cabf(_0x4b2dc3,_0x1bf708['unitId'],'');if(!_0x1c9cfd)return!0x1;let _0x240f1b=_0x4b2dc3[_0x50c316(0x185)](_0x15eebe)['getResult']({'unitId':_0x1c9cfd[_0x50c316(0x22a)],'rangeId':_0x1bf708[_0x50c316(0x1c0)]});return _0x240f1b?_0x2b3d4f(_0x4b2dc3,_0x1bf708,_0x240f1b['text'],_0x16b5e8['id']):!0x1;}};function _0x2b3d4f(_0xf73de0,_0x2de0dc,_0x32000d,_0xfae48e){const _0x432e46=_0x63b022;if(!(_0x2de0dc!=null&&_0x2de0dc[_0x432e46(0x1c0)]))return!0x1;let _0x3a53a1=_0x28cabf(_0xf73de0,_0x2de0dc[_0x432e46(0x22a)],'');if(!_0x3a53a1)return!0x1;let _0x2115fc=_0x5209f3({'documentData':_0x3a53a1[_0x432e46(0x22b)],'resource':_0x3a53a1['resource'],'rangeId':_0x2de0dc[_0x432e46(0x1c0)],'text':_0x32000d});return _0x2115fc?_0x951212({'accessor':_0xf73de0,'document':_0x3a53a1[_0x432e46(0x1e3)],'unitId':_0x3a53a1[_0x432e46(0x22a)],'trigger':_0xfae48e,'rangeId':_0x2de0dc[_0x432e46(0x1c0)],'previousResource':_0x3a53a1['resource'],'nextResource':_0x2115fc[_0x432e46(0x290)],'previousDocumentData':_0x3a53a1[_0x432e46(0x22b)],'nextDocumentData':_0x2115fc[_0x432e46(0x264)],'cursorOffset':_0x2115fc[_0x432e46(0x154)],'externalMutations':{}}):!0x1;}function _0x28cabf(_0xc647bd,_0x19c178,_0x7cfc69){const _0x1a3625=_0x63b022;if(_0x7cfc69)return null;let _0x5de7d9=_0xc647bd[_0x1a3625(0x185)](_0x4f7619['IUniverInstanceService']),_0x50ee2d=(_0x19c178?_0x5de7d9[_0x1a3625(0x1e8)](_0x19c178,_0x4f7619[_0x1a3625(0x280)][_0x1a3625(0x1e5)]):_0x5de7d9['getCurrentUnitOfType'](_0x4f7619[_0x1a3625(0x280)]['UNIVER_DOC']))??null;if(!_0x50ee2d)return null;let _0x3d54e6=_0x50ee2d[_0x1a3625(0x1f7)](),_0x8b0ee2=_0x3d54e6[_0x1a3625(0x1fd)];if(_0x3d54e6['disabled']||!_0x8b0ee2)return null;let _0xbab7f3=_0xc647bd['get'](_0x2bf8cc);return _0xbab7f3[_0x1a3625(0x218)](_0x50ee2d[_0x1a3625(0x26b)]())?null:{'document':_0x50ee2d,'body':_0x8b0ee2,'documentData':_0x3d54e6,'model':_0xbab7f3,'resource':_0xbab7f3[_0x1a3625(0x1f1)](_0x50ee2d[_0x1a3625(0x26b)]())??_0xcaf32(),'unitId':_0x50ee2d[_0x1a3625(0x26b)]()};}function _0x109ab8(_0x5c65a2,_0x4f4029){const _0x5bfdd5=_0x63b022;var _0x40e06d;return(_0x40e06d=_0x5c65a2[_0x5bfdd5(0x185)](_0x598ef1[_0x5bfdd5(0x205)])[_0x5bfdd5(0x209)]({'subUnitId':_0x4f4029,'unitId':_0x4f4029}))==null?void 0x0:_0x40e06d[0x0];}function _0x305d14(_0x3e7f20,_0x3f9bd5,_0x10195f){const _0x45abfc=_0x63b022;if((_0x3e7f20==null?void 0x0:_0x3e7f20[_0x45abfc(0x26f)])===_0x45abfc(0x26a)){var _0x50ee9d;let _0xac3b76=((_0x50ee9d=_0x3f9bd5[_0x45abfc(0x19e)])==null?void 0x0:_0x50ee9d[_0x45abfc(0x1ec)](_0x58ba2b=>_0x58ba2b[_0x45abfc(0x285)]===_0x3e7f20[_0x45abfc(0x285)]))??[];if(_0xac3b76[_0x45abfc(0x177)]!==0x1)return null;let _0x15ef31=_0xac3b76[0x0],_0x48faf0=(0x0,_0x4f7619[_0x45abfc(0x24d)])(_0x3f9bd5,_0x15ef31),_0x4b5daf=_0x15ef31[_0x45abfc(0x19b)]-_0x48faf0,_0x24d675=_0x3e7f20['position']===_0x45abfc(0x1ba)?_0x4b5daf:_0x3e7f20['position'];if(!Number['isInteger'](_0x24d675)||_0x24d675<0x0||_0x24d675>_0x4b5daf)return null;let _0x44cde0=_0x48faf0+_0x24d675;return{'startOffset':_0x44cde0,'endOffset':_0x44cde0};}if((_0x3e7f20==null?void 0x0:_0x3e7f20[_0x45abfc(0x26f)])===_0x45abfc(0x1d1))return!Number['isInteger'](_0x3e7f20[_0x45abfc(0x23d)])||!Number['isInteger'](_0x3e7f20[_0x45abfc(0x1a5)])?null:{'startOffset':Math[_0x45abfc(0x1de)](_0x3e7f20[_0x45abfc(0x23d)],_0x3e7f20[_0x45abfc(0x1a5)]),'endOffset':Math[_0x45abfc(0x1ff)](_0x3e7f20[_0x45abfc(0x23d)],_0x3e7f20[_0x45abfc(0x1a5)])};let _0x4feca1=(_0x3e7f20==null?void 0x0:_0x3e7f20[_0x45abfc(0x26f)])===_0x45abfc(0x18b)?_0x3e7f20[_0x45abfc(0x18b)]:_0x10195f;return!_0x4feca1||_0x4feca1[_0x45abfc(0x1dd)]?null:{'startOffset':Math[_0x45abfc(0x1de)](_0x4feca1[_0x45abfc(0x23d)],_0x4feca1[_0x45abfc(0x1a5)]),'endOffset':Math['max'](_0x4feca1[_0x45abfc(0x23d)],_0x4feca1[_0x45abfc(0x1a5)])};}function _0x4d7fbf(_0x1d850d,_0x48dcc9,_0x592239,_0x6ce9a0){const _0x4e77e7=_0x63b022;let _0x216d4e=_0x1d850d['get'](_0x4ccd29[_0x4e77e7(0x221)]),_0x868ac9=_0x592239['startsWith']('=')?_0x592239[_0x4e77e7(0x1f0)](0x1):_0x592239,_0x29e9d=_0x216d4e[_0x4e77e7(0x182)](_0x868ac9);if(!_0x29e9d)return null;let _0x5e74de=_0x1d850d[_0x4e77e7(0x185)](_0x145aa2['HostExternalReferenceModel']),_0x29b423=(0x0,_0x145aa2[_0x4e77e7(0x160)])({'qualifiers':(0x0,_0x145aa2[_0x4e77e7(0x242)])(_0x29e9d),'explicitReferences':_0x6ce9a0??[],'resolveBinding':_0x14b54c=>_0x5e74de['resolveBinding'](_0x48dcc9,_0x14b54c)});return _0x29b423['status']===_0x4e77e7(0x189)?_0x29b423[_0x4e77e7(0x15b)]:null;}function _0x8da86b(_0x1de03b,_0x4d4ee6,_0x56eb8a){const _0x1d8a19=_0x63b022;var _0xceaeb6;let _0x6a2640=(0x0,_0x4f7619['generateRandomId'])(0x6);for(;_0x1de03b!=null&&(_0xceaeb6=_0x1de03b[_0x1d8a19(0x1fe)])!=null&&_0xceaeb6[_0x1d8a19(0x261)](_0x3a35e7=>_0x3a35e7[_0x1d8a19(0x1c0)]===_0x6a2640)||_0x4d4ee6[_0x1d8a19(0x236)](_0x56eb8a,_0x6a2640);)_0x6a2640=(0x0,_0x4f7619['generateRandomId'])(0x6);return _0x6a2640;}function _0x1f873e(_0x2d9d6){try{return _0x2c0d1f(_0x2d9d6);}catch(_0x3c0e7b){if(_0x3c0e7b instanceof _0x3890ed)return null;throw _0x3c0e7b;}}function _0x5e3378(_0x24c846){const _0x50be4e=_0x63b022;let _0x241630=_0x24c846[_0x50be4e(0x192)]&&_0x24c846[_0x50be4e(0x264)]?_0x182de1(_0x24c846[_0x50be4e(0x1e3)],_0x24c846[_0x50be4e(0x22a)],_0x24c846['previousDocumentData'],_0x24c846[_0x50be4e(0x264)],_0x24c846[_0x50be4e(0x154)],_0x24c846['trigger']):null;return _0x24c846[_0x50be4e(0x192)]&&_0x24c846['nextDocumentData']&&!_0x241630?null:{'documentRedo':_0x241630,'resourceRedo':{'id':_0x507e5b['id'],'params':{'unitId':_0x24c846['unitId'],'resource':_0x24c846[_0x50be4e(0x290)]}},'resourceUndo':{'id':_0x507e5b['id'],'params':{'unitId':_0x24c846[_0x50be4e(0x22a)],'resource':_0x24c846[_0x50be4e(0x251)]}}};}function _0x469a49(_0x902381,_0xede2c3,_0x317230,_0x30fff0){const _0xdda9cc=_0x63b022;_0x30fff0[_0xdda9cc(0x171)]({'id':_0x902381[_0xdda9cc(0x174)]+':'+_0x902381[_0xdda9cc(0x1c0)],'unitID':_0x902381[_0xdda9cc(0x22a)],'redoMutations':[..._0x902381[_0xdda9cc(0x1b6)]['redoMutation']?[_0x902381[_0xdda9cc(0x1b6)][_0xdda9cc(0x16f)]]:[],..._0xede2c3[_0xdda9cc(0x17f)]?[_0xede2c3[_0xdda9cc(0x17f)]]:[],_0xede2c3[_0xdda9cc(0x1d6)]],'undoMutations':[_0xede2c3[_0xdda9cc(0x207)],..._0x317230?[_0x317230]:[],..._0x902381['externalMutations'][_0xdda9cc(0x233)]?[_0x902381[_0xdda9cc(0x1b6)][_0xdda9cc(0x233)]]:[]]});}function _0x951212(_0x449a28){const _0x19743a=_0x63b022;let _0xbab2ae=_0x449a28[_0x19743a(0x1bc)][_0x19743a(0x185)](_0x4f7619[_0x19743a(0x269)]),_0x3c8c54=_0x449a28[_0x19743a(0x1bc)][_0x19743a(0x185)](_0x4f7619[_0x19743a(0x1f9)]),_0x3ff748=_0x449a28[_0x19743a(0x1bc)][_0x19743a(0x185)](_0x598ef1['DocSelectionManagerService']),_0x2eef9b=_0x5e3378(_0x449a28);if(!_0x2eef9b)return!0x1;let _0x2e18f0=!0x1,_0x3e01ff=null,_0x24244d=!0x1;try{if(_0x449a28[_0x19743a(0x1b6)]['redoMutation']){if(!_0xbab2ae['syncExecuteCommand'](_0x449a28[_0x19743a(0x1b6)][_0x19743a(0x16f)]['id'],_0x449a28[_0x19743a(0x1b6)]['redoMutation'][_0x19743a(0x15f)]))return!0x1;_0x2e18f0=!0x0;}if(_0x2eef9b['documentRedo']){let _0x3f5ccb=_0xbab2ae[_0x19743a(0x267)](_0x2eef9b[_0x19743a(0x17f)]['id'],_0x2eef9b[_0x19743a(0x17f)][_0x19743a(0x15f)]);if(!_0x3f5ccb)return _0x8e038(_0xbab2ae,_0x449a28[_0x19743a(0x1b6)],_0x2e18f0),!0x1;_0x3e01ff={'id':_0x598ef1[_0x19743a(0x166)]['id'],'params':{..._0x3f5ccb,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0xbab2ae[_0x19743a(0x267)](_0x2eef9b['resourceRedo']['id'],_0x2eef9b[_0x19743a(0x1d6)][_0x19743a(0x15f)]))return _0x262264(_0xbab2ae,_0x3e01ff),_0x8e038(_0xbab2ae,_0x449a28[_0x19743a(0x1b6)],_0x2e18f0),!0x1;_0x24244d=!0x0,_0x469a49(_0x449a28,_0x2eef9b,_0x3e01ff,_0x3c8c54);}catch(_0x35257b){throw _0x24244d&&_0xbab2ae[_0x19743a(0x267)](_0x2eef9b[_0x19743a(0x207)]['id'],_0x2eef9b[_0x19743a(0x207)][_0x19743a(0x15f)]),_0x262264(_0xbab2ae,_0x3e01ff),_0x8e038(_0xbab2ae,_0x449a28[_0x19743a(0x1b6)],_0x2e18f0),_0x35257b;}return _0x3ff748[_0x19743a(0x25e)]([{'startOffset':_0x449a28['cursorOffset'],'endOffset':_0x449a28['cursorOffset'],'segmentId':''}],{'unitId':_0x449a28[_0x19743a(0x22a)],'subUnitId':_0x449a28[_0x19743a(0x22a)]},!0x1,{[_0x598ef1[_0x19743a(0x20b)]]:!0x0}),!0x0;}function _0x182de1(_0x3e7fc0,_0x496149,_0x31707d,_0x1fda19,_0x3223a8,_0x409a52){const _0x3e58fa=_0x63b022;let _0x47ab33=_0x223a95(_0x31707d,_0x1fda19,(0x0,_0x4f7619[_0x3e58fa(0x200)])(_0x3e7fc0,''));return _0x47ab33?{'id':_0x598ef1[_0x3e58fa(0x166)]['id'],'params':{'unitId':_0x496149,'actions':_0x47ab33,'segmentId':'','textRanges':[{'startOffset':_0x3223a8,'endOffset':_0x3223a8,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x409a52}}:null;}function _0x262264(_0x126a13,_0x1d561d){const _0x449318=_0x63b022;_0x1d561d&&_0x126a13[_0x449318(0x267)](_0x1d561d['id'],_0x1d561d[_0x449318(0x15f)]);}function _0x8e038(_0x138b50,_0x249a1e,_0x19a7c5){const _0x558b6a=_0x63b022;_0x19a7c5&&_0x249a1e[_0x558b6a(0x233)]&&_0x138b50['syncExecuteCommand'](_0x249a1e[_0x558b6a(0x233)]['id'],_0x249a1e[_0x558b6a(0x233)][_0x558b6a(0x15f)]);}function _0x223a95(_0x48773c,_0x5e01a3,_0x39d464){const _0x282064=_0x63b022;let _0x25d7e8=_0x48773c[_0x282064(0x1fd)],_0x594f16=_0x5e01a3[_0x282064(0x1fd)],_0x493c39=_0x1de800(_0x25d7e8==null?void 0x0:_0x25d7e8[_0x282064(0x1df)],_0x594f16==null?void 0x0:_0x594f16['dataStream']);if(!_0x493c39||!_0x594f16)return null;let _0x4ec33a=new _0x4f7619[(_0x282064(0x181))]();return _0x4ec33a['retain'](_0x493c39[_0x282064(0x1ae)]),_0x493c39[_0x282064(0x14c)]>0x0&&_0x4ec33a[_0x282064(0x16e)](_0x493c39[_0x282064(0x14c)],(0x0,_0x4f7619[_0x282064(0x1a8)])(_0x594f16,_0x493c39['start'],_0x493c39[_0x282064(0x1ae)]+_0x493c39[_0x282064(0x14c)],!0x1)),_0x493c39[_0x282064(0x197)]>0x0&&_0x4ec33a[_0x282064(0x16b)](_0x493c39['deleteLength']),_0x4f7619['JSONX'][_0x282064(0x25b)]()[_0x282064(0x1b5)](_0x4ec33a[_0x282064(0x1d5)](),_0x39d464);}function _0x1de800(_0x395775,_0x4b58f2){const _0x501585=_0x63b022;if(_0x395775==null||_0x4b58f2==null||_0x395775===_0x4b58f2)return null;let _0x52a942=0x0;for(;_0x52a942<_0x395775[_0x501585(0x177)]&&_0x52a942<_0x4b58f2[_0x501585(0x177)]&&_0x395775[_0x52a942]===_0x4b58f2[_0x52a942];)_0x52a942+=0x1;let _0x1b9b46=_0x395775[_0x501585(0x177)],_0x34facf=_0x4b58f2[_0x501585(0x177)];for(;_0x1b9b46>_0x52a942&&_0x34facf>_0x52a942&&_0x395775[_0x1b9b46-0x1]===_0x4b58f2[_0x34facf-0x1];)--_0x1b9b46,--_0x34facf;return{'start':_0x52a942,'deleteLength':_0x1b9b46-_0x52a942,'insertLength':_0x34facf-_0x52a942};}function _0x5458c3(_0x56ec2d){const _0x48eb9f=_0x63b022;return{'schemaVersion':0x1,'formulas':Object[_0x48eb9f(0x193)](Object[_0x48eb9f(0x167)](_0x56ec2d['formulas'])[_0x48eb9f(0x1c7)](([_0x257e86,_0x63fa81])=>[_0x257e86,{..._0x63fa81,..._0x63fa81[_0x48eb9f(0x19c)]?{'numberFormat':{..._0x63fa81[_0x48eb9f(0x19c)]}}:null,..._0x63fa81['lastValue']?{'lastValue':{..._0x63fa81[_0x48eb9f(0x1d8)]}}:null}]))};}let _0x10d4b2=class extends _0x4f7619[_0x63b022(0x213)]{constructor(_0x3e4902,_0x7146f,_0x574214,_0x2520c2){const _0x348729=_0x63b022;super(),this[_0x348729(0x179)]=_0x3e4902,this[_0x348729(0x281)]=_0x7146f,this[_0x348729(0x165)]=_0x574214,this[_0x348729(0x175)]=_0x2520c2,_0x11e211(this,_0x348729(0x18e),new Set()),_0x11e211(this,_0x348729(0x27f),!0x1),_0x11e211(this,'_isDisposed',!0x1),this[_0x348729(0x179)][_0x348729(0x220)](_0x4f7619[_0x348729(0x280)][_0x348729(0x1e5)])[_0x348729(0x1b1)](_0x437d52=>this['_service']['syncUnit'](_0x437d52)),this[_0x348729(0x1b3)](this[_0x348729(0x165)]['change$'][_0x348729(0x239)](({unitId:_0x522f9e})=>this[_0x348729(0x151)](_0x522f9e))),this[_0x348729(0x1b3)](this['_instanceService'][_0x348729(0x1fc)][_0x348729(0x239)](({unit:_0x38b757})=>{const _0x36bb2c=_0x348729;_0x38b757[_0x36bb2c(0x26f)]===_0x4f7619['UniverInstanceType'][_0x36bb2c(0x1e5)]&&this[_0x36bb2c(0x26e)](_0x38b757[_0x36bb2c(0x26b)]());})),this[_0x348729(0x1b3)](this[_0x348729(0x179)][_0x348729(0x25d)][_0x348729(0x239)](_0x3995fd=>{const _0x4aa948=_0x348729;this[_0x4aa948(0x175)]['unregisterUnit'](_0x3995fd[_0x4aa948(0x26b)]());})),this['disposeWithMe'](this['_commandService'][_0x348729(0x172)](_0x37ccbc=>{const _0x39a394=_0x348729;if(_0x37ccbc['id']===_0x598ef1[_0x39a394(0x166)]['id']&&_0x26bf0c(_0x37ccbc['params'])){let _0x5d823d=_0x37ccbc[_0x39a394(0x15f)];_0x5d823d['segmentId']||this[_0x39a394(0x151)](_0x5d823d[_0x39a394(0x22a)]);}}));}['dispose'](){const _0x40ebfb=_0x63b022;this[_0x40ebfb(0x1ac)]=!0x0,super[_0x40ebfb(0x191)]();}[_0x63b022(0x26e)](_0x174413){const _0x494924=_0x63b022;this[_0x494924(0x18e)][_0x494924(0x25c)](_0x174413),!this[_0x494924(0x27f)]&&(this[_0x494924(0x27f)]=!0x0,queueMicrotask(()=>{const _0xfae685=_0x494924;if(this['_syncScheduled']=!0x1,this['_isDisposed'])return;let _0x288931=Array[_0xfae685(0x24e)](this['_pendingUnitIds']);this[_0xfae685(0x18e)][_0xfae685(0x1f6)](),_0x288931[_0xfae685(0x1b1)](_0x2baedb=>this[_0xfae685(0x151)](_0x2baedb));}));}[_0x63b022(0x151)](_0x3aba4b){const _0x45bb85=_0x63b022;let _0x5e090f=this['_instanceService'][_0x45bb85(0x1e8)](_0x3aba4b,_0x4f7619[_0x45bb85(0x280)]['UNIVER_DOC']);_0x5e090f&&this['_service'][_0x45bb85(0x252)](_0x5e090f);}};_0x10d4b2=_0x57146d([_0x74fe3c(0x0,_0x4f7619[_0x63b022(0x1e7)]),_0x74fe3c(0x1,_0x4f7619[_0x63b022(0x269)]),_0x74fe3c(0x2,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x2bf8cc)),_0x74fe3c(0x3,(0x0,_0x4f7619['Inject'])(_0x15eebe))],_0x10d4b2);function _0x26bf0c(_0x40d916){const _0x513f6a=_0x63b022;return typeof _0x40d916==_0x513f6a(0x18f)&&!!_0x40d916&&_0x513f6a(0x22a)in _0x40d916&&typeof _0x40d916[_0x513f6a(0x22a)]=='string'&&(!(_0x513f6a(0x1dd)in _0x40d916)||_0x40d916[_0x513f6a(0x1dd)]===void 0x0||typeof _0x40d916[_0x513f6a(0x1dd)]==_0x513f6a(0x259));}let _0x12b110=class extends _0x4f7619['Disposable']{constructor(_0x387757,_0x6d03d3){const _0x175712=_0x63b022;super(),this['_resourceManagerService']=_0x387757,this[_0x175712(0x246)]=_0x6d03d3,this[_0x175712(0x1b3)](this['_resourceManagerService'][_0x175712(0x258)]({'pluginName':_0x1165ca,'businesses':[_0x4f7619[_0x175712(0x280)]['UNIVER_DOC']],'toJson':_0xb6ea37=>JSON['stringify'](this[_0x175712(0x246)][_0x175712(0x1d5)](_0xb6ea37)),'parseJson':_0x4b95b2=>JSON[_0x175712(0x23e)](_0x4b95b2),'onLoad':(_0x5eb50d,_0xf5e244)=>{const _0x3da732=_0x175712;this[_0x3da732(0x246)]['load'](_0x5eb50d,_0xf5e244);},'onUnLoad':_0x2d0082=>this[_0x175712(0x246)][_0x175712(0x226)](_0x2d0082)}));}};_0x12b110=_0x57146d([_0x74fe3c(0x0,_0x4f7619[_0x63b022(0x27a)]),_0x74fe3c(0x1,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x2bf8cc))],_0x12b110);var _0x252ff3='@univerjs-pro/docs-formula',_0x3bc3d5=_0x63b022(0x21d);let _0x1fc314={},_0x589dd7=class extends _0x4f7619['Disposable']{constructor(_0x73ddfb,_0x184701,_0x4dbc25){const _0x5cea1f=_0x63b022;super(),this[_0x5cea1f(0x1db)]=_0x73ddfb,this[_0x5cea1f(0x277)]=_0x184701,this[_0x5cea1f(0x1b3)](_0x4dbc25[_0x5cea1f(0x28e)]({'resolve':(_0x27528b,_0x20a321)=>{const _0x40dccc=_0x5cea1f;var _0x2e2c5d;return((_0x2e2c5d=_0x20a321['customRanges'])==null?void 0x0:_0x2e2c5d[_0x40dccc(0x1ec)](_0x359c18)[_0x40dccc(0x1c7)](_0x569512=>({'startOffset':_0x569512[_0x40dccc(0x19b)],'endOffset':_0x569512[_0x40dccc(0x202)]+0x1,'text':this[_0x40dccc(0x24c)](_0x27528b,_0x569512[_0x40dccc(0x1c0)])})))??[];}})),this['disposeWithMe'](this['_formulaService']['presentationChanged$']['subscribe'](({unitId:_0x1f8502})=>{const _0x39be63=_0x5cea1f;_0x4dbc25[_0x39be63(0x265)](_0x1f8502);}));}[_0x63b022(0x24c)](_0x306e4e,_0x1f7961){const _0x175b89=_0x63b022;var _0x355364;return((_0x355364=this['_formulaService']['getResult']({'unitId':_0x306e4e,'rangeId':_0x1f7961}))==null?void 0x0:_0x355364[_0x175b89(0x282)])??'';}[_0x63b022(0x225)](_0x3f6f64,_0x2dc566,_0x4d35a1){const _0x10b23e=_0x63b022;var _0x2c5630;let _0x18ef19=this['_univerInstanceService'][_0x10b23e(0x1e8)](_0x3f6f64,_0x4f7619[_0x10b23e(0x280)][_0x10b23e(0x1e5)]),_0x274757=_0x18ef19==null?void 0x0:_0x18ef19[_0x10b23e(0x153)]();if(!_0x274757)return'';let _0x21733a=_0x274757[_0x10b23e(0x1df)][_0x10b23e(0x1f0)](_0x2dc566,_0x4d35a1),_0x1a3a5b=((_0x2c5630=_0x274757[_0x10b23e(0x1fe)])==null?void 0x0:_0x2c5630[_0x10b23e(0x1ec)](_0x3feabd=>_0x359c18(_0x3feabd)&&_0x3feabd[_0x10b23e(0x19b)]>=_0x2dc566&&_0x3feabd['endIndex']<_0x4d35a1)['sort']((_0xdc2244,_0x40fd7d)=>_0x40fd7d[_0x10b23e(0x19b)]-_0xdc2244['startIndex']))??[];for(let _0x2f1de0 of _0x1a3a5b){let _0x71808f=_0x2f1de0[_0x10b23e(0x19b)]-_0x2dc566,_0x2c8bee=_0x2f1de0[_0x10b23e(0x202)]-_0x2dc566+0x1;_0x21733a=''+_0x21733a[_0x10b23e(0x1f0)](0x0,_0x71808f)+this[_0x10b23e(0x24c)](_0x3f6f64,_0x2f1de0[_0x10b23e(0x1c0)])+_0x21733a['slice'](_0x2c8bee);}return _0x21733a;}['degradeDocumentData'](_0x133b39){return _0x4644b9(_0x133b39);}[_0x63b022(0x1b8)](_0x176d1f,_0x11ea55,_0x36fdb7={}){const _0x230828=_0x63b022;var _0x2b26f3;return _0x590aef({'id':_0x176d1f,'body':_0x11ea55,'documentStyle':{}},(((_0x2b26f3=_0x11ea55[_0x230828(0x1fe)])==null?void 0x0:_0x2b26f3[_0x230828(0x1ec)](_0x359c18))??[])[_0x230828(0x1c7)](_0x8f41e2=>({'rangeId':_0x8f41e2['rangeId'],'text':_0x36fdb7[_0x8f41e2[_0x230828(0x1c0)]]??this[_0x230828(0x24c)](_0x176d1f,_0x8f41e2[_0x230828(0x1c0)])})))[_0x230828(0x1fd)]??{'dataStream':''};}};_0x589dd7=_0x57146d([_0x74fe3c(0x0,_0x4f7619[_0x63b022(0x1e7)]),_0x74fe3c(0x1,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x15eebe)),_0x74fe3c(0x2,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x598ef1[_0x63b022(0x1c2)]))],_0x589dd7);function _0x4644b9(_0x5f5dfc){const _0x46e826=_0x63b022;var _0x28b110,_0x498236;let _0x5badab=_0x169526(_0x5f5dfc),_0x495402=_0x590aef(_0x5f5dfc,(((_0x28b110=_0x5f5dfc[_0x46e826(0x1fd)])==null||(_0x28b110=_0x28b110[_0x46e826(0x1fe)])==null?void 0x0:_0x28b110['filter'](_0x359c18))??[])[_0x46e826(0x1c7)](_0x5dfa7d=>({'rangeId':_0x5dfa7d['rangeId'],'text':_0x59c673(_0x5badab==null?void 0x0:_0x5badab['formulas'][_0x5dfa7d[_0x46e826(0x1c0)]])})));return _0x495402['resources']=(_0x498236=_0x495402['resources'])==null?void 0x0:_0x498236['filter'](_0x36e6d7=>_0x36e6d7[_0x46e826(0x14e)]!==_0x1165ca),_0x495402;}function _0x169526(_0xa7b235){const _0xcf5b70=_0x63b022;var _0x460533;let _0x5a2e45=(_0x460533=_0xa7b235[_0xcf5b70(0x288)])==null||(_0x460533=_0x460533['find'](_0x528933=>_0x528933[_0xcf5b70(0x14e)]===_0xcf5b70(0x1f5)))==null?void 0x0:_0x460533[_0xcf5b70(0x162)];if(_0x5a2e45)try{let _0x4dcbb4=JSON[_0xcf5b70(0x23e)](_0x5a2e45);return _0x56bef6(_0x4dcbb4)?_0x4dcbb4:void 0x0;}catch{return;}}function _0x59c673(_0x123be6){const _0xd83eb6=_0x63b022;return _0x123be6?(0x0,_0x145aa2[_0xd83eb6(0x1c9)])({'lastValue':_0x123be6[_0xd83eb6(0x1d8)],'numberFormat':_0x123be6[_0xd83eb6(0x19c)]})[_0xd83eb6(0x282)]:'';}let _0x241297=class extends _0x4f7619[_0x63b022(0x213)]{constructor(_0x3d6488,_0x13fb23,_0x29ac20){const _0x291d37=_0x63b022;super(),this['_formulaService']=_0x3d6488,this[_0x291d37(0x1b2)]=_0x13fb23,this[_0x291d37(0x1b3)](_0x29ac20[_0x291d37(0x1aa)](this));}[_0x63b022(0x1f4)](_0x11a6cf){const _0x1a1140=_0x63b022;let _0x53517d=new Map();for(let _0x5ccaf9 of this[_0x1a1140(0x277)][_0x1a1140(0x234)]()){var _0x313913;if(!this[_0x1a1140(0x1b2)][_0x1a1140(0x1a2)](_0x5ccaf9[_0x1a1140(0x1e6)][_0x1a1140(0x23f)],_0x5ccaf9['liveResult'])['eligible'])continue;let _0x4172b0=(0x0,_0x145aa2['getScalarFormulaResultCell'])(_0x5ccaf9[_0x1a1140(0x25f)]),_0x1fdb69=_0x4172b0?(0x0,_0x145aa2[_0x1a1140(0x263)])(_0x4172b0):null;if(!_0x1fdb69||_0x1613ca(_0x5ccaf9[_0x1a1140(0x1e6)][_0x1a1140(0x1d8)],_0x1fdb69))continue;let _0x5e24e5=_0x53517d['get'](_0x5ccaf9[_0x1a1140(0x27e)][_0x1a1140(0x22a)])??[];_0x5e24e5['push']({'rangeId':_0x5ccaf9[_0x1a1140(0x27e)][_0x1a1140(0x1c0)],'expectedFormula':_0x5ccaf9['config']['formula'],'expectedNumberFormat':(_0x313913=_0x5ccaf9['config'][_0x1a1140(0x19c)])==null?void 0x0:_0x313913['pattern'],'expectedReferenceRevision':_0x5ccaf9[_0x1a1140(0x1a9)],'lastValue':_0x1fdb69}),_0x53517d[_0x1a1140(0x21f)](_0x5ccaf9['identity'][_0x1a1140(0x22a)],_0x5e24e5);}return Array[_0x1a1140(0x24e)](_0x53517d,([_0x87bdbf,_0x518fcf])=>({'id':_0x57290b['id'],'params':{'unitId':_0x87bdbf,'updates':_0x518fcf}}));}};_0x241297=_0x57146d([_0x74fe3c(0x0,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x15eebe)),_0x74fe3c(0x1,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x145aa2['FormulaCacheEligibilityService'])),_0x74fe3c(0x2,(0x0,_0x4f7619[_0x63b022(0x173)])(_0x145aa2[_0x63b022(0x1d3)]))],_0x241297);function _0x1613ca(_0x372efc,_0x55e5d1){const _0x130ddf=_0x63b022;return(_0x372efc==null?void 0x0:_0x372efc['v'])===_0x55e5d1['v']&&(_0x372efc==null?void 0x0:_0x372efc['t'])===_0x55e5d1['t']&&(_0x372efc==null?void 0x0:_0x372efc['pattern'])===_0x55e5d1[_0x130ddf(0x204)];}let _0x45209a=class extends _0x4f7619[_0x63b022(0x22c)]{constructor(_0x58a7e9=_0x1fc314,_0x553310,_0x30f610,_0x13bff6){const _0x23a7a9=_0x63b022;super(),this[_0x23a7a9(0x249)]=_0x58a7e9,this[_0x23a7a9(0x20a)]=_0x553310,this[_0x23a7a9(0x281)]=_0x30f610,this[_0x23a7a9(0x256)]=_0x13bff6;let {..._0x404cd7}=(0x0,_0x4f7619[_0x23a7a9(0x1d4)])({},_0x1fc314,this[_0x23a7a9(0x249)]);this[_0x23a7a9(0x256)][_0x23a7a9(0x20d)](_0x23a7a9(0x292),_0x404cd7);}['onStarting'](){const _0x3348f7=_0x63b022;this[_0x3348f7(0x20a)][_0x3348f7(0x25c)]([_0x2bf8cc]),this['_injector'][_0x3348f7(0x25c)]([_0x15eebe]),this[_0x3348f7(0x20a)][_0x3348f7(0x25c)]([_0x12b110]),this[_0x3348f7(0x20a)][_0x3348f7(0x25c)]([_0x10d4b2]),this[_0x3348f7(0x20a)][_0x3348f7(0x25c)]([_0x241297]),this[_0x3348f7(0x20a)][_0x3348f7(0x25c)]([_0x589dd7]),(0x0,_0x4f7619[_0x3348f7(0x170)])(this['_injector'],[[_0x2bf8cc],[_0x12b110],[_0x10d4b2],[_0x241297],[_0x589dd7]]),[_0x15f9ad,_0x3a7b95,_0x507e5b,_0x57290b,_0x1fa41f,_0x556927,_0x588adf,_0xa85899,_0x4453ab,_0x16b5e8][_0x3348f7(0x1b1)](_0x5c3b8a=>this[_0x3348f7(0x1b3)](this[_0x3348f7(0x281)]['registerCommand'](_0x5c3b8a)));}};_0x11e211(_0x45209a,_0x63b022(0x1e4),_0x1165ca),_0x11e211(_0x45209a,_0x63b022(0x1bf),_0x252ff3),_0x11e211(_0x45209a,_0x63b022(0x1ca),_0x3bc3d5),_0x11e211(_0x45209a,_0x63b022(0x26f),_0x4f7619['UniverInstanceType'][_0x63b022(0x1e5)]),_0x45209a=_0x57146d([(0x0,_0x4f7619[_0x63b022(0x1b4)])(_0xe318f5[_0x63b022(0x273)],_0x145aa2[_0x63b022(0x187)],_0x598ef1[_0x63b022(0x1f2)]),_0x74fe3c(0x1,(0x0,_0x4f7619['Inject'])(_0x4f7619[_0x63b022(0x18c)])),_0x74fe3c(0x2,_0x4f7619[_0x63b022(0x269)]),_0x74fe3c(0x3,_0x4f7619[_0x63b022(0x240)])],_0x45209a),_0x26b9a4[_0x63b022(0x254)]=_0x16b5e8,_0x26b9a4[_0x63b022(0x224)]=_0x5e46e0,_0x26b9a4[_0x63b022(0x23a)]='',_0x26b9a4['DOC_FORMULA_PLUGIN']=_0x1165ca,_0x26b9a4[_0x63b022(0x1fb)]=0x1,Object[_0x63b022(0x230)](_0x26b9a4,_0x63b022(0x163),{'enumerable':!0x0,'get':function(){return _0x589dd7;}}),Object[_0x63b022(0x230)](_0x26b9a4,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x10d4b2;}}),_0x26b9a4[_0x63b022(0x14d)]=_0x2bf8cc,Object[_0x63b022(0x230)](_0x26b9a4,_0x63b022(0x286),{'enumerable':!0x0,'get':function(){return _0x12b110;}}),_0x26b9a4[_0x63b022(0x289)]=_0x14fe4d,Object[_0x63b022(0x230)](_0x26b9a4,_0x63b022(0x1d0),{'enumerable':!0x0,'get':function(){return _0x15eebe;}}),_0x26b9a4[_0x63b022(0x158)]=_0x1fa41f,_0x26b9a4[_0x63b022(0x184)]=_0x3890ed,_0x26b9a4[_0x63b022(0x1cc)]=_0xa85899,_0x26b9a4[_0x63b022(0x1ce)]=_0x3a7b95,_0x26b9a4[_0x63b022(0x206)]=_0x4453ab,_0x26b9a4['SetDocFormulaLastValuesMutation']=_0x57290b,_0x26b9a4['SetDocFormulaMutation']=_0x15f9ad,_0x26b9a4[_0x63b022(0x216)]=_0x588adf,_0x26b9a4[_0x63b022(0x266)]=_0x507e5b,Object[_0x63b022(0x230)](_0x26b9a4,_0x63b022(0x1ed),{'enumerable':!0x0,'get':function(){return _0x45209a;}}),_0x26b9a4[_0x63b022(0x21a)]=_0x556927,_0x26b9a4[_0x63b022(0x23c)]=_0x2f3df1,_0x26b9a4[_0x63b022(0x1eb)]=_0x2c0d1f,_0x26b9a4[_0x63b022(0x235)]=_0x5209f3,_0x26b9a4[_0x63b022(0x27b)]=_0x10e54c,_0x26b9a4[_0x63b022(0x243)]=_0xcaf32,_0x26b9a4[_0x63b022(0x20c)]=_0x4644b9,_0x26b9a4['findDocFormulaRange']=_0x3fe7af,_0x26b9a4['isDocFormulaConfig']=_0x370aa7,_0x26b9a4[_0x63b022(0x16d)]=_0x359c18,_0x26b9a4[_0x63b022(0x1d2)]=_0x56bef6,_0x26b9a4[_0x63b022(0x22e)]=_0xdbc34f;}));function _0x3362(_0x3a47d3,_0x3e37d9){_0x3a47d3=_0x3a47d3-0x149;const _0x4a5f4b=_0x4a5f();let _0x336299=_0x4a5f4b[_0x3a47d3];return _0x336299;}function _0x4a5f(){const _0x5db305=['wholeEntity','460kkQKsW','IResourceManagerService','buildUpdateDocFormulaActions','UniverCore','rxjs','identity','_syncScheduled','UniverInstanceType','_commandService','text','docs-formula.command.insert','_loadErrors','paragraphId','DocFormulaResourceController','472RJxThV','resources','DocFormulaResultStatus','pending','docs-formula.command.convert-to-text','exports','_updateFormulaResult','register','properties','nextResource','univer-docs-formula','docs-formula.config','setResource','192467jHbbFt','_formulaKeys','insertLength','DocFormulaModel','name','MUTATION','RegisterOtherFormulaService','_syncUnit','buildUpsertHostExternalReferenceMutations','getBody','cursorOffset','find','expectedNumberFormat','schemaVersion','InsertDocFormulaCommand','BLOCK_START','presentation','references','Module','123FkNKDu','unregister','params','resolveHostFormulaExternalReferences','source','data','DocFormulaDisplayTextService','change$','_model','RichTextEditingMutation','entries','tables','rangeType','next','delete','_registrations','isDocFormulaRange','insert','redoMutation','touchDependencies','pushUndoRedo','onCommandExecuted','Inject','trigger','_service','CUSTOM','length','status','_instanceService','unregisterUnit','expectedReferenceRevision','_presentationChanged$','TABLE_CELL_START','textRuns','documentRedo','formulaResult$','TextX','sequenceNodesBuilder','blockRanges','InvalidDocFormulaInsertRangeError','get','resource','UniverProFormulaEnginePlugin','9948HVYnYZ','resolved','sectionBreaks','selection','Injector','getFormulaValueSync','_pendingUnitIds','object','stale','dispose','previousDocumentData','fromEntries','PARAGRAPH','cell','7598255SCPqkZ','deleteLength','docs-formula.command.update','UniverProDocsFormula','number','startIndex','numberFormat','@univerjs/engine-formula','paragraphs','iterator','_hostExternalReferenceModel','expectedFormula','assess','columnGroups','setFormula','endOffset','empty','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','getBodySliceForTextXAction','referenceRevision','registerProvider','getOwnPropertyDescriptor','_isDisposed','CommandType','start','TABLE_ROW_END','getPresentation','forEach','_cacheEligibilityService','disposeWithMe','DependentOn','editOp','externalMutations','docs-formula.mutation.set-last-values','degradeBody','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','end','getRevision','accessor','COLUMN_START','setFormulas','packageName','rangeId','default','DocTextResolverService','shiftInclusiveRangeOnInsert','CustomRangeType','formulaId','updates','map','prototype','resolveFormulaResultPresentation','version','123358esfzqJ','RemoveDocFormulaCommand','EMPTY','RemoveDocFormulaMutation','success','DocFormulaService','range','isDocFormulaResource','FormulaLastValuePersistenceService','merge','serialize','resourceRedo','symbol','lastValue','getCustomRangeInterval','ERROR','_univerInstanceService','_rawResources','segmentId','min','dataStream','formulas','error','externalReferences','document','pluginName','UNIVER_DOC','config','IUniverInstanceService','getUnit','HostExternalReferenceModel','CellValueType','buildInsertDocFormulaActions','filter','UniverDocsFormulaPlugin','values','customBlocks','slice','getResource','UniverDocsPlugin','boolean','collectMutations','DOC_FORMULA_PLUGIN','clear','getSnapshot','4tCGpmD','IUndoRedoService','@univerjs/core','DOC_FORMULA_SCHEMA_VERSION','unitAdded$','body','customRanges','max','getRichTextEditPath','_resources','endIndex','866436ygBYwS','pattern','DocSelectionManagerService','ReplaceDocFormulaWithTextCommand','resourceUndo','COMMAND','getTextRanges','_injector','DOC_SELECTION_OPTION_PRESERVE_CARET','degradeDocFormulaDocumentData','setConfig','_registrationService','Subject','decorate','_setPresentation','123183fHTptD','Disposable','every','_preserveInvalid','SetDocFormulaNumberFormatCommand','removeFormula','getLoadError','getFormulas','UpdateDocFormulaCommand','constructor','@univerjs-pro/engine-formula','1.0.0-rc.0','DataStreamTreeTokenType','set','getAllUnitsForType','LexerTreeBuilder','docs-formula.command.remove','shiftExclusiveRangeOnInsert','DOC_FORMULA_CUSTOM_RANGE_KIND','resolveText','removeUnit','customDecorations','deleteFormula','docs-formula.mutation.set-formula','unitId','documentData','Plugin','CUSTOM_BLOCK','isFormulaLastValue','call','defineProperty','TABLE_ROW_START','@univerjs/docs','undoMutation','getRegisteredFormulas','buildRemoveDocFormulaActions','getFormula','has','PENDING','subscribe','DOC_FORMULA_OBJECT_REPLACEMENT','462855Kunuuk','assertSafeDocFormulaInsertRange','startOffset','parse','formula','IConfigService','TABLE_CELL_END','collectFormulaExternalReferenceQualifiers','createEmptyDocFormulaResource','shiftExclusiveRangeOnDelete','complete','_docFormulaModel','trim','function','_config','amd','_deleteRegistration','resolveFormula','getParagraphContentStartOffset','from','includes','COLUMN_GROUP_START','previousResource','syncUnit','6EXCnhk','ConvertDocFormulaToTextCommand','sort','_configService','SECTION_BREAK','registerPluginResource','string','docs-formula.command.replace-with-text','getInstance','add','unitDisposed$','replaceDocRanges','liveResult','UniverProEngineFormula','some','docs-formula.mutation.remove-formula','toFormulaLastValue','nextDocumentData','notifyTextChanged','SetDocFormulaResourceMutation','syncExecuteCommand','model','ICommandService','paragraph','getUnitId','Tools','deepClone','_queueSync','type','keys','TABLE_START','docs-formula.command.set-number-format','UniverLicensePlugin','presentationChanged$','getResult','_change$','_formulaService'];_0x4a5f=function(){return _0x5db305;};return _0x4a5f();}
1
+ function _0x439d(){const _0x6ad436=['buildUpsertHostExternalReferenceMutations','7341160CZuMSW','PENDING','JSONX','subscribe','_syncUnit','_hostExternalReferenceModel','schemaVersion','toPrimitive','delete','previousResource','toFormulaLastValue','registerFormulaWithRange','eligible','fromEntries','DOC_SELECTION_OPTION_PRESERVE_CARET','resolveFormula','number','params','getScalarFormulaResultCell','getSnapshot','color','RemoveDocFormulaMutation','endIndex','getFormulas','replaceDocRanges','externalReferences','textRuns','resolveHostFormulaExternalReferences','docs-formula.command.insert','getBodySliceForTextXAction','univer-docs-formula','kind','COMMAND','docs-formula.mutation.set-last-values','registerCommand','cursorOffset','wholeEntity','updates','rangeId','unitId','onCommandExecuted','RemoveDocFormulaCommand','segmentId','parse','deleteLength','body','UniverCore','register','Disposable','EMPTY','isDocFormulaResource','expectedReferenceRevision','SetDocFormulaLastValuesMutation','degradeDocumentData','DocSelectionManagerService','startIndex','_setPresentation','TABLE_CELL_END','sectionBreaks','getUnit','DataStreamTreeTokenType','pending','document','toStringTag','resource','Inject','DocFormulaDisplayTextService','UniverDocsFormulaPlugin','registerProvider','empty','getCurrentUnitOfType','_configService','UNIVER_DOC','externalMutations','_resourceManagerService','symbol','_updateFormulaResult','getResource','setFormulas','DocFormulaModel','degradeDocFormulaDocumentData','amd','TABLE_ROW_END','includes','name','rangeType','_model','paragraphId','ERROR','expectedFormula','call','rxjs','defineProperty','resources','type','FormulaLastValuePersistenceService','complete','resourceRedo','function','unitAdded$','docs-formula.command.update','formulaResult$','DependentOn','getLoadError','419292xYzcrm','_syncScheduled','DocTextResolverService','assign','BLOCK_END','_formulaKeys','CommandType','start','success','syncUnit','getBody','SetDocFormulaMutation','filter','_pendingUnitIds','TABLE_ROW_START','endOffset','findDocFormulaRange','Tools','expectedNumberFormat','LexerTreeBuilder','pattern','previousDocumentData','nextDocumentData','every','COLUMN_START','Module','properties','getFormula','TextX','notifyTextChanged','1ZmrlOj','_cacheEligibilityService','undoMutation','dataStream','isInteger','lastValue','get','length','docs-formula.mutation.set-resource','shiftExclusiveRangeOnInsert','199410StjAew','RichTextEditingMutation','TABLE_CELL_START','_injector','ICommandService','_registrations','_univerInstanceService','exports','getAllUnitsForType','text','collectMutations','asObservable','_formulaService','HostExternalReferenceModel','max','formulas','cell','_loadErrors','FormulaCacheEligibilityService','assertSafeDocFormulaInsertRange','blockRanges','slice','SetDocFormulaNumberFormatCommand','setFormula','formula','_deleteRegistration','_change$','unitDisposed$','serialize','startOffset','_config','presentation','tables','redoMutation','selection','constructor','_service','from','DOC_FORMULA_PLUGIN','CUSTOM','_preserveInvalid','COLUMN_END','ConvertDocFormulaToTextCommand','getParagraphContentStartOffset','resolveBinding','RegisterOtherFormulaService','@univerjs/engine-formula','stale','sequenceNodesBuilder','map','UpdateDocFormulaCommand','setResource','getOwnPropertyDescriptor','string','values','FormulaResultStatus','some','IResourceManagerService','merge','_presentationChanged$','SetDocFormulaResourceMutation','_isDisposed','columnGroups','24718640UuPkhK','SUCCESS','MUTATION','removeFormula','@univerjs-pro/engine-formula','documentData','9pSVVor','startsWith','CellValueType','position','touchDependencies','forEach','BLOCK_START','invalid-resource','getTextRanges','_queueSync','resolved','UniverProEngineFormula','docs-formula.mutation.set-formula','@univerjs-pro/docs-formula','resolveText','DocFormulaResultStatus','getUnitId','unregisterUnit','disposeWithMe','next','trigger','numberFormat','_docFormulaModel','3302560cfqFxy','identity','_rawResources','Plugin','data','docs-formula.mutation.remove-formula','getRevision','min','customRanges','2150228KdvJjB','has','resourceUndo','config','getPresentation','buildRemoveDocFormulaActions','ReplaceDocFormulaWithTextCommand','_commandService','version','IUniverInstanceService','getResult','clear','_resources','15lPKewm','UniverInstanceType','_registrationService','paragraphs','documentRedo','source','removeUnit','presentationChanged$','createEmptyDocFormulaResource','SECTION_BREAK','isDocFormulaConfig','@univerjs/docs','resolveFormulaResultPresentation','UniverLicensePlugin','find','keys','object','model','add','insertLength','syncExecuteCommand','trim','UniverProDocsFormula','getRichTextEditPath','deepClone','docs-formula.command.convert-to-text','Subject','entries','_instanceService','getCustomRangeInterval','DOC_FORMULA_OBJECT_REPLACEMENT','shiftExclusiveRangeOnDelete','getRegisteredFormulas','retain','registerPluginResource','generateRandomId','formulaId','set','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','accessor','paragraph','customBlocks','error','DOC_FORMULA_CUSTOM_RANGE_KIND','sort','default','assess','range','nextResource','IConfigService','setConfig','OtherFormulaBizType','customDecorations','DocFormulaResourceController','change$','docs-formula.config','referenceRevision','insert','4911963RygLke','unregister','prototype','dispose','UniverProLicense','docs-formula.command.remove','liveResult','load','DOC','onStarting'];_0x439d=function(){return _0x6ad436;};return _0x439d();}function _0x55f6(_0x3ddf53,_0x370835){_0x3ddf53=_0x3ddf53-0xf0;const _0x439dc4=_0x439d();let _0x55f6f2=_0x439dc4[_0x3ddf53];return _0x55f6f2;}(function(_0x1ae1d9,_0x4b2a5c){const _0x227631=_0x55f6,_0x5b081b=_0x1ae1d9();while(!![]){try{const _0x1ec177=parseInt(_0x227631(0x149))/0x1*(-parseInt(_0x227631(0x1b8))/0x2)+parseInt(_0x227631(0x12b))/0x3+-parseInt(_0x227631(0x1af))/0x4+-parseInt(_0x227631(0x1c5))/0x5*(-parseInt(_0x227631(0x153))/0x6)+parseInt(_0x227631(0x1ff))/0x7+-parseInt(_0x227631(0x20a))/0x8+parseInt(_0x227631(0x198))/0x9*(parseInt(_0x227631(0x192))/0xa);if(_0x1ec177===_0x4b2a5c)break;else _0x5b081b['push'](_0x5b081b['shift']());}catch(_0x302edb){_0x5b081b['push'](_0x5b081b['shift']());}}}(_0x439d,0x912d3),function(_0x59a3a0,_0x9a6b1){const _0x1e2339=_0x55f6;typeof exports=='object'&&typeof module<'u'?_0x9a6b1(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x1e2339(0x114)]?define([_0x1e2339(0x15a),_0x1e2339(0x196),'@univerjs/core',_0x1e2339(0x1d0),_0x1e2339(0x181),'rxjs','@univerjs-pro/license'],_0x9a6b1):(_0x59a3a0=typeof globalThis<'u'?globalThis:_0x59a3a0||self,_0x9a6b1(_0x59a3a0[_0x1e2339(0x1db)]={},_0x59a3a0[_0x1e2339(0x1a3)],_0x59a3a0[_0x1e2339(0xf1)],_0x59a3a0['UniverDocs'],_0x59a3a0['UniverEngineFormula'],_0x59a3a0[_0x1e2339(0x11e)],_0x59a3a0[_0x1e2339(0x203)]));}(this,function(_0x415d22,_0x27ed60,_0x3ad0ce,_0xe8b14d,_0xce0fe7,_0x5e5a60,_0x3ebd32){const _0x754d11=_0x55f6;Object[_0x754d11(0x11f)](_0x415d22,Symbol[_0x754d11(0x102)],{'value':_0x754d11(0x144)});let _0x959d06=_0x754d11(0x179),_0x13f145=_0x754d11(0x228);function _0x2dd373(){return{'schemaVersion':0x1,'formulas':{}};}function _0x1b1cdf(_0x4dc09c){const _0x52931a=_0x754d11;return!_0x4dc09c||typeof _0x4dc09c!=_0x52931a(0x1d5)||!_0x5120be(_0x4dc09c,[_0x52931a(0x210),_0x52931a(0x162)])||!(_0x52931a(0x210)in _0x4dc09c)||_0x4dc09c[_0x52931a(0x210)]!==0x1||!(_0x52931a(0x162)in _0x4dc09c)||!_0x4dc09c[_0x52931a(0x162)]||typeof _0x4dc09c[_0x52931a(0x162)]!=_0x52931a(0x1d5)||Array['isArray'](_0x4dc09c['formulas'])?!0x1:Object[_0x52931a(0x1e0)](_0x4dc09c['formulas'])[_0x52931a(0x142)](([_0x40b867,_0x3252b5])=>_0x40b867[_0x52931a(0x150)]>0x0&&_0x14ba05(_0x3252b5));}function _0x14ba05(_0x30378b){const _0x46690e=_0x754d11;return!_0x30378b||typeof _0x30378b!=_0x46690e(0x1d5)||!_0x5120be(_0x30378b,['formula','numberFormat',_0x46690e(0x14e)])||!(_0x46690e(0x16b)in _0x30378b)||typeof _0x30378b['formula']!='string'||!_0x30378b[_0x46690e(0x16b)][_0x46690e(0x1da)]()||_0x46690e(0x1ad)in _0x30378b&&_0x30378b[_0x46690e(0x1ad)]!=null&&(typeof _0x30378b[_0x46690e(0x1ad)]!=_0x46690e(0x1d5)||!_0x5120be(_0x30378b['numberFormat'],['pattern'])||!('pattern'in _0x30378b['numberFormat'])||typeof _0x30378b[_0x46690e(0x1ad)][_0x46690e(0x13f)]!=_0x46690e(0x188))?!0x1:!(_0x46690e(0x14e)in _0x30378b)||_0x30378b[_0x46690e(0x14e)]==null||_0x590ba7(_0x30378b['lastValue']);}function _0x590ba7(_0x41f5b9){const _0x278f02=_0x754d11;return!_0x41f5b9||typeof _0x41f5b9!=_0x278f02(0x1d5)||!_0x5120be(_0x41f5b9,['v','t',_0x278f02(0x13f)])||!('v'in _0x41f5b9)||_0x41f5b9['v']!==null&&typeof _0x41f5b9['v']!=_0x278f02(0x188)&&typeof _0x41f5b9['v']!=_0x278f02(0x21a)&&typeof _0x41f5b9['v']!='boolean'||'t'in _0x41f5b9&&_0x41f5b9['t']!=null&&!_0x492c9c(_0x41f5b9['t'])?!0x1:!('pattern'in _0x41f5b9)||_0x41f5b9[_0x278f02(0x13f)]==null||typeof _0x41f5b9[_0x278f02(0x13f)]==_0x278f02(0x188);}function _0x5120be(_0x4abdf0,_0x29866f){const _0x51aa20=_0x754d11;let _0x53e7d6=new Set(_0x29866f);return Object[_0x51aa20(0x1d4)](_0x4abdf0)['every'](_0x352aa9=>_0x53e7d6[_0x51aa20(0x1b9)](_0x352aa9));}function _0x492c9c(_0x1237e3){const _0x52ef02=_0x754d11;return typeof _0x1237e3==_0x52ef02(0x21a)&&Object[_0x52ef02(0x189)](_0x3ad0ce[_0x52ef02(0x19a)])[_0x52ef02(0x116)](_0x1237e3);}let _0x5991e1=new Set([_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x1ce)],_0x3ad0ce[_0x754d11(0xff)]['TABLE_START'],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x139)],_0x3ad0ce['DataStreamTreeTokenType'][_0x754d11(0x155)],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0xfc)],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x115)],_0x3ad0ce[_0x754d11(0xff)]['TABLE_END'],_0x3ad0ce['DataStreamTreeTokenType']['COLUMN_GROUP_START'],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x143)],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x17c)],_0x3ad0ce[_0x754d11(0xff)]['COLUMN_GROUP_END'],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x19e)],_0x3ad0ce['DataStreamTreeTokenType'][_0x754d11(0x12f)],_0x3ad0ce[_0x754d11(0xff)]['CUSTOM_BLOCK']]);var _0x471f6f=class extends Error{constructor(){const _0x27a2d0=_0x754d11;super(_0x27a2d0(0x1eb));}};function _0x2a913d(_0x35c0fd){const _0x492cf9=_0x754d11;var _0x59698c,_0x4a3c01;let _0x5bc55b=_0x3ad0ce[_0x492cf9(0x13c)][_0x492cf9(0x1dd)](_0x35c0fd[_0x492cf9(0x197)]),_0x3a491d=_0x3a0ded(_0x5bc55b),{startOffset:_0x5bcf8a,endOffset:_0x590096}=_0x51f330(_0x3a491d,_0x35c0fd[_0x492cf9(0x170)],_0x35c0fd[_0x492cf9(0x13a)]);_0x216280(_0x3a491d,_0x5bcf8a,_0x590096);let _0x1f9b82=((_0x59698c=_0x3a491d[_0x492cf9(0x1b7)])==null?void 0x0:_0x59698c[_0x492cf9(0x137)](_0x3b0bb5=>{const _0x4ab13c=_0x492cf9;if(!_0x2ea921(_0x3b0bb5))return!0x1;let _0x50df55=(0x0,_0x3ad0ce['getCustomRangeInterval'])(_0x3b0bb5);return _0x50df55[_0x4ab13c(0x13a)]>_0x5bcf8a&&_0x50df55['startOffset']<_0x590096;})[_0x492cf9(0x184)](_0x10a70b=>_0x10a70b[_0x492cf9(0x230)]))??[];_0x1fd56f(_0x3a491d,_0x5bcf8a,_0x590096,''),_0x3a491d[_0x492cf9(0x1b7)]=[...((_0x4a3c01=_0x3a491d['customRanges'])==null?void 0x0:_0x4a3c01['filter'](_0x5d3250=>!_0x1f9b82[_0x492cf9(0x116)](_0x5d3250[_0x492cf9(0x230)])&&_0x5d3250[_0x492cf9(0x230)]!==_0x35c0fd[_0x492cf9(0x230)]))??[],_0x32cef5(_0x35c0fd[_0x492cf9(0x230)],_0x5bcf8a)][_0x492cf9(0x1f1)]((_0x4963c2,_0x29cc3f)=>_0x4963c2[_0x492cf9(0xfa)]-_0x29cc3f['startIndex']);let _0x230e14=_0x6d4f40(_0x35c0fd[_0x492cf9(0x103)]);return _0x1f9b82[_0x492cf9(0x19d)](_0x5a6b33=>{const _0x1e9e91=_0x492cf9;delete _0x230e14[_0x1e9e91(0x162)][_0x5a6b33];}),_0x230e14[_0x492cf9(0x162)][_0x35c0fd['rangeId']]=_0x3ad0ce[_0x492cf9(0x13c)][_0x492cf9(0x1dd)](_0x35c0fd[_0x492cf9(0x1bb)]),{'nextDocumentData':_0x5bc55b,'nextResource':_0x230e14,'cursorOffset':_0x5bcf8a+0x1};}function _0x40505e(_0x58dd4d){const _0x2e6c6f=_0x754d11;var _0x1068e8,_0x3f8d56;let _0x1d955e=_0x3ad0ce['Tools']['deepClone'](_0x58dd4d[_0x2e6c6f(0x197)]),_0x16fde1=(_0x1068e8=_0x3a0ded(_0x1d955e)[_0x2e6c6f(0x1b7)])==null?void 0x0:_0x1068e8[_0x2e6c6f(0x1d3)](_0x5be49f=>_0x5be49f[_0x2e6c6f(0x230)]===_0x58dd4d['rangeId']&&_0x2ea921(_0x5be49f));if(!_0x16fde1||!((_0x3f8d56=_0x58dd4d['resource'])!=null&&_0x3f8d56['formulas'][_0x58dd4d['rangeId']]))return null;let _0x3d0d13=_0x6d4f40(_0x58dd4d['resource']);return _0x3d0d13[_0x2e6c6f(0x162)][_0x58dd4d[_0x2e6c6f(0x230)]]=_0x3ad0ce['Tools'][_0x2e6c6f(0x1dd)](_0x58dd4d[_0x2e6c6f(0x1bb)]),{'nextDocumentData':_0x1d955e,'nextResource':_0x3d0d13,'cursorOffset':_0x16fde1[_0x2e6c6f(0x220)]+0x1};}function _0x2dc10f(_0x45b3a0){const _0x5612cc=_0x754d11;let _0x1c6b71=_0x3ad0ce['Tools'][_0x5612cc(0x1dd)](_0x45b3a0[_0x5612cc(0x197)]),_0x3568e3=_0x12cda4(_0x1c6b71,_0x45b3a0[_0x5612cc(0x230)],_0x45b3a0['text']??'');if(_0x3568e3==null)return null;let _0x14196f=_0x6d4f40(_0x45b3a0[_0x5612cc(0x103)]);return delete _0x14196f[_0x5612cc(0x162)][_0x45b3a0[_0x5612cc(0x230)]],{'nextDocumentData':_0x1c6b71,'nextResource':_0x14196f,'cursorOffset':_0x3568e3};}function _0x1fb233(_0x58f703,_0x232f29){const _0x41ac69=_0x754d11;var _0x5d0225;let _0x163ebc=_0x3ad0ce[_0x41ac69(0x13c)]['deepClone'](_0x58f703),_0x2feca5=_0x163ebc[_0x41ac69(0xf0)];if(!_0x2feca5)return _0x163ebc;let _0x3e9848=new Map(_0x232f29['map'](_0x5d7f78=>[_0x5d7f78['rangeId'],_0x5d7f78[_0x41ac69(0x15c)]])),_0xee51a9=((_0x5d0225=_0x2feca5[_0x41ac69(0x1b7)])==null?void 0x0:_0x5d0225[_0x41ac69(0x137)](_0xb90c35=>_0x2ea921(_0xb90c35)&&_0x3e9848[_0x41ac69(0x1b9)](_0xb90c35[_0x41ac69(0x230)]))['sort']((_0x2f8a34,_0xcac9b8)=>_0xcac9b8[_0x41ac69(0xfa)]-_0x2f8a34[_0x41ac69(0xfa)]))??[];for(let _0x17308b of _0xee51a9)_0x12cda4(_0x163ebc,_0x17308b[_0x41ac69(0x230)],_0x3e9848[_0x41ac69(0x14f)](_0x17308b[_0x41ac69(0x230)])??'');return _0x163ebc;}function _0x2ea921(_0x1fc298){const _0x2899c0=_0x754d11;var _0x3ceeb1;return(_0x1fc298==null?void 0x0:_0x1fc298[_0x2899c0(0x118)])===_0x3ad0ce['CustomRangeType'][_0x2899c0(0x17a)]&&_0x1fc298[_0x2899c0(0x22e)]===!0x0&&((_0x3ceeb1=_0x1fc298[_0x2899c0(0x145)])==null?void 0x0:_0x3ceeb1[_0x2899c0(0x229)])===_0x2899c0(0x228);}function _0x4001d5(_0x5ec4d3,_0x56fdd7){const _0x2bc724=_0x754d11;var _0x759c8f;return _0x5ec4d3==null||(_0x759c8f=_0x5ec4d3['customRanges'])==null?void 0x0:_0x759c8f[_0x2bc724(0x1d3)](_0x96b5c0=>_0x96b5c0[_0x2bc724(0x230)]===_0x56fdd7&&_0x2ea921(_0x96b5c0));}function _0x216280(_0x488eda,_0x325c45,_0x18ee37){const _0x355ceb=_0x754d11;if(_0x325c45===_0x18ee37){if(_0x5991e1[_0x355ceb(0x1b9)](_0x488eda[_0x355ceb(0x14c)][_0x325c45]))throw new _0x471f6f();return;}for(let _0x2a9240=_0x325c45;_0x2a9240<_0x18ee37;_0x2a9240++)if(_0x488eda[_0x355ceb(0x14c)][_0x2a9240]===_0x3ad0ce['DataStreamTreeTokenType']['PARAGRAPH']||_0x5991e1[_0x355ceb(0x1b9)](_0x488eda[_0x355ceb(0x14c)][_0x2a9240]))throw new _0x471f6f();}function _0x32cef5(_0x5c6bdd,_0x47c982){const _0x3887b8=_0x754d11;return{'startIndex':_0x47c982,'endIndex':_0x47c982,'rangeId':_0x5c6bdd,'rangeType':_0x3ad0ce['CustomRangeType'][_0x3887b8(0x17a)],'wholeEntity':!0x0,'properties':{'kind':_0x13f145}};}function _0x6d4f40(_0x265b2b){const _0x21e4e4=_0x754d11;return _0x265b2b?_0x3ad0ce[_0x21e4e4(0x13c)][_0x21e4e4(0x1dd)](_0x265b2b):_0x2dd373();}function _0x51f330(_0x2c2fd2,_0x3916a7,_0xbfa5ac){const _0xb92d83=_0x754d11;let _0x24eb37=_0x49257a(_0x2c2fd2),_0x49c83e=_0x3916a7??_0x24eb37,_0x17b333=_0xbfa5ac??_0x49c83e;return{'startOffset':_0x556704(Math[_0xb92d83(0x1b6)](_0x49c83e,_0x17b333),_0x24eb37),'endOffset':_0x556704(Math[_0xb92d83(0x161)](_0x49c83e,_0x17b333),_0x24eb37)};}function _0x556704(_0x2ff147,_0x58f2e6){const _0x3a613b=_0x754d11;return Math[_0x3a613b(0x161)](0x0,Math['min'](_0x2ff147,_0x58f2e6));}function _0x49257a(_0x32e709){const _0x3e352b=_0x754d11;return _0x32e709[_0x3e352b(0x14c)]['endsWith'](''+_0x3ad0ce[_0x3e352b(0xff)]['PARAGRAPH']+_0x3ad0ce[_0x3e352b(0xff)][_0x3e352b(0x1ce)])?Math['max'](0x0,_0x32e709['dataStream'][_0x3e352b(0x150)]-0x2):_0x32e709[_0x3e352b(0x14c)]['endsWith'](_0x3ad0ce[_0x3e352b(0xff)][_0x3e352b(0x1ce)])?Math[_0x3e352b(0x161)](0x0,_0x32e709['dataStream']['length']-0x1):_0x32e709[_0x3e352b(0x14c)][_0x3e352b(0x150)];}function _0x1fd56f(_0x21bafc,_0xd0a9db,_0x1cd62a,_0x518097){_0x1cd62a>_0xd0a9db&&_0x5809e1(_0x21bafc,_0xd0a9db,_0x1cd62a),_0x23c8ef(_0x21bafc,_0xd0a9db,_0x518097);}function _0x12cda4(_0x557881,_0x3773aa,_0x10882e){const _0x21f7d0=_0x754d11;var _0x35f94f,_0x141f3e;let _0x4af25e=_0x3a0ded(_0x557881),_0x187857=(_0x35f94f=_0x4af25e[_0x21f7d0(0x1b7)])==null?void 0x0:_0x35f94f[_0x21f7d0(0x1d3)](_0xa3aaac=>_0xa3aaac[_0x21f7d0(0x230)]===_0x3773aa&&_0x2ea921(_0xa3aaac));if(!_0x187857)return null;let _0x4f89f7=(0x0,_0x3ad0ce[_0x21f7d0(0x1e2)])(_0x187857);return _0x1fd56f(_0x4af25e,_0x4f89f7['startOffset'],_0x4f89f7[_0x21f7d0(0x13a)],_0x10882e),_0x4af25e[_0x21f7d0(0x1b7)]=(_0x141f3e=_0x4af25e[_0x21f7d0(0x1b7)])==null?void 0x0:_0x141f3e['filter'](_0x3a202c=>_0x3a202c[_0x21f7d0(0x230)]!==_0x3773aa),_0x4f89f7['startOffset']+_0x10882e[_0x21f7d0(0x150)];}function _0x23c8ef(_0x5f0c1e,_0x53c36b,_0x1ae49a){const _0x5a2e2a=_0x754d11;_0x1ae49a&&(_0x5f0c1e['dataStream']=''+_0x5f0c1e[_0x5a2e2a(0x14c)][_0x5a2e2a(0x168)](0x0,_0x53c36b)+_0x1ae49a+_0x5f0c1e[_0x5a2e2a(0x14c)]['slice'](_0x53c36b),_0x19a3da(_0x5f0c1e,_0x53c36b,_0x1ae49a[_0x5a2e2a(0x150)]));}function _0x5809e1(_0x5a4f31,_0x5410a4,_0x5dc13c){const _0x3d735d=_0x754d11;let _0xa4d85b=_0x5dc13c-_0x5410a4;_0x5a4f31[_0x3d735d(0x14c)]=''+_0x5a4f31['dataStream']['slice'](0x0,_0x5410a4)+_0x5a4f31[_0x3d735d(0x14c)][_0x3d735d(0x168)](_0x5dc13c),_0x27242d(_0x5a4f31,_0x5410a4,_0xa4d85b);}function _0x19a3da(_0x12161b,_0x1d26fe,_0x297ed4){const _0x33f29b=_0x754d11;_0x12161b[_0x33f29b(0x1c8)]=_0xf485f4(_0x12161b[_0x33f29b(0x1c8)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0xfd)]=_0xf485f4(_0x12161b[_0x33f29b(0xfd)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x1ee)]=_0xf485f4(_0x12161b[_0x33f29b(0x1ee)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x224)]=_0x4a7334(_0x12161b['textRuns'],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x173)]=_0x1a2da9(_0x12161b[_0x33f29b(0x173)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x191)]=_0x4068bb(_0x12161b['columnGroups'],_0x1d26fe,_0x297ed4),_0x12161b['customRanges']=_0x4068bb(_0x12161b[_0x33f29b(0x1b7)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x1f9)]=_0x4068bb(_0x12161b[_0x33f29b(0x1f9)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x167)]=_0x4068bb(_0x12161b[_0x33f29b(0x167)],_0x1d26fe,_0x297ed4);}function _0x27242d(_0xd0eec2,_0x2c7ca6,_0x3392d6){const _0x2f0f7c=_0x754d11;var _0x18a008,_0x4c0541;_0xd0eec2[_0x2f0f7c(0x1c8)]=_0x3aa950(_0xd0eec2['paragraphs'],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0xfd)]=_0x3aa950(_0xd0eec2['sectionBreaks'],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x1ee)]=_0x3aa950(_0xd0eec2[_0x2f0f7c(0x1ee)],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x224)]=(_0x18a008=_0x3636fd((_0x4c0541=_0xd0eec2[_0x2f0f7c(0x224)])==null?void 0x0:_0x4c0541[_0x2f0f7c(0x184)](_0x4ecce3=>({..._0x4ecce3,'startIndex':_0x4ecce3['st'],'endIndex':_0x4ecce3['ed']})),_0x2c7ca6,_0x3392d6))==null?void 0x0:_0x18a008[_0x2f0f7c(0x184)](_0x80370c=>{let {startIndex:_0x21d750,endIndex:_0x2127fb,..._0x3a8df3}=_0x80370c;return{..._0x3a8df3,'st':_0x21d750,'ed':_0x2127fb};}),_0xd0eec2['tables']=_0x3636fd(_0xd0eec2[_0x2f0f7c(0x173)],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x191)]=_0x36957c(_0xd0eec2['columnGroups'],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x1b7)]=_0x36957c(_0xd0eec2[_0x2f0f7c(0x1b7)],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x1f9)]=_0x36957c(_0xd0eec2[_0x2f0f7c(0x1f9)],_0x2c7ca6,_0x3392d6),_0xd0eec2['blockRanges']=_0x36957c(_0xd0eec2[_0x2f0f7c(0x167)],_0x2c7ca6,_0x3392d6);}function _0xf485f4(_0x213dea,_0x480928,_0x287194){const _0x5f04eb=_0x754d11;return _0x213dea==null?void 0x0:_0x213dea[_0x5f04eb(0x184)](_0x50541d=>_0x50541d[_0x5f04eb(0xfa)]>=_0x480928?{..._0x50541d,'startIndex':_0x50541d[_0x5f04eb(0xfa)]+_0x287194}:_0x50541d);}function _0x3aa950(_0x46f2cb,_0x1b9cb4,_0x342ea7){const _0xa6b4d6=_0x754d11;let _0x2dd71c=_0x1b9cb4+_0x342ea7;return _0x46f2cb==null?void 0x0:_0x46f2cb['map'](_0x298c58=>_0x298c58[_0xa6b4d6(0xfa)]>=_0x1b9cb4&&_0x298c58[_0xa6b4d6(0xfa)]<_0x2dd71c?null:_0x298c58[_0xa6b4d6(0xfa)]>=_0x2dd71c?{..._0x298c58,'startIndex':_0x298c58['startIndex']-_0x342ea7}:_0x298c58)[_0xa6b4d6(0x137)](_0x32f9cb=>_0x32f9cb!=null);}function _0x4a7334(_0x3b4289,_0xef38ad,_0x5b6097){const _0x2179ba=_0x754d11;return _0x3b4289==null?void 0x0:_0x3b4289[_0x2179ba(0x184)](_0x534e8d=>_0x534e8d['st']>=_0xef38ad?{..._0x534e8d,'st':_0x534e8d['st']+_0x5b6097,'ed':_0x534e8d['ed']+_0x5b6097}:_0x534e8d['ed']>_0xef38ad?{..._0x534e8d,'ed':_0x534e8d['ed']+_0x5b6097}:_0x534e8d);}function _0x4068bb(_0x4057ef,_0x131820,_0x5e1600){const _0x54c7ab=_0x754d11;return _0x4057ef==null?void 0x0:_0x4057ef[_0x54c7ab(0x184)](_0x3d644d=>(0x0,_0x3ad0ce['shiftInclusiveRangeOnInsert'])(_0x3d644d,_0x131820,_0x5e1600));}function _0x1a2da9(_0x26e5d8,_0x5af637,_0x133ecb){const _0xb631b6=_0x754d11;return _0x26e5d8==null?void 0x0:_0x26e5d8[_0xb631b6(0x184)](_0x18463a=>(0x0,_0x3ad0ce[_0xb631b6(0x152)])(_0x18463a,_0x5af637,_0x133ecb));}function _0x36957c(_0x421a4b,_0x30eeb6,_0x45c036){const _0x1a6e0e=_0x754d11;return _0x421a4b==null?void 0x0:_0x421a4b[_0x1a6e0e(0x184)](_0x1d2b61=>(0x0,_0x3ad0ce['shiftInclusiveRangeOnDelete'])(_0x1d2b61,_0x30eeb6,_0x45c036))['filter'](_0x3a9baa=>_0x3a9baa!=null);}function _0x3636fd(_0x3b93d7,_0x4a7a1c,_0xdab041){const _0x22658a=_0x754d11;return _0x3b93d7==null?void 0x0:_0x3b93d7[_0x22658a(0x184)](_0x3f1a7a=>(0x0,_0x3ad0ce[_0x22658a(0x1e4)])(_0x3f1a7a,_0x4a7a1c,_0xdab041))[_0x22658a(0x137)](_0x2b5b17=>_0x2b5b17!=null);}function _0x3a0ded(_0x1f4858){const _0x455c75=_0x754d11;if(!_0x1f4858[_0x455c75(0xf0)])throw Error('Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.');return _0x1f4858['body'];}function _0x5b04cb(_0x1b3f90){'@babel/helpers - typeof';const _0x8a1a3a=_0x754d11;return _0x5b04cb=typeof Symbol==_0x8a1a3a(0x125)&&typeof Symbol['iterator']=='symbol'?function(_0x4db4ec){return typeof _0x4db4ec;}:function(_0x4b0ad8){const _0x555ad5=_0x8a1a3a;return _0x4b0ad8&&typeof Symbol=='function'&&_0x4b0ad8[_0x555ad5(0x176)]===Symbol&&_0x4b0ad8!==Symbol[_0x555ad5(0x201)]?_0x555ad5(0x10e):typeof _0x4b0ad8;},_0x5b04cb(_0x1b3f90);}function _0x5cf4d7(_0x764dc4,_0x38d92f){const _0x2c1c66=_0x754d11;if(_0x5b04cb(_0x764dc4)!='object'||!_0x764dc4)return _0x764dc4;var _0x431639=_0x764dc4[Symbol[_0x2c1c66(0x211)]];if(_0x431639!==void 0x0){var _0x5599d9=_0x431639[_0x2c1c66(0x11d)](_0x764dc4,_0x38d92f||_0x2c1c66(0x1f2));if(_0x5b04cb(_0x5599d9)!=_0x2c1c66(0x1d5))return _0x5599d9;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x38d92f===_0x2c1c66(0x188)?String:Number)(_0x764dc4);}function _0x403ee9(_0x8ad2f1){const _0x5157bd=_0x754d11;var _0x53cce1=_0x5cf4d7(_0x8ad2f1,_0x5157bd(0x188));return _0x5b04cb(_0x53cce1)=='symbol'?_0x53cce1:_0x53cce1+'';}function _0x4fce06(_0x1bf1ab,_0x2e3ecc,_0x610d54){const _0x178ea2=_0x754d11;return(_0x2e3ecc=_0x403ee9(_0x2e3ecc))in _0x1bf1ab?Object[_0x178ea2(0x11f)](_0x1bf1ab,_0x2e3ecc,{'value':_0x610d54,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1bf1ab[_0x2e3ecc]=_0x610d54,_0x1bf1ab;}var _0x46f2a0=class extends _0x3ad0ce[_0x754d11(0xf3)]{constructor(..._0x4a1f5e){const _0x30be3f=_0x754d11;super(..._0x4a1f5e),_0x4fce06(this,_0x30be3f(0x1c4),new Map()),_0x4fce06(this,_0x30be3f(0x1b1),new Map()),_0x4fce06(this,_0x30be3f(0x164),new Map()),_0x4fce06(this,_0x30be3f(0x16d),new _0x5e5a60[(_0x30be3f(0x1df))]()),_0x4fce06(this,'change$',this[_0x30be3f(0x16d)]['asObservable']());}[_0x754d11(0x146)](_0x7cf1d5,_0x5f166e){const _0x28cae4=_0x754d11;var _0x53ebc3;let _0x222dae=(_0x53ebc3=this[_0x28cae4(0x1c4)][_0x28cae4(0x14f)](_0x7cf1d5))==null?void 0x0:_0x53ebc3['formulas'][_0x5f166e];return _0x222dae?_0x3ad0ce['Tools'][_0x28cae4(0x1dd)](_0x222dae):void 0x0;}[_0x754d11(0x221)](_0x42a420){const _0x585ee3=_0x754d11;var _0x4813cc;return _0x3ad0ce[_0x585ee3(0x13c)][_0x585ee3(0x1dd)](((_0x4813cc=this[_0x585ee3(0x1c4)][_0x585ee3(0x14f)](_0x42a420))==null?void 0x0:_0x4813cc['formulas'])??{});}[_0x754d11(0x110)](_0x588871){const _0x763a1d=_0x754d11;let _0xf80d48=this[_0x763a1d(0x1c4)][_0x763a1d(0x14f)](_0x588871);return _0xf80d48?_0x3ad0ce[_0x763a1d(0x13c)]['deepClone'](_0xf80d48):void 0x0;}[_0x754d11(0x16a)](_0x55305c,_0x1e9721,_0x21f67e){const _0xc1e45f=_0x754d11;return this[_0xc1e45f(0x111)](_0x55305c,{[_0x1e9721]:_0x21f67e});}['setResource'](_0x5a1d74,_0xc51bd4){const _0x916b66=_0x754d11;return this[_0x916b66(0x164)]['has'](_0x5a1d74)||!_0x1b1cdf(_0xc51bd4)?!0x1:(this[_0x916b66(0x1c4)]['set'](_0x5a1d74,_0x3ad0ce[_0x916b66(0x13c)][_0x916b66(0x1dd)](_0xc51bd4)),this[_0x916b66(0x16d)][_0x916b66(0x1ab)]({'unitId':_0x5a1d74}),!0x0);}['setFormulas'](_0x52b172,_0x2810ef){const _0xccaa00=_0x754d11;if(this[_0xccaa00(0x164)][_0xccaa00(0x1b9)](_0x52b172)||!Object[_0xccaa00(0x1d4)](_0x2810ef)[_0xccaa00(0x150)]||!_0x1b1cdf({'schemaVersion':0x1,'formulas':_0x2810ef}))return!0x1;let _0x217ced=this[_0xccaa00(0x1c4)]['get'](_0x52b172)??_0x2dd373(),_0x6f56fb=_0x3ad0ce[_0xccaa00(0x13c)][_0xccaa00(0x1dd)](_0x217ced);return Object[_0xccaa00(0x12e)](_0x6f56fb[_0xccaa00(0x162)],_0x3ad0ce[_0xccaa00(0x13c)]['deepClone'](_0x2810ef)),this[_0xccaa00(0x1c4)]['set'](_0x52b172,_0x6f56fb),this[_0xccaa00(0x16d)][_0xccaa00(0x1ab)]({'unitId':_0x52b172,'rangeIds':Object[_0xccaa00(0x1d4)](_0x2810ef)}),!0x0;}[_0x754d11(0x195)](_0x363069,_0xb0309e){const _0x4c66d2=_0x754d11;if(this[_0x4c66d2(0x164)]['has'](_0x363069))return!0x1;let _0x275c8a=this[_0x4c66d2(0x1c4)][_0x4c66d2(0x14f)](_0x363069);if(!(_0x275c8a!=null&&_0x275c8a[_0x4c66d2(0x162)][_0xb0309e]))return!0x1;let _0x559699=_0x3ad0ce[_0x4c66d2(0x13c)][_0x4c66d2(0x1dd)](_0x275c8a);return delete _0x559699[_0x4c66d2(0x162)][_0xb0309e],this['_resources'][_0x4c66d2(0x1ea)](_0x363069,_0x559699),this[_0x4c66d2(0x16d)][_0x4c66d2(0x1ab)]({'unitId':_0x363069,'rangeIds':[_0xb0309e]}),!0x0;}[_0x754d11(0x206)](_0x16ac68,_0x5afba4){const _0x29ea06=_0x754d11;return _0x5afba4&&typeof _0x5afba4==_0x29ea06(0x1d5)&&_0x29ea06(0x210)in _0x5afba4&&_0x5afba4[_0x29ea06(0x210)]!==0x1?(this[_0x29ea06(0x17b)](_0x16ac68,_0x5afba4,'unsupported-version'),!0x1):_0x1b1cdf(_0x5afba4)?(this[_0x29ea06(0x1c4)][_0x29ea06(0x1ea)](_0x16ac68,_0x3ad0ce['Tools'][_0x29ea06(0x1dd)](_0x5afba4)),this[_0x29ea06(0x1b1)][_0x29ea06(0x212)](_0x16ac68),this[_0x29ea06(0x164)][_0x29ea06(0x212)](_0x16ac68),this['_change$'][_0x29ea06(0x1ab)]({'unitId':_0x16ac68}),!0x0):(this[_0x29ea06(0x17b)](_0x16ac68,_0x5afba4,_0x29ea06(0x19f)),!0x1);}['serialize'](_0xba92ce){const _0x137861=_0x754d11;let _0x2785b2=this['_resources'][_0x137861(0x14f)](_0xba92ce);return _0x2785b2?_0x3ad0ce[_0x137861(0x13c)][_0x137861(0x1dd)](_0x2785b2):this[_0x137861(0x1b1)]['has'](_0xba92ce)?_0x3ad0ce['Tools'][_0x137861(0x1dd)](this[_0x137861(0x1b1)][_0x137861(0x14f)](_0xba92ce)):_0x2dd373();}[_0x754d11(0x12a)](_0x1a9d98){const _0x38a480=_0x754d11;return this[_0x38a480(0x164)][_0x38a480(0x14f)](_0x1a9d98);}[_0x754d11(0x1cb)](_0x4ab54c){const _0x221ed7=_0x754d11;this[_0x221ed7(0x1c4)]['delete'](_0x4ab54c),this[_0x221ed7(0x1b1)][_0x221ed7(0x212)](_0x4ab54c),this[_0x221ed7(0x164)]['delete'](_0x4ab54c),this[_0x221ed7(0x16d)]['next']({'unitId':_0x4ab54c});}[_0x754d11(0x202)](){const _0x5f2ba1=_0x754d11;this[_0x5f2ba1(0x1c4)]['clear'](),this[_0x5f2ba1(0x1b1)][_0x5f2ba1(0x1c3)](),this[_0x5f2ba1(0x164)]['clear'](),this[_0x5f2ba1(0x16d)][_0x5f2ba1(0x123)](),super['dispose']();}[_0x754d11(0x17b)](_0x44d995,_0x4eaf1b,_0x546b66){const _0x27e60c=_0x754d11;this[_0x27e60c(0x1c4)][_0x27e60c(0x212)](_0x44d995),this[_0x27e60c(0x1b1)]['set'](_0x44d995,_0x3ad0ce[_0x27e60c(0x13c)][_0x27e60c(0x1dd)](_0x4eaf1b)),this['_loadErrors'][_0x27e60c(0x1ea)](_0x44d995,_0x546b66),this[_0x27e60c(0x16d)][_0x27e60c(0x1ab)]({'unitId':_0x44d995});}};let _0x26d030=function(_0x39be29){const _0x372a31=_0x754d11;return _0x39be29[_0x372a31(0xf4)]=_0x372a31(0x108),_0x39be29[_0x372a31(0x20b)]=_0x372a31(0x100),_0x39be29[_0x372a31(0x193)]=_0x372a31(0x133),_0x39be29[_0x372a31(0x11b)]='error',_0x39be29;}({});function _0x54abe0(_0x1bf88a,_0x256085){return function(_0x61550a,_0x82bddb){_0x256085(_0x61550a,_0x82bddb,_0x1bf88a);};}function _0x2f1059(_0x58f382,_0x10fc6e,_0x274168,_0xe997dc){const _0x7414a7=_0x754d11;var _0x27071b=arguments[_0x7414a7(0x150)],_0x36a294=_0x27071b<0x3?_0x10fc6e:_0xe997dc===null?_0xe997dc=Object[_0x7414a7(0x187)](_0x10fc6e,_0x274168):_0xe997dc,_0x9d79e2;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x7414a7(0x125))_0x36a294=Reflect['decorate'](_0x58f382,_0x10fc6e,_0x274168,_0xe997dc);else{for(var _0x123484=_0x58f382[_0x7414a7(0x150)]-0x1;_0x123484>=0x0;_0x123484--)(_0x9d79e2=_0x58f382[_0x123484])&&(_0x36a294=(_0x27071b<0x3?_0x9d79e2(_0x36a294):_0x27071b>0x3?_0x9d79e2(_0x10fc6e,_0x274168,_0x36a294):_0x9d79e2(_0x10fc6e,_0x274168))||_0x36a294);}return _0x27071b>0x3&&_0x36a294&&Object[_0x7414a7(0x11f)](_0x10fc6e,_0x274168,_0x36a294),_0x36a294;}let _0x20a44b=class extends _0x3ad0ce['Disposable']{constructor(_0x2d4296,_0x2abfab,_0x323a8a){const _0x25ed1d=_0x754d11;super(),this['_model']=_0x2d4296,this[_0x25ed1d(0x1c7)]=_0x2abfab,this[_0x25ed1d(0x20f)]=_0x323a8a,_0x4fce06(this,'_registrations',new Map()),_0x4fce06(this,_0x25ed1d(0x130),new Map()),_0x4fce06(this,'_presentationChanged$',new _0x5e5a60[(_0x25ed1d(0x1df))]()),_0x4fce06(this,_0x25ed1d(0x1cc),this[_0x25ed1d(0x18e)][_0x25ed1d(0x15e)]()),this[_0x25ed1d(0x1aa)](this[_0x25ed1d(0x1c7)][_0x25ed1d(0x128)][_0x25ed1d(0x20d)](_0x1da54c=>{const _0x5e8c98=_0x25ed1d;for(let _0x3192e4 of Object['values'](_0x1da54c))for(let _0x2228fd of Object[_0x5e8c98(0x189)](_0x3192e4))_0x2228fd['forEach'](_0x562936=>this[_0x5e8c98(0x10f)](_0x562936));}));}['syncUnit'](_0x557736){const _0x186418=_0x754d11;var _0x22d308;let _0x5ee9f7=_0x557736[_0x186418(0x1a8)](),_0x3a9e2f=((_0x22d308=_0x557736[_0x186418(0x21d)]()[_0x186418(0xf0)])==null||(_0x22d308=_0x22d308['customRanges'])==null?void 0x0:_0x22d308['filter'](_0x2ea921))??[],_0x4a1c29=this[_0x186418(0x119)][_0x186418(0x221)](_0x5ee9f7),_0x2361ce=new Set();for(let _0x15cb62 of _0x3a9e2f){let _0x3daaa0=_0x4a1c29[_0x15cb62[_0x186418(0x230)]];_0x3daaa0&&(_0x2361ce['add'](_0x142418(_0x5ee9f7,_0x15cb62[_0x186418(0x230)])),this['register']({'unitId':_0x5ee9f7,'rangeId':_0x15cb62[_0x186418(0x230)]},_0x3daaa0));}for(let _0x2a94b5 of Array['from'](this[_0x186418(0x158)][_0x186418(0x189)]()))_0x2a94b5['unitId']===_0x5ee9f7&&!_0x2361ce[_0x186418(0x1b9)](_0x142418(_0x2a94b5[_0x186418(0x231)],_0x2a94b5['rangeId']))&&this[_0x186418(0x200)](_0x2a94b5);}[_0x754d11(0xf2)](_0xfbb454,_0x473b41){const _0x471090=_0x754d11;let _0x52897e=_0x142418(_0xfbb454['unitId'],_0xfbb454[_0x471090(0x230)]),_0x33a34d=this[_0x471090(0x158)]['get'](_0x52897e),_0x1c5d7d=this[_0x471090(0x20f)]['getRevision'](_0xfbb454['unitId']);if(_0x33a34d&&_0x33a34d[_0x471090(0x1bb)][_0x471090(0x16b)]===_0x473b41[_0x471090(0x16b)]&&_0x33a34d['referenceRevision']===_0x1c5d7d){_0x33a34d[_0x471090(0x1bb)]=_0x473b41;let _0x3c6f5d=_0x33a34d[_0x471090(0x1e9)]?this[_0x471090(0x1c7)]['getFormulaValueSync'](_0x33a34d[_0x471090(0x231)],_0x33a34d[_0x471090(0x231)],_0x33a34d[_0x471090(0x1e9)])??void 0x0:void 0x0;_0x33a34d[_0x471090(0x205)]=_0x3c6f5d,this[_0x471090(0xfb)](_0x52897e,_0x4ee25d(_0x473b41,_0x3c6f5d));return;}_0x33a34d!=null&&_0x33a34d[_0x471090(0x1e9)]&&this[_0x471090(0x16c)](_0x33a34d);let _0x25a5ec={..._0xfbb454,'config':_0x473b41,'referenceRevision':_0x1c5d7d,'presentation':_0x4ee25d(_0x473b41,void 0x0)};if(this[_0x471090(0x158)]['set'](_0x52897e,_0x25a5ec),!_0x473b41[_0x471090(0x16b)][_0x471090(0x1da)]())return;let _0x5e5c4e=this[_0x471090(0x1c7)][_0x471090(0x215)](_0xfbb454[_0x471090(0x231)],_0xfbb454[_0x471090(0x231)],_0x473b41['formula'],void 0x0,{'rangeId':_0xfbb454['rangeId']},_0xce0fe7[_0x471090(0x1f8)][_0x471090(0x207)],_0xfbb454['rangeId']);_0x25a5ec[_0x471090(0x1e9)]=_0x5e5c4e,this[_0x471090(0x130)][_0x471090(0x1ea)](_0x5e5c4e,_0x52897e);}[_0x754d11(0x200)](_0x37a5d5){const _0x5ecdb4=_0x754d11;let _0x412609=_0x142418(_0x37a5d5['unitId'],_0x37a5d5[_0x5ecdb4(0x230)]),_0x1f44c6=this['_registrations'][_0x5ecdb4(0x14f)](_0x412609);_0x1f44c6&&(this[_0x5ecdb4(0x16c)](_0x1f44c6),this[_0x5ecdb4(0x158)][_0x5ecdb4(0x212)](_0x412609));}[_0x754d11(0x1a9)](_0x29e51b){const _0x13acb4=_0x754d11;for(let _0x56c5be of Array[_0x13acb4(0x178)](this[_0x13acb4(0x158)][_0x13acb4(0x189)]()))_0x56c5be[_0x13acb4(0x231)]===_0x29e51b&&this[_0x13acb4(0x200)](_0x56c5be);}[_0x754d11(0x1bc)](_0x4a4dfb){const _0x5acd96=_0x754d11;var _0x2399f4;return(_0x2399f4=this['_registrations'][_0x5acd96(0x14f)](_0x142418(_0x4a4dfb[_0x5acd96(0x231)],_0x4a4dfb['rangeId'])))==null?void 0x0:_0x2399f4[_0x5acd96(0x172)];}[_0x754d11(0x1c2)](_0x374aa2){const _0x3a8b39=_0x754d11;let _0x390104=this[_0x3a8b39(0x158)][_0x3a8b39(0x14f)](_0x142418(_0x374aa2[_0x3a8b39(0x231)],_0x374aa2['rangeId']));return _0x390104?_0x5140b3(_0x390104):void 0x0;}[_0x754d11(0x1e5)](){const _0x2005bb=_0x754d11;return Array[_0x2005bb(0x178)](this['_registrations'][_0x2005bb(0x189)](),_0x16c3ff=>({'identity':{'unitId':_0x16c3ff[_0x2005bb(0x231)],'rangeId':_0x16c3ff[_0x2005bb(0x230)]},'config':_0x16c3ff['config'],'referenceRevision':_0x16c3ff[_0x2005bb(0x1fd)],..._0x16c3ff['liveResult']?{'liveResult':_0x16c3ff[_0x2005bb(0x205)]}:null}));}[_0x754d11(0x202)](){const _0x333aa8=_0x754d11;for(let _0x3c372e of this['_registrations']['values']())this['_deleteRegistration'](_0x3c372e);this[_0x333aa8(0x158)][_0x333aa8(0x1c3)](),this[_0x333aa8(0x130)][_0x333aa8(0x1c3)](),this[_0x333aa8(0x18e)][_0x333aa8(0x123)](),super[_0x333aa8(0x202)]();}[_0x754d11(0x10f)](_0x519538){const _0x55d8be=_0x754d11;let _0x35c6b3=this[_0x55d8be(0x130)][_0x55d8be(0x14f)](_0x519538[_0x55d8be(0x1e9)]),_0x27af5c=_0x35c6b3?this['_registrations']['get'](_0x35c6b3):void 0x0;_0x35c6b3&&_0x27af5c&&(_0x27af5c[_0x55d8be(0x205)]=_0x519538,this[_0x55d8be(0xfb)](_0x35c6b3,_0x4ee25d(_0x27af5c[_0x55d8be(0x1bb)],_0x519538)));}[_0x754d11(0xfb)](_0x599608,_0x1e4fd2){const _0x3879ae=_0x754d11;var _0x3a2d23,_0x5f00e3;let _0x2f3196=this[_0x3879ae(0x158)][_0x3879ae(0x14f)](_0x599608);if(!_0x2f3196||_0x303dbe(_0x2f3196[_0x3879ae(0x172)],_0x1e4fd2))return;let _0x23f05a=_0x2f3196[_0x3879ae(0x172)],_0x3f5cec=_0x5140b3(_0x2f3196);_0x2f3196[_0x3879ae(0x172)]=_0x1e4fd2,this['_presentationChanged$']['next']({'unitId':_0x2f3196[_0x3879ae(0x231)],'rangeId':_0x2f3196[_0x3879ae(0x230)],'presentation':_0x1e4fd2,'previousPresentation':_0x23f05a,'result':_0x5140b3(_0x2f3196),'previousResult':{..._0x3f5cec,..._0x23f05a,'value':(_0x3a2d23=_0x23f05a[_0x3879ae(0x163)])==null?void 0x0:_0x3a2d23['v'],'valueType':((_0x5f00e3=_0x23f05a['cell'])==null?void 0x0:_0x5f00e3['t'])??void 0x0}});}[_0x754d11(0x16c)](_0x1e56fb){const _0x5c1a25=_0x754d11;_0x1e56fb[_0x5c1a25(0x1e9)]&&(this[_0x5c1a25(0x1c7)]['deleteFormula'](_0x1e56fb[_0x5c1a25(0x231)],_0x1e56fb[_0x5c1a25(0x231)],[_0x1e56fb[_0x5c1a25(0x1e9)]]),this[_0x5c1a25(0x130)][_0x5c1a25(0x212)](_0x1e56fb['formulaId']));}};_0x20a44b=_0x2f1059([_0x54abe0(0x0,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x46f2a0)),_0x54abe0(0x1,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0xce0fe7[_0x754d11(0x180)])),_0x54abe0(0x2,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x27ed60[_0x754d11(0x160)]))],_0x20a44b);function _0x142418(_0x5d85a7,_0x90aeac){return _0x5d85a7+'\x00'+_0x90aeac;}function _0x4ee25d(_0x2d878c,_0x47d62f){const _0x25a9be=_0x754d11;return(0x0,_0x27ed60[_0x25a9be(0x1d1)])({'numberFormat':_0x2d878c[_0x25a9be(0x1ad)],'lastValue':_0x2d878c['lastValue'],'result':_0x47d62f});}function _0x5140b3(_0x1b782e){const _0x520221=_0x754d11;var _0x2d608d,_0x15d11b,_0x17809d;let _0x4fe569=_0x1b782e[_0x520221(0x172)],_0x5d1093=_0x1b782e[_0x520221(0x1bb)][_0x520221(0x16b)]['trim']()?_0x4fe569[_0x520221(0x182)]||_0x4fe569[_0x520221(0x163)]==null?_0x520221(0x100):((_0x2d608d=_0x1b782e[_0x520221(0x205)])==null?void 0x0:_0x2d608d['status'])===_0xce0fe7[_0x520221(0x18a)]['ERROR']?_0x520221(0x1ef):_0x520221(0x133):_0x520221(0x108);return{..._0x4fe569,'status':_0x5d1093,'value':(_0x15d11b=_0x4fe569[_0x520221(0x163)])==null?void 0x0:_0x15d11b['v'],'valueType':((_0x17809d=_0x4fe569[_0x520221(0x163)])==null?void 0x0:_0x17809d['t'])??void 0x0};}function _0x303dbe(_0x803784,_0x1fc5b9){const _0x3e3704=_0x754d11;var _0x1b6c30,_0x5998d7,_0x4e5acb,_0x1fe96b;return _0x803784['text']===_0x1fc5b9[_0x3e3704(0x15c)]&&_0x803784['color']===_0x1fc5b9[_0x3e3704(0x21e)]&&_0x803784[_0x3e3704(0x13f)]===_0x1fc5b9[_0x3e3704(0x13f)]&&_0x803784[_0x3e3704(0x1ca)]===_0x1fc5b9[_0x3e3704(0x1ca)]&&_0x803784[_0x3e3704(0x182)]===_0x1fc5b9['stale']&&((_0x1b6c30=_0x803784[_0x3e3704(0x163)])==null?void 0x0:_0x1b6c30['t'])===((_0x5998d7=_0x1fc5b9[_0x3e3704(0x163)])==null?void 0x0:_0x5998d7['t'])&&Object['is']((_0x4e5acb=_0x803784[_0x3e3704(0x163)])==null?void 0x0:_0x4e5acb['v'],(_0x1fe96b=_0x1fc5b9[_0x3e3704(0x163)])==null?void 0x0:_0x1fe96b['v']);}let _0x4ce42c={'id':_0x754d11(0x1a4),'type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x194)],'handler':(_0x4e5d49,_0x246177)=>!(_0x246177!=null&&_0x246177['unitId'])||!_0x246177['rangeId']||!_0x246177['config']?!0x1:_0x4e5d49[_0x754d11(0x14f)](_0x46f2a0)[_0x754d11(0x16a)](_0x246177[_0x754d11(0x231)],_0x246177[_0x754d11(0x230)],_0x246177[_0x754d11(0x1bb)])},_0x27e5d8={'id':_0x754d11(0x1b4),'type':_0x3ad0ce['CommandType']['MUTATION'],'handler':(_0x3ad4a2,_0x51519b)=>!(_0x51519b!=null&&_0x51519b['unitId'])||!_0x51519b['rangeId']?!0x1:_0x3ad4a2['get'](_0x46f2a0)[_0x754d11(0x195)](_0x51519b[_0x754d11(0x231)],_0x51519b[_0x754d11(0x230)])},_0x3db73a={'id':_0x754d11(0x151),'type':_0x3ad0ce[_0x754d11(0x131)]['MUTATION'],'handler':(_0x13b6cf,_0x4a8377)=>!(_0x4a8377!=null&&_0x4a8377[_0x754d11(0x231)])||!_0x4a8377[_0x754d11(0x103)]?!0x1:_0x13b6cf[_0x754d11(0x14f)](_0x46f2a0)[_0x754d11(0x186)](_0x4a8377[_0x754d11(0x231)],_0x4a8377['resource'])},_0x3618d4={'id':_0x754d11(0x22b),'type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x194)],'handler':(_0x497f92,_0x4cc8ad)=>{const _0x1916ff=_0x754d11;if(!(_0x4cc8ad!=null&&_0x4cc8ad[_0x1916ff(0x231)])||!_0x4cc8ad[_0x1916ff(0x22f)][_0x1916ff(0x150)])return!0x1;let _0x140858=_0x497f92['get'](_0x46f2a0),_0x33b204=_0x497f92['get'](_0x27ed60['HostExternalReferenceModel']),_0x38ae7b=_0x140858[_0x1916ff(0x110)](_0x4cc8ad[_0x1916ff(0x231)]);if(!_0x38ae7b)return!0x1;let _0x1037d1=_0x3ad0ce[_0x1916ff(0x13c)][_0x1916ff(0x1dd)](_0x38ae7b),_0x38aba5=!0x1;for(let _0x2914a1 of _0x4cc8ad['updates']){var _0x2f3399,_0x6031bf,_0x5ed7ba,_0xe5d90c;let _0x16d2f5=_0x1037d1[_0x1916ff(0x162)][_0x2914a1[_0x1916ff(0x230)]];_0x16d2f5&&_0x16d2f5[_0x1916ff(0x16b)]===_0x2914a1[_0x1916ff(0x11c)]&&((_0x2f3399=_0x16d2f5[_0x1916ff(0x1ad)])==null?void 0x0:_0x2f3399[_0x1916ff(0x13f)])===_0x2914a1[_0x1916ff(0x13d)]&&_0x33b204[_0x1916ff(0x1b5)](_0x4cc8ad[_0x1916ff(0x231)])===_0x2914a1[_0x1916ff(0xf6)]&&(((_0x6031bf=_0x16d2f5['lastValue'])==null?void 0x0:_0x6031bf['v'])!==_0x2914a1[_0x1916ff(0x14e)]['v']||((_0x5ed7ba=_0x16d2f5[_0x1916ff(0x14e)])==null?void 0x0:_0x5ed7ba['t'])!==_0x2914a1[_0x1916ff(0x14e)]['t']||((_0xe5d90c=_0x16d2f5[_0x1916ff(0x14e)])==null?void 0x0:_0xe5d90c['pattern'])!==_0x2914a1['lastValue'][_0x1916ff(0x13f)])&&(_0x16d2f5[_0x1916ff(0x14e)]=_0x3ad0ce[_0x1916ff(0x13c)][_0x1916ff(0x1dd)](_0x2914a1[_0x1916ff(0x14e)]),_0x38aba5=!0x0);}return!_0x38aba5||_0x140858[_0x1916ff(0x186)](_0x4cc8ad[_0x1916ff(0x231)],_0x1037d1);}},_0x28c79d={'id':_0x754d11(0x226),'type':_0x3ad0ce['CommandType'][_0x754d11(0x22a)],'handler':(_0x2954bf,_0x549c21)=>{const _0x48480f=_0x754d11;if(!(_0x549c21!=null&&_0x549c21[_0x48480f(0x16b)]['trim']()))return!0x1;let _0x108b30=_0x2d9b2e(_0x2954bf,_0x549c21[_0x48480f(0x231)],'');if(!_0x108b30)return!0x1;let _0x5a5638=_0x1a44ab(_0x549c21['target'],_0x108b30[_0x48480f(0xf0)],_0x389dea(_0x2954bf,_0x108b30[_0x48480f(0x231)]));if(!_0x5a5638)return!0x1;let _0x125f81=_0x50ed22(_0x2954bf,_0x108b30[_0x48480f(0x231)],_0x549c21[_0x48480f(0x16b)],_0x549c21[_0x48480f(0x223)]??[]);if(!_0x125f81)return!0x1;let _0x315d2a=_0x3f76d3(_0x108b30[_0x48480f(0xf0)],_0x108b30[_0x48480f(0x1d6)],_0x108b30[_0x48480f(0x231)]),_0x25ac88=_0x2d32d3({'documentData':_0x108b30[_0x48480f(0x197)],'resource':_0x108b30[_0x48480f(0x103)],'rangeId':_0x315d2a,'config':{'formula':_0x549c21[_0x48480f(0x16b)],..._0x549c21[_0x48480f(0x1ad)]?{'numberFormat':_0x549c21[_0x48480f(0x1ad)]}:null},'startOffset':_0x5a5638[_0x48480f(0x170)],'endOffset':_0x5a5638[_0x48480f(0x13a)]});if(!_0x25ac88)return!0x1;let _0x439ed4=(0x0,_0x27ed60[_0x48480f(0x209)])(_0x2954bf,_0x108b30[_0x48480f(0x231)],_0x125f81);return!_0x439ed4||!_0x29c804({'accessor':_0x2954bf,'document':_0x108b30[_0x48480f(0x101)],'unitId':_0x108b30[_0x48480f(0x231)],'trigger':_0x28c79d['id'],'rangeId':_0x315d2a,'previousResource':_0x108b30[_0x48480f(0x103)],'nextResource':_0x25ac88[_0x48480f(0x1f5)],'previousDocumentData':_0x108b30[_0x48480f(0x197)],'nextDocumentData':_0x25ac88[_0x48480f(0x141)],'cursorOffset':_0x25ac88[_0x48480f(0x22d)],'externalMutations':_0x439ed4})?!0x1:{'rangeId':_0x315d2a,'startOffset':_0x25ac88[_0x48480f(0x22d)]-0x1,'endOffset':_0x25ac88['cursorOffset']};}},_0x4b3299={'id':_0x754d11(0x127),'type':_0x3ad0ce['CommandType'][_0x754d11(0x22a)],'handler':(_0x3cec8b,_0x198247)=>{const _0x1d4abc=_0x754d11;if(!(_0x198247!=null&&_0x198247[_0x1d4abc(0x230)])||!_0x198247['formula'][_0x1d4abc(0x1da)]())return!0x1;let _0x3423a4=_0x2d9b2e(_0x3cec8b,_0x198247[_0x1d4abc(0x231)],''),_0x5a39b6=_0x3423a4==null?void 0x0:_0x3423a4[_0x1d4abc(0x1d6)][_0x1d4abc(0x146)](_0x3423a4[_0x1d4abc(0x231)],_0x198247[_0x1d4abc(0x230)]),_0x346539=_0x3423a4?_0x4001d5(_0x3423a4['documentData'][_0x1d4abc(0xf0)],_0x198247[_0x1d4abc(0x230)]):void 0x0;if(!_0x3423a4||!_0x5a39b6||!_0x346539)return!0x1;let _0x55498a=_0x50ed22(_0x3cec8b,_0x3423a4[_0x1d4abc(0x231)],_0x198247[_0x1d4abc(0x16b)],_0x198247[_0x1d4abc(0x223)]??[]);if(!_0x55498a)return!0x1;let _0x96bae6=(0x0,_0x27ed60[_0x1d4abc(0x209)])(_0x3cec8b,_0x3423a4[_0x1d4abc(0x231)],_0x55498a);if(!_0x96bae6)return!0x1;let _0x5b4a15=_0x351b6a(_0x3423a4[_0x1d4abc(0x103)]);return _0x5b4a15['formulas'][_0x198247[_0x1d4abc(0x230)]]={'formula':_0x198247[_0x1d4abc(0x16b)],..._0x198247[_0x1d4abc(0x1ad)]?{'numberFormat':_0x198247[_0x1d4abc(0x1ad)]}:_0x5a39b6[_0x1d4abc(0x1ad)]?{'numberFormat':_0x5a39b6[_0x1d4abc(0x1ad)]}:null},_0x29c804({'accessor':_0x3cec8b,'document':_0x3423a4[_0x1d4abc(0x101)],'unitId':_0x3423a4['unitId'],'trigger':_0x4b3299['id'],'rangeId':_0x198247[_0x1d4abc(0x230)],'previousResource':_0x3423a4[_0x1d4abc(0x103)],'nextResource':_0x5b4a15,'cursorOffset':_0x346539[_0x1d4abc(0x220)]+0x1,'externalMutations':_0x96bae6});}},_0x1dcb18={'id':'docs-formula.command.set-number-format','type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x22a)],'handler':(_0x1cd37c,_0x3489ee)=>{const _0x1740bb=_0x754d11;if(!(_0x3489ee!=null&&_0x3489ee[_0x1740bb(0x230)]))return!0x1;let _0x296e56=_0x2d9b2e(_0x1cd37c,_0x3489ee['unitId'],''),_0x29f089=_0x296e56==null?void 0x0:_0x296e56['model'][_0x1740bb(0x146)](_0x296e56[_0x1740bb(0x231)],_0x3489ee[_0x1740bb(0x230)]),_0x20eeb0=_0x296e56?_0x4001d5(_0x296e56[_0x1740bb(0x197)]['body'],_0x3489ee[_0x1740bb(0x230)]):void 0x0;if(!_0x296e56||!_0x29f089||!_0x20eeb0)return!0x1;let _0x247caf=_0x351b6a(_0x296e56['resource']);return _0x247caf[_0x1740bb(0x162)][_0x3489ee[_0x1740bb(0x230)]]={..._0x29f089,..._0x3489ee[_0x1740bb(0x1ad)]?{'numberFormat':_0x3489ee['numberFormat']}:null},_0x3489ee[_0x1740bb(0x1ad)]||delete _0x247caf[_0x1740bb(0x162)][_0x3489ee[_0x1740bb(0x230)]][_0x1740bb(0x1ad)],_0x29c804({'accessor':_0x1cd37c,'document':_0x296e56[_0x1740bb(0x101)],'unitId':_0x296e56[_0x1740bb(0x231)],'trigger':_0x1dcb18['id'],'rangeId':_0x3489ee['rangeId'],'previousResource':_0x296e56['resource'],'nextResource':_0x247caf,'cursorOffset':_0x20eeb0[_0x1740bb(0x220)]+0x1,'externalMutations':{}});}},_0x4dc2c7={'id':_0x754d11(0x204),'type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x22a)],'handler':(_0x48eef,_0x12e089)=>_0x39afc0(_0x48eef,_0x12e089,'',_0x4dc2c7['id'])},_0x550e48={'id':'docs-formula.command.replace-with-text','type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x22a)],'handler':(_0x21f215,_0x22d66e)=>_0x39afc0(_0x21f215,_0x22d66e,(_0x22d66e==null?void 0x0:_0x22d66e[_0x754d11(0x15c)])??'',_0x550e48['id'])},_0x2d94b4={'id':_0x754d11(0x1de),'type':_0x3ad0ce['CommandType'][_0x754d11(0x22a)],'handler':(_0x47e984,_0x2d42de)=>{const _0x1fd46a=_0x754d11;if(!(_0x2d42de!=null&&_0x2d42de[_0x1fd46a(0x230)]))return!0x1;let _0x55f896=_0x2d9b2e(_0x47e984,_0x2d42de[_0x1fd46a(0x231)],'');if(!_0x55f896)return!0x1;let _0x38a3f1=_0x47e984[_0x1fd46a(0x14f)](_0x20a44b)[_0x1fd46a(0x1c2)]({'unitId':_0x55f896[_0x1fd46a(0x231)],'rangeId':_0x2d42de['rangeId']});return _0x38a3f1?_0x39afc0(_0x47e984,_0x2d42de,_0x38a3f1['text'],_0x2d94b4['id']):!0x1;}};function _0x39afc0(_0x45668c,_0x4f0366,_0x54e2f3,_0x2846f2){const _0x4633e1=_0x754d11;if(!(_0x4f0366!=null&&_0x4f0366['rangeId']))return!0x1;let _0x3973f6=_0x2d9b2e(_0x45668c,_0x4f0366[_0x4633e1(0x231)],'');if(!_0x3973f6)return!0x1;let _0x4123c2=_0x2dc10f({'documentData':_0x3973f6[_0x4633e1(0x197)],'resource':_0x3973f6[_0x4633e1(0x103)],'rangeId':_0x4f0366['rangeId'],'text':_0x54e2f3});return _0x4123c2?_0x29c804({'accessor':_0x45668c,'document':_0x3973f6[_0x4633e1(0x101)],'unitId':_0x3973f6[_0x4633e1(0x231)],'trigger':_0x2846f2,'rangeId':_0x4f0366[_0x4633e1(0x230)],'previousResource':_0x3973f6['resource'],'nextResource':_0x4123c2[_0x4633e1(0x1f5)],'previousDocumentData':_0x3973f6['documentData'],'nextDocumentData':_0x4123c2[_0x4633e1(0x141)],'cursorOffset':_0x4123c2[_0x4633e1(0x22d)],'externalMutations':{}}):!0x1;}function _0x2d9b2e(_0x2e9101,_0x31412b,_0x188841){const _0x101596=_0x754d11;if(_0x188841)return null;let _0x50c99e=_0x2e9101['get'](_0x3ad0ce['IUniverInstanceService']),_0x128cb5=(_0x31412b?_0x50c99e[_0x101596(0xfe)](_0x31412b,_0x3ad0ce[_0x101596(0x1c6)][_0x101596(0x10b)]):_0x50c99e[_0x101596(0x109)](_0x3ad0ce[_0x101596(0x1c6)][_0x101596(0x10b)]))??null;if(!_0x128cb5)return null;let _0x4bb9b2=_0x128cb5[_0x101596(0x21d)](),_0x12d1b8=_0x4bb9b2[_0x101596(0xf0)];if(_0x4bb9b2['disabled']||!_0x12d1b8)return null;let _0x6e85e5=_0x2e9101['get'](_0x46f2a0);return _0x6e85e5['getLoadError'](_0x128cb5[_0x101596(0x1a8)]())?null:{'document':_0x128cb5,'body':_0x12d1b8,'documentData':_0x4bb9b2,'model':_0x6e85e5,'resource':_0x6e85e5['getResource'](_0x128cb5['getUnitId']())??_0x2dd373(),'unitId':_0x128cb5[_0x101596(0x1a8)]()};}function _0x389dea(_0x21ca58,_0x47c9dd){const _0x255baa=_0x754d11;var _0x42e707;return(_0x42e707=_0x21ca58[_0x255baa(0x14f)](_0xe8b14d[_0x255baa(0xf9)])[_0x255baa(0x1a0)]({'subUnitId':_0x47c9dd,'unitId':_0x47c9dd}))==null?void 0x0:_0x42e707[0x0];}function _0x1a44ab(_0x244c61,_0x32069f,_0x1de56e){const _0x4842d1=_0x754d11;if((_0x244c61==null?void 0x0:_0x244c61[_0x4842d1(0x121)])===_0x4842d1(0x1ed)){var _0x459c82;let _0x10baf0=((_0x459c82=_0x32069f[_0x4842d1(0x1c8)])==null?void 0x0:_0x459c82[_0x4842d1(0x137)](_0x5ebbcf=>_0x5ebbcf[_0x4842d1(0x11a)]===_0x244c61[_0x4842d1(0x11a)]))??[];if(_0x10baf0[_0x4842d1(0x150)]!==0x1)return null;let _0x56463d=_0x10baf0[0x0],_0x273f4d=(0x0,_0x3ad0ce[_0x4842d1(0x17e)])(_0x32069f,_0x56463d),_0x5eb229=_0x56463d['startIndex']-_0x273f4d,_0x24aba5=_0x244c61[_0x4842d1(0x19b)]==='end'?_0x5eb229:_0x244c61[_0x4842d1(0x19b)];if(!Number[_0x4842d1(0x14d)](_0x24aba5)||_0x24aba5<0x0||_0x24aba5>_0x5eb229)return null;let _0x5cb94d=_0x273f4d+_0x24aba5;return{'startOffset':_0x5cb94d,'endOffset':_0x5cb94d};}if((_0x244c61==null?void 0x0:_0x244c61[_0x4842d1(0x121)])===_0x4842d1(0x1f4))return!Number['isInteger'](_0x244c61[_0x4842d1(0x170)])||!Number[_0x4842d1(0x14d)](_0x244c61[_0x4842d1(0x13a)])?null:{'startOffset':Math[_0x4842d1(0x1b6)](_0x244c61[_0x4842d1(0x170)],_0x244c61[_0x4842d1(0x13a)]),'endOffset':Math['max'](_0x244c61[_0x4842d1(0x170)],_0x244c61[_0x4842d1(0x13a)])};let _0x54d2d5=(_0x244c61==null?void 0x0:_0x244c61['type'])===_0x4842d1(0x175)?_0x244c61[_0x4842d1(0x175)]:_0x1de56e;return!_0x54d2d5||_0x54d2d5['segmentId']?null:{'startOffset':Math[_0x4842d1(0x1b6)](_0x54d2d5[_0x4842d1(0x170)],_0x54d2d5['endOffset']),'endOffset':Math[_0x4842d1(0x161)](_0x54d2d5[_0x4842d1(0x170)],_0x54d2d5[_0x4842d1(0x13a)])};}function _0x50ed22(_0x4f82ff,_0x72358e,_0x4a6c41,_0xce4142){const _0x5a7c85=_0x754d11;let _0x3880e3=_0x4f82ff['get'](_0xce0fe7[_0x5a7c85(0x13e)]),_0x499abd=_0x4a6c41[_0x5a7c85(0x199)]('=')?_0x4a6c41[_0x5a7c85(0x168)](0x1):_0x4a6c41,_0x186955=_0x3880e3[_0x5a7c85(0x183)](_0x499abd);if(!_0x186955)return null;let _0x5e997e=_0x4f82ff[_0x5a7c85(0x14f)](_0x27ed60[_0x5a7c85(0x160)]),_0x1c37fb=(0x0,_0x27ed60[_0x5a7c85(0x225)])({'qualifiers':(0x0,_0x27ed60['collectFormulaExternalReferenceQualifiers'])(_0x186955),'explicitReferences':_0xce4142??[],'resolveBinding':_0x4bbcbf=>_0x5e997e[_0x5a7c85(0x17f)](_0x72358e,_0x4bbcbf)});return _0x1c37fb['status']===_0x5a7c85(0x1a2)?_0x1c37fb['references']:null;}function _0x3f76d3(_0x25d031,_0x32241e,_0x3bdd9a){const _0x32cc65=_0x754d11;var _0x416109;let _0x175ed3=(0x0,_0x3ad0ce[_0x32cc65(0x1e8)])(0x6);for(;_0x25d031!=null&&(_0x416109=_0x25d031['customRanges'])!=null&&_0x416109[_0x32cc65(0x18b)](_0x5b5768=>_0x5b5768['rangeId']===_0x175ed3)||_0x32241e['getFormula'](_0x3bdd9a,_0x175ed3);)_0x175ed3=(0x0,_0x3ad0ce['generateRandomId'])(0x6);return _0x175ed3;}function _0x2d32d3(_0x2a78fb){try{return _0x2a913d(_0x2a78fb);}catch(_0x1d1088){if(_0x1d1088 instanceof _0x471f6f)return null;throw _0x1d1088;}}function _0x1c6031(_0xf5b57b){const _0x32c432=_0x754d11;let _0x2df47a=_0xf5b57b['previousDocumentData']&&_0xf5b57b[_0x32c432(0x141)]?_0x1009a5(_0xf5b57b[_0x32c432(0x101)],_0xf5b57b[_0x32c432(0x231)],_0xf5b57b[_0x32c432(0x140)],_0xf5b57b[_0x32c432(0x141)],_0xf5b57b['cursorOffset'],_0xf5b57b['trigger']):null;return _0xf5b57b[_0x32c432(0x140)]&&_0xf5b57b[_0x32c432(0x141)]&&!_0x2df47a?null:{'documentRedo':_0x2df47a,'resourceRedo':{'id':_0x3db73a['id'],'params':{'unitId':_0xf5b57b[_0x32c432(0x231)],'resource':_0xf5b57b['nextResource']}},'resourceUndo':{'id':_0x3db73a['id'],'params':{'unitId':_0xf5b57b['unitId'],'resource':_0xf5b57b[_0x32c432(0x213)]}}};}function _0x52b8f4(_0x8390b1,_0x5b9c94,_0x153d6a,_0x4b2c12){const _0x56069b=_0x754d11;_0x4b2c12['pushUndoRedo']({'id':_0x8390b1[_0x56069b(0x1ac)]+':'+_0x8390b1[_0x56069b(0x230)],'unitID':_0x8390b1[_0x56069b(0x231)],'redoMutations':[..._0x8390b1[_0x56069b(0x10c)][_0x56069b(0x174)]?[_0x8390b1[_0x56069b(0x10c)]['redoMutation']]:[],..._0x5b9c94['documentRedo']?[_0x5b9c94[_0x56069b(0x1c9)]]:[],_0x5b9c94[_0x56069b(0x124)]],'undoMutations':[_0x5b9c94['resourceUndo'],..._0x153d6a?[_0x153d6a]:[],..._0x8390b1[_0x56069b(0x10c)][_0x56069b(0x14b)]?[_0x8390b1[_0x56069b(0x10c)][_0x56069b(0x14b)]]:[]]});}function _0x29c804(_0x133e2f){const _0xf2d4c6=_0x754d11;let _0x347101=_0x133e2f[_0xf2d4c6(0x1ec)][_0xf2d4c6(0x14f)](_0x3ad0ce[_0xf2d4c6(0x157)]),_0x5813bb=_0x133e2f['accessor']['get'](_0x3ad0ce['IUndoRedoService']),_0x109fc5=_0x133e2f[_0xf2d4c6(0x1ec)][_0xf2d4c6(0x14f)](_0xe8b14d['DocSelectionManagerService']),_0x48d899=_0x1c6031(_0x133e2f);if(!_0x48d899)return!0x1;let _0x52c9bb=!0x1,_0x1d4a6d=null,_0x577a5a=!0x1;try{if(_0x133e2f[_0xf2d4c6(0x10c)][_0xf2d4c6(0x174)]){if(!_0x347101[_0xf2d4c6(0x1d9)](_0x133e2f['externalMutations'][_0xf2d4c6(0x174)]['id'],_0x133e2f[_0xf2d4c6(0x10c)][_0xf2d4c6(0x174)][_0xf2d4c6(0x21b)]))return!0x1;_0x52c9bb=!0x0;}if(_0x48d899[_0xf2d4c6(0x1c9)]){let _0x1f9d48=_0x347101['syncExecuteCommand'](_0x48d899[_0xf2d4c6(0x1c9)]['id'],_0x48d899[_0xf2d4c6(0x1c9)][_0xf2d4c6(0x21b)]);if(!_0x1f9d48)return _0x22a54f(_0x347101,_0x133e2f[_0xf2d4c6(0x10c)],_0x52c9bb),!0x1;_0x1d4a6d={'id':_0xe8b14d['RichTextEditingMutation']['id'],'params':{..._0x1f9d48,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x347101[_0xf2d4c6(0x1d9)](_0x48d899[_0xf2d4c6(0x124)]['id'],_0x48d899['resourceRedo'][_0xf2d4c6(0x21b)]))return _0x58b000(_0x347101,_0x1d4a6d),_0x22a54f(_0x347101,_0x133e2f[_0xf2d4c6(0x10c)],_0x52c9bb),!0x1;_0x577a5a=!0x0,_0x52b8f4(_0x133e2f,_0x48d899,_0x1d4a6d,_0x5813bb);}catch(_0x394eee){throw _0x577a5a&&_0x347101['syncExecuteCommand'](_0x48d899[_0xf2d4c6(0x1ba)]['id'],_0x48d899[_0xf2d4c6(0x1ba)][_0xf2d4c6(0x21b)]),_0x58b000(_0x347101,_0x1d4a6d),_0x22a54f(_0x347101,_0x133e2f[_0xf2d4c6(0x10c)],_0x52c9bb),_0x394eee;}return _0x109fc5[_0xf2d4c6(0x222)]([{'startOffset':_0x133e2f[_0xf2d4c6(0x22d)],'endOffset':_0x133e2f[_0xf2d4c6(0x22d)],'segmentId':''}],{'unitId':_0x133e2f[_0xf2d4c6(0x231)],'subUnitId':_0x133e2f[_0xf2d4c6(0x231)]},!0x1,{[_0xe8b14d[_0xf2d4c6(0x218)]]:!0x0}),!0x0;}function _0x1009a5(_0x2d4e0e,_0x1954f4,_0x4096a2,_0x122355,_0x537de5,_0xb5539b){const _0x56ca0c=_0x754d11;let _0x327b2e=_0x15be00(_0x4096a2,_0x122355,(0x0,_0x3ad0ce[_0x56ca0c(0x1dc)])(_0x2d4e0e,''));return _0x327b2e?{'id':_0xe8b14d[_0x56ca0c(0x154)]['id'],'params':{'unitId':_0x1954f4,'actions':_0x327b2e,'segmentId':'','textRanges':[{'startOffset':_0x537de5,'endOffset':_0x537de5,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0xb5539b}}:null;}function _0x58b000(_0x27ab4a,_0x2db17f){const _0x306d2d=_0x754d11;_0x2db17f&&_0x27ab4a[_0x306d2d(0x1d9)](_0x2db17f['id'],_0x2db17f['params']);}function _0x22a54f(_0x36ee23,_0x14699c,_0x14b729){const _0x64e1d=_0x754d11;_0x14b729&&_0x14699c[_0x64e1d(0x14b)]&&_0x36ee23['syncExecuteCommand'](_0x14699c[_0x64e1d(0x14b)]['id'],_0x14699c[_0x64e1d(0x14b)][_0x64e1d(0x21b)]);}function _0x15be00(_0x25e4ed,_0x477bd6,_0x23c625){const _0x240c3b=_0x754d11;let _0x5b96e2=_0x25e4ed['body'],_0x3552dd=_0x477bd6[_0x240c3b(0xf0)],_0x27b687=_0x3882f8(_0x5b96e2==null?void 0x0:_0x5b96e2[_0x240c3b(0x14c)],_0x3552dd==null?void 0x0:_0x3552dd['dataStream']);if(!_0x27b687||!_0x3552dd)return null;let _0x311787=new _0x3ad0ce[(_0x240c3b(0x147))]();return _0x311787[_0x240c3b(0x1e6)](_0x27b687[_0x240c3b(0x132)]),_0x27b687[_0x240c3b(0x1d8)]>0x0&&_0x311787[_0x240c3b(0x1fe)](_0x27b687[_0x240c3b(0x1d8)],(0x0,_0x3ad0ce[_0x240c3b(0x227)])(_0x3552dd,_0x27b687[_0x240c3b(0x132)],_0x27b687[_0x240c3b(0x132)]+_0x27b687[_0x240c3b(0x1d8)],!0x1)),_0x27b687['deleteLength']>0x0&&_0x311787['delete'](_0x27b687[_0x240c3b(0x236)]),_0x3ad0ce[_0x240c3b(0x20c)]['getInstance']()['editOp'](_0x311787[_0x240c3b(0x16f)](),_0x23c625);}function _0x3882f8(_0x15dc3d,_0x41e617){const _0x6f7345=_0x754d11;if(_0x15dc3d==null||_0x41e617==null||_0x15dc3d===_0x41e617)return null;let _0x519cdb=0x0;for(;_0x519cdb<_0x15dc3d['length']&&_0x519cdb<_0x41e617[_0x6f7345(0x150)]&&_0x15dc3d[_0x519cdb]===_0x41e617[_0x519cdb];)_0x519cdb+=0x1;let _0x14cf01=_0x15dc3d[_0x6f7345(0x150)],_0x40279f=_0x41e617['length'];for(;_0x14cf01>_0x519cdb&&_0x40279f>_0x519cdb&&_0x15dc3d[_0x14cf01-0x1]===_0x41e617[_0x40279f-0x1];)--_0x14cf01,--_0x40279f;return{'start':_0x519cdb,'deleteLength':_0x14cf01-_0x519cdb,'insertLength':_0x40279f-_0x519cdb};}function _0x351b6a(_0x209262){const _0x3cb2e1=_0x754d11;return{'schemaVersion':0x1,'formulas':Object[_0x3cb2e1(0x217)](Object[_0x3cb2e1(0x1e0)](_0x209262[_0x3cb2e1(0x162)])[_0x3cb2e1(0x184)](([_0x3edd32,_0x161817])=>[_0x3edd32,{..._0x161817,..._0x161817[_0x3cb2e1(0x1ad)]?{'numberFormat':{..._0x161817[_0x3cb2e1(0x1ad)]}}:null,..._0x161817[_0x3cb2e1(0x14e)]?{'lastValue':{..._0x161817[_0x3cb2e1(0x14e)]}}:null}]))};}let _0x841e44=class extends _0x3ad0ce['Disposable']{constructor(_0x4d86c7,_0xf9631d,_0x5ab3da,_0x24197d){const _0x245293=_0x754d11;super(),this['_instanceService']=_0x4d86c7,this['_commandService']=_0xf9631d,this[_0x245293(0x119)]=_0x5ab3da,this[_0x245293(0x177)]=_0x24197d,_0x4fce06(this,_0x245293(0x138),new Set()),_0x4fce06(this,'_syncScheduled',!0x1),_0x4fce06(this,_0x245293(0x190),!0x1),this[_0x245293(0x1e1)][_0x245293(0x15b)](_0x3ad0ce[_0x245293(0x1c6)][_0x245293(0x10b)])[_0x245293(0x19d)](_0xb9ed08=>this[_0x245293(0x177)][_0x245293(0x134)](_0xb9ed08)),this[_0x245293(0x1aa)](this[_0x245293(0x119)][_0x245293(0x1fb)][_0x245293(0x20d)](({unitId:_0x458cc5})=>this['_syncUnit'](_0x458cc5))),this['disposeWithMe'](this[_0x245293(0x1e1)][_0x245293(0x126)][_0x245293(0x20d)](({unit:_0x1aeb39})=>{const _0x9f0498=_0x245293;_0x1aeb39[_0x9f0498(0x121)]===_0x3ad0ce[_0x9f0498(0x1c6)][_0x9f0498(0x10b)]&&this[_0x9f0498(0x1a1)](_0x1aeb39[_0x9f0498(0x1a8)]());})),this[_0x245293(0x1aa)](this['_instanceService'][_0x245293(0x16e)][_0x245293(0x20d)](_0x19154b=>{const _0x1771b7=_0x245293;this[_0x1771b7(0x177)][_0x1771b7(0x1a9)](_0x19154b[_0x1771b7(0x1a8)]());})),this[_0x245293(0x1aa)](this['_commandService'][_0x245293(0x232)](_0x1a6b62=>{const _0x5b7ad1=_0x245293;if(_0x1a6b62['id']===_0xe8b14d[_0x5b7ad1(0x154)]['id']&&_0x491e33(_0x1a6b62['params'])){let _0x1b5ae5=_0x1a6b62['params'];_0x1b5ae5[_0x5b7ad1(0x234)]||this[_0x5b7ad1(0x20e)](_0x1b5ae5[_0x5b7ad1(0x231)]);}}));}['dispose'](){const _0x27ea91=_0x754d11;this[_0x27ea91(0x190)]=!0x0,super[_0x27ea91(0x202)]();}[_0x754d11(0x1a1)](_0x367a6a){const _0x2663ba=_0x754d11;this['_pendingUnitIds'][_0x2663ba(0x1d7)](_0x367a6a),!this[_0x2663ba(0x12c)]&&(this[_0x2663ba(0x12c)]=!0x0,queueMicrotask(()=>{const _0x4d08c2=_0x2663ba;if(this['_syncScheduled']=!0x1,this[_0x4d08c2(0x190)])return;let _0x4f3ef2=Array['from'](this[_0x4d08c2(0x138)]);this['_pendingUnitIds']['clear'](),_0x4f3ef2[_0x4d08c2(0x19d)](_0x5cd954=>this[_0x4d08c2(0x20e)](_0x5cd954));}));}[_0x754d11(0x20e)](_0x3895a2){const _0x49bf5b=_0x754d11;let _0x5aaccf=this[_0x49bf5b(0x1e1)][_0x49bf5b(0xfe)](_0x3895a2,_0x3ad0ce['UniverInstanceType'][_0x49bf5b(0x10b)]);_0x5aaccf&&this[_0x49bf5b(0x177)][_0x49bf5b(0x134)](_0x5aaccf);}};_0x841e44=_0x2f1059([_0x54abe0(0x0,_0x3ad0ce['IUniverInstanceService']),_0x54abe0(0x1,_0x3ad0ce['ICommandService']),_0x54abe0(0x2,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x46f2a0)),_0x54abe0(0x3,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x20a44b))],_0x841e44);function _0x491e33(_0xc8a81d){const _0x1ae096=_0x754d11;return typeof _0xc8a81d==_0x1ae096(0x1d5)&&!!_0xc8a81d&&_0x1ae096(0x231)in _0xc8a81d&&typeof _0xc8a81d[_0x1ae096(0x231)]=='string'&&(!(_0x1ae096(0x234)in _0xc8a81d)||_0xc8a81d['segmentId']===void 0x0||typeof _0xc8a81d[_0x1ae096(0x234)]==_0x1ae096(0x188));}let _0x573977=class extends _0x3ad0ce['Disposable']{constructor(_0x249b5e,_0x14f0c0){const _0x47a6f5=_0x754d11;super(),this[_0x47a6f5(0x10d)]=_0x249b5e,this[_0x47a6f5(0x1ae)]=_0x14f0c0,this[_0x47a6f5(0x1aa)](this[_0x47a6f5(0x10d)][_0x47a6f5(0x1e7)]({'pluginName':_0x959d06,'businesses':[_0x3ad0ce[_0x47a6f5(0x1c6)]['UNIVER_DOC']],'toJson':_0x5a555f=>JSON['stringify'](this[_0x47a6f5(0x1ae)][_0x47a6f5(0x16f)](_0x5a555f)),'parseJson':_0x234777=>JSON[_0x47a6f5(0x235)](_0x234777),'onLoad':(_0x1d3818,_0x540e98)=>{const _0x5b14db=_0x47a6f5;this[_0x5b14db(0x1ae)][_0x5b14db(0x206)](_0x1d3818,_0x540e98);},'onUnLoad':_0x245adb=>this[_0x47a6f5(0x1ae)]['removeUnit'](_0x245adb)}));}};_0x573977=_0x2f1059([_0x54abe0(0x0,_0x3ad0ce[_0x754d11(0x18c)]),_0x54abe0(0x1,(0x0,_0x3ad0ce['Inject'])(_0x46f2a0))],_0x573977);var _0x13460d=_0x754d11(0x1a5),_0x18c596='1.0.1';let _0x2f8a9f={},_0x4ec3b4=class extends _0x3ad0ce[_0x754d11(0xf3)]{constructor(_0x1c261d,_0x4d3cd9,_0x62211){const _0x56e074=_0x754d11;super(),this[_0x56e074(0x159)]=_0x1c261d,this[_0x56e074(0x15f)]=_0x4d3cd9,this[_0x56e074(0x1aa)](_0x62211[_0x56e074(0xf2)]({'resolve':(_0x31a957,_0xc75f20)=>{const _0x47352f=_0x56e074;var _0x8d0ea;return((_0x8d0ea=_0xc75f20[_0x47352f(0x1b7)])==null?void 0x0:_0x8d0ea[_0x47352f(0x137)](_0x2ea921)[_0x47352f(0x184)](_0x135f0d=>({'startOffset':_0x135f0d[_0x47352f(0xfa)],'endOffset':_0x135f0d[_0x47352f(0x220)]+0x1,'text':this['resolveFormula'](_0x31a957,_0x135f0d['rangeId'])})))??[];}})),this['disposeWithMe'](this['_formulaService'][_0x56e074(0x1cc)][_0x56e074(0x20d)](({unitId:_0x50cf57})=>{const _0x2a19df=_0x56e074;_0x62211[_0x2a19df(0x148)](_0x50cf57);}));}[_0x754d11(0x219)](_0xa2ef8c,_0x5596bd){const _0x3b1e18=_0x754d11;var _0x4a6180;return((_0x4a6180=this[_0x3b1e18(0x15f)]['getResult']({'unitId':_0xa2ef8c,'rangeId':_0x5596bd}))==null?void 0x0:_0x4a6180['text'])??'';}[_0x754d11(0x1a6)](_0x183fca,_0xcb27ff,_0x12d903){const _0x588186=_0x754d11;var _0x49106d;let _0x63cbbf=this[_0x588186(0x159)]['getUnit'](_0x183fca,_0x3ad0ce[_0x588186(0x1c6)][_0x588186(0x10b)]),_0x102652=_0x63cbbf==null?void 0x0:_0x63cbbf[_0x588186(0x135)]();if(!_0x102652)return'';let _0xa1b1e6=_0x102652[_0x588186(0x14c)][_0x588186(0x168)](_0xcb27ff,_0x12d903),_0x2ed59d=((_0x49106d=_0x102652[_0x588186(0x1b7)])==null?void 0x0:_0x49106d[_0x588186(0x137)](_0x5395fe=>_0x2ea921(_0x5395fe)&&_0x5395fe[_0x588186(0xfa)]>=_0xcb27ff&&_0x5395fe[_0x588186(0x220)]<_0x12d903)[_0x588186(0x1f1)]((_0xddbc5e,_0x564ef4)=>_0x564ef4[_0x588186(0xfa)]-_0xddbc5e[_0x588186(0xfa)]))??[];for(let _0x58b48f of _0x2ed59d){let _0x32d438=_0x58b48f[_0x588186(0xfa)]-_0xcb27ff,_0x496171=_0x58b48f['endIndex']-_0xcb27ff+0x1;_0xa1b1e6=''+_0xa1b1e6[_0x588186(0x168)](0x0,_0x32d438)+this[_0x588186(0x219)](_0x183fca,_0x58b48f[_0x588186(0x230)])+_0xa1b1e6[_0x588186(0x168)](_0x496171);}return _0xa1b1e6;}[_0x754d11(0xf8)](_0x16f311){return _0xca32cb(_0x16f311);}['degradeBody'](_0x339a9a,_0x5ae85d,_0x4386a8={}){const _0xdd25a1=_0x754d11;var _0x4af93d;return _0x1fb233({'id':_0x339a9a,'body':_0x5ae85d,'documentStyle':{}},(((_0x4af93d=_0x5ae85d[_0xdd25a1(0x1b7)])==null?void 0x0:_0x4af93d[_0xdd25a1(0x137)](_0x2ea921))??[])[_0xdd25a1(0x184)](_0x2ea464=>({'rangeId':_0x2ea464['rangeId'],'text':_0x4386a8[_0x2ea464[_0xdd25a1(0x230)]]??this['resolveFormula'](_0x339a9a,_0x2ea464[_0xdd25a1(0x230)])})))[_0xdd25a1(0xf0)]??{'dataStream':''};}};_0x4ec3b4=_0x2f1059([_0x54abe0(0x0,_0x3ad0ce[_0x754d11(0x1c1)]),_0x54abe0(0x1,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x20a44b)),_0x54abe0(0x2,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0xe8b14d[_0x754d11(0x12d)]))],_0x4ec3b4);function _0xca32cb(_0x3c3bfe){const _0x3717b2=_0x754d11;var _0x263dd6,_0xa7b13f;let _0xc36412=_0x2a46e4(_0x3c3bfe),_0x3364ad=_0x1fb233(_0x3c3bfe,(((_0x263dd6=_0x3c3bfe[_0x3717b2(0xf0)])==null||(_0x263dd6=_0x263dd6[_0x3717b2(0x1b7)])==null?void 0x0:_0x263dd6['filter'](_0x2ea921))??[])[_0x3717b2(0x184)](_0x22b012=>({'rangeId':_0x22b012[_0x3717b2(0x230)],'text':_0x345a78(_0xc36412==null?void 0x0:_0xc36412[_0x3717b2(0x162)][_0x22b012['rangeId']])})));return _0x3364ad[_0x3717b2(0x120)]=(_0xa7b13f=_0x3364ad['resources'])==null?void 0x0:_0xa7b13f[_0x3717b2(0x137)](_0x311036=>_0x311036[_0x3717b2(0x117)]!==_0x959d06),_0x3364ad;}function _0x2a46e4(_0x24ea26){const _0x48a5ce=_0x754d11;var _0x516a03;let _0x13486b=(_0x516a03=_0x24ea26['resources'])==null||(_0x516a03=_0x516a03[_0x48a5ce(0x1d3)](_0x6bf995=>_0x6bf995[_0x48a5ce(0x117)]===_0x48a5ce(0x179)))==null?void 0x0:_0x516a03[_0x48a5ce(0x1b3)];if(_0x13486b)try{let _0x4fe22e=JSON[_0x48a5ce(0x235)](_0x13486b);return _0x1b1cdf(_0x4fe22e)?_0x4fe22e:void 0x0;}catch{return;}}function _0x345a78(_0x29d5a7){const _0x250bf0=_0x754d11;return _0x29d5a7?(0x0,_0x27ed60[_0x250bf0(0x1d1)])({'lastValue':_0x29d5a7[_0x250bf0(0x14e)],'numberFormat':_0x29d5a7[_0x250bf0(0x1ad)]})[_0x250bf0(0x15c)]:'';}let _0x5a43fc=class extends _0x3ad0ce[_0x754d11(0xf3)]{constructor(_0x51d196,_0x2ad542,_0x56b65c){const _0x3248fa=_0x754d11;super(),this[_0x3248fa(0x15f)]=_0x51d196,this['_cacheEligibilityService']=_0x2ad542,this[_0x3248fa(0x1aa)](_0x56b65c[_0x3248fa(0x107)](this));}[_0x754d11(0x15d)](_0x23b40a){const _0x3498ae=_0x754d11;let _0x4d75d1=new Map();for(let _0x2aee38 of this[_0x3498ae(0x15f)][_0x3498ae(0x1e5)]()){var _0x2018d2;if(!this[_0x3498ae(0x14a)][_0x3498ae(0x1f3)](_0x2aee38[_0x3498ae(0x1bb)][_0x3498ae(0x16b)],_0x2aee38[_0x3498ae(0x205)])[_0x3498ae(0x216)])continue;let _0x584b18=(0x0,_0x27ed60[_0x3498ae(0x21c)])(_0x2aee38['liveResult']),_0x265f04=_0x584b18?(0x0,_0x27ed60[_0x3498ae(0x214)])(_0x584b18):null;if(!_0x265f04||_0x18ab00(_0x2aee38[_0x3498ae(0x1bb)][_0x3498ae(0x14e)],_0x265f04))continue;let _0xaf8a05=_0x4d75d1[_0x3498ae(0x14f)](_0x2aee38[_0x3498ae(0x1b0)][_0x3498ae(0x231)])??[];_0xaf8a05['push']({'rangeId':_0x2aee38[_0x3498ae(0x1b0)][_0x3498ae(0x230)],'expectedFormula':_0x2aee38[_0x3498ae(0x1bb)][_0x3498ae(0x16b)],'expectedNumberFormat':(_0x2018d2=_0x2aee38[_0x3498ae(0x1bb)][_0x3498ae(0x1ad)])==null?void 0x0:_0x2018d2[_0x3498ae(0x13f)],'expectedReferenceRevision':_0x2aee38[_0x3498ae(0x1fd)],'lastValue':_0x265f04}),_0x4d75d1[_0x3498ae(0x1ea)](_0x2aee38[_0x3498ae(0x1b0)]['unitId'],_0xaf8a05);}return Array['from'](_0x4d75d1,([_0x118459,_0x298a92])=>({'id':_0x3618d4['id'],'params':{'unitId':_0x118459,'updates':_0x298a92}}));}};_0x5a43fc=_0x2f1059([_0x54abe0(0x0,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x20a44b)),_0x54abe0(0x1,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x27ed60[_0x754d11(0x165)])),_0x54abe0(0x2,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x27ed60[_0x754d11(0x122)]))],_0x5a43fc);function _0x18ab00(_0x19b2d0,_0xca958f){const _0x5cba05=_0x754d11;return(_0x19b2d0==null?void 0x0:_0x19b2d0['v'])===_0xca958f['v']&&(_0x19b2d0==null?void 0x0:_0x19b2d0['t'])===_0xca958f['t']&&(_0x19b2d0==null?void 0x0:_0x19b2d0[_0x5cba05(0x13f)])===_0xca958f[_0x5cba05(0x13f)];}let _0x429a18=class extends _0x3ad0ce[_0x754d11(0x1b2)]{constructor(_0x180da7=_0x2f8a9f,_0x3aa989,_0x3ea98d,_0x2650f8){const _0x3a1860=_0x754d11;super(),this[_0x3a1860(0x171)]=_0x180da7,this[_0x3a1860(0x156)]=_0x3aa989,this[_0x3a1860(0x1bf)]=_0x3ea98d,this['_configService']=_0x2650f8;let {..._0x4c8beb}=(0x0,_0x3ad0ce[_0x3a1860(0x18d)])({},_0x2f8a9f,this[_0x3a1860(0x171)]);this[_0x3a1860(0x10a)][_0x3a1860(0x1f7)](_0x3a1860(0x1fc),_0x4c8beb);}[_0x754d11(0x208)](){const _0x3bea5a=_0x754d11;this[_0x3bea5a(0x156)][_0x3bea5a(0x1d7)]([_0x46f2a0]),this[_0x3bea5a(0x156)][_0x3bea5a(0x1d7)]([_0x20a44b]),this[_0x3bea5a(0x156)][_0x3bea5a(0x1d7)]([_0x573977]),this['_injector'][_0x3bea5a(0x1d7)]([_0x841e44]),this[_0x3bea5a(0x156)]['add']([_0x5a43fc]),this[_0x3bea5a(0x156)][_0x3bea5a(0x1d7)]([_0x4ec3b4]),(0x0,_0x3ad0ce[_0x3bea5a(0x19c)])(this[_0x3bea5a(0x156)],[[_0x46f2a0],[_0x573977],[_0x841e44],[_0x5a43fc],[_0x4ec3b4]]),[_0x4ce42c,_0x27e5d8,_0x3db73a,_0x3618d4,_0x28c79d,_0x4b3299,_0x1dcb18,_0x4dc2c7,_0x550e48,_0x2d94b4]['forEach'](_0x3e2899=>this[_0x3bea5a(0x1aa)](this['_commandService'][_0x3bea5a(0x22c)](_0x3e2899)));}};_0x4fce06(_0x429a18,'pluginName',_0x959d06),_0x4fce06(_0x429a18,'packageName',_0x13460d),_0x4fce06(_0x429a18,_0x754d11(0x1c0),_0x18c596),_0x4fce06(_0x429a18,_0x754d11(0x121),_0x3ad0ce[_0x754d11(0x1c6)][_0x754d11(0x10b)]),_0x429a18=_0x2f1059([(0x0,_0x3ad0ce[_0x754d11(0x129)])(_0x3ebd32[_0x754d11(0x1d2)],_0x27ed60['UniverProFormulaEnginePlugin'],_0xe8b14d['UniverDocsPlugin']),_0x54abe0(0x1,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x3ad0ce['Injector'])),_0x54abe0(0x2,_0x3ad0ce[_0x754d11(0x157)]),_0x54abe0(0x3,_0x3ad0ce[_0x754d11(0x1f6)])],_0x429a18),_0x415d22[_0x754d11(0x17d)]=_0x2d94b4,_0x415d22[_0x754d11(0x1f0)]=_0x13f145,_0x415d22[_0x754d11(0x1e3)]='',_0x415d22[_0x754d11(0x179)]=_0x959d06,_0x415d22['DOC_FORMULA_SCHEMA_VERSION']=0x1,Object[_0x754d11(0x11f)](_0x415d22,_0x754d11(0x105),{'enumerable':!0x0,'get':function(){return _0x4ec3b4;}}),Object[_0x754d11(0x11f)](_0x415d22,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x841e44;}}),_0x415d22[_0x754d11(0x112)]=_0x46f2a0,Object[_0x754d11(0x11f)](_0x415d22,_0x754d11(0x1fa),{'enumerable':!0x0,'get':function(){return _0x573977;}}),_0x415d22[_0x754d11(0x1a7)]=_0x26d030,Object['defineProperty'](_0x415d22,'DocFormulaService',{'enumerable':!0x0,'get':function(){return _0x20a44b;}}),_0x415d22['InsertDocFormulaCommand']=_0x28c79d,_0x415d22['InvalidDocFormulaInsertRangeError']=_0x471f6f,_0x415d22[_0x754d11(0x233)]=_0x4dc2c7,_0x415d22[_0x754d11(0x21f)]=_0x27e5d8,_0x415d22[_0x754d11(0x1be)]=_0x550e48,_0x415d22[_0x754d11(0xf7)]=_0x3618d4,_0x415d22[_0x754d11(0x136)]=_0x4ce42c,_0x415d22[_0x754d11(0x169)]=_0x1dcb18,_0x415d22[_0x754d11(0x18f)]=_0x3db73a,Object[_0x754d11(0x11f)](_0x415d22,_0x754d11(0x106),{'enumerable':!0x0,'get':function(){return _0x429a18;}}),_0x415d22[_0x754d11(0x185)]=_0x4b3299,_0x415d22[_0x754d11(0x166)]=_0x216280,_0x415d22['buildInsertDocFormulaActions']=_0x2a913d,_0x415d22[_0x754d11(0x1bd)]=_0x2dc10f,_0x415d22['buildUpdateDocFormulaActions']=_0x40505e,_0x415d22[_0x754d11(0x1cd)]=_0x2dd373,_0x415d22[_0x754d11(0x113)]=_0xca32cb,_0x415d22[_0x754d11(0x13b)]=_0x4001d5,_0x415d22[_0x754d11(0x1cf)]=_0x14ba05,_0x415d22['isDocFormulaRange']=_0x2ea921,_0x415d22[_0x754d11(0xf5)]=_0x1b1cdf,_0x415d22['isFormulaLastValue']=_0x590ba7;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-formula",
3
- "version": "1.0.0-rc.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "description": "Inline data formula model integration for Univer Docs.",
6
6
  "author": "DreamNum Co., Ltd. <developer@univer.ai>",
@@ -61,18 +61,18 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/engine-formula": "1.0.0-rc.0",
65
- "@univerjs-pro/license": "1.0.0-rc.0",
66
- "@univerjs/core": "1.0.0-rc.0",
67
- "@univerjs/docs": "1.0.0-rc.0",
68
- "@univerjs/engine-formula": "1.0.0-rc.0"
64
+ "@univerjs-pro/engine-formula": "1.0.1",
65
+ "@univerjs-pro/license": "1.0.1",
66
+ "@univerjs/core": "1.0.1",
67
+ "@univerjs/docs": "1.0.1",
68
+ "@univerjs/engine-formula": "1.0.1"
69
69
  },
70
70
  "devDependencies": {
71
- "@univerjs-infra/shared": "1.0.0-rc.0",
72
- "@univerjs/engine-render": "1.0.0-rc.0",
71
+ "@univerjs-infra/shared": "1.0.1",
72
+ "@univerjs/engine-render": "1.0.1",
73
73
  "rxjs": "7.8.2",
74
74
  "typescript": "^6.0.3",
75
- "vitest": "^4.1.11"
75
+ "vitest": "^5.0.0"
76
76
  },
77
77
  "scripts": {
78
78
  "test": "vitest run",