@univerjs-pro/collaboration-client-ui 0.10.14-nightly.202511080715 → 0.11.0-nightly.202511151013
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -0
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -0
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -0
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/ja-JP.d.ts +3 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -0
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4c12(_0x5c848d,_0x4c5c1e){const _0x416b82=_0x416b();return _0x4c12=function(_0x4c121c,_0x4795d9){_0x4c121c=_0x4c121c-0x1c8;let _0x173bf8=_0x416b82[_0x4c121c];return _0x173bf8;},_0x4c12(_0x5c848d,_0x4c5c1e);}(function(_0x3a08a2,_0x484d69){const _0x443d20=_0x4c12,_0x56949b=_0x3a08a2();while(!![]){try{const _0x5c042a=-parseInt(_0x443d20(0x2aa))/0x1+-parseInt(_0x443d20(0x26b))/0x2+-parseInt(_0x443d20(0x327))/0x3*(-parseInt(_0x443d20(0x442))/0x4)+-parseInt(_0x443d20(0x487))/0x5+parseInt(_0x443d20(0x2b1))/0x6+-parseInt(_0x443d20(0x30f))/0x7*(parseInt(_0x443d20(0x1ca))/0x8)+-parseInt(_0x443d20(0x210))/0x9*(-parseInt(_0x443d20(0x44e))/0xa);if(_0x5c042a===_0x484d69)break;else _0x56949b['push'](_0x56949b['shift']());}catch(_0xa8d6ee){_0x56949b['push'](_0x56949b['shift']());}}}(_0x416b,0xa3de9),function(_0x4c8f29,_0x147463){const _0x591720=_0x4c12;typeof exports==_0x591720(0x2b6)&&typeof module<'u'?_0x147463(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x591720(0x2f4)]?define([_0x591720(0x2ad),_0x591720(0x499),'@univerjs-pro/collaboration-client',_0x591720(0x45d),_0x591720(0x2b4),_0x591720(0x400),_0x591720(0x239),_0x591720(0x371),_0x591720(0x217),_0x591720(0x28f),_0x591720(0x452),_0x591720(0x423),_0x591720(0x27c),_0x591720(0x20e),_0x591720(0x3bb),_0x591720(0x2d8),_0x591720(0x469),_0x591720(0x216),_0x591720(0x1c9)],_0x147463):(_0x4c8f29=typeof globalThis<'u'?globalThis:_0x4c8f29||self,_0x147463(_0x4c8f29[_0x591720(0x1fe)]={},_0x4c8f29[_0x591720(0x361)],_0x4c8f29[_0x591720(0x219)],_0x4c8f29[_0x591720(0x352)],_0x4c8f29[_0x591720(0x489)],_0x4c8f29[_0x591720(0x400)],_0x4c8f29[_0x591720(0x1cc)],_0x4c8f29[_0x591720(0x361)],_0x4c8f29[_0x591720(0x2ee)],_0x4c8f29['UniverSheets'],_0x4c8f29['UniverEngineRender'],_0x4c8f29[_0x591720(0x3b1)],_0x4c8f29['UniverDocsUi'],_0x4c8f29['UniverDrawing'],_0x4c8f29[_0x591720(0x222)],_0x4c8f29[_0x591720(0x322)],_0x4c8f29[_0x591720(0x270)],_0x4c8f29['rxjs']['operators'],_0x4c8f29['UniverSheetsUi']));}(this,function(_0x5077fe,_0x5148ca,_0x2e0918,_0x4dc9d4,_0x2d992f,_0x488623,_0x32cbec,_0x5044cf,_0xed152a,_0x14e350,_0x37167b,_0x4efdde,_0x504cab,_0x5d37cb,_0x40f85d,_0x2ffbcd,_0x55872e,_0x2eb3af,_0x4e7875){'use strict';const _0x4ff2ee=_0x4c12;var _0x2da0fd=Object[_0x4ff2ee(0x342)],_0x227c16=(_0x5e3db1,_0x2c7567,_0x2d6438)=>_0x2c7567 in _0x5e3db1?_0x2da0fd(_0x5e3db1,_0x2c7567,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d6438}):_0x5e3db1[_0x2c7567]=_0x2d6438,_0x3f28ac=(_0x2cee2a,_0x151d2d,_0xb45740)=>_0x227c16(_0x2cee2a,typeof _0x151d2d!=_0x4ff2ee(0x3a1)?_0x151d2d+'':_0x151d2d,_0xb45740);function _0x2b8db4({ref:_0x2e9d6f,..._0x4e1150}){const _0x488643=_0x4ff2ee,{icon:_0x47f1e3,id:_0x21955d,className:_0x1fc8f4,extend:_0x10eff4,..._0xac775a}=_0x4e1150,_0x1f7cc4=(_0x488643(0x218)+_0x21955d+'\x20'+(_0x1fc8f4||''))[_0x488643(0x21e)](),_0x35eac4=_0x5044cf['useRef']('_'+_0x30bc38());return _0xd5cf3c(_0x47f1e3,''+_0x21955d,{'defIds':_0x47f1e3[_0x488643(0x46f)],'idSuffix':_0x35eac4[_0x488643(0x407)]},{'ref':_0x2e9d6f,'className':_0x1f7cc4,..._0xac775a},_0x10eff4);}function _0xd5cf3c(_0x57163b,_0x36f49f,_0x5ccc30,_0x46a192,_0x5d50f1){const _0x3e9d7e=_0x4ff2ee;return _0x5044cf['createElement'](_0x57163b['tag'],{'key':_0x36f49f,..._0x476ede(_0x57163b,_0x5ccc30,_0x5d50f1),..._0x46a192},(_0x1369d7(_0x57163b,_0x5ccc30)[_0x3e9d7e(0x35e)]||[])[_0x3e9d7e(0x3ab)]((_0x5a2e7f,_0x4adbee)=>_0xd5cf3c(_0x5a2e7f,_0x36f49f+'-'+_0x57163b[_0x3e9d7e(0x34a)]+'-'+_0x4adbee,_0x5ccc30,void 0x0,_0x5d50f1)));}function _0x476ede(_0x2df73d,_0x1bfd45,_0x5670c9){const _0x410986=_0x4ff2ee,_0x438d3e={..._0x2df73d['attrs']};_0x5670c9!=null&&_0x5670c9[_0x410986(0x1ce)]&&_0x438d3e[_0x410986(0x25e)]===_0x410986(0x1ce)&&(_0x438d3e[_0x410986(0x25e)]=_0x5670c9['colorChannel1']),_0x2df73d[_0x410986(0x34a)]===_0x410986(0x291)&&_0x438d3e['id']&&(_0x438d3e['id']=_0x438d3e['id']+_0x1bfd45[_0x410986(0x309)]),Object[_0x410986(0x3e1)](_0x438d3e)[_0x410986(0x426)](([_0x26f8b1,_0x267053])=>{const _0x1de1db=_0x410986;_0x26f8b1===_0x1de1db(0x291)&&typeof _0x267053==_0x1de1db(0x290)&&(_0x438d3e[_0x26f8b1]=_0x267053[_0x1de1db(0x3ba)](/url\(#(.*)\)/,_0x1de1db(0x2a3)+_0x1bfd45['idSuffix']+')'));});const {defIds:_0x16e936}=_0x1bfd45;return!_0x16e936||_0x16e936[_0x410986(0x274)]===0x0||(_0x2df73d[_0x410986(0x34a)]===_0x410986(0x28a)&&_0x438d3e[_0x410986(0x2a4)]&&(_0x438d3e[_0x410986(0x2a4)]=_0x438d3e[_0x410986(0x2a4)]+_0x1bfd45[_0x410986(0x309)]),Object['entries'](_0x438d3e)[_0x410986(0x426)](([_0x9ba05a,_0x9bcb5d])=>{const _0x36e220=_0x410986;typeof _0x9bcb5d==_0x36e220(0x290)&&(_0x438d3e[_0x9ba05a]=_0x9bcb5d[_0x36e220(0x3ba)](/url\(#(.*)\)/,_0x36e220(0x2a3)+_0x1bfd45[_0x36e220(0x309)]+')'));})),_0x438d3e;}function _0x1369d7(_0x484606,_0x162209){const _0x331339=_0x4ff2ee;var _0x322499;const {defIds:_0x28ffbe}=_0x162209;return!_0x28ffbe||_0x28ffbe[_0x331339(0x274)]===0x0?_0x484606:_0x484606['tag']===_0x331339(0x40f)&&((_0x322499=_0x484606['children'])!=null&&_0x322499['length'])?{..._0x484606,'children':_0x484606['children'][_0x331339(0x3ab)](_0x4e7f7e=>typeof _0x4e7f7e[_0x331339(0x446)]['id']=='string'&&_0x28ffbe&&_0x28ffbe['includes'](_0x4e7f7e[_0x331339(0x446)]['id'])?{..._0x4e7f7e,'attrs':{..._0x4e7f7e[_0x331339(0x446)],'id':_0x4e7f7e['attrs']['id']+_0x162209[_0x331339(0x309)]}}:_0x4e7f7e)}:_0x484606;}function _0x30bc38(){const _0x5a5d74=_0x4ff2ee;return Math[_0x5a5d74(0x3fa)]()[_0x5a5d74(0x471)](0x24)[_0x5a5d74(0x1f8)](0x2,0x8);}_0x2b8db4[_0x4ff2ee(0x303)]=_0x4ff2ee(0x25c);const _0x58acc2={'tag':_0x4ff2ee(0x3b5),'attrs':{'xmlns':_0x4ff2ee(0x1d4),'fill':_0x4ff2ee(0x252),'viewBox':_0x4ff2ee(0x25f),'width':_0x4ff2ee(0x394),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4ff2ee(0x41a),'attrs':{'stroke':_0x4ff2ee(0x39f),'d':_0x4ff2ee(0x22a),'strokeLinecap':_0x4ff2ee(0x330),'strokeLinejoin':_0x4ff2ee(0x330),'strokeWidth':1.2}}]},{'tag':_0x4ff2ee(0x40f),'attrs':{},'children':[{'tag':_0x4ff2ee(0x347),'attrs':{'id':_0x4ff2ee(0x37a)},'children':[{'tag':_0x4ff2ee(0x41a),'attrs':{'fill':_0x4ff2ee(0x333),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x21539d=_0x5044cf[_0x4ff2ee(0x421)](function(_0x2a5d03,_0xab1c4b){const _0x54cdb0=_0x4ff2ee;return _0x5044cf[_0x54cdb0(0x2e9)](_0x2b8db4,Object[_0x54cdb0(0x32d)]({},_0x2a5d03,{'id':_0x54cdb0(0x27a),'ref':_0xab1c4b,'icon':_0x58acc2}));});_0x21539d['displayName']=_0x4ff2ee(0x3a5);const _0x5609da={'tag':_0x4ff2ee(0x3b5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4ff2ee(0x353),'width':_0x4ff2ee(0x394),'height':_0x4ff2ee(0x394)},'children':[{'tag':'g','attrs':{'clipPath':_0x4ff2ee(0x44d)},'children':[{'tag':'path','attrs':{'stroke':_0x4ff2ee(0x39f),'d':_0x4ff2ee(0x464),'strokeLinecap':_0x4ff2ee(0x330),'strokeLinejoin':_0x4ff2ee(0x330),'strokeWidth':1.2}}]},{'tag':_0x4ff2ee(0x40f),'attrs':{},'children':[{'tag':_0x4ff2ee(0x347),'attrs':{'id':_0x4ff2ee(0x254)},'children':[{'tag':_0x4ff2ee(0x41a),'attrs':{'fill':_0x4ff2ee(0x333),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x4ff2ee(0x254)]},_0x53c179=_0x5044cf[_0x4ff2ee(0x421)](function(_0x579700,_0x3a3af9){const _0x2c9cff=_0x4ff2ee;return _0x5044cf[_0x2c9cff(0x2e9)](_0x2b8db4,Object[_0x2c9cff(0x32d)]({},_0x579700,{'id':'on-line-icon','ref':_0x3a3af9,'icon':_0x5609da}));});_0x53c179[_0x4ff2ee(0x303)]=_0x4ff2ee(0x3e6);function _0x586c64(_0x58a677){const _0x28fdb6=_0x4ff2ee;switch(_0x58a677){case _0x2e0918[_0x28fdb6(0x2f1)]['OFFLINE']:return'collabStatus.offline';case _0x2e0918['CollaborationStatus'][_0x28fdb6(0x3e0)]:return _0x28fdb6(0x3fc);case _0x2e0918['CollaborationStatus']['FETCH_MISS']:return _0x28fdb6(0x3b9);case _0x2e0918[_0x28fdb6(0x2f1)][_0x28fdb6(0x3de)]:return _0x28fdb6(0x310);case _0x2e0918['CollaborationStatus']['AWAITING']:case _0x2e0918['CollaborationStatus']['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x2e0918[_0x28fdb6(0x2f1)]['SYNCED']:case _0x2e0918[_0x28fdb6(0x2f1)]['PENDING']:return _0x28fdb6(0x276);}}function _0x4677ac(_0x81668e){const _0x4269e7=_0x4ff2ee,{status$:_0x462070}=_0x81668e,_0x1eac29=_0x2d992f[_0x4269e7(0x49c)](_0x462070,_0x2e0918[_0x4269e7(0x2f1)][_0x4269e7(0x3de)]),_0x117fb9=_0x2d992f[_0x4269e7(0x3d0)](_0x4dc9d4['LocaleService']),_0x50f3a2=_0x2d992f[_0x4269e7(0x3d0)](_0x2e0918[_0x4269e7(0x453)]),_0x3b4c35=_0x1eac29!==_0x2e0918['CollaborationStatus'][_0x4269e7(0x49d)],_0x7f3e3d=_0x117fb9['t'](_0x586c64(_0x1eac29)),_0xa815ee=_0x3b4c35?_0x5148ca['jsx'](_0x53c179,{}):_0x5148ca[_0x4269e7(0x40c)](_0x21539d,{}),_0xe40f20=_0x5044cf['useCallback'](()=>{const _0x155c72=_0x4269e7;_0x3b4c35||_0x50f3a2[_0x155c72(0x2f8)]();},[_0x3b4c35,_0x50f3a2]);function _0x2cfb33(){const _0xc7d3eb=_0x4269e7;return _0x5148ca[_0xc7d3eb(0x491)]('div',{'className':_0xc7d3eb(0x390),'onClick':_0xe40f20,'children':[_0x5148ca[_0xc7d3eb(0x40c)](_0xc7d3eb(0x48c),{'className':_0x32cbec[_0xc7d3eb(0x232)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3b4c35,'univer-text-red-500':!_0x3b4c35}),'children':_0xa815ee}),_0x5148ca[_0xc7d3eb(0x40c)](_0xc7d3eb(0x48c),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x7f3e3d})]});}return _0x3b4c35?_0x2cfb33():_0x5148ca['jsx'](_0x32cbec[_0x4269e7(0x204)],{'title':_0x117fb9['t'](_0x4269e7(0x272)),'children':_0x2cfb33()});}var _0x24e26f=Object[_0x4ff2ee(0x304)],_0x38860a=(_0x2f5d11,_0x2dccb9,_0x5ce689,_0x27ec51)=>{const _0x263864=_0x4ff2ee;for(var _0x27681a=_0x27ec51>0x1?void 0x0:_0x27ec51?_0x24e26f(_0x2dccb9,_0x5ce689):_0x2dccb9,_0x26612f=_0x2f5d11[_0x263864(0x274)]-0x1,_0x513c9b;_0x26612f>=0x0;_0x26612f--)(_0x513c9b=_0x2f5d11[_0x26612f])&&(_0x27681a=_0x513c9b(_0x27681a)||_0x27681a);return _0x27681a;},_0x259b1a=(_0x420962,_0x4cd434)=>(_0x732be4,_0x56142c)=>_0x4cd434(_0x732be4,_0x56142c,_0x420962);_0x5077fe[_0x4ff2ee(0x44b)]=class extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(_0x5c82b6,_0xcb98e1,_0x4c4a1e,_0x42b60f){const _0x3cfc56=_0x4ff2ee;super(),_0x3f28ac(this,_0x3cfc56(0x2fe),new _0x488623[(_0x3cfc56(0x438))](_0x2e0918[_0x3cfc56(0x2f1)][_0x3cfc56(0x3de)])),(this[_0x3cfc56(0x40a)]=_0x5c82b6,this[_0x3cfc56(0x406)]=_0xcb98e1,this[_0x3cfc56(0x278)]=_0x4c4a1e,this['_uiPartsService']=_0x42b60f,this[_0x3cfc56(0x27e)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x214340=_0x4ff2ee;this[_0x214340(0x466)](this[_0x214340(0x40a)]['focused$'][_0x214340(0x2b9)](_0x488623['switchMap'](()=>{const _0x5ccf00=_0x214340,_0x524fc4=this[_0x5ccf00(0x40a)][_0x5ccf00(0x29c)]();return _0x524fc4?this['_collaborationController']['getCollabEntity$'](_0x524fc4[_0x5ccf00(0x249)]()):_0x488623['of'](null);}),_0x488623['switchMap'](_0x1cd6b1=>_0x1cd6b1?_0x1cd6b1[_0x214340(0x414)]:_0x488623['of'](_0x2e0918[_0x214340(0x2f1)]['NOT_COLLAB'])))[_0x214340(0x292)](_0x3d957d=>{const _0x265814=_0x214340;this[_0x265814(0x2fe)]['next'](_0x3d957d);}));}[_0x4ff2ee(0x27e)](){const _0x246dd5=_0x4ff2ee;this[_0x246dd5(0x466)](this['_uiPartsService']['registerComponent'](_0x2d992f[_0x246dd5(0x399)]['HEADER_MENU'],()=>_0x2d992f['connectInjector'](_0xc9fad3({'status$':this[_0x246dd5(0x2fe)][_0x246dd5(0x37e)]()}),this[_0x246dd5(0x406)])));}},_0x5077fe[_0x4ff2ee(0x44b)]=_0x38860a([_0x259b1a(0x0,_0x4dc9d4['IUniverInstanceService']),_0x259b1a(0x1,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x419)])),_0x259b1a(0x2,_0x4dc9d4['Inject'](_0x2e0918['CollaborationController'])),_0x259b1a(0x3,_0x2d992f[_0x4ff2ee(0x3cd)])],_0x5077fe[_0x4ff2ee(0x44b)]);function _0xc9fad3(_0xf696a){const {status$:_0x1da96d}=_0xf696a;return function(){return _0x5148ca['jsx'](_0x4677ac,{'status$':_0x1da96d});};}const _0x4d3f49=_0x4dc9d4[_0x4ff2ee(0x3f6)](_0x4ff2ee(0x299));var _0x2dda93=Object[_0x4ff2ee(0x304)],_0x108b33=(_0xb2830d,_0x228ab7,_0xaad7bd,_0x58f3e3)=>{const _0x1599d6=_0x4ff2ee;for(var _0x74c4da=_0x58f3e3>0x1?void 0x0:_0x58f3e3?_0x2dda93(_0x228ab7,_0xaad7bd):_0x228ab7,_0x5a3a05=_0xb2830d[_0x1599d6(0x274)]-0x1,_0x448f00;_0x5a3a05>=0x0;_0x5a3a05--)(_0x448f00=_0xb2830d[_0x5a3a05])&&(_0x74c4da=_0x448f00(_0x74c4da)||_0x74c4da);return _0x74c4da;},_0x31a6bb=(_0x491553,_0x749394)=>(_0x3924a0,_0x4712ed)=>_0x749394(_0x3924a0,_0x4712ed,_0x491553);_0x5077fe[_0x4ff2ee(0x3df)]=class extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(_0x18f7d6,_0x5c4f5c,_0x4245a7,_0x36f6a1,_0x4037c4){const _0x29fe71=_0x4ff2ee;super(),this[_0x29fe71(0x43a)]=_0x18f7d6,this[_0x29fe71(0x403)]=_0x5c4f5c,this['_commandService']=_0x4245a7,this[_0x29fe71(0x2ff)]=_0x36f6a1,_0x4037c4?_0x4037c4==null||_0x4037c4[_0x29fe71(0x260)]()['then'](()=>this[_0x29fe71(0x475)]()):(this[_0x29fe71(0x403)][_0x29fe71(0x427)]('[CollaborationDataLoaderController]',_0x29fe71(0x365)),this[_0x29fe71(0x475)]());}async[_0x4ff2ee(0x475)](){const _0x3b449d=_0x4ff2ee,_0x259299=this[_0x3b449d(0x43a)][_0x3b449d(0x2cb)]('unit'),_0x56ade0=this['_urlService']['getParam']('type'),_0x4fdb29=this[_0x3b449d(0x43a)][_0x3b449d(0x2cb)](_0x3b449d(0x485));if(!_0x259299||!_0x56ade0){this['_logService'][_0x3b449d(0x427)](_0x3b449d(0x2d6),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2924de=await this[_0x3b449d(0x2ff)][_0x3b449d(0x1cd)](_0x259299,Number(_0x56ade0),_0x4fdb29);_0x2924de&&_0x2924de instanceof _0x4dc9d4[_0x3b449d(0x3b8)]&&this[_0x3b449d(0x358)](_0x2924de);}async['_setupSubUnitSync'](_0x6d940f){const _0x3d97ce=_0x4ff2ee;await this[_0x3d97ce(0x2b3)](_0x6d940f),_0x6d940f[_0x3d97ce(0x2bd)][_0x3d97ce(0x2b9)](_0x488623[_0x3d97ce(0x1d2)](this[_0x3d97ce(0x1d7)]))[_0x3d97ce(0x292)](_0x2d72c8=>{const _0x4d4b4a=_0x3d97ce;_0x2d72c8&&this[_0x4d4b4a(0x482)](_0x2d72c8);}),this['_urlService']['urlChange$']['pipe'](_0x488623[_0x3d97ce(0x1d2)](this[_0x3d97ce(0x1d7)]))[_0x3d97ce(0x292)](()=>this[_0x3d97ce(0x2b3)](_0x6d940f));}[_0x4ff2ee(0x482)](_0x3f72d9,_0x3f5ffa=!0x1){const _0x5ba14c=_0x4ff2ee,_0x96074f=this[_0x5ba14c(0x43a)][_0x5ba14c(0x2cb)](_0x5ba14c(0x485));_0x3f72d9['getSheetId']()!==_0x96074f&&this[_0x5ba14c(0x43a)][_0x5ba14c(0x317)](_0x5ba14c(0x485),_0x3f72d9[_0x5ba14c(0x37c)](),_0x3f5ffa);}async[_0x4ff2ee(0x2b3)](_0x207e68){const _0x5a9d30=_0x4ff2ee;var _0x599848;const _0x3f9667=this['_urlService']['getParam'](_0x5a9d30(0x485));if(!_0x3f9667||!_0x207e68[_0x5a9d30(0x492)](_0x3f9667)){const _0x4b94c9=_0x207e68[_0x5a9d30(0x236)]()[0x0],_0x2a5e78=_0x207e68[_0x5a9d30(0x492)](_0x4b94c9);if(!_0x2a5e78)return;this[_0x5a9d30(0x482)](_0x2a5e78,!0x0),await this[_0x5a9d30(0x35d)][_0x5a9d30(0x2da)](_0x14e350['SetWorksheetActivateCommand']['id'],{'unitId':_0x207e68[_0x5a9d30(0x249)](),'subUnitId':_0x4b94c9});return;}((_0x599848=_0x207e68[_0x5a9d30(0x478)]())==null?void 0x0:_0x599848[_0x5a9d30(0x37c)]())!==_0x3f9667&&await this[_0x5a9d30(0x35d)]['executeCommand'](_0x14e350[_0x5a9d30(0x38e)]['id'],{'unitId':_0x207e68[_0x5a9d30(0x249)](),'subUnitId':_0x3f9667});}},_0x5077fe['CollaborationDataLoaderController']=_0x108b33([_0x31a6bb(0x0,_0x4d3f49),_0x31a6bb(0x1,_0x4dc9d4[_0x4ff2ee(0x47b)]),_0x31a6bb(0x2,_0x4dc9d4['ICommandService']),_0x31a6bb(0x3,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x2e0918[_0x4ff2ee(0x2af)])),_0x31a6bb(0x4,_0x4dc9d4[_0x4ff2ee(0x30c)](_0xed152a[_0x4ff2ee(0x201)]))],_0x5077fe[_0x4ff2ee(0x3df)]);var _0x2ba86a=Object[_0x4ff2ee(0x304)],_0x4e5023=(_0x2c5220,_0x52ec15,_0x286d8c,_0x220716)=>{for(var _0x4c8e44=_0x220716>0x1?void 0x0:_0x220716?_0x2ba86a(_0x52ec15,_0x286d8c):_0x52ec15,_0x306793=_0x2c5220['length']-0x1,_0x363d44;_0x306793>=0x0;_0x306793--)(_0x363d44=_0x2c5220[_0x306793])&&(_0x4c8e44=_0x363d44(_0x4c8e44)||_0x4c8e44);return _0x4c8e44;},_0x5cef53=(_0x285793,_0x5ef6b1)=>(_0x47793e,_0x2b7bb4)=>_0x5ef6b1(_0x47793e,_0x2b7bb4,_0x285793);let _0x397ffc=class extends _0x4dc9d4['RxDisposable']{constructor(_0x1deb9d,_0x32abd1){const _0x3af210=_0x4ff2ee;super(),this[_0x3af210(0x323)]=_0x1deb9d,this['_imageIoService']=_0x32abd1,this[_0x3af210(0x475)]();}['_init'](){const _0x1df751=_0x4ff2ee,_0x353af1=this;this[_0x1df751(0x466)](this['_docClipboardService'][_0x1df751(0x30d)]({'onBeforePasteImage':async _0xd2103=>{const _0x299159=_0x1df751,_0x5e8cbd=await _0x353af1[_0x299159(0x369)]['saveImage'](_0xd2103);return _0x5e8cbd?{'source':_0x5e8cbd[_0x299159(0x479)],'imageSourceType':_0x5e8cbd[_0x299159(0x348)]}:null;}}));}};_0x397ffc=_0x4e5023([_0x5cef53(0x0,_0x504cab[_0x4ff2ee(0x33d)]),_0x5cef53(0x1,_0x5d37cb['IImageIoService'])],_0x397ffc);const _0xc9be9f=[_0x4ff2ee(0x2cc),'jiqing.500',_0x4ff2ee(0x1ee),'red.300','blue.400',_0x4ff2ee(0x420)];class _0x278cb7 extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(){const _0x15338a=_0x4ff2ee;super(...arguments),_0x3f28ac(this,_0x15338a(0x44c),new Map()),_0x3f28ac(this,_0x15338a(0x202),0x0);}[_0x4ff2ee(0x2a0)](_0x1041e4){const _0x288748=_0x4ff2ee;if(this[_0x288748(0x44c)][_0x288748(0x477)](_0x1041e4))return this[_0x288748(0x44c)][_0x288748(0x35f)](_0x1041e4);const _0x24be55=_0xc9be9f[this[_0x288748(0x202)]];return this[_0x288748(0x202)]=(this['_colorIndex']+0x1)%_0xc9be9f['length'],this[_0x288748(0x44c)][_0x288748(0x48a)](_0x1041e4,_0x24be55),_0x24be55;}}function _0x3c64bb(_0xbbb50e){const _0xf8484=_0x4ff2ee;let _0x15dc62='';for(const _0x3555bc of _0xbbb50e){const {startOffset:_0xb624ad,endOffset:_0x5d4c9a,isActive:_0x4c3838,rangeType:_0x8f51d4,segmentId:_0x10e6b5,segmentPage:_0x350fb2}=_0x3555bc;_0x15dc62[_0xf8484(0x274)]&&(_0x15dc62+=','),_0x15dc62+=_0xb624ad+':'+_0x5d4c9a+':'+(_0x4c3838?'1':'0')+':'+_0x8f51d4+':'+_0x10e6b5+':'+_0x350fb2;}return _0x15dc62;}function _0x299d19(_0x52f392){const _0x1b7605=_0x4ff2ee,_0x3cfe65=_0x52f392['split'](','),_0x1cab36=[];for(const _0x3e10d7 of _0x3cfe65){const [_0x728b74,_0x7d2610,_0x33b688,_0x9c0331,_0x214608,_0x513c60]=_0x3e10d7[_0x1b7605(0x227)](':');_0x1cab36['push']({'startOffset':Number(_0x728b74),'endOffset':Number(_0x7d2610),'collapsed':_0x728b74===_0x7d2610,'isActive':_0x33b688==='1','rangeType':_0x9c0331===_0x4dc9d4[_0x1b7605(0x30a)][_0x1b7605(0x3f5)]?_0x4dc9d4[_0x1b7605(0x30a)][_0x1b7605(0x3f5)]:_0x4dc9d4['DOC_RANGE_TYPE'][_0x1b7605(0x263)],'segmentId':typeof _0x214608==_0x1b7605(0x290)?String(_0x214608):'','segmentPage':Number(_0x513c60!=null?_0x513c60:-0x1)});}return _0x1cab36['some'](_0x25475d=>_0x25475d['isActive'])||(_0x1cab36[0x0][_0x1b7605(0x34f)]=!0x0),_0x1cab36;}class _0x46655e extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(){const _0x5e8d6b=_0x4ff2ee;super(...arguments),_0x3f28ac(this,_0x5e8d6b(0x455),new _0x488623['BehaviorSubject'](null)),_0x3f28ac(this,_0x5e8d6b(0x39a),this[_0x5e8d6b(0x455)][_0x5e8d6b(0x37e)]());}['syncEditingCollabCursor'](_0x5e9d98){const _0x276173=_0x4ff2ee,{unitID:_0x133d5c,memberID:_0x41815f,textRanges:_0x43e346}=_0x5e9d98,_0x5be919=_0x3c64bb(_0x43e346);if(_0x5be919==='')return;const _0x386661={'unitID':_0x133d5c,'memberID':_0x41815f,'selection':_0x5be919};this['_collabCursorState$'][_0x276173(0x474)](_0x386661);}}var _0x46abde=Object[_0x4ff2ee(0x304)],_0x701d7d=(_0x50a04d,_0x46b011,_0x556cc0,_0x316d00)=>{const _0x454c79=_0x4ff2ee;for(var _0x4d388c=_0x316d00>0x1?void 0x0:_0x316d00?_0x46abde(_0x46b011,_0x556cc0):_0x46b011,_0x4dd48f=_0x50a04d[_0x454c79(0x274)]-0x1,_0x311760;_0x4dd48f>=0x0;_0x4dd48f--)(_0x311760=_0x50a04d[_0x4dd48f])&&(_0x4d388c=_0x311760(_0x4d388c)||_0x4d388c);return _0x4d388c;},_0x3da18a=(_0x2683c4,_0x41dc82)=>(_0x3f9b43,_0x263b2d)=>_0x41dc82(_0x3f9b43,_0x263b2d,_0x2683c4);const _0x19fc2d=0x12c,_0x7ec9dc=0x64;let _0x2eb2d8=class extends _0x4dc9d4['RxDisposable']{constructor(_0x5d5d1c,_0x4d237b,_0x119266,_0x31d8ea,_0xadd9be,_0x1965c8,_0x35fa47,_0x11a586,_0x2768f6){const _0x19ce57=_0x4ff2ee;super(),_0x3f28ac(this,'_online',!0x1),_0x3f28ac(this,'_init',!0x1),_0x3f28ac(this,_0x19ce57(0x38c),new _0x488623[(_0x19ce57(0x438))](new Map())),_0x3f28ac(this,_0x19ce57(0x381),this[_0x19ce57(0x38c)]['asObservable']()),_0x3f28ac(this,_0x19ce57(0x316),new _0x488623['BehaviorSubject']([])),_0x3f28ac(this,_0x19ce57(0x334),this['_roomMembers$'][_0x19ce57(0x2b9)](_0x488623[_0x19ce57(0x1cf)](_0x19fc2d))),_0x3f28ac(this,'_updateLocalCursor',_0x4dc9d4['debounce'](_0x44fef5=>{const _0x276e78=_0x19ce57,_0x1d63b6={'eventID':_0x40f85d[_0x276e78(0x25b)][_0x276e78(0x345)],'data':{'unitID':this['unitID'],'memberID':this[_0x276e78(0x24d)][_0x276e78(0x3d7)](),'selection':_0x3c64bb(_0x44fef5)}};this[_0x276e78(0x24d)][_0x276e78(0x2fa)](_0x1d63b6,this[_0x276e78(0x259)]);},_0x7ec9dc)),(this[_0x19ce57(0x259)]=_0x5d5d1c,this[_0x19ce57(0x24d)]=_0x4d237b,this[_0x19ce57(0x406)]=_0x119266,this[_0x19ce57(0x1e6)]=_0x31d8ea,this[_0x19ce57(0x2ec)]=_0xadd9be,this[_0x19ce57(0x280)]=_0x1965c8,this[_0x19ce57(0x3cc)]=_0x35fa47,this[_0x19ce57(0x40a)]=_0x11a586,this['_commandService']=_0x2768f6);}get[_0x4ff2ee(0x2f9)](){const _0x38ddf7=_0x4ff2ee;return this[_0x38ddf7(0x38c)][_0x38ddf7(0x221)]();}get[_0x4ff2ee(0x228)](){const _0xf01dd7=_0x4ff2ee;return this[_0xf01dd7(0x316)]['getValue']();}[_0x4ff2ee(0x462)](){const _0x18031d=_0x4ff2ee;super[_0x18031d(0x462)](),this[_0x18031d(0x38c)][_0x18031d(0x474)](new Map()),this[_0x18031d(0x38c)][_0x18031d(0x3aa)](),this[_0x18031d(0x316)]['next']([]),this['_roomMembers$'][_0x18031d(0x3aa)]();}[_0x4ff2ee(0x411)](){const _0x4b727e=_0x4ff2ee;this[_0x4b727e(0x475)]||(this['_init']=!0x0,this['_session'][_0x4b727e(0x237)][_0x4b727e(0x2b9)](_0x488623[_0x4b727e(0x1d2)](this[_0x4b727e(0x1d7)]))['subscribe'](_0x1e1a0a=>{const _0x3de7ad=_0x4b727e;_0x1e1a0a===_0x2e0918[_0x3de7ad(0x366)][_0x3de7ad(0x255)]?this[_0x3de7ad(0x1f6)]():this[_0x3de7ad(0x422)]();}),this[_0x4b727e(0x24d)][_0x4b727e(0x25a)][_0x4b727e(0x2b9)](_0x488623[_0x4b727e(0x1d2)](this[_0x4b727e(0x1d7)]))[_0x4b727e(0x292)](_0x29a344=>{const _0x22120b=_0x4b727e,_0x574995=_0x29a344[_0x22120b(0x377)];_0x574995===_0x40f85d[_0x22120b(0x25b)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x29a344),_0x574995===_0x40f85d['CollaborationEvent'][_0x22120b(0x28d)]&&this['_onCursorDelete'](_0x29a344);}),this[_0x4b727e(0x466)](this[_0x4b727e(0x35d)][_0x4b727e(0x472)](_0x24fcd2=>{const _0xa14d2b=_0x4b727e,_0x9defa5=_0x24fcd2[_0xa14d2b(0x2ed)];_0x9defa5!=null&&this[_0xa14d2b(0x497)]&&_0x24fcd2['id']===_0x2ffbcd[_0xa14d2b(0x398)]['id']&&_0x9defa5[_0xa14d2b(0x470)]===this[_0xa14d2b(0x259)]&&_0x9defa5[_0xa14d2b(0x32e)]===!0x1&&_0x9defa5['ranges'][_0xa14d2b(0x274)]>0x0&&this[_0xa14d2b(0x27f)](_0x9defa5[_0xa14d2b(0x3e8)]);})),this[_0x4b727e(0x280)][_0x4b727e(0x39a)][_0x4b727e(0x2b9)](_0x488623[_0x4b727e(0x1d2)](this[_0x4b727e(0x1d7)]))[_0x4b727e(0x292)](_0x34a656=>{const _0x5bf350=_0x4b727e;if((_0x34a656==null?void 0x0:_0x34a656[_0x5bf350(0x259)])!==this[_0x5bf350(0x259)])return;const _0x23cce8={'eventID':_0x40f85d['CollaborationEvent'][_0x5bf350(0x345)],'data':_0x34a656};this[_0x5bf350(0x1f1)](_0x23cce8);}),this[_0x4b727e(0x466)](this[_0x4b727e(0x35d)]['onCommandExecuted'](_0x1589a9=>{const _0x3e4a4c=_0x4b727e;if(_0x1589a9[_0x3e4a4c(0x2ed)]==null)return;const _0x920879=_0x1589a9[_0x3e4a4c(0x2ed)];if(_0x1589a9['id']!==_0x2ffbcd['RichTextEditingMutation']['id']||_0x920879[_0x3e4a4c(0x470)]!==this[_0x3e4a4c(0x259)])return;const _0xdd5a9e={'id':_0x3e4a4c(0x36c),'params':_0x920879},_0x1e3854=this['cursorInfo'];for(const [_0x27da21,_0x204114]of _0x1e3854){const _0x548aa5={'id':_0x3e4a4c(0x36c),'params':{'unitId':this[_0x3e4a4c(0x259)],'actions':null,'textRanges':_0x204114[_0x3e4a4c(0x3e8)]}},_0x1aa3c5=this[_0x3e4a4c(0x3cc)][_0x3e4a4c(0x300)](_0xdd5a9e,_0x548aa5,!0x1);if(_0x40f85d[_0x3e4a4c(0x24a)](_0x1aa3c5))throw _0x1aa3c5[_0x3e4a4c(0x405)];_0x1e3854[_0x3e4a4c(0x48a)](_0x27da21,{..._0x204114,'ranges':_0x1aa3c5[_0x3e4a4c(0x211)][_0x3e4a4c(0x2ed)][_0x3e4a4c(0x3ff)]});}queueMicrotask(()=>{const _0x176f84=_0x3e4a4c;this['_cursorInfo$'][_0x176f84(0x474)](_0x1e3854);});})));}[_0x4ff2ee(0x1f1)](_0xca81f7){const _0x30619b=_0x4ff2ee;var _0x20e804,_0x3bb100;const {memberID:_0x126aab,selection:_0x6b7f45}=_0xca81f7[_0x30619b(0x36e)],_0x57ea00=_0x299d19(_0x6b7f45),_0x4faf1b=(_0x3bb100=(_0x20e804=this[_0x30619b(0x2ec)][_0x30619b(0x418)](this[_0x30619b(0x259)],_0x126aab))==null?void 0x0:_0x20e804[_0x30619b(0x3e7)])!=null?_0x3bb100:'Unknown\x20user',_0x4e189b={'color':this['_colorAssignService'][_0x30619b(0x2a0)](_0x126aab),'name':_0x4faf1b,'ranges':_0x57ea00},_0x32d6ad=this[_0x30619b(0x2f9)];_0x32d6ad[_0x30619b(0x48a)](_0x126aab,_0x4e189b),this[_0x30619b(0x38c)][_0x30619b(0x474)](_0x32d6ad);}[_0x4ff2ee(0x36d)](_0x4e7d2e){const _0x512c92=_0x4ff2ee,{memberID:_0x240228}=_0x4e7d2e[_0x512c92(0x36e)],_0x2f32f7=this[_0x512c92(0x2f9)];_0x2f32f7[_0x512c92(0x3dd)](_0x240228),this[_0x512c92(0x38c)]['next'](_0x2f32f7);}[_0x4ff2ee(0x1f6)](){const _0x34a74c=_0x4ff2ee;var _0x53b2e3;if(this[_0x34a74c(0x497)]=!0x0,((_0x53b2e3=this['_univerInstanceService'][_0x34a74c(0x29c)]())==null?void 0x0:_0x53b2e3[_0x34a74c(0x249)]())!==this[_0x34a74c(0x259)])return;const _0x1b8d41=this[_0x34a74c(0x406)][_0x34a74c(0x35f)](_0x2ffbcd[_0x34a74c(0x337)])[_0x34a74c(0x1e1)]();Array[_0x34a74c(0x23d)](_0x1b8d41)&&_0x1b8d41['length']>0x0&&this[_0x34a74c(0x27f)](_0x1b8d41);}[_0x4ff2ee(0x422)](){const _0x3f7502=_0x4ff2ee;this[_0x3f7502(0x497)]=!0x1;}};_0x2eb2d8=_0x701d7d([_0x3da18a(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x419)])),_0x3da18a(0x3,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x278cb7)),_0x3da18a(0x4,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x2e0918[_0x4ff2ee(0x447)])),_0x3da18a(0x5,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x46655e)),_0x3da18a(0x6,_0x40f85d[_0x4ff2ee(0x1ed)]),_0x3da18a(0x7,_0x4dc9d4[_0x4ff2ee(0x490)]),_0x3da18a(0x8,_0x4dc9d4[_0x4ff2ee(0x396)])],_0x2eb2d8);var _0x5ae5e2=Object[_0x4ff2ee(0x304)],_0x5211eb=(_0x6f39e2,_0x3450b7,_0x483469,_0x2ceb13)=>{const _0x3d1ce2=_0x4ff2ee;for(var _0x54b69c=_0x2ceb13>0x1?void 0x0:_0x2ceb13?_0x5ae5e2(_0x3450b7,_0x483469):_0x3450b7,_0x312b3b=_0x6f39e2[_0x3d1ce2(0x274)]-0x1,_0x57187f;_0x312b3b>=0x0;_0x312b3b--)(_0x57187f=_0x6f39e2[_0x312b3b])&&(_0x54b69c=_0x57187f(_0x54b69c)||_0x54b69c);return _0x54b69c;},_0x203dcb=(_0x5f02cf,_0x301259)=>(_0x1e0cde,_0x28a3e5)=>_0x301259(_0x1e0cde,_0x28a3e5,_0x5f02cf);const _0x26e9bf=0x12c,_0x558440=0x64,_0x4fdda8=()=>{let _0x1f67b3=[],_0x5ea64=!0x1;return _0x28ce2d=>{const _0x19d608=_0x4c12;_0x1f67b3[_0x19d608(0x3d5)](_0x28ce2d),_0x5ea64||(_0x5ea64=!0x0,setTimeout(()=>{_0x1f67b3['forEach'](_0x56295e=>_0x56295e()),_0x1f67b3=[],_0x5ea64=!0x1;}));};};let _0x564c45=class extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(_0x5f3026,_0x322e4e,_0x19ad36,_0x36df5c,_0x129f8b,_0x4c913e,_0x2b00b5,_0x4b5319){const _0x32ed4a=_0x4ff2ee;super(),_0x3f28ac(this,'_online',!0x1),_0x3f28ac(this,_0x32ed4a(0x475),!0x1),_0x3f28ac(this,'_cursorInfo$',new _0x488623[(_0x32ed4a(0x438))](new Map())),_0x3f28ac(this,_0x32ed4a(0x381),this['_cursorInfo$'][_0x32ed4a(0x37e)]()),_0x3f28ac(this,_0x32ed4a(0x316),new _0x488623['BehaviorSubject']([])),_0x3f28ac(this,'roomMembers$',this[_0x32ed4a(0x316)][_0x32ed4a(0x2b9)](_0x488623[_0x32ed4a(0x1cf)](_0x26e9bf))),_0x3f28ac(this,'_updateLocalCursor',_0x4dc9d4[_0x32ed4a(0x1f4)]((_0x375f20,_0x44aed6)=>{const _0x385f78=_0x32ed4a,_0x313c71={'eventID':_0x40f85d[_0x385f78(0x25b)][_0x385f78(0x345)],'data':{'unitID':this[_0x385f78(0x259)],'memberID':this['_session'][_0x385f78(0x3d7)](),'selection':_0x55872e[_0x385f78(0x21b)](_0x375f20,_0x44aed6[_0x385f78(0x2d3)])}};this[_0x385f78(0x24d)][_0x385f78(0x2fa)](_0x313c71,this['unitID']);},_0x558440)),(this[_0x32ed4a(0x259)]=_0x5f3026,this[_0x32ed4a(0x24d)]=_0x322e4e,this['_injector']=_0x19ad36,this['_colorAssignService']=_0x36df5c,this[_0x32ed4a(0x2ec)]=_0x129f8b,this[_0x32ed4a(0x40a)]=_0x4c913e,this[_0x32ed4a(0x35d)]=_0x2b00b5,this[_0x32ed4a(0x33c)]=_0x4b5319);}get[_0x4ff2ee(0x2f9)](){const _0x453c80=_0x4ff2ee;return this[_0x453c80(0x38c)][_0x453c80(0x221)]();}get['roomMembers'](){const _0x3b39ea=_0x4ff2ee;return this[_0x3b39ea(0x316)][_0x3b39ea(0x221)]();}[_0x4ff2ee(0x462)](){const _0x2e06e8=_0x4ff2ee;super['dispose'](),this[_0x2e06e8(0x38c)]['next'](new Map()),this[_0x2e06e8(0x38c)][_0x2e06e8(0x3aa)](),this[_0x2e06e8(0x316)][_0x2e06e8(0x474)]([]),this[_0x2e06e8(0x316)][_0x2e06e8(0x3aa)]();}[_0x4ff2ee(0x411)](){const _0x55904a=_0x4ff2ee;this[_0x55904a(0x475)]||(this[_0x55904a(0x475)]=!0x0,this[_0x55904a(0x24d)][_0x55904a(0x237)][_0x55904a(0x2b9)](_0x488623['takeUntil'](this[_0x55904a(0x1d7)]))['subscribe'](_0x17618a=>{const _0x540eb6=_0x55904a;_0x17618a===_0x2e0918['SessionStatus'][_0x540eb6(0x255)]?this[_0x540eb6(0x1f6)]():this[_0x540eb6(0x422)]();}),this['_session']['event$'][_0x55904a(0x2b9)](_0x488623['takeUntil'](this['dispose$']))[_0x55904a(0x292)](_0x5b9b56=>{const _0x311e6b=_0x55904a,_0xbb28b=_0x5b9b56[_0x311e6b(0x377)];_0xbb28b===_0x40f85d[_0x311e6b(0x25b)]['UPDATE_CURSOR']&&this[_0x311e6b(0x1f1)](_0x5b9b56),_0xbb28b===_0x40f85d['CollaborationEvent']['USERS_LEAVE']&&this[_0x311e6b(0x36d)](_0x5b9b56);}),this[_0x55904a(0x203)](),this[_0x55904a(0x466)](this[_0x55904a(0x35d)]['onCommandExecuted'](_0x39a597=>{const _0x547c7b=_0x55904a;if(this[_0x547c7b(0x497)]&&_0x39a597['id']===_0x14e350['SetSelectionsOperation']['id']&&_0x39a597[_0x547c7b(0x2ed)][_0x547c7b(0x470)]===this[_0x547c7b(0x259)]){const _0x1d2e13=_0x39a597[_0x547c7b(0x2ed)];this['_updateLocalCursor'](_0x1d2e13[_0x547c7b(0x3c9)],_0x1d2e13[_0x547c7b(0x49f)][0x0]);}})));}[_0x4ff2ee(0x1f1)](_0x5d4ae3){const _0x41e759=_0x4ff2ee;var _0x30764f,_0x5a781c;const {memberID:_0x43c9e6,selection:_0x13aefd}=_0x5d4ae3[_0x41e759(0x36e)],{sheetName:_0x2c33f0,range:_0x439356}=_0x55872e[_0x41e759(0x24b)](_0x13aefd),_0x4972b8={'name':(_0x5a781c=(_0x30764f=this[_0x41e759(0x2ec)][_0x41e759(0x418)](this[_0x41e759(0x259)],_0x43c9e6))==null?void 0x0:_0x30764f[_0x41e759(0x3e7)])!=null?_0x5a781c:_0x41e759(0x335),'range':this[_0x41e759(0x48f)](_0x2c33f0,_0x439356),'sheetID':_0x2c33f0,'color':this[_0x41e759(0x1e6)][_0x41e759(0x2a0)](_0x43c9e6),'selection':_0x13aefd},_0xb0dee2=this['cursorInfo'];_0xb0dee2['set'](_0x43c9e6,_0x4972b8),this[_0x41e759(0x38c)][_0x41e759(0x474)](_0xb0dee2);}[_0x4ff2ee(0x36d)](_0x189357){const _0x450139=_0x4ff2ee,{memberID:_0x2c1460}=_0x189357[_0x450139(0x36e)],_0x4d896d=this['cursorInfo'];_0x4d896d['delete'](_0x2c1460),this[_0x450139(0x38c)][_0x450139(0x474)](_0x4d896d);}['_getMergeRange'](_0x41302e,_0x3d01ec){const _0x2b3182=_0x4ff2ee;var _0x3d8a26,_0x226d48;const _0x46ea59=(_0x226d48=(_0x3d8a26=this[_0x2b3182(0x40a)][_0x2b3182(0x1f7)](this[_0x2b3182(0x259)]))==null?void 0x0:_0x3d8a26[_0x2b3182(0x492)](_0x41302e))==null?void 0x0:_0x226d48[_0x2b3182(0x493)]();return(_0x46ea59==null?void 0x0:_0x46ea59['find'](_0x1645c9=>_0x4dc9d4[_0x2b3182(0x3d9)][_0x2b3182(0x3f3)](_0x1645c9,_0x3d01ec)))||_0x3d01ec;}['_onRefRangeChange'](){const _0x300729=_0x4ff2ee,_0x2c926f=new _0x4dc9d4[(_0x300729(0x23b))](),_0x5f1f01=_0x4fdda8(),_0x1babdc=()=>{const _0x259c18=_0x300729;_0x2c926f[_0x259c18(0x462)]();const _0x3800f1=(_0x2c5612,_0x15f2fd,_0x99f65c,_0x59785e)=>{const _0x458c87=_0x259c18;let _0xd2442b=[];switch(_0x2c5612['id']){case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x433)]:{_0xd2442b=_0x14e350[_0x458c87(0x3f9)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x258)]:{_0xd2442b=_0x14e350[_0x458c87(0x208)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x45a)]:{_0xd2442b=_0x14e350[_0x458c87(0x2e3)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)]['InsertRangeMoveDownCommandId']:{_0xd2442b=_0x14e350[_0x458c87(0x2fb)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x351)]:{_0xd2442b=_0x14e350[_0x458c87(0x2c6)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x41c)]:{_0xd2442b=_0x14e350[_0x458c87(0x34d)](_0x2c5612,_0x59785e);break;}case _0x14e350['EffectRefRangId']['MoveRangeCommandId']:{_0xd2442b=_0x14e350[_0x458c87(0x1fb)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x281)]:{_0xd2442b=_0x14e350[_0x458c87(0x3c1)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x3cb)]:{_0xd2442b=_0x14e350['handleIRemoveRow'](_0x2c5612,_0x59785e);break;}}const _0x401175=_0x14e350[_0x458c87(0x3fd)](_0xd2442b,_0x59785e),_0xe3da36=this[_0x458c87(0x2f9)][_0x458c87(0x35f)](_0x15f2fd);if(_0xe3da36&&_0x401175){const _0x7323b2={..._0xe3da36,'range':_0x401175};this[_0x458c87(0x2f9)][_0x458c87(0x48a)](_0x15f2fd,_0x7323b2),_0x5f1f01(()=>{const _0x248dba=_0x458c87,_0x4f34ab=this[_0x248dba(0x33c)][_0x248dba(0x1fa)](_0x401175,_0x43b20f=>(_0x4f34ab[_0x248dba(0x462)](),_0x3800f1(_0x43b20f,_0x15f2fd,_0x99f65c,_0x401175)));_0x2c926f[_0x248dba(0x3c8)](_0x4f34ab);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x259c18(0x426)]((_0x3dea71,_0x42f5b7)=>{const _0x5314fb=_0x259c18,{range:_0x175d16,sheetID:_0xfa3c2}=_0x3dea71,_0x260eea=this[_0x5314fb(0x33c)][_0x5314fb(0x1fa)](_0x175d16,_0x1d07a0=>(_0x260eea[_0x5314fb(0x462)](),_0x3800f1(_0x1d07a0,_0x42f5b7,_0xfa3c2,_0x175d16)));_0x2c926f[_0x5314fb(0x3c8)](_0x260eea);});};this[_0x300729(0x466)](_0x4dc9d4['toDisposable'](this[_0x300729(0x38c)]['subscribe'](()=>{_0x1babdc();})));}[_0x4ff2ee(0x1f6)](){const _0x3c785e=_0x4ff2ee;var _0x10cd5b,_0xcb1ad4;if(this['_online']=!0x0,((_0x10cd5b=this[_0x3c785e(0x40a)]['getFocusedUnit']())==null?void 0x0:_0x10cd5b['getUnitId']())!==this[_0x3c785e(0x259)])return;const _0x1e6c28=(_0xcb1ad4=this['_injector'][_0x3c785e(0x35f)](_0x14e350[_0x3c785e(0x49e)])['getCurrentSelections']())==null?void 0x0:_0xcb1ad4[0x0],_0x4a6ba2=this[_0x3c785e(0x40a)][_0x3c785e(0x2d4)](_0x4dc9d4['UniverInstanceType'][_0x3c785e(0x380)])['getActiveSheet']();_0x1e6c28&&_0x4a6ba2&&this[_0x3c785e(0x27f)](_0x4a6ba2['getSheetId'](),_0x1e6c28);}[_0x4ff2ee(0x422)](){this['_online']=!0x1;}};_0x564c45=_0x5211eb([_0x203dcb(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4['Injector'])),_0x203dcb(0x3,_0x4dc9d4['Inject'](_0x278cb7)),_0x203dcb(0x4,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x2e0918['MemberService'])),_0x203dcb(0x5,_0x4dc9d4['IUniverInstanceService']),_0x203dcb(0x6,_0x4dc9d4['ICommandService']),_0x203dcb(0x7,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x14e350[_0x4ff2ee(0x1d3)]))],_0x564c45);var _0x4ac731=Object[_0x4ff2ee(0x304)],_0x409101=(_0x1f8c10,_0x5a3434,_0x38ed6a,_0x31e1d2)=>{for(var _0x4bc05e=_0x31e1d2>0x1?void 0x0:_0x31e1d2?_0x4ac731(_0x5a3434,_0x38ed6a):_0x5a3434,_0x5b0cd2=_0x1f8c10['length']-0x1,_0x1943dc;_0x5b0cd2>=0x0;_0x5b0cd2--)(_0x1943dc=_0x1f8c10[_0x5b0cd2])&&(_0x4bc05e=_0x1943dc(_0x4bc05e)||_0x4bc05e);return _0x4bc05e;},_0x1bd191=(_0x2f5646,_0x39bd4e)=>(_0x17b21e,_0xc89677)=>_0x39bd4e(_0x17b21e,_0xc89677,_0x2f5646);let _0x34079f=class extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(_0x49a7af,_0x9a9566,_0x1f6aa9){const _0x4c3ca5=_0x4ff2ee;super(),_0x3f28ac(this,'_entities',new Map()),_0x3f28ac(this,_0x4c3ca5(0x20d),new _0x488623[(_0x4c3ca5(0x1e0))]()),(this[_0x4c3ca5(0x40a)]=_0x49a7af,this[_0x4c3ca5(0x406)]=_0x9a9566,this[_0x4c3ca5(0x2bc)]=_0x1f6aa9,this[_0x4c3ca5(0x475)]());}['dispose'](){const _0x5f0ab9=_0x4ff2ee;super['dispose'](),this[_0x5f0ab9(0x20d)][_0x5f0ab9(0x3aa)](),this[_0x5f0ab9(0x39b)][_0x5f0ab9(0x426)](_0xb03f09=>_0xb03f09[_0x5f0ab9(0x462)]());}['getCollabCursors$'](_0xc084d1){const _0x4fca4c=_0x4ff2ee;return this['_entities'][_0x4fca4c(0x477)](_0xc084d1)?this['_entities'][_0x4fca4c(0x35f)](_0xc084d1)[_0x4fca4c(0x381)]:this[_0x4fca4c(0x20d)][_0x4fca4c(0x2b9)](_0x488623['filter'](_0x3cf414=>_0x3cf414[_0x4fca4c(0x259)]===_0xc084d1),_0x488623[_0x4fca4c(0x457)](_0x1128a5=>_0x1128a5[_0x4fca4c(0x381)]));}[_0x4ff2ee(0x475)](){const _0x170c73=_0x4ff2ee;this[_0x170c73(0x40a)][_0x170c73(0x382)](_0x4dc9d4[_0x170c73(0x35a)][_0x170c73(0x380)])['pipe'](_0x488623['takeUntil'](this[_0x170c73(0x1d7)]))[_0x170c73(0x292)](async _0x2e3130=>{const _0x5f1f70=_0x170c73,_0x4b01b9=_0x2e3130[_0x5f1f70(0x249)](),_0x346a7d=await this[_0x5f1f70(0x22f)](_0x4b01b9);this[_0x5f1f70(0x20d)][_0x5f1f70(0x474)](_0x346a7d),this[_0x5f1f70(0x39b)][_0x5f1f70(0x48a)](_0x4b01b9,_0x346a7d);}),this[_0x170c73(0x40a)][_0x170c73(0x382)](_0x4dc9d4[_0x170c73(0x35a)][_0x170c73(0x340)])[_0x170c73(0x2b9)](_0x488623['takeUntil'](this['dispose$']))['pipe'](_0x488623[_0x170c73(0x354)](_0xfa59c=>!_0xfa59c[_0x170c73(0x249)]()[_0x170c73(0x3f7)]('__')))['subscribe'](async _0x3fcdac=>{const _0x52cfd6=_0x170c73,_0x2362df=_0x3fcdac[_0x52cfd6(0x249)](),_0x48afd7=await this['_startDocCollabCursor'](_0x2362df);this[_0x52cfd6(0x20d)]['next'](_0x48afd7),this[_0x52cfd6(0x39b)]['set'](_0x2362df,_0x48afd7);}),_0x488623['merge'](this[_0x170c73(0x40a)][_0x170c73(0x45e)](_0x4dc9d4[_0x170c73(0x35a)][_0x170c73(0x340)]),this[_0x170c73(0x40a)][_0x170c73(0x45e)](_0x4dc9d4['UniverInstanceType']['UNIVER_SHEET']))[_0x170c73(0x2b9)](_0x488623[_0x170c73(0x1d2)](this['dispose$']))[_0x170c73(0x292)](_0x16328f=>{const _0x2500bf=_0x170c73,_0x34815b=_0x16328f[_0x2500bf(0x249)](),_0x1918a6=this[_0x2500bf(0x39b)][_0x2500bf(0x35f)](_0x34815b);_0x1918a6&&(_0x1918a6['dispose'](),this[_0x2500bf(0x39b)][_0x2500bf(0x3dd)](_0x34815b));});}async[_0x4ff2ee(0x22f)](_0x36c024){const _0xe03cb2=_0x4ff2ee,_0x270194=await this[_0xe03cb2(0x2bc)][_0xe03cb2(0x389)](_0x36c024),_0x4d967d=this[_0xe03cb2(0x406)][_0xe03cb2(0x346)](_0x564c45,_0x36c024,_0x270194);return _0x4d967d[_0xe03cb2(0x411)](),_0x4d967d;}async['_startDocCollabCursor'](_0x27c6a8){const _0x3b1eb0=_0x4ff2ee,_0x2fee29=await this['_collabSessionService'][_0x3b1eb0(0x389)](_0x27c6a8),_0x1d6eb6=this[_0x3b1eb0(0x406)][_0x3b1eb0(0x346)](_0x2eb2d8,_0x27c6a8,_0x2fee29);return _0x1d6eb6[_0x3b1eb0(0x411)](),_0x1d6eb6;}};_0x34079f=_0x409101([_0x1bd191(0x0,_0x4dc9d4[_0x4ff2ee(0x490)]),_0x1bd191(0x1,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x419)])),_0x1bd191(0x2,_0x4dc9d4['Inject'](_0x2e0918[_0x4ff2ee(0x453)]))],_0x34079f);const _0x3575ff=0x14,_0x1f7a07=0xc8,_0x40e03e=0x4,_0x40a4a1=0x5;function _0x159102(_0x30df7e,_0x2b2304){const _0x441082=_0x4ff2ee;let {radius:_0x43bdca,width:_0x50ebae,height:_0x142dbb}=_0x2b2304;_0x43bdca=_0x43bdca!=null?_0x43bdca:0x0,_0x50ebae=_0x50ebae!=null?_0x50ebae:0x1e,_0x142dbb=_0x142dbb!=null?_0x142dbb:0x1e;let _0x35e4e8=0x0,_0x4cca90=0x0,_0x4a5f2e=0x0;_0x35e4e8=_0x4cca90=_0x4a5f2e=Math[_0x441082(0x284)](_0x43bdca,_0x50ebae/0x2,_0x142dbb/0x2),_0x30df7e['beginPath'](),_0x30df7e[_0x441082(0x311)](_0x35e4e8,0x0),_0x30df7e[_0x441082(0x283)](_0x50ebae-_0x4cca90,0x0),_0x30df7e[_0x441082(0x47d)](_0x50ebae-_0x4cca90,_0x4cca90,_0x4cca90,Math['PI']*0x3/0x2,0x0,!0x1),_0x30df7e[_0x441082(0x283)](_0x50ebae,_0x142dbb-_0x4a5f2e),_0x30df7e[_0x441082(0x47d)](_0x50ebae-_0x4a5f2e,_0x142dbb-_0x4a5f2e,_0x4a5f2e,0x0,Math['PI']/0x2,!0x1),_0x30df7e[_0x441082(0x283)](0x0,_0x142dbb),_0x30df7e[_0x441082(0x283)](0x0,_0x35e4e8),_0x30df7e[_0x441082(0x47d)](_0x35e4e8,_0x35e4e8,_0x35e4e8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x30df7e[_0x441082(0x251)](),_0x2b2304[_0x441082(0x25e)]&&(_0x30df7e['save'](),_0x30df7e['fillStyle']=_0x2b2304['fill'],_0x2b2304[_0x441082(0x34e)]==='evenodd'?_0x30df7e[_0x441082(0x25e)](_0x441082(0x3d6)):_0x30df7e[_0x441082(0x25e)](),_0x30df7e[_0x441082(0x49a)]());}class _0x25376a extends _0x37167b[_0x4ff2ee(0x2c5)]{constructor(_0x543054,_0x4668e1){const _0x1e2685=_0x4ff2ee;super(_0x543054,_0x4668e1),_0x3f28ac(this,'color'),_0x3f28ac(this,'text'),(this[_0x1e2685(0x363)]=_0x4668e1==null?void 0x0:_0x4668e1[_0x1e2685(0x363)],this['text']=_0x4668e1==null?void 0x0:_0x4668e1[_0x1e2685(0x315)]);}static[_0x4ff2ee(0x26f)](_0x55c676,_0x50e1c0){const _0x2a871f=_0x4ff2ee,{text:_0x5af886,color:_0x2388f2}=_0x50e1c0;_0x55c676[_0x2a871f(0x257)](),_0x55c676[_0x2a871f(0x2cd)]=_0x2a871f(0x326);const _0xbacde7=_0x55c676[_0x2a871f(0x450)](_0x5af886)[_0x2a871f(0x476)],_0x47c725=Math['min'](_0xbacde7+0x2*_0x40e03e,_0x1f7a07);_0x159102(_0x55c676,{'height':_0x3575ff,'radius':0x4,'width':_0x47c725,'fill':_0x2388f2}),_0x55c676[_0x2a871f(0x33e)]=_0x2a871f(0x383);const _0x2155bd=_0x40e03e,_0x60c9d9=_0x3575ff-_0x40a4a1,_0x4b568d=_0x1f7a07-0x2*_0x40e03e;if(_0xbacde7>_0x4b568d){let _0x1bd530='',_0x460350=0x0;for(const _0x4b9da1 of _0x5af886){const _0x4c9a72=_0x55c676[_0x2a871f(0x450)](_0x4b9da1)[_0x2a871f(0x476)];if(_0x460350+_0x4c9a72<=_0x4b568d-_0x55c676['measureText'](_0x2a871f(0x431))[_0x2a871f(0x476)])_0x1bd530+=_0x4b9da1,_0x460350+=_0x4c9a72;else{_0x1bd530+=_0x2a871f(0x431);break;}}_0x55c676['fillText'](_0x1bd530,_0x2155bd,_0x60c9d9);}else _0x55c676[_0x2a871f(0x42b)](_0x5af886,_0x2155bd,_0x60c9d9);_0x55c676['restore']();}[_0x4ff2ee(0x253)](_0x5c8be9){const _0x1d68a4=_0x4ff2ee;_0x25376a[_0x1d68a4(0x26f)](_0x5c8be9,this);}}const _0x3991df=_0x4ff2ee(0x3ad),_0x169cc4=_0x4ff2ee(0x3a6),_0x1d7b67=_0x4ff2ee(0x3ce),_0x74fa0e=0x6,_0x3ce0db=1.5,_0x2de97=0x4,_0x10bd86=1.5,_0x23920e=_0x4ff2ee(0x36a);class _0x4afd20{constructor(_0x5b56e0,_0xb6549b,_0x519fb3,_0x3608c8){const _0x25d001=_0x4ff2ee;_0x3f28ac(this,_0x25d001(0x44f),[]),_0x3f28ac(this,_0x25d001(0x46c),null),_0x3f28ac(this,'_textBubble',null),_0x3f28ac(this,'_anchorDot',null),_0x3f28ac(this,_0x25d001(0x3ef),null),_0x3f28ac(this,_0x25d001(0x2f2),null),(this[_0x25d001(0x26e)]=_0x5b56e0,this[_0x25d001(0x3a4)]=_0xb6549b,this['_docSkeleton']=_0x519fb3,this['_document']=_0x3608c8,this[_0x25d001(0x1f2)]());}set[_0x4ff2ee(0x37f)](_0x2a7b8d){const _0x5c0178=_0x4ff2ee;_0x2a7b8d?(this[_0x5c0178(0x206)]&&this[_0x5c0178(0x206)][_0x5c0178(0x3e9)](),this['_textBubble']&&this['_textBubble'][_0x5c0178(0x344)]()):(this[_0x5c0178(0x206)]&&this['_anchorDot'][_0x5c0178(0x344)](),this[_0x5c0178(0x339)]&&this[_0x5c0178(0x339)]['hide']());}[_0x4ff2ee(0x462)](){const _0x596692=_0x4ff2ee;for(const _0x4134ec of this[_0x596692(0x44f)])_0x4134ec[_0x596692(0x462)]();this[_0x596692(0x339)]&&this['_textBubble']['dispose'](),this[_0x596692(0x206)]&&this[_0x596692(0x206)][_0x596692(0x462)](),this['_anchor']&&this['_anchor'][_0x596692(0x462)](),this[_0x596692(0x2f2)]&&this[_0x596692(0x2f2)]();}[_0x4ff2ee(0x1f2)](){const _0x4f69b6=_0x4ff2ee;var _0x5482a7;const {_docSkeleton:_0x1998d8,_document:_0x3a4be5}=this,{color:_0x3b2424,name:_0x4b2e4b,ranges:_0x2451d3}=this[_0x4f69b6(0x26e)],_0x225ca8=_0x3a4be5[_0x4f69b6(0x3ee)](),{docsLeft:_0x51de80,docsTop:_0x3efb68}=_0x225ca8,_0x35b6b9=new _0x504cab[(_0x4f69b6(0x48d))](_0x225ca8,_0x1998d8);for(const {startOffset:_0x30f38e,endOffset:_0x5748a2,rangeType:_0xa4d25a,segmentId:_0x44c2f3,segmentPage:_0xd4d6d5,collapsed:_0x20f56c,isActive:_0x12367c}of _0x2451d3){const _0x42fc32=_0x1998d8[_0x4f69b6(0x341)](_0x30f38e,!0x0,_0x44c2f3,_0xd4d6d5);let _0x5df371=_0x1998d8[_0x4f69b6(0x341)](_0x5748a2,!0x0,_0x44c2f3,_0xd4d6d5);if(_0x5df371==null&&(_0x5df371=_0x1998d8[_0x4f69b6(0x341)](_0x5748a2-0x1,!0x1,_0x44c2f3,_0xd4d6d5)),_0x12367c){const {contentBoxPointGroup:_0x51619d}=_0x35b6b9[_0x4f69b6(0x460)](_0x5df371,_0x5df371);if(_0x51619d[_0x4f69b6(0x274)]===0x0)continue;this['_drawAnchor'](_0x3b2424,_0x51619d,_0x51de80,_0x3efb68,_0x4b2e4b),this[_0x4f69b6(0x2f2)]=this['_handleHover']();}if(_0x42fc32&&_0x5df371){if(_0xa4d25a===_0x4dc9d4[_0x4f69b6(0x30a)][_0x4f69b6(0x263)]){const _0x56e04d=new _0x504cab['NodePositionConvertToRectRange'](_0x225ca8,_0x1998d8),{pointGroup:_0x452c4a}=(_0x5482a7=_0x56e04d['getRangePointData'](_0x42fc32,_0x5df371))!=null?_0x5482a7:{};if(_0x452c4a==null||_0x452c4a[_0x4f69b6(0x274)]===0x0)continue;this[_0x4f69b6(0x235)](_0x3b2424,_0x452c4a,_0x51de80,_0x3efb68);}else{if(!_0x20f56c){const {borderBoxPointGroup:_0x255bc9}=_0x35b6b9[_0x4f69b6(0x460)](_0x42fc32,_0x5df371);if(_0x255bc9[_0x4f69b6(0x274)]===0x0)continue;this[_0x4f69b6(0x430)](_0x3b2424,_0x255bc9,_0x51de80,_0x3efb68);}}}}}['_drawAnchor'](_0x2b13dc,_0x4deb26,_0x59dcff,_0x981f33,_0xa85a9e){const _0x1f5b23=_0x4ff2ee,_0x31916b=this[_0x1f5b23(0x2a7)](_0x4deb26),{left:_0x6df70b,top:_0x2daec9,height:_0x1f23a0}=_0x31916b,_0x5808af=this[_0x1f5b23(0x33f)](),_0x4d9bda=_0x10bd86/_0x5808af,_0x1878cb=new _0x37167b[(_0x1f5b23(0x215))](_0x3991df+_0x4dc9d4[_0x1f5b23(0x2c9)](_0x74fa0e),{'left':_0x6df70b+_0x59dcff-_0x4d9bda,'top':_0x2daec9+_0x981f33,'height':_0x1f23a0,'width':_0x3ce0db,'fill':_0x2b13dc||_0x37167b[_0x1f5b23(0x46b)](_0x4dc9d4[_0x1f5b23(0x39c)][_0x1f5b23(0x413)],0x0),'strokeWidth':_0x4d9bda,'stroke':_0x23920e,'evented':!0x0});this['_anchor']=_0x1878cb,this['_scene'][_0x1f5b23(0x378)](_0x1878cb,_0x504cab[_0x1f5b23(0x2ba)]);const _0x5f2376=new _0x37167b[(_0x1f5b23(0x215))](_0x3991df+_0x4dc9d4['generateRandomId'](_0x74fa0e),{'left':_0x6df70b+_0x59dcff-_0x4d9bda,'top':_0x2daec9+_0x981f33-_0x2de97/0x2,'height':_0x2de97,'width':_0x2de97,'fill':_0x2b13dc||_0x37167b[_0x1f5b23(0x46b)](_0x4dc9d4[_0x1f5b23(0x39c)][_0x1f5b23(0x413)],0x0),'strokeWidth':0x0,'stroke':_0x2b13dc||_0x37167b['getColor'](_0x4dc9d4[_0x1f5b23(0x39c)][_0x1f5b23(0x413)],0x0),'evented':!0x1});this[_0x1f5b23(0x206)]=_0x5f2376,this[_0x1f5b23(0x3a4)]['addObject'](_0x5f2376,_0x504cab[_0x1f5b23(0x2ba)]);const _0x1984fe=new _0x25376a(_0x3991df+_0x4dc9d4[_0x1f5b23(0x2c9)](_0x74fa0e),{'left':_0x6df70b+_0x59dcff-_0x4d9bda,'top':_0x2daec9+_0x981f33-_0x3575ff,'text':_0xa85a9e,'color':_0x2b13dc});this['_textBubble']=_0x1984fe,this[_0x1f5b23(0x3a4)]['addObject'](_0x1984fe,_0x504cab[_0x1f5b23(0x2ba)]),this['_hover']=!0x1;}[_0x4ff2ee(0x3d2)](){const _0x30e0c9=_0x4ff2ee,_0x183a31=this['_anchor'][_0x30e0c9(0x3c5)]['subscribeEvent'](()=>{const _0x3578b6=_0x30e0c9;this[_0x3578b6(0x37f)]=!0x0;}),_0x576274=this[_0x30e0c9(0x46c)][_0x30e0c9(0x372)]['subscribeEvent'](()=>{const _0x1eae2e=_0x30e0c9;this['_hideTimer']&&clearTimeout(this[_0x1eae2e(0x3ef)]),this[_0x1eae2e(0x3ef)]=setTimeout(()=>{const _0x5bc7b8=_0x1eae2e;this[_0x5bc7b8(0x37f)]=!0x1;},0x7d0);});return()=>{const _0x4236ba=_0x30e0c9;_0x183a31['unsubscribe'](),_0x576274[_0x4236ba(0x3b0)]();};}['_drawTextRange'](_0x2b66c1,_0x3a2260,_0x1f46d4,_0x588d24){const _0x1c853a=_0x4ff2ee,_0x439f66=new _0x4dc9d4[(_0x1c853a(0x265))](_0x2b66c1)[_0x1c853a(0x480)](0.2)[_0x1c853a(0x34b)](),_0x2941ca=new _0x37167b[(_0x1c853a(0x288))](_0x169cc4+_0x4dc9d4[_0x1c853a(0x2c9)](_0x74fa0e),{'pointsGroup':_0x3a2260,'fill':_0x439f66||_0x37167b['getColor'](_0x4dc9d4['COLORS'][_0x1c853a(0x413)],0.2),'left':_0x1f46d4,'top':_0x588d24,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c853a(0x44f)][_0x1c853a(0x3d5)](_0x2941ca),this[_0x1c853a(0x3a4)][_0x1c853a(0x378)](_0x2941ca,_0x504cab[_0x1c853a(0x2ba)]);}[_0x4ff2ee(0x235)](_0x2e9b8c,_0x144d3c,_0x46b4b4,_0x43d22e){const _0x71145b=_0x4ff2ee,_0x43c7ff=new _0x4dc9d4[(_0x71145b(0x265))](_0x2e9b8c)['setAlpha'](0.2)[_0x71145b(0x34b)](),_0x45b6ed=new _0x37167b[(_0x71145b(0x288))](_0x1d7b67+_0x4dc9d4[_0x71145b(0x2c9)](_0x74fa0e),{'pointsGroup':_0x144d3c,'fill':_0x43c7ff||_0x37167b[_0x71145b(0x46b)](_0x4dc9d4[_0x71145b(0x39c)]['black'],0.2),'left':_0x46b4b4,'top':_0x43d22e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x71145b(0x44f)][_0x71145b(0x3d5)](_0x45b6ed),this[_0x71145b(0x3a4)][_0x71145b(0x378)](_0x45b6ed,_0x504cab[_0x71145b(0x2ba)]);}[_0x4ff2ee(0x2a7)](_0x5985c4){const _0xef152b=_0x5985c4[0x0],_0x20ea35=_0xef152b[0x0],_0x3c7aed=_0xef152b[0x2],{x:_0x394531,y:_0x165273}=_0x20ea35,{x:_0x15ee4d,y:_0x2cde2a}=_0x3c7aed;return{'left':_0x394531,'top':_0x165273,'width':_0x15ee4d-_0x394531,'height':_0x2cde2a-_0x165273};}[_0x4ff2ee(0x33f)](){const _0x5f1667=_0x4ff2ee,{scaleX:_0x36d22c,scaleY:_0x20d01d}=this['_scene']['getAncestorScale']();return Math[_0x5f1667(0x2ac)](_0x36d22c,_0x20d01d);}}var _0x42419e=Object[_0x4ff2ee(0x304)],_0x4e49f8=(_0x321319,_0x4f1601,_0x1d07ec,_0x4d6dcb)=>{const _0x4d1c40=_0x4ff2ee;for(var _0x4094b2=_0x4d6dcb>0x1?void 0x0:_0x4d6dcb?_0x42419e(_0x4f1601,_0x1d07ec):_0x4f1601,_0x35b3b6=_0x321319[_0x4d1c40(0x274)]-0x1,_0x4ab23b;_0x35b3b6>=0x0;_0x35b3b6--)(_0x4ab23b=_0x321319[_0x35b3b6])&&(_0x4094b2=_0x4ab23b(_0x4094b2)||_0x4094b2);return _0x4094b2;},_0x3bd2d3=(_0x444de1,_0x3b794e)=>(_0x1a1ffd,_0xd47e9e)=>_0x3b794e(_0x1a1ffd,_0xd47e9e,_0x444de1);let _0x4db7f9=class extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(_0x397ee6,_0x6fcea,_0x4afb46,_0x5e4488,_0x261200){const _0x1a8c0a=_0x4ff2ee;super(),_0x3f28ac(this,'_cursorShapes',[]),_0x3f28ac(this,_0x1a8c0a(0x233),[]),(this[_0x1a8c0a(0x3c4)]=_0x397ee6,this[_0x1a8c0a(0x256)]=_0x6fcea,this[_0x1a8c0a(0x3f2)]=_0x4afb46,this[_0x1a8c0a(0x35d)]=_0x5e4488,this[_0x1a8c0a(0x428)]=_0x261200,this[_0x1a8c0a(0x475)]());}[_0x4ff2ee(0x475)](){const _0x290e4c=_0x4ff2ee,_0x143007=this[_0x290e4c(0x3c4)][_0x290e4c(0x470)],_0x83e060=this[_0x290e4c(0x256)];this[_0x290e4c(0x466)](_0x488623[_0x290e4c(0x1df)]([this[_0x290e4c(0x3f2)][_0x290e4c(0x3ed)](_0x143007),this[_0x290e4c(0x428)][_0x290e4c(0x331)]])[_0x290e4c(0x2b9)](_0x2eb3af[_0x290e4c(0x3ab)](([_0x5567fb,_0x299eb9])=>({'skeleton':_0x83e060[_0x290e4c(0x444)](),'cursors':[..._0x5567fb[_0x290e4c(0x321)]()][_0x290e4c(0x45b)](_0x24608a=>({..._0x24608a,'color':this['_themeService'][_0x290e4c(0x2cf)](_0x24608a[_0x290e4c(0x363)])}))})))['subscribe'](_0x2bb0c9=>{const _0x39077d=_0x290e4c;if(this[_0x39077d(0x47c)](),_0x2bb0c9){const {skeleton:_0x11ec34,cursors:_0x5c6c90}=_0x2bb0c9;this['_updateCollabCursors'](_0x11ec34,_0x5c6c90);}})),this[_0x290e4c(0x3fb)](),this[_0x290e4c(0x408)]();}[_0x4ff2ee(0x26c)](_0xfe8c96,_0x36d960){const _0x5385b5=_0x4ff2ee,{scene:_0x4f5dbb,mainComponent:_0x19be9e}=this[_0x5385b5(0x3c4)],_0x14cba1=_0x36d960[_0x5385b5(0x3ab)](_0x336886=>new _0x4afd20(_0x336886,_0x4f5dbb,_0xfe8c96,_0x19be9e));this[_0x5385b5(0x267)]=_0x14cba1,this[_0x5385b5(0x233)]=_0x36d960;}['_refreshCollabCursors'](){const _0x235f1c=_0x4ff2ee;this[_0x235f1c(0x47c)]();const {scene:_0x35a974,mainComponent:_0x460725}=this['_context'],_0x35fb85=this[_0x235f1c(0x256)]['getSkeleton'](),_0x3ad9f4=this[_0x235f1c(0x233)][_0x235f1c(0x3ab)](_0x21c90d=>new _0x4afd20(_0x21c90d,_0x35a974,_0x35fb85,_0x460725));this['_cursorShapes']=_0x3ad9f4;}[_0x4ff2ee(0x47c)](){const _0x46b3a9=_0x4ff2ee;this['_cursorShapes'][_0x46b3a9(0x426)](_0x95febd=>_0x95febd[_0x46b3a9(0x462)]()),this[_0x46b3a9(0x267)]=[];}['_initCommandExecutedListener'](){const _0x3d1043=_0x4ff2ee,_0x2540e8=[_0x504cab[_0x3d1043(0x324)]['id']];this[_0x3d1043(0x466)](this[_0x3d1043(0x35d)]['onCommandExecuted'](_0x3198d9=>{const _0x1bd53b=_0x3d1043;_0x2540e8[_0x1bd53b(0x22d)](_0x3198d9['id'])&&_0x3198d9['params'][_0x1bd53b(0x470)]===this['_context'][_0x1bd53b(0x470)]&&this[_0x1bd53b(0x415)]();}));}['_initResize'](){const _0x185a55=_0x4ff2ee;this[_0x185a55(0x466)](_0x4dc9d4[_0x185a55(0x393)](this['_context'][_0x185a55(0x3f0)][_0x185a55(0x34c)])['pipe'](_0x2eb3af[_0x185a55(0x354)](_0x1c93d0=>_0x1c93d0[_0x185a55(0x308)]===_0x37167b[_0x185a55(0x1dd)][_0x185a55(0x3ec)]),_0x2eb3af[_0x185a55(0x397)](0x10))['subscribe'](()=>{const _0x4a3729=_0x185a55;this[_0x4a3729(0x415)]();}));}};_0x4db7f9=_0x4e49f8([_0x3bd2d3(0x1,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x2ffbcd[_0x4ff2ee(0x3fe)])),_0x3bd2d3(0x2,_0x4dc9d4['Inject'](_0x34079f)),_0x3bd2d3(0x3,_0x4dc9d4[_0x4ff2ee(0x396)]),_0x3bd2d3(0x4,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x37b)]))],_0x4db7f9);const _0x3e3d8c=0x1,_0xb98e7a=1.5;class _0x3ffa84 extends _0x37167b[_0x4ff2ee(0x2c5)]{constructor(_0x49e09a,_0x15d080){const _0x2fe76b=_0x4ff2ee;super(_0x49e09a,_0x15d080),_0x3f28ac(this,_0x2fe76b(0x296)),_0x3f28ac(this,_0x2fe76b(0x223),!0x1),_0x3f28ac(this,_0x2fe76b(0x48b)),_0x3f28ac(this,_0x2fe76b(0x2d7),''),_0x3f28ac(this,_0x2fe76b(0x3c0),_0x2fe76b(0x1dc)),_0x3f28ac(this,_0x2fe76b(0x306)),(_0x15d080&&this[_0x2fe76b(0x286)](_0x15d080),this['onPointerEnter$'][_0x2fe76b(0x410)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2fe76b(0x372)][_0x2fe76b(0x410)](()=>this[_0x2fe76b(0x286)]({'hovered':!0x1})));}[_0x4ff2ee(0x286)](_0x18d5c3){const _0x40a3c8=_0x4ff2ee;var _0x224c1d,_0x3667de,_0x94a9e7,_0x5af439,_0x44f5ff,_0x4244f6;this['_color']=(_0x224c1d=_0x18d5c3['color'])!=null?_0x224c1d:this['_color'],this[_0x40a3c8(0x223)]=(_0x3667de=_0x18d5c3[_0x40a3c8(0x3a8)])!=null?_0x3667de:this['_hovered'],this[_0x40a3c8(0x48b)]=(_0x94a9e7=_0x18d5c3['range'])!=null?_0x94a9e7:this['_range'],this[_0x40a3c8(0x2d7)]=(_0x5af439=_0x18d5c3[_0x40a3c8(0x3e7)])!=null?_0x5af439:this[_0x40a3c8(0x2d7)],this[_0x40a3c8(0x3c0)]=(_0x44f5ff=_0x18d5c3['labelPosition'])!=null?_0x44f5ff:this['_labelPosition'],this[_0x40a3c8(0x306)]=(_0x4244f6=_0x18d5c3['backgroundColor'])!=null?_0x4244f6:this[_0x40a3c8(0x306)],this[_0x40a3c8(0x32f)]({'width':_0x18d5c3[_0x40a3c8(0x476)],'height':_0x18d5c3['height']});}[_0x4ff2ee(0x41d)](_0x19f28a){const _0x366f94=_0x4ff2ee,{row:_0x384bd9,column:_0x41c638}=_0x19f28a;if(_0x384bd9>=this[_0x366f94(0x48b)][_0x366f94(0x28b)]&&_0x384bd9<=this[_0x366f94(0x48b)][_0x366f94(0x289)]&&_0x41c638>=this['_range'][_0x366f94(0x3b2)]&&_0x41c638<=this[_0x366f94(0x48b)][_0x366f94(0x43b)]){this[_0x366f94(0x286)]({'hovered':!0x0});return;}this[_0x366f94(0x286)]({'hovered':!0x1});}[_0x4ff2ee(0x3d1)](_0x463f2a){return!0x1;}[_0x4ff2ee(0x253)](_0x19ab47){const _0x55b6b2=_0x4ff2ee;_0x37167b[_0x55b6b2(0x215)][_0x55b6b2(0x26f)](_0x19ab47,{'width':this[_0x55b6b2(0x476)],'height':this[_0x55b6b2(0x301)],'strokeWidth':_0xb98e7a,'stroke':this[_0x55b6b2(0x296)],'evented':!0x1,'fill':this[_0x55b6b2(0x306)]}),this[_0x55b6b2(0x223)]&&(_0x19ab47[_0x55b6b2(0x257)](),_0x19ab47[_0x55b6b2(0x3c3)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x55b6b2(0x250)?0x0:-_0x3575ff),_0x25376a[_0x55b6b2(0x26f)](_0x19ab47,{'text':this[_0x55b6b2(0x2d7)],'color':this[_0x55b6b2(0x296)]}),_0x19ab47[_0x55b6b2(0x49a)]());}}var _0x394f10=Object['getOwnPropertyDescriptor'],_0x46a1cb=(_0x1a5917,_0x513f27,_0xcf5dbe,_0x4b1e4e)=>{const _0x31010a=_0x4ff2ee;for(var _0x273d5c=_0x4b1e4e>0x1?void 0x0:_0x4b1e4e?_0x394f10(_0x513f27,_0xcf5dbe):_0x513f27,_0x5b2385=_0x1a5917[_0x31010a(0x274)]-0x1,_0x10dcf3;_0x5b2385>=0x0;_0x5b2385--)(_0x10dcf3=_0x1a5917[_0x5b2385])&&(_0x273d5c=_0x10dcf3(_0x273d5c)||_0x273d5c);return _0x273d5c;},_0x465bb5=(_0x1c85e2,_0x465f33)=>(_0x716dad,_0x38506c)=>_0x465f33(_0x716dad,_0x38506c,_0x1c85e2);const _0x35ca8e=0x1389;let _0x5b2dfc=class extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(_0x9296cd,_0x27c1ef,_0x402747,_0x27d535){const _0x3ed41c=_0x4ff2ee;super(),_0x3f28ac(this,_0x3ed41c(0x233),new Set()),_0x3f28ac(this,_0x3ed41c(0x436),null),(this['_context']=_0x9296cd,this[_0x3ed41c(0x229)]=_0x27c1ef,this[_0x3ed41c(0x3f2)]=_0x402747,this[_0x3ed41c(0x428)]=_0x27d535,this[_0x3ed41c(0x475)]());}[_0x4ff2ee(0x475)](){const _0x20357f=_0x4ff2ee;this[_0x20357f(0x229)][_0x20357f(0x3a0)][_0x20357f(0x2b9)](_0x2eb3af['takeUntil'](this[_0x20357f(0x1d7)]),_0x2eb3af[_0x20357f(0x457)](_0x2a1b2f=>{const _0x26d4be=_0x20357f;if(_0x2a1b2f){const _0x27141f=_0x2a1b2f[_0x26d4be(0x2fd)];return _0x488623[_0x26d4be(0x1df)](this['_collabCursorController']['getCollabCursors$'](this[_0x26d4be(0x3c4)]['unitId']),this['_themeService'][_0x26d4be(0x331)])[_0x26d4be(0x2b9)](_0x2eb3af[_0x26d4be(0x3ab)](([_0x2c501e,_0x4bb5ed])=>{const _0x4d8000=_0x26d4be,_0x3845f3=new Map();return _0x2c501e[_0x4d8000(0x426)]((_0x5ba738,_0x29d708)=>{const _0x1c9bd4=_0x4d8000;if(_0x5ba738[_0x1c9bd4(0x205)]===_0x27141f){const _0x2318ce={..._0x5ba738};_0x2318ce[_0x1c9bd4(0x363)]=this[_0x1c9bd4(0x428)][_0x1c9bd4(0x2cf)](_0x5ba738[_0x1c9bd4(0x363)]),_0x3845f3[_0x1c9bd4(0x48a)](_0x29d708,_0x2318ce);}}),{'skeleton':_0x2a1b2f,'cursors':_0x3845f3};}));}return _0x488623['of']({'skeleton':null,'cursors':new Map()});}))[_0x20357f(0x292)](({skeleton:_0xb4a3e,cursors:_0x71a4e9})=>{const _0x57bcea=_0x20357f;this[_0x57bcea(0x47c)](),_0xb4a3e&&this[_0x57bcea(0x26c)](_0xb4a3e,_0x71a4e9);}),this[_0x20357f(0x229)][_0x20357f(0x3a0)][_0x20357f(0x292)](_0x202915=>{const _0xf9cb39=_0x20357f;if(_0x202915==null)return;const {skeleton:_0xb0a08d}=_0x202915,{scene:_0x2f5d0d}=this['_context'];_0x2f5d0d[_0xf9cb39(0x20f)][_0xf9cb39(0x410)](_0x4dc9d4[_0xf9cb39(0x1f4)](_0x1a7996=>{const _0x857207=_0xf9cb39;var _0x95d61c,_0x337570;const {offsetX:_0x27c2ba,offsetY:_0x454196}=_0x1a7996,{x:_0x404678,y:_0x3b0d24}=_0x2f5d0d[_0x857207(0x37d)](_0x37167b['Vector2'][_0x857207(0x1e7)]([_0x27c2ba,_0x454196])),{scaleX:_0x9190c7,scaleY:_0x17bacc}=_0x2f5d0d['getAncestorScale'](),_0x24abc7=_0x2f5d0d[_0x857207(0x3cf)](_0x37167b['SHEET_VIEWPORT_KEY'][_0x857207(0x2d5)]),_0x4c2b8c=_0x2f5d0d[_0x857207(0x1ec)](_0x37167b[_0x857207(0x384)][_0x857207(0x1e7)]([_0x404678,_0x3b0d24]),_0x24abc7),_0x4757d0=_0xb0a08d[_0x857207(0x230)](_0x27c2ba,_0x454196,_0x9190c7,_0x17bacc,_0x4c2b8c);((_0x95d61c=this[_0x857207(0x436)])==null?void 0x0:_0x95d61c['column'])===_0x4757d0[_0x857207(0x266)]&&((_0x337570=this[_0x857207(0x436)])==null?void 0x0:_0x337570[_0x857207(0x26a)])===_0x4757d0[_0x857207(0x26a)]||this['_cursors'][_0x857207(0x426)](_0x57fcd6=>{const _0x8a76ea=_0x857207;_0x57fcd6[_0x8a76ea(0x41d)](_0x4757d0);});},0x64));});}[_0x4ff2ee(0x26c)](_0x5f0b7b,_0x489b60){const _0x1dc067=_0x4ff2ee;var _0x157d18;const _0x5d6f51=(_0x157d18=this[_0x1dc067(0x229)][_0x1dc067(0x2f6)]())==null?void 0x0:_0x157d18[_0x1dc067(0x21c)];if(!_0x5d6f51)return;const _0x1c49d8=this[_0x1dc067(0x401)]();if(!_0x1c49d8)return;this[_0x1dc067(0x233)][_0x1dc067(0x426)](_0x1fff1b=>{const _0x36f3ab=_0x1dc067;_0x1fff1b[_0x36f3ab(0x395)]();});const {scene:_0x1a792d}=_0x1c49d8,_0x3871a=_0x2d2cfc(Array[_0x1dc067(0x2c1)](_0x489b60[_0x1dc067(0x321)]()))[_0x1dc067(0x3ab)](_0x4d2a69=>{const _0x50e03c=_0x1dc067,{color:_0x502f18,range:_0x3ebeee,name:_0x5896db,selection:_0x5de265,sheetID:_0x398393}=_0x4d2a69,{startColumn:_0x2fc623,startRow:_0x23857e,endColumn:_0x36c1a9,endRow:_0x21a451}=_0x3ebeee,_0x5e723a=_0x4e7875[_0x50e03c(0x3da)](_0x23857e,_0x2fc623,_0x1a792d,_0x5d6f51),_0x4f4493=_0x4e7875[_0x50e03c(0x3da)](_0x21a451,_0x36c1a9,_0x1a792d,_0x5d6f51),{columnHeaderHeightAndMarginTop:_0x2ead66}=_0x5d6f51,{startX:_0x2a0dcb,startY:_0x1229ae}=_0x5e723a,{endX:_0x353a08,endY:_0x28dd16}=_0x4f4493,_0x189b62=_0x353a08-_0x2a0dcb,_0x22c3c8=_0x28dd16-_0x1229ae,_0x403ada={'labelPosition':_0x1229ae-_0x2ead66>=_0x3575ff?'top':_0x50e03c(0x250),'sheetID':_0x398393,'range':_0x3ebeee,'color':_0x502f18,'name':_0x5896db,'selection':_0x5de265,'left':_0x2a0dcb,'top':_0x1229ae,'width':_0x189b62,'height':_0x22c3c8,'evented':!0x1,'zIndex':_0x35ca8e};return new _0x3ffa84(_0x5896db,_0x403ada);});_0x1a792d[_0x1dc067(0x20b)](_0x3871a,_0x3e3d8c),this[_0x1dc067(0x233)]=new Set(_0x3871a);}['_removeCollabCursors'](){const _0x20d4bd=_0x4ff2ee;var _0x5e2e38;(_0x5e2e38=this[_0x20d4bd(0x233)])==null||_0x5e2e38['forEach'](_0x46f277=>_0x46f277['dispose']());}[_0x4ff2ee(0x401)](){const _0x1aa221=_0x4ff2ee;return _0x4e7875[_0x1aa221(0x379)](this[_0x1aa221(0x3c4)]['unit'],this[_0x1aa221(0x3c4)]);}};_0x5b2dfc=_0x46a1cb([_0x465bb5(0x1,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4e7875[_0x4ff2ee(0x2e1)])),_0x465bb5(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x34079f)),_0x465bb5(0x3,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4['ThemeService']))],_0x5b2dfc);function _0x2d2cfc(_0x1fc213){const _0x163554=_0x4ff2ee,_0x1b78e5=new Map();return _0x1fc213[_0x163554(0x426)](_0x1db813=>{const _0x5755a0=_0x163554;if(_0x1b78e5[_0x5755a0(0x477)](_0x1db813[_0x5755a0(0x386)])){const _0x18e0ec=_0x1b78e5[_0x5755a0(0x35f)](_0x1db813[_0x5755a0(0x386)]);_0x18e0ec['name']+=',\x20'+_0x1db813['name'];}else _0x1b78e5['set'](_0x1db813[_0x5755a0(0x386)],_0x1db813);}),Array[_0x163554(0x2c1)](_0x1b78e5[_0x163554(0x321)]());}var _0x54a205=Object[_0x4ff2ee(0x304)],_0x4a5e0c=(_0x50f470,_0x31389a,_0x581bdf,_0x1f7c15)=>{const _0x4397fc=_0x4ff2ee;for(var _0x44262e=_0x1f7c15>0x1?void 0x0:_0x1f7c15?_0x54a205(_0x31389a,_0x581bdf):_0x31389a,_0x11b683=_0x50f470[_0x4397fc(0x274)]-0x1,_0x14be4b;_0x11b683>=0x0;_0x11b683--)(_0x14be4b=_0x50f470[_0x11b683])&&(_0x44262e=_0x14be4b(_0x44262e)||_0x44262e);return _0x44262e;},_0x111ad1=(_0x836416,_0x3b40a8)=>(_0x628239,_0x287f2e)=>_0x3b40a8(_0x628239,_0x287f2e,_0x836416);let _0x113c29=class extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(_0x218b47,_0x33f647,_0x24dfcf,_0x591ef0,_0x596c54,_0xa75b6e){const _0x388780=_0x4ff2ee;super(),this[_0x388780(0x319)]=_0x218b47,this['_localCacheService']=_0x33f647,this['_collaborationUIEventService']=_0x24dfcf,this[_0x388780(0x2c4)]=_0x591ef0,this[_0x388780(0x279)]=_0x596c54,this[_0x388780(0x213)]=_0xa75b6e,this[_0x388780(0x38d)](),this[_0x388780(0x41e)]();}[_0x4ff2ee(0x38d)](){const _0x3342ef=_0x4ff2ee;this[_0x3342ef(0x466)](this[_0x3342ef(0x319)][_0x3342ef(0x2c3)](()=>{const _0x4ae2c2=_0x3342ef;if(this[_0x4ae2c2(0x46a)][_0x4ae2c2(0x41b)]['size'])return this['_localeService']['t'](_0x4ae2c2(0x1d0));}));}[_0x4ff2ee(0x41e)](){const _0x546008=_0x4ff2ee;this[_0x546008(0x466)](this[_0x546008(0x495)][_0x546008(0x25a)][_0x546008(0x292)](_0x33f32f=>{const _0x2d68b8=_0x546008;_0x33f32f['id']===_0x2e0918[_0x2d68b8(0x439)][_0x2d68b8(0x1e5)]&&this[_0x2d68b8(0x2c4)]['show']({'type':_0x32cbec[_0x2d68b8(0x298)][_0x2d68b8(0x27d)],'content':this['_localeService']['t'](_0x2d68b8(0x387))}),_0x33f32f['id']===_0x2e0918[_0x2d68b8(0x439)][_0x2d68b8(0x1e8)]&&this[_0x2d68b8(0x2c4)][_0x2d68b8(0x344)]({'type':_0x32cbec['MessageType'][_0x2d68b8(0x27d)],'content':this['_localeService']['t'](_0x2d68b8(0x35c))}),_0x33f32f['id']===_0x2e0918[_0x2d68b8(0x439)][_0x2d68b8(0x373)]&&this[_0x2d68b8(0x279)][_0x2d68b8(0x344)]({'title':this[_0x2d68b8(0x213)]['t'](_0x2d68b8(0x220)),'content':this['_localeService']['t'](_0x2d68b8(0x494)),'type':'error','duration':0x0}),_0x33f32f['id']===_0x2e0918['CollaborationUIEventId']['CONFLICT']&&this[_0x2d68b8(0x2c4)]['show']({'type':_0x32cbec['MessageType'][_0x2d68b8(0x3ac)],'content':this['_localeService']['t'](_0x2d68b8(0x35c))+'('+_0x33f32f['data']+')'}),_0x33f32f['id']===_0x2e0918[_0x2d68b8(0x439)]['JOIN_ROOM_FAILED']&&this[_0x2d68b8(0x2c4)][_0x2d68b8(0x344)]({'type':_0x32cbec['MessageType'][_0x2d68b8(0x27d)],'content':this['_localeService']['t'](_0x33f32f[_0x2d68b8(0x36e)]||'')}),_0x33f32f['id']===_0x2e0918[_0x2d68b8(0x439)]['SOCKET_FAILED_RETRY']&&this[_0x2d68b8(0x2c4)][_0x2d68b8(0x344)]({'type':_0x32cbec[_0x2d68b8(0x298)][_0x2d68b8(0x27d)],'content':this[_0x2d68b8(0x213)]['t'](_0x2d68b8(0x2e2))}),_0x33f32f['id']===_0x2e0918[_0x2d68b8(0x439)][_0x2d68b8(0x456)]&&this[_0x2d68b8(0x2c4)][_0x2d68b8(0x344)]({'type':_0x32cbec['MessageType'][_0x2d68b8(0x3ac)],'content':this[_0x2d68b8(0x213)]['t']('session.connection-failed')}),_0x33f32f['id']===_0x2e0918['CollaborationUIEventId'][_0x2d68b8(0x448)]&&this[_0x2d68b8(0x2c4)]['show']({'type':_0x32cbec[_0x2d68b8(0x298)][_0x2d68b8(0x3ac)],'content':this[_0x2d68b8(0x213)]['t'](_0x2d68b8(0x1e4))});}));}};_0x113c29=_0x4a5e0c([_0x111ad1(0x0,_0x2d992f[_0x4ff2ee(0x46e)]),_0x111ad1(0x1,_0x2e0918['ILocalCacheService']),_0x111ad1(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x2e0918[_0x4ff2ee(0x473)])),_0x111ad1(0x3,_0x2d992f[_0x4ff2ee(0x1e9)]),_0x111ad1(0x4,_0x2d992f[_0x4ff2ee(0x214)]),_0x111ad1(0x5,_0x4dc9d4['Inject'](_0x4dc9d4[_0x4ff2ee(0x23f)]))],_0x113c29);const _0x17194e=_0x4ff2ee(0x2b7),_0x2b26f6={};var _0x3bba05=Object[_0x4ff2ee(0x304)],_0x2a607c=(_0x446fc9,_0x187706,_0x247b8b,_0x1edc75)=>{const _0x1556aa=_0x4ff2ee;for(var _0x297f04=_0x1edc75>0x1?void 0x0:_0x1edc75?_0x3bba05(_0x187706,_0x247b8b):_0x187706,_0x3040f4=_0x446fc9[_0x1556aa(0x274)]-0x1,_0x5106f1;_0x3040f4>=0x0;_0x3040f4--)(_0x5106f1=_0x446fc9[_0x3040f4])&&(_0x297f04=_0x5106f1(_0x297f04)||_0x297f04);return _0x297f04;},_0x6d824=(_0x32f44a,_0x2ebe6c)=>(_0x5d9006,_0x2f8074)=>_0x2ebe6c(_0x5d9006,_0x2f8074,_0x32f44a);let _0x4afb2b=class{constructor(_0x54fbca,_0x516528){const _0x1c072b=_0x4ff2ee;this[_0x1c072b(0x3cc)]=_0x54fbca,this[_0x1c072b(0x355)]=_0x516528;}['transformIMECache'](_0x72eec1){const _0x845d7d=_0x4ff2ee;this['_transformUndoRedoStack'](_0x72eec1),this[_0x845d7d(0x1f9)](_0x72eec1);}[_0x4ff2ee(0x3e3)](_0x46e117){const _0x1fc5fd=_0x4ff2ee,{unitID:_0x265558}=_0x46e117,_0x3e84e2=this['_renderManagerService'][_0x1fc5fd(0x359)](_0x265558)[_0x1fc5fd(0x41f)](_0x504cab[_0x1fc5fd(0x21d)]),{redoCache:_0x47f3ca}=_0x3e84e2[_0x1fc5fd(0x356)]();if(_0x47f3ca[_0x1fc5fd(0x274)]===0x0)return _0x46e117;let _0x46e73c=_0x4dc9d4['Tools'][_0x1fc5fd(0x26d)](_0x46e117[_0x1fc5fd(0x2e0)][0x0]);for(let _0x2274a7=0x0;_0x2274a7<_0x47f3ca[_0x1fc5fd(0x274)];_0x2274a7++){const _0x50bdab={'id':_0x1fc5fd(0x36c),'params':{..._0x47f3ca[_0x2274a7]}},_0x4bf826=this[_0x1fc5fd(0x3cc)][_0x1fc5fd(0x300)](_0x46e73c,_0x50bdab,!0x1);if(_0x40f85d[_0x1fc5fd(0x24a)](_0x4bf826))throw _0x4bf826[_0x1fc5fd(0x405)];_0x46e73c=_0x4bf826['m1Prime'];}return{..._0x4dc9d4['Tools'][_0x1fc5fd(0x26d)](_0x46e117),'mutations':[_0x46e73c]};}[_0x4ff2ee(0x3a3)](_0x4a7983){const _0x206acf=_0x4ff2ee,{unitID:_0x4083cc}=_0x4a7983,_0x21b032=this[_0x206acf(0x355)][_0x206acf(0x359)](_0x4083cc)[_0x206acf(0x41f)](_0x504cab[_0x206acf(0x21d)]),{undoCache:_0x4369a3,redoCache:_0x419433}=_0x21b032[_0x206acf(0x356)]();if(_0x4369a3['length']===0x0||_0x419433[_0x206acf(0x274)]===0x0)return;const _0xd40cad=[],_0x44f1fc=[];let _0x5a0371=_0x4dc9d4['Tools'][_0x206acf(0x26d)](_0x4a7983[_0x206acf(0x2e0)][0x0]),_0x2ed7e8=_0x4dc9d4[_0x206acf(0x465)][_0x206acf(0x26d)](_0x4a7983['mutations'][0x0]);for(let _0x536a96=_0x4369a3['length']-0x1;_0x536a96>=0x0;_0x536a96--){const _0x5ebe44={'id':_0x206acf(0x36c),'params':{..._0x4369a3[_0x536a96]}},_0x27073d={'id':'doc.mutation.rich-text-editing','params':{..._0x419433[_0x536a96]}},_0x5953de=this['_transformService'][_0x206acf(0x300)](_0x5a0371,_0x5ebe44,!0x1),_0x556a1c=this[_0x206acf(0x3cc)]['transformMutation'](_0x2ed7e8,_0x27073d,!0x1);if(_0x40f85d[_0x206acf(0x24a)](_0x5953de))throw _0x5953de['error'];if(_0x40f85d[_0x206acf(0x24a)](_0x556a1c))throw _0x556a1c[_0x206acf(0x405)];_0xd40cad['unshift'](_0x5953de[_0x206acf(0x211)][_0x206acf(0x2ed)]),_0x44f1fc[_0x206acf(0x36f)](_0x556a1c[_0x206acf(0x211)]['params']),_0x5a0371=_0x5953de[_0x206acf(0x3c6)],_0x2ed7e8=_0x556a1c[_0x206acf(0x3c6)];}_0x21b032[_0x206acf(0x42a)]({'undoCache':_0xd40cad,'redoCache':_0x44f1fc});}[_0x4ff2ee(0x1f9)](_0x1ab3a1){const _0x372a18=_0x4ff2ee,{unitID:_0x26fa82}=_0x1ab3a1,_0x3afd88=this[_0x372a18(0x355)][_0x372a18(0x359)](_0x26fa82)[_0x372a18(0x41f)](_0x504cab[_0x372a18(0x21d)]),_0x5080f3=_0x3afd88[_0x372a18(0x328)]();if(_0x5080f3==null)return;const _0x3cdf76=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ab3a1['unitID'],'actions':null,'textRanges':[_0x5080f3]}}],_0x233503=this['_transformService']['transformMutationsWithChangeset'](_0x1ab3a1,_0x3cdf76);if(!_0x40f85d[_0x372a18(0x24c)](_0x233503))throw _0x233503[_0x372a18(0x405)];const _0x25bcea=_0x233503[_0x372a18(0x211)][0x0]['params'][_0x372a18(0x3ff)];Array[_0x372a18(0x23d)](_0x25bcea)&&_0x25bcea[_0x372a18(0x274)]&&_0x3afd88[_0x372a18(0x2bf)](_0x25bcea[0x0]);}};_0x4afb2b=_0x2a607c([_0x6d824(0x0,_0x40f85d[_0x4ff2ee(0x1ed)]),_0x6d824(0x1,_0x37167b[_0x4ff2ee(0x312)])],_0x4afb2b);var _0x3402d5=Object[_0x4ff2ee(0x304)],_0x49296d=(_0x111dfb,_0x1db1b1,_0x419c9e,_0x467a84)=>{const _0x4462f3=_0x4ff2ee;for(var _0x4c85db=_0x467a84>0x1?void 0x0:_0x467a84?_0x3402d5(_0x1db1b1,_0x419c9e):_0x1db1b1,_0x5bd57d=_0x111dfb[_0x4462f3(0x274)]-0x1,_0x2c7f0c;_0x5bd57d>=0x0;_0x5bd57d--)(_0x2c7f0c=_0x111dfb[_0x5bd57d])&&(_0x4c85db=_0x2c7f0c(_0x4c85db)||_0x4c85db);return _0x4c85db;},_0x56660a=(_0x1387c0,_0x712a7a)=>(_0x3ca361,_0x268f95)=>_0x712a7a(_0x3ca361,_0x268f95,_0x1387c0);let _0x36f2dc=class{constructor(_0x418df7,_0x23e361,_0x15fc29){const _0x40b2a6=_0x4ff2ee;this[_0x40b2a6(0x406)]=_0x418df7,this[_0x40b2a6(0x3cc)]=_0x23e361,this['_docStateChangeManagerService']=_0x15fc29;}[_0x4ff2ee(0x3ea)](_0x303083){const _0x25ec07=_0x4ff2ee;this[_0x25ec07(0x1d8)](_0x303083);}[_0x4ff2ee(0x3e3)](_0x39a3dd){const _0x588697=_0x4ff2ee,{unitID:_0x2d2be7}=_0x39a3dd,{collaboration:_0x3f6845}=this[_0x588697(0x244)]['getStateCache'](_0x2d2be7);if(_0x3f6845[_0x588697(0x274)]===0x0)return _0x39a3dd;let _0x35ec96=_0x4dc9d4['Tools'][_0x588697(0x26d)](_0x39a3dd['mutations'][0x0]);for(let _0x52c7e9=0x0;_0x52c7e9<_0x3f6845['length'];_0x52c7e9++){const _0x3cbf0f={'id':_0x588697(0x36c),'params':{'unitId':_0x3f6845[_0x52c7e9][_0x588697(0x470)],..._0x3f6845[_0x52c7e9]['redoState']}},_0x67f3fe=this[_0x588697(0x3cc)]['transformMutation'](_0x35ec96,_0x3cbf0f,!0x1);if(_0x40f85d[_0x588697(0x24a)](_0x67f3fe))throw _0x67f3fe[_0x588697(0x405)];_0x35ec96=_0x67f3fe[_0x588697(0x3c6)];}return{..._0x4dc9d4['Tools']['deepClone'](_0x39a3dd),'mutations':[_0x35ec96]};}['_transformHistoryAndStateStack'](_0x3e68e5){const _0x4588c7=_0x4ff2ee,{unitID:_0x303a71}=_0x3e68e5,{history:_0x1ce9fc,collaboration:_0x138404}=this['_docStateChangeManagerService'][_0x4588c7(0x1db)](_0x303a71);if(_0x1ce9fc[_0x4588c7(0x274)]===0x0&&_0x138404[_0x4588c7(0x274)]===0x0)return;const _0x1d5e0e=[],_0x4005f9=[];let _0x2f5b9e=_0x4dc9d4[_0x4588c7(0x465)][_0x4588c7(0x26d)](_0x3e68e5[_0x4588c7(0x2e0)][0x0]),_0x389ad3=_0x4dc9d4['Tools']['deepClone'](_0x3e68e5['mutations'][0x0]);for(let _0x3d72ea=_0x1ce9fc[_0x4588c7(0x274)]-0x1;_0x3d72ea>=0x0;_0x3d72ea--){const _0x512de8={'id':_0x4588c7(0x36c),'params':{'unitId':_0x1ce9fc[_0x3d72ea][_0x4588c7(0x470)],..._0x1ce9fc[_0x3d72ea][_0x4588c7(0x3bd)]}},_0x13543b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ce9fc[_0x3d72ea]['unitId'],..._0x1ce9fc[_0x3d72ea][_0x4588c7(0x271)]}},_0x132d5e=this[_0x4588c7(0x3cc)][_0x4588c7(0x300)](_0x2f5b9e,_0x512de8,!0x1),_0x279057=this[_0x4588c7(0x3cc)]['transformMutation'](_0x389ad3,_0x13543b,!0x1);if(_0x40f85d[_0x4588c7(0x24a)](_0x132d5e))throw _0x132d5e[_0x4588c7(0x405)];if(_0x40f85d['isTransformMutationFailure'](_0x279057))throw _0x279057['error'];_0x1d5e0e[_0x4588c7(0x36f)]({..._0x1ce9fc[_0x3d72ea],'undoState':_0x132d5e[_0x4588c7(0x211)][_0x4588c7(0x2ed)],'redoState':_0x279057['m2Prime'][_0x4588c7(0x2ed)]}),_0x2f5b9e=_0x132d5e[_0x4588c7(0x3c6)],_0x389ad3=_0x279057['m1Prime'];}_0x2f5b9e=_0x4dc9d4[_0x4588c7(0x465)][_0x4588c7(0x26d)](_0x3e68e5[_0x4588c7(0x2e0)][0x0]),_0x389ad3=_0x4dc9d4[_0x4588c7(0x465)]['deepClone'](_0x3e68e5[_0x4588c7(0x2e0)][0x0]);for(let _0x40a7bd=_0x138404[_0x4588c7(0x274)]-0x1;_0x40a7bd>=0x0;_0x40a7bd--){const _0x2d4fee={'id':_0x4588c7(0x36c),'params':{'unitId':_0x138404[_0x40a7bd][_0x4588c7(0x470)],..._0x138404[_0x40a7bd][_0x4588c7(0x3bd)]}},_0x35e8c2={'id':_0x4588c7(0x36c),'params':{'unitId':_0x138404[_0x40a7bd]['unitId'],..._0x138404[_0x40a7bd][_0x4588c7(0x271)]}},_0x48bd12=this[_0x4588c7(0x3cc)][_0x4588c7(0x300)](_0x2f5b9e,_0x2d4fee,!0x1),_0x5ed62e=this[_0x4588c7(0x3cc)][_0x4588c7(0x300)](_0x389ad3,_0x35e8c2,!0x1);if(_0x40f85d[_0x4588c7(0x24a)](_0x48bd12))throw _0x48bd12[_0x4588c7(0x405)];if(_0x40f85d['isTransformMutationFailure'](_0x5ed62e))throw _0x5ed62e[_0x4588c7(0x405)];_0x4005f9[_0x4588c7(0x36f)]({..._0x138404[_0x40a7bd],'undoState':_0x48bd12[_0x4588c7(0x211)][_0x4588c7(0x2ed)],'redoState':_0x5ed62e['m2Prime'][_0x4588c7(0x2ed)]}),_0x2f5b9e=_0x48bd12[_0x4588c7(0x3c6)],_0x389ad3=_0x5ed62e[_0x4588c7(0x3c6)];}this['_docStateChangeManagerService'][_0x4588c7(0x350)](_0x303a71,{'history':_0x1d5e0e,'collaboration':_0x4005f9});}};_0x36f2dc=_0x49296d([_0x56660a(0x0,_0x4dc9d4['Inject'](_0x4dc9d4[_0x4ff2ee(0x419)])),_0x56660a(0x1,_0x40f85d['ITransformService']),_0x56660a(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x504cab['DocStateChangeManagerService']))],_0x36f2dc);var _0xf8af4b=Object[_0x4ff2ee(0x304)],_0x3c92d4=(_0x197b09,_0x2f2fa9,_0x4cfaf8,_0x15ed17)=>{const _0x109ff3=_0x4ff2ee;for(var _0x3b7b66=_0x15ed17>0x1?void 0x0:_0x15ed17?_0xf8af4b(_0x2f2fa9,_0x4cfaf8):_0x2f2fa9,_0x1564a7=_0x197b09[_0x109ff3(0x274)]-0x1,_0x1504ed;_0x1564a7>=0x0;_0x1564a7--)(_0x1504ed=_0x197b09[_0x1564a7])&&(_0x3b7b66=_0x1504ed(_0x3b7b66)||_0x3b7b66);return _0x3b7b66;},_0x5090a7=(_0x12495e,_0x13403a)=>(_0x237746,_0x19fe95)=>_0x13403a(_0x237746,_0x19fe95,_0x12495e);let _0x25a528=class{constructor(_0x3b2c72,_0x2ce37e){const _0x80d1b5=_0x4ff2ee;this[_0x80d1b5(0x406)]=_0x3b2c72,this['_transformService']=_0x2ce37e;}['transformSelections'](_0x39938b){const _0x1992d3=_0x4ff2ee;var _0xc8132d;const _0x3bc1c9=this[_0x1992d3(0x406)][_0x1992d3(0x35f)](_0x2ffbcd[_0x1992d3(0x337)]),_0x19d427=(_0xc8132d=_0x3bc1c9[_0x1992d3(0x1e1)]())!=null?_0xc8132d:[];if(_0x19d427[_0x1992d3(0x274)]===0x0)return;const _0x1d8ca1=_0x39938b['unitID'],_0xee6e2c=[{'id':_0x1992d3(0x36c),'params':{'unitId':_0x1d8ca1,'actions':null,'textRanges':_0x19d427}}],_0x4c9de6=this['_transformService'][_0x1992d3(0x45c)](_0x39938b,_0xee6e2c);if(!_0x40f85d[_0x1992d3(0x24c)](_0x4c9de6))throw _0x4c9de6[_0x1992d3(0x405)];const _0x33fd3f=_0x4c9de6[_0x1992d3(0x211)][0x0][_0x1992d3(0x2ed)][_0x1992d3(0x3ff)];Array['isArray'](_0x33fd3f)&&_0x33fd3f['length']&&_0x3bc1c9[_0x1992d3(0x2a2)](_0x33fd3f,{'unitId':_0x1d8ca1,'subUnitId':_0x1d8ca1},!0x1);}};_0x25a528=_0x3c92d4([_0x5090a7(0x0,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4['Injector'])),_0x5090a7(0x1,_0x40f85d['ITransformService'])],_0x25a528);var _0x56af9d=Object[_0x4ff2ee(0x304)],_0x26c240=(_0x561997,_0x3988ec,_0x9221ea,_0x7be08c)=>{const _0x26d1bf=_0x4ff2ee;for(var _0x58b35a=_0x7be08c>0x1?void 0x0:_0x7be08c?_0x56af9d(_0x3988ec,_0x9221ea):_0x3988ec,_0x2b7b82=_0x561997[_0x26d1bf(0x274)]-0x1,_0x402990;_0x2b7b82>=0x0;_0x2b7b82--)(_0x402990=_0x561997[_0x2b7b82])&&(_0x58b35a=_0x402990(_0x58b35a)||_0x58b35a);return _0x58b35a;},_0x572cf1=(_0x55a649,_0x2ae25b)=>(_0x2a2a3b,_0x2f1d13)=>_0x2ae25b(_0x2a2a3b,_0x2f1d13,_0x55a649);let _0x33302a=class extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(_0x16cd11,_0x1bf89e,_0x886e03,_0xdb07aa,_0x550da8,_0x3757a1,_0x4e01a7,_0x37100d){const _0x2ec8e6=_0x4ff2ee;super(),_0x3f28ac(this,_0x2ec8e6(0x2fe),new _0x488623[(_0x2ec8e6(0x438))](_0x2e0918[_0x2ec8e6(0x2f1)][_0x2ec8e6(0x3de)])),(this[_0x2ec8e6(0x244)]=_0x16cd11,this['_collaborationController']=_0x1bf89e,this[_0x2ec8e6(0x3bf)]=_0x886e03,this[_0x2ec8e6(0x246)]=_0xdb07aa,this[_0x2ec8e6(0x22b)]=_0x550da8,this[_0x2ec8e6(0x374)]=_0x3757a1,this[_0x2ec8e6(0x2c4)]=_0x4e01a7,this[_0x2ec8e6(0x213)]=_0x37100d,this['_initEntityListener']());}['_initEntityListener'](){const _0xf8deda=_0x4ff2ee;this[_0xf8deda(0x466)](this[_0xf8deda(0x278)][_0xf8deda(0x2a6)]['subscribe'](_0x303494=>{const _0x58452f=_0xf8deda,_0x38cce8=this['_docStateChangeManagerService'][_0x58452f(0x282)][_0x58452f(0x292)](_0x5c3576=>{const _0x76dabe=_0x58452f;if(_0x5c3576==null)return;const {unitId:_0x2e8475,redoState:_0x540aa6,commandId:_0x811b86}=_0x5c3576;if(_0x2e8475!==_0x303494['unitID'])return;const _0x4dd8a6={'id':_0x811b86,'type':_0x4dc9d4[_0x76dabe(0x42f)][_0x76dabe(0x29f)],'params':{'unitId':_0x2e8475,'actions':_0x540aa6[_0x76dabe(0x325)],'textRanges':null}};_0x303494[_0x76dabe(0x3f1)](_0x4dd8a6);});if(_0x303494[_0x58452f(0x466)](_0x38cce8),_0x303494 instanceof _0x2e0918[_0x58452f(0x38a)]){const _0x5ca5bf={'onTransformIME':_0x3473ac=>this[_0x58452f(0x3bf)]['transformIMECache'](_0x3473ac),'onTransformState':_0x3e2ef0=>this[_0x58452f(0x246)][_0x58452f(0x3ea)](_0x3e2ef0),'onTransformSelections':_0x4c3ef7=>this[_0x58452f(0x22b)][_0x58452f(0x42c)](_0x4c3ef7),'onSyncEditingCollabCursor':_0x22e65b=>this[_0x58452f(0x374)][_0x58452f(0x3ca)](_0x22e65b),'onTransformRemoteChangesetByIMECache':_0x262c21=>this[_0x58452f(0x3bf)][_0x58452f(0x3e3)](_0x262c21),'onTransformRemoteChangesetByStateCache':_0x1bc954=>this[_0x58452f(0x246)][_0x58452f(0x3e3)](_0x1bc954)};_0x303494[_0x58452f(0x2bb)](_0x5ca5bf);}}));}};_0x33302a=_0x26c240([_0x572cf1(0x0,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x504cab[_0x4ff2ee(0x30e)])),_0x572cf1(0x1,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x2e0918[_0x4ff2ee(0x2a1)])),_0x572cf1(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4afb2b)),_0x572cf1(0x3,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x36f2dc)),_0x572cf1(0x4,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x25a528)),_0x572cf1(0x5,_0x4dc9d4['Inject'](_0x46655e)),_0x572cf1(0x6,_0x2d992f[_0x4ff2ee(0x1e9)]),_0x572cf1(0x7,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x23f)]))],_0x33302a);var _0xe4b39a=(_0x3e199e=>(_0x3e199e[_0x3e199e[_0x4ff2ee(0x2f5)]=0x0]=_0x4ff2ee(0x2f5),_0x3e199e[_0x3e199e['OK']=0x1]='OK',_0x3e199e[_0x3e199e[_0x4ff2ee(0x1ff)]=0x2]=_0x4ff2ee(0x1ff),_0x3e199e[_0x3e199e[_0x4ff2ee(0x373)]=0x3]='PERMISSION_DENIED',_0x3e199e[_0x3e199e['NOT_FOUND']=0x4]=_0x4ff2ee(0x445),_0x3e199e[_0x3e199e[_0x4ff2ee(0x273)]=0x5]=_0x4ff2ee(0x273),_0x3e199e[_0x3e199e[_0x4ff2ee(0x2df)]=0x6]='ALREADY_EXISTS',_0x3e199e[_0x3e199e[_0x4ff2ee(0x38b)]=0x7]=_0x4ff2ee(0x38b),_0x3e199e[_0x3e199e[_0x4ff2ee(0x243)]=0x8]=_0x4ff2ee(0x243),_0x3e199e[_0x3e199e[_0x4ff2ee(0x391)]=0x9]='COMPLETION_FINISHED',_0x3e199e[_0x3e199e['LOGIN_FAILED']=0xa]=_0x4ff2ee(0x2e6),_0x3e199e[_0x3e199e['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4ff2ee(0x375),_0x3e199e[_0x3e199e[_0x4ff2ee(0x429)]=0xc]=_0x4ff2ee(0x429),_0x3e199e[_0x3e199e[_0x4ff2ee(0x360)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3e199e[_0x3e199e['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3e199e[_0x3e199e['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x4ff2ee(0x46d),_0x3e199e[_0x3e199e[_0x4ff2ee(0x1f5)]=0x10]=_0x4ff2ee(0x1f5),_0x3e199e[_0x3e199e[_0x4ff2ee(0x42d)]=0x64]=_0x4ff2ee(0x42d),_0x3e199e[_0x3e199e[_0x4ff2ee(0x212)]=0x65]=_0x4ff2ee(0x212),_0x3e199e[_0x3e199e[_0x4ff2ee(0x31f)]=0xc9]='USER_NOT_FOUND',_0x3e199e[_0x3e199e[_0x4ff2ee(0x49b)]=0xca]=_0x4ff2ee(0x49b),_0x3e199e[_0x3e199e[_0x4ff2ee(0x285)]=0x1389]=_0x4ff2ee(0x285),_0x3e199e[_0x3e199e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3e199e[_0x3e199e[_0x4ff2ee(0x2ca)]=0x1772]=_0x4ff2ee(0x2ca),_0x3e199e[_0x3e199e[_0x4ff2ee(0x443)]=0x1773]=_0x4ff2ee(0x443),_0x3e199e[_0x3e199e['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x3e199e[_0x3e199e[_0x4ff2ee(0x277)]=0x1b5a]=_0x4ff2ee(0x277),_0x3e199e[_0x3e199e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4ff2ee(0x2f0),_0x3e199e[_0x3e199e[_0x4ff2ee(0x31a)]=0x1b5c]=_0x4ff2ee(0x31a),_0x3e199e[_0x3e199e[_0x4ff2ee(0x486)]=0x1b5d]=_0x4ff2ee(0x486),_0x3e199e[_0x3e199e['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4ff2ee(0x3f8),_0x3e199e[_0x3e199e[_0x4ff2ee(0x25d)]=0x2329]=_0x4ff2ee(0x25d),_0x3e199e[_0x3e199e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4ff2ee(0x458),_0x3e199e[_0x3e199e[_0x4ff2ee(0x2a5)]=0x232b]=_0x4ff2ee(0x2a5),_0x3e199e[_0x3e199e[_0x4ff2ee(0x412)]=0x232c]=_0x4ff2ee(0x412),_0x3e199e[_0x3e199e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4ff2ee(0x28e),_0x3e199e[_0x3e199e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4ff2ee(0x392),_0x3e199e[_0x3e199e[_0x4ff2ee(0x3bc)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3e199e[_0x3e199e[_0x4ff2ee(0x1d1)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3e199e[_0x3e199e[_0x4ff2ee(0x2c0)]=0x2714]=_0x4ff2ee(0x2c0),_0x3e199e[_0x3e199e[_0x4ff2ee(0x1f3)]=0x271a]=_0x4ff2ee(0x1f3),_0x3e199e[_0x3e199e['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4ff2ee(0x245),_0x3e199e[_0x3e199e[_0x4ff2ee(0x22e)]=0x271c]=_0x4ff2ee(0x22e),_0x3e199e[_0x3e199e[_0x4ff2ee(0x329)]=0x271d]=_0x4ff2ee(0x329),_0x3e199e[_0x3e199e[_0x4ff2ee(0x21f)]=0x271e]=_0x4ff2ee(0x21f),_0x3e199e[_0x3e199e[_0x4ff2ee(0x481)]=0x271f]=_0x4ff2ee(0x481),_0x3e199e[_0x3e199e[_0x4ff2ee(0x2e8)]=0x2720]=_0x4ff2ee(0x2e8),_0x3e199e[_0x3e199e[_0x4ff2ee(0x295)]=0x2af9]=_0x4ff2ee(0x295),_0x3e199e[_0x3e199e[_0x4ff2ee(0x2b5)]=0x2ee1]=_0x4ff2ee(0x2b5),_0x3e199e[_0x3e199e[_0x4ff2ee(0x416)]=0x2ee2]=_0x4ff2ee(0x416),_0x3e199e[_0x3e199e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4ff2ee(0x3a9),_0x3e199e[_0x3e199e[_0x4ff2ee(0x336)]=0x2ee4]=_0x4ff2ee(0x336),_0x3e199e[_0x3e199e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4ff2ee(0x1da),_0x3e199e[_0x3e199e[_0x4ff2ee(0x32c)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3e199e[_0x3e199e[_0x4ff2ee(0x3be)]=0x32ca]=_0x4ff2ee(0x3be),_0x3e199e[_0x3e199e[_0x4ff2ee(0x275)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3e199e[_0x3e199e[_0x4ff2ee(0x294)]=0x36b1]=_0x4ff2ee(0x294),_0x3e199e[_0x3e199e[_0x4ff2ee(0x343)]=0x36b2]=_0x4ff2ee(0x343),_0x3e199e[_0x3e199e[_0x4ff2ee(0x48e)]=0x36b3]=_0x4ff2ee(0x48e),_0x3e199e[_0x3e199e[_0x4ff2ee(0x2d9)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x3e199e[_0x3e199e[_0x4ff2ee(0x39e)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3e199e[_0x3e199e[_0x4ff2ee(0x468)]=0x3716]=_0x4ff2ee(0x468),_0x3e199e[_0x3e199e['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4ff2ee(0x47e),_0x3e199e[_0x3e199e[_0x4ff2ee(0x313)]=0x37dd]=_0x4ff2ee(0x313),_0x3e199e[_0x3e199e['REDEMPTION_INVALID_CODE']=0x3a99]=_0x4ff2ee(0x1f0),_0x3e199e[_0x3e199e[_0x4ff2ee(0x31b)]=0x3a9a]=_0x4ff2ee(0x31b),_0x3e199e[_0x3e199e[_0x4ff2ee(0x367)]=0x3a9b]=_0x4ff2ee(0x367),_0x3e199e[_0x3e199e[_0x4ff2ee(0x435)]=0x3a9c]=_0x4ff2ee(0x435),_0x3e199e[_0x3e199e[_0x4ff2ee(0x42e)]=0x3a9d]=_0x4ff2ee(0x42e),_0x3e199e[_0x3e199e['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x3e199e[_0x3e199e['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x3e199e[_0x3e199e['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x3e199e[_0x3e199e[_0x4ff2ee(0x47a)]=-0x1]='UNRECOGNIZED',_0x3e199e))(_0xe4b39a||{});function _0x5454a4(_0x15cc54){const _0x543504=_0x4ff2ee;var _0x5f5bb8,_0xe2a376;const _0x104c12=(_0x5f5bb8=_0x15cc54['stageInfo'])==null?void 0x0:_0x5f5bb8['stage'],_0x37a74e=((_0xe2a376=_0x15cc54[_0x543504(0x425)])==null?void 0x0:_0xe2a376['totalFormulasToCalculate'])||0x0;return _0x104c12===_0x55872e['FormulaExecuteStageType'][_0x543504(0x2dc)]&&_0x37a74e>0x0;}function _0x178346(_0x22a64b){const _0x5f3b80=_0x4ff2ee;return _0x22a64b[_0x5f3b80(0x437)]===_0x55872e[_0x5f3b80(0x241)][_0x5f3b80(0x43d)];}var _0x46f5c2=Object[_0x4ff2ee(0x304)],_0x3ec7da=(_0x17cfb5,_0x241a46,_0x3f7146,_0x7e7ef4)=>{const _0x30fe48=_0x4ff2ee;for(var _0x1a62af=_0x7e7ef4>0x1?void 0x0:_0x7e7ef4?_0x46f5c2(_0x241a46,_0x3f7146):_0x241a46,_0x1d2cda=_0x17cfb5[_0x30fe48(0x274)]-0x1,_0x4891ae;_0x1d2cda>=0x0;_0x1d2cda--)(_0x4891ae=_0x17cfb5[_0x1d2cda])&&(_0x1a62af=_0x4891ae(_0x1a62af)||_0x1a62af);return _0x1a62af;},_0x55f2f6=(_0x15b5c5,_0x577739)=>(_0x42b66f,_0x35057f)=>_0x577739(_0x42b66f,_0x35057f,_0x15b5c5);const _0x43660c=_0x4ff2ee(0x1d5),_0x557343=_0x4ff2ee(0x247),_0x21771a=_0x4ff2ee(0x29a);let _0x2cabd2=class extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(_0x1e392e,_0x101c29,_0x28ba29,_0x1e5eff,_0x16e681,_0xa8e909,_0x227a2e){const _0x421457=_0x4ff2ee;super(),_0x3f28ac(this,'_pollingInterval',null),_0x3f28ac(this,_0x421457(0x318),0x0),_0x3f28ac(this,_0x421457(0x33b),0x0),_0x3f28ac(this,_0x421457(0x225),[]),_0x3f28ac(this,_0x421457(0x3d3),0x0),(this[_0x421457(0x2c4)]=_0x1e392e,this[_0x421457(0x35d)]=_0x101c29,this[_0x421457(0x24e)]=_0x28ba29,this['_httpService']=_0x1e5eff,this[_0x421457(0x40a)]=_0x16e681,this[_0x421457(0x403)]=_0xa8e909,this[_0x421457(0x213)]=_0x227a2e,this[_0x421457(0x27b)]());}[_0x4ff2ee(0x27b)](){const _0x109fb=_0x4ff2ee;this[_0x109fb(0x466)](this[_0x109fb(0x35d)]['beforeCommandExecuted']((_0x1d5ad7,_0x25a7c4)=>{const _0x4fd634=_0x109fb;var _0x1108ce;if(_0x1d5ad7['id']!==_0x55872e[_0x4fd634(0x242)]['id'])return;const _0x15a0bd=_0x1d5ad7[_0x4fd634(0x2ed)];if(!this[_0x4fd634(0x441)]((_0x1108ce=_0x15a0bd[_0x4fd634(0x3c7)])!=null?_0x1108ce:[]))return;if(!this[_0x4fd634(0x23e)]())throw this[_0x4fd634(0x23c)](_0x1d5ad7,_0x25a7c4),this[_0x4fd634(0x440)](),new _0x4dc9d4['CanceledError']();})),this[_0x109fb(0x466)](this['_commandService'][_0x109fb(0x472)]((_0x22a4db,_0x449ca1)=>{const _0x5ec365=_0x109fb;if(_0x22a4db['id']!==_0x55872e['SetFormulaCalculationNotificationMutation']['id'])return;const _0x144461=_0x22a4db[_0x5ec365(0x2ed)];if(_0x5454a4(_0x144461)){const _0x46eb45=_0x4dc9d4['generateRandomId']();this[_0x5ec365(0x225)][_0x5ec365(0x3d5)](_0x46eb45),this[_0x5ec365(0x1d9)](_0x46eb45);}else{if(_0x178346(_0x144461)&&this[_0x5ec365(0x225)]['length']>0x0){const _0x40e3f8=this[_0x5ec365(0x225)][_0x5ec365(0x24f)]();this[_0x5ec365(0x424)](_0x40e3f8);}}}));}['dispose'](){const _0x24c82b=_0x4ff2ee;super[_0x24c82b(0x462)](),this['_clearPolling'](),this[_0x24c82b(0x225)]=[],this[_0x24c82b(0x33b)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x24c82b(0x3d3)]=0x0;}async[_0x4ff2ee(0x23c)](_0x3f16cb,_0x3e6596){const _0x1ef581=_0x4ff2ee;for(let _0x3406ce=0x0;_0x3406ce<0x1e;_0x3406ce++)try{if(await this['_getFormulaLimitStatus'](),this[_0x1ef581(0x23e)]()){this[_0x1ef581(0x3af)](_0x3f16cb,_0x3e6596),this[_0x1ef581(0x2c4)][_0x1ef581(0x344)]({'content':this[_0x1ef581(0x213)]['t']('formula.calculation.started'),'type':_0x32cbec[_0x1ef581(0x298)]['Success']});return;}await new Promise(_0xd4dcc1=>{const _0x24a06b=_0x1ef581;this[_0x24a06b(0x3db)]=window['setTimeout'](_0xd4dcc1,0x3e8);});}catch(_0xcdd71a){this[_0x1ef581(0x403)][_0x1ef581(0x405)](_0xcdd71a);}this[_0x1ef581(0x2c4)]['show']({'content':this[_0x1ef581(0x213)]['t'](_0x1ef581(0x1fc)),'type':_0x32cbec[_0x1ef581(0x298)][_0x1ef581(0x3ac)]});}[_0x4ff2ee(0x3af)](_0x16f8a8,_0x3102ec){const _0x13a700=_0x4ff2ee;try{this[_0x13a700(0x35d)][_0x13a700(0x2da)](_0x16f8a8['id'],_0x16f8a8['params'],_0x3102ec);}catch(_0x483269){this[_0x13a700(0x403)][_0x13a700(0x405)](_0x483269);}}[_0x4ff2ee(0x240)](_0x48ee67,_0x1be96e){const _0x31c26b=_0x4ff2ee;_0x1be96e<this['_lastResponseTimestamp']||(this[_0x31c26b(0x3d3)]=_0x1be96e,this[_0x31c26b(0x318)]=Number[_0x31c26b(0x488)](_0x48ee67['maxFormulaLimit']),this[_0x31c26b(0x33b)]=Number['parseInt'](_0x48ee67[_0x31c26b(0x459)]));}async[_0x4ff2ee(0x1d9)](_0x430558){const _0xd1a5ef=_0x4ff2ee;var _0x128757,_0x810d79;const _0x2f768a=Date[_0xd1a5ef(0x3b7)]();try{const _0x51c706=((_0x128757=this[_0xd1a5ef(0x24e)][_0xd1a5ef(0x1fd)](_0x2e0918[_0xd1a5ef(0x3a2)]))==null?void 0x0:_0x128757[_0xd1a5ef(0x2ce)])||_0x557343,_0x5c0dd9=(await this[_0xd1a5ef(0x40b)]['post'](_0x51c706,{'body':JSON[_0xd1a5ef(0x2c8)]({'taskId':_0x430558})}))[_0xd1a5ef(0x35b)];if(((_0x810d79=_0x5c0dd9['error'])==null?void 0x0:_0x810d79['code'])!==_0xe4b39a['OK'])return;this[_0xd1a5ef(0x240)](_0x5c0dd9['limitInfo'],_0x2f768a);}catch(_0x11b396){this[_0xd1a5ef(0x403)][_0xd1a5ef(0x405)](_0x11b396);}}async['_getFormulaLimitStatus'](_0x8a30d2){const _0x4a91d7=_0x4ff2ee;var _0x58c6a6,_0x153bef;const _0x38fcd1=Date[_0x4a91d7(0x3b7)]();try{const _0x404789=((_0x58c6a6=this[_0x4a91d7(0x24e)][_0x4a91d7(0x1fd)](_0x2e0918['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x58c6a6[_0x4a91d7(0x207)])||_0x43660c,_0x201803=_0x8a30d2?_0x404789+_0x4a91d7(0x3d8)+encodeURIComponent(_0x8a30d2):_0x404789,_0x1affea=(await this[_0x4a91d7(0x40b)][_0x4a91d7(0x35f)](_0x201803))[_0x4a91d7(0x35b)];if(((_0x153bef=_0x1affea['error'])==null?void 0x0:_0x153bef[_0x4a91d7(0x388)])!==_0xe4b39a['OK'])return;this['_setFormulaLimitStatus'](_0x1affea[_0x4a91d7(0x2e5)],_0x38fcd1);}catch(_0x38eae7){this['_logService']['error'](_0x38eae7);}}async[_0x4ff2ee(0x424)](_0x22d79c){const _0x4dedd1=_0x4ff2ee;var _0x36982d,_0xcce3c7;const _0x3b8230=Date[_0x4dedd1(0x3b7)]();try{const _0x5a4f30=((_0x36982d=this['_configService'][_0x4dedd1(0x1fd)](_0x2e0918[_0x4dedd1(0x3a2)]))==null?void 0x0:_0x36982d[_0x4dedd1(0x2a9)])||_0x21771a,_0x360585=(await this[_0x4dedd1(0x40b)]['post'](_0x5a4f30,{'body':JSON[_0x4dedd1(0x2c8)]({'taskId':_0x22d79c})}))[_0x4dedd1(0x35b)];if(((_0xcce3c7=_0x360585[_0x4dedd1(0x405)])==null?void 0x0:_0xcce3c7[_0x4dedd1(0x388)])!==_0xe4b39a['OK'])return;this[_0x4dedd1(0x240)](_0x360585[_0x4dedd1(0x2e5)],_0x3b8230);}catch(_0x5c358c){this[_0x4dedd1(0x403)][_0x4dedd1(0x405)](_0x5c358c);}}[_0x4ff2ee(0x23e)](){const _0x2f0370=_0x4ff2ee;return this[_0x2f0370(0x318)]===0x0?!0x0:this[_0x2f0370(0x318)]-this[_0x2f0370(0x33b)]>0x0;}[_0x4ff2ee(0x40d)](){const _0xd27d40=_0x4ff2ee;this[_0xd27d40(0x3db)]&&(clearTimeout(this['_pollingInterval']),this[_0xd27d40(0x3db)]=null);}[_0x4ff2ee(0x440)](){const _0x54bd59=_0x4ff2ee;this[_0x54bd59(0x2c4)][_0x54bd59(0x344)]({'content':this[_0x54bd59(0x213)]['t']('formula.calculation.waiting'),'type':_0x32cbec[_0x54bd59(0x298)][_0x54bd59(0x338)]});}[_0x4ff2ee(0x441)](_0x416d52){const _0x550abd=_0x4ff2ee;for(const _0x74e285 of _0x416d52){const {unitId:_0x181952,sheetId:_0x2229d9,range:_0x4db34a}=_0x74e285,_0x5b19f7=this[_0x550abd(0x40a)][_0x550abd(0x30b)](_0x181952);if(!_0x5b19f7)continue;const _0x3fa1c9=_0x5b19f7[_0x550abd(0x492)](_0x2229d9);if(!_0x3fa1c9)continue;const _0x25514b=_0x3fa1c9[_0x550abd(0x463)]();for(let _0x191017=_0x4db34a[_0x550abd(0x28b)];_0x191017<=_0x4db34a[_0x550abd(0x289)];_0x191017++)for(let _0x20a3cb=_0x4db34a[_0x550abd(0x3b2)];_0x20a3cb<=_0x4db34a[_0x550abd(0x43b)];_0x20a3cb++){const _0x56cb90=_0x25514b[_0x550abd(0x221)](_0x191017,_0x20a3cb);if(_0x56cb90&&(_0x4dc9d4[_0x550abd(0x449)](_0x56cb90['f'])||_0x4dc9d4[_0x550abd(0x262)](_0x56cb90['si'])))return!0x0;}}return!0x1;}};_0x2cabd2=_0x3ec7da([_0x55f2f6(0x0,_0x4dc9d4['Inject'](_0x2d992f[_0x4ff2ee(0x1e9)])),_0x55f2f6(0x1,_0x4dc9d4[_0x4ff2ee(0x396)]),_0x55f2f6(0x2,_0x4dc9d4[_0x4ff2ee(0x3f4)]),_0x55f2f6(0x3,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4efdde['HTTPService'])),_0x55f2f6(0x4,_0x4dc9d4[_0x4ff2ee(0x490)]),_0x55f2f6(0x5,_0x4dc9d4[_0x4ff2ee(0x47b)]),_0x55f2f6(0x6,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x23f)]))],_0x2cabd2);var _0x4c5ca7=Object['getOwnPropertyDescriptor'],_0x3e4c14=(_0x20019d,_0x2ef44d,_0x6af204,_0x129e7d)=>{const _0x5477f5=_0x4ff2ee;for(var _0x2cbf03=_0x129e7d>0x1?void 0x0:_0x129e7d?_0x4c5ca7(_0x2ef44d,_0x6af204):_0x2ef44d,_0x7f615f=_0x20019d[_0x5477f5(0x274)]-0x1,_0x25c099;_0x7f615f>=0x0;_0x7f615f--)(_0x25c099=_0x20019d[_0x7f615f])&&(_0x2cbf03=_0x25c099(_0x2cbf03)||_0x2cbf03);return _0x2cbf03;},_0x14322a=(_0x34ceba,_0x3538e0)=>(_0x4879ec,_0x26eb5b)=>_0x3538e0(_0x4879ec,_0x26eb5b,_0x34ceba);let _0x47fffb=class extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(_0x23609f,_0x1ea0bd,_0xce414){const _0x105aae=_0x4ff2ee;super(),_0x3f28ac(this,'_cachedData',new Map()),_0x3f28ac(this,_0x105aae(0x2f3),new Map()),_0x3f28ac(this,_0x105aae(0x2d1),!0x1),(this[_0x105aae(0x24e)]=_0x23609f,this[_0x105aae(0x454)]=_0x1ea0bd,this[_0x105aae(0x29b)]=_0xce414);}[_0x4ff2ee(0x226)](){const _0x3c9294=_0x4ff2ee;this[_0x3c9294(0x2d1)]=!0x0;}['enableLocalCache'](){const _0x31138f=_0x4ff2ee;this[_0x31138f(0x2d1)]=!0x1;}get[_0x4ff2ee(0x41b)](){const _0x175f0b=_0x4ff2ee;return this[_0x175f0b(0x2f3)];}['dispose'](){const _0x2c165d=_0x4ff2ee;this[_0x2c165d(0x2d2)]()['then'](()=>super[_0x2c165d(0x462)]());}async[_0x4ff2ee(0x29e)](_0x4c2026){const _0x27679c=_0x4ff2ee;return this['_disabled']?null:this[_0x27679c(0x454)][_0x27679c(0x31d)](_0x2e0918['getLocalCacheKey'](_0x4c2026));}async[_0x4ff2ee(0x29d)](_0xb8af2a,_0x5a32f6){return!!this['_localStorageService']['setItem'](_0xb8af2a,_0x5a32f6);}[_0x4ff2ee(0x22c)](_0x24f753,_0x272d95,_0x4380d3,_0x3aec0f){const _0x493a63=_0x4ff2ee,_0x251c20=this[_0x493a63(0x29b)][_0x493a63(0x2e7)](_0x24f753);this[_0x493a63(0x2a8)][_0x493a63(0x48a)](_0x24f753,{'unitID':_0x24f753,'type':_0x272d95,'awaitingChangeset':_0x4380d3,'mutations':_0x3aec0f,'rev':_0x251c20}),this['_saveTaskMap']['has'](_0x24f753)||this[_0x493a63(0x261)](_0x24f753);}[_0x4ff2ee(0x261)](_0x1d3064){const _0x252e6c=_0x4ff2ee,_0x5438e1=this[_0x252e6c(0x3b4)]();_0x5438e1===0x0?this[_0x252e6c(0x2f7)](_0x1d3064):this[_0x252e6c(0x2f3)][_0x252e6c(0x48a)](_0x1d3064,setTimeout(()=>this[_0x252e6c(0x2f7)](_0x1d3064),_0x5438e1));}[_0x4ff2ee(0x3b4)](){const _0x200855=_0x4ff2ee;var _0xd66fc3;return(_0xd66fc3=this[_0x200855(0x24e)][_0x200855(0x1fd)](_0x2e0918[_0x200855(0x370)]))!=null?_0xd66fc3:_0x2e0918[_0x200855(0x268)];}[_0x4ff2ee(0x2f7)](_0x313321){const _0x34e306=_0x4ff2ee,_0x2cb7d1=this['_saveTaskMap'][_0x34e306(0x35f)](_0x313321);return _0x2cb7d1!==void 0x0&&window['clearTimeout'](_0x2cb7d1),this[_0x34e306(0x454)]['setItem'](_0x2e0918[_0x34e306(0x3e4)](_0x313321),this[_0x34e306(0x2a8)][_0x34e306(0x35f)](_0x313321))['then'](()=>this['_saveTaskMap'][_0x34e306(0x3dd)](_0x313321));}async[_0x4ff2ee(0x2d2)](){const _0x1c3aaf=_0x4ff2ee,_0x42ba11=[];this[_0x1c3aaf(0x2f3)]['forEach']((_0x3062af,_0x5b7987)=>{const _0x175dae=_0x1c3aaf;window[_0x175dae(0x2b8)](_0x3062af),_0x42ba11['push'](this[_0x175dae(0x2f7)](_0x5b7987)[_0x175dae(0x3b6)](()=>{const _0x40b1fa=_0x175dae;this[_0x40b1fa(0x2f3)][_0x40b1fa(0x3dd)](_0x5b7987);}));}),await Promise[_0x1c3aaf(0x33a)](_0x42ba11);}};_0x47fffb=_0x3e4c14([_0x14322a(0x0,_0x4dc9d4[_0x4ff2ee(0x3f4)]),_0x14322a(0x1,_0x4dc9d4[_0x4ff2ee(0x368)]),_0x14322a(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x40f85d['RevisionService']))],_0x47fffb);class _0x28d7fd extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(){const _0x3e185c=_0x4ff2ee;super(),_0x3f28ac(this,_0x3e185c(0x461)),this[_0x3e185c(0x461)]=_0x488623[_0x3e185c(0x349)](window,_0x3e185c(0x43e))[_0x3e185c(0x2b9)](_0x488623['takeUntil'](this['dispose$']),_0x488623[_0x3e185c(0x2ea)](0x1),_0x488623[_0x3e185c(0x432)](void 0x0));}['setParam'](_0x5eb1df,_0x51f5aa,_0x5133f2=!0x1){const _0x34a35d=_0x4ff2ee,_0x10da91=new URL(window[_0x34a35d(0x467)][_0x34a35d(0x209)]);_0x10da91[_0x34a35d(0x2d0)]['set'](_0x5eb1df,_0x51f5aa),_0x5133f2?window[_0x34a35d(0x287)][_0x34a35d(0x1e2)]('','',_0x10da91[_0x34a35d(0x471)]()):window['history']['pushState']('','',_0x10da91['toString']());}[_0x4ff2ee(0x40e)](_0x2b416b,_0x438c04=!0x1){const _0x4eebf3=_0x4ff2ee,_0x25e291=new URL(window[_0x4eebf3(0x467)][_0x4eebf3(0x209)]);_0x25e291['searchParams']['delete'](_0x2b416b),_0x438c04?window[_0x4eebf3(0x287)][_0x4eebf3(0x1e2)]('','',_0x25e291[_0x4eebf3(0x471)]()):window['history'][_0x4eebf3(0x31e)]('','',_0x25e291[_0x4eebf3(0x471)]());}[_0x4ff2ee(0x2cb)](_0x83ecfe){const _0x5605f3=_0x4ff2ee;var _0x43cb60;return(_0x43cb60=new URL(window[_0x5605f3(0x467)]['href'])[_0x5605f3(0x2d0)][_0x5605f3(0x35f)](_0x83ecfe))!=null?_0x43cb60:void 0x0;}}var _0x4ab46a=Object[_0x4ff2ee(0x342)],_0x4dcc2d=Object[_0x4ff2ee(0x304)],_0x1fe1a2=(_0x37b954,_0x2d2274,_0x5be0c8)=>_0x2d2274 in _0x37b954?_0x4ab46a(_0x37b954,_0x2d2274,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5be0c8}):_0x37b954[_0x2d2274]=_0x5be0c8,_0x2fff31=(_0x457476,_0x3378c1,_0x4a1898,_0x365206)=>{const _0x1f4ad4=_0x4ff2ee;for(var _0x4b5ca6=_0x365206>0x1?void 0x0:_0x365206?_0x4dcc2d(_0x3378c1,_0x4a1898):_0x3378c1,_0x374baf=_0x457476[_0x1f4ad4(0x274)]-0x1,_0x103b67;_0x374baf>=0x0;_0x374baf--)(_0x103b67=_0x457476[_0x374baf])&&(_0x4b5ca6=_0x103b67(_0x4b5ca6)||_0x4b5ca6);return _0x4b5ca6;},_0x36c6f6=(_0x2955ef,_0x136e45)=>(_0x1a1394,_0x24af0b)=>_0x136e45(_0x1a1394,_0x24af0b,_0x2955ef),_0x42f150=(_0x3e1ea5,_0x208186,_0xf54489)=>_0x1fe1a2(_0x3e1ea5,_0x208186+'',_0xf54489);const _0x3047fe=_0x4ff2ee(0x3ae);_0x5077fe[_0x4ff2ee(0x38f)]=class extends _0x4dc9d4[_0x4ff2ee(0x320)]{constructor(_0x5c5f9f=_0x2b26f6,_0x166f8d,_0x591b0a,_0x1a1c28){const _0x4ff22f=_0x4ff2ee;super(),this[_0x4ff22f(0x417)]=_0x5c5f9f,this[_0x4ff22f(0x355)]=_0x166f8d,this[_0x4ff22f(0x406)]=_0x591b0a,this[_0x4ff22f(0x24e)]=_0x1a1c28;const {..._0x7edbcf}=_0x4dc9d4['merge']({},_0x2b26f6,this['_config']);this[_0x4ff22f(0x24e)][_0x4ff22f(0x2e4)](_0x17194e,_0x7edbcf);}[_0x4ff2ee(0x1ea)](){const _0x3b32f=_0x4ff2ee;this[_0x3b32f(0x2de)](),this[_0x3b32f(0x434)]();}[_0x4ff2ee(0x484)](){const _0x1051d0=_0x4ff2ee;this[_0x1051d0(0x31c)]();}[_0x4ff2ee(0x2de)](){const _0x1f66e3=_0x4ff2ee;var _0x3af02a;const _0x314546=[[_0x278cb7],[_0x2cabd2],[_0x25a528],[_0x4afb2b],[_0x36f2dc],[_0x46655e],[_0x4d3f49,{'useClass':_0x28d7fd}],[_0x4efdde[_0x1f66e3(0x302)],{'useClass':_0x4efdde['WebSocketService']}],[_0x2e0918['ILocalCacheService'],{'useClass':_0x47fffb}],[_0x5077fe['DesktopCollaborationStatusDisplayController']],[_0x33302a],[_0x113c29],[_0x34079f],[_0x397ffc],[_0x5077fe[_0x1f66e3(0x3df)]]];_0x4dc9d4[_0x1f66e3(0x314)](this[_0x1f66e3(0x406)],_0x4dc9d4[_0x1f66e3(0x2db)](_0x314546,(_0x3af02a=this[_0x1f66e3(0x417)])==null?void 0x0:_0x3af02a[_0x1f66e3(0x402)]));}[_0x4ff2ee(0x31c)](){const _0x3cefd1=_0x4ff2ee;this[_0x3cefd1(0x466)](this[_0x3cefd1(0x355)][_0x3cefd1(0x32b)](_0x4dc9d4[_0x3cefd1(0x35a)][_0x3cefd1(0x340)],[_0x4db7f9])),this[_0x3cefd1(0x466)](this[_0x3cefd1(0x355)]['registerRenderModule'](_0x4dc9d4['UniverInstanceType'][_0x3cefd1(0x380)],[_0x5b2dfc]));}[_0x4ff2ee(0x434)](){const _0x28b328=_0x4ff2ee;_0x4dc9d4[_0x28b328(0x43f)](this[_0x28b328(0x406)],[[_0x34079f],[_0x5077fe[_0x28b328(0x44b)]],[_0x33302a],[_0x113c29],[_0x5077fe[_0x28b328(0x3df)]],[_0x2cabd2]]);}},_0x42f150(_0x5077fe['UniverCollaborationClientUIPlugin'],_0x4ff2ee(0x264),_0x3047fe),_0x5077fe[_0x4ff2ee(0x38f)]=_0x2fff31([_0x4dc9d4['DependentOn'](_0x2e0918[_0x4ff2ee(0x3eb)]),_0x36c6f6(0x1,_0x37167b[_0x4ff2ee(0x312)]),_0x36c6f6(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x419)])),_0x36c6f6(0x3,_0x4dc9d4['IConfigService'])],_0x5077fe['UniverCollaborationClientUIPlugin']);var _0x30afc9=Object[_0x4ff2ee(0x304)],_0x423fad=(_0x1e1b86,_0x4f3466,_0x59ed1f,_0x44bcb8)=>{const _0x5b0193=_0x4ff2ee;for(var _0x7143f5=_0x44bcb8>0x1?void 0x0:_0x44bcb8?_0x30afc9(_0x4f3466,_0x59ed1f):_0x4f3466,_0xad3385=_0x1e1b86[_0x5b0193(0x274)]-0x1,_0x497822;_0xad3385>=0x0;_0xad3385--)(_0x497822=_0x1e1b86[_0xad3385])&&(_0x7143f5=_0x497822(_0x7143f5)||_0x7143f5);return _0x7143f5;},_0x407467=(_0x12d0fd,_0x3cfd91)=>(_0x47631c,_0x1cb818)=>_0x3cfd91(_0x47631c,_0x1cb818,_0x12d0fd);_0x5077fe[_0x4ff2ee(0x332)]=class extends _0x2e0918[_0x4ff2ee(0x385)]{constructor(_0x5971f1,_0x247b43,_0x8e12d0,_0x1eff57,_0x3a4c05){super(_0x5971f1,_0x247b43,_0x8e12d0,_0x1eff57,_0x3a4c05);}async[_0x4ff2ee(0x2fc)](_0x141640){const _0x55629f=_0x4ff2ee,_0x3690ed=await this[_0x55629f(0x234)](),_0x552137=this[_0x55629f(0x231)](_0x141640,_0x3690ed);return this[_0x55629f(0x483)](_0x552137);}[_0x4ff2ee(0x231)](_0x5a660d,_0x3a77bb){const _0x48aa43=_0x4ff2ee,_0x2d6097=typeof window>'u'?new URL(_0x5a660d):new URL(_0x5a660d,window['location'][_0x48aa43(0x3e5)]);_0x2d6097[_0x48aa43(0x2d0)][_0x48aa43(0x48a)]('sessionTicket',_0x3a77bb);const _0x4d2474=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x4d2474['get'](_0x48aa43(0x2be))&&_0x2d6097['searchParams'][_0x48aa43(0x48a)]('runId',_0x4d2474[_0x48aa43(0x35f)](_0x48aa43(0x2be))),_0x2d6097[_0x48aa43(0x471)]();}async[_0x4ff2ee(0x234)](){const _0x292f78=_0x4ff2ee;var _0x542d1b,_0x302def,_0x3db1b1;const _0x4009ce=this[_0x292f78(0x24e)][_0x292f78(0x1fd)](_0x2e0918['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x27a962=(_0x542d1b=_0x4009ce==null?void 0x0:_0x4009ce['wsSessionTicketUrl'])!=null?_0x542d1b:_0x2e0918['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3db1b1=(_0x302def=(await this[_0x292f78(0x40b)][_0x292f78(0x35f)](_0x27a962,{'headers':{'Content-Type':'application/json'}}))[_0x292f78(0x35b)])==null?void 0x0:_0x302def[_0x292f78(0x2ae)])!=null?_0x3db1b1:'';}},_0x5077fe[_0x4ff2ee(0x332)]=_0x423fad([_0x407467(0x0,_0x4dc9d4['Inject'](_0x4dc9d4[_0x4ff2ee(0x419)])),_0x407467(0x1,_0x4dc9d4['Inject'](_0x4efdde[_0x4ff2ee(0x3e2)])),_0x407467(0x2,_0x4dc9d4[_0x4ff2ee(0x3f4)]),_0x407467(0x3,_0x4dc9d4[_0x4ff2ee(0x47b)]),_0x407467(0x4,_0x40f85d[_0x4ff2ee(0x3c2)])],_0x5077fe[_0x4ff2ee(0x332)]);var _0x36c769=Object[_0x4ff2ee(0x304)],_0x4cc44a=(_0x45339f,_0x239f4b,_0x3d060f,_0x2536e3)=>{const _0x1de8da=_0x4ff2ee;for(var _0x3b350d=_0x2536e3>0x1?void 0x0:_0x2536e3?_0x36c769(_0x239f4b,_0x3d060f):_0x239f4b,_0x3a9274=_0x45339f[_0x1de8da(0x274)]-0x1,_0xb4ae12;_0x3a9274>=0x0;_0x3a9274--)(_0xb4ae12=_0x45339f[_0x3a9274])&&(_0x3b350d=_0xb4ae12(_0x3b350d)||_0x3b350d);return _0x3b350d;},_0x28e3bd=(_0x1ae264,_0x5a6cae)=>(_0x12560b,_0x3c3bcf)=>_0x5a6cae(_0x12560b,_0x3c3bcf,_0x1ae264);_0x5077fe['RemoteUniscriptService']=class extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(_0x1b5679,_0x1bed99,_0x3a2a4a){const _0x26f900=_0x4ff2ee;super(),this[_0x26f900(0x20c)]=_0x1b5679,this['_httpService']=_0x1bed99,this[_0x26f900(0x24e)]=_0x3a2a4a;}async['runOnServer'](_0x39c5a9,_0x4338db,_0x5e7b46,..._0x4cd979){const _0x21acc8=_0x4ff2ee;var _0x3536eb,_0x280794,_0x4677de,_0x534cb0;const _0x2b1da0=this['_instanceService'][_0x21acc8(0x29c)]();if(!_0x2b1da0)throw new Error(_0x21acc8(0x3dc));const _0x4fb185=((_0x3536eb=this[_0x21acc8(0x24e)][_0x21acc8(0x1fd)](_0x2e0918['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3536eb:_0x2e0918[_0x21acc8(0x3d4)])+'/'+_0x39c5a9+_0x21acc8(0x43c)+_0x4338db,_0x5b19fc=new URL(window[_0x21acc8(0x467)][_0x21acc8(0x209)]),_0x3b2100={'scriptId':_0x39c5a9,'runId':(_0x280794=_0x5b19fc[_0x21acc8(0x2d0)][_0x21acc8(0x35f)](_0x21acc8(0x2be)))!=null?_0x280794:'','function':_0x4338db,'unitId':_0x2b1da0[_0x21acc8(0x249)](),'argsOfFunction':JSON['stringify'](_0x4cd979),'invokeId':(_0x4677de=_0x5e7b46[_0x21acc8(0x47f)])!=null?_0x4677de:'','executionId':(_0x534cb0=_0x5e7b46[_0x21acc8(0x451)])!=null?_0x534cb0:''};try{const _0x24ecef=await this['_httpService'][_0x21acc8(0x1ef)](_0x4fb185,{'body':_0x3b2100});return _0x24ecef[_0x21acc8(0x35b)][_0x21acc8(0x405)]&&_0x24ecef['body'][_0x21acc8(0x405)][_0x21acc8(0x388)]!==_0xe4b39a['OK']?_0x21acc8(0x376):_0x24ecef[_0x21acc8(0x35b)]['result'];}catch{return _0x21acc8(0x376);}}},_0x5077fe[_0x4ff2ee(0x498)]=_0x4cc44a([_0x28e3bd(0x0,_0x4dc9d4[_0x4ff2ee(0x490)]),_0x28e3bd(0x1,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4efdde[_0x4ff2ee(0x3e2)])),_0x28e3bd(0x2,_0x4dc9d4[_0x4ff2ee(0x3f4)])],_0x5077fe[_0x4ff2ee(0x498)]);const _0xa20996=0x7530,_0x443319=_0x4ff2ee(0x44a);class _0x93b57e extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(){const _0x4a3c07=_0x4ff2ee;super(),_0x3f28ac(this,'_id',_0x4dc9d4[_0x4a3c07(0x2c9)]()),_0x3f28ac(this,_0x4a3c07(0x2b2),new Set()),_0x3f28ac(this,'_unitOnClients',new Map()),_0x3f28ac(this,_0x4a3c07(0x1e3),null),_0x3f28ac(this,_0x4a3c07(0x3b3),new Map()),_0x3f28ac(this,_0x4a3c07(0x409),new Map()),this[_0x4a3c07(0x475)]();}[_0x4ff2ee(0x462)](){const _0x2f1672=_0x4ff2ee;super[_0x2f1672(0x462)](),this['_clearOtherTimers']['forEach']((_0x25f94d,_0x3c1080)=>this[_0x2f1672(0x23a)](_0x3c1080)),this[_0x2f1672(0x1e3)]&&window[_0x2f1672(0x269)](this[_0x2f1672(0x1e3)]);}[_0x4ff2ee(0x496)](_0x96d6d6){const _0x8c035=_0x4ff2ee;return this[_0x8c035(0x1eb)](_0x96d6d6)['pipe'](_0x488623[_0x8c035(0x2dd)]());}[_0x4ff2ee(0x364)](_0x2aa9f2){const _0x573014=_0x4ff2ee;this[_0x573014(0x2b2)][_0x573014(0x200)]===0x0&&this['_scheduleHeartbeat'](),this[_0x573014(0x2b2)][_0x573014(0x3c8)](_0x2aa9f2),this[_0x573014(0x39d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2aa9f2],'isForwarded':!0x1});}[_0x4ff2ee(0x2ef)](_0x3bd9da){const _0x5437d2=_0x4ff2ee;this[_0x5437d2(0x2b2)][_0x5437d2(0x3dd)](_0x3bd9da),this['_selfUnitIDs']['size']===0x0&&this[_0x5437d2(0x1e3)]&&window[_0x5437d2(0x269)](this[_0x5437d2(0x1e3)]);}['_init'](){const _0x55cba8=_0x4ff2ee;this['disposeWithMe'](_0x4dc9d4[_0x55cba8(0x2eb)](_0x488623[_0x55cba8(0x349)](window,_0x55cba8(0x248))[_0x55cba8(0x292)](_0x46431f=>{const _0x4f0677=_0x55cba8;if(_0x46431f[_0x4f0677(0x36b)]!==_0x443319||!_0x46431f[_0x4f0677(0x307)])return;const _0x162fee=JSON[_0x4f0677(0x3a7)](_0x46431f[_0x4f0677(0x307)]);this[_0x4f0677(0x21a)](_0x162fee);}))),window[_0x55cba8(0x362)]('unload',()=>this[_0x55cba8(0x39d)]({'type':0x1,'memberID':this[_0x55cba8(0x293)],'unitIDs':Array[_0x55cba8(0x2c1)](this[_0x55cba8(0x2b2)])}));}[_0x4ff2ee(0x21a)](_0x3ef343){const _0x38568c=_0x4ff2ee;switch(_0x3ef343[_0x38568c(0x308)]){case 0x0:this[_0x38568c(0x404)](_0x3ef343);break;case 0x1:this[_0x38568c(0x28c)](_0x3ef343);break;case 0x2:this[_0x38568c(0x2b0)](_0x3ef343);break;}}[_0x4ff2ee(0x404)](_0x5c231c){const _0xa1ff34=_0x4ff2ee,{unitIDs:_0x2554c6,memberID:_0x5ef7e3,isForwarded:_0x5352b1}=_0x5c231c;_0x2554c6[_0xa1ff34(0x426)](_0x364929=>{const _0x135091=_0xa1ff34;if(!_0x5352b1&&this['_unitOnClients'][_0x135091(0x477)](_0x364929)&&this[_0x135091(0x1eb)](_0x364929)[_0x135091(0x474)](_0x2e0918[_0x135091(0x297)][_0x135091(0x357)]),!this[_0x135091(0x238)][_0x135091(0x477)](_0x364929)||!this[_0x135091(0x238)]['get'](_0x364929)[_0x135091(0x477)](_0x5ef7e3)){const _0x402dec=this[_0x135091(0x238)]['get'](_0x364929)||new Set();_0x402dec['add'](_0x5ef7e3),this[_0x135091(0x238)]['set'](_0x364929,_0x402dec),this[_0x135091(0x1d6)](_0x5ef7e3);}}),_0x5352b1||this[_0xa1ff34(0x39d)]({'type':0x0,'memberID':this[_0xa1ff34(0x293)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4ff2ee(0x1d6)](_0x27c29e){const _0x1c7046=_0x4ff2ee;this[_0x1c7046(0x23a)](_0x27c29e);const _0x2c6dae=window[_0x1c7046(0x305)](()=>{const _0x562cef=_0x1c7046;this[_0x562cef(0x238)][_0x562cef(0x426)](_0x2cdd36=>{const _0xf082ce=_0x562cef;_0x2cdd36[_0xf082ce(0x3dd)](_0x27c29e);});},_0xa20996*0x2);this[_0x1c7046(0x3b3)][_0x1c7046(0x48a)](_0x27c29e,_0x2c6dae);}[_0x4ff2ee(0x23a)](_0x3e3aa0){const _0x14b0d8=_0x4ff2ee;if(this['_clearOtherTimers'][_0x14b0d8(0x477)](_0x3e3aa0)){const _0x3bcb1e=this[_0x14b0d8(0x3b3)]['get'](_0x3e3aa0);_0x3bcb1e&&window['clearTimeout'](_0x3bcb1e),this[_0x14b0d8(0x3b3)][_0x14b0d8(0x48a)](_0x3e3aa0,null);}}[_0x4ff2ee(0x28c)](_0x363f9d){const _0x4dc114=_0x4ff2ee,{memberID:_0x542dcb,unitIDs:_0x36520b}=_0x363f9d;_0x36520b[_0x4dc114(0x426)](_0x4b58a3=>{const _0x56d5d9=_0x4dc114;var _0x450156;const _0x7e252d=this[_0x56d5d9(0x238)][_0x56d5d9(0x35f)](_0x4b58a3);_0x7e252d&&(_0x7e252d['delete'](_0x542dcb),(_0x450156=this[_0x56d5d9(0x1eb)](_0x4b58a3))==null||_0x450156[_0x56d5d9(0x474)](_0x7e252d['size']===0x0?_0x2e0918[_0x56d5d9(0x297)][_0x56d5d9(0x224)]:_0x2e0918[_0x56d5d9(0x297)][_0x56d5d9(0x357)]));}),this[_0x4dc114(0x23a)](_0x542dcb);}[_0x4ff2ee(0x2b0)](_0x23c5a6){const _0x50e833=_0x4ff2ee;this[_0x50e833(0x1d6)](_0x23c5a6['memberID']);}['_send'](_0x3f6fab){const _0x27bb4e=_0x4ff2ee;localStorage[_0x27bb4e(0x45f)](_0x443319,JSON[_0x27bb4e(0x2c8)](_0x3f6fab));}[_0x4ff2ee(0x32a)](){const _0x12fd68=_0x4ff2ee;this[_0x12fd68(0x1e3)]=window[_0x12fd68(0x2c2)](()=>{const _0x3b6071=_0x12fd68;this[_0x3b6071(0x39d)]({'type':0x2,'memberID':this[_0x3b6071(0x293)]});},_0xa20996);}[_0x4ff2ee(0x1eb)](_0x7c0743){const _0x7c5c59=_0x4ff2ee;return this[_0x7c5c59(0x409)][_0x7c5c59(0x477)](_0x7c0743)||this['_unitStatus'][_0x7c5c59(0x48a)](_0x7c0743,new _0x488623['BehaviorSubject'](_0x2e0918[_0x7c5c59(0x297)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x7c5c59(0x409)]['get'](_0x7c0743);}}_0x5077fe['IURLService']=_0x4d3f49,_0x5077fe['SheetCollabCursorShape']=_0x3ffa84,_0x5077fe[_0x4ff2ee(0x2c7)]=_0x93b57e,_0x5077fe['WebURLService']=_0x28d7fd,Object['defineProperty'](_0x5077fe,Symbol['toStringTag'],{'value':_0x4ff2ee(0x1c8)});}));function _0x416b(){const _0x3eb07f=['clipPath','imageSourceType','fromEvent','tag','toRgbString','onTransformChange$','handleInsertRow','fillRule','isActive','setStateCache','InsertRangeMoveRightCommandId','UniverCore','0\x200\x2017\x2016','filter','_renderManagerService','getUndoRedoMutationParamsCache','OTHER_CLIENTS_EDITING','_setupSubUnitSync','getRenderById','UniverInstanceType','body','collaboration.closeRoom','_commandService','children','get','EMAIL_VERIFY_CODE_MISMATCH','React','addEventListener','color','editingUnit','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','SessionStatus','REDEMPTION_CODE_FULLY_REDEEMED','ILocalStorageService','_imageIoService','rgba(255,\x20255,\x20255,\x200.01)','key','doc.mutation.rich-text-editing','_onCursorDelete','data','unshift','LOCAL_CACHE_INTERVAL_KEY','react','onPointerLeave$','PERMISSION_DENIED','_docSyncEditingCollabCursorService','MOBILE_VERIFY_CODE_MISMATCH','Failed','eventID','addObject','getSheetObject','off-line-icon_clip0_910_343','ThemeService','getSheetId','getRelativeToViewportCoord','asObservable','_hover','UNIVER_SHEET','cursorInfo$','getTypeOfUnitAdded$','#FFF','Vector2','CollaborationSocketService','selection','collaboration.single-unit.warning','code','requireSession','DocCollaborationEntity','INVALID_ARGUMENT','_cursorInfo$','_setupBeforeClosingHandler','SetWorksheetActivateCommand','UniverCollaborationClientUIPlugin','univer-flex\x20univer-items-center','COMPLETION_FINISHED','YUUMI_UNABLE_LOAD_URL','fromEventSubject','1em','makeDirty','ICommandService','throttleTime','SetTextSelectionsOperation','BuiltInUIPart','collabCursorState$','_entities','COLORS','_send','ENTITLE_CHAT_LIMIT_EXCEED','currentColor','currentSkeleton$','symbol','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_transformUndoRedoStack','_scene','OffLineIcon','collab-text-range-','parse','hovered','INVITE_CODE_REQUIRED','complete','map','Error','collab-text-anchor-','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_applyCommand','unsubscribe','UniverNetwork','startColumn','_clearOtherTimers','_getSaveTimeout','svg','then','now','Workbook','collabStatus.fetchMiss','replace','@univerjs-pro/collaboration','YUUMI_URL_COL_OUT_OF_RANGE','undoState','MOBILE_HAS_BEEN_BOUND','_docTransformIMECacheService','_labelPosition','handleIRemoveCol','ISnapshotServerService','transform','_context','onPointerEnter$','m1Prime','dirtyRanges','add','subUnitId','syncEditingCollabCursor','RemoveRowCommandId','_transformService','IUIPartsService','collab-rect-range-','getViewport','useDependency','triggerDblclick','_handleHover','_lastResponseTimestamp','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','push','evenodd','getMemberID','?taskId=','Rectangle','getCoordByCell','_pollingInterval','[RemoteUniscriptService]:\x20no\x20focused\x20unit','delete','NOT_COLLAB','CollaborationDataLoaderController','CONFLICT','entries','HTTPService','transformRemoteChangeset','getLocalCacheKey','origin','OnLineIcon','name','ranges','hide','transformStateCache','UniverCollaborationClientPlugin','resize','getCollabCursors$','getOffsetConfig','_hideTimer','engine','onLocalMutation','_collabCursorController','contains','IConfigService','TEXT','createIdentifier','startsWith','CONNECTOR_DATA_TOO_LARGE','handleDeleteRangeMoveLeft','random','_initResize','collabStatus.conflict','runRefRangeMutations','DocSkeletonManagerService','textRanges','rxjs','_getSheetObject','override','_logService','_handleJoinEvent','error','_injector','current','_initCommandExecutedListener','_unitStatus','_univerInstanceService','_httpService','jsx','_clearPolling','removeParam','defs','subscribeEvent','init','LICENSE_EXPORT_SIZE_EXCEEDED','black','status$','_refreshCollabCursors','INVALID_INVITE_CODE','_config','getMember','Injector','path','saveTaskMap','InsertRowCommandId','onMouseMove','_initEvent','with','yellow.400','forwardRef','_toggleOffline','@univerjs/network','_releaseCalculationLimit','stageInfo','forEach','debug','_themeService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setUndoRedoMutationParamsCache','fillText','transformSelections','CURRENT_STATUS_CANNOT_OPERATE','REDEMPTION_USER_NOT_ELIGIBLE','CommandType','_drawTextRange','...','mapTo','DeleteRangeMoveLeftCommandId','_initDependencies','REDEMPTION_CODE_NOT_STARTED','_lastPointer','functionsExecutedState','BehaviorSubject','CollaborationUIEventId','_urlService','endColumn','/run/','SUCCESS','popstate','touchDependencies','_showGuardMessage','_hasFormulaInDirtyRanges','3356eupBkh','ENSURE_SNAPSHOT_EXECUTION','getSkeleton','NOT_FOUND','attrs','MemberService','SUBMIT_CHANGESET_TIMEOUT','isFormulaString','ACTIVE_UNIT_EVENT_CHANNEL','DesktopCollaborationStatusDisplayController','_assignedColors','url(#on-line-icon_clip0_910_349)','27843350dGWBaY','_shapes','measureText','executionId','@univerjs/engine-render','CollaborationSessionService','_localStorageService','_collabCursorState$','SOCKET_FAILED','switchMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','currentUsage','InsertColCommandId','flatMap','transformMutationsWithChangeset','@univerjs/core','getTypeOfUnitDisposed$','setItem','getRangePointData','urlChange$','dispose','getCellMatrix','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','Tools','disposeWithMe','location','ENTITLE_REPORT_LIMIT_EXCEED','@univerjs/engine-formula','_localCacheService','getColor','_anchor','AUTHORIZE_CODE_ILLEGAL','IBeforeCloseService','defIds','unitId','toString','onCommandExecuted','CollaborationUIEventService','next','_init','width','has','getActiveSheet','source','UNRECOGNIZED','ILogService','_removeCollabCursors','arc','ENTITLE_INSUFFICIENT_QUOTA','invokeId','setAlpha','YUUMI_AI_RUN_FAILED','_updateURLWithCurrentState','_doCreateSocket','onRendered','subunit','APPLY_DUPLICATED','2483785KTjwkc','parseInt','UniverUi','set','_range','div','NodePositionConvertToCursor','ENTITLE_DUP_SUBSCRIPTION','_getMergeRange','IUniverInstanceService','jsxs','getSheetBySheetId','getMergeData','permission.content','_collaborationUIEventService','getUnitStatus$','_online','RemoteUniscriptService','react/jsx-runtime','restore','USER_IS_ANONYMOUS','useObservable','OFFLINE','SheetsSelectionsService','selections','Module','@univerjs/sheets-ui','8kYtMIa','RxDisposable','UniverDesign','loadUnit','colorChannel1','debounceTime','collaboration-client.offline-data-not-saved','YUUMI_RATE_OVER_LIMIT','takeUntil','RefRangeService','http://www.w3.org/2000/svg','/universer-api/license/formula/limit/status','_scheduleClearOtherTimer','dispose$','_transformHistoryAndStateStack','_startCalculationLimit','INVITE_CODE_ALREADY_BOUND','getStateCache','top','TRANSFORM_CHANGE_OBSERVABLE_TYPE','EffectRefRangId','combineLatest','Subject','getDocRanges','replaceState','_heartbeatTimer','session.collaboration-timeout','OTHER_CLIENT_EDITING','_colorAssignService','FromArray','CLOSE_ROOM','IMessageService','onStarting','_ensureSubject','getVpScrollXYInfoByPosToVp','ITransformService','green.600','post','REDEMPTION_INVALID_CODE','_onCursorUpdate','_render','YUUMI_NO_CUBOID_FOR_QUESTION','debounce','LOGIN_TOKEN_PROCESSING_FAILED','_toggleOnline','getUniverSheetInstance','substring','_transformPreviousActiveRange','registerRefRange','handleMoveRange','formula.calculation.unable','getConfig','UniverProCollaborationClientUi','INTERNAL_ERROR','size','IRemoteInstanceService','_colorIndex','_onRefRangeChange','Tooltip','sheetID','_anchorDot','getformulaLimitStatusUrl','handleDeleteRangeMoveUp','href','Inject','addObjects','_instanceService','_entityInit$','@univerjs/drawing','onPointerMove$','9bXzQsO','m2Prime','ERROR_AGAIN','_localeService','INotificationService','Rect','rxjs/operators','@univerjs/rpc','univerjs-icon\x20univerjs-icon-','UniverProCollaborationClient','_handleEvent','serializeRangeWithSheet','skeleton','DocIMEInputManagerService','trim','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','permission.title','getValue','UniverProCollaboration','_hovered','NO_OTHER_CLIENTS_EDITING','_taskIds','disableLocalCache','split','roomMembers','_sheetSkeletonManagerService','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_docTransformSelectionsService','updateOfflineData','includes','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_startSheetCollabCursor','getCellPositionByOffset','_createSocketURL','clsx','_cursors','_getSessionTicket','_drawRectRange','getUnhiddenWorksheets','sessionStatus$','_unitOnClients','@univerjs/design','_removeClearOtherTimer','DisposableCollection','_checkAndWaitForCalculationPermission','isArray','_checkCalculationAvailable','LocaleService','_setFormulaLimitStatus','FormulaExecutedStateType','SetFormulaCalculationStartMutation','TOO_MANY_REQUESTS','_docStateChangeManagerService','YUUMI_ASYNCIO_CANCELLED','_docTransformStateCacheService','/universer-api/license/formula/limit/start','storage','getUnitId','isTransformMutationFailure','deserializeRangeWithSheet','isTransformMutationsWithChangesetSuccess','_session','_configService','shift','bottom','closePath','none','_draw','on-line-icon_clip0_910_349','ONLINE','_docSkeletonManagerService','save','DeleteRangeMoveUpCommandId','unitID','event$','CollaborationEvent','UniverIcon','LICENSE_MAX_UNITS_EXCEEDED','fill','0\x200\x2016\x2016','whenReady','_scheduleSaving','isFormulaId','RECT','pluginName','ColorKit','column','_cursorShapes','LOCAL_CACHE_INTERVAL','clearInterval','row','2219060UoEEZg','_updateCollabCursors','deepClone','_cursor','drawWith','UniverEngineFormula','redoState','collab-client.tooltip.reconnect','UNAUTHENTICATED','length','EMAIL_HAS_BEEN_BOUND','collabStatus.synced','APPLY_NON_SEQUENTIAL_REVISION','_collaborationController','_notificationService','off-line-icon','_initCommandInterceptor','@univerjs/docs-ui','Warning','_initStatusComponent','_updateLocalCursor','_syncEditingCollabCursorService','RemoveColCommandId','docStateChange$','lineTo','min','CHANGESET_REVISION_CONFILICT','setShapeProps','history','RegularPolygon','endRow','use','startRow','_handleLeaveEvent','USERS_LEAVE','LICENSE_DISTRO_REJECTED','@univerjs/sheets','string','mask','subscribe','_id','ENTITLE_CAN_NOT_BUY_LOWER_OTP','PY_RUNTIME_SCRIPT_ERROR','_color','UnitStatus','MessageType','uni.network.url-service','/universer-api/license/formula/limit/done','_revisionService','getFocusedUnit','saveOfflineData','loadOfflineData','MUTATION','assignAColorForMemberID','CollaborationController','replaceDocRanges','url(#$1','xlink:href','LICENSE_IMPORT_SIZE_EXCEEDED','entityInit$','_getAnchorBounding','_cachedData','releaseFormulaLimitUrl','194339oaeBEI','Disposable','max','exports','ticket','DataLoaderService','_handleHeartbeatEvent','1375842ErLPSv','_selfUnitIDs','_updateSubUnitFromURLParams','@univerjs/ui','INVITE_CODE_HAS_BEEN_UES','object','collaboration-client-ui.config','clearTimeout','pipe','TEXT_RANGE_LAYER_INDEX','addHandlerCallback','_collabSessionService','activeSheet$','runId','setActiveRange','YUUMI_SUBSCRIPTION_NOT_FOUND','from','setInterval','registerBeforeClose','_messageService','Shape','handleInsertRangeMoveRight','WebBrowserSingleActiveUnitService','stringify','generateRandomId','SNAPSHOT_HAS_BEEN_REMOVED','getParam','purple.300','font','startFormulaLimitUrl','getColorFromTheme','searchParams','_disabled','exhaustSavingTask','range','getCurrentUnitForType','VIEW_MAIN','[CollaborationDataLoaderController]','_name','@univerjs/docs','PAYMENT_CHANNEL_NOT_SUPPORT','executeCommand','mergeOverrideWithDependencies','START_CALCULATION','distinctUntilChanged','_registerDependencies','ALREADY_EXISTS','mutations','SheetSkeletonManagerService','session.will-retry','handleInsertCol','setConfig','limitInfo','LOGIN_FAILED','getCurrentRevOfUnit','YUUMI_CONNECTOR_URL_NOT_FOUND','createElement','shareReplay','toDisposable','_memberService','params','UniverRpc','disposeUnit','APPLY_REVISION_CONFILICT','CollaborationStatus','_eventUnsubscribe','_saveTaskMap','amd','UNDEFINED','getCurrent','_saveCache','reconnect','cursorInfo','send','handleInsertRangeMoveDown','createSocket','sheetId','_status$','_dataLoaderService','transformMutation','height','ISocketService','displayName','getOwnPropertyDescriptor','setTimeout','_backgroundColor','newValue','type','idSuffix','DOC_RANGE_TYPE','getUnit','Optional','addClipboardHook','DocStateChangeManagerService','9289777RkkAvK','collabStatus.notCollab','moveTo','IRenderManagerService','ENTITLE_NEED_BILLING_ADDRESS','registerDependencies','text','_roomMembers$','setParam','_maxFormulaLimit','_beforeCloseService','APPLY_PERMISSION_DENIED','REDEMPTION_CODE_INACTIVE','_registerRenderDependencies','getItem','pushState','USER_NOT_FOUND','Plugin','values','UniverDocs','_docClipboardService','SetDocZoomRatioOperation','actions','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','2808gAhSeg','getActiveRange','YUUMI_ALL_TABLES_IS_INVALID','_scheduleHeartbeat','registerRenderModule','WECHAT_HAS_BEEN_BOUND','assign','isEditing','transformByState','round','currentTheme$','BrowserCollaborationSocketService','white','roomMembers$','Unknown\x20user','USER_NOT_INVITED_CODE','DocSelectionManagerService','Loading','_textBubble','all','_currentUsage','_refRangeService','IDocClipboardService','fillStyle','_getScale','UNIVER_DOC','findNodePositionByCharIndex','defineProperty','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','show','UPDATE_CURSOR','createInstance'];_0x416b=function(){return _0x3eb07f;};return _0x416b();}
|
|
1
|
+
function _0x1f5a(){const _0x58c3a3=['DeleteRangeMoveLeftCommandId','_entityInit$','all','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','dirtyRanges','_setFormulaLimitStatus','collaboration.single-unit.warning','pushState','SheetCollabCursorShape','with','_initResize','forEach','UniverProCollaborationClient','getDocRanges','TEXT_RANGE_LAYER_INDEX','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getformulaLimitStatusUrl','_draw','session.collaboration-timeout','m1Prime','restore','_heartbeatTimer','enableLocalCache','SHEET_VIEWPORT_KEY','ColorKit','TOO_MANY_REQUESTS','REDEMPTION_USER_REDEEM_TIMES_EXCEED','m2Prime','subscribeEvent','event$','_shapes','backgroundColor','error','addClipboardHook','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IConfigService','add','getMemberID','CollaborationStatus','PAYMENT_CHANNEL_NOT_SUPPORT','TEXT','flatMap','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','setShapeProps','unitId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','roomMembers$','SOCKET_FAILED_RETRY','_beforeCloseService','executeCommand','YUUMI_UNABLE_LOAD_URL','SetWorksheetActivateCommand','_unitStatus','IImageIoService','setTimeout','handleMoveRange','REDEMPTION_INVALID_CODE','distinctUntilChanged','collab-text-anchor-','Shape','/universer-api/license/formula/limit/done','switchMap','isFormulaId','bottom','getConfig','Workbook','removeParam','getValue','connectInjector','map','HTTPService','_scheduleClearOtherTimer','SheetSkeletonManagerService','Failed','_themeService','_roomMembers$','endColumn','getViewport','IRemoteInstanceService','handleInsertRangeMoveRight','getRelativeToViewportCoord','_showGuardMessage','Warning','unit','_ensureSubject','on-line-icon_clip0_910_349','registerRenderModule','_setupBeforeClosingHandler','UniverInstanceType','drawWith','_collabCursorState$','WebSocketService','data','substring','_applyCommand','AWAITING_WITH_PENDING','_hover','Injector','syncEditingCollabCursor','_startCalculationLimit','isEditing','_startSheetCollabCursor','_docTransformSelectionsService','parseInt','_drawAnchor','BuiltInUIPart','getCoordByCell','INVITE_CODE_REQUIRED','jsx','MOBILE_VERIFY_CODE_MISMATCH','pipe','CHANGESET_REVISION_CONFILICT','onStarting','ITransformService','_registerDependencies','_docSkeletonManagerService','386jLBjxN','attrs','1em','runOnServer','_eventUnsubscribe','IMessageService','handleDeleteRangeMoveLeft','_saveTaskMap','generateRandomId','startColumn','38706MnawPl','CollaborationController','text','USER_IS_ANONYMOUS','_clearPolling','OTHER_CLIENT_EDITING','UniverDrawing','width','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','fromEventSubject','@univerjs-pro/collaboration-client','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_assignedColors','EffectRefRangId','APPLY_NON_SEQUENTIAL_REVISION','_updateURLWithCurrentState','APPLY_REJECT','debounceTime','popstate','EMAIL_HAS_BEEN_BOUND','_config','subscribe','univer-mr-2\x20univer-flex\x20univer-text-xl','126fgQupp','_toggleOffline','WebURLService','@univerjs/sheets-ui','post','_startDocCollabCursor','ALREADY_EXISTS','RemoteUniscriptService','@univerjs/sheets','getItem','CommandType','react/jsx-runtime','@univerjs/docs-ui','then','CollaborationDataLoaderController','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','releaseFormulaLimitUrl','registerBeforeClose','sheetID','svg','loadUnit','getCollabEntity$','_instanceService','YUUMI_NO_CUBOID_FOR_QUESTION','undoState','_pollingInterval','startsWith','addObjects','_getScale','function','throttleTime','UnitStatus','rxjs','1032zjDvRt','_anchor','React','application/json','YUUMI_SUBSCRIPTION_NOT_FOUND','_colorIndex','IURLService','M0\x200H16V16H0z','doc.mutation.rich-text-editing','collabCursorState$','_transformService','DesktopCollaborationStatusDisplayController','type','_init','transformRemoteChangeset','SOCKET_FAILED','USER_NOT_FOUND','INTERNAL_ERROR','exports','SetTextSelectionsOperation','_updateLocalCursor','ILogService','@univerjs/engine-formula','clipPath','useRef','complete','OTHER_CLIENTS_EDITING','CollaborationUIEventId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','name','round','Vector2','ONLINE','handleIRemoveRow','source','roomMembers','UNIVER_SHEET','DependentOn','red.300','_releaseCalculationLimit','location','UniverProCollaboration','CollaborationEvent','off-line-icon','useCallback','createSocket','1793jCJeRM','div','clearInterval','now','engine','APPLY_DUPLICATED','_clearOtherTimers','1927408qfoYQE','getOffsetConfig','DOC_RANGE_TYPE','@univerjs/ui','collabStatus.notCollab','RegularPolygon','dispose$','triggerDblclick','exhaustSavingTask','SessionStatus','send','collabStatus.offline','collab-text-range-','updateOfflineData','CollaborationSessionService','xlink:href','deepClone','Error','REDEMPTION_CODE_NOT_STARTED','_hovered','REDEMPTION_CODE_HAS_BEEN_CREATED','defIds','collaboration.closeRoom','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','LocaleService','forwardRef','UniverIcon','off-line-icon_clip0_910_343','_registerRenderDependencies','_initCommandInterceptor','_localCacheService','body','blue.400','REDEMPTION_CODE_INACTIVE','dispose','_dataLoaderService','UniverSheets','1146357ruyDiA','REDEMPTION_USER_NOT_ELIGIBLE','fromEvent','init','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','unsubscribe','ENTITLE_CHAT_LIMIT_EXCEED','use','show','Subject','ThemeService','_handleHeartbeatEvent','DATA_SOURCE_TOO_LARGE','UPDATE_CURSOR','takeUntil','_imageIoService','0\x200\x2016\x2016','CollaborationUIEventService','next','_commandService','fillStyle','override','code','setConfig','hide','ICommandService','_initStatusComponent','tag','measureText','_checkCalculationAvailable','contains','some','696BLpdPD','selections','@univerjs/docs','_lastResponseTimestamp','IDocClipboardService','_initDependencies','editingUnit','_collabSessionService','_drawRectRange','ranges','LICENSE_MAX_UNITS_EXCEEDED','column','UNDEFINED','ENTITLE_INSUFFICIENT_QUOTA','_revisionService','max','formula.calculation.waiting','maxFormulaLimit','getRenderById','_localeService','_initCommandExecutedListener','pluginName','REDEMPTION_CODE_FULLY_REDEEMED','_transformPreviousActiveRange','permission.title','disposeWithMe','_saveCache','size','beforeCommandExecuted','USER_NOT_INVITED_CODE','_urlService','FromArray','setParam','cursorInfo','_doCreateSocket','search','getUniverSheetInstance','getUnitStatus$','UniverProCollaborationClientUi','UniverUi','MoveRangeCommandId','RECT','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_ASYNCIO_CANCELLED','startRow','on-line-icon','_color','handleDeleteRangeMoveUp','_render','eventID','RxDisposable','_initEvent','sessionStatus$','NOT_FOUND','_messageService','Unknown\x20user','getCurrentUnitForType','_handleHover','getOwnPropertyDescriptor','IUniverInstanceService','DocCollaborationEntity','_onRefRangeChange','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','object','Inject','_docStateChangeManagerService','startFormulaLimitUrl','debug','textRanges','save','idSuffix','runRefRangeMutations','_logService','_univerInstanceService','path','getUnhiddenWorksheets','mask','_selfUnitIDs','none','PENDING','filter','DeleteRangeMoveUpCommandId','INVITE_CODE_HAS_BEEN_UES','cursorInfo$','_handleEvent','SetFormulaCalculationStartMutation','_drawTextRange','Disposable','displayName','getSheetId','subunit','ENTITLE_DUP_SUBSCRIPTION','white','_collaborationController','YUUMI_AI_RUN_FAILED','getSheetBySheetId','getVpScrollXYInfoByPosToVp','addEventListener','stageInfo','COLORS','getColorFromTheme','_hideTimer','_httpService','isActive','NOT_COLLAB','_name','UniverCollaborationClientPlugin','SYNCED','onPointerEnter$','_cursor','_notificationService','_removeClearOtherTimer','ISocketService','docStateChange$','_colorAssignService','_syncEditingCollabCursorService','transformMutation','parse','requireSession','runId','SNAPSHOT_INVALID_SNAPSHOT','toRgbString','mutations','height','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getMergeData','_id','COMPLETION_FINISHED','@univerjs/drawing','LOGIN_TOKEN_PROCESSING_FAILED','react','setAlpha','INotificationService','toDisposable','_docTransformIMECacheService','?taskId=','_send','_handleJoinEvent','transformIMECache','unitID','_createSocketURL','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','...','#FFF','_renderManagerService','session.will-retry','current','_removeCollabCursors','getAncestorScale','rxjs/operators','_getAnchorBounding','ERROR_AGAIN','getTypeOfUnitAdded$','merge','_updateSubUnitFromURLParams','split','onMouseMove','APPLY_PERMISSION_DENIED','getSkeleton','getMember','collaboration-client.offline-data-not-saved','transformSelections','MessageType','_maxFormulaLimit','asObservable','FormulaExecutedStateType','_collaborationUIEventService','defineProperty','_lastPointer','TRANSFORM_CHANGE_OBSERVABLE_TYPE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','YUUMI_URL_COL_OUT_OF_RANGE','_backgroundColor','http://www.w3.org/2000/svg','_sheetSkeletonManagerService','DEFAULT_WS_SESSION_TICKET_URL','_updateCollabCursors','UniverRpc','_getSaveTimeout','ENTITLE_REPORT_LIMIT_EXCEED','isTransformMutationFailure','font','invokeId','704pRhrFq','replace','_labelPosition','YUUMI_CONNECTOR_URL_NOT_FOUND','RefRangeService','makeDirty','setItem','/run/','_collabCursorController','permission.content','_disabled','createIdentifier','handleInsertRangeMoveDown','ISnapshotServerService','collabStatus.syncing','getUnit','getCollabCursors$','endRow','APPLY_REVISION_CONFILICT','shift','beginPath','_initStatusListener','shareReplay','_getSessionTicket','registerDependencies','arc','selection','INVITE_CODE_ALREADY_BOUND','get','_hasFormulaInDirtyRanges','assign','lineTo','ENTITLE_NEED_BILLING_ADDRESS','YUUMI_RATE_OVER_LIMIT','InsertColCommandId','delete','isTransformMutationsWithChangesetSuccess','_docSyncEditingCollabCursorService','univer-flex\x20univer-items-center','limitInfo','UniverCore','hovered','@univerjs/engine-render','history','min','useDependency','disposeUnit','_refRangeService','getUndoRedoMutationParamsCache','color','_initEntityListener','transformStateCache','_setupSubUnitSync','addObject','children','rgba(255,\x20255,\x20255,\x200.01)','top','UNAUTHENTICATED','replaceState','url(#on-line-icon_clip0_910_349)','push','InsertRangeMoveRightCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_cursorInfo$','findNodePositionByCharIndex','_onCursorUpdate','Module','_toggleOnline','_unitOnClients','_checkAndWaitForCalculationPermission','deserializeRangeWithSheet','result','addHandlerCallback','getStateCache','LICENSE_EXPORT_SIZE_EXCEEDED','_anchorDot','onPointerMove$','unshift','ACTIVE_UNIT_EVENT_CHANNEL','BehaviorSubject','getUnitId','_getFormulaLimitStatus','evenodd','createInstance','_cursors','toStringTag','LICENSE_DISTRO_REJECTED','_memberService','CLOSE_ROOM','Tools','_cachedData','BrowserCollaborationSocketService','PERMISSION_DENIED','[CollaborationDataLoaderController]','_transformHistoryAndStateStack','saveOfflineData','_entities','Rect','511665vqvuAP','_transformUndoRedoStack','fillRule','searchParams','getActiveSheet','getFocusedUnit','isArray','functionsExecutedState','getActiveRange','subUnitId','getLocalCacheKey','_docTransformStateCacheService','key','RichTextEditingMutation','_cursorShapes','onPointerLeave$','getSheetObject','translate(.97)','transform','_getMergeRange','clsx','_status$','_injector','WebBrowserSingleActiveUnitService','_document','black','Loading','redoState','0\x200\x2017\x2016','uni.network.url-service','registerRefRange','clearTimeout','_scheduleHeartbeat','jiqing.500','values','_scene','getCellMatrix','DocStateChangeManagerService','status$','fill','UniverNetwork','mergeOverrideWithDependencies','CanceledError','fillText','session.connection-failed','assignAColorForMemberID','_docClipboardService','useObservable','onTransformChange$','loadOfflineData','_localStorageService','UNIVER_DOC','DisposableCollection','INVALID_INVITE_CODE','JOIN_ROOM_FAILED','_refreshCollabCursors','LOCAL_CACHE_INTERVAL_KEY','@univerjs-pro/collaboration','MemberService','_textBubble','Plugin','sheetId','isFormulaString','transformMutationsWithChangeset','_handleLeaveEvent','CONNECTOR_DATA_TOO_LARGE','string','ILocalStorageService','MOBILE_HAS_BEEN_BOUND','_configService','href','_getSheetObject','SetSelectionsOperation','NodePositionConvertToRectRange','wsSessionTicketUrl','defs','AUTHORIZE_CODE_ILLEGAL','row','UniverDesign','createElement','_currentUsage','@univerjs/network','CONFLICT','urlChange$','getTypeOfUnitDisposed$','IRenderManagerService','entries','SNAPSHOT_HAS_BEEN_REMOVED','DocSkeletonManagerService','combineLatest','stringify','setUndoRedoMutationParamsCache','touchDependencies','onLocalMutation','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DocSelectionManagerService','has','USERS_LEAVE','2290OnoMGT','Optional','colorChannel1','saveImage','WECHAT_HAS_BEEN_BOUND','INVALID_ARGUMENT','debounce','_onCursorDelete','params','includes','/universer-api/license/formula/limit/status','collabStatus.fetchMiss','transformByState','length','getParam','unload','_taskIds','collab-client.tooltip.reconnect','YUUMI_ALL_TABLES_IS_INVALID','getCellPositionByOffset','_docSkeleton','_range','onCommandExecuted','_session','LOCAL_CACHE_INTERVAL','resize','newValue','getRangePointData','collaboration-client-ui.config','toString','from','collabStatus.synced','url(#$1','saveTaskMap','focused$','getColor','UniverCollaborationClientUIPlugin','_context','closePath','totalFormulasToCalculate','set','currentColor','AWAITING','_online','_uiPartsService','yellow.400','UNRECOGNIZED'];_0x1f5a=function(){return _0x58c3a3;};return _0x1f5a();}function _0x2eb9(_0x3123ce,_0x2112f4){const _0x1f5aa9=_0x1f5a();return _0x2eb9=function(_0x2eb93d,_0x542046){_0x2eb93d=_0x2eb93d-0x95;let _0x5d44cb=_0x1f5aa9[_0x2eb93d];return _0x5d44cb;},_0x2eb9(_0x3123ce,_0x2112f4);}(function(_0x337160,_0xe91b6e){const _0x581b8b=_0x2eb9,_0x3547fa=_0x337160();while(!![]){try{const _0x5f3237=parseInt(_0x581b8b(0x2b8))/0x1*(-parseInt(_0x581b8b(0x151))/0x2)+parseInt(_0x581b8b(0x2fa))/0x3*(-parseInt(_0x581b8b(0x9a))/0x4)+-parseInt(_0x581b8b(0x1b3))/0x5+parseInt(_0x581b8b(0x2c2))/0x6*(parseInt(_0x581b8b(0x2d9))/0x7)+parseInt(_0x581b8b(0x32f))/0x8+parseInt(_0x581b8b(0x354))/0x9+-parseInt(_0x581b8b(0x215))/0xa*(parseInt(_0x581b8b(0x328))/0xb);if(_0x5f3237===_0xe91b6e)break;else _0x3547fa['push'](_0x3547fa['shift']());}catch(_0x40b2c4){_0x3547fa['push'](_0x3547fa['shift']());}}}(_0x1f5a,0x24625),function(_0x34b8f5,_0x3c5d66){const _0x531aaa=_0x2eb9;typeof exports==_0x531aaa(0xd9)&&typeof module<'u'?_0x3c5d66(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x531aaa(0x2f6)&&define['amd']?define([_0x531aaa(0x30c),_0x531aaa(0x2e4),_0x531aaa(0x2cc),'@univerjs/core',_0x531aaa(0x332),'rxjs','@univerjs/design',_0x531aaa(0x11c),'@univerjs/rpc',_0x531aaa(0x2e1),_0x531aaa(0x17b),_0x531aaa(0x204),_0x531aaa(0x2e5),_0x531aaa(0x11a),_0x531aaa(0x1ec),_0x531aaa(0x9c),_0x531aaa(0x310),_0x531aaa(0x12f),_0x531aaa(0x2dc)],_0x3c5d66):(_0x34b8f5=typeof globalThis<'u'?globalThis:_0x34b8f5||self,_0x3c5d66(_0x34b8f5[_0x531aaa(0xc0)]={},_0x34b8f5[_0x531aaa(0x2fc)],_0x34b8f5[_0x531aaa(0x250)],_0x34b8f5[_0x531aaa(0x179)],_0x34b8f5[_0x531aaa(0xc1)],_0x34b8f5[_0x531aaa(0x2f9)],_0x34b8f5[_0x531aaa(0x201)],_0x34b8f5[_0x531aaa(0x2fc)],_0x34b8f5[_0x531aaa(0x14b)],_0x34b8f5[_0x531aaa(0x353)],_0x34b8f5['UniverEngineRender'],_0x34b8f5[_0x531aaa(0x1db)],_0x34b8f5['UniverDocsUi'],_0x34b8f5[_0x531aaa(0x2c8)],_0x34b8f5[_0x531aaa(0x323)],_0x34b8f5['UniverDocs'],_0x34b8f5['UniverEngineFormula'],_0x34b8f5[_0x531aaa(0x2f9)]['operators'],_0x34b8f5['UniverSheetsUi']));}(this,function(_0x517621,_0x48173d,_0x23abc7,_0x22484e,_0x4bfddd,_0xbc1b07,_0x7eba41,_0x5c9c07,_0x4f5d4d,_0x4eb232,_0x5d4648,_0x15cb79,_0x272958,_0x40850b,_0x4ab096,_0x54ce95,_0x4a61b0,_0x5918b6,_0x1558d9){'use strict';const _0x1b7c9c=_0x2eb9;var _0x11abc4=Object[_0x1b7c9c(0x141)],_0x296591=(_0x13c061,_0x16fbc4,_0x1b68a8)=>_0x16fbc4 in _0x13c061?_0x11abc4(_0x13c061,_0x16fbc4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b68a8}):_0x13c061[_0x16fbc4]=_0x1b68a8,_0x4c9541=(_0xa2ae5e,_0x1b7cd0,_0x3afd5b)=>_0x296591(_0xa2ae5e,typeof _0x1b7cd0!='symbol'?_0x1b7cd0+'':_0x1b7cd0,_0x3afd5b);function _0x398767({ref:_0x4abb06,..._0x354771}){const _0x156d76=_0x1b7c9c,{icon:_0x32bc78,id:_0x2e1ecd,className:_0x1ed5af,extend:_0x13cc62,..._0x207b1e}=_0x354771,_0x464ed6=('univerjs-icon\x20univerjs-icon-'+_0x2e1ecd+'\x20'+(_0x1ed5af||''))['trim'](),_0x1db4f3=_0x5c9c07[_0x156d76(0x312)]('_'+_0x5bc719());return _0x1efdf3(_0x32bc78,''+_0x2e1ecd,{'defIds':_0x32bc78[_0x156d76(0x344)],'idSuffix':_0x1db4f3[_0x156d76(0x12c)]},{'ref':_0x4abb06,'className':_0x464ed6,..._0x207b1e},_0x13cc62);}function _0x1efdf3(_0x334bb0,_0x52e68e,_0x509253,_0x2ddb54,_0x5bc7dd){const _0x57daa9=_0x1b7c9c;return _0x5c9c07[_0x57daa9(0x202)](_0x334bb0['tag'],{'key':_0x52e68e,..._0x4ed88f(_0x334bb0,_0x509253,_0x5bc7dd),..._0x2ddb54},(_0x371332(_0x334bb0,_0x509253)['children']||[])[_0x57daa9(0x289)]((_0x37ad3c,_0x56c12c)=>_0x1efdf3(_0x37ad3c,_0x52e68e+'-'+_0x334bb0[_0x57daa9(0x95)]+'-'+_0x56c12c,_0x509253,void 0x0,_0x5bc7dd)));}function _0x4ed88f(_0x18c08c,_0x58dc43,_0x15c1de){const _0x379637=_0x1b7c9c,_0x33f446={..._0x18c08c['attrs']};_0x15c1de!=null&&_0x15c1de[_0x379637(0x217)]&&_0x33f446[_0x379637(0x1da)]==='colorChannel1'&&(_0x33f446[_0x379637(0x1da)]=_0x15c1de[_0x379637(0x217)]),_0x18c08c[_0x379637(0x95)]==='mask'&&_0x33f446['id']&&(_0x33f446['id']=_0x33f446['id']+_0x58dc43[_0x379637(0xe0)]),Object[_0x379637(0x209)](_0x33f446)[_0x379637(0x24f)](([_0x26d8be,_0x38b3b8])=>{const _0x4087c3=_0x379637;_0x26d8be===_0x4087c3(0xe6)&&typeof _0x38b3b8==_0x4087c3(0x1f5)&&(_0x33f446[_0x26d8be]=_0x38b3b8[_0x4087c3(0x152)](/url\(#(.*)\)/,_0x4087c3(0x235)+_0x58dc43[_0x4087c3(0xe0)]+')'));});const {defIds:_0x799289}=_0x58dc43;return!_0x799289||_0x799289['length']===0x0||(_0x18c08c['tag']===_0x379637(0x35b)&&_0x33f446[_0x379637(0x33e)]&&(_0x33f446[_0x379637(0x33e)]=_0x33f446['xlink:href']+_0x58dc43[_0x379637(0xe0)]),Object[_0x379637(0x209)](_0x33f446)[_0x379637(0x24f)](([_0x5b4802,_0x1b4050])=>{const _0x4c149c=_0x379637;typeof _0x1b4050==_0x4c149c(0x1f5)&&(_0x33f446[_0x5b4802]=_0x1b4050[_0x4c149c(0x152)](/url\(#(.*)\)/,_0x4c149c(0x235)+_0x58dc43['idSuffix']+')'));})),_0x33f446;}function _0x371332(_0x444f9b,_0x20c6fe){const _0x1901cf=_0x1b7c9c;var _0x156665;const {defIds:_0x4d203b}=_0x20c6fe;return!_0x4d203b||_0x4d203b[_0x1901cf(0x222)]===0x0?_0x444f9b:_0x444f9b['tag']==='defs'&&((_0x156665=_0x444f9b[_0x1901cf(0x187)])!=null&&_0x156665[_0x1901cf(0x222)])?{..._0x444f9b,'children':_0x444f9b['children']['map'](_0x14535a=>typeof _0x14535a[_0x1901cf(0x2b9)]['id']==_0x1901cf(0x1f5)&&_0x4d203b&&_0x4d203b[_0x1901cf(0x21e)](_0x14535a[_0x1901cf(0x2b9)]['id'])?{..._0x14535a,'attrs':{..._0x14535a[_0x1901cf(0x2b9)],'id':_0x14535a[_0x1901cf(0x2b9)]['id']+_0x20c6fe['idSuffix']}}:_0x14535a)}:_0x444f9b;}function _0x5bc719(){const _0x252263=_0x1b7c9c;return Math['random']()[_0x252263(0x232)](0x24)[_0x252263(0x2a1)](0x2,0x8);}_0x398767[_0x1b7c9c(0xf2)]=_0x1b7c9c(0x349);const _0x1b64fc={'tag':_0x1b7c9c(0x2ec),'attrs':{'xmlns':_0x1b7c9c(0x147),'fill':'none','viewBox':_0x1b7c9c(0x364),'width':_0x1b7c9c(0x2ba),'height':_0x1b7c9c(0x2ba)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1b7c9c(0xe4),'attrs':{'stroke':_0x1b7c9c(0x23e),'d':_0x1b7c9c(0x247),'strokeLinecap':_0x1b7c9c(0x318),'strokeLinejoin':_0x1b7c9c(0x318),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1b7c9c(0x311),'attrs':{'id':_0x1b7c9c(0x34a)},'children':[{'tag':_0x1b7c9c(0xe4),'attrs':{'fill':_0x1b7c9c(0xf6),'d':_0x1b7c9c(0x301)}}]}]}],'defIds':[_0x1b7c9c(0x34a)]},_0x2c2236=_0x5c9c07[_0x1b7c9c(0x348)](function(_0x37b4fa,_0x1cb359){const _0x459394=_0x1b7c9c;return _0x5c9c07['createElement'](_0x398767,Object[_0x459394(0x16f)]({},_0x37b4fa,{'id':_0x459394(0x325),'ref':_0x1cb359,'icon':_0x1b64fc}));});_0x2c2236[_0x1b7c9c(0xf2)]='OffLineIcon';const _0x25f588={'tag':_0x1b7c9c(0x2ec),'attrs':{'xmlns':_0x1b7c9c(0x147),'fill':_0x1b7c9c(0xe8),'viewBox':_0x1b7c9c(0x1cf),'width':_0x1b7c9c(0x2ba),'height':_0x1b7c9c(0x2ba)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b7c9c(0x18c)},'children':[{'tag':_0x1b7c9c(0xe4),'attrs':{'stroke':_0x1b7c9c(0x23e),'d':_0x1b7c9c(0x26e),'strokeLinecap':_0x1b7c9c(0x318),'strokeLinejoin':_0x1b7c9c(0x318),'strokeWidth':1.2}}]},{'tag':_0x1b7c9c(0x1fe),'attrs':{},'children':[{'tag':_0x1b7c9c(0x311),'attrs':{'id':_0x1b7c9c(0x299)},'children':[{'tag':_0x1b7c9c(0xe4),'attrs':{'fill':_0x1b7c9c(0xf6),'d':_0x1b7c9c(0x301),'transform':_0x1b7c9c(0x1c4)}}]}]}],'defIds':[_0x1b7c9c(0x299)]},_0x3ee648=_0x5c9c07[_0x1b7c9c(0x348)](function(_0x44543d,_0x43068d){const _0x52f373=_0x1b7c9c;return _0x5c9c07[_0x52f373(0x202)](_0x398767,Object[_0x52f373(0x16f)]({},_0x44543d,{'id':_0x52f373(0xc7),'ref':_0x43068d,'icon':_0x25f588}));});_0x3ee648['displayName']='OnLineIcon';function _0x5be5ff(_0x4ca300){const _0x4675f0=_0x1b7c9c;switch(_0x4ca300){case _0x23abc7[_0x4675f0(0x26a)]['OFFLINE']:return _0x4675f0(0x33a);case _0x23abc7[_0x4675f0(0x26a)][_0x4675f0(0x205)]:return'collabStatus.conflict';case _0x23abc7[_0x4675f0(0x26a)]['FETCH_MISS']:return _0x4675f0(0x220);case _0x23abc7[_0x4675f0(0x26a)][_0x4675f0(0x102)]:return _0x4675f0(0x333);case _0x23abc7[_0x4675f0(0x26a)][_0x4675f0(0x23f)]:case _0x23abc7['CollaborationStatus'][_0x4675f0(0x2a3)]:return _0x4675f0(0x15f);case _0x23abc7[_0x4675f0(0x26a)][_0x4675f0(0x105)]:case _0x23abc7[_0x4675f0(0x26a)][_0x4675f0(0xe9)]:return _0x4675f0(0x234);}}function _0x18dafa(_0xc422ab){const _0x4eafef=_0x1b7c9c,{status$:_0x2d2ba1}=_0xc422ab,_0x15ad23=_0x4bfddd[_0x4eafef(0x1e2)](_0x2d2ba1,_0x23abc7[_0x4eafef(0x26a)][_0x4eafef(0x102)]),_0x3c71b2=_0x4bfddd[_0x4eafef(0x17e)](_0x22484e['LocaleService']),_0x2f24a3=_0x4bfddd[_0x4eafef(0x17e)](_0x23abc7[_0x4eafef(0x33d)]),_0x5ada83=_0x15ad23!==_0x23abc7[_0x4eafef(0x26a)]['OFFLINE'],_0x49b921=_0x3c71b2['t'](_0x5be5ff(_0x15ad23)),_0x12152a=_0x5ada83?_0x48173d[_0x4eafef(0x2b0)](_0x3ee648,{}):_0x48173d[_0x4eafef(0x2b0)](_0x2c2236,{}),_0x4d8aa1=_0x5c9c07[_0x4eafef(0x326)](()=>{_0x5ada83||_0x2f24a3['reconnect']();},[_0x5ada83,_0x2f24a3]);function _0x469ef4(){const _0xc33ee=_0x4eafef;return _0x48173d['jsxs']('div',{'className':_0xc33ee(0x177),'onClick':_0x4d8aa1,'children':[_0x48173d[_0xc33ee(0x2b0)](_0xc33ee(0x329),{'className':_0x7eba41[_0xc33ee(0x1c7)](_0xc33ee(0x2d8),{'univer-text-green-500':_0x5ada83,'univer-text-red-500':!_0x5ada83}),'children':_0x12152a}),_0x48173d[_0xc33ee(0x2b0)](_0xc33ee(0x329),{'className':_0xc33ee(0x358),'children':_0x49b921})]});}return _0x5ada83?_0x469ef4():_0x48173d[_0x4eafef(0x2b0)](_0x7eba41['Tooltip'],{'title':_0x3c71b2['t'](_0x4eafef(0x226)),'children':_0x469ef4()});}var _0x156e7c=Object['getOwnPropertyDescriptor'],_0x2620fd=(_0x3e555c,_0x589d99,_0x3c0332,_0x30a15b)=>{const _0x87ceec=_0x1b7c9c;for(var _0x40e7e9=_0x30a15b>0x1?void 0x0:_0x30a15b?_0x156e7c(_0x589d99,_0x3c0332):_0x589d99,_0x79465c=_0x3e555c[_0x87ceec(0x222)]-0x1,_0x1f15c3;_0x79465c>=0x0;_0x79465c--)(_0x1f15c3=_0x3e555c[_0x79465c])&&(_0x40e7e9=_0x1f15c3(_0x40e7e9)||_0x40e7e9);return _0x40e7e9;},_0x1f9edc=(_0x348bac,_0x33ed7d)=>(_0x15fc1e,_0x2a31b7)=>_0x33ed7d(_0x15fc1e,_0x2a31b7,_0x348bac);_0x517621[_0x1b7c9c(0x305)]=class extends _0x22484e['Disposable']{constructor(_0x48e3f1,_0x2fd00e,_0x102c50,_0x81f337){const _0x928926=_0x1b7c9c;super(),_0x4c9541(this,_0x928926(0x1c8),new _0xbc1b07['BehaviorSubject'](_0x23abc7[_0x928926(0x26a)]['NOT_COLLAB'])),(this[_0x928926(0xe3)]=_0x48e3f1,this['_injector']=_0x2fd00e,this[_0x928926(0xf7)]=_0x102c50,this[_0x928926(0x241)]=_0x81f337,this[_0x928926(0x36e)](),this[_0x928926(0x166)]());}[_0x1b7c9c(0x166)](){const _0x127b00=_0x1b7c9c;this[_0x127b00(0xb3)](this[_0x127b00(0xe3)][_0x127b00(0x237)][_0x127b00(0x2b2)](_0xbc1b07[_0x127b00(0x281)](()=>{const _0x1daa68=_0x127b00,_0x224359=this[_0x1daa68(0xe3)][_0x1daa68(0x1b8)]();return _0x224359?this[_0x1daa68(0xf7)][_0x1daa68(0x2ee)](_0x224359['getUnitId']()):_0xbc1b07['of'](null);}),_0xbc1b07['switchMap'](_0x52d656=>_0x52d656?_0x52d656[_0x127b00(0x1d9)]:_0xbc1b07['of'](_0x23abc7[_0x127b00(0x26a)][_0x127b00(0x102)])))['subscribe'](_0x1f2e03=>{const _0x3020b5=_0x127b00;this[_0x3020b5(0x1c8)][_0x3020b5(0x366)](_0x1f2e03);}));}[_0x1b7c9c(0x36e)](){const _0x43da48=_0x1b7c9c;this[_0x43da48(0xb3)](this[_0x43da48(0x241)]['registerComponent'](_0x4bfddd[_0x43da48(0x2ad)]['HEADER_MENU'],()=>_0x4bfddd[_0x43da48(0x288)](_0x3e7085({'status$':this[_0x43da48(0x1c8)]['asObservable']()}),this['_injector'])));}},_0x517621['DesktopCollaborationStatusDisplayController']=_0x2620fd([_0x1f9edc(0x0,_0x22484e[_0x1b7c9c(0xd5)]),_0x1f9edc(0x1,_0x22484e[_0x1b7c9c(0xda)](_0x22484e[_0x1b7c9c(0x2a5)])),_0x1f9edc(0x2,_0x22484e[_0x1b7c9c(0xda)](_0x23abc7[_0x1b7c9c(0x2c3)])),_0x1f9edc(0x3,_0x4bfddd['IUIPartsService'])],_0x517621[_0x1b7c9c(0x305)]);function _0x3e7085(_0x434dd5){const {status$:_0x2edfc7}=_0x434dd5;return function(){const _0x4b5425=_0x2eb9;return _0x48173d[_0x4b5425(0x2b0)](_0x18dafa,{'status$':_0x2edfc7});};}const _0x48a48e=_0x22484e[_0x1b7c9c(0x15c)](_0x1b7c9c(0x1d0));var _0x10369b=Object[_0x1b7c9c(0xd4)],_0x1be6b4=(_0x174124,_0x22773b,_0x60b228,_0x1f31e7)=>{const _0xc3f27e=_0x1b7c9c;for(var _0x355582=_0x1f31e7>0x1?void 0x0:_0x1f31e7?_0x10369b(_0x22773b,_0x60b228):_0x22773b,_0x186a44=_0x174124[_0xc3f27e(0x222)]-0x1,_0x5853cc;_0x186a44>=0x0;_0x186a44--)(_0x5853cc=_0x174124[_0x186a44])&&(_0x355582=_0x5853cc(_0x355582)||_0x355582);return _0x355582;},_0x2780e0=(_0x63f178,_0x329ebc)=>(_0x1c1b47,_0x4cd847)=>_0x329ebc(_0x1c1b47,_0x4cd847,_0x63f178);_0x517621[_0x1b7c9c(0x2e7)]=class extends _0x22484e['RxDisposable']{constructor(_0x6e45be,_0x3cc5c6,_0x42ef7e,_0x530111,_0x303a21){const _0x1431d8=_0x1b7c9c;super(),this[_0x1431d8(0xb8)]=_0x6e45be,this[_0x1431d8(0xe2)]=_0x3cc5c6,this['_commandService']=_0x42ef7e,this[_0x1431d8(0x352)]=_0x530111,_0x303a21?_0x303a21==null||_0x303a21['whenReady']()[_0x1431d8(0x2e6)](()=>this[_0x1431d8(0x307)]()):(this[_0x1431d8(0xe2)][_0x1431d8(0xdd)]('[CollaborationDataLoaderController]',_0x1431d8(0x266)),this[_0x1431d8(0x307)]());}async[_0x1b7c9c(0x307)](){const _0x2db5f2=_0x1b7c9c,_0x4200a5=this[_0x2db5f2(0xb8)][_0x2db5f2(0x223)](_0x2db5f2(0x297)),_0x6336=this['_urlService'][_0x2db5f2(0x223)](_0x2db5f2(0x306)),_0x28abba=this[_0x2db5f2(0xb8)][_0x2db5f2(0x223)](_0x2db5f2(0xf4));if(!_0x4200a5||!_0x6336){this[_0x2db5f2(0xe2)]['debug'](_0x2db5f2(0x1ae),_0x2db5f2(0x271));return;}const _0x5be47c=await this[_0x2db5f2(0x352)][_0x2db5f2(0x2ed)](_0x4200a5,Number(_0x6336),_0x28abba);_0x5be47c&&_0x5be47c instanceof _0x22484e[_0x2db5f2(0x285)]&&this[_0x2db5f2(0x185)](_0x5be47c);}async[_0x1b7c9c(0x185)](_0x3ca4c2){const _0x5db856=_0x1b7c9c;await this[_0x5db856(0x134)](_0x3ca4c2),_0x3ca4c2['activeSheet$'][_0x5db856(0x2b2)](_0xbc1b07[_0x5db856(0x362)](this[_0x5db856(0x335)]))[_0x5db856(0x2d7)](_0x46c245=>{const _0x1a9add=_0x5db856;_0x46c245&&this[_0x1a9add(0x2d1)](_0x46c245);}),this[_0x5db856(0xb8)]['urlChange$']['pipe'](_0xbc1b07[_0x5db856(0x362)](this[_0x5db856(0x335)]))[_0x5db856(0x2d7)](()=>this[_0x5db856(0x134)](_0x3ca4c2));}[_0x1b7c9c(0x2d1)](_0x52d4ce,_0x52d4c8=!0x1){const _0x479994=_0x1b7c9c,_0x2d9c70=this[_0x479994(0xb8)][_0x479994(0x223)](_0x479994(0xf4));_0x52d4ce['getSheetId']()!==_0x2d9c70&&this[_0x479994(0xb8)][_0x479994(0xba)](_0x479994(0xf4),_0x52d4ce['getSheetId'](),_0x52d4c8);}async['_updateSubUnitFromURLParams'](_0x1d167e){const _0x7a6bd=_0x1b7c9c;var _0xacacf7;const _0x2e21e9=this['_urlService']['getParam']('subunit');if(!_0x2e21e9||!_0x1d167e[_0x7a6bd(0xf9)](_0x2e21e9)){const _0x293d40=_0x1d167e[_0x7a6bd(0xe5)]()[0x0],_0xff41ea=_0x1d167e[_0x7a6bd(0xf9)](_0x293d40);if(!_0xff41ea)return;this[_0x7a6bd(0x2d1)](_0xff41ea,!0x0),await this[_0x7a6bd(0x367)][_0x7a6bd(0x275)](_0x4eb232[_0x7a6bd(0x277)]['id'],{'unitId':_0x1d167e[_0x7a6bd(0x1a1)](),'subUnitId':_0x293d40});return;}((_0xacacf7=_0x1d167e[_0x7a6bd(0x1b7)]())==null?void 0x0:_0xacacf7['getSheetId']())!==_0x2e21e9&&await this['_commandService']['executeCommand'](_0x4eb232['SetWorksheetActivateCommand']['id'],{'unitId':_0x1d167e[_0x7a6bd(0x1a1)](),'subUnitId':_0x2e21e9});}},_0x517621['CollaborationDataLoaderController']=_0x1be6b4([_0x2780e0(0x0,_0x48a48e),_0x2780e0(0x1,_0x22484e['ILogService']),_0x2780e0(0x2,_0x22484e[_0x1b7c9c(0x36d)]),_0x2780e0(0x3,_0x22484e[_0x1b7c9c(0xda)](_0x23abc7['DataLoaderService'])),_0x2780e0(0x4,_0x22484e[_0x1b7c9c(0x216)](_0x4f5d4d[_0x1b7c9c(0x292)]))],_0x517621[_0x1b7c9c(0x2e7)]);var _0x5557f7=Object[_0x1b7c9c(0xd4)],_0x4f21c9=(_0x3c7305,_0x458d5d,_0x4112bf,_0x5515fe)=>{const _0x3b15b3=_0x1b7c9c;for(var _0x355a4f=_0x5515fe>0x1?void 0x0:_0x5515fe?_0x5557f7(_0x458d5d,_0x4112bf):_0x458d5d,_0x4d2d28=_0x3c7305[_0x3b15b3(0x222)]-0x1,_0x61beb4;_0x4d2d28>=0x0;_0x4d2d28--)(_0x61beb4=_0x3c7305[_0x4d2d28])&&(_0x355a4f=_0x61beb4(_0x355a4f)||_0x355a4f);return _0x355a4f;},_0x3ac55e=(_0x43945d,_0x2913c2)=>(_0x30f5a5,_0x2977ac)=>_0x2913c2(_0x30f5a5,_0x2977ac,_0x43945d);let _0x137da5=class extends _0x22484e[_0x1b7c9c(0xcc)]{constructor(_0x44f48d,_0x505c10){const _0x101781=_0x1b7c9c;super(),this[_0x101781(0x1e1)]=_0x44f48d,this[_0x101781(0x363)]=_0x505c10,this[_0x101781(0x307)]();}['_init'](){const _0x70a49c=_0x1b7c9c,_0x14c1b8=this;this[_0x70a49c(0xb3)](this[_0x70a49c(0x1e1)][_0x70a49c(0x265)]({'onBeforePasteImage':async _0x7fd585=>{const _0x45699b=_0x70a49c,_0x2ca212=await _0x14c1b8['_imageIoService'][_0x45699b(0x218)](_0x7fd585);return _0x2ca212?{'source':_0x2ca212[_0x45699b(0x31c)],'imageSourceType':_0x2ca212['imageSourceType']}:null;}}));}};_0x137da5=_0x4f21c9([_0x3ac55e(0x0,_0x272958[_0x1b7c9c(0x9e)]),_0x3ac55e(0x1,_0x40850b[_0x1b7c9c(0x279)])],_0x137da5);const _0x259c16=['purple.300',_0x1b7c9c(0x1d4),'green.600',_0x1b7c9c(0x320),_0x1b7c9c(0x34f),_0x1b7c9c(0x242)];class _0x43e29c extends _0x22484e[_0x1b7c9c(0xf1)]{constructor(){const _0x50e851=_0x1b7c9c;super(...arguments),_0x4c9541(this,_0x50e851(0x2ce),new Map()),_0x4c9541(this,'_colorIndex',0x0);}[_0x1b7c9c(0x1e0)](_0x1b8ca7){const _0x1c9f5b=_0x1b7c9c;if(this['_assignedColors'][_0x1c9f5b(0x213)](_0x1b8ca7))return this[_0x1c9f5b(0x2ce)][_0x1c9f5b(0x16d)](_0x1b8ca7);const _0xc2a573=_0x259c16[this['_colorIndex']];return this[_0x1c9f5b(0x2ff)]=(this[_0x1c9f5b(0x2ff)]+0x1)%_0x259c16[_0x1c9f5b(0x222)],this[_0x1c9f5b(0x2ce)][_0x1c9f5b(0x23d)](_0x1b8ca7,_0xc2a573),_0xc2a573;}}function _0x4622cd(_0x17c6b4){let _0x5bcf3c='';for(const _0x38a880 of _0x17c6b4){const {startOffset:_0x9102ee,endOffset:_0x2351f1,isActive:_0x58a01e,rangeType:_0x35c0c3,segmentId:_0xae1434,segmentPage:_0x2f258c}=_0x38a880;_0x5bcf3c['length']&&(_0x5bcf3c+=','),_0x5bcf3c+=_0x9102ee+':'+_0x2351f1+':'+(_0x58a01e?'1':'0')+':'+_0x35c0c3+':'+_0xae1434+':'+_0x2f258c;}return _0x5bcf3c;}function _0x3906b5(_0x169740){const _0x19f855=_0x1b7c9c,_0xeaeadd=_0x169740[_0x19f855(0x135)](','),_0x344ba9=[];for(const _0x283ec7 of _0xeaeadd){const [_0x4e57a6,_0x178539,_0x263bd6,_0x497a64,_0x26ab9c,_0x1acece]=_0x283ec7[_0x19f855(0x135)](':');_0x344ba9[_0x19f855(0x18d)]({'startOffset':Number(_0x4e57a6),'endOffset':Number(_0x178539),'collapsed':_0x4e57a6===_0x178539,'isActive':_0x263bd6==='1','rangeType':_0x497a64===_0x22484e['DOC_RANGE_TYPE'][_0x19f855(0x26c)]?_0x22484e[_0x19f855(0x331)][_0x19f855(0x26c)]:_0x22484e[_0x19f855(0x331)][_0x19f855(0xc3)],'segmentId':typeof _0x26ab9c==_0x19f855(0x1f5)?String(_0x26ab9c):'','segmentPage':Number(_0x1acece!=null?_0x1acece:-0x1)});}return _0x344ba9[_0x19f855(0x99)](_0xcf52e3=>_0xcf52e3[_0x19f855(0x101)])||(_0x344ba9[0x0][_0x19f855(0x101)]=!0x0),_0x344ba9;}class _0x4a5424 extends _0x22484e['RxDisposable']{constructor(){const _0x1328ad=_0x1b7c9c;super(...arguments),_0x4c9541(this,_0x1328ad(0x29e),new _0xbc1b07['BehaviorSubject'](null)),_0x4c9541(this,_0x1328ad(0x303),this[_0x1328ad(0x29e)][_0x1328ad(0x13e)]());}[_0x1b7c9c(0x2a6)](_0x35894a){const _0x5e4199=_0x1b7c9c,{unitID:_0x1baa1f,memberID:_0x229037,textRanges:_0x34ece5}=_0x35894a,_0x53087e=_0x4622cd(_0x34ece5);if(_0x53087e==='')return;const _0x50cde3={'unitID':_0x1baa1f,'memberID':_0x229037,'selection':_0x53087e};this[_0x5e4199(0x29e)][_0x5e4199(0x366)](_0x50cde3);}}var _0x39b3d1=Object[_0x1b7c9c(0xd4)],_0x1a940d=(_0x3ea721,_0x397f91,_0x1e3271,_0x12c41a)=>{const _0x32b9b6=_0x1b7c9c;for(var _0x1b9a28=_0x12c41a>0x1?void 0x0:_0x12c41a?_0x39b3d1(_0x397f91,_0x1e3271):_0x397f91,_0x5d4bb3=_0x3ea721[_0x32b9b6(0x222)]-0x1,_0x10bf69;_0x5d4bb3>=0x0;_0x5d4bb3--)(_0x10bf69=_0x3ea721[_0x5d4bb3])&&(_0x1b9a28=_0x10bf69(_0x1b9a28)||_0x1b9a28);return _0x1b9a28;},_0x480369=(_0x5d40fe,_0x3f4831)=>(_0x31b4fb,_0x43e533)=>_0x3f4831(_0x31b4fb,_0x43e533,_0x5d40fe);const _0x1fa432=0x12c,_0x5dba10=0x64;let _0x4b1b1a=class extends _0x22484e['RxDisposable']{constructor(_0x3815cb,_0x25b283,_0x5ecdbb,_0x5b50a4,_0x2c3c33,_0x1ec0c6,_0x52d2ac,_0x186f19,_0x28b712){const _0x350aa1=_0x1b7c9c;super(),_0x4c9541(this,_0x350aa1(0x240),!0x1),_0x4c9541(this,_0x350aa1(0x307),!0x1),_0x4c9541(this,_0x350aa1(0x190),new _0xbc1b07['BehaviorSubject'](new Map())),_0x4c9541(this,'cursorInfo$',this[_0x350aa1(0x190)][_0x350aa1(0x13e)]()),_0x4c9541(this,_0x350aa1(0x28f),new _0xbc1b07['BehaviorSubject']([])),_0x4c9541(this,_0x350aa1(0x272),this[_0x350aa1(0x28f)][_0x350aa1(0x2b2)](_0xbc1b07[_0x350aa1(0x2d3)](_0x1fa432))),_0x4c9541(this,_0x350aa1(0x30e),_0x22484e[_0x350aa1(0x21b)](_0x5b9f6e=>{const _0x2da007=_0x350aa1,_0x446ea7={'eventID':_0x4ab096[_0x2da007(0x324)][_0x2da007(0x361)],'data':{'unitID':this['unitID'],'memberID':this[_0x2da007(0x22c)][_0x2da007(0x269)](),'selection':_0x4622cd(_0x5b9f6e)}};this[_0x2da007(0x22c)][_0x2da007(0x339)](_0x446ea7,this[_0x2da007(0x125)]);},_0x5dba10)),(this[_0x350aa1(0x125)]=_0x3815cb,this[_0x350aa1(0x22c)]=_0x25b283,this[_0x350aa1(0x1c9)]=_0x5ecdbb,this[_0x350aa1(0x10c)]=_0x5b50a4,this['_memberService']=_0x2c3c33,this[_0x350aa1(0x10d)]=_0x1ec0c6,this[_0x350aa1(0x304)]=_0x52d2ac,this[_0x350aa1(0xe3)]=_0x186f19,this[_0x350aa1(0x367)]=_0x28b712);}get[_0x1b7c9c(0xbb)](){const _0x5bf105=_0x1b7c9c;return this['_cursorInfo$'][_0x5bf105(0x287)]();}get['roomMembers'](){const _0x4e67f5=_0x1b7c9c;return this[_0x4e67f5(0x28f)]['getValue']();}[_0x1b7c9c(0x351)](){const _0x583edc=_0x1b7c9c;super[_0x583edc(0x351)](),this[_0x583edc(0x190)][_0x583edc(0x366)](new Map()),this[_0x583edc(0x190)][_0x583edc(0x313)](),this[_0x583edc(0x28f)][_0x583edc(0x366)]([]),this['_roomMembers$'][_0x583edc(0x313)]();}[_0x1b7c9c(0x357)](){const _0x19d794=_0x1b7c9c;this[_0x19d794(0x307)]||(this[_0x19d794(0x307)]=!0x0,this['_session'][_0x19d794(0xce)][_0x19d794(0x2b2)](_0xbc1b07[_0x19d794(0x362)](this[_0x19d794(0x335)]))['subscribe'](_0x18a661=>{const _0x5c29a2=_0x19d794;_0x18a661===_0x23abc7[_0x5c29a2(0x338)][_0x5c29a2(0x31a)]?this[_0x5c29a2(0x194)]():this[_0x5c29a2(0x2da)]();}),this[_0x19d794(0x22c)]['event$']['pipe'](_0xbc1b07[_0x19d794(0x362)](this['dispose$']))['subscribe'](_0x8c6fd9=>{const _0x1ed40c=_0x19d794,_0x36aa82=_0x8c6fd9['eventID'];_0x36aa82===_0x4ab096[_0x1ed40c(0x324)][_0x1ed40c(0x361)]&&this[_0x1ed40c(0x192)](_0x8c6fd9),_0x36aa82===_0x4ab096[_0x1ed40c(0x324)][_0x1ed40c(0x214)]&&this[_0x1ed40c(0x21c)](_0x8c6fd9);}),this[_0x19d794(0xb3)](this[_0x19d794(0x367)]['onCommandExecuted'](_0x2bf012=>{const _0x5c5e4c=_0x19d794,_0x3fc966=_0x2bf012[_0x5c5e4c(0x21d)];_0x3fc966!=null&&this[_0x5c5e4c(0x240)]&&_0x2bf012['id']===_0x54ce95[_0x5c5e4c(0x30d)]['id']&&_0x3fc966[_0x5c5e4c(0x270)]===this[_0x5c5e4c(0x125)]&&_0x3fc966[_0x5c5e4c(0x2a8)]===!0x1&&_0x3fc966['ranges'][_0x5c5e4c(0x222)]>0x0&&this[_0x5c5e4c(0x30e)](_0x3fc966[_0x5c5e4c(0xa3)]);})),this[_0x19d794(0x10d)]['collabCursorState$'][_0x19d794(0x2b2)](_0xbc1b07[_0x19d794(0x362)](this[_0x19d794(0x335)]))[_0x19d794(0x2d7)](_0x3e890e=>{const _0x20991a=_0x19d794;if((_0x3e890e==null?void 0x0:_0x3e890e[_0x20991a(0x125)])!==this[_0x20991a(0x125)])return;const _0x40c723={'eventID':_0x4ab096['CollaborationEvent'][_0x20991a(0x361)],'data':_0x3e890e};this['_onCursorUpdate'](_0x40c723);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x49346a=>{const _0x270913=_0x19d794;if(_0x49346a[_0x270913(0x21d)]==null)return;const _0x574fb2=_0x49346a[_0x270913(0x21d)];if(_0x49346a['id']!==_0x54ce95[_0x270913(0x1c0)]['id']||_0x574fb2['unitId']!==this[_0x270913(0x125)])return;const _0x538efb={'id':'doc.mutation.rich-text-editing','params':_0x574fb2},_0x5d3f58=this['cursorInfo'];for(const [_0x49ce27,_0x59f395]of _0x5d3f58){const _0xcb5113={'id':_0x270913(0x302),'params':{'unitId':this[_0x270913(0x125)],'actions':null,'textRanges':_0x59f395['ranges']}},_0x382d73=this[_0x270913(0x304)][_0x270913(0x10e)](_0x538efb,_0xcb5113,!0x1);if(_0x4ab096[_0x270913(0x14e)](_0x382d73))throw _0x382d73[_0x270913(0x264)];_0x5d3f58[_0x270913(0x23d)](_0x49ce27,{..._0x59f395,'ranges':_0x382d73[_0x270913(0x25f)][_0x270913(0x21d)][_0x270913(0xde)]});}queueMicrotask(()=>{const _0x359408=_0x270913;this[_0x359408(0x190)]['next'](_0x5d3f58);});})));}[_0x1b7c9c(0x192)](_0x519ef6){const _0x4dfd27=_0x1b7c9c;var _0x1eae49,_0x4ca1d0;const {memberID:_0x11f0ec,selection:_0xcaaa6}=_0x519ef6[_0x4dfd27(0x2a0)],_0x3127f1=_0x3906b5(_0xcaaa6),_0x27c32e=(_0x4ca1d0=(_0x1eae49=this[_0x4dfd27(0x1a8)][_0x4dfd27(0x139)](this[_0x4dfd27(0x125)],_0x11f0ec))==null?void 0x0:_0x1eae49[_0x4dfd27(0x317)])!=null?_0x4ca1d0:_0x4dfd27(0xd1),_0x5ab88e={'color':this[_0x4dfd27(0x10c)][_0x4dfd27(0x1e0)](_0x11f0ec),'name':_0x27c32e,'ranges':_0x3127f1},_0x35e649=this[_0x4dfd27(0xbb)];_0x35e649[_0x4dfd27(0x23d)](_0x11f0ec,_0x5ab88e),this[_0x4dfd27(0x190)][_0x4dfd27(0x366)](_0x35e649);}['_onCursorDelete'](_0x1a00ba){const _0x1f1932=_0x1b7c9c,{memberID:_0x1c377a}=_0x1a00ba[_0x1f1932(0x2a0)],_0x20071b=this[_0x1f1932(0xbb)];_0x20071b[_0x1f1932(0x174)](_0x1c377a),this[_0x1f1932(0x190)][_0x1f1932(0x366)](_0x20071b);}['_toggleOnline'](){const _0x524a61=_0x1b7c9c;var _0x3d87e6;if(this['_online']=!0x0,((_0x3d87e6=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x3d87e6['getUnitId']())!==this['unitID'])return;const _0x29aa17=this[_0x524a61(0x1c9)][_0x524a61(0x16d)](_0x54ce95[_0x524a61(0x212)])[_0x524a61(0x251)]();Array['isArray'](_0x29aa17)&&_0x29aa17[_0x524a61(0x222)]>0x0&&this[_0x524a61(0x30e)](_0x29aa17);}[_0x1b7c9c(0x2da)](){const _0xc5f644=_0x1b7c9c;this[_0xc5f644(0x240)]=!0x1;}};_0x4b1b1a=_0x1a940d([_0x480369(0x2,_0x22484e[_0x1b7c9c(0xda)](_0x22484e[_0x1b7c9c(0x2a5)])),_0x480369(0x3,_0x22484e[_0x1b7c9c(0xda)](_0x43e29c)),_0x480369(0x4,_0x22484e[_0x1b7c9c(0xda)](_0x23abc7['MemberService'])),_0x480369(0x5,_0x22484e['Inject'](_0x4a5424)),_0x480369(0x6,_0x4ab096['ITransformService']),_0x480369(0x7,_0x22484e[_0x1b7c9c(0xd5)]),_0x480369(0x8,_0x22484e[_0x1b7c9c(0x36d)])],_0x4b1b1a);var _0x3085f5=Object['getOwnPropertyDescriptor'],_0x1d2629=(_0x552492,_0x136dab,_0x59960b,_0x5396b9)=>{const _0x2427d2=_0x1b7c9c;for(var _0x33817f=_0x5396b9>0x1?void 0x0:_0x5396b9?_0x3085f5(_0x136dab,_0x59960b):_0x136dab,_0x291d08=_0x552492[_0x2427d2(0x222)]-0x1,_0x5bc101;_0x291d08>=0x0;_0x291d08--)(_0x5bc101=_0x552492[_0x291d08])&&(_0x33817f=_0x5bc101(_0x33817f)||_0x33817f);return _0x33817f;},_0x886173=(_0x3d5c54,_0x360c71)=>(_0x1da74f,_0x44f90a)=>_0x360c71(_0x1da74f,_0x44f90a,_0x3d5c54);const _0x3c2a77=0x12c,_0x50add1=0x64,_0x5aab7d=()=>{let _0x3a3c8c=[],_0xfe16a=!0x1;return _0x289f56=>{_0x3a3c8c['push'](_0x289f56),_0xfe16a||(_0xfe16a=!0x0,setTimeout(()=>{const _0x233dac=_0x2eb9;_0x3a3c8c[_0x233dac(0x24f)](_0x2491b2=>_0x2491b2()),_0x3a3c8c=[],_0xfe16a=!0x1;}));};};let _0x3cae75=class extends _0x22484e[_0x1b7c9c(0xcc)]{constructor(_0x2351a5,_0x66e40f,_0x5a16b4,_0x5d2012,_0x55f1f8,_0x502205,_0xd904ab,_0x4f3664){const _0x25f8fc=_0x1b7c9c;super(),_0x4c9541(this,_0x25f8fc(0x240),!0x1),_0x4c9541(this,_0x25f8fc(0x307),!0x1),_0x4c9541(this,_0x25f8fc(0x190),new _0xbc1b07[(_0x25f8fc(0x1a0))](new Map())),_0x4c9541(this,_0x25f8fc(0xed),this['_cursorInfo$'][_0x25f8fc(0x13e)]()),_0x4c9541(this,_0x25f8fc(0x28f),new _0xbc1b07[(_0x25f8fc(0x1a0))]([])),_0x4c9541(this,_0x25f8fc(0x272),this[_0x25f8fc(0x28f)][_0x25f8fc(0x2b2)](_0xbc1b07[_0x25f8fc(0x2d3)](_0x3c2a77))),_0x4c9541(this,'_updateLocalCursor',_0x22484e[_0x25f8fc(0x21b)]((_0x5694f2,_0x15e7bf)=>{const _0x50f7d0=_0x25f8fc,_0x43cccb={'eventID':_0x4ab096['CollaborationEvent'][_0x50f7d0(0x361)],'data':{'unitID':this[_0x50f7d0(0x125)],'memberID':this[_0x50f7d0(0x22c)][_0x50f7d0(0x269)](),'selection':_0x4a61b0['serializeRangeWithSheet'](_0x5694f2,_0x15e7bf['range'])}};this[_0x50f7d0(0x22c)]['send'](_0x43cccb,this['unitID']);},_0x50add1)),(this[_0x25f8fc(0x125)]=_0x2351a5,this[_0x25f8fc(0x22c)]=_0x66e40f,this['_injector']=_0x5a16b4,this[_0x25f8fc(0x10c)]=_0x5d2012,this[_0x25f8fc(0x1a8)]=_0x55f1f8,this[_0x25f8fc(0xe3)]=_0x502205,this[_0x25f8fc(0x367)]=_0xd904ab,this[_0x25f8fc(0x180)]=_0x4f3664);}get[_0x1b7c9c(0xbb)](){const _0x976ed=_0x1b7c9c;return this[_0x976ed(0x190)]['getValue']();}get[_0x1b7c9c(0x31d)](){const _0x2020ba=_0x1b7c9c;return this[_0x2020ba(0x28f)]['getValue']();}[_0x1b7c9c(0x351)](){const _0x19230b=_0x1b7c9c;super[_0x19230b(0x351)](),this[_0x19230b(0x190)][_0x19230b(0x366)](new Map()),this[_0x19230b(0x190)][_0x19230b(0x313)](),this['_roomMembers$'][_0x19230b(0x366)]([]),this[_0x19230b(0x28f)][_0x19230b(0x313)]();}[_0x1b7c9c(0x357)](){const _0x12e75a=_0x1b7c9c;this[_0x12e75a(0x307)]||(this['_init']=!0x0,this[_0x12e75a(0x22c)][_0x12e75a(0xce)][_0x12e75a(0x2b2)](_0xbc1b07[_0x12e75a(0x362)](this[_0x12e75a(0x335)]))[_0x12e75a(0x2d7)](_0x372d0d=>{const _0x101b72=_0x12e75a;_0x372d0d===_0x23abc7['SessionStatus'][_0x101b72(0x31a)]?this[_0x101b72(0x194)]():this[_0x101b72(0x2da)]();}),this[_0x12e75a(0x22c)][_0x12e75a(0x261)][_0x12e75a(0x2b2)](_0xbc1b07[_0x12e75a(0x362)](this[_0x12e75a(0x335)]))['subscribe'](_0x4a7dd9=>{const _0x820602=_0x12e75a,_0x1b14ed=_0x4a7dd9[_0x820602(0xcb)];_0x1b14ed===_0x4ab096[_0x820602(0x324)][_0x820602(0x361)]&&this[_0x820602(0x192)](_0x4a7dd9),_0x1b14ed===_0x4ab096['CollaborationEvent'][_0x820602(0x214)]&&this[_0x820602(0x21c)](_0x4a7dd9);}),this['_onRefRangeChange'](),this[_0x12e75a(0xb3)](this[_0x12e75a(0x367)]['onCommandExecuted'](_0x580bbc=>{const _0x11a1fc=_0x12e75a;if(this[_0x11a1fc(0x240)]&&_0x580bbc['id']===_0x4eb232[_0x11a1fc(0x1fb)]['id']&&_0x580bbc[_0x11a1fc(0x21d)][_0x11a1fc(0x270)]===this['unitID']){const _0x5ca44d=_0x580bbc['params'];this[_0x11a1fc(0x30e)](_0x5ca44d[_0x11a1fc(0x1bc)],_0x5ca44d[_0x11a1fc(0x9b)][0x0]);}})));}[_0x1b7c9c(0x192)](_0x36ad75){const _0x12d168=_0x1b7c9c;var _0xb54d7a,_0x115ad7;const {memberID:_0x13a6c1,selection:_0x20c0f9}=_0x36ad75[_0x12d168(0x2a0)],{sheetName:_0x2bac37,range:_0xd09454}=_0x4a61b0[_0x12d168(0x197)](_0x20c0f9),_0x24f991={'name':(_0x115ad7=(_0xb54d7a=this['_memberService'][_0x12d168(0x139)](this[_0x12d168(0x125)],_0x13a6c1))==null?void 0x0:_0xb54d7a[_0x12d168(0x317)])!=null?_0x115ad7:'Unknown\x20user','range':this[_0x12d168(0x1c6)](_0x2bac37,_0xd09454),'sheetID':_0x2bac37,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x13a6c1),'selection':_0x20c0f9},_0x38b28f=this[_0x12d168(0xbb)];_0x38b28f[_0x12d168(0x23d)](_0x13a6c1,_0x24f991),this['_cursorInfo$'][_0x12d168(0x366)](_0x38b28f);}['_onCursorDelete'](_0x469a6b){const _0x17b95e=_0x1b7c9c,{memberID:_0x3742cf}=_0x469a6b[_0x17b95e(0x2a0)],_0x4f839f=this['cursorInfo'];_0x4f839f[_0x17b95e(0x174)](_0x3742cf),this[_0x17b95e(0x190)][_0x17b95e(0x366)](_0x4f839f);}['_getMergeRange'](_0x16d716,_0x57bf05){const _0x3165fc=_0x1b7c9c;var _0x3d40fd,_0x22466a;const _0x5cb63f=(_0x22466a=(_0x3d40fd=this['_univerInstanceService'][_0x3165fc(0xbe)](this[_0x3165fc(0x125)]))==null?void 0x0:_0x3d40fd['getSheetBySheetId'](_0x16d716))==null?void 0x0:_0x22466a[_0x3165fc(0x117)]();return(_0x5cb63f==null?void 0x0:_0x5cb63f['find'](_0x156dce=>_0x22484e['Rectangle'][_0x3165fc(0x98)](_0x156dce,_0x57bf05)))||_0x57bf05;}[_0x1b7c9c(0xd7)](){const _0x4c425e=_0x1b7c9c,_0x3f8dee=new _0x22484e[(_0x4c425e(0x1e7))](),_0x24399f=_0x5aab7d(),_0x166dfe=()=>{const _0x7418a0=_0x4c425e;_0x3f8dee['dispose']();const _0x3356cf=(_0x73dd63,_0x50cc72,_0x39a02f,_0x3f556a)=>{const _0x154a56=_0x2eb9;let _0x4976d0=[];switch(_0x73dd63['id']){case _0x4eb232['EffectRefRangId'][_0x154a56(0x244)]:{_0x4976d0=_0x4eb232[_0x154a56(0x2be)](_0x73dd63,_0x3f556a);break;}case _0x4eb232['EffectRefRangId'][_0x154a56(0xeb)]:{_0x4976d0=_0x4eb232[_0x154a56(0xc9)](_0x73dd63,_0x3f556a);break;}case _0x4eb232['EffectRefRangId'][_0x154a56(0x173)]:{_0x4976d0=_0x4eb232['handleInsertCol'](_0x73dd63,_0x3f556a);break;}case _0x4eb232['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x4976d0=_0x4eb232[_0x154a56(0x15d)](_0x73dd63,_0x3f556a);break;}case _0x4eb232[_0x154a56(0x2cf)][_0x154a56(0x18e)]:{_0x4976d0=_0x4eb232[_0x154a56(0x293)](_0x73dd63,_0x3f556a);break;}case _0x4eb232[_0x154a56(0x2cf)]['InsertRowCommandId']:{_0x4976d0=_0x4eb232['handleInsertRow'](_0x73dd63,_0x3f556a);break;}case _0x4eb232[_0x154a56(0x2cf)][_0x154a56(0xc2)]:{_0x4976d0=_0x4eb232[_0x154a56(0x27b)](_0x73dd63,_0x3f556a);break;}case _0x4eb232[_0x154a56(0x2cf)]['RemoveColCommandId']:{_0x4976d0=_0x4eb232['handleIRemoveCol'](_0x73dd63,_0x3f556a);break;}case _0x4eb232[_0x154a56(0x2cf)]['RemoveRowCommandId']:{_0x4976d0=_0x4eb232[_0x154a56(0x31b)](_0x73dd63,_0x3f556a);break;}}const _0x40122c=_0x4eb232[_0x154a56(0xe1)](_0x4976d0,_0x3f556a),_0x5eeed0=this['cursorInfo'][_0x154a56(0x16d)](_0x50cc72);if(_0x5eeed0&&_0x40122c){const _0x4801c8={..._0x5eeed0,'range':_0x40122c};this['cursorInfo']['set'](_0x50cc72,_0x4801c8),_0x24399f(()=>{const _0x90ab54=_0x154a56,_0x4695df=this[_0x90ab54(0x180)][_0x90ab54(0x1d1)](_0x40122c,_0xf91aad=>(_0x4695df[_0x90ab54(0x351)](),_0x3356cf(_0xf91aad,_0x50cc72,_0x39a02f,_0x40122c)));_0x3f8dee[_0x90ab54(0x268)](_0x4695df);});}return{'redos':[],'undos':[]};};this[_0x7418a0(0xbb)][_0x7418a0(0x24f)]((_0x1b8644,_0x4d7724)=>{const _0x5c52c7=_0x7418a0,{range:_0x2b61aa,sheetID:_0x2fea04}=_0x1b8644,_0x25f6b7=this[_0x5c52c7(0x180)][_0x5c52c7(0x1d1)](_0x2b61aa,_0x528d74=>(_0x25f6b7[_0x5c52c7(0x351)](),_0x3356cf(_0x528d74,_0x4d7724,_0x2fea04,_0x2b61aa)));_0x3f8dee[_0x5c52c7(0x268)](_0x25f6b7);});};this[_0x4c425e(0xb3)](_0x22484e[_0x4c425e(0x11f)](this[_0x4c425e(0x190)][_0x4c425e(0x2d7)](()=>{_0x166dfe();})));}['_toggleOnline'](){const _0x154ff4=_0x1b7c9c;var _0x421825,_0x2bb368;if(this[_0x154ff4(0x240)]=!0x0,((_0x421825=this[_0x154ff4(0xe3)][_0x154ff4(0x1b8)]())==null?void 0x0:_0x421825['getUnitId']())!==this[_0x154ff4(0x125)])return;const _0x58efbf=(_0x2bb368=this[_0x154ff4(0x1c9)][_0x154ff4(0x16d)](_0x4eb232['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x2bb368[0x0],_0x583b40=this[_0x154ff4(0xe3)][_0x154ff4(0xd2)](_0x22484e[_0x154ff4(0x29c)][_0x154ff4(0x31e)])['getActiveSheet']();_0x58efbf&&_0x583b40&&this[_0x154ff4(0x30e)](_0x583b40[_0x154ff4(0xf3)](),_0x58efbf);}[_0x1b7c9c(0x2da)](){this['_online']=!0x1;}};_0x3cae75=_0x1d2629([_0x886173(0x2,_0x22484e[_0x1b7c9c(0xda)](_0x22484e['Injector'])),_0x886173(0x3,_0x22484e[_0x1b7c9c(0xda)](_0x43e29c)),_0x886173(0x4,_0x22484e['Inject'](_0x23abc7[_0x1b7c9c(0x1ed)])),_0x886173(0x5,_0x22484e[_0x1b7c9c(0xd5)]),_0x886173(0x6,_0x22484e[_0x1b7c9c(0x36d)]),_0x886173(0x7,_0x22484e[_0x1b7c9c(0xda)](_0x4eb232[_0x1b7c9c(0x155)]))],_0x3cae75);var _0x3295ae=Object[_0x1b7c9c(0xd4)],_0x1241b6=(_0x47406f,_0x13b8b9,_0x5a2561,_0x3a733b)=>{const _0x4e9009=_0x1b7c9c;for(var _0x414ab1=_0x3a733b>0x1?void 0x0:_0x3a733b?_0x3295ae(_0x13b8b9,_0x5a2561):_0x13b8b9,_0x38938f=_0x47406f[_0x4e9009(0x222)]-0x1,_0x1aa659;_0x38938f>=0x0;_0x38938f--)(_0x1aa659=_0x47406f[_0x38938f])&&(_0x414ab1=_0x1aa659(_0x414ab1)||_0x414ab1);return _0x414ab1;},_0xb55982=(_0x5077e1,_0x545b4b)=>(_0x9a5e6,_0x40a25e)=>_0x545b4b(_0x9a5e6,_0x40a25e,_0x5077e1);let _0xc5a59=class extends _0x22484e['RxDisposable']{constructor(_0x1b7265,_0x375737,_0x39aeba){const _0x1f52b3=_0x1b7c9c;super(),_0x4c9541(this,_0x1f52b3(0x1b1),new Map()),_0x4c9541(this,_0x1f52b3(0x245),new _0xbc1b07[(_0x1f52b3(0x35d))]()),(this[_0x1f52b3(0xe3)]=_0x1b7265,this[_0x1f52b3(0x1c9)]=_0x375737,this['_collabSessionService']=_0x39aeba,this[_0x1f52b3(0x307)]());}[_0x1b7c9c(0x351)](){const _0x2a5999=_0x1b7c9c;super['dispose'](),this['_entityInit$']['complete'](),this['_entities'][_0x2a5999(0x24f)](_0x3181a8=>_0x3181a8[_0x2a5999(0x351)]());}['getCollabCursors$'](_0x87b8f5){const _0x6230b4=_0x1b7c9c;return this['_entities'][_0x6230b4(0x213)](_0x87b8f5)?this[_0x6230b4(0x1b1)][_0x6230b4(0x16d)](_0x87b8f5)['cursorInfo$']:this[_0x6230b4(0x245)][_0x6230b4(0x2b2)](_0xbc1b07[_0x6230b4(0xea)](_0x47aa44=>_0x47aa44[_0x6230b4(0x125)]===_0x87b8f5),_0xbc1b07[_0x6230b4(0x281)](_0x506b7f=>_0x506b7f[_0x6230b4(0xed)]));}[_0x1b7c9c(0x307)](){const _0x5c244e=_0x1b7c9c;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x22484e[_0x5c244e(0x29c)][_0x5c244e(0x31e)])[_0x5c244e(0x2b2)](_0xbc1b07[_0x5c244e(0x362)](this[_0x5c244e(0x335)]))[_0x5c244e(0x2d7)](async _0x26df63=>{const _0x30e239=_0x5c244e,_0x209efa=_0x26df63[_0x30e239(0x1a1)](),_0x352bd9=await this[_0x30e239(0x2a9)](_0x209efa);this[_0x30e239(0x245)]['next'](_0x352bd9),this[_0x30e239(0x1b1)][_0x30e239(0x23d)](_0x209efa,_0x352bd9);}),this[_0x5c244e(0xe3)][_0x5c244e(0x132)](_0x22484e[_0x5c244e(0x29c)][_0x5c244e(0x1e6)])[_0x5c244e(0x2b2)](_0xbc1b07[_0x5c244e(0x362)](this[_0x5c244e(0x335)]))[_0x5c244e(0x2b2)](_0xbc1b07[_0x5c244e(0xea)](_0x455349=>!_0x455349[_0x5c244e(0x1a1)]()[_0x5c244e(0x2f3)]('__')))[_0x5c244e(0x2d7)](async _0x574646=>{const _0x497b2e=_0x5c244e,_0x5754f2=_0x574646['getUnitId'](),_0xaa87b1=await this[_0x497b2e(0x2de)](_0x5754f2);this[_0x497b2e(0x245)][_0x497b2e(0x366)](_0xaa87b1),this[_0x497b2e(0x1b1)]['set'](_0x5754f2,_0xaa87b1);}),_0xbc1b07['merge'](this[_0x5c244e(0xe3)][_0x5c244e(0x207)](_0x22484e[_0x5c244e(0x29c)][_0x5c244e(0x1e6)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x22484e[_0x5c244e(0x29c)][_0x5c244e(0x31e)]))[_0x5c244e(0x2b2)](_0xbc1b07[_0x5c244e(0x362)](this[_0x5c244e(0x335)]))['subscribe'](_0x2f6de6=>{const _0x406211=_0x5c244e,_0x1a35a7=_0x2f6de6[_0x406211(0x1a1)](),_0x16d7a1=this[_0x406211(0x1b1)][_0x406211(0x16d)](_0x1a35a7);_0x16d7a1&&(_0x16d7a1[_0x406211(0x351)](),this['_entities']['delete'](_0x1a35a7));});}async[_0x1b7c9c(0x2a9)](_0x14e0a5){const _0x3c4b06=_0x1b7c9c,_0x1b8c96=await this[_0x3c4b06(0xa1)]['requireSession'](_0x14e0a5),_0x3ed5b7=this[_0x3c4b06(0x1c9)][_0x3c4b06(0x1a4)](_0x3cae75,_0x14e0a5,_0x1b8c96);return _0x3ed5b7['init'](),_0x3ed5b7;}async['_startDocCollabCursor'](_0x48cc22){const _0x56e626=_0x1b7c9c,_0x4564c0=await this[_0x56e626(0xa1)][_0x56e626(0x110)](_0x48cc22),_0x5a5fe2=this[_0x56e626(0x1c9)]['createInstance'](_0x4b1b1a,_0x48cc22,_0x4564c0);return _0x5a5fe2[_0x56e626(0x357)](),_0x5a5fe2;}};_0xc5a59=_0x1241b6([_0xb55982(0x0,_0x22484e['IUniverInstanceService']),_0xb55982(0x1,_0x22484e['Inject'](_0x22484e[_0x1b7c9c(0x2a5)])),_0xb55982(0x2,_0x22484e['Inject'](_0x23abc7[_0x1b7c9c(0x33d)]))],_0xc5a59);const _0x71402c=0x14,_0x33d8a4=0xc8,_0x8033fd=0x4,_0x443d37=0x5;function _0xddb01d(_0x329a3f,_0x5bfcab){const _0x15b58b=_0x1b7c9c;let {radius:_0x57ff37,width:_0x524aaf,height:_0x1ea263}=_0x5bfcab;_0x57ff37=_0x57ff37!=null?_0x57ff37:0x0,_0x524aaf=_0x524aaf!=null?_0x524aaf:0x1e,_0x1ea263=_0x1ea263!=null?_0x1ea263:0x1e;let _0x11e0e2=0x0,_0x4e1578=0x0,_0x52dd98=0x0;_0x11e0e2=_0x4e1578=_0x52dd98=Math[_0x15b58b(0x17d)](_0x57ff37,_0x524aaf/0x2,_0x1ea263/0x2),_0x329a3f[_0x15b58b(0x165)](),_0x329a3f['moveTo'](_0x11e0e2,0x0),_0x329a3f[_0x15b58b(0x170)](_0x524aaf-_0x4e1578,0x0),_0x329a3f[_0x15b58b(0x16a)](_0x524aaf-_0x4e1578,_0x4e1578,_0x4e1578,Math['PI']*0x3/0x2,0x0,!0x1),_0x329a3f[_0x15b58b(0x170)](_0x524aaf,_0x1ea263-_0x52dd98),_0x329a3f[_0x15b58b(0x16a)](_0x524aaf-_0x52dd98,_0x1ea263-_0x52dd98,_0x52dd98,0x0,Math['PI']/0x2,!0x1),_0x329a3f[_0x15b58b(0x170)](0x0,_0x1ea263),_0x329a3f[_0x15b58b(0x170)](0x0,_0x11e0e2),_0x329a3f[_0x15b58b(0x16a)](_0x11e0e2,_0x11e0e2,_0x11e0e2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x329a3f[_0x15b58b(0x23b)](),_0x5bfcab[_0x15b58b(0x1da)]&&(_0x329a3f[_0x15b58b(0xdf)](),_0x329a3f[_0x15b58b(0x368)]=_0x5bfcab[_0x15b58b(0x1da)],_0x5bfcab[_0x15b58b(0x1b5)]===_0x15b58b(0x1a3)?_0x329a3f['fill'](_0x15b58b(0x1a3)):_0x329a3f['fill'](),_0x329a3f['restore']());}class _0x21951b extends _0x5d4648[_0x1b7c9c(0x27f)]{constructor(_0x4b7e66,_0x2f8d86){const _0x4e67d5=_0x1b7c9c;super(_0x4b7e66,_0x2f8d86),_0x4c9541(this,'color'),_0x4c9541(this,'text'),(this[_0x4e67d5(0x182)]=_0x2f8d86==null?void 0x0:_0x2f8d86[_0x4e67d5(0x182)],this[_0x4e67d5(0x2c4)]=_0x2f8d86==null?void 0x0:_0x2f8d86[_0x4e67d5(0x2c4)]);}static['drawWith'](_0x25d919,_0x50dc81){const _0x889b4e=_0x1b7c9c,{text:_0x4b9576,color:_0x4d5540}=_0x50dc81;_0x25d919[_0x889b4e(0xdf)](),_0x25d919[_0x889b4e(0x14f)]=_0x889b4e(0x144);const _0x21d33f=_0x25d919[_0x889b4e(0x96)](_0x4b9576)[_0x889b4e(0x2c9)],_0x4717d7=Math['min'](_0x21d33f+0x2*_0x8033fd,_0x33d8a4);_0xddb01d(_0x25d919,{'height':_0x71402c,'radius':0x4,'width':_0x4717d7,'fill':_0x4d5540}),_0x25d919[_0x889b4e(0x368)]=_0x889b4e(0x129);const _0x1285c5=_0x8033fd,_0x5df793=_0x71402c-_0x443d37,_0xccd71=_0x33d8a4-0x2*_0x8033fd;if(_0x21d33f>_0xccd71){let _0x342fd2='',_0xe137e=0x0;for(const _0x2e6b0d of _0x4b9576){const _0x2a2c73=_0x25d919[_0x889b4e(0x96)](_0x2e6b0d)[_0x889b4e(0x2c9)];if(_0xe137e+_0x2a2c73<=_0xccd71-_0x25d919[_0x889b4e(0x96)](_0x889b4e(0x128))[_0x889b4e(0x2c9)])_0x342fd2+=_0x2e6b0d,_0xe137e+=_0x2a2c73;else{_0x342fd2+='...';break;}}_0x25d919[_0x889b4e(0x1de)](_0x342fd2,_0x1285c5,_0x5df793);}else _0x25d919[_0x889b4e(0x1de)](_0x4b9576,_0x1285c5,_0x5df793);_0x25d919['restore']();}[_0x1b7c9c(0x255)](_0x389cb3){const _0x5bfb26=_0x1b7c9c;_0x21951b[_0x5bfb26(0x29d)](_0x389cb3,this);}}const _0x2e6e25=_0x1b7c9c(0x27e),_0x14796e=_0x1b7c9c(0x33b),_0x14c544='collab-rect-range-',_0x4f5aab=0x6,_0x4fb22d=1.5,_0x3cdb7c=0x4,_0x15cbba=1.5,_0x3ce6a0=_0x1b7c9c(0x188);class _0x4356d9{constructor(_0x4b4762,_0x2cff38,_0x1c78fc,_0x224580){const _0x510036=_0x1b7c9c;_0x4c9541(this,_0x510036(0x262),[]),_0x4c9541(this,_0x510036(0x2fb),null),_0x4c9541(this,_0x510036(0x1ee),null),_0x4c9541(this,_0x510036(0x19c),null),_0x4c9541(this,_0x510036(0xff),null),_0x4c9541(this,'_eventUnsubscribe',null),(this[_0x510036(0x107)]=_0x4b4762,this[_0x510036(0x1d6)]=_0x2cff38,this[_0x510036(0x229)]=_0x1c78fc,this[_0x510036(0x1cb)]=_0x224580,this[_0x510036(0xca)]());}set[_0x1b7c9c(0x2a4)](_0x3eec50){const _0x1f853c=_0x1b7c9c;_0x3eec50?(this[_0x1f853c(0x19c)]&&this[_0x1f853c(0x19c)][_0x1f853c(0x36c)](),this['_textBubble']&&this[_0x1f853c(0x1ee)][_0x1f853c(0x35c)]()):(this[_0x1f853c(0x19c)]&&this[_0x1f853c(0x19c)][_0x1f853c(0x35c)](),this[_0x1f853c(0x1ee)]&&this['_textBubble']['hide']());}[_0x1b7c9c(0x351)](){const _0x5a690b=_0x1b7c9c;for(const _0xc3a150 of this['_shapes'])_0xc3a150['dispose']();this[_0x5a690b(0x1ee)]&&this[_0x5a690b(0x1ee)][_0x5a690b(0x351)](),this[_0x5a690b(0x19c)]&&this['_anchorDot']['dispose'](),this[_0x5a690b(0x2fb)]&&this[_0x5a690b(0x2fb)][_0x5a690b(0x351)](),this[_0x5a690b(0x2bc)]&&this[_0x5a690b(0x2bc)]();}[_0x1b7c9c(0xca)](){const _0x44307e=_0x1b7c9c;var _0x23b012;const {_docSkeleton:_0x3cd2b0,_document:_0x109a35}=this,{color:_0x23b3d6,name:_0x40aad2,ranges:_0x56ac2b}=this[_0x44307e(0x107)],_0x25fda5=_0x109a35[_0x44307e(0x330)](),{docsLeft:_0x1dcf6d,docsTop:_0x2aacc1}=_0x25fda5,_0x1e8c0e=new _0x272958['NodePositionConvertToCursor'](_0x25fda5,_0x3cd2b0);for(const {startOffset:_0x3ae7fd,endOffset:_0x3a4957,rangeType:_0x24e2f5,segmentId:_0x38ee6f,segmentPage:_0x436e26,collapsed:_0x325f79,isActive:_0x1a4fea}of _0x56ac2b){const _0x51f5e4=_0x3cd2b0[_0x44307e(0x191)](_0x3ae7fd,!0x0,_0x38ee6f,_0x436e26);let _0x4f5730=_0x3cd2b0[_0x44307e(0x191)](_0x3a4957,!0x0,_0x38ee6f,_0x436e26);if(_0x4f5730==null&&(_0x4f5730=_0x3cd2b0[_0x44307e(0x191)](_0x3a4957-0x1,!0x1,_0x38ee6f,_0x436e26)),_0x1a4fea){const {contentBoxPointGroup:_0x3d4c33}=_0x1e8c0e[_0x44307e(0x230)](_0x4f5730,_0x4f5730);if(_0x3d4c33['length']===0x0)continue;this[_0x44307e(0x2ac)](_0x23b3d6,_0x3d4c33,_0x1dcf6d,_0x2aacc1,_0x40aad2),this['_eventUnsubscribe']=this[_0x44307e(0xd3)]();}if(_0x51f5e4&&_0x4f5730){if(_0x24e2f5===_0x22484e['DOC_RANGE_TYPE'][_0x44307e(0xc3)]){const _0x976958=new _0x272958[(_0x44307e(0x1fc))](_0x25fda5,_0x3cd2b0),{pointGroup:_0x15d2df}=(_0x23b012=_0x976958[_0x44307e(0x230)](_0x51f5e4,_0x4f5730))!=null?_0x23b012:{};if(_0x15d2df==null||_0x15d2df[_0x44307e(0x222)]===0x0)continue;this[_0x44307e(0xa2)](_0x23b3d6,_0x15d2df,_0x1dcf6d,_0x2aacc1);}else{if(!_0x325f79){const {borderBoxPointGroup:_0x21833b}=_0x1e8c0e[_0x44307e(0x230)](_0x51f5e4,_0x4f5730);if(_0x21833b[_0x44307e(0x222)]===0x0)continue;this[_0x44307e(0xf0)](_0x23b3d6,_0x21833b,_0x1dcf6d,_0x2aacc1);}}}}}[_0x1b7c9c(0x2ac)](_0x55f01d,_0x3fbec4,_0x51955f,_0x1c0d08,_0x2cc460){const _0x9c2f15=_0x1b7c9c,_0x30e391=this[_0x9c2f15(0x130)](_0x3fbec4),{left:_0x29eb60,top:_0x167717,height:_0x3747b7}=_0x30e391,_0x3a8800=this[_0x9c2f15(0x2f5)](),_0x2d7b2c=_0x15cbba/_0x3a8800,_0x4cbea7=new _0x5d4648['Rect'](_0x2e6e25+_0x22484e[_0x9c2f15(0x2c0)](_0x4f5aab),{'left':_0x29eb60+_0x51955f-_0x2d7b2c,'top':_0x167717+_0x1c0d08,'height':_0x3747b7,'width':_0x4fb22d,'fill':_0x55f01d||_0x5d4648[_0x9c2f15(0x238)](_0x22484e[_0x9c2f15(0xfd)][_0x9c2f15(0x1cc)],0x0),'strokeWidth':_0x2d7b2c,'stroke':_0x3ce6a0,'evented':!0x0});this[_0x9c2f15(0x2fb)]=_0x4cbea7,this[_0x9c2f15(0x1d6)]['addObject'](_0x4cbea7,_0x272958[_0x9c2f15(0x252)]);const _0x3b1723=new _0x5d4648[(_0x9c2f15(0x1b2))](_0x2e6e25+_0x22484e['generateRandomId'](_0x4f5aab),{'left':_0x29eb60+_0x51955f-_0x2d7b2c,'top':_0x167717+_0x1c0d08-_0x3cdb7c/0x2,'height':_0x3cdb7c,'width':_0x3cdb7c,'fill':_0x55f01d||_0x5d4648[_0x9c2f15(0x238)](_0x22484e[_0x9c2f15(0xfd)][_0x9c2f15(0x1cc)],0x0),'strokeWidth':0x0,'stroke':_0x55f01d||_0x5d4648[_0x9c2f15(0x238)](_0x22484e[_0x9c2f15(0xfd)][_0x9c2f15(0x1cc)],0x0),'evented':!0x1});this[_0x9c2f15(0x19c)]=_0x3b1723,this['_scene']['addObject'](_0x3b1723,_0x272958[_0x9c2f15(0x252)]);const _0x581987=new _0x21951b(_0x2e6e25+_0x22484e[_0x9c2f15(0x2c0)](_0x4f5aab),{'left':_0x29eb60+_0x51955f-_0x2d7b2c,'top':_0x167717+_0x1c0d08-_0x71402c,'text':_0x2cc460,'color':_0x55f01d});this[_0x9c2f15(0x1ee)]=_0x581987,this[_0x9c2f15(0x1d6)][_0x9c2f15(0x186)](_0x581987,_0x272958['TEXT_RANGE_LAYER_INDEX']),this[_0x9c2f15(0x2a4)]=!0x1;}[_0x1b7c9c(0xd3)](){const _0x49d057=_0x1b7c9c,_0x2d888d=this['_anchor'][_0x49d057(0x106)][_0x49d057(0x260)](()=>{this['_hover']=!0x0;}),_0x3af6f9=this[_0x49d057(0x2fb)]['onPointerLeave$'][_0x49d057(0x260)](()=>{const _0x461a15=_0x49d057;this[_0x461a15(0xff)]&&clearTimeout(this[_0x461a15(0xff)]),this[_0x461a15(0xff)]=setTimeout(()=>{const _0xd4151b=_0x461a15;this[_0xd4151b(0x2a4)]=!0x1;},0x7d0);});return()=>{const _0x2b6d0e=_0x49d057;_0x2d888d[_0x2b6d0e(0x359)](),_0x3af6f9[_0x2b6d0e(0x359)]();};}[_0x1b7c9c(0xf0)](_0xffda33,_0x126b78,_0xba2c0b,_0x4133f2){const _0x160ec8=_0x1b7c9c,_0x995739=new _0x22484e[(_0x160ec8(0x25c))](_0xffda33)[_0x160ec8(0x11d)](0.2)['toRgbString'](),_0x411b43=new _0x5d4648['RegularPolygon'](_0x14796e+_0x22484e[_0x160ec8(0x2c0)](_0x4f5aab),{'pointsGroup':_0x126b78,'fill':_0x995739||_0x5d4648['getColor'](_0x22484e[_0x160ec8(0xfd)][_0x160ec8(0x1cc)],0.2),'left':_0xba2c0b,'top':_0x4133f2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x160ec8(0x262)]['push'](_0x411b43),this['_scene'][_0x160ec8(0x186)](_0x411b43,_0x272958[_0x160ec8(0x252)]);}['_drawRectRange'](_0x3045f9,_0x1dbd63,_0x31bf76,_0x5370d4){const _0x2f6e9f=_0x1b7c9c,_0x3f25e9=new _0x22484e[(_0x2f6e9f(0x25c))](_0x3045f9)['setAlpha'](0.2)[_0x2f6e9f(0x113)](),_0x1adcc9=new _0x5d4648[(_0x2f6e9f(0x334))](_0x14c544+_0x22484e[_0x2f6e9f(0x2c0)](_0x4f5aab),{'pointsGroup':_0x1dbd63,'fill':_0x3f25e9||_0x5d4648[_0x2f6e9f(0x238)](_0x22484e[_0x2f6e9f(0xfd)]['black'],0.2),'left':_0x31bf76,'top':_0x5370d4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f6e9f(0x262)][_0x2f6e9f(0x18d)](_0x1adcc9),this[_0x2f6e9f(0x1d6)][_0x2f6e9f(0x186)](_0x1adcc9,_0x272958['TEXT_RANGE_LAYER_INDEX']);}[_0x1b7c9c(0x130)](_0x2c0bb4){const _0x4505ad=_0x2c0bb4[0x0],_0x4006b0=_0x4505ad[0x0],_0x2d3373=_0x4505ad[0x2],{x:_0x45550d,y:_0x502ada}=_0x4006b0,{x:_0x4f0e9c,y:_0x477226}=_0x2d3373;return{'left':_0x45550d,'top':_0x502ada,'width':_0x4f0e9c-_0x45550d,'height':_0x477226-_0x502ada};}[_0x1b7c9c(0x2f5)](){const _0x501955=_0x1b7c9c,{scaleX:_0x4f0472,scaleY:_0x322341}=this[_0x501955(0x1d6)][_0x501955(0x12e)]();return Math[_0x501955(0xa9)](_0x4f0472,_0x322341);}}var _0x2c4978=Object[_0x1b7c9c(0xd4)],_0x40e5cb=(_0x58b17b,_0x5ec818,_0x34f59e,_0x363523)=>{const _0x14fba7=_0x1b7c9c;for(var _0x340f68=_0x363523>0x1?void 0x0:_0x363523?_0x2c4978(_0x5ec818,_0x34f59e):_0x5ec818,_0x43178d=_0x58b17b[_0x14fba7(0x222)]-0x1,_0x4be82c;_0x43178d>=0x0;_0x43178d--)(_0x4be82c=_0x58b17b[_0x43178d])&&(_0x340f68=_0x4be82c(_0x340f68)||_0x340f68);return _0x340f68;},_0x458449=(_0x4d6fc2,_0x442105)=>(_0x373e20,_0x40123e)=>_0x442105(_0x373e20,_0x40123e,_0x4d6fc2);let _0x204f48=class extends _0x22484e[_0x1b7c9c(0xcc)]{constructor(_0x57267a,_0xd63499,_0x362817,_0x4f37b4,_0x2bd014){const _0x5ad485=_0x1b7c9c;super(),_0x4c9541(this,_0x5ad485(0x1c1),[]),_0x4c9541(this,_0x5ad485(0x1a5),[]),(this['_context']=_0x57267a,this[_0x5ad485(0x2b7)]=_0xd63499,this['_collabCursorController']=_0x362817,this['_commandService']=_0x4f37b4,this[_0x5ad485(0x28e)]=_0x2bd014,this['_init']());}[_0x1b7c9c(0x307)](){const _0x355ef3=_0x1b7c9c,_0x50d1ed=this[_0x355ef3(0x23a)][_0x355ef3(0x270)],_0x157f2f=this['_docSkeletonManagerService'];this[_0x355ef3(0xb3)](_0xbc1b07[_0x355ef3(0x20c)]([this[_0x355ef3(0x159)][_0x355ef3(0x161)](_0x50d1ed),this[_0x355ef3(0x28e)]['currentTheme$']])[_0x355ef3(0x2b2)](_0x5918b6[_0x355ef3(0x289)](([_0x387c44,_0xed7bde])=>({'skeleton':_0x157f2f[_0x355ef3(0x138)](),'cursors':[..._0x387c44[_0x355ef3(0x1d5)]()][_0x355ef3(0x26d)](_0x363280=>({..._0x363280,'color':this[_0x355ef3(0x28e)]['getColorFromTheme'](_0x363280['color'])}))})))[_0x355ef3(0x2d7)](_0x39612f=>{const _0xdf9421=_0x355ef3;if(this[_0xdf9421(0x12d)](),_0x39612f){const {skeleton:_0x1aa0e7,cursors:_0x212232}=_0x39612f;this[_0xdf9421(0x14a)](_0x1aa0e7,_0x212232);}})),this[_0x355ef3(0x24e)](),this['_initCommandExecutedListener']();}[_0x1b7c9c(0x14a)](_0x195c1d,_0x38dd5f){const _0x28afae=_0x1b7c9c,{scene:_0x5ec08e,mainComponent:_0x13ec7f}=this[_0x28afae(0x23a)],_0x514cde=_0x38dd5f[_0x28afae(0x289)](_0x4a43c3=>new _0x4356d9(_0x4a43c3,_0x5ec08e,_0x195c1d,_0x13ec7f));this['_cursorShapes']=_0x514cde,this[_0x28afae(0x1a5)]=_0x38dd5f;}[_0x1b7c9c(0x1ea)](){const _0x44349f=_0x1b7c9c;this[_0x44349f(0x12d)]();const {scene:_0x1228f3,mainComponent:_0x8fa4f5}=this[_0x44349f(0x23a)],_0x1f935f=this[_0x44349f(0x2b7)]['getSkeleton'](),_0x1c7fa9=this[_0x44349f(0x1a5)][_0x44349f(0x289)](_0x41c7be=>new _0x4356d9(_0x41c7be,_0x1228f3,_0x1f935f,_0x8fa4f5));this[_0x44349f(0x1c1)]=_0x1c7fa9;}[_0x1b7c9c(0x12d)](){const _0x2dd5ea=_0x1b7c9c;this[_0x2dd5ea(0x1c1)][_0x2dd5ea(0x24f)](_0xf555fb=>_0xf555fb[_0x2dd5ea(0x351)]()),this[_0x2dd5ea(0x1c1)]=[];}[_0x1b7c9c(0xae)](){const _0x12a8af=_0x1b7c9c,_0x113a45=[_0x272958['SetDocZoomRatioOperation']['id']];this[_0x12a8af(0xb3)](this[_0x12a8af(0x367)][_0x12a8af(0x22b)](_0x4a7e3e=>{const _0x5d18cd=_0x12a8af;_0x113a45[_0x5d18cd(0x21e)](_0x4a7e3e['id'])&&_0x4a7e3e['params'][_0x5d18cd(0x270)]===this['_context']['unitId']&&this[_0x5d18cd(0x1ea)]();}));}[_0x1b7c9c(0x24e)](){const _0x2fb675=_0x1b7c9c;this[_0x2fb675(0xb3)](_0x22484e[_0x2fb675(0x2cb)](this[_0x2fb675(0x23a)][_0x2fb675(0x32c)][_0x2fb675(0x1e3)])[_0x2fb675(0x2b2)](_0x5918b6[_0x2fb675(0xea)](_0x15651a=>_0x15651a[_0x2fb675(0x306)]===_0x5d4648[_0x2fb675(0x143)][_0x2fb675(0x22e)]),_0x5918b6[_0x2fb675(0x2f7)](0x10))[_0x2fb675(0x2d7)](()=>{const _0x20ec17=_0x2fb675;this[_0x20ec17(0x1ea)]();}));}};_0x204f48=_0x40e5cb([_0x458449(0x1,_0x22484e['Inject'](_0x54ce95[_0x1b7c9c(0x20b)])),_0x458449(0x2,_0x22484e['Inject'](_0xc5a59)),_0x458449(0x3,_0x22484e[_0x1b7c9c(0x36d)]),_0x458449(0x4,_0x22484e[_0x1b7c9c(0xda)](_0x22484e[_0x1b7c9c(0x35e)]))],_0x204f48);const _0x4bf9d9=0x1,_0x5cc62c=1.5;class _0x542953 extends _0x5d4648[_0x1b7c9c(0x27f)]{constructor(_0x4b8cc1,_0x5b71d1){const _0x327db5=_0x1b7c9c;super(_0x4b8cc1,_0x5b71d1),_0x4c9541(this,_0x327db5(0xc8)),_0x4c9541(this,_0x327db5(0x342),!0x1),_0x4c9541(this,_0x327db5(0x22a)),_0x4c9541(this,_0x327db5(0x103),''),_0x4c9541(this,'_labelPosition',_0x327db5(0x189)),_0x4c9541(this,_0x327db5(0x146)),(_0x5b71d1&&this['setShapeProps'](_0x5b71d1),this[_0x327db5(0x106)][_0x327db5(0x260)](()=>this[_0x327db5(0x26f)]({'hovered':!0x0})),this[_0x327db5(0x1c2)]['subscribeEvent'](()=>this[_0x327db5(0x26f)]({'hovered':!0x1})));}[_0x1b7c9c(0x26f)](_0x17b2a9){const _0x4b582d=_0x1b7c9c;var _0x9dbea4,_0x1463eb,_0x66fb78,_0x12b1ae,_0x4ac25b,_0x199a9c;this[_0x4b582d(0xc8)]=(_0x9dbea4=_0x17b2a9[_0x4b582d(0x182)])!=null?_0x9dbea4:this[_0x4b582d(0xc8)],this[_0x4b582d(0x342)]=(_0x1463eb=_0x17b2a9[_0x4b582d(0x17a)])!=null?_0x1463eb:this[_0x4b582d(0x342)],this[_0x4b582d(0x22a)]=(_0x66fb78=_0x17b2a9['range'])!=null?_0x66fb78:this[_0x4b582d(0x22a)],this['_name']=(_0x12b1ae=_0x17b2a9[_0x4b582d(0x317)])!=null?_0x12b1ae:this[_0x4b582d(0x103)],this[_0x4b582d(0x153)]=(_0x4ac25b=_0x17b2a9['labelPosition'])!=null?_0x4ac25b:this['_labelPosition'],this['_backgroundColor']=(_0x199a9c=_0x17b2a9[_0x4b582d(0x263)])!=null?_0x199a9c:this[_0x4b582d(0x146)],this[_0x4b582d(0x221)]({'width':_0x17b2a9[_0x4b582d(0x2c9)],'height':_0x17b2a9[_0x4b582d(0x115)]});}[_0x1b7c9c(0x136)](_0x105a0a){const _0x2181f7=_0x1b7c9c,{row:_0x6ec835,column:_0x1f5e1f}=_0x105a0a;if(_0x6ec835>=this[_0x2181f7(0x22a)][_0x2181f7(0xc6)]&&_0x6ec835<=this[_0x2181f7(0x22a)]['endRow']&&_0x1f5e1f>=this[_0x2181f7(0x22a)][_0x2181f7(0x2c1)]&&_0x1f5e1f<=this['_range'][_0x2181f7(0x290)]){this[_0x2181f7(0x26f)]({'hovered':!0x0});return;}this[_0x2181f7(0x26f)]({'hovered':!0x1});}[_0x1b7c9c(0x336)](_0x1026fc){return!0x1;}['_draw'](_0x3377b5){const _0x3438fd=_0x1b7c9c;_0x5d4648[_0x3438fd(0x1b2)]['drawWith'](_0x3377b5,{'width':this['width'],'height':this[_0x3438fd(0x115)],'strokeWidth':_0x5cc62c,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x3438fd(0x146)]}),this['_hovered']&&(_0x3377b5[_0x3438fd(0xdf)](),_0x3377b5[_0x3438fd(0x1c5)](0x1,0x0,0x0,0x1,this['width'],this[_0x3438fd(0x153)]===_0x3438fd(0x283)?0x0:-_0x71402c),_0x21951b[_0x3438fd(0x29d)](_0x3377b5,{'text':this[_0x3438fd(0x103)],'color':this[_0x3438fd(0xc8)]}),_0x3377b5[_0x3438fd(0x258)]());}}var _0x31325a=Object[_0x1b7c9c(0xd4)],_0x298369=(_0x270681,_0x151e01,_0x2a1dfe,_0x2af50c)=>{const _0x1c3e3a=_0x1b7c9c;for(var _0x268c9e=_0x2af50c>0x1?void 0x0:_0x2af50c?_0x31325a(_0x151e01,_0x2a1dfe):_0x151e01,_0x3548b6=_0x270681[_0x1c3e3a(0x222)]-0x1,_0x41a925;_0x3548b6>=0x0;_0x3548b6--)(_0x41a925=_0x270681[_0x3548b6])&&(_0x268c9e=_0x41a925(_0x268c9e)||_0x268c9e);return _0x268c9e;},_0x43c186=(_0x37ca1b,_0x2beb44)=>(_0x3cc58c,_0x189a9d)=>_0x2beb44(_0x3cc58c,_0x189a9d,_0x37ca1b);const _0x4df2cc=0x1389;let _0x37942c=class extends _0x22484e[_0x1b7c9c(0xcc)]{constructor(_0x2086cf,_0x5e4a49,_0x3b3131,_0x24950d){const _0x90afc1=_0x1b7c9c;super(),_0x4c9541(this,_0x90afc1(0x1a5),new Set()),_0x4c9541(this,'_lastPointer',null),(this[_0x90afc1(0x23a)]=_0x2086cf,this['_sheetSkeletonManagerService']=_0x5e4a49,this[_0x90afc1(0x159)]=_0x3b3131,this[_0x90afc1(0x28e)]=_0x24950d,this['_init']());}[_0x1b7c9c(0x307)](){const _0x3b2270=_0x1b7c9c;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3b2270(0x2b2)](_0x5918b6[_0x3b2270(0x362)](this['dispose$']),_0x5918b6[_0x3b2270(0x281)](_0x357cb3=>{const _0x49ccaf=_0x3b2270;if(_0x357cb3){const _0x12902f=_0x357cb3[_0x49ccaf(0x1f0)];return _0xbc1b07['combineLatest'](this[_0x49ccaf(0x159)]['getCollabCursors$'](this[_0x49ccaf(0x23a)][_0x49ccaf(0x270)]),this[_0x49ccaf(0x28e)]['currentTheme$'])[_0x49ccaf(0x2b2)](_0x5918b6['map'](([_0x12824b,_0x23a522])=>{const _0x57b079=_0x49ccaf,_0x4ee155=new Map();return _0x12824b[_0x57b079(0x24f)]((_0x58afee,_0x563e7a)=>{const _0x36ee8c=_0x57b079;if(_0x58afee[_0x36ee8c(0x2eb)]===_0x12902f){const _0x570da4={..._0x58afee};_0x570da4[_0x36ee8c(0x182)]=this[_0x36ee8c(0x28e)][_0x36ee8c(0xfe)](_0x58afee[_0x36ee8c(0x182)]),_0x4ee155['set'](_0x563e7a,_0x570da4);}}),{'skeleton':_0x357cb3,'cursors':_0x4ee155};}));}return _0xbc1b07['of']({'skeleton':null,'cursors':new Map()});}))[_0x3b2270(0x2d7)](({skeleton:_0x43af3c,cursors:_0x2bad57})=>{const _0x1351d0=_0x3b2270;this[_0x1351d0(0x12d)](),_0x43af3c&&this[_0x1351d0(0x14a)](_0x43af3c,_0x2bad57);}),this[_0x3b2270(0x148)]['currentSkeleton$'][_0x3b2270(0x2d7)](_0x53284f=>{const _0x141454=_0x3b2270;if(_0x53284f==null)return;const {skeleton:_0x26de03}=_0x53284f,{scene:_0x45131a}=this['_context'];_0x45131a[_0x141454(0x19d)][_0x141454(0x260)](_0x22484e[_0x141454(0x21b)](_0x23d447=>{const _0x5289f3=_0x141454;var _0x15ce41,_0xf02270;const {offsetX:_0x2fbcbf,offsetY:_0x5d0443}=_0x23d447,{x:_0x7b55c5,y:_0x93a0e6}=_0x45131a[_0x5289f3(0x294)](_0x5d4648[_0x5289f3(0x319)][_0x5289f3(0xb9)]([_0x2fbcbf,_0x5d0443])),{scaleX:_0x2f5f02,scaleY:_0x2cec20}=_0x45131a[_0x5289f3(0x12e)](),_0x1b0d6b=_0x45131a[_0x5289f3(0x291)](_0x5d4648[_0x5289f3(0x25b)]['VIEW_MAIN']),_0x244e5c=_0x45131a[_0x5289f3(0xfa)](_0x5d4648[_0x5289f3(0x319)]['FromArray']([_0x7b55c5,_0x93a0e6]),_0x1b0d6b),_0x340e1b=_0x26de03[_0x5289f3(0x228)](_0x2fbcbf,_0x5d0443,_0x2f5f02,_0x2cec20,_0x244e5c);((_0x15ce41=this[_0x5289f3(0x142)])==null?void 0x0:_0x15ce41[_0x5289f3(0xa5)])===_0x340e1b['column']&&((_0xf02270=this[_0x5289f3(0x142)])==null?void 0x0:_0xf02270[_0x5289f3(0x200)])===_0x340e1b[_0x5289f3(0x200)]||this[_0x5289f3(0x1a5)][_0x5289f3(0x24f)](_0x1b72f0=>{const _0x721174=_0x5289f3;_0x1b72f0[_0x721174(0x136)](_0x340e1b);});},0x64));});}[_0x1b7c9c(0x14a)](_0x5b35a,_0x2066c3){const _0x36060a=_0x1b7c9c;var _0x5203e2;const _0x28a8e7=(_0x5203e2=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x5203e2['skeleton'];if(!_0x28a8e7)return;const _0x101d7f=this['_getSheetObject']();if(!_0x101d7f)return;this['_cursors'][_0x36060a(0x24f)](_0x46783a=>{const _0x456a40=_0x36060a;_0x46783a[_0x456a40(0x156)]();});const {scene:_0x510a3b}=_0x101d7f,_0x2b2aaa=_0x390767(Array[_0x36060a(0x233)](_0x2066c3[_0x36060a(0x1d5)]()))[_0x36060a(0x289)](_0x4612c4=>{const _0x519322=_0x36060a,{color:_0xe2a76c,range:_0x377293,name:_0x2025f8,selection:_0xc4870c,sheetID:_0x78ce0a}=_0x4612c4,{startColumn:_0x3968b3,startRow:_0x3db50a,endColumn:_0x538cf9,endRow:_0x89f881}=_0x377293,_0x262523=_0x1558d9[_0x519322(0x2ae)](_0x3db50a,_0x3968b3,_0x510a3b,_0x28a8e7),_0x2ab4c7=_0x1558d9[_0x519322(0x2ae)](_0x89f881,_0x538cf9,_0x510a3b,_0x28a8e7),{columnHeaderHeightAndMarginTop:_0x5677bd}=_0x28a8e7,{startX:_0x967f2d,startY:_0x2cff0f}=_0x262523,{endX:_0x4b8cca,endY:_0x284e2c}=_0x2ab4c7,_0x35e888=_0x4b8cca-_0x967f2d,_0x259be2=_0x284e2c-_0x2cff0f,_0x4e5b83={'labelPosition':_0x2cff0f-_0x5677bd>=_0x71402c?'top':'bottom','sheetID':_0x78ce0a,'range':_0x377293,'color':_0xe2a76c,'name':_0x2025f8,'selection':_0xc4870c,'left':_0x967f2d,'top':_0x2cff0f,'width':_0x35e888,'height':_0x259be2,'evented':!0x1,'zIndex':_0x4df2cc};return new _0x542953(_0x2025f8,_0x4e5b83);});_0x510a3b[_0x36060a(0x2f4)](_0x2b2aaa,_0x4bf9d9),this['_cursors']=new Set(_0x2b2aaa);}[_0x1b7c9c(0x12d)](){const _0x5b422c=_0x1b7c9c;var _0x4b681d;(_0x4b681d=this[_0x5b422c(0x1a5)])==null||_0x4b681d[_0x5b422c(0x24f)](_0x1c2a46=>_0x1c2a46[_0x5b422c(0x351)]());}[_0x1b7c9c(0x1fa)](){const _0x171bc6=_0x1b7c9c;return _0x1558d9[_0x171bc6(0x1c3)](this[_0x171bc6(0x23a)][_0x171bc6(0x297)],this[_0x171bc6(0x23a)]);}};_0x37942c=_0x298369([_0x43c186(0x1,_0x22484e[_0x1b7c9c(0xda)](_0x1558d9[_0x1b7c9c(0x28c)])),_0x43c186(0x2,_0x22484e['Inject'](_0xc5a59)),_0x43c186(0x3,_0x22484e[_0x1b7c9c(0xda)](_0x22484e[_0x1b7c9c(0x35e)]))],_0x37942c);function _0x390767(_0x34cbbe){const _0xf5fb43=_0x1b7c9c,_0xe8764b=new Map();return _0x34cbbe[_0xf5fb43(0x24f)](_0x1e8aa3=>{const _0x28ff18=_0xf5fb43;if(_0xe8764b[_0x28ff18(0x213)](_0x1e8aa3[_0x28ff18(0x16b)])){const _0x14d3d8=_0xe8764b[_0x28ff18(0x16d)](_0x1e8aa3[_0x28ff18(0x16b)]);_0x14d3d8['name']+=',\x20'+_0x1e8aa3[_0x28ff18(0x317)];}else _0xe8764b['set'](_0x1e8aa3[_0x28ff18(0x16b)],_0x1e8aa3);}),Array[_0xf5fb43(0x233)](_0xe8764b[_0xf5fb43(0x1d5)]());}var _0x3162f4=Object[_0x1b7c9c(0xd4)],_0x178104=(_0xf32621,_0x399f32,_0x278654,_0x4e7675)=>{const _0x598275=_0x1b7c9c;for(var _0x30ebc0=_0x4e7675>0x1?void 0x0:_0x4e7675?_0x3162f4(_0x399f32,_0x278654):_0x399f32,_0x33f4f2=_0xf32621[_0x598275(0x222)]-0x1,_0x14bd45;_0x33f4f2>=0x0;_0x33f4f2--)(_0x14bd45=_0xf32621[_0x33f4f2])&&(_0x30ebc0=_0x14bd45(_0x30ebc0)||_0x30ebc0);return _0x30ebc0;},_0x479fa1=(_0x591c48,_0x5518cc)=>(_0xb5ef06,_0x403edd)=>_0x5518cc(_0xb5ef06,_0x403edd,_0x591c48);let _0x2de646=class extends _0x22484e[_0x1b7c9c(0xf1)]{constructor(_0x515284,_0x58b08d,_0x4fdffb,_0x24a719,_0x307199,_0x345a55){const _0x80fa22=_0x1b7c9c;super(),this[_0x80fa22(0x274)]=_0x515284,this[_0x80fa22(0x34d)]=_0x58b08d,this['_collaborationUIEventService']=_0x4fdffb,this[_0x80fa22(0xd0)]=_0x24a719,this[_0x80fa22(0x108)]=_0x307199,this['_localeService']=_0x345a55,this['_setupBeforeClosingHandler'](),this[_0x80fa22(0xcd)]();}[_0x1b7c9c(0x29b)](){const _0x137ed1=_0x1b7c9c;this['disposeWithMe'](this['_beforeCloseService'][_0x137ed1(0x2ea)](()=>{const _0x15aad8=_0x137ed1;if(this['_localCacheService'][_0x15aad8(0x236)][_0x15aad8(0xb5)])return this[_0x15aad8(0xad)]['t'](_0x15aad8(0x13a));}));}[_0x1b7c9c(0xcd)](){const _0x466f26=_0x1b7c9c;this[_0x466f26(0xb3)](this[_0x466f26(0x140)][_0x466f26(0x261)][_0x466f26(0x2d7)](_0x1ecd14=>{const _0x2a9b42=_0x466f26;_0x1ecd14['id']===_0x23abc7[_0x2a9b42(0x315)][_0x2a9b42(0x2c7)]&&this['_messageService'][_0x2a9b42(0x35c)]({'type':_0x7eba41['MessageType'][_0x2a9b42(0x296)],'content':this[_0x2a9b42(0xad)]['t'](_0x2a9b42(0x24a))}),_0x1ecd14['id']===_0x23abc7['CollaborationUIEventId'][_0x2a9b42(0x1a9)]&&this[_0x2a9b42(0xd0)][_0x2a9b42(0x35c)]({'type':_0x7eba41['MessageType'][_0x2a9b42(0x296)],'content':this[_0x2a9b42(0xad)]['t'](_0x2a9b42(0x345))}),_0x1ecd14['id']===_0x23abc7['CollaborationUIEventId'][_0x2a9b42(0x1ad)]&&this['_notificationService']['show']({'title':this['_localeService']['t'](_0x2a9b42(0xb2)),'content':this['_localeService']['t'](_0x2a9b42(0x15a)),'type':_0x2a9b42(0x264),'duration':0x0}),_0x1ecd14['id']===_0x23abc7[_0x2a9b42(0x315)][_0x2a9b42(0x205)]&&this[_0x2a9b42(0xd0)][_0x2a9b42(0x35c)]({'type':_0x7eba41[_0x2a9b42(0x13c)][_0x2a9b42(0x340)],'content':this[_0x2a9b42(0xad)]['t']('collaboration.closeRoom')+'('+_0x1ecd14['data']+')'}),_0x1ecd14['id']===_0x23abc7['CollaborationUIEventId'][_0x2a9b42(0x1e9)]&&this[_0x2a9b42(0xd0)]['show']({'type':_0x7eba41[_0x2a9b42(0x13c)][_0x2a9b42(0x296)],'content':this[_0x2a9b42(0xad)]['t'](_0x1ecd14['data']||'')}),_0x1ecd14['id']===_0x23abc7['CollaborationUIEventId'][_0x2a9b42(0x273)]&&this[_0x2a9b42(0xd0)][_0x2a9b42(0x35c)]({'type':_0x7eba41[_0x2a9b42(0x13c)]['Warning'],'content':this[_0x2a9b42(0xad)]['t'](_0x2a9b42(0x12b))}),_0x1ecd14['id']===_0x23abc7['CollaborationUIEventId'][_0x2a9b42(0x309)]&&this[_0x2a9b42(0xd0)]['show']({'type':_0x7eba41[_0x2a9b42(0x13c)][_0x2a9b42(0x340)],'content':this[_0x2a9b42(0xad)]['t'](_0x2a9b42(0x1df))}),_0x1ecd14['id']===_0x23abc7['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2a9b42(0xd0)][_0x2a9b42(0x35c)]({'type':_0x7eba41[_0x2a9b42(0x13c)][_0x2a9b42(0x340)],'content':this[_0x2a9b42(0xad)]['t'](_0x2a9b42(0x256))});}));}};_0x2de646=_0x178104([_0x479fa1(0x0,_0x4bfddd['IBeforeCloseService']),_0x479fa1(0x1,_0x23abc7['ILocalCacheService']),_0x479fa1(0x2,_0x22484e[_0x1b7c9c(0xda)](_0x23abc7[_0x1b7c9c(0x365)])),_0x479fa1(0x3,_0x4bfddd['IMessageService']),_0x479fa1(0x4,_0x4bfddd[_0x1b7c9c(0x11e)]),_0x479fa1(0x5,_0x22484e[_0x1b7c9c(0xda)](_0x22484e[_0x1b7c9c(0x347)]))],_0x2de646);const _0x3c79e9=_0x1b7c9c(0x231),_0x9cde43={};var _0x3d1d5b=Object[_0x1b7c9c(0xd4)],_0x5c0d41=(_0x2e83a8,_0x5cce12,_0xcdc7cf,_0x175afc)=>{const _0x4044d6=_0x1b7c9c;for(var _0x39f53a=_0x175afc>0x1?void 0x0:_0x175afc?_0x3d1d5b(_0x5cce12,_0xcdc7cf):_0x5cce12,_0xf0b88d=_0x2e83a8[_0x4044d6(0x222)]-0x1,_0x5bb2a8;_0xf0b88d>=0x0;_0xf0b88d--)(_0x5bb2a8=_0x2e83a8[_0xf0b88d])&&(_0x39f53a=_0x5bb2a8(_0x39f53a)||_0x39f53a);return _0x39f53a;},_0x5d4d4f=(_0x4487c1,_0x2868d3)=>(_0xfa12a7,_0x35ec03)=>_0x2868d3(_0xfa12a7,_0x35ec03,_0x4487c1);let _0x5d5b81=class{constructor(_0x4681cb,_0x2de4f4){const _0x184f1c=_0x1b7c9c;this[_0x184f1c(0x304)]=_0x4681cb,this[_0x184f1c(0x12a)]=_0x2de4f4;}['transformIMECache'](_0x2926b3){const _0x37f31b=_0x1b7c9c;this[_0x37f31b(0x1b4)](_0x2926b3),this[_0x37f31b(0xb1)](_0x2926b3);}[_0x1b7c9c(0x308)](_0x5953fe){const _0xe1ef21=_0x1b7c9c,{unitID:_0x39568b}=_0x5953fe,_0x352072=this['_renderManagerService']['getRenderById'](_0x39568b)['with'](_0x272958['DocIMEInputManagerService']),{redoCache:_0x18b61f}=_0x352072[_0xe1ef21(0x181)]();if(_0x18b61f[_0xe1ef21(0x222)]===0x0)return _0x5953fe;let _0x406f4c=_0x22484e[_0xe1ef21(0x1aa)]['deepClone'](_0x5953fe[_0xe1ef21(0x114)][0x0]);for(let _0xb78f33=0x0;_0xb78f33<_0x18b61f[_0xe1ef21(0x222)];_0xb78f33++){const _0x273b64={'id':_0xe1ef21(0x302),'params':{..._0x18b61f[_0xb78f33]}},_0x5f094e=this[_0xe1ef21(0x304)][_0xe1ef21(0x10e)](_0x406f4c,_0x273b64,!0x1);if(_0x4ab096[_0xe1ef21(0x14e)](_0x5f094e))throw _0x5f094e[_0xe1ef21(0x264)];_0x406f4c=_0x5f094e[_0xe1ef21(0x257)];}return{..._0x22484e[_0xe1ef21(0x1aa)][_0xe1ef21(0x33f)](_0x5953fe),'mutations':[_0x406f4c]};}[_0x1b7c9c(0x1b4)](_0x1c5816){const _0x4b5b4a=_0x1b7c9c,{unitID:_0x1160ef}=_0x1c5816,_0x3527a2=this[_0x4b5b4a(0x12a)][_0x4b5b4a(0xac)](_0x1160ef)['with'](_0x272958['DocIMEInputManagerService']),{undoCache:_0x2ea05c,redoCache:_0x5b9587}=_0x3527a2[_0x4b5b4a(0x181)]();if(_0x2ea05c[_0x4b5b4a(0x222)]===0x0||_0x5b9587[_0x4b5b4a(0x222)]===0x0)return;const _0x114976=[],_0x2c4fc9=[];let _0x451f3f=_0x22484e[_0x4b5b4a(0x1aa)]['deepClone'](_0x1c5816[_0x4b5b4a(0x114)][0x0]),_0x15109a=_0x22484e[_0x4b5b4a(0x1aa)][_0x4b5b4a(0x33f)](_0x1c5816[_0x4b5b4a(0x114)][0x0]);for(let _0x13b660=_0x2ea05c['length']-0x1;_0x13b660>=0x0;_0x13b660--){const _0x222bf4={'id':_0x4b5b4a(0x302),'params':{..._0x2ea05c[_0x13b660]}},_0x4e0647={'id':_0x4b5b4a(0x302),'params':{..._0x5b9587[_0x13b660]}},_0x258534=this[_0x4b5b4a(0x304)][_0x4b5b4a(0x10e)](_0x451f3f,_0x222bf4,!0x1),_0xf5bd43=this[_0x4b5b4a(0x304)][_0x4b5b4a(0x10e)](_0x15109a,_0x4e0647,!0x1);if(_0x4ab096['isTransformMutationFailure'](_0x258534))throw _0x258534[_0x4b5b4a(0x264)];if(_0x4ab096[_0x4b5b4a(0x14e)](_0xf5bd43))throw _0xf5bd43[_0x4b5b4a(0x264)];_0x114976[_0x4b5b4a(0x19e)](_0x258534[_0x4b5b4a(0x25f)][_0x4b5b4a(0x21d)]),_0x2c4fc9['unshift'](_0xf5bd43[_0x4b5b4a(0x25f)][_0x4b5b4a(0x21d)]),_0x451f3f=_0x258534[_0x4b5b4a(0x257)],_0x15109a=_0xf5bd43[_0x4b5b4a(0x257)];}_0x3527a2[_0x4b5b4a(0x20e)]({'undoCache':_0x114976,'redoCache':_0x2c4fc9});}[_0x1b7c9c(0xb1)](_0x49c0a3){const _0x2d319a=_0x1b7c9c,{unitID:_0x15c32b}=_0x49c0a3,_0x7b3e3d=this[_0x2d319a(0x12a)][_0x2d319a(0xac)](_0x15c32b)[_0x2d319a(0x24d)](_0x272958['DocIMEInputManagerService']),_0x533a77=_0x7b3e3d[_0x2d319a(0x1bb)]();if(_0x533a77==null)return;const _0x1c38cd=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x49c0a3[_0x2d319a(0x125)],'actions':null,'textRanges':[_0x533a77]}}],_0x58afce=this[_0x2d319a(0x304)][_0x2d319a(0x1f2)](_0x49c0a3,_0x1c38cd);if(!_0x4ab096[_0x2d319a(0x175)](_0x58afce))throw _0x58afce[_0x2d319a(0x264)];const _0x5e421a=_0x58afce[_0x2d319a(0x25f)][0x0][_0x2d319a(0x21d)]['textRanges'];Array[_0x2d319a(0x1b9)](_0x5e421a)&&_0x5e421a[_0x2d319a(0x222)]&&_0x7b3e3d['setActiveRange'](_0x5e421a[0x0]);}};_0x5d5b81=_0x5c0d41([_0x5d4d4f(0x0,_0x4ab096[_0x1b7c9c(0x2b5)]),_0x5d4d4f(0x1,_0x5d4648[_0x1b7c9c(0x208)])],_0x5d5b81);var _0x1a9cba=Object[_0x1b7c9c(0xd4)],_0x13671a=(_0x37d2b7,_0x44400b,_0x499ee5,_0x52cac8)=>{for(var _0x1aed30=_0x52cac8>0x1?void 0x0:_0x52cac8?_0x1a9cba(_0x44400b,_0x499ee5):_0x44400b,_0x3d327e=_0x37d2b7['length']-0x1,_0x1b65fd;_0x3d327e>=0x0;_0x3d327e--)(_0x1b65fd=_0x37d2b7[_0x3d327e])&&(_0x1aed30=_0x1b65fd(_0x1aed30)||_0x1aed30);return _0x1aed30;},_0x776dc3=(_0x1fb481,_0x7ddce7)=>(_0x460d94,_0x6deff3)=>_0x7ddce7(_0x460d94,_0x6deff3,_0x1fb481);let _0x183367=class{constructor(_0x5cb8ee,_0x1fcd8a,_0x195bba){const _0x2d759f=_0x1b7c9c;this[_0x2d759f(0x1c9)]=_0x5cb8ee,this['_transformService']=_0x1fcd8a,this[_0x2d759f(0xdb)]=_0x195bba;}[_0x1b7c9c(0x184)](_0xf8fe7){const _0x46eb00=_0x1b7c9c;this[_0x46eb00(0x1af)](_0xf8fe7);}[_0x1b7c9c(0x308)](_0x3b0ac0){const _0xfef6fa=_0x1b7c9c,{unitID:_0xc8ba2c}=_0x3b0ac0,{collaboration:_0x4d4d12}=this[_0xfef6fa(0xdb)][_0xfef6fa(0x19a)](_0xc8ba2c);if(_0x4d4d12[_0xfef6fa(0x222)]===0x0)return _0x3b0ac0;let _0x37db80=_0x22484e['Tools'][_0xfef6fa(0x33f)](_0x3b0ac0[_0xfef6fa(0x114)][0x0]);for(let _0x49642b=0x0;_0x49642b<_0x4d4d12[_0xfef6fa(0x222)];_0x49642b++){const _0x130564={'id':_0xfef6fa(0x302),'params':{'unitId':_0x4d4d12[_0x49642b][_0xfef6fa(0x270)],..._0x4d4d12[_0x49642b][_0xfef6fa(0x1ce)]}},_0x436260=this[_0xfef6fa(0x304)]['transformMutation'](_0x37db80,_0x130564,!0x1);if(_0x4ab096['isTransformMutationFailure'](_0x436260))throw _0x436260[_0xfef6fa(0x264)];_0x37db80=_0x436260[_0xfef6fa(0x257)];}return{..._0x22484e[_0xfef6fa(0x1aa)]['deepClone'](_0x3b0ac0),'mutations':[_0x37db80]};}['_transformHistoryAndStateStack'](_0xdd4ac5){const _0x4b8800=_0x1b7c9c,{unitID:_0x37cda2}=_0xdd4ac5,{history:_0x129243,collaboration:_0x555abe}=this[_0x4b8800(0xdb)][_0x4b8800(0x19a)](_0x37cda2);if(_0x129243[_0x4b8800(0x222)]===0x0&&_0x555abe[_0x4b8800(0x222)]===0x0)return;const _0x53f016=[],_0x2457fa=[];let _0x263d8a=_0x22484e[_0x4b8800(0x1aa)][_0x4b8800(0x33f)](_0xdd4ac5[_0x4b8800(0x114)][0x0]),_0x1ec409=_0x22484e[_0x4b8800(0x1aa)][_0x4b8800(0x33f)](_0xdd4ac5['mutations'][0x0]);for(let _0x133f46=_0x129243[_0x4b8800(0x222)]-0x1;_0x133f46>=0x0;_0x133f46--){const _0x23f4de={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x129243[_0x133f46]['unitId'],..._0x129243[_0x133f46][_0x4b8800(0x2f1)]}},_0x3301db={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x129243[_0x133f46]['unitId'],..._0x129243[_0x133f46][_0x4b8800(0x1ce)]}},_0xa42d2d=this[_0x4b8800(0x304)][_0x4b8800(0x10e)](_0x263d8a,_0x23f4de,!0x1),_0x3bf6a2=this['_transformService']['transformMutation'](_0x1ec409,_0x3301db,!0x1);if(_0x4ab096[_0x4b8800(0x14e)](_0xa42d2d))throw _0xa42d2d[_0x4b8800(0x264)];if(_0x4ab096[_0x4b8800(0x14e)](_0x3bf6a2))throw _0x3bf6a2[_0x4b8800(0x264)];_0x53f016[_0x4b8800(0x19e)]({..._0x129243[_0x133f46],'undoState':_0xa42d2d['m2Prime'][_0x4b8800(0x21d)],'redoState':_0x3bf6a2['m2Prime'][_0x4b8800(0x21d)]}),_0x263d8a=_0xa42d2d[_0x4b8800(0x257)],_0x1ec409=_0x3bf6a2['m1Prime'];}_0x263d8a=_0x22484e['Tools'][_0x4b8800(0x33f)](_0xdd4ac5[_0x4b8800(0x114)][0x0]),_0x1ec409=_0x22484e[_0x4b8800(0x1aa)][_0x4b8800(0x33f)](_0xdd4ac5['mutations'][0x0]);for(let _0x500dc7=_0x555abe[_0x4b8800(0x222)]-0x1;_0x500dc7>=0x0;_0x500dc7--){const _0x546391={'id':_0x4b8800(0x302),'params':{'unitId':_0x555abe[_0x500dc7][_0x4b8800(0x270)],..._0x555abe[_0x500dc7][_0x4b8800(0x2f1)]}},_0x5d3b7e={'id':_0x4b8800(0x302),'params':{'unitId':_0x555abe[_0x500dc7][_0x4b8800(0x270)],..._0x555abe[_0x500dc7][_0x4b8800(0x1ce)]}},_0x2030cf=this[_0x4b8800(0x304)][_0x4b8800(0x10e)](_0x263d8a,_0x546391,!0x1),_0x1f201b=this[_0x4b8800(0x304)][_0x4b8800(0x10e)](_0x1ec409,_0x5d3b7e,!0x1);if(_0x4ab096[_0x4b8800(0x14e)](_0x2030cf))throw _0x2030cf[_0x4b8800(0x264)];if(_0x4ab096[_0x4b8800(0x14e)](_0x1f201b))throw _0x1f201b[_0x4b8800(0x264)];_0x2457fa[_0x4b8800(0x19e)]({..._0x555abe[_0x500dc7],'undoState':_0x2030cf[_0x4b8800(0x25f)][_0x4b8800(0x21d)],'redoState':_0x1f201b[_0x4b8800(0x25f)][_0x4b8800(0x21d)]}),_0x263d8a=_0x2030cf[_0x4b8800(0x257)],_0x1ec409=_0x1f201b['m1Prime'];}this[_0x4b8800(0xdb)]['setStateCache'](_0x37cda2,{'history':_0x53f016,'collaboration':_0x2457fa});}};_0x183367=_0x13671a([_0x776dc3(0x0,_0x22484e[_0x1b7c9c(0xda)](_0x22484e[_0x1b7c9c(0x2a5)])),_0x776dc3(0x1,_0x4ab096[_0x1b7c9c(0x2b5)]),_0x776dc3(0x2,_0x22484e[_0x1b7c9c(0xda)](_0x272958[_0x1b7c9c(0x1d8)]))],_0x183367);var _0xa6a134=Object[_0x1b7c9c(0xd4)],_0x4dc25f=(_0x2fe65b,_0xfbfe96,_0x3b3ab0,_0x560ab5)=>{const _0x1d1055=_0x1b7c9c;for(var _0x55262c=_0x560ab5>0x1?void 0x0:_0x560ab5?_0xa6a134(_0xfbfe96,_0x3b3ab0):_0xfbfe96,_0x5d4d12=_0x2fe65b[_0x1d1055(0x222)]-0x1,_0x4730db;_0x5d4d12>=0x0;_0x5d4d12--)(_0x4730db=_0x2fe65b[_0x5d4d12])&&(_0x55262c=_0x4730db(_0x55262c)||_0x55262c);return _0x55262c;},_0x54a860=(_0x2b9cd2,_0x2d0322)=>(_0x2c8ba3,_0x2e009f)=>_0x2d0322(_0x2c8ba3,_0x2e009f,_0x2b9cd2);let _0xc55620=class{constructor(_0xcbec29,_0x558772){const _0x7a49c6=_0x1b7c9c;this[_0x7a49c6(0x1c9)]=_0xcbec29,this[_0x7a49c6(0x304)]=_0x558772;}[_0x1b7c9c(0x13b)](_0x279bd1){const _0x55a613=_0x1b7c9c;var _0xf4a4ea;const _0x3d6bc7=this[_0x55a613(0x1c9)][_0x55a613(0x16d)](_0x54ce95[_0x55a613(0x212)]),_0x222842=(_0xf4a4ea=_0x3d6bc7[_0x55a613(0x251)]())!=null?_0xf4a4ea:[];if(_0x222842[_0x55a613(0x222)]===0x0)return;const _0x815838=_0x279bd1['unitID'],_0x35b7ee=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x815838,'actions':null,'textRanges':_0x222842}}],_0x278eff=this['_transformService']['transformMutationsWithChangeset'](_0x279bd1,_0x35b7ee);if(!_0x4ab096['isTransformMutationsWithChangesetSuccess'](_0x278eff))throw _0x278eff[_0x55a613(0x264)];const _0x551d84=_0x278eff['m2Prime'][0x0]['params'][_0x55a613(0xde)];Array[_0x55a613(0x1b9)](_0x551d84)&&_0x551d84[_0x55a613(0x222)]&&_0x3d6bc7['replaceDocRanges'](_0x551d84,{'unitId':_0x815838,'subUnitId':_0x815838},!0x1);}};_0xc55620=_0x4dc25f([_0x54a860(0x0,_0x22484e[_0x1b7c9c(0xda)](_0x22484e[_0x1b7c9c(0x2a5)])),_0x54a860(0x1,_0x4ab096['ITransformService'])],_0xc55620);var _0x2fbd4d=Object['getOwnPropertyDescriptor'],_0x56298c=(_0x3e6f4b,_0x36a160,_0x5cba7d,_0x5c312a)=>{for(var _0x45941e=_0x5c312a>0x1?void 0x0:_0x5c312a?_0x2fbd4d(_0x36a160,_0x5cba7d):_0x36a160,_0x594d21=_0x3e6f4b['length']-0x1,_0x28752d;_0x594d21>=0x0;_0x594d21--)(_0x28752d=_0x3e6f4b[_0x594d21])&&(_0x45941e=_0x28752d(_0x45941e)||_0x45941e);return _0x45941e;},_0x1af5ff=(_0x2e30f5,_0x20099d)=>(_0x2b3226,_0x208a1c)=>_0x20099d(_0x2b3226,_0x208a1c,_0x2e30f5);let _0x5d88fc=class extends _0x22484e[_0x1b7c9c(0xf1)]{constructor(_0x28aae2,_0x243329,_0x2c7cac,_0xf32ef3,_0x411ffa,_0x58b444,_0x30806a,_0x56a86c){const _0x1a748f=_0x1b7c9c;super(),_0x4c9541(this,_0x1a748f(0x1c8),new _0xbc1b07[(_0x1a748f(0x1a0))](_0x23abc7[_0x1a748f(0x26a)][_0x1a748f(0x102)])),(this['_docStateChangeManagerService']=_0x28aae2,this[_0x1a748f(0xf7)]=_0x243329,this['_docTransformIMECacheService']=_0x2c7cac,this[_0x1a748f(0x1be)]=_0xf32ef3,this['_docTransformSelectionsService']=_0x411ffa,this['_docSyncEditingCollabCursorService']=_0x58b444,this[_0x1a748f(0xd0)]=_0x30806a,this[_0x1a748f(0xad)]=_0x56a86c,this[_0x1a748f(0x183)]());}[_0x1b7c9c(0x183)](){const _0x26c0e0=_0x1b7c9c;this['disposeWithMe'](this[_0x26c0e0(0xf7)]['entityInit$'][_0x26c0e0(0x2d7)](_0x34a0ca=>{const _0x1b282c=_0x26c0e0,_0x4cd28d=this['_docStateChangeManagerService'][_0x1b282c(0x10b)][_0x1b282c(0x2d7)](_0x2ce5ed=>{const _0x5bacee=_0x1b282c;if(_0x2ce5ed==null)return;const {unitId:_0x39a72a,redoState:_0x438899,commandId:_0xc16e77}=_0x2ce5ed;if(_0x39a72a!==_0x34a0ca[_0x5bacee(0x125)])return;const _0xb320fc={'id':_0xc16e77,'type':_0x22484e[_0x5bacee(0x2e3)]['MUTATION'],'params':{'unitId':_0x39a72a,'actions':_0x438899['actions'],'textRanges':null}};_0x34a0ca[_0x5bacee(0x210)](_0xb320fc);});if(_0x34a0ca[_0x1b282c(0xb3)](_0x4cd28d),_0x34a0ca instanceof _0x23abc7[_0x1b282c(0xd6)]){const _0x363b83={'onTransformIME':_0x32c165=>this[_0x1b282c(0x120)][_0x1b282c(0x124)](_0x32c165),'onTransformState':_0xd7173d=>this[_0x1b282c(0x1be)][_0x1b282c(0x184)](_0xd7173d),'onTransformSelections':_0x4d8efd=>this[_0x1b282c(0x2aa)][_0x1b282c(0x13b)](_0x4d8efd),'onSyncEditingCollabCursor':_0x516a11=>this[_0x1b282c(0x176)][_0x1b282c(0x2a6)](_0x516a11),'onTransformRemoteChangesetByIMECache':_0x46883d=>this[_0x1b282c(0x120)]['transformRemoteChangeset'](_0x46883d),'onTransformRemoteChangesetByStateCache':_0x2745ef=>this[_0x1b282c(0x1be)][_0x1b282c(0x308)](_0x2745ef)};_0x34a0ca[_0x1b282c(0x199)](_0x363b83);}}));}};_0x5d88fc=_0x56298c([_0x1af5ff(0x0,_0x22484e[_0x1b7c9c(0xda)](_0x272958[_0x1b7c9c(0x1d8)])),_0x1af5ff(0x1,_0x22484e['Inject'](_0x23abc7[_0x1b7c9c(0x2c3)])),_0x1af5ff(0x2,_0x22484e[_0x1b7c9c(0xda)](_0x5d5b81)),_0x1af5ff(0x3,_0x22484e['Inject'](_0x183367)),_0x1af5ff(0x4,_0x22484e[_0x1b7c9c(0xda)](_0xc55620)),_0x1af5ff(0x5,_0x22484e[_0x1b7c9c(0xda)](_0x4a5424)),_0x1af5ff(0x6,_0x4bfddd[_0x1b7c9c(0x2bd)]),_0x1af5ff(0x7,_0x22484e['Inject'](_0x22484e[_0x1b7c9c(0x347)]))],_0x5d88fc);var _0x4e08fe=(_0x2d48b2=>(_0x2d48b2[_0x2d48b2[_0x1b7c9c(0xa6)]=0x0]=_0x1b7c9c(0xa6),_0x2d48b2[_0x2d48b2['OK']=0x1]='OK',_0x2d48b2[_0x2d48b2['INTERNAL_ERROR']=0x2]=_0x1b7c9c(0x30b),_0x2d48b2[_0x2d48b2['PERMISSION_DENIED']=0x3]=_0x1b7c9c(0x1ad),_0x2d48b2[_0x2d48b2['NOT_FOUND']=0x4]=_0x1b7c9c(0xcf),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x18a)]=0x5]=_0x1b7c9c(0x18a),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2df)]=0x6]=_0x1b7c9c(0x2df),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x21a)]=0x7]='INVALID_ARGUMENT',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x25d)]=0x8]='TOO_MANY_REQUESTS',_0x2d48b2[_0x2d48b2['COMPLETION_FINISHED']=0x9]=_0x1b7c9c(0x119),_0x2d48b2[_0x2d48b2['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2b1)]=0xb]=_0x1b7c9c(0x2b1),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2ca)]=0xc]=_0x1b7c9c(0x2ca),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0xc4)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x211)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x1ff)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2d48b2[_0x2d48b2['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1b7c9c(0x11b),_0x2d48b2[_0x2d48b2['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x131)]=0x65]='ERROR_AGAIN',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x30a)]=0xc9]=_0x1b7c9c(0x30a),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2c5)]=0xca]=_0x1b7c9c(0x2c5),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2b3)]=0x1389]=_0x1b7c9c(0x2b3),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x112)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x20a)]=0x1772]=_0x1b7c9c(0x20a),_0x2d48b2[_0x2d48b2['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2d2)]=0x1b59]=_0x1b7c9c(0x2d2),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2d0)]=0x1b5a]=_0x1b7c9c(0x2d0),_0x2d48b2[_0x2d48b2['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1b7c9c(0x163),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x137)]=0x1b5c]=_0x1b7c9c(0x137),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x32d)]=0x1b5d]=_0x1b7c9c(0x32d),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x1f4)]=0x1f41]=_0x1b7c9c(0x1f4),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0xa4)]=0x2329]=_0x1b7c9c(0xa4),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x116)]=0x232a]=_0x1b7c9c(0x116),_0x2d48b2[_0x2d48b2['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x19b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x1a7)]=0x232d]=_0x1b7c9c(0x1a7),_0x2d48b2[_0x2d48b2['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1b7c9c(0x276),_0x2d48b2[_0x2d48b2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1b7c9c(0x145),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x172)]=0x2713]=_0x1b7c9c(0x172),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2fe)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2f0)]=0x271a]=_0x1b7c9c(0x2f0),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0xc5)]=0x271b]=_0x1b7c9c(0xc5),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2cd)]=0x271c]=_0x1b7c9c(0x2cd),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x227)]=0x271d]=_0x1b7c9c(0x227),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2e8)]=0x271e]=_0x1b7c9c(0x2e8),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0xf8)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x154)]=0x2720]=_0x1b7c9c(0x154),_0x2d48b2[_0x2d48b2['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0xec)]=0x2ee1]=_0x1b7c9c(0xec),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x1e8)]=0x2ee2]='INVALID_INVITE_CODE',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2af)]=0x2ee3]=_0x1b7c9c(0x2af),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0xb7)]=0x2ee4]=_0x1b7c9c(0xb7),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x16c)]=0x2ee5]=_0x1b7c9c(0x16c),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x219)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x1f7)]=0x32ca]=_0x1b7c9c(0x1f7),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x2d5)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x253)]=0x36b1]=_0x1b7c9c(0x253),_0x2d48b2[_0x2d48b2['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x1b7c9c(0x127),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0xf5)]=0x36b3]=_0x1b7c9c(0xf5),_0x2d48b2[_0x2d48b2['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x1b7c9c(0x26b),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x35a)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2d48b2[_0x2d48b2['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x1b7c9c(0x14d),_0x2d48b2[_0x2d48b2['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x1b7c9c(0xa7),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x171)]=0x37dd]=_0x1b7c9c(0x171),_0x2d48b2[_0x2d48b2['REDEMPTION_INVALID_CODE']=0x3a99]=_0x1b7c9c(0x27c),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x350)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x2d48b2[_0x2d48b2[_0x1b7c9c(0xb0)]=0x3a9b]=_0x1b7c9c(0xb0),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x341)]=0x3a9c]=_0x1b7c9c(0x341),_0x2d48b2[_0x2d48b2['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x1b7c9c(0x355),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x25e)]=0x3a9e]=_0x1b7c9c(0x25e),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x343)]=0x3a9f]=_0x1b7c9c(0x343),_0x2d48b2[_0x2d48b2[_0x1b7c9c(0x360)]=0x3e81]=_0x1b7c9c(0x360),_0x2d48b2[_0x2d48b2['UNRECOGNIZED']=-0x1]=_0x1b7c9c(0x243),_0x2d48b2))(_0x4e08fe||{});function _0x102826(_0x34c996){const _0x189cdf=_0x1b7c9c;var _0x3793b7,_0x56420b;const _0x51afe7=(_0x3793b7=_0x34c996[_0x189cdf(0xfc)])==null?void 0x0:_0x3793b7['stage'],_0x58824f=((_0x56420b=_0x34c996[_0x189cdf(0xfc)])==null?void 0x0:_0x56420b[_0x189cdf(0x23c)])||0x0;return _0x51afe7===_0x4a61b0['FormulaExecuteStageType']['START_CALCULATION']&&_0x58824f>0x0;}function _0x54412f(_0x3a56ca){const _0x813eed=_0x1b7c9c;return _0x3a56ca[_0x813eed(0x1ba)]===_0x4a61b0[_0x813eed(0x13f)]['SUCCESS'];}var _0x125645=Object[_0x1b7c9c(0xd4)],_0x4bb622=(_0xdd82f9,_0xc7ae14,_0x533efc,_0x37d0f9)=>{for(var _0x458cc2=_0x37d0f9>0x1?void 0x0:_0x37d0f9?_0x125645(_0xc7ae14,_0x533efc):_0xc7ae14,_0x102a7c=_0xdd82f9['length']-0x1,_0x3343f3;_0x102a7c>=0x0;_0x102a7c--)(_0x3343f3=_0xdd82f9[_0x102a7c])&&(_0x458cc2=_0x3343f3(_0x458cc2)||_0x458cc2);return _0x458cc2;},_0x266ee0=(_0x4eddf4,_0x4b3efd)=>(_0x720c00,_0x165af8)=>_0x4b3efd(_0x720c00,_0x165af8,_0x4eddf4);const _0x2adab9=_0x1b7c9c(0x21f),_0x21529d='/universer-api/license/formula/limit/start',_0x2adf4e=_0x1b7c9c(0x280);let _0x5458eb=class extends _0x22484e['Disposable']{constructor(_0xaf6bd1,_0x4af8cc,_0x43d4e2,_0xea960c,_0x3a8389,_0x154685,_0x3d7a81){const _0x272219=_0x1b7c9c;super(),_0x4c9541(this,_0x272219(0x2f2),null),_0x4c9541(this,_0x272219(0x13d),0x0),_0x4c9541(this,'_currentUsage',0x0),_0x4c9541(this,_0x272219(0x225),[]),_0x4c9541(this,'_lastResponseTimestamp',0x0),(this['_messageService']=_0xaf6bd1,this[_0x272219(0x367)]=_0x4af8cc,this[_0x272219(0x1f8)]=_0x43d4e2,this[_0x272219(0x100)]=_0xea960c,this['_univerInstanceService']=_0x3a8389,this[_0x272219(0xe2)]=_0x154685,this[_0x272219(0xad)]=_0x3d7a81,this[_0x272219(0x34c)]());}[_0x1b7c9c(0x34c)](){const _0x56ca41=_0x1b7c9c;this[_0x56ca41(0xb3)](this[_0x56ca41(0x367)][_0x56ca41(0xb6)]((_0x3588ef,_0xf4c03e)=>{const _0x224d4e=_0x56ca41;var _0x30b983;if(_0x3588ef['id']!==_0x4a61b0[_0x224d4e(0xef)]['id'])return;const _0x1a182a=_0x3588ef['params'];if(!this['_hasFormulaInDirtyRanges']((_0x30b983=_0x1a182a[_0x224d4e(0x248)])!=null?_0x30b983:[]))return;if(!this[_0x224d4e(0x97)]())throw this[_0x224d4e(0x196)](_0x3588ef,_0xf4c03e),this[_0x224d4e(0x295)](),new _0x22484e[(_0x224d4e(0x1dd))]();})),this[_0x56ca41(0xb3)](this[_0x56ca41(0x367)]['onCommandExecuted']((_0x26b2ee,_0x4a5de3)=>{const _0x3cf793=_0x56ca41;if(_0x26b2ee['id']!==_0x4a61b0['SetFormulaCalculationNotificationMutation']['id'])return;const _0x19b258=_0x26b2ee['params'];if(_0x102826(_0x19b258)){const _0x435c14=_0x22484e[_0x3cf793(0x2c0)]();this['_taskIds'][_0x3cf793(0x18d)](_0x435c14),this[_0x3cf793(0x2a7)](_0x435c14);}else{if(_0x54412f(_0x19b258)&&this[_0x3cf793(0x225)][_0x3cf793(0x222)]>0x0){const _0x433dcf=this[_0x3cf793(0x225)][_0x3cf793(0x164)]();this['_releaseCalculationLimit'](_0x433dcf);}}}));}['dispose'](){const _0x143b19=_0x1b7c9c;super[_0x143b19(0x351)](),this[_0x143b19(0x2c6)](),this['_taskIds']=[],this[_0x143b19(0x203)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x143b19(0x9d)]=0x0;}async[_0x1b7c9c(0x196)](_0x41639d,_0x4496ca){const _0x25cc25=_0x1b7c9c;for(let _0x5926b2=0x0;_0x5926b2<0x1e;_0x5926b2++)try{if(await this[_0x25cc25(0x1a2)](),this[_0x25cc25(0x97)]()){this[_0x25cc25(0x2a2)](_0x41639d,_0x4496ca),this[_0x25cc25(0xd0)][_0x25cc25(0x35c)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x7eba41[_0x25cc25(0x13c)]['Success']});return;}await new Promise(_0x9ef5cb=>{const _0x5f1e2e=_0x25cc25;this[_0x5f1e2e(0x2f2)]=window[_0x5f1e2e(0x27a)](_0x9ef5cb,0x3e8);});}catch(_0x3d0e2f){this[_0x25cc25(0xe2)][_0x25cc25(0x264)](_0x3d0e2f);}this['_messageService'][_0x25cc25(0x35c)]({'content':this[_0x25cc25(0xad)]['t']('formula.calculation.unable'),'type':_0x7eba41['MessageType'][_0x25cc25(0x340)]});}[_0x1b7c9c(0x2a2)](_0x4f42ce,_0x2e9849){const _0x2a905d=_0x1b7c9c;try{this[_0x2a905d(0x367)][_0x2a905d(0x275)](_0x4f42ce['id'],_0x4f42ce[_0x2a905d(0x21d)],_0x2e9849);}catch(_0x1172f2){this[_0x2a905d(0xe2)]['error'](_0x1172f2);}}[_0x1b7c9c(0x249)](_0x1d0c69,_0x19392a){const _0x4dee6d=_0x1b7c9c;_0x19392a<this['_lastResponseTimestamp']||(this[_0x4dee6d(0x9d)]=_0x19392a,this['_maxFormulaLimit']=Number[_0x4dee6d(0x2ab)](_0x1d0c69[_0x4dee6d(0xab)]),this[_0x4dee6d(0x203)]=Number[_0x4dee6d(0x2ab)](_0x1d0c69['currentUsage']));}async[_0x1b7c9c(0x2a7)](_0x4d9736){const _0x568734=_0x1b7c9c;var _0x14a089,_0x4ee64d;const _0x578602=Date[_0x568734(0x32b)]();try{const _0x2c1901=((_0x14a089=this['_configService'][_0x568734(0x284)](_0x23abc7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x14a089[_0x568734(0xdc)])||_0x21529d,_0x1fcdfe=(await this[_0x568734(0x100)][_0x568734(0x2dd)](_0x2c1901,{'body':JSON['stringify']({'taskId':_0x4d9736})}))[_0x568734(0x34e)];if(((_0x4ee64d=_0x1fcdfe['error'])==null?void 0x0:_0x4ee64d['code'])!==_0x4e08fe['OK'])return;this[_0x568734(0x249)](_0x1fcdfe[_0x568734(0x178)],_0x578602);}catch(_0x424ffd){this['_logService']['error'](_0x424ffd);}}async[_0x1b7c9c(0x1a2)](_0x1c1abe){const _0x34aac4=_0x1b7c9c;var _0x4e0641,_0x59d363;const _0x386bc4=Date[_0x34aac4(0x32b)]();try{const _0x4d49c0=((_0x4e0641=this[_0x34aac4(0x1f8)][_0x34aac4(0x284)](_0x23abc7[_0x34aac4(0xd8)]))==null?void 0x0:_0x4e0641[_0x34aac4(0x254)])||_0x2adab9,_0x3d4b0a=_0x1c1abe?_0x4d49c0+_0x34aac4(0x121)+encodeURIComponent(_0x1c1abe):_0x4d49c0,_0x5ae469=(await this[_0x34aac4(0x100)]['get'](_0x3d4b0a))[_0x34aac4(0x34e)];if(((_0x59d363=_0x5ae469[_0x34aac4(0x264)])==null?void 0x0:_0x59d363[_0x34aac4(0x36a)])!==_0x4e08fe['OK'])return;this[_0x34aac4(0x249)](_0x5ae469[_0x34aac4(0x178)],_0x386bc4);}catch(_0x22c559){this[_0x34aac4(0xe2)][_0x34aac4(0x264)](_0x22c559);}}async[_0x1b7c9c(0x321)](_0x2b4f52){const _0x36f4c6=_0x1b7c9c;var _0x1f2976,_0x2e11fc;const _0x525a3c=Date[_0x36f4c6(0x32b)]();try{const _0x3095fd=((_0x1f2976=this[_0x36f4c6(0x1f8)][_0x36f4c6(0x284)](_0x23abc7[_0x36f4c6(0xd8)]))==null?void 0x0:_0x1f2976[_0x36f4c6(0x2e9)])||_0x2adf4e,_0x33522c=(await this['_httpService']['post'](_0x3095fd,{'body':JSON[_0x36f4c6(0x20d)]({'taskId':_0x2b4f52})}))[_0x36f4c6(0x34e)];if(((_0x2e11fc=_0x33522c[_0x36f4c6(0x264)])==null?void 0x0:_0x2e11fc[_0x36f4c6(0x36a)])!==_0x4e08fe['OK'])return;this[_0x36f4c6(0x249)](_0x33522c[_0x36f4c6(0x178)],_0x525a3c);}catch(_0xf895ed){this[_0x36f4c6(0xe2)][_0x36f4c6(0x264)](_0xf895ed);}}[_0x1b7c9c(0x97)](){const _0x3dfb2a=_0x1b7c9c;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x3dfb2a(0x13d)]-this[_0x3dfb2a(0x203)]>0x0;}[_0x1b7c9c(0x2c6)](){const _0x2ba9f2=_0x1b7c9c;this['_pollingInterval']&&(clearTimeout(this[_0x2ba9f2(0x2f2)]),this[_0x2ba9f2(0x2f2)]=null);}[_0x1b7c9c(0x295)](){const _0x30c424=_0x1b7c9c;this['_messageService']['show']({'content':this[_0x30c424(0xad)]['t'](_0x30c424(0xaa)),'type':_0x7eba41[_0x30c424(0x13c)][_0x30c424(0x1cd)]});}[_0x1b7c9c(0x16e)](_0x4f7199){const _0x13b047=_0x1b7c9c;for(const _0x4f495f of _0x4f7199){const {unitId:_0x401efc,sheetId:_0xcb70e3,range:_0x47453b}=_0x4f495f,_0x3d82cd=this[_0x13b047(0xe3)][_0x13b047(0x160)](_0x401efc);if(!_0x3d82cd)continue;const _0x1b4284=_0x3d82cd['getSheetBySheetId'](_0xcb70e3);if(!_0x1b4284)continue;const _0x4e7244=_0x1b4284[_0x13b047(0x1d7)]();for(let _0x65bff1=_0x47453b[_0x13b047(0xc6)];_0x65bff1<=_0x47453b[_0x13b047(0x162)];_0x65bff1++)for(let _0x330e35=_0x47453b[_0x13b047(0x2c1)];_0x330e35<=_0x47453b[_0x13b047(0x290)];_0x330e35++){const _0x3aa595=_0x4e7244[_0x13b047(0x287)](_0x65bff1,_0x330e35);if(_0x3aa595&&(_0x22484e[_0x13b047(0x1f1)](_0x3aa595['f'])||_0x22484e[_0x13b047(0x282)](_0x3aa595['si'])))return!0x0;}}return!0x1;}};_0x5458eb=_0x4bb622([_0x266ee0(0x0,_0x22484e[_0x1b7c9c(0xda)](_0x4bfddd[_0x1b7c9c(0x2bd)])),_0x266ee0(0x1,_0x22484e['ICommandService']),_0x266ee0(0x2,_0x22484e[_0x1b7c9c(0x267)]),_0x266ee0(0x3,_0x22484e[_0x1b7c9c(0xda)](_0x15cb79[_0x1b7c9c(0x28a)])),_0x266ee0(0x4,_0x22484e[_0x1b7c9c(0xd5)]),_0x266ee0(0x5,_0x22484e[_0x1b7c9c(0x30f)]),_0x266ee0(0x6,_0x22484e[_0x1b7c9c(0xda)](_0x22484e[_0x1b7c9c(0x347)]))],_0x5458eb);var _0x3adbbb=Object[_0x1b7c9c(0xd4)],_0x37f58c=(_0x48c91e,_0x19eeb0,_0x1c11d3,_0x171b3d)=>{const _0x5329f0=_0x1b7c9c;for(var _0x26fd00=_0x171b3d>0x1?void 0x0:_0x171b3d?_0x3adbbb(_0x19eeb0,_0x1c11d3):_0x19eeb0,_0xe1d616=_0x48c91e[_0x5329f0(0x222)]-0x1,_0x21669b;_0xe1d616>=0x0;_0xe1d616--)(_0x21669b=_0x48c91e[_0xe1d616])&&(_0x26fd00=_0x21669b(_0x26fd00)||_0x26fd00);return _0x26fd00;},_0x5847d2=(_0x1327db,_0x8ce403)=>(_0x37d1f6,_0x5615af)=>_0x8ce403(_0x37d1f6,_0x5615af,_0x1327db);let _0x55dcde=class extends _0x22484e[_0x1b7c9c(0xf1)]{constructor(_0x2ca6aa,_0xcab6b0,_0x2a0231){const _0x58a8bb=_0x1b7c9c;super(),_0x4c9541(this,_0x58a8bb(0x1ab),new Map()),_0x4c9541(this,'_saveTaskMap',new Map()),_0x4c9541(this,'_disabled',!0x1),(this['_configService']=_0x2ca6aa,this[_0x58a8bb(0x1e5)]=_0xcab6b0,this[_0x58a8bb(0xa8)]=_0x2a0231);}['disableLocalCache'](){const _0x3fcac2=_0x1b7c9c;this[_0x3fcac2(0x15b)]=!0x0;}[_0x1b7c9c(0x25a)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x1b7c9c(0x351)](){const _0x4eef84=_0x1b7c9c;this[_0x4eef84(0x337)]()['then'](()=>super['dispose']());}async[_0x1b7c9c(0x1e4)](_0x5f2a7b){const _0x2d6a3f=_0x1b7c9c;return this['_disabled']?null:this[_0x2d6a3f(0x1e5)][_0x2d6a3f(0x2e2)](_0x23abc7['getLocalCacheKey'](_0x5f2a7b));}async[_0x1b7c9c(0x1b0)](_0x9f113c,_0x2934c4){const _0x26b681=_0x1b7c9c;return!!this[_0x26b681(0x1e5)][_0x26b681(0x157)](_0x9f113c,_0x2934c4);}[_0x1b7c9c(0x33c)](_0x4004d5,_0x44b963,_0x422e89,_0x2a5385){const _0x330631=_0x1b7c9c,_0x4d112b=this['_revisionService']['getCurrentRevOfUnit'](_0x4004d5);this[_0x330631(0x1ab)][_0x330631(0x23d)](_0x4004d5,{'unitID':_0x4004d5,'type':_0x44b963,'awaitingChangeset':_0x422e89,'mutations':_0x2a5385,'rev':_0x4d112b}),this[_0x330631(0x2bf)][_0x330631(0x213)](_0x4004d5)||this['_scheduleSaving'](_0x4004d5);}['_scheduleSaving'](_0x1d10bd){const _0x46a4bc=_0x1b7c9c,_0x1ac239=this[_0x46a4bc(0x14c)]();_0x1ac239===0x0?this['_saveCache'](_0x1d10bd):this[_0x46a4bc(0x2bf)][_0x46a4bc(0x23d)](_0x1d10bd,setTimeout(()=>this[_0x46a4bc(0xb4)](_0x1d10bd),_0x1ac239));}['_getSaveTimeout'](){const _0x2a07c=_0x1b7c9c;var _0x223496;return(_0x223496=this[_0x2a07c(0x1f8)][_0x2a07c(0x284)](_0x23abc7[_0x2a07c(0x1eb)]))!=null?_0x223496:_0x23abc7[_0x2a07c(0x22d)];}['_saveCache'](_0x8a0143){const _0x126994=_0x1b7c9c,_0x1a58c5=this[_0x126994(0x2bf)]['get'](_0x8a0143);return _0x1a58c5!==void 0x0&&window[_0x126994(0x1d2)](_0x1a58c5),this['_localStorageService'][_0x126994(0x157)](_0x23abc7[_0x126994(0x1bd)](_0x8a0143),this['_cachedData']['get'](_0x8a0143))['then'](()=>this['_saveTaskMap'][_0x126994(0x174)](_0x8a0143));}async[_0x1b7c9c(0x337)](){const _0x3c30eb=_0x1b7c9c,_0x15c0eb=[];this[_0x3c30eb(0x2bf)][_0x3c30eb(0x24f)]((_0x2276d1,_0x308bd8)=>{const _0x189993=_0x3c30eb;window[_0x189993(0x1d2)](_0x2276d1),_0x15c0eb[_0x189993(0x18d)](this[_0x189993(0xb4)](_0x308bd8)['then'](()=>{const _0x2517a2=_0x189993;this['_saveTaskMap'][_0x2517a2(0x174)](_0x308bd8);}));}),await Promise[_0x3c30eb(0x246)](_0x15c0eb);}};_0x55dcde=_0x37f58c([_0x5847d2(0x0,_0x22484e[_0x1b7c9c(0x267)]),_0x5847d2(0x1,_0x22484e[_0x1b7c9c(0x1f6)]),_0x5847d2(0x2,_0x22484e[_0x1b7c9c(0xda)](_0x4ab096['RevisionService']))],_0x55dcde);class _0x51f30b extends _0x22484e[_0x1b7c9c(0xcc)]{constructor(){const _0x6ff5a3=_0x1b7c9c;super(),_0x4c9541(this,'urlChange$'),this[_0x6ff5a3(0x206)]=_0xbc1b07[_0x6ff5a3(0x356)](window,_0x6ff5a3(0x2d4))[_0x6ff5a3(0x2b2)](_0xbc1b07[_0x6ff5a3(0x362)](this[_0x6ff5a3(0x335)]),_0xbc1b07[_0x6ff5a3(0x167)](0x1),_0xbc1b07['mapTo'](void 0x0));}[_0x1b7c9c(0xba)](_0x760148,_0x4af9c3,_0x2840b6=!0x1){const _0x408904=_0x1b7c9c,_0x12b833=new URL(window[_0x408904(0x322)][_0x408904(0x1f9)]);_0x12b833[_0x408904(0x1b6)]['set'](_0x760148,_0x4af9c3),_0x2840b6?window[_0x408904(0x17c)][_0x408904(0x18b)]('','',_0x12b833[_0x408904(0x232)]()):window[_0x408904(0x17c)][_0x408904(0x24b)]('','',_0x12b833['toString']());}[_0x1b7c9c(0x286)](_0x36734a,_0x3ece13=!0x1){const _0x59af2d=_0x1b7c9c,_0x287c05=new URL(window[_0x59af2d(0x322)]['href']);_0x287c05[_0x59af2d(0x1b6)][_0x59af2d(0x174)](_0x36734a),_0x3ece13?window['history'][_0x59af2d(0x18b)]('','',_0x287c05[_0x59af2d(0x232)]()):window['history'][_0x59af2d(0x24b)]('','',_0x287c05['toString']());}[_0x1b7c9c(0x223)](_0x2d4953){const _0x3f42b0=_0x1b7c9c;var _0x981e03;return(_0x981e03=new URL(window[_0x3f42b0(0x322)][_0x3f42b0(0x1f9)])[_0x3f42b0(0x1b6)][_0x3f42b0(0x16d)](_0x2d4953))!=null?_0x981e03:void 0x0;}}var _0x534e95=Object['defineProperty'],_0x599bf0=Object[_0x1b7c9c(0xd4)],_0x31e7fd=(_0x14b5ba,_0xa2f859,_0x2748e2)=>_0xa2f859 in _0x14b5ba?_0x534e95(_0x14b5ba,_0xa2f859,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2748e2}):_0x14b5ba[_0xa2f859]=_0x2748e2,_0x29a84b=(_0x50ad75,_0x6d8124,_0x3faf37,_0x1c6bf3)=>{const _0x38f5dd=_0x1b7c9c;for(var _0x16d188=_0x1c6bf3>0x1?void 0x0:_0x1c6bf3?_0x599bf0(_0x6d8124,_0x3faf37):_0x6d8124,_0x44a277=_0x50ad75[_0x38f5dd(0x222)]-0x1,_0x5cc9ea;_0x44a277>=0x0;_0x44a277--)(_0x5cc9ea=_0x50ad75[_0x44a277])&&(_0x16d188=_0x5cc9ea(_0x16d188)||_0x16d188);return _0x16d188;},_0x52804a=(_0x541ed3,_0xadb11f)=>(_0x2e32ca,_0xcbcc35)=>_0xadb11f(_0x2e32ca,_0xcbcc35,_0x541ed3),_0x38bc29=(_0x10cf9c,_0x255953,_0x4c9d36)=>_0x31e7fd(_0x10cf9c,_0x255953+'',_0x4c9d36);const _0xd0728d=_0x1b7c9c(0x346);_0x517621[_0x1b7c9c(0x239)]=class extends _0x22484e[_0x1b7c9c(0x1ef)]{constructor(_0x490488=_0x9cde43,_0x50aeb4,_0x5adda9,_0x4fba3c){const _0x1fe379=_0x1b7c9c;super(),this[_0x1fe379(0x2d6)]=_0x490488,this[_0x1fe379(0x12a)]=_0x50aeb4,this[_0x1fe379(0x1c9)]=_0x5adda9,this[_0x1fe379(0x1f8)]=_0x4fba3c;const {..._0x238ce7}=_0x22484e[_0x1fe379(0x133)]({},_0x9cde43,this[_0x1fe379(0x2d6)]);this[_0x1fe379(0x1f8)][_0x1fe379(0x36b)](_0x3c79e9,_0x238ce7);}[_0x1b7c9c(0x2b4)](){const _0x5045ef=_0x1b7c9c;this[_0x5045ef(0x2b6)](),this[_0x5045ef(0x9f)]();}['onRendered'](){const _0x4aad7c=_0x1b7c9c;this[_0x4aad7c(0x34b)]();}[_0x1b7c9c(0x2b6)](){const _0x1fc4cb=_0x1b7c9c;var _0x385f08;const _0x1ebafc=[[_0x43e29c],[_0x5458eb],[_0xc55620],[_0x5d5b81],[_0x183367],[_0x4a5424],[_0x48a48e,{'useClass':_0x51f30b}],[_0x15cb79[_0x1fc4cb(0x10a)],{'useClass':_0x15cb79[_0x1fc4cb(0x29f)]}],[_0x23abc7['ILocalCacheService'],{'useClass':_0x55dcde}],[_0x517621[_0x1fc4cb(0x305)]],[_0x5d88fc],[_0x2de646],[_0xc5a59],[_0x137da5],[_0x517621[_0x1fc4cb(0x2e7)]]];_0x22484e[_0x1fc4cb(0x169)](this[_0x1fc4cb(0x1c9)],_0x22484e[_0x1fc4cb(0x1dc)](_0x1ebafc,(_0x385f08=this['_config'])==null?void 0x0:_0x385f08[_0x1fc4cb(0x369)]));}[_0x1b7c9c(0x34b)](){const _0x2d2095=_0x1b7c9c;this[_0x2d2095(0xb3)](this['_renderManagerService'][_0x2d2095(0x29a)](_0x22484e[_0x2d2095(0x29c)]['UNIVER_DOC'],[_0x204f48])),this[_0x2d2095(0xb3)](this[_0x2d2095(0x12a)][_0x2d2095(0x29a)](_0x22484e['UniverInstanceType'][_0x2d2095(0x31e)],[_0x37942c]));}[_0x1b7c9c(0x9f)](){const _0x6ec570=_0x1b7c9c;_0x22484e[_0x6ec570(0x20f)](this[_0x6ec570(0x1c9)],[[_0xc5a59],[_0x517621['DesktopCollaborationStatusDisplayController']],[_0x5d88fc],[_0x2de646],[_0x517621[_0x6ec570(0x2e7)]],[_0x5458eb]]);}},_0x38bc29(_0x517621[_0x1b7c9c(0x239)],_0x1b7c9c(0xaf),_0xd0728d),_0x517621[_0x1b7c9c(0x239)]=_0x29a84b([_0x22484e[_0x1b7c9c(0x31f)](_0x23abc7[_0x1b7c9c(0x104)]),_0x52804a(0x1,_0x5d4648[_0x1b7c9c(0x208)]),_0x52804a(0x2,_0x22484e['Inject'](_0x22484e[_0x1b7c9c(0x2a5)])),_0x52804a(0x3,_0x22484e[_0x1b7c9c(0x267)])],_0x517621[_0x1b7c9c(0x239)]);var _0x4e9f99=Object['getOwnPropertyDescriptor'],_0x3263f0=(_0x5e1c2f,_0x56e540,_0x306e70,_0x10d419)=>{const _0x1c7e62=_0x1b7c9c;for(var _0x1b5657=_0x10d419>0x1?void 0x0:_0x10d419?_0x4e9f99(_0x56e540,_0x306e70):_0x56e540,_0x129356=_0x5e1c2f[_0x1c7e62(0x222)]-0x1,_0x587727;_0x129356>=0x0;_0x129356--)(_0x587727=_0x5e1c2f[_0x129356])&&(_0x1b5657=_0x587727(_0x1b5657)||_0x1b5657);return _0x1b5657;},_0x274aa1=(_0xbc978c,_0x217bbd)=>(_0x3f754a,_0x1c2a0c)=>_0x217bbd(_0x3f754a,_0x1c2a0c,_0xbc978c);_0x517621[_0x1b7c9c(0x1ac)]=class extends _0x23abc7['CollaborationSocketService']{constructor(_0x36e702,_0x390a5c,_0x2ce97c,_0xaf0ced,_0x28af37){super(_0x36e702,_0x390a5c,_0x2ce97c,_0xaf0ced,_0x28af37);}async[_0x1b7c9c(0x327)](_0x478c2f){const _0x3091ee=_0x1b7c9c,_0x108b0a=await this[_0x3091ee(0x168)](),_0x3a9638=this[_0x3091ee(0x126)](_0x478c2f,_0x108b0a);return this[_0x3091ee(0xbc)](_0x3a9638);}['_createSocketURL'](_0x5d45b3,_0x2e049d){const _0x1c7fe0=_0x1b7c9c,_0x2e84c1=typeof window>'u'?new URL(_0x5d45b3):new URL(_0x5d45b3,window[_0x1c7fe0(0x322)]['origin']);_0x2e84c1[_0x1c7fe0(0x1b6)][_0x1c7fe0(0x23d)]('sessionTicket',_0x2e049d);const _0x31bade=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1c7fe0(0x322)][_0x1c7fe0(0xbd)]);return _0x31bade[_0x1c7fe0(0x16d)](_0x1c7fe0(0x111))&&_0x2e84c1[_0x1c7fe0(0x1b6)][_0x1c7fe0(0x23d)](_0x1c7fe0(0x111),_0x31bade['get'](_0x1c7fe0(0x111))),_0x2e84c1[_0x1c7fe0(0x232)]();}async[_0x1b7c9c(0x168)](){const _0x1723f9=_0x1b7c9c;var _0x3ea622,_0x137493,_0x386357;const _0x30402a=this[_0x1723f9(0x1f8)]['getConfig'](_0x23abc7[_0x1723f9(0xd8)]),_0x385518=(_0x3ea622=_0x30402a==null?void 0x0:_0x30402a[_0x1723f9(0x1fd)])!=null?_0x3ea622:_0x23abc7[_0x1723f9(0x149)];return(_0x386357=(_0x137493=(await this['_httpService'][_0x1723f9(0x16d)](_0x385518,{'headers':{'Content-Type':_0x1723f9(0x2fd)}}))['body'])==null?void 0x0:_0x137493['ticket'])!=null?_0x386357:'';}},_0x517621['BrowserCollaborationSocketService']=_0x3263f0([_0x274aa1(0x0,_0x22484e[_0x1b7c9c(0xda)](_0x22484e[_0x1b7c9c(0x2a5)])),_0x274aa1(0x1,_0x22484e[_0x1b7c9c(0xda)](_0x15cb79[_0x1b7c9c(0x28a)])),_0x274aa1(0x2,_0x22484e[_0x1b7c9c(0x267)]),_0x274aa1(0x3,_0x22484e['ILogService']),_0x274aa1(0x4,_0x4ab096[_0x1b7c9c(0x15e)])],_0x517621[_0x1b7c9c(0x1ac)]);var _0x4614a1=Object[_0x1b7c9c(0xd4)],_0x2c7623=(_0x5e7896,_0x3a7e3e,_0x2dc11a,_0x9f058c)=>{const _0x413c73=_0x1b7c9c;for(var _0x59f386=_0x9f058c>0x1?void 0x0:_0x9f058c?_0x4614a1(_0x3a7e3e,_0x2dc11a):_0x3a7e3e,_0x2138ed=_0x5e7896[_0x413c73(0x222)]-0x1,_0x38dadc;_0x2138ed>=0x0;_0x2138ed--)(_0x38dadc=_0x5e7896[_0x2138ed])&&(_0x59f386=_0x38dadc(_0x59f386)||_0x59f386);return _0x59f386;},_0x5b2d32=(_0x299c33,_0xba4e86)=>(_0x331d8a,_0x1e0d42)=>_0xba4e86(_0x331d8a,_0x1e0d42,_0x299c33);_0x517621[_0x1b7c9c(0x2e0)]=class extends _0x22484e[_0x1b7c9c(0xf1)]{constructor(_0x5a54f1,_0x559a8e,_0x33fa6a){const _0x254919=_0x1b7c9c;super(),this['_instanceService']=_0x5a54f1,this[_0x254919(0x100)]=_0x559a8e,this['_configService']=_0x33fa6a;}async[_0x1b7c9c(0x2bb)](_0x5c08f2,_0x4caa56,_0x280fe5,..._0x5cc749){const _0x1ea004=_0x1b7c9c;var _0x4ef5be,_0x490d4e,_0x250a72,_0x1dc578;const _0x55d7e4=this[_0x1ea004(0x2ef)][_0x1ea004(0x1b8)]();if(!_0x55d7e4)throw new Error(_0x1ea004(0x316));const _0xa6935a=((_0x4ef5be=this['_configService'][_0x1ea004(0x284)](_0x23abc7[_0x1ea004(0x18f)]))!=null?_0x4ef5be:_0x23abc7['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5c08f2+_0x1ea004(0x158)+_0x4caa56,_0x502801=new URL(window[_0x1ea004(0x322)][_0x1ea004(0x1f9)]),_0x226006={'scriptId':_0x5c08f2,'runId':(_0x490d4e=_0x502801[_0x1ea004(0x1b6)]['get'](_0x1ea004(0x111)))!=null?_0x490d4e:'','function':_0x4caa56,'unitId':_0x55d7e4[_0x1ea004(0x1a1)](),'argsOfFunction':JSON['stringify'](_0x5cc749),'invokeId':(_0x250a72=_0x280fe5[_0x1ea004(0x150)])!=null?_0x250a72:'','executionId':(_0x1dc578=_0x280fe5['executionId'])!=null?_0x1dc578:''};try{const _0x401eba=await this['_httpService'][_0x1ea004(0x2dd)](_0xa6935a,{'body':_0x226006});return _0x401eba[_0x1ea004(0x34e)][_0x1ea004(0x264)]&&_0x401eba[_0x1ea004(0x34e)][_0x1ea004(0x264)][_0x1ea004(0x36a)]!==_0x4e08fe['OK']?'Failed':_0x401eba['body'][_0x1ea004(0x198)];}catch{return _0x1ea004(0x28d);}}},_0x517621[_0x1b7c9c(0x2e0)]=_0x2c7623([_0x5b2d32(0x0,_0x22484e[_0x1b7c9c(0xd5)]),_0x5b2d32(0x1,_0x22484e['Inject'](_0x15cb79['HTTPService'])),_0x5b2d32(0x2,_0x22484e['IConfigService'])],_0x517621['RemoteUniscriptService']);const _0x34e093=0x7530,_0x3d4655=_0x1b7c9c(0x19f);class _0x3c9943 extends _0x22484e[_0x1b7c9c(0xf1)]{constructor(){const _0xd80482=_0x1b7c9c;super(),_0x4c9541(this,_0xd80482(0x118),_0x22484e[_0xd80482(0x2c0)]()),_0x4c9541(this,_0xd80482(0xe7),new Set()),_0x4c9541(this,_0xd80482(0x195),new Map()),_0x4c9541(this,_0xd80482(0x259),null),_0x4c9541(this,_0xd80482(0x32e),new Map()),_0x4c9541(this,'_unitStatus',new Map()),this[_0xd80482(0x307)]();}[_0x1b7c9c(0x351)](){const _0xf4985c=_0x1b7c9c;super[_0xf4985c(0x351)](),this[_0xf4985c(0x32e)][_0xf4985c(0x24f)]((_0x1ca571,_0x16c61d)=>this['_removeClearOtherTimer'](_0x16c61d)),this['_heartbeatTimer']&&window[_0xf4985c(0x32a)](this[_0xf4985c(0x259)]);}[_0x1b7c9c(0xbf)](_0x127ee8){const _0x52e887=_0x1b7c9c;return this[_0x52e887(0x298)](_0x127ee8)[_0x52e887(0x2b2)](_0xbc1b07[_0x52e887(0x27d)]());}[_0x1b7c9c(0xa0)](_0x140d20){const _0x427f64=_0x1b7c9c;this[_0x427f64(0xe7)]['size']===0x0&&this[_0x427f64(0x1d3)](),this[_0x427f64(0xe7)][_0x427f64(0x268)](_0x140d20),this[_0x427f64(0x122)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x140d20],'isForwarded':!0x1});}[_0x1b7c9c(0x17f)](_0x4833df){const _0x51fc3f=_0x1b7c9c;this[_0x51fc3f(0xe7)][_0x51fc3f(0x174)](_0x4833df),this['_selfUnitIDs'][_0x51fc3f(0xb5)]===0x0&&this[_0x51fc3f(0x259)]&&window[_0x51fc3f(0x32a)](this['_heartbeatTimer']);}['_init'](){const _0x618e86=_0x1b7c9c;this[_0x618e86(0xb3)](_0x22484e['toDisposable'](_0xbc1b07[_0x618e86(0x356)](window,'storage')[_0x618e86(0x2d7)](_0x4d3ea4=>{const _0x5efaca=_0x618e86;if(_0x4d3ea4[_0x5efaca(0x1bf)]!==_0x3d4655||!_0x4d3ea4[_0x5efaca(0x22f)])return;const _0x53a31f=JSON[_0x5efaca(0x10f)](_0x4d3ea4['newValue']);this[_0x5efaca(0xee)](_0x53a31f);}))),window[_0x618e86(0xfb)](_0x618e86(0x224),()=>this[_0x618e86(0x122)]({'type':0x1,'memberID':this[_0x618e86(0x118)],'unitIDs':Array['from'](this[_0x618e86(0xe7)])}));}[_0x1b7c9c(0xee)](_0x3a2c9b){const _0x17cdc9=_0x1b7c9c;switch(_0x3a2c9b[_0x17cdc9(0x306)]){case 0x0:this['_handleJoinEvent'](_0x3a2c9b);break;case 0x1:this[_0x17cdc9(0x1f3)](_0x3a2c9b);break;case 0x2:this[_0x17cdc9(0x35f)](_0x3a2c9b);break;}}[_0x1b7c9c(0x123)](_0x4bd889){const _0x51d590=_0x1b7c9c,{unitIDs:_0x168f0f,memberID:_0x5bc59a,isForwarded:_0x4a55b2}=_0x4bd889;_0x168f0f[_0x51d590(0x24f)](_0xa467c7=>{const _0x4b6c21=_0x51d590;if(!_0x4a55b2&&this[_0x4b6c21(0x195)]['has'](_0xa467c7)&&this[_0x4b6c21(0x298)](_0xa467c7)[_0x4b6c21(0x366)](_0x23abc7[_0x4b6c21(0x2f8)][_0x4b6c21(0x314)]),!this[_0x4b6c21(0x195)][_0x4b6c21(0x213)](_0xa467c7)||!this[_0x4b6c21(0x195)][_0x4b6c21(0x16d)](_0xa467c7)[_0x4b6c21(0x213)](_0x5bc59a)){const _0x5e4eba=this['_unitOnClients'][_0x4b6c21(0x16d)](_0xa467c7)||new Set();_0x5e4eba['add'](_0x5bc59a),this[_0x4b6c21(0x195)][_0x4b6c21(0x23d)](_0xa467c7,_0x5e4eba),this[_0x4b6c21(0x28b)](_0x5bc59a);}}),_0x4a55b2||this['_send']({'type':0x0,'memberID':this[_0x51d590(0x118)],'unitIDs':[...this[_0x51d590(0xe7)]],'isForwarded':!0x0});}[_0x1b7c9c(0x28b)](_0x2c20b0){const _0x46cd68=_0x1b7c9c;this[_0x46cd68(0x109)](_0x2c20b0);const _0x5075d5=window[_0x46cd68(0x27a)](()=>{this['_unitOnClients']['forEach'](_0x30ee9a=>{_0x30ee9a['delete'](_0x2c20b0);});},_0x34e093*0x2);this[_0x46cd68(0x32e)][_0x46cd68(0x23d)](_0x2c20b0,_0x5075d5);}[_0x1b7c9c(0x109)](_0x4e9ae0){const _0x30504e=_0x1b7c9c;if(this[_0x30504e(0x32e)][_0x30504e(0x213)](_0x4e9ae0)){const _0x6e4f0e=this[_0x30504e(0x32e)]['get'](_0x4e9ae0);_0x6e4f0e&&window[_0x30504e(0x1d2)](_0x6e4f0e),this['_clearOtherTimers'][_0x30504e(0x23d)](_0x4e9ae0,null);}}[_0x1b7c9c(0x1f3)](_0x386e6a){const _0x536e17=_0x1b7c9c,{memberID:_0x4d812e,unitIDs:_0x441003}=_0x386e6a;_0x441003[_0x536e17(0x24f)](_0x30a775=>{const _0x3dd3ec=_0x536e17;var _0x3af554;const _0x2ac865=this[_0x3dd3ec(0x195)]['get'](_0x30a775);_0x2ac865&&(_0x2ac865[_0x3dd3ec(0x174)](_0x4d812e),(_0x3af554=this['_ensureSubject'](_0x30a775))==null||_0x3af554[_0x3dd3ec(0x366)](_0x2ac865[_0x3dd3ec(0xb5)]===0x0?_0x23abc7[_0x3dd3ec(0x2f8)]['NO_OTHER_CLIENTS_EDITING']:_0x23abc7[_0x3dd3ec(0x2f8)]['OTHER_CLIENTS_EDITING']));}),this[_0x536e17(0x109)](_0x4d812e);}[_0x1b7c9c(0x35f)](_0x585fad){const _0x15e5e8=_0x1b7c9c;this[_0x15e5e8(0x28b)](_0x585fad['memberID']);}[_0x1b7c9c(0x122)](_0x285a95){const _0x4b9099=_0x1b7c9c;localStorage[_0x4b9099(0x157)](_0x3d4655,JSON[_0x4b9099(0x20d)](_0x285a95));}['_scheduleHeartbeat'](){const _0x152148=_0x1b7c9c;this[_0x152148(0x259)]=window['setInterval'](()=>{const _0x4c9f11=_0x152148;this[_0x4c9f11(0x122)]({'type':0x2,'memberID':this[_0x4c9f11(0x118)]});},_0x34e093);}['_ensureSubject'](_0x41d399){const _0x2360c9=_0x1b7c9c;return this[_0x2360c9(0x278)][_0x2360c9(0x213)](_0x41d399)||this[_0x2360c9(0x278)]['set'](_0x41d399,new _0xbc1b07[(_0x2360c9(0x1a0))](_0x23abc7[_0x2360c9(0x2f8)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x2360c9(0x278)][_0x2360c9(0x16d)](_0x41d399);}}_0x517621[_0x1b7c9c(0x300)]=_0x48a48e,_0x517621[_0x1b7c9c(0x24c)]=_0x542953,_0x517621[_0x1b7c9c(0x1ca)]=_0x3c9943,_0x517621[_0x1b7c9c(0x2db)]=_0x51f30b,Object[_0x1b7c9c(0x141)](_0x517621,Symbol[_0x1b7c9c(0x1a6)],{'value':_0x1b7c9c(0x193)});}));
|