@univerjs-pro/collaboration-client-ui 0.20.1 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/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/sk-SK.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/sk-SK.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.css +157 -6
- 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/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/services/local-cache/web-local-cache.service.d.ts +2 -3
- package/lib/types/views/components/CollabStatus.d.ts +11 -0
- package/lib/types/views/components/CollabStatus.stories.d.ts +10 -4
- 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/sk-SK.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 +20 -22
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x84a9(_0x53c9ef,_0x42bbdc){_0x53c9ef=_0x53c9ef-0xa0;const _0x20d06=_0x20d0();let _0x84a97d=_0x20d06[_0x53c9ef];return _0x84a97d;}(function(_0x3c9cbf,_0x56f7b8){const _0x49b17c=_0x84a9,_0x76779d=_0x3c9cbf();while(!![]){try{const _0x225959=-parseInt(_0x49b17c(0x127))/0x1*(-parseInt(_0x49b17c(0xe2))/0x2)+parseInt(_0x49b17c(0x22c))/0x3+parseInt(_0x49b17c(0x378))/0x4*(-parseInt(_0x49b17c(0xa3))/0x5)+parseInt(_0x49b17c(0x145))/0x6*(parseInt(_0x49b17c(0x158))/0x7)+parseInt(_0x49b17c(0x36a))/0x8+parseInt(_0x49b17c(0x300))/0x9+parseInt(_0x49b17c(0x1f9))/0xa*(-parseInt(_0x49b17c(0x32f))/0xb);if(_0x225959===_0x56f7b8)break;else _0x76779d['push'](_0x76779d['shift']());}catch(_0x3347b8){_0x76779d['push'](_0x76779d['shift']());}}}(_0x20d0,0xe07d2),function(_0x35d55b,_0x4090fa){const _0x40bc5c=_0x84a9;typeof exports==_0x40bc5c(0xf0)&&typeof module<'u'?_0x4090fa(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),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[_0x40bc5c(0x2f6)]?define([_0x40bc5c(0x334),'@univerjs-pro/collaboration-client','@univerjs/core',_0x40bc5c(0x240),'rxjs',_0x40bc5c(0x21e),_0x40bc5c(0x31e),_0x40bc5c(0x342),'@univerjs/rpc',_0x40bc5c(0x13a),_0x40bc5c(0x222),_0x40bc5c(0x3b0),_0x40bc5c(0x107),_0x40bc5c(0x111),_0x40bc5c(0xd1),_0x40bc5c(0x2f8),'@univerjs/engine-formula','rxjs/operators',_0x40bc5c(0x200)],_0x4090fa):(_0x35d55b=typeof globalThis<'u'?globalThis:_0x35d55b||self,_0x4090fa(_0x35d55b['UniverProCollaborationClientUi']={},_0x35d55b[_0x40bc5c(0x1ea)],_0x35d55b[_0x40bc5c(0x243)],_0x35d55b['UniverUi'],_0x35d55b[_0x40bc5c(0x385)],_0x35d55b['UniverDesign'],_0x35d55b['React'],_0x35d55b[_0x40bc5c(0x156)],_0x35d55b[_0x40bc5c(0x2df)],_0x35d55b[_0x40bc5c(0x106)],_0x35d55b[_0x40bc5c(0x2a1)],_0x35d55b[_0x40bc5c(0x134)],_0x35d55b[_0x40bc5c(0x307)],_0x35d55b[_0x40bc5c(0x179)],_0x35d55b[_0x40bc5c(0x30e)],_0x35d55b[_0x40bc5c(0x358)],_0x35d55b['UniverEngineFormula'],_0x35d55b['rxjs']['operators'],_0x35d55b[_0x40bc5c(0x31a)]));}(this,function(_0x159966,_0x4a06d2,_0x13030d,_0x429bdf,_0x594669,_0x3df4e2,_0x4c0a01,_0x2f373e,_0x108d2d,_0x47b368,_0x5bc07b,_0x24b4f9,_0x57a234,_0x497386,_0x486545,_0x1aedbb,_0xe81250,_0x2525b7,_0x3c23de){const _0x24b96c=_0x84a9;Object[_0x24b96c(0x324)](_0x159966,Symbol[_0x24b96c(0xdf)],{'value':_0x24b96c(0x12f)});function _0x39d45f({ref:_0x5ca128,..._0xde6dbe}){const _0xb3b20f=_0x24b96c;let {icon:_0x2a6255,id:_0x224cc2,className:_0x341103,extend:_0x22bc4e,..._0x3db11a}=_0xde6dbe,_0x2fbf99=(_0xb3b20f(0x313)+_0x224cc2+'\x20'+(_0x341103||''))[_0xb3b20f(0x3a7)](),_0x5a8862=(0x0,_0x4c0a01['useRef'])('_'+_0x57d3ac());return _0x546513(_0x2a6255,''+_0x224cc2,{'defIds':_0x2a6255[_0xb3b20f(0x253)],'idSuffix':_0x5a8862['current']},{'ref':_0x5ca128,'className':_0x2fbf99,..._0x3db11a},_0x22bc4e);}function _0x546513(_0x47c5aa,_0x1cb9b4,_0x4e76f9,_0x361454,_0x56892b){const _0x38b404=_0x24b96c;return(0x0,_0x4c0a01['createElement'])(_0x47c5aa[_0x38b404(0x2db)],{'key':_0x1cb9b4,..._0x44ffa6(_0x47c5aa,_0x4e76f9,_0x56892b),..._0x361454},(_0x380e9f(_0x47c5aa,_0x4e76f9)[_0x38b404(0x11a)]||[])[_0x38b404(0x288)]((_0x340b4b,_0x5667f4)=>_0x546513(_0x340b4b,_0x1cb9b4+'-'+_0x47c5aa['tag']+'-'+_0x5667f4,_0x4e76f9,void 0x0,_0x56892b)));}function _0x44ffa6(_0x3a2c9f,_0x5dc838,_0x336050){const _0x2b6af0=_0x24b96c;let _0x53919f={..._0x3a2c9f[_0x2b6af0(0x2b3)]};_0x336050!=null&&_0x336050[_0x2b6af0(0x39d)]&&_0x53919f[_0x2b6af0(0xe8)]===_0x2b6af0(0x39d)&&(_0x53919f[_0x2b6af0(0xe8)]=_0x336050[_0x2b6af0(0x39d)]),_0x3a2c9f['tag']===_0x2b6af0(0x28f)&&_0x53919f['id']&&(_0x53919f['id']+=_0x5dc838['idSuffix']),Object['entries'](_0x53919f)[_0x2b6af0(0x172)](([_0x230a30,_0x5084c4])=>{const _0x426fa5=_0x2b6af0;_0x230a30===_0x426fa5(0x28f)&&typeof _0x5084c4==_0x426fa5(0x3ad)&&(_0x53919f[_0x230a30]=_0x5084c4['replace'](/url\(#(.*)\)/,_0x426fa5(0x30c)+_0x5dc838['idSuffix']+')'));});let {defIds:_0x20cb92}=_0x5dc838;return!_0x20cb92||_0x20cb92['length']===0x0?_0x53919f:(_0x3a2c9f[_0x2b6af0(0x2db)]===_0x2b6af0(0x190)&&_0x53919f[_0x2b6af0(0x2ce)]&&(_0x53919f[_0x2b6af0(0x2ce)]+=_0x5dc838[_0x2b6af0(0x2c5)]),Object[_0x2b6af0(0x1b7)](_0x53919f)[_0x2b6af0(0x172)](([_0x3eeff3,_0x28bc67])=>{const _0x58cd43=_0x2b6af0;typeof _0x28bc67=='string'&&(_0x53919f[_0x3eeff3]=_0x28bc67[_0x58cd43(0x29e)](/url\(#(.*)\)/,_0x58cd43(0x30c)+_0x5dc838[_0x58cd43(0x2c5)]+')'));}),_0x53919f);}function _0x380e9f(_0x3ad7d1,_0x559596){const _0x3c876c=_0x24b96c;var _0x5c2a97;let {defIds:_0x154dc9}=_0x559596;return!_0x154dc9||_0x154dc9['length']===0x0?_0x3ad7d1:_0x3ad7d1[_0x3c876c(0x2db)]===_0x3c876c(0x390)&&(_0x5c2a97=_0x3ad7d1['children'])!=null&&_0x5c2a97[_0x3c876c(0x36e)]?{..._0x3ad7d1,'children':_0x3ad7d1['children'][_0x3c876c(0x288)](_0xb2d8da=>typeof _0xb2d8da[_0x3c876c(0x2b3)]['id']==_0x3c876c(0x3ad)&&_0x154dc9&&_0x154dc9['includes'](_0xb2d8da['attrs']['id'])?{..._0xb2d8da,'attrs':{..._0xb2d8da['attrs'],'id':_0xb2d8da[_0x3c876c(0x2b3)]['id']+_0x559596['idSuffix']}}:_0xb2d8da)}:_0x3ad7d1;}function _0x57d3ac(){const _0x52c107=_0x24b96c;return Math[_0x52c107(0x12a)]()[_0x52c107(0x2d6)](0x24)[_0x52c107(0x1c1)](0x2,0x8);}_0x39d45f['displayName']='UniverIcon';let _0xb88bfb={'tag':'svg','attrs':{'xmlns':_0x24b96c(0x197),'fill':_0x24b96c(0x325),'viewBox':_0x24b96c(0xef),'width':_0x24b96c(0x2ec),'height':_0x24b96c(0x2ec)},'children':[{'tag':'g','attrs':{'clipPath':_0x24b96c(0x20c)},'children':[{'tag':_0x24b96c(0xff),'attrs':{'stroke':'currentColor','d':_0x24b96c(0x21f),'strokeLinecap':_0x24b96c(0x1c9),'strokeLinejoin':_0x24b96c(0x1c9),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x24b96c(0x151),'attrs':{'id':_0x24b96c(0xf5)},'children':[{'tag':_0x24b96c(0xff),'attrs':{'fill':_0x24b96c(0x187),'d':_0x24b96c(0x2b7)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x119257=(0x0,_0x4c0a01['forwardRef'])(function(_0x1b416e,_0x24b5f2){const _0xe61e2c=_0x24b96c;return(0x0,_0x4c0a01[_0xe61e2c(0x36b)])(_0x39d45f,Object['assign']({},_0x1b416e,{'id':'off-line-icon','ref':_0x24b5f2,'icon':_0xb88bfb}));});_0x119257['displayName']=_0x24b96c(0x257);let _0x1a3145={'tag':_0x24b96c(0x312),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x24b96c(0x325),'viewBox':'0\x200\x2017\x2016','width':_0x24b96c(0x2ec),'height':_0x24b96c(0x2ec)},'children':[{'tag':'g','attrs':{'clipPath':_0x24b96c(0x186)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x24b96c(0xeb),'strokeLinecap':_0x24b96c(0x1c9),'strokeLinejoin':_0x24b96c(0x1c9),'strokeWidth':1.2}}]},{'tag':_0x24b96c(0x390),'attrs':{},'children':[{'tag':_0x24b96c(0x151),'attrs':{'id':_0x24b96c(0xcd)},'children':[{'tag':'path','attrs':{'fill':_0x24b96c(0x187),'d':'M0\x200H16V16H0z','transform':_0x24b96c(0x26f)}}]}]}],'defIds':[_0x24b96c(0xcd)]},_0x3e58fc=(0x0,_0x4c0a01[_0x24b96c(0x392)])(function(_0x15781f,_0x4955df){const _0x25c440=_0x24b96c;return(0x0,_0x4c0a01['createElement'])(_0x39d45f,Object['assign']({},_0x15781f,{'id':_0x25c440(0x2cb),'ref':_0x4955df,'icon':_0x1a3145}));});_0x3e58fc[_0x24b96c(0x17e)]='OnLineIcon';function _0x54f9bc(_0x461892){const _0x4fec92=_0x24b96c;switch(_0x461892){case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x33e)]:return'collabStatus.offline';case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0xee)]:return'collabStatus.conflict';case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x327)]:return _0x4fec92(0x35d);case _0x4a06d2[_0x4fec92(0x124)]['NOT_COLLAB']:return _0x4fec92(0x1e3);case _0x4a06d2['CollaborationStatus'][_0x4fec92(0x3a8)]:case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x171)]:return _0x4fec92(0x232);case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x354)]:case _0x4a06d2[_0x4fec92(0x124)][_0x4fec92(0x261)]:return _0x4fec92(0x117);}}function _0x12ed17(_0x2ff870){const _0x574c46=_0x24b96c;let {status$:_0x68daa7}=_0x2ff870,_0x179e7c=(0x0,_0x429bdf[_0x574c46(0x29b)])(_0x68daa7,_0x4a06d2[_0x574c46(0x124)][_0x574c46(0x208)]),_0x235c95=(0x0,_0x429bdf[_0x574c46(0x199)])(_0x13030d[_0x574c46(0x381)]),_0x22e1ce=(0x0,_0x429bdf[_0x574c46(0x199)])(_0x4a06d2['CollaborationSessionService']),_0x2db796=_0x179e7c!==_0x4a06d2['CollaborationStatus'][_0x574c46(0x33e)],_0x419416=_0x235c95['t'](_0x54f9bc(_0x179e7c)),_0xd1a7d9=_0x2db796?(0x0,_0x2f373e[_0x574c46(0xc2)])(_0x3e58fc,{}):(0x0,_0x2f373e[_0x574c46(0xc2)])(_0x119257,{}),_0x54ec2f=(0x0,_0x4c0a01[_0x574c46(0x1eb)])(()=>{_0x2db796||_0x22e1ce['reconnect']();},[_0x2db796,_0x22e1ce]);function _0x4fc60f(){const _0x41bb77=_0x574c46;return(0x0,_0x2f373e['jsxs'])(_0x41bb77(0x175),{'className':_0x41bb77(0x2cf),'onClick':_0x54ec2f,'children':[(0x0,_0x2f373e['jsx'])(_0x41bb77(0x175),{'className':(0x0,_0x3df4e2[_0x41bb77(0xfb)])(_0x41bb77(0x110),{'univer-text-green-500':_0x2db796,'univer-text-red-500':!_0x2db796}),'children':_0xd1a7d9}),(0x0,_0x2f373e['jsx'])(_0x41bb77(0x175),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x419416})]});}return _0x2db796?_0x4fc60f():(0x0,_0x2f373e['jsx'])(_0x3df4e2[_0x574c46(0x1a4)],{'title':_0x235c95['t'](_0x574c46(0x16e)),'children':_0x4fc60f()});}function _0x1f5272(_0x3c600b){'@babel/helpers - typeof';const _0x3fd240=_0x24b96c;return _0x1f5272=typeof Symbol==_0x3fd240(0x33d)&&typeof Symbol[_0x3fd240(0xe7)]=='symbol'?function(_0x1e4e8b){return typeof _0x1e4e8b;}:function(_0x3aafce){const _0x24ca6c=_0x3fd240;return _0x3aafce&&typeof Symbol==_0x24ca6c(0x33d)&&_0x3aafce[_0x24ca6c(0x2a3)]===Symbol&&_0x3aafce!==Symbol[_0x24ca6c(0x348)]?_0x24ca6c(0x359):typeof _0x3aafce;},_0x1f5272(_0x3c600b);}function _0x5639cc(_0x1c0f29,_0x3a089b){const _0xef9327=_0x24b96c;if(_0x1f5272(_0x1c0f29)!=_0xef9327(0xf0)||!_0x1c0f29)return _0x1c0f29;var _0x14713e=_0x1c0f29[Symbol['toPrimitive']];if(_0x14713e!==void 0x0){var _0x496e01=_0x14713e[_0xef9327(0x356)](_0x1c0f29,_0x3a089b||_0xef9327(0x33a));if(_0x1f5272(_0x496e01)!=_0xef9327(0xf0))return _0x496e01;throw TypeError(_0xef9327(0x149));}return(_0x3a089b==='string'?String:Number)(_0x1c0f29);}function _0x268348(_0x58d786){const _0x5d75ff=_0x24b96c;var _0x16dc1c=_0x5639cc(_0x58d786,_0x5d75ff(0x3ad));return _0x1f5272(_0x16dc1c)=='symbol'?_0x16dc1c:_0x16dc1c+'';}function _0x32f982(_0x50c3ee,_0x18977d,_0x1d4089){return(_0x18977d=_0x268348(_0x18977d))in _0x50c3ee?Object['defineProperty'](_0x50c3ee,_0x18977d,{'value':_0x1d4089,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x50c3ee[_0x18977d]=_0x1d4089,_0x50c3ee;}function _0x517da2(_0x2a09e3,_0x154027){return function(_0x3e641d,_0x7dfedc){_0x154027(_0x3e641d,_0x7dfedc,_0x2a09e3);};}function _0x12d4ea(_0x4dfc70,_0x5c4c1a,_0x4d9335,_0x33279){const _0x1c6f24=_0x24b96c;var _0x32f447=arguments['length'],_0x4626fa=_0x32f447<0x3?_0x5c4c1a:_0x33279===null?_0x33279=Object[_0x1c6f24(0x32d)](_0x5c4c1a,_0x4d9335):_0x33279,_0x1c7afd;if(typeof Reflect=='object'&&typeof Reflect[_0x1c6f24(0x138)]==_0x1c6f24(0x33d))_0x4626fa=Reflect[_0x1c6f24(0x138)](_0x4dfc70,_0x5c4c1a,_0x4d9335,_0x33279);else{for(var _0x423e7a=_0x4dfc70[_0x1c6f24(0x36e)]-0x1;_0x423e7a>=0x0;_0x423e7a--)(_0x1c7afd=_0x4dfc70[_0x423e7a])&&(_0x4626fa=(_0x32f447<0x3?_0x1c7afd(_0x4626fa):_0x32f447>0x3?_0x1c7afd(_0x5c4c1a,_0x4d9335,_0x4626fa):_0x1c7afd(_0x5c4c1a,_0x4d9335))||_0x4626fa);}return _0x32f447>0x3&&_0x4626fa&&Object[_0x1c6f24(0x324)](_0x5c4c1a,_0x4d9335,_0x4626fa),_0x4626fa;}let _0xab3962=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0x50634a,_0x1eea8a,_0x4289d4,_0x56eb1c){const _0x1b23a7=_0x24b96c;super(),this['_univerInstanceService']=_0x50634a,this['_injector']=_0x1eea8a,this[_0x1b23a7(0x1e5)]=_0x4289d4,this[_0x1b23a7(0x1fe)]=_0x56eb1c,_0x32f982(this,'_status$',new _0x594669[(_0x1b23a7(0x3a6))](_0x4a06d2[_0x1b23a7(0x124)][_0x1b23a7(0x208)])),this[_0x1b23a7(0xad)](),this['_initStatusListener']();}[_0x24b96c(0x15e)](){const _0x1ff015=_0x24b96c;this[_0x1ff015(0x220)](this['_univerInstanceService'][_0x1ff015(0x301)][_0x1ff015(0x2be)]((0x0,_0x594669[_0x1ff015(0x34b)])(()=>{const _0x13c0a1=_0x1ff015;let _0x31f4e6=this[_0x13c0a1(0x141)][_0x13c0a1(0x16c)]();return _0x31f4e6?this[_0x13c0a1(0x1e5)]['getCollabEntity$'](_0x31f4e6['getUnitId']()):(0x0,_0x594669['of'])(null);}),(0x0,_0x594669[_0x1ff015(0x34b)])(_0x2bcafa=>_0x2bcafa?_0x2bcafa[_0x1ff015(0xb2)]:(0x0,_0x594669['of'])(_0x4a06d2[_0x1ff015(0x124)][_0x1ff015(0x208)])))[_0x1ff015(0x320)](_0x256b48=>{const _0x35f0a3=_0x1ff015;this[_0x35f0a3(0x262)][_0x35f0a3(0x373)](_0x256b48);}));}['_initStatusComponent'](){const _0x3de841=_0x24b96c;this['disposeWithMe'](this[_0x3de841(0x1fe)]['registerComponent'](_0x429bdf[_0x3de841(0x1f7)][_0x3de841(0x1f0)],()=>(0x0,_0x429bdf[_0x3de841(0xc6)])(_0x31631e({'status$':this[_0x3de841(0x262)][_0x3de841(0x388)]()}),this[_0x3de841(0x23a)])));}};_0xab3962=_0x12d4ea([_0x517da2(0x0,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d['Injector'])),_0x517da2(0x2,(0x0,_0x13030d['Inject'])(_0x4a06d2[_0x24b96c(0x120)])),_0x517da2(0x3,_0x429bdf['IUIPartsService'])],_0xab3962);function _0x31631e(_0x23266a){let {status$:_0x5e1282}=_0x23266a;return function(){const _0x2ec936=_0x84a9;return(0x0,_0x2f373e[_0x2ec936(0xc2)])(_0x12ed17,{'status$':_0x5e1282});};}let _0x55c8b2=(0x0,_0x13030d[_0x24b96c(0x267)])(_0x24b96c(0x1b8)),_0x2d4814=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(_0x195def,_0x3af8bd,_0x2882e4,_0x18fe01,_0x442a90){const _0x206422=_0x24b96c;super(),this[_0x206422(0x31d)]=_0x195def,this[_0x206422(0xec)]=_0x3af8bd,this[_0x206422(0xa0)]=_0x2882e4,this[_0x206422(0x330)]=_0x18fe01,_0x442a90?_0x442a90==null||_0x442a90['whenReady']()[_0x206422(0x100)](()=>this[_0x206422(0xb7)]()):(this['_logService'][_0x206422(0x19d)](_0x206422(0xfe),_0x206422(0x14a)),this[_0x206422(0xb7)]());}async[_0x24b96c(0xb7)](){const _0x445ab5=_0x24b96c;let _0x5c353b=this[_0x445ab5(0x31d)][_0x445ab5(0x1c6)]('unit'),_0x10a16e=this['_urlService']['getParam'](_0x445ab5(0x35c)),_0xb7349=this[_0x445ab5(0x31d)][_0x445ab5(0x1c6)](_0x445ab5(0xbc));if(!_0x5c353b||!_0x10a16e){this[_0x445ab5(0xec)][_0x445ab5(0x19d)](_0x445ab5(0xfe),_0x445ab5(0x1fd));return;}let _0x21d4da=await this[_0x445ab5(0x330)][_0x445ab5(0x323)](_0x5c353b,Number(_0x10a16e),_0xb7349);_0x21d4da&&_0x21d4da instanceof _0x13030d['Workbook']&&this[_0x445ab5(0xb9)](_0x21d4da);}async[_0x24b96c(0xb9)](_0x4f6af4){const _0x3d0680=_0x24b96c;await this[_0x3d0680(0x203)](_0x4f6af4),_0x4f6af4[_0x3d0680(0x298)]['pipe']((0x0,_0x594669[_0x3d0680(0xc0)])(this[_0x3d0680(0x159)]))[_0x3d0680(0x320)](_0x430046=>{_0x430046&&this['_updateURLWithCurrentState'](_0x430046);}),this['_urlService'][_0x3d0680(0x31b)]['pipe']((0x0,_0x594669[_0x3d0680(0xc0)])(this[_0x3d0680(0x159)]))[_0x3d0680(0x320)](()=>this[_0x3d0680(0x203)](_0x4f6af4));}[_0x24b96c(0x128)](_0x5b6f5b,_0x1669f1=!0x1){const _0x4b8b4a=_0x24b96c;let _0x4ade55=this['_urlService'][_0x4b8b4a(0x1c6)](_0x4b8b4a(0xbc));_0x5b6f5b['getSheetId']()!==_0x4ade55&&this[_0x4b8b4a(0x31d)]['setParam'](_0x4b8b4a(0xbc),_0x5b6f5b[_0x4b8b4a(0x32a)](),_0x1669f1);}async[_0x24b96c(0x203)](_0x2fae54){const _0x5ca6bb=_0x24b96c;var _0x569f75;let _0x47c5a7=this['_urlService'][_0x5ca6bb(0x1c6)]('subunit');if(!_0x47c5a7||!_0x2fae54['getSheetBySheetId'](_0x47c5a7)){let _0x44c981=_0x2fae54[_0x5ca6bb(0x2c9)]()[0x0],_0x1ce690=_0x2fae54[_0x5ca6bb(0xa2)](_0x44c981);if(!_0x1ce690)return;this[_0x5ca6bb(0x128)](_0x1ce690,!0x0),await this['_commandService'][_0x5ca6bb(0x2a4)](_0x47b368[_0x5ca6bb(0x321)]['id'],{'unitId':_0x2fae54[_0x5ca6bb(0xf6)](),'subUnitId':_0x44c981});return;}((_0x569f75=_0x2fae54[_0x5ca6bb(0x12d)]())==null?void 0x0:_0x569f75['getSheetId']())!==_0x47c5a7&&await this[_0x5ca6bb(0xa0)][_0x5ca6bb(0x2a4)](_0x47b368['SetWorksheetActivateCommand']['id'],{'unitId':_0x2fae54[_0x5ca6bb(0xf6)](),'subUnitId':_0x47c5a7});}};_0x2d4814=_0x12d4ea([_0x517da2(0x0,_0x55c8b2),_0x517da2(0x1,_0x13030d[_0x24b96c(0x30f)]),_0x517da2(0x2,_0x13030d[_0x24b96c(0x2bb)]),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x4a06d2['DataLoaderService'])),_0x517da2(0x4,(0x0,_0x13030d['Optional'])(_0x108d2d[_0x24b96c(0x139)]))],_0x2d4814);var _0x4837e7=_0x24b96c(0x36d),_0x47cc26=_0x24b96c(0x2a8);let _0x3543c2=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(_0x3db76a,_0x495a05){const _0x2a513c=_0x24b96c;super(),this[_0x2a513c(0x215)]=_0x3db76a,this[_0x2a513c(0x163)]=_0x495a05,this[_0x2a513c(0xb7)]();}[_0x24b96c(0xb7)](){const _0x1700f5=_0x24b96c;let _0x389513=this;this[_0x1700f5(0x220)](this[_0x1700f5(0x215)][_0x1700f5(0x245)]({'onBeforePasteImage':async _0x3a10db=>{const _0x3072c9=_0x1700f5;let _0x316bef=await _0x389513['_imageIoService'][_0x3072c9(0x125)](_0x3a10db);return _0x316bef?{'source':_0x316bef['source'],'imageSourceType':_0x316bef[_0x3072c9(0xb6)]}:null;}}));}};_0x3543c2=_0x12d4ea([_0x517da2(0x0,_0x57a234[_0x24b96c(0x39f)]),_0x517da2(0x1,_0x497386[_0x24b96c(0x35e)])],_0x3543c2);let _0x1d5af9=[_0x24b96c(0x372),_0x24b96c(0x2cc),'green.600',_0x24b96c(0x1d0),_0x24b96c(0x161),_0x24b96c(0x275)];var _0x57da1c=class extends _0x13030d[_0x24b96c(0x328)]{constructor(..._0xb94d75){const _0x34abb1=_0x24b96c;super(..._0xb94d75),_0x32f982(this,_0x34abb1(0x157),new Map()),_0x32f982(this,_0x34abb1(0x2e2),0x0);}[_0x24b96c(0x36f)](_0x5eed0e){const _0x218e81=_0x24b96c;if(this[_0x218e81(0x157)]['has'](_0x5eed0e))return this[_0x218e81(0x157)][_0x218e81(0x283)](_0x5eed0e);let _0x734cee=_0x1d5af9[this['_colorIndex']];return this[_0x218e81(0x2e2)]=(this[_0x218e81(0x2e2)]+0x1)%_0x1d5af9[_0x218e81(0x36e)],this[_0x218e81(0x157)][_0x218e81(0x13e)](_0x5eed0e,_0x734cee),_0x734cee;}},_0x536f7a=function(_0x90c6d5){return _0x90c6d5['Active']='1',_0x90c6d5['Inactive']='0',_0x90c6d5;}(_0x536f7a||{});function _0x4aec9f(_0x2d4b3c){const _0x3ecdbe=_0x24b96c;let _0x4ce1ee='';for(let _0x3c4831 of _0x2d4b3c){let {startOffset:_0x428398,endOffset:_0x5a30ca,isActive:_0x42ed25,rangeType:_0x140041,segmentId:_0x5e318e,segmentPage:_0x51fda4}=_0x3c4831;_0x4ce1ee['length']&&(_0x4ce1ee+=','),_0x4ce1ee+=_0x428398+':'+_0x5a30ca+':'+(_0x42ed25?_0x536f7a['Active']:_0x536f7a[_0x3ecdbe(0x227)])+':'+_0x140041+':'+_0x5e318e+':'+_0x51fda4;}return _0x4ce1ee;}function _0x1de834(_0x391448){const _0x56e328=_0x24b96c;let _0x2f7cb9=_0x391448['split'](','),_0x506bf8=[];for(let _0x1d276f of _0x2f7cb9){let [_0x4668df,_0x5b26dd,_0x46613b,_0x1f90de,_0x178391,_0x5279fa]=_0x1d276f[_0x56e328(0x160)](':');_0x506bf8[_0x56e328(0x264)]({'startOffset':Number(_0x4668df),'endOffset':Number(_0x5b26dd),'collapsed':_0x4668df===_0x5b26dd,'isActive':_0x46613b===_0x536f7a[_0x56e328(0xe5)],'rangeType':_0x1f90de===_0x13030d[_0x56e328(0x1ef)][_0x56e328(0x24b)]?_0x13030d[_0x56e328(0x1ef)][_0x56e328(0x24b)]:_0x13030d['DOC_RANGE_TYPE'][_0x56e328(0x2ee)],'segmentId':typeof _0x178391==_0x56e328(0x3ad)?String(_0x178391):'','segmentPage':Number(_0x5279fa==null?-0x1:_0x5279fa)});}return _0x506bf8[_0x56e328(0x2b6)](_0x3b2272=>_0x3b2272[_0x56e328(0x207)])||(_0x506bf8[0x0][_0x56e328(0x207)]=!0x0),_0x506bf8;}var _0x26ea35=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(..._0x20907b){const _0x592f54=_0x24b96c;super(..._0x20907b),_0x32f982(this,_0x592f54(0x1ba),new _0x594669[(_0x592f54(0x3a6))](null)),_0x32f982(this,_0x592f54(0x35f),this[_0x592f54(0x1ba)]['asObservable']());}[_0x24b96c(0x18c)](_0x27f662){const _0x29197a=_0x24b96c;let {unitID:_0x4b78b8,memberID:_0x30ae70,textRanges:_0x92d2b}=_0x27f662,_0x22f2b3=_0x4aec9f(_0x92d2b);if(_0x22f2b3==='')return;let _0x54201d={'unitID':_0x4b78b8,'memberID':_0x30ae70,'selection':_0x22f2b3};this[_0x29197a(0x1ba)][_0x29197a(0x373)](_0x54201d);}};let _0x1bd4ab=class extends _0x13030d['RxDisposable']{get['cursorInfo'](){const _0x2bc43b=_0x24b96c;return this['_cursorInfo$'][_0x2bc43b(0x135)]();}get['roomMembers'](){const _0x3d8632=_0x24b96c;return this[_0x3d8632(0x349)][_0x3d8632(0x135)]();}constructor(_0x2bfb23,_0x2c95ab,_0xc27237,_0x44882c,_0x557e78,_0xa8d28b,_0x3ef58a,_0x16cde3,_0xe31651){const _0x4be920=_0x24b96c;super(),this['unitID']=_0x2bfb23,this[_0x4be920(0xd6)]=_0x2c95ab,this[_0x4be920(0x23a)]=_0xc27237,this[_0x4be920(0x1d9)]=_0x44882c,this[_0x4be920(0xed)]=_0x557e78,this[_0x4be920(0x155)]=_0xa8d28b,this[_0x4be920(0x22d)]=_0x3ef58a,this[_0x4be920(0x141)]=_0x16cde3,this['_commandService']=_0xe31651,_0x32f982(this,'_online',!0x1),_0x32f982(this,_0x4be920(0xb7),!0x1),_0x32f982(this,_0x4be920(0x242),new _0x594669[(_0x4be920(0x3a6))](new Map())),_0x32f982(this,_0x4be920(0x340),this['_cursorInfo$'][_0x4be920(0x388)]()),_0x32f982(this,_0x4be920(0x349),new _0x594669['BehaviorSubject']([])),_0x32f982(this,_0x4be920(0x1b3),this[_0x4be920(0x349)][_0x4be920(0x2be)]((0x0,_0x594669[_0x4be920(0x188)])(0x12c))),_0x32f982(this,_0x4be920(0x10d),(0x0,_0x13030d[_0x4be920(0x2b0)])(_0x234c2a=>{const _0x42b76e=_0x4be920;let _0x3d2df8={'eventID':_0x486545[_0x42b76e(0x195)][_0x42b76e(0x1e1)],'data':{'unitID':this[_0x42b76e(0x343)],'memberID':this[_0x42b76e(0xd6)][_0x42b76e(0x126)](),'selection':_0x4aec9f(_0x234c2a)}};this[_0x42b76e(0xd6)][_0x42b76e(0x34d)](_0x3d2df8,this[_0x42b76e(0x343)]);},0x64));}[_0x24b96c(0x29f)](){const _0x182650=_0x24b96c;super['dispose'](),this[_0x182650(0x242)][_0x182650(0x373)](new Map()),this[_0x182650(0x242)][_0x182650(0xdc)](),this[_0x182650(0x349)][_0x182650(0x373)]([]),this[_0x182650(0x349)][_0x182650(0xdc)]();}[_0x24b96c(0x387)](){const _0xc558c5=_0x24b96c;this[_0xc558c5(0xb7)]||(this[_0xc558c5(0xb7)]=!0x0,this[_0xc558c5(0xd6)]['sessionStatus$']['pipe']((0x0,_0x594669['takeUntil'])(this[_0xc558c5(0x159)]))[_0xc558c5(0x320)](_0x7bb920=>{const _0x8b18ba=_0xc558c5;_0x7bb920===_0x4a06d2[_0x8b18ba(0x1f2)]['ONLINE']?this[_0x8b18ba(0x2de)]():this[_0x8b18ba(0x2a7)]();}),this[_0xc558c5(0xd6)][_0xc558c5(0x1a3)][_0xc558c5(0x2be)]((0x0,_0x594669[_0xc558c5(0xc0)])(this[_0xc558c5(0x159)]))[_0xc558c5(0x320)](_0x16077c=>{const _0x936e95=_0xc558c5;let _0x2740ab=_0x16077c[_0x936e95(0x2dc)];_0x2740ab===_0x486545[_0x936e95(0x195)][_0x936e95(0x1e1)]&&this[_0x936e95(0x1d6)](_0x16077c),_0x2740ab===_0x486545[_0x936e95(0x195)]['USERS_LEAVE']&&this[_0x936e95(0x258)](_0x16077c);}),this[_0xc558c5(0x220)](this[_0xc558c5(0xa0)][_0xc558c5(0xd3)](_0x436b4f=>{const _0x30c0ab=_0xc558c5;let _0x5632bc=_0x436b4f[_0x30c0ab(0x22a)];_0x5632bc!=null&&this[_0x30c0ab(0x1e4)]&&_0x436b4f['id']===_0x1aedbb[_0x30c0ab(0x1fa)]['id']&&_0x5632bc[_0x30c0ab(0x1bf)]===this[_0x30c0ab(0x343)]&&_0x5632bc['isEditing']===!0x1&&_0x5632bc['ranges'][_0x30c0ab(0x36e)]>0x0&&this[_0x30c0ab(0x10d)](_0x5632bc[_0x30c0ab(0x11e)]);})),this[_0xc558c5(0x155)][_0xc558c5(0x35f)]['pipe']((0x0,_0x594669[_0xc558c5(0xc0)])(this['dispose$']))[_0xc558c5(0x320)](_0x2aba93=>{const _0x3cb27d=_0xc558c5;if((_0x2aba93==null?void 0x0:_0x2aba93['unitID'])!==this[_0x3cb27d(0x343)])return;let _0x28bcfb={'eventID':_0x486545['CollaborationEvent'][_0x3cb27d(0x1e1)],'data':_0x2aba93};this['_onCursorUpdate'](_0x28bcfb);}),this['disposeWithMe'](this[_0xc558c5(0xa0)][_0xc558c5(0xd3)](_0xaec00d=>{const _0x525968=_0xc558c5;if(_0xaec00d[_0x525968(0x22a)]==null)return;let _0x3b62ee=_0xaec00d[_0x525968(0x22a)];if(_0xaec00d['id']!==_0x1aedbb['RichTextEditingMutation']['id']||_0x3b62ee[_0x525968(0x1bf)]!==this[_0x525968(0x343)])return;let _0x3c7817={'id':_0x525968(0x1ae),'params':_0x3b62ee},_0xa52f09=this['cursorInfo'];for(let [_0x4abf19,_0x1f8409]of _0xa52f09){let _0x53cc00={'id':_0x525968(0x1ae),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1f8409[_0x525968(0x11e)]}},_0x309de5=this[_0x525968(0x22d)][_0x525968(0x26a)](_0x3c7817,_0x53cc00,!0x1);if((0x0,_0x486545[_0x525968(0x326)])(_0x309de5))throw _0x309de5['error'];_0xa52f09[_0x525968(0x13e)](_0x4abf19,{..._0x1f8409,'ranges':_0x309de5[_0x525968(0x32c)][_0x525968(0x22a)][_0x525968(0x132)]});}queueMicrotask(()=>{const _0x2fefb4=_0x525968;this[_0x2fefb4(0x242)][_0x2fefb4(0x373)](_0xa52f09);});})));}[_0x24b96c(0x1d6)](_0x48bdc4){const _0x14e332=_0x24b96c;var _0x82ab08,_0x12b1f6;let {memberID:_0x1ebdca,selection:_0x151be2}=_0x48bdc4[_0x14e332(0x366)],_0x4f7527=_0x1de834(_0x151be2),_0x125594=(_0x82ab08=(_0x12b1f6=this[_0x14e332(0xed)][_0x14e332(0x285)](this[_0x14e332(0x343)],_0x1ebdca))==null?void 0x0:_0x12b1f6['name'])==null?_0x14e332(0x1a6):_0x82ab08,_0x153512={'color':this[_0x14e332(0x1d9)]['assignAColorForMemberID'](_0x1ebdca),'name':_0x125594,'ranges':_0x4f7527},_0x5187d5=this[_0x14e332(0x336)];_0x5187d5[_0x14e332(0x13e)](_0x1ebdca,_0x153512),this[_0x14e332(0x242)][_0x14e332(0x373)](_0x5187d5);}['_onCursorDelete'](_0x1c6319){const _0x271cd9=_0x24b96c;let {memberID:_0x120cfe}=_0x1c6319[_0x271cd9(0x366)],_0x1775eb=this['cursorInfo'];_0x1775eb[_0x271cd9(0x103)](_0x120cfe),this[_0x271cd9(0x242)]['next'](_0x1775eb);}[_0x24b96c(0x2de)](){const _0x3d4424=_0x24b96c;var _0x2e975d;if(this[_0x3d4424(0x1e4)]=!0x0,((_0x2e975d=this[_0x3d4424(0x141)]['getFocusedUnit']())==null?void 0x0:_0x2e975d[_0x3d4424(0xf6)]())!==this[_0x3d4424(0x343)])return;let _0x17ac08=this[_0x3d4424(0x23a)][_0x3d4424(0x283)](_0x1aedbb[_0x3d4424(0x16a)])[_0x3d4424(0x396)]();Array['isArray'](_0x17ac08)&&_0x17ac08[_0x3d4424(0x36e)]>0x0&&this[_0x3d4424(0x10d)](_0x17ac08);}[_0x24b96c(0x2a7)](){const _0xa94f0b=_0x24b96c;this[_0xa94f0b(0x1e4)]=!0x1;}};_0x1bd4ab=_0x12d4ea([_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x57da1c)),_0x517da2(0x4,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x4a06d2[_0x24b96c(0x29c)])),_0x517da2(0x5,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x26ea35)),_0x517da2(0x6,_0x486545['ITransformService']),_0x517da2(0x7,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x8,_0x13030d[_0x24b96c(0x2bb)])],_0x1bd4ab);let _0x7b8e21=()=>{let _0x3bc873=[],_0x24efd8=!0x1;return _0x52a1fd=>{const _0x6ef6cf=_0x84a9;_0x3bc873[_0x6ef6cf(0x264)](_0x52a1fd),_0x24efd8||(_0x24efd8=!0x0,setTimeout(()=>{const _0xc21006=_0x6ef6cf;_0x3bc873[_0xc21006(0x172)](_0x3fa477=>_0x3fa477()),_0x3bc873=[],_0x24efd8=!0x1;}));};},_0x163c94=class extends _0x13030d[_0x24b96c(0x2ae)]{get[_0x24b96c(0x336)](){const _0x2862f2=_0x24b96c;return this['_cursorInfo$'][_0x2862f2(0x135)]();}get[_0x24b96c(0x295)](){const _0x5646c1=_0x24b96c;return this['_roomMembers$'][_0x5646c1(0x135)]();}constructor(_0x4b6238,_0x363d9a,_0x7e1108,_0x3a9f76,_0xc5dafd,_0x1cf06d,_0x4d9512,_0x4e4eff){const _0x172a0d=_0x24b96c;super(),this[_0x172a0d(0x343)]=_0x4b6238,this[_0x172a0d(0xd6)]=_0x363d9a,this['_injector']=_0x7e1108,this[_0x172a0d(0x1d9)]=_0x3a9f76,this[_0x172a0d(0xed)]=_0xc5dafd,this[_0x172a0d(0x141)]=_0x1cf06d,this[_0x172a0d(0xa0)]=_0x4d9512,this[_0x172a0d(0x20e)]=_0x4e4eff,_0x32f982(this,_0x172a0d(0x1e4),!0x1),_0x32f982(this,_0x172a0d(0xb7),!0x1),_0x32f982(this,'_cursorInfo$',new _0x594669[(_0x172a0d(0x3a6))](new Map())),_0x32f982(this,_0x172a0d(0x340),this[_0x172a0d(0x242)][_0x172a0d(0x388)]()),_0x32f982(this,'_roomMembers$',new _0x594669['BehaviorSubject']([])),_0x32f982(this,_0x172a0d(0x1b3),this[_0x172a0d(0x349)][_0x172a0d(0x2be)]((0x0,_0x594669[_0x172a0d(0x188)])(0x12c))),_0x32f982(this,_0x172a0d(0x10d),(0x0,_0x13030d[_0x172a0d(0x2b0)])((_0x4695eb,_0x126d6f)=>{const _0x405ce9=_0x172a0d;let _0x56b94b={'eventID':_0x486545[_0x405ce9(0x195)][_0x405ce9(0x1e1)],'data':{'unitID':this[_0x405ce9(0x343)],'memberID':this[_0x405ce9(0xd6)][_0x405ce9(0x126)](),'selection':(0x0,_0xe81250[_0x405ce9(0x2f1)])(_0x4695eb,_0x126d6f[_0x405ce9(0x1a7)])}};this['_session']['send'](_0x56b94b,this['unitID']);},0x64));}['dispose'](){const _0x5d0e67=_0x24b96c;super[_0x5d0e67(0x29f)](),this[_0x5d0e67(0x242)][_0x5d0e67(0x373)](new Map()),this[_0x5d0e67(0x242)][_0x5d0e67(0xdc)](),this[_0x5d0e67(0x349)]['next']([]),this[_0x5d0e67(0x349)][_0x5d0e67(0xdc)]();}[_0x24b96c(0x387)](){const _0x33a80c=_0x24b96c;this[_0x33a80c(0xb7)]||(this[_0x33a80c(0xb7)]=!0x0,this['_session'][_0x33a80c(0x286)][_0x33a80c(0x2be)]((0x0,_0x594669[_0x33a80c(0xc0)])(this[_0x33a80c(0x159)]))[_0x33a80c(0x320)](_0x541a70=>{const _0x5c0099=_0x33a80c;_0x541a70===_0x4a06d2['SessionStatus'][_0x5c0099(0x39a)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x33a80c(0xd6)][_0x33a80c(0x1a3)][_0x33a80c(0x2be)]((0x0,_0x594669[_0x33a80c(0xc0)])(this[_0x33a80c(0x159)]))[_0x33a80c(0x320)](_0x86bb61=>{const _0x2e2eff=_0x33a80c;let _0x4f1267=_0x86bb61[_0x2e2eff(0x2dc)];_0x4f1267===_0x486545[_0x2e2eff(0x195)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x86bb61),_0x4f1267===_0x486545[_0x2e2eff(0x195)][_0x2e2eff(0x18b)]&&this[_0x2e2eff(0x258)](_0x86bb61);}),this[_0x33a80c(0x2f2)](),this[_0x33a80c(0x220)](this['_commandService']['onCommandExecuted'](_0x4e3b84=>{const _0xb684b8=_0x33a80c;if(this['_online']&&_0x4e3b84['id']===_0x47b368[_0xb684b8(0xda)]['id']&&_0x4e3b84['params'][_0xb684b8(0x1bf)]===this[_0xb684b8(0x343)]){let _0x3bf9e9=_0x4e3b84[_0xb684b8(0x22a)];this['_updateLocalCursor'](_0x3bf9e9[_0xb684b8(0x30a)],_0x3bf9e9[_0xb684b8(0x27d)][0x0]);}})));}[_0x24b96c(0x1d6)](_0x1a87a2){const _0x38c870=_0x24b96c;var _0x337bc4,_0x1fd0dd;let {memberID:_0x1bedab,selection:_0x558164}=_0x1a87a2['data'],{sheetName:_0x15f59f,range:_0x49f3a6}=(0x0,_0xe81250[_0x38c870(0x15d)])(_0x558164),_0x34ce89={'name':(_0x337bc4=(_0x1fd0dd=this[_0x38c870(0xed)][_0x38c870(0x285)](this[_0x38c870(0x343)],_0x1bedab))==null?void 0x0:_0x1fd0dd[_0x38c870(0x1c4)])==null?_0x38c870(0x1a6):_0x337bc4,'range':this[_0x38c870(0x130)](_0x15f59f,_0x49f3a6),'sheetID':_0x15f59f,'color':this[_0x38c870(0x1d9)][_0x38c870(0x36f)](_0x1bedab),'selection':_0x558164},_0x100439=this[_0x38c870(0x336)];_0x100439[_0x38c870(0x13e)](_0x1bedab,_0x34ce89),this[_0x38c870(0x242)][_0x38c870(0x373)](_0x100439);}[_0x24b96c(0x258)](_0x28c4b3){const _0x10e137=_0x24b96c;let {memberID:_0x15a516}=_0x28c4b3[_0x10e137(0x366)],_0x69ed02=this[_0x10e137(0x336)];_0x69ed02['delete'](_0x15a516),this['_cursorInfo$']['next'](_0x69ed02);}[_0x24b96c(0x130)](_0x5728ee,_0x3cf6b0){const _0x2b7c41=_0x24b96c;var _0x272151;let _0x393c6c=(_0x272151=this[_0x2b7c41(0x141)][_0x2b7c41(0x28e)](this['unitID']))==null||(_0x272151=_0x272151[_0x2b7c41(0xa2)](_0x5728ee))==null?void 0x0:_0x272151[_0x2b7c41(0x1ec)]();return(_0x393c6c==null?void 0x0:_0x393c6c[_0x2b7c41(0x299)](_0x3f3eae=>_0x13030d['Rectangle'][_0x2b7c41(0x20a)](_0x3f3eae,_0x3cf6b0)))||_0x3cf6b0;}[_0x24b96c(0x2f2)](){const _0x3b68f5=_0x24b96c;let _0x31c8c9=new _0x13030d[(_0x3b68f5(0x19b))](),_0x36d977=_0x7b8e21(),_0x5885d3=()=>{_0x31c8c9['dispose']();let _0x2decc0=(_0x1ce68a,_0x2b65d3,_0x84f108,_0x19f520)=>{const _0x5b959e=_0x84a9;let _0x564fba=[];switch(_0x1ce68a['id']){case _0x47b368[_0x5b959e(0x177)]['DeleteRangeMoveLeftCommandId']:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x1ab)])(_0x1ce68a,_0x19f520);break;case _0x47b368['EffectRefRangId'][_0x5b959e(0x18d)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x369)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0x273)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x1e6)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0x1a5)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x109)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0x174)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x252)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)]['InsertRowCommandId']:_0x564fba=(0x0,_0x47b368[_0x5b959e(0xf3)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0xf9)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x30b)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)][_0x5b959e(0x304)]:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x1f1)])(_0x1ce68a,_0x19f520);break;case _0x47b368[_0x5b959e(0x177)]['RemoveRowCommandId']:_0x564fba=(0x0,_0x47b368[_0x5b959e(0x268)])(_0x1ce68a,_0x19f520);break;}let _0x16cfd8=(0x0,_0x47b368[_0x5b959e(0x2a0)])(_0x564fba,_0x19f520),_0x4af4fd=this['cursorInfo']['get'](_0x2b65d3);if(_0x4af4fd&&_0x16cfd8){let _0x34c470={..._0x4af4fd,'range':_0x16cfd8};this[_0x5b959e(0x336)][_0x5b959e(0x13e)](_0x2b65d3,_0x34c470),_0x36d977(()=>{const _0x5c2d00=_0x5b959e;let _0x462be8=this[_0x5c2d00(0x20e)][_0x5c2d00(0x10e)](_0x16cfd8,_0x4dedd5=>(_0x462be8[_0x5c2d00(0x29f)](),_0x2decc0(_0x4dedd5,_0x2b65d3,_0x84f108,_0x16cfd8)));_0x31c8c9[_0x5c2d00(0x2e8)](_0x462be8);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x45d97e,_0x334f57)=>{const _0x497664=_0x84a9;let {range:_0x4fa1d1,sheetID:_0x20504a}=_0x45d97e,_0x80f811=this['_refRangeService']['registerRefRange'](_0x4fa1d1,_0x340e6e=>(_0x80f811[_0x497664(0x29f)](),_0x2decc0(_0x340e6e,_0x334f57,_0x20504a,_0x4fa1d1)));_0x31c8c9['add'](_0x80f811);});};this[_0x3b68f5(0x220)]((0x0,_0x13030d[_0x3b68f5(0x148)])(this[_0x3b68f5(0x242)][_0x3b68f5(0x320)](()=>{_0x5885d3();})));}[_0x24b96c(0x2de)](){const _0x3d17a7=_0x24b96c;var _0x2396a3,_0x835fbb;if(this[_0x3d17a7(0x1e4)]=!0x0,((_0x2396a3=this[_0x3d17a7(0x141)][_0x3d17a7(0x16c)]())==null?void 0x0:_0x2396a3[_0x3d17a7(0xf6)]())!==this[_0x3d17a7(0x343)])return;let _0x12107a=(_0x835fbb=this[_0x3d17a7(0x23a)]['get'](_0x47b368['SheetsSelectionsService'])[_0x3d17a7(0x3a9)]())==null?void 0x0:_0x835fbb[0x0],_0x18f405=this['_univerInstanceService']['getCurrentUnitForType'](_0x13030d[_0x3d17a7(0x3aa)][_0x3d17a7(0x2d8)])[_0x3d17a7(0x12d)]();_0x12107a&&_0x18f405&&this['_updateLocalCursor'](_0x18f405[_0x3d17a7(0x32a)](),_0x12107a);}[_0x24b96c(0x2a7)](){const _0x36d81e=_0x24b96c;this[_0x36d81e(0x1e4)]=!0x1;}};_0x163c94=_0x12d4ea([_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d['Injector'])),_0x517da2(0x3,(0x0,_0x13030d['Inject'])(_0x57da1c)),_0x517da2(0x4,(0x0,_0x13030d['Inject'])(_0x4a06d2[_0x24b96c(0x29c)])),_0x517da2(0x5,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x6,_0x13030d[_0x24b96c(0x2bb)]),_0x517da2(0x7,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x47b368[_0x24b96c(0x291)]))],_0x163c94);let _0x56259b=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(_0x4683d5,_0x1ade8c,_0x1c7aba){const _0x25f4ad=_0x24b96c;super(),this[_0x25f4ad(0x141)]=_0x4683d5,this['_injector']=_0x1ade8c,this[_0x25f4ad(0x18e)]=_0x1c7aba,_0x32f982(this,_0x25f4ad(0x2d2),new Map()),_0x32f982(this,_0x25f4ad(0x293),new _0x594669[(_0x25f4ad(0x21a))]()),this['_init']();}[_0x24b96c(0x29f)](){const _0x322038=_0x24b96c;super[_0x322038(0x29f)](),this[_0x322038(0x293)][_0x322038(0xdc)](),this[_0x322038(0x2d2)][_0x322038(0x172)](_0x46cf60=>_0x46cf60['dispose']());}['getCollabCursors$'](_0x57a5cb){const _0x31bbf0=_0x24b96c;return this['_entities']['has'](_0x57a5cb)?this[_0x31bbf0(0x2d2)]['get'](_0x57a5cb)[_0x31bbf0(0x340)]:this[_0x31bbf0(0x293)]['pipe']((0x0,_0x594669[_0x31bbf0(0xa7)])(_0x278d2c=>_0x278d2c['unitID']===_0x57a5cb),(0x0,_0x594669['switchMap'])(_0x20629b=>_0x20629b['cursorInfo$']));}['_init'](){const _0x273199=_0x24b96c;this[_0x273199(0x141)][_0x273199(0x21b)](_0x13030d[_0x273199(0x3aa)][_0x273199(0x2d8)])['pipe']((0x0,_0x594669[_0x273199(0xc0)])(this[_0x273199(0x159)]))[_0x273199(0x320)](async _0x3975d7=>{const _0xa3a71d=_0x273199;let _0x5b9b25=_0x3975d7[_0xa3a71d(0xf6)](),_0x4245d6=await this[_0xa3a71d(0x1b2)](_0x5b9b25);this['_entityInit$'][_0xa3a71d(0x373)](_0x4245d6),this['_entities'][_0xa3a71d(0x13e)](_0x5b9b25,_0x4245d6);}),this['_univerInstanceService'][_0x273199(0x21b)](_0x13030d[_0x273199(0x3aa)][_0x273199(0xd4)])['pipe']((0x0,_0x594669['takeUntil'])(this['dispose$']))['pipe']((0x0,_0x594669[_0x273199(0xa7)])(_0x8426e3=>!_0x8426e3[_0x273199(0xf6)]()[_0x273199(0x1c2)]('__')))[_0x273199(0x320)](async _0x3c7857=>{const _0x222f92=_0x273199;let _0x483875=_0x3c7857[_0x222f92(0xf6)](),_0x1a0c6d=await this[_0x222f92(0x2bd)](_0x483875);this[_0x222f92(0x293)][_0x222f92(0x373)](_0x1a0c6d),this[_0x222f92(0x2d2)][_0x222f92(0x13e)](_0x483875,_0x1a0c6d);}),(0x0,_0x594669[_0x273199(0xf7)])(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x13030d[_0x273199(0x3aa)][_0x273199(0xd4)]),this[_0x273199(0x141)][_0x273199(0x116)](_0x13030d[_0x273199(0x3aa)][_0x273199(0x2d8)]))[_0x273199(0x2be)]((0x0,_0x594669[_0x273199(0xc0)])(this['dispose$']))[_0x273199(0x320)](_0xd0fab9=>{const _0x1d9a30=_0x273199;let _0x757bd3=_0xd0fab9[_0x1d9a30(0xf6)](),_0x53b672=this['_entities'][_0x1d9a30(0x283)](_0x757bd3);_0x53b672&&(_0x53b672['dispose'](),this[_0x1d9a30(0x2d2)]['delete'](_0x757bd3));});}async[_0x24b96c(0x1b2)](_0x42a6bc){const _0x4de331=_0x24b96c;let _0x28ba97=await this[_0x4de331(0x18e)][_0x4de331(0x230)](_0x42a6bc),_0x54c252=this[_0x4de331(0x23a)][_0x4de331(0x1d2)](_0x163c94,_0x42a6bc,_0x28ba97);return _0x54c252[_0x4de331(0x387)](),_0x54c252;}async['_startDocCollabCursor'](_0x1e2f82){const _0x34aad9=_0x24b96c;let _0x2671d1=await this[_0x34aad9(0x18e)][_0x34aad9(0x230)](_0x1e2f82),_0x26e14e=this[_0x34aad9(0x23a)][_0x34aad9(0x1d2)](_0x1bd4ab,_0x1e2f82,_0x2671d1);return _0x26e14e['init'](),_0x26e14e;}};_0x56259b=_0x12d4ea([_0x517da2(0x0,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d['Injector'])),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x4a06d2['CollaborationSessionService']))],_0x56259b);function _0x793ed2(_0x3f5196,_0x16f06f){const _0x26c95d=_0x24b96c;var _0x230200,_0x4cfb7d,_0x1cd3ff;let {radius:_0x293f09,width:_0x75a445,height:_0x4ed383}=_0x16f06f;_0x293f09=(_0x230200=_0x293f09)==null?0x0:_0x230200,_0x75a445=(_0x4cfb7d=_0x75a445)==null?0x1e:_0x4cfb7d,_0x4ed383=(_0x1cd3ff=_0x4ed383)==null?0x1e:_0x1cd3ff;let _0x1474e5=0x0,_0x8b72ef=0x0,_0xb513e2=0x0;_0x1474e5=_0x8b72ef=_0xb513e2=Math[_0x26c95d(0x24f)](_0x293f09,_0x75a445/0x2,_0x4ed383/0x2),_0x3f5196[_0x26c95d(0x30d)](),_0x3f5196[_0x26c95d(0x123)](_0x1474e5,0x0),_0x3f5196['lineTo'](_0x75a445-_0x8b72ef,0x0),_0x3f5196['arc'](_0x75a445-_0x8b72ef,_0x8b72ef,_0x8b72ef,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f5196['lineTo'](_0x75a445,_0x4ed383-_0xb513e2),_0x3f5196[_0x26c95d(0x365)](_0x75a445-_0xb513e2,_0x4ed383-_0xb513e2,_0xb513e2,0x0,Math['PI']/0x2,!0x1),_0x3f5196[_0x26c95d(0xfc)](0x0,_0x4ed383),_0x3f5196[_0x26c95d(0xfc)](0x0,_0x1474e5),_0x3f5196[_0x26c95d(0x365)](_0x1474e5,_0x1474e5,_0x1474e5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f5196[_0x26c95d(0x3a0)](),_0x16f06f[_0x26c95d(0xe8)]&&(_0x3f5196[_0x26c95d(0x367)](),_0x3f5196[_0x26c95d(0x185)]=_0x16f06f['fill'],_0x16f06f[_0x26c95d(0x20f)]===_0x26c95d(0x17d)?_0x3f5196[_0x26c95d(0xe8)](_0x26c95d(0x17d)):_0x3f5196['fill'](),_0x3f5196['restore']());}var _0xe27d5c=class _0x412e26 extends _0x5bc07b[_0x24b96c(0x1b1)]{constructor(_0x323ded,_0x210cf1){const _0x52f281=_0x24b96c;super(_0x323ded,_0x210cf1),_0x32f982(this,_0x52f281(0x305),void 0x0),_0x32f982(this,_0x52f281(0x2d7),void 0x0),this['color']=_0x210cf1==null?void 0x0:_0x210cf1[_0x52f281(0x305)],this[_0x52f281(0x2d7)]=_0x210cf1==null?void 0x0:_0x210cf1[_0x52f281(0x2d7)];}static[_0x24b96c(0xea)](_0x208f08,_0x162c3a){const _0x12c7d0=_0x24b96c;let {text:_0x340ecf,color:_0x13353b}=_0x162c3a;_0x208f08[_0x12c7d0(0x367)](),_0x208f08[_0x12c7d0(0x1ca)]=_0x12c7d0(0x219);let _0x2450b2=_0x208f08[_0x12c7d0(0x3a2)](_0x340ecf)[_0x12c7d0(0x2c3)];if(_0x793ed2(_0x208f08,{'height':0x14,'radius':0x4,'width':Math[_0x12c7d0(0x24f)](_0x2450b2+0x8,0xc8),'fill':_0x13353b,'evented':!0x1}),_0x208f08[_0x12c7d0(0x185)]=_0x12c7d0(0x287),_0x2450b2>0xc0){let _0x5598a5='',_0x158db1=0x0;for(let _0x30a342 of _0x340ecf){let _0x31c80f=_0x208f08['measureText'](_0x30a342)[_0x12c7d0(0x2c3)];if(_0x158db1+_0x31c80f<=0xc0-_0x208f08[_0x12c7d0(0x3a2)](_0x12c7d0(0x36c))[_0x12c7d0(0x2c3)])_0x5598a5+=_0x30a342,_0x158db1+=_0x31c80f;else{_0x5598a5+=_0x12c7d0(0x36c);break;}}_0x208f08[_0x12c7d0(0xd2)](_0x5598a5,0x4,0xf);}else _0x208f08[_0x12c7d0(0xd2)](_0x340ecf,0x4,0xf);_0x208f08['restore']();}[_0x24b96c(0x38a)](_0x2cb9d2){const _0x16e5ed=_0x24b96c;_0x412e26[_0x16e5ed(0xea)](_0x2cb9d2,this);}};let _0x5684fa=_0x24b96c(0x1be);var _0xc683db=class{constructor(_0x43df1c,_0x37056c,_0x373648,_0x167221){const _0x50e1ac=_0x24b96c;this['_cursor']=_0x43df1c,this['_scene']=_0x37056c,this['_docSkeleton']=_0x373648,this[_0x50e1ac(0x20b)]=_0x167221,_0x32f982(this,'_shapes',[]),_0x32f982(this,_0x50e1ac(0x15c),null),_0x32f982(this,_0x50e1ac(0x277),null),_0x32f982(this,'_anchorDot',null),_0x32f982(this,_0x50e1ac(0x191),null),_0x32f982(this,_0x50e1ac(0x108),null),this['_render']();}set[_0x24b96c(0xca)](_0x57a7f4){const _0x17ceaf=_0x24b96c;_0x57a7f4?(this['_anchorDot']&&this[_0x17ceaf(0x284)][_0x17ceaf(0x165)](),this[_0x17ceaf(0x277)]&&this['_textBubble'][_0x17ceaf(0x2d9)]()):(this['_anchorDot']&&this['_anchorDot'][_0x17ceaf(0x2d9)](),this['_textBubble']&&this[_0x17ceaf(0x277)][_0x17ceaf(0x165)]());}[_0x24b96c(0x29f)](){const _0x48f859=_0x24b96c;for(let _0x27b45e of this[_0x48f859(0x1dd)])_0x27b45e['dispose']();this['_textBubble']&&this['_textBubble'][_0x48f859(0x29f)](),this[_0x48f859(0x284)]&&this[_0x48f859(0x284)][_0x48f859(0x29f)](),this['_anchor']&&this[_0x48f859(0x15c)][_0x48f859(0x29f)](),this[_0x48f859(0x108)]&&this[_0x48f859(0x108)]();}[_0x24b96c(0x119)](){const _0x182de1=_0x24b96c;let {_docSkeleton:_0x212e79,_document:_0x4e64b4}=this,{color:_0x3e5af4,name:_0x11709b,ranges:_0x20e4f6}=this[_0x182de1(0xc3)],_0x51fd28=_0x4e64b4[_0x182de1(0x22b)](),{docsLeft:_0x533e37,docsTop:_0x1037b8}=_0x51fd28,_0x172826=new _0x57a234[(_0x182de1(0x183))](_0x51fd28,_0x212e79);for(let {startOffset:_0xd67627,endOffset:_0xa123b4,rangeType:_0x4120ca,segmentId:_0x518a10,segmentPage:_0x40edbd,collapsed:_0x4a6b7a,isActive:_0x50463d}of _0x20e4f6){let _0x57f4d3=_0x212e79[_0x182de1(0x16b)](_0xd67627,!0x0,_0x518a10,_0x40edbd),_0x379ace=_0x212e79[_0x182de1(0x16b)](_0xa123b4,!0x0,_0x518a10,_0x40edbd);if(_0x379ace==null&&(_0x379ace=_0x212e79[_0x182de1(0x16b)](_0xa123b4-0x1,!0x1,_0x518a10,_0x40edbd)),_0x50463d){let {contentBoxPointGroup:_0x33b7ee}=_0x172826[_0x182de1(0x3b5)](_0x379ace,_0x379ace);if(_0x33b7ee[_0x182de1(0x36e)]===0x0)continue;this['_drawAnchor'](_0x3e5af4,_0x33b7ee,_0x533e37,_0x1037b8,_0x11709b),this[_0x182de1(0x108)]=this[_0x182de1(0x1f8)]();}if(_0x57f4d3&&_0x379ace){if(_0x4120ca===_0x13030d['DOC_RANGE_TYPE'][_0x182de1(0x2ee)]){var _0x289866;let {pointGroup:_0x6341ef}=(_0x289866=new _0x57a234[(_0x182de1(0x265))](_0x51fd28,_0x212e79)['getRangePointData'](_0x57f4d3,_0x379ace))==null?{}:_0x289866;if(_0x6341ef==null||_0x6341ef[_0x182de1(0x36e)]===0x0)continue;this['_drawRectRange'](_0x3e5af4,_0x6341ef,_0x533e37,_0x1037b8);}else{if(!_0x4a6b7a){let {borderBoxPointGroup:_0x1c54a1}=_0x172826['getRangePointData'](_0x57f4d3,_0x379ace);if(_0x1c54a1[_0x182de1(0x36e)]===0x0)continue;this[_0x182de1(0x374)](_0x3e5af4,_0x1c54a1,_0x533e37,_0x1037b8);}}}}}[_0x24b96c(0x281)](_0x57421e,_0x1529cc,_0x303bb1,_0x3851ba,_0x57a535){const _0x1182ba=_0x24b96c;let {left:_0x159fe8,top:_0xde2ebc,height:_0x35a74b}=this[_0x1182ba(0x180)](_0x1529cc),_0x7446ce=1.5/this[_0x1182ba(0x214)](),_0x1754ad=new _0x5bc07b[(_0x1182ba(0x35b))](_0x5684fa+(0x0,_0x13030d[_0x1182ba(0x280)])(0x6),{'left':_0x159fe8+_0x303bb1-_0x7446ce,'top':_0xde2ebc+_0x3851ba,'height':_0x35a74b,'width':1.5,'fill':_0x57421e||(0x0,_0x5bc07b[_0x1182ba(0x27a)])(_0x13030d['COLORS'][_0x1182ba(0x2b1)],0x0),'strokeWidth':_0x7446ce,'stroke':_0x1182ba(0x1f3),'evented':!0x0});this[_0x1182ba(0x15c)]=_0x1754ad,this[_0x1182ba(0x1df)]['addObject'](_0x1754ad,_0x57a234[_0x1182ba(0x1b4)]);let _0x39a228=new _0x5bc07b[(_0x1182ba(0x35b))](_0x5684fa+(0x0,_0x13030d[_0x1182ba(0x280)])(0x6),{'left':_0x159fe8+_0x303bb1-_0x7446ce,'top':_0xde2ebc+_0x3851ba-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x57421e||(0x0,_0x5bc07b[_0x1182ba(0x27a)])(_0x13030d[_0x1182ba(0xf4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x57421e||(0x0,_0x5bc07b[_0x1182ba(0x27a)])(_0x13030d['COLORS']['black'],0x0),'evented':!0x1});this[_0x1182ba(0x284)]=_0x39a228,this[_0x1182ba(0x1df)][_0x1182ba(0x21d)](_0x39a228,_0x57a234[_0x1182ba(0x1b4)]);let _0x155960=new _0xe27d5c(_0x5684fa+(0x0,_0x13030d['generateRandomId'])(0x6),{'left':_0x159fe8+_0x303bb1-_0x7446ce,'top':_0xde2ebc+_0x3851ba-0x14,'text':_0x57a535,'color':_0x57421e});this[_0x1182ba(0x277)]=_0x155960,this[_0x1182ba(0x1df)][_0x1182ba(0x21d)](_0x155960,_0x57a234['TEXT_RANGE_LAYER_INDEX']),this[_0x1182ba(0xca)]=!0x1;}[_0x24b96c(0x1f8)](){const _0x161855=_0x24b96c;let _0x2ecf70=this[_0x161855(0x15c)]['onPointerEnter$'][_0x161855(0x18a)](()=>{this['_hover']=!0x0;}),_0x1e7054=this['_anchor'][_0x161855(0x19e)][_0x161855(0x18a)](()=>{const _0xf18dab=_0x161855;this[_0xf18dab(0x191)]&&clearTimeout(this[_0xf18dab(0x191)]),this[_0xf18dab(0x191)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x52e128=_0x161855;_0x2ecf70[_0x52e128(0x38b)](),_0x1e7054[_0x52e128(0x38b)]();};}['_drawTextRange'](_0x21d758,_0x1ac994,_0x444247,_0xc42759){const _0x28b3a4=_0x24b96c;let _0x8d66ba=0.2,_0x36b891=new _0x13030d[(_0x28b3a4(0x39e))](_0x21d758)[_0x28b3a4(0x1cd)](_0x8d66ba)[_0x28b3a4(0x278)](),_0x5915db=new _0x5bc07b[(_0x28b3a4(0x17f))]('collab-text-range-'+(0x0,_0x13030d[_0x28b3a4(0x280)])(0x6),{'pointsGroup':_0x1ac994,'fill':_0x36b891||(0x0,_0x5bc07b[_0x28b3a4(0x27a)])(_0x13030d[_0x28b3a4(0xf4)]['black'],_0x8d66ba),'left':_0x444247,'top':_0xc42759,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28b3a4(0x1dd)]['push'](_0x5915db),this[_0x28b3a4(0x1df)][_0x28b3a4(0x21d)](_0x5915db,_0x57a234[_0x28b3a4(0x1b4)]);}[_0x24b96c(0x259)](_0x2d5434,_0x968345,_0x44895a,_0x2848ab){const _0x58531a=_0x24b96c;let _0x469557=0.2,_0x539cf0=new _0x13030d[(_0x58531a(0x39e))](_0x2d5434)[_0x58531a(0x1cd)](_0x469557)[_0x58531a(0x278)](),_0x516a61=new _0x5bc07b['RegularPolygon'](_0x58531a(0x2e9)+(0x0,_0x13030d[_0x58531a(0x280)])(0x6),{'pointsGroup':_0x968345,'fill':_0x539cf0||(0x0,_0x5bc07b[_0x58531a(0x27a)])(_0x13030d[_0x58531a(0xf4)]['black'],_0x469557),'left':_0x44895a,'top':_0x2848ab,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x58531a(0x1dd)][_0x58531a(0x264)](_0x516a61),this['_scene']['addObject'](_0x516a61,_0x57a234[_0x58531a(0x1b4)]);}[_0x24b96c(0x180)](_0x2da992){let _0x123e9d=_0x2da992[0x0],_0x74933c=_0x123e9d[0x0],_0x5d140f=_0x123e9d[0x2],{x:_0x588b8e,y:_0x4b742e}=_0x74933c,{x:_0x5e19f1,y:_0x664676}=_0x5d140f;return{'left':_0x588b8e,'top':_0x4b742e,'width':_0x5e19f1-_0x588b8e,'height':_0x664676-_0x4b742e};}[_0x24b96c(0x214)](){const _0x272d6a=_0x24b96c;let {scaleX:_0x4d141f,scaleY:_0x48ef67}=this[_0x272d6a(0x1df)][_0x272d6a(0x25f)]();return Math[_0x272d6a(0x269)](_0x4d141f,_0x48ef67);}};let _0x3ea851=class extends _0x13030d['RxDisposable']{constructor(_0x1f9bd4,_0x42a524,_0x346e23,_0x1eec5b,_0x118e16){const _0x22018e=_0x24b96c;super(),this[_0x22018e(0xbe)]=_0x1f9bd4,this[_0x22018e(0x39c)]=_0x42a524,this[_0x22018e(0x309)]=_0x346e23,this['_commandService']=_0x1eec5b,this['_themeService']=_0x118e16,_0x32f982(this,'_cursorShapes',[]),_0x32f982(this,'_cursors',[]),this[_0x22018e(0xb7)]();}[_0x24b96c(0xb7)](){const _0x23e10f=_0x24b96c;let _0x4bd5d2=this[_0x23e10f(0xbe)]['unitId'],_0xdaf29b=this[_0x23e10f(0x39c)];this[_0x23e10f(0x220)]((0x0,_0x594669[_0x23e10f(0x1ed)])([this[_0x23e10f(0x309)][_0x23e10f(0xc7)](_0x4bd5d2),this[_0x23e10f(0x2fa)][_0x23e10f(0x1cb)]])[_0x23e10f(0x2be)]((0x0,_0x2525b7[_0x23e10f(0x288)])(([_0x20acc9,_0x46d3d4])=>({'skeleton':_0xdaf29b[_0x23e10f(0x294)](),'cursors':[..._0x20acc9['values']()][_0x23e10f(0xc8)](_0x4d13ab=>({..._0x4d13ab,'color':this[_0x23e10f(0x2fa)][_0x23e10f(0x3b3)](_0x4d13ab[_0x23e10f(0x305)])}))})))[_0x23e10f(0x320)](_0x57960b=>{const _0x2f0313=_0x23e10f;if(this[_0x2f0313(0x192)](),_0x57960b){let {skeleton:_0x526442,cursors:_0x465ccb}=_0x57960b;this['_updateCollabCursors'](_0x526442,_0x465ccb);}})),this['_initResize'](),this[_0x23e10f(0x239)]();}[_0x24b96c(0x2f4)](_0x14a6e7,_0x463a47){const _0xe7599=_0x24b96c;let {scene:_0x3c43a6,mainComponent:_0x59124e}=this['_context'];this['_cursorShapes']=_0x463a47[_0xe7599(0x288)](_0x27e8b0=>new _0xc683db(_0x27e8b0,_0x3c43a6,_0x14a6e7,_0x59124e)),this[_0xe7599(0x212)]=_0x463a47;}[_0x24b96c(0x28d)](){const _0x26e030=_0x24b96c;this[_0x26e030(0x192)]();let {scene:_0x287c7c,mainComponent:_0x45dafb}=this[_0x26e030(0xbe)],_0x1935f9=this[_0x26e030(0x39c)][_0x26e030(0x294)]();this['_cursorShapes']=this['_cursors']['map'](_0x2b8e4d=>new _0xc683db(_0x2b8e4d,_0x287c7c,_0x1935f9,_0x45dafb));}[_0x24b96c(0x192)](){const _0x519a5c=_0x24b96c;this[_0x519a5c(0x3a3)]['forEach'](_0x14a70b=>_0x14a70b[_0x519a5c(0x29f)]()),this[_0x519a5c(0x3a3)]=[];}[_0x24b96c(0x239)](){const _0x4dad64=_0x24b96c;let _0x56e7e0=[_0x57a234[_0x4dad64(0x37d)]['id']];this['disposeWithMe'](this[_0x4dad64(0xa0)][_0x4dad64(0xd3)](_0x74892b=>{const _0x5ac7df=_0x4dad64;_0x56e7e0[_0x5ac7df(0x398)](_0x74892b['id'])&&_0x74892b[_0x5ac7df(0x22a)][_0x5ac7df(0x1bf)]===this[_0x5ac7df(0xbe)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x24b96c(0xc5)](){const _0x469832=_0x24b96c;this[_0x469832(0x220)]((0x0,_0x13030d['fromEventSubject'])(this['_context'][_0x469832(0x1a2)][_0x469832(0x2af)])[_0x469832(0x2be)]((0x0,_0x2525b7[_0x469832(0xa7)])(_0x3739b5=>_0x3739b5[_0x469832(0x35c)]===_0x5bc07b['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),(0x0,_0x2525b7[_0x469832(0x121)])(0x10))[_0x469832(0x320)](()=>{const _0x2b5784=_0x469832;this[_0x2b5784(0x28d)]();}));}};_0x3ea851=_0x12d4ea([_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x1aedbb[_0x24b96c(0x306)])),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x56259b)),_0x517da2(0x3,_0x13030d[_0x24b96c(0x2bb)]),_0x517da2(0x4,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0xa8)]))],_0x3ea851);var _0x270909=class extends _0x5bc07b[_0x24b96c(0x1b1)]{constructor(_0x5b06fc,_0xfbb975){const _0x5e9ce5=_0x24b96c;if(super(_0x5b06fc,_0xfbb975),_0x32f982(this,_0x5e9ce5(0x23e),void 0x0),_0x32f982(this,_0x5e9ce5(0x2ab),!0x1),_0x32f982(this,'_range',void 0x0),_0x32f982(this,_0x5e9ce5(0x315),''),_0x32f982(this,'_labelPosition','top'),_0x32f982(this,_0x5e9ce5(0x17a),void 0x0),_0x32f982(this,_0x5e9ce5(0x2a6),void 0x0),_0x32f982(this,_0x5e9ce5(0x23c),void 0x0),_0x32f982(this,_0x5e9ce5(0x1de),0x4),_0x32f982(this,'_blinkTimer',void 0x0),_0x32f982(this,_0x5e9ce5(0x169),void 0x0),_0x32f982(this,_0x5e9ce5(0x376),!0x0),_0x32f982(this,_0x5e9ce5(0x3a5),0x0),_0xfbb975){var _0x44a4a0;if(this[_0x5e9ce5(0x333)](_0xfbb975),_0xfbb975[_0x5e9ce5(0x34c)]&&((_0x44a4a0=_0xfbb975['highlightSecond'])==null?this['_highlightSecond']:_0x44a4a0)){var _0x3a473a;this['_startBlinking']((_0x3a473a=_0xfbb975[_0x5e9ce5(0x221)])==null?this[_0x5e9ce5(0x1de)]:_0x3a473a);}}this[_0x5e9ce5(0x289)][_0x5e9ce5(0x18a)](()=>this[_0x5e9ce5(0x333)]({'hovered':!0x0})),this[_0x5e9ce5(0x19e)]['subscribeEvent'](()=>this[_0x5e9ce5(0x333)]({'hovered':!0x1}));}[_0x24b96c(0x3ae)](_0x1ff0e4){const _0xfdaf3d=_0x24b96c;this[_0xfdaf3d(0x3a5)]=_0x1ff0e4;}[_0x24b96c(0x333)](_0x543c0e){const _0x59a0ba=_0x24b96c;var _0x267ae8,_0x55ebec,_0x14277a,_0xa371c7,_0x170e04,_0x55fde8,_0x3aa6c7;this[_0x59a0ba(0x23e)]=(_0x267ae8=_0x543c0e[_0x59a0ba(0x305)])==null?this[_0x59a0ba(0x23e)]:_0x267ae8,this[_0x59a0ba(0x2ab)]=(_0x55ebec=_0x543c0e[_0x59a0ba(0x224)])==null?this[_0x59a0ba(0x2ab)]:_0x55ebec,this[_0x59a0ba(0x15f)]=(_0x14277a=_0x543c0e[_0x59a0ba(0x1a7)])==null?this['_range']:_0x14277a,this['_name']=(_0xa371c7=_0x543c0e[_0x59a0ba(0x1c4)])==null?this[_0x59a0ba(0x315)]:_0xa371c7,this[_0x59a0ba(0x318)]=(_0x170e04=_0x543c0e[_0x59a0ba(0x363)])==null?this[_0x59a0ba(0x318)]:_0x170e04,this['_backgroundColor']=(_0x55fde8=_0x543c0e[_0x59a0ba(0x266)])==null?this[_0x59a0ba(0x17a)]:_0x55fde8,this[_0x59a0ba(0x2a6)]=(_0x3aa6c7=_0x543c0e[_0x59a0ba(0x184)])==null?this['_showText']:_0x3aa6c7,_0x543c0e['highlightSecond']!==void 0x0&&(this['_highlightSecond']=_0x543c0e[_0x59a0ba(0x221)]),_0x543c0e['highlight']!==void 0x0&&(this['_highlight']=_0x543c0e[_0x59a0ba(0x34c)]),_0x543c0e[_0x59a0ba(0x20d)]!==void 0x0&&(this[_0x59a0ba(0x3a5)]=_0x543c0e[_0x59a0ba(0x20d)]),this[_0x59a0ba(0xf8)]({'width':_0x543c0e[_0x59a0ba(0x2c3)],'height':_0x543c0e[_0x59a0ba(0x168)]});}[_0x24b96c(0x25b)](_0x5ccec9){const _0x464c06=_0x24b96c;let {row:_0x255843,column:_0x5c781a}=_0x5ccec9;if(_0x255843>=this['_range']['startRow']&&_0x255843<=this['_range'][_0x464c06(0x225)]&&_0x5c781a>=this[_0x464c06(0x15f)]['startColumn']&&_0x5c781a<=this['_range'][_0x464c06(0xae)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['_startBlinking'](_0x15a8e3){const _0x314826=_0x24b96c;this[_0x314826(0x1aa)](),this['_isBlinkVisible']=!0x0,this[_0x314826(0x169)]=window[_0x314826(0xd8)](()=>{const _0x3e5f56=_0x314826;this[_0x3e5f56(0x376)]=!this['_isBlinkVisible'],this[_0x3e5f56(0x1d3)](!0x0);},0x1f4),this[_0x314826(0x1ad)]=window[_0x314826(0x189)](()=>{const _0x3d5209=_0x314826;this[_0x3d5209(0x1aa)](),this['_isBlinkVisible']=!0x0,this[_0x3d5209(0x1d3)](!0x0);},_0x15a8e3*0x3e8);}['_stopBlinking'](){const _0x43e6c1=_0x24b96c;this['_blinkIntervalTimer']&&(window['clearInterval'](this[_0x43e6c1(0x169)]),this[_0x43e6c1(0x169)]=void 0x0),this['_blinkTimer']&&(window[_0x43e6c1(0x395)](this[_0x43e6c1(0x1ad)]),this['_blinkTimer']=void 0x0);}[_0x24b96c(0x14d)](_0xe55b9d){return!0x1;}[_0x24b96c(0x29f)](){this['_stopBlinking'](),super['dispose']();}['_draw'](_0x5adf8f){const _0xd32a7d=_0x24b96c;var _0x36821e;let _0x27660a=this[_0xd32a7d(0x23e)],_0x44d470=this[_0xd32a7d(0x17a)];if(this[_0xd32a7d(0x23c)]&&!this[_0xd32a7d(0x376)]&&(_0x27660a=this['_getLighterColor'](this['_color']),_0x44d470=this[_0xd32a7d(0x17a)]?this[_0xd32a7d(0x24e)](this['_backgroundColor']):void 0x0),_0x5bc07b['Rect'][_0xd32a7d(0xea)](_0x5adf8f,{'width':this[_0xd32a7d(0x2c3)],'height':this['height'],'strokeWidth':(_0x36821e=this['strokeWidth'])==null?1.5:_0x36821e,'stroke':_0x27660a,'evented':!0x1,'fill':_0x44d470}),this['_hovered']||this['_showText']){var _0x231307;_0x5adf8f[_0xd32a7d(0x367)](),_0x5adf8f['transform'](0x1,0x0,0x0,0x1,this[_0xd32a7d(0x2c3)],(this['_labelPosition']===_0xd32a7d(0x355)?0x0:-0x14)+((_0x231307=this['_offsetY'])==null?0x0:_0x231307)),_0xe27d5c[_0xd32a7d(0xea)](_0x5adf8f,{'text':this['_name'],'color':_0x27660a}),_0x5adf8f[_0xd32a7d(0x1c3)]();}}[_0x24b96c(0x24e)](_0x498446){const _0xf4ec5a=_0x24b96c;return _0x498446[_0xf4ec5a(0x1c2)]('#')?'rgba('+Number[_0xf4ec5a(0x34f)](_0x498446[_0xf4ec5a(0x167)](0x1,0x3),0x10)+',\x20'+Number[_0xf4ec5a(0x34f)](_0x498446['slice'](0x3,0x5),0x10)+',\x20'+Number[_0xf4ec5a(0x34f)](_0x498446[_0xf4ec5a(0x167)](0x5,0x7),0x10)+_0xf4ec5a(0x2d5):_0x498446[_0xf4ec5a(0x1c2)]('rgba')?_0x498446[_0xf4ec5a(0x29e)](/[\d.]+\)$/g,_0xf4ec5a(0xa5)):_0x498446[_0xf4ec5a(0x1c2)](_0xf4ec5a(0x347))?_0x498446['replace'](_0xf4ec5a(0x347),'rgba')[_0xf4ec5a(0x29e)](')',_0xf4ec5a(0x2d5)):_0x498446;}};let _0x52222b=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(_0x593da9,_0x1f4b63,_0x3530ec,_0x28d813){const _0x5c9af3=_0x24b96c;super(),this[_0x5c9af3(0xbe)]=_0x593da9,this['_sheetSkeletonManagerService']=_0x1f4b63,this[_0x5c9af3(0x309)]=_0x3530ec,this[_0x5c9af3(0x2fa)]=_0x28d813,_0x32f982(this,'_cursors',new Set()),_0x32f982(this,'_lastPointer',null),this[_0x5c9af3(0xb7)]();}['_init'](){const _0x28aa95=_0x24b96c;this[_0x28aa95(0x310)][_0x28aa95(0x2ac)][_0x28aa95(0x2be)]((0x0,_0x2525b7[_0x28aa95(0xc0)])(this[_0x28aa95(0x159)]),(0x0,_0x2525b7[_0x28aa95(0x34b)])(_0x1ba561=>{const _0x367e5a=_0x28aa95;if(_0x1ba561){let _0x4206fe=_0x1ba561['sheetId'];return(0x0,_0x594669[_0x367e5a(0x1ed)])(this['_collabCursorController'][_0x367e5a(0xc7)](this['_context'][_0x367e5a(0x1bf)]),this[_0x367e5a(0x2fa)][_0x367e5a(0x1cb)])[_0x367e5a(0x2be)]((0x0,_0x2525b7[_0x367e5a(0x288)])(([_0x14294d,_0x2e44fd])=>{let _0x500595=new Map();return _0x14294d['forEach']((_0x3bd638,_0x389192)=>{const _0x1bf4ec=_0x84a9;if(_0x3bd638[_0x1bf4ec(0x105)]===_0x4206fe){let _0x3d7fd8={..._0x3bd638};_0x3d7fd8['color']=this[_0x1bf4ec(0x2fa)][_0x1bf4ec(0x3b3)](_0x3bd638['color']),_0x500595[_0x1bf4ec(0x13e)](_0x389192,_0x3d7fd8);}}),{'skeleton':_0x1ba561,'cursors':_0x500595};}));}return(0x0,_0x594669['of'])({'skeleton':null,'cursors':new Map()});}))[_0x28aa95(0x320)](({skeleton:_0x3ffc43,cursors:_0x12c696})=>{this['_removeCollabCursors'](),_0x3ffc43&&this['_updateCollabCursors'](_0x3ffc43,_0x12c696);}),this[_0x28aa95(0x310)]['currentSkeleton$'][_0x28aa95(0x320)](_0x23ee5b=>{const _0x50843a=_0x28aa95;if(_0x23ee5b==null)return;let {skeleton:_0x4cbff2}=_0x23ee5b,{scene:_0xa68e57}=this[_0x50843a(0xbe)];_0xa68e57[_0x50843a(0x2f5)][_0x50843a(0x18a)]((0x0,_0x13030d[_0x50843a(0x2b0)])(_0xe11da0=>{const _0x54bcbd=_0x50843a;var _0x2804bc,_0x306499;let {offsetX:_0x408125,offsetY:_0x5c06be}=_0xe11da0,{x:_0x48f2d3,y:_0x90db85}=_0xa68e57[_0x54bcbd(0x35a)](_0x5bc07b[_0x54bcbd(0x297)][_0x54bcbd(0x102)]([_0x408125,_0x5c06be])),{scaleX:_0x554ab7,scaleY:_0x474293}=_0xa68e57[_0x54bcbd(0x25f)](),_0x51f95f=_0xa68e57['getViewport'](_0x5bc07b['SHEET_VIEWPORT_KEY'][_0x54bcbd(0x19a)]),_0x1ecdbf=_0xa68e57[_0x54bcbd(0xa1)](_0x5bc07b[_0x54bcbd(0x297)][_0x54bcbd(0x102)]([_0x48f2d3,_0x90db85]),_0x51f95f),_0x17c90f=_0x4cbff2[_0x54bcbd(0x2e3)](_0x408125,_0x5c06be,_0x554ab7,_0x474293,_0x1ecdbf);((_0x2804bc=this[_0x54bcbd(0x115)])==null?void 0x0:_0x2804bc['column'])===_0x17c90f[_0x54bcbd(0x196)]&&((_0x306499=this[_0x54bcbd(0x115)])==null?void 0x0:_0x306499['row'])===_0x17c90f[_0x54bcbd(0x314)]||this[_0x54bcbd(0x212)][_0x54bcbd(0x172)](_0xa1f5f1=>{const _0x53e821=_0x54bcbd;_0xa1f5f1[_0x53e821(0x25b)](_0x17c90f);});},0x64));});}['_updateCollabCursors'](_0x45735d,_0x820b6){const _0x289aff=_0x24b96c;let _0x2cb338=this['_sheetSkeletonManagerService'][_0x289aff(0x2fe)]();if(!_0x2cb338)return;let _0x468d9f=this[_0x289aff(0x182)]();if(!_0x468d9f)return;this['_cursors'][_0x289aff(0x172)](_0x125a77=>{const _0x5c85be=_0x289aff;_0x125a77[_0x5c85be(0x1d3)]();});let {scene:_0x3a484b}=_0x468d9f,_0x3bb83e=_0x1def5d(Array['from'](_0x820b6[_0x289aff(0x319)]()))[_0x289aff(0x288)](_0x4e3438=>{const _0x1351e6=_0x289aff;let {color:_0x12342a,range:_0x157eb1,name:_0x6c74a0,selection:_0x287b01,sheetID:_0x357aab}=_0x4e3438,{startColumn:_0x24b824,startRow:_0x50f310,endColumn:_0x29eb56,endRow:_0x2e1216}=_0x157eb1,_0x376237=(0x0,_0x3c23de[_0x1351e6(0x2f0)])(_0x50f310,_0x24b824,_0x3a484b,_0x2cb338),_0x581e3a=(0x0,_0x3c23de[_0x1351e6(0x2f0)])(_0x2e1216,_0x29eb56,_0x3a484b,_0x2cb338),{columnHeaderHeightAndMarginTop:_0x4f99b0}=_0x2cb338,{startX:_0x4af1be,startY:_0x320ed}=_0x376237,{endX:_0x1abf81,endY:_0x1e6631}=_0x581e3a,_0x201f0b=_0x1abf81-_0x4af1be,_0x436d52=_0x1e6631-_0x320ed;return new _0x270909(_0x6c74a0,{'labelPosition':_0x320ed-_0x4f99b0>=0x14?_0x1351e6(0x15b):_0x1351e6(0x355),'sheetID':_0x357aab,'range':_0x157eb1,'color':_0x12342a,'name':_0x6c74a0,'selection':_0x287b01,'left':_0x4af1be,'top':_0x320ed,'width':_0x201f0b,'height':_0x436d52,'evented':!0x1,'zIndex':0x1389});});_0x3a484b[_0x289aff(0x1e7)](_0x3bb83e,0x1),this[_0x289aff(0x212)]=new Set(_0x3bb83e);}[_0x24b96c(0x192)](){const _0x4f3872=_0x24b96c;var _0x4cf383;(_0x4cf383=this[_0x4f3872(0x212)])==null||_0x4cf383[_0x4f3872(0x172)](_0x47e518=>_0x47e518['dispose']());}[_0x24b96c(0x182)](){const _0x45cc6d=_0x24b96c;return(0x0,_0x3c23de[_0x45cc6d(0x2d1)])(this[_0x45cc6d(0xbe)][_0x45cc6d(0xac)],this['_context']);}};_0x52222b=_0x12d4ea([_0x517da2(0x1,(0x0,_0x13030d['Inject'])(_0x3c23de['SheetSkeletonManagerService'])),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x56259b)),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0xa8)]))],_0x52222b);function _0x1def5d(_0x2e8b46){const _0x22795e=_0x24b96c;let _0x20fc00=new Map();return _0x2e8b46[_0x22795e(0x172)](_0x190fd3=>{const _0x5058c3=_0x22795e;if(_0x20fc00[_0x5058c3(0x361)](_0x190fd3['selection'])){let _0x5bce19=_0x20fc00[_0x5058c3(0x283)](_0x190fd3[_0x5058c3(0x231)]);_0x5bce19[_0x5058c3(0x1c4)]+=',\x20'+_0x190fd3['name'];}else _0x20fc00[_0x5058c3(0x13e)](_0x190fd3[_0x5058c3(0x231)],_0x190fd3);}),Array[_0x22795e(0x270)](_0x20fc00[_0x22795e(0x319)]());}let _0x1f50c9=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0xcc496a,_0x161b08,_0x7c115b,_0x14b19a,_0x503701,_0x415442){const _0x2fa3cf=_0x24b96c;super(),this[_0x2fa3cf(0xd9)]=_0xcc496a,this[_0x2fa3cf(0xdd)]=_0x161b08,this['_collaborationUIEventService']=_0x7c115b,this[_0x2fa3cf(0x101)]=_0x14b19a,this[_0x2fa3cf(0x24a)]=_0x503701,this[_0x2fa3cf(0x1ac)]=_0x415442,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x24b96c(0x271)](){const _0x1609e6=_0x24b96c;this[_0x1609e6(0x220)](this[_0x1609e6(0xd9)][_0x1609e6(0x33c)](()=>{const _0x3921a7=_0x1609e6;if(this['_localCacheService'][_0x3921a7(0x32b)][_0x3921a7(0x379)])return this[_0x3921a7(0x1ac)]['t'](_0x3921a7(0x104));}));}['_initEvent'](){const _0x58ffb8=_0x24b96c;this[_0x58ffb8(0x220)](this[_0x58ffb8(0x389)][_0x58ffb8(0x1a3)][_0x58ffb8(0x320)](_0x383422=>{const _0x5a2ded=_0x58ffb8;_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0x1bd)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)][_0x5a2ded(0x391)],'content':this[_0x5a2ded(0x1ac)]['t'](_0x5a2ded(0x2b4))}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0x394)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2['MessageType'][_0x5a2ded(0x391)],'content':this[_0x5a2ded(0x1ac)]['t'](_0x5a2ded(0x26e))}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)]['PERMISSION_DENIED']&&this[_0x5a2ded(0x24a)][_0x5a2ded(0x2d9)]({'title':this[_0x5a2ded(0x1ac)]['t']('permission.title'),'content':this['_localeService']['t'](_0x5a2ded(0x14e)),'type':_0x5a2ded(0xaf),'duration':0x0}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0xee)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)][_0x5a2ded(0xf1)],'content':this['_localeService']['t'](_0x5a2ded(0x26e))+'('+_0x383422[_0x5a2ded(0x366)]+')'}),_0x383422['id']===_0x4a06d2['CollaborationUIEventId'][_0x5a2ded(0x15a)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)][_0x5a2ded(0x391)],'content':this[_0x5a2ded(0x1ac)]['t'](_0x383422[_0x5a2ded(0x366)]||'')}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0x37e)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2['MessageType'][_0x5a2ded(0x391)],'content':this['_localeService']['t']('session.will-retry')}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)][_0x5a2ded(0x1d7)]&&this[_0x5a2ded(0x101)][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)][_0x5a2ded(0xf1)],'content':this[_0x5a2ded(0x1ac)]['t']('session.connection-failed')}),_0x383422['id']===_0x4a06d2[_0x5a2ded(0x1bc)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x5a2ded(0x2d9)]({'type':_0x3df4e2[_0x5a2ded(0x13b)]['Error'],'content':this[_0x5a2ded(0x1ac)]['t'](_0x5a2ded(0x241))});}));}};_0x1f50c9=_0x12d4ea([_0x517da2(0x0,_0x429bdf[_0x24b96c(0x2c4)]),_0x517da2(0x1,_0x4a06d2[_0x24b96c(0x31c)]),_0x517da2(0x2,(0x0,_0x13030d['Inject'])(_0x4a06d2[_0x24b96c(0x335)])),_0x517da2(0x3,_0x429bdf['IMessageService']),_0x517da2(0x4,_0x429bdf['INotificationService']),_0x517da2(0x5,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x381)]))],_0x1f50c9);let _0x4f4f93=_0x24b96c(0xe0);Symbol(_0x4f4f93);let _0x475def={},_0x5176c7=class{constructor(_0x18d598,_0x2640a8){const _0x4ec4b3=_0x24b96c;this[_0x4ec4b3(0x22d)]=_0x18d598,this[_0x4ec4b3(0x136)]=_0x2640a8;}['transformIMECache'](_0x5af586){const _0x1a6e9a=_0x24b96c;this['_transformUndoRedoStack'](_0x5af586),this[_0x1a6e9a(0x150)](_0x5af586);}[_0x24b96c(0x210)](_0x1a2cff){const _0x244b85=_0x24b96c;let {unitID:_0x5e6639}=_0x1a2cff,{redoCache:_0x3e0721}=this['_renderManagerService'][_0x244b85(0x12b)](_0x5e6639)[_0x244b85(0x237)](_0x57a234[_0x244b85(0x129)])[_0x244b85(0x143)]();if(_0x3e0721[_0x244b85(0x36e)]===0x0)return _0x1a2cff;let _0x409ddb=_0x13030d['Tools']['deepClone'](_0x1a2cff[_0x244b85(0x384)][0x0]);for(let _0x28ed40=0x0;_0x28ed40<_0x3e0721[_0x244b85(0x36e)];_0x28ed40++){let _0x5e023a={'id':_0x244b85(0x1ae),'params':{..._0x3e0721[_0x28ed40]}},_0xdc3638=this[_0x244b85(0x22d)]['transformMutation'](_0x409ddb,_0x5e023a,!0x1);if((0x0,_0x486545['isTransformMutationFailure'])(_0xdc3638))throw _0xdc3638['error'];_0x409ddb=_0xdc3638[_0x244b85(0x272)];}return{..._0x13030d[_0x244b85(0x142)]['deepClone'](_0x1a2cff),'mutations':[_0x409ddb]};}[_0x24b96c(0xcb)](_0x14d195){const _0x18fd46=_0x24b96c;let {unitID:_0x276044}=_0x14d195,_0x3c73ea=this[_0x18fd46(0x136)][_0x18fd46(0x12b)](_0x276044)[_0x18fd46(0x237)](_0x57a234[_0x18fd46(0x129)]),{undoCache:_0x381214,redoCache:_0x1dbd99}=_0x3c73ea[_0x18fd46(0x143)]();if(_0x381214['length']===0x0||_0x1dbd99['length']===0x0)return;let _0x310dff=[],_0x2a1cf6=[],_0x148847=_0x13030d['Tools'][_0x18fd46(0x2ed)](_0x14d195['mutations'][0x0]),_0x2b0c38=_0x13030d[_0x18fd46(0x142)][_0x18fd46(0x2ed)](_0x14d195[_0x18fd46(0x384)][0x0]);for(let _0x58577a=_0x381214[_0x18fd46(0x36e)]-0x1;_0x58577a>=0x0;_0x58577a--){let _0x4fa0bd={'id':'doc.mutation.rich-text-editing','params':{..._0x381214[_0x58577a]}},_0xd25560={'id':_0x18fd46(0x1ae),'params':{..._0x1dbd99[_0x58577a]}},_0x22c50e=this['_transformService'][_0x18fd46(0x26a)](_0x148847,_0x4fa0bd,!0x1),_0x15f32a=this[_0x18fd46(0x22d)][_0x18fd46(0x26a)](_0x2b0c38,_0xd25560,!0x1);if((0x0,_0x486545['isTransformMutationFailure'])(_0x22c50e))throw _0x22c50e[_0x18fd46(0xaf)];if((0x0,_0x486545[_0x18fd46(0x326)])(_0x15f32a))throw _0x15f32a[_0x18fd46(0xaf)];_0x310dff[_0x18fd46(0x254)](_0x22c50e['m2Prime'][_0x18fd46(0x22a)]),_0x2a1cf6[_0x18fd46(0x254)](_0x15f32a['m2Prime']['params']),_0x148847=_0x22c50e[_0x18fd46(0x272)],_0x2b0c38=_0x15f32a[_0x18fd46(0x272)];}_0x3c73ea[_0x18fd46(0x38f)]({'undoCache':_0x310dff,'redoCache':_0x2a1cf6});}[_0x24b96c(0x150)](_0xa5f304){const _0x4d6096=_0x24b96c;let {unitID:_0x1c1e86}=_0xa5f304,_0x293833=this[_0x4d6096(0x136)][_0x4d6096(0x12b)](_0x1c1e86)['with'](_0x57a234['DocIMEInputManagerService']),_0x232dfc=_0x293833[_0x4d6096(0x308)]();if(_0x232dfc==null)return;let _0x453c10=[{'id':_0x4d6096(0x1ae),'params':{'unitId':_0xa5f304[_0x4d6096(0x343)],'actions':null,'textRanges':[_0x232dfc]}}],_0x1e543f=this[_0x4d6096(0x22d)][_0x4d6096(0xdb)](_0xa5f304,_0x453c10);if(!(0x0,_0x486545['isTransformMutationsWithChangesetSuccess'])(_0x1e543f))throw _0x1e543f[_0x4d6096(0xaf)];let _0x31c431=_0x1e543f[_0x4d6096(0x32c)][0x0][_0x4d6096(0x22a)][_0x4d6096(0x132)];Array['isArray'](_0x31c431)&&_0x31c431[_0x4d6096(0x36e)]&&_0x293833[_0x4d6096(0x3b4)](_0x31c431[0x0]);}};_0x5176c7=_0x12d4ea([_0x517da2(0x0,_0x486545[_0x24b96c(0x2e0)]),_0x517da2(0x1,_0x5bc07b[_0x24b96c(0x162)])],_0x5176c7);let _0x570b4f=class{constructor(_0x58a4bd,_0x3aaf9d,_0x420b94){const _0x40a450=_0x24b96c;this['_injector']=_0x58a4bd,this['_transformService']=_0x3aaf9d,this[_0x40a450(0x11d)]=_0x420b94;}[_0x24b96c(0x1e2)](_0x528347){const _0x410db3=_0x24b96c;this[_0x410db3(0x1d8)](_0x528347);}[_0x24b96c(0x210)](_0x3279d3){const _0xc085c3=_0x24b96c;let {unitID:_0x4773c5}=_0x3279d3,{collaboration:_0x4585db}=this[_0xc085c3(0x11d)][_0xc085c3(0x213)](_0x4773c5);if(_0x4585db['length']===0x0)return _0x3279d3;let _0x2d5be9=_0x13030d[_0xc085c3(0x142)][_0xc085c3(0x2ed)](_0x3279d3[_0xc085c3(0x384)][0x0]);for(let _0x46c4b1=0x0;_0x46c4b1<_0x4585db[_0xc085c3(0x36e)];_0x46c4b1++){let _0x2dfe9a={'id':_0xc085c3(0x1ae),'params':{'unitId':_0x4585db[_0x46c4b1][_0xc085c3(0x1bf)],..._0x4585db[_0x46c4b1][_0xc085c3(0x2a2)]}},_0x8389f9=this[_0xc085c3(0x22d)][_0xc085c3(0x26a)](_0x2d5be9,_0x2dfe9a,!0x1);if((0x0,_0x486545['isTransformMutationFailure'])(_0x8389f9))throw _0x8389f9[_0xc085c3(0xaf)];_0x2d5be9=_0x8389f9[_0xc085c3(0x272)];}return{..._0x13030d['Tools'][_0xc085c3(0x2ed)](_0x3279d3),'mutations':[_0x2d5be9]};}[_0x24b96c(0x1d8)](_0x372134){const _0x49b61a=_0x24b96c;let {unitID:_0x2b5d54}=_0x372134,{history:_0x5629e9,collaboration:_0x2066cb}=this[_0x49b61a(0x11d)][_0x49b61a(0x213)](_0x2b5d54);if(_0x5629e9[_0x49b61a(0x36e)]===0x0&&_0x2066cb[_0x49b61a(0x36e)]===0x0)return;let _0x27f5c2=[],_0x17bb0f=[],_0x29ecb3=_0x13030d['Tools'][_0x49b61a(0x2ed)](_0x372134[_0x49b61a(0x384)][0x0]),_0x243f61=_0x13030d[_0x49b61a(0x142)][_0x49b61a(0x2ed)](_0x372134[_0x49b61a(0x384)][0x0]);for(let _0x40e196=_0x5629e9[_0x49b61a(0x36e)]-0x1;_0x40e196>=0x0;_0x40e196--){let _0x1ef8a4={'id':_0x49b61a(0x1ae),'params':{'unitId':_0x5629e9[_0x40e196][_0x49b61a(0x1bf)],..._0x5629e9[_0x40e196][_0x49b61a(0x33f)]}},_0x4abeeb={'id':_0x49b61a(0x1ae),'params':{'unitId':_0x5629e9[_0x40e196][_0x49b61a(0x1bf)],..._0x5629e9[_0x40e196]['redoState']}},_0x304d6a=this[_0x49b61a(0x22d)][_0x49b61a(0x26a)](_0x29ecb3,_0x1ef8a4,!0x1),_0xc6beca=this[_0x49b61a(0x22d)]['transformMutation'](_0x243f61,_0x4abeeb,!0x1);if((0x0,_0x486545[_0x49b61a(0x326)])(_0x304d6a))throw _0x304d6a[_0x49b61a(0xaf)];if((0x0,_0x486545[_0x49b61a(0x326)])(_0xc6beca))throw _0xc6beca[_0x49b61a(0xaf)];_0x27f5c2[_0x49b61a(0x254)]({..._0x5629e9[_0x40e196],'undoState':_0x304d6a[_0x49b61a(0x32c)][_0x49b61a(0x22a)],'redoState':_0xc6beca[_0x49b61a(0x32c)][_0x49b61a(0x22a)]}),_0x29ecb3=_0x304d6a['m1Prime'],_0x243f61=_0xc6beca[_0x49b61a(0x272)];}_0x29ecb3=_0x13030d['Tools'][_0x49b61a(0x2ed)](_0x372134[_0x49b61a(0x384)][0x0]),_0x243f61=_0x13030d['Tools'][_0x49b61a(0x2ed)](_0x372134['mutations'][0x0]);for(let _0x49c5b7=_0x2066cb['length']-0x1;_0x49c5b7>=0x0;_0x49c5b7--){let _0xc64be8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2066cb[_0x49c5b7][_0x49b61a(0x1bf)],..._0x2066cb[_0x49c5b7][_0x49b61a(0x33f)]}},_0x2a4f26={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2066cb[_0x49c5b7][_0x49b61a(0x1bf)],..._0x2066cb[_0x49c5b7]['redoState']}},_0x236fce=this[_0x49b61a(0x22d)][_0x49b61a(0x26a)](_0x29ecb3,_0xc64be8,!0x1),_0x12a5cd=this[_0x49b61a(0x22d)][_0x49b61a(0x26a)](_0x243f61,_0x2a4f26,!0x1);if((0x0,_0x486545[_0x49b61a(0x326)])(_0x236fce))throw _0x236fce['error'];if((0x0,_0x486545[_0x49b61a(0x326)])(_0x12a5cd))throw _0x12a5cd['error'];_0x17bb0f['unshift']({..._0x2066cb[_0x49c5b7],'undoState':_0x236fce[_0x49b61a(0x32c)][_0x49b61a(0x22a)],'redoState':_0x12a5cd[_0x49b61a(0x32c)][_0x49b61a(0x22a)]}),_0x29ecb3=_0x236fce[_0x49b61a(0x272)],_0x243f61=_0x12a5cd['m1Prime'];}this[_0x49b61a(0x11d)][_0x49b61a(0x23b)](_0x2b5d54,{'history':_0x27f5c2,'collaboration':_0x17bb0f});}};_0x570b4f=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x1,_0x486545[_0x24b96c(0x2e0)]),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x57a234[_0x24b96c(0x17c)]))],_0x570b4f);let _0x38878b=class{constructor(_0x20eda7,_0x5b0735){const _0x51d9ec=_0x24b96c;this[_0x51d9ec(0x23a)]=_0x20eda7,this[_0x51d9ec(0x22d)]=_0x5b0735;}[_0x24b96c(0x26c)](_0x3dcd2f){const _0x121799=_0x24b96c;var _0x429f6a;let _0x530abb=this[_0x121799(0x23a)][_0x121799(0x283)](_0x1aedbb['DocSelectionManagerService']),_0x2e3940=(_0x429f6a=_0x530abb[_0x121799(0x396)]())==null?[]:_0x429f6a;if(_0x2e3940[_0x121799(0x36e)]===0x0)return;let _0x508a5a=_0x3dcd2f[_0x121799(0x343)],_0x31c650=[{'id':_0x121799(0x1ae),'params':{'unitId':_0x508a5a,'actions':null,'textRanges':_0x2e3940}}],_0xdb5ee2=this[_0x121799(0x22d)][_0x121799(0xdb)](_0x3dcd2f,_0x31c650);if(!(0x0,_0x486545[_0x121799(0x216)])(_0xdb5ee2))throw _0xdb5ee2[_0x121799(0xaf)];let _0x1f6e10=_0xdb5ee2['m2Prime'][0x0][_0x121799(0x22a)][_0x121799(0x132)];Array[_0x121799(0xe1)](_0x1f6e10)&&_0x1f6e10[_0x121799(0x36e)]&&_0x530abb['replaceDocRanges'](_0x1f6e10,{'unitId':_0x508a5a,'subUnitId':_0x508a5a},!0x1);}};_0x38878b=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x1,_0x486545[_0x24b96c(0x2e0)])],_0x38878b);let _0x11d522=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0xe974cc,_0x51fd68,_0x54d14e,_0xf6d5b3,_0xb9d924,_0x4fb6c9,_0x14bad8,_0x1f52f3){const _0xf5b3c=_0x24b96c;super(),this[_0xf5b3c(0x11d)]=_0xe974cc,this[_0xf5b3c(0x1e5)]=_0x51fd68,this[_0xf5b3c(0x251)]=_0x54d14e,this[_0xf5b3c(0x19f)]=_0xf6d5b3,this[_0xf5b3c(0x317)]=_0xb9d924,this[_0xf5b3c(0x26d)]=_0x4fb6c9,this[_0xf5b3c(0x101)]=_0x14bad8,this[_0xf5b3c(0x1ac)]=_0x1f52f3,_0x32f982(this,_0xf5b3c(0x262),new _0x594669[(_0xf5b3c(0x3a6))](_0x4a06d2['CollaborationStatus']['NOT_COLLAB'])),this[_0xf5b3c(0x345)]();}[_0x24b96c(0x345)](){const _0x1a3674=_0x24b96c;this['disposeWithMe'](this[_0x1a3674(0x1e5)]['entityInit$'][_0x1a3674(0x320)](_0x5ebfbf=>{const _0x4b50c5=_0x1a3674;let _0x38b767=this[_0x4b50c5(0x11d)][_0x4b50c5(0x338)][_0x4b50c5(0x320)](_0x3bb438=>{const _0x31f4d8=_0x4b50c5;if(_0x3bb438==null)return;let {unitId:_0x407f27,redoState:_0x1f42a1,commandId:_0x166440}=_0x3bb438;if(_0x407f27!==_0x5ebfbf[_0x31f4d8(0x343)])return;let _0x372bb4={'id':_0x166440,'type':_0x13030d['CommandType'][_0x31f4d8(0xd7)],'params':{'unitId':_0x407f27,'actions':_0x1f42a1[_0x31f4d8(0x1ff)],'textRanges':null}};_0x5ebfbf['onLocalMutation'](_0x372bb4);});_0x5ebfbf['disposeWithMe'](_0x38b767),_0x5ebfbf instanceof _0x4a06d2[_0x4b50c5(0x11b)]&&_0x5ebfbf[_0x4b50c5(0x34e)]({'onTransformIME':_0x57abf2=>this[_0x4b50c5(0x251)][_0x4b50c5(0x2e6)](_0x57abf2),'onTransformState':_0x45fe1f=>this['_docTransformStateCacheService'][_0x4b50c5(0x1e2)](_0x45fe1f),'onTransformSelections':_0x3fbbce=>this['_docTransformSelectionsService']['transformSelections'](_0x3fbbce),'onSyncEditingCollabCursor':_0x579595=>this[_0x4b50c5(0x26d)][_0x4b50c5(0x18c)](_0x579595),'onTransformRemoteChangesetByIMECache':_0x1695c5=>this[_0x4b50c5(0x251)][_0x4b50c5(0x210)](_0x1695c5),'onTransformRemoteChangesetByStateCache':_0x5bc5f9=>this[_0x4b50c5(0x19f)][_0x4b50c5(0x210)](_0x5bc5f9)});}));}};_0x11d522=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x57a234[_0x24b96c(0x17c)])),_0x517da2(0x1,(0x0,_0x13030d['Inject'])(_0x4a06d2['CollaborationController'])),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x5176c7)),_0x517da2(0x3,(0x0,_0x13030d['Inject'])(_0x570b4f)),_0x517da2(0x4,(0x0,_0x13030d['Inject'])(_0x38878b)),_0x517da2(0x5,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x26ea35)),_0x517da2(0x6,_0x429bdf['IMessageService']),_0x517da2(0x7,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x381)]))],_0x11d522);let _0x12c8b7=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0xa0bfb,_0x19d2f5,_0xb09fb4,_0x4865fb){const _0x4860f9=_0x24b96c;super(),this[_0x4860f9(0x23a)]=_0xa0bfb,this[_0x4860f9(0x113)]=_0x19d2f5,this[_0x4860f9(0xec)]=_0xb09fb4,this[_0x4860f9(0x1cf)]=_0x4865fb,_0x32f982(this,_0x4860f9(0x382),void 0x0),this[_0x4860f9(0xb7)]();}[_0x24b96c(0xb7)](){const _0x17e5f7=_0x24b96c;this['_initWindowErrorListener'](),this[_0x17e5f7(0x26b)](),this[_0x17e5f7(0x14b)](),this['_initUserListener']();}[_0x24b96c(0x164)](){const _0x1faeab=_0x24b96c;this[_0x1faeab(0x220)](this['_collaborationSessionService']['socket$'][_0x1faeab(0x320)](_0x4ee7f4=>{const _0x84e39c=_0x1faeab;this[_0x84e39c(0x382)]=_0x4ee7f4==null?void 0x0:_0x4ee7f4[_0x84e39c(0x2ad)];}));}[_0x24b96c(0x194)](){const _0x264695=_0x24b96c;let _0x26202f=_0x4d9099=>{const _0x530675=_0x84a9;var _0x422db4;this[_0x530675(0x201)](_0x530675(0xaf),_0x530675(0x3ab)+_0x4d9099[_0x530675(0x290)]+_0x530675(0x11f)+_0x4d9099[_0x530675(0x249)]+':'+_0x4d9099[_0x530675(0x31f)]+':'+_0x4d9099[_0x530675(0x250)]+'\x0a'+(((_0x422db4=_0x4d9099[_0x530675(0xaf)])==null?void 0x0:_0x422db4['stack'])||''));};window[_0x264695(0x2ef)](_0x264695(0xaf),_0x26202f),this[_0x264695(0x220)](()=>{const _0x2cba6b=_0x264695;window[_0x2cba6b(0xb4)]('error',_0x26202f);});}[_0x24b96c(0x26b)](){const _0x5a4f30=_0x24b96c;let _0x701cb8=_0x160c62=>{const _0x1f0735=_0x84a9;this['_uploadLog'](_0x1f0735(0xaf),_0x1f0735(0x1fb)+_0x160c62[_0x1f0735(0x1fc)]);};window[_0x5a4f30(0x2ef)](_0x5a4f30(0x357),_0x701cb8),this[_0x5a4f30(0x220)](()=>{const _0x38424e=_0x5a4f30;window[_0x38424e(0xb4)](_0x38424e(0x357),_0x701cb8);});}[_0x24b96c(0x14b)](){const _0x5d17c7=_0x24b96c;let _0xa20f64=this[_0x5d17c7(0xec)][_0x5d17c7(0xaf)][_0x5d17c7(0x1af)](this[_0x5d17c7(0xec)]);this[_0x5d17c7(0xec)][_0x5d17c7(0xaf)]=(..._0x3fe744)=>{const _0x5d5d47=_0x5d17c7;let _0x8accda=_0x3fe744[_0x5d5d47(0x288)](_0x1e817c=>_0x1e817c instanceof Error?_0x1e817c[_0x5d5d47(0x290)]+'\x0a'+_0x1e817c[_0x5d5d47(0x346)]:String(_0x1e817c))[_0x5d5d47(0x234)]('\x20');this[_0x5d5d47(0x201)]('error',_0x5d5d47(0x1cc)+_0x8accda),_0xa20f64(..._0x3fe744);},this[_0x5d17c7(0x220)](()=>{const _0x13ec64=_0x5d17c7;this[_0x13ec64(0xec)]['error']=_0xa20f64;});}[_0x24b96c(0x201)](_0x381900,_0x159e74){const _0x1a66d0=_0x24b96c;try{let _0x222e14={'userId':this[_0x1a66d0(0x382)],'logLabel':_0x381900,'content':_0x159e74};this[_0x1a66d0(0x113)][_0x1a66d0(0x217)]('/universer-api/frontend/logs',{'body':_0x222e14})[_0x1a66d0(0x2b8)](()=>{});}catch{}}};_0x12c8b7=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x24b4f9['HTTPService'])),_0x517da2(0x2,_0x13030d['ILogService']),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x4a06d2['CollaborationSessionService']))],_0x12c8b7);let _0x4da0aa=function(_0x2dc5b1){const _0x407f58=_0x24b96c;return _0x2dc5b1[_0x2dc5b1[_0x407f58(0x11c)]=0x0]=_0x407f58(0x11c),_0x2dc5b1[_0x2dc5b1['OK']=0x1]='OK',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x351)]=0x2]='INTERNAL_ERROR',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x32e)]=0x3]=_0x407f58(0x32e),_0x2dc5b1[_0x2dc5b1['NOT_FOUND']=0x4]=_0x407f58(0x352),_0x2dc5b1[_0x2dc5b1['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x2dc5b1[_0x2dc5b1['ALREADY_EXISTS']=0x6]=_0x407f58(0x353),_0x2dc5b1[_0x2dc5b1['INVALID_ARGUMENT']=0x7]=_0x407f58(0x146),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x28b)]=0x8]=_0x407f58(0x28b),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xb5)]=0x9]=_0x407f58(0xb5),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x341)]=0xa]=_0x407f58(0x341),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x28c)]=0xb]=_0x407f58(0x28c),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xcf)]=0xc]=_0x407f58(0xcf),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x112)]=0xd]=_0x407f58(0x112),_0x2dc5b1[_0x2dc5b1['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x407f58(0x14c),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x24c)]=0xf]=_0x407f58(0x24c),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x133)]=0x10]=_0x407f58(0x133),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x10c)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2dc5b1[_0x2dc5b1['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x2dc5b1[_0x2dc5b1['USER_NOT_FOUND']=0xc9]=_0x407f58(0x1a1),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x2c2)]=0xca]='USER_IS_ANONYMOUS',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1f4)]=0x1389]=_0x407f58(0x1f4),_0x2dc5b1[_0x2dc5b1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x166)]=0x1772]=_0x407f58(0x166),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xb1)]=0x1773]=_0x407f58(0xb1),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x399)]=0x1b59]='APPLY_REJECT',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x370)]=0x1b5a]=_0x407f58(0x370),_0x2dc5b1[_0x2dc5b1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x407f58(0x1d5),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x3b2)]=0x1b5c]=_0x407f58(0x3b2),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xa9)]=0x1b5d]=_0x407f58(0xa9),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x10a)]=0x1f41]=_0x407f58(0x10a),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x3af)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x2ff)]=0x232a]=_0x407f58(0x2ff),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xc9)]=0x232b]=_0x407f58(0xc9),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x39b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x260)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x34a)]=0x2711]=_0x407f58(0x34a),_0x2dc5b1[_0x2dc5b1['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x407f58(0x29a),_0x2dc5b1[_0x2dc5b1['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x407f58(0x2d4),_0x2dc5b1[_0x2dc5b1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x407f58(0x38e),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x25c)]=0x271a]=_0x407f58(0x25c),_0x2dc5b1[_0x2dc5b1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x407f58(0x2b9),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x25e)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x296)]=0x271d]=_0x407f58(0x296),_0x2dc5b1[_0x2dc5b1['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x407f58(0x1e0),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x29d)]=0x271f]=_0x407f58(0x29d),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x198)]=0x2720]=_0x407f58(0x198),_0x2dc5b1[_0x2dc5b1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1a0)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x25a)]=0x2ee2]=_0x407f58(0x25a),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x292)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x154)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2dc5b1[_0x2dc5b1['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x407f58(0x2aa),_0x2dc5b1[_0x2dc5b1['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x407f58(0x282),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x2c1)]=0x32ca]=_0x407f58(0x2c1),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x218)]=0x32cb]=_0x407f58(0x218),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1c5)]=0x36b1]=_0x407f58(0x1c5),_0x2dc5b1[_0x2dc5b1['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x407f58(0x2f9),_0x2dc5b1[_0x2dc5b1['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x407f58(0x152),_0x2dc5b1[_0x2dc5b1['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x144)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x21c)]=0x36b6]=_0x407f58(0x21c),_0x2dc5b1[_0x2dc5b1['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x407f58(0x247),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x371)]=0x36b8]=_0x407f58(0x371),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x122)]=0x3715]=_0x407f58(0x122),_0x2dc5b1[_0x2dc5b1['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x407f58(0x244),_0x2dc5b1[_0x2dc5b1['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x407f58(0x2cd),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x209)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2dc5b1[_0x2dc5b1['REDEMPTION_INVALID_CODE']=0x3a99]=_0x407f58(0x233),_0x2dc5b1[_0x2dc5b1[_0x407f58(0xb3)]=0x3a9a]=_0x407f58(0xb3),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x223)]=0x3a9b]=_0x407f58(0x223),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1c0)]=0x3a9c]=_0x407f58(0x1c0),_0x2dc5b1[_0x2dc5b1['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x407f58(0x368),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x37a)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x2dc5b1[_0x2dc5b1[_0x407f58(0x1b6)]=0x3a9f]=_0x407f58(0x1b6),_0x2dc5b1[_0x2dc5b1['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x407f58(0x37f),_0x2dc5b1[_0x2dc5b1[_0x407f58(0x2fd)]=-0x1]=_0x407f58(0x2fd),_0x2dc5b1;}({});function _0x447e58(_0x54ebaf){const _0x55de7a=_0x24b96c;var _0x14a35f,_0x442ed9;let _0x1216f4=(_0x14a35f=_0x54ebaf[_0x55de7a(0x2ca)])==null?void 0x0:_0x14a35f[_0x55de7a(0x1a8)],_0x529ad3=((_0x442ed9=_0x54ebaf[_0x55de7a(0x2ca)])==null?void 0x0:_0x442ed9[_0x55de7a(0x2ea)])||0x0;return _0x1216f4===_0xe81250[_0x55de7a(0x322)][_0x55de7a(0x2c6)]&&_0x529ad3>0x0;}function _0x3dc7a8(_0x1699cc){const _0x51c24d=_0x24b96c;return _0x1699cc[_0x51c24d(0x1f6)]===_0xe81250[_0x51c24d(0x2a9)][_0x51c24d(0x302)];}let _0x31ebc2=class extends _0x13030d['Disposable']{constructor(_0x3cbd21,_0x454a95,_0x256d32,_0x16d931,_0x347222,_0x2f391a,_0x542ce1){const _0x194d55=_0x24b96c;super(),this['_messageService']=_0x3cbd21,this[_0x194d55(0xa0)]=_0x454a95,this[_0x194d55(0xb0)]=_0x256d32,this[_0x194d55(0x113)]=_0x16d931,this[_0x194d55(0x141)]=_0x347222,this[_0x194d55(0xec)]=_0x2f391a,this['_localeService']=_0x542ce1,_0x32f982(this,_0x194d55(0x176),null),_0x32f982(this,'_maxFormulaLimit',0x0),_0x32f982(this,_0x194d55(0x1e9),0x0),_0x32f982(this,_0x194d55(0x211),[]),_0x32f982(this,_0x194d55(0x2fb),0x0),this[_0x194d55(0x1b9)]();}[_0x24b96c(0x1b9)](){const _0x16690e=_0x24b96c;this[_0x16690e(0x220)](this[_0x16690e(0xa0)][_0x16690e(0xe6)]((_0x5163e7,_0x270c18)=>{const _0x5dfb3c=_0x16690e;var _0x1e8393;if(_0x5163e7['id']!==_0xe81250[_0x5dfb3c(0xb8)]['id'])return;let _0x30595c=_0x5163e7[_0x5dfb3c(0x22a)];if(this['_hasFormulaInDirtyRanges']((_0x1e8393=_0x30595c['dirtyRanges'])==null?[]:_0x1e8393)&&!this['_checkCalculationAvailable']())throw this[_0x5dfb3c(0x2a5)](_0x5163e7,_0x270c18),this['_showGuardMessage'](),new _0x13030d[(_0x5dfb3c(0x1c7))]();})),this[_0x16690e(0x220)](this['_commandService']['onCommandExecuted']((_0x182718,_0x2add67)=>{const _0xf2c3d0=_0x16690e;if(_0x182718['id']!==_0xe81250['SetFormulaCalculationNotificationMutation']['id'])return;let _0x4d3550=_0x182718['params'];if(_0x447e58(_0x4d3550)){let _0x4f85a5=(0x0,_0x13030d['generateRandomId'])();this[_0xf2c3d0(0x211)][_0xf2c3d0(0x264)](_0x4f85a5),this[_0xf2c3d0(0x27f)](_0x4f85a5);}else{if(_0x3dc7a8(_0x4d3550)&&this[_0xf2c3d0(0x211)][_0xf2c3d0(0x36e)]>0x0){let _0x8c0042=this[_0xf2c3d0(0x211)][_0xf2c3d0(0x153)]();this[_0xf2c3d0(0x16f)](_0x8c0042);}}}));}['dispose'](){const _0x224cc5=_0x24b96c;super['dispose'](),this[_0x224cc5(0x1db)](),this[_0x224cc5(0x211)]=[],this[_0x224cc5(0x1e9)]=0x0,this[_0x224cc5(0x2bf)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x11bc57,_0x3a9b59){const _0x418a1e=_0x24b96c;for(let _0x5b2cf9=0x0;_0x5b2cf9<0x1e;_0x5b2cf9++)try{if(await this[_0x418a1e(0x2e1)](),this[_0x418a1e(0xce)]()){this[_0x418a1e(0x13f)](_0x11bc57,_0x3a9b59),this[_0x418a1e(0x101)][_0x418a1e(0x2d9)]({'content':this[_0x418a1e(0x1ac)]['t'](_0x418a1e(0x2c0)),'type':_0x3df4e2[_0x418a1e(0x13b)][_0x418a1e(0x279)]});return;}await new Promise(_0x50b9a6=>{const _0x433858=_0x418a1e;this[_0x433858(0x176)]=window[_0x433858(0x189)](_0x50b9a6,0x3e8);});}catch(_0x13a00d){this[_0x418a1e(0xec)][_0x418a1e(0xaf)](_0x13a00d);}this[_0x418a1e(0x101)][_0x418a1e(0x2d9)]({'content':this['_localeService']['t'](_0x418a1e(0x12c)),'type':_0x3df4e2[_0x418a1e(0x13b)]['Error']});}[_0x24b96c(0x13f)](_0x45a143,_0x968484){const _0x3a31cf=_0x24b96c;try{this[_0x3a31cf(0xa0)][_0x3a31cf(0x2a4)](_0x45a143['id'],_0x45a143[_0x3a31cf(0x22a)],_0x968484);}catch(_0x4755dd){this[_0x3a31cf(0xec)][_0x3a31cf(0xaf)](_0x4755dd);}}[_0x24b96c(0x360)](_0x3f48be,_0x193a1b){const _0x39951e=_0x24b96c;_0x193a1b<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x193a1b,this[_0x39951e(0x2bf)]=Number[_0x39951e(0x34f)](_0x3f48be[_0x39951e(0x2f7)]),this[_0x39951e(0x1e9)]=Number['parseInt'](_0x3f48be[_0x39951e(0x1d4)]));}async[_0x24b96c(0x27f)](_0x3b7e92){const _0x197f79=_0x24b96c;let _0x2649f8=Date['now']();try{var _0x28ffa4,_0x4defd6;let _0x192a3a=((_0x28ffa4=this['_configService'][_0x197f79(0x3a4)](_0x4a06d2[_0x197f79(0x386)]))==null?void 0x0:_0x28ffa4[_0x197f79(0x1e8)])||'/universer-api/license/formula/limit/start',_0x4997cf=(await this['_httpService'][_0x197f79(0x217)](_0x192a3a,{'body':JSON[_0x197f79(0x2e7)]({'taskId':_0x3b7e92})}))['body'];if(((_0x4defd6=_0x4997cf['error'])==null?void 0x0:_0x4defd6[_0x197f79(0xbb)])!==_0x4da0aa['OK'])return;this['_setFormulaLimitStatus'](_0x4997cf[_0x197f79(0xc4)],_0x2649f8);}catch(_0x7d58cf){this[_0x197f79(0xec)]['error'](_0x7d58cf);}}async[_0x24b96c(0x2e1)](_0x3d91f7){const _0x144190=_0x24b96c;let _0x37c3f5=Date['now']();try{var _0x482089,_0x1bb055;let _0x371315=((_0x482089=this[_0x144190(0xb0)][_0x144190(0x3a4)](_0x4a06d2[_0x144190(0x386)]))==null?void 0x0:_0x482089['getFormulaLimitStatusUrl'])||_0x144190(0x344),_0x5a6a0d=_0x3d91f7?_0x371315+'?taskId='+encodeURIComponent(_0x3d91f7):_0x371315,_0x1a131c=(await this['_httpService'][_0x144190(0x283)](_0x5a6a0d))[_0x144190(0x1da)];if(((_0x1bb055=_0x1a131c[_0x144190(0xaf)])==null?void 0x0:_0x1bb055[_0x144190(0xbb)])!==_0x4da0aa['OK'])return;this[_0x144190(0x360)](_0x1a131c[_0x144190(0xc4)],_0x37c3f5);}catch(_0x313972){this[_0x144190(0xec)][_0x144190(0xaf)](_0x313972);}}async['_releaseCalculationLimit'](_0x5c3b35){const _0x58db7b=_0x24b96c;let _0x2fbf33=Date[_0x58db7b(0x393)]();try{var _0x446e66,_0x50fab0;let _0x779325=((_0x446e66=this[_0x58db7b(0xb0)][_0x58db7b(0x3a4)](_0x4a06d2['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x446e66[_0x58db7b(0xde)])||_0x58db7b(0x383),_0x2f09e2=(await this[_0x58db7b(0x113)][_0x58db7b(0x217)](_0x779325,{'body':JSON[_0x58db7b(0x2e7)]({'taskId':_0x5c3b35})}))[_0x58db7b(0x1da)];if(((_0x50fab0=_0x2f09e2['error'])==null?void 0x0:_0x50fab0[_0x58db7b(0xbb)])!==_0x4da0aa['OK'])return;this[_0x58db7b(0x360)](_0x2f09e2[_0x58db7b(0xc4)],_0x2fbf33);}catch(_0x1fa1e2){this[_0x58db7b(0xec)]['error'](_0x1fa1e2);}}[_0x24b96c(0xce)](){const _0x3908c0=_0x24b96c;return this[_0x3908c0(0x2bf)]===0x0?!0x0:this[_0x3908c0(0x2bf)]-this[_0x3908c0(0x1e9)]>0x0;}[_0x24b96c(0x1db)](){const _0x4c05c2=_0x24b96c;this[_0x4c05c2(0x176)]&&(clearTimeout(this[_0x4c05c2(0x176)]),this['_pollingInterval']=null);}[_0x24b96c(0x14f)](){const _0x18de74=_0x24b96c;this['_messageService'][_0x18de74(0x2d9)]({'content':this[_0x18de74(0x1ac)]['t'](_0x18de74(0x2ba)),'type':_0x3df4e2[_0x18de74(0x13b)][_0x18de74(0xe9)]});}[_0x24b96c(0xcc)](_0x14bd4e){const _0x4205b9=_0x24b96c;for(let _0x39fbeb of _0x14bd4e){let {unitId:_0xe9a631,sheetId:_0x2c5c81,range:_0x104d93}=_0x39fbeb,_0x25a22a=this['_univerInstanceService']['getUnit'](_0xe9a631);if(!_0x25a22a)continue;let _0x45bc52=_0x25a22a[_0x4205b9(0xa2)](_0x2c5c81);if(!_0x45bc52)continue;let _0x53cf56=_0x45bc52['getCellMatrix']();for(let _0x8a89fd=_0x104d93['startRow'];_0x8a89fd<=_0x104d93[_0x4205b9(0x225)];_0x8a89fd++)for(let _0xc7c22=_0x104d93['startColumn'];_0xc7c22<=_0x104d93[_0x4205b9(0xae)];_0xc7c22++){let _0x447fef=_0x53cf56['getValue'](_0x8a89fd,_0xc7c22);if(_0x447fef&&((0x0,_0x13030d['isFormulaString'])(_0x447fef['f'])||(0x0,_0x13030d[_0x4205b9(0xd0)])(_0x447fef['si'])))return!0x0;}}return!0x1;}};_0x31ebc2=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d['Inject'])(_0x429bdf['IMessageService'])),_0x517da2(0x1,_0x13030d['ICommandService']),_0x517da2(0x2,_0x13030d[_0x24b96c(0x23f)]),_0x517da2(0x3,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x24b4f9[_0x24b96c(0x339)])),_0x517da2(0x4,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x5,_0x13030d['ILogService']),_0x517da2(0x6,(0x0,_0x13030d['Inject'])(_0x13030d[_0x24b96c(0x381)]))],_0x31ebc2);let _0x4f755f=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0x2183cc,_0x4d688a,_0x3de2f8){const _0x7ab778=_0x24b96c;super(),this[_0x7ab778(0xb0)]=_0x2183cc,this[_0x7ab778(0x375)]=_0x4d688a,this[_0x7ab778(0xba)]=_0x3de2f8,_0x32f982(this,_0x7ab778(0x236),new Map()),_0x32f982(this,_0x7ab778(0x1b0),new Map()),_0x32f982(this,_0x7ab778(0x205),!0x1);}[_0x24b96c(0x2d3)](){const _0x524419=_0x24b96c;this[_0x524419(0x205)]=!0x0;}['enableLocalCache'](){const _0x1f291e=_0x24b96c;this[_0x1f291e(0x205)]=!0x1;}get[_0x24b96c(0x32b)](){return this['_saveTaskMap'];}['dispose'](){const _0xb42c23=_0x24b96c;this['exhaustSavingTask']()[_0xb42c23(0x100)](()=>super[_0xb42c23(0x29f)]());}async[_0x24b96c(0xd5)](_0x48df14){const _0x3a4f3b=_0x24b96c;return this[_0x3a4f3b(0x205)]?null:this[_0x3a4f3b(0x375)][_0x3a4f3b(0x202)]((0x0,_0x4a06d2[_0x3a4f3b(0x13c)])(_0x48df14));}async[_0x24b96c(0x364)](_0x926570,_0x194ecf){const _0x4020a4=_0x24b96c;return!!this['_localStorageService'][_0x4020a4(0x178)](_0x926570,_0x194ecf);}['updateOfflineData'](_0x14c198,_0x568481,_0x370efa,_0x52615d){const _0x38e829=_0x24b96c;let _0x3e109b=this[_0x38e829(0xba)][_0x38e829(0x27e)](_0x14c198);this[_0x38e829(0x236)][_0x38e829(0x13e)](_0x14c198,{'unitID':_0x14c198,'type':_0x568481,'awaitingChangeset':_0x370efa,'mutations':_0x52615d,'rev':_0x3e109b}),this[_0x38e829(0x1b0)][_0x38e829(0x361)](_0x14c198)||this[_0x38e829(0x2eb)](_0x14c198);}['_scheduleSaving'](_0x421495){const _0x49af2e=_0x24b96c;let _0x3f8f9f=this['_getSaveTimeout']();_0x3f8f9f===0x0?this[_0x49af2e(0x2c7)](_0x421495):this[_0x49af2e(0x1b0)][_0x49af2e(0x13e)](_0x421495,setTimeout(()=>this[_0x49af2e(0x2c7)](_0x421495),_0x3f8f9f));}[_0x24b96c(0x246)](){const _0x2c12e9=_0x24b96c;var _0x397e1b;return(_0x397e1b=this['_configService'][_0x2c12e9(0x3a4)](_0x4a06d2[_0x2c12e9(0x3a1)]))==null?_0x4a06d2['LOCAL_CACHE_INTERVAL']:_0x397e1b;}[_0x24b96c(0x2c7)](_0x4914c8){const _0x2315a1=_0x24b96c;let _0x479973=this[_0x2315a1(0x1b0)][_0x2315a1(0x283)](_0x4914c8);return _0x479973!==void 0x0&&window[_0x2315a1(0x395)](_0x479973),this[_0x2315a1(0x375)]['setItem']((0x0,_0x4a06d2[_0x2315a1(0x13c)])(_0x4914c8),this[_0x2315a1(0x236)][_0x2315a1(0x283)](_0x4914c8))[_0x2315a1(0x100)](()=>this[_0x2315a1(0x1b0)][_0x2315a1(0x103)](_0x4914c8));}async['exhaustSavingTask'](){const _0x5a6c65=_0x24b96c;let _0x1704fd=[];this[_0x5a6c65(0x1b0)][_0x5a6c65(0x172)]((_0x5cf478,_0x5a5766)=>{const _0x2d3cc0=_0x5a6c65;window[_0x2d3cc0(0x395)](_0x5cf478),_0x1704fd['push'](this['_saveCache'](_0x5a5766)[_0x2d3cc0(0x100)](()=>{const _0x32c82d=_0x2d3cc0;this['_saveTaskMap'][_0x32c82d(0x103)](_0x5a5766);}));}),await Promise[_0x5a6c65(0xbd)](_0x1704fd);}};_0x4f755f=_0x12d4ea([_0x517da2(0x0,_0x13030d[_0x24b96c(0x23f)]),_0x517da2(0x1,_0x13030d[_0x24b96c(0x131)]),_0x517da2(0x2,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x486545[_0x24b96c(0x256)]))],_0x4f755f);var _0xabb915=class extends _0x13030d[_0x24b96c(0x2ae)]{constructor(){const _0x5823ba=_0x24b96c;super(),_0x32f982(this,'urlChange$',void 0x0),this[_0x5823ba(0x31b)]=(0x0,_0x594669['fromEvent'])(window,_0x5823ba(0x377))[_0x5823ba(0x2be)]((0x0,_0x594669[_0x5823ba(0xc0)])(this['dispose$']),(0x0,_0x594669['shareReplay'])(0x1),(0x0,_0x594669[_0x5823ba(0x337)])(void 0x0));}[_0x24b96c(0x2e5)](_0x9619b1,_0x532230,_0x3211a5=!0x1){const _0x4bb329=_0x24b96c;let _0x2bb504=new URL(window[_0x4bb329(0x22f)][_0x4bb329(0x1bb)]);_0x2bb504[_0x4bb329(0x33b)][_0x4bb329(0x13e)](_0x9619b1,_0x532230),_0x3211a5?window[_0x4bb329(0xaa)][_0x4bb329(0x12e)]('','',_0x2bb504[_0x4bb329(0x2d6)]()):window['history'][_0x4bb329(0x22e)]('','',_0x2bb504[_0x4bb329(0x2d6)]());}[_0x24b96c(0x16d)](_0x1858cb,_0x14f193=!0x1){const _0x3f73ea=_0x24b96c;let _0x54ba53=new URL(window[_0x3f73ea(0x22f)]['href']);_0x54ba53[_0x3f73ea(0x33b)]['delete'](_0x1858cb),_0x14f193?window['history'][_0x3f73ea(0x12e)]('','',_0x54ba53['toString']()):window[_0x3f73ea(0xaa)][_0x3f73ea(0x22e)]('','',_0x54ba53[_0x3f73ea(0x2d6)]());}['getParam'](_0x14935b){const _0x118272=_0x24b96c;var _0x4ee8a7;return(_0x4ee8a7=new URL(window[_0x118272(0x22f)]['href'])[_0x118272(0x33b)][_0x118272(0x283)](_0x14935b))==null?void 0x0:_0x4ee8a7;}};let _0x3db514=class extends _0x13030d[_0x24b96c(0xfa)]{constructor(_0x35bb5=_0x475def,_0xb69bcd,_0x338368,_0x27250f){const _0x3be8d0=_0x24b96c;super(),this['_config']=_0x35bb5,this[_0x3be8d0(0x136)]=_0xb69bcd,this[_0x3be8d0(0x23a)]=_0x338368,this[_0x3be8d0(0xb0)]=_0x27250f;let {..._0x1fb90c}=(0x0,_0x13030d[_0x3be8d0(0xf7)])({},_0x475def,this[_0x3be8d0(0x25d)]);this[_0x3be8d0(0xb0)][_0x3be8d0(0x248)](_0x4f4f93,_0x1fb90c);}[_0x24b96c(0x380)](){const _0x8f6b77=_0x24b96c;this[_0x8f6b77(0x1ee)](),this['_initDependencies']();}[_0x24b96c(0x173)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x2c9962=_0x24b96c;var _0x31fabd;let _0x45e9a1=[[_0x57da1c],[_0x31ebc2],[_0x38878b],[_0x5176c7],[_0x570b4f],[_0x26ea35],[_0x55c8b2,{'useClass':_0xabb915}],[_0x24b4f9[_0x2c9962(0x38d)],{'useClass':_0x24b4f9[_0x2c9962(0x170)]}],[_0x4a06d2[_0x2c9962(0x31c)],{'useClass':_0x4f755f}],[_0xab3962],[_0x11d522],[_0x1f50c9],[_0x56259b],[_0x3543c2],[_0x2d4814]];this[_0x2c9962(0x25d)][_0x2c9962(0x17b)]&&_0x45e9a1[_0x2c9962(0x264)]([_0x12c8b7]),(0x0,_0x13030d[_0x2c9962(0x2b5)])(this['_injector'],(0x0,_0x13030d[_0x2c9962(0x228)])(_0x45e9a1,(_0x31fabd=this[_0x2c9962(0x25d)])==null?void 0x0:_0x31fabd[_0x2c9962(0x19c)]));}['_registerRenderDependencies'](){const _0x5d7df6=_0x24b96c;this[_0x5d7df6(0x220)](this[_0x5d7df6(0x136)][_0x5d7df6(0xe3)](_0x13030d[_0x5d7df6(0x3aa)][_0x5d7df6(0xd4)],[_0x3ea851])),this[_0x5d7df6(0x220)](this[_0x5d7df6(0x136)][_0x5d7df6(0xe3)](_0x13030d[_0x5d7df6(0x3aa)]['UNIVER_SHEET'],[_0x52222b]));}[_0x24b96c(0x24d)](){const _0x43f0f2=_0x24b96c;(0x0,_0x13030d[_0x43f0f2(0x38c)])(this['_injector'],[[_0x56259b],[_0xab3962],[_0x11d522],[_0x1f50c9],[_0x2d4814],[_0x31ebc2]]),this['_config']['enableFrontendLog']&&(0x0,_0x13030d[_0x43f0f2(0x38c)])(this[_0x43f0f2(0x23a)],[[_0x12c8b7]]);}};_0x32f982(_0x3db514,'pluginName',_0x24b96c(0x263)),_0x32f982(_0x3db514,_0x24b96c(0x114),_0x4837e7),_0x32f982(_0x3db514,_0x24b96c(0x10b),_0x47cc26),_0x3db514=_0x12d4ea([(0x0,_0x13030d[_0x24b96c(0x350)])(_0x4a06d2[_0x24b96c(0x118)]),_0x517da2(0x1,_0x5bc07b[_0x24b96c(0x162)]),_0x517da2(0x2,(0x0,_0x13030d['Inject'])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x3,_0x13030d[_0x24b96c(0x23f)])],_0x3db514);let _0x43ad0c=class extends _0x4a06d2[_0x24b96c(0x303)]{constructor(_0x22afe0,_0x31c531,_0xace4fa,_0x4f3823,_0x28412c){super(_0x22afe0,_0x31c531,_0xace4fa,_0x4f3823,_0x28412c);}async[_0x24b96c(0xa6)](_0xe447e){const _0x1f6732=_0x24b96c;let _0xb307e0=await this['_getSessionTicket'](),_0x2dfa99=this[_0x1f6732(0x2dd)](_0xe447e,_0xb307e0);return this[_0x1f6732(0x23d)](_0x2dfa99);}['_createSocketURL'](_0x29c239,_0x9499ff){const _0x50f71a=_0x24b96c;let _0x5c73cd=typeof window>'u'?new URL(_0x29c239):new URL(_0x29c239,window[_0x50f71a(0x22f)][_0x50f71a(0x2b2)]);_0x5c73cd[_0x50f71a(0x33b)][_0x50f71a(0x13e)](_0x50f71a(0x2c8),_0x9499ff);let _0x1b7bb5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50f71a(0x22f)][_0x50f71a(0x1d1)]);return _0x1b7bb5[_0x50f71a(0x283)](_0x50f71a(0x1ce))&&_0x5c73cd[_0x50f71a(0x33b)][_0x50f71a(0x13e)](_0x50f71a(0x1ce),_0x1b7bb5['get']('runId')),_0x5c73cd[_0x50f71a(0x2d6)]();}async['_getSessionTicket'](){const _0x3406a0=_0x24b96c;var _0x4cebe0,_0x3a279c,_0x1dd9c0;let _0x28ceee=this[_0x3406a0(0xb0)][_0x3406a0(0x3a4)](_0x4a06d2[_0x3406a0(0x386)]),_0x2476be=(_0x4cebe0=_0x28ceee==null?void 0x0:_0x28ceee['wsSessionTicketUrl'])==null?_0x4a06d2[_0x3406a0(0x206)]:_0x4cebe0;return(_0x3a279c=(_0x1dd9c0=(await this[_0x3406a0(0x113)]['get'](_0x2476be,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x1dd9c0[_0x3406a0(0x2da)])==null?'':_0x3a279c;}};_0x43ad0c=_0x12d4ea([_0x517da2(0x0,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x13030d[_0x24b96c(0x331)])),_0x517da2(0x1,(0x0,_0x13030d['Inject'])(_0x24b4f9[_0x24b96c(0x339)])),_0x517da2(0x2,_0x13030d['IConfigService']),_0x517da2(0x3,_0x13030d[_0x24b96c(0x30f)]),_0x517da2(0x4,_0x486545[_0x24b96c(0x3ac)])],_0x43ad0c);let _0xef30b7=class extends _0x13030d[_0x24b96c(0x328)]{constructor(_0x4389a3,_0x57e51a,_0x19b4db){const _0x43496f=_0x24b96c;super(),this[_0x43496f(0x1b5)]=_0x4389a3,this['_httpService']=_0x57e51a,this[_0x43496f(0xb0)]=_0x19b4db;}async['runOnServer'](_0x1fea69,_0x1ebf20,_0x319dc5,..._0x319971){const _0x2dd3db=_0x24b96c;var _0xfc1093,_0x549b15,_0x423a1a,_0x27e6b4;let _0x54b571=this[_0x2dd3db(0x1b5)][_0x2dd3db(0x16c)]();if(!_0x54b571)throw Error(_0x2dd3db(0x2e4));let _0x4a4252=((_0xfc1093=this[_0x2dd3db(0xb0)][_0x2dd3db(0x3a4)](_0x4a06d2[_0x2dd3db(0xa4)]))==null?_0x4a06d2[_0x2dd3db(0x238)]:_0xfc1093)+'/'+_0x1fea69+_0x2dd3db(0x311)+_0x1ebf20,_0x158ec2={'scriptId':_0x1fea69,'runId':(_0x549b15=new URL(window['location'][_0x2dd3db(0x1bb)])[_0x2dd3db(0x33b)]['get']('runId'))==null?'':_0x549b15,'function':_0x1ebf20,'unitId':_0x54b571[_0x2dd3db(0xf6)](),'argsOfFunction':JSON[_0x2dd3db(0x2e7)](_0x319971),'invokeId':(_0x423a1a=_0x319dc5['invokeId'])==null?'':_0x423a1a,'executionId':(_0x27e6b4=_0x319dc5[_0x2dd3db(0x140)])==null?'':_0x27e6b4};try{let _0x5773d0=await this[_0x2dd3db(0x113)]['post'](_0x4a4252,{'body':_0x158ec2});return _0x5773d0[_0x2dd3db(0x1da)]['error']&&_0x5773d0[_0x2dd3db(0x1da)][_0x2dd3db(0xaf)]['code']!==_0x4da0aa['OK']?_0x2dd3db(0xe4):_0x5773d0[_0x2dd3db(0x1da)][_0x2dd3db(0x362)];}catch{return'Failed';}}};_0xef30b7=_0x12d4ea([_0x517da2(0x0,_0x13030d[_0x24b96c(0x235)]),_0x517da2(0x1,(0x0,_0x13030d[_0x24b96c(0x2d0)])(_0x24b4f9[_0x24b96c(0x339)])),_0x517da2(0x2,_0x13030d['IConfigService'])],_0xef30b7);var _0x15b42c=function(_0x14c13c){const _0x524b57=_0x24b96c;return _0x14c13c[_0x14c13c[_0x524b57(0xc1)]=0x0]=_0x524b57(0xc1),_0x14c13c[_0x14c13c[_0x524b57(0x276)]=0x1]=_0x524b57(0x276),_0x14c13c[_0x14c13c[_0x524b57(0x1dc)]=0x2]=_0x524b57(0x1dc),_0x14c13c;}(_0x15b42c||{});let _0x529135=0x7530,_0x56d1bf=_0x24b96c(0x226);var _0x4603c6=class extends _0x13030d['Disposable']{constructor(){const _0x3d51e5=_0x24b96c;super(),_0x32f982(this,_0x3d51e5(0x3b1),(0x0,_0x13030d[_0x3d51e5(0x280)])()),_0x32f982(this,_0x3d51e5(0x147),new Set()),_0x32f982(this,_0x3d51e5(0x204),new Map()),_0x32f982(this,'_heartbeatTimer',null),_0x32f982(this,_0x3d51e5(0x2f3),new Map()),_0x32f982(this,_0x3d51e5(0xbf),new Map()),this[_0x3d51e5(0xb7)]();}[_0x24b96c(0x29f)](){const _0x105505=_0x24b96c;super[_0x105505(0x29f)](),this[_0x105505(0x2f3)][_0x105505(0x172)]((_0x521cc2,_0x2e132a)=>this[_0x105505(0x329)](_0x2e132a)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x24b96c(0x316)](_0x340e2b){const _0x4e536f=_0x24b96c;return this[_0x4e536f(0x1c8)](_0x340e2b)[_0x4e536f(0x2be)]((0x0,_0x594669[_0x4e536f(0x229)])());}[_0x24b96c(0x10f)](_0x1f9e16){const _0xf21af7=_0x24b96c;this[_0xf21af7(0x147)][_0xf21af7(0x379)]===0x0&&this['_scheduleHeartbeat'](),this[_0xf21af7(0x147)][_0xf21af7(0x2e8)](_0x1f9e16),this[_0xf21af7(0x18f)]({'type':_0x15b42c[_0xf21af7(0xc1)],'memberID':this[_0xf21af7(0x3b1)],'unitIDs':[_0x1f9e16],'isForwarded':!0x1});}[_0x24b96c(0x27c)](_0x4f346b){const _0x224e16=_0x24b96c;this['_selfUnitIDs'][_0x224e16(0x103)](_0x4f346b),this['_selfUnitIDs']['size']===0x0&&this[_0x224e16(0x27b)]&&window[_0x224e16(0x28a)](this[_0x224e16(0x27b)]);}[_0x24b96c(0xb7)](){const _0x78c228=_0x24b96c;this[_0x78c228(0x220)]((0x0,_0x13030d['toDisposable'])((0x0,_0x594669[_0x78c228(0x397)])(window,_0x78c228(0x37b))['subscribe'](_0x3e1fda=>{const _0x322609=_0x78c228;if(_0x3e1fda[_0x322609(0x37c)]!==_0x56d1bf||!_0x3e1fda['newValue'])return;let _0x23c1c2=JSON[_0x322609(0xf2)](_0x3e1fda['newValue']);this[_0x322609(0x2fc)](_0x23c1c2);}))),window[_0x78c228(0x2ef)]('unload',()=>this[_0x78c228(0x18f)]({'type':_0x15b42c[_0x78c228(0x276)],'memberID':this[_0x78c228(0x3b1)],'unitIDs':Array['from'](this[_0x78c228(0x147)])}));}[_0x24b96c(0x2fc)](_0x5162f3){const _0x337c98=_0x24b96c;switch(_0x5162f3[_0x337c98(0x35c)]){case _0x15b42c[_0x337c98(0xc1)]:this['_handleJoinEvent'](_0x5162f3);break;case _0x15b42c[_0x337c98(0x276)]:this[_0x337c98(0x1f5)](_0x5162f3);break;case _0x15b42c[_0x337c98(0x1dc)]:this[_0x337c98(0x193)](_0x5162f3);break;}}[_0x24b96c(0x1a9)](_0x5099f2){const _0x42060e=_0x24b96c;let {unitIDs:_0x2f0ce8,memberID:_0x21003b,isForwarded:_0x1950d0}=_0x5099f2;_0x2f0ce8[_0x42060e(0x172)](_0x51e139=>{const _0x2fef39=_0x42060e;if(!_0x1950d0&&this[_0x2fef39(0x204)]['has'](_0x51e139)&&this['_ensureSubject'](_0x51e139)[_0x2fef39(0x373)](_0x4a06d2[_0x2fef39(0x332)][_0x2fef39(0xab)]),!this[_0x2fef39(0x204)]['has'](_0x51e139)||!this[_0x2fef39(0x204)][_0x2fef39(0x283)](_0x51e139)[_0x2fef39(0x361)](_0x21003b)){let _0x42582b=this[_0x2fef39(0x204)][_0x2fef39(0x283)](_0x51e139)||new Set();_0x42582b[_0x2fef39(0x2e8)](_0x21003b),this[_0x2fef39(0x204)][_0x2fef39(0x13e)](_0x51e139,_0x42582b),this['_scheduleClearOtherTimer'](_0x21003b);}}),_0x1950d0||this['_send']({'type':_0x15b42c[_0x42060e(0xc1)],'memberID':this[_0x42060e(0x3b1)],'unitIDs':[...this[_0x42060e(0x147)]],'isForwarded':!0x0});}[_0x24b96c(0x2bc)](_0x190fab){const _0x56b706=_0x24b96c;this[_0x56b706(0x329)](_0x190fab);let _0x39a112=window[_0x56b706(0x189)](()=>{const _0x383014=_0x56b706;this[_0x383014(0x204)][_0x383014(0x172)](_0x47dc18=>{const _0x44b16d=_0x383014;_0x47dc18[_0x44b16d(0x103)](_0x190fab);});},_0x529135*0x2);this[_0x56b706(0x2f3)]['set'](_0x190fab,_0x39a112);}[_0x24b96c(0x329)](_0x28e971){const _0x132149=_0x24b96c;if(this['_clearOtherTimers'][_0x132149(0x361)](_0x28e971)){let _0x4cebd7=this[_0x132149(0x2f3)][_0x132149(0x283)](_0x28e971);_0x4cebd7&&window[_0x132149(0x395)](_0x4cebd7),this['_clearOtherTimers']['set'](_0x28e971,null);}}['_handleLeaveEvent'](_0x297a15){const _0x4f0063=_0x24b96c;let {memberID:_0x3f2415,unitIDs:_0x36da90}=_0x297a15;_0x36da90[_0x4f0063(0x172)](_0x116a17=>{const _0x3d5c2a=_0x4f0063;var _0x30f0b3;let _0x448a7c=this[_0x3d5c2a(0x204)]['get'](_0x116a17);_0x448a7c&&(_0x448a7c[_0x3d5c2a(0x103)](_0x3f2415),(_0x30f0b3=this['_ensureSubject'](_0x116a17))==null||_0x30f0b3[_0x3d5c2a(0x373)](_0x448a7c[_0x3d5c2a(0x379)]===0x0?_0x4a06d2['UnitStatus'][_0x3d5c2a(0x181)]:_0x4a06d2['UnitStatus'][_0x3d5c2a(0xab)]));}),this['_removeClearOtherTimer'](_0x3f2415);}[_0x24b96c(0x193)](_0x5002b4){const _0x320f62=_0x24b96c;this[_0x320f62(0x2bc)](_0x5002b4[_0x320f62(0x2ad)]);}[_0x24b96c(0x18f)](_0x209246){const _0x1484a4=_0x24b96c;localStorage[_0x1484a4(0x178)](_0x56d1bf,JSON[_0x1484a4(0x2e7)](_0x209246));}[_0x24b96c(0x255)](){const _0x36d78d=_0x24b96c;this['_heartbeatTimer']=window[_0x36d78d(0xd8)](()=>{const _0x1a0248=_0x36d78d;this[_0x1a0248(0x18f)]({'type':_0x15b42c[_0x1a0248(0x1dc)],'memberID':this[_0x1a0248(0x3b1)]});},_0x529135);}[_0x24b96c(0x1c8)](_0x23eb49){const _0x3e08a3=_0x24b96c;return this['_unitStatus']['has'](_0x23eb49)||this['_unitStatus'][_0x3e08a3(0x13e)](_0x23eb49,new _0x594669[(_0x3e08a3(0x3a6))](_0x4a06d2[_0x3e08a3(0x332)][_0x3e08a3(0x181)])),this[_0x3e08a3(0xbf)][_0x3e08a3(0x283)](_0x23eb49);}};Object[_0x24b96c(0x324)](_0x159966,_0x24b96c(0x274),{'enumerable':!0x0,'get':function(){return _0x43ad0c;}}),Object[_0x24b96c(0x324)](_0x159966,_0x24b96c(0x137),{'enumerable':!0x0,'get':function(){return _0x2d4814;}}),Object[_0x24b96c(0x324)](_0x159966,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0xab3962;}}),_0x159966['IURLService']=_0x55c8b2,Object[_0x24b96c(0x324)](_0x159966,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0xef30b7;}}),_0x159966['SheetCollabCursorShape']=_0x270909,Object['defineProperty'](_0x159966,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x3db514;}}),_0x159966[_0x24b96c(0xfd)]=_0x4603c6,_0x159966[_0x24b96c(0x13d)]=_0xabb915;}));function _0x20d0(){const _0x59783f=['YUUMI_ASYNCIO_CANCELLED','formula.calculation.waiting','ICommandService','_scheduleClearOtherTimer','_startDocCollabCursor','pipe','_maxFormulaLimit','formula.calculation.started','MOBILE_HAS_BEEN_BOUND','USER_IS_ANONYMOUS','width','IBeforeCloseService','idSuffix','START_CALCULATION','_saveCache','sessionTicket','getUnhiddenWorksheets','stageInfo','on-line-icon','jiqing.500','ENTITLE_INSUFFICIENT_QUOTA','xlink:href','univer-flex\x20univer-items-center','Inject','getSheetObject','_entities','disableLocalCache','YUUMI_RATE_OVER_LIMIT',',\x200.2)','toString','text','UNIVER_SHEET','show','ticket','tag','eventID','_createSocketURL','_toggleOnline','UniverRpc','ITransformService','_getFormulaLimitStatus','_colorIndex','getCellPositionByOffset','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setParam','transformIMECache','stringify','add','collab-rect-range-','totalFormulasToCalculate','_scheduleSaving','1em','deepClone','RECT','addEventListener','getCoordByCell','serializeRangeWithSheet','_onRefRangeChange','_clearOtherTimers','_updateCollabCursors','onPointerMove$','amd','maxFormulaLimit','@univerjs/docs','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_themeService','_lastResponseTimestamp','_handleEvent','UNRECOGNIZED','getCurrentSkeleton','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','1114722utllyq','focused$','SUCCESS','CollaborationSocketService','RemoveColCommandId','color','DocSkeletonManagerService','UniverDocsUi','getActiveRange','_collabCursorController','subUnitId','handleMoveRange','url(#$1','beginPath','UniverProCollaboration','ILogService','_sheetSkeletonManagerService','/run/','svg','univerjs-icon\x20univerjs-icon-','row','_name','getUnitStatus$','_docTransformSelectionsService','_labelPosition','values','UniverSheetsUi','urlChange$','ILocalCacheService','_urlService','react','lineno','subscribe','SetWorksheetActivateCommand','FormulaExecuteStageType','loadUnit','defineProperty','none','isTransformMutationFailure','FETCH_MISS','Disposable','_removeClearOtherTimer','getSheetId','saveTaskMap','m2Prime','getOwnPropertyDescriptor','PERMISSION_DENIED','187CjQVBZ','_dataLoaderService','Injector','UnitStatus','setShapeProps','exports','CollaborationUIEventService','cursorInfo','mapTo','docStateChange$','HTTPService','default','searchParams','registerBeforeClose','function','OFFLINE','undoState','cursorInfo$','LOGIN_FAILED','react/jsx-runtime','unitID','/universer-api/license/formula/limit/status','_initEntityListener','stack','rgb','prototype','_roomMembers$','YUUMI_UNABLE_LOAD_URL','switchMap','highlight','send','addHandlerCallback','parseInt','DependentOn','INTERNAL_ERROR','NOT_FOUND','ALREADY_EXISTS','SYNCED','bottom','call','unhandledrejection','UniverDocs','symbol','getRelativeToViewportCoord','Rect','type','collabStatus.fetchMiss','IImageIoService','collabCursorState$','_setFormulaLimitStatus','has','result','labelPosition','saveOfflineData','arc','data','save','REDEMPTION_USER_NOT_ELIGIBLE','handleDeleteRangeMoveUp','1070280HSFFET','createElement','...','@univerjs-pro/collaboration-client-ui','length','assignAColorForMemberID','APPLY_NON_SEQUENTIAL_REVISION','ENTITLE_USE_COUPON_NOT_1ST_TRADE','purple.300','next','_drawTextRange','_localStorageService','_isBlinkVisible','popstate','1081952HUkaQj','size','REDEMPTION_USER_REDEEM_TIMES_EXCEED','storage','key','SetDocZoomRatioOperation','SOCKET_FAILED_RETRY','DATA_SOURCE_TOO_LARGE','onStarting','LocaleService','_memberID','/universer-api/license/formula/limit/done','mutations','rxjs','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','init','asObservable','_collaborationUIEventService','_draw','unsubscribe','touchDependencies','ISocketService','YUUMI_SUBSCRIPTION_NOT_FOUND','setUndoRedoMutationParamsCache','defs','Warning','forwardRef','now','CLOSE_ROOM','clearTimeout','getDocRanges','fromEvent','includes','APPLY_REJECT','ONLINE','LICENSE_EXPORT_SIZE_EXCEEDED','_docSkeletonManagerService','colorChannel1','ColorKit','IDocClipboardService','closePath','LOCAL_CACHE_INTERVAL_KEY','measureText','_cursorShapes','getConfig','_offsetY','BehaviorSubject','trim','AWAITING','getCurrentSelections','UniverInstanceType','[Window\x20Error]:\x20','ISnapshotServerService','string','setOffsetY','LICENSE_MAX_UNITS_EXCEEDED','@univerjs/network','_id','APPLY_PERMISSION_DENIED','getColorFromTheme','setActiveRange','getRangePointData','_commandService','getVpScrollXYInfoByPosToVp','getSheetBySheetId','5VkhaQQ','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','0.2)','createSocket','filter','ThemeService','APPLY_DUPLICATED','history','OTHER_CLIENTS_EDITING','unit','_initStatusComponent','endColumn','error','_configService','ENSURE_SNAPSHOT_EXECUTION','status$','REDEMPTION_CODE_INACTIVE','removeEventListener','COMPLETION_FINISHED','imageSourceType','_init','SetFormulaCalculationStartMutation','_setupSubUnitSync','_revisionService','code','subunit','all','_context','_unitStatus','takeUntil','JOIN','jsx','_cursor','limitInfo','_initResize','connectInjector','getCollabCursors$','flatMap','LICENSE_IMPORT_SIZE_EXCEEDED','_hover','_transformUndoRedoStack','_hasFormulaInDirtyRanges','on-line-icon_clip0_910_349','_checkCalculationAvailable','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','isFormulaId','@univerjs-pro/collaboration','fillText','onCommandExecuted','UNIVER_DOC','loadOfflineData','_session','MUTATION','setInterval','_beforeCloseService','SetSelectionsOperation','transformMutationsWithChangeset','complete','_localCacheService','releaseFormulaLimitUrl','toStringTag','collaboration-client-ui.config','isArray','1422116RsagXl','registerRenderModule','Failed','Active','beforeCommandExecuted','iterator','fill','Loading','drawWith','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','_logService','_memberService','CONFLICT','0\x200\x2016\x2016','object','Error','parse','handleInsertRow','COLORS','off-line-icon_clip0_910_343','getUnitId','merge','transformByState','MoveRangeCommandId','Plugin','clsx','lineTo','WebBrowserSingleActiveUnitService','[CollaborationDataLoaderController]','path','then','_messageService','FromArray','delete','collaboration.offline-data-not-saved','sheetID','UniverSheets','@univerjs/docs-ui','_eventUnsubscribe','handleInsertRangeMoveDown','CONNECTOR_DATA_TOO_LARGE','version','CURRENT_STATUS_CANNOT_OPERATE','_updateLocalCursor','registerRefRange','editingUnit','univer-mr-2\x20univer-flex\x20univer-text-xl','@univerjs/drawing','EMAIL_VERIFY_CODE_MISMATCH','_httpService','packageName','_lastPointer','getTypeOfUnitDisposed$','collabStatus.synced','UniverCollaborationClientPlugin','_render','children','DocCollaborationEntity','UNDEFINED','_docStateChangeManagerService','ranges','\x20at\x20','CollaborationController','throttleTime','ENTITLE_CHAT_LIMIT_EXCEED','moveTo','CollaborationStatus','saveImage','getMemberID','2gnLzSu','_updateURLWithCurrentState','DocIMEInputManagerService','random','getRenderById','formula.calculation.unable','getActiveSheet','replaceState','Module','_getMergeRange','ILocalStorageService','textRanges','LOGIN_TOKEN_PROCESSING_FAILED','UniverNetwork','getValue','_renderManagerService','CollaborationDataLoaderController','decorate','IRemoteInstanceService','@univerjs/sheets','MessageType','getLocalCacheKey','WebURLService','set','_applyCommand','executionId','_univerInstanceService','Tools','getUndoRedoMutationParamsCache','ENTITLE_INVALID_COUPON_CODE','45618smWpZd','INVALID_ARGUMENT','_selfUnitIDs','toDisposable','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_monkeyPatchLogService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','triggerDblclick','permission.content','_showGuardMessage','_transformPreviousActiveRange','clipPath','ENTITLE_DUP_SUBSCRIPTION','shift','USER_NOT_INVITED_CODE','_syncEditingCollabCursorService','React','_assignedColors','777YOMzom','dispose$','JOIN_ROOM_FAILED','top','_anchor','deserializeRangeWithSheet','_initStatusListener','_range','split','blue.400','IRenderManagerService','_imageIoService','_initUserListener','hide','SNAPSHOT_HAS_BEEN_REMOVED','slice','height','_blinkIntervalTimer','DocSelectionManagerService','findNodePositionByCharIndex','getFocusedUnit','removeParam','collab-client.tooltip.reconnect','_releaseCalculationLimit','WebSocketService','AWAITING_WITH_PENDING','forEach','onRendered','InsertRangeMoveRightCommandId','div','_pollingInterval','EffectRefRangId','setItem','UniverDrawing','_backgroundColor','enableFrontendLog','DocStateChangeManagerService','evenodd','displayName','RegularPolygon','_getAnchorBounding','NO_OTHER_CLIENTS_EDITING','_getSheetObject','NodePositionConvertToCursor','showText','fillStyle','url(#on-line-icon_clip0_910_349)','white','debounceTime','setTimeout','subscribeEvent','USERS_LEAVE','syncEditingCollabCursor','DeleteRangeMoveUpCommandId','_collabSessionService','_send','use','_hideTimer','_removeCollabCursors','_handleHeartbeatEvent','_initWindowErrorListener','CollaborationEvent','column','http://www.w3.org/2000/svg','YUUMI_CONNECTOR_URL_NOT_FOUND','useDependency','VIEW_MAIN','DisposableCollection','override','debug','onPointerLeave$','_docTransformStateCacheService','INVITE_CODE_HAS_BEEN_UES','USER_NOT_FOUND','engine','event$','Tooltip','InsertRangeMoveDownCommandId','Unknown\x20user','range','stage','_handleJoinEvent','_stopBlinking','handleDeleteRangeMoveLeft','_localeService','_blinkTimer','doc.mutation.rich-text-editing','bind','_saveTaskMap','Shape','_startSheetCollabCursor','roomMembers$','TEXT_RANGE_LAYER_INDEX','_instanceService','REDEMPTION_CODE_HAS_BEEN_CREATED','entries','uni.network.url-service','_initCommandInterceptor','_collabCursorState$','href','CollaborationUIEventId','OTHER_CLIENT_EDITING','collab-text-anchor-','unitId','REDEMPTION_CODE_NOT_STARTED','substring','startsWith','restore','name','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getParam','CanceledError','_ensureSubject','round','font','currentTheme$','[LogService\x20Error]:\x20','setAlpha','runId','_collaborationSessionService','red.300','search','createInstance','makeDirty','currentUsage','APPLY_REVISION_CONFILICT','_onCursorUpdate','SOCKET_FAILED','_transformHistoryAndStateStack','_colorAssignService','body','_clearPolling','HEARTBEAT','_shapes','_highlightSecond','_scene','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UPDATE_CURSOR','transformStateCache','collabStatus.notCollab','_online','_collaborationController','handleInsertCol','addObjects','startFormulaLimitUrl','_currentUsage','UniverProCollaborationClient','useCallback','getMergeData','combineLatest','_registerDependencies','DOC_RANGE_TYPE','HEADER_MENU','handleIRemoveCol','SessionStatus','rgba(255,\x20255,\x20255,\x200.01)','CHANGESET_REVISION_CONFILICT','_handleLeaveEvent','functionsExecutedState','BuiltInUIPart','_handleHover','842750jDHWJz','SetTextSelectionsOperation','[Unhandled\x20Rejection]:\x20','reason','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_uiPartsService','actions','@univerjs/sheets-ui','_uploadLog','getItem','_updateSubUnitFromURLParams','_unitOnClients','_disabled','DEFAULT_WS_SESSION_TICKET_URL','isActive','NOT_COLLAB','ENTITLE_NEED_BILLING_ADDRESS','contains','_document','url(#off-line-icon_clip0_910_343)','offsetY','_refRangeService','fillRule','transformRemoteChangeset','_taskIds','_cursors','getStateCache','_getScale','_docClipboardService','isTransformMutationsWithChangesetSuccess','post','EMAIL_HAS_BEEN_BOUND','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Subject','getTypeOfUnitAdded$','ENTITLE_COUPON_EXPIRED','addObject','@univerjs/design','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','disposeWithMe','highlightSecond','@univerjs/engine-render','REDEMPTION_CODE_FULLY_REDEEMED','hovered','endRow','ACTIVE_UNIT_EVENT_CHANNEL','Inactive','mergeOverrideWithDependencies','distinctUntilChanged','params','getOffsetConfig','296931QwdxAv','_transformService','pushState','location','requireSession','selection','collabStatus.syncing','REDEMPTION_INVALID_CODE','join','IUniverInstanceService','_cachedData','with','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initCommandExecutedListener','_injector','setStateCache','_highlight','_doCreateSocket','_color','IConfigService','@univerjs/ui','session.collaboration-timeout','_cursorInfo$','UniverCore','ENTITLE_REPORT_LIMIT_EXCEED','addClipboardHook','_getSaveTimeout','ENTITLE_COUPON_USED_UP','setConfig','filename','_notificationService','TEXT','AUTHORIZE_CODE_ILLEGAL','_initDependencies','_getLighterColor','min','colno','_docTransformIMECacheService','handleInsertRangeMoveRight','defIds','unshift','_scheduleHeartbeat','RevisionService','OffLineIcon','_onCursorDelete','_drawRectRange','INVALID_INVITE_CODE','onMouseMove','YUUMI_NO_CUBOID_FOR_QUESTION','_config','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getAncestorScale','LICENSE_DISTRO_REJECTED','PENDING','_status$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','push','NodePositionConvertToRectRange','backgroundColor','createIdentifier','handleIRemoveRow','max','transformMutation','_initUnhandledRejectionListener','transformSelections','_docSyncEditingCollabCursorService','collaboration.closeRoom','translate(.97)','from','_setupBeforeClosingHandler','m1Prime','InsertColCommandId','BrowserCollaborationSocketService','yellow.400','LEAVE','_textBubble','toRgbString','Success','getColor','_heartbeatTimer','disposeUnit','selections','getCurrentRevOfUnit','_startCalculationLimit','generateRandomId','_drawAnchor','WECHAT_HAS_BEEN_BOUND','get','_anchorDot','getMember','sessionStatus$','#FFF','map','onPointerEnter$','clearInterval','TOO_MANY_REQUESTS','MOBILE_VERIFY_CODE_MISMATCH','_refreshCollabCursors','getUniverSheetInstance','mask','message','RefRangeService','INVITE_CODE_REQUIRED','_entityInit$','getSkeleton','roomMembers','YUUMI_ALL_TABLES_IS_INVALID','Vector2','activeSheet$','find','YUUMI_URL_COL_OUT_OF_RANGE','useObservable','MemberService','YUUMI_AI_RUN_FAILED','replace','dispose','runRefRangeMutations','UniverEngineRender','redoState','constructor','executeCommand','_checkAndWaitForCalculationPermission','_showText','_toggleOffline','0.20.1','FormulaExecutedStateType','INVITE_CODE_ALREADY_BOUND','_hovered','currentSkeleton$','memberID','RxDisposable','onTransformChange$','debounce','black','origin','attrs','collaboration.single-unit.warning','registerDependencies','some','M0\x200H16V16H0z','catch'];_0x20d0=function(){return _0x59783f;};return _0x20d0();}
|
|
1
|
+
function _0x1170(){const _0x378a22=['unitId','getColor','min','RxDisposable','WebSocketService','UniverSheets','RichTextEditingMutation','_configService','size','UNIVER_SHEET','_removeCollabCursors','addObject','key','m1Prime','resize','result','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','engine','1em','rgba(255,\x20255,\x20255,\x200.01)','UniverSheetsUi','_renderManagerService','replaceDocRanges','getTypeOfUnitDisposed$','/universer-api/license/formula/limit/start','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','eventID','MessageType','drawWith','_initCommandExecutedListener','off-line-icon_clip0_910_343','jsx','Rectangle','roomMembers$','mask','join','ErrorCode','UniverNetwork','UniverProtocol','handleInsertRangeMoveDown','Success','status$','textRanges','collaboration.closeRoom','_blinkIntervalTimer','evenodd','prototype','setTimeout','SYNCED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','fromEventSubject','getActiveRange','addObjects','_assignedColors','on-line-icon_clip0_910_349','isTransformMutationFailure','createInstance','_updateSubUnitFromURLParams','saveOfflineData','PERMISSION_DENIED','_getAnchorBounding','_monkeyPatchLogService','path','requireSession','ONLINE','_startDocCollabCursor','_collabCursorState$','_colorIndex','UniverCollaborationClientPlugin','getSheetObject','maxFormulaLimit','createElement','_entityInit$','ranges','Disposable','subUnitId','searchParams','_refreshCollabCursors','[Window\x20Error]:\x20','0.21.0','toRgbString','_getSheetObject','registerBeforeClose','popstate','moveTo','forwardRef','iterator','_notificationService','_toggleOnline','on-line-icon','isActive','_updateLocalCursor','_anchor','selection','_getLighterColor','location','replace','debug','univer-h-8\x20univer-w-8\x20univer-rounded-lg','InsertRangeMoveRightCommandId','_stopBlinking','/universer-api/license/formula/limit/status','unload','black','setUndoRedoMutationParamsCache','3YPMfgM','getCurrentUnitForType','\x20at\x20','_handleEvent','DataLoaderService','has','getParam','replaceState','defs','focused$','_setFormulaLimitStatus','restore','_drawAnchor','show','_color','post','handleIRemoveRow','_onCursorDelete','random','LEAVE','substring','_initResize','Inactive','currentSkeleton$','_document','transform','debounce','stringify','UniverProCollaboration','AWAITING_WITH_PENDING','forEach','SheetsSelectionsService','code','split','call','FormulaExecuteStageType','Injector','memberID','_context','_online','setShapeProps','i18nKey','red.300','_revisionService','getUnitStatus$','OTHER_CLIENTS_EDITING','_removeClearOtherTimer','_maxFormulaLimit','dispose$','onStarting','collabStatus.offline','@univerjs/protocol','_initUnhandledRejectionListener','_initCommandInterceptor','loadUnit','onCommandExecuted','length','transformMutation','_startCalculationLimit','init','_localCacheService','green.600','map','string','780gpdRRC','@univerjs-pro/collaboration-client','url(#on-line-icon_clip0_910_349)','round','_initEvent','top','_pollingInterval','ILocalCacheService','_highlight','SetSelectionsOperation','xlink:href','LOCAL_CACHE_INTERVAL_KEY','setItem','undoState','\x20-\x20','type','tag','filter','version','_commandService','constructor','toPrimitive','stage','useRef','switchMap','_heartbeatTimer','SOCKET_FAILED','@univerjs/drawing','_shapes','unsubscribe','_toggleOffline','currentTheme$','getUniverSheetInstance','transformStateCache','Active','_logService','391844abOGYV','getDocRanges','getOwnPropertyDescriptor','UniverCore','Module','Inject','_collaborationUIEventService','data','univer-border-none\x20univer-bg-transparent','session.collaboration-timeout','InsertRowCommandId','removeEventListener','storage','_releaseCalculationLimit','hide','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_collaborationController','runId','collabStatus.fetchMiss','startsWith','_themeService','_disabled','USERS_LEAVE','Shape','sessionTicket','UniverProCollaborationClient','some','IRenderManagerService','getMember','_labelPosition','SheetCollabCursorShape','_taskIds','_saveCache','editingUnit','_registerDependencies','takeUntil','_createSocketURL','_getSaveTimeout','_config','event$','_cursors','_name','assignAColorForMemberID','functionsExecutedState','merge','?taskId=','getRenderById','bottom','unhandledrejection','exports','UniverCollaborationClientUIPlugin','shift','pushState','RemoteUniscriptService','runOnServer','_transformService','FromArray','collab-text-range-','packageName','colorClass','_hovered','rgb','preventDefault','get','getCellMatrix','startRow','useObservable','_scheduleHeartbeat','transformMutationsWithChangeset','_initEntityListener','lineTo','SetFormulaCalculationStartMutation','INotificationService','values','entityInit$','error','UniverEngineFormula','createSocket','UnitStatus','0.2)','clipPath','amd','IRemoteInstanceService','CollaborationSessionService','univer-text-orange-500','attrs','DeleteRangeMoveLeftCommandId','OnLineIcon','http://www.w3.org/2000/svg','isTransformMutationsWithChangesetSuccess','_docClipboardService','m2Prime','_handleHover','/universer-api/frontend/logs','useMemo','_unitStatus','fromEvent','labelPosition','getVpScrollXYInfoByPosToVp','_transformHistoryAndStateStack','_highlightSecond','collabStatus.syncing','limitInfo','white','_univerInstanceService','#0B9EFB','BehaviorSubject','releaseFormulaLimitUrl','translate(.97)','_memberID','univer-text-blue-500','width','SessionStatus','function','_messageService','hovered','_range','updateOfflineData','sessionStatus$','getRangePointData','whenReady','registerRefRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','add','div','includes','COLORS','6ExVLxz','...','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','_docTransformSelectionsService','_setupBeforeClosingHandler','connectInjector','DocStateChangeManagerService','startFormulaLimitUrl','getSheetId','BrowserCollaborationSocketService','3320MPDiAF','_isBlinkVisible','collaboration.offline-data-not-saved','CLOSE_ROOM','_instanceService','setActiveRange','unitID','serializeRangeWithSheet','InsertRangeMoveDownCommandId','name','reconnect','transformSelections','Error','syncEditingCollabCursor','DesktopCollaborationStatusDisplayController','RefRangeService','Workbook','_registerRenderDependencies','getSkeleton','_onRefRangeChange','getConfig','formula.calculation.started','SOCKET_FAILED_RETRY','shareReplay','decorate','_cursorShapes','_showGuardMessage','_anchorDot','loadOfflineData','enableFrontendLog','_showText','getFocusedUnit','docStateChange$','_offsetY','operators','ISocketService','DocSkeletonManagerService','wsSessionTicketUrl','_init','href','getAncestorScale','[RemoteUniscriptService]:\x20no\x20focused\x20unit','loading-multi-icon','backgroundColor','transformByState','purple.300','isArray','5408520mIddGV','_imageIoService','highlight','IMessageService','getRelativeToViewportCoord','mapTo','_blinkTimer','LOCAL_CACHE_INTERVAL','_startBlinking','closePath','sheetId','ThemeService','onLocalMutation','CollaborationController','getFormulaLimitStatusUrl','findNodePositionByCharIndex','getViewport','_onCursorUpdate','addEventListener','row','body','SetDocZoomRatioOperation','getItem','_sheetSkeletonManagerService','_docSyncEditingCollabCursorService','getStateCache','_lastPointer','history','HTTPService','jiqing.500','endRow','getCoordByCell','DocIMEInputManagerService','UniverProCollaborationClientUi','ITransformService','imageSourceType','RegularPolygon','subunit','_initDependencies','dispose','message','@univerjs/sheets','_textBubble','color','Failed','setInterval','_collabCursorController','_scheduleClearOtherTimer','session.will-retry','_unitOnClients','univerjs-icon\x20univerjs-icon-','CollaborationDataLoaderController','univer-text-green-500','CollaborationSocketService','lineno','default','_uiPartsService','_hover','_currentUsage','_clearPolling','Enter','isFormulaId','[Unhandled\x20Rejection]:\x20','_saveTaskMap','endColumn','_getSessionTicket','_scheduleSaving','OTHER_CLIENT_EDITING','roomMembers','DependentOn','highlightSecond','height','setParam','offsetY','SetWorksheetActivateCommand',',\x200.2)','push','distinctUntilChanged','combineLatest','_memberService','collabStatus.synced','set','currentColor','deepClone','0\x200\x2016\x2016','SUBMIT_CHANGESET_TIMEOUT','_handleJoinEvent','Tools','registerComponent','@univerjs/ui','_transformUndoRedoStack','filename','collab-client.tooltip.reconnect','_roomMembers$','CONFLICT','entries','univer-flex\x20univer-items-center\x20univer-justify-center','univer-text-red-500','NOT_COLLAB','totalFormulasToCalculate','UniverDocsUi','CollaborationEvent','PENDING','_docSkeletonManagerService','colorChannel1','spin','beginPath','exhaustSavingTask','save','all','asObservable','beforeCommandExecuted','_cursor','RemoveColCommandId','setAlpha','cursorInfo$','_clearOtherTimers','React','_id','_cachedData','6540940siLseu','FETCH_MISS','true','ILocalStorageService','_draw','yellow.400','_startSheetCollabCursor','10984784lqCUHX','EffectRefRangId','session.connection-failed','currentUsage','throttleTime','generateRandomId','parse','getUnhiddenWorksheets','getOffsetConfig','override','executionId','UniverDocs','_session','current','text','Unknown\x20user','217413WoMGzS','strokeWidth','_checkAndWaitForCalculationPermission','_docStateChangeManagerService','getColorFromTheme','_ensureSubject','RECT','svg','SetTextSelectionsOperation','@univerjs/core','getValue','AWAITING','IURLService','Loading','symbol','reason','toString','Warning','saveTaskMap','getUnit','params','_updateURLWithCurrentState','[CollaborationDataLoaderController]','redoState','onRendered','_entities','@univerjs/sheets-ui','M0\x200H16V16H0z','saveImage','_cursorInfo$','defineProperty','collabStatus.notCollab','_collabSessionService','fillRule','rgba(','urlChange$','stageInfo','clsx','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_applyCommand','setOffsetY','HEARTBEAT','UniverInstanceType','object','_send','univer-inline-flex\x20univer-items-center\x20univer-justify-center','Tooltip','_httpService','SHEET_VIEWPORT_KEY','IConfigService','BuiltInUIPart','slice','DocSelectionManagerService','indicator','children','ICommandService','_collaborationSessionService','getUnitId','getCollabEntity$','complete','deserializeRangeWithSheet','doc.mutation.rich-text-editing','rxjs','Rect','TEXT','range','ACTIVE_UNIT_EVENT_CHANNEL','collab-rect-range-','LocaleService','unshift','_refRangeService','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','unit','status','onPointerLeave$','SUCCESS','url(#$1','_lastResponseTimestamp','disposeWithMe','_getFormulaLimitStatus','handleIRemoveCol','clickable','delete','Vector2','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','_transformPreviousActiveRange','CollaborationUIEventId','_drawTextRange','getTypeOfUnitAdded$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','JOIN','search','TEXT_RANGE_LAYER_INDEX','Optional','JOIN_ROOM_FAILED','UniverRpc','_initWindowErrorListener','arc','span','@univerjs/docs-ui','measureText','parseInt','_initStatusListener','next','getSheetBySheetId','@univerjs-pro/collaboration-client-ui','pipe','[LogService\x20Error]:\x20','_status$','_backgroundColor','_urlService','fillText','collab-text-anchor-','#FFF','debounceTime','isEditing','CollaborationStatus','transformIMECache','useDependency','_selfUnitIDs','fill','clearInterval','touchDependencies','cursorInfo','mergeOverrideWithDependencies','UniverDrawing','mutations','SheetSkeletonManagerService','assign','handleDeleteRangeMoveLeft','triggerDblclick','IUIPartsService','now','UNIVER_DOC','UPDATE_CURSOR','handleMoveRange','column','DocCollaborationEntity','NO_OTHER_CLIENTS_EDITING','dirtyRanges','_initStatusComponent','displayName','WebBrowserSingleActiveUnitService','univer-m-0\x20univer-p-0','none','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','MemberService','polite','_localeService','transformRemoteChangeset','_docTransformStateCacheService','START_CALCULATION','formula.calculation.waiting','RevisionService','_updateCollabCursors','_getScale','_scene','ILogService','_initUserListener','_injector','InsertColCommandId','getUndoRedoMutationParamsCache','application/json','clearTimeout','getMemberID','1729211fueeNA','idSuffix','_uploadLog','_hasFormulaInDirtyRanges','handleDeleteRangeMoveUp','send','DOC_RANGE_TYPE','subscribeEvent','onPointerMove$','_getMergeRange','ISnapshotServerService','origin','_render','_eventUnsubscribe','handleInsertRow','_colorAssignService','stack','_drawRectRange','formula.calculation.unable','univer-appearance-none','then','use','useCallback','WebURLService','pluginName','onMouseMove','LoadingMultiIcon','fillStyle','_hideTimer','IUniverInstanceService','subscribe','with','_checkCalculationAvailable','newValue','static','catch','tooltipKey','_dataLoaderService','actions','registerDependencies','_handleHeartbeatEvent','executeCommand','@univerjs/rpc','_docTransformIMECacheService','rgba','@univerjs/docs','button'];_0x1170=function(){return _0x378a22;};return _0x1170();}function _0x3eb0(_0x35607c,_0x23c8bd){_0x35607c=_0x35607c-0xe1;const _0x117080=_0x1170();let _0x3eb0f0=_0x117080[_0x35607c];return _0x3eb0f0;}(function(_0x296b3b,_0x260d6e){const _0x2a6984=_0x3eb0,_0x4aced1=_0x296b3b();while(!![]){try{const _0x50422f=-parseInt(_0x2a6984(0x2c1))/0x1+-parseInt(_0x2a6984(0x3bd))/0x2*(parseInt(_0x2a6984(0x359))/0x3)+-parseInt(_0x2a6984(0x18d))/0x4+parseInt(_0x2a6984(0x15e))/0x5*(-parseInt(_0x2a6984(0x154))/0x6)+parseInt(_0x2a6984(0x205))/0x7+parseInt(_0x2a6984(0x20c))/0x8+parseInt(_0x2a6984(0x21c))/0x9*(parseInt(_0x2a6984(0x399))/0xa);if(_0x50422f===_0x260d6e)break;else _0x4aced1['push'](_0x4aced1['shift']());}catch(_0x435e9c){_0x4aced1['push'](_0x4aced1['shift']());}}}(_0x1170,0xdf1ad),function(_0x6306fa,_0x4882cc){const _0x58ff26=_0x3eb0;typeof exports=='object'&&typeof module<'u'?_0x4882cc(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),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`),require(`@univerjs/protocol`)):typeof define=='function'&&define[_0x58ff26(0x126)]?define([_0x58ff26(0x106),_0x58ff26(0x39a),_0x58ff26(0x225),_0x58ff26(0x1e6),_0x58ff26(0x25a),'@univerjs/design','react','react/jsx-runtime',_0x58ff26(0x2eb),_0x58ff26(0x1b6),'@univerjs/engine-render','@univerjs/network',_0x58ff26(0x27f),_0x58ff26(0x3b4),'@univerjs-pro/collaboration',_0x58ff26(0x2ee),'@univerjs/engine-formula','rxjs/operators',_0x58ff26(0x236),_0x58ff26(0x38c)],_0x4882cc):(_0x6306fa=typeof globalThis<'u'?globalThis:_0x6306fa||self,_0x4882cc(_0x6306fa[_0x58ff26(0x1ae)]={},_0x6306fa[_0x58ff26(0xee)],_0x6306fa[_0x58ff26(0x3c0)],_0x6306fa['UniverUi'],_0x6306fa['rxjs'],_0x6306fa['UniverDesign'],_0x6306fa[_0x58ff26(0x202)],_0x6306fa['React'],_0x6306fa[_0x58ff26(0x27b)],_0x6306fa[_0x58ff26(0x2f5)],_0x6306fa['UniverEngineRender'],_0x6306fa[_0x58ff26(0x315)],_0x6306fa[_0x58ff26(0x1f1)],_0x6306fa[_0x58ff26(0x299)],_0x6306fa[_0x58ff26(0x375)],_0x6306fa[_0x58ff26(0x217)],_0x6306fa[_0x58ff26(0x121)],_0x6306fa[_0x58ff26(0x25a)][_0x58ff26(0x180)],_0x6306fa[_0x58ff26(0x304)],_0x6306fa[_0x58ff26(0x316)]));}(this,function(_0x59af53,_0x5ba2ed,_0x3789e1,_0x28956d,_0x4a289e,_0x239455,_0x148fc0,_0x4f8cd5,_0x47f4ed,_0x5081db,_0x4b5cb2,_0x2ccad2,_0x4d692e,_0x5be687,_0x136fe4,_0x43a715,_0x12c154,_0x21659b,_0x35b411,_0x53e205){const _0x486c12=_0x3eb0;Object[_0x486c12(0x23a)](_0x59af53,Symbol['toStringTag'],{'value':_0x486c12(0x3c1)});function _0x412b8c({ref:_0x154f47,..._0x25e30b}){const _0xa16a68=_0x486c12;let {icon:_0x19d2e2,id:_0x5beaa6,className:_0x146bf8,extend:_0x1372c7,..._0xcd47e}=_0x25e30b,_0x5e1dab=(_0xa16a68(0x1bf)+_0x5beaa6+'\x20'+(_0x146bf8||''))['trim'](),_0x557b89=(0x0,_0x148fc0[_0xa16a68(0x3b0)])('_'+_0x4f713d());return _0x1d17e3(_0x19d2e2,''+_0x5beaa6,{'defIds':_0x19d2e2['defIds'],'idSuffix':_0x557b89[_0xa16a68(0x219)]},{'ref':_0x154f47,'className':_0x5e1dab,..._0xcd47e},_0x1372c7);}function _0x1d17e3(_0x48101e,_0x4fd882,_0x2d5cf1,_0x2b51e0,_0x79df68){const _0x4dfba9=_0x486c12;return(0x0,_0x148fc0[_0x4dfba9(0x337)])(_0x48101e[_0x4dfba9(0x3a9)],{'key':_0x4fd882,..._0x5dc3d1(_0x48101e,_0x2d5cf1,_0x79df68),..._0x2b51e0},(_0x1a2ec5(_0x48101e,_0x2d5cf1)[_0x4dfba9(0x252)]||[])[_0x4dfba9(0x397)]((_0x2c0f73,_0x20abe1)=>_0x1d17e3(_0x2c0f73,_0x4fd882+'-'+_0x48101e[_0x4dfba9(0x3a9)]+'-'+_0x20abe1,_0x2d5cf1,void 0x0,_0x79df68)));}function _0x5dc3d1(_0x53bb14,_0x42d6a3,_0x2ce14d){const _0x2d683a=_0x486c12;let _0x146a44={..._0x53bb14[_0x2d683a(0x12a)]};_0x2ce14d!=null&&_0x2ce14d[_0x2d683a(0x1f5)]&&_0x146a44['fill']===_0x2d683a(0x1f5)&&(_0x146a44[_0x2d683a(0x294)]=_0x2ce14d[_0x2d683a(0x1f5)]),_0x53bb14['tag']===_0x2d683a(0x312)&&_0x146a44['id']&&(_0x146a44['id']+=_0x42d6a3[_0x2d683a(0x2c2)]),Object[_0x2d683a(0x1ec)](_0x146a44)[_0x2d683a(0x377)](([_0xe7a392,_0x2ca131])=>{const _0x26c455=_0x2d683a;_0xe7a392==='mask'&&typeof _0x2ca131==_0x26c455(0x398)&&(_0x146a44[_0xe7a392]=_0x2ca131['replace'](/url\(#(.*)\)/,_0x26c455(0x268)+_0x42d6a3[_0x26c455(0x2c2)]+')'));});let {defIds:_0x1917b4}=_0x42d6a3;return!_0x1917b4||_0x1917b4[_0x2d683a(0x391)]===0x0?_0x146a44:(_0x53bb14[_0x2d683a(0x3a9)]===_0x2d683a(0x2d6)&&_0x146a44['xlink:href']&&(_0x146a44[_0x2d683a(0x3a3)]+=_0x42d6a3['idSuffix']),Object[_0x2d683a(0x1ec)](_0x146a44)[_0x2d683a(0x377)](([_0x54f5ab,_0x538ae7])=>{const _0x5301cc=_0x2d683a;typeof _0x538ae7==_0x5301cc(0x398)&&(_0x146a44[_0x54f5ab]=_0x538ae7[_0x5301cc(0x350)](/url\(#(.*)\)/,_0x5301cc(0x268)+_0x42d6a3['idSuffix']+')'));}),_0x146a44);}function _0x1a2ec5(_0x54de95,_0x58162d){const _0x845b84=_0x486c12;var _0x469d35;let {defIds:_0xf4bd05}=_0x58162d;return!_0xf4bd05||_0xf4bd05[_0x845b84(0x391)]===0x0?_0x54de95:_0x54de95[_0x845b84(0x3a9)]===_0x845b84(0x361)&&(_0x469d35=_0x54de95[_0x845b84(0x252)])!=null&&_0x469d35[_0x845b84(0x391)]?{..._0x54de95,'children':_0x54de95['children'][_0x845b84(0x397)](_0x2dd4ec=>typeof _0x2dd4ec[_0x845b84(0x12a)]['id']==_0x845b84(0x398)&&_0xf4bd05&&_0xf4bd05['includes'](_0x2dd4ec[_0x845b84(0x12a)]['id'])?{..._0x2dd4ec,'attrs':{..._0x2dd4ec[_0x845b84(0x12a)],'id':_0x2dd4ec[_0x845b84(0x12a)]['id']+_0x58162d[_0x845b84(0x2c2)]}}:_0x2dd4ec)}:_0x54de95;}function _0x4f713d(){const _0x31c3e4=_0x486c12;return Math[_0x31c3e4(0x36b)]()[_0x31c3e4(0x22c)](0x24)[_0x31c3e4(0x36d)](0x2,0x8);}_0x412b8c[_0x486c12(0x2a9)]='UniverIcon';let _0x2b3a9b={'tag':'svg','attrs':{'xmlns':_0x486c12(0x12d),'fill':_0x486c12(0x2ac),'viewBox':'0\x200\x2016\x2016','width':_0x486c12(0x302),'height':_0x486c12(0x302)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x486c12(0x32e),'attrs':{'stroke':_0x486c12(0x1df),'d':_0x486c12(0x2ad),'strokeLinecap':_0x486c12(0x39c),'strokeLinejoin':_0x486c12(0x39c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x486c12(0x30e)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13c),'d':_0x486c12(0x237)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x5bf108=(0x0,_0x148fc0[_0x486c12(0x345)])(function(_0x5ec82c,_0x5760eb){const _0x41540e=_0x486c12;return(0x0,_0x148fc0['createElement'])(_0x412b8c,Object[_0x41540e(0x29c)]({},_0x5ec82c,{'id':'off-line-icon','ref':_0x5760eb,'icon':_0x2b3a9b}));});_0x5bf108[_0x486c12(0x2a9)]='OffLineIcon';let _0x682c12={'tag':_0x486c12(0x223),'attrs':{'xmlns':_0x486c12(0x12d),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x486c12(0x302),'height':_0x486c12(0x302)},'children':[{'tag':'g','attrs':{'clipPath':_0x486c12(0x39b)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'stroke':_0x486c12(0x1df),'d':_0x486c12(0x300),'strokeLinecap':_0x486c12(0x39c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x486c12(0x361),'attrs':{},'children':[{'tag':_0x486c12(0x125),'attrs':{'id':_0x486c12(0x326)},'children':[{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13c),'d':_0x486c12(0x237),'transform':_0x486c12(0x141)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x19e81b=(0x0,_0x148fc0['forwardRef'])(function(_0x2ff1fe,_0x2fc17d){const _0x181945=_0x486c12;return(0x0,_0x148fc0[_0x181945(0x337)])(_0x412b8c,Object[_0x181945(0x29c)]({},_0x2ff1fe,{'id':_0x181945(0x349),'ref':_0x2fc17d,'icon':_0x682c12}));});_0x19e81b[_0x486c12(0x2a9)]=_0x486c12(0x12c);let _0x24b25b={'tag':_0x486c12(0x223),'attrs':{'xmlns':_0x486c12(0x12d),'fill':'none','viewBox':_0x486c12(0x1e1),'width':'1em','height':_0x486c12(0x302)},'children':[{'tag':'path','attrs':{'fill':_0x486c12(0x13e),'d':_0x486c12(0x156),'fillOpacity':0.2,'fillRule':_0x486c12(0x31d),'clipRule':_0x486c12(0x31d)}},{'tag':_0x486c12(0x32e),'attrs':{'fill':_0x486c12(0x13e),'d':'M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','fillRule':_0x486c12(0x31d),'clipRule':'evenodd'}}]},_0x423b97=(0x0,_0x148fc0[_0x486c12(0x345)])(function(_0x49fb54,_0x4dce00){const _0xa107f6=_0x486c12;return(0x0,_0x148fc0['createElement'])(_0x412b8c,Object['assign']({},_0x49fb54,{'id':_0xa107f6(0x188),'ref':_0x4dce00,'icon':_0x24b25b}));});_0x423b97[_0x486c12(0x2a9)]=_0x486c12(0x2db);function _0x83fed(_0x3c8afd){const _0x48f29f=_0x486c12;switch(_0x3c8afd){case _0x5ba2ed[_0x48f29f(0x290)]['OFFLINE']:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x5bf108,{}),'colorClass':_0x48f29f(0x1ee),'i18nKey':_0x48f29f(0x38b),'tooltipKey':_0x48f29f(0x1e9),'clickable':!0x0,'indicator':_0x48f29f(0x2e3)};case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x1eb)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x5bf108,{}),'colorClass':_0x48f29f(0x129),'i18nKey':'collabStatus.conflict','clickable':!0x1,'indicator':_0x48f29f(0x2e3)};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x206)]:return{'icon':(0x0,_0x4f8cd5['jsx'])(_0x423b97,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x48f29f(0xe7),'clickable':!0x1,'indicator':_0x48f29f(0x1f6)};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x1ef)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x19e81b,{}),'colorClass':'univer-text-gray-400','i18nKey':_0x48f29f(0x23b),'clickable':!0x1,'indicator':'static'};case _0x5ba2ed['CollaborationStatus'][_0x48f29f(0x227)]:case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x376)]:return{'icon':(0x0,_0x4f8cd5['jsx'])(_0x423b97,{}),'colorClass':_0x48f29f(0x143),'i18nKey':_0x48f29f(0x13a),'clickable':!0x1,'indicator':_0x48f29f(0x1f6)};case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x320)]:case _0x5ba2ed[_0x48f29f(0x290)][_0x48f29f(0x1f3)]:return{'icon':(0x0,_0x4f8cd5[_0x48f29f(0x30f)])(_0x19e81b,{}),'colorClass':_0x48f29f(0x1c1),'i18nKey':_0x48f29f(0x1dd),'clickable':!0x1,'indicator':'static'};}}function _0x4b4d17(_0x3874b3){const _0x4bc170=_0x486c12;let {status$:_0x2e19d7}=_0x3874b3,_0xd06cd1=(0x0,_0x28956d[_0x4bc170(0x117)])(_0x2e19d7,_0x5ba2ed['CollaborationStatus'][_0x4bc170(0x1ef)]),_0x29b6df=(0x0,_0x28956d[_0x4bc170(0x292)])(_0x3789e1[_0x4bc170(0x260)]),_0x451b6b=(0x0,_0x28956d[_0x4bc170(0x292)])(_0x5ba2ed[_0x4bc170(0x128)]),_0x2057b4=(0x0,_0x148fc0[_0x4bc170(0x133)])(()=>_0x83fed(_0xd06cd1),[_0xd06cd1]),_0x1db9ad=_0xd06cd1!==_0x5ba2ed['CollaborationStatus']['OFFLINE'],_0x315680=_0x29b6df['t'](_0x2057b4[_0x4bc170(0x382)]),_0x41b92c=_0x2057b4['tooltipKey']?_0x29b6df['t'](_0x2057b4[_0x4bc170(0x2e5)]):_0x315680,_0xab70f6=(0x0,_0x148fc0[_0x4bc170(0x2d7)])(()=>{const _0x204bbc=_0x4bc170;_0x1db9ad||_0x451b6b[_0x204bbc(0x168)]();},[_0x1db9ad,_0x451b6b]),_0x5725f6=(0x0,_0x148fc0['useCallback'])(_0x5ce383=>{const _0x933650=_0x4bc170;!_0x1db9ad&&(_0x5ce383['key']===_0x933650(0x1c9)||_0x5ce383[_0x933650(0x2fc)]==='\x20')&&(_0x5ce383[_0x933650(0x113)](),_0x451b6b[_0x933650(0x168)]());},[_0x1db9ad,_0x451b6b]),_0x50a6cf=(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x27e),{'className':(0x0,_0x239455[_0x4bc170(0x241)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x4bc170(0x270),_0x2057b4[_0x4bc170(0x110)],{'univer-animate-spin':_0x2057b4[_0x4bc170(0x251)]===_0x4bc170(0x1f6),'univer-animate-pulse':_0x2057b4[_0x4bc170(0x251)]==='pulse'}),'aria-hidden':_0x4bc170(0x207),'children':_0x2057b4['icon']}),_0x2fe446=(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x27e),{'className':(0x0,_0x239455[_0x4bc170(0x241)])(_0x4bc170(0x1ed),_0x4bc170(0x352),'univer-transition-all\x20univer-duration-200',_0x4bc170(0x263),'dark:focus:univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:univer-bg-gray-700':_0x2057b4[_0x4bc170(0x26d)],'univer-cursor-default':!_0x2057b4[_0x4bc170(0x26d)]}),'children':_0x50a6cf});return _0x2057b4[_0x4bc170(0x26d)]?(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x239455[_0x4bc170(0x24a)],{'title':_0x41b92c,'placement':_0x4bc170(0x104),'children':(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x4bc170(0x2ef),{'type':_0x4bc170(0x2ef),'onClick':_0xab70f6,'onKeyDown':_0x5725f6,'className':(0x0,_0x239455[_0x4bc170(0x241)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x4bc170(0x3c5),_0x4bc170(0x2ab),_0x4bc170(0x2d4)),'aria-label':_0x315680+_0x4bc170(0x3a7)+_0x41b92c,'role':_0x4bc170(0x265),'aria-live':_0x4bc170(0x2af),'aria-atomic':_0x4bc170(0x207),'children':_0x2fe446})}):(0x0,_0x4f8cd5[_0x4bc170(0x30f)])(_0x239455['Tooltip'],{'title':_0x41b92c,'placement':_0x4bc170(0x104),'children':(0x0,_0x4f8cd5['jsx'])(_0x4bc170(0x151),{'className':(0x0,_0x239455['clsx'])(_0x4bc170(0x249),_0x4bc170(0x3c5),_0x4bc170(0x2ab)),'aria-label':_0x315680,'role':_0x4bc170(0x265),'aria-live':'polite','aria-atomic':_0x4bc170(0x207),'children':_0x2fe446})});}function _0x34d6b5(_0x272f63){'@babel/helpers - typeof';const _0x5a4d0b=_0x486c12;return _0x34d6b5=typeof Symbol==_0x5a4d0b(0x146)&&typeof Symbol[_0x5a4d0b(0x346)]==_0x5a4d0b(0x22a)?function(_0x2a9e15){return typeof _0x2a9e15;}:function(_0x1a5c22){const _0x704a1c=_0x5a4d0b;return _0x1a5c22&&typeof Symbol==_0x704a1c(0x146)&&_0x1a5c22[_0x704a1c(0x3ad)]===Symbol&&_0x1a5c22!==Symbol[_0x704a1c(0x31e)]?_0x704a1c(0x22a):typeof _0x1a5c22;},_0x34d6b5(_0x272f63);}function _0x408cfb(_0xc296c3,_0x4ad84f){const _0x2e0150=_0x486c12;if(_0x34d6b5(_0xc296c3)!='object'||!_0xc296c3)return _0xc296c3;var _0x50fb4b=_0xc296c3[Symbol[_0x2e0150(0x3ae)]];if(_0x50fb4b!==void 0x0){var _0x3f4347=_0x50fb4b[_0x2e0150(0x37b)](_0xc296c3,_0x4ad84f||_0x2e0150(0x1c4));if(_0x34d6b5(_0x3f4347)!='object')return _0x3f4347;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4ad84f===_0x2e0150(0x398)?String:Number)(_0xc296c3);}function _0x21d468(_0xccac71){const _0x4e6f8d=_0x486c12;var _0x43a763=_0x408cfb(_0xccac71,_0x4e6f8d(0x398));return _0x34d6b5(_0x43a763)=='symbol'?_0x43a763:_0x43a763+'';}function _0x28a1e3(_0x47a4f7,_0x3c1a41,_0x56bb84){const _0x344b5e=_0x486c12;return(_0x3c1a41=_0x21d468(_0x3c1a41))in _0x47a4f7?Object[_0x344b5e(0x23a)](_0x47a4f7,_0x3c1a41,{'value':_0x56bb84,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x47a4f7[_0x3c1a41]=_0x56bb84,_0x47a4f7;}function _0x5dbd47(_0x34596a,_0x1f6e8d){return function(_0x559663,_0x42ad4d){_0x1f6e8d(_0x559663,_0x42ad4d,_0x34596a);};}function _0x2eed91(_0x4c7584,_0x33ebea,_0x358666,_0x3807b2){const _0x11a992=_0x486c12;var _0x4c9261=arguments[_0x11a992(0x391)],_0x24db04=_0x4c9261<0x3?_0x33ebea:_0x3807b2===null?_0x3807b2=Object[_0x11a992(0x3bf)](_0x33ebea,_0x358666):_0x3807b2,_0x5aecbc;if(typeof Reflect==_0x11a992(0x247)&&typeof Reflect[_0x11a992(0x176)]=='function')_0x24db04=Reflect[_0x11a992(0x176)](_0x4c7584,_0x33ebea,_0x358666,_0x3807b2);else{for(var _0x4dd6ae=_0x4c7584['length']-0x1;_0x4dd6ae>=0x0;_0x4dd6ae--)(_0x5aecbc=_0x4c7584[_0x4dd6ae])&&(_0x24db04=(_0x4c9261<0x3?_0x5aecbc(_0x24db04):_0x4c9261>0x3?_0x5aecbc(_0x33ebea,_0x358666,_0x24db04):_0x5aecbc(_0x33ebea,_0x358666))||_0x24db04);}return _0x4c9261>0x3&&_0x24db04&&Object[_0x11a992(0x23a)](_0x33ebea,_0x358666,_0x24db04),_0x24db04;}let _0x2f2efb=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x357c19,_0x2f27fb,_0x4e1788,_0x48c92e){const _0x2ec5fc=_0x486c12;super(),this[_0x2ec5fc(0x13d)]=_0x357c19,this[_0x2ec5fc(0x2bb)]=_0x2f27fb,this[_0x2ec5fc(0xe5)]=_0x4e1788,this['_uiPartsService']=_0x48c92e,_0x28a1e3(this,_0x2ec5fc(0x288),new _0x4a289e[(_0x2ec5fc(0x13f))](_0x5ba2ed['CollaborationStatus'][_0x2ec5fc(0x1ef)])),this['_initStatusComponent'](),this['_initStatusListener']();}[_0x486c12(0x282)](){const _0xbd4315=_0x486c12;this[_0xbd4315(0x26a)](this[_0xbd4315(0x13d)][_0xbd4315(0x362)]['pipe']((0x0,_0x4a289e[_0xbd4315(0x3b1)])(()=>{const _0x462cef=_0xbd4315;let _0x4a6d3e=this['_univerInstanceService'][_0x462cef(0x17d)]();return _0x4a6d3e?this[_0x462cef(0xe5)][_0x462cef(0x256)](_0x4a6d3e[_0x462cef(0x255)]()):(0x0,_0x4a289e['of'])(null);}),(0x0,_0x4a289e[_0xbd4315(0x3b1)])(_0x39ed51=>_0x39ed51?_0x39ed51[_0xbd4315(0x319)]:(0x0,_0x4a289e['of'])(_0x5ba2ed['CollaborationStatus'][_0xbd4315(0x1ef)])))[_0xbd4315(0x2df)](_0x47115a=>{this['_status$']['next'](_0x47115a);}));}[_0x486c12(0x2a8)](){const _0x5456e3=_0x486c12;this['disposeWithMe'](this[_0x5456e3(0x1c5)][_0x5456e3(0x1e5)](_0x28956d[_0x5456e3(0x24e)]['HEADER_MENU'],()=>(0x0,_0x28956d[_0x5456e3(0x159)])(_0xe0157a({'status$':this['_status$']['asObservable']()}),this[_0x5456e3(0x2bb)])));}};_0x2f2efb=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed['CollaborationController'])),_0x5dbd47(0x3,_0x28956d[_0x486c12(0x29f)])],_0x2f2efb);function _0xe0157a(_0x42b58a){let {status$:_0x43724c}=_0x42b58a;return function(){const _0x18ce6b=_0x3eb0;return(0x0,_0x4f8cd5[_0x18ce6b(0x30f)])(_0x4b4d17,{'status$':_0x43724c});};}let _0x1b48a9=(0x0,_0x3789e1['createIdentifier'])('uni.network.url-service'),_0xe6e34a=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x20f4ed,_0xdd982c,_0x32038e,_0x418b08,_0x3e178a){const _0x40a6b9=_0x486c12;super(),this[_0x40a6b9(0x28a)]=_0x20f4ed,this[_0x40a6b9(0x3bc)]=_0xdd982c,this['_commandService']=_0x32038e,this[_0x40a6b9(0x2e6)]=_0x418b08,_0x3e178a?_0x3e178a==null||_0x3e178a[_0x40a6b9(0x14d)]()[_0x40a6b9(0x2d5)](()=>this[_0x40a6b9(0x184)]()):(this[_0x40a6b9(0x3bc)][_0x40a6b9(0x351)](_0x40a6b9(0x232),_0x40a6b9(0x14f)),this[_0x40a6b9(0x184)]());}async[_0x486c12(0x184)](){const _0x3c4c7e=_0x486c12;let _0x22c0be=this[_0x3c4c7e(0x28a)]['getParam']('unit'),_0x232282=this[_0x3c4c7e(0x28a)][_0x3c4c7e(0x35f)](_0x3c4c7e(0x3a8)),_0x47beb9=this[_0x3c4c7e(0x28a)][_0x3c4c7e(0x35f)](_0x3c4c7e(0x1b2));if(!_0x22c0be||!_0x232282){this[_0x3c4c7e(0x3bc)][_0x3c4c7e(0x351)](_0x3c4c7e(0x232),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}let _0x40c4d4=await this[_0x3c4c7e(0x2e6)][_0x3c4c7e(0x38f)](_0x22c0be,Number(_0x232282),_0x47beb9);_0x40c4d4&&_0x40c4d4 instanceof _0x3789e1[_0x3c4c7e(0x16e)]&&this['_setupSubUnitSync'](_0x40c4d4);}async['_setupSubUnitSync'](_0x322c77){const _0x5a594e=_0x486c12;await this[_0x5a594e(0x329)](_0x322c77),_0x322c77['activeSheet$'][_0x5a594e(0x286)]((0x0,_0x4a289e[_0x5a594e(0xf8)])(this[_0x5a594e(0x389)]))[_0x5a594e(0x2df)](_0x12b1a3=>{_0x12b1a3&&this['_updateURLWithCurrentState'](_0x12b1a3);}),this[_0x5a594e(0x28a)][_0x5a594e(0x23f)]['pipe']((0x0,_0x4a289e[_0x5a594e(0xf8)])(this[_0x5a594e(0x389)]))[_0x5a594e(0x2df)](()=>this[_0x5a594e(0x329)](_0x322c77));}[_0x486c12(0x231)](_0x3cdc47,_0x49e237=!0x1){const _0x10a993=_0x486c12;let _0x3df033=this[_0x10a993(0x28a)][_0x10a993(0x35f)](_0x10a993(0x1b2));_0x3cdc47[_0x10a993(0x15c)]()!==_0x3df033&&this[_0x10a993(0x28a)][_0x10a993(0x1d5)](_0x10a993(0x1b2),_0x3cdc47[_0x10a993(0x15c)](),_0x49e237);}async[_0x486c12(0x329)](_0x41c689){const _0x39567c=_0x486c12;var _0x3bce0e;let _0x25a182=this[_0x39567c(0x28a)][_0x39567c(0x35f)]('subunit');if(!_0x25a182||!_0x41c689[_0x39567c(0x284)](_0x25a182)){let _0x5dfa08=_0x41c689[_0x39567c(0x213)]()[0x0],_0x28212a=_0x41c689[_0x39567c(0x284)](_0x5dfa08);if(!_0x28212a)return;this[_0x39567c(0x231)](_0x28212a,!0x0),await this[_0x39567c(0x3ac)][_0x39567c(0x2ea)](_0x5081db[_0x39567c(0x1d7)]['id'],{'unitId':_0x41c689[_0x39567c(0x255)](),'subUnitId':_0x5dfa08});return;}((_0x3bce0e=_0x41c689['getActiveSheet']())==null?void 0x0:_0x3bce0e[_0x39567c(0x15c)]())!==_0x25a182&&await this[_0x39567c(0x3ac)]['executeCommand'](_0x5081db[_0x39567c(0x1d7)]['id'],{'unitId':_0x41c689['getUnitId'](),'subUnitId':_0x25a182});}};_0xe6e34a=_0x2eed91([_0x5dbd47(0x0,_0x1b48a9),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x2b9)]),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x5ba2ed[_0x486c12(0x35d)])),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x279)])(_0x47f4ed[_0x486c12(0x127)]))],_0xe6e34a);var _0x606168=_0x486c12(0x285),_0x34f54e=_0x486c12(0x33f);let _0x560036=class extends _0x3789e1['RxDisposable']{constructor(_0x1d10c6,_0x208f3f){const _0x5bd632=_0x486c12;super(),this['_docClipboardService']=_0x1d10c6,this[_0x5bd632(0x18e)]=_0x208f3f,this[_0x5bd632(0x184)]();}['_init'](){const _0x5d4c82=_0x486c12;let _0x26defa=this;this['disposeWithMe'](this[_0x5d4c82(0x12f)]['addClipboardHook']({'onBeforePasteImage':async _0x44a74f=>{const _0x4df972=_0x5d4c82;let _0x1b5cab=await _0x26defa['_imageIoService'][_0x4df972(0x238)](_0x44a74f);return _0x1b5cab?{'source':_0x1b5cab['source'],'imageSourceType':_0x1b5cab[_0x4df972(0x1b0)]}:null;}}));}};_0x560036=_0x2eed91([_0x5dbd47(0x0,_0x4d692e['IDocClipboardService']),_0x5dbd47(0x1,_0x5be687['IImageIoService'])],_0x560036);let _0x4cbed8=[_0x486c12(0x18b),_0x486c12(0x1aa),_0x486c12(0x396),_0x486c12(0x383),'blue.400',_0x486c12(0x20a)];var _0x3e01b5=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(..._0xa81c6f){const _0xa93aa4=_0x486c12;super(..._0xa81c6f),_0x28a1e3(this,'_assignedColors',new Map()),_0x28a1e3(this,_0xa93aa4(0x333),0x0);}[_0x486c12(0xff)](_0xb79f37){const _0x3b2466=_0x486c12;if(this[_0x3b2466(0x325)]['has'](_0xb79f37))return this[_0x3b2466(0x325)]['get'](_0xb79f37);let _0x16fc3a=_0x4cbed8[this['_colorIndex']];return this[_0x3b2466(0x333)]=(this[_0x3b2466(0x333)]+0x1)%_0x4cbed8[_0x3b2466(0x391)],this[_0x3b2466(0x325)][_0x3b2466(0x1de)](_0xb79f37,_0x16fc3a),_0x16fc3a;}},_0x32684e=function(_0x785c03){const _0x37459d=_0x486c12;return _0x785c03[_0x37459d(0x3bb)]='1',_0x785c03[_0x37459d(0x36f)]='0',_0x785c03;}(_0x32684e||{});function _0x5138d6(_0x5258d5){const _0x3e8632=_0x486c12;let _0x2d9314='';for(let _0x2cc0d3 of _0x5258d5){let {startOffset:_0x1304b6,endOffset:_0x11ebb8,isActive:_0x46ce0d,rangeType:_0x3a4701,segmentId:_0x2ca50e,segmentPage:_0x59f267}=_0x2cc0d3;_0x2d9314['length']&&(_0x2d9314+=','),_0x2d9314+=_0x1304b6+':'+_0x11ebb8+':'+(_0x46ce0d?_0x32684e[_0x3e8632(0x3bb)]:_0x32684e[_0x3e8632(0x36f)])+':'+_0x3a4701+':'+_0x2ca50e+':'+_0x59f267;}return _0x2d9314;}function _0x429d89(_0xae8d4f){const _0x476aa1=_0x486c12;let _0x15fe18=_0xae8d4f[_0x476aa1(0x37a)](','),_0x2996ed=[];for(let _0x41595e of _0x15fe18){let [_0x2ba73d,_0x429348,_0x249a9d,_0x146f29,_0x163b2f,_0x59f943]=_0x41595e[_0x476aa1(0x37a)](':');_0x2996ed[_0x476aa1(0x1d9)]({'startOffset':Number(_0x2ba73d),'endOffset':Number(_0x429348),'collapsed':_0x2ba73d===_0x429348,'isActive':_0x249a9d===_0x32684e[_0x476aa1(0x3bb)],'rangeType':_0x146f29===_0x3789e1[_0x476aa1(0x2c7)]['TEXT']?_0x3789e1[_0x476aa1(0x2c7)][_0x476aa1(0x25c)]:_0x3789e1[_0x476aa1(0x2c7)]['RECT'],'segmentId':typeof _0x163b2f==_0x476aa1(0x398)?String(_0x163b2f):'','segmentPage':Number(_0x59f943==null?-0x1:_0x59f943)});}return _0x2996ed[_0x476aa1(0xef)](_0x253325=>_0x253325[_0x476aa1(0x34a)])||(_0x2996ed[0x0][_0x476aa1(0x34a)]=!0x0),_0x2996ed;}var _0xb4d8f5=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(..._0x2ee086){const _0x716738=_0x486c12;super(..._0x2ee086),_0x28a1e3(this,'_collabCursorState$',new _0x4a289e['BehaviorSubject'](null)),_0x28a1e3(this,'collabCursorState$',this[_0x716738(0x332)][_0x716738(0x1fb)]());}[_0x486c12(0x16b)](_0x30068a){const _0x2eef3e=_0x486c12;let {unitID:_0x4ce52a,memberID:_0x2c9828,textRanges:_0x5d9b2d}=_0x30068a,_0x2570dd=_0x5138d6(_0x5d9b2d);if(_0x2570dd==='')return;let _0x44014c={'unitID':_0x4ce52a,'memberID':_0x2c9828,'selection':_0x2570dd};this['_collabCursorState$'][_0x2eef3e(0x283)](_0x44014c);}};let _0x443cbb=class extends _0x3789e1[_0x486c12(0x2f3)]{get[_0x486c12(0x297)](){const _0x251928=_0x486c12;return this[_0x251928(0x239)][_0x251928(0x226)]();}get['roomMembers'](){const _0x4f9e82=_0x486c12;return this[_0x4f9e82(0x1ea)][_0x4f9e82(0x226)]();}constructor(_0x52bcce,_0x131d5f,_0x4489b5,_0x2fd13c,_0x11d727,_0x2526be,_0x1272cd,_0xff233d,_0x1258ed){const _0x53f315=_0x486c12;super(),this['unitID']=_0x52bcce,this['_session']=_0x131d5f,this['_injector']=_0x4489b5,this['_colorAssignService']=_0x2fd13c,this[_0x53f315(0x1dc)]=_0x11d727,this['_syncEditingCollabCursorService']=_0x2526be,this[_0x53f315(0x10c)]=_0x1272cd,this[_0x53f315(0x13d)]=_0xff233d,this[_0x53f315(0x3ac)]=_0x1258ed,_0x28a1e3(this,_0x53f315(0x380),!0x1),_0x28a1e3(this,_0x53f315(0x184),!0x1),_0x28a1e3(this,_0x53f315(0x239),new _0x4a289e['BehaviorSubject'](new Map())),_0x28a1e3(this,_0x53f315(0x200),this[_0x53f315(0x239)]['asObservable']()),_0x28a1e3(this,_0x53f315(0x1ea),new _0x4a289e['BehaviorSubject']([])),_0x28a1e3(this,_0x53f315(0x311),this[_0x53f315(0x1ea)][_0x53f315(0x286)]((0x0,_0x4a289e[_0x53f315(0x28e)])(0x12c))),_0x28a1e3(this,_0x53f315(0x34b),(0x0,_0x3789e1[_0x53f315(0x373)])(_0x173009=>{const _0x583fc3=_0x53f315;let _0x53924={'eventID':_0x136fe4[_0x583fc3(0x1f2)][_0x583fc3(0x2a2)],'data':{'unitID':this[_0x583fc3(0x164)],'memberID':this[_0x583fc3(0x218)][_0x583fc3(0x2c0)](),'selection':_0x5138d6(_0x173009)}};this['_session'][_0x583fc3(0x2c6)](_0x53924,this[_0x583fc3(0x164)]);},0x64));}[_0x486c12(0x1b4)](){const _0x3e9109=_0x486c12;super[_0x3e9109(0x1b4)](),this[_0x3e9109(0x239)][_0x3e9109(0x283)](new Map()),this[_0x3e9109(0x239)]['complete'](),this[_0x3e9109(0x1ea)][_0x3e9109(0x283)]([]),this[_0x3e9109(0x1ea)]['complete']();}[_0x486c12(0x394)](){const _0x19f062=_0x486c12;this[_0x19f062(0x184)]||(this[_0x19f062(0x184)]=!0x0,this[_0x19f062(0x218)][_0x19f062(0x14b)][_0x19f062(0x286)]((0x0,_0x4a289e['takeUntil'])(this[_0x19f062(0x389)]))[_0x19f062(0x2df)](_0x27b979=>{const _0x27336d=_0x19f062;_0x27b979===_0x5ba2ed[_0x27336d(0x145)]['ONLINE']?this[_0x27336d(0x348)]():this[_0x27336d(0x3b7)]();}),this[_0x19f062(0x218)][_0x19f062(0xfc)][_0x19f062(0x286)]((0x0,_0x4a289e[_0x19f062(0xf8)])(this['dispose$']))[_0x19f062(0x2df)](_0x492d51=>{const _0xb02562=_0x19f062;let _0x4d10df=_0x492d51['eventID'];_0x4d10df===_0x136fe4['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x492d51),_0x4d10df===_0x136fe4[_0xb02562(0x1f2)][_0xb02562(0xeb)]&&this[_0xb02562(0x36a)](_0x492d51);}),this[_0x19f062(0x26a)](this['_commandService'][_0x19f062(0x390)](_0x131ebe=>{const _0x3874aa=_0x19f062;let _0x1d1624=_0x131ebe[_0x3874aa(0x230)];_0x1d1624!=null&&this['_online']&&_0x131ebe['id']===_0x43a715[_0x3874aa(0x224)]['id']&&_0x1d1624[_0x3874aa(0x2f0)]===this['unitID']&&_0x1d1624[_0x3874aa(0x28f)]===!0x1&&_0x1d1624['ranges']['length']>0x0&&this[_0x3874aa(0x34b)](_0x1d1624[_0x3874aa(0x339)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe']((0x0,_0x4a289e['takeUntil'])(this[_0x19f062(0x389)]))[_0x19f062(0x2df)](_0x4b8b36=>{const _0xe67b1b=_0x19f062;if((_0x4b8b36==null?void 0x0:_0x4b8b36[_0xe67b1b(0x164)])!==this['unitID'])return;let _0x26c39e={'eventID':_0x136fe4[_0xe67b1b(0x1f2)][_0xe67b1b(0x2a2)],'data':_0x4b8b36};this[_0xe67b1b(0x19e)](_0x26c39e);}),this[_0x19f062(0x26a)](this[_0x19f062(0x3ac)]['onCommandExecuted'](_0x3bd3ce=>{const _0x17e757=_0x19f062;if(_0x3bd3ce['params']==null)return;let _0x2bb3af=_0x3bd3ce[_0x17e757(0x230)];if(_0x3bd3ce['id']!==_0x43a715[_0x17e757(0x2f6)]['id']||_0x2bb3af['unitId']!==this[_0x17e757(0x164)])return;let _0xdf87a7={'id':_0x17e757(0x259),'params':_0x2bb3af},_0x232d06=this[_0x17e757(0x297)];for(let [_0x39850f,_0x308d7b]of _0x232d06){let _0x355df0={'id':_0x17e757(0x259),'params':{'unitId':this[_0x17e757(0x164)],'actions':null,'textRanges':_0x308d7b[_0x17e757(0x339)]}},_0x5a2aa0=this[_0x17e757(0x10c)][_0x17e757(0x392)](_0xdf87a7,_0x355df0,!0x1);if((0x0,_0x136fe4[_0x17e757(0x327)])(_0x5a2aa0))throw _0x5a2aa0[_0x17e757(0x120)];_0x232d06[_0x17e757(0x1de)](_0x39850f,{..._0x308d7b,'ranges':_0x5a2aa0[_0x17e757(0x130)]['params']['textRanges']});}queueMicrotask(()=>{const _0x4341b6=_0x17e757;this[_0x4341b6(0x239)][_0x4341b6(0x283)](_0x232d06);});})));}[_0x486c12(0x19e)](_0x27c495){const _0x4cb6f2=_0x486c12;var _0xada09,_0x2a9074;let {memberID:_0x4c460e,selection:_0x8f2140}=_0x27c495['data'],_0x2212b4=_0x429d89(_0x8f2140),_0x1e3a10=(_0xada09=(_0x2a9074=this[_0x4cb6f2(0x1dc)]['getMember'](this[_0x4cb6f2(0x164)],_0x4c460e))==null?void 0x0:_0x2a9074[_0x4cb6f2(0x167)])==null?_0x4cb6f2(0x21b):_0xada09,_0x4072f8={'color':this[_0x4cb6f2(0x2d0)][_0x4cb6f2(0xff)](_0x4c460e),'name':_0x1e3a10,'ranges':_0x2212b4},_0x51d523=this[_0x4cb6f2(0x297)];_0x51d523[_0x4cb6f2(0x1de)](_0x4c460e,_0x4072f8),this[_0x4cb6f2(0x239)][_0x4cb6f2(0x283)](_0x51d523);}[_0x486c12(0x36a)](_0x373a7d){const _0x703077=_0x486c12;let {memberID:_0x17c173}=_0x373a7d[_0x703077(0x3c4)],_0xdc4cc0=this[_0x703077(0x297)];_0xdc4cc0[_0x703077(0x26e)](_0x17c173),this[_0x703077(0x239)][_0x703077(0x283)](_0xdc4cc0);}['_toggleOnline'](){const _0x18bb2f=_0x486c12;var _0x516587;if(this[_0x18bb2f(0x380)]=!0x0,((_0x516587=this[_0x18bb2f(0x13d)][_0x18bb2f(0x17d)]())==null?void 0x0:_0x516587[_0x18bb2f(0x255)]())!==this[_0x18bb2f(0x164)])return;let _0x1fe2b1=this['_injector'][_0x18bb2f(0x114)](_0x43a715[_0x18bb2f(0x250)])[_0x18bb2f(0x3be)]();Array['isArray'](_0x1fe2b1)&&_0x1fe2b1['length']>0x0&&this['_updateLocalCursor'](_0x1fe2b1);}['_toggleOffline'](){const _0x3b6b00=_0x486c12;this[_0x3b6b00(0x380)]=!0x1;}};_0x443cbb=_0x2eed91([_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x3e01b5)),_0x5dbd47(0x4,(0x0,_0x3789e1['Inject'])(_0x5ba2ed[_0x486c12(0x2ae)])),_0x5dbd47(0x5,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0xb4d8f5)),_0x5dbd47(0x6,_0x136fe4[_0x486c12(0x1af)]),_0x5dbd47(0x7,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x8,_0x3789e1[_0x486c12(0x253)])],_0x443cbb);let _0x54474f=()=>{let _0x2e032d=[],_0x2bfdf4=!0x1;return _0x5e1ead=>{_0x2e032d['push'](_0x5e1ead),_0x2bfdf4||(_0x2bfdf4=!0x0,setTimeout(()=>{const _0x5085a4=_0x3eb0;_0x2e032d[_0x5085a4(0x377)](_0x5c9302=>_0x5c9302()),_0x2e032d=[],_0x2bfdf4=!0x1;}));};},_0x35ff85=class extends _0x3789e1[_0x486c12(0x2f3)]{get[_0x486c12(0x297)](){const _0x557e5e=_0x486c12;return this[_0x557e5e(0x239)][_0x557e5e(0x226)]();}get[_0x486c12(0x1d1)](){const _0x3ad4da=_0x486c12;return this[_0x3ad4da(0x1ea)][_0x3ad4da(0x226)]();}constructor(_0x4634e9,_0x12a1c3,_0x109dae,_0x9189d1,_0x31007c,_0x3ab41d,_0x1e09d9,_0x21594e){const _0x2ea6a5=_0x486c12;super(),this[_0x2ea6a5(0x164)]=_0x4634e9,this['_session']=_0x12a1c3,this[_0x2ea6a5(0x2bb)]=_0x109dae,this[_0x2ea6a5(0x2d0)]=_0x9189d1,this[_0x2ea6a5(0x1dc)]=_0x31007c,this[_0x2ea6a5(0x13d)]=_0x3ab41d,this[_0x2ea6a5(0x3ac)]=_0x1e09d9,this['_refRangeService']=_0x21594e,_0x28a1e3(this,_0x2ea6a5(0x380),!0x1),_0x28a1e3(this,_0x2ea6a5(0x184),!0x1),_0x28a1e3(this,'_cursorInfo$',new _0x4a289e[(_0x2ea6a5(0x13f))](new Map())),_0x28a1e3(this,_0x2ea6a5(0x200),this[_0x2ea6a5(0x239)][_0x2ea6a5(0x1fb)]()),_0x28a1e3(this,'_roomMembers$',new _0x4a289e[(_0x2ea6a5(0x13f))]([])),_0x28a1e3(this,_0x2ea6a5(0x311),this[_0x2ea6a5(0x1ea)]['pipe']((0x0,_0x4a289e[_0x2ea6a5(0x28e)])(0x12c))),_0x28a1e3(this,_0x2ea6a5(0x34b),(0x0,_0x3789e1['debounce'])((_0x27abfc,_0x40ab46)=>{const _0x3d6e67=_0x2ea6a5;let _0x121ef3={'eventID':_0x136fe4[_0x3d6e67(0x1f2)][_0x3d6e67(0x2a2)],'data':{'unitID':this[_0x3d6e67(0x164)],'memberID':this[_0x3d6e67(0x218)]['getMemberID'](),'selection':(0x0,_0x12c154[_0x3d6e67(0x165)])(_0x27abfc,_0x40ab46[_0x3d6e67(0x25d)])}};this['_session']['send'](_0x121ef3,this[_0x3d6e67(0x164)]);},0x64));}[_0x486c12(0x1b4)](){const _0x270a13=_0x486c12;super[_0x270a13(0x1b4)](),this[_0x270a13(0x239)][_0x270a13(0x283)](new Map()),this[_0x270a13(0x239)][_0x270a13(0x257)](),this['_roomMembers$']['next']([]),this[_0x270a13(0x1ea)][_0x270a13(0x257)]();}[_0x486c12(0x394)](){const _0x5f425d=_0x486c12;this[_0x5f425d(0x184)]||(this[_0x5f425d(0x184)]=!0x0,this[_0x5f425d(0x218)]['sessionStatus$'][_0x5f425d(0x286)]((0x0,_0x4a289e['takeUntil'])(this['dispose$']))[_0x5f425d(0x2df)](_0x26ec04=>{const _0x4728a5=_0x5f425d;_0x26ec04===_0x5ba2ed['SessionStatus'][_0x4728a5(0x330)]?this[_0x4728a5(0x348)]():this['_toggleOffline']();}),this[_0x5f425d(0x218)][_0x5f425d(0xfc)][_0x5f425d(0x286)]((0x0,_0x4a289e[_0x5f425d(0xf8)])(this[_0x5f425d(0x389)]))[_0x5f425d(0x2df)](_0x207e0f=>{const _0x329e62=_0x5f425d;let _0x1cff83=_0x207e0f[_0x329e62(0x30a)];_0x1cff83===_0x136fe4['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x329e62(0x19e)](_0x207e0f),_0x1cff83===_0x136fe4['CollaborationEvent']['USERS_LEAVE']&&this[_0x329e62(0x36a)](_0x207e0f);}),this[_0x5f425d(0x171)](),this[_0x5f425d(0x26a)](this[_0x5f425d(0x3ac)][_0x5f425d(0x390)](_0x58fa97=>{const _0x394126=_0x5f425d;if(this[_0x394126(0x380)]&&_0x58fa97['id']===_0x5081db[_0x394126(0x3a2)]['id']&&_0x58fa97[_0x394126(0x230)][_0x394126(0x2f0)]===this[_0x394126(0x164)]){let _0x36fe10=_0x58fa97['params'];this[_0x394126(0x34b)](_0x36fe10[_0x394126(0x33b)],_0x36fe10['selections'][0x0]);}})));}[_0x486c12(0x19e)](_0x302a25){const _0xaa2a92=_0x486c12;var _0x16a206,_0x3208f7;let {memberID:_0x521d7d,selection:_0xc5707b}=_0x302a25[_0xaa2a92(0x3c4)],{sheetName:_0x53ebec,range:_0x154280}=(0x0,_0x12c154[_0xaa2a92(0x258)])(_0xc5707b),_0x235b8e={'name':(_0x16a206=(_0x3208f7=this['_memberService'][_0xaa2a92(0xf1)](this[_0xaa2a92(0x164)],_0x521d7d))==null?void 0x0:_0x3208f7[_0xaa2a92(0x167)])==null?_0xaa2a92(0x21b):_0x16a206,'range':this[_0xaa2a92(0x2ca)](_0x53ebec,_0x154280),'sheetID':_0x53ebec,'color':this[_0xaa2a92(0x2d0)][_0xaa2a92(0xff)](_0x521d7d),'selection':_0xc5707b},_0x10ce8d=this[_0xaa2a92(0x297)];_0x10ce8d[_0xaa2a92(0x1de)](_0x521d7d,_0x235b8e),this[_0xaa2a92(0x239)][_0xaa2a92(0x283)](_0x10ce8d);}[_0x486c12(0x36a)](_0x158f55){const _0x4aa443=_0x486c12;let {memberID:_0xfab6c9}=_0x158f55[_0x4aa443(0x3c4)],_0xd04186=this[_0x4aa443(0x297)];_0xd04186[_0x4aa443(0x26e)](_0xfab6c9),this[_0x4aa443(0x239)][_0x4aa443(0x283)](_0xd04186);}[_0x486c12(0x2ca)](_0x397d71,_0x65c539){const _0x486ca6=_0x486c12;var _0x1eb8b3;let _0x4f3cc6=(_0x1eb8b3=this['_univerInstanceService'][_0x486ca6(0x3b9)](this[_0x486ca6(0x164)]))==null||(_0x1eb8b3=_0x1eb8b3[_0x486ca6(0x284)](_0x397d71))==null?void 0x0:_0x1eb8b3['getMergeData']();return(_0x4f3cc6==null?void 0x0:_0x4f3cc6['find'](_0x4c5232=>_0x3789e1[_0x486ca6(0x310)]['contains'](_0x4c5232,_0x65c539)))||_0x65c539;}[_0x486c12(0x171)](){const _0x24fc46=_0x486c12;let _0x1de951=new _0x3789e1['DisposableCollection'](),_0xc23063=_0x54474f(),_0x1cfdc3=()=>{const _0x518b4d=_0x3eb0;_0x1de951['dispose']();let _0x5d91ee=(_0x486fdf,_0x551ae8,_0x4d7cd9,_0x4f28b6)=>{const _0x190e0d=_0x3eb0;let _0x4893b4=[];switch(_0x486fdf['id']){case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x12b)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x29d)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['DeleteRangeMoveUpCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2c5)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x2bc)]:_0x4893b4=(0x0,_0x5081db['handleInsertCol'])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x166)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x317)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x353)]:_0x4893b4=(0x0,_0x5081db['handleInsertRangeMoveRight'])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x3c7)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2cf)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['MoveRangeCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x2a3)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)][_0x190e0d(0x1fe)]:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x26c)])(_0x486fdf,_0x4f28b6);break;case _0x5081db[_0x190e0d(0x20d)]['RemoveRowCommandId']:_0x4893b4=(0x0,_0x5081db[_0x190e0d(0x369)])(_0x486fdf,_0x4f28b6);break;}let _0x4d6a1d=(0x0,_0x5081db['runRefRangeMutations'])(_0x4893b4,_0x4f28b6),_0x343478=this['cursorInfo'][_0x190e0d(0x114)](_0x551ae8);if(_0x343478&&_0x4d6a1d){let _0x885a1c={..._0x343478,'range':_0x4d6a1d};this[_0x190e0d(0x297)][_0x190e0d(0x1de)](_0x551ae8,_0x885a1c),_0xc23063(()=>{const _0x577f23=_0x190e0d;let _0x29c0dc=this[_0x577f23(0x262)][_0x577f23(0x14e)](_0x4d6a1d,_0x1a11d7=>(_0x29c0dc[_0x577f23(0x1b4)](),_0x5d91ee(_0x1a11d7,_0x551ae8,_0x4d7cd9,_0x4d6a1d)));_0x1de951['add'](_0x29c0dc);});}return{'redos':[],'undos':[]};};this[_0x518b4d(0x297)][_0x518b4d(0x377)]((_0x2b29ab,_0x1345e3)=>{const _0x845aa4=_0x518b4d;let {range:_0x3404d3,sheetID:_0x2f9556}=_0x2b29ab,_0xc7475e=this['_refRangeService'][_0x845aa4(0x14e)](_0x3404d3,_0x28faf9=>(_0xc7475e[_0x845aa4(0x1b4)](),_0x5d91ee(_0x28faf9,_0x1345e3,_0x2f9556,_0x3404d3)));_0x1de951['add'](_0xc7475e);});};this['disposeWithMe']((0x0,_0x3789e1['toDisposable'])(this['_cursorInfo$'][_0x24fc46(0x2df)](()=>{_0x1cfdc3();})));}[_0x486c12(0x348)](){const _0x18aa1d=_0x486c12;var _0x5d0bb7,_0x58819d;if(this[_0x18aa1d(0x380)]=!0x0,((_0x5d0bb7=this[_0x18aa1d(0x13d)][_0x18aa1d(0x17d)]())==null?void 0x0:_0x5d0bb7[_0x18aa1d(0x255)]())!==this[_0x18aa1d(0x164)])return;let _0xb09e00=(_0x58819d=this[_0x18aa1d(0x2bb)][_0x18aa1d(0x114)](_0x5081db[_0x18aa1d(0x378)])['getCurrentSelections']())==null?void 0x0:_0x58819d[0x0],_0x29fa3c=this['_univerInstanceService'][_0x18aa1d(0x35a)](_0x3789e1[_0x18aa1d(0x246)][_0x18aa1d(0x2f9)])['getActiveSheet']();_0xb09e00&&_0x29fa3c&&this[_0x18aa1d(0x34b)](_0x29fa3c[_0x18aa1d(0x15c)](),_0xb09e00);}[_0x486c12(0x3b7)](){this['_online']=!0x1;}};_0x35ff85=_0x2eed91([_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3e01b5)),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x2ae)])),_0x5dbd47(0x5,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x6,_0x3789e1['ICommandService']),_0x5dbd47(0x7,(0x0,_0x3789e1['Inject'])(_0x5081db[_0x486c12(0x16d)]))],_0x35ff85);let _0x59bc3e=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x5b1676,_0x4d8b34,_0x57bcac){const _0x1cbf1=_0x486c12;super(),this[_0x1cbf1(0x13d)]=_0x5b1676,this['_injector']=_0x4d8b34,this[_0x1cbf1(0x23c)]=_0x57bcac,_0x28a1e3(this,_0x1cbf1(0x235),new Map()),_0x28a1e3(this,_0x1cbf1(0x338),new _0x4a289e['Subject']()),this['_init']();}[_0x486c12(0x1b4)](){const _0x5a8f65=_0x486c12;super[_0x5a8f65(0x1b4)](),this[_0x5a8f65(0x338)][_0x5a8f65(0x257)](),this[_0x5a8f65(0x235)][_0x5a8f65(0x377)](_0x891527=>_0x891527[_0x5a8f65(0x1b4)]());}['getCollabCursors$'](_0xaac18e){const _0x450c12=_0x486c12;return this[_0x450c12(0x235)][_0x450c12(0x35e)](_0xaac18e)?this['_entities'][_0x450c12(0x114)](_0xaac18e)[_0x450c12(0x200)]:this['_entityInit$']['pipe']((0x0,_0x4a289e['filter'])(_0x516596=>_0x516596[_0x450c12(0x164)]===_0xaac18e),(0x0,_0x4a289e[_0x450c12(0x3b1)])(_0x2d4b09=>_0x2d4b09[_0x450c12(0x200)]));}['_init'](){const _0x120b07=_0x486c12;this[_0x120b07(0x13d)][_0x120b07(0x274)](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2f9)])[_0x120b07(0x286)]((0x0,_0x4a289e[_0x120b07(0xf8)])(this[_0x120b07(0x389)]))[_0x120b07(0x2df)](async _0x4176f6=>{const _0x1725cf=_0x120b07;let _0xf9fbbb=_0x4176f6[_0x1725cf(0x255)](),_0x3dba44=await this[_0x1725cf(0x20b)](_0xf9fbbb);this[_0x1725cf(0x338)][_0x1725cf(0x283)](_0x3dba44),this[_0x1725cf(0x235)][_0x1725cf(0x1de)](_0xf9fbbb,_0x3dba44);}),this[_0x120b07(0x13d)]['getTypeOfUnitAdded$'](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2a1)])[_0x120b07(0x286)]((0x0,_0x4a289e['takeUntil'])(this[_0x120b07(0x389)]))['pipe']((0x0,_0x4a289e[_0x120b07(0x3aa)])(_0x1df644=>!_0x1df644[_0x120b07(0x255)]()[_0x120b07(0xe8)]('__')))[_0x120b07(0x2df)](async _0x3896fb=>{const _0x35f852=_0x120b07;let _0x2b3962=_0x3896fb[_0x35f852(0x255)](),_0x105b95=await this[_0x35f852(0x331)](_0x2b3962);this['_entityInit$'][_0x35f852(0x283)](_0x105b95),this[_0x35f852(0x235)][_0x35f852(0x1de)](_0x2b3962,_0x105b95);}),(0x0,_0x4a289e[_0x120b07(0x101)])(this[_0x120b07(0x13d)][_0x120b07(0x307)](_0x3789e1[_0x120b07(0x246)][_0x120b07(0x2a1)]),this[_0x120b07(0x13d)][_0x120b07(0x307)](_0x3789e1[_0x120b07(0x246)]['UNIVER_SHEET']))[_0x120b07(0x286)]((0x0,_0x4a289e[_0x120b07(0xf8)])(this['dispose$']))[_0x120b07(0x2df)](_0x3c892d=>{const _0x39af94=_0x120b07;let _0x52b57b=_0x3c892d['getUnitId'](),_0x33e041=this[_0x39af94(0x235)][_0x39af94(0x114)](_0x52b57b);_0x33e041&&(_0x33e041[_0x39af94(0x1b4)](),this[_0x39af94(0x235)][_0x39af94(0x26e)](_0x52b57b));});}async['_startSheetCollabCursor'](_0x53111c){const _0x155f91=_0x486c12;let _0x7d5ef9=await this[_0x155f91(0x23c)][_0x155f91(0x32f)](_0x53111c),_0x2bcc3b=this[_0x155f91(0x2bb)][_0x155f91(0x328)](_0x35ff85,_0x53111c,_0x7d5ef9);return _0x2bcc3b[_0x155f91(0x394)](),_0x2bcc3b;}async[_0x486c12(0x331)](_0x31011d){const _0x38265a=_0x486c12;let _0x2af25c=await this['_collabSessionService'][_0x38265a(0x32f)](_0x31011d),_0x259f3a=this[_0x38265a(0x2bb)][_0x38265a(0x328)](_0x443cbb,_0x31011d,_0x2af25c);return _0x259f3a[_0x38265a(0x394)](),_0x259f3a;}};_0x59bc3e=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x128)]))],_0x59bc3e);function _0x2b2b89(_0xe705a3,_0x64ea77){const _0x320958=_0x486c12;var _0x313a87,_0x34160e,_0x394d5f;let {radius:_0x327d74,width:_0x53222c,height:_0x4c72da}=_0x64ea77;_0x327d74=(_0x313a87=_0x327d74)==null?0x0:_0x313a87,_0x53222c=(_0x34160e=_0x53222c)==null?0x1e:_0x34160e,_0x4c72da=(_0x394d5f=_0x4c72da)==null?0x1e:_0x394d5f;let _0x42fa09=0x0,_0x391d75=0x0,_0x2f5dba=0x0;_0x42fa09=_0x391d75=_0x2f5dba=Math[_0x320958(0x2f2)](_0x327d74,_0x53222c/0x2,_0x4c72da/0x2),_0xe705a3[_0x320958(0x1f7)](),_0xe705a3[_0x320958(0x344)](_0x42fa09,0x0),_0xe705a3['lineTo'](_0x53222c-_0x391d75,0x0),_0xe705a3[_0x320958(0x27d)](_0x53222c-_0x391d75,_0x391d75,_0x391d75,Math['PI']*0x3/0x2,0x0,!0x1),_0xe705a3[_0x320958(0x11b)](_0x53222c,_0x4c72da-_0x2f5dba),_0xe705a3[_0x320958(0x27d)](_0x53222c-_0x2f5dba,_0x4c72da-_0x2f5dba,_0x2f5dba,0x0,Math['PI']/0x2,!0x1),_0xe705a3[_0x320958(0x11b)](0x0,_0x4c72da),_0xe705a3[_0x320958(0x11b)](0x0,_0x42fa09),_0xe705a3[_0x320958(0x27d)](_0x42fa09,_0x42fa09,_0x42fa09,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe705a3[_0x320958(0x196)](),_0x64ea77[_0x320958(0x294)]&&(_0xe705a3[_0x320958(0x1f9)](),_0xe705a3['fillStyle']=_0x64ea77['fill'],_0x64ea77[_0x320958(0x23d)]==='evenodd'?_0xe705a3[_0x320958(0x294)]('evenodd'):_0xe705a3['fill'](),_0xe705a3[_0x320958(0x364)]());}var _0x31aed2=class _0x3f0e2d extends _0x4b5cb2[_0x486c12(0xec)]{constructor(_0x254e33,_0x3a6150){const _0x4f0b33=_0x486c12;super(_0x254e33,_0x3a6150),_0x28a1e3(this,'color',void 0x0),_0x28a1e3(this,_0x4f0b33(0x21a),void 0x0),this[_0x4f0b33(0x1b8)]=_0x3a6150==null?void 0x0:_0x3a6150[_0x4f0b33(0x1b8)],this[_0x4f0b33(0x21a)]=_0x3a6150==null?void 0x0:_0x3a6150[_0x4f0b33(0x21a)];}static[_0x486c12(0x30c)](_0x1b1d84,_0xc70b39){const _0x1186cc=_0x486c12;let {text:_0x1071db,color:_0x9dd47a}=_0xc70b39;_0x1b1d84[_0x1186cc(0x1f9)](),_0x1b1d84['font']=_0x1186cc(0xe4);let _0x494478=_0x1b1d84[_0x1186cc(0x280)](_0x1071db)[_0x1186cc(0x144)];if(_0x2b2b89(_0x1b1d84,{'height':0x14,'radius':0x4,'width':Math[_0x1186cc(0x2f2)](_0x494478+0x8,0xc8),'fill':_0x9dd47a,'evented':!0x1}),_0x1b1d84[_0x1186cc(0x2dc)]=_0x1186cc(0x28d),_0x494478>0xc0){let _0x1e03f7='',_0x160878=0x0;for(let _0x3b3695 of _0x1071db){let _0xeb4548=_0x1b1d84[_0x1186cc(0x280)](_0x3b3695)[_0x1186cc(0x144)];if(_0x160878+_0xeb4548<=0xc0-_0x1b1d84['measureText'](_0x1186cc(0x155))[_0x1186cc(0x144)])_0x1e03f7+=_0x3b3695,_0x160878+=_0xeb4548;else{_0x1e03f7+='...';break;}}_0x1b1d84[_0x1186cc(0x28b)](_0x1e03f7,0x4,0xf);}else _0x1b1d84[_0x1186cc(0x28b)](_0x1071db,0x4,0xf);_0x1b1d84[_0x1186cc(0x364)]();}[_0x486c12(0x209)](_0x450793){_0x3f0e2d['drawWith'](_0x450793,this);}};let _0x41be05=_0x486c12(0x28c);var _0x210b6c=class{constructor(_0x18d080,_0x2e3fc3,_0x2ffa8a,_0x6278b){const _0x1862e4=_0x486c12;this[_0x1862e4(0x1fd)]=_0x18d080,this[_0x1862e4(0x2b8)]=_0x2e3fc3,this['_docSkeleton']=_0x2ffa8a,this[_0x1862e4(0x371)]=_0x6278b,_0x28a1e3(this,_0x1862e4(0x3b5),[]),_0x28a1e3(this,'_anchor',null),_0x28a1e3(this,_0x1862e4(0x1b7),null),_0x28a1e3(this,_0x1862e4(0x179),null),_0x28a1e3(this,_0x1862e4(0x2dd),null),_0x28a1e3(this,_0x1862e4(0x2ce),null),this[_0x1862e4(0x2cd)]();}set[_0x486c12(0x1c6)](_0x29f3fe){const _0x2a1958=_0x486c12;_0x29f3fe?(this[_0x2a1958(0x179)]&&this[_0x2a1958(0x179)]['hide'](),this[_0x2a1958(0x1b7)]&&this['_textBubble']['show']()):(this[_0x2a1958(0x179)]&&this[_0x2a1958(0x179)][_0x2a1958(0x366)](),this['_textBubble']&&this[_0x2a1958(0x1b7)][_0x2a1958(0xe3)]());}[_0x486c12(0x1b4)](){const _0x21608d=_0x486c12;for(let _0x547474 of this[_0x21608d(0x3b5)])_0x547474[_0x21608d(0x1b4)]();this[_0x21608d(0x1b7)]&&this[_0x21608d(0x1b7)][_0x21608d(0x1b4)](),this[_0x21608d(0x179)]&&this['_anchorDot'][_0x21608d(0x1b4)](),this[_0x21608d(0x34c)]&&this[_0x21608d(0x34c)][_0x21608d(0x1b4)](),this[_0x21608d(0x2ce)]&&this[_0x21608d(0x2ce)]();}['_render'](){const _0x24f58a=_0x486c12;let {_docSkeleton:_0x1a3e87,_document:_0x539462}=this,{color:_0x159c2f,name:_0x5a2577,ranges:_0x15cbbb}=this[_0x24f58a(0x1fd)],_0x4545ce=_0x539462[_0x24f58a(0x214)](),{docsLeft:_0xb94453,docsTop:_0x22f4ed}=_0x4545ce,_0xe8fd6a=new _0x4d692e['NodePositionConvertToCursor'](_0x4545ce,_0x1a3e87);for(let {startOffset:_0x35ba82,endOffset:_0x182245,rangeType:_0x8149be,segmentId:_0x3c067d,segmentPage:_0x122592,collapsed:_0x28179e,isActive:_0x33914c}of _0x15cbbb){let _0x1cf936=_0x1a3e87[_0x24f58a(0x19c)](_0x35ba82,!0x0,_0x3c067d,_0x122592),_0x56dde4=_0x1a3e87[_0x24f58a(0x19c)](_0x182245,!0x0,_0x3c067d,_0x122592);if(_0x56dde4==null&&(_0x56dde4=_0x1a3e87['findNodePositionByCharIndex'](_0x182245-0x1,!0x1,_0x3c067d,_0x122592)),_0x33914c){let {contentBoxPointGroup:_0x540b07}=_0xe8fd6a['getRangePointData'](_0x56dde4,_0x56dde4);if(_0x540b07[_0x24f58a(0x391)]===0x0)continue;this[_0x24f58a(0x365)](_0x159c2f,_0x540b07,_0xb94453,_0x22f4ed,_0x5a2577),this[_0x24f58a(0x2ce)]=this['_handleHover']();}if(_0x1cf936&&_0x56dde4){if(_0x8149be===_0x3789e1[_0x24f58a(0x2c7)][_0x24f58a(0x222)]){var _0x338d97;let {pointGroup:_0x55b21b}=(_0x338d97=new _0x4d692e['NodePositionConvertToRectRange'](_0x4545ce,_0x1a3e87)['getRangePointData'](_0x1cf936,_0x56dde4))==null?{}:_0x338d97;if(_0x55b21b==null||_0x55b21b[_0x24f58a(0x391)]===0x0)continue;this[_0x24f58a(0x2d2)](_0x159c2f,_0x55b21b,_0xb94453,_0x22f4ed);}else{if(!_0x28179e){let {borderBoxPointGroup:_0x326434}=_0xe8fd6a[_0x24f58a(0x14c)](_0x1cf936,_0x56dde4);if(_0x326434['length']===0x0)continue;this[_0x24f58a(0x273)](_0x159c2f,_0x326434,_0xb94453,_0x22f4ed);}}}}}[_0x486c12(0x365)](_0x1a806c,_0x41656c,_0x4beb98,_0x33090d,_0x410445){const _0x13f2c2=_0x486c12;let {left:_0x4c3193,top:_0x586718,height:_0x4dfa26}=this[_0x13f2c2(0x32c)](_0x41656c),_0x278608=1.5/this[_0x13f2c2(0x2b7)](),_0x24a261=new _0x4b5cb2[(_0x13f2c2(0x25b))](_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d,'height':_0x4dfa26,'width':1.5,'fill':_0x1a806c||(0x0,_0x4b5cb2[_0x13f2c2(0x2f1)])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'strokeWidth':_0x278608,'stroke':_0x13f2c2(0x303),'evented':!0x0});this[_0x13f2c2(0x34c)]=_0x24a261,this[_0x13f2c2(0x2b8)][_0x13f2c2(0x2fb)](_0x24a261,_0x4d692e[_0x13f2c2(0x278)]);let _0x16f567=new _0x4b5cb2[(_0x13f2c2(0x25b))](_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x1a806c||(0x0,_0x4b5cb2['getColor'])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'strokeWidth':0x0,'stroke':_0x1a806c||(0x0,_0x4b5cb2[_0x13f2c2(0x2f1)])(_0x3789e1[_0x13f2c2(0x153)][_0x13f2c2(0x357)],0x0),'evented':!0x1});this[_0x13f2c2(0x179)]=_0x16f567,this[_0x13f2c2(0x2b8)][_0x13f2c2(0x2fb)](_0x16f567,_0x4d692e['TEXT_RANGE_LAYER_INDEX']);let _0x1af2eb=new _0x31aed2(_0x41be05+(0x0,_0x3789e1[_0x13f2c2(0x211)])(0x6),{'left':_0x4c3193+_0x4beb98-_0x278608,'top':_0x586718+_0x33090d-0x14,'text':_0x410445,'color':_0x1a806c});this[_0x13f2c2(0x1b7)]=_0x1af2eb,this['_scene'][_0x13f2c2(0x2fb)](_0x1af2eb,_0x4d692e[_0x13f2c2(0x278)]),this[_0x13f2c2(0x1c6)]=!0x1;}[_0x486c12(0x131)](){const _0x1f4857=_0x486c12;let _0xc75d6=this[_0x1f4857(0x34c)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x441bbc=_0x1f4857;this[_0x441bbc(0x1c6)]=!0x0;}),_0x4516a3=this[_0x1f4857(0x34c)][_0x1f4857(0x266)][_0x1f4857(0x2c8)](()=>{const _0x6e1f2d=_0x1f4857;this[_0x6e1f2d(0x2dd)]&&clearTimeout(this[_0x6e1f2d(0x2dd)]),this['_hideTimer']=setTimeout(()=>{const _0x1cec1e=_0x6e1f2d;this[_0x1cec1e(0x1c6)]=!0x1;},0x7d0);});return()=>{const _0x1ab6cc=_0x1f4857;_0xc75d6[_0x1ab6cc(0x3b6)](),_0x4516a3['unsubscribe']();};}[_0x486c12(0x273)](_0x16400b,_0x3962db,_0x4e3f67,_0x1b0fbe){const _0x12f50b=_0x486c12;let _0x2ee898=0.2,_0x5e47ff=new _0x3789e1['ColorKit'](_0x16400b)[_0x12f50b(0x1ff)](_0x2ee898)[_0x12f50b(0x340)](),_0x5a672d=new _0x4b5cb2[(_0x12f50b(0x1b1))](_0x12f50b(0x10e)+(0x0,_0x3789e1[_0x12f50b(0x211)])(0x6),{'pointsGroup':_0x3962db,'fill':_0x5e47ff||(0x0,_0x4b5cb2['getColor'])(_0x3789e1['COLORS']['black'],_0x2ee898),'left':_0x4e3f67,'top':_0x1b0fbe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x12f50b(0x3b5)][_0x12f50b(0x1d9)](_0x5a672d),this[_0x12f50b(0x2b8)][_0x12f50b(0x2fb)](_0x5a672d,_0x4d692e[_0x12f50b(0x278)]);}[_0x486c12(0x2d2)](_0x311592,_0x1a9843,_0x50b8cb,_0x49f096){const _0x20eaeb=_0x486c12;let _0x38c4db=0.2,_0x29cb5b=new _0x3789e1['ColorKit'](_0x311592)[_0x20eaeb(0x1ff)](_0x38c4db)['toRgbString'](),_0x5260d9=new _0x4b5cb2[(_0x20eaeb(0x1b1))](_0x20eaeb(0x25f)+(0x0,_0x3789e1[_0x20eaeb(0x211)])(0x6),{'pointsGroup':_0x1a9843,'fill':_0x29cb5b||(0x0,_0x4b5cb2[_0x20eaeb(0x2f1)])(_0x3789e1[_0x20eaeb(0x153)][_0x20eaeb(0x357)],_0x38c4db),'left':_0x50b8cb,'top':_0x49f096,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20eaeb(0x3b5)][_0x20eaeb(0x1d9)](_0x5260d9),this[_0x20eaeb(0x2b8)][_0x20eaeb(0x2fb)](_0x5260d9,_0x4d692e['TEXT_RANGE_LAYER_INDEX']);}[_0x486c12(0x32c)](_0x337fb7){let _0x13106f=_0x337fb7[0x0],_0x4d5153=_0x13106f[0x0],_0x51eca9=_0x13106f[0x2],{x:_0x430fe6,y:_0x1f926b}=_0x4d5153,{x:_0x33dcc1,y:_0x1327a9}=_0x51eca9;return{'left':_0x430fe6,'top':_0x1f926b,'width':_0x33dcc1-_0x430fe6,'height':_0x1327a9-_0x1f926b};}[_0x486c12(0x2b7)](){const _0x4ef09f=_0x486c12;let {scaleX:_0x15c31d,scaleY:_0x429363}=this['_scene'][_0x4ef09f(0x186)]();return Math['max'](_0x15c31d,_0x429363);}};let _0x8c0b72=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x583e0c,_0x35a3c5,_0x482636,_0x408868,_0x44a3d1){const _0x21ac07=_0x486c12;super(),this[_0x21ac07(0x37f)]=_0x583e0c,this[_0x21ac07(0x1f4)]=_0x35a3c5,this[_0x21ac07(0x1bb)]=_0x482636,this[_0x21ac07(0x3ac)]=_0x408868,this[_0x21ac07(0xe9)]=_0x44a3d1,_0x28a1e3(this,_0x21ac07(0x177),[]),_0x28a1e3(this,_0x21ac07(0xfd),[]),this[_0x21ac07(0x184)]();}['_init'](){const _0x238841=_0x486c12;let _0x369cd5=this[_0x238841(0x37f)]['unitId'],_0x3b404e=this[_0x238841(0x1f4)];this['disposeWithMe']((0x0,_0x4a289e[_0x238841(0x1db)])([this[_0x238841(0x1bb)]['getCollabCursors$'](_0x369cd5),this[_0x238841(0xe9)][_0x238841(0x3b8)]])[_0x238841(0x286)]((0x0,_0x21659b[_0x238841(0x397)])(([_0x36aa5e,_0x300c26])=>({'skeleton':_0x3b404e['getSkeleton'](),'cursors':[..._0x36aa5e[_0x238841(0x11e)]()]['flatMap'](_0x346453=>({..._0x346453,'color':this[_0x238841(0xe9)][_0x238841(0x220)](_0x346453[_0x238841(0x1b8)])}))})))[_0x238841(0x2df)](_0x3ca73a=>{if(this['_removeCollabCursors'](),_0x3ca73a){let {skeleton:_0x1a9e69,cursors:_0xab6dd7}=_0x3ca73a;this['_updateCollabCursors'](_0x1a9e69,_0xab6dd7);}})),this[_0x238841(0x36e)](),this[_0x238841(0x30d)]();}[_0x486c12(0x2b6)](_0x5df0b8,_0x51f6b9){const _0x2d0652=_0x486c12;let {scene:_0x7ff283,mainComponent:_0x8ad69c}=this[_0x2d0652(0x37f)];this[_0x2d0652(0x177)]=_0x51f6b9[_0x2d0652(0x397)](_0x47c2f7=>new _0x210b6c(_0x47c2f7,_0x7ff283,_0x5df0b8,_0x8ad69c)),this[_0x2d0652(0xfd)]=_0x51f6b9;}[_0x486c12(0x33d)](){const _0x59dedb=_0x486c12;this[_0x59dedb(0x2fa)]();let {scene:_0x57638a,mainComponent:_0x148049}=this[_0x59dedb(0x37f)],_0x3416b1=this[_0x59dedb(0x1f4)][_0x59dedb(0x170)]();this[_0x59dedb(0x177)]=this[_0x59dedb(0xfd)]['map'](_0x9a669c=>new _0x210b6c(_0x9a669c,_0x57638a,_0x3416b1,_0x148049));}[_0x486c12(0x2fa)](){const _0x24ef6b=_0x486c12;this[_0x24ef6b(0x177)][_0x24ef6b(0x377)](_0x210b37=>_0x210b37[_0x24ef6b(0x1b4)]()),this[_0x24ef6b(0x177)]=[];}['_initCommandExecutedListener'](){const _0x141e75=_0x486c12;let _0x5783f6=[_0x4d692e[_0x141e75(0x1a2)]['id']];this[_0x141e75(0x26a)](this[_0x141e75(0x3ac)][_0x141e75(0x390)](_0x336e7f=>{const _0x11bc21=_0x141e75;_0x5783f6[_0x11bc21(0x152)](_0x336e7f['id'])&&_0x336e7f['params'][_0x11bc21(0x2f0)]===this[_0x11bc21(0x37f)][_0x11bc21(0x2f0)]&&this[_0x11bc21(0x33d)]();}));}[_0x486c12(0x36e)](){const _0x2eaff6=_0x486c12;this['disposeWithMe']((0x0,_0x3789e1[_0x2eaff6(0x322)])(this['_context'][_0x2eaff6(0x301)]['onTransformChange$'])[_0x2eaff6(0x286)]((0x0,_0x21659b[_0x2eaff6(0x3aa)])(_0x27bee3=>_0x27bee3[_0x2eaff6(0x3a8)]===_0x4b5cb2[_0x2eaff6(0x321)][_0x2eaff6(0x2fe)]),(0x0,_0x21659b[_0x2eaff6(0x210)])(0x10))[_0x2eaff6(0x2df)](()=>{this['_refreshCollabCursors']();}));}};_0x8c0b72=_0x2eed91([_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x43a715[_0x486c12(0x182)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x59bc3e)),_0x5dbd47(0x3,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x4,(0x0,_0x3789e1['Inject'])(_0x3789e1['ThemeService']))],_0x8c0b72);var _0x573714=class extends _0x4b5cb2[_0x486c12(0xec)]{constructor(_0xb16d59,_0x1e0d6b){const _0x33e25a=_0x486c12;if(super(_0xb16d59,_0x1e0d6b),_0x28a1e3(this,_0x33e25a(0x367),void 0x0),_0x28a1e3(this,_0x33e25a(0x111),!0x1),_0x28a1e3(this,_0x33e25a(0x149),void 0x0),_0x28a1e3(this,'_name',''),_0x28a1e3(this,_0x33e25a(0xf2),_0x33e25a(0x39e)),_0x28a1e3(this,'_backgroundColor',void 0x0),_0x28a1e3(this,'_showText',void 0x0),_0x28a1e3(this,_0x33e25a(0x3a1),void 0x0),_0x28a1e3(this,_0x33e25a(0x139),0x4),_0x28a1e3(this,_0x33e25a(0x193),void 0x0),_0x28a1e3(this,_0x33e25a(0x31c),void 0x0),_0x28a1e3(this,_0x33e25a(0x15f),!0x0),_0x28a1e3(this,_0x33e25a(0x17f),0x0),_0x1e0d6b){var _0x1749e8;if(this[_0x33e25a(0x381)](_0x1e0d6b),_0x1e0d6b[_0x33e25a(0x18f)]&&((_0x1749e8=_0x1e0d6b[_0x33e25a(0x1d3)])==null?this[_0x33e25a(0x139)]:_0x1749e8)){var _0xf2b536;this['_startBlinking']((_0xf2b536=_0x1e0d6b[_0x33e25a(0x1d3)])==null?this[_0x33e25a(0x139)]:_0xf2b536);}}this['onPointerEnter$'][_0x33e25a(0x2c8)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x33e25a(0x266)][_0x33e25a(0x2c8)](()=>this[_0x33e25a(0x381)]({'hovered':!0x1}));}[_0x486c12(0x244)](_0x5abd76){this['_offsetY']=_0x5abd76;}[_0x486c12(0x381)](_0x284966){const _0x5f5b66=_0x486c12;var _0xf8407f,_0x341771,_0x110675,_0x3317c3,_0x5c34e7,_0xf17ea3,_0x494891;this[_0x5f5b66(0x367)]=(_0xf8407f=_0x284966['color'])==null?this[_0x5f5b66(0x367)]:_0xf8407f,this[_0x5f5b66(0x111)]=(_0x341771=_0x284966[_0x5f5b66(0x148)])==null?this[_0x5f5b66(0x111)]:_0x341771,this[_0x5f5b66(0x149)]=(_0x110675=_0x284966[_0x5f5b66(0x25d)])==null?this[_0x5f5b66(0x149)]:_0x110675,this[_0x5f5b66(0xfe)]=(_0x3317c3=_0x284966[_0x5f5b66(0x167)])==null?this['_name']:_0x3317c3,this[_0x5f5b66(0xf2)]=(_0x5c34e7=_0x284966[_0x5f5b66(0x136)])==null?this[_0x5f5b66(0xf2)]:_0x5c34e7,this[_0x5f5b66(0x289)]=(_0xf17ea3=_0x284966[_0x5f5b66(0x189)])==null?this[_0x5f5b66(0x289)]:_0xf17ea3,this[_0x5f5b66(0x17c)]=(_0x494891=_0x284966['showText'])==null?this[_0x5f5b66(0x17c)]:_0x494891,_0x284966['highlightSecond']!==void 0x0&&(this[_0x5f5b66(0x139)]=_0x284966[_0x5f5b66(0x1d3)]),_0x284966[_0x5f5b66(0x18f)]!==void 0x0&&(this[_0x5f5b66(0x3a1)]=_0x284966['highlight']),_0x284966[_0x5f5b66(0x1d6)]!==void 0x0&&(this[_0x5f5b66(0x17f)]=_0x284966[_0x5f5b66(0x1d6)]),this[_0x5f5b66(0x18a)]({'width':_0x284966[_0x5f5b66(0x144)],'height':_0x284966['height']});}[_0x486c12(0x2da)](_0x2ae81b){const _0x1f5bd4=_0x486c12;let {row:_0x345c1f,column:_0x95d49}=_0x2ae81b;if(_0x345c1f>=this[_0x1f5bd4(0x149)][_0x1f5bd4(0x116)]&&_0x345c1f<=this[_0x1f5bd4(0x149)][_0x1f5bd4(0x1ab)]&&_0x95d49>=this[_0x1f5bd4(0x149)]['startColumn']&&_0x95d49<=this['_range'][_0x1f5bd4(0x1cd)]){this[_0x1f5bd4(0x381)]({'hovered':!0x0});return;}this[_0x1f5bd4(0x381)]({'hovered':!0x1});}[_0x486c12(0x195)](_0x5abec8){const _0x3ff4c7=_0x486c12;this[_0x3ff4c7(0x354)](),this[_0x3ff4c7(0x15f)]=!0x0,this[_0x3ff4c7(0x31c)]=window[_0x3ff4c7(0x1ba)](()=>{const _0x386772=_0x3ff4c7;this['_isBlinkVisible']=!this[_0x386772(0x15f)],this['makeDirty'](!0x0);},0x1f4),this[_0x3ff4c7(0x193)]=window[_0x3ff4c7(0x31f)](()=>{const _0x42ec7c=_0x3ff4c7;this[_0x42ec7c(0x354)](),this[_0x42ec7c(0x15f)]=!0x0,this['makeDirty'](!0x0);},_0x5abec8*0x3e8);}[_0x486c12(0x354)](){const _0x1766e8=_0x486c12;this[_0x1766e8(0x31c)]&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x1766e8(0x31c)]=void 0x0),this[_0x1766e8(0x193)]&&(window[_0x1766e8(0x2bf)](this[_0x1766e8(0x193)]),this[_0x1766e8(0x193)]=void 0x0);}[_0x486c12(0x29e)](_0x521dd2){return!0x1;}[_0x486c12(0x1b4)](){const _0x1d6344=_0x486c12;this[_0x1d6344(0x354)](),super[_0x1d6344(0x1b4)]();}[_0x486c12(0x209)](_0x44abf6){const _0x427c55=_0x486c12;var _0x260ed1;let _0x19294b=this[_0x427c55(0x367)],_0xa22401=this['_backgroundColor'];if(this[_0x427c55(0x3a1)]&&!this[_0x427c55(0x15f)]&&(_0x19294b=this[_0x427c55(0x34e)](this[_0x427c55(0x367)]),_0xa22401=this[_0x427c55(0x289)]?this[_0x427c55(0x34e)](this['_backgroundColor']):void 0x0),_0x4b5cb2[_0x427c55(0x25b)][_0x427c55(0x30c)](_0x44abf6,{'width':this['width'],'height':this[_0x427c55(0x1d4)],'strokeWidth':(_0x260ed1=this[_0x427c55(0x21d)])==null?1.5:_0x260ed1,'stroke':_0x19294b,'evented':!0x1,'fill':_0xa22401}),this[_0x427c55(0x111)]||this[_0x427c55(0x17c)]){var _0x1bc6e3;_0x44abf6['save'](),_0x44abf6[_0x427c55(0x372)](0x1,0x0,0x0,0x1,this[_0x427c55(0x144)],(this['_labelPosition']===_0x427c55(0x104)?0x0:-0x14)+((_0x1bc6e3=this['_offsetY'])==null?0x0:_0x1bc6e3)),_0x31aed2[_0x427c55(0x30c)](_0x44abf6,{'text':this[_0x427c55(0xfe)],'color':_0x19294b}),_0x44abf6[_0x427c55(0x364)]();}}[_0x486c12(0x34e)](_0x5e4b04){const _0x3b8cde=_0x486c12;return _0x5e4b04[_0x3b8cde(0xe8)]('#')?_0x3b8cde(0x23e)+Number[_0x3b8cde(0x281)](_0x5e4b04[_0x3b8cde(0x24f)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x5e4b04[_0x3b8cde(0x24f)](0x3,0x5),0x10)+',\x20'+Number[_0x3b8cde(0x281)](_0x5e4b04[_0x3b8cde(0x24f)](0x5,0x7),0x10)+_0x3b8cde(0x1d8):_0x5e4b04['startsWith'](_0x3b8cde(0x2ed))?_0x5e4b04[_0x3b8cde(0x350)](/[\d.]+\)$/g,_0x3b8cde(0x124)):_0x5e4b04['startsWith']('rgb')?_0x5e4b04[_0x3b8cde(0x350)](_0x3b8cde(0x112),_0x3b8cde(0x2ed))['replace'](')',_0x3b8cde(0x1d8)):_0x5e4b04;}};let _0x4d3930=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(_0x5786b5,_0x220fb4,_0x598bcc,_0x42204d){const _0x34141e=_0x486c12;super(),this[_0x34141e(0x37f)]=_0x5786b5,this[_0x34141e(0x1a4)]=_0x220fb4,this[_0x34141e(0x1bb)]=_0x598bcc,this[_0x34141e(0xe9)]=_0x42204d,_0x28a1e3(this,_0x34141e(0xfd),new Set()),_0x28a1e3(this,'_lastPointer',null),this['_init']();}['_init'](){const _0x50ad64=_0x486c12;this[_0x50ad64(0x1a4)][_0x50ad64(0x370)][_0x50ad64(0x286)]((0x0,_0x21659b['takeUntil'])(this[_0x50ad64(0x389)]),(0x0,_0x21659b['switchMap'])(_0x544d38=>{const _0x335084=_0x50ad64;if(_0x544d38){let _0x4e8cce=_0x544d38[_0x335084(0x197)];return(0x0,_0x4a289e[_0x335084(0x1db)])(this[_0x335084(0x1bb)]['getCollabCursors$'](this[_0x335084(0x37f)][_0x335084(0x2f0)]),this[_0x335084(0xe9)][_0x335084(0x3b8)])[_0x335084(0x286)]((0x0,_0x21659b[_0x335084(0x397)])(([_0x5739a6,_0x2fa677])=>{const _0x2cf6d9=_0x335084;let _0x2668e4=new Map();return _0x5739a6[_0x2cf6d9(0x377)]((_0xa33950,_0x5af9ba)=>{const _0x31d74b=_0x2cf6d9;if(_0xa33950['sheetID']===_0x4e8cce){let _0x107cfb={..._0xa33950};_0x107cfb[_0x31d74b(0x1b8)]=this[_0x31d74b(0xe9)][_0x31d74b(0x220)](_0xa33950[_0x31d74b(0x1b8)]),_0x2668e4[_0x31d74b(0x1de)](_0x5af9ba,_0x107cfb);}}),{'skeleton':_0x544d38,'cursors':_0x2668e4};}));}return(0x0,_0x4a289e['of'])({'skeleton':null,'cursors':new Map()});}))[_0x50ad64(0x2df)](({skeleton:_0x2f4ead,cursors:_0x4e48c5})=>{const _0xf76e27=_0x50ad64;this[_0xf76e27(0x2fa)](),_0x2f4ead&&this[_0xf76e27(0x2b6)](_0x2f4ead,_0x4e48c5);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x50ad64(0x2df)](_0x18443c=>{const _0x735014=_0x50ad64;if(_0x18443c==null)return;let {skeleton:_0x24a58c}=_0x18443c,{scene:_0x3167a0}=this[_0x735014(0x37f)];_0x3167a0[_0x735014(0x2c9)]['subscribeEvent']((0x0,_0x3789e1[_0x735014(0x373)])(_0x4fbf28=>{const _0x296de0=_0x735014;var _0x2e1f31,_0x4202d5;let {offsetX:_0x29993a,offsetY:_0x23c54f}=_0x4fbf28,{x:_0x401955,y:_0x583c35}=_0x3167a0[_0x296de0(0x191)](_0x4b5cb2[_0x296de0(0x26f)][_0x296de0(0x10d)]([_0x29993a,_0x23c54f])),{scaleX:_0xf62b14,scaleY:_0x5863df}=_0x3167a0[_0x296de0(0x186)](),_0x2b3971=_0x3167a0[_0x296de0(0x19d)](_0x4b5cb2[_0x296de0(0x24c)]['VIEW_MAIN']),_0x4de390=_0x3167a0[_0x296de0(0x137)](_0x4b5cb2['Vector2'][_0x296de0(0x10d)]([_0x401955,_0x583c35]),_0x2b3971),_0x37e856=_0x24a58c['getCellPositionByOffset'](_0x29993a,_0x23c54f,_0xf62b14,_0x5863df,_0x4de390);((_0x2e1f31=this[_0x296de0(0x1a7)])==null?void 0x0:_0x2e1f31[_0x296de0(0x2a4)])===_0x37e856['column']&&((_0x4202d5=this['_lastPointer'])==null?void 0x0:_0x4202d5[_0x296de0(0x1a0)])===_0x37e856['row']||this[_0x296de0(0xfd)][_0x296de0(0x377)](_0x1a2ccd=>{const _0x1198d3=_0x296de0;_0x1a2ccd[_0x1198d3(0x2da)](_0x37e856);});},0x64));});}[_0x486c12(0x2b6)](_0x1e8151,_0x2ba9a1){const _0x56e68b=_0x486c12;let _0x307601=this[_0x56e68b(0x1a4)]['getCurrentSkeleton']();if(!_0x307601)return;let _0x5a1c51=this[_0x56e68b(0x341)]();if(!_0x5a1c51)return;this[_0x56e68b(0xfd)]['forEach'](_0x5480dd=>{_0x5480dd['makeDirty']();});let {scene:_0x3104bf}=_0x5a1c51,_0x922b36=_0x172d5f(Array['from'](_0x2ba9a1[_0x56e68b(0x11e)]()))[_0x56e68b(0x397)](_0x3746a9=>{const _0x23a721=_0x56e68b;let {color:_0x445a53,range:_0x3e67bc,name:_0x10d9de,selection:_0x574084,sheetID:_0x52fe64}=_0x3746a9,{startColumn:_0xf47ac9,startRow:_0x571e9b,endColumn:_0x5f296c,endRow:_0x4d5ee0}=_0x3e67bc,_0x4e1f78=(0x0,_0x35b411['getCoordByCell'])(_0x571e9b,_0xf47ac9,_0x3104bf,_0x307601),_0x2a1efc=(0x0,_0x35b411[_0x23a721(0x1ac)])(_0x4d5ee0,_0x5f296c,_0x3104bf,_0x307601),{columnHeaderHeightAndMarginTop:_0x39d5cc}=_0x307601,{startX:_0x4413f5,startY:_0x18d29c}=_0x4e1f78,{endX:_0x5042c4,endY:_0x88a6b}=_0x2a1efc,_0x1a7d5f=_0x5042c4-_0x4413f5,_0x284116=_0x88a6b-_0x18d29c;return new _0x573714(_0x10d9de,{'labelPosition':_0x18d29c-_0x39d5cc>=0x14?_0x23a721(0x39e):_0x23a721(0x104),'sheetID':_0x52fe64,'range':_0x3e67bc,'color':_0x445a53,'name':_0x10d9de,'selection':_0x574084,'left':_0x4413f5,'top':_0x18d29c,'width':_0x1a7d5f,'height':_0x284116,'evented':!0x1,'zIndex':0x1389});});_0x3104bf[_0x56e68b(0x324)](_0x922b36,0x1),this[_0x56e68b(0xfd)]=new Set(_0x922b36);}['_removeCollabCursors'](){const _0x6e67f4=_0x486c12;var _0x495fdc;(_0x495fdc=this[_0x6e67f4(0xfd)])==null||_0x495fdc['forEach'](_0x3417b8=>_0x3417b8[_0x6e67f4(0x1b4)]());}[_0x486c12(0x341)](){const _0x2d40ae=_0x486c12;return(0x0,_0x35b411[_0x2d40ae(0x335)])(this[_0x2d40ae(0x37f)][_0x2d40ae(0x264)],this['_context']);}};_0x4d3930=_0x2eed91([_0x5dbd47(0x1,(0x0,_0x3789e1['Inject'])(_0x35b411[_0x486c12(0x29b)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x59bc3e)),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x198)]))],_0x4d3930);function _0x172d5f(_0x462b4a){const _0x1c11e8=_0x486c12;let _0xa8874e=new Map();return _0x462b4a[_0x1c11e8(0x377)](_0xdd5fa7=>{const _0x5dc12a=_0x1c11e8;if(_0xa8874e[_0x5dc12a(0x35e)](_0xdd5fa7[_0x5dc12a(0x34d)])){let _0x452694=_0xa8874e[_0x5dc12a(0x114)](_0xdd5fa7[_0x5dc12a(0x34d)]);_0x452694[_0x5dc12a(0x167)]+=',\x20'+_0xdd5fa7[_0x5dc12a(0x167)];}else _0xa8874e['set'](_0xdd5fa7['selection'],_0xdd5fa7);}),Array['from'](_0xa8874e[_0x1c11e8(0x11e)]());}let _0x3bb688=class extends _0x3789e1['Disposable']{constructor(_0x28e265,_0x548d2b,_0x5da078,_0x226fe5,_0x476fd4,_0x199c42){const _0x1aa432=_0x486c12;super(),this['_beforeCloseService']=_0x28e265,this[_0x1aa432(0x395)]=_0x548d2b,this[_0x1aa432(0x3c3)]=_0x5da078,this[_0x1aa432(0x147)]=_0x226fe5,this[_0x1aa432(0x347)]=_0x476fd4,this[_0x1aa432(0x2b0)]=_0x199c42,this[_0x1aa432(0x158)](),this[_0x1aa432(0x39d)]();}[_0x486c12(0x158)](){const _0x19237b=_0x486c12;this['disposeWithMe'](this['_beforeCloseService'][_0x19237b(0x342)](()=>{const _0x58227d=_0x19237b;if(this[_0x58227d(0x395)][_0x58227d(0x22e)]['size'])return this[_0x58227d(0x2b0)]['t'](_0x58227d(0x160));}));}[_0x486c12(0x39d)](){const _0x51e10b=_0x486c12;this[_0x51e10b(0x26a)](this[_0x51e10b(0x3c3)]['event$']['subscribe'](_0x1f4207=>{const _0x1dd249=_0x51e10b;_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1d0)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x161)]&&this[_0x1dd249(0x147)]['show']({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x31b))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x32b)]&&this[_0x1dd249(0x347)][_0x1dd249(0x366)]({'title':this[_0x1dd249(0x2b0)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x1dd249(0x120),'duration':0x0}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1eb)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x31b))+'('+_0x1f4207[_0x1dd249(0x3c4)]+')'}),_0x1f4207['id']===_0x5ba2ed['CollaborationUIEventId'][_0x1dd249(0x27a)]&&this['_messageService'][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1f4207[_0x1dd249(0x3c4)]||'')}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x174)]&&this[_0x1dd249(0x147)]['show']({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x22d)],'content':this['_localeService']['t'](_0x1dd249(0x1bd))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x3b3)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x20e))}),_0x1f4207['id']===_0x5ba2ed[_0x1dd249(0x272)][_0x1dd249(0x1e2)]&&this[_0x1dd249(0x147)][_0x1dd249(0x366)]({'type':_0x239455[_0x1dd249(0x30b)][_0x1dd249(0x16a)],'content':this[_0x1dd249(0x2b0)]['t'](_0x1dd249(0x3c6))});}));}};_0x3bb688=_0x2eed91([_0x5dbd47(0x0,_0x28956d['IBeforeCloseService']),_0x5dbd47(0x1,_0x5ba2ed[_0x486c12(0x3a0)]),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed['CollaborationUIEventService'])),_0x5dbd47(0x3,_0x28956d[_0x486c12(0x190)]),_0x5dbd47(0x4,_0x28956d[_0x486c12(0x11d)]),_0x5dbd47(0x5,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x260)]))],_0x3bb688);let _0x529e28='collaboration-client-ui.config';Symbol(_0x529e28);let _0x157272={},_0x1dc143=class{constructor(_0x316ab1,_0x6c5b5d){const _0x324d4e=_0x486c12;this[_0x324d4e(0x10c)]=_0x316ab1,this[_0x324d4e(0x305)]=_0x6c5b5d;}[_0x486c12(0x291)](_0x30c14f){const _0x29f88d=_0x486c12;this[_0x29f88d(0x1e7)](_0x30c14f),this[_0x29f88d(0x271)](_0x30c14f);}['transformRemoteChangeset'](_0x2ffaa7){const _0x417436=_0x486c12;let {unitID:_0xfa1e24}=_0x2ffaa7,{redoCache:_0x452345}=this[_0x417436(0x305)][_0x417436(0x103)](_0xfa1e24)['with'](_0x4d692e[_0x417436(0x1ad)])[_0x417436(0x2bd)]();if(_0x452345[_0x417436(0x391)]===0x0)return _0x2ffaa7;let _0x31d3d1=_0x3789e1['Tools'][_0x417436(0x1e0)](_0x2ffaa7[_0x417436(0x29a)][0x0]);for(let _0x4d5bbc=0x0;_0x4d5bbc<_0x452345['length'];_0x4d5bbc++){let _0x32cfa2={'id':_0x417436(0x259),'params':{..._0x452345[_0x4d5bbc]}},_0x410c73=this[_0x417436(0x10c)][_0x417436(0x392)](_0x31d3d1,_0x32cfa2,!0x1);if((0x0,_0x136fe4['isTransformMutationFailure'])(_0x410c73))throw _0x410c73[_0x417436(0x120)];_0x31d3d1=_0x410c73[_0x417436(0x2fd)];}return{..._0x3789e1['Tools'][_0x417436(0x1e0)](_0x2ffaa7),'mutations':[_0x31d3d1]};}[_0x486c12(0x1e7)](_0x981f2c){const _0xcacea=_0x486c12;let {unitID:_0x3f3b40}=_0x981f2c,_0x492f6a=this[_0xcacea(0x305)][_0xcacea(0x103)](_0x3f3b40)[_0xcacea(0x2e0)](_0x4d692e['DocIMEInputManagerService']),{undoCache:_0x1355e3,redoCache:_0x35f486}=_0x492f6a[_0xcacea(0x2bd)]();if(_0x1355e3['length']===0x0||_0x35f486['length']===0x0)return;let _0x35621a=[],_0x19eb0d=[],_0x51b906=_0x3789e1[_0xcacea(0x1e4)][_0xcacea(0x1e0)](_0x981f2c[_0xcacea(0x29a)][0x0]),_0x3dfaaf=_0x3789e1['Tools'][_0xcacea(0x1e0)](_0x981f2c['mutations'][0x0]);for(let _0x43824f=_0x1355e3['length']-0x1;_0x43824f>=0x0;_0x43824f--){let _0x357152={'id':'doc.mutation.rich-text-editing','params':{..._0x1355e3[_0x43824f]}},_0x2aee85={'id':_0xcacea(0x259),'params':{..._0x35f486[_0x43824f]}},_0x24754f=this[_0xcacea(0x10c)][_0xcacea(0x392)](_0x51b906,_0x357152,!0x1),_0x5d6704=this[_0xcacea(0x10c)][_0xcacea(0x392)](_0x3dfaaf,_0x2aee85,!0x1);if((0x0,_0x136fe4[_0xcacea(0x327)])(_0x24754f))throw _0x24754f[_0xcacea(0x120)];if((0x0,_0x136fe4[_0xcacea(0x327)])(_0x5d6704))throw _0x5d6704['error'];_0x35621a[_0xcacea(0x261)](_0x24754f[_0xcacea(0x130)]['params']),_0x19eb0d[_0xcacea(0x261)](_0x5d6704[_0xcacea(0x130)][_0xcacea(0x230)]),_0x51b906=_0x24754f[_0xcacea(0x2fd)],_0x3dfaaf=_0x5d6704[_0xcacea(0x2fd)];}_0x492f6a[_0xcacea(0x358)]({'undoCache':_0x35621a,'redoCache':_0x19eb0d});}[_0x486c12(0x271)](_0x30a90c){const _0x357bfd=_0x486c12;let {unitID:_0x13dea0}=_0x30a90c,_0x414888=this[_0x357bfd(0x305)]['getRenderById'](_0x13dea0)[_0x357bfd(0x2e0)](_0x4d692e[_0x357bfd(0x1ad)]),_0x1bc9d1=_0x414888[_0x357bfd(0x323)]();if(_0x1bc9d1==null)return;let _0x154f20=[{'id':_0x357bfd(0x259),'params':{'unitId':_0x30a90c[_0x357bfd(0x164)],'actions':null,'textRanges':[_0x1bc9d1]}}],_0x504c1c=this[_0x357bfd(0x10c)][_0x357bfd(0x119)](_0x30a90c,_0x154f20);if(!(0x0,_0x136fe4[_0x357bfd(0x12e)])(_0x504c1c))throw _0x504c1c[_0x357bfd(0x120)];let _0xce8f73=_0x504c1c[_0x357bfd(0x130)][0x0]['params'][_0x357bfd(0x31a)];Array[_0x357bfd(0x18c)](_0xce8f73)&&_0xce8f73[_0x357bfd(0x391)]&&_0x414888[_0x357bfd(0x163)](_0xce8f73[0x0]);}};_0x1dc143=_0x2eed91([_0x5dbd47(0x0,_0x136fe4[_0x486c12(0x1af)]),_0x5dbd47(0x1,_0x4b5cb2[_0x486c12(0xf0)])],_0x1dc143);let _0x4e2c0d=class{constructor(_0x27d192,_0x30d9a4,_0xf15f23){const _0xd152ed=_0x486c12;this[_0xd152ed(0x2bb)]=_0x27d192,this[_0xd152ed(0x10c)]=_0x30d9a4,this[_0xd152ed(0x21f)]=_0xf15f23;}[_0x486c12(0x3ba)](_0x9e0321){const _0x374891=_0x486c12;this[_0x374891(0x138)](_0x9e0321);}[_0x486c12(0x2b1)](_0x83b2ae){const _0x1b73d7=_0x486c12;let {unitID:_0x311984}=_0x83b2ae,{collaboration:_0x44e473}=this[_0x1b73d7(0x21f)][_0x1b73d7(0x1a6)](_0x311984);if(_0x44e473[_0x1b73d7(0x391)]===0x0)return _0x83b2ae;let _0x4d014c=_0x3789e1[_0x1b73d7(0x1e4)][_0x1b73d7(0x1e0)](_0x83b2ae[_0x1b73d7(0x29a)][0x0]);for(let _0x13616d=0x0;_0x13616d<_0x44e473['length'];_0x13616d++){let _0x1edf21={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x44e473[_0x13616d][_0x1b73d7(0x2f0)],..._0x44e473[_0x13616d][_0x1b73d7(0x233)]}},_0x2c024b=this[_0x1b73d7(0x10c)]['transformMutation'](_0x4d014c,_0x1edf21,!0x1);if((0x0,_0x136fe4[_0x1b73d7(0x327)])(_0x2c024b))throw _0x2c024b[_0x1b73d7(0x120)];_0x4d014c=_0x2c024b['m1Prime'];}return{..._0x3789e1['Tools']['deepClone'](_0x83b2ae),'mutations':[_0x4d014c]};}['_transformHistoryAndStateStack'](_0x9ed3b8){const _0x2de605=_0x486c12;let {unitID:_0x53c774}=_0x9ed3b8,{history:_0x37fb20,collaboration:_0x342682}=this[_0x2de605(0x21f)][_0x2de605(0x1a6)](_0x53c774);if(_0x37fb20[_0x2de605(0x391)]===0x0&&_0x342682[_0x2de605(0x391)]===0x0)return;let _0x20c38a=[],_0x482565=[],_0x41df6e=_0x3789e1['Tools'][_0x2de605(0x1e0)](_0x9ed3b8[_0x2de605(0x29a)][0x0]),_0x36b6ed=_0x3789e1[_0x2de605(0x1e4)][_0x2de605(0x1e0)](_0x9ed3b8[_0x2de605(0x29a)][0x0]);for(let _0x5f4282=_0x37fb20[_0x2de605(0x391)]-0x1;_0x5f4282>=0x0;_0x5f4282--){let _0x550fec={'id':_0x2de605(0x259),'params':{'unitId':_0x37fb20[_0x5f4282][_0x2de605(0x2f0)],..._0x37fb20[_0x5f4282][_0x2de605(0x3a6)]}},_0x3e4b1d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37fb20[_0x5f4282][_0x2de605(0x2f0)],..._0x37fb20[_0x5f4282][_0x2de605(0x233)]}},_0x285154=this['_transformService'][_0x2de605(0x392)](_0x41df6e,_0x550fec,!0x1),_0x4699b1=this['_transformService']['transformMutation'](_0x36b6ed,_0x3e4b1d,!0x1);if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x285154))throw _0x285154[_0x2de605(0x120)];if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x4699b1))throw _0x4699b1[_0x2de605(0x120)];_0x20c38a[_0x2de605(0x261)]({..._0x37fb20[_0x5f4282],'undoState':_0x285154[_0x2de605(0x130)][_0x2de605(0x230)],'redoState':_0x4699b1[_0x2de605(0x130)][_0x2de605(0x230)]}),_0x41df6e=_0x285154['m1Prime'],_0x36b6ed=_0x4699b1['m1Prime'];}_0x41df6e=_0x3789e1[_0x2de605(0x1e4)][_0x2de605(0x1e0)](_0x9ed3b8['mutations'][0x0]),_0x36b6ed=_0x3789e1[_0x2de605(0x1e4)]['deepClone'](_0x9ed3b8[_0x2de605(0x29a)][0x0]);for(let _0xd0ab15=_0x342682[_0x2de605(0x391)]-0x1;_0xd0ab15>=0x0;_0xd0ab15--){let _0x587335={'id':_0x2de605(0x259),'params':{'unitId':_0x342682[_0xd0ab15][_0x2de605(0x2f0)],..._0x342682[_0xd0ab15][_0x2de605(0x3a6)]}},_0x2cb1ae={'id':_0x2de605(0x259),'params':{'unitId':_0x342682[_0xd0ab15][_0x2de605(0x2f0)],..._0x342682[_0xd0ab15][_0x2de605(0x233)]}},_0x4a3bde=this[_0x2de605(0x10c)]['transformMutation'](_0x41df6e,_0x587335,!0x1),_0x5054d8=this['_transformService']['transformMutation'](_0x36b6ed,_0x2cb1ae,!0x1);if((0x0,_0x136fe4[_0x2de605(0x327)])(_0x4a3bde))throw _0x4a3bde['error'];if((0x0,_0x136fe4['isTransformMutationFailure'])(_0x5054d8))throw _0x5054d8[_0x2de605(0x120)];_0x482565['unshift']({..._0x342682[_0xd0ab15],'undoState':_0x4a3bde[_0x2de605(0x130)][_0x2de605(0x230)],'redoState':_0x5054d8[_0x2de605(0x130)][_0x2de605(0x230)]}),_0x41df6e=_0x4a3bde['m1Prime'],_0x36b6ed=_0x5054d8[_0x2de605(0x2fd)];}this['_docStateChangeManagerService']['setStateCache'](_0x53c774,{'history':_0x20c38a,'collaboration':_0x482565});}};_0x4e2c0d=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,_0x136fe4['ITransformService']),_0x5dbd47(0x2,(0x0,_0x3789e1['Inject'])(_0x4d692e[_0x486c12(0x15a)]))],_0x4e2c0d);let _0x115b18=class{constructor(_0x99f86e,_0x4ae26d){const _0xe3756c=_0x486c12;this[_0xe3756c(0x2bb)]=_0x99f86e,this[_0xe3756c(0x10c)]=_0x4ae26d;}[_0x486c12(0x169)](_0x28294b){const _0x33de51=_0x486c12;var _0x4ea723;let _0x5b48d9=this[_0x33de51(0x2bb)][_0x33de51(0x114)](_0x43a715[_0x33de51(0x250)]),_0x57a36f=(_0x4ea723=_0x5b48d9['getDocRanges']())==null?[]:_0x4ea723;if(_0x57a36f['length']===0x0)return;let _0x2d7aa=_0x28294b[_0x33de51(0x164)],_0x554c4e=[{'id':_0x33de51(0x259),'params':{'unitId':_0x2d7aa,'actions':null,'textRanges':_0x57a36f}}],_0x730645=this[_0x33de51(0x10c)][_0x33de51(0x119)](_0x28294b,_0x554c4e);if(!(0x0,_0x136fe4[_0x33de51(0x12e)])(_0x730645))throw _0x730645[_0x33de51(0x120)];let _0x4756d8=_0x730645[_0x33de51(0x130)][0x0][_0x33de51(0x230)]['textRanges'];Array['isArray'](_0x4756d8)&&_0x4756d8[_0x33de51(0x391)]&&_0x5b48d9[_0x33de51(0x306)](_0x4756d8,{'unitId':_0x2d7aa,'subUnitId':_0x2d7aa},!0x1);}};_0x115b18=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,_0x136fe4[_0x486c12(0x1af)])],_0x115b18);let _0x27249b=class extends _0x3789e1['Disposable']{constructor(_0x3e5bf8,_0x5c57c7,_0x4a4265,_0x4c5283,_0x5edf8f,_0x110aca,_0x4efb86,_0x1248ec){const _0x164e76=_0x486c12;super(),this[_0x164e76(0x21f)]=_0x3e5bf8,this[_0x164e76(0xe5)]=_0x5c57c7,this[_0x164e76(0x2ec)]=_0x4a4265,this[_0x164e76(0x2b2)]=_0x4c5283,this[_0x164e76(0x157)]=_0x5edf8f,this['_docSyncEditingCollabCursorService']=_0x110aca,this[_0x164e76(0x147)]=_0x4efb86,this[_0x164e76(0x2b0)]=_0x1248ec,_0x28a1e3(this,'_status$',new _0x4a289e[(_0x164e76(0x13f))](_0x5ba2ed[_0x164e76(0x290)][_0x164e76(0x1ef)])),this[_0x164e76(0x11a)]();}[_0x486c12(0x11a)](){const _0xe1a8da=_0x486c12;this[_0xe1a8da(0x26a)](this[_0xe1a8da(0xe5)][_0xe1a8da(0x11f)][_0xe1a8da(0x2df)](_0x411399=>{const _0x520906=_0xe1a8da;let _0x116ad3=this[_0x520906(0x21f)][_0x520906(0x17e)][_0x520906(0x2df)](_0x1ba696=>{const _0x528465=_0x520906;if(_0x1ba696==null)return;let {unitId:_0x455bf1,redoState:_0x12e489,commandId:_0x100191}=_0x1ba696;if(_0x455bf1!==_0x411399[_0x528465(0x164)])return;let _0x2f8095={'id':_0x100191,'type':_0x3789e1['CommandType']['MUTATION'],'params':{'unitId':_0x455bf1,'actions':_0x12e489[_0x528465(0x2e7)],'textRanges':null}};_0x411399[_0x528465(0x199)](_0x2f8095);});_0x411399['disposeWithMe'](_0x116ad3),_0x411399 instanceof _0x5ba2ed[_0x520906(0x2a5)]&&_0x411399['addHandlerCallback']({'onTransformIME':_0x889800=>this[_0x520906(0x2ec)][_0x520906(0x291)](_0x889800),'onTransformState':_0x347202=>this[_0x520906(0x2b2)][_0x520906(0x3ba)](_0x347202),'onTransformSelections':_0x5a92f0=>this[_0x520906(0x157)][_0x520906(0x169)](_0x5a92f0),'onSyncEditingCollabCursor':_0x458f6d=>this[_0x520906(0x1a5)][_0x520906(0x16b)](_0x458f6d),'onTransformRemoteChangesetByIMECache':_0x320201=>this[_0x520906(0x2ec)][_0x520906(0x2b1)](_0x320201),'onTransformRemoteChangesetByStateCache':_0x3ff69e=>this[_0x520906(0x2b2)][_0x520906(0x2b1)](_0x3ff69e)});}));}};_0x27249b=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x4d692e[_0x486c12(0x15a)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x19a)])),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x1dc143)),_0x5dbd47(0x3,(0x0,_0x3789e1['Inject'])(_0x4e2c0d)),_0x5dbd47(0x4,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x115b18)),_0x5dbd47(0x5,(0x0,_0x3789e1['Inject'])(_0xb4d8f5)),_0x5dbd47(0x6,_0x28956d[_0x486c12(0x190)]),_0x5dbd47(0x7,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x260)]))],_0x27249b);let _0x558a6b=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x3c6f07,_0x40d970,_0x555e97,_0xe099e1){const _0x2c6d3b=_0x486c12;super(),this[_0x2c6d3b(0x2bb)]=_0x3c6f07,this[_0x2c6d3b(0x24b)]=_0x40d970,this[_0x2c6d3b(0x3bc)]=_0x555e97,this[_0x2c6d3b(0x254)]=_0xe099e1,_0x28a1e3(this,_0x2c6d3b(0x142),void 0x0),this['_init']();}[_0x486c12(0x184)](){const _0x2729a2=_0x486c12;this['_initWindowErrorListener'](),this[_0x2729a2(0x38d)](),this[_0x2729a2(0x32d)](),this[_0x2729a2(0x2ba)]();}[_0x486c12(0x2ba)](){const _0x1a1432=_0x486c12;this[_0x1a1432(0x26a)](this['_collaborationSessionService']['socket$'][_0x1a1432(0x2df)](_0x48041f=>{const _0x3d44f8=_0x1a1432;this[_0x3d44f8(0x142)]=_0x48041f==null?void 0x0:_0x48041f['memberID'];}));}[_0x486c12(0x27c)](){const _0x11f724=_0x486c12;let _0x5dd5dd=_0x5d125b=>{const _0x5d97b6=_0x3eb0;var _0x12bec3;this[_0x5d97b6(0x2c3)]('error',_0x5d97b6(0x33e)+_0x5d125b[_0x5d97b6(0x1b5)]+_0x5d97b6(0x35b)+_0x5d125b[_0x5d97b6(0x1e8)]+':'+_0x5d125b[_0x5d97b6(0x1c3)]+':'+_0x5d125b['colno']+'\x0a'+(((_0x12bec3=_0x5d125b[_0x5d97b6(0x120)])==null?void 0x0:_0x12bec3[_0x5d97b6(0x2d1)])||''));};window[_0x11f724(0x19f)](_0x11f724(0x120),_0x5dd5dd),this[_0x11f724(0x26a)](()=>{const _0x3d00b2=_0x11f724;window[_0x3d00b2(0x3c8)](_0x3d00b2(0x120),_0x5dd5dd);});}[_0x486c12(0x38d)](){const _0x3db13f=_0x486c12;let _0x12d373=_0x469d6d=>{const _0x4ed178=_0x3eb0;this[_0x4ed178(0x2c3)](_0x4ed178(0x120),_0x4ed178(0x1cb)+_0x469d6d[_0x4ed178(0x22b)]);};window[_0x3db13f(0x19f)](_0x3db13f(0x105),_0x12d373),this[_0x3db13f(0x26a)](()=>{const _0x2d0a6d=_0x3db13f;window[_0x2d0a6d(0x3c8)](_0x2d0a6d(0x105),_0x12d373);});}[_0x486c12(0x32d)](){const _0x5e8175=_0x486c12;let _0x103845=this[_0x5e8175(0x3bc)][_0x5e8175(0x120)]['bind'](this[_0x5e8175(0x3bc)]);this[_0x5e8175(0x3bc)][_0x5e8175(0x120)]=(..._0x337617)=>{const _0x51b125=_0x5e8175;let _0x56cdf1=_0x337617[_0x51b125(0x397)](_0x21e969=>_0x21e969 instanceof Error?_0x21e969[_0x51b125(0x1b5)]+'\x0a'+_0x21e969['stack']:String(_0x21e969))[_0x51b125(0x313)]('\x20');this['_uploadLog'](_0x51b125(0x120),_0x51b125(0x287)+_0x56cdf1),_0x103845(..._0x337617);},this['disposeWithMe'](()=>{const _0x3c3917=_0x5e8175;this[_0x3c3917(0x3bc)][_0x3c3917(0x120)]=_0x103845;});}['_uploadLog'](_0x332185,_0x3452ea){const _0x129fd0=_0x486c12;try{let _0x24d2d9={'userId':this[_0x129fd0(0x142)],'logLabel':_0x332185,'content':_0x3452ea};this['_httpService'][_0x129fd0(0x368)](_0x129fd0(0x132),{'body':_0x24d2d9})[_0x129fd0(0x2e4)](()=>{});}catch{}}};_0x558a6b=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1['Inject'])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2[_0x486c12(0x1a9)])),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x2b9)]),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x5ba2ed[_0x486c12(0x128)]))],_0x558a6b);function _0x41a53b(_0xfb89fd){const _0x333910=_0x486c12;var _0x35dca6,_0x2d1e52;let _0x1f75ea=(_0x35dca6=_0xfb89fd[_0x333910(0x240)])==null?void 0x0:_0x35dca6[_0x333910(0x3af)],_0x24c6e8=((_0x2d1e52=_0xfb89fd[_0x333910(0x240)])==null?void 0x0:_0x2d1e52[_0x333910(0x1f0)])||0x0;return _0x1f75ea===_0x12c154[_0x333910(0x37c)][_0x333910(0x2b3)]&&_0x24c6e8>0x0;}function _0x30afc0(_0xa7bf90){const _0x3e2292=_0x486c12;return _0xa7bf90[_0x3e2292(0x100)]===_0x12c154['FormulaExecutedStateType'][_0x3e2292(0x267)];}let _0x3c0988=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x5ccb1b,_0x59a544,_0x4358ad,_0x1dcd3c,_0x358c22,_0x481255,_0x4b8e61){const _0x3a4425=_0x486c12;super(),this[_0x3a4425(0x147)]=_0x5ccb1b,this[_0x3a4425(0x3ac)]=_0x59a544,this[_0x3a4425(0x2f7)]=_0x4358ad,this['_httpService']=_0x1dcd3c,this[_0x3a4425(0x13d)]=_0x358c22,this[_0x3a4425(0x3bc)]=_0x481255,this['_localeService']=_0x4b8e61,_0x28a1e3(this,_0x3a4425(0x39f),null),_0x28a1e3(this,_0x3a4425(0x388),0x0),_0x28a1e3(this,_0x3a4425(0x1c7),0x0),_0x28a1e3(this,_0x3a4425(0xf4),[]),_0x28a1e3(this,_0x3a4425(0x269),0x0),this[_0x3a4425(0x38e)]();}[_0x486c12(0x38e)](){const _0x5f0ea2=_0x486c12;this[_0x5f0ea2(0x26a)](this[_0x5f0ea2(0x3ac)][_0x5f0ea2(0x1fc)]((_0x305dc2,_0xd91981)=>{const _0x15ec04=_0x5f0ea2;var _0x45f92a;if(_0x305dc2['id']!==_0x12c154[_0x15ec04(0x11c)]['id'])return;let _0x140b2f=_0x305dc2[_0x15ec04(0x230)];if(this['_hasFormulaInDirtyRanges']((_0x45f92a=_0x140b2f[_0x15ec04(0x2a7)])==null?[]:_0x45f92a)&&!this[_0x15ec04(0x2e1)]())throw this[_0x15ec04(0x21e)](_0x305dc2,_0xd91981),this[_0x15ec04(0x178)](),new _0x3789e1['CanceledError']();})),this[_0x5f0ea2(0x26a)](this[_0x5f0ea2(0x3ac)]['onCommandExecuted']((_0x4581b3,_0x2c1f5d)=>{const _0x395327=_0x5f0ea2;if(_0x4581b3['id']!==_0x12c154['SetFormulaCalculationNotificationMutation']['id'])return;let _0x5a954d=_0x4581b3[_0x395327(0x230)];if(_0x41a53b(_0x5a954d)){let _0x85e801=(0x0,_0x3789e1[_0x395327(0x211)])();this[_0x395327(0xf4)]['push'](_0x85e801),this['_startCalculationLimit'](_0x85e801);}else{if(_0x30afc0(_0x5a954d)&&this['_taskIds'][_0x395327(0x391)]>0x0){let _0x50a7c5=this['_taskIds'][_0x395327(0x108)]();this[_0x395327(0xe2)](_0x50a7c5);}}}));}['dispose'](){const _0x2ecfe0=_0x486c12;super['dispose'](),this[_0x2ecfe0(0x1c8)](),this[_0x2ecfe0(0xf4)]=[],this[_0x2ecfe0(0x1c7)]=0x0,this[_0x2ecfe0(0x388)]=0x0,this[_0x2ecfe0(0x269)]=0x0;}async[_0x486c12(0x21e)](_0x262399,_0xb6cf1c){const _0x1dba60=_0x486c12;for(let _0x574ebf=0x0;_0x574ebf<0x1e;_0x574ebf++)try{if(await this[_0x1dba60(0x26b)](),this[_0x1dba60(0x2e1)]()){this[_0x1dba60(0x243)](_0x262399,_0xb6cf1c),this[_0x1dba60(0x147)][_0x1dba60(0x366)]({'content':this['_localeService']['t'](_0x1dba60(0x173)),'type':_0x239455[_0x1dba60(0x30b)][_0x1dba60(0x318)]});return;}await new Promise(_0x267921=>{const _0x26160a=_0x1dba60;this[_0x26160a(0x39f)]=window['setTimeout'](_0x267921,0x3e8);});}catch(_0x438bc5){this[_0x1dba60(0x3bc)]['error'](_0x438bc5);}this['_messageService'][_0x1dba60(0x366)]({'content':this['_localeService']['t'](_0x1dba60(0x2d3)),'type':_0x239455[_0x1dba60(0x30b)][_0x1dba60(0x16a)]});}[_0x486c12(0x243)](_0x15f251,_0x133396){const _0xe7df52=_0x486c12;try{this['_commandService']['executeCommand'](_0x15f251['id'],_0x15f251['params'],_0x133396);}catch(_0x284dd3){this['_logService'][_0xe7df52(0x120)](_0x284dd3);}}[_0x486c12(0x363)](_0x548c07,_0x13a9ba){const _0x541435=_0x486c12;_0x13a9ba<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x13a9ba,this[_0x541435(0x388)]=Number[_0x541435(0x281)](_0x548c07[_0x541435(0x336)]),this['_currentUsage']=Number[_0x541435(0x281)](_0x548c07[_0x541435(0x20f)]));}async[_0x486c12(0x393)](_0x1d0c00){const _0x1d3c2d=_0x486c12;let _0x4eaf65=Date['now']();try{var _0x12470d,_0x184031;let _0x5b35c0=((_0x12470d=this[_0x1d3c2d(0x2f7)]['getConfig'](_0x5ba2ed[_0x1d3c2d(0x275)]))==null?void 0x0:_0x12470d[_0x1d3c2d(0x15b)])||_0x1d3c2d(0x308),_0x547230=(await this['_httpService']['post'](_0x5b35c0,{'body':JSON[_0x1d3c2d(0x374)]({'taskId':_0x1d0c00})}))[_0x1d3c2d(0x1a1)];if(((_0x184031=_0x547230['error'])==null?void 0x0:_0x184031[_0x1d3c2d(0x379)])!==_0x53e205[_0x1d3c2d(0x314)]['OK'])return;this[_0x1d3c2d(0x363)](_0x547230[_0x1d3c2d(0x13b)],_0x4eaf65);}catch(_0xb2e5db){this[_0x1d3c2d(0x3bc)][_0x1d3c2d(0x120)](_0xb2e5db);}}async[_0x486c12(0x26b)](_0x686d5f){const _0xcd475c=_0x486c12;let _0x4792ac=Date['now']();try{var _0x213fb7,_0x3c6e0c;let _0xd797c8=((_0x213fb7=this[_0xcd475c(0x2f7)][_0xcd475c(0x172)](_0x5ba2ed[_0xcd475c(0x275)]))==null?void 0x0:_0x213fb7[_0xcd475c(0x19b)])||_0xcd475c(0x355),_0x31000d=_0x686d5f?_0xd797c8+_0xcd475c(0x102)+encodeURIComponent(_0x686d5f):_0xd797c8,_0x461b68=(await this['_httpService'][_0xcd475c(0x114)](_0x31000d))[_0xcd475c(0x1a1)];if(((_0x3c6e0c=_0x461b68[_0xcd475c(0x120)])==null?void 0x0:_0x3c6e0c[_0xcd475c(0x379)])!==_0x53e205[_0xcd475c(0x314)]['OK'])return;this[_0xcd475c(0x363)](_0x461b68[_0xcd475c(0x13b)],_0x4792ac);}catch(_0x3b7f9e){this[_0xcd475c(0x3bc)]['error'](_0x3b7f9e);}}async[_0x486c12(0xe2)](_0x49ff96){const _0x41e0f3=_0x486c12;let _0x5bb5f9=Date[_0x41e0f3(0x2a0)]();try{var _0x11a615,_0x3faf12;let _0x16320a=((_0x11a615=this[_0x41e0f3(0x2f7)]['getConfig'](_0x5ba2ed[_0x41e0f3(0x275)]))==null?void 0x0:_0x11a615[_0x41e0f3(0x140)])||'/universer-api/license/formula/limit/done',_0x5b1c9d=(await this[_0x41e0f3(0x24b)][_0x41e0f3(0x368)](_0x16320a,{'body':JSON[_0x41e0f3(0x374)]({'taskId':_0x49ff96})}))['body'];if(((_0x3faf12=_0x5b1c9d['error'])==null?void 0x0:_0x3faf12[_0x41e0f3(0x379)])!==_0x53e205[_0x41e0f3(0x314)]['OK'])return;this[_0x41e0f3(0x363)](_0x5b1c9d[_0x41e0f3(0x13b)],_0x5bb5f9);}catch(_0x3b3096){this[_0x41e0f3(0x3bc)][_0x41e0f3(0x120)](_0x3b3096);}}[_0x486c12(0x2e1)](){const _0x24b62a=_0x486c12;return this[_0x24b62a(0x388)]===0x0?!0x0:this[_0x24b62a(0x388)]-this[_0x24b62a(0x1c7)]>0x0;}[_0x486c12(0x1c8)](){const _0x5d0264=_0x486c12;this[_0x5d0264(0x39f)]&&(clearTimeout(this['_pollingInterval']),this[_0x5d0264(0x39f)]=null);}[_0x486c12(0x178)](){const _0x5ef60c=_0x486c12;this[_0x5ef60c(0x147)][_0x5ef60c(0x366)]({'content':this['_localeService']['t'](_0x5ef60c(0x2b4)),'type':_0x239455[_0x5ef60c(0x30b)][_0x5ef60c(0x229)]});}[_0x486c12(0x2c4)](_0x2f40aa){const _0x58e4fc=_0x486c12;for(let _0x4eafe8 of _0x2f40aa){let {unitId:_0x434404,sheetId:_0xe2e04c,range:_0x5a7316}=_0x4eafe8,_0xe23547=this['_univerInstanceService'][_0x58e4fc(0x22f)](_0x434404);if(!_0xe23547)continue;let _0x49629e=_0xe23547['getSheetBySheetId'](_0xe2e04c);if(!_0x49629e)continue;let _0x1c9777=_0x49629e[_0x58e4fc(0x115)]();for(let _0x428936=_0x5a7316[_0x58e4fc(0x116)];_0x428936<=_0x5a7316[_0x58e4fc(0x1ab)];_0x428936++)for(let _0x791ad8=_0x5a7316['startColumn'];_0x791ad8<=_0x5a7316['endColumn'];_0x791ad8++){let _0x21895d=_0x1c9777[_0x58e4fc(0x226)](_0x428936,_0x791ad8);if(_0x21895d&&((0x0,_0x3789e1['isFormulaString'])(_0x21895d['f'])||(0x0,_0x3789e1[_0x58e4fc(0x1ca)])(_0x21895d['si'])))return!0x0;}}return!0x1;}};_0x3c0988=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x28956d[_0x486c12(0x190)])),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x253)]),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x3,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2[_0x486c12(0x1a9)])),_0x5dbd47(0x4,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x5,_0x3789e1['ILogService']),_0x5dbd47(0x6,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1['LocaleService']))],_0x3c0988);let _0x49419b=class extends _0x3789e1['Disposable']{constructor(_0x346635,_0x507546,_0x1423a4){const _0x3117e2=_0x486c12;super(),this[_0x3117e2(0x2f7)]=_0x346635,this['_localStorageService']=_0x507546,this['_revisionService']=_0x1423a4,_0x28a1e3(this,_0x3117e2(0x204),new Map()),_0x28a1e3(this,_0x3117e2(0x1cc),new Map()),_0x28a1e3(this,_0x3117e2(0xea),!0x1);}['disableLocalCache'](){const _0x299471=_0x486c12;this[_0x299471(0xea)]=!0x0;}['enableLocalCache'](){const _0x3838d3=_0x486c12;this[_0x3838d3(0xea)]=!0x1;}get[_0x486c12(0x22e)](){const _0x210bb0=_0x486c12;return this[_0x210bb0(0x1cc)];}[_0x486c12(0x1b4)](){const _0x32421f=_0x486c12;this[_0x32421f(0x1f8)]()['then'](()=>super[_0x32421f(0x1b4)]());}async[_0x486c12(0x17a)](_0x2a4257){const _0xfe53a7=_0x486c12;return this[_0xfe53a7(0xea)]?null:this['_localStorageService'][_0xfe53a7(0x1a3)]((0x0,_0x5ba2ed['getLocalCacheKey'])(_0x2a4257));}async[_0x486c12(0x32a)](_0x4b1ab9,_0x54b9f7){return!!this['_localStorageService']['setItem'](_0x4b1ab9,_0x54b9f7);}[_0x486c12(0x14a)](_0x53b4c3,_0x1d8705,_0x5cdca9,_0x381cad){const _0x54ddb5=_0x486c12;let _0x2e3cd9=this[_0x54ddb5(0x384)]['getCurrentRevOfUnit'](_0x53b4c3);this[_0x54ddb5(0x204)]['set'](_0x53b4c3,{'unitID':_0x53b4c3,'type':_0x1d8705,'awaitingChangeset':_0x5cdca9,'mutations':_0x381cad,'rev':_0x2e3cd9}),this[_0x54ddb5(0x1cc)][_0x54ddb5(0x35e)](_0x53b4c3)||this[_0x54ddb5(0x1cf)](_0x53b4c3);}[_0x486c12(0x1cf)](_0x245429){const _0x3b3194=_0x486c12;let _0x19e80f=this['_getSaveTimeout']();_0x19e80f===0x0?this['_saveCache'](_0x245429):this[_0x3b3194(0x1cc)][_0x3b3194(0x1de)](_0x245429,setTimeout(()=>this[_0x3b3194(0xf5)](_0x245429),_0x19e80f));}[_0x486c12(0xfa)](){const _0xe35530=_0x486c12;var _0x19a71c;return(_0x19a71c=this['_configService'][_0xe35530(0x172)](_0x5ba2ed[_0xe35530(0x3a4)]))==null?_0x5ba2ed[_0xe35530(0x194)]:_0x19a71c;}[_0x486c12(0xf5)](_0x39367a){const _0x23a805=_0x486c12;let _0x5a18c0=this[_0x23a805(0x1cc)][_0x23a805(0x114)](_0x39367a);return _0x5a18c0!==void 0x0&&window[_0x23a805(0x2bf)](_0x5a18c0),this['_localStorageService'][_0x23a805(0x3a5)]((0x0,_0x5ba2ed['getLocalCacheKey'])(_0x39367a),this[_0x23a805(0x204)]['get'](_0x39367a))[_0x23a805(0x2d5)](()=>this[_0x23a805(0x1cc)][_0x23a805(0x26e)](_0x39367a));}async[_0x486c12(0x1f8)](){const _0x4e8654=_0x486c12;let _0x220d2e=[];this[_0x4e8654(0x1cc)][_0x4e8654(0x377)]((_0x2ec676,_0x2392c4)=>{const _0x2d5642=_0x4e8654;window['clearTimeout'](_0x2ec676),_0x220d2e[_0x2d5642(0x1d9)](this[_0x2d5642(0xf5)](_0x2392c4)[_0x2d5642(0x2d5)](()=>{const _0x5e2b8e=_0x2d5642;this[_0x5e2b8e(0x1cc)][_0x5e2b8e(0x26e)](_0x2392c4);}));}),await Promise[_0x4e8654(0x1fa)](_0x220d2e);}};_0x49419b=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x1,_0x3789e1[_0x486c12(0x208)]),_0x5dbd47(0x2,(0x0,_0x3789e1['Inject'])(_0x136fe4[_0x486c12(0x2b5)]))],_0x49419b);var _0x5b0485=class extends _0x3789e1[_0x486c12(0x2f3)]{constructor(){const _0x4fa941=_0x486c12;super(),_0x28a1e3(this,_0x4fa941(0x23f),void 0x0),this[_0x4fa941(0x23f)]=(0x0,_0x4a289e[_0x4fa941(0x135)])(window,_0x4fa941(0x343))['pipe']((0x0,_0x4a289e['takeUntil'])(this['dispose$']),(0x0,_0x4a289e[_0x4fa941(0x175)])(0x1),(0x0,_0x4a289e[_0x4fa941(0x192)])(void 0x0));}[_0x486c12(0x1d5)](_0x560112,_0x3f6c19,_0x14129e=!0x1){const _0x60e71d=_0x486c12;let _0x35a2fa=new URL(window[_0x60e71d(0x34f)][_0x60e71d(0x185)]);_0x35a2fa['searchParams']['set'](_0x560112,_0x3f6c19),_0x14129e?window[_0x60e71d(0x1a8)][_0x60e71d(0x360)]('','',_0x35a2fa[_0x60e71d(0x22c)]()):window[_0x60e71d(0x1a8)][_0x60e71d(0x109)]('','',_0x35a2fa[_0x60e71d(0x22c)]());}['removeParam'](_0x21ecf7,_0x39176f=!0x1){const _0x25f08e=_0x486c12;let _0x52cf29=new URL(window[_0x25f08e(0x34f)][_0x25f08e(0x185)]);_0x52cf29[_0x25f08e(0x33c)][_0x25f08e(0x26e)](_0x21ecf7),_0x39176f?window[_0x25f08e(0x1a8)]['replaceState']('','',_0x52cf29[_0x25f08e(0x22c)]()):window[_0x25f08e(0x1a8)][_0x25f08e(0x109)]('','',_0x52cf29['toString']());}['getParam'](_0x46710a){const _0x513557=_0x486c12;var _0x2bea5e;return(_0x2bea5e=new URL(window[_0x513557(0x34f)][_0x513557(0x185)])[_0x513557(0x33c)][_0x513557(0x114)](_0x46710a))==null?void 0x0:_0x2bea5e;}};let _0x4c8995=class extends _0x3789e1['Plugin']{constructor(_0x334f78=_0x157272,_0x3785,_0x3c3d32,_0x28af26){const _0x9c7c45=_0x486c12;super(),this[_0x9c7c45(0xfb)]=_0x334f78,this[_0x9c7c45(0x305)]=_0x3785,this[_0x9c7c45(0x2bb)]=_0x3c3d32,this['_configService']=_0x28af26;let {..._0x591ac8}=(0x0,_0x3789e1[_0x9c7c45(0x101)])({},_0x157272,this[_0x9c7c45(0xfb)]);this[_0x9c7c45(0x2f7)]['setConfig'](_0x529e28,_0x591ac8);}[_0x486c12(0x38a)](){const _0x338265=_0x486c12;this[_0x338265(0xf7)](),this[_0x338265(0x1b3)]();}[_0x486c12(0x234)](){const _0x480da0=_0x486c12;this[_0x480da0(0x16f)]();}[_0x486c12(0xf7)](){const _0x4dea67=_0x486c12;var _0x83d2a0;let _0x1aa8d7=[[_0x3e01b5],[_0x3c0988],[_0x115b18],[_0x1dc143],[_0x4e2c0d],[_0xb4d8f5],[_0x1b48a9,{'useClass':_0x5b0485}],[_0x2ccad2[_0x4dea67(0x181)],{'useClass':_0x2ccad2[_0x4dea67(0x2f4)]}],[_0x5ba2ed[_0x4dea67(0x3a0)],{'useClass':_0x49419b}],[_0x2f2efb],[_0x27249b],[_0x3bb688],[_0x59bc3e],[_0x560036],[_0xe6e34a]];this['_config'][_0x4dea67(0x17b)]&&_0x1aa8d7[_0x4dea67(0x1d9)]([_0x558a6b]),(0x0,_0x3789e1[_0x4dea67(0x2e8)])(this[_0x4dea67(0x2bb)],(0x0,_0x3789e1[_0x4dea67(0x298)])(_0x1aa8d7,(_0x83d2a0=this[_0x4dea67(0xfb)])==null?void 0x0:_0x83d2a0[_0x4dea67(0x215)]));}[_0x486c12(0x16f)](){const _0x397303=_0x486c12;this[_0x397303(0x26a)](this[_0x397303(0x305)]['registerRenderModule'](_0x3789e1['UniverInstanceType'][_0x397303(0x2a1)],[_0x8c0b72])),this[_0x397303(0x26a)](this['_renderManagerService']['registerRenderModule'](_0x3789e1[_0x397303(0x246)]['UNIVER_SHEET'],[_0x4d3930]));}['_initDependencies'](){const _0x554a4c=_0x486c12;(0x0,_0x3789e1[_0x554a4c(0x296)])(this[_0x554a4c(0x2bb)],[[_0x59bc3e],[_0x2f2efb],[_0x27249b],[_0x3bb688],[_0xe6e34a],[_0x3c0988]]),this[_0x554a4c(0xfb)][_0x554a4c(0x17b)]&&(0x0,_0x3789e1['touchDependencies'])(this[_0x554a4c(0x2bb)],[[_0x558a6b]]);}};_0x28a1e3(_0x4c8995,_0x486c12(0x2d9),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x28a1e3(_0x4c8995,_0x486c12(0x10f),_0x606168),_0x28a1e3(_0x4c8995,_0x486c12(0x3ab),_0x34f54e),_0x4c8995=_0x2eed91([(0x0,_0x3789e1[_0x486c12(0x1d2)])(_0x5ba2ed[_0x486c12(0x334)]),_0x5dbd47(0x1,_0x4b5cb2[_0x486c12(0xf0)]),_0x5dbd47(0x2,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x3,_0x3789e1[_0x486c12(0x24d)])],_0x4c8995);let _0x7679a8=class extends _0x5ba2ed[_0x486c12(0x1c2)]{constructor(_0x47d284,_0x788eb1,_0x2f8fd8,_0x37c9c8,_0x22d01c){super(_0x47d284,_0x788eb1,_0x2f8fd8,_0x37c9c8,_0x22d01c);}async[_0x486c12(0x122)](_0x140943){const _0x438b1c=_0x486c12;let _0x5cc25e=await this['_getSessionTicket'](),_0x38630b=this[_0x438b1c(0xf9)](_0x140943,_0x5cc25e);return this['_doCreateSocket'](_0x38630b);}['_createSocketURL'](_0x59f37c,_0x5beb49){const _0x3504b9=_0x486c12;let _0x147e2c=typeof window>'u'?new URL(_0x59f37c):new URL(_0x59f37c,window['location'][_0x3504b9(0x2cc)]);_0x147e2c['searchParams'][_0x3504b9(0x1de)](_0x3504b9(0xed),_0x5beb49);let _0x3dee12=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3504b9(0x34f)][_0x3504b9(0x277)]);return _0x3dee12[_0x3504b9(0x114)]('runId')&&_0x147e2c[_0x3504b9(0x33c)][_0x3504b9(0x1de)](_0x3504b9(0xe6),_0x3dee12[_0x3504b9(0x114)](_0x3504b9(0xe6))),_0x147e2c[_0x3504b9(0x22c)]();}async[_0x486c12(0x1ce)](){const _0x2cd3db=_0x486c12;var _0x46bb87,_0x426580,_0x266441;let _0x49ce9a=this['_configService'][_0x2cd3db(0x172)](_0x5ba2ed['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1a4cda=(_0x46bb87=_0x49ce9a==null?void 0x0:_0x49ce9a[_0x2cd3db(0x183)])==null?_0x5ba2ed['DEFAULT_WS_SESSION_TICKET_URL']:_0x46bb87;return(_0x426580=(_0x266441=(await this[_0x2cd3db(0x24b)]['get'](_0x1a4cda,{'headers':{'Content-Type':_0x2cd3db(0x2be)}}))[_0x2cd3db(0x1a1)])==null?void 0x0:_0x266441['ticket'])==null?'':_0x426580;}};_0x7679a8=_0x2eed91([_0x5dbd47(0x0,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x3789e1[_0x486c12(0x37d)])),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2['HTTPService'])),_0x5dbd47(0x2,_0x3789e1[_0x486c12(0x24d)]),_0x5dbd47(0x3,_0x3789e1['ILogService']),_0x5dbd47(0x4,_0x136fe4[_0x486c12(0x2cb)])],_0x7679a8);let _0x4caaa6=class extends _0x3789e1[_0x486c12(0x33a)]{constructor(_0x511213,_0x1ab376,_0x1d115e){const _0x391bec=_0x486c12;super(),this[_0x391bec(0x162)]=_0x511213,this[_0x391bec(0x24b)]=_0x1ab376,this[_0x391bec(0x2f7)]=_0x1d115e;}async[_0x486c12(0x10b)](_0x41c07f,_0x429439,_0x496744,..._0x56b0ed){const _0x1bb5b2=_0x486c12;var _0x244cf6,_0x1103b9,_0x2010bc,_0x659e8b;let _0x45bd9f=this[_0x1bb5b2(0x162)][_0x1bb5b2(0x17d)]();if(!_0x45bd9f)throw Error(_0x1bb5b2(0x187));let _0x3b442f=((_0x244cf6=this[_0x1bb5b2(0x2f7)][_0x1bb5b2(0x172)](_0x5ba2ed[_0x1bb5b2(0x242)]))==null?_0x5ba2ed[_0x1bb5b2(0x309)]:_0x244cf6)+'/'+_0x41c07f+'/run/'+_0x429439,_0x437771={'scriptId':_0x41c07f,'runId':(_0x1103b9=new URL(window[_0x1bb5b2(0x34f)][_0x1bb5b2(0x185)])[_0x1bb5b2(0x33c)][_0x1bb5b2(0x114)](_0x1bb5b2(0xe6)))==null?'':_0x1103b9,'function':_0x429439,'unitId':_0x45bd9f[_0x1bb5b2(0x255)](),'argsOfFunction':JSON[_0x1bb5b2(0x374)](_0x56b0ed),'invokeId':(_0x2010bc=_0x496744['invokeId'])==null?'':_0x2010bc,'executionId':(_0x659e8b=_0x496744[_0x1bb5b2(0x216)])==null?'':_0x659e8b};try{let _0x1dc12c=await this[_0x1bb5b2(0x24b)][_0x1bb5b2(0x368)](_0x3b442f,{'body':_0x437771});return _0x1dc12c['body'][_0x1bb5b2(0x120)]&&_0x1dc12c[_0x1bb5b2(0x1a1)]['error'][_0x1bb5b2(0x379)]!==_0x53e205['ErrorCode']['OK']?'Failed':_0x1dc12c[_0x1bb5b2(0x1a1)][_0x1bb5b2(0x2ff)];}catch{return _0x1bb5b2(0x1b9);}}};_0x4caaa6=_0x2eed91([_0x5dbd47(0x0,_0x3789e1[_0x486c12(0x2de)]),_0x5dbd47(0x1,(0x0,_0x3789e1[_0x486c12(0x3c2)])(_0x2ccad2['HTTPService'])),_0x5dbd47(0x2,_0x3789e1['IConfigService'])],_0x4caaa6);var _0x4626a9=function(_0x3795b4){const _0x705879=_0x486c12;return _0x3795b4[_0x3795b4[_0x705879(0x276)]=0x0]=_0x705879(0x276),_0x3795b4[_0x3795b4[_0x705879(0x36c)]=0x1]=_0x705879(0x36c),_0x3795b4[_0x3795b4['HEARTBEAT']=0x2]=_0x705879(0x245),_0x3795b4;}(_0x4626a9||{});let _0x4e3ed2=0x7530,_0x4653ed=_0x486c12(0x25e);var _0x12c06f=class extends _0x3789e1['Disposable']{constructor(){const _0x21ed61=_0x486c12;super(),_0x28a1e3(this,_0x21ed61(0x203),(0x0,_0x3789e1[_0x21ed61(0x211)])()),_0x28a1e3(this,'_selfUnitIDs',new Set()),_0x28a1e3(this,'_unitOnClients',new Map()),_0x28a1e3(this,_0x21ed61(0x3b2),null),_0x28a1e3(this,_0x21ed61(0x201),new Map()),_0x28a1e3(this,_0x21ed61(0x134),new Map()),this[_0x21ed61(0x184)]();}[_0x486c12(0x1b4)](){const _0x3632c3=_0x486c12;super[_0x3632c3(0x1b4)](),this['_clearOtherTimers'][_0x3632c3(0x377)]((_0x11b291,_0xbd5cbd)=>this[_0x3632c3(0x387)](_0xbd5cbd)),this['_heartbeatTimer']&&window[_0x3632c3(0x295)](this[_0x3632c3(0x3b2)]);}[_0x486c12(0x385)](_0x5b2872){const _0x51a467=_0x486c12;return this[_0x51a467(0x221)](_0x5b2872)[_0x51a467(0x286)]((0x0,_0x4a289e[_0x51a467(0x1da)])());}[_0x486c12(0xf6)](_0x427fd9){const _0x2944d5=_0x486c12;this[_0x2944d5(0x293)][_0x2944d5(0x2f8)]===0x0&&this[_0x2944d5(0x118)](),this['_selfUnitIDs'][_0x2944d5(0x150)](_0x427fd9),this['_send']({'type':_0x4626a9[_0x2944d5(0x276)],'memberID':this[_0x2944d5(0x203)],'unitIDs':[_0x427fd9],'isForwarded':!0x1});}['disposeUnit'](_0x32d735){const _0x22b5d0=_0x486c12;this[_0x22b5d0(0x293)][_0x22b5d0(0x26e)](_0x32d735),this[_0x22b5d0(0x293)][_0x22b5d0(0x2f8)]===0x0&&this[_0x22b5d0(0x3b2)]&&window['clearInterval'](this[_0x22b5d0(0x3b2)]);}['_init'](){const _0x49d701=_0x486c12;this[_0x49d701(0x26a)]((0x0,_0x3789e1['toDisposable'])((0x0,_0x4a289e['fromEvent'])(window,_0x49d701(0xe1))['subscribe'](_0x4853d6=>{const _0x16f3cc=_0x49d701;if(_0x4853d6[_0x16f3cc(0x2fc)]!==_0x4653ed||!_0x4853d6[_0x16f3cc(0x2e2)])return;let _0x3dce19=JSON[_0x16f3cc(0x212)](_0x4853d6[_0x16f3cc(0x2e2)]);this[_0x16f3cc(0x35c)](_0x3dce19);}))),window['addEventListener'](_0x49d701(0x356),()=>this[_0x49d701(0x248)]({'type':_0x4626a9[_0x49d701(0x36c)],'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x486c12(0x35c)](_0xb7cee1){const _0x35570f=_0x486c12;switch(_0xb7cee1[_0x35570f(0x3a8)]){case _0x4626a9[_0x35570f(0x276)]:this[_0x35570f(0x1e3)](_0xb7cee1);break;case _0x4626a9[_0x35570f(0x36c)]:this['_handleLeaveEvent'](_0xb7cee1);break;case _0x4626a9['HEARTBEAT']:this[_0x35570f(0x2e9)](_0xb7cee1);break;}}[_0x486c12(0x1e3)](_0x1f523a){const _0x524630=_0x486c12;let {unitIDs:_0x4b5674,memberID:_0x2bd38e,isForwarded:_0x24899c}=_0x1f523a;_0x4b5674[_0x524630(0x377)](_0x5b4d53=>{const _0x218589=_0x524630;if(!_0x24899c&&this['_unitOnClients'][_0x218589(0x35e)](_0x5b4d53)&&this[_0x218589(0x221)](_0x5b4d53)['next'](_0x5ba2ed[_0x218589(0x123)][_0x218589(0x386)]),!this[_0x218589(0x1be)][_0x218589(0x35e)](_0x5b4d53)||!this[_0x218589(0x1be)][_0x218589(0x114)](_0x5b4d53)[_0x218589(0x35e)](_0x2bd38e)){let _0x3bb28e=this[_0x218589(0x1be)][_0x218589(0x114)](_0x5b4d53)||new Set();_0x3bb28e[_0x218589(0x150)](_0x2bd38e),this['_unitOnClients']['set'](_0x5b4d53,_0x3bb28e),this['_scheduleClearOtherTimer'](_0x2bd38e);}}),_0x24899c||this[_0x524630(0x248)]({'type':_0x4626a9['JOIN'],'memberID':this['_id'],'unitIDs':[...this[_0x524630(0x293)]],'isForwarded':!0x0});}[_0x486c12(0x1bc)](_0x3d07e2){const _0x12fca4=_0x486c12;this[_0x12fca4(0x387)](_0x3d07e2);let _0x2d7612=window[_0x12fca4(0x31f)](()=>{const _0x372f9c=_0x12fca4;this['_unitOnClients'][_0x372f9c(0x377)](_0x558b82=>{const _0x48d6d3=_0x372f9c;_0x558b82[_0x48d6d3(0x26e)](_0x3d07e2);});},_0x4e3ed2*0x2);this[_0x12fca4(0x201)][_0x12fca4(0x1de)](_0x3d07e2,_0x2d7612);}[_0x486c12(0x387)](_0x6dbc1c){const _0x1f42bc=_0x486c12;if(this[_0x1f42bc(0x201)][_0x1f42bc(0x35e)](_0x6dbc1c)){let _0x179dff=this[_0x1f42bc(0x201)]['get'](_0x6dbc1c);_0x179dff&&window[_0x1f42bc(0x2bf)](_0x179dff),this[_0x1f42bc(0x201)]['set'](_0x6dbc1c,null);}}['_handleLeaveEvent'](_0x20f780){let {memberID:_0x47de61,unitIDs:_0x3c2fcc}=_0x20f780;_0x3c2fcc['forEach'](_0x3794f1=>{const _0xb69dde=_0x3eb0;var _0x3ab9d3;let _0x4e9709=this[_0xb69dde(0x1be)][_0xb69dde(0x114)](_0x3794f1);_0x4e9709&&(_0x4e9709[_0xb69dde(0x26e)](_0x47de61),(_0x3ab9d3=this[_0xb69dde(0x221)](_0x3794f1))==null||_0x3ab9d3[_0xb69dde(0x283)](_0x4e9709['size']===0x0?_0x5ba2ed[_0xb69dde(0x123)][_0xb69dde(0x2a6)]:_0x5ba2ed['UnitStatus'][_0xb69dde(0x386)]));}),this['_removeClearOtherTimer'](_0x47de61);}[_0x486c12(0x2e9)](_0x21a671){const _0x150ab2=_0x486c12;this['_scheduleClearOtherTimer'](_0x21a671[_0x150ab2(0x37e)]);}[_0x486c12(0x248)](_0x524f86){const _0x22d454=_0x486c12;localStorage['setItem'](_0x4653ed,JSON[_0x22d454(0x374)](_0x524f86));}[_0x486c12(0x118)](){const _0x1ec70e=_0x486c12;this['_heartbeatTimer']=window[_0x1ec70e(0x1ba)](()=>{const _0x13062d=_0x1ec70e;this['_send']({'type':_0x4626a9[_0x13062d(0x245)],'memberID':this[_0x13062d(0x203)]});},_0x4e3ed2);}[_0x486c12(0x221)](_0x2e8c7c){const _0x1f9807=_0x486c12;return this[_0x1f9807(0x134)][_0x1f9807(0x35e)](_0x2e8c7c)||this[_0x1f9807(0x134)][_0x1f9807(0x1de)](_0x2e8c7c,new _0x4a289e['BehaviorSubject'](_0x5ba2ed['UnitStatus'][_0x1f9807(0x2a6)])),this[_0x1f9807(0x134)][_0x1f9807(0x114)](_0x2e8c7c);}};Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x15d),{'enumerable':!0x0,'get':function(){return _0x7679a8;}}),Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x1c0),{'enumerable':!0x0,'get':function(){return _0xe6e34a;}}),Object['defineProperty'](_0x59af53,_0x486c12(0x16c),{'enumerable':!0x0,'get':function(){return _0x2f2efb;}}),_0x59af53[_0x486c12(0x228)]=_0x1b48a9,Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x10a),{'enumerable':!0x0,'get':function(){return _0x4caaa6;}}),_0x59af53[_0x486c12(0xf3)]=_0x573714,Object[_0x486c12(0x23a)](_0x59af53,_0x486c12(0x107),{'enumerable':!0x0,'get':function(){return _0x4c8995;}}),_0x59af53[_0x486c12(0x2aa)]=_0x12c06f,_0x59af53[_0x486c12(0x2d8)]=_0x5b0485;}));
|