@univerjs-pro/docs-formula 1.0.1 → 1.0.3

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 _0x439d(){const _0x6ad436=['buildUpsertHostExternalReferenceMutations','7341160CZuMSW','PENDING','JSONX','subscribe','_syncUnit','_hostExternalReferenceModel','schemaVersion','toPrimitive','delete','previousResource','toFormulaLastValue','registerFormulaWithRange','eligible','fromEntries','DOC_SELECTION_OPTION_PRESERVE_CARET','resolveFormula','number','params','getScalarFormulaResultCell','getSnapshot','color','RemoveDocFormulaMutation','endIndex','getFormulas','replaceDocRanges','externalReferences','textRuns','resolveHostFormulaExternalReferences','docs-formula.command.insert','getBodySliceForTextXAction','univer-docs-formula','kind','COMMAND','docs-formula.mutation.set-last-values','registerCommand','cursorOffset','wholeEntity','updates','rangeId','unitId','onCommandExecuted','RemoveDocFormulaCommand','segmentId','parse','deleteLength','body','UniverCore','register','Disposable','EMPTY','isDocFormulaResource','expectedReferenceRevision','SetDocFormulaLastValuesMutation','degradeDocumentData','DocSelectionManagerService','startIndex','_setPresentation','TABLE_CELL_END','sectionBreaks','getUnit','DataStreamTreeTokenType','pending','document','toStringTag','resource','Inject','DocFormulaDisplayTextService','UniverDocsFormulaPlugin','registerProvider','empty','getCurrentUnitOfType','_configService','UNIVER_DOC','externalMutations','_resourceManagerService','symbol','_updateFormulaResult','getResource','setFormulas','DocFormulaModel','degradeDocFormulaDocumentData','amd','TABLE_ROW_END','includes','name','rangeType','_model','paragraphId','ERROR','expectedFormula','call','rxjs','defineProperty','resources','type','FormulaLastValuePersistenceService','complete','resourceRedo','function','unitAdded$','docs-formula.command.update','formulaResult$','DependentOn','getLoadError','419292xYzcrm','_syncScheduled','DocTextResolverService','assign','BLOCK_END','_formulaKeys','CommandType','start','success','syncUnit','getBody','SetDocFormulaMutation','filter','_pendingUnitIds','TABLE_ROW_START','endOffset','findDocFormulaRange','Tools','expectedNumberFormat','LexerTreeBuilder','pattern','previousDocumentData','nextDocumentData','every','COLUMN_START','Module','properties','getFormula','TextX','notifyTextChanged','1ZmrlOj','_cacheEligibilityService','undoMutation','dataStream','isInteger','lastValue','get','length','docs-formula.mutation.set-resource','shiftExclusiveRangeOnInsert','199410StjAew','RichTextEditingMutation','TABLE_CELL_START','_injector','ICommandService','_registrations','_univerInstanceService','exports','getAllUnitsForType','text','collectMutations','asObservable','_formulaService','HostExternalReferenceModel','max','formulas','cell','_loadErrors','FormulaCacheEligibilityService','assertSafeDocFormulaInsertRange','blockRanges','slice','SetDocFormulaNumberFormatCommand','setFormula','formula','_deleteRegistration','_change$','unitDisposed$','serialize','startOffset','_config','presentation','tables','redoMutation','selection','constructor','_service','from','DOC_FORMULA_PLUGIN','CUSTOM','_preserveInvalid','COLUMN_END','ConvertDocFormulaToTextCommand','getParagraphContentStartOffset','resolveBinding','RegisterOtherFormulaService','@univerjs/engine-formula','stale','sequenceNodesBuilder','map','UpdateDocFormulaCommand','setResource','getOwnPropertyDescriptor','string','values','FormulaResultStatus','some','IResourceManagerService','merge','_presentationChanged$','SetDocFormulaResourceMutation','_isDisposed','columnGroups','24718640UuPkhK','SUCCESS','MUTATION','removeFormula','@univerjs-pro/engine-formula','documentData','9pSVVor','startsWith','CellValueType','position','touchDependencies','forEach','BLOCK_START','invalid-resource','getTextRanges','_queueSync','resolved','UniverProEngineFormula','docs-formula.mutation.set-formula','@univerjs-pro/docs-formula','resolveText','DocFormulaResultStatus','getUnitId','unregisterUnit','disposeWithMe','next','trigger','numberFormat','_docFormulaModel','3302560cfqFxy','identity','_rawResources','Plugin','data','docs-formula.mutation.remove-formula','getRevision','min','customRanges','2150228KdvJjB','has','resourceUndo','config','getPresentation','buildRemoveDocFormulaActions','ReplaceDocFormulaWithTextCommand','_commandService','version','IUniverInstanceService','getResult','clear','_resources','15lPKewm','UniverInstanceType','_registrationService','paragraphs','documentRedo','source','removeUnit','presentationChanged$','createEmptyDocFormulaResource','SECTION_BREAK','isDocFormulaConfig','@univerjs/docs','resolveFormulaResultPresentation','UniverLicensePlugin','find','keys','object','model','add','insertLength','syncExecuteCommand','trim','UniverProDocsFormula','getRichTextEditPath','deepClone','docs-formula.command.convert-to-text','Subject','entries','_instanceService','getCustomRangeInterval','DOC_FORMULA_OBJECT_REPLACEMENT','shiftExclusiveRangeOnDelete','getRegisteredFormulas','retain','registerPluginResource','generateRandomId','formulaId','set','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','accessor','paragraph','customBlocks','error','DOC_FORMULA_CUSTOM_RANGE_KIND','sort','default','assess','range','nextResource','IConfigService','setConfig','OtherFormulaBizType','customDecorations','DocFormulaResourceController','change$','docs-formula.config','referenceRevision','insert','4911963RygLke','unregister','prototype','dispose','UniverProLicense','docs-formula.command.remove','liveResult','load','DOC','onStarting'];_0x439d=function(){return _0x6ad436;};return _0x439d();}function _0x55f6(_0x3ddf53,_0x370835){_0x3ddf53=_0x3ddf53-0xf0;const _0x439dc4=_0x439d();let _0x55f6f2=_0x439dc4[_0x3ddf53];return _0x55f6f2;}(function(_0x1ae1d9,_0x4b2a5c){const _0x227631=_0x55f6,_0x5b081b=_0x1ae1d9();while(!![]){try{const _0x1ec177=parseInt(_0x227631(0x149))/0x1*(-parseInt(_0x227631(0x1b8))/0x2)+parseInt(_0x227631(0x12b))/0x3+-parseInt(_0x227631(0x1af))/0x4+-parseInt(_0x227631(0x1c5))/0x5*(-parseInt(_0x227631(0x153))/0x6)+parseInt(_0x227631(0x1ff))/0x7+-parseInt(_0x227631(0x20a))/0x8+parseInt(_0x227631(0x198))/0x9*(parseInt(_0x227631(0x192))/0xa);if(_0x1ec177===_0x4b2a5c)break;else _0x5b081b['push'](_0x5b081b['shift']());}catch(_0x302edb){_0x5b081b['push'](_0x5b081b['shift']());}}}(_0x439d,0x912d3),function(_0x59a3a0,_0x9a6b1){const _0x1e2339=_0x55f6;typeof exports=='object'&&typeof module<'u'?_0x9a6b1(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x1e2339(0x114)]?define([_0x1e2339(0x15a),_0x1e2339(0x196),'@univerjs/core',_0x1e2339(0x1d0),_0x1e2339(0x181),'rxjs','@univerjs-pro/license'],_0x9a6b1):(_0x59a3a0=typeof globalThis<'u'?globalThis:_0x59a3a0||self,_0x9a6b1(_0x59a3a0[_0x1e2339(0x1db)]={},_0x59a3a0[_0x1e2339(0x1a3)],_0x59a3a0[_0x1e2339(0xf1)],_0x59a3a0['UniverDocs'],_0x59a3a0['UniverEngineFormula'],_0x59a3a0[_0x1e2339(0x11e)],_0x59a3a0[_0x1e2339(0x203)]));}(this,function(_0x415d22,_0x27ed60,_0x3ad0ce,_0xe8b14d,_0xce0fe7,_0x5e5a60,_0x3ebd32){const _0x754d11=_0x55f6;Object[_0x754d11(0x11f)](_0x415d22,Symbol[_0x754d11(0x102)],{'value':_0x754d11(0x144)});let _0x959d06=_0x754d11(0x179),_0x13f145=_0x754d11(0x228);function _0x2dd373(){return{'schemaVersion':0x1,'formulas':{}};}function _0x1b1cdf(_0x4dc09c){const _0x52931a=_0x754d11;return!_0x4dc09c||typeof _0x4dc09c!=_0x52931a(0x1d5)||!_0x5120be(_0x4dc09c,[_0x52931a(0x210),_0x52931a(0x162)])||!(_0x52931a(0x210)in _0x4dc09c)||_0x4dc09c[_0x52931a(0x210)]!==0x1||!(_0x52931a(0x162)in _0x4dc09c)||!_0x4dc09c[_0x52931a(0x162)]||typeof _0x4dc09c[_0x52931a(0x162)]!=_0x52931a(0x1d5)||Array['isArray'](_0x4dc09c['formulas'])?!0x1:Object[_0x52931a(0x1e0)](_0x4dc09c['formulas'])[_0x52931a(0x142)](([_0x40b867,_0x3252b5])=>_0x40b867[_0x52931a(0x150)]>0x0&&_0x14ba05(_0x3252b5));}function _0x14ba05(_0x30378b){const _0x46690e=_0x754d11;return!_0x30378b||typeof _0x30378b!=_0x46690e(0x1d5)||!_0x5120be(_0x30378b,['formula','numberFormat',_0x46690e(0x14e)])||!(_0x46690e(0x16b)in _0x30378b)||typeof _0x30378b['formula']!='string'||!_0x30378b[_0x46690e(0x16b)][_0x46690e(0x1da)]()||_0x46690e(0x1ad)in _0x30378b&&_0x30378b[_0x46690e(0x1ad)]!=null&&(typeof _0x30378b[_0x46690e(0x1ad)]!=_0x46690e(0x1d5)||!_0x5120be(_0x30378b['numberFormat'],['pattern'])||!('pattern'in _0x30378b['numberFormat'])||typeof _0x30378b[_0x46690e(0x1ad)][_0x46690e(0x13f)]!=_0x46690e(0x188))?!0x1:!(_0x46690e(0x14e)in _0x30378b)||_0x30378b[_0x46690e(0x14e)]==null||_0x590ba7(_0x30378b['lastValue']);}function _0x590ba7(_0x41f5b9){const _0x278f02=_0x754d11;return!_0x41f5b9||typeof _0x41f5b9!=_0x278f02(0x1d5)||!_0x5120be(_0x41f5b9,['v','t',_0x278f02(0x13f)])||!('v'in _0x41f5b9)||_0x41f5b9['v']!==null&&typeof _0x41f5b9['v']!=_0x278f02(0x188)&&typeof _0x41f5b9['v']!=_0x278f02(0x21a)&&typeof _0x41f5b9['v']!='boolean'||'t'in _0x41f5b9&&_0x41f5b9['t']!=null&&!_0x492c9c(_0x41f5b9['t'])?!0x1:!('pattern'in _0x41f5b9)||_0x41f5b9[_0x278f02(0x13f)]==null||typeof _0x41f5b9[_0x278f02(0x13f)]==_0x278f02(0x188);}function _0x5120be(_0x4abdf0,_0x29866f){const _0x51aa20=_0x754d11;let _0x53e7d6=new Set(_0x29866f);return Object[_0x51aa20(0x1d4)](_0x4abdf0)['every'](_0x352aa9=>_0x53e7d6[_0x51aa20(0x1b9)](_0x352aa9));}function _0x492c9c(_0x1237e3){const _0x52ef02=_0x754d11;return typeof _0x1237e3==_0x52ef02(0x21a)&&Object[_0x52ef02(0x189)](_0x3ad0ce[_0x52ef02(0x19a)])[_0x52ef02(0x116)](_0x1237e3);}let _0x5991e1=new Set([_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x1ce)],_0x3ad0ce[_0x754d11(0xff)]['TABLE_START'],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x139)],_0x3ad0ce['DataStreamTreeTokenType'][_0x754d11(0x155)],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0xfc)],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x115)],_0x3ad0ce[_0x754d11(0xff)]['TABLE_END'],_0x3ad0ce['DataStreamTreeTokenType']['COLUMN_GROUP_START'],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x143)],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x17c)],_0x3ad0ce[_0x754d11(0xff)]['COLUMN_GROUP_END'],_0x3ad0ce[_0x754d11(0xff)][_0x754d11(0x19e)],_0x3ad0ce['DataStreamTreeTokenType'][_0x754d11(0x12f)],_0x3ad0ce[_0x754d11(0xff)]['CUSTOM_BLOCK']]);var _0x471f6f=class extends Error{constructor(){const _0x27a2d0=_0x754d11;super(_0x27a2d0(0x1eb));}};function _0x2a913d(_0x35c0fd){const _0x492cf9=_0x754d11;var _0x59698c,_0x4a3c01;let _0x5bc55b=_0x3ad0ce[_0x492cf9(0x13c)][_0x492cf9(0x1dd)](_0x35c0fd[_0x492cf9(0x197)]),_0x3a491d=_0x3a0ded(_0x5bc55b),{startOffset:_0x5bcf8a,endOffset:_0x590096}=_0x51f330(_0x3a491d,_0x35c0fd[_0x492cf9(0x170)],_0x35c0fd[_0x492cf9(0x13a)]);_0x216280(_0x3a491d,_0x5bcf8a,_0x590096);let _0x1f9b82=((_0x59698c=_0x3a491d[_0x492cf9(0x1b7)])==null?void 0x0:_0x59698c[_0x492cf9(0x137)](_0x3b0bb5=>{const _0x4ab13c=_0x492cf9;if(!_0x2ea921(_0x3b0bb5))return!0x1;let _0x50df55=(0x0,_0x3ad0ce['getCustomRangeInterval'])(_0x3b0bb5);return _0x50df55[_0x4ab13c(0x13a)]>_0x5bcf8a&&_0x50df55['startOffset']<_0x590096;})[_0x492cf9(0x184)](_0x10a70b=>_0x10a70b[_0x492cf9(0x230)]))??[];_0x1fd56f(_0x3a491d,_0x5bcf8a,_0x590096,''),_0x3a491d[_0x492cf9(0x1b7)]=[...((_0x4a3c01=_0x3a491d['customRanges'])==null?void 0x0:_0x4a3c01['filter'](_0x5d3250=>!_0x1f9b82[_0x492cf9(0x116)](_0x5d3250[_0x492cf9(0x230)])&&_0x5d3250[_0x492cf9(0x230)]!==_0x35c0fd[_0x492cf9(0x230)]))??[],_0x32cef5(_0x35c0fd[_0x492cf9(0x230)],_0x5bcf8a)][_0x492cf9(0x1f1)]((_0x4963c2,_0x29cc3f)=>_0x4963c2[_0x492cf9(0xfa)]-_0x29cc3f['startIndex']);let _0x230e14=_0x6d4f40(_0x35c0fd[_0x492cf9(0x103)]);return _0x1f9b82[_0x492cf9(0x19d)](_0x5a6b33=>{const _0x1e9e91=_0x492cf9;delete _0x230e14[_0x1e9e91(0x162)][_0x5a6b33];}),_0x230e14[_0x492cf9(0x162)][_0x35c0fd['rangeId']]=_0x3ad0ce[_0x492cf9(0x13c)][_0x492cf9(0x1dd)](_0x35c0fd[_0x492cf9(0x1bb)]),{'nextDocumentData':_0x5bc55b,'nextResource':_0x230e14,'cursorOffset':_0x5bcf8a+0x1};}function _0x40505e(_0x58dd4d){const _0x2e6c6f=_0x754d11;var _0x1068e8,_0x3f8d56;let _0x1d955e=_0x3ad0ce['Tools']['deepClone'](_0x58dd4d[_0x2e6c6f(0x197)]),_0x16fde1=(_0x1068e8=_0x3a0ded(_0x1d955e)[_0x2e6c6f(0x1b7)])==null?void 0x0:_0x1068e8[_0x2e6c6f(0x1d3)](_0x5be49f=>_0x5be49f[_0x2e6c6f(0x230)]===_0x58dd4d['rangeId']&&_0x2ea921(_0x5be49f));if(!_0x16fde1||!((_0x3f8d56=_0x58dd4d['resource'])!=null&&_0x3f8d56['formulas'][_0x58dd4d['rangeId']]))return null;let _0x3d0d13=_0x6d4f40(_0x58dd4d['resource']);return _0x3d0d13[_0x2e6c6f(0x162)][_0x58dd4d[_0x2e6c6f(0x230)]]=_0x3ad0ce['Tools'][_0x2e6c6f(0x1dd)](_0x58dd4d[_0x2e6c6f(0x1bb)]),{'nextDocumentData':_0x1d955e,'nextResource':_0x3d0d13,'cursorOffset':_0x16fde1[_0x2e6c6f(0x220)]+0x1};}function _0x2dc10f(_0x45b3a0){const _0x5612cc=_0x754d11;let _0x1c6b71=_0x3ad0ce['Tools'][_0x5612cc(0x1dd)](_0x45b3a0[_0x5612cc(0x197)]),_0x3568e3=_0x12cda4(_0x1c6b71,_0x45b3a0[_0x5612cc(0x230)],_0x45b3a0['text']??'');if(_0x3568e3==null)return null;let _0x14196f=_0x6d4f40(_0x45b3a0[_0x5612cc(0x103)]);return delete _0x14196f[_0x5612cc(0x162)][_0x45b3a0[_0x5612cc(0x230)]],{'nextDocumentData':_0x1c6b71,'nextResource':_0x14196f,'cursorOffset':_0x3568e3};}function _0x1fb233(_0x58f703,_0x232f29){const _0x41ac69=_0x754d11;var _0x5d0225;let _0x163ebc=_0x3ad0ce[_0x41ac69(0x13c)]['deepClone'](_0x58f703),_0x2feca5=_0x163ebc[_0x41ac69(0xf0)];if(!_0x2feca5)return _0x163ebc;let _0x3e9848=new Map(_0x232f29['map'](_0x5d7f78=>[_0x5d7f78['rangeId'],_0x5d7f78[_0x41ac69(0x15c)]])),_0xee51a9=((_0x5d0225=_0x2feca5[_0x41ac69(0x1b7)])==null?void 0x0:_0x5d0225[_0x41ac69(0x137)](_0xb90c35=>_0x2ea921(_0xb90c35)&&_0x3e9848[_0x41ac69(0x1b9)](_0xb90c35[_0x41ac69(0x230)]))['sort']((_0x2f8a34,_0xcac9b8)=>_0xcac9b8[_0x41ac69(0xfa)]-_0x2f8a34[_0x41ac69(0xfa)]))??[];for(let _0x17308b of _0xee51a9)_0x12cda4(_0x163ebc,_0x17308b[_0x41ac69(0x230)],_0x3e9848[_0x41ac69(0x14f)](_0x17308b[_0x41ac69(0x230)])??'');return _0x163ebc;}function _0x2ea921(_0x1fc298){const _0x2899c0=_0x754d11;var _0x3ceeb1;return(_0x1fc298==null?void 0x0:_0x1fc298[_0x2899c0(0x118)])===_0x3ad0ce['CustomRangeType'][_0x2899c0(0x17a)]&&_0x1fc298[_0x2899c0(0x22e)]===!0x0&&((_0x3ceeb1=_0x1fc298[_0x2899c0(0x145)])==null?void 0x0:_0x3ceeb1[_0x2899c0(0x229)])===_0x2899c0(0x228);}function _0x4001d5(_0x5ec4d3,_0x56fdd7){const _0x2bc724=_0x754d11;var _0x759c8f;return _0x5ec4d3==null||(_0x759c8f=_0x5ec4d3['customRanges'])==null?void 0x0:_0x759c8f[_0x2bc724(0x1d3)](_0x96b5c0=>_0x96b5c0[_0x2bc724(0x230)]===_0x56fdd7&&_0x2ea921(_0x96b5c0));}function _0x216280(_0x488eda,_0x325c45,_0x18ee37){const _0x355ceb=_0x754d11;if(_0x325c45===_0x18ee37){if(_0x5991e1[_0x355ceb(0x1b9)](_0x488eda[_0x355ceb(0x14c)][_0x325c45]))throw new _0x471f6f();return;}for(let _0x2a9240=_0x325c45;_0x2a9240<_0x18ee37;_0x2a9240++)if(_0x488eda[_0x355ceb(0x14c)][_0x2a9240]===_0x3ad0ce['DataStreamTreeTokenType']['PARAGRAPH']||_0x5991e1[_0x355ceb(0x1b9)](_0x488eda[_0x355ceb(0x14c)][_0x2a9240]))throw new _0x471f6f();}function _0x32cef5(_0x5c6bdd,_0x47c982){const _0x3887b8=_0x754d11;return{'startIndex':_0x47c982,'endIndex':_0x47c982,'rangeId':_0x5c6bdd,'rangeType':_0x3ad0ce['CustomRangeType'][_0x3887b8(0x17a)],'wholeEntity':!0x0,'properties':{'kind':_0x13f145}};}function _0x6d4f40(_0x265b2b){const _0x21e4e4=_0x754d11;return _0x265b2b?_0x3ad0ce[_0x21e4e4(0x13c)][_0x21e4e4(0x1dd)](_0x265b2b):_0x2dd373();}function _0x51f330(_0x2c2fd2,_0x3916a7,_0xbfa5ac){const _0xb92d83=_0x754d11;let _0x24eb37=_0x49257a(_0x2c2fd2),_0x49c83e=_0x3916a7??_0x24eb37,_0x17b333=_0xbfa5ac??_0x49c83e;return{'startOffset':_0x556704(Math[_0xb92d83(0x1b6)](_0x49c83e,_0x17b333),_0x24eb37),'endOffset':_0x556704(Math[_0xb92d83(0x161)](_0x49c83e,_0x17b333),_0x24eb37)};}function _0x556704(_0x2ff147,_0x58f2e6){const _0x3a613b=_0x754d11;return Math[_0x3a613b(0x161)](0x0,Math['min'](_0x2ff147,_0x58f2e6));}function _0x49257a(_0x32e709){const _0x3e352b=_0x754d11;return _0x32e709[_0x3e352b(0x14c)]['endsWith'](''+_0x3ad0ce[_0x3e352b(0xff)]['PARAGRAPH']+_0x3ad0ce[_0x3e352b(0xff)][_0x3e352b(0x1ce)])?Math['max'](0x0,_0x32e709['dataStream'][_0x3e352b(0x150)]-0x2):_0x32e709[_0x3e352b(0x14c)]['endsWith'](_0x3ad0ce[_0x3e352b(0xff)][_0x3e352b(0x1ce)])?Math[_0x3e352b(0x161)](0x0,_0x32e709['dataStream']['length']-0x1):_0x32e709[_0x3e352b(0x14c)][_0x3e352b(0x150)];}function _0x1fd56f(_0x21bafc,_0xd0a9db,_0x1cd62a,_0x518097){_0x1cd62a>_0xd0a9db&&_0x5809e1(_0x21bafc,_0xd0a9db,_0x1cd62a),_0x23c8ef(_0x21bafc,_0xd0a9db,_0x518097);}function _0x12cda4(_0x557881,_0x3773aa,_0x10882e){const _0x21f7d0=_0x754d11;var _0x35f94f,_0x141f3e;let _0x4af25e=_0x3a0ded(_0x557881),_0x187857=(_0x35f94f=_0x4af25e[_0x21f7d0(0x1b7)])==null?void 0x0:_0x35f94f[_0x21f7d0(0x1d3)](_0xa3aaac=>_0xa3aaac[_0x21f7d0(0x230)]===_0x3773aa&&_0x2ea921(_0xa3aaac));if(!_0x187857)return null;let _0x4f89f7=(0x0,_0x3ad0ce[_0x21f7d0(0x1e2)])(_0x187857);return _0x1fd56f(_0x4af25e,_0x4f89f7['startOffset'],_0x4f89f7[_0x21f7d0(0x13a)],_0x10882e),_0x4af25e[_0x21f7d0(0x1b7)]=(_0x141f3e=_0x4af25e[_0x21f7d0(0x1b7)])==null?void 0x0:_0x141f3e['filter'](_0x3a202c=>_0x3a202c[_0x21f7d0(0x230)]!==_0x3773aa),_0x4f89f7['startOffset']+_0x10882e[_0x21f7d0(0x150)];}function _0x23c8ef(_0x5f0c1e,_0x53c36b,_0x1ae49a){const _0x5a2e2a=_0x754d11;_0x1ae49a&&(_0x5f0c1e['dataStream']=''+_0x5f0c1e[_0x5a2e2a(0x14c)][_0x5a2e2a(0x168)](0x0,_0x53c36b)+_0x1ae49a+_0x5f0c1e[_0x5a2e2a(0x14c)]['slice'](_0x53c36b),_0x19a3da(_0x5f0c1e,_0x53c36b,_0x1ae49a[_0x5a2e2a(0x150)]));}function _0x5809e1(_0x5a4f31,_0x5410a4,_0x5dc13c){const _0x3d735d=_0x754d11;let _0xa4d85b=_0x5dc13c-_0x5410a4;_0x5a4f31[_0x3d735d(0x14c)]=''+_0x5a4f31['dataStream']['slice'](0x0,_0x5410a4)+_0x5a4f31[_0x3d735d(0x14c)][_0x3d735d(0x168)](_0x5dc13c),_0x27242d(_0x5a4f31,_0x5410a4,_0xa4d85b);}function _0x19a3da(_0x12161b,_0x1d26fe,_0x297ed4){const _0x33f29b=_0x754d11;_0x12161b[_0x33f29b(0x1c8)]=_0xf485f4(_0x12161b[_0x33f29b(0x1c8)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0xfd)]=_0xf485f4(_0x12161b[_0x33f29b(0xfd)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x1ee)]=_0xf485f4(_0x12161b[_0x33f29b(0x1ee)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x224)]=_0x4a7334(_0x12161b['textRuns'],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x173)]=_0x1a2da9(_0x12161b[_0x33f29b(0x173)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x191)]=_0x4068bb(_0x12161b['columnGroups'],_0x1d26fe,_0x297ed4),_0x12161b['customRanges']=_0x4068bb(_0x12161b[_0x33f29b(0x1b7)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x1f9)]=_0x4068bb(_0x12161b[_0x33f29b(0x1f9)],_0x1d26fe,_0x297ed4),_0x12161b[_0x33f29b(0x167)]=_0x4068bb(_0x12161b[_0x33f29b(0x167)],_0x1d26fe,_0x297ed4);}function _0x27242d(_0xd0eec2,_0x2c7ca6,_0x3392d6){const _0x2f0f7c=_0x754d11;var _0x18a008,_0x4c0541;_0xd0eec2[_0x2f0f7c(0x1c8)]=_0x3aa950(_0xd0eec2['paragraphs'],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0xfd)]=_0x3aa950(_0xd0eec2['sectionBreaks'],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x1ee)]=_0x3aa950(_0xd0eec2[_0x2f0f7c(0x1ee)],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x224)]=(_0x18a008=_0x3636fd((_0x4c0541=_0xd0eec2[_0x2f0f7c(0x224)])==null?void 0x0:_0x4c0541[_0x2f0f7c(0x184)](_0x4ecce3=>({..._0x4ecce3,'startIndex':_0x4ecce3['st'],'endIndex':_0x4ecce3['ed']})),_0x2c7ca6,_0x3392d6))==null?void 0x0:_0x18a008[_0x2f0f7c(0x184)](_0x80370c=>{let {startIndex:_0x21d750,endIndex:_0x2127fb,..._0x3a8df3}=_0x80370c;return{..._0x3a8df3,'st':_0x21d750,'ed':_0x2127fb};}),_0xd0eec2['tables']=_0x3636fd(_0xd0eec2[_0x2f0f7c(0x173)],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x191)]=_0x36957c(_0xd0eec2['columnGroups'],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x1b7)]=_0x36957c(_0xd0eec2[_0x2f0f7c(0x1b7)],_0x2c7ca6,_0x3392d6),_0xd0eec2[_0x2f0f7c(0x1f9)]=_0x36957c(_0xd0eec2[_0x2f0f7c(0x1f9)],_0x2c7ca6,_0x3392d6),_0xd0eec2['blockRanges']=_0x36957c(_0xd0eec2[_0x2f0f7c(0x167)],_0x2c7ca6,_0x3392d6);}function _0xf485f4(_0x213dea,_0x480928,_0x287194){const _0x5f04eb=_0x754d11;return _0x213dea==null?void 0x0:_0x213dea[_0x5f04eb(0x184)](_0x50541d=>_0x50541d[_0x5f04eb(0xfa)]>=_0x480928?{..._0x50541d,'startIndex':_0x50541d[_0x5f04eb(0xfa)]+_0x287194}:_0x50541d);}function _0x3aa950(_0x46f2cb,_0x1b9cb4,_0x342ea7){const _0xa6b4d6=_0x754d11;let _0x2dd71c=_0x1b9cb4+_0x342ea7;return _0x46f2cb==null?void 0x0:_0x46f2cb['map'](_0x298c58=>_0x298c58[_0xa6b4d6(0xfa)]>=_0x1b9cb4&&_0x298c58[_0xa6b4d6(0xfa)]<_0x2dd71c?null:_0x298c58[_0xa6b4d6(0xfa)]>=_0x2dd71c?{..._0x298c58,'startIndex':_0x298c58['startIndex']-_0x342ea7}:_0x298c58)[_0xa6b4d6(0x137)](_0x32f9cb=>_0x32f9cb!=null);}function _0x4a7334(_0x3b4289,_0xef38ad,_0x5b6097){const _0x2179ba=_0x754d11;return _0x3b4289==null?void 0x0:_0x3b4289[_0x2179ba(0x184)](_0x534e8d=>_0x534e8d['st']>=_0xef38ad?{..._0x534e8d,'st':_0x534e8d['st']+_0x5b6097,'ed':_0x534e8d['ed']+_0x5b6097}:_0x534e8d['ed']>_0xef38ad?{..._0x534e8d,'ed':_0x534e8d['ed']+_0x5b6097}:_0x534e8d);}function _0x4068bb(_0x4057ef,_0x131820,_0x5e1600){const _0x54c7ab=_0x754d11;return _0x4057ef==null?void 0x0:_0x4057ef[_0x54c7ab(0x184)](_0x3d644d=>(0x0,_0x3ad0ce['shiftInclusiveRangeOnInsert'])(_0x3d644d,_0x131820,_0x5e1600));}function _0x1a2da9(_0x26e5d8,_0x5af637,_0x133ecb){const _0xb631b6=_0x754d11;return _0x26e5d8==null?void 0x0:_0x26e5d8[_0xb631b6(0x184)](_0x18463a=>(0x0,_0x3ad0ce[_0xb631b6(0x152)])(_0x18463a,_0x5af637,_0x133ecb));}function _0x36957c(_0x421a4b,_0x30eeb6,_0x45c036){const _0x1a6e0e=_0x754d11;return _0x421a4b==null?void 0x0:_0x421a4b[_0x1a6e0e(0x184)](_0x1d2b61=>(0x0,_0x3ad0ce['shiftInclusiveRangeOnDelete'])(_0x1d2b61,_0x30eeb6,_0x45c036))['filter'](_0x3a9baa=>_0x3a9baa!=null);}function _0x3636fd(_0x3b93d7,_0x4a7a1c,_0xdab041){const _0x22658a=_0x754d11;return _0x3b93d7==null?void 0x0:_0x3b93d7[_0x22658a(0x184)](_0x3f1a7a=>(0x0,_0x3ad0ce[_0x22658a(0x1e4)])(_0x3f1a7a,_0x4a7a1c,_0xdab041))[_0x22658a(0x137)](_0x2b5b17=>_0x2b5b17!=null);}function _0x3a0ded(_0x1f4858){const _0x455c75=_0x754d11;if(!_0x1f4858[_0x455c75(0xf0)])throw Error('Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.');return _0x1f4858['body'];}function _0x5b04cb(_0x1b3f90){'@babel/helpers - typeof';const _0x8a1a3a=_0x754d11;return _0x5b04cb=typeof Symbol==_0x8a1a3a(0x125)&&typeof Symbol['iterator']=='symbol'?function(_0x4db4ec){return typeof _0x4db4ec;}:function(_0x4b0ad8){const _0x555ad5=_0x8a1a3a;return _0x4b0ad8&&typeof Symbol=='function'&&_0x4b0ad8[_0x555ad5(0x176)]===Symbol&&_0x4b0ad8!==Symbol[_0x555ad5(0x201)]?_0x555ad5(0x10e):typeof _0x4b0ad8;},_0x5b04cb(_0x1b3f90);}function _0x5cf4d7(_0x764dc4,_0x38d92f){const _0x2c1c66=_0x754d11;if(_0x5b04cb(_0x764dc4)!='object'||!_0x764dc4)return _0x764dc4;var _0x431639=_0x764dc4[Symbol[_0x2c1c66(0x211)]];if(_0x431639!==void 0x0){var _0x5599d9=_0x431639[_0x2c1c66(0x11d)](_0x764dc4,_0x38d92f||_0x2c1c66(0x1f2));if(_0x5b04cb(_0x5599d9)!=_0x2c1c66(0x1d5))return _0x5599d9;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x38d92f===_0x2c1c66(0x188)?String:Number)(_0x764dc4);}function _0x403ee9(_0x8ad2f1){const _0x5157bd=_0x754d11;var _0x53cce1=_0x5cf4d7(_0x8ad2f1,_0x5157bd(0x188));return _0x5b04cb(_0x53cce1)=='symbol'?_0x53cce1:_0x53cce1+'';}function _0x4fce06(_0x1bf1ab,_0x2e3ecc,_0x610d54){const _0x178ea2=_0x754d11;return(_0x2e3ecc=_0x403ee9(_0x2e3ecc))in _0x1bf1ab?Object[_0x178ea2(0x11f)](_0x1bf1ab,_0x2e3ecc,{'value':_0x610d54,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1bf1ab[_0x2e3ecc]=_0x610d54,_0x1bf1ab;}var _0x46f2a0=class extends _0x3ad0ce[_0x754d11(0xf3)]{constructor(..._0x4a1f5e){const _0x30be3f=_0x754d11;super(..._0x4a1f5e),_0x4fce06(this,_0x30be3f(0x1c4),new Map()),_0x4fce06(this,_0x30be3f(0x1b1),new Map()),_0x4fce06(this,_0x30be3f(0x164),new Map()),_0x4fce06(this,_0x30be3f(0x16d),new _0x5e5a60[(_0x30be3f(0x1df))]()),_0x4fce06(this,'change$',this[_0x30be3f(0x16d)]['asObservable']());}[_0x754d11(0x146)](_0x7cf1d5,_0x5f166e){const _0x28cae4=_0x754d11;var _0x53ebc3;let _0x222dae=(_0x53ebc3=this[_0x28cae4(0x1c4)][_0x28cae4(0x14f)](_0x7cf1d5))==null?void 0x0:_0x53ebc3['formulas'][_0x5f166e];return _0x222dae?_0x3ad0ce['Tools'][_0x28cae4(0x1dd)](_0x222dae):void 0x0;}[_0x754d11(0x221)](_0x42a420){const _0x585ee3=_0x754d11;var _0x4813cc;return _0x3ad0ce[_0x585ee3(0x13c)][_0x585ee3(0x1dd)](((_0x4813cc=this[_0x585ee3(0x1c4)][_0x585ee3(0x14f)](_0x42a420))==null?void 0x0:_0x4813cc['formulas'])??{});}[_0x754d11(0x110)](_0x588871){const _0x763a1d=_0x754d11;let _0xf80d48=this[_0x763a1d(0x1c4)][_0x763a1d(0x14f)](_0x588871);return _0xf80d48?_0x3ad0ce[_0x763a1d(0x13c)]['deepClone'](_0xf80d48):void 0x0;}[_0x754d11(0x16a)](_0x55305c,_0x1e9721,_0x21f67e){const _0xc1e45f=_0x754d11;return this[_0xc1e45f(0x111)](_0x55305c,{[_0x1e9721]:_0x21f67e});}['setResource'](_0x5a1d74,_0xc51bd4){const _0x916b66=_0x754d11;return this[_0x916b66(0x164)]['has'](_0x5a1d74)||!_0x1b1cdf(_0xc51bd4)?!0x1:(this[_0x916b66(0x1c4)]['set'](_0x5a1d74,_0x3ad0ce[_0x916b66(0x13c)][_0x916b66(0x1dd)](_0xc51bd4)),this[_0x916b66(0x16d)][_0x916b66(0x1ab)]({'unitId':_0x5a1d74}),!0x0);}['setFormulas'](_0x52b172,_0x2810ef){const _0xccaa00=_0x754d11;if(this[_0xccaa00(0x164)][_0xccaa00(0x1b9)](_0x52b172)||!Object[_0xccaa00(0x1d4)](_0x2810ef)[_0xccaa00(0x150)]||!_0x1b1cdf({'schemaVersion':0x1,'formulas':_0x2810ef}))return!0x1;let _0x217ced=this[_0xccaa00(0x1c4)]['get'](_0x52b172)??_0x2dd373(),_0x6f56fb=_0x3ad0ce[_0xccaa00(0x13c)][_0xccaa00(0x1dd)](_0x217ced);return Object[_0xccaa00(0x12e)](_0x6f56fb[_0xccaa00(0x162)],_0x3ad0ce[_0xccaa00(0x13c)]['deepClone'](_0x2810ef)),this[_0xccaa00(0x1c4)]['set'](_0x52b172,_0x6f56fb),this[_0xccaa00(0x16d)][_0xccaa00(0x1ab)]({'unitId':_0x52b172,'rangeIds':Object[_0xccaa00(0x1d4)](_0x2810ef)}),!0x0;}[_0x754d11(0x195)](_0x363069,_0xb0309e){const _0x4c66d2=_0x754d11;if(this[_0x4c66d2(0x164)]['has'](_0x363069))return!0x1;let _0x275c8a=this[_0x4c66d2(0x1c4)][_0x4c66d2(0x14f)](_0x363069);if(!(_0x275c8a!=null&&_0x275c8a[_0x4c66d2(0x162)][_0xb0309e]))return!0x1;let _0x559699=_0x3ad0ce[_0x4c66d2(0x13c)][_0x4c66d2(0x1dd)](_0x275c8a);return delete _0x559699[_0x4c66d2(0x162)][_0xb0309e],this['_resources'][_0x4c66d2(0x1ea)](_0x363069,_0x559699),this[_0x4c66d2(0x16d)][_0x4c66d2(0x1ab)]({'unitId':_0x363069,'rangeIds':[_0xb0309e]}),!0x0;}[_0x754d11(0x206)](_0x16ac68,_0x5afba4){const _0x29ea06=_0x754d11;return _0x5afba4&&typeof _0x5afba4==_0x29ea06(0x1d5)&&_0x29ea06(0x210)in _0x5afba4&&_0x5afba4[_0x29ea06(0x210)]!==0x1?(this[_0x29ea06(0x17b)](_0x16ac68,_0x5afba4,'unsupported-version'),!0x1):_0x1b1cdf(_0x5afba4)?(this[_0x29ea06(0x1c4)][_0x29ea06(0x1ea)](_0x16ac68,_0x3ad0ce['Tools'][_0x29ea06(0x1dd)](_0x5afba4)),this[_0x29ea06(0x1b1)][_0x29ea06(0x212)](_0x16ac68),this[_0x29ea06(0x164)][_0x29ea06(0x212)](_0x16ac68),this['_change$'][_0x29ea06(0x1ab)]({'unitId':_0x16ac68}),!0x0):(this[_0x29ea06(0x17b)](_0x16ac68,_0x5afba4,_0x29ea06(0x19f)),!0x1);}['serialize'](_0xba92ce){const _0x137861=_0x754d11;let _0x2785b2=this['_resources'][_0x137861(0x14f)](_0xba92ce);return _0x2785b2?_0x3ad0ce[_0x137861(0x13c)][_0x137861(0x1dd)](_0x2785b2):this[_0x137861(0x1b1)]['has'](_0xba92ce)?_0x3ad0ce['Tools'][_0x137861(0x1dd)](this[_0x137861(0x1b1)][_0x137861(0x14f)](_0xba92ce)):_0x2dd373();}[_0x754d11(0x12a)](_0x1a9d98){const _0x38a480=_0x754d11;return this[_0x38a480(0x164)][_0x38a480(0x14f)](_0x1a9d98);}[_0x754d11(0x1cb)](_0x4ab54c){const _0x221ed7=_0x754d11;this[_0x221ed7(0x1c4)]['delete'](_0x4ab54c),this[_0x221ed7(0x1b1)][_0x221ed7(0x212)](_0x4ab54c),this[_0x221ed7(0x164)]['delete'](_0x4ab54c),this[_0x221ed7(0x16d)]['next']({'unitId':_0x4ab54c});}[_0x754d11(0x202)](){const _0x5f2ba1=_0x754d11;this[_0x5f2ba1(0x1c4)]['clear'](),this[_0x5f2ba1(0x1b1)][_0x5f2ba1(0x1c3)](),this[_0x5f2ba1(0x164)]['clear'](),this[_0x5f2ba1(0x16d)][_0x5f2ba1(0x123)](),super['dispose']();}[_0x754d11(0x17b)](_0x44d995,_0x4eaf1b,_0x546b66){const _0x27e60c=_0x754d11;this[_0x27e60c(0x1c4)][_0x27e60c(0x212)](_0x44d995),this[_0x27e60c(0x1b1)]['set'](_0x44d995,_0x3ad0ce[_0x27e60c(0x13c)][_0x27e60c(0x1dd)](_0x4eaf1b)),this['_loadErrors'][_0x27e60c(0x1ea)](_0x44d995,_0x546b66),this[_0x27e60c(0x16d)][_0x27e60c(0x1ab)]({'unitId':_0x44d995});}};let _0x26d030=function(_0x39be29){const _0x372a31=_0x754d11;return _0x39be29[_0x372a31(0xf4)]=_0x372a31(0x108),_0x39be29[_0x372a31(0x20b)]=_0x372a31(0x100),_0x39be29[_0x372a31(0x193)]=_0x372a31(0x133),_0x39be29[_0x372a31(0x11b)]='error',_0x39be29;}({});function _0x54abe0(_0x1bf88a,_0x256085){return function(_0x61550a,_0x82bddb){_0x256085(_0x61550a,_0x82bddb,_0x1bf88a);};}function _0x2f1059(_0x58f382,_0x10fc6e,_0x274168,_0xe997dc){const _0x7414a7=_0x754d11;var _0x27071b=arguments[_0x7414a7(0x150)],_0x36a294=_0x27071b<0x3?_0x10fc6e:_0xe997dc===null?_0xe997dc=Object[_0x7414a7(0x187)](_0x10fc6e,_0x274168):_0xe997dc,_0x9d79e2;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x7414a7(0x125))_0x36a294=Reflect['decorate'](_0x58f382,_0x10fc6e,_0x274168,_0xe997dc);else{for(var _0x123484=_0x58f382[_0x7414a7(0x150)]-0x1;_0x123484>=0x0;_0x123484--)(_0x9d79e2=_0x58f382[_0x123484])&&(_0x36a294=(_0x27071b<0x3?_0x9d79e2(_0x36a294):_0x27071b>0x3?_0x9d79e2(_0x10fc6e,_0x274168,_0x36a294):_0x9d79e2(_0x10fc6e,_0x274168))||_0x36a294);}return _0x27071b>0x3&&_0x36a294&&Object[_0x7414a7(0x11f)](_0x10fc6e,_0x274168,_0x36a294),_0x36a294;}let _0x20a44b=class extends _0x3ad0ce['Disposable']{constructor(_0x2d4296,_0x2abfab,_0x323a8a){const _0x25ed1d=_0x754d11;super(),this['_model']=_0x2d4296,this[_0x25ed1d(0x1c7)]=_0x2abfab,this[_0x25ed1d(0x20f)]=_0x323a8a,_0x4fce06(this,'_registrations',new Map()),_0x4fce06(this,_0x25ed1d(0x130),new Map()),_0x4fce06(this,'_presentationChanged$',new _0x5e5a60[(_0x25ed1d(0x1df))]()),_0x4fce06(this,_0x25ed1d(0x1cc),this[_0x25ed1d(0x18e)][_0x25ed1d(0x15e)]()),this[_0x25ed1d(0x1aa)](this[_0x25ed1d(0x1c7)][_0x25ed1d(0x128)][_0x25ed1d(0x20d)](_0x1da54c=>{const _0x5e8c98=_0x25ed1d;for(let _0x3192e4 of Object['values'](_0x1da54c))for(let _0x2228fd of Object[_0x5e8c98(0x189)](_0x3192e4))_0x2228fd['forEach'](_0x562936=>this[_0x5e8c98(0x10f)](_0x562936));}));}['syncUnit'](_0x557736){const _0x186418=_0x754d11;var _0x22d308;let _0x5ee9f7=_0x557736[_0x186418(0x1a8)](),_0x3a9e2f=((_0x22d308=_0x557736[_0x186418(0x21d)]()[_0x186418(0xf0)])==null||(_0x22d308=_0x22d308['customRanges'])==null?void 0x0:_0x22d308['filter'](_0x2ea921))??[],_0x4a1c29=this[_0x186418(0x119)][_0x186418(0x221)](_0x5ee9f7),_0x2361ce=new Set();for(let _0x15cb62 of _0x3a9e2f){let _0x3daaa0=_0x4a1c29[_0x15cb62[_0x186418(0x230)]];_0x3daaa0&&(_0x2361ce['add'](_0x142418(_0x5ee9f7,_0x15cb62[_0x186418(0x230)])),this['register']({'unitId':_0x5ee9f7,'rangeId':_0x15cb62[_0x186418(0x230)]},_0x3daaa0));}for(let _0x2a94b5 of Array['from'](this[_0x186418(0x158)][_0x186418(0x189)]()))_0x2a94b5['unitId']===_0x5ee9f7&&!_0x2361ce[_0x186418(0x1b9)](_0x142418(_0x2a94b5[_0x186418(0x231)],_0x2a94b5['rangeId']))&&this[_0x186418(0x200)](_0x2a94b5);}[_0x754d11(0xf2)](_0xfbb454,_0x473b41){const _0x471090=_0x754d11;let _0x52897e=_0x142418(_0xfbb454['unitId'],_0xfbb454[_0x471090(0x230)]),_0x33a34d=this[_0x471090(0x158)]['get'](_0x52897e),_0x1c5d7d=this[_0x471090(0x20f)]['getRevision'](_0xfbb454['unitId']);if(_0x33a34d&&_0x33a34d[_0x471090(0x1bb)][_0x471090(0x16b)]===_0x473b41[_0x471090(0x16b)]&&_0x33a34d['referenceRevision']===_0x1c5d7d){_0x33a34d[_0x471090(0x1bb)]=_0x473b41;let _0x3c6f5d=_0x33a34d[_0x471090(0x1e9)]?this[_0x471090(0x1c7)]['getFormulaValueSync'](_0x33a34d[_0x471090(0x231)],_0x33a34d[_0x471090(0x231)],_0x33a34d[_0x471090(0x1e9)])??void 0x0:void 0x0;_0x33a34d[_0x471090(0x205)]=_0x3c6f5d,this[_0x471090(0xfb)](_0x52897e,_0x4ee25d(_0x473b41,_0x3c6f5d));return;}_0x33a34d!=null&&_0x33a34d[_0x471090(0x1e9)]&&this[_0x471090(0x16c)](_0x33a34d);let _0x25a5ec={..._0xfbb454,'config':_0x473b41,'referenceRevision':_0x1c5d7d,'presentation':_0x4ee25d(_0x473b41,void 0x0)};if(this[_0x471090(0x158)]['set'](_0x52897e,_0x25a5ec),!_0x473b41[_0x471090(0x16b)][_0x471090(0x1da)]())return;let _0x5e5c4e=this[_0x471090(0x1c7)][_0x471090(0x215)](_0xfbb454[_0x471090(0x231)],_0xfbb454[_0x471090(0x231)],_0x473b41['formula'],void 0x0,{'rangeId':_0xfbb454['rangeId']},_0xce0fe7[_0x471090(0x1f8)][_0x471090(0x207)],_0xfbb454['rangeId']);_0x25a5ec[_0x471090(0x1e9)]=_0x5e5c4e,this[_0x471090(0x130)][_0x471090(0x1ea)](_0x5e5c4e,_0x52897e);}[_0x754d11(0x200)](_0x37a5d5){const _0x5ecdb4=_0x754d11;let _0x412609=_0x142418(_0x37a5d5['unitId'],_0x37a5d5[_0x5ecdb4(0x230)]),_0x1f44c6=this['_registrations'][_0x5ecdb4(0x14f)](_0x412609);_0x1f44c6&&(this[_0x5ecdb4(0x16c)](_0x1f44c6),this[_0x5ecdb4(0x158)][_0x5ecdb4(0x212)](_0x412609));}[_0x754d11(0x1a9)](_0x29e51b){const _0x13acb4=_0x754d11;for(let _0x56c5be of Array[_0x13acb4(0x178)](this[_0x13acb4(0x158)][_0x13acb4(0x189)]()))_0x56c5be[_0x13acb4(0x231)]===_0x29e51b&&this[_0x13acb4(0x200)](_0x56c5be);}[_0x754d11(0x1bc)](_0x4a4dfb){const _0x5acd96=_0x754d11;var _0x2399f4;return(_0x2399f4=this['_registrations'][_0x5acd96(0x14f)](_0x142418(_0x4a4dfb[_0x5acd96(0x231)],_0x4a4dfb['rangeId'])))==null?void 0x0:_0x2399f4[_0x5acd96(0x172)];}[_0x754d11(0x1c2)](_0x374aa2){const _0x3a8b39=_0x754d11;let _0x390104=this[_0x3a8b39(0x158)][_0x3a8b39(0x14f)](_0x142418(_0x374aa2[_0x3a8b39(0x231)],_0x374aa2['rangeId']));return _0x390104?_0x5140b3(_0x390104):void 0x0;}[_0x754d11(0x1e5)](){const _0x2005bb=_0x754d11;return Array[_0x2005bb(0x178)](this['_registrations'][_0x2005bb(0x189)](),_0x16c3ff=>({'identity':{'unitId':_0x16c3ff[_0x2005bb(0x231)],'rangeId':_0x16c3ff[_0x2005bb(0x230)]},'config':_0x16c3ff['config'],'referenceRevision':_0x16c3ff[_0x2005bb(0x1fd)],..._0x16c3ff['liveResult']?{'liveResult':_0x16c3ff[_0x2005bb(0x205)]}:null}));}[_0x754d11(0x202)](){const _0x333aa8=_0x754d11;for(let _0x3c372e of this['_registrations']['values']())this['_deleteRegistration'](_0x3c372e);this[_0x333aa8(0x158)][_0x333aa8(0x1c3)](),this[_0x333aa8(0x130)][_0x333aa8(0x1c3)](),this[_0x333aa8(0x18e)][_0x333aa8(0x123)](),super[_0x333aa8(0x202)]();}[_0x754d11(0x10f)](_0x519538){const _0x55d8be=_0x754d11;let _0x35c6b3=this[_0x55d8be(0x130)][_0x55d8be(0x14f)](_0x519538[_0x55d8be(0x1e9)]),_0x27af5c=_0x35c6b3?this['_registrations']['get'](_0x35c6b3):void 0x0;_0x35c6b3&&_0x27af5c&&(_0x27af5c[_0x55d8be(0x205)]=_0x519538,this[_0x55d8be(0xfb)](_0x35c6b3,_0x4ee25d(_0x27af5c[_0x55d8be(0x1bb)],_0x519538)));}[_0x754d11(0xfb)](_0x599608,_0x1e4fd2){const _0x3879ae=_0x754d11;var _0x3a2d23,_0x5f00e3;let _0x2f3196=this[_0x3879ae(0x158)][_0x3879ae(0x14f)](_0x599608);if(!_0x2f3196||_0x303dbe(_0x2f3196[_0x3879ae(0x172)],_0x1e4fd2))return;let _0x23f05a=_0x2f3196[_0x3879ae(0x172)],_0x3f5cec=_0x5140b3(_0x2f3196);_0x2f3196[_0x3879ae(0x172)]=_0x1e4fd2,this['_presentationChanged$']['next']({'unitId':_0x2f3196[_0x3879ae(0x231)],'rangeId':_0x2f3196[_0x3879ae(0x230)],'presentation':_0x1e4fd2,'previousPresentation':_0x23f05a,'result':_0x5140b3(_0x2f3196),'previousResult':{..._0x3f5cec,..._0x23f05a,'value':(_0x3a2d23=_0x23f05a[_0x3879ae(0x163)])==null?void 0x0:_0x3a2d23['v'],'valueType':((_0x5f00e3=_0x23f05a['cell'])==null?void 0x0:_0x5f00e3['t'])??void 0x0}});}[_0x754d11(0x16c)](_0x1e56fb){const _0x5c1a25=_0x754d11;_0x1e56fb[_0x5c1a25(0x1e9)]&&(this[_0x5c1a25(0x1c7)]['deleteFormula'](_0x1e56fb[_0x5c1a25(0x231)],_0x1e56fb[_0x5c1a25(0x231)],[_0x1e56fb[_0x5c1a25(0x1e9)]]),this[_0x5c1a25(0x130)][_0x5c1a25(0x212)](_0x1e56fb['formulaId']));}};_0x20a44b=_0x2f1059([_0x54abe0(0x0,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x46f2a0)),_0x54abe0(0x1,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0xce0fe7[_0x754d11(0x180)])),_0x54abe0(0x2,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x27ed60[_0x754d11(0x160)]))],_0x20a44b);function _0x142418(_0x5d85a7,_0x90aeac){return _0x5d85a7+'\x00'+_0x90aeac;}function _0x4ee25d(_0x2d878c,_0x47d62f){const _0x25a9be=_0x754d11;return(0x0,_0x27ed60[_0x25a9be(0x1d1)])({'numberFormat':_0x2d878c[_0x25a9be(0x1ad)],'lastValue':_0x2d878c['lastValue'],'result':_0x47d62f});}function _0x5140b3(_0x1b782e){const _0x520221=_0x754d11;var _0x2d608d,_0x15d11b,_0x17809d;let _0x4fe569=_0x1b782e[_0x520221(0x172)],_0x5d1093=_0x1b782e[_0x520221(0x1bb)][_0x520221(0x16b)]['trim']()?_0x4fe569[_0x520221(0x182)]||_0x4fe569[_0x520221(0x163)]==null?_0x520221(0x100):((_0x2d608d=_0x1b782e[_0x520221(0x205)])==null?void 0x0:_0x2d608d['status'])===_0xce0fe7[_0x520221(0x18a)]['ERROR']?_0x520221(0x1ef):_0x520221(0x133):_0x520221(0x108);return{..._0x4fe569,'status':_0x5d1093,'value':(_0x15d11b=_0x4fe569[_0x520221(0x163)])==null?void 0x0:_0x15d11b['v'],'valueType':((_0x17809d=_0x4fe569[_0x520221(0x163)])==null?void 0x0:_0x17809d['t'])??void 0x0};}function _0x303dbe(_0x803784,_0x1fc5b9){const _0x3e3704=_0x754d11;var _0x1b6c30,_0x5998d7,_0x4e5acb,_0x1fe96b;return _0x803784['text']===_0x1fc5b9[_0x3e3704(0x15c)]&&_0x803784['color']===_0x1fc5b9[_0x3e3704(0x21e)]&&_0x803784[_0x3e3704(0x13f)]===_0x1fc5b9[_0x3e3704(0x13f)]&&_0x803784[_0x3e3704(0x1ca)]===_0x1fc5b9[_0x3e3704(0x1ca)]&&_0x803784[_0x3e3704(0x182)]===_0x1fc5b9['stale']&&((_0x1b6c30=_0x803784[_0x3e3704(0x163)])==null?void 0x0:_0x1b6c30['t'])===((_0x5998d7=_0x1fc5b9[_0x3e3704(0x163)])==null?void 0x0:_0x5998d7['t'])&&Object['is']((_0x4e5acb=_0x803784[_0x3e3704(0x163)])==null?void 0x0:_0x4e5acb['v'],(_0x1fe96b=_0x1fc5b9[_0x3e3704(0x163)])==null?void 0x0:_0x1fe96b['v']);}let _0x4ce42c={'id':_0x754d11(0x1a4),'type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x194)],'handler':(_0x4e5d49,_0x246177)=>!(_0x246177!=null&&_0x246177['unitId'])||!_0x246177['rangeId']||!_0x246177['config']?!0x1:_0x4e5d49[_0x754d11(0x14f)](_0x46f2a0)[_0x754d11(0x16a)](_0x246177[_0x754d11(0x231)],_0x246177[_0x754d11(0x230)],_0x246177[_0x754d11(0x1bb)])},_0x27e5d8={'id':_0x754d11(0x1b4),'type':_0x3ad0ce['CommandType']['MUTATION'],'handler':(_0x3ad4a2,_0x51519b)=>!(_0x51519b!=null&&_0x51519b['unitId'])||!_0x51519b['rangeId']?!0x1:_0x3ad4a2['get'](_0x46f2a0)[_0x754d11(0x195)](_0x51519b[_0x754d11(0x231)],_0x51519b[_0x754d11(0x230)])},_0x3db73a={'id':_0x754d11(0x151),'type':_0x3ad0ce[_0x754d11(0x131)]['MUTATION'],'handler':(_0x13b6cf,_0x4a8377)=>!(_0x4a8377!=null&&_0x4a8377[_0x754d11(0x231)])||!_0x4a8377[_0x754d11(0x103)]?!0x1:_0x13b6cf[_0x754d11(0x14f)](_0x46f2a0)[_0x754d11(0x186)](_0x4a8377[_0x754d11(0x231)],_0x4a8377['resource'])},_0x3618d4={'id':_0x754d11(0x22b),'type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x194)],'handler':(_0x497f92,_0x4cc8ad)=>{const _0x1916ff=_0x754d11;if(!(_0x4cc8ad!=null&&_0x4cc8ad[_0x1916ff(0x231)])||!_0x4cc8ad[_0x1916ff(0x22f)][_0x1916ff(0x150)])return!0x1;let _0x140858=_0x497f92['get'](_0x46f2a0),_0x33b204=_0x497f92['get'](_0x27ed60['HostExternalReferenceModel']),_0x38ae7b=_0x140858[_0x1916ff(0x110)](_0x4cc8ad[_0x1916ff(0x231)]);if(!_0x38ae7b)return!0x1;let _0x1037d1=_0x3ad0ce[_0x1916ff(0x13c)][_0x1916ff(0x1dd)](_0x38ae7b),_0x38aba5=!0x1;for(let _0x2914a1 of _0x4cc8ad['updates']){var _0x2f3399,_0x6031bf,_0x5ed7ba,_0xe5d90c;let _0x16d2f5=_0x1037d1[_0x1916ff(0x162)][_0x2914a1[_0x1916ff(0x230)]];_0x16d2f5&&_0x16d2f5[_0x1916ff(0x16b)]===_0x2914a1[_0x1916ff(0x11c)]&&((_0x2f3399=_0x16d2f5[_0x1916ff(0x1ad)])==null?void 0x0:_0x2f3399[_0x1916ff(0x13f)])===_0x2914a1[_0x1916ff(0x13d)]&&_0x33b204[_0x1916ff(0x1b5)](_0x4cc8ad[_0x1916ff(0x231)])===_0x2914a1[_0x1916ff(0xf6)]&&(((_0x6031bf=_0x16d2f5['lastValue'])==null?void 0x0:_0x6031bf['v'])!==_0x2914a1[_0x1916ff(0x14e)]['v']||((_0x5ed7ba=_0x16d2f5[_0x1916ff(0x14e)])==null?void 0x0:_0x5ed7ba['t'])!==_0x2914a1[_0x1916ff(0x14e)]['t']||((_0xe5d90c=_0x16d2f5[_0x1916ff(0x14e)])==null?void 0x0:_0xe5d90c['pattern'])!==_0x2914a1['lastValue'][_0x1916ff(0x13f)])&&(_0x16d2f5[_0x1916ff(0x14e)]=_0x3ad0ce[_0x1916ff(0x13c)][_0x1916ff(0x1dd)](_0x2914a1[_0x1916ff(0x14e)]),_0x38aba5=!0x0);}return!_0x38aba5||_0x140858[_0x1916ff(0x186)](_0x4cc8ad[_0x1916ff(0x231)],_0x1037d1);}},_0x28c79d={'id':_0x754d11(0x226),'type':_0x3ad0ce['CommandType'][_0x754d11(0x22a)],'handler':(_0x2954bf,_0x549c21)=>{const _0x48480f=_0x754d11;if(!(_0x549c21!=null&&_0x549c21[_0x48480f(0x16b)]['trim']()))return!0x1;let _0x108b30=_0x2d9b2e(_0x2954bf,_0x549c21[_0x48480f(0x231)],'');if(!_0x108b30)return!0x1;let _0x5a5638=_0x1a44ab(_0x549c21['target'],_0x108b30[_0x48480f(0xf0)],_0x389dea(_0x2954bf,_0x108b30[_0x48480f(0x231)]));if(!_0x5a5638)return!0x1;let _0x125f81=_0x50ed22(_0x2954bf,_0x108b30[_0x48480f(0x231)],_0x549c21[_0x48480f(0x16b)],_0x549c21[_0x48480f(0x223)]??[]);if(!_0x125f81)return!0x1;let _0x315d2a=_0x3f76d3(_0x108b30[_0x48480f(0xf0)],_0x108b30[_0x48480f(0x1d6)],_0x108b30[_0x48480f(0x231)]),_0x25ac88=_0x2d32d3({'documentData':_0x108b30[_0x48480f(0x197)],'resource':_0x108b30[_0x48480f(0x103)],'rangeId':_0x315d2a,'config':{'formula':_0x549c21[_0x48480f(0x16b)],..._0x549c21[_0x48480f(0x1ad)]?{'numberFormat':_0x549c21[_0x48480f(0x1ad)]}:null},'startOffset':_0x5a5638[_0x48480f(0x170)],'endOffset':_0x5a5638[_0x48480f(0x13a)]});if(!_0x25ac88)return!0x1;let _0x439ed4=(0x0,_0x27ed60[_0x48480f(0x209)])(_0x2954bf,_0x108b30[_0x48480f(0x231)],_0x125f81);return!_0x439ed4||!_0x29c804({'accessor':_0x2954bf,'document':_0x108b30[_0x48480f(0x101)],'unitId':_0x108b30[_0x48480f(0x231)],'trigger':_0x28c79d['id'],'rangeId':_0x315d2a,'previousResource':_0x108b30[_0x48480f(0x103)],'nextResource':_0x25ac88[_0x48480f(0x1f5)],'previousDocumentData':_0x108b30[_0x48480f(0x197)],'nextDocumentData':_0x25ac88[_0x48480f(0x141)],'cursorOffset':_0x25ac88[_0x48480f(0x22d)],'externalMutations':_0x439ed4})?!0x1:{'rangeId':_0x315d2a,'startOffset':_0x25ac88[_0x48480f(0x22d)]-0x1,'endOffset':_0x25ac88['cursorOffset']};}},_0x4b3299={'id':_0x754d11(0x127),'type':_0x3ad0ce['CommandType'][_0x754d11(0x22a)],'handler':(_0x3cec8b,_0x198247)=>{const _0x1d4abc=_0x754d11;if(!(_0x198247!=null&&_0x198247[_0x1d4abc(0x230)])||!_0x198247['formula'][_0x1d4abc(0x1da)]())return!0x1;let _0x3423a4=_0x2d9b2e(_0x3cec8b,_0x198247[_0x1d4abc(0x231)],''),_0x5a39b6=_0x3423a4==null?void 0x0:_0x3423a4[_0x1d4abc(0x1d6)][_0x1d4abc(0x146)](_0x3423a4[_0x1d4abc(0x231)],_0x198247[_0x1d4abc(0x230)]),_0x346539=_0x3423a4?_0x4001d5(_0x3423a4['documentData'][_0x1d4abc(0xf0)],_0x198247[_0x1d4abc(0x230)]):void 0x0;if(!_0x3423a4||!_0x5a39b6||!_0x346539)return!0x1;let _0x55498a=_0x50ed22(_0x3cec8b,_0x3423a4[_0x1d4abc(0x231)],_0x198247[_0x1d4abc(0x16b)],_0x198247[_0x1d4abc(0x223)]??[]);if(!_0x55498a)return!0x1;let _0x96bae6=(0x0,_0x27ed60[_0x1d4abc(0x209)])(_0x3cec8b,_0x3423a4[_0x1d4abc(0x231)],_0x55498a);if(!_0x96bae6)return!0x1;let _0x5b4a15=_0x351b6a(_0x3423a4[_0x1d4abc(0x103)]);return _0x5b4a15['formulas'][_0x198247[_0x1d4abc(0x230)]]={'formula':_0x198247[_0x1d4abc(0x16b)],..._0x198247[_0x1d4abc(0x1ad)]?{'numberFormat':_0x198247[_0x1d4abc(0x1ad)]}:_0x5a39b6[_0x1d4abc(0x1ad)]?{'numberFormat':_0x5a39b6[_0x1d4abc(0x1ad)]}:null},_0x29c804({'accessor':_0x3cec8b,'document':_0x3423a4[_0x1d4abc(0x101)],'unitId':_0x3423a4['unitId'],'trigger':_0x4b3299['id'],'rangeId':_0x198247[_0x1d4abc(0x230)],'previousResource':_0x3423a4[_0x1d4abc(0x103)],'nextResource':_0x5b4a15,'cursorOffset':_0x346539[_0x1d4abc(0x220)]+0x1,'externalMutations':_0x96bae6});}},_0x1dcb18={'id':'docs-formula.command.set-number-format','type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x22a)],'handler':(_0x1cd37c,_0x3489ee)=>{const _0x1740bb=_0x754d11;if(!(_0x3489ee!=null&&_0x3489ee[_0x1740bb(0x230)]))return!0x1;let _0x296e56=_0x2d9b2e(_0x1cd37c,_0x3489ee['unitId'],''),_0x29f089=_0x296e56==null?void 0x0:_0x296e56['model'][_0x1740bb(0x146)](_0x296e56[_0x1740bb(0x231)],_0x3489ee[_0x1740bb(0x230)]),_0x20eeb0=_0x296e56?_0x4001d5(_0x296e56[_0x1740bb(0x197)]['body'],_0x3489ee[_0x1740bb(0x230)]):void 0x0;if(!_0x296e56||!_0x29f089||!_0x20eeb0)return!0x1;let _0x247caf=_0x351b6a(_0x296e56['resource']);return _0x247caf[_0x1740bb(0x162)][_0x3489ee[_0x1740bb(0x230)]]={..._0x29f089,..._0x3489ee[_0x1740bb(0x1ad)]?{'numberFormat':_0x3489ee['numberFormat']}:null},_0x3489ee[_0x1740bb(0x1ad)]||delete _0x247caf[_0x1740bb(0x162)][_0x3489ee[_0x1740bb(0x230)]][_0x1740bb(0x1ad)],_0x29c804({'accessor':_0x1cd37c,'document':_0x296e56[_0x1740bb(0x101)],'unitId':_0x296e56[_0x1740bb(0x231)],'trigger':_0x1dcb18['id'],'rangeId':_0x3489ee['rangeId'],'previousResource':_0x296e56['resource'],'nextResource':_0x247caf,'cursorOffset':_0x20eeb0[_0x1740bb(0x220)]+0x1,'externalMutations':{}});}},_0x4dc2c7={'id':_0x754d11(0x204),'type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x22a)],'handler':(_0x48eef,_0x12e089)=>_0x39afc0(_0x48eef,_0x12e089,'',_0x4dc2c7['id'])},_0x550e48={'id':'docs-formula.command.replace-with-text','type':_0x3ad0ce[_0x754d11(0x131)][_0x754d11(0x22a)],'handler':(_0x21f215,_0x22d66e)=>_0x39afc0(_0x21f215,_0x22d66e,(_0x22d66e==null?void 0x0:_0x22d66e[_0x754d11(0x15c)])??'',_0x550e48['id'])},_0x2d94b4={'id':_0x754d11(0x1de),'type':_0x3ad0ce['CommandType'][_0x754d11(0x22a)],'handler':(_0x47e984,_0x2d42de)=>{const _0x1fd46a=_0x754d11;if(!(_0x2d42de!=null&&_0x2d42de[_0x1fd46a(0x230)]))return!0x1;let _0x55f896=_0x2d9b2e(_0x47e984,_0x2d42de[_0x1fd46a(0x231)],'');if(!_0x55f896)return!0x1;let _0x38a3f1=_0x47e984[_0x1fd46a(0x14f)](_0x20a44b)[_0x1fd46a(0x1c2)]({'unitId':_0x55f896[_0x1fd46a(0x231)],'rangeId':_0x2d42de['rangeId']});return _0x38a3f1?_0x39afc0(_0x47e984,_0x2d42de,_0x38a3f1['text'],_0x2d94b4['id']):!0x1;}};function _0x39afc0(_0x45668c,_0x4f0366,_0x54e2f3,_0x2846f2){const _0x4633e1=_0x754d11;if(!(_0x4f0366!=null&&_0x4f0366['rangeId']))return!0x1;let _0x3973f6=_0x2d9b2e(_0x45668c,_0x4f0366[_0x4633e1(0x231)],'');if(!_0x3973f6)return!0x1;let _0x4123c2=_0x2dc10f({'documentData':_0x3973f6[_0x4633e1(0x197)],'resource':_0x3973f6[_0x4633e1(0x103)],'rangeId':_0x4f0366['rangeId'],'text':_0x54e2f3});return _0x4123c2?_0x29c804({'accessor':_0x45668c,'document':_0x3973f6[_0x4633e1(0x101)],'unitId':_0x3973f6[_0x4633e1(0x231)],'trigger':_0x2846f2,'rangeId':_0x4f0366[_0x4633e1(0x230)],'previousResource':_0x3973f6['resource'],'nextResource':_0x4123c2[_0x4633e1(0x1f5)],'previousDocumentData':_0x3973f6['documentData'],'nextDocumentData':_0x4123c2[_0x4633e1(0x141)],'cursorOffset':_0x4123c2[_0x4633e1(0x22d)],'externalMutations':{}}):!0x1;}function _0x2d9b2e(_0x2e9101,_0x31412b,_0x188841){const _0x101596=_0x754d11;if(_0x188841)return null;let _0x50c99e=_0x2e9101['get'](_0x3ad0ce['IUniverInstanceService']),_0x128cb5=(_0x31412b?_0x50c99e[_0x101596(0xfe)](_0x31412b,_0x3ad0ce[_0x101596(0x1c6)][_0x101596(0x10b)]):_0x50c99e[_0x101596(0x109)](_0x3ad0ce[_0x101596(0x1c6)][_0x101596(0x10b)]))??null;if(!_0x128cb5)return null;let _0x4bb9b2=_0x128cb5[_0x101596(0x21d)](),_0x12d1b8=_0x4bb9b2[_0x101596(0xf0)];if(_0x4bb9b2['disabled']||!_0x12d1b8)return null;let _0x6e85e5=_0x2e9101['get'](_0x46f2a0);return _0x6e85e5['getLoadError'](_0x128cb5[_0x101596(0x1a8)]())?null:{'document':_0x128cb5,'body':_0x12d1b8,'documentData':_0x4bb9b2,'model':_0x6e85e5,'resource':_0x6e85e5['getResource'](_0x128cb5['getUnitId']())??_0x2dd373(),'unitId':_0x128cb5[_0x101596(0x1a8)]()};}function _0x389dea(_0x21ca58,_0x47c9dd){const _0x255baa=_0x754d11;var _0x42e707;return(_0x42e707=_0x21ca58[_0x255baa(0x14f)](_0xe8b14d[_0x255baa(0xf9)])[_0x255baa(0x1a0)]({'subUnitId':_0x47c9dd,'unitId':_0x47c9dd}))==null?void 0x0:_0x42e707[0x0];}function _0x1a44ab(_0x244c61,_0x32069f,_0x1de56e){const _0x4842d1=_0x754d11;if((_0x244c61==null?void 0x0:_0x244c61[_0x4842d1(0x121)])===_0x4842d1(0x1ed)){var _0x459c82;let _0x10baf0=((_0x459c82=_0x32069f[_0x4842d1(0x1c8)])==null?void 0x0:_0x459c82[_0x4842d1(0x137)](_0x5ebbcf=>_0x5ebbcf[_0x4842d1(0x11a)]===_0x244c61[_0x4842d1(0x11a)]))??[];if(_0x10baf0[_0x4842d1(0x150)]!==0x1)return null;let _0x56463d=_0x10baf0[0x0],_0x273f4d=(0x0,_0x3ad0ce[_0x4842d1(0x17e)])(_0x32069f,_0x56463d),_0x5eb229=_0x56463d['startIndex']-_0x273f4d,_0x24aba5=_0x244c61[_0x4842d1(0x19b)]==='end'?_0x5eb229:_0x244c61[_0x4842d1(0x19b)];if(!Number[_0x4842d1(0x14d)](_0x24aba5)||_0x24aba5<0x0||_0x24aba5>_0x5eb229)return null;let _0x5cb94d=_0x273f4d+_0x24aba5;return{'startOffset':_0x5cb94d,'endOffset':_0x5cb94d};}if((_0x244c61==null?void 0x0:_0x244c61[_0x4842d1(0x121)])===_0x4842d1(0x1f4))return!Number['isInteger'](_0x244c61[_0x4842d1(0x170)])||!Number[_0x4842d1(0x14d)](_0x244c61[_0x4842d1(0x13a)])?null:{'startOffset':Math[_0x4842d1(0x1b6)](_0x244c61[_0x4842d1(0x170)],_0x244c61[_0x4842d1(0x13a)]),'endOffset':Math['max'](_0x244c61[_0x4842d1(0x170)],_0x244c61[_0x4842d1(0x13a)])};let _0x54d2d5=(_0x244c61==null?void 0x0:_0x244c61['type'])===_0x4842d1(0x175)?_0x244c61[_0x4842d1(0x175)]:_0x1de56e;return!_0x54d2d5||_0x54d2d5['segmentId']?null:{'startOffset':Math[_0x4842d1(0x1b6)](_0x54d2d5[_0x4842d1(0x170)],_0x54d2d5['endOffset']),'endOffset':Math[_0x4842d1(0x161)](_0x54d2d5[_0x4842d1(0x170)],_0x54d2d5[_0x4842d1(0x13a)])};}function _0x50ed22(_0x4f82ff,_0x72358e,_0x4a6c41,_0xce4142){const _0x5a7c85=_0x754d11;let _0x3880e3=_0x4f82ff['get'](_0xce0fe7[_0x5a7c85(0x13e)]),_0x499abd=_0x4a6c41[_0x5a7c85(0x199)]('=')?_0x4a6c41[_0x5a7c85(0x168)](0x1):_0x4a6c41,_0x186955=_0x3880e3[_0x5a7c85(0x183)](_0x499abd);if(!_0x186955)return null;let _0x5e997e=_0x4f82ff[_0x5a7c85(0x14f)](_0x27ed60[_0x5a7c85(0x160)]),_0x1c37fb=(0x0,_0x27ed60[_0x5a7c85(0x225)])({'qualifiers':(0x0,_0x27ed60['collectFormulaExternalReferenceQualifiers'])(_0x186955),'explicitReferences':_0xce4142??[],'resolveBinding':_0x4bbcbf=>_0x5e997e[_0x5a7c85(0x17f)](_0x72358e,_0x4bbcbf)});return _0x1c37fb['status']===_0x5a7c85(0x1a2)?_0x1c37fb['references']:null;}function _0x3f76d3(_0x25d031,_0x32241e,_0x3bdd9a){const _0x32cc65=_0x754d11;var _0x416109;let _0x175ed3=(0x0,_0x3ad0ce[_0x32cc65(0x1e8)])(0x6);for(;_0x25d031!=null&&(_0x416109=_0x25d031['customRanges'])!=null&&_0x416109[_0x32cc65(0x18b)](_0x5b5768=>_0x5b5768['rangeId']===_0x175ed3)||_0x32241e['getFormula'](_0x3bdd9a,_0x175ed3);)_0x175ed3=(0x0,_0x3ad0ce['generateRandomId'])(0x6);return _0x175ed3;}function _0x2d32d3(_0x2a78fb){try{return _0x2a913d(_0x2a78fb);}catch(_0x1d1088){if(_0x1d1088 instanceof _0x471f6f)return null;throw _0x1d1088;}}function _0x1c6031(_0xf5b57b){const _0x32c432=_0x754d11;let _0x2df47a=_0xf5b57b['previousDocumentData']&&_0xf5b57b[_0x32c432(0x141)]?_0x1009a5(_0xf5b57b[_0x32c432(0x101)],_0xf5b57b[_0x32c432(0x231)],_0xf5b57b[_0x32c432(0x140)],_0xf5b57b[_0x32c432(0x141)],_0xf5b57b['cursorOffset'],_0xf5b57b['trigger']):null;return _0xf5b57b[_0x32c432(0x140)]&&_0xf5b57b[_0x32c432(0x141)]&&!_0x2df47a?null:{'documentRedo':_0x2df47a,'resourceRedo':{'id':_0x3db73a['id'],'params':{'unitId':_0xf5b57b[_0x32c432(0x231)],'resource':_0xf5b57b['nextResource']}},'resourceUndo':{'id':_0x3db73a['id'],'params':{'unitId':_0xf5b57b['unitId'],'resource':_0xf5b57b[_0x32c432(0x213)]}}};}function _0x52b8f4(_0x8390b1,_0x5b9c94,_0x153d6a,_0x4b2c12){const _0x56069b=_0x754d11;_0x4b2c12['pushUndoRedo']({'id':_0x8390b1[_0x56069b(0x1ac)]+':'+_0x8390b1[_0x56069b(0x230)],'unitID':_0x8390b1[_0x56069b(0x231)],'redoMutations':[..._0x8390b1[_0x56069b(0x10c)][_0x56069b(0x174)]?[_0x8390b1[_0x56069b(0x10c)]['redoMutation']]:[],..._0x5b9c94['documentRedo']?[_0x5b9c94[_0x56069b(0x1c9)]]:[],_0x5b9c94[_0x56069b(0x124)]],'undoMutations':[_0x5b9c94['resourceUndo'],..._0x153d6a?[_0x153d6a]:[],..._0x8390b1[_0x56069b(0x10c)][_0x56069b(0x14b)]?[_0x8390b1[_0x56069b(0x10c)][_0x56069b(0x14b)]]:[]]});}function _0x29c804(_0x133e2f){const _0xf2d4c6=_0x754d11;let _0x347101=_0x133e2f[_0xf2d4c6(0x1ec)][_0xf2d4c6(0x14f)](_0x3ad0ce[_0xf2d4c6(0x157)]),_0x5813bb=_0x133e2f['accessor']['get'](_0x3ad0ce['IUndoRedoService']),_0x109fc5=_0x133e2f[_0xf2d4c6(0x1ec)][_0xf2d4c6(0x14f)](_0xe8b14d['DocSelectionManagerService']),_0x48d899=_0x1c6031(_0x133e2f);if(!_0x48d899)return!0x1;let _0x52c9bb=!0x1,_0x1d4a6d=null,_0x577a5a=!0x1;try{if(_0x133e2f[_0xf2d4c6(0x10c)][_0xf2d4c6(0x174)]){if(!_0x347101[_0xf2d4c6(0x1d9)](_0x133e2f['externalMutations'][_0xf2d4c6(0x174)]['id'],_0x133e2f[_0xf2d4c6(0x10c)][_0xf2d4c6(0x174)][_0xf2d4c6(0x21b)]))return!0x1;_0x52c9bb=!0x0;}if(_0x48d899[_0xf2d4c6(0x1c9)]){let _0x1f9d48=_0x347101['syncExecuteCommand'](_0x48d899[_0xf2d4c6(0x1c9)]['id'],_0x48d899[_0xf2d4c6(0x1c9)][_0xf2d4c6(0x21b)]);if(!_0x1f9d48)return _0x22a54f(_0x347101,_0x133e2f[_0xf2d4c6(0x10c)],_0x52c9bb),!0x1;_0x1d4a6d={'id':_0xe8b14d['RichTextEditingMutation']['id'],'params':{..._0x1f9d48,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x347101[_0xf2d4c6(0x1d9)](_0x48d899[_0xf2d4c6(0x124)]['id'],_0x48d899['resourceRedo'][_0xf2d4c6(0x21b)]))return _0x58b000(_0x347101,_0x1d4a6d),_0x22a54f(_0x347101,_0x133e2f[_0xf2d4c6(0x10c)],_0x52c9bb),!0x1;_0x577a5a=!0x0,_0x52b8f4(_0x133e2f,_0x48d899,_0x1d4a6d,_0x5813bb);}catch(_0x394eee){throw _0x577a5a&&_0x347101['syncExecuteCommand'](_0x48d899[_0xf2d4c6(0x1ba)]['id'],_0x48d899[_0xf2d4c6(0x1ba)][_0xf2d4c6(0x21b)]),_0x58b000(_0x347101,_0x1d4a6d),_0x22a54f(_0x347101,_0x133e2f[_0xf2d4c6(0x10c)],_0x52c9bb),_0x394eee;}return _0x109fc5[_0xf2d4c6(0x222)]([{'startOffset':_0x133e2f[_0xf2d4c6(0x22d)],'endOffset':_0x133e2f[_0xf2d4c6(0x22d)],'segmentId':''}],{'unitId':_0x133e2f[_0xf2d4c6(0x231)],'subUnitId':_0x133e2f[_0xf2d4c6(0x231)]},!0x1,{[_0xe8b14d[_0xf2d4c6(0x218)]]:!0x0}),!0x0;}function _0x1009a5(_0x2d4e0e,_0x1954f4,_0x4096a2,_0x122355,_0x537de5,_0xb5539b){const _0x56ca0c=_0x754d11;let _0x327b2e=_0x15be00(_0x4096a2,_0x122355,(0x0,_0x3ad0ce[_0x56ca0c(0x1dc)])(_0x2d4e0e,''));return _0x327b2e?{'id':_0xe8b14d[_0x56ca0c(0x154)]['id'],'params':{'unitId':_0x1954f4,'actions':_0x327b2e,'segmentId':'','textRanges':[{'startOffset':_0x537de5,'endOffset':_0x537de5,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0xb5539b}}:null;}function _0x58b000(_0x27ab4a,_0x2db17f){const _0x306d2d=_0x754d11;_0x2db17f&&_0x27ab4a[_0x306d2d(0x1d9)](_0x2db17f['id'],_0x2db17f['params']);}function _0x22a54f(_0x36ee23,_0x14699c,_0x14b729){const _0x64e1d=_0x754d11;_0x14b729&&_0x14699c[_0x64e1d(0x14b)]&&_0x36ee23['syncExecuteCommand'](_0x14699c[_0x64e1d(0x14b)]['id'],_0x14699c[_0x64e1d(0x14b)][_0x64e1d(0x21b)]);}function _0x15be00(_0x25e4ed,_0x477bd6,_0x23c625){const _0x240c3b=_0x754d11;let _0x5b96e2=_0x25e4ed['body'],_0x3552dd=_0x477bd6[_0x240c3b(0xf0)],_0x27b687=_0x3882f8(_0x5b96e2==null?void 0x0:_0x5b96e2[_0x240c3b(0x14c)],_0x3552dd==null?void 0x0:_0x3552dd['dataStream']);if(!_0x27b687||!_0x3552dd)return null;let _0x311787=new _0x3ad0ce[(_0x240c3b(0x147))]();return _0x311787[_0x240c3b(0x1e6)](_0x27b687[_0x240c3b(0x132)]),_0x27b687[_0x240c3b(0x1d8)]>0x0&&_0x311787[_0x240c3b(0x1fe)](_0x27b687[_0x240c3b(0x1d8)],(0x0,_0x3ad0ce[_0x240c3b(0x227)])(_0x3552dd,_0x27b687[_0x240c3b(0x132)],_0x27b687[_0x240c3b(0x132)]+_0x27b687[_0x240c3b(0x1d8)],!0x1)),_0x27b687['deleteLength']>0x0&&_0x311787['delete'](_0x27b687[_0x240c3b(0x236)]),_0x3ad0ce[_0x240c3b(0x20c)]['getInstance']()['editOp'](_0x311787[_0x240c3b(0x16f)](),_0x23c625);}function _0x3882f8(_0x15dc3d,_0x41e617){const _0x6f7345=_0x754d11;if(_0x15dc3d==null||_0x41e617==null||_0x15dc3d===_0x41e617)return null;let _0x519cdb=0x0;for(;_0x519cdb<_0x15dc3d['length']&&_0x519cdb<_0x41e617[_0x6f7345(0x150)]&&_0x15dc3d[_0x519cdb]===_0x41e617[_0x519cdb];)_0x519cdb+=0x1;let _0x14cf01=_0x15dc3d[_0x6f7345(0x150)],_0x40279f=_0x41e617['length'];for(;_0x14cf01>_0x519cdb&&_0x40279f>_0x519cdb&&_0x15dc3d[_0x14cf01-0x1]===_0x41e617[_0x40279f-0x1];)--_0x14cf01,--_0x40279f;return{'start':_0x519cdb,'deleteLength':_0x14cf01-_0x519cdb,'insertLength':_0x40279f-_0x519cdb};}function _0x351b6a(_0x209262){const _0x3cb2e1=_0x754d11;return{'schemaVersion':0x1,'formulas':Object[_0x3cb2e1(0x217)](Object[_0x3cb2e1(0x1e0)](_0x209262[_0x3cb2e1(0x162)])[_0x3cb2e1(0x184)](([_0x3edd32,_0x161817])=>[_0x3edd32,{..._0x161817,..._0x161817[_0x3cb2e1(0x1ad)]?{'numberFormat':{..._0x161817[_0x3cb2e1(0x1ad)]}}:null,..._0x161817[_0x3cb2e1(0x14e)]?{'lastValue':{..._0x161817[_0x3cb2e1(0x14e)]}}:null}]))};}let _0x841e44=class extends _0x3ad0ce['Disposable']{constructor(_0x4d86c7,_0xf9631d,_0x5ab3da,_0x24197d){const _0x245293=_0x754d11;super(),this['_instanceService']=_0x4d86c7,this['_commandService']=_0xf9631d,this[_0x245293(0x119)]=_0x5ab3da,this[_0x245293(0x177)]=_0x24197d,_0x4fce06(this,_0x245293(0x138),new Set()),_0x4fce06(this,'_syncScheduled',!0x1),_0x4fce06(this,_0x245293(0x190),!0x1),this[_0x245293(0x1e1)][_0x245293(0x15b)](_0x3ad0ce[_0x245293(0x1c6)][_0x245293(0x10b)])[_0x245293(0x19d)](_0xb9ed08=>this[_0x245293(0x177)][_0x245293(0x134)](_0xb9ed08)),this[_0x245293(0x1aa)](this[_0x245293(0x119)][_0x245293(0x1fb)][_0x245293(0x20d)](({unitId:_0x458cc5})=>this['_syncUnit'](_0x458cc5))),this['disposeWithMe'](this[_0x245293(0x1e1)][_0x245293(0x126)][_0x245293(0x20d)](({unit:_0x1aeb39})=>{const _0x9f0498=_0x245293;_0x1aeb39[_0x9f0498(0x121)]===_0x3ad0ce[_0x9f0498(0x1c6)][_0x9f0498(0x10b)]&&this[_0x9f0498(0x1a1)](_0x1aeb39[_0x9f0498(0x1a8)]());})),this[_0x245293(0x1aa)](this['_instanceService'][_0x245293(0x16e)][_0x245293(0x20d)](_0x19154b=>{const _0x1771b7=_0x245293;this[_0x1771b7(0x177)][_0x1771b7(0x1a9)](_0x19154b[_0x1771b7(0x1a8)]());})),this[_0x245293(0x1aa)](this['_commandService'][_0x245293(0x232)](_0x1a6b62=>{const _0x5b7ad1=_0x245293;if(_0x1a6b62['id']===_0xe8b14d[_0x5b7ad1(0x154)]['id']&&_0x491e33(_0x1a6b62['params'])){let _0x1b5ae5=_0x1a6b62['params'];_0x1b5ae5[_0x5b7ad1(0x234)]||this[_0x5b7ad1(0x20e)](_0x1b5ae5[_0x5b7ad1(0x231)]);}}));}['dispose'](){const _0x27ea91=_0x754d11;this[_0x27ea91(0x190)]=!0x0,super[_0x27ea91(0x202)]();}[_0x754d11(0x1a1)](_0x367a6a){const _0x2663ba=_0x754d11;this['_pendingUnitIds'][_0x2663ba(0x1d7)](_0x367a6a),!this[_0x2663ba(0x12c)]&&(this[_0x2663ba(0x12c)]=!0x0,queueMicrotask(()=>{const _0x4d08c2=_0x2663ba;if(this['_syncScheduled']=!0x1,this[_0x4d08c2(0x190)])return;let _0x4f3ef2=Array['from'](this[_0x4d08c2(0x138)]);this['_pendingUnitIds']['clear'](),_0x4f3ef2[_0x4d08c2(0x19d)](_0x5cd954=>this[_0x4d08c2(0x20e)](_0x5cd954));}));}[_0x754d11(0x20e)](_0x3895a2){const _0x49bf5b=_0x754d11;let _0x5aaccf=this[_0x49bf5b(0x1e1)][_0x49bf5b(0xfe)](_0x3895a2,_0x3ad0ce['UniverInstanceType'][_0x49bf5b(0x10b)]);_0x5aaccf&&this[_0x49bf5b(0x177)][_0x49bf5b(0x134)](_0x5aaccf);}};_0x841e44=_0x2f1059([_0x54abe0(0x0,_0x3ad0ce['IUniverInstanceService']),_0x54abe0(0x1,_0x3ad0ce['ICommandService']),_0x54abe0(0x2,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x46f2a0)),_0x54abe0(0x3,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x20a44b))],_0x841e44);function _0x491e33(_0xc8a81d){const _0x1ae096=_0x754d11;return typeof _0xc8a81d==_0x1ae096(0x1d5)&&!!_0xc8a81d&&_0x1ae096(0x231)in _0xc8a81d&&typeof _0xc8a81d[_0x1ae096(0x231)]=='string'&&(!(_0x1ae096(0x234)in _0xc8a81d)||_0xc8a81d['segmentId']===void 0x0||typeof _0xc8a81d[_0x1ae096(0x234)]==_0x1ae096(0x188));}let _0x573977=class extends _0x3ad0ce['Disposable']{constructor(_0x249b5e,_0x14f0c0){const _0x47a6f5=_0x754d11;super(),this[_0x47a6f5(0x10d)]=_0x249b5e,this[_0x47a6f5(0x1ae)]=_0x14f0c0,this[_0x47a6f5(0x1aa)](this[_0x47a6f5(0x10d)][_0x47a6f5(0x1e7)]({'pluginName':_0x959d06,'businesses':[_0x3ad0ce[_0x47a6f5(0x1c6)]['UNIVER_DOC']],'toJson':_0x5a555f=>JSON['stringify'](this[_0x47a6f5(0x1ae)][_0x47a6f5(0x16f)](_0x5a555f)),'parseJson':_0x234777=>JSON[_0x47a6f5(0x235)](_0x234777),'onLoad':(_0x1d3818,_0x540e98)=>{const _0x5b14db=_0x47a6f5;this[_0x5b14db(0x1ae)][_0x5b14db(0x206)](_0x1d3818,_0x540e98);},'onUnLoad':_0x245adb=>this[_0x47a6f5(0x1ae)]['removeUnit'](_0x245adb)}));}};_0x573977=_0x2f1059([_0x54abe0(0x0,_0x3ad0ce[_0x754d11(0x18c)]),_0x54abe0(0x1,(0x0,_0x3ad0ce['Inject'])(_0x46f2a0))],_0x573977);var _0x13460d=_0x754d11(0x1a5),_0x18c596='1.0.1';let _0x2f8a9f={},_0x4ec3b4=class extends _0x3ad0ce[_0x754d11(0xf3)]{constructor(_0x1c261d,_0x4d3cd9,_0x62211){const _0x56e074=_0x754d11;super(),this[_0x56e074(0x159)]=_0x1c261d,this[_0x56e074(0x15f)]=_0x4d3cd9,this[_0x56e074(0x1aa)](_0x62211[_0x56e074(0xf2)]({'resolve':(_0x31a957,_0xc75f20)=>{const _0x47352f=_0x56e074;var _0x8d0ea;return((_0x8d0ea=_0xc75f20[_0x47352f(0x1b7)])==null?void 0x0:_0x8d0ea[_0x47352f(0x137)](_0x2ea921)[_0x47352f(0x184)](_0x135f0d=>({'startOffset':_0x135f0d[_0x47352f(0xfa)],'endOffset':_0x135f0d[_0x47352f(0x220)]+0x1,'text':this['resolveFormula'](_0x31a957,_0x135f0d['rangeId'])})))??[];}})),this['disposeWithMe'](this['_formulaService'][_0x56e074(0x1cc)][_0x56e074(0x20d)](({unitId:_0x50cf57})=>{const _0x2a19df=_0x56e074;_0x62211[_0x2a19df(0x148)](_0x50cf57);}));}[_0x754d11(0x219)](_0xa2ef8c,_0x5596bd){const _0x3b1e18=_0x754d11;var _0x4a6180;return((_0x4a6180=this[_0x3b1e18(0x15f)]['getResult']({'unitId':_0xa2ef8c,'rangeId':_0x5596bd}))==null?void 0x0:_0x4a6180['text'])??'';}[_0x754d11(0x1a6)](_0x183fca,_0xcb27ff,_0x12d903){const _0x588186=_0x754d11;var _0x49106d;let _0x63cbbf=this[_0x588186(0x159)]['getUnit'](_0x183fca,_0x3ad0ce[_0x588186(0x1c6)][_0x588186(0x10b)]),_0x102652=_0x63cbbf==null?void 0x0:_0x63cbbf[_0x588186(0x135)]();if(!_0x102652)return'';let _0xa1b1e6=_0x102652[_0x588186(0x14c)][_0x588186(0x168)](_0xcb27ff,_0x12d903),_0x2ed59d=((_0x49106d=_0x102652[_0x588186(0x1b7)])==null?void 0x0:_0x49106d[_0x588186(0x137)](_0x5395fe=>_0x2ea921(_0x5395fe)&&_0x5395fe[_0x588186(0xfa)]>=_0xcb27ff&&_0x5395fe[_0x588186(0x220)]<_0x12d903)[_0x588186(0x1f1)]((_0xddbc5e,_0x564ef4)=>_0x564ef4[_0x588186(0xfa)]-_0xddbc5e[_0x588186(0xfa)]))??[];for(let _0x58b48f of _0x2ed59d){let _0x32d438=_0x58b48f[_0x588186(0xfa)]-_0xcb27ff,_0x496171=_0x58b48f['endIndex']-_0xcb27ff+0x1;_0xa1b1e6=''+_0xa1b1e6[_0x588186(0x168)](0x0,_0x32d438)+this[_0x588186(0x219)](_0x183fca,_0x58b48f[_0x588186(0x230)])+_0xa1b1e6[_0x588186(0x168)](_0x496171);}return _0xa1b1e6;}[_0x754d11(0xf8)](_0x16f311){return _0xca32cb(_0x16f311);}['degradeBody'](_0x339a9a,_0x5ae85d,_0x4386a8={}){const _0xdd25a1=_0x754d11;var _0x4af93d;return _0x1fb233({'id':_0x339a9a,'body':_0x5ae85d,'documentStyle':{}},(((_0x4af93d=_0x5ae85d[_0xdd25a1(0x1b7)])==null?void 0x0:_0x4af93d[_0xdd25a1(0x137)](_0x2ea921))??[])[_0xdd25a1(0x184)](_0x2ea464=>({'rangeId':_0x2ea464['rangeId'],'text':_0x4386a8[_0x2ea464[_0xdd25a1(0x230)]]??this['resolveFormula'](_0x339a9a,_0x2ea464[_0xdd25a1(0x230)])})))[_0xdd25a1(0xf0)]??{'dataStream':''};}};_0x4ec3b4=_0x2f1059([_0x54abe0(0x0,_0x3ad0ce[_0x754d11(0x1c1)]),_0x54abe0(0x1,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x20a44b)),_0x54abe0(0x2,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0xe8b14d[_0x754d11(0x12d)]))],_0x4ec3b4);function _0xca32cb(_0x3c3bfe){const _0x3717b2=_0x754d11;var _0x263dd6,_0xa7b13f;let _0xc36412=_0x2a46e4(_0x3c3bfe),_0x3364ad=_0x1fb233(_0x3c3bfe,(((_0x263dd6=_0x3c3bfe[_0x3717b2(0xf0)])==null||(_0x263dd6=_0x263dd6[_0x3717b2(0x1b7)])==null?void 0x0:_0x263dd6['filter'](_0x2ea921))??[])[_0x3717b2(0x184)](_0x22b012=>({'rangeId':_0x22b012[_0x3717b2(0x230)],'text':_0x345a78(_0xc36412==null?void 0x0:_0xc36412[_0x3717b2(0x162)][_0x22b012['rangeId']])})));return _0x3364ad[_0x3717b2(0x120)]=(_0xa7b13f=_0x3364ad['resources'])==null?void 0x0:_0xa7b13f[_0x3717b2(0x137)](_0x311036=>_0x311036[_0x3717b2(0x117)]!==_0x959d06),_0x3364ad;}function _0x2a46e4(_0x24ea26){const _0x48a5ce=_0x754d11;var _0x516a03;let _0x13486b=(_0x516a03=_0x24ea26['resources'])==null||(_0x516a03=_0x516a03[_0x48a5ce(0x1d3)](_0x6bf995=>_0x6bf995[_0x48a5ce(0x117)]===_0x48a5ce(0x179)))==null?void 0x0:_0x516a03[_0x48a5ce(0x1b3)];if(_0x13486b)try{let _0x4fe22e=JSON[_0x48a5ce(0x235)](_0x13486b);return _0x1b1cdf(_0x4fe22e)?_0x4fe22e:void 0x0;}catch{return;}}function _0x345a78(_0x29d5a7){const _0x250bf0=_0x754d11;return _0x29d5a7?(0x0,_0x27ed60[_0x250bf0(0x1d1)])({'lastValue':_0x29d5a7[_0x250bf0(0x14e)],'numberFormat':_0x29d5a7[_0x250bf0(0x1ad)]})[_0x250bf0(0x15c)]:'';}let _0x5a43fc=class extends _0x3ad0ce[_0x754d11(0xf3)]{constructor(_0x51d196,_0x2ad542,_0x56b65c){const _0x3248fa=_0x754d11;super(),this[_0x3248fa(0x15f)]=_0x51d196,this['_cacheEligibilityService']=_0x2ad542,this[_0x3248fa(0x1aa)](_0x56b65c[_0x3248fa(0x107)](this));}[_0x754d11(0x15d)](_0x23b40a){const _0x3498ae=_0x754d11;let _0x4d75d1=new Map();for(let _0x2aee38 of this[_0x3498ae(0x15f)][_0x3498ae(0x1e5)]()){var _0x2018d2;if(!this[_0x3498ae(0x14a)][_0x3498ae(0x1f3)](_0x2aee38[_0x3498ae(0x1bb)][_0x3498ae(0x16b)],_0x2aee38[_0x3498ae(0x205)])[_0x3498ae(0x216)])continue;let _0x584b18=(0x0,_0x27ed60[_0x3498ae(0x21c)])(_0x2aee38['liveResult']),_0x265f04=_0x584b18?(0x0,_0x27ed60[_0x3498ae(0x214)])(_0x584b18):null;if(!_0x265f04||_0x18ab00(_0x2aee38[_0x3498ae(0x1bb)][_0x3498ae(0x14e)],_0x265f04))continue;let _0xaf8a05=_0x4d75d1[_0x3498ae(0x14f)](_0x2aee38[_0x3498ae(0x1b0)][_0x3498ae(0x231)])??[];_0xaf8a05['push']({'rangeId':_0x2aee38[_0x3498ae(0x1b0)][_0x3498ae(0x230)],'expectedFormula':_0x2aee38[_0x3498ae(0x1bb)][_0x3498ae(0x16b)],'expectedNumberFormat':(_0x2018d2=_0x2aee38[_0x3498ae(0x1bb)][_0x3498ae(0x1ad)])==null?void 0x0:_0x2018d2[_0x3498ae(0x13f)],'expectedReferenceRevision':_0x2aee38[_0x3498ae(0x1fd)],'lastValue':_0x265f04}),_0x4d75d1[_0x3498ae(0x1ea)](_0x2aee38[_0x3498ae(0x1b0)]['unitId'],_0xaf8a05);}return Array['from'](_0x4d75d1,([_0x118459,_0x298a92])=>({'id':_0x3618d4['id'],'params':{'unitId':_0x118459,'updates':_0x298a92}}));}};_0x5a43fc=_0x2f1059([_0x54abe0(0x0,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x20a44b)),_0x54abe0(0x1,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x27ed60[_0x754d11(0x165)])),_0x54abe0(0x2,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x27ed60[_0x754d11(0x122)]))],_0x5a43fc);function _0x18ab00(_0x19b2d0,_0xca958f){const _0x5cba05=_0x754d11;return(_0x19b2d0==null?void 0x0:_0x19b2d0['v'])===_0xca958f['v']&&(_0x19b2d0==null?void 0x0:_0x19b2d0['t'])===_0xca958f['t']&&(_0x19b2d0==null?void 0x0:_0x19b2d0[_0x5cba05(0x13f)])===_0xca958f[_0x5cba05(0x13f)];}let _0x429a18=class extends _0x3ad0ce[_0x754d11(0x1b2)]{constructor(_0x180da7=_0x2f8a9f,_0x3aa989,_0x3ea98d,_0x2650f8){const _0x3a1860=_0x754d11;super(),this[_0x3a1860(0x171)]=_0x180da7,this[_0x3a1860(0x156)]=_0x3aa989,this[_0x3a1860(0x1bf)]=_0x3ea98d,this['_configService']=_0x2650f8;let {..._0x4c8beb}=(0x0,_0x3ad0ce[_0x3a1860(0x18d)])({},_0x2f8a9f,this[_0x3a1860(0x171)]);this[_0x3a1860(0x10a)][_0x3a1860(0x1f7)](_0x3a1860(0x1fc),_0x4c8beb);}[_0x754d11(0x208)](){const _0x3bea5a=_0x754d11;this[_0x3bea5a(0x156)][_0x3bea5a(0x1d7)]([_0x46f2a0]),this[_0x3bea5a(0x156)][_0x3bea5a(0x1d7)]([_0x20a44b]),this[_0x3bea5a(0x156)][_0x3bea5a(0x1d7)]([_0x573977]),this['_injector'][_0x3bea5a(0x1d7)]([_0x841e44]),this[_0x3bea5a(0x156)]['add']([_0x5a43fc]),this[_0x3bea5a(0x156)][_0x3bea5a(0x1d7)]([_0x4ec3b4]),(0x0,_0x3ad0ce[_0x3bea5a(0x19c)])(this[_0x3bea5a(0x156)],[[_0x46f2a0],[_0x573977],[_0x841e44],[_0x5a43fc],[_0x4ec3b4]]),[_0x4ce42c,_0x27e5d8,_0x3db73a,_0x3618d4,_0x28c79d,_0x4b3299,_0x1dcb18,_0x4dc2c7,_0x550e48,_0x2d94b4]['forEach'](_0x3e2899=>this[_0x3bea5a(0x1aa)](this['_commandService'][_0x3bea5a(0x22c)](_0x3e2899)));}};_0x4fce06(_0x429a18,'pluginName',_0x959d06),_0x4fce06(_0x429a18,'packageName',_0x13460d),_0x4fce06(_0x429a18,_0x754d11(0x1c0),_0x18c596),_0x4fce06(_0x429a18,_0x754d11(0x121),_0x3ad0ce[_0x754d11(0x1c6)][_0x754d11(0x10b)]),_0x429a18=_0x2f1059([(0x0,_0x3ad0ce[_0x754d11(0x129)])(_0x3ebd32[_0x754d11(0x1d2)],_0x27ed60['UniverProFormulaEnginePlugin'],_0xe8b14d['UniverDocsPlugin']),_0x54abe0(0x1,(0x0,_0x3ad0ce[_0x754d11(0x104)])(_0x3ad0ce['Injector'])),_0x54abe0(0x2,_0x3ad0ce[_0x754d11(0x157)]),_0x54abe0(0x3,_0x3ad0ce[_0x754d11(0x1f6)])],_0x429a18),_0x415d22[_0x754d11(0x17d)]=_0x2d94b4,_0x415d22[_0x754d11(0x1f0)]=_0x13f145,_0x415d22[_0x754d11(0x1e3)]='',_0x415d22[_0x754d11(0x179)]=_0x959d06,_0x415d22['DOC_FORMULA_SCHEMA_VERSION']=0x1,Object[_0x754d11(0x11f)](_0x415d22,_0x754d11(0x105),{'enumerable':!0x0,'get':function(){return _0x4ec3b4;}}),Object[_0x754d11(0x11f)](_0x415d22,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x841e44;}}),_0x415d22[_0x754d11(0x112)]=_0x46f2a0,Object[_0x754d11(0x11f)](_0x415d22,_0x754d11(0x1fa),{'enumerable':!0x0,'get':function(){return _0x573977;}}),_0x415d22[_0x754d11(0x1a7)]=_0x26d030,Object['defineProperty'](_0x415d22,'DocFormulaService',{'enumerable':!0x0,'get':function(){return _0x20a44b;}}),_0x415d22['InsertDocFormulaCommand']=_0x28c79d,_0x415d22['InvalidDocFormulaInsertRangeError']=_0x471f6f,_0x415d22[_0x754d11(0x233)]=_0x4dc2c7,_0x415d22[_0x754d11(0x21f)]=_0x27e5d8,_0x415d22[_0x754d11(0x1be)]=_0x550e48,_0x415d22[_0x754d11(0xf7)]=_0x3618d4,_0x415d22[_0x754d11(0x136)]=_0x4ce42c,_0x415d22[_0x754d11(0x169)]=_0x1dcb18,_0x415d22[_0x754d11(0x18f)]=_0x3db73a,Object[_0x754d11(0x11f)](_0x415d22,_0x754d11(0x106),{'enumerable':!0x0,'get':function(){return _0x429a18;}}),_0x415d22[_0x754d11(0x185)]=_0x4b3299,_0x415d22[_0x754d11(0x166)]=_0x216280,_0x415d22['buildInsertDocFormulaActions']=_0x2a913d,_0x415d22[_0x754d11(0x1bd)]=_0x2dc10f,_0x415d22['buildUpdateDocFormulaActions']=_0x40505e,_0x415d22[_0x754d11(0x1cd)]=_0x2dd373,_0x415d22[_0x754d11(0x113)]=_0xca32cb,_0x415d22[_0x754d11(0x13b)]=_0x4001d5,_0x415d22[_0x754d11(0x1cf)]=_0x14ba05,_0x415d22['isDocFormulaRange']=_0x2ea921,_0x415d22[_0x754d11(0xf5)]=_0x1b1cdf,_0x415d22['isFormulaLastValue']=_0x590ba7;}));
1
+ function _0x4d7b(_0x467cd6,_0x4c92fb){_0x467cd6=_0x467cd6-0x12c;const _0x54e04d=_0x54e0();let _0x4d7b6e=_0x54e04d[_0x467cd6];return _0x4d7b6e;}function _0x54e0(){const _0x1c8c45=['getFormulaValueSync','expectedNumberFormat','decorate','createEmptyDocFormulaResource','empty','notifyTextChanged','PENDING','UniverProFormulaEnginePlugin','previousDocumentData','TextX','SetDocFormulaMutation','expectedReferenceRevision','params','getCustomRangeInterval','eligible','setConfig','text','CommandType','getLoadError','status','trigger','isFormulaLastValue','disposeWithMe','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','liveResult','externalReferences','assign','registerFormulaWithRange','_change$','getUnitId','call','FormulaLastValuePersistenceService','Subject','error','map','isDocFormulaRange','DependentOn','UniverDocs','expectedFormula','constructor','endOffset','forEach','shiftInclusiveRangeOnInsert','DocFormulaResourceController','UniverProDocsFormula','paragraphs','docs-formula.command.remove','2gyEBKb','startIndex','referenceRevision','getResource','dispose','startOffset','load','1.0.3','setResource','TABLE_CELL_END','PARAGRAPH','TABLE_START','DOC_FORMULA_PLUGIN','get','documentData','unitId','undoMutation','references','_model','docs-formula.command.replace-with-text','1735YAuVmH','getUnit','cursorOffset','includes','wholeEntity','getAllUnitsForType','10963841vCbRZh','HostExternalReferenceModel','set','getFormulas','UniverEngineFormula','end','kind','pending','Injector','findDocFormulaRange','_instanceService','DocTextResolverService','CUSTOM','presentationChanged$','12984YGXkrk','RemoveDocFormulaMutation','isDocFormulaResource','buildUpdateDocFormulaActions','serialize','textRuns','default','invalid-resource','boolean','filter','ReplaceDocFormulaWithTextCommand','resolved','register','MUTATION','removeFormula','customDecorations','_rawResources','UNIVER_DOC','identity','getParagraphContentStartOffset','change$','docs-formula.mutation.set-resource','retain','model','getCurrentUnitOfType','documentRedo','resolveText','ICommandService','next','syncExecuteCommand','insertLength','position','object','version','name','docs-formula.command.set-number-format','onStarting','rxjs','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','sectionBreaks','endIndex','range','@univerjs/engine-formula','7979288ntshCE','setFormula','_cacheEligibilityService','start','COLUMN_GROUP_START','buildInsertDocFormulaActions','clear','_docFormulaModel','ConvertDocFormulaToTextCommand','values','shiftExclusiveRangeOnInsert','docs-formula.mutation.set-formula','add','isDocFormulaConfig','getBody','nextDocumentData','max','formula','resources','DocFormulaResultStatus','slice','SECTION_BREAK','rangeId','entries','success','trim','RemoveDocFormulaCommand','SetDocFormulaResourceMutation','_configService','_formulaService','FormulaResultStatus','color','@univerjs-pro/engine-formula','document','body','SetDocFormulaNumberFormatCommand','tables','rangeType','DataStreamTreeTokenType','registerPluginResource','keys','UniverCore','_registrationService','symbol','toStringTag','univer-docs-formula','InsertDocFormulaCommand','registerCommand','blockRanges','removeUnit','resolveHostFormulaExternalReferences','length','formulaResult$','TABLE_END','getRevision','dataStream','delete','isInteger','exports','_isDisposed','_deleteRegistration','touchDependencies','_syncUnit','startsWith','unsupported-version','packageName','lastValue','unregister','@univerjs-pro/docs-formula','CellValueType','string','type','resolveFormula','getResult','generateRandomId','RichTextEditingMutation','461531CyKVUD','unitAdded$','has','BLOCK_END','resourceRedo','@univerjs/core','getFormula','shiftInclusiveRangeOnDelete','_registrations','_syncScheduled','disabled','COLUMN_GROUP_END','toPrimitive','_preserveInvalid','endsWith','complete','selection','getRegisteredFormulas','resourceUndo','formulas','UniverInstanceType','deepClone','toFormulaLastValue','COMMAND','editOp','segmentId','9432036MmVbAs','_pendingUnitIds','externalMutations','pattern','Tools','CustomRangeType','UniverDocsPlugin','getScalarFormulaResultCell','DocSelectionManagerService','OtherFormulaBizType','_formulaKeys','getRichTextEditPath','_injector','IResourceManagerService','previousResource','_service','deleteLength','UniverLicensePlugin','number','_univerInstanceService','redoMutation','prototype','_updateFormulaResult','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','_setPresentation','parse','min','customRanges','presentation','_presentationChanged$','Inject','_resourceManagerService','ERROR','_queueSync','function','properties','columnGroups','find','assess','schemaVersion','IUniverInstanceService','fromEntries','Module','InvalidDocFormulaInsertRangeError','merge','760812vDbiDT','DOC_FORMULA_SCHEMA_VERSION','customBlocks','registerProvider','formulaId','collectFormulaExternalReferenceQualifiers','iterator','docs-formula.command.update','amd','SUCCESS','defineProperty','DocFormulaService','resource','getInstance','getPresentation','docs-formula.command.insert','buildUpsertHostExternalReferenceMutations','TABLE_CELL_START','pushUndoRedo','_loadErrors','from','syncUnit','_hostExternalReferenceModel','replaceDocRanges','accessor','setFormulas','_resources','numberFormat','LexerTreeBuilder','cell','BLOCK_START','subscribe','Disposable','getOwnPropertyDescriptor','insert','RegisterOtherFormulaService','sort','updates','resolveFormulaResultPresentation','docs-formula.command.convert-to-text','unregisterUnit','data','paragraphId','6841296cOTFez','stale','config','getSnapshot','paragraph','DocFormulaDisplayTextService','assertSafeDocFormulaInsertRange','asObservable','UpdateDocFormulaCommand','_config'];_0x54e0=function(){return _0x1c8c45;};return _0x54e0();}(function(_0x4c4f3d,_0x30f3d0){const _0x4c21b0=_0x4d7b,_0x16b446=_0x4c4f3d();while(!![]){try{const _0x527eba=-parseInt(_0x4c21b0(0x154))/0x1+-parseInt(_0x4c21b0(0x1ff))/0x2*(parseInt(_0x4c21b0(0x19b))/0x3)+-parseInt(_0x4c21b0(0x227))/0x4*(-parseInt(_0x4c21b0(0x213))/0x5)+-parseInt(_0x4c21b0(0x1c6))/0x6+parseInt(_0x4c21b0(0x219))/0x7+parseInt(_0x4c21b0(0x252))/0x8+-parseInt(_0x4c21b0(0x16e))/0x9;if(_0x527eba===_0x30f3d0)break;else _0x16b446['push'](_0x16b446['shift']());}catch(_0xc84206){_0x16b446['push'](_0x16b446['shift']());}}}(_0x54e0,0xc00f9),function(_0xc92bff,_0x49ea38){const _0xfcae61=_0x4d7b;typeof exports==_0xfcae61(0x247)&&typeof module<'u'?_0x49ea38(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[_0xfcae61(0x1a3)]?define([_0xfcae61(0x142),_0xfcae61(0x272),_0xfcae61(0x159),'@univerjs/docs',_0xfcae61(0x251),'rxjs','@univerjs-pro/license'],_0x49ea38):(_0xc92bff=typeof globalThis<'u'?globalThis:_0xc92bff||self,_0x49ea38(_0xc92bff[_0xfcae61(0x1fc)]={},_0xc92bff['UniverProEngineFormula'],_0xc92bff[_0xfcae61(0x131)],_0xc92bff[_0xfcae61(0x1f5)],_0xc92bff[_0xfcae61(0x21d)],_0xc92bff[_0xfcae61(0x24c)],_0xc92bff['UniverProLicense']));}(this,function(_0xe6425f,_0x305999,_0x35ada0,_0x56ff97,_0x409f17,_0x4d1d3a,_0x33899c){const _0x5e1fd7=_0x4d7b;Object['defineProperty'](_0xe6425f,Symbol[_0x5e1fd7(0x134)],{'value':_0x5e1fd7(0x198)});let _0x542a71=_0x5e1fd7(0x20b),_0x24a7cd='univer-docs-formula';function _0x3fca4a(){return{'schemaVersion':0x1,'formulas':{}};}function _0x2c1ccf(_0x465503){const _0x40d384=_0x5e1fd7;return!_0x465503||typeof _0x465503!=_0x40d384(0x247)||!_0x3ecd0b(_0x465503,[_0x40d384(0x195),'formulas'])||!(_0x40d384(0x195)in _0x465503)||_0x465503[_0x40d384(0x195)]!==0x1||!(_0x40d384(0x167)in _0x465503)||!_0x465503['formulas']||typeof _0x465503['formulas']!='object'||Array['isArray'](_0x465503[_0x40d384(0x167)])?!0x1:Object[_0x40d384(0x269)](_0x465503[_0x40d384(0x167)])['every'](([_0x323364,_0x55459a])=>_0x323364[_0x40d384(0x13b)]>0x0&&_0x4983da(_0x55459a));}function _0x4983da(_0x5ea632){const _0x577c9e=_0x5e1fd7;return!_0x5ea632||typeof _0x5ea632!=_0x577c9e(0x247)||!_0x3ecd0b(_0x5ea632,[_0x577c9e(0x263),_0x577c9e(0x1b6),_0x577c9e(0x14a)])||!(_0x577c9e(0x263)in _0x5ea632)||typeof _0x5ea632[_0x577c9e(0x263)]!=_0x577c9e(0x14e)||!_0x5ea632['formula'][_0x577c9e(0x26b)]()||_0x577c9e(0x1b6)in _0x5ea632&&_0x5ea632[_0x577c9e(0x1b6)]!=null&&(typeof _0x5ea632['numberFormat']!=_0x577c9e(0x247)||!_0x3ecd0b(_0x5ea632[_0x577c9e(0x1b6)],[_0x577c9e(0x171)])||!(_0x577c9e(0x171)in _0x5ea632['numberFormat'])||typeof _0x5ea632[_0x577c9e(0x1b6)][_0x577c9e(0x171)]!=_0x577c9e(0x14e))?!0x1:!('lastValue'in _0x5ea632)||_0x5ea632[_0x577c9e(0x14a)]==null||_0x544890(_0x5ea632[_0x577c9e(0x14a)]);}function _0x544890(_0x3b008d){const _0x1544a8=_0x5e1fd7;return!_0x3b008d||typeof _0x3b008d!=_0x1544a8(0x247)||!_0x3ecd0b(_0x3b008d,['v','t',_0x1544a8(0x171)])||!('v'in _0x3b008d)||_0x3b008d['v']!==null&&typeof _0x3b008d['v']!=_0x1544a8(0x14e)&&typeof _0x3b008d['v']!=_0x1544a8(0x180)&&typeof _0x3b008d['v']!=_0x1544a8(0x22f)||'t'in _0x3b008d&&_0x3b008d['t']!=null&&!_0x83aac2(_0x3b008d['t'])?!0x1:!(_0x1544a8(0x171)in _0x3b008d)||_0x3b008d['pattern']==null||typeof _0x3b008d[_0x1544a8(0x171)]==_0x1544a8(0x14e);}function _0x3ecd0b(_0x49edea,_0x2ee457){const _0x45515b=_0x5e1fd7;let _0x1de38c=new Set(_0x2ee457);return Object['keys'](_0x49edea)['every'](_0x49c546=>_0x1de38c[_0x45515b(0x156)](_0x49c546));}function _0x83aac2(_0x58f280){const _0xe1ec6a=_0x5e1fd7;return typeof _0x58f280==_0xe1ec6a(0x180)&&Object[_0xe1ec6a(0x25b)](_0x35ada0[_0xe1ec6a(0x14d)])[_0xe1ec6a(0x216)](_0x58f280);}let _0x5bfed7=new Set([_0x35ada0[_0x5e1fd7(0x12e)]['SECTION_BREAK'],_0x35ada0['DataStreamTreeTokenType'][_0x5e1fd7(0x20a)],_0x35ada0['DataStreamTreeTokenType']['TABLE_ROW_START'],_0x35ada0['DataStreamTreeTokenType'][_0x5e1fd7(0x1ac)],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x208)],_0x35ada0[_0x5e1fd7(0x12e)]['TABLE_ROW_END'],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x13d)],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x256)],_0x35ada0[_0x5e1fd7(0x12e)]['COLUMN_START'],_0x35ada0[_0x5e1fd7(0x12e)]['COLUMN_END'],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x15f)],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x1b9)],_0x35ada0[_0x5e1fd7(0x12e)][_0x5e1fd7(0x157)],_0x35ada0[_0x5e1fd7(0x12e)]['CUSTOM_BLOCK']]);var _0x84039e=class extends Error{constructor(){const _0x356e31=_0x5e1fd7;super(_0x356e31(0x185));}};function _0x50a02c(_0x50a9f1){const _0x560c44=_0x5e1fd7;var _0x36c1d1,_0x2d6722;let _0xddc41b=_0x35ada0['Tools'][_0x560c44(0x169)](_0x50a9f1[_0x560c44(0x20d)]),_0x3cbb64=_0x55248a(_0xddc41b),{startOffset:_0x57b3aa,endOffset:_0x7a2c4b}=_0x1c47bf(_0x3cbb64,_0x50a9f1[_0x560c44(0x204)],_0x50a9f1[_0x560c44(0x1f8)]);_0x5eec39(_0x3cbb64,_0x57b3aa,_0x7a2c4b);let _0x4e2b89=((_0x36c1d1=_0x3cbb64['customRanges'])==null?void 0x0:_0x36c1d1[_0x560c44(0x230)](_0x3999ba=>{const _0x5f0e0d=_0x560c44;if(!_0x5646e5(_0x3999ba))return!0x1;let _0x30abd5=(0x0,_0x35ada0[_0x5f0e0d(0x1dd)])(_0x3999ba);return _0x30abd5[_0x5f0e0d(0x1f8)]>_0x57b3aa&&_0x30abd5[_0x5f0e0d(0x204)]<_0x7a2c4b;})[_0x560c44(0x1f2)](_0x104b10=>_0x104b10[_0x560c44(0x268)]))??[];_0x5ebec6(_0x3cbb64,_0x57b3aa,_0x7a2c4b,''),_0x3cbb64[_0x560c44(0x189)]=[...((_0x2d6722=_0x3cbb64[_0x560c44(0x189)])==null?void 0x0:_0x2d6722[_0x560c44(0x230)](_0x2f412a=>!_0x4e2b89['includes'](_0x2f412a[_0x560c44(0x268)])&&_0x2f412a[_0x560c44(0x268)]!==_0x50a9f1['rangeId']))??[],_0x19ca4d(_0x50a9f1[_0x560c44(0x268)],_0x57b3aa)][_0x560c44(0x1bf)]((_0x4c9c84,_0xdf1573)=>_0x4c9c84[_0x560c44(0x200)]-_0xdf1573[_0x560c44(0x200)]);let _0x4a56dd=_0x32e049(_0x50a9f1[_0x560c44(0x1a7)]);return _0x4e2b89[_0x560c44(0x1f9)](_0x1c70b2=>{const _0x31cd87=_0x560c44;delete _0x4a56dd[_0x31cd87(0x167)][_0x1c70b2];}),_0x4a56dd[_0x560c44(0x167)][_0x50a9f1[_0x560c44(0x268)]]=_0x35ada0[_0x560c44(0x172)][_0x560c44(0x169)](_0x50a9f1[_0x560c44(0x1c8)]),{'nextDocumentData':_0xddc41b,'nextResource':_0x4a56dd,'cursorOffset':_0x57b3aa+0x1};}function _0x424b69(_0x1254b6){const _0x35d067=_0x5e1fd7;var _0x3d05f7,_0x52471c;let _0x5112ae=_0x35ada0[_0x35d067(0x172)][_0x35d067(0x169)](_0x1254b6['documentData']),_0x265ea7=(_0x3d05f7=_0x55248a(_0x5112ae)[_0x35d067(0x189)])==null?void 0x0:_0x3d05f7[_0x35d067(0x193)](_0x495e8b=>_0x495e8b['rangeId']===_0x1254b6[_0x35d067(0x268)]&&_0x5646e5(_0x495e8b));if(!_0x265ea7||!((_0x52471c=_0x1254b6[_0x35d067(0x1a7)])!=null&&_0x52471c[_0x35d067(0x167)][_0x1254b6['rangeId']]))return null;let _0x34c6fc=_0x32e049(_0x1254b6['resource']);return _0x34c6fc[_0x35d067(0x167)][_0x1254b6['rangeId']]=_0x35ada0[_0x35d067(0x172)][_0x35d067(0x169)](_0x1254b6[_0x35d067(0x1c8)]),{'nextDocumentData':_0x5112ae,'nextResource':_0x34c6fc,'cursorOffset':_0x265ea7['endIndex']+0x1};}function _0x44ab43(_0x44dd1e){const _0x29c326=_0x5e1fd7;let _0x3b7da1=_0x35ada0[_0x29c326(0x172)][_0x29c326(0x169)](_0x44dd1e[_0x29c326(0x20d)]),_0x4cf908=_0x3ff7e6(_0x3b7da1,_0x44dd1e[_0x29c326(0x268)],_0x44dd1e[_0x29c326(0x1e0)]??'');if(_0x4cf908==null)return null;let _0x5b7a66=_0x32e049(_0x44dd1e[_0x29c326(0x1a7)]);return delete _0x5b7a66[_0x29c326(0x167)][_0x44dd1e[_0x29c326(0x268)]],{'nextDocumentData':_0x3b7da1,'nextResource':_0x5b7a66,'cursorOffset':_0x4cf908};}function _0x562951(_0x51a45a,_0xe5b58a){const _0x33056d=_0x5e1fd7;var _0x29699b;let _0x10c1d8=_0x35ada0['Tools'][_0x33056d(0x169)](_0x51a45a),_0x5c22f9=_0x10c1d8[_0x33056d(0x274)];if(!_0x5c22f9)return _0x10c1d8;let _0x5a714e=new Map(_0xe5b58a[_0x33056d(0x1f2)](_0x560176=>[_0x560176[_0x33056d(0x268)],_0x560176[_0x33056d(0x1e0)]])),_0x3f6ed7=((_0x29699b=_0x5c22f9['customRanges'])==null?void 0x0:_0x29699b[_0x33056d(0x230)](_0xbbf63a=>_0x5646e5(_0xbbf63a)&&_0x5a714e[_0x33056d(0x156)](_0xbbf63a[_0x33056d(0x268)]))['sort']((_0xc9f1bc,_0x3464be)=>_0x3464be[_0x33056d(0x200)]-_0xc9f1bc[_0x33056d(0x200)]))??[];for(let _0x28568a of _0x3f6ed7)_0x3ff7e6(_0x10c1d8,_0x28568a['rangeId'],_0x5a714e[_0x33056d(0x20c)](_0x28568a[_0x33056d(0x268)])??'');return _0x10c1d8;}function _0x5646e5(_0x2b67b6){const _0x51cb72=_0x5e1fd7;var _0x2c2ed0;return(_0x2b67b6==null?void 0x0:_0x2b67b6[_0x51cb72(0x12d)])===_0x35ada0[_0x51cb72(0x173)]['CUSTOM']&&_0x2b67b6[_0x51cb72(0x217)]===!0x0&&((_0x2c2ed0=_0x2b67b6[_0x51cb72(0x191)])==null?void 0x0:_0x2c2ed0[_0x51cb72(0x21f)])===_0x51cb72(0x135);}function _0x251f7a(_0x5c8a20,_0x16ac7d){const _0x3e0c7e=_0x5e1fd7;var _0x37d6d5;return _0x5c8a20==null||(_0x37d6d5=_0x5c8a20[_0x3e0c7e(0x189)])==null?void 0x0:_0x37d6d5[_0x3e0c7e(0x193)](_0x2f18ee=>_0x2f18ee[_0x3e0c7e(0x268)]===_0x16ac7d&&_0x5646e5(_0x2f18ee));}function _0x5eec39(_0x4727a0,_0x3a4dc9,_0x33aa1f){const _0x1a6570=_0x5e1fd7;if(_0x3a4dc9===_0x33aa1f){if(_0x5bfed7['has'](_0x4727a0[_0x1a6570(0x13f)][_0x3a4dc9]))throw new _0x84039e();return;}for(let _0x986aee=_0x3a4dc9;_0x986aee<_0x33aa1f;_0x986aee++)if(_0x4727a0[_0x1a6570(0x13f)][_0x986aee]===_0x35ada0[_0x1a6570(0x12e)][_0x1a6570(0x209)]||_0x5bfed7[_0x1a6570(0x156)](_0x4727a0[_0x1a6570(0x13f)][_0x986aee]))throw new _0x84039e();}function _0x19ca4d(_0x25c009,_0x43288e){const _0x3a3f97=_0x5e1fd7;return{'startIndex':_0x43288e,'endIndex':_0x43288e,'rangeId':_0x25c009,'rangeType':_0x35ada0[_0x3a3f97(0x173)][_0x3a3f97(0x225)],'wholeEntity':!0x0,'properties':{'kind':_0x24a7cd}};}function _0x32e049(_0x268fd0){const _0x3d3ee9=_0x5e1fd7;return _0x268fd0?_0x35ada0[_0x3d3ee9(0x172)]['deepClone'](_0x268fd0):_0x3fca4a();}function _0x1c47bf(_0x460d41,_0x8381,_0x2da49c){const _0x51b676=_0x5e1fd7;let _0x372e71=_0x3113f0(_0x460d41),_0x437987=_0x8381??_0x372e71,_0x10ac0f=_0x2da49c??_0x437987;return{'startOffset':_0x15bf95(Math['min'](_0x437987,_0x10ac0f),_0x372e71),'endOffset':_0x15bf95(Math[_0x51b676(0x262)](_0x437987,_0x10ac0f),_0x372e71)};}function _0x15bf95(_0x189eb5,_0x561184){const _0x4ffe7d=_0x5e1fd7;return Math['max'](0x0,Math[_0x4ffe7d(0x188)](_0x189eb5,_0x561184));}function _0x3113f0(_0x9aafcb){const _0x46922f=_0x5e1fd7;return _0x9aafcb['dataStream']['endsWith'](''+_0x35ada0['DataStreamTreeTokenType'][_0x46922f(0x209)]+_0x35ada0['DataStreamTreeTokenType']['SECTION_BREAK'])?Math[_0x46922f(0x262)](0x0,_0x9aafcb[_0x46922f(0x13f)][_0x46922f(0x13b)]-0x2):_0x9aafcb['dataStream'][_0x46922f(0x162)](_0x35ada0[_0x46922f(0x12e)][_0x46922f(0x267)])?Math[_0x46922f(0x262)](0x0,_0x9aafcb[_0x46922f(0x13f)][_0x46922f(0x13b)]-0x1):_0x9aafcb[_0x46922f(0x13f)][_0x46922f(0x13b)];}function _0x5ebec6(_0x220718,_0x508ddd,_0x40fa2d,_0x155539){_0x40fa2d>_0x508ddd&&_0x27342e(_0x220718,_0x508ddd,_0x40fa2d),_0x270215(_0x220718,_0x508ddd,_0x155539);}function _0x3ff7e6(_0x23914c,_0x3001ea,_0x2e8814){const _0x292275=_0x5e1fd7;var _0x5419f8,_0x42457c;let _0x2e66c7=_0x55248a(_0x23914c),_0x349e77=(_0x5419f8=_0x2e66c7['customRanges'])==null?void 0x0:_0x5419f8['find'](_0x2b70e0=>_0x2b70e0[_0x292275(0x268)]===_0x3001ea&&_0x5646e5(_0x2b70e0));if(!_0x349e77)return null;let _0x460184=(0x0,_0x35ada0[_0x292275(0x1dd)])(_0x349e77);return _0x5ebec6(_0x2e66c7,_0x460184[_0x292275(0x204)],_0x460184[_0x292275(0x1f8)],_0x2e8814),_0x2e66c7['customRanges']=(_0x42457c=_0x2e66c7[_0x292275(0x189)])==null?void 0x0:_0x42457c[_0x292275(0x230)](_0x1558c3=>_0x1558c3['rangeId']!==_0x3001ea),_0x460184['startOffset']+_0x2e8814['length'];}function _0x270215(_0xf390c8,_0x2a6026,_0x1dbaa8){const _0x52ba5e=_0x5e1fd7;_0x1dbaa8&&(_0xf390c8[_0x52ba5e(0x13f)]=''+_0xf390c8[_0x52ba5e(0x13f)][_0x52ba5e(0x266)](0x0,_0x2a6026)+_0x1dbaa8+_0xf390c8['dataStream'][_0x52ba5e(0x266)](_0x2a6026),_0x5985c5(_0xf390c8,_0x2a6026,_0x1dbaa8[_0x52ba5e(0x13b)]));}function _0x27342e(_0x3a90f5,_0x3346ef,_0x502d79){const _0x3a5348=_0x5e1fd7;let _0x47d91f=_0x502d79-_0x3346ef;_0x3a90f5[_0x3a5348(0x13f)]=''+_0x3a90f5[_0x3a5348(0x13f)]['slice'](0x0,_0x3346ef)+_0x3a90f5[_0x3a5348(0x13f)][_0x3a5348(0x266)](_0x502d79),_0x5d040c(_0x3a90f5,_0x3346ef,_0x47d91f);}function _0x5985c5(_0x380e23,_0x5f31f0,_0x89a62b){const _0x2ea72f=_0x5e1fd7;_0x380e23[_0x2ea72f(0x1fd)]=_0x3722f6(_0x380e23[_0x2ea72f(0x1fd)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x24e)]=_0x3722f6(_0x380e23[_0x2ea72f(0x24e)],_0x5f31f0,_0x89a62b),_0x380e23['customBlocks']=_0x3722f6(_0x380e23[_0x2ea72f(0x19d)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x22c)]=_0x40bc08(_0x380e23['textRuns'],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x12c)]=_0x181e36(_0x380e23[_0x2ea72f(0x12c)],_0x5f31f0,_0x89a62b),_0x380e23['columnGroups']=_0x41f534(_0x380e23[_0x2ea72f(0x192)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x189)]=_0x41f534(_0x380e23[_0x2ea72f(0x189)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x236)]=_0x41f534(_0x380e23[_0x2ea72f(0x236)],_0x5f31f0,_0x89a62b),_0x380e23[_0x2ea72f(0x138)]=_0x41f534(_0x380e23[_0x2ea72f(0x138)],_0x5f31f0,_0x89a62b);}function _0x5d040c(_0x59ddfc,_0x26464c,_0x5d9c6e){const _0x100207=_0x5e1fd7;var _0x4e2a21,_0x581e71;_0x59ddfc[_0x100207(0x1fd)]=_0x15d5cc(_0x59ddfc[_0x100207(0x1fd)],_0x26464c,_0x5d9c6e),_0x59ddfc[_0x100207(0x24e)]=_0x15d5cc(_0x59ddfc[_0x100207(0x24e)],_0x26464c,_0x5d9c6e),_0x59ddfc['customBlocks']=_0x15d5cc(_0x59ddfc[_0x100207(0x19d)],_0x26464c,_0x5d9c6e),_0x59ddfc[_0x100207(0x22c)]=(_0x4e2a21=_0x1f02cf((_0x581e71=_0x59ddfc['textRuns'])==null?void 0x0:_0x581e71[_0x100207(0x1f2)](_0xe39058=>({..._0xe39058,'startIndex':_0xe39058['st'],'endIndex':_0xe39058['ed']})),_0x26464c,_0x5d9c6e))==null?void 0x0:_0x4e2a21[_0x100207(0x1f2)](_0x5be1dd=>{let {startIndex:_0x1b22e8,endIndex:_0x21ead8,..._0x3d151f}=_0x5be1dd;return{..._0x3d151f,'st':_0x1b22e8,'ed':_0x21ead8};}),_0x59ddfc[_0x100207(0x12c)]=_0x1f02cf(_0x59ddfc[_0x100207(0x12c)],_0x26464c,_0x5d9c6e),_0x59ddfc['columnGroups']=_0x192edd(_0x59ddfc[_0x100207(0x192)],_0x26464c,_0x5d9c6e),_0x59ddfc[_0x100207(0x189)]=_0x192edd(_0x59ddfc[_0x100207(0x189)],_0x26464c,_0x5d9c6e),_0x59ddfc[_0x100207(0x236)]=_0x192edd(_0x59ddfc[_0x100207(0x236)],_0x26464c,_0x5d9c6e),_0x59ddfc['blockRanges']=_0x192edd(_0x59ddfc['blockRanges'],_0x26464c,_0x5d9c6e);}function _0x3722f6(_0x211b97,_0x3d20f3,_0x5514db){const _0x59c477=_0x5e1fd7;return _0x211b97==null?void 0x0:_0x211b97['map'](_0x381872=>_0x381872['startIndex']>=_0x3d20f3?{..._0x381872,'startIndex':_0x381872[_0x59c477(0x200)]+_0x5514db}:_0x381872);}function _0x15d5cc(_0xeff995,_0x57776f,_0x58ff4d){const _0x3de58d=_0x5e1fd7;let _0x5e2356=_0x57776f+_0x58ff4d;return _0xeff995==null?void 0x0:_0xeff995[_0x3de58d(0x1f2)](_0x501085=>_0x501085[_0x3de58d(0x200)]>=_0x57776f&&_0x501085[_0x3de58d(0x200)]<_0x5e2356?null:_0x501085[_0x3de58d(0x200)]>=_0x5e2356?{..._0x501085,'startIndex':_0x501085[_0x3de58d(0x200)]-_0x58ff4d}:_0x501085)[_0x3de58d(0x230)](_0x465f29=>_0x465f29!=null);}function _0x40bc08(_0x401165,_0x219ab5,_0x4fd9f4){const _0x1033b8=_0x5e1fd7;return _0x401165==null?void 0x0:_0x401165[_0x1033b8(0x1f2)](_0x3979dd=>_0x3979dd['st']>=_0x219ab5?{..._0x3979dd,'st':_0x3979dd['st']+_0x4fd9f4,'ed':_0x3979dd['ed']+_0x4fd9f4}:_0x3979dd['ed']>_0x219ab5?{..._0x3979dd,'ed':_0x3979dd['ed']+_0x4fd9f4}:_0x3979dd);}function _0x41f534(_0x44ba2e,_0x5d5ba0,_0x1c9e9d){const _0x2cd7ad=_0x5e1fd7;return _0x44ba2e==null?void 0x0:_0x44ba2e[_0x2cd7ad(0x1f2)](_0x29eb67=>(0x0,_0x35ada0[_0x2cd7ad(0x1fa)])(_0x29eb67,_0x5d5ba0,_0x1c9e9d));}function _0x181e36(_0x2eac79,_0x570d83,_0x4c1924){const _0x4d702a=_0x5e1fd7;return _0x2eac79==null?void 0x0:_0x2eac79[_0x4d702a(0x1f2)](_0x4b765e=>(0x0,_0x35ada0[_0x4d702a(0x25c)])(_0x4b765e,_0x570d83,_0x4c1924));}function _0x192edd(_0x4e48ba,_0x1ab84d,_0x5ace19){const _0x2b5d32=_0x5e1fd7;return _0x4e48ba==null?void 0x0:_0x4e48ba[_0x2b5d32(0x1f2)](_0x55a11e=>(0x0,_0x35ada0[_0x2b5d32(0x15b)])(_0x55a11e,_0x1ab84d,_0x5ace19))['filter'](_0x1e3002=>_0x1e3002!=null);}function _0x1f02cf(_0x567321,_0x9d55d9,_0x47308e){const _0x4b2e55=_0x5e1fd7;return _0x567321==null?void 0x0:_0x567321[_0x4b2e55(0x1f2)](_0x225b12=>(0x0,_0x35ada0['shiftExclusiveRangeOnDelete'])(_0x225b12,_0x9d55d9,_0x47308e))[_0x4b2e55(0x230)](_0x199b9e=>_0x199b9e!=null);}function _0x55248a(_0x33bd2c){const _0x36d11d=_0x5e1fd7;if(!_0x33bd2c['body'])throw Error(_0x36d11d(0x24d));return _0x33bd2c[_0x36d11d(0x274)];}function _0x571c01(_0x523e41){'@babel/helpers - typeof';const _0x5a3706=_0x5e1fd7;return _0x571c01=typeof Symbol==_0x5a3706(0x190)&&typeof Symbol[_0x5a3706(0x1a1)]==_0x5a3706(0x133)?function(_0x517ea1){return typeof _0x517ea1;}:function(_0x220aab){const _0x20222d=_0x5a3706;return _0x220aab&&typeof Symbol==_0x20222d(0x190)&&_0x220aab[_0x20222d(0x1f7)]===Symbol&&_0x220aab!==Symbol[_0x20222d(0x183)]?'symbol':typeof _0x220aab;},_0x571c01(_0x523e41);}function _0x475ca1(_0x500c95,_0x387465){const _0x53c3b4=_0x5e1fd7;if(_0x571c01(_0x500c95)!=_0x53c3b4(0x247)||!_0x500c95)return _0x500c95;var _0x18b123=_0x500c95[Symbol[_0x53c3b4(0x160)]];if(_0x18b123!==void 0x0){var _0xdd4310=_0x18b123[_0x53c3b4(0x1ee)](_0x500c95,_0x387465||_0x53c3b4(0x22d));if(_0x571c01(_0xdd4310)!=_0x53c3b4(0x247))return _0xdd4310;throw TypeError(_0x53c3b4(0x1e7));}return(_0x387465===_0x53c3b4(0x14e)?String:Number)(_0x500c95);}function _0x59f7c5(_0x44cf15){const _0x532ed3=_0x5e1fd7;var _0x5b0f65=_0x475ca1(_0x44cf15,_0x532ed3(0x14e));return _0x571c01(_0x5b0f65)==_0x532ed3(0x133)?_0x5b0f65:_0x5b0f65+'';}function _0x427b68(_0x382e2a,_0x5a305f,_0x4d9065){const _0x421e24=_0x5e1fd7;return(_0x5a305f=_0x59f7c5(_0x5a305f))in _0x382e2a?Object[_0x421e24(0x1a5)](_0x382e2a,_0x5a305f,{'value':_0x4d9065,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x382e2a[_0x5a305f]=_0x4d9065,_0x382e2a;}var _0xde1cef=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(..._0x24310b){const _0x5b119a=_0x5e1fd7;super(..._0x24310b),_0x427b68(this,_0x5b119a(0x1b5),new Map()),_0x427b68(this,_0x5b119a(0x237),new Map()),_0x427b68(this,_0x5b119a(0x1ae),new Map()),_0x427b68(this,_0x5b119a(0x1ec),new _0x4d1d3a[(_0x5b119a(0x1f0))]()),_0x427b68(this,_0x5b119a(0x23b),this['_change$'][_0x5b119a(0x1cd)]());}[_0x5e1fd7(0x15a)](_0x5c3900,_0x3d55a9){const _0xd70ae8=_0x5e1fd7;var _0x46ebd1;let _0x33aa58=(_0x46ebd1=this['_resources'][_0xd70ae8(0x20c)](_0x5c3900))==null?void 0x0:_0x46ebd1[_0xd70ae8(0x167)][_0x3d55a9];return _0x33aa58?_0x35ada0[_0xd70ae8(0x172)]['deepClone'](_0x33aa58):void 0x0;}[_0x5e1fd7(0x21c)](_0x13d3ab){const _0x2872cf=_0x5e1fd7;var _0x2f1301;return _0x35ada0[_0x2872cf(0x172)][_0x2872cf(0x169)](((_0x2f1301=this['_resources'][_0x2872cf(0x20c)](_0x13d3ab))==null?void 0x0:_0x2f1301[_0x2872cf(0x167)])??{});}[_0x5e1fd7(0x202)](_0x3213bd){const _0x3b3999=_0x5e1fd7;let _0x320e34=this[_0x3b3999(0x1b5)][_0x3b3999(0x20c)](_0x3213bd);return _0x320e34?_0x35ada0[_0x3b3999(0x172)][_0x3b3999(0x169)](_0x320e34):void 0x0;}[_0x5e1fd7(0x253)](_0x4d4c0e,_0x1a5cc1,_0x412170){return this['setFormulas'](_0x4d4c0e,{[_0x1a5cc1]:_0x412170});}[_0x5e1fd7(0x207)](_0x2a532a,_0x16961c){const _0x2a40ab=_0x5e1fd7;return this[_0x2a40ab(0x1ae)][_0x2a40ab(0x156)](_0x2a532a)||!_0x2c1ccf(_0x16961c)?!0x1:(this['_resources']['set'](_0x2a532a,_0x35ada0[_0x2a40ab(0x172)][_0x2a40ab(0x169)](_0x16961c)),this['_change$'][_0x2a40ab(0x243)]({'unitId':_0x2a532a}),!0x0);}[_0x5e1fd7(0x1b4)](_0x68e8f6,_0x335f60){const _0x191920=_0x5e1fd7;if(this['_loadErrors'][_0x191920(0x156)](_0x68e8f6)||!Object[_0x191920(0x130)](_0x335f60)['length']||!_0x2c1ccf({'schemaVersion':0x1,'formulas':_0x335f60}))return!0x1;let _0x35aab1=this[_0x191920(0x1b5)]['get'](_0x68e8f6)??_0x3fca4a(),_0x3862c9=_0x35ada0[_0x191920(0x172)][_0x191920(0x169)](_0x35aab1);return Object[_0x191920(0x1ea)](_0x3862c9['formulas'],_0x35ada0[_0x191920(0x172)][_0x191920(0x169)](_0x335f60)),this[_0x191920(0x1b5)]['set'](_0x68e8f6,_0x3862c9),this[_0x191920(0x1ec)][_0x191920(0x243)]({'unitId':_0x68e8f6,'rangeIds':Object[_0x191920(0x130)](_0x335f60)}),!0x0;}[_0x5e1fd7(0x235)](_0x119d43,_0x2e78cc){const _0x483367=_0x5e1fd7;if(this[_0x483367(0x1ae)][_0x483367(0x156)](_0x119d43))return!0x1;let _0x4b60c8=this['_resources'][_0x483367(0x20c)](_0x119d43);if(!(_0x4b60c8!=null&&_0x4b60c8[_0x483367(0x167)][_0x2e78cc]))return!0x1;let _0x3cc0c2=_0x35ada0[_0x483367(0x172)][_0x483367(0x169)](_0x4b60c8);return delete _0x3cc0c2[_0x483367(0x167)][_0x2e78cc],this[_0x483367(0x1b5)][_0x483367(0x21b)](_0x119d43,_0x3cc0c2),this[_0x483367(0x1ec)][_0x483367(0x243)]({'unitId':_0x119d43,'rangeIds':[_0x2e78cc]}),!0x0;}[_0x5e1fd7(0x205)](_0x56b4d2,_0x5c1cf8){const _0x371e7a=_0x5e1fd7;return _0x5c1cf8&&typeof _0x5c1cf8==_0x371e7a(0x247)&&_0x371e7a(0x195)in _0x5c1cf8&&_0x5c1cf8[_0x371e7a(0x195)]!==0x1?(this[_0x371e7a(0x161)](_0x56b4d2,_0x5c1cf8,_0x371e7a(0x148)),!0x1):_0x2c1ccf(_0x5c1cf8)?(this[_0x371e7a(0x1b5)][_0x371e7a(0x21b)](_0x56b4d2,_0x35ada0[_0x371e7a(0x172)]['deepClone'](_0x5c1cf8)),this[_0x371e7a(0x237)]['delete'](_0x56b4d2),this[_0x371e7a(0x1ae)][_0x371e7a(0x140)](_0x56b4d2),this[_0x371e7a(0x1ec)][_0x371e7a(0x243)]({'unitId':_0x56b4d2}),!0x0):(this[_0x371e7a(0x161)](_0x56b4d2,_0x5c1cf8,_0x371e7a(0x22e)),!0x1);}['serialize'](_0x4e8745){const _0x227dc8=_0x5e1fd7;let _0x5eaa60=this[_0x227dc8(0x1b5)][_0x227dc8(0x20c)](_0x4e8745);return _0x5eaa60?_0x35ada0[_0x227dc8(0x172)]['deepClone'](_0x5eaa60):this[_0x227dc8(0x237)]['has'](_0x4e8745)?_0x35ada0[_0x227dc8(0x172)]['deepClone'](this[_0x227dc8(0x237)][_0x227dc8(0x20c)](_0x4e8745)):_0x3fca4a();}['getLoadError'](_0x5a02f9){const _0x114cd4=_0x5e1fd7;return this[_0x114cd4(0x1ae)][_0x114cd4(0x20c)](_0x5a02f9);}['removeUnit'](_0x3f734e){const _0x585c9f=_0x5e1fd7;this[_0x585c9f(0x1b5)]['delete'](_0x3f734e),this['_rawResources']['delete'](_0x3f734e),this[_0x585c9f(0x1ae)][_0x585c9f(0x140)](_0x3f734e),this['_change$'][_0x585c9f(0x243)]({'unitId':_0x3f734e});}[_0x5e1fd7(0x203)](){const _0x178cdd=_0x5e1fd7;this[_0x178cdd(0x1b5)][_0x178cdd(0x258)](),this['_rawResources'][_0x178cdd(0x258)](),this[_0x178cdd(0x1ae)][_0x178cdd(0x258)](),this[_0x178cdd(0x1ec)][_0x178cdd(0x163)](),super[_0x178cdd(0x203)]();}[_0x5e1fd7(0x161)](_0x1998ec,_0x264c59,_0x1bb734){const _0x2fa0f9=_0x5e1fd7;this[_0x2fa0f9(0x1b5)]['delete'](_0x1998ec),this[_0x2fa0f9(0x237)][_0x2fa0f9(0x21b)](_0x1998ec,_0x35ada0[_0x2fa0f9(0x172)][_0x2fa0f9(0x169)](_0x264c59)),this[_0x2fa0f9(0x1ae)][_0x2fa0f9(0x21b)](_0x1998ec,_0x1bb734),this['_change$'][_0x2fa0f9(0x243)]({'unitId':_0x1998ec});}};let _0x3ac023=function(_0x33f1b1){const _0x21d40d=_0x5e1fd7;return _0x33f1b1['EMPTY']=_0x21d40d(0x1d4),_0x33f1b1[_0x21d40d(0x1d6)]='pending',_0x33f1b1[_0x21d40d(0x1a4)]=_0x21d40d(0x26a),_0x33f1b1[_0x21d40d(0x18e)]=_0x21d40d(0x1f1),_0x33f1b1;}({});function _0xf1755d(_0x104b79,_0x4b3687){return function(_0x193420,_0x5ae800){_0x4b3687(_0x193420,_0x5ae800,_0x104b79);};}function _0x1ac6f5(_0x4f832d,_0x1bacc3,_0x5001e9,_0x5c22ae){const _0x391f4e=_0x5e1fd7;var _0x4ce771=arguments[_0x391f4e(0x13b)],_0x21c5b3=_0x4ce771<0x3?_0x1bacc3:_0x5c22ae===null?_0x5c22ae=Object[_0x391f4e(0x1bc)](_0x1bacc3,_0x5001e9):_0x5c22ae,_0x356782;if(typeof Reflect=='object'&&typeof Reflect[_0x391f4e(0x1d2)]==_0x391f4e(0x190))_0x21c5b3=Reflect['decorate'](_0x4f832d,_0x1bacc3,_0x5001e9,_0x5c22ae);else{for(var _0x3b99b4=_0x4f832d[_0x391f4e(0x13b)]-0x1;_0x3b99b4>=0x0;_0x3b99b4--)(_0x356782=_0x4f832d[_0x3b99b4])&&(_0x21c5b3=(_0x4ce771<0x3?_0x356782(_0x21c5b3):_0x4ce771>0x3?_0x356782(_0x1bacc3,_0x5001e9,_0x21c5b3):_0x356782(_0x1bacc3,_0x5001e9))||_0x21c5b3);}return _0x4ce771>0x3&&_0x21c5b3&&Object['defineProperty'](_0x1bacc3,_0x5001e9,_0x21c5b3),_0x21c5b3;}let _0x131ce3=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x1643e1,_0x13cec9,_0x52142c){const _0x324688=_0x5e1fd7;super(),this[_0x324688(0x211)]=_0x1643e1,this[_0x324688(0x132)]=_0x13cec9,this['_hostExternalReferenceModel']=_0x52142c,_0x427b68(this,_0x324688(0x15c),new Map()),_0x427b68(this,'_formulaKeys',new Map()),_0x427b68(this,_0x324688(0x18b),new _0x4d1d3a[(_0x324688(0x1f0))]()),_0x427b68(this,'presentationChanged$',this['_presentationChanged$'][_0x324688(0x1cd)]()),this[_0x324688(0x1e6)](this[_0x324688(0x132)][_0x324688(0x13c)][_0x324688(0x1ba)](_0x517ae9=>{for(let _0xc98433 of Object['values'](_0x517ae9))for(let _0xc95b1a of Object['values'](_0xc98433))_0xc95b1a['forEach'](_0x10b08c=>this['_updateFormulaResult'](_0x10b08c));}));}[_0x5e1fd7(0x1b0)](_0x4a6e14){const _0x14c609=_0x5e1fd7;var _0x4d07d9;let _0xc37837=_0x4a6e14[_0x14c609(0x1ed)](),_0x5005ec=((_0x4d07d9=_0x4a6e14[_0x14c609(0x1c9)]()[_0x14c609(0x274)])==null||(_0x4d07d9=_0x4d07d9[_0x14c609(0x189)])==null?void 0x0:_0x4d07d9[_0x14c609(0x230)](_0x5646e5))??[],_0x280811=this['_model'][_0x14c609(0x21c)](_0xc37837),_0x4aacd4=new Set();for(let _0x59034f of _0x5005ec){let _0x5564ad=_0x280811[_0x59034f['rangeId']];_0x5564ad&&(_0x4aacd4[_0x14c609(0x25e)](_0x256128(_0xc37837,_0x59034f[_0x14c609(0x268)])),this[_0x14c609(0x233)]({'unitId':_0xc37837,'rangeId':_0x59034f['rangeId']},_0x5564ad));}for(let _0xd4523e of Array['from'](this['_registrations'][_0x14c609(0x25b)]()))_0xd4523e[_0x14c609(0x20e)]===_0xc37837&&!_0x4aacd4[_0x14c609(0x156)](_0x256128(_0xd4523e[_0x14c609(0x20e)],_0xd4523e[_0x14c609(0x268)]))&&this[_0x14c609(0x14b)](_0xd4523e);}[_0x5e1fd7(0x233)](_0x5e84ad,_0x5a053f){const _0x6d7aeb=_0x5e1fd7;let _0x56ea37=_0x256128(_0x5e84ad['unitId'],_0x5e84ad[_0x6d7aeb(0x268)]),_0x25d624=this[_0x6d7aeb(0x15c)][_0x6d7aeb(0x20c)](_0x56ea37),_0x590814=this[_0x6d7aeb(0x1b1)]['getRevision'](_0x5e84ad[_0x6d7aeb(0x20e)]);if(_0x25d624&&_0x25d624[_0x6d7aeb(0x1c8)][_0x6d7aeb(0x263)]===_0x5a053f[_0x6d7aeb(0x263)]&&_0x25d624[_0x6d7aeb(0x201)]===_0x590814){_0x25d624[_0x6d7aeb(0x1c8)]=_0x5a053f;let _0x62151f=_0x25d624['formulaId']?this[_0x6d7aeb(0x132)][_0x6d7aeb(0x1d0)](_0x25d624['unitId'],_0x25d624[_0x6d7aeb(0x20e)],_0x25d624[_0x6d7aeb(0x19f)])??void 0x0:void 0x0;_0x25d624['liveResult']=_0x62151f,this[_0x6d7aeb(0x186)](_0x56ea37,_0x10ef27(_0x5a053f,_0x62151f));return;}_0x25d624!=null&&_0x25d624[_0x6d7aeb(0x19f)]&&this[_0x6d7aeb(0x144)](_0x25d624);let _0x1bcdec={..._0x5e84ad,'config':_0x5a053f,'referenceRevision':_0x590814,'presentation':_0x10ef27(_0x5a053f,void 0x0)};if(this[_0x6d7aeb(0x15c)][_0x6d7aeb(0x21b)](_0x56ea37,_0x1bcdec),!_0x5a053f[_0x6d7aeb(0x263)][_0x6d7aeb(0x26b)]())return;let _0x45d865=this[_0x6d7aeb(0x132)][_0x6d7aeb(0x1eb)](_0x5e84ad[_0x6d7aeb(0x20e)],_0x5e84ad[_0x6d7aeb(0x20e)],_0x5a053f[_0x6d7aeb(0x263)],void 0x0,{'rangeId':_0x5e84ad[_0x6d7aeb(0x268)]},_0x409f17[_0x6d7aeb(0x177)]['DOC'],_0x5e84ad[_0x6d7aeb(0x268)]);_0x1bcdec['formulaId']=_0x45d865,this['_formulaKeys'][_0x6d7aeb(0x21b)](_0x45d865,_0x56ea37);}[_0x5e1fd7(0x14b)](_0x1c4ce6){const _0x51cc6d=_0x5e1fd7;let _0x369cba=_0x256128(_0x1c4ce6[_0x51cc6d(0x20e)],_0x1c4ce6['rangeId']),_0x283417=this[_0x51cc6d(0x15c)][_0x51cc6d(0x20c)](_0x369cba);_0x283417&&(this[_0x51cc6d(0x144)](_0x283417),this[_0x51cc6d(0x15c)][_0x51cc6d(0x140)](_0x369cba));}[_0x5e1fd7(0x1c3)](_0x45c488){const _0x2703f0=_0x5e1fd7;for(let _0x124e2d of Array['from'](this[_0x2703f0(0x15c)][_0x2703f0(0x25b)]()))_0x124e2d['unitId']===_0x45c488&&this['unregister'](_0x124e2d);}[_0x5e1fd7(0x1a9)](_0x2d8104){const _0x1edf16=_0x5e1fd7;var _0x5358e7;return(_0x5358e7=this[_0x1edf16(0x15c)]['get'](_0x256128(_0x2d8104[_0x1edf16(0x20e)],_0x2d8104[_0x1edf16(0x268)])))==null?void 0x0:_0x5358e7['presentation'];}[_0x5e1fd7(0x151)](_0x19ef53){const _0x4d7a43=_0x5e1fd7;let _0x117400=this['_registrations'][_0x4d7a43(0x20c)](_0x256128(_0x19ef53[_0x4d7a43(0x20e)],_0x19ef53[_0x4d7a43(0x268)]));return _0x117400?_0xa64e3c(_0x117400):void 0x0;}['getRegisteredFormulas'](){const _0x219a89=_0x5e1fd7;return Array[_0x219a89(0x1af)](this[_0x219a89(0x15c)][_0x219a89(0x25b)](),_0x5c9f62=>({'identity':{'unitId':_0x5c9f62['unitId'],'rangeId':_0x5c9f62[_0x219a89(0x268)]},'config':_0x5c9f62['config'],'referenceRevision':_0x5c9f62[_0x219a89(0x201)],..._0x5c9f62['liveResult']?{'liveResult':_0x5c9f62[_0x219a89(0x1e8)]}:null}));}[_0x5e1fd7(0x203)](){const _0x2c271e=_0x5e1fd7;for(let _0x51d2b7 of this[_0x2c271e(0x15c)][_0x2c271e(0x25b)]())this['_deleteRegistration'](_0x51d2b7);this['_registrations']['clear'](),this[_0x2c271e(0x178)]['clear'](),this[_0x2c271e(0x18b)][_0x2c271e(0x163)](),super[_0x2c271e(0x203)]();}[_0x5e1fd7(0x184)](_0x2cf5f9){const _0x2815d9=_0x5e1fd7;let _0x5bb020=this[_0x2815d9(0x178)]['get'](_0x2cf5f9[_0x2815d9(0x19f)]),_0x1e9b25=_0x5bb020?this[_0x2815d9(0x15c)][_0x2815d9(0x20c)](_0x5bb020):void 0x0;_0x5bb020&&_0x1e9b25&&(_0x1e9b25[_0x2815d9(0x1e8)]=_0x2cf5f9,this[_0x2815d9(0x186)](_0x5bb020,_0x10ef27(_0x1e9b25[_0x2815d9(0x1c8)],_0x2cf5f9)));}['_setPresentation'](_0x4aa966,_0x31bf93){const _0x2df8d0=_0x5e1fd7;var _0x39e8bb,_0x192ebd;let _0xa311f0=this['_registrations']['get'](_0x4aa966);if(!_0xa311f0||_0x42d31b(_0xa311f0[_0x2df8d0(0x18a)],_0x31bf93))return;let _0x44a9ce=_0xa311f0['presentation'],_0x501e49=_0xa64e3c(_0xa311f0);_0xa311f0[_0x2df8d0(0x18a)]=_0x31bf93,this[_0x2df8d0(0x18b)][_0x2df8d0(0x243)]({'unitId':_0xa311f0[_0x2df8d0(0x20e)],'rangeId':_0xa311f0[_0x2df8d0(0x268)],'presentation':_0x31bf93,'previousPresentation':_0x44a9ce,'result':_0xa64e3c(_0xa311f0),'previousResult':{..._0x501e49,..._0x44a9ce,'value':(_0x39e8bb=_0x44a9ce[_0x2df8d0(0x1b8)])==null?void 0x0:_0x39e8bb['v'],'valueType':((_0x192ebd=_0x44a9ce[_0x2df8d0(0x1b8)])==null?void 0x0:_0x192ebd['t'])??void 0x0}});}[_0x5e1fd7(0x144)](_0xcbcdd2){const _0x573565=_0x5e1fd7;_0xcbcdd2['formulaId']&&(this['_registrationService']['deleteFormula'](_0xcbcdd2[_0x573565(0x20e)],_0xcbcdd2[_0x573565(0x20e)],[_0xcbcdd2[_0x573565(0x19f)]]),this[_0x573565(0x178)]['delete'](_0xcbcdd2[_0x573565(0x19f)]));}};_0x131ce3=_0x1ac6f5([_0xf1755d(0x0,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0xde1cef)),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x409f17[_0x5e1fd7(0x1be)])),_0xf1755d(0x2,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x305999[_0x5e1fd7(0x21a)]))],_0x131ce3);function _0x256128(_0xc23680,_0x2faf84){return _0xc23680+'\x00'+_0x2faf84;}function _0x10ef27(_0x71e6ce,_0xe14cde){const _0x12c8d6=_0x5e1fd7;return(0x0,_0x305999[_0x12c8d6(0x1c1)])({'numberFormat':_0x71e6ce[_0x12c8d6(0x1b6)],'lastValue':_0x71e6ce[_0x12c8d6(0x14a)],'result':_0xe14cde});}function _0xa64e3c(_0x1cf182){const _0x55e75d=_0x5e1fd7;var _0x2d669b,_0x47e04c,_0x4a59bc;let _0xfd67fe=_0x1cf182[_0x55e75d(0x18a)],_0x36e040=_0x1cf182[_0x55e75d(0x1c8)][_0x55e75d(0x263)]['trim']()?_0xfd67fe[_0x55e75d(0x1c7)]||_0xfd67fe[_0x55e75d(0x1b8)]==null?_0x55e75d(0x220):((_0x2d669b=_0x1cf182['liveResult'])==null?void 0x0:_0x2d669b[_0x55e75d(0x1e3)])===_0x409f17[_0x55e75d(0x270)][_0x55e75d(0x18e)]?_0x55e75d(0x1f1):_0x55e75d(0x26a):_0x55e75d(0x1d4);return{..._0xfd67fe,'status':_0x36e040,'value':(_0x47e04c=_0xfd67fe[_0x55e75d(0x1b8)])==null?void 0x0:_0x47e04c['v'],'valueType':((_0x4a59bc=_0xfd67fe[_0x55e75d(0x1b8)])==null?void 0x0:_0x4a59bc['t'])??void 0x0};}function _0x42d31b(_0x12af05,_0x33ac85){const _0x28852d=_0x5e1fd7;var _0x36e391,_0x20e658,_0x1964c0,_0x370d18;return _0x12af05[_0x28852d(0x1e0)]===_0x33ac85['text']&&_0x12af05['color']===_0x33ac85[_0x28852d(0x271)]&&_0x12af05[_0x28852d(0x171)]===_0x33ac85['pattern']&&_0x12af05['source']===_0x33ac85['source']&&_0x12af05[_0x28852d(0x1c7)]===_0x33ac85[_0x28852d(0x1c7)]&&((_0x36e391=_0x12af05[_0x28852d(0x1b8)])==null?void 0x0:_0x36e391['t'])===((_0x20e658=_0x33ac85['cell'])==null?void 0x0:_0x20e658['t'])&&Object['is']((_0x1964c0=_0x12af05[_0x28852d(0x1b8)])==null?void 0x0:_0x1964c0['v'],(_0x370d18=_0x33ac85[_0x28852d(0x1b8)])==null?void 0x0:_0x370d18['v']);}let _0x3ac648={'id':_0x5e1fd7(0x25d),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x234)],'handler':(_0x20f80a,_0x4eb683)=>!(_0x4eb683!=null&&_0x4eb683[_0x5e1fd7(0x20e)])||!_0x4eb683[_0x5e1fd7(0x268)]||!_0x4eb683[_0x5e1fd7(0x1c8)]?!0x1:_0x20f80a[_0x5e1fd7(0x20c)](_0xde1cef)[_0x5e1fd7(0x253)](_0x4eb683[_0x5e1fd7(0x20e)],_0x4eb683['rangeId'],_0x4eb683['config'])},_0x399640={'id':'docs-formula.mutation.remove-formula','type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x234)],'handler':(_0x37212a,_0x373a1c)=>!(_0x373a1c!=null&&_0x373a1c[_0x5e1fd7(0x20e)])||!_0x373a1c[_0x5e1fd7(0x268)]?!0x1:_0x37212a['get'](_0xde1cef)[_0x5e1fd7(0x235)](_0x373a1c['unitId'],_0x373a1c[_0x5e1fd7(0x268)])},_0x488e31={'id':_0x5e1fd7(0x23c),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x234)],'handler':(_0x30d02a,_0x12f14f)=>!(_0x12f14f!=null&&_0x12f14f[_0x5e1fd7(0x20e)])||!_0x12f14f[_0x5e1fd7(0x1a7)]?!0x1:_0x30d02a[_0x5e1fd7(0x20c)](_0xde1cef)[_0x5e1fd7(0x207)](_0x12f14f[_0x5e1fd7(0x20e)],_0x12f14f[_0x5e1fd7(0x1a7)])},_0xb5810e={'id':'docs-formula.mutation.set-last-values','type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x234)],'handler':(_0x3548b6,_0x24ead8)=>{const _0x56cf41=_0x5e1fd7;if(!(_0x24ead8!=null&&_0x24ead8['unitId'])||!_0x24ead8[_0x56cf41(0x1c0)]['length'])return!0x1;let _0x596b8d=_0x3548b6[_0x56cf41(0x20c)](_0xde1cef),_0x46b4e7=_0x3548b6[_0x56cf41(0x20c)](_0x305999['HostExternalReferenceModel']),_0x5c3cc8=_0x596b8d['getResource'](_0x24ead8[_0x56cf41(0x20e)]);if(!_0x5c3cc8)return!0x1;let _0x570ef9=_0x35ada0[_0x56cf41(0x172)][_0x56cf41(0x169)](_0x5c3cc8),_0x4eff5f=!0x1;for(let _0x47b937 of _0x24ead8['updates']){var _0x104958,_0x751550,_0x14352a,_0x1f9ec5;let _0x3e4607=_0x570ef9[_0x56cf41(0x167)][_0x47b937[_0x56cf41(0x268)]];_0x3e4607&&_0x3e4607[_0x56cf41(0x263)]===_0x47b937[_0x56cf41(0x1f6)]&&((_0x104958=_0x3e4607[_0x56cf41(0x1b6)])==null?void 0x0:_0x104958[_0x56cf41(0x171)])===_0x47b937[_0x56cf41(0x1d1)]&&_0x46b4e7[_0x56cf41(0x13e)](_0x24ead8['unitId'])===_0x47b937[_0x56cf41(0x1db)]&&(((_0x751550=_0x3e4607[_0x56cf41(0x14a)])==null?void 0x0:_0x751550['v'])!==_0x47b937[_0x56cf41(0x14a)]['v']||((_0x14352a=_0x3e4607[_0x56cf41(0x14a)])==null?void 0x0:_0x14352a['t'])!==_0x47b937[_0x56cf41(0x14a)]['t']||((_0x1f9ec5=_0x3e4607[_0x56cf41(0x14a)])==null?void 0x0:_0x1f9ec5[_0x56cf41(0x171)])!==_0x47b937[_0x56cf41(0x14a)][_0x56cf41(0x171)])&&(_0x3e4607[_0x56cf41(0x14a)]=_0x35ada0[_0x56cf41(0x172)][_0x56cf41(0x169)](_0x47b937['lastValue']),_0x4eff5f=!0x0);}return!_0x4eff5f||_0x596b8d['setResource'](_0x24ead8[_0x56cf41(0x20e)],_0x570ef9);}},_0x235e40={'id':_0x5e1fd7(0x1aa),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x2d071b,_0x548a38)=>{const _0x15e687=_0x5e1fd7;if(!(_0x548a38!=null&&_0x548a38['formula'][_0x15e687(0x26b)]()))return!0x1;let _0x385197=_0xfe33eb(_0x2d071b,_0x548a38[_0x15e687(0x20e)],'');if(!_0x385197)return!0x1;let _0x312907=_0x16187b(_0x548a38['target'],_0x385197['body'],_0x505636(_0x2d071b,_0x385197[_0x15e687(0x20e)]));if(!_0x312907)return!0x1;let _0x4a5b19=_0x1fa3db(_0x2d071b,_0x385197[_0x15e687(0x20e)],_0x548a38[_0x15e687(0x263)],_0x548a38[_0x15e687(0x1e9)]??[]);if(!_0x4a5b19)return!0x1;let _0x1e3f3b=_0x9cbd09(_0x385197['body'],_0x385197['model'],_0x385197[_0x15e687(0x20e)]),_0x215167=_0x1e9063({'documentData':_0x385197['documentData'],'resource':_0x385197['resource'],'rangeId':_0x1e3f3b,'config':{'formula':_0x548a38['formula'],..._0x548a38[_0x15e687(0x1b6)]?{'numberFormat':_0x548a38['numberFormat']}:null},'startOffset':_0x312907['startOffset'],'endOffset':_0x312907['endOffset']});if(!_0x215167)return!0x1;let _0x247568=(0x0,_0x305999[_0x15e687(0x1ab)])(_0x2d071b,_0x385197[_0x15e687(0x20e)],_0x4a5b19);return!_0x247568||!_0x1242dc({'accessor':_0x2d071b,'document':_0x385197[_0x15e687(0x273)],'unitId':_0x385197[_0x15e687(0x20e)],'trigger':_0x235e40['id'],'rangeId':_0x1e3f3b,'previousResource':_0x385197[_0x15e687(0x1a7)],'nextResource':_0x215167['nextResource'],'previousDocumentData':_0x385197[_0x15e687(0x20d)],'nextDocumentData':_0x215167[_0x15e687(0x261)],'cursorOffset':_0x215167[_0x15e687(0x215)],'externalMutations':_0x247568})?!0x1:{'rangeId':_0x1e3f3b,'startOffset':_0x215167[_0x15e687(0x215)]-0x1,'endOffset':_0x215167[_0x15e687(0x215)]};}},_0x16a7c0={'id':_0x5e1fd7(0x1a2),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x138a5b,_0x1a3189)=>{const _0x2b34f1=_0x5e1fd7;if(!(_0x1a3189!=null&&_0x1a3189[_0x2b34f1(0x268)])||!_0x1a3189[_0x2b34f1(0x263)][_0x2b34f1(0x26b)]())return!0x1;let _0x4924c9=_0xfe33eb(_0x138a5b,_0x1a3189[_0x2b34f1(0x20e)],''),_0x6bfe3c=_0x4924c9==null?void 0x0:_0x4924c9[_0x2b34f1(0x23e)]['getFormula'](_0x4924c9[_0x2b34f1(0x20e)],_0x1a3189[_0x2b34f1(0x268)]),_0x175880=_0x4924c9?_0x251f7a(_0x4924c9['documentData'][_0x2b34f1(0x274)],_0x1a3189[_0x2b34f1(0x268)]):void 0x0;if(!_0x4924c9||!_0x6bfe3c||!_0x175880)return!0x1;let _0x3378dc=_0x1fa3db(_0x138a5b,_0x4924c9[_0x2b34f1(0x20e)],_0x1a3189[_0x2b34f1(0x263)],_0x1a3189['externalReferences']??[]);if(!_0x3378dc)return!0x1;let _0x2a4905=(0x0,_0x305999[_0x2b34f1(0x1ab)])(_0x138a5b,_0x4924c9['unitId'],_0x3378dc);if(!_0x2a4905)return!0x1;let _0x246715=_0x1547ad(_0x4924c9['resource']);return _0x246715[_0x2b34f1(0x167)][_0x1a3189[_0x2b34f1(0x268)]]={'formula':_0x1a3189[_0x2b34f1(0x263)],..._0x1a3189[_0x2b34f1(0x1b6)]?{'numberFormat':_0x1a3189[_0x2b34f1(0x1b6)]}:_0x6bfe3c['numberFormat']?{'numberFormat':_0x6bfe3c[_0x2b34f1(0x1b6)]}:null},_0x1242dc({'accessor':_0x138a5b,'document':_0x4924c9[_0x2b34f1(0x273)],'unitId':_0x4924c9[_0x2b34f1(0x20e)],'trigger':_0x16a7c0['id'],'rangeId':_0x1a3189['rangeId'],'previousResource':_0x4924c9[_0x2b34f1(0x1a7)],'nextResource':_0x246715,'cursorOffset':_0x175880[_0x2b34f1(0x24f)]+0x1,'externalMutations':_0x2a4905});}},_0x154ac9={'id':_0x5e1fd7(0x24a),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x3b8082,_0x1b4e39)=>{const _0x3cca56=_0x5e1fd7;if(!(_0x1b4e39!=null&&_0x1b4e39[_0x3cca56(0x268)]))return!0x1;let _0x586fbd=_0xfe33eb(_0x3b8082,_0x1b4e39['unitId'],''),_0x2df4f2=_0x586fbd==null?void 0x0:_0x586fbd[_0x3cca56(0x23e)][_0x3cca56(0x15a)](_0x586fbd[_0x3cca56(0x20e)],_0x1b4e39[_0x3cca56(0x268)]),_0x3aa55a=_0x586fbd?_0x251f7a(_0x586fbd[_0x3cca56(0x20d)]['body'],_0x1b4e39[_0x3cca56(0x268)]):void 0x0;if(!_0x586fbd||!_0x2df4f2||!_0x3aa55a)return!0x1;let _0x2c3e9f=_0x1547ad(_0x586fbd[_0x3cca56(0x1a7)]);return _0x2c3e9f[_0x3cca56(0x167)][_0x1b4e39['rangeId']]={..._0x2df4f2,..._0x1b4e39[_0x3cca56(0x1b6)]?{'numberFormat':_0x1b4e39[_0x3cca56(0x1b6)]}:null},_0x1b4e39[_0x3cca56(0x1b6)]||delete _0x2c3e9f[_0x3cca56(0x167)][_0x1b4e39[_0x3cca56(0x268)]][_0x3cca56(0x1b6)],_0x1242dc({'accessor':_0x3b8082,'document':_0x586fbd['document'],'unitId':_0x586fbd[_0x3cca56(0x20e)],'trigger':_0x154ac9['id'],'rangeId':_0x1b4e39[_0x3cca56(0x268)],'previousResource':_0x586fbd[_0x3cca56(0x1a7)],'nextResource':_0x2c3e9f,'cursorOffset':_0x3aa55a[_0x3cca56(0x24f)]+0x1,'externalMutations':{}});}},_0x11cbf3={'id':_0x5e1fd7(0x1fe),'type':_0x35ada0['CommandType'][_0x5e1fd7(0x16b)],'handler':(_0x2318fd,_0x5182f7)=>_0x441f82(_0x2318fd,_0x5182f7,'',_0x11cbf3['id'])},_0x2df4f6={'id':_0x5e1fd7(0x212),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x2d9b4b,_0x59dc20)=>_0x441f82(_0x2d9b4b,_0x59dc20,(_0x59dc20==null?void 0x0:_0x59dc20[_0x5e1fd7(0x1e0)])??'',_0x2df4f6['id'])},_0x4c25bb={'id':_0x5e1fd7(0x1c2),'type':_0x35ada0[_0x5e1fd7(0x1e1)][_0x5e1fd7(0x16b)],'handler':(_0x22797c,_0x4684c8)=>{const _0x542291=_0x5e1fd7;if(!(_0x4684c8!=null&&_0x4684c8['rangeId']))return!0x1;let _0x27530e=_0xfe33eb(_0x22797c,_0x4684c8[_0x542291(0x20e)],'');if(!_0x27530e)return!0x1;let _0x425454=_0x22797c['get'](_0x131ce3)[_0x542291(0x151)]({'unitId':_0x27530e[_0x542291(0x20e)],'rangeId':_0x4684c8[_0x542291(0x268)]});return _0x425454?_0x441f82(_0x22797c,_0x4684c8,_0x425454[_0x542291(0x1e0)],_0x4c25bb['id']):!0x1;}};function _0x441f82(_0x5ca2e3,_0x2e888d,_0x374739,_0x96e969){const _0x3cfd68=_0x5e1fd7;if(!(_0x2e888d!=null&&_0x2e888d[_0x3cfd68(0x268)]))return!0x1;let _0x269aba=_0xfe33eb(_0x5ca2e3,_0x2e888d[_0x3cfd68(0x20e)],'');if(!_0x269aba)return!0x1;let _0x49c322=_0x44ab43({'documentData':_0x269aba['documentData'],'resource':_0x269aba[_0x3cfd68(0x1a7)],'rangeId':_0x2e888d[_0x3cfd68(0x268)],'text':_0x374739});return _0x49c322?_0x1242dc({'accessor':_0x5ca2e3,'document':_0x269aba[_0x3cfd68(0x273)],'unitId':_0x269aba['unitId'],'trigger':_0x96e969,'rangeId':_0x2e888d[_0x3cfd68(0x268)],'previousResource':_0x269aba[_0x3cfd68(0x1a7)],'nextResource':_0x49c322['nextResource'],'previousDocumentData':_0x269aba['documentData'],'nextDocumentData':_0x49c322[_0x3cfd68(0x261)],'cursorOffset':_0x49c322[_0x3cfd68(0x215)],'externalMutations':{}}):!0x1;}function _0xfe33eb(_0x4b13f2,_0x2cae2c,_0x5ee282){const _0x3be947=_0x5e1fd7;if(_0x5ee282)return null;let _0x5ce1cb=_0x4b13f2[_0x3be947(0x20c)](_0x35ada0[_0x3be947(0x196)]),_0xf2bd3e=(_0x2cae2c?_0x5ce1cb[_0x3be947(0x214)](_0x2cae2c,_0x35ada0['UniverInstanceType'][_0x3be947(0x238)]):_0x5ce1cb[_0x3be947(0x23f)](_0x35ada0[_0x3be947(0x168)]['UNIVER_DOC']))??null;if(!_0xf2bd3e)return null;let _0x4825a9=_0xf2bd3e[_0x3be947(0x1c9)](),_0x1f2893=_0x4825a9[_0x3be947(0x274)];if(_0x4825a9[_0x3be947(0x15e)]||!_0x1f2893)return null;let _0x4bb21c=_0x4b13f2[_0x3be947(0x20c)](_0xde1cef);return _0x4bb21c[_0x3be947(0x1e2)](_0xf2bd3e[_0x3be947(0x1ed)]())?null:{'document':_0xf2bd3e,'body':_0x1f2893,'documentData':_0x4825a9,'model':_0x4bb21c,'resource':_0x4bb21c[_0x3be947(0x202)](_0xf2bd3e[_0x3be947(0x1ed)]())??_0x3fca4a(),'unitId':_0xf2bd3e[_0x3be947(0x1ed)]()};}function _0x505636(_0x24e8db,_0x439005){const _0x149c7f=_0x5e1fd7;var _0x1e5877;return(_0x1e5877=_0x24e8db[_0x149c7f(0x20c)](_0x56ff97[_0x149c7f(0x176)])['getTextRanges']({'subUnitId':_0x439005,'unitId':_0x439005}))==null?void 0x0:_0x1e5877[0x0];}function _0x16187b(_0x47a37c,_0x5e615a,_0x124d17){const _0x157185=_0x5e1fd7;if((_0x47a37c==null?void 0x0:_0x47a37c['type'])===_0x157185(0x1ca)){var _0x25d5f0;let _0x47fc67=((_0x25d5f0=_0x5e615a['paragraphs'])==null?void 0x0:_0x25d5f0[_0x157185(0x230)](_0x1e0ae1=>_0x1e0ae1[_0x157185(0x1c5)]===_0x47a37c[_0x157185(0x1c5)]))??[];if(_0x47fc67['length']!==0x1)return null;let _0x4db4fc=_0x47fc67[0x0],_0x42acf3=(0x0,_0x35ada0[_0x157185(0x23a)])(_0x5e615a,_0x4db4fc),_0x3ee6f1=_0x4db4fc[_0x157185(0x200)]-_0x42acf3,_0x27f1eb=_0x47a37c[_0x157185(0x246)]===_0x157185(0x21e)?_0x3ee6f1:_0x47a37c[_0x157185(0x246)];if(!Number[_0x157185(0x141)](_0x27f1eb)||_0x27f1eb<0x0||_0x27f1eb>_0x3ee6f1)return null;let _0x5393ac=_0x42acf3+_0x27f1eb;return{'startOffset':_0x5393ac,'endOffset':_0x5393ac};}if((_0x47a37c==null?void 0x0:_0x47a37c[_0x157185(0x14f)])===_0x157185(0x250))return!Number[_0x157185(0x141)](_0x47a37c['startOffset'])||!Number[_0x157185(0x141)](_0x47a37c[_0x157185(0x1f8)])?null:{'startOffset':Math[_0x157185(0x188)](_0x47a37c[_0x157185(0x204)],_0x47a37c[_0x157185(0x1f8)]),'endOffset':Math['max'](_0x47a37c[_0x157185(0x204)],_0x47a37c[_0x157185(0x1f8)])};let _0x52fb2f=(_0x47a37c==null?void 0x0:_0x47a37c[_0x157185(0x14f)])===_0x157185(0x164)?_0x47a37c['selection']:_0x124d17;return!_0x52fb2f||_0x52fb2f[_0x157185(0x16d)]?null:{'startOffset':Math[_0x157185(0x188)](_0x52fb2f['startOffset'],_0x52fb2f[_0x157185(0x1f8)]),'endOffset':Math[_0x157185(0x262)](_0x52fb2f[_0x157185(0x204)],_0x52fb2f['endOffset'])};}function _0x1fa3db(_0x1ecd85,_0x43ee67,_0x2b81e6,_0x58b016){const _0x3b94ee=_0x5e1fd7;let _0x1df155=_0x1ecd85['get'](_0x409f17[_0x3b94ee(0x1b7)]),_0x3864c0=_0x2b81e6[_0x3b94ee(0x147)]('=')?_0x2b81e6[_0x3b94ee(0x266)](0x1):_0x2b81e6,_0x1539cf=_0x1df155['sequenceNodesBuilder'](_0x3864c0);if(!_0x1539cf)return null;let _0x47e31e=_0x1ecd85[_0x3b94ee(0x20c)](_0x305999[_0x3b94ee(0x21a)]),_0x54c28d=(0x0,_0x305999[_0x3b94ee(0x13a)])({'qualifiers':(0x0,_0x305999[_0x3b94ee(0x1a0)])(_0x1539cf),'explicitReferences':_0x58b016??[],'resolveBinding':_0x2c3796=>_0x47e31e['resolveBinding'](_0x43ee67,_0x2c3796)});return _0x54c28d['status']===_0x3b94ee(0x232)?_0x54c28d[_0x3b94ee(0x210)]:null;}function _0x9cbd09(_0x54c36e,_0x5b814c,_0x360b8e){const _0x541191=_0x5e1fd7;var _0x18c870;let _0x3f08b3=(0x0,_0x35ada0[_0x541191(0x152)])(0x6);for(;_0x54c36e!=null&&(_0x18c870=_0x54c36e['customRanges'])!=null&&_0x18c870['some'](_0x2ba08b=>_0x2ba08b[_0x541191(0x268)]===_0x3f08b3)||_0x5b814c[_0x541191(0x15a)](_0x360b8e,_0x3f08b3);)_0x3f08b3=(0x0,_0x35ada0['generateRandomId'])(0x6);return _0x3f08b3;}function _0x1e9063(_0x2c443c){try{return _0x50a02c(_0x2c443c);}catch(_0x133beb){if(_0x133beb instanceof _0x84039e)return null;throw _0x133beb;}}function _0x3c676e(_0x536fdd){const _0x5266d9=_0x5e1fd7;let _0x173698=_0x536fdd[_0x5266d9(0x1d8)]&&_0x536fdd['nextDocumentData']?_0x594252(_0x536fdd[_0x5266d9(0x273)],_0x536fdd[_0x5266d9(0x20e)],_0x536fdd[_0x5266d9(0x1d8)],_0x536fdd[_0x5266d9(0x261)],_0x536fdd['cursorOffset'],_0x536fdd[_0x5266d9(0x1e4)]):null;return _0x536fdd[_0x5266d9(0x1d8)]&&_0x536fdd[_0x5266d9(0x261)]&&!_0x173698?null:{'documentRedo':_0x173698,'resourceRedo':{'id':_0x488e31['id'],'params':{'unitId':_0x536fdd['unitId'],'resource':_0x536fdd['nextResource']}},'resourceUndo':{'id':_0x488e31['id'],'params':{'unitId':_0x536fdd[_0x5266d9(0x20e)],'resource':_0x536fdd[_0x5266d9(0x17c)]}}};}function _0x4751a6(_0x582599,_0x3dacb8,_0x58c96b,_0x2d306b){const _0x1bd222=_0x5e1fd7;_0x2d306b[_0x1bd222(0x1ad)]({'id':_0x582599['trigger']+':'+_0x582599['rangeId'],'unitID':_0x582599['unitId'],'redoMutations':[..._0x582599[_0x1bd222(0x170)][_0x1bd222(0x182)]?[_0x582599[_0x1bd222(0x170)][_0x1bd222(0x182)]]:[],..._0x3dacb8[_0x1bd222(0x240)]?[_0x3dacb8['documentRedo']]:[],_0x3dacb8[_0x1bd222(0x158)]],'undoMutations':[_0x3dacb8[_0x1bd222(0x166)],..._0x58c96b?[_0x58c96b]:[],..._0x582599['externalMutations'][_0x1bd222(0x20f)]?[_0x582599['externalMutations'][_0x1bd222(0x20f)]]:[]]});}function _0x1242dc(_0xff913){const _0x68ca91=_0x5e1fd7;let _0x2ee862=_0xff913[_0x68ca91(0x1b3)][_0x68ca91(0x20c)](_0x35ada0[_0x68ca91(0x242)]),_0x42a22a=_0xff913[_0x68ca91(0x1b3)][_0x68ca91(0x20c)](_0x35ada0['IUndoRedoService']),_0x1203bd=_0xff913['accessor'][_0x68ca91(0x20c)](_0x56ff97[_0x68ca91(0x176)]),_0x1244f7=_0x3c676e(_0xff913);if(!_0x1244f7)return!0x1;let _0x411287=!0x1,_0x3cb486=null,_0x12fcd8=!0x1;try{if(_0xff913[_0x68ca91(0x170)]['redoMutation']){if(!_0x2ee862[_0x68ca91(0x244)](_0xff913[_0x68ca91(0x170)][_0x68ca91(0x182)]['id'],_0xff913[_0x68ca91(0x170)][_0x68ca91(0x182)][_0x68ca91(0x1dc)]))return!0x1;_0x411287=!0x0;}if(_0x1244f7[_0x68ca91(0x240)]){let _0x122a03=_0x2ee862['syncExecuteCommand'](_0x1244f7[_0x68ca91(0x240)]['id'],_0x1244f7['documentRedo'][_0x68ca91(0x1dc)]);if(!_0x122a03)return _0x5f3432(_0x2ee862,_0xff913['externalMutations'],_0x411287),!0x1;_0x3cb486={'id':_0x56ff97[_0x68ca91(0x153)]['id'],'params':{..._0x122a03,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x2ee862['syncExecuteCommand'](_0x1244f7[_0x68ca91(0x158)]['id'],_0x1244f7[_0x68ca91(0x158)]['params']))return _0x5c928d(_0x2ee862,_0x3cb486),_0x5f3432(_0x2ee862,_0xff913['externalMutations'],_0x411287),!0x1;_0x12fcd8=!0x0,_0x4751a6(_0xff913,_0x1244f7,_0x3cb486,_0x42a22a);}catch(_0x46994e){throw _0x12fcd8&&_0x2ee862[_0x68ca91(0x244)](_0x1244f7[_0x68ca91(0x166)]['id'],_0x1244f7[_0x68ca91(0x166)]['params']),_0x5c928d(_0x2ee862,_0x3cb486),_0x5f3432(_0x2ee862,_0xff913[_0x68ca91(0x170)],_0x411287),_0x46994e;}return _0x1203bd[_0x68ca91(0x1b2)]([{'startOffset':_0xff913[_0x68ca91(0x215)],'endOffset':_0xff913['cursorOffset'],'segmentId':''}],{'unitId':_0xff913[_0x68ca91(0x20e)],'subUnitId':_0xff913[_0x68ca91(0x20e)]},!0x1,{[_0x56ff97['DOC_SELECTION_OPTION_PRESERVE_CARET']]:!0x0}),!0x0;}function _0x594252(_0x5799cd,_0x281cbf,_0x123a0c,_0xd1857e,_0x423ab8,_0xabe0b3){const _0x4e1480=_0x5e1fd7;let _0x3df849=_0x2069da(_0x123a0c,_0xd1857e,(0x0,_0x35ada0[_0x4e1480(0x179)])(_0x5799cd,''));return _0x3df849?{'id':_0x56ff97[_0x4e1480(0x153)]['id'],'params':{'unitId':_0x281cbf,'actions':_0x3df849,'segmentId':'','textRanges':[{'startOffset':_0x423ab8,'endOffset':_0x423ab8,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0xabe0b3}}:null;}function _0x5c928d(_0x49f210,_0x2bbe95){const _0x27607d=_0x5e1fd7;_0x2bbe95&&_0x49f210[_0x27607d(0x244)](_0x2bbe95['id'],_0x2bbe95[_0x27607d(0x1dc)]);}function _0x5f3432(_0x2b586f,_0xfcf965,_0x8a3b22){const _0x3f030a=_0x5e1fd7;_0x8a3b22&&_0xfcf965[_0x3f030a(0x20f)]&&_0x2b586f[_0x3f030a(0x244)](_0xfcf965[_0x3f030a(0x20f)]['id'],_0xfcf965[_0x3f030a(0x20f)][_0x3f030a(0x1dc)]);}function _0x2069da(_0x7ccced,_0x3e6f2e,_0x3152f8){const _0x5df462=_0x5e1fd7;let _0x45665e=_0x7ccced['body'],_0x3da08b=_0x3e6f2e[_0x5df462(0x274)],_0x4a02a1=_0x2489de(_0x45665e==null?void 0x0:_0x45665e[_0x5df462(0x13f)],_0x3da08b==null?void 0x0:_0x3da08b['dataStream']);if(!_0x4a02a1||!_0x3da08b)return null;let _0x5e4f65=new _0x35ada0[(_0x5df462(0x1d9))]();return _0x5e4f65[_0x5df462(0x23d)](_0x4a02a1[_0x5df462(0x255)]),_0x4a02a1[_0x5df462(0x245)]>0x0&&_0x5e4f65[_0x5df462(0x1bd)](_0x4a02a1[_0x5df462(0x245)],(0x0,_0x35ada0['getBodySliceForTextXAction'])(_0x3da08b,_0x4a02a1[_0x5df462(0x255)],_0x4a02a1[_0x5df462(0x255)]+_0x4a02a1[_0x5df462(0x245)],!0x1)),_0x4a02a1[_0x5df462(0x17e)]>0x0&&_0x5e4f65[_0x5df462(0x140)](_0x4a02a1[_0x5df462(0x17e)]),_0x35ada0['JSONX'][_0x5df462(0x1a8)]()[_0x5df462(0x16c)](_0x5e4f65[_0x5df462(0x22b)](),_0x3152f8);}function _0x2489de(_0xa20a0e,_0x54f266){const _0x141762=_0x5e1fd7;if(_0xa20a0e==null||_0x54f266==null||_0xa20a0e===_0x54f266)return null;let _0x5082a0=0x0;for(;_0x5082a0<_0xa20a0e[_0x141762(0x13b)]&&_0x5082a0<_0x54f266[_0x141762(0x13b)]&&_0xa20a0e[_0x5082a0]===_0x54f266[_0x5082a0];)_0x5082a0+=0x1;let _0x10a8f5=_0xa20a0e[_0x141762(0x13b)],_0x13c392=_0x54f266[_0x141762(0x13b)];for(;_0x10a8f5>_0x5082a0&&_0x13c392>_0x5082a0&&_0xa20a0e[_0x10a8f5-0x1]===_0x54f266[_0x13c392-0x1];)--_0x10a8f5,--_0x13c392;return{'start':_0x5082a0,'deleteLength':_0x10a8f5-_0x5082a0,'insertLength':_0x13c392-_0x5082a0};}function _0x1547ad(_0x185161){const _0x1cc8e9=_0x5e1fd7;return{'schemaVersion':0x1,'formulas':Object[_0x1cc8e9(0x197)](Object['entries'](_0x185161[_0x1cc8e9(0x167)])[_0x1cc8e9(0x1f2)](([_0x1016b9,_0xd5ddc8])=>[_0x1016b9,{..._0xd5ddc8,..._0xd5ddc8['numberFormat']?{'numberFormat':{..._0xd5ddc8['numberFormat']}}:null,..._0xd5ddc8[_0x1cc8e9(0x14a)]?{'lastValue':{..._0xd5ddc8[_0x1cc8e9(0x14a)]}}:null}]))};}let _0x1c5633=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x446159,_0x4a67ad,_0x48a614,_0xe881e9){const _0x2b2c26=_0x5e1fd7;super(),this[_0x2b2c26(0x223)]=_0x446159,this['_commandService']=_0x4a67ad,this['_model']=_0x48a614,this[_0x2b2c26(0x17d)]=_0xe881e9,_0x427b68(this,_0x2b2c26(0x16f),new Set()),_0x427b68(this,_0x2b2c26(0x15d),!0x1),_0x427b68(this,_0x2b2c26(0x143),!0x1),this[_0x2b2c26(0x223)][_0x2b2c26(0x218)](_0x35ada0[_0x2b2c26(0x168)][_0x2b2c26(0x238)])['forEach'](_0x44fac3=>this['_service'][_0x2b2c26(0x1b0)](_0x44fac3)),this['disposeWithMe'](this[_0x2b2c26(0x211)][_0x2b2c26(0x23b)][_0x2b2c26(0x1ba)](({unitId:_0x11f7bf})=>this[_0x2b2c26(0x146)](_0x11f7bf))),this['disposeWithMe'](this[_0x2b2c26(0x223)][_0x2b2c26(0x155)][_0x2b2c26(0x1ba)](({unit:_0x5d1af9})=>{const _0x58f76b=_0x2b2c26;_0x5d1af9[_0x58f76b(0x14f)]===_0x35ada0[_0x58f76b(0x168)]['UNIVER_DOC']&&this['_queueSync'](_0x5d1af9[_0x58f76b(0x1ed)]());})),this[_0x2b2c26(0x1e6)](this['_instanceService']['unitDisposed$'][_0x2b2c26(0x1ba)](_0x1b24e8=>{this['_service']['unregisterUnit'](_0x1b24e8['getUnitId']());})),this[_0x2b2c26(0x1e6)](this['_commandService']['onCommandExecuted'](_0x50f309=>{const _0x3ec8b2=_0x2b2c26;if(_0x50f309['id']===_0x56ff97[_0x3ec8b2(0x153)]['id']&&_0x507eef(_0x50f309[_0x3ec8b2(0x1dc)])){let _0x427749=_0x50f309[_0x3ec8b2(0x1dc)];_0x427749[_0x3ec8b2(0x16d)]||this[_0x3ec8b2(0x146)](_0x427749['unitId']);}}));}['dispose'](){const _0x36f8dc=_0x5e1fd7;this['_isDisposed']=!0x0,super[_0x36f8dc(0x203)]();}[_0x5e1fd7(0x18f)](_0x8c8827){const _0x683c96=_0x5e1fd7;this['_pendingUnitIds']['add'](_0x8c8827),!this['_syncScheduled']&&(this[_0x683c96(0x15d)]=!0x0,queueMicrotask(()=>{const _0x17dc45=_0x683c96;if(this[_0x17dc45(0x15d)]=!0x1,this[_0x17dc45(0x143)])return;let _0x1cbd14=Array['from'](this[_0x17dc45(0x16f)]);this[_0x17dc45(0x16f)][_0x17dc45(0x258)](),_0x1cbd14['forEach'](_0x45b63f=>this[_0x17dc45(0x146)](_0x45b63f));}));}[_0x5e1fd7(0x146)](_0x93dbea){const _0x63f1f5=_0x5e1fd7;let _0x3d9a45=this[_0x63f1f5(0x223)][_0x63f1f5(0x214)](_0x93dbea,_0x35ada0[_0x63f1f5(0x168)][_0x63f1f5(0x238)]);_0x3d9a45&&this[_0x63f1f5(0x17d)][_0x63f1f5(0x1b0)](_0x3d9a45);}};_0x1c5633=_0x1ac6f5([_0xf1755d(0x0,_0x35ada0['IUniverInstanceService']),_0xf1755d(0x1,_0x35ada0[_0x5e1fd7(0x242)]),_0xf1755d(0x2,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0xde1cef)),_0xf1755d(0x3,(0x0,_0x35ada0['Inject'])(_0x131ce3))],_0x1c5633);function _0x507eef(_0x22e011){const _0x53fc04=_0x5e1fd7;return typeof _0x22e011==_0x53fc04(0x247)&&!!_0x22e011&&_0x53fc04(0x20e)in _0x22e011&&typeof _0x22e011[_0x53fc04(0x20e)]==_0x53fc04(0x14e)&&(!(_0x53fc04(0x16d)in _0x22e011)||_0x22e011[_0x53fc04(0x16d)]===void 0x0||typeof _0x22e011['segmentId']==_0x53fc04(0x14e));}let _0x8b51aa=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x24924d,_0x34cd4b){const _0x488594=_0x5e1fd7;super(),this[_0x488594(0x18d)]=_0x24924d,this['_docFormulaModel']=_0x34cd4b,this[_0x488594(0x1e6)](this['_resourceManagerService'][_0x488594(0x12f)]({'pluginName':_0x542a71,'businesses':[_0x35ada0['UniverInstanceType']['UNIVER_DOC']],'toJson':_0x12f496=>JSON['stringify'](this[_0x488594(0x259)][_0x488594(0x22b)](_0x12f496)),'parseJson':_0x161524=>JSON['parse'](_0x161524),'onLoad':(_0x3e7efa,_0x42b058)=>{const _0x106fd6=_0x488594;this[_0x106fd6(0x259)][_0x106fd6(0x205)](_0x3e7efa,_0x42b058);},'onUnLoad':_0x20c8a2=>this[_0x488594(0x259)][_0x488594(0x139)](_0x20c8a2)}));}};_0x8b51aa=_0x1ac6f5([_0xf1755d(0x0,_0x35ada0[_0x5e1fd7(0x17b)]),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0xde1cef))],_0x8b51aa);var _0x30e850=_0x5e1fd7(0x14c),_0x2875e9=_0x5e1fd7(0x206);let _0x18c23d={},_0x4da995=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x2b80d0,_0x6804c6,_0x419328){const _0x23ef32=_0x5e1fd7;super(),this[_0x23ef32(0x181)]=_0x2b80d0,this[_0x23ef32(0x26f)]=_0x6804c6,this[_0x23ef32(0x1e6)](_0x419328[_0x23ef32(0x233)]({'resolve':(_0x12ccc6,_0x370ddc)=>{const _0x1361d4=_0x23ef32;var _0x5677bd;return((_0x5677bd=_0x370ddc['customRanges'])==null?void 0x0:_0x5677bd['filter'](_0x5646e5)[_0x1361d4(0x1f2)](_0x2557c1=>({'startOffset':_0x2557c1[_0x1361d4(0x200)],'endOffset':_0x2557c1[_0x1361d4(0x24f)]+0x1,'text':this[_0x1361d4(0x150)](_0x12ccc6,_0x2557c1[_0x1361d4(0x268)])})))??[];}})),this[_0x23ef32(0x1e6)](this[_0x23ef32(0x26f)][_0x23ef32(0x226)][_0x23ef32(0x1ba)](({unitId:_0x19c415})=>{const _0x357519=_0x23ef32;_0x419328[_0x357519(0x1d5)](_0x19c415);}));}['resolveFormula'](_0x4b9962,_0x11b812){const _0x167314=_0x5e1fd7;var _0x3245b4;return((_0x3245b4=this[_0x167314(0x26f)][_0x167314(0x151)]({'unitId':_0x4b9962,'rangeId':_0x11b812}))==null?void 0x0:_0x3245b4['text'])??'';}[_0x5e1fd7(0x241)](_0x347a0c,_0x12eb8a,_0x33731b){const _0x35c53c=_0x5e1fd7;var _0x46e549;let _0xd440b4=this[_0x35c53c(0x181)][_0x35c53c(0x214)](_0x347a0c,_0x35ada0['UniverInstanceType'][_0x35c53c(0x238)]),_0x6c07e1=_0xd440b4==null?void 0x0:_0xd440b4[_0x35c53c(0x260)]();if(!_0x6c07e1)return'';let _0x4c1860=_0x6c07e1[_0x35c53c(0x13f)][_0x35c53c(0x266)](_0x12eb8a,_0x33731b),_0x2566d4=((_0x46e549=_0x6c07e1['customRanges'])==null?void 0x0:_0x46e549['filter'](_0x2c1346=>_0x5646e5(_0x2c1346)&&_0x2c1346[_0x35c53c(0x200)]>=_0x12eb8a&&_0x2c1346[_0x35c53c(0x24f)]<_0x33731b)['sort']((_0x17a92f,_0x4006bf)=>_0x4006bf[_0x35c53c(0x200)]-_0x17a92f[_0x35c53c(0x200)]))??[];for(let _0x328784 of _0x2566d4){let _0x2f39e4=_0x328784[_0x35c53c(0x200)]-_0x12eb8a,_0x12ddb5=_0x328784[_0x35c53c(0x24f)]-_0x12eb8a+0x1;_0x4c1860=''+_0x4c1860[_0x35c53c(0x266)](0x0,_0x2f39e4)+this[_0x35c53c(0x150)](_0x347a0c,_0x328784[_0x35c53c(0x268)])+_0x4c1860[_0x35c53c(0x266)](_0x12ddb5);}return _0x4c1860;}['degradeDocumentData'](_0x24f552){return _0x2cb22a(_0x24f552);}['degradeBody'](_0x7a20ca,_0xe5d23,_0x445986={}){const _0x19e21d=_0x5e1fd7;var _0x504473;return _0x562951({'id':_0x7a20ca,'body':_0xe5d23,'documentStyle':{}},(((_0x504473=_0xe5d23['customRanges'])==null?void 0x0:_0x504473[_0x19e21d(0x230)](_0x5646e5))??[])[_0x19e21d(0x1f2)](_0x4741ad=>({'rangeId':_0x4741ad['rangeId'],'text':_0x445986[_0x4741ad[_0x19e21d(0x268)]]??this['resolveFormula'](_0x7a20ca,_0x4741ad[_0x19e21d(0x268)])})))[_0x19e21d(0x274)]??{'dataStream':''};}};_0x4da995=_0x1ac6f5([_0xf1755d(0x0,_0x35ada0[_0x5e1fd7(0x196)]),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x131ce3)),_0xf1755d(0x2,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x56ff97[_0x5e1fd7(0x224)]))],_0x4da995);function _0x2cb22a(_0x168811){const _0x57749a=_0x5e1fd7;var _0x37aa37,_0x8a1984;let _0x50495a=_0x5af54e(_0x168811),_0x5b7766=_0x562951(_0x168811,(((_0x37aa37=_0x168811[_0x57749a(0x274)])==null||(_0x37aa37=_0x37aa37[_0x57749a(0x189)])==null?void 0x0:_0x37aa37[_0x57749a(0x230)](_0x5646e5))??[])[_0x57749a(0x1f2)](_0x113092=>({'rangeId':_0x113092[_0x57749a(0x268)],'text':_0x1b7be2(_0x50495a==null?void 0x0:_0x50495a[_0x57749a(0x167)][_0x113092[_0x57749a(0x268)]])})));return _0x5b7766[_0x57749a(0x264)]=(_0x8a1984=_0x5b7766[_0x57749a(0x264)])==null?void 0x0:_0x8a1984[_0x57749a(0x230)](_0x499ff5=>_0x499ff5['name']!==_0x542a71),_0x5b7766;}function _0x5af54e(_0x234d4a){const _0x20588a=_0x5e1fd7;var _0x53fe47;let _0x5bf6f6=(_0x53fe47=_0x234d4a[_0x20588a(0x264)])==null||(_0x53fe47=_0x53fe47[_0x20588a(0x193)](_0x3986e3=>_0x3986e3[_0x20588a(0x249)]===_0x20588a(0x20b)))==null?void 0x0:_0x53fe47[_0x20588a(0x1c4)];if(_0x5bf6f6)try{let _0x8a1849=JSON[_0x20588a(0x187)](_0x5bf6f6);return _0x2c1ccf(_0x8a1849)?_0x8a1849:void 0x0;}catch{return;}}function _0x1b7be2(_0x7b3244){return _0x7b3244?(0x0,_0x305999['resolveFormulaResultPresentation'])({'lastValue':_0x7b3244['lastValue'],'numberFormat':_0x7b3244['numberFormat']})['text']:'';}let _0x4727c1=class extends _0x35ada0[_0x5e1fd7(0x1bb)]{constructor(_0x2c9a36,_0x4bba23,_0x129fd4){const _0x36e51f=_0x5e1fd7;super(),this['_formulaService']=_0x2c9a36,this[_0x36e51f(0x254)]=_0x4bba23,this['disposeWithMe'](_0x129fd4[_0x36e51f(0x19e)](this));}['collectMutations'](_0x230107){const _0x2c31a1=_0x5e1fd7;let _0x15e346=new Map();for(let _0x19b7ad of this[_0x2c31a1(0x26f)][_0x2c31a1(0x165)]()){var _0x49ca65;if(!this[_0x2c31a1(0x254)][_0x2c31a1(0x194)](_0x19b7ad[_0x2c31a1(0x1c8)][_0x2c31a1(0x263)],_0x19b7ad[_0x2c31a1(0x1e8)])[_0x2c31a1(0x1de)])continue;let _0x26d75d=(0x0,_0x305999[_0x2c31a1(0x175)])(_0x19b7ad[_0x2c31a1(0x1e8)]),_0x506ea1=_0x26d75d?(0x0,_0x305999[_0x2c31a1(0x16a)])(_0x26d75d):null;if(!_0x506ea1||_0x17b958(_0x19b7ad['config'][_0x2c31a1(0x14a)],_0x506ea1))continue;let _0x3b1efc=_0x15e346['get'](_0x19b7ad[_0x2c31a1(0x239)][_0x2c31a1(0x20e)])??[];_0x3b1efc['push']({'rangeId':_0x19b7ad[_0x2c31a1(0x239)][_0x2c31a1(0x268)],'expectedFormula':_0x19b7ad[_0x2c31a1(0x1c8)][_0x2c31a1(0x263)],'expectedNumberFormat':(_0x49ca65=_0x19b7ad[_0x2c31a1(0x1c8)][_0x2c31a1(0x1b6)])==null?void 0x0:_0x49ca65[_0x2c31a1(0x171)],'expectedReferenceRevision':_0x19b7ad[_0x2c31a1(0x201)],'lastValue':_0x506ea1}),_0x15e346[_0x2c31a1(0x21b)](_0x19b7ad[_0x2c31a1(0x239)]['unitId'],_0x3b1efc);}return Array[_0x2c31a1(0x1af)](_0x15e346,([_0x1eb414,_0x1891c8])=>({'id':_0xb5810e['id'],'params':{'unitId':_0x1eb414,'updates':_0x1891c8}}));}};_0x4727c1=_0x1ac6f5([_0xf1755d(0x0,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x131ce3)),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x305999['FormulaCacheEligibilityService'])),_0xf1755d(0x2,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x305999[_0x5e1fd7(0x1ef)]))],_0x4727c1);function _0x17b958(_0x2e9771,_0x34fcd2){const _0x155a0a=_0x5e1fd7;return(_0x2e9771==null?void 0x0:_0x2e9771['v'])===_0x34fcd2['v']&&(_0x2e9771==null?void 0x0:_0x2e9771['t'])===_0x34fcd2['t']&&(_0x2e9771==null?void 0x0:_0x2e9771[_0x155a0a(0x171)])===_0x34fcd2[_0x155a0a(0x171)];}let _0x3b5da5=class extends _0x35ada0['Plugin']{constructor(_0x3f98a1=_0x18c23d,_0x241902,_0x54303a,_0x1c69ae){const _0x547741=_0x5e1fd7;super(),this[_0x547741(0x1cf)]=_0x3f98a1,this['_injector']=_0x241902,this['_commandService']=_0x54303a,this['_configService']=_0x1c69ae;let {..._0x176cf2}=(0x0,_0x35ada0[_0x547741(0x19a)])({},_0x18c23d,this[_0x547741(0x1cf)]);this[_0x547741(0x26e)][_0x547741(0x1df)]('docs-formula.config',_0x176cf2);}[_0x5e1fd7(0x24b)](){const _0x3e9f99=_0x5e1fd7;this[_0x3e9f99(0x17a)][_0x3e9f99(0x25e)]([_0xde1cef]),this[_0x3e9f99(0x17a)]['add']([_0x131ce3]),this['_injector'][_0x3e9f99(0x25e)]([_0x8b51aa]),this[_0x3e9f99(0x17a)]['add']([_0x1c5633]),this['_injector'][_0x3e9f99(0x25e)]([_0x4727c1]),this[_0x3e9f99(0x17a)]['add']([_0x4da995]),(0x0,_0x35ada0[_0x3e9f99(0x145)])(this[_0x3e9f99(0x17a)],[[_0xde1cef],[_0x8b51aa],[_0x1c5633],[_0x4727c1],[_0x4da995]]),[_0x3ac648,_0x399640,_0x488e31,_0xb5810e,_0x235e40,_0x16a7c0,_0x154ac9,_0x11cbf3,_0x2df4f6,_0x4c25bb][_0x3e9f99(0x1f9)](_0x5369da=>this[_0x3e9f99(0x1e6)](this['_commandService'][_0x3e9f99(0x137)](_0x5369da)));}};_0x427b68(_0x3b5da5,'pluginName',_0x542a71),_0x427b68(_0x3b5da5,_0x5e1fd7(0x149),_0x30e850),_0x427b68(_0x3b5da5,_0x5e1fd7(0x248),_0x2875e9),_0x427b68(_0x3b5da5,'type',_0x35ada0['UniverInstanceType'][_0x5e1fd7(0x238)]),_0x3b5da5=_0x1ac6f5([(0x0,_0x35ada0[_0x5e1fd7(0x1f4)])(_0x33899c[_0x5e1fd7(0x17f)],_0x305999[_0x5e1fd7(0x1d7)],_0x56ff97[_0x5e1fd7(0x174)]),_0xf1755d(0x1,(0x0,_0x35ada0[_0x5e1fd7(0x18c)])(_0x35ada0[_0x5e1fd7(0x221)])),_0xf1755d(0x2,_0x35ada0['ICommandService']),_0xf1755d(0x3,_0x35ada0['IConfigService'])],_0x3b5da5),_0xe6425f[_0x5e1fd7(0x25a)]=_0x4c25bb,_0xe6425f['DOC_FORMULA_CUSTOM_RANGE_KIND']=_0x24a7cd,_0xe6425f['DOC_FORMULA_OBJECT_REPLACEMENT']='',_0xe6425f[_0x5e1fd7(0x20b)]=_0x542a71,_0xe6425f[_0x5e1fd7(0x19c)]=0x1,Object[_0x5e1fd7(0x1a5)](_0xe6425f,_0x5e1fd7(0x1cb),{'enumerable':!0x0,'get':function(){return _0x4da995;}}),Object[_0x5e1fd7(0x1a5)](_0xe6425f,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x1c5633;}}),_0xe6425f['DocFormulaModel']=_0xde1cef,Object[_0x5e1fd7(0x1a5)](_0xe6425f,_0x5e1fd7(0x1fb),{'enumerable':!0x0,'get':function(){return _0x8b51aa;}}),_0xe6425f[_0x5e1fd7(0x265)]=_0x3ac023,Object[_0x5e1fd7(0x1a5)](_0xe6425f,_0x5e1fd7(0x1a6),{'enumerable':!0x0,'get':function(){return _0x131ce3;}}),_0xe6425f[_0x5e1fd7(0x136)]=_0x235e40,_0xe6425f[_0x5e1fd7(0x199)]=_0x84039e,_0xe6425f[_0x5e1fd7(0x26c)]=_0x11cbf3,_0xe6425f[_0x5e1fd7(0x228)]=_0x399640,_0xe6425f[_0x5e1fd7(0x231)]=_0x2df4f6,_0xe6425f['SetDocFormulaLastValuesMutation']=_0xb5810e,_0xe6425f[_0x5e1fd7(0x1da)]=_0x3ac648,_0xe6425f[_0x5e1fd7(0x275)]=_0x154ac9,_0xe6425f[_0x5e1fd7(0x26d)]=_0x488e31,Object['defineProperty'](_0xe6425f,'UniverDocsFormulaPlugin',{'enumerable':!0x0,'get':function(){return _0x3b5da5;}}),_0xe6425f[_0x5e1fd7(0x1ce)]=_0x16a7c0,_0xe6425f[_0x5e1fd7(0x1cc)]=_0x5eec39,_0xe6425f[_0x5e1fd7(0x257)]=_0x50a02c,_0xe6425f['buildRemoveDocFormulaActions']=_0x44ab43,_0xe6425f[_0x5e1fd7(0x22a)]=_0x424b69,_0xe6425f[_0x5e1fd7(0x1d3)]=_0x3fca4a,_0xe6425f['degradeDocFormulaDocumentData']=_0x2cb22a,_0xe6425f[_0x5e1fd7(0x222)]=_0x251f7a,_0xe6425f[_0x5e1fd7(0x25f)]=_0x4983da,_0xe6425f[_0x5e1fd7(0x1f3)]=_0x5646e5,_0xe6425f[_0x5e1fd7(0x229)]=_0x2c1ccf,_0xe6425f[_0x5e1fd7(0x1e5)]=_0x544890;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-formula",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
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.1",
65
- "@univerjs-pro/license": "1.0.1",
66
- "@univerjs/core": "1.0.1",
67
- "@univerjs/docs": "1.0.1",
68
- "@univerjs/engine-formula": "1.0.1"
64
+ "@univerjs-pro/engine-formula": "1.0.3",
65
+ "@univerjs-pro/license": "1.0.3",
66
+ "@univerjs/core": "1.0.3",
67
+ "@univerjs/docs": "1.0.3",
68
+ "@univerjs/engine-formula": "1.0.3"
69
69
  },
70
70
  "devDependencies": {
71
- "@univerjs-infra/shared": "1.0.1",
72
- "@univerjs/engine-render": "1.0.1",
71
+ "@univerjs-infra/shared": "1.0.3",
72
+ "@univerjs/engine-render": "1.0.3",
73
73
  "rxjs": "7.8.2",
74
74
  "typescript": "^6.0.3",
75
75
  "vitest": "^5.0.0"