@univerjs-pro/collaboration-client-ui 1.0.0-alpha.7 → 1.0.0-beta.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/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.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/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.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-HK.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/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.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/id-ID.js +1 -1
- package/lib/es/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.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-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +1 -5
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.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/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.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-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +3 -3
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +2 -2
- package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +3 -3
- package/lib/types/models/cursor.d.ts +0 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.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/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.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/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.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-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +23 -22
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3840f9,_0x4c21ad){const _0x595b94=_0x3560,_0x34761e=_0x3840f9();while(!![]){try{const _0x510c13=parseInt(_0x595b94(0x234))/0x1*(-parseInt(_0x595b94(0x32b))/0x2)+parseInt(_0x595b94(0x2d3))/0x3*(parseInt(_0x595b94(0x36e))/0x4)+-parseInt(_0x595b94(0x262))/0x5*(-parseInt(_0x595b94(0x197))/0x6)+parseInt(_0x595b94(0x1e4))/0x7+-parseInt(_0x595b94(0x19a))/0x8*(parseInt(_0x595b94(0x362))/0x9)+-parseInt(_0x595b94(0x48d))/0xa+parseInt(_0x595b94(0x3b7))/0xb;if(_0x510c13===_0x4c21ad)break;else _0x34761e['push'](_0x34761e['shift']());}catch(_0x5071e1){_0x34761e['push'](_0x34761e['shift']());}}}(_0x5654,0x3153d),function(_0x29684a,_0x210bb9){const _0x2a308a=_0x3560;typeof exports==_0x2a308a(0x416)&&typeof module<'u'?_0x210bb9(exports,require('@univerjs-pro/boards-ui'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define==_0x2a308a(0x489)&&define[_0x2a308a(0x3b5)]?define(['exports',_0x2a308a(0x491),_0x2a308a(0x278),_0x2a308a(0x237),_0x2a308a(0x252),_0x2a308a(0x486),_0x2a308a(0x3b3),_0x2a308a(0x1bb),_0x2a308a(0x1d3),'react/jsx-runtime',_0x2a308a(0x1c8),_0x2a308a(0x287),'@univerjs/docs-ui','@univerjs-pro/collaboration',_0x2a308a(0x399),_0x2a308a(0x213),_0x2a308a(0x227),'@univerjs-pro/slides-ui','@univerjs/sheets-ui',_0x2a308a(0x409),_0x2a308a(0x294)],_0x210bb9):(_0x29684a=typeof globalThis<'u'?globalThis:_0x29684a||self,_0x210bb9(_0x29684a[_0x2a308a(0x46f)]={},_0x29684a[_0x2a308a(0x39d)],_0x29684a[_0x2a308a(0x4cd)],_0x29684a[_0x2a308a(0x2e0)],_0x29684a[_0x2a308a(0x488)],_0x29684a[_0x2a308a(0x486)],_0x29684a[_0x2a308a(0x486)][_0x2a308a(0x1db)],_0x29684a[_0x2a308a(0x317)],_0x29684a['React'],_0x29684a[_0x2a308a(0x457)],_0x29684a[_0x2a308a(0x25b)],_0x29684a[_0x2a308a(0x496)],_0x29684a[_0x2a308a(0x3de)],_0x29684a[_0x2a308a(0x198)],_0x29684a['UniverDocs'],_0x29684a['UniverEngineFormula'],_0x29684a[_0x2a308a(0x253)],_0x29684a[_0x2a308a(0x4b8)],_0x29684a['UniverSheetsUi'],_0x29684a[_0x2a308a(0x46e)],_0x29684a[_0x2a308a(0x439)]));}(this,function(_0x288673,_0x199609,_0x289c2c,_0x3378d6,_0x4dab43,_0x5515fe,_0x18241c,_0x472933,_0x477dc2,_0x2d4a70,_0x21620d,_0x301182,_0xe8b960,_0x518a46,_0x904e3,_0x4599c2,_0x277df0,_0x524d80,_0x4fe045,_0x418f3f,_0x6c7a){const _0x470848=_0x3560;Object[_0x470848(0x3f4)](_0x288673,Symbol[_0x470848(0x2f2)],{'value':_0x470848(0x483)});function _0xf61d2c({ref:_0x151ed4,..._0x2fff91}){const _0x1b7b33=_0x470848;let {icon:_0x172aac,id:_0x3965ed,className:_0x18837b,extend:_0x441704,..._0x408dca}=_0x2fff91,_0x32ee62=('univerjs-icon\x20univerjs-icon-'+_0x3965ed+'\x20'+(_0x18837b||''))['trim'](),_0xdc328d=(0x0,_0x477dc2['useRef'])('_'+_0x40e54e());return _0x50b086(_0x172aac,''+_0x3965ed,{'defIds':_0x172aac[_0x1b7b33(0x1e1)],'idSuffix':_0xdc328d[_0x1b7b33(0x1ca)]},{'ref':_0x151ed4,'className':_0x32ee62,..._0x408dca},_0x441704);}function _0x50b086(_0x4b5301,_0x149b6a,_0xe644c,_0x50f7e8,_0x4d1cb7){const _0x994ba3=_0x470848;return(0x0,_0x477dc2['createElement'])(_0x4b5301['tag'],{'key':_0x149b6a,..._0x3383d9(_0x4b5301,_0xe644c,_0x4d1cb7),..._0x50f7e8},(_0x494106(_0x4b5301,_0xe644c)[_0x994ba3(0x208)]||[])[_0x994ba3(0x40f)]((_0xb07a5e,_0xde16d7)=>_0x50b086(_0xb07a5e,_0x149b6a+'-'+_0x4b5301[_0x994ba3(0x232)]+'-'+_0xde16d7,_0xe644c,void 0x0,_0x4d1cb7)));}function _0x3383d9(_0x1cfef5,_0x2a5601,_0x10fb5d){const _0xf8a0f1=_0x470848;let _0x2ec49f={..._0x1cfef5[_0xf8a0f1(0x17e)]};_0x10fb5d!=null&&_0x10fb5d[_0xf8a0f1(0x424)]&&_0x2ec49f['fill']===_0xf8a0f1(0x424)&&(_0x2ec49f[_0xf8a0f1(0x478)]=_0x10fb5d[_0xf8a0f1(0x424)]),_0x10fb5d!=null&&_0x10fb5d[_0xf8a0f1(0x424)]&&_0x2ec49f[_0xf8a0f1(0x353)]===_0xf8a0f1(0x424)&&(_0x2ec49f['stroke']=_0x10fb5d[_0xf8a0f1(0x424)]),_0x1cfef5['tag']===_0xf8a0f1(0x484)&&_0x2ec49f['id']&&(_0x2ec49f['id']+=_0x2a5601[_0xf8a0f1(0x3bb)]),Object[_0xf8a0f1(0x2dd)](_0x2ec49f)[_0xf8a0f1(0x315)](([_0x5667b8,_0x52e895])=>{const _0x551960=_0xf8a0f1;_0x5667b8===_0x551960(0x484)&&typeof _0x52e895==_0x551960(0x245)&&(_0x2ec49f[_0x5667b8]=_0x52e895[_0x551960(0x2aa)](/url\(#(.*)\)/,'url(#$1'+_0x2a5601[_0x551960(0x3bb)]+')'));});let {defIds:_0x37e736}=_0x2a5601;return!_0x37e736||_0x37e736[_0xf8a0f1(0x254)]===0x0?_0x2ec49f:(_0x1cfef5[_0xf8a0f1(0x232)]===_0xf8a0f1(0x23a)&&_0x2ec49f[_0xf8a0f1(0x37f)]&&(_0x2ec49f[_0xf8a0f1(0x37f)]+=_0x2a5601['idSuffix']),Object[_0xf8a0f1(0x2dd)](_0x2ec49f)['forEach'](([_0x255cab,_0x28737f])=>{const _0x476576=_0xf8a0f1;typeof _0x28737f==_0x476576(0x245)&&(_0x2ec49f[_0x255cab]=_0x28737f[_0x476576(0x2aa)](/url\(#(.*)\)/,_0x476576(0x43e)+_0x2a5601[_0x476576(0x3bb)]+')'));}),_0x2ec49f);}function _0x494106(_0x66349f,_0x55a324){const _0x3db146=_0x470848;var _0x4447e8;let {defIds:_0x148797}=_0x55a324;return!_0x148797||_0x148797['length']===0x0?_0x66349f:_0x66349f[_0x3db146(0x232)]===_0x3db146(0x2d9)&&(_0x4447e8=_0x66349f['children'])!=null&&_0x4447e8[_0x3db146(0x254)]?{..._0x66349f,'children':_0x66349f['children'][_0x3db146(0x40f)](_0x54d32f=>typeof _0x54d32f[_0x3db146(0x17e)]['id']=='string'&&_0x148797&&_0x148797['includes'](_0x54d32f[_0x3db146(0x17e)]['id'])?{..._0x54d32f,'attrs':{..._0x54d32f[_0x3db146(0x17e)],'id':_0x54d32f['attrs']['id']+_0x55a324[_0x3db146(0x3bb)]}}:_0x54d32f)}:_0x66349f;}function _0x40e54e(){const _0x2a0a45=_0x470848;return Math[_0x2a0a45(0x327)]()[_0x2a0a45(0x31f)](0x24)[_0x2a0a45(0x22b)](0x2,0x8);}_0xf61d2c[_0x470848(0x25a)]=_0x470848(0x34c);let _0x491331={'tag':_0x470848(0x3df),'attrs':{'xmlns':_0x470848(0x1fa),'fill':_0x470848(0x36d),'viewBox':_0x470848(0x3a3),'width':'1em','height':_0x470848(0x18d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x470848(0x453),'attrs':{'stroke':_0x470848(0x2a4),'d':_0x470848(0x292),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x470848(0x2d9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x470848(0x391)},'children':[{'tag':_0x470848(0x453),'attrs':{'fill':_0x470848(0x271),'d':_0x470848(0x2ff)}}]}]}],'defIds':[_0x470848(0x391)]},_0x4525e8=(0x0,_0x477dc2[_0x470848(0x2fa)])(function(_0x1e616a,_0x1093ef){const _0x12f917=_0x470848;return(0x0,_0x477dc2[_0x12f917(0x218)])(_0xf61d2c,Object[_0x12f917(0x480)]({},_0x1e616a,{'id':'off-line-icon','ref':_0x1093ef,'icon':_0x491331}));});_0x4525e8[_0x470848(0x25a)]=_0x470848(0x367);let _0x25d82a={'tag':_0x470848(0x3df),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x470848(0x36d),'viewBox':_0x470848(0x26a),'width':_0x470848(0x18d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x470848(0x453),'attrs':{'stroke':_0x470848(0x2a4),'d':'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','strokeLinecap':_0x470848(0x365),'strokeLinejoin':_0x470848(0x365),'strokeWidth':1.2}}]},{'tag':_0x470848(0x2d9),'attrs':{},'children':[{'tag':_0x470848(0x4ce),'attrs':{'id':_0x470848(0x40b)},'children':[{'tag':_0x470848(0x453),'attrs':{'fill':_0x470848(0x271),'d':_0x470848(0x2ff),'transform':_0x470848(0x35d)}}]}]}],'defIds':[_0x470848(0x40b)]},_0x32b485=(0x0,_0x477dc2[_0x470848(0x2fa)])(function(_0x1a22e8,_0x5b4530){const _0x52de87=_0x470848;return(0x0,_0x477dc2['createElement'])(_0xf61d2c,Object[_0x52de87(0x480)]({},_0x1a22e8,{'id':_0x52de87(0x2c0),'ref':_0x5b4530,'icon':_0x25d82a}));});_0x32b485[_0x470848(0x25a)]=_0x470848(0x177);let _0x57fe21={'tag':_0x470848(0x3df),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x470848(0x36d),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x470848(0x453),'attrs':{'fill':'currentColor','d':_0x470848(0x26c),'fillRule':_0x470848(0x268),'clipRule':_0x470848(0x268)}}]},_0x4f71da=(0x0,_0x477dc2[_0x470848(0x2fa)])(function(_0xfb2399,_0xd58bc2){const _0x2727eb=_0x470848;return(0x0,_0x477dc2[_0x2727eb(0x218)])(_0xf61d2c,Object[_0x2727eb(0x480)]({},_0xfb2399,{'id':_0x2727eb(0x1cd),'ref':_0xd58bc2,'icon':_0x57fe21}));});_0x4f71da[_0x470848(0x25a)]=_0x470848(0x473);let _0x590a66={'tag':_0x470848(0x3df),'attrs':{'xmlns':_0x470848(0x1fa),'fill':'none','viewBox':_0x470848(0x3a3),'width':_0x470848(0x18d),'height':_0x470848(0x18d)},'children':[{'tag':_0x470848(0x453),'attrs':{'fill':_0x470848(0x351),'d':_0x470848(0x363),'fillOpacity':0.2,'fillRule':_0x470848(0x268),'clipRule':'evenodd'}},{'tag':_0x470848(0x453),'attrs':{'fill':'#0B9EFB','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':'evenodd','clipRule':_0x470848(0x268)}}]},_0x1858c5=(0x0,_0x477dc2[_0x470848(0x2fa)])(function(_0x5949cf,_0x1a3b88){const _0x13fce0=_0x470848;return(0x0,_0x477dc2[_0x13fce0(0x218)])(_0xf61d2c,Object[_0x13fce0(0x480)]({},_0x5949cf,{'id':_0x13fce0(0x1ac),'ref':_0x1a3b88,'icon':_0x590a66}));});_0x1858c5[_0x470848(0x25a)]=_0x470848(0x450);function _0x4921e(_0x3bb6e2){const _0x3cf141=_0x470848;switch(_0x3bb6e2){case _0x289c2c[_0x3cf141(0x49f)]['OFFLINE']:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x4525e8,{}),'colorClass':_0x3cf141(0x3e6),'i18nKey':_0x3cf141(0x2bb),'tooltipKey':'collaboration-client-ui.collabClient.tooltip.reconnect','clickable':!0x0,'indicator':_0x3cf141(0x1f7)};case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x266)]:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x4525e8,{}),'colorClass':'univer-text-orange-500','i18nKey':'collaboration-client-ui.collabStatus.conflict','clickable':!0x1,'indicator':'static'};case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x1b6)]:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x1858c5,{}),'colorClass':_0x3cf141(0x3d0),'i18nKey':_0x3cf141(0x2da),'clickable':!0x1,'indicator':'spin'};case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x4d1)]:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x32b485,{}),'colorClass':_0x3cf141(0x2e6),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':_0x3cf141(0x1f7)};case _0x289c2c[_0x3cf141(0x49f)]['AWAITING']:case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x270)]:return{'icon':(0x0,_0x2d4a70['jsx'])(_0x1858c5,{}),'colorClass':_0x3cf141(0x3d0),'i18nKey':_0x3cf141(0x23e),'clickable':!0x1,'indicator':_0x3cf141(0x24a)};case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x3eb)]:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x1858c5,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x3cf141(0x23e),'clickable':!0x1,'indicator':_0x3cf141(0x24a)};case _0x289c2c[_0x3cf141(0x49f)]['SYNCED']:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x32b485,{}),'colorClass':_0x3cf141(0x22d),'i18nKey':_0x3cf141(0x19d),'clickable':!0x1,'indicator':_0x3cf141(0x1f7)};}}function _0x2f381a(_0x3a8948){const _0x59ee8a=_0x470848;let {status$:_0x40bfde}=_0x3a8948,_0x2e546e=(0x0,_0x4dab43[_0x59ee8a(0x238)])(_0x40bfde,_0x289c2c['CollaborationStatus']['NOT_COLLAB']),_0xab1b58=(0x0,_0x4dab43['useDependency'])(_0x3378d6[_0x59ee8a(0x23b)]),_0x2d7d3b=(0x0,_0x4dab43[_0x59ee8a(0x2a3)])(_0x289c2c['CollaborationSessionService']),_0x585cab=(0x0,_0x477dc2[_0x59ee8a(0x46a)])(()=>_0x4921e(_0x2e546e),[_0x2e546e]),_0x4a9174=_0x2e546e!==_0x289c2c[_0x59ee8a(0x49f)][_0x59ee8a(0x3d1)],_0x38faf6=_0xab1b58['t'](_0x585cab[_0x59ee8a(0x1a0)]),_0x5d1b40=_0x585cab['tooltipKey']?_0xab1b58['t'](_0x585cab[_0x59ee8a(0x2b6)]):_0x38faf6,_0x38ee35=(0x0,_0x477dc2['useCallback'])(()=>{const _0x3ddec2=_0x59ee8a;_0x4a9174||_0x2d7d3b[_0x3ddec2(0x302)]();},[_0x4a9174,_0x2d7d3b]),_0x5bf4c5=(0x0,_0x477dc2['useCallback'])(_0x4b476b=>{const _0x5b3d81=_0x59ee8a;!_0x4a9174&&(_0x4b476b['key']===_0x5b3d81(0x371)||_0x4b476b[_0x5b3d81(0x354)]==='\x20')&&(_0x4b476b[_0x5b3d81(0x23f)](),_0x2d7d3b[_0x5b3d81(0x302)]());},[_0x4a9174,_0x2d7d3b]),_0x352691=(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x59ee8a(0x261),{'className':(0x0,_0x472933[_0x59ee8a(0x2d5)])(_0x59ee8a(0x3ed),_0x59ee8a(0x19c),_0x585cab[_0x59ee8a(0x3d7)],{'univer-animate-spin':_0x585cab[_0x59ee8a(0x2d0)]===_0x59ee8a(0x24a),'univer-animate-pulse':_0x585cab[_0x59ee8a(0x2d0)]===_0x59ee8a(0x35f)}),'aria-hidden':_0x59ee8a(0x349),'children':_0x585cab['icon']}),_0x3eff91=(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x59ee8a(0x261),{'className':(0x0,_0x472933[_0x59ee8a(0x2d5)])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-h-8\x20univer-w-8\x20univer-rounded-lg',_0x59ee8a(0x21e),_0x59ee8a(0x37b),_0x59ee8a(0x27e),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x585cab[_0x59ee8a(0x4cb)],'univer-cursor-default':!_0x585cab['clickable']}),'children':_0x352691});return _0x585cab['clickable']?(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x472933[_0x59ee8a(0x1e5)],{'title':_0x5d1b40,'placement':_0x59ee8a(0x192),'children':(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x59ee8a(0x35a),{'type':_0x59ee8a(0x35a),'onClick':_0x38ee35,'onKeyDown':_0x5bf4c5,'className':(0x0,_0x472933[_0x59ee8a(0x2d5)])(_0x59ee8a(0x4ba),_0x59ee8a(0x1a7),'univer-m-0\x20univer-p-0',_0x59ee8a(0x3a0)),'aria-label':_0x38faf6+_0x59ee8a(0x38a)+_0x5d1b40,'role':'status','aria-live':_0x59ee8a(0x3d6),'aria-atomic':_0x59ee8a(0x349),'children':_0x3eff91})}):(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x472933[_0x59ee8a(0x1e5)],{'title':_0x5d1b40,'placement':_0x59ee8a(0x192),'children':(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x59ee8a(0x332),{'className':(0x0,_0x472933[_0x59ee8a(0x2d5)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x59ee8a(0x1a7),_0x59ee8a(0x476)),'aria-label':_0x38faf6,'role':_0x59ee8a(0x44a),'aria-live':'polite','aria-atomic':_0x59ee8a(0x349),'children':_0x3eff91})});}function _0x5a2bff(_0x2d9c55){'@babel/helpers - typeof';const _0x418192=_0x470848;return _0x5a2bff=typeof Symbol==_0x418192(0x489)&&typeof Symbol[_0x418192(0x3fa)]==_0x418192(0x282)?function(_0x5d07d7){return typeof _0x5d07d7;}:function(_0x4dc908){const _0x6ee37a=_0x418192;return _0x4dc908&&typeof Symbol=='function'&&_0x4dc908[_0x6ee37a(0x350)]===Symbol&&_0x4dc908!==Symbol['prototype']?'symbol':typeof _0x4dc908;},_0x5a2bff(_0x2d9c55);}function _0x303d16(_0x340c40,_0x1dbc09){const _0xf5776=_0x470848;if(_0x5a2bff(_0x340c40)!='object'||!_0x340c40)return _0x340c40;var _0x4f4506=_0x340c40[Symbol[_0xf5776(0x269)]];if(_0x4f4506!==void 0x0){var _0xc4ca00=_0x4f4506[_0xf5776(0x442)](_0x340c40,_0x1dbc09||_0xf5776(0x182));if(_0x5a2bff(_0xc4ca00)!=_0xf5776(0x416))return _0xc4ca00;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1dbc09===_0xf5776(0x245)?String:Number)(_0x340c40);}function _0x37b905(_0x540654){const _0xa1a9de=_0x470848;var _0x5e2985=_0x303d16(_0x540654,_0xa1a9de(0x245));return _0x5a2bff(_0x5e2985)=='symbol'?_0x5e2985:_0x5e2985+'';}function _0x317deb(_0x4aed0b,_0xeb393a,_0x1e93d2){const _0x299344=_0x470848;return(_0xeb393a=_0x37b905(_0xeb393a))in _0x4aed0b?Object[_0x299344(0x3f4)](_0x4aed0b,_0xeb393a,{'value':_0x1e93d2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4aed0b[_0xeb393a]=_0x1e93d2,_0x4aed0b;}function _0x4f2c8d(_0x54f3a5,_0x401663){return function(_0x1f0268,_0xd184b9){_0x401663(_0x1f0268,_0xd184b9,_0x54f3a5);};}function _0x265259(_0x158366,_0xd41668,_0xa7e177,_0x3517db){const _0x415c3c=_0x470848;var _0x22ed9a=arguments[_0x415c3c(0x254)],_0x595586=_0x22ed9a<0x3?_0xd41668:_0x3517db===null?_0x3517db=Object[_0x415c3c(0x17a)](_0xd41668,_0xa7e177):_0x3517db,_0x3f91c9;if(typeof Reflect==_0x415c3c(0x416)&&typeof Reflect[_0x415c3c(0x47b)]=='function')_0x595586=Reflect[_0x415c3c(0x47b)](_0x158366,_0xd41668,_0xa7e177,_0x3517db);else{for(var _0x16be54=_0x158366[_0x415c3c(0x254)]-0x1;_0x16be54>=0x0;_0x16be54--)(_0x3f91c9=_0x158366[_0x16be54])&&(_0x595586=(_0x22ed9a<0x3?_0x3f91c9(_0x595586):_0x22ed9a>0x3?_0x3f91c9(_0xd41668,_0xa7e177,_0x595586):_0x3f91c9(_0xd41668,_0xa7e177))||_0x595586);}return _0x22ed9a>0x3&&_0x595586&&Object[_0x415c3c(0x3f4)](_0xd41668,_0xa7e177,_0x595586),_0x595586;}let _0x35e9ef=class extends _0x3378d6['Disposable']{constructor(_0xa1d21b,_0x465238,_0x426117,_0x5d12af){const _0x240ebb=_0x470848;super(),this[_0x240ebb(0x48a)]=_0xa1d21b,this['_injector']=_0x465238,this[_0x240ebb(0x2d1)]=_0x426117,this['_uiPartsService']=_0x5d12af,_0x317deb(this,'_status$',new _0x5515fe[(_0x240ebb(0x4b4))](_0x289c2c[_0x240ebb(0x49f)][_0x240ebb(0x4d1)])),this[_0x240ebb(0x174)](),this[_0x240ebb(0x348)]();}[_0x470848(0x348)](){const _0x566eb7=_0x470848;this[_0x566eb7(0x3a7)]((0x0,_0x5515fe[_0x566eb7(0x443)])(this[_0x566eb7(0x48a)][_0x566eb7(0x329)],this[_0x566eb7(0x48a)][_0x566eb7(0x2bf)](_0x3378d6[_0x566eb7(0x2b5)]['UNIVER_DOC']),this[_0x566eb7(0x48a)]['getCurrentTypeOfUnit$'](_0x3378d6[_0x566eb7(0x2b5)]['UNIVER_SHEET']))['pipe']((0x0,_0x18241c['map'])(()=>_0x25bce7(this[_0x566eb7(0x48a)])),(0x0,_0x18241c[_0x566eb7(0x1b1)])(),(0x0,_0x5515fe[_0x566eb7(0x187)])(_0x3cf225=>_0x3cf225?this[_0x566eb7(0x2d1)][_0x566eb7(0x396)](_0x3cf225):(0x0,_0x5515fe['of'])(null)),(0x0,_0x5515fe[_0x566eb7(0x187)])(_0x39ed1f=>_0x39ed1f?_0x39ed1f[_0x566eb7(0x239)]:(0x0,_0x5515fe['of'])(_0x289c2c[_0x566eb7(0x49f)]['NOT_COLLAB'])))[_0x566eb7(0x31e)](_0x426b5a=>{const _0x207d16=_0x566eb7;this['_status$'][_0x207d16(0x29d)](_0x426b5a);}));}[_0x470848(0x174)](){const _0x63f48d=_0x470848;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x4dab43[_0x63f48d(0x2ab)]['HEADER_MENU'],()=>(0x0,_0x4dab43[_0x63f48d(0x427)])(_0x5be910({'status$':this[_0x63f48d(0x281)]['asObservable']()}),this[_0x63f48d(0x240)])));}};_0x35e9ef=_0x265259([_0x4f2c8d(0x0,_0x3378d6['IUniverInstanceService']),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x32e)])),_0x4f2c8d(0x3,_0x4dab43['IUIPartsService'])],_0x35e9ef);let _0x4ab697=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x3e9a7d,_0x3dd847,_0xf4da9d,_0x53c9a6){const _0x20addf=_0x470848;super(),this['_univerInstanceService']=_0x3e9a7d,this['_injector']=_0x3dd847,this[_0x20addf(0x2d1)]=_0xf4da9d,this[_0x20addf(0x1bc)]=_0x53c9a6,_0x317deb(this,_0x20addf(0x281),new _0x5515fe['BehaviorSubject'](_0x289c2c[_0x20addf(0x49f)]['NOT_COLLAB'])),this['_initStatusComponent'](),this[_0x20addf(0x348)]();}['_initStatusListener'](){const _0x40fda5=_0x470848;this['disposeWithMe']((0x0,_0x5515fe[_0x40fda5(0x443)])((0x0,_0x5515fe['of'])(null),this[_0x40fda5(0x48a)][_0x40fda5(0x2bf)](_0x3378d6['UniverInstanceType'][_0x40fda5(0x346)]))[_0x40fda5(0x376)]((0x0,_0x18241c[_0x40fda5(0x40f)])(()=>_0x223372(this[_0x40fda5(0x48a)])),(0x0,_0x18241c[_0x40fda5(0x1b1)])(),(0x0,_0x5515fe[_0x40fda5(0x187)])(_0x153491=>_0x153491?this[_0x40fda5(0x2d1)][_0x40fda5(0x396)](_0x153491):(0x0,_0x5515fe['of'])(null)),(0x0,_0x5515fe[_0x40fda5(0x187)])(_0x34593d=>_0x34593d?_0x34593d[_0x40fda5(0x239)]:(0x0,_0x5515fe['of'])(_0x289c2c[_0x40fda5(0x49f)][_0x40fda5(0x4d1)])))[_0x40fda5(0x31e)](_0x2d4b68=>{const _0x28e0ef=_0x40fda5;this[_0x28e0ef(0x281)]['next'](_0x2d4b68);}));}['_initStatusComponent'](){const _0x5423a8=_0x470848;this['disposeWithMe'](this[_0x5423a8(0x1bc)]['registerComponent'](_0x199609[_0x5423a8(0x17b)],()=>(0x0,_0x4dab43[_0x5423a8(0x427)])(_0x5be910({'status$':this['_status$'][_0x5423a8(0x38e)]()}),this[_0x5423a8(0x240)])));}};_0x4ab697=_0x265259([_0x4f2c8d(0x0,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x32e)])),_0x4f2c8d(0x3,_0x4dab43['IUIPartsService'])],_0x4ab697);function _0x25bce7(_0x42cc61){const _0x238310=_0x470848;let _0x58a0e0=_0x42cc61['getFocusedUnit'](),_0x218db1=_0x58a0e0==null?void 0x0:_0x58a0e0['getUnitId']();if(_0x218db1&&!(0x0,_0x3378d6[_0x238310(0x46b)])(_0x218db1))return _0x218db1;let _0x2b5f17=_0x42cc61[_0x238310(0x3a9)](_0x3378d6[_0x238310(0x2b5)]['UNIVER_DOC']),_0x32843d=_0x2b5f17==null?void 0x0:_0x2b5f17[_0x238310(0x2fe)]();if(_0x32843d&&!(0x0,_0x3378d6['isInternalEditorID'])(_0x32843d))return _0x32843d;let _0x4a0877=_0x42cc61[_0x238310(0x3a9)](_0x3378d6['UniverInstanceType'][_0x238310(0x1ab)]);if(_0x4a0877)return _0x4a0877[_0x238310(0x2fe)]();let _0xa66070=_0x42cc61[_0x238310(0x422)](_0x3378d6[_0x238310(0x2b5)][_0x238310(0x43f)])[_0x238310(0x403)](_0x2acdd5=>!(0x0,_0x3378d6['isInternalEditorID'])(_0x2acdd5[_0x238310(0x2fe)]()));return _0xa66070?_0xa66070[_0x238310(0x2fe)]():null;}function _0x223372(_0x1b2df0){const _0x201d18=_0x470848;var _0x337dfd;let _0x3e8625=_0x1b2df0[_0x201d18(0x3a9)](_0x3378d6['UniverInstanceType'][_0x201d18(0x346)]);return(_0x337dfd=_0x3e8625==null?void 0x0:_0x3e8625[_0x201d18(0x2fe)]())==null?null:_0x337dfd;}function _0x5be910(_0x48aaf5){let {status$:_0x3fe12d}=_0x48aaf5;return function(){return(0x0,_0x2d4a70['jsx'])(_0x2f381a,{'status$':_0x3fe12d});};}var _0xe45e57=_0x470848(0x35b),_0x3e2282='1.0.0-alpha.7';let _0x2ca37d={},_0x563a43=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x3f7dc3,_0x2ab5a9){const _0x3c66af=_0x470848;super(),this[_0x3c66af(0x423)]=_0x3f7dc3,this[_0x3c66af(0x38f)]=_0x2ab5a9,this[_0x3c66af(0x1a4)]();}[_0x470848(0x1a4)](){const _0x4b2b7=_0x470848;let _0x17d0f3=this;this[_0x4b2b7(0x3a7)](this['_docClipboardService'][_0x4b2b7(0x31a)]({'onBeforePasteImage':async _0x1c40f2=>{const _0x427f6c=_0x4b2b7;let _0x511f08=await _0x17d0f3[_0x427f6c(0x38f)][_0x427f6c(0x1ff)](_0x1c40f2);return _0x511f08?{'source':_0x511f08[_0x427f6c(0x375)],'imageSourceType':_0x511f08[_0x427f6c(0x215)]}:null;}}));}};_0x563a43=_0x265259([_0x4f2c8d(0x0,_0xe8b960[_0x470848(0x228)]),_0x4f2c8d(0x1,_0x3378d6[_0x470848(0x3ab)])],_0x563a43);function _0x12ec35(_0x414554,_0xe5d936){const _0x9c796c=_0x470848;_0x414554[_0x9c796c(0x38c)](),_0x414554[_0x9c796c(0x1d1)]=_0x9c796c(0x1c7);let _0x4e668f=_0x414554[_0x9c796c(0x3fd)](_0xe5d936)[_0x9c796c(0x2a6)];return _0x414554[_0x9c796c(0x417)](),Math['min'](_0x4e668f+0x8,0xc8);}function _0x106c06(_0x556879,_0x3cd4d9){const _0x1095c0=_0x470848;var _0x58c252,_0xc4d71c,_0x22630a;let {radius:_0x14d3c7,width:_0xd52e4a,height:_0x4f4bde}=_0x3cd4d9;_0x14d3c7=(_0x58c252=_0x14d3c7)==null?0x0:_0x58c252,_0xd52e4a=(_0xc4d71c=_0xd52e4a)==null?0x1e:_0xc4d71c,_0x4f4bde=(_0x22630a=_0x4f4bde)==null?0x1e:_0x22630a;let _0xf53860=0x0,_0x5e2dbb=0x0,_0xfeb3c5=0x0;_0xf53860=_0x5e2dbb=_0xfeb3c5=Math['min'](_0x14d3c7,_0xd52e4a/0x2,_0x4f4bde/0x2),_0x556879['beginPath'](),_0x556879['moveTo'](_0xf53860,0x0),_0x556879[_0x1095c0(0x3ec)](_0xd52e4a-_0x5e2dbb,0x0),_0x556879['arc'](_0xd52e4a-_0x5e2dbb,_0x5e2dbb,_0x5e2dbb,Math['PI']*0x3/0x2,0x0,!0x1),_0x556879['lineTo'](_0xd52e4a,_0x4f4bde-_0xfeb3c5),_0x556879[_0x1095c0(0x2cb)](_0xd52e4a-_0xfeb3c5,_0x4f4bde-_0xfeb3c5,_0xfeb3c5,0x0,Math['PI']/0x2,!0x1),_0x556879['lineTo'](0x0,_0x4f4bde),_0x556879[_0x1095c0(0x3ec)](0x0,_0xf53860),_0x556879[_0x1095c0(0x2cb)](_0xf53860,_0xf53860,_0xf53860,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x556879[_0x1095c0(0x45d)](),_0x3cd4d9[_0x1095c0(0x478)]&&(_0x556879['save'](),_0x556879[_0x1095c0(0x301)]=_0x3cd4d9[_0x1095c0(0x478)],_0x3cd4d9['fillRule']===_0x1095c0(0x268)?_0x556879[_0x1095c0(0x478)](_0x1095c0(0x268)):_0x556879[_0x1095c0(0x478)](),_0x556879['restore']());}var _0x576e12=class _0xfe95c1 extends _0x21620d[_0x470848(0x404)]{constructor(_0x5c23ab,_0x53ce57){const _0xb08ce7=_0x470848;super(_0x5c23ab,_0x53ce57),_0x317deb(this,_0xb08ce7(0x1e6),void 0x0),_0x317deb(this,'text',void 0x0),this[_0xb08ce7(0x1e6)]=_0x53ce57==null?void 0x0:_0x53ce57[_0xb08ce7(0x1e6)],this[_0xb08ce7(0x231)]=_0x53ce57==null?void 0x0:_0x53ce57[_0xb08ce7(0x231)];}static[_0x470848(0x3f8)](_0x14b20d,_0x10d0f3){const _0x49173a=_0x470848;let {text:_0x25e1d9,color:_0xc180ec}=_0x10d0f3;_0x14b20d[_0x49173a(0x38c)](),_0x14b20d[_0x49173a(0x1d1)]=_0x49173a(0x3ce);let _0x3f1406=_0x14b20d[_0x49173a(0x3fd)](_0x25e1d9)[_0x49173a(0x2a6)];if(_0x106c06(_0x14b20d,{'height':0x14,'radius':0x4,'width':_0x12ec35(_0x14b20d,_0x25e1d9),'fill':_0xc180ec,'evented':!0x1}),_0x14b20d[_0x49173a(0x301)]='#FFF',_0x3f1406>0xc0){let _0x96adce='',_0x1c9bcf=0x0;for(let _0x634c90 of _0x25e1d9){let _0x4fa8d9=_0x14b20d[_0x49173a(0x3fd)](_0x634c90)[_0x49173a(0x2a6)];if(_0x1c9bcf+_0x4fa8d9<=0xc0-_0x14b20d[_0x49173a(0x3fd)](_0x49173a(0x425))[_0x49173a(0x2a6)])_0x96adce+=_0x634c90,_0x1c9bcf+=_0x4fa8d9;else{_0x96adce+=_0x49173a(0x425);break;}}_0x14b20d[_0x49173a(0x300)](_0x96adce,0x4,0xf);}else _0x14b20d[_0x49173a(0x300)](_0x25e1d9,0x4,0xf);_0x14b20d['restore']();}[_0x470848(0x3e4)](_0x5f56cc){const _0x152ad6=_0x470848;_0xfe95c1[_0x152ad6(0x3f8)](_0x5f56cc,this);}};let _0x344036=0x138a;var _0xac951d=class extends _0x21620d[_0x470848(0x404)]{constructor(_0x1ced72,_0x485dd5){const _0x1accc8=_0x470848;super(_0x1ced72,{..._0x485dd5,'evented':!0x1}),_0x317deb(this,_0x1accc8(0x1cf),_0x1accc8(0x250)),_0x317deb(this,_0x1accc8(0x273),''),_0x317deb(this,_0x1accc8(0x20a),!0x0),_0x485dd5&&this[_0x1accc8(0x467)](_0x485dd5);}[_0x470848(0x467)](_0xb3d36c){const _0x5a736e=_0x470848;var _0x2cbf90,_0x4dd8b0,_0x25d602,_0x469988,_0x56a28e,_0x8eeb0d,_0x13ea0a,_0x30102b;this[_0x5a736e(0x1cf)]=(_0x2cbf90=_0xb3d36c[_0x5a736e(0x1e6)])==null?this[_0x5a736e(0x1cf)]:_0x2cbf90,this[_0x5a736e(0x273)]=(_0x4dd8b0=_0xb3d36c[_0x5a736e(0x4a9)])==null?this['_name']:_0x4dd8b0,this['_showText']=(_0x25d602=_0xb3d36c[_0x5a736e(0x3f6)])==null?this[_0x5a736e(0x20a)]:_0x25d602,this[_0x5a736e(0x28c)]=!0x1,this[_0x5a736e(0x402)]({'left':(_0x469988=_0xb3d36c[_0x5a736e(0x3c2)])==null?this[_0x5a736e(0x3c2)]:_0x469988,'top':(_0x56a28e=_0xb3d36c[_0x5a736e(0x2f7)])==null?this[_0x5a736e(0x2f7)]:_0x56a28e,'width':(_0x8eeb0d=_0xb3d36c['width'])==null?this[_0x5a736e(0x2a6)]:_0x8eeb0d,'height':(_0x13ea0a=_0xb3d36c[_0x5a736e(0x279)])==null?this[_0x5a736e(0x279)]:_0x13ea0a,'angle':(_0x30102b=_0xb3d36c[_0x5a736e(0x33a)])==null?this[_0x5a736e(0x33a)]:_0x30102b});}['_draw'](_0xcad7e){const _0x18fafd=_0x470848;_0xcad7e[_0x18fafd(0x38c)](),_0xcad7e[_0x18fafd(0x25e)]=this[_0x18fafd(0x1cf)],_0xcad7e[_0x18fafd(0x22c)]=this[_0x18fafd(0x408)]||1.5,_0xcad7e[_0x18fafd(0x28d)]([0x6,0x4]),_0xcad7e[_0x18fafd(0x27d)](0x0,0x0,this[_0x18fafd(0x2a6)],this[_0x18fafd(0x279)]),_0xcad7e[_0x18fafd(0x417)](),this[_0x18fafd(0x20a)]&&(_0xcad7e[_0x18fafd(0x38c)](),_0xcad7e[_0x18fafd(0x485)](0x1,0x0,0x0,0x1,this[_0x18fafd(0x2a6)],-0x14),_0x576e12[_0x18fafd(0x3f8)](_0xcad7e,{'text':this[_0x18fafd(0x273)],'color':this[_0x18fafd(0x1cf)]}),_0xcad7e[_0x18fafd(0x417)]());}};let _0x4489e7=[_0x470848(0x337),'jiqing.500',_0x470848(0x1ae),_0x470848(0x2ad),_0x470848(0x201),_0x470848(0x37a)];var _0x5a49d8=class extends _0x3378d6[_0x470848(0x380)]{constructor(..._0x5db8d7){const _0x567cd8=_0x470848;super(..._0x5db8d7),_0x317deb(this,'_assignedColors',new Map()),_0x317deb(this,_0x567cd8(0x171),0x0);}[_0x470848(0x360)](_0x157e48){const _0xe9b581=_0x470848;if(this[_0xe9b581(0x1da)][_0xe9b581(0x1c9)](_0x157e48))return this[_0xe9b581(0x1da)][_0xe9b581(0x226)](_0x157e48);let _0x361595=_0x4489e7[this[_0xe9b581(0x171)]];return this[_0xe9b581(0x171)]=(this[_0xe9b581(0x171)]+0x1)%_0x4489e7[_0xe9b581(0x254)],this[_0xe9b581(0x1da)][_0xe9b581(0x406)](_0x157e48,_0x361595),_0x361595;}};function _0x1d8f8e(_0x3086c3){const _0x587b85=_0x470848;let _0x423d70;try{_0x423d70=JSON[_0x587b85(0x1ea)](_0x3086c3);}catch{return null;}if(typeof _0x423d70!=_0x587b85(0x416)||!_0x423d70)return null;let _0x3e96d3=_0x423d70;if(_0x3e96d3[_0x587b85(0x470)]!==_0x587b85(0x2a7)||typeof _0x3e96d3[_0x587b85(0x1fb)]!=_0x587b85(0x245)||typeof _0x3e96d3[_0x587b85(0x3cb)]!=_0x587b85(0x245))return null;let _0x354eac=Array[_0x587b85(0x26e)](_0x3e96d3[_0x587b85(0x1ce)])?_0x3e96d3['selectedIds'][_0x587b85(0x25d)](_0xd52dfc=>typeof _0xd52dfc==_0x587b85(0x245)):[],_0x5bddc5=typeof _0x3e96d3['focusedId']==_0x587b85(0x245)?_0x3e96d3[_0x587b85(0x49a)]:null;return{'kind':'board-element-selection','unitId':_0x3e96d3[_0x587b85(0x1fb)],'subUnitId':_0x3e96d3[_0x587b85(0x3cb)],'selectedIds':_0x354eac,'focusedId':_0x5bddc5};}let _0x308f67=class extends _0x3378d6['RxDisposable']{get[_0x470848(0x33d)](){const _0x42b637=_0x470848;return this[_0x42b637(0x1af)][_0x42b637(0x434)]();}get['roomMembers'](){const _0x2f1d6f=_0x470848;return this[_0x2f1d6f(0x1e2)][_0x2f1d6f(0x434)]();}constructor(_0x42cad0,_0x529a93,_0x4cc6de,_0x184b6f,_0xa96047){const _0x3cdbce=_0x470848;super(),this[_0x3cdbce(0x44c)]=_0x42cad0,this[_0x3cdbce(0x248)]=_0x529a93,this[_0x3cdbce(0x2c7)]=_0x4cc6de,this[_0x3cdbce(0x34e)]=_0x184b6f,this[_0x3cdbce(0x1c0)]=_0xa96047,_0x317deb(this,_0x3cdbce(0x358),!0x1),_0x317deb(this,_0x3cdbce(0x1a4),!0x1),_0x317deb(this,_0x3cdbce(0x1af),new _0x5515fe[(_0x3cdbce(0x4b4))](new Map())),_0x317deb(this,'cursorInfo$',this[_0x3cdbce(0x1af)][_0x3cdbce(0x38e)]()),_0x317deb(this,_0x3cdbce(0x1e2),new _0x5515fe['BehaviorSubject']([])),_0x317deb(this,'roomMembers$',this[_0x3cdbce(0x1e2)][_0x3cdbce(0x376)]((0x0,_0x5515fe[_0x3cdbce(0x22a)])(0x12c))),_0x317deb(this,_0x3cdbce(0x451),(0x0,_0x3378d6[_0x3cdbce(0x1fd)])(_0x2fa19c=>{const _0x138a35=_0x3cdbce;let _0x595ffd=_0x2fa19c[_0x138a35(0x39b)];if(!_0x595ffd||_0x595ffd[_0x138a35(0x1fb)]!==this[_0x138a35(0x44c)])return;let _0x31a8cf={'kind':_0x138a35(0x2a7),'unitId':_0x595ffd[_0x138a35(0x1fb)],'subUnitId':_0x595ffd['subUnitId'],'selectedIds':_0x2fa19c[_0x138a35(0x1ce)][_0x138a35(0x25d)](_0x4e0fda=>typeof _0x4e0fda==_0x138a35(0x245)),'focusedId':_0x2fa19c[_0x138a35(0x49a)]},_0x3e6b17={'eventID':_0x518a46[_0x138a35(0x45c)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x138a35(0x44c)],'memberID':this['_session'][_0x138a35(0x4a5)](),'selection':JSON[_0x138a35(0x3aa)](_0x31a8cf)}};this[_0x138a35(0x248)]['send'](_0x3e6b17,this['unitID']);},0x64));}[_0x470848(0x39c)](){const _0x26364f=_0x470848;super['dispose'](),this[_0x26364f(0x1af)][_0x26364f(0x29d)](new Map()),this[_0x26364f(0x1af)][_0x26364f(0x28f)](),this['_roomMembers$'][_0x26364f(0x29d)]([]),this['_roomMembers$'][_0x26364f(0x28f)]();}['init'](){const _0x365d2d=_0x470848;this['_init']||(this[_0x365d2d(0x1a4)]=!0x0,this[_0x365d2d(0x248)]['sessionStatus$']['pipe']((0x0,_0x5515fe[_0x365d2d(0x3e2)])(this[_0x365d2d(0x173)]))['subscribe'](_0x37e4e3=>{const _0x1f489c=_0x365d2d;_0x37e4e3===_0x289c2c[_0x1f489c(0x3c7)][_0x1f489c(0x1b5)]?this['_toggleOnline']():this[_0x1f489c(0x30d)]();}),this[_0x365d2d(0x248)]['event$'][_0x365d2d(0x376)]((0x0,_0x5515fe[_0x365d2d(0x3e2)])(this[_0x365d2d(0x173)]))[_0x365d2d(0x31e)](_0x45e986=>{const _0xdae324=_0x365d2d;let _0x504332=_0x45e986[_0xdae324(0x32d)];_0x504332===_0x518a46[_0xdae324(0x45c)][_0xdae324(0x1c6)]&&this[_0xdae324(0x1bf)](_0x45e986),_0x504332===_0x518a46['CollaborationEvent'][_0xdae324(0x4a0)]&&this[_0xdae324(0x4c7)](_0x45e986);}),this[_0x365d2d(0x1c0)]['state$'][_0x365d2d(0x376)]((0x0,_0x5515fe['takeUntil'])(this[_0x365d2d(0x173)]))[_0x365d2d(0x31e)](_0x210b0d=>{const _0xc4ba89=_0x365d2d;this[_0xc4ba89(0x358)]&&this[_0xc4ba89(0x451)](_0x210b0d);}));}[_0x470848(0x1bf)](_0x5cd1d3){const _0x254f8c=_0x470848;var _0x7ff250,_0x3ee0c7,_0x15898b,_0x2f4f4a;let {memberID:_0x1c57be,selection:_0x3abd96}=_0x5cd1d3['data'];if(_0x1c57be===((_0x7ff250=(_0x3ee0c7=this[_0x254f8c(0x248)])[_0x254f8c(0x4a5)])==null?void 0x0:_0x7ff250[_0x254f8c(0x442)](_0x3ee0c7)))return;let _0x45c562=_0x1d8f8e(_0x3abd96);if(!_0x45c562||_0x45c562['unitId']!==this['unitID'])return;let _0x47947a=(_0x15898b=(_0x2f4f4a=this[_0x254f8c(0x34e)][_0x254f8c(0x283)](this[_0x254f8c(0x44c)],_0x1c57be))==null?void 0x0:_0x2f4f4a[_0x254f8c(0x4a9)])==null?_0x254f8c(0x2b2):_0x15898b,_0xf4a827={'color':this[_0x254f8c(0x2c7)][_0x254f8c(0x360)](_0x1c57be),'name':_0x47947a,'unitId':_0x45c562[_0x254f8c(0x1fb)],'subUnitId':_0x45c562[_0x254f8c(0x3cb)],'selectedIds':_0x45c562[_0x254f8c(0x1ce)],'focusedId':_0x45c562[_0x254f8c(0x49a)],'selection':_0x3abd96},_0x3f5a8e=new Map(this[_0x254f8c(0x33d)]);_0x3f5a8e[_0x254f8c(0x406)](_0x1c57be,_0xf4a827),this[_0x254f8c(0x1af)][_0x254f8c(0x29d)](_0x3f5a8e);}['_onCursorDelete'](_0x8c68ff){const _0x29b3b4=_0x470848;let {memberID:_0x538c27}=_0x8c68ff['data'],_0x37ac9e=new Map(this[_0x29b3b4(0x33d)]);_0x37ac9e[_0x29b3b4(0x460)](_0x538c27),this[_0x29b3b4(0x1af)][_0x29b3b4(0x29d)](_0x37ac9e);}[_0x470848(0x2f4)](){const _0x583737=_0x470848;this[_0x583737(0x358)]=!0x0,this[_0x583737(0x451)](this['_boardElementStateService'][_0x583737(0x3be)]());}[_0x470848(0x30d)](){const _0x5538f7=_0x470848;this[_0x5538f7(0x358)]=!0x1;}};_0x308f67=_0x265259([_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x5a49d8)),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c['MemberService'])),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x199609['IBoardElementStateService']))],_0x308f67);function _0xdfe849(_0x58a28e){const _0x46bf75=_0x470848;let _0x14e18f='';for(let _0x17d370 of _0x58a28e){let {startOffset:_0x362773,endOffset:_0x39a9dd,isActive:_0x295dfe,rangeType:_0x32e5ce,segmentId:_0xc4a858,segmentPage:_0x578eb0}=_0x17d370;_0x14e18f[_0x46bf75(0x254)]&&(_0x14e18f+=','),_0x14e18f+=_0x362773+':'+_0x39a9dd+':'+(_0x295dfe?'1':'0')+':'+_0x32e5ce+':'+_0xc4a858+':'+_0x578eb0;}return _0x14e18f;}function _0x10278c(_0x14a7e2){const _0x5d5450=_0x470848;let _0x42eb4d=_0x14a7e2[_0x5d5450(0x2cd)](','),_0x4c6386=[];for(let _0x1bcc02 of _0x42eb4d){let [_0x52a814,_0x559e1d,_0x3ab06f,_0x590968,_0xb2226e,_0x19e66c]=_0x1bcc02[_0x5d5450(0x2cd)](':');_0x4c6386['push']({'startOffset':Number(_0x52a814),'endOffset':Number(_0x559e1d),'collapsed':_0x52a814===_0x559e1d,'isActive':_0x3ab06f==='1','rangeType':_0x590968===_0x3378d6[_0x5d5450(0x1e8)][_0x5d5450(0x33c)]?_0x3378d6[_0x5d5450(0x1e8)][_0x5d5450(0x33c)]:_0x3378d6['DOC_RANGE_TYPE'][_0x5d5450(0x3da)],'segmentId':typeof _0xb2226e==_0x5d5450(0x245)?String(_0xb2226e):'','segmentPage':Number(_0x19e66c==null?-0x1:_0x19e66c)});}return _0x4c6386[_0x5d5450(0x3b2)](_0x4f7961=>_0x4f7961[_0x5d5450(0x2c6)])||(_0x4c6386[0x0]['isActive']=!0x0),_0x4c6386;}var _0x3ebe55=class extends _0x3378d6['RxDisposable']{constructor(..._0x4d279c){const _0x1ce2af=_0x470848;super(..._0x4d279c),_0x317deb(this,_0x1ce2af(0x382),new _0x5515fe[(_0x1ce2af(0x4b4))](null)),_0x317deb(this,_0x1ce2af(0x47c),this[_0x1ce2af(0x382)][_0x1ce2af(0x38e)]());}[_0x470848(0x1b4)](_0x4c4cb4){const _0x152384=_0x470848;let {unitID:_0x4aff94,memberID:_0x34a78a,textRanges:_0x44a0be}=_0x4c4cb4,_0x1cb121=_0xdfe849(_0x44a0be);if(_0x1cb121==='')return;let _0x400e1b={'unitID':_0x4aff94,'memberID':_0x34a78a,'selection':_0x1cb121};this[_0x152384(0x382)][_0x152384(0x29d)](_0x400e1b);}};let _0x1be286=class extends _0x3378d6[_0x470848(0x42a)]{get[_0x470848(0x33d)](){const _0x58e88a=_0x470848;return this[_0x58e88a(0x1af)][_0x58e88a(0x434)]();}get[_0x470848(0x330)](){const _0x4de0a7=_0x470848;return this[_0x4de0a7(0x1e2)]['getValue']();}constructor(_0x13c779,_0x3c7797,_0x21b51c,_0x1b9390,_0x3a1a32,_0x1cbb9d,_0x145783,_0x3dabd7,_0x40f423){const _0x374a1e=_0x470848;super(),this[_0x374a1e(0x44c)]=_0x13c779,this[_0x374a1e(0x248)]=_0x3c7797,this[_0x374a1e(0x240)]=_0x21b51c,this['_colorAssignService']=_0x1b9390,this[_0x374a1e(0x34e)]=_0x3a1a32,this[_0x374a1e(0x255)]=_0x1cbb9d,this[_0x374a1e(0x475)]=_0x145783,this[_0x374a1e(0x48a)]=_0x3dabd7,this[_0x374a1e(0x3cf)]=_0x40f423,_0x317deb(this,_0x374a1e(0x358),!0x1),_0x317deb(this,'_init',!0x1),_0x317deb(this,_0x374a1e(0x1af),new _0x5515fe[(_0x374a1e(0x4b4))](new Map())),_0x317deb(this,_0x374a1e(0x4ad),this[_0x374a1e(0x1af)][_0x374a1e(0x38e)]()),_0x317deb(this,_0x374a1e(0x1e2),new _0x5515fe[(_0x374a1e(0x4b4))]([])),_0x317deb(this,'roomMembers$',this['_roomMembers$'][_0x374a1e(0x376)]((0x0,_0x5515fe[_0x374a1e(0x22a)])(0x12c))),_0x317deb(this,'_updateLocalCursor',(0x0,_0x3378d6[_0x374a1e(0x1fd)])(_0x144d7c=>{const _0x13176e=_0x374a1e;let _0x509e22={'eventID':_0x518a46[_0x13176e(0x45c)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x13176e(0x248)][_0x13176e(0x4a5)](),'selection':_0xdfe849(_0x144d7c)}};this[_0x13176e(0x248)]['send'](_0x509e22,this[_0x13176e(0x44c)]);},0x64));}[_0x470848(0x39c)](){const _0x225009=_0x470848;super[_0x225009(0x39c)](),this['_cursorInfo$'][_0x225009(0x29d)](new Map()),this[_0x225009(0x1af)][_0x225009(0x28f)](),this[_0x225009(0x1e2)][_0x225009(0x29d)]([]),this[_0x225009(0x1e2)][_0x225009(0x28f)]();}[_0x470848(0x21d)](){const _0x2214a6=_0x470848;this[_0x2214a6(0x1a4)]||(this[_0x2214a6(0x1a4)]=!0x0,this[_0x2214a6(0x248)][_0x2214a6(0x472)][_0x2214a6(0x376)]((0x0,_0x5515fe[_0x2214a6(0x3e2)])(this[_0x2214a6(0x173)]))['subscribe'](_0x4f0715=>{const _0xb8c15d=_0x2214a6;_0x4f0715===_0x289c2c[_0xb8c15d(0x3c7)][_0xb8c15d(0x1b5)]?this[_0xb8c15d(0x2f4)]():this[_0xb8c15d(0x30d)]();}),this[_0x2214a6(0x248)][_0x2214a6(0x4c6)][_0x2214a6(0x376)]((0x0,_0x5515fe[_0x2214a6(0x3e2)])(this[_0x2214a6(0x173)]))['subscribe'](_0x34cc0e=>{const _0x2b2415=_0x2214a6;let _0x5b9ef2=_0x34cc0e['eventID'];_0x5b9ef2===_0x518a46['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2b2415(0x1bf)](_0x34cc0e),_0x5b9ef2===_0x518a46[_0x2b2415(0x45c)][_0x2b2415(0x4a0)]&&this[_0x2b2415(0x4c7)](_0x34cc0e);}),this[_0x2214a6(0x3a7)](this[_0x2214a6(0x3cf)][_0x2214a6(0x21f)](_0x5de9f6=>{const _0x5c2a71=_0x2214a6;let _0x122893=_0x5de9f6[_0x5c2a71(0x31c)];_0x122893!=null&&this['_online']&&_0x5de9f6['id']===_0x904e3[_0x5c2a71(0x202)]['id']&&_0x122893[_0x5c2a71(0x1fb)]===this[_0x5c2a71(0x44c)]&&_0x122893[_0x5c2a71(0x4b5)]===!0x1&&_0x122893[_0x5c2a71(0x318)][_0x5c2a71(0x254)]>0x0&&this[_0x5c2a71(0x451)](_0x122893[_0x5c2a71(0x318)]);})),this[_0x2214a6(0x255)][_0x2214a6(0x47c)]['pipe']((0x0,_0x5515fe['takeUntil'])(this['dispose$']))[_0x2214a6(0x31e)](_0x2a73ad=>{const _0x55f7e4=_0x2214a6;if((_0x2a73ad==null?void 0x0:_0x2a73ad[_0x55f7e4(0x44c)])!==this[_0x55f7e4(0x44c)])return;let _0x5d0137={'eventID':_0x518a46[_0x55f7e4(0x45c)][_0x55f7e4(0x1c6)],'data':_0x2a73ad};this[_0x55f7e4(0x1bf)](_0x5d0137);}),this[_0x2214a6(0x3a7)](this[_0x2214a6(0x3cf)][_0x2214a6(0x21f)](_0x2b2ff1=>{const _0x1e883f=_0x2214a6;if(_0x2b2ff1[_0x1e883f(0x31c)]==null)return;let _0x1c4009=_0x2b2ff1['params'];if(_0x2b2ff1['id']!==_0x904e3['RichTextEditingMutation']['id']||_0x1c4009['unitId']!==this['unitID'])return;let _0x3975b2={'id':_0x1e883f(0x3b0),'params':_0x1c4009},_0x1bb996=this['cursorInfo'];for(let [_0x5afdbf,_0x5b6447]of _0x1bb996){let _0x39b52d={'id':_0x1e883f(0x3b0),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5b6447[_0x1e883f(0x318)]}},_0x10a373=this[_0x1e883f(0x475)]['transformMutation'](_0x3975b2,_0x39b52d,!0x1);if((0x0,_0x518a46[_0x1e883f(0x4c0)])(_0x10a373))throw _0x10a373[_0x1e883f(0x194)];_0x1bb996[_0x1e883f(0x406)](_0x5afdbf,{..._0x5b6447,'ranges':_0x10a373[_0x1e883f(0x24f)][_0x1e883f(0x31c)][_0x1e883f(0x1dd)]});}queueMicrotask(()=>{const _0x56a2e6=_0x1e883f;this['_cursorInfo$'][_0x56a2e6(0x29d)](_0x1bb996);});})));}[_0x470848(0x1bf)](_0x2118a9){const _0x58e3d6=_0x470848;var _0x54caf5,_0x69e501;let {memberID:_0x170310,selection:_0x389ac8}=_0x2118a9[_0x58e3d6(0x3f5)],_0x4a06d6=_0x10278c(_0x389ac8),_0x58f88b=(_0x54caf5=(_0x69e501=this[_0x58e3d6(0x34e)][_0x58e3d6(0x283)](this[_0x58e3d6(0x44c)],_0x170310))==null?void 0x0:_0x69e501[_0x58e3d6(0x4a9)])==null?_0x58e3d6(0x2b2):_0x54caf5,_0x384498={'color':this[_0x58e3d6(0x2c7)][_0x58e3d6(0x360)](_0x170310),'name':_0x58f88b,'ranges':_0x4a06d6},_0x1a3a22=this['cursorInfo'];_0x1a3a22[_0x58e3d6(0x406)](_0x170310,_0x384498),this[_0x58e3d6(0x1af)][_0x58e3d6(0x29d)](_0x1a3a22);}[_0x470848(0x4c7)](_0x50f53f){const _0xc52a20=_0x470848;let {memberID:_0x4d093c}=_0x50f53f[_0xc52a20(0x3f5)],_0x3e4823=this[_0xc52a20(0x33d)];_0x3e4823[_0xc52a20(0x460)](_0x4d093c),this[_0xc52a20(0x1af)]['next'](_0x3e4823);}['_toggleOnline'](){const _0x4caa45=_0x470848;var _0x248a85;if(this[_0x4caa45(0x358)]=!0x0,((_0x248a85=this[_0x4caa45(0x48a)][_0x4caa45(0x31d)]())==null?void 0x0:_0x248a85[_0x4caa45(0x2fe)]())!==this[_0x4caa45(0x44c)])return;let _0x353c34=this[_0x4caa45(0x240)]['get'](_0x904e3[_0x4caa45(0x1d0)])['getDocRanges']();Array[_0x4caa45(0x26e)](_0x353c34)&&_0x353c34[_0x4caa45(0x254)]>0x0&&this[_0x4caa45(0x451)](_0x353c34);}[_0x470848(0x30d)](){const _0x1064ef=_0x470848;this[_0x1064ef(0x358)]=!0x1;}};_0x1be286=_0x265259([_0x4f2c8d(0x2,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x5a49d8)),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x209)])),_0x4f2c8d(0x5,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3ebe55)),_0x4f2c8d(0x6,_0x518a46['ITransformService']),_0x4f2c8d(0x7,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x8,_0x3378d6[_0x470848(0x3d2)])],_0x1be286);let _0x54b4b6=()=>{let _0x2c6934=[],_0x38f232=!0x1;return _0xcb4dc3=>{_0x2c6934['push'](_0xcb4dc3),_0x38f232||(_0x38f232=!0x0,setTimeout(()=>{const _0x4bee28=_0x3560;_0x2c6934[_0x4bee28(0x315)](_0x27c24e=>_0x27c24e()),_0x2c6934=[],_0x38f232=!0x1;}));};},_0x3b554b=class extends _0x3378d6[_0x470848(0x42a)]{get[_0x470848(0x33d)](){const _0x501c0f=_0x470848;return this['_cursorInfo$'][_0x501c0f(0x434)]();}get[_0x470848(0x330)](){const _0xdf65c0=_0x470848;return this[_0xdf65c0(0x1e2)][_0xdf65c0(0x434)]();}constructor(_0x55e8f9,_0x9b51f7,_0xfd2be3,_0xb8488d,_0x47f407,_0x3e4572,_0x1e9317,_0x30d495){const _0x1ed816=_0x470848;super(),this[_0x1ed816(0x44c)]=_0x55e8f9,this[_0x1ed816(0x248)]=_0x9b51f7,this[_0x1ed816(0x240)]=_0xfd2be3,this[_0x1ed816(0x2c7)]=_0xb8488d,this[_0x1ed816(0x34e)]=_0x47f407,this[_0x1ed816(0x48a)]=_0x3e4572,this[_0x1ed816(0x3cf)]=_0x1e9317,this['_refRangeService']=_0x30d495,_0x317deb(this,_0x1ed816(0x358),!0x1),_0x317deb(this,_0x1ed816(0x1a4),!0x1),_0x317deb(this,_0x1ed816(0x1af),new _0x5515fe[(_0x1ed816(0x4b4))](new Map())),_0x317deb(this,'cursorInfo$',this['_cursorInfo$'][_0x1ed816(0x38e)]()),_0x317deb(this,'_roomMembers$',new _0x5515fe[(_0x1ed816(0x4b4))]([])),_0x317deb(this,'roomMembers$',this[_0x1ed816(0x1e2)][_0x1ed816(0x376)]((0x0,_0x5515fe[_0x1ed816(0x22a)])(0x12c))),_0x317deb(this,_0x1ed816(0x451),(0x0,_0x3378d6[_0x1ed816(0x1fd)])((_0x2bf1e4,_0x41abf4)=>{const _0xe83931=_0x1ed816;let _0x4ea363={'eventID':_0x518a46['CollaborationEvent'][_0xe83931(0x1c6)],'data':{'unitID':this['unitID'],'memberID':this[_0xe83931(0x248)]['getMemberID'](),'selection':(0x0,_0x4599c2[_0xe83931(0x321)])(_0x2bf1e4,_0x41abf4[_0xe83931(0x429)])}};this[_0xe83931(0x248)][_0xe83931(0x22f)](_0x4ea363,this[_0xe83931(0x44c)]);},0x64));}[_0x470848(0x39c)](){const _0xa5780e=_0x470848;super['dispose'](),this[_0xa5780e(0x1af)][_0xa5780e(0x29d)](new Map()),this[_0xa5780e(0x1af)][_0xa5780e(0x28f)](),this[_0xa5780e(0x1e2)][_0xa5780e(0x29d)]([]),this[_0xa5780e(0x1e2)][_0xa5780e(0x28f)]();}['init'](){const _0x43ed5d=_0x470848;this[_0x43ed5d(0x1a4)]||(this[_0x43ed5d(0x1a4)]=!0x0,this['_session']['sessionStatus$'][_0x43ed5d(0x376)]((0x0,_0x5515fe[_0x43ed5d(0x3e2)])(this['dispose$']))['subscribe'](_0x15f3f0=>{const _0x2e9d18=_0x43ed5d;_0x15f3f0===_0x289c2c[_0x2e9d18(0x3c7)][_0x2e9d18(0x1b5)]?this[_0x2e9d18(0x2f4)]():this[_0x2e9d18(0x30d)]();}),this['_session']['event$'][_0x43ed5d(0x376)]((0x0,_0x5515fe[_0x43ed5d(0x3e2)])(this[_0x43ed5d(0x173)]))[_0x43ed5d(0x31e)](_0x4064d8=>{const _0xd111ea=_0x43ed5d;let _0x34fe02=_0x4064d8[_0xd111ea(0x32d)];_0x34fe02===_0x518a46[_0xd111ea(0x45c)][_0xd111ea(0x1c6)]&&this[_0xd111ea(0x1bf)](_0x4064d8),_0x34fe02===_0x518a46[_0xd111ea(0x45c)][_0xd111ea(0x4a0)]&&this[_0xd111ea(0x4c7)](_0x4064d8);}),this['_onRefRangeChange'](),this[_0x43ed5d(0x3a7)](this['_commandService'][_0x43ed5d(0x21f)](_0x4de03d=>{const _0x2689b9=_0x43ed5d;if(this['_online']&&_0x4de03d['id']===_0x277df0[_0x2689b9(0x4b2)]['id']&&_0x4de03d[_0x2689b9(0x31c)][_0x2689b9(0x1fb)]===this[_0x2689b9(0x44c)]){let _0x30251a=_0x4de03d[_0x2689b9(0x31c)];this[_0x2689b9(0x451)](_0x30251a[_0x2689b9(0x3cb)],_0x30251a['selections'][0x0]);}})));}['_onCursorUpdate'](_0x10a0f0){const _0x521957=_0x470848;var _0x306fee,_0x23a041;let {memberID:_0xb53e53,selection:_0x8026cd}=_0x10a0f0['data'],{sheetName:_0x14b153,range:_0x5ddada}=(0x0,_0x4599c2[_0x521957(0x1f5)])(_0x8026cd),_0xf818d6={'name':(_0x306fee=(_0x23a041=this[_0x521957(0x34e)][_0x521957(0x283)](this[_0x521957(0x44c)],_0xb53e53))==null?void 0x0:_0x23a041[_0x521957(0x4a9)])==null?_0x521957(0x2b2):_0x306fee,'range':this['_getMergeRange'](_0x14b153,_0x5ddada),'sheetID':_0x14b153,'color':this[_0x521957(0x2c7)][_0x521957(0x360)](_0xb53e53),'selection':_0x8026cd},_0x162d7a=this[_0x521957(0x33d)];_0x162d7a[_0x521957(0x406)](_0xb53e53,_0xf818d6),this[_0x521957(0x1af)]['next'](_0x162d7a);}[_0x470848(0x4c7)](_0x341f18){const _0x3e4858=_0x470848;let {memberID:_0x5ac9cb}=_0x341f18[_0x3e4858(0x3f5)],_0x434edf=this[_0x3e4858(0x33d)];_0x434edf[_0x3e4858(0x460)](_0x5ac9cb),this['_cursorInfo$'][_0x3e4858(0x29d)](_0x434edf);}[_0x470848(0x172)](_0x185b51,_0x4d3670){const _0x145516=_0x470848;var _0x238b85;let _0x459317=(_0x238b85=this[_0x145516(0x48a)][_0x145516(0x3ee)](this['unitID']))==null||(_0x238b85=_0x238b85['getSheetBySheetId'](_0x185b51))==null?void 0x0:_0x238b85[_0x145516(0x34b)]();return(_0x459317==null?void 0x0:_0x459317[_0x145516(0x403)](_0x74bf43=>_0x3378d6[_0x145516(0x20c)][_0x145516(0x2ed)](_0x74bf43,_0x4d3670)))||_0x4d3670;}[_0x470848(0x479)](){const _0x3bec26=_0x470848;let _0x53fb24=new _0x3378d6[(_0x3bec26(0x2a9))](),_0x2599b3=_0x54b4b6(),_0x5c97be=()=>{const _0x20a5e1=_0x3bec26;_0x53fb24[_0x20a5e1(0x39c)]();let _0x4d8d18=(_0x247876,_0x53601c,_0x2a9fe2,_0x2fe41f)=>{const _0x4d130f=_0x20a5e1;let _0x2dbced=[];switch(_0x247876['id']){case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x30c)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x322)])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x1c2)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x1f6)])(_0x247876,_0x2fe41f);break;case _0x277df0['EffectRefRangId']['InsertColCommandId']:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x2df)])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x203)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x289)])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)]['InsertRangeMoveRightCommandId']:_0x2dbced=(0x0,_0x277df0['handleInsertRangeMoveRight'])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)]['InsertRowCommandId']:_0x2dbced=(0x0,_0x277df0['handleInsertRow'])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x2ae)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x44b)])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x298)]:_0x2dbced=(0x0,_0x277df0['handleIRemoveCol'])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x326)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x184)])(_0x247876,_0x2fe41f);break;}let _0xad374d=(0x0,_0x277df0[_0x4d130f(0x32c)])(_0x2dbced,_0x2fe41f),_0x5e8e22=this[_0x4d130f(0x33d)][_0x4d130f(0x226)](_0x53601c);if(_0x5e8e22&&_0xad374d){let _0x51ae36={..._0x5e8e22,'range':_0xad374d};this[_0x4d130f(0x33d)][_0x4d130f(0x406)](_0x53601c,_0x51ae36),_0x2599b3(()=>{const _0x2f7dc9=_0x4d130f;let _0x9653b8=this[_0x2f7dc9(0x418)][_0x2f7dc9(0x441)](_0xad374d,_0x528d4d=>(_0x9653b8['dispose'](),_0x4d8d18(_0x528d4d,_0x53601c,_0x2a9fe2,_0xad374d)));_0x53fb24[_0x2f7dc9(0x345)](_0x9653b8);});}return{'redos':[],'undos':[]};};this[_0x20a5e1(0x33d)][_0x20a5e1(0x315)]((_0x4c477c,_0x43d463)=>{const _0x4f3d69=_0x20a5e1;let {range:_0x100f17,sheetID:_0x5ace62}=_0x4c477c,_0x3e878a=this['_refRangeService'][_0x4f3d69(0x441)](_0x100f17,_0x1f7d92=>(_0x3e878a[_0x4f3d69(0x39c)](),_0x4d8d18(_0x1f7d92,_0x43d463,_0x5ace62,_0x100f17)));_0x53fb24['add'](_0x3e878a);});};this[_0x3bec26(0x3a7)]((0x0,_0x3378d6[_0x3bec26(0x44d)])(this[_0x3bec26(0x1af)][_0x3bec26(0x31e)](()=>{_0x5c97be();})));}[_0x470848(0x2f4)](){const _0x1ba50b=_0x470848;var _0x1b733b,_0x32d1cd;if(this['_online']=!0x0,((_0x1b733b=this[_0x1ba50b(0x48a)][_0x1ba50b(0x31d)]())==null?void 0x0:_0x1b733b['getUnitId']())!==this[_0x1ba50b(0x44c)])return;let _0x5d25a8=(_0x32d1cd=this[_0x1ba50b(0x240)][_0x1ba50b(0x226)](_0x277df0[_0x1ba50b(0x21b)])[_0x1ba50b(0x42f)]())==null?void 0x0:_0x32d1cd[0x0],_0x2537b7=this[_0x1ba50b(0x48a)]['getCurrentUnitOfType'](_0x3378d6['UniverInstanceType'][_0x1ba50b(0x1ab)])['getActiveSheet']();_0x5d25a8&&_0x2537b7&&this[_0x1ba50b(0x451)](_0x2537b7[_0x1ba50b(0x293)](),_0x5d25a8);}[_0x470848(0x30d)](){const _0x33d19a=_0x470848;this[_0x33d19a(0x358)]=!0x1;}};_0x3b554b=_0x265259([_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6['Injector'])),_0x4f2c8d(0x3,(0x0,_0x3378d6['Inject'])(_0x5a49d8)),_0x4f2c8d(0x4,(0x0,_0x3378d6['Inject'])(_0x289c2c['MemberService'])),_0x4f2c8d(0x5,_0x3378d6['IUniverInstanceService']),_0x4f2c8d(0x6,_0x3378d6['ICommandService']),_0x4f2c8d(0x7,(0x0,_0x3378d6[_0x470848(0x331)])(_0x277df0[_0x470848(0x3c0)]))],_0x3b554b);function _0x263f46(_0x1f68e3){const _0x371621=_0x470848;let _0x1443df;try{_0x1443df=JSON[_0x371621(0x1ea)](_0x1f68e3);}catch{return null;}if(typeof _0x1443df!=_0x371621(0x416)||!_0x1443df)return null;let _0x1ed8b3=_0x1443df;if(_0x1ed8b3[_0x371621(0x470)]!==_0x371621(0x357)||typeof _0x1ed8b3['unitId']!='string'||typeof _0x1ed8b3[_0x371621(0x3cb)]!=_0x371621(0x245))return null;let _0x4d1e7c=Array[_0x371621(0x26e)](_0x1ed8b3['selectedIds'])?_0x1ed8b3[_0x371621(0x1ce)][_0x371621(0x25d)](_0x1a8747=>typeof _0x1a8747==_0x371621(0x245)):[],_0x1cd7ab=typeof _0x1ed8b3[_0x371621(0x49a)]==_0x371621(0x245)?_0x1ed8b3['focusedId']:null;return{'kind':_0x371621(0x357),'unitId':_0x1ed8b3[_0x371621(0x1fb)],'subUnitId':_0x1ed8b3[_0x371621(0x3cb)],'selectedIds':_0x4d1e7c,'focusedId':_0x1cd7ab};}let _0x35adea=class extends _0x3378d6[_0x470848(0x42a)]{get[_0x470848(0x33d)](){const _0x6dd2ad=_0x470848;return this['_cursorInfo$'][_0x6dd2ad(0x434)]();}get[_0x470848(0x330)](){const _0x13657d=_0x470848;return this['_roomMembers$'][_0x13657d(0x434)]();}constructor(_0x4f65e2,_0x56c90a,_0x7bb386,_0x223b47,_0x35569f){const _0x313c8a=_0x470848;super(),this[_0x313c8a(0x44c)]=_0x4f65e2,this['_session']=_0x56c90a,this['_colorAssignService']=_0x7bb386,this[_0x313c8a(0x34e)]=_0x223b47,this['_slideDrawingStateService']=_0x35569f,_0x317deb(this,_0x313c8a(0x358),!0x1),_0x317deb(this,_0x313c8a(0x1a4),!0x1),_0x317deb(this,'_cursorInfo$',new _0x5515fe[(_0x313c8a(0x4b4))](new Map())),_0x317deb(this,_0x313c8a(0x4ad),this[_0x313c8a(0x1af)][_0x313c8a(0x38e)]()),_0x317deb(this,_0x313c8a(0x1e2),new _0x5515fe[(_0x313c8a(0x4b4))]([])),_0x317deb(this,_0x313c8a(0x2fb),this['_roomMembers$'][_0x313c8a(0x376)]((0x0,_0x5515fe[_0x313c8a(0x22a)])(0x12c))),_0x317deb(this,_0x313c8a(0x451),(0x0,_0x3378d6['debounce'])(_0x29fd91=>{const _0x2f83a3=_0x313c8a;let _0x2e7119=_0x29fd91[_0x2f83a3(0x39b)];if(!_0x2e7119||_0x2e7119[_0x2f83a3(0x1fb)]!==this['unitID'])return;let _0x28be49={'kind':'slide-element-selection','unitId':_0x2e7119[_0x2f83a3(0x1fb)],'subUnitId':_0x2e7119[_0x2f83a3(0x3cb)],'selectedIds':_0x29fd91[_0x2f83a3(0x1ce)][_0x2f83a3(0x25d)](_0x30c766=>typeof _0x30c766==_0x2f83a3(0x245)),'focusedId':_0x29fd91['focusedId']},_0x46da54={'eventID':_0x518a46[_0x2f83a3(0x45c)][_0x2f83a3(0x1c6)],'data':{'unitID':this[_0x2f83a3(0x44c)],'memberID':this['_session']['getMemberID'](),'selection':JSON[_0x2f83a3(0x3aa)](_0x28be49)}};this[_0x2f83a3(0x248)][_0x2f83a3(0x22f)](_0x46da54,this[_0x2f83a3(0x44c)]);},0x64));}[_0x470848(0x39c)](){const _0x503831=_0x470848;super[_0x503831(0x39c)](),this[_0x503831(0x1af)][_0x503831(0x29d)](new Map()),this[_0x503831(0x1af)][_0x503831(0x28f)](),this[_0x503831(0x1e2)][_0x503831(0x29d)]([]),this[_0x503831(0x1e2)][_0x503831(0x28f)]();}[_0x470848(0x21d)](){const _0x24eef2=_0x470848;this[_0x24eef2(0x1a4)]||(this['_init']=!0x0,this[_0x24eef2(0x248)]['sessionStatus$']['pipe']((0x0,_0x5515fe['takeUntil'])(this['dispose$']))[_0x24eef2(0x31e)](_0x35fb90=>{const _0x498cb6=_0x24eef2;_0x35fb90===_0x289c2c['SessionStatus'][_0x498cb6(0x1b5)]?this[_0x498cb6(0x2f4)]():this[_0x498cb6(0x30d)]();}),this[_0x24eef2(0x248)][_0x24eef2(0x4c6)][_0x24eef2(0x376)]((0x0,_0x5515fe[_0x24eef2(0x3e2)])(this[_0x24eef2(0x173)]))['subscribe'](_0x243baf=>{const _0x40fd03=_0x24eef2;let _0x2e89a7=_0x243baf[_0x40fd03(0x32d)];_0x2e89a7===_0x518a46['CollaborationEvent'][_0x40fd03(0x1c6)]&&this['_onCursorUpdate'](_0x243baf),_0x2e89a7===_0x518a46[_0x40fd03(0x45c)][_0x40fd03(0x4a0)]&&this[_0x40fd03(0x4c7)](_0x243baf);}),this[_0x24eef2(0x47d)][_0x24eef2(0x4bf)][_0x24eef2(0x376)]((0x0,_0x5515fe[_0x24eef2(0x3e2)])(this[_0x24eef2(0x173)]))[_0x24eef2(0x31e)](_0x2b42f3=>{const _0x1866aa=_0x24eef2;this[_0x1866aa(0x358)]&&this['_updateLocalCursor'](_0x2b42f3);}));}[_0x470848(0x1bf)](_0x33bff1){const _0x472a96=_0x470848;var _0x21ae0c,_0x2ea766,_0x481013,_0x1291fa;let {memberID:_0x45ae46,selection:_0x1e0c19}=_0x33bff1[_0x472a96(0x3f5)];if(_0x45ae46===((_0x21ae0c=(_0x2ea766=this[_0x472a96(0x248)])['getMemberID'])==null?void 0x0:_0x21ae0c[_0x472a96(0x442)](_0x2ea766)))return;let _0x553fe6=_0x263f46(_0x1e0c19);if(!_0x553fe6||_0x553fe6[_0x472a96(0x1fb)]!==this[_0x472a96(0x44c)])return;let _0x3be4f2=(_0x481013=(_0x1291fa=this[_0x472a96(0x34e)]['getMember'](this[_0x472a96(0x44c)],_0x45ae46))==null?void 0x0:_0x1291fa[_0x472a96(0x4a9)])==null?_0x472a96(0x2b2):_0x481013,_0x2b2e99={'color':this['_colorAssignService'][_0x472a96(0x360)](_0x45ae46),'name':_0x3be4f2,'unitId':_0x553fe6['unitId'],'subUnitId':_0x553fe6['subUnitId'],'selectedIds':_0x553fe6['selectedIds'],'focusedId':_0x553fe6['focusedId'],'selection':_0x1e0c19},_0x59db0d=new Map(this[_0x472a96(0x33d)]);_0x59db0d[_0x472a96(0x406)](_0x45ae46,_0x2b2e99),this['_cursorInfo$']['next'](_0x59db0d);}[_0x470848(0x4c7)](_0xde524){const _0x90c8b=_0x470848;let {memberID:_0x2eaf00}=_0xde524[_0x90c8b(0x3f5)],_0x3b2828=new Map(this[_0x90c8b(0x33d)]);_0x3b2828[_0x90c8b(0x460)](_0x2eaf00),this[_0x90c8b(0x1af)]['next'](_0x3b2828);}[_0x470848(0x2f4)](){const _0x41efd6=_0x470848;this[_0x41efd6(0x358)]=!0x0,this[_0x41efd6(0x451)](this['_slideDrawingStateService']['getSnapshot']());}['_toggleOffline'](){const _0x305716=_0x470848;this[_0x305716(0x358)]=!0x1;}};_0x35adea=_0x265259([_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x5a49d8)),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x209)])),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x524d80[_0x470848(0x383)]))],_0x35adea);let _0x3b029d=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x202496,_0x4bd7e1,_0x2553a2){const _0x57195e=_0x470848;super(),this[_0x57195e(0x48a)]=_0x202496,this[_0x57195e(0x240)]=_0x4bd7e1,this[_0x57195e(0x386)]=_0x2553a2,_0x317deb(this,'_entities',new Map()),_0x317deb(this,_0x57195e(0x24b),new _0x5515fe[(_0x57195e(0x44f))]()),this[_0x57195e(0x1a4)]();}[_0x470848(0x39c)](){const _0x22093d=_0x470848;super['dispose'](),this[_0x22093d(0x24b)][_0x22093d(0x28f)](),this[_0x22093d(0x243)][_0x22093d(0x315)](_0x2681f9=>_0x2681f9[_0x22093d(0x39c)]());}['getCollabCursors$'](_0x554740){const _0x4af581=_0x470848;return this[_0x4af581(0x243)][_0x4af581(0x1c9)](_0x554740)?this[_0x4af581(0x243)][_0x4af581(0x226)](_0x554740)[_0x4af581(0x4ad)]:this[_0x4af581(0x24b)][_0x4af581(0x376)]((0x0,_0x5515fe[_0x4af581(0x25d)])(_0x117c8e=>_0x117c8e[_0x4af581(0x44c)]===_0x554740),(0x0,_0x5515fe[_0x4af581(0x187)])(_0x2204f2=>_0x2204f2[_0x4af581(0x4ad)]));}[_0x470848(0x1a4)](){const _0x1731d5=_0x470848;this[_0x1731d5(0x48a)][_0x1731d5(0x1e7)](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x1ab)])[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this[_0x1731d5(0x173)]))[_0x1731d5(0x31e)](async _0x4d5eec=>{const _0x29ac60=_0x1731d5;let _0x4617b9=_0x4d5eec[_0x29ac60(0x18a)][_0x29ac60(0x2fe)](),_0x55f70e=await this[_0x29ac60(0x286)](_0x4617b9);this[_0x29ac60(0x24b)][_0x29ac60(0x29d)](_0x55f70e),this[_0x29ac60(0x243)][_0x29ac60(0x406)](_0x4617b9,_0x55f70e);}),this[_0x1731d5(0x48a)][_0x1731d5(0x1e7)](_0x3378d6[_0x1731d5(0x2b5)]['UNIVER_DOC'])[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this['dispose$']))['pipe']((0x0,_0x5515fe['filter'])(_0x344048=>!_0x344048[_0x1731d5(0x18a)]['getUnitId']()[_0x1731d5(0x42b)]('__')))['subscribe'](async _0x440143=>{const _0x253c82=_0x1731d5;let {unit:_0x3b733c}=_0x440143,_0xa76572=_0x3b733c[_0x253c82(0x2fe)](),_0x43a7e4=await this[_0x253c82(0x19f)](_0xa76572);this[_0x253c82(0x24b)][_0x253c82(0x29d)](_0x43a7e4),this[_0x253c82(0x243)]['set'](_0xa76572,_0x43a7e4);}),this[_0x1731d5(0x48a)][_0x1731d5(0x1e7)](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x352)])[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this[_0x1731d5(0x173)]))['subscribe'](async _0x11aa99=>{const _0x44a341=_0x1731d5;let _0x4c85bd=_0x11aa99[_0x44a341(0x18a)][_0x44a341(0x2fe)](),_0x3a6e8f=await this[_0x44a341(0x378)](_0x4c85bd);this[_0x44a341(0x24b)][_0x44a341(0x29d)](_0x3a6e8f),this[_0x44a341(0x243)][_0x44a341(0x406)](_0x4c85bd,_0x3a6e8f);}),this[_0x1731d5(0x48a)]['getTypeOfUnitAdded$'](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x346)])[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this[_0x1731d5(0x173)]))[_0x1731d5(0x31e)](async _0x44930b=>{const _0x184343=_0x1731d5;let _0x3b19fb=_0x44930b[_0x184343(0x18a)][_0x184343(0x2fe)](),_0x510128=await this[_0x184343(0x217)](_0x3b19fb);this['_entityInit$'][_0x184343(0x29d)](_0x510128),this[_0x184343(0x243)]['set'](_0x3b19fb,_0x510128);}),(0x0,_0x5515fe[_0x1731d5(0x443)])(this[_0x1731d5(0x48a)]['getTypeOfUnitDisposed$'](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x43f)]),this[_0x1731d5(0x48a)][_0x1731d5(0x2c2)](_0x3378d6['UniverInstanceType'][_0x1731d5(0x1ab)]),this[_0x1731d5(0x48a)][_0x1731d5(0x2c2)](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x352)]),this['_univerInstanceService'][_0x1731d5(0x2c2)](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x346)]))[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this['dispose$']))[_0x1731d5(0x31e)](_0x18dfc1=>{const _0x20162c=_0x1731d5;let _0xf8d673=_0x18dfc1[_0x20162c(0x2fe)](),_0x142daa=this['_entities'][_0x20162c(0x226)](_0xf8d673);_0x142daa&&(_0x142daa[_0x20162c(0x39c)](),this[_0x20162c(0x243)][_0x20162c(0x460)](_0xf8d673));});}async[_0x470848(0x286)](_0x4e03d0){const _0x23dcf5=_0x470848;let _0x1b8b5f=await this[_0x23dcf5(0x386)][_0x23dcf5(0x390)](_0x4e03d0),_0x4ee4e0=this[_0x23dcf5(0x240)]['createInstance'](_0x3b554b,_0x4e03d0,_0x1b8b5f);return _0x4ee4e0['init'](),_0x4ee4e0;}async[_0x470848(0x19f)](_0x598dce){const _0x59e091=_0x470848;let _0x4461db=await this[_0x59e091(0x386)][_0x59e091(0x390)](_0x598dce),_0x5561f0=this[_0x59e091(0x240)]['createInstance'](_0x1be286,_0x598dce,_0x4461db);return _0x5561f0[_0x59e091(0x21d)](),_0x5561f0;}async[_0x470848(0x378)](_0x3118f1){const _0x6886aa=_0x470848;let _0x3f7edc=await this[_0x6886aa(0x386)]['requireSession'](_0x3118f1),_0x416652=this[_0x6886aa(0x240)][_0x6886aa(0x1a9)](_0x35adea,_0x3118f1,_0x3f7edc);return _0x416652[_0x6886aa(0x21d)](),_0x416652;}async[_0x470848(0x217)](_0x25e170){const _0x4d4e06=_0x470848;let _0x4879b0=await this[_0x4d4e06(0x386)][_0x4d4e06(0x390)](_0x25e170),_0x54d52a=this['_injector'][_0x4d4e06(0x1a9)](_0x308f67,_0x25e170,_0x4879b0);return _0x54d52a[_0x4d4e06(0x21d)](),_0x54d52a;}};_0x3b029d=_0x265259([_0x4f2c8d(0x0,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6['Injector'])),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x1f4)]))],_0x3b029d);let _0x4f3792=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x25f028,_0x1e3e1d,_0x309ec4){const _0x4c9bad=_0x470848;super(),this[_0x4c9bad(0x40a)]=_0x25f028,this['_collabCursorController']=_0x1e3e1d,this[_0x4c9bad(0x1f3)]=_0x309ec4,_0x317deb(this,'_cursors',new Set()),_0x317deb(this,_0x4c9bad(0x2cf),!0x1),_0x317deb(this,_0x4c9bad(0x23c),!0x1),_0x317deb(this,_0x4c9bad(0x44e),new Map()),this['_init']();}[_0x470848(0x39c)](){const _0x3ca614=_0x470848;this[_0x3ca614(0x400)](),super[_0x3ca614(0x39c)]();}['_init'](){const _0x4d0f4b=_0x470848;let _0x499c97=this[_0x4d0f4b(0x405)][_0x4d0f4b(0x16c)](this[_0x4d0f4b(0x40a)][_0x4d0f4b(0x1fb)]);this[_0x4d0f4b(0x3a7)]((0x0,_0x3378d6[_0x4d0f4b(0x44d)])((0x0,_0x5515fe[_0x4d0f4b(0x297)])([_0x499c97,this[_0x4d0f4b(0x40a)]['unit'][_0x4d0f4b(0x1d8)],this[_0x4d0f4b(0x1f3)][_0x4d0f4b(0x305)]])['pipe']((0x0,_0x5515fe['takeUntil'])(this[_0x4d0f4b(0x173)]))[_0x4d0f4b(0x31e)](([_0x15d55a])=>{const _0x36f339=_0x4d0f4b;let _0x4f83f3=this[_0x36f339(0x40a)][_0x36f339(0x18a)][_0x36f339(0x299)](),_0x398693=new Map();_0x15d55a['forEach']((_0x2e6858,_0x4f5606)=>{const _0x52a2be=_0x36f339;_0x2e6858[_0x52a2be(0x3cb)]===_0x4f83f3&&_0x398693['set'](_0x4f5606,{..._0x2e6858,'color':this['_themeService'][_0x52a2be(0x28b)](_0x2e6858[_0x52a2be(0x1e6)])});}),this[_0x36f339(0x44e)]=_0x398693,this['_scheduleRender']();})));let _0x50e671=this[_0x4d0f4b(0x40a)][_0x4d0f4b(0x1cb)];this['disposeWithMe']((0x0,_0x3378d6[_0x4d0f4b(0x44d)])(_0x50e671['addObject$'][_0x4d0f4b(0x376)]((0x0,_0x5515fe[_0x4d0f4b(0x3e2)])(this[_0x4d0f4b(0x173)]))[_0x4d0f4b(0x31e)](()=>{const _0x15be72=_0x4d0f4b;this[_0x15be72(0x23c)]||this[_0x15be72(0x49c)]();})));}[_0x470848(0x49c)](){const _0x416b67=_0x470848;this[_0x416b67(0x2cf)]||(this[_0x416b67(0x2cf)]=!0x0,Promise[_0x416b67(0x4a8)]()[_0x416b67(0x308)](()=>{const _0xa2c4b0=_0x416b67;this[_0xa2c4b0(0x2cf)]=!0x1,this['_render']();}));}[_0x470848(0x2d4)](){const _0x21d946=_0x470848;this[_0x21d946(0x400)]();let _0x3d5398=this['_context'][_0x21d946(0x18a)]['getActivePageId'](),_0x3972aa=[];if(this[_0x21d946(0x44e)]['forEach']((_0x11f90b,_0x208908)=>{const _0x67cf8b=_0x21d946;_0x11f90b[_0x67cf8b(0x3cb)]===_0x3d5398&&_0x11f90b[_0x67cf8b(0x1ce)][_0x67cf8b(0x315)](_0x3e9600=>{const _0x2dbfcc=_0x67cf8b;let _0x33fc55=(0x0,_0x199609[_0x2dbfcc(0x340)])(_0x11f90b[_0x2dbfcc(0x1fb)],_0x3e9600),_0x5cccd9=this[_0x2dbfcc(0x43a)](_0x33fc55);if(!_0x5cccd9)return;let _0x360fd0=this[_0x2dbfcc(0x2bd)](_0x5cccd9);_0x3972aa['push'](new _0xac951d(_0x2dbfcc(0x49e)+_0x208908+'-'+_0x3e9600,{..._0x11f90b,'left':_0x360fd0[_0x2dbfcc(0x3c2)],'top':_0x360fd0['top'],'width':_0x360fd0['width'],'height':_0x360fd0[_0x2dbfcc(0x279)],'angle':_0x5cccd9[_0x2dbfcc(0x33a)],'evented':!0x1,'zIndex':_0x344036}));});}),_0x3972aa[_0x21d946(0x254)]===0x0){this['_context'][_0x21d946(0x1cb)]['makeDirty'](!0x0);return;}this[_0x21d946(0x23c)]=!0x0,this[_0x21d946(0x40a)][_0x21d946(0x1cb)][_0x21d946(0x16e)](_0x3972aa,_0x344036),this['_isApplyingOverlays']=!0x1,this[_0x21d946(0x196)]=new Set(_0x3972aa),this['_context'][_0x21d946(0x1cb)][_0x21d946(0x188)](!0x0);}[_0x470848(0x400)](){const _0x5a3bd4=_0x470848;let _0x1c982f=Array[_0x5a3bd4(0x452)](this[_0x5a3bd4(0x196)]);if(_0x1c982f[_0x5a3bd4(0x254)]===0x0)return;let _0x5898fa=this['_context'][_0x5a3bd4(0x1cb)];_0x5a3bd4(0x1a6)in _0x5898fa&&typeof _0x5898fa['removeObjects']==_0x5a3bd4(0x489)?_0x5898fa[_0x5a3bd4(0x1a6)](_0x1c982f):_0x1c982f['forEach'](_0x5b82a0=>{const _0x3885d8=_0x5a3bd4;'removeObject'in _0x5898fa&&typeof _0x5898fa[_0x3885d8(0x259)]==_0x3885d8(0x489)?_0x5898fa['removeObject'](_0x5b82a0):_0x5b82a0['dispose']();}),this[_0x5a3bd4(0x196)][_0x5a3bd4(0x2f8)](),_0x5898fa[_0x5a3bd4(0x188)](!0x0);}[_0x470848(0x43a)](_0x57714d){const _0x3af592=_0x470848;var _0x5a1a66,_0x16a3e7,_0x55faf0;let _0x7d43ad=this[_0x3af592(0x40a)][_0x3af592(0x1cb)];return(_0x5a1a66=(_0x16a3e7=(_0x55faf0=_0x7d43ad[_0x3af592(0x2e2)])==null?void 0x0:_0x55faf0[_0x3af592(0x442)](_0x7d43ad,_0x57714d))==null?_0x7d43ad['getObject'](_0x57714d):_0x16a3e7)==null?null:_0x5a1a66;}[_0x470848(0x2bd)](_0x59319a){const _0x4d17d5=_0x470848;var _0x4e64fc,_0x5271da;let _0x5e13cf=_0x59319a;return(_0x4e64fc=(_0x5271da=_0x5e13cf[_0x4d17d5(0x463)])==null?void 0x0:_0x5271da[_0x4d17d5(0x442)](_0x5e13cf))==null?{'left':_0x59319a[_0x4d17d5(0x3c2)],'top':_0x59319a[_0x4d17d5(0x2f7)],'width':_0x59319a[_0x4d17d5(0x2a6)],'height':_0x59319a['height']}:_0x4e64fc;}};_0x4f3792=_0x265259([_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3b029d)),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x3a2)]))],_0x4f3792);let _0x469998=_0x470848(0x275);var _0x33bf4d=class{constructor(_0x2754d6,_0x14698e,_0xdeb0ed,_0x24b4fb){const _0x158acd=_0x470848;this['_cursor']=_0x2754d6,this['_scene']=_0x14698e,this['_docSkeleton']=_0xdeb0ed,this[_0x158acd(0x462)]=_0x24b4fb,_0x317deb(this,'_shapes',[]),_0x317deb(this,_0x158acd(0x23d),null),_0x317deb(this,'_textBubble',null),_0x317deb(this,'_anchorDot',null),_0x317deb(this,_0x158acd(0x28e),null),_0x317deb(this,_0x158acd(0x392),null),this[_0x158acd(0x2d4)]();}set[_0x470848(0x2d7)](_0x419529){const _0x3e23b0=_0x470848;_0x419529?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x3e23b0(0x1d4)]&&this['_textBubble'][_0x3e23b0(0x3ea)]()):(this[_0x3e23b0(0x4b6)]&&this[_0x3e23b0(0x4b6)]['show'](),this['_textBubble']&&this[_0x3e23b0(0x1d4)][_0x3e23b0(0x26f)]());}[_0x470848(0x39c)](){const _0x27e374=_0x470848;for(let _0xae1db7 of this[_0x27e374(0x272)])_0xae1db7[_0x27e374(0x39c)]();this[_0x27e374(0x1d4)]&&this[_0x27e374(0x1d4)][_0x27e374(0x39c)](),this['_anchorDot']&&this[_0x27e374(0x4b6)][_0x27e374(0x39c)](),this[_0x27e374(0x23d)]&&this[_0x27e374(0x23d)][_0x27e374(0x39c)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x5a0f28=_0x470848;let {_docSkeleton:_0x189445,_document:_0x10968f}=this,{color:_0x440980,name:_0x127901,ranges:_0x1542ca}=this[_0x5a0f28(0x401)],_0x775317=_0x10968f['getOffsetConfig'](),{docsLeft:_0x97e37b,docsTop:_0x1561d0}=_0x775317,_0x1775b6=new _0xe8b960[(_0x5a0f28(0x34d))](_0x775317,_0x189445);for(let {startOffset:_0x32c70c,endOffset:_0x217dd0,rangeType:_0x5e5b1d,segmentId:_0x424f25,segmentPage:_0x739348,collapsed:_0x438491,isActive:_0x11c377}of _0x1542ca){let _0x481665=_0x189445[_0x5a0f28(0x304)](_0x32c70c,!0x0,_0x424f25,_0x739348),_0x32daad=_0x189445[_0x5a0f28(0x304)](_0x217dd0,!0x0,_0x424f25,_0x739348);if(_0x32daad==null&&(_0x32daad=_0x189445[_0x5a0f28(0x304)](_0x217dd0-0x1,!0x1,_0x424f25,_0x739348)),_0x11c377){let {contentBoxPointGroup:_0xc29ab0}=_0x1775b6[_0x5a0f28(0x2ef)](_0x32daad,_0x32daad);if(_0xc29ab0['length']===0x0)continue;this[_0x5a0f28(0x3cd)](_0x440980,_0xc29ab0,_0x97e37b,_0x1561d0,_0x127901),this['_eventUnsubscribe']=this[_0x5a0f28(0x428)]();}if(_0x481665&&_0x32daad){if(_0x5e5b1d===_0x3378d6[_0x5a0f28(0x1e8)][_0x5a0f28(0x3da)]){var _0x5a043b;let {pointGroup:_0x2013d1}=(_0x5a043b=new _0xe8b960['NodePositionConvertToRectRange'](_0x775317,_0x189445)['getRangePointData'](_0x481665,_0x32daad))==null?{}:_0x5a043b;if(_0x2013d1==null||_0x2013d1[_0x5a0f28(0x254)]===0x0)continue;this[_0x5a0f28(0x36a)](_0x440980,_0x2013d1,_0x97e37b,_0x1561d0);}else{if(!_0x438491){let {borderBoxPointGroup:_0x9fe1a5}=_0x1775b6[_0x5a0f28(0x2ef)](_0x481665,_0x32daad);if(_0x9fe1a5[_0x5a0f28(0x254)]===0x0)continue;this[_0x5a0f28(0x48c)](_0x440980,_0x9fe1a5,_0x97e37b,_0x1561d0);}}}}}[_0x470848(0x3cd)](_0x591d35,_0x13196e,_0x3404c7,_0xa12e52,_0x3e142b){const _0xaf1dde=_0x470848;let {left:_0x2912f5,top:_0x16c64a,height:_0x503fff}=this['_getAnchorBounding'](_0x13196e),_0x34e5ba=1.5/this[_0xaf1dde(0x296)](),_0xc1c7d4=new _0x21620d[(_0xaf1dde(0x465))](_0x469998+(0x0,_0x3378d6[_0xaf1dde(0x4c4)])(0x6),{'left':_0x2912f5+_0x3404c7-_0x34e5ba,'top':_0x16c64a+_0xa12e52,'height':_0x503fff,'width':1.5,'fill':_0x591d35||(0x0,_0x21620d['getColor'])(_0x3378d6[_0xaf1dde(0x1d5)][_0xaf1dde(0x30e)],0x0),'strokeWidth':_0x34e5ba,'stroke':'rgba(255,\x20255,\x20255,\x200.01)','evented':!0x0});this[_0xaf1dde(0x23d)]=_0xc1c7d4,this['_scene']['addObject'](_0xc1c7d4,_0xe8b960[_0xaf1dde(0x3c5)]);let _0x156f8=new _0x21620d[(_0xaf1dde(0x465))](_0x469998+(0x0,_0x3378d6[_0xaf1dde(0x4c4)])(0x6),{'left':_0x2912f5+_0x3404c7-_0x34e5ba,'top':_0x16c64a+_0xa12e52-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x591d35||(0x0,_0x21620d['getColor'])(_0x3378d6[_0xaf1dde(0x1d5)][_0xaf1dde(0x30e)],0x0),'strokeWidth':0x0,'stroke':_0x591d35||(0x0,_0x21620d[_0xaf1dde(0x3d3)])(_0x3378d6[_0xaf1dde(0x1d5)][_0xaf1dde(0x30e)],0x0),'evented':!0x1});this[_0xaf1dde(0x4b6)]=_0x156f8,this[_0xaf1dde(0x1b3)][_0xaf1dde(0x41a)](_0x156f8,_0xe8b960[_0xaf1dde(0x3c5)]);let _0x500f21=new _0x576e12(_0x469998+(0x0,_0x3378d6['generateRandomId'])(0x6),{'left':_0x2912f5+_0x3404c7-_0x34e5ba,'top':_0x16c64a+_0xa12e52-0x14,'text':_0x3e142b,'color':_0x591d35});this[_0xaf1dde(0x1d4)]=_0x500f21,this[_0xaf1dde(0x1b3)]['addObject'](_0x500f21,_0xe8b960['TEXT_RANGE_LAYER_INDEX']),this[_0xaf1dde(0x2d7)]=!0x1;}[_0x470848(0x428)](){const _0x319085=_0x470848;let _0x190405=this['_anchor'][_0x319085(0x1bd)][_0x319085(0x49b)](()=>{const _0x3da89c=_0x319085;this[_0x3da89c(0x2d7)]=!0x0;}),_0x37db2b=this[_0x319085(0x23d)]['onPointerLeave$'][_0x319085(0x49b)](()=>{const _0x3f03b4=_0x319085;this[_0x3f03b4(0x28e)]&&clearTimeout(this['_hideTimer']),this[_0x3f03b4(0x28e)]=setTimeout(()=>{const _0x5eebc6=_0x3f03b4;this[_0x5eebc6(0x2d7)]=!0x1;},0x7d0);});return()=>{const _0x28db24=_0x319085;_0x190405[_0x28db24(0x1d9)](),_0x37db2b[_0x28db24(0x1d9)]();};}[_0x470848(0x48c)](_0x4c6b0f,_0x368dfe,_0x5c06a2,_0x2b3542){const _0x592702=_0x470848;let _0x1e046d=0.2,_0x5cc0d7=new _0x3378d6[(_0x592702(0x1a1))](_0x4c6b0f)[_0x592702(0x1a5)](_0x1e046d)[_0x592702(0x33e)](),_0x363474=new _0x21620d[(_0x592702(0x2e4))](_0x592702(0x2ee)+(0x0,_0x3378d6[_0x592702(0x4c4)])(0x6),{'pointsGroup':_0x368dfe,'fill':_0x5cc0d7||(0x0,_0x21620d['getColor'])(_0x3378d6[_0x592702(0x1d5)][_0x592702(0x30e)],_0x1e046d),'left':_0x5c06a2,'top':_0x2b3542,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x592702(0x272)][_0x592702(0x207)](_0x363474),this['_scene'][_0x592702(0x41a)](_0x363474,_0xe8b960['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x5af5fb,_0x296e76,_0x4735a2,_0x159674){const _0x52fe90=_0x470848;let _0x3c0fb2=0.2,_0x4b4b5a=new _0x3378d6[(_0x52fe90(0x1a1))](_0x5af5fb)['setAlpha'](_0x3c0fb2)['toRgbString'](),_0xef8584=new _0x21620d['RegularPolygon'](_0x52fe90(0x497)+(0x0,_0x3378d6['generateRandomId'])(0x6),{'pointsGroup':_0x296e76,'fill':_0x4b4b5a||(0x0,_0x21620d[_0x52fe90(0x3d3)])(_0x3378d6[_0x52fe90(0x1d5)][_0x52fe90(0x30e)],_0x3c0fb2),'left':_0x4735a2,'top':_0x159674,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52fe90(0x272)][_0x52fe90(0x207)](_0xef8584),this[_0x52fe90(0x1b3)][_0x52fe90(0x41a)](_0xef8584,_0xe8b960['TEXT_RANGE_LAYER_INDEX']);}[_0x470848(0x449)](_0x1eaac2){let _0xb862dc=_0x1eaac2[0x0],_0x5be60e=_0xb862dc[0x0],_0x2cb52d=_0xb862dc[0x2],{x:_0x21083a,y:_0x40a939}=_0x5be60e,{x:_0x543591,y:_0x1817b8}=_0x2cb52d;return{'left':_0x21083a,'top':_0x40a939,'width':_0x543591-_0x21083a,'height':_0x1817b8-_0x40a939};}[_0x470848(0x296)](){const _0x320a66=_0x470848;let {scaleX:_0xc73a71,scaleY:_0x24ea84}=this[_0x320a66(0x1b3)][_0x320a66(0x369)]();return Math[_0x320a66(0x24e)](_0xc73a71,_0x24ea84);}};let _0x42c69d=class extends _0x3378d6['RxDisposable']{constructor(_0x5e3ce7,_0x1103a3,_0x80dc36,_0x4afc9e,_0x20116d){const _0x34c4ee=_0x470848;super(),this[_0x34c4ee(0x40a)]=_0x5e3ce7,this[_0x34c4ee(0x291)]=_0x1103a3,this[_0x34c4ee(0x405)]=_0x80dc36,this[_0x34c4ee(0x3cf)]=_0x4afc9e,this[_0x34c4ee(0x1f3)]=_0x20116d,_0x317deb(this,_0x34c4ee(0x431),[]),_0x317deb(this,_0x34c4ee(0x196),[]),this[_0x34c4ee(0x1a4)]();}['_init'](){const _0xfa924a=_0x470848;let _0x1ab01b=this[_0xfa924a(0x40a)][_0xfa924a(0x1fb)],_0x46296c=this[_0xfa924a(0x291)];this[_0xfa924a(0x3a7)]((0x0,_0x5515fe['combineLatest'])([this['_collabCursorController']['getCollabCursors$'](_0x1ab01b),this[_0xfa924a(0x1f3)][_0xfa924a(0x305)]])[_0xfa924a(0x376)]((0x0,_0x18241c['map'])(([_0x3869a8,_0x2d8063])=>({'skeleton':_0x46296c[_0xfa924a(0x251)](),'cursors':[..._0x3869a8['values']()][_0xfa924a(0x176)](_0x3a262d=>({..._0x3a262d,'color':this['_themeService'][_0xfa924a(0x28b)](_0x3a262d['color'])}))})))[_0xfa924a(0x31e)](_0x12fa82=>{const _0x34f80c=_0xfa924a;if(this[_0x34f80c(0x400)](),_0x12fa82){let {skeleton:_0x575c0e,cursors:_0x3cb942}=_0x12fa82;this[_0x34f80c(0x2db)](_0x575c0e,_0x3cb942);}})),this[_0xfa924a(0x2c9)](),this[_0xfa924a(0x3d9)]();}[_0x470848(0x2db)](_0xe7f342,_0x1f76c7){const _0x5290b2=_0x470848;let {scene:_0x7b0600,mainComponent:_0x3aa745}=this['_context'],_0x34ca63=_0x1f76c7[_0x5290b2(0x40f)](_0x3ed41a=>new _0x33bf4d(_0x3ed41a,_0x7b0600,_0xe7f342,_0x3aa745));this[_0x5290b2(0x431)]=_0x34ca63,this[_0x5290b2(0x196)]=_0x1f76c7;}['_refreshCollabCursors'](){const _0x1567a9=_0x470848;this['_removeCollabCursors']();let {scene:_0x3da2ae,mainComponent:_0x3d4a7c}=this[_0x1567a9(0x40a)],_0x44bb70=this[_0x1567a9(0x291)][_0x1567a9(0x251)](),_0x3c0b6c=this['_cursors'][_0x1567a9(0x40f)](_0x4659f4=>new _0x33bf4d(_0x4659f4,_0x3da2ae,_0x44bb70,_0x3d4a7c));this[_0x1567a9(0x431)]=_0x3c0b6c;}[_0x470848(0x400)](){const _0x1aaadc=_0x470848;this[_0x1aaadc(0x431)][_0x1aaadc(0x315)](_0x1128ee=>_0x1128ee['dispose']()),this[_0x1aaadc(0x431)]=[];}[_0x470848(0x3d9)](){const _0x18a98a=_0x470848;let _0x29699e=[_0xe8b960['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x18a98a(0x3cf)][_0x18a98a(0x21f)](_0x218f24=>{const _0x132420=_0x18a98a;_0x29699e[_0x132420(0x18b)](_0x218f24['id'])&&_0x218f24[_0x132420(0x31c)][_0x132420(0x1fb)]===this[_0x132420(0x40a)][_0x132420(0x1fb)]&&this[_0x132420(0x4cf)]();}));}[_0x470848(0x2c9)](){const _0x5e40b1=_0x470848;this[_0x5e40b1(0x3a7)]((0x0,_0x3378d6[_0x5e40b1(0x33f)])(this[_0x5e40b1(0x40a)][_0x5e40b1(0x3bd)][_0x5e40b1(0x258)])[_0x5e40b1(0x376)]((0x0,_0x18241c[_0x5e40b1(0x25d)])(_0x38d302=>_0x38d302['type']===_0x21620d[_0x5e40b1(0x2e7)][_0x5e40b1(0x1be)]),(0x0,_0x18241c[_0x5e40b1(0x493)])(0x10))[_0x5e40b1(0x31e)](()=>{this['_refreshCollabCursors']();}));}};_0x42c69d=_0x265259([_0x4f2c8d(0x1,(0x0,_0x3378d6['Inject'])(_0x904e3[_0x470848(0x494)])),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3b029d)),_0x4f2c8d(0x3,_0x3378d6[_0x470848(0x3d2)]),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x3a2)]))],_0x42c69d);var _0x4b97e2=class extends _0x21620d[_0x470848(0x404)]{constructor(_0x4a1cb6,_0x2b317b){const _0x35107b=_0x470848;if(super(_0x4a1cb6,_0x2b317b),_0x317deb(this,_0x35107b(0x1cf),void 0x0),_0x317deb(this,_0x35107b(0x16d),!0x1),_0x317deb(this,_0x35107b(0x222),void 0x0),_0x317deb(this,_0x35107b(0x273),''),_0x317deb(this,_0x35107b(0x3bc),_0x35107b(0x2f7)),_0x317deb(this,_0x35107b(0x310),void 0x0),_0x317deb(this,_0x35107b(0x20a),void 0x0),_0x317deb(this,_0x35107b(0x29a),void 0x0),_0x317deb(this,_0x35107b(0x359),0x4),_0x317deb(this,_0x35107b(0x3ad),void 0x0),_0x317deb(this,'_blinkIntervalTimer',void 0x0),_0x317deb(this,_0x35107b(0x189),!0x0),_0x317deb(this,_0x35107b(0x3e7),0x0),_0x317deb(this,_0x35107b(0x432),'right'),_0x2b317b){var _0xad54d;if(this['setShapeProps'](_0x2b317b),_0x2b317b[_0x35107b(0x41b)]&&((_0xad54d=_0x2b317b[_0x35107b(0x3ff)])==null?this['_highlightSecond']:_0xad54d)){var _0x2e3c14;this[_0x35107b(0x3d4)]((_0x2e3c14=_0x2b317b[_0x35107b(0x3ff)])==null?this[_0x35107b(0x359)]:_0x2e3c14);}}this[_0x35107b(0x1bd)]['subscribeEvent'](()=>this[_0x35107b(0x467)]({'hovered':!0x0})),this['onPointerLeave$'][_0x35107b(0x49b)](()=>this['setShapeProps']({'hovered':!0x1}));}[_0x470848(0x454)](_0x3a70a8){const _0x399160=_0x470848;this[_0x399160(0x3e7)]=_0x3a70a8;}[_0x470848(0x467)](_0x2c8b53){const _0x15cb06=_0x470848;var _0x214e3e,_0x1772dd,_0xa8c6f1,_0x444875,_0x28bfc7,_0x397691,_0x1578f3,_0x49879b;this[_0x15cb06(0x1cf)]=(_0x214e3e=_0x2c8b53['color'])==null?this[_0x15cb06(0x1cf)]:_0x214e3e,this[_0x15cb06(0x16d)]=(_0x1772dd=_0x2c8b53[_0x15cb06(0x314)])==null?this[_0x15cb06(0x16d)]:_0x1772dd,this[_0x15cb06(0x222)]=(_0xa8c6f1=_0x2c8b53[_0x15cb06(0x429)])==null?this[_0x15cb06(0x222)]:_0xa8c6f1,this[_0x15cb06(0x273)]=(_0x444875=_0x2c8b53['name'])==null?this['_name']:_0x444875,this[_0x15cb06(0x3bc)]=(_0x28bfc7=_0x2c8b53['labelPosition'])==null?this['_labelPosition']:_0x28bfc7,this[_0x15cb06(0x310)]=(_0x397691=_0x2c8b53[_0x15cb06(0x2dc)])==null?this[_0x15cb06(0x310)]:_0x397691,this[_0x15cb06(0x20a)]=(_0x1578f3=_0x2c8b53[_0x15cb06(0x3f6)])==null?this['_showText']:_0x1578f3,this[_0x15cb06(0x432)]=(_0x49879b=_0x2c8b53[_0x15cb06(0x3c4)])==null?this[_0x15cb06(0x432)]:_0x49879b,_0x2c8b53[_0x15cb06(0x3ff)]!==void 0x0&&(this['_highlightSecond']=_0x2c8b53['highlightSecond']),_0x2c8b53[_0x15cb06(0x41b)]!==void 0x0&&(this['_highlight']=_0x2c8b53[_0x15cb06(0x41b)]),_0x2c8b53[_0x15cb06(0x1b2)]!==void 0x0&&(this[_0x15cb06(0x3e7)]=_0x2c8b53[_0x15cb06(0x1b2)]),this[_0x15cb06(0x402)]({'width':_0x2c8b53[_0x15cb06(0x2a6)],'height':_0x2c8b53[_0x15cb06(0x279)]});}[_0x470848(0x389)](_0x106169){const _0x14640a=_0x470848;let {row:_0x18023f,column:_0x35a5c8}=_0x106169;if(_0x18023f>=this[_0x14640a(0x222)][_0x14640a(0x288)]&&_0x18023f<=this[_0x14640a(0x222)][_0x14640a(0x199)]&&_0x35a5c8>=this[_0x14640a(0x222)][_0x14640a(0x3f2)]&&_0x35a5c8<=this[_0x14640a(0x222)][_0x14640a(0x370)]){this[_0x14640a(0x467)]({'hovered':!0x0});return;}this[_0x14640a(0x467)]({'hovered':!0x1});}[_0x470848(0x3d4)](_0x38e9ae){const _0x186d15=_0x470848;this[_0x186d15(0x477)](),this[_0x186d15(0x189)]=!0x0,this[_0x186d15(0x459)]=window[_0x186d15(0x1aa)](()=>{const _0x4f1f46=_0x186d15;this[_0x4f1f46(0x189)]=!this['_isBlinkVisible'],this[_0x4f1f46(0x188)](!0x0);},0x1f4),this[_0x186d15(0x3ad)]=window['setTimeout'](()=>{const _0x29773b=_0x186d15;this[_0x29773b(0x477)](),this[_0x29773b(0x189)]=!0x0,this['makeDirty'](!0x0);},_0x38e9ae*0x3e8);}[_0x470848(0x477)](){const _0x1187b3=_0x470848;this['_blinkIntervalTimer']&&(window[_0x1187b3(0x284)](this[_0x1187b3(0x459)]),this['_blinkIntervalTimer']=void 0x0),this[_0x1187b3(0x3ad)]&&(window[_0x1187b3(0x373)](this['_blinkTimer']),this['_blinkTimer']=void 0x0);}[_0x470848(0x27c)](_0x5f1271){return!0x1;}[_0x470848(0x39c)](){const _0x21c080=_0x470848;this[_0x21c080(0x477)](),super[_0x21c080(0x39c)]();}[_0x470848(0x3e4)](_0x3bac3c){const _0x43fe87=_0x470848;let _0x1a8dfd=this[_0x43fe87(0x1cf)],_0x568092=this[_0x43fe87(0x310)];if(this['_highlight']&&!this[_0x43fe87(0x189)]&&(_0x1a8dfd=this[_0x43fe87(0x43b)](this['_color']),_0x568092=this['_backgroundColor']?this[_0x43fe87(0x43b)](this[_0x43fe87(0x310)]):void 0x0),_0x21620d[_0x43fe87(0x465)][_0x43fe87(0x3f8)](_0x3bac3c,{'width':this['width'],'height':this[_0x43fe87(0x279)],'strokeWidth':this[_0x43fe87(0x408)]||1.5,'stroke':_0x1a8dfd,'evented':!0x1,'fill':_0x568092}),this[_0x43fe87(0x16d)]||this[_0x43fe87(0x20a)]){var _0x1149a0;_0x3bac3c[_0x43fe87(0x38c)]();let _0x4a856a=this[_0x43fe87(0x432)]===_0x43fe87(0x3c2)?-_0x12ec35(_0x3bac3c,this[_0x43fe87(0x273)]):this[_0x43fe87(0x2a6)];_0x3bac3c['transform'](0x1,0x0,0x0,0x1,_0x4a856a,(this[_0x43fe87(0x3bc)]==='bottom'?0x0:-0x14)+((_0x1149a0=this[_0x43fe87(0x3e7)])==null?0x0:_0x1149a0)),_0x576e12['drawWith'](_0x3bac3c,{'text':this[_0x43fe87(0x273)],'color':_0x1a8dfd}),_0x3bac3c[_0x43fe87(0x417)]();}}[_0x470848(0x43b)](_0x2d0799){const _0x4e5d5c=_0x470848;return _0x2d0799[_0x4e5d5c(0x42b)]('#')?_0x4e5d5c(0x4c8)+Number[_0x4e5d5c(0x2a1)](_0x2d0799['slice'](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x2d0799['slice'](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x2d0799['slice'](0x5,0x7),0x10)+_0x4e5d5c(0x183):_0x2d0799[_0x4e5d5c(0x42b)]('rgba')?_0x2d0799[_0x4e5d5c(0x2aa)](/[\d.]+\)$/g,_0x4e5d5c(0x4ca)):_0x2d0799[_0x4e5d5c(0x42b)](_0x4e5d5c(0x3a8))?_0x2d0799[_0x4e5d5c(0x2aa)](_0x4e5d5c(0x3a8),_0x4e5d5c(0x18e))[_0x4e5d5c(0x2aa)](')',_0x4e5d5c(0x183)):_0x2d0799;}};let _0x13f49e=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x32a416,_0x31aae0,_0x41c4da,_0x41a4da){const _0x4bc5f3=_0x470848;super(),this['_context']=_0x32a416,this[_0x4bc5f3(0x1a3)]=_0x31aae0,this[_0x4bc5f3(0x405)]=_0x41c4da,this['_themeService']=_0x41a4da,_0x317deb(this,_0x4bc5f3(0x196),new Set()),_0x317deb(this,_0x4bc5f3(0x482),null),_0x317deb(this,_0x4bc5f3(0x2ec),null),this[_0x4bc5f3(0x1a4)]();}[_0x470848(0x1a4)](){const _0x4534d2=_0x470848;this[_0x4534d2(0x1a3)][_0x4534d2(0x2a2)][_0x4534d2(0x376)]((0x0,_0x18241c[_0x4534d2(0x3e2)])(this['dispose$']),(0x0,_0x18241c[_0x4534d2(0x187)])(_0x5df1b5=>{const _0x1c70ba=_0x4534d2;if(_0x5df1b5){let _0x14ea96=_0x5df1b5['sheetId'];return(0x0,_0x5515fe[_0x1c70ba(0x297)])(this['_collabCursorController'][_0x1c70ba(0x16c)](this[_0x1c70ba(0x40a)][_0x1c70ba(0x1fb)]),this['_themeService']['currentTheme$'])[_0x1c70ba(0x376)]((0x0,_0x18241c[_0x1c70ba(0x40f)])(([_0x27baa2,_0x462333])=>{const _0x160e73=_0x1c70ba;let _0x323ca8=new Map();return _0x27baa2[_0x160e73(0x315)]((_0x47cdca,_0x286a1f)=>{const _0x348136=_0x160e73;if(_0x47cdca[_0x348136(0x41e)]===_0x14ea96){let _0x14b11c={..._0x47cdca};_0x14b11c[_0x348136(0x1e6)]=this['_themeService'][_0x348136(0x28b)](_0x47cdca[_0x348136(0x1e6)]),_0x323ca8[_0x348136(0x406)](_0x286a1f,_0x14b11c);}}),{'skeleton':_0x5df1b5,'cursors':_0x323ca8};}));}return(0x0,_0x5515fe['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4acc4c,cursors:_0x1d13fe})=>{const _0xddd00e=_0x4534d2;this[_0xddd00e(0x400)](),_0x4acc4c&&this[_0xddd00e(0x2db)](_0x4acc4c,_0x1d13fe);}),this[_0x4534d2(0x3a7)](this[_0x4534d2(0x1a3)]['currentSkeleton$'][_0x4534d2(0x376)]((0x0,_0x18241c['takeUntil'])(this['dispose$']))['subscribe'](_0x417806=>{const _0x1fd1f9=_0x4534d2;var _0x2044b9;if(_0x417806==null)return;(_0x2044b9=this[_0x1fd1f9(0x2ec)])==null||_0x2044b9[_0x1fd1f9(0x1d9)](),this['_pointerMoveDisposable']=null;let {skeleton:_0xfea463}=_0x417806,{scene:_0x5456a9}=this[_0x1fd1f9(0x40a)];this['_pointerMoveDisposable']=_0x5456a9[_0x1fd1f9(0x221)][_0x1fd1f9(0x49b)]((0x0,_0x3378d6[_0x1fd1f9(0x1fd)])(_0x219817=>{const _0xe24049=_0x1fd1f9;var _0x513915,_0x69ae3c;let {offsetX:_0x49c3bd,offsetY:_0x1910b8}=_0x219817,{x:_0x2b2ede,y:_0x5bad8e}=_0x5456a9['getRelativeToViewportCoord'](_0x21620d[_0xe24049(0x178)][_0xe24049(0x328)]([_0x49c3bd,_0x1910b8])),{scaleX:_0x257a44,scaleY:_0x4d31a9}=_0x5456a9['getAncestorScale'](),_0x1591f9=_0x5456a9[_0xe24049(0x230)](_0x21620d[_0xe24049(0x219)][_0xe24049(0x42c)]),_0x12c9c4=_0x5456a9[_0xe24049(0x3ef)](_0x21620d[_0xe24049(0x178)][_0xe24049(0x328)]([_0x2b2ede,_0x5bad8e]),_0x1591f9),_0x1c6a44=_0xfea463[_0xe24049(0x21c)](_0x49c3bd,_0x1910b8,_0x257a44,_0x4d31a9,_0x12c9c4);((_0x513915=this[_0xe24049(0x482)])==null?void 0x0:_0x513915[_0xe24049(0x41d)])===_0x1c6a44['column']&&((_0x69ae3c=this['_lastPointer'])==null?void 0x0:_0x69ae3c[_0xe24049(0x499)])===_0x1c6a44[_0xe24049(0x499)]||this[_0xe24049(0x196)]['forEach'](_0x17467f=>{const _0x2ba75d=_0xe24049;_0x17467f[_0x2ba75d(0x389)](_0x1c6a44);});},0x64));})),this[_0x4534d2(0x3a7)]((0x0,_0x3378d6[_0x4534d2(0x44d)])(()=>{const _0x493dad=_0x4534d2;var _0x3db703;(_0x3db703=this[_0x493dad(0x2ec)])==null||_0x3db703[_0x493dad(0x1d9)](),this[_0x493dad(0x2ec)]=null;}));}[_0x470848(0x2db)](_0x4bada3,_0x4df86e){const _0x5759d7=_0x470848;let _0x396a96=this[_0x5759d7(0x1a3)][_0x5759d7(0x303)]();if(!_0x396a96)return;let _0x33c184=this[_0x5759d7(0x39f)]();if(!_0x33c184)return;this[_0x5759d7(0x196)]['forEach'](_0x21f642=>{_0x21f642['makeDirty']();});let {scene:_0x7c7e98}=_0x33c184,_0x11a152=_0x24cfc1(Array['from'](_0x4df86e['values']()))[_0x5759d7(0x40f)](_0x2376ac=>{const _0x5cd022=_0x5759d7;let {color:_0xf30109,range:_0x54f8ac,name:_0x1dfb39,selection:_0xb81b86,sheetID:_0x3cbe21}=_0x2376ac,{startColumn:_0xea7497,startRow:_0x5042f1,endColumn:_0x325fde,endRow:_0x53a286}=_0x54f8ac,_0x39eb05=(0x0,_0x4fe045[_0x5cd022(0x47f)])(_0x5042f1,_0xea7497,_0x7c7e98,_0x396a96),_0x2a24f3=(0x0,_0x4fe045[_0x5cd022(0x47f)])(_0x53a286,_0x325fde,_0x7c7e98,_0x396a96),{columnHeaderHeightAndMarginTop:_0x1061f2}=_0x396a96,{startX:_0x43da9f,startY:_0x1a2f80}=_0x39eb05,{endX:_0x4d7dbf,endY:_0x67b6a2}=_0x2a24f3,_0x4a8757=_0x4d7dbf-_0x43da9f,_0x11f797=_0x67b6a2-_0x1a2f80;return new _0x4b97e2(_0x1dfb39,{'labelPosition':_0x1a2f80-_0x1061f2>=0x14?_0x5cd022(0x2f7):_0x5cd022(0x192),'sheetID':_0x3cbe21,'range':_0x54f8ac,'color':_0xf30109,'name':_0x1dfb39,'selection':_0xb81b86,'left':_0x43da9f,'top':_0x1a2f80,'width':_0x4a8757,'height':_0x11f797,'evented':!0x1,'zIndex':0x1389});});_0x7c7e98[_0x5759d7(0x16e)](_0x11a152,0x1),this['_cursors']=new Set(_0x11a152);}[_0x470848(0x400)](){const _0x37267d=_0x470848;var _0xe4897c;(_0xe4897c=this[_0x37267d(0x196)])==null||_0xe4897c['forEach'](_0x11a7a2=>_0x11a7a2[_0x37267d(0x39c)]());}['_getSheetObject'](){const _0x5ac654=_0x470848;return(0x0,_0x4fe045[_0x5ac654(0x3ac)])(this[_0x5ac654(0x40a)]['unit'],this[_0x5ac654(0x40a)]);}};_0x13f49e=_0x265259([_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x4fe045[_0x470848(0x3b8)])),_0x4f2c8d(0x2,(0x0,_0x3378d6['Inject'])(_0x3b029d)),_0x4f2c8d(0x3,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x3a2)]))],_0x13f49e);function _0x24cfc1(_0x3af242){const _0x458cf8=_0x470848;let _0x1c3354=new Map();return _0x3af242[_0x458cf8(0x315)](_0xb48463=>{const _0x7932b2=_0x458cf8;if(_0x1c3354[_0x7932b2(0x1c9)](_0xb48463[_0x7932b2(0x466)])){let _0x535116=_0x1c3354[_0x7932b2(0x226)](_0xb48463[_0x7932b2(0x466)]);_0x535116['name']+=',\x20'+_0xb48463[_0x7932b2(0x4a9)];}else _0x1c3354[_0x7932b2(0x406)](_0xb48463['selection'],_0xb48463);}),Array['from'](_0x1c3354[_0x458cf8(0x3f9)]());}let _0xab6e53=class extends _0x3378d6['RxDisposable']{constructor(_0x5d2e3e,_0x491ffb,_0x2f8a8d){const _0x45bdc8=_0x470848;super(),this[_0x45bdc8(0x40a)]=_0x5d2e3e,this['_collabCursorController']=_0x491ffb,this[_0x45bdc8(0x1f3)]=_0x2f8a8d,_0x317deb(this,_0x45bdc8(0x196),new Set()),_0x317deb(this,_0x45bdc8(0x2cf),!0x1),_0x317deb(this,'_isApplyingOverlays',!0x1),_0x317deb(this,'_latestCursors',new Map()),this[_0x45bdc8(0x1a4)]();}[_0x470848(0x39c)](){const _0x27638c=_0x470848;this[_0x27638c(0x400)](),super[_0x27638c(0x39c)]();}['_init'](){const _0x509e9e=_0x470848;let _0x2624a6=this[_0x509e9e(0x40a)][_0x509e9e(0x18a)]['pageManager'][_0x509e9e(0x36c)],_0x456f40=this[_0x509e9e(0x405)][_0x509e9e(0x16c)](this[_0x509e9e(0x40a)][_0x509e9e(0x1fb)]);this[_0x509e9e(0x3a7)]((0x0,_0x3378d6[_0x509e9e(0x44d)])((0x0,_0x5515fe['combineLatest'])([_0x456f40,_0x2624a6,this['_themeService'][_0x509e9e(0x305)]])['pipe']((0x0,_0x5515fe[_0x509e9e(0x3e2)])(this['dispose$']))['subscribe'](([_0x5da030,_0x26c764])=>{const _0x22432b=_0x509e9e;let _0xbd68d1=new Map();_0x5da030[_0x22432b(0x315)]((_0x3e553d,_0x48c8bb)=>{const _0x455ee4=_0x22432b;_0x3e553d[_0x455ee4(0x3cb)]===_0x26c764&&_0xbd68d1[_0x455ee4(0x406)](_0x48c8bb,{..._0x3e553d,'color':this[_0x455ee4(0x1f3)][_0x455ee4(0x28b)](_0x3e553d['color'])});}),this[_0x22432b(0x44e)]=_0xbd68d1,this[_0x22432b(0x49c)]();})));let _0x47498b=this[_0x509e9e(0x40a)][_0x509e9e(0x1cb)];this['disposeWithMe']((0x0,_0x3378d6['toDisposable'])(_0x47498b[_0x509e9e(0x415)][_0x509e9e(0x376)]((0x0,_0x5515fe[_0x509e9e(0x3e2)])(this[_0x509e9e(0x173)]))[_0x509e9e(0x31e)](()=>{const _0x318640=_0x509e9e;this[_0x318640(0x23c)]||this['_scheduleRender']();})));}[_0x470848(0x49c)](){const _0x851126=_0x470848;this['_renderScheduled']||(this['_renderScheduled']=!0x0,Promise['resolve']()[_0x851126(0x308)](()=>{const _0x166165=_0x851126;this[_0x166165(0x2cf)]=!0x1,this[_0x166165(0x2d4)]();}));}[_0x470848(0x2d4)](){const _0x16198d=_0x470848;var _0x430b34;this[_0x16198d(0x400)]();let _0x462a4b=(_0x430b34=this[_0x16198d(0x40a)][_0x16198d(0x18a)][_0x16198d(0x2a0)]['getActiveSlide']())==null?void 0x0:_0x430b34[_0x16198d(0x426)]();if(!_0x462a4b)return;let _0x1e2811=[];if(this[_0x16198d(0x44e)][_0x16198d(0x315)]((_0x16406e,_0x580cf3)=>{const _0x2ab93c=_0x16198d;_0x16406e[_0x2ab93c(0x3cb)]===_0x462a4b&&_0x16406e['selectedIds'][_0x2ab93c(0x315)](_0x59e251=>{const _0x28b74a=_0x2ab93c;let _0x348dbc=(0x0,_0x524d80['buildDrawingOKey'])(_0x16406e[_0x28b74a(0x1fb)],_0x16406e['subUnitId'],_0x59e251),_0x14fcb7=this[_0x28b74a(0x43a)](_0x348dbc);if(!_0x14fcb7)return;let _0x1a1d18=this[_0x28b74a(0x2bd)](_0x14fcb7);_0x1e2811[_0x28b74a(0x207)](new _0xac951d(_0x28b74a(0x2c1)+_0x580cf3+'-'+_0x59e251,{..._0x16406e,'left':_0x1a1d18[_0x28b74a(0x3c2)],'top':_0x1a1d18[_0x28b74a(0x2f7)],'width':_0x1a1d18['width'],'height':_0x1a1d18[_0x28b74a(0x279)],'angle':_0x14fcb7[_0x28b74a(0x33a)],'evented':!0x1,'zIndex':_0x344036}));});}),_0x1e2811[_0x16198d(0x254)]===0x0){this[_0x16198d(0x40a)]['scene'][_0x16198d(0x188)](!0x0);return;}this['_isApplyingOverlays']=!0x0,this[_0x16198d(0x40a)][_0x16198d(0x1cb)][_0x16198d(0x16e)](_0x1e2811,_0x344036),this['_isApplyingOverlays']=!0x1,this['_cursors']=new Set(_0x1e2811),this[_0x16198d(0x40a)][_0x16198d(0x1cb)][_0x16198d(0x188)](!0x0);}[_0x470848(0x400)](){const _0x1b29a6=_0x470848;let _0x280061=Array[_0x1b29a6(0x452)](this['_cursors']);if(_0x280061[_0x1b29a6(0x254)]===0x0)return;let _0x577362=this[_0x1b29a6(0x40a)]['scene'];_0x1b29a6(0x1a6)in _0x577362&&typeof _0x577362[_0x1b29a6(0x1a6)]=='function'?_0x577362[_0x1b29a6(0x1a6)](_0x280061):_0x280061[_0x1b29a6(0x315)](_0x50f1d3=>{const _0x5aa8af=_0x1b29a6;'removeObject'in _0x577362&&typeof _0x577362[_0x5aa8af(0x259)]==_0x5aa8af(0x489)?_0x577362[_0x5aa8af(0x259)](_0x50f1d3):_0x50f1d3[_0x5aa8af(0x39c)]();}),this['_cursors'][_0x1b29a6(0x2f8)](),_0x577362[_0x1b29a6(0x188)](!0x0);}['_getSceneObjectByKey'](_0x2b189d){const _0x546ece=_0x470848;var _0x16e568,_0x3938fc,_0x3e5157;let _0x53f855=this[_0x546ece(0x40a)][_0x546ece(0x1cb)];return(_0x16e568=(_0x3938fc=(_0x3e5157=_0x53f855[_0x546ece(0x2e2)])==null?void 0x0:_0x3e5157[_0x546ece(0x442)](_0x53f855,_0x2b189d))==null?_0x53f855[_0x546ece(0x4af)](_0x2b189d):_0x3938fc)==null?null:_0x16e568;}[_0x470848(0x2bd)](_0x67b974){const _0x27e9aa=_0x470848;var _0x67362c,_0x359412;let _0x50b06d=_0x67b974;return(_0x67362c=(_0x359412=_0x50b06d[_0x27e9aa(0x463)])==null?void 0x0:_0x359412['call'](_0x50b06d))==null?{'left':_0x67b974[_0x27e9aa(0x3c2)],'top':_0x67b974[_0x27e9aa(0x2f7)],'width':_0x67b974[_0x27e9aa(0x2a6)],'height':_0x67b974['height']}:_0x67362c;}};_0xab6e53=_0x265259([_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3b029d)),_0x4f2c8d(0x2,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x3a2)]))],_0xab6e53);let _0x3b11db=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x361ece,_0x4b225e,_0xa5a274,_0x2f604e,_0x3fd34c,_0x20c515){const _0x2e1d83=_0x470848;super(),this[_0x2e1d83(0x256)]=_0x361ece,this[_0x2e1d83(0x42e)]=_0x4b225e,this['_collaborationUIEventService']=_0xa5a274,this['_messageService']=_0x2f604e,this[_0x2e1d83(0x249)]=_0x3fd34c,this[_0x2e1d83(0x235)]=_0x20c515,this[_0x2e1d83(0x27a)](),this[_0x2e1d83(0x225)]();}['_setupBeforeClosingHandler'](){const _0xc7e49e=_0x470848;this[_0xc7e49e(0x3a7)](this[_0xc7e49e(0x256)][_0xc7e49e(0x1ed)](()=>{const _0x519552=_0xc7e49e;if(this[_0x519552(0x42e)]['saveTaskMap'][_0x519552(0x309)])return this[_0x519552(0x235)]['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}[_0x470848(0x225)](){const _0x55730c=_0x470848;this[_0x55730c(0x3a7)](this[_0x55730c(0x185)][_0x55730c(0x4c6)][_0x55730c(0x31e)](_0x16b369=>{const _0x182ed6=_0x55730c;_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x384)]&&this[_0x182ed6(0x4c3)][_0x182ed6(0x3ea)]({'type':_0x472933['MessageType']['Warning'],'content':this[_0x182ed6(0x235)]['t']('collaboration-client-ui.collaboration.single-unit.warning')}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x3f3)]&&this[_0x182ed6(0x4c3)][_0x182ed6(0x3ea)]({'type':_0x472933[_0x182ed6(0x2d2)][_0x182ed6(0x179)],'content':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x421))}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x393)]&&this[_0x182ed6(0x249)][_0x182ed6(0x3ea)]({'title':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x2b9)),'content':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x2de)),'type':_0x182ed6(0x194),'duration':0x0}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)]['CONFLICT']&&this['_notificationService'][_0x182ed6(0x3ea)]({'title':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x444)),'content':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x469)),'type':_0x182ed6(0x194),'duration':0x0}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x1f0)]&&this['_messageService'][_0x182ed6(0x3ea)]({'type':_0x472933[_0x182ed6(0x2d2)][_0x182ed6(0x179)],'content':this[_0x182ed6(0x235)]['t'](_0x16b369[_0x182ed6(0x3f5)]||'')}),_0x16b369['id']===_0x289c2c['CollaborationUIEventId'][_0x182ed6(0x3ba)]&&this['_messageService'][_0x182ed6(0x3ea)]({'type':_0x472933[_0x182ed6(0x2d2)]['Warning'],'content':this[_0x182ed6(0x235)]['t']('collaboration-client-ui.session.will-retry')}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x3b6)]&&this[_0x182ed6(0x4c3)][_0x182ed6(0x3ea)]({'type':_0x472933[_0x182ed6(0x2d2)][_0x182ed6(0x3cc)],'content':this['_localeService']['t'](_0x182ed6(0x45b))}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x2b4)]&&this[_0x182ed6(0x4c3)][_0x182ed6(0x3ea)]({'type':_0x472933['MessageType'][_0x182ed6(0x3cc)],'content':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x29e))});}));}};_0x3b11db=_0x265259([_0x4f2c8d(0x0,_0x4dab43[_0x470848(0x244)]),_0x4f2c8d(0x1,_0x289c2c[_0x470848(0x4b7)]),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c['CollaborationUIEventService'])),_0x4f2c8d(0x3,_0x4dab43[_0x470848(0x2cc)]),_0x4f2c8d(0x4,_0x4dab43[_0x470848(0x339)]),_0x4f2c8d(0x5,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x23b)]))],_0x3b11db);let _0x48f9b0=(0x0,_0x3378d6[_0x470848(0x4a6)])(_0x470848(0x1c1)),_0x48aa1e=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x348a40,_0xed9e11,_0x39695b,_0x499e7e,_0x2c8d34){const _0x542e91=_0x470848;super(),this[_0x542e91(0x190)]=_0x348a40,this[_0x542e91(0x468)]=_0xed9e11,this[_0x542e91(0x3cf)]=_0x39695b,this[_0x542e91(0x181)]=_0x499e7e,_0x2c8d34?_0x2c8d34[_0x542e91(0x394)]()[_0x542e91(0x308)](()=>this[_0x542e91(0x1a4)]()):(this[_0x542e91(0x468)][_0x542e91(0x3a6)](_0x542e91(0x3c3),_0x542e91(0x4c5)),this['_init']());}async[_0x470848(0x1a4)](){const _0x2a4098=_0x470848;let _0x4c9aee=this['_urlService'][_0x2a4098(0x490)](_0x2a4098(0x18a)),_0x54be83=this[_0x2a4098(0x190)][_0x2a4098(0x490)](_0x2a4098(0x36b)),_0x62bebe=this[_0x2a4098(0x190)][_0x2a4098(0x490)](_0x2a4098(0x414));if(!_0x4c9aee||!_0x54be83){this[_0x2a4098(0x468)][_0x2a4098(0x3a6)]('[CollaborationDataLoaderController]',_0x2a4098(0x195));return;}let _0x8caf57=await this[_0x2a4098(0x181)][_0x2a4098(0x2f1)](_0x4c9aee,Number(_0x54be83),_0x62bebe);_0x8caf57&&_0x8caf57 instanceof _0x3378d6[_0x2a4098(0x356)]&&this[_0x2a4098(0x311)](_0x8caf57);}async[_0x470848(0x311)](_0x1f338a){const _0x366689=_0x470848;await this[_0x366689(0x325)](_0x1f338a),_0x1f338a[_0x366689(0x34f)][_0x366689(0x376)]((0x0,_0x5515fe[_0x366689(0x3e2)])(this['dispose$']))[_0x366689(0x31e)](_0x197bdf=>{const _0x48452d=_0x366689;_0x197bdf&&this[_0x48452d(0x204)](_0x197bdf);}),this[_0x366689(0x190)][_0x366689(0x216)][_0x366689(0x376)]((0x0,_0x5515fe[_0x366689(0x3e2)])(this['dispose$']))[_0x366689(0x31e)](()=>this['_updateSubUnitFromURLParams'](_0x1f338a));}['_updateURLWithCurrentState'](_0x886c8d,_0x4e9342=!0x1){const _0x281fd1=_0x470848;let _0x2538f0=this[_0x281fd1(0x190)]['getParam'](_0x281fd1(0x414));_0x886c8d['getSheetId']()!==_0x2538f0&&this['_urlService']['setParam'](_0x281fd1(0x414),_0x886c8d[_0x281fd1(0x293)](),_0x4e9342);}async[_0x470848(0x325)](_0x4b047e){const _0x1743b4=_0x470848;var _0x391465;let _0x1faa9e=this['_urlService'][_0x1743b4(0x490)](_0x1743b4(0x414));if(!_0x1faa9e||!_0x4b047e['getSheetBySheetId'](_0x1faa9e)){let _0x42811d=_0x4b047e[_0x1743b4(0x306)]()[0x0],_0x173c8b=_0x4b047e[_0x1743b4(0x4c2)](_0x42811d);if(!_0x173c8b)return;this['_updateURLWithCurrentState'](_0x173c8b,!0x0),await this[_0x1743b4(0x3cf)]['executeCommand'](_0x277df0[_0x1743b4(0x39a)]['id'],{'unitId':_0x4b047e['getUnitId'](),'subUnitId':_0x42811d});return;}((_0x391465=_0x4b047e['getActiveSheet']())==null?void 0x0:_0x391465[_0x1743b4(0x293)]())!==_0x1faa9e&&await this[_0x1743b4(0x3cf)][_0x1743b4(0x16b)](_0x277df0[_0x1743b4(0x39a)]['id'],{'unitId':_0x4b047e[_0x1743b4(0x2fe)](),'subUnitId':_0x1faa9e});}};_0x48aa1e=_0x265259([_0x4f2c8d(0x0,_0x48f9b0),_0x4f2c8d(0x1,_0x3378d6[_0x470848(0x3fb)]),_0x4f2c8d(0x2,_0x3378d6['ICommandService']),_0x4f2c8d(0x3,(0x0,_0x3378d6['Inject'])(_0x289c2c[_0x470848(0x4ac)])),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x24d)])(_0x418f3f[_0x470848(0x319)]))],_0x48aa1e);let _0x2c292f=class{constructor(_0x58f35,_0x252bc6){const _0x48a5c9=_0x470848;this[_0x48a5c9(0x475)]=_0x58f35,this[_0x48a5c9(0x381)]=_0x252bc6;}['transformIMECache'](_0x3c31b0){const _0x12a79a=_0x470848;this[_0x12a79a(0x2ac)](_0x3c31b0),this[_0x12a79a(0x2b0)](_0x3c31b0);}['transformRemoteChangeset'](_0x3e7af8){const _0x3636f7=_0x470848;let {unitID:_0x42e197}=_0x3e7af8,{redoCache:_0x438004}=this['_renderManagerService']['getRenderById'](_0x42e197)['with'](_0xe8b960['DocIMEInputManagerService'])[_0x3636f7(0x471)]();if(_0x438004[_0x3636f7(0x254)]===0x0)return _0x3e7af8;let _0x4f7e30=_0x3378d6[_0x3636f7(0x29f)][_0x3636f7(0x2f6)](_0x3e7af8[_0x3636f7(0x3e3)][0x0]);for(let _0x44d072=0x0;_0x44d072<_0x438004['length'];_0x44d072++){let _0x583da7={'id':'doc.mutation.rich-text-editing','params':{..._0x438004[_0x44d072]}},_0xf0b212=this[_0x3636f7(0x475)][_0x3636f7(0x211)](_0x4f7e30,_0x583da7,!0x1);if((0x0,_0x518a46['isTransformMutationFailure'])(_0xf0b212))throw _0xf0b212[_0x3636f7(0x194)];_0x4f7e30=_0xf0b212[_0x3636f7(0x48f)];}return{..._0x3378d6[_0x3636f7(0x29f)][_0x3636f7(0x2f6)](_0x3e7af8),'mutations':[_0x4f7e30]};}[_0x470848(0x2ac)](_0x837641){const _0x322827=_0x470848;let {unitID:_0x4d6a47}=_0x837641,_0x1ecab5=this['_renderManagerService'][_0x322827(0x1f2)](_0x4d6a47)[_0x322827(0x3f0)](_0xe8b960['DocIMEInputManagerService']),{undoCache:_0x3e2540,redoCache:_0x574496}=_0x1ecab5[_0x322827(0x471)]();if(_0x3e2540[_0x322827(0x254)]===0x0||_0x574496[_0x322827(0x254)]===0x0)return;let _0x56c499=[],_0xaa65b2=[],_0xf5bcf1=_0x3378d6[_0x322827(0x29f)][_0x322827(0x2f6)](_0x837641[_0x322827(0x3e3)][0x0]),_0x328384=_0x3378d6[_0x322827(0x29f)]['deepClone'](_0x837641[_0x322827(0x3e3)][0x0]);for(let _0x42e3c3=_0x3e2540[_0x322827(0x254)]-0x1;_0x42e3c3>=0x0;_0x42e3c3--){let _0x12e4bd={'id':_0x322827(0x3b0),'params':{..._0x3e2540[_0x42e3c3]}},_0x43bd93={'id':_0x322827(0x3b0),'params':{..._0x574496[_0x42e3c3]}},_0x2454e5=this[_0x322827(0x475)][_0x322827(0x211)](_0xf5bcf1,_0x12e4bd,!0x1),_0x50697e=this['_transformService'][_0x322827(0x211)](_0x328384,_0x43bd93,!0x1);if((0x0,_0x518a46[_0x322827(0x4c0)])(_0x2454e5))throw _0x2454e5[_0x322827(0x194)];if((0x0,_0x518a46[_0x322827(0x4c0)])(_0x50697e))throw _0x50697e['error'];_0x56c499[_0x322827(0x372)](_0x2454e5[_0x322827(0x24f)][_0x322827(0x31c)]),_0xaa65b2['unshift'](_0x50697e['m2Prime'][_0x322827(0x31c)]),_0xf5bcf1=_0x2454e5[_0x322827(0x48f)],_0x328384=_0x50697e[_0x322827(0x48f)];}_0x1ecab5[_0x322827(0x412)]({'undoCache':_0x56c499,'redoCache':_0xaa65b2});}['_transformPreviousActiveRange'](_0x554578){const _0x496411=_0x470848;let {unitID:_0x4592dd}=_0x554578,_0x4f2f93=this[_0x496411(0x381)]['getRenderById'](_0x4592dd)[_0x496411(0x3f0)](_0xe8b960[_0x496411(0x4c9)]),_0x2f0942=_0x4f2f93[_0x496411(0x3a1)]();if(_0x2f0942==null)return;let _0x478c8d=[{'id':_0x496411(0x3b0),'params':{'unitId':_0x554578[_0x496411(0x44c)],'actions':null,'textRanges':[_0x2f0942]}}],_0x481d33=this['_transformService']['transformMutationsWithChangeset'](_0x554578,_0x478c8d);if(!(0x0,_0x518a46[_0x496411(0x1fe)])(_0x481d33))throw _0x481d33[_0x496411(0x194)];let _0x5830de=_0x481d33[_0x496411(0x24f)][0x0][_0x496411(0x31c)][_0x496411(0x1dd)];Array[_0x496411(0x26e)](_0x5830de)&&_0x5830de[_0x496411(0x254)]&&_0x4f2f93[_0x496411(0x241)](_0x5830de[0x0]);}};_0x2c292f=_0x265259([_0x4f2c8d(0x0,_0x518a46[_0x470848(0x43c)]),_0x4f2c8d(0x1,_0x21620d['IRenderManagerService'])],_0x2c292f);let _0x42f65a=class{constructor(_0x5ed4df,_0x5f31d7,_0x410179){const _0x5c0043=_0x470848;this[_0x5c0043(0x240)]=_0x5ed4df,this[_0x5c0043(0x475)]=_0x5f31d7,this['_docStateChangeManagerService']=_0x410179;}[_0x470848(0x1e0)](_0xbf78d){const _0x3d2d8f=_0x470848;this[_0x3d2d8f(0x481)](_0xbf78d);}[_0x470848(0x170)](_0xadb259){const _0x17c039=_0x470848;let {unitID:_0x5c6fb5}=_0xadb259,{collaboration:_0x153101}=this[_0x17c039(0x458)]['getStateCache'](_0x5c6fb5);if(_0x153101[_0x17c039(0x254)]===0x0)return _0xadb259;let _0x412067=_0x3378d6['Tools'][_0x17c039(0x2f6)](_0xadb259[_0x17c039(0x3e3)][0x0]);for(let _0x182745=0x0;_0x182745<_0x153101[_0x17c039(0x254)];_0x182745++){let _0x2cb69e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x153101[_0x182745][_0x17c039(0x1fb)],..._0x153101[_0x182745][_0x17c039(0x46d)]}},_0x507201=this['_transformService'][_0x17c039(0x211)](_0x412067,_0x2cb69e,!0x1);if((0x0,_0x518a46['isTransformMutationFailure'])(_0x507201))throw _0x507201[_0x17c039(0x194)];_0x412067=_0x507201[_0x17c039(0x48f)];}return{..._0x3378d6[_0x17c039(0x29f)][_0x17c039(0x2f6)](_0xadb259),'mutations':[_0x412067]};}['_transformHistoryAndStateStack'](_0xda8e6e){const _0x1d4edc=_0x470848;let {unitID:_0x16a710}=_0xda8e6e,{history:_0x210970,collaboration:_0xa73d37}=this[_0x1d4edc(0x458)][_0x1d4edc(0x3c9)](_0x16a710);if(_0x210970[_0x1d4edc(0x254)]===0x0&&_0xa73d37[_0x1d4edc(0x254)]===0x0)return;let _0x3a1955=[],_0x19633d=[],_0x2336e4=_0x3378d6[_0x1d4edc(0x29f)][_0x1d4edc(0x2f6)](_0xda8e6e[_0x1d4edc(0x3e3)][0x0]),_0x21108d=_0x3378d6[_0x1d4edc(0x29f)][_0x1d4edc(0x2f6)](_0xda8e6e[_0x1d4edc(0x3e3)][0x0]);for(let _0xf31d02=_0x210970['length']-0x1;_0xf31d02>=0x0;_0xf31d02--){let _0x26f2e1={'id':_0x1d4edc(0x3b0),'params':{'unitId':_0x210970[_0xf31d02][_0x1d4edc(0x1fb)],..._0x210970[_0xf31d02][_0x1d4edc(0x290)]}},_0x2398fd={'id':_0x1d4edc(0x3b0),'params':{'unitId':_0x210970[_0xf31d02]['unitId'],..._0x210970[_0xf31d02][_0x1d4edc(0x46d)]}},_0x260df6=this[_0x1d4edc(0x475)][_0x1d4edc(0x211)](_0x2336e4,_0x26f2e1,!0x1),_0x1d5ba6=this[_0x1d4edc(0x475)]['transformMutation'](_0x21108d,_0x2398fd,!0x1);if((0x0,_0x518a46[_0x1d4edc(0x4c0)])(_0x260df6))throw _0x260df6[_0x1d4edc(0x194)];if((0x0,_0x518a46[_0x1d4edc(0x4c0)])(_0x1d5ba6))throw _0x1d5ba6[_0x1d4edc(0x194)];_0x3a1955[_0x1d4edc(0x372)]({..._0x210970[_0xf31d02],'undoState':_0x260df6[_0x1d4edc(0x24f)][_0x1d4edc(0x31c)],'redoState':_0x1d5ba6[_0x1d4edc(0x24f)][_0x1d4edc(0x31c)]}),_0x2336e4=_0x260df6[_0x1d4edc(0x48f)],_0x21108d=_0x1d5ba6['m1Prime'];}_0x2336e4=_0x3378d6[_0x1d4edc(0x29f)][_0x1d4edc(0x2f6)](_0xda8e6e[_0x1d4edc(0x3e3)][0x0]),_0x21108d=_0x3378d6[_0x1d4edc(0x29f)][_0x1d4edc(0x2f6)](_0xda8e6e[_0x1d4edc(0x3e3)][0x0]);for(let _0x57fb5a=_0xa73d37[_0x1d4edc(0x254)]-0x1;_0x57fb5a>=0x0;_0x57fb5a--){let _0x382508={'id':_0x1d4edc(0x3b0),'params':{'unitId':_0xa73d37[_0x57fb5a][_0x1d4edc(0x1fb)],..._0xa73d37[_0x57fb5a]['undoState']}},_0x328415={'id':_0x1d4edc(0x3b0),'params':{'unitId':_0xa73d37[_0x57fb5a]['unitId'],..._0xa73d37[_0x57fb5a][_0x1d4edc(0x46d)]}},_0x52b8ee=this['_transformService'][_0x1d4edc(0x211)](_0x2336e4,_0x382508,!0x1),_0x12fe22=this[_0x1d4edc(0x475)][_0x1d4edc(0x211)](_0x21108d,_0x328415,!0x1);if((0x0,_0x518a46['isTransformMutationFailure'])(_0x52b8ee))throw _0x52b8ee[_0x1d4edc(0x194)];if((0x0,_0x518a46['isTransformMutationFailure'])(_0x12fe22))throw _0x12fe22[_0x1d4edc(0x194)];_0x19633d[_0x1d4edc(0x372)]({..._0xa73d37[_0x57fb5a],'undoState':_0x52b8ee[_0x1d4edc(0x24f)][_0x1d4edc(0x31c)],'redoState':_0x12fe22['m2Prime'][_0x1d4edc(0x31c)]}),_0x2336e4=_0x52b8ee[_0x1d4edc(0x48f)],_0x21108d=_0x12fe22['m1Prime'];}this[_0x1d4edc(0x458)][_0x1d4edc(0x385)](_0x16a710,{'history':_0x3a1955,'collaboration':_0x19633d});}};_0x42f65a=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x1,_0x518a46['ITransformService']),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x904e3[_0x470848(0x3b1)]))],_0x42f65a);let _0x3cc37c=class{constructor(_0x31a2f6,_0x4e1134){const _0x498247=_0x470848;this[_0x498247(0x240)]=_0x31a2f6,this[_0x498247(0x475)]=_0x4e1134;}[_0x470848(0x32f)](_0x2c2168){const _0x3f7121=_0x470848;var _0x5e67c7;let _0x12fbea=this[_0x3f7121(0x240)][_0x3f7121(0x226)](_0x904e3['DocSelectionManagerService']),_0x3c4837=(_0x5e67c7=_0x12fbea[_0x3f7121(0x387)]())==null?[]:_0x5e67c7;if(_0x3c4837[_0x3f7121(0x254)]===0x0)return;let _0x1a7bc1=_0x2c2168[_0x3f7121(0x44c)],_0x441c28=[{'id':_0x3f7121(0x3b0),'params':{'unitId':_0x1a7bc1,'actions':null,'textRanges':_0x3c4837}}],_0x496b4d=this[_0x3f7121(0x475)][_0x3f7121(0x18c)](_0x2c2168,_0x441c28);if(!(0x0,_0x518a46[_0x3f7121(0x1fe)])(_0x496b4d))throw _0x496b4d[_0x3f7121(0x194)];let _0x1f2619=_0x496b4d[_0x3f7121(0x24f)][0x0][_0x3f7121(0x31c)]['textRanges'];Array['isArray'](_0x1f2619)&&_0x1f2619[_0x3f7121(0x254)]&&_0x12fbea[_0x3f7121(0x4a1)](_0x1f2619,{'unitId':_0x1a7bc1,'subUnitId':_0x1a7bc1},!0x1);}};_0x3cc37c=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x1,_0x518a46[_0x470848(0x43c)])],_0x3cc37c);let _0x1d32b6=class extends _0x3378d6['Disposable']{constructor(_0x9cdc31,_0x2cc782,_0x24a925,_0x1a1f08,_0x180e36,_0x4af7ec,_0x23151b){const _0x6aa8fe=_0x470848;super(),this[_0x6aa8fe(0x2d1)]=_0x9cdc31,this[_0x6aa8fe(0x2d6)]=_0x2cc782,this[_0x6aa8fe(0x1e3)]=_0x24a925,this[_0x6aa8fe(0x436)]=_0x1a1f08,this[_0x6aa8fe(0x4bc)]=_0x180e36,this[_0x6aa8fe(0x4c3)]=_0x4af7ec,this[_0x6aa8fe(0x235)]=_0x23151b,_0x317deb(this,'_status$',new _0x5515fe[(_0x6aa8fe(0x4b4))](_0x289c2c[_0x6aa8fe(0x49f)][_0x6aa8fe(0x4d1)])),this[_0x6aa8fe(0x2fd)]();}[_0x470848(0x2fd)](){const _0x389667=_0x470848;this['disposeWithMe'](this[_0x389667(0x2d1)][_0x389667(0x2e8)][_0x389667(0x31e)](_0x58c6e7=>{const _0x482a44=_0x389667;_0x58c6e7 instanceof _0x289c2c[_0x482a44(0x32a)]&&_0x58c6e7[_0x482a44(0x1b9)]({'onTransformIME':_0x20c40d=>this[_0x482a44(0x2d6)][_0x482a44(0x366)](_0x20c40d),'onTransformState':_0xdba63d=>this['_docTransformStateCacheService'][_0x482a44(0x1e0)](_0xdba63d),'onTransformSelections':_0x7c26fa=>this['_docTransformSelectionsService'][_0x482a44(0x32f)](_0x7c26fa),'onSyncEditingCollabCursor':_0x42eeca=>this[_0x482a44(0x4bc)][_0x482a44(0x1b4)](_0x42eeca),'onTransformRemoteChangesetByIMECache':_0x4226f5=>this[_0x482a44(0x2d6)][_0x482a44(0x170)](_0x4226f5),'onTransformRemoteChangesetByStateCache':_0x45c1d7=>this[_0x482a44(0x1e3)][_0x482a44(0x170)](_0x45c1d7)});}));}};_0x1d32b6=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x32e)])),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x2c292f)),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x42f65a)),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3cc37c)),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3ebe55)),_0x4f2c8d(0x5,_0x4dab43[_0x470848(0x2cc)]),_0x4f2c8d(0x6,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x23b)]))],_0x1d32b6);let _0x129cf2=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x1c1bcd,_0x2d4fe8,_0x283d60,_0x2fa5c4){const _0x4c5503=_0x470848;super(),this[_0x4c5503(0x240)]=_0x1c1bcd,this[_0x4c5503(0x4bb)]=_0x2d4fe8,this[_0x4c5503(0x468)]=_0x283d60,this[_0x4c5503(0x2b7)]=_0x2fa5c4,_0x317deb(this,'_memberID',void 0x0),this[_0x4c5503(0x1a4)]();}[_0x470848(0x1a4)](){const _0x130347=_0x470848;this[_0x130347(0x27f)](),this['_initUnhandledRejectionListener'](),this[_0x130347(0x335)](),this[_0x130347(0x48b)]();}['_initUserListener'](){const _0x264dd9=_0x470848;this[_0x264dd9(0x3a7)](this[_0x264dd9(0x2b7)][_0x264dd9(0x3e8)][_0x264dd9(0x31e)](_0x3b71ad=>{const _0x30d009=_0x264dd9;this['_memberID']=_0x3b71ad==null?void 0x0:_0x3b71ad[_0x30d009(0x263)];}));}['_initWindowErrorListener'](){const _0x174afc=_0x470848;let _0x34db25=_0x2ccca4=>{const _0x4566f1=_0x3560;var _0x564704;this[_0x4566f1(0x446)](_0x4566f1(0x194),_0x4566f1(0x433)+_0x2ccca4['message']+'\x20at\x20'+_0x2ccca4[_0x4566f1(0x25c)]+':'+_0x2ccca4[_0x4566f1(0x1b8)]+':'+_0x2ccca4[_0x4566f1(0x41f)]+'\x0a'+(((_0x564704=_0x2ccca4[_0x4566f1(0x194)])==null?void 0x0:_0x564704[_0x4566f1(0x407)])||''));};window[_0x174afc(0x2b1)](_0x174afc(0x194),_0x34db25),this[_0x174afc(0x3a7)](()=>{const _0x296f6c=_0x174afc;window[_0x296f6c(0x307)](_0x296f6c(0x194),_0x34db25);});}[_0x470848(0x1de)](){const _0x239c45=_0x470848;let _0x3f02bb=_0x568338=>{const _0x2f7bae=_0x3560;this[_0x2f7bae(0x446)]('error',_0x2f7bae(0x24c)+_0x568338['reason']);};window['addEventListener'](_0x239c45(0x27b),_0x3f02bb),this['disposeWithMe'](()=>{const _0x546041=_0x239c45;window[_0x546041(0x307)](_0x546041(0x27b),_0x3f02bb);});}[_0x470848(0x335)](){const _0x4187c4=_0x470848;let _0x588acb=this['_logService'][_0x4187c4(0x194)][_0x4187c4(0x39e)](this[_0x4187c4(0x468)]);this[_0x4187c4(0x468)][_0x4187c4(0x194)]=(..._0x55325c)=>{const _0xc54691=_0x4187c4;let _0x43a57e=_0x55325c['map'](_0x192729=>_0x192729 instanceof Error?_0x192729[_0xc54691(0x4b3)]+'\x0a'+_0x192729['stack']:String(_0x192729))[_0xc54691(0x368)]('\x20');this[_0xc54691(0x446)](_0xc54691(0x194),_0xc54691(0x35e)+_0x43a57e),_0x588acb(..._0x55325c);},this[_0x4187c4(0x3a7)](()=>{const _0xd9106f=_0x4187c4;this[_0xd9106f(0x468)]['error']=_0x588acb;});}['_uploadLog'](_0x2abc43,_0x5ede58){const _0x5818da=_0x470848;try{let _0x51cc7a={'userId':this['_memberID'],'logLabel':_0x2abc43,'content':_0x5ede58};this[_0x5818da(0x4bb)][_0x5818da(0x2be)](_0x5818da(0x33b),{'body':_0x51cc7a})['catch'](()=>{});}catch{}}};_0x129cf2=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x301182['HTTPService'])),_0x4f2c8d(0x2,_0x3378d6[_0x470848(0x3fb)]),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x1f4)]))],_0x129cf2);function _0x3afd20({state$:_0x4cdf19,interactionBlocked$:_0x613c31}){const _0x36140f=_0x470848;return(0x0,_0x2d4a70[_0x36140f(0x236)])(_0x2d4a70[_0x36140f(0x34a)],{'children':[(0x0,_0x4dab43[_0x36140f(0x238)])(_0x613c31,!0x1,!0x0)&&(0x0,_0x2d4a70[_0x36140f(0x4bd)])(_0x36140f(0x332),{'data-u-comp':_0x36140f(0x29b),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0x2d4a70[_0x36140f(0x4bd)])(_0x2ace38,{'state$':_0x4cdf19})]});}function _0x2ace38({state$:_0x7addd5}){const _0x14fa04=_0x470848;let _0x1654f6=(0x0,_0x4dab43[_0x14fa04(0x238)])(_0x7addd5,null,!0x0);return _0x1654f6?(0x0,_0x2d4a70['jsxs'])(_0x14fa04(0x332),{'data-u-comp':_0x14fa04(0x2c3),'role':_0x14fa04(0x48e),'className':_0x14fa04(0x361),'children':[(0x0,_0x2d4a70[_0x14fa04(0x4bd)])(_0x4f71da,{'className':'univer-size-4\x20univer-shrink-0\x20univer-text-amber-500'}),(0x0,_0x2d4a70[_0x14fa04(0x4bd)])(_0x14fa04(0x261),{'children':_0x1654f6[_0x14fa04(0x343)]}),(0x0,_0x2d4a70['jsx'])(_0x472933[_0x14fa04(0x4d0)],{'size':_0x14fa04(0x2f3),'variant':_0x14fa04(0x224),'onClick':()=>window[_0x14fa04(0x19e)][_0x14fa04(0x374)](),'children':_0x1654f6[_0x14fa04(0x40d)]})]}):null;}let _0x50ed8d=_0x470848(0x1c3),_0x3328cc=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x304261,_0xf17629,_0x327e72,_0x20d49a,_0x39d156,_0x4d8022,_0x4cea98,_0x5a1843){const _0x120523=_0x470848;super(),this[_0x120523(0x212)]=_0x304261,this[_0x120523(0x4c3)]=_0xf17629,this['_localeService']=_0x327e72,this[_0x120523(0x240)]=_0x20d49a,this[_0x120523(0x2b3)]=_0x39d156,this[_0x120523(0x3ca)]=_0x4cea98,this[_0x120523(0x190)]=_0x5a1843,_0x317deb(this,'_timeoutState$',new _0x5515fe['BehaviorSubject'](null)),_0x317deb(this,_0x120523(0x43d),new _0x5515fe[(_0x120523(0x4b4))](!0x1)),_0x317deb(this,_0x120523(0x1e9),new Set()),_0x317deb(this,_0x120523(0x26b),new Map()),_0x317deb(this,_0x120523(0x276),new Set()),_0x317deb(this,'_latestStates',new Map()),_0x317deb(this,_0x120523(0x28a),void 0x0),_0x317deb(this,_0x120523(0x4aa),void 0x0),_0x317deb(this,_0x120523(0x1a8),void 0x0),_0x317deb(this,'timeoutState$',this[_0x120523(0x47e)][_0x120523(0x38e)]());let _0xfe1cb9=()=>(0x0,_0x477dc2['createElement'])(_0x3afd20,{'state$':this[_0x120523(0x4cc)],'interactionBlocked$':this[_0x120523(0x43d)]});this[_0x120523(0x3a7)](_0x4d8022[_0x120523(0x1fc)](_0x4dab43[_0x120523(0x2ab)][_0x120523(0x191)],()=>(0x0,_0x4dab43[_0x120523(0x427)])(_0xfe1cb9,this['_injector']))),this[_0x120523(0x3a7)](this['_snapshotLoadingService'][_0x120523(0x4bf)][_0x120523(0x31e)](_0x595807=>{const _0x3847ee=_0x120523;this['_latestStates']=_0x595807,_0x595807[_0x3847ee(0x315)](_0x12400d=>{const _0x40bd5b=_0x3847ee;this[_0x40bd5b(0x440)](_0x12400d),this['_updateSheetPreview'](_0x12400d);});})),this[_0x120523(0x3a7)](this['_urlService'][_0x120523(0x216)]['subscribe'](()=>{const _0x469281=_0x120523;this[_0x469281(0x20d)]['forEach'](_0x2d7849=>{const _0x1ac55a=_0x469281;this[_0x1ac55a(0x440)](_0x2d7849),this[_0x1ac55a(0x3f1)](_0x2d7849);});}));}['dispose'](){const _0x2af6cf=_0x470848;var _0x3e21bc;if(this[_0x2af6cf(0x1e9)][_0x2af6cf(0x315)](_0x187174=>this['_messageService'][_0x2af6cf(0x4a2)](_0x187174)),this[_0x2af6cf(0x1e9)][_0x2af6cf(0x2f8)](),this['_previewUnitId']){var _0x55b31a;(_0x55b31a=this[_0x2af6cf(0x1a8)])==null||_0x55b31a[_0x2af6cf(0x26f)](this[_0x2af6cf(0x28a)]);}this[_0x2af6cf(0x28a)]=void 0x0,this[_0x2af6cf(0x26b)][_0x2af6cf(0x315)](({timeoutId:_0x1d274f})=>clearTimeout(_0x1d274f)),this['_blockProgressWatches']['clear'](),(_0x3e21bc=this[_0x2af6cf(0x4aa)])==null||_0x3e21bc[_0x2af6cf(0x39c)](),this['_shortcutBlock']=void 0x0,this[_0x2af6cf(0x47e)][_0x2af6cf(0x28f)](),this[_0x2af6cf(0x43d)][_0x2af6cf(0x28f)](),super[_0x2af6cf(0x39c)]();}[_0x470848(0x440)](_0x4a8313){const _0xa2aaa4=_0x470848;let _0x3ce751=''+_0x50ed8d+_0x4a8313[_0xa2aaa4(0x1fb)];if(_0x4a8313[_0xa2aaa4(0x448)]===_0x518a46[_0xa2aaa4(0x435)][_0xa2aaa4(0x260)]){if(this[_0xa2aaa4(0x498)](_0x4a8313[_0xa2aaa4(0x1fb)]),this['_isVisibleUnit'](_0x4a8313[_0xa2aaa4(0x1fb)])&&this['_previewUnitId']===_0x4a8313[_0xa2aaa4(0x1fb)]){this['_messageService']['show']({'id':_0x3ce751,'type':_0x472933[_0xa2aaa4(0x2d2)][_0xa2aaa4(0x1f8)],'duration':0x1/0x0,'content':this['_localeService']['t']('collaboration-client-ui.snapshotLoading.loadingSheet')}),this[_0xa2aaa4(0x1e9)]['add'](_0x3ce751);return;}this['_clearTimeoutState'](_0x4a8313['unitId']),this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x4a2)](_0x3ce751),this['_messageIds'][_0xa2aaa4(0x460)](_0x3ce751);return;}if(!this[_0xa2aaa4(0x364)](_0x4a8313['unitId'])){this[_0xa2aaa4(0x498)](_0x4a8313['unitId']),this[_0xa2aaa4(0x377)](_0x4a8313['unitId']),this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x4a2)](_0x3ce751),this[_0xa2aaa4(0x1e9)][_0xa2aaa4(0x460)](_0x3ce751);return;}if(_0x4a8313['stage']===_0x518a46[_0xa2aaa4(0x435)][_0xa2aaa4(0x1eb)]){this[_0xa2aaa4(0x498)](_0x4a8313[_0xa2aaa4(0x1fb)]),this[_0xa2aaa4(0x377)](_0x4a8313[_0xa2aaa4(0x1fb)]),this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x3ea)]({'id':_0x3ce751,'type':_0x472933[_0xa2aaa4(0x2d2)][_0xa2aaa4(0x3cc)],'content':this[_0xa2aaa4(0x235)]['t'](_0xa2aaa4(0x45b))}),this['_messageIds'][_0xa2aaa4(0x460)](_0x3ce751);return;}if(_0x4a8313['stage']!==_0x518a46['SnapshotLoadStage'][_0xa2aaa4(0x420)]||_0x4a8313[_0xa2aaa4(0x280)]<=0xa){this[_0xa2aaa4(0x498)](_0x4a8313[_0xa2aaa4(0x1fb)]),this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x4a2)](_0x3ce751),this[_0xa2aaa4(0x1e9)]['delete'](_0x3ce751);return;}this[_0xa2aaa4(0x347)](_0x4a8313)||(this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x3ea)]({'id':_0x3ce751,'type':_0x472933[_0xa2aaa4(0x2d2)]['Loading'],'duration':0x1/0x0,'content':this[_0xa2aaa4(0x235)]['t'](_0xa2aaa4(0x2da))+'\x20'+_0x4a8313[_0xa2aaa4(0x2af)]+'/'+_0x4a8313['totalBlocks']}),this[_0xa2aaa4(0x1e9)][_0xa2aaa4(0x345)](_0x3ce751));}[_0x470848(0x347)](_0x4a2962){const _0x29db28=_0x470848;let _0x1f1aca=this['_blockProgressWatches'][_0x29db28(0x226)](_0x4a2962[_0x29db28(0x1fb)]);if((_0x1f1aca==null?void 0x0:_0x1f1aca['loadedBlocks'])===_0x4a2962[_0x29db28(0x2af)])return _0x1f1aca[_0x29db28(0x1ba)];this[_0x29db28(0x498)](_0x4a2962[_0x29db28(0x1fb)]);let _0x527402=setTimeout(()=>{const _0x3034c0=_0x29db28;let _0x5c23a8=this[_0x3034c0(0x26b)][_0x3034c0(0x226)](_0x4a2962['unitId']);if(!_0x5c23a8||_0x5c23a8[_0x3034c0(0x3a5)]!==_0x527402)return;_0x5c23a8[_0x3034c0(0x1ba)]=!0x0;let _0x292135=''+_0x50ed8d+_0x4a2962[_0x3034c0(0x1fb)];this[_0x3034c0(0x4c3)][_0x3034c0(0x4a2)](_0x292135),this['_messageIds'][_0x3034c0(0x460)](_0x292135),this[_0x3034c0(0x47e)][_0x3034c0(0x29d)]({'unitId':_0x4a2962[_0x3034c0(0x1fb)],'content':this[_0x3034c0(0x235)]['t'](_0x3034c0(0x25f),String(_0x4a2962[_0x3034c0(0x2af)]),String(_0x4a2962[_0x3034c0(0x280)])),'refreshLabel':this[_0x3034c0(0x235)]['t'](_0x3034c0(0x46c))});},0xea60);return this[_0x29db28(0x26b)]['set'](_0x4a2962[_0x29db28(0x1fb)],{'loadedBlocks':_0x4a2962[_0x29db28(0x2af)],'timedOut':!0x1,'timeoutId':_0x527402}),!0x1;}[_0x470848(0x498)](_0x4de1e7){const _0x20e199=_0x470848;let _0x38d0e3=this[_0x20e199(0x26b)][_0x20e199(0x226)](_0x4de1e7);_0x38d0e3&&(clearTimeout(_0x38d0e3[_0x20e199(0x3a5)]),this[_0x20e199(0x26b)][_0x20e199(0x460)](_0x4de1e7),this['_clearTimeoutState'](_0x4de1e7));}[_0x470848(0x377)](_0x1c3ecb){const _0x1156c8=_0x470848;var _0x5101d5;((_0x5101d5=this[_0x1156c8(0x47e)][_0x1156c8(0x411)])==null?void 0x0:_0x5101d5[_0x1156c8(0x1fb)])===_0x1c3ecb&&this[_0x1156c8(0x47e)][_0x1156c8(0x29d)](null);}[_0x470848(0x3f1)](_0x41b72a){const _0x118242=_0x470848;if(_0x41b72a[_0x118242(0x448)]===_0x518a46['SnapshotLoadStage']['LOADING_SNAPSHOT']&&this[_0x118242(0x276)][_0x118242(0x460)](_0x41b72a[_0x118242(0x1fb)]),!this[_0x118242(0x364)](_0x41b72a['unitId'])){this[_0x118242(0x30b)](_0x41b72a['unitId']);return;}if(_0x41b72a[_0x118242(0x448)]===_0x518a46['SnapshotLoadStage'][_0x118242(0x1eb)]||_0x41b72a[_0x118242(0x280)]<=0xa){this[_0x118242(0x30b)](_0x41b72a['unitId']);return;}if(_0x41b72a[_0x118242(0x448)]===_0x518a46[_0x118242(0x435)]['COMPLETE']){this['_handoffPreview'](_0x41b72a[_0x118242(0x1fb)]);return;}if(_0x41b72a[_0x118242(0x448)]===_0x518a46[_0x118242(0x435)][_0x118242(0x420)]&&_0x41b72a[_0x118242(0x324)]&&_0x41b72a[_0x118242(0x264)]){let _0x173843=this[_0x118242(0x4a4)]();if(!_0x173843)return;this[_0x118242(0x28a)]&&this[_0x118242(0x28a)]!==_0x41b72a[_0x118242(0x1fb)]&&this[_0x118242(0x30b)](this[_0x118242(0x28a)]),_0x173843[_0x118242(0x1ee)](_0x41b72a['workbookShell'],_0x41b72a[_0x118242(0x264)]),this['_previewUnitId']=_0x41b72a['unitId'],this[_0x118242(0x4a3)](!0x0),_0x41b72a['previewReady']&&_0x173843[_0x118242(0x3ea)](_0x41b72a[_0x118242(0x324)],_0x41b72a[_0x118242(0x264)],_0x41b72a[_0x118242(0x4c1)]);}}['_handoffPreview'](_0x477088){const _0x4a232a=_0x470848;if(this[_0x4a232a(0x28a)]!==_0x477088||this[_0x4a232a(0x276)][_0x4a232a(0x1c9)](_0x477088))return;let _0x4c4882=this['_sheetLoadingRenderService'];_0x4c4882&&(this[_0x4a232a(0x276)][_0x4a232a(0x345)](_0x477088),_0x4c4882[_0x4a232a(0x38d)](_0x477088,0x2710)[_0x4a232a(0x308)](_0x43207b=>{const _0x16cccf=_0x4a232a;if(this[_0x16cccf(0x28a)]!==_0x477088)return;if(_0x43207b){let _0x12e3a3=''+_0x50ed8d+_0x477088;this[_0x16cccf(0x4c3)]['remove'](_0x12e3a3),this[_0x16cccf(0x1e9)]['delete'](_0x12e3a3),this['_previewUnitId']=void 0x0,this['_setInteractionBlocked'](!0x1);return;}let _0x92d66f=''+_0x50ed8d+_0x477088;this[_0x16cccf(0x4c3)]['remove'](_0x92d66f),this[_0x16cccf(0x1e9)]['delete'](_0x92d66f),this['_timeoutState$'][_0x16cccf(0x29d)]({'unitId':_0x477088,'content':this[_0x16cccf(0x235)]['t'](_0x16cccf(0x45b)),'refreshLabel':this['_localeService']['t']('collaboration-client-ui.snapshotLoading.refresh')});}));}[_0x470848(0x30b)](_0x4c4382){const _0x116921=_0x470848;var _0xb56d5a;this[_0x116921(0x28a)]===_0x4c4382&&((_0xb56d5a=this[_0x116921(0x1a8)])==null||_0xb56d5a[_0x116921(0x26f)](_0x4c4382),this[_0x116921(0x28a)]=void 0x0,this[_0x116921(0x4a3)](!0x1));}[_0x470848(0x4a3)](_0x139389){const _0x5c2a01=_0x470848;if(_0x139389!==this[_0x5c2a01(0x43d)][_0x5c2a01(0x411)]){if(_0x139389)this['_shortcutBlock']=this[_0x5c2a01(0x3ca)]['forceDisable']();else{var _0x59f370;(_0x59f370=this[_0x5c2a01(0x4aa)])==null||_0x59f370[_0x5c2a01(0x39c)](),this['_shortcutBlock']=void 0x0;}this[_0x5c2a01(0x43d)][_0x5c2a01(0x29d)](_0x139389);}}[_0x470848(0x364)](_0x577bde){const _0x542f94=_0x470848;let _0x447a54=this[_0x542f94(0x190)][_0x542f94(0x490)](_0x542f94(0x18a));return!_0x447a54||_0x447a54===_0x577bde;}[_0x470848(0x4a4)](){const _0x537e2b=_0x470848;return this[_0x537e2b(0x1a8)]?this['_sheetLoadingRenderService']:(this[_0x537e2b(0x2b3)]['startPluginsForType'](_0x3378d6[_0x537e2b(0x2b5)][_0x537e2b(0x1ab)]),this[_0x537e2b(0x240)]['has'](_0x4fe045[_0x537e2b(0x397)])&&(this[_0x537e2b(0x1a8)]=this[_0x537e2b(0x240)]['get'](_0x4fe045[_0x537e2b(0x397)])),this[_0x537e2b(0x1a8)]);}};_0x3328cc=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6[_0x470848(0x331)])(_0x518a46['SnapshotLoadingService'])),_0x4f2c8d(0x1,_0x4dab43[_0x470848(0x2cc)]),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x23b)])),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x2e3)])),_0x4f2c8d(0x5,_0x4dab43[_0x470848(0x2f9)]),_0x4f2c8d(0x6,_0x4dab43[_0x470848(0x2b8)]),_0x4f2c8d(0x7,_0x48f9b0)],_0x3328cc);function _0x59fd14(_0x296c35){const _0x33f1e6=_0x470848;var _0x2707b5,_0x4fb7e6;let _0x37c9c7=(_0x2707b5=_0x296c35[_0x33f1e6(0x205)])==null?void 0x0:_0x2707b5[_0x33f1e6(0x448)],_0x1e5d59=((_0x4fb7e6=_0x296c35['stageInfo'])==null?void 0x0:_0x4fb7e6[_0x33f1e6(0x246)])||0x0;return _0x37c9c7===_0x4599c2[_0x33f1e6(0x313)][_0x33f1e6(0x26d)]&&_0x1e5d59>0x0;}function _0x3ae71d(_0x57a888){const _0x47ca6a=_0x470848;return _0x57a888[_0x47ca6a(0x445)]===_0x4599c2['FormulaExecutedStateType'][_0x47ca6a(0x437)];}let _0x16758d=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x4185e6,_0x5b650a,_0x1c1a7c,_0x17d8b2,_0x67966e,_0x5e4fe4,_0xfe03e0){const _0x57cae3=_0x470848;super(),this[_0x57cae3(0x4c3)]=_0x4185e6,this['_commandService']=_0x5b650a,this[_0x57cae3(0x40e)]=_0x1c1a7c,this['_httpService']=_0x17d8b2,this[_0x57cae3(0x48a)]=_0x67966e,this['_logService']=_0x5e4fe4,this[_0x57cae3(0x235)]=_0xfe03e0,_0x317deb(this,'_pollingInterval',null),_0x317deb(this,'_maxFormulaLimit',0x0),_0x317deb(this,'_currentUsage',0x0),_0x317deb(this,_0x57cae3(0x267),[]),_0x317deb(this,_0x57cae3(0x45f),0x0),this[_0x57cae3(0x1b7)]();}[_0x470848(0x1b7)](){const _0x25fbd0=_0x470848;this['disposeWithMe'](this[_0x25fbd0(0x3cf)][_0x25fbd0(0x2bc)]((_0x1cf2b9,_0x5bab77)=>{const _0x473393=_0x25fbd0;var _0x513154;if(_0x1cf2b9['id']!==_0x4599c2['SetFormulaCalculationStartMutation']['id'])return;let _0x437e07=_0x1cf2b9[_0x473393(0x31c)];if(this[_0x473393(0x210)]((_0x513154=_0x437e07[_0x473393(0x285)])==null?[]:_0x513154)&&!this[_0x473393(0x1dc)]())throw this[_0x473393(0x2c4)](_0x1cf2b9,_0x5bab77),this['_showGuardMessage'](),new _0x3378d6['CanceledError']();})),this[_0x25fbd0(0x3a7)](this['_commandService']['onCommandExecuted']((_0x4e1f2a,_0x3d81c7)=>{const _0x3941fd=_0x25fbd0;if(_0x4e1f2a['id']!==_0x4599c2[_0x3941fd(0x3c8)]['id'])return;let _0x4308bd=_0x4e1f2a[_0x3941fd(0x31c)];if(_0x59fd14(_0x4308bd)){let _0x439360=(0x0,_0x3378d6['generateRandomId'])();this[_0x3941fd(0x267)][_0x3941fd(0x207)](_0x439360),this['_startCalculationLimit'](_0x439360);}else{if(_0x3ae71d(_0x4308bd)&&this[_0x3941fd(0x267)]['length']>0x0){let _0x2b9dd5=this['_taskIds'][_0x3941fd(0x1df)]();this[_0x3941fd(0x1ef)](_0x2b9dd5);}}}));}[_0x470848(0x39c)](){const _0x3ac656=_0x470848;super[_0x3ac656(0x39c)](),this[_0x3ac656(0x2c8)](),this[_0x3ac656(0x267)]=[],this[_0x3ac656(0x21a)]=0x0,this[_0x3ac656(0x49d)]=0x0,this[_0x3ac656(0x45f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x2c1109,_0x1441b9){const _0x3586f2=_0x470848;for(let _0x525685=0x0;_0x525685<0x1e;_0x525685++)try{if(await this[_0x3586f2(0x2d8)](),this[_0x3586f2(0x1dc)]()){this[_0x3586f2(0x274)](_0x2c1109,_0x1441b9),this[_0x3586f2(0x4c3)][_0x3586f2(0x3ea)]({'content':this[_0x3586f2(0x235)]['t'](_0x3586f2(0x3dd)),'type':_0x472933['MessageType'][_0x3586f2(0x214)]});return;}await new Promise(_0x5ab3ab=>{const _0x3ea0a2=_0x3586f2;this[_0x3ea0a2(0x17c)]=window[_0x3ea0a2(0x333)](_0x5ab3ab,0x3e8);});}catch(_0x4851cf){this[_0x3586f2(0x468)][_0x3586f2(0x194)](_0x4851cf);}this['_messageService']['show']({'content':this[_0x3586f2(0x235)]['t'](_0x3586f2(0x47a)),'type':_0x472933[_0x3586f2(0x2d2)]['Error']});}[_0x470848(0x274)](_0x1f834c,_0x3ee323){const _0x15bced=_0x470848;try{this[_0x15bced(0x3cf)][_0x15bced(0x16b)](_0x1f834c['id'],_0x1f834c['params'],_0x3ee323);}catch(_0xb75ce6){this[_0x15bced(0x468)]['error'](_0xb75ce6);}}['_setFormulaLimitStatus'](_0x1717b4,_0x489081){const _0x20a2eb=_0x470848;_0x489081<this['_lastResponseTimestamp']||(this[_0x20a2eb(0x45f)]=_0x489081,this[_0x20a2eb(0x49d)]=Number[_0x20a2eb(0x2a1)](_0x1717b4[_0x20a2eb(0x4ab)]),this[_0x20a2eb(0x21a)]=Number['parseInt'](_0x1717b4[_0x20a2eb(0x45a)]));}async[_0x470848(0x2eb)](_0x456dca){const _0x58414b=_0x470848;let _0x1d8a2e=Date['now']();try{var _0x67507c,_0x21485a;let _0x193a15=((_0x67507c=this[_0x58414b(0x40e)][_0x58414b(0x461)](_0x289c2c[_0x58414b(0x3e5)]))==null?void 0x0:_0x67507c['startFormulaLimitUrl'])||_0x58414b(0x474),_0xe112a6=(await this[_0x58414b(0x4bb)]['post'](_0x193a15,{'body':JSON[_0x58414b(0x3aa)]({'taskId':_0x456dca})}))[_0x58414b(0x316)];if(((_0x21485a=_0xe112a6[_0x58414b(0x194)])==null?void 0x0:_0x21485a[_0x58414b(0x1d2)])!==_0x6c7a[_0x58414b(0x3e9)]['OK'])return;this[_0x58414b(0x2e9)](_0xe112a6[_0x58414b(0x3e1)],_0x1d8a2e);}catch(_0x25644a){this[_0x58414b(0x468)]['error'](_0x25644a);}}async[_0x470848(0x2d8)](_0x39bdd7){const _0x4402f7=_0x470848;let _0x48c137=Date[_0x4402f7(0x344)]();try{var _0xbb2d3e,_0x3580cf;let _0x3d4aac=((_0xbb2d3e=this[_0x4402f7(0x40e)][_0x4402f7(0x461)](_0x289c2c[_0x4402f7(0x3e5)]))==null?void 0x0:_0xbb2d3e[_0x4402f7(0x334)])||_0x4402f7(0x20b),_0x1f36ec=_0x39bdd7?_0x3d4aac+_0x4402f7(0x20f)+encodeURIComponent(_0x39bdd7):_0x3d4aac,_0x47546f=(await this[_0x4402f7(0x4bb)]['get'](_0x1f36ec))[_0x4402f7(0x316)];if(((_0x3580cf=_0x47546f[_0x4402f7(0x194)])==null?void 0x0:_0x3580cf[_0x4402f7(0x1d2)])!==_0x6c7a[_0x4402f7(0x3e9)]['OK'])return;this[_0x4402f7(0x2e9)](_0x47546f[_0x4402f7(0x3e1)],_0x48c137);}catch(_0x331416){this[_0x4402f7(0x468)]['error'](_0x331416);}}async[_0x470848(0x1ef)](_0x3376ca){const _0x576852=_0x470848;let _0x300a44=Date[_0x576852(0x344)]();try{var _0x58668f,_0x779e92;let _0x27066d=((_0x58668f=this[_0x576852(0x40e)][_0x576852(0x461)](_0x289c2c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x58668f[_0x576852(0x20e)])||_0x576852(0x295),_0x314d2d=(await this[_0x576852(0x4bb)]['post'](_0x27066d,{'body':JSON[_0x576852(0x3aa)]({'taskId':_0x3376ca})}))[_0x576852(0x316)];if(((_0x779e92=_0x314d2d[_0x576852(0x194)])==null?void 0x0:_0x779e92[_0x576852(0x1d2)])!==_0x6c7a['ErrorCode']['OK'])return;this[_0x576852(0x2e9)](_0x314d2d['limitInfo'],_0x300a44);}catch(_0x678c47){this[_0x576852(0x468)]['error'](_0x678c47);}}[_0x470848(0x1dc)](){const _0x21ecf9=_0x470848;return this[_0x21ecf9(0x49d)]===0x0?!0x0:this[_0x21ecf9(0x49d)]-this[_0x21ecf9(0x21a)]>0x0;}[_0x470848(0x2c8)](){const _0x11bf79=_0x470848;this[_0x11bf79(0x17c)]&&(clearTimeout(this[_0x11bf79(0x17c)]),this[_0x11bf79(0x17c)]=null);}[_0x470848(0x2ca)](){const _0x1e5c65=_0x470848;this[_0x1e5c65(0x4c3)][_0x1e5c65(0x3ea)]({'content':this[_0x1e5c65(0x235)]['t'](_0x1e5c65(0x388)),'type':_0x472933[_0x1e5c65(0x2d2)][_0x1e5c65(0x1f8)]});}['_hasFormulaInDirtyRanges'](_0x4cf7c6){const _0x15b4b0=_0x470848;for(let _0x58ccc8 of _0x4cf7c6){let {unitId:_0x59a435,sheetId:_0x5d9bf1,range:_0x707241}=_0x58ccc8,_0x3d7b6c=this[_0x15b4b0(0x48a)]['getUnit'](_0x59a435);if(!_0x3d7b6c)continue;let _0x25aa62=_0x3d7b6c['getSheetBySheetId'](_0x5d9bf1);if(!_0x25aa62)continue;let _0x502290=_0x25aa62['getCellMatrix']();for(let _0x25f073=_0x707241['startRow'];_0x25f073<=_0x707241[_0x15b4b0(0x199)];_0x25f073++)for(let _0x2517ed=_0x707241['startColumn'];_0x2517ed<=_0x707241[_0x15b4b0(0x370)];_0x2517ed++){let _0x3f239d=_0x502290[_0x15b4b0(0x434)](_0x25f073,_0x2517ed);if(_0x3f239d&&((0x0,_0x3378d6[_0x15b4b0(0x22e)])(_0x3f239d['f'])||(0x0,_0x3378d6[_0x15b4b0(0x30f)])(_0x3f239d['si'])))return!0x0;}}return!0x1;}};_0x16758d=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6[_0x470848(0x331)])(_0x4dab43[_0x470848(0x2cc)])),_0x4f2c8d(0x1,_0x3378d6[_0x470848(0x3d2)]),_0x4f2c8d(0x2,_0x3378d6[_0x470848(0x1cc)]),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x301182[_0x470848(0x17f)])),_0x4f2c8d(0x4,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x5,_0x3378d6[_0x470848(0x3fb)]),_0x4f2c8d(0x6,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x23b)]))],_0x16758d);let _0x2bc207=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0xcec0b2,_0x38b219,_0x229f77){const _0x5897dd=_0x470848;super(),this[_0x5897dd(0x40e)]=_0xcec0b2,this[_0x5897dd(0x2ce)]=_0x38b219,this[_0x5897dd(0x242)]=_0x229f77,_0x317deb(this,_0x5897dd(0x265),new Map()),_0x317deb(this,_0x5897dd(0x29c),new Map()),_0x317deb(this,'_disabled',!0x1);}[_0x470848(0x1c4)](){const _0x25fa28=_0x470848;this[_0x25fa28(0x3bf)]=!0x0;}[_0x470848(0x2f5)](){const _0x150aa1=_0x470848;this[_0x150aa1(0x3bf)]=!0x1;}get[_0x470848(0x419)](){const _0x29d07c=_0x470848;return this[_0x29d07c(0x29c)];}[_0x470848(0x39c)](){const _0x41b91a=_0x470848;this['exhaustSavingTask']()[_0x41b91a(0x308)](()=>super[_0x41b91a(0x39c)]());}async[_0x470848(0x3fc)](_0x265f37){const _0x111711=_0x470848;return this[_0x111711(0x3bf)]?null:this['_localStorageService'][_0x111711(0x455)]((0x0,_0x289c2c[_0x111711(0x16a)])(_0x265f37));}async[_0x470848(0x3b9)](_0x2c5321,_0x469e74){const _0x52626=_0x470848;return!!this[_0x52626(0x2ce)][_0x52626(0x206)]((0x0,_0x289c2c[_0x52626(0x16a)])(_0x2c5321),_0x469e74);}async[_0x470848(0x42d)](_0xb0bc1d,_0x8848bb){const _0x270b78=_0x470848;var _0x2ea75d;let _0x189a0b=(_0x2ea75d=this[_0x270b78(0x265)][_0x270b78(0x226)](_0xb0bc1d))==null?await this[_0x270b78(0x2ce)][_0x270b78(0x455)]((0x0,_0x289c2c['getLocalCacheKey'])(_0xb0bc1d)):_0x2ea75d;if(!_0x189a0b)return;let _0x103daa=Date[_0x270b78(0x344)](),_0x564dc2=new Date(_0x103daa)['toISOString']();await this[_0x270b78(0x2ce)][_0x270b78(0x206)]((0x0,_0x289c2c[_0x270b78(0x16a)])(_0xb0bc1d)+':backup:'+_0x103daa,{'reason':_0x8848bb,'createdAt':_0x564dc2,'data':_0x189a0b});}['updateOfflineData'](_0x20f9c1,_0x56e504,_0xdb11a7,_0x26cb6e){const _0x261e6b=_0x470848;let _0x10f09a=this[_0x261e6b(0x242)]['getCurrentRevOfUnit'](_0x20f9c1);this[_0x261e6b(0x265)][_0x261e6b(0x406)](_0x20f9c1,{'unitID':_0x20f9c1,'type':_0x56e504,'awaitingChangeset':_0xdb11a7,'mutations':_0x26cb6e,'rev':_0x10f09a}),this[_0x261e6b(0x29c)][_0x261e6b(0x1c9)](_0x20f9c1)||this[_0x261e6b(0x35c)](_0x20f9c1);}['_scheduleSaving'](_0x3d6311){const _0x2682b6=_0x470848;let _0xe3ca2b=this[_0x2682b6(0x3af)]();_0xe3ca2b===0x0?this[_0x2682b6(0x45e)](_0x3d6311):this[_0x2682b6(0x29c)][_0x2682b6(0x406)](_0x3d6311,window[_0x2682b6(0x333)](()=>this[_0x2682b6(0x45e)](_0x3d6311),_0xe3ca2b));}[_0x470848(0x3af)](){const _0x407848=_0x470848;var _0x2bde39;return(_0x2bde39=this[_0x407848(0x40e)][_0x407848(0x461)](_0x289c2c[_0x407848(0x41c)]))==null?_0x289c2c[_0x407848(0x193)]:_0x2bde39;}[_0x470848(0x45e)](_0x466848){const _0x4ba473=_0x470848;let _0x1dc1d4=this[_0x4ba473(0x29c)][_0x4ba473(0x226)](_0x466848);return _0x1dc1d4!==void 0x0&&window[_0x4ba473(0x373)](_0x1dc1d4),this[_0x4ba473(0x2ce)][_0x4ba473(0x206)]((0x0,_0x289c2c[_0x4ba473(0x16a)])(_0x466848),this['_cachedData']['get'](_0x466848))[_0x4ba473(0x308)](()=>this[_0x4ba473(0x29c)][_0x4ba473(0x460)](_0x466848));}async[_0x470848(0x3dc)](){const _0x2b8dbc=_0x470848;let _0xac9580=[];this[_0x2b8dbc(0x29c)][_0x2b8dbc(0x315)]((_0x2a954a,_0x22b0d0)=>{const _0x1968c7=_0x2b8dbc;window[_0x1968c7(0x373)](_0x2a954a),_0xac9580['push'](this[_0x1968c7(0x45e)](_0x22b0d0)['then'](()=>{const _0x192951=_0x1968c7;this[_0x192951(0x29c)][_0x192951(0x460)](_0x22b0d0);}));}),await Promise[_0x2b8dbc(0x1f1)](_0xac9580);}};_0x2bc207=_0x265259([_0x4f2c8d(0x0,_0x3378d6[_0x470848(0x1cc)]),_0x4f2c8d(0x1,_0x3378d6[_0x470848(0x277)]),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x518a46[_0x470848(0x379)]))],_0x2bc207);var _0x40f874=class extends _0x3378d6[_0x470848(0x42a)]{constructor(){const _0x3ee546=_0x470848;super(),_0x317deb(this,'urlChange$',void 0x0),this[_0x3ee546(0x216)]=(0x0,_0x5515fe[_0x3ee546(0x30a)])(window,_0x3ee546(0x3d8))['pipe']((0x0,_0x5515fe[_0x3ee546(0x3e2)])(this['dispose$']),(0x0,_0x5515fe[_0x3ee546(0x2a8)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x5515fe[_0x3ee546(0x40c)])(void 0x0));}['setParam'](_0x297a58,_0x4aaa68,_0x37c526=!0x1){const _0x1c1dce=_0x470848;let _0x28fbd3=new URL(window[_0x1c1dce(0x19e)][_0x1c1dce(0x338)]);_0x28fbd3[_0x1c1dce(0x37d)][_0x1c1dce(0x406)](_0x297a58,_0x4aaa68),_0x37c526?window[_0x1c1dce(0x3c6)][_0x1c1dce(0x342)]('','',_0x28fbd3['toString']()):window[_0x1c1dce(0x3c6)][_0x1c1dce(0x3f7)]('','',_0x28fbd3['toString']());}[_0x470848(0x229)](_0x3b2c8c,_0x2c890e=!0x1){const _0x245e49=_0x470848;let _0xa457ba=new URL(window[_0x245e49(0x19e)][_0x245e49(0x338)]);_0xa457ba[_0x245e49(0x37d)][_0x245e49(0x460)](_0x3b2c8c),_0x2c890e?window[_0x245e49(0x3c6)][_0x245e49(0x342)]('','',_0xa457ba[_0x245e49(0x31f)]()):window[_0x245e49(0x3c6)][_0x245e49(0x3f7)]('','',_0xa457ba[_0x245e49(0x31f)]());}[_0x470848(0x490)](_0x255ec1){const _0x34583b=_0x470848;var _0x5e8058;return(_0x5e8058=new URL(window['location'][_0x34583b(0x338)])['searchParams'][_0x34583b(0x226)](_0x255ec1))==null?void 0x0:_0x5e8058;}};let _0x35d42e=class extends _0x3378d6['Plugin']{constructor(_0x3479a8=_0x2ca37d,_0x2e308f,_0xbde081,_0x39d72a){const _0x50e9fc=_0x470848;super(),this[_0x50e9fc(0x492)]=_0x3479a8,this[_0x50e9fc(0x381)]=_0x2e308f,this[_0x50e9fc(0x240)]=_0xbde081,this['_configService']=_0x39d72a;let {..._0x3608fd}=(0x0,_0x3378d6[_0x50e9fc(0x443)])({},_0x2ca37d,this[_0x50e9fc(0x492)]);this[_0x50e9fc(0x40e)]['setConfig']('collaboration-client-ui.config',_0x3608fd);}[_0x470848(0x4b9)](){const _0x602f19=_0x470848;this[_0x602f19(0x4b0)](),this['_initDependencies']();}[_0x470848(0x413)](){this['_registerRenderDependencies']();}[_0x470848(0x4b0)](){const _0x4e4436=_0x470848;var _0x55d50a;let _0x54ca41=[[_0x5a49d8],[_0x16758d],[_0x48f9b0,{'useClass':_0x40f874}],[_0x301182[_0x4e4436(0x3a4)],{'useClass':_0x301182['WebSocketService']}],[_0x289c2c[_0x4e4436(0x4b7)],{'useClass':_0x2bc207}],[_0x35e9ef],[_0x4ab697],[_0x3b11db],[_0x3b029d],[_0x48aa1e],[_0x3328cc]];this[_0x4e4436(0x492)]['enableDocumentCollaborationUI']!==!0x1&&_0x54ca41[_0x4e4436(0x207)]([_0x3cc37c],[_0x2c292f],[_0x42f65a],[_0x3ebe55],[_0x1d32b6],[_0x563a43]),this[_0x4e4436(0x492)][_0x4e4436(0x1b0)]&&_0x54ca41[_0x4e4436(0x207)]([_0x129cf2]),(0x0,_0x3378d6['registerDependencies'])(this['_injector'],(0x0,_0x3378d6[_0x4e4436(0x1f9)])(_0x54ca41,(_0x55d50a=this[_0x4e4436(0x492)])==null?void 0x0:_0x55d50a[_0x4e4436(0x456)]));}[_0x470848(0x410)](){const _0x27b03b=_0x470848;this['_config'][_0x27b03b(0x17d)]!==!0x1&&this['disposeWithMe'](this[_0x27b03b(0x381)][_0x27b03b(0x355)](_0x3378d6[_0x27b03b(0x2b5)][_0x27b03b(0x43f)],[_0x42c69d])),this[_0x27b03b(0x3a7)](this['_renderManagerService'][_0x27b03b(0x355)](_0x3378d6[_0x27b03b(0x2b5)][_0x27b03b(0x1ab)],[_0x13f49e])),this[_0x27b03b(0x3a7)](this[_0x27b03b(0x381)][_0x27b03b(0x355)](_0x3378d6[_0x27b03b(0x2b5)]['UNIVER_SLIDE'],[_0xab6e53])),this[_0x27b03b(0x3a7)](this[_0x27b03b(0x381)]['registerRenderModule'](_0x3378d6[_0x27b03b(0x2b5)][_0x27b03b(0x346)],[_0x4f3792]));}[_0x470848(0x487)](){const _0x4e70aa=_0x470848;(0x0,_0x3378d6['touchDependencies'])(this[_0x4e70aa(0x240)],[[_0x3b029d],[_0x35e9ef],[_0x4ab697],[_0x3b11db],[_0x48aa1e],[_0x16758d],[_0x3328cc]]),this[_0x4e70aa(0x492)]['enableDocumentCollaborationUI']!==!0x1&&(0x0,_0x3378d6[_0x4e70aa(0x2c5)])(this[_0x4e70aa(0x240)],[[_0x1d32b6],[_0x563a43]]),this[_0x4e70aa(0x492)][_0x4e70aa(0x1b0)]&&(0x0,_0x3378d6[_0x4e70aa(0x2c5)])(this[_0x4e70aa(0x240)],[[_0x129cf2]]);}};_0x317deb(_0x35d42e,_0x470848(0x495),_0x470848(0x31b)),_0x317deb(_0x35d42e,'packageName',_0xe45e57),_0x317deb(_0x35d42e,'version',_0x3e2282),_0x35d42e=_0x265259([(0x0,_0x3378d6[_0x470848(0x3e0)])(_0x289c2c[_0x470848(0x4ae)]),_0x4f2c8d(0x1,_0x21620d[_0x470848(0x3c1)]),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6['Injector'])),_0x4f2c8d(0x3,_0x3378d6[_0x470848(0x1cc)])],_0x35d42e);let _0x1b89fe=class extends _0x289c2c[_0x470848(0x37e)]{constructor(_0x52c57d,_0x42fcda,_0x5af00c,_0x239336,_0x514da5){super(_0x52c57d,_0x42fcda,_0x5af00c,_0x239336,_0x514da5);}async[_0x470848(0x2a5)](_0x39ca54){const _0x36ac18=_0x470848;let _0x409e82=await this[_0x36ac18(0x2fc)](),_0x58fda9=this[_0x36ac18(0x2ba)](_0x39ca54,_0x409e82);return this[_0x36ac18(0x19b)](_0x58fda9);}['_createSocketURL'](_0x1c6d37,_0x53daa9){const _0x491bc9=_0x470848;let _0x9e36d5=typeof window>'u'?new URL(_0x1c6d37):new URL(_0x1c6d37,window[_0x491bc9(0x19e)]['origin']);_0x9e36d5[_0x491bc9(0x37d)][_0x491bc9(0x406)](_0x491bc9(0x36f),_0x53daa9);let _0x3c844f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x491bc9(0x19e)]['search']);return _0x3c844f[_0x491bc9(0x226)](_0x491bc9(0x38b))&&_0x9e36d5[_0x491bc9(0x37d)][_0x491bc9(0x406)](_0x491bc9(0x38b),_0x3c844f[_0x491bc9(0x226)](_0x491bc9(0x38b))),_0x9e36d5[_0x491bc9(0x31f)]();}async[_0x470848(0x2fc)](){const _0x2bf644=_0x470848;var _0x1c2555,_0x48de92,_0x5d2673;let _0x2181ff=this[_0x2bf644(0x40e)][_0x2bf644(0x461)](_0x289c2c[_0x2bf644(0x3e5)]),_0x101143=(_0x1c2555=_0x2181ff==null?void 0x0:_0x2181ff['wsSessionTicketUrl'])==null?_0x289c2c[_0x2bf644(0x175)]:_0x1c2555;return(_0x48de92=(_0x5d2673=(await this[_0x2bf644(0x4bb)][_0x2bf644(0x226)](_0x101143,{'headers':{'Content-Type':'application/json'}}))[_0x2bf644(0x316)])==null?void 0x0:_0x5d2673['ticket'])==null?'':_0x48de92;}};_0x1b89fe=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x301182[_0x470848(0x17f)])),_0x4f2c8d(0x2,_0x3378d6[_0x470848(0x1cc)]),_0x4f2c8d(0x3,_0x3378d6['ILogService']),_0x4f2c8d(0x4,_0x518a46[_0x470848(0x37c)])],_0x1b89fe);let _0x1bb327=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x4434e3,_0x1c5d2a,_0x582553){const _0x103ce1=_0x470848;super(),this[_0x103ce1(0x3d5)]=_0x4434e3,this['_httpService']=_0x1c5d2a,this[_0x103ce1(0x40e)]=_0x582553;}async[_0x470848(0x438)](_0x29c458,_0x3b4b94,_0x59d4a6,..._0x4a1a17){const _0x5dcc69=_0x470848;var _0x49bd7d,_0x27ee58,_0x1886bb,_0xe55ae3;let _0x1676ad=this[_0x5dcc69(0x3d5)][_0x5dcc69(0x31d)]();if(!_0x1676ad)throw Error(_0x5dcc69(0x2f0));let _0x28cd27=((_0x49bd7d=this[_0x5dcc69(0x40e)][_0x5dcc69(0x461)](_0x289c2c[_0x5dcc69(0x1c5)]))==null?_0x289c2c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']:_0x49bd7d)+'/'+_0x29c458+_0x5dcc69(0x4b1)+_0x3b4b94,_0x313345={'scriptId':_0x29c458,'runId':(_0x27ee58=new URL(window[_0x5dcc69(0x19e)]['href'])[_0x5dcc69(0x37d)][_0x5dcc69(0x226)]('runId'))==null?'':_0x27ee58,'function':_0x3b4b94,'unitId':_0x1676ad['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x4a1a17),'invokeId':(_0x1886bb=_0x59d4a6[_0x5dcc69(0x233)])==null?'':_0x1886bb,'executionId':(_0xe55ae3=_0x59d4a6['executionId'])==null?'':_0xe55ae3};try{let _0x3d30bc=await this[_0x5dcc69(0x4bb)][_0x5dcc69(0x2be)](_0x28cd27,{'body':_0x313345});return _0x3d30bc[_0x5dcc69(0x316)][_0x5dcc69(0x194)]&&_0x3d30bc['body'][_0x5dcc69(0x194)][_0x5dcc69(0x1d2)]!==_0x6c7a['ErrorCode']['OK']?_0x5dcc69(0x320):_0x3d30bc[_0x5dcc69(0x316)][_0x5dcc69(0x223)];}catch{return _0x5dcc69(0x320);}}};_0x1bb327=_0x265259([_0x4f2c8d(0x0,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x301182[_0x470848(0x17f)])),_0x4f2c8d(0x2,_0x3378d6[_0x470848(0x1cc)])],_0x1bb327);let _0x3667a4=0x7530,_0x5a7e93=_0x470848(0x186);var _0x30dce7=class extends _0x3378d6[_0x470848(0x380)]{constructor(){const _0x43ee9b=_0x470848;super(),_0x317deb(this,_0x43ee9b(0x1d6),(0x0,_0x3378d6[_0x43ee9b(0x4c4)])()),_0x317deb(this,_0x43ee9b(0x395),new Set()),_0x317deb(this,'_unitOnClients',new Map()),_0x317deb(this,'_heartbeatTimer',null),_0x317deb(this,_0x43ee9b(0x3fe),new Map()),_0x317deb(this,_0x43ee9b(0x430),new Map()),this[_0x43ee9b(0x1a4)]();}[_0x470848(0x39c)](){const _0x4542e5=_0x470848;super['dispose'](),this[_0x4542e5(0x3fe)][_0x4542e5(0x315)]((_0x5320d0,_0x24f8ec)=>this['_removeClearOtherTimer'](_0x24f8ec)),this[_0x4542e5(0x2ea)]&&window[_0x4542e5(0x284)](this[_0x4542e5(0x2ea)]);}[_0x470848(0x4be)](_0x363631){const _0x57bc60=_0x470848;return this['_ensureSubject'](_0x363631)[_0x57bc60(0x376)]((0x0,_0x5515fe[_0x57bc60(0x1b1)])());}[_0x470848(0x447)](_0x16048a){const _0x39e478=_0x470848;this[_0x39e478(0x395)][_0x39e478(0x309)]===0x0&&this['_scheduleHeartbeat'](),this[_0x39e478(0x395)]['add'](_0x16048a),this[_0x39e478(0x4a7)]({'type':0x0,'memberID':this[_0x39e478(0x1d6)],'unitIDs':[_0x16048a],'isForwarded':!0x1});}[_0x470848(0x1a2)](_0x95352e){const _0x47b24d=_0x470848;this[_0x47b24d(0x395)][_0x47b24d(0x460)](_0x95352e),this[_0x47b24d(0x395)][_0x47b24d(0x309)]===0x0&&this[_0x47b24d(0x2ea)]&&window[_0x47b24d(0x284)](this['_heartbeatTimer']);}[_0x470848(0x1a4)](){const _0x1ff163=_0x470848;this[_0x1ff163(0x3a7)]((0x0,_0x3378d6[_0x1ff163(0x44d)])((0x0,_0x5515fe[_0x1ff163(0x30a)])(window,'storage')[_0x1ff163(0x31e)](_0x103520=>{const _0x1cc959=_0x1ff163;if(_0x103520[_0x1cc959(0x354)]!==_0x5a7e93||!_0x103520[_0x1cc959(0x2e5)])return;let _0x468c8e=JSON[_0x1cc959(0x1ea)](_0x103520[_0x1cc959(0x2e5)]);this[_0x1cc959(0x1ad)](_0x468c8e);}))),window[_0x1ff163(0x2b1)]('unload',()=>this[_0x1ff163(0x4a7)]({'type':0x1,'memberID':this[_0x1ff163(0x1d6)],'unitIDs':Array[_0x1ff163(0x452)](this[_0x1ff163(0x395)])}));}[_0x470848(0x1ad)](_0x33bc75){const _0x11e43d=_0x470848;switch(_0x33bc75[_0x11e43d(0x36b)]){case 0x0:this[_0x11e43d(0x312)](_0x33bc75);break;case 0x1:this['_handleLeaveEvent'](_0x33bc75);break;case 0x2:this[_0x11e43d(0x16f)](_0x33bc75);break;}}[_0x470848(0x312)](_0x35f81d){const _0x404733=_0x470848;let {unitIDs:_0x462546,memberID:_0x3ba37e,isForwarded:_0x8606e2}=_0x35f81d;_0x462546[_0x404733(0x315)](_0x175a64=>{const _0x49d2b8=_0x404733;if(!_0x8606e2&&this['_unitOnClients'][_0x49d2b8(0x1c9)](_0x175a64)&&this[_0x49d2b8(0x1d7)](_0x175a64)[_0x49d2b8(0x29d)](_0x289c2c[_0x49d2b8(0x1ec)][_0x49d2b8(0x3ae)]),!this[_0x49d2b8(0x341)][_0x49d2b8(0x1c9)](_0x175a64)||!this[_0x49d2b8(0x341)][_0x49d2b8(0x226)](_0x175a64)[_0x49d2b8(0x1c9)](_0x3ba37e)){let _0x1d7175=this['_unitOnClients'][_0x49d2b8(0x226)](_0x175a64)||new Set();_0x1d7175['add'](_0x3ba37e),this[_0x49d2b8(0x341)]['set'](_0x175a64,_0x1d7175),this[_0x49d2b8(0x220)](_0x3ba37e);}}),_0x8606e2||this[_0x404733(0x4a7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x470848(0x220)](_0x106a38){const _0xf98c5c=_0x470848;this[_0xf98c5c(0x398)](_0x106a38);let _0xd8a8dd=window['setTimeout'](()=>{const _0x15370c=_0xf98c5c;this[_0x15370c(0x341)][_0x15370c(0x315)](_0xefe6d=>{const _0x193d14=_0x15370c;_0xefe6d[_0x193d14(0x460)](_0x106a38);});},_0x3667a4*0x2);this[_0xf98c5c(0x3fe)]['set'](_0x106a38,_0xd8a8dd);}['_removeClearOtherTimer'](_0x3a00a5){const _0x1cdbc7=_0x470848;if(this[_0x1cdbc7(0x3fe)][_0x1cdbc7(0x1c9)](_0x3a00a5)){let _0xa4139f=this['_clearOtherTimers']['get'](_0x3a00a5);_0xa4139f&&window['clearTimeout'](_0xa4139f),this[_0x1cdbc7(0x3fe)][_0x1cdbc7(0x406)](_0x3a00a5,null);}}[_0x470848(0x3b4)](_0x15bf3b){let {memberID:_0x3aeae9,unitIDs:_0x473a2f}=_0x15bf3b;_0x473a2f['forEach'](_0x46710b=>{const _0x1e3bf5=_0x3560;var _0x13ec37;let _0x201ba8=this['_unitOnClients'][_0x1e3bf5(0x226)](_0x46710b);_0x201ba8&&(_0x201ba8['delete'](_0x3aeae9),(_0x13ec37=this[_0x1e3bf5(0x1d7)](_0x46710b))==null||_0x13ec37[_0x1e3bf5(0x29d)](_0x201ba8[_0x1e3bf5(0x309)]===0x0?_0x289c2c['UnitStatus'][_0x1e3bf5(0x2e1)]:_0x289c2c[_0x1e3bf5(0x1ec)][_0x1e3bf5(0x3ae)]));}),this['_removeClearOtherTimer'](_0x3aeae9);}[_0x470848(0x16f)](_0x9c9c0a){const _0x498e16=_0x470848;this[_0x498e16(0x220)](_0x9c9c0a[_0x498e16(0x263)]);}['_send'](_0x5f2656){const _0x5dd98d=_0x470848;localStorage[_0x5dd98d(0x206)](_0x5a7e93,JSON[_0x5dd98d(0x3aa)](_0x5f2656));}['_scheduleHeartbeat'](){const _0x4a3158=_0x470848;this['_heartbeatTimer']=window[_0x4a3158(0x1aa)](()=>{const _0x50fc03=_0x4a3158;this[_0x50fc03(0x4a7)]({'type':0x2,'memberID':this[_0x50fc03(0x1d6)]});},_0x3667a4);}[_0x470848(0x1d7)](_0x493f2b){const _0x102fc3=_0x470848;return this['_unitStatus']['has'](_0x493f2b)||this[_0x102fc3(0x430)][_0x102fc3(0x406)](_0x493f2b,new _0x5515fe[(_0x102fc3(0x4b4))](_0x289c2c[_0x102fc3(0x1ec)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x102fc3(0x430)][_0x102fc3(0x226)](_0x493f2b);}};Object[_0x470848(0x3f4)](_0x288673,_0x470848(0x323),{'enumerable':!0x0,'get':function(){return _0x1b89fe;}}),Object[_0x470848(0x3f4)](_0x288673,_0x470848(0x3db),{'enumerable':!0x0,'get':function(){return _0x35e9ef;}}),_0x288673['IURLService']=_0x48f9b0,Object[_0x470848(0x3f4)](_0x288673,_0x470848(0x257),{'enumerable':!0x0,'get':function(){return _0x1bb327;}}),_0x288673['SheetCollabCursorShape']=_0x4b97e2,Object['defineProperty'](_0x288673,_0x470848(0x336),{'enumerable':!0x0,'get':function(){return _0x35d42e;}}),_0x288673[_0x470848(0x247)]=_0x30dce7;}));function _0x3560(_0x281b41,_0xf1f998){_0x281b41=_0x281b41-0x16a;const _0x5654cf=_0x5654();let _0x3560e6=_0x5654cf[_0x281b41];return _0x3560e6;}function _0x5654(){const _0xa62d59=['black','isFormulaId','_backgroundColor','_setupSubUnitSync','_handleJoinEvent','FormulaExecuteStageType','hovered','forEach','body','UniverDesign','ranges','IRemoteInstanceService','addClipboardHook','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','params','getFocusedUnit','subscribe','toString','Failed','serializeRangeWithSheet','handleDeleteRangeMoveLeft','BrowserCollaborationSocketService','workbookShell','_updateSubUnitFromURLParams','RemoveRowCommandId','random','FromArray','focused$','DocCollaborationEntity','2IYDjRb','runRefRangeMutations','eventID','CollaborationController','transformSelections','roomMembers','Inject','div','setTimeout','getFormulaLimitStatusUrl','_monkeyPatchLogService','UniverCollaborationClientUIPlugin','purple.300','href','INotificationService','angle','/universer-api/frontend/logs','TEXT','cursorInfo','toRgbString','fromEventSubject','getBoardElementRenderObjectKey','_unitOnClients','replaceState','content','now','add','UNIVER_BOARD','_watchBlockProgress','_initStatusListener','true','Fragment','getMergeData','UniverIcon','NodePositionConvertToCursor','_memberService','activeSheet$','constructor','#0B9EFB','UNIVER_SLIDE','stroke','key','registerRenderModule','Workbook','slide-element-selection','_online','_highlightSecond','button','@univerjs-pro/collaboration-client-ui','_scheduleSaving','translate(.97)','[LogService\x20Error]:\x20','pulse','assignAColorForMemberID','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-white','62334bmrnmR','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','_isVisibleUnit','round','transformIMECache','OffLineIcon','join','getAncestorScale','_drawRectRange','type','activeSlideId$','none','32008cLWyNa','sessionTicket','endColumn','Enter','unshift','clearTimeout','reload','source','pipe','_clearTimeoutState','_startSlideCollabCursor','RevisionService','yellow.400','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','ISnapshotServerService','searchParams','CollaborationSocketService','xlink:href','Disposable','_renderManagerService','_collabCursorState$','ISlideDrawingStateService','OTHER_CLIENT_EDITING','setStateCache','_collabSessionService','getDocRanges','collaboration-client-ui.formula.calculation.waiting','onMouseMove','\x20-\x20','runId','save','handoff','asObservable','_imageIoService','requireSession','off-line-icon_clip0_910_343','_eventUnsubscribe','PERMISSION_DENIED','whenReady','_selfUnitIDs','getCollabEntity$','ISheetLoadingRenderService','_removeClearOtherTimer','@univerjs/docs','SetWorksheetActivateCommand','context','dispose','UniverProBoardsUi','bind','_getSheetObject','univer-appearance-none','getActiveRange','ThemeService','0\x200\x2016\x2016','ISocketService','timeoutId','debug','disposeWithMe','rgb','getCurrentUnitOfType','stringify','IImageIoService','getSheetObject','_blinkTimer','OTHER_CLIENTS_EDITING','_getSaveTimeout','doc.mutation.rich-text-editing','DocStateChangeManagerService','some','rxjs/operators','_handleLeaveEvent','amd','SOCKET_FAILED','2465705rcwCqf','SheetSkeletonManagerService','saveOfflineData','SOCKET_FAILED_RETRY','idSuffix','_labelPosition','engine','getSnapshot','_disabled','RefRangeService','IRenderManagerService','left','[CollaborationDataLoaderController]','labelHorizontalPosition','TEXT_RANGE_LAYER_INDEX','history','SessionStatus','SetFormulaCalculationNotificationMutation','getStateCache','_shortcutService','subUnitId','Error','_drawAnchor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_commandService','univer-text-blue-500','OFFLINE','ICommandService','getColor','_startBlinking','_instanceService','polite','colorClass','popstate','_initCommandExecutedListener','RECT','DesktopCollaborationStatusDisplayController','exhaustSavingTask','collaboration-client-ui.formula.calculation.started','UniverDocsUi','svg','DependentOn','limitInfo','takeUntil','mutations','_draw','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','univer-text-red-500','_offsetY','socket$','ErrorCode','show','PENDING','lineTo','univer-flex\x20univer-items-center\x20univer-justify-center','getUniverSheetInstance','getVpScrollXYInfoByPosToVp','with','_updateSheetPreview','startColumn','CLOSE_ROOM','defineProperty','data','showText','pushState','drawWith','values','iterator','ILogService','loadOfflineData','measureText','_clearOtherTimers','highlightSecond','_removeCollabCursors','_cursor','transformByState','find','Shape','_collabCursorController','set','stack','strokeWidth','@univerjs/rpc','_context','on-line-icon_clip0_910_349','mapTo','refreshLabel','_configService','map','_registerRenderDependencies','value','setUndoRedoMutationParamsCache','onRendered','subunit','addObject$','object','restore','_refRangeService','saveTaskMap','addObject','highlight','LOCAL_CACHE_INTERVAL_KEY','column','sheetID','colno','LOADING_BLOCKS','collaboration-client-ui.collaboration.closeRoom','getAllUnitsForType','_docClipboardService','colorChannel1','...','getId','connectInjector','_handleHover','range','RxDisposable','startsWith','VIEW_MAIN','backupOfflineData','_localCacheService','getCurrentSelections','_unitStatus','_cursorShapes','_labelHorizontalPosition','[Window\x20Error]:\x20','getValue','SnapshotLoadStage','_docTransformSelectionsService','SUCCESS','runOnServer','UniverProtocol','_getSceneObjectByKey','_getLighterColor','ITransformService','_interactionBlocked$','url(#$1','UNIVER_DOC','_updateMessage','registerRefRange','call','merge','collaboration-client-ui.conflict.title','functionsExecutedState','_uploadLog','editingUnit','stage','_getAnchorBounding','status','handleMoveRange','unitID','toDisposable','_latestCursors','Subject','LoadingMultiIcon','_updateLocalCursor','from','path','setOffsetY','getItem','override','React','_docStateChangeManagerService','_blinkIntervalTimer','currentUsage','collaboration-client-ui.session.connection-failed','CollaborationEvent','closePath','_saveCache','_lastResponseTimestamp','delete','getConfig','_document','getRealBound','CollaborationUIEventId','Rect','selection','setShapeProps','_logService','collaboration-client-ui.conflict.content','useMemo','isInternalEditorID','collaboration-client-ui.snapshotLoading.refresh','redoState','UniverRpc','UniverProCollaborationClientUi','kind','getUndoRedoMutationParamsCache','sessionStatus$','WarningIcon','/universer-api/license/formula/limit/start','_transformService','univer-m-0\x20univer-p-0','_stopBlinking','fill','_onRefRangeChange','collaboration-client-ui.formula.calculation.unable','decorate','collabCursorState$','_slideDrawingStateService','_timeoutState$','getCoordByCell','assign','_transformHistoryAndStateStack','_lastPointer','Module','mask','transform','rxjs','_initDependencies','UniverUi','function','_univerInstanceService','_initUserListener','_drawTextRange','831510wOovRD','alert','m1Prime','getParam','@univerjs-pro/boards-ui','_config','throttleTime','DocSkeletonManagerService','pluginName','UniverNetwork','collab-rect-range-','_clearBlockProgressWatch','row','focusedId','subscribeEvent','_scheduleRender','_maxFormulaLimit','board-collab-cursor-','CollaborationStatus','USERS_LEAVE','replaceDocRanges','remove','_setInteractionBlocked','_getSheetLoadingRenderService','getMemberID','createIdentifier','_send','resolve','name','_shortcutBlock','maxFormulaLimit','DataLoaderService','cursorInfo$','UniverCollaborationClientPlugin','getObject','_registerDependencies','/run/','SetSelectionsOperation','message','BehaviorSubject','isEditing','_anchorDot','ILocalCacheService','UniverProSlidesUi','onStarting','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_httpService','_docSyncEditingCollabCursorService','jsx','getUnitStatus$','state$','isTransformMutationFailure','previewCellData','getSheetBySheetId','_messageService','generateRandomId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','event$','_onCursorDelete','rgba(','DocIMEInputManagerService','0.2)','clickable','timeoutState$','UniverProCollaborationClient','clipPath','_refreshCollabCursors','Button','NOT_COLLAB','getLocalCacheKey','executeCommand','getCollabCursors$','_hovered','addObjects','_handleHeartbeatEvent','transformRemoteChangeset','_colorIndex','_getMergeRange','dispose$','_initStatusComponent','DEFAULT_WS_SESSION_TICKET_URL','flatMap','OnLineIcon','Vector2','Warning','getOwnPropertyDescriptor','BOARD_TOP_RIGHT_MENU_LEADING_PART','_pollingInterval','enableDocumentCollaborationUI','attrs','HTTPService','IUniverInstanceService','_dataLoaderService','default',',\x200.2)','handleIRemoveRow','_collaborationUIEventService','ACTIVE_UNIT_EVENT_CHANNEL','switchMap','makeDirty','_isBlinkVisible','unit','includes','transformMutationsWithChangeset','1em','rgba','EffectRefRangId','_urlService','GLOBAL','bottom','LOCAL_CACHE_INTERVAL','error','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_cursors','12rhSQli','UniverProCollaboration','endRow','200VxSKFV','_doCreateSocket','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','collaboration-client-ui.collabStatus.synced','location','_startDocCollabCursor','i18nKey','ColorKit','disposeUnit','_sheetSkeletonManagerService','_init','setAlpha','removeObjects','univer-border-none\x20univer-bg-transparent','_sheetLoadingRenderService','createInstance','setInterval','UNIVER_SHEET','loading-multi-icon','_handleEvent','green.600','_cursorInfo$','enableFrontendLog','distinctUntilChanged','offsetY','_scene','syncEditingCollabCursor','ONLINE','FETCH_MISS','_initCommandInterceptor','lineno','addHandlerCallback','timedOut','@univerjs/design','_uiPartsService','onPointerEnter$','resize','_onCursorUpdate','_boardElementStateService','uni.network.url-service','DeleteRangeMoveUpCommandId','snapshot-loading-','disableLocalCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','UPDATE_CURSOR','bold\x2013px\x20Arial,\x20sans-serif','@univerjs/engine-render','has','current','scene','IConfigService','warning-icon','selectedIds','_color','DocSelectionManagerService','font','code','react','_textBubble','COLORS','_id','_ensureSubject','theme$','unsubscribe','_assignedColors','operators','_checkCalculationAvailable','textRanges','_initUnhandledRejectionListener','shift','transformStateCache','defIds','_roomMembers$','_docTransformStateCacheService','1126643VSYMUi','Tooltip','color','getTypeOfUnitAdded$','DOC_RANGE_TYPE','_messageIds','parse','ERROR','UnitStatus','registerBeforeClose','showSkeleton','_releaseCalculationLimit','JOIN_ROOM_FAILED','all','getRenderById','_themeService','CollaborationSessionService','deserializeRangeWithSheet','handleDeleteRangeMoveUp','static','Loading','mergeOverrideWithDependencies','http://www.w3.org/2000/svg','unitId','registerComponent','debounce','isTransformMutationsWithChangesetSuccess','saveImage','Injector','blue.400','SetTextSelectionsOperation','InsertRangeMoveDownCommandId','_updateURLWithCurrentState','stageInfo','setItem','push','children','MemberService','_showText','/universer-api/license/formula/limit/status','Rectangle','_latestStates','releaseFormulaLimitUrl','?taskId=','_hasFormulaInDirtyRanges','transformMutation','_snapshotLoadingService','@univerjs/engine-formula','Success','imageSourceType','urlChange$','_startBoardCollabCursor','createElement','SHEET_VIEWPORT_KEY','_currentUsage','SheetsSelectionsService','getCellPositionByOffset','init','univer-transition-all\x20univer-duration-200','onCommandExecuted','_scheduleClearOtherTimer','onPointerMove$','_range','result','primary','_initEvent','get','@univerjs/sheets','IDocClipboardService','removeParam','debounceTime','substring','lineWidth','univer-text-green-500','isFormulaString','send','getViewport','text','tag','invokeId','338218uZyrsA','_localeService','jsxs','@univerjs/core','useObservable','status$','use','LocaleService','_isApplyingOverlays','_anchor','collaboration-client-ui.collabStatus.syncing','preventDefault','_injector','setActiveRange','_revisionService','_entities','IBeforeCloseService','string','totalFormulasToCalculate','WebBrowserSingleActiveUnitService','_session','_notificationService','spin','_entityInit$','[Unhandled\x20Rejection]:\x20','Optional','max','m2Prime','#4f46e5','getSkeleton','@univerjs/ui','UniverSheets','length','_syncEditingCollabCursorService','_beforeCloseService','RemoteUniscriptService','onTransformChange$','removeObject','displayName','UniverEngineRender','filename','filter','strokeStyle','collaboration-client-ui.snapshotLoading.timeout','COMPLETE','span','688565Vdfbhn','memberID','activeSheetId','_cachedData','CONFLICT','_taskIds','evenodd','toPrimitive','0\x200\x2017\x2016','_blockProgressWatches','M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','START_CALCULATION','isArray','hide','AWAITING_WITH_PENDING','white','_shapes','_name','_applyCommand','collab-text-anchor-','_handoffUnitIds','ILocalStorageService','@univerjs-pro/collaboration-client','height','_setupBeforeClosingHandler','unhandledrejection','triggerDblclick','strokeRect','dark:focus:!univer-ring-offset-gray-800','_initWindowErrorListener','totalBlocks','_status$','symbol','getMember','clearInterval','dirtyRanges','_startSheetCollabCursor','@univerjs/network','startRow','handleInsertRangeMoveDown','_previewUnitId','getColorFromTheme','evented','setLineDash','_hideTimer','complete','undoState','_docSkeletonManagerService','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','getSheetId','@univerjs/protocol','/universer-api/license/formula/limit/done','_getScale','combineLatest','RemoveColCommandId','getActivePageId','_highlight','snapshot-loading-interaction-guard','_saveTaskMap','next','collaboration-client-ui.session.collaboration-timeout','Tools','pageManager','parseInt','currentSkeleton$','useDependency','currentColor','createSocket','width','board-element-selection','shareReplay','DisposableCollection','replace','BuiltInUIPart','_transformUndoRedoStack','red.300','MoveRangeCommandId','loadedBlocks','_transformPreviousActiveRange','addEventListener','Unknown\x20user','_pluginService','SUBMIT_CHANGESET_TIMEOUT','UniverInstanceType','tooltipKey','_collaborationSessionService','IShortcutService','collaboration-client-ui.permission.title','_createSocketURL','collaboration-client-ui.collabStatus.offline','beforeCommandExecuted','_getObjectBounds','post','getCurrentTypeOfUnit$','on-line-icon','slide-collab-cursor-','getTypeOfUnitDisposed$','snapshot-loading-timeout','_checkAndWaitForCalculationPermission','touchDependencies','isActive','_colorAssignService','_clearPolling','_initResize','_showGuardMessage','arc','IMessageService','split','_localStorageService','_renderScheduled','indicator','_collaborationController','MessageType','51VrcoSS','_render','clsx','_docTransformIMECacheService','_hover','_getFormulaLimitStatus','defs','collaboration-client-ui.collabStatus.fetchMiss','_updateCollabCursors','backgroundColor','entries','collaboration-client-ui.permission.content','handleInsertCol','UniverCore','NO_OTHER_CLIENTS_EDITING','getObjectIncludeInGroup','PluginService','RegularPolygon','newValue','univer-text-gray-400','TRANSFORM_CHANGE_OBSERVABLE_TYPE','entityInit$','_setFormulaLimitStatus','_heartbeatTimer','_startCalculationLimit','_pointerMoveDisposable','contains','collab-text-range-','getRangePointData','[RemoteUniscriptService]:\x20no\x20focused\x20unit','loadUnit','toStringTag','small','_toggleOnline','enableLocalCache','deepClone','top','clear','IUIPartsService','forwardRef','roomMembers$','_getSessionTicket','_initEntityListener','getUnitId','M0\x200H16V16H0z','fillText','fillStyle','reconnect','getCurrentSkeleton','findNodePositionByCharIndex','currentTheme$','getUnhiddenWorksheets','removeEventListener','then','size','fromEvent','_hidePreview','DeleteRangeMoveLeftCommandId','_toggleOffline'];_0x5654=function(){return _0xa62d59;};return _0x5654();}
|
|
1
|
+
function _0x5e0e(_0x1e4a8f,_0x13bdc7){_0x1e4a8f=_0x1e4a8f-0x12b;const _0x711cf=_0x711c();let _0x5e0e89=_0x711cf[_0x1e4a8f];return _0x5e0e89;}function _0x711c(){const _0x1359f5=['lineTo','activeSheet$','ONLINE','@univerjs/ui','IConfigService','isTransformMutationFailure','currentTheme$','_context','_sheetLoadingRenderService','moveTo','forceDisable','UniverUi','collaboration-client-ui.collaboration.offline-data-not-saved','onMouseMove','CollaborationStatus','InsertColCommandId','_localStorageService','SetFormulaCalculationStartMutation','ThemeService','sessionStatus$','getSnapshot','onPointerMove$','_beforeCloseService','handleIRemoveCol','assign','useMemo','_handleHover','_taskIds','pipe','amd','catch','Module','_getLighterColor','UniverSheets','_highlightSecond','getFocusedUnit','transformSelections','registerRefRange','_backgroundColor','context','memberID','entries','\x20at\x20','addObject$','addHandlerCallback','off-line-icon_clip0_910_343','object','newValue','trim','#FFF','board-element-selection','WebSocketService','_updateSheetPreview','setTimeout','setItem','ErrorCode','state$','rgba(','_transformPreviousActiveRange','univer-text-red-500','startColumn','setActiveRange','now','saveOfflineData','131144pqDPPJ','evented','focusedId','version','color','unhandledrejection','_uiPartsService','_labelPosition','Loading','SheetSkeletonManagerService','toStringTag','transformMutation','colorChannel1','collaboration-client-ui.collabStatus.conflict','getItem','getMemberID','CollaborationController','_send','params','getRealBound','[LogService\x20Error]:\x20','_render','DocStateChangeManagerService','setStateCache','attrs','_transformUndoRedoStack','button','_updateURLWithCurrentState','filter','[CollaborationDataLoaderController]','socket$','COLORS','getSheetObject','serializeRangeWithSheet','1887746SCFRkt','slide-collab-cursor-','_eventUnsubscribe','SetTextSelectionsOperation','ticket','_onCursorUpdate','UniverLicensePlugin','_getSheetObject','getDocRanges','defs','_startCalculationLimit','_handleJoinEvent','_initStatusListener','displayName','DependentOn','univer-border-none\x20univer-bg-transparent','_notificationService','stage','IUniverInstanceService','contains','blue.400','collaboration-client-ui.snapshotLoading.refresh','snapshot-loading-','strokeRect','_docSkeletonManagerService','DocIMEInputManagerService','beginPath','OffLineIcon','NO_OTHER_CLIENTS_EDITING','values','path','UniverCore','status$','Button','univer-m-0\x20univer-p-0','init','LocaleService','FormulaExecuteStageType','handleInsertCol','hovered','jsx','getActiveRange','DocSelectionManagerService','univer-text-orange-500','_hover','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','strokeWidth','entityInit$','url(#off-line-icon_clip0_910_343)','createInstance','_drawAnchor','refreshLabel','isFormulaId','registerRenderModule','showSkeleton','/universer-api/frontend/logs','selections','_hidePreview','NOT_COLLAB','getValue','OTHER_CLIENT_EDITING','_toggleOffline','getStateCache','_initUnhandledRejectionListener','defineProperty','handleInsertRow','react','UniverProtocol','_startBlinking','_urlService','all','toDisposable','labelPosition','_initUserListener','subscribe','_localeService','exports','IUIPartsService','_snapshotLoadingService','debounce','length','getAllUnitsForType','COMPLETE','PERMISSION_DENIED','SnapshotLoadingService','transform','NodePositionConvertToCursor','value','kind','editingUnit','startsWith','deserializeRangeWithSheet','isInternalEditorID','sessionTicket','BOARD_TOP_RIGHT_MENU_LEADING_PART','stringify','_docSkeleton','_isApplyingOverlays','OnLineIcon','univer-h-8\x20univer-w-8\x20univer-rounded-lg','backupOfflineData','RegularPolygon','error','Fragment','removeObjects','_range','requireSession','_logService','_setupBeforeClosingHandler','_status$','getCollabEntity$','collaboration-client-ui.collabStatus.notCollab','backgroundColor','collaboration-client-ui.permission.title','collaboration-client-ui.conflict.title','/run/','url(#on-line-icon_clip0_910_349)','limitInfo','_cachedData','BuiltInUIPart','transformIMECache','on-line-icon_clip0_910_349','univer-text-green-500','LoadingMultiIcon','ILocalCacheService','@univerjs-pro/boards-ui','_handleHeartbeatEvent','getRangePointData','1.0.0-beta.0','removeObject','operators','onTransformChange$','getColorFromTheme','colno','getObjectIncludeInGroup','collaboration-client-ui.collabStatus.offline','UniverProCollaborationClientUi','HTTPService','default','3192960TFxSjK','_getObjectBounds','UniverNetworkPlugin','setParam','UniverNetwork','MemberService','push','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','xlink:href','FETCH_MISS','find','top','_checkAndWaitForCalculationPermission','measureText','_docTransformStateCacheService','idSuffix','replace','0\x200\x2017\x2016','subscribeEvent','application/json','send','useCallback','@univerjs/core','react/jsx-runtime','code','unshift','map','_startBoardCollabCursor','toString','_getSaveTimeout','_handoffUnitIds','snapshot-loading-timeout','_hovered','distinctUntilChanged','status','getOffsetConfig','collabCursorState$','HEADER_MENU','activeSlideId$','url(#$1','min','decorate','rgba(255,\x20255,\x20255,\x200.01)','collaboration-client-ui.conflict.content','search','wsSessionTicketUrl','M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','_startDocCollabCursor','DocSkeletonManagerService','SUBMIT_CHANGESET_TIMEOUT','createElement','addClipboardHook','InsertRangeMoveDownCommandId','arc','getCurrentTypeOfUnit$','pageManager','toPrimitive','dispose$','RefRangeService','asObservable','takeUntil','timedOut','_unitOnClients','workbookShell','#0B9EFB','_docClipboardService','IImageIoService','collaboration-client-ui.snapshotLoading.loadingSheet','with','rxjs','hide','black','subunit','_renderScheduled','UnitStatus','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','type','slide-element-selection','font','RECT','runId','collaboration-client-ui.config','\x20-\x20','_getScale','onPointerLeave$','right','packageName','runRefRangeMutations','_entityInit$','_interactionBlocked$','clickable','drawWith','bold\x2013px\x20Arial,\x20sans-serif','executeCommand','isTransformMutationsWithChangesetSuccess','mergeOverrideWithDependencies','clearTimeout','_initEntityListener','_shortcutService','green.600','colorClass','_scheduleClearOtherTimer','[Unhandled\x20Rejection]:\x20','_refreshCollabCursors','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','call','_getSessionTicket','assignAColorForMemberID','row','getConfig','_sheetSkeletonManagerService','Injector','@univerjs/sheets','strokeStyle','join','getLocalCacheKey','collaboration-client-ui.collabStatus.synced','CollaborationSessionService','_roomMembers$','_maxFormulaLimit','getCollabCursors$','deepClone','currentColor','_registerRenderDependencies','CollaborationUIEventId','OFFLINE','removeParam','complete','_onCursorDelete','pushState','_docTransformSelectionsService','collaboration-client-ui.collabStatus.fetchMiss','LOADING_SNAPSHOT','CLOSE_ROOM','setShapeProps','InsertRowCommandId','_collaborationSessionService','getActivePageId','_cursors','Shape','_doCreateSocket','Enter','maxFormulaLimit','Workbook','stack','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','onPointerEnter$','_getAnchorBounding','univer-text-blue-500','svg','save','_releaseCalculationLimit','createIdentifier','indicator','getCellIndexByOffset','polite','_isBlinkVisible','collaboration-client-ui.session.connection-failed','UniverProSlidesUi','_initStatusComponent','getFormulaLimitStatusUrl','UniverDocs','IDocClipboardService','getCoordByCell','SetFormulaCalculationNotificationMutation','_name','univer-transition-all\x20univer-duration-200','setConfig','_collabCursorState$','currentUsage','merge','from','rgb','Vector2','_createSocketURL','unload','UNIVER_BOARD','_startSheetCollabCursor','AWAITING_WITH_PENDING','collaboration-client-ui.collabStatus.syncing','UNIVER_SHEET','fromEventSubject','SUCCESS','undoState','ranges','reason','tag','endColumn','parse','clearInterval','static','getCurrentRevOfUnit','1012356hEWrun','_pointerMoveDisposable','INotificationService','_session','_dataLoaderService','name','getId','isEditing','Warning','_pluginService','_assignedColors','_drawRectRange','mapTo','collaboration-client-ui.permission.content','0\x200\x2016\x2016','searchParams','_setFormulaLimitStatus','debounceTime','forEach','USERS_LEAVE','transformByState','parseInt','Plugin','dark:focus:!univer-ring-offset-gray-800','Rect','LOADING_BLOCKS','_cursorInfo$','6538800dlWTor','PluginService','_initEvent','IMessageService','_syncEditingCollabCursorService','DeleteRangeMoveLeftCommandId','_handleLeaveEvent','@univerjs/sheets-ui','BehaviorSubject','small','[Window\x20Error]:\x20','_commandService','getMember','_lastPointer','board-collab-cursor-','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_online','_anchorDot','ISheetLoadingRenderService','_memberID','_univerInstanceService','InsertRangeMoveRightCommandId','_removeCollabCursors','startRow','post','addEventListener','_setupSubUnitSync','univer-flex\x20univer-items-center\x20univer-justify-center','evenodd','ISlideDrawingStateService','SheetCollabCursorShape','IURLService','span','add','off-line-icon','_shapes','CollaborationEvent','highlightSecond','timeoutId','_handleEvent','_initCommandExecutedListener','univerjs-icon\x20univerjs-icon-','switchMap','disposeUnit','UniverSheetsUi','jsxs','transformMutationsWithChangeset','_transformService','UniverCollaborationPlugin','beforeCommandExecuted','clsx','UniverProLicense','enableLocalCache','data','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-white','_httpService','collaboration-client-ui.formula.calculation.unable','SheetsSelectionsService','jiqing.500','shift','_blockProgressWatches','_removeClearOtherTimer','LOCAL_CACHE_INTERVAL_KEY','href','unitID','_onRefRangeChange','_docTransformIMECacheService','1em','true','getColor','getCurrentSkeleton','UniverInstanceType','_scene','_hideTimer','resolve','translate(.97)','Disposable','clear','SetSelectionsOperation','mask','bind','_id','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','fromEvent','Inject','runOnServer','UNIVER_SLIDE','UniverDocsUi','combineLatest','setLineDash','_unitStatus','_color','has','_currentUsage','icon','cursorInfo$','DeleteRangeMoveUpCommandId','ISocketService','addObject','useObservable','getSkeleton','RevisionService','setInterval','@univerjs-pro/slides-ui','_latestStates','@univerjs-pro/collaboration-client-ui','TEXT_RANGE_LAYER_INDEX','_scheduleRender','_draw','_updateLocalCursor','startPluginsForType','next','alert','_configService','buildDrawingOKey','collaboration-client-ui.session.collaboration-timeout','_showText','getSheetId','collaboration-client-ui.collabClient.tooltip.reconnect','m2Prime','TRANSFORM_CHANGE_OBSERVABLE_TYPE','width','IBoardElementStateService','CONFLICT','tooltipKey','Subject','string','loading-multi-icon','_injector','createSocket','result','getUnitStatus$','_uploadLog','DisposableCollection','_initResize','defIds','current','M0\x200H16V16H0z','_selfUnitIDs','toRgbString','_collabCursorController','pulse','event$','highlight','mutations','slice','isActive','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','_setInteractionBlocked','urlChange$','restore','remove','symbol','_checkCalculationAvailable','left','ISnapshotServerService','_collaborationController','React','makeDirty','_config','registerComponent','getSheetBySheetId','collab-rect-range-','handleInsertRangeMoveDown','_isVisibleUnit','_drawTextRange','RxDisposable','stageInfo','_collabSessionService','invokeId','size','getTypeOfUnitDisposed$','@univerjs/engine-render','_messageIds','registerBeforeClose','collab-text-range-','SetWorksheetActivateCommand','_initDependencies','yellow.400','_offsetY','transformRemoteChangeset','_shortcutBlock','collaboration-client-ui.session.will-retry','UniverRpc','random','UniverProCollaborationClient','offsetY','lineno','getUnit','selection','ERROR','set','getActiveSlide','CollaborationSocketService','content','_lastResponseTimestamp','SnapshotLoadStage','_initCommandInterceptor','_handoffPreview','_colorIndex','isArray','replaceState','handleDeleteRangeMoveLeft','getCurrentSelections','engine','getParam','UniverIcon','getUndoRedoMutationParamsCache','SessionStatus','RichTextEditingMutation','RemoveColCommandId','_renderManagerService','PENDING','_anchor','split','UniverDesign','35efvFFw','AWAITING','_colorAssignService','_textBubble','whenReady','constructor','ITransformService','_saveTaskMap','RemoveRowCommandId','Success','SHEET_VIEWPORT_KEY','_previewUnitId','text','throttleTime','registerDependencies','_scheduleSaving','_revisionService','debug','_pollingInterval','_blinkIntervalTimer','_clearPolling','forwardRef','IRenderManagerService','eventID','unitId','UPDATE_CURSOR','getAncestorScale','MoveRangeCommandId','_refRangeService','onCommandExecuted','fillText','@univerjs/rpc','collab-text-anchor-','UNIVER_DOC','isFormulaString','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','handleIRemoveRow','getOwnPropertyDescriptor','_clearTimeoutState','_clearOtherTimers','clipPath','_stopBlinking','resize','location','_ensureSubject','column','filename','touchDependencies','body','_boardElementStateService',':backup:','uni.network.url-service','fill','doc.mutation.rich-text-editing','_entities','_init','_transformHistoryAndStateStack','enableDocumentCollaborationUI','getRenderUnitById','_themeService','roomMembers$','_cursor','_timeoutState$','generateRandomId','_latestCursors','WebBrowserSingleActiveUnitService','_registerDependencies','#4f46e5','FormulaExecutedStateType','m1Prime','_heartbeatTimer','getViewport','680871Dkunft','white','_collaborationUIEventService','snapshot-loading-interaction-guard','showText','none','setAlpha','_getSceneObjectByKey','stroke','_memberService','selectedIds','getTypeOfUnitAdded$','FromArray','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','removeEventListener','timeoutState$','JOIN_ROOM_FAILED','then','scene','loadUnit','redoState',',\x200.2)','UniverProBoardsUi','transformStateCache','purple.300','executionId','override','collaboration-client-ui.collaboration.closeRoom','Unknown\x20user','replaceDocRanges','spin','@univerjs/network','_getFormulaLimitStatus','univer-appearance-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','children','_blinkTimer','getActiveSheet','startFormulaLimitUrl','_slideDrawingStateService','handleInsertRangeMoveRight','unsubscribe','range','SYNCED','findNodePositionByCharIndex','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','_toggleOnline','rxjs/operators','useRef','totalFormulasToCalculate','_cursorShapes','ACTIVE_UNIT_EVENT_CHANNEL','popstate','_disabled','disposeWithMe','function','addObjects','endRow','activeSheetId','_initWindowErrorListener','getBoardElementRenderObjectKey','IBeforeCloseService','get','angle','some','subUnitId','_imageIoService','key','roomMembers','_saveCache','enableFrontendLog','ColorKit','Tooltip','...','i18nKey','currentSkeleton$','_updateCollabCursors','show','rgba','_updateMessage','delete','_clearBlockProgressWatch','_labelHorizontalPosition','height','collaboration-client-ui.formula.calculation.started','RemoteUniscriptService','397617druMuF','_docSyncEditingCollabCursorService','includes','cursorInfo','collaboration-client-ui.formula.calculation.waiting','unit','max','_messageService','Failed','http://www.w3.org/2000/svg','dispose','Tools','_monkeyPatchLogService','history','DEFAULT_WS_SESSION_TICKET_URL','saveImage','_docStateChangeManagerService','pluginName','_startSlideCollabCursor','loadedBlocks','/universer-api/license/formula/limit/done','EffectRefRangId','_applyCommand','_highlight','UniverRenderEnginePlugin','handleMoveRange','UniverDocsPlugin','OTHER_CLIENTS_EDITING','getUnhiddenWorksheets','DOC_RANGE_TYPE','origin','_instanceService','handleDeleteRangeMoveUp','labelHorizontalPosition','MessageType','functionsExecutedState','sheetId','collaboration-client-ui.collaboration.single-unit.warning','div','totalBlocks','CanceledError','getCurrentUnitOfType','ILogService','flatMap','syncEditingCollabCursor','IShortcutService','0.2)','textRanges','bottom','round','getUnitId','ICommandService','Error'];_0x711c=function(){return _0x1359f5;};return _0x711c();}(function(_0x133dc3,_0x990200){const _0x441dd5=_0x5e0e,_0x342530=_0x133dc3();while(!![]){try{const _0x51693e=parseInt(_0x441dd5(0x3af))/0x1+parseInt(_0x441dd5(0x21e))/0x2+parseInt(_0x441dd5(0x359))/0x3+parseInt(_0x441dd5(0x424))/0x4*(parseInt(_0x441dd5(0x311))/0x5)+-parseInt(_0x441dd5(0x15d))/0x6+parseInt(_0x441dd5(0x446))/0x7+-parseInt(_0x441dd5(0x239))/0x8;if(_0x51693e===_0x990200)break;else _0x342530['push'](_0x342530['shift']());}catch(_0x2c3af4){_0x342530['push'](_0x342530['shift']());}}}(_0x711c,0x44766),function(_0x5a243a,_0xf24c05){const _0x3fb013=_0x5e0e;typeof exports==_0x3fb013(0x412)&&typeof module<'u'?_0xf24c05(exports,require('@univerjs-pro/boards-ui'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define==_0x3fb013(0x390)&&define[_0x3fb013(0x401)]?define([_0x3fb013(0x492),_0x3fb013(0x14f),'@univerjs-pro/collaboration-client',_0x3fb013(0x173),_0x3fb013(0x3e7),'rxjs',_0x3fb013(0x388),'@univerjs/design',_0x3fb013(0x488),_0x3fb013(0x174),'@univerjs-pro/collaboration','@univerjs-pro/license','@univerjs/docs','@univerjs/docs-ui',_0x3fb013(0x2e5),_0x3fb013(0x378),'@univerjs/engine-formula',_0x3fb013(0x1cd),_0x3fb013(0x2a0),_0x3fb013(0x240),_0x3fb013(0x330),'@univerjs/protocol'],_0xf24c05):(_0x5a243a=typeof globalThis<'u'?globalThis:_0x5a243a||self,_0xf24c05(_0x5a243a[_0x3fb013(0x15a)]={},_0x5a243a[_0x3fb013(0x36f)],_0x5a243a[_0x3fb013(0x2f2)],_0x5a243a[_0x3fb013(0x465)],_0x5a243a[_0x3fb013(0x3ef)],_0x5a243a[_0x3fb013(0x1a2)],_0x5a243a[_0x3fb013(0x1a2)][_0x3fb013(0x154)],_0x5a243a[_0x3fb013(0x310)],_0x5a243a[_0x3fb013(0x2d6)],_0x5a243a[_0x3fb013(0x2d6)],_0x5a243a['UniverProCollaboration'],_0x5a243a[_0x3fb013(0x26c)],_0x5a243a[_0x3fb013(0x1ff)],_0x5a243a[_0x3fb013(0x290)],_0x5a243a['UniverEngineRender'],_0x5a243a[_0x3fb013(0x161)],_0x5a243a['UniverEngineFormula'],_0x5a243a[_0x3fb013(0x405)],_0x5a243a[_0x3fb013(0x1fc)],_0x5a243a[_0x3fb013(0x265)],_0x5a243a[_0x3fb013(0x2f0)],_0x5a243a[_0x3fb013(0x489)]));}(this,function(_0x2af32b,_0x3a42a2,_0x298b58,_0x2eb6ab,_0x3dc1a1,_0x40e05b,_0xea2723,_0x5c577d,_0x3b9f9,_0xa073d5,_0x1e96a3,_0x4e299b,_0x4d4b92,_0x324cd9,_0x25f9de,_0x217fd1,_0x22ecb8,_0xc02ef6,_0x593eff,_0x31c46a,_0x4a3b5a,_0x3f4f53){const _0x1c1719=_0x5e0e;Object['defineProperty'](_0x2af32b,Symbol[_0x1c1719(0x42e)],{'value':_0x1c1719(0x403)});function _0x3add58({ref:_0x5d00a0,..._0x110880}){const _0x7b3b73=_0x1c1719;let {icon:_0x7cab7e,id:_0x3ed262,className:_0x3af16e,extend:_0x2778f9,..._0x100bae}=_0x110880,_0x4cee5a=(_0x7b3b73(0x262)+_0x3ed262+'\x20'+(_0x3af16e||''))[_0x7b3b73(0x414)](),_0xd5e27a=(0x0,_0x3b9f9[_0x7b3b73(0x389)])('_'+_0x4efa5f());return _0x39f26f(_0x7cab7e,''+_0x3ed262,{'defIds':_0x7cab7e[_0x7b3b73(0x2c0)],'idSuffix':_0xd5e27a[_0x7b3b73(0x2c1)]},{'ref':_0x5d00a0,'className':_0x4cee5a,..._0x100bae},_0x2778f9);}function _0x39f26f(_0x3505c6,_0xd8dca1,_0x176dd6,_0xee2250,_0x1ed3f3){const _0x1cd768=_0x1c1719;return(0x0,_0x3b9f9[_0x1cd768(0x18f)])(_0x3505c6['tag'],{'key':_0xd8dca1,..._0x324ac2(_0x3505c6,_0x176dd6,_0x1ed3f3),..._0xee2250},(_0x1011ed(_0x3505c6,_0x176dd6)[_0x1cd768(0x37c)]||[])[_0x1cd768(0x177)]((_0x492739,_0x2894c1)=>_0x39f26f(_0x492739,_0xd8dca1+'-'+_0x3505c6[_0x1cd768(0x218)]+'-'+_0x2894c1,_0x176dd6,void 0x0,_0x1ed3f3)));}function _0x324ac2(_0x2f5d2d,_0x2019d3,_0x15a340){const _0x6749b7=_0x1c1719;let _0x4a5e94={..._0x2f5d2d[_0x6749b7(0x43c)]};_0x15a340!=null&&_0x15a340[_0x6749b7(0x430)]&&_0x4a5e94[_0x6749b7(0x345)]===_0x6749b7(0x430)&&(_0x4a5e94[_0x6749b7(0x345)]=_0x15a340['colorChannel1']),_0x15a340!=null&&_0x15a340[_0x6749b7(0x430)]&&_0x4a5e94['stroke']===_0x6749b7(0x430)&&(_0x4a5e94[_0x6749b7(0x361)]=_0x15a340['colorChannel1']),_0x2f5d2d['tag']===_0x6749b7(0x288)&&_0x4a5e94['id']&&(_0x4a5e94['id']+=_0x2019d3['idSuffix']),Object['entries'](_0x4a5e94)[_0x6749b7(0x230)](([_0x4c0c94,_0x324066])=>{const _0x259f62=_0x6749b7;_0x4c0c94===_0x259f62(0x288)&&typeof _0x324066==_0x259f62(0x2b7)&&(_0x4a5e94[_0x4c0c94]=_0x324066[_0x259f62(0x16d)](/url\(#(.*)\)/,_0x259f62(0x184)+_0x2019d3[_0x259f62(0x16c)]+')'));});let {defIds:_0x279cf4}=_0x2019d3;return!_0x279cf4||_0x279cf4[_0x6749b7(0x496)]===0x0?_0x4a5e94:(_0x2f5d2d[_0x6749b7(0x218)]==='use'&&_0x4a5e94[_0x6749b7(0x165)]&&(_0x4a5e94['xlink:href']+=_0x2019d3[_0x6749b7(0x16c)]),Object[_0x6749b7(0x40d)](_0x4a5e94)['forEach'](([_0x219152,_0x190ee1])=>{const _0x4dea53=_0x6749b7;typeof _0x190ee1==_0x4dea53(0x2b7)&&(_0x4a5e94[_0x219152]=_0x190ee1[_0x4dea53(0x16d)](/url\(#(.*)\)/,'url(#$1'+_0x2019d3['idSuffix']+')'));}),_0x4a5e94);}function _0x1011ed(_0x57c38e,_0xfd051a){const _0x4025de=_0x1c1719;var _0x169079;let {defIds:_0x3d4ac7}=_0xfd051a;return!_0x3d4ac7||_0x3d4ac7[_0x4025de(0x496)]===0x0?_0x57c38e:_0x57c38e[_0x4025de(0x218)]===_0x4025de(0x44f)&&(_0x169079=_0x57c38e[_0x4025de(0x37c)])!=null&&_0x169079[_0x4025de(0x496)]?{..._0x57c38e,'children':_0x57c38e[_0x4025de(0x37c)][_0x4025de(0x177)](_0x342cbd=>typeof _0x342cbd[_0x4025de(0x43c)]['id']==_0x4025de(0x2b7)&&_0x3d4ac7&&_0x3d4ac7[_0x4025de(0x3b1)](_0x342cbd[_0x4025de(0x43c)]['id'])?{..._0x342cbd,'attrs':{..._0x342cbd[_0x4025de(0x43c)],'id':_0x342cbd['attrs']['id']+_0xfd051a['idSuffix']}}:_0x342cbd)}:_0x57c38e;}function _0x4efa5f(){const _0x36e724=_0x1c1719;return Math[_0x36e724(0x2f1)]()[_0x36e724(0x179)](0x24)['substring'](0x2,0x8);}_0x3add58[_0x1c1719(0x453)]=_0x1c1719(0x307);let _0xa7068b={'tag':_0x1c1719(0x1f3),'attrs':{'xmlns':_0x1c1719(0x3b8),'fill':_0x1c1719(0x35e),'viewBox':_0x1c1719(0x22c),'width':_0x1c1719(0x27c),'height':_0x1c1719(0x27c)},'children':[{'tag':'g','attrs':{'clipPath':_0x1c1719(0x476)},'children':[{'tag':_0x1c1719(0x464),'attrs':{'stroke':_0x1c1719(0x1d7),'d':_0x1c1719(0x37b),'strokeLinecap':_0x1c1719(0x3e0),'strokeLinejoin':_0x1c1719(0x3e0),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1c1719(0x339),'attrs':{'id':_0x1c1719(0x411)},'children':[{'tag':_0x1c1719(0x464),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1c1719(0x411)]},_0x4c0d56=(0x0,_0x3b9f9[_0x1c1719(0x326)])(function(_0x3d1dae,_0x45610c){const _0x1d3c98=_0x1c1719;return(0x0,_0x3b9f9[_0x1d3c98(0x18f)])(_0x3add58,Object[_0x1d3c98(0x3fc)]({},_0x3d1dae,{'id':_0x1d3c98(0x25b),'ref':_0x45610c,'icon':_0xa7068b}));});_0x4c0d56[_0x1c1719(0x453)]=_0x1c1719(0x461);let _0x2aae4d={'tag':_0x1c1719(0x1f3),'attrs':{'xmlns':_0x1c1719(0x3b8),'fill':_0x1c1719(0x35e),'viewBox':_0x1c1719(0x16e),'width':_0x1c1719(0x27c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1c1719(0x146)},'children':[{'tag':_0x1c1719(0x464),'attrs':{'stroke':_0x1c1719(0x1d7),'d':_0x1c1719(0x1a8),'strokeLinecap':_0x1c1719(0x3e0),'strokeLinejoin':_0x1c1719(0x3e0),'strokeWidth':1.2}}]},{'tag':_0x1c1719(0x44f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1c1719(0x14b)},'children':[{'tag':_0x1c1719(0x464),'attrs':{'fill':_0x1c1719(0x35a),'d':_0x1c1719(0x2c2),'transform':_0x1c1719(0x284)}}]}]}],'defIds':[_0x1c1719(0x14b)]},_0x57d89f=(0x0,_0x3b9f9[_0x1c1719(0x326)])(function(_0x5bc132,_0x44d5a8){const _0x342aae=_0x1c1719;return(0x0,_0x3b9f9[_0x342aae(0x18f)])(_0x3add58,Object[_0x342aae(0x3fc)]({},_0x5bc132,{'id':'on-line-icon','ref':_0x44d5a8,'icon':_0x2aae4d}));});_0x57d89f[_0x1c1719(0x453)]=_0x1c1719(0x134);let _0x1fa133={'tag':'svg','attrs':{'xmlns':_0x1c1719(0x3b8),'fill':_0x1c1719(0x35e),'viewBox':'0\x200\x2016\x2016','width':_0x1c1719(0x27c),'height':_0x1c1719(0x27c)},'children':[{'tag':_0x1c1719(0x464),'attrs':{'fill':'currentColor','d':_0x1c1719(0x18b),'fillRule':_0x1c1719(0x255),'clipRule':_0x1c1719(0x255)}}]},_0x52f70d=(0x0,_0x3b9f9[_0x1c1719(0x326)])(function(_0x46b9b7,_0x2ad214){const _0xacbc43=_0x1c1719;return(0x0,_0x3b9f9[_0xacbc43(0x18f)])(_0x3add58,Object[_0xacbc43(0x3fc)]({},_0x46b9b7,{'id':'warning-icon','ref':_0x2ad214,'icon':_0x1fa133}));});_0x52f70d[_0x1c1719(0x453)]='WarningIcon';let _0x42bd55={'tag':_0x1c1719(0x1f3),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1c1719(0x35e),'viewBox':_0x1c1719(0x22c),'width':_0x1c1719(0x27c),'height':_0x1c1719(0x27c)},'children':[{'tag':_0x1c1719(0x464),'attrs':{'fill':_0x1c1719(0x19d),'d':_0x1c1719(0x28b),'fillOpacity':0.2,'fillRule':_0x1c1719(0x255),'clipRule':_0x1c1719(0x255)}},{'tag':_0x1c1719(0x464),'attrs':{'fill':_0x1c1719(0x19d),'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':'evenodd','clipRule':_0x1c1719(0x255)}}]},_0x2a47b0=(0x0,_0x3b9f9['forwardRef'])(function(_0x56f196,_0x387900){const _0x4a3c4c=_0x1c1719;return(0x0,_0x3b9f9[_0x4a3c4c(0x18f)])(_0x3add58,Object[_0x4a3c4c(0x3fc)]({},_0x56f196,{'id':_0x4a3c4c(0x2b8),'ref':_0x387900,'icon':_0x42bd55}));});_0x2a47b0[_0x1c1719(0x453)]=_0x1c1719(0x14d);function _0x5c4be3(_0x100672){const _0x248da8=_0x1c1719;switch(_0x100672){case _0x298b58[_0x248da8(0x3f2)]['OFFLINE']:return{'icon':(0x0,_0xa073d5[_0x248da8(0x46e)])(_0x4c0d56,{}),'colorClass':_0x248da8(0x41f),'i18nKey':_0x248da8(0x159),'tooltipKey':_0x248da8(0x2af),'clickable':!0x0,'indicator':_0x248da8(0x21c)};case _0x298b58[_0x248da8(0x3f2)][_0x248da8(0x2b4)]:return{'icon':(0x0,_0xa073d5['jsx'])(_0x4c0d56,{}),'colorClass':_0x248da8(0x471),'i18nKey':_0x248da8(0x431),'clickable':!0x1,'indicator':_0x248da8(0x21c)};case _0x298b58['CollaborationStatus'][_0x248da8(0x166)]:return{'icon':(0x0,_0xa073d5[_0x248da8(0x46e)])(_0x2a47b0,{}),'colorClass':_0x248da8(0x1f2),'i18nKey':_0x248da8(0x1e0),'clickable':!0x1,'indicator':_0x248da8(0x377)};case _0x298b58[_0x248da8(0x3f2)][_0x248da8(0x480)]:return{'icon':(0x0,_0xa073d5[_0x248da8(0x46e)])(_0x57d89f,{}),'colorClass':'univer-text-gray-400','i18nKey':_0x248da8(0x141),'clickable':!0x1,'indicator':_0x248da8(0x21c)};case _0x298b58[_0x248da8(0x3f2)][_0x248da8(0x312)]:case _0x298b58[_0x248da8(0x3f2)][_0x248da8(0x210)]:return{'icon':(0x0,_0xa073d5['jsx'])(_0x2a47b0,{}),'colorClass':_0x248da8(0x1f2),'i18nKey':_0x248da8(0x211),'clickable':!0x1,'indicator':'spin'};case _0x298b58[_0x248da8(0x3f2)][_0x248da8(0x30d)]:return{'icon':(0x0,_0xa073d5[_0x248da8(0x46e)])(_0x2a47b0,{}),'colorClass':_0x248da8(0x1f2),'i18nKey':_0x248da8(0x211),'clickable':!0x1,'indicator':_0x248da8(0x377)};case _0x298b58[_0x248da8(0x3f2)][_0x248da8(0x384)]:return{'icon':(0x0,_0xa073d5[_0x248da8(0x46e)])(_0x57d89f,{}),'colorClass':_0x248da8(0x14c),'i18nKey':_0x248da8(0x1d1),'clickable':!0x1,'indicator':_0x248da8(0x21c)};}}function _0x426271(_0x4eeed6){const _0x56ef0d=_0x1c1719;let {status$:_0x4aa4ed}=_0x4eeed6,_0x27fab4=(0x0,_0x3dc1a1['useObservable'])(_0x4aa4ed,_0x298b58[_0x56ef0d(0x3f2)]['NOT_COLLAB']),_0x54d38f=(0x0,_0x3dc1a1['useDependency'])(_0x2eb6ab[_0x56ef0d(0x46a)]),_0x49c119=(0x0,_0x3dc1a1['useDependency'])(_0x298b58['CollaborationSessionService']),_0x2a36ee=(0x0,_0x3b9f9[_0x56ef0d(0x3fd)])(()=>_0x5c4be3(_0x27fab4),[_0x27fab4]),_0x27a0dc=_0x27fab4!==_0x298b58[_0x56ef0d(0x3f2)][_0x56ef0d(0x1da)],_0x4cf345=_0x54d38f['t'](_0x2a36ee[_0x56ef0d(0x3a3)]),_0x1ff29e=_0x2a36ee[_0x56ef0d(0x2b5)]?_0x54d38f['t'](_0x2a36ee['tooltipKey']):_0x4cf345,_0x4e7da1=(0x0,_0x3b9f9[_0x56ef0d(0x172)])(()=>{_0x27a0dc||_0x49c119['reconnect']();},[_0x27a0dc,_0x49c119]),_0x4fc098=(0x0,_0x3b9f9['useCallback'])(_0x3ef935=>{const _0x53993e=_0x56ef0d;!_0x27a0dc&&(_0x3ef935[_0x53993e(0x39c)]===_0x53993e(0x1ea)||_0x3ef935[_0x53993e(0x39c)]==='\x20')&&(_0x3ef935['preventDefault'](),_0x49c119['reconnect']());},[_0x27a0dc,_0x49c119]),_0x245389=(0x0,_0xa073d5[_0x56ef0d(0x46e)])(_0x56ef0d(0x259),{'className':(0x0,_0x5c577d[_0x56ef0d(0x26b)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x56ef0d(0x386),_0x2a36ee[_0x56ef0d(0x1c1)],{'univer-animate-spin':_0x2a36ee[_0x56ef0d(0x1f7)]===_0x56ef0d(0x377),'univer-animate-pulse':_0x2a36ee[_0x56ef0d(0x1f7)]===_0x56ef0d(0x2c6)}),'aria-hidden':_0x56ef0d(0x27d),'children':_0x2a36ee[_0x56ef0d(0x297)]}),_0xe82a27=(0x0,_0xa073d5[_0x56ef0d(0x46e)])(_0x56ef0d(0x259),{'className':(0x0,_0x5c577d[_0x56ef0d(0x26b)])(_0x56ef0d(0x254),_0x56ef0d(0x135),_0x56ef0d(0x204),_0x56ef0d(0x366),_0x56ef0d(0x235),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x2a36ee[_0x56ef0d(0x1b7)],'univer-cursor-default':!_0x2a36ee['clickable']}),'children':_0x245389});return _0x2a36ee[_0x56ef0d(0x1b7)]?(0x0,_0xa073d5['jsx'])(_0x5c577d[_0x56ef0d(0x3a1)],{'title':_0x1ff29e,'placement':'bottom','children':(0x0,_0xa073d5[_0x56ef0d(0x46e)])(_0x56ef0d(0x43e),{'type':'button','onClick':_0x4e7da1,'onKeyDown':_0x4fc098,'className':(0x0,_0x5c577d[_0x56ef0d(0x26b)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center','univer-border-none\x20univer-bg-transparent',_0x56ef0d(0x468),_0x56ef0d(0x37a)),'aria-label':_0x4cf345+_0x56ef0d(0x1af)+_0x1ff29e,'role':_0x56ef0d(0x17f),'aria-live':'polite','aria-atomic':_0x56ef0d(0x27d),'children':_0xe82a27})}):(0x0,_0xa073d5[_0x56ef0d(0x46e)])(_0x5c577d[_0x56ef0d(0x3a1)],{'title':_0x1ff29e,'placement':_0x56ef0d(0x3df),'children':(0x0,_0xa073d5['jsx'])('div',{'className':(0x0,_0x5c577d[_0x56ef0d(0x26b)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x56ef0d(0x455),'univer-m-0\x20univer-p-0'),'aria-label':_0x4cf345,'role':_0x56ef0d(0x17f),'aria-live':_0x56ef0d(0x1f9),'aria-atomic':_0x56ef0d(0x27d),'children':_0xe82a27})});}function _0x3fe8a3(_0x2817cb){'@babel/helpers - typeof';const _0x12f467=_0x1c1719;return _0x3fe8a3=typeof Symbol==_0x12f467(0x390)&&typeof Symbol['iterator']==_0x12f467(0x2d1)?function(_0x5b20ca){return typeof _0x5b20ca;}:function(_0x3015a8){const _0x217ad5=_0x12f467;return _0x3015a8&&typeof Symbol==_0x217ad5(0x390)&&_0x3015a8[_0x217ad5(0x316)]===Symbol&&_0x3015a8!==Symbol['prototype']?_0x217ad5(0x2d1):typeof _0x3015a8;},_0x3fe8a3(_0x2817cb);}function _0x5e5561(_0x552cb6,_0x330fdd){const _0x536278=_0x1c1719;if(_0x3fe8a3(_0x552cb6)!='object'||!_0x552cb6)return _0x552cb6;var _0x348745=_0x552cb6[Symbol[_0x536278(0x195)]];if(_0x348745!==void 0x0){var _0x3ed35c=_0x348745[_0x536278(0x1c6)](_0x552cb6,_0x330fdd||_0x536278(0x15c));if(_0x3fe8a3(_0x3ed35c)!='object')return _0x3ed35c;throw TypeError(_0x536278(0x1ee));}return(_0x330fdd===_0x536278(0x2b7)?String:Number)(_0x552cb6);}function _0x443c28(_0x3a72ee){const _0x327713=_0x1c1719;var _0x3289d3=_0x5e5561(_0x3a72ee,'string');return _0x3fe8a3(_0x3289d3)==_0x327713(0x2d1)?_0x3289d3:_0x3289d3+'';}function _0x255b47(_0x4abbc7,_0xe0f1ef,_0x1642ad){const _0x28a3aa=_0x1c1719;return(_0xe0f1ef=_0x443c28(_0xe0f1ef))in _0x4abbc7?Object[_0x28a3aa(0x486)](_0x4abbc7,_0xe0f1ef,{'value':_0x1642ad,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4abbc7[_0xe0f1ef]=_0x1642ad,_0x4abbc7;}function _0x46a127(_0x4c79e0,_0x50f134){return function(_0x530167,_0x2ccea6){_0x50f134(_0x530167,_0x2ccea6,_0x4c79e0);};}function _0x4a62c9(_0x2b49d0,_0x218f98,_0x5d816b,_0x1d4a1f){const _0x2d1a18=_0x1c1719;var _0x57ff35=arguments['length'],_0x5a5641=_0x57ff35<0x3?_0x218f98:_0x1d4a1f===null?_0x1d4a1f=Object[_0x2d1a18(0x336)](_0x218f98,_0x5d816b):_0x1d4a1f,_0x996eab;if(typeof Reflect==_0x2d1a18(0x412)&&typeof Reflect[_0x2d1a18(0x186)]==_0x2d1a18(0x390))_0x5a5641=Reflect['decorate'](_0x2b49d0,_0x218f98,_0x5d816b,_0x1d4a1f);else{for(var _0x82a184=_0x2b49d0[_0x2d1a18(0x496)]-0x1;_0x82a184>=0x0;_0x82a184--)(_0x996eab=_0x2b49d0[_0x82a184])&&(_0x5a5641=(_0x57ff35<0x3?_0x996eab(_0x5a5641):_0x57ff35>0x3?_0x996eab(_0x218f98,_0x5d816b,_0x5a5641):_0x996eab(_0x218f98,_0x5d816b))||_0x5a5641);}return _0x57ff35>0x3&&_0x5a5641&&Object[_0x2d1a18(0x486)](_0x218f98,_0x5d816b,_0x5a5641),_0x5a5641;}let _0x305709=class extends _0x2eb6ab[_0x1c1719(0x285)]{constructor(_0x7f57c9,_0xcf3a7a,_0x38645d,_0x48f8e2){const _0x3dcd83=_0x1c1719;super(),this[_0x3dcd83(0x24d)]=_0x7f57c9,this['_injector']=_0xcf3a7a,this[_0x3dcd83(0x2d5)]=_0x38645d,this[_0x3dcd83(0x42a)]=_0x48f8e2,_0x255b47(this,_0x3dcd83(0x13f),new _0x40e05b[(_0x3dcd83(0x241))](_0x298b58[_0x3dcd83(0x3f2)][_0x3dcd83(0x480)])),this[_0x3dcd83(0x1fd)](),this[_0x3dcd83(0x452)]();}[_0x1c1719(0x452)](){const _0x34ea66=_0x1c1719;this['disposeWithMe']((0x0,_0x40e05b[_0x34ea66(0x208)])(this[_0x34ea66(0x24d)]['focused$'],this[_0x34ea66(0x24d)][_0x34ea66(0x193)](_0x2eb6ab[_0x34ea66(0x280)][_0x34ea66(0x332)]),this[_0x34ea66(0x24d)][_0x34ea66(0x193)](_0x2eb6ab[_0x34ea66(0x280)][_0x34ea66(0x212)]))['pipe']((0x0,_0xea2723['map'])(()=>_0x4c49be(this[_0x34ea66(0x24d)])),(0x0,_0xea2723[_0x34ea66(0x17e)])(),(0x0,_0x40e05b[_0x34ea66(0x263)])(_0x4ef908=>_0x4ef908?this[_0x34ea66(0x2d5)][_0x34ea66(0x140)](_0x4ef908):(0x0,_0x40e05b['of'])(null)),(0x0,_0x40e05b[_0x34ea66(0x263)])(_0x1374dd=>_0x1374dd?_0x1374dd[_0x34ea66(0x466)]:(0x0,_0x40e05b['of'])(_0x298b58[_0x34ea66(0x3f2)][_0x34ea66(0x480)])))[_0x34ea66(0x490)](_0x17e28a=>{this['_status$']['next'](_0x17e28a);}));}[_0x1c1719(0x1fd)](){const _0x3c4334=_0x1c1719;this[_0x3c4334(0x38f)](this[_0x3c4334(0x42a)][_0x3c4334(0x2d9)](_0x3dc1a1[_0x3c4334(0x149)][_0x3c4334(0x182)],()=>(0x0,_0x3dc1a1['connectInjector'])(_0x153e25({'status$':this[_0x3c4334(0x13f)][_0x3c4334(0x198)]()}),this[_0x3c4334(0x2b9)])));}};_0x305709=_0x4a62c9([_0x46a127(0x0,_0x2eb6ab[_0x1c1719(0x458)]),_0x46a127(0x1,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab[_0x1c1719(0x1cc)])),_0x46a127(0x2,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x298b58[_0x1c1719(0x434)])),_0x46a127(0x3,_0x3dc1a1[_0x1c1719(0x493)])],_0x305709);let _0x3cf5a9=class extends _0x2eb6ab['Disposable']{constructor(_0x2577b1,_0x7ae913,_0x188d0a,_0x466d3c){const _0x48e307=_0x1c1719;super(),this[_0x48e307(0x24d)]=_0x2577b1,this[_0x48e307(0x2b9)]=_0x7ae913,this['_collaborationController']=_0x188d0a,this[_0x48e307(0x42a)]=_0x466d3c,_0x255b47(this,_0x48e307(0x13f),new _0x40e05b['BehaviorSubject'](_0x298b58[_0x48e307(0x3f2)]['NOT_COLLAB'])),this[_0x48e307(0x1fd)](),this['_initStatusListener']();}[_0x1c1719(0x452)](){const _0x1fd36a=_0x1c1719;this[_0x1fd36a(0x38f)]((0x0,_0x40e05b[_0x1fd36a(0x208)])((0x0,_0x40e05b['of'])(null),this[_0x1fd36a(0x24d)]['getCurrentTypeOfUnit$'](_0x2eb6ab[_0x1fd36a(0x280)]['UNIVER_BOARD']))['pipe']((0x0,_0xea2723[_0x1fd36a(0x177)])(()=>_0x75a7e6(this[_0x1fd36a(0x24d)])),(0x0,_0xea2723[_0x1fd36a(0x17e)])(),(0x0,_0x40e05b['switchMap'])(_0x21100b=>_0x21100b?this[_0x1fd36a(0x2d5)][_0x1fd36a(0x140)](_0x21100b):(0x0,_0x40e05b['of'])(null)),(0x0,_0x40e05b[_0x1fd36a(0x263)])(_0x3616c0=>_0x3616c0?_0x3616c0[_0x1fd36a(0x466)]:(0x0,_0x40e05b['of'])(_0x298b58[_0x1fd36a(0x3f2)][_0x1fd36a(0x480)])))['subscribe'](_0xf618cf=>{const _0x25b0e5=_0x1fd36a;this['_status$'][_0x25b0e5(0x2a8)](_0xf618cf);}));}[_0x1c1719(0x1fd)](){const _0x16b020=_0x1c1719;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x3a42a2[_0x16b020(0x130)],()=>(0x0,_0x3dc1a1['connectInjector'])(_0x153e25({'status$':this[_0x16b020(0x13f)][_0x16b020(0x198)]()}),this[_0x16b020(0x2b9)])));}};_0x3cf5a9=_0x4a62c9([_0x46a127(0x0,_0x2eb6ab[_0x1c1719(0x458)]),_0x46a127(0x1,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab[_0x1c1719(0x1cc)])),_0x46a127(0x2,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x298b58[_0x1c1719(0x434)])),_0x46a127(0x3,_0x3dc1a1[_0x1c1719(0x493)])],_0x3cf5a9);function _0x4c49be(_0x316158){const _0x40d1f9=_0x1c1719;let _0x210c30=_0x316158[_0x40d1f9(0x407)](),_0xd29d46=_0x210c30==null?void 0x0:_0x210c30['getUnitId']();if(_0xd29d46&&!(0x0,_0x2eb6ab[_0x40d1f9(0x12e)])(_0xd29d46))return _0xd29d46;let _0x59fd3d=_0x316158[_0x40d1f9(0x3d8)](_0x2eb6ab[_0x40d1f9(0x280)][_0x40d1f9(0x332)]),_0x255bc0=_0x59fd3d==null?void 0x0:_0x59fd3d[_0x40d1f9(0x3e1)]();if(_0x255bc0&&!(0x0,_0x2eb6ab[_0x40d1f9(0x12e)])(_0x255bc0))return _0x255bc0;let _0x3eda63=_0x316158[_0x40d1f9(0x3d8)](_0x2eb6ab['UniverInstanceType'][_0x40d1f9(0x212)]);if(_0x3eda63)return _0x3eda63[_0x40d1f9(0x3e1)]();let _0x3965a7=_0x316158[_0x40d1f9(0x497)](_0x2eb6ab[_0x40d1f9(0x280)][_0x40d1f9(0x332)])[_0x40d1f9(0x167)](_0x1e8ea8=>!(0x0,_0x2eb6ab[_0x40d1f9(0x12e)])(_0x1e8ea8[_0x40d1f9(0x3e1)]()));return _0x3965a7?_0x3965a7[_0x40d1f9(0x3e1)]():null;}function _0x75a7e6(_0x1dfadc){const _0x5ea7e6=_0x1c1719;let _0xd525a2=_0x1dfadc[_0x5ea7e6(0x3d8)](_0x2eb6ab[_0x5ea7e6(0x280)][_0x5ea7e6(0x20e)]);return(_0xd525a2==null?void 0x0:_0xd525a2[_0x5ea7e6(0x3e1)]())??null;}function _0x153e25(_0x52aa44){let {status$:_0x1390b4}=_0x52aa44;return function(){const _0x169f28=_0x5e0e;return(0x0,_0xa073d5[_0x169f28(0x46e)])(_0x426271,{'status$':_0x1390b4});};}var _0x4c9190=_0x1c1719(0x2a2),_0x5ba1c6=_0x1c1719(0x152);let _0x26a408={},_0x3134e6=class extends _0x2eb6ab[_0x1c1719(0x2df)]{constructor(_0x4e5853,_0x15cea4){const _0xdb96d5=_0x1c1719;super(),this[_0xdb96d5(0x19e)]=_0x4e5853,this[_0xdb96d5(0x39b)]=_0x15cea4,this[_0xdb96d5(0x348)]();}[_0x1c1719(0x348)](){const _0x136e34=_0x1c1719;let _0x4b5d67=this;this[_0x136e34(0x38f)](this[_0x136e34(0x19e)][_0x136e34(0x190)]({'onBeforePasteImage':async _0x34c497=>{const _0x1123ff=_0x136e34;let _0xc17512=await _0x4b5d67[_0x1123ff(0x39b)][_0x1123ff(0x3be)](_0x34c497);return _0xc17512?{'source':_0xc17512['source'],'imageSourceType':_0xc17512['imageSourceType']}:null;}}));}};_0x3134e6=_0x4a62c9([_0x46a127(0x0,_0x324cd9[_0x1c1719(0x200)]),_0x46a127(0x1,_0x2eb6ab[_0x1c1719(0x19f)])],_0x3134e6);function _0x4c3418(_0x206a9e,_0xfdca30){const _0x5dd33d=_0x1c1719;_0x206a9e[_0x5dd33d(0x1f4)](),_0x206a9e[_0x5dd33d(0x1ab)]=_0x5dd33d(0x1b9);let _0x4b6911=_0x206a9e[_0x5dd33d(0x16a)](_0xfdca30)[_0x5dd33d(0x2b2)];return _0x206a9e['restore'](),Math['min'](_0x4b6911+0x8,0xc8);}function _0x1ddd69(_0x3b2354,_0x2f608b){const _0x4e971d=_0x1c1719;let {radius:_0x52c113,width:_0x226ec5,height:_0x1ebf36}=_0x2f608b;_0x52c113??=0x0,_0x226ec5??=0x1e,_0x1ebf36??=0x1e;let _0x4f90fc=0x0,_0x4c9f9a=0x0,_0x5ae6d0=0x0;_0x4f90fc=_0x4c9f9a=_0x5ae6d0=Math[_0x4e971d(0x185)](_0x52c113,_0x226ec5/0x2,_0x1ebf36/0x2),_0x3b2354[_0x4e971d(0x460)](),_0x3b2354[_0x4e971d(0x3ed)](_0x4f90fc,0x0),_0x3b2354[_0x4e971d(0x3e4)](_0x226ec5-_0x4c9f9a,0x0),_0x3b2354[_0x4e971d(0x192)](_0x226ec5-_0x4c9f9a,_0x4c9f9a,_0x4c9f9a,Math['PI']*0x3/0x2,0x0,!0x1),_0x3b2354[_0x4e971d(0x3e4)](_0x226ec5,_0x1ebf36-_0x5ae6d0),_0x3b2354[_0x4e971d(0x192)](_0x226ec5-_0x5ae6d0,_0x1ebf36-_0x5ae6d0,_0x5ae6d0,0x0,Math['PI']/0x2,!0x1),_0x3b2354['lineTo'](0x0,_0x1ebf36),_0x3b2354[_0x4e971d(0x3e4)](0x0,_0x4f90fc),_0x3b2354['arc'](_0x4f90fc,_0x4f90fc,_0x4f90fc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3b2354['closePath'](),_0x2f608b[_0x4e971d(0x345)]&&(_0x3b2354[_0x4e971d(0x1f4)](),_0x3b2354['fillStyle']=_0x2f608b[_0x4e971d(0x345)],_0x2f608b['fillRule']===_0x4e971d(0x255)?_0x3b2354[_0x4e971d(0x345)](_0x4e971d(0x255)):_0x3b2354[_0x4e971d(0x345)](),_0x3b2354[_0x4e971d(0x2cf)]());}var _0x128df7=class _0x10b810 extends _0x25f9de[_0x1c1719(0x1e8)]{constructor(_0x5540db,_0x4d26c0){const _0x5becf7=_0x1c1719;super(_0x5540db,_0x4d26c0),_0x255b47(this,_0x5becf7(0x428),void 0x0),_0x255b47(this,'text',void 0x0),this[_0x5becf7(0x428)]=_0x4d26c0==null?void 0x0:_0x4d26c0[_0x5becf7(0x428)],this[_0x5becf7(0x31d)]=_0x4d26c0==null?void 0x0:_0x4d26c0['text'];}static['drawWith'](_0x4d34af,_0x41bddc){const _0x17f0c7=_0x1c1719;let {text:_0x46c8ab,color:_0x4c6b35}=_0x41bddc;_0x4d34af[_0x17f0c7(0x1f4)](),_0x4d34af[_0x17f0c7(0x1ab)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x3fa6e2=_0x4d34af[_0x17f0c7(0x16a)](_0x46c8ab)[_0x17f0c7(0x2b2)];if(_0x1ddd69(_0x4d34af,{'height':0x14,'radius':0x4,'width':_0x4c3418(_0x4d34af,_0x46c8ab),'fill':_0x4c6b35,'evented':!0x1}),_0x4d34af['fillStyle']=_0x17f0c7(0x415),_0x3fa6e2>0xc0){let _0x4ee341='',_0x43932a=0x0;for(let _0x226090 of _0x46c8ab){let _0x5d371a=_0x4d34af[_0x17f0c7(0x16a)](_0x226090)['width'];if(_0x43932a+_0x5d371a<=0xc0-_0x4d34af['measureText']('...')['width'])_0x4ee341+=_0x226090,_0x43932a+=_0x5d371a;else{_0x4ee341+=_0x17f0c7(0x3a2);break;}}_0x4d34af[_0x17f0c7(0x32f)](_0x4ee341,0x4,0xf);}else _0x4d34af[_0x17f0c7(0x32f)](_0x46c8ab,0x4,0xf);_0x4d34af[_0x17f0c7(0x2cf)]();}[_0x1c1719(0x2a5)](_0x1c770b){const _0xda428c=_0x1c1719;_0x10b810[_0xda428c(0x1b8)](_0x1c770b,this);}};let _0x4f472a=0x138a;var _0x1dcef1=class extends _0x25f9de['Shape']{constructor(_0xaf7440,_0x1e00b2){const _0x2b7022=_0x1c1719;super(_0xaf7440,{..._0x1e00b2,'evented':!0x1}),_0x255b47(this,_0x2b7022(0x294),_0x2b7022(0x354)),_0x255b47(this,_0x2b7022(0x203),''),_0x255b47(this,_0x2b7022(0x2ad),!0x0),_0x1e00b2&&this[_0x2b7022(0x1e3)](_0x1e00b2);}[_0x1c1719(0x1e3)](_0x42a232){const _0x20afce=_0x1c1719;this['_color']=_0x42a232['color']??this[_0x20afce(0x294)],this[_0x20afce(0x203)]=_0x42a232[_0x20afce(0x223)]??this[_0x20afce(0x203)],this[_0x20afce(0x2ad)]=_0x42a232[_0x20afce(0x35d)]??this[_0x20afce(0x2ad)],this[_0x20afce(0x425)]=!0x1,this[_0x20afce(0x232)]({'left':_0x42a232[_0x20afce(0x2d3)]??this[_0x20afce(0x2d3)],'top':_0x42a232[_0x20afce(0x168)]??this[_0x20afce(0x168)],'width':_0x42a232[_0x20afce(0x2b2)]??this[_0x20afce(0x2b2)],'height':_0x42a232[_0x20afce(0x3ac)]??this[_0x20afce(0x3ac)],'angle':_0x42a232['angle']??this[_0x20afce(0x398)]});}['_draw'](_0x21ddab){const _0x471dc0=_0x1c1719;_0x21ddab['save'](),_0x21ddab[_0x471dc0(0x1ce)]=this[_0x471dc0(0x294)],_0x21ddab['lineWidth']=this[_0x471dc0(0x474)]||1.5,_0x21ddab[_0x471dc0(0x292)]([0x6,0x4]),_0x21ddab[_0x471dc0(0x45d)](0x0,0x0,this['width'],this[_0x471dc0(0x3ac)]),_0x21ddab[_0x471dc0(0x2cf)](),this[_0x471dc0(0x2ad)]&&(_0x21ddab['save'](),_0x21ddab[_0x471dc0(0x49b)](0x1,0x0,0x0,0x1,this[_0x471dc0(0x2b2)],-0x14),_0x128df7[_0x471dc0(0x1b8)](_0x21ddab,{'text':this[_0x471dc0(0x203)],'color':this[_0x471dc0(0x294)]}),_0x21ddab[_0x471dc0(0x2cf)]());}};let _0x66389e=[_0x1c1719(0x371),_0x1c1719(0x273),_0x1c1719(0x1c0),'red.300',_0x1c1719(0x45a),_0x1c1719(0x2eb)];var _0x26d416=class extends _0x2eb6ab[_0x1c1719(0x285)]{constructor(..._0x309816){const _0x4d6849=_0x1c1719;super(..._0x309816),_0x255b47(this,_0x4d6849(0x228),new Map()),_0x255b47(this,'_colorIndex',0x0);}[_0x1c1719(0x1c8)](_0x3b16fe){const _0x27efdb=_0x1c1719;if(this['_assignedColors'][_0x27efdb(0x295)](_0x3b16fe))return this[_0x27efdb(0x228)][_0x27efdb(0x397)](_0x3b16fe);let _0x3b7f0d=_0x66389e[this[_0x27efdb(0x300)]];return this['_colorIndex']=(this[_0x27efdb(0x300)]+0x1)%_0x66389e[_0x27efdb(0x496)],this[_0x27efdb(0x228)]['set'](_0x3b16fe,_0x3b7f0d),_0x3b7f0d;}};function _0x401572(_0x1decab){const _0x1d9193=_0x1c1719;let _0x16500a;try{_0x16500a=JSON[_0x1d9193(0x21a)](_0x1decab);}catch{return null;}if(typeof _0x16500a!='object'||!_0x16500a)return null;let _0x5f2487=_0x16500a;if(_0x5f2487[_0x1d9193(0x49e)]!==_0x1d9193(0x416)||typeof _0x5f2487[_0x1d9193(0x329)]!=_0x1d9193(0x2b7)||typeof _0x5f2487[_0x1d9193(0x39a)]!=_0x1d9193(0x2b7))return null;let _0x5a666a=Array[_0x1d9193(0x301)](_0x5f2487[_0x1d9193(0x363)])?_0x5f2487[_0x1d9193(0x363)]['filter'](_0x2dec69=>typeof _0x2dec69==_0x1d9193(0x2b7)):[],_0x156471=typeof _0x5f2487['focusedId']=='string'?_0x5f2487[_0x1d9193(0x426)]:null;return{'kind':_0x1d9193(0x416),'unitId':_0x5f2487['unitId'],'subUnitId':_0x5f2487[_0x1d9193(0x39a)],'selectedIds':_0x5a666a,'focusedId':_0x156471};}let _0x5c459a=class extends _0x2eb6ab[_0x1c1719(0x2df)]{get[_0x1c1719(0x3b2)](){const _0x5e9ff1=_0x1c1719;return this[_0x5e9ff1(0x238)][_0x5e9ff1(0x481)]();}get[_0x1c1719(0x39d)](){const _0x506cc5=_0x1c1719;return this[_0x506cc5(0x1d3)][_0x506cc5(0x481)]();}constructor(_0x2627d9,_0x2b6cce,_0x406be5,_0x51f908,_0x216091){const _0x28c295=_0x1c1719;super(),this['unitID']=_0x2627d9,this[_0x28c295(0x221)]=_0x2b6cce,this['_colorAssignService']=_0x406be5,this[_0x28c295(0x362)]=_0x51f908,this[_0x28c295(0x342)]=_0x216091,_0x255b47(this,_0x28c295(0x249),!0x1),_0x255b47(this,_0x28c295(0x348),!0x1),_0x255b47(this,_0x28c295(0x238),new _0x40e05b['BehaviorSubject'](new Map())),_0x255b47(this,_0x28c295(0x298),this[_0x28c295(0x238)][_0x28c295(0x198)]()),_0x255b47(this,_0x28c295(0x1d3),new _0x40e05b[(_0x28c295(0x241))]([])),_0x255b47(this,'roomMembers$',this[_0x28c295(0x1d3)][_0x28c295(0x400)]((0x0,_0x40e05b[_0x28c295(0x22f)])(0x12c))),_0x255b47(this,_0x28c295(0x2a6),(0x0,_0x2eb6ab['debounce'])(_0x274bd8=>{const _0x2316b2=_0x28c295;let _0x82feb4=_0x274bd8[_0x2316b2(0x40b)];if(!_0x82feb4||_0x82feb4['unitId']!==this[_0x2316b2(0x279)])return;let _0x441e4d={'kind':'board-element-selection','unitId':_0x82feb4[_0x2316b2(0x329)],'subUnitId':_0x82feb4[_0x2316b2(0x39a)],'selectedIds':_0x274bd8[_0x2316b2(0x363)][_0x2316b2(0x440)](_0x244084=>typeof _0x244084==_0x2316b2(0x2b7)),'focusedId':_0x274bd8['focusedId']},_0x301ba4={'eventID':_0x1e96a3['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x2316b2(0x433)](),'selection':JSON[_0x2316b2(0x131)](_0x441e4d)}};this[_0x2316b2(0x221)][_0x2316b2(0x171)](_0x301ba4,this['unitID']);},0x64));}['dispose'](){const _0x51a573=_0x1c1719;super[_0x51a573(0x3b9)](),this['_cursorInfo$'][_0x51a573(0x2a8)](new Map()),this[_0x51a573(0x238)]['complete'](),this[_0x51a573(0x1d3)][_0x51a573(0x2a8)]([]),this[_0x51a573(0x1d3)][_0x51a573(0x1dc)]();}['init'](){const _0x383e22=_0x1c1719;this[_0x383e22(0x348)]||(this[_0x383e22(0x348)]=!0x0,this[_0x383e22(0x221)][_0x383e22(0x3f7)][_0x383e22(0x400)]((0x0,_0x40e05b[_0x383e22(0x199)])(this[_0x383e22(0x196)]))[_0x383e22(0x490)](_0x51fe94=>{const _0x541792=_0x383e22;_0x51fe94===_0x298b58[_0x541792(0x309)][_0x541792(0x3e6)]?this[_0x541792(0x387)]():this['_toggleOffline']();}),this['_session'][_0x383e22(0x2c7)][_0x383e22(0x400)]((0x0,_0x40e05b[_0x383e22(0x199)])(this[_0x383e22(0x196)]))['subscribe'](_0x46b0c9=>{const _0x217e92=_0x383e22;let _0x389969=_0x46b0c9[_0x217e92(0x328)];_0x389969===_0x1e96a3[_0x217e92(0x25d)][_0x217e92(0x32a)]&&this[_0x217e92(0x44b)](_0x46b0c9),_0x389969===_0x1e96a3[_0x217e92(0x25d)][_0x217e92(0x231)]&&this[_0x217e92(0x1dd)](_0x46b0c9);}),this[_0x383e22(0x342)]['state$'][_0x383e22(0x400)]((0x0,_0x40e05b['takeUntil'])(this[_0x383e22(0x196)]))[_0x383e22(0x490)](_0x54d66f=>{const _0x5b07ca=_0x383e22;this[_0x5b07ca(0x249)]&&this[_0x5b07ca(0x2a6)](_0x54d66f);}));}['_onCursorUpdate'](_0x583273){const _0x2d3198=_0x1c1719;var _0x114eb8,_0x3fc65a,_0x39f8d9;let {memberID:_0x416567,selection:_0xe6e4e3}=_0x583273['data'];if(_0x416567===((_0x114eb8=(_0x3fc65a=this[_0x2d3198(0x221)])['getMemberID'])==null?void 0x0:_0x114eb8[_0x2d3198(0x1c6)](_0x3fc65a)))return;let _0x4c3551=_0x401572(_0xe6e4e3);if(!_0x4c3551||_0x4c3551[_0x2d3198(0x329)]!==this[_0x2d3198(0x279)])return;let _0x25e647=((_0x39f8d9=this[_0x2d3198(0x362)][_0x2d3198(0x245)](this[_0x2d3198(0x279)],_0x416567))==null?void 0x0:_0x39f8d9[_0x2d3198(0x223)])??_0x2d3198(0x375),_0x126637={'color':this[_0x2d3198(0x313)][_0x2d3198(0x1c8)](_0x416567),'name':_0x25e647,'unitId':_0x4c3551[_0x2d3198(0x329)],'subUnitId':_0x4c3551[_0x2d3198(0x39a)],'selectedIds':_0x4c3551[_0x2d3198(0x363)],'focusedId':_0x4c3551[_0x2d3198(0x426)],'selection':_0xe6e4e3},_0x1955d7=new Map(this[_0x2d3198(0x3b2)]);_0x1955d7['set'](_0x416567,_0x126637),this[_0x2d3198(0x238)][_0x2d3198(0x2a8)](_0x1955d7);}[_0x1c1719(0x1dd)](_0x462214){const _0x27216a=_0x1c1719;let {memberID:_0xe0ee7e}=_0x462214[_0x27216a(0x26e)],_0x42ba6c=new Map(this[_0x27216a(0x3b2)]);_0x42ba6c[_0x27216a(0x3a9)](_0xe0ee7e),this[_0x27216a(0x238)][_0x27216a(0x2a8)](_0x42ba6c);}[_0x1c1719(0x387)](){const _0x541685=_0x1c1719;this['_online']=!0x0,this[_0x541685(0x2a6)](this[_0x541685(0x342)]['getSnapshot']());}['_toggleOffline'](){const _0x44eb62=_0x1c1719;this[_0x44eb62(0x249)]=!0x1;}};_0x5c459a=_0x4a62c9([_0x46a127(0x2,(0x0,_0x2eb6ab['Inject'])(_0x26d416)),_0x46a127(0x3,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x298b58[_0x1c1719(0x162)])),_0x46a127(0x4,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x3a42a2[_0x1c1719(0x2b3)]))],_0x5c459a);function _0x50750a(_0x3405de){const _0xdf2994=_0x1c1719;let _0x12fa08='';for(let _0x48d456 of _0x3405de){let {startOffset:_0xe8ebb0,endOffset:_0x15f141,isActive:_0x49a139,rangeType:_0x212865,segmentId:_0xd0e6d,segmentPage:_0x36eee4}=_0x48d456;_0x12fa08[_0xdf2994(0x496)]&&(_0x12fa08+=','),_0x12fa08+=_0xe8ebb0+':'+_0x15f141+':'+(_0x49a139?'1':'0')+':'+_0x212865+':'+_0xd0e6d+':'+_0x36eee4;}return _0x12fa08;}function _0x16b428(_0x146576){const _0x33a52a=_0x1c1719;let _0x40ca14=_0x146576[_0x33a52a(0x30f)](','),_0xbee03d=[];for(let _0x23cc90 of _0x40ca14){let [_0x4e1591,_0x4e0b39,_0x29f0aa,_0x41ce94,_0x2cadd5,_0x174f78]=_0x23cc90['split'](':');_0xbee03d[_0x33a52a(0x163)]({'startOffset':Number(_0x4e1591),'endOffset':Number(_0x4e0b39),'collapsed':_0x4e1591===_0x4e0b39,'isActive':_0x29f0aa==='1','rangeType':_0x41ce94===_0x2eb6ab[_0x33a52a(0x3cc)]['TEXT']?_0x2eb6ab['DOC_RANGE_TYPE']['TEXT']:_0x2eb6ab['DOC_RANGE_TYPE'][_0x33a52a(0x1ac)],'segmentId':typeof _0x2cadd5==_0x33a52a(0x2b7)?String(_0x2cadd5):'','segmentPage':Number(_0x174f78??-0x1)});}return _0xbee03d[_0x33a52a(0x399)](_0xe429ca=>_0xe429ca[_0x33a52a(0x2cb)])||(_0xbee03d[0x0][_0x33a52a(0x2cb)]=!0x0),_0xbee03d;}var _0x541ca7=class extends _0x2eb6ab[_0x1c1719(0x2df)]{constructor(..._0x21dd9b){const _0x462d4a=_0x1c1719;super(..._0x21dd9b),_0x255b47(this,_0x462d4a(0x206),new _0x40e05b[(_0x462d4a(0x241))](null)),_0x255b47(this,'collabCursorState$',this[_0x462d4a(0x206)][_0x462d4a(0x198)]());}[_0x1c1719(0x3db)](_0x4a0b12){const _0xe23ca6=_0x1c1719;let {unitID:_0xa59378,memberID:_0x31581e,textRanges:_0x4cfc8c}=_0x4a0b12,_0x1fa624=_0x50750a(_0x4cfc8c);if(_0x1fa624==='')return;let _0x211467={'unitID':_0xa59378,'memberID':_0x31581e,'selection':_0x1fa624};this[_0xe23ca6(0x206)][_0xe23ca6(0x2a8)](_0x211467);}};let _0x5d6255=class extends _0x2eb6ab[_0x1c1719(0x2df)]{get[_0x1c1719(0x3b2)](){const _0x5190b6=_0x1c1719;return this[_0x5190b6(0x238)][_0x5190b6(0x481)]();}get[_0x1c1719(0x39d)](){const _0x4982f2=_0x1c1719;return this[_0x4982f2(0x1d3)][_0x4982f2(0x481)]();}constructor(_0x3172a1,_0x3a93b3,_0x46c07b,_0x32fd43,_0x566e5c,_0x1da102,_0xe79dc0,_0x2c2cd8,_0x1e5b4d){const _0x1261ba=_0x1c1719;super(),this[_0x1261ba(0x279)]=_0x3172a1,this['_session']=_0x3a93b3,this[_0x1261ba(0x2b9)]=_0x46c07b,this['_colorAssignService']=_0x32fd43,this[_0x1261ba(0x362)]=_0x566e5c,this['_syncEditingCollabCursorService']=_0x1da102,this['_transformService']=_0xe79dc0,this[_0x1261ba(0x24d)]=_0x2c2cd8,this[_0x1261ba(0x244)]=_0x1e5b4d,_0x255b47(this,_0x1261ba(0x249),!0x1),_0x255b47(this,_0x1261ba(0x348),!0x1),_0x255b47(this,'_cursorInfo$',new _0x40e05b['BehaviorSubject'](new Map())),_0x255b47(this,'cursorInfo$',this[_0x1261ba(0x238)]['asObservable']()),_0x255b47(this,_0x1261ba(0x1d3),new _0x40e05b[(_0x1261ba(0x241))]([])),_0x255b47(this,_0x1261ba(0x34d),this['_roomMembers$']['pipe']((0x0,_0x40e05b['debounceTime'])(0x12c))),_0x255b47(this,_0x1261ba(0x2a6),(0x0,_0x2eb6ab[_0x1261ba(0x495)])(_0x23c10a=>{const _0x571567=_0x1261ba;let _0x300bd2={'eventID':_0x1e96a3[_0x571567(0x25d)][_0x571567(0x32a)],'data':{'unitID':this[_0x571567(0x279)],'memberID':this[_0x571567(0x221)][_0x571567(0x433)](),'selection':_0x50750a(_0x23c10a)}};this['_session'][_0x571567(0x171)](_0x300bd2,this[_0x571567(0x279)]);},0x64));}[_0x1c1719(0x3b9)](){const _0x3af7c5=_0x1c1719;super[_0x3af7c5(0x3b9)](),this[_0x3af7c5(0x238)][_0x3af7c5(0x2a8)](new Map()),this[_0x3af7c5(0x238)]['complete'](),this[_0x3af7c5(0x1d3)][_0x3af7c5(0x2a8)]([]),this['_roomMembers$'][_0x3af7c5(0x1dc)]();}[_0x1c1719(0x469)](){const _0x5262cc=_0x1c1719;this['_init']||(this[_0x5262cc(0x348)]=!0x0,this[_0x5262cc(0x221)]['sessionStatus$'][_0x5262cc(0x400)]((0x0,_0x40e05b['takeUntil'])(this['dispose$']))[_0x5262cc(0x490)](_0xbfac47=>{const _0x58e9b0=_0x5262cc;_0xbfac47===_0x298b58[_0x58e9b0(0x309)][_0x58e9b0(0x3e6)]?this[_0x58e9b0(0x387)]():this[_0x58e9b0(0x483)]();}),this[_0x5262cc(0x221)][_0x5262cc(0x2c7)][_0x5262cc(0x400)]((0x0,_0x40e05b['takeUntil'])(this[_0x5262cc(0x196)]))[_0x5262cc(0x490)](_0x35d12a=>{const _0x49fe33=_0x5262cc;let _0x2322aa=_0x35d12a[_0x49fe33(0x328)];_0x2322aa===_0x1e96a3[_0x49fe33(0x25d)][_0x49fe33(0x32a)]&&this[_0x49fe33(0x44b)](_0x35d12a),_0x2322aa===_0x1e96a3[_0x49fe33(0x25d)][_0x49fe33(0x231)]&&this['_onCursorDelete'](_0x35d12a);}),this[_0x5262cc(0x38f)](this[_0x5262cc(0x244)][_0x5262cc(0x32e)](_0x1ee3fe=>{const _0x2f5e5d=_0x5262cc;let _0x54444b=_0x1ee3fe[_0x2f5e5d(0x436)];_0x54444b!=null&&this[_0x2f5e5d(0x249)]&&_0x1ee3fe['id']===_0x4d4b92[_0x2f5e5d(0x449)]['id']&&_0x54444b[_0x2f5e5d(0x329)]===this[_0x2f5e5d(0x279)]&&_0x54444b[_0x2f5e5d(0x225)]===!0x1&&_0x54444b['ranges']['length']>0x0&&this[_0x2f5e5d(0x2a6)](_0x54444b[_0x2f5e5d(0x216)]);})),this[_0x5262cc(0x23d)][_0x5262cc(0x181)][_0x5262cc(0x400)]((0x0,_0x40e05b[_0x5262cc(0x199)])(this[_0x5262cc(0x196)]))[_0x5262cc(0x490)](_0x2972cb=>{const _0x7cecd3=_0x5262cc;if((_0x2972cb==null?void 0x0:_0x2972cb[_0x7cecd3(0x279)])!==this[_0x7cecd3(0x279)])return;let _0x546fdf={'eventID':_0x1e96a3[_0x7cecd3(0x25d)]['UPDATE_CURSOR'],'data':_0x2972cb};this[_0x7cecd3(0x44b)](_0x546fdf);}),this['disposeWithMe'](this[_0x5262cc(0x244)]['onCommandExecuted'](_0x51bfcc=>{const _0x15fbd7=_0x5262cc;if(_0x51bfcc['params']==null)return;let _0x376b1f=_0x51bfcc[_0x15fbd7(0x436)];if(_0x51bfcc['id']!==_0x4d4b92[_0x15fbd7(0x30a)]['id']||_0x376b1f[_0x15fbd7(0x329)]!==this['unitID'])return;let _0x3ec080={'id':_0x15fbd7(0x346),'params':_0x376b1f},_0x4f809a=this[_0x15fbd7(0x3b2)];for(let [_0x3dd5d5,_0x5e841e]of _0x4f809a){let _0x153404={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x15fbd7(0x279)],'actions':null,'textRanges':_0x5e841e['ranges']}},_0x478e7d=this['_transformService']['transformMutation'](_0x3ec080,_0x153404,!0x1);if((0x0,_0x1e96a3[_0x15fbd7(0x3e9)])(_0x478e7d))throw _0x478e7d[_0x15fbd7(0x138)];_0x4f809a['set'](_0x3dd5d5,{..._0x5e841e,'ranges':_0x478e7d['m2Prime'][_0x15fbd7(0x436)][_0x15fbd7(0x3de)]});}queueMicrotask(()=>{const _0x2704a1=_0x15fbd7;this[_0x2704a1(0x238)]['next'](_0x4f809a);});})));}['_onCursorUpdate'](_0x2b1003){const _0x565a54=_0x1c1719;var _0x467a3e;let {memberID:_0x5d9d44,selection:_0x42eeb3}=_0x2b1003['data'],_0x31c6af=_0x16b428(_0x42eeb3),_0x1d11a4=((_0x467a3e=this[_0x565a54(0x362)][_0x565a54(0x245)](this[_0x565a54(0x279)],_0x5d9d44))==null?void 0x0:_0x467a3e[_0x565a54(0x223)])??_0x565a54(0x375),_0x34371e={'color':this[_0x565a54(0x313)]['assignAColorForMemberID'](_0x5d9d44),'name':_0x1d11a4,'ranges':_0x31c6af},_0x4259d4=this[_0x565a54(0x3b2)];_0x4259d4[_0x565a54(0x2f8)](_0x5d9d44,_0x34371e),this['_cursorInfo$']['next'](_0x4259d4);}[_0x1c1719(0x1dd)](_0x2dd5c2){const _0x24f981=_0x1c1719;let {memberID:_0x59e951}=_0x2dd5c2['data'],_0x4b8da0=this['cursorInfo'];_0x4b8da0[_0x24f981(0x3a9)](_0x59e951),this[_0x24f981(0x238)][_0x24f981(0x2a8)](_0x4b8da0);}[_0x1c1719(0x387)](){const _0x43ef75=_0x1c1719;var _0x4d039f;if(this[_0x43ef75(0x249)]=!0x0,((_0x4d039f=this[_0x43ef75(0x24d)]['getFocusedUnit']())==null?void 0x0:_0x4d039f[_0x43ef75(0x3e1)]())!==this[_0x43ef75(0x279)])return;let _0x36e3a1=this['_injector']['get'](_0x4d4b92[_0x43ef75(0x470)])[_0x43ef75(0x44e)]();Array[_0x43ef75(0x301)](_0x36e3a1)&&_0x36e3a1[_0x43ef75(0x496)]>0x0&&this[_0x43ef75(0x2a6)](_0x36e3a1);}['_toggleOffline'](){const _0x2b7451=_0x1c1719;this[_0x2b7451(0x249)]=!0x1;}};_0x5d6255=_0x4a62c9([_0x46a127(0x2,(0x0,_0x2eb6ab['Inject'])(_0x2eb6ab[_0x1c1719(0x1cc)])),_0x46a127(0x3,(0x0,_0x2eb6ab['Inject'])(_0x26d416)),_0x46a127(0x4,(0x0,_0x2eb6ab['Inject'])(_0x298b58[_0x1c1719(0x162)])),_0x46a127(0x5,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x541ca7)),_0x46a127(0x6,_0x1e96a3[_0x1c1719(0x317)]),_0x46a127(0x7,_0x2eb6ab[_0x1c1719(0x458)]),_0x46a127(0x8,_0x2eb6ab[_0x1c1719(0x3e2)])],_0x5d6255);let _0x30f9e9=()=>{let _0x5c6b5a=[],_0x39f76c=!0x1;return _0x15e7c2=>{_0x5c6b5a['push'](_0x15e7c2),_0x39f76c||(_0x39f76c=!0x0,setTimeout(()=>{const _0x36b2be=_0x5e0e;_0x5c6b5a[_0x36b2be(0x230)](_0x4e6bd5=>_0x4e6bd5()),_0x5c6b5a=[],_0x39f76c=!0x1;}));};},_0x3a73e7=class extends _0x2eb6ab[_0x1c1719(0x2df)]{get[_0x1c1719(0x3b2)](){const _0x51b759=_0x1c1719;return this[_0x51b759(0x238)][_0x51b759(0x481)]();}get[_0x1c1719(0x39d)](){const _0x428f0b=_0x1c1719;return this[_0x428f0b(0x1d3)]['getValue']();}constructor(_0x1e713b,_0x56722e,_0x4c13bd,_0x213b63,_0x300aa1,_0x5de2da,_0x3ad043,_0x968ec3){const _0x47a7b7=_0x1c1719;super(),this[_0x47a7b7(0x279)]=_0x1e713b,this[_0x47a7b7(0x221)]=_0x56722e,this[_0x47a7b7(0x2b9)]=_0x4c13bd,this[_0x47a7b7(0x313)]=_0x213b63,this['_memberService']=_0x300aa1,this[_0x47a7b7(0x24d)]=_0x5de2da,this['_commandService']=_0x3ad043,this['_refRangeService']=_0x968ec3,_0x255b47(this,_0x47a7b7(0x249),!0x1),_0x255b47(this,_0x47a7b7(0x348),!0x1),_0x255b47(this,_0x47a7b7(0x238),new _0x40e05b[(_0x47a7b7(0x241))](new Map())),_0x255b47(this,'cursorInfo$',this['_cursorInfo$'][_0x47a7b7(0x198)]()),_0x255b47(this,_0x47a7b7(0x1d3),new _0x40e05b[(_0x47a7b7(0x241))]([])),_0x255b47(this,_0x47a7b7(0x34d),this[_0x47a7b7(0x1d3)]['pipe']((0x0,_0x40e05b[_0x47a7b7(0x22f)])(0x12c))),_0x255b47(this,_0x47a7b7(0x2a6),(0x0,_0x2eb6ab['debounce'])((_0x691ab9,_0x4cbfce)=>{const _0xf355d3=_0x47a7b7;let _0x2edd85={'eventID':_0x1e96a3[_0xf355d3(0x25d)][_0xf355d3(0x32a)],'data':{'unitID':this[_0xf355d3(0x279)],'memberID':this['_session']['getMemberID'](),'selection':(0x0,_0x22ecb8[_0xf355d3(0x445)])(_0x691ab9,_0x4cbfce[_0xf355d3(0x383)])}};this[_0xf355d3(0x221)]['send'](_0x2edd85,this[_0xf355d3(0x279)]);},0x64));}[_0x1c1719(0x3b9)](){const _0x2e2ac3=_0x1c1719;super['dispose'](),this[_0x2e2ac3(0x238)]['next'](new Map()),this[_0x2e2ac3(0x238)][_0x2e2ac3(0x1dc)](),this[_0x2e2ac3(0x1d3)]['next']([]),this[_0x2e2ac3(0x1d3)][_0x2e2ac3(0x1dc)]();}['init'](){const _0x38746c=_0x1c1719;this[_0x38746c(0x348)]||(this[_0x38746c(0x348)]=!0x0,this[_0x38746c(0x221)][_0x38746c(0x3f7)]['pipe']((0x0,_0x40e05b[_0x38746c(0x199)])(this[_0x38746c(0x196)]))[_0x38746c(0x490)](_0x57960c=>{const _0x13aa73=_0x38746c;_0x57960c===_0x298b58['SessionStatus'][_0x13aa73(0x3e6)]?this[_0x13aa73(0x387)]():this[_0x13aa73(0x483)]();}),this[_0x38746c(0x221)][_0x38746c(0x2c7)][_0x38746c(0x400)]((0x0,_0x40e05b[_0x38746c(0x199)])(this[_0x38746c(0x196)]))[_0x38746c(0x490)](_0x858b58=>{const _0x1290a2=_0x38746c;let _0x4fdced=_0x858b58[_0x1290a2(0x328)];_0x4fdced===_0x1e96a3['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x1290a2(0x44b)](_0x858b58),_0x4fdced===_0x1e96a3['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x858b58);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x38746c(0x244)][_0x38746c(0x32e)](_0x20e73d=>{const _0x2d7519=_0x38746c;if(this[_0x2d7519(0x249)]&&_0x20e73d['id']===_0xc02ef6[_0x2d7519(0x287)]['id']&&_0x20e73d[_0x2d7519(0x436)]['unitId']===this[_0x2d7519(0x279)]){let _0x26798a=_0x20e73d[_0x2d7519(0x436)];this[_0x2d7519(0x2a6)](_0x26798a[_0x2d7519(0x39a)],_0x26798a[_0x2d7519(0x47e)][0x0]);}})));}['_onCursorUpdate'](_0xaf1f9e){const _0x3d5270=_0x1c1719;var _0x3fc678;let {memberID:_0x468664,selection:_0x21c6b2}=_0xaf1f9e[_0x3d5270(0x26e)],{sheetName:_0x3c038f,range:_0x24dc55}=(0x0,_0x22ecb8[_0x3d5270(0x12d)])(_0x21c6b2),_0x26d37e={'name':((_0x3fc678=this['_memberService']['getMember'](this[_0x3d5270(0x279)],_0x468664))==null?void 0x0:_0x3fc678[_0x3d5270(0x223)])??'Unknown\x20user','range':this['_getMergeRange'](_0x3c038f,_0x24dc55),'sheetID':_0x3c038f,'color':this[_0x3d5270(0x313)][_0x3d5270(0x1c8)](_0x468664),'selection':_0x21c6b2},_0x3eab05=this[_0x3d5270(0x3b2)];_0x3eab05[_0x3d5270(0x2f8)](_0x468664,_0x26d37e),this[_0x3d5270(0x238)]['next'](_0x3eab05);}['_onCursorDelete'](_0x539839){const _0x5bbc9e=_0x1c1719;let {memberID:_0x52a968}=_0x539839[_0x5bbc9e(0x26e)],_0x27102c=this[_0x5bbc9e(0x3b2)];_0x27102c['delete'](_0x52a968),this[_0x5bbc9e(0x238)][_0x5bbc9e(0x2a8)](_0x27102c);}['_getMergeRange'](_0x4ae38d,_0x462d5e){const _0x18c0e0=_0x1c1719;var _0x56ca13;let _0x46bc66=(_0x56ca13=this[_0x18c0e0(0x24d)][_0x18c0e0(0x2f5)](this[_0x18c0e0(0x279)],_0x2eb6ab[_0x18c0e0(0x280)][_0x18c0e0(0x212)]))==null||(_0x56ca13=_0x56ca13[_0x18c0e0(0x2da)](_0x4ae38d))==null?void 0x0:_0x56ca13['getMergeData']();return(_0x46bc66==null?void 0x0:_0x46bc66[_0x18c0e0(0x167)](_0x592bb6=>_0x2eb6ab['Rectangle'][_0x18c0e0(0x459)](_0x592bb6,_0x462d5e)))||_0x462d5e;}[_0x1c1719(0x27a)](){const _0x355626=_0x1c1719;let _0x2efdfd=new _0x2eb6ab[(_0x355626(0x2be))](),_0x45297f=_0x30f9e9(),_0x58879f=()=>{const _0xdf1b2c=_0x355626;_0x2efdfd[_0xdf1b2c(0x3b9)]();let _0x1b98bc=(_0xf04a99,_0x584ffa,_0x446f65,_0x1af473)=>{const _0x4b4e72=_0xdf1b2c;let _0x148f78=[];switch(_0xf04a99['id']){case _0xc02ef6[_0x4b4e72(0x3c4)][_0x4b4e72(0x23e)]:_0x148f78=(0x0,_0xc02ef6[_0x4b4e72(0x303)])(_0xf04a99,_0x1af473);break;case _0xc02ef6[_0x4b4e72(0x3c4)][_0x4b4e72(0x299)]:_0x148f78=(0x0,_0xc02ef6[_0x4b4e72(0x3cf)])(_0xf04a99,_0x1af473);break;case _0xc02ef6[_0x4b4e72(0x3c4)][_0x4b4e72(0x3f3)]:_0x148f78=(0x0,_0xc02ef6[_0x4b4e72(0x46c)])(_0xf04a99,_0x1af473);break;case _0xc02ef6[_0x4b4e72(0x3c4)][_0x4b4e72(0x191)]:_0x148f78=(0x0,_0xc02ef6[_0x4b4e72(0x2dc)])(_0xf04a99,_0x1af473);break;case _0xc02ef6[_0x4b4e72(0x3c4)][_0x4b4e72(0x24e)]:_0x148f78=(0x0,_0xc02ef6[_0x4b4e72(0x381)])(_0xf04a99,_0x1af473);break;case _0xc02ef6[_0x4b4e72(0x3c4)][_0x4b4e72(0x1e4)]:_0x148f78=(0x0,_0xc02ef6[_0x4b4e72(0x487)])(_0xf04a99,_0x1af473);break;case _0xc02ef6[_0x4b4e72(0x3c4)][_0x4b4e72(0x32c)]:_0x148f78=(0x0,_0xc02ef6[_0x4b4e72(0x3c8)])(_0xf04a99,_0x1af473);break;case _0xc02ef6[_0x4b4e72(0x3c4)][_0x4b4e72(0x30b)]:_0x148f78=(0x0,_0xc02ef6[_0x4b4e72(0x3fb)])(_0xf04a99,_0x1af473);break;case _0xc02ef6[_0x4b4e72(0x3c4)][_0x4b4e72(0x319)]:_0x148f78=(0x0,_0xc02ef6[_0x4b4e72(0x335)])(_0xf04a99,_0x1af473);break;}let _0x13907c=(0x0,_0xc02ef6[_0x4b4e72(0x1b4)])(_0x148f78,_0x1af473),_0x3625ce=this[_0x4b4e72(0x3b2)][_0x4b4e72(0x397)](_0x584ffa);if(_0x3625ce&&_0x13907c){let _0x2f929b={..._0x3625ce,'range':_0x13907c};this[_0x4b4e72(0x3b2)]['set'](_0x584ffa,_0x2f929b),_0x45297f(()=>{const _0x321fad=_0x4b4e72;let _0x4b8658=this['_refRangeService'][_0x321fad(0x409)](_0x13907c,_0x2d9b2e=>(_0x4b8658[_0x321fad(0x3b9)](),_0x1b98bc(_0x2d9b2e,_0x584ffa,_0x446f65,_0x13907c)));_0x2efdfd[_0x321fad(0x25a)](_0x4b8658);});}return{'redos':[],'undos':[]};};this[_0xdf1b2c(0x3b2)][_0xdf1b2c(0x230)]((_0x4b007c,_0x17753e)=>{const _0x5c2530=_0xdf1b2c;let {range:_0x2234ba,sheetID:_0x3b06da}=_0x4b007c,_0x56eaa6=this[_0x5c2530(0x32d)][_0x5c2530(0x409)](_0x2234ba,_0xc1fa37=>(_0x56eaa6[_0x5c2530(0x3b9)](),_0x1b98bc(_0xc1fa37,_0x17753e,_0x3b06da,_0x2234ba)));_0x2efdfd['add'](_0x56eaa6);});};this[_0x355626(0x38f)]((0x0,_0x2eb6ab[_0x355626(0x48d)])(this[_0x355626(0x238)]['subscribe'](()=>{_0x58879f();})));}[_0x1c1719(0x387)](){const _0x324dde=_0x1c1719;var _0x5d8e0c,_0x368d60;if(this['_online']=!0x0,((_0x5d8e0c=this[_0x324dde(0x24d)][_0x324dde(0x407)]())==null?void 0x0:_0x5d8e0c[_0x324dde(0x3e1)]())!==this[_0x324dde(0x279)])return;let _0x1fa004=(_0x368d60=this[_0x324dde(0x2b9)]['get'](_0xc02ef6[_0x324dde(0x272)])[_0x324dde(0x304)]())==null?void 0x0:_0x368d60[0x0],_0x558082=this[_0x324dde(0x24d)][_0x324dde(0x3d8)](_0x2eb6ab['UniverInstanceType'][_0x324dde(0x212)])['getActiveSheet']();_0x1fa004&&_0x558082&&this[_0x324dde(0x2a6)](_0x558082['getSheetId'](),_0x1fa004);}[_0x1c1719(0x483)](){this['_online']=!0x1;}};_0x3a73e7=_0x4a62c9([_0x46a127(0x2,(0x0,_0x2eb6ab['Inject'])(_0x2eb6ab[_0x1c1719(0x1cc)])),_0x46a127(0x3,(0x0,_0x2eb6ab['Inject'])(_0x26d416)),_0x46a127(0x4,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x298b58[_0x1c1719(0x162)])),_0x46a127(0x5,_0x2eb6ab['IUniverInstanceService']),_0x46a127(0x6,_0x2eb6ab['ICommandService']),_0x46a127(0x7,(0x0,_0x2eb6ab['Inject'])(_0xc02ef6[_0x1c1719(0x197)]))],_0x3a73e7);function _0x309c60(_0x581849){const _0x8f2534=_0x1c1719;let _0x44630d;try{_0x44630d=JSON[_0x8f2534(0x21a)](_0x581849);}catch{return null;}if(typeof _0x44630d!='object'||!_0x44630d)return null;let _0x3827a3=_0x44630d;if(_0x3827a3['kind']!==_0x8f2534(0x1aa)||typeof _0x3827a3[_0x8f2534(0x329)]!='string'||typeof _0x3827a3[_0x8f2534(0x39a)]!='string')return null;let _0x2723f7=Array['isArray'](_0x3827a3[_0x8f2534(0x363)])?_0x3827a3['selectedIds'][_0x8f2534(0x440)](_0x3e1d2b=>typeof _0x3e1d2b=='string'):[],_0x458f3a=typeof _0x3827a3[_0x8f2534(0x426)]=='string'?_0x3827a3[_0x8f2534(0x426)]:null;return{'kind':_0x8f2534(0x1aa),'unitId':_0x3827a3[_0x8f2534(0x329)],'subUnitId':_0x3827a3['subUnitId'],'selectedIds':_0x2723f7,'focusedId':_0x458f3a};}let _0x19a0bb=class extends _0x2eb6ab['RxDisposable']{get[_0x1c1719(0x3b2)](){const _0x55e2c7=_0x1c1719;return this[_0x55e2c7(0x238)][_0x55e2c7(0x481)]();}get['roomMembers'](){const _0x193dae=_0x1c1719;return this[_0x193dae(0x1d3)]['getValue']();}constructor(_0x1eebf2,_0x219426,_0x3bda31,_0x38d59a,_0x94c9e4){const _0x315cbf=_0x1c1719;super(),this[_0x315cbf(0x279)]=_0x1eebf2,this[_0x315cbf(0x221)]=_0x219426,this[_0x315cbf(0x313)]=_0x3bda31,this[_0x315cbf(0x362)]=_0x38d59a,this['_slideDrawingStateService']=_0x94c9e4,_0x255b47(this,_0x315cbf(0x249),!0x1),_0x255b47(this,'_init',!0x1),_0x255b47(this,_0x315cbf(0x238),new _0x40e05b['BehaviorSubject'](new Map())),_0x255b47(this,_0x315cbf(0x298),this[_0x315cbf(0x238)][_0x315cbf(0x198)]()),_0x255b47(this,'_roomMembers$',new _0x40e05b['BehaviorSubject']([])),_0x255b47(this,_0x315cbf(0x34d),this[_0x315cbf(0x1d3)]['pipe']((0x0,_0x40e05b[_0x315cbf(0x22f)])(0x12c))),_0x255b47(this,'_updateLocalCursor',(0x0,_0x2eb6ab[_0x315cbf(0x495)])(_0x406431=>{const _0x2d47c2=_0x315cbf;let _0x6e955f=_0x406431['context'];if(!_0x6e955f||_0x6e955f['unitId']!==this[_0x2d47c2(0x279)])return;let _0x275356={'kind':'slide-element-selection','unitId':_0x6e955f[_0x2d47c2(0x329)],'subUnitId':_0x6e955f[_0x2d47c2(0x39a)],'selectedIds':_0x406431[_0x2d47c2(0x363)]['filter'](_0x3343af=>typeof _0x3343af==_0x2d47c2(0x2b7)),'focusedId':_0x406431[_0x2d47c2(0x426)]},_0x4063f6={'eventID':_0x1e96a3[_0x2d47c2(0x25d)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2d47c2(0x279)],'memberID':this[_0x2d47c2(0x221)][_0x2d47c2(0x433)](),'selection':JSON['stringify'](_0x275356)}};this[_0x2d47c2(0x221)][_0x2d47c2(0x171)](_0x4063f6,this[_0x2d47c2(0x279)]);},0x64));}[_0x1c1719(0x3b9)](){const _0x1ce38a=_0x1c1719;super['dispose'](),this[_0x1ce38a(0x238)][_0x1ce38a(0x2a8)](new Map()),this[_0x1ce38a(0x238)]['complete'](),this['_roomMembers$']['next']([]),this[_0x1ce38a(0x1d3)][_0x1ce38a(0x1dc)]();}[_0x1c1719(0x469)](){const _0x1399fe=_0x1c1719;this['_init']||(this[_0x1399fe(0x348)]=!0x0,this['_session']['sessionStatus$']['pipe']((0x0,_0x40e05b[_0x1399fe(0x199)])(this[_0x1399fe(0x196)]))[_0x1399fe(0x490)](_0x43961f=>{const _0x4a28f5=_0x1399fe;_0x43961f===_0x298b58[_0x4a28f5(0x309)][_0x4a28f5(0x3e6)]?this[_0x4a28f5(0x387)]():this[_0x4a28f5(0x483)]();}),this['_session'][_0x1399fe(0x2c7)]['pipe']((0x0,_0x40e05b['takeUntil'])(this[_0x1399fe(0x196)]))[_0x1399fe(0x490)](_0x4b4dcc=>{const _0x349554=_0x1399fe;let _0x378286=_0x4b4dcc['eventID'];_0x378286===_0x1e96a3[_0x349554(0x25d)][_0x349554(0x32a)]&&this['_onCursorUpdate'](_0x4b4dcc),_0x378286===_0x1e96a3[_0x349554(0x25d)][_0x349554(0x231)]&&this[_0x349554(0x1dd)](_0x4b4dcc);}),this[_0x1399fe(0x380)]['state$']['pipe']((0x0,_0x40e05b[_0x1399fe(0x199)])(this['dispose$']))[_0x1399fe(0x490)](_0x5db0ef=>{const _0x4d5294=_0x1399fe;this[_0x4d5294(0x249)]&&this[_0x4d5294(0x2a6)](_0x5db0ef);}));}[_0x1c1719(0x44b)](_0x34dbbe){const _0x268834=_0x1c1719;var _0x3183aa,_0xadb867,_0x222c02;let {memberID:_0x863c16,selection:_0x533a0c}=_0x34dbbe[_0x268834(0x26e)];if(_0x863c16===((_0x3183aa=(_0xadb867=this[_0x268834(0x221)])['getMemberID'])==null?void 0x0:_0x3183aa[_0x268834(0x1c6)](_0xadb867)))return;let _0x5854f2=_0x309c60(_0x533a0c);if(!_0x5854f2||_0x5854f2[_0x268834(0x329)]!==this['unitID'])return;let _0xe3158e=((_0x222c02=this[_0x268834(0x362)][_0x268834(0x245)](this[_0x268834(0x279)],_0x863c16))==null?void 0x0:_0x222c02['name'])??_0x268834(0x375),_0x9e0dc8={'color':this['_colorAssignService'][_0x268834(0x1c8)](_0x863c16),'name':_0xe3158e,'unitId':_0x5854f2['unitId'],'subUnitId':_0x5854f2[_0x268834(0x39a)],'selectedIds':_0x5854f2[_0x268834(0x363)],'focusedId':_0x5854f2[_0x268834(0x426)],'selection':_0x533a0c},_0x13b11d=new Map(this[_0x268834(0x3b2)]);_0x13b11d[_0x268834(0x2f8)](_0x863c16,_0x9e0dc8),this[_0x268834(0x238)][_0x268834(0x2a8)](_0x13b11d);}[_0x1c1719(0x1dd)](_0x240663){const _0x135f7d=_0x1c1719;let {memberID:_0x346ce2}=_0x240663[_0x135f7d(0x26e)],_0x4e4ced=new Map(this[_0x135f7d(0x3b2)]);_0x4e4ced['delete'](_0x346ce2),this[_0x135f7d(0x238)]['next'](_0x4e4ced);}[_0x1c1719(0x387)](){const _0x1c9776=_0x1c1719;this[_0x1c9776(0x249)]=!0x0,this[_0x1c9776(0x2a6)](this['_slideDrawingStateService'][_0x1c9776(0x3f8)]());}[_0x1c1719(0x483)](){const _0x8df14e=_0x1c1719;this[_0x8df14e(0x249)]=!0x1;}};_0x19a0bb=_0x4a62c9([_0x46a127(0x2,(0x0,_0x2eb6ab['Inject'])(_0x26d416)),_0x46a127(0x3,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x298b58[_0x1c1719(0x162)])),_0x46a127(0x4,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x593eff[_0x1c1719(0x256)]))],_0x19a0bb);let _0x416208=class extends _0x2eb6ab[_0x1c1719(0x2df)]{constructor(_0x5c91b1,_0x40c3df,_0x4838d1){const _0x2aa744=_0x1c1719;super(),this['_univerInstanceService']=_0x5c91b1,this['_injector']=_0x40c3df,this[_0x2aa744(0x2e1)]=_0x4838d1,_0x255b47(this,_0x2aa744(0x347),new Map()),_0x255b47(this,'_entityInit$',new _0x40e05b[(_0x2aa744(0x2b6))]()),this['_init']();}[_0x1c1719(0x3b9)](){const _0x3a2305=_0x1c1719;super['dispose'](),this['_entityInit$']['complete'](),this[_0x3a2305(0x347)][_0x3a2305(0x230)](_0x25597f=>_0x25597f[_0x3a2305(0x3b9)]());}[_0x1c1719(0x1d5)](_0x2d6861){const _0x3a88ed=_0x1c1719;return this[_0x3a88ed(0x347)][_0x3a88ed(0x295)](_0x2d6861)?this[_0x3a88ed(0x347)][_0x3a88ed(0x397)](_0x2d6861)['cursorInfo$']:this['_entityInit$'][_0x3a88ed(0x400)]((0x0,_0x40e05b[_0x3a88ed(0x440)])(_0x52e95f=>_0x52e95f[_0x3a88ed(0x279)]===_0x2d6861),(0x0,_0x40e05b[_0x3a88ed(0x263)])(_0x4513f9=>_0x4513f9[_0x3a88ed(0x298)]));}['_init'](){const _0x3860b1=_0x1c1719;this[_0x3860b1(0x24d)][_0x3860b1(0x364)](_0x2eb6ab[_0x3860b1(0x280)][_0x3860b1(0x212)])[_0x3860b1(0x400)]((0x0,_0x40e05b['takeUntil'])(this[_0x3860b1(0x196)]))[_0x3860b1(0x490)](async _0x2f4d90=>{const _0x34c444=_0x3860b1;let _0x24773e=_0x2f4d90[_0x34c444(0x3b4)][_0x34c444(0x3e1)](),_0x1885d1=await this[_0x34c444(0x20f)](_0x24773e);this['_entityInit$']['next'](_0x1885d1),this[_0x34c444(0x347)][_0x34c444(0x2f8)](_0x24773e,_0x1885d1);}),this[_0x3860b1(0x24d)]['getTypeOfUnitAdded$'](_0x2eb6ab[_0x3860b1(0x280)]['UNIVER_DOC'])[_0x3860b1(0x400)]((0x0,_0x40e05b[_0x3860b1(0x199)])(this['dispose$']))[_0x3860b1(0x400)]((0x0,_0x40e05b[_0x3860b1(0x440)])(_0x154dcd=>!_0x154dcd[_0x3860b1(0x3b4)][_0x3860b1(0x3e1)]()['startsWith']('__')))[_0x3860b1(0x490)](async _0x14477b=>{const _0x1ba18e=_0x3860b1;let {unit:_0x4f5556}=_0x14477b,_0x5039e4=_0x4f5556[_0x1ba18e(0x3e1)](),_0x36f5cd=await this[_0x1ba18e(0x18c)](_0x5039e4);this[_0x1ba18e(0x1b5)][_0x1ba18e(0x2a8)](_0x36f5cd),this[_0x1ba18e(0x347)][_0x1ba18e(0x2f8)](_0x5039e4,_0x36f5cd);}),this[_0x3860b1(0x24d)][_0x3860b1(0x364)](_0x2eb6ab[_0x3860b1(0x280)][_0x3860b1(0x28f)])[_0x3860b1(0x400)]((0x0,_0x40e05b[_0x3860b1(0x199)])(this[_0x3860b1(0x196)]))[_0x3860b1(0x490)](async _0x5e29a1=>{const _0x542795=_0x3860b1;let _0x218ee5=_0x5e29a1[_0x542795(0x3b4)]['getUnitId'](),_0x4a0db1=await this[_0x542795(0x3c1)](_0x218ee5);this['_entityInit$'][_0x542795(0x2a8)](_0x4a0db1),this['_entities'][_0x542795(0x2f8)](_0x218ee5,_0x4a0db1);}),this[_0x3860b1(0x24d)][_0x3860b1(0x364)](_0x2eb6ab[_0x3860b1(0x280)]['UNIVER_BOARD'])[_0x3860b1(0x400)]((0x0,_0x40e05b['takeUntil'])(this[_0x3860b1(0x196)]))[_0x3860b1(0x490)](async _0xb6e00d=>{const _0x16a265=_0x3860b1;let _0x5a326b=_0xb6e00d[_0x16a265(0x3b4)][_0x16a265(0x3e1)](),_0x3419b7=await this[_0x16a265(0x178)](_0x5a326b);this[_0x16a265(0x1b5)][_0x16a265(0x2a8)](_0x3419b7),this[_0x16a265(0x347)]['set'](_0x5a326b,_0x3419b7);}),(0x0,_0x40e05b['merge'])(this[_0x3860b1(0x24d)]['getTypeOfUnitDisposed$'](_0x2eb6ab[_0x3860b1(0x280)][_0x3860b1(0x332)]),this[_0x3860b1(0x24d)][_0x3860b1(0x2e4)](_0x2eb6ab['UniverInstanceType'][_0x3860b1(0x212)]),this[_0x3860b1(0x24d)][_0x3860b1(0x2e4)](_0x2eb6ab[_0x3860b1(0x280)][_0x3860b1(0x28f)]),this[_0x3860b1(0x24d)][_0x3860b1(0x2e4)](_0x2eb6ab[_0x3860b1(0x280)][_0x3860b1(0x20e)]))['pipe']((0x0,_0x40e05b[_0x3860b1(0x199)])(this[_0x3860b1(0x196)]))[_0x3860b1(0x490)](_0x142ef6=>{const _0xa786c4=_0x3860b1;let _0x24bc1d=_0x142ef6[_0xa786c4(0x3e1)](),_0x2cf6a1=this['_entities']['get'](_0x24bc1d);_0x2cf6a1&&(_0x2cf6a1[_0xa786c4(0x3b9)](),this[_0xa786c4(0x347)][_0xa786c4(0x3a9)](_0x24bc1d));});}async[_0x1c1719(0x20f)](_0x296571){const _0x4f2f34=_0x1c1719;let _0x35993a=await this[_0x4f2f34(0x2e1)][_0x4f2f34(0x13c)](_0x296571),_0x21f473=this[_0x4f2f34(0x2b9)][_0x4f2f34(0x477)](_0x3a73e7,_0x296571,_0x35993a);return _0x21f473[_0x4f2f34(0x469)](),_0x21f473;}async['_startDocCollabCursor'](_0x37f071){const _0x4ce68b=_0x1c1719;let _0x482c88=await this['_collabSessionService'][_0x4ce68b(0x13c)](_0x37f071),_0x4dd04b=this[_0x4ce68b(0x2b9)]['createInstance'](_0x5d6255,_0x37f071,_0x482c88);return _0x4dd04b[_0x4ce68b(0x469)](),_0x4dd04b;}async[_0x1c1719(0x3c1)](_0x104dc1){const _0x4c7acb=_0x1c1719;let _0x1455f6=await this[_0x4c7acb(0x2e1)]['requireSession'](_0x104dc1),_0x4e9301=this['_injector'][_0x4c7acb(0x477)](_0x19a0bb,_0x104dc1,_0x1455f6);return _0x4e9301[_0x4c7acb(0x469)](),_0x4e9301;}async[_0x1c1719(0x178)](_0x1fd659){const _0x422aff=_0x1c1719;let _0xb9128=await this[_0x422aff(0x2e1)][_0x422aff(0x13c)](_0x1fd659),_0x3b0ed7=this[_0x422aff(0x2b9)][_0x422aff(0x477)](_0x5c459a,_0x1fd659,_0xb9128);return _0x3b0ed7[_0x422aff(0x469)](),_0x3b0ed7;}};_0x416208=_0x4a62c9([_0x46a127(0x0,_0x2eb6ab[_0x1c1719(0x458)]),_0x46a127(0x1,(0x0,_0x2eb6ab['Inject'])(_0x2eb6ab[_0x1c1719(0x1cc)])),_0x46a127(0x2,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x298b58['CollaborationSessionService']))],_0x416208);let _0x5c2dd2=class extends _0x2eb6ab[_0x1c1719(0x2df)]{constructor(_0x413838,_0x21c8d9,_0x49c5e9){const _0x506a10=_0x1c1719;super(),this[_0x506a10(0x3eb)]=_0x413838,this[_0x506a10(0x2c5)]=_0x21c8d9,this['_themeService']=_0x49c5e9,_0x255b47(this,_0x506a10(0x1e7),new Set()),_0x255b47(this,_0x506a10(0x1a6),!0x1),_0x255b47(this,_0x506a10(0x133),!0x1),_0x255b47(this,_0x506a10(0x351),new Map()),this[_0x506a10(0x348)]();}['dispose'](){const _0x4a7980=_0x1c1719;this[_0x4a7980(0x24f)](),super[_0x4a7980(0x3b9)]();}[_0x1c1719(0x348)](){const _0x295bfc=_0x1c1719;let _0x3a2d7b=this['_collabCursorController']['getCollabCursors$'](this[_0x295bfc(0x3eb)]['unitId']);this[_0x295bfc(0x38f)]((0x0,_0x2eb6ab[_0x295bfc(0x48d)])((0x0,_0x40e05b[_0x295bfc(0x291)])([_0x3a2d7b,this[_0x295bfc(0x3eb)][_0x295bfc(0x3b4)]['theme$'],this[_0x295bfc(0x34c)]['currentTheme$']])[_0x295bfc(0x400)]((0x0,_0x40e05b['takeUntil'])(this[_0x295bfc(0x196)]))[_0x295bfc(0x490)](([_0x376d1d])=>{const _0x32c2fc=_0x295bfc;let _0x403c16=this[_0x32c2fc(0x3eb)]['unit'][_0x32c2fc(0x1e6)](),_0x5d4549=new Map();_0x376d1d[_0x32c2fc(0x230)]((_0x1b3e3e,_0x304bce)=>{const _0x2e6a48=_0x32c2fc;_0x1b3e3e[_0x2e6a48(0x39a)]===_0x403c16&&_0x5d4549['set'](_0x304bce,{..._0x1b3e3e,'color':this[_0x2e6a48(0x34c)][_0x2e6a48(0x156)](_0x1b3e3e[_0x2e6a48(0x428)])});}),this['_latestCursors']=_0x5d4549,this['_scheduleRender']();})));let _0x563f88=this[_0x295bfc(0x3eb)][_0x295bfc(0x36b)];this[_0x295bfc(0x38f)]((0x0,_0x2eb6ab[_0x295bfc(0x48d)])(_0x563f88[_0x295bfc(0x40f)][_0x295bfc(0x400)]((0x0,_0x40e05b[_0x295bfc(0x199)])(this[_0x295bfc(0x196)]))[_0x295bfc(0x490)](()=>{const _0x26e4ae=_0x295bfc;this[_0x26e4ae(0x133)]||this['_scheduleRender']();})));}['_scheduleRender'](){const _0x39221d=_0x1c1719;this[_0x39221d(0x1a6)]||(this[_0x39221d(0x1a6)]=!0x0,Promise['resolve']()['then'](()=>{const _0x24b051=_0x39221d;this[_0x24b051(0x1a6)]=!0x1,this[_0x24b051(0x439)]();}));}['_render'](){const _0x52420f=_0x1c1719;this[_0x52420f(0x24f)]();let _0x3a6f7a=this[_0x52420f(0x3eb)][_0x52420f(0x3b4)][_0x52420f(0x1e6)](),_0x4fe922=[];if(this[_0x52420f(0x351)][_0x52420f(0x230)]((_0x255d66,_0x3c6fcd)=>{const _0x43c7dd=_0x52420f;_0x255d66[_0x43c7dd(0x39a)]===_0x3a6f7a&&_0x255d66[_0x43c7dd(0x363)][_0x43c7dd(0x230)](_0x36b0aa=>{const _0x5245d2=_0x43c7dd;let _0x1995be=(0x0,_0x3a42a2[_0x5245d2(0x395)])(_0x255d66[_0x5245d2(0x329)],_0x36b0aa),_0xaade7=this[_0x5245d2(0x360)](_0x1995be);if(!_0xaade7)return;let _0x1bb057=this['_getObjectBounds'](_0xaade7);_0x4fe922[_0x5245d2(0x163)](new _0x1dcef1(_0x5245d2(0x247)+_0x3c6fcd+'-'+_0x36b0aa,{..._0x255d66,'left':_0x1bb057['left'],'top':_0x1bb057[_0x5245d2(0x168)],'width':_0x1bb057[_0x5245d2(0x2b2)],'height':_0x1bb057[_0x5245d2(0x3ac)],'angle':_0xaade7['angle'],'evented':!0x1,'zIndex':_0x4f472a}));});}),_0x4fe922[_0x52420f(0x496)]===0x0){this[_0x52420f(0x3eb)]['scene'][_0x52420f(0x2d7)](!0x0);return;}this[_0x52420f(0x133)]=!0x0,this[_0x52420f(0x3eb)]['scene']['addObjects'](_0x4fe922,_0x4f472a),this[_0x52420f(0x133)]=!0x1,this['_cursors']=new Set(_0x4fe922),this[_0x52420f(0x3eb)][_0x52420f(0x36b)][_0x52420f(0x2d7)](!0x0);}[_0x1c1719(0x24f)](){const _0x107784=_0x1c1719;let _0x13164d=Array[_0x107784(0x209)](this[_0x107784(0x1e7)]);if(_0x13164d['length']===0x0)return;let _0x19b61c=this[_0x107784(0x3eb)]['scene'];_0x107784(0x13a)in _0x19b61c&&typeof _0x19b61c[_0x107784(0x13a)]==_0x107784(0x390)?_0x19b61c[_0x107784(0x13a)](_0x13164d):_0x13164d['forEach'](_0x271a31=>{const _0x132d4f=_0x107784;_0x132d4f(0x153)in _0x19b61c&&typeof _0x19b61c[_0x132d4f(0x153)]==_0x132d4f(0x390)?_0x19b61c['removeObject'](_0x271a31):_0x271a31[_0x132d4f(0x3b9)]();}),this[_0x107784(0x1e7)]['clear'](),_0x19b61c['makeDirty'](!0x0);}[_0x1c1719(0x360)](_0x47cd07){const _0x397306=_0x1c1719;var _0x3d1cd6;let _0x3ae4d5=this['_context'][_0x397306(0x36b)];return((_0x3d1cd6=_0x3ae4d5['getObjectIncludeInGroup'])==null?void 0x0:_0x3d1cd6['call'](_0x3ae4d5,_0x47cd07))??_0x3ae4d5['getObject'](_0x47cd07)??null;}['_getObjectBounds'](_0x20cb2f){const _0x2ef0b4=_0x1c1719;var _0x37dbea;let _0x2bac73=_0x20cb2f;return((_0x37dbea=_0x2bac73[_0x2ef0b4(0x437)])==null?void 0x0:_0x37dbea[_0x2ef0b4(0x1c6)](_0x2bac73))??{'left':_0x20cb2f['left'],'top':_0x20cb2f['top'],'width':_0x20cb2f[_0x2ef0b4(0x2b2)],'height':_0x20cb2f[_0x2ef0b4(0x3ac)]};}};_0x5c2dd2=_0x4a62c9([_0x46a127(0x1,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x416208)),_0x46a127(0x2,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab[_0x1c1719(0x3f6)]))],_0x5c2dd2);let _0xfd0d31=_0x1c1719(0x331);var _0x356603=class{constructor(_0x3236b6,_0x3ff8ff,_0x24dad7,_0x361c33){const _0x20fec9=_0x1c1719;this[_0x20fec9(0x34e)]=_0x3236b6,this[_0x20fec9(0x281)]=_0x3ff8ff,this[_0x20fec9(0x132)]=_0x24dad7,this['_document']=_0x361c33,_0x255b47(this,_0x20fec9(0x25c),[]),_0x255b47(this,_0x20fec9(0x30e),null),_0x255b47(this,_0x20fec9(0x314),null),_0x255b47(this,_0x20fec9(0x24a),null),_0x255b47(this,_0x20fec9(0x282),null),_0x255b47(this,_0x20fec9(0x448),null),this[_0x20fec9(0x439)]();}set[_0x1c1719(0x472)](_0x324aad){const _0x5f5c1a=_0x1c1719;_0x324aad?(this[_0x5f5c1a(0x24a)]&&this['_anchorDot']['hide'](),this[_0x5f5c1a(0x314)]&&this[_0x5f5c1a(0x314)]['show']()):(this[_0x5f5c1a(0x24a)]&&this['_anchorDot']['show'](),this[_0x5f5c1a(0x314)]&&this['_textBubble'][_0x5f5c1a(0x1a3)]());}['dispose'](){const _0x5101a2=_0x1c1719;for(let _0xc8705d of this[_0x5101a2(0x25c)])_0xc8705d[_0x5101a2(0x3b9)]();this[_0x5101a2(0x314)]&&this[_0x5101a2(0x314)][_0x5101a2(0x3b9)](),this['_anchorDot']&&this[_0x5101a2(0x24a)][_0x5101a2(0x3b9)](),this[_0x5101a2(0x30e)]&&this[_0x5101a2(0x30e)][_0x5101a2(0x3b9)](),this[_0x5101a2(0x448)]&&this[_0x5101a2(0x448)]();}[_0x1c1719(0x439)](){const _0x4471ef=_0x1c1719;let {_docSkeleton:_0x45f40a,_document:_0x3059ea}=this,{color:_0x42cf1b,name:_0x147dc3,ranges:_0x4cd470}=this['_cursor'],_0x2c43b6=_0x3059ea[_0x4471ef(0x180)](),{docsLeft:_0x590671,docsTop:_0x5654bb}=_0x2c43b6,_0x129b0e=new _0x324cd9[(_0x4471ef(0x49c))](_0x2c43b6,_0x45f40a);for(let {startOffset:_0x20e71f,endOffset:_0x53ace1,rangeType:_0x5e63fc,segmentId:_0x32d6f8,segmentPage:_0x276cc7,collapsed:_0x237cd1,isActive:_0x4151a0}of _0x4cd470){let _0xfbd5c8=_0x45f40a[_0x4471ef(0x385)](_0x20e71f,!0x0,_0x32d6f8,_0x276cc7),_0x335729=_0x45f40a['findNodePositionByCharIndex'](_0x53ace1,!0x0,_0x32d6f8,_0x276cc7);if(_0x335729??=_0x45f40a['findNodePositionByCharIndex'](_0x53ace1-0x1,!0x1,_0x32d6f8,_0x276cc7),_0x4151a0){let {contentBoxPointGroup:_0x4ed5b9}=_0x129b0e[_0x4471ef(0x151)](_0x335729,_0x335729);if(_0x4ed5b9[_0x4471ef(0x496)]===0x0)continue;this['_drawAnchor'](_0x42cf1b,_0x4ed5b9,_0x590671,_0x5654bb,_0x147dc3),this[_0x4471ef(0x448)]=this[_0x4471ef(0x3fe)]();}if(_0xfbd5c8&&_0x335729){if(_0x5e63fc===_0x2eb6ab[_0x4471ef(0x3cc)][_0x4471ef(0x1ac)]){let {pointGroup:_0x5cee3f}=new _0x324cd9['NodePositionConvertToRectRange'](_0x2c43b6,_0x45f40a)[_0x4471ef(0x151)](_0xfbd5c8,_0x335729)??{};if(_0x5cee3f==null||_0x5cee3f[_0x4471ef(0x496)]===0x0)continue;this[_0x4471ef(0x229)](_0x42cf1b,_0x5cee3f,_0x590671,_0x5654bb);}else{if(!_0x237cd1){let {borderBoxPointGroup:_0x624787}=_0x129b0e[_0x4471ef(0x151)](_0xfbd5c8,_0x335729);if(_0x624787[_0x4471ef(0x496)]===0x0)continue;this[_0x4471ef(0x2de)](_0x42cf1b,_0x624787,_0x590671,_0x5654bb);}}}}}[_0x1c1719(0x478)](_0x564a38,_0x41cd0b,_0x1dbb36,_0x45803a,_0x2bc209){const _0x436e14=_0x1c1719;let {left:_0x1fd202,top:_0x22ca7f,height:_0x136049}=this[_0x436e14(0x1f1)](_0x41cd0b),_0x5bc431=1.5/this[_0x436e14(0x1b0)](),_0x303601=new _0x25f9de[(_0x436e14(0x236))](_0xfd0d31+(0x0,_0x2eb6ab[_0x436e14(0x350)])(0x6),{'left':_0x1fd202+_0x1dbb36-_0x5bc431,'top':_0x22ca7f+_0x45803a,'height':_0x136049,'width':1.5,'fill':_0x564a38||(0x0,_0x25f9de[_0x436e14(0x27e)])(_0x2eb6ab['COLORS'][_0x436e14(0x1a4)],0x0),'strokeWidth':_0x5bc431,'stroke':_0x436e14(0x187),'evented':!0x0});this[_0x436e14(0x30e)]=_0x303601,this[_0x436e14(0x281)][_0x436e14(0x29b)](_0x303601,_0x324cd9['TEXT_RANGE_LAYER_INDEX']);let _0x5c8b10=new _0x25f9de['Rect'](_0xfd0d31+(0x0,_0x2eb6ab[_0x436e14(0x350)])(0x6),{'left':_0x1fd202+_0x1dbb36-_0x5bc431,'top':_0x22ca7f+_0x45803a-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x564a38||(0x0,_0x25f9de[_0x436e14(0x27e)])(_0x2eb6ab['COLORS'][_0x436e14(0x1a4)],0x0),'strokeWidth':0x0,'stroke':_0x564a38||(0x0,_0x25f9de[_0x436e14(0x27e)])(_0x2eb6ab[_0x436e14(0x443)]['black'],0x0),'evented':!0x1});this[_0x436e14(0x24a)]=_0x5c8b10,this['_scene'][_0x436e14(0x29b)](_0x5c8b10,_0x324cd9[_0x436e14(0x2a3)]);let _0x4bd920=new _0x128df7(_0xfd0d31+(0x0,_0x2eb6ab[_0x436e14(0x350)])(0x6),{'left':_0x1fd202+_0x1dbb36-_0x5bc431,'top':_0x22ca7f+_0x45803a-0x14,'text':_0x2bc209,'color':_0x564a38});this[_0x436e14(0x314)]=_0x4bd920,this[_0x436e14(0x281)][_0x436e14(0x29b)](_0x4bd920,_0x324cd9[_0x436e14(0x2a3)]),this[_0x436e14(0x472)]=!0x1;}['_handleHover'](){const _0x5e4420=_0x1c1719;let _0x1da13c=this[_0x5e4420(0x30e)][_0x5e4420(0x1f0)][_0x5e4420(0x16f)](()=>{const _0x13c0ad=_0x5e4420;this[_0x13c0ad(0x472)]=!0x0;}),_0x36a689=this[_0x5e4420(0x30e)][_0x5e4420(0x1b1)][_0x5e4420(0x16f)](()=>{const _0x5eef10=_0x5e4420;this[_0x5eef10(0x282)]&&clearTimeout(this[_0x5eef10(0x282)]),this[_0x5eef10(0x282)]=setTimeout(()=>{const _0x4db2aa=_0x5eef10;this[_0x4db2aa(0x472)]=!0x1;},0x7d0);});return()=>{const _0x1cee15=_0x5e4420;_0x1da13c[_0x1cee15(0x382)](),_0x36a689[_0x1cee15(0x382)]();};}['_drawTextRange'](_0x48f391,_0x10bfe4,_0x4f0ae2,_0x337ef9){const _0x12bfb2=_0x1c1719;let _0x46aed4=0.2,_0x2af790=new _0x2eb6ab[(_0x12bfb2(0x3a0))](_0x48f391)[_0x12bfb2(0x35f)](_0x46aed4)[_0x12bfb2(0x2c4)](),_0x3b5435=new _0x25f9de['RegularPolygon'](_0x12bfb2(0x2e8)+(0x0,_0x2eb6ab[_0x12bfb2(0x350)])(0x6),{'pointsGroup':_0x10bfe4,'fill':_0x2af790||(0x0,_0x25f9de[_0x12bfb2(0x27e)])(_0x2eb6ab[_0x12bfb2(0x443)][_0x12bfb2(0x1a4)],_0x46aed4),'left':_0x4f0ae2,'top':_0x337ef9,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x3b5435),this[_0x12bfb2(0x281)][_0x12bfb2(0x29b)](_0x3b5435,_0x324cd9[_0x12bfb2(0x2a3)]);}[_0x1c1719(0x229)](_0x2c9b4a,_0x165081,_0x79f15c,_0x258edc){const _0x1ff0b6=_0x1c1719;let _0x4c0867=0.2,_0x46c0e0=new _0x2eb6ab[(_0x1ff0b6(0x3a0))](_0x2c9b4a)['setAlpha'](_0x4c0867)[_0x1ff0b6(0x2c4)](),_0x44beae=new _0x25f9de[(_0x1ff0b6(0x137))](_0x1ff0b6(0x2db)+(0x0,_0x2eb6ab[_0x1ff0b6(0x350)])(0x6),{'pointsGroup':_0x165081,'fill':_0x46c0e0||(0x0,_0x25f9de[_0x1ff0b6(0x27e)])(_0x2eb6ab[_0x1ff0b6(0x443)][_0x1ff0b6(0x1a4)],_0x4c0867),'left':_0x79f15c,'top':_0x258edc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1ff0b6(0x25c)][_0x1ff0b6(0x163)](_0x44beae),this[_0x1ff0b6(0x281)]['addObject'](_0x44beae,_0x324cd9[_0x1ff0b6(0x2a3)]);}[_0x1c1719(0x1f1)](_0x32ff4a){let _0xedb3e2=_0x32ff4a[0x0],_0x592b61=_0xedb3e2[0x0],_0x7b23e0=_0xedb3e2[0x2],{x:_0x4abe6d,y:_0x106cff}=_0x592b61,{x:_0x113104,y:_0x196a7e}=_0x7b23e0;return{'left':_0x4abe6d,'top':_0x106cff,'width':_0x113104-_0x4abe6d,'height':_0x196a7e-_0x106cff};}[_0x1c1719(0x1b0)](){const _0x287fdb=_0x1c1719;let {scaleX:_0xbe0dd2,scaleY:_0x43134f}=this[_0x287fdb(0x281)][_0x287fdb(0x32b)]();return Math[_0x287fdb(0x3b5)](_0xbe0dd2,_0x43134f);}};let _0x28f999=class extends _0x2eb6ab[_0x1c1719(0x2df)]{constructor(_0x2a093d,_0x437d2e,_0x65d718,_0x39f129,_0x5cd4a8){const _0x64a821=_0x1c1719;super(),this[_0x64a821(0x3eb)]=_0x2a093d,this[_0x64a821(0x45e)]=_0x437d2e,this['_collabCursorController']=_0x65d718,this['_commandService']=_0x39f129,this[_0x64a821(0x34c)]=_0x5cd4a8,_0x255b47(this,'_cursorShapes',[]),_0x255b47(this,_0x64a821(0x1e7),[]),this[_0x64a821(0x348)]();}['_init'](){const _0x159838=_0x1c1719;let _0x566577=this[_0x159838(0x3eb)][_0x159838(0x329)],_0x924d18=this[_0x159838(0x45e)];this[_0x159838(0x38f)]((0x0,_0x40e05b[_0x159838(0x291)])([this[_0x159838(0x2c5)][_0x159838(0x1d5)](_0x566577),this[_0x159838(0x34c)]['currentTheme$']])[_0x159838(0x400)]((0x0,_0xea2723[_0x159838(0x177)])(([_0x1d2eb8,_0x3fcc71])=>({'skeleton':_0x924d18['getSkeleton'](),'cursors':[..._0x1d2eb8[_0x159838(0x463)]()][_0x159838(0x3da)](_0x2fd199=>({..._0x2fd199,'color':this[_0x159838(0x34c)][_0x159838(0x156)](_0x2fd199[_0x159838(0x428)])}))})))[_0x159838(0x490)](_0xfdb029=>{const _0x5d2572=_0x159838;if(this[_0x5d2572(0x24f)](),_0xfdb029){let {skeleton:_0xbd9537,cursors:_0x182b5e}=_0xfdb029;this['_updateCollabCursors'](_0xbd9537,_0x182b5e);}})),this[_0x159838(0x2bf)](),this[_0x159838(0x261)]();}[_0x1c1719(0x3a5)](_0x3d3551,_0x15b040){const _0x23b734=_0x1c1719;let {scene:_0x5108e5,mainComponent:_0x3a860b}=this[_0x23b734(0x3eb)],_0x350eb0=_0x15b040[_0x23b734(0x177)](_0x338431=>new _0x356603(_0x338431,_0x5108e5,_0x3d3551,_0x3a860b));this['_cursorShapes']=_0x350eb0,this[_0x23b734(0x1e7)]=_0x15b040;}['_refreshCollabCursors'](){const _0x3e349e=_0x1c1719;this[_0x3e349e(0x24f)]();let {scene:_0x1426ec,mainComponent:_0x269f23}=this[_0x3e349e(0x3eb)],_0x5974b6=this[_0x3e349e(0x45e)][_0x3e349e(0x29d)](),_0x561a92=this['_cursors'][_0x3e349e(0x177)](_0x3cf02b=>new _0x356603(_0x3cf02b,_0x1426ec,_0x5974b6,_0x269f23));this[_0x3e349e(0x38b)]=_0x561a92;}['_removeCollabCursors'](){const _0x4c7f5b=_0x1c1719;this[_0x4c7f5b(0x38b)][_0x4c7f5b(0x230)](_0x4e58a8=>_0x4e58a8['dispose']()),this[_0x4c7f5b(0x38b)]=[];}[_0x1c1719(0x261)](){const _0x4dcfc7=_0x1c1719;let _0x3d759c=[_0x324cd9['SetDocZoomRatioOperation']['id']];this[_0x4dcfc7(0x38f)](this[_0x4dcfc7(0x244)][_0x4dcfc7(0x32e)](_0x1fe3ac=>{const _0x2201e2=_0x4dcfc7;_0x3d759c[_0x2201e2(0x3b1)](_0x1fe3ac['id'])&&_0x1fe3ac['params'][_0x2201e2(0x329)]===this[_0x2201e2(0x3eb)][_0x2201e2(0x329)]&&this[_0x2201e2(0x1c4)]();}));}[_0x1c1719(0x2bf)](){const _0x3e2bd8=_0x1c1719;this[_0x3e2bd8(0x38f)]((0x0,_0x2eb6ab[_0x3e2bd8(0x213)])(this[_0x3e2bd8(0x3eb)][_0x3e2bd8(0x305)][_0x3e2bd8(0x155)])[_0x3e2bd8(0x400)]((0x0,_0xea2723[_0x3e2bd8(0x440)])(_0x1dc86b=>_0x1dc86b[_0x3e2bd8(0x1a9)]===_0x25f9de[_0x3e2bd8(0x2b1)][_0x3e2bd8(0x33b)]),(0x0,_0xea2723[_0x3e2bd8(0x31e)])(0x10))[_0x3e2bd8(0x490)](()=>{this['_refreshCollabCursors']();}));}};_0x28f999=_0x4a62c9([_0x46a127(0x1,(0x0,_0x2eb6ab['Inject'])(_0x4d4b92[_0x1c1719(0x18d)])),_0x46a127(0x2,(0x0,_0x2eb6ab['Inject'])(_0x416208)),_0x46a127(0x3,_0x2eb6ab[_0x1c1719(0x3e2)]),_0x46a127(0x4,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab['ThemeService']))],_0x28f999);var _0x1e8728=class extends _0x25f9de['Shape']{constructor(_0x15b8ad,_0x3051b4){const _0x185b23=_0x1c1719;super(_0x15b8ad,_0x3051b4),_0x255b47(this,_0x185b23(0x294),void 0x0),_0x255b47(this,_0x185b23(0x17d),!0x1),_0x255b47(this,'_range',void 0x0),_0x255b47(this,_0x185b23(0x203),''),_0x255b47(this,_0x185b23(0x42b),'top'),_0x255b47(this,_0x185b23(0x40a),void 0x0),_0x255b47(this,_0x185b23(0x2ad),void 0x0),_0x255b47(this,_0x185b23(0x3c6),void 0x0),_0x255b47(this,_0x185b23(0x406),0x4),_0x255b47(this,_0x185b23(0x37d),void 0x0),_0x255b47(this,_0x185b23(0x324),void 0x0),_0x255b47(this,_0x185b23(0x1fa),!0x0),_0x255b47(this,_0x185b23(0x2ec),0x0),_0x255b47(this,_0x185b23(0x3ab),_0x185b23(0x1b2)),_0x3051b4&&(this[_0x185b23(0x1e3)](_0x3051b4),_0x3051b4[_0x185b23(0x2c8)]&&(_0x3051b4['highlightSecond']??this[_0x185b23(0x406)])&&this[_0x185b23(0x48a)](_0x3051b4[_0x185b23(0x25e)]??this[_0x185b23(0x406)])),this[_0x185b23(0x1f0)]['subscribeEvent'](()=>this[_0x185b23(0x1e3)]({'hovered':!0x0})),this[_0x185b23(0x1b1)][_0x185b23(0x16f)](()=>this[_0x185b23(0x1e3)]({'hovered':!0x1}));}['setOffsetY'](_0x429f4c){const _0x4e80e3=_0x1c1719;this[_0x4e80e3(0x2ec)]=_0x429f4c;}[_0x1c1719(0x1e3)](_0x2de856){const _0x156b0a=_0x1c1719;this['_color']=_0x2de856[_0x156b0a(0x428)]??this[_0x156b0a(0x294)],this[_0x156b0a(0x17d)]=_0x2de856[_0x156b0a(0x46d)]??this[_0x156b0a(0x17d)],this[_0x156b0a(0x13b)]=_0x2de856[_0x156b0a(0x383)]??this[_0x156b0a(0x13b)],this['_name']=_0x2de856['name']??this[_0x156b0a(0x203)],this[_0x156b0a(0x42b)]=_0x2de856[_0x156b0a(0x48e)]??this[_0x156b0a(0x42b)],this[_0x156b0a(0x40a)]=_0x2de856[_0x156b0a(0x142)]??this[_0x156b0a(0x40a)],this[_0x156b0a(0x2ad)]=_0x2de856[_0x156b0a(0x35d)]??this[_0x156b0a(0x2ad)],this[_0x156b0a(0x3ab)]=_0x2de856[_0x156b0a(0x3d0)]??this['_labelHorizontalPosition'],_0x2de856['highlightSecond']!==void 0x0&&(this[_0x156b0a(0x406)]=_0x2de856[_0x156b0a(0x25e)]),_0x2de856[_0x156b0a(0x2c8)]!==void 0x0&&(this[_0x156b0a(0x3c6)]=_0x2de856[_0x156b0a(0x2c8)]),_0x2de856[_0x156b0a(0x2f3)]!==void 0x0&&(this[_0x156b0a(0x2ec)]=_0x2de856[_0x156b0a(0x2f3)]),this[_0x156b0a(0x232)]({'width':_0x2de856[_0x156b0a(0x2b2)],'height':_0x2de856[_0x156b0a(0x3ac)]});}[_0x1c1719(0x3f1)](_0x4857df){const _0x256c6a=_0x1c1719;let {row:_0x51bd89,column:_0x3efea5}=_0x4857df;if(_0x51bd89>=this['_range'][_0x256c6a(0x250)]&&_0x51bd89<=this[_0x256c6a(0x13b)]['endRow']&&_0x3efea5>=this[_0x256c6a(0x13b)][_0x256c6a(0x420)]&&_0x3efea5<=this[_0x256c6a(0x13b)][_0x256c6a(0x219)]){this[_0x256c6a(0x1e3)]({'hovered':!0x0});return;}this[_0x256c6a(0x1e3)]({'hovered':!0x1});}[_0x1c1719(0x48a)](_0x58396b){const _0x25b55d=_0x1c1719;this[_0x25b55d(0x33a)](),this[_0x25b55d(0x1fa)]=!0x0,this['_blinkIntervalTimer']=window['setInterval'](()=>{const _0x4426f9=_0x25b55d;this[_0x4426f9(0x1fa)]=!this[_0x4426f9(0x1fa)],this['makeDirty'](!0x0);},0x1f4),this['_blinkTimer']=window['setTimeout'](()=>{const _0x45eb36=_0x25b55d;this[_0x45eb36(0x33a)](),this[_0x45eb36(0x1fa)]=!0x0,this[_0x45eb36(0x2d7)](!0x0);},_0x58396b*0x3e8);}['_stopBlinking'](){const _0x5ee4e6=_0x1c1719;this[_0x5ee4e6(0x324)]&&=(window[_0x5ee4e6(0x21b)](this[_0x5ee4e6(0x324)]),void 0x0),this[_0x5ee4e6(0x37d)]&&=(window[_0x5ee4e6(0x1bd)](this[_0x5ee4e6(0x37d)]),void 0x0);}['triggerDblclick'](_0x24fd02){return!0x1;}['dispose'](){const _0x153983=_0x1c1719;this[_0x153983(0x33a)](),super[_0x153983(0x3b9)]();}[_0x1c1719(0x2a5)](_0x7cf186){const _0x220074=_0x1c1719;let _0x4fa9bf=this[_0x220074(0x294)],_0x46504e=this['_backgroundColor'];if(this[_0x220074(0x3c6)]&&!this['_isBlinkVisible']&&(_0x4fa9bf=this[_0x220074(0x404)](this[_0x220074(0x294)]),_0x46504e=this[_0x220074(0x40a)]?this[_0x220074(0x404)](this[_0x220074(0x40a)]):void 0x0),_0x25f9de[_0x220074(0x236)][_0x220074(0x1b8)](_0x7cf186,{'width':this[_0x220074(0x2b2)],'height':this['height'],'strokeWidth':this[_0x220074(0x474)]||1.5,'stroke':_0x4fa9bf,'evented':!0x1,'fill':_0x46504e}),this[_0x220074(0x17d)]||this[_0x220074(0x2ad)]){_0x7cf186[_0x220074(0x1f4)]();let _0x132400=this[_0x220074(0x3ab)]===_0x220074(0x2d3)?-_0x4c3418(_0x7cf186,this[_0x220074(0x203)]):this[_0x220074(0x2b2)];_0x7cf186[_0x220074(0x49b)](0x1,0x0,0x0,0x1,_0x132400,(this['_labelPosition']===_0x220074(0x3df)?0x0:-0x14)+(this[_0x220074(0x2ec)]??0x0)),_0x128df7[_0x220074(0x1b8)](_0x7cf186,{'text':this[_0x220074(0x203)],'color':_0x4fa9bf}),_0x7cf186[_0x220074(0x2cf)]();}}[_0x1c1719(0x404)](_0x51f3a8){const _0x230588=_0x1c1719;return _0x51f3a8[_0x230588(0x12c)]('#')?_0x230588(0x41d)+Number['parseInt'](_0x51f3a8[_0x230588(0x2ca)](0x1,0x3),0x10)+',\x20'+Number[_0x230588(0x233)](_0x51f3a8[_0x230588(0x2ca)](0x3,0x5),0x10)+',\x20'+Number[_0x230588(0x233)](_0x51f3a8[_0x230588(0x2ca)](0x5,0x7),0x10)+_0x230588(0x36e):_0x51f3a8['startsWith']('rgba')?_0x51f3a8[_0x230588(0x16d)](/[\d.]+\)$/g,_0x230588(0x3dd)):_0x51f3a8[_0x230588(0x12c)](_0x230588(0x20a))?_0x51f3a8[_0x230588(0x16d)](_0x230588(0x20a),_0x230588(0x3a7))[_0x230588(0x16d)](')',_0x230588(0x36e)):_0x51f3a8;}};let _0x42dc76=class extends _0x2eb6ab[_0x1c1719(0x2df)]{constructor(_0x2f77d6,_0x477f9a,_0x335776,_0x4dc96d){const _0x2230ed=_0x1c1719;super(),this['_context']=_0x2f77d6,this[_0x2230ed(0x1cb)]=_0x477f9a,this[_0x2230ed(0x2c5)]=_0x335776,this[_0x2230ed(0x34c)]=_0x4dc96d,_0x255b47(this,'_cursors',new Set()),_0x255b47(this,_0x2230ed(0x246),null),_0x255b47(this,_0x2230ed(0x21f),null),this['_init']();}[_0x1c1719(0x348)](){const _0x2d030a=_0x1c1719;this[_0x2d030a(0x1cb)][_0x2d030a(0x3a4)]['pipe']((0x0,_0xea2723[_0x2d030a(0x199)])(this[_0x2d030a(0x196)]),(0x0,_0xea2723['switchMap'])(_0x20c240=>{const _0x455ea7=_0x2d030a;if(_0x20c240){let _0x204de8=_0x20c240[_0x455ea7(0x3d3)];return(0x0,_0x40e05b[_0x455ea7(0x291)])(this[_0x455ea7(0x2c5)][_0x455ea7(0x1d5)](this['_context']['unitId']),this[_0x455ea7(0x34c)][_0x455ea7(0x3ea)])['pipe']((0x0,_0xea2723[_0x455ea7(0x177)])(([_0x2e61a9,_0x264631])=>{let _0x17a170=new Map();return _0x2e61a9['forEach']((_0x286549,_0x51d913)=>{const _0x203b4a=_0x5e0e;if(_0x286549['sheetID']===_0x204de8){let _0x558545={..._0x286549};_0x558545[_0x203b4a(0x428)]=this[_0x203b4a(0x34c)][_0x203b4a(0x156)](_0x286549[_0x203b4a(0x428)]),_0x17a170[_0x203b4a(0x2f8)](_0x51d913,_0x558545);}}),{'skeleton':_0x20c240,'cursors':_0x17a170};}));}return(0x0,_0x40e05b['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x21b809,cursors:_0x4f8172})=>{const _0x2628bb=_0x2d030a;this[_0x2628bb(0x24f)](),_0x21b809&&this[_0x2628bb(0x3a5)](_0x21b809,_0x4f8172);}),this[_0x2d030a(0x38f)](this[_0x2d030a(0x1cb)][_0x2d030a(0x3a4)][_0x2d030a(0x400)]((0x0,_0xea2723[_0x2d030a(0x199)])(this[_0x2d030a(0x196)]))[_0x2d030a(0x490)](_0x1209d6=>{const _0x157389=_0x2d030a;var _0x268fcc;if(_0x1209d6==null)return;(_0x268fcc=this[_0x157389(0x21f)])==null||_0x268fcc[_0x157389(0x382)](),this[_0x157389(0x21f)]=null;let {skeleton:_0x2c5536}=_0x1209d6,{scene:_0x6ce667}=this[_0x157389(0x3eb)];this[_0x157389(0x21f)]=_0x6ce667[_0x157389(0x3f9)][_0x157389(0x16f)]((0x0,_0x2eb6ab[_0x157389(0x495)])(_0x3d4f35=>{const _0x180294=_0x157389;var _0x5d7340,_0x2759ec;let {offsetX:_0x498f53,offsetY:_0x44de10}=_0x3d4f35,{x:_0x22d8ef,y:_0x3e687c}=_0x6ce667['getCoordRelativeToViewport'](_0x25f9de[_0x180294(0x20b)]['FromArray']([_0x498f53,_0x44de10])),{scaleX:_0x1d627f,scaleY:_0x3dacdf}=_0x6ce667[_0x180294(0x32b)](),_0x2675e7=_0x6ce667[_0x180294(0x358)](_0x25f9de[_0x180294(0x31b)]['VIEW_MAIN']),_0x5ed1d6=_0x6ce667['getScrollXYInfoByViewport'](_0x25f9de['Vector2'][_0x180294(0x365)]([_0x22d8ef,_0x3e687c]),_0x2675e7),_0x5ebecf=_0x2c5536[_0x180294(0x1f8)](_0x498f53,_0x44de10,_0x1d627f,_0x3dacdf,_0x5ed1d6);(((_0x5d7340=this[_0x180294(0x246)])==null?void 0x0:_0x5d7340[_0x180294(0x33e)])!==_0x5ebecf[_0x180294(0x33e)]||((_0x2759ec=this[_0x180294(0x246)])==null?void 0x0:_0x2759ec['row'])!==_0x5ebecf[_0x180294(0x1c9)])&&this[_0x180294(0x1e7)][_0x180294(0x230)](_0x21053a=>{_0x21053a['onMouseMove'](_0x5ebecf);});},0x64));})),this[_0x2d030a(0x38f)]((0x0,_0x2eb6ab[_0x2d030a(0x48d)])(()=>{const _0x2be952=_0x2d030a;var _0x4b3848;(_0x4b3848=this['_pointerMoveDisposable'])==null||_0x4b3848[_0x2be952(0x382)](),this[_0x2be952(0x21f)]=null;}));}[_0x1c1719(0x3a5)](_0x488009,_0x562226){const _0x14c0bb=_0x1c1719;let _0x1f5419=this[_0x14c0bb(0x1cb)][_0x14c0bb(0x27f)]();if(!_0x1f5419)return;let _0x287b71=this['_getSheetObject']();if(!_0x287b71)return;this[_0x14c0bb(0x1e7)]['forEach'](_0x20a8ea=>{const _0x417186=_0x14c0bb;_0x20a8ea[_0x417186(0x2d7)]();});let {scene:_0x2f9afd}=_0x287b71,_0x18cb91=_0x1454e3(Array[_0x14c0bb(0x209)](_0x562226[_0x14c0bb(0x463)]()))[_0x14c0bb(0x177)](_0xd68c65=>{const _0x4c8e2f=_0x14c0bb;let {color:_0x24c77d,range:_0x2e0ef6,name:_0x4d41cb,selection:_0x5e4e55,sheetID:_0x55292f}=_0xd68c65,{startColumn:_0x2d1ea8,startRow:_0x5a635c,endColumn:_0x588446,endRow:_0x3cc0c9}=_0x2e0ef6,_0x17cd77=(0x0,_0x31c46a['getCoordByCell'])(_0x5a635c,_0x2d1ea8,_0x2f9afd,_0x1f5419),_0xe605ee=(0x0,_0x31c46a[_0x4c8e2f(0x201)])(_0x3cc0c9,_0x588446,_0x2f9afd,_0x1f5419),{columnHeaderHeightAndMarginTop:_0x30a5d7}=_0x1f5419,{startX:_0x533a13,startY:_0x2af1f5}=_0x17cd77,{endX:_0x4a804d,endY:_0x43d667}=_0xe605ee,_0x3ac41e=_0x4a804d-_0x533a13,_0x14165e=_0x43d667-_0x2af1f5;return new _0x1e8728(_0x4d41cb,{'labelPosition':_0x2af1f5-_0x30a5d7>=0x14?_0x4c8e2f(0x168):'bottom','sheetID':_0x55292f,'range':_0x2e0ef6,'color':_0x24c77d,'name':_0x4d41cb,'selection':_0x5e4e55,'left':_0x533a13,'top':_0x2af1f5,'width':_0x3ac41e,'height':_0x14165e,'evented':!0x1,'zIndex':0x1389});});_0x2f9afd[_0x14c0bb(0x391)](_0x18cb91,0x1),this[_0x14c0bb(0x1e7)]=new Set(_0x18cb91);}[_0x1c1719(0x24f)](){const _0x3488f8=_0x1c1719;var _0xa1ad85;(_0xa1ad85=this[_0x3488f8(0x1e7)])==null||_0xa1ad85[_0x3488f8(0x230)](_0x177531=>_0x177531[_0x3488f8(0x3b9)]());}[_0x1c1719(0x44d)](){const _0xb31ec3=_0x1c1719;return(0x0,_0x31c46a[_0xb31ec3(0x444)])(this[_0xb31ec3(0x3eb)][_0xb31ec3(0x3b4)],this[_0xb31ec3(0x3eb)]);}};_0x42dc76=_0x4a62c9([_0x46a127(0x1,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x31c46a[_0x1c1719(0x42d)])),_0x46a127(0x2,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x416208)),_0x46a127(0x3,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab[_0x1c1719(0x3f6)]))],_0x42dc76);function _0x1454e3(_0x1035a0){const _0x235830=_0x1c1719;let _0x347b83=new Map();return _0x1035a0[_0x235830(0x230)](_0x514d4c=>{const _0x482617=_0x235830;if(_0x347b83[_0x482617(0x295)](_0x514d4c[_0x482617(0x2f6)])){let _0xa340c7=_0x347b83[_0x482617(0x397)](_0x514d4c[_0x482617(0x2f6)]);_0xa340c7[_0x482617(0x223)]+=',\x20'+_0x514d4c[_0x482617(0x223)];}else _0x347b83['set'](_0x514d4c[_0x482617(0x2f6)],_0x514d4c);}),Array['from'](_0x347b83[_0x235830(0x463)]());}let _0x44d58d=class extends _0x2eb6ab['RxDisposable']{constructor(_0x59583f,_0x385b46,_0x3d6170){const _0xa2a2a6=_0x1c1719;super(),this[_0xa2a2a6(0x3eb)]=_0x59583f,this[_0xa2a2a6(0x2c5)]=_0x385b46,this[_0xa2a2a6(0x34c)]=_0x3d6170,_0x255b47(this,'_cursors',new Set()),_0x255b47(this,_0xa2a2a6(0x1a6),!0x1),_0x255b47(this,'_isApplyingOverlays',!0x1),_0x255b47(this,_0xa2a2a6(0x351),new Map()),this[_0xa2a2a6(0x348)]();}['dispose'](){const _0x43263e=_0x1c1719;this[_0x43263e(0x24f)](),super[_0x43263e(0x3b9)]();}[_0x1c1719(0x348)](){const _0x4b78bb=_0x1c1719;let _0x41db29=this[_0x4b78bb(0x3eb)]['unit'][_0x4b78bb(0x194)][_0x4b78bb(0x183)],_0x13cf19=this['_collabCursorController'][_0x4b78bb(0x1d5)](this[_0x4b78bb(0x3eb)][_0x4b78bb(0x329)]);this['disposeWithMe']((0x0,_0x2eb6ab[_0x4b78bb(0x48d)])((0x0,_0x40e05b[_0x4b78bb(0x291)])([_0x13cf19,_0x41db29,this['_themeService'][_0x4b78bb(0x3ea)]])[_0x4b78bb(0x400)]((0x0,_0x40e05b['takeUntil'])(this[_0x4b78bb(0x196)]))[_0x4b78bb(0x490)](([_0x436d26,_0x2bab39])=>{const _0x95634f=_0x4b78bb;let _0x405222=new Map();_0x436d26[_0x95634f(0x230)]((_0x5a968c,_0x4ffe55)=>{const _0xd8410a=_0x95634f;_0x5a968c[_0xd8410a(0x39a)]===_0x2bab39&&_0x405222['set'](_0x4ffe55,{..._0x5a968c,'color':this['_themeService']['getColorFromTheme'](_0x5a968c[_0xd8410a(0x428)])});}),this['_latestCursors']=_0x405222,this[_0x95634f(0x2a4)]();})));let _0x3355f1=this['_context']['scene'];this[_0x4b78bb(0x38f)]((0x0,_0x2eb6ab[_0x4b78bb(0x48d)])(_0x3355f1[_0x4b78bb(0x40f)][_0x4b78bb(0x400)]((0x0,_0x40e05b[_0x4b78bb(0x199)])(this[_0x4b78bb(0x196)]))['subscribe'](()=>{const _0x38ce53=_0x4b78bb;this['_isApplyingOverlays']||this[_0x38ce53(0x2a4)]();})));}[_0x1c1719(0x2a4)](){const _0x50866c=_0x1c1719;this[_0x50866c(0x1a6)]||(this[_0x50866c(0x1a6)]=!0x0,Promise[_0x50866c(0x283)]()['then'](()=>{const _0x1814f5=_0x50866c;this[_0x1814f5(0x1a6)]=!0x1,this[_0x1814f5(0x439)]();}));}[_0x1c1719(0x439)](){const _0x13db34=_0x1c1719;var _0x12334b;this[_0x13db34(0x24f)]();let _0x335b83=(_0x12334b=this[_0x13db34(0x3eb)][_0x13db34(0x3b4)][_0x13db34(0x194)][_0x13db34(0x2f9)]())==null?void 0x0:_0x12334b[_0x13db34(0x224)]();if(!_0x335b83)return;let _0x4394af=[];if(this[_0x13db34(0x351)][_0x13db34(0x230)]((_0x25dde4,_0x537ff5)=>{const _0x483fcf=_0x13db34;_0x25dde4[_0x483fcf(0x39a)]===_0x335b83&&_0x25dde4[_0x483fcf(0x363)][_0x483fcf(0x230)](_0x4de14b=>{const _0x92767=_0x483fcf;let _0x147721=(0x0,_0x593eff[_0x92767(0x2ab)])(_0x25dde4[_0x92767(0x329)],_0x25dde4['subUnitId'],_0x4de14b),_0x3d05d2=this['_getSceneObjectByKey'](_0x147721);if(!_0x3d05d2)return;let _0x3ed10f=this['_getObjectBounds'](_0x3d05d2);_0x4394af[_0x92767(0x163)](new _0x1dcef1(_0x92767(0x447)+_0x537ff5+'-'+_0x4de14b,{..._0x25dde4,'left':_0x3ed10f[_0x92767(0x2d3)],'top':_0x3ed10f[_0x92767(0x168)],'width':_0x3ed10f[_0x92767(0x2b2)],'height':_0x3ed10f[_0x92767(0x3ac)],'angle':_0x3d05d2[_0x92767(0x398)],'evented':!0x1,'zIndex':_0x4f472a}));});}),_0x4394af[_0x13db34(0x496)]===0x0){this[_0x13db34(0x3eb)]['scene'][_0x13db34(0x2d7)](!0x0);return;}this[_0x13db34(0x133)]=!0x0,this[_0x13db34(0x3eb)][_0x13db34(0x36b)][_0x13db34(0x391)](_0x4394af,_0x4f472a),this[_0x13db34(0x133)]=!0x1,this['_cursors']=new Set(_0x4394af),this['_context'][_0x13db34(0x36b)]['makeDirty'](!0x0);}[_0x1c1719(0x24f)](){const _0x54ca57=_0x1c1719;let _0x51d18f=Array[_0x54ca57(0x209)](this['_cursors']);if(_0x51d18f[_0x54ca57(0x496)]===0x0)return;let _0x176b5e=this[_0x54ca57(0x3eb)]['scene'];_0x54ca57(0x13a)in _0x176b5e&&typeof _0x176b5e[_0x54ca57(0x13a)]==_0x54ca57(0x390)?_0x176b5e[_0x54ca57(0x13a)](_0x51d18f):_0x51d18f['forEach'](_0x16c4a5=>{const _0x3e910d=_0x54ca57;_0x3e910d(0x153)in _0x176b5e&&typeof _0x176b5e['removeObject']==_0x3e910d(0x390)?_0x176b5e[_0x3e910d(0x153)](_0x16c4a5):_0x16c4a5[_0x3e910d(0x3b9)]();}),this[_0x54ca57(0x1e7)]['clear'](),_0x176b5e[_0x54ca57(0x2d7)](!0x0);}['_getSceneObjectByKey'](_0x1bcedb){const _0x10d097=_0x1c1719;var _0x31e7ec;let _0xebc9ba=this[_0x10d097(0x3eb)]['scene'];return((_0x31e7ec=_0xebc9ba[_0x10d097(0x158)])==null?void 0x0:_0x31e7ec[_0x10d097(0x1c6)](_0xebc9ba,_0x1bcedb))??_0xebc9ba['getObject'](_0x1bcedb)??null;}[_0x1c1719(0x15e)](_0x25e503){const _0x4a7ea5=_0x1c1719;var _0x176207;let _0x3b2e8d=_0x25e503;return((_0x176207=_0x3b2e8d['getRealBound'])==null?void 0x0:_0x176207[_0x4a7ea5(0x1c6)](_0x3b2e8d))??{'left':_0x25e503[_0x4a7ea5(0x2d3)],'top':_0x25e503[_0x4a7ea5(0x168)],'width':_0x25e503['width'],'height':_0x25e503[_0x4a7ea5(0x3ac)]};}};_0x44d58d=_0x4a62c9([_0x46a127(0x1,(0x0,_0x2eb6ab['Inject'])(_0x416208)),_0x46a127(0x2,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab['ThemeService']))],_0x44d58d);let _0xfc7bfd=class extends _0x2eb6ab[_0x1c1719(0x285)]{constructor(_0xe3363f,_0x3d1fc9,_0x4c1a69,_0x485c46,_0x401579,_0x33e88a){const _0x28468e=_0x1c1719;super(),this[_0x28468e(0x3fa)]=_0xe3363f,this['_localCacheService']=_0x3d1fc9,this[_0x28468e(0x35b)]=_0x4c1a69,this[_0x28468e(0x3b6)]=_0x485c46,this[_0x28468e(0x456)]=_0x401579,this[_0x28468e(0x491)]=_0x33e88a,this[_0x28468e(0x13e)](),this['_initEvent']();}[_0x1c1719(0x13e)](){const _0x234c6f=_0x1c1719;this['disposeWithMe'](this['_beforeCloseService'][_0x234c6f(0x2e7)](()=>{const _0x179abd=_0x234c6f;if(this['_localCacheService']['saveTaskMap'][_0x179abd(0x2e3)])return this['_localeService']['t'](_0x179abd(0x3f0));}));}[_0x1c1719(0x23b)](){const _0x4d4d34=_0x1c1719;this[_0x4d4d34(0x38f)](this[_0x4d4d34(0x35b)]['event$'][_0x4d4d34(0x490)](_0x199391=>{const _0x20e7e5=_0x4d4d34;_0x199391['id']===_0x298b58['CollaborationUIEventId'][_0x20e7e5(0x482)]&&this['_messageService'][_0x20e7e5(0x3a6)]({'type':_0x5c577d[_0x20e7e5(0x3d1)][_0x20e7e5(0x226)],'content':this[_0x20e7e5(0x491)]['t'](_0x20e7e5(0x3d4))}),_0x199391['id']===_0x298b58[_0x20e7e5(0x1d9)][_0x20e7e5(0x1e2)]&&this[_0x20e7e5(0x3b6)][_0x20e7e5(0x3a6)]({'type':_0x5c577d[_0x20e7e5(0x3d1)][_0x20e7e5(0x226)],'content':this[_0x20e7e5(0x491)]['t'](_0x20e7e5(0x374))}),_0x199391['id']===_0x298b58['CollaborationUIEventId'][_0x20e7e5(0x499)]&&this[_0x20e7e5(0x456)][_0x20e7e5(0x3a6)]({'title':this[_0x20e7e5(0x491)]['t'](_0x20e7e5(0x143)),'content':this[_0x20e7e5(0x491)]['t'](_0x20e7e5(0x22b)),'type':_0x20e7e5(0x138),'duration':0x0}),_0x199391['id']===_0x298b58[_0x20e7e5(0x1d9)][_0x20e7e5(0x2b4)]&&this['_notificationService'][_0x20e7e5(0x3a6)]({'title':this[_0x20e7e5(0x491)]['t'](_0x20e7e5(0x144)),'content':this[_0x20e7e5(0x491)]['t'](_0x20e7e5(0x188)),'type':_0x20e7e5(0x138),'duration':0x0}),_0x199391['id']===_0x298b58[_0x20e7e5(0x1d9)][_0x20e7e5(0x369)]&&this[_0x20e7e5(0x3b6)][_0x20e7e5(0x3a6)]({'type':_0x5c577d['MessageType'][_0x20e7e5(0x226)],'content':this[_0x20e7e5(0x491)]['t'](_0x199391[_0x20e7e5(0x26e)]||'')}),_0x199391['id']===_0x298b58['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x20e7e5(0x3a6)]({'type':_0x5c577d[_0x20e7e5(0x3d1)][_0x20e7e5(0x226)],'content':this['_localeService']['t'](_0x20e7e5(0x2ef))}),_0x199391['id']===_0x298b58[_0x20e7e5(0x1d9)]['SOCKET_FAILED']&&this[_0x20e7e5(0x3b6)][_0x20e7e5(0x3a6)]({'type':_0x5c577d[_0x20e7e5(0x3d1)]['Error'],'content':this[_0x20e7e5(0x491)]['t'](_0x20e7e5(0x1fb))}),_0x199391['id']===_0x298b58['CollaborationUIEventId'][_0x20e7e5(0x18e)]&&this[_0x20e7e5(0x3b6)]['show']({'type':_0x5c577d[_0x20e7e5(0x3d1)][_0x20e7e5(0x3e3)],'content':this[_0x20e7e5(0x491)]['t'](_0x20e7e5(0x2ac))});}));}};_0xfc7bfd=_0x4a62c9([_0x46a127(0x0,_0x3dc1a1[_0x1c1719(0x396)]),_0x46a127(0x1,_0x298b58['ILocalCacheService']),_0x46a127(0x2,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x298b58['CollaborationUIEventService'])),_0x46a127(0x3,_0x3dc1a1[_0x1c1719(0x23c)]),_0x46a127(0x4,_0x3dc1a1[_0x1c1719(0x220)]),_0x46a127(0x5,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab[_0x1c1719(0x46a)]))],_0xfc7bfd);let _0x1baaa9=(0x0,_0x2eb6ab[_0x1c1719(0x1f6)])(_0x1c1719(0x344)),_0x391bcd=class extends _0x2eb6ab[_0x1c1719(0x2df)]{constructor(_0xb01c8,_0x570e92,_0x365171,_0x939b45,_0x445168){const _0xd051e1=_0x1c1719;super(),this[_0xd051e1(0x48b)]=_0xb01c8,this[_0xd051e1(0x13d)]=_0x570e92,this['_commandService']=_0x365171,this['_dataLoaderService']=_0x939b45,_0x445168?_0x445168[_0xd051e1(0x315)]()[_0xd051e1(0x36a)](()=>this[_0xd051e1(0x348)]()):(this[_0xd051e1(0x13d)]['debug'](_0xd051e1(0x441),_0xd051e1(0x473)),this[_0xd051e1(0x348)]());}async[_0x1c1719(0x348)](){const _0x978c7b=_0x1c1719;let _0x2ed723=this[_0x978c7b(0x48b)]['getParam'](_0x978c7b(0x3b4)),_0x1e7cc4=this[_0x978c7b(0x48b)][_0x978c7b(0x306)](_0x978c7b(0x1a9)),_0x2fcab3=this['_urlService'][_0x978c7b(0x306)](_0x978c7b(0x1a5));if(!_0x2ed723||!_0x1e7cc4){this[_0x978c7b(0x13d)][_0x978c7b(0x322)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}let _0x1fed31=await this[_0x978c7b(0x222)][_0x978c7b(0x36c)](_0x2ed723,Number(_0x1e7cc4),_0x2fcab3);_0x1fed31&&_0x1fed31 instanceof _0x2eb6ab[_0x978c7b(0x1ec)]&&this['_setupSubUnitSync'](_0x1fed31);}async[_0x1c1719(0x253)](_0x3f5487){const _0x3d08bd=_0x1c1719;await this['_updateSubUnitFromURLParams'](_0x3f5487),_0x3f5487[_0x3d08bd(0x3e5)][_0x3d08bd(0x400)]((0x0,_0x40e05b['takeUntil'])(this[_0x3d08bd(0x196)]))['subscribe'](_0x2f8c27=>{const _0x508d8e=_0x3d08bd;_0x2f8c27&&this[_0x508d8e(0x43f)](_0x2f8c27);}),this[_0x3d08bd(0x48b)][_0x3d08bd(0x2ce)][_0x3d08bd(0x400)]((0x0,_0x40e05b[_0x3d08bd(0x199)])(this['dispose$']))[_0x3d08bd(0x490)](()=>this['_updateSubUnitFromURLParams'](_0x3f5487));}[_0x1c1719(0x43f)](_0x2ac882,_0x7e9b1=!0x1){const _0x4829ee=_0x1c1719;let _0x5b9829=this[_0x4829ee(0x48b)][_0x4829ee(0x306)](_0x4829ee(0x1a5));_0x2ac882[_0x4829ee(0x2ae)]()!==_0x5b9829&&this[_0x4829ee(0x48b)][_0x4829ee(0x160)](_0x4829ee(0x1a5),_0x2ac882[_0x4829ee(0x2ae)](),_0x7e9b1);}async['_updateSubUnitFromURLParams'](_0x5ce423){const _0x4b5c90=_0x1c1719;var _0x31f6ae;let _0x2bdaf0=this[_0x4b5c90(0x48b)]['getParam'](_0x4b5c90(0x1a5));if(!_0x2bdaf0||!_0x5ce423['getSheetBySheetId'](_0x2bdaf0)){let _0x520b46=_0x5ce423[_0x4b5c90(0x3cb)]()[0x0],_0x5b7db7=_0x5ce423[_0x4b5c90(0x2da)](_0x520b46);if(!_0x5b7db7)return;this[_0x4b5c90(0x43f)](_0x5b7db7,!0x0),await this[_0x4b5c90(0x244)][_0x4b5c90(0x1ba)](_0xc02ef6[_0x4b5c90(0x2e9)]['id'],{'unitId':_0x5ce423[_0x4b5c90(0x3e1)](),'subUnitId':_0x520b46});return;}((_0x31f6ae=_0x5ce423[_0x4b5c90(0x37e)]())==null?void 0x0:_0x31f6ae[_0x4b5c90(0x2ae)]())!==_0x2bdaf0&&await this[_0x4b5c90(0x244)][_0x4b5c90(0x1ba)](_0xc02ef6[_0x4b5c90(0x2e9)]['id'],{'unitId':_0x5ce423[_0x4b5c90(0x3e1)](),'subUnitId':_0x2bdaf0});}};_0x391bcd=_0x4a62c9([_0x46a127(0x0,_0x1baaa9),_0x46a127(0x1,_0x2eb6ab[_0x1c1719(0x3d9)]),_0x46a127(0x2,_0x2eb6ab[_0x1c1719(0x3e2)]),_0x46a127(0x3,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x298b58['DataLoaderService'])),_0x46a127(0x4,(0x0,_0x2eb6ab['Optional'])(_0x4a3b5a['IRemoteInstanceService']))],_0x391bcd);let _0x3cc120=class{constructor(_0x2d69f4,_0x46a682){const _0x13a458=_0x1c1719;this[_0x13a458(0x268)]=_0x2d69f4,this[_0x13a458(0x30c)]=_0x46a682;}[_0x1c1719(0x14a)](_0x280ff4){this['_transformUndoRedoStack'](_0x280ff4),this['_transformPreviousActiveRange'](_0x280ff4);}['transformRemoteChangeset'](_0x394882){const _0x264f59=_0x1c1719;let {unitID:_0x4ba2ff}=_0x394882,{redoCache:_0x251035}=this[_0x264f59(0x30c)][_0x264f59(0x34b)](_0x4ba2ff)[_0x264f59(0x1a1)](_0x324cd9[_0x264f59(0x45f)])['getUndoRedoMutationParamsCache']();if(_0x251035[_0x264f59(0x496)]===0x0)return _0x394882;let _0x5507da=_0x2eb6ab['Tools'][_0x264f59(0x1d6)](_0x394882['mutations'][0x0]);for(let _0xd5686a=0x0;_0xd5686a<_0x251035[_0x264f59(0x496)];_0xd5686a++){let _0x106f0a={'id':_0x264f59(0x346),'params':{..._0x251035[_0xd5686a]}},_0x151c0f=this[_0x264f59(0x268)][_0x264f59(0x42f)](_0x5507da,_0x106f0a,!0x1);if((0x0,_0x1e96a3['isTransformMutationFailure'])(_0x151c0f))throw _0x151c0f[_0x264f59(0x138)];_0x5507da=_0x151c0f['m1Prime'];}return{..._0x2eb6ab['Tools']['deepClone'](_0x394882),'mutations':[_0x5507da]};}[_0x1c1719(0x43d)](_0x526868){const _0x41cee5=_0x1c1719;let {unitID:_0x3ad0ec}=_0x526868,_0x2ca6ef=this[_0x41cee5(0x30c)][_0x41cee5(0x34b)](_0x3ad0ec)[_0x41cee5(0x1a1)](_0x324cd9['DocIMEInputManagerService']),{undoCache:_0x5e7a46,redoCache:_0x3be78c}=_0x2ca6ef[_0x41cee5(0x308)]();if(_0x5e7a46['length']===0x0||_0x3be78c['length']===0x0)return;let _0x368c06=[],_0x23e6d5=[],_0x15dad0=_0x2eb6ab[_0x41cee5(0x3ba)][_0x41cee5(0x1d6)](_0x526868['mutations'][0x0]),_0x293b7f=_0x2eb6ab[_0x41cee5(0x3ba)][_0x41cee5(0x1d6)](_0x526868[_0x41cee5(0x2c9)][0x0]);for(let _0x3bb05f=_0x5e7a46[_0x41cee5(0x496)]-0x1;_0x3bb05f>=0x0;_0x3bb05f--){let _0x293b10={'id':_0x41cee5(0x346),'params':{..._0x5e7a46[_0x3bb05f]}},_0x4177bc={'id':_0x41cee5(0x346),'params':{..._0x3be78c[_0x3bb05f]}},_0x3af9cb=this[_0x41cee5(0x268)]['transformMutation'](_0x15dad0,_0x293b10,!0x1),_0x34b2d7=this['_transformService'][_0x41cee5(0x42f)](_0x293b7f,_0x4177bc,!0x1);if((0x0,_0x1e96a3['isTransformMutationFailure'])(_0x3af9cb))throw _0x3af9cb['error'];if((0x0,_0x1e96a3[_0x41cee5(0x3e9)])(_0x34b2d7))throw _0x34b2d7[_0x41cee5(0x138)];_0x368c06[_0x41cee5(0x176)](_0x3af9cb['m2Prime'][_0x41cee5(0x436)]),_0x23e6d5[_0x41cee5(0x176)](_0x34b2d7[_0x41cee5(0x2b0)][_0x41cee5(0x436)]),_0x15dad0=_0x3af9cb[_0x41cee5(0x356)],_0x293b7f=_0x34b2d7[_0x41cee5(0x356)];}_0x2ca6ef['setUndoRedoMutationParamsCache']({'undoCache':_0x368c06,'redoCache':_0x23e6d5});}[_0x1c1719(0x41e)](_0x54273a){const _0xd32579=_0x1c1719;let {unitID:_0x5d1cff}=_0x54273a,_0xaf8913=this[_0xd32579(0x30c)][_0xd32579(0x34b)](_0x5d1cff)[_0xd32579(0x1a1)](_0x324cd9['DocIMEInputManagerService']),_0x2c6476=_0xaf8913[_0xd32579(0x46f)]();if(_0x2c6476==null)return;let _0x291e4f=[{'id':_0xd32579(0x346),'params':{'unitId':_0x54273a[_0xd32579(0x279)],'actions':null,'textRanges':[_0x2c6476]}}],_0x1031ca=this[_0xd32579(0x268)][_0xd32579(0x267)](_0x54273a,_0x291e4f);if(!(0x0,_0x1e96a3[_0xd32579(0x1bb)])(_0x1031ca))throw _0x1031ca['error'];let _0x4218a2=_0x1031ca['m2Prime'][0x0][_0xd32579(0x436)][_0xd32579(0x3de)];Array['isArray'](_0x4218a2)&&_0x4218a2[_0xd32579(0x496)]&&_0xaf8913[_0xd32579(0x421)](_0x4218a2[0x0]);}};_0x3cc120=_0x4a62c9([_0x46a127(0x0,_0x1e96a3[_0x1c1719(0x317)]),_0x46a127(0x1,_0x25f9de[_0x1c1719(0x327)])],_0x3cc120);let _0x4ec085=class{constructor(_0xa419b1,_0x56673b,_0x14ea0b){const _0x18dbdc=_0x1c1719;this[_0x18dbdc(0x2b9)]=_0xa419b1,this[_0x18dbdc(0x268)]=_0x56673b,this['_docStateChangeManagerService']=_0x14ea0b;}[_0x1c1719(0x370)](_0x2cc82f){const _0x3485ac=_0x1c1719;this[_0x3485ac(0x349)](_0x2cc82f);}[_0x1c1719(0x2ed)](_0x231901){const _0x3e190f=_0x1c1719;let {unitID:_0x2581dd}=_0x231901,{collaboration:_0x1c6d06}=this[_0x3e190f(0x3bf)][_0x3e190f(0x484)](_0x2581dd);if(_0x1c6d06['length']===0x0)return _0x231901;let _0x5b23c5=_0x2eb6ab[_0x3e190f(0x3ba)][_0x3e190f(0x1d6)](_0x231901[_0x3e190f(0x2c9)][0x0]);for(let _0x190f1f=0x0;_0x190f1f<_0x1c6d06[_0x3e190f(0x496)];_0x190f1f++){let _0x11087b={'id':_0x3e190f(0x346),'params':{'unitId':_0x1c6d06[_0x190f1f][_0x3e190f(0x329)],..._0x1c6d06[_0x190f1f][_0x3e190f(0x36d)]}},_0x5742de=this[_0x3e190f(0x268)][_0x3e190f(0x42f)](_0x5b23c5,_0x11087b,!0x1);if((0x0,_0x1e96a3[_0x3e190f(0x3e9)])(_0x5742de))throw _0x5742de[_0x3e190f(0x138)];_0x5b23c5=_0x5742de[_0x3e190f(0x356)];}return{..._0x2eb6ab[_0x3e190f(0x3ba)][_0x3e190f(0x1d6)](_0x231901),'mutations':[_0x5b23c5]};}[_0x1c1719(0x349)](_0x7e29d2){const _0x3b5a57=_0x1c1719;let {unitID:_0x34f7ec}=_0x7e29d2,{history:_0x15d37a,collaboration:_0xcd3de}=this[_0x3b5a57(0x3bf)][_0x3b5a57(0x484)](_0x34f7ec);if(_0x15d37a['length']===0x0&&_0xcd3de[_0x3b5a57(0x496)]===0x0)return;let _0x14c4ef=[],_0x69e43b=[],_0x43e5e9=_0x2eb6ab[_0x3b5a57(0x3ba)][_0x3b5a57(0x1d6)](_0x7e29d2[_0x3b5a57(0x2c9)][0x0]),_0x343930=_0x2eb6ab[_0x3b5a57(0x3ba)][_0x3b5a57(0x1d6)](_0x7e29d2[_0x3b5a57(0x2c9)][0x0]);for(let _0x29a13c=_0x15d37a[_0x3b5a57(0x496)]-0x1;_0x29a13c>=0x0;_0x29a13c--){let _0x145ed0={'id':_0x3b5a57(0x346),'params':{'unitId':_0x15d37a[_0x29a13c]['unitId'],..._0x15d37a[_0x29a13c][_0x3b5a57(0x215)]}},_0x5605d5={'id':_0x3b5a57(0x346),'params':{'unitId':_0x15d37a[_0x29a13c]['unitId'],..._0x15d37a[_0x29a13c][_0x3b5a57(0x36d)]}},_0x1424dc=this[_0x3b5a57(0x268)][_0x3b5a57(0x42f)](_0x43e5e9,_0x145ed0,!0x1),_0x19f40d=this[_0x3b5a57(0x268)][_0x3b5a57(0x42f)](_0x343930,_0x5605d5,!0x1);if((0x0,_0x1e96a3[_0x3b5a57(0x3e9)])(_0x1424dc))throw _0x1424dc[_0x3b5a57(0x138)];if((0x0,_0x1e96a3[_0x3b5a57(0x3e9)])(_0x19f40d))throw _0x19f40d['error'];_0x14c4ef[_0x3b5a57(0x176)]({..._0x15d37a[_0x29a13c],'undoState':_0x1424dc[_0x3b5a57(0x2b0)][_0x3b5a57(0x436)],'redoState':_0x19f40d[_0x3b5a57(0x2b0)][_0x3b5a57(0x436)]}),_0x43e5e9=_0x1424dc[_0x3b5a57(0x356)],_0x343930=_0x19f40d[_0x3b5a57(0x356)];}_0x43e5e9=_0x2eb6ab[_0x3b5a57(0x3ba)]['deepClone'](_0x7e29d2[_0x3b5a57(0x2c9)][0x0]),_0x343930=_0x2eb6ab[_0x3b5a57(0x3ba)][_0x3b5a57(0x1d6)](_0x7e29d2[_0x3b5a57(0x2c9)][0x0]);for(let _0x2df8cc=_0xcd3de[_0x3b5a57(0x496)]-0x1;_0x2df8cc>=0x0;_0x2df8cc--){let _0x5beaeb={'id':_0x3b5a57(0x346),'params':{'unitId':_0xcd3de[_0x2df8cc][_0x3b5a57(0x329)],..._0xcd3de[_0x2df8cc]['undoState']}},_0x14ad48={'id':_0x3b5a57(0x346),'params':{'unitId':_0xcd3de[_0x2df8cc][_0x3b5a57(0x329)],..._0xcd3de[_0x2df8cc][_0x3b5a57(0x36d)]}},_0x48b630=this[_0x3b5a57(0x268)][_0x3b5a57(0x42f)](_0x43e5e9,_0x5beaeb,!0x1),_0x2e1753=this[_0x3b5a57(0x268)][_0x3b5a57(0x42f)](_0x343930,_0x14ad48,!0x1);if((0x0,_0x1e96a3[_0x3b5a57(0x3e9)])(_0x48b630))throw _0x48b630['error'];if((0x0,_0x1e96a3[_0x3b5a57(0x3e9)])(_0x2e1753))throw _0x2e1753[_0x3b5a57(0x138)];_0x69e43b[_0x3b5a57(0x176)]({..._0xcd3de[_0x2df8cc],'undoState':_0x48b630[_0x3b5a57(0x2b0)]['params'],'redoState':_0x2e1753['m2Prime'][_0x3b5a57(0x436)]}),_0x43e5e9=_0x48b630['m1Prime'],_0x343930=_0x2e1753[_0x3b5a57(0x356)];}this[_0x3b5a57(0x3bf)][_0x3b5a57(0x43b)](_0x34f7ec,{'history':_0x14c4ef,'collaboration':_0x69e43b});}};_0x4ec085=_0x4a62c9([_0x46a127(0x0,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab[_0x1c1719(0x1cc)])),_0x46a127(0x1,_0x1e96a3[_0x1c1719(0x317)]),_0x46a127(0x2,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x4d4b92[_0x1c1719(0x43a)]))],_0x4ec085);let _0x1ece35=class{constructor(_0x27b0c4,_0x4aec13){this['_injector']=_0x27b0c4,this['_transformService']=_0x4aec13;}[_0x1c1719(0x408)](_0x49d10c){const _0x44bf53=_0x1c1719;let _0x4ce09b=this[_0x44bf53(0x2b9)][_0x44bf53(0x397)](_0x4d4b92[_0x44bf53(0x470)]),_0x1906a8=_0x4ce09b['getDocRanges']()??[];if(_0x1906a8[_0x44bf53(0x496)]===0x0)return;let _0x276581=_0x49d10c[_0x44bf53(0x279)],_0x7c0c00=[{'id':_0x44bf53(0x346),'params':{'unitId':_0x276581,'actions':null,'textRanges':_0x1906a8}}],_0x3bbd14=this['_transformService']['transformMutationsWithChangeset'](_0x49d10c,_0x7c0c00);if(!(0x0,_0x1e96a3[_0x44bf53(0x1bb)])(_0x3bbd14))throw _0x3bbd14['error'];let _0x9581b2=_0x3bbd14[_0x44bf53(0x2b0)][0x0]['params'][_0x44bf53(0x3de)];Array[_0x44bf53(0x301)](_0x9581b2)&&_0x9581b2['length']&&_0x4ce09b[_0x44bf53(0x376)](_0x9581b2,{'unitId':_0x276581,'subUnitId':_0x276581},!0x1);}};_0x1ece35=_0x4a62c9([_0x46a127(0x0,(0x0,_0x2eb6ab['Inject'])(_0x2eb6ab[_0x1c1719(0x1cc)])),_0x46a127(0x1,_0x1e96a3[_0x1c1719(0x317)])],_0x1ece35);let _0x14218f=class extends _0x2eb6ab['Disposable']{constructor(_0x2e839e,_0x4738eb,_0x2342d8,_0x2c49ab,_0x46a0ed,_0xa851f1,_0x541f79){const _0x1ff0bc=_0x1c1719;super(),this['_collaborationController']=_0x2e839e,this[_0x1ff0bc(0x27b)]=_0x4738eb,this['_docTransformStateCacheService']=_0x2342d8,this['_docTransformSelectionsService']=_0x2c49ab,this['_docSyncEditingCollabCursorService']=_0x46a0ed,this[_0x1ff0bc(0x3b6)]=_0xa851f1,this[_0x1ff0bc(0x491)]=_0x541f79,_0x255b47(this,_0x1ff0bc(0x13f),new _0x40e05b[(_0x1ff0bc(0x241))](_0x298b58[_0x1ff0bc(0x3f2)][_0x1ff0bc(0x480)])),this[_0x1ff0bc(0x1be)]();}['_initEntityListener'](){const _0x3878ab=_0x1c1719;this[_0x3878ab(0x38f)](this['_collaborationController'][_0x3878ab(0x475)][_0x3878ab(0x490)](_0xdcb968=>{const _0x3e6b0f=_0x3878ab;_0xdcb968 instanceof _0x298b58['DocCollaborationEntity']&&_0xdcb968[_0x3e6b0f(0x410)]({'onTransformIME':_0x1a99b8=>this[_0x3e6b0f(0x27b)][_0x3e6b0f(0x14a)](_0x1a99b8),'onTransformState':_0x4505c9=>this[_0x3e6b0f(0x16b)][_0x3e6b0f(0x370)](_0x4505c9),'onTransformSelections':_0x35f22e=>this[_0x3e6b0f(0x1df)][_0x3e6b0f(0x408)](_0x35f22e),'onSyncEditingCollabCursor':_0x11142b=>this[_0x3e6b0f(0x3b0)][_0x3e6b0f(0x3db)](_0x11142b),'onTransformRemoteChangesetByIMECache':_0x31439f=>this[_0x3e6b0f(0x27b)][_0x3e6b0f(0x2ed)](_0x31439f),'onTransformRemoteChangesetByStateCache':_0x24d19b=>this[_0x3e6b0f(0x16b)]['transformRemoteChangeset'](_0x24d19b)});}));}};_0x14218f=_0x4a62c9([_0x46a127(0x0,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x298b58[_0x1c1719(0x434)])),_0x46a127(0x1,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x3cc120)),_0x46a127(0x2,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x4ec085)),_0x46a127(0x3,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x1ece35)),_0x46a127(0x4,(0x0,_0x2eb6ab['Inject'])(_0x541ca7)),_0x46a127(0x5,_0x3dc1a1['IMessageService']),_0x46a127(0x6,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab['LocaleService']))],_0x14218f);let _0x20886a=class extends _0x2eb6ab['Disposable']{constructor(_0x4d0a7d,_0x1de113,_0x39df8a,_0x452e31){const _0x5064b1=_0x1c1719;super(),this[_0x5064b1(0x2b9)]=_0x4d0a7d,this['_httpService']=_0x1de113,this[_0x5064b1(0x13d)]=_0x39df8a,this[_0x5064b1(0x1e5)]=_0x452e31,_0x255b47(this,'_memberID',void 0x0),this[_0x5064b1(0x348)]();}[_0x1c1719(0x348)](){const _0x586a1c=_0x1c1719;this[_0x586a1c(0x394)](),this[_0x586a1c(0x485)](),this[_0x586a1c(0x3bb)](),this[_0x586a1c(0x48f)]();}['_initUserListener'](){const _0x3f120e=_0x1c1719;this[_0x3f120e(0x38f)](this[_0x3f120e(0x1e5)][_0x3f120e(0x442)][_0x3f120e(0x490)](_0x28cc5e=>{const _0x2abf90=_0x3f120e;this[_0x2abf90(0x24c)]=_0x28cc5e==null?void 0x0:_0x28cc5e['memberID'];}));}[_0x1c1719(0x394)](){const _0x4ab0f1=_0x1c1719;let _0x3701d4=_0x5d37cf=>{const _0x59f2d1=_0x5e0e;var _0x4649b4;this['_uploadLog'](_0x59f2d1(0x138),_0x59f2d1(0x243)+_0x5d37cf['message']+_0x59f2d1(0x40e)+_0x5d37cf[_0x59f2d1(0x33f)]+':'+_0x5d37cf[_0x59f2d1(0x2f4)]+':'+_0x5d37cf[_0x59f2d1(0x157)]+'\x0a'+(((_0x4649b4=_0x5d37cf[_0x59f2d1(0x138)])==null?void 0x0:_0x4649b4[_0x59f2d1(0x1ed)])||''));};window[_0x4ab0f1(0x252)](_0x4ab0f1(0x138),_0x3701d4),this[_0x4ab0f1(0x38f)](()=>{const _0x300fa0=_0x4ab0f1;window[_0x300fa0(0x367)]('error',_0x3701d4);});}[_0x1c1719(0x485)](){const _0x24bb49=_0x1c1719;let _0x4c787d=_0x44c4d4=>{const _0x46316d=_0x5e0e;this[_0x46316d(0x2bd)]('error',_0x46316d(0x1c3)+_0x44c4d4[_0x46316d(0x217)]);};window[_0x24bb49(0x252)](_0x24bb49(0x429),_0x4c787d),this[_0x24bb49(0x38f)](()=>{const _0x4fbfcd=_0x24bb49;window[_0x4fbfcd(0x367)]('unhandledrejection',_0x4c787d);});}[_0x1c1719(0x3bb)](){const _0x165dd0=_0x1c1719;let _0x13b702=this[_0x165dd0(0x13d)]['error'][_0x165dd0(0x289)](this[_0x165dd0(0x13d)]);this[_0x165dd0(0x13d)][_0x165dd0(0x138)]=(..._0x39dc14)=>{const _0x1a36e6=_0x165dd0;let _0x370e8a=_0x39dc14[_0x1a36e6(0x177)](_0x32091b=>_0x32091b instanceof Error?_0x32091b['message']+'\x0a'+_0x32091b[_0x1a36e6(0x1ed)]:String(_0x32091b))[_0x1a36e6(0x1cf)]('\x20');this[_0x1a36e6(0x2bd)](_0x1a36e6(0x138),_0x1a36e6(0x438)+_0x370e8a),_0x13b702(..._0x39dc14);},this[_0x165dd0(0x38f)](()=>{const _0x20d3db=_0x165dd0;this[_0x20d3db(0x13d)][_0x20d3db(0x138)]=_0x13b702;});}['_uploadLog'](_0x1bc04e,_0x54bee9){const _0x3941fd=_0x1c1719;try{let _0x1cb5ed={'userId':this[_0x3941fd(0x24c)],'logLabel':_0x1bc04e,'content':_0x54bee9};this[_0x3941fd(0x270)][_0x3941fd(0x251)](_0x3941fd(0x47d),{'body':_0x1cb5ed})[_0x3941fd(0x402)](()=>{});}catch{}}};_0x20886a=_0x4a62c9([_0x46a127(0x0,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab[_0x1c1719(0x1cc)])),_0x46a127(0x1,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x217fd1[_0x1c1719(0x15b)])),_0x46a127(0x2,_0x2eb6ab['ILogService']),_0x46a127(0x3,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x298b58[_0x1c1719(0x1d2)]))],_0x20886a);function _0x419ed6({state$:_0x3f48f1,interactionBlocked$:_0x32db42}){const _0x33a7ff=_0x1c1719;return(0x0,_0xa073d5['jsxs'])(_0xa073d5[_0x33a7ff(0x139)],{'children':[(0x0,_0x3dc1a1[_0x33a7ff(0x29c)])(_0x32db42,!0x1,!0x0)&&(0x0,_0xa073d5[_0x33a7ff(0x46e)])(_0x33a7ff(0x3d5),{'data-u-comp':_0x33a7ff(0x35c),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0xa073d5[_0x33a7ff(0x46e)])(_0xc4de50,{'state$':_0x3f48f1})]});}function _0xc4de50({state$:_0x11ea94}){const _0x327e05=_0x1c1719;let _0x109b6f=(0x0,_0x3dc1a1[_0x327e05(0x29c)])(_0x11ea94,null,!0x0);return _0x109b6f?(0x0,_0xa073d5[_0x327e05(0x266)])(_0x327e05(0x3d5),{'data-u-comp':_0x327e05(0x17c),'role':_0x327e05(0x2a9),'className':_0x327e05(0x26f),'children':[(0x0,_0xa073d5[_0x327e05(0x46e)])(_0x52f70d,{'className':_0x327e05(0x2cc)}),(0x0,_0xa073d5['jsx'])(_0x327e05(0x259),{'children':_0x109b6f[_0x327e05(0x2fb)]}),(0x0,_0xa073d5[_0x327e05(0x46e)])(_0x5c577d[_0x327e05(0x467)],{'size':_0x327e05(0x242),'variant':'primary','onClick':()=>window['location']['reload'](),'children':_0x109b6f[_0x327e05(0x479)]})]}):null;}let _0x3e9242=_0x1c1719(0x45c),_0x47a656=class extends _0x2eb6ab[_0x1c1719(0x285)]{constructor(_0x2fd357,_0x4acb89,_0x55649f,_0xf764f,_0x14f093,_0x24d5c9,_0x54c1c7,_0x26f5fb){const _0x38ce7f=_0x1c1719;super(),this[_0x38ce7f(0x494)]=_0x2fd357,this[_0x38ce7f(0x3b6)]=_0x4acb89,this['_localeService']=_0x55649f,this['_injector']=_0xf764f,this[_0x38ce7f(0x227)]=_0x14f093,this[_0x38ce7f(0x1bf)]=_0x54c1c7,this[_0x38ce7f(0x48b)]=_0x26f5fb,_0x255b47(this,'_timeoutState$',new _0x40e05b[(_0x38ce7f(0x241))](null)),_0x255b47(this,_0x38ce7f(0x1b6),new _0x40e05b['BehaviorSubject'](!0x1)),_0x255b47(this,_0x38ce7f(0x2e6),new Set()),_0x255b47(this,_0x38ce7f(0x275),new Map()),_0x255b47(this,_0x38ce7f(0x17b),new Set()),_0x255b47(this,'_latestStates',new Map()),_0x255b47(this,_0x38ce7f(0x31c),void 0x0),_0x255b47(this,_0x38ce7f(0x2ee),void 0x0),_0x255b47(this,_0x38ce7f(0x3ec),void 0x0),_0x255b47(this,'timeoutState$',this[_0x38ce7f(0x34f)]['asObservable']());let _0x28b5e0=()=>(0x0,_0x3b9f9['createElement'])(_0x419ed6,{'state$':this[_0x38ce7f(0x368)],'interactionBlocked$':this[_0x38ce7f(0x1b6)]});this[_0x38ce7f(0x38f)](_0x24d5c9[_0x38ce7f(0x2d9)](_0x3dc1a1['BuiltInUIPart']['GLOBAL'],()=>(0x0,_0x3dc1a1['connectInjector'])(_0x28b5e0,this[_0x38ce7f(0x2b9)]))),this['disposeWithMe'](this[_0x38ce7f(0x494)][_0x38ce7f(0x41c)][_0x38ce7f(0x490)](_0x10e03e=>{const _0x125adf=_0x38ce7f;this[_0x125adf(0x2a1)]=_0x10e03e,_0x10e03e[_0x125adf(0x230)](_0x5cfa27=>{const _0x4c6df8=_0x125adf;this[_0x4c6df8(0x3a8)](_0x5cfa27),this[_0x4c6df8(0x418)](_0x5cfa27);});})),this[_0x38ce7f(0x38f)](this[_0x38ce7f(0x48b)][_0x38ce7f(0x2ce)][_0x38ce7f(0x490)](()=>{const _0x5be221=_0x38ce7f;this[_0x5be221(0x2a1)][_0x5be221(0x230)](_0x5ae42c=>{const _0x28704c=_0x5be221;this[_0x28704c(0x3a8)](_0x5ae42c),this['_updateSheetPreview'](_0x5ae42c);});}));}[_0x1c1719(0x3b9)](){const _0x12ffb7=_0x1c1719;var _0x54e611;if(this[_0x12ffb7(0x2e6)][_0x12ffb7(0x230)](_0x472a97=>this['_messageService'][_0x12ffb7(0x2d0)](_0x472a97)),this[_0x12ffb7(0x2e6)]['clear'](),this[_0x12ffb7(0x31c)]){var _0x8e81e4;(_0x8e81e4=this[_0x12ffb7(0x3ec)])==null||_0x8e81e4[_0x12ffb7(0x1a3)](this[_0x12ffb7(0x31c)]);}this[_0x12ffb7(0x31c)]=void 0x0,this[_0x12ffb7(0x275)][_0x12ffb7(0x230)](({timeoutId:_0x402aa5})=>clearTimeout(_0x402aa5)),this[_0x12ffb7(0x275)][_0x12ffb7(0x286)](),(_0x54e611=this['_shortcutBlock'])==null||_0x54e611[_0x12ffb7(0x3b9)](),this['_shortcutBlock']=void 0x0,this[_0x12ffb7(0x34f)][_0x12ffb7(0x1dc)](),this[_0x12ffb7(0x1b6)][_0x12ffb7(0x1dc)](),super[_0x12ffb7(0x3b9)]();}['_updateMessage'](_0x391ec3){const _0x3e860f=_0x1c1719;let _0x35bc6c=''+_0x3e9242+_0x391ec3[_0x3e860f(0x329)];if(_0x391ec3[_0x3e860f(0x457)]===_0x1e96a3[_0x3e860f(0x2fd)][_0x3e860f(0x498)]){if(this['_clearBlockProgressWatch'](_0x391ec3['unitId']),this[_0x3e860f(0x2dd)](_0x391ec3['unitId'])&&this[_0x3e860f(0x31c)]===_0x391ec3[_0x3e860f(0x329)]){this[_0x3e860f(0x3b6)][_0x3e860f(0x3a6)]({'id':_0x35bc6c,'type':_0x5c577d['MessageType'][_0x3e860f(0x42c)],'duration':0x1/0x0,'content':this[_0x3e860f(0x491)]['t'](_0x3e860f(0x1a0))}),this[_0x3e860f(0x2e6)][_0x3e860f(0x25a)](_0x35bc6c);return;}this[_0x3e860f(0x337)](_0x391ec3[_0x3e860f(0x329)]),this[_0x3e860f(0x3b6)][_0x3e860f(0x2d0)](_0x35bc6c),this[_0x3e860f(0x2e6)][_0x3e860f(0x3a9)](_0x35bc6c);return;}if(!this[_0x3e860f(0x2dd)](_0x391ec3[_0x3e860f(0x329)])){this[_0x3e860f(0x3aa)](_0x391ec3[_0x3e860f(0x329)]),this['_clearTimeoutState'](_0x391ec3[_0x3e860f(0x329)]),this[_0x3e860f(0x3b6)][_0x3e860f(0x2d0)](_0x35bc6c),this['_messageIds']['delete'](_0x35bc6c);return;}if(_0x391ec3[_0x3e860f(0x457)]===_0x1e96a3[_0x3e860f(0x2fd)][_0x3e860f(0x2f7)]){this['_clearBlockProgressWatch'](_0x391ec3[_0x3e860f(0x329)]),this['_clearTimeoutState'](_0x391ec3['unitId']),this[_0x3e860f(0x3b6)]['show']({'id':_0x35bc6c,'type':_0x5c577d[_0x3e860f(0x3d1)][_0x3e860f(0x3e3)],'content':this['_localeService']['t'](_0x3e860f(0x1fb))}),this[_0x3e860f(0x2e6)][_0x3e860f(0x3a9)](_0x35bc6c);return;}if(_0x391ec3['stage']!==_0x1e96a3[_0x3e860f(0x2fd)][_0x3e860f(0x237)]||_0x391ec3[_0x3e860f(0x3d6)]<=0xa){this[_0x3e860f(0x3aa)](_0x391ec3[_0x3e860f(0x329)]),this[_0x3e860f(0x3b6)][_0x3e860f(0x2d0)](_0x35bc6c),this[_0x3e860f(0x2e6)]['delete'](_0x35bc6c);return;}this['_watchBlockProgress'](_0x391ec3)||(this[_0x3e860f(0x3b6)]['show']({'id':_0x35bc6c,'type':_0x5c577d[_0x3e860f(0x3d1)][_0x3e860f(0x42c)],'duration':0x1/0x0,'content':this[_0x3e860f(0x491)]['t'](_0x3e860f(0x1e0))+'\x20'+_0x391ec3[_0x3e860f(0x3c2)]+'/'+_0x391ec3[_0x3e860f(0x3d6)]}),this[_0x3e860f(0x2e6)][_0x3e860f(0x25a)](_0x35bc6c));}['_watchBlockProgress'](_0x9fd603){const _0x11a80e=_0x1c1719;let _0x123ddd=this['_blockProgressWatches'][_0x11a80e(0x397)](_0x9fd603['unitId']);if((_0x123ddd==null?void 0x0:_0x123ddd[_0x11a80e(0x3c2)])===_0x9fd603[_0x11a80e(0x3c2)])return _0x123ddd[_0x11a80e(0x19a)];this[_0x11a80e(0x3aa)](_0x9fd603[_0x11a80e(0x329)]);let _0x1852a6=setTimeout(()=>{const _0x1c854c=_0x11a80e;let _0x412c56=this[_0x1c854c(0x275)][_0x1c854c(0x397)](_0x9fd603[_0x1c854c(0x329)]);if(!_0x412c56||_0x412c56[_0x1c854c(0x25f)]!==_0x1852a6)return;_0x412c56[_0x1c854c(0x19a)]=!0x0;let _0x5b3767=''+_0x3e9242+_0x9fd603[_0x1c854c(0x329)];this['_messageService'][_0x1c854c(0x2d0)](_0x5b3767),this[_0x1c854c(0x2e6)][_0x1c854c(0x3a9)](_0x5b3767),this[_0x1c854c(0x34f)][_0x1c854c(0x2a8)]({'unitId':_0x9fd603['unitId'],'content':this['_localeService']['t']('collaboration-client-ui.snapshotLoading.timeout',String(_0x9fd603['loadedBlocks']),String(_0x9fd603[_0x1c854c(0x3d6)])),'refreshLabel':this['_localeService']['t'](_0x1c854c(0x45b))});},0xea60);return this['_blockProgressWatches'][_0x11a80e(0x2f8)](_0x9fd603[_0x11a80e(0x329)],{'loadedBlocks':_0x9fd603[_0x11a80e(0x3c2)],'timedOut':!0x1,'timeoutId':_0x1852a6}),!0x1;}[_0x1c1719(0x3aa)](_0xafe531){const _0xfed46d=_0x1c1719;let _0x116ec8=this[_0xfed46d(0x275)][_0xfed46d(0x397)](_0xafe531);_0x116ec8&&(clearTimeout(_0x116ec8[_0xfed46d(0x25f)]),this[_0xfed46d(0x275)][_0xfed46d(0x3a9)](_0xafe531),this[_0xfed46d(0x337)](_0xafe531));}['_clearTimeoutState'](_0x403e1e){const _0x56485e=_0x1c1719;var _0x29f084;((_0x29f084=this[_0x56485e(0x34f)][_0x56485e(0x49d)])==null?void 0x0:_0x29f084['unitId'])===_0x403e1e&&this[_0x56485e(0x34f)][_0x56485e(0x2a8)](null);}[_0x1c1719(0x418)](_0x54d954){const _0x1cc781=_0x1c1719;if(_0x54d954['stage']===_0x1e96a3[_0x1cc781(0x2fd)][_0x1cc781(0x1e1)]&&this[_0x1cc781(0x17b)][_0x1cc781(0x3a9)](_0x54d954[_0x1cc781(0x329)]),!this[_0x1cc781(0x2dd)](_0x54d954[_0x1cc781(0x329)])){this[_0x1cc781(0x47f)](_0x54d954[_0x1cc781(0x329)]);return;}if(_0x54d954[_0x1cc781(0x457)]===_0x1e96a3[_0x1cc781(0x2fd)][_0x1cc781(0x2f7)]||_0x54d954[_0x1cc781(0x3d6)]<=0xa){this[_0x1cc781(0x47f)](_0x54d954['unitId']);return;}if(_0x54d954[_0x1cc781(0x457)]===_0x1e96a3[_0x1cc781(0x2fd)][_0x1cc781(0x498)]){this[_0x1cc781(0x2ff)](_0x54d954[_0x1cc781(0x329)]);return;}if(_0x54d954['stage']===_0x1e96a3[_0x1cc781(0x2fd)][_0x1cc781(0x237)]&&_0x54d954[_0x1cc781(0x19c)]&&_0x54d954[_0x1cc781(0x393)]){let _0x546b2d=this['_getSheetLoadingRenderService']();if(!_0x546b2d)return;this[_0x1cc781(0x31c)]&&this[_0x1cc781(0x31c)]!==_0x54d954['unitId']&&this[_0x1cc781(0x47f)](this[_0x1cc781(0x31c)]),_0x546b2d[_0x1cc781(0x47c)](_0x54d954[_0x1cc781(0x19c)],_0x54d954[_0x1cc781(0x393)]),this[_0x1cc781(0x31c)]=_0x54d954[_0x1cc781(0x329)],this[_0x1cc781(0x2cd)](!0x0),_0x54d954['previewReady']&&_0x546b2d['show'](_0x54d954[_0x1cc781(0x19c)],_0x54d954[_0x1cc781(0x393)],_0x54d954['previewCellData']);}}[_0x1c1719(0x2ff)](_0x4fc556){const _0xc900dd=_0x1c1719;if(this[_0xc900dd(0x31c)]!==_0x4fc556||this[_0xc900dd(0x17b)][_0xc900dd(0x295)](_0x4fc556))return;let _0x12c8e2=this[_0xc900dd(0x3ec)];_0x12c8e2&&(this[_0xc900dd(0x17b)][_0xc900dd(0x25a)](_0x4fc556),_0x12c8e2['handoff'](_0x4fc556,0x2710)[_0xc900dd(0x36a)](_0x564e33=>{const _0x371919=_0xc900dd;if(this['_previewUnitId']!==_0x4fc556)return;if(_0x564e33){let _0x519aaa=''+_0x3e9242+_0x4fc556;this[_0x371919(0x3b6)][_0x371919(0x2d0)](_0x519aaa),this[_0x371919(0x2e6)]['delete'](_0x519aaa),this[_0x371919(0x31c)]=void 0x0,this[_0x371919(0x2cd)](!0x1);return;}let _0x2097e6=''+_0x3e9242+_0x4fc556;this[_0x371919(0x3b6)][_0x371919(0x2d0)](_0x2097e6),this[_0x371919(0x2e6)][_0x371919(0x3a9)](_0x2097e6),this[_0x371919(0x34f)][_0x371919(0x2a8)]({'unitId':_0x4fc556,'content':this[_0x371919(0x491)]['t']('collaboration-client-ui.session.connection-failed'),'refreshLabel':this[_0x371919(0x491)]['t'](_0x371919(0x45b))});}));}[_0x1c1719(0x47f)](_0x598fb4){const _0x25550c=_0x1c1719;var _0x476f6a;this[_0x25550c(0x31c)]===_0x598fb4&&((_0x476f6a=this[_0x25550c(0x3ec)])==null||_0x476f6a[_0x25550c(0x1a3)](_0x598fb4),this[_0x25550c(0x31c)]=void 0x0,this[_0x25550c(0x2cd)](!0x1));}[_0x1c1719(0x2cd)](_0x55bd21){const _0x3325eb=_0x1c1719;if(_0x55bd21!==this[_0x3325eb(0x1b6)]['value']){if(_0x55bd21)this[_0x3325eb(0x2ee)]=this['_shortcutService'][_0x3325eb(0x3ee)]();else{var _0x1e335a;(_0x1e335a=this[_0x3325eb(0x2ee)])==null||_0x1e335a[_0x3325eb(0x3b9)](),this[_0x3325eb(0x2ee)]=void 0x0;}this['_interactionBlocked$']['next'](_0x55bd21);}}[_0x1c1719(0x2dd)](_0x10fc49){const _0x36b668=_0x1c1719;let _0xc7e411=this[_0x36b668(0x48b)]['getParam'](_0x36b668(0x3b4));return!_0xc7e411||_0xc7e411===_0x10fc49;}['_getSheetLoadingRenderService'](){const _0x3e33bf=_0x1c1719;return this[_0x3e33bf(0x3ec)]?this[_0x3e33bf(0x3ec)]:(this[_0x3e33bf(0x227)][_0x3e33bf(0x2a7)](_0x2eb6ab['UniverInstanceType']['UNIVER_SHEET']),this[_0x3e33bf(0x2b9)][_0x3e33bf(0x295)](_0x31c46a[_0x3e33bf(0x24b)])&&(this[_0x3e33bf(0x3ec)]=this[_0x3e33bf(0x2b9)]['get'](_0x31c46a[_0x3e33bf(0x24b)])),this[_0x3e33bf(0x3ec)]);}};_0x47a656=_0x4a62c9([_0x46a127(0x0,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x1e96a3[_0x1c1719(0x49a)])),_0x46a127(0x1,_0x3dc1a1[_0x1c1719(0x23c)]),_0x46a127(0x2,(0x0,_0x2eb6ab['Inject'])(_0x2eb6ab['LocaleService'])),_0x46a127(0x3,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab[_0x1c1719(0x1cc)])),_0x46a127(0x4,(0x0,_0x2eb6ab['Inject'])(_0x2eb6ab[_0x1c1719(0x23a)])),_0x46a127(0x5,_0x3dc1a1['IUIPartsService']),_0x46a127(0x6,_0x3dc1a1[_0x1c1719(0x3dc)]),_0x46a127(0x7,_0x1baaa9)],_0x47a656);function _0xb4ea52(_0x4bc44c){const _0xe07bd0=_0x1c1719;var _0x1d0f3f,_0x40233f;let _0x4caf65=(_0x1d0f3f=_0x4bc44c[_0xe07bd0(0x2e0)])==null?void 0x0:_0x1d0f3f[_0xe07bd0(0x457)],_0x98093b=((_0x40233f=_0x4bc44c['stageInfo'])==null?void 0x0:_0x40233f[_0xe07bd0(0x38a)])||0x0;return _0x4caf65===_0x22ecb8[_0xe07bd0(0x46b)]['START_CALCULATION']&&_0x98093b>0x0;}function _0x119e07(_0x88e99a){const _0x483d3a=_0x1c1719;return _0x88e99a[_0x483d3a(0x3d2)]===_0x22ecb8[_0x483d3a(0x355)][_0x483d3a(0x214)];}let _0x206290=class extends _0x2eb6ab[_0x1c1719(0x285)]{constructor(_0x2075c3,_0x417151,_0x32b845,_0xc11669,_0x37a779,_0x7574d5,_0x4f23bc){const _0x14503c=_0x1c1719;super(),this['_messageService']=_0x2075c3,this['_commandService']=_0x417151,this[_0x14503c(0x2aa)]=_0x32b845,this[_0x14503c(0x270)]=_0xc11669,this[_0x14503c(0x24d)]=_0x37a779,this[_0x14503c(0x13d)]=_0x7574d5,this[_0x14503c(0x491)]=_0x4f23bc,_0x255b47(this,_0x14503c(0x323),null),_0x255b47(this,_0x14503c(0x1d4),0x0),_0x255b47(this,_0x14503c(0x296),0x0),_0x255b47(this,'_taskIds',[]),_0x255b47(this,'_lastResponseTimestamp',0x0),this[_0x14503c(0x2fe)]();}[_0x1c1719(0x2fe)](){const _0xf1ac6f=_0x1c1719;this[_0xf1ac6f(0x38f)](this['_commandService'][_0xf1ac6f(0x26a)]((_0x5761bd,_0x431096)=>{const _0xb44676=_0xf1ac6f;if(_0x5761bd['id']!==_0x22ecb8[_0xb44676(0x3f5)]['id'])return;let _0x35df94=_0x5761bd['params'];if(this['_hasFormulaInDirtyRanges'](_0x35df94['dirtyRanges']??[])&&!this[_0xb44676(0x2d2)]())throw this[_0xb44676(0x169)](_0x5761bd,_0x431096),this['_showGuardMessage'](),new _0x2eb6ab[(_0xb44676(0x3d7))]();})),this['disposeWithMe'](this[_0xf1ac6f(0x244)]['onCommandExecuted']((_0x1f0eed,_0x22ebb2)=>{const _0x27ec99=_0xf1ac6f;if(_0x1f0eed['id']!==_0x22ecb8[_0x27ec99(0x202)]['id'])return;let _0x54a872=_0x1f0eed[_0x27ec99(0x436)];if(_0xb4ea52(_0x54a872)){let _0x5d68c7=(0x0,_0x2eb6ab['generateRandomId'])();this['_taskIds'][_0x27ec99(0x163)](_0x5d68c7),this[_0x27ec99(0x450)](_0x5d68c7);}else{if(_0x119e07(_0x54a872)&&this[_0x27ec99(0x3ff)][_0x27ec99(0x496)]>0x0){let _0x198bfe=this[_0x27ec99(0x3ff)][_0x27ec99(0x274)]();this[_0x27ec99(0x1f5)](_0x198bfe);}}}));}[_0x1c1719(0x3b9)](){const _0x3a7cf5=_0x1c1719;super['dispose'](),this[_0x3a7cf5(0x325)](),this['_taskIds']=[],this[_0x3a7cf5(0x296)]=0x0,this[_0x3a7cf5(0x1d4)]=0x0,this[_0x3a7cf5(0x2fc)]=0x0;}async[_0x1c1719(0x169)](_0x3122b1,_0x20e66d){const _0x60c56e=_0x1c1719;for(let _0x5d322b=0x0;_0x5d322b<0x1e;_0x5d322b++)try{if(await this[_0x60c56e(0x379)](),this[_0x60c56e(0x2d2)]()){this[_0x60c56e(0x3c5)](_0x3122b1,_0x20e66d),this[_0x60c56e(0x3b6)]['show']({'content':this[_0x60c56e(0x491)]['t'](_0x60c56e(0x3ad)),'type':_0x5c577d[_0x60c56e(0x3d1)][_0x60c56e(0x31a)]});return;}await new Promise(_0x2399c1=>{const _0xe6d70f=_0x60c56e;this[_0xe6d70f(0x323)]=window['setTimeout'](_0x2399c1,0x3e8);});}catch(_0xcc91cd){this[_0x60c56e(0x13d)]['error'](_0xcc91cd);}this[_0x60c56e(0x3b6)][_0x60c56e(0x3a6)]({'content':this[_0x60c56e(0x491)]['t'](_0x60c56e(0x271)),'type':_0x5c577d[_0x60c56e(0x3d1)][_0x60c56e(0x3e3)]});}['_applyCommand'](_0x164643,_0x3e4ea8){const _0x6cc339=_0x1c1719;try{this[_0x6cc339(0x244)][_0x6cc339(0x1ba)](_0x164643['id'],_0x164643[_0x6cc339(0x436)],_0x3e4ea8);}catch(_0x1fc56f){this['_logService'][_0x6cc339(0x138)](_0x1fc56f);}}[_0x1c1719(0x22e)](_0x2f02a9,_0x1624ae){const _0x496b1d=_0x1c1719;_0x1624ae<this[_0x496b1d(0x2fc)]||(this[_0x496b1d(0x2fc)]=_0x1624ae,this[_0x496b1d(0x1d4)]=Number[_0x496b1d(0x233)](_0x2f02a9[_0x496b1d(0x1eb)]),this['_currentUsage']=Number[_0x496b1d(0x233)](_0x2f02a9[_0x496b1d(0x207)]));}async[_0x1c1719(0x450)](_0x393089){const _0x1830e9=_0x1c1719;let _0x38bf14=Date['now']();try{var _0x1dc9d1,_0x5b9b37;let _0x8aab30=((_0x1dc9d1=this[_0x1830e9(0x2aa)][_0x1830e9(0x1ca)](_0x298b58[_0x1830e9(0x1ef)]))==null?void 0x0:_0x1dc9d1[_0x1830e9(0x37f)])||'/universer-api/license/formula/limit/start',_0x4c44cf=(await this['_httpService']['post'](_0x8aab30,{'body':JSON[_0x1830e9(0x131)]({'taskId':_0x393089})}))[_0x1830e9(0x341)];if(((_0x5b9b37=_0x4c44cf[_0x1830e9(0x138)])==null?void 0x0:_0x5b9b37[_0x1830e9(0x175)])!==_0x3f4f53[_0x1830e9(0x41b)]['OK'])return;this['_setFormulaLimitStatus'](_0x4c44cf['limitInfo'],_0x38bf14);}catch(_0x1ecea6){this[_0x1830e9(0x13d)][_0x1830e9(0x138)](_0x1ecea6);}}async[_0x1c1719(0x379)](_0x32186c){const _0x274cd7=_0x1c1719;let _0x161163=Date['now']();try{var _0x15f1ad,_0x3406d4;let _0x5d45db=((_0x15f1ad=this['_configService'][_0x274cd7(0x1ca)](_0x298b58[_0x274cd7(0x1ef)]))==null?void 0x0:_0x15f1ad[_0x274cd7(0x1fe)])||'/universer-api/license/formula/limit/status',_0x303104=_0x32186c?_0x5d45db+'?taskId='+encodeURIComponent(_0x32186c):_0x5d45db,_0x50ca25=(await this[_0x274cd7(0x270)][_0x274cd7(0x397)](_0x303104))[_0x274cd7(0x341)];if(((_0x3406d4=_0x50ca25[_0x274cd7(0x138)])==null?void 0x0:_0x3406d4[_0x274cd7(0x175)])!==_0x3f4f53[_0x274cd7(0x41b)]['OK'])return;this[_0x274cd7(0x22e)](_0x50ca25[_0x274cd7(0x147)],_0x161163);}catch(_0x2c1432){this[_0x274cd7(0x13d)][_0x274cd7(0x138)](_0x2c1432);}}async['_releaseCalculationLimit'](_0x28cb86){const _0xee7be4=_0x1c1719;let _0x34219d=Date[_0xee7be4(0x422)]();try{var _0x540a73,_0x896ed0;let _0x532328=((_0x540a73=this[_0xee7be4(0x2aa)][_0xee7be4(0x1ca)](_0x298b58[_0xee7be4(0x1ef)]))==null?void 0x0:_0x540a73['releaseFormulaLimitUrl'])||_0xee7be4(0x3c3),_0xb1b443=(await this['_httpService'][_0xee7be4(0x251)](_0x532328,{'body':JSON[_0xee7be4(0x131)]({'taskId':_0x28cb86})}))[_0xee7be4(0x341)];if(((_0x896ed0=_0xb1b443['error'])==null?void 0x0:_0x896ed0[_0xee7be4(0x175)])!==_0x3f4f53[_0xee7be4(0x41b)]['OK'])return;this[_0xee7be4(0x22e)](_0xb1b443['limitInfo'],_0x34219d);}catch(_0x2b598a){this['_logService']['error'](_0x2b598a);}}[_0x1c1719(0x2d2)](){const _0x4e1753=_0x1c1719;return this[_0x4e1753(0x1d4)]===0x0||this[_0x4e1753(0x1d4)]-this[_0x4e1753(0x296)]>0x0;}[_0x1c1719(0x325)](){const _0x5dc339=_0x1c1719;this[_0x5dc339(0x323)]&&=(clearTimeout(this['_pollingInterval']),null);}['_showGuardMessage'](){const _0x44f776=_0x1c1719;this[_0x44f776(0x3b6)][_0x44f776(0x3a6)]({'content':this[_0x44f776(0x491)]['t'](_0x44f776(0x3b3)),'type':_0x5c577d['MessageType'][_0x44f776(0x42c)]});}['_hasFormulaInDirtyRanges'](_0x21655f){const _0x5a60aa=_0x1c1719;for(let _0x3f5536 of _0x21655f){let {unitId:_0x41eedb,sheetId:_0x3b81e9,range:_0x24ccc8}=_0x3f5536,_0x30563a=this['_univerInstanceService']['getUnit'](_0x41eedb,_0x2eb6ab[_0x5a60aa(0x280)][_0x5a60aa(0x212)]);if(!_0x30563a)continue;let _0x254fe3=_0x30563a[_0x5a60aa(0x2da)](_0x3b81e9);if(!_0x254fe3)continue;let _0x5e58ff=_0x254fe3['getCellMatrix']();for(let _0x54fed6=_0x24ccc8[_0x5a60aa(0x250)];_0x54fed6<=_0x24ccc8[_0x5a60aa(0x392)];_0x54fed6++)for(let _0x44f34e=_0x24ccc8[_0x5a60aa(0x420)];_0x44f34e<=_0x24ccc8[_0x5a60aa(0x219)];_0x44f34e++){let _0x5c3aa3=_0x5e58ff['getValue'](_0x54fed6,_0x44f34e);if(_0x5c3aa3&&((0x0,_0x2eb6ab[_0x5a60aa(0x333)])(_0x5c3aa3['f'])||(0x0,_0x2eb6ab[_0x5a60aa(0x47a)])(_0x5c3aa3['si'])))return!0x0;}}return!0x1;}};_0x206290=_0x4a62c9([_0x46a127(0x0,(0x0,_0x2eb6ab['Inject'])(_0x3dc1a1['IMessageService'])),_0x46a127(0x1,_0x2eb6ab['ICommandService']),_0x46a127(0x2,_0x2eb6ab[_0x1c1719(0x3e8)]),_0x46a127(0x3,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x217fd1[_0x1c1719(0x15b)])),_0x46a127(0x4,_0x2eb6ab[_0x1c1719(0x458)]),_0x46a127(0x5,_0x2eb6ab['ILogService']),_0x46a127(0x6,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab[_0x1c1719(0x46a)]))],_0x206290);let _0x59480a=class extends _0x2eb6ab['Disposable']{constructor(_0x39fa02,_0x5cf2cc,_0x7c465e){const _0x58089b=_0x1c1719;super(),this[_0x58089b(0x2aa)]=_0x39fa02,this[_0x58089b(0x3f4)]=_0x5cf2cc,this[_0x58089b(0x321)]=_0x7c465e,_0x255b47(this,_0x58089b(0x148),new Map()),_0x255b47(this,'_saveTaskMap',new Map()),_0x255b47(this,_0x58089b(0x38e),!0x1);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x1c1719(0x26d)](){const _0x4a9588=_0x1c1719;this[_0x4a9588(0x38e)]=!0x1;}get['saveTaskMap'](){const _0x44cdd2=_0x1c1719;return this[_0x44cdd2(0x318)];}[_0x1c1719(0x3b9)](){const _0x3c8652=_0x1c1719;this['exhaustSavingTask']()[_0x3c8652(0x36a)](()=>super['dispose']());}async['loadOfflineData'](_0x2de5d7){const _0x3295d6=_0x1c1719;return this[_0x3295d6(0x38e)]?null:this[_0x3295d6(0x3f4)][_0x3295d6(0x432)]((0x0,_0x298b58[_0x3295d6(0x1d0)])(_0x2de5d7));}async[_0x1c1719(0x423)](_0x1d529f,_0x30e986){const _0x57f215=_0x1c1719;return!!this[_0x57f215(0x3f4)][_0x57f215(0x41a)]((0x0,_0x298b58[_0x57f215(0x1d0)])(_0x1d529f),_0x30e986);}async[_0x1c1719(0x136)](_0x304248,_0x545c9f){const _0x4ac961=_0x1c1719;let _0x315f3a=this[_0x4ac961(0x148)][_0x4ac961(0x397)](_0x304248)??await this[_0x4ac961(0x3f4)][_0x4ac961(0x432)]((0x0,_0x298b58[_0x4ac961(0x1d0)])(_0x304248));if(!_0x315f3a)return;let _0x58c7b8=Date['now'](),_0x5a5a6b=new Date(_0x58c7b8)['toISOString']();await this['_localStorageService'][_0x4ac961(0x41a)]((0x0,_0x298b58[_0x4ac961(0x1d0)])(_0x304248)+_0x4ac961(0x343)+_0x58c7b8,{'reason':_0x545c9f,'createdAt':_0x5a5a6b,'data':_0x315f3a});}['updateOfflineData'](_0x4d98da,_0x51938d,_0x56dd46,_0x82b3e2){const _0x52c36e=_0x1c1719;let _0x240bea=this[_0x52c36e(0x321)][_0x52c36e(0x21d)](_0x4d98da);this[_0x52c36e(0x148)][_0x52c36e(0x2f8)](_0x4d98da,{'unitID':_0x4d98da,'type':_0x51938d,'awaitingChangeset':_0x56dd46,'mutations':_0x82b3e2,'rev':_0x240bea}),this[_0x52c36e(0x318)][_0x52c36e(0x295)](_0x4d98da)||this[_0x52c36e(0x320)](_0x4d98da);}[_0x1c1719(0x320)](_0x9b1ceb){const _0x52c5ec=_0x1c1719;let _0x129f3c=this['_getSaveTimeout']();_0x129f3c===0x0?this['_saveCache'](_0x9b1ceb):this['_saveTaskMap'][_0x52c5ec(0x2f8)](_0x9b1ceb,window['setTimeout'](()=>this['_saveCache'](_0x9b1ceb),_0x129f3c));}[_0x1c1719(0x17a)](){const _0x141262=_0x1c1719;return this['_configService'][_0x141262(0x1ca)](_0x298b58[_0x141262(0x277)])??_0x298b58['LOCAL_CACHE_INTERVAL'];}[_0x1c1719(0x39e)](_0x3bd818){const _0x23c81e=_0x1c1719;let _0x268ca4=this['_saveTaskMap'][_0x23c81e(0x397)](_0x3bd818);return _0x268ca4!==void 0x0&&window[_0x23c81e(0x1bd)](_0x268ca4),this[_0x23c81e(0x3f4)][_0x23c81e(0x41a)]((0x0,_0x298b58[_0x23c81e(0x1d0)])(_0x3bd818),this[_0x23c81e(0x148)][_0x23c81e(0x397)](_0x3bd818))[_0x23c81e(0x36a)](()=>this[_0x23c81e(0x318)][_0x23c81e(0x3a9)](_0x3bd818));}async['exhaustSavingTask'](){const _0x55ed56=_0x1c1719;let _0x2693e4=[];this['_saveTaskMap'][_0x55ed56(0x230)]((_0x474d3a,_0x3d0b2b)=>{const _0x25946e=_0x55ed56;window[_0x25946e(0x1bd)](_0x474d3a),_0x2693e4['push'](this[_0x25946e(0x39e)](_0x3d0b2b)[_0x25946e(0x36a)](()=>{const _0x16d39f=_0x25946e;this[_0x16d39f(0x318)][_0x16d39f(0x3a9)](_0x3d0b2b);}));}),await Promise[_0x55ed56(0x48c)](_0x2693e4);}};_0x59480a=_0x4a62c9([_0x46a127(0x0,_0x2eb6ab['IConfigService']),_0x46a127(0x1,_0x2eb6ab['ILocalStorageService']),_0x46a127(0x2,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x1e96a3[_0x1c1719(0x29e)]))],_0x59480a);var _0x1bee2a=class extends _0x2eb6ab[_0x1c1719(0x2df)]{constructor(){const _0x1d0b0b=_0x1c1719;super(),_0x255b47(this,_0x1d0b0b(0x2ce),void 0x0),this[_0x1d0b0b(0x2ce)]=(0x0,_0x40e05b[_0x1d0b0b(0x28c)])(window,_0x1d0b0b(0x38d))[_0x1d0b0b(0x400)]((0x0,_0x40e05b[_0x1d0b0b(0x199)])(this[_0x1d0b0b(0x196)]),(0x0,_0x40e05b['shareReplay'])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x40e05b[_0x1d0b0b(0x22a)])(void 0x0));}[_0x1c1719(0x160)](_0x4bc4ce,_0x434e49,_0x2bf8bb=!0x1){const _0x1e794d=_0x1c1719;let _0x406cad=new URL(window[_0x1e794d(0x33c)][_0x1e794d(0x278)]);_0x406cad[_0x1e794d(0x22d)]['set'](_0x4bc4ce,_0x434e49),_0x2bf8bb?window[_0x1e794d(0x3bc)][_0x1e794d(0x302)]('','',_0x406cad[_0x1e794d(0x179)]()):window[_0x1e794d(0x3bc)][_0x1e794d(0x1de)]('','',_0x406cad[_0x1e794d(0x179)]());}[_0x1c1719(0x1db)](_0x4be853,_0x3c984d=!0x1){const _0x24febb=_0x1c1719;let _0x3e39f9=new URL(window[_0x24febb(0x33c)][_0x24febb(0x278)]);_0x3e39f9[_0x24febb(0x22d)][_0x24febb(0x3a9)](_0x4be853),_0x3c984d?window[_0x24febb(0x3bc)][_0x24febb(0x302)]('','',_0x3e39f9[_0x24febb(0x179)]()):window[_0x24febb(0x3bc)][_0x24febb(0x1de)]('','',_0x3e39f9['toString']());}[_0x1c1719(0x306)](_0x423d27){const _0x27119e=_0x1c1719;return new URL(window[_0x27119e(0x33c)][_0x27119e(0x278)])[_0x27119e(0x22d)][_0x27119e(0x397)](_0x423d27)??void 0x0;}};let _0x228d2a=class extends _0x2eb6ab[_0x1c1719(0x234)]{constructor(_0x4fac93=_0x26a408,_0x4d33a5,_0x26fc72,_0x25ae53){const _0x5c8167=_0x1c1719;super(),this[_0x5c8167(0x2d8)]=_0x4fac93,this[_0x5c8167(0x30c)]=_0x4d33a5,this[_0x5c8167(0x2b9)]=_0x26fc72,this['_configService']=_0x25ae53;let {..._0xc7d9e4}=(0x0,_0x2eb6ab[_0x5c8167(0x208)])({},_0x26a408,this[_0x5c8167(0x2d8)]);this[_0x5c8167(0x2aa)][_0x5c8167(0x205)](_0x5c8167(0x1ae),_0xc7d9e4);}['onStarting'](){const _0x1b7c66=_0x1c1719;this[_0x1b7c66(0x353)](),this[_0x1b7c66(0x2ea)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x1c1719(0x353)](){const _0x4f9cfc=_0x1c1719;var _0x2e0719;let _0x1f8a75=[[_0x26d416],[_0x206290],[_0x1baaa9,{'useClass':_0x1bee2a}],[_0x217fd1[_0x4f9cfc(0x29a)],{'useClass':_0x217fd1[_0x4f9cfc(0x417)]}],[_0x298b58[_0x4f9cfc(0x14e)],{'useClass':_0x59480a}],[_0x305709],[_0x3cf5a9],[_0xfc7bfd],[_0x416208],[_0x391bcd],[_0x47a656]];this['_config']['enableDocumentCollaborationUI']!==!0x1&&_0x1f8a75[_0x4f9cfc(0x163)]([_0x1ece35],[_0x3cc120],[_0x4ec085],[_0x541ca7],[_0x14218f],[_0x3134e6]),this['_config'][_0x4f9cfc(0x39f)]&&_0x1f8a75[_0x4f9cfc(0x163)]([_0x20886a]),(0x0,_0x2eb6ab[_0x4f9cfc(0x31f)])(this[_0x4f9cfc(0x2b9)],(0x0,_0x2eb6ab[_0x4f9cfc(0x1bc)])(_0x1f8a75,(_0x2e0719=this['_config'])==null?void 0x0:_0x2e0719[_0x4f9cfc(0x373)]));}[_0x1c1719(0x1d8)](){const _0x124018=_0x1c1719;this['_config'][_0x124018(0x34a)]!==!0x1&&this[_0x124018(0x38f)](this[_0x124018(0x30c)][_0x124018(0x47b)](_0x2eb6ab[_0x124018(0x280)][_0x124018(0x332)],[_0x28f999])),this[_0x124018(0x38f)](this[_0x124018(0x30c)][_0x124018(0x47b)](_0x2eb6ab[_0x124018(0x280)][_0x124018(0x212)],[_0x42dc76])),this[_0x124018(0x38f)](this[_0x124018(0x30c)][_0x124018(0x47b)](_0x2eb6ab[_0x124018(0x280)][_0x124018(0x28f)],[_0x44d58d])),this[_0x124018(0x38f)](this[_0x124018(0x30c)][_0x124018(0x47b)](_0x2eb6ab[_0x124018(0x280)][_0x124018(0x20e)],[_0x5c2dd2]));}[_0x1c1719(0x2ea)](){const _0x1fa792=_0x1c1719;(0x0,_0x2eb6ab[_0x1fa792(0x340)])(this[_0x1fa792(0x2b9)],[[_0x416208],[_0x305709],[_0x3cf5a9],[_0xfc7bfd],[_0x391bcd],[_0x206290],[_0x47a656]]),this[_0x1fa792(0x2d8)][_0x1fa792(0x34a)]!==!0x1&&(0x0,_0x2eb6ab[_0x1fa792(0x340)])(this[_0x1fa792(0x2b9)],[[_0x14218f],[_0x3134e6]]),this[_0x1fa792(0x2d8)]['enableFrontendLog']&&(0x0,_0x2eb6ab[_0x1fa792(0x340)])(this['_injector'],[[_0x20886a]]);}};_0x255b47(_0x228d2a,_0x1c1719(0x3c0),_0x1c1719(0x1c5)),_0x255b47(_0x228d2a,_0x1c1719(0x1b3),_0x4c9190),_0x255b47(_0x228d2a,_0x1c1719(0x427),_0x5ba1c6),_0x228d2a=_0x4a62c9([(0x0,_0x2eb6ab[_0x1c1719(0x454)])(_0x4e299b[_0x1c1719(0x44c)],_0x4d4b92[_0x1c1719(0x3c9)],_0x25f9de[_0x1c1719(0x3c7)],_0x217fd1[_0x1c1719(0x15f)],_0x1e96a3[_0x1c1719(0x269)],_0x324cd9['UniverDocsUIPlugin'],_0x298b58['UniverCollaborationClientPlugin']),_0x46a127(0x1,_0x25f9de[_0x1c1719(0x327)]),_0x46a127(0x2,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x2eb6ab['Injector'])),_0x46a127(0x3,_0x2eb6ab[_0x1c1719(0x3e8)])],_0x228d2a);let _0x26c710=class extends _0x298b58[_0x1c1719(0x2fa)]{constructor(_0x2a7e9a,_0x80938d,_0xe82852,_0x29682a,_0xaa7b54){super(_0x2a7e9a,_0x80938d,_0xe82852,_0x29682a,_0xaa7b54);}async[_0x1c1719(0x2ba)](_0x45c485){const _0xa1efef=_0x1c1719;let _0x59bcd3=await this[_0xa1efef(0x1c7)](),_0x450f42=this[_0xa1efef(0x20c)](_0x45c485,_0x59bcd3);return this[_0xa1efef(0x1e9)](_0x450f42);}[_0x1c1719(0x20c)](_0x1e4c74,_0x9d7a7){const _0x4315be=_0x1c1719;let _0x11acb7=typeof window>'u'?new URL(_0x1e4c74):new URL(_0x1e4c74,window[_0x4315be(0x33c)][_0x4315be(0x3cd)]);_0x11acb7['searchParams'][_0x4315be(0x2f8)](_0x4315be(0x12f),_0x9d7a7);let _0x55e093=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4315be(0x189)]);return _0x55e093['get'](_0x4315be(0x1ad))&&_0x11acb7[_0x4315be(0x22d)][_0x4315be(0x2f8)](_0x4315be(0x1ad),_0x55e093[_0x4315be(0x397)](_0x4315be(0x1ad))),_0x11acb7[_0x4315be(0x179)]();}async['_getSessionTicket'](){const _0x3733f8=_0x1c1719;var _0x526338;let _0x1d7a02=this[_0x3733f8(0x2aa)]['getConfig'](_0x298b58[_0x3733f8(0x1ef)]),_0x51b04a=(_0x1d7a02==null?void 0x0:_0x1d7a02[_0x3733f8(0x18a)])??_0x298b58[_0x3733f8(0x3bd)];return((_0x526338=(await this[_0x3733f8(0x270)][_0x3733f8(0x397)](_0x51b04a,{'headers':{'Content-Type':_0x3733f8(0x170)}}))['body'])==null?void 0x0:_0x526338[_0x3733f8(0x44a)])??'';}};_0x26c710=_0x4a62c9([_0x46a127(0x0,(0x0,_0x2eb6ab['Inject'])(_0x2eb6ab[_0x1c1719(0x1cc)])),_0x46a127(0x1,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x217fd1[_0x1c1719(0x15b)])),_0x46a127(0x2,_0x2eb6ab[_0x1c1719(0x3e8)]),_0x46a127(0x3,_0x2eb6ab[_0x1c1719(0x3d9)]),_0x46a127(0x4,_0x1e96a3[_0x1c1719(0x2d4)])],_0x26c710);let _0xdf868=class extends _0x2eb6ab[_0x1c1719(0x285)]{constructor(_0x2e28d3,_0x1151c7,_0x45d243){const _0x49ea41=_0x1c1719;super(),this['_instanceService']=_0x2e28d3,this[_0x49ea41(0x270)]=_0x1151c7,this[_0x49ea41(0x2aa)]=_0x45d243;}async[_0x1c1719(0x28e)](_0x4b3ec4,_0x1953fb,_0x465a0d,..._0x31d7ed){const _0x5d06e6=_0x1c1719;let _0x3574fd=this[_0x5d06e6(0x3ce)][_0x5d06e6(0x407)]();if(!_0x3574fd)throw Error(_0x5d06e6(0x248));let _0x15397e=(this['_configService'][_0x5d06e6(0x1ca)](_0x298b58[_0x5d06e6(0x334)])??_0x298b58[_0x5d06e6(0x164)])+'/'+_0x4b3ec4+_0x5d06e6(0x145)+_0x1953fb,_0x4a6f44={'scriptId':_0x4b3ec4,'runId':new URL(window['location']['href'])[_0x5d06e6(0x22d)][_0x5d06e6(0x397)]('runId')??'','function':_0x1953fb,'unitId':_0x3574fd[_0x5d06e6(0x3e1)](),'argsOfFunction':JSON[_0x5d06e6(0x131)](_0x31d7ed),'invokeId':_0x465a0d[_0x5d06e6(0x2e2)]??'','executionId':_0x465a0d[_0x5d06e6(0x372)]??''};try{let _0x147c1c=await this[_0x5d06e6(0x270)][_0x5d06e6(0x251)](_0x15397e,{'body':_0x4a6f44});return _0x147c1c['body'][_0x5d06e6(0x138)]&&_0x147c1c[_0x5d06e6(0x341)][_0x5d06e6(0x138)][_0x5d06e6(0x175)]!==_0x3f4f53['ErrorCode']['OK']?'Failed':_0x147c1c[_0x5d06e6(0x341)][_0x5d06e6(0x2bb)];}catch{return _0x5d06e6(0x3b7);}}};_0xdf868=_0x4a62c9([_0x46a127(0x0,_0x2eb6ab[_0x1c1719(0x458)]),_0x46a127(0x1,(0x0,_0x2eb6ab[_0x1c1719(0x28d)])(_0x217fd1[_0x1c1719(0x15b)])),_0x46a127(0x2,_0x2eb6ab[_0x1c1719(0x3e8)])],_0xdf868);let _0x236cb7=0x7530,_0xa7929e=_0x1c1719(0x38c);var _0x33ba81=class extends _0x2eb6ab['Disposable']{constructor(){const _0x4cf017=_0x1c1719;super(),_0x255b47(this,_0x4cf017(0x28a),(0x0,_0x2eb6ab[_0x4cf017(0x350)])()),_0x255b47(this,'_selfUnitIDs',new Set()),_0x255b47(this,'_unitOnClients',new Map()),_0x255b47(this,_0x4cf017(0x357),null),_0x255b47(this,_0x4cf017(0x338),new Map()),_0x255b47(this,_0x4cf017(0x293),new Map()),this['_init']();}[_0x1c1719(0x3b9)](){const _0x57dd90=_0x1c1719;super['dispose'](),this[_0x57dd90(0x338)][_0x57dd90(0x230)]((_0x2e26bd,_0x2501a8)=>this[_0x57dd90(0x276)](_0x2501a8)),this[_0x57dd90(0x357)]&&window['clearInterval'](this[_0x57dd90(0x357)]);}[_0x1c1719(0x2bc)](_0x169db2){const _0x3db587=_0x1c1719;return this[_0x3db587(0x33d)](_0x169db2)['pipe']((0x0,_0x40e05b[_0x3db587(0x17e)])());}[_0x1c1719(0x12b)](_0x6da31d){const _0x53aaa8=_0x1c1719;this[_0x53aaa8(0x2c3)][_0x53aaa8(0x2e3)]===0x0&&this['_scheduleHeartbeat'](),this[_0x53aaa8(0x2c3)][_0x53aaa8(0x25a)](_0x6da31d),this[_0x53aaa8(0x435)]({'type':0x0,'memberID':this[_0x53aaa8(0x28a)],'unitIDs':[_0x6da31d],'isForwarded':!0x1});}[_0x1c1719(0x264)](_0x5929a7){const _0x456780=_0x1c1719;this[_0x456780(0x2c3)]['delete'](_0x5929a7),this['_selfUnitIDs'][_0x456780(0x2e3)]===0x0&&this[_0x456780(0x357)]&&window['clearInterval'](this[_0x456780(0x357)]);}[_0x1c1719(0x348)](){const _0x6b9158=_0x1c1719;this[_0x6b9158(0x38f)]((0x0,_0x2eb6ab['toDisposable'])((0x0,_0x40e05b[_0x6b9158(0x28c)])(window,'storage')[_0x6b9158(0x490)](_0x2d6545=>{const _0x36218f=_0x6b9158;if(_0x2d6545[_0x36218f(0x39c)]!==_0xa7929e||!_0x2d6545[_0x36218f(0x413)])return;let _0x3833c9=JSON[_0x36218f(0x21a)](_0x2d6545[_0x36218f(0x413)]);this['_handleEvent'](_0x3833c9);}))),window[_0x6b9158(0x252)](_0x6b9158(0x20d),()=>this['_send']({'type':0x1,'memberID':this[_0x6b9158(0x28a)],'unitIDs':Array[_0x6b9158(0x209)](this[_0x6b9158(0x2c3)])}));}[_0x1c1719(0x260)](_0x26c4b0){const _0x44a4fe=_0x1c1719;switch(_0x26c4b0[_0x44a4fe(0x1a9)]){case 0x0:this['_handleJoinEvent'](_0x26c4b0);break;case 0x1:this[_0x44a4fe(0x23f)](_0x26c4b0);break;case 0x2:this[_0x44a4fe(0x150)](_0x26c4b0);break;}}[_0x1c1719(0x451)](_0x1f3ad8){const _0x43902b=_0x1c1719;let {unitIDs:_0x783e86,memberID:_0x2ac377,isForwarded:_0x3aeb87}=_0x1f3ad8;_0x783e86['forEach'](_0x185985=>{const _0x1cd67b=_0x5e0e;if(!_0x3aeb87&&this[_0x1cd67b(0x19b)]['has'](_0x185985)&&this[_0x1cd67b(0x33d)](_0x185985)[_0x1cd67b(0x2a8)](_0x298b58[_0x1cd67b(0x1a7)][_0x1cd67b(0x3ca)]),!this[_0x1cd67b(0x19b)][_0x1cd67b(0x295)](_0x185985)||!this[_0x1cd67b(0x19b)][_0x1cd67b(0x397)](_0x185985)[_0x1cd67b(0x295)](_0x2ac377)){let _0xa81cf=this[_0x1cd67b(0x19b)]['get'](_0x185985)||new Set();_0xa81cf['add'](_0x2ac377),this[_0x1cd67b(0x19b)]['set'](_0x185985,_0xa81cf),this['_scheduleClearOtherTimer'](_0x2ac377);}}),_0x3aeb87||this[_0x43902b(0x435)]({'type':0x0,'memberID':this[_0x43902b(0x28a)],'unitIDs':[...this[_0x43902b(0x2c3)]],'isForwarded':!0x0});}[_0x1c1719(0x1c2)](_0x421d63){const _0x17052d=_0x1c1719;this[_0x17052d(0x276)](_0x421d63);let _0x1726bb=window[_0x17052d(0x419)](()=>{const _0x421544=_0x17052d;this[_0x421544(0x19b)][_0x421544(0x230)](_0x5c2089=>{const _0x6396a=_0x421544;_0x5c2089[_0x6396a(0x3a9)](_0x421d63);});},_0x236cb7*0x2);this[_0x17052d(0x338)][_0x17052d(0x2f8)](_0x421d63,_0x1726bb);}['_removeClearOtherTimer'](_0x18fcba){const _0x29fa8b=_0x1c1719;if(this[_0x29fa8b(0x338)]['has'](_0x18fcba)){let _0x1a009f=this['_clearOtherTimers'][_0x29fa8b(0x397)](_0x18fcba);_0x1a009f&&window['clearTimeout'](_0x1a009f),this['_clearOtherTimers'][_0x29fa8b(0x2f8)](_0x18fcba,null);}}[_0x1c1719(0x23f)](_0x6a798d){const _0x2b7c18=_0x1c1719;let {memberID:_0x1af7a8,unitIDs:_0x1db914}=_0x6a798d;_0x1db914['forEach'](_0x5c1be9=>{const _0x1f761d=_0x5e0e;var _0xbae0a3;let _0x9eb4a0=this[_0x1f761d(0x19b)][_0x1f761d(0x397)](_0x5c1be9);_0x9eb4a0&&(_0x9eb4a0[_0x1f761d(0x3a9)](_0x1af7a8),(_0xbae0a3=this[_0x1f761d(0x33d)](_0x5c1be9))==null||_0xbae0a3[_0x1f761d(0x2a8)](_0x9eb4a0[_0x1f761d(0x2e3)]===0x0?_0x298b58[_0x1f761d(0x1a7)][_0x1f761d(0x462)]:_0x298b58[_0x1f761d(0x1a7)][_0x1f761d(0x3ca)]));}),this[_0x2b7c18(0x276)](_0x1af7a8);}[_0x1c1719(0x150)](_0x24a511){const _0x504237=_0x1c1719;this[_0x504237(0x1c2)](_0x24a511[_0x504237(0x40c)]);}[_0x1c1719(0x435)](_0x5457e3){const _0x4a29d6=_0x1c1719;localStorage[_0x4a29d6(0x41a)](_0xa7929e,JSON['stringify'](_0x5457e3));}['_scheduleHeartbeat'](){const _0x49fe9c=_0x1c1719;this[_0x49fe9c(0x357)]=window[_0x49fe9c(0x29f)](()=>{const _0x4d5194=_0x49fe9c;this['_send']({'type':0x2,'memberID':this[_0x4d5194(0x28a)]});},_0x236cb7);}[_0x1c1719(0x33d)](_0x35b986){const _0xc5d0d0=_0x1c1719;return this[_0xc5d0d0(0x293)][_0xc5d0d0(0x295)](_0x35b986)||this['_unitStatus'][_0xc5d0d0(0x2f8)](_0x35b986,new _0x40e05b[(_0xc5d0d0(0x241))](_0x298b58['UnitStatus'][_0xc5d0d0(0x462)])),this['_unitStatus'][_0xc5d0d0(0x397)](_0x35b986);}};Object[_0x1c1719(0x486)](_0x2af32b,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x26c710;}}),Object[_0x1c1719(0x486)](_0x2af32b,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x305709;}}),_0x2af32b[_0x1c1719(0x258)]=_0x1baaa9,Object[_0x1c1719(0x486)](_0x2af32b,_0x1c1719(0x3ae),{'enumerable':!0x0,'get':function(){return _0xdf868;}}),_0x2af32b[_0x1c1719(0x257)]=_0x1e8728,Object['defineProperty'](_0x2af32b,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x228d2a;}}),_0x2af32b[_0x1c1719(0x352)]=_0x33ba81;}));
|