@univerjs-pro/docs-formula 1.0.2 → 1.0.4

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 _0x371c(_0x1bb790,_0x484b10){_0x1bb790=_0x1bb790-0x14f;const _0x4f32e1=_0x4f32();let _0x371cfb=_0x4f32e1[_0x1bb790];return _0x371cfb;}(function(_0x451183,_0x4bb4dc){const _0x4b0316=_0x371c,_0x112bbf=_0x451183();while(!![]){try{const _0x13419b=parseInt(_0x4b0316(0x27c))/0x1*(parseInt(_0x4b0316(0x1f2))/0x2)+parseInt(_0x4b0316(0x227))/0x3*(-parseInt(_0x4b0316(0x251))/0x4)+parseInt(_0x4b0316(0x1d2))/0x5+parseInt(_0x4b0316(0x1f6))/0x6+-parseInt(_0x4b0316(0x200))/0x7*(parseInt(_0x4b0316(0x1b4))/0x8)+parseInt(_0x4b0316(0x234))/0x9+-parseInt(_0x4b0316(0x247))/0xa;if(_0x13419b===_0x4bb4dc)break;else _0x112bbf['push'](_0x112bbf['shift']());}catch(_0x1ae892){_0x112bbf['push'](_0x112bbf['shift']());}}}(_0x4f32,0x1dd00),function(_0x3c4a63,_0x27e23){const _0x1a44dd=_0x371c;typeof exports==_0x1a44dd(0x1a5)&&typeof module<'u'?_0x27e23(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x1a44dd(0x1f1)&&define['amd']?define([_0x1a44dd(0x26b),_0x1a44dd(0x28d),_0x1a44dd(0x1f0),_0x1a44dd(0x1ca),_0x1a44dd(0x182),'rxjs','@univerjs-pro/license'],_0x27e23):(_0x3c4a63=typeof globalThis<'u'?globalThis:_0x3c4a63||self,_0x27e23(_0x3c4a63[_0x1a44dd(0x1e5)]={},_0x3c4a63[_0x1a44dd(0x23d)],_0x3c4a63[_0x1a44dd(0x25c)],_0x3c4a63[_0x1a44dd(0x1bb)],_0x3c4a63[_0x1a44dd(0x1cc)],_0x3c4a63[_0x1a44dd(0x24e)],_0x3c4a63['UniverProLicense']));}(this,function(_0x1dc156,_0x4e3069,_0x4bed3b,_0x4e7dc9,_0x2b808c,_0x593723,_0x26a251){const _0x57f770=_0x371c;Object[_0x57f770(0x1b9)](_0x1dc156,Symbol['toStringTag'],{'value':'Module'});let _0xd27543=_0x57f770(0x162),_0xc6a381='univer-docs-formula';function _0x5e4c14(){return{'schemaVersion':0x1,'formulas':{}};}function _0x2c51c9(_0x24ec81){const _0x7bf154=_0x57f770;return!_0x24ec81||typeof _0x24ec81!=_0x7bf154(0x1a5)||!_0x52c67f(_0x24ec81,[_0x7bf154(0x16a),_0x7bf154(0x20f)])||!(_0x7bf154(0x16a)in _0x24ec81)||_0x24ec81[_0x7bf154(0x16a)]!==0x1||!('formulas'in _0x24ec81)||!_0x24ec81[_0x7bf154(0x20f)]||typeof _0x24ec81['formulas']!='object'||Array['isArray'](_0x24ec81[_0x7bf154(0x20f)])?!0x1:Object[_0x7bf154(0x22b)](_0x24ec81[_0x7bf154(0x20f)])['every'](([_0x47123c,_0x474d60])=>_0x47123c[_0x7bf154(0x23b)]>0x0&&_0x36e466(_0x474d60));}function _0x36e466(_0x4016a8){const _0x316be4=_0x57f770;return!_0x4016a8||typeof _0x4016a8!=_0x316be4(0x1a5)||!_0x52c67f(_0x4016a8,[_0x316be4(0x1b8),_0x316be4(0x177),_0x316be4(0x246)])||!(_0x316be4(0x1b8)in _0x4016a8)||typeof _0x4016a8[_0x316be4(0x1b8)]!='string'||!_0x4016a8[_0x316be4(0x1b8)][_0x316be4(0x210)]()||_0x316be4(0x177)in _0x4016a8&&_0x4016a8[_0x316be4(0x177)]!=null&&(typeof _0x4016a8[_0x316be4(0x177)]!=_0x316be4(0x1a5)||!_0x52c67f(_0x4016a8[_0x316be4(0x177)],[_0x316be4(0x28c)])||!(_0x316be4(0x28c)in _0x4016a8[_0x316be4(0x177)])||typeof _0x4016a8[_0x316be4(0x177)][_0x316be4(0x28c)]!='string')?!0x1:!(_0x316be4(0x246)in _0x4016a8)||_0x4016a8['lastValue']==null||_0x5b24ff(_0x4016a8[_0x316be4(0x246)]);}function _0x5b24ff(_0x1b6282){const _0x33ddb7=_0x57f770;return!_0x1b6282||typeof _0x1b6282!=_0x33ddb7(0x1a5)||!_0x52c67f(_0x1b6282,['v','t','pattern'])||!('v'in _0x1b6282)||_0x1b6282['v']!==null&&typeof _0x1b6282['v']!='string'&&typeof _0x1b6282['v']!='number'&&typeof _0x1b6282['v']!=_0x33ddb7(0x273)||'t'in _0x1b6282&&_0x1b6282['t']!=null&&!_0x2af51d(_0x1b6282['t'])?!0x1:!('pattern'in _0x1b6282)||_0x1b6282[_0x33ddb7(0x28c)]==null||typeof _0x1b6282[_0x33ddb7(0x28c)]=='string';}function _0x52c67f(_0x4f59a0,_0x478ea1){const _0x325f3e=_0x57f770;let _0x2a020c=new Set(_0x478ea1);return Object[_0x325f3e(0x283)](_0x4f59a0)['every'](_0x47c4a1=>_0x2a020c[_0x325f3e(0x221)](_0x47c4a1));}function _0x2af51d(_0x51295d){const _0x4a90e4=_0x57f770;return typeof _0x51295d==_0x4a90e4(0x1cf)&&Object['values'](_0x4bed3b[_0x4a90e4(0x269)])['includes'](_0x51295d);}let _0x41be3e=new Set([_0x4bed3b['DataStreamTreeTokenType']['SECTION_BREAK'],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x266)],_0x4bed3b[_0x57f770(0x21a)]['TABLE_ROW_START'],_0x4bed3b[_0x57f770(0x21a)]['TABLE_CELL_START'],_0x4bed3b[_0x57f770(0x21a)]['TABLE_CELL_END'],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x18b)],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x213)],_0x4bed3b['DataStreamTreeTokenType'][_0x57f770(0x158)],_0x4bed3b[_0x57f770(0x21a)]['COLUMN_START'],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x24d)],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x241)],_0x4bed3b[_0x57f770(0x21a)][_0x57f770(0x1d7)],_0x4bed3b[_0x57f770(0x21a)]['BLOCK_END'],_0x4bed3b['DataStreamTreeTokenType'][_0x57f770(0x26d)]]);var _0x4b9dca=class extends Error{constructor(){const _0x481a25=_0x57f770;super(_0x481a25(0x222));}};function _0x2e6ab7(_0x223825){const _0x310cd9=_0x57f770;var _0x3cd856,_0xd9f568;let _0x975012=_0x4bed3b[_0x310cd9(0x252)][_0x310cd9(0x196)](_0x223825['documentData']),_0x2fc1dc=_0x5e2027(_0x975012),{startOffset:_0x4aa48a,endOffset:_0x332eaa}=_0x16c630(_0x2fc1dc,_0x223825[_0x310cd9(0x1ef)],_0x223825['endOffset']);_0x36c271(_0x2fc1dc,_0x4aa48a,_0x332eaa);let _0x31306f=((_0x3cd856=_0x2fc1dc[_0x310cd9(0x15e)])==null?void 0x0:_0x3cd856[_0x310cd9(0x25d)](_0x550fe4=>{const _0x3628de=_0x310cd9;if(!_0x3f3a71(_0x550fe4))return!0x1;let _0x21be4b=(0x0,_0x4bed3b['getCustomRangeInterval'])(_0x550fe4);return _0x21be4b[_0x3628de(0x199)]>_0x4aa48a&&_0x21be4b[_0x3628de(0x1ef)]<_0x332eaa;})['map'](_0x1aff0c=>_0x1aff0c[_0x310cd9(0x24b)]))??[];_0x337991(_0x2fc1dc,_0x4aa48a,_0x332eaa,''),_0x2fc1dc['customRanges']=[...((_0xd9f568=_0x2fc1dc[_0x310cd9(0x15e)])==null?void 0x0:_0xd9f568[_0x310cd9(0x25d)](_0x1a6a3e=>!_0x31306f[_0x310cd9(0x235)](_0x1a6a3e[_0x310cd9(0x24b)])&&_0x1a6a3e[_0x310cd9(0x24b)]!==_0x223825[_0x310cd9(0x24b)]))??[],_0x318d5a(_0x223825[_0x310cd9(0x24b)],_0x4aa48a)][_0x310cd9(0x287)]((_0x43a5d8,_0xa4e84)=>_0x43a5d8[_0x310cd9(0x268)]-_0xa4e84[_0x310cd9(0x268)]);let _0x240bd9=_0x58dfbf(_0x223825[_0x310cd9(0x1c1)]);return _0x31306f[_0x310cd9(0x1e1)](_0x137a6f=>{const _0x23347c=_0x310cd9;delete _0x240bd9[_0x23347c(0x20f)][_0x137a6f];}),_0x240bd9[_0x310cd9(0x20f)][_0x223825[_0x310cd9(0x24b)]]=_0x4bed3b[_0x310cd9(0x252)][_0x310cd9(0x196)](_0x223825['config']),{'nextDocumentData':_0x975012,'nextResource':_0x240bd9,'cursorOffset':_0x4aa48a+0x1};}function _0x496d24(_0x5e0470){const _0x1fee35=_0x57f770;var _0x56c0a1,_0x599266;let _0x2642b7=_0x4bed3b['Tools'][_0x1fee35(0x196)](_0x5e0470['documentData']),_0x39746c=(_0x56c0a1=_0x5e2027(_0x2642b7)[_0x1fee35(0x15e)])==null?void 0x0:_0x56c0a1[_0x1fee35(0x174)](_0x43c3a6=>_0x43c3a6[_0x1fee35(0x24b)]===_0x5e0470['rangeId']&&_0x3f3a71(_0x43c3a6));if(!_0x39746c||!((_0x599266=_0x5e0470['resource'])!=null&&_0x599266[_0x1fee35(0x20f)][_0x5e0470[_0x1fee35(0x24b)]]))return null;let _0x406175=_0x58dfbf(_0x5e0470['resource']);return _0x406175[_0x1fee35(0x20f)][_0x5e0470[_0x1fee35(0x24b)]]=_0x4bed3b[_0x1fee35(0x252)][_0x1fee35(0x196)](_0x5e0470[_0x1fee35(0x1c4)]),{'nextDocumentData':_0x2642b7,'nextResource':_0x406175,'cursorOffset':_0x39746c[_0x1fee35(0x23a)]+0x1};}function _0x562d2a(_0x561b24){const _0x3de149=_0x57f770;let _0x5a216d=_0x4bed3b[_0x3de149(0x252)]['deepClone'](_0x561b24[_0x3de149(0x185)]),_0x19502a=_0x587bcd(_0x5a216d,_0x561b24['rangeId'],_0x561b24[_0x3de149(0x159)]??'');if(_0x19502a==null)return null;let _0xeed849=_0x58dfbf(_0x561b24[_0x3de149(0x1c1)]);return delete _0xeed849['formulas'][_0x561b24[_0x3de149(0x24b)]],{'nextDocumentData':_0x5a216d,'nextResource':_0xeed849,'cursorOffset':_0x19502a};}function _0x12f0e6(_0x228a05,_0x5adbf7){const _0x55e7d7=_0x57f770;var _0x2f989a;let _0x296cf0=_0x4bed3b[_0x55e7d7(0x252)][_0x55e7d7(0x196)](_0x228a05),_0x307a6d=_0x296cf0['body'];if(!_0x307a6d)return _0x296cf0;let _0x32c7a5=new Map(_0x5adbf7[_0x55e7d7(0x261)](_0x471f3d=>[_0x471f3d[_0x55e7d7(0x24b)],_0x471f3d['text']])),_0x4f6b64=((_0x2f989a=_0x307a6d['customRanges'])==null?void 0x0:_0x2f989a[_0x55e7d7(0x25d)](_0xf52643=>_0x3f3a71(_0xf52643)&&_0x32c7a5[_0x55e7d7(0x221)](_0xf52643['rangeId']))[_0x55e7d7(0x287)]((_0x315137,_0x1077e3)=>_0x1077e3['startIndex']-_0x315137[_0x55e7d7(0x268)]))??[];for(let _0x22a305 of _0x4f6b64)_0x587bcd(_0x296cf0,_0x22a305['rangeId'],_0x32c7a5['get'](_0x22a305[_0x55e7d7(0x24b)])??'');return _0x296cf0;}function _0x3f3a71(_0x5d3b4b){const _0x56e9bb=_0x57f770;var _0x1a16ed;return(_0x5d3b4b==null?void 0x0:_0x5d3b4b[_0x56e9bb(0x1da)])===_0x4bed3b[_0x56e9bb(0x21c)][_0x56e9bb(0x280)]&&_0x5d3b4b[_0x56e9bb(0x20c)]===!0x0&&((_0x1a16ed=_0x5d3b4b[_0x56e9bb(0x1be)])==null?void 0x0:_0x1a16ed['kind'])===_0x56e9bb(0x163);}function _0x339a9d(_0xfede1a,_0x575493){const _0x5e0b6c=_0x57f770;var _0x28fb97;return _0xfede1a==null||(_0x28fb97=_0xfede1a['customRanges'])==null?void 0x0:_0x28fb97[_0x5e0b6c(0x174)](_0x267a8b=>_0x267a8b[_0x5e0b6c(0x24b)]===_0x575493&&_0x3f3a71(_0x267a8b));}function _0x36c271(_0x94d7a6,_0x163c8d,_0x279a0b){const _0x4b10d6=_0x57f770;if(_0x163c8d===_0x279a0b){if(_0x41be3e[_0x4b10d6(0x221)](_0x94d7a6[_0x4b10d6(0x25f)][_0x163c8d]))throw new _0x4b9dca();return;}for(let _0x567fcb=_0x163c8d;_0x567fcb<_0x279a0b;_0x567fcb++)if(_0x94d7a6[_0x4b10d6(0x25f)][_0x567fcb]===_0x4bed3b[_0x4b10d6(0x21a)][_0x4b10d6(0x23e)]||_0x41be3e[_0x4b10d6(0x221)](_0x94d7a6[_0x4b10d6(0x25f)][_0x567fcb]))throw new _0x4b9dca();}function _0x318d5a(_0x2fc422,_0x4dc72c){const _0x130b1e=_0x57f770;return{'startIndex':_0x4dc72c,'endIndex':_0x4dc72c,'rangeId':_0x2fc422,'rangeType':_0x4bed3b[_0x130b1e(0x21c)][_0x130b1e(0x280)],'wholeEntity':!0x0,'properties':{'kind':_0xc6a381}};}function _0x58dfbf(_0x5723f8){const _0x5d6ae8=_0x57f770;return _0x5723f8?_0x4bed3b['Tools'][_0x5d6ae8(0x196)](_0x5723f8):_0x5e4c14();}function _0x16c630(_0x25aa4a,_0x3ec1eb,_0x32c962){const _0x2dffcc=_0x57f770;let _0x32b789=_0x17029c(_0x25aa4a),_0x3c3cc3=_0x3ec1eb??_0x32b789,_0x3d1b2f=_0x32c962??_0x3c3cc3;return{'startOffset':_0x1566e6(Math[_0x2dffcc(0x254)](_0x3c3cc3,_0x3d1b2f),_0x32b789),'endOffset':_0x1566e6(Math['max'](_0x3c3cc3,_0x3d1b2f),_0x32b789)};}function _0x1566e6(_0x545456,_0x15fa37){const _0x2c95c1=_0x57f770;return Math[_0x2c95c1(0x219)](0x0,Math[_0x2c95c1(0x254)](_0x545456,_0x15fa37));}function _0x17029c(_0x57d9aa){const _0x4d457e=_0x57f770;return _0x57d9aa[_0x4d457e(0x25f)]['endsWith'](''+_0x4bed3b[_0x4d457e(0x21a)][_0x4d457e(0x23e)]+_0x4bed3b['DataStreamTreeTokenType'][_0x4d457e(0x197)])?Math[_0x4d457e(0x219)](0x0,_0x57d9aa[_0x4d457e(0x25f)][_0x4d457e(0x23b)]-0x2):_0x57d9aa[_0x4d457e(0x25f)]['endsWith'](_0x4bed3b[_0x4d457e(0x21a)][_0x4d457e(0x197)])?Math['max'](0x0,_0x57d9aa[_0x4d457e(0x25f)]['length']-0x1):_0x57d9aa[_0x4d457e(0x25f)]['length'];}function _0x337991(_0x4954a3,_0x41717b,_0x4c5943,_0x25f708){_0x4c5943>_0x41717b&&_0x2182db(_0x4954a3,_0x41717b,_0x4c5943),_0x550248(_0x4954a3,_0x41717b,_0x25f708);}function _0x587bcd(_0x874bce,_0x1d9070,_0x126def){const _0x2813bc=_0x57f770;var _0x827c7,_0x27b3e2;let _0xb73718=_0x5e2027(_0x874bce),_0x4c353f=(_0x827c7=_0xb73718[_0x2813bc(0x15e)])==null?void 0x0:_0x827c7[_0x2813bc(0x174)](_0x421071=>_0x421071['rangeId']===_0x1d9070&&_0x3f3a71(_0x421071));if(!_0x4c353f)return null;let _0x3aed51=(0x0,_0x4bed3b[_0x2813bc(0x21b)])(_0x4c353f);return _0x337991(_0xb73718,_0x3aed51['startOffset'],_0x3aed51[_0x2813bc(0x199)],_0x126def),_0xb73718[_0x2813bc(0x15e)]=(_0x27b3e2=_0xb73718[_0x2813bc(0x15e)])==null?void 0x0:_0x27b3e2['filter'](_0xdd67fc=>_0xdd67fc[_0x2813bc(0x24b)]!==_0x1d9070),_0x3aed51['startOffset']+_0x126def[_0x2813bc(0x23b)];}function _0x550248(_0x4cf388,_0x49e951,_0x15b341){const _0x5aa104=_0x57f770;_0x15b341&&(_0x4cf388[_0x5aa104(0x25f)]=''+_0x4cf388[_0x5aa104(0x25f)][_0x5aa104(0x25b)](0x0,_0x49e951)+_0x15b341+_0x4cf388[_0x5aa104(0x25f)][_0x5aa104(0x25b)](_0x49e951),_0x29e20a(_0x4cf388,_0x49e951,_0x15b341[_0x5aa104(0x23b)]));}function _0x2182db(_0x4043b5,_0xace62f,_0x3f5532){const _0x3cce05=_0x57f770;let _0x1621f7=_0x3f5532-_0xace62f;_0x4043b5[_0x3cce05(0x25f)]=''+_0x4043b5[_0x3cce05(0x25f)]['slice'](0x0,_0xace62f)+_0x4043b5[_0x3cce05(0x25f)][_0x3cce05(0x25b)](_0x3f5532),_0x433c39(_0x4043b5,_0xace62f,_0x1621f7);}function _0x29e20a(_0x5698ac,_0x36ace0,_0x3552ac){const _0x6885f0=_0x57f770;_0x5698ac[_0x6885f0(0x21f)]=_0x4c9873(_0x5698ac['paragraphs'],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x228)]=_0x4c9873(_0x5698ac[_0x6885f0(0x228)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x167)]=_0x4c9873(_0x5698ac[_0x6885f0(0x167)],_0x36ace0,_0x3552ac),_0x5698ac['textRuns']=_0x4b8c8f(_0x5698ac[_0x6885f0(0x178)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x26c)]=_0x1c6f46(_0x5698ac[_0x6885f0(0x26c)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x1aa)]=_0xf87d3d(_0x5698ac['columnGroups'],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x15e)]=_0xf87d3d(_0x5698ac[_0x6885f0(0x15e)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x1fa)]=_0xf87d3d(_0x5698ac[_0x6885f0(0x1fa)],_0x36ace0,_0x3552ac),_0x5698ac[_0x6885f0(0x192)]=_0xf87d3d(_0x5698ac[_0x6885f0(0x192)],_0x36ace0,_0x3552ac);}function _0x433c39(_0x5cb2c2,_0x28c6d1,_0x184571){const _0x5bdcbf=_0x57f770;var _0x3f3ec9,_0x18617d;_0x5cb2c2['paragraphs']=_0x167d18(_0x5cb2c2['paragraphs'],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x228)]=_0x167d18(_0x5cb2c2[_0x5bdcbf(0x228)],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x167)]=_0x167d18(_0x5cb2c2[_0x5bdcbf(0x167)],_0x28c6d1,_0x184571),_0x5cb2c2['textRuns']=(_0x3f3ec9=_0x5bcf60((_0x18617d=_0x5cb2c2[_0x5bdcbf(0x178)])==null?void 0x0:_0x18617d['map'](_0x31b2ab=>({..._0x31b2ab,'startIndex':_0x31b2ab['st'],'endIndex':_0x31b2ab['ed']})),_0x28c6d1,_0x184571))==null?void 0x0:_0x3f3ec9[_0x5bdcbf(0x261)](_0x49a4d0=>{let {startIndex:_0x18e82e,endIndex:_0x519ae5,..._0x1c877e}=_0x49a4d0;return{..._0x1c877e,'st':_0x18e82e,'ed':_0x519ae5};}),_0x5cb2c2['tables']=_0x5bcf60(_0x5cb2c2[_0x5bdcbf(0x26c)],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x1aa)]=_0x4076a7(_0x5cb2c2[_0x5bdcbf(0x1aa)],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x15e)]=_0x4076a7(_0x5cb2c2[_0x5bdcbf(0x15e)],_0x28c6d1,_0x184571),_0x5cb2c2[_0x5bdcbf(0x1fa)]=_0x4076a7(_0x5cb2c2[_0x5bdcbf(0x1fa)],_0x28c6d1,_0x184571),_0x5cb2c2['blockRanges']=_0x4076a7(_0x5cb2c2[_0x5bdcbf(0x192)],_0x28c6d1,_0x184571);}function _0x4c9873(_0x136574,_0x2c7427,_0x2bf3e4){const _0x3712f1=_0x57f770;return _0x136574==null?void 0x0:_0x136574[_0x3712f1(0x261)](_0x199f6b=>_0x199f6b[_0x3712f1(0x268)]>=_0x2c7427?{..._0x199f6b,'startIndex':_0x199f6b[_0x3712f1(0x268)]+_0x2bf3e4}:_0x199f6b);}function _0x167d18(_0x43466f,_0x426f34,_0x49ed91){const _0x499eae=_0x57f770;let _0x140838=_0x426f34+_0x49ed91;return _0x43466f==null?void 0x0:_0x43466f[_0x499eae(0x261)](_0x522015=>_0x522015['startIndex']>=_0x426f34&&_0x522015['startIndex']<_0x140838?null:_0x522015[_0x499eae(0x268)]>=_0x140838?{..._0x522015,'startIndex':_0x522015[_0x499eae(0x268)]-_0x49ed91}:_0x522015)[_0x499eae(0x25d)](_0x112e66=>_0x112e66!=null);}function _0x4b8c8f(_0x3be01f,_0x290bbd,_0xe91446){return _0x3be01f==null?void 0x0:_0x3be01f['map'](_0x9d297d=>_0x9d297d['st']>=_0x290bbd?{..._0x9d297d,'st':_0x9d297d['st']+_0xe91446,'ed':_0x9d297d['ed']+_0xe91446}:_0x9d297d['ed']>_0x290bbd?{..._0x9d297d,'ed':_0x9d297d['ed']+_0xe91446}:_0x9d297d);}function _0xf87d3d(_0x56ae94,_0xfc0d3d,_0x550c1b){const _0x5c4b92=_0x57f770;return _0x56ae94==null?void 0x0:_0x56ae94[_0x5c4b92(0x261)](_0x228a9c=>(0x0,_0x4bed3b[_0x5c4b92(0x264)])(_0x228a9c,_0xfc0d3d,_0x550c1b));}function _0x1c6f46(_0x1b9330,_0x17c331,_0x14a90b){const _0x386b40=_0x57f770;return _0x1b9330==null?void 0x0:_0x1b9330['map'](_0x54e324=>(0x0,_0x4bed3b[_0x386b40(0x1a6)])(_0x54e324,_0x17c331,_0x14a90b));}function _0x4076a7(_0x22c128,_0x2e9053,_0x533e52){const _0x3aad79=_0x57f770;return _0x22c128==null?void 0x0:_0x22c128[_0x3aad79(0x261)](_0x12ad83=>(0x0,_0x4bed3b['shiftInclusiveRangeOnDelete'])(_0x12ad83,_0x2e9053,_0x533e52))[_0x3aad79(0x25d)](_0x5b06a9=>_0x5b06a9!=null);}function _0x5bcf60(_0x149cda,_0xd632c4,_0x149986){const _0x32ada7=_0x57f770;return _0x149cda==null?void 0x0:_0x149cda[_0x32ada7(0x261)](_0x258e46=>(0x0,_0x4bed3b[_0x32ada7(0x1ec)])(_0x258e46,_0xd632c4,_0x149986))[_0x32ada7(0x25d)](_0x29a692=>_0x29a692!=null);}function _0x5e2027(_0x4c9bc2){const _0x361949=_0x57f770;if(!_0x4c9bc2[_0x361949(0x1b0)])throw Error(_0x361949(0x16c));return _0x4c9bc2[_0x361949(0x1b0)];}function _0x29afda(_0xeceded){'@babel/helpers - typeof';const _0x34dafe=_0x57f770;return _0x29afda=typeof Symbol==_0x34dafe(0x1f1)&&typeof Symbol[_0x34dafe(0x169)]==_0x34dafe(0x17c)?function(_0x14489f){return typeof _0x14489f;}:function(_0x12a133){const _0x140878=_0x34dafe;return _0x12a133&&typeof Symbol==_0x140878(0x1f1)&&_0x12a133['constructor']===Symbol&&_0x12a133!==Symbol['prototype']?_0x140878(0x17c):typeof _0x12a133;},_0x29afda(_0xeceded);}function _0x21e00f(_0x561a03,_0x41e2cc){const _0x3aaf34=_0x57f770;if(_0x29afda(_0x561a03)!=_0x3aaf34(0x1a5)||!_0x561a03)return _0x561a03;var _0x5d7a13=_0x561a03[Symbol[_0x3aaf34(0x1e0)]];if(_0x5d7a13!==void 0x0){var _0x4418b4=_0x5d7a13[_0x3aaf34(0x208)](_0x561a03,_0x41e2cc||'default');if(_0x29afda(_0x4418b4)!='object')return _0x4418b4;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x41e2cc===_0x3aaf34(0x262)?String:Number)(_0x561a03);}function _0x276234(_0x481580){const _0x131f57=_0x57f770;var _0x43ad6a=_0x21e00f(_0x481580,_0x131f57(0x262));return _0x29afda(_0x43ad6a)=='symbol'?_0x43ad6a:_0x43ad6a+'';}function _0x2c07ac(_0x17c19f,_0x23fb7b,_0x3d56f0){const _0x3f6e62=_0x57f770;return(_0x23fb7b=_0x276234(_0x23fb7b))in _0x17c19f?Object[_0x3f6e62(0x1b9)](_0x17c19f,_0x23fb7b,{'value':_0x3d56f0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x17c19f[_0x23fb7b]=_0x3d56f0,_0x17c19f;}var _0x419434=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(..._0x5b046d){const _0x5ab423=_0x57f770;super(..._0x5b046d),_0x2c07ac(this,_0x5ab423(0x1c2),new Map()),_0x2c07ac(this,'_rawResources',new Map()),_0x2c07ac(this,_0x5ab423(0x1b3),new Map()),_0x2c07ac(this,_0x5ab423(0x14f),new _0x593723[(_0x5ab423(0x17d))]()),_0x2c07ac(this,_0x5ab423(0x153),this[_0x5ab423(0x14f)]['asObservable']());}['getFormula'](_0x34bacf,_0xa72eb8){const _0x96e233=_0x57f770;var _0x4b1c10;let _0x46baac=(_0x4b1c10=this['_resources'][_0x96e233(0x1ff)](_0x34bacf))==null?void 0x0:_0x4b1c10['formulas'][_0xa72eb8];return _0x46baac?_0x4bed3b['Tools'][_0x96e233(0x196)](_0x46baac):void 0x0;}[_0x57f770(0x21e)](_0x4bcbdf){const _0x58667d=_0x57f770;var _0x231608;return _0x4bed3b[_0x58667d(0x252)][_0x58667d(0x196)](((_0x231608=this[_0x58667d(0x1c2)][_0x58667d(0x1ff)](_0x4bcbdf))==null?void 0x0:_0x231608['formulas'])??{});}[_0x57f770(0x1c5)](_0x421ae5){const _0xe6ba1f=_0x57f770;let _0x14641d=this['_resources'][_0xe6ba1f(0x1ff)](_0x421ae5);return _0x14641d?_0x4bed3b[_0xe6ba1f(0x252)][_0xe6ba1f(0x196)](_0x14641d):void 0x0;}[_0x57f770(0x1a1)](_0x42ea8f,_0x18c592,_0x26d4a6){const _0x395c88=_0x57f770;return this[_0x395c88(0x285)](_0x42ea8f,{[_0x18c592]:_0x26d4a6});}['setResource'](_0x3c8a12,_0x47cea2){const _0x41f2b4=_0x57f770;return this[_0x41f2b4(0x1b3)][_0x41f2b4(0x221)](_0x3c8a12)||!_0x2c51c9(_0x47cea2)?!0x1:(this[_0x41f2b4(0x1c2)]['set'](_0x3c8a12,_0x4bed3b['Tools'][_0x41f2b4(0x196)](_0x47cea2)),this[_0x41f2b4(0x14f)][_0x41f2b4(0x240)]({'unitId':_0x3c8a12}),!0x0);}[_0x57f770(0x285)](_0x13d333,_0x5aad2a){const _0x160e2b=_0x57f770;if(this[_0x160e2b(0x1b3)][_0x160e2b(0x221)](_0x13d333)||!Object['keys'](_0x5aad2a)[_0x160e2b(0x23b)]||!_0x2c51c9({'schemaVersion':0x1,'formulas':_0x5aad2a}))return!0x1;let _0x2031d9=this[_0x160e2b(0x1c2)][_0x160e2b(0x1ff)](_0x13d333)??_0x5e4c14(),_0x392f76=_0x4bed3b[_0x160e2b(0x252)][_0x160e2b(0x196)](_0x2031d9);return Object[_0x160e2b(0x1cd)](_0x392f76['formulas'],_0x4bed3b[_0x160e2b(0x252)][_0x160e2b(0x196)](_0x5aad2a)),this[_0x160e2b(0x1c2)][_0x160e2b(0x1e7)](_0x13d333,_0x392f76),this[_0x160e2b(0x14f)][_0x160e2b(0x240)]({'unitId':_0x13d333,'rangeIds':Object[_0x160e2b(0x283)](_0x5aad2a)}),!0x0;}[_0x57f770(0x231)](_0x4923b0,_0xfd0545){const _0x303ff2=_0x57f770;if(this[_0x303ff2(0x1b3)]['has'](_0x4923b0))return!0x1;let _0x4e154a=this[_0x303ff2(0x1c2)]['get'](_0x4923b0);if(!(_0x4e154a!=null&&_0x4e154a[_0x303ff2(0x20f)][_0xfd0545]))return!0x1;let _0x4f68c5=_0x4bed3b[_0x303ff2(0x252)][_0x303ff2(0x196)](_0x4e154a);return delete _0x4f68c5['formulas'][_0xfd0545],this[_0x303ff2(0x1c2)][_0x303ff2(0x1e7)](_0x4923b0,_0x4f68c5),this['_change$'][_0x303ff2(0x240)]({'unitId':_0x4923b0,'rangeIds':[_0xfd0545]}),!0x0;}[_0x57f770(0x180)](_0x110211,_0x53cb96){const _0x4d6408=_0x57f770;return _0x53cb96&&typeof _0x53cb96==_0x4d6408(0x1a5)&&_0x4d6408(0x16a)in _0x53cb96&&_0x53cb96[_0x4d6408(0x16a)]!==0x1?(this['_preserveInvalid'](_0x110211,_0x53cb96,_0x4d6408(0x172)),!0x1):_0x2c51c9(_0x53cb96)?(this[_0x4d6408(0x1c2)][_0x4d6408(0x1e7)](_0x110211,_0x4bed3b[_0x4d6408(0x252)][_0x4d6408(0x196)](_0x53cb96)),this[_0x4d6408(0x1a3)]['delete'](_0x110211),this[_0x4d6408(0x1b3)]['delete'](_0x110211),this[_0x4d6408(0x14f)]['next']({'unitId':_0x110211}),!0x0):(this['_preserveInvalid'](_0x110211,_0x53cb96,_0x4d6408(0x188)),!0x1);}[_0x57f770(0x238)](_0x4fab97){const _0x340339=_0x57f770;let _0x651f8=this[_0x340339(0x1c2)]['get'](_0x4fab97);return _0x651f8?_0x4bed3b[_0x340339(0x252)][_0x340339(0x196)](_0x651f8):this['_rawResources'][_0x340339(0x221)](_0x4fab97)?_0x4bed3b[_0x340339(0x252)]['deepClone'](this[_0x340339(0x1a3)]['get'](_0x4fab97)):_0x5e4c14();}[_0x57f770(0x15f)](_0x451f7e){const _0x37e956=_0x57f770;return this[_0x37e956(0x1b3)][_0x37e956(0x1ff)](_0x451f7e);}[_0x57f770(0x232)](_0x7da657){const _0x14244d=_0x57f770;this[_0x14244d(0x1c2)]['delete'](_0x7da657),this[_0x14244d(0x1a3)][_0x14244d(0x215)](_0x7da657),this[_0x14244d(0x1b3)][_0x14244d(0x215)](_0x7da657),this[_0x14244d(0x14f)]['next']({'unitId':_0x7da657});}[_0x57f770(0x16b)](){const _0x48379e=_0x57f770;this[_0x48379e(0x1c2)]['clear'](),this[_0x48379e(0x1a3)][_0x48379e(0x1bf)](),this[_0x48379e(0x1b3)]['clear'](),this['_change$'][_0x48379e(0x165)](),super[_0x48379e(0x16b)]();}[_0x57f770(0x203)](_0x370e64,_0x7d2c1b,_0x59deec){const _0x46f5cb=_0x57f770;this['_resources'][_0x46f5cb(0x215)](_0x370e64),this[_0x46f5cb(0x1a3)][_0x46f5cb(0x1e7)](_0x370e64,_0x4bed3b[_0x46f5cb(0x252)][_0x46f5cb(0x196)](_0x7d2c1b)),this['_loadErrors'][_0x46f5cb(0x1e7)](_0x370e64,_0x59deec),this[_0x46f5cb(0x14f)]['next']({'unitId':_0x370e64});}};let _0x3e772c=function(_0x3a9f58){const _0x4dd31a=_0x57f770;return _0x3a9f58['EMPTY']=_0x4dd31a(0x17b),_0x3a9f58['PENDING']=_0x4dd31a(0x24f),_0x3a9f58[_0x4dd31a(0x1d9)]=_0x4dd31a(0x1e2),_0x3a9f58['ERROR']=_0x4dd31a(0x17f),_0x3a9f58;}({});function _0x52ecc4(_0x2011b2,_0x425335){return function(_0x451549,_0x2461e0){_0x425335(_0x451549,_0x2461e0,_0x2011b2);};}function _0x4d4426(_0x54f76a,_0x47952f,_0x7abbc7,_0x27a8b0){const _0x3f04b3=_0x57f770;var _0x1053ae=arguments[_0x3f04b3(0x23b)],_0x505722=_0x1053ae<0x3?_0x47952f:_0x27a8b0===null?_0x27a8b0=Object[_0x3f04b3(0x19c)](_0x47952f,_0x7abbc7):_0x27a8b0,_0xb5d806;if(typeof Reflect==_0x3f04b3(0x1a5)&&typeof Reflect[_0x3f04b3(0x1bd)]==_0x3f04b3(0x1f1))_0x505722=Reflect[_0x3f04b3(0x1bd)](_0x54f76a,_0x47952f,_0x7abbc7,_0x27a8b0);else{for(var _0x144050=_0x54f76a['length']-0x1;_0x144050>=0x0;_0x144050--)(_0xb5d806=_0x54f76a[_0x144050])&&(_0x505722=(_0x1053ae<0x3?_0xb5d806(_0x505722):_0x1053ae>0x3?_0xb5d806(_0x47952f,_0x7abbc7,_0x505722):_0xb5d806(_0x47952f,_0x7abbc7))||_0x505722);}return _0x1053ae>0x3&&_0x505722&&Object['defineProperty'](_0x47952f,_0x7abbc7,_0x505722),_0x505722;}let _0x51a5f5=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0x4bb5b7,_0x25cfe7,_0x3ab571){const _0x29c398=_0x57f770;super(),this[_0x29c398(0x211)]=_0x4bb5b7,this[_0x29c398(0x15a)]=_0x25cfe7,this[_0x29c398(0x1f8)]=_0x3ab571,_0x2c07ac(this,_0x29c398(0x19b),new Map()),_0x2c07ac(this,_0x29c398(0x270),new Map()),_0x2c07ac(this,_0x29c398(0x255),new _0x593723[(_0x29c398(0x17d))]()),_0x2c07ac(this,_0x29c398(0x1e4),this[_0x29c398(0x255)]['asObservable']()),this[_0x29c398(0x1c3)](this[_0x29c398(0x15a)][_0x29c398(0x1a0)][_0x29c398(0x243)](_0x367f42=>{const _0x1281ac=_0x29c398;for(let _0x4e597a of Object[_0x1281ac(0x1c9)](_0x367f42))for(let _0x4a6da1 of Object[_0x1281ac(0x1c9)](_0x4e597a))_0x4a6da1[_0x1281ac(0x1e1)](_0x110ecf=>this['_updateFormulaResult'](_0x110ecf));}));}[_0x57f770(0x179)](_0x5cce44){const _0x3ffb91=_0x57f770;var _0x4f94fc;let _0x58ff41=_0x5cce44['getUnitId'](),_0x432a52=((_0x4f94fc=_0x5cce44[_0x3ffb91(0x166)]()['body'])==null||(_0x4f94fc=_0x4f94fc['customRanges'])==null?void 0x0:_0x4f94fc[_0x3ffb91(0x25d)](_0x3f3a71))??[],_0x4af811=this[_0x3ffb91(0x211)][_0x3ffb91(0x21e)](_0x58ff41),_0x5ca630=new Set();for(let _0x81cd0f of _0x432a52){let _0x5dc309=_0x4af811[_0x81cd0f[_0x3ffb91(0x24b)]];_0x5dc309&&(_0x5ca630[_0x3ffb91(0x28b)](_0x43079d(_0x58ff41,_0x81cd0f[_0x3ffb91(0x24b)])),this[_0x3ffb91(0x217)]({'unitId':_0x58ff41,'rangeId':_0x81cd0f['rangeId']},_0x5dc309));}for(let _0x3e431d of Array[_0x3ffb91(0x1cb)](this[_0x3ffb91(0x19b)][_0x3ffb91(0x1c9)]()))_0x3e431d[_0x3ffb91(0x242)]===_0x58ff41&&!_0x5ca630[_0x3ffb91(0x221)](_0x43079d(_0x3e431d[_0x3ffb91(0x242)],_0x3e431d[_0x3ffb91(0x24b)]))&&this[_0x3ffb91(0x1df)](_0x3e431d);}[_0x57f770(0x217)](_0x4afe7e,_0x9c1cbd){const _0x2577df=_0x57f770;let _0x2f65d2=_0x43079d(_0x4afe7e[_0x2577df(0x242)],_0x4afe7e[_0x2577df(0x24b)]),_0x586bf2=this['_registrations'][_0x2577df(0x1ff)](_0x2f65d2),_0x1c2bc5=this[_0x2577df(0x1f8)][_0x2577df(0x18f)](_0x4afe7e[_0x2577df(0x242)]);if(_0x586bf2&&_0x586bf2[_0x2577df(0x1c4)]['formula']===_0x9c1cbd[_0x2577df(0x1b8)]&&_0x586bf2['referenceRevision']===_0x1c2bc5){_0x586bf2['config']=_0x9c1cbd;let _0x585261=_0x586bf2[_0x2577df(0x1f9)]?this[_0x2577df(0x15a)][_0x2577df(0x239)](_0x586bf2['unitId'],_0x586bf2['unitId'],_0x586bf2['formulaId'])??void 0x0:void 0x0;_0x586bf2[_0x2577df(0x1b5)]=_0x585261,this[_0x2577df(0x279)](_0x2f65d2,_0x9dc728(_0x9c1cbd,_0x585261));return;}_0x586bf2!=null&&_0x586bf2[_0x2577df(0x1f9)]&&this[_0x2577df(0x229)](_0x586bf2);let _0x3de715={..._0x4afe7e,'config':_0x9c1cbd,'referenceRevision':_0x1c2bc5,'presentation':_0x9dc728(_0x9c1cbd,void 0x0)};if(this['_registrations'][_0x2577df(0x1e7)](_0x2f65d2,_0x3de715),!_0x9c1cbd[_0x2577df(0x1b8)][_0x2577df(0x210)]())return;let _0x31a652=this[_0x2577df(0x15a)][_0x2577df(0x1de)](_0x4afe7e[_0x2577df(0x242)],_0x4afe7e[_0x2577df(0x242)],_0x9c1cbd[_0x2577df(0x1b8)],void 0x0,{'rangeId':_0x4afe7e[_0x2577df(0x24b)]},_0x2b808c['OtherFormulaBizType'][_0x2577df(0x19f)],_0x4afe7e[_0x2577df(0x24b)]);_0x3de715[_0x2577df(0x1f9)]=_0x31a652,this[_0x2577df(0x270)][_0x2577df(0x1e7)](_0x31a652,_0x2f65d2);}['unregister'](_0x26d0cf){const _0x4912f4=_0x57f770;let _0xaeb006=_0x43079d(_0x26d0cf[_0x4912f4(0x242)],_0x26d0cf[_0x4912f4(0x24b)]),_0xaf4444=this[_0x4912f4(0x19b)][_0x4912f4(0x1ff)](_0xaeb006);_0xaf4444&&(this['_deleteRegistration'](_0xaf4444),this['_registrations']['delete'](_0xaeb006));}[_0x57f770(0x22c)](_0x40e200){const _0x81f3b4=_0x57f770;for(let _0x3b8609 of Array[_0x81f3b4(0x1cb)](this['_registrations'][_0x81f3b4(0x1c9)]()))_0x3b8609[_0x81f3b4(0x242)]===_0x40e200&&this[_0x81f3b4(0x1df)](_0x3b8609);}[_0x57f770(0x23c)](_0x5990a8){const _0x59c466=_0x57f770;var _0x42bc64;return(_0x42bc64=this[_0x59c466(0x19b)][_0x59c466(0x1ff)](_0x43079d(_0x5990a8[_0x59c466(0x242)],_0x5990a8[_0x59c466(0x24b)])))==null?void 0x0:_0x42bc64['presentation'];}[_0x57f770(0x218)](_0x1d65ba){const _0x20dab1=_0x57f770;let _0x3802a9=this[_0x20dab1(0x19b)][_0x20dab1(0x1ff)](_0x43079d(_0x1d65ba['unitId'],_0x1d65ba['rangeId']));return _0x3802a9?_0x5a8e33(_0x3802a9):void 0x0;}[_0x57f770(0x259)](){const _0x4ddc9e=_0x57f770;return Array[_0x4ddc9e(0x1cb)](this[_0x4ddc9e(0x19b)]['values'](),_0x7c05d3=>({'identity':{'unitId':_0x7c05d3['unitId'],'rangeId':_0x7c05d3['rangeId']},'config':_0x7c05d3[_0x4ddc9e(0x1c4)],'referenceRevision':_0x7c05d3['referenceRevision'],..._0x7c05d3['liveResult']?{'liveResult':_0x7c05d3['liveResult']}:null}));}[_0x57f770(0x16b)](){const _0x1ca338=_0x57f770;for(let _0x17c78f of this[_0x1ca338(0x19b)][_0x1ca338(0x1c9)]())this[_0x1ca338(0x229)](_0x17c78f);this[_0x1ca338(0x19b)][_0x1ca338(0x1bf)](),this[_0x1ca338(0x270)]['clear'](),this[_0x1ca338(0x255)][_0x1ca338(0x165)](),super[_0x1ca338(0x16b)]();}['_updateFormulaResult'](_0x3c1bd1){const _0x3dcba6=_0x57f770;let _0x977ff8=this[_0x3dcba6(0x270)][_0x3dcba6(0x1ff)](_0x3c1bd1[_0x3dcba6(0x1f9)]),_0x4dc088=_0x977ff8?this[_0x3dcba6(0x19b)][_0x3dcba6(0x1ff)](_0x977ff8):void 0x0;_0x977ff8&&_0x4dc088&&(_0x4dc088[_0x3dcba6(0x1b5)]=_0x3c1bd1,this['_setPresentation'](_0x977ff8,_0x9dc728(_0x4dc088[_0x3dcba6(0x1c4)],_0x3c1bd1)));}[_0x57f770(0x279)](_0x4e0771,_0x302530){const _0x51a8e0=_0x57f770;var _0x15f7df,_0x4ad13f;let _0x72128a=this[_0x51a8e0(0x19b)][_0x51a8e0(0x1ff)](_0x4e0771);if(!_0x72128a||_0x30f295(_0x72128a[_0x51a8e0(0x263)],_0x302530))return;let _0x4654e6=_0x72128a[_0x51a8e0(0x263)],_0x3d8e55=_0x5a8e33(_0x72128a);_0x72128a[_0x51a8e0(0x263)]=_0x302530,this[_0x51a8e0(0x255)]['next']({'unitId':_0x72128a[_0x51a8e0(0x242)],'rangeId':_0x72128a[_0x51a8e0(0x24b)],'presentation':_0x302530,'previousPresentation':_0x4654e6,'result':_0x5a8e33(_0x72128a),'previousResult':{..._0x3d8e55,..._0x4654e6,'value':(_0x15f7df=_0x4654e6['cell'])==null?void 0x0:_0x15f7df['v'],'valueType':((_0x4ad13f=_0x4654e6[_0x51a8e0(0x184)])==null?void 0x0:_0x4ad13f['t'])??void 0x0}});}[_0x57f770(0x229)](_0x5004ed){const _0x359826=_0x57f770;_0x5004ed[_0x359826(0x1f9)]&&(this[_0x359826(0x15a)][_0x359826(0x22e)](_0x5004ed[_0x359826(0x242)],_0x5004ed['unitId'],[_0x5004ed[_0x359826(0x1f9)]]),this['_formulaKeys'][_0x359826(0x215)](_0x5004ed[_0x359826(0x1f9)]));}};_0x51a5f5=_0x4d4426([_0x52ecc4(0x0,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x419434)),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x2b808c['RegisterOtherFormulaService'])),_0x52ecc4(0x2,(0x0,_0x4bed3b['Inject'])(_0x4e3069[_0x57f770(0x206)]))],_0x51a5f5);function _0x43079d(_0xd6e3eb,_0x1e7ae5){return _0xd6e3eb+'\x00'+_0x1e7ae5;}function _0x9dc728(_0x3936f0,_0x1ca06d){const _0x34b32d=_0x57f770;return(0x0,_0x4e3069[_0x34b32d(0x1d3)])({'numberFormat':_0x3936f0[_0x34b32d(0x177)],'lastValue':_0x3936f0[_0x34b32d(0x246)],'result':_0x1ca06d});}function _0x5a8e33(_0x15f867){const _0xcca399=_0x57f770;var _0x2e0d47,_0xce94f2,_0x11732a;let _0x2b036c=_0x15f867[_0xcca399(0x263)],_0x8554c1=_0x15f867[_0xcca399(0x1c4)][_0xcca399(0x1b8)]['trim']()?_0x2b036c['stale']||_0x2b036c[_0xcca399(0x184)]==null?_0xcca399(0x24f):((_0x2e0d47=_0x15f867['liveResult'])==null?void 0x0:_0x2e0d47['status'])===_0x2b808c[_0xcca399(0x224)]['ERROR']?_0xcca399(0x17f):_0xcca399(0x1e2):'empty';return{..._0x2b036c,'status':_0x8554c1,'value':(_0xce94f2=_0x2b036c[_0xcca399(0x184)])==null?void 0x0:_0xce94f2['v'],'valueType':((_0x11732a=_0x2b036c['cell'])==null?void 0x0:_0x11732a['t'])??void 0x0};}function _0x30f295(_0x157397,_0x36b063){const _0x3190cc=_0x57f770;var _0x3da0cc,_0x1aa229,_0x3210f9,_0x272814;return _0x157397['text']===_0x36b063[_0x3190cc(0x159)]&&_0x157397['color']===_0x36b063[_0x3190cc(0x1af)]&&_0x157397[_0x3190cc(0x28c)]===_0x36b063[_0x3190cc(0x28c)]&&_0x157397[_0x3190cc(0x18c)]===_0x36b063['source']&&_0x157397['stale']===_0x36b063[_0x3190cc(0x272)]&&((_0x3da0cc=_0x157397[_0x3190cc(0x184)])==null?void 0x0:_0x3da0cc['t'])===((_0x1aa229=_0x36b063[_0x3190cc(0x184)])==null?void 0x0:_0x1aa229['t'])&&Object['is']((_0x3210f9=_0x157397[_0x3190cc(0x184)])==null?void 0x0:_0x3210f9['v'],(_0x272814=_0x36b063[_0x3190cc(0x184)])==null?void 0x0:_0x272814['v']);}let _0x465b96={'id':_0x57f770(0x156),'type':_0x4bed3b['CommandType'][_0x57f770(0x1d8)],'handler':(_0x532d75,_0x4b1cb5)=>!(_0x4b1cb5!=null&&_0x4b1cb5[_0x57f770(0x242)])||!_0x4b1cb5[_0x57f770(0x24b)]||!_0x4b1cb5['config']?!0x1:_0x532d75[_0x57f770(0x1ff)](_0x419434)[_0x57f770(0x1a1)](_0x4b1cb5[_0x57f770(0x242)],_0x4b1cb5['rangeId'],_0x4b1cb5[_0x57f770(0x1c4)])},_0x30c2aa={'id':_0x57f770(0x16d),'type':_0x4bed3b['CommandType'][_0x57f770(0x1d8)],'handler':(_0x2ec433,_0x318f4c)=>!(_0x318f4c!=null&&_0x318f4c[_0x57f770(0x242)])||!_0x318f4c['rangeId']?!0x1:_0x2ec433['get'](_0x419434)[_0x57f770(0x231)](_0x318f4c[_0x57f770(0x242)],_0x318f4c['rangeId'])},_0x1b5161={'id':'docs-formula.mutation.set-resource','type':_0x4bed3b[_0x57f770(0x1f3)]['MUTATION'],'handler':(_0x2d7e55,_0x1c0907)=>!(_0x1c0907!=null&&_0x1c0907['unitId'])||!_0x1c0907[_0x57f770(0x1c1)]?!0x1:_0x2d7e55[_0x57f770(0x1ff)](_0x419434)[_0x57f770(0x22f)](_0x1c0907[_0x57f770(0x242)],_0x1c0907[_0x57f770(0x1c1)])},_0x2d9019={'id':'docs-formula.mutation.set-last-values','type':_0x4bed3b[_0x57f770(0x1f3)]['MUTATION'],'handler':(_0x389bd7,_0x1e8494)=>{const _0x25074=_0x57f770;if(!(_0x1e8494!=null&&_0x1e8494[_0x25074(0x242)])||!_0x1e8494['updates'][_0x25074(0x23b)])return!0x1;let _0x2e51fc=_0x389bd7[_0x25074(0x1ff)](_0x419434),_0x4c0f5d=_0x389bd7[_0x25074(0x1ff)](_0x4e3069[_0x25074(0x206)]),_0x60f2b0=_0x2e51fc[_0x25074(0x1c5)](_0x1e8494['unitId']);if(!_0x60f2b0)return!0x1;let _0x3e3ffc=_0x4bed3b[_0x25074(0x252)]['deepClone'](_0x60f2b0),_0x3cb65e=!0x1;for(let _0x472371 of _0x1e8494[_0x25074(0x249)]){var _0x219d62,_0x5be578,_0x5a579e,_0x233b23;let _0x4e50ca=_0x3e3ffc[_0x25074(0x20f)][_0x472371[_0x25074(0x24b)]];_0x4e50ca&&_0x4e50ca[_0x25074(0x1b8)]===_0x472371[_0x25074(0x274)]&&((_0x219d62=_0x4e50ca[_0x25074(0x177)])==null?void 0x0:_0x219d62[_0x25074(0x28c)])===_0x472371[_0x25074(0x245)]&&_0x4c0f5d[_0x25074(0x18f)](_0x1e8494['unitId'])===_0x472371[_0x25074(0x216)]&&(((_0x5be578=_0x4e50ca['lastValue'])==null?void 0x0:_0x5be578['v'])!==_0x472371[_0x25074(0x246)]['v']||((_0x5a579e=_0x4e50ca[_0x25074(0x246)])==null?void 0x0:_0x5a579e['t'])!==_0x472371[_0x25074(0x246)]['t']||((_0x233b23=_0x4e50ca[_0x25074(0x246)])==null?void 0x0:_0x233b23['pattern'])!==_0x472371[_0x25074(0x246)][_0x25074(0x28c)])&&(_0x4e50ca[_0x25074(0x246)]=_0x4bed3b[_0x25074(0x252)]['deepClone'](_0x472371['lastValue']),_0x3cb65e=!0x0);}return!_0x3cb65e||_0x2e51fc[_0x25074(0x22f)](_0x1e8494[_0x25074(0x242)],_0x3e3ffc);}},_0x2f5e40={'id':_0x57f770(0x209),'type':_0x4bed3b[_0x57f770(0x1f3)][_0x57f770(0x175)],'handler':(_0x48de4f,_0x1a48ed)=>{const _0x30cd5d=_0x57f770;if(!(_0x1a48ed!=null&&_0x1a48ed[_0x30cd5d(0x1b8)][_0x30cd5d(0x210)]()))return!0x1;let _0x97ceb2=_0x1c0b6b(_0x48de4f,_0x1a48ed[_0x30cd5d(0x242)],'');if(!_0x97ceb2)return!0x1;let _0x372431=_0x27bca5(_0x1a48ed[_0x30cd5d(0x1e9)],_0x97ceb2['body'],_0x172891(_0x48de4f,_0x97ceb2[_0x30cd5d(0x242)]));if(!_0x372431)return!0x1;let _0x20d9a3=_0x5a4c92(_0x48de4f,_0x97ceb2[_0x30cd5d(0x242)],_0x1a48ed['formula'],_0x1a48ed['externalReferences']??[]);if(!_0x20d9a3)return!0x1;let _0x3d697f=_0x2ae9aa(_0x97ceb2[_0x30cd5d(0x1b0)],_0x97ceb2[_0x30cd5d(0x1ae)],_0x97ceb2[_0x30cd5d(0x242)]),_0x2f3709=_0x3b7a23({'documentData':_0x97ceb2[_0x30cd5d(0x185)],'resource':_0x97ceb2[_0x30cd5d(0x1c1)],'rangeId':_0x3d697f,'config':{'formula':_0x1a48ed[_0x30cd5d(0x1b8)],..._0x1a48ed[_0x30cd5d(0x177)]?{'numberFormat':_0x1a48ed[_0x30cd5d(0x177)]}:null},'startOffset':_0x372431[_0x30cd5d(0x1ef)],'endOffset':_0x372431[_0x30cd5d(0x199)]});if(!_0x2f3709)return!0x1;let _0x2fd559=(0x0,_0x4e3069[_0x30cd5d(0x281)])(_0x48de4f,_0x97ceb2[_0x30cd5d(0x242)],_0x20d9a3);return!_0x2fd559||!_0x209fb5({'accessor':_0x48de4f,'document':_0x97ceb2[_0x30cd5d(0x225)],'unitId':_0x97ceb2['unitId'],'trigger':_0x2f5e40['id'],'rangeId':_0x3d697f,'previousResource':_0x97ceb2['resource'],'nextResource':_0x2f3709[_0x30cd5d(0x171)],'previousDocumentData':_0x97ceb2['documentData'],'nextDocumentData':_0x2f3709['nextDocumentData'],'cursorOffset':_0x2f3709[_0x30cd5d(0x1ba)],'externalMutations':_0x2fd559})?!0x1:{'rangeId':_0x3d697f,'startOffset':_0x2f3709[_0x30cd5d(0x1ba)]-0x1,'endOffset':_0x2f3709[_0x30cd5d(0x1ba)]};}},_0x1039f9={'id':'docs-formula.command.update','type':_0x4bed3b['CommandType']['COMMAND'],'handler':(_0x2c6eac,_0x1ad623)=>{const _0x4d9469=_0x57f770;if(!(_0x1ad623!=null&&_0x1ad623[_0x4d9469(0x24b)])||!_0x1ad623[_0x4d9469(0x1b8)][_0x4d9469(0x210)]())return!0x1;let _0x176cd2=_0x1c0b6b(_0x2c6eac,_0x1ad623[_0x4d9469(0x242)],''),_0x1978bc=_0x176cd2==null?void 0x0:_0x176cd2['model'][_0x4d9469(0x160)](_0x176cd2[_0x4d9469(0x242)],_0x1ad623[_0x4d9469(0x24b)]),_0x403c6e=_0x176cd2?_0x339a9d(_0x176cd2[_0x4d9469(0x185)]['body'],_0x1ad623[_0x4d9469(0x24b)]):void 0x0;if(!_0x176cd2||!_0x1978bc||!_0x403c6e)return!0x1;let _0x5141ec=_0x5a4c92(_0x2c6eac,_0x176cd2[_0x4d9469(0x242)],_0x1ad623[_0x4d9469(0x1b8)],_0x1ad623[_0x4d9469(0x256)]??[]);if(!_0x5141ec)return!0x1;let _0x38aa0b=(0x0,_0x4e3069[_0x4d9469(0x281)])(_0x2c6eac,_0x176cd2[_0x4d9469(0x242)],_0x5141ec);if(!_0x38aa0b)return!0x1;let _0x57b360=_0x585799(_0x176cd2[_0x4d9469(0x1c1)]);return _0x57b360[_0x4d9469(0x20f)][_0x1ad623['rangeId']]={'formula':_0x1ad623['formula'],..._0x1ad623[_0x4d9469(0x177)]?{'numberFormat':_0x1ad623[_0x4d9469(0x177)]}:_0x1978bc[_0x4d9469(0x177)]?{'numberFormat':_0x1978bc[_0x4d9469(0x177)]}:null},_0x209fb5({'accessor':_0x2c6eac,'document':_0x176cd2[_0x4d9469(0x225)],'unitId':_0x176cd2[_0x4d9469(0x242)],'trigger':_0x1039f9['id'],'rangeId':_0x1ad623[_0x4d9469(0x24b)],'previousResource':_0x176cd2[_0x4d9469(0x1c1)],'nextResource':_0x57b360,'cursorOffset':_0x403c6e[_0x4d9469(0x23a)]+0x1,'externalMutations':_0x38aa0b});}},_0x3c50cd={'id':_0x57f770(0x19a),'type':_0x4bed3b[_0x57f770(0x1f3)][_0x57f770(0x175)],'handler':(_0x4cc698,_0x36babf)=>{const _0x55f809=_0x57f770;if(!(_0x36babf!=null&&_0x36babf[_0x55f809(0x24b)]))return!0x1;let _0x435314=_0x1c0b6b(_0x4cc698,_0x36babf['unitId'],''),_0x25d19a=_0x435314==null?void 0x0:_0x435314[_0x55f809(0x1ae)][_0x55f809(0x160)](_0x435314[_0x55f809(0x242)],_0x36babf[_0x55f809(0x24b)]),_0x18d976=_0x435314?_0x339a9d(_0x435314[_0x55f809(0x185)][_0x55f809(0x1b0)],_0x36babf[_0x55f809(0x24b)]):void 0x0;if(!_0x435314||!_0x25d19a||!_0x18d976)return!0x1;let _0x2d91c0=_0x585799(_0x435314['resource']);return _0x2d91c0[_0x55f809(0x20f)][_0x36babf[_0x55f809(0x24b)]]={..._0x25d19a,..._0x36babf['numberFormat']?{'numberFormat':_0x36babf[_0x55f809(0x177)]}:null},_0x36babf[_0x55f809(0x177)]||delete _0x2d91c0[_0x55f809(0x20f)][_0x36babf[_0x55f809(0x24b)]]['numberFormat'],_0x209fb5({'accessor':_0x4cc698,'document':_0x435314[_0x55f809(0x225)],'unitId':_0x435314['unitId'],'trigger':_0x3c50cd['id'],'rangeId':_0x36babf['rangeId'],'previousResource':_0x435314[_0x55f809(0x1c1)],'nextResource':_0x2d91c0,'cursorOffset':_0x18d976[_0x55f809(0x23a)]+0x1,'externalMutations':{}});}},_0x16b842={'id':_0x57f770(0x275),'type':_0x4bed3b['CommandType']['COMMAND'],'handler':(_0x448578,_0xba8508)=>_0x278e44(_0x448578,_0xba8508,'',_0x16b842['id'])},_0x4fdf1c={'id':'docs-formula.command.replace-with-text','type':_0x4bed3b['CommandType'][_0x57f770(0x175)],'handler':(_0x45657d,_0x38f557)=>_0x278e44(_0x45657d,_0x38f557,(_0x38f557==null?void 0x0:_0x38f557[_0x57f770(0x159)])??'',_0x4fdf1c['id'])},_0x38dc53={'id':_0x57f770(0x194),'type':_0x4bed3b['CommandType'][_0x57f770(0x175)],'handler':(_0x2fa56a,_0x484874)=>{const _0x4df6c4=_0x57f770;if(!(_0x484874!=null&&_0x484874['rangeId']))return!0x1;let _0x2ec813=_0x1c0b6b(_0x2fa56a,_0x484874['unitId'],'');if(!_0x2ec813)return!0x1;let _0x13fe72=_0x2fa56a[_0x4df6c4(0x1ff)](_0x51a5f5)[_0x4df6c4(0x218)]({'unitId':_0x2ec813[_0x4df6c4(0x242)],'rangeId':_0x484874['rangeId']});return _0x13fe72?_0x278e44(_0x2fa56a,_0x484874,_0x13fe72[_0x4df6c4(0x159)],_0x38dc53['id']):!0x1;}};function _0x278e44(_0x15e5e3,_0x2483b1,_0x4d2562,_0x2b0b1d){const _0x477759=_0x57f770;if(!(_0x2483b1!=null&&_0x2483b1[_0x477759(0x24b)]))return!0x1;let _0x13abe4=_0x1c0b6b(_0x15e5e3,_0x2483b1['unitId'],'');if(!_0x13abe4)return!0x1;let _0x38e485=_0x562d2a({'documentData':_0x13abe4['documentData'],'resource':_0x13abe4[_0x477759(0x1c1)],'rangeId':_0x2483b1[_0x477759(0x24b)],'text':_0x4d2562});return _0x38e485?_0x209fb5({'accessor':_0x15e5e3,'document':_0x13abe4[_0x477759(0x225)],'unitId':_0x13abe4[_0x477759(0x242)],'trigger':_0x2b0b1d,'rangeId':_0x2483b1[_0x477759(0x24b)],'previousResource':_0x13abe4[_0x477759(0x1c1)],'nextResource':_0x38e485[_0x477759(0x171)],'previousDocumentData':_0x13abe4[_0x477759(0x185)],'nextDocumentData':_0x38e485['nextDocumentData'],'cursorOffset':_0x38e485['cursorOffset'],'externalMutations':{}}):!0x1;}function _0x1c0b6b(_0x4e46d1,_0x217b71,_0x33ba99){const _0x1518df=_0x57f770;if(_0x33ba99)return null;let _0x3a428b=_0x4e46d1[_0x1518df(0x1ff)](_0x4bed3b[_0x1518df(0x1f5)]),_0x59a6a2=(_0x217b71?_0x3a428b['getUnit'](_0x217b71,_0x4bed3b[_0x1518df(0x1eb)][_0x1518df(0x20e)]):_0x3a428b[_0x1518df(0x26e)](_0x4bed3b[_0x1518df(0x1eb)]['UNIVER_DOC']))??null;if(!_0x59a6a2)return null;let _0x5dc553=_0x59a6a2[_0x1518df(0x166)](),_0x34594d=_0x5dc553['body'];if(_0x5dc553['disabled']||!_0x34594d)return null;let _0x594f06=_0x4e46d1[_0x1518df(0x1ff)](_0x419434);return _0x594f06[_0x1518df(0x15f)](_0x59a6a2[_0x1518df(0x1fe)]())?null:{'document':_0x59a6a2,'body':_0x34594d,'documentData':_0x5dc553,'model':_0x594f06,'resource':_0x594f06[_0x1518df(0x1c5)](_0x59a6a2[_0x1518df(0x1fe)]())??_0x5e4c14(),'unitId':_0x59a6a2[_0x1518df(0x1fe)]()};}function _0x172891(_0x1c00f1,_0x3655fd){const _0x374f54=_0x57f770;var _0x17f36c;return(_0x17f36c=_0x1c00f1[_0x374f54(0x1ff)](_0x4e7dc9['DocSelectionManagerService'])['getTextRanges']({'subUnitId':_0x3655fd,'unitId':_0x3655fd}))==null?void 0x0:_0x17f36c[0x0];}function _0x27bca5(_0x506c7e,_0x201eb0,_0x474dae){const _0x5940c3=_0x57f770;if((_0x506c7e==null?void 0x0:_0x506c7e[_0x5940c3(0x1db)])==='paragraph'){var _0xd032c5;let _0x579182=((_0xd032c5=_0x201eb0[_0x5940c3(0x21f)])==null?void 0x0:_0xd032c5['filter'](_0xe84f4=>_0xe84f4[_0x5940c3(0x277)]===_0x506c7e[_0x5940c3(0x277)]))??[];if(_0x579182[_0x5940c3(0x23b)]!==0x1)return null;let _0x5ea958=_0x579182[0x0],_0x56f2ba=(0x0,_0x4bed3b[_0x5940c3(0x170)])(_0x201eb0,_0x5ea958),_0x1d4fb9=_0x5ea958[_0x5940c3(0x268)]-_0x56f2ba,_0x428551=_0x506c7e[_0x5940c3(0x237)]===_0x5940c3(0x1a4)?_0x1d4fb9:_0x506c7e[_0x5940c3(0x237)];if(!Number[_0x5940c3(0x23f)](_0x428551)||_0x428551<0x0||_0x428551>_0x1d4fb9)return null;let _0x17950e=_0x56f2ba+_0x428551;return{'startOffset':_0x17950e,'endOffset':_0x17950e};}if((_0x506c7e==null?void 0x0:_0x506c7e[_0x5940c3(0x1db)])===_0x5940c3(0x1b6))return!Number[_0x5940c3(0x23f)](_0x506c7e[_0x5940c3(0x1ef)])||!Number['isInteger'](_0x506c7e['endOffset'])?null:{'startOffset':Math['min'](_0x506c7e[_0x5940c3(0x1ef)],_0x506c7e['endOffset']),'endOffset':Math[_0x5940c3(0x219)](_0x506c7e[_0x5940c3(0x1ef)],_0x506c7e[_0x5940c3(0x199)])};let _0x333a73=(_0x506c7e==null?void 0x0:_0x506c7e[_0x5940c3(0x1db)])===_0x5940c3(0x257)?_0x506c7e[_0x5940c3(0x257)]:_0x474dae;return!_0x333a73||_0x333a73[_0x5940c3(0x1fc)]?null:{'startOffset':Math[_0x5940c3(0x254)](_0x333a73['startOffset'],_0x333a73[_0x5940c3(0x199)]),'endOffset':Math[_0x5940c3(0x219)](_0x333a73[_0x5940c3(0x1ef)],_0x333a73[_0x5940c3(0x199)])};}function _0x5a4c92(_0xc083c8,_0x4416af,_0x2a267b,_0x1458fe){const _0x221c36=_0x57f770;let _0x2ad00e=_0xc083c8['get'](_0x2b808c[_0x221c36(0x204)]),_0x3f168f=_0x2a267b['startsWith']('=')?_0x2a267b[_0x221c36(0x25b)](0x1):_0x2a267b,_0x1e5a11=_0x2ad00e[_0x221c36(0x276)](_0x3f168f);if(!_0x1e5a11)return null;let _0x44d699=_0xc083c8[_0x221c36(0x1ff)](_0x4e3069[_0x221c36(0x206)]),_0x1774e6=(0x0,_0x4e3069['resolveHostFormulaExternalReferences'])({'qualifiers':(0x0,_0x4e3069['collectFormulaExternalReferenceQualifiers'])(_0x1e5a11),'explicitReferences':_0x1458fe??[],'resolveBinding':_0x264af4=>_0x44d699[_0x221c36(0x1fd)](_0x4416af,_0x264af4)});return _0x1774e6['status']==='resolved'?_0x1774e6[_0x221c36(0x151)]:null;}function _0x2ae9aa(_0x579e25,_0x143e71,_0x269f38){const _0x59e34d=_0x57f770;var _0x32d90f;let _0x533681=(0x0,_0x4bed3b[_0x59e34d(0x183)])(0x6);for(;_0x579e25!=null&&(_0x32d90f=_0x579e25[_0x59e34d(0x15e)])!=null&&_0x32d90f[_0x59e34d(0x25e)](_0x184879=>_0x184879['rangeId']===_0x533681)||_0x143e71[_0x59e34d(0x160)](_0x269f38,_0x533681);)_0x533681=(0x0,_0x4bed3b[_0x59e34d(0x183)])(0x6);return _0x533681;}function _0x3b7a23(_0x3fba6a){try{return _0x2e6ab7(_0x3fba6a);}catch(_0x2c0277){if(_0x2c0277 instanceof _0x4b9dca)return null;throw _0x2c0277;}}function _0x355c8a(_0x17713c){const _0x5a6781=_0x57f770;let _0xfdcde8=_0x17713c[_0x5a6781(0x15d)]&&_0x17713c[_0x5a6781(0x17e)]?_0x16c2eb(_0x17713c[_0x5a6781(0x225)],_0x17713c[_0x5a6781(0x242)],_0x17713c[_0x5a6781(0x15d)],_0x17713c['nextDocumentData'],_0x17713c[_0x5a6781(0x1ba)],_0x17713c[_0x5a6781(0x1a2)]):null;return _0x17713c[_0x5a6781(0x15d)]&&_0x17713c[_0x5a6781(0x17e)]&&!_0xfdcde8?null:{'documentRedo':_0xfdcde8,'resourceRedo':{'id':_0x1b5161['id'],'params':{'unitId':_0x17713c[_0x5a6781(0x242)],'resource':_0x17713c['nextResource']}},'resourceUndo':{'id':_0x1b5161['id'],'params':{'unitId':_0x17713c[_0x5a6781(0x242)],'resource':_0x17713c[_0x5a6781(0x164)]}}};}function _0x1cbe6a(_0x572fd4,_0xe0dcd0,_0x508abd,_0x16a430){const _0x11d999=_0x57f770;_0x16a430[_0x11d999(0x226)]({'id':_0x572fd4[_0x11d999(0x1a2)]+':'+_0x572fd4['rangeId'],'unitID':_0x572fd4[_0x11d999(0x242)],'redoMutations':[..._0x572fd4[_0x11d999(0x1e8)][_0x11d999(0x26f)]?[_0x572fd4['externalMutations'][_0x11d999(0x26f)]]:[],..._0xe0dcd0[_0x11d999(0x157)]?[_0xe0dcd0[_0x11d999(0x157)]]:[],_0xe0dcd0[_0x11d999(0x191)]],'undoMutations':[_0xe0dcd0['resourceUndo'],..._0x508abd?[_0x508abd]:[],..._0x572fd4[_0x11d999(0x1e8)]['undoMutation']?[_0x572fd4[_0x11d999(0x1e8)][_0x11d999(0x288)]]:[]]});}function _0x209fb5(_0x1cfef8){const _0x5454ee=_0x57f770;let _0x435633=_0x1cfef8[_0x5454ee(0x187)][_0x5454ee(0x1ff)](_0x4bed3b[_0x5454ee(0x15c)]),_0x137c70=_0x1cfef8[_0x5454ee(0x187)][_0x5454ee(0x1ff)](_0x4bed3b[_0x5454ee(0x1d6)]),_0x12ca65=_0x1cfef8[_0x5454ee(0x187)][_0x5454ee(0x1ff)](_0x4e7dc9[_0x5454ee(0x258)]),_0x43f89b=_0x355c8a(_0x1cfef8);if(!_0x43f89b)return!0x1;let _0x1c3eb5=!0x1,_0x4ee6ac=null,_0x3f204e=!0x1;try{if(_0x1cfef8[_0x5454ee(0x1e8)][_0x5454ee(0x26f)]){if(!_0x435633[_0x5454ee(0x1ed)](_0x1cfef8[_0x5454ee(0x1e8)][_0x5454ee(0x26f)]['id'],_0x1cfef8['externalMutations'][_0x5454ee(0x26f)]['params']))return!0x1;_0x1c3eb5=!0x0;}if(_0x43f89b[_0x5454ee(0x157)]){let _0xe168ed=_0x435633[_0x5454ee(0x1ed)](_0x43f89b[_0x5454ee(0x157)]['id'],_0x43f89b[_0x5454ee(0x157)][_0x5454ee(0x1a7)]);if(!_0xe168ed)return _0x5069c3(_0x435633,_0x1cfef8[_0x5454ee(0x1e8)],_0x1c3eb5),!0x1;_0x4ee6ac={'id':_0x4e7dc9['RichTextEditingMutation']['id'],'params':{..._0xe168ed,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x435633[_0x5454ee(0x1ed)](_0x43f89b[_0x5454ee(0x191)]['id'],_0x43f89b[_0x5454ee(0x191)][_0x5454ee(0x1a7)]))return _0x256a50(_0x435633,_0x4ee6ac),_0x5069c3(_0x435633,_0x1cfef8[_0x5454ee(0x1e8)],_0x1c3eb5),!0x1;_0x3f204e=!0x0,_0x1cbe6a(_0x1cfef8,_0x43f89b,_0x4ee6ac,_0x137c70);}catch(_0x1a93d8){throw _0x3f204e&&_0x435633[_0x5454ee(0x1ed)](_0x43f89b[_0x5454ee(0x1c6)]['id'],_0x43f89b[_0x5454ee(0x1c6)][_0x5454ee(0x1a7)]),_0x256a50(_0x435633,_0x4ee6ac),_0x5069c3(_0x435633,_0x1cfef8[_0x5454ee(0x1e8)],_0x1c3eb5),_0x1a93d8;}return _0x12ca65[_0x5454ee(0x1d1)]([{'startOffset':_0x1cfef8['cursorOffset'],'endOffset':_0x1cfef8[_0x5454ee(0x1ba)],'segmentId':''}],{'unitId':_0x1cfef8[_0x5454ee(0x242)],'subUnitId':_0x1cfef8[_0x5454ee(0x242)]},!0x1,{[_0x4e7dc9[_0x5454ee(0x1ee)]]:!0x0}),!0x0;}function _0x16c2eb(_0x55726a,_0x4f22e4,_0x1220fd,_0x37ad29,_0x37bd8f,_0x2aebe6){const _0x38b58a=_0x57f770;let _0xf23582=_0x3587e4(_0x1220fd,_0x37ad29,(0x0,_0x4bed3b['getRichTextEditPath'])(_0x55726a,''));return _0xf23582?{'id':_0x4e7dc9[_0x38b58a(0x181)]['id'],'params':{'unitId':_0x4f22e4,'actions':_0xf23582,'segmentId':'','textRanges':[{'startOffset':_0x37bd8f,'endOffset':_0x37bd8f,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x2aebe6}}:null;}function _0x256a50(_0x24c384,_0xdf65ae){const _0xf51b4d=_0x57f770;_0xdf65ae&&_0x24c384[_0xf51b4d(0x1ed)](_0xdf65ae['id'],_0xdf65ae[_0xf51b4d(0x1a7)]);}function _0x5069c3(_0x2a7ac1,_0x3dfc0d,_0x10d274){const _0x165818=_0x57f770;_0x10d274&&_0x3dfc0d['undoMutation']&&_0x2a7ac1[_0x165818(0x1ed)](_0x3dfc0d[_0x165818(0x288)]['id'],_0x3dfc0d['undoMutation']['params']);}function _0x3587e4(_0x2266c1,_0x300f85,_0x4c1999){const _0x17ada=_0x57f770;let _0x243f5a=_0x2266c1[_0x17ada(0x1b0)],_0x313cdf=_0x300f85[_0x17ada(0x1b0)],_0x54892e=_0x400a80(_0x243f5a==null?void 0x0:_0x243f5a[_0x17ada(0x25f)],_0x313cdf==null?void 0x0:_0x313cdf['dataStream']);if(!_0x54892e||!_0x313cdf)return null;let _0x2db9ab=new _0x4bed3b['TextX']();return _0x2db9ab[_0x17ada(0x186)](_0x54892e['start']),_0x54892e[_0x17ada(0x193)]>0x0&&_0x2db9ab[_0x17ada(0x21d)](_0x54892e[_0x17ada(0x193)],(0x0,_0x4bed3b[_0x17ada(0x154)])(_0x313cdf,_0x54892e[_0x17ada(0x155)],_0x54892e[_0x17ada(0x155)]+_0x54892e[_0x17ada(0x193)],!0x1)),_0x54892e[_0x17ada(0x1b1)]>0x0&&_0x2db9ab[_0x17ada(0x215)](_0x54892e[_0x17ada(0x1b1)]),_0x4bed3b[_0x17ada(0x150)]['getInstance']()[_0x17ada(0x1c0)](_0x2db9ab['serialize'](),_0x4c1999);}function _0x400a80(_0x42e84e,_0x122426){const _0x46c2d1=_0x57f770;if(_0x42e84e==null||_0x122426==null||_0x42e84e===_0x122426)return null;let _0xf47a9=0x0;for(;_0xf47a9<_0x42e84e[_0x46c2d1(0x23b)]&&_0xf47a9<_0x122426['length']&&_0x42e84e[_0xf47a9]===_0x122426[_0xf47a9];)_0xf47a9+=0x1;let _0x996816=_0x42e84e[_0x46c2d1(0x23b)],_0x589cbb=_0x122426[_0x46c2d1(0x23b)];for(;_0x996816>_0xf47a9&&_0x589cbb>_0xf47a9&&_0x42e84e[_0x996816-0x1]===_0x122426[_0x589cbb-0x1];)--_0x996816,--_0x589cbb;return{'start':_0xf47a9,'deleteLength':_0x996816-_0xf47a9,'insertLength':_0x589cbb-_0xf47a9};}function _0x585799(_0x50b140){const _0x467696=_0x57f770;return{'schemaVersion':0x1,'formulas':Object[_0x467696(0x16f)](Object['entries'](_0x50b140['formulas'])[_0x467696(0x261)](([_0x4b1111,_0x5a8865])=>[_0x4b1111,{..._0x5a8865,..._0x5a8865[_0x467696(0x177)]?{'numberFormat':{..._0x5a8865[_0x467696(0x177)]}}:null,..._0x5a8865[_0x467696(0x246)]?{'lastValue':{..._0x5a8865[_0x467696(0x246)]}}:null}]))};}let _0x57ea5b=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0xfcef5b,_0x4edee6,_0x3b2fb7,_0x3bd260){const _0x1804fb=_0x57f770;super(),this[_0x1804fb(0x282)]=_0xfcef5b,this[_0x1804fb(0x244)]=_0x4edee6,this[_0x1804fb(0x211)]=_0x3b2fb7,this['_service']=_0x3bd260,_0x2c07ac(this,_0x1804fb(0x1ce),new Set()),_0x2c07ac(this,_0x1804fb(0x1ea),!0x1),_0x2c07ac(this,_0x1804fb(0x284),!0x1),this[_0x1804fb(0x282)][_0x1804fb(0x286)](_0x4bed3b[_0x1804fb(0x1eb)]['UNIVER_DOC'])[_0x1804fb(0x1e1)](_0xa2d827=>this[_0x1804fb(0x253)]['syncUnit'](_0xa2d827)),this[_0x1804fb(0x1c3)](this[_0x1804fb(0x211)][_0x1804fb(0x153)][_0x1804fb(0x243)](({unitId:_0x4b97a0})=>this['_syncUnit'](_0x4b97a0))),this[_0x1804fb(0x1c3)](this[_0x1804fb(0x282)]['unitAdded$'][_0x1804fb(0x243)](({unit:_0x235704})=>{const _0x2aa4e6=_0x1804fb;_0x235704[_0x2aa4e6(0x1db)]===_0x4bed3b['UniverInstanceType'][_0x2aa4e6(0x20e)]&&this['_queueSync'](_0x235704[_0x2aa4e6(0x1fe)]());})),this[_0x1804fb(0x1c3)](this['_instanceService']['unitDisposed$'][_0x1804fb(0x243)](_0x5ce540=>{const _0x53ca8d=_0x1804fb;this[_0x53ca8d(0x253)][_0x53ca8d(0x22c)](_0x5ce540[_0x53ca8d(0x1fe)]());})),this[_0x1804fb(0x1c3)](this[_0x1804fb(0x244)][_0x1804fb(0x27f)](_0x4e7282=>{const _0x4daf88=_0x1804fb;if(_0x4e7282['id']===_0x4e7dc9[_0x4daf88(0x181)]['id']&&_0x10b641(_0x4e7282['params'])){let _0x483c05=_0x4e7282[_0x4daf88(0x1a7)];_0x483c05[_0x4daf88(0x1fc)]||this[_0x4daf88(0x1ab)](_0x483c05[_0x4daf88(0x242)]);}}));}[_0x57f770(0x16b)](){const _0x49f91a=_0x57f770;this['_isDisposed']=!0x0,super[_0x49f91a(0x16b)]();}[_0x57f770(0x20d)](_0x32868f){const _0x53bbac=_0x57f770;this[_0x53bbac(0x1ce)][_0x53bbac(0x28b)](_0x32868f),!this['_syncScheduled']&&(this[_0x53bbac(0x1ea)]=!0x0,queueMicrotask(()=>{const _0x324d44=_0x53bbac;if(this[_0x324d44(0x1ea)]=!0x1,this[_0x324d44(0x284)])return;let _0x21f1ef=Array[_0x324d44(0x1cb)](this[_0x324d44(0x1ce)]);this[_0x324d44(0x1ce)][_0x324d44(0x1bf)](),_0x21f1ef[_0x324d44(0x1e1)](_0x1c48bf=>this['_syncUnit'](_0x1c48bf));}));}[_0x57f770(0x1ab)](_0x5bd09e){const _0x4d7d9d=_0x57f770;let _0x151ec4=this[_0x4d7d9d(0x282)]['getUnit'](_0x5bd09e,_0x4bed3b[_0x4d7d9d(0x1eb)][_0x4d7d9d(0x20e)]);_0x151ec4&&this['_service'][_0x4d7d9d(0x179)](_0x151ec4);}};_0x57ea5b=_0x4d4426([_0x52ecc4(0x0,_0x4bed3b[_0x57f770(0x1f5)]),_0x52ecc4(0x1,_0x4bed3b[_0x57f770(0x15c)]),_0x52ecc4(0x2,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x419434)),_0x52ecc4(0x3,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x51a5f5))],_0x57ea5b);function _0x10b641(_0x46669c){const _0xc362d6=_0x57f770;return typeof _0x46669c==_0xc362d6(0x1a5)&&!!_0x46669c&&_0xc362d6(0x242)in _0x46669c&&typeof _0x46669c[_0xc362d6(0x242)]==_0xc362d6(0x262)&&(!('segmentId'in _0x46669c)||_0x46669c['segmentId']===void 0x0||typeof _0x46669c['segmentId']==_0xc362d6(0x262));}let _0x206277=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0x30f2ac,_0x1be1c7){const _0x31890b=_0x57f770;super(),this['_resourceManagerService']=_0x30f2ac,this[_0x31890b(0x233)]=_0x1be1c7,this[_0x31890b(0x1c3)](this['_resourceManagerService'][_0x31890b(0x17a)]({'pluginName':_0xd27543,'businesses':[_0x4bed3b[_0x31890b(0x1eb)][_0x31890b(0x20e)]],'toJson':_0xcff78b=>JSON[_0x31890b(0x27b)](this[_0x31890b(0x233)][_0x31890b(0x238)](_0xcff78b)),'parseJson':_0x2946b2=>JSON[_0x31890b(0x1b7)](_0x2946b2),'onLoad':(_0x3f977a,_0x15759e)=>{const _0x3f3a8f=_0x31890b;this[_0x3f3a8f(0x233)][_0x3f3a8f(0x180)](_0x3f977a,_0x15759e);},'onUnLoad':_0x25ce7b=>this[_0x31890b(0x233)]['removeUnit'](_0x25ce7b)}));}};_0x206277=_0x4d4426([_0x52ecc4(0x0,_0x4bed3b[_0x57f770(0x22a)]),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x419434))],_0x206277);var _0x330da3=_0x57f770(0x28a),_0x181800='1.0.2';let _0x463c63={},_0x5e85b3=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0x1132bf,_0x4c24ce,_0x1d17e0){const _0x2a961d=_0x57f770;super(),this['_univerInstanceService']=_0x1132bf,this[_0x2a961d(0x20a)]=_0x4c24ce,this['disposeWithMe'](_0x1d17e0[_0x2a961d(0x217)]({'resolve':(_0x382bb9,_0x2abd9e)=>{const _0x37b518=_0x2a961d;var _0x34171b;return((_0x34171b=_0x2abd9e[_0x37b518(0x15e)])==null?void 0x0:_0x34171b[_0x37b518(0x25d)](_0x3f3a71)[_0x37b518(0x261)](_0x29e438=>({'startOffset':_0x29e438[_0x37b518(0x268)],'endOffset':_0x29e438[_0x37b518(0x23a)]+0x1,'text':this[_0x37b518(0x1e6)](_0x382bb9,_0x29e438['rangeId'])})))??[];}})),this[_0x2a961d(0x1c3)](this[_0x2a961d(0x20a)][_0x2a961d(0x1e4)][_0x2a961d(0x243)](({unitId:_0x188d13})=>{_0x1d17e0['notifyTextChanged'](_0x188d13);}));}[_0x57f770(0x1e6)](_0x175d42,_0x1a4c84){const _0x25edf7=_0x57f770;var _0x4bbe53;return((_0x4bbe53=this[_0x25edf7(0x20a)][_0x25edf7(0x218)]({'unitId':_0x175d42,'rangeId':_0x1a4c84}))==null?void 0x0:_0x4bbe53[_0x25edf7(0x159)])??'';}[_0x57f770(0x19d)](_0x8e1fc6,_0x5d87ff,_0x27f10f){const _0x19da30=_0x57f770;var _0x54b4f3;let _0x6f643b=this[_0x19da30(0x24a)][_0x19da30(0x212)](_0x8e1fc6,_0x4bed3b['UniverInstanceType'][_0x19da30(0x20e)]),_0x418c21=_0x6f643b==null?void 0x0:_0x6f643b[_0x19da30(0x190)]();if(!_0x418c21)return'';let _0x228e01=_0x418c21['dataStream']['slice'](_0x5d87ff,_0x27f10f),_0x3324ee=((_0x54b4f3=_0x418c21['customRanges'])==null?void 0x0:_0x54b4f3[_0x19da30(0x25d)](_0x58e2fe=>_0x3f3a71(_0x58e2fe)&&_0x58e2fe[_0x19da30(0x268)]>=_0x5d87ff&&_0x58e2fe['endIndex']<_0x27f10f)[_0x19da30(0x287)]((_0x5020f5,_0x17004e)=>_0x17004e['startIndex']-_0x5020f5[_0x19da30(0x268)]))??[];for(let _0x41cf66 of _0x3324ee){let _0x2c4695=_0x41cf66[_0x19da30(0x268)]-_0x5d87ff,_0x13e856=_0x41cf66[_0x19da30(0x23a)]-_0x5d87ff+0x1;_0x228e01=''+_0x228e01[_0x19da30(0x25b)](0x0,_0x2c4695)+this[_0x19da30(0x1e6)](_0x8e1fc6,_0x41cf66[_0x19da30(0x24b)])+_0x228e01[_0x19da30(0x25b)](_0x13e856);}return _0x228e01;}['degradeDocumentData'](_0x39b34e){return _0x1baa5f(_0x39b34e);}[_0x57f770(0x189)](_0x57137c,_0x42796b,_0x4d88ba={}){const _0xff1088=_0x57f770;var _0x312e6c;return _0x12f0e6({'id':_0x57137c,'body':_0x42796b,'documentStyle':{}},(((_0x312e6c=_0x42796b[_0xff1088(0x15e)])==null?void 0x0:_0x312e6c['filter'](_0x3f3a71))??[])[_0xff1088(0x261)](_0x1abd5b=>({'rangeId':_0x1abd5b[_0xff1088(0x24b)],'text':_0x4d88ba[_0x1abd5b[_0xff1088(0x24b)]]??this[_0xff1088(0x1e6)](_0x57137c,_0x1abd5b[_0xff1088(0x24b)])})))[_0xff1088(0x1b0)]??{'dataStream':''};}};_0x5e85b3=_0x4d4426([_0x52ecc4(0x0,_0x4bed3b[_0x57f770(0x1f5)]),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x51a5f5)),_0x52ecc4(0x2,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x4e7dc9[_0x57f770(0x214)]))],_0x5e85b3);function _0x1baa5f(_0x4629b5){const _0x40b484=_0x57f770;var _0x40b8b7,_0x40a704;let _0x183b67=_0x410d65(_0x4629b5),_0x3e15f6=_0x12f0e6(_0x4629b5,(((_0x40b8b7=_0x4629b5[_0x40b484(0x1b0)])==null||(_0x40b8b7=_0x40b8b7[_0x40b484(0x15e)])==null?void 0x0:_0x40b8b7[_0x40b484(0x25d)](_0x3f3a71))??[])[_0x40b484(0x261)](_0x22df74=>({'rangeId':_0x22df74[_0x40b484(0x24b)],'text':_0x59843b(_0x183b67==null?void 0x0:_0x183b67[_0x40b484(0x20f)][_0x22df74[_0x40b484(0x24b)]])})));return _0x3e15f6[_0x40b484(0x1ad)]=(_0x40a704=_0x3e15f6[_0x40b484(0x1ad)])==null?void 0x0:_0x40a704[_0x40b484(0x25d)](_0x428713=>_0x428713[_0x40b484(0x18e)]!==_0xd27543),_0x3e15f6;}function _0x410d65(_0x145552){const _0x2b3afb=_0x57f770;var _0xcfd1a0;let _0x402897=(_0xcfd1a0=_0x145552[_0x2b3afb(0x1ad)])==null||(_0xcfd1a0=_0xcfd1a0['find'](_0x301c71=>_0x301c71[_0x2b3afb(0x18e)]===_0x2b3afb(0x162)))==null?void 0x0:_0xcfd1a0[_0x2b3afb(0x1f4)];if(_0x402897)try{let _0x4b257=JSON[_0x2b3afb(0x1b7)](_0x402897);return _0x2c51c9(_0x4b257)?_0x4b257:void 0x0;}catch{return;}}function _0x59843b(_0x1021b9){const _0x5cf135=_0x57f770;return _0x1021b9?(0x0,_0x4e3069[_0x5cf135(0x1d3)])({'lastValue':_0x1021b9[_0x5cf135(0x246)],'numberFormat':_0x1021b9['numberFormat']})[_0x5cf135(0x159)]:'';}let _0x56817c=class extends _0x4bed3b[_0x57f770(0x267)]{constructor(_0xcde45b,_0x1a74f7,_0x255a55){const _0x16e531=_0x57f770;super(),this[_0x16e531(0x20a)]=_0xcde45b,this[_0x16e531(0x207)]=_0x1a74f7,this[_0x16e531(0x1c3)](_0x255a55[_0x16e531(0x250)](this));}[_0x57f770(0x152)](_0x3f9d80){const _0x4e6460=_0x57f770;let _0x3d685b=new Map();for(let _0x370a13 of this[_0x4e6460(0x20a)]['getRegisteredFormulas']()){var _0x37ac0b;if(!this[_0x4e6460(0x207)][_0x4e6460(0x173)](_0x370a13['config'][_0x4e6460(0x1b8)],_0x370a13[_0x4e6460(0x1b5)])[_0x4e6460(0x18a)])continue;let _0x57c855=(0x0,_0x4e3069[_0x4e6460(0x161)])(_0x370a13[_0x4e6460(0x1b5)]),_0x426fff=_0x57c855?(0x0,_0x4e3069['toFormulaLastValue'])(_0x57c855):null;if(!_0x426fff||_0x40bd36(_0x370a13['config'][_0x4e6460(0x246)],_0x426fff))continue;let _0x174465=_0x3d685b[_0x4e6460(0x1ff)](_0x370a13[_0x4e6460(0x168)][_0x4e6460(0x242)])??[];_0x174465[_0x4e6460(0x236)]({'rangeId':_0x370a13[_0x4e6460(0x168)][_0x4e6460(0x24b)],'expectedFormula':_0x370a13[_0x4e6460(0x1c4)][_0x4e6460(0x1b8)],'expectedNumberFormat':(_0x37ac0b=_0x370a13[_0x4e6460(0x1c4)][_0x4e6460(0x177)])==null?void 0x0:_0x37ac0b[_0x4e6460(0x28c)],'expectedReferenceRevision':_0x370a13[_0x4e6460(0x27a)],'lastValue':_0x426fff}),_0x3d685b[_0x4e6460(0x1e7)](_0x370a13[_0x4e6460(0x168)][_0x4e6460(0x242)],_0x174465);}return Array[_0x4e6460(0x1cb)](_0x3d685b,([_0x599279,_0x52115e])=>({'id':_0x2d9019['id'],'params':{'unitId':_0x599279,'updates':_0x52115e}}));}};_0x56817c=_0x4d4426([_0x52ecc4(0x0,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x51a5f5)),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x4e3069[_0x57f770(0x248)])),_0x52ecc4(0x2,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x4e3069[_0x57f770(0x205)]))],_0x56817c);function _0x40bd36(_0x23356c,_0x5dfaa3){const _0x3bd951=_0x57f770;return(_0x23356c==null?void 0x0:_0x23356c['v'])===_0x5dfaa3['v']&&(_0x23356c==null?void 0x0:_0x23356c['t'])===_0x5dfaa3['t']&&(_0x23356c==null?void 0x0:_0x23356c[_0x3bd951(0x28c)])===_0x5dfaa3[_0x3bd951(0x28c)];}let _0x2f90cc=class extends _0x4bed3b[_0x57f770(0x223)]{constructor(_0x3f0fa5=_0x463c63,_0x8e2438,_0x413c98,_0x47c54d){const _0x44a711=_0x57f770;super(),this[_0x44a711(0x1a8)]=_0x3f0fa5,this[_0x44a711(0x27e)]=_0x8e2438,this[_0x44a711(0x244)]=_0x413c98,this[_0x44a711(0x1ac)]=_0x47c54d;let {..._0xc0837f}=(0x0,_0x4bed3b[_0x44a711(0x230)])({},_0x463c63,this['_config']);this[_0x44a711(0x1ac)][_0x44a711(0x1b2)]('docs-formula.config',_0xc0837f);}[_0x57f770(0x26a)](){const _0x3d88e6=_0x57f770;this[_0x3d88e6(0x27e)]['add']([_0x419434]),this['_injector'][_0x3d88e6(0x28b)]([_0x51a5f5]),this[_0x3d88e6(0x27e)][_0x3d88e6(0x28b)]([_0x206277]),this[_0x3d88e6(0x27e)][_0x3d88e6(0x28b)]([_0x57ea5b]),this[_0x3d88e6(0x27e)][_0x3d88e6(0x28b)]([_0x56817c]),this['_injector'][_0x3d88e6(0x28b)]([_0x5e85b3]),(0x0,_0x4bed3b[_0x3d88e6(0x1e3)])(this['_injector'],[[_0x419434],[_0x206277],[_0x57ea5b],[_0x56817c],[_0x5e85b3]]),[_0x465b96,_0x30c2aa,_0x1b5161,_0x2d9019,_0x2f5e40,_0x1039f9,_0x3c50cd,_0x16b842,_0x4fdf1c,_0x38dc53][_0x3d88e6(0x1e1)](_0x15a37d=>this['disposeWithMe'](this[_0x3d88e6(0x244)]['registerCommand'](_0x15a37d)));}};_0x2c07ac(_0x2f90cc,_0x57f770(0x260),_0xd27543),_0x2c07ac(_0x2f90cc,_0x57f770(0x1f7),_0x330da3),_0x2c07ac(_0x2f90cc,_0x57f770(0x28e),_0x181800),_0x2c07ac(_0x2f90cc,_0x57f770(0x1db),_0x4bed3b[_0x57f770(0x1eb)]['UNIVER_DOC']),_0x2f90cc=_0x4d4426([(0x0,_0x4bed3b['DependentOn'])(_0x26a251[_0x57f770(0x195)],_0x4e3069['UniverProFormulaEnginePlugin'],_0x4e7dc9[_0x57f770(0x18d)]),_0x52ecc4(0x1,(0x0,_0x4bed3b[_0x57f770(0x176)])(_0x4bed3b[_0x57f770(0x278)])),_0x52ecc4(0x2,_0x4bed3b[_0x57f770(0x15c)]),_0x52ecc4(0x3,_0x4bed3b[_0x57f770(0x16e)])],_0x2f90cc),_0x1dc156[_0x57f770(0x1c8)]=_0x38dc53,_0x1dc156[_0x57f770(0x1a9)]=_0xc6a381,_0x1dc156['DOC_FORMULA_OBJECT_REPLACEMENT']='',_0x1dc156['DOC_FORMULA_PLUGIN']=_0xd27543,_0x1dc156['DOC_FORMULA_SCHEMA_VERSION']=0x1,Object['defineProperty'](_0x1dc156,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x5e85b3;}}),Object['defineProperty'](_0x1dc156,_0x57f770(0x289),{'enumerable':!0x0,'get':function(){return _0x57ea5b;}}),_0x1dc156[_0x57f770(0x1dd)]=_0x419434,Object[_0x57f770(0x1b9)](_0x1dc156,_0x57f770(0x271),{'enumerable':!0x0,'get':function(){return _0x206277;}}),_0x1dc156['DocFormulaResultStatus']=_0x3e772c,Object[_0x57f770(0x1b9)](_0x1dc156,_0x57f770(0x1c7),{'enumerable':!0x0,'get':function(){return _0x51a5f5;}}),_0x1dc156[_0x57f770(0x24c)]=_0x2f5e40,_0x1dc156['InvalidDocFormulaInsertRangeError']=_0x4b9dca,_0x1dc156['RemoveDocFormulaCommand']=_0x16b842,_0x1dc156[_0x57f770(0x20b)]=_0x30c2aa,_0x1dc156[_0x57f770(0x15b)]=_0x4fdf1c,_0x1dc156[_0x57f770(0x22d)]=_0x2d9019,_0x1dc156[_0x57f770(0x1dc)]=_0x465b96,_0x1dc156[_0x57f770(0x19e)]=_0x3c50cd,_0x1dc156[_0x57f770(0x220)]=_0x1b5161,Object[_0x57f770(0x1b9)](_0x1dc156,'UniverDocsFormulaPlugin',{'enumerable':!0x0,'get':function(){return _0x2f90cc;}}),_0x1dc156[_0x57f770(0x27d)]=_0x1039f9,_0x1dc156[_0x57f770(0x265)]=_0x36c271,_0x1dc156['buildInsertDocFormulaActions']=_0x2e6ab7,_0x1dc156[_0x57f770(0x201)]=_0x562d2a,_0x1dc156[_0x57f770(0x1d4)]=_0x496d24,_0x1dc156[_0x57f770(0x1fb)]=_0x5e4c14,_0x1dc156[_0x57f770(0x1d0)]=_0x1baa5f,_0x1dc156[_0x57f770(0x1d5)]=_0x339a9d,_0x1dc156[_0x57f770(0x198)]=_0x36e466,_0x1dc156[_0x57f770(0x1bc)]=_0x3f3a71,_0x1dc156[_0x57f770(0x202)]=_0x2c51c9,_0x1dc156[_0x57f770(0x25a)]=_0x5b24ff;}));function _0x4f32(){const _0x5133af=['743850texWAX','FormulaCacheEligibilityService','updates','_univerInstanceService','rangeId','InsertDocFormulaCommand','COLUMN_END','rxjs','pending','registerProvider','12RWrymO','Tools','_service','min','_presentationChanged$','externalReferences','selection','DocSelectionManagerService','getRegisteredFormulas','isFormulaLastValue','slice','UniverCore','filter','some','dataStream','pluginName','map','string','presentation','shiftInclusiveRangeOnInsert','assertSafeDocFormulaInsertRange','TABLE_START','Disposable','startIndex','CellValueType','onStarting','exports','tables','CUSTOM_BLOCK','getCurrentUnitOfType','redoMutation','_formulaKeys','DocFormulaResourceController','stale','boolean','expectedFormula','docs-formula.command.remove','sequenceNodesBuilder','paragraphId','Injector','_setPresentation','referenceRevision','stringify','46BUOpSg','UpdateDocFormulaCommand','_injector','onCommandExecuted','CUSTOM','buildUpsertHostExternalReferenceMutations','_instanceService','keys','_isDisposed','setFormulas','getAllUnitsForType','sort','undoMutation','DocFormulaLifecycleController','@univerjs-pro/docs-formula','add','pattern','@univerjs-pro/engine-formula','version','_change$','JSONX','references','collectMutations','change$','getBodySliceForTextXAction','start','docs-formula.mutation.set-formula','documentRedo','COLUMN_GROUP_START','text','_registrationService','ReplaceDocFormulaWithTextCommand','ICommandService','previousDocumentData','customRanges','getLoadError','getFormula','getScalarFormulaResultCell','DOC_FORMULA_PLUGIN','univer-docs-formula','previousResource','complete','getSnapshot','customBlocks','identity','iterator','schemaVersion','dispose','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','docs-formula.mutation.remove-formula','IConfigService','fromEntries','getParagraphContentStartOffset','nextResource','unsupported-version','assess','find','COMMAND','Inject','numberFormat','textRuns','syncUnit','registerPluginResource','empty','symbol','Subject','nextDocumentData','error','load','RichTextEditingMutation','@univerjs/engine-formula','generateRandomId','cell','documentData','retain','accessor','invalid-resource','degradeBody','eligible','TABLE_ROW_END','source','UniverDocsPlugin','name','getRevision','getBody','resourceRedo','blockRanges','insertLength','docs-formula.command.convert-to-text','UniverLicensePlugin','deepClone','SECTION_BREAK','isDocFormulaConfig','endOffset','docs-formula.command.set-number-format','_registrations','getOwnPropertyDescriptor','resolveText','SetDocFormulaNumberFormatCommand','DOC','formulaResult$','setFormula','trigger','_rawResources','end','object','shiftExclusiveRangeOnInsert','params','_config','DOC_FORMULA_CUSTOM_RANGE_KIND','columnGroups','_syncUnit','_configService','resources','model','color','body','deleteLength','setConfig','_loadErrors','192yCSPaG','liveResult','range','parse','formula','defineProperty','cursorOffset','UniverDocs','isDocFormulaRange','decorate','properties','clear','editOp','resource','_resources','disposeWithMe','config','getResource','resourceUndo','DocFormulaService','ConvertDocFormulaToTextCommand','values','@univerjs/docs','from','UniverEngineFormula','assign','_pendingUnitIds','number','degradeDocFormulaDocumentData','replaceDocRanges','1187685Csobff','resolveFormulaResultPresentation','buildUpdateDocFormulaActions','findDocFormulaRange','IUndoRedoService','BLOCK_START','MUTATION','SUCCESS','rangeType','type','SetDocFormulaMutation','DocFormulaModel','registerFormulaWithRange','unregister','toPrimitive','forEach','success','touchDependencies','presentationChanged$','UniverProDocsFormula','resolveFormula','set','externalMutations','target','_syncScheduled','UniverInstanceType','shiftExclusiveRangeOnDelete','syncExecuteCommand','DOC_SELECTION_OPTION_PRESERVE_CARET','startOffset','@univerjs/core','function','4226HzSoVV','CommandType','data','IUniverInstanceService','330174CveFNH','packageName','_hostExternalReferenceModel','formulaId','customDecorations','createEmptyDocFormulaResource','segmentId','resolveBinding','getUnitId','get','59017AvABTT','buildRemoveDocFormulaActions','isDocFormulaResource','_preserveInvalid','LexerTreeBuilder','FormulaLastValuePersistenceService','HostExternalReferenceModel','_cacheEligibilityService','call','docs-formula.command.insert','_formulaService','RemoveDocFormulaMutation','wholeEntity','_queueSync','UNIVER_DOC','formulas','trim','_model','getUnit','TABLE_END','DocTextResolverService','delete','expectedReferenceRevision','register','getResult','max','DataStreamTreeTokenType','getCustomRangeInterval','CustomRangeType','insert','getFormulas','paragraphs','SetDocFormulaResourceMutation','has','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','Plugin','FormulaResultStatus','document','pushUndoRedo','19449iwnrGU','sectionBreaks','_deleteRegistration','IResourceManagerService','entries','unregisterUnit','SetDocFormulaLastValuesMutation','deleteFormula','setResource','merge','removeFormula','removeUnit','_docFormulaModel','256734FrqHQj','includes','push','position','serialize','getFormulaValueSync','endIndex','length','getPresentation','UniverProEngineFormula','PARAGRAPH','isInteger','next','COLUMN_GROUP_END','unitId','subscribe','_commandService','expectedNumberFormat','lastValue'];_0x4f32=function(){return _0x5133af;};return _0x4f32();}
1
+ function _0x6417(_0x35ff07,_0xd4b2bd){_0x35ff07=_0x35ff07-0xa7;const _0x2ec900=_0x2ec9();let _0x64174c=_0x2ec900[_0x35ff07];return _0x64174c;}function _0x2ec9(){const _0x1da830=['CUSTOM_BLOCK','paragraphs','FormulaResultStatus','getScalarFormulaResultCell','object','_formulaKeys','40RrhLzl','range','docs-formula.mutation.set-formula','formulaId','disabled','forEach','disposeWithMe','find','endOffset','isDocFormulaResource','Module','segmentId','_loadErrors','liveResult','defineProperty','buildUpdateDocFormulaActions','@univerjs-pro/license','blockRanges','source','paragraph','change$','IConfigService','TABLE_CELL_END','Inject','getRevision','_config','Disposable','UniverProFormulaEnginePlugin','3575789fKgkyC','stale','columnGroups','redoMutation','rxjs','isInteger','_change$','keys','endsWith','_univerInstanceService','pushUndoRedo','getPresentation','externalReferences','startOffset','symbol','getCustomRangeInterval','load','documentData','getLoadError','buildUpsertHostExternalReferenceMutations','nextResource','SetDocFormulaLastValuesMutation','DocFormulaLifecycleController','UniverDocsPlugin','properties','Tools','call','unitAdded$','UNIVER_DOC','paragraphId','resourceRedo','resource','docs-formula.command.insert','unitDisposed$','CustomRangeType','10yLRvar','UniverLicensePlugin','position','getFormulas','touchDependencies','lastValue','unregister','toPrimitive','8qeftSS','docs-formula.command.replace-with-text','delete','resourceUndo','exports','target','resolveText','values','UniverProEngineFormula','_configService','MUTATION','retain','map','data','IUniverInstanceService','removeUnit','_injector','presentationChanged$','registerPluginResource','TABLE_ROW_START','filter','status','_registrations','sectionBreaks','registerFormulaWithRange','_syncScheduled','getTextRanges','complete','every','docs-formula.command.convert-to-text','_preserveInvalid','onStarting','pluginName','deepClone','formulas','startIndex','shiftInclusiveRangeOnDelete','1.0.4','isDocFormulaRange','_presentationChanged$','next','syncUnit','accessor','createEmptyDocFormulaResource','DOC_FORMULA_PLUGIN','documentRedo','assess','docs-formula.mutation.set-resource','_resources','identity','resolveHostFormulaExternalReferences','ReplaceDocFormulaWithTextCommand','_queueSync','color','_deleteRegistration','docs-formula.command.remove','getFormulaValueSync','slice','shiftExclusiveRangeOnDelete','28997WGYqtW','ERROR','deleteLength','push','formula','asObservable','fromEntries','previousDocumentData','iterator','selection','resolved','Plugin','InsertDocFormulaCommand','syncExecuteCommand','_registrationService','getCurrentUnitOfType','isArray','UpdateDocFormulaCommand','externalMutations','UniverEngineFormula','BLOCK_END','serialize','COLUMN_GROUP_START','presentation','undoMutation','DataStreamTreeTokenType','_rawResources','getParagraphContentStartOffset','ConvertDocFormulaToTextCommand','@univerjs/docs','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','get','_docFormulaModel','customRanges','2058YbcZuW','body','type','default','_updateFormulaResult','getUnit','getAllUnitsForType','docs-formula.command.set-number-format','dataStream','customDecorations','DocFormulaService','rangeId','replaceDocRanges','expectedFormula','18272309ihsKXX','DOC_FORMULA_CUSTOM_RANGE_KIND','@univerjs-pro/docs-formula','FormulaCacheEligibilityService','_cacheEligibilityService','prototype','5472042zFLkOj','entries','SECTION_BREAK','PENDING','isFormulaLastValue','editOp','removeFormula','text','degradeDocFormulaDocumentData','_syncUnit','collectFormulaExternalReferenceQualifiers','function','SetDocFormulaNumberFormatCommand','max','from','registerCommand','_resourceManagerService','getResource','setFormulas','numberFormat','parse','UniverCore','constructor','UniverInstanceType','decorate','unregisterUnit','_instanceService','5NpdwaQ','HostExternalReferenceModel','name','document','IResourceManagerService','CUSTOM','success','amd','DependentOn','DocFormulaResourceController','COLUMN_END','resolveBinding','_isDisposed','packageName','7028DZOchs','sort','min','insertLength','_formulaService','resolveFormula','getFormula','setResource','RegisterOtherFormulaService','sequenceNodesBuilder','_commandService','RemoveDocFormulaMutation','register','getUnitId','DocTextResolverService','Injector','findDocFormulaRange','CommandType','getBodySliceForTextXAction','setConfig','getRichTextEditPath','_setPresentation','TABLE_CELL_START','number','COLUMN_START','assertSafeDocFormulaInsertRange','RichTextEditingMutation','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','getBody','schemaVersion','expectedNumberFormat','599463BSrSLB','_model','some','length','JSONX','PARAGRAPH','DOC_FORMULA_OBJECT_REPLACEMENT','docs-formula.config','26927196MWwQZo','shiftInclusiveRangeOnInsert','toStringTag','expectedReferenceRevision','unitId','set','DocFormulaResultStatus','@univerjs-pro/engine-formula','onCommandExecuted','setFormula','CellValueType','start','tables','cursorOffset','univer-docs-formula','previousResource','merge','deleteFormula','has','customBlocks','clear','_pendingUnitIds','toFormulaLastValue','_service','UniverProDocsFormula','getSnapshot','textRuns','getResult','pending','notifyTextChanged','string','DOC','ICommandService','cell','dispose','endIndex','_hostExternalReferenceModel','wholeEntity','UniverDocs','trigger','degradeBody','config','COMMAND','trim','invalid-resource','empty','DOC_SELECTION_OPTION_PRESERVE_CARET','@univerjs/core','LexerTreeBuilder','updates','Subject','TABLE_ROW_END','add','resolveFormulaResultPresentation','nextDocumentData','subscribe','formulaResult$','DocSelectionManagerService','degradeDocumentData','UniverDocsFormulaPlugin','SetDocFormulaResourceMutation','TABLE_START','getRegisteredFormulas','referenceRevision','isDocFormulaConfig','model','startsWith','params','docs-formula.mutation.set-last-values','error','pattern'];_0x2ec9=function(){return _0x1da830;};return _0x2ec9();}(function(_0x2e0f06,_0x3fb341){const _0x2a932b=_0x6417,_0x461693=_0x2e0f06();while(!![]){try{const _0x3caeb0=-parseInt(_0x2a932b(0xc8))/0x1*(parseInt(_0x2a932b(0x1da))/0x2)+-parseInt(_0x2a932b(0xea))/0x3*(parseInt(_0x2a932b(0x127))/0x4)+parseInt(_0x2a932b(0x119))/0x5*(-parseInt(_0x2a932b(0xfe))/0x6)+-parseInt(_0x2a932b(0x1b7))/0x7*(parseInt(_0x2a932b(0x1e2))/0x8)+-parseInt(_0x2a932b(0x146))/0x9*(parseInt(_0x2a932b(0x19b))/0xa)+parseInt(_0x2a932b(0xf8))/0xb+parseInt(_0x2a932b(0x14e))/0xc;if(_0x3caeb0===_0x3fb341)break;else _0x461693['push'](_0x461693['shift']());}catch(_0x3db235){_0x461693['push'](_0x461693['shift']());}}}(_0x2ec9,0xd34df),function(_0x2c026e,_0x261313){const _0x5c1118=_0x6417;typeof exports==_0x5c1118(0x199)&&typeof module<'u'?_0x261313(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[_0x5c1118(0x120)]?define([_0x5c1118(0x1e6),_0x5c1118(0x155),_0x5c1118(0x17d),_0x5c1118(0xe5),'@univerjs/engine-formula',_0x5c1118(0x1bb),_0x5c1118(0x1ab)],_0x261313):(_0x2c026e=typeof globalThis<'u'?globalThis:_0x2c026e||self,_0x261313(_0x2c026e[_0x5c1118(0x166)]={},_0x2c026e[_0x5c1118(0x1ea)],_0x2c026e[_0x5c1118(0x113)],_0x2c026e[_0x5c1118(0x174)],_0x2c026e[_0x5c1118(0xdb)],_0x2c026e[_0x5c1118(0x1bb)],_0x2c026e['UniverProLicense']));}(this,function(_0x2c87ef,_0x3e6ae0,_0x198dff,_0x440871,_0x54a5ff,_0x104340,_0x51d1a7){const _0x5d1a43=_0x6417;Object['defineProperty'](_0x2c87ef,Symbol[_0x5d1a43(0x150)],{'value':_0x5d1a43(0x1a5)});let _0x477554='DOC_FORMULA_PLUGIN',_0x5af56f=_0x5d1a43(0x15c);function _0x2a5f69(){return{'schemaVersion':0x1,'formulas':{}};}function _0xca39c2(_0x4f1c46){const _0x23077b=_0x5d1a43;return!_0x4f1c46||typeof _0x4f1c46!=_0x23077b(0x199)||!_0x29060d(_0x4f1c46,['schemaVersion','formulas'])||!('schemaVersion'in _0x4f1c46)||_0x4f1c46[_0x23077b(0x144)]!==0x1||!(_0x23077b(0xaf)in _0x4f1c46)||!_0x4f1c46['formulas']||typeof _0x4f1c46[_0x23077b(0xaf)]!=_0x23077b(0x199)||Array[_0x23077b(0xd8)](_0x4f1c46[_0x23077b(0xaf)])?!0x1:Object[_0x23077b(0xff)](_0x4f1c46[_0x23077b(0xaf)])[_0x23077b(0xa9)](([_0x454006,_0x354e3e])=>_0x454006[_0x23077b(0x149)]>0x0&&_0x2c8fdb(_0x354e3e));}function _0x2c8fdb(_0x1730f1){const _0x535b0d=_0x5d1a43;return!_0x1730f1||typeof _0x1730f1!=_0x535b0d(0x199)||!_0x29060d(_0x1730f1,['formula',_0x535b0d(0x111),'lastValue'])||!(_0x535b0d(0xcc)in _0x1730f1)||typeof _0x1730f1[_0x535b0d(0xcc)]!='string'||!_0x1730f1[_0x535b0d(0xcc)][_0x535b0d(0x179)]()||_0x535b0d(0x111)in _0x1730f1&&_0x1730f1['numberFormat']!=null&&(typeof _0x1730f1[_0x535b0d(0x111)]!=_0x535b0d(0x199)||!_0x29060d(_0x1730f1[_0x535b0d(0x111)],[_0x535b0d(0x194)])||!(_0x535b0d(0x194)in _0x1730f1['numberFormat'])||typeof _0x1730f1[_0x535b0d(0x111)][_0x535b0d(0x194)]!=_0x535b0d(0x16c))?!0x1:!(_0x535b0d(0x1df)in _0x1730f1)||_0x1730f1[_0x535b0d(0x1df)]==null||_0x162adb(_0x1730f1['lastValue']);}function _0x162adb(_0x411f57){const _0x180516=_0x5d1a43;return!_0x411f57||typeof _0x411f57!='object'||!_0x29060d(_0x411f57,['v','t',_0x180516(0x194)])||!('v'in _0x411f57)||_0x411f57['v']!==null&&typeof _0x411f57['v']!=_0x180516(0x16c)&&typeof _0x411f57['v']!=_0x180516(0x13e)&&typeof _0x411f57['v']!='boolean'||'t'in _0x411f57&&_0x411f57['t']!=null&&!_0x1037f0(_0x411f57['t'])?!0x1:!(_0x180516(0x194)in _0x411f57)||_0x411f57[_0x180516(0x194)]==null||typeof _0x411f57[_0x180516(0x194)]==_0x180516(0x16c);}function _0x29060d(_0x5d980f,_0x7fcda5){const _0x1d7496=_0x5d1a43;let _0x35fb3d=new Set(_0x7fcda5);return Object[_0x1d7496(0x1be)](_0x5d980f)[_0x1d7496(0xa9)](_0x2a85bb=>_0x35fb3d[_0x1d7496(0x160)](_0x2a85bb));}function _0x1037f0(_0x3cff2c){const _0x1338fe=_0x5d1a43;return typeof _0x3cff2c==_0x1338fe(0x13e)&&Object[_0x1338fe(0x1e9)](_0x198dff[_0x1338fe(0x158)])['includes'](_0x3cff2c);}let _0x3bfb62=new Set([_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0x100)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x18b)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x1f5)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x13d)],_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0x1b1)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x181)],_0x198dff[_0x5d1a43(0xe1)]['TABLE_END'],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0xde)],_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0x13f)],_0x198dff['DataStreamTreeTokenType'][_0x5d1a43(0x123)],_0x198dff[_0x5d1a43(0xe1)]['COLUMN_GROUP_END'],_0x198dff[_0x5d1a43(0xe1)]['BLOCK_START'],_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0xdc)],_0x198dff[_0x5d1a43(0xe1)][_0x5d1a43(0x195)]]);var _0x428807=class extends Error{constructor(){const _0x5ee152=_0x5d1a43;super(_0x5ee152(0x142));}};function _0x4452fa(_0x4f7dee){const _0x33918f=_0x5d1a43;var _0x35bd38,_0x58e128;let _0x391297=_0x198dff['Tools']['deepClone'](_0x4f7dee[_0x33918f(0x1c8)]),_0x4dbcae=_0x1c5831(_0x391297),{startOffset:_0xeff387,endOffset:_0x3666de}=_0x193170(_0x4dbcae,_0x4f7dee['startOffset'],_0x4f7dee['endOffset']);_0x1a7f02(_0x4dbcae,_0xeff387,_0x3666de);let _0x31163c=((_0x35bd38=_0x4dbcae['customRanges'])==null?void 0x0:_0x35bd38['filter'](_0x3426ed=>{const _0x1fe13c=_0x33918f;if(!_0x1d4100(_0x3426ed))return!0x1;let _0x5105bc=(0x0,_0x198dff['getCustomRangeInterval'])(_0x3426ed);return _0x5105bc['endOffset']>_0xeff387&&_0x5105bc[_0x1fe13c(0x1c4)]<_0x3666de;})[_0x33918f(0x1ee)](_0x117c53=>_0x117c53[_0x33918f(0xf5)]))??[];_0xf23fd1(_0x4dbcae,_0xeff387,_0x3666de,''),_0x4dbcae[_0x33918f(0xe9)]=[...((_0x58e128=_0x4dbcae[_0x33918f(0xe9)])==null?void 0x0:_0x58e128[_0x33918f(0x1f6)](_0x51a55e=>!_0x31163c['includes'](_0x51a55e[_0x33918f(0xf5)])&&_0x51a55e['rangeId']!==_0x4f7dee[_0x33918f(0xf5)]))??[],_0x2ef4bc(_0x4f7dee[_0x33918f(0xf5)],_0xeff387)][_0x33918f(0x128)]((_0x3b42ab,_0x356c32)=>_0x3b42ab['startIndex']-_0x356c32[_0x33918f(0xb0)]);let _0x362288=_0x14187b(_0x4f7dee[_0x33918f(0x1d6)]);return _0x31163c[_0x33918f(0x1a0)](_0xd2e95a=>{const _0x40afda=_0x33918f;delete _0x362288[_0x40afda(0xaf)][_0xd2e95a];}),_0x362288[_0x33918f(0xaf)][_0x4f7dee[_0x33918f(0xf5)]]=_0x198dff[_0x33918f(0x1d0)]['deepClone'](_0x4f7dee[_0x33918f(0x177)]),{'nextDocumentData':_0x391297,'nextResource':_0x362288,'cursorOffset':_0xeff387+0x1};}function _0x4d5377(_0x13f999){const _0x32dbbd=_0x5d1a43;var _0x3a3518,_0x47dd5b;let _0x2118b1=_0x198dff[_0x32dbbd(0x1d0)][_0x32dbbd(0xae)](_0x13f999[_0x32dbbd(0x1c8)]),_0x378200=(_0x3a3518=_0x1c5831(_0x2118b1)[_0x32dbbd(0xe9)])==null?void 0x0:_0x3a3518['find'](_0x10d4e4=>_0x10d4e4['rangeId']===_0x13f999[_0x32dbbd(0xf5)]&&_0x1d4100(_0x10d4e4));if(!_0x378200||!((_0x47dd5b=_0x13f999[_0x32dbbd(0x1d6)])!=null&&_0x47dd5b[_0x32dbbd(0xaf)][_0x13f999['rangeId']]))return null;let _0x36a8b3=_0x14187b(_0x13f999[_0x32dbbd(0x1d6)]);return _0x36a8b3[_0x32dbbd(0xaf)][_0x13f999[_0x32dbbd(0xf5)]]=_0x198dff['Tools'][_0x32dbbd(0xae)](_0x13f999[_0x32dbbd(0x177)]),{'nextDocumentData':_0x2118b1,'nextResource':_0x36a8b3,'cursorOffset':_0x378200[_0x32dbbd(0x171)]+0x1};}function _0x206593(_0x5ebb38){const _0x229d67=_0x5d1a43;let _0x1834ce=_0x198dff[_0x229d67(0x1d0)][_0x229d67(0xae)](_0x5ebb38[_0x229d67(0x1c8)]),_0x108083=_0x2ee4f9(_0x1834ce,_0x5ebb38[_0x229d67(0xf5)],_0x5ebb38['text']??'');if(_0x108083==null)return null;let _0x48cd50=_0x14187b(_0x5ebb38[_0x229d67(0x1d6)]);return delete _0x48cd50['formulas'][_0x5ebb38['rangeId']],{'nextDocumentData':_0x1834ce,'nextResource':_0x48cd50,'cursorOffset':_0x108083};}function _0x143ae8(_0x30661a,_0x22c468){const _0x4a36a6=_0x5d1a43;var _0x23f538;let _0x437721=_0x198dff[_0x4a36a6(0x1d0)][_0x4a36a6(0xae)](_0x30661a),_0x10ec68=_0x437721[_0x4a36a6(0xeb)];if(!_0x10ec68)return _0x437721;let _0x1b849a=new Map(_0x22c468[_0x4a36a6(0x1ee)](_0x1c6ea0=>[_0x1c6ea0[_0x4a36a6(0xf5)],_0x1c6ea0[_0x4a36a6(0x105)]])),_0x4d70d6=((_0x23f538=_0x10ec68['customRanges'])==null?void 0x0:_0x23f538['filter'](_0x3ba490=>_0x1d4100(_0x3ba490)&&_0x1b849a['has'](_0x3ba490[_0x4a36a6(0xf5)]))['sort']((_0x144e24,_0x1471e7)=>_0x1471e7['startIndex']-_0x144e24[_0x4a36a6(0xb0)]))??[];for(let _0x31515d of _0x4d70d6)_0x2ee4f9(_0x437721,_0x31515d[_0x4a36a6(0xf5)],_0x1b849a[_0x4a36a6(0xe7)](_0x31515d[_0x4a36a6(0xf5)])??'');return _0x437721;}function _0x1d4100(_0x4a291e){const _0x3655ac=_0x5d1a43;var _0x322e99;return(_0x4a291e==null?void 0x0:_0x4a291e['rangeType'])===_0x198dff[_0x3655ac(0x1d9)]['CUSTOM']&&_0x4a291e[_0x3655ac(0x173)]===!0x0&&((_0x322e99=_0x4a291e[_0x3655ac(0x1cf)])==null?void 0x0:_0x322e99['kind'])===_0x3655ac(0x15c);}function _0x10498e(_0x4a6b5c,_0x1667da){const _0x46506d=_0x5d1a43;var _0x12bd2c;return _0x4a6b5c==null||(_0x12bd2c=_0x4a6b5c[_0x46506d(0xe9)])==null?void 0x0:_0x12bd2c[_0x46506d(0x1a2)](_0x242482=>_0x242482[_0x46506d(0xf5)]===_0x1667da&&_0x1d4100(_0x242482));}function _0x1a7f02(_0x8ab09a,_0x50baf1,_0x1245e4){const _0x388230=_0x5d1a43;if(_0x50baf1===_0x1245e4){if(_0x3bfb62[_0x388230(0x160)](_0x8ab09a[_0x388230(0xf2)][_0x50baf1]))throw new _0x428807();return;}for(let _0x29236c=_0x50baf1;_0x29236c<_0x1245e4;_0x29236c++)if(_0x8ab09a['dataStream'][_0x29236c]===_0x198dff['DataStreamTreeTokenType'][_0x388230(0x14b)]||_0x3bfb62['has'](_0x8ab09a[_0x388230(0xf2)][_0x29236c]))throw new _0x428807();}function _0x2ef4bc(_0x494fd3,_0x39beca){const _0x3ff0b3=_0x5d1a43;return{'startIndex':_0x39beca,'endIndex':_0x39beca,'rangeId':_0x494fd3,'rangeType':_0x198dff[_0x3ff0b3(0x1d9)][_0x3ff0b3(0x11e)],'wholeEntity':!0x0,'properties':{'kind':_0x5af56f}};}function _0x14187b(_0x3fbed4){const _0x278120=_0x5d1a43;return _0x3fbed4?_0x198dff[_0x278120(0x1d0)][_0x278120(0xae)](_0x3fbed4):_0x2a5f69();}function _0x193170(_0x1d0dd1,_0x470216,_0x1b4101){const _0x571a11=_0x5d1a43;let _0x260f92=_0x2b59c1(_0x1d0dd1),_0x19c2df=_0x470216??_0x260f92,_0x325c42=_0x1b4101??_0x19c2df;return{'startOffset':_0x528ea4(Math[_0x571a11(0x129)](_0x19c2df,_0x325c42),_0x260f92),'endOffset':_0x528ea4(Math[_0x571a11(0x10b)](_0x19c2df,_0x325c42),_0x260f92)};}function _0x528ea4(_0x34a75d,_0x28458d){const _0x106981=_0x5d1a43;return Math['max'](0x0,Math[_0x106981(0x129)](_0x34a75d,_0x28458d));}function _0x2b59c1(_0x278d9a){const _0x5cefd4=_0x5d1a43;return _0x278d9a[_0x5cefd4(0xf2)]['endsWith'](''+_0x198dff['DataStreamTreeTokenType']['PARAGRAPH']+_0x198dff[_0x5cefd4(0xe1)]['SECTION_BREAK'])?Math[_0x5cefd4(0x10b)](0x0,_0x278d9a[_0x5cefd4(0xf2)][_0x5cefd4(0x149)]-0x2):_0x278d9a[_0x5cefd4(0xf2)][_0x5cefd4(0x1bf)](_0x198dff['DataStreamTreeTokenType'][_0x5cefd4(0x100)])?Math[_0x5cefd4(0x10b)](0x0,_0x278d9a[_0x5cefd4(0xf2)]['length']-0x1):_0x278d9a[_0x5cefd4(0xf2)][_0x5cefd4(0x149)];}function _0xf23fd1(_0x1d237b,_0x5416f2,_0x6cfa72,_0x382a9b){_0x6cfa72>_0x5416f2&&_0x4b1ecb(_0x1d237b,_0x5416f2,_0x6cfa72),_0x354e41(_0x1d237b,_0x5416f2,_0x382a9b);}function _0x2ee4f9(_0x55713f,_0x26d68a,_0x5424f8){const _0x8db7f0=_0x5d1a43;var _0x553305,_0x425473;let _0x6b88d0=_0x1c5831(_0x55713f),_0x25bc19=(_0x553305=_0x6b88d0[_0x8db7f0(0xe9)])==null?void 0x0:_0x553305['find'](_0x39d21c=>_0x39d21c[_0x8db7f0(0xf5)]===_0x26d68a&&_0x1d4100(_0x39d21c));if(!_0x25bc19)return null;let _0x5b6458=(0x0,_0x198dff[_0x8db7f0(0x1c6)])(_0x25bc19);return _0xf23fd1(_0x6b88d0,_0x5b6458[_0x8db7f0(0x1c4)],_0x5b6458['endOffset'],_0x5424f8),_0x6b88d0[_0x8db7f0(0xe9)]=(_0x425473=_0x6b88d0['customRanges'])==null?void 0x0:_0x425473[_0x8db7f0(0x1f6)](_0x5cbb09=>_0x5cbb09[_0x8db7f0(0xf5)]!==_0x26d68a),_0x5b6458[_0x8db7f0(0x1c4)]+_0x5424f8['length'];}function _0x354e41(_0x420a91,_0x1b39da,_0x2b9172){const _0x31d0f0=_0x5d1a43;_0x2b9172&&(_0x420a91['dataStream']=''+_0x420a91[_0x31d0f0(0xf2)][_0x31d0f0(0xc6)](0x0,_0x1b39da)+_0x2b9172+_0x420a91[_0x31d0f0(0xf2)]['slice'](_0x1b39da),_0x2bb807(_0x420a91,_0x1b39da,_0x2b9172[_0x31d0f0(0x149)]));}function _0x4b1ecb(_0x2dbb15,_0x2cb9e9,_0x28b905){const _0x36a0e5=_0x5d1a43;let _0x417f33=_0x28b905-_0x2cb9e9;_0x2dbb15['dataStream']=''+_0x2dbb15['dataStream'][_0x36a0e5(0xc6)](0x0,_0x2cb9e9)+_0x2dbb15[_0x36a0e5(0xf2)][_0x36a0e5(0xc6)](_0x28b905),_0x1c0fc8(_0x2dbb15,_0x2cb9e9,_0x417f33);}function _0x2bb807(_0x4b5ba5,_0x49b568,_0x1b597b){const _0x1929ea=_0x5d1a43;_0x4b5ba5['paragraphs']=_0x1b5414(_0x4b5ba5[_0x1929ea(0x196)],_0x49b568,_0x1b597b),_0x4b5ba5[_0x1929ea(0x1f9)]=_0x1b5414(_0x4b5ba5['sectionBreaks'],_0x49b568,_0x1b597b),_0x4b5ba5[_0x1929ea(0x161)]=_0x1b5414(_0x4b5ba5[_0x1929ea(0x161)],_0x49b568,_0x1b597b),_0x4b5ba5['textRuns']=_0x23e7ee(_0x4b5ba5[_0x1929ea(0x168)],_0x49b568,_0x1b597b),_0x4b5ba5['tables']=_0x43a94d(_0x4b5ba5[_0x1929ea(0x15a)],_0x49b568,_0x1b597b),_0x4b5ba5['columnGroups']=_0x24376d(_0x4b5ba5[_0x1929ea(0x1b9)],_0x49b568,_0x1b597b),_0x4b5ba5[_0x1929ea(0xe9)]=_0x24376d(_0x4b5ba5[_0x1929ea(0xe9)],_0x49b568,_0x1b597b),_0x4b5ba5[_0x1929ea(0xf3)]=_0x24376d(_0x4b5ba5[_0x1929ea(0xf3)],_0x49b568,_0x1b597b),_0x4b5ba5['blockRanges']=_0x24376d(_0x4b5ba5['blockRanges'],_0x49b568,_0x1b597b);}function _0x1c0fc8(_0xe0cc5e,_0x5707ef,_0x1fc371){const _0xbde1f3=_0x5d1a43;var _0xfccffa,_0x526256;_0xe0cc5e[_0xbde1f3(0x196)]=_0x861208(_0xe0cc5e[_0xbde1f3(0x196)],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0x1f9)]=_0x861208(_0xe0cc5e[_0xbde1f3(0x1f9)],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0x161)]=_0x861208(_0xe0cc5e[_0xbde1f3(0x161)],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0x168)]=(_0xfccffa=_0x52a4fa((_0x526256=_0xe0cc5e[_0xbde1f3(0x168)])==null?void 0x0:_0x526256[_0xbde1f3(0x1ee)](_0x46ba21=>({..._0x46ba21,'startIndex':_0x46ba21['st'],'endIndex':_0x46ba21['ed']})),_0x5707ef,_0x1fc371))==null?void 0x0:_0xfccffa[_0xbde1f3(0x1ee)](_0x343dae=>{let {startIndex:_0x399917,endIndex:_0x31e474,..._0x5a0e63}=_0x343dae;return{..._0x5a0e63,'st':_0x399917,'ed':_0x31e474};}),_0xe0cc5e[_0xbde1f3(0x15a)]=_0x52a4fa(_0xe0cc5e['tables'],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0x1b9)]=_0x3cc4d7(_0xe0cc5e['columnGroups'],_0x5707ef,_0x1fc371),_0xe0cc5e[_0xbde1f3(0xe9)]=_0x3cc4d7(_0xe0cc5e[_0xbde1f3(0xe9)],_0x5707ef,_0x1fc371),_0xe0cc5e['customDecorations']=_0x3cc4d7(_0xe0cc5e[_0xbde1f3(0xf3)],_0x5707ef,_0x1fc371),_0xe0cc5e['blockRanges']=_0x3cc4d7(_0xe0cc5e[_0xbde1f3(0x1ac)],_0x5707ef,_0x1fc371);}function _0x1b5414(_0x4b20b7,_0x38da92,_0xf339d6){const _0x5be6c7=_0x5d1a43;return _0x4b20b7==null?void 0x0:_0x4b20b7[_0x5be6c7(0x1ee)](_0xed3c30=>_0xed3c30[_0x5be6c7(0xb0)]>=_0x38da92?{..._0xed3c30,'startIndex':_0xed3c30[_0x5be6c7(0xb0)]+_0xf339d6}:_0xed3c30);}function _0x861208(_0x156c1e,_0x1f5b23,_0x4c581e){const _0x1f7a4a=_0x5d1a43;let _0x166c7f=_0x1f5b23+_0x4c581e;return _0x156c1e==null?void 0x0:_0x156c1e['map'](_0x46d9b4=>_0x46d9b4[_0x1f7a4a(0xb0)]>=_0x1f5b23&&_0x46d9b4[_0x1f7a4a(0xb0)]<_0x166c7f?null:_0x46d9b4[_0x1f7a4a(0xb0)]>=_0x166c7f?{..._0x46d9b4,'startIndex':_0x46d9b4[_0x1f7a4a(0xb0)]-_0x4c581e}:_0x46d9b4)[_0x1f7a4a(0x1f6)](_0x3d3af9=>_0x3d3af9!=null);}function _0x23e7ee(_0x10505e,_0x58929a,_0x4d7c71){const _0x56c0b0=_0x5d1a43;return _0x10505e==null?void 0x0:_0x10505e[_0x56c0b0(0x1ee)](_0x69a15e=>_0x69a15e['st']>=_0x58929a?{..._0x69a15e,'st':_0x69a15e['st']+_0x4d7c71,'ed':_0x69a15e['ed']+_0x4d7c71}:_0x69a15e['ed']>_0x58929a?{..._0x69a15e,'ed':_0x69a15e['ed']+_0x4d7c71}:_0x69a15e);}function _0x24376d(_0x1b5e32,_0x498459,_0x4f61ed){const _0x1129fc=_0x5d1a43;return _0x1b5e32==null?void 0x0:_0x1b5e32[_0x1129fc(0x1ee)](_0x4d6e1d=>(0x0,_0x198dff[_0x1129fc(0x14f)])(_0x4d6e1d,_0x498459,_0x4f61ed));}function _0x43a94d(_0x531394,_0x2f9184,_0x3379dd){const _0x28c4d9=_0x5d1a43;return _0x531394==null?void 0x0:_0x531394[_0x28c4d9(0x1ee)](_0x32ae25=>(0x0,_0x198dff['shiftExclusiveRangeOnInsert'])(_0x32ae25,_0x2f9184,_0x3379dd));}function _0x3cc4d7(_0x3c0457,_0x431c48,_0x527d2f){const _0x55a95d=_0x5d1a43;return _0x3c0457==null?void 0x0:_0x3c0457[_0x55a95d(0x1ee)](_0x38149f=>(0x0,_0x198dff[_0x55a95d(0xb1)])(_0x38149f,_0x431c48,_0x527d2f))['filter'](_0x4e6268=>_0x4e6268!=null);}function _0x52a4fa(_0x6e3050,_0xa517b7,_0x3bf7e5){const _0x44ee35=_0x5d1a43;return _0x6e3050==null?void 0x0:_0x6e3050[_0x44ee35(0x1ee)](_0x1cc600=>(0x0,_0x198dff[_0x44ee35(0xc7)])(_0x1cc600,_0xa517b7,_0x3bf7e5))[_0x44ee35(0x1f6)](_0x3030dd=>_0x3030dd!=null);}function _0x1c5831(_0x36feb0){const _0x4e253b=_0x5d1a43;if(!_0x36feb0[_0x4e253b(0xeb)])throw Error('Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.');return _0x36feb0[_0x4e253b(0xeb)];}function _0x53bf5a(_0x43f5cb){'@babel/helpers - typeof';const _0x52c31f=_0x5d1a43;return _0x53bf5a=typeof Symbol==_0x52c31f(0x109)&&typeof Symbol[_0x52c31f(0xd0)]==_0x52c31f(0x1c5)?function(_0x461b74){return typeof _0x461b74;}:function(_0x3f22e0){const _0xcb18c0=_0x52c31f;return _0x3f22e0&&typeof Symbol=='function'&&_0x3f22e0[_0xcb18c0(0x114)]===Symbol&&_0x3f22e0!==Symbol[_0xcb18c0(0xfd)]?'symbol':typeof _0x3f22e0;},_0x53bf5a(_0x43f5cb);}function _0x4bb23a(_0x4a511f,_0x473b99){const _0x413c0d=_0x5d1a43;if(_0x53bf5a(_0x4a511f)!='object'||!_0x4a511f)return _0x4a511f;var _0x4d5f9b=_0x4a511f[Symbol[_0x413c0d(0x1e1)]];if(_0x4d5f9b!==void 0x0){var _0x2d5629=_0x4d5f9b[_0x413c0d(0x1d1)](_0x4a511f,_0x473b99||_0x413c0d(0xed));if(_0x53bf5a(_0x2d5629)!=_0x413c0d(0x199))return _0x2d5629;throw TypeError(_0x413c0d(0xe6));}return(_0x473b99===_0x413c0d(0x16c)?String:Number)(_0x4a511f);}function _0x2d00f4(_0x310a00){const _0x5dcdde=_0x5d1a43;var _0x1605e3=_0x4bb23a(_0x310a00,_0x5dcdde(0x16c));return _0x53bf5a(_0x1605e3)==_0x5dcdde(0x1c5)?_0x1605e3:_0x1605e3+'';}function _0x8d49c1(_0x5ae0c4,_0x4bdea8,_0x1a855d){return(_0x4bdea8=_0x2d00f4(_0x4bdea8))in _0x5ae0c4?Object['defineProperty'](_0x5ae0c4,_0x4bdea8,{'value':_0x1a855d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5ae0c4[_0x4bdea8]=_0x1a855d,_0x5ae0c4;}var _0x12d8e9=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(..._0x50f88e){const _0x226dc2=_0x5d1a43;super(..._0x50f88e),_0x8d49c1(this,_0x226dc2(0xbd),new Map()),_0x8d49c1(this,'_rawResources',new Map()),_0x8d49c1(this,_0x226dc2(0x1a7),new Map()),_0x8d49c1(this,_0x226dc2(0x1bd),new _0x104340[(_0x226dc2(0x180))]()),_0x8d49c1(this,_0x226dc2(0x1af),this[_0x226dc2(0x1bd)][_0x226dc2(0xcd)]());}[_0x5d1a43(0x12d)](_0x191be1,_0x3333df){const _0x183ae2=_0x5d1a43;var _0x5a4f1f;let _0x54b016=(_0x5a4f1f=this[_0x183ae2(0xbd)]['get'](_0x191be1))==null?void 0x0:_0x5a4f1f['formulas'][_0x3333df];return _0x54b016?_0x198dff[_0x183ae2(0x1d0)]['deepClone'](_0x54b016):void 0x0;}[_0x5d1a43(0x1dd)](_0x348329){const _0x17ea40=_0x5d1a43;var _0x4a1770;return _0x198dff[_0x17ea40(0x1d0)][_0x17ea40(0xae)](((_0x4a1770=this[_0x17ea40(0xbd)][_0x17ea40(0xe7)](_0x348329))==null?void 0x0:_0x4a1770[_0x17ea40(0xaf)])??{});}['getResource'](_0x5d9ff7){const _0x2131e5=_0x5d1a43;let _0x16caea=this[_0x2131e5(0xbd)]['get'](_0x5d9ff7);return _0x16caea?_0x198dff['Tools']['deepClone'](_0x16caea):void 0x0;}['setFormula'](_0x4a691b,_0x4118a2,_0x41024b){const _0x106e27=_0x5d1a43;return this[_0x106e27(0x110)](_0x4a691b,{[_0x4118a2]:_0x41024b});}[_0x5d1a43(0x12e)](_0x25be8a,_0x364486){const _0x44843b=_0x5d1a43;return this[_0x44843b(0x1a7)][_0x44843b(0x160)](_0x25be8a)||!_0xca39c2(_0x364486)?!0x1:(this[_0x44843b(0xbd)]['set'](_0x25be8a,_0x198dff[_0x44843b(0x1d0)][_0x44843b(0xae)](_0x364486)),this[_0x44843b(0x1bd)][_0x44843b(0xb5)]({'unitId':_0x25be8a}),!0x0);}['setFormulas'](_0x284dc5,_0x40ccd9){const _0x599cda=_0x5d1a43;if(this[_0x599cda(0x1a7)]['has'](_0x284dc5)||!Object['keys'](_0x40ccd9)['length']||!_0xca39c2({'schemaVersion':0x1,'formulas':_0x40ccd9}))return!0x1;let _0x38e372=this[_0x599cda(0xbd)][_0x599cda(0xe7)](_0x284dc5)??_0x2a5f69(),_0x148557=_0x198dff['Tools']['deepClone'](_0x38e372);return Object['assign'](_0x148557['formulas'],_0x198dff[_0x599cda(0x1d0)]['deepClone'](_0x40ccd9)),this[_0x599cda(0xbd)][_0x599cda(0x153)](_0x284dc5,_0x148557),this[_0x599cda(0x1bd)][_0x599cda(0xb5)]({'unitId':_0x284dc5,'rangeIds':Object[_0x599cda(0x1be)](_0x40ccd9)}),!0x0;}['removeFormula'](_0x4513e8,_0x386328){const _0x16b723=_0x5d1a43;if(this[_0x16b723(0x1a7)][_0x16b723(0x160)](_0x4513e8))return!0x1;let _0x58e470=this['_resources']['get'](_0x4513e8);if(!(_0x58e470!=null&&_0x58e470[_0x16b723(0xaf)][_0x386328]))return!0x1;let _0x1c4fc0=_0x198dff[_0x16b723(0x1d0)][_0x16b723(0xae)](_0x58e470);return delete _0x1c4fc0[_0x16b723(0xaf)][_0x386328],this['_resources']['set'](_0x4513e8,_0x1c4fc0),this[_0x16b723(0x1bd)][_0x16b723(0xb5)]({'unitId':_0x4513e8,'rangeIds':[_0x386328]}),!0x0;}[_0x5d1a43(0x1c7)](_0x438efb,_0xe858c){const _0x1e0e51=_0x5d1a43;return _0xe858c&&typeof _0xe858c==_0x1e0e51(0x199)&&_0x1e0e51(0x144)in _0xe858c&&_0xe858c[_0x1e0e51(0x144)]!==0x1?(this['_preserveInvalid'](_0x438efb,_0xe858c,'unsupported-version'),!0x1):_0xca39c2(_0xe858c)?(this[_0x1e0e51(0xbd)][_0x1e0e51(0x153)](_0x438efb,_0x198dff[_0x1e0e51(0x1d0)]['deepClone'](_0xe858c)),this[_0x1e0e51(0xe2)][_0x1e0e51(0x1e4)](_0x438efb),this[_0x1e0e51(0x1a7)][_0x1e0e51(0x1e4)](_0x438efb),this[_0x1e0e51(0x1bd)][_0x1e0e51(0xb5)]({'unitId':_0x438efb}),!0x0):(this[_0x1e0e51(0xab)](_0x438efb,_0xe858c,_0x1e0e51(0x17a)),!0x1);}['serialize'](_0x12c7c1){const _0x1294c6=_0x5d1a43;let _0xe09098=this[_0x1294c6(0xbd)][_0x1294c6(0xe7)](_0x12c7c1);return _0xe09098?_0x198dff[_0x1294c6(0x1d0)][_0x1294c6(0xae)](_0xe09098):this[_0x1294c6(0xe2)]['has'](_0x12c7c1)?_0x198dff[_0x1294c6(0x1d0)][_0x1294c6(0xae)](this[_0x1294c6(0xe2)][_0x1294c6(0xe7)](_0x12c7c1)):_0x2a5f69();}[_0x5d1a43(0x1c9)](_0x16bc64){const _0x221f6b=_0x5d1a43;return this[_0x221f6b(0x1a7)][_0x221f6b(0xe7)](_0x16bc64);}[_0x5d1a43(0x1f1)](_0x25891e){const _0x4ee3aa=_0x5d1a43;this[_0x4ee3aa(0xbd)]['delete'](_0x25891e),this[_0x4ee3aa(0xe2)]['delete'](_0x25891e),this[_0x4ee3aa(0x1a7)][_0x4ee3aa(0x1e4)](_0x25891e),this['_change$'][_0x4ee3aa(0xb5)]({'unitId':_0x25891e});}[_0x5d1a43(0x170)](){const _0x9f1c59=_0x5d1a43;this[_0x9f1c59(0xbd)][_0x9f1c59(0x162)](),this[_0x9f1c59(0xe2)][_0x9f1c59(0x162)](),this[_0x9f1c59(0x1a7)][_0x9f1c59(0x162)](),this['_change$']['complete'](),super[_0x9f1c59(0x170)]();}[_0x5d1a43(0xab)](_0x5ab332,_0x4a999a,_0x57257d){const _0x20d24d=_0x5d1a43;this[_0x20d24d(0xbd)]['delete'](_0x5ab332),this[_0x20d24d(0xe2)][_0x20d24d(0x153)](_0x5ab332,_0x198dff['Tools'][_0x20d24d(0xae)](_0x4a999a)),this['_loadErrors'][_0x20d24d(0x153)](_0x5ab332,_0x57257d),this[_0x20d24d(0x1bd)][_0x20d24d(0xb5)]({'unitId':_0x5ab332});}};let _0x205351=function(_0x39a960){const _0x327119=_0x5d1a43;return _0x39a960['EMPTY']='empty',_0x39a960[_0x327119(0x101)]=_0x327119(0x16a),_0x39a960['SUCCESS']=_0x327119(0x11f),_0x39a960[_0x327119(0xc9)]=_0x327119(0x193),_0x39a960;}({});function _0xbc127b(_0x3b15e7,_0x3ec770){return function(_0x14e066,_0xfdabb3){_0x3ec770(_0x14e066,_0xfdabb3,_0x3b15e7);};}function _0x40a925(_0x477b61,_0x15e0ca,_0x252ca9,_0x10e057){const _0x46c49c=_0x5d1a43;var _0x431166=arguments[_0x46c49c(0x149)],_0x44015e=_0x431166<0x3?_0x15e0ca:_0x10e057===null?_0x10e057=Object['getOwnPropertyDescriptor'](_0x15e0ca,_0x252ca9):_0x10e057,_0x57390b;if(typeof Reflect==_0x46c49c(0x199)&&typeof Reflect[_0x46c49c(0x116)]=='function')_0x44015e=Reflect['decorate'](_0x477b61,_0x15e0ca,_0x252ca9,_0x10e057);else{for(var _0x1ecc00=_0x477b61[_0x46c49c(0x149)]-0x1;_0x1ecc00>=0x0;_0x1ecc00--)(_0x57390b=_0x477b61[_0x1ecc00])&&(_0x44015e=(_0x431166<0x3?_0x57390b(_0x44015e):_0x431166>0x3?_0x57390b(_0x15e0ca,_0x252ca9,_0x44015e):_0x57390b(_0x15e0ca,_0x252ca9))||_0x44015e);}return _0x431166>0x3&&_0x44015e&&Object[_0x46c49c(0x1a9)](_0x15e0ca,_0x252ca9,_0x44015e),_0x44015e;}let _0x25e891=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x35e665,_0xd1d4ae,_0x6cbca6){const _0x127eca=_0x5d1a43;super(),this['_model']=_0x35e665,this[_0x127eca(0xd6)]=_0xd1d4ae,this[_0x127eca(0x172)]=_0x6cbca6,_0x8d49c1(this,'_registrations',new Map()),_0x8d49c1(this,'_formulaKeys',new Map()),_0x8d49c1(this,_0x127eca(0xb4),new _0x104340[(_0x127eca(0x180))]()),_0x8d49c1(this,_0x127eca(0x1f3),this['_presentationChanged$'][_0x127eca(0xcd)]()),this[_0x127eca(0x1a1)](this[_0x127eca(0xd6)][_0x127eca(0x186)][_0x127eca(0x185)](_0x571a0e=>{const _0x24324b=_0x127eca;for(let _0x3aa138 of Object['values'](_0x571a0e))for(let _0x4b5387 of Object['values'](_0x3aa138))_0x4b5387[_0x24324b(0x1a0)](_0x1707ca=>this[_0x24324b(0xee)](_0x1707ca));}));}[_0x5d1a43(0xb6)](_0x5e985a){const _0x413437=_0x5d1a43;var _0x1f8514;let _0xed3cec=_0x5e985a[_0x413437(0x134)](),_0x14cd88=((_0x1f8514=_0x5e985a[_0x413437(0x167)]()[_0x413437(0xeb)])==null||(_0x1f8514=_0x1f8514[_0x413437(0xe9)])==null?void 0x0:_0x1f8514['filter'](_0x1d4100))??[],_0x2655aa=this[_0x413437(0x147)][_0x413437(0x1dd)](_0xed3cec),_0x235e1a=new Set();for(let _0x1f1c13 of _0x14cd88){let _0x658d36=_0x2655aa[_0x1f1c13[_0x413437(0xf5)]];_0x658d36&&(_0x235e1a[_0x413437(0x182)](_0x3d76c5(_0xed3cec,_0x1f1c13[_0x413437(0xf5)])),this[_0x413437(0x133)]({'unitId':_0xed3cec,'rangeId':_0x1f1c13[_0x413437(0xf5)]},_0x658d36));}for(let _0x561676 of Array[_0x413437(0x10c)](this[_0x413437(0x1f8)][_0x413437(0x1e9)]()))_0x561676[_0x413437(0x152)]===_0xed3cec&&!_0x235e1a[_0x413437(0x160)](_0x3d76c5(_0x561676[_0x413437(0x152)],_0x561676[_0x413437(0xf5)]))&&this[_0x413437(0x1e0)](_0x561676);}[_0x5d1a43(0x133)](_0x1a1678,_0x3bfc70){const _0x4b55c2=_0x5d1a43;let _0x59844e=_0x3d76c5(_0x1a1678[_0x4b55c2(0x152)],_0x1a1678[_0x4b55c2(0xf5)]),_0x2f5b43=this[_0x4b55c2(0x1f8)][_0x4b55c2(0xe7)](_0x59844e),_0x3d2b8f=this[_0x4b55c2(0x172)][_0x4b55c2(0x1b3)](_0x1a1678[_0x4b55c2(0x152)]);if(_0x2f5b43&&_0x2f5b43[_0x4b55c2(0x177)]['formula']===_0x3bfc70[_0x4b55c2(0xcc)]&&_0x2f5b43[_0x4b55c2(0x18d)]===_0x3d2b8f){_0x2f5b43['config']=_0x3bfc70;let _0x142990=_0x2f5b43[_0x4b55c2(0x19e)]?this['_registrationService'][_0x4b55c2(0xc5)](_0x2f5b43[_0x4b55c2(0x152)],_0x2f5b43[_0x4b55c2(0x152)],_0x2f5b43[_0x4b55c2(0x19e)])??void 0x0:void 0x0;_0x2f5b43[_0x4b55c2(0x1a8)]=_0x142990,this[_0x4b55c2(0x13c)](_0x59844e,_0x57b122(_0x3bfc70,_0x142990));return;}_0x2f5b43!=null&&_0x2f5b43[_0x4b55c2(0x19e)]&&this['_deleteRegistration'](_0x2f5b43);let _0x539eec={..._0x1a1678,'config':_0x3bfc70,'referenceRevision':_0x3d2b8f,'presentation':_0x57b122(_0x3bfc70,void 0x0)};if(this['_registrations'][_0x4b55c2(0x153)](_0x59844e,_0x539eec),!_0x3bfc70[_0x4b55c2(0xcc)][_0x4b55c2(0x179)]())return;let _0x26e74a=this['_registrationService'][_0x4b55c2(0x1fa)](_0x1a1678[_0x4b55c2(0x152)],_0x1a1678['unitId'],_0x3bfc70['formula'],void 0x0,{'rangeId':_0x1a1678[_0x4b55c2(0xf5)]},_0x54a5ff['OtherFormulaBizType'][_0x4b55c2(0x16d)],_0x1a1678[_0x4b55c2(0xf5)]);_0x539eec['formulaId']=_0x26e74a,this[_0x4b55c2(0x19a)][_0x4b55c2(0x153)](_0x26e74a,_0x59844e);}[_0x5d1a43(0x1e0)](_0x21c715){const _0x2399f1=_0x5d1a43;let _0x5ee851=_0x3d76c5(_0x21c715[_0x2399f1(0x152)],_0x21c715[_0x2399f1(0xf5)]),_0x7707aa=this[_0x2399f1(0x1f8)]['get'](_0x5ee851);_0x7707aa&&(this[_0x2399f1(0xc3)](_0x7707aa),this[_0x2399f1(0x1f8)][_0x2399f1(0x1e4)](_0x5ee851));}['unregisterUnit'](_0xba3c90){const _0x3bfb9c=_0x5d1a43;for(let _0x4d325a of Array[_0x3bfb9c(0x10c)](this[_0x3bfb9c(0x1f8)][_0x3bfb9c(0x1e9)]()))_0x4d325a['unitId']===_0xba3c90&&this[_0x3bfb9c(0x1e0)](_0x4d325a);}[_0x5d1a43(0x1c2)](_0x570a0d){const _0xe7e87c=_0x5d1a43;var _0x4dd5a3;return(_0x4dd5a3=this[_0xe7e87c(0x1f8)][_0xe7e87c(0xe7)](_0x3d76c5(_0x570a0d[_0xe7e87c(0x152)],_0x570a0d[_0xe7e87c(0xf5)])))==null?void 0x0:_0x4dd5a3['presentation'];}[_0x5d1a43(0x169)](_0x1f2809){const _0x4600b7=_0x5d1a43;let _0x3beba1=this['_registrations'][_0x4600b7(0xe7)](_0x3d76c5(_0x1f2809[_0x4600b7(0x152)],_0x1f2809['rangeId']));return _0x3beba1?_0x84c3bb(_0x3beba1):void 0x0;}['getRegisteredFormulas'](){const _0x283583=_0x5d1a43;return Array[_0x283583(0x10c)](this[_0x283583(0x1f8)][_0x283583(0x1e9)](),_0x1a2802=>({'identity':{'unitId':_0x1a2802[_0x283583(0x152)],'rangeId':_0x1a2802[_0x283583(0xf5)]},'config':_0x1a2802[_0x283583(0x177)],'referenceRevision':_0x1a2802['referenceRevision'],..._0x1a2802[_0x283583(0x1a8)]?{'liveResult':_0x1a2802[_0x283583(0x1a8)]}:null}));}[_0x5d1a43(0x170)](){const _0x2244a0=_0x5d1a43;for(let _0x1977d8 of this[_0x2244a0(0x1f8)][_0x2244a0(0x1e9)]())this[_0x2244a0(0xc3)](_0x1977d8);this[_0x2244a0(0x1f8)]['clear'](),this[_0x2244a0(0x19a)][_0x2244a0(0x162)](),this[_0x2244a0(0xb4)][_0x2244a0(0xa8)](),super['dispose']();}[_0x5d1a43(0xee)](_0x408b99){const _0x3ca8bc=_0x5d1a43;let _0x1eeb41=this['_formulaKeys'][_0x3ca8bc(0xe7)](_0x408b99[_0x3ca8bc(0x19e)]),_0x5d1a35=_0x1eeb41?this['_registrations'][_0x3ca8bc(0xe7)](_0x1eeb41):void 0x0;_0x1eeb41&&_0x5d1a35&&(_0x5d1a35[_0x3ca8bc(0x1a8)]=_0x408b99,this[_0x3ca8bc(0x13c)](_0x1eeb41,_0x57b122(_0x5d1a35[_0x3ca8bc(0x177)],_0x408b99)));}[_0x5d1a43(0x13c)](_0x486baf,_0x20e442){const _0x296a1a=_0x5d1a43;var _0xd02d77,_0x2f3686;let _0x56e56c=this[_0x296a1a(0x1f8)][_0x296a1a(0xe7)](_0x486baf);if(!_0x56e56c||_0x31eff9(_0x56e56c['presentation'],_0x20e442))return;let _0x30e2d3=_0x56e56c[_0x296a1a(0xdf)],_0x275373=_0x84c3bb(_0x56e56c);_0x56e56c['presentation']=_0x20e442,this[_0x296a1a(0xb4)]['next']({'unitId':_0x56e56c['unitId'],'rangeId':_0x56e56c[_0x296a1a(0xf5)],'presentation':_0x20e442,'previousPresentation':_0x30e2d3,'result':_0x84c3bb(_0x56e56c),'previousResult':{..._0x275373,..._0x30e2d3,'value':(_0xd02d77=_0x30e2d3['cell'])==null?void 0x0:_0xd02d77['v'],'valueType':((_0x2f3686=_0x30e2d3[_0x296a1a(0x16f)])==null?void 0x0:_0x2f3686['t'])??void 0x0}});}['_deleteRegistration'](_0x12df62){const _0x55c843=_0x5d1a43;_0x12df62['formulaId']&&(this[_0x55c843(0xd6)][_0x55c843(0x15f)](_0x12df62[_0x55c843(0x152)],_0x12df62[_0x55c843(0x152)],[_0x12df62[_0x55c843(0x19e)]]),this['_formulaKeys']['delete'](_0x12df62[_0x55c843(0x19e)]));}};_0x25e891=_0x40a925([_0xbc127b(0x0,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x12d8e9)),_0xbc127b(0x1,(0x0,_0x198dff['Inject'])(_0x54a5ff[_0x5d1a43(0x12f)])),_0xbc127b(0x2,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x3e6ae0[_0x5d1a43(0x11a)]))],_0x25e891);function _0x3d76c5(_0x5818be,_0x3328a3){return _0x5818be+'\x00'+_0x3328a3;}function _0x57b122(_0x29ec91,_0x2e49f2){const _0x4b1090=_0x5d1a43;return(0x0,_0x3e6ae0['resolveFormulaResultPresentation'])({'numberFormat':_0x29ec91[_0x4b1090(0x111)],'lastValue':_0x29ec91[_0x4b1090(0x1df)],'result':_0x2e49f2});}function _0x84c3bb(_0x39dabe){const _0x5b66f3=_0x5d1a43;var _0x5c8260,_0x9d870a,_0x5c47d7;let _0x3cef82=_0x39dabe[_0x5b66f3(0xdf)],_0x2893f9=_0x39dabe['config'][_0x5b66f3(0xcc)]['trim']()?_0x3cef82['stale']||_0x3cef82['cell']==null?_0x5b66f3(0x16a):((_0x5c8260=_0x39dabe['liveResult'])==null?void 0x0:_0x5c8260[_0x5b66f3(0x1f7)])===_0x54a5ff[_0x5b66f3(0x197)][_0x5b66f3(0xc9)]?_0x5b66f3(0x193):_0x5b66f3(0x11f):_0x5b66f3(0x17b);return{..._0x3cef82,'status':_0x2893f9,'value':(_0x9d870a=_0x3cef82[_0x5b66f3(0x16f)])==null?void 0x0:_0x9d870a['v'],'valueType':((_0x5c47d7=_0x3cef82['cell'])==null?void 0x0:_0x5c47d7['t'])??void 0x0};}function _0x31eff9(_0x44453a,_0x75046c){const _0x455fe8=_0x5d1a43;var _0xc975ea,_0x3d9f94,_0x222a69,_0x170253;return _0x44453a[_0x455fe8(0x105)]===_0x75046c[_0x455fe8(0x105)]&&_0x44453a[_0x455fe8(0xc2)]===_0x75046c[_0x455fe8(0xc2)]&&_0x44453a[_0x455fe8(0x194)]===_0x75046c[_0x455fe8(0x194)]&&_0x44453a['source']===_0x75046c[_0x455fe8(0x1ad)]&&_0x44453a[_0x455fe8(0x1b8)]===_0x75046c[_0x455fe8(0x1b8)]&&((_0xc975ea=_0x44453a[_0x455fe8(0x16f)])==null?void 0x0:_0xc975ea['t'])===((_0x3d9f94=_0x75046c[_0x455fe8(0x16f)])==null?void 0x0:_0x3d9f94['t'])&&Object['is']((_0x222a69=_0x44453a[_0x455fe8(0x16f)])==null?void 0x0:_0x222a69['v'],(_0x170253=_0x75046c['cell'])==null?void 0x0:_0x170253['v']);}let _0x222ab9={'id':_0x5d1a43(0x19d),'type':_0x198dff[_0x5d1a43(0x138)]['MUTATION'],'handler':(_0x55b5f5,_0x259d76)=>!(_0x259d76!=null&&_0x259d76[_0x5d1a43(0x152)])||!_0x259d76[_0x5d1a43(0xf5)]||!_0x259d76['config']?!0x1:_0x55b5f5[_0x5d1a43(0xe7)](_0x12d8e9)[_0x5d1a43(0x157)](_0x259d76['unitId'],_0x259d76['rangeId'],_0x259d76[_0x5d1a43(0x177)])},_0x598473={'id':'docs-formula.mutation.remove-formula','type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x1ec)],'handler':(_0x282af1,_0x2e50f6)=>!(_0x2e50f6!=null&&_0x2e50f6['unitId'])||!_0x2e50f6[_0x5d1a43(0xf5)]?!0x1:_0x282af1[_0x5d1a43(0xe7)](_0x12d8e9)[_0x5d1a43(0x104)](_0x2e50f6[_0x5d1a43(0x152)],_0x2e50f6[_0x5d1a43(0xf5)])},_0x58f8fd={'id':_0x5d1a43(0xbc),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x1ec)],'handler':(_0x42155d,_0x32c6f2)=>!(_0x32c6f2!=null&&_0x32c6f2['unitId'])||!_0x32c6f2['resource']?!0x1:_0x42155d['get'](_0x12d8e9)[_0x5d1a43(0x12e)](_0x32c6f2['unitId'],_0x32c6f2['resource'])},_0x2e16ba={'id':_0x5d1a43(0x192),'type':_0x198dff['CommandType']['MUTATION'],'handler':(_0x30f038,_0x5c829c)=>{const _0x1227d1=_0x5d1a43;if(!(_0x5c829c!=null&&_0x5c829c[_0x1227d1(0x152)])||!_0x5c829c[_0x1227d1(0x17f)][_0x1227d1(0x149)])return!0x1;let _0x3adcb2=_0x30f038[_0x1227d1(0xe7)](_0x12d8e9),_0x543ea7=_0x30f038[_0x1227d1(0xe7)](_0x3e6ae0[_0x1227d1(0x11a)]),_0x502720=_0x3adcb2[_0x1227d1(0x10f)](_0x5c829c['unitId']);if(!_0x502720)return!0x1;let _0x94f303=_0x198dff[_0x1227d1(0x1d0)][_0x1227d1(0xae)](_0x502720),_0x2e8621=!0x1;for(let _0x5d29e4 of _0x5c829c['updates']){var _0x5ee001,_0x3dc634,_0x1287a4,_0x2209a9;let _0x22e5f5=_0x94f303['formulas'][_0x5d29e4[_0x1227d1(0xf5)]];_0x22e5f5&&_0x22e5f5[_0x1227d1(0xcc)]===_0x5d29e4[_0x1227d1(0xf7)]&&((_0x5ee001=_0x22e5f5[_0x1227d1(0x111)])==null?void 0x0:_0x5ee001['pattern'])===_0x5d29e4[_0x1227d1(0x145)]&&_0x543ea7['getRevision'](_0x5c829c[_0x1227d1(0x152)])===_0x5d29e4[_0x1227d1(0x151)]&&(((_0x3dc634=_0x22e5f5[_0x1227d1(0x1df)])==null?void 0x0:_0x3dc634['v'])!==_0x5d29e4[_0x1227d1(0x1df)]['v']||((_0x1287a4=_0x22e5f5[_0x1227d1(0x1df)])==null?void 0x0:_0x1287a4['t'])!==_0x5d29e4[_0x1227d1(0x1df)]['t']||((_0x2209a9=_0x22e5f5[_0x1227d1(0x1df)])==null?void 0x0:_0x2209a9[_0x1227d1(0x194)])!==_0x5d29e4['lastValue'][_0x1227d1(0x194)])&&(_0x22e5f5[_0x1227d1(0x1df)]=_0x198dff[_0x1227d1(0x1d0)][_0x1227d1(0xae)](_0x5d29e4['lastValue']),_0x2e8621=!0x0);}return!_0x2e8621||_0x3adcb2['setResource'](_0x5c829c[_0x1227d1(0x152)],_0x94f303);}},_0x4e176c={'id':_0x5d1a43(0x1d7),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x4e6822,_0x18a1bc)=>{const _0x1a0c82=_0x5d1a43;if(!(_0x18a1bc!=null&&_0x18a1bc['formula'][_0x1a0c82(0x179)]()))return!0x1;let _0x42f1a7=_0x19f0f5(_0x4e6822,_0x18a1bc[_0x1a0c82(0x152)],'');if(!_0x42f1a7)return!0x1;let _0x57e4a8=_0x336ae5(_0x18a1bc[_0x1a0c82(0x1e7)],_0x42f1a7[_0x1a0c82(0xeb)],_0x44313b(_0x4e6822,_0x42f1a7[_0x1a0c82(0x152)]));if(!_0x57e4a8)return!0x1;let _0x1f945f=_0xae9bd(_0x4e6822,_0x42f1a7['unitId'],_0x18a1bc[_0x1a0c82(0xcc)],_0x18a1bc[_0x1a0c82(0x1c3)]??[]);if(!_0x1f945f)return!0x1;let _0x5e4343=_0x3b8eac(_0x42f1a7[_0x1a0c82(0xeb)],_0x42f1a7['model'],_0x42f1a7[_0x1a0c82(0x152)]),_0x3c8c1b=_0x189dc9({'documentData':_0x42f1a7[_0x1a0c82(0x1c8)],'resource':_0x42f1a7[_0x1a0c82(0x1d6)],'rangeId':_0x5e4343,'config':{'formula':_0x18a1bc['formula'],..._0x18a1bc[_0x1a0c82(0x111)]?{'numberFormat':_0x18a1bc[_0x1a0c82(0x111)]}:null},'startOffset':_0x57e4a8[_0x1a0c82(0x1c4)],'endOffset':_0x57e4a8[_0x1a0c82(0x1a3)]});if(!_0x3c8c1b)return!0x1;let _0x475b06=(0x0,_0x3e6ae0[_0x1a0c82(0x1ca)])(_0x4e6822,_0x42f1a7[_0x1a0c82(0x152)],_0x1f945f);return!_0x475b06||!_0x482dc3({'accessor':_0x4e6822,'document':_0x42f1a7[_0x1a0c82(0x11c)],'unitId':_0x42f1a7['unitId'],'trigger':_0x4e176c['id'],'rangeId':_0x5e4343,'previousResource':_0x42f1a7['resource'],'nextResource':_0x3c8c1b[_0x1a0c82(0x1cb)],'previousDocumentData':_0x42f1a7['documentData'],'nextDocumentData':_0x3c8c1b['nextDocumentData'],'cursorOffset':_0x3c8c1b[_0x1a0c82(0x15b)],'externalMutations':_0x475b06})?!0x1:{'rangeId':_0x5e4343,'startOffset':_0x3c8c1b['cursorOffset']-0x1,'endOffset':_0x3c8c1b[_0x1a0c82(0x15b)]};}},_0x15e8cf={'id':'docs-formula.command.update','type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x5462f6,_0xcd59ae)=>{const _0xf308d2=_0x5d1a43;if(!(_0xcd59ae!=null&&_0xcd59ae['rangeId'])||!_0xcd59ae[_0xf308d2(0xcc)][_0xf308d2(0x179)]())return!0x1;let _0x4c13ca=_0x19f0f5(_0x5462f6,_0xcd59ae[_0xf308d2(0x152)],''),_0x541517=_0x4c13ca==null?void 0x0:_0x4c13ca[_0xf308d2(0x18f)][_0xf308d2(0x12d)](_0x4c13ca[_0xf308d2(0x152)],_0xcd59ae['rangeId']),_0x11ddb6=_0x4c13ca?_0x10498e(_0x4c13ca[_0xf308d2(0x1c8)][_0xf308d2(0xeb)],_0xcd59ae[_0xf308d2(0xf5)]):void 0x0;if(!_0x4c13ca||!_0x541517||!_0x11ddb6)return!0x1;let _0x5462a4=_0xae9bd(_0x5462f6,_0x4c13ca['unitId'],_0xcd59ae[_0xf308d2(0xcc)],_0xcd59ae['externalReferences']??[]);if(!_0x5462a4)return!0x1;let _0x427775=(0x0,_0x3e6ae0[_0xf308d2(0x1ca)])(_0x5462f6,_0x4c13ca[_0xf308d2(0x152)],_0x5462a4);if(!_0x427775)return!0x1;let _0x1eb057=_0x257295(_0x4c13ca['resource']);return _0x1eb057[_0xf308d2(0xaf)][_0xcd59ae[_0xf308d2(0xf5)]]={'formula':_0xcd59ae[_0xf308d2(0xcc)],..._0xcd59ae['numberFormat']?{'numberFormat':_0xcd59ae[_0xf308d2(0x111)]}:_0x541517[_0xf308d2(0x111)]?{'numberFormat':_0x541517['numberFormat']}:null},_0x482dc3({'accessor':_0x5462f6,'document':_0x4c13ca[_0xf308d2(0x11c)],'unitId':_0x4c13ca['unitId'],'trigger':_0x15e8cf['id'],'rangeId':_0xcd59ae['rangeId'],'previousResource':_0x4c13ca[_0xf308d2(0x1d6)],'nextResource':_0x1eb057,'cursorOffset':_0x11ddb6[_0xf308d2(0x171)]+0x1,'externalMutations':_0x427775});}},_0x146b8b={'id':_0x5d1a43(0xf1),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x43f6f5,_0x66bb55)=>{const _0x1aea1f=_0x5d1a43;if(!(_0x66bb55!=null&&_0x66bb55['rangeId']))return!0x1;let _0x3ce52f=_0x19f0f5(_0x43f6f5,_0x66bb55[_0x1aea1f(0x152)],''),_0x80fc5d=_0x3ce52f==null?void 0x0:_0x3ce52f[_0x1aea1f(0x18f)][_0x1aea1f(0x12d)](_0x3ce52f['unitId'],_0x66bb55[_0x1aea1f(0xf5)]),_0x28bb1f=_0x3ce52f?_0x10498e(_0x3ce52f[_0x1aea1f(0x1c8)]['body'],_0x66bb55['rangeId']):void 0x0;if(!_0x3ce52f||!_0x80fc5d||!_0x28bb1f)return!0x1;let _0x1663ed=_0x257295(_0x3ce52f['resource']);return _0x1663ed[_0x1aea1f(0xaf)][_0x66bb55['rangeId']]={..._0x80fc5d,..._0x66bb55[_0x1aea1f(0x111)]?{'numberFormat':_0x66bb55[_0x1aea1f(0x111)]}:null},_0x66bb55[_0x1aea1f(0x111)]||delete _0x1663ed[_0x1aea1f(0xaf)][_0x66bb55[_0x1aea1f(0xf5)]][_0x1aea1f(0x111)],_0x482dc3({'accessor':_0x43f6f5,'document':_0x3ce52f[_0x1aea1f(0x11c)],'unitId':_0x3ce52f['unitId'],'trigger':_0x146b8b['id'],'rangeId':_0x66bb55[_0x1aea1f(0xf5)],'previousResource':_0x3ce52f[_0x1aea1f(0x1d6)],'nextResource':_0x1663ed,'cursorOffset':_0x28bb1f[_0x1aea1f(0x171)]+0x1,'externalMutations':{}});}},_0x41b076={'id':_0x5d1a43(0xc4),'type':_0x198dff['CommandType'][_0x5d1a43(0x178)],'handler':(_0x25454d,_0x54f0c9)=>_0x46106e(_0x25454d,_0x54f0c9,'',_0x41b076['id'])},_0x2367ea={'id':_0x5d1a43(0x1e3),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x141c69,_0x3e00cc)=>_0x46106e(_0x141c69,_0x3e00cc,(_0x3e00cc==null?void 0x0:_0x3e00cc[_0x5d1a43(0x105)])??'',_0x2367ea['id'])},_0x4eac98={'id':_0x5d1a43(0xaa),'type':_0x198dff[_0x5d1a43(0x138)][_0x5d1a43(0x178)],'handler':(_0x1bcaa9,_0x131964)=>{const _0x43ea68=_0x5d1a43;if(!(_0x131964!=null&&_0x131964['rangeId']))return!0x1;let _0x189b1c=_0x19f0f5(_0x1bcaa9,_0x131964['unitId'],'');if(!_0x189b1c)return!0x1;let _0x36111f=_0x1bcaa9[_0x43ea68(0xe7)](_0x25e891)[_0x43ea68(0x169)]({'unitId':_0x189b1c[_0x43ea68(0x152)],'rangeId':_0x131964[_0x43ea68(0xf5)]});return _0x36111f?_0x46106e(_0x1bcaa9,_0x131964,_0x36111f[_0x43ea68(0x105)],_0x4eac98['id']):!0x1;}};function _0x46106e(_0x367e12,_0x4a78b7,_0x266eed,_0x2f790a){const _0x4359f3=_0x5d1a43;if(!(_0x4a78b7!=null&&_0x4a78b7[_0x4359f3(0xf5)]))return!0x1;let _0x4aad62=_0x19f0f5(_0x367e12,_0x4a78b7[_0x4359f3(0x152)],'');if(!_0x4aad62)return!0x1;let _0x43e8e0=_0x206593({'documentData':_0x4aad62[_0x4359f3(0x1c8)],'resource':_0x4aad62['resource'],'rangeId':_0x4a78b7['rangeId'],'text':_0x266eed});return _0x43e8e0?_0x482dc3({'accessor':_0x367e12,'document':_0x4aad62[_0x4359f3(0x11c)],'unitId':_0x4aad62[_0x4359f3(0x152)],'trigger':_0x2f790a,'rangeId':_0x4a78b7[_0x4359f3(0xf5)],'previousResource':_0x4aad62['resource'],'nextResource':_0x43e8e0[_0x4359f3(0x1cb)],'previousDocumentData':_0x4aad62[_0x4359f3(0x1c8)],'nextDocumentData':_0x43e8e0['nextDocumentData'],'cursorOffset':_0x43e8e0[_0x4359f3(0x15b)],'externalMutations':{}}):!0x1;}function _0x19f0f5(_0x301bc7,_0x28d703,_0x1edf69){const _0x25f1b4=_0x5d1a43;if(_0x1edf69)return null;let _0x45c52c=_0x301bc7[_0x25f1b4(0xe7)](_0x198dff[_0x25f1b4(0x1f0)]),_0x721312=(_0x28d703?_0x45c52c[_0x25f1b4(0xef)](_0x28d703,_0x198dff[_0x25f1b4(0x115)][_0x25f1b4(0x1d3)]):_0x45c52c[_0x25f1b4(0xd7)](_0x198dff[_0x25f1b4(0x115)][_0x25f1b4(0x1d3)]))??null;if(!_0x721312)return null;let _0x757dcb=_0x721312[_0x25f1b4(0x167)](),_0x46ff86=_0x757dcb[_0x25f1b4(0xeb)];if(_0x757dcb[_0x25f1b4(0x19f)]||!_0x46ff86)return null;let _0x18d4be=_0x301bc7[_0x25f1b4(0xe7)](_0x12d8e9);return _0x18d4be[_0x25f1b4(0x1c9)](_0x721312[_0x25f1b4(0x134)]())?null:{'document':_0x721312,'body':_0x46ff86,'documentData':_0x757dcb,'model':_0x18d4be,'resource':_0x18d4be['getResource'](_0x721312[_0x25f1b4(0x134)]())??_0x2a5f69(),'unitId':_0x721312[_0x25f1b4(0x134)]()};}function _0x44313b(_0x4ae7e7,_0x4a4e2d){const _0x5b4776=_0x5d1a43;var _0x5cb8cb;return(_0x5cb8cb=_0x4ae7e7[_0x5b4776(0xe7)](_0x440871[_0x5b4776(0x187)])[_0x5b4776(0xa7)]({'subUnitId':_0x4a4e2d,'unitId':_0x4a4e2d}))==null?void 0x0:_0x5cb8cb[0x0];}function _0x336ae5(_0x4f325b,_0x28191c,_0x25444c){const _0x2c147b=_0x5d1a43;if((_0x4f325b==null?void 0x0:_0x4f325b[_0x2c147b(0xec)])===_0x2c147b(0x1ae)){var _0x126a8b;let _0x2066f3=((_0x126a8b=_0x28191c['paragraphs'])==null?void 0x0:_0x126a8b[_0x2c147b(0x1f6)](_0x4cb73d=>_0x4cb73d[_0x2c147b(0x1d4)]===_0x4f325b[_0x2c147b(0x1d4)]))??[];if(_0x2066f3['length']!==0x1)return null;let _0x519196=_0x2066f3[0x0],_0x315e31=(0x0,_0x198dff[_0x2c147b(0xe3)])(_0x28191c,_0x519196),_0x158c5f=_0x519196[_0x2c147b(0xb0)]-_0x315e31,_0x4fd214=_0x4f325b[_0x2c147b(0x1dc)]==='end'?_0x158c5f:_0x4f325b[_0x2c147b(0x1dc)];if(!Number[_0x2c147b(0x1bc)](_0x4fd214)||_0x4fd214<0x0||_0x4fd214>_0x158c5f)return null;let _0x45be96=_0x315e31+_0x4fd214;return{'startOffset':_0x45be96,'endOffset':_0x45be96};}if((_0x4f325b==null?void 0x0:_0x4f325b[_0x2c147b(0xec)])===_0x2c147b(0x19c))return!Number[_0x2c147b(0x1bc)](_0x4f325b[_0x2c147b(0x1c4)])||!Number[_0x2c147b(0x1bc)](_0x4f325b[_0x2c147b(0x1a3)])?null:{'startOffset':Math['min'](_0x4f325b[_0x2c147b(0x1c4)],_0x4f325b[_0x2c147b(0x1a3)]),'endOffset':Math['max'](_0x4f325b[_0x2c147b(0x1c4)],_0x4f325b[_0x2c147b(0x1a3)])};let _0x21ba19=(_0x4f325b==null?void 0x0:_0x4f325b[_0x2c147b(0xec)])===_0x2c147b(0xd1)?_0x4f325b['selection']:_0x25444c;return!_0x21ba19||_0x21ba19['segmentId']?null:{'startOffset':Math[_0x2c147b(0x129)](_0x21ba19[_0x2c147b(0x1c4)],_0x21ba19[_0x2c147b(0x1a3)]),'endOffset':Math[_0x2c147b(0x10b)](_0x21ba19[_0x2c147b(0x1c4)],_0x21ba19[_0x2c147b(0x1a3)])};}function _0xae9bd(_0x16d327,_0x2d4cba,_0x4f440d,_0x17a773){const _0x5da2d8=_0x5d1a43;let _0x4a0605=_0x16d327[_0x5da2d8(0xe7)](_0x54a5ff[_0x5da2d8(0x17e)]),_0x30f20f=_0x4f440d[_0x5da2d8(0x190)]('=')?_0x4f440d[_0x5da2d8(0xc6)](0x1):_0x4f440d,_0x19ab0c=_0x4a0605[_0x5da2d8(0x130)](_0x30f20f);if(!_0x19ab0c)return null;let _0x5ea50b=_0x16d327[_0x5da2d8(0xe7)](_0x3e6ae0[_0x5da2d8(0x11a)]),_0x44a9a9=(0x0,_0x3e6ae0[_0x5da2d8(0xbf)])({'qualifiers':(0x0,_0x3e6ae0[_0x5da2d8(0x108)])(_0x19ab0c),'explicitReferences':_0x17a773??[],'resolveBinding':_0x3a3dfa=>_0x5ea50b[_0x5da2d8(0x124)](_0x2d4cba,_0x3a3dfa)});return _0x44a9a9[_0x5da2d8(0x1f7)]===_0x5da2d8(0xd2)?_0x44a9a9['references']:null;}function _0x3b8eac(_0xf57623,_0x2a765d,_0x27e502){const _0x44679a=_0x5d1a43;var _0x222ecc;let _0xf16689=(0x0,_0x198dff['generateRandomId'])(0x6);for(;_0xf57623!=null&&(_0x222ecc=_0xf57623['customRanges'])!=null&&_0x222ecc[_0x44679a(0x148)](_0x2b9b20=>_0x2b9b20[_0x44679a(0xf5)]===_0xf16689)||_0x2a765d[_0x44679a(0x12d)](_0x27e502,_0xf16689);)_0xf16689=(0x0,_0x198dff['generateRandomId'])(0x6);return _0xf16689;}function _0x189dc9(_0xc129a0){try{return _0x4452fa(_0xc129a0);}catch(_0x1d1719){if(_0x1d1719 instanceof _0x428807)return null;throw _0x1d1719;}}function _0x365acd(_0x19f464){const _0x8ced85=_0x5d1a43;let _0x2fec77=_0x19f464['previousDocumentData']&&_0x19f464[_0x8ced85(0x184)]?_0x116776(_0x19f464['document'],_0x19f464['unitId'],_0x19f464['previousDocumentData'],_0x19f464['nextDocumentData'],_0x19f464[_0x8ced85(0x15b)],_0x19f464[_0x8ced85(0x175)]):null;return _0x19f464[_0x8ced85(0xcf)]&&_0x19f464['nextDocumentData']&&!_0x2fec77?null:{'documentRedo':_0x2fec77,'resourceRedo':{'id':_0x58f8fd['id'],'params':{'unitId':_0x19f464[_0x8ced85(0x152)],'resource':_0x19f464[_0x8ced85(0x1cb)]}},'resourceUndo':{'id':_0x58f8fd['id'],'params':{'unitId':_0x19f464['unitId'],'resource':_0x19f464[_0x8ced85(0x15d)]}}};}function _0x55a7f7(_0x1229b3,_0x3206c1,_0x17ef1c,_0x2bd893){const _0x226f0e=_0x5d1a43;_0x2bd893[_0x226f0e(0x1c1)]({'id':_0x1229b3[_0x226f0e(0x175)]+':'+_0x1229b3['rangeId'],'unitID':_0x1229b3[_0x226f0e(0x152)],'redoMutations':[..._0x1229b3[_0x226f0e(0xda)][_0x226f0e(0x1ba)]?[_0x1229b3[_0x226f0e(0xda)]['redoMutation']]:[],..._0x3206c1['documentRedo']?[_0x3206c1[_0x226f0e(0xba)]]:[],_0x3206c1[_0x226f0e(0x1d5)]],'undoMutations':[_0x3206c1[_0x226f0e(0x1e5)],..._0x17ef1c?[_0x17ef1c]:[],..._0x1229b3['externalMutations']['undoMutation']?[_0x1229b3[_0x226f0e(0xda)]['undoMutation']]:[]]});}function _0x482dc3(_0x431f7e){const _0x5df262=_0x5d1a43;let _0x5f0ce1=_0x431f7e[_0x5df262(0xb7)][_0x5df262(0xe7)](_0x198dff[_0x5df262(0x16e)]),_0x3159d0=_0x431f7e[_0x5df262(0xb7)]['get'](_0x198dff['IUndoRedoService']),_0xf16286=_0x431f7e['accessor'][_0x5df262(0xe7)](_0x440871[_0x5df262(0x187)]),_0xa0ebb7=_0x365acd(_0x431f7e);if(!_0xa0ebb7)return!0x1;let _0x3959ae=!0x1,_0x24e1fb=null,_0x2dda97=!0x1;try{if(_0x431f7e[_0x5df262(0xda)][_0x5df262(0x1ba)]){if(!_0x5f0ce1['syncExecuteCommand'](_0x431f7e['externalMutations'][_0x5df262(0x1ba)]['id'],_0x431f7e[_0x5df262(0xda)][_0x5df262(0x1ba)][_0x5df262(0x191)]))return!0x1;_0x3959ae=!0x0;}if(_0xa0ebb7['documentRedo']){let _0xc22ac2=_0x5f0ce1[_0x5df262(0xd5)](_0xa0ebb7['documentRedo']['id'],_0xa0ebb7[_0x5df262(0xba)][_0x5df262(0x191)]);if(!_0xc22ac2)return _0x2ab4d1(_0x5f0ce1,_0x431f7e[_0x5df262(0xda)],_0x3959ae),!0x1;_0x24e1fb={'id':_0x440871[_0x5df262(0x141)]['id'],'params':{..._0xc22ac2,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x5f0ce1[_0x5df262(0xd5)](_0xa0ebb7['resourceRedo']['id'],_0xa0ebb7[_0x5df262(0x1d5)]['params']))return _0x14cab7(_0x5f0ce1,_0x24e1fb),_0x2ab4d1(_0x5f0ce1,_0x431f7e['externalMutations'],_0x3959ae),!0x1;_0x2dda97=!0x0,_0x55a7f7(_0x431f7e,_0xa0ebb7,_0x24e1fb,_0x3159d0);}catch(_0x41a611){throw _0x2dda97&&_0x5f0ce1[_0x5df262(0xd5)](_0xa0ebb7[_0x5df262(0x1e5)]['id'],_0xa0ebb7['resourceUndo'][_0x5df262(0x191)]),_0x14cab7(_0x5f0ce1,_0x24e1fb),_0x2ab4d1(_0x5f0ce1,_0x431f7e[_0x5df262(0xda)],_0x3959ae),_0x41a611;}return _0xf16286[_0x5df262(0xf6)]([{'startOffset':_0x431f7e[_0x5df262(0x15b)],'endOffset':_0x431f7e['cursorOffset'],'segmentId':''}],{'unitId':_0x431f7e[_0x5df262(0x152)],'subUnitId':_0x431f7e[_0x5df262(0x152)]},!0x1,{[_0x440871[_0x5df262(0x17c)]]:!0x0}),!0x0;}function _0x116776(_0xeb229,_0x3ba13e,_0x462e41,_0x230f78,_0x3a0173,_0x5b6ec9){const _0x4be65c=_0x5d1a43;let _0x2441a6=_0x223f9b(_0x462e41,_0x230f78,(0x0,_0x198dff[_0x4be65c(0x13b)])(_0xeb229,''));return _0x2441a6?{'id':_0x440871[_0x4be65c(0x141)]['id'],'params':{'unitId':_0x3ba13e,'actions':_0x2441a6,'segmentId':'','textRanges':[{'startOffset':_0x3a0173,'endOffset':_0x3a0173,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x5b6ec9}}:null;}function _0x14cab7(_0x1459bb,_0x48d52b){const _0x64da89=_0x5d1a43;_0x48d52b&&_0x1459bb[_0x64da89(0xd5)](_0x48d52b['id'],_0x48d52b[_0x64da89(0x191)]);}function _0x2ab4d1(_0x669168,_0x2bbb2d,_0x21e9fd){const _0x112681=_0x5d1a43;_0x21e9fd&&_0x2bbb2d[_0x112681(0xe0)]&&_0x669168[_0x112681(0xd5)](_0x2bbb2d['undoMutation']['id'],_0x2bbb2d[_0x112681(0xe0)]['params']);}function _0x223f9b(_0xf3f4f1,_0x49ffa9,_0x4314e3){const _0x27c31a=_0x5d1a43;let _0x35b4c5=_0xf3f4f1[_0x27c31a(0xeb)],_0x208286=_0x49ffa9['body'],_0xa9a229=_0x424085(_0x35b4c5==null?void 0x0:_0x35b4c5['dataStream'],_0x208286==null?void 0x0:_0x208286['dataStream']);if(!_0xa9a229||!_0x208286)return null;let _0x360bf4=new _0x198dff['TextX']();return _0x360bf4[_0x27c31a(0x1ed)](_0xa9a229[_0x27c31a(0x159)]),_0xa9a229[_0x27c31a(0x12a)]>0x0&&_0x360bf4['insert'](_0xa9a229[_0x27c31a(0x12a)],(0x0,_0x198dff[_0x27c31a(0x139)])(_0x208286,_0xa9a229[_0x27c31a(0x159)],_0xa9a229[_0x27c31a(0x159)]+_0xa9a229[_0x27c31a(0x12a)],!0x1)),_0xa9a229[_0x27c31a(0xca)]>0x0&&_0x360bf4[_0x27c31a(0x1e4)](_0xa9a229[_0x27c31a(0xca)]),_0x198dff[_0x27c31a(0x14a)]['getInstance']()[_0x27c31a(0x103)](_0x360bf4[_0x27c31a(0xdd)](),_0x4314e3);}function _0x424085(_0x1e10bf,_0x24cfb7){const _0x5db9ce=_0x5d1a43;if(_0x1e10bf==null||_0x24cfb7==null||_0x1e10bf===_0x24cfb7)return null;let _0x2163f1=0x0;for(;_0x2163f1<_0x1e10bf[_0x5db9ce(0x149)]&&_0x2163f1<_0x24cfb7[_0x5db9ce(0x149)]&&_0x1e10bf[_0x2163f1]===_0x24cfb7[_0x2163f1];)_0x2163f1+=0x1;let _0x1f29bd=_0x1e10bf[_0x5db9ce(0x149)],_0x149b6d=_0x24cfb7['length'];for(;_0x1f29bd>_0x2163f1&&_0x149b6d>_0x2163f1&&_0x1e10bf[_0x1f29bd-0x1]===_0x24cfb7[_0x149b6d-0x1];)--_0x1f29bd,--_0x149b6d;return{'start':_0x2163f1,'deleteLength':_0x1f29bd-_0x2163f1,'insertLength':_0x149b6d-_0x2163f1};}function _0x257295(_0x19e919){const _0x16f74b=_0x5d1a43;return{'schemaVersion':0x1,'formulas':Object[_0x16f74b(0xce)](Object[_0x16f74b(0xff)](_0x19e919[_0x16f74b(0xaf)])[_0x16f74b(0x1ee)](([_0x4b753d,_0x2c40e4])=>[_0x4b753d,{..._0x2c40e4,..._0x2c40e4[_0x16f74b(0x111)]?{'numberFormat':{..._0x2c40e4[_0x16f74b(0x111)]}}:null,..._0x2c40e4[_0x16f74b(0x1df)]?{'lastValue':{..._0x2c40e4[_0x16f74b(0x1df)]}}:null}]))};}let _0x22b39b=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x1a6966,_0x5a61fb,_0x5e475d,_0x4aeed){const _0x2761b6=_0x5d1a43;super(),this[_0x2761b6(0x118)]=_0x1a6966,this[_0x2761b6(0x131)]=_0x5a61fb,this[_0x2761b6(0x147)]=_0x5e475d,this[_0x2761b6(0x165)]=_0x4aeed,_0x8d49c1(this,'_pendingUnitIds',new Set()),_0x8d49c1(this,_0x2761b6(0x1fb),!0x1),_0x8d49c1(this,_0x2761b6(0x125),!0x1),this[_0x2761b6(0x118)][_0x2761b6(0xf0)](_0x198dff[_0x2761b6(0x115)][_0x2761b6(0x1d3)])[_0x2761b6(0x1a0)](_0x4019c7=>this[_0x2761b6(0x165)]['syncUnit'](_0x4019c7)),this['disposeWithMe'](this[_0x2761b6(0x147)][_0x2761b6(0x1af)][_0x2761b6(0x185)](({unitId:_0x3a482c})=>this['_syncUnit'](_0x3a482c))),this[_0x2761b6(0x1a1)](this[_0x2761b6(0x118)][_0x2761b6(0x1d2)][_0x2761b6(0x185)](({unit:_0x5c10e6})=>{const _0x3089b0=_0x2761b6;_0x5c10e6['type']===_0x198dff[_0x3089b0(0x115)][_0x3089b0(0x1d3)]&&this[_0x3089b0(0xc1)](_0x5c10e6[_0x3089b0(0x134)]());})),this[_0x2761b6(0x1a1)](this[_0x2761b6(0x118)][_0x2761b6(0x1d8)][_0x2761b6(0x185)](_0x2be396=>{const _0x31aed0=_0x2761b6;this['_service'][_0x31aed0(0x117)](_0x2be396[_0x31aed0(0x134)]());})),this[_0x2761b6(0x1a1)](this[_0x2761b6(0x131)][_0x2761b6(0x156)](_0x15dcb5=>{const _0x239c3e=_0x2761b6;if(_0x15dcb5['id']===_0x440871[_0x239c3e(0x141)]['id']&&_0x15277f(_0x15dcb5[_0x239c3e(0x191)])){let _0xca6f37=_0x15dcb5[_0x239c3e(0x191)];_0xca6f37[_0x239c3e(0x1a6)]||this[_0x239c3e(0x107)](_0xca6f37[_0x239c3e(0x152)]);}}));}[_0x5d1a43(0x170)](){const _0xd61418=_0x5d1a43;this[_0xd61418(0x125)]=!0x0,super[_0xd61418(0x170)]();}[_0x5d1a43(0xc1)](_0x50acd4){const _0x43847e=_0x5d1a43;this['_pendingUnitIds']['add'](_0x50acd4),!this[_0x43847e(0x1fb)]&&(this[_0x43847e(0x1fb)]=!0x0,queueMicrotask(()=>{const _0x383937=_0x43847e;if(this[_0x383937(0x1fb)]=!0x1,this['_isDisposed'])return;let _0x451070=Array[_0x383937(0x10c)](this[_0x383937(0x163)]);this['_pendingUnitIds'][_0x383937(0x162)](),_0x451070[_0x383937(0x1a0)](_0x58db7e=>this[_0x383937(0x107)](_0x58db7e));}));}[_0x5d1a43(0x107)](_0x50e278){const _0x52d65e=_0x5d1a43;let _0x5ab8a1=this[_0x52d65e(0x118)]['getUnit'](_0x50e278,_0x198dff[_0x52d65e(0x115)][_0x52d65e(0x1d3)]);_0x5ab8a1&&this[_0x52d65e(0x165)][_0x52d65e(0xb6)](_0x5ab8a1);}};_0x22b39b=_0x40a925([_0xbc127b(0x0,_0x198dff[_0x5d1a43(0x1f0)]),_0xbc127b(0x1,_0x198dff[_0x5d1a43(0x16e)]),_0xbc127b(0x2,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x12d8e9)),_0xbc127b(0x3,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x25e891))],_0x22b39b);function _0x15277f(_0x3fe7be){const _0x44b4bf=_0x5d1a43;return typeof _0x3fe7be==_0x44b4bf(0x199)&&!!_0x3fe7be&&_0x44b4bf(0x152)in _0x3fe7be&&typeof _0x3fe7be['unitId']==_0x44b4bf(0x16c)&&(!(_0x44b4bf(0x1a6)in _0x3fe7be)||_0x3fe7be[_0x44b4bf(0x1a6)]===void 0x0||typeof _0x3fe7be[_0x44b4bf(0x1a6)]==_0x44b4bf(0x16c));}let _0x3e46fa=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x7b1364,_0x3ac5f6){const _0x3a79bc=_0x5d1a43;super(),this[_0x3a79bc(0x10e)]=_0x7b1364,this[_0x3a79bc(0xe8)]=_0x3ac5f6,this[_0x3a79bc(0x1a1)](this[_0x3a79bc(0x10e)][_0x3a79bc(0x1f4)]({'pluginName':_0x477554,'businesses':[_0x198dff[_0x3a79bc(0x115)][_0x3a79bc(0x1d3)]],'toJson':_0x241437=>JSON['stringify'](this[_0x3a79bc(0xe8)]['serialize'](_0x241437)),'parseJson':_0x5bced6=>JSON[_0x3a79bc(0x112)](_0x5bced6),'onLoad':(_0x19de83,_0x5ea013)=>{const _0x43db44=_0x3a79bc;this[_0x43db44(0xe8)]['load'](_0x19de83,_0x5ea013);},'onUnLoad':_0x7151ad=>this[_0x3a79bc(0xe8)][_0x3a79bc(0x1f1)](_0x7151ad)}));}};_0x3e46fa=_0x40a925([_0xbc127b(0x0,_0x198dff[_0x5d1a43(0x11d)]),_0xbc127b(0x1,(0x0,_0x198dff['Inject'])(_0x12d8e9))],_0x3e46fa);var _0x40d9c1=_0x5d1a43(0xfa),_0x38c9f7=_0x5d1a43(0xb2);let _0xdc4d8b={},_0x46658f=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x2513a9,_0x3a4422,_0x270d4b){const _0x97e619=_0x5d1a43;super(),this[_0x97e619(0x1c0)]=_0x2513a9,this[_0x97e619(0x12b)]=_0x3a4422,this['disposeWithMe'](_0x270d4b[_0x97e619(0x133)]({'resolve':(_0x44f3fb,_0x3cc835)=>{const _0x44404c=_0x97e619;var _0x434390;return((_0x434390=_0x3cc835[_0x44404c(0xe9)])==null?void 0x0:_0x434390[_0x44404c(0x1f6)](_0x1d4100)['map'](_0x18f74d=>({'startOffset':_0x18f74d['startIndex'],'endOffset':_0x18f74d[_0x44404c(0x171)]+0x1,'text':this[_0x44404c(0x12c)](_0x44f3fb,_0x18f74d[_0x44404c(0xf5)])})))??[];}})),this[_0x97e619(0x1a1)](this[_0x97e619(0x12b)][_0x97e619(0x1f3)][_0x97e619(0x185)](({unitId:_0x2aebe8})=>{const _0x55c3a8=_0x97e619;_0x270d4b[_0x55c3a8(0x16b)](_0x2aebe8);}));}['resolveFormula'](_0x1c41ae,_0x27fb11){const _0x40b556=_0x5d1a43;var _0x1ae5c6;return((_0x1ae5c6=this[_0x40b556(0x12b)]['getResult']({'unitId':_0x1c41ae,'rangeId':_0x27fb11}))==null?void 0x0:_0x1ae5c6[_0x40b556(0x105)])??'';}[_0x5d1a43(0x1e8)](_0x541fe1,_0x2046ee,_0x592869){const _0x1d4cca=_0x5d1a43;var _0xaef105;let _0x1c6450=this[_0x1d4cca(0x1c0)][_0x1d4cca(0xef)](_0x541fe1,_0x198dff[_0x1d4cca(0x115)][_0x1d4cca(0x1d3)]),_0x5753c8=_0x1c6450==null?void 0x0:_0x1c6450[_0x1d4cca(0x143)]();if(!_0x5753c8)return'';let _0x1b0b3c=_0x5753c8[_0x1d4cca(0xf2)][_0x1d4cca(0xc6)](_0x2046ee,_0x592869),_0x13ba05=((_0xaef105=_0x5753c8[_0x1d4cca(0xe9)])==null?void 0x0:_0xaef105[_0x1d4cca(0x1f6)](_0x23125f=>_0x1d4100(_0x23125f)&&_0x23125f[_0x1d4cca(0xb0)]>=_0x2046ee&&_0x23125f[_0x1d4cca(0x171)]<_0x592869)[_0x1d4cca(0x128)]((_0x276338,_0xe205e3)=>_0xe205e3[_0x1d4cca(0xb0)]-_0x276338[_0x1d4cca(0xb0)]))??[];for(let _0x67ab4 of _0x13ba05){let _0x497009=_0x67ab4[_0x1d4cca(0xb0)]-_0x2046ee,_0x43edb0=_0x67ab4[_0x1d4cca(0x171)]-_0x2046ee+0x1;_0x1b0b3c=''+_0x1b0b3c[_0x1d4cca(0xc6)](0x0,_0x497009)+this[_0x1d4cca(0x12c)](_0x541fe1,_0x67ab4[_0x1d4cca(0xf5)])+_0x1b0b3c[_0x1d4cca(0xc6)](_0x43edb0);}return _0x1b0b3c;}[_0x5d1a43(0x188)](_0x35ac8c){return _0x285f9a(_0x35ac8c);}[_0x5d1a43(0x176)](_0x13b8d6,_0x5eae2e,_0x55dadf={}){const _0x58182e=_0x5d1a43;var _0x2884b9;return _0x143ae8({'id':_0x13b8d6,'body':_0x5eae2e,'documentStyle':{}},(((_0x2884b9=_0x5eae2e[_0x58182e(0xe9)])==null?void 0x0:_0x2884b9[_0x58182e(0x1f6)](_0x1d4100))??[])['map'](_0x19a6f6=>({'rangeId':_0x19a6f6['rangeId'],'text':_0x55dadf[_0x19a6f6[_0x58182e(0xf5)]]??this[_0x58182e(0x12c)](_0x13b8d6,_0x19a6f6[_0x58182e(0xf5)])})))[_0x58182e(0xeb)]??{'dataStream':''};}};_0x46658f=_0x40a925([_0xbc127b(0x0,_0x198dff[_0x5d1a43(0x1f0)]),_0xbc127b(0x1,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x25e891)),_0xbc127b(0x2,(0x0,_0x198dff['Inject'])(_0x440871[_0x5d1a43(0x135)]))],_0x46658f);function _0x285f9a(_0x3d1354){const _0x23071b=_0x5d1a43;var _0x18eadb,_0x1addcd;let _0xdaad=_0xde1ee8(_0x3d1354),_0x189b7c=_0x143ae8(_0x3d1354,(((_0x18eadb=_0x3d1354[_0x23071b(0xeb)])==null||(_0x18eadb=_0x18eadb[_0x23071b(0xe9)])==null?void 0x0:_0x18eadb['filter'](_0x1d4100))??[])[_0x23071b(0x1ee)](_0x1de110=>({'rangeId':_0x1de110[_0x23071b(0xf5)],'text':_0x2af186(_0xdaad==null?void 0x0:_0xdaad[_0x23071b(0xaf)][_0x1de110[_0x23071b(0xf5)]])})));return _0x189b7c['resources']=(_0x1addcd=_0x189b7c['resources'])==null?void 0x0:_0x1addcd[_0x23071b(0x1f6)](_0x1c1268=>_0x1c1268[_0x23071b(0x11b)]!==_0x477554),_0x189b7c;}function _0xde1ee8(_0x366f2c){const _0x3f81e4=_0x5d1a43;var _0x2cb21e;let _0x1a5938=(_0x2cb21e=_0x366f2c['resources'])==null||(_0x2cb21e=_0x2cb21e[_0x3f81e4(0x1a2)](_0x37eb2c=>_0x37eb2c[_0x3f81e4(0x11b)]==='DOC_FORMULA_PLUGIN'))==null?void 0x0:_0x2cb21e[_0x3f81e4(0x1ef)];if(_0x1a5938)try{let _0x3a7464=JSON[_0x3f81e4(0x112)](_0x1a5938);return _0xca39c2(_0x3a7464)?_0x3a7464:void 0x0;}catch{return;}}function _0x2af186(_0xea3843){const _0x21dcd7=_0x5d1a43;return _0xea3843?(0x0,_0x3e6ae0[_0x21dcd7(0x183)])({'lastValue':_0xea3843[_0x21dcd7(0x1df)],'numberFormat':_0xea3843[_0x21dcd7(0x111)]})[_0x21dcd7(0x105)]:'';}let _0x136b33=class extends _0x198dff[_0x5d1a43(0x1b5)]{constructor(_0x34de4e,_0xa33bf8,_0x54f7cc){const _0x2455fa=_0x5d1a43;super(),this[_0x2455fa(0x12b)]=_0x34de4e,this[_0x2455fa(0xfc)]=_0xa33bf8,this[_0x2455fa(0x1a1)](_0x54f7cc['registerProvider'](this));}['collectMutations'](_0x4e04c2){const _0x21ab2b=_0x5d1a43;let _0x36802e=new Map();for(let _0x42a1a6 of this[_0x21ab2b(0x12b)][_0x21ab2b(0x18c)]()){var _0x2351f0;if(!this[_0x21ab2b(0xfc)][_0x21ab2b(0xbb)](_0x42a1a6[_0x21ab2b(0x177)][_0x21ab2b(0xcc)],_0x42a1a6[_0x21ab2b(0x1a8)])['eligible'])continue;let _0x3ed77d=(0x0,_0x3e6ae0[_0x21ab2b(0x198)])(_0x42a1a6[_0x21ab2b(0x1a8)]),_0x3d83c9=_0x3ed77d?(0x0,_0x3e6ae0[_0x21ab2b(0x164)])(_0x3ed77d):null;if(!_0x3d83c9||_0x42196f(_0x42a1a6[_0x21ab2b(0x177)]['lastValue'],_0x3d83c9))continue;let _0x49896f=_0x36802e[_0x21ab2b(0xe7)](_0x42a1a6[_0x21ab2b(0xbe)][_0x21ab2b(0x152)])??[];_0x49896f[_0x21ab2b(0xcb)]({'rangeId':_0x42a1a6['identity'][_0x21ab2b(0xf5)],'expectedFormula':_0x42a1a6[_0x21ab2b(0x177)][_0x21ab2b(0xcc)],'expectedNumberFormat':(_0x2351f0=_0x42a1a6[_0x21ab2b(0x177)][_0x21ab2b(0x111)])==null?void 0x0:_0x2351f0[_0x21ab2b(0x194)],'expectedReferenceRevision':_0x42a1a6[_0x21ab2b(0x18d)],'lastValue':_0x3d83c9}),_0x36802e[_0x21ab2b(0x153)](_0x42a1a6[_0x21ab2b(0xbe)][_0x21ab2b(0x152)],_0x49896f);}return Array[_0x21ab2b(0x10c)](_0x36802e,([_0x2c0703,_0x1ae08b])=>({'id':_0x2e16ba['id'],'params':{'unitId':_0x2c0703,'updates':_0x1ae08b}}));}};_0x136b33=_0x40a925([_0xbc127b(0x0,(0x0,_0x198dff['Inject'])(_0x25e891)),_0xbc127b(0x1,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x3e6ae0[_0x5d1a43(0xfb)])),_0xbc127b(0x2,(0x0,_0x198dff['Inject'])(_0x3e6ae0['FormulaLastValuePersistenceService']))],_0x136b33);function _0x42196f(_0x639f0c,_0x5872e4){const _0x26ca14=_0x5d1a43;return(_0x639f0c==null?void 0x0:_0x639f0c['v'])===_0x5872e4['v']&&(_0x639f0c==null?void 0x0:_0x639f0c['t'])===_0x5872e4['t']&&(_0x639f0c==null?void 0x0:_0x639f0c[_0x26ca14(0x194)])===_0x5872e4[_0x26ca14(0x194)];}let _0x11b8b3=class extends _0x198dff[_0x5d1a43(0xd3)]{constructor(_0x3fc372=_0xdc4d8b,_0x303fdb,_0x305396,_0x2a4bec){const _0x287631=_0x5d1a43;super(),this[_0x287631(0x1b4)]=_0x3fc372,this[_0x287631(0x1f2)]=_0x303fdb,this[_0x287631(0x131)]=_0x305396,this[_0x287631(0x1eb)]=_0x2a4bec;let {..._0x17a1e2}=(0x0,_0x198dff[_0x287631(0x15e)])({},_0xdc4d8b,this[_0x287631(0x1b4)]);this[_0x287631(0x1eb)][_0x287631(0x13a)](_0x287631(0x14d),_0x17a1e2);}[_0x5d1a43(0xac)](){const _0x31bc39=_0x5d1a43;this['_injector']['add']([_0x12d8e9]),this[_0x31bc39(0x1f2)][_0x31bc39(0x182)]([_0x25e891]),this[_0x31bc39(0x1f2)][_0x31bc39(0x182)]([_0x3e46fa]),this[_0x31bc39(0x1f2)][_0x31bc39(0x182)]([_0x22b39b]),this[_0x31bc39(0x1f2)]['add']([_0x136b33]),this[_0x31bc39(0x1f2)][_0x31bc39(0x182)]([_0x46658f]),(0x0,_0x198dff[_0x31bc39(0x1de)])(this['_injector'],[[_0x12d8e9],[_0x3e46fa],[_0x22b39b],[_0x136b33],[_0x46658f]]),[_0x222ab9,_0x598473,_0x58f8fd,_0x2e16ba,_0x4e176c,_0x15e8cf,_0x146b8b,_0x41b076,_0x2367ea,_0x4eac98][_0x31bc39(0x1a0)](_0x327cb1=>this[_0x31bc39(0x1a1)](this[_0x31bc39(0x131)][_0x31bc39(0x10d)](_0x327cb1)));}};_0x8d49c1(_0x11b8b3,_0x5d1a43(0xad),_0x477554),_0x8d49c1(_0x11b8b3,_0x5d1a43(0x126),_0x40d9c1),_0x8d49c1(_0x11b8b3,'version',_0x38c9f7),_0x8d49c1(_0x11b8b3,'type',_0x198dff[_0x5d1a43(0x115)][_0x5d1a43(0x1d3)]),_0x11b8b3=_0x40a925([(0x0,_0x198dff[_0x5d1a43(0x121)])(_0x51d1a7[_0x5d1a43(0x1db)],_0x3e6ae0[_0x5d1a43(0x1b6)],_0x440871[_0x5d1a43(0x1ce)]),_0xbc127b(0x1,(0x0,_0x198dff[_0x5d1a43(0x1b2)])(_0x198dff[_0x5d1a43(0x136)])),_0xbc127b(0x2,_0x198dff['ICommandService']),_0xbc127b(0x3,_0x198dff[_0x5d1a43(0x1b0)])],_0x11b8b3),_0x2c87ef[_0x5d1a43(0xe4)]=_0x4eac98,_0x2c87ef[_0x5d1a43(0xf9)]=_0x5af56f,_0x2c87ef[_0x5d1a43(0x14c)]='',_0x2c87ef[_0x5d1a43(0xb9)]=_0x477554,_0x2c87ef['DOC_FORMULA_SCHEMA_VERSION']=0x1,Object[_0x5d1a43(0x1a9)](_0x2c87ef,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x46658f;}}),Object[_0x5d1a43(0x1a9)](_0x2c87ef,_0x5d1a43(0x1cd),{'enumerable':!0x0,'get':function(){return _0x22b39b;}}),_0x2c87ef['DocFormulaModel']=_0x12d8e9,Object['defineProperty'](_0x2c87ef,_0x5d1a43(0x122),{'enumerable':!0x0,'get':function(){return _0x3e46fa;}}),_0x2c87ef[_0x5d1a43(0x154)]=_0x205351,Object[_0x5d1a43(0x1a9)](_0x2c87ef,_0x5d1a43(0xf4),{'enumerable':!0x0,'get':function(){return _0x25e891;}}),_0x2c87ef[_0x5d1a43(0xd4)]=_0x4e176c,_0x2c87ef['InvalidDocFormulaInsertRangeError']=_0x428807,_0x2c87ef['RemoveDocFormulaCommand']=_0x41b076,_0x2c87ef[_0x5d1a43(0x132)]=_0x598473,_0x2c87ef[_0x5d1a43(0xc0)]=_0x2367ea,_0x2c87ef[_0x5d1a43(0x1cc)]=_0x2e16ba,_0x2c87ef['SetDocFormulaMutation']=_0x222ab9,_0x2c87ef[_0x5d1a43(0x10a)]=_0x146b8b,_0x2c87ef[_0x5d1a43(0x18a)]=_0x58f8fd,Object[_0x5d1a43(0x1a9)](_0x2c87ef,_0x5d1a43(0x189),{'enumerable':!0x0,'get':function(){return _0x11b8b3;}}),_0x2c87ef[_0x5d1a43(0xd9)]=_0x15e8cf,_0x2c87ef[_0x5d1a43(0x140)]=_0x1a7f02,_0x2c87ef['buildInsertDocFormulaActions']=_0x4452fa,_0x2c87ef['buildRemoveDocFormulaActions']=_0x206593,_0x2c87ef[_0x5d1a43(0x1aa)]=_0x4d5377,_0x2c87ef[_0x5d1a43(0xb8)]=_0x2a5f69,_0x2c87ef[_0x5d1a43(0x106)]=_0x285f9a,_0x2c87ef[_0x5d1a43(0x137)]=_0x10498e,_0x2c87ef[_0x5d1a43(0x18e)]=_0x2c8fdb,_0x2c87ef[_0x5d1a43(0xb3)]=_0x1d4100,_0x2c87ef[_0x5d1a43(0x1a4)]=_0xca39c2,_0x2c87ef[_0x5d1a43(0x102)]=_0x162adb;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-formula",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
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,15 +61,15 @@
61
61
  "rxjs": ">=7.0.0"
62
62
  },
63
63
  "dependencies": {
64
- "@univerjs-pro/engine-formula": "1.0.2",
65
- "@univerjs-pro/license": "1.0.2",
66
- "@univerjs/core": "1.0.2",
67
- "@univerjs/docs": "1.0.2",
68
- "@univerjs/engine-formula": "1.0.2"
64
+ "@univerjs-pro/engine-formula": "1.0.4",
65
+ "@univerjs-pro/license": "1.0.4",
66
+ "@univerjs/core": "1.0.4",
67
+ "@univerjs/docs": "1.0.4",
68
+ "@univerjs/engine-formula": "1.0.4"
69
69
  },
70
70
  "devDependencies": {
71
- "@univerjs-infra/shared": "1.0.2",
72
- "@univerjs/engine-render": "1.0.2",
71
+ "@univerjs-infra/shared": "1.0.4",
72
+ "@univerjs/engine-render": "1.0.4",
73
73
  "rxjs": "7.8.2",
74
74
  "typescript": "^6.0.3",
75
75
  "vitest": "^5.0.0"