@univerjs-pro/collaboration-client-ui 0.10.14 → 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(_0x421349,_0x368b8a){const _0x33f3ac=_0x5f1f,_0x520d80=_0x421349();while(!![]){try{const _0x2d6ff8=parseInt(_0x33f3ac(0x346))/0x1*(-parseInt(_0x33f3ac(0x33a))/0x2)+parseInt(_0x33f3ac(0xfc))/0x3*(parseInt(_0x33f3ac(0x1ec))/0x4)+parseInt(_0x33f3ac(0x19b))/0x5*(-parseInt(_0x33f3ac(0xa2))/0x6)+parseInt(_0x33f3ac(0xa7))/0x7+parseInt(_0x33f3ac(0x25d))/0x8*(-parseInt(_0x33f3ac(0x2b6))/0x9)+parseInt(_0x33f3ac(0x1bd))/0xa+parseInt(_0x33f3ac(0x2ed))/0xb;if(_0x2d6ff8===_0x368b8a)break;else _0x520d80['push'](_0x520d80['shift']());}catch(_0x567ecf){_0x520d80['push'](_0x520d80['shift']());}}}(_0x1c15,0x9a43b),function(_0x191f3e,_0xaea467){const _0x431bc3=_0x5f1f;typeof exports==_0x431bc3(0x146)&&typeof module<'u'?_0xaea467(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==_0x431bc3(0x16f)&&define[_0x431bc3(0x14b)]?define(['exports','react/jsx-runtime',_0x431bc3(0x1b9),'@univerjs/core',_0x431bc3(0x249),_0x431bc3(0x12d),_0x431bc3(0x237),_0x431bc3(0x365),'@univerjs/rpc',_0x431bc3(0x1f7),_0x431bc3(0x1a2),_0x431bc3(0x206),'@univerjs/docs-ui',_0x431bc3(0x300),_0x431bc3(0x21a),_0x431bc3(0x324),_0x431bc3(0x2a5),_0x431bc3(0x1df),_0x431bc3(0x127)],_0xaea467):(_0x191f3e=typeof globalThis<'u'?globalThis:_0x191f3e||self,_0xaea467(_0x191f3e[_0x431bc3(0x16e)]={},_0x191f3e[_0x431bc3(0x108)],_0x191f3e[_0x431bc3(0x1f8)],_0x191f3e[_0x431bc3(0x360)],_0x191f3e[_0x431bc3(0x12c)],_0x191f3e[_0x431bc3(0x12d)],_0x191f3e[_0x431bc3(0x35a)],_0x191f3e['React'],_0x191f3e[_0x431bc3(0x334)],_0x191f3e['UniverSheets'],_0x191f3e[_0x431bc3(0x248)],_0x191f3e['UniverNetwork'],_0x191f3e[_0x431bc3(0x361)],_0x191f3e[_0x431bc3(0x1b3)],_0x191f3e['UniverProCollaboration'],_0x191f3e[_0x431bc3(0x31d)],_0x191f3e[_0x431bc3(0x1d5)],_0x191f3e[_0x431bc3(0x12d)]['operators'],_0x191f3e['UniverSheetsUi']));}(this,function(_0x147b5e,_0x4321f7,_0x431409,_0x57396c,_0x2150fb,_0x573ee4,_0x340b34,_0x592962,_0x41a435,_0x317ac0,_0x449a29,_0x2ec6fa,_0x467a84,_0x43aefd,_0xbe4f3b,_0x374412,_0x4b20b5,_0x284e42,_0x70bbc2){'use strict';const _0x536257=_0x5f1f;var _0x533d7f=Object[_0x536257(0x265)],_0x45cc5a=(_0x542102,_0x2ed91c,_0x4b65c0)=>_0x2ed91c in _0x542102?_0x533d7f(_0x542102,_0x2ed91c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b65c0}):_0x542102[_0x2ed91c]=_0x4b65c0,_0x9699e1=(_0x19cad7,_0x41e726,_0x2ba2aa)=>_0x45cc5a(_0x19cad7,typeof _0x41e726!=_0x536257(0x2e7)?_0x41e726+'':_0x41e726,_0x2ba2aa);function _0x429dd0({ref:_0x29baa3,..._0x35ee34}){const _0x3fd77e=_0x536257,{icon:_0x4218ca,id:_0x262a0c,className:_0x38c659,extend:_0x554c26,..._0xc920}=_0x35ee34,_0xf1c9c5=(_0x3fd77e(0x204)+_0x262a0c+'\x20'+(_0x38c659||''))[_0x3fd77e(0x362)](),_0x484274=_0x592962[_0x3fd77e(0x1c0)]('_'+_0xe5a43());return _0x433d10(_0x4218ca,''+_0x262a0c,{'defIds':_0x4218ca['defIds'],'idSuffix':_0x484274['current']},{'ref':_0x29baa3,'className':_0xf1c9c5,..._0xc920},_0x554c26);}function _0x433d10(_0x35bf58,_0x258d88,_0x216acb,_0x516aff,_0x484bed){const _0x5465e0=_0x536257;return _0x592962['createElement'](_0x35bf58[_0x5465e0(0x185)],{'key':_0x258d88,..._0x35dbab(_0x35bf58,_0x216acb,_0x484bed),..._0x516aff},(_0x4525a8(_0x35bf58,_0x216acb)[_0x5465e0(0x292)]||[])[_0x5465e0(0x22f)]((_0x15ae3b,_0x2b3949)=>_0x433d10(_0x15ae3b,_0x258d88+'-'+_0x35bf58[_0x5465e0(0x185)]+'-'+_0x2b3949,_0x216acb,void 0x0,_0x484bed)));}function _0x35dbab(_0x3c89fa,_0x4f1cba,_0x49ab7b){const _0xcc5238=_0x536257,_0x207fd0={..._0x3c89fa[_0xcc5238(0x1ea)]};_0x49ab7b!=null&&_0x49ab7b[_0xcc5238(0x2db)]&&_0x207fd0['fill']===_0xcc5238(0x2db)&&(_0x207fd0[_0xcc5238(0x1dd)]=_0x49ab7b[_0xcc5238(0x2db)]),_0x3c89fa[_0xcc5238(0x185)]==='mask'&&_0x207fd0['id']&&(_0x207fd0['id']=_0x207fd0['id']+_0x4f1cba[_0xcc5238(0x21c)]),Object['entries'](_0x207fd0)[_0xcc5238(0x357)](([_0x3a93d3,_0x92080f])=>{const _0x40f003=_0xcc5238;_0x3a93d3===_0x40f003(0x1c2)&&typeof _0x92080f==_0x40f003(0xd8)&&(_0x207fd0[_0x3a93d3]=_0x92080f[_0x40f003(0x28a)](/url\(#(.*)\)/,_0x40f003(0x101)+_0x4f1cba[_0x40f003(0x21c)]+')'));});const {defIds:_0x15d993}=_0x4f1cba;return!_0x15d993||_0x15d993['length']===0x0||(_0x3c89fa[_0xcc5238(0x185)]===_0xcc5238(0x1dc)&&_0x207fd0[_0xcc5238(0xf3)]&&(_0x207fd0[_0xcc5238(0xf3)]=_0x207fd0[_0xcc5238(0xf3)]+_0x4f1cba[_0xcc5238(0x21c)]),Object[_0xcc5238(0x345)](_0x207fd0)[_0xcc5238(0x357)](([_0x3dcbc1,_0x36b32d])=>{const _0x5c1435=_0xcc5238;typeof _0x36b32d=='string'&&(_0x207fd0[_0x3dcbc1]=_0x36b32d[_0x5c1435(0x28a)](/url\(#(.*)\)/,'url(#$1'+_0x4f1cba[_0x5c1435(0x21c)]+')'));})),_0x207fd0;}function _0x4525a8(_0x5eb79f,_0x280398){const _0x3617e9=_0x536257;var _0x1d6b08;const {defIds:_0x1862b2}=_0x280398;return!_0x1862b2||_0x1862b2[_0x3617e9(0x286)]===0x0?_0x5eb79f:_0x5eb79f[_0x3617e9(0x185)]==='defs'&&((_0x1d6b08=_0x5eb79f[_0x3617e9(0x292)])!=null&&_0x1d6b08[_0x3617e9(0x286)])?{..._0x5eb79f,'children':_0x5eb79f['children'][_0x3617e9(0x22f)](_0x3fee77=>typeof _0x3fee77['attrs']['id']=='string'&&_0x1862b2&&_0x1862b2[_0x3617e9(0x242)](_0x3fee77[_0x3617e9(0x1ea)]['id'])?{..._0x3fee77,'attrs':{..._0x3fee77[_0x3617e9(0x1ea)],'id':_0x3fee77[_0x3617e9(0x1ea)]['id']+_0x280398['idSuffix']}}:_0x3fee77)}:_0x5eb79f;}function _0xe5a43(){const _0x351239=_0x536257;return Math[_0x351239(0x33d)]()[_0x351239(0x337)](0x24)[_0x351239(0x2c1)](0x2,0x8);}_0x429dd0[_0x536257(0x174)]=_0x536257(0x1f0);const _0xad90ac={'tag':_0x536257(0x1ed),'attrs':{'xmlns':_0x536257(0x2bc),'fill':'none','viewBox':_0x536257(0x23d),'width':_0x536257(0xbb),'height':_0x536257(0xbb)},'children':[{'tag':'g','attrs':{'clipPath':_0x536257(0x32c)},'children':[{'tag':'path','attrs':{'stroke':_0x536257(0x136),'d':_0x536257(0x2a8),'strokeLinecap':_0x536257(0xa1),'strokeLinejoin':_0x536257(0xa1),'strokeWidth':1.2}}]},{'tag':_0x536257(0x169),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x536257(0x275)},'children':[{'tag':_0x536257(0x20f),'attrs':{'fill':'white','d':_0x536257(0x145)}}]}]}],'defIds':[_0x536257(0x275)]},_0x33d80d=_0x592962[_0x536257(0x21e)](function(_0x2458c6,_0x3ac219){const _0x56c70b=_0x536257;return _0x592962[_0x56c70b(0x13b)](_0x429dd0,Object[_0x56c70b(0xed)]({},_0x2458c6,{'id':'off-line-icon','ref':_0x3ac219,'icon':_0xad90ac}));});_0x33d80d[_0x536257(0x174)]='OffLineIcon';const _0x47d74c={'tag':'svg','attrs':{'xmlns':_0x536257(0x2bc),'fill':_0x536257(0x25f),'viewBox':_0x536257(0xbc),'width':_0x536257(0xbb),'height':_0x536257(0xbb)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x536257(0x20f),'attrs':{'stroke':'currentColor','d':_0x536257(0x11f),'strokeLinecap':_0x536257(0xa1),'strokeLinejoin':_0x536257(0xa1),'strokeWidth':1.2}}]},{'tag':_0x536257(0x169),'attrs':{},'children':[{'tag':_0x536257(0xfb),'attrs':{'id':_0x536257(0x140)},'children':[{'tag':_0x536257(0x20f),'attrs':{'fill':_0x536257(0x198),'d':_0x536257(0x145),'transform':_0x536257(0x11c)}}]}]}],'defIds':[_0x536257(0x140)]},_0x84ac7f=_0x592962['forwardRef'](function(_0x5d59e6,_0x2472c9){const _0x293333=_0x536257;return _0x592962[_0x293333(0x13b)](_0x429dd0,Object[_0x293333(0xed)]({},_0x5d59e6,{'id':'on-line-icon','ref':_0x2472c9,'icon':_0x47d74c}));});_0x84ac7f['displayName']=_0x536257(0xc2);function _0x4e1cad(_0x443e84){const _0x59e93e=_0x536257;switch(_0x443e84){case _0x431409[_0x59e93e(0x202)][_0x59e93e(0x1f5)]:return _0x59e93e(0x17f);case _0x431409['CollaborationStatus'][_0x59e93e(0x2e1)]:return'collabStatus.conflict';case _0x431409['CollaborationStatus']['FETCH_MISS']:return _0x59e93e(0x162);case _0x431409[_0x59e93e(0x202)][_0x59e93e(0x366)]:return _0x59e93e(0xf7);case _0x431409['CollaborationStatus']['AWAITING']:case _0x431409['CollaborationStatus'][_0x59e93e(0x2b0)]:return _0x59e93e(0x1f3);case _0x431409['CollaborationStatus'][_0x59e93e(0x189)]:case _0x431409[_0x59e93e(0x202)][_0x59e93e(0x1a4)]:return _0x59e93e(0x129);}}function _0x2b7032(_0x2c3679){const _0x241e03=_0x536257,{status$:_0x4d1b9b}=_0x2c3679,_0x2622bd=_0x2150fb[_0x241e03(0x2e2)](_0x4d1b9b,_0x431409[_0x241e03(0x202)][_0x241e03(0x366)]),_0x39f7d4=_0x2150fb[_0x241e03(0x27b)](_0x57396c['LocaleService']),_0x6bfb76=_0x2150fb[_0x241e03(0x27b)](_0x431409['CollaborationSessionService']),_0x28f7be=_0x2622bd!==_0x431409['CollaborationStatus']['OFFLINE'],_0x5a2006=_0x39f7d4['t'](_0x4e1cad(_0x2622bd)),_0x2191d0=_0x28f7be?_0x4321f7[_0x241e03(0xb8)](_0x84ac7f,{}):_0x4321f7[_0x241e03(0xb8)](_0x33d80d,{}),_0x5b6e18=_0x592962[_0x241e03(0x118)](()=>{const _0x4453a6=_0x241e03;_0x28f7be||_0x6bfb76[_0x4453a6(0x252)]();},[_0x28f7be,_0x6bfb76]);function _0x43a0e0(){const _0x478920=_0x241e03;return _0x4321f7[_0x478920(0x1b8)](_0x478920(0x342),{'className':'univer-flex\x20univer-items-center','onClick':_0x5b6e18,'children':[_0x4321f7[_0x478920(0xb8)]('div',{'className':_0x340b34[_0x478920(0x21d)](_0x478920(0x1cd),{'univer-text-green-500':_0x28f7be,'univer-text-red-500':!_0x28f7be}),'children':_0x2191d0}),_0x4321f7[_0x478920(0xb8)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5a2006})]});}return _0x28f7be?_0x43a0e0():_0x4321f7['jsx'](_0x340b34[_0x241e03(0xaf)],{'title':_0x39f7d4['t'](_0x241e03(0x27f)),'children':_0x43a0e0()});}var _0x2dc242=Object['getOwnPropertyDescriptor'],_0x392140=(_0x4c5709,_0x98eb38,_0x27bc7e,_0x24ed68)=>{const _0x4faa3f=_0x536257;for(var _0x120bf8=_0x24ed68>0x1?void 0x0:_0x24ed68?_0x2dc242(_0x98eb38,_0x27bc7e):_0x98eb38,_0x496b12=_0x4c5709[_0x4faa3f(0x286)]-0x1,_0x1f31e5;_0x496b12>=0x0;_0x496b12--)(_0x1f31e5=_0x4c5709[_0x496b12])&&(_0x120bf8=_0x1f31e5(_0x120bf8)||_0x120bf8);return _0x120bf8;},_0x3d8e61=(_0x26776e,_0x588268)=>(_0x369bc5,_0x245e94)=>_0x588268(_0x369bc5,_0x245e94,_0x26776e);_0x147b5e[_0x536257(0x147)]=class extends _0x57396c['Disposable']{constructor(_0x5e08af,_0x577649,_0x2a5b10,_0x2ed0c4){const _0xddb56=_0x536257;super(),_0x9699e1(this,_0xddb56(0x231),new _0x573ee4['BehaviorSubject'](_0x431409[_0xddb56(0x202)][_0xddb56(0x366)])),(this['_univerInstanceService']=_0x5e08af,this[_0xddb56(0x261)]=_0x577649,this[_0xddb56(0x115)]=_0x2a5b10,this[_0xddb56(0x149)]=_0x2ed0c4,this[_0xddb56(0x15e)](),this[_0xddb56(0x13f)]());}[_0x536257(0x13f)](){const _0x479549=_0x536257;this['disposeWithMe'](this[_0x479549(0x330)][_0x479549(0x1cc)][_0x479549(0xaa)](_0x573ee4[_0x479549(0x340)](()=>{const _0x3107f8=_0x479549,_0xb09cf3=this[_0x3107f8(0x330)][_0x3107f8(0x355)]();return _0xb09cf3?this[_0x3107f8(0x115)][_0x3107f8(0x171)](_0xb09cf3['getUnitId']()):_0x573ee4['of'](null);}),_0x573ee4[_0x479549(0x340)](_0x512970=>_0x512970?_0x512970['status$']:_0x573ee4['of'](_0x431409[_0x479549(0x202)]['NOT_COLLAB'])))[_0x479549(0x168)](_0xb74ee7=>{const _0x2ed011=_0x479549;this[_0x2ed011(0x231)][_0x2ed011(0x187)](_0xb74ee7);}));}[_0x536257(0x15e)](){const _0x4dd7b4=_0x536257;this[_0x4dd7b4(0xa4)](this[_0x4dd7b4(0x149)][_0x4dd7b4(0x197)](_0x2150fb[_0x4dd7b4(0x2e9)]['HEADER_MENU'],()=>_0x2150fb[_0x4dd7b4(0x111)](_0x3ccee0({'status$':this[_0x4dd7b4(0x231)][_0x4dd7b4(0x1ff)]()}),this['_injector'])));}},_0x147b5e['DesktopCollaborationStatusDisplayController']=_0x392140([_0x3d8e61(0x0,_0x57396c[_0x536257(0x339)]),_0x3d8e61(0x1,_0x57396c[_0x536257(0x305)](_0x57396c['Injector'])),_0x3d8e61(0x2,_0x57396c[_0x536257(0x305)](_0x431409[_0x536257(0x15c)])),_0x3d8e61(0x3,_0x2150fb[_0x536257(0x36b)])],_0x147b5e['DesktopCollaborationStatusDisplayController']);function _0x3ccee0(_0x2a8a71){const {status$:_0x2d0102}=_0x2a8a71;return function(){const _0x20fbe0=_0x5f1f;return _0x4321f7[_0x20fbe0(0xb8)](_0x2b7032,{'status$':_0x2d0102});};}const _0x1cdb1b=_0x57396c[_0x536257(0x30c)](_0x536257(0x217));var _0x546a23=Object['getOwnPropertyDescriptor'],_0x443570=(_0x3e869e,_0x54c2ce,_0x39474a,_0x5e92ce)=>{const _0x3c2f89=_0x536257;for(var _0x45d0b2=_0x5e92ce>0x1?void 0x0:_0x5e92ce?_0x546a23(_0x54c2ce,_0x39474a):_0x54c2ce,_0x5b5fb9=_0x3e869e[_0x3c2f89(0x286)]-0x1,_0x5a0e1d;_0x5b5fb9>=0x0;_0x5b5fb9--)(_0x5a0e1d=_0x3e869e[_0x5b5fb9])&&(_0x45d0b2=_0x5a0e1d(_0x45d0b2)||_0x45d0b2);return _0x45d0b2;},_0x1b279f=(_0x224040,_0x1a783a)=>(_0x94ff91,_0x3e767e)=>_0x1a783a(_0x94ff91,_0x3e767e,_0x224040);_0x147b5e[_0x536257(0x14a)]=class extends _0x57396c['RxDisposable']{constructor(_0x15c3a2,_0x8c7f90,_0x55da61,_0x13d28e,_0x1800f9){const _0x24873b=_0x536257;super(),this['_urlService']=_0x15c3a2,this[_0x24873b(0x106)]=_0x8c7f90,this[_0x24873b(0x1e4)]=_0x55da61,this[_0x24873b(0x1ba)]=_0x13d28e,_0x1800f9?_0x1800f9==null||_0x1800f9['whenReady']()[_0x24873b(0x31e)](()=>this[_0x24873b(0x19c)]()):(this[_0x24873b(0x106)]['debug'](_0x24873b(0xf4),_0x24873b(0x306)),this[_0x24873b(0x19c)]());}async['_init'](){const _0x42e3b9=_0x536257,_0x2db56a=this[_0x42e3b9(0x1b7)][_0x42e3b9(0x1d9)](_0x42e3b9(0x25e)),_0x92b743=this[_0x42e3b9(0x1b7)]['getParam'](_0x42e3b9(0x188)),_0x4c3c55=this[_0x42e3b9(0x1b7)]['getParam'](_0x42e3b9(0x2bb));if(!_0x2db56a||!_0x92b743){this[_0x42e3b9(0x106)][_0x42e3b9(0x278)](_0x42e3b9(0xf4),_0x42e3b9(0x12e));return;}const _0x7430d7=await this['_dataLoaderService']['loadUnit'](_0x2db56a,Number(_0x92b743),_0x4c3c55);_0x7430d7&&_0x7430d7 instanceof _0x57396c[_0x42e3b9(0x112)]&&this[_0x42e3b9(0x151)](_0x7430d7);}async['_setupSubUnitSync'](_0x1a8a30){const _0x549aaa=_0x536257;await this[_0x549aaa(0x22b)](_0x1a8a30),_0x1a8a30['activeSheet$']['pipe'](_0x573ee4[_0x549aaa(0x30d)](this[_0x549aaa(0x2a4)]))[_0x549aaa(0x168)](_0x2a73bb=>{const _0x38d067=_0x549aaa;_0x2a73bb&&this[_0x38d067(0x24f)](_0x2a73bb);}),this['_urlService']['urlChange$'][_0x549aaa(0xaa)](_0x573ee4[_0x549aaa(0x30d)](this['dispose$']))['subscribe'](()=>this[_0x549aaa(0x22b)](_0x1a8a30));}[_0x536257(0x24f)](_0x2c7a91,_0x24086c=!0x1){const _0x339eab=_0x536257,_0x146d9c=this[_0x339eab(0x1b7)]['getParam'](_0x339eab(0x2bb));_0x2c7a91[_0x339eab(0x200)]()!==_0x146d9c&&this[_0x339eab(0x1b7)][_0x339eab(0x150)](_0x339eab(0x2bb),_0x2c7a91['getSheetId'](),_0x24086c);}async['_updateSubUnitFromURLParams'](_0x233702){const _0x1ac933=_0x536257;var _0x3c1758;const _0x24c197=this[_0x1ac933(0x1b7)][_0x1ac933(0x1d9)](_0x1ac933(0x2bb));if(!_0x24c197||!_0x233702[_0x1ac933(0x1a8)](_0x24c197)){const _0x4e31b3=_0x233702[_0x1ac933(0x33c)]()[0x0],_0x2d76d6=_0x233702[_0x1ac933(0x1a8)](_0x4e31b3);if(!_0x2d76d6)return;this[_0x1ac933(0x24f)](_0x2d76d6,!0x0),await this[_0x1ac933(0x1e4)]['executeCommand'](_0x317ac0['SetWorksheetActivateCommand']['id'],{'unitId':_0x233702['getUnitId'](),'subUnitId':_0x4e31b3});return;}((_0x3c1758=_0x233702[_0x1ac933(0x1c6)]())==null?void 0x0:_0x3c1758[_0x1ac933(0x200)]())!==_0x24c197&&await this[_0x1ac933(0x1e4)]['executeCommand'](_0x317ac0[_0x1ac933(0x211)]['id'],{'unitId':_0x233702[_0x1ac933(0x1ef)](),'subUnitId':_0x24c197});}},_0x147b5e[_0x536257(0x14a)]=_0x443570([_0x1b279f(0x0,_0x1cdb1b),_0x1b279f(0x1,_0x57396c['ILogService']),_0x1b279f(0x2,_0x57396c[_0x536257(0xb7)]),_0x1b279f(0x3,_0x57396c[_0x536257(0x305)](_0x431409[_0x536257(0x2c4)])),_0x1b279f(0x4,_0x57396c[_0x536257(0x260)](_0x41a435['IRemoteInstanceService']))],_0x147b5e[_0x536257(0x14a)]);var _0x2407ec=Object[_0x536257(0x11b)],_0x2e7a9b=(_0x29b7fb,_0x503a4f,_0x133a35,_0x57efb6)=>{const _0x8ed9dd=_0x536257;for(var _0x5bbda1=_0x57efb6>0x1?void 0x0:_0x57efb6?_0x2407ec(_0x503a4f,_0x133a35):_0x503a4f,_0x30a75b=_0x29b7fb[_0x8ed9dd(0x286)]-0x1,_0x115487;_0x30a75b>=0x0;_0x30a75b--)(_0x115487=_0x29b7fb[_0x30a75b])&&(_0x5bbda1=_0x115487(_0x5bbda1)||_0x5bbda1);return _0x5bbda1;},_0x1c017c=(_0x45f71b,_0x65892c)=>(_0x419e27,_0x1e7d66)=>_0x65892c(_0x419e27,_0x1e7d66,_0x45f71b);let _0x1eec32=class extends _0x57396c[_0x536257(0x2a6)]{constructor(_0x1a7fe4,_0x388d50){const _0x5ec85e=_0x536257;super(),this[_0x5ec85e(0x143)]=_0x1a7fe4,this['_imageIoService']=_0x388d50,this[_0x5ec85e(0x19c)]();}['_init'](){const _0x4959ec=_0x536257,_0xa6d47b=this;this[_0x4959ec(0xa4)](this[_0x4959ec(0x143)][_0x4959ec(0x126)]({'onBeforePasteImage':async _0x31cb26=>{const _0x18b55a=_0x4959ec,_0x339ca1=await _0xa6d47b[_0x18b55a(0x1d7)]['saveImage'](_0x31cb26);return _0x339ca1?{'source':_0x339ca1[_0x18b55a(0xf8)],'imageSourceType':_0x339ca1[_0x18b55a(0x282)]}:null;}}));}};_0x1eec32=_0x2e7a9b([_0x1c017c(0x0,_0x467a84[_0x536257(0x219)]),_0x1c017c(0x1,_0x43aefd[_0x536257(0x196)])],_0x1eec32);const _0x3dafc0=['purple.300',_0x536257(0x350),'green.600',_0x536257(0x1d6),_0x536257(0x2b4),_0x536257(0x21f)];class _0x51d6bd extends _0x57396c[_0x536257(0x328)]{constructor(){super(...arguments),_0x9699e1(this,'_assignedColors',new Map()),_0x9699e1(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5714c4){const _0x383739=_0x536257;if(this['_assignedColors'][_0x383739(0x2d2)](_0x5714c4))return this[_0x383739(0x1c4)]['get'](_0x5714c4);const _0x30db00=_0x3dafc0[this[_0x383739(0x25c)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x3dafc0[_0x383739(0x286)],this[_0x383739(0x1c4)][_0x383739(0x210)](_0x5714c4,_0x30db00),_0x30db00;}}function _0x469f61(_0x35cfb9){const _0x2ee5b7=_0x536257;let _0x43ee57='';for(const _0xc9075 of _0x35cfb9){const {startOffset:_0x1b3fcf,endOffset:_0x24b08f,isActive:_0x55ca61,rangeType:_0x356b95,segmentId:_0x486381,segmentPage:_0x4a153c}=_0xc9075;_0x43ee57[_0x2ee5b7(0x286)]&&(_0x43ee57+=','),_0x43ee57+=_0x1b3fcf+':'+_0x24b08f+':'+(_0x55ca61?'1':'0')+':'+_0x356b95+':'+_0x486381+':'+_0x4a153c;}return _0x43ee57;}function _0x49ddaf(_0x270a08){const _0x160b75=_0x536257,_0x4016ad=_0x270a08[_0x160b75(0x195)](','),_0x3f5538=[];for(const _0x3ec17d of _0x4016ad){const [_0x56053c,_0x48ea15,_0x33cf76,_0x100806,_0x2f120b,_0x523b82]=_0x3ec17d['split'](':');_0x3f5538['push']({'startOffset':Number(_0x56053c),'endOffset':Number(_0x48ea15),'collapsed':_0x56053c===_0x48ea15,'isActive':_0x33cf76==='1','rangeType':_0x100806===_0x57396c[_0x160b75(0x173)][_0x160b75(0x161)]?_0x57396c['DOC_RANGE_TYPE'][_0x160b75(0x161)]:_0x57396c[_0x160b75(0x173)][_0x160b75(0x31c)],'segmentId':typeof _0x2f120b=='string'?String(_0x2f120b):'','segmentPage':Number(_0x523b82!=null?_0x523b82:-0x1)});}return _0x3f5538[_0x160b75(0x36a)](_0x27bd39=>_0x27bd39[_0x160b75(0x2a7)])||(_0x3f5538[0x0][_0x160b75(0x2a7)]=!0x0),_0x3f5538;}class _0x21f8f7 extends _0x57396c['RxDisposable']{constructor(){const _0x441967=_0x536257;super(...arguments),_0x9699e1(this,'_collabCursorState$',new _0x573ee4[(_0x441967(0x290))](null)),_0x9699e1(this,_0x441967(0x14c),this[_0x441967(0x1a5)][_0x441967(0x1ff)]());}[_0x536257(0x1e2)](_0x462326){const {unitID:_0x5774c1,memberID:_0x3f9245,textRanges:_0x5159be}=_0x462326,_0x4ee297=_0x469f61(_0x5159be);if(_0x4ee297==='')return;const _0x90addd={'unitID':_0x5774c1,'memberID':_0x3f9245,'selection':_0x4ee297};this['_collabCursorState$']['next'](_0x90addd);}}var _0x3741ca=Object[_0x536257(0x11b)],_0x4b5140=(_0x5a6809,_0x4a313c,_0x2a378f,_0x56fc2a)=>{for(var _0x2eec8d=_0x56fc2a>0x1?void 0x0:_0x56fc2a?_0x3741ca(_0x4a313c,_0x2a378f):_0x4a313c,_0x52ae37=_0x5a6809['length']-0x1,_0x14cecb;_0x52ae37>=0x0;_0x52ae37--)(_0x14cecb=_0x5a6809[_0x52ae37])&&(_0x2eec8d=_0x14cecb(_0x2eec8d)||_0x2eec8d);return _0x2eec8d;},_0x225403=(_0x17ceb2,_0x1835f7)=>(_0x2599f8,_0xc4077b)=>_0x1835f7(_0x2599f8,_0xc4077b,_0x17ceb2);const _0x4a1e46=0x12c,_0x38bcf1=0x64;let _0x1aa9b7=class extends _0x57396c[_0x536257(0x2a6)]{constructor(_0x44bf99,_0x3c0207,_0x364093,_0x146031,_0x5a7d8f,_0x5bbe97,_0x652d3c,_0x4288f5,_0x56b127){const _0x5ddfb3=_0x536257;super(),_0x9699e1(this,_0x5ddfb3(0x13e),!0x1),_0x9699e1(this,'_init',!0x1),_0x9699e1(this,_0x5ddfb3(0x329),new _0x573ee4['BehaviorSubject'](new Map())),_0x9699e1(this,_0x5ddfb3(0xab),this[_0x5ddfb3(0x329)][_0x5ddfb3(0x1ff)]()),_0x9699e1(this,_0x5ddfb3(0x23a),new _0x573ee4['BehaviorSubject']([])),_0x9699e1(this,_0x5ddfb3(0x256),this['_roomMembers$']['pipe'](_0x573ee4[_0x5ddfb3(0xf5)](_0x4a1e46))),_0x9699e1(this,_0x5ddfb3(0x29b),_0x57396c[_0x5ddfb3(0x254)](_0x4a9917=>{const _0x1aa497=_0x5ddfb3,_0x15706c={'eventID':_0xbe4f3b['CollaborationEvent'][_0x1aa497(0x2fe)],'data':{'unitID':this[_0x1aa497(0x2e5)],'memberID':this['_session']['getMemberID'](),'selection':_0x469f61(_0x4a9917)}};this[_0x1aa497(0x1fe)][_0x1aa497(0x234)](_0x15706c,this['unitID']);},_0x38bcf1)),(this[_0x5ddfb3(0x2e5)]=_0x44bf99,this['_session']=_0x3c0207,this[_0x5ddfb3(0x261)]=_0x364093,this[_0x5ddfb3(0x16a)]=_0x146031,this[_0x5ddfb3(0xcd)]=_0x5a7d8f,this[_0x5ddfb3(0x2ac)]=_0x5bbe97,this[_0x5ddfb3(0x15b)]=_0x652d3c,this[_0x5ddfb3(0x330)]=_0x4288f5,this[_0x5ddfb3(0x1e4)]=_0x56b127);}get[_0x536257(0x258)](){const _0xe89fd8=_0x536257;return this[_0xe89fd8(0x329)][_0xe89fd8(0x36f)]();}get['roomMembers'](){const _0x4a7273=_0x536257;return this[_0x4a7273(0x23a)][_0x4a7273(0x36f)]();}[_0x536257(0x30b)](){const _0x5eb471=_0x536257;super['dispose'](),this[_0x5eb471(0x329)]['next'](new Map()),this[_0x5eb471(0x329)][_0x5eb471(0xa5)](),this[_0x5eb471(0x23a)][_0x5eb471(0x187)]([]),this['_roomMembers$'][_0x5eb471(0xa5)]();}[_0x536257(0x164)](){const _0x4e7467=_0x536257;this[_0x4e7467(0x19c)]||(this[_0x4e7467(0x19c)]=!0x0,this[_0x4e7467(0x1fe)]['sessionStatus$'][_0x4e7467(0xaa)](_0x573ee4[_0x4e7467(0x30d)](this[_0x4e7467(0x2a4)]))[_0x4e7467(0x168)](_0x2c850e=>{const _0x4f3710=_0x4e7467;_0x2c850e===_0x431409[_0x4f3710(0x220)][_0x4f3710(0x296)]?this[_0x4f3710(0x2d6)]():this[_0x4f3710(0x2b8)]();}),this[_0x4e7467(0x1fe)][_0x4e7467(0xf0)][_0x4e7467(0xaa)](_0x573ee4[_0x4e7467(0x30d)](this[_0x4e7467(0x2a4)]))[_0x4e7467(0x168)](_0x7d316b=>{const _0x4114a8=_0x4e7467,_0x1c2863=_0x7d316b['eventID'];_0x1c2863===_0xbe4f3b[_0x4114a8(0x177)][_0x4114a8(0x2fe)]&&this[_0x4114a8(0x322)](_0x7d316b),_0x1c2863===_0xbe4f3b['CollaborationEvent'][_0x4114a8(0xcc)]&&this[_0x4114a8(0x311)](_0x7d316b);}),this[_0x4e7467(0xa4)](this[_0x4e7467(0x1e4)]['onCommandExecuted'](_0x133712=>{const _0x316775=_0x4e7467,_0x268d63=_0x133712['params'];_0x268d63!=null&&this['_online']&&_0x133712['id']===_0x374412[_0x316775(0x156)]['id']&&_0x268d63[_0x316775(0x29a)]===this['unitID']&&_0x268d63['isEditing']===!0x1&&_0x268d63['ranges'][_0x316775(0x286)]>0x0&&this[_0x316775(0x29b)](_0x268d63[_0x316775(0x26e)]);})),this[_0x4e7467(0x2ac)][_0x4e7467(0x14c)][_0x4e7467(0xaa)](_0x573ee4[_0x4e7467(0x30d)](this[_0x4e7467(0x2a4)]))['subscribe'](_0x3da9b5=>{const _0x358fe7=_0x4e7467;if((_0x3da9b5==null?void 0x0:_0x3da9b5[_0x358fe7(0x2e5)])!==this[_0x358fe7(0x2e5)])return;const _0x115c18={'eventID':_0xbe4f3b[_0x358fe7(0x177)][_0x358fe7(0x2fe)],'data':_0x3da9b5};this[_0x358fe7(0x322)](_0x115c18);}),this[_0x4e7467(0xa4)](this['_commandService']['onCommandExecuted'](_0x340e21=>{const _0x521359=_0x4e7467;if(_0x340e21['params']==null)return;const _0x3898d7=_0x340e21[_0x521359(0x27a)];if(_0x340e21['id']!==_0x374412[_0x521359(0x347)]['id']||_0x3898d7[_0x521359(0x29a)]!==this['unitID'])return;const _0x1cc6e2={'id':_0x521359(0x32a),'params':_0x3898d7},_0x2df17e=this[_0x521359(0x258)];for(const [_0x4de5b4,_0x2f2540]of _0x2df17e){const _0x12f012={'id':_0x521359(0x32a),'params':{'unitId':this[_0x521359(0x2e5)],'actions':null,'textRanges':_0x2f2540[_0x521359(0x26e)]}},_0x1de468=this[_0x521359(0x15b)]['transformMutation'](_0x1cc6e2,_0x12f012,!0x1);if(_0xbe4f3b[_0x521359(0x207)](_0x1de468))throw _0x1de468[_0x521359(0xd6)];_0x2df17e['set'](_0x4de5b4,{..._0x2f2540,'ranges':_0x1de468[_0x521359(0x299)][_0x521359(0x27a)][_0x521359(0x20e)]});}queueMicrotask(()=>{const _0x116abb=_0x521359;this[_0x116abb(0x329)]['next'](_0x2df17e);});})));}[_0x536257(0x322)](_0x13c211){const _0x1f4334=_0x536257;var _0x198756,_0x2a08f1;const {memberID:_0x425c59,selection:_0x2d28f4}=_0x13c211[_0x1f4334(0xe0)],_0x3ec290=_0x49ddaf(_0x2d28f4),_0x9590ce=(_0x2a08f1=(_0x198756=this[_0x1f4334(0xcd)][_0x1f4334(0x2fc)](this[_0x1f4334(0x2e5)],_0x425c59))==null?void 0x0:_0x198756['name'])!=null?_0x2a08f1:'Unknown\x20user',_0x25deff={'color':this[_0x1f4334(0x16a)][_0x1f4334(0x2d1)](_0x425c59),'name':_0x9590ce,'ranges':_0x3ec290},_0x214999=this[_0x1f4334(0x258)];_0x214999['set'](_0x425c59,_0x25deff),this['_cursorInfo$'][_0x1f4334(0x187)](_0x214999);}[_0x536257(0x311)](_0x448ae6){const _0x3b09ab=_0x536257,{memberID:_0x116016}=_0x448ae6[_0x3b09ab(0xe0)],_0x3a4984=this['cursorInfo'];_0x3a4984['delete'](_0x116016),this[_0x3b09ab(0x329)][_0x3b09ab(0x187)](_0x3a4984);}[_0x536257(0x2d6)](){const _0x27bf75=_0x536257;var _0x4600db;if(this[_0x27bf75(0x13e)]=!0x0,((_0x4600db=this[_0x27bf75(0x330)][_0x27bf75(0x355)]())==null?void 0x0:_0x4600db[_0x27bf75(0x1ef)]())!==this[_0x27bf75(0x2e5)])return;const _0x2ce952=this['_injector'][_0x27bf75(0xf1)](_0x374412[_0x27bf75(0x239)])['getDocRanges']();Array['isArray'](_0x2ce952)&&_0x2ce952[_0x27bf75(0x286)]>0x0&&this[_0x27bf75(0x29b)](_0x2ce952);}[_0x536257(0x2b8)](){const _0x414998=_0x536257;this[_0x414998(0x13e)]=!0x1;}};_0x1aa9b7=_0x4b5140([_0x225403(0x2,_0x57396c['Inject'](_0x57396c[_0x536257(0x24a)])),_0x225403(0x3,_0x57396c[_0x536257(0x305)](_0x51d6bd)),_0x225403(0x4,_0x57396c[_0x536257(0x305)](_0x431409[_0x536257(0x273)])),_0x225403(0x5,_0x57396c['Inject'](_0x21f8f7)),_0x225403(0x6,_0xbe4f3b[_0x536257(0x110)]),_0x225403(0x7,_0x57396c[_0x536257(0x339)]),_0x225403(0x8,_0x57396c['ICommandService'])],_0x1aa9b7);var _0x39e27e=Object[_0x536257(0x11b)],_0x5b5572=(_0x1f69c9,_0x566dfa,_0x2dfac3,_0x4761c5)=>{for(var _0x1a4f61=_0x4761c5>0x1?void 0x0:_0x4761c5?_0x39e27e(_0x566dfa,_0x2dfac3):_0x566dfa,_0x482002=_0x1f69c9['length']-0x1,_0x117391;_0x482002>=0x0;_0x482002--)(_0x117391=_0x1f69c9[_0x482002])&&(_0x1a4f61=_0x117391(_0x1a4f61)||_0x1a4f61);return _0x1a4f61;},_0x5ad45a=(_0x23df7e,_0x306232)=>(_0x309ccf,_0x6232f7)=>_0x306232(_0x309ccf,_0x6232f7,_0x23df7e);const _0xd92c61=0x12c,_0x11fd80=0x64,_0x8be527=()=>{let _0x2481e3=[],_0x1393f5=!0x1;return _0x5d9282=>{const _0x5ad3ee=_0x5f1f;_0x2481e3[_0x5ad3ee(0x2f1)](_0x5d9282),_0x1393f5||(_0x1393f5=!0x0,setTimeout(()=>{const _0x30b8f4=_0x5ad3ee;_0x2481e3[_0x30b8f4(0x357)](_0x107ccb=>_0x107ccb()),_0x2481e3=[],_0x1393f5=!0x1;}));};};let _0x9372b2=class extends _0x57396c[_0x536257(0x2a6)]{constructor(_0x31c829,_0x3e9313,_0x1e1fcf,_0x26ee48,_0x443e88,_0x20e59d,_0x5e30aa,_0x1b1dae){const _0x35aa4e=_0x536257;super(),_0x9699e1(this,_0x35aa4e(0x13e),!0x1),_0x9699e1(this,_0x35aa4e(0x19c),!0x1),_0x9699e1(this,_0x35aa4e(0x329),new _0x573ee4[(_0x35aa4e(0x290))](new Map())),_0x9699e1(this,_0x35aa4e(0xab),this[_0x35aa4e(0x329)][_0x35aa4e(0x1ff)]()),_0x9699e1(this,_0x35aa4e(0x23a),new _0x573ee4[(_0x35aa4e(0x290))]([])),_0x9699e1(this,_0x35aa4e(0x256),this[_0x35aa4e(0x23a)]['pipe'](_0x573ee4[_0x35aa4e(0xf5)](_0xd92c61))),_0x9699e1(this,'_updateLocalCursor',_0x57396c['debounce']((_0x10d0d6,_0xefc4f1)=>{const _0x40bca1=_0x35aa4e,_0x16f774={'eventID':_0xbe4f3b[_0x40bca1(0x177)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x40bca1(0x2e5)],'memberID':this['_session'][_0x40bca1(0x338)](),'selection':_0x4b20b5['serializeRangeWithSheet'](_0x10d0d6,_0xefc4f1[_0x40bca1(0x1ce)])}};this[_0x40bca1(0x1fe)][_0x40bca1(0x234)](_0x16f774,this[_0x40bca1(0x2e5)]);},_0x11fd80)),(this['unitID']=_0x31c829,this['_session']=_0x3e9313,this[_0x35aa4e(0x261)]=_0x1e1fcf,this[_0x35aa4e(0x16a)]=_0x26ee48,this['_memberService']=_0x443e88,this[_0x35aa4e(0x330)]=_0x20e59d,this[_0x35aa4e(0x1e4)]=_0x5e30aa,this['_refRangeService']=_0x1b1dae);}get[_0x536257(0x258)](){const _0x419157=_0x536257;return this[_0x419157(0x329)][_0x419157(0x36f)]();}get['roomMembers'](){const _0x12a152=_0x536257;return this[_0x12a152(0x23a)][_0x12a152(0x36f)]();}[_0x536257(0x30b)](){const _0x3e352b=_0x536257;super[_0x3e352b(0x30b)](),this[_0x3e352b(0x329)][_0x3e352b(0x187)](new Map()),this[_0x3e352b(0x329)]['complete'](),this[_0x3e352b(0x23a)][_0x3e352b(0x187)]([]),this[_0x3e352b(0x23a)]['complete']();}[_0x536257(0x164)](){const _0x2c5fee=_0x536257;this['_init']||(this[_0x2c5fee(0x19c)]=!0x0,this['_session'][_0x2c5fee(0x186)][_0x2c5fee(0xaa)](_0x573ee4['takeUntil'](this[_0x2c5fee(0x2a4)]))['subscribe'](_0x1294bd=>{const _0x20fc5f=_0x2c5fee;_0x1294bd===_0x431409[_0x20fc5f(0x220)]['ONLINE']?this[_0x20fc5f(0x2d6)]():this['_toggleOffline']();}),this[_0x2c5fee(0x1fe)][_0x2c5fee(0xf0)][_0x2c5fee(0xaa)](_0x573ee4[_0x2c5fee(0x30d)](this[_0x2c5fee(0x2a4)]))['subscribe'](_0x3e551f=>{const _0x530f1e=_0x2c5fee,_0x15072d=_0x3e551f[_0x530f1e(0x2f9)];_0x15072d===_0xbe4f3b[_0x530f1e(0x177)][_0x530f1e(0x2fe)]&&this[_0x530f1e(0x322)](_0x3e551f),_0x15072d===_0xbe4f3b['CollaborationEvent'][_0x530f1e(0xcc)]&&this[_0x530f1e(0x311)](_0x3e551f);}),this[_0x2c5fee(0x1db)](),this[_0x2c5fee(0xa4)](this[_0x2c5fee(0x1e4)][_0x2c5fee(0x11e)](_0x1a26ae=>{const _0x3a66e3=_0x2c5fee;if(this[_0x3a66e3(0x13e)]&&_0x1a26ae['id']===_0x317ac0[_0x3a66e3(0x1e6)]['id']&&_0x1a26ae['params']['unitId']===this[_0x3a66e3(0x2e5)]){const _0x53aa2b=_0x1a26ae[_0x3a66e3(0x27a)];this['_updateLocalCursor'](_0x53aa2b['subUnitId'],_0x53aa2b[_0x3a66e3(0x148)][0x0]);}})));}[_0x536257(0x322)](_0x141731){const _0x2f814d=_0x536257;var _0x2f41aa,_0x42b37b;const {memberID:_0x396e75,selection:_0x4f9dcf}=_0x141731[_0x2f814d(0xe0)],{sheetName:_0x30629b,range:_0x3c2930}=_0x4b20b5['deserializeRangeWithSheet'](_0x4f9dcf),_0xf5bfe6={'name':(_0x42b37b=(_0x2f41aa=this[_0x2f814d(0xcd)]['getMember'](this[_0x2f814d(0x2e5)],_0x396e75))==null?void 0x0:_0x2f41aa[_0x2f814d(0xbf)])!=null?_0x42b37b:_0x2f814d(0x2a1),'range':this[_0x2f814d(0x170)](_0x30629b,_0x3c2930),'sheetID':_0x30629b,'color':this['_colorAssignService'][_0x2f814d(0x2d1)](_0x396e75),'selection':_0x4f9dcf},_0x317711=this[_0x2f814d(0x258)];_0x317711['set'](_0x396e75,_0xf5bfe6),this[_0x2f814d(0x329)][_0x2f814d(0x187)](_0x317711);}['_onCursorDelete'](_0x9dc472){const _0x2a3473=_0x536257,{memberID:_0x1a5562}=_0x9dc472[_0x2a3473(0xe0)],_0x4110a4=this[_0x2a3473(0x258)];_0x4110a4['delete'](_0x1a5562),this['_cursorInfo$']['next'](_0x4110a4);}[_0x536257(0x170)](_0x261d9d,_0x453442){const _0x1691c9=_0x536257;var _0xdb85ea,_0x37ed1f;const _0x34d631=(_0x37ed1f=(_0xdb85ea=this[_0x1691c9(0x330)][_0x1691c9(0x1c8)](this[_0x1691c9(0x2e5)]))==null?void 0x0:_0xdb85ea[_0x1691c9(0x1a8)](_0x261d9d))==null?void 0x0:_0x37ed1f[_0x1691c9(0x2d4)]();return(_0x34d631==null?void 0x0:_0x34d631[_0x1691c9(0x368)](_0x54a549=>_0x57396c[_0x1691c9(0x33b)][_0x1691c9(0x2ce)](_0x54a549,_0x453442)))||_0x453442;}[_0x536257(0x1db)](){const _0x45c192=_0x536257,_0x122d8c=new _0x57396c[(_0x45c192(0x28f))](),_0x30fdb3=_0x8be527(),_0x558645=()=>{const _0x22d797=_0x45c192;_0x122d8c['dispose']();const _0x438ac6=(_0x2f69e3,_0x50e710,_0x2ff61b,_0x5b53f9)=>{const _0x40a169=_0x5f1f;let _0xfd23b4=[];switch(_0x2f69e3['id']){case _0x317ac0[_0x40a169(0x335)][_0x40a169(0x167)]:{_0xfd23b4=_0x317ac0[_0x40a169(0x138)](_0x2f69e3,_0x5b53f9);break;}case _0x317ac0[_0x40a169(0x335)]['DeleteRangeMoveUpCommandId']:{_0xfd23b4=_0x317ac0[_0x40a169(0x2f3)](_0x2f69e3,_0x5b53f9);break;}case _0x317ac0[_0x40a169(0x335)][_0x40a169(0x114)]:{_0xfd23b4=_0x317ac0['handleInsertCol'](_0x2f69e3,_0x5b53f9);break;}case _0x317ac0[_0x40a169(0x335)]['InsertRangeMoveDownCommandId']:{_0xfd23b4=_0x317ac0[_0x40a169(0x277)](_0x2f69e3,_0x5b53f9);break;}case _0x317ac0[_0x40a169(0x335)][_0x40a169(0x11a)]:{_0xfd23b4=_0x317ac0['handleInsertRangeMoveRight'](_0x2f69e3,_0x5b53f9);break;}case _0x317ac0[_0x40a169(0x335)][_0x40a169(0x2f6)]:{_0xfd23b4=_0x317ac0[_0x40a169(0x2fd)](_0x2f69e3,_0x5b53f9);break;}case _0x317ac0['EffectRefRangId'][_0x40a169(0xe8)]:{_0xfd23b4=_0x317ac0[_0x40a169(0x1ee)](_0x2f69e3,_0x5b53f9);break;}case _0x317ac0[_0x40a169(0x335)][_0x40a169(0x102)]:{_0xfd23b4=_0x317ac0['handleIRemoveCol'](_0x2f69e3,_0x5b53f9);break;}case _0x317ac0[_0x40a169(0x335)][_0x40a169(0x1e5)]:{_0xfd23b4=_0x317ac0[_0x40a169(0x2e6)](_0x2f69e3,_0x5b53f9);break;}}const _0x5a8545=_0x317ac0[_0x40a169(0x312)](_0xfd23b4,_0x5b53f9),_0x49a2b6=this['cursorInfo']['get'](_0x50e710);if(_0x49a2b6&&_0x5a8545){const _0xf336a6={..._0x49a2b6,'range':_0x5a8545};this[_0x40a169(0x258)][_0x40a169(0x210)](_0x50e710,_0xf336a6),_0x30fdb3(()=>{const _0x3f9adb=_0x40a169,_0x548485=this[_0x3f9adb(0x26d)][_0x3f9adb(0x35c)](_0x5a8545,_0x321fe4=>(_0x548485['dispose'](),_0x438ac6(_0x321fe4,_0x50e710,_0x2ff61b,_0x5a8545)));_0x122d8c[_0x3f9adb(0x117)](_0x548485);});}return{'redos':[],'undos':[]};};this[_0x22d797(0x258)]['forEach']((_0x49e379,_0x504caa)=>{const _0x52ac95=_0x22d797,{range:_0x60eb6b,sheetID:_0x5cd244}=_0x49e379,_0x35747d=this[_0x52ac95(0x26d)][_0x52ac95(0x35c)](_0x60eb6b,_0x25f813=>(_0x35747d['dispose'](),_0x438ac6(_0x25f813,_0x504caa,_0x5cd244,_0x60eb6b)));_0x122d8c['add'](_0x35747d);});};this['disposeWithMe'](_0x57396c[_0x45c192(0xb6)](this[_0x45c192(0x329)]['subscribe'](()=>{_0x558645();})));}[_0x536257(0x2d6)](){const _0x351b0e=_0x536257;var _0x18844d,_0x55efdc;if(this[_0x351b0e(0x13e)]=!0x0,((_0x18844d=this[_0x351b0e(0x330)][_0x351b0e(0x355)]())==null?void 0x0:_0x18844d[_0x351b0e(0x1ef)]())!==this['unitID'])return;const _0x2ed29e=(_0x55efdc=this[_0x351b0e(0x261)][_0x351b0e(0xf1)](_0x317ac0[_0x351b0e(0x22d)])[_0x351b0e(0x1d4)]())==null?void 0x0:_0x55efdc[0x0],_0x383c07=this['_univerInstanceService']['getCurrentUnitForType'](_0x57396c[_0x351b0e(0xac)][_0x351b0e(0x2c5)])[_0x351b0e(0x1c6)]();_0x2ed29e&&_0x383c07&&this['_updateLocalCursor'](_0x383c07[_0x351b0e(0x200)](),_0x2ed29e);}[_0x536257(0x2b8)](){this['_online']=!0x1;}};_0x9372b2=_0x5b5572([_0x5ad45a(0x2,_0x57396c[_0x536257(0x305)](_0x57396c[_0x536257(0x24a)])),_0x5ad45a(0x3,_0x57396c['Inject'](_0x51d6bd)),_0x5ad45a(0x4,_0x57396c[_0x536257(0x305)](_0x431409[_0x536257(0x273)])),_0x5ad45a(0x5,_0x57396c['IUniverInstanceService']),_0x5ad45a(0x6,_0x57396c[_0x536257(0xb7)]),_0x5ad45a(0x7,_0x57396c[_0x536257(0x305)](_0x317ac0['RefRangeService']))],_0x9372b2);var _0x365bab=Object[_0x536257(0x11b)],_0x458cd3=(_0x59b062,_0x39b9e0,_0x1bb932,_0x5714b3)=>{const _0x414dbc=_0x536257;for(var _0x4005ee=_0x5714b3>0x1?void 0x0:_0x5714b3?_0x365bab(_0x39b9e0,_0x1bb932):_0x39b9e0,_0x5b3d9c=_0x59b062[_0x414dbc(0x286)]-0x1,_0x1d2875;_0x5b3d9c>=0x0;_0x5b3d9c--)(_0x1d2875=_0x59b062[_0x5b3d9c])&&(_0x4005ee=_0x1d2875(_0x4005ee)||_0x4005ee);return _0x4005ee;},_0x55a736=(_0x80e470,_0x1cb520)=>(_0x46ddbb,_0x5bfd8c)=>_0x1cb520(_0x46ddbb,_0x5bfd8c,_0x80e470);let _0x22720e=class extends _0x57396c[_0x536257(0x2a6)]{constructor(_0x4d8781,_0x485e26,_0x2eb8b6){const _0x4df5b8=_0x536257;super(),_0x9699e1(this,_0x4df5b8(0x20c),new Map()),_0x9699e1(this,'_entityInit$',new _0x573ee4[(_0x4df5b8(0x327))]()),(this[_0x4df5b8(0x330)]=_0x4d8781,this[_0x4df5b8(0x261)]=_0x485e26,this[_0x4df5b8(0xba)]=_0x2eb8b6,this['_init']());}[_0x536257(0x30b)](){const _0x376a6a=_0x536257;super[_0x376a6a(0x30b)](),this[_0x376a6a(0x119)][_0x376a6a(0xa5)](),this[_0x376a6a(0x20c)][_0x376a6a(0x357)](_0x17cbff=>_0x17cbff[_0x376a6a(0x30b)]());}['getCollabCursors$'](_0x234566){const _0x4379db=_0x536257;return this[_0x4379db(0x20c)][_0x4379db(0x2d2)](_0x234566)?this['_entities'][_0x4379db(0xf1)](_0x234566)['cursorInfo$']:this[_0x4379db(0x119)][_0x4379db(0xaa)](_0x573ee4[_0x4379db(0x24e)](_0x2c657c=>_0x2c657c[_0x4379db(0x2e5)]===_0x234566),_0x573ee4[_0x4379db(0x340)](_0x4ad399=>_0x4ad399['cursorInfo$']));}[_0x536257(0x19c)](){const _0x85c40d=_0x536257;this[_0x85c40d(0x330)][_0x85c40d(0x153)](_0x57396c[_0x85c40d(0xac)][_0x85c40d(0x2c5)])[_0x85c40d(0xaa)](_0x573ee4[_0x85c40d(0x30d)](this['dispose$']))[_0x85c40d(0x168)](async _0x1298c2=>{const _0x49538b=_0x85c40d,_0x478b2a=_0x1298c2['getUnitId'](),_0x15842d=await this[_0x49538b(0x1a0)](_0x478b2a);this['_entityInit$'][_0x49538b(0x187)](_0x15842d),this['_entities'][_0x49538b(0x210)](_0x478b2a,_0x15842d);}),this[_0x85c40d(0x330)][_0x85c40d(0x153)](_0x57396c[_0x85c40d(0xac)][_0x85c40d(0xcb)])[_0x85c40d(0xaa)](_0x573ee4[_0x85c40d(0x30d)](this[_0x85c40d(0x2a4)]))[_0x85c40d(0xaa)](_0x573ee4[_0x85c40d(0x24e)](_0x431405=>!_0x431405[_0x85c40d(0x1ef)]()[_0x85c40d(0x122)]('__')))[_0x85c40d(0x168)](async _0x34565f=>{const _0x1ca283=_0x85c40d,_0x556c5b=_0x34565f[_0x1ca283(0x1ef)](),_0x4085f0=await this['_startDocCollabCursor'](_0x556c5b);this[_0x1ca283(0x119)][_0x1ca283(0x187)](_0x4085f0),this[_0x1ca283(0x20c)][_0x1ca283(0x210)](_0x556c5b,_0x4085f0);}),_0x573ee4['merge'](this[_0x85c40d(0x330)][_0x85c40d(0x371)](_0x57396c[_0x85c40d(0xac)]['UNIVER_DOC']),this[_0x85c40d(0x330)][_0x85c40d(0x371)](_0x57396c['UniverInstanceType']['UNIVER_SHEET']))[_0x85c40d(0xaa)](_0x573ee4[_0x85c40d(0x30d)](this[_0x85c40d(0x2a4)]))[_0x85c40d(0x168)](_0x25924b=>{const _0x1fb896=_0x85c40d,_0x589375=_0x25924b[_0x1fb896(0x1ef)](),_0x1af87f=this['_entities'][_0x1fb896(0xf1)](_0x589375);_0x1af87f&&(_0x1af87f[_0x1fb896(0x30b)](),this[_0x1fb896(0x20c)][_0x1fb896(0x318)](_0x589375));});}async[_0x536257(0x1a0)](_0x2f2f3e){const _0x18ec3b=_0x536257,_0x4dbae6=await this[_0x18ec3b(0xba)][_0x18ec3b(0x1e7)](_0x2f2f3e),_0x282a93=this[_0x18ec3b(0x261)][_0x18ec3b(0x12f)](_0x9372b2,_0x2f2f3e,_0x4dbae6);return _0x282a93[_0x18ec3b(0x164)](),_0x282a93;}async[_0x536257(0x212)](_0x4a2b8e){const _0x44170f=_0x536257,_0x7d572c=await this[_0x44170f(0xba)][_0x44170f(0x1e7)](_0x4a2b8e),_0x53ca19=this[_0x44170f(0x261)][_0x44170f(0x12f)](_0x1aa9b7,_0x4a2b8e,_0x7d572c);return _0x53ca19[_0x44170f(0x164)](),_0x53ca19;}};_0x22720e=_0x458cd3([_0x55a736(0x0,_0x57396c[_0x536257(0x339)]),_0x55a736(0x1,_0x57396c[_0x536257(0x305)](_0x57396c[_0x536257(0x24a)])),_0x55a736(0x2,_0x57396c[_0x536257(0x305)](_0x431409[_0x536257(0x262)]))],_0x22720e);const _0x538a12=0x14,_0x107984=0xc8,_0x9db5b2=0x4,_0x169b15=0x5;function _0x2dab0c(_0x5381fa,_0x44af85){const _0x29feb9=_0x536257;let {radius:_0x207dc9,width:_0x222660,height:_0x163ae8}=_0x44af85;_0x207dc9=_0x207dc9!=null?_0x207dc9:0x0,_0x222660=_0x222660!=null?_0x222660:0x1e,_0x163ae8=_0x163ae8!=null?_0x163ae8:0x1e;let _0x4e2f53=0x0,_0x122643=0x0,_0x150fc9=0x0;_0x4e2f53=_0x122643=_0x150fc9=Math[_0x29feb9(0x113)](_0x207dc9,_0x222660/0x2,_0x163ae8/0x2),_0x5381fa[_0x29feb9(0x1aa)](),_0x5381fa[_0x29feb9(0x1da)](_0x4e2f53,0x0),_0x5381fa[_0x29feb9(0x26b)](_0x222660-_0x122643,0x0),_0x5381fa['arc'](_0x222660-_0x122643,_0x122643,_0x122643,Math['PI']*0x3/0x2,0x0,!0x1),_0x5381fa['lineTo'](_0x222660,_0x163ae8-_0x150fc9),_0x5381fa[_0x29feb9(0xce)](_0x222660-_0x150fc9,_0x163ae8-_0x150fc9,_0x150fc9,0x0,Math['PI']/0x2,!0x1),_0x5381fa['lineTo'](0x0,_0x163ae8),_0x5381fa[_0x29feb9(0x26b)](0x0,_0x4e2f53),_0x5381fa[_0x29feb9(0xce)](_0x4e2f53,_0x4e2f53,_0x4e2f53,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5381fa[_0x29feb9(0x225)](),_0x44af85[_0x29feb9(0x1dd)]&&(_0x5381fa[_0x29feb9(0x2eb)](),_0x5381fa[_0x29feb9(0x155)]=_0x44af85['fill'],_0x44af85['fillRule']===_0x29feb9(0x2ec)?_0x5381fa['fill'](_0x29feb9(0x2ec)):_0x5381fa[_0x29feb9(0x1dd)](),_0x5381fa[_0x29feb9(0x2ad)]());}class _0x14a28e extends _0x449a29[_0x536257(0x2e4)]{constructor(_0x4c0cb1,_0xe301c){const _0x1afa09=_0x536257;super(_0x4c0cb1,_0xe301c),_0x9699e1(this,_0x1afa09(0x190)),_0x9699e1(this,_0x1afa09(0x28e)),(this[_0x1afa09(0x190)]=_0xe301c==null?void 0x0:_0xe301c['color'],this[_0x1afa09(0x28e)]=_0xe301c==null?void 0x0:_0xe301c['text']);}static['drawWith'](_0x3bd6bc,_0x433407){const _0xe4a8f5=_0x536257,{text:_0x188151,color:_0x189293}=_0x433407;_0x3bd6bc[_0xe4a8f5(0x2eb)](),_0x3bd6bc[_0xe4a8f5(0x31b)]=_0xe4a8f5(0x304);const _0x316f9e=_0x3bd6bc[_0xe4a8f5(0x247)](_0x188151)[_0xe4a8f5(0x16d)],_0xfe5d9a=Math['min'](_0x316f9e+0x2*_0x9db5b2,_0x107984);_0x2dab0c(_0x3bd6bc,{'height':_0x538a12,'radius':0x4,'width':_0xfe5d9a,'fill':_0x189293}),_0x3bd6bc[_0xe4a8f5(0x155)]=_0xe4a8f5(0x1af);const _0x2643ab=_0x9db5b2,_0x5880e7=_0x538a12-_0x169b15,_0xe633c6=_0x107984-0x2*_0x9db5b2;if(_0x316f9e>_0xe633c6){let _0x5c4620='',_0xc1d1c4=0x0;for(const _0x144b03 of _0x188151){const _0x49c4a9=_0x3bd6bc[_0xe4a8f5(0x247)](_0x144b03)[_0xe4a8f5(0x16d)];if(_0xc1d1c4+_0x49c4a9<=_0xe633c6-_0x3bd6bc[_0xe4a8f5(0x247)](_0xe4a8f5(0x120))[_0xe4a8f5(0x16d)])_0x5c4620+=_0x144b03,_0xc1d1c4+=_0x49c4a9;else{_0x5c4620+=_0xe4a8f5(0x120);break;}}_0x3bd6bc[_0xe4a8f5(0xb3)](_0x5c4620,_0x2643ab,_0x5880e7);}else _0x3bd6bc[_0xe4a8f5(0xb3)](_0x188151,_0x2643ab,_0x5880e7);_0x3bd6bc[_0xe4a8f5(0x2ad)]();}['_draw'](_0x161da3){const _0x9c3398=_0x536257;_0x14a28e[_0x9c3398(0xa3)](_0x161da3,this);}}const _0x2d50a6=_0x536257(0x103),_0x57545c=_0x536257(0x301),_0x33ae11=_0x536257(0x2fa),_0x40e153=0x6,_0x51a473=1.5,_0x53943f=0x4,_0x1a9a18=1.5,_0xf69882='rgba(255,\x20255,\x20255,\x200.01)';class _0x3018bb{constructor(_0xa36433,_0x1fa5c8,_0x393885,_0x3c3264){const _0x495ed8=_0x536257;_0x9699e1(this,_0x495ed8(0x266),[]),_0x9699e1(this,_0x495ed8(0x233),null),_0x9699e1(this,_0x495ed8(0x246),null),_0x9699e1(this,_0x495ed8(0x2ea),null),_0x9699e1(this,'_hideTimer',null),_0x9699e1(this,_0x495ed8(0x281),null),(this['_cursor']=_0xa36433,this[_0x495ed8(0x32b)]=_0x1fa5c8,this['_docSkeleton']=_0x393885,this[_0x495ed8(0x194)]=_0x3c3264,this[_0x495ed8(0x317)]());}set[_0x536257(0x2c7)](_0x34732f){const _0x131daa=_0x536257;_0x34732f?(this[_0x131daa(0x2ea)]&&this['_anchorDot'][_0x131daa(0xc3)](),this[_0x131daa(0x246)]&&this[_0x131daa(0x246)]['show']()):(this[_0x131daa(0x2ea)]&&this[_0x131daa(0x2ea)]['show'](),this[_0x131daa(0x246)]&&this['_textBubble']['hide']());}[_0x536257(0x30b)](){const _0x3fbc50=_0x536257;for(const _0x19822a of this[_0x3fbc50(0x266)])_0x19822a['dispose']();this[_0x3fbc50(0x246)]&&this[_0x3fbc50(0x246)][_0x3fbc50(0x30b)](),this[_0x3fbc50(0x2ea)]&&this[_0x3fbc50(0x2ea)]['dispose'](),this[_0x3fbc50(0x233)]&&this[_0x3fbc50(0x233)]['dispose'](),this['_eventUnsubscribe']&&this[_0x3fbc50(0x281)]();}[_0x536257(0x317)](){const _0x5225c0=_0x536257;var _0xa4070e;const {_docSkeleton:_0x26092d,_document:_0xd4f3d2}=this,{color:_0x409895,name:_0x572bf5,ranges:_0x46065f}=this['_cursor'],_0x230cce=_0xd4f3d2[_0x5225c0(0xb5)](),{docsLeft:_0x114309,docsTop:_0x40fba7}=_0x230cce,_0x59f629=new _0x467a84[(_0x5225c0(0x308))](_0x230cce,_0x26092d);for(const {startOffset:_0x5140c1,endOffset:_0x4f4692,rangeType:_0x1abf57,segmentId:_0x2b1e3e,segmentPage:_0x28e424,collapsed:_0x73b7b8,isActive:_0x4bc07a}of _0x46065f){const _0x123ea1=_0x26092d[_0x5225c0(0x316)](_0x5140c1,!0x0,_0x2b1e3e,_0x28e424);let _0x390389=_0x26092d[_0x5225c0(0x316)](_0x4f4692,!0x0,_0x2b1e3e,_0x28e424);if(_0x390389==null&&(_0x390389=_0x26092d[_0x5225c0(0x316)](_0x4f4692-0x1,!0x1,_0x2b1e3e,_0x28e424)),_0x4bc07a){const {contentBoxPointGroup:_0x5c8c2d}=_0x59f629['getRangePointData'](_0x390389,_0x390389);if(_0x5c8c2d[_0x5225c0(0x286)]===0x0)continue;this['_drawAnchor'](_0x409895,_0x5c8c2d,_0x114309,_0x40fba7,_0x572bf5),this[_0x5225c0(0x281)]=this[_0x5225c0(0x224)]();}if(_0x123ea1&&_0x390389){if(_0x1abf57===_0x57396c[_0x5225c0(0x173)][_0x5225c0(0x31c)]){const _0x21cd2f=new _0x467a84[(_0x5225c0(0x34d))](_0x230cce,_0x26092d),{pointGroup:_0x277a8}=(_0xa4070e=_0x21cd2f[_0x5225c0(0x326)](_0x123ea1,_0x390389))!=null?_0xa4070e:{};if(_0x277a8==null||_0x277a8[_0x5225c0(0x286)]===0x0)continue;this['_drawRectRange'](_0x409895,_0x277a8,_0x114309,_0x40fba7);}else{if(!_0x73b7b8){const {borderBoxPointGroup:_0x357bb1}=_0x59f629[_0x5225c0(0x326)](_0x123ea1,_0x390389);if(_0x357bb1[_0x5225c0(0x286)]===0x0)continue;this['_drawTextRange'](_0x409895,_0x357bb1,_0x114309,_0x40fba7);}}}}}[_0x536257(0xd0)](_0xe23245,_0x3b34df,_0x2e6dc6,_0x53bede,_0x162571){const _0x5c33de=_0x536257,_0x1e2e05=this['_getAnchorBounding'](_0x3b34df),{left:_0xb5e16c,top:_0x3d725e,height:_0x115ed9}=_0x1e2e05,_0x484f50=this[_0x5c33de(0x297)](),_0x371197=_0x1a9a18/_0x484f50,_0x163c7e=new _0x449a29[(_0x5c33de(0x243))](_0x2d50a6+_0x57396c[_0x5c33de(0x323)](_0x40e153),{'left':_0xb5e16c+_0x2e6dc6-_0x371197,'top':_0x3d725e+_0x53bede,'height':_0x115ed9,'width':_0x51a473,'fill':_0xe23245||_0x449a29[_0x5c33de(0x1f4)](_0x57396c[_0x5c33de(0x354)]['black'],0x0),'strokeWidth':_0x371197,'stroke':_0xf69882,'evented':!0x0});this[_0x5c33de(0x233)]=_0x163c7e,this[_0x5c33de(0x32b)][_0x5c33de(0xfe)](_0x163c7e,_0x467a84[_0x5c33de(0x205)]);const _0x43e311=new _0x449a29[(_0x5c33de(0x243))](_0x2d50a6+_0x57396c[_0x5c33de(0x323)](_0x40e153),{'left':_0xb5e16c+_0x2e6dc6-_0x371197,'top':_0x3d725e+_0x53bede-_0x53943f/0x2,'height':_0x53943f,'width':_0x53943f,'fill':_0xe23245||_0x449a29['getColor'](_0x57396c[_0x5c33de(0x354)][_0x5c33de(0x35b)],0x0),'strokeWidth':0x0,'stroke':_0xe23245||_0x449a29[_0x5c33de(0x1f4)](_0x57396c['COLORS']['black'],0x0),'evented':!0x1});this[_0x5c33de(0x2ea)]=_0x43e311,this[_0x5c33de(0x32b)]['addObject'](_0x43e311,_0x467a84[_0x5c33de(0x205)]);const _0x1d0a60=new _0x14a28e(_0x2d50a6+_0x57396c[_0x5c33de(0x323)](_0x40e153),{'left':_0xb5e16c+_0x2e6dc6-_0x371197,'top':_0x3d725e+_0x53bede-_0x538a12,'text':_0x162571,'color':_0xe23245});this[_0x5c33de(0x246)]=_0x1d0a60,this[_0x5c33de(0x32b)]['addObject'](_0x1d0a60,_0x467a84[_0x5c33de(0x205)]),this[_0x5c33de(0x2c7)]=!0x1;}[_0x536257(0x224)](){const _0x287632=_0x536257,_0x1e92d9=this[_0x287632(0x233)][_0x287632(0x1c7)][_0x287632(0x13d)](()=>{const _0xf295e8=_0x287632;this[_0xf295e8(0x2c7)]=!0x0;}),_0x124594=this[_0x287632(0x233)][_0x287632(0x27d)][_0x287632(0x13d)](()=>{const _0xc71c8e=_0x287632;this['_hideTimer']&&clearTimeout(this[_0xc71c8e(0x348)]),this[_0xc71c8e(0x348)]=setTimeout(()=>{const _0x245c4d=_0xc71c8e;this[_0x245c4d(0x2c7)]=!0x1;},0x7d0);});return()=>{const _0xaa838c=_0x287632;_0x1e92d9[_0xaa838c(0x369)](),_0x124594['unsubscribe']();};}['_drawTextRange'](_0x3d4f2b,_0x59af14,_0x453946,_0x5e5bd3){const _0x1fc981=_0x536257,_0xb3ee29=new _0x57396c[(_0x1fc981(0x303))](_0x3d4f2b)[_0x1fc981(0x160)](0.2)[_0x1fc981(0xf6)](),_0x702fd3=new _0x449a29[(_0x1fc981(0x2b2))](_0x57545c+_0x57396c[_0x1fc981(0x323)](_0x40e153),{'pointsGroup':_0x59af14,'fill':_0xb3ee29||_0x449a29[_0x1fc981(0x1f4)](_0x57396c[_0x1fc981(0x354)][_0x1fc981(0x35b)],0.2),'left':_0x453946,'top':_0x5e5bd3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1fc981(0x266)][_0x1fc981(0x2f1)](_0x702fd3),this['_scene'][_0x1fc981(0xfe)](_0x702fd3,_0x467a84['TEXT_RANGE_LAYER_INDEX']);}[_0x536257(0xd1)](_0x4d3c1b,_0x4ba472,_0x429690,_0x7235c3){const _0x1ef659=_0x536257,_0xbe4261=new _0x57396c[(_0x1ef659(0x303))](_0x4d3c1b)[_0x1ef659(0x160)](0.2)['toRgbString'](),_0x2d0960=new _0x449a29[(_0x1ef659(0x2b2))](_0x33ae11+_0x57396c['generateRandomId'](_0x40e153),{'pointsGroup':_0x4ba472,'fill':_0xbe4261||_0x449a29[_0x1ef659(0x1f4)](_0x57396c[_0x1ef659(0x354)][_0x1ef659(0x35b)],0.2),'left':_0x429690,'top':_0x7235c3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1ef659(0x266)][_0x1ef659(0x2f1)](_0x2d0960),this[_0x1ef659(0x32b)]['addObject'](_0x2d0960,_0x467a84[_0x1ef659(0x205)]);}['_getAnchorBounding'](_0x279265){const _0x33dcc0=_0x279265[0x0],_0x3dd3bd=_0x33dcc0[0x0],_0x3960a3=_0x33dcc0[0x2],{x:_0x41e137,y:_0x30c825}=_0x3dd3bd,{x:_0x508586,y:_0x181de1}=_0x3960a3;return{'left':_0x41e137,'top':_0x30c825,'width':_0x508586-_0x41e137,'height':_0x181de1-_0x30c825};}[_0x536257(0x297)](){const _0x4d41db=_0x536257,{scaleX:_0x1f2f43,scaleY:_0x1169d6}=this[_0x4d41db(0x32b)][_0x4d41db(0x18a)]();return Math[_0x4d41db(0x128)](_0x1f2f43,_0x1169d6);}}var _0x58ad86=Object[_0x536257(0x11b)],_0x8d0c93=(_0x15874f,_0x475013,_0x4d6b45,_0x27c353)=>{for(var _0x4841e9=_0x27c353>0x1?void 0x0:_0x27c353?_0x58ad86(_0x475013,_0x4d6b45):_0x475013,_0x234ab6=_0x15874f['length']-0x1,_0x589a32;_0x234ab6>=0x0;_0x234ab6--)(_0x589a32=_0x15874f[_0x234ab6])&&(_0x4841e9=_0x589a32(_0x4841e9)||_0x4841e9);return _0x4841e9;},_0x196cd9=(_0x1f5379,_0x4a9d6f)=>(_0x3cd083,_0x384099)=>_0x4a9d6f(_0x3cd083,_0x384099,_0x1f5379);let _0xc3ae62=class extends _0x57396c[_0x536257(0x2a6)]{constructor(_0x5915a8,_0xe0118b,_0x33477f,_0x14feaf,_0x4cb4d6){const _0x2027eb=_0x536257;super(),_0x9699e1(this,_0x2027eb(0x17a),[]),_0x9699e1(this,_0x2027eb(0x227),[]),(this['_context']=_0x5915a8,this[_0x2027eb(0xae)]=_0xe0118b,this['_collabCursorController']=_0x33477f,this[_0x2027eb(0x1e4)]=_0x14feaf,this[_0x2027eb(0x235)]=_0x4cb4d6,this[_0x2027eb(0x19c)]());}[_0x536257(0x19c)](){const _0xf42ef5=_0x536257,_0x2fa9ae=this[_0xf42ef5(0x1e1)]['unitId'],_0x2f7f38=this[_0xf42ef5(0xae)];this[_0xf42ef5(0xa4)](_0x573ee4['combineLatest']([this[_0xf42ef5(0x2ff)][_0xf42ef5(0x142)](_0x2fa9ae),this[_0xf42ef5(0x235)][_0xf42ef5(0xc4)]])[_0xf42ef5(0xaa)](_0x284e42[_0xf42ef5(0x22f)](([_0x119e56,_0x4e5114])=>({'skeleton':_0x2f7f38[_0xf42ef5(0x20d)](),'cursors':[..._0x119e56[_0xf42ef5(0xde)]()][_0xf42ef5(0x24d)](_0x41354f=>({..._0x41354f,'color':this[_0xf42ef5(0x235)][_0xf42ef5(0xc5)](_0x41354f['color'])}))})))['subscribe'](_0x5d9904=>{const _0x289ff4=_0xf42ef5;if(this['_removeCollabCursors'](),_0x5d9904){const {skeleton:_0x485cbf,cursors:_0xe49798}=_0x5d9904;this[_0x289ff4(0x218)](_0x485cbf,_0xe49798);}})),this[_0xf42ef5(0x358)](),this[_0xf42ef5(0x1a9)]();}[_0x536257(0x218)](_0x2cbe11,_0x44d64a){const _0x2bb6ed=_0x536257,{scene:_0xe7fa02,mainComponent:_0x300ef4}=this[_0x2bb6ed(0x1e1)],_0x5578cc=_0x44d64a[_0x2bb6ed(0x22f)](_0x1e2b63=>new _0x3018bb(_0x1e2b63,_0xe7fa02,_0x2cbe11,_0x300ef4));this[_0x2bb6ed(0x17a)]=_0x5578cc,this[_0x2bb6ed(0x227)]=_0x44d64a;}[_0x536257(0x2ca)](){const _0xb3ac0c=_0x536257;this['_removeCollabCursors']();const {scene:_0x44f63e,mainComponent:_0x54242b}=this[_0xb3ac0c(0x1e1)],_0x142872=this[_0xb3ac0c(0xae)][_0xb3ac0c(0x20d)](),_0x306a25=this['_cursors'][_0xb3ac0c(0x22f)](_0x418cb1=>new _0x3018bb(_0x418cb1,_0x44f63e,_0x142872,_0x54242b));this[_0xb3ac0c(0x17a)]=_0x306a25;}['_removeCollabCursors'](){const _0x3d3e4c=_0x536257;this['_cursorShapes'][_0x3d3e4c(0x357)](_0x296f83=>_0x296f83[_0x3d3e4c(0x30b)]()),this[_0x3d3e4c(0x17a)]=[];}[_0x536257(0x1a9)](){const _0x4093fd=_0x536257,_0x4c1cd1=[_0x467a84[_0x4093fd(0x182)]['id']];this[_0x4093fd(0xa4)](this[_0x4093fd(0x1e4)][_0x4093fd(0x11e)](_0x223996=>{const _0x13bffe=_0x4093fd;_0x4c1cd1[_0x13bffe(0x242)](_0x223996['id'])&&_0x223996[_0x13bffe(0x27a)][_0x13bffe(0x29a)]===this[_0x13bffe(0x1e1)][_0x13bffe(0x29a)]&&this['_refreshCollabCursors']();}));}[_0x536257(0x358)](){const _0x1c647b=_0x536257;this['disposeWithMe'](_0x57396c['fromEventSubject'](this[_0x1c647b(0x1e1)][_0x1c647b(0x14f)]['onTransformChange$'])[_0x1c647b(0xaa)](_0x284e42[_0x1c647b(0x24e)](_0x5b9df6=>_0x5b9df6['type']===_0x449a29[_0x1c647b(0x216)][_0x1c647b(0xe9)]),_0x284e42['throttleTime'](0x10))[_0x1c647b(0x168)](()=>{this['_refreshCollabCursors']();}));}};_0xc3ae62=_0x8d0c93([_0x196cd9(0x1,_0x57396c[_0x536257(0x305)](_0x374412[_0x536257(0x1d8)])),_0x196cd9(0x2,_0x57396c[_0x536257(0x305)](_0x22720e)),_0x196cd9(0x3,_0x57396c[_0x536257(0xb7)]),_0x196cd9(0x4,_0x57396c[_0x536257(0x305)](_0x57396c[_0x536257(0x1a7)]))],_0xc3ae62);const _0x3a0688=0x1,_0x4f5249=1.5;class _0x5cc6c5 extends _0x449a29[_0x536257(0x2e4)]{constructor(_0x175c91,_0x528e57){const _0x6f31a=_0x536257;super(_0x175c91,_0x528e57),_0x9699e1(this,_0x6f31a(0xc7)),_0x9699e1(this,_0x6f31a(0x245),!0x1),_0x9699e1(this,_0x6f31a(0x152)),_0x9699e1(this,_0x6f31a(0xe2),''),_0x9699e1(this,_0x6f31a(0xad),_0x6f31a(0x35e)),_0x9699e1(this,'_backgroundColor'),(_0x528e57&&this[_0x6f31a(0x10a)](_0x528e57),this[_0x6f31a(0x1c7)][_0x6f31a(0x13d)](()=>this[_0x6f31a(0x10a)]({'hovered':!0x0})),this[_0x6f31a(0x27d)][_0x6f31a(0x13d)](()=>this[_0x6f31a(0x10a)]({'hovered':!0x1})));}[_0x536257(0x10a)](_0x2c1ed3){const _0x1f7e1b=_0x536257;var _0x377699,_0x2beae4,_0x22935b,_0x1a27ee,_0x111141,_0x106f67;this['_color']=(_0x377699=_0x2c1ed3[_0x1f7e1b(0x190)])!=null?_0x377699:this[_0x1f7e1b(0xc7)],this[_0x1f7e1b(0x245)]=(_0x2beae4=_0x2c1ed3['hovered'])!=null?_0x2beae4:this[_0x1f7e1b(0x245)],this[_0x1f7e1b(0x152)]=(_0x22935b=_0x2c1ed3[_0x1f7e1b(0x1ce)])!=null?_0x22935b:this[_0x1f7e1b(0x152)],this['_name']=(_0x1a27ee=_0x2c1ed3[_0x1f7e1b(0xbf)])!=null?_0x1a27ee:this[_0x1f7e1b(0xe2)],this[_0x1f7e1b(0xad)]=(_0x111141=_0x2c1ed3['labelPosition'])!=null?_0x111141:this[_0x1f7e1b(0xad)],this[_0x1f7e1b(0x28d)]=(_0x106f67=_0x2c1ed3[_0x1f7e1b(0x10f)])!=null?_0x106f67:this[_0x1f7e1b(0x28d)],this[_0x1f7e1b(0x1d1)]({'width':_0x2c1ed3[_0x1f7e1b(0x16d)],'height':_0x2c1ed3[_0x1f7e1b(0x1cb)]});}[_0x536257(0x23f)](_0x7b50f5){const _0x710b99=_0x536257,{row:_0x4075fa,column:_0x1d59d6}=_0x7b50f5;if(_0x4075fa>=this['_range'][_0x710b99(0x15d)]&&_0x4075fa<=this[_0x710b99(0x152)][_0x710b99(0xc0)]&&_0x1d59d6>=this[_0x710b99(0x152)][_0x710b99(0xa6)]&&_0x1d59d6<=this[_0x710b99(0x152)][_0x710b99(0x325)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x710b99(0x10a)]({'hovered':!0x1});}[_0x536257(0x19f)](_0x37b42d){return!0x1;}[_0x536257(0x2e8)](_0x21fb55){const _0x47576d=_0x536257;_0x449a29[_0x47576d(0x243)][_0x47576d(0xa3)](_0x21fb55,{'width':this['width'],'height':this[_0x47576d(0x1cb)],'strokeWidth':_0x4f5249,'stroke':this[_0x47576d(0xc7)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x47576d(0x245)]&&(_0x21fb55[_0x47576d(0x2eb)](),_0x21fb55['transform'](0x1,0x0,0x0,0x1,this[_0x47576d(0x16d)],this[_0x47576d(0xad)]===_0x47576d(0x2bd)?0x0:-_0x538a12),_0x14a28e['drawWith'](_0x21fb55,{'text':this[_0x47576d(0xe2)],'color':this[_0x47576d(0xc7)]}),_0x21fb55[_0x47576d(0x2ad)]());}}var _0x1528d0=Object[_0x536257(0x11b)],_0x32fa14=(_0x5536dd,_0x1bc491,_0x1d18f4,_0x586e1c)=>{const _0x11f2a7=_0x536257;for(var _0x2c5e4e=_0x586e1c>0x1?void 0x0:_0x586e1c?_0x1528d0(_0x1bc491,_0x1d18f4):_0x1bc491,_0x308ec8=_0x5536dd[_0x11f2a7(0x286)]-0x1,_0x3f2bac;_0x308ec8>=0x0;_0x308ec8--)(_0x3f2bac=_0x5536dd[_0x308ec8])&&(_0x2c5e4e=_0x3f2bac(_0x2c5e4e)||_0x2c5e4e);return _0x2c5e4e;},_0xd3e057=(_0x5594b9,_0x3b02d0)=>(_0x328778,_0x8827f2)=>_0x3b02d0(_0x328778,_0x8827f2,_0x5594b9);const _0x463a6e=0x1389;let _0x190524=class extends _0x57396c[_0x536257(0x2a6)]{constructor(_0x2defb1,_0x138f78,_0x5daed3,_0x4c030a){const _0x12547a=_0x536257;super(),_0x9699e1(this,_0x12547a(0x227),new Set()),_0x9699e1(this,_0x12547a(0x291),null),(this['_context']=_0x2defb1,this[_0x12547a(0x2f5)]=_0x138f78,this[_0x12547a(0x2ff)]=_0x5daed3,this['_themeService']=_0x4c030a,this[_0x12547a(0x19c)]());}[_0x536257(0x19c)](){const _0x28bee0=_0x536257;this[_0x28bee0(0x2f5)][_0x28bee0(0xeb)][_0x28bee0(0xaa)](_0x284e42[_0x28bee0(0x30d)](this[_0x28bee0(0x2a4)]),_0x284e42['switchMap'](_0x473253=>{const _0x5c6e49=_0x28bee0;if(_0x473253){const _0x2b6b22=_0x473253['sheetId'];return _0x573ee4[_0x5c6e49(0x2ae)](this['_collabCursorController'][_0x5c6e49(0x142)](this[_0x5c6e49(0x1e1)][_0x5c6e49(0x29a)]),this['_themeService'][_0x5c6e49(0xc4)])['pipe'](_0x284e42['map'](([_0x183506,_0xf44146])=>{const _0x6f1ed3=_0x5c6e49,_0x2e8d31=new Map();return _0x183506[_0x6f1ed3(0x357)]((_0x1cf183,_0x3a5323)=>{const _0x28f2ef=_0x6f1ed3;if(_0x1cf183[_0x28f2ef(0x13a)]===_0x2b6b22){const _0x54de17={..._0x1cf183};_0x54de17['color']=this[_0x28f2ef(0x235)][_0x28f2ef(0xc5)](_0x1cf183['color']),_0x2e8d31['set'](_0x3a5323,_0x54de17);}}),{'skeleton':_0x473253,'cursors':_0x2e8d31};}));}return _0x573ee4['of']({'skeleton':null,'cursors':new Map()});}))[_0x28bee0(0x168)](({skeleton:_0x2d510d,cursors:_0x18bd5a})=>{const _0x5ea196=_0x28bee0;this[_0x5ea196(0xe5)](),_0x2d510d&&this[_0x5ea196(0x218)](_0x2d510d,_0x18bd5a);}),this['_sheetSkeletonManagerService'][_0x28bee0(0xeb)][_0x28bee0(0x168)](_0x4065c0=>{const _0x492fa6=_0x28bee0;if(_0x4065c0==null)return;const {skeleton:_0x77180}=_0x4065c0,{scene:_0x3d5f68}=this['_context'];_0x3d5f68['onPointerMove$']['subscribeEvent'](_0x57396c[_0x492fa6(0x254)](_0x4f3027=>{const _0x4813e0=_0x492fa6;var _0x7be31b,_0x2bef88;const {offsetX:_0x3e8915,offsetY:_0x2436cb}=_0x4f3027,{x:_0x4368d8,y:_0x400ec8}=_0x3d5f68[_0x4813e0(0x1b4)](_0x449a29['Vector2']['FromArray']([_0x3e8915,_0x2436cb])),{scaleX:_0x3b1c7d,scaleY:_0x1ff93f}=_0x3d5f68[_0x4813e0(0x18a)](),_0x4db69d=_0x3d5f68[_0x4813e0(0x2e0)](_0x449a29[_0x4813e0(0x199)][_0x4813e0(0x228)]),_0x54517c=_0x3d5f68['getVpScrollXYInfoByPosToVp'](_0x449a29[_0x4813e0(0x2cc)][_0x4813e0(0x10c)]([_0x4368d8,_0x400ec8]),_0x4db69d),_0x2df0fe=_0x77180[_0x4813e0(0x19a)](_0x3e8915,_0x2436cb,_0x3b1c7d,_0x1ff93f,_0x54517c);((_0x7be31b=this[_0x4813e0(0x291)])==null?void 0x0:_0x7be31b['column'])===_0x2df0fe[_0x4813e0(0x288)]&&((_0x2bef88=this[_0x4813e0(0x291)])==null?void 0x0:_0x2bef88[_0x4813e0(0x175)])===_0x2df0fe[_0x4813e0(0x175)]||this[_0x4813e0(0x227)][_0x4813e0(0x357)](_0x272baf=>{const _0x2bfd2b=_0x4813e0;_0x272baf[_0x2bfd2b(0x23f)](_0x2df0fe);});},0x64));});}['_updateCollabCursors'](_0x3bd8dd,_0x58fd9c){const _0x1092b8=_0x536257;var _0x50d593;const _0x394f32=(_0x50d593=this[_0x1092b8(0x2f5)][_0x1092b8(0x12a)]())==null?void 0x0:_0x50d593['skeleton'];if(!_0x394f32)return;const _0x36e15a=this['_getSheetObject']();if(!_0x36e15a)return;this['_cursors'][_0x1092b8(0x357)](_0x1dad76=>{const _0x505356=_0x1092b8;_0x1dad76[_0x505356(0x314)]();});const {scene:_0x1e9142}=_0x36e15a,_0x4648e7=_0x15e625(Array[_0x1092b8(0xc6)](_0x58fd9c[_0x1092b8(0xde)]()))['map'](_0x11d4d7=>{const _0x5afdca=_0x1092b8,{color:_0x26f74a,range:_0x4d762e,name:_0x5cfffc,selection:_0x5cecd0,sheetID:_0x22b1cf}=_0x11d4d7,{startColumn:_0x5eaa89,startRow:_0xbc148f,endColumn:_0x402b84,endRow:_0x37a348}=_0x4d762e,_0xdc969b=_0x70bbc2[_0x5afdca(0x139)](_0xbc148f,_0x5eaa89,_0x1e9142,_0x394f32),_0x2283e6=_0x70bbc2[_0x5afdca(0x139)](_0x37a348,_0x402b84,_0x1e9142,_0x394f32),{columnHeaderHeightAndMarginTop:_0x3a6342}=_0x394f32,{startX:_0x1d8899,startY:_0x422f20}=_0xdc969b,{endX:_0xe76640,endY:_0x3d3938}=_0x2283e6,_0x5f0a0f=_0xe76640-_0x1d8899,_0x3d32ad=_0x3d3938-_0x422f20,_0x2e321d={'labelPosition':_0x422f20-_0x3a6342>=_0x538a12?_0x5afdca(0x35e):_0x5afdca(0x2bd),'sheetID':_0x22b1cf,'range':_0x4d762e,'color':_0x26f74a,'name':_0x5cfffc,'selection':_0x5cecd0,'left':_0x1d8899,'top':_0x422f20,'width':_0x5f0a0f,'height':_0x3d32ad,'evented':!0x1,'zIndex':_0x463a6e};return new _0x5cc6c5(_0x5cfffc,_0x2e321d);});_0x1e9142[_0x1092b8(0x2da)](_0x4648e7,_0x3a0688),this['_cursors']=new Set(_0x4648e7);}[_0x536257(0xe5)](){const _0x16c2bb=_0x536257;var _0x565042;(_0x565042=this[_0x16c2bb(0x227)])==null||_0x565042[_0x16c2bb(0x357)](_0x4bf93e=>_0x4bf93e['dispose']());}[_0x536257(0x22c)](){const _0x596e95=_0x536257;return _0x70bbc2[_0x596e95(0x1c1)](this[_0x596e95(0x1e1)][_0x596e95(0x25e)],this[_0x596e95(0x1e1)]);}};_0x190524=_0x32fa14([_0xd3e057(0x1,_0x57396c[_0x536257(0x305)](_0x70bbc2[_0x536257(0x23b)])),_0xd3e057(0x2,_0x57396c['Inject'](_0x22720e)),_0xd3e057(0x3,_0x57396c['Inject'](_0x57396c['ThemeService']))],_0x190524);function _0x15e625(_0x467675){const _0x4dfb00=_0x536257,_0x4212d9=new Map();return _0x467675[_0x4dfb00(0x357)](_0x2a2a5e=>{const _0x2c897c=_0x4dfb00;if(_0x4212d9[_0x2c897c(0x2d2)](_0x2a2a5e[_0x2c897c(0x240)])){const _0x1336dd=_0x4212d9[_0x2c897c(0xf1)](_0x2a2a5e[_0x2c897c(0x240)]);_0x1336dd[_0x2c897c(0xbf)]+=',\x20'+_0x2a2a5e[_0x2c897c(0xbf)];}else _0x4212d9[_0x2c897c(0x210)](_0x2a2a5e[_0x2c897c(0x240)],_0x2a2a5e);}),Array[_0x4dfb00(0xc6)](_0x4212d9['values']());}var _0x580ac2=Object['getOwnPropertyDescriptor'],_0x563048=(_0x371820,_0x47ea3a,_0x4d9ee0,_0x40bacb)=>{const _0x2b588b=_0x536257;for(var _0x36504f=_0x40bacb>0x1?void 0x0:_0x40bacb?_0x580ac2(_0x47ea3a,_0x4d9ee0):_0x47ea3a,_0x420039=_0x371820[_0x2b588b(0x286)]-0x1,_0x5d44b9;_0x420039>=0x0;_0x420039--)(_0x5d44b9=_0x371820[_0x420039])&&(_0x36504f=_0x5d44b9(_0x36504f)||_0x36504f);return _0x36504f;},_0x5dedff=(_0x9e3310,_0xba5be)=>(_0x4cfb1d,_0x2e875d)=>_0xba5be(_0x4cfb1d,_0x2e875d,_0x9e3310);let _0x14f5a4=class extends _0x57396c[_0x536257(0x328)]{constructor(_0xc0dd4,_0x84424a,_0x3c9f3f,_0x8a9bac,_0x4509e0,_0x5c00b9){const _0x138993=_0x536257;super(),this['_beforeCloseService']=_0xc0dd4,this[_0x138993(0xea)]=_0x84424a,this[_0x138993(0x130)]=_0x3c9f3f,this[_0x138993(0x232)]=_0x8a9bac,this[_0x138993(0x25b)]=_0x4509e0,this[_0x138993(0x264)]=_0x5c00b9,this['_setupBeforeClosingHandler'](),this[_0x138993(0x33e)]();}[_0x536257(0x269)](){const _0x3b3fdd=_0x536257;this[_0x3b3fdd(0xa4)](this[_0x3b3fdd(0xbe)][_0x3b3fdd(0x283)](()=>{const _0x4384f3=_0x3b3fdd;if(this['_localCacheService'][_0x4384f3(0x1b1)][_0x4384f3(0x1ac)])return this['_localeService']['t'](_0x4384f3(0x25a));}));}[_0x536257(0x33e)](){const _0x52b3da=_0x536257;this[_0x52b3da(0xa4)](this[_0x52b3da(0x130)]['event$'][_0x52b3da(0x168)](_0x1974d5=>{const _0x59a35d=_0x52b3da;_0x1974d5['id']===_0x431409['CollaborationUIEventId'][_0x59a35d(0x2af)]&&this[_0x59a35d(0x232)]['show']({'type':_0x340b34[_0x59a35d(0x137)]['Warning'],'content':this[_0x59a35d(0x264)]['t']('collaboration.single-unit.warning')}),_0x1974d5['id']===_0x431409['CollaborationUIEventId'][_0x59a35d(0x2c0)]&&this[_0x59a35d(0x232)][_0x59a35d(0x2b9)]({'type':_0x340b34[_0x59a35d(0x137)][_0x59a35d(0xc9)],'content':this[_0x59a35d(0x264)]['t'](_0x59a35d(0x132))}),_0x1974d5['id']===_0x431409[_0x59a35d(0x2ee)][_0x59a35d(0x30a)]&&this[_0x59a35d(0x25b)][_0x59a35d(0x2b9)]({'title':this[_0x59a35d(0x264)]['t'](_0x59a35d(0x302)),'content':this[_0x59a35d(0x264)]['t']('permission.content'),'type':_0x59a35d(0xd6),'duration':0x0}),_0x1974d5['id']===_0x431409[_0x59a35d(0x2ee)][_0x59a35d(0x2e1)]&&this['_messageService'][_0x59a35d(0x2b9)]({'type':_0x340b34[_0x59a35d(0x137)][_0x59a35d(0x34c)],'content':this[_0x59a35d(0x264)]['t'](_0x59a35d(0x132))+'('+_0x1974d5[_0x59a35d(0xe0)]+')'}),_0x1974d5['id']===_0x431409[_0x59a35d(0x2ee)]['JOIN_ROOM_FAILED']&&this[_0x59a35d(0x232)][_0x59a35d(0x2b9)]({'type':_0x340b34[_0x59a35d(0x137)][_0x59a35d(0xc9)],'content':this[_0x59a35d(0x264)]['t'](_0x1974d5['data']||'')}),_0x1974d5['id']===_0x431409['CollaborationUIEventId'][_0x59a35d(0x32f)]&&this[_0x59a35d(0x232)]['show']({'type':_0x340b34['MessageType'][_0x59a35d(0xc9)],'content':this[_0x59a35d(0x264)]['t']('session.will-retry')}),_0x1974d5['id']===_0x431409['CollaborationUIEventId'][_0x59a35d(0x321)]&&this[_0x59a35d(0x232)][_0x59a35d(0x2b9)]({'type':_0x340b34[_0x59a35d(0x137)][_0x59a35d(0x34c)],'content':this[_0x59a35d(0x264)]['t'](_0x59a35d(0x307))}),_0x1974d5['id']===_0x431409[_0x59a35d(0x2ee)][_0x59a35d(0x29c)]&&this[_0x59a35d(0x232)][_0x59a35d(0x2b9)]({'type':_0x340b34['MessageType']['Error'],'content':this[_0x59a35d(0x264)]['t'](_0x59a35d(0x1b2))});}));}};_0x14f5a4=_0x563048([_0x5dedff(0x0,_0x2150fb['IBeforeCloseService']),_0x5dedff(0x1,_0x431409['ILocalCacheService']),_0x5dedff(0x2,_0x57396c[_0x536257(0x305)](_0x431409[_0x536257(0x17e)])),_0x5dedff(0x3,_0x2150fb[_0x536257(0x1cf)]),_0x5dedff(0x4,_0x2150fb[_0x536257(0x1f1)]),_0x5dedff(0x5,_0x57396c[_0x536257(0x305)](_0x57396c[_0x536257(0x1b6)]))],_0x14f5a4);const _0x5d7b58=_0x536257(0xda),_0x45f202={};var _0xdeafce=Object[_0x536257(0x11b)],_0x4f29e0=(_0x3cbde8,_0x296559,_0x76c769,_0x318129)=>{const _0xa667f1=_0x536257;for(var _0x847a19=_0x318129>0x1?void 0x0:_0x318129?_0xdeafce(_0x296559,_0x76c769):_0x296559,_0x1b2b4e=_0x3cbde8[_0xa667f1(0x286)]-0x1,_0x2dea4f;_0x1b2b4e>=0x0;_0x1b2b4e--)(_0x2dea4f=_0x3cbde8[_0x1b2b4e])&&(_0x847a19=_0x2dea4f(_0x847a19)||_0x847a19);return _0x847a19;},_0x44c29e=(_0x3bb7e5,_0x33c5f)=>(_0x3e669f,_0x5bef26)=>_0x33c5f(_0x3e669f,_0x5bef26,_0x3bb7e5);let _0x2f6084=class{constructor(_0x297671,_0x57bdb3){const _0x326eec=_0x536257;this[_0x326eec(0x15b)]=_0x297671,this[_0x326eec(0xcf)]=_0x57bdb3;}[_0x536257(0x2e3)](_0xfb0169){const _0x3d5ae7=_0x536257;this[_0x3d5ae7(0x10e)](_0xfb0169),this['_transformPreviousActiveRange'](_0xfb0169);}[_0x536257(0x16c)](_0x111bca){const _0x1b9338=_0x536257,{unitID:_0x1df5f5}=_0x111bca,_0x416a81=this[_0x1b9338(0xcf)][_0x1b9338(0x1ae)](_0x1df5f5)['with'](_0x467a84[_0x1b9338(0x341)]),{redoCache:_0x455749}=_0x416a81['getUndoRedoMutationParamsCache']();if(_0x455749[_0x1b9338(0x286)]===0x0)return _0x111bca;let _0x114859=_0x57396c[_0x1b9338(0x14d)][_0x1b9338(0x2bf)](_0x111bca['mutations'][0x0]);for(let _0xc84ae9=0x0;_0xc84ae9<_0x455749[_0x1b9338(0x286)];_0xc84ae9++){const _0x180b12={'id':_0x1b9338(0x32a),'params':{..._0x455749[_0xc84ae9]}},_0x7ac7e7=this[_0x1b9338(0x15b)]['transformMutation'](_0x114859,_0x180b12,!0x1);if(_0xbe4f3b['isTransformMutationFailure'](_0x7ac7e7))throw _0x7ac7e7[_0x1b9338(0xd6)];_0x114859=_0x7ac7e7['m1Prime'];}return{..._0x57396c['Tools'][_0x1b9338(0x2bf)](_0x111bca),'mutations':[_0x114859]};}['_transformUndoRedoStack'](_0x3cf732){const _0x3432a6=_0x536257,{unitID:_0x5933db}=_0x3cf732,_0x324c87=this['_renderManagerService'][_0x3432a6(0x1ae)](_0x5933db)[_0x3432a6(0xef)](_0x467a84[_0x3432a6(0x341)]),{undoCache:_0x110517,redoCache:_0x4d31b2}=_0x324c87[_0x3432a6(0x36e)]();if(_0x110517[_0x3432a6(0x286)]===0x0||_0x4d31b2[_0x3432a6(0x286)]===0x0)return;const _0x572a25=[],_0x511ff8=[];let _0x9fd0ae=_0x57396c[_0x3432a6(0x14d)][_0x3432a6(0x2bf)](_0x3cf732[_0x3432a6(0x298)][0x0]),_0x3e652b=_0x57396c['Tools'][_0x3432a6(0x2bf)](_0x3cf732['mutations'][0x0]);for(let _0x2c219a=_0x110517['length']-0x1;_0x2c219a>=0x0;_0x2c219a--){const _0x58002b={'id':'doc.mutation.rich-text-editing','params':{..._0x110517[_0x2c219a]}},_0x471d23={'id':_0x3432a6(0x32a),'params':{..._0x4d31b2[_0x2c219a]}},_0x4b4707=this[_0x3432a6(0x15b)][_0x3432a6(0x353)](_0x9fd0ae,_0x58002b,!0x1),_0x3cd144=this[_0x3432a6(0x15b)]['transformMutation'](_0x3e652b,_0x471d23,!0x1);if(_0xbe4f3b[_0x3432a6(0x207)](_0x4b4707))throw _0x4b4707['error'];if(_0xbe4f3b[_0x3432a6(0x207)](_0x3cd144))throw _0x3cd144['error'];_0x572a25[_0x3432a6(0x30e)](_0x4b4707[_0x3432a6(0x299)]['params']),_0x511ff8[_0x3432a6(0x30e)](_0x3cd144[_0x3432a6(0x299)][_0x3432a6(0x27a)]),_0x9fd0ae=_0x4b4707[_0x3432a6(0x166)],_0x3e652b=_0x3cd144['m1Prime'];}_0x324c87[_0x3432a6(0x309)]({'undoCache':_0x572a25,'redoCache':_0x511ff8});}[_0x536257(0x35d)](_0x2596ea){const _0x1a1aac=_0x536257,{unitID:_0x4e94aa}=_0x2596ea,_0xb74a=this[_0x1a1aac(0xcf)][_0x1a1aac(0x1ae)](_0x4e94aa)[_0x1a1aac(0xef)](_0x467a84[_0x1a1aac(0x341)]),_0x1c417b=_0xb74a['getActiveRange']();if(_0x1c417b==null)return;const _0x3c7621=[{'id':_0x1a1aac(0x32a),'params':{'unitId':_0x2596ea[_0x1a1aac(0x2e5)],'actions':null,'textRanges':[_0x1c417b]}}],_0x107461=this[_0x1a1aac(0x15b)][_0x1a1aac(0x26c)](_0x2596ea,_0x3c7621);if(!_0xbe4f3b[_0x1a1aac(0x349)](_0x107461))throw _0x107461['error'];const _0x3c0576=_0x107461[_0x1a1aac(0x299)][0x0][_0x1a1aac(0x27a)][_0x1a1aac(0x20e)];Array[_0x1a1aac(0x351)](_0x3c0576)&&_0x3c0576[_0x1a1aac(0x286)]&&_0xb74a[_0x1a1aac(0x19e)](_0x3c0576[0x0]);}};_0x2f6084=_0x4f29e0([_0x44c29e(0x0,_0xbe4f3b['ITransformService']),_0x44c29e(0x1,_0x449a29[_0x536257(0x352)])],_0x2f6084);var _0x41de7c=Object[_0x536257(0x11b)],_0x276018=(_0xa32cc5,_0xd76ec2,_0x5b2e15,_0x456255)=>{const _0x38f5a2=_0x536257;for(var _0x790988=_0x456255>0x1?void 0x0:_0x456255?_0x41de7c(_0xd76ec2,_0x5b2e15):_0xd76ec2,_0x3058fd=_0xa32cc5[_0x38f5a2(0x286)]-0x1,_0x17a4b3;_0x3058fd>=0x0;_0x3058fd--)(_0x17a4b3=_0xa32cc5[_0x3058fd])&&(_0x790988=_0x17a4b3(_0x790988)||_0x790988);return _0x790988;},_0x4aab1c=(_0x2ad153,_0x140d1f)=>(_0xfccb06,_0x10e62c)=>_0x140d1f(_0xfccb06,_0x10e62c,_0x2ad153);let _0x1e9733=class{constructor(_0x447ede,_0x40bc29,_0x454066){const _0x169bdf=_0x536257;this['_injector']=_0x447ede,this[_0x169bdf(0x15b)]=_0x40bc29,this[_0x169bdf(0x1a3)]=_0x454066;}[_0x536257(0x26a)](_0x432e07){const _0x423861=_0x536257;this[_0x423861(0x165)](_0x432e07);}['transformRemoteChangeset'](_0x5a8d86){const _0x8f1271=_0x536257,{unitID:_0x13bd8a}=_0x5a8d86,{collaboration:_0x279adf}=this[_0x8f1271(0x1a3)][_0x8f1271(0x31f)](_0x13bd8a);if(_0x279adf[_0x8f1271(0x286)]===0x0)return _0x5a8d86;let _0x2fad6c=_0x57396c[_0x8f1271(0x14d)]['deepClone'](_0x5a8d86[_0x8f1271(0x298)][0x0]);for(let _0x3fd903=0x0;_0x3fd903<_0x279adf[_0x8f1271(0x286)];_0x3fd903++){const _0x3da71f={'id':_0x8f1271(0x32a),'params':{'unitId':_0x279adf[_0x3fd903][_0x8f1271(0x29a)],..._0x279adf[_0x3fd903][_0x8f1271(0x191)]}},_0x3f49b0=this[_0x8f1271(0x15b)][_0x8f1271(0x353)](_0x2fad6c,_0x3da71f,!0x1);if(_0xbe4f3b[_0x8f1271(0x207)](_0x3f49b0))throw _0x3f49b0[_0x8f1271(0xd6)];_0x2fad6c=_0x3f49b0[_0x8f1271(0x166)];}return{..._0x57396c[_0x8f1271(0x14d)][_0x8f1271(0x2bf)](_0x5a8d86),'mutations':[_0x2fad6c]};}[_0x536257(0x165)](_0x1639d9){const _0x397589=_0x536257,{unitID:_0x53305c}=_0x1639d9,{history:_0x6f6adb,collaboration:_0x154e4d}=this['_docStateChangeManagerService']['getStateCache'](_0x53305c);if(_0x6f6adb['length']===0x0&&_0x154e4d[_0x397589(0x286)]===0x0)return;const _0x39d3aa=[],_0x35792a=[];let _0x2bcf00=_0x57396c['Tools']['deepClone'](_0x1639d9[_0x397589(0x298)][0x0]),_0x4e962d=_0x57396c[_0x397589(0x14d)][_0x397589(0x2bf)](_0x1639d9['mutations'][0x0]);for(let _0x3ba8a4=_0x6f6adb[_0x397589(0x286)]-0x1;_0x3ba8a4>=0x0;_0x3ba8a4--){const _0x43fb9a={'id':_0x397589(0x32a),'params':{'unitId':_0x6f6adb[_0x3ba8a4][_0x397589(0x29a)],..._0x6f6adb[_0x3ba8a4][_0x397589(0xe6)]}},_0x43d370={'id':_0x397589(0x32a),'params':{'unitId':_0x6f6adb[_0x3ba8a4][_0x397589(0x29a)],..._0x6f6adb[_0x3ba8a4][_0x397589(0x191)]}},_0x2507b0=this[_0x397589(0x15b)][_0x397589(0x353)](_0x2bcf00,_0x43fb9a,!0x1),_0x104e14=this['_transformService'][_0x397589(0x353)](_0x4e962d,_0x43d370,!0x1);if(_0xbe4f3b['isTransformMutationFailure'](_0x2507b0))throw _0x2507b0['error'];if(_0xbe4f3b[_0x397589(0x207)](_0x104e14))throw _0x104e14[_0x397589(0xd6)];_0x39d3aa['unshift']({..._0x6f6adb[_0x3ba8a4],'undoState':_0x2507b0['m2Prime']['params'],'redoState':_0x104e14[_0x397589(0x299)][_0x397589(0x27a)]}),_0x2bcf00=_0x2507b0['m1Prime'],_0x4e962d=_0x104e14[_0x397589(0x166)];}_0x2bcf00=_0x57396c[_0x397589(0x14d)][_0x397589(0x2bf)](_0x1639d9[_0x397589(0x298)][0x0]),_0x4e962d=_0x57396c[_0x397589(0x14d)][_0x397589(0x2bf)](_0x1639d9[_0x397589(0x298)][0x0]);for(let _0x11ca30=_0x154e4d[_0x397589(0x286)]-0x1;_0x11ca30>=0x0;_0x11ca30--){const _0x3bccfb={'id':_0x397589(0x32a),'params':{'unitId':_0x154e4d[_0x11ca30][_0x397589(0x29a)],..._0x154e4d[_0x11ca30][_0x397589(0xe6)]}},_0x5d8ab1={'id':_0x397589(0x32a),'params':{'unitId':_0x154e4d[_0x11ca30][_0x397589(0x29a)],..._0x154e4d[_0x11ca30][_0x397589(0x191)]}},_0x1b539c=this['_transformService'][_0x397589(0x353)](_0x2bcf00,_0x3bccfb,!0x1),_0x21a390=this[_0x397589(0x15b)][_0x397589(0x353)](_0x4e962d,_0x5d8ab1,!0x1);if(_0xbe4f3b[_0x397589(0x207)](_0x1b539c))throw _0x1b539c['error'];if(_0xbe4f3b[_0x397589(0x207)](_0x21a390))throw _0x21a390['error'];_0x35792a[_0x397589(0x30e)]({..._0x154e4d[_0x11ca30],'undoState':_0x1b539c[_0x397589(0x299)][_0x397589(0x27a)],'redoState':_0x21a390[_0x397589(0x299)]['params']}),_0x2bcf00=_0x1b539c['m1Prime'],_0x4e962d=_0x21a390[_0x397589(0x166)];}this[_0x397589(0x1a3)]['setStateCache'](_0x53305c,{'history':_0x39d3aa,'collaboration':_0x35792a});}};_0x1e9733=_0x276018([_0x4aab1c(0x0,_0x57396c['Inject'](_0x57396c[_0x536257(0x24a)])),_0x4aab1c(0x1,_0xbe4f3b[_0x536257(0x110)]),_0x4aab1c(0x2,_0x57396c[_0x536257(0x305)](_0x467a84['DocStateChangeManagerService']))],_0x1e9733);var _0x4d74e8=Object[_0x536257(0x11b)],_0x2f5147=(_0x47de8e,_0x45d76a,_0x1025af,_0x2e8049)=>{for(var _0x2af87a=_0x2e8049>0x1?void 0x0:_0x2e8049?_0x4d74e8(_0x45d76a,_0x1025af):_0x45d76a,_0x518f40=_0x47de8e['length']-0x1,_0xd0b47c;_0x518f40>=0x0;_0x518f40--)(_0xd0b47c=_0x47de8e[_0x518f40])&&(_0x2af87a=_0xd0b47c(_0x2af87a)||_0x2af87a);return _0x2af87a;},_0x318792=(_0xe7cddd,_0x4fbcd1)=>(_0x5a00d0,_0x5a74a9)=>_0x4fbcd1(_0x5a00d0,_0x5a74a9,_0xe7cddd);let _0x3c8053=class{constructor(_0x1149ea,_0xb65d5c){const _0x11f61b=_0x536257;this['_injector']=_0x1149ea,this[_0x11f61b(0x15b)]=_0xb65d5c;}[_0x536257(0x332)](_0x5bb9bc){const _0x24a170=_0x536257;var _0x2131c3;const _0x43bcbe=this[_0x24a170(0x261)][_0x24a170(0xf1)](_0x374412[_0x24a170(0x239)]),_0x35894f=(_0x2131c3=_0x43bcbe[_0x24a170(0x229)]())!=null?_0x2131c3:[];if(_0x35894f[_0x24a170(0x286)]===0x0)return;const _0x4bbf05=_0x5bb9bc[_0x24a170(0x2e5)],_0x1a0284=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4bbf05,'actions':null,'textRanges':_0x35894f}}],_0x3725df=this[_0x24a170(0x15b)][_0x24a170(0x26c)](_0x5bb9bc,_0x1a0284);if(!_0xbe4f3b[_0x24a170(0x349)](_0x3725df))throw _0x3725df[_0x24a170(0xd6)];const _0x146b72=_0x3725df[_0x24a170(0x299)][0x0][_0x24a170(0x27a)][_0x24a170(0x20e)];Array['isArray'](_0x146b72)&&_0x146b72[_0x24a170(0x286)]&&_0x43bcbe[_0x24a170(0x29d)](_0x146b72,{'unitId':_0x4bbf05,'subUnitId':_0x4bbf05},!0x1);}};_0x3c8053=_0x2f5147([_0x318792(0x0,_0x57396c['Inject'](_0x57396c[_0x536257(0x24a)])),_0x318792(0x1,_0xbe4f3b[_0x536257(0x110)])],_0x3c8053);var _0x2dbc74=Object['getOwnPropertyDescriptor'],_0x5c4c53=(_0x42681c,_0x38d72d,_0x1a5d3d,_0x1420b4)=>{const _0x30daa0=_0x536257;for(var _0x2943c5=_0x1420b4>0x1?void 0x0:_0x1420b4?_0x2dbc74(_0x38d72d,_0x1a5d3d):_0x38d72d,_0x105514=_0x42681c[_0x30daa0(0x286)]-0x1,_0x295edf;_0x105514>=0x0;_0x105514--)(_0x295edf=_0x42681c[_0x105514])&&(_0x2943c5=_0x295edf(_0x2943c5)||_0x2943c5);return _0x2943c5;},_0x5581be=(_0x2179d3,_0x1cdd3a)=>(_0x442d32,_0x145ed9)=>_0x1cdd3a(_0x442d32,_0x145ed9,_0x2179d3);let _0x425d74=class extends _0x57396c[_0x536257(0x328)]{constructor(_0x4c2489,_0xf5e157,_0x467d44,_0x161de4,_0x28c996,_0x3ec550,_0x15fe78,_0x440bbc){const _0x5b75eb=_0x536257;super(),_0x9699e1(this,_0x5b75eb(0x231),new _0x573ee4[(_0x5b75eb(0x290))](_0x431409['CollaborationStatus']['NOT_COLLAB'])),(this[_0x5b75eb(0x1a3)]=_0x4c2489,this[_0x5b75eb(0x115)]=_0xf5e157,this['_docTransformIMECacheService']=_0x467d44,this[_0x5b75eb(0x21b)]=_0x161de4,this['_docTransformSelectionsService']=_0x28c996,this[_0x5b75eb(0x1de)]=_0x3ec550,this[_0x5b75eb(0x232)]=_0x15fe78,this[_0x5b75eb(0x264)]=_0x440bbc,this['_initEntityListener']());}[_0x536257(0x2ef)](){const _0x383d4f=_0x536257;this[_0x383d4f(0xa4)](this[_0x383d4f(0x115)][_0x383d4f(0x1b0)][_0x383d4f(0x168)](_0x37a28b=>{const _0x3a51c7=_0x383d4f,_0x59d727=this[_0x3a51c7(0x1a3)][_0x3a51c7(0x172)][_0x3a51c7(0x168)](_0x357902=>{const _0x6b0978=_0x3a51c7;if(_0x357902==null)return;const {unitId:_0x18cb63,redoState:_0x1aee04,commandId:_0x6cc57a}=_0x357902;if(_0x18cb63!==_0x37a28b['unitID'])return;const _0x141bd7={'id':_0x6cc57a,'type':_0x57396c[_0x6b0978(0x34f)]['MUTATION'],'params':{'unitId':_0x18cb63,'actions':_0x1aee04['actions'],'textRanges':null}};_0x37a28b[_0x6b0978(0xbd)](_0x141bd7);});if(_0x37a28b['disposeWithMe'](_0x59d727),_0x37a28b instanceof _0x431409['DocCollaborationEntity']){const _0x5d74e5={'onTransformIME':_0x9ed1de=>this[_0x3a51c7(0xec)][_0x3a51c7(0x2e3)](_0x9ed1de),'onTransformState':_0x60e2d0=>this['_docTransformStateCacheService']['transformStateCache'](_0x60e2d0),'onTransformSelections':_0x57d59d=>this['_docTransformSelectionsService'][_0x3a51c7(0x332)](_0x57d59d),'onSyncEditingCollabCursor':_0x4b1896=>this[_0x3a51c7(0x1de)][_0x3a51c7(0x1e2)](_0x4b1896),'onTransformRemoteChangesetByIMECache':_0x1708e7=>this[_0x3a51c7(0xec)][_0x3a51c7(0x16c)](_0x1708e7),'onTransformRemoteChangesetByStateCache':_0x24dc46=>this[_0x3a51c7(0x21b)][_0x3a51c7(0x16c)](_0x24dc46)};_0x37a28b[_0x3a51c7(0x1e0)](_0x5d74e5);}}));}};_0x425d74=_0x5c4c53([_0x5581be(0x0,_0x57396c[_0x536257(0x305)](_0x467a84[_0x536257(0x18c)])),_0x5581be(0x1,_0x57396c[_0x536257(0x305)](_0x431409['CollaborationController'])),_0x5581be(0x2,_0x57396c[_0x536257(0x305)](_0x2f6084)),_0x5581be(0x3,_0x57396c[_0x536257(0x305)](_0x1e9733)),_0x5581be(0x4,_0x57396c[_0x536257(0x305)](_0x3c8053)),_0x5581be(0x5,_0x57396c[_0x536257(0x305)](_0x21f8f7)),_0x5581be(0x6,_0x2150fb[_0x536257(0x1cf)]),_0x5581be(0x7,_0x57396c[_0x536257(0x305)](_0x57396c[_0x536257(0x1b6)]))],_0x425d74);var _0xab4249=(_0x2f7aec=>(_0x2f7aec[_0x2f7aec[_0x536257(0x109)]=0x0]=_0x536257(0x109),_0x2f7aec[_0x2f7aec['OK']=0x1]='OK',_0x2f7aec[_0x2f7aec[_0x536257(0x370)]=0x2]=_0x536257(0x370),_0x2f7aec[_0x2f7aec['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2f7aec[_0x2f7aec[_0x536257(0x344)]=0x4]=_0x536257(0x344),_0x2f7aec[_0x2f7aec[_0x536257(0xf2)]=0x5]=_0x536257(0xf2),_0x2f7aec[_0x2f7aec[_0x536257(0x331)]=0x6]=_0x536257(0x331),_0x2f7aec[_0x2f7aec[_0x536257(0x1a1)]=0x7]=_0x536257(0x1a1),_0x2f7aec[_0x2f7aec[_0x536257(0x1fa)]=0x8]=_0x536257(0x1fa),_0x2f7aec[_0x2f7aec[_0x536257(0xdc)]=0x9]='COMPLETION_FINISHED',_0x2f7aec[_0x2f7aec[_0x536257(0x209)]=0xa]=_0x536257(0x209),_0x2f7aec[_0x2f7aec[_0x536257(0x104)]=0xb]=_0x536257(0x104),_0x2f7aec[_0x2f7aec['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x536257(0x1d3),_0x2f7aec[_0x2f7aec[_0x536257(0x250)]=0xd]=_0x536257(0x250),_0x2f7aec[_0x2f7aec[_0x536257(0x2aa)]=0xe]=_0x536257(0x2aa),_0x2f7aec[_0x2f7aec['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x536257(0x157),_0x2f7aec[_0x2f7aec[_0x536257(0x215)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x2f7aec[_0x2f7aec[_0x536257(0x13c)]=0x64]=_0x536257(0x13c),_0x2f7aec[_0x2f7aec[_0x536257(0x213)]=0x65]='ERROR_AGAIN',_0x2f7aec[_0x2f7aec['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x2f7aec[_0x2f7aec[_0x536257(0xee)]=0xca]='USER_IS_ANONYMOUS',_0x2f7aec[_0x2f7aec[_0x536257(0x2df)]=0x1389]=_0x536257(0x2df),_0x2f7aec[_0x2f7aec[_0x536257(0x100)]=0x1771]=_0x536257(0x100),_0x2f7aec[_0x2f7aec[_0x536257(0x208)]=0x1772]=_0x536257(0x208),_0x2f7aec[_0x2f7aec[_0x536257(0x35f)]=0x1773]=_0x536257(0x35f),_0x2f7aec[_0x2f7aec[_0x536257(0x1f9)]=0x1b59]=_0x536257(0x1f9),_0x2f7aec[_0x2f7aec[_0x536257(0x34e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2f7aec[_0x2f7aec['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x536257(0x2b1),_0x2f7aec[_0x2f7aec[_0x536257(0xdf)]=0x1b5c]=_0x536257(0xdf),_0x2f7aec[_0x2f7aec[_0x536257(0x17d)]=0x1b5d]='APPLY_DUPLICATED',_0x2f7aec[_0x2f7aec[_0x536257(0x1ab)]=0x1f41]=_0x536257(0x1ab),_0x2f7aec[_0x2f7aec['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2f7aec[_0x2f7aec['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2f7aec[_0x2f7aec[_0x536257(0x1f2)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2f7aec[_0x2f7aec[_0x536257(0x20b)]=0x232c]=_0x536257(0x20b),_0x2f7aec[_0x2f7aec[_0x536257(0x287)]=0x232d]=_0x536257(0x287),_0x2f7aec[_0x2f7aec[_0x536257(0x222)]=0x2711]=_0x536257(0x222),_0x2f7aec[_0x2f7aec[_0x536257(0x293)]=0x2712]=_0x536257(0x293),_0x2f7aec[_0x2f7aec[_0x536257(0x2fb)]=0x2713]=_0x536257(0x2fb),_0x2f7aec[_0x2f7aec[_0x536257(0x333)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2f7aec[_0x2f7aec[_0x536257(0x2f4)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2f7aec[_0x2f7aec[_0x536257(0x276)]=0x271b]=_0x536257(0x276),_0x2f7aec[_0x2f7aec[_0x536257(0x32e)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2f7aec[_0x2f7aec[_0x536257(0x19d)]=0x271d]=_0x536257(0x19d),_0x2f7aec[_0x2f7aec[_0x536257(0x23e)]=0x271e]=_0x536257(0x23e),_0x2f7aec[_0x2f7aec['YUUMI_AI_RUN_FAILED']=0x271f]=_0x536257(0x24c),_0x2f7aec[_0x2f7aec[_0x536257(0xe3)]=0x2720]=_0x536257(0xe3),_0x2f7aec[_0x2f7aec['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2f7aec[_0x2f7aec[_0x536257(0x123)]=0x2ee1]=_0x536257(0x123),_0x2f7aec[_0x2f7aec['INVALID_INVITE_CODE']=0x2ee2]=_0x536257(0x1c3),_0x2f7aec[_0x2f7aec['INVITE_CODE_REQUIRED']=0x2ee3]=_0x536257(0x263),_0x2f7aec[_0x2f7aec[_0x536257(0x2cf)]=0x2ee4]=_0x536257(0x2cf),_0x2f7aec[_0x2f7aec[_0x536257(0x2b5)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2f7aec[_0x2f7aec[_0x536257(0x310)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2f7aec[_0x2f7aec[_0x536257(0x176)]=0x32ca]=_0x536257(0x176),_0x2f7aec[_0x2f7aec[_0x536257(0x1b5)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2f7aec[_0x2f7aec[_0x536257(0x193)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2f7aec[_0x2f7aec[_0x536257(0xb9)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x2f7aec[_0x2f7aec[_0x536257(0x18d)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x2f7aec[_0x2f7aec[_0x536257(0x230)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x2f7aec[_0x2f7aec[_0x536257(0x2cd)]=0x3715]=_0x536257(0x2cd),_0x2f7aec[_0x2f7aec[_0x536257(0x319)]=0x3716]=_0x536257(0x319),_0x2f7aec[_0x2f7aec[_0x536257(0x1a6)]=0x37dd]=_0x536257(0x1a6),_0x2f7aec[_0x2f7aec['REDEMPTION_INVALID_CODE']=0x3a99]=_0x536257(0xfd),_0x2f7aec[_0x2f7aec['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x536257(0x1bf),_0x2f7aec[_0x2f7aec[_0x536257(0xdb)]=0x3a9b]=_0x536257(0xdb),_0x2f7aec[_0x2f7aec[_0x536257(0xdd)]=0x3a9c]=_0x536257(0xdd),_0x2f7aec[_0x2f7aec[_0x536257(0x116)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x2f7aec[_0x2f7aec[_0x536257(0x181)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x2f7aec[_0x2f7aec[_0x536257(0x1fd)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x2f7aec[_0x2f7aec[_0x536257(0x1c5)]=-0x1]=_0x536257(0x1c5),_0x2f7aec))(_0xab4249||{});function _0x185b77(_0x42a9c4){const _0x3b3fb3=_0x536257;var _0x86ac34,_0x2b5059;const _0x160303=(_0x86ac34=_0x42a9c4['stageInfo'])==null?void 0x0:_0x86ac34[_0x3b3fb3(0x2a2)],_0x3f4ce0=((_0x2b5059=_0x42a9c4['stageInfo'])==null?void 0x0:_0x2b5059[_0x3b3fb3(0x2dd)])||0x0;return _0x160303===_0x4b20b5['FormulaExecuteStageType']['START_CALCULATION']&&_0x3f4ce0>0x0;}function _0x18be3(_0x44ee8a){const _0x3d2fe6=_0x536257;return _0x44ee8a[_0x3d2fe6(0xa8)]===_0x4b20b5[_0x3d2fe6(0x158)][_0x3d2fe6(0x223)];}var _0x5217a1=Object[_0x536257(0x11b)],_0x27106a=(_0x346741,_0x3ea08d,_0xdb2536,_0x30bee9)=>{for(var _0x3a458b=_0x30bee9>0x1?void 0x0:_0x30bee9?_0x5217a1(_0x3ea08d,_0xdb2536):_0x3ea08d,_0x363818=_0x346741['length']-0x1,_0x420dad;_0x363818>=0x0;_0x363818--)(_0x420dad=_0x346741[_0x363818])&&(_0x3a458b=_0x420dad(_0x3a458b)||_0x3a458b);return _0x3a458b;},_0x30f18=(_0x1cf70e,_0x1ec0a9)=>(_0x20c9d3,_0x3e35da)=>_0x1ec0a9(_0x20c9d3,_0x3e35da,_0x1cf70e);const _0x26904a=_0x536257(0x1ad),_0xcd0576=_0x536257(0x27c),_0x1086c2='/universer-api/license/formula/limit/done';let _0x5af7fc=class extends _0x57396c[_0x536257(0x328)]{constructor(_0x4fc56d,_0x16c31f,_0x4413e1,_0x382f3a,_0x7bad53,_0x38f551,_0x5f0f1e){const _0x1dda3e=_0x536257;super(),_0x9699e1(this,_0x1dda3e(0x2c9),null),_0x9699e1(this,_0x1dda3e(0x359),0x0),_0x9699e1(this,_0x1dda3e(0x105),0x0),_0x9699e1(this,'_taskIds',[]),_0x9699e1(this,_0x1dda3e(0x36c),0x0),(this[_0x1dda3e(0x232)]=_0x4fc56d,this['_commandService']=_0x16c31f,this[_0x1dda3e(0xb4)]=_0x4413e1,this[_0x1dda3e(0x285)]=_0x382f3a,this[_0x1dda3e(0x330)]=_0x7bad53,this['_logService']=_0x38f551,this[_0x1dda3e(0x264)]=_0x5f0f1e,this[_0x1dda3e(0x33f)]());}[_0x536257(0x33f)](){const _0x4fadb3=_0x536257;this['disposeWithMe'](this[_0x4fadb3(0x1e4)][_0x4fadb3(0x16b)]((_0x3a65c2,_0xcf342)=>{const _0x37618b=_0x4fadb3;if(_0x3a65c2['id']!==_0x4b20b5['SetFormulaCalculationStartMutation']['id'])return;const _0x24f885=_0x3a65c2[_0x37618b(0x27a)];if(!this['_hasFormulaInDirtyRanges'](_0x24f885[_0x37618b(0x1d0)]))return;if(!this[_0x37618b(0x2f7)]())throw this[_0x37618b(0x184)](_0x3a65c2,_0xcf342),this[_0x37618b(0x236)](),new _0x57396c[(_0x37618b(0xe1))]();})),this[_0x4fadb3(0xa4)](this['_commandService'][_0x4fadb3(0x11e)]((_0x77bf7f,_0x477b44)=>{const _0x2647bc=_0x4fadb3;if(_0x77bf7f['id']!==_0x4b20b5['SetFormulaCalculationNotificationMutation']['id'])return;const _0x187f7d=_0x77bf7f[_0x2647bc(0x27a)];if(_0x185b77(_0x187f7d)){const _0x237f73=_0x57396c[_0x2647bc(0x323)]();this[_0x2647bc(0x2cb)][_0x2647bc(0x2f1)](_0x237f73),this[_0x2647bc(0xf9)](_0x237f73);}else{if(_0x18be3(_0x187f7d)&&this[_0x2647bc(0x2cb)][_0x2647bc(0x286)]>0x0){const _0x3720a2=this[_0x2647bc(0x2cb)][_0x2647bc(0x284)]();this[_0x2647bc(0x257)](_0x3720a2);}}}));}['dispose'](){const _0xf0e06e=_0x536257;super[_0xf0e06e(0x30b)](),this[_0xf0e06e(0x159)](),this['_taskIds']=[],this[_0xf0e06e(0x105)]=0x0,this['_maxFormulaLimit']=0x0,this[_0xf0e06e(0x36c)]=0x0;}async[_0x536257(0x184)](_0x2b1ed6,_0x20b863){const _0x2df2ac=_0x536257;for(let _0x19fc1d=0x0;_0x19fc1d<0x1e;_0x19fc1d++)try{if(await this[_0x2df2ac(0x183)](),this[_0x2df2ac(0x2f7)]()){this['_applyCommand'](_0x2b1ed6,_0x20b863),this['_messageService'][_0x2df2ac(0x2b9)]({'content':this[_0x2df2ac(0x264)]['t']('formula.calculation.started'),'type':_0x340b34[_0x2df2ac(0x137)][_0x2df2ac(0x1be)]});return;}await new Promise(_0x42c8d1=>{const _0x1b377e=_0x2df2ac;this[_0x1b377e(0x2c9)]=window[_0x1b377e(0x20a)](_0x42c8d1,0x3e8);});}catch(_0x5ca76c){this[_0x2df2ac(0x106)][_0x2df2ac(0xd6)](_0x5ca76c);}this[_0x2df2ac(0x232)][_0x2df2ac(0x2b9)]({'content':this[_0x2df2ac(0x264)]['t'](_0x2df2ac(0x30f)),'type':_0x340b34['MessageType']['Error']});}[_0x536257(0x1fc)](_0x5dd1d5,_0x13617e){const _0x141559=_0x536257;try{this[_0x141559(0x1e4)][_0x141559(0xe7)](_0x5dd1d5['id'],_0x5dd1d5[_0x141559(0x27a)],_0x13617e);}catch(_0x3f1b06){this['_logService']['error'](_0x3f1b06);}}[_0x536257(0x32d)](_0x345653,_0x22e2d0){const _0x3a648=_0x536257;_0x22e2d0<this[_0x3a648(0x36c)]||(this[_0x3a648(0x36c)]=_0x22e2d0,this[_0x3a648(0x359)]=Number['parseInt'](_0x345653['maxFormulaLimit']),this[_0x3a648(0x105)]=Number[_0x3a648(0x320)](_0x345653[_0x3a648(0xd4)]));}async[_0x536257(0xf9)](_0x20da83){const _0x22ba7d=_0x536257;var _0x411271,_0x59db36;const _0x52ebe5=Date[_0x22ba7d(0x2ab)]();try{const _0x6c02c6=((_0x411271=this[_0x22ba7d(0xb4)][_0x22ba7d(0x1fb)](_0x431409[_0x22ba7d(0x364)]))==null?void 0x0:_0x411271['startFormulaLimitUrl'])||_0xcd0576,_0x46f6a1=(await this['_httpService'][_0x22ba7d(0x134)](_0x6c02c6,{'body':JSON[_0x22ba7d(0x241)]({'taskId':_0x20da83})}))['body'];if(((_0x59db36=_0x46f6a1[_0x22ba7d(0xd6)])==null?void 0x0:_0x59db36[_0x22ba7d(0x2ba)])!==_0xab4249['OK'])return;this[_0x22ba7d(0x32d)](_0x46f6a1[_0x22ba7d(0x238)],_0x52ebe5);}catch(_0x46e1f6){this[_0x22ba7d(0x106)][_0x22ba7d(0xd6)](_0x46e1f6);}}async[_0x536257(0x183)](_0x25752f){const _0x582e1c=_0x536257;var _0x20f5e2,_0x11cef9;const _0x8a881d=Date[_0x582e1c(0x2ab)]();try{const _0x504662=((_0x20f5e2=this[_0x582e1c(0xb4)][_0x582e1c(0x1fb)](_0x431409[_0x582e1c(0x364)]))==null?void 0x0:_0x20f5e2[_0x582e1c(0x2d7)])||_0x26904a,_0x5ef792=_0x25752f?_0x504662+_0x582e1c(0x1ca)+encodeURIComponent(_0x25752f):_0x504662,_0x214f36=(await this[_0x582e1c(0x285)][_0x582e1c(0xf1)](_0x5ef792))[_0x582e1c(0x2c6)];if(((_0x11cef9=_0x214f36[_0x582e1c(0xd6)])==null?void 0x0:_0x11cef9[_0x582e1c(0x2ba)])!==_0xab4249['OK'])return;this['_setFormulaLimitStatus'](_0x214f36['limitInfo'],_0x8a881d);}catch(_0x5d14c){this['_logService'][_0x582e1c(0xd6)](_0x5d14c);}}async[_0x536257(0x257)](_0x3d8cf3){const _0x5f32d0=_0x536257;var _0x31588e,_0x139766;const _0x17a066=Date['now']();try{const _0x468689=((_0x31588e=this[_0x5f32d0(0xb4)][_0x5f32d0(0x1fb)](_0x431409[_0x5f32d0(0x364)]))==null?void 0x0:_0x31588e['releaseFormulaLimitUrl'])||_0x1086c2,_0x4e1db9=(await this[_0x5f32d0(0x285)][_0x5f32d0(0x134)](_0x468689,{'body':JSON['stringify']({'taskId':_0x3d8cf3})}))[_0x5f32d0(0x2c6)];if(((_0x139766=_0x4e1db9['error'])==null?void 0x0:_0x139766[_0x5f32d0(0x2ba)])!==_0xab4249['OK'])return;this[_0x5f32d0(0x32d)](_0x4e1db9[_0x5f32d0(0x238)],_0x17a066);}catch(_0x2e2397){this[_0x5f32d0(0x106)]['error'](_0x2e2397);}}['_checkCalculationAvailable'](){const _0x542b3c=_0x536257;return this[_0x542b3c(0x359)]===0x0?!0x0:this[_0x542b3c(0x359)]-this['_currentUsage']>0x0;}[_0x536257(0x159)](){const _0xf2dded=_0x536257;this[_0xf2dded(0x2c9)]&&(clearTimeout(this[_0xf2dded(0x2c9)]),this[_0xf2dded(0x2c9)]=null);}['_showGuardMessage'](){const _0x26084a=_0x536257;this['_messageService'][_0x26084a(0x2b9)]({'content':this[_0x26084a(0x264)]['t'](_0x26084a(0x2c8)),'type':_0x340b34[_0x26084a(0x137)][_0x26084a(0x2a3)]});}[_0x536257(0x2f8)](_0x5e4aa6){const _0x2d1b83=_0x536257;for(const _0x34c5ed of _0x5e4aa6){const {unitId:_0x1fd3d2,sheetId:_0x43caf7,range:_0x300744}=_0x34c5ed,_0x13511c=this[_0x2d1b83(0x330)][_0x2d1b83(0x315)](_0x1fd3d2);if(!_0x13511c)continue;const _0x31dff9=_0x13511c[_0x2d1b83(0x1a8)](_0x43caf7);if(!_0x31dff9)continue;const _0x13dcd9=_0x31dff9[_0x2d1b83(0xd7)]();for(let _0x3d9f10=_0x300744[_0x2d1b83(0x15d)];_0x3d9f10<=_0x300744['endRow'];_0x3d9f10++)for(let _0x216068=_0x300744[_0x2d1b83(0xa6)];_0x216068<=_0x300744[_0x2d1b83(0x325)];_0x216068++){const _0x3d830a=_0x13dcd9[_0x2d1b83(0x36f)](_0x3d9f10,_0x216068);if(_0x3d830a&&(_0x57396c[_0x2d1b83(0x17b)](_0x3d830a['f'])||_0x57396c[_0x2d1b83(0x289)](_0x3d830a['si'])))return!0x0;}}return!0x1;}};_0x5af7fc=_0x27106a([_0x30f18(0x0,_0x57396c['Inject'](_0x2150fb[_0x536257(0x1cf)])),_0x30f18(0x1,_0x57396c[_0x536257(0xb7)]),_0x30f18(0x2,_0x57396c['IConfigService']),_0x30f18(0x3,_0x57396c[_0x536257(0x305)](_0x2ec6fa['HTTPService'])),_0x30f18(0x4,_0x57396c['IUniverInstanceService']),_0x30f18(0x5,_0x57396c['ILogService']),_0x30f18(0x6,_0x57396c[_0x536257(0x305)](_0x57396c[_0x536257(0x1b6)]))],_0x5af7fc);var _0x342494=Object[_0x536257(0x11b)],_0xad6c0d=(_0x52b4a9,_0x5becaa,_0x28195e,_0x410a02)=>{const _0x147e14=_0x536257;for(var _0x1100d4=_0x410a02>0x1?void 0x0:_0x410a02?_0x342494(_0x5becaa,_0x28195e):_0x5becaa,_0x204e46=_0x52b4a9[_0x147e14(0x286)]-0x1,_0x1f845c;_0x204e46>=0x0;_0x204e46--)(_0x1f845c=_0x52b4a9[_0x204e46])&&(_0x1100d4=_0x1f845c(_0x1100d4)||_0x1100d4);return _0x1100d4;},_0x6d5a7d=(_0x4b9c0c,_0x7a09a0)=>(_0x2d826d,_0x285b93)=>_0x7a09a0(_0x2d826d,_0x285b93,_0x4b9c0c);let _0x5a4479=class extends _0x57396c['Disposable']{constructor(_0x79f051,_0x47bc36,_0x12d9bc){const _0x6edd82=_0x536257;super(),_0x9699e1(this,_0x6edd82(0xb2),new Map()),_0x9699e1(this,_0x6edd82(0x1bc),new Map()),_0x9699e1(this,_0x6edd82(0x133),!0x1),(this['_configService']=_0x79f051,this[_0x6edd82(0xc1)]=_0x47bc36,this[_0x6edd82(0x367)]=_0x12d9bc);}['disableLocalCache'](){const _0x39f992=_0x536257;this[_0x39f992(0x133)]=!0x0;}[_0x536257(0xb0)](){const _0x324298=_0x536257;this[_0x324298(0x133)]=!0x1;}get[_0x536257(0x1b1)](){const _0x3cdcd7=_0x536257;return this[_0x3cdcd7(0x1bc)];}[_0x536257(0x30b)](){const _0x5bae31=_0x536257;this['exhaustSavingTask']()[_0x5bae31(0x31e)](()=>super[_0x5bae31(0x30b)]());}async[_0x536257(0x2a9)](_0x51f383){const _0x212fca=_0x536257;return this['_disabled']?null:this[_0x212fca(0xc1)][_0x212fca(0x18b)](_0x431409[_0x212fca(0x1e9)](_0x51f383));}async[_0x536257(0x23c)](_0x4a0f1a,_0x2d6e15){const _0x2a9115=_0x536257;return!!this[_0x2a9115(0xc1)][_0x2a9115(0x179)](_0x4a0f1a,_0x2d6e15);}[_0x536257(0x2c3)](_0x4c46d5,_0x5bb7fe,_0xaa25ac,_0x405d8b){const _0x584bcb=_0x536257,_0x56b4c2=this[_0x584bcb(0x367)]['getCurrentRevOfUnit'](_0x4c46d5);this[_0x584bcb(0xb2)]['set'](_0x4c46d5,{'unitID':_0x4c46d5,'type':_0x5bb7fe,'awaitingChangeset':_0xaa25ac,'mutations':_0x405d8b,'rev':_0x56b4c2}),this[_0x584bcb(0x1bc)]['has'](_0x4c46d5)||this[_0x584bcb(0x221)](_0x4c46d5);}['_scheduleSaving'](_0x372aa1){const _0x4324f1=_0x536257,_0x55b89c=this[_0x4324f1(0x2dc)]();_0x55b89c===0x0?this['_saveCache'](_0x372aa1):this[_0x4324f1(0x1bc)][_0x4324f1(0x210)](_0x372aa1,setTimeout(()=>this[_0x4324f1(0x1f6)](_0x372aa1),_0x55b89c));}['_getSaveTimeout'](){const _0xad7a78=_0x536257;var _0x1bbbc7;return(_0x1bbbc7=this[_0xad7a78(0xb4)][_0xad7a78(0x1fb)](_0x431409[_0xad7a78(0xc8)]))!=null?_0x1bbbc7:_0x431409[_0xad7a78(0x121)];}[_0x536257(0x1f6)](_0x50ed59){const _0x34ad08=_0x536257,_0x1734aa=this['_saveTaskMap'][_0x34ad08(0xf1)](_0x50ed59);return _0x1734aa!==void 0x0&&window[_0x34ad08(0x135)](_0x1734aa),this[_0x34ad08(0xc1)][_0x34ad08(0x179)](_0x431409[_0x34ad08(0x1e9)](_0x50ed59),this['_cachedData'][_0x34ad08(0xf1)](_0x50ed59))[_0x34ad08(0x31e)](()=>this[_0x34ad08(0x1bc)]['delete'](_0x50ed59));}async[_0x536257(0xe4)](){const _0x33087d=_0x536257,_0xd490cc=[];this[_0x33087d(0x1bc)][_0x33087d(0x357)]((_0x49a9b9,_0x1b6d82)=>{const _0x9b8743=_0x33087d;window[_0x9b8743(0x135)](_0x49a9b9),_0xd490cc[_0x9b8743(0x2f1)](this[_0x9b8743(0x1f6)](_0x1b6d82)['then'](()=>{const _0x29e7c0=_0x9b8743;this[_0x29e7c0(0x1bc)][_0x29e7c0(0x318)](_0x1b6d82);}));}),await Promise[_0x33087d(0x107)](_0xd490cc);}};_0x5a4479=_0xad6c0d([_0x6d5a7d(0x0,_0x57396c[_0x536257(0x2be)]),_0x6d5a7d(0x1,_0x57396c['ILocalStorageService']),_0x6d5a7d(0x2,_0x57396c[_0x536257(0x305)](_0xbe4f3b[_0x536257(0x2d8)]))],_0x5a4479);class _0x2054e0 extends _0x57396c[_0x536257(0x2a6)]{constructor(){const _0x1533b0=_0x536257;super(),_0x9699e1(this,'urlChange$'),this[_0x1533b0(0x313)]=_0x573ee4['fromEvent'](window,'popstate')[_0x1533b0(0xaa)](_0x573ee4[_0x1533b0(0x30d)](this['dispose$']),_0x573ee4[_0x1533b0(0x270)](0x1),_0x573ee4[_0x1533b0(0xff)](void 0x0));}[_0x536257(0x150)](_0x375e80,_0x8aa860,_0x4afcb8=!0x1){const _0x460e4a=_0x536257,_0xdf05a0=new URL(window[_0x460e4a(0x24b)][_0x460e4a(0x180)]);_0xdf05a0['searchParams'][_0x460e4a(0x210)](_0x375e80,_0x8aa860),_0x4afcb8?window[_0x460e4a(0xca)]['replaceState']('','',_0xdf05a0[_0x460e4a(0x337)]()):window[_0x460e4a(0xca)][_0x460e4a(0x201)]('','',_0xdf05a0['toString']());}[_0x536257(0x154)](_0x188267,_0x2c2e6a=!0x1){const _0x12e3e6=_0x536257,_0xf228c4=new URL(window[_0x12e3e6(0x24b)][_0x12e3e6(0x180)]);_0xf228c4[_0x12e3e6(0x178)][_0x12e3e6(0x318)](_0x188267),_0x2c2e6a?window[_0x12e3e6(0xca)]['replaceState']('','',_0xf228c4['toString']()):window[_0x12e3e6(0xca)][_0x12e3e6(0x201)]('','',_0xf228c4[_0x12e3e6(0x337)]());}[_0x536257(0x1d9)](_0x580dca){const _0x4b3055=_0x536257;var _0xbfdc8d;return(_0xbfdc8d=new URL(window[_0x4b3055(0x24b)][_0x4b3055(0x180)])[_0x4b3055(0x178)][_0x4b3055(0xf1)](_0x580dca))!=null?_0xbfdc8d:void 0x0;}}var _0x55cb56=Object[_0x536257(0x265)],_0x9159ac=Object[_0x536257(0x11b)],_0xc3a8ac=(_0x286b6d,_0x3e5e42,_0x80ad44)=>_0x3e5e42 in _0x286b6d?_0x55cb56(_0x286b6d,_0x3e5e42,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x80ad44}):_0x286b6d[_0x3e5e42]=_0x80ad44,_0x59b6e6=(_0x188d42,_0x37c161,_0x34a321,_0x1b62a6)=>{const _0x355efd=_0x536257;for(var _0x3b9a1f=_0x1b62a6>0x1?void 0x0:_0x1b62a6?_0x9159ac(_0x37c161,_0x34a321):_0x37c161,_0x412f72=_0x188d42[_0x355efd(0x286)]-0x1,_0x506889;_0x412f72>=0x0;_0x412f72--)(_0x506889=_0x188d42[_0x412f72])&&(_0x3b9a1f=_0x506889(_0x3b9a1f)||_0x3b9a1f);return _0x3b9a1f;},_0x8ec952=(_0x28ca7a,_0x506487)=>(_0x3d1b0a,_0x19cfda)=>_0x506487(_0x3d1b0a,_0x19cfda,_0x28ca7a),_0x23c506=(_0x2a6056,_0x1f4ddb,_0x58f113)=>_0xc3a8ac(_0x2a6056,_0x1f4ddb+'',_0x58f113);const _0x540a36=_0x536257(0x271);_0x147b5e[_0x536257(0x336)]=class extends _0x57396c['Plugin']{constructor(_0x408161=_0x45f202,_0x119a83,_0x1478be,_0x16e091){const _0x58d995=_0x536257;super(),this[_0x58d995(0x18f)]=_0x408161,this[_0x58d995(0xcf)]=_0x119a83,this['_injector']=_0x1478be,this['_configService']=_0x16e091;const {..._0x382738}=_0x57396c['merge']({},_0x45f202,this['_config']);this['_configService'][_0x58d995(0x29f)](_0x5d7b58,_0x382738);}[_0x536257(0x1c9)](){const _0x9093d6=_0x536257;this[_0x9093d6(0x131)](),this[_0x9093d6(0x15f)]();}[_0x536257(0xd9)](){const _0xdcee4c=_0x536257;this[_0xdcee4c(0x163)]();}[_0x536257(0x131)](){const _0x24cd09=_0x536257;var _0x36d45d;const _0x12e238=[[_0x51d6bd],[_0x5af7fc],[_0x3c8053],[_0x2f6084],[_0x1e9733],[_0x21f8f7],[_0x1cdb1b,{'useClass':_0x2054e0}],[_0x2ec6fa['ISocketService'],{'useClass':_0x2ec6fa[_0x24cd09(0x34b)]}],[_0x431409[_0x24cd09(0x125)],{'useClass':_0x5a4479}],[_0x147b5e[_0x24cd09(0x147)]],[_0x425d74],[_0x14f5a4],[_0x22720e],[_0x1eec32],[_0x147b5e[_0x24cd09(0x14a)]]];_0x57396c[_0x24cd09(0x10d)](this[_0x24cd09(0x261)],_0x57396c[_0x24cd09(0x259)](_0x12e238,(_0x36d45d=this['_config'])==null?void 0x0:_0x36d45d[_0x24cd09(0x279)]));}[_0x536257(0x163)](){const _0x2f0705=_0x536257;this[_0x2f0705(0xa4)](this['_renderManagerService'][_0x2f0705(0x1bb)](_0x57396c[_0x2f0705(0xac)]['UNIVER_DOC'],[_0xc3ae62])),this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x57396c[_0x2f0705(0xac)]['UNIVER_SHEET'],[_0x190524]));}[_0x536257(0x15f)](){const _0x123bc6=_0x536257;_0x57396c[_0x123bc6(0x11d)](this[_0x123bc6(0x261)],[[_0x22720e],[_0x147b5e[_0x123bc6(0x147)]],[_0x425d74],[_0x14f5a4],[_0x147b5e['CollaborationDataLoaderController']],[_0x5af7fc]]);}},_0x23c506(_0x147b5e[_0x536257(0x336)],_0x536257(0xb1),_0x540a36),_0x147b5e[_0x536257(0x336)]=_0x59b6e6([_0x57396c[_0x536257(0x2d9)](_0x431409[_0x536257(0x2b3)]),_0x8ec952(0x1,_0x449a29[_0x536257(0x352)]),_0x8ec952(0x2,_0x57396c[_0x536257(0x305)](_0x57396c[_0x536257(0x24a)])),_0x8ec952(0x3,_0x57396c[_0x536257(0x2be)])],_0x147b5e[_0x536257(0x336)]);var _0x1e73af=Object['getOwnPropertyDescriptor'],_0x33d47c=(_0x5053bd,_0xc63088,_0x391e2a,_0x43d113)=>{const _0x5ca43b=_0x536257;for(var _0x10a21a=_0x43d113>0x1?void 0x0:_0x43d113?_0x1e73af(_0xc63088,_0x391e2a):_0xc63088,_0x505556=_0x5053bd[_0x5ca43b(0x286)]-0x1,_0x23abd4;_0x505556>=0x0;_0x505556--)(_0x23abd4=_0x5053bd[_0x505556])&&(_0x10a21a=_0x23abd4(_0x10a21a)||_0x10a21a);return _0x10a21a;},_0x56a5d0=(_0x30bbf7,_0x2564cf)=>(_0x9bb100,_0x572f19)=>_0x2564cf(_0x9bb100,_0x572f19,_0x30bbf7);_0x147b5e[_0x536257(0x22e)]=class extends _0x431409[_0x536257(0x1e8)]{constructor(_0x23e30a,_0x2e26b0,_0x257439,_0x169797,_0x2b0b83){super(_0x23e30a,_0x2e26b0,_0x257439,_0x169797,_0x2b0b83);}async['createSocket'](_0x43f257){const _0x272196=_0x536257,_0x1f6a1a=await this['_getSessionTicket'](),_0x2b0070=this['_createSocketURL'](_0x43f257,_0x1f6a1a);return this[_0x272196(0x2de)](_0x2b0070);}[_0x536257(0xd3)](_0x242aa9,_0x4977f0){const _0x2ba545=_0x536257,_0x4ec1ad=typeof window>'u'?new URL(_0x242aa9):new URL(_0x242aa9,window[_0x2ba545(0x24b)][_0x2ba545(0x2d5)]);_0x4ec1ad[_0x2ba545(0x178)][_0x2ba545(0x210)](_0x2ba545(0x253),_0x4977f0);const _0x2c335a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2ba545(0x24b)]['search']);return _0x2c335a['get']('runId')&&_0x4ec1ad[_0x2ba545(0x178)]['set'](_0x2ba545(0xd5),_0x2c335a[_0x2ba545(0xf1)](_0x2ba545(0xd5))),_0x4ec1ad['toString']();}async[_0x536257(0x10b)](){const _0x31b4af=_0x536257;var _0xa291eb,_0x2fbe80,_0x15ccad;const _0x425304=this[_0x31b4af(0xb4)]['getConfig'](_0x431409[_0x31b4af(0x364)]),_0x480d78=(_0xa291eb=_0x425304==null?void 0x0:_0x425304['wsSessionTicketUrl'])!=null?_0xa291eb:_0x431409[_0x31b4af(0x2c2)];return(_0x15ccad=(_0x2fbe80=(await this[_0x31b4af(0x285)][_0x31b4af(0xf1)](_0x480d78,{'headers':{'Content-Type':'application/json'}}))[_0x31b4af(0x2c6)])==null?void 0x0:_0x2fbe80[_0x31b4af(0x268)])!=null?_0x15ccad:'';}},_0x147b5e['BrowserCollaborationSocketService']=_0x33d47c([_0x56a5d0(0x0,_0x57396c[_0x536257(0x305)](_0x57396c[_0x536257(0x24a)])),_0x56a5d0(0x1,_0x57396c[_0x536257(0x305)](_0x2ec6fa[_0x536257(0x29e)])),_0x56a5d0(0x2,_0x57396c[_0x536257(0x2be)]),_0x56a5d0(0x3,_0x57396c[_0x536257(0x2a0)]),_0x56a5d0(0x4,_0xbe4f3b[_0x536257(0x294)])],_0x147b5e[_0x536257(0x22e)]);var _0x3a7ed0=Object['getOwnPropertyDescriptor'],_0x54feee=(_0x1b6de6,_0x2ecaf7,_0x3d721e,_0x444348)=>{const _0x3d354d=_0x536257;for(var _0xc356f1=_0x444348>0x1?void 0x0:_0x444348?_0x3a7ed0(_0x2ecaf7,_0x3d721e):_0x2ecaf7,_0x5b58f0=_0x1b6de6[_0x3d354d(0x286)]-0x1,_0x2baba8;_0x5b58f0>=0x0;_0x5b58f0--)(_0x2baba8=_0x1b6de6[_0x5b58f0])&&(_0xc356f1=_0x2baba8(_0xc356f1)||_0xc356f1);return _0xc356f1;},_0x5a7525=(_0x1b7190,_0x1ffcd6)=>(_0x56308c,_0x1e4989)=>_0x1ffcd6(_0x56308c,_0x1e4989,_0x1b7190);_0x147b5e['RemoteUniscriptService']=class extends _0x57396c['Disposable']{constructor(_0x5fc7e1,_0x439157,_0x40b74b){const _0x4874d7=_0x536257;super(),this[_0x4874d7(0x2d3)]=_0x5fc7e1,this['_httpService']=_0x439157,this[_0x4874d7(0xb4)]=_0x40b74b;}async['runOnServer'](_0x39212d,_0x426bd5,_0x5866dc,..._0x5ec9b9){const _0x4a6a53=_0x536257;var _0x2e2aeb,_0x32627f,_0x38e081,_0x559ec1;const _0x579418=this['_instanceService'][_0x4a6a53(0x355)]();if(!_0x579418)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x52caf2=((_0x2e2aeb=this['_configService']['getConfig'](_0x431409[_0x4a6a53(0x2d0)]))!=null?_0x2e2aeb:_0x431409[_0x4a6a53(0x34a)])+'/'+_0x39212d+_0x4a6a53(0xfa)+_0x426bd5,_0x14679f=new URL(window[_0x4a6a53(0x24b)][_0x4a6a53(0x180)]),_0x1d8446={'scriptId':_0x39212d,'runId':(_0x32627f=_0x14679f[_0x4a6a53(0x178)][_0x4a6a53(0xf1)](_0x4a6a53(0xd5)))!=null?_0x32627f:'','function':_0x426bd5,'unitId':_0x579418[_0x4a6a53(0x1ef)](),'argsOfFunction':JSON['stringify'](_0x5ec9b9),'invokeId':(_0x38e081=_0x5866dc[_0x4a6a53(0x12b)])!=null?_0x38e081:'','executionId':(_0x559ec1=_0x5866dc['executionId'])!=null?_0x559ec1:''};try{const _0x514d0c=await this[_0x4a6a53(0x285)][_0x4a6a53(0x134)](_0x52caf2,{'body':_0x1d8446});return _0x514d0c[_0x4a6a53(0x2c6)][_0x4a6a53(0xd6)]&&_0x514d0c[_0x4a6a53(0x2c6)][_0x4a6a53(0xd6)][_0x4a6a53(0x2ba)]!==_0xab4249['OK']?_0x4a6a53(0x22a):_0x514d0c[_0x4a6a53(0x2c6)][_0x4a6a53(0x2f2)];}catch{return'Failed';}}},_0x147b5e[_0x536257(0x144)]=_0x54feee([_0x5a7525(0x0,_0x57396c[_0x536257(0x339)]),_0x5a7525(0x1,_0x57396c[_0x536257(0x305)](_0x2ec6fa[_0x536257(0x29e)])),_0x5a7525(0x2,_0x57396c[_0x536257(0x2be)])],_0x147b5e[_0x536257(0x144)]);const _0xa4cfe0=0x7530,_0xeee4c3=_0x536257(0x28c);class _0x4c922a extends _0x57396c[_0x536257(0x328)]{constructor(){const _0x55688f=_0x536257;super(),_0x9699e1(this,_0x55688f(0x15a),_0x57396c['generateRandomId']()),_0x9699e1(this,_0x55688f(0x1eb),new Set()),_0x9699e1(this,_0x55688f(0x192),new Map()),_0x9699e1(this,'_heartbeatTimer',null),_0x9699e1(this,'_clearOtherTimers',new Map()),_0x9699e1(this,_0x55688f(0x343),new Map()),this[_0x55688f(0x19c)]();}[_0x536257(0x30b)](){const _0xa0d8ff=_0x536257;super[_0xa0d8ff(0x30b)](),this['_clearOtherTimers']['forEach']((_0x58875f,_0x26881e)=>this[_0xa0d8ff(0x2f0)](_0x26881e)),this[_0xa0d8ff(0x251)]&&window[_0xa0d8ff(0x17c)](this[_0xa0d8ff(0x251)]);}[_0x536257(0x27e)](_0x5bfef4){const _0x3f4d67=_0x536257;return this[_0x3f4d67(0x267)](_0x5bfef4)[_0x3f4d67(0xaa)](_0x573ee4[_0x3f4d67(0x203)]());}[_0x536257(0x2b7)](_0x4cccef){const _0x370ef5=_0x536257;this[_0x370ef5(0x1eb)][_0x370ef5(0x1ac)]===0x0&&this[_0x370ef5(0x226)](),this[_0x370ef5(0x1eb)][_0x370ef5(0x117)](_0x4cccef),this[_0x370ef5(0x28b)]({'type':0x0,'memberID':this[_0x370ef5(0x15a)],'unitIDs':[_0x4cccef],'isForwarded':!0x1});}[_0x536257(0x272)](_0x5cbdea){const _0x5cdcb5=_0x536257;this['_selfUnitIDs'][_0x5cdcb5(0x318)](_0x5cbdea),this['_selfUnitIDs']['size']===0x0&&this[_0x5cdcb5(0x251)]&&window[_0x5cdcb5(0x17c)](this[_0x5cdcb5(0x251)]);}['_init'](){const _0x303740=_0x536257;this['disposeWithMe'](_0x57396c[_0x303740(0xb6)](_0x573ee4[_0x303740(0x36d)](window,'storage')['subscribe'](_0x23ecca=>{const _0x10ae4f=_0x303740;if(_0x23ecca[_0x10ae4f(0x280)]!==_0xeee4c3||!_0x23ecca[_0x10ae4f(0x356)])return;const _0x3a80e0=JSON['parse'](_0x23ecca[_0x10ae4f(0x356)]);this[_0x10ae4f(0x18e)](_0x3a80e0);}))),window[_0x303740(0x295)](_0x303740(0x26f),()=>this[_0x303740(0x28b)]({'type':0x1,'memberID':this[_0x303740(0x15a)],'unitIDs':Array[_0x303740(0xc6)](this['_selfUnitIDs'])}));}[_0x536257(0x18e)](_0x59d45c){const _0x4e69c4=_0x536257;switch(_0x59d45c['type']){case 0x0:this[_0x4e69c4(0x363)](_0x59d45c);break;case 0x1:this[_0x4e69c4(0x14e)](_0x59d45c);break;case 0x2:this['_handleHeartbeatEvent'](_0x59d45c);break;}}[_0x536257(0x363)](_0x840213){const _0x5dcaf0=_0x536257,{unitIDs:_0x363aaf,memberID:_0x2319d1,isForwarded:_0x41994b}=_0x840213;_0x363aaf[_0x5dcaf0(0x357)](_0x5b64d9=>{const _0x1155a0=_0x5dcaf0;if(!_0x41994b&&this['_unitOnClients'][_0x1155a0(0x2d2)](_0x5b64d9)&&this[_0x1155a0(0x267)](_0x5b64d9)[_0x1155a0(0x187)](_0x431409[_0x1155a0(0xa9)]['OTHER_CLIENTS_EDITING']),!this[_0x1155a0(0x192)]['has'](_0x5b64d9)||!this[_0x1155a0(0x192)][_0x1155a0(0xf1)](_0x5b64d9)[_0x1155a0(0x2d2)](_0x2319d1)){const _0x84f83c=this[_0x1155a0(0x192)][_0x1155a0(0xf1)](_0x5b64d9)||new Set();_0x84f83c[_0x1155a0(0x117)](_0x2319d1),this['_unitOnClients'][_0x1155a0(0x210)](_0x5b64d9,_0x84f83c),this[_0x1155a0(0x244)](_0x2319d1);}}),_0x41994b||this['_send']({'type':0x0,'memberID':this[_0x5dcaf0(0x15a)],'unitIDs':[...this[_0x5dcaf0(0x1eb)]],'isForwarded':!0x0});}[_0x536257(0x244)](_0x4bdd2b){const _0x2842e3=_0x536257;this[_0x2842e3(0x2f0)](_0x4bdd2b);const _0x3b23e5=window['setTimeout'](()=>{const _0x1e17ea=_0x2842e3;this[_0x1e17ea(0x192)][_0x1e17ea(0x357)](_0x1d96cb=>{const _0x470b96=_0x1e17ea;_0x1d96cb[_0x470b96(0x318)](_0x4bdd2b);});},_0xa4cfe0*0x2);this[_0x2842e3(0x214)]['set'](_0x4bdd2b,_0x3b23e5);}[_0x536257(0x2f0)](_0x31d725){const _0x5467d4=_0x536257;if(this['_clearOtherTimers']['has'](_0x31d725)){const _0x1b468c=this['_clearOtherTimers'][_0x5467d4(0xf1)](_0x31d725);_0x1b468c&&window['clearTimeout'](_0x1b468c),this[_0x5467d4(0x214)]['set'](_0x31d725,null);}}[_0x536257(0x14e)](_0x41f757){const _0xae59ca=_0x536257,{memberID:_0xb4ae10,unitIDs:_0x37e58b}=_0x41f757;_0x37e58b['forEach'](_0x51ec64=>{const _0x516336=_0x5f1f;var _0x2160e5;const _0x44fc2e=this[_0x516336(0x192)][_0x516336(0xf1)](_0x51ec64);_0x44fc2e&&(_0x44fc2e[_0x516336(0x318)](_0xb4ae10),(_0x2160e5=this[_0x516336(0x267)](_0x51ec64))==null||_0x2160e5['next'](_0x44fc2e[_0x516336(0x1ac)]===0x0?_0x431409[_0x516336(0xa9)][_0x516336(0x1e3)]:_0x431409[_0x516336(0xa9)][_0x516336(0x124)]));}),this[_0xae59ca(0x2f0)](_0xb4ae10);}[_0x536257(0x141)](_0x1e0ec7){const _0x3df075=_0x536257;this[_0x3df075(0x244)](_0x1e0ec7[_0x3df075(0xd2)]);}[_0x536257(0x28b)](_0x4b8640){const _0x28de84=_0x536257;localStorage[_0x28de84(0x179)](_0xeee4c3,JSON['stringify'](_0x4b8640));}['_scheduleHeartbeat'](){const _0x5a218d=_0x536257;this[_0x5a218d(0x251)]=window[_0x5a218d(0x255)](()=>{const _0x2c487c=_0x5a218d;this['_send']({'type':0x2,'memberID':this[_0x2c487c(0x15a)]});},_0xa4cfe0);}[_0x536257(0x267)](_0x15ba1d){const _0x4eb5e3=_0x536257;return this[_0x4eb5e3(0x343)][_0x4eb5e3(0x2d2)](_0x15ba1d)||this[_0x4eb5e3(0x343)][_0x4eb5e3(0x210)](_0x15ba1d,new _0x573ee4['BehaviorSubject'](_0x431409[_0x4eb5e3(0xa9)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x4eb5e3(0x343)][_0x4eb5e3(0xf1)](_0x15ba1d);}}_0x147b5e[_0x536257(0x31a)]=_0x1cdb1b,_0x147b5e['SheetCollabCursorShape']=_0x5cc6c5,_0x147b5e['WebBrowserSingleActiveUnitService']=_0x4c922a,_0x147b5e[_0x536257(0x274)]=_0x2054e0,Object[_0x536257(0x265)](_0x147b5e,Symbol['toStringTag'],{'value':_0x536257(0x1d2)});}));function _0x5f1f(_0x314ee4,_0x8c7ecc){const _0x1c151b=_0x1c15();return _0x5f1f=function(_0x5f1fa6,_0x4a176a){_0x5f1fa6=_0x5f1fa6-0xa1;let _0x400ba9=_0x1c151b[_0x5f1fa6];return _0x400ba9;},_0x5f1f(_0x314ee4,_0x8c7ecc);}function _0x1c15(){const _0xdfec42=['updateOfflineData','DataLoaderService','UNIVER_SHEET','body','_hover','formula.calculation.waiting','_pollingInterval','_refreshCollabCursors','_taskIds','Vector2','ENTITLE_CHAT_LIMIT_EXCEED','contains','USER_NOT_INVITED_CODE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','assignAColorForMemberID','has','_instanceService','getMergeData','origin','_toggleOnline','getformulaLimitStatusUrl','RevisionService','DependentOn','addObjects','colorChannel1','_getSaveTimeout','totalFormulasToCalculate','_doCreateSocket','CHANGESET_REVISION_CONFILICT','getViewport','CONFLICT','useObservable','transformIMECache','Shape','unitID','handleIRemoveRow','symbol','_draw','BuiltInUIPart','_anchorDot','save','evenodd','4564659ffFUSA','CollaborationUIEventId','_initEntityListener','_removeClearOtherTimer','push','result','handleDeleteRangeMoveUp','YUUMI_NO_CUBOID_FOR_QUESTION','_sheetSkeletonManagerService','InsertRowCommandId','_checkCalculationAvailable','_hasFormulaInDirtyRanges','eventID','collab-rect-range-','YUUMI_RATE_OVER_LIMIT','getMember','handleInsertRow','UPDATE_CURSOR','_collabCursorController','@univerjs/drawing','collab-text-range-','permission.title','ColorKit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Inject','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','session.connection-failed','NodePositionConvertToCursor','setUndoRedoMutationParamsCache','PERMISSION_DENIED','dispose','createIdentifier','takeUntil','unshift','formula.calculation.unable','WECHAT_HAS_BEEN_BOUND','_onCursorDelete','runRefRangeMutations','urlChange$','makeDirty','getUnit','findNodePositionByCharIndex','_render','delete','ENTITLE_REPORT_LIMIT_EXCEED','IURLService','font','RECT','UniverDocs','then','getStateCache','parseInt','SOCKET_FAILED','_onCursorUpdate','generateRandomId','@univerjs/docs','endColumn','getRangePointData','Subject','Disposable','_cursorInfo$','doc.mutation.rich-text-editing','_scene','url(#off-line-icon_clip0_910_343)','_setFormulaLimitStatus','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SOCKET_FAILED_RETRY','_univerInstanceService','ALREADY_EXISTS','transformSelections','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverRpc','EffectRefRangId','UniverCollaborationClientUIPlugin','toString','getMemberID','IUniverInstanceService','590eXGvqh','Rectangle','getUnhiddenWorksheets','random','_initEvent','_initCommandInterceptor','switchMap','DocIMEInputManagerService','div','_unitStatus','NOT_FOUND','entries','1861fhcJOO','RichTextEditingMutation','_hideTimer','isTransformMutationsWithChangesetSuccess','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','WebSocketService','Error','NodePositionConvertToRectRange','APPLY_NON_SEQUENTIAL_REVISION','CommandType','jiqing.500','isArray','IRenderManagerService','transformMutation','COLORS','getFocusedUnit','newValue','forEach','_initResize','_maxFormulaLimit','UniverDesign','black','registerRefRange','_transformPreviousActiveRange','top','ENSURE_SNAPSHOT_EXECUTION','UniverCore','UniverDocsUi','trim','_handleJoinEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','react','NOT_COLLAB','_revisionService','find','unsubscribe','some','IUIPartsService','_lastResponseTimestamp','fromEvent','getUndoRedoMutationParamsCache','getValue','INTERNAL_ERROR','getTypeOfUnitDisposed$','round','366zOFuZw','drawWith','disposeWithMe','complete','startColumn','4684729UpiOil','functionsExecutedState','UnitStatus','pipe','cursorInfo$','UniverInstanceType','_labelPosition','_docSkeletonManagerService','Tooltip','enableLocalCache','pluginName','_cachedData','fillText','_configService','getOffsetConfig','toDisposable','ICommandService','jsx','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_collabSessionService','1em','0\x200\x2017\x2016','onLocalMutation','_beforeCloseService','name','endRow','_localStorageService','OnLineIcon','hide','currentTheme$','getColorFromTheme','from','_color','LOCAL_CACHE_INTERVAL_KEY','Warning','history','UNIVER_DOC','USERS_LEAVE','_memberService','arc','_renderManagerService','_drawAnchor','_drawRectRange','memberID','_createSocketURL','currentUsage','runId','error','getCellMatrix','string','onRendered','collaboration-client-ui.config','REDEMPTION_CODE_FULLY_REDEEMED','COMPLETION_FINISHED','REDEMPTION_CODE_NOT_STARTED','values','APPLY_PERMISSION_DENIED','data','CanceledError','_name','YUUMI_CONNECTOR_URL_NOT_FOUND','exhaustSavingTask','_removeCollabCursors','undoState','executeCommand','MoveRangeCommandId','resize','_localCacheService','currentSkeleton$','_docTransformIMECacheService','assign','USER_IS_ANONYMOUS','with','event$','get','UNAUTHENTICATED','xlink:href','[CollaborationDataLoaderController]','debounceTime','toRgbString','collabStatus.notCollab','source','_startCalculationLimit','/run/','clipPath','6bocdEA','REDEMPTION_INVALID_CODE','addObject','mapTo','SNAPSHOT_INVALID_SNAPSHOT','url(#$1','RemoveColCommandId','collab-text-anchor-','MOBILE_VERIFY_CODE_MISMATCH','_currentUsage','_logService','all','React','UNDEFINED','setShapeProps','_getSessionTicket','FromArray','registerDependencies','_transformUndoRedoStack','backgroundColor','ITransformService','connectInjector','Workbook','min','InsertColCommandId','_collaborationController','REDEMPTION_USER_NOT_ELIGIBLE','add','useCallback','_entityInit$','InsertRangeMoveRightCommandId','getOwnPropertyDescriptor','translate(.97)','touchDependencies','onCommandExecuted','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','...','LOCAL_CACHE_INTERVAL','startsWith','INVITE_CODE_HAS_BEEN_UES','OTHER_CLIENTS_EDITING','ILocalCacheService','addClipboardHook','@univerjs/sheets-ui','max','collabStatus.synced','getCurrent','invokeId','UniverUi','rxjs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createInstance','_collaborationUIEventService','_registerDependencies','collaboration.closeRoom','_disabled','post','clearTimeout','currentColor','MessageType','handleDeleteRangeMoveLeft','getCoordByCell','sheetID','createElement','CURRENT_STATUS_CANNOT_OPERATE','subscribeEvent','_online','_initStatusListener','on-line-icon_clip0_910_349','_handleHeartbeatEvent','getCollabCursors$','_docClipboardService','RemoteUniscriptService','M0\x200H16V16H0z','object','DesktopCollaborationStatusDisplayController','selections','_uiPartsService','CollaborationDataLoaderController','amd','collabCursorState$','Tools','_handleLeaveEvent','engine','setParam','_setupSubUnitSync','_range','getTypeOfUnitAdded$','removeParam','fillStyle','SetTextSelectionsOperation','AUTHORIZE_CODE_ILLEGAL','FormulaExecutedStateType','_clearPolling','_id','_transformService','CollaborationController','startRow','_initStatusComponent','_initDependencies','setAlpha','TEXT','collabStatus.fetchMiss','_registerRenderDependencies','init','_transformHistoryAndStateStack','m1Prime','DeleteRangeMoveLeftCommandId','subscribe','defs','_colorAssignService','beforeCommandExecuted','transformRemoteChangeset','width','UniverProCollaborationClientUi','function','_getMergeRange','getCollabEntity$','docStateChange$','DOC_RANGE_TYPE','displayName','row','MOBILE_HAS_BEEN_BOUND','CollaborationEvent','searchParams','setItem','_cursorShapes','isFormulaString','clearInterval','APPLY_DUPLICATED','CollaborationUIEventService','collabStatus.offline','href','REDEMPTION_USER_REDEEM_TIMES_EXCEED','SetDocZoomRatioOperation','_getFormulaLimitStatus','_checkAndWaitForCalculationPermission','tag','sessionStatus$','next','type','SYNCED','getAncestorScale','getItem','DocStateChangeManagerService','ENTITLE_DUP_SUBSCRIPTION','_handleEvent','_config','color','redoState','_unitOnClients','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_document','split','IImageIoService','registerComponent','white','SHEET_VIEWPORT_KEY','getCellPositionByOffset','24530TldXNx','_init','YUUMI_ALL_TABLES_IS_INVALID','setActiveRange','triggerDblclick','_startSheetCollabCursor','INVALID_ARGUMENT','@univerjs/engine-render','_docStateChangeManagerService','PENDING','_collabCursorState$','ENTITLE_NEED_BILLING_ADDRESS','ThemeService','getSheetBySheetId','_initCommandExecutedListener','beginPath','CONNECTOR_DATA_TOO_LARGE','size','/universer-api/license/formula/limit/status','getRenderById','#FFF','entityInit$','saveTaskMap','session.collaboration-timeout','UniverDrawing','getRelativeToViewportCoord','EMAIL_HAS_BEEN_BOUND','LocaleService','_urlService','jsxs','@univerjs-pro/collaboration-client','_dataLoaderService','registerRenderModule','_saveTaskMap','6193900SnoogE','Success','REDEMPTION_CODE_INACTIVE','useRef','getSheetObject','mask','INVALID_INVITE_CODE','_assignedColors','UNRECOGNIZED','getActiveSheet','onPointerEnter$','getUniverSheetInstance','onStarting','?taskId=','height','focused$','univer-mr-2\x20univer-flex\x20univer-text-xl','range','IMessageService','dirtyRanges','transformByState','Module','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCurrentSelections','UniverEngineFormula','red.300','_imageIoService','DocSkeletonManagerService','getParam','moveTo','_onRefRangeChange','use','fill','_docSyncEditingCollabCursorService','rxjs/operators','addHandlerCallback','_context','syncEditingCollabCursor','NO_OTHER_CLIENTS_EDITING','_commandService','RemoveRowCommandId','SetSelectionsOperation','requireSession','CollaborationSocketService','getLocalCacheKey','attrs','_selfUnitIDs','91684AbszIQ','svg','handleMoveRange','getUnitId','UniverIcon','INotificationService','LICENSE_IMPORT_SIZE_EXCEEDED','collabStatus.syncing','getColor','OFFLINE','_saveCache','@univerjs/sheets','UniverProCollaborationClient','APPLY_REJECT','TOO_MANY_REQUESTS','getConfig','_applyCommand','REDEMPTION_CODE_HAS_BEEN_CREATED','_session','asObservable','getSheetId','pushState','CollaborationStatus','distinctUntilChanged','univerjs-icon\x20univerjs-icon-','TEXT_RANGE_LAYER_INDEX','@univerjs/network','isTransformMutationFailure','SNAPSHOT_HAS_BEEN_REMOVED','LOGIN_FAILED','setTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','_entities','getSkeleton','textRanges','path','set','SetWorksheetActivateCommand','_startDocCollabCursor','ERROR_AGAIN','_clearOtherTimers','LOGIN_TOKEN_PROCESSING_FAILED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','uni.network.url-service','_updateCollabCursors','IDocClipboardService','@univerjs-pro/collaboration','_docTransformStateCacheService','idSuffix','clsx','forwardRef','yellow.400','SessionStatus','_scheduleSaving','YUUMI_UNABLE_LOAD_URL','SUCCESS','_handleHover','closePath','_scheduleHeartbeat','_cursors','VIEW_MAIN','getDocRanges','Failed','_updateSubUnitFromURLParams','_getSheetObject','SheetsSelectionsService','BrowserCollaborationSocketService','map','PAYMENT_CHANNEL_NOT_SUPPORT','_status$','_messageService','_anchor','send','_themeService','_showGuardMessage','@univerjs/design','limitInfo','DocSelectionManagerService','_roomMembers$','SheetSkeletonManagerService','saveOfflineData','0\x200\x2016\x2016','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','onMouseMove','selection','stringify','includes','Rect','_scheduleClearOtherTimer','_hovered','_textBubble','measureText','UniverEngineRender','@univerjs/ui','Injector','location','YUUMI_AI_RUN_FAILED','flatMap','filter','_updateURLWithCurrentState','EMAIL_VERIFY_CODE_MISMATCH','_heartbeatTimer','reconnect','sessionTicket','debounce','setInterval','roomMembers$','_releaseCalculationLimit','cursorInfo','mergeOverrideWithDependencies','collaboration-client.offline-data-not-saved','_notificationService','_colorIndex','32PGqWLx','unit','none','Optional','_injector','CollaborationSessionService','INVITE_CODE_REQUIRED','_localeService','defineProperty','_shapes','_ensureSubject','ticket','_setupBeforeClosingHandler','transformStateCache','lineTo','transformMutationsWithChangeset','_refRangeService','ranges','unload','shareReplay','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','disposeUnit','MemberService','WebURLService','off-line-icon_clip0_910_343','YUUMI_ASYNCIO_CANCELLED','handleInsertRangeMoveDown','debug','override','params','useDependency','/universer-api/license/formula/limit/start','onPointerLeave$','getUnitStatus$','collab-client.tooltip.reconnect','key','_eventUnsubscribe','imageSourceType','registerBeforeClose','shift','_httpService','length','LICENSE_DISTRO_REJECTED','column','isFormulaId','replace','_send','ACTIVE_UNIT_EVENT_CHANNEL','_backgroundColor','text','DisposableCollection','BehaviorSubject','_lastPointer','children','YUUMI_URL_COL_OUT_OF_RANGE','ISnapshotServerService','addEventListener','ONLINE','_getScale','mutations','m2Prime','unitId','_updateLocalCursor','SUBMIT_CHANGESET_TIMEOUT','replaceDocRanges','HTTPService','setConfig','ILogService','Unknown\x20user','stage','Loading','dispose$','@univerjs/engine-formula','RxDisposable','isActive','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','loadOfflineData','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','now','_syncEditingCollabCursorService','restore','combineLatest','OTHER_CLIENT_EDITING','AWAITING_WITH_PENDING','APPLY_REVISION_CONFILICT','RegularPolygon','UniverCollaborationClientPlugin','blue.400','INVITE_CODE_ALREADY_BOUND','605970ZjVXHw','editingUnit','_toggleOffline','show','code','subunit','http://www.w3.org/2000/svg','bottom','IConfigService','deepClone','CLOSE_ROOM','substring','DEFAULT_WS_SESSION_TICKET_URL'];_0x1c15=function(){return _0xdfec42;};return _0x1c15();}
|
|
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)});}));
|