@univerjs-pro/collaboration-client-ui 0.15.0-insiders.20260106-79b11f9 → 0.15.0-insiders.20260107-3441c7a
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 -1
- 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 -1
- 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 -1
- 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/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 -1
- 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 +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3a4cd3,_0x1ca101){const _0x12664b=_0x3fe4,_0x289141=_0x3a4cd3();while(!![]){try{const _0x2c7aba=-parseInt(_0x12664b(0x1e3))/0x1*(-parseInt(_0x12664b(0x2bd))/0x2)+parseInt(_0x12664b(0x473))/0x3*(-parseInt(_0x12664b(0x40c))/0x4)+-parseInt(_0x12664b(0x43b))/0x5+-parseInt(_0x12664b(0x283))/0x6*(-parseInt(_0x12664b(0x377))/0x7)+parseInt(_0x12664b(0x359))/0x8+-parseInt(_0x12664b(0x376))/0x9+parseInt(_0x12664b(0x2ef))/0xa;if(_0x2c7aba===_0x1ca101)break;else _0x289141['push'](_0x289141['shift']());}catch(_0x3c7ccd){_0x289141['push'](_0x289141['shift']());}}}(_0x269a,0xcdac1),function(_0xcea16a,_0x18aca8){const _0xf73518=_0x3fe4;typeof exports=='object'&&typeof module<'u'?_0x18aca8(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0xf73518(0x216)]?define([_0xf73518(0x20e),_0xf73518(0x37e),_0xf73518(0x273),_0xf73518(0x460),'@univerjs/ui',_0xf73518(0x2f7),_0xf73518(0x324),_0xf73518(0x46c),_0xf73518(0x35b),_0xf73518(0x2da),'@univerjs/engine-render',_0xf73518(0x360),_0xf73518(0x45e),'@univerjs/drawing','@univerjs-pro/collaboration','@univerjs/docs',_0xf73518(0x312),_0xf73518(0x37f),'@univerjs/sheets-ui'],_0x18aca8):(_0xcea16a=typeof globalThis<'u'?globalThis:_0xcea16a||self,_0x18aca8(_0xcea16a['UniverProCollaborationClientUi']={},_0xcea16a['React'],_0xcea16a[_0xf73518(0x296)],_0xcea16a[_0xf73518(0x406)],_0xcea16a['UniverUi'],_0xcea16a[_0xf73518(0x2f7)],_0xcea16a['UniverDesign'],_0xcea16a['React'],_0xcea16a['UniverRpc'],_0xcea16a[_0xf73518(0x480)],_0xcea16a['UniverEngineRender'],_0xcea16a['UniverNetwork'],_0xcea16a[_0xf73518(0x2b4)],_0xcea16a[_0xf73518(0x393)],_0xcea16a['UniverProCollaboration'],_0xcea16a[_0xf73518(0x266)],_0xcea16a[_0xf73518(0x46e)],_0xcea16a[_0xf73518(0x2f7)][_0xf73518(0x453)],_0xcea16a[_0xf73518(0x337)]));}(this,function(_0x152022,_0xe055ee,_0x1c1b1d,_0x389abc,_0x186348,_0x5295a5,_0x235f53,_0x101780,_0x4ec2ad,_0x53841e,_0x128fe8,_0x2e75b9,_0x15f040,_0x218e7a,_0x1ed99c,_0x2fab95,_0x2054e2,_0xbe372f,_0x100dc5){'use strict';const _0x3f19b7=_0x3fe4;var _0x534835=Object['defineProperty'],_0x22a527=(_0x537008,_0x510c8e,_0x5b1b80)=>_0x510c8e in _0x537008?_0x534835(_0x537008,_0x510c8e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b1b80}):_0x537008[_0x510c8e]=_0x5b1b80,_0x2a801e=(_0x34da8e,_0x36c185,_0x913a33)=>_0x22a527(_0x34da8e,typeof _0x36c185!=_0x3f19b7(0x2df)?_0x36c185+'':_0x36c185,_0x913a33);function _0x5f4298({ref:_0x2e2c1b,..._0x309256}){const _0x4097e9=_0x3f19b7,{icon:_0x3c8199,id:_0x3dd3fd,className:_0x510343,extend:_0x8289f4,..._0xeb6d98}=_0x309256,_0x4e792f=(_0x4097e9(0x237)+_0x3dd3fd+'\x20'+(_0x510343||''))[_0x4097e9(0x44e)](),_0x4811a2=_0x101780[_0x4097e9(0x477)]('_'+_0x47029a());return _0x9b3a22(_0x3c8199,''+_0x3dd3fd,{'defIds':_0x3c8199[_0x4097e9(0x444)],'idSuffix':_0x4811a2[_0x4097e9(0x30d)]},{'ref':_0x2e2c1b,'className':_0x4e792f,..._0xeb6d98},_0x8289f4);}function _0x9b3a22(_0xf07b68,_0x36a561,_0x4d167e,_0x4e45b3,_0x4164ae){const _0xcbf001=_0x3f19b7;return _0x101780[_0xcbf001(0x26c)](_0xf07b68['tag'],{'key':_0x36a561,..._0x354472(_0xf07b68,_0x4d167e,_0x4164ae),..._0x4e45b3},(_0x4416ba(_0xf07b68,_0x4d167e)[_0xcbf001(0x2b0)]||[])[_0xcbf001(0x335)]((_0x199d17,_0x49bbeb)=>_0x9b3a22(_0x199d17,_0x36a561+'-'+_0xf07b68[_0xcbf001(0x31c)]+'-'+_0x49bbeb,_0x4d167e,void 0x0,_0x4164ae)));}function _0x354472(_0x2a6b72,_0x56e23f,_0x5b152c){const _0x1c32cf=_0x3f19b7,_0x3fe5bb={..._0x2a6b72[_0x1c32cf(0x1c8)]};_0x5b152c!=null&&_0x5b152c['colorChannel1']&&_0x3fe5bb[_0x1c32cf(0x2ae)]===_0x1c32cf(0x2ac)&&(_0x3fe5bb['fill']=_0x5b152c[_0x1c32cf(0x2ac)]),_0x2a6b72[_0x1c32cf(0x31c)]===_0x1c32cf(0x3c1)&&_0x3fe5bb['id']&&(_0x3fe5bb['id']=_0x3fe5bb['id']+_0x56e23f[_0x1c32cf(0x356)]),Object[_0x1c32cf(0x35a)](_0x3fe5bb)[_0x1c32cf(0x483)](([_0x5d81d1,_0x5641b2])=>{const _0x4313bc=_0x1c32cf;_0x5d81d1===_0x4313bc(0x3c1)&&typeof _0x5641b2==_0x4313bc(0x34c)&&(_0x3fe5bb[_0x5d81d1]=_0x5641b2[_0x4313bc(0x3ae)](/url\(#(.*)\)/,_0x4313bc(0x1f7)+_0x56e23f[_0x4313bc(0x356)]+')'));});const {defIds:_0x791e78}=_0x56e23f;return!_0x791e78||_0x791e78[_0x1c32cf(0x26f)]===0x0||(_0x2a6b72[_0x1c32cf(0x31c)]===_0x1c32cf(0x362)&&_0x3fe5bb[_0x1c32cf(0x38e)]&&(_0x3fe5bb[_0x1c32cf(0x38e)]=_0x3fe5bb[_0x1c32cf(0x38e)]+_0x56e23f[_0x1c32cf(0x356)]),Object[_0x1c32cf(0x35a)](_0x3fe5bb)[_0x1c32cf(0x483)](([_0x309cc2,_0x5d0198])=>{const _0x3a04b0=_0x1c32cf;typeof _0x5d0198=='string'&&(_0x3fe5bb[_0x309cc2]=_0x5d0198[_0x3a04b0(0x3ae)](/url\(#(.*)\)/,_0x3a04b0(0x1f7)+_0x56e23f[_0x3a04b0(0x356)]+')'));})),_0x3fe5bb;}function _0x4416ba(_0x1ccdef,_0x4b31c8){const _0x5433c0=_0x3f19b7;var _0x518cd3;const {defIds:_0x56ccbc}=_0x4b31c8;return!_0x56ccbc||_0x56ccbc[_0x5433c0(0x26f)]===0x0?_0x1ccdef:_0x1ccdef[_0x5433c0(0x31c)]===_0x5433c0(0x28e)&&((_0x518cd3=_0x1ccdef[_0x5433c0(0x2b0)])!=null&&_0x518cd3[_0x5433c0(0x26f)])?{..._0x1ccdef,'children':_0x1ccdef[_0x5433c0(0x2b0)]['map'](_0x365daf=>typeof _0x365daf[_0x5433c0(0x1c8)]['id']==_0x5433c0(0x34c)&&_0x56ccbc&&_0x56ccbc['includes'](_0x365daf['attrs']['id'])?{..._0x365daf,'attrs':{..._0x365daf['attrs'],'id':_0x365daf[_0x5433c0(0x1c8)]['id']+_0x4b31c8['idSuffix']}}:_0x365daf)}:_0x1ccdef;}function _0x47029a(){const _0x3ff34b=_0x3f19b7;return Math[_0x3ff34b(0x1d7)]()['toString'](0x24)['substring'](0x2,0x8);}_0x5f4298[_0x3f19b7(0x429)]=_0x3f19b7(0x351);const _0x516ea6={'tag':_0x3f19b7(0x2a3),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3f19b7(0x246),'viewBox':'0\x200\x2016\x2016','width':_0x3f19b7(0x27f),'height':_0x3f19b7(0x27f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f19b7(0x3e2)},'children':[{'tag':_0x3f19b7(0x2e3),'attrs':{'stroke':_0x3f19b7(0x2a2),'d':_0x3f19b7(0x1f5),'strokeLinecap':_0x3f19b7(0x36b),'strokeLinejoin':_0x3f19b7(0x36b),'strokeWidth':1.2}}]},{'tag':_0x3f19b7(0x28e),'attrs':{},'children':[{'tag':_0x3f19b7(0x32d),'attrs':{'id':_0x3f19b7(0x42f)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x3f19b7(0x31b)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x41a3e2=_0x101780[_0x3f19b7(0x1b2)](function(_0x5dbe10,_0x5513ac){const _0x3420d9=_0x3f19b7;return _0x101780[_0x3420d9(0x26c)](_0x5f4298,Object[_0x3420d9(0x1dd)]({},_0x5dbe10,{'id':_0x3420d9(0x394),'ref':_0x5513ac,'icon':_0x516ea6}));});_0x41a3e2[_0x3f19b7(0x429)]='OffLineIcon';const _0x133278={'tag':'svg','attrs':{'xmlns':_0x3f19b7(0x397),'fill':_0x3f19b7(0x246),'viewBox':_0x3f19b7(0x371),'width':'1em','height':_0x3f19b7(0x27f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f19b7(0x401)},'children':[{'tag':_0x3f19b7(0x2e3),'attrs':{'stroke':_0x3f19b7(0x2a2),'d':_0x3f19b7(0x43d),'strokeLinecap':_0x3f19b7(0x36b),'strokeLinejoin':_0x3f19b7(0x36b),'strokeWidth':1.2}}]},{'tag':_0x3f19b7(0x28e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f19b7(0x353)},'children':[{'tag':_0x3f19b7(0x2e3),'attrs':{'fill':_0x3f19b7(0x326),'d':_0x3f19b7(0x31b),'transform':_0x3f19b7(0x1a4)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4ee9d0=_0x101780[_0x3f19b7(0x1b2)](function(_0x195d20,_0x501c33){const _0x27a7d6=_0x3f19b7;return _0x101780['createElement'](_0x5f4298,Object[_0x27a7d6(0x1dd)]({},_0x195d20,{'id':_0x27a7d6(0x2e1),'ref':_0x501c33,'icon':_0x133278}));});_0x4ee9d0['displayName']=_0x3f19b7(0x455);function _0x405b99(_0x471ffc){const _0x56dc36=_0x3f19b7;switch(_0x471ffc){case _0x1c1b1d['CollaborationStatus']['OFFLINE']:return _0x56dc36(0x28d);case _0x1c1b1d[_0x56dc36(0x343)][_0x56dc36(0x29f)]:return _0x56dc36(0x2c2);case _0x1c1b1d[_0x56dc36(0x343)][_0x56dc36(0x389)]:return _0x56dc36(0x275);case _0x1c1b1d[_0x56dc36(0x343)][_0x56dc36(0x43e)]:return _0x56dc36(0x3ec);case _0x1c1b1d[_0x56dc36(0x343)]['AWAITING']:case _0x1c1b1d[_0x56dc36(0x343)][_0x56dc36(0x368)]:return _0x56dc36(0x285);case _0x1c1b1d[_0x56dc36(0x343)][_0x56dc36(0x3d6)]:case _0x1c1b1d[_0x56dc36(0x343)]['PENDING']:return _0x56dc36(0x317);}}function _0x3a367b(_0x2a53f5){const _0x15648a=_0x3f19b7,{status$:_0x13798a}=_0x2a53f5,_0x3b2438=_0x186348[_0x15648a(0x21c)](_0x13798a,_0x1c1b1d[_0x15648a(0x343)][_0x15648a(0x43e)]),_0x549f4c=_0x186348[_0x15648a(0x24a)](_0x389abc[_0x15648a(0x33d)]),_0x5dbe62=_0x186348[_0x15648a(0x24a)](_0x1c1b1d[_0x15648a(0x3eb)]),_0x1644a2=_0x3b2438!==_0x1c1b1d[_0x15648a(0x343)][_0x15648a(0x391)],_0x22e15f=_0x549f4c['t'](_0x405b99(_0x3b2438)),_0x328015=_0x1644a2?_0xe055ee[_0x15648a(0x264)](_0x4ee9d0,{}):_0xe055ee[_0x15648a(0x264)](_0x41a3e2,{}),_0x3c26f0=_0x101780[_0x15648a(0x331)](()=>{const _0x2b8f85=_0x15648a;_0x1644a2||_0x5dbe62[_0x2b8f85(0x452)]();},[_0x1644a2,_0x5dbe62]);function _0x2fd872(){const _0x3d2f74=_0x15648a;return _0xe055ee[_0x3d2f74(0x2ab)](_0x3d2f74(0x454),{'className':_0x3d2f74(0x34e),'onClick':_0x3c26f0,'children':[_0xe055ee[_0x3d2f74(0x264)](_0x3d2f74(0x454),{'className':_0x235f53[_0x3d2f74(0x240)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1644a2,'univer-text-red-500':!_0x1644a2}),'children':_0x328015}),_0xe055ee['jsx'](_0x3d2f74(0x454),{'className':_0x3d2f74(0x445),'children':_0x22e15f})]});}return _0x1644a2?_0x2fd872():_0xe055ee[_0x15648a(0x264)](_0x235f53[_0x15648a(0x32e)],{'title':_0x549f4c['t'](_0x15648a(0x451)),'children':_0x2fd872()});}var _0x2e79ca=Object[_0x3f19b7(0x3d5)],_0x4e7773=(_0x6bb56b,_0x136f24,_0xf101b7,_0x58763f)=>{const _0x2e6331=_0x3f19b7;for(var _0x308f0e=_0x58763f>0x1?void 0x0:_0x58763f?_0x2e79ca(_0x136f24,_0xf101b7):_0x136f24,_0x439d1b=_0x6bb56b[_0x2e6331(0x26f)]-0x1,_0x447f99;_0x439d1b>=0x0;_0x439d1b--)(_0x447f99=_0x6bb56b[_0x439d1b])&&(_0x308f0e=_0x447f99(_0x308f0e)||_0x308f0e);return _0x308f0e;},_0x1e9acc=(_0x32a9e8,_0x4b1d5)=>(_0x295b2f,_0x5d94ff)=>_0x4b1d5(_0x295b2f,_0x5d94ff,_0x32a9e8);_0x152022['DesktopCollaborationStatusDisplayController']=class extends _0x389abc[_0x3f19b7(0x3bb)]{constructor(_0x29d22d,_0x3a8ad8,_0x1544e1,_0x1410fa){const _0x35659d=_0x3f19b7;super(),_0x2a801e(this,_0x35659d(0x1a6),new _0x5295a5[(_0x35659d(0x238))](_0x1c1b1d['CollaborationStatus']['NOT_COLLAB'])),(this[_0x35659d(0x3fc)]=_0x29d22d,this[_0x35659d(0x485)]=_0x3a8ad8,this[_0x35659d(0x40d)]=_0x1544e1,this[_0x35659d(0x41f)]=_0x1410fa,this[_0x35659d(0x306)](),this['_initStatusListener']());}[_0x3f19b7(0x2a6)](){const _0x3c1585=_0x3f19b7;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x3c1585(0x2ec)](_0x5295a5[_0x3c1585(0x308)](()=>{const _0x4eb66b=_0x3c1585,_0x1adec6=this[_0x4eb66b(0x3fc)][_0x4eb66b(0x316)]();return _0x1adec6?this[_0x4eb66b(0x40d)][_0x4eb66b(0x30b)](_0x1adec6[_0x4eb66b(0x44a)]()):_0x5295a5['of'](null);}),_0x5295a5[_0x3c1585(0x308)](_0x363c45=>_0x363c45?_0x363c45['status$']:_0x5295a5['of'](_0x1c1b1d['CollaborationStatus'][_0x3c1585(0x43e)])))[_0x3c1585(0x2fa)](_0x22bda0=>{const _0x5edd1c=_0x3c1585;this['_status$'][_0x5edd1c(0x2e6)](_0x22bda0);}));}[_0x3f19b7(0x306)](){const _0x738032=_0x3f19b7;this['disposeWithMe'](this[_0x738032(0x41f)]['registerComponent'](_0x186348[_0x738032(0x1fe)]['HEADER_MENU'],()=>_0x186348[_0x738032(0x1f6)](_0x4e778a({'status$':this[_0x738032(0x1a6)][_0x738032(0x3f5)]()}),this['_injector'])));}},_0x152022['DesktopCollaborationStatusDisplayController']=_0x4e7773([_0x1e9acc(0x0,_0x389abc[_0x3f19b7(0x419)]),_0x1e9acc(0x1,_0x389abc[_0x3f19b7(0x33f)](_0x389abc[_0x3f19b7(0x30c)])),_0x1e9acc(0x2,_0x389abc[_0x3f19b7(0x33f)](_0x1c1b1d['CollaborationController'])),_0x1e9acc(0x3,_0x186348[_0x3f19b7(0x365)])],_0x152022[_0x3f19b7(0x253)]);function _0x4e778a(_0x1effee){const {status$:_0x52f2d0}=_0x1effee;return function(){const _0xa70dad=_0x3fe4;return _0xe055ee[_0xa70dad(0x264)](_0x3a367b,{'status$':_0x52f2d0});};}const _0x3c50f4=_0x389abc[_0x3f19b7(0x3a4)](_0x3f19b7(0x291));var _0x1e1acd=Object['getOwnPropertyDescriptor'],_0x20fe2d=(_0x3cddeb,_0x19afd0,_0x6675b1,_0x53ac96)=>{for(var _0x5c3d47=_0x53ac96>0x1?void 0x0:_0x53ac96?_0x1e1acd(_0x19afd0,_0x6675b1):_0x19afd0,_0x4a2d5e=_0x3cddeb['length']-0x1,_0x2b9698;_0x4a2d5e>=0x0;_0x4a2d5e--)(_0x2b9698=_0x3cddeb[_0x4a2d5e])&&(_0x5c3d47=_0x2b9698(_0x5c3d47)||_0x5c3d47);return _0x5c3d47;},_0x10bc99=(_0xc787a1,_0x4007a3)=>(_0xb42f8e,_0x20e5aa)=>_0x4007a3(_0xb42f8e,_0x20e5aa,_0xc787a1);_0x152022[_0x3f19b7(0x2c0)]=class extends _0x389abc[_0x3f19b7(0x265)]{constructor(_0x5ba5c6,_0x387af4,_0x3e7740,_0x28bd20,_0x100c82){const _0x2ffbfe=_0x3f19b7;super(),this[_0x2ffbfe(0x2d1)]=_0x5ba5c6,this[_0x2ffbfe(0x430)]=_0x387af4,this[_0x2ffbfe(0x2b1)]=_0x3e7740,this['_dataLoaderService']=_0x28bd20,_0x100c82?_0x100c82==null||_0x100c82[_0x2ffbfe(0x478)]()[_0x2ffbfe(0x41e)](()=>this['_init']()):(this[_0x2ffbfe(0x430)][_0x2ffbfe(0x284)](_0x2ffbfe(0x2bb),_0x2ffbfe(0x24b)),this[_0x2ffbfe(0x382)]());}async['_init'](){const _0x5a0c2e=_0x3f19b7,_0x5687ac=this[_0x5a0c2e(0x2d1)][_0x5a0c2e(0x44f)](_0x5a0c2e(0x48f)),_0x1775e7=this[_0x5a0c2e(0x2d1)][_0x5a0c2e(0x44f)](_0x5a0c2e(0x233)),_0x1a5b35=this[_0x5a0c2e(0x2d1)][_0x5a0c2e(0x44f)](_0x5a0c2e(0x3e0));if(!_0x5687ac||!_0x1775e7){this['_logService'][_0x5a0c2e(0x284)]('[CollaborationDataLoaderController]',_0x5a0c2e(0x225));return;}const _0x5e5924=await this['_dataLoaderService']['loadUnit'](_0x5687ac,Number(_0x1775e7),_0x1a5b35);_0x5e5924&&_0x5e5924 instanceof _0x389abc[_0x5a0c2e(0x404)]&&this['_setupSubUnitSync'](_0x5e5924);}async[_0x3f19b7(0x21f)](_0x2d1b66){const _0x580057=_0x3f19b7;await this['_updateSubUnitFromURLParams'](_0x2d1b66),_0x2d1b66[_0x580057(0x26b)][_0x580057(0x2ec)](_0x5295a5[_0x580057(0x1ba)](this['dispose$']))[_0x580057(0x2fa)](_0x163cc7=>{const _0x12cc25=_0x580057;_0x163cc7&&this[_0x12cc25(0x3fb)](_0x163cc7);}),this[_0x580057(0x2d1)][_0x580057(0x24c)][_0x580057(0x2ec)](_0x5295a5[_0x580057(0x1ba)](this['dispose$']))[_0x580057(0x2fa)](()=>this[_0x580057(0x449)](_0x2d1b66));}[_0x3f19b7(0x3fb)](_0x16ec2e,_0x3714af=!0x1){const _0x20c637=_0x3f19b7,_0x2f8f9c=this[_0x20c637(0x2d1)]['getParam']('subunit');_0x16ec2e[_0x20c637(0x3b0)]()!==_0x2f8f9c&&this[_0x20c637(0x2d1)][_0x20c637(0x242)](_0x20c637(0x3e0),_0x16ec2e['getSheetId'](),_0x3714af);}async[_0x3f19b7(0x449)](_0x5db09e){const _0x2163db=_0x3f19b7;var _0x597d8d;const _0x2e1e53=this[_0x2163db(0x2d1)][_0x2163db(0x44f)](_0x2163db(0x3e0));if(!_0x2e1e53||!_0x5db09e[_0x2163db(0x2e9)](_0x2e1e53)){const _0x3c949c=_0x5db09e[_0x2163db(0x1ef)]()[0x0],_0x157ec0=_0x5db09e[_0x2163db(0x2e9)](_0x3c949c);if(!_0x157ec0)return;this[_0x2163db(0x3fb)](_0x157ec0,!0x0),await this['_commandService'][_0x2163db(0x25e)](_0x53841e['SetWorksheetActivateCommand']['id'],{'unitId':_0x5db09e[_0x2163db(0x44a)](),'subUnitId':_0x3c949c});return;}((_0x597d8d=_0x5db09e[_0x2163db(0x1c1)]())==null?void 0x0:_0x597d8d[_0x2163db(0x3b0)]())!==_0x2e1e53&&await this[_0x2163db(0x2b1)][_0x2163db(0x25e)](_0x53841e[_0x2163db(0x1ea)]['id'],{'unitId':_0x5db09e[_0x2163db(0x44a)](),'subUnitId':_0x2e1e53});}},_0x152022[_0x3f19b7(0x2c0)]=_0x20fe2d([_0x10bc99(0x0,_0x3c50f4),_0x10bc99(0x1,_0x389abc[_0x3f19b7(0x2ff)]),_0x10bc99(0x2,_0x389abc[_0x3f19b7(0x1be)]),_0x10bc99(0x3,_0x389abc[_0x3f19b7(0x33f)](_0x1c1b1d[_0x3f19b7(0x214)])),_0x10bc99(0x4,_0x389abc[_0x3f19b7(0x2f2)](_0x4ec2ad[_0x3f19b7(0x423)]))],_0x152022[_0x3f19b7(0x2c0)]);var _0x5624df=Object[_0x3f19b7(0x3d5)],_0x44de07=(_0x55ceb5,_0x5b9191,_0x3551fe,_0x2bac31)=>{const _0xce7f1f=_0x3f19b7;for(var _0x21ec90=_0x2bac31>0x1?void 0x0:_0x2bac31?_0x5624df(_0x5b9191,_0x3551fe):_0x5b9191,_0x5e48ce=_0x55ceb5[_0xce7f1f(0x26f)]-0x1,_0x5ec8fb;_0x5e48ce>=0x0;_0x5e48ce--)(_0x5ec8fb=_0x55ceb5[_0x5e48ce])&&(_0x21ec90=_0x5ec8fb(_0x21ec90)||_0x21ec90);return _0x21ec90;},_0x3485e2=(_0x40ff4a,_0x5159b4)=>(_0x5431a4,_0x3df1a0)=>_0x5159b4(_0x5431a4,_0x3df1a0,_0x40ff4a);let _0x59b893=class extends _0x389abc['RxDisposable']{constructor(_0x171d7a,_0x3c364c){const _0x5c5641=_0x3f19b7;super(),this[_0x5c5641(0x2d5)]=_0x171d7a,this[_0x5c5641(0x2a4)]=_0x3c364c,this[_0x5c5641(0x382)]();}[_0x3f19b7(0x382)](){const _0x4dbaa9=_0x3f19b7,_0x4d1328=this;this[_0x4dbaa9(0x224)](this['_docClipboardService'][_0x4dbaa9(0x42d)]({'onBeforePasteImage':async _0x1c9732=>{const _0x781769=_0x4dbaa9,_0x260b6f=await _0x4d1328[_0x781769(0x2a4)][_0x781769(0x1e9)](_0x1c9732);return _0x260b6f?{'source':_0x260b6f['source'],'imageSourceType':_0x260b6f[_0x781769(0x1ac)]}:null;}}));}};_0x59b893=_0x44de07([_0x3485e2(0x0,_0x15f040['IDocClipboardService']),_0x3485e2(0x1,_0x218e7a['IImageIoService'])],_0x59b893);const _0x397fb0=[_0x3f19b7(0x42b),_0x3f19b7(0x2ad),_0x3f19b7(0x2e0),_0x3f19b7(0x207),_0x3f19b7(0x3a1),_0x3f19b7(0x222)];class _0x5d2d05 extends _0x389abc['Disposable']{constructor(){const _0x44ecff=_0x3f19b7;super(...arguments),_0x2a801e(this,'_assignedColors',new Map()),_0x2a801e(this,_0x44ecff(0x475),0x0);}[_0x3f19b7(0x416)](_0xae2f48){const _0x55ea23=_0x3f19b7;if(this[_0x55ea23(0x3b7)][_0x55ea23(0x281)](_0xae2f48))return this[_0x55ea23(0x3b7)][_0x55ea23(0x2c1)](_0xae2f48);const _0x6ac73b=_0x397fb0[this[_0x55ea23(0x475)]];return this[_0x55ea23(0x475)]=(this[_0x55ea23(0x475)]+0x1)%_0x397fb0[_0x55ea23(0x26f)],this['_assignedColors'][_0x55ea23(0x270)](_0xae2f48,_0x6ac73b),_0x6ac73b;}}function _0x9b14f3(_0x5a29cb){const _0xaed151=_0x3f19b7;let _0x335a24='';for(const _0x45acb4 of _0x5a29cb){const {startOffset:_0x1e8bee,endOffset:_0x365832,isActive:_0x24755e,rangeType:_0x56b012,segmentId:_0x4eae6b,segmentPage:_0x43c8d8}=_0x45acb4;_0x335a24[_0xaed151(0x26f)]&&(_0x335a24+=','),_0x335a24+=_0x1e8bee+':'+_0x365832+':'+(_0x24755e?'1':'0')+':'+_0x56b012+':'+_0x4eae6b+':'+_0x43c8d8;}return _0x335a24;}function _0x2b3df9(_0x57ef1f){const _0x177b91=_0x3f19b7,_0x4227b0=_0x57ef1f['split'](','),_0x14920f=[];for(const _0x2bb2c2 of _0x4227b0){const [_0x3d10c9,_0x247358,_0x12a933,_0x533a40,_0x158d6b,_0x5e7cca]=_0x2bb2c2['split'](':');_0x14920f[_0x177b91(0x375)]({'startOffset':Number(_0x3d10c9),'endOffset':Number(_0x247358),'collapsed':_0x3d10c9===_0x247358,'isActive':_0x12a933==='1','rangeType':_0x533a40===_0x389abc['DOC_RANGE_TYPE'][_0x177b91(0x1a5)]?_0x389abc[_0x177b91(0x36e)][_0x177b91(0x1a5)]:_0x389abc['DOC_RANGE_TYPE'][_0x177b91(0x3aa)],'segmentId':typeof _0x158d6b=='string'?String(_0x158d6b):'','segmentPage':Number(_0x5e7cca!=null?_0x5e7cca:-0x1)});}return _0x14920f[_0x177b91(0x345)](_0x1e88f1=>_0x1e88f1[_0x177b91(0x25f)])||(_0x14920f[0x0][_0x177b91(0x25f)]=!0x0),_0x14920f;}class _0x93eee5 extends _0x389abc[_0x3f19b7(0x265)]{constructor(){const _0x38d902=_0x3f19b7;super(...arguments),_0x2a801e(this,_0x38d902(0x3ef),new _0x5295a5[(_0x38d902(0x238))](null)),_0x2a801e(this,_0x38d902(0x334),this[_0x38d902(0x3ef)]['asObservable']());}[_0x3f19b7(0x277)](_0x192791){const _0x501efd=_0x3f19b7,{unitID:_0x2b4afa,memberID:_0x1dc762,textRanges:_0x4d0b2d}=_0x192791,_0x5f2442=_0x9b14f3(_0x4d0b2d);if(_0x5f2442==='')return;const _0x11a141={'unitID':_0x2b4afa,'memberID':_0x1dc762,'selection':_0x5f2442};this[_0x501efd(0x3ef)][_0x501efd(0x2e6)](_0x11a141);}}var _0x3bf9b6=Object['getOwnPropertyDescriptor'],_0x3a5dd5=(_0x43a46c,_0x5e6020,_0x815733,_0xa9dec)=>{const _0x1f7105=_0x3f19b7;for(var _0x166d4c=_0xa9dec>0x1?void 0x0:_0xa9dec?_0x3bf9b6(_0x5e6020,_0x815733):_0x5e6020,_0x44db05=_0x43a46c[_0x1f7105(0x26f)]-0x1,_0x43813b;_0x44db05>=0x0;_0x44db05--)(_0x43813b=_0x43a46c[_0x44db05])&&(_0x166d4c=_0x43813b(_0x166d4c)||_0x166d4c);return _0x166d4c;},_0x35740b=(_0xb2100a,_0x3546b9)=>(_0x3e0d73,_0x5b6b40)=>_0x3546b9(_0x3e0d73,_0x5b6b40,_0xb2100a);const _0x3b11e7=0x12c,_0x2a7979=0x64;let _0x3075cb=class extends _0x389abc['RxDisposable']{constructor(_0x1dab7c,_0x5505e8,_0x3948e4,_0x47a442,_0xbb745f,_0x3fefd2,_0x2c5a69,_0x367c1a,_0x5cfc17){const _0x1b4f48=_0x3f19b7;super(),_0x2a801e(this,_0x1b4f48(0x34d),!0x1),_0x2a801e(this,_0x1b4f48(0x382),!0x1),_0x2a801e(this,'_cursorInfo$',new _0x5295a5[(_0x1b4f48(0x238))](new Map())),_0x2a801e(this,_0x1b4f48(0x45b),this[_0x1b4f48(0x36c)]['asObservable']()),_0x2a801e(this,'_roomMembers$',new _0x5295a5[(_0x1b4f48(0x238))]([])),_0x2a801e(this,'roomMembers$',this[_0x1b4f48(0x32b)]['pipe'](_0x5295a5[_0x1b4f48(0x3f2)](_0x3b11e7))),_0x2a801e(this,_0x1b4f48(0x1b1),_0x389abc['debounce'](_0x37de03=>{const _0x2b1ad7=_0x1b4f48,_0x37781b={'eventID':_0x1ed99c[_0x2b1ad7(0x20c)][_0x2b1ad7(0x21a)],'data':{'unitID':this['unitID'],'memberID':this[_0x2b1ad7(0x1da)][_0x2b1ad7(0x325)](),'selection':_0x9b14f3(_0x37de03)}};this['_session']['send'](_0x37781b,this[_0x2b1ad7(0x241)]);},_0x2a7979)),(this[_0x1b4f48(0x241)]=_0x1dab7c,this[_0x1b4f48(0x1da)]=_0x5505e8,this[_0x1b4f48(0x485)]=_0x3948e4,this[_0x1b4f48(0x434)]=_0x47a442,this['_memberService']=_0xbb745f,this[_0x1b4f48(0x476)]=_0x3fefd2,this[_0x1b4f48(0x43f)]=_0x2c5a69,this[_0x1b4f48(0x3fc)]=_0x367c1a,this[_0x1b4f48(0x2b1)]=_0x5cfc17);}get[_0x3f19b7(0x313)](){const _0x3db93b=_0x3f19b7;return this[_0x3db93b(0x36c)][_0x3db93b(0x396)]();}get[_0x3f19b7(0x27e)](){const _0x611011=_0x3f19b7;return this[_0x611011(0x32b)][_0x611011(0x396)]();}[_0x3f19b7(0x211)](){const _0x31907f=_0x3f19b7;super[_0x31907f(0x211)](),this['_cursorInfo$'][_0x31907f(0x2e6)](new Map()),this[_0x31907f(0x36c)][_0x31907f(0x47d)](),this[_0x31907f(0x32b)][_0x31907f(0x2e6)]([]),this['_roomMembers$'][_0x31907f(0x47d)]();}['init'](){const _0x557e60=_0x3f19b7;this[_0x557e60(0x382)]||(this[_0x557e60(0x382)]=!0x0,this[_0x557e60(0x1da)][_0x557e60(0x42e)][_0x557e60(0x2ec)](_0x5295a5[_0x557e60(0x1ba)](this[_0x557e60(0x2b2)]))[_0x557e60(0x2fa)](_0x5b1d4e=>{const _0x16c598=_0x557e60;_0x5b1d4e===_0x1c1b1d[_0x16c598(0x47e)][_0x16c598(0x441)]?this[_0x16c598(0x22c)]():this[_0x16c598(0x2a8)]();}),this['_session'][_0x557e60(0x2d3)][_0x557e60(0x2ec)](_0x5295a5[_0x557e60(0x1ba)](this['dispose$']))[_0x557e60(0x2fa)](_0x57776a=>{const _0x18c466=_0x557e60,_0x1f73bc=_0x57776a[_0x18c466(0x2ba)];_0x1f73bc===_0x1ed99c[_0x18c466(0x20c)][_0x18c466(0x21a)]&&this[_0x18c466(0x3bd)](_0x57776a),_0x1f73bc===_0x1ed99c[_0x18c466(0x20c)][_0x18c466(0x1b7)]&&this[_0x18c466(0x304)](_0x57776a);}),this['disposeWithMe'](this['_commandService'][_0x557e60(0x3d1)](_0x149c3a=>{const _0x4491b4=_0x557e60,_0x5d668c=_0x149c3a[_0x4491b4(0x297)];_0x5d668c!=null&&this['_online']&&_0x149c3a['id']===_0x2fab95[_0x4491b4(0x1f8)]['id']&&_0x5d668c[_0x4491b4(0x437)]===this[_0x4491b4(0x241)]&&_0x5d668c['isEditing']===!0x1&&_0x5d668c[_0x4491b4(0x21b)]['length']>0x0&&this[_0x4491b4(0x1b1)](_0x5d668c[_0x4491b4(0x21b)]);})),this[_0x557e60(0x476)][_0x557e60(0x334)][_0x557e60(0x2ec)](_0x5295a5[_0x557e60(0x1ba)](this[_0x557e60(0x2b2)]))[_0x557e60(0x2fa)](_0x5c91fd=>{const _0x3b70ca=_0x557e60;if((_0x5c91fd==null?void 0x0:_0x5c91fd[_0x3b70ca(0x241)])!==this[_0x3b70ca(0x241)])return;const _0x4e0f22={'eventID':_0x1ed99c[_0x3b70ca(0x20c)]['UPDATE_CURSOR'],'data':_0x5c91fd};this['_onCursorUpdate'](_0x4e0f22);}),this[_0x557e60(0x224)](this[_0x557e60(0x2b1)]['onCommandExecuted'](_0x54ede5=>{const _0x37c8f0=_0x557e60;if(_0x54ede5[_0x37c8f0(0x297)]==null)return;const _0x1d66af=_0x54ede5['params'];if(_0x54ede5['id']!==_0x2fab95['RichTextEditingMutation']['id']||_0x1d66af[_0x37c8f0(0x437)]!==this[_0x37c8f0(0x241)])return;const _0x40c8bb={'id':_0x37c8f0(0x2c8),'params':_0x1d66af},_0x48a35f=this[_0x37c8f0(0x313)];for(const [_0x510f0f,_0x31e810]of _0x48a35f){const _0x41828f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x37c8f0(0x241)],'actions':null,'textRanges':_0x31e810[_0x37c8f0(0x21b)]}},_0x5d086c=this[_0x37c8f0(0x43f)][_0x37c8f0(0x3c8)](_0x40c8bb,_0x41828f,!0x1);if(_0x1ed99c[_0x37c8f0(0x3f6)](_0x5d086c))throw _0x5d086c[_0x37c8f0(0x3ad)];_0x48a35f[_0x37c8f0(0x270)](_0x510f0f,{..._0x31e810,'ranges':_0x5d086c[_0x37c8f0(0x2e7)]['params']['textRanges']});}queueMicrotask(()=>{const _0x442f65=_0x37c8f0;this['_cursorInfo$'][_0x442f65(0x2e6)](_0x48a35f);});})));}['_onCursorUpdate'](_0x4fe6d9){const _0x4c9fb2=_0x3f19b7;var _0x3cb8ee,_0x1572a7;const {memberID:_0x58fbbb,selection:_0x44088e}=_0x4fe6d9['data'],_0x10c737=_0x2b3df9(_0x44088e),_0xe59479=(_0x1572a7=(_0x3cb8ee=this[_0x4c9fb2(0x348)]['getMember'](this[_0x4c9fb2(0x241)],_0x58fbbb))==null?void 0x0:_0x3cb8ee[_0x4c9fb2(0x23c)])!=null?_0x1572a7:_0x4c9fb2(0x1b8),_0x494816={'color':this[_0x4c9fb2(0x434)][_0x4c9fb2(0x416)](_0x58fbbb),'name':_0xe59479,'ranges':_0x10c737},_0xd86d21=this[_0x4c9fb2(0x313)];_0xd86d21[_0x4c9fb2(0x270)](_0x58fbbb,_0x494816),this[_0x4c9fb2(0x36c)][_0x4c9fb2(0x2e6)](_0xd86d21);}[_0x3f19b7(0x304)](_0x1fa2aa){const _0xdbf14a=_0x3f19b7,{memberID:_0x299c3a}=_0x1fa2aa[_0xdbf14a(0x450)],_0xa8a07b=this['cursorInfo'];_0xa8a07b[_0xdbf14a(0x41b)](_0x299c3a),this[_0xdbf14a(0x36c)]['next'](_0xa8a07b);}[_0x3f19b7(0x22c)](){const _0x122040=_0x3f19b7;var _0x32f371;if(this['_online']=!0x0,((_0x32f371=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x32f371[_0x122040(0x44a)]())!==this[_0x122040(0x241)])return;const _0x3025ee=this[_0x122040(0x485)]['get'](_0x2fab95[_0x122040(0x28c)])['getDocRanges']();Array[_0x122040(0x2a9)](_0x3025ee)&&_0x3025ee[_0x122040(0x26f)]>0x0&&this[_0x122040(0x1b1)](_0x3025ee);}['_toggleOffline'](){const _0x1b199f=_0x3f19b7;this[_0x1b199f(0x34d)]=!0x1;}};_0x3075cb=_0x3a5dd5([_0x35740b(0x2,_0x389abc['Inject'](_0x389abc[_0x3f19b7(0x30c)])),_0x35740b(0x3,_0x389abc['Inject'](_0x5d2d05)),_0x35740b(0x4,_0x389abc['Inject'](_0x1c1b1d[_0x3f19b7(0x26e)])),_0x35740b(0x5,_0x389abc[_0x3f19b7(0x33f)](_0x93eee5)),_0x35740b(0x6,_0x1ed99c['ITransformService']),_0x35740b(0x7,_0x389abc['IUniverInstanceService']),_0x35740b(0x8,_0x389abc[_0x3f19b7(0x1be)])],_0x3075cb);var _0x10e206=Object[_0x3f19b7(0x3d5)],_0xf8e2dc=(_0x52a2a4,_0x24d569,_0x58690e,_0x20fa9b)=>{for(var _0xbdfdf8=_0x20fa9b>0x1?void 0x0:_0x20fa9b?_0x10e206(_0x24d569,_0x58690e):_0x24d569,_0x422e62=_0x52a2a4['length']-0x1,_0x58106b;_0x422e62>=0x0;_0x422e62--)(_0x58106b=_0x52a2a4[_0x422e62])&&(_0xbdfdf8=_0x58106b(_0xbdfdf8)||_0xbdfdf8);return _0xbdfdf8;},_0x3617e4=(_0x5f5395,_0x17ef37)=>(_0x5a1900,_0x30ad68)=>_0x17ef37(_0x5a1900,_0x30ad68,_0x5f5395);const _0x887ae3=0x12c,_0x144e77=0x64,_0x3abb77=()=>{let _0xbbda85=[],_0x2149f0=!0x1;return _0x32afd5=>{const _0x23ae35=_0x3fe4;_0xbbda85[_0x23ae35(0x375)](_0x32afd5),_0x2149f0||(_0x2149f0=!0x0,setTimeout(()=>{const _0x48d518=_0x23ae35;_0xbbda85[_0x48d518(0x483)](_0x4c16e9=>_0x4c16e9()),_0xbbda85=[],_0x2149f0=!0x1;}));};};let _0x55ce9c=class extends _0x389abc[_0x3f19b7(0x265)]{constructor(_0xceb489,_0x36daa5,_0x537bc3,_0x2ed430,_0x506731,_0x3fb964,_0x519c88,_0x5cd45a){const _0x5235db=_0x3f19b7;super(),_0x2a801e(this,_0x5235db(0x34d),!0x1),_0x2a801e(this,'_init',!0x1),_0x2a801e(this,'_cursorInfo$',new _0x5295a5[(_0x5235db(0x238))](new Map())),_0x2a801e(this,'cursorInfo$',this['_cursorInfo$'][_0x5235db(0x3f5)]()),_0x2a801e(this,'_roomMembers$',new _0x5295a5[(_0x5235db(0x238))]([])),_0x2a801e(this,'roomMembers$',this[_0x5235db(0x32b)][_0x5235db(0x2ec)](_0x5295a5[_0x5235db(0x3f2)](_0x887ae3))),_0x2a801e(this,_0x5235db(0x1b1),_0x389abc[_0x5235db(0x38a)]((_0x310bb0,_0x599944)=>{const _0x25e9db=_0x5235db,_0x37ce23={'eventID':_0x1ed99c['CollaborationEvent'][_0x25e9db(0x21a)],'data':{'unitID':this[_0x25e9db(0x241)],'memberID':this[_0x25e9db(0x1da)][_0x25e9db(0x325)](),'selection':_0x2054e2['serializeRangeWithSheet'](_0x310bb0,_0x599944[_0x25e9db(0x3fa)])}};this[_0x25e9db(0x1da)][_0x25e9db(0x2ed)](_0x37ce23,this[_0x25e9db(0x241)]);},_0x144e77)),(this['unitID']=_0xceb489,this[_0x5235db(0x1da)]=_0x36daa5,this['_injector']=_0x537bc3,this[_0x5235db(0x434)]=_0x2ed430,this['_memberService']=_0x506731,this['_univerInstanceService']=_0x3fb964,this['_commandService']=_0x519c88,this['_refRangeService']=_0x5cd45a);}get[_0x3f19b7(0x313)](){const _0x26bfdf=_0x3f19b7;return this[_0x26bfdf(0x36c)][_0x26bfdf(0x396)]();}get['roomMembers'](){const _0x4ee284=_0x3f19b7;return this[_0x4ee284(0x32b)][_0x4ee284(0x396)]();}[_0x3f19b7(0x211)](){const _0x3b4621=_0x3f19b7;super[_0x3b4621(0x211)](),this[_0x3b4621(0x36c)][_0x3b4621(0x2e6)](new Map()),this[_0x3b4621(0x36c)]['complete'](),this['_roomMembers$'][_0x3b4621(0x2e6)]([]),this['_roomMembers$'][_0x3b4621(0x47d)]();}[_0x3f19b7(0x293)](){const _0x188454=_0x3f19b7;this[_0x188454(0x382)]||(this[_0x188454(0x382)]=!0x0,this[_0x188454(0x1da)][_0x188454(0x42e)]['pipe'](_0x5295a5[_0x188454(0x1ba)](this[_0x188454(0x2b2)]))[_0x188454(0x2fa)](_0x559d84=>{const _0x54855b=_0x188454;_0x559d84===_0x1c1b1d[_0x54855b(0x47e)][_0x54855b(0x441)]?this[_0x54855b(0x22c)]():this[_0x54855b(0x2a8)]();}),this[_0x188454(0x1da)][_0x188454(0x2d3)][_0x188454(0x2ec)](_0x5295a5[_0x188454(0x1ba)](this[_0x188454(0x2b2)]))[_0x188454(0x2fa)](_0x2d4427=>{const _0x3781bd=_0x188454,_0x53533f=_0x2d4427[_0x3781bd(0x2ba)];_0x53533f===_0x1ed99c['CollaborationEvent'][_0x3781bd(0x21a)]&&this[_0x3781bd(0x3bd)](_0x2d4427),_0x53533f===_0x1ed99c['CollaborationEvent'][_0x3781bd(0x1b7)]&&this[_0x3781bd(0x304)](_0x2d4427);}),this[_0x188454(0x446)](),this['disposeWithMe'](this[_0x188454(0x2b1)][_0x188454(0x3d1)](_0x43aedd=>{const _0x74ed3c=_0x188454;if(this[_0x74ed3c(0x34d)]&&_0x43aedd['id']===_0x53841e[_0x74ed3c(0x2f4)]['id']&&_0x43aedd[_0x74ed3c(0x297)][_0x74ed3c(0x437)]===this[_0x74ed3c(0x241)]){const _0xeb6e7=_0x43aedd[_0x74ed3c(0x297)];this[_0x74ed3c(0x1b1)](_0xeb6e7['subUnitId'],_0xeb6e7[_0x74ed3c(0x1d8)][0x0]);}})));}[_0x3f19b7(0x3bd)](_0x1be253){const _0x3d710f=_0x3f19b7;var _0x1d1b3c,_0x56eab8;const {memberID:_0x36b2ce,selection:_0x1b1252}=_0x1be253[_0x3d710f(0x450)],{sheetName:_0x21227c,range:_0x788173}=_0x2054e2[_0x3d710f(0x41c)](_0x1b1252),_0x53eeb0={'name':(_0x56eab8=(_0x1d1b3c=this['_memberService'][_0x3d710f(0x45f)](this[_0x3d710f(0x241)],_0x36b2ce))==null?void 0x0:_0x1d1b3c[_0x3d710f(0x23c)])!=null?_0x56eab8:_0x3d710f(0x1b8),'range':this[_0x3d710f(0x282)](_0x21227c,_0x788173),'sheetID':_0x21227c,'color':this[_0x3d710f(0x434)]['assignAColorForMemberID'](_0x36b2ce),'selection':_0x1b1252},_0x3e4d23=this[_0x3d710f(0x313)];_0x3e4d23[_0x3d710f(0x270)](_0x36b2ce,_0x53eeb0),this['_cursorInfo$'][_0x3d710f(0x2e6)](_0x3e4d23);}[_0x3f19b7(0x304)](_0x4d634a){const _0x5f54ae=_0x3f19b7,{memberID:_0x642506}=_0x4d634a[_0x5f54ae(0x450)],_0x282169=this['cursorInfo'];_0x282169['delete'](_0x642506),this[_0x5f54ae(0x36c)][_0x5f54ae(0x2e6)](_0x282169);}[_0x3f19b7(0x282)](_0xdd573f,_0x1f8434){const _0x1b6412=_0x3f19b7;var _0x59f5c0,_0x541dee;const _0xf1ab35=(_0x541dee=(_0x59f5c0=this[_0x1b6412(0x3fc)]['getUniverSheetInstance'](this[_0x1b6412(0x241)]))==null?void 0x0:_0x59f5c0[_0x1b6412(0x2e9)](_0xdd573f))==null?void 0x0:_0x541dee[_0x1b6412(0x417)]();return(_0xf1ab35==null?void 0x0:_0xf1ab35[_0x1b6412(0x3c7)](_0x2666e8=>_0x389abc['Rectangle'][_0x1b6412(0x3ff)](_0x2666e8,_0x1f8434)))||_0x1f8434;}[_0x3f19b7(0x446)](){const _0x1ca7d7=_0x3f19b7,_0x30433d=new _0x389abc['DisposableCollection'](),_0x3d3803=_0x3abb77(),_0x53cf31=()=>{const _0x598d18=_0x3fe4;_0x30433d[_0x598d18(0x211)]();const _0x1ef61d=(_0x38862a,_0x30e968,_0x206ee5,_0x4ab5e2)=>{const _0x581405=_0x598d18;let _0x303821=[];switch(_0x38862a['id']){case _0x53841e['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x303821=_0x53841e['handleDeleteRangeMoveLeft'](_0x38862a,_0x4ab5e2);break;}case _0x53841e['EffectRefRangId'][_0x581405(0x276)]:{_0x303821=_0x53841e['handleDeleteRangeMoveUp'](_0x38862a,_0x4ab5e2);break;}case _0x53841e['EffectRefRangId'][_0x581405(0x28b)]:{_0x303821=_0x53841e[_0x581405(0x3d2)](_0x38862a,_0x4ab5e2);break;}case _0x53841e[_0x581405(0x45a)][_0x581405(0x384)]:{_0x303821=_0x53841e[_0x581405(0x328)](_0x38862a,_0x4ab5e2);break;}case _0x53841e['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x303821=_0x53841e[_0x581405(0x1ad)](_0x38862a,_0x4ab5e2);break;}case _0x53841e[_0x581405(0x45a)][_0x581405(0x2de)]:{_0x303821=_0x53841e[_0x581405(0x33b)](_0x38862a,_0x4ab5e2);break;}case _0x53841e[_0x581405(0x45a)][_0x581405(0x488)]:{_0x303821=_0x53841e[_0x581405(0x3e5)](_0x38862a,_0x4ab5e2);break;}case _0x53841e[_0x581405(0x45a)][_0x581405(0x1b5)]:{_0x303821=_0x53841e[_0x581405(0x3a8)](_0x38862a,_0x4ab5e2);break;}case _0x53841e[_0x581405(0x45a)]['RemoveRowCommandId']:{_0x303821=_0x53841e['handleIRemoveRow'](_0x38862a,_0x4ab5e2);break;}}const _0x34aefb=_0x53841e[_0x581405(0x3cd)](_0x303821,_0x4ab5e2),_0x38305e=this[_0x581405(0x313)][_0x581405(0x2c1)](_0x30e968);if(_0x38305e&&_0x34aefb){const _0x59add3={..._0x38305e,'range':_0x34aefb};this[_0x581405(0x313)][_0x581405(0x270)](_0x30e968,_0x59add3),_0x3d3803(()=>{const _0x1b7856=_0x581405,_0x68ba9d=this[_0x1b7856(0x463)]['registerRefRange'](_0x34aefb,_0x5bb9b7=>(_0x68ba9d['dispose'](),_0x1ef61d(_0x5bb9b7,_0x30e968,_0x206ee5,_0x34aefb)));_0x30433d[_0x1b7856(0x1de)](_0x68ba9d);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x598d18(0x483)]((_0x3726c5,_0x420c8a)=>{const _0x29f1b2=_0x598d18,{range:_0x51f929,sheetID:_0x47fb1a}=_0x3726c5,_0x1ce9ec=this['_refRangeService']['registerRefRange'](_0x51f929,_0x56ed2d=>(_0x1ce9ec[_0x29f1b2(0x211)](),_0x1ef61d(_0x56ed2d,_0x420c8a,_0x47fb1a,_0x51f929)));_0x30433d[_0x29f1b2(0x1de)](_0x1ce9ec);});};this['disposeWithMe'](_0x389abc[_0x1ca7d7(0x202)](this[_0x1ca7d7(0x36c)]['subscribe'](()=>{_0x53cf31();})));}['_toggleOnline'](){const _0x456cd6=_0x3f19b7;var _0x538d60,_0x4b250f;if(this['_online']=!0x0,((_0x538d60=this['_univerInstanceService'][_0x456cd6(0x316)]())==null?void 0x0:_0x538d60[_0x456cd6(0x44a)]())!==this[_0x456cd6(0x241)])return;const _0x43d471=(_0x4b250f=this['_injector'][_0x456cd6(0x2c1)](_0x53841e[_0x456cd6(0x1fc)])[_0x456cd6(0x22a)]())==null?void 0x0:_0x4b250f[0x0],_0x30335b=this[_0x456cd6(0x3fc)]['getCurrentUnitForType'](_0x389abc['UniverInstanceType'][_0x456cd6(0x408)])['getActiveSheet']();_0x43d471&&_0x30335b&&this['_updateLocalCursor'](_0x30335b['getSheetId'](),_0x43d471);}[_0x3f19b7(0x2a8)](){const _0x225acd=_0x3f19b7;this[_0x225acd(0x34d)]=!0x1;}};_0x55ce9c=_0xf8e2dc([_0x3617e4(0x2,_0x389abc[_0x3f19b7(0x33f)](_0x389abc['Injector'])),_0x3617e4(0x3,_0x389abc[_0x3f19b7(0x33f)](_0x5d2d05)),_0x3617e4(0x4,_0x389abc['Inject'](_0x1c1b1d[_0x3f19b7(0x26e)])),_0x3617e4(0x5,_0x389abc[_0x3f19b7(0x419)]),_0x3617e4(0x6,_0x389abc[_0x3f19b7(0x1be)]),_0x3617e4(0x7,_0x389abc[_0x3f19b7(0x33f)](_0x53841e[_0x3f19b7(0x2c7)]))],_0x55ce9c);var _0x326476=Object[_0x3f19b7(0x3d5)],_0x5a1f78=(_0x43e659,_0x31e190,_0x253947,_0x13420d)=>{const _0xbec716=_0x3f19b7;for(var _0x6f1ff6=_0x13420d>0x1?void 0x0:_0x13420d?_0x326476(_0x31e190,_0x253947):_0x31e190,_0x1a6219=_0x43e659[_0xbec716(0x26f)]-0x1,_0xb48d39;_0x1a6219>=0x0;_0x1a6219--)(_0xb48d39=_0x43e659[_0x1a6219])&&(_0x6f1ff6=_0xb48d39(_0x6f1ff6)||_0x6f1ff6);return _0x6f1ff6;},_0x5b7e97=(_0x2bff68,_0xac47cd)=>(_0x130293,_0x12f94c)=>_0xac47cd(_0x130293,_0x12f94c,_0x2bff68);let _0x17f348=class extends _0x389abc[_0x3f19b7(0x265)]{constructor(_0x56c576,_0x3906d6,_0x1288d2){const _0x577997=_0x3f19b7;super(),_0x2a801e(this,_0x577997(0x3be),new Map()),_0x2a801e(this,'_entityInit$',new _0x5295a5[(_0x577997(0x25d))]()),(this[_0x577997(0x3fc)]=_0x56c576,this[_0x577997(0x485)]=_0x3906d6,this[_0x577997(0x29e)]=_0x1288d2,this[_0x577997(0x382)]());}[_0x3f19b7(0x211)](){const _0x32ab9e=_0x3f19b7;super[_0x32ab9e(0x211)](),this[_0x32ab9e(0x2d4)][_0x32ab9e(0x47d)](),this['_entities'][_0x32ab9e(0x483)](_0x32b3f5=>_0x32b3f5[_0x32ab9e(0x211)]());}[_0x3f19b7(0x32f)](_0x17498c){const _0x5e5454=_0x3f19b7;return this[_0x5e5454(0x3be)]['has'](_0x17498c)?this[_0x5e5454(0x3be)][_0x5e5454(0x2c1)](_0x17498c)[_0x5e5454(0x45b)]:this['_entityInit$'][_0x5e5454(0x2ec)](_0x5295a5['filter'](_0x3099b2=>_0x3099b2[_0x5e5454(0x241)]===_0x17498c),_0x5295a5[_0x5e5454(0x308)](_0xf0d80d=>_0xf0d80d[_0x5e5454(0x45b)]));}['_init'](){const _0x16c265=_0x3f19b7;this[_0x16c265(0x3fc)]['getTypeOfUnitAdded$'](_0x389abc[_0x16c265(0x3e1)]['UNIVER_SHEET'])[_0x16c265(0x2ec)](_0x5295a5[_0x16c265(0x1ba)](this[_0x16c265(0x2b2)]))['subscribe'](async _0x4a9bc5=>{const _0x7f405=_0x16c265,_0x256950=_0x4a9bc5[_0x7f405(0x44a)](),_0x56a296=await this['_startSheetCollabCursor'](_0x256950);this['_entityInit$'][_0x7f405(0x2e6)](_0x56a296),this[_0x7f405(0x3be)][_0x7f405(0x270)](_0x256950,_0x56a296);}),this['_univerInstanceService'][_0x16c265(0x383)](_0x389abc['UniverInstanceType'][_0x16c265(0x3ed)])[_0x16c265(0x2ec)](_0x5295a5[_0x16c265(0x1ba)](this[_0x16c265(0x2b2)]))[_0x16c265(0x2ec)](_0x5295a5['filter'](_0x46351a=>!_0x46351a['getUnitId']()[_0x16c265(0x307)]('__')))[_0x16c265(0x2fa)](async _0x60b821=>{const _0x1a8e01=_0x16c265,_0x50b56b=_0x60b821['getUnitId'](),_0x413914=await this[_0x1a8e01(0x2d6)](_0x50b56b);this[_0x1a8e01(0x2d4)][_0x1a8e01(0x2e6)](_0x413914),this[_0x1a8e01(0x3be)]['set'](_0x50b56b,_0x413914);}),_0x5295a5[_0x16c265(0x1cd)](this['_univerInstanceService'][_0x16c265(0x321)](_0x389abc[_0x16c265(0x3e1)][_0x16c265(0x3ed)]),this[_0x16c265(0x3fc)][_0x16c265(0x321)](_0x389abc[_0x16c265(0x3e1)][_0x16c265(0x408)]))['pipe'](_0x5295a5[_0x16c265(0x1ba)](this[_0x16c265(0x2b2)]))[_0x16c265(0x2fa)](_0x51f991=>{const _0x1308bb=_0x16c265,_0x1c5d19=_0x51f991['getUnitId'](),_0x2712bf=this[_0x1308bb(0x3be)]['get'](_0x1c5d19);_0x2712bf&&(_0x2712bf[_0x1308bb(0x211)](),this[_0x1308bb(0x3be)][_0x1308bb(0x41b)](_0x1c5d19));});}async['_startSheetCollabCursor'](_0x3891ea){const _0x1b85a3=_0x3f19b7,_0x255842=await this[_0x1b85a3(0x29e)]['requireSession'](_0x3891ea),_0x199c79=this['_injector'][_0x1b85a3(0x38f)](_0x55ce9c,_0x3891ea,_0x255842);return _0x199c79['init'](),_0x199c79;}async[_0x3f19b7(0x2d6)](_0xdbcf20){const _0x277aff=_0x3f19b7,_0x1bbb4b=await this['_collabSessionService']['requireSession'](_0xdbcf20),_0x3de5de=this[_0x277aff(0x485)][_0x277aff(0x38f)](_0x3075cb,_0xdbcf20,_0x1bbb4b);return _0x3de5de['init'](),_0x3de5de;}};_0x17f348=_0x5a1f78([_0x5b7e97(0x0,_0x389abc[_0x3f19b7(0x419)]),_0x5b7e97(0x1,_0x389abc[_0x3f19b7(0x33f)](_0x389abc[_0x3f19b7(0x30c)])),_0x5b7e97(0x2,_0x389abc[_0x3f19b7(0x33f)](_0x1c1b1d[_0x3f19b7(0x3eb)]))],_0x17f348);const _0x1fe9e0=0x14,_0x19969f=0xc8,_0x4123d5=0x4,_0x1484ef=0x5;function _0x4e9041(_0x48d63d,_0x379b82){const _0x35244f=_0x3f19b7;let {radius:_0x3f4bea,width:_0x35079f,height:_0x1547e4}=_0x379b82;_0x3f4bea=_0x3f4bea!=null?_0x3f4bea:0x0,_0x35079f=_0x35079f!=null?_0x35079f:0x1e,_0x1547e4=_0x1547e4!=null?_0x1547e4:0x1e;let _0x5e6bad=0x0,_0x5dc1a3=0x0,_0x9324e3=0x0;_0x5e6bad=_0x5dc1a3=_0x9324e3=Math['min'](_0x3f4bea,_0x35079f/0x2,_0x1547e4/0x2),_0x48d63d[_0x35244f(0x1fd)](),_0x48d63d[_0x35244f(0x3b3)](_0x5e6bad,0x0),_0x48d63d[_0x35244f(0x3df)](_0x35079f-_0x5dc1a3,0x0),_0x48d63d[_0x35244f(0x2a5)](_0x35079f-_0x5dc1a3,_0x5dc1a3,_0x5dc1a3,Math['PI']*0x3/0x2,0x0,!0x1),_0x48d63d[_0x35244f(0x3df)](_0x35079f,_0x1547e4-_0x9324e3),_0x48d63d[_0x35244f(0x2a5)](_0x35079f-_0x9324e3,_0x1547e4-_0x9324e3,_0x9324e3,0x0,Math['PI']/0x2,!0x1),_0x48d63d['lineTo'](0x0,_0x1547e4),_0x48d63d[_0x35244f(0x3df)](0x0,_0x5e6bad),_0x48d63d[_0x35244f(0x2a5)](_0x5e6bad,_0x5e6bad,_0x5e6bad,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48d63d[_0x35244f(0x33c)](),_0x379b82[_0x35244f(0x2ae)]&&(_0x48d63d[_0x35244f(0x41d)](),_0x48d63d[_0x35244f(0x1c3)]=_0x379b82[_0x35244f(0x2ae)],_0x379b82['fillRule']===_0x35244f(0x3e7)?_0x48d63d[_0x35244f(0x2ae)](_0x35244f(0x3e7)):_0x48d63d[_0x35244f(0x2ae)](),_0x48d63d['restore']());}class _0x5a013f extends _0x128fe8[_0x3f19b7(0x448)]{constructor(_0x55c0ad,_0x2d0254){const _0x3a3779=_0x3f19b7;super(_0x55c0ad,_0x2d0254),_0x2a801e(this,_0x3a3779(0x465)),_0x2a801e(this,_0x3a3779(0x481)),(this['color']=_0x2d0254==null?void 0x0:_0x2d0254[_0x3a3779(0x465)],this[_0x3a3779(0x481)]=_0x2d0254==null?void 0x0:_0x2d0254[_0x3a3779(0x481)]);}static['drawWith'](_0x264917,_0x29a83e){const _0x5e538e=_0x3f19b7,{text:_0x3a027a,color:_0x347393}=_0x29a83e;_0x264917[_0x5e538e(0x41d)](),_0x264917[_0x5e538e(0x29b)]=_0x5e538e(0x1b4);const _0x80e035=_0x264917['measureText'](_0x3a027a)[_0x5e538e(0x47b)],_0x4d4c6c=Math[_0x5e538e(0x2f3)](_0x80e035+0x2*_0x4123d5,_0x19969f);_0x4e9041(_0x264917,{'height':_0x1fe9e0,'radius':0x4,'width':_0x4d4c6c,'fill':_0x347393}),_0x264917[_0x5e538e(0x1c3)]='#FFF';const _0x217aa0=_0x4123d5,_0x73d7ab=_0x1fe9e0-_0x1484ef,_0x53e1ef=_0x19969f-0x2*_0x4123d5;if(_0x80e035>_0x53e1ef){let _0x36f71f='',_0x19e42f=0x0;for(const _0x5d306d of _0x3a027a){const _0x545b05=_0x264917['measureText'](_0x5d306d)[_0x5e538e(0x47b)];if(_0x19e42f+_0x545b05<=_0x53e1ef-_0x264917[_0x5e538e(0x413)](_0x5e538e(0x2d8))[_0x5e538e(0x47b)])_0x36f71f+=_0x5d306d,_0x19e42f+=_0x545b05;else{_0x36f71f+=_0x5e538e(0x2d8);break;}}_0x264917[_0x5e538e(0x250)](_0x36f71f,_0x217aa0,_0x73d7ab);}else _0x264917['fillText'](_0x3a027a,_0x217aa0,_0x73d7ab);_0x264917[_0x5e538e(0x385)]();}['_draw'](_0x22a546){_0x5a013f['drawWith'](_0x22a546,this);}}const _0x145b60='collab-text-anchor-',_0x3b3c44='collab-text-range-',_0x299792=_0x3f19b7(0x2ee),_0x316abe=0x6,_0x142150=1.5,_0x152992=0x4,_0xb62a86=1.5,_0x117d68=_0x3f19b7(0x3d8);class _0x4b5a24{constructor(_0x2ec8d8,_0x3ac955,_0x426be4,_0x3eed6c){const _0x5b1295=_0x3f19b7;_0x2a801e(this,_0x5b1295(0x31a),[]),_0x2a801e(this,_0x5b1295(0x3c3),null),_0x2a801e(this,_0x5b1295(0x402),null),_0x2a801e(this,_0x5b1295(0x203),null),_0x2a801e(this,_0x5b1295(0x26a),null),_0x2a801e(this,'_eventUnsubscribe',null),(this[_0x5b1295(0x22f)]=_0x2ec8d8,this[_0x5b1295(0x2d9)]=_0x3ac955,this[_0x5b1295(0x295)]=_0x426be4,this[_0x5b1295(0x1d6)]=_0x3eed6c,this['_render']());}set[_0x3f19b7(0x2b9)](_0x456d0b){const _0x5a22cc=_0x3f19b7;_0x456d0b?(this[_0x5a22cc(0x203)]&&this[_0x5a22cc(0x203)][_0x5a22cc(0x2e5)](),this[_0x5a22cc(0x402)]&&this[_0x5a22cc(0x402)][_0x5a22cc(0x3b6)]()):(this[_0x5a22cc(0x203)]&&this[_0x5a22cc(0x203)]['show'](),this['_textBubble']&&this[_0x5a22cc(0x402)]['hide']());}[_0x3f19b7(0x211)](){const _0x272dde=_0x3f19b7;for(const _0x491145 of this[_0x272dde(0x31a)])_0x491145['dispose']();this[_0x272dde(0x402)]&&this['_textBubble'][_0x272dde(0x211)](),this[_0x272dde(0x203)]&&this[_0x272dde(0x203)]['dispose'](),this['_anchor']&&this['_anchor'][_0x272dde(0x211)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x3f19b7(0x3b8)](){const _0xdea6ca=_0x3f19b7;var _0x47f0b2;const {_docSkeleton:_0x1730b9,_document:_0x177686}=this,{color:_0x301606,name:_0xfd79e9,ranges:_0x3f0c8b}=this[_0xdea6ca(0x22f)],_0x152301=_0x177686['getOffsetConfig'](),{docsLeft:_0x112958,docsTop:_0x1d785f}=_0x152301,_0x55374c=new _0x15f040[(_0xdea6ca(0x261))](_0x152301,_0x1730b9);for(const {startOffset:_0x3e2ce3,endOffset:_0x247ed4,rangeType:_0x14b2d7,segmentId:_0x44c0db,segmentPage:_0x347592,collapsed:_0x47984b,isActive:_0x277e16}of _0x3f0c8b){const _0xf3c0b6=_0x1730b9[_0xdea6ca(0x1ec)](_0x3e2ce3,!0x0,_0x44c0db,_0x347592);let _0x326452=_0x1730b9[_0xdea6ca(0x1ec)](_0x247ed4,!0x0,_0x44c0db,_0x347592);if(_0x326452==null&&(_0x326452=_0x1730b9[_0xdea6ca(0x1ec)](_0x247ed4-0x1,!0x1,_0x44c0db,_0x347592)),_0x277e16){const {contentBoxPointGroup:_0x3de1b2}=_0x55374c[_0xdea6ca(0x245)](_0x326452,_0x326452);if(_0x3de1b2[_0xdea6ca(0x26f)]===0x0)continue;this[_0xdea6ca(0x1b3)](_0x301606,_0x3de1b2,_0x112958,_0x1d785f,_0xfd79e9),this[_0xdea6ca(0x369)]=this[_0xdea6ca(0x333)]();}if(_0xf3c0b6&&_0x326452){if(_0x14b2d7===_0x389abc[_0xdea6ca(0x36e)][_0xdea6ca(0x3aa)]){const _0x4f77c2=new _0x15f040[(_0xdea6ca(0x3de))](_0x152301,_0x1730b9),{pointGroup:_0x2a7146}=(_0x47f0b2=_0x4f77c2['getRangePointData'](_0xf3c0b6,_0x326452))!=null?_0x47f0b2:{};if(_0x2a7146==null||_0x2a7146[_0xdea6ca(0x26f)]===0x0)continue;this[_0xdea6ca(0x303)](_0x301606,_0x2a7146,_0x112958,_0x1d785f);}else{if(!_0x47984b){const {borderBoxPointGroup:_0x581a8b}=_0x55374c[_0xdea6ca(0x245)](_0xf3c0b6,_0x326452);if(_0x581a8b[_0xdea6ca(0x26f)]===0x0)continue;this['_drawTextRange'](_0x301606,_0x581a8b,_0x112958,_0x1d785f);}}}}}[_0x3f19b7(0x1b3)](_0x38134e,_0x47526a,_0x5603b3,_0x322e87,_0x2df556){const _0x3cb842=_0x3f19b7,_0x5a368c=this['_getAnchorBounding'](_0x47526a),{left:_0x53d41e,top:_0xd5a2d3,height:_0xab67a0}=_0x5a368c,_0x5e0c0d=this[_0x3cb842(0x315)](),_0x14f203=_0xb62a86/_0x5e0c0d,_0x473056=new _0x128fe8[(_0x3cb842(0x1f4))](_0x145b60+_0x389abc['generateRandomId'](_0x316abe),{'left':_0x53d41e+_0x5603b3-_0x14f203,'top':_0xd5a2d3+_0x322e87,'height':_0xab67a0,'width':_0x142150,'fill':_0x38134e||_0x128fe8['getColor'](_0x389abc[_0x3cb842(0x39d)][_0x3cb842(0x37d)],0x0),'strokeWidth':_0x14f203,'stroke':_0x117d68,'evented':!0x0});this[_0x3cb842(0x3c3)]=_0x473056,this['_scene'][_0x3cb842(0x409)](_0x473056,_0x15f040[_0x3cb842(0x355)]);const _0x1e222f=new _0x128fe8[(_0x3cb842(0x1f4))](_0x145b60+_0x389abc[_0x3cb842(0x3a3)](_0x316abe),{'left':_0x53d41e+_0x5603b3-_0x14f203,'top':_0xd5a2d3+_0x322e87-_0x152992/0x2,'height':_0x152992,'width':_0x152992,'fill':_0x38134e||_0x128fe8[_0x3cb842(0x3f3)](_0x389abc['COLORS'][_0x3cb842(0x37d)],0x0),'strokeWidth':0x0,'stroke':_0x38134e||_0x128fe8[_0x3cb842(0x3f3)](_0x389abc[_0x3cb842(0x39d)]['black'],0x0),'evented':!0x1});this[_0x3cb842(0x203)]=_0x1e222f,this['_scene'][_0x3cb842(0x409)](_0x1e222f,_0x15f040[_0x3cb842(0x355)]);const _0x567691=new _0x5a013f(_0x145b60+_0x389abc[_0x3cb842(0x3a3)](_0x316abe),{'left':_0x53d41e+_0x5603b3-_0x14f203,'top':_0xd5a2d3+_0x322e87-_0x1fe9e0,'text':_0x2df556,'color':_0x38134e});this[_0x3cb842(0x402)]=_0x567691,this['_scene'][_0x3cb842(0x409)](_0x567691,_0x15f040[_0x3cb842(0x355)]),this[_0x3cb842(0x2b9)]=!0x1;}[_0x3f19b7(0x333)](){const _0x446f93=_0x3f19b7,_0x50f3cd=this[_0x446f93(0x3c3)]['onPointerEnter$'][_0x446f93(0x46f)](()=>{this['_hover']=!0x0;}),_0xc2a2ce=this['_anchor'][_0x446f93(0x255)][_0x446f93(0x46f)](()=>{const _0x3ae34a=_0x446f93;this[_0x3ae34a(0x26a)]&&clearTimeout(this[_0x3ae34a(0x26a)]),this['_hideTimer']=setTimeout(()=>{const _0x4c94a1=_0x3ae34a;this[_0x4c94a1(0x2b9)]=!0x1;},0x7d0);});return()=>{const _0x2d7553=_0x446f93;_0x50f3cd['unsubscribe'](),_0xc2a2ce[_0x2d7553(0x1b6)]();};}['_drawTextRange'](_0x48f576,_0x36271c,_0x213e4c,_0x760b7d){const _0x5b62ea=_0x3f19b7,_0x7b3987=new _0x389abc[(_0x5b62ea(0x269))](_0x48f576)[_0x5b62ea(0x346)](0.2)['toRgbString'](),_0x7214f1=new _0x128fe8[(_0x5b62ea(0x3da))](_0x3b3c44+_0x389abc[_0x5b62ea(0x3a3)](_0x316abe),{'pointsGroup':_0x36271c,'fill':_0x7b3987||_0x128fe8[_0x5b62ea(0x3f3)](_0x389abc[_0x5b62ea(0x39d)][_0x5b62ea(0x37d)],0.2),'left':_0x213e4c,'top':_0x760b7d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b62ea(0x31a)][_0x5b62ea(0x375)](_0x7214f1),this[_0x5b62ea(0x2d9)][_0x5b62ea(0x409)](_0x7214f1,_0x15f040[_0x5b62ea(0x355)]);}['_drawRectRange'](_0x391eb5,_0x3e62ad,_0x450741,_0x31d6f0){const _0x3c1ea4=_0x3f19b7,_0x3d8eb0=new _0x389abc[(_0x3c1ea4(0x269))](_0x391eb5)[_0x3c1ea4(0x346)](0.2)[_0x3c1ea4(0x1e8)](),_0x24fd82=new _0x128fe8[(_0x3c1ea4(0x3da))](_0x299792+_0x389abc['generateRandomId'](_0x316abe),{'pointsGroup':_0x3e62ad,'fill':_0x3d8eb0||_0x128fe8[_0x3c1ea4(0x3f3)](_0x389abc[_0x3c1ea4(0x39d)]['black'],0.2),'left':_0x450741,'top':_0x31d6f0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c1ea4(0x31a)][_0x3c1ea4(0x375)](_0x24fd82),this[_0x3c1ea4(0x2d9)][_0x3c1ea4(0x409)](_0x24fd82,_0x15f040['TEXT_RANGE_LAYER_INDEX']);}[_0x3f19b7(0x201)](_0x48f1f5){const _0x57400e=_0x48f1f5[0x0],_0x3fa239=_0x57400e[0x0],_0x2e6d95=_0x57400e[0x2],{x:_0x556bd4,y:_0x3904bd}=_0x3fa239,{x:_0x3825a1,y:_0x33be2e}=_0x2e6d95;return{'left':_0x556bd4,'top':_0x3904bd,'width':_0x3825a1-_0x556bd4,'height':_0x33be2e-_0x3904bd};}['_getScale'](){const _0x205e9a=_0x3f19b7,{scaleX:_0xb49506,scaleY:_0x13aea8}=this['_scene'][_0x205e9a(0x3ce)]();return Math[_0x205e9a(0x3c4)](_0xb49506,_0x13aea8);}}var _0x4af13e=Object[_0x3f19b7(0x3d5)],_0x1cad45=(_0x1694ae,_0x10d180,_0x1e97d6,_0x5f1a60)=>{const _0x5237cd=_0x3f19b7;for(var _0x289d61=_0x5f1a60>0x1?void 0x0:_0x5f1a60?_0x4af13e(_0x10d180,_0x1e97d6):_0x10d180,_0xb76d56=_0x1694ae[_0x5237cd(0x26f)]-0x1,_0x4c7fc2;_0xb76d56>=0x0;_0xb76d56--)(_0x4c7fc2=_0x1694ae[_0xb76d56])&&(_0x289d61=_0x4c7fc2(_0x289d61)||_0x289d61);return _0x289d61;},_0x10ce85=(_0x5e8356,_0x53cd0b)=>(_0x4963a1,_0x295cbb)=>_0x53cd0b(_0x4963a1,_0x295cbb,_0x5e8356);let _0x16b5d7=class extends _0x389abc[_0x3f19b7(0x265)]{constructor(_0x398788,_0x25a7dd,_0x4e14d5,_0x2513ff,_0x2e4863){const _0x1f1b8a=_0x3f19b7;super(),_0x2a801e(this,_0x1f1b8a(0x279),[]),_0x2a801e(this,'_cursors',[]),(this[_0x1f1b8a(0x1bf)]=_0x398788,this['_docSkeletonManagerService']=_0x25a7dd,this[_0x1f1b8a(0x212)]=_0x4e14d5,this[_0x1f1b8a(0x2b1)]=_0x2513ff,this[_0x1f1b8a(0x467)]=_0x2e4863,this[_0x1f1b8a(0x382)]());}['_init'](){const _0x39a158=_0x3f19b7,_0x33310c=this['_context'][_0x39a158(0x437)],_0x2e896d=this['_docSkeletonManagerService'];this[_0x39a158(0x224)](_0x5295a5[_0x39a158(0x48a)]([this['_collabCursorController']['getCollabCursors$'](_0x33310c),this[_0x39a158(0x467)]['currentTheme$']])['pipe'](_0xbe372f[_0x39a158(0x335)](([_0x509c5f,_0x2a7710])=>({'skeleton':_0x2e896d[_0x39a158(0x323)](),'cursors':[..._0x509c5f[_0x39a158(0x1f0)]()]['flatMap'](_0x5b464d=>({..._0x5b464d,'color':this[_0x39a158(0x467)][_0x39a158(0x28a)](_0x5b464d['color'])}))})))[_0x39a158(0x2fa)](_0x5c6d6d=>{const _0x4b7ba6=_0x39a158;if(this[_0x4b7ba6(0x2fb)](),_0x5c6d6d){const {skeleton:_0x4aee02,cursors:_0x4eeda0}=_0x5c6d6d;this['_updateCollabCursors'](_0x4aee02,_0x4eeda0);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x3f19b7(0x27a)](_0x2fba24,_0x2d89f4){const _0x1e52ba=_0x3f19b7,{scene:_0x30f840,mainComponent:_0xa60fc6}=this['_context'],_0x553928=_0x2d89f4[_0x1e52ba(0x335)](_0x2b8949=>new _0x4b5a24(_0x2b8949,_0x30f840,_0x2fba24,_0xa60fc6));this[_0x1e52ba(0x279)]=_0x553928,this[_0x1e52ba(0x45d)]=_0x2d89f4;}[_0x3f19b7(0x226)](){const _0x258557=_0x3f19b7;this['_removeCollabCursors']();const {scene:_0x10176,mainComponent:_0x328af9}=this[_0x258557(0x1bf)],_0x5dbc39=this[_0x258557(0x436)][_0x258557(0x323)](),_0x145d6c=this[_0x258557(0x45d)][_0x258557(0x335)](_0x1fac1b=>new _0x4b5a24(_0x1fac1b,_0x10176,_0x5dbc39,_0x328af9));this['_cursorShapes']=_0x145d6c;}[_0x3f19b7(0x2fb)](){const _0x143a96=_0x3f19b7;this[_0x143a96(0x279)][_0x143a96(0x483)](_0x183979=>_0x183979[_0x143a96(0x211)]()),this['_cursorShapes']=[];}[_0x3f19b7(0x1d5)](){const _0x3fc942=_0x3f19b7,_0x26055e=[_0x15f040[_0x3fc942(0x46a)]['id']];this[_0x3fc942(0x224)](this[_0x3fc942(0x2b1)][_0x3fc942(0x3d1)](_0x2d3ab9=>{const _0x2ff025=_0x3fc942;_0x26055e['includes'](_0x2d3ab9['id'])&&_0x2d3ab9['params']['unitId']===this[_0x2ff025(0x1bf)][_0x2ff025(0x437)]&&this['_refreshCollabCursors']();}));}[_0x3f19b7(0x339)](){const _0x1c6ca4=_0x3f19b7;this['disposeWithMe'](_0x389abc[_0x1c6ca4(0x357)](this[_0x1c6ca4(0x1bf)][_0x1c6ca4(0x37b)][_0x1c6ca4(0x2cc)])[_0x1c6ca4(0x2ec)](_0xbe372f[_0x1c6ca4(0x366)](_0x4bc6a4=>_0x4bc6a4[_0x1c6ca4(0x233)]===_0x128fe8[_0x1c6ca4(0x372)][_0x1c6ca4(0x1b0)]),_0xbe372f[_0x1c6ca4(0x1bc)](0x10))[_0x1c6ca4(0x2fa)](()=>{this['_refreshCollabCursors']();}));}};_0x16b5d7=_0x1cad45([_0x10ce85(0x1,_0x389abc['Inject'](_0x2fab95[_0x3f19b7(0x2fc)])),_0x10ce85(0x2,_0x389abc[_0x3f19b7(0x33f)](_0x17f348)),_0x10ce85(0x3,_0x389abc[_0x3f19b7(0x1be)]),_0x10ce85(0x4,_0x389abc['Inject'](_0x389abc[_0x3f19b7(0x466)]))],_0x16b5d7);const _0x291926=0x1,_0x6091f2=1.5;class _0x281726 extends _0x128fe8[_0x3f19b7(0x448)]{constructor(_0x2486e4,_0x39b881){const _0x228b17=_0x3f19b7;super(_0x2486e4,_0x39b881),_0x2a801e(this,_0x228b17(0x2bc)),_0x2a801e(this,_0x228b17(0x2c4),!0x1),_0x2a801e(this,'_range'),_0x2a801e(this,_0x228b17(0x40f),''),_0x2a801e(this,'_labelPosition','top'),_0x2a801e(this,_0x228b17(0x447)),(_0x39b881&&this[_0x228b17(0x1e7)](_0x39b881),this['onPointerEnter$'][_0x228b17(0x46f)](()=>this[_0x228b17(0x1e7)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x228b17(0x1e7)]({'hovered':!0x1})));}[_0x3f19b7(0x1e7)](_0x4d81c0){const _0x11464b=_0x3f19b7;var _0x273137,_0x6dec6c,_0x926409,_0x54e493,_0x2d9e94,_0xe0adb0;this[_0x11464b(0x2bc)]=(_0x273137=_0x4d81c0[_0x11464b(0x465)])!=null?_0x273137:this[_0x11464b(0x2bc)],this[_0x11464b(0x2c4)]=(_0x6dec6c=_0x4d81c0[_0x11464b(0x20d)])!=null?_0x6dec6c:this[_0x11464b(0x2c4)],this[_0x11464b(0x219)]=(_0x926409=_0x4d81c0[_0x11464b(0x3fa)])!=null?_0x926409:this[_0x11464b(0x219)],this[_0x11464b(0x40f)]=(_0x54e493=_0x4d81c0[_0x11464b(0x23c)])!=null?_0x54e493:this['_name'],this[_0x11464b(0x1f3)]=(_0x2d9e94=_0x4d81c0[_0x11464b(0x302)])!=null?_0x2d9e94:this[_0x11464b(0x1f3)],this[_0x11464b(0x447)]=(_0xe0adb0=_0x4d81c0[_0x11464b(0x29d)])!=null?_0xe0adb0:this[_0x11464b(0x447)],this[_0x11464b(0x464)]({'width':_0x4d81c0[_0x11464b(0x47b)],'height':_0x4d81c0[_0x11464b(0x428)]});}[_0x3f19b7(0x40b)](_0x1ae0d3){const _0x13ca51=_0x3f19b7,{row:_0x5c1767,column:_0x40981a}=_0x1ae0d3;if(_0x5c1767>=this['_range']['startRow']&&_0x5c1767<=this[_0x13ca51(0x219)][_0x13ca51(0x390)]&&_0x40981a>=this[_0x13ca51(0x219)][_0x13ca51(0x1e6)]&&_0x40981a<=this[_0x13ca51(0x219)]['endColumn']){this[_0x13ca51(0x1e7)]({'hovered':!0x0});return;}this[_0x13ca51(0x1e7)]({'hovered':!0x1});}['triggerDblclick'](_0x3ad903){return!0x1;}[_0x3f19b7(0x46d)](_0xabcff0){const _0x3c38dc=_0x3f19b7;_0x128fe8[_0x3c38dc(0x1f4)][_0x3c38dc(0x456)](_0xabcff0,{'width':this[_0x3c38dc(0x47b)],'height':this[_0x3c38dc(0x428)],'strokeWidth':_0x6091f2,'stroke':this[_0x3c38dc(0x2bc)],'evented':!0x1,'fill':this[_0x3c38dc(0x447)]}),this[_0x3c38dc(0x2c4)]&&(_0xabcff0[_0x3c38dc(0x41d)](),_0xabcff0[_0x3c38dc(0x3ea)](0x1,0x0,0x0,0x1,this[_0x3c38dc(0x47b)],this[_0x3c38dc(0x1f3)]===_0x3c38dc(0x2dc)?0x0:-_0x1fe9e0),_0x5a013f[_0x3c38dc(0x456)](_0xabcff0,{'text':this[_0x3c38dc(0x40f)],'color':this[_0x3c38dc(0x2bc)]}),_0xabcff0[_0x3c38dc(0x385)]());}}var _0x52a079=Object[_0x3f19b7(0x3d5)],_0x22127e=(_0x296949,_0x42b17d,_0x5913bc,_0x59431b)=>{const _0x3347fb=_0x3f19b7;for(var _0xaff322=_0x59431b>0x1?void 0x0:_0x59431b?_0x52a079(_0x42b17d,_0x5913bc):_0x42b17d,_0x26564a=_0x296949[_0x3347fb(0x26f)]-0x1,_0x3f0f58;_0x26564a>=0x0;_0x26564a--)(_0x3f0f58=_0x296949[_0x26564a])&&(_0xaff322=_0x3f0f58(_0xaff322)||_0xaff322);return _0xaff322;},_0x2acf10=(_0x3dc887,_0x5e0e79)=>(_0x3124ac,_0x27ef9d)=>_0x5e0e79(_0x3124ac,_0x27ef9d,_0x3dc887);const _0x18a5ed=0x1389;let _0x48b386=class extends _0x389abc['RxDisposable']{constructor(_0x32c3ef,_0x2eb69a,_0x38ff91,_0x4ccdf2){const _0x5a4df6=_0x3f19b7;super(),_0x2a801e(this,_0x5a4df6(0x45d),new Set()),_0x2a801e(this,_0x5a4df6(0x412),null),(this[_0x5a4df6(0x1bf)]=_0x32c3ef,this[_0x5a4df6(0x3c5)]=_0x2eb69a,this[_0x5a4df6(0x212)]=_0x38ff91,this[_0x5a4df6(0x467)]=_0x4ccdf2,this[_0x5a4df6(0x382)]());}[_0x3f19b7(0x382)](){const _0x302d6d=_0x3f19b7;this[_0x302d6d(0x3c5)][_0x302d6d(0x2cb)][_0x302d6d(0x2ec)](_0xbe372f['takeUntil'](this[_0x302d6d(0x2b2)]),_0xbe372f[_0x302d6d(0x308)](_0x3f66e4=>{const _0x5ad88d=_0x302d6d;if(_0x3f66e4){const _0x31e1dc=_0x3f66e4[_0x5ad88d(0x2f0)];return _0x5295a5[_0x5ad88d(0x48a)](this[_0x5ad88d(0x212)]['getCollabCursors$'](this[_0x5ad88d(0x1bf)][_0x5ad88d(0x437)]),this['_themeService'][_0x5ad88d(0x3d4)])[_0x5ad88d(0x2ec)](_0xbe372f['map'](([_0x1334e9,_0x2b87c8])=>{const _0x2280d3=_0x5ad88d,_0x30d586=new Map();return _0x1334e9[_0x2280d3(0x483)]((_0x736389,_0x5fdd84)=>{const _0xd516=_0x2280d3;if(_0x736389[_0xd516(0x311)]===_0x31e1dc){const _0x2318fb={..._0x736389};_0x2318fb[_0xd516(0x465)]=this[_0xd516(0x467)][_0xd516(0x28a)](_0x736389['color']),_0x30d586['set'](_0x5fdd84,_0x2318fb);}}),{'skeleton':_0x3f66e4,'cursors':_0x30d586};}));}return _0x5295a5['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4687fd,cursors:_0x284116})=>{const _0x30ec7d=_0x302d6d;this[_0x30ec7d(0x2fb)](),_0x4687fd&&this['_updateCollabCursors'](_0x4687fd,_0x284116);}),this[_0x302d6d(0x3c5)][_0x302d6d(0x2cb)][_0x302d6d(0x2fa)](_0x1aedb8=>{const _0x12414e=_0x302d6d;if(_0x1aedb8==null)return;const {skeleton:_0x119e50}=_0x1aedb8,{scene:_0x1afe88}=this[_0x12414e(0x1bf)];_0x1afe88[_0x12414e(0x3c2)]['subscribeEvent'](_0x389abc[_0x12414e(0x38a)](_0x490ce7=>{const _0x315d75=_0x12414e;var _0x3abe3b,_0x23c699;const {offsetX:_0x4e5afd,offsetY:_0x2f1712}=_0x490ce7,{x:_0x130323,y:_0x4c47ba}=_0x1afe88[_0x315d75(0x482)](_0x128fe8[_0x315d75(0x2f9)][_0x315d75(0x243)]([_0x4e5afd,_0x2f1712])),{scaleX:_0x2c3736,scaleY:_0x50cb90}=_0x1afe88[_0x315d75(0x3ce)](),_0x17041f=_0x1afe88[_0x315d75(0x338)](_0x128fe8[_0x315d75(0x425)][_0x315d75(0x34b)]),_0xa4b348=_0x1afe88[_0x315d75(0x34f)](_0x128fe8[_0x315d75(0x2f9)][_0x315d75(0x243)]([_0x130323,_0x4c47ba]),_0x17041f),_0x1c1f55=_0x119e50[_0x315d75(0x3f8)](_0x4e5afd,_0x2f1712,_0x2c3736,_0x50cb90,_0xa4b348);((_0x3abe3b=this[_0x315d75(0x412)])==null?void 0x0:_0x3abe3b[_0x315d75(0x1d0)])===_0x1c1f55[_0x315d75(0x1d0)]&&((_0x23c699=this[_0x315d75(0x412)])==null?void 0x0:_0x23c699[_0x315d75(0x1cb)])===_0x1c1f55['row']||this[_0x315d75(0x45d)]['forEach'](_0x28c00b=>{const _0x37a5b5=_0x315d75;_0x28c00b[_0x37a5b5(0x40b)](_0x1c1f55);});},0x64));});}[_0x3f19b7(0x27a)](_0x5ae4dd,_0x1ebb4a){const _0x196e98=_0x3f19b7;var _0x4d2a9d;const _0x28a422=(_0x4d2a9d=this[_0x196e98(0x3c5)]['getCurrent']())==null?void 0x0:_0x4d2a9d[_0x196e98(0x367)];if(!_0x28a422)return;const _0x4e3894=this[_0x196e98(0x217)]();if(!_0x4e3894)return;this[_0x196e98(0x45d)][_0x196e98(0x483)](_0x3f6374=>{const _0x3f9087=_0x196e98;_0x3f6374[_0x3f9087(0x433)]();});const {scene:_0x50bf9a}=_0x4e3894,_0x3060da=_0x4a192f(Array[_0x196e98(0x239)](_0x1ebb4a[_0x196e98(0x1f0)]()))[_0x196e98(0x335)](_0x416c8c=>{const _0x5b672d=_0x196e98,{color:_0x53e6e3,range:_0x8da865,name:_0x26ef3b,selection:_0x1b8d8d,sheetID:_0x422006}=_0x416c8c,{startColumn:_0x55f303,startRow:_0x57f9e4,endColumn:_0xd092af,endRow:_0x3ff15a}=_0x8da865,_0x502fe3=_0x100dc5[_0x5b672d(0x1f2)](_0x57f9e4,_0x55f303,_0x50bf9a,_0x28a422),_0x3fecdd=_0x100dc5['getCoordByCell'](_0x3ff15a,_0xd092af,_0x50bf9a,_0x28a422),{columnHeaderHeightAndMarginTop:_0x51f027}=_0x28a422,{startX:_0x1e254f,startY:_0x2b8607}=_0x502fe3,{endX:_0x2de40f,endY:_0x2c4c37}=_0x3fecdd,_0x38b07b=_0x2de40f-_0x1e254f,_0x5d5495=_0x2c4c37-_0x2b8607,_0x1c50e5={'labelPosition':_0x2b8607-_0x51f027>=_0x1fe9e0?_0x5b672d(0x35f):'bottom','sheetID':_0x422006,'range':_0x8da865,'color':_0x53e6e3,'name':_0x26ef3b,'selection':_0x1b8d8d,'left':_0x1e254f,'top':_0x2b8607,'width':_0x38b07b,'height':_0x5d5495,'evented':!0x1,'zIndex':_0x18a5ed};return new _0x281726(_0x26ef3b,_0x1c50e5);});_0x50bf9a[_0x196e98(0x218)](_0x3060da,_0x291926),this[_0x196e98(0x45d)]=new Set(_0x3060da);}[_0x3f19b7(0x2fb)](){const _0x4d93f2=_0x3f19b7;var _0x3de6f4;(_0x3de6f4=this[_0x4d93f2(0x45d)])==null||_0x3de6f4['forEach'](_0xefedf=>_0xefedf[_0x4d93f2(0x211)]());}[_0x3f19b7(0x217)](){const _0x5c4fb7=_0x3f19b7;return _0x100dc5[_0x5c4fb7(0x364)](this[_0x5c4fb7(0x1bf)][_0x5c4fb7(0x48f)],this[_0x5c4fb7(0x1bf)]);}};_0x48b386=_0x22127e([_0x2acf10(0x1,_0x389abc['Inject'](_0x100dc5[_0x3f19b7(0x3f4)])),_0x2acf10(0x2,_0x389abc[_0x3f19b7(0x33f)](_0x17f348)),_0x2acf10(0x3,_0x389abc[_0x3f19b7(0x33f)](_0x389abc[_0x3f19b7(0x466)]))],_0x48b386);function _0x4a192f(_0x53489a){const _0x21265c=_0x3f19b7,_0x160c9b=new Map();return _0x53489a[_0x21265c(0x483)](_0x2a9a40=>{const _0x9589a3=_0x21265c;if(_0x160c9b[_0x9589a3(0x281)](_0x2a9a40[_0x9589a3(0x472)])){const _0x3a5bdc=_0x160c9b[_0x9589a3(0x2c1)](_0x2a9a40['selection']);_0x3a5bdc[_0x9589a3(0x23c)]+=',\x20'+_0x2a9a40[_0x9589a3(0x23c)];}else _0x160c9b['set'](_0x2a9a40[_0x9589a3(0x472)],_0x2a9a40);}),Array[_0x21265c(0x239)](_0x160c9b[_0x21265c(0x1f0)]());}var _0x484c88=Object[_0x3f19b7(0x3d5)],_0x2b19ad=(_0x3b6493,_0x40304e,_0x268d31,_0x1f337e)=>{const _0x3d7cae=_0x3f19b7;for(var _0x4b97c2=_0x1f337e>0x1?void 0x0:_0x1f337e?_0x484c88(_0x40304e,_0x268d31):_0x40304e,_0x5eb0e3=_0x3b6493[_0x3d7cae(0x26f)]-0x1,_0x5252c6;_0x5eb0e3>=0x0;_0x5eb0e3--)(_0x5252c6=_0x3b6493[_0x5eb0e3])&&(_0x4b97c2=_0x5252c6(_0x4b97c2)||_0x4b97c2);return _0x4b97c2;},_0x232d42=(_0x1d728c,_0x18bb8c)=>(_0x5a886f,_0xa2a53d)=>_0x18bb8c(_0x5a886f,_0xa2a53d,_0x1d728c);let _0x428acb=class extends _0x389abc[_0x3f19b7(0x3bb)]{constructor(_0x4ae9ad,_0x5b7aed,_0x1a0c90,_0x4b6629,_0x1ebd96,_0x25245b){const _0x4d9e71=_0x3f19b7;super(),this[_0x4d9e71(0x1c9)]=_0x4ae9ad,this[_0x4d9e71(0x3e8)]=_0x5b7aed,this[_0x4d9e71(0x2db)]=_0x1a0c90,this[_0x4d9e71(0x300)]=_0x4b6629,this['_notificationService']=_0x1ebd96,this[_0x4d9e71(0x2eb)]=_0x25245b,this['_setupBeforeClosingHandler'](),this[_0x4d9e71(0x42a)]();}[_0x3f19b7(0x20a)](){const _0x47a16d=_0x3f19b7;this[_0x47a16d(0x224)](this[_0x47a16d(0x1c9)][_0x47a16d(0x27c)](()=>{const _0x4bbc11=_0x47a16d;if(this[_0x4bbc11(0x3e8)][_0x4bbc11(0x2cf)][_0x4bbc11(0x1f9)])return this[_0x4bbc11(0x2eb)]['t'](_0x4bbc11(0x27b));}));}[_0x3f19b7(0x42a)](){const _0x14b2e9=_0x3f19b7;this[_0x14b2e9(0x224)](this[_0x14b2e9(0x2db)][_0x14b2e9(0x2d3)][_0x14b2e9(0x2fa)](_0xe20461=>{const _0x7632e8=_0x14b2e9;_0xe20461['id']===_0x1c1b1d['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x7632e8(0x300)][_0x7632e8(0x3b6)]({'type':_0x235f53[_0x7632e8(0x1c6)]['Warning'],'content':this['_localeService']['t'](_0x7632e8(0x27d))}),_0xe20461['id']===_0x1c1b1d[_0x7632e8(0x3d7)][_0x7632e8(0x410)]&&this[_0x7632e8(0x300)][_0x7632e8(0x3b6)]({'type':_0x235f53['MessageType'][_0x7632e8(0x289)],'content':this[_0x7632e8(0x2eb)]['t'](_0x7632e8(0x398))}),_0xe20461['id']===_0x1c1b1d[_0x7632e8(0x3d7)][_0x7632e8(0x1ce)]&&this['_notificationService'][_0x7632e8(0x3b6)]({'title':this[_0x7632e8(0x2eb)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':'error','duration':0x0}),_0xe20461['id']===_0x1c1b1d['CollaborationUIEventId'][_0x7632e8(0x29f)]&&this['_messageService'][_0x7632e8(0x3b6)]({'type':_0x235f53[_0x7632e8(0x1c6)]['Error'],'content':this[_0x7632e8(0x2eb)]['t'](_0x7632e8(0x398))+'('+_0xe20461[_0x7632e8(0x450)]+')'}),_0xe20461['id']===_0x1c1b1d['CollaborationUIEventId'][_0x7632e8(0x235)]&&this[_0x7632e8(0x300)][_0x7632e8(0x3b6)]({'type':_0x235f53[_0x7632e8(0x1c6)][_0x7632e8(0x289)],'content':this[_0x7632e8(0x2eb)]['t'](_0xe20461[_0x7632e8(0x450)]||'')}),_0xe20461['id']===_0x1c1b1d[_0x7632e8(0x3d7)]['SOCKET_FAILED_RETRY']&&this[_0x7632e8(0x300)][_0x7632e8(0x3b6)]({'type':_0x235f53['MessageType']['Warning'],'content':this['_localeService']['t'](_0x7632e8(0x3d9))}),_0xe20461['id']===_0x1c1b1d[_0x7632e8(0x3d7)][_0x7632e8(0x259)]&&this['_messageService'][_0x7632e8(0x3b6)]({'type':_0x235f53[_0x7632e8(0x1c6)][_0x7632e8(0x426)],'content':this[_0x7632e8(0x2eb)]['t']('session.connection-failed')}),_0xe20461['id']===_0x1c1b1d[_0x7632e8(0x3d7)][_0x7632e8(0x319)]&&this[_0x7632e8(0x300)]['show']({'type':_0x235f53[_0x7632e8(0x1c6)][_0x7632e8(0x426)],'content':this['_localeService']['t'](_0x7632e8(0x469))});}));}};_0x428acb=_0x2b19ad([_0x232d42(0x0,_0x186348[_0x3f19b7(0x1ca)]),_0x232d42(0x1,_0x1c1b1d[_0x3f19b7(0x268)]),_0x232d42(0x2,_0x389abc[_0x3f19b7(0x33f)](_0x1c1b1d[_0x3f19b7(0x2b8)])),_0x232d42(0x3,_0x186348[_0x3f19b7(0x3c0)]),_0x232d42(0x4,_0x186348['INotificationService']),_0x232d42(0x5,_0x389abc[_0x3f19b7(0x33f)](_0x389abc[_0x3f19b7(0x33d)]))],_0x428acb);var _0x23c69c=Object['getOwnPropertyDescriptor'],_0x1e8cfc=(_0x560d85,_0x3a3e1c,_0x5892a2,_0x103dab)=>{const _0x1634bc=_0x3f19b7;for(var _0x26b01f=_0x103dab>0x1?void 0x0:_0x103dab?_0x23c69c(_0x3a3e1c,_0x5892a2):_0x3a3e1c,_0x1cb25d=_0x560d85[_0x1634bc(0x26f)]-0x1,_0x5c089b;_0x1cb25d>=0x0;_0x1cb25d--)(_0x5c089b=_0x560d85[_0x1cb25d])&&(_0x26b01f=_0x5c089b(_0x26b01f)||_0x26b01f);return _0x26b01f;},_0x16f94d=(_0x525471,_0x4070d8)=>(_0x267b25,_0x1295fa)=>_0x4070d8(_0x267b25,_0x1295fa,_0x525471);let _0x1908be=class extends _0x389abc[_0x3f19b7(0x3bb)]{constructor(_0x5e132d,_0x12a01a,_0x51851a,_0x4d9cf4){const _0x51172b=_0x3f19b7;super(),_0x2a801e(this,_0x51172b(0x247)),(this[_0x51172b(0x485)]=_0x5e132d,this[_0x51172b(0x388)]=_0x12a01a,this[_0x51172b(0x430)]=_0x51851a,this[_0x51172b(0x354)]=_0x4d9cf4,this['_init']());}[_0x3f19b7(0x382)](){const _0x2a08ff=_0x3f19b7;this['_initWindowErrorListener'](),this[_0x2a08ff(0x286)](),this[_0x2a08ff(0x3b2)](),this[_0x2a08ff(0x2c6)]();}[_0x3f19b7(0x2c6)](){const _0x2e4a3c=_0x3f19b7;this[_0x2e4a3c(0x224)](this[_0x2e4a3c(0x354)][_0x2e4a3c(0x1ae)]['subscribe'](_0x4ba90c=>{const _0x1a2e30=_0x2e4a3c;this['_memberID']=_0x4ba90c==null?void 0x0:_0x4ba90c[_0x1a2e30(0x41a)];}));}[_0x3f19b7(0x21d)](){const _0x1089e9=_0x3f19b7,_0x4dff86=_0x15b21f=>{const _0x40e220=_0x3fe4;var _0x1391e0;this[_0x40e220(0x44d)]('error',_0x40e220(0x292)+_0x15b21f['message']+_0x40e220(0x3a6)+_0x15b21f[_0x40e220(0x399)]+':'+_0x15b21f[_0x40e220(0x2bf)]+':'+_0x15b21f['colno']+'\x0a'+(((_0x1391e0=_0x15b21f['error'])==null?void 0x0:_0x1391e0[_0x40e220(0x470)])||''));};window[_0x1089e9(0x3ee)](_0x1089e9(0x3ad),_0x4dff86),this[_0x1089e9(0x224)](()=>{const _0x2b4cb5=_0x1089e9;window[_0x2b4cb5(0x2fd)]('error',_0x4dff86);});}[_0x3f19b7(0x286)](){const _0x29483e=_0x3f19b7,_0x375224=_0x2c897e=>{const _0x38ed25=_0x3fe4;this['_uploadLog'](_0x38ed25(0x3ad),_0x38ed25(0x3cc)+_0x2c897e[_0x38ed25(0x1a9)]);};window[_0x29483e(0x3ee)]('unhandledrejection',_0x375224),this[_0x29483e(0x224)](()=>{const _0x558896=_0x29483e;window['removeEventListener'](_0x558896(0x205),_0x375224);});}['_monkeyPatchLogService'](){const _0x49fb3c=_0x3f19b7,_0x2d9963=this[_0x49fb3c(0x430)][_0x49fb3c(0x3ad)][_0x49fb3c(0x263)](this[_0x49fb3c(0x430)]);this[_0x49fb3c(0x430)]['error']=(..._0x2f1e2d)=>{const _0x225d22=_0x49fb3c,_0x3c9e49=_0x2f1e2d[_0x225d22(0x335)](_0xfac260=>_0xfac260 instanceof Error?_0xfac260[_0x225d22(0x232)]+'\x0a'+_0xfac260[_0x225d22(0x470)]:String(_0xfac260))[_0x225d22(0x2dd)]('\x20');this[_0x225d22(0x44d)](_0x225d22(0x3ad),_0x225d22(0x220)+_0x3c9e49),_0x2d9963(..._0x2f1e2d);},this['disposeWithMe'](()=>{const _0x22b398=_0x49fb3c;this[_0x22b398(0x430)]['error']=_0x2d9963;});}[_0x3f19b7(0x44d)](_0x1309df,_0x1796aa){const _0x368c43=_0x3f19b7;try{const _0xfaa050={'userId':this[_0x368c43(0x247)],'logLabel':_0x1309df,'content':_0x1796aa};this[_0x368c43(0x388)]['post'](_0x368c43(0x288),{'body':_0xfaa050})[_0x368c43(0x33a)](()=>{});}catch{}}};_0x1908be=_0x1e8cfc([_0x16f94d(0x0,_0x389abc[_0x3f19b7(0x33f)](_0x389abc['Injector'])),_0x16f94d(0x1,_0x389abc[_0x3f19b7(0x33f)](_0x2e75b9[_0x3f19b7(0x2f1)])),_0x16f94d(0x2,_0x389abc[_0x3f19b7(0x2ff)]),_0x16f94d(0x3,_0x389abc[_0x3f19b7(0x33f)](_0x1c1b1d[_0x3f19b7(0x3eb)]))],_0x1908be);const _0x2ceedb=_0x3f19b7(0x330),_0x163085={};var _0x35508c=Object[_0x3f19b7(0x3d5)],_0xcc30b3=(_0x380989,_0x4bac2e,_0x23db80,_0xaa6fd)=>{for(var _0xffbef5=_0xaa6fd>0x1?void 0x0:_0xaa6fd?_0x35508c(_0x4bac2e,_0x23db80):_0x4bac2e,_0x7f668c=_0x380989['length']-0x1,_0x3365c6;_0x7f668c>=0x0;_0x7f668c--)(_0x3365c6=_0x380989[_0x7f668c])&&(_0xffbef5=_0x3365c6(_0xffbef5)||_0xffbef5);return _0xffbef5;},_0x5e6340=(_0x5e4aab,_0x1e34f4)=>(_0x5489df,_0x34e179)=>_0x1e34f4(_0x5489df,_0x34e179,_0x5e4aab);let _0x46b165=class{constructor(_0x3452b0,_0x114006){const _0x1d4e91=_0x3f19b7;this[_0x1d4e91(0x43f)]=_0x3452b0,this[_0x1d4e91(0x3a2)]=_0x114006;}[_0x3f19b7(0x1d3)](_0x34fda6){const _0x1fd790=_0x3f19b7;this[_0x1fd790(0x2f8)](_0x34fda6),this[_0x1fd790(0x2d2)](_0x34fda6);}[_0x3f19b7(0x1b9)](_0x138306){const _0x252879=_0x3f19b7,{unitID:_0x174165}=_0x138306,_0x39e7e9=this[_0x252879(0x3a2)]['getRenderById'](_0x174165)[_0x252879(0x3b1)](_0x15f040[_0x252879(0x37a)]),{redoCache:_0x2af393}=_0x39e7e9[_0x252879(0x1fa)]();if(_0x2af393[_0x252879(0x26f)]===0x0)return _0x138306;let _0x283af1=_0x389abc[_0x252879(0x47a)][_0x252879(0x2ce)](_0x138306[_0x252879(0x44c)][0x0]);for(let _0x34f799=0x0;_0x34f799<_0x2af393[_0x252879(0x26f)];_0x34f799++){const _0x576a41={'id':_0x252879(0x2c8),'params':{..._0x2af393[_0x34f799]}},_0x5ebc1a=this[_0x252879(0x43f)][_0x252879(0x3c8)](_0x283af1,_0x576a41,!0x1);if(_0x1ed99c[_0x252879(0x3f6)](_0x5ebc1a))throw _0x5ebc1a['error'];_0x283af1=_0x5ebc1a[_0x252879(0x1d4)];}return{..._0x389abc['Tools'][_0x252879(0x2ce)](_0x138306),'mutations':[_0x283af1]};}[_0x3f19b7(0x2f8)](_0x57709b){const _0xb95d4=_0x3f19b7,{unitID:_0x2ed6da}=_0x57709b,_0x7ab0de=this['_renderManagerService'][_0xb95d4(0x387)](_0x2ed6da)[_0xb95d4(0x3b1)](_0x15f040[_0xb95d4(0x37a)]),{undoCache:_0x4d40f6,redoCache:_0x34bd29}=_0x7ab0de[_0xb95d4(0x1fa)]();if(_0x4d40f6[_0xb95d4(0x26f)]===0x0||_0x34bd29[_0xb95d4(0x26f)]===0x0)return;const _0x1771d7=[],_0x4a37aa=[];let _0x2a6336=_0x389abc[_0xb95d4(0x47a)]['deepClone'](_0x57709b[_0xb95d4(0x44c)][0x0]),_0x104866=_0x389abc[_0xb95d4(0x47a)]['deepClone'](_0x57709b[_0xb95d4(0x44c)][0x0]);for(let _0x1432d5=_0x4d40f6[_0xb95d4(0x26f)]-0x1;_0x1432d5>=0x0;_0x1432d5--){const _0x231c03={'id':_0xb95d4(0x2c8),'params':{..._0x4d40f6[_0x1432d5]}},_0x2e91bb={'id':'doc.mutation.rich-text-editing','params':{..._0x34bd29[_0x1432d5]}},_0xdabd17=this['_transformService'][_0xb95d4(0x3c8)](_0x2a6336,_0x231c03,!0x1),_0x11baa7=this[_0xb95d4(0x43f)][_0xb95d4(0x3c8)](_0x104866,_0x2e91bb,!0x1);if(_0x1ed99c[_0xb95d4(0x3f6)](_0xdabd17))throw _0xdabd17[_0xb95d4(0x3ad)];if(_0x1ed99c[_0xb95d4(0x3f6)](_0x11baa7))throw _0x11baa7[_0xb95d4(0x3ad)];_0x1771d7[_0xb95d4(0x1eb)](_0xdabd17[_0xb95d4(0x2e7)][_0xb95d4(0x297)]),_0x4a37aa[_0xb95d4(0x1eb)](_0x11baa7[_0xb95d4(0x2e7)][_0xb95d4(0x297)]),_0x2a6336=_0xdabd17[_0xb95d4(0x1d4)],_0x104866=_0x11baa7[_0xb95d4(0x1d4)];}_0x7ab0de['setUndoRedoMutationParamsCache']({'undoCache':_0x1771d7,'redoCache':_0x4a37aa});}[_0x3f19b7(0x2d2)](_0x133fe6){const _0x28bfce=_0x3f19b7,{unitID:_0x17e6d8}=_0x133fe6,_0x316e38=this[_0x28bfce(0x3a2)][_0x28bfce(0x387)](_0x17e6d8)[_0x28bfce(0x3b1)](_0x15f040[_0x28bfce(0x37a)]),_0x22217b=_0x316e38[_0x28bfce(0x329)]();if(_0x22217b==null)return;const _0x5009a1=[{'id':_0x28bfce(0x2c8),'params':{'unitId':_0x133fe6[_0x28bfce(0x241)],'actions':null,'textRanges':[_0x22217b]}}],_0x281613=this['_transformService'][_0x28bfce(0x392)](_0x133fe6,_0x5009a1);if(!_0x1ed99c[_0x28bfce(0x3a5)](_0x281613))throw _0x281613[_0x28bfce(0x3ad)];const _0x122f08=_0x281613[_0x28bfce(0x2e7)][0x0][_0x28bfce(0x297)][_0x28bfce(0x3dd)];Array[_0x28bfce(0x2a9)](_0x122f08)&&_0x122f08[_0x28bfce(0x26f)]&&_0x316e38[_0x28bfce(0x458)](_0x122f08[0x0]);}};_0x46b165=_0xcc30b3([_0x5e6340(0x0,_0x1ed99c[_0x3f19b7(0x1ed)]),_0x5e6340(0x1,_0x128fe8[_0x3f19b7(0x2e2)])],_0x46b165);var _0x4d3db1=Object['getOwnPropertyDescriptor'],_0x196bb1=(_0x49bf56,_0x44cacc,_0x4f6875,_0x332212)=>{for(var _0x43311e=_0x332212>0x1?void 0x0:_0x332212?_0x4d3db1(_0x44cacc,_0x4f6875):_0x44cacc,_0x410af4=_0x49bf56['length']-0x1,_0x4f9200;_0x410af4>=0x0;_0x410af4--)(_0x4f9200=_0x49bf56[_0x410af4])&&(_0x43311e=_0x4f9200(_0x43311e)||_0x43311e);return _0x43311e;},_0xb262f8=(_0x2e34cc,_0x5987c0)=>(_0x105bf0,_0x1d802d)=>_0x5987c0(_0x105bf0,_0x1d802d,_0x2e34cc);let _0x2ff14c=class{constructor(_0x10faa8,_0xcb7c49,_0x459841){const _0x27a1e6=_0x3f19b7;this[_0x27a1e6(0x485)]=_0x10faa8,this[_0x27a1e6(0x43f)]=_0xcb7c49,this['_docStateChangeManagerService']=_0x459841;}[_0x3f19b7(0x206)](_0x1d6352){this['_transformHistoryAndStateStack'](_0x1d6352);}['transformRemoteChangeset'](_0x3658ca){const _0x12bc6f=_0x3f19b7,{unitID:_0x22bbeb}=_0x3658ca,{collaboration:_0x343c63}=this['_docStateChangeManagerService']['getStateCache'](_0x22bbeb);if(_0x343c63['length']===0x0)return _0x3658ca;let _0x1d2d16=_0x389abc[_0x12bc6f(0x47a)][_0x12bc6f(0x2ce)](_0x3658ca[_0x12bc6f(0x44c)][0x0]);for(let _0x44aba6=0x0;_0x44aba6<_0x343c63[_0x12bc6f(0x26f)];_0x44aba6++){const _0x364231={'id':_0x12bc6f(0x2c8),'params':{'unitId':_0x343c63[_0x44aba6][_0x12bc6f(0x437)],..._0x343c63[_0x44aba6]['redoState']}},_0x3d0a29=this[_0x12bc6f(0x43f)][_0x12bc6f(0x3c8)](_0x1d2d16,_0x364231,!0x1);if(_0x1ed99c[_0x12bc6f(0x3f6)](_0x3d0a29))throw _0x3d0a29[_0x12bc6f(0x3ad)];_0x1d2d16=_0x3d0a29['m1Prime'];}return{..._0x389abc[_0x12bc6f(0x47a)][_0x12bc6f(0x2ce)](_0x3658ca),'mutations':[_0x1d2d16]};}[_0x3f19b7(0x373)](_0x2e2aca){const _0x464325=_0x3f19b7,{unitID:_0x51be4c}=_0x2e2aca,{history:_0x86d92e,collaboration:_0x3e89bf}=this[_0x464325(0x2b7)]['getStateCache'](_0x51be4c);if(_0x86d92e[_0x464325(0x26f)]===0x0&&_0x3e89bf[_0x464325(0x26f)]===0x0)return;const _0x2bb8ff=[],_0x244f73=[];let _0x291465=_0x389abc[_0x464325(0x47a)][_0x464325(0x2ce)](_0x2e2aca[_0x464325(0x44c)][0x0]),_0x9c99be=_0x389abc['Tools']['deepClone'](_0x2e2aca[_0x464325(0x44c)][0x0]);for(let _0x5f361d=_0x86d92e[_0x464325(0x26f)]-0x1;_0x5f361d>=0x0;_0x5f361d--){const _0x22cad7={'id':_0x464325(0x2c8),'params':{'unitId':_0x86d92e[_0x5f361d][_0x464325(0x437)],..._0x86d92e[_0x5f361d][_0x464325(0x231)]}},_0x5cb712={'id':_0x464325(0x2c8),'params':{'unitId':_0x86d92e[_0x5f361d][_0x464325(0x437)],..._0x86d92e[_0x5f361d][_0x464325(0x48c)]}},_0x333f61=this[_0x464325(0x43f)][_0x464325(0x3c8)](_0x291465,_0x22cad7,!0x1),_0x5bea25=this[_0x464325(0x43f)][_0x464325(0x3c8)](_0x9c99be,_0x5cb712,!0x1);if(_0x1ed99c['isTransformMutationFailure'](_0x333f61))throw _0x333f61['error'];if(_0x1ed99c[_0x464325(0x3f6)](_0x5bea25))throw _0x5bea25[_0x464325(0x3ad)];_0x2bb8ff[_0x464325(0x1eb)]({..._0x86d92e[_0x5f361d],'undoState':_0x333f61[_0x464325(0x2e7)][_0x464325(0x297)],'redoState':_0x5bea25[_0x464325(0x2e7)][_0x464325(0x297)]}),_0x291465=_0x333f61[_0x464325(0x1d4)],_0x9c99be=_0x5bea25['m1Prime'];}_0x291465=_0x389abc['Tools']['deepClone'](_0x2e2aca[_0x464325(0x44c)][0x0]),_0x9c99be=_0x389abc[_0x464325(0x47a)]['deepClone'](_0x2e2aca['mutations'][0x0]);for(let _0x54d792=_0x3e89bf[_0x464325(0x26f)]-0x1;_0x54d792>=0x0;_0x54d792--){const _0x140e49={'id':_0x464325(0x2c8),'params':{'unitId':_0x3e89bf[_0x54d792][_0x464325(0x437)],..._0x3e89bf[_0x54d792]['undoState']}},_0x532e17={'id':_0x464325(0x2c8),'params':{'unitId':_0x3e89bf[_0x54d792][_0x464325(0x437)],..._0x3e89bf[_0x54d792][_0x464325(0x48c)]}},_0x394dcb=this[_0x464325(0x43f)][_0x464325(0x3c8)](_0x291465,_0x140e49,!0x1),_0x3f04a6=this['_transformService'][_0x464325(0x3c8)](_0x9c99be,_0x532e17,!0x1);if(_0x1ed99c['isTransformMutationFailure'](_0x394dcb))throw _0x394dcb[_0x464325(0x3ad)];if(_0x1ed99c[_0x464325(0x3f6)](_0x3f04a6))throw _0x3f04a6[_0x464325(0x3ad)];_0x244f73['unshift']({..._0x3e89bf[_0x54d792],'undoState':_0x394dcb[_0x464325(0x2e7)][_0x464325(0x297)],'redoState':_0x3f04a6[_0x464325(0x2e7)][_0x464325(0x297)]}),_0x291465=_0x394dcb[_0x464325(0x1d4)],_0x9c99be=_0x3f04a6[_0x464325(0x1d4)];}this[_0x464325(0x2b7)][_0x464325(0x271)](_0x51be4c,{'history':_0x2bb8ff,'collaboration':_0x244f73});}};_0x2ff14c=_0x196bb1([_0xb262f8(0x0,_0x389abc[_0x3f19b7(0x33f)](_0x389abc[_0x3f19b7(0x30c)])),_0xb262f8(0x1,_0x1ed99c[_0x3f19b7(0x1ed)]),_0xb262f8(0x2,_0x389abc[_0x3f19b7(0x33f)](_0x15f040[_0x3f19b7(0x25c)]))],_0x2ff14c);var _0x4967f4=Object['getOwnPropertyDescriptor'],_0x556a54=(_0x39e00f,_0x3f9d3d,_0x36388c,_0x837676)=>{const _0x738d63=_0x3f19b7;for(var _0x24af33=_0x837676>0x1?void 0x0:_0x837676?_0x4967f4(_0x3f9d3d,_0x36388c):_0x3f9d3d,_0x194172=_0x39e00f[_0x738d63(0x26f)]-0x1,_0x579be8;_0x194172>=0x0;_0x194172--)(_0x579be8=_0x39e00f[_0x194172])&&(_0x24af33=_0x579be8(_0x24af33)||_0x24af33);return _0x24af33;},_0x13ac24=(_0x368677,_0x1e1c36)=>(_0x3fc4b1,_0xe9e3fe)=>_0x1e1c36(_0x3fc4b1,_0xe9e3fe,_0x368677);let _0x2d47db=class{constructor(_0x2efb40,_0x33b6a7){const _0x395163=_0x3f19b7;this[_0x395163(0x485)]=_0x2efb40,this[_0x395163(0x43f)]=_0x33b6a7;}['transformSelections'](_0x52be28){const _0x3c78b4=_0x3f19b7;var _0x5f50a9;const _0x33008=this[_0x3c78b4(0x485)][_0x3c78b4(0x2c1)](_0x2fab95['DocSelectionManagerService']),_0x46696f=(_0x5f50a9=_0x33008['getDocRanges']())!=null?_0x5f50a9:[];if(_0x46696f[_0x3c78b4(0x26f)]===0x0)return;const _0x414bca=_0x52be28[_0x3c78b4(0x241)],_0x4ae2cb=[{'id':_0x3c78b4(0x2c8),'params':{'unitId':_0x414bca,'actions':null,'textRanges':_0x46696f}}],_0x396f0e=this[_0x3c78b4(0x43f)][_0x3c78b4(0x392)](_0x52be28,_0x4ae2cb);if(!_0x1ed99c[_0x3c78b4(0x3a5)](_0x396f0e))throw _0x396f0e[_0x3c78b4(0x3ad)];const _0x5271e7=_0x396f0e[_0x3c78b4(0x2e7)][0x0][_0x3c78b4(0x297)][_0x3c78b4(0x3dd)];Array[_0x3c78b4(0x2a9)](_0x5271e7)&&_0x5271e7['length']&&_0x33008[_0x3c78b4(0x439)](_0x5271e7,{'unitId':_0x414bca,'subUnitId':_0x414bca},!0x1);}};_0x2d47db=_0x556a54([_0x13ac24(0x0,_0x389abc[_0x3f19b7(0x33f)](_0x389abc[_0x3f19b7(0x30c)])),_0x13ac24(0x1,_0x1ed99c[_0x3f19b7(0x1ed)])],_0x2d47db);var _0x438d19=Object[_0x3f19b7(0x3d5)],_0x5867f8=(_0xe4ee47,_0x19425e,_0x4db607,_0x2cecec)=>{const _0x3c65ba=_0x3f19b7;for(var _0x5603e5=_0x2cecec>0x1?void 0x0:_0x2cecec?_0x438d19(_0x19425e,_0x4db607):_0x19425e,_0x64397=_0xe4ee47[_0x3c65ba(0x26f)]-0x1,_0x47422c;_0x64397>=0x0;_0x64397--)(_0x47422c=_0xe4ee47[_0x64397])&&(_0x5603e5=_0x47422c(_0x5603e5)||_0x5603e5);return _0x5603e5;},_0x160029=(_0xe0a20a,_0x56e942)=>(_0x1dbd38,_0x210d56)=>_0x56e942(_0x1dbd38,_0x210d56,_0xe0a20a);let _0x51a5e1=class extends _0x389abc[_0x3f19b7(0x3bb)]{constructor(_0x468de8,_0x42b77c,_0x59c17b,_0x3ea9b5,_0x5daf0d,_0x564d7a,_0x93fac9,_0x5e1c63){const _0x278336=_0x3f19b7;super(),_0x2a801e(this,_0x278336(0x1a6),new _0x5295a5[(_0x278336(0x238))](_0x1c1b1d[_0x278336(0x343)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x468de8,this['_collaborationController']=_0x42b77c,this[_0x278336(0x44b)]=_0x59c17b,this[_0x278336(0x374)]=_0x3ea9b5,this['_docTransformSelectionsService']=_0x5daf0d,this[_0x278336(0x340)]=_0x564d7a,this['_messageService']=_0x93fac9,this['_localeService']=_0x5e1c63,this[_0x278336(0x3fe)]());}[_0x3f19b7(0x3fe)](){const _0x253ea6=_0x3f19b7;this['disposeWithMe'](this[_0x253ea6(0x40d)]['entityInit$'][_0x253ea6(0x2fa)](_0x2c8e3d=>{const _0x5adc6c=_0x253ea6,_0x432a9e=this[_0x5adc6c(0x2b7)][_0x5adc6c(0x24f)][_0x5adc6c(0x2fa)](_0x47e703=>{const _0x5646e5=_0x5adc6c;if(_0x47e703==null)return;const {unitId:_0x3898cf,redoState:_0x3b0d5f,commandId:_0x59c861}=_0x47e703;if(_0x3898cf!==_0x2c8e3d['unitID'])return;const _0x215279={'id':_0x59c861,'type':_0x389abc[_0x5646e5(0x262)]['MUTATION'],'params':{'unitId':_0x3898cf,'actions':_0x3b0d5f['actions'],'textRanges':null}};_0x2c8e3d[_0x5646e5(0x43c)](_0x215279);});if(_0x2c8e3d[_0x5adc6c(0x224)](_0x432a9e),_0x2c8e3d instanceof _0x1c1b1d[_0x5adc6c(0x431)]){const _0x245c32={'onTransformIME':_0x21b672=>this[_0x5adc6c(0x44b)][_0x5adc6c(0x1d3)](_0x21b672),'onTransformState':_0x265c14=>this[_0x5adc6c(0x374)][_0x5adc6c(0x206)](_0x265c14),'onTransformSelections':_0x3c8737=>this['_docTransformSelectionsService'][_0x5adc6c(0x278)](_0x3c8737),'onSyncEditingCollabCursor':_0x2f527a=>this[_0x5adc6c(0x340)][_0x5adc6c(0x277)](_0x2f527a),'onTransformRemoteChangesetByIMECache':_0x3b9a31=>this[_0x5adc6c(0x44b)][_0x5adc6c(0x1b9)](_0x3b9a31),'onTransformRemoteChangesetByStateCache':_0x5b54c9=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x5b54c9)};_0x2c8e3d[_0x5adc6c(0x3e4)](_0x245c32);}}));}};_0x51a5e1=_0x5867f8([_0x160029(0x0,_0x389abc[_0x3f19b7(0x33f)](_0x15f040[_0x3f19b7(0x25c)])),_0x160029(0x1,_0x389abc[_0x3f19b7(0x33f)](_0x1c1b1d[_0x3f19b7(0x2a7)])),_0x160029(0x2,_0x389abc['Inject'](_0x46b165)),_0x160029(0x3,_0x389abc[_0x3f19b7(0x33f)](_0x2ff14c)),_0x160029(0x4,_0x389abc[_0x3f19b7(0x33f)](_0x2d47db)),_0x160029(0x5,_0x389abc[_0x3f19b7(0x33f)](_0x93eee5)),_0x160029(0x6,_0x186348[_0x3f19b7(0x3c0)]),_0x160029(0x7,_0x389abc['Inject'](_0x389abc[_0x3f19b7(0x33d)]))],_0x51a5e1);var _0xb7f14a=(_0x609bb2=>(_0x609bb2[_0x609bb2[_0x3f19b7(0x22d)]=0x0]='UNDEFINED',_0x609bb2[_0x609bb2['OK']=0x1]='OK',_0x609bb2[_0x609bb2['INTERNAL_ERROR']=0x2]=_0x3f19b7(0x489),_0x609bb2[_0x609bb2[_0x3f19b7(0x1ce)]=0x3]=_0x3f19b7(0x1ce),_0x609bb2[_0x609bb2[_0x3f19b7(0x1bb)]=0x4]=_0x3f19b7(0x1bb),_0x609bb2[_0x609bb2[_0x3f19b7(0x227)]=0x5]=_0x3f19b7(0x227),_0x609bb2[_0x609bb2[_0x3f19b7(0x234)]=0x6]=_0x3f19b7(0x234),_0x609bb2[_0x609bb2[_0x3f19b7(0x38b)]=0x7]=_0x3f19b7(0x38b),_0x609bb2[_0x609bb2[_0x3f19b7(0x3e9)]=0x8]=_0x3f19b7(0x3e9),_0x609bb2[_0x609bb2[_0x3f19b7(0x35e)]=0x9]=_0x3f19b7(0x35e),_0x609bb2[_0x609bb2[_0x3f19b7(0x358)]=0xa]=_0x3f19b7(0x358),_0x609bb2[_0x609bb2[_0x3f19b7(0x363)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x609bb2[_0x609bb2[_0x3f19b7(0x468)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x609bb2[_0x609bb2[_0x3f19b7(0x3f7)]=0xd]=_0x3f19b7(0x3f7),_0x609bb2[_0x609bb2[_0x3f19b7(0x3af)]=0xe]=_0x3f19b7(0x3af),_0x609bb2[_0x609bb2[_0x3f19b7(0x352)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x609bb2[_0x609bb2[_0x3f19b7(0x1c0)]=0x10]=_0x3f19b7(0x1c0),_0x609bb2[_0x609bb2[_0x3f19b7(0x1db)]=0x64]=_0x3f19b7(0x1db),_0x609bb2[_0x609bb2[_0x3f19b7(0x3f0)]=0x65]=_0x3f19b7(0x3f0),_0x609bb2[_0x609bb2[_0x3f19b7(0x21e)]=0xc9]=_0x3f19b7(0x21e),_0x609bb2[_0x609bb2['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x609bb2[_0x609bb2['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x609bb2[_0x609bb2[_0x3f19b7(0x208)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x609bb2[_0x609bb2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3f19b7(0x318),_0x609bb2[_0x609bb2[_0x3f19b7(0x1d9)]=0x1773]=_0x3f19b7(0x1d9),_0x609bb2[_0x609bb2[_0x3f19b7(0x3ba)]=0x1b59]=_0x3f19b7(0x3ba),_0x609bb2[_0x609bb2[_0x3f19b7(0x257)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x609bb2[_0x609bb2[_0x3f19b7(0x3fd)]=0x1b5b]=_0x3f19b7(0x3fd),_0x609bb2[_0x609bb2['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3f19b7(0x298),_0x609bb2[_0x609bb2[_0x3f19b7(0x484)]=0x1b5d]=_0x3f19b7(0x484),_0x609bb2[_0x609bb2[_0x3f19b7(0x309)]=0x1f41]=_0x3f19b7(0x309),_0x609bb2[_0x609bb2[_0x3f19b7(0x1c7)]=0x2329]=_0x3f19b7(0x1c7),_0x609bb2[_0x609bb2[_0x3f19b7(0x223)]=0x232a]=_0x3f19b7(0x223),_0x609bb2[_0x609bb2[_0x3f19b7(0x2af)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x609bb2[_0x609bb2[_0x3f19b7(0x35d)]=0x232c]=_0x3f19b7(0x35d),_0x609bb2[_0x609bb2[_0x3f19b7(0x411)]=0x232d]=_0x3f19b7(0x411),_0x609bb2[_0x609bb2[_0x3f19b7(0x29a)]=0x2711]=_0x3f19b7(0x29a),_0x609bb2[_0x609bb2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3f19b7(0x39e),_0x609bb2[_0x609bb2['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3f19b7(0x26d),_0x609bb2[_0x609bb2[_0x3f19b7(0x1aa)]=0x2714]=_0x3f19b7(0x1aa),_0x609bb2[_0x609bb2[_0x3f19b7(0x314)]=0x271a]=_0x3f19b7(0x314),_0x609bb2[_0x609bb2[_0x3f19b7(0x2f6)]=0x271b]=_0x3f19b7(0x2f6),_0x609bb2[_0x609bb2[_0x3f19b7(0x474)]=0x271c]=_0x3f19b7(0x474),_0x609bb2[_0x609bb2[_0x3f19b7(0x361)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x609bb2[_0x609bb2[_0x3f19b7(0x2ca)]=0x271e]=_0x3f19b7(0x2ca),_0x609bb2[_0x609bb2[_0x3f19b7(0x221)]=0x271f]=_0x3f19b7(0x221),_0x609bb2[_0x609bb2['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3f19b7(0x30a),_0x609bb2[_0x609bb2[_0x3f19b7(0x459)]=0x2af9]=_0x3f19b7(0x459),_0x609bb2[_0x609bb2[_0x3f19b7(0x32a)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x609bb2[_0x609bb2['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x609bb2[_0x609bb2[_0x3f19b7(0x418)]=0x2ee3]=_0x3f19b7(0x418),_0x609bb2[_0x609bb2[_0x3f19b7(0x260)]=0x2ee4]=_0x3f19b7(0x260),_0x609bb2[_0x609bb2[_0x3f19b7(0x30f)]=0x2ee5]=_0x3f19b7(0x30f),_0x609bb2[_0x609bb2[_0x3f19b7(0x31f)]=0x32c9]=_0x3f19b7(0x31f),_0x609bb2[_0x609bb2[_0x3f19b7(0x344)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x609bb2[_0x609bb2[_0x3f19b7(0x347)]=0x32cb]=_0x3f19b7(0x347),_0x609bb2[_0x609bb2[_0x3f19b7(0x20f)]=0x36b1]=_0x3f19b7(0x20f),_0x609bb2[_0x609bb2[_0x3f19b7(0x2b3)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x609bb2[_0x609bb2[_0x3f19b7(0x1e2)]=0x36b3]=_0x3f19b7(0x1e2),_0x609bb2[_0x609bb2[_0x3f19b7(0x35c)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x609bb2[_0x609bb2[_0x3f19b7(0x1e4)]=0x36b5]=_0x3f19b7(0x1e4),_0x609bb2[_0x609bb2[_0x3f19b7(0x36a)]=0x36b6]=_0x3f19b7(0x36a),_0x609bb2[_0x609bb2[_0x3f19b7(0x213)]=0x36b7]=_0x3f19b7(0x213),_0x609bb2[_0x609bb2['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x3f19b7(0x230),_0x609bb2[_0x609bb2[_0x3f19b7(0x1c2)]=0x3715]=_0x3f19b7(0x1c2),_0x609bb2[_0x609bb2[_0x3f19b7(0x424)]=0x3716]=_0x3f19b7(0x424),_0x609bb2[_0x609bb2[_0x3f19b7(0x395)]=0x3717]=_0x3f19b7(0x395),_0x609bb2[_0x609bb2[_0x3f19b7(0x31e)]=0x37dd]=_0x3f19b7(0x31e),_0x609bb2[_0x609bb2[_0x3f19b7(0x258)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x609bb2[_0x609bb2[_0x3f19b7(0x25a)]=0x3a9a]=_0x3f19b7(0x25a),_0x609bb2[_0x609bb2[_0x3f19b7(0x25b)]=0x3a9b]=_0x3f19b7(0x25b),_0x609bb2[_0x609bb2[_0x3f19b7(0x24d)]=0x3a9c]=_0x3f19b7(0x24d),_0x609bb2[_0x609bb2[_0x3f19b7(0x432)]=0x3a9d]=_0x3f19b7(0x432),_0x609bb2[_0x609bb2['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x3f19b7(0x422),_0x609bb2[_0x609bb2[_0x3f19b7(0x20b)]=0x3a9f]=_0x3f19b7(0x20b),_0x609bb2[_0x609bb2['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x609bb2[_0x609bb2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x609bb2))(_0xb7f14a||{});function _0x3ac2f4(_0x1ae592){const _0x5dc7bb=_0x3f19b7;var _0x1e782a,_0x5456a6;const _0x26ffab=(_0x1e782a=_0x1ae592[_0x5dc7bb(0x3bc)])==null?void 0x0:_0x1e782a[_0x5dc7bb(0x3cf)],_0x3a54f6=((_0x5456a6=_0x1ae592['stageInfo'])==null?void 0x0:_0x5456a6[_0x5dc7bb(0x3b4)])||0x0;return _0x26ffab===_0x2054e2[_0x5dc7bb(0x3a7)][_0x5dc7bb(0x48d)]&&_0x3a54f6>0x0;}function _0x131c5c(_0xc1e070){const _0x320d23=_0x3f19b7;return _0xc1e070[_0x320d23(0x381)]===_0x2054e2['FormulaExecutedStateType'][_0x320d23(0x236)];}var _0x21a51e=Object[_0x3f19b7(0x3d5)],_0x3783b5=(_0x510c1c,_0x47fe1d,_0x464a82,_0xd2abca)=>{const _0x136d47=_0x3f19b7;for(var _0x688bfc=_0xd2abca>0x1?void 0x0:_0xd2abca?_0x21a51e(_0x47fe1d,_0x464a82):_0x47fe1d,_0x337d0f=_0x510c1c[_0x136d47(0x26f)]-0x1,_0x3063b9;_0x337d0f>=0x0;_0x337d0f--)(_0x3063b9=_0x510c1c[_0x337d0f])&&(_0x688bfc=_0x3063b9(_0x688bfc)||_0x688bfc);return _0x688bfc;},_0x34b506=(_0x4c6622,_0x349b63)=>(_0x1def8e,_0x411771)=>_0x349b63(_0x1def8e,_0x411771,_0x4c6622);const _0x354157=_0x3f19b7(0x22b),_0x194643=_0x3f19b7(0x438),_0x504d71=_0x3f19b7(0x204);let _0x4cdc10=class extends _0x389abc['Disposable']{constructor(_0xb2ffb9,_0x4b3a33,_0x508bd6,_0x54ccc3,_0x4a25fe,_0x5981af,_0x1515d0){const _0x5c638f=_0x3f19b7;super(),_0x2a801e(this,_0x5c638f(0x23b),null),_0x2a801e(this,_0x5c638f(0x3ca),0x0),_0x2a801e(this,_0x5c638f(0x210),0x0),_0x2a801e(this,_0x5c638f(0x2a1),[]),_0x2a801e(this,_0x5c638f(0x294),0x0),(this[_0x5c638f(0x300)]=_0xb2ffb9,this[_0x5c638f(0x2b1)]=_0x4b3a33,this[_0x5c638f(0x42c)]=_0x508bd6,this[_0x5c638f(0x388)]=_0x54ccc3,this[_0x5c638f(0x3fc)]=_0x4a25fe,this[_0x5c638f(0x430)]=_0x5981af,this[_0x5c638f(0x2eb)]=_0x1515d0,this[_0x5c638f(0x2be)]());}[_0x3f19b7(0x2be)](){const _0x31a9c8=_0x3f19b7;this['disposeWithMe'](this[_0x31a9c8(0x2b1)][_0x31a9c8(0x29c)]((_0x113497,_0x521414)=>{const _0x28ad33=_0x31a9c8;var _0xa7ed09;if(_0x113497['id']!==_0x2054e2['SetFormulaCalculationStartMutation']['id'])return;const _0x321c49=_0x113497[_0x28ad33(0x297)];if(!this[_0x28ad33(0x2cd)]((_0xa7ed09=_0x321c49[_0x28ad33(0x47c)])!=null?_0xa7ed09:[]))return;if(!this[_0x28ad33(0x386)]())throw this[_0x28ad33(0x23d)](_0x113497,_0x521414),this[_0x28ad33(0x370)](),new _0x389abc[(_0x28ad33(0x443))]();})),this['disposeWithMe'](this[_0x31a9c8(0x2b1)][_0x31a9c8(0x3d1)]((_0x32b320,_0x307160)=>{const _0x33d2a8=_0x31a9c8;if(_0x32b320['id']!==_0x2054e2[_0x33d2a8(0x420)]['id'])return;const _0x4b200b=_0x32b320['params'];if(_0x3ac2f4(_0x4b200b)){const _0x304a2e=_0x389abc[_0x33d2a8(0x3a3)]();this['_taskIds'][_0x33d2a8(0x375)](_0x304a2e),this[_0x33d2a8(0x256)](_0x304a2e);}else{if(_0x131c5c(_0x4b200b)&&this[_0x33d2a8(0x2a1)][_0x33d2a8(0x26f)]>0x0){const _0x35cccb=this[_0x33d2a8(0x2a1)][_0x33d2a8(0x45c)]();this[_0x33d2a8(0x2c3)](_0x35cccb);}}}));}[_0x3f19b7(0x211)](){const _0x3d3b58=_0x3f19b7;super[_0x3d3b58(0x211)](),this['_clearPolling'](),this['_taskIds']=[],this[_0x3d3b58(0x210)]=0x0,this[_0x3d3b58(0x3ca)]=0x0,this[_0x3d3b58(0x294)]=0x0;}async[_0x3f19b7(0x23d)](_0x2f0930,_0x5c83af){const _0x30494f=_0x3f19b7;for(let _0x3db82f=0x0;_0x3db82f<0x1e;_0x3db82f++)try{if(await this[_0x30494f(0x40a)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x2f0930,_0x5c83af),this[_0x30494f(0x300)][_0x30494f(0x3b6)]({'content':this[_0x30494f(0x2eb)]['t'](_0x30494f(0x2e4)),'type':_0x235f53['MessageType'][_0x30494f(0x3e3)]});return;}await new Promise(_0x391c51=>{const _0x4ba206=_0x30494f;this[_0x4ba206(0x23b)]=window[_0x4ba206(0x380)](_0x391c51,0x3e8);});}catch(_0x4d6235){this[_0x30494f(0x430)][_0x30494f(0x3ad)](_0x4d6235);}this[_0x30494f(0x300)][_0x30494f(0x3b6)]({'content':this[_0x30494f(0x2eb)]['t']('formula.calculation.unable'),'type':_0x235f53['MessageType']['Error']});}['_applyCommand'](_0x25921d,_0x4ae484){const _0x20ef44=_0x3f19b7;try{this['_commandService'][_0x20ef44(0x25e)](_0x25921d['id'],_0x25921d[_0x20ef44(0x297)],_0x4ae484);}catch(_0x4bae0a){this[_0x20ef44(0x430)][_0x20ef44(0x3ad)](_0x4bae0a);}}['_setFormulaLimitStatus'](_0x9b7b,_0x59803f){const _0x4d4e03=_0x3f19b7;_0x59803f<this['_lastResponseTimestamp']||(this[_0x4d4e03(0x294)]=_0x59803f,this['_maxFormulaLimit']=Number[_0x4d4e03(0x1c5)](_0x9b7b[_0x4d4e03(0x252)]),this[_0x4d4e03(0x210)]=Number['parseInt'](_0x9b7b[_0x4d4e03(0x31d)]));}async[_0x3f19b7(0x256)](_0x489266){const _0x52a8c0=_0x3f19b7;var _0xd6734c,_0x5b955d;const _0x3512c4=Date[_0x52a8c0(0x2aa)]();try{const _0x4ea282=((_0xd6734c=this['_configService'][_0x52a8c0(0x3ac)](_0x1c1b1d[_0x52a8c0(0x2d7)]))==null?void 0x0:_0xd6734c['startFormulaLimitUrl'])||_0x194643,_0x56a5f6=(await this[_0x52a8c0(0x388)][_0x52a8c0(0x341)](_0x4ea282,{'body':JSON[_0x52a8c0(0x299)]({'taskId':_0x489266})}))[_0x52a8c0(0x1cf)];if(((_0x5b955d=_0x56a5f6[_0x52a8c0(0x3ad)])==null?void 0x0:_0x5b955d[_0x52a8c0(0x3dc)])!==_0xb7f14a['OK'])return;this['_setFormulaLimitStatus'](_0x56a5f6[_0x52a8c0(0x462)],_0x3512c4);}catch(_0x486149){this[_0x52a8c0(0x430)][_0x52a8c0(0x3ad)](_0x486149);}}async[_0x3f19b7(0x40a)](_0x47042e){const _0x299d47=_0x3f19b7;var _0x58202e,_0x5b8250;const _0x2bcac4=Date['now']();try{const _0x5f031f=((_0x58202e=this[_0x299d47(0x42c)][_0x299d47(0x3ac)](_0x1c1b1d[_0x299d47(0x2d7)]))==null?void 0x0:_0x58202e[_0x299d47(0x414)])||_0x354157,_0x1dcd48=_0x47042e?_0x5f031f+_0x299d47(0x336)+encodeURIComponent(_0x47042e):_0x5f031f,_0x2f7cbc=(await this[_0x299d47(0x388)][_0x299d47(0x2c1)](_0x1dcd48))[_0x299d47(0x1cf)];if(((_0x5b8250=_0x2f7cbc[_0x299d47(0x3ad)])==null?void 0x0:_0x5b8250[_0x299d47(0x3dc)])!==_0xb7f14a['OK'])return;this[_0x299d47(0x209)](_0x2f7cbc[_0x299d47(0x462)],_0x2bcac4);}catch(_0x1eafc5){this[_0x299d47(0x430)]['error'](_0x1eafc5);}}async[_0x3f19b7(0x2c3)](_0x3777c8){const _0x116838=_0x3f19b7;var _0x544eb7,_0x5e2a91;const _0x2b5d11=Date['now']();try{const _0x100a4c=((_0x544eb7=this['_configService'][_0x116838(0x3ac)](_0x1c1b1d['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x544eb7[_0x116838(0x30e)])||_0x504d71,_0x123e29=(await this[_0x116838(0x388)][_0x116838(0x341)](_0x100a4c,{'body':JSON[_0x116838(0x299)]({'taskId':_0x3777c8})}))[_0x116838(0x1cf)];if(((_0x5e2a91=_0x123e29[_0x116838(0x3ad)])==null?void 0x0:_0x5e2a91[_0x116838(0x3dc)])!==_0xb7f14a['OK'])return;this['_setFormulaLimitStatus'](_0x123e29[_0x116838(0x462)],_0x2b5d11);}catch(_0x1b7483){this[_0x116838(0x430)][_0x116838(0x3ad)](_0x1b7483);}}[_0x3f19b7(0x386)](){const _0x27b668=_0x3f19b7;return this[_0x27b668(0x3ca)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}[_0x3f19b7(0x249)](){const _0x1b91c7=_0x3f19b7;this[_0x1b91c7(0x23b)]&&(clearTimeout(this[_0x1b91c7(0x23b)]),this[_0x1b91c7(0x23b)]=null);}[_0x3f19b7(0x370)](){const _0x49e2d9=_0x3f19b7;this[_0x49e2d9(0x300)][_0x49e2d9(0x3b6)]({'content':this[_0x49e2d9(0x2eb)]['t'](_0x49e2d9(0x1fb)),'type':_0x235f53[_0x49e2d9(0x1c6)][_0x49e2d9(0x2a0)]});}[_0x3f19b7(0x2cd)](_0xcdea8a){const _0x5047d6=_0x3f19b7;for(const _0x21830b of _0xcdea8a){const {unitId:_0x55a653,sheetId:_0x2b0b03,range:_0x5b4fc6}=_0x21830b,_0x407393=this[_0x5047d6(0x3fc)][_0x5047d6(0x332)](_0x55a653);if(!_0x407393)continue;const _0x340e62=_0x407393['getSheetBySheetId'](_0x2b0b03);if(!_0x340e62)continue;const _0xa9f78b=_0x340e62[_0x5047d6(0x40e)]();for(let _0x216c8c=_0x5b4fc6[_0x5047d6(0x435)];_0x216c8c<=_0x5b4fc6[_0x5047d6(0x390)];_0x216c8c++)for(let _0x3e85c0=_0x5b4fc6[_0x5047d6(0x1e6)];_0x3e85c0<=_0x5b4fc6['endColumn'];_0x3e85c0++){const _0x2c22bd=_0xa9f78b[_0x5047d6(0x396)](_0x216c8c,_0x3e85c0);if(_0x2c22bd&&(_0x389abc[_0x5047d6(0x327)](_0x2c22bd['f'])||_0x389abc[_0x5047d6(0x23f)](_0x2c22bd['si'])))return!0x0;}}return!0x1;}};_0x4cdc10=_0x3783b5([_0x34b506(0x0,_0x389abc[_0x3f19b7(0x33f)](_0x186348[_0x3f19b7(0x3c0)])),_0x34b506(0x1,_0x389abc[_0x3f19b7(0x1be)]),_0x34b506(0x2,_0x389abc[_0x3f19b7(0x2e8)]),_0x34b506(0x3,_0x389abc[_0x3f19b7(0x33f)](_0x2e75b9['HTTPService'])),_0x34b506(0x4,_0x389abc[_0x3f19b7(0x419)]),_0x34b506(0x5,_0x389abc[_0x3f19b7(0x2ff)]),_0x34b506(0x6,_0x389abc['Inject'](_0x389abc['LocaleService']))],_0x4cdc10);var _0xa59c1e=Object[_0x3f19b7(0x3d5)],_0xa5f556=(_0x1e0ee2,_0x3001dd,_0x3d45f5,_0x110dab)=>{const _0x13d80d=_0x3f19b7;for(var _0x2932b8=_0x110dab>0x1?void 0x0:_0x110dab?_0xa59c1e(_0x3001dd,_0x3d45f5):_0x3001dd,_0x4b1ed7=_0x1e0ee2[_0x13d80d(0x26f)]-0x1,_0x5c482c;_0x4b1ed7>=0x0;_0x4b1ed7--)(_0x5c482c=_0x1e0ee2[_0x4b1ed7])&&(_0x2932b8=_0x5c482c(_0x2932b8)||_0x2932b8);return _0x2932b8;},_0x23aacc=(_0x49a3b8,_0xb4dce9)=>(_0x357e14,_0x437dca)=>_0xb4dce9(_0x357e14,_0x437dca,_0x49a3b8);let _0x37f974=class extends _0x389abc[_0x3f19b7(0x3bb)]{constructor(_0x1819eb,_0x28ded3,_0x5aae50){const _0x57c169=_0x3f19b7;super(),_0x2a801e(this,_0x57c169(0x39f),new Map()),_0x2a801e(this,_0x57c169(0x274),new Map()),_0x2a801e(this,_0x57c169(0x3f9),!0x1),(this[_0x57c169(0x42c)]=_0x1819eb,this['_localStorageService']=_0x28ded3,this[_0x57c169(0x2fe)]=_0x5aae50);}['disableLocalCache'](){const _0x208ca5=_0x3f19b7;this[_0x208ca5(0x3f9)]=!0x0;}[_0x3f19b7(0x39b)](){const _0x2ac1d8=_0x3f19b7;this[_0x2ac1d8(0x3f9)]=!0x1;}get[_0x3f19b7(0x2cf)](){const _0xdfec9d=_0x3f19b7;return this[_0xdfec9d(0x274)];}['dispose'](){const _0x26bd17=_0x3f19b7;this['exhaustSavingTask']()[_0x26bd17(0x41e)](()=>super[_0x26bd17(0x211)]());}async['loadOfflineData'](_0xd7cb66){const _0x20e878=_0x3f19b7;return this[_0x20e878(0x3f9)]?null:this[_0x20e878(0x39c)][_0x20e878(0x1dc)](_0x1c1b1d[_0x20e878(0x342)](_0xd7cb66));}async[_0x3f19b7(0x1c4)](_0x34a66d,_0x39e945){const _0x221e91=_0x3f19b7;return!!this[_0x221e91(0x39c)][_0x221e91(0x3c9)](_0x34a66d,_0x39e945);}['updateOfflineData'](_0x588c71,_0x191929,_0x47e347,_0x3a2880){const _0x59d0ea=_0x3f19b7,_0x2bdec1=this[_0x59d0ea(0x2fe)][_0x59d0ea(0x2d0)](_0x588c71);this['_cachedData'][_0x59d0ea(0x270)](_0x588c71,{'unitID':_0x588c71,'type':_0x191929,'awaitingChangeset':_0x47e347,'mutations':_0x3a2880,'rev':_0x2bdec1}),this[_0x59d0ea(0x274)]['has'](_0x588c71)||this[_0x59d0ea(0x200)](_0x588c71);}[_0x3f19b7(0x200)](_0x3bdc6e){const _0x30d6b7=_0x3f19b7,_0x40c4b3=this[_0x30d6b7(0x228)]();_0x40c4b3===0x0?this['_saveCache'](_0x3bdc6e):this[_0x30d6b7(0x274)][_0x30d6b7(0x270)](_0x3bdc6e,setTimeout(()=>this['_saveCache'](_0x3bdc6e),_0x40c4b3));}[_0x3f19b7(0x228)](){const _0x5de3f4=_0x3f19b7;var _0x5f5ca9;return(_0x5f5ca9=this[_0x5de3f4(0x42c)][_0x5de3f4(0x3ac)](_0x1c1b1d['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x5f5ca9:_0x1c1b1d[_0x5de3f4(0x37c)];}[_0x3f19b7(0x1cc)](_0x2681ae){const _0xe47089=_0x3f19b7,_0x3a054b=this[_0xe47089(0x274)][_0xe47089(0x2c1)](_0x2681ae);return _0x3a054b!==void 0x0&&window[_0xe47089(0x415)](_0x3a054b),this[_0xe47089(0x39c)][_0xe47089(0x3c9)](_0x1c1b1d[_0xe47089(0x342)](_0x2681ae),this['_cachedData']['get'](_0x2681ae))['then'](()=>this[_0xe47089(0x274)][_0xe47089(0x41b)](_0x2681ae));}async['exhaustSavingTask'](){const _0x428db6=_0x3f19b7,_0x43a67a=[];this[_0x428db6(0x274)][_0x428db6(0x483)]((_0x14423b,_0x38d645)=>{const _0x472c72=_0x428db6;window[_0x472c72(0x415)](_0x14423b),_0x43a67a[_0x472c72(0x375)](this['_saveCache'](_0x38d645)[_0x472c72(0x41e)](()=>{const _0x2cea95=_0x472c72;this[_0x2cea95(0x274)][_0x2cea95(0x41b)](_0x38d645);}));}),await Promise[_0x428db6(0x1ff)](_0x43a67a);}};_0x37f974=_0xa5f556([_0x23aacc(0x0,_0x389abc[_0x3f19b7(0x2e8)]),_0x23aacc(0x1,_0x389abc[_0x3f19b7(0x3b5)]),_0x23aacc(0x2,_0x389abc[_0x3f19b7(0x33f)](_0x1ed99c[_0x3f19b7(0x1d1)]))],_0x37f974);class _0x38e97b extends _0x389abc[_0x3f19b7(0x265)]{constructor(){const _0x20b838=_0x3f19b7;super(),_0x2a801e(this,'urlChange$'),this[_0x20b838(0x24c)]=_0x5295a5[_0x20b838(0x3c6)](window,_0x20b838(0x379))[_0x20b838(0x2ec)](_0x5295a5[_0x20b838(0x1ba)](this[_0x20b838(0x2b2)]),_0x5295a5['shareReplay'](0x1),_0x5295a5[_0x20b838(0x442)](void 0x0));}[_0x3f19b7(0x242)](_0x13009d,_0x37c1fb,_0x8a4b4=!0x1){const _0x11ad72=_0x3f19b7,_0x57e842=new URL(window[_0x11ad72(0x46b)]['href']);_0x57e842[_0x11ad72(0x400)][_0x11ad72(0x270)](_0x13009d,_0x37c1fb),_0x8a4b4?window['history']['replaceState']('','',_0x57e842[_0x11ad72(0x23a)]()):window['history'][_0x11ad72(0x1e1)]('','',_0x57e842[_0x11ad72(0x23a)]());}['removeParam'](_0x2f5087,_0x3afd02=!0x1){const _0x2c00e4=_0x3f19b7,_0x369182=new URL(window[_0x2c00e4(0x46b)][_0x2c00e4(0x272)]);_0x369182[_0x2c00e4(0x400)][_0x2c00e4(0x41b)](_0x2f5087),_0x3afd02?window['history'][_0x2c00e4(0x1e5)]('','',_0x369182[_0x2c00e4(0x23a)]()):window[_0x2c00e4(0x2ea)][_0x2c00e4(0x1e1)]('','',_0x369182[_0x2c00e4(0x23a)]());}[_0x3f19b7(0x44f)](_0x3d440e){const _0x2cf3f8=_0x3f19b7;var _0x1b3185;return(_0x1b3185=new URL(window['location']['href'])[_0x2cf3f8(0x400)][_0x2cf3f8(0x2c1)](_0x3d440e))!=null?_0x1b3185:void 0x0;}}var _0x18c8c4=Object[_0x3f19b7(0x3e6)],_0x15053b=Object[_0x3f19b7(0x3d5)],_0x4de482=(_0x2d9367,_0x3083f4,_0x53db9b)=>_0x3083f4 in _0x2d9367?_0x18c8c4(_0x2d9367,_0x3083f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53db9b}):_0x2d9367[_0x3083f4]=_0x53db9b,_0xd2abf5=(_0x4b298c,_0x35049d,_0x424922,_0x52854f)=>{for(var _0x34ef4d=_0x52854f>0x1?void 0x0:_0x52854f?_0x15053b(_0x35049d,_0x424922):_0x35049d,_0x168e5e=_0x4b298c['length']-0x1,_0x279eb3;_0x168e5e>=0x0;_0x168e5e--)(_0x279eb3=_0x4b298c[_0x168e5e])&&(_0x34ef4d=_0x279eb3(_0x34ef4d)||_0x34ef4d);return _0x34ef4d;},_0x563807=(_0x549772,_0x1e08cb)=>(_0x3bca45,_0x3db5a1)=>_0x1e08cb(_0x3bca45,_0x3db5a1,_0x549772),_0x53d1f5=(_0x1fd904,_0x4bb179,_0x4afb6b)=>_0x4de482(_0x1fd904,_0x4bb179+'',_0x4afb6b);const _0x174df3=_0x3f19b7(0x322);_0x152022[_0x3f19b7(0x24e)]=class extends _0x389abc[_0x3f19b7(0x461)]{constructor(_0x4491e7=_0x163085,_0x1a45a6,_0x275e0b,_0x2c0514){const _0x47cfe1=_0x3f19b7;super(),this[_0x47cfe1(0x290)]=_0x4491e7,this['_renderManagerService']=_0x1a45a6,this[_0x47cfe1(0x485)]=_0x275e0b,this[_0x47cfe1(0x42c)]=_0x2c0514;const {..._0x4f7afa}=_0x389abc['merge']({},_0x163085,this['_config']);this[_0x47cfe1(0x42c)]['setConfig'](_0x2ceedb,_0x4f7afa);}['onStarting'](){const _0x78a8b4=_0x3f19b7;this[_0x78a8b4(0x28f)](),this[_0x78a8b4(0x378)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x3f19b7(0x28f)](){const _0x34e48a=_0x3f19b7;var _0x357f53;const _0x5cb842=[[_0x5d2d05],[_0x4cdc10],[_0x2d47db],[_0x46b165],[_0x2ff14c],[_0x93eee5],[_0x3c50f4,{'useClass':_0x38e97b}],[_0x2e75b9[_0x34e48a(0x34a)],{'useClass':_0x2e75b9[_0x34e48a(0x39a)]}],[_0x1c1b1d[_0x34e48a(0x268)],{'useClass':_0x37f974}],[_0x152022[_0x34e48a(0x253)]],[_0x51a5e1],[_0x428acb],[_0x17f348],[_0x59b893],[_0x152022['CollaborationDataLoaderController']]];this[_0x34e48a(0x290)][_0x34e48a(0x1bd)]&&_0x5cb842[_0x34e48a(0x375)]([_0x1908be]),_0x389abc[_0x34e48a(0x1a7)](this[_0x34e48a(0x485)],_0x389abc[_0x34e48a(0x487)](_0x5cb842,(_0x357f53=this[_0x34e48a(0x290)])==null?void 0x0:_0x357f53[_0x34e48a(0x3ab)]));}[_0x3f19b7(0x403)](){const _0x21f86f=_0x3f19b7;this['disposeWithMe'](this['_renderManagerService'][_0x21f86f(0x22e)](_0x389abc[_0x21f86f(0x3e1)][_0x21f86f(0x3ed)],[_0x16b5d7])),this[_0x21f86f(0x224)](this[_0x21f86f(0x3a2)][_0x21f86f(0x22e)](_0x389abc[_0x21f86f(0x3e1)]['UNIVER_SHEET'],[_0x48b386]));}['_initDependencies'](){const _0x2788f7=_0x3f19b7;_0x389abc[_0x2788f7(0x3db)](this['_injector'],[[_0x17f348],[_0x152022[_0x2788f7(0x253)]],[_0x51a5e1],[_0x428acb],[_0x152022[_0x2788f7(0x2c0)]],[_0x4cdc10]]),this[_0x2788f7(0x290)][_0x2788f7(0x1bd)]&&_0x389abc[_0x2788f7(0x3db)](this[_0x2788f7(0x485)],[[_0x1908be]]);}},_0x53d1f5(_0x152022[_0x3f19b7(0x24e)],'pluginName',_0x174df3),_0x152022[_0x3f19b7(0x24e)]=_0xd2abf5([_0x389abc[_0x3f19b7(0x2f5)](_0x1c1b1d[_0x3f19b7(0x2b6)]),_0x563807(0x1,_0x128fe8[_0x3f19b7(0x2e2)]),_0x563807(0x2,_0x389abc[_0x3f19b7(0x33f)](_0x389abc[_0x3f19b7(0x30c)])),_0x563807(0x3,_0x389abc[_0x3f19b7(0x2e8)])],_0x152022[_0x3f19b7(0x24e)]);var _0x271a58=Object[_0x3f19b7(0x3d5)],_0x5b3ea8=(_0x1c31ce,_0x442aba,_0x2bae25,_0x5e1a90)=>{const _0x1c6f72=_0x3f19b7;for(var _0x4884f5=_0x5e1a90>0x1?void 0x0:_0x5e1a90?_0x271a58(_0x442aba,_0x2bae25):_0x442aba,_0x42a07f=_0x1c31ce[_0x1c6f72(0x26f)]-0x1,_0x2cd9fa;_0x42a07f>=0x0;_0x42a07f--)(_0x2cd9fa=_0x1c31ce[_0x42a07f])&&(_0x4884f5=_0x2cd9fa(_0x4884f5)||_0x4884f5);return _0x4884f5;},_0x383c1b=(_0x1a0114,_0xe262b0)=>(_0x1f85cc,_0x31f12b)=>_0xe262b0(_0x1f85cc,_0x31f12b,_0x1a0114);_0x152022[_0x3f19b7(0x43a)]=class extends _0x1c1b1d[_0x3f19b7(0x3d3)]{constructor(_0x5621ac,_0x377861,_0x3c5f94,_0x4dd038,_0x535e30){super(_0x5621ac,_0x377861,_0x3c5f94,_0x4dd038,_0x535e30);}async[_0x3f19b7(0x471)](_0x539ca2){const _0x2a4d4a=_0x3f19b7,_0x45362a=await this[_0x2a4d4a(0x421)](),_0x57d92=this['_createSocketURL'](_0x539ca2,_0x45362a);return this[_0x2a4d4a(0x23e)](_0x57d92);}[_0x3f19b7(0x3a9)](_0x416604,_0x40d8e5){const _0x2ab510=_0x3f19b7,_0x5abfcd=typeof window>'u'?new URL(_0x416604):new URL(_0x416604,window[_0x2ab510(0x46b)][_0x2ab510(0x405)]);_0x5abfcd[_0x2ab510(0x400)][_0x2ab510(0x270)](_0x2ab510(0x38d),_0x40d8e5);const _0x40c8a2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x40c8a2[_0x2ab510(0x2c1)](_0x2ab510(0x1e0))&&_0x5abfcd[_0x2ab510(0x400)]['set']('runId',_0x40c8a2['get'](_0x2ab510(0x1e0))),_0x5abfcd[_0x2ab510(0x23a)]();}async[_0x3f19b7(0x421)](){const _0x37ab5a=_0x3f19b7;var _0xa65f87,_0x36338e,_0x231da8;const _0x1128b4=this[_0x37ab5a(0x42c)][_0x37ab5a(0x3ac)](_0x1c1b1d['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x2c2d68=(_0xa65f87=_0x1128b4==null?void 0x0:_0x1128b4[_0x37ab5a(0x349)])!=null?_0xa65f87:_0x1c1b1d[_0x37ab5a(0x33e)];return(_0x231da8=(_0x36338e=(await this[_0x37ab5a(0x388)][_0x37ab5a(0x2c1)](_0x2c2d68,{'headers':{'Content-Type':'application/json'}}))[_0x37ab5a(0x1cf)])==null?void 0x0:_0x36338e['ticket'])!=null?_0x231da8:'';}},_0x152022[_0x3f19b7(0x43a)]=_0x5b3ea8([_0x383c1b(0x0,_0x389abc[_0x3f19b7(0x33f)](_0x389abc[_0x3f19b7(0x30c)])),_0x383c1b(0x1,_0x389abc[_0x3f19b7(0x33f)](_0x2e75b9['HTTPService'])),_0x383c1b(0x2,_0x389abc['IConfigService']),_0x383c1b(0x3,_0x389abc[_0x3f19b7(0x2ff)]),_0x383c1b(0x4,_0x1ed99c['ISnapshotServerService'])],_0x152022[_0x3f19b7(0x43a)]);var _0x5e139f=Object[_0x3f19b7(0x3d5)],_0x479256=(_0x2d79be,_0x212665,_0x5f1217,_0x1c0901)=>{const _0x31bb1a=_0x3f19b7;for(var _0x36d419=_0x1c0901>0x1?void 0x0:_0x1c0901?_0x5e139f(_0x212665,_0x5f1217):_0x212665,_0x53f4a0=_0x2d79be[_0x31bb1a(0x26f)]-0x1,_0x24cfc;_0x53f4a0>=0x0;_0x53f4a0--)(_0x24cfc=_0x2d79be[_0x53f4a0])&&(_0x36d419=_0x24cfc(_0x36d419)||_0x36d419);return _0x36d419;},_0x2f1b73=(_0x5d9048,_0x32a41f)=>(_0x4b1abf,_0x46c940)=>_0x32a41f(_0x4b1abf,_0x46c940,_0x5d9048);_0x152022[_0x3f19b7(0x36d)]=class extends _0x389abc[_0x3f19b7(0x3bb)]{constructor(_0x4af04f,_0x5a18d4,_0x1d4691){const _0x49c0bb=_0x3f19b7;super(),this[_0x49c0bb(0x254)]=_0x4af04f,this['_httpService']=_0x5a18d4,this[_0x49c0bb(0x42c)]=_0x1d4691;}async[_0x3f19b7(0x320)](_0x3b2ac6,_0x4494d3,_0xdda68e,..._0x8a95e3){const _0x41d42c=_0x3f19b7;var _0x448bcc,_0x551b9f,_0x518a51,_0x38117f;const _0x3443f3=this['_instanceService']['getFocusedUnit']();if(!_0x3443f3)throw new Error(_0x41d42c(0x2c9));const _0x2f3ae5=((_0x448bcc=this[_0x41d42c(0x42c)][_0x41d42c(0x3ac)](_0x1c1b1d['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x448bcc:_0x1c1b1d[_0x41d42c(0x280)])+'/'+_0x3b2ac6+_0x41d42c(0x251)+_0x4494d3,_0x5981cc=new URL(window['location'][_0x41d42c(0x272)]),_0x2866e8={'scriptId':_0x3b2ac6,'runId':(_0x551b9f=_0x5981cc[_0x41d42c(0x400)][_0x41d42c(0x2c1)](_0x41d42c(0x1e0)))!=null?_0x551b9f:'','function':_0x4494d3,'unitId':_0x3443f3['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x8a95e3),'invokeId':(_0x518a51=_0xdda68e[_0x41d42c(0x32c)])!=null?_0x518a51:'','executionId':(_0x38117f=_0xdda68e[_0x41d42c(0x3d0)])!=null?_0x38117f:''};try{const _0x3cf684=await this[_0x41d42c(0x388)][_0x41d42c(0x341)](_0x2f3ae5,{'body':_0x2866e8});return _0x3cf684[_0x41d42c(0x1cf)][_0x41d42c(0x3ad)]&&_0x3cf684[_0x41d42c(0x1cf)][_0x41d42c(0x3ad)]['code']!==_0xb7f14a['OK']?'Failed':_0x3cf684[_0x41d42c(0x1cf)][_0x41d42c(0x407)];}catch{return _0x41d42c(0x1ab);}}},_0x152022[_0x3f19b7(0x36d)]=_0x479256([_0x2f1b73(0x0,_0x389abc['IUniverInstanceService']),_0x2f1b73(0x1,_0x389abc[_0x3f19b7(0x33f)](_0x2e75b9['HTTPService'])),_0x2f1b73(0x2,_0x389abc['IConfigService'])],_0x152022['RemoteUniscriptService']);const _0x36c3d8=0x7530,_0x314bf6=_0x3f19b7(0x1df);class _0xbffe19 extends _0x389abc[_0x3f19b7(0x3bb)]{constructor(){const _0x4c45a2=_0x3f19b7;super(),_0x2a801e(this,'_id',_0x389abc[_0x4c45a2(0x3a3)]()),_0x2a801e(this,'_selfUnitIDs',new Set()),_0x2a801e(this,_0x4c45a2(0x48b),new Map()),_0x2a801e(this,_0x4c45a2(0x267),null),_0x2a801e(this,_0x4c45a2(0x1a8),new Map()),_0x2a801e(this,'_unitStatus',new Map()),this[_0x4c45a2(0x382)]();}[_0x3f19b7(0x211)](){const _0x528cca=_0x3f19b7;super[_0x528cca(0x211)](),this['_clearOtherTimers'][_0x528cca(0x483)]((_0x4075f7,_0x25ad04)=>this['_removeClearOtherTimer'](_0x25ad04)),this[_0x528cca(0x267)]&&window[_0x528cca(0x1f1)](this['_heartbeatTimer']);}[_0x3f19b7(0x3bf)](_0xe25143){const _0x51210e=_0x3f19b7;return this[_0x51210e(0x229)](_0xe25143)[_0x51210e(0x2ec)](_0x5295a5[_0x51210e(0x486)]());}[_0x3f19b7(0x3b9)](_0x23da37){const _0x17cfa7=_0x3f19b7;this['_selfUnitIDs'][_0x17cfa7(0x1f9)]===0x0&&this[_0x17cfa7(0x427)](),this[_0x17cfa7(0x3f1)]['add'](_0x23da37),this[_0x17cfa7(0x310)]({'type':0x0,'memberID':this[_0x17cfa7(0x244)],'unitIDs':[_0x23da37],'isForwarded':!0x1});}[_0x3f19b7(0x457)](_0x35b29c){const _0x352936=_0x3f19b7;this[_0x352936(0x3f1)][_0x352936(0x41b)](_0x35b29c),this[_0x352936(0x3f1)][_0x352936(0x1f9)]===0x0&&this['_heartbeatTimer']&&window[_0x352936(0x1f1)](this[_0x352936(0x267)]);}['_init'](){const _0x20d4ac=_0x3f19b7;this[_0x20d4ac(0x224)](_0x389abc[_0x20d4ac(0x202)](_0x5295a5[_0x20d4ac(0x3c6)](window,'storage')['subscribe'](_0x1c9eb7=>{const _0x23b395=_0x20d4ac;if(_0x1c9eb7['key']!==_0x314bf6||!_0x1c9eb7[_0x23b395(0x1af)])return;const _0x13eb80=JSON[_0x23b395(0x440)](_0x1c9eb7[_0x23b395(0x1af)]);this[_0x23b395(0x1ee)](_0x13eb80);}))),window[_0x20d4ac(0x3ee)](_0x20d4ac(0x36f),()=>this[_0x20d4ac(0x310)]({'type':0x1,'memberID':this[_0x20d4ac(0x244)],'unitIDs':Array[_0x20d4ac(0x239)](this[_0x20d4ac(0x3f1)])}));}[_0x3f19b7(0x1ee)](_0x26cd46){const _0x5a8fbb=_0x3f19b7;switch(_0x26cd46[_0x5a8fbb(0x233)]){case 0x0:this['_handleJoinEvent'](_0x26cd46);break;case 0x1:this[_0x5a8fbb(0x287)](_0x26cd46);break;case 0x2:this[_0x5a8fbb(0x3a0)](_0x26cd46);break;}}[_0x3f19b7(0x350)](_0x1c7fd7){const _0x7933ed=_0x3f19b7,{unitIDs:_0x4009b5,memberID:_0xba3e79,isForwarded:_0x5d0ff5}=_0x1c7fd7;_0x4009b5[_0x7933ed(0x483)](_0x3e8f15=>{const _0x232571=_0x7933ed;if(!_0x5d0ff5&&this[_0x232571(0x48b)][_0x232571(0x281)](_0x3e8f15)&&this[_0x232571(0x229)](_0x3e8f15)[_0x232571(0x2e6)](_0x1c1b1d[_0x232571(0x479)][_0x232571(0x1d2)]),!this[_0x232571(0x48b)][_0x232571(0x281)](_0x3e8f15)||!this[_0x232571(0x48b)][_0x232571(0x2c1)](_0x3e8f15)[_0x232571(0x281)](_0xba3e79)){const _0x570cbb=this[_0x232571(0x48b)][_0x232571(0x2c1)](_0x3e8f15)||new Set();_0x570cbb[_0x232571(0x1de)](_0xba3e79),this[_0x232571(0x48b)][_0x232571(0x270)](_0x3e8f15,_0x570cbb),this[_0x232571(0x2b5)](_0xba3e79);}}),_0x5d0ff5||this['_send']({'type':0x0,'memberID':this[_0x7933ed(0x244)],'unitIDs':[...this[_0x7933ed(0x3f1)]],'isForwarded':!0x0});}[_0x3f19b7(0x2b5)](_0x56f4ea){const _0x11e011=_0x3f19b7;this[_0x11e011(0x305)](_0x56f4ea);const _0x3dc68e=window['setTimeout'](()=>{const _0x4f5481=_0x11e011;this['_unitOnClients'][_0x4f5481(0x483)](_0x53e7ba=>{const _0xcbdc6=_0x4f5481;_0x53e7ba[_0xcbdc6(0x41b)](_0x56f4ea);});},_0x36c3d8*0x2);this[_0x11e011(0x1a8)][_0x11e011(0x270)](_0x56f4ea,_0x3dc68e);}[_0x3f19b7(0x305)](_0xd88b3a){const _0xde70d2=_0x3f19b7;if(this[_0xde70d2(0x1a8)][_0xde70d2(0x281)](_0xd88b3a)){const _0x377afa=this[_0xde70d2(0x1a8)]['get'](_0xd88b3a);_0x377afa&&window[_0xde70d2(0x415)](_0x377afa),this[_0xde70d2(0x1a8)][_0xde70d2(0x270)](_0xd88b3a,null);}}[_0x3f19b7(0x287)](_0x402a49){const {memberID:_0x202224,unitIDs:_0xe51823}=_0x402a49;_0xe51823['forEach'](_0x517729=>{const _0x17e053=_0x3fe4;var _0x21e26e;const _0x2d9279=this[_0x17e053(0x48b)][_0x17e053(0x2c1)](_0x517729);_0x2d9279&&(_0x2d9279[_0x17e053(0x41b)](_0x202224),(_0x21e26e=this[_0x17e053(0x229)](_0x517729))==null||_0x21e26e['next'](_0x2d9279[_0x17e053(0x1f9)]===0x0?_0x1c1b1d[_0x17e053(0x479)][_0x17e053(0x301)]:_0x1c1b1d['UnitStatus'][_0x17e053(0x1d2)]));}),this['_removeClearOtherTimer'](_0x202224);}[_0x3f19b7(0x3a0)](_0x1d03f3){const _0x1a8200=_0x3f19b7;this['_scheduleClearOtherTimer'](_0x1d03f3[_0x1a8200(0x41a)]);}[_0x3f19b7(0x310)](_0x3714ac){const _0x21ea22=_0x3f19b7;localStorage[_0x21ea22(0x3c9)](_0x314bf6,JSON[_0x21ea22(0x299)](_0x3714ac));}[_0x3f19b7(0x427)](){const _0x11b6c8=_0x3f19b7;this[_0x11b6c8(0x267)]=window[_0x11b6c8(0x2c5)](()=>{const _0x49609a=_0x11b6c8;this[_0x49609a(0x310)]({'type':0x2,'memberID':this['_id']});},_0x36c3d8);}[_0x3f19b7(0x229)](_0x487a00){const _0x571339=_0x3f19b7;return this['_unitStatus']['has'](_0x487a00)||this['_unitStatus'][_0x571339(0x270)](_0x487a00,new _0x5295a5[(_0x571339(0x238))](_0x1c1b1d[_0x571339(0x479)][_0x571339(0x301)])),this[_0x571339(0x3cb)]['get'](_0x487a00);}}_0x152022[_0x3f19b7(0x248)]=_0x3c50f4,_0x152022[_0x3f19b7(0x47f)]=_0x281726,_0x152022[_0x3f19b7(0x48e)]=_0xbffe19,_0x152022['WebURLService']=_0x38e97b,Object['defineProperty'](_0x152022,Symbol[_0x3f19b7(0x38c)],{'value':_0x3f19b7(0x215)});}));function _0x3fe4(_0x5c8af5,_0x2a665c){_0x5c8af5=_0x5c8af5-0x1a4;const _0x269a0e=_0x269a();let _0x3fe459=_0x269a0e[_0x5c8af5];return _0x3fe459;}function _0x269a(){const _0x341507=['next','m2Prime','IConfigService','getSheetBySheetId','history','_localeService','pipe','send','collab-rect-range-','20679510SOAtoo','sheetId','HTTPService','Optional','min','SetSelectionsOperation','DependentOn','YUUMI_ASYNCIO_CANCELLED','rxjs','_transformUndoRedoStack','Vector2','subscribe','_removeCollabCursors','DocSkeletonManagerService','removeEventListener','_revisionService','ILogService','_messageService','NO_OTHER_CLIENTS_EDITING','labelPosition','_drawRectRange','_onCursorDelete','_removeClearOtherTimer','_initStatusComponent','startsWith','switchMap','CONNECTOR_DATA_TOO_LARGE','YUUMI_CONNECTOR_URL_NOT_FOUND','getCollabEntity$','Injector','current','releaseFormulaLimitUrl','INVITE_CODE_ALREADY_BOUND','_send','sheetID','@univerjs/engine-formula','cursorInfo','YUUMI_NO_CUBOID_FOR_QUESTION','_getScale','getFocusedUnit','collabStatus.synced','SNAPSHOT_HAS_BEEN_REMOVED','SUBMIT_CHANGESET_TIMEOUT','_shapes','M0\x200H16V16H0z','tag','currentUsage','ENTITLE_NEED_BILLING_ADDRESS','WECHAT_HAS_BEEN_BOUND','runOnServer','getTypeOfUnitDisposed$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getSkeleton','@univerjs/design','getMemberID','white','isFormulaString','handleInsertRangeMoveDown','getActiveRange','INVITE_CODE_HAS_BEEN_UES','_roomMembers$','invokeId','clipPath','Tooltip','getCollabCursors$','collaboration-client-ui.config','useCallback','getUnit','_handleHover','collabCursorState$','map','?taskId=','UniverSheetsUi','getViewport','_initResize','catch','handleInsertRow','closePath','LocaleService','DEFAULT_WS_SESSION_TICKET_URL','Inject','_docSyncEditingCollabCursorService','post','getLocalCacheKey','CollaborationStatus','MOBILE_HAS_BEEN_BOUND','some','setAlpha','EMAIL_HAS_BEEN_BOUND','_memberService','wsSessionTicketUrl','ISocketService','VIEW_MAIN','string','_online','univer-flex\x20univer-items-center','getVpScrollXYInfoByPosToVp','_handleJoinEvent','UniverIcon','AUTHORIZE_CODE_ILLEGAL','on-line-icon_clip0_910_349','_collaborationSessionService','TEXT_RANGE_LAYER_INDEX','idSuffix','fromEventSubject','LOGIN_FAILED','4170832nuUQSD','entries','@univerjs/rpc','PAYMENT_CHANNEL_NOT_SUPPORT','LICENSE_EXPORT_SIZE_EXCEEDED','COMPLETION_FINISHED','top','@univerjs/network','YUUMI_ALL_TABLES_IS_INVALID','use','MOBILE_VERIFY_CODE_MISMATCH','getSheetObject','IUIPartsService','filter','skeleton','AWAITING_WITH_PENDING','_eventUnsubscribe','ENTITLE_COUPON_EXPIRED','round','_cursorInfo$','RemoteUniscriptService','DOC_RANGE_TYPE','unload','_showGuardMessage','0\x200\x2017\x2016','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_transformHistoryAndStateStack','_docTransformStateCacheService','push','9126639HqnxEG','7htPUHQ','_initDependencies','popstate','DocIMEInputManagerService','engine','LOCAL_CACHE_INTERVAL','black','react/jsx-runtime','rxjs/operators','setTimeout','functionsExecutedState','_init','getTypeOfUnitAdded$','InsertRangeMoveDownCommandId','restore','_checkCalculationAvailable','getRenderById','_httpService','FETCH_MISS','debounce','INVALID_ARGUMENT','toStringTag','sessionTicket','xlink:href','createInstance','endRow','OFFLINE','transformMutationsWithChangeset','UniverDrawing','off-line-icon','ENTITLE_INSUFFICIENT_QUOTA','getValue','http://www.w3.org/2000/svg','collaboration.closeRoom','filename','WebSocketService','enableLocalCache','_localStorageService','COLORS','YUUMI_URL_COL_OUT_OF_RANGE','_cachedData','_handleHeartbeatEvent','blue.400','_renderManagerService','generateRandomId','createIdentifier','isTransformMutationsWithChangesetSuccess','\x20at\x20','FormulaExecuteStageType','handleIRemoveCol','_createSocketURL','RECT','override','getConfig','error','replace','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getSheetId','with','_monkeyPatchLogService','moveTo','totalFormulasToCalculate','ILocalStorageService','show','_assignedColors','_render','editingUnit','APPLY_REJECT','Disposable','stageInfo','_onCursorUpdate','_entities','getUnitStatus$','IMessageService','mask','onPointerMove$','_anchor','max','_sheetSkeletonManagerService','fromEvent','find','transformMutation','setItem','_maxFormulaLimit','_unitStatus','[Unhandled\x20Rejection]:\x20','runRefRangeMutations','getAncestorScale','stage','executionId','onCommandExecuted','handleInsertCol','CollaborationSocketService','currentTheme$','getOwnPropertyDescriptor','SYNCED','CollaborationUIEventId','rgba(255,\x20255,\x20255,\x200.01)','session.will-retry','RegularPolygon','touchDependencies','code','textRanges','NodePositionConvertToRectRange','lineTo','subunit','UniverInstanceType','url(#off-line-icon_clip0_910_343)','Success','addHandlerCallback','handleMoveRange','defineProperty','evenodd','_localCacheService','TOO_MANY_REQUESTS','transform','CollaborationSessionService','collabStatus.notCollab','UNIVER_DOC','addEventListener','_collabCursorState$','ERROR_AGAIN','_selfUnitIDs','debounceTime','getColor','SheetSkeletonManagerService','asObservable','isTransformMutationFailure','EMAIL_VERIFY_CODE_MISMATCH','getCellPositionByOffset','_disabled','range','_updateURLWithCurrentState','_univerInstanceService','APPLY_REVISION_CONFILICT','_initEntityListener','contains','searchParams','url(#on-line-icon_clip0_910_349)','_textBubble','_registerRenderDependencies','Workbook','origin','UniverCore','result','UNIVER_SHEET','addObject','_getFormulaLimitStatus','onMouseMove','3300248vJvXos','_collaborationController','getCellMatrix','_name','CLOSE_ROOM','LICENSE_DISTRO_REJECTED','_lastPointer','measureText','getformulaLimitStatusUrl','clearTimeout','assignAColorForMemberID','getMergeData','INVITE_CODE_REQUIRED','IUniverInstanceService','memberID','delete','deserializeRangeWithSheet','save','then','_uiPartsService','SetFormulaCalculationNotificationMutation','_getSessionTicket','REDEMPTION_USER_REDEEM_TIMES_EXCEED','IRemoteInstanceService','ENTITLE_REPORT_LIMIT_EXCEED','SHEET_VIEWPORT_KEY','Error','_scheduleHeartbeat','height','displayName','_initEvent','purple.300','_configService','addClipboardHook','sessionStatus$','off-line-icon_clip0_910_343','_logService','DocCollaborationEntity','REDEMPTION_USER_NOT_ELIGIBLE','makeDirty','_colorAssignService','startRow','_docSkeletonManagerService','unitId','/universer-api/license/formula/limit/start','replaceDocRanges','BrowserCollaborationSocketService','7036555EfdMzq','onLocalMutation','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','NOT_COLLAB','_transformService','parse','ONLINE','mapTo','CanceledError','defIds','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_onRefRangeChange','_backgroundColor','Shape','_updateSubUnitFromURLParams','getUnitId','_docTransformIMECacheService','mutations','_uploadLog','trim','getParam','data','collab-client.tooltip.reconnect','reconnect','operators','div','OnLineIcon','drawWith','disposeUnit','setActiveRange','PY_RUNTIME_SCRIPT_ERROR','EffectRefRangId','cursorInfo$','shift','_cursors','@univerjs/docs-ui','getMember','@univerjs/core','Plugin','limitInfo','_refRangeService','transformByState','color','ThemeService','_themeService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','session.collaboration-timeout','SetDocZoomRatioOperation','location','react','_draw','UniverEngineFormula','subscribeEvent','stack','createSocket','selection','6PJSZzB','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_colorIndex','_syncEditingCollabCursorService','useRef','whenReady','UnitStatus','Tools','width','dirtyRanges','complete','SessionStatus','SheetCollabCursorShape','UniverSheets','text','getRelativeToViewportCoord','forEach','APPLY_DUPLICATED','_injector','distinctUntilChanged','mergeOverrideWithDependencies','MoveRangeCommandId','INTERNAL_ERROR','combineLatest','_unitOnClients','redoState','START_CALCULATION','WebBrowserSingleActiveUnitService','unit','translate(.97)','TEXT','_status$','registerDependencies','_clearOtherTimers','reason','YUUMI_SUBSCRIPTION_NOT_FOUND','Failed','imageSourceType','handleInsertRangeMoveRight','socket$','newValue','resize','_updateLocalCursor','forwardRef','_drawAnchor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','RemoveColCommandId','unsubscribe','USERS_LEAVE','Unknown\x20user','transformRemoteChangeset','takeUntil','NOT_FOUND','throttleTime','enableFrontendLog','ICommandService','_context','LOGIN_TOKEN_PROCESSING_FAILED','getActiveSheet','ENTITLE_CHAT_LIMIT_EXCEED','fillStyle','saveOfflineData','parseInt','MessageType','LICENSE_MAX_UNITS_EXCEEDED','attrs','_beforeCloseService','IBeforeCloseService','row','_saveCache','merge','PERMISSION_DENIED','body','column','RevisionService','OTHER_CLIENTS_EDITING','transformIMECache','m1Prime','_initCommandExecutedListener','_document','random','selections','ENSURE_SNAPSHOT_EXECUTION','_session','CURRENT_STATUS_CANNOT_OPERATE','getItem','assign','add','ACTIVE_UNIT_EVENT_CHANNEL','runId','pushState','ENTITLE_DUP_SUBSCRIPTION','1wSXJky','ENTITLE_INVALID_COUPON_CODE','replaceState','startColumn','setShapeProps','toRgbString','saveImage','SetWorksheetActivateCommand','unshift','findNodePositionByCharIndex','ITransformService','_handleEvent','getUnhiddenWorksheets','values','clearInterval','getCoordByCell','_labelPosition','Rect','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','connectInjector','url(#$1','SetTextSelectionsOperation','size','getUndoRedoMutationParamsCache','formula.calculation.waiting','SheetsSelectionsService','beginPath','BuiltInUIPart','all','_scheduleSaving','_getAnchorBounding','toDisposable','_anchorDot','/universer-api/license/formula/limit/done','unhandledrejection','transformStateCache','red.300','SNAPSHOT_INVALID_SNAPSHOT','_setFormulaLimitStatus','_setupBeforeClosingHandler','REDEMPTION_CODE_HAS_BEEN_CREATED','CollaborationEvent','hovered','exports','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_currentUsage','dispose','_collabCursorController','ENTITLE_COUPON_USED_UP','DataLoaderService','Module','amd','_getSheetObject','addObjects','_range','UPDATE_CURSOR','ranges','useObservable','_initWindowErrorListener','USER_NOT_FOUND','_setupSubUnitSync','[LogService\x20Error]:\x20','YUUMI_AI_RUN_FAILED','yellow.400','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','disposeWithMe','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_refreshCollabCursors','UNAUTHENTICATED','_getSaveTimeout','_ensureSubject','getCurrentSelections','/universer-api/license/formula/limit/status','_toggleOnline','UNDEFINED','registerRenderModule','_cursor','ENTITLE_USE_COUPON_NOT_1ST_TRADE','undoState','message','type','ALREADY_EXISTS','JOIN_ROOM_FAILED','SUCCESS','univerjs-icon\x20univerjs-icon-','BehaviorSubject','from','toString','_pollingInterval','name','_checkAndWaitForCalculationPermission','_doCreateSocket','isFormulaId','clsx','unitID','setParam','FromArray','_id','getRangePointData','none','_memberID','IURLService','_clearPolling','useDependency','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','urlChange$','REDEMPTION_CODE_NOT_STARTED','UniverCollaborationClientUIPlugin','docStateChange$','fillText','/run/','maxFormulaLimit','DesktopCollaborationStatusDisplayController','_instanceService','onPointerLeave$','_startCalculationLimit','APPLY_NON_SEQUENTIAL_REVISION','REDEMPTION_INVALID_CODE','SOCKET_FAILED','REDEMPTION_CODE_INACTIVE','REDEMPTION_CODE_FULLY_REDEEMED','DocStateChangeManagerService','Subject','executeCommand','isActive','USER_NOT_INVITED_CODE','NodePositionConvertToCursor','CommandType','bind','jsx','RxDisposable','UniverDocs','_heartbeatTimer','ILocalCacheService','ColorKit','_hideTimer','activeSheet$','createElement','YUUMI_RATE_OVER_LIMIT','MemberService','length','set','setStateCache','href','@univerjs-pro/collaboration-client','_saveTaskMap','collabStatus.fetchMiss','DeleteRangeMoveUpCommandId','syncEditingCollabCursor','transformSelections','_cursorShapes','_updateCollabCursors','collaboration.offline-data-not-saved','registerBeforeClose','collaboration.single-unit.warning','roomMembers','1em','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','has','_getMergeRange','4484910wwUiyz','debug','collabStatus.syncing','_initUnhandledRejectionListener','_handleLeaveEvent','/universer-api/frontend/logs','Warning','getColorFromTheme','InsertColCommandId','DocSelectionManagerService','collabStatus.offline','defs','_registerDependencies','_config','uni.network.url-service','[Window\x20Error]:\x20','init','_lastResponseTimestamp','_docSkeleton','UniverProCollaborationClient','params','APPLY_PERMISSION_DENIED','stringify','YUUMI_UNABLE_LOAD_URL','font','beforeCommandExecuted','backgroundColor','_collabSessionService','CONFLICT','Loading','_taskIds','currentColor','svg','_imageIoService','arc','_initStatusListener','CollaborationController','_toggleOffline','isArray','now','jsxs','colorChannel1','jiqing.500','fill','LICENSE_IMPORT_SIZE_EXCEEDED','children','_commandService','dispose$','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UniverDocsUi','_scheduleClearOtherTimer','UniverCollaborationClientPlugin','_docStateChangeManagerService','CollaborationUIEventService','_hover','eventID','[CollaborationDataLoaderController]','_color','3154298UJClMF','_initCommandInterceptor','lineno','CollaborationDataLoaderController','get','collabStatus.conflict','_releaseCalculationLimit','_hovered','setInterval','_initUserListener','RefRangeService','doc.mutation.rich-text-editing','[RemoteUniscriptService]:\x20no\x20focused\x20unit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','currentSkeleton$','onTransformChange$','_hasFormulaInDirtyRanges','deepClone','saveTaskMap','getCurrentRevOfUnit','_urlService','_transformPreviousActiveRange','event$','_entityInit$','_docClipboardService','_startDocCollabCursor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','...','_scene','@univerjs/sheets','_collaborationUIEventService','bottom','join','InsertRowCommandId','symbol','green.600','on-line-icon','IRenderManagerService','path','formula.calculation.started','hide'];_0x269a=function(){return _0x341507;};return _0x269a();}
|
|
1
|
+
function _0x23ff(_0x133aa3,_0x15e92a){_0x133aa3=_0x133aa3-0xcd;const _0x415cdf=_0x415c();let _0x23ffbd=_0x415cdf[_0x133aa3];return _0x23ffbd;}function _0x415c(){const _0x5ee791=['getCurrentSelections','_docTransformIMECacheService','PY_RUNTIME_SCRIPT_ERROR','url(#$1','findNodePositionByCharIndex','#FFF','colorChannel1','_instanceService','_onCursorUpdate','IMessageService','REDEMPTION_CODE_NOT_STARTED','_drawTextRange','shift','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','clearTimeout','_refRangeService','off-line-icon_clip0_910_343','fromEvent','moveTo','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverDrawing','YUUMI_RATE_OVER_LIMIT','[Unhandled\x20Rejection]:\x20','currentColor','UniverProCollaborationClientUi','stack','1RfOciX','deserializeRangeWithSheet','attrs','_updateLocalCursor','_colorIndex','defIds','_handleJoinEvent','from','[Window\x20Error]:\x20','_handleEvent','syncEditingCollabCursor','merge','getformulaLimitStatusUrl','symbol','textRanges','IBeforeCloseService','totalFormulasToCalculate','[CollaborationDataLoaderController]','invokeId','beginPath','params','_memberService','_docSkeleton','MUTATION','USER_NOT_INVITED_CODE','socket$','getDocRanges','95msPpTl','UniverCore','_initCommandExecutedListener','_send','_toggleOnline','IRemoteInstanceService','storage','DocCollaborationEntity','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','handleInsertCol','_heartbeatTimer','restore','COLORS','IRenderManagerService','_refreshCollabCursors','LOCAL_CACHE_INTERVAL_KEY','OFFLINE','Success','LICENSE_EXPORT_SIZE_EXCEEDED','_handleHeartbeatEvent','UniverNetwork','replaceState','REDEMPTION_CODE_INACTIVE','UniverEngineFormula','_renderManagerService','Optional','WebBrowserSingleActiveUnitService','UNRECOGNIZED','stringify','color','@univerjs/docs','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ENTITLE_CHAT_LIMIT_EXCEED','BuiltInUIPart','collaboration.single-unit.warning','idSuffix','displayName','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverDocs','APPLY_NON_SEQUENTIAL_REVISION','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_anchor','selections','column','3661ZCNsSc','_checkAndWaitForCalculationPermission','enableLocalCache','INVALID_ARGUMENT','_startCalculationLimit','replace','NodePositionConvertToCursor','NodePositionConvertToRectRange','_clearOtherTimers','unload','BrowserCollaborationSocketService','cursorInfo$','_initUnhandledRejectionListener','OTHER_CLIENTS_EDITING','serializeRangeWithSheet','START_CALCULATION','_docSkeletonManagerService','some','size','_status$','1402616ugmBkY','onPointerEnter$','getCoordByCell','_doCreateSocket','fill','getRelativeToViewportCoord','entityInit$','Inject','UnitStatus','LICENSE_MAX_UNITS_EXCEEDED','getFocusedUnit','docStateChange$','_registerRenderDependencies','unit','getMember','actions','setUndoRedoMutationParamsCache','undoState','Injector','blue.400','SetDocZoomRatioOperation','on-line-icon_clip0_910_349','[RemoteUniscriptService]:\x20no\x20focused\x20unit','operators','DOC_RANGE_TYPE','tag','ENSURE_SNAPSHOT_EXECUTION','ITransformService','_docTransformSelectionsService','fillStyle','Rectangle','TEXT_RANGE_LAYER_INDEX','ISnapshotServerService','href','/universer-api/license/formula/limit/done','startColumn','UniverDocsUi','transformStateCache','collabStatus.offline','INVITE_CODE_HAS_BEEN_UES','find','_cursor','_createSocketURL','_messageService','4581rnwBGZ','isActive','_initEntityListener','UNAUTHENTICATED','onRendered','red.300','activeSheet$','ISocketService','_shapes','UniverSheets','_configService','InsertRangeMoveDownCommandId','_themeService','_pollingInterval','_commandService','React','parseInt','amd','function','_updateSubUnitFromURLParams','ENTITLE_CAN_NOT_BUY_LOWER_OTP','HTTPService','_onCursorDelete','APPLY_PERMISSION_DENIED','white','green.600','_document','disableLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','length','_initResize','IDocClipboardService','_checkCalculationAvailable','history','getViewport','sheetId','getStateCache','removeEventListener','deepClone','USER_IS_ANONYMOUS','on-line-icon','pushState','UNIVER_DOC','enableFrontendLog','eventID','DocIMEInputManagerService','touchDependencies','setItem','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','collaboration.offline-data-not-saved','INTERNAL_ERROR','handleDeleteRangeMoveUp','UniverInstanceType','SheetsSelectionsService','complete','getMemberID','CommandType','unhandledrejection','executeCommand','_docClipboardService','_hideTimer','translate(.97)','onPointerLeave$','unsubscribe','error','replaceDocRanges','forEach','generateRandomId','font','INVALID_INVITE_CODE','setAlpha','registerRenderModule','_transformService','getConfig','_cursors','takeUntil','_scheduleClearOtherTimer','dispose$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CONNECTOR_DATA_TOO_LARGE','INotificationService','MOBILE_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','Plugin','LOCAL_CACHE_INTERVAL','DeleteRangeMoveUpCommandId','_getMergeRange','save','type','_drawAnchor','uni.network.url-service','_saveTaskMap','engine','getActiveRange','IImageIoService','yellow.400','url(#off-line-icon_clip0_910_343)','_online','getOwnPropertyDescriptor','width','application/json','_initStatusListener','?taskId=','useRef','@univerjs/engine-formula','univerjs-icon\x20univerjs-icon-','debug','@univerjs/docs-ui','_sheetSkeletonManagerService','stageInfo','getRangePointData','_collaborationController','children','_initWindowErrorListener','createElement','collaboration.closeRoom','addObject','_urlService','startRow','LICENSE_DISTRO_REJECTED','asObservable','values','labelPosition','_collaborationSessionService','transformByState','NOT_FOUND','unshift','addClipboardHook','startFormulaLimitUrl','MemberService','getTypeOfUnitAdded$','_eventUnsubscribe','univer-mr-2\x20univer-flex\x20univer-text-xl','WECHAT_HAS_BEEN_BOUND','YUUMI_NO_CUBOID_FOR_QUESTION','_cachedData','purple.300','@univerjs-pro/collaboration-client','AWAITING_WITH_PENDING','RemoveColCommandId','round','_transformPreviousActiveRange','popstate','measureText','DisposableCollection','@univerjs-pro/collaboration','use','endRow','DocSkeletonManagerService','urlChange$','fillText','collab-text-anchor-','registerDependencies','bottom','SetWorksheetActivateCommand','join','ENTITLE_INVALID_COUPON_CODE','_draw','handleInsertRangeMoveDown','_localeService','ERROR_AGAIN','_initCommandInterceptor','handleDeleteRangeMoveLeft','NO_OTHER_CLIENTS_EDITING','getValue','row','string','_id','set','IUIPartsService','setShapeProps','useObservable','@univerjs/drawing','Subject','_startSheetCollabCursor','resize','executionId','_releaseCalculationLimit','maxFormulaLimit','FETCH_MISS','IUniverInstanceService','TOO_MANY_REQUESTS','...','_assignedColors','_localCacheService','_dataLoaderService','0\x200\x2016\x2016','range','collab-rect-range-','div','DesktopCollaborationStatusDisplayController','whenReady','_logService','code','ENTITLE_COUPON_EXPIRED','getUnitId','isEditing','_disabled','split','CURRENT_STATUS_CANNOT_OPERATE','Unknown\x20user','all','UNIVER_SHEET','getItem','_updateURLWithCurrentState','collabCursorState$','roomMembers','lineTo','transformIMECache','_docSyncEditingCollabCursorService','_imageIoService','_httpService','reconnect','YUUMI_UNABLE_LOAD_URL','_onRefRangeChange','searchParams','with','path','loadOfflineData','Rect','object','_docStateChangeManagerService','getUndoRedoMutationParamsCache','exhaustSavingTask','currentSkeleton$','CanceledError','map','Failed','registerComponent','pipe','xlink:href','RegularPolygon','CollaborationSocketService','filename','DEFAULT_WS_SESSION_TICKET_URL','mapTo','createSocket','@univerjs/engine-render','subunit','getCollabCursors$','_scheduleHeartbeat','SheetSkeletonManagerService','now','text','PERMISSION_DENIED','session.will-retry','SHEET_VIEWPORT_KEY','COMPLETION_FINISHED','getCurrentUnitForType','filter','memberID','1048qVyPQL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','transformMutation','UPDATE_CURSOR','functionsExecutedState','1em','add','name','saveTaskMap','M0\x200H16V16H0z','combineLatest','ALREADY_EXISTS','registerBeforeClose','_entityInit$','YUUMI_CONNECTOR_URL_NOT_FOUND','setInterval','_cursorInfo$','DocStateChangeManagerService','_textBubble','FormulaExecuteStageType','_lastPointer','isTransformMutationFailure','PENDING','fillRule','_labelPosition','setTimeout','clsx','CollaborationEvent','limitInfo','1538452ftEuxJ','univer-flex\x20univer-items-center','ENTITLE_COUPON_USED_UP','height','_getScale','_toggleOffline','PAYMENT_CHANNEL_NOT_SUPPORT','Disposable','switchMap','CollaborationDataLoaderController','_getSessionTicket','hovered','getUnhiddenWorksheets','_hasFormulaInDirtyRanges','@univerjs/sheets-ui','debounceTime','transformSelections','collabStatus.fetchMiss','ENTITLE_NEED_BILLING_ADDRESS','includes','InsertRangeMoveRightCommandId','message','RevisionService','DeleteRangeMoveLeftCommandId','AUTHORIZE_CODE_ILLEGAL','delete','updateOfflineData','http://www.w3.org/2000/svg','_currentUsage','_monkeyPatchLogService','FromArray','Warning','clearInterval','toString','18740GRzrFE','_initUserListener','init','_getSaveTimeout','show','YUUMI_ASYNCIO_CANCELLED','Tools','subscribe','has','useCallback','search','_collabSessionService','DependentOn','SetTextSelectionsOperation','SNAPSHOT_INVALID_SNAPSHOT','MessageType','UniverCollaborationClientPlugin','EMAIL_VERIFY_CODE_MISMATCH','unitId','entries','UniverIcon','APPLY_DUPLICATED','defineProperty','getColor','onLocalMutation','@univerjs/ui','body','getUnit','_applyCommand','NOT_COLLAB','_setupSubUnitSync','getLocalCacheKey','min','saveImage','_memberID','EMAIL_HAS_BEEN_BOUND','SheetCollabCursorShape','BehaviorSubject','TEXT','_clearPolling','mutations','bind','collabStatus.synced','getSkeleton','closePath','rxjs','push','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','629190hvAJSk','YUUMI_AI_RUN_FAILED','ThemeService','selection','REDEMPTION_CODE_FULLY_REDEEMED','IConfigService','@univerjs/rpc','_session','\x20at\x20','@univerjs/sheets','jsx','_beforeCloseService','sessionStatus$','url(#on-line-icon_clip0_910_349)','_render','then','REDEMPTION_CODE_HAS_BEEN_CREATED','_init','saveOfflineData','collabStatus.notCollab','event$','10503614PvdpgM','RichTextEditingMutation','m2Prime','disposeWithMe','AWAITING','_getFormulaLimitStatus','getRenderById','key','_uiPartsService','_univerInstanceService','drawWith','_anchorDot','EffectRefRangId','APPLY_REVISION_CONFILICT','skeleton','OnLineIcon','LocaleService','VIEW_MAIN','SNAPSHOT_HAS_BEEN_REMOVED','_cursorShapes','_setFormulaLimitStatus','getColorFromTheme','_taskIds','_localStorageService','_name','LOGIN_FAILED','sessionTicket','MOBILE_VERIFY_CODE_MISMATCH','onTransformChange$','session.collaboration-timeout','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','DataLoaderService','_scheduleSaving','onStarting','createInstance','doc.mutation.rich-text-editing','_saveCache','getCellPositionByOffset','toDisposable','permission.content','setParam','_uploadLog','getSheetId','addEventListener','removeParam','REDEMPTION_INVALID_CODE','post','ACTIVE_UNIT_EVENT_CHANNEL','CollaborationUIEventService','formula.calculation.unable','trim','RxDisposable','requireSession','random','isArray','CollaborationUIEventId','CHANGESET_REVISION_CONFILICT','ICommandService','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','INVITE_CODE_ALREADY_BOUND','_transformUndoRedoStack','send','location','UniverRpc','addObjects','_range','ILogService','WebURLService','makeDirty','_handleHover','_initStatusComponent','ENTITLE_REPORT_LIMIT_EXCEED','_removeClearOtherTimer','CONFLICT','_hover','flatMap','backgroundColor','subUnitId','subscribeEvent','jsxs','_syncEditingCollabCursorService','formula.calculation.started','next','catch','SOCKET_FAILED','formula.calculation.waiting','clipPath','onMouseMove','ENTITLE_INSUFFICIENT_QUOTA','RemoteUniscriptService','defs','getSheetBySheetId','_color','_collaborationUIEventService','_revisionService','_hovered','_backgroundColor','UNDEFINED','_collabCursorState$','ENTITLE_USE_COUPON_NOT_1ST_TRADE','exports','toStringTag','get','CollaborationController','override','transformMutationsWithChangeset','evenodd','SetFormulaCalculationNotificationMutation','SUBMIT_CHANGESET_TIMEOUT','runRefRangeMutations','_selfUnitIDs','editingUnit','_context','[LogService\x20Error]:\x20','_collabCursorController','Error','result','cursorInfo','useDependency','LICENSE_IMPORT_SIZE_EXCEEDED','getUnitStatus$','getAncestorScale','collaboration-client-ui.config','ILocalCacheService','_removeCollabCursors','_transformHistoryAndStateStack','_injector','_ensureSubject','status$','onCommandExecuted','ranges','current','INVITE_CODE_REQUIRED','CLOSE_ROOM','releaseFormulaLimitUrl','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','isTransformMutationsWithChangesetSuccess','RefRangeService','_handleLeaveEvent','contains','registerRefRange','ticket','imageSourceType','assignAColorForMemberID','_updateCollabCursors','_getSheetObject','runOnServer','react','m1Prime','getOffsetConfig','Vector2','CollaborationStatus','ENTITLE_DUP_SUBSCRIPTION','DATA_SOURCE_TOO_LARGE','_registerDependencies','redoState','_initDependencies','data','_unitOnClients','stage','arc','getCollabEntity$','UniverProCollaborationClient','ONLINE','YUUMI_ALL_TABLES_IS_INVALID','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Shape','_colorAssignService','dispose','@univerjs/network','_docTransformStateCacheService','UniverUi','CollaborationSessionService','currentTheme$','/run/','_drawRectRange','_lastResponseTimestamp','154344zBraSC','ColorKit','collab-text-range-','transformRemoteChangeset','react/jsx-runtime','_config','hide','_getAnchorBounding','runId','triggerDblclick','fromEventSubject','_entities','getActiveSheet','substring','_scene','unitID','top','SYNCED','mask','getTypeOfUnitDisposed$','currentUsage','SetSelectionsOperation','_showGuardMessage','_roomMembers$','getParam','LOGIN_TOKEN_PROCESSING_FAILED','0\x200\x2017\x2016','roomMembers$','UniverCollaborationClientUIPlugin','UniverDesign','handleInsertRangeMoveRight','getVpScrollXYInfoByPosToVp','/universer-api/license/formula/limit/start','REDEMPTION_USER_NOT_ELIGIBLE','_unitStatus','_setupBeforeClosingHandler','collabStatus.conflict','debounce','toRgbString','black','newValue','endColumn','APPLY_REJECT','DocSelectionManagerService','assign','SessionStatus','_maxFormulaLimit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED'];_0x415c=function(){return _0x5ee791;};return _0x415c();}(function(_0x19eb79,_0x5a0976){const _0x143e34=_0x23ff,_0x3c33ec=_0x19eb79();while(!![]){try{const _0x59a695=-parseInt(_0x143e34(0x1fc))/0x1*(-parseInt(_0x143e34(0x257))/0x2)+-parseInt(_0x143e34(0xec))/0x3+-parseInt(_0x143e34(0x39b))/0x4+parseInt(_0x143e34(0x217))/0x5*(parseInt(_0x143e34(0x1b2))/0x6)+parseInt(_0x143e34(0x243))/0x7*(-parseInt(_0x143e34(0x37e))/0x8)+parseInt(_0x143e34(0x283))/0x9*(parseInt(_0x143e34(0x3bd))/0xa)+-parseInt(_0x143e34(0x101))/0xb;if(_0x59a695===_0x5a0976)break;else _0x3c33ec['push'](_0x3c33ec['shift']());}catch(_0x546ee3){_0x3c33ec['push'](_0x3c33ec['shift']());}}}(_0x415c,0x80778),function(_0x2ff24f,_0x233c40){const _0x4d3d90=_0x23ff;typeof exports==_0x4d3d90(0x35f)&&typeof module<'u'?_0x233c40(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==_0x4d3d90(0x295)&&define[_0x4d3d90(0x294)]?define([_0x4d3d90(0x165),_0x4d3d90(0x1b6),_0x4d3d90(0x30c),'@univerjs/core',_0x4d3d90(0xd5),'rxjs','@univerjs/design',_0x4d3d90(0x194),_0x4d3d90(0xf2),_0x4d3d90(0xf5),_0x4d3d90(0x370),_0x4d3d90(0x1aa),_0x4d3d90(0x2ee),_0x4d3d90(0x32f),_0x4d3d90(0x314),_0x4d3d90(0x235),_0x4d3d90(0x2eb),'rxjs/operators',_0x4d3d90(0x3a9)],_0x233c40):(_0x2ff24f=typeof globalThis<'u'?globalThis:_0x2ff24f||self,_0x233c40(_0x2ff24f[_0x4d3d90(0x1fa)]={},_0x2ff24f[_0x4d3d90(0x292)],_0x2ff24f[_0x4d3d90(0x1a3)],_0x2ff24f[_0x4d3d90(0x218)],_0x2ff24f[_0x4d3d90(0x1ac)],_0x2ff24f[_0x4d3d90(0xe9)],_0x2ff24f[_0x4d3d90(0x1cf)],_0x2ff24f[_0x4d3d90(0x292)],_0x2ff24f[_0x4d3d90(0x140)],_0x2ff24f[_0x4d3d90(0x28c)],_0x2ff24f['UniverEngineRender'],_0x2ff24f[_0x4d3d90(0x22b)],_0x2ff24f[_0x4d3d90(0x27b)],_0x2ff24f[_0x4d3d90(0x1f6)],_0x2ff24f['UniverProCollaboration'],_0x2ff24f[_0x4d3d90(0x23d)],_0x2ff24f[_0x4d3d90(0x22e)],_0x2ff24f[_0x4d3d90(0xe9)][_0x4d3d90(0x26e)],_0x2ff24f['UniverSheetsUi']));}(this,function(_0x26c668,_0x4fda79,_0x1cadbe,_0x1bf86e,_0x14309e,_0x57a56c,_0x11570c,_0x570572,_0x229971,_0x583c41,_0x5dba15,_0x53849d,_0x24bca5,_0x1319d8,_0x46b617,_0x4c6158,_0x497297,_0x57665e,_0x480426){'use strict';const _0xb09cf6=_0x23ff;var _0x350c73=Object[_0xb09cf6(0xd2)],_0x4ab818=(_0x4e391a,_0x2e1fbb,_0x3f0568)=>_0x2e1fbb in _0x4e391a?_0x350c73(_0x4e391a,_0x2e1fbb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f0568}):_0x4e391a[_0x2e1fbb]=_0x3f0568,_0x49be5c=(_0xd19785,_0x2b758c,_0x46a3d1)=>_0x4ab818(_0xd19785,typeof _0x2b758c!=_0xb09cf6(0x209)?_0x2b758c+'':_0x2b758c,_0x46a3d1);function _0x15da6d({ref:_0x2e0f52,..._0x4b72f4}){const _0x188fca=_0xb09cf6,{icon:_0x15ccc7,id:_0x32a8f2,className:_0x39cbe3,extend:_0x5ba054,..._0x56c74c}=_0x4b72f4,_0x31010b=(_0x188fca(0x2ec)+_0x32a8f2+'\x20'+(_0x39cbe3||''))[_0x188fca(0x133)](),_0x5d44e5=_0x570572[_0x188fca(0x2ea)]('_'+_0x3980a0());return _0x6e81ca(_0x15ccc7,''+_0x32a8f2,{'defIds':_0x15ccc7[_0x188fca(0x201)],'idSuffix':_0x5d44e5[_0x188fca(0x184)]},{'ref':_0x2e0f52,'className':_0x31010b,..._0x56c74c},_0x5ba054);}function _0x6e81ca(_0x5b2ec4,_0x5ce0e5,_0x2a963c,_0x2c74c8,_0x10e501){const _0x4f8082=_0xb09cf6;return _0x570572['createElement'](_0x5b2ec4[_0x4f8082(0x270)],{'key':_0x5ce0e5,..._0x38828f(_0x5b2ec4,_0x2a963c,_0x10e501),..._0x2c74c8},(_0x4ea08c(_0x5b2ec4,_0x2a963c)[_0x4f8082(0x2f3)]||[])[_0x4f8082(0x365)]((_0x58d573,_0xc7c00b)=>_0x6e81ca(_0x58d573,_0x5ce0e5+'-'+_0x5b2ec4[_0x4f8082(0x270)]+'-'+_0xc7c00b,_0x2a963c,void 0x0,_0x10e501)));}function _0x38828f(_0x18510b,_0x33bfac,_0x9a6f3c){const _0x348ef6=_0xb09cf6,_0x2221ee={..._0x18510b['attrs']};_0x9a6f3c!=null&&_0x9a6f3c['colorChannel1']&&_0x2221ee['fill']===_0x348ef6(0x1e8)&&(_0x2221ee[_0x348ef6(0x25b)]=_0x9a6f3c[_0x348ef6(0x1e8)]),_0x18510b[_0x348ef6(0x270)]===_0x348ef6(0x1c4)&&_0x2221ee['id']&&(_0x2221ee['id']=_0x2221ee['id']+_0x33bfac[_0x348ef6(0x23a)]),Object[_0x348ef6(0xcf)](_0x2221ee)[_0x348ef6(0x2c5)](([_0x3605cc,_0x29d966])=>{const _0x495a86=_0x348ef6;_0x3605cc===_0x495a86(0x1c4)&&typeof _0x29d966=='string'&&(_0x2221ee[_0x3605cc]=_0x29d966[_0x495a86(0x248)](/url\(#(.*)\)/,_0x495a86(0x1e5)+_0x33bfac['idSuffix']+')'));});const {defIds:_0x1b2f35}=_0x33bfac;return!_0x1b2f35||_0x1b2f35[_0x348ef6(0x2a0)]===0x0||(_0x18510b[_0x348ef6(0x270)]===_0x348ef6(0x315)&&_0x2221ee['xlink:href']&&(_0x2221ee[_0x348ef6(0x369)]=_0x2221ee['xlink:href']+_0x33bfac[_0x348ef6(0x23a)]),Object['entries'](_0x2221ee)['forEach'](([_0x487b00,_0x5df820])=>{const _0x567da1=_0x348ef6;typeof _0x5df820==_0x567da1(0x329)&&(_0x2221ee[_0x487b00]=_0x5df820[_0x567da1(0x248)](/url\(#(.*)\)/,_0x567da1(0x1e5)+_0x33bfac[_0x567da1(0x23a)]+')'));})),_0x2221ee;}function _0x4ea08c(_0xdb5173,_0x5997a5){const _0x55d837=_0xb09cf6;var _0x396fcc;const {defIds:_0x599bf9}=_0x5997a5;return!_0x599bf9||_0x599bf9[_0x55d837(0x2a0)]===0x0?_0xdb5173:_0xdb5173[_0x55d837(0x270)]==='defs'&&((_0x396fcc=_0xdb5173[_0x55d837(0x2f3)])!=null&&_0x396fcc[_0x55d837(0x2a0)])?{..._0xdb5173,'children':_0xdb5173['children']['map'](_0x3de00c=>typeof _0x3de00c[_0x55d837(0x1fe)]['id']=='string'&&_0x599bf9&&_0x599bf9[_0x55d837(0x3ae)](_0x3de00c[_0x55d837(0x1fe)]['id'])?{..._0x3de00c,'attrs':{..._0x3de00c['attrs'],'id':_0x3de00c[_0x55d837(0x1fe)]['id']+_0x5997a5[_0x55d837(0x23a)]}}:_0x3de00c)}:_0xdb5173;}function _0x3980a0(){const _0x41f4c1=_0xb09cf6;return Math[_0x41f4c1(0x136)]()[_0x41f4c1(0x3bc)](0x24)[_0x41f4c1(0x1bf)](0x2,0x8);}_0x15da6d[_0xb09cf6(0x23b)]=_0xb09cf6(0xd0);const _0x2c78e4={'tag':'svg','attrs':{'xmlns':_0xb09cf6(0x3b6),'fill':'none','viewBox':_0xb09cf6(0x33d),'width':'1em','height':_0xb09cf6(0x383)},'children':[{'tag':'g','attrs':{'clipPath':_0xb09cf6(0x2e3)},'children':[{'tag':_0xb09cf6(0x35c),'attrs':{'stroke':_0xb09cf6(0x1f9),'d':_0xb09cf6(0x2b3),'strokeLinecap':_0xb09cf6(0x30f),'strokeLinejoin':_0xb09cf6(0x30f),'strokeWidth':1.2}}]},{'tag':_0xb09cf6(0x15b),'attrs':{},'children':[{'tag':_0xb09cf6(0x157),'attrs':{'id':_0xb09cf6(0x1f2)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0xb09cf6(0x387)}}]}]}],'defIds':[_0xb09cf6(0x1f2)]},_0x72ba9b=_0x570572['forwardRef'](function(_0x5abe89,_0x359ed1){const _0x348d26=_0xb09cf6;return _0x570572[_0x348d26(0x2f5)](_0x15da6d,Object[_0x348d26(0x1de)]({},_0x5abe89,{'id':'off-line-icon','ref':_0x359ed1,'icon':_0x2c78e4}));});_0x72ba9b[_0xb09cf6(0x23b)]='OffLineIcon';const _0x434683={'tag':'svg','attrs':{'xmlns':_0xb09cf6(0x3b6),'fill':'none','viewBox':_0xb09cf6(0x1cc),'width':_0xb09cf6(0x383),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xb09cf6(0xf9)},'children':[{'tag':'path','attrs':{'stroke':_0xb09cf6(0x1f9),'d':_0xb09cf6(0x13b),'strokeLinecap':_0xb09cf6(0x30f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xb09cf6(0x15b),'attrs':{},'children':[{'tag':_0xb09cf6(0x157),'attrs':{'id':_0xb09cf6(0x26c)},'children':[{'tag':_0xb09cf6(0x35c),'attrs':{'fill':_0xb09cf6(0x29b),'d':_0xb09cf6(0x387),'transform':_0xb09cf6(0x2c0)}}]}]}],'defIds':[_0xb09cf6(0x26c)]},_0x5935cc=_0x570572['forwardRef'](function(_0x3a600c,_0x30d735){const _0x34df7b=_0xb09cf6;return _0x570572[_0x34df7b(0x2f5)](_0x15da6d,Object['assign']({},_0x3a600c,{'id':_0x34df7b(0x2ab),'ref':_0x30d735,'icon':_0x434683}));});_0x5935cc['displayName']=_0xb09cf6(0x110);function _0x3b4faf(_0x1e1110){const _0x3cb09d=_0xb09cf6;switch(_0x1e1110){case _0x1cadbe[_0x3cb09d(0x198)]['OFFLINE']:return _0x3cb09d(0x27d);case _0x1cadbe[_0x3cb09d(0x198)][_0x3cb09d(0x14a)]:return _0x3cb09d(0x1d6);case _0x1cadbe[_0x3cb09d(0x198)][_0x3cb09d(0x336)]:return _0x3cb09d(0x3ac);case _0x1cadbe['CollaborationStatus'][_0x3cb09d(0xd9)]:return _0x3cb09d(0xff);case _0x1cadbe[_0x3cb09d(0x198)][_0x3cb09d(0x105)]:case _0x1cadbe['CollaborationStatus'][_0x3cb09d(0x30d)]:return'collabStatus.syncing';case _0x1cadbe['CollaborationStatus'][_0x3cb09d(0x1c3)]:case _0x1cadbe['CollaborationStatus'][_0x3cb09d(0x394)]:return _0x3cb09d(0xe6);}}function _0x5aa93e(_0x79c830){const _0x366a42=_0xb09cf6,{status$:_0x245adf}=_0x79c830,_0x437164=_0x14309e[_0x366a42(0x32e)](_0x245adf,_0x1cadbe['CollaborationStatus'][_0x366a42(0xd9)]),_0xe33a17=_0x14309e[_0x366a42(0x177)](_0x1bf86e[_0x366a42(0x111)]),_0x57dacf=_0x14309e[_0x366a42(0x177)](_0x1cadbe['CollaborationSessionService']),_0x5ba4f9=_0x437164!==_0x1cadbe[_0x366a42(0x198)][_0x366a42(0x227)],_0x272542=_0xe33a17['t'](_0x3b4faf(_0x437164)),_0xac32ad=_0x5ba4f9?_0x4fda79[_0x366a42(0xf6)](_0x5935cc,{}):_0x4fda79[_0x366a42(0xf6)](_0x72ba9b,{}),_0x6afe17=_0x570572[_0x366a42(0x3c6)](()=>{const _0x18a9ec=_0x366a42;_0x5ba4f9||_0x57dacf[_0x18a9ec(0x357)]();},[_0x5ba4f9,_0x57dacf]);function _0x2035ea(){const _0x1a60ed=_0x366a42;return _0x4fda79[_0x1a60ed(0x150)](_0x1a60ed(0x340),{'className':_0x1a60ed(0x39c),'onClick':_0x6afe17,'children':[_0x4fda79[_0x1a60ed(0xf6)](_0x1a60ed(0x340),{'className':_0x11570c[_0x1a60ed(0x398)](_0x1a60ed(0x307),{'univer-text-green-500':_0x5ba4f9,'univer-text-red-500':!_0x5ba4f9}),'children':_0xac32ad}),_0x4fda79[_0x1a60ed(0xf6)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x272542})]});}return _0x5ba4f9?_0x2035ea():_0x4fda79[_0x366a42(0xf6)](_0x11570c['Tooltip'],{'title':_0xe33a17['t']('collab-client.tooltip.reconnect'),'children':_0x2035ea()});}var _0x438316=Object[_0xb09cf6(0x2e5)],_0x18d623=(_0x117ffb,_0x37e7cc,_0x207311,_0xf9793)=>{const _0x4f8159=_0xb09cf6;for(var _0x1632e6=_0xf9793>0x1?void 0x0:_0xf9793?_0x438316(_0x37e7cc,_0x207311):_0x37e7cc,_0x347140=_0x117ffb[_0x4f8159(0x2a0)]-0x1,_0x558828;_0x347140>=0x0;_0x347140--)(_0x558828=_0x117ffb[_0x347140])&&(_0x1632e6=_0x558828(_0x1632e6)||_0x1632e6);return _0x1632e6;},_0x5dffb=(_0x1f7619,_0x5df8f2)=>(_0x48ff36,_0x759fbe)=>_0x5df8f2(_0x48ff36,_0x759fbe,_0x1f7619);_0x26c668[_0xb09cf6(0x341)]=class extends _0x1bf86e[_0xb09cf6(0x3a2)]{constructor(_0x4bdc99,_0x2a3a82,_0x335529,_0x50d440){const _0x5a7ec0=_0xb09cf6;super(),_0x49be5c(this,_0x5a7ec0(0x256),new _0x57a56c[(_0x5a7ec0(0xe1))](_0x1cadbe[_0x5a7ec0(0x198)][_0x5a7ec0(0xd9)])),(this[_0x5a7ec0(0x10a)]=_0x4bdc99,this[_0x5a7ec0(0x17f)]=_0x2a3a82,this[_0x5a7ec0(0x2f2)]=_0x335529,this['_uiPartsService']=_0x50d440,this['_initStatusComponent'](),this[_0x5a7ec0(0x2e8)]());}['_initStatusListener'](){const _0x3888df=_0xb09cf6;this['disposeWithMe'](this[_0x3888df(0x10a)]['focused$'][_0x3888df(0x368)](_0x57a56c['switchMap'](()=>{const _0xe4b7f=_0x3888df,_0x827043=this[_0xe4b7f(0x10a)][_0xe4b7f(0x261)]();return _0x827043?this[_0xe4b7f(0x2f2)][_0xe4b7f(0x1a2)](_0x827043[_0xe4b7f(0x346)]()):_0x57a56c['of'](null);}),_0x57a56c[_0x3888df(0x3a3)](_0x421864=>_0x421864?_0x421864[_0x3888df(0x181)]:_0x57a56c['of'](_0x1cadbe[_0x3888df(0x198)]['NOT_COLLAB'])))['subscribe'](_0x1e1b03=>{const _0x49b9a2=_0x3888df;this[_0x49b9a2(0x256)][_0x49b9a2(0x153)](_0x1e1b03);}));}[_0xb09cf6(0x147)](){const _0x2e751b=_0xb09cf6;this[_0x2e751b(0x104)](this[_0x2e751b(0x109)][_0x2e751b(0x367)](_0x14309e[_0x2e751b(0x238)]['HEADER_MENU'],()=>_0x14309e['connectInjector'](_0x10bc7b({'status$':this[_0x2e751b(0x256)][_0x2e751b(0x2fb)]()}),this['_injector'])));}},_0x26c668[_0xb09cf6(0x341)]=_0x18d623([_0x5dffb(0x0,_0x1bf86e['IUniverInstanceService']),_0x5dffb(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e['Injector'])),_0x5dffb(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x1cadbe['CollaborationController'])),_0x5dffb(0x3,_0x14309e[_0xb09cf6(0x32c)])],_0x26c668[_0xb09cf6(0x341)]);function _0x10bc7b(_0x45e9bc){const {status$:_0x521354}=_0x45e9bc;return function(){return _0x4fda79['jsx'](_0x5aa93e,{'status$':_0x521354});};}const _0x533f89=_0x1bf86e['createIdentifier'](_0xb09cf6(0x2dd));var _0x351592=Object[_0xb09cf6(0x2e5)],_0x2906be=(_0x51b7ff,_0x215607,_0x123d99,_0x5d4416)=>{const _0x396a81=_0xb09cf6;for(var _0x1cf763=_0x5d4416>0x1?void 0x0:_0x5d4416?_0x351592(_0x215607,_0x123d99):_0x215607,_0x50ad38=_0x51b7ff[_0x396a81(0x2a0)]-0x1,_0x30947a;_0x50ad38>=0x0;_0x50ad38--)(_0x30947a=_0x51b7ff[_0x50ad38])&&(_0x1cf763=_0x30947a(_0x1cf763)||_0x1cf763);return _0x1cf763;},_0x5b0682=(_0x2b897f,_0x3b4343)=>(_0x538bf2,_0x137ea8)=>_0x3b4343(_0x538bf2,_0x137ea8,_0x2b897f);_0x26c668[_0xb09cf6(0x3a4)]=class extends _0x1bf86e[_0xb09cf6(0x134)]{constructor(_0x5e4736,_0x215dde,_0x9a1062,_0x37f471,_0xf7d92a){const _0x27d71b=_0xb09cf6;super(),this[_0x27d71b(0x2f8)]=_0x5e4736,this[_0x27d71b(0x343)]=_0x215dde,this[_0x27d71b(0x291)]=_0x9a1062,this[_0x27d71b(0x33c)]=_0x37f471,_0xf7d92a?_0xf7d92a==null||_0xf7d92a[_0x27d71b(0x342)]()['then'](()=>this['_init']()):(this['_logService']['debug'](_0x27d71b(0x20d),_0x27d71b(0xeb)),this[_0x27d71b(0xfd)]());}async[_0xb09cf6(0xfd)](){const _0x18ee34=_0xb09cf6,_0x379d0e=this[_0x18ee34(0x2f8)]['getParam']('unit'),_0x1d0830=this['_urlService'][_0x18ee34(0x1ca)]('type'),_0x300af7=this[_0x18ee34(0x2f8)][_0x18ee34(0x1ca)](_0x18ee34(0x371));if(!_0x379d0e||!_0x1d0830){this[_0x18ee34(0x343)][_0x18ee34(0x2ed)](_0x18ee34(0x20d),_0x18ee34(0x11f));return;}const _0x2e0a81=await this[_0x18ee34(0x33c)]['loadUnit'](_0x379d0e,Number(_0x1d0830),_0x300af7);_0x2e0a81&&_0x2e0a81 instanceof _0x1bf86e['Workbook']&&this[_0x18ee34(0xda)](_0x2e0a81);}async[_0xb09cf6(0xda)](_0x1e3ba2){const _0x576ba4=_0xb09cf6;await this[_0x576ba4(0x296)](_0x1e3ba2),_0x1e3ba2[_0x576ba4(0x289)][_0x576ba4(0x368)](_0x57a56c[_0x576ba4(0x2ce)](this[_0x576ba4(0x2d0)]))[_0x576ba4(0x3c4)](_0x42a88f=>{const _0x1f4cfa=_0x576ba4;_0x42a88f&&this[_0x1f4cfa(0x34f)](_0x42a88f);}),this[_0x576ba4(0x2f8)][_0x576ba4(0x318)][_0x576ba4(0x368)](_0x57a56c[_0x576ba4(0x2ce)](this[_0x576ba4(0x2d0)]))[_0x576ba4(0x3c4)](()=>this['_updateSubUnitFromURLParams'](_0x1e3ba2));}[_0xb09cf6(0x34f)](_0x3e2713,_0xe98370=!0x1){const _0x361ac7=_0xb09cf6,_0x1fdb0a=this[_0x361ac7(0x2f8)]['getParam']('subunit');_0x3e2713[_0x361ac7(0x12b)]()!==_0x1fdb0a&&this[_0x361ac7(0x2f8)][_0x361ac7(0x129)]('subunit',_0x3e2713[_0x361ac7(0x12b)](),_0xe98370);}async[_0xb09cf6(0x296)](_0x8725a9){const _0x18a37a=_0xb09cf6;var _0x339903;const _0x3b8051=this[_0x18a37a(0x2f8)][_0x18a37a(0x1ca)](_0x18a37a(0x371));if(!_0x3b8051||!_0x8725a9[_0x18a37a(0x15c)](_0x3b8051)){const _0x5a5826=_0x8725a9[_0x18a37a(0x3a7)]()[0x0],_0x5c07eb=_0x8725a9[_0x18a37a(0x15c)](_0x5a5826);if(!_0x5c07eb)return;this[_0x18a37a(0x34f)](_0x5c07eb,!0x0),await this[_0x18a37a(0x291)]['executeCommand'](_0x583c41['SetWorksheetActivateCommand']['id'],{'unitId':_0x8725a9[_0x18a37a(0x346)](),'subUnitId':_0x5a5826});return;}((_0x339903=_0x8725a9['getActiveSheet']())==null?void 0x0:_0x339903['getSheetId']())!==_0x3b8051&&await this[_0x18a37a(0x291)][_0x18a37a(0x2bd)](_0x583c41[_0x18a37a(0x31d)]['id'],{'unitId':_0x8725a9[_0x18a37a(0x346)](),'subUnitId':_0x3b8051});}},_0x26c668[_0xb09cf6(0x3a4)]=_0x2906be([_0x5b0682(0x0,_0x533f89),_0x5b0682(0x1,_0x1bf86e[_0xb09cf6(0x143)]),_0x5b0682(0x2,_0x1bf86e[_0xb09cf6(0x13a)]),_0x5b0682(0x3,_0x1bf86e['Inject'](_0x1cadbe[_0xb09cf6(0x120)])),_0x5b0682(0x4,_0x1bf86e[_0xb09cf6(0x230)](_0x229971[_0xb09cf6(0x21c)]))],_0x26c668[_0xb09cf6(0x3a4)]);var _0x55b628=Object[_0xb09cf6(0x2e5)],_0x3a7934=(_0x26c14c,_0x510e52,_0x4c5921,_0x3405f2)=>{const _0x194f5c=_0xb09cf6;for(var _0x3ad93a=_0x3405f2>0x1?void 0x0:_0x3405f2?_0x55b628(_0x510e52,_0x4c5921):_0x510e52,_0x57e76e=_0x26c14c[_0x194f5c(0x2a0)]-0x1,_0x579709;_0x57e76e>=0x0;_0x57e76e--)(_0x579709=_0x26c14c[_0x57e76e])&&(_0x3ad93a=_0x579709(_0x3ad93a)||_0x3ad93a);return _0x3ad93a;},_0x287482=(_0x406f33,_0x368ec8)=>(_0x1aae0c,_0x20818e)=>_0x368ec8(_0x1aae0c,_0x20818e,_0x406f33);let _0x4c9007=class extends _0x1bf86e['RxDisposable']{constructor(_0x397af8,_0x9d9978){const _0x41211d=_0xb09cf6;super(),this[_0x41211d(0x2be)]=_0x397af8,this[_0x41211d(0x355)]=_0x9d9978,this[_0x41211d(0xfd)]();}['_init'](){const _0x168237=_0xb09cf6,_0x44f103=this;this[_0x168237(0x104)](this[_0x168237(0x2be)][_0x168237(0x302)]({'onBeforePasteImage':async _0x2641ae=>{const _0x1523cc=_0x168237,_0x3231de=await _0x44f103[_0x1523cc(0x355)][_0x1523cc(0xdd)](_0x2641ae);return _0x3231de?{'source':_0x3231de['source'],'imageSourceType':_0x3231de[_0x1523cc(0x18f)]}:null;}}));}};_0x4c9007=_0x3a7934([_0x287482(0x0,_0x24bca5[_0xb09cf6(0x2a2)]),_0x287482(0x1,_0x1319d8[_0xb09cf6(0x2e1)])],_0x4c9007);const _0x395fae=[_0xb09cf6(0x30b),'jiqing.500',_0xb09cf6(0x29c),_0xb09cf6(0x288),_0xb09cf6(0x26a),_0xb09cf6(0x2e2)];class _0x53fe7e extends _0x1bf86e[_0xb09cf6(0x3a2)]{constructor(){const _0x3c4630=_0xb09cf6;super(...arguments),_0x49be5c(this,'_assignedColors',new Map()),_0x49be5c(this,_0x3c4630(0x200),0x0);}[_0xb09cf6(0x190)](_0x36af2c){const _0x433b94=_0xb09cf6;if(this['_assignedColors'][_0x433b94(0x3c5)](_0x36af2c))return this[_0x433b94(0x33a)][_0x433b94(0x167)](_0x36af2c);const _0x4c276e=_0x395fae[this[_0x433b94(0x200)]];return this[_0x433b94(0x200)]=(this[_0x433b94(0x200)]+0x1)%_0x395fae['length'],this[_0x433b94(0x33a)]['set'](_0x36af2c,_0x4c276e),_0x4c276e;}}function _0x523c87(_0x4a96d6){const _0x67b086=_0xb09cf6;let _0x15d8c3='';for(const _0x3ef080 of _0x4a96d6){const {startOffset:_0x338f3c,endOffset:_0x449721,isActive:_0xbcd338,rangeType:_0x5dbfb2,segmentId:_0x3bf468,segmentPage:_0x1ad639}=_0x3ef080;_0x15d8c3[_0x67b086(0x2a0)]&&(_0x15d8c3+=','),_0x15d8c3+=_0x338f3c+':'+_0x449721+':'+(_0xbcd338?'1':'0')+':'+_0x5dbfb2+':'+_0x3bf468+':'+_0x1ad639;}return _0x15d8c3;}function _0x4b3d19(_0x44d05c){const _0x385e50=_0xb09cf6,_0x74113d=_0x44d05c[_0x385e50(0x349)](','),_0x2f8c40=[];for(const _0x4f76cf of _0x74113d){const [_0x1bc63b,_0x27727d,_0x221752,_0x33681e,_0x4d5b53,_0xfe29e1]=_0x4f76cf[_0x385e50(0x349)](':');_0x2f8c40['push']({'startOffset':Number(_0x1bc63b),'endOffset':Number(_0x27727d),'collapsed':_0x1bc63b===_0x27727d,'isActive':_0x221752==='1','rangeType':_0x33681e===_0x1bf86e[_0x385e50(0x26f)][_0x385e50(0xe2)]?_0x1bf86e[_0x385e50(0x26f)]['TEXT']:_0x1bf86e[_0x385e50(0x26f)]['RECT'],'segmentId':typeof _0x4d5b53==_0x385e50(0x329)?String(_0x4d5b53):'','segmentPage':Number(_0xfe29e1!=null?_0xfe29e1:-0x1)});}return _0x2f8c40[_0x385e50(0x254)](_0xebd9b6=>_0xebd9b6['isActive'])||(_0x2f8c40[0x0][_0x385e50(0x284)]=!0x0),_0x2f8c40;}class _0x204057 extends _0x1bf86e[_0xb09cf6(0x134)]{constructor(){const _0x3145b3=_0xb09cf6;super(...arguments),_0x49be5c(this,_0x3145b3(0x163),new _0x57a56c['BehaviorSubject'](null)),_0x49be5c(this,'collabCursorState$',this[_0x3145b3(0x163)][_0x3145b3(0x2fb)]());}[_0xb09cf6(0x206)](_0x19d663){const _0x573560=_0xb09cf6,{unitID:_0xb3507,memberID:_0x144f3a,textRanges:_0x5fdf91}=_0x19d663,_0x8e33ab=_0x523c87(_0x5fdf91);if(_0x8e33ab==='')return;const _0x1d8780={'unitID':_0xb3507,'memberID':_0x144f3a,'selection':_0x8e33ab};this[_0x573560(0x163)][_0x573560(0x153)](_0x1d8780);}}var _0x2082ce=Object[_0xb09cf6(0x2e5)],_0x588b0a=(_0x3a037b,_0x6a59e5,_0x57050d,_0x7aa068)=>{const _0xd15a07=_0xb09cf6;for(var _0x248c79=_0x7aa068>0x1?void 0x0:_0x7aa068?_0x2082ce(_0x6a59e5,_0x57050d):_0x6a59e5,_0x5c5e8f=_0x3a037b[_0xd15a07(0x2a0)]-0x1,_0x1d29fb;_0x5c5e8f>=0x0;_0x5c5e8f--)(_0x1d29fb=_0x3a037b[_0x5c5e8f])&&(_0x248c79=_0x1d29fb(_0x248c79)||_0x248c79);return _0x248c79;},_0x4db006=(_0x45b152,_0x375a90)=>(_0x5cedf4,_0x33716a)=>_0x375a90(_0x5cedf4,_0x33716a,_0x45b152);const _0x3981a6=0x12c,_0x485ee1=0x64;let _0x4a0d06=class extends _0x1bf86e[_0xb09cf6(0x134)]{constructor(_0x5a9a86,_0x109bfc,_0x1359ed,_0x1b50db,_0x521c51,_0x17c3f4,_0x1a4c31,_0x73701c,_0x5c7bd){const _0x341575=_0xb09cf6;super(),_0x49be5c(this,_0x341575(0x2e4),!0x1),_0x49be5c(this,'_init',!0x1),_0x49be5c(this,'_cursorInfo$',new _0x57a56c[(_0x341575(0xe1))](new Map())),_0x49be5c(this,'cursorInfo$',this[_0x341575(0x38e)][_0x341575(0x2fb)]()),_0x49be5c(this,_0x341575(0x1c9),new _0x57a56c['BehaviorSubject']([])),_0x49be5c(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x57a56c[_0x341575(0x3aa)](_0x3981a6))),_0x49be5c(this,_0x341575(0x1ff),_0x1bf86e['debounce'](_0x59fec7=>{const _0x308946=_0x341575,_0x4efb05={'eventID':_0x46b617[_0x308946(0x399)][_0x308946(0x381)],'data':{'unitID':this[_0x308946(0x1c1)],'memberID':this[_0x308946(0xf3)]['getMemberID'](),'selection':_0x523c87(_0x59fec7)}};this[_0x308946(0xf3)][_0x308946(0x13e)](_0x4efb05,this[_0x308946(0x1c1)]);},_0x485ee1)),(this[_0x341575(0x1c1)]=_0x5a9a86,this['_session']=_0x109bfc,this[_0x341575(0x17f)]=_0x1359ed,this['_colorAssignService']=_0x1b50db,this[_0x341575(0x211)]=_0x521c51,this[_0x341575(0x151)]=_0x17c3f4,this['_transformService']=_0x1a4c31,this['_univerInstanceService']=_0x73701c,this[_0x341575(0x291)]=_0x5c7bd);}get[_0xb09cf6(0x176)](){const _0x4efc69=_0xb09cf6;return this['_cursorInfo$'][_0x4efc69(0x327)]();}get[_0xb09cf6(0x351)](){const _0x5fbc1b=_0xb09cf6;return this['_roomMembers$'][_0x5fbc1b(0x327)]();}[_0xb09cf6(0x1a9)](){const _0x5f2625=_0xb09cf6;super[_0x5f2625(0x1a9)](),this[_0x5f2625(0x38e)]['next'](new Map()),this[_0x5f2625(0x38e)]['complete'](),this['_roomMembers$']['next']([]),this[_0x5f2625(0x1c9)][_0x5f2625(0x2b9)]();}[_0xb09cf6(0x3bf)](){const _0x6f24b3=_0xb09cf6;this['_init']||(this[_0x6f24b3(0xfd)]=!0x0,this['_session'][_0x6f24b3(0xf8)][_0x6f24b3(0x368)](_0x57a56c['takeUntil'](this[_0x6f24b3(0x2d0)]))[_0x6f24b3(0x3c4)](_0x121e07=>{const _0x15413c=_0x6f24b3;_0x121e07===_0x1cadbe[_0x15413c(0x1df)][_0x15413c(0x1a4)]?this[_0x15413c(0x21b)]():this[_0x15413c(0x3a0)]();}),this['_session'][_0x6f24b3(0x100)]['pipe'](_0x57a56c[_0x6f24b3(0x2ce)](this[_0x6f24b3(0x2d0)]))[_0x6f24b3(0x3c4)](_0x52d425=>{const _0x40b56e=_0x6f24b3,_0x354517=_0x52d425[_0x40b56e(0x2af)];_0x354517===_0x46b617[_0x40b56e(0x399)]['UPDATE_CURSOR']&&this[_0x40b56e(0x1ea)](_0x52d425),_0x354517===_0x46b617[_0x40b56e(0x399)]['USERS_LEAVE']&&this[_0x40b56e(0x299)](_0x52d425);}),this[_0x6f24b3(0x104)](this[_0x6f24b3(0x291)]['onCommandExecuted'](_0xd08cbe=>{const _0x264aa8=_0x6f24b3,_0x104a14=_0xd08cbe[_0x264aa8(0x210)];_0x104a14!=null&&this['_online']&&_0xd08cbe['id']===_0x4c6158[_0x264aa8(0x3ca)]['id']&&_0x104a14[_0x264aa8(0xce)]===this[_0x264aa8(0x1c1)]&&_0x104a14[_0x264aa8(0x347)]===!0x1&&_0x104a14[_0x264aa8(0x183)]['length']>0x0&&this[_0x264aa8(0x1ff)](_0x104a14[_0x264aa8(0x183)]);})),this[_0x6f24b3(0x151)][_0x6f24b3(0x350)][_0x6f24b3(0x368)](_0x57a56c[_0x6f24b3(0x2ce)](this[_0x6f24b3(0x2d0)]))[_0x6f24b3(0x3c4)](_0x45e25f=>{const _0x371acd=_0x6f24b3;if((_0x45e25f==null?void 0x0:_0x45e25f[_0x371acd(0x1c1)])!==this['unitID'])return;const _0x3fd60d={'eventID':_0x46b617[_0x371acd(0x399)][_0x371acd(0x381)],'data':_0x45e25f};this[_0x371acd(0x1ea)](_0x3fd60d);}),this[_0x6f24b3(0x104)](this[_0x6f24b3(0x291)][_0x6f24b3(0x182)](_0x64bae6=>{const _0x28c835=_0x6f24b3;if(_0x64bae6['params']==null)return;const _0x235773=_0x64bae6[_0x28c835(0x210)];if(_0x64bae6['id']!==_0x4c6158[_0x28c835(0x102)]['id']||_0x235773[_0x28c835(0xce)]!==this[_0x28c835(0x1c1)])return;const _0x3d06c1={'id':_0x28c835(0x124),'params':_0x235773},_0x4aa334=this[_0x28c835(0x176)];for(const [_0x107d16,_0x1b5761]of _0x4aa334){const _0xc2a8fd={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1b5761['ranges']}},_0x4e84f7=this['_transformService']['transformMutation'](_0x3d06c1,_0xc2a8fd,!0x1);if(_0x46b617[_0x28c835(0x393)](_0x4e84f7))throw _0x4e84f7[_0x28c835(0x2c3)];_0x4aa334[_0x28c835(0x32b)](_0x107d16,{..._0x1b5761,'ranges':_0x4e84f7['m2Prime']['params'][_0x28c835(0x20a)]});}queueMicrotask(()=>{const _0x4279d3=_0x28c835;this[_0x4279d3(0x38e)][_0x4279d3(0x153)](_0x4aa334);});})));}['_onCursorUpdate'](_0x26712e){const _0x5a4b1a=_0xb09cf6;var _0x38ddff,_0x3d7f37;const {memberID:_0x51e25b,selection:_0x53eb73}=_0x26712e['data'],_0xd4fc62=_0x4b3d19(_0x53eb73),_0x1e7ce7=(_0x3d7f37=(_0x38ddff=this[_0x5a4b1a(0x211)][_0x5a4b1a(0x265)](this[_0x5a4b1a(0x1c1)],_0x51e25b))==null?void 0x0:_0x38ddff['name'])!=null?_0x3d7f37:_0x5a4b1a(0x34b),_0x4c66c7={'color':this[_0x5a4b1a(0x1a8)][_0x5a4b1a(0x190)](_0x51e25b),'name':_0x1e7ce7,'ranges':_0xd4fc62},_0x447fd3=this['cursorInfo'];_0x447fd3[_0x5a4b1a(0x32b)](_0x51e25b,_0x4c66c7),this[_0x5a4b1a(0x38e)][_0x5a4b1a(0x153)](_0x447fd3);}['_onCursorDelete'](_0x58f9d0){const _0x43b091=_0xb09cf6,{memberID:_0x1c6474}=_0x58f9d0[_0x43b091(0x19e)],_0x37abfe=this[_0x43b091(0x176)];_0x37abfe['delete'](_0x1c6474),this['_cursorInfo$'][_0x43b091(0x153)](_0x37abfe);}['_toggleOnline'](){const _0xf93195=_0xb09cf6;var _0xa98e1e;if(this[_0xf93195(0x2e4)]=!0x0,((_0xa98e1e=this[_0xf93195(0x10a)][_0xf93195(0x261)]())==null?void 0x0:_0xa98e1e['getUnitId']())!==this['unitID'])return;const _0x264c77=this['_injector']['get'](_0x4c6158[_0xf93195(0x1dd)])['getDocRanges']();Array['isArray'](_0x264c77)&&_0x264c77[_0xf93195(0x2a0)]>0x0&&this[_0xf93195(0x1ff)](_0x264c77);}['_toggleOffline'](){const _0x36f289=_0xb09cf6;this[_0x36f289(0x2e4)]=!0x1;}};_0x4a0d06=_0x588b0a([_0x4db006(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e['Injector'])),_0x4db006(0x3,_0x1bf86e['Inject'](_0x53fe7e)),_0x4db006(0x4,_0x1bf86e[_0xb09cf6(0x25e)](_0x1cadbe['MemberService'])),_0x4db006(0x5,_0x1bf86e['Inject'](_0x204057)),_0x4db006(0x6,_0x46b617['ITransformService']),_0x4db006(0x7,_0x1bf86e[_0xb09cf6(0x337)]),_0x4db006(0x8,_0x1bf86e[_0xb09cf6(0x13a)])],_0x4a0d06);var _0x2ff25a=Object[_0xb09cf6(0x2e5)],_0x5dbda0=(_0x3a7d6f,_0x3b1ed7,_0x1b4d8e,_0x56ab86)=>{const _0x7ae978=_0xb09cf6;for(var _0x4f14ce=_0x56ab86>0x1?void 0x0:_0x56ab86?_0x2ff25a(_0x3b1ed7,_0x1b4d8e):_0x3b1ed7,_0x4ec89b=_0x3a7d6f[_0x7ae978(0x2a0)]-0x1,_0x39d442;_0x4ec89b>=0x0;_0x4ec89b--)(_0x39d442=_0x3a7d6f[_0x4ec89b])&&(_0x4f14ce=_0x39d442(_0x4f14ce)||_0x4f14ce);return _0x4f14ce;},_0x31ec39=(_0x215449,_0x39ae2d)=>(_0x49c889,_0x43eccf)=>_0x39ae2d(_0x49c889,_0x43eccf,_0x215449);const _0x57f7df=0x12c,_0x1904dc=0x64,_0x1eef37=()=>{let _0x201f8c=[],_0x1b6b4=!0x1;return _0xf9c068=>{const _0x5df814=_0x23ff;_0x201f8c[_0x5df814(0xea)](_0xf9c068),_0x1b6b4||(_0x1b6b4=!0x0,setTimeout(()=>{_0x201f8c['forEach'](_0xf590e9=>_0xf590e9()),_0x201f8c=[],_0x1b6b4=!0x1;}));};};let _0x461b36=class extends _0x1bf86e[_0xb09cf6(0x134)]{constructor(_0xb724bc,_0x5054a3,_0x545fe7,_0x49e9c8,_0x547148,_0x4692ca,_0x19624c,_0x5e689f){const _0x1b5331=_0xb09cf6;super(),_0x49be5c(this,_0x1b5331(0x2e4),!0x1),_0x49be5c(this,_0x1b5331(0xfd),!0x1),_0x49be5c(this,_0x1b5331(0x38e),new _0x57a56c[(_0x1b5331(0xe1))](new Map())),_0x49be5c(this,_0x1b5331(0x24e),this[_0x1b5331(0x38e)][_0x1b5331(0x2fb)]()),_0x49be5c(this,_0x1b5331(0x1c9),new _0x57a56c[(_0x1b5331(0xe1))]([])),_0x49be5c(this,_0x1b5331(0x1cd),this[_0x1b5331(0x1c9)][_0x1b5331(0x368)](_0x57a56c[_0x1b5331(0x3aa)](_0x57f7df))),_0x49be5c(this,_0x1b5331(0x1ff),_0x1bf86e[_0x1b5331(0x1d7)]((_0x48a09e,_0x39aa3e)=>{const _0x18d232=_0x1b5331,_0xd60008={'eventID':_0x46b617[_0x18d232(0x399)][_0x18d232(0x381)],'data':{'unitID':this[_0x18d232(0x1c1)],'memberID':this[_0x18d232(0xf3)][_0x18d232(0x2ba)](),'selection':_0x497297[_0x18d232(0x251)](_0x48a09e,_0x39aa3e['range'])}};this['_session'][_0x18d232(0x13e)](_0xd60008,this[_0x18d232(0x1c1)]);},_0x1904dc)),(this[_0x1b5331(0x1c1)]=_0xb724bc,this[_0x1b5331(0xf3)]=_0x5054a3,this[_0x1b5331(0x17f)]=_0x545fe7,this[_0x1b5331(0x1a8)]=_0x49e9c8,this[_0x1b5331(0x211)]=_0x547148,this[_0x1b5331(0x10a)]=_0x4692ca,this[_0x1b5331(0x291)]=_0x19624c,this[_0x1b5331(0x1f1)]=_0x5e689f);}get[_0xb09cf6(0x176)](){const _0x25c46d=_0xb09cf6;return this[_0x25c46d(0x38e)][_0x25c46d(0x327)]();}get[_0xb09cf6(0x351)](){const _0x46225e=_0xb09cf6;return this[_0x46225e(0x1c9)]['getValue']();}[_0xb09cf6(0x1a9)](){const _0x8cfd78=_0xb09cf6;super[_0x8cfd78(0x1a9)](),this[_0x8cfd78(0x38e)][_0x8cfd78(0x153)](new Map()),this[_0x8cfd78(0x38e)][_0x8cfd78(0x2b9)](),this[_0x8cfd78(0x1c9)][_0x8cfd78(0x153)]([]),this[_0x8cfd78(0x1c9)][_0x8cfd78(0x2b9)]();}[_0xb09cf6(0x3bf)](){const _0x18fbf2=_0xb09cf6;this[_0x18fbf2(0xfd)]||(this[_0x18fbf2(0xfd)]=!0x0,this[_0x18fbf2(0xf3)][_0x18fbf2(0xf8)][_0x18fbf2(0x368)](_0x57a56c[_0x18fbf2(0x2ce)](this[_0x18fbf2(0x2d0)]))[_0x18fbf2(0x3c4)](_0x34c218=>{const _0x18571b=_0x18fbf2;_0x34c218===_0x1cadbe['SessionStatus'][_0x18571b(0x1a4)]?this[_0x18571b(0x21b)]():this['_toggleOffline']();}),this[_0x18fbf2(0xf3)][_0x18fbf2(0x100)][_0x18fbf2(0x368)](_0x57a56c[_0x18fbf2(0x2ce)](this[_0x18fbf2(0x2d0)]))[_0x18fbf2(0x3c4)](_0x30c33c=>{const _0x6d18c3=_0x18fbf2,_0x21b7b9=_0x30c33c[_0x6d18c3(0x2af)];_0x21b7b9===_0x46b617[_0x6d18c3(0x399)]['UPDATE_CURSOR']&&this[_0x6d18c3(0x1ea)](_0x30c33c),_0x21b7b9===_0x46b617['CollaborationEvent']['USERS_LEAVE']&&this[_0x6d18c3(0x299)](_0x30c33c);}),this[_0x18fbf2(0x359)](),this[_0x18fbf2(0x104)](this[_0x18fbf2(0x291)][_0x18fbf2(0x182)](_0x10212b=>{const _0x5445e8=_0x18fbf2;if(this[_0x5445e8(0x2e4)]&&_0x10212b['id']===_0x583c41[_0x5445e8(0x1c7)]['id']&&_0x10212b[_0x5445e8(0x210)][_0x5445e8(0xce)]===this[_0x5445e8(0x1c1)]){const _0x181bd7=_0x10212b['params'];this[_0x5445e8(0x1ff)](_0x181bd7[_0x5445e8(0x14e)],_0x181bd7[_0x5445e8(0x241)][0x0]);}})));}[_0xb09cf6(0x1ea)](_0x4b863f){const _0x11218d=_0xb09cf6;var _0x5e136e,_0x406004;const {memberID:_0x2b06a8,selection:_0x4dc634}=_0x4b863f[_0x11218d(0x19e)],{sheetName:_0xc99aeb,range:_0x4562f7}=_0x497297[_0x11218d(0x1fd)](_0x4dc634),_0x5f0982={'name':(_0x406004=(_0x5e136e=this['_memberService'][_0x11218d(0x265)](this[_0x11218d(0x1c1)],_0x2b06a8))==null?void 0x0:_0x5e136e['name'])!=null?_0x406004:_0x11218d(0x34b),'range':this[_0x11218d(0x2d9)](_0xc99aeb,_0x4562f7),'sheetID':_0xc99aeb,'color':this[_0x11218d(0x1a8)][_0x11218d(0x190)](_0x2b06a8),'selection':_0x4dc634},_0x4d3f3b=this[_0x11218d(0x176)];_0x4d3f3b[_0x11218d(0x32b)](_0x2b06a8,_0x5f0982),this[_0x11218d(0x38e)][_0x11218d(0x153)](_0x4d3f3b);}['_onCursorDelete'](_0x48c67d){const _0x4077dc=_0xb09cf6,{memberID:_0x53e3cf}=_0x48c67d[_0x4077dc(0x19e)],_0x399065=this[_0x4077dc(0x176)];_0x399065['delete'](_0x53e3cf),this[_0x4077dc(0x38e)]['next'](_0x399065);}[_0xb09cf6(0x2d9)](_0x49ddd5,_0x434ce5){const _0x4b5713=_0xb09cf6;var _0x4b9901,_0x2c2cd8;const _0x9d5697=(_0x2c2cd8=(_0x4b9901=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x4b9901[_0x4b5713(0x15c)](_0x49ddd5))==null?void 0x0:_0x2c2cd8['getMergeData']();return(_0x9d5697==null?void 0x0:_0x9d5697[_0x4b5713(0x27f)](_0x66f03c=>_0x1bf86e[_0x4b5713(0x275)][_0x4b5713(0x18c)](_0x66f03c,_0x434ce5)))||_0x434ce5;}['_onRefRangeChange'](){const _0x2d7876=_0xb09cf6,_0x1a1010=new _0x1bf86e[(_0x2d7876(0x313))](),_0x32f1c6=_0x1eef37(),_0x51dda8=()=>{const _0x40552b=_0x2d7876;_0x1a1010[_0x40552b(0x1a9)]();const _0x16acec=(_0x32e520,_0x5b56db,_0x4ced4c,_0x113dfe)=>{const _0x53025e=_0x40552b;let _0x376274=[];switch(_0x32e520['id']){case _0x583c41[_0x53025e(0x10d)][_0x53025e(0x3b2)]:{_0x376274=_0x583c41[_0x53025e(0x325)](_0x32e520,_0x113dfe);break;}case _0x583c41[_0x53025e(0x10d)][_0x53025e(0x2d8)]:{_0x376274=_0x583c41[_0x53025e(0x2b6)](_0x32e520,_0x113dfe);break;}case _0x583c41['EffectRefRangId']['InsertColCommandId']:{_0x376274=_0x583c41[_0x53025e(0x220)](_0x32e520,_0x113dfe);break;}case _0x583c41[_0x53025e(0x10d)][_0x53025e(0x28e)]:{_0x376274=_0x583c41[_0x53025e(0x321)](_0x32e520,_0x113dfe);break;}case _0x583c41['EffectRefRangId'][_0x53025e(0x3af)]:{_0x376274=_0x583c41[_0x53025e(0x1d0)](_0x32e520,_0x113dfe);break;}case _0x583c41[_0x53025e(0x10d)]['InsertRowCommandId']:{_0x376274=_0x583c41['handleInsertRow'](_0x32e520,_0x113dfe);break;}case _0x583c41['EffectRefRangId']['MoveRangeCommandId']:{_0x376274=_0x583c41['handleMoveRange'](_0x32e520,_0x113dfe);break;}case _0x583c41[_0x53025e(0x10d)][_0x53025e(0x30e)]:{_0x376274=_0x583c41['handleIRemoveCol'](_0x32e520,_0x113dfe);break;}case _0x583c41[_0x53025e(0x10d)]['RemoveRowCommandId']:{_0x376274=_0x583c41['handleIRemoveRow'](_0x32e520,_0x113dfe);break;}}const _0x37884c=_0x583c41[_0x53025e(0x16e)](_0x376274,_0x113dfe),_0x4efd59=this[_0x53025e(0x176)][_0x53025e(0x167)](_0x5b56db);if(_0x4efd59&&_0x37884c){const _0x2e6411={..._0x4efd59,'range':_0x37884c};this[_0x53025e(0x176)]['set'](_0x5b56db,_0x2e6411),_0x32f1c6(()=>{const _0x5541de=_0x53025e,_0x1706ce=this[_0x5541de(0x1f1)][_0x5541de(0x18d)](_0x37884c,_0x16dd94=>(_0x1706ce[_0x5541de(0x1a9)](),_0x16acec(_0x16dd94,_0x5b56db,_0x4ced4c,_0x37884c)));_0x1a1010['add'](_0x1706ce);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x40552b(0x2c5)]((_0x5de4c3,_0x2adc4f)=>{const _0x5348d1=_0x40552b,{range:_0x479054,sheetID:_0x16df42}=_0x5de4c3,_0x1f9bea=this[_0x5348d1(0x1f1)][_0x5348d1(0x18d)](_0x479054,_0x214d1b=>(_0x1f9bea[_0x5348d1(0x1a9)](),_0x16acec(_0x214d1b,_0x2adc4f,_0x16df42,_0x479054)));_0x1a1010[_0x5348d1(0x384)](_0x1f9bea);});};this[_0x2d7876(0x104)](_0x1bf86e[_0x2d7876(0x127)](this[_0x2d7876(0x38e)]['subscribe'](()=>{_0x51dda8();})));}[_0xb09cf6(0x21b)](){const _0xfc8c07=_0xb09cf6;var _0xbe97aa,_0xe3ef39;if(this[_0xfc8c07(0x2e4)]=!0x0,((_0xbe97aa=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0xbe97aa[_0xfc8c07(0x346)]())!==this['unitID'])return;const _0x35268b=(_0xe3ef39=this[_0xfc8c07(0x17f)][_0xfc8c07(0x167)](_0x583c41[_0xfc8c07(0x2b8)])[_0xfc8c07(0x1e2)]())==null?void 0x0:_0xe3ef39[0x0],_0x26ee67=this[_0xfc8c07(0x10a)][_0xfc8c07(0x37b)](_0x1bf86e[_0xfc8c07(0x2b7)][_0xfc8c07(0x34d)])[_0xfc8c07(0x1be)]();_0x35268b&&_0x26ee67&&this['_updateLocalCursor'](_0x26ee67[_0xfc8c07(0x12b)](),_0x35268b);}[_0xb09cf6(0x3a0)](){this['_online']=!0x1;}};_0x461b36=_0x5dbda0([_0x31ec39(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e['Injector'])),_0x31ec39(0x3,_0x1bf86e['Inject'](_0x53fe7e)),_0x31ec39(0x4,_0x1bf86e[_0xb09cf6(0x25e)](_0x1cadbe[_0xb09cf6(0x304)])),_0x31ec39(0x5,_0x1bf86e['IUniverInstanceService']),_0x31ec39(0x6,_0x1bf86e[_0xb09cf6(0x13a)]),_0x31ec39(0x7,_0x1bf86e[_0xb09cf6(0x25e)](_0x583c41[_0xb09cf6(0x18a)]))],_0x461b36);var _0xc6b1f2=Object[_0xb09cf6(0x2e5)],_0x2d9a43=(_0x422403,_0x282295,_0x24566f,_0x18efc9)=>{const _0x2d76cf=_0xb09cf6;for(var _0x3711bf=_0x18efc9>0x1?void 0x0:_0x18efc9?_0xc6b1f2(_0x282295,_0x24566f):_0x282295,_0x53e42d=_0x422403[_0x2d76cf(0x2a0)]-0x1,_0x29cdc9;_0x53e42d>=0x0;_0x53e42d--)(_0x29cdc9=_0x422403[_0x53e42d])&&(_0x3711bf=_0x29cdc9(_0x3711bf)||_0x3711bf);return _0x3711bf;},_0x1c4a2b=(_0x367a78,_0x44e4ba)=>(_0x1672a2,_0x5a5ccf)=>_0x44e4ba(_0x1672a2,_0x5a5ccf,_0x367a78);let _0xe7f68=class extends _0x1bf86e['RxDisposable']{constructor(_0x35a4aa,_0x24a7c8,_0x1af0fe){const _0x8d7001=_0xb09cf6;super(),_0x49be5c(this,_0x8d7001(0x1bd),new Map()),_0x49be5c(this,_0x8d7001(0x38b),new _0x57a56c[(_0x8d7001(0x330))]()),(this[_0x8d7001(0x10a)]=_0x35a4aa,this[_0x8d7001(0x17f)]=_0x24a7c8,this[_0x8d7001(0x3c8)]=_0x1af0fe,this[_0x8d7001(0xfd)]());}['dispose'](){const _0xdf5d81=_0xb09cf6;super[_0xdf5d81(0x1a9)](),this[_0xdf5d81(0x38b)][_0xdf5d81(0x2b9)](),this['_entities'][_0xdf5d81(0x2c5)](_0x24478e=>_0x24478e[_0xdf5d81(0x1a9)]());}[_0xb09cf6(0x372)](_0xc4c375){const _0x32ef21=_0xb09cf6;return this[_0x32ef21(0x1bd)][_0x32ef21(0x3c5)](_0xc4c375)?this[_0x32ef21(0x1bd)][_0x32ef21(0x167)](_0xc4c375)['cursorInfo$']:this[_0x32ef21(0x38b)][_0x32ef21(0x368)](_0x57a56c[_0x32ef21(0x37c)](_0x229c9c=>_0x229c9c[_0x32ef21(0x1c1)]===_0xc4c375),_0x57a56c['switchMap'](_0x496686=>_0x496686[_0x32ef21(0x24e)]));}[_0xb09cf6(0xfd)](){const _0x33bf6d=_0xb09cf6;this[_0x33bf6d(0x10a)][_0x33bf6d(0x305)](_0x1bf86e[_0x33bf6d(0x2b7)][_0x33bf6d(0x34d)])[_0x33bf6d(0x368)](_0x57a56c[_0x33bf6d(0x2ce)](this[_0x33bf6d(0x2d0)]))[_0x33bf6d(0x3c4)](async _0x45f46e=>{const _0x4f23d6=_0x33bf6d,_0x122168=_0x45f46e[_0x4f23d6(0x346)](),_0x27b01b=await this[_0x4f23d6(0x331)](_0x122168);this[_0x4f23d6(0x38b)]['next'](_0x27b01b),this['_entities'][_0x4f23d6(0x32b)](_0x122168,_0x27b01b);}),this[_0x33bf6d(0x10a)][_0x33bf6d(0x305)](_0x1bf86e['UniverInstanceType']['UNIVER_DOC'])['pipe'](_0x57a56c[_0x33bf6d(0x2ce)](this[_0x33bf6d(0x2d0)]))[_0x33bf6d(0x368)](_0x57a56c[_0x33bf6d(0x37c)](_0x163fe4=>!_0x163fe4[_0x33bf6d(0x346)]()['startsWith']('__')))[_0x33bf6d(0x3c4)](async _0x56c725=>{const _0x46be8d=_0x33bf6d,_0x1b3e4b=_0x56c725['getUnitId'](),_0x8dfe17=await this['_startDocCollabCursor'](_0x1b3e4b);this[_0x46be8d(0x38b)][_0x46be8d(0x153)](_0x8dfe17),this[_0x46be8d(0x1bd)][_0x46be8d(0x32b)](_0x1b3e4b,_0x8dfe17);}),_0x57a56c[_0x33bf6d(0x207)](this[_0x33bf6d(0x10a)]['getTypeOfUnitDisposed$'](_0x1bf86e[_0x33bf6d(0x2b7)][_0x33bf6d(0x2ad)]),this['_univerInstanceService'][_0x33bf6d(0x1c5)](_0x1bf86e[_0x33bf6d(0x2b7)][_0x33bf6d(0x34d)]))[_0x33bf6d(0x368)](_0x57a56c[_0x33bf6d(0x2ce)](this[_0x33bf6d(0x2d0)]))[_0x33bf6d(0x3c4)](_0x26da10=>{const _0x29d26d=_0x33bf6d,_0x813638=_0x26da10[_0x29d26d(0x346)](),_0x186938=this['_entities'][_0x29d26d(0x167)](_0x813638);_0x186938&&(_0x186938[_0x29d26d(0x1a9)](),this['_entities'][_0x29d26d(0x3b4)](_0x813638));});}async[_0xb09cf6(0x331)](_0x19f7ae){const _0x24b9a4=_0xb09cf6,_0xf5d88c=await this[_0x24b9a4(0x3c8)][_0x24b9a4(0x135)](_0x19f7ae),_0x47e59c=this[_0x24b9a4(0x17f)][_0x24b9a4(0x123)](_0x461b36,_0x19f7ae,_0xf5d88c);return _0x47e59c[_0x24b9a4(0x3bf)](),_0x47e59c;}async['_startDocCollabCursor'](_0x42d269){const _0x56d2e4=_0xb09cf6,_0x3258c2=await this[_0x56d2e4(0x3c8)][_0x56d2e4(0x135)](_0x42d269),_0x58a0f7=this['_injector']['createInstance'](_0x4a0d06,_0x42d269,_0x3258c2);return _0x58a0f7[_0x56d2e4(0x3bf)](),_0x58a0f7;}};_0xe7f68=_0x2d9a43([_0x1c4a2b(0x0,_0x1bf86e[_0xb09cf6(0x337)]),_0x1c4a2b(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0x269)])),_0x1c4a2b(0x2,_0x1bf86e['Inject'](_0x1cadbe[_0xb09cf6(0x1ad)]))],_0xe7f68);const _0x6880d2=0x14,_0x9c1f89=0xc8,_0x2ff622=0x4,_0x3e175f=0x5;function _0x4a342b(_0x5167cc,_0x50804e){const _0x43e8c0=_0xb09cf6;let {radius:_0x15b31f,width:_0x3aa585,height:_0x41cdd8}=_0x50804e;_0x15b31f=_0x15b31f!=null?_0x15b31f:0x0,_0x3aa585=_0x3aa585!=null?_0x3aa585:0x1e,_0x41cdd8=_0x41cdd8!=null?_0x41cdd8:0x1e;let _0x109227=0x0,_0x45fdd0=0x0,_0xe23b2c=0x0;_0x109227=_0x45fdd0=_0xe23b2c=Math[_0x43e8c0(0xdc)](_0x15b31f,_0x3aa585/0x2,_0x41cdd8/0x2),_0x5167cc[_0x43e8c0(0x20f)](),_0x5167cc[_0x43e8c0(0x1f4)](_0x109227,0x0),_0x5167cc['lineTo'](_0x3aa585-_0x45fdd0,0x0),_0x5167cc[_0x43e8c0(0x1a1)](_0x3aa585-_0x45fdd0,_0x45fdd0,_0x45fdd0,Math['PI']*0x3/0x2,0x0,!0x1),_0x5167cc[_0x43e8c0(0x352)](_0x3aa585,_0x41cdd8-_0xe23b2c),_0x5167cc[_0x43e8c0(0x1a1)](_0x3aa585-_0xe23b2c,_0x41cdd8-_0xe23b2c,_0xe23b2c,0x0,Math['PI']/0x2,!0x1),_0x5167cc[_0x43e8c0(0x352)](0x0,_0x41cdd8),_0x5167cc[_0x43e8c0(0x352)](0x0,_0x109227),_0x5167cc[_0x43e8c0(0x1a1)](_0x109227,_0x109227,_0x109227,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5167cc[_0x43e8c0(0xe8)](),_0x50804e[_0x43e8c0(0x25b)]&&(_0x5167cc[_0x43e8c0(0x2da)](),_0x5167cc[_0x43e8c0(0x274)]=_0x50804e[_0x43e8c0(0x25b)],_0x50804e[_0x43e8c0(0x395)]===_0x43e8c0(0x16b)?_0x5167cc[_0x43e8c0(0x25b)](_0x43e8c0(0x16b)):_0x5167cc[_0x43e8c0(0x25b)](),_0x5167cc[_0x43e8c0(0x222)]());}class _0x19a583 extends _0x5dba15[_0xb09cf6(0x1a7)]{constructor(_0x235cc0,_0x21cfbb){const _0x31f130=_0xb09cf6;super(_0x235cc0,_0x21cfbb),_0x49be5c(this,_0x31f130(0x234)),_0x49be5c(this,'text'),(this[_0x31f130(0x234)]=_0x21cfbb==null?void 0x0:_0x21cfbb[_0x31f130(0x234)],this[_0x31f130(0x376)]=_0x21cfbb==null?void 0x0:_0x21cfbb['text']);}static[_0xb09cf6(0x10b)](_0x503691,_0x29a3cb){const _0x161c16=_0xb09cf6,{text:_0x29f98c,color:_0x27bd70}=_0x29a3cb;_0x503691[_0x161c16(0x2da)](),_0x503691[_0x161c16(0x2c7)]=_0x161c16(0x1f5);const _0x36e4af=_0x503691['measureText'](_0x29f98c)[_0x161c16(0x2e6)],_0x402113=Math[_0x161c16(0xdc)](_0x36e4af+0x2*_0x2ff622,_0x9c1f89);_0x4a342b(_0x503691,{'height':_0x6880d2,'radius':0x4,'width':_0x402113,'fill':_0x27bd70}),_0x503691[_0x161c16(0x274)]=_0x161c16(0x1e7);const _0xed320b=_0x2ff622,_0x4b4083=_0x6880d2-_0x3e175f,_0x419a7a=_0x9c1f89-0x2*_0x2ff622;if(_0x36e4af>_0x419a7a){let _0x35f137='',_0x46787d=0x0;for(const _0x8f2f0c of _0x29f98c){const _0xe55685=_0x503691[_0x161c16(0x312)](_0x8f2f0c)[_0x161c16(0x2e6)];if(_0x46787d+_0xe55685<=_0x419a7a-_0x503691[_0x161c16(0x312)]('...')[_0x161c16(0x2e6)])_0x35f137+=_0x8f2f0c,_0x46787d+=_0xe55685;else{_0x35f137+=_0x161c16(0x339);break;}}_0x503691['fillText'](_0x35f137,_0xed320b,_0x4b4083);}else _0x503691[_0x161c16(0x319)](_0x29f98c,_0xed320b,_0x4b4083);_0x503691[_0x161c16(0x222)]();}[_0xb09cf6(0x320)](_0xcf452c){_0x19a583['drawWith'](_0xcf452c,this);}}const _0x3d73f5=_0xb09cf6(0x31a),_0x4a6246=_0xb09cf6(0x1b4),_0x268a59=_0xb09cf6(0x33f),_0x3db17f=0x6,_0x2e6c04=1.5,_0x394313=0x4,_0x5eeb08=1.5,_0xffb2bf='rgba(255,\x20255,\x20255,\x200.01)';class _0x342eb0{constructor(_0x162ee5,_0xd5000c,_0xcafd04,_0x262371){const _0x66fc9f=_0xb09cf6;_0x49be5c(this,_0x66fc9f(0x28b),[]),_0x49be5c(this,'_anchor',null),_0x49be5c(this,'_textBubble',null),_0x49be5c(this,_0x66fc9f(0x10c),null),_0x49be5c(this,_0x66fc9f(0x2bf),null),_0x49be5c(this,_0x66fc9f(0x306),null),(this[_0x66fc9f(0x280)]=_0x162ee5,this[_0x66fc9f(0x1c0)]=_0xd5000c,this[_0x66fc9f(0x212)]=_0xcafd04,this[_0x66fc9f(0x29d)]=_0x262371,this[_0x66fc9f(0xfa)]());}set[_0xb09cf6(0x14b)](_0x4e7338){const _0x460c55=_0xb09cf6;_0x4e7338?(this[_0x460c55(0x10c)]&&this['_anchorDot'][_0x460c55(0x1b8)](),this[_0x460c55(0x390)]&&this['_textBubble'][_0x460c55(0x3c1)]()):(this[_0x460c55(0x10c)]&&this[_0x460c55(0x10c)][_0x460c55(0x3c1)](),this['_textBubble']&&this[_0x460c55(0x390)]['hide']());}[_0xb09cf6(0x1a9)](){const _0x538f62=_0xb09cf6;for(const _0x137283 of this[_0x538f62(0x28b)])_0x137283[_0x538f62(0x1a9)]();this[_0x538f62(0x390)]&&this[_0x538f62(0x390)][_0x538f62(0x1a9)](),this[_0x538f62(0x10c)]&&this[_0x538f62(0x10c)][_0x538f62(0x1a9)](),this['_anchor']&&this[_0x538f62(0x240)][_0x538f62(0x1a9)](),this[_0x538f62(0x306)]&&this[_0x538f62(0x306)]();}[_0xb09cf6(0xfa)](){const _0x10306d=_0xb09cf6;var _0x4ae62d;const {_docSkeleton:_0x24f76e,_document:_0x1cb7f4}=this,{color:_0x64ebb6,name:_0x5b7644,ranges:_0x1cf9ae}=this['_cursor'],_0x4d5286=_0x1cb7f4[_0x10306d(0x196)](),{docsLeft:_0x5e872d,docsTop:_0x3c67e6}=_0x4d5286,_0x47edf9=new _0x24bca5[(_0x10306d(0x249))](_0x4d5286,_0x24f76e);for(const {startOffset:_0x3d7a45,endOffset:_0x57a5b5,rangeType:_0x4f4b36,segmentId:_0x5e560c,segmentPage:_0x89f093,collapsed:_0x77ec1b,isActive:_0x65a440}of _0x1cf9ae){const _0xaba6cf=_0x24f76e[_0x10306d(0x1e6)](_0x3d7a45,!0x0,_0x5e560c,_0x89f093);let _0x53d6f3=_0x24f76e[_0x10306d(0x1e6)](_0x57a5b5,!0x0,_0x5e560c,_0x89f093);if(_0x53d6f3==null&&(_0x53d6f3=_0x24f76e[_0x10306d(0x1e6)](_0x57a5b5-0x1,!0x1,_0x5e560c,_0x89f093)),_0x65a440){const {contentBoxPointGroup:_0x205d2a}=_0x47edf9[_0x10306d(0x2f1)](_0x53d6f3,_0x53d6f3);if(_0x205d2a['length']===0x0)continue;this[_0x10306d(0x2dc)](_0x64ebb6,_0x205d2a,_0x5e872d,_0x3c67e6,_0x5b7644),this[_0x10306d(0x306)]=this[_0x10306d(0x146)]();}if(_0xaba6cf&&_0x53d6f3){if(_0x4f4b36===_0x1bf86e[_0x10306d(0x26f)]['RECT']){const _0x26e2b7=new _0x24bca5[(_0x10306d(0x24a))](_0x4d5286,_0x24f76e),{pointGroup:_0x570eef}=(_0x4ae62d=_0x26e2b7[_0x10306d(0x2f1)](_0xaba6cf,_0x53d6f3))!=null?_0x4ae62d:{};if(_0x570eef==null||_0x570eef['length']===0x0)continue;this[_0x10306d(0x1b0)](_0x64ebb6,_0x570eef,_0x5e872d,_0x3c67e6);}else{if(!_0x77ec1b){const {borderBoxPointGroup:_0x5db028}=_0x47edf9[_0x10306d(0x2f1)](_0xaba6cf,_0x53d6f3);if(_0x5db028['length']===0x0)continue;this[_0x10306d(0x1ed)](_0x64ebb6,_0x5db028,_0x5e872d,_0x3c67e6);}}}}}[_0xb09cf6(0x2dc)](_0x555811,_0xd37ff2,_0x4e94b1,_0x297fc1,_0x510ce5){const _0x26b5d4=_0xb09cf6,_0x296cf=this['_getAnchorBounding'](_0xd37ff2),{left:_0x40636c,top:_0x9a3dc8,height:_0x107e61}=_0x296cf,_0x4d394a=this[_0x26b5d4(0x39f)](),_0x3d11ed=_0x5eeb08/_0x4d394a,_0x2f83b3=new _0x5dba15[(_0x26b5d4(0x35e))](_0x3d73f5+_0x1bf86e[_0x26b5d4(0x2c6)](_0x3db17f),{'left':_0x40636c+_0x4e94b1-_0x3d11ed,'top':_0x9a3dc8+_0x297fc1,'height':_0x107e61,'width':_0x2e6c04,'fill':_0x555811||_0x5dba15[_0x26b5d4(0xd3)](_0x1bf86e[_0x26b5d4(0x223)][_0x26b5d4(0x1d9)],0x0),'strokeWidth':_0x3d11ed,'stroke':_0xffb2bf,'evented':!0x0});this['_anchor']=_0x2f83b3,this['_scene'][_0x26b5d4(0x2f7)](_0x2f83b3,_0x24bca5[_0x26b5d4(0x276)]);const _0x445df9=new _0x5dba15['Rect'](_0x3d73f5+_0x1bf86e[_0x26b5d4(0x2c6)](_0x3db17f),{'left':_0x40636c+_0x4e94b1-_0x3d11ed,'top':_0x9a3dc8+_0x297fc1-_0x394313/0x2,'height':_0x394313,'width':_0x394313,'fill':_0x555811||_0x5dba15[_0x26b5d4(0xd3)](_0x1bf86e[_0x26b5d4(0x223)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x555811||_0x5dba15[_0x26b5d4(0xd3)](_0x1bf86e[_0x26b5d4(0x223)][_0x26b5d4(0x1d9)],0x0),'evented':!0x1});this['_anchorDot']=_0x445df9,this[_0x26b5d4(0x1c0)]['addObject'](_0x445df9,_0x24bca5['TEXT_RANGE_LAYER_INDEX']);const _0x545fdb=new _0x19a583(_0x3d73f5+_0x1bf86e[_0x26b5d4(0x2c6)](_0x3db17f),{'left':_0x40636c+_0x4e94b1-_0x3d11ed,'top':_0x9a3dc8+_0x297fc1-_0x6880d2,'text':_0x510ce5,'color':_0x555811});this[_0x26b5d4(0x390)]=_0x545fdb,this[_0x26b5d4(0x1c0)][_0x26b5d4(0x2f7)](_0x545fdb,_0x24bca5['TEXT_RANGE_LAYER_INDEX']),this[_0x26b5d4(0x14b)]=!0x1;}[_0xb09cf6(0x146)](){const _0x15bed3=_0xb09cf6,_0x3948b2=this[_0x15bed3(0x240)]['onPointerEnter$'][_0x15bed3(0x14f)](()=>{const _0x2a2648=_0x15bed3;this[_0x2a2648(0x14b)]=!0x0;}),_0x12c7f1=this['_anchor'][_0x15bed3(0x2c1)][_0x15bed3(0x14f)](()=>{const _0x31d113=_0x15bed3;this[_0x31d113(0x2bf)]&&clearTimeout(this[_0x31d113(0x2bf)]),this['_hideTimer']=setTimeout(()=>{const _0x3b4ffa=_0x31d113;this[_0x3b4ffa(0x14b)]=!0x1;},0x7d0);});return()=>{const _0x4aa02c=_0x15bed3;_0x3948b2[_0x4aa02c(0x2c2)](),_0x12c7f1[_0x4aa02c(0x2c2)]();};}[_0xb09cf6(0x1ed)](_0x4e792c,_0x7605b1,_0x52c845,_0x4f0f1){const _0x1f22c5=_0xb09cf6,_0xb7a67b=new _0x1bf86e['ColorKit'](_0x4e792c)[_0x1f22c5(0x2c9)](0.2)[_0x1f22c5(0x1d8)](),_0x58310d=new _0x5dba15[(_0x1f22c5(0x36a))](_0x4a6246+_0x1bf86e[_0x1f22c5(0x2c6)](_0x3db17f),{'pointsGroup':_0x7605b1,'fill':_0xb7a67b||_0x5dba15[_0x1f22c5(0xd3)](_0x1bf86e['COLORS'][_0x1f22c5(0x1d9)],0.2),'left':_0x52c845,'top':_0x4f0f1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1f22c5(0x28b)][_0x1f22c5(0xea)](_0x58310d),this[_0x1f22c5(0x1c0)][_0x1f22c5(0x2f7)](_0x58310d,_0x24bca5[_0x1f22c5(0x276)]);}[_0xb09cf6(0x1b0)](_0x2538ad,_0x12871f,_0x496b15,_0x2b6de5){const _0x47e933=_0xb09cf6,_0x46dd0a=new _0x1bf86e[(_0x47e933(0x1b3))](_0x2538ad)['setAlpha'](0.2)[_0x47e933(0x1d8)](),_0x3d8012=new _0x5dba15[(_0x47e933(0x36a))](_0x268a59+_0x1bf86e[_0x47e933(0x2c6)](_0x3db17f),{'pointsGroup':_0x12871f,'fill':_0x46dd0a||_0x5dba15[_0x47e933(0xd3)](_0x1bf86e[_0x47e933(0x223)][_0x47e933(0x1d9)],0.2),'left':_0x496b15,'top':_0x2b6de5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x47e933(0x28b)][_0x47e933(0xea)](_0x3d8012),this[_0x47e933(0x1c0)][_0x47e933(0x2f7)](_0x3d8012,_0x24bca5[_0x47e933(0x276)]);}[_0xb09cf6(0x1b9)](_0x516aa0){const _0x378b65=_0x516aa0[0x0],_0x5c8bd4=_0x378b65[0x0],_0x3b6d87=_0x378b65[0x2],{x:_0x2b9327,y:_0x5c7c73}=_0x5c8bd4,{x:_0x50a73d,y:_0x5ea915}=_0x3b6d87;return{'left':_0x2b9327,'top':_0x5c7c73,'width':_0x50a73d-_0x2b9327,'height':_0x5ea915-_0x5c7c73};}['_getScale'](){const _0x1f2828=_0xb09cf6,{scaleX:_0x65849e,scaleY:_0x237610}=this[_0x1f2828(0x1c0)][_0x1f2828(0x17a)]();return Math['max'](_0x65849e,_0x237610);}}var _0x1d3de6=Object['getOwnPropertyDescriptor'],_0x1648e1=(_0x233c38,_0x43a885,_0x2bc5cc,_0x5afa5a)=>{for(var _0x517dfd=_0x5afa5a>0x1?void 0x0:_0x5afa5a?_0x1d3de6(_0x43a885,_0x2bc5cc):_0x43a885,_0x4ffe3e=_0x233c38['length']-0x1,_0x69ef7b;_0x4ffe3e>=0x0;_0x4ffe3e--)(_0x69ef7b=_0x233c38[_0x4ffe3e])&&(_0x517dfd=_0x69ef7b(_0x517dfd)||_0x517dfd);return _0x517dfd;},_0x5b392d=(_0x46033c,_0x295dfd)=>(_0x2872b0,_0x53cb9c)=>_0x295dfd(_0x2872b0,_0x53cb9c,_0x46033c);let _0xabe3bb=class extends _0x1bf86e[_0xb09cf6(0x134)]{constructor(_0x17a0ac,_0x588ce7,_0x485089,_0x5ce950,_0xa68a3){const _0x32f95c=_0xb09cf6;super(),_0x49be5c(this,_0x32f95c(0x114),[]),_0x49be5c(this,_0x32f95c(0x2cd),[]),(this[_0x32f95c(0x171)]=_0x17a0ac,this[_0x32f95c(0x253)]=_0x588ce7,this[_0x32f95c(0x173)]=_0x485089,this['_commandService']=_0x5ce950,this[_0x32f95c(0x28f)]=_0xa68a3,this[_0x32f95c(0xfd)]());}[_0xb09cf6(0xfd)](){const _0x472ebf=_0xb09cf6,_0x774a86=this[_0x472ebf(0x171)][_0x472ebf(0xce)],_0x4c0df8=this[_0x472ebf(0x253)];this[_0x472ebf(0x104)](_0x57a56c[_0x472ebf(0x388)]([this[_0x472ebf(0x173)][_0x472ebf(0x372)](_0x774a86),this[_0x472ebf(0x28f)][_0x472ebf(0x1ae)]])['pipe'](_0x57665e[_0x472ebf(0x365)](([_0x2ebb02,_0x4f5ed8])=>({'skeleton':_0x4c0df8[_0x472ebf(0xe7)](),'cursors':[..._0x2ebb02[_0x472ebf(0x2fc)]()][_0x472ebf(0x14c)](_0x108959=>({..._0x108959,'color':this[_0x472ebf(0x28f)][_0x472ebf(0x116)](_0x108959['color'])}))})))[_0x472ebf(0x3c4)](_0x47c5b6=>{const _0x335f68=_0x472ebf;if(this[_0x335f68(0x17d)](),_0x47c5b6){const {skeleton:_0x4a3b64,cursors:_0x505837}=_0x47c5b6;this[_0x335f68(0x191)](_0x4a3b64,_0x505837);}})),this[_0x472ebf(0x2a1)](),this['_initCommandExecutedListener']();}[_0xb09cf6(0x191)](_0x4838d8,_0x17b901){const _0x38f97d=_0xb09cf6,{scene:_0x3b67fa,mainComponent:_0x35b712}=this['_context'],_0x58e642=_0x17b901[_0x38f97d(0x365)](_0x324d85=>new _0x342eb0(_0x324d85,_0x3b67fa,_0x4838d8,_0x35b712));this[_0x38f97d(0x114)]=_0x58e642,this[_0x38f97d(0x2cd)]=_0x17b901;}[_0xb09cf6(0x225)](){const _0x3c4591=_0xb09cf6;this[_0x3c4591(0x17d)]();const {scene:_0x4024cc,mainComponent:_0x3faa4a}=this[_0x3c4591(0x171)],_0x240542=this[_0x3c4591(0x253)]['getSkeleton'](),_0x1f01af=this[_0x3c4591(0x2cd)][_0x3c4591(0x365)](_0x691256=>new _0x342eb0(_0x691256,_0x4024cc,_0x240542,_0x3faa4a));this[_0x3c4591(0x114)]=_0x1f01af;}[_0xb09cf6(0x17d)](){const _0x40e15a=_0xb09cf6;this['_cursorShapes'][_0x40e15a(0x2c5)](_0x37db75=>_0x37db75[_0x40e15a(0x1a9)]()),this[_0x40e15a(0x114)]=[];}[_0xb09cf6(0x219)](){const _0x38ffd4=_0xb09cf6,_0x2f23fd=[_0x24bca5[_0x38ffd4(0x26b)]['id']];this[_0x38ffd4(0x104)](this['_commandService'][_0x38ffd4(0x182)](_0x59e9dd=>{const _0x154c7b=_0x38ffd4;_0x2f23fd['includes'](_0x59e9dd['id'])&&_0x59e9dd[_0x154c7b(0x210)]['unitId']===this[_0x154c7b(0x171)]['unitId']&&this['_refreshCollabCursors']();}));}[_0xb09cf6(0x2a1)](){const _0x4cdbec=_0xb09cf6;this[_0x4cdbec(0x104)](_0x1bf86e[_0x4cdbec(0x1bc)](this['_context'][_0x4cdbec(0x2df)][_0x4cdbec(0x11d)])[_0x4cdbec(0x368)](_0x57665e['filter'](_0x4100cc=>_0x4100cc[_0x4cdbec(0x2db)]===_0x5dba15[_0x4cdbec(0x1a6)][_0x4cdbec(0x332)]),_0x57665e['throttleTime'](0x10))[_0x4cdbec(0x3c4)](()=>{const _0x5e6d04=_0x4cdbec;this[_0x5e6d04(0x225)]();}));}};_0xabe3bb=_0x1648e1([_0x5b392d(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x4c6158[_0xb09cf6(0x317)])),_0x5b392d(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0xe7f68)),_0x5b392d(0x3,_0x1bf86e[_0xb09cf6(0x13a)]),_0x5b392d(0x4,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0xee)]))],_0xabe3bb);const _0x467d7a=0x1,_0x2deb13=1.5;class _0x237cb7 extends _0x5dba15['Shape']{constructor(_0x3a1700,_0x3bd554){const _0x5e0e98=_0xb09cf6;super(_0x3a1700,_0x3bd554),_0x49be5c(this,'_color'),_0x49be5c(this,_0x5e0e98(0x160),!0x1),_0x49be5c(this,'_range'),_0x49be5c(this,'_name',''),_0x49be5c(this,_0x5e0e98(0x396),_0x5e0e98(0x1c2)),_0x49be5c(this,_0x5e0e98(0x161)),(_0x3bd554&&this[_0x5e0e98(0x32d)](_0x3bd554),this[_0x5e0e98(0x258)]['subscribeEvent'](()=>this[_0x5e0e98(0x32d)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5e0e98(0x14f)](()=>this[_0x5e0e98(0x32d)]({'hovered':!0x1})));}[_0xb09cf6(0x32d)](_0xf79140){const _0x151df1=_0xb09cf6;var _0x1e1892,_0x34970e,_0x24754d,_0x4b701d,_0x2ab9b8,_0xfe5ba4;this[_0x151df1(0x15d)]=(_0x1e1892=_0xf79140[_0x151df1(0x234)])!=null?_0x1e1892:this[_0x151df1(0x15d)],this[_0x151df1(0x160)]=(_0x34970e=_0xf79140[_0x151df1(0x3a6)])!=null?_0x34970e:this[_0x151df1(0x160)],this[_0x151df1(0x142)]=(_0x24754d=_0xf79140[_0x151df1(0x33e)])!=null?_0x24754d:this[_0x151df1(0x142)],this[_0x151df1(0x119)]=(_0x4b701d=_0xf79140[_0x151df1(0x385)])!=null?_0x4b701d:this['_name'],this[_0x151df1(0x396)]=(_0x2ab9b8=_0xf79140[_0x151df1(0x2fd)])!=null?_0x2ab9b8:this[_0x151df1(0x396)],this[_0x151df1(0x161)]=(_0xfe5ba4=_0xf79140[_0x151df1(0x14d)])!=null?_0xfe5ba4:this[_0x151df1(0x161)],this[_0x151df1(0x2ff)]({'width':_0xf79140[_0x151df1(0x2e6)],'height':_0xf79140[_0x151df1(0x39e)]});}['onMouseMove'](_0x3995a2){const _0x382c93=_0xb09cf6,{row:_0x247f5a,column:_0x418d99}=_0x3995a2;if(_0x247f5a>=this[_0x382c93(0x142)][_0x382c93(0x2f9)]&&_0x247f5a<=this[_0x382c93(0x142)][_0x382c93(0x316)]&&_0x418d99>=this['_range']['startColumn']&&_0x418d99<=this['_range']['endColumn']){this[_0x382c93(0x32d)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xb09cf6(0x1bb)](_0x32d244){return!0x1;}[_0xb09cf6(0x320)](_0x4caf9e){const _0x1ddd0f=_0xb09cf6;_0x5dba15[_0x1ddd0f(0x35e)][_0x1ddd0f(0x10b)](_0x4caf9e,{'width':this[_0x1ddd0f(0x2e6)],'height':this['height'],'strokeWidth':_0x2deb13,'stroke':this[_0x1ddd0f(0x15d)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1ddd0f(0x160)]&&(_0x4caf9e[_0x1ddd0f(0x2da)](),_0x4caf9e['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x1ddd0f(0x396)]===_0x1ddd0f(0x31c)?0x0:-_0x6880d2),_0x19a583['drawWith'](_0x4caf9e,{'text':this[_0x1ddd0f(0x119)],'color':this[_0x1ddd0f(0x15d)]}),_0x4caf9e[_0x1ddd0f(0x222)]());}}var _0x3a6f1b=Object['getOwnPropertyDescriptor'],_0x22f24a=(_0x4842a2,_0x179d90,_0x45b17c,_0x7c8de6)=>{const _0x32cdf3=_0xb09cf6;for(var _0x5952c3=_0x7c8de6>0x1?void 0x0:_0x7c8de6?_0x3a6f1b(_0x179d90,_0x45b17c):_0x179d90,_0x1c7dec=_0x4842a2[_0x32cdf3(0x2a0)]-0x1,_0x54d627;_0x1c7dec>=0x0;_0x1c7dec--)(_0x54d627=_0x4842a2[_0x1c7dec])&&(_0x5952c3=_0x54d627(_0x5952c3)||_0x5952c3);return _0x5952c3;},_0x132ecf=(_0x515f61,_0x4c30af)=>(_0x3fe782,_0x355f29)=>_0x4c30af(_0x3fe782,_0x355f29,_0x515f61);const _0x414897=0x1389;let _0x5297ac=class extends _0x1bf86e[_0xb09cf6(0x134)]{constructor(_0x419404,_0xa6ff86,_0x3fc688,_0x36d471){const _0x3f5782=_0xb09cf6;super(),_0x49be5c(this,_0x3f5782(0x2cd),new Set()),_0x49be5c(this,_0x3f5782(0x392),null),(this[_0x3f5782(0x171)]=_0x419404,this[_0x3f5782(0x2ef)]=_0xa6ff86,this[_0x3f5782(0x173)]=_0x3fc688,this[_0x3f5782(0x28f)]=_0x36d471,this[_0x3f5782(0xfd)]());}[_0xb09cf6(0xfd)](){const _0x17c533=_0xb09cf6;this['_sheetSkeletonManagerService'][_0x17c533(0x363)][_0x17c533(0x368)](_0x57665e[_0x17c533(0x2ce)](this[_0x17c533(0x2d0)]),_0x57665e[_0x17c533(0x3a3)](_0x576e49=>{const _0x3c4d55=_0x17c533;if(_0x576e49){const _0x32dfb3=_0x576e49[_0x3c4d55(0x2a6)];return _0x57a56c[_0x3c4d55(0x388)](this[_0x3c4d55(0x173)][_0x3c4d55(0x372)](this['_context'][_0x3c4d55(0xce)]),this[_0x3c4d55(0x28f)][_0x3c4d55(0x1ae)])[_0x3c4d55(0x368)](_0x57665e[_0x3c4d55(0x365)](([_0x2499dd,_0x405962])=>{const _0x36accc=_0x3c4d55,_0x539bbc=new Map();return _0x2499dd[_0x36accc(0x2c5)]((_0x22fdc6,_0x21922b)=>{const _0x580b76=_0x36accc;if(_0x22fdc6['sheetID']===_0x32dfb3){const _0x45b48a={..._0x22fdc6};_0x45b48a[_0x580b76(0x234)]=this['_themeService'][_0x580b76(0x116)](_0x22fdc6['color']),_0x539bbc[_0x580b76(0x32b)](_0x21922b,_0x45b48a);}}),{'skeleton':_0x576e49,'cursors':_0x539bbc};}));}return _0x57a56c['of']({'skeleton':null,'cursors':new Map()});}))[_0x17c533(0x3c4)](({skeleton:_0x3230eb,cursors:_0x3197c3})=>{const _0x403657=_0x17c533;this[_0x403657(0x17d)](),_0x3230eb&&this[_0x403657(0x191)](_0x3230eb,_0x3197c3);}),this[_0x17c533(0x2ef)][_0x17c533(0x363)][_0x17c533(0x3c4)](_0xc4905f=>{const _0x27806f=_0x17c533;if(_0xc4905f==null)return;const {skeleton:_0xf3b4c8}=_0xc4905f,{scene:_0x1451b9}=this[_0x27806f(0x171)];_0x1451b9['onPointerMove$'][_0x27806f(0x14f)](_0x1bf86e[_0x27806f(0x1d7)](_0x177223=>{const _0x128ceb=_0x27806f;var _0x648972,_0x2d256e;const {offsetX:_0x2bbcaf,offsetY:_0x2df215}=_0x177223,{x:_0x3a4bcc,y:_0xb425b5}=_0x1451b9[_0x128ceb(0x25c)](_0x5dba15[_0x128ceb(0x197)][_0x128ceb(0x3b9)]([_0x2bbcaf,_0x2df215])),{scaleX:_0x591c0d,scaleY:_0x1dafb0}=_0x1451b9['getAncestorScale'](),_0x5e8fc5=_0x1451b9[_0x128ceb(0x2a5)](_0x5dba15[_0x128ceb(0x379)][_0x128ceb(0x112)]),_0x471f8f=_0x1451b9[_0x128ceb(0x1d1)](_0x5dba15[_0x128ceb(0x197)][_0x128ceb(0x3b9)]([_0x3a4bcc,_0xb425b5]),_0x5e8fc5),_0xb94453=_0xf3b4c8[_0x128ceb(0x126)](_0x2bbcaf,_0x2df215,_0x591c0d,_0x1dafb0,_0x471f8f);((_0x648972=this['_lastPointer'])==null?void 0x0:_0x648972[_0x128ceb(0x242)])===_0xb94453[_0x128ceb(0x242)]&&((_0x2d256e=this[_0x128ceb(0x392)])==null?void 0x0:_0x2d256e[_0x128ceb(0x328)])===_0xb94453[_0x128ceb(0x328)]||this[_0x128ceb(0x2cd)][_0x128ceb(0x2c5)](_0x2b08ec=>{const _0xd10ea7=_0x128ceb;_0x2b08ec[_0xd10ea7(0x158)](_0xb94453);});},0x64));});}[_0xb09cf6(0x191)](_0xe7af3e,_0x2acf90){const _0x1a771b=_0xb09cf6;var _0x4a563e;const _0x53d0e1=(_0x4a563e=this[_0x1a771b(0x2ef)]['getCurrent']())==null?void 0x0:_0x4a563e[_0x1a771b(0x10f)];if(!_0x53d0e1)return;const _0x411105=this[_0x1a771b(0x192)]();if(!_0x411105)return;this['_cursors'][_0x1a771b(0x2c5)](_0x5a4eef=>{const _0x5051a4=_0x1a771b;_0x5a4eef[_0x5051a4(0x145)]();});const {scene:_0x298080}=_0x411105,_0x484510=_0x4f688a(Array[_0x1a771b(0x203)](_0x2acf90[_0x1a771b(0x2fc)]()))['map'](_0x2c4211=>{const _0x21cdf3=_0x1a771b,{color:_0x209a0d,range:_0x4c041f,name:_0x4df205,selection:_0x391792,sheetID:_0x187b56}=_0x2c4211,{startColumn:_0x18efcd,startRow:_0x13e19d,endColumn:_0x48bf59,endRow:_0x207b02}=_0x4c041f,_0x5a12ca=_0x480426[_0x21cdf3(0x259)](_0x13e19d,_0x18efcd,_0x298080,_0x53d0e1),_0x568360=_0x480426[_0x21cdf3(0x259)](_0x207b02,_0x48bf59,_0x298080,_0x53d0e1),{columnHeaderHeightAndMarginTop:_0x565be1}=_0x53d0e1,{startX:_0x5c6bd2,startY:_0x18b49c}=_0x5a12ca,{endX:_0x3b715c,endY:_0x4c75a8}=_0x568360,_0x3245e5=_0x3b715c-_0x5c6bd2,_0x147449=_0x4c75a8-_0x18b49c,_0x48c119={'labelPosition':_0x18b49c-_0x565be1>=_0x6880d2?_0x21cdf3(0x1c2):_0x21cdf3(0x31c),'sheetID':_0x187b56,'range':_0x4c041f,'color':_0x209a0d,'name':_0x4df205,'selection':_0x391792,'left':_0x5c6bd2,'top':_0x18b49c,'width':_0x3245e5,'height':_0x147449,'evented':!0x1,'zIndex':_0x414897};return new _0x237cb7(_0x4df205,_0x48c119);});_0x298080[_0x1a771b(0x141)](_0x484510,_0x467d7a),this[_0x1a771b(0x2cd)]=new Set(_0x484510);}['_removeCollabCursors'](){const _0x5117b4=_0xb09cf6;var _0x5dcf58;(_0x5dcf58=this['_cursors'])==null||_0x5dcf58[_0x5117b4(0x2c5)](_0x5331ae=>_0x5331ae[_0x5117b4(0x1a9)]());}['_getSheetObject'](){const _0x36d188=_0xb09cf6;return _0x480426['getSheetObject'](this['_context'][_0x36d188(0x264)],this['_context']);}};_0x5297ac=_0x22f24a([_0x132ecf(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x480426[_0xb09cf6(0x374)])),_0x132ecf(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0xe7f68)),_0x132ecf(0x3,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e['ThemeService']))],_0x5297ac);function _0x4f688a(_0x197995){const _0x4d6938=_0xb09cf6,_0x295bd2=new Map();return _0x197995['forEach'](_0x50ae30=>{const _0x9c6ba=_0x23ff;if(_0x295bd2[_0x9c6ba(0x3c5)](_0x50ae30[_0x9c6ba(0xef)])){const _0x264a62=_0x295bd2['get'](_0x50ae30['selection']);_0x264a62[_0x9c6ba(0x385)]+=',\x20'+_0x50ae30['name'];}else _0x295bd2['set'](_0x50ae30[_0x9c6ba(0xef)],_0x50ae30);}),Array[_0x4d6938(0x203)](_0x295bd2[_0x4d6938(0x2fc)]());}var _0x1f9f27=Object['getOwnPropertyDescriptor'],_0xfeeb5=(_0x5cc1c2,_0x304b87,_0x5c92af,_0x21c664)=>{const _0x559aea=_0xb09cf6;for(var _0x381653=_0x21c664>0x1?void 0x0:_0x21c664?_0x1f9f27(_0x304b87,_0x5c92af):_0x304b87,_0xa617da=_0x5cc1c2[_0x559aea(0x2a0)]-0x1,_0x295496;_0xa617da>=0x0;_0xa617da--)(_0x295496=_0x5cc1c2[_0xa617da])&&(_0x381653=_0x295496(_0x381653)||_0x381653);return _0x381653;},_0x4c4104=(_0x5e42fb,_0x31e83c)=>(_0x23c611,_0x5e659a)=>_0x31e83c(_0x23c611,_0x5e659a,_0x5e42fb);let _0x501bbf=class extends _0x1bf86e['Disposable']{constructor(_0x43a91d,_0x16d37e,_0xd4feaa,_0x5aa6e1,_0x2964fc,_0x4baa32){const _0x3bec45=_0xb09cf6;super(),this[_0x3bec45(0xf7)]=_0x43a91d,this[_0x3bec45(0x33b)]=_0x16d37e,this[_0x3bec45(0x15e)]=_0xd4feaa,this[_0x3bec45(0x282)]=_0x5aa6e1,this['_notificationService']=_0x2964fc,this['_localeService']=_0x4baa32,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0xb09cf6(0x1d5)](){const _0x55bc33=_0xb09cf6;this['disposeWithMe'](this[_0x55bc33(0xf7)][_0x55bc33(0x38a)](()=>{const _0x5e6bb9=_0x55bc33;if(this['_localCacheService'][_0x5e6bb9(0x386)][_0x5e6bb9(0x255)])return this[_0x5e6bb9(0x322)]['t'](_0x5e6bb9(0x2b4));}));}['_initEvent'](){const _0x46f091=_0xb09cf6;this[_0x46f091(0x104)](this[_0x46f091(0x15e)]['event$'][_0x46f091(0x3c4)](_0x4cec5d=>{const _0x1eab7f=_0x46f091;_0x4cec5d['id']===_0x1cadbe['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x1eab7f(0x3c1)]({'type':_0x11570c[_0x1eab7f(0x3cc)]['Warning'],'content':this[_0x1eab7f(0x322)]['t'](_0x1eab7f(0x239))}),_0x4cec5d['id']===_0x1cadbe[_0x1eab7f(0x138)][_0x1eab7f(0x186)]&&this[_0x1eab7f(0x282)][_0x1eab7f(0x3c1)]({'type':_0x11570c['MessageType'][_0x1eab7f(0x3ba)],'content':this[_0x1eab7f(0x322)]['t'](_0x1eab7f(0x2f6))}),_0x4cec5d['id']===_0x1cadbe[_0x1eab7f(0x138)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x1eab7f(0x322)]['t'](_0x1eab7f(0x128)),'type':_0x1eab7f(0x2c3),'duration':0x0}),_0x4cec5d['id']===_0x1cadbe['CollaborationUIEventId'][_0x1eab7f(0x14a)]&&this[_0x1eab7f(0x282)][_0x1eab7f(0x3c1)]({'type':_0x11570c['MessageType'][_0x1eab7f(0x174)],'content':this[_0x1eab7f(0x322)]['t'](_0x1eab7f(0x2f6))+'('+_0x4cec5d[_0x1eab7f(0x19e)]+')'}),_0x4cec5d['id']===_0x1cadbe[_0x1eab7f(0x138)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x1eab7f(0x3c1)]({'type':_0x11570c[_0x1eab7f(0x3cc)]['Warning'],'content':this['_localeService']['t'](_0x4cec5d[_0x1eab7f(0x19e)]||'')}),_0x4cec5d['id']===_0x1cadbe['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x1eab7f(0x282)][_0x1eab7f(0x3c1)]({'type':_0x11570c[_0x1eab7f(0x3cc)][_0x1eab7f(0x3ba)],'content':this[_0x1eab7f(0x322)]['t'](_0x1eab7f(0x378))}),_0x4cec5d['id']===_0x1cadbe[_0x1eab7f(0x138)][_0x1eab7f(0x155)]&&this['_messageService'][_0x1eab7f(0x3c1)]({'type':_0x11570c[_0x1eab7f(0x3cc)][_0x1eab7f(0x174)],'content':this[_0x1eab7f(0x322)]['t']('session.connection-failed')}),_0x4cec5d['id']===_0x1cadbe[_0x1eab7f(0x138)][_0x1eab7f(0x16d)]&&this[_0x1eab7f(0x282)][_0x1eab7f(0x3c1)]({'type':_0x11570c[_0x1eab7f(0x3cc)][_0x1eab7f(0x174)],'content':this[_0x1eab7f(0x322)]['t'](_0x1eab7f(0x11e))});}));}};_0x501bbf=_0xfeeb5([_0x4c4104(0x0,_0x14309e[_0xb09cf6(0x20b)]),_0x4c4104(0x1,_0x1cadbe[_0xb09cf6(0x17c)]),_0x4c4104(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x1cadbe[_0xb09cf6(0x131)])),_0x4c4104(0x3,_0x14309e['IMessageService']),_0x4c4104(0x4,_0x14309e[_0xb09cf6(0x2d3)]),_0x4c4104(0x5,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e['LocaleService']))],_0x501bbf);var _0x470666=Object[_0xb09cf6(0x2e5)],_0x174d94=(_0x57da6a,_0x105840,_0x5623fc,_0x45233a)=>{const _0x3945b0=_0xb09cf6;for(var _0x1658f2=_0x45233a>0x1?void 0x0:_0x45233a?_0x470666(_0x105840,_0x5623fc):_0x105840,_0x5760e5=_0x57da6a[_0x3945b0(0x2a0)]-0x1,_0x43d54e;_0x5760e5>=0x0;_0x5760e5--)(_0x43d54e=_0x57da6a[_0x5760e5])&&(_0x1658f2=_0x43d54e(_0x1658f2)||_0x1658f2);return _0x1658f2;},_0x49918f=(_0x37137d,_0x38e7aa)=>(_0x55be07,_0x11d8b2)=>_0x38e7aa(_0x55be07,_0x11d8b2,_0x37137d);let _0x40fa0b=class extends _0x1bf86e['Disposable']{constructor(_0xf92f04,_0x53590a,_0x2b95a0,_0x31022d){const _0x555349=_0xb09cf6;super(),_0x49be5c(this,'_memberID'),(this[_0x555349(0x17f)]=_0xf92f04,this[_0x555349(0x356)]=_0x53590a,this[_0x555349(0x343)]=_0x2b95a0,this[_0x555349(0x2fe)]=_0x31022d,this['_init']());}[_0xb09cf6(0xfd)](){const _0x1a1954=_0xb09cf6;this[_0x1a1954(0x2f4)](),this[_0x1a1954(0x24f)](),this['_monkeyPatchLogService'](),this[_0x1a1954(0x3be)]();}[_0xb09cf6(0x3be)](){const _0x3453eb=_0xb09cf6;this[_0x3453eb(0x104)](this[_0x3453eb(0x2fe)][_0x3453eb(0x215)][_0x3453eb(0x3c4)](_0x534a5e=>{const _0x36bfa7=_0x3453eb;this['_memberID']=_0x534a5e==null?void 0x0:_0x534a5e[_0x36bfa7(0x37d)];}));}[_0xb09cf6(0x2f4)](){const _0xeaa591=_0xb09cf6,_0x403751=_0x33d853=>{const _0x20d32=_0x23ff;var _0xb570e5;this[_0x20d32(0x12a)](_0x20d32(0x2c3),_0x20d32(0x204)+_0x33d853[_0x20d32(0x3b0)]+_0x20d32(0xf4)+_0x33d853[_0x20d32(0x36c)]+':'+_0x33d853['lineno']+':'+_0x33d853['colno']+'\x0a'+(((_0xb570e5=_0x33d853[_0x20d32(0x2c3)])==null?void 0x0:_0xb570e5['stack'])||''));};window[_0xeaa591(0x12c)](_0xeaa591(0x2c3),_0x403751),this[_0xeaa591(0x104)](()=>{const _0x95d96a=_0xeaa591;window['removeEventListener'](_0x95d96a(0x2c3),_0x403751);});}[_0xb09cf6(0x24f)](){const _0x34011a=_0xb09cf6,_0x1a0544=_0x12dd6a=>{const _0x19f235=_0x23ff;this[_0x19f235(0x12a)](_0x19f235(0x2c3),_0x19f235(0x1f8)+_0x12dd6a['reason']);};window['addEventListener'](_0x34011a(0x2bc),_0x1a0544),this[_0x34011a(0x104)](()=>{const _0x2781e6=_0x34011a;window[_0x2781e6(0x2a8)](_0x2781e6(0x2bc),_0x1a0544);});}[_0xb09cf6(0x3b8)](){const _0xd2e73f=_0xb09cf6,_0x25ea79=this['_logService'][_0xd2e73f(0x2c3)][_0xd2e73f(0xe5)](this['_logService']);this[_0xd2e73f(0x343)]['error']=(..._0x3269c5)=>{const _0x1eacea=_0xd2e73f,_0x253f18=_0x3269c5[_0x1eacea(0x365)](_0x133dad=>_0x133dad instanceof Error?_0x133dad['message']+'\x0a'+_0x133dad[_0x1eacea(0x1fb)]:String(_0x133dad))[_0x1eacea(0x31e)]('\x20');this['_uploadLog'](_0x1eacea(0x2c3),_0x1eacea(0x172)+_0x253f18),_0x25ea79(..._0x3269c5);},this[_0xd2e73f(0x104)](()=>{const _0x1c22fa=_0xd2e73f;this['_logService'][_0x1c22fa(0x2c3)]=_0x25ea79;});}[_0xb09cf6(0x12a)](_0x366ceb,_0x1ecb34){const _0x5ca3e7=_0xb09cf6;try{const _0x3c46fc={'userId':this[_0x5ca3e7(0xde)],'logLabel':_0x366ceb,'content':_0x1ecb34};this[_0x5ca3e7(0x356)][_0x5ca3e7(0x12f)]('/universer-api/frontend/logs',{'body':_0x3c46fc})[_0x5ca3e7(0x154)](()=>{});}catch{}}};_0x40fa0b=_0x174d94([_0x49918f(0x0,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0x269)])),_0x49918f(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x53849d[_0xb09cf6(0x298)])),_0x49918f(0x2,_0x1bf86e[_0xb09cf6(0x143)]),_0x49918f(0x3,_0x1bf86e['Inject'](_0x1cadbe['CollaborationSessionService']))],_0x40fa0b);const _0x689496=_0xb09cf6(0x17b),_0x3695c0={};var _0x5ce2f6=Object[_0xb09cf6(0x2e5)],_0x706d13=(_0x571b61,_0x557a53,_0x5c5de7,_0x1e32d0)=>{const _0x19f15f=_0xb09cf6;for(var _0xdb31dc=_0x1e32d0>0x1?void 0x0:_0x1e32d0?_0x5ce2f6(_0x557a53,_0x5c5de7):_0x557a53,_0x22f38a=_0x571b61[_0x19f15f(0x2a0)]-0x1,_0x12e866;_0x22f38a>=0x0;_0x22f38a--)(_0x12e866=_0x571b61[_0x22f38a])&&(_0xdb31dc=_0x12e866(_0xdb31dc)||_0xdb31dc);return _0xdb31dc;},_0x3f814f=(_0x412224,_0x3866e0)=>(_0x261f5e,_0x20a396)=>_0x3866e0(_0x261f5e,_0x20a396,_0x412224);let _0x19ea77=class{constructor(_0x5e301f,_0x37f29f){const _0x2cddef=_0xb09cf6;this[_0x2cddef(0x2cb)]=_0x5e301f,this[_0x2cddef(0x22f)]=_0x37f29f;}[_0xb09cf6(0x353)](_0x5617d8){const _0x36a0ca=_0xb09cf6;this[_0x36a0ca(0x13d)](_0x5617d8),this[_0x36a0ca(0x310)](_0x5617d8);}[_0xb09cf6(0x1b5)](_0x2d1c74){const _0x3efe62=_0xb09cf6,{unitID:_0x594c31}=_0x2d1c74,_0x1ed5e2=this[_0x3efe62(0x22f)][_0x3efe62(0x107)](_0x594c31)[_0x3efe62(0x35b)](_0x24bca5['DocIMEInputManagerService']),{redoCache:_0x2ee971}=_0x1ed5e2[_0x3efe62(0x361)]();if(_0x2ee971[_0x3efe62(0x2a0)]===0x0)return _0x2d1c74;let _0x56e838=_0x1bf86e['Tools']['deepClone'](_0x2d1c74[_0x3efe62(0xe4)][0x0]);for(let _0x4376ef=0x0;_0x4376ef<_0x2ee971[_0x3efe62(0x2a0)];_0x4376ef++){const _0x4c1827={'id':_0x3efe62(0x124),'params':{..._0x2ee971[_0x4376ef]}},_0x5b1908=this[_0x3efe62(0x2cb)]['transformMutation'](_0x56e838,_0x4c1827,!0x1);if(_0x46b617[_0x3efe62(0x393)](_0x5b1908))throw _0x5b1908[_0x3efe62(0x2c3)];_0x56e838=_0x5b1908['m1Prime'];}return{..._0x1bf86e['Tools'][_0x3efe62(0x2a9)](_0x2d1c74),'mutations':[_0x56e838]};}['_transformUndoRedoStack'](_0x14fb29){const _0x10683f=_0xb09cf6,{unitID:_0x4315e5}=_0x14fb29,_0x2f3468=this[_0x10683f(0x22f)][_0x10683f(0x107)](_0x4315e5)[_0x10683f(0x35b)](_0x24bca5['DocIMEInputManagerService']),{undoCache:_0x4a25b5,redoCache:_0x5b9dbc}=_0x2f3468[_0x10683f(0x361)]();if(_0x4a25b5[_0x10683f(0x2a0)]===0x0||_0x5b9dbc[_0x10683f(0x2a0)]===0x0)return;const _0x3d290d=[],_0x4a164b=[];let _0x2e2cb4=_0x1bf86e[_0x10683f(0x3c3)]['deepClone'](_0x14fb29[_0x10683f(0xe4)][0x0]),_0x4ec9df=_0x1bf86e[_0x10683f(0x3c3)]['deepClone'](_0x14fb29[_0x10683f(0xe4)][0x0]);for(let _0x253a8e=_0x4a25b5[_0x10683f(0x2a0)]-0x1;_0x253a8e>=0x0;_0x253a8e--){const _0x38ea13={'id':_0x10683f(0x124),'params':{..._0x4a25b5[_0x253a8e]}},_0xfdbd28={'id':_0x10683f(0x124),'params':{..._0x5b9dbc[_0x253a8e]}},_0x2c7f8e=this['_transformService']['transformMutation'](_0x2e2cb4,_0x38ea13,!0x1),_0x1c1d5d=this[_0x10683f(0x2cb)][_0x10683f(0x380)](_0x4ec9df,_0xfdbd28,!0x1);if(_0x46b617[_0x10683f(0x393)](_0x2c7f8e))throw _0x2c7f8e[_0x10683f(0x2c3)];if(_0x46b617[_0x10683f(0x393)](_0x1c1d5d))throw _0x1c1d5d[_0x10683f(0x2c3)];_0x3d290d[_0x10683f(0x301)](_0x2c7f8e[_0x10683f(0x103)][_0x10683f(0x210)]),_0x4a164b['unshift'](_0x1c1d5d['m2Prime'][_0x10683f(0x210)]),_0x2e2cb4=_0x2c7f8e[_0x10683f(0x195)],_0x4ec9df=_0x1c1d5d[_0x10683f(0x195)];}_0x2f3468[_0x10683f(0x267)]({'undoCache':_0x3d290d,'redoCache':_0x4a164b});}[_0xb09cf6(0x310)](_0x543555){const _0x5e5c82=_0xb09cf6,{unitID:_0x217640}=_0x543555,_0x33f918=this[_0x5e5c82(0x22f)][_0x5e5c82(0x107)](_0x217640)[_0x5e5c82(0x35b)](_0x24bca5[_0x5e5c82(0x2b0)]),_0x4f57be=_0x33f918[_0x5e5c82(0x2e0)]();if(_0x4f57be==null)return;const _0xeb57d0=[{'id':_0x5e5c82(0x124),'params':{'unitId':_0x543555[_0x5e5c82(0x1c1)],'actions':null,'textRanges':[_0x4f57be]}}],_0x5d97cb=this[_0x5e5c82(0x2cb)][_0x5e5c82(0x16a)](_0x543555,_0xeb57d0);if(!_0x46b617['isTransformMutationsWithChangesetSuccess'](_0x5d97cb))throw _0x5d97cb[_0x5e5c82(0x2c3)];const _0x41938d=_0x5d97cb['m2Prime'][0x0]['params'][_0x5e5c82(0x20a)];Array[_0x5e5c82(0x137)](_0x41938d)&&_0x41938d[_0x5e5c82(0x2a0)]&&_0x33f918['setActiveRange'](_0x41938d[0x0]);}};_0x19ea77=_0x706d13([_0x3f814f(0x0,_0x46b617['ITransformService']),_0x3f814f(0x1,_0x5dba15[_0xb09cf6(0x224)])],_0x19ea77);var _0x517e4d=Object['getOwnPropertyDescriptor'],_0x56c5e1=(_0x2f2b50,_0x52ce52,_0x5a7ea7,_0x127735)=>{const _0x1e2f05=_0xb09cf6;for(var _0x580aa3=_0x127735>0x1?void 0x0:_0x127735?_0x517e4d(_0x52ce52,_0x5a7ea7):_0x52ce52,_0x140633=_0x2f2b50[_0x1e2f05(0x2a0)]-0x1,_0x414457;_0x140633>=0x0;_0x140633--)(_0x414457=_0x2f2b50[_0x140633])&&(_0x580aa3=_0x414457(_0x580aa3)||_0x580aa3);return _0x580aa3;},_0x46f8f7=(_0x1bde0a,_0x10565c)=>(_0x205c42,_0x36751d)=>_0x10565c(_0x205c42,_0x36751d,_0x1bde0a);let _0x2190b2=class{constructor(_0x145278,_0x4ae988,_0x5d5319){const _0x20c487=_0xb09cf6;this[_0x20c487(0x17f)]=_0x145278,this[_0x20c487(0x2cb)]=_0x4ae988,this[_0x20c487(0x360)]=_0x5d5319;}[_0xb09cf6(0x27c)](_0x955168){const _0x2d8726=_0xb09cf6;this[_0x2d8726(0x17e)](_0x955168);}[_0xb09cf6(0x1b5)](_0x256b72){const _0xc706eb=_0xb09cf6,{unitID:_0x353818}=_0x256b72,{collaboration:_0x53e581}=this[_0xc706eb(0x360)][_0xc706eb(0x2a7)](_0x353818);if(_0x53e581[_0xc706eb(0x2a0)]===0x0)return _0x256b72;let _0x1bc34d=_0x1bf86e[_0xc706eb(0x3c3)]['deepClone'](_0x256b72['mutations'][0x0]);for(let _0x142f97=0x0;_0x142f97<_0x53e581[_0xc706eb(0x2a0)];_0x142f97++){const _0x20a8bc={'id':_0xc706eb(0x124),'params':{'unitId':_0x53e581[_0x142f97][_0xc706eb(0xce)],..._0x53e581[_0x142f97][_0xc706eb(0x19c)]}},_0x2097de=this[_0xc706eb(0x2cb)][_0xc706eb(0x380)](_0x1bc34d,_0x20a8bc,!0x1);if(_0x46b617['isTransformMutationFailure'](_0x2097de))throw _0x2097de[_0xc706eb(0x2c3)];_0x1bc34d=_0x2097de['m1Prime'];}return{..._0x1bf86e[_0xc706eb(0x3c3)]['deepClone'](_0x256b72),'mutations':[_0x1bc34d]};}[_0xb09cf6(0x17e)](_0x3171c8){const _0x1a198f=_0xb09cf6,{unitID:_0x4c573c}=_0x3171c8,{history:_0x1d5f54,collaboration:_0x2045b1}=this['_docStateChangeManagerService'][_0x1a198f(0x2a7)](_0x4c573c);if(_0x1d5f54[_0x1a198f(0x2a0)]===0x0&&_0x2045b1[_0x1a198f(0x2a0)]===0x0)return;const _0x10053e=[],_0x116eaf=[];let _0x2498b1=_0x1bf86e[_0x1a198f(0x3c3)][_0x1a198f(0x2a9)](_0x3171c8[_0x1a198f(0xe4)][0x0]),_0xc4d161=_0x1bf86e[_0x1a198f(0x3c3)][_0x1a198f(0x2a9)](_0x3171c8[_0x1a198f(0xe4)][0x0]);for(let _0x6a2a5c=_0x1d5f54['length']-0x1;_0x6a2a5c>=0x0;_0x6a2a5c--){const _0x1347c1={'id':_0x1a198f(0x124),'params':{'unitId':_0x1d5f54[_0x6a2a5c][_0x1a198f(0xce)],..._0x1d5f54[_0x6a2a5c][_0x1a198f(0x268)]}},_0x42e061={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d5f54[_0x6a2a5c]['unitId'],..._0x1d5f54[_0x6a2a5c]['redoState']}},_0x97d1c6=this[_0x1a198f(0x2cb)]['transformMutation'](_0x2498b1,_0x1347c1,!0x1),_0x24b911=this[_0x1a198f(0x2cb)][_0x1a198f(0x380)](_0xc4d161,_0x42e061,!0x1);if(_0x46b617['isTransformMutationFailure'](_0x97d1c6))throw _0x97d1c6[_0x1a198f(0x2c3)];if(_0x46b617[_0x1a198f(0x393)](_0x24b911))throw _0x24b911[_0x1a198f(0x2c3)];_0x10053e[_0x1a198f(0x301)]({..._0x1d5f54[_0x6a2a5c],'undoState':_0x97d1c6[_0x1a198f(0x103)][_0x1a198f(0x210)],'redoState':_0x24b911[_0x1a198f(0x103)][_0x1a198f(0x210)]}),_0x2498b1=_0x97d1c6[_0x1a198f(0x195)],_0xc4d161=_0x24b911[_0x1a198f(0x195)];}_0x2498b1=_0x1bf86e['Tools'][_0x1a198f(0x2a9)](_0x3171c8[_0x1a198f(0xe4)][0x0]),_0xc4d161=_0x1bf86e['Tools'][_0x1a198f(0x2a9)](_0x3171c8[_0x1a198f(0xe4)][0x0]);for(let _0x25b4a2=_0x2045b1['length']-0x1;_0x25b4a2>=0x0;_0x25b4a2--){const _0x25a965={'id':_0x1a198f(0x124),'params':{'unitId':_0x2045b1[_0x25b4a2][_0x1a198f(0xce)],..._0x2045b1[_0x25b4a2][_0x1a198f(0x268)]}},_0x2cb21a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2045b1[_0x25b4a2]['unitId'],..._0x2045b1[_0x25b4a2][_0x1a198f(0x19c)]}},_0x24f05b=this[_0x1a198f(0x2cb)][_0x1a198f(0x380)](_0x2498b1,_0x25a965,!0x1),_0xc79209=this['_transformService']['transformMutation'](_0xc4d161,_0x2cb21a,!0x1);if(_0x46b617['isTransformMutationFailure'](_0x24f05b))throw _0x24f05b[_0x1a198f(0x2c3)];if(_0x46b617[_0x1a198f(0x393)](_0xc79209))throw _0xc79209[_0x1a198f(0x2c3)];_0x116eaf[_0x1a198f(0x301)]({..._0x2045b1[_0x25b4a2],'undoState':_0x24f05b[_0x1a198f(0x103)][_0x1a198f(0x210)],'redoState':_0xc79209[_0x1a198f(0x103)][_0x1a198f(0x210)]}),_0x2498b1=_0x24f05b[_0x1a198f(0x195)],_0xc4d161=_0xc79209[_0x1a198f(0x195)];}this[_0x1a198f(0x360)]['setStateCache'](_0x4c573c,{'history':_0x10053e,'collaboration':_0x116eaf});}};_0x2190b2=_0x56c5e1([_0x46f8f7(0x0,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e['Injector'])),_0x46f8f7(0x1,_0x46b617[_0xb09cf6(0x272)]),_0x46f8f7(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x24bca5[_0xb09cf6(0x38f)]))],_0x2190b2);var _0x1993fa=Object[_0xb09cf6(0x2e5)],_0x2d4e50=(_0xd5d946,_0x14a6a0,_0x12d2dc,_0x43e031)=>{const _0x1b6f2d=_0xb09cf6;for(var _0x4c1b1d=_0x43e031>0x1?void 0x0:_0x43e031?_0x1993fa(_0x14a6a0,_0x12d2dc):_0x14a6a0,_0x52b43d=_0xd5d946[_0x1b6f2d(0x2a0)]-0x1,_0x230c0c;_0x52b43d>=0x0;_0x52b43d--)(_0x230c0c=_0xd5d946[_0x52b43d])&&(_0x4c1b1d=_0x230c0c(_0x4c1b1d)||_0x4c1b1d);return _0x4c1b1d;},_0x772a53=(_0x3de551,_0x39bcca)=>(_0x572981,_0x5b7764)=>_0x39bcca(_0x572981,_0x5b7764,_0x3de551);let _0x10f6fe=class{constructor(_0x29c136,_0x25a62b){const _0x47ef07=_0xb09cf6;this[_0x47ef07(0x17f)]=_0x29c136,this[_0x47ef07(0x2cb)]=_0x25a62b;}[_0xb09cf6(0x3ab)](_0x1c151f){const _0x190563=_0xb09cf6;var _0x30188e;const _0x125033=this['_injector'][_0x190563(0x167)](_0x4c6158['DocSelectionManagerService']),_0x6f7879=(_0x30188e=_0x125033[_0x190563(0x216)]())!=null?_0x30188e:[];if(_0x6f7879[_0x190563(0x2a0)]===0x0)return;const _0x1d67d4=_0x1c151f['unitID'],_0x2f07f1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d67d4,'actions':null,'textRanges':_0x6f7879}}],_0x522b32=this['_transformService']['transformMutationsWithChangeset'](_0x1c151f,_0x2f07f1);if(!_0x46b617[_0x190563(0x189)](_0x522b32))throw _0x522b32[_0x190563(0x2c3)];const _0x37a3e7=_0x522b32[_0x190563(0x103)][0x0][_0x190563(0x210)][_0x190563(0x20a)];Array[_0x190563(0x137)](_0x37a3e7)&&_0x37a3e7[_0x190563(0x2a0)]&&_0x125033[_0x190563(0x2c4)](_0x37a3e7,{'unitId':_0x1d67d4,'subUnitId':_0x1d67d4},!0x1);}};_0x10f6fe=_0x2d4e50([_0x772a53(0x0,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0x269)])),_0x772a53(0x1,_0x46b617[_0xb09cf6(0x272)])],_0x10f6fe);var _0x533d0c=Object[_0xb09cf6(0x2e5)],_0x21227e=(_0x5ab72d,_0x5a8948,_0x1563c2,_0xbe439b)=>{const _0xbd0e99=_0xb09cf6;for(var _0x2152d4=_0xbe439b>0x1?void 0x0:_0xbe439b?_0x533d0c(_0x5a8948,_0x1563c2):_0x5a8948,_0x436e22=_0x5ab72d[_0xbd0e99(0x2a0)]-0x1,_0x4c4c9b;_0x436e22>=0x0;_0x436e22--)(_0x4c4c9b=_0x5ab72d[_0x436e22])&&(_0x2152d4=_0x4c4c9b(_0x2152d4)||_0x2152d4);return _0x2152d4;},_0x26ed5d=(_0xe93a50,_0x141c8b)=>(_0x418ffc,_0x143f76)=>_0x141c8b(_0x418ffc,_0x143f76,_0xe93a50);let _0x541715=class extends _0x1bf86e[_0xb09cf6(0x3a2)]{constructor(_0x1b5bea,_0x37ca2f,_0x238a50,_0x3f3fbd,_0x114a1c,_0x3d2c87,_0x5d6c5f,_0x4fd29e){const _0x82fd3c=_0xb09cf6;super(),_0x49be5c(this,'_status$',new _0x57a56c[(_0x82fd3c(0xe1))](_0x1cadbe[_0x82fd3c(0x198)][_0x82fd3c(0xd9)])),(this[_0x82fd3c(0x360)]=_0x1b5bea,this[_0x82fd3c(0x2f2)]=_0x37ca2f,this[_0x82fd3c(0x1e3)]=_0x238a50,this[_0x82fd3c(0x1ab)]=_0x3f3fbd,this['_docTransformSelectionsService']=_0x114a1c,this[_0x82fd3c(0x354)]=_0x3d2c87,this[_0x82fd3c(0x282)]=_0x5d6c5f,this['_localeService']=_0x4fd29e,this['_initEntityListener']());}[_0xb09cf6(0x285)](){const _0x5e9dda=_0xb09cf6;this[_0x5e9dda(0x104)](this['_collaborationController'][_0x5e9dda(0x25d)][_0x5e9dda(0x3c4)](_0xfa10f0=>{const _0x2b4ee8=_0x5e9dda,_0x131062=this[_0x2b4ee8(0x360)][_0x2b4ee8(0x262)][_0x2b4ee8(0x3c4)](_0x18e2d6=>{const _0x18048f=_0x2b4ee8;if(_0x18e2d6==null)return;const {unitId:_0x2ed6f8,redoState:_0x4335fb,commandId:_0x32fd8f}=_0x18e2d6;if(_0x2ed6f8!==_0xfa10f0[_0x18048f(0x1c1)])return;const _0x3c6b91={'id':_0x32fd8f,'type':_0x1bf86e[_0x18048f(0x2bb)][_0x18048f(0x213)],'params':{'unitId':_0x2ed6f8,'actions':_0x4335fb[_0x18048f(0x266)],'textRanges':null}};_0xfa10f0[_0x18048f(0xd4)](_0x3c6b91);});if(_0xfa10f0[_0x2b4ee8(0x104)](_0x131062),_0xfa10f0 instanceof _0x1cadbe[_0x2b4ee8(0x21e)]){const _0x4d0e9a={'onTransformIME':_0xdaa2fa=>this[_0x2b4ee8(0x1e3)][_0x2b4ee8(0x353)](_0xdaa2fa),'onTransformState':_0x46f72e=>this[_0x2b4ee8(0x1ab)][_0x2b4ee8(0x27c)](_0x46f72e),'onTransformSelections':_0xfa6f47=>this[_0x2b4ee8(0x273)][_0x2b4ee8(0x3ab)](_0xfa6f47),'onSyncEditingCollabCursor':_0xa88eca=>this[_0x2b4ee8(0x354)]['syncEditingCollabCursor'](_0xa88eca),'onTransformRemoteChangesetByIMECache':_0x794e3b=>this[_0x2b4ee8(0x1e3)][_0x2b4ee8(0x1b5)](_0x794e3b),'onTransformRemoteChangesetByStateCache':_0x285ab2=>this[_0x2b4ee8(0x1ab)]['transformRemoteChangeset'](_0x285ab2)};_0xfa10f0['addHandlerCallback'](_0x4d0e9a);}}));}};_0x541715=_0x21227e([_0x26ed5d(0x0,_0x1bf86e[_0xb09cf6(0x25e)](_0x24bca5['DocStateChangeManagerService'])),_0x26ed5d(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x1cadbe[_0xb09cf6(0x168)])),_0x26ed5d(0x2,_0x1bf86e['Inject'](_0x19ea77)),_0x26ed5d(0x3,_0x1bf86e[_0xb09cf6(0x25e)](_0x2190b2)),_0x26ed5d(0x4,_0x1bf86e[_0xb09cf6(0x25e)](_0x10f6fe)),_0x26ed5d(0x5,_0x1bf86e['Inject'](_0x204057)),_0x26ed5d(0x6,_0x14309e[_0xb09cf6(0x1eb)]),_0x26ed5d(0x7,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0x111)]))],_0x541715);var _0x190798=(_0x48a9a9=>(_0x48a9a9[_0x48a9a9['UNDEFINED']=0x0]=_0xb09cf6(0x162),_0x48a9a9[_0x48a9a9['OK']=0x1]='OK',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2b5)]=0x2]=_0xb09cf6(0x2b5),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x377)]=0x3]='PERMISSION_DENIED',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x300)]=0x4]=_0xb09cf6(0x300),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x286)]=0x5]=_0xb09cf6(0x286),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x389)]=0x6]='ALREADY_EXISTS',_0x48a9a9[_0x48a9a9['INVALID_ARGUMENT']=0x7]=_0xb09cf6(0x246),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x338)]=0x8]=_0xb09cf6(0x338),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x37a)]=0x9]=_0xb09cf6(0x37a),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x11a)]=0xa]='LOGIN_FAILED',_0x48a9a9[_0x48a9a9['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0xb09cf6(0x11c),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x21f)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x48a9a9[_0x48a9a9[_0xb09cf6(0xcd)]=0xd]=_0xb09cf6(0xcd),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x236)]=0xe]=_0xb09cf6(0x236),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x3b3)]=0xf]=_0xb09cf6(0x3b3),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x1cb)]=0x10]=_0xb09cf6(0x1cb),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x34a)]=0x64]=_0xb09cf6(0x34a),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x323)]=0x65]=_0xb09cf6(0x323),_0x48a9a9[_0x48a9a9['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2aa)]=0xca]=_0xb09cf6(0x2aa),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x139)]=0x1389]=_0xb09cf6(0x139),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x3cb)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x113)]=0x1772]=_0xb09cf6(0x113),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x271)]=0x1773]=_0xb09cf6(0x271),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x1dc)]=0x1b59]='APPLY_REJECT',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x23e)]=0x1b5a]=_0xb09cf6(0x23e),_0x48a9a9[_0x48a9a9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xb09cf6(0x10e),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x29a)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x48a9a9[_0x48a9a9[_0xb09cf6(0xd1)]=0x1b5d]=_0xb09cf6(0xd1),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2d2)]=0x1f41]=_0xb09cf6(0x2d2),_0x48a9a9[_0x48a9a9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xb09cf6(0x260),_0x48a9a9[_0x48a9a9['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xb09cf6(0x1e1),_0x48a9a9[_0x48a9a9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xb09cf6(0x178),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x229)]=0x232c]=_0xb09cf6(0x229),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2fa)]=0x232d]=_0xb09cf6(0x2fa),_0x48a9a9[_0x48a9a9['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xb09cf6(0x358),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2d5)]=0x2712]=_0xb09cf6(0x2d5),_0x48a9a9[_0x48a9a9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xb09cf6(0x1f7),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x29f)]=0x2714]=_0xb09cf6(0x29f),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x309)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x3c2)]=0x271b]=_0xb09cf6(0x3c2),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x37f)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x48a9a9[_0x48a9a9[_0xb09cf6(0x1a5)]=0x271d]=_0xb09cf6(0x1a5),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2d1)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x48a9a9[_0x48a9a9[_0xb09cf6(0xed)]=0x271f]=_0xb09cf6(0xed),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x38c)]=0x2720]=_0xb09cf6(0x38c),_0x48a9a9[_0x48a9a9['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0xb09cf6(0x1e4),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x27e)]=0x2ee1]=_0xb09cf6(0x27e),_0x48a9a9[_0x48a9a9['INVALID_INVITE_CODE']=0x2ee2]=_0xb09cf6(0x2c8),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x185)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x48a9a9[_0x48a9a9['USER_NOT_INVITED_CODE']=0x2ee4]=_0xb09cf6(0x214),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x13c)]=0x2ee5]=_0xb09cf6(0x13c),_0x48a9a9[_0x48a9a9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xb09cf6(0x308),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x2d4)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x48a9a9[_0x48a9a9['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xb09cf6(0xdf),_0x48a9a9[_0x48a9a9['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0xb09cf6(0x297),_0x48a9a9[_0x48a9a9['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x48a9a9[_0x48a9a9['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0xb09cf6(0x199),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x3a1)]=0x36b4]=_0xb09cf6(0x3a1),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x31f)]=0x36b5]=_0xb09cf6(0x31f),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x345)]=0x36b6]=_0xb09cf6(0x345),_0x48a9a9[_0x48a9a9['ENTITLE_COUPON_USED_UP']=0x36b7]=_0xb09cf6(0x39d),_0x48a9a9[_0x48a9a9['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0xb09cf6(0x164),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x237)]=0x3715]=_0xb09cf6(0x237),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x148)]=0x3716]=_0xb09cf6(0x148),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x159)]=0x3717]=_0xb09cf6(0x159),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x3ad)]=0x37dd]=_0xb09cf6(0x3ad),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x12e)]=0x3a99]=_0xb09cf6(0x12e),_0x48a9a9[_0x48a9a9['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0xb09cf6(0x22d),_0x48a9a9[_0x48a9a9[_0xb09cf6(0xf0)]=0x3a9b]=_0xb09cf6(0xf0),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x1ec)]=0x3a9c]=_0xb09cf6(0x1ec),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x1d3)]=0x3a9d]=_0xb09cf6(0x1d3),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x23f)]=0x3a9e]=_0xb09cf6(0x23f),_0x48a9a9[_0x48a9a9['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0xb09cf6(0xfc),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x19a)]=0x3e81]=_0xb09cf6(0x19a),_0x48a9a9[_0x48a9a9[_0xb09cf6(0x232)]=-0x1]=_0xb09cf6(0x232),_0x48a9a9))(_0x190798||{});function _0x466b42(_0xf506d8){const _0x1c0caf=_0xb09cf6;var _0x567723,_0x221e8e;const _0x5ef7d0=(_0x567723=_0xf506d8['stageInfo'])==null?void 0x0:_0x567723[_0x1c0caf(0x1a0)],_0x18ab3a=((_0x221e8e=_0xf506d8[_0x1c0caf(0x2f0)])==null?void 0x0:_0x221e8e[_0x1c0caf(0x20c)])||0x0;return _0x5ef7d0===_0x497297[_0x1c0caf(0x391)][_0x1c0caf(0x252)]&&_0x18ab3a>0x0;}function _0x925068(_0x23ccee){const _0x410411=_0xb09cf6;return _0x23ccee[_0x410411(0x382)]===_0x497297['FormulaExecutedStateType']['SUCCESS'];}var _0x695da9=Object[_0xb09cf6(0x2e5)],_0x3d75c6=(_0x218786,_0x4a6405,_0x3d4adc,_0x16f844)=>{const _0x11b9cc=_0xb09cf6;for(var _0x38f89b=_0x16f844>0x1?void 0x0:_0x16f844?_0x695da9(_0x4a6405,_0x3d4adc):_0x4a6405,_0x5cfdc2=_0x218786[_0x11b9cc(0x2a0)]-0x1,_0x230de5;_0x5cfdc2>=0x0;_0x5cfdc2--)(_0x230de5=_0x218786[_0x5cfdc2])&&(_0x38f89b=_0x230de5(_0x38f89b)||_0x38f89b);return _0x38f89b;},_0x4d144b=(_0x4c3b56,_0x20c763)=>(_0x595115,_0x55b7b5)=>_0x20c763(_0x595115,_0x55b7b5,_0x4c3b56);const _0x5a05db='/universer-api/license/formula/limit/status',_0x40ba00=_0xb09cf6(0x1d2),_0x8ae1ad=_0xb09cf6(0x279);let _0xd3d150=class extends _0x1bf86e['Disposable']{constructor(_0x591954,_0x348ea3,_0x53f71e,_0x391184,_0x33cf2f,_0x39a44f,_0x4f67e5){const _0x287092=_0xb09cf6;super(),_0x49be5c(this,_0x287092(0x290),null),_0x49be5c(this,'_maxFormulaLimit',0x0),_0x49be5c(this,_0x287092(0x3b7),0x0),_0x49be5c(this,_0x287092(0x117),[]),_0x49be5c(this,'_lastResponseTimestamp',0x0),(this[_0x287092(0x282)]=_0x591954,this[_0x287092(0x291)]=_0x348ea3,this[_0x287092(0x28d)]=_0x53f71e,this[_0x287092(0x356)]=_0x391184,this[_0x287092(0x10a)]=_0x33cf2f,this['_logService']=_0x39a44f,this[_0x287092(0x322)]=_0x4f67e5,this[_0x287092(0x324)]());}['_initCommandInterceptor'](){const _0x2b717a=_0xb09cf6;this['disposeWithMe'](this[_0x2b717a(0x291)]['beforeCommandExecuted']((_0x5c8b1b,_0x32333d)=>{const _0x22f42e=_0x2b717a;var _0x5b750b;if(_0x5c8b1b['id']!==_0x497297['SetFormulaCalculationStartMutation']['id'])return;const _0x57a484=_0x5c8b1b[_0x22f42e(0x210)];if(!this['_hasFormulaInDirtyRanges']((_0x5b750b=_0x57a484['dirtyRanges'])!=null?_0x5b750b:[]))return;if(!this[_0x22f42e(0x2a3)]())throw this[_0x22f42e(0x244)](_0x5c8b1b,_0x32333d),this[_0x22f42e(0x1c8)](),new _0x1bf86e[(_0x22f42e(0x364))]();})),this[_0x2b717a(0x104)](this['_commandService'][_0x2b717a(0x182)]((_0x2c78a1,_0x39ef25)=>{const _0x207fe4=_0x2b717a;if(_0x2c78a1['id']!==_0x497297[_0x207fe4(0x16c)]['id'])return;const _0x2038dd=_0x2c78a1[_0x207fe4(0x210)];if(_0x466b42(_0x2038dd)){const _0x4a6212=_0x1bf86e['generateRandomId']();this['_taskIds']['push'](_0x4a6212),this[_0x207fe4(0x247)](_0x4a6212);}else{if(_0x925068(_0x2038dd)&&this[_0x207fe4(0x117)][_0x207fe4(0x2a0)]>0x0){const _0x5ba71e=this[_0x207fe4(0x117)][_0x207fe4(0x1ee)]();this[_0x207fe4(0x334)](_0x5ba71e);}}}));}[_0xb09cf6(0x1a9)](){const _0x2610c9=_0xb09cf6;super[_0x2610c9(0x1a9)](),this['_clearPolling'](),this[_0x2610c9(0x117)]=[],this['_currentUsage']=0x0,this['_maxFormulaLimit']=0x0,this[_0x2610c9(0x1b1)]=0x0;}async[_0xb09cf6(0x244)](_0xf6d8f0,_0x4c1722){const _0x2383ac=_0xb09cf6;for(let _0x4a5621=0x0;_0x4a5621<0x1e;_0x4a5621++)try{if(await this['_getFormulaLimitStatus'](),this[_0x2383ac(0x2a3)]()){this[_0x2383ac(0xd8)](_0xf6d8f0,_0x4c1722),this[_0x2383ac(0x282)][_0x2383ac(0x3c1)]({'content':this[_0x2383ac(0x322)]['t'](_0x2383ac(0x152)),'type':_0x11570c[_0x2383ac(0x3cc)][_0x2383ac(0x228)]});return;}await new Promise(_0x19c504=>{const _0x31c060=_0x2383ac;this['_pollingInterval']=window[_0x31c060(0x397)](_0x19c504,0x3e8);});}catch(_0xc0b0f8){this[_0x2383ac(0x343)][_0x2383ac(0x2c3)](_0xc0b0f8);}this[_0x2383ac(0x282)][_0x2383ac(0x3c1)]({'content':this['_localeService']['t'](_0x2383ac(0x132)),'type':_0x11570c[_0x2383ac(0x3cc)]['Error']});}['_applyCommand'](_0x2f693d,_0x15739b){const _0x5f0ebd=_0xb09cf6;try{this[_0x5f0ebd(0x291)][_0x5f0ebd(0x2bd)](_0x2f693d['id'],_0x2f693d[_0x5f0ebd(0x210)],_0x15739b);}catch(_0x2a24d4){this[_0x5f0ebd(0x343)][_0x5f0ebd(0x2c3)](_0x2a24d4);}}[_0xb09cf6(0x115)](_0xfde84f,_0xe53111){const _0x1d8f31=_0xb09cf6;_0xe53111<this[_0x1d8f31(0x1b1)]||(this[_0x1d8f31(0x1b1)]=_0xe53111,this[_0x1d8f31(0x1e0)]=Number['parseInt'](_0xfde84f[_0x1d8f31(0x335)]),this[_0x1d8f31(0x3b7)]=Number[_0x1d8f31(0x293)](_0xfde84f[_0x1d8f31(0x1c6)]));}async[_0xb09cf6(0x247)](_0x2060e8){const _0x5e91d3=_0xb09cf6;var _0x4d5756,_0x420e0c;const _0x257efb=Date[_0x5e91d3(0x375)]();try{const _0x533d23=((_0x4d5756=this[_0x5e91d3(0x28d)][_0x5e91d3(0x2cc)](_0x1cadbe[_0x5e91d3(0x1ef)]))==null?void 0x0:_0x4d5756[_0x5e91d3(0x303)])||_0x40ba00,_0x467e71=(await this[_0x5e91d3(0x356)][_0x5e91d3(0x12f)](_0x533d23,{'body':JSON['stringify']({'taskId':_0x2060e8})}))[_0x5e91d3(0xd6)];if(((_0x420e0c=_0x467e71['error'])==null?void 0x0:_0x420e0c['code'])!==_0x190798['OK'])return;this[_0x5e91d3(0x115)](_0x467e71[_0x5e91d3(0x39a)],_0x257efb);}catch(_0x31c4c2){this[_0x5e91d3(0x343)][_0x5e91d3(0x2c3)](_0x31c4c2);}}async[_0xb09cf6(0x106)](_0x4375d1){const _0x1737af=_0xb09cf6;var _0x36fa7d,_0x177f20;const _0x249973=Date[_0x1737af(0x375)]();try{const _0xe0fe64=((_0x36fa7d=this[_0x1737af(0x28d)][_0x1737af(0x2cc)](_0x1cadbe[_0x1737af(0x1ef)]))==null?void 0x0:_0x36fa7d[_0x1737af(0x208)])||_0x5a05db,_0x35e45e=_0x4375d1?_0xe0fe64+_0x1737af(0x2e9)+encodeURIComponent(_0x4375d1):_0xe0fe64,_0x5419a7=(await this[_0x1737af(0x356)][_0x1737af(0x167)](_0x35e45e))[_0x1737af(0xd6)];if(((_0x177f20=_0x5419a7[_0x1737af(0x2c3)])==null?void 0x0:_0x177f20[_0x1737af(0x344)])!==_0x190798['OK'])return;this[_0x1737af(0x115)](_0x5419a7[_0x1737af(0x39a)],_0x249973);}catch(_0x335b1e){this[_0x1737af(0x343)][_0x1737af(0x2c3)](_0x335b1e);}}async[_0xb09cf6(0x334)](_0x4f5ad2){const _0x3517a2=_0xb09cf6;var _0x2fb778,_0x4001fc;const _0x2fbdfc=Date[_0x3517a2(0x375)]();try{const _0x45d09c=((_0x2fb778=this[_0x3517a2(0x28d)]['getConfig'](_0x1cadbe[_0x3517a2(0x1ef)]))==null?void 0x0:_0x2fb778[_0x3517a2(0x187)])||_0x8ae1ad,_0x59bf9b=(await this['_httpService'][_0x3517a2(0x12f)](_0x45d09c,{'body':JSON['stringify']({'taskId':_0x4f5ad2})}))[_0x3517a2(0xd6)];if(((_0x4001fc=_0x59bf9b[_0x3517a2(0x2c3)])==null?void 0x0:_0x4001fc[_0x3517a2(0x344)])!==_0x190798['OK'])return;this['_setFormulaLimitStatus'](_0x59bf9b[_0x3517a2(0x39a)],_0x2fbdfc);}catch(_0x373b96){this['_logService'][_0x3517a2(0x2c3)](_0x373b96);}}[_0xb09cf6(0x2a3)](){const _0xbbd841=_0xb09cf6;return this[_0xbbd841(0x1e0)]===0x0?!0x0:this[_0xbbd841(0x1e0)]-this[_0xbbd841(0x3b7)]>0x0;}[_0xb09cf6(0xe3)](){const _0x5dacbb=_0xb09cf6;this[_0x5dacbb(0x290)]&&(clearTimeout(this[_0x5dacbb(0x290)]),this[_0x5dacbb(0x290)]=null);}[_0xb09cf6(0x1c8)](){const _0x2af3ec=_0xb09cf6;this[_0x2af3ec(0x282)][_0x2af3ec(0x3c1)]({'content':this[_0x2af3ec(0x322)]['t'](_0x2af3ec(0x156)),'type':_0x11570c[_0x2af3ec(0x3cc)]['Loading']});}[_0xb09cf6(0x3a8)](_0x5bb657){const _0x563a3a=_0xb09cf6;for(const _0x556a06 of _0x5bb657){const {unitId:_0x42da48,sheetId:_0x13e6a7,range:_0x32becb}=_0x556a06,_0xdf3f64=this['_univerInstanceService'][_0x563a3a(0xd7)](_0x42da48);if(!_0xdf3f64)continue;const _0x94e69d=_0xdf3f64[_0x563a3a(0x15c)](_0x13e6a7);if(!_0x94e69d)continue;const _0x348a8d=_0x94e69d['getCellMatrix']();for(let _0x163577=_0x32becb[_0x563a3a(0x2f9)];_0x163577<=_0x32becb[_0x563a3a(0x316)];_0x163577++)for(let _0x40209c=_0x32becb[_0x563a3a(0x27a)];_0x40209c<=_0x32becb[_0x563a3a(0x1db)];_0x40209c++){const _0x213137=_0x348a8d[_0x563a3a(0x327)](_0x163577,_0x40209c);if(_0x213137&&(_0x1bf86e['isFormulaString'](_0x213137['f'])||_0x1bf86e['isFormulaId'](_0x213137['si'])))return!0x0;}}return!0x1;}};_0xd3d150=_0x3d75c6([_0x4d144b(0x0,_0x1bf86e[_0xb09cf6(0x25e)](_0x14309e['IMessageService'])),_0x4d144b(0x1,_0x1bf86e['ICommandService']),_0x4d144b(0x2,_0x1bf86e[_0xb09cf6(0xf1)]),_0x4d144b(0x3,_0x1bf86e['Inject'](_0x53849d['HTTPService'])),_0x4d144b(0x4,_0x1bf86e[_0xb09cf6(0x337)]),_0x4d144b(0x5,_0x1bf86e[_0xb09cf6(0x143)]),_0x4d144b(0x6,_0x1bf86e['Inject'](_0x1bf86e[_0xb09cf6(0x111)]))],_0xd3d150);var _0x2c6604=Object[_0xb09cf6(0x2e5)],_0xd8e462=(_0x141811,_0x5c3d09,_0x436e78,_0x4431b0)=>{const _0x55f2f6=_0xb09cf6;for(var _0x4b1bf8=_0x4431b0>0x1?void 0x0:_0x4431b0?_0x2c6604(_0x5c3d09,_0x436e78):_0x5c3d09,_0x5a7329=_0x141811[_0x55f2f6(0x2a0)]-0x1,_0x1adae2;_0x5a7329>=0x0;_0x5a7329--)(_0x1adae2=_0x141811[_0x5a7329])&&(_0x4b1bf8=_0x1adae2(_0x4b1bf8)||_0x4b1bf8);return _0x4b1bf8;},_0x26c759=(_0x342b99,_0x5bfb31)=>(_0x204d12,_0x8bc683)=>_0x5bfb31(_0x204d12,_0x8bc683,_0x342b99);let _0x926180=class extends _0x1bf86e[_0xb09cf6(0x3a2)]{constructor(_0x2ac868,_0x193d2c,_0x434dc8){const _0x48d365=_0xb09cf6;super(),_0x49be5c(this,_0x48d365(0x30a),new Map()),_0x49be5c(this,_0x48d365(0x2de),new Map()),_0x49be5c(this,'_disabled',!0x1),(this[_0x48d365(0x28d)]=_0x2ac868,this[_0x48d365(0x118)]=_0x193d2c,this[_0x48d365(0x15f)]=_0x434dc8);}[_0xb09cf6(0x29e)](){const _0x2223e9=_0xb09cf6;this[_0x2223e9(0x348)]=!0x0;}[_0xb09cf6(0x245)](){const _0xa1a45f=_0xb09cf6;this[_0xa1a45f(0x348)]=!0x1;}get[_0xb09cf6(0x386)](){const _0x5b5def=_0xb09cf6;return this[_0x5b5def(0x2de)];}[_0xb09cf6(0x1a9)](){const _0x1136a4=_0xb09cf6;this[_0x1136a4(0x362)]()[_0x1136a4(0xfb)](()=>super[_0x1136a4(0x1a9)]());}async[_0xb09cf6(0x35d)](_0x37d1fc){const _0x5de2d9=_0xb09cf6;return this[_0x5de2d9(0x348)]?null:this[_0x5de2d9(0x118)][_0x5de2d9(0x34e)](_0x1cadbe['getLocalCacheKey'](_0x37d1fc));}async[_0xb09cf6(0xfe)](_0x39a2e1,_0x51d6e3){const _0x3de21b=_0xb09cf6;return!!this[_0x3de21b(0x118)][_0x3de21b(0x2b2)](_0x39a2e1,_0x51d6e3);}[_0xb09cf6(0x3b5)](_0x231eb6,_0x2b4ebb,_0x37eb99,_0x4456c1){const _0x1dcb41=_0xb09cf6,_0x1c4744=this[_0x1dcb41(0x15f)]['getCurrentRevOfUnit'](_0x231eb6);this['_cachedData'][_0x1dcb41(0x32b)](_0x231eb6,{'unitID':_0x231eb6,'type':_0x2b4ebb,'awaitingChangeset':_0x37eb99,'mutations':_0x4456c1,'rev':_0x1c4744}),this[_0x1dcb41(0x2de)][_0x1dcb41(0x3c5)](_0x231eb6)||this[_0x1dcb41(0x121)](_0x231eb6);}[_0xb09cf6(0x121)](_0x2c8cd6){const _0x19cbcc=_0xb09cf6,_0x18d128=this[_0x19cbcc(0x3c0)]();_0x18d128===0x0?this[_0x19cbcc(0x125)](_0x2c8cd6):this[_0x19cbcc(0x2de)][_0x19cbcc(0x32b)](_0x2c8cd6,setTimeout(()=>this[_0x19cbcc(0x125)](_0x2c8cd6),_0x18d128));}['_getSaveTimeout'](){const _0xaf8c3d=_0xb09cf6;var _0x60f7b0;return(_0x60f7b0=this[_0xaf8c3d(0x28d)][_0xaf8c3d(0x2cc)](_0x1cadbe[_0xaf8c3d(0x226)]))!=null?_0x60f7b0:_0x1cadbe[_0xaf8c3d(0x2d7)];}[_0xb09cf6(0x125)](_0x2e929e){const _0x101abd=_0xb09cf6,_0x1dfc96=this[_0x101abd(0x2de)][_0x101abd(0x167)](_0x2e929e);return _0x1dfc96!==void 0x0&&window['clearTimeout'](_0x1dfc96),this[_0x101abd(0x118)][_0x101abd(0x2b2)](_0x1cadbe[_0x101abd(0xdb)](_0x2e929e),this[_0x101abd(0x30a)][_0x101abd(0x167)](_0x2e929e))[_0x101abd(0xfb)](()=>this[_0x101abd(0x2de)][_0x101abd(0x3b4)](_0x2e929e));}async[_0xb09cf6(0x362)](){const _0x3ea194=_0xb09cf6,_0x4f921f=[];this[_0x3ea194(0x2de)][_0x3ea194(0x2c5)]((_0x2f8d5e,_0x16b245)=>{const _0x658703=_0x3ea194;window[_0x658703(0x1f0)](_0x2f8d5e),_0x4f921f[_0x658703(0xea)](this['_saveCache'](_0x16b245)[_0x658703(0xfb)](()=>{const _0x360c97=_0x658703;this[_0x360c97(0x2de)][_0x360c97(0x3b4)](_0x16b245);}));}),await Promise[_0x3ea194(0x34c)](_0x4f921f);}};_0x926180=_0xd8e462([_0x26c759(0x0,_0x1bf86e['IConfigService']),_0x26c759(0x1,_0x1bf86e['ILocalStorageService']),_0x26c759(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x46b617[_0xb09cf6(0x3b1)]))],_0x926180);class _0x5cf8e8 extends _0x1bf86e['RxDisposable']{constructor(){const _0x2373bd=_0xb09cf6;super(),_0x49be5c(this,'urlChange$'),this[_0x2373bd(0x318)]=_0x57a56c[_0x2373bd(0x1f3)](window,_0x2373bd(0x311))[_0x2373bd(0x368)](_0x57a56c[_0x2373bd(0x2ce)](this[_0x2373bd(0x2d0)]),_0x57a56c['shareReplay'](0x1),_0x57a56c[_0x2373bd(0x36e)](void 0x0));}[_0xb09cf6(0x129)](_0x3765db,_0x2fb077,_0x439a31=!0x1){const _0x3c86b6=_0xb09cf6,_0x320f09=new URL(window['location']['href']);_0x320f09[_0x3c86b6(0x35a)][_0x3c86b6(0x32b)](_0x3765db,_0x2fb077),_0x439a31?window[_0x3c86b6(0x2a4)][_0x3c86b6(0x22c)]('','',_0x320f09[_0x3c86b6(0x3bc)]()):window[_0x3c86b6(0x2a4)][_0x3c86b6(0x2ac)]('','',_0x320f09[_0x3c86b6(0x3bc)]());}[_0xb09cf6(0x12d)](_0x32c52b,_0x535c61=!0x1){const _0x2fb229=_0xb09cf6,_0x517eee=new URL(window[_0x2fb229(0x13f)]['href']);_0x517eee['searchParams'][_0x2fb229(0x3b4)](_0x32c52b),_0x535c61?window['history'][_0x2fb229(0x22c)]('','',_0x517eee[_0x2fb229(0x3bc)]()):window[_0x2fb229(0x2a4)][_0x2fb229(0x2ac)]('','',_0x517eee[_0x2fb229(0x3bc)]());}[_0xb09cf6(0x1ca)](_0x542190){const _0x22241c=_0xb09cf6;var _0x60cc0e;return(_0x60cc0e=new URL(window[_0x22241c(0x13f)]['href'])[_0x22241c(0x35a)][_0x22241c(0x167)](_0x542190))!=null?_0x60cc0e:void 0x0;}}var _0x2ca44f=Object[_0xb09cf6(0xd2)],_0xd1d28d=Object[_0xb09cf6(0x2e5)],_0x1812c8=(_0x5226f1,_0x45b6b6,_0x3a681e)=>_0x45b6b6 in _0x5226f1?_0x2ca44f(_0x5226f1,_0x45b6b6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a681e}):_0x5226f1[_0x45b6b6]=_0x3a681e,_0x4cf151=(_0x3e414a,_0x3c6b89,_0x4b2939,_0x2d3486)=>{const _0x11cd56=_0xb09cf6;for(var _0x3f74da=_0x2d3486>0x1?void 0x0:_0x2d3486?_0xd1d28d(_0x3c6b89,_0x4b2939):_0x3c6b89,_0x17af7d=_0x3e414a[_0x11cd56(0x2a0)]-0x1,_0x511649;_0x17af7d>=0x0;_0x17af7d--)(_0x511649=_0x3e414a[_0x17af7d])&&(_0x3f74da=_0x511649(_0x3f74da)||_0x3f74da);return _0x3f74da;},_0x5d938f=(_0x18a4ee,_0x109a44)=>(_0xcb0ce8,_0x6fafe0)=>_0x109a44(_0xcb0ce8,_0x6fafe0,_0x18a4ee),_0x5abf0f=(_0x2e2381,_0x3e881f,_0x41e55c)=>_0x1812c8(_0x2e2381,_0x3e881f+'',_0x41e55c);const _0x257ec3=_0xb09cf6(0x188);_0x26c668['UniverCollaborationClientUIPlugin']=class extends _0x1bf86e[_0xb09cf6(0x2d6)]{constructor(_0x18e2f3=_0x3695c0,_0x1627e4,_0x1a7a8a,_0x1bfcf5){const _0x7a2fee=_0xb09cf6;super(),this[_0x7a2fee(0x1b7)]=_0x18e2f3,this[_0x7a2fee(0x22f)]=_0x1627e4,this[_0x7a2fee(0x17f)]=_0x1a7a8a,this[_0x7a2fee(0x28d)]=_0x1bfcf5;const {..._0x5c98b8}=_0x1bf86e[_0x7a2fee(0x207)]({},_0x3695c0,this[_0x7a2fee(0x1b7)]);this[_0x7a2fee(0x28d)]['setConfig'](_0x689496,_0x5c98b8);}[_0xb09cf6(0x122)](){const _0x1eca72=_0xb09cf6;this[_0x1eca72(0x19b)](),this[_0x1eca72(0x19d)]();}[_0xb09cf6(0x287)](){const _0x1c44a8=_0xb09cf6;this[_0x1c44a8(0x263)]();}['_registerDependencies'](){const _0x46d42b=_0xb09cf6;var _0x4e01dc;const _0x438277=[[_0x53fe7e],[_0xd3d150],[_0x10f6fe],[_0x19ea77],[_0x2190b2],[_0x204057],[_0x533f89,{'useClass':_0x5cf8e8}],[_0x53849d[_0x46d42b(0x28a)],{'useClass':_0x53849d['WebSocketService']}],[_0x1cadbe[_0x46d42b(0x17c)],{'useClass':_0x926180}],[_0x26c668[_0x46d42b(0x341)]],[_0x541715],[_0x501bbf],[_0xe7f68],[_0x4c9007],[_0x26c668['CollaborationDataLoaderController']]];this[_0x46d42b(0x1b7)][_0x46d42b(0x2ae)]&&_0x438277[_0x46d42b(0xea)]([_0x40fa0b]),_0x1bf86e[_0x46d42b(0x31b)](this[_0x46d42b(0x17f)],_0x1bf86e['mergeOverrideWithDependencies'](_0x438277,(_0x4e01dc=this[_0x46d42b(0x1b7)])==null?void 0x0:_0x4e01dc[_0x46d42b(0x169)]));}[_0xb09cf6(0x263)](){const _0x195e7d=_0xb09cf6;this[_0x195e7d(0x104)](this['_renderManagerService'][_0x195e7d(0x2ca)](_0x1bf86e[_0x195e7d(0x2b7)][_0x195e7d(0x2ad)],[_0xabe3bb])),this[_0x195e7d(0x104)](this[_0x195e7d(0x22f)][_0x195e7d(0x2ca)](_0x1bf86e['UniverInstanceType'][_0x195e7d(0x34d)],[_0x5297ac]));}['_initDependencies'](){const _0x1634c3=_0xb09cf6;_0x1bf86e[_0x1634c3(0x2b1)](this[_0x1634c3(0x17f)],[[_0xe7f68],[_0x26c668['DesktopCollaborationStatusDisplayController']],[_0x541715],[_0x501bbf],[_0x26c668['CollaborationDataLoaderController']],[_0xd3d150]]),this[_0x1634c3(0x1b7)][_0x1634c3(0x2ae)]&&_0x1bf86e[_0x1634c3(0x2b1)](this[_0x1634c3(0x17f)],[[_0x40fa0b]]);}},_0x5abf0f(_0x26c668[_0xb09cf6(0x1ce)],'pluginName',_0x257ec3),_0x26c668[_0xb09cf6(0x1ce)]=_0x4cf151([_0x1bf86e[_0xb09cf6(0x3c9)](_0x1cadbe[_0xb09cf6(0x3cd)]),_0x5d938f(0x1,_0x5dba15[_0xb09cf6(0x224)]),_0x5d938f(0x2,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0x269)])),_0x5d938f(0x3,_0x1bf86e[_0xb09cf6(0xf1)])],_0x26c668[_0xb09cf6(0x1ce)]);var _0x11f570=Object[_0xb09cf6(0x2e5)],_0x1e5118=(_0x35a3c4,_0x4f6b81,_0x54962b,_0x5c3600)=>{for(var _0x246710=_0x5c3600>0x1?void 0x0:_0x5c3600?_0x11f570(_0x4f6b81,_0x54962b):_0x4f6b81,_0x1b7b0b=_0x35a3c4['length']-0x1,_0xc4ea15;_0x1b7b0b>=0x0;_0x1b7b0b--)(_0xc4ea15=_0x35a3c4[_0x1b7b0b])&&(_0x246710=_0xc4ea15(_0x246710)||_0x246710);return _0x246710;},_0x5a1757=(_0x2976e3,_0xbd4842)=>(_0x59c773,_0x543ef4)=>_0xbd4842(_0x59c773,_0x543ef4,_0x2976e3);_0x26c668['BrowserCollaborationSocketService']=class extends _0x1cadbe[_0xb09cf6(0x36b)]{constructor(_0x4ce982,_0x73f895,_0x46dd1d,_0x4bdfe2,_0x5c7bac){super(_0x4ce982,_0x73f895,_0x46dd1d,_0x4bdfe2,_0x5c7bac);}async[_0xb09cf6(0x36f)](_0x98430e){const _0x4d734f=_0xb09cf6,_0x4b8154=await this[_0x4d734f(0x3a5)](),_0x3d8123=this[_0x4d734f(0x281)](_0x98430e,_0x4b8154);return this[_0x4d734f(0x25a)](_0x3d8123);}['_createSocketURL'](_0x42a374,_0x11ea15){const _0x308393=_0xb09cf6,_0x5bc637=typeof window>'u'?new URL(_0x42a374):new URL(_0x42a374,window[_0x308393(0x13f)]['origin']);_0x5bc637[_0x308393(0x35a)]['set'](_0x308393(0x11b),_0x11ea15);const _0x4a0736=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x308393(0x13f)][_0x308393(0x3c7)]);return _0x4a0736[_0x308393(0x167)](_0x308393(0x1ba))&&_0x5bc637['searchParams'][_0x308393(0x32b)]('runId',_0x4a0736[_0x308393(0x167)](_0x308393(0x1ba))),_0x5bc637['toString']();}async[_0xb09cf6(0x3a5)](){const _0xe7c8d1=_0xb09cf6;var _0x4cc26c,_0xe3e1d,_0x4590ed;const _0x5bf24e=this[_0xe7c8d1(0x28d)][_0xe7c8d1(0x2cc)](_0x1cadbe[_0xe7c8d1(0x1ef)]),_0x451728=(_0x4cc26c=_0x5bf24e==null?void 0x0:_0x5bf24e['wsSessionTicketUrl'])!=null?_0x4cc26c:_0x1cadbe[_0xe7c8d1(0x36d)];return(_0x4590ed=(_0xe3e1d=(await this[_0xe7c8d1(0x356)][_0xe7c8d1(0x167)](_0x451728,{'headers':{'Content-Type':_0xe7c8d1(0x2e7)}}))[_0xe7c8d1(0xd6)])==null?void 0x0:_0xe3e1d[_0xe7c8d1(0x18e)])!=null?_0x4590ed:'';}},_0x26c668['BrowserCollaborationSocketService']=_0x1e5118([_0x5a1757(0x0,_0x1bf86e[_0xb09cf6(0x25e)](_0x1bf86e[_0xb09cf6(0x269)])),_0x5a1757(0x1,_0x1bf86e['Inject'](_0x53849d[_0xb09cf6(0x298)])),_0x5a1757(0x2,_0x1bf86e[_0xb09cf6(0xf1)]),_0x5a1757(0x3,_0x1bf86e[_0xb09cf6(0x143)]),_0x5a1757(0x4,_0x46b617[_0xb09cf6(0x277)])],_0x26c668[_0xb09cf6(0x24d)]);var _0x28bc53=Object['getOwnPropertyDescriptor'],_0x3f3289=(_0x39bf9a,_0x2f9c86,_0x291f14,_0x4cfc21)=>{for(var _0x56df5b=_0x4cfc21>0x1?void 0x0:_0x4cfc21?_0x28bc53(_0x2f9c86,_0x291f14):_0x2f9c86,_0x12a210=_0x39bf9a['length']-0x1,_0x2a5eb9;_0x12a210>=0x0;_0x12a210--)(_0x2a5eb9=_0x39bf9a[_0x12a210])&&(_0x56df5b=_0x2a5eb9(_0x56df5b)||_0x56df5b);return _0x56df5b;},_0x39ff8d=(_0x167da1,_0x2eb66c)=>(_0x2a51af,_0x42b196)=>_0x2eb66c(_0x2a51af,_0x42b196,_0x167da1);_0x26c668[_0xb09cf6(0x15a)]=class extends _0x1bf86e['Disposable']{constructor(_0x112485,_0x19b711,_0x1fa02b){const _0x38313f=_0xb09cf6;super(),this[_0x38313f(0x1e9)]=_0x112485,this[_0x38313f(0x356)]=_0x19b711,this[_0x38313f(0x28d)]=_0x1fa02b;}async[_0xb09cf6(0x193)](_0x3515c7,_0x26250b,_0x4287c1,..._0x558d4a){const _0x5b3845=_0xb09cf6;var _0x3710b3,_0x399f38,_0x164d9c,_0x1c14f0;const _0x31269a=this[_0x5b3845(0x1e9)][_0x5b3845(0x261)]();if(!_0x31269a)throw new Error(_0x5b3845(0x26d));const _0x398f49=((_0x3710b3=this[_0x5b3845(0x28d)][_0x5b3845(0x2cc)](_0x1cadbe['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3710b3:_0x1cadbe[_0x5b3845(0x23c)])+'/'+_0x3515c7+_0x5b3845(0x1af)+_0x26250b,_0x1f1633=new URL(window[_0x5b3845(0x13f)][_0x5b3845(0x278)]),_0x5a6071={'scriptId':_0x3515c7,'runId':(_0x399f38=_0x1f1633[_0x5b3845(0x35a)][_0x5b3845(0x167)](_0x5b3845(0x1ba)))!=null?_0x399f38:'','function':_0x26250b,'unitId':_0x31269a[_0x5b3845(0x346)](),'argsOfFunction':JSON[_0x5b3845(0x233)](_0x558d4a),'invokeId':(_0x164d9c=_0x4287c1[_0x5b3845(0x20e)])!=null?_0x164d9c:'','executionId':(_0x1c14f0=_0x4287c1[_0x5b3845(0x333)])!=null?_0x1c14f0:''};try{const _0x53d4e6=await this['_httpService'][_0x5b3845(0x12f)](_0x398f49,{'body':_0x5a6071});return _0x53d4e6[_0x5b3845(0xd6)][_0x5b3845(0x2c3)]&&_0x53d4e6['body']['error'][_0x5b3845(0x344)]!==_0x190798['OK']?'Failed':_0x53d4e6[_0x5b3845(0xd6)][_0x5b3845(0x175)];}catch{return _0x5b3845(0x366);}}},_0x26c668[_0xb09cf6(0x15a)]=_0x3f3289([_0x39ff8d(0x0,_0x1bf86e['IUniverInstanceService']),_0x39ff8d(0x1,_0x1bf86e[_0xb09cf6(0x25e)](_0x53849d['HTTPService'])),_0x39ff8d(0x2,_0x1bf86e[_0xb09cf6(0xf1)])],_0x26c668[_0xb09cf6(0x15a)]);const _0x10d483=0x7530,_0x4d486e=_0xb09cf6(0x130);class _0x2e7def extends _0x1bf86e[_0xb09cf6(0x3a2)]{constructor(){const _0x256683=_0xb09cf6;super(),_0x49be5c(this,_0x256683(0x32a),_0x1bf86e['generateRandomId']()),_0x49be5c(this,'_selfUnitIDs',new Set()),_0x49be5c(this,_0x256683(0x19f),new Map()),_0x49be5c(this,_0x256683(0x221),null),_0x49be5c(this,_0x256683(0x24b),new Map()),_0x49be5c(this,_0x256683(0x1d4),new Map()),this[_0x256683(0xfd)]();}[_0xb09cf6(0x1a9)](){const _0x37db6=_0xb09cf6;super['dispose'](),this['_clearOtherTimers']['forEach']((_0xce69d8,_0x217eb3)=>this['_removeClearOtherTimer'](_0x217eb3)),this[_0x37db6(0x221)]&&window[_0x37db6(0x3bb)](this[_0x37db6(0x221)]);}[_0xb09cf6(0x179)](_0x305922){const _0x5cf3a4=_0xb09cf6;return this[_0x5cf3a4(0x180)](_0x305922)[_0x5cf3a4(0x368)](_0x57a56c['distinctUntilChanged']());}[_0xb09cf6(0x170)](_0xf5c1be){const _0x2d53ed=_0xb09cf6;this[_0x2d53ed(0x16f)][_0x2d53ed(0x255)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x2d53ed(0x384)](_0xf5c1be),this[_0x2d53ed(0x21a)]({'type':0x0,'memberID':this[_0x2d53ed(0x32a)],'unitIDs':[_0xf5c1be],'isForwarded':!0x1});}['disposeUnit'](_0x17588d){const _0x17c751=_0xb09cf6;this[_0x17c751(0x16f)][_0x17c751(0x3b4)](_0x17588d),this['_selfUnitIDs'][_0x17c751(0x255)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x17c751(0x221)]);}[_0xb09cf6(0xfd)](){const _0x464350=_0xb09cf6;this[_0x464350(0x104)](_0x1bf86e[_0x464350(0x127)](_0x57a56c['fromEvent'](window,_0x464350(0x21d))[_0x464350(0x3c4)](_0x2dfb62=>{const _0x15d66e=_0x464350;if(_0x2dfb62[_0x15d66e(0x108)]!==_0x4d486e||!_0x2dfb62[_0x15d66e(0x1da)])return;const _0x53e100=JSON['parse'](_0x2dfb62[_0x15d66e(0x1da)]);this[_0x15d66e(0x205)](_0x53e100);}))),window[_0x464350(0x12c)](_0x464350(0x24c),()=>this[_0x464350(0x21a)]({'type':0x1,'memberID':this[_0x464350(0x32a)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0xb09cf6(0x205)](_0x17e4e5){const _0x5ef1da=_0xb09cf6;switch(_0x17e4e5['type']){case 0x0:this[_0x5ef1da(0x202)](_0x17e4e5);break;case 0x1:this[_0x5ef1da(0x18b)](_0x17e4e5);break;case 0x2:this[_0x5ef1da(0x22a)](_0x17e4e5);break;}}['_handleJoinEvent'](_0x12907c){const _0x3a073e=_0xb09cf6,{unitIDs:_0x130018,memberID:_0x133a38,isForwarded:_0x53baab}=_0x12907c;_0x130018[_0x3a073e(0x2c5)](_0x4e8dd6=>{const _0x533f3c=_0x3a073e;if(!_0x53baab&&this[_0x533f3c(0x19f)]['has'](_0x4e8dd6)&&this[_0x533f3c(0x180)](_0x4e8dd6)[_0x533f3c(0x153)](_0x1cadbe[_0x533f3c(0x25f)][_0x533f3c(0x250)]),!this['_unitOnClients'][_0x533f3c(0x3c5)](_0x4e8dd6)||!this['_unitOnClients'][_0x533f3c(0x167)](_0x4e8dd6)[_0x533f3c(0x3c5)](_0x133a38)){const _0x4bc637=this[_0x533f3c(0x19f)][_0x533f3c(0x167)](_0x4e8dd6)||new Set();_0x4bc637[_0x533f3c(0x384)](_0x133a38),this[_0x533f3c(0x19f)]['set'](_0x4e8dd6,_0x4bc637),this[_0x533f3c(0x2cf)](_0x133a38);}}),_0x53baab||this[_0x3a073e(0x21a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3a073e(0x16f)]],'isForwarded':!0x0});}[_0xb09cf6(0x2cf)](_0x31f9b5){const _0x4500b7=_0xb09cf6;this[_0x4500b7(0x149)](_0x31f9b5);const _0x354dac=window[_0x4500b7(0x397)](()=>{const _0x1edec0=_0x4500b7;this[_0x1edec0(0x19f)][_0x1edec0(0x2c5)](_0x1354cd=>{const _0x24989b=_0x1edec0;_0x1354cd[_0x24989b(0x3b4)](_0x31f9b5);});},_0x10d483*0x2);this[_0x4500b7(0x24b)][_0x4500b7(0x32b)](_0x31f9b5,_0x354dac);}[_0xb09cf6(0x149)](_0x3708c9){const _0xf6839b=_0xb09cf6;if(this[_0xf6839b(0x24b)]['has'](_0x3708c9)){const _0x2865e5=this['_clearOtherTimers']['get'](_0x3708c9);_0x2865e5&&window[_0xf6839b(0x1f0)](_0x2865e5),this[_0xf6839b(0x24b)][_0xf6839b(0x32b)](_0x3708c9,null);}}[_0xb09cf6(0x18b)](_0xb1fddc){const _0x30946e=_0xb09cf6,{memberID:_0x18c0f0,unitIDs:_0x3365f7}=_0xb1fddc;_0x3365f7['forEach'](_0x49ad6e=>{const _0x2d488b=_0x23ff;var _0x181d85;const _0x561f6a=this['_unitOnClients'][_0x2d488b(0x167)](_0x49ad6e);_0x561f6a&&(_0x561f6a[_0x2d488b(0x3b4)](_0x18c0f0),(_0x181d85=this[_0x2d488b(0x180)](_0x49ad6e))==null||_0x181d85[_0x2d488b(0x153)](_0x561f6a['size']===0x0?_0x1cadbe[_0x2d488b(0x25f)][_0x2d488b(0x326)]:_0x1cadbe[_0x2d488b(0x25f)]['OTHER_CLIENTS_EDITING']));}),this[_0x30946e(0x149)](_0x18c0f0);}[_0xb09cf6(0x22a)](_0x43d53b){const _0x3defd4=_0xb09cf6;this['_scheduleClearOtherTimer'](_0x43d53b[_0x3defd4(0x37d)]);}[_0xb09cf6(0x21a)](_0x430a40){const _0xd07774=_0xb09cf6;localStorage['setItem'](_0x4d486e,JSON[_0xd07774(0x233)](_0x430a40));}[_0xb09cf6(0x373)](){const _0x3a25b3=_0xb09cf6;this['_heartbeatTimer']=window[_0x3a25b3(0x38d)](()=>{const _0x3ae33f=_0x3a25b3;this[_0x3ae33f(0x21a)]({'type':0x2,'memberID':this['_id']});},_0x10d483);}[_0xb09cf6(0x180)](_0x5ddc57){const _0x892ec3=_0xb09cf6;return this[_0x892ec3(0x1d4)][_0x892ec3(0x3c5)](_0x5ddc57)||this['_unitStatus'][_0x892ec3(0x32b)](_0x5ddc57,new _0x57a56c[(_0x892ec3(0xe1))](_0x1cadbe[_0x892ec3(0x25f)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x892ec3(0x1d4)][_0x892ec3(0x167)](_0x5ddc57);}}_0x26c668['IURLService']=_0x533f89,_0x26c668[_0xb09cf6(0xe0)]=_0x237cb7,_0x26c668[_0xb09cf6(0x231)]=_0x2e7def,_0x26c668[_0xb09cf6(0x144)]=_0x5cf8e8,Object[_0xb09cf6(0xd2)](_0x26c668,Symbol[_0xb09cf6(0x166)],{'value':'Module'});}));
|