@univerjs-pro/docs-formula 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2cc1(){const _0x6e6f50=['TABLE_CELL_END','_univerInstanceService','RichTextEditingMutation','231051OUTrsW','startsWith','version','resolveText','endOffset','UniverDocsPlugin','length','FormulaLastValuePersistenceService','DocFormulaModel','range','docs-formula.command.update','resolved','map','start','registerFormulaWithRange','cell','expectedReferenceRevision','disposeWithMe','iterator','Inject','replaceDocRanges','document','HostExternalReferenceModel','source','kind','_queueSync','customBlocks','object','univer-docs-formula','liveResult','_syncUnit','pending','docs-formula.mutation.set-resource','_configService','_setPresentation','has','34pJuqJp','formulaId','packageName','schemaVersion','values','IUniverInstanceService','retain','getBody','COLUMN_END','endIndex','_config','getFormulaValueSync','unitAdded$','config','_resourceManagerService','register','clear','@univerjs-pro/license','onStarting','customRanges','775qQCKUq','_syncScheduled','parse','updates','deleteFormula','TABLE_END','properties','selection','lastValue','getFormulas','push','documentRedo','end','isDocFormulaResource','findDocFormulaRange','resourceUndo','sequenceNodesBuilder','delete','getParagraphContentStartOffset','columnGroups','getPresentation','textRuns','error','filter','UniverCore','resources','CustomRangeType','UniverDocsFormulaPlugin','docs-formula.mutation.set-formula','serialize','JSONX','ERROR','DocFormulaResultStatus','UNIVER_DOC','stale','documentData','_formulaKeys','SetDocFormulaNumberFormatCommand','_model','RemoveDocFormulaMutation','tables','externalMutations','SetDocFormulaLastValuesMutation','_docFormulaModel','docs-formula.command.remove','sectionBreaks','DOC_FORMULA_SCHEMA_VERSION','cursorOffset','_pendingUnitIds','references','disabled','max','registerPluginResource','EMPTY','shiftInclusiveRangeOnInsert','slice','_deleteRegistration','_updateFormulaResult','symbol','ICommandService','Disposable','_registrations','endsWith','COMMAND','deleteLength','toFormulaLastValue','pluginName','default','decorate','every','collectFormulaExternalReferenceQualifiers','DocSelectionManagerService','COLUMN_GROUP_START','buildInsertDocFormulaActions','sort','assign','resource','segmentId','get','getUnit','_preserveInvalid','syncUnit','asObservable','Injector','next','from','getBodySliceForTextXAction','formulaResult$','docs-formula.command.insert','UniverEngineFormula','invalid-resource','previousResource','forEach','set','collectMutations','_registrationService','docs-formula.mutation.remove-formula','stringify','TABLE_START','success','getLoadError','DocTextResolverService','function','_presentationChanged$','DataStreamTreeTokenType','getResource','RemoveDocFormulaCommand','26900FmsgVs','_resources','assertSafeDocFormulaInsertRange','UniverProDocsFormula','generateRandomId','Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.','33dOHfhY','removeFormula','resourceRedo','presentationChanged$','setConfig','paragraph','startOffset','getInstance','resolveFormula','DOC_FORMULA_CUSTOM_RANGE_KIND','complete','DocFormulaLifecycleController','DOC_FORMULA_PLUGIN','FormulaResultStatus','externalReferences','subscribe','amd','_rawResources','IConfigService','body','getRevision','TABLE_CELL_START','referenceRevision','7796608QVLzXZ','MUTATION','degradeDocumentData','data','undoMutation','docs-formula.command.set-number-format','FormulaCacheEligibilityService','boolean','status','formula','docs-formula.command.convert-to-text','COLUMN_GROUP_END','pattern','shiftExclusiveRangeOnDelete','shiftInclusiveRangeOnDelete','resolveFormulaResultPresentation','IResourceManagerService','removeUnit','insert','color','dataStream','wholeEntity','getScalarFormulaResultCell','CellValueType','getSnapshot','startIndex','UniverProEngineFormula','InvalidDocFormulaInsertRangeError','load','eligible','getRegisteredFormulas','constructor','change$','find','SUCCESS','getAllUnitsForType','CUSTOM_BLOCK','BLOCK_START','getFormula','BLOCK_END','unregister','expectedFormula','1.2.0','217110ejLpIm','DOC_SELECTION_OPTION_PRESERVE_CARET','UniverLicensePlugin','CommandType','registerCommand','133hgWjCW','isDocFormulaConfig','COLUMN_START','907903HOCsCg','Plugin','redoMutation','accessor','resolveBinding','identity','some','nextDocumentData','fromEntries','syncExecuteCommand','defineProperty','buildUpsertHostExternalReferenceMutations','createEmptyDocFormulaResource','SetDocFormulaMutation','params','touchDependencies','trim','getCustomRangeInterval','getRichTextEditPath','prototype','_change$','getResult','name','UpdateDocFormulaCommand','insertLength','rxjs','dispose','rangeType','TextX','exports','model','buildUpdateDocFormulaActions','DOC_FORMULA_OBJECT_REPLACEMENT','setFormula','getUnitId','_instanceService','_isDisposed','expectedNumberFormat','_commandService','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','UniverDocs','docs-formula.config','Tools','_injector','_service','7013976edsbqr','buildRemoveDocFormulaActions','add','paragraphs','unregisterUnit','DOC','_loadErrors','Subject','includes','text','unitId','isArray','empty','customDecorations','previousDocumentData','degradeDocFormulaDocumentData','number','rangeId','TABLE_ROW_END','toPrimitive','deepClone','formulas','position','registerProvider','numberFormat','_cacheEligibilityService','onCommandExecuted','ReplaceDocFormulaWithTextCommand','15452230SipowB','@univerjs/docs','@univerjs/engine-formula','setFormulas','string','_formulaService','9Lpcdem','OtherFormulaBizType','ConvertDocFormulaToTextCommand','PARAGRAPH','blockRanges','DependentOn','@univerjs-pro/engine-formula','UniverInstanceType','getTextRanges','SECTION_BREAK','presentation','LexerTreeBuilder','nextResource','setResource','type','CUSTOM'];_0x2cc1=function(){return _0x6e6f50;};return _0x2cc1();}function _0x2b4f(_0xd67568,_0x5af7dd){_0xd67568=_0xd67568-0x12b;const _0x2cc183=_0x2cc1();let _0x2b4fff=_0x2cc183[_0xd67568];return _0x2b4fff;}(function(_0x2a4fb3,_0xe309f3){const _0x1cd901=_0x2b4f,_0x5da5ea=_0x2a4fb3();while(!![]){try{const _0x259e52=-parseInt(_0x1cd901(0x220))/0x1+-parseInt(_0x1cd901(0x151))/0x2*(-parseInt(_0x1cd901(0x12d))/0x3)+parseInt(_0x1cd901(0x1d0))/0x4*(parseInt(_0x1cd901(0x165))/0x5)+-parseInt(_0x1cd901(0x218))/0x6*(-parseInt(_0x1cd901(0x21d))/0x7)+-parseInt(_0x1cd901(0x1ed))/0x8+parseInt(_0x1cd901(0x26f))/0x9*(parseInt(_0x1cd901(0x269))/0xa)+parseInt(_0x1cd901(0x1d6))/0xb*(-parseInt(_0x1cd901(0x24d))/0xc);if(_0x259e52===_0xe309f3)break;else _0x5da5ea['push'](_0x5da5ea['shift']());}catch(_0xe693e2){_0x5da5ea['push'](_0x5da5ea['shift']());}}}(_0x2cc1,0xe78cd),function(_0x25a8b2,_0x345e20){const _0x7214ad=_0x2b4f;typeof exports==_0x7214ad(0x148)&&typeof module<'u'?_0x345e20(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x7214ad(0x1cb)&&define[_0x7214ad(0x1e6)]?define([_0x7214ad(0x23d),_0x7214ad(0x275),'@univerjs/core',_0x7214ad(0x26a),_0x7214ad(0x26b),_0x7214ad(0x239),_0x7214ad(0x162)],_0x345e20):(_0x25a8b2=typeof globalThis<'u'?globalThis:_0x25a8b2||self,_0x345e20(_0x25a8b2[_0x7214ad(0x1d3)]={},_0x25a8b2[_0x7214ad(0x207)],_0x25a8b2[_0x7214ad(0x17d)],_0x25a8b2[_0x7214ad(0x248)],_0x25a8b2[_0x7214ad(0x1be)],_0x25a8b2[_0x7214ad(0x239)],_0x25a8b2['UniverProLicense']));}(this,function(_0x5c28cd,_0x219b45,_0xa600dd,_0x165f65,_0x5430b4,_0x4127ab,_0x5f572e){const _0x4955bb=_0x2b4f;Object[_0x4955bb(0x22a)](_0x5c28cd,Symbol['toStringTag'],{'value':'Module'});let _0x37b0b3=_0x4955bb(0x1e2),_0x2846a2=_0x4955bb(0x149);function _0x3eac7f(){return{'schemaVersion':0x1,'formulas':{}};}function _0x5010f7(_0x28b240){const _0x530199=_0x4955bb;return!_0x28b240||typeof _0x28b240!=_0x530199(0x148)||!_0x36bc01(_0x28b240,[_0x530199(0x154),_0x530199(0x262)])||!('schemaVersion'in _0x28b240)||_0x28b240['schemaVersion']!==0x1||!('formulas'in _0x28b240)||!_0x28b240[_0x530199(0x262)]||typeof _0x28b240[_0x530199(0x262)]!='object'||Array[_0x530199(0x258)](_0x28b240['formulas'])?!0x1:Object['entries'](_0x28b240['formulas'])[_0x530199(0x1aa)](([_0x397a57,_0xe57473])=>_0x397a57[_0x530199(0x133)]>0x0&&_0x3cd1eb(_0xe57473));}function _0x3cd1eb(_0x33302d){const _0xa8e96b=_0x4955bb;return!_0x33302d||typeof _0x33302d!=_0xa8e96b(0x148)||!_0x36bc01(_0x33302d,[_0xa8e96b(0x1f6),_0xa8e96b(0x265),_0xa8e96b(0x16d)])||!(_0xa8e96b(0x1f6)in _0x33302d)||typeof _0x33302d[_0xa8e96b(0x1f6)]!=_0xa8e96b(0x26d)||!_0x33302d[_0xa8e96b(0x1f6)][_0xa8e96b(0x230)]()||_0xa8e96b(0x265)in _0x33302d&&_0x33302d[_0xa8e96b(0x265)]!=null&&(typeof _0x33302d[_0xa8e96b(0x265)]!=_0xa8e96b(0x148)||!_0x36bc01(_0x33302d[_0xa8e96b(0x265)],['pattern'])||!(_0xa8e96b(0x1f9)in _0x33302d[_0xa8e96b(0x265)])||typeof _0x33302d[_0xa8e96b(0x265)][_0xa8e96b(0x1f9)]!=_0xa8e96b(0x26d))?!0x1:!(_0xa8e96b(0x16d)in _0x33302d)||_0x33302d['lastValue']==null||_0xce23f5(_0x33302d[_0xa8e96b(0x16d)]);}function _0xce23f5(_0x506b80){const _0x4732b7=_0x4955bb;return!_0x506b80||typeof _0x506b80!=_0x4732b7(0x148)||!_0x36bc01(_0x506b80,['v','t',_0x4732b7(0x1f9)])||!('v'in _0x506b80)||_0x506b80['v']!==null&&typeof _0x506b80['v']!=_0x4732b7(0x26d)&&typeof _0x506b80['v']!=_0x4732b7(0x25d)&&typeof _0x506b80['v']!=_0x4732b7(0x1f4)||'t'in _0x506b80&&_0x506b80['t']!=null&&!_0x5aca3d(_0x506b80['t'])?!0x1:!(_0x4732b7(0x1f9)in _0x506b80)||_0x506b80[_0x4732b7(0x1f9)]==null||typeof _0x506b80[_0x4732b7(0x1f9)]==_0x4732b7(0x26d);}function _0x36bc01(_0xfa993f,_0x3f5ccf){const _0x49e0a4=_0x4955bb;let _0xfe4601=new Set(_0x3f5ccf);return Object['keys'](_0xfa993f)[_0x49e0a4(0x1aa)](_0x188540=>_0xfe4601[_0x49e0a4(0x150)](_0x188540));}function _0x5aca3d(_0x380186){const _0x1112f1=_0x4955bb;return typeof _0x380186==_0x1112f1(0x25d)&&Object['values'](_0xa600dd[_0x1112f1(0x204)])[_0x1112f1(0x255)](_0x380186);}let _0x2e917f=new Set([_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x278)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x1c7)],_0xa600dd['DataStreamTreeTokenType']['TABLE_ROW_START'],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x1eb)],_0xa600dd['DataStreamTreeTokenType'][_0x4955bb(0x27f)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x25f)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x16a)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x1ad)],_0xa600dd['DataStreamTreeTokenType'][_0x4955bb(0x21f)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x159)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x1f8)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x212)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x214)],_0xa600dd[_0x4955bb(0x1cd)][_0x4955bb(0x211)]]);var _0x341a6d=class extends Error{constructor(){const _0x1e4dd9=_0x4955bb;super(_0x1e4dd9(0x247));}};function _0x59d760(_0x16f5ea){const _0x41a6b7=_0x4955bb;var _0x249e83,_0x35f132;let _0x5ced58=_0xa600dd[_0x41a6b7(0x24a)][_0x41a6b7(0x261)](_0x16f5ea['documentData']),_0x453b4a=_0x134976(_0x5ced58),{startOffset:_0x16638b,endOffset:_0x1589de}=_0xca18fe(_0x453b4a,_0x16f5ea['startOffset'],_0x16f5ea[_0x41a6b7(0x131)]);_0x1461cd(_0x453b4a,_0x16638b,_0x1589de);let _0x36eced=((_0x249e83=_0x453b4a[_0x41a6b7(0x164)])==null?void 0x0:_0x249e83[_0x41a6b7(0x17c)](_0x57bf74=>{const _0x12eaa9=_0x41a6b7;if(!_0xac054f(_0x57bf74))return!0x1;let _0x48c0d0=(0x0,_0xa600dd[_0x12eaa9(0x231)])(_0x57bf74);return _0x48c0d0[_0x12eaa9(0x131)]>_0x16638b&&_0x48c0d0[_0x12eaa9(0x1dc)]<_0x1589de;})[_0x41a6b7(0x139)](_0x11e0fb=>_0x11e0fb['rangeId']))??[];_0xa92fb5(_0x453b4a,_0x16638b,_0x1589de,''),_0x453b4a['customRanges']=[...((_0x35f132=_0x453b4a[_0x41a6b7(0x164)])==null?void 0x0:_0x35f132['filter'](_0x1edc94=>!_0x36eced[_0x41a6b7(0x255)](_0x1edc94[_0x41a6b7(0x25e)])&&_0x1edc94[_0x41a6b7(0x25e)]!==_0x16f5ea[_0x41a6b7(0x25e)]))??[],_0x1752d8(_0x16f5ea['rangeId'],_0x16638b)][_0x41a6b7(0x1af)]((_0x82d84d,_0xbd603b)=>_0x82d84d[_0x41a6b7(0x206)]-_0xbd603b[_0x41a6b7(0x206)]);let _0x311d3d=_0x58d91a(_0x16f5ea[_0x41a6b7(0x1b1)]);return _0x36eced[_0x41a6b7(0x1c1)](_0x4e36a4=>{const _0x2d9bdc=_0x41a6b7;delete _0x311d3d[_0x2d9bdc(0x262)][_0x4e36a4];}),_0x311d3d[_0x41a6b7(0x262)][_0x16f5ea[_0x41a6b7(0x25e)]]=_0xa600dd[_0x41a6b7(0x24a)][_0x41a6b7(0x261)](_0x16f5ea['config']),{'nextDocumentData':_0x5ced58,'nextResource':_0x311d3d,'cursorOffset':_0x16638b+0x1};}function _0x382cd5(_0x46f885){const _0x2c26af=_0x4955bb;var _0x40a4b7,_0x5d75f7;let _0x890b94=_0xa600dd[_0x2c26af(0x24a)][_0x2c26af(0x261)](_0x46f885['documentData']),_0xa6fb3f=(_0x40a4b7=_0x134976(_0x890b94)[_0x2c26af(0x164)])==null?void 0x0:_0x40a4b7[_0x2c26af(0x20e)](_0x3e0779=>_0x3e0779[_0x2c26af(0x25e)]===_0x46f885[_0x2c26af(0x25e)]&&_0xac054f(_0x3e0779));if(!_0xa6fb3f||!((_0x5d75f7=_0x46f885['resource'])!=null&&_0x5d75f7[_0x2c26af(0x262)][_0x46f885[_0x2c26af(0x25e)]]))return null;let _0x106ead=_0x58d91a(_0x46f885[_0x2c26af(0x1b1)]);return _0x106ead['formulas'][_0x46f885[_0x2c26af(0x25e)]]=_0xa600dd[_0x2c26af(0x24a)][_0x2c26af(0x261)](_0x46f885[_0x2c26af(0x15e)]),{'nextDocumentData':_0x890b94,'nextResource':_0x106ead,'cursorOffset':_0xa6fb3f[_0x2c26af(0x15a)]+0x1};}function _0x17de84(_0x19eb9a){const _0x53ba84=_0x4955bb;let _0x44b2e7=_0xa600dd[_0x53ba84(0x24a)][_0x53ba84(0x261)](_0x19eb9a[_0x53ba84(0x188)]),_0x3ed2e1=_0x4c7663(_0x44b2e7,_0x19eb9a[_0x53ba84(0x25e)],_0x19eb9a['text']??'');if(_0x3ed2e1==null)return null;let _0x552b43=_0x58d91a(_0x19eb9a[_0x53ba84(0x1b1)]);return delete _0x552b43['formulas'][_0x19eb9a['rangeId']],{'nextDocumentData':_0x44b2e7,'nextResource':_0x552b43,'cursorOffset':_0x3ed2e1};}function _0x3220ee(_0x443356,_0x2c9c12){const _0x3aafca=_0x4955bb;var _0x5e0567;let _0x150fd7=_0xa600dd[_0x3aafca(0x24a)][_0x3aafca(0x261)](_0x443356),_0x1df3db=_0x150fd7['body'];if(!_0x1df3db)return _0x150fd7;let _0x1c9fee=new Map(_0x2c9c12[_0x3aafca(0x139)](_0x4af97f=>[_0x4af97f[_0x3aafca(0x25e)],_0x4af97f[_0x3aafca(0x256)]])),_0x10a61d=((_0x5e0567=_0x1df3db[_0x3aafca(0x164)])==null?void 0x0:_0x5e0567[_0x3aafca(0x17c)](_0x21f34b=>_0xac054f(_0x21f34b)&&_0x1c9fee[_0x3aafca(0x150)](_0x21f34b['rangeId']))[_0x3aafca(0x1af)]((_0x2cb4a0,_0x2fd0ec)=>_0x2fd0ec['startIndex']-_0x2cb4a0[_0x3aafca(0x206)]))??[];for(let _0x85ba04 of _0x10a61d)_0x4c7663(_0x150fd7,_0x85ba04[_0x3aafca(0x25e)],_0x1c9fee['get'](_0x85ba04[_0x3aafca(0x25e)])??'');return _0x150fd7;}function _0xac054f(_0x2e6d9f){const _0x1e6414=_0x4955bb;var _0x328d16;return(_0x2e6d9f==null?void 0x0:_0x2e6d9f[_0x1e6414(0x23b)])===_0xa600dd['CustomRangeType'][_0x1e6414(0x27e)]&&_0x2e6d9f[_0x1e6414(0x202)]===!0x0&&((_0x328d16=_0x2e6d9f[_0x1e6414(0x16b)])==null?void 0x0:_0x328d16[_0x1e6414(0x145)])===_0x1e6414(0x149);}function _0x274b50(_0x4109ae,_0x2b3427){const _0x5c1f8d=_0x4955bb;var _0x5a682c;return _0x4109ae==null||(_0x5a682c=_0x4109ae['customRanges'])==null?void 0x0:_0x5a682c[_0x5c1f8d(0x20e)](_0x5026c3=>_0x5026c3['rangeId']===_0x2b3427&&_0xac054f(_0x5026c3));}function _0x1461cd(_0xfe03f6,_0x599fe2,_0x1c9f70){const _0x3fee2b=_0x4955bb;if(_0x599fe2===_0x1c9f70){if(_0x2e917f[_0x3fee2b(0x150)](_0xfe03f6[_0x3fee2b(0x201)][_0x599fe2]))throw new _0x341a6d();}else{for(let _0x4afd88=_0x599fe2;_0x4afd88<_0x1c9f70;_0x4afd88++)if(_0xfe03f6[_0x3fee2b(0x201)][_0x4afd88]===_0xa600dd[_0x3fee2b(0x1cd)][_0x3fee2b(0x272)]||_0x2e917f[_0x3fee2b(0x150)](_0xfe03f6['dataStream'][_0x4afd88]))throw new _0x341a6d();}}function _0x1752d8(_0x103352,_0x1f4307){const _0x8daebc=_0x4955bb;return{'startIndex':_0x1f4307,'endIndex':_0x1f4307,'rangeId':_0x103352,'rangeType':_0xa600dd[_0x8daebc(0x17f)][_0x8daebc(0x27e)],'wholeEntity':!0x0,'properties':{'kind':_0x2846a2}};}function _0x58d91a(_0x3bea11){const _0xfce4fc=_0x4955bb;return _0x3bea11?_0xa600dd[_0xfce4fc(0x24a)][_0xfce4fc(0x261)](_0x3bea11):_0x3eac7f();}function _0xca18fe(_0x240125,_0x2bdd4a,_0x39b6cc){const _0x3436b7=_0x4955bb;let _0x2dac23=_0x4d3ace(_0x240125),_0x13a30f=_0x2bdd4a??_0x2dac23,_0x2eb8cd=_0x39b6cc??_0x13a30f;return{'startOffset':_0x553cbb(Math['min'](_0x13a30f,_0x2eb8cd),_0x2dac23),'endOffset':_0x553cbb(Math[_0x3436b7(0x198)](_0x13a30f,_0x2eb8cd),_0x2dac23)};}function _0x553cbb(_0x5be1d6,_0x2ccf2a){return Math['max'](0x0,Math['min'](_0x5be1d6,_0x2ccf2a));}function _0x4d3ace(_0x57bf75){const _0x3ec672=_0x4955bb;return _0x57bf75[_0x3ec672(0x201)]['endsWith'](''+_0xa600dd[_0x3ec672(0x1cd)][_0x3ec672(0x272)]+_0xa600dd['DataStreamTreeTokenType'][_0x3ec672(0x278)])?Math[_0x3ec672(0x198)](0x0,_0x57bf75[_0x3ec672(0x201)][_0x3ec672(0x133)]-0x2):_0x57bf75[_0x3ec672(0x201)][_0x3ec672(0x1a3)](_0xa600dd[_0x3ec672(0x1cd)][_0x3ec672(0x278)])?Math['max'](0x0,_0x57bf75['dataStream']['length']-0x1):_0x57bf75['dataStream'][_0x3ec672(0x133)];}function _0xa92fb5(_0x118fd5,_0x10fae4,_0x373d4c,_0x276a70){_0x373d4c>_0x10fae4&&_0x1ed35f(_0x118fd5,_0x10fae4,_0x373d4c),_0x32d34f(_0x118fd5,_0x10fae4,_0x276a70);}function _0x4c7663(_0x182092,_0x55864f,_0x527869){const _0x400bf9=_0x4955bb;var _0x65e97a,_0x2f05e7;let _0x486a84=_0x134976(_0x182092),_0x5e0113=(_0x65e97a=_0x486a84['customRanges'])==null?void 0x0:_0x65e97a[_0x400bf9(0x20e)](_0x389cbc=>_0x389cbc['rangeId']===_0x55864f&&_0xac054f(_0x389cbc));if(!_0x5e0113)return null;let _0x4f6661=(0x0,_0xa600dd[_0x400bf9(0x231)])(_0x5e0113);return _0xa92fb5(_0x486a84,_0x4f6661[_0x400bf9(0x1dc)],_0x4f6661['endOffset'],_0x527869),_0x486a84[_0x400bf9(0x164)]=(_0x2f05e7=_0x486a84[_0x400bf9(0x164)])==null?void 0x0:_0x2f05e7['filter'](_0x49ab7a=>_0x49ab7a[_0x400bf9(0x25e)]!==_0x55864f),_0x4f6661[_0x400bf9(0x1dc)]+_0x527869[_0x400bf9(0x133)];}function _0x32d34f(_0x53392d,_0x15d38b,_0x16574f){const _0x3eec94=_0x4955bb;_0x16574f&&(_0x53392d[_0x3eec94(0x201)]=''+_0x53392d[_0x3eec94(0x201)][_0x3eec94(0x19c)](0x0,_0x15d38b)+_0x16574f+_0x53392d[_0x3eec94(0x201)]['slice'](_0x15d38b),_0xc28b98(_0x53392d,_0x15d38b,_0x16574f[_0x3eec94(0x133)]));}function _0x1ed35f(_0x1b4d99,_0x4b1116,_0x3e86a9){const _0x5a6c6e=_0x4955bb;let _0x32f4ce=_0x3e86a9-_0x4b1116;_0x1b4d99[_0x5a6c6e(0x201)]=''+_0x1b4d99[_0x5a6c6e(0x201)][_0x5a6c6e(0x19c)](0x0,_0x4b1116)+_0x1b4d99[_0x5a6c6e(0x201)][_0x5a6c6e(0x19c)](_0x3e86a9),_0x272608(_0x1b4d99,_0x4b1116,_0x32f4ce);}function _0xc28b98(_0x59f817,_0x3b3338,_0x1e8f72){const _0x4eb279=_0x4955bb;_0x59f817[_0x4eb279(0x250)]=_0xc4b940(_0x59f817[_0x4eb279(0x250)],_0x3b3338,_0x1e8f72),_0x59f817[_0x4eb279(0x192)]=_0xc4b940(_0x59f817[_0x4eb279(0x192)],_0x3b3338,_0x1e8f72),_0x59f817['customBlocks']=_0xc4b940(_0x59f817[_0x4eb279(0x147)],_0x3b3338,_0x1e8f72),_0x59f817['textRuns']=_0x2478c8(_0x59f817[_0x4eb279(0x17a)],_0x3b3338,_0x1e8f72),_0x59f817[_0x4eb279(0x18d)]=_0x31982a(_0x59f817['tables'],_0x3b3338,_0x1e8f72),_0x59f817['columnGroups']=_0x4c8946(_0x59f817['columnGroups'],_0x3b3338,_0x1e8f72),_0x59f817[_0x4eb279(0x164)]=_0x4c8946(_0x59f817[_0x4eb279(0x164)],_0x3b3338,_0x1e8f72),_0x59f817[_0x4eb279(0x25a)]=_0x4c8946(_0x59f817[_0x4eb279(0x25a)],_0x3b3338,_0x1e8f72),_0x59f817['blockRanges']=_0x4c8946(_0x59f817[_0x4eb279(0x273)],_0x3b3338,_0x1e8f72);}function _0x272608(_0x5f2345,_0x54b556,_0x486db7){const _0x28aefe=_0x4955bb;var _0x54f0d8,_0x21d86f;_0x5f2345['paragraphs']=_0x46267f(_0x5f2345[_0x28aefe(0x250)],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x192)]=_0x46267f(_0x5f2345[_0x28aefe(0x192)],_0x54b556,_0x486db7),_0x5f2345['customBlocks']=_0x46267f(_0x5f2345[_0x28aefe(0x147)],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x17a)]=(_0x54f0d8=_0x51c81b((_0x21d86f=_0x5f2345['textRuns'])==null?void 0x0:_0x21d86f['map'](_0x58b91b=>({..._0x58b91b,'startIndex':_0x58b91b['st'],'endIndex':_0x58b91b['ed']})),_0x54b556,_0x486db7))==null?void 0x0:_0x54f0d8[_0x28aefe(0x139)](_0x1a8c7f=>{let {startIndex:_0xb08dfe,endIndex:_0x3556fa,..._0x4ad3da}=_0x1a8c7f;return{..._0x4ad3da,'st':_0xb08dfe,'ed':_0x3556fa};}),_0x5f2345[_0x28aefe(0x18d)]=_0x51c81b(_0x5f2345['tables'],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x178)]=_0x3e120f(_0x5f2345[_0x28aefe(0x178)],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x164)]=_0x3e120f(_0x5f2345['customRanges'],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x25a)]=_0x3e120f(_0x5f2345[_0x28aefe(0x25a)],_0x54b556,_0x486db7),_0x5f2345[_0x28aefe(0x273)]=_0x3e120f(_0x5f2345[_0x28aefe(0x273)],_0x54b556,_0x486db7);}function _0xc4b940(_0x3f63b2,_0x2c652e,_0x937085){const _0x2300ee=_0x4955bb;return _0x3f63b2==null?void 0x0:_0x3f63b2[_0x2300ee(0x139)](_0x1db6ca=>_0x1db6ca['startIndex']>=_0x2c652e?{..._0x1db6ca,'startIndex':_0x1db6ca[_0x2300ee(0x206)]+_0x937085}:_0x1db6ca);}function _0x46267f(_0x288694,_0x198ced,_0x3da02c){const _0xb22630=_0x4955bb;let _0xae0f=_0x198ced+_0x3da02c;return _0x288694==null?void 0x0:_0x288694[_0xb22630(0x139)](_0x5760cd=>_0x5760cd[_0xb22630(0x206)]>=_0x198ced&&_0x5760cd['startIndex']<_0xae0f?null:_0x5760cd[_0xb22630(0x206)]>=_0xae0f?{..._0x5760cd,'startIndex':_0x5760cd[_0xb22630(0x206)]-_0x3da02c}:_0x5760cd)['filter'](_0x3de2b2=>_0x3de2b2!=null);}function _0x2478c8(_0x16de63,_0x415fba,_0x275def){const _0x41f9f8=_0x4955bb;return _0x16de63==null?void 0x0:_0x16de63[_0x41f9f8(0x139)](_0x5577b5=>_0x5577b5['st']>=_0x415fba?{..._0x5577b5,'st':_0x5577b5['st']+_0x275def,'ed':_0x5577b5['ed']+_0x275def}:_0x5577b5['ed']>_0x415fba?{..._0x5577b5,'ed':_0x5577b5['ed']+_0x275def}:_0x5577b5);}function _0x4c8946(_0x384a7e,_0x161e0e,_0x3d575f){const _0x525580=_0x4955bb;return _0x384a7e==null?void 0x0:_0x384a7e[_0x525580(0x139)](_0x15f92d=>(0x0,_0xa600dd[_0x525580(0x19b)])(_0x15f92d,_0x161e0e,_0x3d575f));}function _0x31982a(_0xea9a10,_0x263d09,_0x19eaa8){const _0x490ab=_0x4955bb;return _0xea9a10==null?void 0x0:_0xea9a10[_0x490ab(0x139)](_0x209d2e=>(0x0,_0xa600dd['shiftExclusiveRangeOnInsert'])(_0x209d2e,_0x263d09,_0x19eaa8));}function _0x3e120f(_0x11139a,_0x4b3789,_0x536b5c){const _0x26ec9c=_0x4955bb;return _0x11139a==null?void 0x0:_0x11139a[_0x26ec9c(0x139)](_0x4d76ab=>(0x0,_0xa600dd[_0x26ec9c(0x1fb)])(_0x4d76ab,_0x4b3789,_0x536b5c))[_0x26ec9c(0x17c)](_0x4d7f82=>_0x4d7f82!=null);}function _0x51c81b(_0x1a2075,_0x37ae21,_0x48a555){const _0x2c2083=_0x4955bb;return _0x1a2075==null?void 0x0:_0x1a2075[_0x2c2083(0x139)](_0xd6b841=>(0x0,_0xa600dd[_0x2c2083(0x1fa)])(_0xd6b841,_0x37ae21,_0x48a555))[_0x2c2083(0x17c)](_0x4248a6=>_0x4248a6!=null);}function _0x134976(_0x5c9176){const _0x373a66=_0x4955bb;if(!_0x5c9176[_0x373a66(0x1e9)])throw Error(_0x373a66(0x1d5));return _0x5c9176['body'];}function _0x5b9600(_0x4d090d){'@babel/helpers - typeof';const _0x383682=_0x4955bb;return _0x5b9600=typeof Symbol=='function'&&typeof Symbol[_0x383682(0x13f)]=='symbol'?function(_0x42d22e){return typeof _0x42d22e;}:function(_0x3eeac0){const _0x3eaaf6=_0x383682;return _0x3eeac0&&typeof Symbol=='function'&&_0x3eeac0[_0x3eaaf6(0x20c)]===Symbol&&_0x3eeac0!==Symbol[_0x3eaaf6(0x233)]?_0x3eaaf6(0x19f):typeof _0x3eeac0;},_0x5b9600(_0x4d090d);}function _0x55e20e(_0x215d03,_0x55c3f2){const _0x929dc6=_0x4955bb;if(_0x5b9600(_0x215d03)!=_0x929dc6(0x148)||!_0x215d03)return _0x215d03;var _0x4eab18=_0x215d03[Symbol[_0x929dc6(0x260)]];if(_0x4eab18!==void 0x0){var _0x4884df=_0x4eab18['call'](_0x215d03,_0x55c3f2||_0x929dc6(0x1a8));if(_0x5b9600(_0x4884df)!=_0x929dc6(0x148))return _0x4884df;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x55c3f2===_0x929dc6(0x26d)?String:Number)(_0x215d03);}function _0x3ec881(_0x3be2bd){var _0x4822a5=_0x55e20e(_0x3be2bd,'string');return _0x5b9600(_0x4822a5)=='symbol'?_0x4822a5:_0x4822a5+'';}function _0x2567b3(_0x5e4de5,_0x31938e,_0x563d16){const _0x63ad7=_0x4955bb;return(_0x31938e=_0x3ec881(_0x31938e))in _0x5e4de5?Object[_0x63ad7(0x22a)](_0x5e4de5,_0x31938e,{'value':_0x563d16,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5e4de5[_0x31938e]=_0x563d16,_0x5e4de5;}var _0x5e0b6b=class extends _0xa600dd[_0x4955bb(0x1a1)]{constructor(..._0x5e4528){const _0x2ed1f0=_0x4955bb;super(..._0x5e4528),_0x2567b3(this,_0x2ed1f0(0x1d1),new Map()),_0x2567b3(this,_0x2ed1f0(0x1e7),new Map()),_0x2567b3(this,_0x2ed1f0(0x253),new Map()),_0x2567b3(this,_0x2ed1f0(0x234),new _0x4127ab[(_0x2ed1f0(0x254))]()),_0x2567b3(this,_0x2ed1f0(0x20d),this[_0x2ed1f0(0x234)][_0x2ed1f0(0x1b7)]());}['getFormula'](_0x4e1a41,_0x471782){const _0x502f71=_0x4955bb;var _0x927426;let _0x57b1d7=(_0x927426=this['_resources'][_0x502f71(0x1b3)](_0x4e1a41))==null?void 0x0:_0x927426[_0x502f71(0x262)][_0x471782];return _0x57b1d7?_0xa600dd['Tools']['deepClone'](_0x57b1d7):void 0x0;}[_0x4955bb(0x16e)](_0x4e266a){const _0x1386eb=_0x4955bb;var _0x263532;return _0xa600dd[_0x1386eb(0x24a)][_0x1386eb(0x261)](((_0x263532=this['_resources'][_0x1386eb(0x1b3)](_0x4e266a))==null?void 0x0:_0x263532[_0x1386eb(0x262)])??{});}[_0x4955bb(0x1ce)](_0x499d3d){const _0x478e08=_0x4955bb;let _0x14d70d=this['_resources'][_0x478e08(0x1b3)](_0x499d3d);return _0x14d70d?_0xa600dd[_0x478e08(0x24a)]['deepClone'](_0x14d70d):void 0x0;}['setFormula'](_0x1a31a3,_0x5c7150,_0x2ff601){const _0x3183c3=_0x4955bb;return this[_0x3183c3(0x26c)](_0x1a31a3,{[_0x5c7150]:_0x2ff601});}['setResource'](_0x2c899c,_0x4bc741){const _0x487203=_0x4955bb;return this['_loadErrors'][_0x487203(0x150)](_0x2c899c)||!_0x5010f7(_0x4bc741)?!0x1:(this[_0x487203(0x1d1)]['set'](_0x2c899c,_0xa600dd[_0x487203(0x24a)][_0x487203(0x261)](_0x4bc741)),this['_change$'][_0x487203(0x1b9)]({'unitId':_0x2c899c}),!0x0);}[_0x4955bb(0x26c)](_0xfc7ed0,_0x34ca45){const _0x287680=_0x4955bb;if(this[_0x287680(0x253)][_0x287680(0x150)](_0xfc7ed0)||!Object['keys'](_0x34ca45)[_0x287680(0x133)]||!_0x5010f7({'schemaVersion':0x1,'formulas':_0x34ca45}))return!0x1;let _0x1e1ff4=this['_resources'][_0x287680(0x1b3)](_0xfc7ed0)??_0x3eac7f(),_0x4f4a89=_0xa600dd['Tools']['deepClone'](_0x1e1ff4);return Object[_0x287680(0x1b0)](_0x4f4a89['formulas'],_0xa600dd['Tools']['deepClone'](_0x34ca45)),this[_0x287680(0x1d1)]['set'](_0xfc7ed0,_0x4f4a89),this[_0x287680(0x234)]['next']({'unitId':_0xfc7ed0,'rangeIds':Object['keys'](_0x34ca45)}),!0x0;}[_0x4955bb(0x1d7)](_0x28f20a,_0x4d8cd0){const _0x2c0cd3=_0x4955bb;if(this[_0x2c0cd3(0x253)][_0x2c0cd3(0x150)](_0x28f20a))return!0x1;let _0x223711=this[_0x2c0cd3(0x1d1)][_0x2c0cd3(0x1b3)](_0x28f20a);if(!(_0x223711!=null&&_0x223711[_0x2c0cd3(0x262)][_0x4d8cd0]))return!0x1;let _0x2702b2=_0xa600dd[_0x2c0cd3(0x24a)][_0x2c0cd3(0x261)](_0x223711);return delete _0x2702b2[_0x2c0cd3(0x262)][_0x4d8cd0],this[_0x2c0cd3(0x1d1)][_0x2c0cd3(0x1c2)](_0x28f20a,_0x2702b2),this[_0x2c0cd3(0x234)][_0x2c0cd3(0x1b9)]({'unitId':_0x28f20a,'rangeIds':[_0x4d8cd0]}),!0x0;}[_0x4955bb(0x209)](_0x904fe5,_0x1a7b0e){const _0x274105=_0x4955bb;return _0x1a7b0e&&typeof _0x1a7b0e==_0x274105(0x148)&&_0x274105(0x154)in _0x1a7b0e&&_0x1a7b0e[_0x274105(0x154)]!==0x1?(this[_0x274105(0x1b5)](_0x904fe5,_0x1a7b0e,'unsupported-version'),!0x1):_0x5010f7(_0x1a7b0e)?(this[_0x274105(0x1d1)]['set'](_0x904fe5,_0xa600dd['Tools']['deepClone'](_0x1a7b0e)),this['_rawResources'][_0x274105(0x176)](_0x904fe5),this[_0x274105(0x253)][_0x274105(0x176)](_0x904fe5),this[_0x274105(0x234)][_0x274105(0x1b9)]({'unitId':_0x904fe5}),!0x0):(this[_0x274105(0x1b5)](_0x904fe5,_0x1a7b0e,_0x274105(0x1bf)),!0x1);}[_0x4955bb(0x182)](_0x35f271){const _0x3f1a45=_0x4955bb;let _0x5f54ea=this[_0x3f1a45(0x1d1)][_0x3f1a45(0x1b3)](_0x35f271);return _0x5f54ea?_0xa600dd['Tools'][_0x3f1a45(0x261)](_0x5f54ea):this['_rawResources'][_0x3f1a45(0x150)](_0x35f271)?_0xa600dd[_0x3f1a45(0x24a)][_0x3f1a45(0x261)](this[_0x3f1a45(0x1e7)][_0x3f1a45(0x1b3)](_0x35f271)):_0x3eac7f();}[_0x4955bb(0x1c9)](_0x3bed18){const _0x1e0c0c=_0x4955bb;return this[_0x1e0c0c(0x253)][_0x1e0c0c(0x1b3)](_0x3bed18);}[_0x4955bb(0x1fe)](_0x2351fe){const _0x95686=_0x4955bb;this[_0x95686(0x1d1)][_0x95686(0x176)](_0x2351fe),this[_0x95686(0x1e7)][_0x95686(0x176)](_0x2351fe),this['_loadErrors'][_0x95686(0x176)](_0x2351fe),this[_0x95686(0x234)]['next']({'unitId':_0x2351fe});}[_0x4955bb(0x23a)](){const _0x444dcc=_0x4955bb;this[_0x444dcc(0x1d1)][_0x444dcc(0x161)](),this['_rawResources'][_0x444dcc(0x161)](),this[_0x444dcc(0x253)]['clear'](),this['_change$'][_0x444dcc(0x1e0)](),super[_0x444dcc(0x23a)]();}['_preserveInvalid'](_0x1c1bc9,_0x666209,_0x4fdd18){const _0x348406=_0x4955bb;this['_resources']['delete'](_0x1c1bc9),this[_0x348406(0x1e7)]['set'](_0x1c1bc9,_0xa600dd[_0x348406(0x24a)][_0x348406(0x261)](_0x666209)),this['_loadErrors'][_0x348406(0x1c2)](_0x1c1bc9,_0x4fdd18),this['_change$'][_0x348406(0x1b9)]({'unitId':_0x1c1bc9});}};let _0xb37966=function(_0x469120){const _0x5711f4=_0x4955bb;return _0x469120[_0x5711f4(0x19a)]=_0x5711f4(0x259),_0x469120['PENDING']=_0x5711f4(0x14c),_0x469120[_0x5711f4(0x20f)]=_0x5711f4(0x1c8),_0x469120[_0x5711f4(0x184)]='error',_0x469120;}({});function _0x43cc7d(_0x2628f4,_0x232a8e){return function(_0x5f1df5,_0x5ee284){_0x232a8e(_0x5f1df5,_0x5ee284,_0x2628f4);};}function _0x349b98(_0x27255b,_0x4fa7b2,_0x4a29f9,_0x4301fe){const _0x1d9426=_0x4955bb;var _0x212fbc=arguments[_0x1d9426(0x133)],_0xffe682=_0x212fbc<0x3?_0x4fa7b2:_0x4301fe===null?_0x4301fe=Object['getOwnPropertyDescriptor'](_0x4fa7b2,_0x4a29f9):_0x4301fe,_0x1abfe8;if(typeof Reflect=='object'&&typeof Reflect[_0x1d9426(0x1a9)]=='function')_0xffe682=Reflect[_0x1d9426(0x1a9)](_0x27255b,_0x4fa7b2,_0x4a29f9,_0x4301fe);else{for(var _0x306723=_0x27255b[_0x1d9426(0x133)]-0x1;_0x306723>=0x0;_0x306723--)(_0x1abfe8=_0x27255b[_0x306723])&&(_0xffe682=(_0x212fbc<0x3?_0x1abfe8(_0xffe682):_0x212fbc>0x3?_0x1abfe8(_0x4fa7b2,_0x4a29f9,_0xffe682):_0x1abfe8(_0x4fa7b2,_0x4a29f9))||_0xffe682);}return _0x212fbc>0x3&&_0xffe682&&Object[_0x1d9426(0x22a)](_0x4fa7b2,_0x4a29f9,_0xffe682),_0xffe682;}let _0x4738b9=class extends _0xa600dd[_0x4955bb(0x1a1)]{constructor(_0x1adae7,_0x149727,_0x57acae){const _0x54cbff=_0x4955bb;super(),this[_0x54cbff(0x18b)]=_0x1adae7,this[_0x54cbff(0x1c4)]=_0x149727,this['_hostExternalReferenceModel']=_0x57acae,_0x2567b3(this,_0x54cbff(0x1a2),new Map()),_0x2567b3(this,_0x54cbff(0x189),new Map()),_0x2567b3(this,'_presentationChanged$',new _0x4127ab[(_0x54cbff(0x254))]()),_0x2567b3(this,_0x54cbff(0x1d9),this[_0x54cbff(0x1cc)]['asObservable']()),this[_0x54cbff(0x13e)](this[_0x54cbff(0x1c4)][_0x54cbff(0x1bc)][_0x54cbff(0x1e5)](_0x446679=>{const _0x267741=_0x54cbff;for(let _0x15de43 of Object[_0x267741(0x155)](_0x446679))for(let _0x3cbc5f of Object[_0x267741(0x155)](_0x15de43))_0x3cbc5f[_0x267741(0x1c1)](_0x2c2f59=>this['_updateFormulaResult'](_0x2c2f59));}));}[_0x4955bb(0x1b6)](_0x50ae5d){const _0xe6687a=_0x4955bb;var _0x480650;let _0x22ffe7=_0x50ae5d[_0xe6687a(0x242)](),_0x229fb8=((_0x480650=_0x50ae5d['getSnapshot']()[_0xe6687a(0x1e9)])==null||(_0x480650=_0x480650[_0xe6687a(0x164)])==null?void 0x0:_0x480650[_0xe6687a(0x17c)](_0xac054f))??[],_0x333723=this['_model']['getFormulas'](_0x22ffe7),_0x23f952=new Set();for(let _0x5e47b6 of _0x229fb8){let _0x1d9f45=_0x333723[_0x5e47b6['rangeId']];_0x1d9f45&&(_0x23f952[_0xe6687a(0x24f)](_0x41ac89(_0x22ffe7,_0x5e47b6[_0xe6687a(0x25e)])),this[_0xe6687a(0x160)]({'unitId':_0x22ffe7,'rangeId':_0x5e47b6['rangeId']},_0x1d9f45));}for(let _0x7377a3 of Array[_0xe6687a(0x1ba)](this[_0xe6687a(0x1a2)][_0xe6687a(0x155)]()))_0x7377a3['unitId']===_0x22ffe7&&!_0x23f952['has'](_0x41ac89(_0x7377a3[_0xe6687a(0x257)],_0x7377a3[_0xe6687a(0x25e)]))&&this[_0xe6687a(0x215)](_0x7377a3);}[_0x4955bb(0x160)](_0x24a02c,_0x54fb8a){const _0x30ee29=_0x4955bb;let _0x10a34f=_0x41ac89(_0x24a02c[_0x30ee29(0x257)],_0x24a02c[_0x30ee29(0x25e)]),_0x4f43b3=this['_registrations'][_0x30ee29(0x1b3)](_0x10a34f),_0xd56e01=this['_hostExternalReferenceModel'][_0x30ee29(0x1ea)](_0x24a02c['unitId']);if(_0x4f43b3&&_0x4f43b3[_0x30ee29(0x15e)][_0x30ee29(0x1f6)]===_0x54fb8a[_0x30ee29(0x1f6)]&&_0x4f43b3['referenceRevision']===_0xd56e01){_0x4f43b3[_0x30ee29(0x15e)]=_0x54fb8a;let _0x298d3d=_0x4f43b3[_0x30ee29(0x152)]?this[_0x30ee29(0x1c4)][_0x30ee29(0x15c)](_0x4f43b3['unitId'],_0x4f43b3['unitId'],_0x4f43b3[_0x30ee29(0x152)])??void 0x0:void 0x0;_0x4f43b3[_0x30ee29(0x14a)]=_0x298d3d,this[_0x30ee29(0x14f)](_0x10a34f,_0x1fcc08(_0x54fb8a,_0x298d3d));return;}_0x4f43b3!=null&&_0x4f43b3['formulaId']&&this[_0x30ee29(0x19d)](_0x4f43b3);let _0xbab168={..._0x24a02c,'config':_0x54fb8a,'referenceRevision':_0xd56e01,'presentation':_0x1fcc08(_0x54fb8a,void 0x0)};if(this['_registrations'][_0x30ee29(0x1c2)](_0x10a34f,_0xbab168),!_0x54fb8a[_0x30ee29(0x1f6)]['trim']())return;let _0x96cf7b=this[_0x30ee29(0x1c4)][_0x30ee29(0x13b)](_0x24a02c['unitId'],_0x24a02c[_0x30ee29(0x257)],_0x54fb8a['formula'],void 0x0,{'rangeId':_0x24a02c['rangeId']},_0x5430b4[_0x30ee29(0x270)][_0x30ee29(0x252)],_0x24a02c[_0x30ee29(0x25e)]);_0xbab168[_0x30ee29(0x152)]=_0x96cf7b,this['_formulaKeys'][_0x30ee29(0x1c2)](_0x96cf7b,_0x10a34f);}['unregister'](_0x3bf8d9){const _0x3e0a7b=_0x4955bb;let _0x4fc0af=_0x41ac89(_0x3bf8d9['unitId'],_0x3bf8d9[_0x3e0a7b(0x25e)]),_0x4ca271=this[_0x3e0a7b(0x1a2)][_0x3e0a7b(0x1b3)](_0x4fc0af);_0x4ca271&&(this[_0x3e0a7b(0x19d)](_0x4ca271),this[_0x3e0a7b(0x1a2)][_0x3e0a7b(0x176)](_0x4fc0af));}[_0x4955bb(0x251)](_0x16b010){const _0x11b8ab=_0x4955bb;for(let _0x245d5b of Array['from'](this['_registrations']['values']()))_0x245d5b[_0x11b8ab(0x257)]===_0x16b010&&this[_0x11b8ab(0x215)](_0x245d5b);}[_0x4955bb(0x179)](_0xec776f){const _0xe19292=_0x4955bb;var _0xe4b013;return(_0xe4b013=this[_0xe19292(0x1a2)][_0xe19292(0x1b3)](_0x41ac89(_0xec776f['unitId'],_0xec776f[_0xe19292(0x25e)])))==null?void 0x0:_0xe4b013['presentation'];}['getResult'](_0x35cd11){const _0x432e19=_0x4955bb;let _0xf71329=this[_0x432e19(0x1a2)][_0x432e19(0x1b3)](_0x41ac89(_0x35cd11[_0x432e19(0x257)],_0x35cd11[_0x432e19(0x25e)]));return _0xf71329?_0x3840ab(_0xf71329):void 0x0;}[_0x4955bb(0x20b)](){const _0x3aa601=_0x4955bb;return Array['from'](this[_0x3aa601(0x1a2)][_0x3aa601(0x155)](),_0x59ab8a=>({'identity':{'unitId':_0x59ab8a[_0x3aa601(0x257)],'rangeId':_0x59ab8a[_0x3aa601(0x25e)]},'config':_0x59ab8a[_0x3aa601(0x15e)],'referenceRevision':_0x59ab8a[_0x3aa601(0x1ec)],..._0x59ab8a[_0x3aa601(0x14a)]?{'liveResult':_0x59ab8a['liveResult']}:null}));}[_0x4955bb(0x23a)](){const _0x317ac5=_0x4955bb;for(let _0x2cc99a of this['_registrations'][_0x317ac5(0x155)]())this[_0x317ac5(0x19d)](_0x2cc99a);this['_registrations'][_0x317ac5(0x161)](),this[_0x317ac5(0x189)][_0x317ac5(0x161)](),this[_0x317ac5(0x1cc)][_0x317ac5(0x1e0)](),super['dispose']();}[_0x4955bb(0x19e)](_0x22d164){const _0x10adc0=_0x4955bb;let _0x9277a=this['_formulaKeys'][_0x10adc0(0x1b3)](_0x22d164['formulaId']),_0x3105b7=_0x9277a?this[_0x10adc0(0x1a2)][_0x10adc0(0x1b3)](_0x9277a):void 0x0;_0x9277a&&_0x3105b7&&(_0x3105b7[_0x10adc0(0x14a)]=_0x22d164,this[_0x10adc0(0x14f)](_0x9277a,_0x1fcc08(_0x3105b7['config'],_0x22d164)));}[_0x4955bb(0x14f)](_0x51dfa9,_0xdd1cff){const _0xa5c3c9=_0x4955bb;var _0x4b618e,_0x6c21ae;let _0x24d7ac=this['_registrations'][_0xa5c3c9(0x1b3)](_0x51dfa9);if(!_0x24d7ac||_0x412413(_0x24d7ac['presentation'],_0xdd1cff))return;let _0x5c5fd1=_0x24d7ac[_0xa5c3c9(0x279)],_0x3047a5=_0x3840ab(_0x24d7ac);_0x24d7ac[_0xa5c3c9(0x279)]=_0xdd1cff,this[_0xa5c3c9(0x1cc)][_0xa5c3c9(0x1b9)]({'unitId':_0x24d7ac[_0xa5c3c9(0x257)],'rangeId':_0x24d7ac[_0xa5c3c9(0x25e)],'presentation':_0xdd1cff,'previousPresentation':_0x5c5fd1,'result':_0x3840ab(_0x24d7ac),'previousResult':{..._0x3047a5,..._0x5c5fd1,'value':(_0x4b618e=_0x5c5fd1['cell'])==null?void 0x0:_0x4b618e['v'],'valueType':((_0x6c21ae=_0x5c5fd1['cell'])==null?void 0x0:_0x6c21ae['t'])??void 0x0}});}[_0x4955bb(0x19d)](_0x4e8f36){const _0x14420a=_0x4955bb;_0x4e8f36[_0x14420a(0x152)]&&(this['_registrationService'][_0x14420a(0x169)](_0x4e8f36['unitId'],_0x4e8f36[_0x14420a(0x257)],[_0x4e8f36[_0x14420a(0x152)]]),this[_0x14420a(0x189)][_0x14420a(0x176)](_0x4e8f36['formulaId']));}};_0x4738b9=_0x349b98([_0x43cc7d(0x0,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x5e0b6b)),_0x43cc7d(0x1,(0x0,_0xa600dd['Inject'])(_0x5430b4['RegisterOtherFormulaService'])),_0x43cc7d(0x2,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x219b45['HostExternalReferenceModel']))],_0x4738b9);function _0x41ac89(_0x40a49a,_0x4342cf){return _0x40a49a+'\x00'+_0x4342cf;}function _0x1fcc08(_0x482de4,_0x2a3656){return(0x0,_0x219b45['resolveFormulaResultPresentation'])({'numberFormat':_0x482de4['numberFormat'],'lastValue':_0x482de4['lastValue'],'result':_0x2a3656});}function _0x3840ab(_0x3e87f9){const _0x1ae4cb=_0x4955bb;var _0x561b76,_0x56e53b,_0x358a67;let _0x17d110=_0x3e87f9[_0x1ae4cb(0x279)],_0x1354f3=_0x3e87f9[_0x1ae4cb(0x15e)]['formula'][_0x1ae4cb(0x230)]()?_0x17d110['stale']||_0x17d110[_0x1ae4cb(0x13c)]==null?_0x1ae4cb(0x14c):((_0x561b76=_0x3e87f9['liveResult'])==null?void 0x0:_0x561b76[_0x1ae4cb(0x1f5)])===_0x5430b4[_0x1ae4cb(0x1e3)][_0x1ae4cb(0x184)]?_0x1ae4cb(0x17b):_0x1ae4cb(0x1c8):'empty';return{..._0x17d110,'status':_0x1354f3,'value':(_0x56e53b=_0x17d110[_0x1ae4cb(0x13c)])==null?void 0x0:_0x56e53b['v'],'valueType':((_0x358a67=_0x17d110[_0x1ae4cb(0x13c)])==null?void 0x0:_0x358a67['t'])??void 0x0};}function _0x412413(_0x128933,_0xbc6ef5){const _0x2942c4=_0x4955bb;var _0x21e6b7,_0x3e95b2,_0x2627b4,_0x527524;return _0x128933['text']===_0xbc6ef5[_0x2942c4(0x256)]&&_0x128933[_0x2942c4(0x200)]===_0xbc6ef5[_0x2942c4(0x200)]&&_0x128933[_0x2942c4(0x1f9)]===_0xbc6ef5[_0x2942c4(0x1f9)]&&_0x128933[_0x2942c4(0x144)]===_0xbc6ef5[_0x2942c4(0x144)]&&_0x128933[_0x2942c4(0x187)]===_0xbc6ef5[_0x2942c4(0x187)]&&((_0x21e6b7=_0x128933[_0x2942c4(0x13c)])==null?void 0x0:_0x21e6b7['t'])===((_0x3e95b2=_0xbc6ef5[_0x2942c4(0x13c)])==null?void 0x0:_0x3e95b2['t'])&&Object['is']((_0x2627b4=_0x128933[_0x2942c4(0x13c)])==null?void 0x0:_0x2627b4['v'],(_0x527524=_0xbc6ef5[_0x2942c4(0x13c)])==null?void 0x0:_0x527524['v']);}let _0x2aab19={'id':_0x4955bb(0x181),'type':_0xa600dd[_0x4955bb(0x21b)]['MUTATION'],'handler':(_0x563715,_0x4bd2d3)=>!(_0x4bd2d3!=null&&_0x4bd2d3[_0x4955bb(0x257)])||!_0x4bd2d3[_0x4955bb(0x25e)]||!_0x4bd2d3[_0x4955bb(0x15e)]?!0x1:_0x563715[_0x4955bb(0x1b3)](_0x5e0b6b)[_0x4955bb(0x241)](_0x4bd2d3[_0x4955bb(0x257)],_0x4bd2d3[_0x4955bb(0x25e)],_0x4bd2d3[_0x4955bb(0x15e)])},_0x152f9d={'id':_0x4955bb(0x1c5),'type':_0xa600dd[_0x4955bb(0x21b)]['MUTATION'],'handler':(_0xcff1dc,_0x430b66)=>!(_0x430b66!=null&&_0x430b66['unitId'])||!_0x430b66[_0x4955bb(0x25e)]?!0x1:_0xcff1dc['get'](_0x5e0b6b)[_0x4955bb(0x1d7)](_0x430b66[_0x4955bb(0x257)],_0x430b66['rangeId'])},_0x386db0={'id':_0x4955bb(0x14d),'type':_0xa600dd['CommandType'][_0x4955bb(0x1ee)],'handler':(_0x172b4f,_0xc635a7)=>!(_0xc635a7!=null&&_0xc635a7[_0x4955bb(0x257)])||!_0xc635a7[_0x4955bb(0x1b1)]?!0x1:_0x172b4f[_0x4955bb(0x1b3)](_0x5e0b6b)['setResource'](_0xc635a7['unitId'],_0xc635a7[_0x4955bb(0x1b1)])},_0xd3745f={'id':'docs-formula.mutation.set-last-values','type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1ee)],'handler':(_0x401eed,_0x20c109)=>{const _0x1add98=_0x4955bb;if(!(_0x20c109!=null&&_0x20c109[_0x1add98(0x257)])||!_0x20c109[_0x1add98(0x168)]['length'])return!0x1;let _0x1150ba=_0x401eed[_0x1add98(0x1b3)](_0x5e0b6b),_0x2298bb=_0x401eed[_0x1add98(0x1b3)](_0x219b45['HostExternalReferenceModel']),_0x57f2d6=_0x1150ba['getResource'](_0x20c109['unitId']);if(!_0x57f2d6)return!0x1;let _0xc5a1a1=_0xa600dd['Tools']['deepClone'](_0x57f2d6),_0x2e448c=!0x1;for(let _0x16b44c of _0x20c109[_0x1add98(0x168)]){var _0x9b5a3e,_0x145c6e,_0x366edb,_0x295c25;let _0x593226=_0xc5a1a1[_0x1add98(0x262)][_0x16b44c['rangeId']];_0x593226&&_0x593226[_0x1add98(0x1f6)]===_0x16b44c[_0x1add98(0x216)]&&((_0x9b5a3e=_0x593226[_0x1add98(0x265)])==null?void 0x0:_0x9b5a3e[_0x1add98(0x1f9)])===_0x16b44c[_0x1add98(0x245)]&&_0x2298bb[_0x1add98(0x1ea)](_0x20c109['unitId'])===_0x16b44c[_0x1add98(0x13d)]&&(((_0x145c6e=_0x593226['lastValue'])==null?void 0x0:_0x145c6e['v'])!==_0x16b44c['lastValue']['v']||((_0x366edb=_0x593226[_0x1add98(0x16d)])==null?void 0x0:_0x366edb['t'])!==_0x16b44c[_0x1add98(0x16d)]['t']||((_0x295c25=_0x593226[_0x1add98(0x16d)])==null?void 0x0:_0x295c25[_0x1add98(0x1f9)])!==_0x16b44c[_0x1add98(0x16d)]['pattern'])&&(_0x593226[_0x1add98(0x16d)]=_0xa600dd[_0x1add98(0x24a)][_0x1add98(0x261)](_0x16b44c[_0x1add98(0x16d)]),_0x2e448c=!0x0);}return!_0x2e448c||_0x1150ba[_0x1add98(0x27c)](_0x20c109[_0x1add98(0x257)],_0xc5a1a1);}},_0x2ec352={'id':_0x4955bb(0x1bd),'type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1a4)],'handler':(_0x28605b,_0x50acaf)=>{const _0x4afea3=_0x4955bb;if(!(_0x50acaf!=null&&_0x50acaf[_0x4afea3(0x1f6)][_0x4afea3(0x230)]()))return!0x1;let _0x3813ff=_0x3fdd9b(_0x28605b,_0x50acaf[_0x4afea3(0x257)],'');if(!_0x3813ff)return!0x1;let _0x4ad77e=_0xb70f7e(_0x50acaf['target'],_0x3813ff['body'],_0x54e05c(_0x28605b,_0x3813ff[_0x4afea3(0x257)]));if(!_0x4ad77e)return!0x1;let _0x1d7287=_0x581a17(_0x28605b,_0x3813ff['unitId'],_0x50acaf[_0x4afea3(0x1f6)],_0x50acaf['externalReferences']??[]);if(!_0x1d7287)return!0x1;let _0x33c6a9=_0x101714(_0x3813ff[_0x4afea3(0x1e9)],_0x3813ff[_0x4afea3(0x23e)],_0x3813ff[_0x4afea3(0x257)]),_0x1684ef=_0x31fb2b({'documentData':_0x3813ff[_0x4afea3(0x188)],'resource':_0x3813ff[_0x4afea3(0x1b1)],'rangeId':_0x33c6a9,'config':{'formula':_0x50acaf[_0x4afea3(0x1f6)],..._0x50acaf[_0x4afea3(0x265)]?{'numberFormat':_0x50acaf[_0x4afea3(0x265)]}:null},'startOffset':_0x4ad77e['startOffset'],'endOffset':_0x4ad77e[_0x4afea3(0x131)]});if(!_0x1684ef)return!0x1;let _0x3051d4=(0x0,_0x219b45[_0x4afea3(0x22b)])(_0x28605b,_0x3813ff[_0x4afea3(0x257)],_0x1d7287);return!_0x3051d4||!_0x3ab3e2({'accessor':_0x28605b,'document':_0x3813ff['document'],'unitId':_0x3813ff[_0x4afea3(0x257)],'trigger':_0x2ec352['id'],'rangeId':_0x33c6a9,'previousResource':_0x3813ff[_0x4afea3(0x1b1)],'nextResource':_0x1684ef['nextResource'],'previousDocumentData':_0x3813ff['documentData'],'nextDocumentData':_0x1684ef[_0x4afea3(0x227)],'cursorOffset':_0x1684ef[_0x4afea3(0x194)],'externalMutations':_0x3051d4})?!0x1:{'rangeId':_0x33c6a9,'startOffset':_0x1684ef[_0x4afea3(0x194)]-0x1,'endOffset':_0x1684ef[_0x4afea3(0x194)]};}},_0x578b02={'id':_0x4955bb(0x137),'type':_0xa600dd['CommandType'][_0x4955bb(0x1a4)],'handler':(_0x598fb9,_0x3393e4)=>{const _0x16afa0=_0x4955bb;if(!(_0x3393e4!=null&&_0x3393e4[_0x16afa0(0x25e)])||!_0x3393e4[_0x16afa0(0x1f6)][_0x16afa0(0x230)]())return!0x1;let _0x287644=_0x3fdd9b(_0x598fb9,_0x3393e4['unitId'],''),_0x4eee81=_0x287644==null?void 0x0:_0x287644[_0x16afa0(0x23e)][_0x16afa0(0x213)](_0x287644['unitId'],_0x3393e4['rangeId']),_0x318877=_0x287644?_0x274b50(_0x287644[_0x16afa0(0x188)]['body'],_0x3393e4[_0x16afa0(0x25e)]):void 0x0;if(!_0x287644||!_0x4eee81||!_0x318877)return!0x1;let _0x40e635=_0x581a17(_0x598fb9,_0x287644['unitId'],_0x3393e4[_0x16afa0(0x1f6)],_0x3393e4[_0x16afa0(0x1e4)]??[]);if(!_0x40e635)return!0x1;let _0x89b212=(0x0,_0x219b45[_0x16afa0(0x22b)])(_0x598fb9,_0x287644[_0x16afa0(0x257)],_0x40e635);if(!_0x89b212)return!0x1;let _0x304839=_0x451b02(_0x287644[_0x16afa0(0x1b1)]);return _0x304839[_0x16afa0(0x262)][_0x3393e4[_0x16afa0(0x25e)]]={'formula':_0x3393e4[_0x16afa0(0x1f6)],..._0x3393e4[_0x16afa0(0x265)]?{'numberFormat':_0x3393e4[_0x16afa0(0x265)]}:_0x4eee81[_0x16afa0(0x265)]?{'numberFormat':_0x4eee81[_0x16afa0(0x265)]}:null},_0x3ab3e2({'accessor':_0x598fb9,'document':_0x287644[_0x16afa0(0x142)],'unitId':_0x287644[_0x16afa0(0x257)],'trigger':_0x578b02['id'],'rangeId':_0x3393e4[_0x16afa0(0x25e)],'previousResource':_0x287644['resource'],'nextResource':_0x304839,'cursorOffset':_0x318877[_0x16afa0(0x15a)]+0x1,'externalMutations':_0x89b212});}},_0x1ae193={'id':_0x4955bb(0x1f2),'type':_0xa600dd['CommandType'][_0x4955bb(0x1a4)],'handler':(_0x422460,_0x3d4de7)=>{const _0x2d748c=_0x4955bb;if(!(_0x3d4de7!=null&&_0x3d4de7[_0x2d748c(0x25e)]))return!0x1;let _0x3c797e=_0x3fdd9b(_0x422460,_0x3d4de7[_0x2d748c(0x257)],''),_0x41d8cb=_0x3c797e==null?void 0x0:_0x3c797e[_0x2d748c(0x23e)]['getFormula'](_0x3c797e[_0x2d748c(0x257)],_0x3d4de7['rangeId']),_0x37acc2=_0x3c797e?_0x274b50(_0x3c797e[_0x2d748c(0x188)]['body'],_0x3d4de7['rangeId']):void 0x0;if(!_0x3c797e||!_0x41d8cb||!_0x37acc2)return!0x1;let _0x499477=_0x451b02(_0x3c797e[_0x2d748c(0x1b1)]);return _0x499477[_0x2d748c(0x262)][_0x3d4de7[_0x2d748c(0x25e)]]={..._0x41d8cb,..._0x3d4de7[_0x2d748c(0x265)]?{'numberFormat':_0x3d4de7[_0x2d748c(0x265)]}:null},_0x3d4de7[_0x2d748c(0x265)]||delete _0x499477[_0x2d748c(0x262)][_0x3d4de7['rangeId']]['numberFormat'],_0x3ab3e2({'accessor':_0x422460,'document':_0x3c797e[_0x2d748c(0x142)],'unitId':_0x3c797e[_0x2d748c(0x257)],'trigger':_0x1ae193['id'],'rangeId':_0x3d4de7[_0x2d748c(0x25e)],'previousResource':_0x3c797e[_0x2d748c(0x1b1)],'nextResource':_0x499477,'cursorOffset':_0x37acc2[_0x2d748c(0x15a)]+0x1,'externalMutations':{}});}},_0x391537={'id':_0x4955bb(0x191),'type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1a4)],'handler':(_0x5026bf,_0x273aad)=>_0x1a1183(_0x5026bf,_0x273aad,'',_0x391537['id'])},_0x45e88e={'id':'docs-formula.command.replace-with-text','type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1a4)],'handler':(_0x426fc2,_0x40a0cf)=>_0x1a1183(_0x426fc2,_0x40a0cf,(_0x40a0cf==null?void 0x0:_0x40a0cf['text'])??'',_0x45e88e['id'])},_0x4dd97d={'id':_0x4955bb(0x1f7),'type':_0xa600dd[_0x4955bb(0x21b)][_0x4955bb(0x1a4)],'handler':(_0x15e17b,_0x14f8bf)=>{const _0x5773cc=_0x4955bb;if(!(_0x14f8bf!=null&&_0x14f8bf[_0x5773cc(0x25e)]))return!0x1;let _0x1d0f02=_0x3fdd9b(_0x15e17b,_0x14f8bf[_0x5773cc(0x257)],'');if(!_0x1d0f02)return!0x1;let _0x437d57=_0x15e17b['get'](_0x4738b9)[_0x5773cc(0x235)]({'unitId':_0x1d0f02['unitId'],'rangeId':_0x14f8bf[_0x5773cc(0x25e)]});return _0x437d57?_0x1a1183(_0x15e17b,_0x14f8bf,_0x437d57[_0x5773cc(0x256)],_0x4dd97d['id']):!0x1;}};function _0x1a1183(_0x5a4bff,_0xd7b843,_0x53b5e6,_0x430f10){const _0x3816d9=_0x4955bb;if(!(_0xd7b843!=null&&_0xd7b843['rangeId']))return!0x1;let _0x21b3e0=_0x3fdd9b(_0x5a4bff,_0xd7b843[_0x3816d9(0x257)],'');if(!_0x21b3e0)return!0x1;let _0x2f15a5=_0x17de84({'documentData':_0x21b3e0[_0x3816d9(0x188)],'resource':_0x21b3e0[_0x3816d9(0x1b1)],'rangeId':_0xd7b843[_0x3816d9(0x25e)],'text':_0x53b5e6});return _0x2f15a5?_0x3ab3e2({'accessor':_0x5a4bff,'document':_0x21b3e0[_0x3816d9(0x142)],'unitId':_0x21b3e0[_0x3816d9(0x257)],'trigger':_0x430f10,'rangeId':_0xd7b843[_0x3816d9(0x25e)],'previousResource':_0x21b3e0[_0x3816d9(0x1b1)],'nextResource':_0x2f15a5[_0x3816d9(0x27b)],'previousDocumentData':_0x21b3e0[_0x3816d9(0x188)],'nextDocumentData':_0x2f15a5[_0x3816d9(0x227)],'cursorOffset':_0x2f15a5[_0x3816d9(0x194)],'externalMutations':{}}):!0x1;}function _0x3fdd9b(_0x315e5d,_0x3fef3a,_0x1e6e82){const _0x21adc1=_0x4955bb;if(_0x1e6e82)return null;let _0x21f609=_0x315e5d[_0x21adc1(0x1b3)](_0xa600dd[_0x21adc1(0x156)]),_0x5036de=(_0x3fef3a?_0x21f609[_0x21adc1(0x1b4)](_0x3fef3a,_0xa600dd[_0x21adc1(0x276)][_0x21adc1(0x186)]):_0x21f609['getCurrentUnitOfType'](_0xa600dd[_0x21adc1(0x276)][_0x21adc1(0x186)]))??null;if(!_0x5036de)return null;let _0x2973cf=_0x5036de[_0x21adc1(0x205)](),_0x33bdee=_0x2973cf[_0x21adc1(0x1e9)];if(_0x2973cf[_0x21adc1(0x197)]||!_0x33bdee)return null;let _0x3081eb=_0x315e5d['get'](_0x5e0b6b);return _0x3081eb['getLoadError'](_0x5036de['getUnitId']())?null:{'document':_0x5036de,'body':_0x33bdee,'documentData':_0x2973cf,'model':_0x3081eb,'resource':_0x3081eb[_0x21adc1(0x1ce)](_0x5036de[_0x21adc1(0x242)]())??_0x3eac7f(),'unitId':_0x5036de[_0x21adc1(0x242)]()};}function _0x54e05c(_0x53a8f3,_0x2a27e9){const _0x3aaff7=_0x4955bb;var _0x38dba4;return(_0x38dba4=_0x53a8f3[_0x3aaff7(0x1b3)](_0x165f65[_0x3aaff7(0x1ac)])[_0x3aaff7(0x277)]({'subUnitId':_0x2a27e9,'unitId':_0x2a27e9}))==null?void 0x0:_0x38dba4[0x0];}function _0xb70f7e(_0x3385ec,_0x395a61,_0x44d111){const _0x107883=_0x4955bb;if((_0x3385ec==null?void 0x0:_0x3385ec[_0x107883(0x27d)])===_0x107883(0x1db)){var _0x2f03fc;let _0x438c04=((_0x2f03fc=_0x395a61[_0x107883(0x250)])==null?void 0x0:_0x2f03fc[_0x107883(0x17c)](_0x568faf=>_0x568faf['paragraphId']===_0x3385ec['paragraphId']))??[];if(_0x438c04[_0x107883(0x133)]!==0x1)return null;let _0x5c29c8=_0x438c04[0x0],_0x45e790=(0x0,_0xa600dd[_0x107883(0x177)])(_0x395a61,_0x5c29c8),_0x4836f6=_0x5c29c8[_0x107883(0x206)]-_0x45e790,_0xda30ac=_0x3385ec[_0x107883(0x263)]===_0x107883(0x171)?_0x4836f6:_0x3385ec[_0x107883(0x263)];if(!Number['isInteger'](_0xda30ac)||_0xda30ac<0x0||_0xda30ac>_0x4836f6)return null;let _0x3b088c=_0x45e790+_0xda30ac;return{'startOffset':_0x3b088c,'endOffset':_0x3b088c};}if((_0x3385ec==null?void 0x0:_0x3385ec[_0x107883(0x27d)])===_0x107883(0x136))return!Number['isInteger'](_0x3385ec['startOffset'])||!Number['isInteger'](_0x3385ec[_0x107883(0x131)])?null:{'startOffset':Math['min'](_0x3385ec[_0x107883(0x1dc)],_0x3385ec[_0x107883(0x131)]),'endOffset':Math['max'](_0x3385ec['startOffset'],_0x3385ec[_0x107883(0x131)])};let _0x524d93=(_0x3385ec==null?void 0x0:_0x3385ec[_0x107883(0x27d)])===_0x107883(0x16c)?_0x3385ec[_0x107883(0x16c)]:_0x44d111;return!_0x524d93||_0x524d93['segmentId']?null:{'startOffset':Math['min'](_0x524d93[_0x107883(0x1dc)],_0x524d93[_0x107883(0x131)]),'endOffset':Math[_0x107883(0x198)](_0x524d93['startOffset'],_0x524d93[_0x107883(0x131)])};}function _0x581a17(_0x3c9336,_0x16d9f1,_0x3f5ddd,_0x222db6){const _0x50b6e7=_0x4955bb;let _0x56df7b=_0x3c9336['get'](_0x5430b4[_0x50b6e7(0x27a)]),_0x3c374d=_0x3f5ddd[_0x50b6e7(0x12e)]('=')?_0x3f5ddd['slice'](0x1):_0x3f5ddd,_0x5d7b60=_0x56df7b[_0x50b6e7(0x175)](_0x3c374d);if(!_0x5d7b60)return null;let _0x2108da=_0x3c9336[_0x50b6e7(0x1b3)](_0x219b45[_0x50b6e7(0x143)]),_0x149412=(0x0,_0x219b45['resolveHostFormulaExternalReferences'])({'qualifiers':(0x0,_0x219b45[_0x50b6e7(0x1ab)])(_0x5d7b60),'explicitReferences':_0x222db6??[],'resolveBinding':_0x321995=>_0x2108da[_0x50b6e7(0x224)](_0x16d9f1,_0x321995)});return _0x149412[_0x50b6e7(0x1f5)]===_0x50b6e7(0x138)?_0x149412[_0x50b6e7(0x196)]:null;}function _0x101714(_0x17b255,_0x983ff4,_0x326702){const _0x500dc5=_0x4955bb;var _0x478955;let _0x4b8d58=(0x0,_0xa600dd[_0x500dc5(0x1d4)])(0x6);for(;_0x17b255!=null&&(_0x478955=_0x17b255['customRanges'])!=null&&_0x478955[_0x500dc5(0x226)](_0x64252a=>_0x64252a['rangeId']===_0x4b8d58)||_0x983ff4[_0x500dc5(0x213)](_0x326702,_0x4b8d58);)_0x4b8d58=(0x0,_0xa600dd[_0x500dc5(0x1d4)])(0x6);return _0x4b8d58;}function _0x31fb2b(_0x480764){try{return _0x59d760(_0x480764);}catch(_0x2b8457){if(_0x2b8457 instanceof _0x341a6d)return null;throw _0x2b8457;}}function _0x3f3e0f(_0x166843){const _0x295563=_0x4955bb;let _0x429ea6=_0x166843['previousDocumentData']&&_0x166843['nextDocumentData']?_0x471a0d(_0x166843[_0x295563(0x142)],_0x166843[_0x295563(0x257)],_0x166843['previousDocumentData'],_0x166843[_0x295563(0x227)],_0x166843[_0x295563(0x194)],_0x166843['trigger']):null;return _0x166843[_0x295563(0x25b)]&&_0x166843[_0x295563(0x227)]&&!_0x429ea6?null:{'documentRedo':_0x429ea6,'resourceRedo':{'id':_0x386db0['id'],'params':{'unitId':_0x166843[_0x295563(0x257)],'resource':_0x166843[_0x295563(0x27b)]}},'resourceUndo':{'id':_0x386db0['id'],'params':{'unitId':_0x166843[_0x295563(0x257)],'resource':_0x166843[_0x295563(0x1c0)]}}};}function _0xa96b2b(_0x2783a7,_0x43a41f,_0x52702b,_0x31c002){const _0x3aeba6=_0x4955bb;_0x31c002['pushUndoRedo']({'id':_0x2783a7['trigger']+':'+_0x2783a7['rangeId'],'unitID':_0x2783a7[_0x3aeba6(0x257)],'redoMutations':[..._0x2783a7[_0x3aeba6(0x18e)]['redoMutation']?[_0x2783a7[_0x3aeba6(0x18e)][_0x3aeba6(0x222)]]:[],..._0x43a41f['documentRedo']?[_0x43a41f[_0x3aeba6(0x170)]]:[],_0x43a41f[_0x3aeba6(0x1d8)]],'undoMutations':[_0x43a41f[_0x3aeba6(0x174)],..._0x52702b?[_0x52702b]:[],..._0x2783a7[_0x3aeba6(0x18e)]['undoMutation']?[_0x2783a7['externalMutations']['undoMutation']]:[]]});}function _0x3ab3e2(_0xeb625e){const _0x84ed72=_0x4955bb;let _0x4dd03d=_0xeb625e[_0x84ed72(0x223)]['get'](_0xa600dd[_0x84ed72(0x1a0)]),_0x9f1c1c=_0xeb625e['accessor'][_0x84ed72(0x1b3)](_0xa600dd['IUndoRedoService']),_0x6abcd8=_0xeb625e[_0x84ed72(0x223)][_0x84ed72(0x1b3)](_0x165f65['DocSelectionManagerService']),_0x440438=_0x3f3e0f(_0xeb625e);if(!_0x440438)return!0x1;let _0x2620b3=!0x1,_0x1ebfe5=null,_0x414891=!0x1;try{if(_0xeb625e[_0x84ed72(0x18e)][_0x84ed72(0x222)]){if(!_0x4dd03d[_0x84ed72(0x229)](_0xeb625e[_0x84ed72(0x18e)][_0x84ed72(0x222)]['id'],_0xeb625e[_0x84ed72(0x18e)][_0x84ed72(0x222)][_0x84ed72(0x22e)]))return!0x1;_0x2620b3=!0x0;}if(_0x440438['documentRedo']){let _0x556600=_0x4dd03d['syncExecuteCommand'](_0x440438[_0x84ed72(0x170)]['id'],_0x440438[_0x84ed72(0x170)][_0x84ed72(0x22e)]);if(!_0x556600)return _0x4ba4a5(_0x4dd03d,_0xeb625e[_0x84ed72(0x18e)],_0x2620b3),!0x1;_0x1ebfe5={'id':_0x165f65[_0x84ed72(0x12c)]['id'],'params':{..._0x556600,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x4dd03d[_0x84ed72(0x229)](_0x440438[_0x84ed72(0x1d8)]['id'],_0x440438[_0x84ed72(0x1d8)][_0x84ed72(0x22e)]))return _0x43be04(_0x4dd03d,_0x1ebfe5),_0x4ba4a5(_0x4dd03d,_0xeb625e[_0x84ed72(0x18e)],_0x2620b3),!0x1;_0x414891=!0x0,_0xa96b2b(_0xeb625e,_0x440438,_0x1ebfe5,_0x9f1c1c);}catch(_0x12684b){throw _0x414891&&_0x4dd03d[_0x84ed72(0x229)](_0x440438[_0x84ed72(0x174)]['id'],_0x440438['resourceUndo'][_0x84ed72(0x22e)]),_0x43be04(_0x4dd03d,_0x1ebfe5),_0x4ba4a5(_0x4dd03d,_0xeb625e[_0x84ed72(0x18e)],_0x2620b3),_0x12684b;}return _0x6abcd8[_0x84ed72(0x141)]([{'startOffset':_0xeb625e['cursorOffset'],'endOffset':_0xeb625e[_0x84ed72(0x194)],'segmentId':''}],{'unitId':_0xeb625e['unitId'],'subUnitId':_0xeb625e[_0x84ed72(0x257)]},!0x1,{[_0x165f65[_0x84ed72(0x219)]]:!0x0}),!0x0;}function _0x471a0d(_0x2f7859,_0x34ddd8,_0x46c228,_0x3b9096,_0x29b3b7,_0x3691d7){const _0x373095=_0x4955bb;let _0xc080ca=_0x4c4516(_0x46c228,_0x3b9096,(0x0,_0xa600dd[_0x373095(0x232)])(_0x2f7859,''));return _0xc080ca?{'id':_0x165f65['RichTextEditingMutation']['id'],'params':{'unitId':_0x34ddd8,'actions':_0xc080ca,'segmentId':'','textRanges':[{'startOffset':_0x29b3b7,'endOffset':_0x29b3b7,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x3691d7}}:null;}function _0x43be04(_0x27d0ca,_0x2b84c7){const _0x404d8e=_0x4955bb;_0x2b84c7&&_0x27d0ca[_0x404d8e(0x229)](_0x2b84c7['id'],_0x2b84c7[_0x404d8e(0x22e)]);}function _0x4ba4a5(_0x5e29fb,_0x3a29d7,_0x299fc0){const _0xc92843=_0x4955bb;_0x299fc0&&_0x3a29d7[_0xc92843(0x1f1)]&&_0x5e29fb[_0xc92843(0x229)](_0x3a29d7['undoMutation']['id'],_0x3a29d7[_0xc92843(0x1f1)][_0xc92843(0x22e)]);}function _0x4c4516(_0x4684a3,_0x2ccb1c,_0x4eb067){const _0xc19fa7=_0x4955bb;let _0x24fa6d=_0x4684a3[_0xc19fa7(0x1e9)],_0x2bac2d=_0x2ccb1c[_0xc19fa7(0x1e9)],_0x2aaa97=_0x44698c(_0x24fa6d==null?void 0x0:_0x24fa6d['dataStream'],_0x2bac2d==null?void 0x0:_0x2bac2d['dataStream']);if(!_0x2aaa97||!_0x2bac2d)return null;let _0x13ea50=new _0xa600dd[(_0xc19fa7(0x23c))]();return _0x13ea50[_0xc19fa7(0x157)](_0x2aaa97['start']),_0x2aaa97[_0xc19fa7(0x238)]>0x0&&_0x13ea50[_0xc19fa7(0x1ff)](_0x2aaa97[_0xc19fa7(0x238)],(0x0,_0xa600dd[_0xc19fa7(0x1bb)])(_0x2bac2d,_0x2aaa97[_0xc19fa7(0x13a)],_0x2aaa97[_0xc19fa7(0x13a)]+_0x2aaa97['insertLength'],!0x1)),_0x2aaa97['deleteLength']>0x0&&_0x13ea50[_0xc19fa7(0x176)](_0x2aaa97[_0xc19fa7(0x1a5)]),_0xa600dd[_0xc19fa7(0x183)][_0xc19fa7(0x1dd)]()['editOp'](_0x13ea50[_0xc19fa7(0x182)](),_0x4eb067);}function _0x44698c(_0x5a26b1,_0x430af0){const _0x482437=_0x4955bb;if(_0x5a26b1==null||_0x430af0==null||_0x5a26b1===_0x430af0)return null;let _0x4ab1a0=0x0;for(;_0x4ab1a0<_0x5a26b1[_0x482437(0x133)]&&_0x4ab1a0<_0x430af0['length']&&_0x5a26b1[_0x4ab1a0]===_0x430af0[_0x4ab1a0];)_0x4ab1a0+=0x1;let _0x10f08e=_0x5a26b1[_0x482437(0x133)],_0x2437d1=_0x430af0[_0x482437(0x133)];for(;_0x10f08e>_0x4ab1a0&&_0x2437d1>_0x4ab1a0&&_0x5a26b1[_0x10f08e-0x1]===_0x430af0[_0x2437d1-0x1];)--_0x10f08e,--_0x2437d1;return{'start':_0x4ab1a0,'deleteLength':_0x10f08e-_0x4ab1a0,'insertLength':_0x2437d1-_0x4ab1a0};}function _0x451b02(_0x3f7b1e){const _0x5c4577=_0x4955bb;return{'schemaVersion':0x1,'formulas':Object[_0x5c4577(0x228)](Object['entries'](_0x3f7b1e[_0x5c4577(0x262)])[_0x5c4577(0x139)](([_0x50c6af,_0x2eacec])=>[_0x50c6af,{..._0x2eacec,..._0x2eacec[_0x5c4577(0x265)]?{'numberFormat':{..._0x2eacec[_0x5c4577(0x265)]}}:null,..._0x2eacec[_0x5c4577(0x16d)]?{'lastValue':{..._0x2eacec['lastValue']}}:null}]))};}let _0x55cec0=class extends _0xa600dd[_0x4955bb(0x1a1)]{constructor(_0x2ccad2,_0x151aff,_0x434c31,_0x47b8ec){const _0x58d9c1=_0x4955bb;super(),this['_instanceService']=_0x2ccad2,this['_commandService']=_0x151aff,this[_0x58d9c1(0x18b)]=_0x434c31,this[_0x58d9c1(0x24c)]=_0x47b8ec,_0x2567b3(this,_0x58d9c1(0x195),new Set()),_0x2567b3(this,_0x58d9c1(0x166),!0x1),_0x2567b3(this,_0x58d9c1(0x244),!0x1),this['_instanceService'][_0x58d9c1(0x210)](_0xa600dd[_0x58d9c1(0x276)][_0x58d9c1(0x186)])[_0x58d9c1(0x1c1)](_0x3348cf=>this[_0x58d9c1(0x24c)][_0x58d9c1(0x1b6)](_0x3348cf)),this['disposeWithMe'](this[_0x58d9c1(0x18b)][_0x58d9c1(0x20d)][_0x58d9c1(0x1e5)](({unitId:_0x922bcb})=>this[_0x58d9c1(0x14b)](_0x922bcb))),this['disposeWithMe'](this['_instanceService'][_0x58d9c1(0x15d)][_0x58d9c1(0x1e5)](({unit:_0x3ef350})=>{const _0x24fb8f=_0x58d9c1;_0x3ef350['type']===_0xa600dd['UniverInstanceType']['UNIVER_DOC']&&this[_0x24fb8f(0x146)](_0x3ef350[_0x24fb8f(0x242)]());})),this[_0x58d9c1(0x13e)](this['_instanceService']['unitDisposed$'][_0x58d9c1(0x1e5)](_0x2a0a3b=>{const _0x1305bf=_0x58d9c1;this[_0x1305bf(0x24c)][_0x1305bf(0x251)](_0x2a0a3b['getUnitId']());})),this[_0x58d9c1(0x13e)](this[_0x58d9c1(0x246)][_0x58d9c1(0x267)](_0x18318b=>{const _0x1b941d=_0x58d9c1;if(_0x18318b['id']===_0x165f65[_0x1b941d(0x12c)]['id']&&_0x137068(_0x18318b[_0x1b941d(0x22e)])){let _0x2fa126=_0x18318b[_0x1b941d(0x22e)];_0x2fa126[_0x1b941d(0x1b2)]||this[_0x1b941d(0x14b)](_0x2fa126[_0x1b941d(0x257)]);}}));}[_0x4955bb(0x23a)](){const _0x4aab53=_0x4955bb;this['_isDisposed']=!0x0,super[_0x4aab53(0x23a)]();}[_0x4955bb(0x146)](_0x118721){const _0x572fcc=_0x4955bb;this[_0x572fcc(0x195)][_0x572fcc(0x24f)](_0x118721),!this[_0x572fcc(0x166)]&&(this['_syncScheduled']=!0x0,queueMicrotask(()=>{const _0x3c60a7=_0x572fcc;if(this['_syncScheduled']=!0x1,this[_0x3c60a7(0x244)])return;let _0x1be45a=Array[_0x3c60a7(0x1ba)](this[_0x3c60a7(0x195)]);this[_0x3c60a7(0x195)][_0x3c60a7(0x161)](),_0x1be45a[_0x3c60a7(0x1c1)](_0x53c2ee=>this['_syncUnit'](_0x53c2ee));}));}[_0x4955bb(0x14b)](_0x42ed45){const _0x1381bc=_0x4955bb;let _0x15f4bd=this[_0x1381bc(0x243)]['getUnit'](_0x42ed45,_0xa600dd[_0x1381bc(0x276)][_0x1381bc(0x186)]);_0x15f4bd&&this['_service'][_0x1381bc(0x1b6)](_0x15f4bd);}};_0x55cec0=_0x349b98([_0x43cc7d(0x0,_0xa600dd[_0x4955bb(0x156)]),_0x43cc7d(0x1,_0xa600dd[_0x4955bb(0x1a0)]),_0x43cc7d(0x2,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x5e0b6b)),_0x43cc7d(0x3,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x4738b9))],_0x55cec0);function _0x137068(_0x39c493){const _0x4c5144=_0x4955bb;return typeof _0x39c493==_0x4c5144(0x148)&&!!_0x39c493&&'unitId'in _0x39c493&&typeof _0x39c493[_0x4c5144(0x257)]=='string'&&(!(_0x4c5144(0x1b2)in _0x39c493)||_0x39c493['segmentId']===void 0x0||typeof _0x39c493['segmentId']=='string');}let _0xb875c5=class extends _0xa600dd['Disposable']{constructor(_0x5051f4,_0x3fd442){const _0xf75d36=_0x4955bb;super(),this[_0xf75d36(0x15f)]=_0x5051f4,this[_0xf75d36(0x190)]=_0x3fd442,this[_0xf75d36(0x13e)](this[_0xf75d36(0x15f)][_0xf75d36(0x199)]({'pluginName':_0x37b0b3,'businesses':[_0xa600dd[_0xf75d36(0x276)]['UNIVER_DOC']],'toJson':_0x42050b=>JSON[_0xf75d36(0x1c6)](this[_0xf75d36(0x190)][_0xf75d36(0x182)](_0x42050b)),'parseJson':_0x4879c2=>JSON['parse'](_0x4879c2),'onLoad':(_0x205ab5,_0x27deac)=>{const _0x1d67b0=_0xf75d36;this[_0x1d67b0(0x190)][_0x1d67b0(0x209)](_0x205ab5,_0x27deac);},'onUnLoad':_0x42dd1a=>this[_0xf75d36(0x190)][_0xf75d36(0x1fe)](_0x42dd1a)}));}};_0xb875c5=_0x349b98([_0x43cc7d(0x0,_0xa600dd[_0x4955bb(0x1fd)]),_0x43cc7d(0x1,(0x0,_0xa600dd['Inject'])(_0x5e0b6b))],_0xb875c5);var _0x44e9d7='@univerjs-pro/docs-formula',_0x4ff9a6=_0x4955bb(0x217);let _0x4da552={},_0x5e7a86=class extends _0xa600dd[_0x4955bb(0x1a1)]{constructor(_0xa8fd43,_0x30fe50,_0x16cf06){const _0x2951ee=_0x4955bb;super(),this[_0x2951ee(0x12b)]=_0xa8fd43,this[_0x2951ee(0x26e)]=_0x30fe50,this[_0x2951ee(0x13e)](_0x16cf06['register']({'resolve':(_0xb2ba0e,_0x5499b2)=>{const _0x2017a3=_0x2951ee;var _0x190540;return((_0x190540=_0x5499b2[_0x2017a3(0x164)])==null?void 0x0:_0x190540[_0x2017a3(0x17c)](_0xac054f)[_0x2017a3(0x139)](_0x13d789=>({'startOffset':_0x13d789[_0x2017a3(0x206)],'endOffset':_0x13d789[_0x2017a3(0x15a)]+0x1,'text':this[_0x2017a3(0x1de)](_0xb2ba0e,_0x13d789[_0x2017a3(0x25e)])})))??[];}})),this[_0x2951ee(0x13e)](this[_0x2951ee(0x26e)]['presentationChanged$']['subscribe'](({unitId:_0xf4a26a})=>{_0x16cf06['notifyTextChanged'](_0xf4a26a);}));}[_0x4955bb(0x1de)](_0x5f38fb,_0x216402){const _0x5633e3=_0x4955bb;var _0x302abe;return((_0x302abe=this[_0x5633e3(0x26e)][_0x5633e3(0x235)]({'unitId':_0x5f38fb,'rangeId':_0x216402}))==null?void 0x0:_0x302abe['text'])??'';}[_0x4955bb(0x130)](_0x311b8f,_0x5d312e,_0x21810c){const _0x20ec44=_0x4955bb;var _0x229dc9;let _0x235525=this[_0x20ec44(0x12b)][_0x20ec44(0x1b4)](_0x311b8f,_0xa600dd[_0x20ec44(0x276)]['UNIVER_DOC']),_0x1ed788=_0x235525==null?void 0x0:_0x235525[_0x20ec44(0x158)]();if(!_0x1ed788)return'';let _0x235a86=_0x1ed788['dataStream'][_0x20ec44(0x19c)](_0x5d312e,_0x21810c),_0x682329=((_0x229dc9=_0x1ed788['customRanges'])==null?void 0x0:_0x229dc9[_0x20ec44(0x17c)](_0x2317cb=>_0xac054f(_0x2317cb)&&_0x2317cb['startIndex']>=_0x5d312e&&_0x2317cb[_0x20ec44(0x15a)]<_0x21810c)[_0x20ec44(0x1af)]((_0x58f59e,_0x1ef8d8)=>_0x1ef8d8[_0x20ec44(0x206)]-_0x58f59e[_0x20ec44(0x206)]))??[];for(let _0x3773f9 of _0x682329){let _0x3b8b43=_0x3773f9[_0x20ec44(0x206)]-_0x5d312e,_0x28d1da=_0x3773f9[_0x20ec44(0x15a)]-_0x5d312e+0x1;_0x235a86=''+_0x235a86['slice'](0x0,_0x3b8b43)+this[_0x20ec44(0x1de)](_0x311b8f,_0x3773f9['rangeId'])+_0x235a86['slice'](_0x28d1da);}return _0x235a86;}[_0x4955bb(0x1ef)](_0x1c7c81){return _0x59a4e8(_0x1c7c81);}['degradeBody'](_0x585a36,_0x523287,_0x354070={}){const _0x2eced2=_0x4955bb;var _0x5eadcf;return _0x3220ee({'id':_0x585a36,'body':_0x523287,'documentStyle':{}},(((_0x5eadcf=_0x523287['customRanges'])==null?void 0x0:_0x5eadcf[_0x2eced2(0x17c)](_0xac054f))??[])[_0x2eced2(0x139)](_0x5091c1=>({'rangeId':_0x5091c1[_0x2eced2(0x25e)],'text':_0x354070[_0x5091c1[_0x2eced2(0x25e)]]??this[_0x2eced2(0x1de)](_0x585a36,_0x5091c1[_0x2eced2(0x25e)])})))[_0x2eced2(0x1e9)]??{'dataStream':''};}};_0x5e7a86=_0x349b98([_0x43cc7d(0x0,_0xa600dd[_0x4955bb(0x156)]),_0x43cc7d(0x1,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x4738b9)),_0x43cc7d(0x2,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x165f65[_0x4955bb(0x1ca)]))],_0x5e7a86);function _0x59a4e8(_0x1278b0){const _0x12c4fa=_0x4955bb;var _0x41f863,_0x1a8c1d;let _0x2736eb=_0x3aff5b(_0x1278b0),_0x4b00e7=_0x3220ee(_0x1278b0,(((_0x41f863=_0x1278b0['body'])==null||(_0x41f863=_0x41f863['customRanges'])==null?void 0x0:_0x41f863[_0x12c4fa(0x17c)](_0xac054f))??[])['map'](_0x1aed7c=>({'rangeId':_0x1aed7c[_0x12c4fa(0x25e)],'text':_0x1cbdb2(_0x2736eb==null?void 0x0:_0x2736eb[_0x12c4fa(0x262)][_0x1aed7c[_0x12c4fa(0x25e)]])})));return _0x4b00e7[_0x12c4fa(0x17e)]=(_0x1a8c1d=_0x4b00e7[_0x12c4fa(0x17e)])==null?void 0x0:_0x1a8c1d[_0x12c4fa(0x17c)](_0xfd520=>_0xfd520[_0x12c4fa(0x236)]!==_0x37b0b3),_0x4b00e7;}function _0x3aff5b(_0x3969ef){const _0x55d235=_0x4955bb;var _0x177da9;let _0x2d88fb=(_0x177da9=_0x3969ef[_0x55d235(0x17e)])==null||(_0x177da9=_0x177da9['find'](_0x410ca0=>_0x410ca0[_0x55d235(0x236)]===_0x55d235(0x1e2)))==null?void 0x0:_0x177da9[_0x55d235(0x1f0)];if(_0x2d88fb)try{let _0x505606=JSON[_0x55d235(0x167)](_0x2d88fb);return _0x5010f7(_0x505606)?_0x505606:void 0x0;}catch{return;}}function _0x1cbdb2(_0x53dbcf){const _0x30c88a=_0x4955bb;return _0x53dbcf?(0x0,_0x219b45[_0x30c88a(0x1fc)])({'lastValue':_0x53dbcf['lastValue'],'numberFormat':_0x53dbcf[_0x30c88a(0x265)]})[_0x30c88a(0x256)]:'';}let _0x57628b=class extends _0xa600dd['Disposable']{constructor(_0x11c670,_0x5ad665,_0x5afcc0){const _0x3e403a=_0x4955bb;super(),this[_0x3e403a(0x26e)]=_0x11c670,this[_0x3e403a(0x266)]=_0x5ad665,this[_0x3e403a(0x13e)](_0x5afcc0[_0x3e403a(0x264)](this));}[_0x4955bb(0x1c3)](_0x1b1562){const _0x2de7e2=_0x4955bb;let _0x4cd4d6=new Map();for(let _0x21f104 of this[_0x2de7e2(0x26e)][_0x2de7e2(0x20b)]()){var _0x4f057e;if(!this[_0x2de7e2(0x266)]['assess'](_0x21f104[_0x2de7e2(0x15e)][_0x2de7e2(0x1f6)],_0x21f104[_0x2de7e2(0x14a)])[_0x2de7e2(0x20a)])continue;let _0x5196e8=(0x0,_0x219b45[_0x2de7e2(0x203)])(_0x21f104[_0x2de7e2(0x14a)]),_0x4373a2=_0x5196e8?(0x0,_0x219b45[_0x2de7e2(0x1a6)])(_0x5196e8):null;if(!_0x4373a2||_0x7aa200(_0x21f104['config'][_0x2de7e2(0x16d)],_0x4373a2))continue;let _0x3a5c73=_0x4cd4d6[_0x2de7e2(0x1b3)](_0x21f104[_0x2de7e2(0x225)][_0x2de7e2(0x257)])??[];_0x3a5c73[_0x2de7e2(0x16f)]({'rangeId':_0x21f104[_0x2de7e2(0x225)]['rangeId'],'expectedFormula':_0x21f104[_0x2de7e2(0x15e)][_0x2de7e2(0x1f6)],'expectedNumberFormat':(_0x4f057e=_0x21f104[_0x2de7e2(0x15e)][_0x2de7e2(0x265)])==null?void 0x0:_0x4f057e[_0x2de7e2(0x1f9)],'expectedReferenceRevision':_0x21f104['referenceRevision'],'lastValue':_0x4373a2}),_0x4cd4d6[_0x2de7e2(0x1c2)](_0x21f104[_0x2de7e2(0x225)]['unitId'],_0x3a5c73);}return Array[_0x2de7e2(0x1ba)](_0x4cd4d6,([_0xbb1690,_0x15f56b])=>({'id':_0xd3745f['id'],'params':{'unitId':_0xbb1690,'updates':_0x15f56b}}));}};_0x57628b=_0x349b98([_0x43cc7d(0x0,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x4738b9)),_0x43cc7d(0x1,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0x219b45[_0x4955bb(0x1f3)])),_0x43cc7d(0x2,(0x0,_0xa600dd['Inject'])(_0x219b45[_0x4955bb(0x134)]))],_0x57628b);function _0x7aa200(_0xd1947a,_0x354cbb){const _0x1e1c62=_0x4955bb;return(_0xd1947a==null?void 0x0:_0xd1947a['v'])===_0x354cbb['v']&&(_0xd1947a==null?void 0x0:_0xd1947a['t'])===_0x354cbb['t']&&(_0xd1947a==null?void 0x0:_0xd1947a[_0x1e1c62(0x1f9)])===_0x354cbb[_0x1e1c62(0x1f9)];}let _0x52f923=class extends _0xa600dd[_0x4955bb(0x221)]{constructor(_0x113045=_0x4da552,_0x2dc434,_0x550a0f,_0x9e3475){const _0x4563e9=_0x4955bb;super(),this[_0x4563e9(0x15b)]=_0x113045,this[_0x4563e9(0x24b)]=_0x2dc434,this[_0x4563e9(0x246)]=_0x550a0f,this[_0x4563e9(0x14e)]=_0x9e3475;let {..._0x466444}=(0x0,_0xa600dd['merge'])({},_0x4da552,this['_config']);this['_configService'][_0x4563e9(0x1da)](_0x4563e9(0x249),_0x466444);}[_0x4955bb(0x163)](){const _0x405433=_0x4955bb;this[_0x405433(0x24b)][_0x405433(0x24f)]([_0x5e0b6b]),this[_0x405433(0x24b)][_0x405433(0x24f)]([_0x4738b9]),this[_0x405433(0x24b)][_0x405433(0x24f)]([_0xb875c5]),this[_0x405433(0x24b)]['add']([_0x55cec0]),this['_injector']['add']([_0x57628b]),this['_injector'][_0x405433(0x24f)]([_0x5e7a86]),(0x0,_0xa600dd[_0x405433(0x22f)])(this['_injector'],[[_0x5e0b6b],[_0xb875c5],[_0x55cec0],[_0x57628b],[_0x5e7a86]]),[_0x2aab19,_0x152f9d,_0x386db0,_0xd3745f,_0x2ec352,_0x578b02,_0x1ae193,_0x391537,_0x45e88e,_0x4dd97d][_0x405433(0x1c1)](_0x3bb144=>this[_0x405433(0x13e)](this[_0x405433(0x246)][_0x405433(0x21c)](_0x3bb144)));}};_0x2567b3(_0x52f923,_0x4955bb(0x1a7),_0x37b0b3),_0x2567b3(_0x52f923,_0x4955bb(0x153),_0x44e9d7),_0x2567b3(_0x52f923,_0x4955bb(0x12f),_0x4ff9a6),_0x2567b3(_0x52f923,_0x4955bb(0x27d),_0xa600dd['UniverInstanceType']['UNIVER_DOC']),_0x52f923=_0x349b98([(0x0,_0xa600dd[_0x4955bb(0x274)])(_0x5f572e[_0x4955bb(0x21a)],_0x219b45['UniverProFormulaEnginePlugin'],_0x165f65[_0x4955bb(0x132)]),_0x43cc7d(0x1,(0x0,_0xa600dd[_0x4955bb(0x140)])(_0xa600dd[_0x4955bb(0x1b8)])),_0x43cc7d(0x2,_0xa600dd[_0x4955bb(0x1a0)]),_0x43cc7d(0x3,_0xa600dd[_0x4955bb(0x1e8)])],_0x52f923),_0x5c28cd[_0x4955bb(0x271)]=_0x4dd97d,_0x5c28cd[_0x4955bb(0x1df)]=_0x2846a2,_0x5c28cd[_0x4955bb(0x240)]='',_0x5c28cd[_0x4955bb(0x1e2)]=_0x37b0b3,_0x5c28cd[_0x4955bb(0x193)]=0x1,Object[_0x4955bb(0x22a)](_0x5c28cd,'DocFormulaDisplayTextService',{'enumerable':!0x0,'get':function(){return _0x5e7a86;}}),Object[_0x4955bb(0x22a)](_0x5c28cd,_0x4955bb(0x1e1),{'enumerable':!0x0,'get':function(){return _0x55cec0;}}),_0x5c28cd[_0x4955bb(0x135)]=_0x5e0b6b,Object[_0x4955bb(0x22a)](_0x5c28cd,'DocFormulaResourceController',{'enumerable':!0x0,'get':function(){return _0xb875c5;}}),_0x5c28cd[_0x4955bb(0x185)]=_0xb37966,Object['defineProperty'](_0x5c28cd,'DocFormulaService',{'enumerable':!0x0,'get':function(){return _0x4738b9;}}),_0x5c28cd['InsertDocFormulaCommand']=_0x2ec352,_0x5c28cd[_0x4955bb(0x208)]=_0x341a6d,_0x5c28cd[_0x4955bb(0x1cf)]=_0x391537,_0x5c28cd[_0x4955bb(0x18c)]=_0x152f9d,_0x5c28cd[_0x4955bb(0x268)]=_0x45e88e,_0x5c28cd[_0x4955bb(0x18f)]=_0xd3745f,_0x5c28cd[_0x4955bb(0x22d)]=_0x2aab19,_0x5c28cd[_0x4955bb(0x18a)]=_0x1ae193,_0x5c28cd['SetDocFormulaResourceMutation']=_0x386db0,Object[_0x4955bb(0x22a)](_0x5c28cd,_0x4955bb(0x180),{'enumerable':!0x0,'get':function(){return _0x52f923;}}),_0x5c28cd[_0x4955bb(0x237)]=_0x578b02,_0x5c28cd[_0x4955bb(0x1d2)]=_0x1461cd,_0x5c28cd[_0x4955bb(0x1ae)]=_0x59d760,_0x5c28cd[_0x4955bb(0x24e)]=_0x17de84,_0x5c28cd[_0x4955bb(0x23f)]=_0x382cd5,_0x5c28cd[_0x4955bb(0x22c)]=_0x3eac7f,_0x5c28cd[_0x4955bb(0x25c)]=_0x59a4e8,_0x5c28cd[_0x4955bb(0x173)]=_0x274b50,_0x5c28cd[_0x4955bb(0x21e)]=_0x3cd1eb,_0x5c28cd['isDocFormulaRange']=_0xac054f,_0x5c28cd[_0x4955bb(0x172)]=_0x5010f7,_0x5c28cd['isFormulaLastValue']=_0xce23f5;}));
1
+ function _0xb83c(){const _0x3d3b20=['data','previousDocumentData','SetDocFormulaResourceMutation','registerFormulaWithRange','_cacheEligibilityService','COLUMN_GROUP_END','_queueSync','next','docs-formula.command.remove','blockRanges','params','DataStreamTreeTokenType','MUTATION','updates','status','syncUnit','UniverLicensePlugin','getTextRanges','editOp','resourceUndo','includes','_updateFormulaResult','_commandService','COLUMN_END','string','setFormula','isDocFormulaConfig','getInstance','constructor','type','PARAGRAPH','getUnitId','CustomRangeType','numberFormat','trim','getResource','OtherFormulaBizType','forEach','DocFormulaService','docs-formula.command.insert','body','docs-formula.command.convert-to-text','target','nextDocumentData','externalMutations','getFormulas','UniverInstanceType','COLUMN_GROUP_START','trigger','4WSHfBo','success','slice','_isDisposed','unsupported-version','customRanges','boolean','unitDisposed$','buildUpdateDocFormulaActions','RemoveDocFormulaMutation','shiftExclusiveRangeOnInsert','docs-formula.mutation.set-last-values','onCommandExecuted','register','cell','segmentId','UniverProLicense','1747555lnWluH','properties','degradeDocumentData','function','getFormulaValueSync','pluginName','redoMutation','min','getFormula','resources','_resourceManagerService','resolveBinding','DOC_FORMULA_OBJECT_REPLACEMENT','docs-formula.command.set-number-format','Disposable','tables','FormulaResultStatus','_syncUnit','getOwnPropertyDescriptor','registerProvider','disposeWithMe','SetDocFormulaLastValuesMutation','DOC_FORMULA_PLUGIN','unregisterUnit','1.3.0','_syncScheduled','error','range','LexerTreeBuilder','EMPTY','@univerjs/docs','SetDocFormulaNumberFormatCommand','push','formulas','TABLE_END','4907231DhklOP','@univerjs/core','DocTextResolverService','_hostExternalReferenceModel','18987100MTOthF','referenceRevision','resolveHostFormulaExternalReferences','merge','deepClone','eligible','stringify','selection','clear','empty','FormulaCacheEligibilityService','docs-formula.command.update','8udEEGy','5481900FHhIKY','UniverCore','every','schemaVersion','HostExternalReferenceModel','nextResource','UpdateDocFormulaCommand','DocFormulaResultStatus','get','IUndoRedoService','load','fromEntries','getCurrentUnitOfType','resolved','4Jnttub','assess','getResult','exports','map','_instanceService','TABLE_CELL_END','Inject','name','157629qJFfUD','degradeBody','entries','documentRedo','expectedFormula','CommandType','rangeId','identity','replaceDocRanges','removeFormula','_rawResources','insertLength','COMMAND','docs-formula.mutation.remove-formula','keys','retain','stale','_configService','pending','end','registerCommand','rangeType','RegisterOtherFormulaService','shiftExclusiveRangeOnDelete','deleteFormula','getRichTextEditPath','startOffset','UniverDocsFormulaPlugin','columnGroups','notifyTextChanged','paragraph','2670777KvUtom','_univerInstanceService','_loadErrors','version','color','paragraphs','cursorOffset','presentationChanged$','_presentationChanged$','liveResult','_service','setResource','onStarting','univer-docs-formula','filter','decorate','getScalarFormulaResultCell','expectedReferenceRevision','TABLE_ROW_START','_setPresentation','generateRandomId','customDecorations','change$','docs-formula.config','start','Injector','insert','find','COLUMN_START','_pendingUnitIds','customBlocks','SUCCESS','number','symbol','config','_config','_deleteRegistration','isDocFormulaResource','UniverProFormulaEnginePlugin','TABLE_START','Subject','_change$','values','presentation','prototype','call','has','endOffset','rxjs','textRuns','unitId','_docFormulaModel','shiftInclusiveRangeOnDelete','pattern','7484049BWamGa','endIndex','set','kind','model','getPresentation','IUniverInstanceService','references','TABLE_ROW_END','TABLE_CELL_START','from','serialize','toPrimitive','getCustomRangeInterval','pushUndoRedo','shiftInclusiveRangeOnInsert','sequenceNodesBuilder','getBody','dataStream','sort','Plugin','unitAdded$','Tools','ERROR','isDocFormulaRange','SetDocFormulaMutation','startIndex','isArray','resolveFormula','externalReferences','RemoveDocFormulaCommand','_formulaService','DOC','DOC_SELECTION_OPTION_PRESERVE_CARET','sectionBreaks','_registrationService','Doc\x20Formula\x20range\x20cannot\x20cross\x20document\x20structure\x20boundaries','max','registerPluginResource','@univerjs/engine-formula','buildInsertDocFormulaActions','getLoadError','getRegisteredFormulas','RichTextEditingMutation','InsertDocFormulaCommand','text','subscribe','SECTION_BREAK','buildUpsertHostExternalReferenceMutations','resource','complete','undoMutation','ReplaceDocFormulaWithTextCommand','DependentOn','documentData','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','collectFormulaExternalReferenceQualifiers','UniverDocs','source','DocFormulaDisplayTextService','formulaId','BLOCK_END','findDocFormulaRange','parse','_preserveInvalid','defineProperty','@univerjs-pro/docs-formula','resourceRedo','add','startsWith','_injector','UNIVER_DOC','document','6MZruPk','position','DOC_FORMULA_CUSTOM_RANGE_KIND','formula','BLOCK_START','getUnit','length','_model','paragraphId','setFormulas','_registrations','lastValue','TextX','IConfigService','amd','UniverDocsPlugin','isInteger','object','_formulaKeys','dispose','toFormulaLastValue','syncExecuteCommand','getRevision','accessor','_resources','DocFormulaModel','setConfig','isFormulaLastValue','removeUnit','assertSafeDocFormulaInsertRange','expectedNumberFormat','deleteLength','packageName','delete','ICommandService'];_0xb83c=function(){return _0x3d3b20;};return _0xb83c();}function _0xa7a7(_0xc7d5fb,_0x59c44b){_0xc7d5fb=_0xc7d5fb-0x163;const _0xb83c9b=_0xb83c();let _0xa7a774=_0xb83c9b[_0xc7d5fb];return _0xa7a774;}(function(_0x2160c9,_0x3f03b1){const _0x28eb62=_0xa7a7,_0x3ee2b1=_0x2160c9();while(!![]){try{const _0x43fd34=-parseInt(_0x28eb62(0x264))/0x1*(parseInt(_0x28eb62(0x208))/0x2)+parseInt(_0x28eb62(0x283))/0x3+parseInt(_0x28eb62(0x25b))/0x4*(parseInt(_0x28eb62(0x219))/0x5)+parseInt(_0x28eb62(0x1b4))/0x6*(-parseInt(_0x28eb62(0x23c))/0x7)+parseInt(_0x28eb62(0x24c))/0x8*(-parseInt(_0x28eb62(0x16b))/0x9)+-parseInt(_0x28eb62(0x24d))/0xa+parseInt(_0x28eb62(0x240))/0xb;if(_0x43fd34===_0x3f03b1)break;else _0x3ee2b1['push'](_0x3ee2b1['shift']());}catch(_0xaf994b){_0x3ee2b1['push'](_0x3ee2b1['shift']());}}}(_0xb83c,0x8b1e4),function(_0x11e38b,_0x400934){const _0x21cf98=_0xa7a7;typeof exports==_0x21cf98(0x1c5)&&typeof module<'u'?_0x400934(exports,require('@univerjs-pro/engine-formula'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs'),require('@univerjs-pro/license')):typeof define==_0x21cf98(0x21c)&&define[_0x21cf98(0x1c2)]?define([_0x21cf98(0x25e),'@univerjs-pro/engine-formula',_0x21cf98(0x23d),_0x21cf98(0x237),_0x21cf98(0x192),_0x21cf98(0x165),'@univerjs-pro/license'],_0x400934):(_0x11e38b=typeof globalThis<'u'?globalThis:_0x11e38b||self,_0x400934(_0x11e38b['UniverProDocsFormula']={},_0x11e38b['UniverProEngineFormula'],_0x11e38b[_0x21cf98(0x24e)],_0x11e38b[_0x21cf98(0x1a4)],_0x11e38b['UniverEngineFormula'],_0x11e38b['rxjs'],_0x11e38b[_0x21cf98(0x218)]));}(this,function(_0x502800,_0x138dd0,_0x42b9d4,_0x554914,_0xf5658,_0x58159d,_0x43fe23){const _0x264e36=_0xa7a7;Object['defineProperty'](_0x502800,Symbol['toStringTag'],{'value':'Module'});let _0x3d28a0=_0x264e36(0x22f),_0x48c9c7=_0x264e36(0x290);function _0x5c7567(){return{'schemaVersion':0x1,'formulas':{}};}function _0x4d9d4b(_0x4dd13f){const _0x3d9de6=_0x264e36;return!_0x4dd13f||typeof _0x4dd13f!=_0x3d9de6(0x1c5)||!_0x134452(_0x4dd13f,['schemaVersion',_0x3d9de6(0x23a)])||!(_0x3d9de6(0x250)in _0x4dd13f)||_0x4dd13f[_0x3d9de6(0x250)]!==0x1||!('formulas'in _0x4dd13f)||!_0x4dd13f[_0x3d9de6(0x23a)]||typeof _0x4dd13f[_0x3d9de6(0x23a)]!='object'||Array[_0x3d9de6(0x186)](_0x4dd13f[_0x3d9de6(0x23a)])?!0x1:Object[_0x3d9de6(0x266)](_0x4dd13f[_0x3d9de6(0x23a)])[_0x3d9de6(0x24f)](([_0x5714d2,_0x39a8b8])=>_0x5714d2['length']>0x0&&_0x3a626b(_0x39a8b8));}function _0x3a626b(_0x11879c){const _0x4ec8e9=_0x264e36;return!_0x11879c||typeof _0x11879c!=_0x4ec8e9(0x1c5)||!_0x134452(_0x11879c,[_0x4ec8e9(0x1b7),_0x4ec8e9(0x1f8),'lastValue'])||!(_0x4ec8e9(0x1b7)in _0x11879c)||typeof _0x11879c['formula']!=_0x4ec8e9(0x1ef)||!_0x11879c[_0x4ec8e9(0x1b7)][_0x4ec8e9(0x1f9)]()||'numberFormat'in _0x11879c&&_0x11879c[_0x4ec8e9(0x1f8)]!=null&&(typeof _0x11879c['numberFormat']!=_0x4ec8e9(0x1c5)||!_0x134452(_0x11879c[_0x4ec8e9(0x1f8)],['pattern'])||!('pattern'in _0x11879c['numberFormat'])||typeof _0x11879c[_0x4ec8e9(0x1f8)][_0x4ec8e9(0x16a)]!=_0x4ec8e9(0x1ef))?!0x1:!(_0x4ec8e9(0x1bf)in _0x11879c)||_0x11879c[_0x4ec8e9(0x1bf)]==null||_0x12f29b(_0x11879c['lastValue']);}function _0x12f29b(_0x36abea){const _0x267504=_0x264e36;return!_0x36abea||typeof _0x36abea!=_0x267504(0x1c5)||!_0x134452(_0x36abea,['v','t','pattern'])||!('v'in _0x36abea)||_0x36abea['v']!==null&&typeof _0x36abea['v']!='string'&&typeof _0x36abea['v']!=_0x267504(0x2a3)&&typeof _0x36abea['v']!=_0x267504(0x20e)||'t'in _0x36abea&&_0x36abea['t']!=null&&!_0x51ad1e(_0x36abea['t'])?!0x1:!(_0x267504(0x16a)in _0x36abea)||_0x36abea[_0x267504(0x16a)]==null||typeof _0x36abea[_0x267504(0x16a)]=='string';}function _0x134452(_0x4deaeb,_0x16b64d){const _0x4e37d5=_0x264e36;let _0x164c64=new Set(_0x16b64d);return Object[_0x4e37d5(0x272)](_0x4deaeb)['every'](_0x34ddb0=>_0x164c64[_0x4e37d5(0x163)](_0x34ddb0));}function _0x51ad1e(_0x4008be){const _0x5b58da=_0x264e36;return typeof _0x4008be==_0x5b58da(0x2a3)&&Object[_0x5b58da(0x2ad)](_0x42b9d4['CellValueType'])[_0x5b58da(0x1eb)](_0x4008be);}let _0x4c2344=new Set([_0x42b9d4['DataStreamTreeTokenType'][_0x264e36(0x19a)],_0x42b9d4['DataStreamTreeTokenType'][_0x264e36(0x2aa)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x295)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x174)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x261)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x173)],_0x42b9d4['DataStreamTreeTokenType'][_0x264e36(0x23b)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x206)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x29f)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x1ee)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x1dc)],_0x42b9d4['DataStreamTreeTokenType'][_0x264e36(0x1b8)],_0x42b9d4[_0x264e36(0x1e2)][_0x264e36(0x1a8)],_0x42b9d4['DataStreamTreeTokenType']['CUSTOM_BLOCK']]);var _0x2d09c5=class extends Error{constructor(){const _0x132f5a=_0x264e36;super(_0x132f5a(0x18f));}};function _0x59ec7a(_0x30d308){const _0x45ee9c=_0x264e36;var _0x149017,_0xf00b8f;let _0x274e91=_0x42b9d4['Tools'][_0x45ee9c(0x244)](_0x30d308['documentData']),_0x3cca0e=_0x36ce15(_0x274e91),{startOffset:_0x11df9f,endOffset:_0xa383c}=_0x1dfba6(_0x3cca0e,_0x30d308['startOffset'],_0x30d308[_0x45ee9c(0x164)]);_0x350f35(_0x3cca0e,_0x11df9f,_0xa383c);let _0x2b9a5f=((_0x149017=_0x3cca0e[_0x45ee9c(0x20d)])==null?void 0x0:_0x149017['filter'](_0x242b21=>{const _0x5bf3fb=_0x45ee9c;if(!_0x5b5048(_0x242b21))return!0x1;let _0x58bc27=(0x0,_0x42b9d4[_0x5bf3fb(0x178)])(_0x242b21);return _0x58bc27[_0x5bf3fb(0x164)]>_0x11df9f&&_0x58bc27[_0x5bf3fb(0x27e)]<_0xa383c;})['map'](_0x53c25f=>_0x53c25f[_0x45ee9c(0x26a)]))??[];_0x53f91f(_0x3cca0e,_0x11df9f,_0xa383c,''),_0x3cca0e[_0x45ee9c(0x20d)]=[...((_0xf00b8f=_0x3cca0e[_0x45ee9c(0x20d)])==null?void 0x0:_0xf00b8f['filter'](_0x2a7d10=>!_0x2b9a5f['includes'](_0x2a7d10['rangeId'])&&_0x2a7d10[_0x45ee9c(0x26a)]!==_0x30d308[_0x45ee9c(0x26a)]))??[],_0x342733(_0x30d308['rangeId'],_0x11df9f)][_0x45ee9c(0x17e)]((_0x175264,_0x1c85d3)=>_0x175264[_0x45ee9c(0x185)]-_0x1c85d3[_0x45ee9c(0x185)]);let _0x469bb9=_0xebc05c(_0x30d308[_0x45ee9c(0x19c)]);return _0x2b9a5f['forEach'](_0x245136=>{const _0x49e950=_0x45ee9c;delete _0x469bb9[_0x49e950(0x23a)][_0x245136];}),_0x469bb9[_0x45ee9c(0x23a)][_0x30d308[_0x45ee9c(0x26a)]]=_0x42b9d4[_0x45ee9c(0x181)]['deepClone'](_0x30d308['config']),{'nextDocumentData':_0x274e91,'nextResource':_0x469bb9,'cursorOffset':_0x11df9f+0x1};}function _0x266b43(_0x2f5ae1){const _0x6125a1=_0x264e36;var _0x1e5188,_0x3b6065;let _0x5008ae=_0x42b9d4[_0x6125a1(0x181)]['deepClone'](_0x2f5ae1[_0x6125a1(0x1a1)]),_0x123b9e=(_0x1e5188=_0x36ce15(_0x5008ae)[_0x6125a1(0x20d)])==null?void 0x0:_0x1e5188[_0x6125a1(0x29e)](_0x5271a0=>_0x5271a0['rangeId']===_0x2f5ae1[_0x6125a1(0x26a)]&&_0x5b5048(_0x5271a0));if(!_0x123b9e||!((_0x3b6065=_0x2f5ae1['resource'])!=null&&_0x3b6065['formulas'][_0x2f5ae1[_0x6125a1(0x26a)]]))return null;let _0x2db3ae=_0xebc05c(_0x2f5ae1['resource']);return _0x2db3ae[_0x6125a1(0x23a)][_0x2f5ae1[_0x6125a1(0x26a)]]=_0x42b9d4['Tools'][_0x6125a1(0x244)](_0x2f5ae1[_0x6125a1(0x2a5)]),{'nextDocumentData':_0x5008ae,'nextResource':_0x2db3ae,'cursorOffset':_0x123b9e[_0x6125a1(0x16c)]+0x1};}function _0x3e159c(_0x1760bc){const _0x3baa9c=_0x264e36;let _0x4c0638=_0x42b9d4[_0x3baa9c(0x181)][_0x3baa9c(0x244)](_0x1760bc['documentData']),_0xe6d6c9=_0xd57e4d(_0x4c0638,_0x1760bc['rangeId'],_0x1760bc[_0x3baa9c(0x198)]??'');if(_0xe6d6c9==null)return null;let _0x11f412=_0xebc05c(_0x1760bc[_0x3baa9c(0x19c)]);return delete _0x11f412[_0x3baa9c(0x23a)][_0x1760bc['rangeId']],{'nextDocumentData':_0x4c0638,'nextResource':_0x11f412,'cursorOffset':_0xe6d6c9};}function _0x5088dd(_0x4e7bad,_0x10bb8d){const _0x29cd=_0x264e36;var _0x3a6bd6;let _0x3b40ed=_0x42b9d4['Tools'][_0x29cd(0x244)](_0x4e7bad),_0x349368=_0x3b40ed['body'];if(!_0x349368)return _0x3b40ed;let _0x534836=new Map(_0x10bb8d[_0x29cd(0x25f)](_0xcafd03=>[_0xcafd03['rangeId'],_0xcafd03[_0x29cd(0x198)]])),_0x49fe09=((_0x3a6bd6=_0x349368[_0x29cd(0x20d)])==null?void 0x0:_0x3a6bd6[_0x29cd(0x291)](_0x54be6f=>_0x5b5048(_0x54be6f)&&_0x534836['has'](_0x54be6f[_0x29cd(0x26a)]))[_0x29cd(0x17e)]((_0x29ca44,_0x381e2e)=>_0x381e2e[_0x29cd(0x185)]-_0x29ca44[_0x29cd(0x185)]))??[];for(let _0x22fb2b of _0x49fe09)_0xd57e4d(_0x3b40ed,_0x22fb2b[_0x29cd(0x26a)],_0x534836[_0x29cd(0x255)](_0x22fb2b[_0x29cd(0x26a)])??'');return _0x3b40ed;}function _0x5b5048(_0x1e4edd){const _0x2db75f=_0x264e36;var _0x3b65cb;return(_0x1e4edd==null?void 0x0:_0x1e4edd[_0x2db75f(0x279)])===_0x42b9d4[_0x2db75f(0x1f7)]['CUSTOM']&&_0x1e4edd['wholeEntity']===!0x0&&((_0x3b65cb=_0x1e4edd[_0x2db75f(0x21a)])==null?void 0x0:_0x3b65cb[_0x2db75f(0x16e)])===_0x2db75f(0x290);}function _0xe4a3ff(_0x3c7505,_0xac680b){const _0x1d37d0=_0x264e36;var _0x3f3ee0;return _0x3c7505==null||(_0x3f3ee0=_0x3c7505['customRanges'])==null?void 0x0:_0x3f3ee0[_0x1d37d0(0x29e)](_0x45e923=>_0x45e923[_0x1d37d0(0x26a)]===_0xac680b&&_0x5b5048(_0x45e923));}function _0x350f35(_0x20b2e3,_0x22de97,_0x58d981){const _0x31a74b=_0x264e36;if(_0x22de97===_0x58d981){if(_0x4c2344[_0x31a74b(0x163)](_0x20b2e3['dataStream'][_0x22de97]))throw new _0x2d09c5();}else{for(let _0x40de21=_0x22de97;_0x40de21<_0x58d981;_0x40de21++)if(_0x20b2e3['dataStream'][_0x40de21]===_0x42b9d4[_0x31a74b(0x1e2)][_0x31a74b(0x1f5)]||_0x4c2344[_0x31a74b(0x163)](_0x20b2e3[_0x31a74b(0x17d)][_0x40de21]))throw new _0x2d09c5();}}function _0x342733(_0x238f25,_0x1d3a92){const _0x2acfef=_0x264e36;return{'startIndex':_0x1d3a92,'endIndex':_0x1d3a92,'rangeId':_0x238f25,'rangeType':_0x42b9d4[_0x2acfef(0x1f7)]['CUSTOM'],'wholeEntity':!0x0,'properties':{'kind':_0x48c9c7}};}function _0xebc05c(_0x2f14ff){const _0x333051=_0x264e36;return _0x2f14ff?_0x42b9d4[_0x333051(0x181)][_0x333051(0x244)](_0x2f14ff):_0x5c7567();}function _0x1dfba6(_0x47dbea,_0x3b3fac,_0x4743c9){const _0x147c25=_0x264e36;let _0x117dd0=_0x245434(_0x47dbea),_0x133f7e=_0x3b3fac??_0x117dd0,_0x13f614=_0x4743c9??_0x133f7e;return{'startOffset':_0x11780e(Math[_0x147c25(0x220)](_0x133f7e,_0x13f614),_0x117dd0),'endOffset':_0x11780e(Math['max'](_0x133f7e,_0x13f614),_0x117dd0)};}function _0x11780e(_0x25ee53,_0x1a6681){const _0xdcd0c8=_0x264e36;return Math[_0xdcd0c8(0x190)](0x0,Math['min'](_0x25ee53,_0x1a6681));}function _0x245434(_0x3dd22f){const _0x3ab037=_0x264e36;return _0x3dd22f[_0x3ab037(0x17d)]['endsWith'](''+_0x42b9d4[_0x3ab037(0x1e2)][_0x3ab037(0x1f5)]+_0x42b9d4['DataStreamTreeTokenType'][_0x3ab037(0x19a)])?Math['max'](0x0,_0x3dd22f[_0x3ab037(0x17d)][_0x3ab037(0x1ba)]-0x2):_0x3dd22f[_0x3ab037(0x17d)]['endsWith'](_0x42b9d4['DataStreamTreeTokenType']['SECTION_BREAK'])?Math[_0x3ab037(0x190)](0x0,_0x3dd22f[_0x3ab037(0x17d)][_0x3ab037(0x1ba)]-0x1):_0x3dd22f[_0x3ab037(0x17d)]['length'];}function _0x53f91f(_0x577963,_0x13a3e3,_0x310282,_0x9c9f1e){_0x310282>_0x13a3e3&&_0x1c2b38(_0x577963,_0x13a3e3,_0x310282),_0xdaca2b(_0x577963,_0x13a3e3,_0x9c9f1e);}function _0xd57e4d(_0x4f4516,_0x2baa0a,_0x25ec14){const _0x1248c4=_0x264e36;var _0x2abd78,_0x5b6a6f;let _0x4fbf42=_0x36ce15(_0x4f4516),_0x37e093=(_0x2abd78=_0x4fbf42[_0x1248c4(0x20d)])==null?void 0x0:_0x2abd78['find'](_0x5bad49=>_0x5bad49[_0x1248c4(0x26a)]===_0x2baa0a&&_0x5b5048(_0x5bad49));if(!_0x37e093)return null;let _0x29e765=(0x0,_0x42b9d4[_0x1248c4(0x178)])(_0x37e093);return _0x53f91f(_0x4fbf42,_0x29e765[_0x1248c4(0x27e)],_0x29e765[_0x1248c4(0x164)],_0x25ec14),_0x4fbf42[_0x1248c4(0x20d)]=(_0x5b6a6f=_0x4fbf42[_0x1248c4(0x20d)])==null?void 0x0:_0x5b6a6f[_0x1248c4(0x291)](_0x2057f9=>_0x2057f9['rangeId']!==_0x2baa0a),_0x29e765[_0x1248c4(0x27e)]+_0x25ec14[_0x1248c4(0x1ba)];}function _0xdaca2b(_0x525941,_0x171034,_0xe9dc52){const _0x78c146=_0x264e36;_0xe9dc52&&(_0x525941[_0x78c146(0x17d)]=''+_0x525941[_0x78c146(0x17d)][_0x78c146(0x20a)](0x0,_0x171034)+_0xe9dc52+_0x525941[_0x78c146(0x17d)][_0x78c146(0x20a)](_0x171034),_0x1dceaf(_0x525941,_0x171034,_0xe9dc52['length']));}function _0x1c2b38(_0x4de99f,_0x1882d7,_0x5e25f0){const _0x6eba11=_0x264e36;let _0x57383b=_0x5e25f0-_0x1882d7;_0x4de99f[_0x6eba11(0x17d)]=''+_0x4de99f['dataStream'][_0x6eba11(0x20a)](0x0,_0x1882d7)+_0x4de99f[_0x6eba11(0x17d)]['slice'](_0x5e25f0),_0x4e1288(_0x4de99f,_0x1882d7,_0x57383b);}function _0x1dceaf(_0xcc96e3,_0x488132,_0x278a97){const _0x23df17=_0x264e36;_0xcc96e3['paragraphs']=_0x3e9aec(_0xcc96e3[_0x23df17(0x288)],_0x488132,_0x278a97),_0xcc96e3[_0x23df17(0x18d)]=_0x3e9aec(_0xcc96e3[_0x23df17(0x18d)],_0x488132,_0x278a97),_0xcc96e3[_0x23df17(0x2a1)]=_0x3e9aec(_0xcc96e3['customBlocks'],_0x488132,_0x278a97),_0xcc96e3[_0x23df17(0x166)]=_0x545910(_0xcc96e3[_0x23df17(0x166)],_0x488132,_0x278a97),_0xcc96e3['tables']=_0x21c4cd(_0xcc96e3[_0x23df17(0x228)],_0x488132,_0x278a97),_0xcc96e3[_0x23df17(0x280)]=_0x5216b3(_0xcc96e3[_0x23df17(0x280)],_0x488132,_0x278a97),_0xcc96e3[_0x23df17(0x20d)]=_0x5216b3(_0xcc96e3[_0x23df17(0x20d)],_0x488132,_0x278a97),_0xcc96e3[_0x23df17(0x298)]=_0x5216b3(_0xcc96e3[_0x23df17(0x298)],_0x488132,_0x278a97),_0xcc96e3['blockRanges']=_0x5216b3(_0xcc96e3[_0x23df17(0x1e0)],_0x488132,_0x278a97);}function _0x4e1288(_0x274d1e,_0xd5c0bc,_0x4c2271){const _0xea2d3c=_0x264e36;var _0xb231a1,_0x2be857;_0x274d1e[_0xea2d3c(0x288)]=_0x55aa02(_0x274d1e[_0xea2d3c(0x288)],_0xd5c0bc,_0x4c2271),_0x274d1e[_0xea2d3c(0x18d)]=_0x55aa02(_0x274d1e[_0xea2d3c(0x18d)],_0xd5c0bc,_0x4c2271),_0x274d1e[_0xea2d3c(0x2a1)]=_0x55aa02(_0x274d1e[_0xea2d3c(0x2a1)],_0xd5c0bc,_0x4c2271),_0x274d1e[_0xea2d3c(0x166)]=(_0xb231a1=_0x42a975((_0x2be857=_0x274d1e[_0xea2d3c(0x166)])==null?void 0x0:_0x2be857[_0xea2d3c(0x25f)](_0x3139de=>({..._0x3139de,'startIndex':_0x3139de['st'],'endIndex':_0x3139de['ed']})),_0xd5c0bc,_0x4c2271))==null?void 0x0:_0xb231a1[_0xea2d3c(0x25f)](_0x311b50=>{let {startIndex:_0x14f699,endIndex:_0x568f6a,..._0x193ff1}=_0x311b50;return{..._0x193ff1,'st':_0x14f699,'ed':_0x568f6a};}),_0x274d1e[_0xea2d3c(0x228)]=_0x42a975(_0x274d1e[_0xea2d3c(0x228)],_0xd5c0bc,_0x4c2271),_0x274d1e[_0xea2d3c(0x280)]=_0xb397df(_0x274d1e[_0xea2d3c(0x280)],_0xd5c0bc,_0x4c2271),_0x274d1e[_0xea2d3c(0x20d)]=_0xb397df(_0x274d1e['customRanges'],_0xd5c0bc,_0x4c2271),_0x274d1e['customDecorations']=_0xb397df(_0x274d1e[_0xea2d3c(0x298)],_0xd5c0bc,_0x4c2271),_0x274d1e['blockRanges']=_0xb397df(_0x274d1e['blockRanges'],_0xd5c0bc,_0x4c2271);}function _0x3e9aec(_0x2dd38b,_0x226d15,_0x2df4c4){const _0x434383=_0x264e36;return _0x2dd38b==null?void 0x0:_0x2dd38b[_0x434383(0x25f)](_0x5b17df=>_0x5b17df[_0x434383(0x185)]>=_0x226d15?{..._0x5b17df,'startIndex':_0x5b17df['startIndex']+_0x2df4c4}:_0x5b17df);}function _0x55aa02(_0xe10e86,_0x1433b1,_0x26e401){const _0x1e76e9=_0x264e36;let _0x205536=_0x1433b1+_0x26e401;return _0xe10e86==null?void 0x0:_0xe10e86[_0x1e76e9(0x25f)](_0x4b0ed8=>_0x4b0ed8[_0x1e76e9(0x185)]>=_0x1433b1&&_0x4b0ed8[_0x1e76e9(0x185)]<_0x205536?null:_0x4b0ed8[_0x1e76e9(0x185)]>=_0x205536?{..._0x4b0ed8,'startIndex':_0x4b0ed8['startIndex']-_0x26e401}:_0x4b0ed8)[_0x1e76e9(0x291)](_0x3753aa=>_0x3753aa!=null);}function _0x545910(_0x4d9cf5,_0x2dc2ce,_0x5a5017){const _0x28c666=_0x264e36;return _0x4d9cf5==null?void 0x0:_0x4d9cf5[_0x28c666(0x25f)](_0x503cb7=>_0x503cb7['st']>=_0x2dc2ce?{..._0x503cb7,'st':_0x503cb7['st']+_0x5a5017,'ed':_0x503cb7['ed']+_0x5a5017}:_0x503cb7['ed']>_0x2dc2ce?{..._0x503cb7,'ed':_0x503cb7['ed']+_0x5a5017}:_0x503cb7);}function _0x5216b3(_0x5f1e49,_0x2f2e12,_0xb106ff){const _0x349e9e=_0x264e36;return _0x5f1e49==null?void 0x0:_0x5f1e49[_0x349e9e(0x25f)](_0x5111b4=>(0x0,_0x42b9d4[_0x349e9e(0x17a)])(_0x5111b4,_0x2f2e12,_0xb106ff));}function _0x21c4cd(_0x396340,_0x46d265,_0x4da9a7){const _0x5450ff=_0x264e36;return _0x396340==null?void 0x0:_0x396340['map'](_0x29513a=>(0x0,_0x42b9d4[_0x5450ff(0x212)])(_0x29513a,_0x46d265,_0x4da9a7));}function _0xb397df(_0x486b42,_0x3297a2,_0x24b950){const _0x4ccfa4=_0x264e36;return _0x486b42==null?void 0x0:_0x486b42['map'](_0x17b59c=>(0x0,_0x42b9d4[_0x4ccfa4(0x169)])(_0x17b59c,_0x3297a2,_0x24b950))[_0x4ccfa4(0x291)](_0x34878b=>_0x34878b!=null);}function _0x42a975(_0x56b78c,_0x47d923,_0x21092c){const _0x3241f4=_0x264e36;return _0x56b78c==null?void 0x0:_0x56b78c[_0x3241f4(0x25f)](_0x444337=>(0x0,_0x42b9d4[_0x3241f4(0x27b)])(_0x444337,_0x47d923,_0x21092c))['filter'](_0x721109=>_0x721109!=null);}function _0x36ce15(_0x310fa6){const _0x34ddab=_0x264e36;if(!_0x310fa6[_0x34ddab(0x1ff)])throw Error('Document\x20main\x20body\x20is\x20required\x20to\x20insert\x20Doc\x20Formula.');return _0x310fa6[_0x34ddab(0x1ff)];}function _0x284c45(_0x20fa55){'@babel/helpers - typeof';const _0x21bee6=_0x264e36;return _0x284c45=typeof Symbol==_0x21bee6(0x21c)&&typeof Symbol['iterator']==_0x21bee6(0x2a4)?function(_0x1370c6){return typeof _0x1370c6;}:function(_0x481efe){const _0x4bddaf=_0x21bee6;return _0x481efe&&typeof Symbol=='function'&&_0x481efe[_0x4bddaf(0x1f3)]===Symbol&&_0x481efe!==Symbol[_0x4bddaf(0x2af)]?'symbol':typeof _0x481efe;},_0x284c45(_0x20fa55);}function _0x4c4f06(_0x21da3a,_0x2e36d3){const _0x1f06a6=_0x264e36;if(_0x284c45(_0x21da3a)!=_0x1f06a6(0x1c5)||!_0x21da3a)return _0x21da3a;var _0x348b79=_0x21da3a[Symbol[_0x1f06a6(0x177)]];if(_0x348b79!==void 0x0){var _0xbca7f5=_0x348b79[_0x1f06a6(0x2b0)](_0x21da3a,_0x2e36d3||'default');if(_0x284c45(_0xbca7f5)!=_0x1f06a6(0x1c5))return _0xbca7f5;throw TypeError(_0x1f06a6(0x1a2));}return(_0x2e36d3==='string'?String:Number)(_0x21da3a);}function _0x305794(_0xc58b22){const _0x4a0eb5=_0x264e36;var _0x286b6d=_0x4c4f06(_0xc58b22,_0x4a0eb5(0x1ef));return _0x284c45(_0x286b6d)==_0x4a0eb5(0x2a4)?_0x286b6d:_0x286b6d+'';}function _0x4b071f(_0x27b6d8,_0x238fe3,_0x4c66ac){const _0x4367f8=_0x264e36;return(_0x238fe3=_0x305794(_0x238fe3))in _0x27b6d8?Object[_0x4367f8(0x1ac)](_0x27b6d8,_0x238fe3,{'value':_0x4c66ac,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27b6d8[_0x238fe3]=_0x4c66ac,_0x27b6d8;}var _0x136dfa=class extends _0x42b9d4[_0x264e36(0x227)]{constructor(..._0x3006fb){const _0x2b991f=_0x264e36;super(..._0x3006fb),_0x4b071f(this,_0x2b991f(0x1cc),new Map()),_0x4b071f(this,'_rawResources',new Map()),_0x4b071f(this,'_loadErrors',new Map()),_0x4b071f(this,_0x2b991f(0x2ac),new _0x58159d[(_0x2b991f(0x2ab))]()),_0x4b071f(this,_0x2b991f(0x299),this[_0x2b991f(0x2ac)]['asObservable']());}[_0x264e36(0x221)](_0x4d0ac0,_0x1e2dc3){const _0x172f83=_0x264e36;var _0x2a2176;let _0x1b5c6d=(_0x2a2176=this[_0x172f83(0x1cc)][_0x172f83(0x255)](_0x4d0ac0))==null?void 0x0:_0x2a2176['formulas'][_0x1e2dc3];return _0x1b5c6d?_0x42b9d4[_0x172f83(0x181)][_0x172f83(0x244)](_0x1b5c6d):void 0x0;}[_0x264e36(0x204)](_0x534f9a){const _0x47e4c1=_0x264e36;var _0x59a62c;return _0x42b9d4['Tools'][_0x47e4c1(0x244)](((_0x59a62c=this[_0x47e4c1(0x1cc)]['get'](_0x534f9a))==null?void 0x0:_0x59a62c[_0x47e4c1(0x23a)])??{});}[_0x264e36(0x1fa)](_0x5a2513){const _0x52749b=_0x264e36;let _0x3d50f9=this[_0x52749b(0x1cc)]['get'](_0x5a2513);return _0x3d50f9?_0x42b9d4[_0x52749b(0x181)][_0x52749b(0x244)](_0x3d50f9):void 0x0;}[_0x264e36(0x1f0)](_0x52e84c,_0x375464,_0x400781){const _0x5912de=_0x264e36;return this[_0x5912de(0x1bd)](_0x52e84c,{[_0x375464]:_0x400781});}[_0x264e36(0x28e)](_0x2f0315,_0x129c6c){const _0x3510bd=_0x264e36;return this[_0x3510bd(0x285)][_0x3510bd(0x163)](_0x2f0315)||!_0x4d9d4b(_0x129c6c)?!0x1:(this[_0x3510bd(0x1cc)][_0x3510bd(0x16d)](_0x2f0315,_0x42b9d4[_0x3510bd(0x181)]['deepClone'](_0x129c6c)),this[_0x3510bd(0x2ac)][_0x3510bd(0x1de)]({'unitId':_0x2f0315}),!0x0);}[_0x264e36(0x1bd)](_0x257868,_0x1ddf80){const _0x250a07=_0x264e36;if(this['_loadErrors'][_0x250a07(0x163)](_0x257868)||!Object[_0x250a07(0x272)](_0x1ddf80)[_0x250a07(0x1ba)]||!_0x4d9d4b({'schemaVersion':0x1,'formulas':_0x1ddf80}))return!0x1;let _0x15c280=this[_0x250a07(0x1cc)]['get'](_0x257868)??_0x5c7567(),_0x58e28a=_0x42b9d4['Tools'][_0x250a07(0x244)](_0x15c280);return Object['assign'](_0x58e28a[_0x250a07(0x23a)],_0x42b9d4[_0x250a07(0x181)]['deepClone'](_0x1ddf80)),this['_resources'][_0x250a07(0x16d)](_0x257868,_0x58e28a),this['_change$'][_0x250a07(0x1de)]({'unitId':_0x257868,'rangeIds':Object[_0x250a07(0x272)](_0x1ddf80)}),!0x0;}['removeFormula'](_0x5129a4,_0x2fed17){const _0x2f4188=_0x264e36;if(this[_0x2f4188(0x285)][_0x2f4188(0x163)](_0x5129a4))return!0x1;let _0x188adf=this[_0x2f4188(0x1cc)]['get'](_0x5129a4);if(!(_0x188adf!=null&&_0x188adf[_0x2f4188(0x23a)][_0x2fed17]))return!0x1;let _0x9587c4=_0x42b9d4[_0x2f4188(0x181)]['deepClone'](_0x188adf);return delete _0x9587c4[_0x2f4188(0x23a)][_0x2fed17],this[_0x2f4188(0x1cc)][_0x2f4188(0x16d)](_0x5129a4,_0x9587c4),this[_0x2f4188(0x2ac)]['next']({'unitId':_0x5129a4,'rangeIds':[_0x2fed17]}),!0x0;}['load'](_0x11035e,_0x2c1f57){const _0x55c31b=_0x264e36;return _0x2c1f57&&typeof _0x2c1f57==_0x55c31b(0x1c5)&&_0x55c31b(0x250)in _0x2c1f57&&_0x2c1f57['schemaVersion']!==0x1?(this['_preserveInvalid'](_0x11035e,_0x2c1f57,_0x55c31b(0x20c)),!0x1):_0x4d9d4b(_0x2c1f57)?(this[_0x55c31b(0x1cc)][_0x55c31b(0x16d)](_0x11035e,_0x42b9d4[_0x55c31b(0x181)]['deepClone'](_0x2c1f57)),this[_0x55c31b(0x26e)][_0x55c31b(0x1d5)](_0x11035e),this[_0x55c31b(0x285)][_0x55c31b(0x1d5)](_0x11035e),this['_change$'][_0x55c31b(0x1de)]({'unitId':_0x11035e}),!0x0):(this[_0x55c31b(0x1ab)](_0x11035e,_0x2c1f57,'invalid-resource'),!0x1);}['serialize'](_0x5ede79){const _0x5e8bf8=_0x264e36;let _0x4c7a5a=this['_resources'][_0x5e8bf8(0x255)](_0x5ede79);return _0x4c7a5a?_0x42b9d4[_0x5e8bf8(0x181)][_0x5e8bf8(0x244)](_0x4c7a5a):this['_rawResources'][_0x5e8bf8(0x163)](_0x5ede79)?_0x42b9d4['Tools'][_0x5e8bf8(0x244)](this[_0x5e8bf8(0x26e)][_0x5e8bf8(0x255)](_0x5ede79)):_0x5c7567();}[_0x264e36(0x194)](_0x34c174){return this['_loadErrors']['get'](_0x34c174);}['removeUnit'](_0x40433c){const _0xf0a461=_0x264e36;this[_0xf0a461(0x1cc)][_0xf0a461(0x1d5)](_0x40433c),this['_rawResources'][_0xf0a461(0x1d5)](_0x40433c),this[_0xf0a461(0x285)][_0xf0a461(0x1d5)](_0x40433c),this[_0xf0a461(0x2ac)]['next']({'unitId':_0x40433c});}['dispose'](){const _0x2df966=_0x264e36;this['_resources'][_0x2df966(0x248)](),this[_0x2df966(0x26e)][_0x2df966(0x248)](),this[_0x2df966(0x285)][_0x2df966(0x248)](),this[_0x2df966(0x2ac)][_0x2df966(0x19d)](),super['dispose']();}[_0x264e36(0x1ab)](_0x310e31,_0x5b58dc,_0x14b48e){const _0x2763aa=_0x264e36;this[_0x2763aa(0x1cc)][_0x2763aa(0x1d5)](_0x310e31),this['_rawResources'][_0x2763aa(0x16d)](_0x310e31,_0x42b9d4[_0x2763aa(0x181)]['deepClone'](_0x5b58dc)),this[_0x2763aa(0x285)][_0x2763aa(0x16d)](_0x310e31,_0x14b48e),this['_change$'][_0x2763aa(0x1de)]({'unitId':_0x310e31});}};let _0x17a4fa=function(_0x17c50b){const _0x37a70f=_0x264e36;return _0x17c50b[_0x37a70f(0x236)]=_0x37a70f(0x249),_0x17c50b['PENDING']=_0x37a70f(0x276),_0x17c50b[_0x37a70f(0x2a2)]=_0x37a70f(0x209),_0x17c50b[_0x37a70f(0x182)]='error',_0x17c50b;}({});function _0x5eb961(_0xfdb8dd,_0x2e7d13){return function(_0x5b2aef,_0xe5823d){_0x2e7d13(_0x5b2aef,_0xe5823d,_0xfdb8dd);};}function _0x41e1df(_0x480f67,_0x1ac099,_0x2c33dd,_0x480c2e){const _0x12d4dc=_0x264e36;var _0x221c9e=arguments[_0x12d4dc(0x1ba)],_0x1a5fda=_0x221c9e<0x3?_0x1ac099:_0x480c2e===null?_0x480c2e=Object[_0x12d4dc(0x22b)](_0x1ac099,_0x2c33dd):_0x480c2e,_0x1f72bc;if(typeof Reflect==_0x12d4dc(0x1c5)&&typeof Reflect['decorate']==_0x12d4dc(0x21c))_0x1a5fda=Reflect[_0x12d4dc(0x292)](_0x480f67,_0x1ac099,_0x2c33dd,_0x480c2e);else{for(var _0x40ba07=_0x480f67[_0x12d4dc(0x1ba)]-0x1;_0x40ba07>=0x0;_0x40ba07--)(_0x1f72bc=_0x480f67[_0x40ba07])&&(_0x1a5fda=(_0x221c9e<0x3?_0x1f72bc(_0x1a5fda):_0x221c9e>0x3?_0x1f72bc(_0x1ac099,_0x2c33dd,_0x1a5fda):_0x1f72bc(_0x1ac099,_0x2c33dd))||_0x1a5fda);}return _0x221c9e>0x3&&_0x1a5fda&&Object[_0x12d4dc(0x1ac)](_0x1ac099,_0x2c33dd,_0x1a5fda),_0x1a5fda;}let _0x567cc8=class extends _0x42b9d4[_0x264e36(0x227)]{constructor(_0x3f9330,_0xfbab3d,_0x126b97){const _0x294a3d=_0x264e36;super(),this[_0x294a3d(0x1bb)]=_0x3f9330,this[_0x294a3d(0x18e)]=_0xfbab3d,this['_hostExternalReferenceModel']=_0x126b97,_0x4b071f(this,_0x294a3d(0x1be),new Map()),_0x4b071f(this,_0x294a3d(0x1c6),new Map()),_0x4b071f(this,'_presentationChanged$',new _0x58159d['Subject']()),_0x4b071f(this,_0x294a3d(0x28a),this[_0x294a3d(0x28b)]['asObservable']()),this[_0x294a3d(0x22d)](this[_0x294a3d(0x18e)]['formulaResult$'][_0x294a3d(0x199)](_0x2cea6a=>{const _0x595005=_0x294a3d;for(let _0x989cb2 of Object['values'](_0x2cea6a))for(let _0x24e66b of Object[_0x595005(0x2ad)](_0x989cb2))_0x24e66b['forEach'](_0xdb0694=>this[_0x595005(0x1ec)](_0xdb0694));}));}['syncUnit'](_0x46f7e2){const _0x40b755=_0x264e36;var _0xce4064;let _0xf7ab64=_0x46f7e2[_0x40b755(0x1f6)](),_0x45f40c=((_0xce4064=_0x46f7e2['getSnapshot']()['body'])==null||(_0xce4064=_0xce4064[_0x40b755(0x20d)])==null?void 0x0:_0xce4064[_0x40b755(0x291)](_0x5b5048))??[],_0x4e32ea=this['_model']['getFormulas'](_0xf7ab64),_0x4657c2=new Set();for(let _0x1d072a of _0x45f40c){let _0x292ecb=_0x4e32ea[_0x1d072a[_0x40b755(0x26a)]];_0x292ecb&&(_0x4657c2[_0x40b755(0x1af)](_0x1b519a(_0xf7ab64,_0x1d072a[_0x40b755(0x26a)])),this['register']({'unitId':_0xf7ab64,'rangeId':_0x1d072a[_0x40b755(0x26a)]},_0x292ecb));}for(let _0x23031b of Array[_0x40b755(0x175)](this['_registrations'][_0x40b755(0x2ad)]()))_0x23031b[_0x40b755(0x167)]===_0xf7ab64&&!_0x4657c2[_0x40b755(0x163)](_0x1b519a(_0x23031b[_0x40b755(0x167)],_0x23031b[_0x40b755(0x26a)]))&&this['unregister'](_0x23031b);}[_0x264e36(0x215)](_0x38922b,_0x15428a){const _0x29547e=_0x264e36;let _0x209066=_0x1b519a(_0x38922b[_0x29547e(0x167)],_0x38922b[_0x29547e(0x26a)]),_0x7e5fdf=this['_registrations'][_0x29547e(0x255)](_0x209066),_0x53c958=this[_0x29547e(0x23f)]['getRevision'](_0x38922b[_0x29547e(0x167)]);if(_0x7e5fdf&&_0x7e5fdf['config']['formula']===_0x15428a[_0x29547e(0x1b7)]&&_0x7e5fdf[_0x29547e(0x241)]===_0x53c958){_0x7e5fdf['config']=_0x15428a;let _0x16060d=_0x7e5fdf[_0x29547e(0x1a7)]?this[_0x29547e(0x18e)][_0x29547e(0x21d)](_0x7e5fdf[_0x29547e(0x167)],_0x7e5fdf[_0x29547e(0x167)],_0x7e5fdf[_0x29547e(0x1a7)])??void 0x0:void 0x0;_0x7e5fdf[_0x29547e(0x28c)]=_0x16060d,this[_0x29547e(0x296)](_0x209066,_0x24def7(_0x15428a,_0x16060d));return;}_0x7e5fdf!=null&&_0x7e5fdf[_0x29547e(0x1a7)]&&this[_0x29547e(0x2a7)](_0x7e5fdf);let _0x1cf98d={..._0x38922b,'config':_0x15428a,'referenceRevision':_0x53c958,'presentation':_0x24def7(_0x15428a,void 0x0)};if(this[_0x29547e(0x1be)][_0x29547e(0x16d)](_0x209066,_0x1cf98d),!_0x15428a[_0x29547e(0x1b7)][_0x29547e(0x1f9)]())return;let _0x138eae=this[_0x29547e(0x18e)][_0x29547e(0x1da)](_0x38922b[_0x29547e(0x167)],_0x38922b['unitId'],_0x15428a[_0x29547e(0x1b7)],void 0x0,{'rangeId':_0x38922b[_0x29547e(0x26a)]},_0xf5658[_0x29547e(0x1fb)][_0x29547e(0x18b)],_0x38922b[_0x29547e(0x26a)]);_0x1cf98d[_0x29547e(0x1a7)]=_0x138eae,this[_0x29547e(0x1c6)][_0x29547e(0x16d)](_0x138eae,_0x209066);}['unregister'](_0x37e1ca){const _0x33efe5=_0x264e36;let _0x1b1724=_0x1b519a(_0x37e1ca[_0x33efe5(0x167)],_0x37e1ca[_0x33efe5(0x26a)]),_0x3df89f=this[_0x33efe5(0x1be)][_0x33efe5(0x255)](_0x1b1724);_0x3df89f&&(this[_0x33efe5(0x2a7)](_0x3df89f),this[_0x33efe5(0x1be)][_0x33efe5(0x1d5)](_0x1b1724));}[_0x264e36(0x230)](_0x34fcc2){const _0x42f60b=_0x264e36;for(let _0x248da6 of Array['from'](this[_0x42f60b(0x1be)][_0x42f60b(0x2ad)]()))_0x248da6[_0x42f60b(0x167)]===_0x34fcc2&&this['unregister'](_0x248da6);}[_0x264e36(0x170)](_0x2950b6){const _0x126660=_0x264e36;var _0x1666c2;return(_0x1666c2=this[_0x126660(0x1be)][_0x126660(0x255)](_0x1b519a(_0x2950b6[_0x126660(0x167)],_0x2950b6[_0x126660(0x26a)])))==null?void 0x0:_0x1666c2[_0x126660(0x2ae)];}[_0x264e36(0x25d)](_0x3d9e2d){const _0x399e05=_0x264e36;let _0x33ddbe=this[_0x399e05(0x1be)][_0x399e05(0x255)](_0x1b519a(_0x3d9e2d[_0x399e05(0x167)],_0x3d9e2d[_0x399e05(0x26a)]));return _0x33ddbe?_0x358e13(_0x33ddbe):void 0x0;}[_0x264e36(0x195)](){const _0x470c8a=_0x264e36;return Array[_0x470c8a(0x175)](this[_0x470c8a(0x1be)][_0x470c8a(0x2ad)](),_0x3e77c5=>({'identity':{'unitId':_0x3e77c5[_0x470c8a(0x167)],'rangeId':_0x3e77c5[_0x470c8a(0x26a)]},'config':_0x3e77c5['config'],'referenceRevision':_0x3e77c5[_0x470c8a(0x241)],..._0x3e77c5[_0x470c8a(0x28c)]?{'liveResult':_0x3e77c5[_0x470c8a(0x28c)]}:null}));}[_0x264e36(0x1c7)](){const _0x79e3e8=_0x264e36;for(let _0x3e2d76 of this[_0x79e3e8(0x1be)][_0x79e3e8(0x2ad)]())this[_0x79e3e8(0x2a7)](_0x3e2d76);this[_0x79e3e8(0x1be)][_0x79e3e8(0x248)](),this[_0x79e3e8(0x1c6)]['clear'](),this[_0x79e3e8(0x28b)][_0x79e3e8(0x19d)](),super[_0x79e3e8(0x1c7)]();}[_0x264e36(0x1ec)](_0x2fcfce){const _0x1e44c3=_0x264e36;let _0x155b60=this[_0x1e44c3(0x1c6)][_0x1e44c3(0x255)](_0x2fcfce[_0x1e44c3(0x1a7)]),_0x2bdfc6=_0x155b60?this['_registrations'][_0x1e44c3(0x255)](_0x155b60):void 0x0;_0x155b60&&_0x2bdfc6&&(_0x2bdfc6[_0x1e44c3(0x28c)]=_0x2fcfce,this[_0x1e44c3(0x296)](_0x155b60,_0x24def7(_0x2bdfc6[_0x1e44c3(0x2a5)],_0x2fcfce)));}[_0x264e36(0x296)](_0x551bea,_0xb7e8e0){const _0x11bde2=_0x264e36;var _0x1d7534,_0x7ef66f;let _0x3cfe19=this['_registrations'][_0x11bde2(0x255)](_0x551bea);if(!_0x3cfe19||_0xec306a(_0x3cfe19[_0x11bde2(0x2ae)],_0xb7e8e0))return;let _0x37ea81=_0x3cfe19[_0x11bde2(0x2ae)],_0x58d106=_0x358e13(_0x3cfe19);_0x3cfe19['presentation']=_0xb7e8e0,this[_0x11bde2(0x28b)][_0x11bde2(0x1de)]({'unitId':_0x3cfe19['unitId'],'rangeId':_0x3cfe19[_0x11bde2(0x26a)],'presentation':_0xb7e8e0,'previousPresentation':_0x37ea81,'result':_0x358e13(_0x3cfe19),'previousResult':{..._0x58d106,..._0x37ea81,'value':(_0x1d7534=_0x37ea81[_0x11bde2(0x216)])==null?void 0x0:_0x1d7534['v'],'valueType':((_0x7ef66f=_0x37ea81[_0x11bde2(0x216)])==null?void 0x0:_0x7ef66f['t'])??void 0x0}});}[_0x264e36(0x2a7)](_0x1bc23c){const _0x410fe8=_0x264e36;_0x1bc23c[_0x410fe8(0x1a7)]&&(this[_0x410fe8(0x18e)][_0x410fe8(0x27c)](_0x1bc23c[_0x410fe8(0x167)],_0x1bc23c[_0x410fe8(0x167)],[_0x1bc23c['formulaId']]),this[_0x410fe8(0x1c6)][_0x410fe8(0x1d5)](_0x1bc23c[_0x410fe8(0x1a7)]));}};_0x567cc8=_0x41e1df([_0x5eb961(0x0,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x136dfa)),_0x5eb961(0x1,(0x0,_0x42b9d4['Inject'])(_0xf5658[_0x264e36(0x27a)])),_0x5eb961(0x2,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x138dd0[_0x264e36(0x251)]))],_0x567cc8);function _0x1b519a(_0x2bafda,_0xe1e043){return _0x2bafda+'\x00'+_0xe1e043;}function _0x24def7(_0x3f98bd,_0x2f5cc1){const _0x1b0704=_0x264e36;return(0x0,_0x138dd0['resolveFormulaResultPresentation'])({'numberFormat':_0x3f98bd[_0x1b0704(0x1f8)],'lastValue':_0x3f98bd[_0x1b0704(0x1bf)],'result':_0x2f5cc1});}function _0x358e13(_0x2890c7){const _0x3a9174=_0x264e36;var _0x524349,_0x3d1e84,_0xcf4db5;let _0x10c71f=_0x2890c7[_0x3a9174(0x2ae)],_0x42e9f2=_0x2890c7[_0x3a9174(0x2a5)]['formula'][_0x3a9174(0x1f9)]()?_0x10c71f[_0x3a9174(0x274)]||_0x10c71f[_0x3a9174(0x216)]==null?_0x3a9174(0x276):((_0x524349=_0x2890c7[_0x3a9174(0x28c)])==null?void 0x0:_0x524349[_0x3a9174(0x1e5)])===_0xf5658[_0x3a9174(0x229)][_0x3a9174(0x182)]?_0x3a9174(0x233):_0x3a9174(0x209):_0x3a9174(0x249);return{..._0x10c71f,'status':_0x42e9f2,'value':(_0x3d1e84=_0x10c71f['cell'])==null?void 0x0:_0x3d1e84['v'],'valueType':((_0xcf4db5=_0x10c71f[_0x3a9174(0x216)])==null?void 0x0:_0xcf4db5['t'])??void 0x0};}function _0xec306a(_0x164e46,_0x18c7e4){const _0x13760f=_0x264e36;var _0x5c6eec,_0x20a784,_0x5d4b53,_0x188a22;return _0x164e46[_0x13760f(0x198)]===_0x18c7e4[_0x13760f(0x198)]&&_0x164e46[_0x13760f(0x287)]===_0x18c7e4[_0x13760f(0x287)]&&_0x164e46[_0x13760f(0x16a)]===_0x18c7e4[_0x13760f(0x16a)]&&_0x164e46['source']===_0x18c7e4[_0x13760f(0x1a5)]&&_0x164e46[_0x13760f(0x274)]===_0x18c7e4[_0x13760f(0x274)]&&((_0x5c6eec=_0x164e46['cell'])==null?void 0x0:_0x5c6eec['t'])===((_0x20a784=_0x18c7e4[_0x13760f(0x216)])==null?void 0x0:_0x20a784['t'])&&Object['is']((_0x5d4b53=_0x164e46[_0x13760f(0x216)])==null?void 0x0:_0x5d4b53['v'],(_0x188a22=_0x18c7e4[_0x13760f(0x216)])==null?void 0x0:_0x188a22['v']);}let _0x5e5b67={'id':'docs-formula.mutation.set-formula','type':_0x42b9d4[_0x264e36(0x269)][_0x264e36(0x1e3)],'handler':(_0x4045f5,_0x467e48)=>!(_0x467e48!=null&&_0x467e48['unitId'])||!_0x467e48[_0x264e36(0x26a)]||!_0x467e48[_0x264e36(0x2a5)]?!0x1:_0x4045f5['get'](_0x136dfa)[_0x264e36(0x1f0)](_0x467e48[_0x264e36(0x167)],_0x467e48[_0x264e36(0x26a)],_0x467e48[_0x264e36(0x2a5)])},_0x2be4a6={'id':_0x264e36(0x271),'type':_0x42b9d4[_0x264e36(0x269)]['MUTATION'],'handler':(_0x2ddcb1,_0x2170e1)=>!(_0x2170e1!=null&&_0x2170e1['unitId'])||!_0x2170e1[_0x264e36(0x26a)]?!0x1:_0x2ddcb1[_0x264e36(0x255)](_0x136dfa)[_0x264e36(0x26d)](_0x2170e1['unitId'],_0x2170e1[_0x264e36(0x26a)])},_0x5679e0={'id':'docs-formula.mutation.set-resource','type':_0x42b9d4[_0x264e36(0x269)][_0x264e36(0x1e3)],'handler':(_0x3df503,_0x3606fe)=>!(_0x3606fe!=null&&_0x3606fe[_0x264e36(0x167)])||!_0x3606fe[_0x264e36(0x19c)]?!0x1:_0x3df503[_0x264e36(0x255)](_0x136dfa)[_0x264e36(0x28e)](_0x3606fe[_0x264e36(0x167)],_0x3606fe[_0x264e36(0x19c)])},_0x567c0f={'id':_0x264e36(0x213),'type':_0x42b9d4[_0x264e36(0x269)][_0x264e36(0x1e3)],'handler':(_0x44c2fd,_0x1eb407)=>{const _0x2d11a3=_0x264e36;if(!(_0x1eb407!=null&&_0x1eb407[_0x2d11a3(0x167)])||!_0x1eb407[_0x2d11a3(0x1e4)]['length'])return!0x1;let _0x6e9599=_0x44c2fd['get'](_0x136dfa),_0x206253=_0x44c2fd[_0x2d11a3(0x255)](_0x138dd0[_0x2d11a3(0x251)]),_0x50cf4d=_0x6e9599[_0x2d11a3(0x1fa)](_0x1eb407['unitId']);if(!_0x50cf4d)return!0x1;let _0x4a813c=_0x42b9d4[_0x2d11a3(0x181)]['deepClone'](_0x50cf4d),_0x5e24f5=!0x1;for(let _0x16f549 of _0x1eb407[_0x2d11a3(0x1e4)]){var _0x50db15,_0x5548f2,_0x3b05db,_0x3c80c6;let _0x256e8c=_0x4a813c[_0x2d11a3(0x23a)][_0x16f549['rangeId']];_0x256e8c&&_0x256e8c[_0x2d11a3(0x1b7)]===_0x16f549[_0x2d11a3(0x268)]&&((_0x50db15=_0x256e8c['numberFormat'])==null?void 0x0:_0x50db15[_0x2d11a3(0x16a)])===_0x16f549[_0x2d11a3(0x1d2)]&&_0x206253[_0x2d11a3(0x1ca)](_0x1eb407[_0x2d11a3(0x167)])===_0x16f549[_0x2d11a3(0x294)]&&(((_0x5548f2=_0x256e8c[_0x2d11a3(0x1bf)])==null?void 0x0:_0x5548f2['v'])!==_0x16f549[_0x2d11a3(0x1bf)]['v']||((_0x3b05db=_0x256e8c['lastValue'])==null?void 0x0:_0x3b05db['t'])!==_0x16f549['lastValue']['t']||((_0x3c80c6=_0x256e8c[_0x2d11a3(0x1bf)])==null?void 0x0:_0x3c80c6['pattern'])!==_0x16f549['lastValue'][_0x2d11a3(0x16a)])&&(_0x256e8c[_0x2d11a3(0x1bf)]=_0x42b9d4[_0x2d11a3(0x181)][_0x2d11a3(0x244)](_0x16f549[_0x2d11a3(0x1bf)]),_0x5e24f5=!0x0);}return!_0x5e24f5||_0x6e9599[_0x2d11a3(0x28e)](_0x1eb407[_0x2d11a3(0x167)],_0x4a813c);}},_0x2b011d={'id':_0x264e36(0x1fe),'type':_0x42b9d4[_0x264e36(0x269)][_0x264e36(0x270)],'handler':(_0x5cf474,_0xf43145)=>{const _0x23067b=_0x264e36;if(!(_0xf43145!=null&&_0xf43145[_0x23067b(0x1b7)][_0x23067b(0x1f9)]()))return!0x1;let _0x3f8f0a=_0x12ccf3(_0x5cf474,_0xf43145['unitId'],'');if(!_0x3f8f0a)return!0x1;let _0xff3c8d=_0xf4e5e3(_0xf43145[_0x23067b(0x201)],_0x3f8f0a[_0x23067b(0x1ff)],_0x213401(_0x5cf474,_0x3f8f0a['unitId']));if(!_0xff3c8d)return!0x1;let _0x542c15=_0x99c336(_0x5cf474,_0x3f8f0a['unitId'],_0xf43145[_0x23067b(0x1b7)],_0xf43145[_0x23067b(0x188)]??[]);if(!_0x542c15)return!0x1;let _0x2fe28e=_0x960360(_0x3f8f0a['body'],_0x3f8f0a[_0x23067b(0x16f)],_0x3f8f0a['unitId']),_0x500e93=_0xc6a83d({'documentData':_0x3f8f0a[_0x23067b(0x1a1)],'resource':_0x3f8f0a['resource'],'rangeId':_0x2fe28e,'config':{'formula':_0xf43145[_0x23067b(0x1b7)],..._0xf43145['numberFormat']?{'numberFormat':_0xf43145[_0x23067b(0x1f8)]}:null},'startOffset':_0xff3c8d[_0x23067b(0x27e)],'endOffset':_0xff3c8d[_0x23067b(0x164)]});if(!_0x500e93)return!0x1;let _0x49df81=(0x0,_0x138dd0[_0x23067b(0x19b)])(_0x5cf474,_0x3f8f0a['unitId'],_0x542c15);return!_0x49df81||!_0x450e35({'accessor':_0x5cf474,'document':_0x3f8f0a[_0x23067b(0x1b3)],'unitId':_0x3f8f0a[_0x23067b(0x167)],'trigger':_0x2b011d['id'],'rangeId':_0x2fe28e,'previousResource':_0x3f8f0a[_0x23067b(0x19c)],'nextResource':_0x500e93[_0x23067b(0x252)],'previousDocumentData':_0x3f8f0a[_0x23067b(0x1a1)],'nextDocumentData':_0x500e93[_0x23067b(0x202)],'cursorOffset':_0x500e93[_0x23067b(0x289)],'externalMutations':_0x49df81})?!0x1:{'rangeId':_0x2fe28e,'startOffset':_0x500e93[_0x23067b(0x289)]-0x1,'endOffset':_0x500e93[_0x23067b(0x289)]};}},_0x45e8cd={'id':_0x264e36(0x24b),'type':_0x42b9d4['CommandType'][_0x264e36(0x270)],'handler':(_0x543a46,_0x1a5973)=>{const _0x49f1cb=_0x264e36;if(!(_0x1a5973!=null&&_0x1a5973['rangeId'])||!_0x1a5973[_0x49f1cb(0x1b7)]['trim']())return!0x1;let _0x3060eb=_0x12ccf3(_0x543a46,_0x1a5973[_0x49f1cb(0x167)],''),_0x3dc5c5=_0x3060eb==null?void 0x0:_0x3060eb['model']['getFormula'](_0x3060eb[_0x49f1cb(0x167)],_0x1a5973['rangeId']),_0x5e926e=_0x3060eb?_0xe4a3ff(_0x3060eb[_0x49f1cb(0x1a1)][_0x49f1cb(0x1ff)],_0x1a5973[_0x49f1cb(0x26a)]):void 0x0;if(!_0x3060eb||!_0x3dc5c5||!_0x5e926e)return!0x1;let _0x5cbdd8=_0x99c336(_0x543a46,_0x3060eb['unitId'],_0x1a5973[_0x49f1cb(0x1b7)],_0x1a5973[_0x49f1cb(0x188)]??[]);if(!_0x5cbdd8)return!0x1;let _0x135f50=(0x0,_0x138dd0[_0x49f1cb(0x19b)])(_0x543a46,_0x3060eb['unitId'],_0x5cbdd8);if(!_0x135f50)return!0x1;let _0xc228de=_0x5e35b0(_0x3060eb[_0x49f1cb(0x19c)]);return _0xc228de[_0x49f1cb(0x23a)][_0x1a5973['rangeId']]={'formula':_0x1a5973['formula'],..._0x1a5973[_0x49f1cb(0x1f8)]?{'numberFormat':_0x1a5973[_0x49f1cb(0x1f8)]}:_0x3dc5c5[_0x49f1cb(0x1f8)]?{'numberFormat':_0x3dc5c5[_0x49f1cb(0x1f8)]}:null},_0x450e35({'accessor':_0x543a46,'document':_0x3060eb['document'],'unitId':_0x3060eb[_0x49f1cb(0x167)],'trigger':_0x45e8cd['id'],'rangeId':_0x1a5973[_0x49f1cb(0x26a)],'previousResource':_0x3060eb[_0x49f1cb(0x19c)],'nextResource':_0xc228de,'cursorOffset':_0x5e926e[_0x49f1cb(0x16c)]+0x1,'externalMutations':_0x135f50});}},_0x3be6e3={'id':_0x264e36(0x226),'type':_0x42b9d4[_0x264e36(0x269)][_0x264e36(0x270)],'handler':(_0x20b156,_0xe6591f)=>{const _0x239854=_0x264e36;if(!(_0xe6591f!=null&&_0xe6591f[_0x239854(0x26a)]))return!0x1;let _0x2b4bbb=_0x12ccf3(_0x20b156,_0xe6591f['unitId'],''),_0x16badc=_0x2b4bbb==null?void 0x0:_0x2b4bbb[_0x239854(0x16f)][_0x239854(0x221)](_0x2b4bbb[_0x239854(0x167)],_0xe6591f[_0x239854(0x26a)]),_0x22acb8=_0x2b4bbb?_0xe4a3ff(_0x2b4bbb[_0x239854(0x1a1)][_0x239854(0x1ff)],_0xe6591f[_0x239854(0x26a)]):void 0x0;if(!_0x2b4bbb||!_0x16badc||!_0x22acb8)return!0x1;let _0x2b29b5=_0x5e35b0(_0x2b4bbb[_0x239854(0x19c)]);return _0x2b29b5[_0x239854(0x23a)][_0xe6591f[_0x239854(0x26a)]]={..._0x16badc,..._0xe6591f[_0x239854(0x1f8)]?{'numberFormat':_0xe6591f['numberFormat']}:null},_0xe6591f['numberFormat']||delete _0x2b29b5['formulas'][_0xe6591f['rangeId']]['numberFormat'],_0x450e35({'accessor':_0x20b156,'document':_0x2b4bbb['document'],'unitId':_0x2b4bbb[_0x239854(0x167)],'trigger':_0x3be6e3['id'],'rangeId':_0xe6591f['rangeId'],'previousResource':_0x2b4bbb[_0x239854(0x19c)],'nextResource':_0x2b29b5,'cursorOffset':_0x22acb8['endIndex']+0x1,'externalMutations':{}});}},_0x5e7d40={'id':_0x264e36(0x1df),'type':_0x42b9d4['CommandType'][_0x264e36(0x270)],'handler':(_0x142db7,_0x463a3e)=>_0x30e85a(_0x142db7,_0x463a3e,'',_0x5e7d40['id'])},_0x3eab2d={'id':'docs-formula.command.replace-with-text','type':_0x42b9d4[_0x264e36(0x269)][_0x264e36(0x270)],'handler':(_0x4311bf,_0x2dddac)=>_0x30e85a(_0x4311bf,_0x2dddac,(_0x2dddac==null?void 0x0:_0x2dddac[_0x264e36(0x198)])??'',_0x3eab2d['id'])},_0xbd03ae={'id':_0x264e36(0x200),'type':_0x42b9d4['CommandType']['COMMAND'],'handler':(_0x1c0833,_0x174159)=>{const _0x3088a0=_0x264e36;if(!(_0x174159!=null&&_0x174159['rangeId']))return!0x1;let _0x28074b=_0x12ccf3(_0x1c0833,_0x174159['unitId'],'');if(!_0x28074b)return!0x1;let _0x4ce9d0=_0x1c0833[_0x3088a0(0x255)](_0x567cc8)[_0x3088a0(0x25d)]({'unitId':_0x28074b[_0x3088a0(0x167)],'rangeId':_0x174159[_0x3088a0(0x26a)]});return _0x4ce9d0?_0x30e85a(_0x1c0833,_0x174159,_0x4ce9d0[_0x3088a0(0x198)],_0xbd03ae['id']):!0x1;}};function _0x30e85a(_0x16d3a3,_0x2af40b,_0x3ddf0c,_0x3707dc){const _0x4e6445=_0x264e36;if(!(_0x2af40b!=null&&_0x2af40b[_0x4e6445(0x26a)]))return!0x1;let _0x5ecd40=_0x12ccf3(_0x16d3a3,_0x2af40b[_0x4e6445(0x167)],'');if(!_0x5ecd40)return!0x1;let _0x130458=_0x3e159c({'documentData':_0x5ecd40[_0x4e6445(0x1a1)],'resource':_0x5ecd40[_0x4e6445(0x19c)],'rangeId':_0x2af40b[_0x4e6445(0x26a)],'text':_0x3ddf0c});return _0x130458?_0x450e35({'accessor':_0x16d3a3,'document':_0x5ecd40[_0x4e6445(0x1b3)],'unitId':_0x5ecd40[_0x4e6445(0x167)],'trigger':_0x3707dc,'rangeId':_0x2af40b[_0x4e6445(0x26a)],'previousResource':_0x5ecd40[_0x4e6445(0x19c)],'nextResource':_0x130458[_0x4e6445(0x252)],'previousDocumentData':_0x5ecd40[_0x4e6445(0x1a1)],'nextDocumentData':_0x130458[_0x4e6445(0x202)],'cursorOffset':_0x130458[_0x4e6445(0x289)],'externalMutations':{}}):!0x1;}function _0x12ccf3(_0x39a70c,_0x3a5f6f,_0x27a09c){const _0x4835d2=_0x264e36;if(_0x27a09c)return null;let _0x1be8a2=_0x39a70c[_0x4835d2(0x255)](_0x42b9d4[_0x4835d2(0x171)]),_0xd0c102=(_0x3a5f6f?_0x1be8a2[_0x4835d2(0x1b9)](_0x3a5f6f,_0x42b9d4['UniverInstanceType']['UNIVER_DOC']):_0x1be8a2[_0x4835d2(0x259)](_0x42b9d4['UniverInstanceType']['UNIVER_DOC']))??null;if(!_0xd0c102)return null;let _0x3ad364=_0xd0c102['getSnapshot'](),_0xcabb28=_0x3ad364['body'];if(_0x3ad364['disabled']||!_0xcabb28)return null;let _0xe8f9fb=_0x39a70c[_0x4835d2(0x255)](_0x136dfa);return _0xe8f9fb[_0x4835d2(0x194)](_0xd0c102[_0x4835d2(0x1f6)]())?null:{'document':_0xd0c102,'body':_0xcabb28,'documentData':_0x3ad364,'model':_0xe8f9fb,'resource':_0xe8f9fb[_0x4835d2(0x1fa)](_0xd0c102[_0x4835d2(0x1f6)]())??_0x5c7567(),'unitId':_0xd0c102[_0x4835d2(0x1f6)]()};}function _0x213401(_0x43bfc1,_0x556eac){const _0x395c3d=_0x264e36;var _0x124e63;return(_0x124e63=_0x43bfc1[_0x395c3d(0x255)](_0x554914['DocSelectionManagerService'])[_0x395c3d(0x1e8)]({'subUnitId':_0x556eac,'unitId':_0x556eac}))==null?void 0x0:_0x124e63[0x0];}function _0xf4e5e3(_0x39a7d4,_0x2941d6,_0x1960fd){const _0x4a1f28=_0x264e36;if((_0x39a7d4==null?void 0x0:_0x39a7d4[_0x4a1f28(0x1f4)])===_0x4a1f28(0x282)){var _0x50b5ce;let _0x523ea9=((_0x50b5ce=_0x2941d6['paragraphs'])==null?void 0x0:_0x50b5ce[_0x4a1f28(0x291)](_0x3b12ec=>_0x3b12ec[_0x4a1f28(0x1bc)]===_0x39a7d4[_0x4a1f28(0x1bc)]))??[];if(_0x523ea9[_0x4a1f28(0x1ba)]!==0x1)return null;let _0x3a7ba6=_0x523ea9[0x0],_0x18fd34=(0x0,_0x42b9d4['getParagraphContentStartOffset'])(_0x2941d6,_0x3a7ba6),_0x5ce757=_0x3a7ba6[_0x4a1f28(0x185)]-_0x18fd34,_0x1115ff=_0x39a7d4[_0x4a1f28(0x1b5)]===_0x4a1f28(0x277)?_0x5ce757:_0x39a7d4[_0x4a1f28(0x1b5)];if(!Number['isInteger'](_0x1115ff)||_0x1115ff<0x0||_0x1115ff>_0x5ce757)return null;let _0x47fccf=_0x18fd34+_0x1115ff;return{'startOffset':_0x47fccf,'endOffset':_0x47fccf};}if((_0x39a7d4==null?void 0x0:_0x39a7d4[_0x4a1f28(0x1f4)])===_0x4a1f28(0x234))return!Number[_0x4a1f28(0x1c4)](_0x39a7d4['startOffset'])||!Number['isInteger'](_0x39a7d4[_0x4a1f28(0x164)])?null:{'startOffset':Math[_0x4a1f28(0x220)](_0x39a7d4[_0x4a1f28(0x27e)],_0x39a7d4[_0x4a1f28(0x164)]),'endOffset':Math['max'](_0x39a7d4[_0x4a1f28(0x27e)],_0x39a7d4[_0x4a1f28(0x164)])};let _0x55b6e5=(_0x39a7d4==null?void 0x0:_0x39a7d4[_0x4a1f28(0x1f4)])===_0x4a1f28(0x247)?_0x39a7d4['selection']:_0x1960fd;return!_0x55b6e5||_0x55b6e5[_0x4a1f28(0x217)]?null:{'startOffset':Math[_0x4a1f28(0x220)](_0x55b6e5['startOffset'],_0x55b6e5['endOffset']),'endOffset':Math[_0x4a1f28(0x190)](_0x55b6e5[_0x4a1f28(0x27e)],_0x55b6e5[_0x4a1f28(0x164)])};}function _0x99c336(_0x295e0b,_0xab0c60,_0x45b9c0,_0x11e816){const _0x4ff79b=_0x264e36;let _0x41385e=_0x295e0b['get'](_0xf5658[_0x4ff79b(0x235)]),_0x158a9c=_0x45b9c0[_0x4ff79b(0x1b0)]('=')?_0x45b9c0[_0x4ff79b(0x20a)](0x1):_0x45b9c0,_0x1ebcd3=_0x41385e[_0x4ff79b(0x17b)](_0x158a9c);if(!_0x1ebcd3)return null;let _0x3bcc37=_0x295e0b[_0x4ff79b(0x255)](_0x138dd0[_0x4ff79b(0x251)]),_0x4cc8e1=(0x0,_0x138dd0[_0x4ff79b(0x242)])({'qualifiers':(0x0,_0x138dd0[_0x4ff79b(0x1a3)])(_0x1ebcd3),'explicitReferences':_0x11e816??[],'resolveBinding':_0x34a815=>_0x3bcc37[_0x4ff79b(0x224)](_0xab0c60,_0x34a815)});return _0x4cc8e1[_0x4ff79b(0x1e5)]===_0x4ff79b(0x25a)?_0x4cc8e1[_0x4ff79b(0x172)]:null;}function _0x960360(_0x5dbbba,_0x2cea21,_0x3aa57e){const _0x13bc14=_0x264e36;var _0x22b884;let _0x257926=(0x0,_0x42b9d4[_0x13bc14(0x297)])(0x6);for(;_0x5dbbba!=null&&(_0x22b884=_0x5dbbba[_0x13bc14(0x20d)])!=null&&_0x22b884['some'](_0x3e62d0=>_0x3e62d0[_0x13bc14(0x26a)]===_0x257926)||_0x2cea21['getFormula'](_0x3aa57e,_0x257926);)_0x257926=(0x0,_0x42b9d4[_0x13bc14(0x297)])(0x6);return _0x257926;}function _0xc6a83d(_0x34c64e){try{return _0x59ec7a(_0x34c64e);}catch(_0x490a10){if(_0x490a10 instanceof _0x2d09c5)return null;throw _0x490a10;}}function _0x5ba6f3(_0x138954){const _0x889fad=_0x264e36;let _0x6be9ea=_0x138954[_0x889fad(0x1d8)]&&_0x138954[_0x889fad(0x202)]?_0x137527(_0x138954[_0x889fad(0x1b3)],_0x138954[_0x889fad(0x167)],_0x138954[_0x889fad(0x1d8)],_0x138954[_0x889fad(0x202)],_0x138954[_0x889fad(0x289)],_0x138954[_0x889fad(0x207)]):null;return _0x138954['previousDocumentData']&&_0x138954[_0x889fad(0x202)]&&!_0x6be9ea?null:{'documentRedo':_0x6be9ea,'resourceRedo':{'id':_0x5679e0['id'],'params':{'unitId':_0x138954[_0x889fad(0x167)],'resource':_0x138954[_0x889fad(0x252)]}},'resourceUndo':{'id':_0x5679e0['id'],'params':{'unitId':_0x138954['unitId'],'resource':_0x138954['previousResource']}}};}function _0x4620ce(_0x419200,_0x264d48,_0x281c28,_0x5956f5){const _0x1b8678=_0x264e36;_0x5956f5[_0x1b8678(0x179)]({'id':_0x419200['trigger']+':'+_0x419200[_0x1b8678(0x26a)],'unitID':_0x419200[_0x1b8678(0x167)],'redoMutations':[..._0x419200['externalMutations'][_0x1b8678(0x21f)]?[_0x419200['externalMutations']['redoMutation']]:[],..._0x264d48[_0x1b8678(0x267)]?[_0x264d48[_0x1b8678(0x267)]]:[],_0x264d48[_0x1b8678(0x1ae)]],'undoMutations':[_0x264d48[_0x1b8678(0x1ea)],..._0x281c28?[_0x281c28]:[],..._0x419200[_0x1b8678(0x203)][_0x1b8678(0x19e)]?[_0x419200[_0x1b8678(0x203)]['undoMutation']]:[]]});}function _0x450e35(_0x5cd0cc){const _0x3bd2a8=_0x264e36;let _0x2f682f=_0x5cd0cc['accessor']['get'](_0x42b9d4[_0x3bd2a8(0x1d6)]),_0x3290c2=_0x5cd0cc['accessor'][_0x3bd2a8(0x255)](_0x42b9d4[_0x3bd2a8(0x256)]),_0x450af4=_0x5cd0cc[_0x3bd2a8(0x1cb)][_0x3bd2a8(0x255)](_0x554914['DocSelectionManagerService']),_0x31c56e=_0x5ba6f3(_0x5cd0cc);if(!_0x31c56e)return!0x1;let _0x42286d=!0x1,_0x5a6d66=null,_0x8f45d9=!0x1;try{if(_0x5cd0cc['externalMutations'][_0x3bd2a8(0x21f)]){if(!_0x2f682f[_0x3bd2a8(0x1c9)](_0x5cd0cc[_0x3bd2a8(0x203)][_0x3bd2a8(0x21f)]['id'],_0x5cd0cc[_0x3bd2a8(0x203)][_0x3bd2a8(0x21f)][_0x3bd2a8(0x1e1)]))return!0x1;_0x42286d=!0x0;}if(_0x31c56e[_0x3bd2a8(0x267)]){let _0x20bb30=_0x2f682f[_0x3bd2a8(0x1c9)](_0x31c56e[_0x3bd2a8(0x267)]['id'],_0x31c56e[_0x3bd2a8(0x267)][_0x3bd2a8(0x1e1)]);if(!_0x20bb30)return _0x158e9d(_0x2f682f,_0x5cd0cc[_0x3bd2a8(0x203)],_0x42286d),!0x1;_0x5a6d66={'id':_0x554914['RichTextEditingMutation']['id'],'params':{..._0x20bb30,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'segmentId':''}};}if(!_0x2f682f[_0x3bd2a8(0x1c9)](_0x31c56e[_0x3bd2a8(0x1ae)]['id'],_0x31c56e['resourceRedo'][_0x3bd2a8(0x1e1)]))return _0x2ef745(_0x2f682f,_0x5a6d66),_0x158e9d(_0x2f682f,_0x5cd0cc[_0x3bd2a8(0x203)],_0x42286d),!0x1;_0x8f45d9=!0x0,_0x4620ce(_0x5cd0cc,_0x31c56e,_0x5a6d66,_0x3290c2);}catch(_0x31eff8){throw _0x8f45d9&&_0x2f682f[_0x3bd2a8(0x1c9)](_0x31c56e['resourceUndo']['id'],_0x31c56e[_0x3bd2a8(0x1ea)][_0x3bd2a8(0x1e1)]),_0x2ef745(_0x2f682f,_0x5a6d66),_0x158e9d(_0x2f682f,_0x5cd0cc[_0x3bd2a8(0x203)],_0x42286d),_0x31eff8;}return _0x450af4[_0x3bd2a8(0x26c)]([{'startOffset':_0x5cd0cc['cursorOffset'],'endOffset':_0x5cd0cc[_0x3bd2a8(0x289)],'segmentId':''}],{'unitId':_0x5cd0cc[_0x3bd2a8(0x167)],'subUnitId':_0x5cd0cc[_0x3bd2a8(0x167)]},!0x1,{[_0x554914[_0x3bd2a8(0x18c)]]:!0x0}),!0x0;}function _0x137527(_0x30bce7,_0x3cf75e,_0x466242,_0x11a1c4,_0x870b3d,_0x526b5e){const _0x161f9a=_0x264e36;let _0x2198d4=_0x11ea03(_0x466242,_0x11a1c4,(0x0,_0x42b9d4[_0x161f9a(0x27d)])(_0x30bce7,''));return _0x2198d4?{'id':_0x554914[_0x161f9a(0x196)]['id'],'params':{'unitId':_0x3cf75e,'actions':_0x2198d4,'segmentId':'','textRanges':[{'startOffset':_0x870b3d,'endOffset':_0x870b3d,'collapsed':!0x0,'segmentId':''}],'isEditing':!0x1,'noHistory':!0x0,'noNeedSetTextRange':!0x0,'trigger':_0x526b5e}}:null;}function _0x2ef745(_0x501858,_0x34bb37){const _0x160397=_0x264e36;_0x34bb37&&_0x501858[_0x160397(0x1c9)](_0x34bb37['id'],_0x34bb37[_0x160397(0x1e1)]);}function _0x158e9d(_0x4d0bde,_0x292dcd,_0x219170){const _0x5ebe10=_0x264e36;_0x219170&&_0x292dcd[_0x5ebe10(0x19e)]&&_0x4d0bde[_0x5ebe10(0x1c9)](_0x292dcd[_0x5ebe10(0x19e)]['id'],_0x292dcd[_0x5ebe10(0x19e)][_0x5ebe10(0x1e1)]);}function _0x11ea03(_0x1ee3ab,_0x3c88f9,_0xb585eb){const _0x502a5d=_0x264e36;let _0x23c6c7=_0x1ee3ab[_0x502a5d(0x1ff)],_0x243479=_0x3c88f9[_0x502a5d(0x1ff)],_0x51bb64=_0x2474ce(_0x23c6c7==null?void 0x0:_0x23c6c7[_0x502a5d(0x17d)],_0x243479==null?void 0x0:_0x243479[_0x502a5d(0x17d)]);if(!_0x51bb64||!_0x243479)return null;let _0x421a5b=new _0x42b9d4[(_0x502a5d(0x1c0))]();return _0x421a5b[_0x502a5d(0x273)](_0x51bb64[_0x502a5d(0x29b)]),_0x51bb64[_0x502a5d(0x26f)]>0x0&&_0x421a5b[_0x502a5d(0x29d)](_0x51bb64[_0x502a5d(0x26f)],(0x0,_0x42b9d4['getBodySliceForTextXAction'])(_0x243479,_0x51bb64['start'],_0x51bb64[_0x502a5d(0x29b)]+_0x51bb64['insertLength'],!0x1)),_0x51bb64[_0x502a5d(0x1d3)]>0x0&&_0x421a5b[_0x502a5d(0x1d5)](_0x51bb64[_0x502a5d(0x1d3)]),_0x42b9d4['JSONX'][_0x502a5d(0x1f2)]()[_0x502a5d(0x1e9)](_0x421a5b['serialize'](),_0xb585eb);}function _0x2474ce(_0x264e43,_0x14e747){const _0x24315b=_0x264e36;if(_0x264e43==null||_0x14e747==null||_0x264e43===_0x14e747)return null;let _0x548a93=0x0;for(;_0x548a93<_0x264e43[_0x24315b(0x1ba)]&&_0x548a93<_0x14e747[_0x24315b(0x1ba)]&&_0x264e43[_0x548a93]===_0x14e747[_0x548a93];)_0x548a93+=0x1;let _0x3b4791=_0x264e43[_0x24315b(0x1ba)],_0x5732d3=_0x14e747[_0x24315b(0x1ba)];for(;_0x3b4791>_0x548a93&&_0x5732d3>_0x548a93&&_0x264e43[_0x3b4791-0x1]===_0x14e747[_0x5732d3-0x1];)--_0x3b4791,--_0x5732d3;return{'start':_0x548a93,'deleteLength':_0x3b4791-_0x548a93,'insertLength':_0x5732d3-_0x548a93};}function _0x5e35b0(_0x144367){const _0x10bb17=_0x264e36;return{'schemaVersion':0x1,'formulas':Object[_0x10bb17(0x258)](Object[_0x10bb17(0x266)](_0x144367[_0x10bb17(0x23a)])[_0x10bb17(0x25f)](([_0x361f49,_0x231f5f])=>[_0x361f49,{..._0x231f5f,..._0x231f5f[_0x10bb17(0x1f8)]?{'numberFormat':{..._0x231f5f[_0x10bb17(0x1f8)]}}:null,..._0x231f5f[_0x10bb17(0x1bf)]?{'lastValue':{..._0x231f5f[_0x10bb17(0x1bf)]}}:null}]))};}let _0x98202=class extends _0x42b9d4[_0x264e36(0x227)]{constructor(_0x579b63,_0x192c54,_0xf96bee,_0x2e3320){const _0x477380=_0x264e36;super(),this[_0x477380(0x260)]=_0x579b63,this[_0x477380(0x1ed)]=_0x192c54,this[_0x477380(0x1bb)]=_0xf96bee,this[_0x477380(0x28d)]=_0x2e3320,_0x4b071f(this,_0x477380(0x2a0),new Set()),_0x4b071f(this,'_syncScheduled',!0x1),_0x4b071f(this,_0x477380(0x20b),!0x1),this['_instanceService']['getAllUnitsForType'](_0x42b9d4[_0x477380(0x205)][_0x477380(0x1b2)])['forEach'](_0x2e6599=>this[_0x477380(0x28d)][_0x477380(0x1e6)](_0x2e6599)),this[_0x477380(0x22d)](this[_0x477380(0x1bb)][_0x477380(0x299)][_0x477380(0x199)](({unitId:_0xc365d5})=>this['_syncUnit'](_0xc365d5))),this[_0x477380(0x22d)](this[_0x477380(0x260)][_0x477380(0x180)][_0x477380(0x199)](({unit:_0x4fe2e1})=>{const _0x3a305f=_0x477380;_0x4fe2e1[_0x3a305f(0x1f4)]===_0x42b9d4[_0x3a305f(0x205)][_0x3a305f(0x1b2)]&&this['_queueSync'](_0x4fe2e1[_0x3a305f(0x1f6)]());})),this[_0x477380(0x22d)](this[_0x477380(0x260)][_0x477380(0x20f)]['subscribe'](_0x44e98b=>{const _0x273351=_0x477380;this[_0x273351(0x28d)]['unregisterUnit'](_0x44e98b[_0x273351(0x1f6)]());})),this[_0x477380(0x22d)](this['_commandService'][_0x477380(0x214)](_0x13b6fe=>{const _0x39da51=_0x477380;if(_0x13b6fe['id']===_0x554914[_0x39da51(0x196)]['id']&&_0x386ba9(_0x13b6fe[_0x39da51(0x1e1)])){let _0x272ade=_0x13b6fe[_0x39da51(0x1e1)];_0x272ade[_0x39da51(0x217)]||this[_0x39da51(0x22a)](_0x272ade['unitId']);}}));}[_0x264e36(0x1c7)](){this['_isDisposed']=!0x0,super['dispose']();}[_0x264e36(0x1dd)](_0x306df4){const _0x1ac90f=_0x264e36;this[_0x1ac90f(0x2a0)][_0x1ac90f(0x1af)](_0x306df4),!this[_0x1ac90f(0x232)]&&(this[_0x1ac90f(0x232)]=!0x0,queueMicrotask(()=>{const _0x2e0585=_0x1ac90f;if(this['_syncScheduled']=!0x1,this[_0x2e0585(0x20b)])return;let _0x5bbc8b=Array[_0x2e0585(0x175)](this[_0x2e0585(0x2a0)]);this[_0x2e0585(0x2a0)]['clear'](),_0x5bbc8b[_0x2e0585(0x1fc)](_0x31870c=>this[_0x2e0585(0x22a)](_0x31870c));}));}[_0x264e36(0x22a)](_0x2abc19){const _0x56de88=_0x264e36;let _0x1a41cf=this['_instanceService'][_0x56de88(0x1b9)](_0x2abc19,_0x42b9d4[_0x56de88(0x205)][_0x56de88(0x1b2)]);_0x1a41cf&&this[_0x56de88(0x28d)]['syncUnit'](_0x1a41cf);}};_0x98202=_0x41e1df([_0x5eb961(0x0,_0x42b9d4[_0x264e36(0x171)]),_0x5eb961(0x1,_0x42b9d4[_0x264e36(0x1d6)]),_0x5eb961(0x2,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x136dfa)),_0x5eb961(0x3,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x567cc8))],_0x98202);function _0x386ba9(_0x19f8ce){const _0x252157=_0x264e36;return typeof _0x19f8ce=='object'&&!!_0x19f8ce&&_0x252157(0x167)in _0x19f8ce&&typeof _0x19f8ce[_0x252157(0x167)]==_0x252157(0x1ef)&&(!('segmentId'in _0x19f8ce)||_0x19f8ce[_0x252157(0x217)]===void 0x0||typeof _0x19f8ce[_0x252157(0x217)]==_0x252157(0x1ef));}let _0x496a6f=class extends _0x42b9d4['Disposable']{constructor(_0x22450f,_0x2ef911){const _0x20dfef=_0x264e36;super(),this[_0x20dfef(0x223)]=_0x22450f,this[_0x20dfef(0x168)]=_0x2ef911,this[_0x20dfef(0x22d)](this[_0x20dfef(0x223)][_0x20dfef(0x191)]({'pluginName':_0x3d28a0,'businesses':[_0x42b9d4['UniverInstanceType'][_0x20dfef(0x1b2)]],'toJson':_0x214f07=>JSON[_0x20dfef(0x246)](this[_0x20dfef(0x168)][_0x20dfef(0x176)](_0x214f07)),'parseJson':_0x5029a7=>JSON[_0x20dfef(0x1aa)](_0x5029a7),'onLoad':(_0x5fdc45,_0x4e8f19)=>{const _0x4d8305=_0x20dfef;this[_0x4d8305(0x168)][_0x4d8305(0x257)](_0x5fdc45,_0x4e8f19);},'onUnLoad':_0x2d39e9=>this[_0x20dfef(0x168)][_0x20dfef(0x1d0)](_0x2d39e9)}));}};_0x496a6f=_0x41e1df([_0x5eb961(0x0,_0x42b9d4['IResourceManagerService']),_0x5eb961(0x1,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x136dfa))],_0x496a6f);var _0x5bb004=_0x264e36(0x1ad),_0x197afa=_0x264e36(0x231);let _0x3042d2={},_0x3c2e9d=class extends _0x42b9d4[_0x264e36(0x227)]{constructor(_0x2f91b1,_0x3eff12,_0x43c443){const _0x2b5f51=_0x264e36;super(),this['_univerInstanceService']=_0x2f91b1,this[_0x2b5f51(0x18a)]=_0x3eff12,this[_0x2b5f51(0x22d)](_0x43c443['register']({'resolve':(_0x9f54dc,_0x220137)=>{const _0x218159=_0x2b5f51;var _0x1377ec;return((_0x1377ec=_0x220137[_0x218159(0x20d)])==null?void 0x0:_0x1377ec[_0x218159(0x291)](_0x5b5048)[_0x218159(0x25f)](_0x987787=>({'startOffset':_0x987787[_0x218159(0x185)],'endOffset':_0x987787[_0x218159(0x16c)]+0x1,'text':this[_0x218159(0x187)](_0x9f54dc,_0x987787['rangeId'])})))??[];}})),this['disposeWithMe'](this[_0x2b5f51(0x18a)]['presentationChanged$']['subscribe'](({unitId:_0x215064})=>{const _0x28ce8b=_0x2b5f51;_0x43c443[_0x28ce8b(0x281)](_0x215064);}));}[_0x264e36(0x187)](_0x19c377,_0x504d42){const _0xdb3e83=_0x264e36;var _0x92ab38;return((_0x92ab38=this['_formulaService'][_0xdb3e83(0x25d)]({'unitId':_0x19c377,'rangeId':_0x504d42}))==null?void 0x0:_0x92ab38[_0xdb3e83(0x198)])??'';}['resolveText'](_0x4ef104,_0x1d0667,_0x2f0a93){const _0x3d7599=_0x264e36;var _0x391bd0;let _0x30636a=this[_0x3d7599(0x284)][_0x3d7599(0x1b9)](_0x4ef104,_0x42b9d4[_0x3d7599(0x205)][_0x3d7599(0x1b2)]),_0x1ce34b=_0x30636a==null?void 0x0:_0x30636a[_0x3d7599(0x17c)]();if(!_0x1ce34b)return'';let _0x44ed5d=_0x1ce34b[_0x3d7599(0x17d)][_0x3d7599(0x20a)](_0x1d0667,_0x2f0a93),_0x1c3d9f=((_0x391bd0=_0x1ce34b[_0x3d7599(0x20d)])==null?void 0x0:_0x391bd0[_0x3d7599(0x291)](_0x2e1556=>_0x5b5048(_0x2e1556)&&_0x2e1556[_0x3d7599(0x185)]>=_0x1d0667&&_0x2e1556[_0x3d7599(0x16c)]<_0x2f0a93)['sort']((_0x3dbd05,_0x54ab63)=>_0x54ab63[_0x3d7599(0x185)]-_0x3dbd05['startIndex']))??[];for(let _0x497421 of _0x1c3d9f){let _0x536635=_0x497421[_0x3d7599(0x185)]-_0x1d0667,_0x23672d=_0x497421['endIndex']-_0x1d0667+0x1;_0x44ed5d=''+_0x44ed5d[_0x3d7599(0x20a)](0x0,_0x536635)+this[_0x3d7599(0x187)](_0x4ef104,_0x497421[_0x3d7599(0x26a)])+_0x44ed5d[_0x3d7599(0x20a)](_0x23672d);}return _0x44ed5d;}[_0x264e36(0x21b)](_0x58c5c4){return _0x272101(_0x58c5c4);}[_0x264e36(0x265)](_0x5dcd24,_0x3274d8,_0x39220a={}){const _0x366c21=_0x264e36;var _0x1e6983;return _0x5088dd({'id':_0x5dcd24,'body':_0x3274d8,'documentStyle':{}},(((_0x1e6983=_0x3274d8['customRanges'])==null?void 0x0:_0x1e6983[_0x366c21(0x291)](_0x5b5048))??[])[_0x366c21(0x25f)](_0x52f0d0=>({'rangeId':_0x52f0d0[_0x366c21(0x26a)],'text':_0x39220a[_0x52f0d0['rangeId']]??this['resolveFormula'](_0x5dcd24,_0x52f0d0[_0x366c21(0x26a)])})))[_0x366c21(0x1ff)]??{'dataStream':''};}};_0x3c2e9d=_0x41e1df([_0x5eb961(0x0,_0x42b9d4[_0x264e36(0x171)]),_0x5eb961(0x1,(0x0,_0x42b9d4['Inject'])(_0x567cc8)),_0x5eb961(0x2,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x554914[_0x264e36(0x23e)]))],_0x3c2e9d);function _0x272101(_0x502835){const _0x597101=_0x264e36;var _0x3fc68c,_0x4477f0;let _0x543f2a=_0x1d33cc(_0x502835),_0x3c71da=_0x5088dd(_0x502835,(((_0x3fc68c=_0x502835[_0x597101(0x1ff)])==null||(_0x3fc68c=_0x3fc68c['customRanges'])==null?void 0x0:_0x3fc68c[_0x597101(0x291)](_0x5b5048))??[])[_0x597101(0x25f)](_0x4e6e35=>({'rangeId':_0x4e6e35['rangeId'],'text':_0x572543(_0x543f2a==null?void 0x0:_0x543f2a[_0x597101(0x23a)][_0x4e6e35['rangeId']])})));return _0x3c71da[_0x597101(0x222)]=(_0x4477f0=_0x3c71da[_0x597101(0x222)])==null?void 0x0:_0x4477f0['filter'](_0x30fe55=>_0x30fe55['name']!==_0x3d28a0),_0x3c71da;}function _0x1d33cc(_0x1daf9e){const _0x160475=_0x264e36;var _0x53a767;let _0x1b2620=(_0x53a767=_0x1daf9e[_0x160475(0x222)])==null||(_0x53a767=_0x53a767[_0x160475(0x29e)](_0x58c6c3=>_0x58c6c3[_0x160475(0x263)]===_0x160475(0x22f)))==null?void 0x0:_0x53a767[_0x160475(0x1d7)];if(_0x1b2620)try{let _0x56a6de=JSON[_0x160475(0x1aa)](_0x1b2620);return _0x4d9d4b(_0x56a6de)?_0x56a6de:void 0x0;}catch{return;}}function _0x572543(_0x2bbd67){const _0x1c841f=_0x264e36;return _0x2bbd67?(0x0,_0x138dd0['resolveFormulaResultPresentation'])({'lastValue':_0x2bbd67[_0x1c841f(0x1bf)],'numberFormat':_0x2bbd67[_0x1c841f(0x1f8)]})[_0x1c841f(0x198)]:'';}let _0x29f095=class extends _0x42b9d4[_0x264e36(0x227)]{constructor(_0x3e0206,_0x53ceae,_0x37ceea){const _0x23ffdd=_0x264e36;super(),this['_formulaService']=_0x3e0206,this[_0x23ffdd(0x1db)]=_0x53ceae,this['disposeWithMe'](_0x37ceea[_0x23ffdd(0x22c)](this));}['collectMutations'](_0x539878){const _0x483557=_0x264e36;let _0x760c53=new Map();for(let _0x4f4d09 of this[_0x483557(0x18a)][_0x483557(0x195)]()){var _0x384029;if(!this[_0x483557(0x1db)][_0x483557(0x25c)](_0x4f4d09[_0x483557(0x2a5)][_0x483557(0x1b7)],_0x4f4d09[_0x483557(0x28c)])[_0x483557(0x245)])continue;let _0x2061d1=(0x0,_0x138dd0[_0x483557(0x293)])(_0x4f4d09[_0x483557(0x28c)]),_0x5779e4=_0x2061d1?(0x0,_0x138dd0[_0x483557(0x1c8)])(_0x2061d1):null;if(!_0x5779e4||_0x586f46(_0x4f4d09[_0x483557(0x2a5)][_0x483557(0x1bf)],_0x5779e4))continue;let _0x4a335a=_0x760c53[_0x483557(0x255)](_0x4f4d09[_0x483557(0x26b)]['unitId'])??[];_0x4a335a[_0x483557(0x239)]({'rangeId':_0x4f4d09[_0x483557(0x26b)][_0x483557(0x26a)],'expectedFormula':_0x4f4d09['config'][_0x483557(0x1b7)],'expectedNumberFormat':(_0x384029=_0x4f4d09['config']['numberFormat'])==null?void 0x0:_0x384029[_0x483557(0x16a)],'expectedReferenceRevision':_0x4f4d09[_0x483557(0x241)],'lastValue':_0x5779e4}),_0x760c53['set'](_0x4f4d09[_0x483557(0x26b)][_0x483557(0x167)],_0x4a335a);}return Array['from'](_0x760c53,([_0x2444dc,_0x20103e])=>({'id':_0x567c0f['id'],'params':{'unitId':_0x2444dc,'updates':_0x20103e}}));}};_0x29f095=_0x41e1df([_0x5eb961(0x0,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x567cc8)),_0x5eb961(0x1,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x138dd0[_0x264e36(0x24a)])),_0x5eb961(0x2,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x138dd0['FormulaLastValuePersistenceService']))],_0x29f095);function _0x586f46(_0x31b4ef,_0x52a41e){const _0x249318=_0x264e36;return(_0x31b4ef==null?void 0x0:_0x31b4ef['v'])===_0x52a41e['v']&&(_0x31b4ef==null?void 0x0:_0x31b4ef['t'])===_0x52a41e['t']&&(_0x31b4ef==null?void 0x0:_0x31b4ef[_0x249318(0x16a)])===_0x52a41e[_0x249318(0x16a)];}let _0x15d8e7=class extends _0x42b9d4[_0x264e36(0x17f)]{constructor(_0x52daac=_0x3042d2,_0x659d75,_0x47e5fb,_0x2254b9){const _0x8afcaf=_0x264e36;super(),this['_config']=_0x52daac,this[_0x8afcaf(0x1b1)]=_0x659d75,this[_0x8afcaf(0x1ed)]=_0x47e5fb,this[_0x8afcaf(0x275)]=_0x2254b9;let {..._0x2c0149}=(0x0,_0x42b9d4[_0x8afcaf(0x243)])({},_0x3042d2,this[_0x8afcaf(0x2a6)]);this[_0x8afcaf(0x275)][_0x8afcaf(0x1ce)](_0x8afcaf(0x29a),_0x2c0149);}[_0x264e36(0x28f)](){const _0xdbc508=_0x264e36;this[_0xdbc508(0x1b1)][_0xdbc508(0x1af)]([_0x136dfa]),this[_0xdbc508(0x1b1)][_0xdbc508(0x1af)]([_0x567cc8]),this[_0xdbc508(0x1b1)][_0xdbc508(0x1af)]([_0x496a6f]),this['_injector'][_0xdbc508(0x1af)]([_0x98202]),this['_injector']['add']([_0x29f095]),this[_0xdbc508(0x1b1)][_0xdbc508(0x1af)]([_0x3c2e9d]),(0x0,_0x42b9d4['touchDependencies'])(this[_0xdbc508(0x1b1)],[[_0x136dfa],[_0x496a6f],[_0x98202],[_0x29f095],[_0x3c2e9d]]),[_0x5e5b67,_0x2be4a6,_0x5679e0,_0x567c0f,_0x2b011d,_0x45e8cd,_0x3be6e3,_0x5e7d40,_0x3eab2d,_0xbd03ae][_0xdbc508(0x1fc)](_0x1695d4=>this['disposeWithMe'](this[_0xdbc508(0x1ed)][_0xdbc508(0x278)](_0x1695d4)));}};_0x4b071f(_0x15d8e7,_0x264e36(0x21e),_0x3d28a0),_0x4b071f(_0x15d8e7,_0x264e36(0x1d4),_0x5bb004),_0x4b071f(_0x15d8e7,_0x264e36(0x286),_0x197afa),_0x4b071f(_0x15d8e7,_0x264e36(0x1f4),_0x42b9d4[_0x264e36(0x205)][_0x264e36(0x1b2)]),_0x15d8e7=_0x41e1df([(0x0,_0x42b9d4[_0x264e36(0x1a0)])(_0x43fe23[_0x264e36(0x1e7)],_0x138dd0[_0x264e36(0x2a9)],_0x554914[_0x264e36(0x1c3)]),_0x5eb961(0x1,(0x0,_0x42b9d4[_0x264e36(0x262)])(_0x42b9d4[_0x264e36(0x29c)])),_0x5eb961(0x2,_0x42b9d4[_0x264e36(0x1d6)]),_0x5eb961(0x3,_0x42b9d4[_0x264e36(0x1c1)])],_0x15d8e7),_0x502800['ConvertDocFormulaToTextCommand']=_0xbd03ae,_0x502800[_0x264e36(0x1b6)]=_0x48c9c7,_0x502800[_0x264e36(0x225)]='',_0x502800[_0x264e36(0x22f)]=_0x3d28a0,_0x502800['DOC_FORMULA_SCHEMA_VERSION']=0x1,Object[_0x264e36(0x1ac)](_0x502800,_0x264e36(0x1a6),{'enumerable':!0x0,'get':function(){return _0x3c2e9d;}}),Object[_0x264e36(0x1ac)](_0x502800,'DocFormulaLifecycleController',{'enumerable':!0x0,'get':function(){return _0x98202;}}),_0x502800[_0x264e36(0x1cd)]=_0x136dfa,Object[_0x264e36(0x1ac)](_0x502800,'DocFormulaResourceController',{'enumerable':!0x0,'get':function(){return _0x496a6f;}}),_0x502800[_0x264e36(0x254)]=_0x17a4fa,Object[_0x264e36(0x1ac)](_0x502800,_0x264e36(0x1fd),{'enumerable':!0x0,'get':function(){return _0x567cc8;}}),_0x502800[_0x264e36(0x197)]=_0x2b011d,_0x502800['InvalidDocFormulaInsertRangeError']=_0x2d09c5,_0x502800[_0x264e36(0x189)]=_0x5e7d40,_0x502800[_0x264e36(0x211)]=_0x2be4a6,_0x502800[_0x264e36(0x19f)]=_0x3eab2d,_0x502800[_0x264e36(0x22e)]=_0x567c0f,_0x502800[_0x264e36(0x184)]=_0x5e5b67,_0x502800[_0x264e36(0x238)]=_0x3be6e3,_0x502800[_0x264e36(0x1d9)]=_0x5679e0,Object[_0x264e36(0x1ac)](_0x502800,_0x264e36(0x27f),{'enumerable':!0x0,'get':function(){return _0x15d8e7;}}),_0x502800[_0x264e36(0x253)]=_0x45e8cd,_0x502800[_0x264e36(0x1d1)]=_0x350f35,_0x502800[_0x264e36(0x193)]=_0x59ec7a,_0x502800['buildRemoveDocFormulaActions']=_0x3e159c,_0x502800[_0x264e36(0x210)]=_0x266b43,_0x502800['createEmptyDocFormulaResource']=_0x5c7567,_0x502800['degradeDocFormulaDocumentData']=_0x272101,_0x502800[_0x264e36(0x1a9)]=_0xe4a3ff,_0x502800[_0x264e36(0x1f1)]=_0x3a626b,_0x502800[_0x264e36(0x183)]=_0x5b5048,_0x502800[_0x264e36(0x2a8)]=_0x4d9d4b,_0x502800[_0x264e36(0x1cf)]=_0x12f29b;}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/docs-formula",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
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.2.0",
65
- "@univerjs-pro/license": "1.2.0",
66
- "@univerjs/core": "1.2.0",
67
- "@univerjs/docs": "1.2.0",
68
- "@univerjs/engine-formula": "1.2.0"
64
+ "@univerjs-pro/engine-formula": "1.3.0",
65
+ "@univerjs-pro/license": "1.3.0",
66
+ "@univerjs/core": "1.3.0",
67
+ "@univerjs/docs": "1.3.0",
68
+ "@univerjs/engine-formula": "1.3.0"
69
69
  },
70
70
  "devDependencies": {
71
- "@univerjs-infra/shared": "1.2.0",
72
- "@univerjs/engine-render": "1.2.0",
71
+ "@univerjs-infra/shared": "1.3.0",
72
+ "@univerjs/engine-render": "1.3.0",
73
73
  "rxjs": "7.8.2",
74
74
  "typescript": "^6.0.3",
75
75
  "vitest": "^5.0.4"