@univerjs-pro/collaboration-client-ui 0.10.8 → 0.10.9-nightly.202509260614
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x299571,_0x43600a){const _0x2a9f52=_0x4bb6,_0x2d5a4b=_0x299571();while(!![]){try{const _0x46638c=-parseInt(_0x2a9f52(0x217))/0x1*(-parseInt(_0x2a9f52(0x2fe))/0x2)+-parseInt(_0x2a9f52(0x428))/0x3*(-parseInt(_0x2a9f52(0x232))/0x4)+parseInt(_0x2a9f52(0x29d))/0x5*(-parseInt(_0x2a9f52(0x42e))/0x6)+-parseInt(_0x2a9f52(0x477))/0x7+parseInt(_0x2a9f52(0x451))/0x8*(-parseInt(_0x2a9f52(0x41f))/0x9)+-parseInt(_0x2a9f52(0x1fd))/0xa*(-parseInt(_0x2a9f52(0x267))/0xb)+parseInt(_0x2a9f52(0x353))/0xc;if(_0x46638c===_0x43600a)break;else _0x2d5a4b['push'](_0x2d5a4b['shift']());}catch(_0x2d054f){_0x2d5a4b['push'](_0x2d5a4b['shift']());}}}(_0x27fa,0xde9db),function(_0x2205c3,_0x53c76e){const _0x17b9fb=_0x4bb6;typeof exports==_0x17b9fb(0x396)&&typeof module<'u'?_0x53c76e(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define([_0x17b9fb(0x37e),'react/jsx-runtime',_0x17b9fb(0x3e8),_0x17b9fb(0x43e),_0x17b9fb(0x225),'rxjs',_0x17b9fb(0x2bc),_0x17b9fb(0x3d2),'@univerjs/rpc','@univerjs/sheets',_0x17b9fb(0x3c3),_0x17b9fb(0x298),_0x17b9fb(0x449),_0x17b9fb(0x242),'@univerjs-pro/collaboration',_0x17b9fb(0x324),'@univerjs/engine-formula','rxjs/operators',_0x17b9fb(0x466)],_0x53c76e):(_0x2205c3=typeof globalThis<'u'?globalThis:_0x2205c3||self,_0x53c76e(_0x2205c3[_0x17b9fb(0x376)]={},_0x2205c3['React'],_0x2205c3[_0x17b9fb(0x2da)],_0x2205c3['UniverCore'],_0x2205c3[_0x17b9fb(0x38d)],_0x2205c3[_0x17b9fb(0x228)],_0x2205c3[_0x17b9fb(0x303)],_0x2205c3[_0x17b9fb(0x2cc)],_0x2205c3[_0x17b9fb(0x1ee)],_0x2205c3[_0x17b9fb(0x42a)],_0x2205c3['UniverEngineRender'],_0x2205c3[_0x17b9fb(0x261)],_0x2205c3[_0x17b9fb(0x1e1)],_0x2205c3[_0x17b9fb(0x284)],_0x2205c3[_0x17b9fb(0x40c)],_0x2205c3[_0x17b9fb(0x384)],_0x2205c3[_0x17b9fb(0x302)],_0x2205c3[_0x17b9fb(0x228)]['operators'],_0x2205c3[_0x17b9fb(0x214)]));}(this,function(_0x11d7a5,_0x1af605,_0x1c12f2,_0x4921b5,_0x56a892,_0x66da6e,_0x20d8fb,_0x1796bf,_0x68b8d4,_0x3e73c9,_0x22d409,_0x1d4e08,_0x3fda77,_0x283592,_0x1a4d3b,_0x4bc80d,_0xeb64c6,_0x4449c2,_0x53da58){'use strict';const _0x449813=_0x4bb6;var _0x39a2cf=Object[_0x449813(0x388)],_0x347a53=(_0x27b99f,_0xce635c,_0x34a097)=>_0xce635c in _0x27b99f?_0x39a2cf(_0x27b99f,_0xce635c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34a097}):_0x27b99f[_0xce635c]=_0x34a097,_0x8d7f57=(_0x1491e2,_0x11fd9a,_0x37e840)=>_0x347a53(_0x1491e2,typeof _0x11fd9a!=_0x449813(0x1d9)?_0x11fd9a+'':_0x11fd9a,_0x37e840),_0x5b7203=function(){const _0x57251e=_0x449813;return _0x5b7203=Object[_0x57251e(0x37d)]||function(_0x21a9e1){const _0x330122=_0x57251e;for(var _0x116c8c,_0x12d0c4=0x1,_0x3c8438=arguments[_0x330122(0x418)];_0x12d0c4<_0x3c8438;_0x12d0c4++){_0x116c8c=arguments[_0x12d0c4];for(var _0x21c681 in _0x116c8c)Object['prototype'][_0x330122(0x218)][_0x330122(0x38b)](_0x116c8c,_0x21c681)&&(_0x21a9e1[_0x21c681]=_0x116c8c[_0x21c681]);}return _0x21a9e1;},_0x5b7203[_0x57251e(0x22a)](this,arguments);},_0x398d2b=function(_0xea4d72,_0x15b001){const _0x2ba11a=_0x449813;var _0x42b988={};for(var _0x452580 in _0xea4d72)Object[_0x2ba11a(0x361)][_0x2ba11a(0x218)]['call'](_0xea4d72,_0x452580)&&_0x15b001['indexOf'](_0x452580)<0x0&&(_0x42b988[_0x452580]=_0xea4d72[_0x452580]);if(_0xea4d72!=null&&typeof Object['getOwnPropertySymbols']==_0x2ba11a(0x382)){for(var _0x4e47a6=0x0,_0x452580=Object[_0x2ba11a(0x24b)](_0xea4d72);_0x4e47a6<_0x452580['length'];_0x4e47a6++)_0x15b001[_0x2ba11a(0x385)](_0x452580[_0x4e47a6])<0x0&&Object[_0x2ba11a(0x361)]['propertyIsEnumerable']['call'](_0xea4d72,_0x452580[_0x4e47a6])&&(_0x42b988[_0x452580[_0x4e47a6]]=_0xea4d72[_0x452580[_0x4e47a6]]);}return _0x42b988;},_0x1c2af3=_0x1796bf['forwardRef'](function(_0x54ebf4,_0x279999){const _0x4f5bbe=_0x449813;var _0xe5b632=_0x54ebf4[_0x4f5bbe(0x3f2)],_0x26e746=_0x54ebf4['id'],_0x136aba=_0x54ebf4[_0x4f5bbe(0x1e7)],_0x4230e7=_0x54ebf4['extend'],_0x6c204e=_0x398d2b(_0x54ebf4,[_0x4f5bbe(0x3f2),'id',_0x4f5bbe(0x1e7),'extend']),_0x21f519=_0x4f5bbe(0x321)[_0x4f5bbe(0x455)](_0x26e746,'\x20')[_0x4f5bbe(0x455)](_0x136aba||'')[_0x4f5bbe(0x400)](),_0x3968f1=_0x1796bf[_0x4f5bbe(0x458)]('_'[_0x4f5bbe(0x455)](_0x45b6df()));return _0x48825c(_0xe5b632,''['concat'](_0x26e746),{'defIds':_0xe5b632[_0x4f5bbe(0x394)],'idSuffix':_0x3968f1[_0x4f5bbe(0x2d7)]},_0x5b7203({'ref':_0x279999,'className':_0x21f519},_0x6c204e),_0x4230e7);});function _0x48825c(_0x3f6861,_0x683885,_0x2ef3e8,_0x413a45,_0x541ab7){const _0x1e1cd6=_0x449813;return _0x1796bf[_0x1e1cd6(0x289)](_0x3f6861[_0x1e1cd6(0x213)],_0x5b7203(_0x5b7203({'key':_0x683885},_0x2704bc(_0x3f6861,_0x2ef3e8,_0x541ab7)),_0x413a45),(_0x38d47a(_0x3f6861,_0x2ef3e8)[_0x1e1cd6(0x3fe)]||[])[_0x1e1cd6(0x33d)](function(_0x56c619,_0x5c505f){const _0x1a15f3=_0x1e1cd6;return _0x48825c(_0x56c619,''[_0x1a15f3(0x455)](_0x683885,'-')[_0x1a15f3(0x455)](_0x3f6861['tag'],'-')[_0x1a15f3(0x455)](_0x5c505f),_0x2ef3e8,void 0x0,_0x541ab7);}));}function _0x2704bc(_0x447511,_0x47f495,_0xfd98bd){const _0x2e27b5=_0x449813;var _0x43c6b6=_0x5b7203({},_0x447511[_0x2e27b5(0x200)]);_0xfd98bd!=null&&_0xfd98bd[_0x2e27b5(0x309)]&&_0x43c6b6[_0x2e27b5(0x373)]===_0x2e27b5(0x309)&&(_0x43c6b6[_0x2e27b5(0x373)]=_0xfd98bd[_0x2e27b5(0x309)]),_0x447511[_0x2e27b5(0x213)]===_0x2e27b5(0x22c)&&_0x43c6b6['id']&&(_0x43c6b6['id']=_0x43c6b6['id']+_0x47f495[_0x2e27b5(0x37c)]),Object['entries'](_0x43c6b6)['forEach'](function(_0x33b58f){const _0x485dfa=_0x2e27b5;var _0x44329b=_0x33b58f[0x0],_0x20a6ab=_0x33b58f[0x1];_0x44329b===_0x485dfa(0x22c)&&typeof _0x20a6ab=='string'&&(_0x43c6b6[_0x44329b]=_0x20a6ab[_0x485dfa(0x305)](/url\(#(.*)\)/,_0x485dfa(0x460)[_0x485dfa(0x455)](_0x47f495[_0x485dfa(0x37c)],')')));});var _0x907fdd=_0x47f495[_0x2e27b5(0x394)];return!_0x907fdd||_0x907fdd['length']===0x0||(_0x447511[_0x2e27b5(0x213)]===_0x2e27b5(0x3cb)&&_0x43c6b6[_0x2e27b5(0x36e)]&&(_0x43c6b6['xlink:href']=_0x43c6b6[_0x2e27b5(0x36e)]+_0x47f495['idSuffix']),Object[_0x2e27b5(0x2d0)](_0x43c6b6)['forEach'](function(_0x350af7){const _0x46acaf=_0x2e27b5;var _0x20ff54=_0x350af7[0x0],_0x3efa1f=_0x350af7[0x1];typeof _0x3efa1f==_0x46acaf(0x415)&&(_0x43c6b6[_0x20ff54]=_0x3efa1f[_0x46acaf(0x305)](/url\(#(.*)\)/,_0x46acaf(0x460)[_0x46acaf(0x455)](_0x47f495[_0x46acaf(0x37c)],')')));})),_0x43c6b6;}function _0x38d47a(_0x5e7d33,_0x2e5d9f){const _0x1184a9=_0x449813;var _0x2715af,_0x5297c9=_0x2e5d9f[_0x1184a9(0x394)];return!_0x5297c9||_0x5297c9[_0x1184a9(0x418)]===0x0?_0x5e7d33:_0x5e7d33[_0x1184a9(0x213)]===_0x1184a9(0x411)&&(!((_0x2715af=_0x5e7d33[_0x1184a9(0x3fe)])===null||_0x2715af===void 0x0)&&_0x2715af['length'])?_0x5b7203(_0x5b7203({},_0x5e7d33),{'children':_0x5e7d33['children'][_0x1184a9(0x33d)](function(_0x43a3bb){const _0x2b62b0=_0x1184a9;return typeof _0x43a3bb[_0x2b62b0(0x200)]['id']==_0x2b62b0(0x415)&&_0x5297c9&&_0x5297c9['includes'](_0x43a3bb[_0x2b62b0(0x200)]['id'])?_0x5b7203(_0x5b7203({},_0x43a3bb),{'attrs':_0x5b7203(_0x5b7203({},_0x43a3bb['attrs']),{'id':_0x43a3bb[_0x2b62b0(0x200)]['id']+_0x2e5d9f[_0x2b62b0(0x37c)]})}):_0x43a3bb;})}):_0x5e7d33;}function _0x45b6df(){const _0x369d53=_0x449813;return Math[_0x369d53(0x37b)]()['toString'](0x24)[_0x369d53(0x222)](0x2,0x8);}_0x1c2af3[_0x449813(0x20a)]='UniverIcon';var _0x1219f7={'tag':_0x449813(0x282),'attrs':{'xmlns':_0x449813(0x399),'fill':_0x449813(0x3a9),'viewBox':_0x449813(0x3ec),'width':_0x449813(0x3b3),'height':_0x449813(0x3b3)},'children':[{'tag':'g','attrs':{'clipPath':_0x449813(0x467)},'children':[{'tag':_0x449813(0x354),'attrs':{'stroke':_0x449813(0x230),'d':_0x449813(0x36c),'strokeLinecap':_0x449813(0x31c),'strokeLinejoin':_0x449813(0x31c),'strokeWidth':1.2}}]},{'tag':_0x449813(0x411),'attrs':{},'children':[{'tag':_0x449813(0x279),'attrs':{'id':_0x449813(0x3e9)},'children':[{'tag':'path','attrs':{'fill':_0x449813(0x3d9),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x449813(0x3e9)]},_0x5bc710=_0x1796bf[_0x449813(0x2e8)](function(_0x40f66b,_0x1032ac){const _0x2481fb=_0x449813;return _0x1796bf[_0x2481fb(0x289)](_0x1c2af3,Object[_0x2481fb(0x37d)]({},_0x40f66b,{'id':_0x2481fb(0x3cf),'ref':_0x1032ac,'icon':_0x1219f7}));});_0x5bc710[_0x449813(0x20a)]=_0x449813(0x29e);var _0x274439={'tag':_0x449813(0x282),'attrs':{'xmlns':_0x449813(0x399),'fill':_0x449813(0x3a9),'viewBox':_0x449813(0x325),'width':'1em','height':_0x449813(0x3b3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x449813(0x230),'d':_0x449813(0x37f),'strokeLinecap':_0x449813(0x31c),'strokeLinejoin':_0x449813(0x31c),'strokeWidth':1.2}}]},{'tag':_0x449813(0x411),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x449813(0x3d9),'d':_0x449813(0x43d),'transform':_0x449813(0x3a8)}}]}]}],'defIds':[_0x449813(0x457)]},_0x1630c9=_0x1796bf['forwardRef'](function(_0x1a789e,_0x8ac4c5){const _0x4be3af=_0x449813;return _0x1796bf[_0x4be3af(0x289)](_0x1c2af3,Object[_0x4be3af(0x37d)]({},_0x1a789e,{'id':_0x4be3af(0x34d),'ref':_0x8ac4c5,'icon':_0x274439}));});_0x1630c9[_0x449813(0x20a)]='OnLineIcon';function _0x3ee1b1(_0x3bcf4b){const _0x1f97bf=_0x449813;switch(_0x3bcf4b){case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x381)]:return _0x1f97bf(0x1e6);case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x224)]:return _0x1f97bf(0x39b);case _0x1c12f2[_0x1f97bf(0x375)]['FETCH_MISS']:return _0x1f97bf(0x28a);case _0x1c12f2['CollaborationStatus']['NOT_COLLAB']:return _0x1f97bf(0x436);case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x40b)]:case _0x1c12f2['CollaborationStatus'][_0x1f97bf(0x3ad)]:return _0x1f97bf(0x2c3);case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x2ef)]:case _0x1c12f2[_0x1f97bf(0x375)][_0x1f97bf(0x270)]:return'collabStatus.synced';}}function _0x568b29(_0x12ba1e){const _0x312b5b=_0x449813,{status$:_0x57284d}=_0x12ba1e,_0x3ce4a2=_0x56a892[_0x312b5b(0x34b)](_0x57284d,_0x1c12f2[_0x312b5b(0x375)][_0x312b5b(0x29a)]),_0x2ae499=_0x56a892[_0x312b5b(0x3ed)](_0x4921b5['LocaleService']),_0x22dc87=_0x56a892[_0x312b5b(0x3ed)](_0x1c12f2['CollaborationSessionService']),_0x11a37c=_0x3ce4a2!==_0x1c12f2[_0x312b5b(0x375)][_0x312b5b(0x381)],_0x5abcfe=_0x2ae499['t'](_0x3ee1b1(_0x3ce4a2)),_0x33ec6b=_0x11a37c?_0x1af605[_0x312b5b(0x2d9)](_0x1630c9,{}):_0x1af605[_0x312b5b(0x2d9)](_0x5bc710,{}),_0x50e1f2=_0x1796bf[_0x312b5b(0x223)](()=>{const _0x4b4070=_0x312b5b;_0x11a37c||_0x22dc87[_0x4b4070(0x33c)]();},[_0x11a37c,_0x22dc87]);function _0x22f086(){const _0x271ca5=_0x312b5b;return _0x1af605[_0x271ca5(0x42c)](_0x271ca5(0x3ea),{'className':_0x271ca5(0x1e9),'onClick':_0x50e1f2,'children':[_0x1af605['jsx'](_0x271ca5(0x3ea),{'className':_0x20d8fb[_0x271ca5(0x315)](_0x271ca5(0x448),{'univer-text-green-500':_0x11a37c,'univer-text-red-500':!_0x11a37c}),'children':_0x33ec6b}),_0x1af605[_0x271ca5(0x2d9)](_0x271ca5(0x3ea),{'className':_0x271ca5(0x367),'children':_0x5abcfe})]});}return _0x11a37c?_0x22f086():_0x1af605[_0x312b5b(0x2d9)](_0x20d8fb['Tooltip'],{'title':_0x2ae499['t'](_0x312b5b(0x478)),'children':_0x22f086()});}var _0x4cada2=Object[_0x449813(0x29c)],_0xfb9c22=(_0x1edb4f,_0x1ae95d,_0x4303c3,_0x52e446)=>{const _0x58f7bf=_0x449813;for(var _0x5a944d=_0x52e446>0x1?void 0x0:_0x52e446?_0x4cada2(_0x1ae95d,_0x4303c3):_0x1ae95d,_0x4ddd97=_0x1edb4f[_0x58f7bf(0x418)]-0x1,_0xa5e197;_0x4ddd97>=0x0;_0x4ddd97--)(_0xa5e197=_0x1edb4f[_0x4ddd97])&&(_0x5a944d=_0xa5e197(_0x5a944d)||_0x5a944d);return _0x5a944d;},_0x4bc0ca=(_0x18922c,_0x1df124)=>(_0x35af67,_0x31d2a2)=>_0x1df124(_0x35af67,_0x31d2a2,_0x18922c);_0x11d7a5[_0x449813(0x2cb)]=class extends _0x4921b5[_0x449813(0x292)]{constructor(_0x2d3dc1,_0x53d74c,_0x508450,_0x4f167d){const _0x14e18d=_0x449813;super(),_0x8d7f57(this,'_status$',new _0x66da6e[(_0x14e18d(0x2ae))](_0x1c12f2[_0x14e18d(0x375)][_0x14e18d(0x29a)])),(this[_0x14e18d(0x3a6)]=_0x2d3dc1,this[_0x14e18d(0x27f)]=_0x53d74c,this[_0x14e18d(0x44b)]=_0x508450,this['_uiPartsService']=_0x4f167d,this['_initStatusComponent'](),this['_initStatusListener']());}['_initStatusListener'](){const _0x128165=_0x449813;this['disposeWithMe'](this['_univerInstanceService'][_0x128165(0x251)][_0x128165(0x35e)](_0x66da6e['switchMap'](()=>{const _0x2c6c66=_0x128165,_0x2a5654=this[_0x2c6c66(0x3a6)][_0x2c6c66(0x27c)]();return _0x2a5654?this[_0x2c6c66(0x44b)][_0x2c6c66(0x265)](_0x2a5654[_0x2c6c66(0x2c6)]()):_0x66da6e['of'](null);}),_0x66da6e[_0x128165(0x360)](_0x333c14=>_0x333c14?_0x333c14[_0x128165(0x280)]:_0x66da6e['of'](_0x1c12f2[_0x128165(0x375)][_0x128165(0x29a)])))['subscribe'](_0x357788=>{const _0x26c5bd=_0x128165;this[_0x26c5bd(0x215)][_0x26c5bd(0x2fd)](_0x357788);}));}[_0x449813(0x311)](){const _0x33d791=_0x449813;this[_0x33d791(0x25c)](this[_0x33d791(0x2f4)]['registerComponent'](_0x56a892[_0x33d791(0x1dc)]['HEADER_MENU'],()=>_0x56a892[_0x33d791(0x431)](_0x18a61d({'status$':this[_0x33d791(0x215)][_0x33d791(0x37a)]()}),this['_injector'])));}},_0x11d7a5[_0x449813(0x2cb)]=_0xfb9c22([_0x4bc0ca(0x0,_0x4921b5[_0x449813(0x42b)]),_0x4bc0ca(0x1,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x24c)])),_0x4bc0ca(0x2,_0x4921b5[_0x449813(0x41c)](_0x1c12f2[_0x449813(0x21a)])),_0x4bc0ca(0x3,_0x56a892[_0x449813(0x2fc)])],_0x11d7a5['DesktopCollaborationStatusDisplayController']);function _0x18a61d(_0x18585c){const {status$:_0x7201b0}=_0x18585c;return function(){const _0x5c6772=_0x4bb6;return _0x1af605[_0x5c6772(0x2d9)](_0x568b29,{'status$':_0x7201b0});};}const _0x475a16=_0x4921b5[_0x449813(0x1e2)](_0x449813(0x2aa));var _0x38dd90=Object[_0x449813(0x29c)],_0x1c1016=(_0x261168,_0x7c8ff6,_0x1db5f8,_0x32ebcf)=>{const _0x223411=_0x449813;for(var _0x3c28b6=_0x32ebcf>0x1?void 0x0:_0x32ebcf?_0x38dd90(_0x7c8ff6,_0x1db5f8):_0x7c8ff6,_0x469481=_0x261168[_0x223411(0x418)]-0x1,_0x4f51ca;_0x469481>=0x0;_0x469481--)(_0x4f51ca=_0x261168[_0x469481])&&(_0x3c28b6=_0x4f51ca(_0x3c28b6)||_0x3c28b6);return _0x3c28b6;},_0x8ee33e=(_0xa70e4d,_0x12bce5)=>(_0x2f98f5,_0xcfc32e)=>_0x12bce5(_0x2f98f5,_0xcfc32e,_0xa70e4d);_0x11d7a5['CollaborationDataLoaderController']=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x4be8fd,_0x21ff03,_0x2bd289,_0x55d67b,_0x36ca73){const _0x38bb18=_0x449813;super(),this[_0x38bb18(0x3f9)]=_0x4be8fd,this[_0x38bb18(0x3f7)]=_0x21ff03,this['_commandService']=_0x2bd289,this[_0x38bb18(0x43f)]=_0x55d67b,_0x36ca73?_0x36ca73==null||_0x36ca73[_0x38bb18(0x30d)]()[_0x38bb18(0x3ef)](()=>this['_init']()):(this['_logService'][_0x38bb18(0x340)](_0x38bb18(0x357),_0x38bb18(0x3ce)),this[_0x38bb18(0x2c7)]());}async[_0x449813(0x2c7)](){const _0x436e00=_0x449813,_0x319fc1=this[_0x436e00(0x3f9)][_0x436e00(0x372)]('unit'),_0x356452=this[_0x436e00(0x3f9)]['getParam'](_0x436e00(0x426)),_0x3a985d=this[_0x436e00(0x3f9)][_0x436e00(0x372)](_0x436e00(0x233));if(!_0x319fc1||!_0x356452){this[_0x436e00(0x3f7)][_0x436e00(0x340)](_0x436e00(0x357),_0x436e00(0x45f));return;}const _0x142b67=await this[_0x436e00(0x43f)][_0x436e00(0x355)](_0x319fc1,Number(_0x356452),_0x3a985d);_0x142b67&&_0x142b67 instanceof _0x4921b5[_0x436e00(0x28f)]&&this['_setupSubUnitSync'](_0x142b67);}async[_0x449813(0x2ea)](_0x1e92bb){const _0x5eeb5b=_0x449813;await this[_0x5eeb5b(0x3ca)](_0x1e92bb),_0x1e92bb[_0x5eeb5b(0x227)][_0x5eeb5b(0x35e)](_0x66da6e[_0x5eeb5b(0x34f)](this[_0x5eeb5b(0x41d)]))[_0x5eeb5b(0x1fe)](_0x1caa7b=>{_0x1caa7b&&this['_updateURLWithCurrentState'](_0x1caa7b);}),this[_0x5eeb5b(0x3f9)]['urlChange$'][_0x5eeb5b(0x35e)](_0x66da6e['takeUntil'](this['dispose$']))[_0x5eeb5b(0x1fe)](()=>this[_0x5eeb5b(0x3ca)](_0x1e92bb));}[_0x449813(0x24d)](_0x4a69f2,_0x2cfb92=!0x1){const _0x575573=_0x449813,_0x4958cc=this[_0x575573(0x3f9)]['getParam'](_0x575573(0x233));_0x4a69f2[_0x575573(0x45a)]()!==_0x4958cc&&this[_0x575573(0x3f9)][_0x575573(0x2c4)](_0x575573(0x233),_0x4a69f2['getSheetId'](),_0x2cfb92);}async[_0x449813(0x3ca)](_0x523ff5){const _0x33b9ce=_0x449813;var _0x34510e;const _0x3ea62c=this[_0x33b9ce(0x3f9)][_0x33b9ce(0x372)](_0x33b9ce(0x233));if(!_0x3ea62c||!_0x523ff5['getSheetBySheetId'](_0x3ea62c)){const _0x53373b=_0x523ff5[_0x33b9ce(0x29b)]()[0x0],_0x118bf1=_0x523ff5[_0x33b9ce(0x2bd)](_0x53373b);if(!_0x118bf1)return;this['_updateURLWithCurrentState'](_0x118bf1,!0x0),await this['_commandService']['executeCommand'](_0x3e73c9[_0x33b9ce(0x1e0)]['id'],{'unitId':_0x523ff5[_0x33b9ce(0x2c6)](),'subUnitId':_0x53373b});return;}((_0x34510e=_0x523ff5[_0x33b9ce(0x472)]())==null?void 0x0:_0x34510e[_0x33b9ce(0x45a)]())!==_0x3ea62c&&await this[_0x33b9ce(0x2a0)][_0x33b9ce(0x339)](_0x3e73c9['SetWorksheetActivateCommand']['id'],{'unitId':_0x523ff5[_0x33b9ce(0x2c6)](),'subUnitId':_0x3ea62c});}},_0x11d7a5['CollaborationDataLoaderController']=_0x1c1016([_0x8ee33e(0x0,_0x475a16),_0x8ee33e(0x1,_0x4921b5[_0x449813(0x2ee)]),_0x8ee33e(0x2,_0x4921b5['ICommandService']),_0x8ee33e(0x3,_0x4921b5['Inject'](_0x1c12f2[_0x449813(0x32c)])),_0x8ee33e(0x4,_0x4921b5[_0x449813(0x334)](_0x68b8d4[_0x449813(0x3d3)]))],_0x11d7a5[_0x449813(0x408)]);var _0x2c5a39=Object['getOwnPropertyDescriptor'],_0x1c1a77=(_0x6f9b11,_0x57723d,_0x4683b8,_0x430ef1)=>{const _0x20a1d7=_0x449813;for(var _0x1fc9fb=_0x430ef1>0x1?void 0x0:_0x430ef1?_0x2c5a39(_0x57723d,_0x4683b8):_0x57723d,_0x44020a=_0x6f9b11[_0x20a1d7(0x418)]-0x1,_0x961f5d;_0x44020a>=0x0;_0x44020a--)(_0x961f5d=_0x6f9b11[_0x44020a])&&(_0x1fc9fb=_0x961f5d(_0x1fc9fb)||_0x1fc9fb);return _0x1fc9fb;},_0x10db21=(_0x268ae3,_0x4f0a4f)=>(_0x36d0a1,_0x17a016)=>_0x4f0a4f(_0x36d0a1,_0x17a016,_0x268ae3);let _0x310481=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x1ceac7,_0x3164c8){const _0x1e09cf=_0x449813;super(),this[_0x1e09cf(0x3a7)]=_0x1ceac7,this['_imageIoService']=_0x3164c8,this['_init']();}[_0x449813(0x2c7)](){const _0x940175=_0x449813,_0x5396e4=this;this[_0x940175(0x25c)](this[_0x940175(0x3a7)][_0x940175(0x3f6)]({'onBeforePasteImage':async _0x67ee71=>{const _0x237191=_0x940175,_0xe29bbd=await _0x5396e4[_0x237191(0x2d2)]['saveImage'](_0x67ee71);return _0xe29bbd?{'source':_0xe29bbd[_0x237191(0x405)],'imageSourceType':_0xe29bbd[_0x237191(0x247)]}:null;}}));}};_0x310481=_0x1c1a77([_0x10db21(0x0,_0x3fda77[_0x449813(0x1ff)]),_0x10db21(0x1,_0x283592[_0x449813(0x2a4)])],_0x310481);const _0x50a733=[_0x449813(0x2b8),_0x449813(0x26b),_0x449813(0x3c9),_0x449813(0x2f7),_0x449813(0x469),_0x449813(0x31a)];class _0xac4cbd extends _0x4921b5[_0x449813(0x292)]{constructor(){super(...arguments),_0x8d7f57(this,'_assignedColors',new Map()),_0x8d7f57(this,'_colorIndex',0x0);}[_0x449813(0x20f)](_0x15e41f){const _0x5dd173=_0x449813;if(this[_0x5dd173(0x377)][_0x5dd173(0x3fc)](_0x15e41f))return this['_assignedColors'][_0x5dd173(0x2dd)](_0x15e41f);const _0x4bb058=_0x50a733[this['_colorIndex']];return this[_0x5dd173(0x359)]=(this['_colorIndex']+0x1)%_0x50a733['length'],this[_0x5dd173(0x377)][_0x5dd173(0x2a1)](_0x15e41f,_0x4bb058),_0x4bb058;}}function _0x53aab5(_0x26fe39){let _0x25b8ae='';for(const _0x120d72 of _0x26fe39){const {startOffset:_0x2c7e78,endOffset:_0x492cbb,isActive:_0x1ac34c,rangeType:_0x1d40c8,segmentId:_0x2c7135,segmentPage:_0x42e080}=_0x120d72;_0x25b8ae['length']&&(_0x25b8ae+=','),_0x25b8ae+=_0x2c7e78+':'+_0x492cbb+':'+(_0x1ac34c?'1':'0')+':'+_0x1d40c8+':'+_0x2c7135+':'+_0x42e080;}return _0x25b8ae;}function _0x1290dc(_0x472f3d){const _0x4f7843=_0x449813,_0x1bd8ec=_0x472f3d[_0x4f7843(0x40a)](','),_0x311639=[];for(const _0x3e5a2c of _0x1bd8ec){const [_0x41e23e,_0x281cd5,_0x1d3913,_0xfff416,_0x7260f0,_0x1d1239]=_0x3e5a2c[_0x4f7843(0x40a)](':');_0x311639[_0x4f7843(0x2a3)]({'startOffset':Number(_0x41e23e),'endOffset':Number(_0x281cd5),'collapsed':_0x41e23e===_0x281cd5,'isActive':_0x1d3913==='1','rangeType':_0xfff416===_0x4921b5[_0x4f7843(0x285)][_0x4f7843(0x27b)]?_0x4921b5[_0x4f7843(0x285)][_0x4f7843(0x27b)]:_0x4921b5['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x7260f0==_0x4f7843(0x415)?String(_0x7260f0):'','segmentPage':Number(_0x1d1239!=null?_0x1d1239:-0x1)});}return _0x311639[_0x4f7843(0x2de)](_0x4a384f=>_0x4a384f[_0x4f7843(0x3a1)])||(_0x311639[0x0][_0x4f7843(0x3a1)]=!0x0),_0x311639;}class _0x2162e3 extends _0x4921b5['RxDisposable']{constructor(){const _0x20a0dd=_0x449813;super(...arguments),_0x8d7f57(this,'_collabCursorState$',new _0x66da6e[(_0x20a0dd(0x2ae))](null)),_0x8d7f57(this,'collabCursorState$',this[_0x20a0dd(0x440)]['asObservable']());}[_0x449813(0x2d3)](_0xc4848f){const _0x40b507=_0x449813,{unitID:_0x4a75da,memberID:_0x5572a4,textRanges:_0xced0b3}=_0xc4848f,_0xf1133e=_0x53aab5(_0xced0b3);if(_0xf1133e==='')return;const _0x2d7e31={'unitID':_0x4a75da,'memberID':_0x5572a4,'selection':_0xf1133e};this[_0x40b507(0x440)][_0x40b507(0x2fd)](_0x2d7e31);}}var _0x42f979=Object[_0x449813(0x29c)],_0x1098b2=(_0x2ed694,_0x1a7275,_0x46be4a,_0x5ad13c)=>{const _0x559053=_0x449813;for(var _0x44fbb6=_0x5ad13c>0x1?void 0x0:_0x5ad13c?_0x42f979(_0x1a7275,_0x46be4a):_0x1a7275,_0x329d39=_0x2ed694[_0x559053(0x418)]-0x1,_0x181d25;_0x329d39>=0x0;_0x329d39--)(_0x181d25=_0x2ed694[_0x329d39])&&(_0x44fbb6=_0x181d25(_0x44fbb6)||_0x44fbb6);return _0x44fbb6;},_0x4bcdfe=(_0x5d7e47,_0x4b92ca)=>(_0x122e29,_0x3c4a52)=>_0x4b92ca(_0x122e29,_0x3c4a52,_0x5d7e47);const _0x3ce0a5=0x12c,_0xca366=0x64;let _0x38bb7b=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x1045e5,_0x2ec792,_0x2862a7,_0x34fbd3,_0x7fdba2,_0x3abf2b,_0x202d42,_0x5a5f33,_0x3ba9cc){const _0x3e3e83=_0x449813;super(),_0x8d7f57(this,_0x3e3e83(0x253),!0x1),_0x8d7f57(this,'_init',!0x1),_0x8d7f57(this,_0x3e3e83(0x343),new _0x66da6e[(_0x3e3e83(0x2ae))](new Map())),_0x8d7f57(this,_0x3e3e83(0x28d),this['_cursorInfo$']['asObservable']()),_0x8d7f57(this,'_roomMembers$',new _0x66da6e[(_0x3e3e83(0x2ae))]([])),_0x8d7f57(this,_0x3e3e83(0x370),this[_0x3e3e83(0x406)][_0x3e3e83(0x35e)](_0x66da6e[_0x3e3e83(0x44a)](_0x3ce0a5))),_0x8d7f57(this,_0x3e3e83(0x2f6),_0x4921b5[_0x3e3e83(0x3ac)](_0x514d6f=>{const _0x242e96=_0x3e3e83,_0x5b75e2={'eventID':_0x1a4d3b['CollaborationEvent'][_0x242e96(0x46d)],'data':{'unitID':this[_0x242e96(0x2b3)],'memberID':this[_0x242e96(0x312)][_0x242e96(0x1ec)](),'selection':_0x53aab5(_0x514d6f)}};this['_session'][_0x242e96(0x3d4)](_0x5b75e2,this[_0x242e96(0x2b3)]);},_0xca366)),(this[_0x3e3e83(0x2b3)]=_0x1045e5,this['_session']=_0x2ec792,this[_0x3e3e83(0x27f)]=_0x2862a7,this['_colorAssignService']=_0x34fbd3,this['_memberService']=_0x7fdba2,this[_0x3e3e83(0x335)]=_0x3abf2b,this[_0x3e3e83(0x216)]=_0x202d42,this[_0x3e3e83(0x3a6)]=_0x5a5f33,this[_0x3e3e83(0x2a0)]=_0x3ba9cc);}get['cursorInfo'](){const _0x1d4307=_0x449813;return this[_0x1d4307(0x343)]['getValue']();}get[_0x449813(0x21b)](){const _0x2989eb=_0x449813;return this[_0x2989eb(0x406)][_0x2989eb(0x2b4)]();}[_0x449813(0x2ec)](){const _0x3e53c3=_0x449813;super[_0x3e53c3(0x2ec)](),this['_cursorInfo$'][_0x3e53c3(0x2fd)](new Map()),this[_0x3e53c3(0x343)][_0x3e53c3(0x473)](),this[_0x3e53c3(0x406)][_0x3e53c3(0x2fd)]([]),this[_0x3e53c3(0x406)][_0x3e53c3(0x473)]();}[_0x449813(0x237)](){const _0xa784bf=_0x449813;this['_init']||(this[_0xa784bf(0x2c7)]=!0x0,this[_0xa784bf(0x312)][_0xa784bf(0x389)][_0xa784bf(0x35e)](_0x66da6e[_0xa784bf(0x34f)](this[_0xa784bf(0x41d)]))[_0xa784bf(0x1fe)](_0x23ad70=>{const _0x2e1bd9=_0xa784bf;_0x23ad70===_0x1c12f2['SessionStatus']['ONLINE']?this[_0x2e1bd9(0x36b)]():this[_0x2e1bd9(0x1fa)]();}),this[_0xa784bf(0x312)]['event$'][_0xa784bf(0x35e)](_0x66da6e[_0xa784bf(0x34f)](this['dispose$']))[_0xa784bf(0x1fe)](_0x70b30b=>{const _0x5942e2=_0xa784bf,_0x4b011d=_0x70b30b[_0x5942e2(0x3dc)];_0x4b011d===_0x1a4d3b[_0x5942e2(0x3b7)][_0x5942e2(0x46d)]&&this[_0x5942e2(0x277)](_0x70b30b),_0x4b011d===_0x1a4d3b[_0x5942e2(0x3b7)][_0x5942e2(0x32d)]&&this[_0x5942e2(0x257)](_0x70b30b);}),this[_0xa784bf(0x25c)](this['_commandService']['onCommandExecuted'](_0x453d39=>{const _0x38b8dd=_0xa784bf,_0x407d6a=_0x453d39[_0x38b8dd(0x268)];_0x407d6a!=null&&this[_0x38b8dd(0x253)]&&_0x453d39['id']===_0x4bc80d[_0x38b8dd(0x2d4)]['id']&&_0x407d6a[_0x38b8dd(0x2a2)]===this[_0x38b8dd(0x2b3)]&&_0x407d6a[_0x38b8dd(0x274)]===!0x1&&_0x407d6a['ranges']['length']>0x0&&this[_0x38b8dd(0x2f6)](_0x407d6a[_0x38b8dd(0x3b1)]);})),this[_0xa784bf(0x335)][_0xa784bf(0x276)][_0xa784bf(0x35e)](_0x66da6e[_0xa784bf(0x34f)](this[_0xa784bf(0x41d)]))[_0xa784bf(0x1fe)](_0x81590f=>{const _0x4d1070=_0xa784bf;if((_0x81590f==null?void 0x0:_0x81590f[_0x4d1070(0x2b3)])!==this[_0x4d1070(0x2b3)])return;const _0x54ca4b={'eventID':_0x1a4d3b[_0x4d1070(0x3b7)]['UPDATE_CURSOR'],'data':_0x81590f};this[_0x4d1070(0x277)](_0x54ca4b);}),this[_0xa784bf(0x25c)](this[_0xa784bf(0x2a0)][_0xa784bf(0x46c)](_0x11c75c=>{const _0x65fc8c=_0xa784bf;if(_0x11c75c['params']==null)return;const _0x11a8a0=_0x11c75c['params'];if(_0x11c75c['id']!==_0x4bc80d[_0x65fc8c(0x338)]['id']||_0x11a8a0[_0x65fc8c(0x2a2)]!==this[_0x65fc8c(0x2b3)])return;const _0x4e48cd={'id':_0x65fc8c(0x439),'params':_0x11a8a0},_0x2f5bc8=this[_0x65fc8c(0x220)];for(const [_0x2a7712,_0x2c8d4f]of _0x2f5bc8){const _0x14b015={'id':_0x65fc8c(0x439),'params':{'unitId':this[_0x65fc8c(0x2b3)],'actions':null,'textRanges':_0x2c8d4f[_0x65fc8c(0x3b1)]}},_0x38fcd2=this['_transformService'][_0x65fc8c(0x454)](_0x4e48cd,_0x14b015,!0x1);if(_0x1a4d3b[_0x65fc8c(0x41a)](_0x38fcd2))throw _0x38fcd2['error'];_0x2f5bc8[_0x65fc8c(0x2a1)](_0x2a7712,{..._0x2c8d4f,'ranges':_0x38fcd2[_0x65fc8c(0x24f)][_0x65fc8c(0x268)]['textRanges']});}queueMicrotask(()=>{const _0x2eb3d7=_0x65fc8c;this['_cursorInfo$'][_0x2eb3d7(0x2fd)](_0x2f5bc8);});})));}[_0x449813(0x277)](_0x2160ba){const _0x3a957d=_0x449813;var _0x289a7c,_0x1cd2bc;const {memberID:_0x5f4f8b,selection:_0x3a49e8}=_0x2160ba[_0x3a957d(0x1e8)],_0x38a628=_0x1290dc(_0x3a49e8),_0x4d09d8=(_0x1cd2bc=(_0x289a7c=this['_memberService'][_0x3a957d(0x20d)](this[_0x3a957d(0x2b3)],_0x5f4f8b))==null?void 0x0:_0x289a7c[_0x3a957d(0x31e)])!=null?_0x1cd2bc:_0x3a957d(0x40d),_0x27944f={'color':this['_colorAssignService'][_0x3a957d(0x20f)](_0x5f4f8b),'name':_0x4d09d8,'ranges':_0x38a628},_0x2f18e3=this[_0x3a957d(0x220)];_0x2f18e3[_0x3a957d(0x2a1)](_0x5f4f8b,_0x27944f),this[_0x3a957d(0x343)][_0x3a957d(0x2fd)](_0x2f18e3);}['_onCursorDelete'](_0x41185f){const _0x48312c=_0x449813,{memberID:_0x55a6ae}=_0x41185f[_0x48312c(0x1e8)],_0x48156a=this['cursorInfo'];_0x48156a[_0x48312c(0x474)](_0x55a6ae),this['_cursorInfo$'][_0x48312c(0x2fd)](_0x48156a);}[_0x449813(0x36b)](){const _0x13f77f=_0x449813;var _0x506ce1;if(this[_0x13f77f(0x253)]=!0x0,((_0x506ce1=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x506ce1[_0x13f77f(0x2c6)]())!==this[_0x13f77f(0x2b3)])return;const _0x529286=this[_0x13f77f(0x27f)][_0x13f77f(0x2dd)](_0x4bc80d[_0x13f77f(0x290)])[_0x13f77f(0x3bd)]();Array['isArray'](_0x529286)&&_0x529286[_0x13f77f(0x418)]>0x0&&this[_0x13f77f(0x2f6)](_0x529286);}[_0x449813(0x1fa)](){const _0x30b083=_0x449813;this[_0x30b083(0x253)]=!0x1;}};_0x38bb7b=_0x1098b2([_0x4bcdfe(0x2,_0x4921b5[_0x449813(0x41c)](_0x4921b5['Injector'])),_0x4bcdfe(0x3,_0x4921b5['Inject'](_0xac4cbd)),_0x4bcdfe(0x4,_0x4921b5[_0x449813(0x41c)](_0x1c12f2[_0x449813(0x366)])),_0x4bcdfe(0x5,_0x4921b5[_0x449813(0x41c)](_0x2162e3)),_0x4bcdfe(0x6,_0x1a4d3b['ITransformService']),_0x4bcdfe(0x7,_0x4921b5[_0x449813(0x42b)]),_0x4bcdfe(0x8,_0x4921b5['ICommandService'])],_0x38bb7b);var _0x25468f=Object[_0x449813(0x29c)],_0x51e84b=(_0x59a62a,_0x44edfb,_0x27557b,_0x2b2240)=>{const _0x3d829f=_0x449813;for(var _0x4a3279=_0x2b2240>0x1?void 0x0:_0x2b2240?_0x25468f(_0x44edfb,_0x27557b):_0x44edfb,_0xc8a9f5=_0x59a62a[_0x3d829f(0x418)]-0x1,_0x59084e;_0xc8a9f5>=0x0;_0xc8a9f5--)(_0x59084e=_0x59a62a[_0xc8a9f5])&&(_0x4a3279=_0x59084e(_0x4a3279)||_0x4a3279);return _0x4a3279;},_0x4c6752=(_0x38dfea,_0x290dd2)=>(_0x1d6c5a,_0x125e15)=>_0x290dd2(_0x1d6c5a,_0x125e15,_0x38dfea);const _0x4c331f=0x12c,_0x3331d0=0x64,_0x56a219=()=>{let _0xc705ba=[],_0xa51fe3=!0x1;return _0xbf986f=>{_0xc705ba['push'](_0xbf986f),_0xa51fe3||(_0xa51fe3=!0x0,setTimeout(()=>{const _0xd238d0=_0x4bb6;_0xc705ba[_0xd238d0(0x28b)](_0x1b13c3=>_0x1b13c3()),_0xc705ba=[],_0xa51fe3=!0x1;}));};};let _0x126db2=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x43a96b,_0x4e82b1,_0x2f76c7,_0x4c7c06,_0x55de63,_0xa2eec7,_0x5874c0,_0x4f5341){const _0x45282d=_0x449813;super(),_0x8d7f57(this,'_online',!0x1),_0x8d7f57(this,_0x45282d(0x2c7),!0x1),_0x8d7f57(this,_0x45282d(0x343),new _0x66da6e[(_0x45282d(0x2ae))](new Map())),_0x8d7f57(this,_0x45282d(0x28d),this[_0x45282d(0x343)]['asObservable']()),_0x8d7f57(this,_0x45282d(0x406),new _0x66da6e[(_0x45282d(0x2ae))]([])),_0x8d7f57(this,'roomMembers$',this[_0x45282d(0x406)]['pipe'](_0x66da6e[_0x45282d(0x44a)](_0x4c331f))),_0x8d7f57(this,_0x45282d(0x2f6),_0x4921b5[_0x45282d(0x3ac)]((_0xbc30c,_0x204d75)=>{const _0x5bb8f2=_0x45282d,_0x6c0197={'eventID':_0x1a4d3b['CollaborationEvent'][_0x5bb8f2(0x46d)],'data':{'unitID':this[_0x5bb8f2(0x2b3)],'memberID':this[_0x5bb8f2(0x312)][_0x5bb8f2(0x1ec)](),'selection':_0xeb64c6[_0x5bb8f2(0x479)](_0xbc30c,_0x204d75[_0x5bb8f2(0x320)])}};this['_session'][_0x5bb8f2(0x3d4)](_0x6c0197,this[_0x5bb8f2(0x2b3)]);},_0x3331d0)),(this[_0x45282d(0x2b3)]=_0x43a96b,this['_session']=_0x4e82b1,this[_0x45282d(0x27f)]=_0x2f76c7,this[_0x45282d(0x3dd)]=_0x4c7c06,this[_0x45282d(0x293)]=_0x55de63,this['_univerInstanceService']=_0xa2eec7,this[_0x45282d(0x2a0)]=_0x5874c0,this[_0x45282d(0x29f)]=_0x4f5341);}get[_0x449813(0x220)](){const _0x447a60=_0x449813;return this[_0x447a60(0x343)][_0x447a60(0x2b4)]();}get[_0x449813(0x21b)](){const _0x2b17d3=_0x449813;return this[_0x2b17d3(0x406)][_0x2b17d3(0x2b4)]();}[_0x449813(0x2ec)](){const _0x29df29=_0x449813;super[_0x29df29(0x2ec)](),this[_0x29df29(0x343)][_0x29df29(0x2fd)](new Map()),this[_0x29df29(0x343)][_0x29df29(0x473)](),this['_roomMembers$']['next']([]),this[_0x29df29(0x406)][_0x29df29(0x473)]();}[_0x449813(0x237)](){const _0x27b775=_0x449813;this['_init']||(this[_0x27b775(0x2c7)]=!0x0,this[_0x27b775(0x312)][_0x27b775(0x389)][_0x27b775(0x35e)](_0x66da6e[_0x27b775(0x34f)](this['dispose$']))[_0x27b775(0x1fe)](_0x29d651=>{const _0x441184=_0x27b775;_0x29d651===_0x1c12f2[_0x441184(0x3f0)][_0x441184(0x28c)]?this[_0x441184(0x36b)]():this[_0x441184(0x1fa)]();}),this['_session'][_0x27b775(0x34c)][_0x27b775(0x35e)](_0x66da6e['takeUntil'](this['dispose$']))[_0x27b775(0x1fe)](_0x29f28e=>{const _0xc701b9=_0x27b775,_0x5b5144=_0x29f28e[_0xc701b9(0x3dc)];_0x5b5144===_0x1a4d3b[_0xc701b9(0x3b7)][_0xc701b9(0x46d)]&&this['_onCursorUpdate'](_0x29f28e),_0x5b5144===_0x1a4d3b[_0xc701b9(0x3b7)][_0xc701b9(0x32d)]&&this[_0xc701b9(0x257)](_0x29f28e);}),this[_0x27b775(0x3b8)](),this[_0x27b775(0x25c)](this[_0x27b775(0x2a0)][_0x27b775(0x46c)](_0x144c27=>{const _0x5dd28f=_0x27b775;if(this[_0x5dd28f(0x253)]&&_0x144c27['id']===_0x3e73c9['SetSelectionsOperation']['id']&&_0x144c27[_0x5dd28f(0x268)][_0x5dd28f(0x2a2)]===this['unitID']){const _0x49baf9=_0x144c27[_0x5dd28f(0x268)];this[_0x5dd28f(0x2f6)](_0x49baf9[_0x5dd28f(0x319)],_0x49baf9[_0x5dd28f(0x438)][0x0]);}})));}['_onCursorUpdate'](_0x4541bc){const _0x1443b5=_0x449813;var _0x26f1cf,_0x505932;const {memberID:_0x466040,selection:_0x1b2881}=_0x4541bc['data'],{sheetName:_0x531625,range:_0x2c00cc}=_0xeb64c6[_0x1443b5(0x3ab)](_0x1b2881),_0x306e1f={'name':(_0x505932=(_0x26f1cf=this['_memberService'][_0x1443b5(0x20d)](this[_0x1443b5(0x2b3)],_0x466040))==null?void 0x0:_0x26f1cf['name'])!=null?_0x505932:_0x1443b5(0x40d),'range':this[_0x1443b5(0x341)](_0x531625,_0x2c00cc),'sheetID':_0x531625,'color':this['_colorAssignService'][_0x1443b5(0x20f)](_0x466040),'selection':_0x1b2881},_0x4fd589=this[_0x1443b5(0x220)];_0x4fd589[_0x1443b5(0x2a1)](_0x466040,_0x306e1f),this[_0x1443b5(0x343)][_0x1443b5(0x2fd)](_0x4fd589);}[_0x449813(0x257)](_0xfaf0db){const _0x16ce57=_0x449813,{memberID:_0x52dc47}=_0xfaf0db[_0x16ce57(0x1e8)],_0x4443e2=this[_0x16ce57(0x220)];_0x4443e2[_0x16ce57(0x474)](_0x52dc47),this[_0x16ce57(0x343)][_0x16ce57(0x2fd)](_0x4443e2);}['_getMergeRange'](_0x2810d4,_0x8498a7){const _0x3392da=_0x449813;var _0x15fadd,_0x10e921;const _0x1a5754=(_0x10e921=(_0x15fadd=this[_0x3392da(0x3a6)][_0x3392da(0x2dc)](this[_0x3392da(0x2b3)]))==null?void 0x0:_0x15fadd[_0x3392da(0x2bd)](_0x2810d4))==null?void 0x0:_0x10e921[_0x3392da(0x368)]();return(_0x1a5754==null?void 0x0:_0x1a5754[_0x3392da(0x33f)](_0x32aac5=>_0x4921b5['Rectangle'][_0x3392da(0x42f)](_0x32aac5,_0x8498a7)))||_0x8498a7;}[_0x449813(0x3b8)](){const _0xd0af11=_0x449813,_0x55ecbb=new _0x4921b5['DisposableCollection'](),_0x380cd0=_0x56a219(),_0x47d6c2=()=>{const _0x18213d=_0x4bb6;_0x55ecbb[_0x18213d(0x2ec)]();const _0x10d831=(_0x3ed78d,_0x2534ea,_0x48e6e0,_0x29ae7c)=>{const _0x5c3b90=_0x18213d;let _0x4f88dd=[];switch(_0x3ed78d['id']){case _0x3e73c9[_0x5c3b90(0x386)]['DeleteRangeMoveLeftCommandId']:{_0x4f88dd=_0x3e73c9['handleDeleteRangeMoveLeft'](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x4f88dd=_0x3e73c9['handleDeleteRangeMoveUp'](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9[_0x5c3b90(0x386)][_0x5c3b90(0x374)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x301)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId'][_0x5c3b90(0x383)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x3fa)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9[_0x5c3b90(0x386)][_0x5c3b90(0x2bb)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x403)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9[_0x5c3b90(0x386)][_0x5c3b90(0x2d6)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x295)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId'][_0x5c3b90(0x3ff)]:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x3cd)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId']['RemoveColCommandId']:{_0x4f88dd=_0x3e73c9[_0x5c3b90(0x412)](_0x3ed78d,_0x29ae7c);break;}case _0x3e73c9['EffectRefRangId'][_0x5c3b90(0x3cc)]:{_0x4f88dd=_0x3e73c9['handleIRemoveRow'](_0x3ed78d,_0x29ae7c);break;}}const _0x5e8cb5=_0x3e73c9['runRefRangeMutations'](_0x4f88dd,_0x29ae7c),_0x48a605=this[_0x5c3b90(0x220)]['get'](_0x2534ea);if(_0x48a605&&_0x5e8cb5){const _0x5cb945={..._0x48a605,'range':_0x5e8cb5};this['cursorInfo']['set'](_0x2534ea,_0x5cb945),_0x380cd0(()=>{const _0x966162=_0x5c3b90,_0x136af1=this[_0x966162(0x29f)]['registerRefRange'](_0x5e8cb5,_0x410a8f=>(_0x136af1[_0x966162(0x2ec)](),_0x10d831(_0x410a8f,_0x2534ea,_0x48e6e0,_0x5e8cb5)));_0x55ecbb[_0x966162(0x44f)](_0x136af1);});}return{'redos':[],'undos':[]};};this[_0x18213d(0x220)][_0x18213d(0x28b)]((_0x5dc2db,_0x403910)=>{const _0x583c86=_0x18213d,{range:_0x3b0a8e,sheetID:_0x1d6db8}=_0x5dc2db,_0x27d25c=this['_refRangeService'][_0x583c86(0x3e1)](_0x3b0a8e,_0x4d92f3=>(_0x27d25c[_0x583c86(0x2ec)](),_0x10d831(_0x4d92f3,_0x403910,_0x1d6db8,_0x3b0a8e)));_0x55ecbb[_0x583c86(0x44f)](_0x27d25c);});};this[_0xd0af11(0x25c)](_0x4921b5[_0xd0af11(0x2ad)](this[_0xd0af11(0x343)][_0xd0af11(0x1fe)](()=>{_0x47d6c2();})));}[_0x449813(0x36b)](){const _0x483821=_0x449813;var _0x3e5eb8,_0x35c1ae;if(this[_0x483821(0x253)]=!0x0,((_0x3e5eb8=this[_0x483821(0x3a6)][_0x483821(0x27c)]())==null?void 0x0:_0x3e5eb8[_0x483821(0x2c6)]())!==this[_0x483821(0x2b3)])return;const _0x45d7c2=(_0x35c1ae=this[_0x483821(0x27f)]['get'](_0x3e73c9[_0x483821(0x409)])[_0x483821(0x231)]())==null?void 0x0:_0x35c1ae[0x0],_0x33427f=this['_univerInstanceService'][_0x483821(0x3b9)](_0x4921b5[_0x483821(0x351)]['UNIVER_SHEET'])[_0x483821(0x472)]();_0x45d7c2&&_0x33427f&&this[_0x483821(0x2f6)](_0x33427f['getSheetId'](),_0x45d7c2);}[_0x449813(0x1fa)](){const _0x56d7dc=_0x449813;this[_0x56d7dc(0x253)]=!0x1;}};_0x126db2=_0x51e84b([_0x4c6752(0x2,_0x4921b5['Inject'](_0x4921b5[_0x449813(0x24c)])),_0x4c6752(0x3,_0x4921b5[_0x449813(0x41c)](_0xac4cbd)),_0x4c6752(0x4,_0x4921b5['Inject'](_0x1c12f2[_0x449813(0x366)])),_0x4c6752(0x5,_0x4921b5[_0x449813(0x42b)]),_0x4c6752(0x6,_0x4921b5['ICommandService']),_0x4c6752(0x7,_0x4921b5[_0x449813(0x41c)](_0x3e73c9[_0x449813(0x250)]))],_0x126db2);var _0x522d5b=Object[_0x449813(0x29c)],_0x36b9fe=(_0xd2c20d,_0x40578e,_0xab4235,_0x992813)=>{const _0x283c71=_0x449813;for(var _0x18fd8e=_0x992813>0x1?void 0x0:_0x992813?_0x522d5b(_0x40578e,_0xab4235):_0x40578e,_0xe8e474=_0xd2c20d[_0x283c71(0x418)]-0x1,_0x5e4e79;_0xe8e474>=0x0;_0xe8e474--)(_0x5e4e79=_0xd2c20d[_0xe8e474])&&(_0x18fd8e=_0x5e4e79(_0x18fd8e)||_0x18fd8e);return _0x18fd8e;},_0x5e1d9c=(_0x2ce03e,_0x36b705)=>(_0x4fb23c,_0x2063e6)=>_0x36b705(_0x4fb23c,_0x2063e6,_0x2ce03e);let _0x3d739c=class extends _0x4921b5['RxDisposable']{constructor(_0x21bd91,_0x2674ec,_0x27c9c1){const _0x32f42d=_0x449813;super(),_0x8d7f57(this,_0x32f42d(0x306),new Map()),_0x8d7f57(this,_0x32f42d(0x202),new _0x66da6e[(_0x32f42d(0x3b5))]()),(this['_univerInstanceService']=_0x21bd91,this['_injector']=_0x2674ec,this[_0x32f42d(0x2c8)]=_0x27c9c1,this[_0x32f42d(0x2c7)]());}[_0x449813(0x2ec)](){const _0x2f9f7e=_0x449813;super[_0x2f9f7e(0x2ec)](),this[_0x2f9f7e(0x202)][_0x2f9f7e(0x473)](),this[_0x2f9f7e(0x306)][_0x2f9f7e(0x28b)](_0xf7c629=>_0xf7c629[_0x2f9f7e(0x2ec)]());}['getCollabCursors$'](_0x4283b9){const _0x13304c=_0x449813;return this[_0x13304c(0x306)]['has'](_0x4283b9)?this[_0x13304c(0x306)][_0x13304c(0x2dd)](_0x4283b9)[_0x13304c(0x28d)]:this[_0x13304c(0x202)][_0x13304c(0x35e)](_0x66da6e[_0x13304c(0x401)](_0x13acdb=>_0x13acdb['unitID']===_0x4283b9),_0x66da6e[_0x13304c(0x360)](_0x3587b1=>_0x3587b1['cursorInfo$']));}[_0x449813(0x2c7)](){const _0x1c5601=_0x449813;this[_0x1c5601(0x3a6)][_0x1c5601(0x422)](_0x4921b5[_0x1c5601(0x351)][_0x1c5601(0x262)])[_0x1c5601(0x35e)](_0x66da6e[_0x1c5601(0x34f)](this[_0x1c5601(0x41d)]))['subscribe'](async _0x18a289=>{const _0x4237f2=_0x1c5601,_0x45b35a=_0x18a289[_0x4237f2(0x2c6)](),_0x4ba3ea=await this[_0x4237f2(0x32a)](_0x45b35a);this[_0x4237f2(0x202)][_0x4237f2(0x2fd)](_0x4ba3ea),this[_0x4237f2(0x306)][_0x4237f2(0x2a1)](_0x45b35a,_0x4ba3ea);}),this[_0x1c5601(0x3a6)][_0x1c5601(0x422)](_0x4921b5[_0x1c5601(0x351)]['UNIVER_DOC'])['pipe'](_0x66da6e[_0x1c5601(0x34f)](this[_0x1c5601(0x41d)]))['pipe'](_0x66da6e['filter'](_0x5c265f=>!_0x5c265f[_0x1c5601(0x2c6)]()['startsWith']('__')))[_0x1c5601(0x1fe)](async _0x4d9ed0=>{const _0x51822d=_0x1c5601,_0x5993cb=_0x4d9ed0['getUnitId'](),_0x4b1e67=await this[_0x51822d(0x238)](_0x5993cb);this['_entityInit$'][_0x51822d(0x2fd)](_0x4b1e67),this['_entities'][_0x51822d(0x2a1)](_0x5993cb,_0x4b1e67);}),_0x66da6e[_0x1c5601(0x212)](this[_0x1c5601(0x3a6)]['getTypeOfUnitDisposed$'](_0x4921b5[_0x1c5601(0x351)][_0x1c5601(0x299)]),this[_0x1c5601(0x3a6)][_0x1c5601(0x3b6)](_0x4921b5['UniverInstanceType'][_0x1c5601(0x262)]))[_0x1c5601(0x35e)](_0x66da6e[_0x1c5601(0x34f)](this[_0x1c5601(0x41d)]))[_0x1c5601(0x1fe)](_0x4f8555=>{const _0x4930e0=_0x1c5601,_0x39b0af=_0x4f8555[_0x4930e0(0x2c6)](),_0xb38c83=this[_0x4930e0(0x306)]['get'](_0x39b0af);_0xb38c83&&(_0xb38c83[_0x4930e0(0x2ec)](),this[_0x4930e0(0x306)]['delete'](_0x39b0af));});}async['_startSheetCollabCursor'](_0xe1c3f7){const _0x3a0b2b=_0x449813,_0x46922e=await this['_collabSessionService'][_0x3a0b2b(0x452)](_0xe1c3f7),_0x1f72b7=this[_0x3a0b2b(0x27f)]['createInstance'](_0x126db2,_0xe1c3f7,_0x46922e);return _0x1f72b7[_0x3a0b2b(0x237)](),_0x1f72b7;}async[_0x449813(0x238)](_0x2a8f0f){const _0xed1066=_0x449813,_0x2db1b7=await this[_0xed1066(0x2c8)][_0xed1066(0x452)](_0x2a8f0f),_0x589882=this[_0xed1066(0x27f)][_0xed1066(0x20e)](_0x38bb7b,_0x2a8f0f,_0x2db1b7);return _0x589882[_0xed1066(0x237)](),_0x589882;}};_0x3d739c=_0x36b9fe([_0x5e1d9c(0x0,_0x4921b5[_0x449813(0x42b)]),_0x5e1d9c(0x1,_0x4921b5['Inject'](_0x4921b5['Injector'])),_0x5e1d9c(0x2,_0x4921b5[_0x449813(0x41c)](_0x1c12f2['CollaborationSessionService']))],_0x3d739c);const _0x58db44=0x14,_0x366c08=0xc8,_0x53dcf8=0x4,_0x11710a=0x5;function _0x5c20f1(_0x5382e5,_0x46659a){const _0x51817c=_0x449813;let {radius:_0x1ea76c,width:_0x481a1d,height:_0x2c0e26}=_0x46659a;_0x1ea76c=_0x1ea76c!=null?_0x1ea76c:0x0,_0x481a1d=_0x481a1d!=null?_0x481a1d:0x1e,_0x2c0e26=_0x2c0e26!=null?_0x2c0e26:0x1e;let _0x2fe341=0x0,_0x3c644a=0x0,_0x207bdc=0x0;_0x2fe341=_0x3c644a=_0x207bdc=Math[_0x51817c(0x456)](_0x1ea76c,_0x481a1d/0x2,_0x2c0e26/0x2),_0x5382e5[_0x51817c(0x296)](),_0x5382e5['moveTo'](_0x2fe341,0x0),_0x5382e5['lineTo'](_0x481a1d-_0x3c644a,0x0),_0x5382e5[_0x51817c(0x3d6)](_0x481a1d-_0x3c644a,_0x3c644a,_0x3c644a,Math['PI']*0x3/0x2,0x0,!0x1),_0x5382e5['lineTo'](_0x481a1d,_0x2c0e26-_0x207bdc),_0x5382e5[_0x51817c(0x3d6)](_0x481a1d-_0x207bdc,_0x2c0e26-_0x207bdc,_0x207bdc,0x0,Math['PI']/0x2,!0x1),_0x5382e5['lineTo'](0x0,_0x2c0e26),_0x5382e5[_0x51817c(0x36f)](0x0,_0x2fe341),_0x5382e5['arc'](_0x2fe341,_0x2fe341,_0x2fe341,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5382e5[_0x51817c(0x234)](),_0x46659a[_0x51817c(0x373)]&&(_0x5382e5[_0x51817c(0x344)](),_0x5382e5['fillStyle']=_0x46659a[_0x51817c(0x373)],_0x46659a[_0x51817c(0x34e)]===_0x51817c(0x45b)?_0x5382e5[_0x51817c(0x373)](_0x51817c(0x45b)):_0x5382e5['fill'](),_0x5382e5['restore']());}class _0x5b91d6 extends _0x22d409[_0x449813(0x3ba)]{constructor(_0xc99067,_0x3d11fd){const _0x28735f=_0x449813;super(_0xc99067,_0x3d11fd),_0x8d7f57(this,_0x28735f(0x2c1)),_0x8d7f57(this,_0x28735f(0x31d)),(this[_0x28735f(0x2c1)]=_0x3d11fd==null?void 0x0:_0x3d11fd[_0x28735f(0x2c1)],this[_0x28735f(0x31d)]=_0x3d11fd==null?void 0x0:_0x3d11fd['text']);}static[_0x449813(0x437)](_0x48a53b,_0x51c4d0){const _0xd7af3=_0x449813,{text:_0xa20b44,color:_0x4275e0}=_0x51c4d0;_0x48a53b[_0xd7af3(0x344)](),_0x48a53b[_0xd7af3(0x3aa)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2dbd8e=_0x48a53b[_0xd7af3(0x1f7)](_0xa20b44)[_0xd7af3(0x2b0)],_0x3b9053=Math[_0xd7af3(0x456)](_0x2dbd8e+0x2*_0x53dcf8,_0x366c08);_0x5c20f1(_0x48a53b,{'height':_0x58db44,'radius':0x4,'width':_0x3b9053,'fill':_0x4275e0}),_0x48a53b['fillStyle']=_0xd7af3(0x30b);const _0x18c529=_0x53dcf8,_0x555f51=_0x58db44-_0x11710a,_0x311bb5=_0x366c08-0x2*_0x53dcf8;if(_0x2dbd8e>_0x311bb5){let _0x1b1252='',_0x422553=0x0;for(const _0x36eb99 of _0xa20b44){const _0x35f81e=_0x48a53b['measureText'](_0x36eb99)[_0xd7af3(0x2b0)];if(_0x422553+_0x35f81e<=_0x311bb5-_0x48a53b['measureText'](_0xd7af3(0x1dd))[_0xd7af3(0x2b0)])_0x1b1252+=_0x36eb99,_0x422553+=_0x35f81e;else{_0x1b1252+=_0xd7af3(0x1dd);break;}}_0x48a53b[_0xd7af3(0x459)](_0x1b1252,_0x18c529,_0x555f51);}else _0x48a53b[_0xd7af3(0x459)](_0xa20b44,_0x18c529,_0x555f51);_0x48a53b[_0xd7af3(0x44c)]();}['_draw'](_0x5277f4){_0x5b91d6['drawWith'](_0x5277f4,this);}}const _0x434321=_0x449813(0x271),_0x4e4b8d=_0x449813(0x210),_0x3a2f1f='collab-rect-range-',_0x37999e=0x6,_0x375b17=1.5,_0x4eaf7c=0x4,_0x1a852e=1.5,_0x2e445c='rgba(255,\x20255,\x20255,\x200.01)';class _0x3dc3c5{constructor(_0x17c9e5,_0x5bb7bf,_0x1c9107,_0x3f0efc){const _0x4a8040=_0x449813;_0x8d7f57(this,_0x4a8040(0x398),[]),_0x8d7f57(this,_0x4a8040(0x211),null),_0x8d7f57(this,_0x4a8040(0x1db),null),_0x8d7f57(this,_0x4a8040(0x402),null),_0x8d7f57(this,_0x4a8040(0x43b),null),_0x8d7f57(this,'_eventUnsubscribe',null),(this[_0x4a8040(0x46e)]=_0x17c9e5,this[_0x4a8040(0x229)]=_0x5bb7bf,this['_docSkeleton']=_0x1c9107,this['_document']=_0x3f0efc,this['_render']());}set['_hover'](_0x1d2de6){const _0x3610ca=_0x449813;_0x1d2de6?(this[_0x3610ca(0x402)]&&this[_0x3610ca(0x402)][_0x3610ca(0x23a)](),this[_0x3610ca(0x1db)]&&this[_0x3610ca(0x1db)][_0x3610ca(0x2d1)]()):(this[_0x3610ca(0x402)]&&this[_0x3610ca(0x402)][_0x3610ca(0x2d1)](),this[_0x3610ca(0x1db)]&&this[_0x3610ca(0x1db)][_0x3610ca(0x23a)]());}[_0x449813(0x2ec)](){const _0x565a72=_0x449813;for(const _0x4c9660 of this[_0x565a72(0x398)])_0x4c9660['dispose']();this[_0x565a72(0x1db)]&&this['_textBubble']['dispose'](),this[_0x565a72(0x402)]&&this[_0x565a72(0x402)][_0x565a72(0x2ec)](),this[_0x565a72(0x211)]&&this[_0x565a72(0x211)]['dispose'](),this[_0x565a72(0x3b2)]&&this[_0x565a72(0x3b2)]();}[_0x449813(0x1e3)](){const _0x24014d=_0x449813;var _0x1d2d77;const {_docSkeleton:_0x327d60,_document:_0x53dfe2}=this,{color:_0x40a1b8,name:_0x8ac478,ranges:_0x2903eb}=this[_0x24014d(0x46e)],_0x2ffa57=_0x53dfe2[_0x24014d(0x3e6)](),{docsLeft:_0x220d85,docsTop:_0x3a7163}=_0x2ffa57,_0x323bc=new _0x3fda77[(_0x24014d(0x44d))](_0x2ffa57,_0x327d60);for(const {startOffset:_0x59922c,endOffset:_0x3173a4,rangeType:_0x757a99,segmentId:_0x4eb75b,segmentPage:_0x2135ae,collapsed:_0x2c4846,isActive:_0x326daf}of _0x2903eb){const _0x24de25=_0x327d60[_0x24014d(0x24a)](_0x59922c,!0x0,_0x4eb75b,_0x2135ae);let _0x306e46=_0x327d60['findNodePositionByCharIndex'](_0x3173a4,!0x0,_0x4eb75b,_0x2135ae);if(_0x306e46==null&&(_0x306e46=_0x327d60[_0x24014d(0x24a)](_0x3173a4-0x1,!0x1,_0x4eb75b,_0x2135ae)),_0x326daf){const {contentBoxPointGroup:_0x4110f8}=_0x323bc['getRangePointData'](_0x306e46,_0x306e46);if(_0x4110f8[_0x24014d(0x418)]===0x0)continue;this[_0x24014d(0x1f9)](_0x40a1b8,_0x4110f8,_0x220d85,_0x3a7163,_0x8ac478),this[_0x24014d(0x3b2)]=this[_0x24014d(0x364)]();}if(_0x24de25&&_0x306e46){if(_0x757a99===_0x4921b5[_0x24014d(0x285)][_0x24014d(0x25f)]){const _0x29e0f3=new _0x3fda77[(_0x24014d(0x2ff))](_0x2ffa57,_0x327d60),{pointGroup:_0x18e0c6}=(_0x1d2d77=_0x29e0f3[_0x24014d(0x395)](_0x24de25,_0x306e46))!=null?_0x1d2d77:{};if(_0x18e0c6==null||_0x18e0c6['length']===0x0)continue;this[_0x24014d(0x31f)](_0x40a1b8,_0x18e0c6,_0x220d85,_0x3a7163);}else{if(!_0x2c4846){const {borderBoxPointGroup:_0x451f29}=_0x323bc[_0x24014d(0x395)](_0x24de25,_0x306e46);if(_0x451f29['length']===0x0)continue;this[_0x24014d(0x2be)](_0x40a1b8,_0x451f29,_0x220d85,_0x3a7163);}}}}}['_drawAnchor'](_0x448a52,_0x508466,_0x328bdf,_0x16c856,_0x3b7dee){const _0x2e0b9d=_0x449813,_0x2cd834=this['_getAnchorBounding'](_0x508466),{left:_0x5660f7,top:_0x4144cb,height:_0x2cbd13}=_0x2cd834,_0x353eb3=this[_0x2e0b9d(0x433)](),_0x52caf0=_0x1a852e/_0x353eb3,_0x355878=new _0x22d409[(_0x2e0b9d(0x275))](_0x434321+_0x4921b5[_0x2e0b9d(0x420)](_0x37999e),{'left':_0x5660f7+_0x328bdf-_0x52caf0,'top':_0x4144cb+_0x16c856,'height':_0x2cbd13,'width':_0x375b17,'fill':_0x448a52||_0x22d409[_0x2e0b9d(0x307)](_0x4921b5['COLORS'][_0x2e0b9d(0x3da)],0x0),'strokeWidth':_0x52caf0,'stroke':_0x2e445c,'evented':!0x0});this[_0x2e0b9d(0x211)]=_0x355878,this[_0x2e0b9d(0x229)][_0x2e0b9d(0x226)](_0x355878,_0x3fda77[_0x2e0b9d(0x444)]);const _0x1cfe9e=new _0x22d409[(_0x2e0b9d(0x275))](_0x434321+_0x4921b5['generateRandomId'](_0x37999e),{'left':_0x5660f7+_0x328bdf-_0x52caf0,'top':_0x4144cb+_0x16c856-_0x4eaf7c/0x2,'height':_0x4eaf7c,'width':_0x4eaf7c,'fill':_0x448a52||_0x22d409['getColor'](_0x4921b5[_0x2e0b9d(0x3ee)][_0x2e0b9d(0x3da)],0x0),'strokeWidth':0x0,'stroke':_0x448a52||_0x22d409[_0x2e0b9d(0x307)](_0x4921b5[_0x2e0b9d(0x3ee)][_0x2e0b9d(0x3da)],0x0),'evented':!0x1});this[_0x2e0b9d(0x402)]=_0x1cfe9e,this['_scene'][_0x2e0b9d(0x226)](_0x1cfe9e,_0x3fda77[_0x2e0b9d(0x444)]);const _0x291f70=new _0x5b91d6(_0x434321+_0x4921b5['generateRandomId'](_0x37999e),{'left':_0x5660f7+_0x328bdf-_0x52caf0,'top':_0x4144cb+_0x16c856-_0x58db44,'text':_0x3b7dee,'color':_0x448a52});this[_0x2e0b9d(0x1db)]=_0x291f70,this[_0x2e0b9d(0x229)][_0x2e0b9d(0x226)](_0x291f70,_0x3fda77[_0x2e0b9d(0x444)]),this['_hover']=!0x1;}[_0x449813(0x364)](){const _0x542f30=_0x449813,_0x32439c=this[_0x542f30(0x211)][_0x542f30(0x33b)][_0x542f30(0x38e)](()=>{const _0x475a98=_0x542f30;this[_0x475a98(0x263)]=!0x0;}),_0x4fece1=this['_anchor']['onPointerLeave$'][_0x542f30(0x38e)](()=>{const _0x4f441f=_0x542f30;this[_0x4f441f(0x43b)]&&clearTimeout(this[_0x4f441f(0x43b)]),this['_hideTimer']=setTimeout(()=>{const _0x1a7fd9=_0x4f441f;this[_0x1a7fd9(0x263)]=!0x1;},0x7d0);});return()=>{const _0x29f681=_0x542f30;_0x32439c[_0x29f681(0x30c)](),_0x4fece1[_0x29f681(0x30c)]();};}[_0x449813(0x2be)](_0x5bfd21,_0xdc811a,_0x595541,_0x177c85){const _0x354c9d=_0x449813,_0x363fbf=new _0x4921b5[(_0x354c9d(0x40e))](_0x5bfd21)[_0x354c9d(0x43c)](0.2)[_0x354c9d(0x3f4)](),_0x29fee0=new _0x22d409['RegularPolygon'](_0x4e4b8d+_0x4921b5[_0x354c9d(0x420)](_0x37999e),{'pointsGroup':_0xdc811a,'fill':_0x363fbf||_0x22d409[_0x354c9d(0x307)](_0x4921b5[_0x354c9d(0x3ee)][_0x354c9d(0x3da)],0.2),'left':_0x595541,'top':_0x177c85,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x354c9d(0x398)][_0x354c9d(0x2a3)](_0x29fee0),this[_0x354c9d(0x229)]['addObject'](_0x29fee0,_0x3fda77[_0x354c9d(0x444)]);}['_drawRectRange'](_0x284183,_0x5aacc1,_0x4a0b3d,_0x2416ed){const _0x460ade=_0x449813,_0x5a0c06=new _0x4921b5[(_0x460ade(0x40e))](_0x284183)[_0x460ade(0x43c)](0.2)[_0x460ade(0x3f4)](),_0xaa9480=new _0x22d409[(_0x460ade(0x468))](_0x3a2f1f+_0x4921b5['generateRandomId'](_0x37999e),{'pointsGroup':_0x5aacc1,'fill':_0x5a0c06||_0x22d409['getColor'](_0x4921b5[_0x460ade(0x3ee)][_0x460ade(0x3da)],0.2),'left':_0x4a0b3d,'top':_0x2416ed,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x460ade(0x398)]['push'](_0xaa9480),this[_0x460ade(0x229)][_0x460ade(0x226)](_0xaa9480,_0x3fda77[_0x460ade(0x444)]);}[_0x449813(0x249)](_0x42bbc5){const _0x32a54c=_0x42bbc5[0x0],_0x4acb3c=_0x32a54c[0x0],_0x1cecdd=_0x32a54c[0x2],{x:_0x2319be,y:_0x3f565f}=_0x4acb3c,{x:_0x42dda1,y:_0x39f51d}=_0x1cecdd;return{'left':_0x2319be,'top':_0x3f565f,'width':_0x42dda1-_0x2319be,'height':_0x39f51d-_0x3f565f};}[_0x449813(0x433)](){const _0xaa41f0=_0x449813,{scaleX:_0x40ae29,scaleY:_0x5d56b1}=this[_0xaa41f0(0x229)][_0xaa41f0(0x2e4)]();return Math[_0xaa41f0(0x264)](_0x40ae29,_0x5d56b1);}}var _0x439df9=Object[_0x449813(0x29c)],_0x86f17e=(_0x3692d0,_0x1ec026,_0x38ab58,_0x314f8c)=>{const _0x5aa70d=_0x449813;for(var _0xdda3fd=_0x314f8c>0x1?void 0x0:_0x314f8c?_0x439df9(_0x1ec026,_0x38ab58):_0x1ec026,_0x91e882=_0x3692d0[_0x5aa70d(0x418)]-0x1,_0x279269;_0x91e882>=0x0;_0x91e882--)(_0x279269=_0x3692d0[_0x91e882])&&(_0xdda3fd=_0x279269(_0xdda3fd)||_0xdda3fd);return _0xdda3fd;},_0x3bece7=(_0x42feed,_0x1733a8)=>(_0x45ff7e,_0x53d0f9)=>_0x1733a8(_0x45ff7e,_0x53d0f9,_0x42feed);let _0x3a30e1=class extends _0x4921b5['RxDisposable']{constructor(_0x2f1e3c,_0x2bc463,_0xd16816,_0x1042e8,_0x297a1a){const _0x165aa4=_0x449813;super(),_0x8d7f57(this,_0x165aa4(0x235),[]),_0x8d7f57(this,_0x165aa4(0x36a),[]),(this[_0x165aa4(0x39f)]=_0x2f1e3c,this[_0x165aa4(0x219)]=_0x2bc463,this[_0x165aa4(0x3fd)]=_0xd16816,this[_0x165aa4(0x2a0)]=_0x1042e8,this[_0x165aa4(0x317)]=_0x297a1a,this['_init']());}[_0x449813(0x2c7)](){const _0x39e8da=_0x449813,_0x4b9d36=this[_0x39e8da(0x39f)][_0x39e8da(0x2a2)],_0x50a326=this[_0x39e8da(0x219)];this[_0x39e8da(0x25c)](_0x66da6e[_0x39e8da(0x461)]([this[_0x39e8da(0x3fd)]['getCollabCursors$'](_0x4b9d36),this[_0x39e8da(0x317)][_0x39e8da(0x2e3)]])[_0x39e8da(0x35e)](_0x4449c2[_0x39e8da(0x33d)](([_0x2a37c4,_0x293649])=>({'skeleton':_0x50a326[_0x39e8da(0x326)](),'cursors':[..._0x2a37c4['values']()]['flatMap'](_0x316a02=>({..._0x316a02,'color':this['_themeService'][_0x39e8da(0x3d7)](_0x316a02[_0x39e8da(0x2c1)])}))})))[_0x39e8da(0x1fe)](_0x1084ca=>{const _0x336b90=_0x39e8da;if(this[_0x336b90(0x349)](),_0x1084ca){const {skeleton:_0x26edf2,cursors:_0xeb169e}=_0x1084ca;this['_updateCollabCursors'](_0x26edf2,_0xeb169e);}})),this[_0x39e8da(0x2ab)](),this[_0x39e8da(0x3d0)]();}[_0x449813(0x430)](_0x27b156,_0x4ba6de){const _0x4ed111=_0x449813,{scene:_0x2078f5,mainComponent:_0x6cd077}=this[_0x4ed111(0x39f)],_0x48e1b5=_0x4ba6de['map'](_0x364e03=>new _0x3dc3c5(_0x364e03,_0x2078f5,_0x27b156,_0x6cd077));this[_0x4ed111(0x235)]=_0x48e1b5,this['_cursors']=_0x4ba6de;}[_0x449813(0x427)](){const _0x26d565=_0x449813;this[_0x26d565(0x349)]();const {scene:_0x224889,mainComponent:_0xde560a}=this[_0x26d565(0x39f)],_0x329fff=this['_docSkeletonManagerService'][_0x26d565(0x326)](),_0x4946e5=this[_0x26d565(0x36a)][_0x26d565(0x33d)](_0x11550b=>new _0x3dc3c5(_0x11550b,_0x224889,_0x329fff,_0xde560a));this['_cursorShapes']=_0x4946e5;}['_removeCollabCursors'](){const _0x33fe85=_0x449813;this[_0x33fe85(0x235)]['forEach'](_0x47ea63=>_0x47ea63['dispose']()),this[_0x33fe85(0x235)]=[];}[_0x449813(0x3d0)](){const _0x2a78eb=_0x449813,_0x32b548=[_0x3fda77[_0x2a78eb(0x336)]['id']];this[_0x2a78eb(0x25c)](this[_0x2a78eb(0x2a0)][_0x2a78eb(0x46c)](_0x10c6e7=>{const _0x2049ed=_0x2a78eb;_0x32b548[_0x2049ed(0x3c7)](_0x10c6e7['id'])&&_0x10c6e7[_0x2049ed(0x268)][_0x2049ed(0x2a2)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x449813(0x2ab)](){const _0x41101a=_0x449813;this['disposeWithMe'](_0x4921b5[_0x41101a(0x1f8)](this[_0x41101a(0x39f)][_0x41101a(0x38f)]['onTransformChange$'])[_0x41101a(0x35e)](_0x4449c2[_0x41101a(0x401)](_0x1cddf2=>_0x1cddf2[_0x41101a(0x426)]===_0x22d409[_0x41101a(0x330)][_0x41101a(0x475)]),_0x4449c2['throttleTime'](0x10))[_0x41101a(0x1fe)](()=>{const _0x56b971=_0x41101a;this[_0x56b971(0x427)]();}));}};_0x3a30e1=_0x86f17e([_0x3bece7(0x1,_0x4921b5[_0x449813(0x41c)](_0x4bc80d[_0x449813(0x304)])),_0x3bece7(0x2,_0x4921b5[_0x449813(0x41c)](_0x3d739c)),_0x3bece7(0x3,_0x4921b5[_0x449813(0x35a)]),_0x3bece7(0x4,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x25e)]))],_0x3a30e1);const _0x9a850a=0x1,_0x3d76ae=1.5;class _0x1a0019 extends _0x22d409[_0x449813(0x3ba)]{constructor(_0x156001,_0x42bb8e){const _0x3ad607=_0x449813;super(_0x156001,_0x42bb8e),_0x8d7f57(this,'_color'),_0x8d7f57(this,_0x3ad607(0x443),!0x1),_0x8d7f57(this,_0x3ad607(0x314)),_0x8d7f57(this,_0x3ad607(0x424),''),_0x8d7f57(this,_0x3ad607(0x2f2),_0x3ad607(0x2a6)),_0x8d7f57(this,'_backgroundColor'),(_0x42bb8e&&this[_0x3ad607(0x1f4)](_0x42bb8e),this[_0x3ad607(0x33b)][_0x3ad607(0x38e)](()=>this[_0x3ad607(0x1f4)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x3ad607(0x1f4)]({'hovered':!0x1})));}[_0x449813(0x1f4)](_0x1956a3){const _0x2dda37=_0x449813;var _0x22193f,_0x4a3342,_0x44bc4d,_0x3d467d,_0x4299f4,_0x3b74b0;this['_color']=(_0x22193f=_0x1956a3[_0x2dda37(0x2c1)])!=null?_0x22193f:this[_0x2dda37(0x3a5)],this[_0x2dda37(0x443)]=(_0x4a3342=_0x1956a3[_0x2dda37(0x1ed)])!=null?_0x4a3342:this[_0x2dda37(0x443)],this[_0x2dda37(0x314)]=(_0x44bc4d=_0x1956a3[_0x2dda37(0x320)])!=null?_0x44bc4d:this[_0x2dda37(0x314)],this['_name']=(_0x3d467d=_0x1956a3[_0x2dda37(0x31e)])!=null?_0x3d467d:this[_0x2dda37(0x424)],this[_0x2dda37(0x2f2)]=(_0x4299f4=_0x1956a3['labelPosition'])!=null?_0x4299f4:this[_0x2dda37(0x2f2)],this[_0x2dda37(0x30e)]=(_0x3b74b0=_0x1956a3['backgroundColor'])!=null?_0x3b74b0:this[_0x2dda37(0x30e)],this[_0x2dda37(0x387)]({'width':_0x1956a3[_0x2dda37(0x2b0)],'height':_0x1956a3['height']});}[_0x449813(0x28e)](_0x432280){const _0x2ad65f=_0x449813,{row:_0x4952db,column:_0x248945}=_0x432280;if(_0x4952db>=this[_0x2ad65f(0x314)][_0x2ad65f(0x3ae)]&&_0x4952db<=this[_0x2ad65f(0x314)][_0x2ad65f(0x45d)]&&_0x248945>=this[_0x2ad65f(0x314)][_0x2ad65f(0x35d)]&&_0x248945<=this[_0x2ad65f(0x314)][_0x2ad65f(0x2f0)]){this[_0x2ad65f(0x1f4)]({'hovered':!0x0});return;}this[_0x2ad65f(0x1f4)]({'hovered':!0x1});}[_0x449813(0x1eb)](_0x1fb35b){return!0x1;}['_draw'](_0x4bf257){const _0x3594be=_0x449813;_0x22d409[_0x3594be(0x275)][_0x3594be(0x437)](_0x4bf257,{'width':this[_0x3594be(0x2b0)],'height':this[_0x3594be(0x27a)],'strokeWidth':_0x3d76ae,'stroke':this[_0x3594be(0x3a5)],'evented':!0x1,'fill':this[_0x3594be(0x30e)]}),this[_0x3594be(0x443)]&&(_0x4bf257[_0x3594be(0x344)](),_0x4bf257[_0x3594be(0x1f1)](0x1,0x0,0x0,0x1,this[_0x3594be(0x2b0)],this[_0x3594be(0x2f2)]===_0x3594be(0x33a)?0x0:-_0x58db44),_0x5b91d6[_0x3594be(0x437)](_0x4bf257,{'text':this[_0x3594be(0x424)],'color':this['_color']}),_0x4bf257[_0x3594be(0x44c)]());}}var _0x3936fe=Object[_0x449813(0x29c)],_0x4fdae2=(_0x520bde,_0x1c15cb,_0x3be35b,_0x5bce87)=>{const _0x447b39=_0x449813;for(var _0x3dcbc8=_0x5bce87>0x1?void 0x0:_0x5bce87?_0x3936fe(_0x1c15cb,_0x3be35b):_0x1c15cb,_0x267149=_0x520bde[_0x447b39(0x418)]-0x1,_0x387fd9;_0x267149>=0x0;_0x267149--)(_0x387fd9=_0x520bde[_0x267149])&&(_0x3dcbc8=_0x387fd9(_0x3dcbc8)||_0x3dcbc8);return _0x3dcbc8;},_0x559bea=(_0x4b62f1,_0x521e0f)=>(_0x592fa7,_0x3d361a)=>_0x521e0f(_0x592fa7,_0x3d361a,_0x4b62f1);const _0x4bb736=0x1389;let _0x3bab0f=class extends _0x4921b5[_0x449813(0x442)]{constructor(_0x351e19,_0x411ebb,_0x5ad90f,_0x28e41a){const _0x183b07=_0x449813;super(),_0x8d7f57(this,'_cursors',new Set()),_0x8d7f57(this,_0x183b07(0x371),null),(this[_0x183b07(0x39f)]=_0x351e19,this['_sheetSkeletonManagerService']=_0x411ebb,this[_0x183b07(0x3fd)]=_0x5ad90f,this[_0x183b07(0x317)]=_0x28e41a,this[_0x183b07(0x2c7)]());}[_0x449813(0x2c7)](){const _0x398122=_0x449813;this[_0x398122(0x3df)]['currentSkeleton$']['pipe'](_0x4449c2[_0x398122(0x34f)](this[_0x398122(0x41d)]),_0x4449c2[_0x398122(0x360)](_0xc4d48=>{const _0x2e7452=_0x398122;if(_0xc4d48){const _0x539a47=_0xc4d48[_0x2e7452(0x3c5)];return _0x66da6e['combineLatest'](this['_collabCursorController'][_0x2e7452(0x38a)](this[_0x2e7452(0x39f)]['unitId']),this[_0x2e7452(0x317)][_0x2e7452(0x2e3)])['pipe'](_0x4449c2[_0x2e7452(0x33d)](([_0x45be4d,_0x35f7a5])=>{const _0x5ecf45=_0x2e7452,_0x33ea4d=new Map();return _0x45be4d[_0x5ecf45(0x28b)]((_0x20fa66,_0x423c2c)=>{const _0x4876ce=_0x5ecf45;if(_0x20fa66[_0x4876ce(0x40f)]===_0x539a47){const _0x30216f={..._0x20fa66};_0x30216f[_0x4876ce(0x2c1)]=this[_0x4876ce(0x317)][_0x4876ce(0x3d7)](_0x20fa66[_0x4876ce(0x2c1)]),_0x33ea4d[_0x4876ce(0x2a1)](_0x423c2c,_0x30216f);}}),{'skeleton':_0xc4d48,'cursors':_0x33ea4d};}));}return _0x66da6e['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1a8a64,cursors:_0x5341cf})=>{const _0x3e7830=_0x398122;this[_0x3e7830(0x349)](),_0x1a8a64&&this[_0x3e7830(0x430)](_0x1a8a64,_0x5341cf);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x398122(0x1fe)](_0x5e812a=>{const _0x82c06a=_0x398122;if(_0x5e812a==null)return;const {skeleton:_0x272187}=_0x5e812a,{scene:_0x1b3a78}=this['_context'];_0x1b3a78[_0x82c06a(0x450)][_0x82c06a(0x38e)](_0x4921b5[_0x82c06a(0x3ac)](_0x3d24e0=>{const _0xbba18e=_0x82c06a;var _0x2924a3,_0xc889f9;const {offsetX:_0x133fcc,offsetY:_0x40306b}=_0x3d24e0,{x:_0x1fe42c,y:_0x442b3e}=_0x1b3a78['getRelativeToViewportCoord'](_0x22d409[_0xbba18e(0x256)]['FromArray']([_0x133fcc,_0x40306b])),{scaleX:_0x1b04a2,scaleY:_0x3a33a5}=_0x1b3a78[_0xbba18e(0x2e4)](),_0x545290=_0x1b3a78[_0xbba18e(0x1f3)](_0x22d409[_0xbba18e(0x2d5)][_0xbba18e(0x23b)]),_0x221acc=_0x1b3a78[_0xbba18e(0x393)](_0x22d409[_0xbba18e(0x256)][_0xbba18e(0x2f9)]([_0x1fe42c,_0x442b3e]),_0x545290),_0x381919=_0x272187[_0xbba18e(0x32e)](_0x133fcc,_0x40306b,_0x1b04a2,_0x3a33a5,_0x221acc);((_0x2924a3=this[_0xbba18e(0x371)])==null?void 0x0:_0x2924a3[_0xbba18e(0x258)])===_0x381919[_0xbba18e(0x258)]&&((_0xc889f9=this[_0xbba18e(0x371)])==null?void 0x0:_0xc889f9[_0xbba18e(0x286)])===_0x381919[_0xbba18e(0x286)]||this['_cursors']['forEach'](_0x53409e=>{const _0x31af3c=_0xbba18e;_0x53409e[_0x31af3c(0x28e)](_0x381919);});},0x64));});}['_updateCollabCursors'](_0xb52f62,_0x29a9fc){const _0x1ee520=_0x449813;var _0x4cc0b7;const _0xe1aee1=(_0x4cc0b7=this['_sheetSkeletonManagerService'][_0x1ee520(0x34a)]())==null?void 0x0:_0x4cc0b7[_0x1ee520(0x316)];if(!_0xe1aee1)return;const _0x43c777=this[_0x1ee520(0x3e2)]();if(!_0x43c777)return;this[_0x1ee520(0x36a)][_0x1ee520(0x28b)](_0x359146=>{const _0x2c7833=_0x1ee520;_0x359146[_0x2c7833(0x2b7)]();});const {scene:_0x230460}=_0x43c777,_0x75b7b5=_0x4e0124(Array[_0x1ee520(0x3a2)](_0x29a9fc[_0x1ee520(0x1ea)]()))[_0x1ee520(0x33d)](_0x408bcd=>{const _0x391b79=_0x1ee520,{color:_0x55ce0b,range:_0x1435c1,name:_0x4e6462,selection:_0x51d279,sheetID:_0xd3119e}=_0x408bcd,{startColumn:_0x29bfd4,startRow:_0xc8d6a1,endColumn:_0x508261,endRow:_0x5d8ef6}=_0x1435c1,_0x13d02a=_0x53da58[_0x391b79(0x2e9)](_0xc8d6a1,_0x29bfd4,_0x230460,_0xe1aee1),_0x2e07c7=_0x53da58['getCoordByCell'](_0x5d8ef6,_0x508261,_0x230460,_0xe1aee1),{columnHeaderHeightAndMarginTop:_0x1a7bd4}=_0xe1aee1,{startX:_0x26ca30,startY:_0x6ca787}=_0x13d02a,{endX:_0x4d870c,endY:_0x72e0ee}=_0x2e07c7,_0x47147c=_0x4d870c-_0x26ca30,_0x5b35d4=_0x72e0ee-_0x6ca787,_0x12e61c={'labelPosition':_0x6ca787-_0x1a7bd4>=_0x58db44?_0x391b79(0x2a6):_0x391b79(0x33a),'sheetID':_0xd3119e,'range':_0x1435c1,'color':_0x55ce0b,'name':_0x4e6462,'selection':_0x51d279,'left':_0x26ca30,'top':_0x6ca787,'width':_0x47147c,'height':_0x5b35d4,'evented':!0x1,'zIndex':_0x4bb736};return new _0x1a0019(_0x4e6462,_0x12e61c);});_0x230460[_0x1ee520(0x1da)](_0x75b7b5,_0x9a850a),this[_0x1ee520(0x36a)]=new Set(_0x75b7b5);}[_0x449813(0x349)](){const _0x4d39e2=_0x449813;var _0x178dcd;(_0x178dcd=this['_cursors'])==null||_0x178dcd[_0x4d39e2(0x28b)](_0x5716c5=>_0x5716c5[_0x4d39e2(0x2ec)]());}[_0x449813(0x3e2)](){const _0x410204=_0x449813;return _0x53da58[_0x410204(0x259)](this[_0x410204(0x39f)][_0x410204(0x287)],this[_0x410204(0x39f)]);}};_0x3bab0f=_0x4fdae2([_0x559bea(0x1,_0x4921b5[_0x449813(0x41c)](_0x53da58[_0x449813(0x1f2)])),_0x559bea(0x2,_0x4921b5[_0x449813(0x41c)](_0x3d739c)),_0x559bea(0x3,_0x4921b5['Inject'](_0x4921b5[_0x449813(0x25e)]))],_0x3bab0f);function _0x4e0124(_0x2cd084){const _0x9a4b32=_0x449813,_0x1663cb=new Map();return _0x2cd084[_0x9a4b32(0x28b)](_0x5e8d54=>{const _0xf3fc0e=_0x9a4b32;if(_0x1663cb[_0xf3fc0e(0x3fc)](_0x5e8d54['selection'])){const _0x5a4199=_0x1663cb[_0xf3fc0e(0x2dd)](_0x5e8d54['selection']);_0x5a4199[_0xf3fc0e(0x31e)]+=',\x20'+_0x5e8d54[_0xf3fc0e(0x31e)];}else _0x1663cb[_0xf3fc0e(0x2a1)](_0x5e8d54[_0xf3fc0e(0x379)],_0x5e8d54);}),Array['from'](_0x1663cb['values']());}var _0x4f72cd=Object['getOwnPropertyDescriptor'],_0x4643f0=(_0x112d9a,_0x47ee27,_0x3fc607,_0x4d073a)=>{const _0x262999=_0x449813;for(var _0x1a45ff=_0x4d073a>0x1?void 0x0:_0x4d073a?_0x4f72cd(_0x47ee27,_0x3fc607):_0x47ee27,_0x506537=_0x112d9a[_0x262999(0x418)]-0x1,_0x1e99fc;_0x506537>=0x0;_0x506537--)(_0x1e99fc=_0x112d9a[_0x506537])&&(_0x1a45ff=_0x1e99fc(_0x1a45ff)||_0x1a45ff);return _0x1a45ff;},_0x37b6f9=(_0xdb7d8a,_0x4e302e)=>(_0x5d802e,_0xb3a3d6)=>_0x4e302e(_0x5d802e,_0xb3a3d6,_0xdb7d8a);let _0x803c51=class extends _0x4921b5[_0x449813(0x292)]{constructor(_0x38aad0,_0x300978,_0x332b2c,_0x3424d1,_0x501b20,_0x5de0af){const _0x2d1b4f=_0x449813;super(),this[_0x2d1b4f(0x423)]=_0x38aad0,this[_0x2d1b4f(0x3a4)]=_0x300978,this[_0x2d1b4f(0x327)]=_0x332b2c,this[_0x2d1b4f(0x3bb)]=_0x3424d1,this[_0x2d1b4f(0x23d)]=_0x501b20,this[_0x2d1b4f(0x2db)]=_0x5de0af,this[_0x2d1b4f(0x24e)](),this[_0x2d1b4f(0x404)]();}[_0x449813(0x24e)](){const _0x8ca758=_0x449813;this[_0x8ca758(0x25c)](this[_0x8ca758(0x423)][_0x8ca758(0x35b)](()=>{const _0x49bbd9=_0x8ca758;if(this[_0x49bbd9(0x3a4)][_0x49bbd9(0x45c)]['size'])return this[_0x49bbd9(0x2db)]['t'](_0x49bbd9(0x3e3));}));}[_0x449813(0x404)](){const _0x37e7c5=_0x449813;this[_0x37e7c5(0x25c)](this[_0x37e7c5(0x327)]['event$']['subscribe'](_0xbc6824=>{const _0x512678=_0x37e7c5;_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)]['OTHER_CLIENT_EDITING']&&this[_0x512678(0x3bb)][_0x512678(0x2d1)]({'type':_0x20d8fb[_0x512678(0x2ac)]['Warning'],'content':this[_0x512678(0x2db)]['t']('collaboration.single-unit.warning')}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x3e7)]&&this[_0x512678(0x3bb)]['show']({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x2b1)],'content':this[_0x512678(0x2db)]['t'](_0x512678(0x26d))}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)]['PERMISSION_DENIED']&&this['_notificationService'][_0x512678(0x2d1)]({'title':this[_0x512678(0x2db)]['t'](_0x512678(0x2b9)),'content':this[_0x512678(0x2db)]['t']('permission.content'),'type':_0x512678(0x288),'duration':0x0}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x224)]&&this[_0x512678(0x3bb)]['show']({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x46f)],'content':this[_0x512678(0x2db)]['t']('collaboration.closeRoom')+'('+_0xbc6824[_0x512678(0x1e8)]+')'}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x2b5)]&&this[_0x512678(0x3bb)][_0x512678(0x2d1)]({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x2b1)],'content':this[_0x512678(0x2db)]['t'](_0xbc6824[_0x512678(0x1e8)]||'')}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x378)]&&this[_0x512678(0x3bb)][_0x512678(0x2d1)]({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x2b1)],'content':this['_localeService']['t'](_0x512678(0x294))}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)][_0x512678(0x3c0)]&&this[_0x512678(0x3bb)]['show']({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x46f)],'content':this[_0x512678(0x2db)]['t']('session.connection-failed')}),_0xbc6824['id']===_0x1c12f2[_0x512678(0x3a0)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x512678(0x3bb)]['show']({'type':_0x20d8fb[_0x512678(0x2ac)][_0x512678(0x46f)],'content':this[_0x512678(0x2db)]['t'](_0x512678(0x3e4))});}));}};_0x803c51=_0x4643f0([_0x37b6f9(0x0,_0x56a892[_0x449813(0x266)]),_0x37b6f9(0x1,_0x1c12f2[_0x449813(0x240)]),_0x37b6f9(0x2,_0x4921b5[_0x449813(0x41c)](_0x1c12f2[_0x449813(0x26a)])),_0x37b6f9(0x3,_0x56a892[_0x449813(0x3fb)]),_0x37b6f9(0x4,_0x56a892[_0x449813(0x3f1)]),_0x37b6f9(0x5,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x46b)]))],_0x803c51);const _0x4dbd1e=_0x449813(0x429),_0x752cfd={};var _0x8a2a4a=Object[_0x449813(0x29c)],_0x2b3944=(_0x1fdbe9,_0x17792e,_0x3fd2af,_0x559d12)=>{const _0x24c113=_0x449813;for(var _0x13b0d0=_0x559d12>0x1?void 0x0:_0x559d12?_0x8a2a4a(_0x17792e,_0x3fd2af):_0x17792e,_0x5ade60=_0x1fdbe9[_0x24c113(0x418)]-0x1,_0x324753;_0x5ade60>=0x0;_0x5ade60--)(_0x324753=_0x1fdbe9[_0x5ade60])&&(_0x13b0d0=_0x324753(_0x13b0d0)||_0x13b0d0);return _0x13b0d0;},_0x9a337f=(_0x992be2,_0x2d3384)=>(_0xb91dc7,_0xb030cd)=>_0x2d3384(_0xb91dc7,_0xb030cd,_0x992be2);let _0x4b3596=class{constructor(_0x1269b1,_0x1af6fb){const _0x218d9f=_0x449813;this[_0x218d9f(0x216)]=_0x1269b1,this[_0x218d9f(0x3af)]=_0x1af6fb;}[_0x449813(0x407)](_0x316e5b){const _0x5ccaa7=_0x449813;this[_0x5ccaa7(0x3c1)](_0x316e5b),this[_0x5ccaa7(0x369)](_0x316e5b);}[_0x449813(0x2f8)](_0x18b519){const _0x3bd6bd=_0x449813,{unitID:_0x3a4bc8}=_0x18b519,_0x4a31b9=this['_renderManagerService'][_0x3bd6bd(0x3db)](_0x3a4bc8)[_0x3bd6bd(0x27e)](_0x3fda77[_0x3bd6bd(0x26c)]),{redoCache:_0x8e9ac8}=_0x4a31b9['getUndoRedoMutationParamsCache']();if(_0x8e9ac8['length']===0x0)return _0x18b519;let _0x4dd976=_0x4921b5[_0x3bd6bd(0x25d)][_0x3bd6bd(0x201)](_0x18b519['mutations'][0x0]);for(let _0x4a0e34=0x0;_0x4a0e34<_0x8e9ac8[_0x3bd6bd(0x418)];_0x4a0e34++){const _0x16d13e={'id':'doc.mutation.rich-text-editing','params':{..._0x8e9ac8[_0x4a0e34]}},_0x4ef553=this[_0x3bd6bd(0x216)]['transformMutation'](_0x4dd976,_0x16d13e,!0x1);if(_0x1a4d3b[_0x3bd6bd(0x41a)](_0x4ef553))throw _0x4ef553[_0x3bd6bd(0x288)];_0x4dd976=_0x4ef553[_0x3bd6bd(0x23c)];}return{..._0x4921b5['Tools'][_0x3bd6bd(0x201)](_0x18b519),'mutations':[_0x4dd976]};}[_0x449813(0x3c1)](_0x590209){const _0x392730=_0x449813,{unitID:_0x3dddd1}=_0x590209,_0x12e6c1=this[_0x392730(0x3af)]['getRenderById'](_0x3dddd1)[_0x392730(0x27e)](_0x3fda77[_0x392730(0x26c)]),{undoCache:_0x1858c5,redoCache:_0x2c29d2}=_0x12e6c1['getUndoRedoMutationParamsCache']();if(_0x1858c5[_0x392730(0x418)]===0x0||_0x2c29d2[_0x392730(0x418)]===0x0)return;const _0x54b4dc=[],_0x3f6fb8=[];let _0x4eec80=_0x4921b5[_0x392730(0x25d)][_0x392730(0x201)](_0x590209[_0x392730(0x3e5)][0x0]),_0x5182c3=_0x4921b5[_0x392730(0x25d)][_0x392730(0x201)](_0x590209['mutations'][0x0]);for(let _0x1cc40d=_0x1858c5[_0x392730(0x418)]-0x1;_0x1cc40d>=0x0;_0x1cc40d--){const _0x5d6cab={'id':_0x392730(0x439),'params':{..._0x1858c5[_0x1cc40d]}},_0xcf1a43={'id':_0x392730(0x439),'params':{..._0x2c29d2[_0x1cc40d]}},_0x59d0af=this['_transformService']['transformMutation'](_0x4eec80,_0x5d6cab,!0x1),_0x385ad8=this[_0x392730(0x216)][_0x392730(0x454)](_0x5182c3,_0xcf1a43,!0x1);if(_0x1a4d3b['isTransformMutationFailure'](_0x59d0af))throw _0x59d0af[_0x392730(0x288)];if(_0x1a4d3b[_0x392730(0x41a)](_0x385ad8))throw _0x385ad8['error'];_0x54b4dc[_0x392730(0x205)](_0x59d0af['m2Prime'][_0x392730(0x268)]),_0x3f6fb8[_0x392730(0x205)](_0x385ad8[_0x392730(0x24f)][_0x392730(0x268)]),_0x4eec80=_0x59d0af[_0x392730(0x23c)],_0x5182c3=_0x385ad8[_0x392730(0x23c)];}_0x12e6c1['setUndoRedoMutationParamsCache']({'undoCache':_0x54b4dc,'redoCache':_0x3f6fb8});}[_0x449813(0x369)](_0x5787a9){const _0x550c3a=_0x449813,{unitID:_0x81a3c7}=_0x5787a9,_0x14b20d=this['_renderManagerService'][_0x550c3a(0x3db)](_0x81a3c7)[_0x550c3a(0x27e)](_0x3fda77['DocIMEInputManagerService']),_0x34d661=_0x14b20d['getActiveRange']();if(_0x34d661==null)return;const _0x408f73=[{'id':_0x550c3a(0x439),'params':{'unitId':_0x5787a9['unitID'],'actions':null,'textRanges':[_0x34d661]}}],_0x10d7fc=this[_0x550c3a(0x216)][_0x550c3a(0x348)](_0x5787a9,_0x408f73);if(!_0x1a4d3b['isTransformMutationsWithChangesetSuccess'](_0x10d7fc))throw _0x10d7fc[_0x550c3a(0x288)];const _0x387e7e=_0x10d7fc[_0x550c3a(0x24f)][0x0][_0x550c3a(0x268)][_0x550c3a(0x2ce)];Array['isArray'](_0x387e7e)&&_0x387e7e['length']&&_0x14b20d[_0x550c3a(0x332)](_0x387e7e[0x0]);}};_0x4b3596=_0x2b3944([_0x9a337f(0x0,_0x1a4d3b[_0x449813(0x310)]),_0x9a337f(0x1,_0x22d409[_0x449813(0x2e2)])],_0x4b3596);var _0x19407e=Object[_0x449813(0x29c)],_0x20bda7=(_0x5d92f1,_0x41751f,_0x196ca4,_0x47b859)=>{const _0x1ca907=_0x449813;for(var _0x3235db=_0x47b859>0x1?void 0x0:_0x47b859?_0x19407e(_0x41751f,_0x196ca4):_0x41751f,_0x5e6d98=_0x5d92f1[_0x1ca907(0x418)]-0x1,_0x31aaeb;_0x5e6d98>=0x0;_0x5e6d98--)(_0x31aaeb=_0x5d92f1[_0x5e6d98])&&(_0x3235db=_0x31aaeb(_0x3235db)||_0x3235db);return _0x3235db;},_0x275655=(_0x33324a,_0x44ea74)=>(_0x52f8c3,_0x3d6cfc)=>_0x44ea74(_0x52f8c3,_0x3d6cfc,_0x33324a);let _0x34c2df=class{constructor(_0x255990,_0x4ed34e,_0x5c9125){const _0x3a9282=_0x449813;this['_injector']=_0x255990,this['_transformService']=_0x4ed34e,this[_0x3a9282(0x313)]=_0x5c9125;}['transformStateCache'](_0x1e5d0a){this['_transformHistoryAndStateStack'](_0x1e5d0a);}[_0x449813(0x2f8)](_0x20a1c6){const _0x2c1753=_0x449813,{unitID:_0x11ca28}=_0x20a1c6,{collaboration:_0xcc1e9d}=this[_0x2c1753(0x313)][_0x2c1753(0x207)](_0x11ca28);if(_0xcc1e9d[_0x2c1753(0x418)]===0x0)return _0x20a1c6;let _0x294778=_0x4921b5[_0x2c1753(0x25d)][_0x2c1753(0x201)](_0x20a1c6['mutations'][0x0]);for(let _0x436981=0x0;_0x436981<_0xcc1e9d[_0x2c1753(0x418)];_0x436981++){const _0x3a69bf={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xcc1e9d[_0x436981][_0x2c1753(0x2a2)],..._0xcc1e9d[_0x436981][_0x2c1753(0x3bf)]}},_0x40cd95=this[_0x2c1753(0x216)][_0x2c1753(0x454)](_0x294778,_0x3a69bf,!0x1);if(_0x1a4d3b['isTransformMutationFailure'](_0x40cd95))throw _0x40cd95[_0x2c1753(0x288)];_0x294778=_0x40cd95[_0x2c1753(0x23c)];}return{..._0x4921b5[_0x2c1753(0x25d)][_0x2c1753(0x201)](_0x20a1c6),'mutations':[_0x294778]};}['_transformHistoryAndStateStack'](_0x4a2c61){const _0x43f5ca=_0x449813,{unitID:_0x479120}=_0x4a2c61,{history:_0x1bc44e,collaboration:_0x4a2ba0}=this[_0x43f5ca(0x313)][_0x43f5ca(0x207)](_0x479120);if(_0x1bc44e[_0x43f5ca(0x418)]===0x0&&_0x4a2ba0[_0x43f5ca(0x418)]===0x0)return;const _0x1f88b2=[],_0x41f130=[];let _0x3807ac=_0x4921b5[_0x43f5ca(0x25d)][_0x43f5ca(0x201)](_0x4a2c61['mutations'][0x0]),_0x52707d=_0x4921b5[_0x43f5ca(0x25d)][_0x43f5ca(0x201)](_0x4a2c61[_0x43f5ca(0x3e5)][0x0]);for(let _0x4f78e7=_0x1bc44e[_0x43f5ca(0x418)]-0x1;_0x4f78e7>=0x0;_0x4f78e7--){const _0x316c83={'id':_0x43f5ca(0x439),'params':{'unitId':_0x1bc44e[_0x4f78e7][_0x43f5ca(0x2a2)],..._0x1bc44e[_0x4f78e7][_0x43f5ca(0x246)]}},_0x3a5dd8={'id':_0x43f5ca(0x439),'params':{'unitId':_0x1bc44e[_0x4f78e7]['unitId'],..._0x1bc44e[_0x4f78e7][_0x43f5ca(0x3bf)]}},_0x2b9652=this[_0x43f5ca(0x216)]['transformMutation'](_0x3807ac,_0x316c83,!0x1),_0x3527a3=this[_0x43f5ca(0x216)][_0x43f5ca(0x454)](_0x52707d,_0x3a5dd8,!0x1);if(_0x1a4d3b[_0x43f5ca(0x41a)](_0x2b9652))throw _0x2b9652['error'];if(_0x1a4d3b['isTransformMutationFailure'](_0x3527a3))throw _0x3527a3[_0x43f5ca(0x288)];_0x1f88b2['unshift']({..._0x1bc44e[_0x4f78e7],'undoState':_0x2b9652['m2Prime'][_0x43f5ca(0x268)],'redoState':_0x3527a3[_0x43f5ca(0x24f)][_0x43f5ca(0x268)]}),_0x3807ac=_0x2b9652[_0x43f5ca(0x23c)],_0x52707d=_0x3527a3['m1Prime'];}_0x3807ac=_0x4921b5['Tools'][_0x43f5ca(0x201)](_0x4a2c61[_0x43f5ca(0x3e5)][0x0]),_0x52707d=_0x4921b5[_0x43f5ca(0x25d)][_0x43f5ca(0x201)](_0x4a2c61[_0x43f5ca(0x3e5)][0x0]);for(let _0x5a4b49=_0x4a2ba0[_0x43f5ca(0x418)]-0x1;_0x5a4b49>=0x0;_0x5a4b49--){const _0x5cc361={'id':_0x43f5ca(0x439),'params':{'unitId':_0x4a2ba0[_0x5a4b49][_0x43f5ca(0x2a2)],..._0x4a2ba0[_0x5a4b49]['undoState']}},_0x1354b2={'id':_0x43f5ca(0x439),'params':{'unitId':_0x4a2ba0[_0x5a4b49][_0x43f5ca(0x2a2)],..._0x4a2ba0[_0x5a4b49][_0x43f5ca(0x3bf)]}},_0x3a3c1e=this[_0x43f5ca(0x216)][_0x43f5ca(0x454)](_0x3807ac,_0x5cc361,!0x1),_0x2abae3=this['_transformService'][_0x43f5ca(0x454)](_0x52707d,_0x1354b2,!0x1);if(_0x1a4d3b[_0x43f5ca(0x41a)](_0x3a3c1e))throw _0x3a3c1e[_0x43f5ca(0x288)];if(_0x1a4d3b['isTransformMutationFailure'](_0x2abae3))throw _0x2abae3[_0x43f5ca(0x288)];_0x41f130[_0x43f5ca(0x205)]({..._0x4a2ba0[_0x5a4b49],'undoState':_0x3a3c1e[_0x43f5ca(0x24f)][_0x43f5ca(0x268)],'redoState':_0x2abae3[_0x43f5ca(0x24f)][_0x43f5ca(0x268)]}),_0x3807ac=_0x3a3c1e[_0x43f5ca(0x23c)],_0x52707d=_0x2abae3[_0x43f5ca(0x23c)];}this[_0x43f5ca(0x313)][_0x43f5ca(0x2ca)](_0x479120,{'history':_0x1f88b2,'collaboration':_0x41f130});}};_0x34c2df=_0x20bda7([_0x275655(0x0,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x24c)])),_0x275655(0x1,_0x1a4d3b[_0x449813(0x310)]),_0x275655(0x2,_0x4921b5[_0x449813(0x41c)](_0x3fda77[_0x449813(0x300)]))],_0x34c2df);var _0x367867=Object[_0x449813(0x29c)],_0x42eb0a=(_0x5b34d8,_0x385da2,_0x4bf011,_0x3a38ff)=>{const _0x2dcb06=_0x449813;for(var _0x11a966=_0x3a38ff>0x1?void 0x0:_0x3a38ff?_0x367867(_0x385da2,_0x4bf011):_0x385da2,_0x2ba06a=_0x5b34d8[_0x2dcb06(0x418)]-0x1,_0x444e26;_0x2ba06a>=0x0;_0x2ba06a--)(_0x444e26=_0x5b34d8[_0x2ba06a])&&(_0x11a966=_0x444e26(_0x11a966)||_0x11a966);return _0x11a966;},_0x19e4c4=(_0x51256b,_0x434c39)=>(_0x2f04be,_0x57cc22)=>_0x434c39(_0x2f04be,_0x57cc22,_0x51256b);let _0x104c36=class{constructor(_0x5f080b,_0x533944){const _0x67260f=_0x449813;this['_injector']=_0x5f080b,this[_0x67260f(0x216)]=_0x533944;}[_0x449813(0x22b)](_0x3a7212){const _0x47f5e8=_0x449813;var _0x3c6510;const _0x1da1ef=this[_0x47f5e8(0x27f)][_0x47f5e8(0x2dd)](_0x4bc80d['DocSelectionManagerService']),_0x24e4c6=(_0x3c6510=_0x1da1ef[_0x47f5e8(0x3bd)]())!=null?_0x3c6510:[];if(_0x24e4c6[_0x47f5e8(0x418)]===0x0)return;const _0x57635c=_0x3a7212[_0x47f5e8(0x2b3)],_0x389ec8=[{'id':_0x47f5e8(0x439),'params':{'unitId':_0x57635c,'actions':null,'textRanges':_0x24e4c6}}],_0x223e40=this[_0x47f5e8(0x216)][_0x47f5e8(0x348)](_0x3a7212,_0x389ec8);if(!_0x1a4d3b[_0x47f5e8(0x283)](_0x223e40))throw _0x223e40['error'];const _0x1a7b54=_0x223e40[_0x47f5e8(0x24f)][0x0][_0x47f5e8(0x268)][_0x47f5e8(0x2ce)];Array[_0x47f5e8(0x1d8)](_0x1a7b54)&&_0x1a7b54['length']&&_0x1da1ef[_0x47f5e8(0x25a)](_0x1a7b54,{'unitId':_0x57635c,'subUnitId':_0x57635c},!0x1);}};_0x104c36=_0x42eb0a([_0x19e4c4(0x0,_0x4921b5['Inject'](_0x4921b5[_0x449813(0x24c)])),_0x19e4c4(0x1,_0x1a4d3b[_0x449813(0x310)])],_0x104c36);var _0x4d2ba6=Object[_0x449813(0x29c)],_0x5ea8be=(_0xb042fb,_0x48ae05,_0xaae952,_0x46e32c)=>{for(var _0x390e75=_0x46e32c>0x1?void 0x0:_0x46e32c?_0x4d2ba6(_0x48ae05,_0xaae952):_0x48ae05,_0x4a4bcc=_0xb042fb['length']-0x1,_0x4f7776;_0x4a4bcc>=0x0;_0x4a4bcc--)(_0x4f7776=_0xb042fb[_0x4a4bcc])&&(_0x390e75=_0x4f7776(_0x390e75)||_0x390e75);return _0x390e75;},_0x3b0622=(_0x4fe63a,_0x16278a)=>(_0x1bd25f,_0x141469)=>_0x16278a(_0x1bd25f,_0x141469,_0x4fe63a);let _0x2f73bf=class extends _0x4921b5[_0x449813(0x292)]{constructor(_0x5621de,_0x51171e,_0x4b4085,_0x19d0d0,_0x2ee2ea,_0x213568,_0x77c25d,_0x233518){const _0x3cb707=_0x449813;super(),_0x8d7f57(this,_0x3cb707(0x215),new _0x66da6e[(_0x3cb707(0x2ae))](_0x1c12f2[_0x3cb707(0x375)]['NOT_COLLAB'])),(this[_0x3cb707(0x313)]=_0x5621de,this[_0x3cb707(0x44b)]=_0x51171e,this[_0x3cb707(0x416)]=_0x4b4085,this['_docTransformStateCacheService']=_0x19d0d0,this['_docTransformSelectionsService']=_0x2ee2ea,this[_0x3cb707(0x425)]=_0x213568,this[_0x3cb707(0x3bb)]=_0x77c25d,this[_0x3cb707(0x2db)]=_0x233518,this[_0x3cb707(0x2e6)]());}['_initEntityListener'](){const _0x90a3ea=_0x449813;this['disposeWithMe'](this[_0x90a3ea(0x44b)][_0x90a3ea(0x434)][_0x90a3ea(0x1fe)](_0x5c4a72=>{const _0x3fbc08=_0x90a3ea,_0x11aba5=this[_0x3fbc08(0x313)]['docStateChange$'][_0x3fbc08(0x1fe)](_0x43b3d1=>{const _0x567c46=_0x3fbc08;if(_0x43b3d1==null)return;const {unitId:_0x4033d8,redoState:_0x1e3c7d,commandId:_0x142e64}=_0x43b3d1;if(_0x4033d8!==_0x5c4a72['unitID'])return;const _0x3dc534={'id':_0x142e64,'type':_0x4921b5[_0x567c46(0x39a)][_0x567c46(0x33e)],'params':{'unitId':_0x4033d8,'actions':_0x1e3c7d[_0x567c46(0x2e0)],'textRanges':null}};_0x5c4a72[_0x567c46(0x3de)](_0x3dc534);});if(_0x5c4a72[_0x3fbc08(0x25c)](_0x11aba5),_0x5c4a72 instanceof _0x1c12f2[_0x3fbc08(0x352)]){const _0x2a795c={'onTransformIME':_0x2d0d7f=>this[_0x3fbc08(0x416)][_0x3fbc08(0x407)](_0x2d0d7f),'onTransformState':_0x3e9bd5=>this['_docTransformStateCacheService'][_0x3fbc08(0x1f5)](_0x3e9bd5),'onTransformSelections':_0x4b18ba=>this[_0x3fbc08(0x419)][_0x3fbc08(0x22b)](_0x4b18ba),'onSyncEditingCollabCursor':_0x120e66=>this[_0x3fbc08(0x425)][_0x3fbc08(0x2d3)](_0x120e66),'onTransformRemoteChangesetByIMECache':_0x259ece=>this[_0x3fbc08(0x416)]['transformRemoteChangeset'](_0x259ece),'onTransformRemoteChangesetByStateCache':_0x39e212=>this[_0x3fbc08(0x322)][_0x3fbc08(0x2f8)](_0x39e212)};_0x5c4a72['addHandlerCallback'](_0x2a795c);}}));}};_0x2f73bf=_0x5ea8be([_0x3b0622(0x0,_0x4921b5[_0x449813(0x41c)](_0x3fda77[_0x449813(0x300)])),_0x3b0622(0x1,_0x4921b5[_0x449813(0x41c)](_0x1c12f2[_0x449813(0x21a)])),_0x3b0622(0x2,_0x4921b5[_0x449813(0x41c)](_0x4b3596)),_0x3b0622(0x3,_0x4921b5['Inject'](_0x34c2df)),_0x3b0622(0x4,_0x4921b5[_0x449813(0x41c)](_0x104c36)),_0x3b0622(0x5,_0x4921b5['Inject'](_0x2162e3)),_0x3b0622(0x6,_0x56a892[_0x449813(0x3fb)]),_0x3b0622(0x7,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x46b)]))],_0x2f73bf);var _0xf8c48c=Object[_0x449813(0x29c)],_0x1b0344=(_0x1b357a,_0x787dd5,_0x261a48,_0x3cb5cf)=>{for(var _0x15258e=_0x3cb5cf>0x1?void 0x0:_0x3cb5cf?_0xf8c48c(_0x787dd5,_0x261a48):_0x787dd5,_0x18f007=_0x1b357a['length']-0x1,_0x4da289;_0x18f007>=0x0;_0x18f007--)(_0x4da289=_0x1b357a[_0x18f007])&&(_0x15258e=_0x4da289(_0x15258e)||_0x15258e);return _0x15258e;},_0x226d09=(_0x28b4da,_0x48663b)=>(_0x2a7c28,_0x230dbc)=>_0x48663b(_0x2a7c28,_0x230dbc,_0x28b4da);let _0xe558cc=class extends _0x4921b5['Disposable']{constructor(_0x273495,_0xb5d3a1,_0x4f111e){const _0x5f1f85=_0x449813;super(),_0x8d7f57(this,_0x5f1f85(0x39d),new Map()),_0x8d7f57(this,_0x5f1f85(0x30f),new Map()),_0x8d7f57(this,_0x5f1f85(0x347),!0x1),(this[_0x5f1f85(0x2e5)]=_0x273495,this[_0x5f1f85(0x1f0)]=_0xb5d3a1,this[_0x5f1f85(0x2fa)]=_0x4f111e);}['disableLocalCache'](){const _0xaf6d0a=_0x449813;this[_0xaf6d0a(0x347)]=!0x0;}[_0x449813(0x308)](){const _0x54e4aa=_0x449813;this[_0x54e4aa(0x347)]=!0x1;}get[_0x449813(0x45c)](){const _0x46755d=_0x449813;return this[_0x46755d(0x30f)];}[_0x449813(0x2ec)](){const _0x5ed37f=_0x449813;this['exhaustSavingTask']()['then'](()=>super[_0x5ed37f(0x2ec)]());}async[_0x449813(0x25b)](_0xc13a14){const _0x49f3d0=_0x449813;return this[_0x49f3d0(0x347)]?null:this['_localStorageService']['getItem'](_0x1c12f2[_0x49f3d0(0x391)](_0xc13a14));}async[_0x449813(0x3c6)](_0x3af88f,_0x3f847a){const _0x3cb8d0=_0x449813;return!!this[_0x3cb8d0(0x1f0)][_0x3cb8d0(0x2b2)](_0x3af88f,_0x3f847a);}[_0x449813(0x1fb)](_0x15ba16,_0x48b2f9,_0x4e9860,_0x4f90b3){const _0x179314=_0x449813,_0x1a729e=this['_revisionService'][_0x179314(0x363)](_0x15ba16);this['_cachedData'][_0x179314(0x2a1)](_0x15ba16,{'unitID':_0x15ba16,'type':_0x48b2f9,'awaitingChangeset':_0x4e9860,'mutations':_0x4f90b3,'rev':_0x1a729e}),this[_0x179314(0x30f)]['has'](_0x15ba16)||this['_scheduleSaving'](_0x15ba16);}[_0x449813(0x1e4)](_0x2a6a6d){const _0x437631=_0x449813,_0x2b58c7=this[_0x437631(0x2c9)]();_0x2b58c7===0x0?this[_0x437631(0x244)](_0x2a6a6d):this[_0x437631(0x30f)][_0x437631(0x2a1)](_0x2a6a6d,setTimeout(()=>this['_saveCache'](_0x2a6a6d),_0x2b58c7));}[_0x449813(0x2c9)](){const _0x51393d=_0x449813;var _0x24a059;return(_0x24a059=this[_0x51393d(0x2e5)][_0x51393d(0x471)](_0x1c12f2['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x24a059:_0x1c12f2['LOCAL_CACHE_INTERVAL'];}[_0x449813(0x244)](_0x3b7f7e){const _0x3663fe=_0x449813,_0x40b627=this[_0x3663fe(0x30f)][_0x3663fe(0x2dd)](_0x3b7f7e);return _0x40b627!==void 0x0&&window[_0x3663fe(0x2ba)](_0x40b627),this[_0x3663fe(0x1f0)][_0x3663fe(0x2b2)](_0x1c12f2[_0x3663fe(0x391)](_0x3b7f7e),this[_0x3663fe(0x39d)]['get'](_0x3b7f7e))[_0x3663fe(0x3ef)](()=>this[_0x3663fe(0x30f)][_0x3663fe(0x474)](_0x3b7f7e));}async[_0x449813(0x358)](){const _0x12408d=_0x449813,_0x36dd1d=[];this[_0x12408d(0x30f)]['forEach']((_0x405ad4,_0x84f8e0)=>{const _0x365f6b=_0x12408d;window['clearTimeout'](_0x405ad4),_0x36dd1d[_0x365f6b(0x2a3)](this[_0x365f6b(0x244)](_0x84f8e0)['then'](()=>{const _0x2005de=_0x365f6b;this[_0x2005de(0x30f)][_0x2005de(0x474)](_0x84f8e0);}));}),await Promise[_0x12408d(0x2df)](_0x36dd1d);}};_0xe558cc=_0x1b0344([_0x226d09(0x0,_0x4921b5[_0x449813(0x2f5)]),_0x226d09(0x1,_0x4921b5[_0x449813(0x356)]),_0x226d09(0x2,_0x4921b5[_0x449813(0x41c)](_0x1a4d3b[_0x449813(0x421)]))],_0xe558cc);class _0x589d2e extends _0x4921b5[_0x449813(0x442)]{constructor(){const _0x33b963=_0x449813;super(),_0x8d7f57(this,'urlChange$'),this[_0x33b963(0x21d)]=_0x66da6e[_0x33b963(0x1e5)](window,_0x33b963(0x26e))[_0x33b963(0x35e)](_0x66da6e[_0x33b963(0x34f)](this['dispose$']),_0x66da6e[_0x33b963(0x255)](0x1),_0x66da6e[_0x33b963(0x3f3)](void 0x0));}[_0x449813(0x2c4)](_0x2fe2f8,_0x1d06ef,_0x36e547=!0x1){const _0x257b2a=_0x449813,_0x484cac=new URL(window[_0x257b2a(0x345)][_0x257b2a(0x31b)]);_0x484cac[_0x257b2a(0x3be)][_0x257b2a(0x2a1)](_0x2fe2f8,_0x1d06ef),_0x36e547?window['history'][_0x257b2a(0x21e)]('','',_0x484cac[_0x257b2a(0x36d)]()):window[_0x257b2a(0x2a8)][_0x257b2a(0x21f)]('','',_0x484cac[_0x257b2a(0x36d)]());}[_0x449813(0x2a5)](_0x1ef7c9,_0x1818e5=!0x1){const _0x7319b7=_0x449813,_0x30b5f9=new URL(window[_0x7319b7(0x345)]['href']);_0x30b5f9[_0x7319b7(0x3be)]['delete'](_0x1ef7c9),_0x1818e5?window[_0x7319b7(0x2a8)][_0x7319b7(0x21e)]('','',_0x30b5f9[_0x7319b7(0x36d)]()):window['history'][_0x7319b7(0x21f)]('','',_0x30b5f9[_0x7319b7(0x36d)]());}[_0x449813(0x372)](_0x2671eb){const _0x87f5fc=_0x449813;var _0x319d7a;return(_0x319d7a=new URL(window[_0x87f5fc(0x345)][_0x87f5fc(0x31b)])[_0x87f5fc(0x3be)][_0x87f5fc(0x2dd)](_0x2671eb))!=null?_0x319d7a:void 0x0;}}var _0x5827e7=Object[_0x449813(0x388)],_0x2c381d=Object['getOwnPropertyDescriptor'],_0x472c2c=(_0x12939d,_0x4b45d5,_0x312804)=>_0x4b45d5 in _0x12939d?_0x5827e7(_0x12939d,_0x4b45d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x312804}):_0x12939d[_0x4b45d5]=_0x312804,_0x2aab85=(_0x3821be,_0x4586bc,_0x25a4e1,_0x5679c5)=>{const _0x4802d0=_0x449813;for(var _0x5e222c=_0x5679c5>0x1?void 0x0:_0x5679c5?_0x2c381d(_0x4586bc,_0x25a4e1):_0x4586bc,_0x2aaec4=_0x3821be[_0x4802d0(0x418)]-0x1,_0x4c0b6d;_0x2aaec4>=0x0;_0x2aaec4--)(_0x4c0b6d=_0x3821be[_0x2aaec4])&&(_0x5e222c=_0x4c0b6d(_0x5e222c)||_0x5e222c);return _0x5e222c;},_0x93a56b=(_0xa97c59,_0x1df76e)=>(_0x3d5f68,_0x597159)=>_0x1df76e(_0x3d5f68,_0x597159,_0xa97c59),_0x97cd59=(_0x333724,_0x190bdc,_0x251749)=>_0x472c2c(_0x333724,_0x190bdc+'',_0x251749);const _0x1b69a2='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x11d7a5['UniverCollaborationClientUIPlugin']=class extends _0x4921b5[_0x449813(0x447)]{constructor(_0x1f6651=_0x752cfd,_0x22b6fa,_0x6a4f52,_0x327774){const _0x240f06=_0x449813;super(),this[_0x240f06(0x462)]=_0x1f6651,this[_0x240f06(0x3af)]=_0x22b6fa,this[_0x240f06(0x27f)]=_0x6a4f52,this[_0x240f06(0x2e5)]=_0x327774;const {..._0x379585}=_0x4921b5['merge']({},_0x752cfd,this[_0x240f06(0x462)]);this['_configService'][_0x240f06(0x278)](_0x4dbd1e,_0x379585);}[_0x449813(0x2e1)](){const _0x2432cf=_0x449813;this[_0x2432cf(0x432)](),this[_0x2432cf(0x2c2)]();}[_0x449813(0x297)](){const _0x572110=_0x449813;this[_0x572110(0x254)]();}[_0x449813(0x432)](){const _0xb883c3=_0x449813;var _0x4a7306;const _0x224280=[[_0xac4cbd],[_0x104c36],[_0x4b3596],[_0x34c2df],[_0x2162e3],[_0x475a16,{'useClass':_0x589d2e}],[_0x1d4e08[_0xb883c3(0x1de)],{'useClass':_0x1d4e08['WebSocketService']}],[_0x1c12f2[_0xb883c3(0x240)],{'useClass':_0xe558cc}],[_0x11d7a5['DesktopCollaborationStatusDisplayController']],[_0x2f73bf],[_0x803c51],[_0x3d739c],[_0x310481],[_0x11d7a5[_0xb883c3(0x408)]]];_0x4921b5['registerDependencies'](this['_injector'],_0x4921b5[_0xb883c3(0x2cd)](_0x224280,(_0x4a7306=this[_0xb883c3(0x462)])==null?void 0x0:_0x4a7306[_0xb883c3(0x346)]));}[_0x449813(0x254)](){const _0x42868d=_0x449813;this['disposeWithMe'](this['_renderManagerService'][_0x42868d(0x46a)](_0x4921b5[_0x42868d(0x351)][_0x42868d(0x299)],[_0x3a30e1])),this['disposeWithMe'](this[_0x42868d(0x3af)]['registerRenderModule'](_0x4921b5[_0x42868d(0x351)][_0x42868d(0x262)],[_0x3bab0f]));}['_initDependencies'](){const _0xdb86e2=_0x449813;_0x4921b5[_0xdb86e2(0x3d5)](this[_0xdb86e2(0x27f)],[[_0x3d739c],[_0x11d7a5[_0xdb86e2(0x2cb)]],[_0x2f73bf],[_0x803c51],[_0x11d7a5[_0xdb86e2(0x408)]]]);}},_0x97cd59(_0x11d7a5[_0x449813(0x35c)],_0x449813(0x417),_0x1b69a2),_0x11d7a5[_0x449813(0x35c)]=_0x2aab85([_0x4921b5['DependentOn'](_0x1c12f2['UniverCollaborationClientPlugin']),_0x93a56b(0x1,_0x22d409[_0x449813(0x2e2)]),_0x93a56b(0x2,_0x4921b5[_0x449813(0x41c)](_0x4921b5[_0x449813(0x24c)])),_0x93a56b(0x3,_0x4921b5['IConfigService'])],_0x11d7a5[_0x449813(0x35c)]);var _0x2a22d8=Object[_0x449813(0x29c)],_0x445dad=(_0x5a6cee,_0x1aa160,_0x1def1c,_0x3ba387)=>{for(var _0x3da75b=_0x3ba387>0x1?void 0x0:_0x3ba387?_0x2a22d8(_0x1aa160,_0x1def1c):_0x1aa160,_0x51cf11=_0x5a6cee['length']-0x1,_0x187622;_0x51cf11>=0x0;_0x51cf11--)(_0x187622=_0x5a6cee[_0x51cf11])&&(_0x3da75b=_0x187622(_0x3da75b)||_0x3da75b);return _0x3da75b;},_0x27de08=(_0xb84cca,_0x3bf2e8)=>(_0x5e505b,_0x41bb26)=>_0x3bf2e8(_0x5e505b,_0x41bb26,_0xb84cca);_0x11d7a5['BrowserCollaborationSocketService']=class extends _0x1c12f2['CollaborationSocketService']{constructor(_0x450161,_0x47cd97,_0x22d5da,_0x1c6b9a,_0x3b5733){super(_0x450161,_0x47cd97,_0x22d5da,_0x1c6b9a,_0x3b5733);}async[_0x449813(0x410)](_0x371686){const _0x3536f5=_0x449813,_0x5b758a=await this[_0x3536f5(0x331)](),_0x4f83a3=this[_0x3536f5(0x281)](_0x371686,_0x5b758a);return this[_0x3536f5(0x41b)](_0x4f83a3);}[_0x449813(0x281)](_0x479234,_0x1f0c7f){const _0x261202=_0x449813,_0x3b65cf=typeof window>'u'?new URL(_0x479234):new URL(_0x479234,window[_0x261202(0x345)][_0x261202(0x22f)]);_0x3b65cf[_0x261202(0x3be)][_0x261202(0x2a1)](_0x261202(0x2af),_0x1f0c7f);const _0x1d03ea=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x261202(0x345)][_0x261202(0x390)]);return _0x1d03ea[_0x261202(0x2dd)](_0x261202(0x26f))&&_0x3b65cf[_0x261202(0x3be)][_0x261202(0x2a1)](_0x261202(0x26f),_0x1d03ea[_0x261202(0x2dd)](_0x261202(0x26f))),_0x3b65cf[_0x261202(0x36d)]();}async['_getSessionTicket'](){const _0x19570c=_0x449813;var _0x6d7e8e,_0x5f5a8b,_0x5d0f44;const _0x443da5=this[_0x19570c(0x2e5)][_0x19570c(0x471)](_0x1c12f2['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0xc275e4=(_0x6d7e8e=_0x443da5==null?void 0x0:_0x443da5['wsSessionTicketUrl'])!=null?_0x6d7e8e:_0x1c12f2[_0x19570c(0x44e)];return(_0x5d0f44=(_0x5f5a8b=(await this[_0x19570c(0x2fb)][_0x19570c(0x2dd)](_0xc275e4,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5f5a8b[_0x19570c(0x441)])!=null?_0x5d0f44:'';}},_0x11d7a5[_0x449813(0x208)]=_0x445dad([_0x27de08(0x0,_0x4921b5[_0x449813(0x41c)](_0x4921b5['Injector'])),_0x27de08(0x1,_0x4921b5[_0x449813(0x41c)](_0x1d4e08['HTTPService'])),_0x27de08(0x2,_0x4921b5[_0x449813(0x2f5)]),_0x27de08(0x3,_0x4921b5[_0x449813(0x2ee)]),_0x27de08(0x4,_0x1a4d3b[_0x449813(0x465)])],_0x11d7a5[_0x449813(0x208)]);var _0xde315c=(_0xb75d82=>(_0xb75d82[_0xb75d82[_0x449813(0x248)]=0x0]='UNDEFINED',_0xb75d82[_0xb75d82['OK']=0x1]='OK',_0xb75d82[_0xb75d82[_0x449813(0x2c0)]=0x2]='INTERNAL_ERROR',_0xb75d82[_0xb75d82[_0x449813(0x3eb)]=0x3]='PERMISSION_DENIED',_0xb75d82[_0xb75d82['NOT_FOUND']=0x4]='NOT_FOUND',_0xb75d82[_0xb75d82['UNAUTHENTICATED']=0x5]=_0x449813(0x2a9),_0xb75d82[_0xb75d82[_0x449813(0x362)]=0x6]=_0x449813(0x362),_0xb75d82[_0xb75d82['INVALID_ARGUMENT']=0x7]=_0x449813(0x32f),_0xb75d82[_0xb75d82[_0x449813(0x342)]=0x8]='TOO_MANY_REQUESTS',_0xb75d82[_0xb75d82['COMPLETION_FINISHED']=0x9]=_0x449813(0x318),_0xb75d82[_0xb75d82[_0x449813(0x269)]=0xa]=_0x449813(0x269),_0xb75d82[_0xb75d82[_0x449813(0x1ef)]=0xb]=_0x449813(0x1ef),_0xb75d82[_0xb75d82[_0x449813(0x3f5)]=0xc]=_0x449813(0x3f5),_0xb75d82[_0xb75d82[_0x449813(0x392)]=0xd]=_0x449813(0x392),_0xb75d82[_0xb75d82['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x449813(0x2eb),_0xb75d82[_0xb75d82['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x449813(0x464),_0xb75d82[_0xb75d82[_0x449813(0x2a7)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xb75d82[_0xb75d82[_0x449813(0x2c5)]=0x1772]=_0x449813(0x2c5),_0xb75d82[_0xb75d82[_0x449813(0x39e)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xb75d82[_0xb75d82[_0x449813(0x1df)]=0x1b59]=_0x449813(0x1df),_0xb75d82[_0xb75d82[_0x449813(0x365)]=0x1b5a]=_0x449813(0x365),_0xb75d82[_0xb75d82[_0x449813(0x252)]=0x1b5b]=_0x449813(0x252),_0xb75d82[_0xb75d82[_0x449813(0x2f3)]=0x1b5c]=_0x449813(0x2f3),_0xb75d82[_0xb75d82[_0x449813(0x2bf)]=0x1b5d]=_0x449813(0x2bf),_0xb75d82[_0xb75d82['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xb75d82[_0xb75d82['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x449813(0x446),_0xb75d82[_0xb75d82[_0x449813(0x45e)]=0x232a]=_0x449813(0x45e),_0xb75d82[_0xb75d82['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x449813(0x260),_0xb75d82[_0xb75d82[_0x449813(0x27d)]=0x232c]=_0x449813(0x27d),_0xb75d82[_0xb75d82[_0x449813(0x20b)]=0x232d]=_0x449813(0x20b),_0xb75d82[_0xb75d82[_0x449813(0x21c)]=0x2711]=_0x449813(0x21c),_0xb75d82[_0xb75d82[_0x449813(0x209)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xb75d82[_0xb75d82['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x449813(0x273),_0xb75d82[_0xb75d82[_0x449813(0x3d8)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xb75d82[_0xb75d82[_0x449813(0x3b4)]=0x271a]=_0x449813(0x3b4),_0xb75d82[_0xb75d82[_0x449813(0x3c8)]=0x271b]=_0x449813(0x3c8),_0xb75d82[_0xb75d82[_0x449813(0x3c2)]=0x271c]=_0x449813(0x3c2),_0xb75d82[_0xb75d82[_0x449813(0x3a3)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xb75d82[_0xb75d82[_0x449813(0x414)]=0x271e]=_0x449813(0x414),_0xb75d82[_0xb75d82[_0x449813(0x42d)]=0x271f]=_0x449813(0x42d),_0xb75d82[_0xb75d82[_0x449813(0x350)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xb75d82[_0xb75d82[_0x449813(0x241)]=0x2af9]=_0x449813(0x241),_0xb75d82[_0xb75d82[_0x449813(0x3c4)]=0x2ee1]=_0x449813(0x3c4),_0xb75d82[_0xb75d82[_0x449813(0x3e0)]=0x2ee2]=_0x449813(0x3e0),_0xb75d82[_0xb75d82[_0x449813(0x2cf)]=0x2ee3]=_0x449813(0x2cf),_0xb75d82[_0xb75d82[_0x449813(0x20c)]=0x2ee4]=_0x449813(0x20c),_0xb75d82[_0xb75d82[_0x449813(0x323)]=0x2ee5]=_0x449813(0x323),_0xb75d82[_0xb75d82[_0x449813(0x43a)]=0x32c9]=_0x449813(0x43a),_0xb75d82[_0xb75d82[_0x449813(0x30a)]=0x32ca]=_0x449813(0x30a),_0xb75d82[_0xb75d82[_0x449813(0x2ed)]=0x32cb]=_0x449813(0x2ed),_0xb75d82[_0xb75d82[_0x449813(0x204)]=-0x1]=_0x449813(0x204),_0xb75d82))(_0xde315c||{}),_0x5de5b0=Object[_0x449813(0x29c)],_0x1834d9=(_0x303ccf,_0x167d05,_0x1706c4,_0x3e35f7)=>{const _0x4a9eda=_0x449813;for(var _0x3330c3=_0x3e35f7>0x1?void 0x0:_0x3e35f7?_0x5de5b0(_0x167d05,_0x1706c4):_0x167d05,_0x398bc4=_0x303ccf[_0x4a9eda(0x418)]-0x1,_0xedc880;_0x398bc4>=0x0;_0x398bc4--)(_0xedc880=_0x303ccf[_0x398bc4])&&(_0x3330c3=_0xedc880(_0x3330c3)||_0x3330c3);return _0x3330c3;},_0x24d00d=(_0x2423ee,_0xec2bb6)=>(_0x342169,_0x1bc94c)=>_0xec2bb6(_0x342169,_0x1bc94c,_0x2423ee);_0x11d7a5[_0x449813(0x38c)]=class extends _0x4921b5[_0x449813(0x292)]{constructor(_0x3df10f,_0x3ce29e,_0x389592){const _0x221dd5=_0x449813;super(),this[_0x221dd5(0x413)]=_0x3df10f,this[_0x221dd5(0x2fb)]=_0x3ce29e,this[_0x221dd5(0x2e5)]=_0x389592;}async['runOnServer'](_0x3eaa4f,_0x2745bf,_0xc9c0ca,..._0x5771e3){const _0x49a2da=_0x449813;var _0x5d57fe,_0x941a18,_0x197f38,_0x5a4de5;const _0x5c5c31=this['_instanceService'][_0x49a2da(0x27c)]();if(!_0x5c5c31)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x58ded0=((_0x5d57fe=this[_0x49a2da(0x2e5)][_0x49a2da(0x471)](_0x1c12f2['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5d57fe:_0x1c12f2[_0x49a2da(0x1f6)])+'/'+_0x3eaa4f+'/run/'+_0x2745bf,_0x10b113=new URL(window[_0x49a2da(0x345)][_0x49a2da(0x31b)]),_0x5b6f06={'scriptId':_0x3eaa4f,'runId':(_0x941a18=_0x10b113[_0x49a2da(0x3be)][_0x49a2da(0x2dd)](_0x49a2da(0x26f)))!=null?_0x941a18:'','function':_0x2745bf,'unitId':_0x5c5c31[_0x49a2da(0x2c6)](),'argsOfFunction':JSON[_0x49a2da(0x206)](_0x5771e3),'invokeId':(_0x197f38=_0xc9c0ca['invokeId'])!=null?_0x197f38:'','executionId':(_0x5a4de5=_0xc9c0ca[_0x49a2da(0x39c)])!=null?_0x5a4de5:''};try{const _0x15887c=await this[_0x49a2da(0x2fb)][_0x49a2da(0x272)](_0x58ded0,{'body':_0x5b6f06});return _0x15887c[_0x49a2da(0x435)][_0x49a2da(0x288)]&&_0x15887c[_0x49a2da(0x435)][_0x49a2da(0x288)][_0x49a2da(0x203)]!==_0xde315c['OK']?_0x49a2da(0x35f):_0x15887c[_0x49a2da(0x435)][_0x49a2da(0x236)];}catch{return _0x49a2da(0x35f);}}},_0x11d7a5['RemoteUniscriptService']=_0x1834d9([_0x24d00d(0x0,_0x4921b5[_0x449813(0x42b)]),_0x24d00d(0x1,_0x4921b5[_0x449813(0x41c)](_0x1d4e08['HTTPService'])),_0x24d00d(0x2,_0x4921b5[_0x449813(0x2f5)])],_0x11d7a5[_0x449813(0x38c)]);const _0x8b6028=0x7530,_0x45f572=_0x449813(0x3b0);class _0x4ad09d extends _0x4921b5['Disposable']{constructor(){const _0x59c1fb=_0x449813;super(),_0x8d7f57(this,'_id',_0x4921b5[_0x59c1fb(0x420)]()),_0x8d7f57(this,_0x59c1fb(0x470),new Set()),_0x8d7f57(this,_0x59c1fb(0x333),new Map()),_0x8d7f57(this,'_heartbeatTimer',null),_0x8d7f57(this,_0x59c1fb(0x243),new Map()),_0x8d7f57(this,_0x59c1fb(0x328),new Map()),this[_0x59c1fb(0x2c7)]();}[_0x449813(0x2ec)](){const _0x1a5f9e=_0x449813;super['dispose'](),this[_0x1a5f9e(0x243)][_0x1a5f9e(0x28b)]((_0x826794,_0x4f0b67)=>this['_removeClearOtherTimer'](_0x4f0b67)),this[_0x1a5f9e(0x2e7)]&&window[_0x1a5f9e(0x476)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x1d7210){const _0x122bed=_0x449813;return this[_0x122bed(0x1fc)](_0x1d7210)[_0x122bed(0x35e)](_0x66da6e[_0x122bed(0x2f1)]());}['editingUnit'](_0x5e4eff){const _0x1ef5c9=_0x449813;this[_0x1ef5c9(0x470)][_0x1ef5c9(0x397)]===0x0&&this[_0x1ef5c9(0x22d)](),this[_0x1ef5c9(0x470)][_0x1ef5c9(0x44f)](_0x5e4eff),this[_0x1ef5c9(0x221)]({'type':0x0,'memberID':this[_0x1ef5c9(0x22e)],'unitIDs':[_0x5e4eff],'isForwarded':!0x1});}['disposeUnit'](_0x424438){const _0x11f150=_0x449813;this[_0x11f150(0x470)][_0x11f150(0x474)](_0x424438),this['_selfUnitIDs'][_0x11f150(0x397)]===0x0&&this[_0x11f150(0x2e7)]&&window['clearInterval'](this[_0x11f150(0x2e7)]);}[_0x449813(0x2c7)](){const _0x37fbfc=_0x449813;this['disposeWithMe'](_0x4921b5[_0x37fbfc(0x2ad)](_0x66da6e[_0x37fbfc(0x1e5)](window,'storage')['subscribe'](_0x29e944=>{const _0x2fe05d=_0x37fbfc;if(_0x29e944[_0x2fe05d(0x337)]!==_0x45f572||!_0x29e944[_0x2fe05d(0x291)])return;const _0x232d32=JSON[_0x2fe05d(0x239)](_0x29e944['newValue']);this[_0x2fe05d(0x3bc)](_0x232d32);}))),window[_0x37fbfc(0x23e)](_0x37fbfc(0x445),()=>this['_send']({'type':0x1,'memberID':this[_0x37fbfc(0x22e)],'unitIDs':Array['from'](this[_0x37fbfc(0x470)])}));}[_0x449813(0x3bc)](_0x5c75b4){const _0x307868=_0x449813;switch(_0x5c75b4[_0x307868(0x426)]){case 0x0:this[_0x307868(0x3d1)](_0x5c75b4);break;case 0x1:this[_0x307868(0x32b)](_0x5c75b4);break;case 0x2:this[_0x307868(0x23f)](_0x5c75b4);break;}}[_0x449813(0x3d1)](_0x42ce17){const _0x1bfa4b=_0x449813,{unitIDs:_0x1b69b8,memberID:_0x2dc394,isForwarded:_0x2c3885}=_0x42ce17;_0x1b69b8['forEach'](_0x4c971f=>{const _0x1055c=_0x4bb6;if(!_0x2c3885&&this[_0x1055c(0x333)][_0x1055c(0x3fc)](_0x4c971f)&&this['_ensureSubject'](_0x4c971f)[_0x1055c(0x2fd)](_0x1c12f2[_0x1055c(0x453)][_0x1055c(0x329)]),!this[_0x1055c(0x333)]['has'](_0x4c971f)||!this[_0x1055c(0x333)]['get'](_0x4c971f)['has'](_0x2dc394)){const _0x7d78d5=this[_0x1055c(0x333)][_0x1055c(0x2dd)](_0x4c971f)||new Set();_0x7d78d5['add'](_0x2dc394),this['_unitOnClients']['set'](_0x4c971f,_0x7d78d5),this['_scheduleClearOtherTimer'](_0x2dc394);}}),_0x2c3885||this[_0x1bfa4b(0x221)]({'type':0x0,'memberID':this[_0x1bfa4b(0x22e)],'unitIDs':[...this[_0x1bfa4b(0x470)]],'isForwarded':!0x0});}[_0x449813(0x2d8)](_0x4f2867){const _0x4c9746=_0x449813;this[_0x4c9746(0x380)](_0x4f2867);const _0x262bbf=window[_0x4c9746(0x41e)](()=>{const _0x44b82a=_0x4c9746;this['_unitOnClients'][_0x44b82a(0x28b)](_0x2a7ae5=>{const _0x4fcd32=_0x44b82a;_0x2a7ae5[_0x4fcd32(0x474)](_0x4f2867);});},_0x8b6028*0x2);this['_clearOtherTimers'][_0x4c9746(0x2a1)](_0x4f2867,_0x262bbf);}[_0x449813(0x380)](_0x3e4e14){const _0x49c64b=_0x449813;if(this['_clearOtherTimers']['has'](_0x3e4e14)){const _0x108856=this[_0x49c64b(0x243)]['get'](_0x3e4e14);_0x108856&&window[_0x49c64b(0x2ba)](_0x108856),this['_clearOtherTimers']['set'](_0x3e4e14,null);}}[_0x449813(0x32b)](_0x1041ce){const _0x48a93e=_0x449813,{memberID:_0x33dedc,unitIDs:_0x47bcee}=_0x1041ce;_0x47bcee[_0x48a93e(0x28b)](_0x411006=>{const _0x3ee50f=_0x48a93e;var _0x31f731;const _0x2657d0=this[_0x3ee50f(0x333)][_0x3ee50f(0x2dd)](_0x411006);_0x2657d0&&(_0x2657d0[_0x3ee50f(0x474)](_0x33dedc),(_0x31f731=this[_0x3ee50f(0x1fc)](_0x411006))==null||_0x31f731['next'](_0x2657d0[_0x3ee50f(0x397)]===0x0?_0x1c12f2[_0x3ee50f(0x453)][_0x3ee50f(0x2b6)]:_0x1c12f2[_0x3ee50f(0x453)][_0x3ee50f(0x329)]));}),this['_removeClearOtherTimer'](_0x33dedc);}[_0x449813(0x23f)](_0x5d6ec8){this['_scheduleClearOtherTimer'](_0x5d6ec8['memberID']);}[_0x449813(0x221)](_0x1c1652){const _0x358202=_0x449813;localStorage[_0x358202(0x2b2)](_0x45f572,JSON['stringify'](_0x1c1652));}[_0x449813(0x22d)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x7b8fe9=_0x4bb6;this[_0x7b8fe9(0x221)]({'type':0x2,'memberID':this['_id']});},_0x8b6028);}[_0x449813(0x1fc)](_0xc3efb7){const _0x236e48=_0x449813;return this[_0x236e48(0x328)][_0x236e48(0x3fc)](_0xc3efb7)||this['_unitStatus'][_0x236e48(0x2a1)](_0xc3efb7,new _0x66da6e['BehaviorSubject'](_0x1c12f2[_0x236e48(0x453)][_0x236e48(0x2b6)])),this[_0x236e48(0x328)][_0x236e48(0x2dd)](_0xc3efb7);}}_0x11d7a5[_0x449813(0x245)]=_0x475a16,_0x11d7a5['SheetCollabCursorShape']=_0x1a0019,_0x11d7a5['WebBrowserSingleActiveUnitService']=_0x4ad09d,_0x11d7a5['WebURLService']=_0x589d2e,Object['defineProperty'](_0x11d7a5,Symbol[_0x449813(0x3f8)],{'value':_0x449813(0x463)});}));function _0x4bb6(_0x52253a,_0x1a013c){const _0x27fad7=_0x27fa();return _0x4bb6=function(_0x4bb649,_0x3d3254){_0x4bb649=_0x4bb649-0x1d8;let _0xcffcc0=_0x27fad7[_0x4bb649];return _0xcffcc0;},_0x4bb6(_0x52253a,_0x1a013c);}function _0x27fa(){const _0x3cfac6=['show','_imageIoService','syncEditingCollabCursor','SetTextSelectionsOperation','SHEET_VIEWPORT_KEY','InsertRowCommandId','current','_scheduleClearOtherTimer','jsx','UniverProCollaborationClient','_localeService','getUniverSheetInstance','get','some','all','actions','onStarting','IRenderManagerService','currentTheme$','getAncestorScale','_configService','_initEntityListener','_heartbeatTimer','forwardRef','getCoordByCell','_setupSubUnitSync','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','dispose','EMAIL_HAS_BEEN_BOUND','ILogService','SYNCED','endColumn','distinctUntilChanged','_labelPosition','APPLY_PERMISSION_DENIED','_uiPartsService','IConfigService','_updateLocalCursor','red.300','transformRemoteChangeset','FromArray','_revisionService','_httpService','IUIPartsService','next','748rIKzHG','NodePositionConvertToRectRange','DocStateChangeManagerService','handleInsertCol','UniverEngineFormula','UniverDesign','DocSkeletonManagerService','replace','_entities','getColor','enableLocalCache','colorChannel1','MOBILE_HAS_BEEN_BOUND','#FFF','unsubscribe','whenReady','_backgroundColor','_saveTaskMap','ITransformService','_initStatusComponent','_session','_docStateChangeManagerService','_range','clsx','skeleton','_themeService','COMPLETION_FINISHED','subUnitId','yellow.400','href','round','text','name','_drawRectRange','range','univerjs-icon\x20univerjs-icon-','_docTransformStateCacheService','INVITE_CODE_ALREADY_BOUND','@univerjs/docs','0\x200\x2017\x2016','getSkeleton','_collaborationUIEventService','_unitStatus','OTHER_CLIENTS_EDITING','_startSheetCollabCursor','_handleLeaveEvent','DataLoaderService','USERS_LEAVE','getCellPositionByOffset','INVALID_ARGUMENT','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getSessionTicket','setActiveRange','_unitOnClients','Optional','_syncEditingCollabCursorService','SetDocZoomRatioOperation','key','RichTextEditingMutation','executeCommand','bottom','onPointerEnter$','reconnect','map','MUTATION','find','debug','_getMergeRange','TOO_MANY_REQUESTS','_cursorInfo$','save','location','override','_disabled','transformMutationsWithChangeset','_removeCollabCursors','getCurrent','useObservable','event$','on-line-icon','fillRule','takeUntil','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverInstanceType','DocCollaborationEntity','11078796ODSnNy','path','loadUnit','ILocalStorageService','[CollaborationDataLoaderController]','exhaustSavingTask','_colorIndex','ICommandService','registerBeforeClose','UniverCollaborationClientUIPlugin','startColumn','pipe','Failed','switchMap','prototype','ALREADY_EXISTS','getCurrentRevOfUnit','_handleHover','APPLY_NON_SEQUENTIAL_REVISION','MemberService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getMergeData','_transformPreviousActiveRange','_cursors','_toggleOnline','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','toString','xlink:href','lineTo','roomMembers$','_lastPointer','getParam','fill','InsertColCommandId','CollaborationStatus','UniverProCollaborationClientUi','_assignedColors','SOCKET_FAILED_RETRY','selection','asObservable','random','idSuffix','assign','exports','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','_removeClearOtherTimer','OFFLINE','function','InsertRangeMoveDownCommandId','UniverDocs','indexOf','EffectRefRangId','transformByState','defineProperty','sessionStatus$','getCollabCursors$','call','RemoteUniscriptService','UniverUi','subscribeEvent','engine','search','getLocalCacheKey','EMAIL_VERIFY_CODE_MISMATCH','getVpScrollXYInfoByPosToVp','defIds','getRangePointData','object','size','_shapes','http://www.w3.org/2000/svg','CommandType','collabStatus.conflict','executionId','_cachedData','ENSURE_SNAPSHOT_EXECUTION','_context','CollaborationUIEventId','isActive','from','YUUMI_ALL_TABLES_IS_INVALID','_localCacheService','_color','_univerInstanceService','_docClipboardService','translate(.97)','none','font','deserializeRangeWithSheet','debounce','AWAITING_WITH_PENDING','startRow','_renderManagerService','ACTIVE_UNIT_EVENT_CHANNEL','ranges','_eventUnsubscribe','1em','YUUMI_NO_CUBOID_FOR_QUESTION','Subject','getTypeOfUnitDisposed$','CollaborationEvent','_onRefRangeChange','getCurrentUnitForType','Shape','_messageService','_handleEvent','getDocRanges','searchParams','redoState','SOCKET_FAILED','_transformUndoRedoStack','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/engine-render','INVITE_CODE_HAS_BEEN_UES','sheetId','saveOfflineData','includes','YUUMI_ASYNCIO_CANCELLED','green.600','_updateSubUnitFromURLParams','use','RemoveRowCommandId','handleMoveRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','off-line-icon','_initCommandExecutedListener','_handleJoinEvent','react','IRemoteInstanceService','send','touchDependencies','arc','getColorFromTheme','YUUMI_SUBSCRIPTION_NOT_FOUND','white','black','getRenderById','eventID','_colorAssignService','onLocalMutation','_sheetSkeletonManagerService','INVALID_INVITE_CODE','registerRefRange','_getSheetObject','collaboration-client.offline-data-not-saved','session.collaboration-timeout','mutations','getOffsetConfig','CLOSE_ROOM','@univerjs-pro/collaboration-client','off-line-icon_clip0_910_343','div','PERMISSION_DENIED','0\x200\x2016\x2016','useDependency','COLORS','then','SessionStatus','INotificationService','icon','mapTo','toRgbString','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addClipboardHook','_logService','toStringTag','_urlService','handleInsertRangeMoveDown','IMessageService','has','_collabCursorController','children','MoveRangeCommandId','trim','filter','_anchorDot','handleInsertRangeMoveRight','_initEvent','source','_roomMembers$','transformIMECache','CollaborationDataLoaderController','SheetsSelectionsService','split','AWAITING','UniverProCollaboration','Unknown\x20user','ColorKit','sheetID','createSocket','defs','handleIRemoveCol','_instanceService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','string','_docTransformIMECacheService','pluginName','length','_docTransformSelectionsService','isTransformMutationFailure','_doCreateSocket','Inject','dispose$','setTimeout','1017JTYMxK','generateRandomId','RevisionService','getTypeOfUnitAdded$','_beforeCloseService','_name','_docSyncEditingCollabCursorService','type','_refreshCollabCursors','91857OHzMwJ','collaboration-client-ui.config','UniverSheets','IUniverInstanceService','jsxs','YUUMI_AI_RUN_FAILED','6lVQXRb','contains','_updateCollabCursors','connectInjector','_registerDependencies','_getScale','entityInit$','body','collabStatus.notCollab','drawWith','selections','doc.mutation.rich-text-editing','WECHAT_HAS_BEEN_BOUND','_hideTimer','setAlpha','M0\x200H16V16H0z','@univerjs/core','_dataLoaderService','_collabCursorState$','ticket','RxDisposable','_hovered','TEXT_RANGE_LAYER_INDEX','unload','LICENSE_MAX_UNITS_EXCEEDED','Plugin','univer-mr-2\x20univer-flex\x20univer-text-xl','@univerjs/docs-ui','debounceTime','_collaborationController','restore','NodePositionConvertToCursor','DEFAULT_WS_SESSION_TICKET_URL','add','onPointerMove$','105016kapljQ','requireSession','UnitStatus','transformMutation','concat','min','on-line-icon_clip0_910_349','useRef','fillText','getSheetId','evenodd','saveTaskMap','endRow','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','url(#$1','combineLatest','_config','Module','CHANGESET_REVISION_CONFILICT','ISnapshotServerService','@univerjs/sheets-ui','url(#off-line-icon_clip0_910_343)','RegularPolygon','blue.400','registerRenderModule','LocaleService','onCommandExecuted','UPDATE_CURSOR','_cursor','Error','_selfUnitIDs','getConfig','getActiveSheet','complete','delete','resize','clearInterval','8688939ptPjtz','collab-client.tooltip.reconnect','serializeRangeWithSheet','isArray','symbol','addObjects','_textBubble','BuiltInUIPart','...','ISocketService','APPLY_REJECT','SetWorksheetActivateCommand','UniverDocsUi','createIdentifier','_render','_scheduleSaving','fromEvent','collabStatus.offline','className','data','univer-flex\x20univer-items-center','values','triggerDblclick','getMemberID','hovered','UniverRpc','MOBILE_VERIFY_CODE_MISMATCH','_localStorageService','transform','SheetSkeletonManagerService','getViewport','setShapeProps','transformStateCache','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','measureText','fromEventSubject','_drawAnchor','_toggleOffline','updateOfflineData','_ensureSubject','2600kHUfeJ','subscribe','IDocClipboardService','attrs','deepClone','_entityInit$','code','UNRECOGNIZED','unshift','stringify','getStateCache','BrowserCollaborationSocketService','YUUMI_URL_COL_OUT_OF_RANGE','displayName','LICENSE_DISTRO_REJECTED','USER_NOT_INVITED_CODE','getMember','createInstance','assignAColorForMemberID','collab-text-range-','_anchor','merge','tag','UniverSheetsUi','_status$','_transformService','829dffBCl','hasOwnProperty','_docSkeletonManagerService','CollaborationController','roomMembers','YUUMI_UNABLE_LOAD_URL','urlChange$','replaceState','pushState','cursorInfo','_send','substring','useCallback','CONFLICT','@univerjs/ui','addObject','activeSheet$','rxjs','_scene','apply','transformSelections','mask','_scheduleHeartbeat','_id','origin','currentColor','getCurrentSelections','100xaOKiS','subunit','closePath','_cursorShapes','result','init','_startDocCollabCursor','parse','hide','VIEW_MAIN','m1Prime','_notificationService','addEventListener','_handleHeartbeatEvent','ILocalCacheService','PY_RUNTIME_SCRIPT_ERROR','@univerjs/drawing','_clearOtherTimers','_saveCache','IURLService','undoState','imageSourceType','UNDEFINED','_getAnchorBounding','findNodePositionByCharIndex','getOwnPropertySymbols','Injector','_updateURLWithCurrentState','_setupBeforeClosingHandler','m2Prime','RefRangeService','focused$','APPLY_REVISION_CONFILICT','_online','_registerRenderDependencies','shareReplay','Vector2','_onCursorDelete','column','getSheetObject','replaceDocRanges','loadOfflineData','disposeWithMe','Tools','ThemeService','RECT','LICENSE_IMPORT_SIZE_EXCEEDED','UniverNetwork','UNIVER_SHEET','_hover','max','getCollabEntity$','IBeforeCloseService','76538bglnXy','params','LOGIN_FAILED','CollaborationUIEventService','jiqing.500','DocIMEInputManagerService','collaboration.closeRoom','popstate','runId','PENDING','collab-text-anchor-','post','YUUMI_RATE_OVER_LIMIT','isEditing','Rect','collabCursorState$','_onCursorUpdate','setConfig','clipPath','height','TEXT','getFocusedUnit','LICENSE_EXPORT_SIZE_EXCEEDED','with','_injector','status$','_createSocketURL','svg','isTransformMutationsWithChangesetSuccess','UniverDrawing','DOC_RANGE_TYPE','row','unit','error','createElement','collabStatus.fetchMiss','forEach','ONLINE','cursorInfo$','onMouseMove','Workbook','DocSelectionManagerService','newValue','Disposable','_memberService','session.will-retry','handleInsertRow','beginPath','onRendered','@univerjs/network','UNIVER_DOC','NOT_COLLAB','getUnhiddenWorksheets','getOwnPropertyDescriptor','856855LJEHiz','OffLineIcon','_refRangeService','_commandService','set','unitId','push','IImageIoService','removeParam','top','SNAPSHOT_INVALID_SNAPSHOT','history','UNAUTHENTICATED','uni.network.url-service','_initResize','MessageType','toDisposable','BehaviorSubject','sessionTicket','width','Warning','setItem','unitID','getValue','JOIN_ROOM_FAILED','NO_OTHER_CLIENTS_EDITING','makeDirty','purple.300','permission.title','clearTimeout','InsertRangeMoveRightCommandId','@univerjs/design','getSheetBySheetId','_drawTextRange','APPLY_DUPLICATED','INTERNAL_ERROR','color','_initDependencies','collabStatus.syncing','setParam','SNAPSHOT_HAS_BEEN_REMOVED','getUnitId','_init','_collabSessionService','_getSaveTimeout','setStateCache','DesktopCollaborationStatusDisplayController','React','mergeOverrideWithDependencies','textRanges','INVITE_CODE_REQUIRED','entries'];_0x27fa=function(){return _0x3cfac6;};return _0x27fa();}
|
|
1
|
+
function _0x19a4(_0x5b4c8a,_0x3888fc){const _0x46de52=_0x46de();return _0x19a4=function(_0x19a40b,_0x1166e0){_0x19a40b=_0x19a40b-0x19b;let _0x519e51=_0x46de52[_0x19a40b];return _0x519e51;},_0x19a4(_0x5b4c8a,_0x3888fc);}function _0x46de(){const _0x41ed4a=['collaboration.closeRoom','body','then','Tooltip','_drawTextRange','className','_config','sessionTicket','none','_collabSessionService','collabStatus.notCollab','@univerjs/docs','getRangePointData','pluginName','RegularPolygon','@univerjs/ui','focused$','Shape','location','PY_RUNTIME_SCRIPT_ERROR','_disabled','idSuffix','getSheetBySheetId','parse','addHandlerCallback','collabStatus.conflict','roomMembers','TEXT_RANGE_LAYER_INDEX','_selfUnitIDs','DocIMEInputManagerService','column','_configService','post','fromEvent','DocCollaborationEntity','getCurrentSelections','handleIRemoveRow','saveTaskMap','YUUMI_ASYNCIO_CANCELLED','_assignedColors','_document','some','popstate','_docStateChangeManagerService','UNIVER_SHEET','_labelPosition','jsxs','unload','RemoteUniscriptService','range','Vector2','roomMembers$','getParam','_session','_getSheetObject','_themeService','object','_heartbeatTimer','ILogService','save','_range','univerjs-icon\x20univerjs-icon-','LICENSE_IMPORT_SIZE_EXCEEDED','currentTheme$','@univerjs/core','YUUMI_ALL_TABLES_IS_INVALID','round','mask','RemoveColCommandId','yellow.400','_getScale','xlink:href','_cachedData','FromArray','getOwnPropertyDescriptor','color','getCellPositionByOffset','currentColor','/run/','MUTATION','0\x200\x2016\x2016','useCallback','handleMoveRange','_color','switchMap','_docTransformIMECacheService','842240JBMrrM','@univerjs/network','isArray','_cursorInfo$','hasOwnProperty','selection','INVALID_ARGUMENT','NOT_COLLAB','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','registerRenderModule','CHANGESET_REVISION_CONFILICT','_unitStatus','getStateCache','defs','Optional','_scheduleHeartbeat','_status$','set','IConfigService','44430YILYuO','isTransformMutationsWithChangesetSuccess','loadOfflineData','white','transformStateCache','_name','Disposable','runOnServer','_removeClearOtherTimer','USER_NOT_INVITED_CODE','IRemoteInstanceService','UniverEngineRender','CollaborationDataLoaderController','show','_univerInstanceService','_ensureSubject','clearTimeout','subunit','SNAPSHOT_HAS_BEEN_REMOVED','searchParams','shareReplay','_registerDependencies','_collabCursorState$','getOwnPropertySymbols','takeUntil','SHEET_VIEWPORT_KEY','UniverCollaborationClientUIPlugin','_toggleOffline','DocStateChangeManagerService','React','SOCKET_FAILED_RETRY','OffLineIcon','_collabCursorController','_initEntityListener','_updateSubUnitFromURLParams','editingUnit','APPLY_REVISION_CONFILICT','CLOSE_ROOM','_scene','ticket','replaceDocRanges','react','ILocalStorageService','pipe','getTypeOfUnitAdded$','invokeId','@univerjs-pro/collaboration','clearInterval','BehaviorSubject','replaceState','INVALID_INVITE_CODE','contains','NOT_FOUND','executionId','_scheduleSaving','_getMergeRange','dispose$','_textBubble','measureText','actions','LOCAL_CACHE_INTERVAL','code','_saveTaskMap','toString','onTransformChange$','session.connection-failed','has','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','endRow','CollaborationUIEventId','whenReady','UnitStatus','doc.mutation.rich-text-editing','@univerjs/engine-render','LocaleService','RxDisposable','_syncEditingCollabCursorService','url(#$1','APPLY_DUPLICATED','_hideTimer','_initDependencies','#FFF','prototype','jsx','_backgroundColor','UniverSheetsUi','_toggleOnline','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/engine-formula','28gYlEkb','_hover','_transformUndoRedoStack','SheetsSelectionsService','_initStatusComponent','DesktopCollaborationStatusDisplayController','_colorAssignService','ENSURE_SNAPSHOT_EXECUTION','all','combineLatest','_removeCollabCursors','getUniverSheetInstance','UniverDocs','on-line-icon_clip0_910_349','getSheetId','transformSelections','YUUMI_RATE_OVER_LIMIT','_roomMembers$','useDependency','CollaborationSocketService','69fOkJYn','_shapes','subscribeEvent','serializeRangeWithSheet','call','indexOf','toRgbString','forEach','_beforeCloseService','getCurrentRevOfUnit','eventID','Rect','Failed','http://www.w3.org/2000/svg','react/jsx-runtime','@univerjs/docs-ui','_refreshCollabCursors','handleDeleteRangeMoveLeft','permission.content','SetWorksheetActivateCommand','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exhaustSavingTask','UniverDesign','_logService','SYNCED','_commandService','concat','trim','collaboration-client.offline-data-not-saved','function','DependentOn','push','_handleLeaveEvent','debounceTime','send','operators','session.will-retry','IRenderManagerService','handleDeleteRangeMoveUp','149848qCVCzk','TOO_MANY_REQUESTS','getColor','restore','unshift','_docTransformStateCacheService','search','registerDependencies','IImageIoService','get','_collaborationUIEventService','_imageIoService','_messageService','_anchorDot','pushState','getVpScrollXYInfoByPosToVp','assignAColorForMemberID','sheetId','activeSheet$','distinctUntilChanged','_startDocCollabCursor','event$','getUnitId','RECT','collabStatus.offline','off-line-icon_clip0_910_343','COLORS','MoveRangeCommandId','values','lineTo','sessionStatus$','CollaborationStatus','addClipboardHook','runId','_getSaveTimeout','_entityInit$','transformByState','sheetID','DataLoaderService','_cursor','Plugin','MemberService','uni.network.url-service','getOffsetConfig','@univerjs/drawing','fillStyle','EMAIL_HAS_BEEN_BOUND','transformMutation','isTransformMutationFailure','YUUMI_CONNECTOR_URL_NOT_FOUND','filter','min','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCurrentUnitForType','150402PDnDIn','startColumn','generateRandomId','SUBMIT_CHANGESET_TIMEOUT','removeParam','red.300','_onRefRangeChange','includes','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','debounce','asObservable','collabStatus.syncing','_renderManagerService','resize','endColumn','_init','HEADER_MENU','registerRefRange','setShapeProps','attrs','ISocketService','getAncestorScale','addObject','MessageType','createIdentifier','UniverCore','Unknown\x20user','VIEW_MAIN','_scheduleClearOtherTimer','DOC_RANGE_TYPE','defIds','Workbook','Module','InsertRangeMoveRightCommandId','width','SetTextSelectionsOperation','ColorKit','_drawAnchor','getMergeData','updateOfflineData','IUIPartsService','Tools','OFFLINE','@univerjs/sheets','_setupSubUnitSync','_memberService','Inject','setStateCache','deepClone','getActiveSheet','name','_docClipboardService','ONLINE','next','setAlpha','ISnapshotServerService','green.600','_registerRenderDependencies','_context','skeleton','syncEditingCollabCursor','LICENSE_DISTRO_REJECTED','AWAITING_WITH_PENDING','split','_handleHeartbeatEvent','clipPath','dispose','string','closePath','ThemeService','YUUMI_SUBSCRIPTION_NOT_FOUND','executeCommand','isActive','_transformPreviousActiveRange','_eventUnsubscribe','_initCommandExecutedListener','getColorFromTheme','INTERNAL_ERROR','USERS_LEAVE','SOCKET_FAILED','Rectangle','fillText','subUnitId','UPDATE_CURSOR','_initStatusListener','WebBrowserSingleActiveUnitService','getCollabEntity$','urlChange$','univer-flex\x20univer-items-center','init','Injector','transformMutationsWithChangeset','delete','PERMISSION_DENIED','setItem','_handleHover','BuiltInUIPart','assign','storage','merge','2596797wdIAtq','MOBILE_HAS_BEEN_BOUND','useObservable','BrowserCollaborationSocketService','univer-mr-2\x20univer-flex\x20univer-text-xl','0\x200\x2017\x2016','override','_uiPartsService','LOCAL_CACHE_INTERVAL_KEY','IURLService','_getSessionTicket','mapTo','throttleTime','setUndoRedoMutationParamsCache','newValue','M0\x200H16V16H0z','type','MOBILE_VERIFY_CODE_MISMATCH','getRenderById','OTHER_CLIENT_EDITING','_unitOnClients','ranges','_collaborationController','hide','_localStorageService','error','startsWith','children','debug','_refRangeService','APPLY_REJECT','drawWith','ALREADY_EXISTS','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformService','_notificationService','_onCursorDelete','_localeService','InsertRangeMoveDownCommandId','EffectRefRangId','LICENSE_MAX_UNITS_EXCEEDED','getCollabCursors$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setParam','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','icon','colorChannel1','params','with','div','SetDocZoomRatioOperation','exports','13854ObnzOw','onPointerLeave$','_startSheetCollabCursor','random','getUnitStatus$','rxjs','clsx','UNRECOGNIZED','unitId','INVITE_CODE_REQUIRED','_doCreateSocket','getUndoRedoMutationParamsCache','from','_handleEvent','DeleteRangeMoveUpCommandId','handleInsertRangeMoveRight','disposeWithMe','IMessageService','_updateURLWithCurrentState','_docSyncEditingCollabCursorService','getCoordByCell','currentSkeleton$','saveOfflineData','1em','labelPosition','imageSourceType','_initResize','m1Prime','data','_drawRectRange','_injector','symbol','toDisposable','_handleJoinEvent','text','cursorInfo$','_send','createInstance','createSocket','UniverInstanceType','DeleteRangeMoveLeftCommandId','unitID','unit','_entities','createElement','UniverDocsUi','YUUMI_AI_RUN_FAILED','collab-text-anchor-','Error','triggerDblclick','setTimeout','forwardRef','getFocusedUnit','top','onStarting','UniverRpc','arc','add','InsertRowCommandId','on-line-icon','displayName','rgba(255,\x20255,\x20255,\x200.01)','ILocalCacheService','CONFLICT','UniverProCollaborationClient','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','ITransformService','YUUMI_UNABLE_LOAD_URL','_dataLoaderService','getConfig','size','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_PERMISSION_DENIED','APPLY_NON_SEQUENTIAL_REVISION','replace','CollaborationUIEventService','_docTransformSelectionsService','collab-rect-range-','RichTextEditingMutation','height','addEventListener','touchDependencies','_instanceService','_clearOtherTimers','YUUMI_URL_COL_OUT_OF_RANGE','_getAnchorBounding','_online','runRefRangeMutations','findNodePositionByCharIndex','engine','IDocClipboardService','amd','getDocRanges','stringify','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','UniverSheets','_transformHistoryAndStateStack','_createSocketURL','map','toStringTag','mergeOverrideWithDependencies','redoState','setInterval','black','CONNECTOR_DATA_TOO_LARGE','fill','docStateChange$','bottom','_anchor','WECHAT_HAS_BEEN_BOUND','path','UniverNetwork','_draw','history','memberID','_lastPointer','_id','48zaCbtP','tag','getActiveRange','use','purple.300','getTypeOfUnitDisposed$','_httpService','svg','LICENSE_EXPORT_SIZE_EXCEEDED','hovered','UniverProCollaborationClientUi','LOGIN_FAILED','RevisionService','handleInsertRangeMoveDown','COMPLETION_FINISHED','CollaborationController','INVITE_CODE_HAS_BEEN_UES','getValue','onPointerEnter$','Warning','IUniverInstanceService','cursorInfo','DocSelectionManagerService','_docSkeletonManagerService','length','HTTPService','mutations','_cursors','wsSessionTicketUrl','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','complete','getLocalCacheKey','handleInsertRow','_saveCache','evenodd','INotificationService','IBeforeCloseService','onMouseMove','@univerjs/design','UNDEFINED','...','registerComponent','getUnhiddenWorksheets','find','jiqing.500','transformRemoteChangeset','CommandType','_urlService','_updateLocalCursor','SNAPSHOT_INVALID_SNAPSHOT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','WebSocketService','collabCursorState$','onCommandExecuted','saveImage','flatMap','_hovered','defineProperty','_colorIndex','TEXT','_onCursorUpdate','collaboration-client-ui.config','NO_OTHER_CLIENTS_EDITING','SessionStatus','deserializeRangeWithSheet','collabStatus.fetchMiss','_updateCollabCursors','collabStatus.synced','transformIMECache','ICommandService','entries','UNIVER_DOC','Subject','SheetSkeletonManagerService','UniverDrawing','_cursorShapes','_render','171325gJbufW','UNAUTHENTICATED','INVITE_CODE_ALREADY_BOUND','_localCacheService','_setupBeforeClosingHandler','_sheetSkeletonManagerService','extend','handleInsertCol','getSkeleton','subscribe','row','href','CollaborationEvent','getMemberID','m2Prime','UniverCollaborationClientPlugin','UniverProCollaboration'];_0x46de=function(){return _0x41ed4a;};return _0x46de();}(function(_0x2cfb75,_0xc5c33e){const _0x53bbd5=_0x19a4,_0x280303=_0x2cfb75();while(!![]){try{const _0x12b69f=parseInt(_0x53bbd5(0x261))/0x1+parseInt(_0x53bbd5(0x19f))/0x2*(-parseInt(_0x53bbd5(0x348))/0x3)+-parseInt(_0x53bbd5(0x214))/0x4*(parseInt(_0x53bbd5(0x2db))/0x5)+parseInt(_0x53bbd5(0x3a6))/0x6*(parseInt(_0x53bbd5(0x334))/0x7)+-parseInt(_0x53bbd5(0x36f))/0x8+parseInt(_0x53bbd5(0x40a))/0x9+-parseInt(_0x53bbd5(0x2c8))/0xa;if(_0x12b69f===_0xc5c33e)break;else _0x280303['push'](_0x280303['shift']());}catch(_0x2c1ec8){_0x280303['push'](_0x280303['shift']());}}}(_0x46de,0x2eaf2),function(_0x3733ea,_0x4afef7){const _0x4bab13=_0x19a4;typeof exports==_0x4bab13(0x2aa)&&typeof module<'u'?_0x4afef7(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x4bab13(0x365)&&define[_0x4bab13(0x1fa)]?define([_0x4bab13(0x19e),_0x4bab13(0x356),'@univerjs-pro/collaboration-client',_0x4bab13(0x2b2),_0x4bab13(0x281),_0x4bab13(0x1a4),_0x4bab13(0x23a),_0x4bab13(0x304),'@univerjs/rpc',_0x4bab13(0x3d1),_0x4bab13(0x324),_0x4bab13(0x2c9),_0x4bab13(0x357),_0x4bab13(0x39b),_0x4bab13(0x309),_0x4bab13(0x27d),_0x4bab13(0x333),'rxjs/operators','@univerjs/sheets-ui'],_0x4afef7):(_0x3733ea=typeof globalThis<'u'?globalThis:_0x3733ea||self,_0x4afef7(_0x3733ea[_0x4bab13(0x21e)]={},_0x3733ea[_0x4bab13(0x2f8)],_0x3733ea[_0x4bab13(0x1df)],_0x3733ea[_0x4bab13(0x3bf)],_0x3733ea['UniverUi'],_0x3733ea[_0x4bab13(0x1a4)],_0x3733ea[_0x4bab13(0x35e)],_0x3733ea['React'],_0x3733ea[_0x4bab13(0x1d6)],_0x3733ea[_0x4bab13(0x1fe)],_0x3733ea[_0x4bab13(0x2e6)],_0x3733ea[_0x4bab13(0x20e)],_0x3733ea[_0x4bab13(0x1cc)],_0x3733ea[_0x4bab13(0x25e)],_0x3733ea[_0x4bab13(0x271)],_0x3733ea[_0x4bab13(0x340)],_0x3733ea['UniverEngineFormula'],_0x3733ea[_0x4bab13(0x1a4)][_0x4bab13(0x36b)],_0x3733ea[_0x4bab13(0x330)]));}(this,function(_0x9de135,_0x5dfb74,_0x3b3567,_0x2c2192,_0x214f56,_0x39a97e,_0x4f24da,_0x197005,_0x30a3e,_0x40b606,_0xeac254,_0x1f436f,_0x4e1317,_0x4251fe,_0x542b31,_0x28f6a3,_0x46218b,_0x5e9058,_0x5b36e4){'use strict';const _0x263a40=_0x19a4;var _0x4ff1f6=Object[_0x263a40(0x24d)],_0x7509f4=(_0x1b3401,_0x30586a,_0x722cf)=>_0x30586a in _0x1b3401?_0x4ff1f6(_0x1b3401,_0x30586a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x722cf}):_0x1b3401[_0x30586a]=_0x722cf,_0x193c38=(_0x3183dc,_0x3c3c7f,_0x3c8c30)=>_0x7509f4(_0x3183dc,typeof _0x3c3c7f!=_0x263a40(0x1be)?_0x3c3c7f+'':_0x3c3c7f,_0x3c8c30),_0x12749e=function(){const _0xa6c845=_0x263a40;return _0x12749e=Object[_0xa6c845(0x407)]||function(_0x532eaa){const _0x3ee8b1=_0xa6c845;for(var _0x463f3f,_0x5d3cff=0x1,_0x83f3ee=arguments[_0x3ee8b1(0x22c)];_0x5d3cff<_0x83f3ee;_0x5d3cff++){_0x463f3f=arguments[_0x5d3cff];for(var _0x23c297 in _0x463f3f)Object[_0x3ee8b1(0x32d)][_0x3ee8b1(0x2cc)][_0x3ee8b1(0x34c)](_0x463f3f,_0x23c297)&&(_0x532eaa[_0x23c297]=_0x463f3f[_0x23c297]);}return _0x532eaa;},_0x12749e['apply'](this,arguments);},_0x5c6138=function(_0x19f16c,_0x20a73c){const _0x44006e=_0x263a40;var _0x4720e1={};for(var _0x184a6a in _0x19f16c)Object['prototype'][_0x44006e(0x2cc)][_0x44006e(0x34c)](_0x19f16c,_0x184a6a)&&_0x20a73c[_0x44006e(0x34d)](_0x184a6a)<0x0&&(_0x4720e1[_0x184a6a]=_0x19f16c[_0x184a6a]);if(_0x19f16c!=null&&typeof Object[_0x44006e(0x2f2)]==_0x44006e(0x365)){for(var _0x301b20=0x0,_0x184a6a=Object[_0x44006e(0x2f2)](_0x19f16c);_0x301b20<_0x184a6a['length'];_0x301b20++)_0x20a73c[_0x44006e(0x34d)](_0x184a6a[_0x301b20])<0x0&&Object[_0x44006e(0x32d)]['propertyIsEnumerable']['call'](_0x19f16c,_0x184a6a[_0x301b20])&&(_0x4720e1[_0x184a6a[_0x301b20]]=_0x19f16c[_0x184a6a[_0x301b20]]);}return _0x4720e1;},_0x35a74d=_0x197005[_0x263a40(0x1d2)](function(_0xaeaada,_0x4235a1){const _0x203b76=_0x263a40;var _0x2e322e=_0xaeaada[_0x203b76(0x437)],_0x3f9062=_0xaeaada['id'],_0x7e733a=_0xaeaada[_0x203b76(0x277)],_0x107565=_0xaeaada[_0x203b76(0x267)],_0x29b9aa=_0x5c6138(_0xaeaada,[_0x203b76(0x437),'id',_0x203b76(0x277),_0x203b76(0x267)]),_0x3f178f=_0x203b76(0x2af)[_0x203b76(0x362)](_0x3f9062,'\x20')['concat'](_0x7e733a||'')[_0x203b76(0x363)](),_0xd894e6=_0x197005['useRef']('_'['concat'](_0x43377f()));return _0x35b70c(_0x2e322e,''[_0x203b76(0x362)](_0x3f9062),{'defIds':_0x2e322e[_0x203b76(0x3c4)],'idSuffix':_0xd894e6['current']},_0x12749e({'ref':_0x4235a1,'className':_0x3f178f},_0x29b9aa),_0x107565);});function _0x35b70c(_0x4ccf50,_0x47dedb,_0x4d4a8d,_0x139a66,_0x569448){const _0x431294=_0x263a40;return _0x197005[_0x431294(0x1cb)](_0x4ccf50[_0x431294(0x215)],_0x12749e(_0x12749e({'key':_0x47dedb},_0x228673(_0x4ccf50,_0x4d4a8d,_0x569448)),_0x139a66),(_0x20ce69(_0x4ccf50,_0x4d4a8d)[_0x431294(0x425)]||[])[_0x431294(0x201)](function(_0x5aea3f,_0x4ccf73){const _0x4a01d7=_0x431294;return _0x35b70c(_0x5aea3f,''['concat'](_0x47dedb,'-')[_0x4a01d7(0x362)](_0x4ccf50[_0x4a01d7(0x215)],'-')[_0x4a01d7(0x362)](_0x4ccf73),_0x4d4a8d,void 0x0,_0x569448);}));}function _0x228673(_0x28d10d,_0x3c0f7d,_0x3c36d6){const _0x4349d9=_0x263a40;var _0x183c1e=_0x12749e({},_0x28d10d[_0x4349d9(0x3b9)]);_0x3c36d6!=null&&_0x3c36d6[_0x4349d9(0x438)]&&_0x183c1e['fill']===_0x4349d9(0x438)&&(_0x183c1e[_0x4349d9(0x208)]=_0x3c36d6[_0x4349d9(0x438)]),_0x28d10d['tag']===_0x4349d9(0x2b5)&&_0x183c1e['id']&&(_0x183c1e['id']=_0x183c1e['id']+_0x3c0f7d[_0x4349d9(0x287)]),Object['entries'](_0x183c1e)[_0x4349d9(0x34f)](function(_0x3251af){const _0x22884f=_0x4349d9;var _0x4171f0=_0x3251af[0x0],_0x48e272=_0x3251af[0x1];_0x4171f0===_0x22884f(0x2b5)&&typeof _0x48e272=='string'&&(_0x183c1e[_0x4171f0]=_0x48e272['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3c0f7d['idSuffix'],')')));});var _0x4ed87f=_0x3c0f7d[_0x4349d9(0x3c4)];return!_0x4ed87f||_0x4ed87f[_0x4349d9(0x22c)]===0x0||(_0x28d10d[_0x4349d9(0x215)]===_0x4349d9(0x217)&&_0x183c1e['xlink:href']&&(_0x183c1e['xlink:href']=_0x183c1e[_0x4349d9(0x2b9)]+_0x3c0f7d[_0x4349d9(0x287)]),Object[_0x4349d9(0x25a)](_0x183c1e)[_0x4349d9(0x34f)](function(_0x4093e6){const _0x360fa4=_0x4349d9;var _0x419f9a=_0x4093e6[0x0],_0x5c8c1e=_0x4093e6[0x1];typeof _0x5c8c1e=='string'&&(_0x183c1e[_0x419f9a]=_0x5c8c1e[_0x360fa4(0x1e9)](/url\(#(.*)\)/,_0x360fa4(0x328)['concat'](_0x3c0f7d['idSuffix'],')')));})),_0x183c1e;}function _0x20ce69(_0x4381bb,_0x3ad863){const _0x47b5ca=_0x263a40;var _0x2c2e08,_0x9a1dfb=_0x3ad863[_0x47b5ca(0x3c4)];return!_0x9a1dfb||_0x9a1dfb[_0x47b5ca(0x22c)]===0x0?_0x4381bb:_0x4381bb[_0x47b5ca(0x215)]===_0x47b5ca(0x2d5)&&(!((_0x2c2e08=_0x4381bb[_0x47b5ca(0x425)])===null||_0x2c2e08===void 0x0)&&_0x2c2e08['length'])?_0x12749e(_0x12749e({},_0x4381bb),{'children':_0x4381bb['children'][_0x47b5ca(0x201)](function(_0x4f2ecf){const _0x38310b=_0x47b5ca;return typeof _0x4f2ecf[_0x38310b(0x3b9)]['id']==_0x38310b(0x3e9)&&_0x9a1dfb&&_0x9a1dfb[_0x38310b(0x3ad)](_0x4f2ecf[_0x38310b(0x3b9)]['id'])?_0x12749e(_0x12749e({},_0x4f2ecf),{'attrs':_0x12749e(_0x12749e({},_0x4f2ecf['attrs']),{'id':_0x4f2ecf['attrs']['id']+_0x3ad863[_0x38310b(0x287)]})}):_0x4f2ecf;})}):_0x4381bb;}function _0x43377f(){const _0x3965bc=_0x263a40;return Math[_0x3965bc(0x1a2)]()[_0x3965bc(0x31a)](0x24)['substring'](0x2,0x8);}_0x35a74d['displayName']='UniverIcon';var _0x2509cd={'tag':_0x263a40(0x21b),'attrs':{'xmlns':_0x263a40(0x355),'fill':'none','viewBox':_0x263a40(0x2c2),'width':'1em','height':_0x263a40(0x1b6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x263a40(0x20d),'attrs':{'stroke':_0x263a40(0x2bf),'d':_0x263a40(0x1e0),'strokeLinecap':_0x263a40(0x2b4),'strokeLinejoin':_0x263a40(0x2b4),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x263a40(0x388)},'children':[{'tag':_0x263a40(0x20d),'attrs':{'fill':_0x263a40(0x2de),'d':_0x263a40(0x419)}}]}]}],'defIds':[_0x263a40(0x388)]},_0x33730a=_0x197005['forwardRef'](function(_0x3319d2,_0x569d38){const _0x175de1=_0x263a40;return _0x197005[_0x175de1(0x1cb)](_0x35a74d,Object[_0x175de1(0x407)]({},_0x3319d2,{'id':'off-line-icon','ref':_0x569d38,'icon':_0x2509cd}));});_0x33730a[_0x263a40(0x1db)]=_0x263a40(0x2fa);var _0x47627d={'tag':_0x263a40(0x21b),'attrs':{'xmlns':_0x263a40(0x355),'fill':_0x263a40(0x27a),'viewBox':_0x263a40(0x40f),'width':'1em','height':_0x263a40(0x1b6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x263a40(0x20d),'attrs':{'stroke':_0x263a40(0x2bf),'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':_0x263a40(0x2b4),'strokeLinejoin':_0x263a40(0x2b4),'strokeWidth':1.2}}]},{'tag':_0x263a40(0x2d5),'attrs':{},'children':[{'tag':_0x263a40(0x3e7),'attrs':{'id':_0x263a40(0x341)},'children':[{'tag':_0x263a40(0x20d),'attrs':{'fill':'white','d':_0x263a40(0x419),'transform':'translate(.97)'}}]}]}],'defIds':[_0x263a40(0x341)]},_0x233b03=_0x197005[_0x263a40(0x1d2)](function(_0x476cf8,_0x2af3ea){const _0x489280=_0x263a40;return _0x197005[_0x489280(0x1cb)](_0x35a74d,Object[_0x489280(0x407)]({},_0x476cf8,{'id':_0x489280(0x1da),'ref':_0x2af3ea,'icon':_0x47627d}));});_0x233b03[_0x263a40(0x1db)]='OnLineIcon';function _0x381bd3(_0x249edc){const _0x58408e=_0x263a40;switch(_0x249edc){case _0x3b3567[_0x58408e(0x38e)][_0x58408e(0x3d0)]:return _0x58408e(0x387);case _0x3b3567[_0x58408e(0x38e)][_0x58408e(0x1de)]:return _0x58408e(0x28b);case _0x3b3567[_0x58408e(0x38e)]['FETCH_MISS']:return _0x58408e(0x255);case _0x3b3567[_0x58408e(0x38e)][_0x58408e(0x2cf)]:return _0x58408e(0x27c);case _0x3b3567['CollaborationStatus']['AWAITING']:case _0x3b3567[_0x58408e(0x38e)][_0x58408e(0x3e4)]:return _0x58408e(0x3b1);case _0x3b3567['CollaborationStatus'][_0x58408e(0x360)]:case _0x3b3567[_0x58408e(0x38e)]['PENDING']:return _0x58408e(0x257);}}function _0x2885e3(_0x4c2e00){const _0x134bc3=_0x263a40,{status$:_0xc3a8e8}=_0x4c2e00,_0x4c784a=_0x214f56[_0x134bc3(0x40c)](_0xc3a8e8,_0x3b3567[_0x134bc3(0x38e)][_0x134bc3(0x2cf)]),_0xca157b=_0x214f56[_0x134bc3(0x346)](_0x2c2192['LocaleService']),_0x52e30b=_0x214f56[_0x134bc3(0x346)](_0x3b3567['CollaborationSessionService']),_0x5c2728=_0x4c784a!==_0x3b3567[_0x134bc3(0x38e)][_0x134bc3(0x3d0)],_0x15677e=_0xca157b['t'](_0x381bd3(_0x4c784a)),_0x2e43aa=_0x5c2728?_0x5dfb74[_0x134bc3(0x32e)](_0x233b03,{}):_0x5dfb74['jsx'](_0x33730a,{}),_0xf30b9b=_0x197005[_0x134bc3(0x2c3)](()=>{_0x5c2728||_0x52e30b['reconnect']();},[_0x5c2728,_0x52e30b]);function _0x3d6c44(){const _0x5685e0=_0x134bc3;return _0x5dfb74[_0x5685e0(0x2a0)](_0x5685e0(0x19c),{'className':_0x5685e0(0x3fe),'onClick':_0xf30b9b,'children':[_0x5dfb74['jsx'](_0x5685e0(0x19c),{'className':_0x4f24da[_0x5685e0(0x1a5)](_0x5685e0(0x40e),{'univer-text-green-500':_0x5c2728,'univer-text-red-500':!_0x5c2728}),'children':_0x2e43aa}),_0x5dfb74[_0x5685e0(0x32e)](_0x5685e0(0x19c),{'className':_0x5685e0(0x2d0),'children':_0x15677e})]});}return _0x5c2728?_0x3d6c44():_0x5dfb74[_0x134bc3(0x32e)](_0x4f24da[_0x134bc3(0x275)],{'title':_0xca157b['t']('collab-client.tooltip.reconnect'),'children':_0x3d6c44()});}var _0x2e2ca5=Object[_0x263a40(0x2bc)],_0x5d3706=(_0x77185f,_0x48f066,_0x2e14cb,_0x34fd0e)=>{const _0x53fd70=_0x263a40;for(var _0x50bd27=_0x34fd0e>0x1?void 0x0:_0x34fd0e?_0x2e2ca5(_0x48f066,_0x2e14cb):_0x48f066,_0x2bce80=_0x77185f[_0x53fd70(0x22c)]-0x1,_0x37cfce;_0x2bce80>=0x0;_0x2bce80--)(_0x37cfce=_0x77185f[_0x2bce80])&&(_0x50bd27=_0x37cfce(_0x50bd27)||_0x50bd27);return _0x50bd27;},_0x2a12c8=(_0x463cd6,_0xcaa718)=>(_0x593caa,_0x5dfe3a)=>_0xcaa718(_0x593caa,_0x5dfe3a,_0x463cd6);_0x9de135[_0x263a40(0x339)]=class extends _0x2c2192[_0x263a40(0x2e1)]{constructor(_0x4549fd,_0x395a3d,_0x504de7,_0x1ad091){const _0x1cf70c=_0x263a40;super(),_0x193c38(this,_0x1cf70c(0x2d8),new _0x39a97e[(_0x1cf70c(0x30b))](_0x3b3567['CollaborationStatus'][_0x1cf70c(0x2cf)])),(this[_0x1cf70c(0x2e9)]=_0x4549fd,this[_0x1cf70c(0x1bd)]=_0x395a3d,this['_collaborationController']=_0x504de7,this[_0x1cf70c(0x411)]=_0x1ad091,this[_0x1cf70c(0x338)](),this[_0x1cf70c(0x3fa)]());}['_initStatusListener'](){const _0x178e47=_0x263a40;this[_0x178e47(0x1af)](this[_0x178e47(0x2e9)][_0x178e47(0x282)][_0x178e47(0x306)](_0x39a97e[_0x178e47(0x2c6)](()=>{const _0x5c4337=_0x178e47,_0x2826f7=this[_0x5c4337(0x2e9)][_0x5c4337(0x1d3)]();return _0x2826f7?this[_0x5c4337(0x420)][_0x5c4337(0x3fc)](_0x2826f7[_0x5c4337(0x385)]()):_0x39a97e['of'](null);}),_0x39a97e['switchMap'](_0xf750a5=>_0xf750a5?_0xf750a5['status$']:_0x39a97e['of'](_0x3b3567[_0x178e47(0x38e)]['NOT_COLLAB'])))[_0x178e47(0x26a)](_0x51a6ed=>{const _0x416b77=_0x178e47;this[_0x416b77(0x2d8)][_0x416b77(0x3db)](_0x51a6ed);}));}[_0x263a40(0x338)](){const _0x3bf98d=_0x263a40;this['disposeWithMe'](this[_0x3bf98d(0x411)][_0x3bf98d(0x23d)](_0x214f56[_0x3bf98d(0x406)][_0x3bf98d(0x3b6)],()=>_0x214f56['connectInjector'](_0xc7a435({'status$':this[_0x3bf98d(0x2d8)][_0x3bf98d(0x3b0)]()}),this['_injector'])));}},_0x9de135[_0x263a40(0x339)]=_0x5d3706([_0x2a12c8(0x0,_0x2c2192['IUniverInstanceService']),_0x2a12c8(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x2a12c8(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x223)])),_0x2a12c8(0x3,_0x214f56[_0x263a40(0x3ce)])],_0x9de135[_0x263a40(0x339)]);function _0xc7a435(_0x383c7a){const {status$:_0xeb650e}=_0x383c7a;return function(){const _0x55dac3=_0x19a4;return _0x5dfb74[_0x55dac3(0x32e)](_0x2885e3,{'status$':_0xeb650e});};}const _0x1f6186=_0x2c2192[_0x263a40(0x3be)](_0x263a40(0x399));var _0x9d8214=Object['getOwnPropertyDescriptor'],_0x57b8bd=(_0x145474,_0x2f21b6,_0x34cb5c,_0xa568ef)=>{for(var _0x4a1bd6=_0xa568ef>0x1?void 0x0:_0xa568ef?_0x9d8214(_0x2f21b6,_0x34cb5c):_0x2f21b6,_0x3a1cc7=_0x145474['length']-0x1,_0x43f2ff;_0x3a1cc7>=0x0;_0x3a1cc7--)(_0x43f2ff=_0x145474[_0x3a1cc7])&&(_0x4a1bd6=_0x43f2ff(_0x4a1bd6)||_0x4a1bd6);return _0x4a1bd6;},_0x1f7c53=(_0x56ff77,_0x5a95c3)=>(_0x4321a1,_0x28eef1)=>_0x5a95c3(_0x4321a1,_0x28eef1,_0x56ff77);_0x9de135['CollaborationDataLoaderController']=class extends _0x2c2192['RxDisposable']{constructor(_0x247213,_0x3c5858,_0x375b93,_0x5e3cfd,_0x176376){const _0x223662=_0x263a40;super(),this[_0x223662(0x243)]=_0x247213,this[_0x223662(0x35f)]=_0x3c5858,this[_0x223662(0x361)]=_0x375b93,this[_0x223662(0x1e3)]=_0x5e3cfd,_0x176376?_0x176376==null||_0x176376[_0x223662(0x321)]()['then'](()=>this[_0x223662(0x3b5)]()):(this[_0x223662(0x35f)][_0x223662(0x426)]('[CollaborationDataLoaderController]',_0x223662(0x31e)),this[_0x223662(0x3b5)]());}async[_0x263a40(0x3b5)](){const _0x2efdc9=_0x263a40,_0x452290=this[_0x2efdc9(0x243)][_0x2efdc9(0x2a6)](_0x2efdc9(0x1c9)),_0x3e5943=this[_0x2efdc9(0x243)]['getParam'](_0x2efdc9(0x41a)),_0x56b959=this[_0x2efdc9(0x243)]['getParam'](_0x2efdc9(0x2ec));if(!_0x452290||!_0x3e5943){this[_0x2efdc9(0x35f)][_0x2efdc9(0x426)]('[CollaborationDataLoaderController]',_0x2efdc9(0x3ae));return;}const _0x328211=await this[_0x2efdc9(0x1e3)]['loadUnit'](_0x452290,Number(_0x3e5943),_0x56b959);_0x328211&&_0x328211 instanceof _0x2c2192[_0x2efdc9(0x3c5)]&&this[_0x2efdc9(0x3d2)](_0x328211);}async[_0x263a40(0x3d2)](_0x35b88e){const _0xe5999b=_0x263a40;await this['_updateSubUnitFromURLParams'](_0x35b88e),_0x35b88e[_0xe5999b(0x381)]['pipe'](_0x39a97e[_0xe5999b(0x2f3)](this[_0xe5999b(0x313)]))[_0xe5999b(0x26a)](_0x389ada=>{_0x389ada&&this['_updateURLWithCurrentState'](_0x389ada);}),this['_urlService'][_0xe5999b(0x3fd)][_0xe5999b(0x306)](_0x39a97e[_0xe5999b(0x2f3)](this[_0xe5999b(0x313)]))[_0xe5999b(0x26a)](()=>this[_0xe5999b(0x2fd)](_0x35b88e));}[_0x263a40(0x1b1)](_0x2aa5cc,_0x2c7100=!0x1){const _0xd9fd7d=_0x263a40,_0x4b492a=this[_0xd9fd7d(0x243)][_0xd9fd7d(0x2a6)](_0xd9fd7d(0x2ec));_0x2aa5cc['getSheetId']()!==_0x4b492a&&this[_0xd9fd7d(0x243)][_0xd9fd7d(0x435)](_0xd9fd7d(0x2ec),_0x2aa5cc[_0xd9fd7d(0x342)](),_0x2c7100);}async[_0x263a40(0x2fd)](_0x16766a){const _0x58344d=_0x263a40;var _0x14b9ff;const _0x1b654f=this['_urlService'][_0x58344d(0x2a6)]('subunit');if(!_0x1b654f||!_0x16766a[_0x58344d(0x288)](_0x1b654f)){const _0x46728a=_0x16766a[_0x58344d(0x23e)]()[0x0],_0xae99ca=_0x16766a['getSheetBySheetId'](_0x46728a);if(!_0xae99ca)return;this[_0x58344d(0x1b1)](_0xae99ca,!0x0),await this[_0x58344d(0x361)][_0x58344d(0x3ed)](_0x40b606[_0x58344d(0x35b)]['id'],{'unitId':_0x16766a[_0x58344d(0x385)](),'subUnitId':_0x46728a});return;}((_0x14b9ff=_0x16766a[_0x58344d(0x3d7)]())==null?void 0x0:_0x14b9ff[_0x58344d(0x342)]())!==_0x1b654f&&await this['_commandService'][_0x58344d(0x3ed)](_0x40b606['SetWorksheetActivateCommand']['id'],{'unitId':_0x16766a[_0x58344d(0x385)](),'subUnitId':_0x1b654f});}},_0x9de135[_0x263a40(0x2e7)]=_0x57b8bd([_0x1f7c53(0x0,_0x1f6186),_0x1f7c53(0x1,_0x2c2192['ILogService']),_0x1f7c53(0x2,_0x2c2192['ICommandService']),_0x1f7c53(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x395)])),_0x1f7c53(0x4,_0x2c2192[_0x263a40(0x2d6)](_0x30a3e[_0x263a40(0x2e5)]))],_0x9de135[_0x263a40(0x2e7)]);var _0x1c4e64=Object[_0x263a40(0x2bc)],_0x529666=(_0x4d3dbc,_0x2d2b3a,_0x554a14,_0x1707ce)=>{const _0x2641f0=_0x263a40;for(var _0x5e54f9=_0x1707ce>0x1?void 0x0:_0x1707ce?_0x1c4e64(_0x2d2b3a,_0x554a14):_0x2d2b3a,_0x1f079d=_0x4d3dbc[_0x2641f0(0x22c)]-0x1,_0x5f4142;_0x1f079d>=0x0;_0x1f079d--)(_0x5f4142=_0x4d3dbc[_0x1f079d])&&(_0x5e54f9=_0x5f4142(_0x5e54f9)||_0x5e54f9);return _0x5e54f9;},_0x37b2d0=(_0x1f1490,_0x59c46c)=>(_0x560fe3,_0x5d3a41)=>_0x59c46c(_0x560fe3,_0x5d3a41,_0x1f1490);let _0x1b423f=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x5449e9,_0x3b8f2a){const _0x2bc711=_0x263a40;super(),this[_0x2bc711(0x3d9)]=_0x5449e9,this[_0x2bc711(0x37a)]=_0x3b8f2a,this[_0x2bc711(0x3b5)]();}['_init'](){const _0x267486=_0x263a40,_0x3d37f6=this;this[_0x267486(0x1af)](this[_0x267486(0x3d9)][_0x267486(0x38f)]({'onBeforePasteImage':async _0x21c178=>{const _0x9f13b3=_0x267486,_0x20bb55=await _0x3d37f6[_0x9f13b3(0x37a)][_0x9f13b3(0x24a)](_0x21c178);return _0x20bb55?{'source':_0x20bb55['source'],'imageSourceType':_0x20bb55[_0x9f13b3(0x1b8)]}:null;}}));}};_0x1b423f=_0x529666([_0x37b2d0(0x0,_0x4e1317[_0x263a40(0x1f9)]),_0x37b2d0(0x1,_0x4251fe[_0x263a40(0x377)])],_0x1b423f);const _0x5615b7=[_0x263a40(0x218),_0x263a40(0x240),_0x263a40(0x3de),_0x263a40(0x3ab),'blue.400',_0x263a40(0x2b7)];class _0x32664d extends _0x2c2192['Disposable']{constructor(){const _0x2a24a8=_0x263a40;super(...arguments),_0x193c38(this,_0x2a24a8(0x299),new Map()),_0x193c38(this,_0x2a24a8(0x24e),0x0);}[_0x263a40(0x37f)](_0x59dbcd){const _0x28c948=_0x263a40;if(this[_0x28c948(0x299)][_0x28c948(0x31d)](_0x59dbcd))return this[_0x28c948(0x299)][_0x28c948(0x378)](_0x59dbcd);const _0x1c6d21=_0x5615b7[this[_0x28c948(0x24e)]];return this[_0x28c948(0x24e)]=(this[_0x28c948(0x24e)]+0x1)%_0x5615b7[_0x28c948(0x22c)],this[_0x28c948(0x299)]['set'](_0x59dbcd,_0x1c6d21),_0x1c6d21;}}function _0x15faa4(_0x7fcb79){const _0x5d98e3=_0x263a40;let _0x457bba='';for(const _0x24bf3c of _0x7fcb79){const {startOffset:_0x391884,endOffset:_0x3908bb,isActive:_0x2f3231,rangeType:_0x4aeb3c,segmentId:_0x2476d3,segmentPage:_0x2c1151}=_0x24bf3c;_0x457bba[_0x5d98e3(0x22c)]&&(_0x457bba+=','),_0x457bba+=_0x391884+':'+_0x3908bb+':'+(_0x2f3231?'1':'0')+':'+_0x4aeb3c+':'+_0x2476d3+':'+_0x2c1151;}return _0x457bba;}function _0xddf4f0(_0x9cc066){const _0x3b0244=_0x263a40,_0x1f2aa3=_0x9cc066[_0x3b0244(0x3e5)](','),_0x17c5c8=[];for(const _0x531209 of _0x1f2aa3){const [_0x14283d,_0x4b5809,_0x170f27,_0x1a69db,_0x5f23ad,_0x4980ee]=_0x531209[_0x3b0244(0x3e5)](':');_0x17c5c8[_0x3b0244(0x367)]({'startOffset':Number(_0x14283d),'endOffset':Number(_0x4b5809),'collapsed':_0x14283d===_0x4b5809,'isActive':_0x170f27==='1','rangeType':_0x1a69db===_0x2c2192['DOC_RANGE_TYPE'][_0x3b0244(0x24f)]?_0x2c2192[_0x3b0244(0x3c3)][_0x3b0244(0x24f)]:_0x2c2192[_0x3b0244(0x3c3)][_0x3b0244(0x386)],'segmentId':typeof _0x5f23ad==_0x3b0244(0x3e9)?String(_0x5f23ad):'','segmentPage':Number(_0x4980ee!=null?_0x4980ee:-0x1)});}return _0x17c5c8[_0x3b0244(0x29b)](_0x3f121f=>_0x3f121f['isActive'])||(_0x17c5c8[0x0][_0x3b0244(0x3ee)]=!0x0),_0x17c5c8;}class _0x45dd48 extends _0x2c2192['RxDisposable']{constructor(){const _0x21cd2a=_0x263a40;super(...arguments),_0x193c38(this,_0x21cd2a(0x2f1),new _0x39a97e['BehaviorSubject'](null)),_0x193c38(this,'collabCursorState$',this[_0x21cd2a(0x2f1)][_0x21cd2a(0x3b0)]());}['syncEditingCollabCursor'](_0x336361){const _0x4a681e=_0x263a40,{unitID:_0x5db2ae,memberID:_0x30b0fc,textRanges:_0x5b5258}=_0x336361,_0x137040=_0x15faa4(_0x5b5258);if(_0x137040==='')return;const _0x5eb634={'unitID':_0x5db2ae,'memberID':_0x30b0fc,'selection':_0x137040};this[_0x4a681e(0x2f1)][_0x4a681e(0x3db)](_0x5eb634);}}var _0x27e4ec=Object[_0x263a40(0x2bc)],_0x11a06c=(_0x5a00a1,_0x5677d8,_0x48ee1b,_0x36dabc)=>{const _0x4d8804=_0x263a40;for(var _0x28148e=_0x36dabc>0x1?void 0x0:_0x36dabc?_0x27e4ec(_0x5677d8,_0x48ee1b):_0x5677d8,_0x5286e9=_0x5a00a1[_0x4d8804(0x22c)]-0x1,_0xae5ba;_0x5286e9>=0x0;_0x5286e9--)(_0xae5ba=_0x5a00a1[_0x5286e9])&&(_0x28148e=_0xae5ba(_0x28148e)||_0x28148e);return _0x28148e;},_0x2dadfc=(_0x1d5793,_0x136c1b)=>(_0x4fbd5a,_0x2b355c)=>_0x136c1b(_0x4fbd5a,_0x2b355c,_0x1d5793);const _0x47f7aa=0x12c,_0x2d93ac=0x64;let _0x328609=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x3c97fd,_0x3e846c,_0xd7bda3,_0x138caa,_0x43b048,_0x162723,_0x5b463a,_0x4a1124,_0x21985b){const _0x3223d8=_0x263a40;super(),_0x193c38(this,_0x3223d8(0x1f5),!0x1),_0x193c38(this,_0x3223d8(0x3b5),!0x1),_0x193c38(this,_0x3223d8(0x2cb),new _0x39a97e[(_0x3223d8(0x30b))](new Map())),_0x193c38(this,_0x3223d8(0x1c2),this[_0x3223d8(0x2cb)][_0x3223d8(0x3b0)]()),_0x193c38(this,'_roomMembers$',new _0x39a97e[(_0x3223d8(0x30b))]([])),_0x193c38(this,_0x3223d8(0x2a5),this[_0x3223d8(0x345)]['pipe'](_0x39a97e['debounceTime'](_0x47f7aa))),_0x193c38(this,'_updateLocalCursor',_0x2c2192[_0x3223d8(0x3af)](_0x406640=>{const _0x145191=_0x3223d8,_0x29311b={'eventID':_0x542b31[_0x145191(0x26d)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x145191(0x2a7)][_0x145191(0x26e)](),'selection':_0x15faa4(_0x406640)}};this[_0x145191(0x2a7)][_0x145191(0x36a)](_0x29311b,this[_0x145191(0x1c8)]);},_0x2d93ac)),(this[_0x3223d8(0x1c8)]=_0x3c97fd,this['_session']=_0x3e846c,this[_0x3223d8(0x1bd)]=_0xd7bda3,this['_colorAssignService']=_0x138caa,this[_0x3223d8(0x3d3)]=_0x43b048,this[_0x3223d8(0x327)]=_0x162723,this[_0x3223d8(0x42c)]=_0x5b463a,this['_univerInstanceService']=_0x4a1124,this[_0x3223d8(0x361)]=_0x21985b);}get[_0x263a40(0x229)](){const _0x54c998=_0x263a40;return this['_cursorInfo$'][_0x54c998(0x225)]();}get[_0x263a40(0x28c)](){return this['_roomMembers$']['getValue']();}[_0x263a40(0x3e8)](){const _0x1e586f=_0x263a40;super[_0x1e586f(0x3e8)](),this[_0x1e586f(0x2cb)][_0x1e586f(0x3db)](new Map()),this['_cursorInfo$']['complete'](),this[_0x1e586f(0x345)]['next']([]),this['_roomMembers$'][_0x1e586f(0x232)]();}['init'](){const _0x539b8c=_0x263a40;this[_0x539b8c(0x3b5)]||(this[_0x539b8c(0x3b5)]=!0x0,this[_0x539b8c(0x2a7)][_0x539b8c(0x38d)]['pipe'](_0x39a97e['takeUntil'](this['dispose$']))[_0x539b8c(0x26a)](_0x119d45=>{const _0x3d0fc8=_0x539b8c;_0x119d45===_0x3b3567[_0x3d0fc8(0x253)]['ONLINE']?this[_0x3d0fc8(0x331)]():this['_toggleOffline']();}),this[_0x539b8c(0x2a7)]['event$'][_0x539b8c(0x306)](_0x39a97e[_0x539b8c(0x2f3)](this[_0x539b8c(0x313)]))[_0x539b8c(0x26a)](_0x51103d=>{const _0x2aa53c=_0x539b8c,_0x451c25=_0x51103d[_0x2aa53c(0x352)];_0x451c25===_0x542b31[_0x2aa53c(0x26d)]['UPDATE_CURSOR']&&this[_0x2aa53c(0x250)](_0x51103d),_0x451c25===_0x542b31[_0x2aa53c(0x26d)][_0x2aa53c(0x3f4)]&&this[_0x2aa53c(0x42e)](_0x51103d);}),this[_0x539b8c(0x1af)](this[_0x539b8c(0x361)][_0x539b8c(0x249)](_0x518774=>{const _0x357e0c=_0x539b8c,_0x47f91f=_0x518774[_0x357e0c(0x439)];_0x47f91f!=null&&this[_0x357e0c(0x1f5)]&&_0x518774['id']===_0x28f6a3[_0x357e0c(0x3c9)]['id']&&_0x47f91f[_0x357e0c(0x1a7)]===this[_0x357e0c(0x1c8)]&&_0x47f91f['isEditing']===!0x1&&_0x47f91f['ranges'][_0x357e0c(0x22c)]>0x0&&this[_0x357e0c(0x244)](_0x47f91f[_0x357e0c(0x41f)]);})),this[_0x539b8c(0x327)][_0x539b8c(0x248)][_0x539b8c(0x306)](_0x39a97e[_0x539b8c(0x2f3)](this[_0x539b8c(0x313)]))[_0x539b8c(0x26a)](_0x137caa=>{const _0x227927=_0x539b8c;if((_0x137caa==null?void 0x0:_0x137caa[_0x227927(0x1c8)])!==this['unitID'])return;const _0x339088={'eventID':_0x542b31['CollaborationEvent'][_0x227927(0x3f9)],'data':_0x137caa};this[_0x227927(0x250)](_0x339088);}),this[_0x539b8c(0x1af)](this[_0x539b8c(0x361)][_0x539b8c(0x249)](_0x58e883=>{const _0x579f0c=_0x539b8c;if(_0x58e883['params']==null)return;const _0x3147cb=_0x58e883['params'];if(_0x58e883['id']!==_0x28f6a3[_0x579f0c(0x1ed)]['id']||_0x3147cb['unitId']!==this[_0x579f0c(0x1c8)])return;const _0x5292c7={'id':_0x579f0c(0x323),'params':_0x3147cb},_0x2668bb=this[_0x579f0c(0x229)];for(const [_0x42e204,_0x2b8968]of _0x2668bb){const _0x1f4440={'id':_0x579f0c(0x323),'params':{'unitId':this[_0x579f0c(0x1c8)],'actions':null,'textRanges':_0x2b8968['ranges']}},_0x414845=this[_0x579f0c(0x42c)][_0x579f0c(0x39e)](_0x5292c7,_0x1f4440,!0x1);if(_0x542b31[_0x579f0c(0x39f)](_0x414845))throw _0x414845[_0x579f0c(0x423)];_0x2668bb[_0x579f0c(0x2d9)](_0x42e204,{..._0x2b8968,'ranges':_0x414845['m2Prime'][_0x579f0c(0x439)]['textRanges']});}queueMicrotask(()=>{const _0x3aa6af=_0x579f0c;this['_cursorInfo$'][_0x3aa6af(0x3db)](_0x2668bb);});})));}[_0x263a40(0x250)](_0x2d4497){const _0x301f38=_0x263a40;var _0xa27ccb,_0x5c1a28;const {memberID:_0x4f16da,selection:_0x1f0848}=_0x2d4497[_0x301f38(0x1bb)],_0x22a12c=_0xddf4f0(_0x1f0848),_0x404d8a=(_0x5c1a28=(_0xa27ccb=this[_0x301f38(0x3d3)]['getMember'](this[_0x301f38(0x1c8)],_0x4f16da))==null?void 0x0:_0xa27ccb[_0x301f38(0x3d8)])!=null?_0x5c1a28:_0x301f38(0x3c0),_0x34858a={'color':this[_0x301f38(0x33a)][_0x301f38(0x37f)](_0x4f16da),'name':_0x404d8a,'ranges':_0x22a12c},_0x213297=this[_0x301f38(0x229)];_0x213297[_0x301f38(0x2d9)](_0x4f16da,_0x34858a),this['_cursorInfo$'][_0x301f38(0x3db)](_0x213297);}[_0x263a40(0x42e)](_0x3cb2d4){const _0x24036c=_0x263a40,{memberID:_0x515555}=_0x3cb2d4[_0x24036c(0x1bb)],_0x18009d=this[_0x24036c(0x229)];_0x18009d[_0x24036c(0x402)](_0x515555),this[_0x24036c(0x2cb)][_0x24036c(0x3db)](_0x18009d);}['_toggleOnline'](){const _0x4f31f2=_0x263a40;var _0x3b0270;if(this[_0x4f31f2(0x1f5)]=!0x0,((_0x3b0270=this[_0x4f31f2(0x2e9)]['getFocusedUnit']())==null?void 0x0:_0x3b0270[_0x4f31f2(0x385)]())!==this[_0x4f31f2(0x1c8)])return;const _0x226a27=this['_injector'][_0x4f31f2(0x378)](_0x28f6a3[_0x4f31f2(0x22a)])[_0x4f31f2(0x1fb)]();Array[_0x4f31f2(0x2ca)](_0x226a27)&&_0x226a27[_0x4f31f2(0x22c)]>0x0&&this['_updateLocalCursor'](_0x226a27);}[_0x263a40(0x2f6)](){const _0x4d0d2b=_0x263a40;this[_0x4d0d2b(0x1f5)]=!0x1;}};_0x328609=_0x11a06c([_0x2dadfc(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x2dadfc(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x32664d)),_0x2dadfc(0x4,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x398)])),_0x2dadfc(0x5,_0x2c2192[_0x263a40(0x3d4)](_0x45dd48)),_0x2dadfc(0x6,_0x542b31[_0x263a40(0x1e1)]),_0x2dadfc(0x7,_0x2c2192[_0x263a40(0x228)]),_0x2dadfc(0x8,_0x2c2192[_0x263a40(0x259)])],_0x328609);var _0x417c1e=Object[_0x263a40(0x2bc)],_0x6a93cd=(_0x275874,_0x5da201,_0x2c775a,_0x4d2a96)=>{const _0x58011e=_0x263a40;for(var _0x3f5b43=_0x4d2a96>0x1?void 0x0:_0x4d2a96?_0x417c1e(_0x5da201,_0x2c775a):_0x5da201,_0x218b61=_0x275874[_0x58011e(0x22c)]-0x1,_0x517c2a;_0x218b61>=0x0;_0x218b61--)(_0x517c2a=_0x275874[_0x218b61])&&(_0x3f5b43=_0x517c2a(_0x3f5b43)||_0x3f5b43);return _0x3f5b43;},_0x56f970=(_0x3d62c4,_0x1e2ef3)=>(_0x5eb860,_0x4586d3)=>_0x1e2ef3(_0x5eb860,_0x4586d3,_0x3d62c4);const _0x2453a3=0x12c,_0x8ca3d3=0x64,_0x22c345=()=>{let _0x2bfc47=[],_0x20070f=!0x1;return _0x2f1a93=>{const _0x4c93ce=_0x19a4;_0x2bfc47[_0x4c93ce(0x367)](_0x2f1a93),_0x20070f||(_0x20070f=!0x0,setTimeout(()=>{_0x2bfc47['forEach'](_0x5766fe=>_0x5766fe()),_0x2bfc47=[],_0x20070f=!0x1;}));};};let _0x5cf1d7=class extends _0x2c2192['RxDisposable']{constructor(_0x82fd47,_0x12e4f1,_0x510859,_0x479c14,_0x31179d,_0x1f3d38,_0xdf8ecc,_0xf26a61){const _0x501ca2=_0x263a40;super(),_0x193c38(this,'_online',!0x1),_0x193c38(this,'_init',!0x1),_0x193c38(this,_0x501ca2(0x2cb),new _0x39a97e[(_0x501ca2(0x30b))](new Map())),_0x193c38(this,'cursorInfo$',this[_0x501ca2(0x2cb)][_0x501ca2(0x3b0)]()),_0x193c38(this,_0x501ca2(0x345),new _0x39a97e['BehaviorSubject']([])),_0x193c38(this,'roomMembers$',this[_0x501ca2(0x345)][_0x501ca2(0x306)](_0x39a97e[_0x501ca2(0x369)](_0x2453a3))),_0x193c38(this,_0x501ca2(0x244),_0x2c2192['debounce']((_0x5de895,_0x1e0154)=>{const _0x4ffc88=_0x501ca2,_0x49f004={'eventID':_0x542b31['CollaborationEvent'][_0x4ffc88(0x3f9)],'data':{'unitID':this[_0x4ffc88(0x1c8)],'memberID':this['_session'][_0x4ffc88(0x26e)](),'selection':_0x46218b[_0x4ffc88(0x34b)](_0x5de895,_0x1e0154[_0x4ffc88(0x2a3)])}};this[_0x4ffc88(0x2a7)][_0x4ffc88(0x36a)](_0x49f004,this[_0x4ffc88(0x1c8)]);},_0x8ca3d3)),(this[_0x501ca2(0x1c8)]=_0x82fd47,this[_0x501ca2(0x2a7)]=_0x12e4f1,this[_0x501ca2(0x1bd)]=_0x510859,this[_0x501ca2(0x33a)]=_0x479c14,this[_0x501ca2(0x3d3)]=_0x31179d,this[_0x501ca2(0x2e9)]=_0x1f3d38,this[_0x501ca2(0x361)]=_0xdf8ecc,this[_0x501ca2(0x427)]=_0xf26a61);}get['cursorInfo'](){const _0x264f60=_0x263a40;return this[_0x264f60(0x2cb)][_0x264f60(0x225)]();}get[_0x263a40(0x28c)](){const _0x450a68=_0x263a40;return this[_0x450a68(0x345)][_0x450a68(0x225)]();}[_0x263a40(0x3e8)](){const _0x364312=_0x263a40;super[_0x364312(0x3e8)](),this['_cursorInfo$'][_0x364312(0x3db)](new Map()),this[_0x364312(0x2cb)][_0x364312(0x232)](),this[_0x364312(0x345)][_0x364312(0x3db)]([]),this[_0x364312(0x345)][_0x364312(0x232)]();}[_0x263a40(0x3ff)](){const _0x45b380=_0x263a40;this[_0x45b380(0x3b5)]||(this['_init']=!0x0,this[_0x45b380(0x2a7)]['sessionStatus$'][_0x45b380(0x306)](_0x39a97e[_0x45b380(0x2f3)](this[_0x45b380(0x313)]))[_0x45b380(0x26a)](_0x50bc2e=>{const _0x51be02=_0x45b380;_0x50bc2e===_0x3b3567[_0x51be02(0x253)][_0x51be02(0x3da)]?this[_0x51be02(0x331)]():this[_0x51be02(0x2f6)]();}),this[_0x45b380(0x2a7)][_0x45b380(0x384)][_0x45b380(0x306)](_0x39a97e['takeUntil'](this['dispose$']))[_0x45b380(0x26a)](_0x3bcffa=>{const _0x1bf101=_0x45b380,_0x1830c2=_0x3bcffa[_0x1bf101(0x352)];_0x1830c2===_0x542b31['CollaborationEvent'][_0x1bf101(0x3f9)]&&this[_0x1bf101(0x250)](_0x3bcffa),_0x1830c2===_0x542b31['CollaborationEvent'][_0x1bf101(0x3f4)]&&this[_0x1bf101(0x42e)](_0x3bcffa);}),this[_0x45b380(0x3ac)](),this['disposeWithMe'](this[_0x45b380(0x361)][_0x45b380(0x249)](_0x37f5dc=>{const _0xca8d0=_0x45b380;if(this[_0xca8d0(0x1f5)]&&_0x37f5dc['id']===_0x40b606['SetSelectionsOperation']['id']&&_0x37f5dc['params'][_0xca8d0(0x1a7)]===this[_0xca8d0(0x1c8)]){const _0x1c1dcc=_0x37f5dc[_0xca8d0(0x439)];this[_0xca8d0(0x244)](_0x1c1dcc[_0xca8d0(0x3f8)],_0x1c1dcc['selections'][0x0]);}})));}[_0x263a40(0x250)](_0x1757b1){const _0x135d48=_0x263a40;var _0x5c7d8d,_0x144c2b;const {memberID:_0x14b698,selection:_0x27afba}=_0x1757b1[_0x135d48(0x1bb)],{sheetName:_0x2a9090,range:_0x5b0247}=_0x46218b[_0x135d48(0x254)](_0x27afba),_0x14df67={'name':(_0x144c2b=(_0x5c7d8d=this[_0x135d48(0x3d3)]['getMember'](this[_0x135d48(0x1c8)],_0x14b698))==null?void 0x0:_0x5c7d8d['name'])!=null?_0x144c2b:'Unknown\x20user','range':this[_0x135d48(0x312)](_0x2a9090,_0x5b0247),'sheetID':_0x2a9090,'color':this['_colorAssignService'][_0x135d48(0x37f)](_0x14b698),'selection':_0x27afba},_0xe84be3=this[_0x135d48(0x229)];_0xe84be3['set'](_0x14b698,_0x14df67),this[_0x135d48(0x2cb)][_0x135d48(0x3db)](_0xe84be3);}['_onCursorDelete'](_0x517eb5){const _0x118a35=_0x263a40,{memberID:_0x431a88}=_0x517eb5[_0x118a35(0x1bb)],_0x4910d5=this['cursorInfo'];_0x4910d5['delete'](_0x431a88),this[_0x118a35(0x2cb)]['next'](_0x4910d5);}[_0x263a40(0x312)](_0x3cebcf,_0x102638){const _0x3f7796=_0x263a40;var _0x497dbe,_0x42a17a;const _0x1fdf7d=(_0x42a17a=(_0x497dbe=this[_0x3f7796(0x2e9)][_0x3f7796(0x33f)](this[_0x3f7796(0x1c8)]))==null?void 0x0:_0x497dbe[_0x3f7796(0x288)](_0x3cebcf))==null?void 0x0:_0x42a17a[_0x3f7796(0x3cc)]();return(_0x1fdf7d==null?void 0x0:_0x1fdf7d[_0x3f7796(0x23f)](_0x4e308f=>_0x2c2192[_0x3f7796(0x3f6)][_0x3f7796(0x30e)](_0x4e308f,_0x102638)))||_0x102638;}[_0x263a40(0x3ac)](){const _0x32758b=_0x263a40,_0x4d6ef0=new _0x2c2192['DisposableCollection'](),_0x86aad0=_0x22c345(),_0xa291fc=()=>{const _0x104434=_0x19a4;_0x4d6ef0['dispose']();const _0x51221f=(_0x556d9b,_0x255bdd,_0x344867,_0x13ba35)=>{const _0x502a7c=_0x19a4;let _0x85047d=[];switch(_0x556d9b['id']){case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x1c7)]:{_0x85047d=_0x40b606[_0x502a7c(0x359)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x1ad)]:{_0x85047d=_0x40b606[_0x502a7c(0x36e)](_0x556d9b,_0x13ba35);break;}case _0x40b606['EffectRefRangId']['InsertColCommandId']:{_0x85047d=_0x40b606[_0x502a7c(0x268)](_0x556d9b,_0x13ba35);break;}case _0x40b606['EffectRefRangId'][_0x502a7c(0x430)]:{_0x85047d=_0x40b606[_0x502a7c(0x221)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x3c7)]:{_0x85047d=_0x40b606[_0x502a7c(0x1ae)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x1d9)]:{_0x85047d=_0x40b606[_0x502a7c(0x234)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x38a)]:{_0x85047d=_0x40b606[_0x502a7c(0x2c4)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x2b6)]:{_0x85047d=_0x40b606['handleIRemoveCol'](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)]['RemoveRowCommandId']:{_0x85047d=_0x40b606[_0x502a7c(0x296)](_0x556d9b,_0x13ba35);break;}}const _0x5a43b8=_0x40b606[_0x502a7c(0x1f6)](_0x85047d,_0x13ba35),_0x36fb5f=this[_0x502a7c(0x229)]['get'](_0x255bdd);if(_0x36fb5f&&_0x5a43b8){const _0x1bebb1={..._0x36fb5f,'range':_0x5a43b8};this[_0x502a7c(0x229)][_0x502a7c(0x2d9)](_0x255bdd,_0x1bebb1),_0x86aad0(()=>{const _0x3a86f0=_0x502a7c,_0x538cea=this[_0x3a86f0(0x427)][_0x3a86f0(0x3b7)](_0x5a43b8,_0x52c1f4=>(_0x538cea[_0x3a86f0(0x3e8)](),_0x51221f(_0x52c1f4,_0x255bdd,_0x344867,_0x5a43b8)));_0x4d6ef0[_0x3a86f0(0x1d8)](_0x538cea);});}return{'redos':[],'undos':[]};};this[_0x104434(0x229)][_0x104434(0x34f)]((_0x149f53,_0x58f8eb)=>{const _0x21a3cb=_0x104434,{range:_0x14cdab,sheetID:_0x4d9eb0}=_0x149f53,_0x317ce2=this['_refRangeService']['registerRefRange'](_0x14cdab,_0x697f4f=>(_0x317ce2[_0x21a3cb(0x3e8)](),_0x51221f(_0x697f4f,_0x58f8eb,_0x4d9eb0,_0x14cdab)));_0x4d6ef0[_0x21a3cb(0x1d8)](_0x317ce2);});};this['disposeWithMe'](_0x2c2192[_0x32758b(0x1bf)](this[_0x32758b(0x2cb)][_0x32758b(0x26a)](()=>{_0xa291fc();})));}['_toggleOnline'](){const _0x2f2d42=_0x263a40;var _0x1df232,_0x48a085;if(this[_0x2f2d42(0x1f5)]=!0x0,((_0x1df232=this[_0x2f2d42(0x2e9)][_0x2f2d42(0x1d3)]())==null?void 0x0:_0x1df232[_0x2f2d42(0x385)]())!==this[_0x2f2d42(0x1c8)])return;const _0x4438f1=(_0x48a085=this['_injector'][_0x2f2d42(0x378)](_0x40b606[_0x2f2d42(0x337)])[_0x2f2d42(0x295)]())==null?void 0x0:_0x48a085[0x0],_0x4086ca=this[_0x2f2d42(0x2e9)][_0x2f2d42(0x3a5)](_0x2c2192['UniverInstanceType'][_0x2f2d42(0x29e)])['getActiveSheet']();_0x4438f1&&_0x4086ca&&this['_updateLocalCursor'](_0x4086ca['getSheetId'](),_0x4438f1);}[_0x263a40(0x2f6)](){const _0x39ca95=_0x263a40;this[_0x39ca95(0x1f5)]=!0x1;}};_0x5cf1d7=_0x6a93cd([_0x56f970(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x56f970(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x32664d)),_0x56f970(0x4,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x398)])),_0x56f970(0x5,_0x2c2192[_0x263a40(0x228)]),_0x56f970(0x6,_0x2c2192[_0x263a40(0x259)]),_0x56f970(0x7,_0x2c2192[_0x263a40(0x3d4)](_0x40b606['RefRangeService']))],_0x5cf1d7);var _0x4960ff=Object[_0x263a40(0x2bc)],_0x3974cb=(_0x10e569,_0x190080,_0x25b588,_0x3d9f9f)=>{const _0x11e693=_0x263a40;for(var _0x4bf1dc=_0x3d9f9f>0x1?void 0x0:_0x3d9f9f?_0x4960ff(_0x190080,_0x25b588):_0x190080,_0xe464fd=_0x10e569[_0x11e693(0x22c)]-0x1,_0x3116a2;_0xe464fd>=0x0;_0xe464fd--)(_0x3116a2=_0x10e569[_0xe464fd])&&(_0x4bf1dc=_0x3116a2(_0x4bf1dc)||_0x4bf1dc);return _0x4bf1dc;},_0x318f11=(_0x2372ac,_0x615e3a)=>(_0x44e52d,_0x6b1995)=>_0x615e3a(_0x44e52d,_0x6b1995,_0x2372ac);let _0x289b74=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x2fe2e9,_0x5c1587,_0x421527){const _0x2fbe2d=_0x263a40;super(),_0x193c38(this,_0x2fbe2d(0x1ca),new Map()),_0x193c38(this,'_entityInit$',new _0x39a97e[(_0x2fbe2d(0x25c))]()),(this[_0x2fbe2d(0x2e9)]=_0x2fe2e9,this[_0x2fbe2d(0x1bd)]=_0x5c1587,this[_0x2fbe2d(0x27b)]=_0x421527,this['_init']());}[_0x263a40(0x3e8)](){const _0x9d5cec=_0x263a40;super[_0x9d5cec(0x3e8)](),this[_0x9d5cec(0x392)]['complete'](),this[_0x9d5cec(0x1ca)]['forEach'](_0x5161ca=>_0x5161ca[_0x9d5cec(0x3e8)]());}['getCollabCursors$'](_0x443e85){const _0x37a021=_0x263a40;return this['_entities'][_0x37a021(0x31d)](_0x443e85)?this[_0x37a021(0x1ca)][_0x37a021(0x378)](_0x443e85)['cursorInfo$']:this[_0x37a021(0x392)]['pipe'](_0x39a97e[_0x37a021(0x3a1)](_0x2a1648=>_0x2a1648[_0x37a021(0x1c8)]===_0x443e85),_0x39a97e[_0x37a021(0x2c6)](_0x1fa20d=>_0x1fa20d['cursorInfo$']));}[_0x263a40(0x3b5)](){const _0x4404c5=_0x263a40;this[_0x4404c5(0x2e9)]['getTypeOfUnitAdded$'](_0x2c2192[_0x4404c5(0x1c6)]['UNIVER_SHEET'])[_0x4404c5(0x306)](_0x39a97e[_0x4404c5(0x2f3)](this[_0x4404c5(0x313)]))[_0x4404c5(0x26a)](async _0x1130ba=>{const _0x55d9e5=_0x4404c5,_0x1de3c7=_0x1130ba[_0x55d9e5(0x385)](),_0x5472e1=await this[_0x55d9e5(0x1a1)](_0x1de3c7);this[_0x55d9e5(0x392)][_0x55d9e5(0x3db)](_0x5472e1),this[_0x55d9e5(0x1ca)][_0x55d9e5(0x2d9)](_0x1de3c7,_0x5472e1);}),this[_0x4404c5(0x2e9)][_0x4404c5(0x307)](_0x2c2192[_0x4404c5(0x1c6)][_0x4404c5(0x25b)])[_0x4404c5(0x306)](_0x39a97e['takeUntil'](this[_0x4404c5(0x313)]))[_0x4404c5(0x306)](_0x39a97e[_0x4404c5(0x3a1)](_0x4f5723=>!_0x4f5723[_0x4404c5(0x385)]()[_0x4404c5(0x424)]('__')))[_0x4404c5(0x26a)](async _0x4be15a=>{const _0x7f4f2e=_0x4404c5,_0x4ffe4d=_0x4be15a[_0x7f4f2e(0x385)](),_0x329f18=await this[_0x7f4f2e(0x383)](_0x4ffe4d);this[_0x7f4f2e(0x392)][_0x7f4f2e(0x3db)](_0x329f18),this['_entities']['set'](_0x4ffe4d,_0x329f18);}),_0x39a97e[_0x4404c5(0x409)](this[_0x4404c5(0x2e9)][_0x4404c5(0x219)](_0x2c2192[_0x4404c5(0x1c6)][_0x4404c5(0x25b)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2c2192['UniverInstanceType'][_0x4404c5(0x29e)]))[_0x4404c5(0x306)](_0x39a97e['takeUntil'](this[_0x4404c5(0x313)]))[_0x4404c5(0x26a)](_0x4f9fc6=>{const _0x4f629c=_0x4404c5,_0x175c91=_0x4f9fc6[_0x4f629c(0x385)](),_0x2bc7d4=this['_entities'][_0x4f629c(0x378)](_0x175c91);_0x2bc7d4&&(_0x2bc7d4[_0x4f629c(0x3e8)](),this[_0x4f629c(0x1ca)][_0x4f629c(0x402)](_0x175c91));});}async[_0x263a40(0x1a1)](_0xada97b){const _0xc86961=_0x263a40,_0xf540f1=await this[_0xc86961(0x27b)]['requireSession'](_0xada97b),_0x11e95b=this['_injector'][_0xc86961(0x1c4)](_0x5cf1d7,_0xada97b,_0xf540f1);return _0x11e95b[_0xc86961(0x3ff)](),_0x11e95b;}async[_0x263a40(0x383)](_0x440749){const _0x5f0042=_0x263a40,_0x306818=await this['_collabSessionService']['requireSession'](_0x440749),_0xb7396c=this[_0x5f0042(0x1bd)][_0x5f0042(0x1c4)](_0x328609,_0x440749,_0x306818);return _0xb7396c['init'](),_0xb7396c;}};_0x289b74=_0x3974cb([_0x318f11(0x0,_0x2c2192[_0x263a40(0x228)]),_0x318f11(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x318f11(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567['CollaborationSessionService']))],_0x289b74);const _0x2d0218=0x14,_0x310303=0xc8,_0x2e0e6c=0x4,_0x42b073=0x5;function _0x27c2e5(_0x2edd23,_0x193a98){const _0xd7a625=_0x263a40;let {radius:_0x5f2f86,width:_0x423e4a,height:_0x596071}=_0x193a98;_0x5f2f86=_0x5f2f86!=null?_0x5f2f86:0x0,_0x423e4a=_0x423e4a!=null?_0x423e4a:0x1e,_0x596071=_0x596071!=null?_0x596071:0x1e;let _0x425a6c=0x0,_0x121c1a=0x0,_0x5d4964=0x0;_0x425a6c=_0x121c1a=_0x5d4964=Math['min'](_0x5f2f86,_0x423e4a/0x2,_0x596071/0x2),_0x2edd23['beginPath'](),_0x2edd23['moveTo'](_0x425a6c,0x0),_0x2edd23['lineTo'](_0x423e4a-_0x121c1a,0x0),_0x2edd23[_0xd7a625(0x1d7)](_0x423e4a-_0x121c1a,_0x121c1a,_0x121c1a,Math['PI']*0x3/0x2,0x0,!0x1),_0x2edd23[_0xd7a625(0x38c)](_0x423e4a,_0x596071-_0x5d4964),_0x2edd23[_0xd7a625(0x1d7)](_0x423e4a-_0x5d4964,_0x596071-_0x5d4964,_0x5d4964,0x0,Math['PI']/0x2,!0x1),_0x2edd23[_0xd7a625(0x38c)](0x0,_0x596071),_0x2edd23[_0xd7a625(0x38c)](0x0,_0x425a6c),_0x2edd23[_0xd7a625(0x1d7)](_0x425a6c,_0x425a6c,_0x425a6c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2edd23[_0xd7a625(0x3ea)](),_0x193a98[_0xd7a625(0x208)]&&(_0x2edd23[_0xd7a625(0x2ad)](),_0x2edd23[_0xd7a625(0x39c)]=_0x193a98['fill'],_0x193a98['fillRule']==='evenodd'?_0x2edd23[_0xd7a625(0x208)](_0xd7a625(0x236)):_0x2edd23[_0xd7a625(0x208)](),_0x2edd23[_0xd7a625(0x372)]());}class _0x491ac9 extends _0xeac254['Shape']{constructor(_0x1ec276,_0x1ff8f8){const _0x37d781=_0x263a40;super(_0x1ec276,_0x1ff8f8),_0x193c38(this,'color'),_0x193c38(this,'text'),(this['color']=_0x1ff8f8==null?void 0x0:_0x1ff8f8[_0x37d781(0x2bd)],this['text']=_0x1ff8f8==null?void 0x0:_0x1ff8f8[_0x37d781(0x1c1)]);}static[_0x263a40(0x429)](_0xb033bc,_0x55ff87){const _0x16c322=_0x263a40,{text:_0x73cffa,color:_0x1fe94d}=_0x55ff87;_0xb033bc[_0x16c322(0x2ad)](),_0xb033bc['font']=_0x16c322(0x42b);const _0x228e0c=_0xb033bc[_0x16c322(0x315)](_0x73cffa)[_0x16c322(0x3c8)],_0x20cf10=Math[_0x16c322(0x3a2)](_0x228e0c+0x2*_0x2e0e6c,_0x310303);_0x27c2e5(_0xb033bc,{'height':_0x2d0218,'radius':0x4,'width':_0x20cf10,'fill':_0x1fe94d}),_0xb033bc[_0x16c322(0x39c)]=_0x16c322(0x32c);const _0x1bdbb9=_0x2e0e6c,_0x56847c=_0x2d0218-_0x42b073,_0x3335f9=_0x310303-0x2*_0x2e0e6c;if(_0x228e0c>_0x3335f9){let _0x56580a='',_0x5eded4=0x0;for(const _0x47e73b of _0x73cffa){const _0x1594ee=_0xb033bc[_0x16c322(0x315)](_0x47e73b)['width'];if(_0x5eded4+_0x1594ee<=_0x3335f9-_0xb033bc[_0x16c322(0x315)](_0x16c322(0x23c))[_0x16c322(0x3c8)])_0x56580a+=_0x47e73b,_0x5eded4+=_0x1594ee;else{_0x56580a+=_0x16c322(0x23c);break;}}_0xb033bc[_0x16c322(0x3f7)](_0x56580a,_0x1bdbb9,_0x56847c);}else _0xb033bc[_0x16c322(0x3f7)](_0x73cffa,_0x1bdbb9,_0x56847c);_0xb033bc[_0x16c322(0x372)]();}[_0x263a40(0x20f)](_0x2dd7a7){const _0x556d69=_0x263a40;_0x491ac9[_0x556d69(0x429)](_0x2dd7a7,this);}}const _0x1c4795=_0x263a40(0x1ce),_0x40ff89='collab-text-range-',_0x3e4bbc=_0x263a40(0x1ec),_0x25e6ac=0x6,_0x3da27b=1.5,_0x2a0d60=0x4,_0x3741f0=1.5,_0x1143ed=_0x263a40(0x1dc);class _0x4bd98b{constructor(_0x14d095,_0x1962d5,_0x14bf89,_0x2943fd){const _0x590a78=_0x263a40;_0x193c38(this,_0x590a78(0x349),[]),_0x193c38(this,'_anchor',null),_0x193c38(this,'_textBubble',null),_0x193c38(this,_0x590a78(0x37c),null),_0x193c38(this,_0x590a78(0x32a),null),_0x193c38(this,_0x590a78(0x3f0),null),(this[_0x590a78(0x396)]=_0x14d095,this['_scene']=_0x1962d5,this['_docSkeleton']=_0x14bf89,this[_0x590a78(0x29a)]=_0x2943fd,this[_0x590a78(0x260)]());}set[_0x263a40(0x335)](_0x15071c){const _0x4212d2=_0x263a40;_0x15071c?(this[_0x4212d2(0x37c)]&&this[_0x4212d2(0x37c)][_0x4212d2(0x421)](),this[_0x4212d2(0x314)]&&this[_0x4212d2(0x314)]['show']()):(this[_0x4212d2(0x37c)]&&this[_0x4212d2(0x37c)][_0x4212d2(0x2e8)](),this[_0x4212d2(0x314)]&&this[_0x4212d2(0x314)][_0x4212d2(0x421)]());}[_0x263a40(0x3e8)](){const _0x451144=_0x263a40;for(const _0x48ee15 of this[_0x451144(0x349)])_0x48ee15[_0x451144(0x3e8)]();this[_0x451144(0x314)]&&this['_textBubble'][_0x451144(0x3e8)](),this[_0x451144(0x37c)]&&this[_0x451144(0x37c)][_0x451144(0x3e8)](),this[_0x451144(0x20b)]&&this[_0x451144(0x20b)][_0x451144(0x3e8)](),this[_0x451144(0x3f0)]&&this[_0x451144(0x3f0)]();}[_0x263a40(0x260)](){const _0x319acd=_0x263a40;var _0x521ea4;const {_docSkeleton:_0x22d2ad,_document:_0x12390e}=this,{color:_0x359b21,name:_0x93cafb,ranges:_0xa96686}=this['_cursor'],_0x30ccee=_0x12390e[_0x319acd(0x39a)](),{docsLeft:_0x20a208,docsTop:_0xee43e3}=_0x30ccee,_0x13519b=new _0x4e1317['NodePositionConvertToCursor'](_0x30ccee,_0x22d2ad);for(const {startOffset:_0x4ccc69,endOffset:_0x1d662f,rangeType:_0x162c2e,segmentId:_0xf626a3,segmentPage:_0x3db839,collapsed:_0x22158d,isActive:_0x475b1d}of _0xa96686){const _0x369077=_0x22d2ad[_0x319acd(0x1f7)](_0x4ccc69,!0x0,_0xf626a3,_0x3db839);let _0x16d4ff=_0x22d2ad[_0x319acd(0x1f7)](_0x1d662f,!0x0,_0xf626a3,_0x3db839);if(_0x16d4ff==null&&(_0x16d4ff=_0x22d2ad[_0x319acd(0x1f7)](_0x1d662f-0x1,!0x1,_0xf626a3,_0x3db839)),_0x475b1d){const {contentBoxPointGroup:_0x7eddfd}=_0x13519b['getRangePointData'](_0x16d4ff,_0x16d4ff);if(_0x7eddfd[_0x319acd(0x22c)]===0x0)continue;this[_0x319acd(0x3cb)](_0x359b21,_0x7eddfd,_0x20a208,_0xee43e3,_0x93cafb),this[_0x319acd(0x3f0)]=this[_0x319acd(0x405)]();}if(_0x369077&&_0x16d4ff){if(_0x162c2e===_0x2c2192[_0x319acd(0x3c3)][_0x319acd(0x386)]){const _0x19241b=new _0x4e1317['NodePositionConvertToRectRange'](_0x30ccee,_0x22d2ad),{pointGroup:_0x323a28}=(_0x521ea4=_0x19241b['getRangePointData'](_0x369077,_0x16d4ff))!=null?_0x521ea4:{};if(_0x323a28==null||_0x323a28[_0x319acd(0x22c)]===0x0)continue;this['_drawRectRange'](_0x359b21,_0x323a28,_0x20a208,_0xee43e3);}else{if(!_0x22158d){const {borderBoxPointGroup:_0x2ba4fb}=_0x13519b[_0x319acd(0x27e)](_0x369077,_0x16d4ff);if(_0x2ba4fb[_0x319acd(0x22c)]===0x0)continue;this['_drawTextRange'](_0x359b21,_0x2ba4fb,_0x20a208,_0xee43e3);}}}}}[_0x263a40(0x3cb)](_0x347f3b,_0x4ebbff,_0xe91c5a,_0x2e9fa3,_0x58da3e){const _0x1aaac6=_0x263a40,_0x380e37=this[_0x1aaac6(0x1f4)](_0x4ebbff),{left:_0x57bcb8,top:_0x52c81d,height:_0x4d768f}=_0x380e37,_0x684652=this[_0x1aaac6(0x2b8)](),_0x38361f=_0x3741f0/_0x684652,_0x8a87e5=new _0xeac254['Rect'](_0x1c4795+_0x2c2192[_0x1aaac6(0x3a8)](_0x25e6ac),{'left':_0x57bcb8+_0xe91c5a-_0x38361f,'top':_0x52c81d+_0x2e9fa3,'height':_0x4d768f,'width':_0x3da27b,'fill':_0x347f3b||_0xeac254[_0x1aaac6(0x371)](_0x2c2192[_0x1aaac6(0x389)][_0x1aaac6(0x206)],0x0),'strokeWidth':_0x38361f,'stroke':_0x1143ed,'evented':!0x0});this[_0x1aaac6(0x20b)]=_0x8a87e5,this[_0x1aaac6(0x301)][_0x1aaac6(0x3bc)](_0x8a87e5,_0x4e1317[_0x1aaac6(0x28d)]);const _0x15e972=new _0xeac254[(_0x1aaac6(0x353))](_0x1c4795+_0x2c2192[_0x1aaac6(0x3a8)](_0x25e6ac),{'left':_0x57bcb8+_0xe91c5a-_0x38361f,'top':_0x52c81d+_0x2e9fa3-_0x2a0d60/0x2,'height':_0x2a0d60,'width':_0x2a0d60,'fill':_0x347f3b||_0xeac254['getColor'](_0x2c2192[_0x1aaac6(0x389)][_0x1aaac6(0x206)],0x0),'strokeWidth':0x0,'stroke':_0x347f3b||_0xeac254['getColor'](_0x2c2192[_0x1aaac6(0x389)]['black'],0x0),'evented':!0x1});this[_0x1aaac6(0x37c)]=_0x15e972,this[_0x1aaac6(0x301)][_0x1aaac6(0x3bc)](_0x15e972,_0x4e1317[_0x1aaac6(0x28d)]);const _0x12d22b=new _0x491ac9(_0x1c4795+_0x2c2192[_0x1aaac6(0x3a8)](_0x25e6ac),{'left':_0x57bcb8+_0xe91c5a-_0x38361f,'top':_0x52c81d+_0x2e9fa3-_0x2d0218,'text':_0x58da3e,'color':_0x347f3b});this[_0x1aaac6(0x314)]=_0x12d22b,this['_scene'][_0x1aaac6(0x3bc)](_0x12d22b,_0x4e1317['TEXT_RANGE_LAYER_INDEX']),this[_0x1aaac6(0x335)]=!0x1;}['_handleHover'](){const _0x168188=_0x263a40,_0x159905=this['_anchor'][_0x168188(0x226)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x53478e=this[_0x168188(0x20b)][_0x168188(0x1a0)][_0x168188(0x34a)](()=>{const _0x350b10=_0x168188;this[_0x350b10(0x32a)]&&clearTimeout(this[_0x350b10(0x32a)]),this[_0x350b10(0x32a)]=setTimeout(()=>{const _0xf1e203=_0x350b10;this[_0xf1e203(0x335)]=!0x1;},0x7d0);});return()=>{_0x159905['unsubscribe'](),_0x53478e['unsubscribe']();};}[_0x263a40(0x276)](_0x517ee7,_0x4075af,_0x3c0df9,_0x351343){const _0x5085ff=_0x263a40,_0xc6321c=new _0x2c2192['ColorKit'](_0x517ee7)[_0x5085ff(0x3dc)](0.2)[_0x5085ff(0x34e)](),_0x44aa9c=new _0xeac254[(_0x5085ff(0x280))](_0x40ff89+_0x2c2192[_0x5085ff(0x3a8)](_0x25e6ac),{'pointsGroup':_0x4075af,'fill':_0xc6321c||_0xeac254[_0x5085ff(0x371)](_0x2c2192[_0x5085ff(0x389)][_0x5085ff(0x206)],0.2),'left':_0x3c0df9,'top':_0x351343,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5085ff(0x349)][_0x5085ff(0x367)](_0x44aa9c),this[_0x5085ff(0x301)]['addObject'](_0x44aa9c,_0x4e1317[_0x5085ff(0x28d)]);}[_0x263a40(0x1bc)](_0x287c70,_0x15e500,_0x1df1c7,_0x818680){const _0x5f20ef=_0x263a40,_0x29d485=new _0x2c2192[(_0x5f20ef(0x3ca))](_0x287c70)[_0x5f20ef(0x3dc)](0.2)[_0x5f20ef(0x34e)](),_0x496ab5=new _0xeac254['RegularPolygon'](_0x3e4bbc+_0x2c2192[_0x5f20ef(0x3a8)](_0x25e6ac),{'pointsGroup':_0x15e500,'fill':_0x29d485||_0xeac254[_0x5f20ef(0x371)](_0x2c2192[_0x5f20ef(0x389)][_0x5f20ef(0x206)],0.2),'left':_0x1df1c7,'top':_0x818680,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5f20ef(0x349)]['push'](_0x496ab5),this[_0x5f20ef(0x301)][_0x5f20ef(0x3bc)](_0x496ab5,_0x4e1317['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x1bcceb){const _0x43a1bd=_0x1bcceb[0x0],_0x3b8d8e=_0x43a1bd[0x0],_0x59678a=_0x43a1bd[0x2],{x:_0x2839c1,y:_0x43c114}=_0x3b8d8e,{x:_0x558a62,y:_0x243cc9}=_0x59678a;return{'left':_0x2839c1,'top':_0x43c114,'width':_0x558a62-_0x2839c1,'height':_0x243cc9-_0x43c114};}[_0x263a40(0x2b8)](){const _0x12f013=_0x263a40,{scaleX:_0x3c40eb,scaleY:_0x397451}=this[_0x12f013(0x301)][_0x12f013(0x3bb)]();return Math['max'](_0x3c40eb,_0x397451);}}var _0x266843=Object[_0x263a40(0x2bc)],_0x3408be=(_0x1f7bd3,_0x319df4,_0x2c0b90,_0x1d6a23)=>{const _0x7703e6=_0x263a40;for(var _0x2d54a2=_0x1d6a23>0x1?void 0x0:_0x1d6a23?_0x266843(_0x319df4,_0x2c0b90):_0x319df4,_0x35910e=_0x1f7bd3[_0x7703e6(0x22c)]-0x1,_0x881d99;_0x35910e>=0x0;_0x35910e--)(_0x881d99=_0x1f7bd3[_0x35910e])&&(_0x2d54a2=_0x881d99(_0x2d54a2)||_0x2d54a2);return _0x2d54a2;},_0x48cb85=(_0x4df8eb,_0x550dd5)=>(_0x3816f6,_0x4af5ac)=>_0x550dd5(_0x3816f6,_0x4af5ac,_0x4df8eb);let _0x19f8bd=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x408e45,_0x2670af,_0x56f682,_0x535e65,_0x530665){const _0x31aad1=_0x263a40;super(),_0x193c38(this,'_cursorShapes',[]),_0x193c38(this,_0x31aad1(0x22f),[]),(this[_0x31aad1(0x3e0)]=_0x408e45,this[_0x31aad1(0x22b)]=_0x2670af,this['_collabCursorController']=_0x56f682,this['_commandService']=_0x535e65,this['_themeService']=_0x530665,this[_0x31aad1(0x3b5)]());}[_0x263a40(0x3b5)](){const _0x3fea46=_0x263a40,_0xbf9ecf=this[_0x3fea46(0x3e0)][_0x3fea46(0x1a7)],_0x31ecf8=this['_docSkeletonManagerService'];this[_0x3fea46(0x1af)](_0x39a97e[_0x3fea46(0x33d)]([this[_0x3fea46(0x2fb)]['getCollabCursors$'](_0xbf9ecf),this[_0x3fea46(0x2a9)]['currentTheme$']])['pipe'](_0x5e9058['map'](([_0x5492e1,_0x366857])=>({'skeleton':_0x31ecf8[_0x3fea46(0x269)](),'cursors':[..._0x5492e1[_0x3fea46(0x38b)]()][_0x3fea46(0x24b)](_0x31cf4f=>({..._0x31cf4f,'color':this[_0x3fea46(0x2a9)][_0x3fea46(0x3f2)](_0x31cf4f[_0x3fea46(0x2bd)])}))})))[_0x3fea46(0x26a)](_0x5b6b3c=>{const _0x4efd31=_0x3fea46;if(this[_0x4efd31(0x33e)](),_0x5b6b3c){const {skeleton:_0x575072,cursors:_0x680bbe}=_0x5b6b3c;this[_0x4efd31(0x256)](_0x575072,_0x680bbe);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x263a40(0x256)](_0x22c685,_0x1079ba){const _0x134b41=_0x263a40,{scene:_0x44d331,mainComponent:_0x5dd774}=this[_0x134b41(0x3e0)],_0x9e3d5b=_0x1079ba[_0x134b41(0x201)](_0x3c74c1=>new _0x4bd98b(_0x3c74c1,_0x44d331,_0x22c685,_0x5dd774));this[_0x134b41(0x25f)]=_0x9e3d5b,this['_cursors']=_0x1079ba;}[_0x263a40(0x358)](){const _0xde6b6=_0x263a40;this[_0xde6b6(0x33e)]();const {scene:_0x2892cb,mainComponent:_0x3ed4ce}=this['_context'],_0x4c43f4=this[_0xde6b6(0x22b)][_0xde6b6(0x269)](),_0x2353b8=this['_cursors'][_0xde6b6(0x201)](_0x57a3cc=>new _0x4bd98b(_0x57a3cc,_0x2892cb,_0x4c43f4,_0x3ed4ce));this[_0xde6b6(0x25f)]=_0x2353b8;}[_0x263a40(0x33e)](){const _0x674feb=_0x263a40;this[_0x674feb(0x25f)][_0x674feb(0x34f)](_0x9bf403=>_0x9bf403['dispose']()),this[_0x674feb(0x25f)]=[];}[_0x263a40(0x3f1)](){const _0x5410b7=_0x263a40,_0x32b382=[_0x4e1317[_0x5410b7(0x19d)]['id']];this[_0x5410b7(0x1af)](this[_0x5410b7(0x361)][_0x5410b7(0x249)](_0x2562af=>{const _0x285dcf=_0x5410b7;_0x32b382[_0x285dcf(0x3ad)](_0x2562af['id'])&&_0x2562af[_0x285dcf(0x439)]['unitId']===this[_0x285dcf(0x3e0)][_0x285dcf(0x1a7)]&&this[_0x285dcf(0x358)]();}));}[_0x263a40(0x1b9)](){const _0x4107e4=_0x263a40;this[_0x4107e4(0x1af)](_0x2c2192['fromEventSubject'](this['_context'][_0x4107e4(0x1f8)][_0x4107e4(0x31b)])[_0x4107e4(0x306)](_0x5e9058[_0x4107e4(0x3a1)](_0x457df6=>_0x457df6[_0x4107e4(0x41a)]===_0xeac254['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4107e4(0x3b3)]),_0x5e9058[_0x4107e4(0x416)](0x10))[_0x4107e4(0x26a)](()=>{this['_refreshCollabCursors']();}));}};_0x19f8bd=_0x3408be([_0x48cb85(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x28f6a3['DocSkeletonManagerService'])),_0x48cb85(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x289b74)),_0x48cb85(0x3,_0x2c2192[_0x263a40(0x259)]),_0x48cb85(0x4,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x3eb)]))],_0x19f8bd);const _0x1f0748=0x1,_0x30708d=1.5;class _0x9e04ec extends _0xeac254[_0x263a40(0x283)]{constructor(_0x3cee51,_0x25a8e9){const _0x36202a=_0x263a40;super(_0x3cee51,_0x25a8e9),_0x193c38(this,_0x36202a(0x2c5)),_0x193c38(this,'_hovered',!0x1),_0x193c38(this,'_range'),_0x193c38(this,_0x36202a(0x2e0),''),_0x193c38(this,_0x36202a(0x29f),_0x36202a(0x1d4)),_0x193c38(this,'_backgroundColor'),(_0x25a8e9&&this['setShapeProps'](_0x25a8e9),this['onPointerEnter$'][_0x36202a(0x34a)](()=>this[_0x36202a(0x3b8)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x36202a(0x3b8)]({'hovered':!0x1})));}[_0x263a40(0x3b8)](_0x31e1c9){const _0x398dfa=_0x263a40;var _0x28f72b,_0x57e0af,_0x3e39d6,_0x56a60f,_0x2268b9,_0x238a83;this[_0x398dfa(0x2c5)]=(_0x28f72b=_0x31e1c9[_0x398dfa(0x2bd)])!=null?_0x28f72b:this[_0x398dfa(0x2c5)],this[_0x398dfa(0x24c)]=(_0x57e0af=_0x31e1c9[_0x398dfa(0x21d)])!=null?_0x57e0af:this[_0x398dfa(0x24c)],this[_0x398dfa(0x2ae)]=(_0x3e39d6=_0x31e1c9[_0x398dfa(0x2a3)])!=null?_0x3e39d6:this['_range'],this[_0x398dfa(0x2e0)]=(_0x56a60f=_0x31e1c9[_0x398dfa(0x3d8)])!=null?_0x56a60f:this['_name'],this[_0x398dfa(0x29f)]=(_0x2268b9=_0x31e1c9[_0x398dfa(0x1b7)])!=null?_0x2268b9:this[_0x398dfa(0x29f)],this[_0x398dfa(0x32f)]=(_0x238a83=_0x31e1c9['backgroundColor'])!=null?_0x238a83:this[_0x398dfa(0x32f)],this[_0x398dfa(0x393)]({'width':_0x31e1c9[_0x398dfa(0x3c8)],'height':_0x31e1c9[_0x398dfa(0x1ee)]});}[_0x263a40(0x239)](_0x21a3ed){const _0x5232cf=_0x263a40,{row:_0x3510f8,column:_0x35fb8a}=_0x21a3ed;if(_0x3510f8>=this['_range']['startRow']&&_0x3510f8<=this[_0x5232cf(0x2ae)][_0x5232cf(0x31f)]&&_0x35fb8a>=this[_0x5232cf(0x2ae)][_0x5232cf(0x3a7)]&&_0x35fb8a<=this[_0x5232cf(0x2ae)][_0x5232cf(0x3b4)]){this[_0x5232cf(0x3b8)]({'hovered':!0x0});return;}this[_0x5232cf(0x3b8)]({'hovered':!0x1});}[_0x263a40(0x1d0)](_0x45ed8c){return!0x1;}[_0x263a40(0x20f)](_0xd5b6eb){const _0x224f51=_0x263a40;_0xeac254[_0x224f51(0x353)][_0x224f51(0x429)](_0xd5b6eb,{'width':this[_0x224f51(0x3c8)],'height':this[_0x224f51(0x1ee)],'strokeWidth':_0x30708d,'stroke':this[_0x224f51(0x2c5)],'evented':!0x1,'fill':this[_0x224f51(0x32f)]}),this[_0x224f51(0x24c)]&&(_0xd5b6eb['save'](),_0xd5b6eb['transform'](0x1,0x0,0x0,0x1,this[_0x224f51(0x3c8)],this['_labelPosition']==='bottom'?0x0:-_0x2d0218),_0x491ac9[_0x224f51(0x429)](_0xd5b6eb,{'text':this[_0x224f51(0x2e0)],'color':this[_0x224f51(0x2c5)]}),_0xd5b6eb[_0x224f51(0x372)]());}}var _0x3b39d5=Object['getOwnPropertyDescriptor'],_0x21c05c=(_0x2d6e23,_0x129b9f,_0x39b08e,_0x492031)=>{for(var _0x31fdaa=_0x492031>0x1?void 0x0:_0x492031?_0x3b39d5(_0x129b9f,_0x39b08e):_0x129b9f,_0x178ca4=_0x2d6e23['length']-0x1,_0x2121b5;_0x178ca4>=0x0;_0x178ca4--)(_0x2121b5=_0x2d6e23[_0x178ca4])&&(_0x31fdaa=_0x2121b5(_0x31fdaa)||_0x31fdaa);return _0x31fdaa;},_0xd327dc=(_0x5033fa,_0x213bd4)=>(_0x4ea4f1,_0x57c32c)=>_0x213bd4(_0x4ea4f1,_0x57c32c,_0x5033fa);const _0x2d56f0=0x1389;let _0x429464=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x90a923,_0x33b0dc,_0x6eafe8,_0x3520fc){const _0xf28860=_0x263a40;super(),_0x193c38(this,_0xf28860(0x22f),new Set()),_0x193c38(this,_0xf28860(0x212),null),(this[_0xf28860(0x3e0)]=_0x90a923,this[_0xf28860(0x266)]=_0x33b0dc,this['_collabCursorController']=_0x6eafe8,this[_0xf28860(0x2a9)]=_0x3520fc,this['_init']());}[_0x263a40(0x3b5)](){const _0x209629=_0x263a40;this[_0x209629(0x266)][_0x209629(0x1b4)][_0x209629(0x306)](_0x5e9058[_0x209629(0x2f3)](this[_0x209629(0x313)]),_0x5e9058['switchMap'](_0x446e72=>{const _0x1cc569=_0x209629;if(_0x446e72){const _0x15eead=_0x446e72[_0x1cc569(0x380)];return _0x39a97e[_0x1cc569(0x33d)](this[_0x1cc569(0x2fb)][_0x1cc569(0x433)](this['_context'][_0x1cc569(0x1a7)]),this[_0x1cc569(0x2a9)][_0x1cc569(0x2b1)])['pipe'](_0x5e9058['map'](([_0xfaf032,_0x1986ef])=>{const _0x155dfd=_0x1cc569,_0x2e0797=new Map();return _0xfaf032[_0x155dfd(0x34f)]((_0x32d6f0,_0x50763f)=>{const _0x1ae07f=_0x155dfd;if(_0x32d6f0[_0x1ae07f(0x394)]===_0x15eead){const _0x4af0c5={..._0x32d6f0};_0x4af0c5[_0x1ae07f(0x2bd)]=this['_themeService'][_0x1ae07f(0x3f2)](_0x32d6f0[_0x1ae07f(0x2bd)]),_0x2e0797[_0x1ae07f(0x2d9)](_0x50763f,_0x4af0c5);}}),{'skeleton':_0x446e72,'cursors':_0x2e0797};}));}return _0x39a97e['of']({'skeleton':null,'cursors':new Map()});}))[_0x209629(0x26a)](({skeleton:_0x286400,cursors:_0x367202})=>{const _0x2d0b98=_0x209629;this[_0x2d0b98(0x33e)](),_0x286400&&this['_updateCollabCursors'](_0x286400,_0x367202);}),this[_0x209629(0x266)][_0x209629(0x1b4)][_0x209629(0x26a)](_0x4d7b14=>{const _0x5505e8=_0x209629;if(_0x4d7b14==null)return;const {skeleton:_0x2f7f91}=_0x4d7b14,{scene:_0x212eec}=this[_0x5505e8(0x3e0)];_0x212eec['onPointerMove$'][_0x5505e8(0x34a)](_0x2c2192['debounce'](_0x53d175=>{const _0x50902e=_0x5505e8;var _0x710b07,_0xf18eee;const {offsetX:_0x5e8f17,offsetY:_0xbb76b3}=_0x53d175,{x:_0x463694,y:_0x62c89a}=_0x212eec['getRelativeToViewportCoord'](_0xeac254[_0x50902e(0x2a4)]['FromArray']([_0x5e8f17,_0xbb76b3])),{scaleX:_0x47de78,scaleY:_0x4e1d1b}=_0x212eec[_0x50902e(0x3bb)](),_0x374752=_0x212eec['getViewport'](_0xeac254[_0x50902e(0x2f4)][_0x50902e(0x3c1)]),_0x23b367=_0x212eec[_0x50902e(0x37e)](_0xeac254[_0x50902e(0x2a4)][_0x50902e(0x2bb)]([_0x463694,_0x62c89a]),_0x374752),_0x2ead64=_0x2f7f91[_0x50902e(0x2be)](_0x5e8f17,_0xbb76b3,_0x47de78,_0x4e1d1b,_0x23b367);((_0x710b07=this['_lastPointer'])==null?void 0x0:_0x710b07['column'])===_0x2ead64[_0x50902e(0x290)]&&((_0xf18eee=this[_0x50902e(0x212)])==null?void 0x0:_0xf18eee[_0x50902e(0x26b)])===_0x2ead64[_0x50902e(0x26b)]||this['_cursors'][_0x50902e(0x34f)](_0x3b3ff2=>{const _0x47a675=_0x50902e;_0x3b3ff2[_0x47a675(0x239)](_0x2ead64);});},0x64));});}['_updateCollabCursors'](_0x4f6455,_0xd42bf4){const _0x4df0d3=_0x263a40;var _0xaf102;const _0x3e7eeb=(_0xaf102=this[_0x4df0d3(0x266)]['getCurrent']())==null?void 0x0:_0xaf102[_0x4df0d3(0x3e1)];if(!_0x3e7eeb)return;const _0x439156=this[_0x4df0d3(0x2a8)]();if(!_0x439156)return;this[_0x4df0d3(0x22f)]['forEach'](_0x1bbf20=>{_0x1bbf20['makeDirty']();});const {scene:_0x4356c8}=_0x439156,_0x33d233=_0x4a3363(Array[_0x4df0d3(0x1ab)](_0xd42bf4[_0x4df0d3(0x38b)]()))[_0x4df0d3(0x201)](_0x2bd7bb=>{const _0x77cd70=_0x4df0d3,{color:_0x50475d,range:_0x2718ee,name:_0x1bb2de,selection:_0x5029a7,sheetID:_0x4748c7}=_0x2bd7bb,{startColumn:_0x5bf234,startRow:_0x3a36f5,endColumn:_0x388ea6,endRow:_0xb3614a}=_0x2718ee,_0x39ff55=_0x5b36e4['getCoordByCell'](_0x3a36f5,_0x5bf234,_0x4356c8,_0x3e7eeb),_0x56cfdf=_0x5b36e4[_0x77cd70(0x1b3)](_0xb3614a,_0x388ea6,_0x4356c8,_0x3e7eeb),{columnHeaderHeightAndMarginTop:_0x24780d}=_0x3e7eeb,{startX:_0x450f5a,startY:_0x551ff3}=_0x39ff55,{endX:_0x2448c3,endY:_0x1f2b11}=_0x56cfdf,_0xcecb76=_0x2448c3-_0x450f5a,_0x5a49b2=_0x1f2b11-_0x551ff3,_0x1093b2={'labelPosition':_0x551ff3-_0x24780d>=_0x2d0218?'top':_0x77cd70(0x20a),'sheetID':_0x4748c7,'range':_0x2718ee,'color':_0x50475d,'name':_0x1bb2de,'selection':_0x5029a7,'left':_0x450f5a,'top':_0x551ff3,'width':_0xcecb76,'height':_0x5a49b2,'evented':!0x1,'zIndex':_0x2d56f0};return new _0x9e04ec(_0x1bb2de,_0x1093b2);});_0x4356c8['addObjects'](_0x33d233,_0x1f0748),this[_0x4df0d3(0x22f)]=new Set(_0x33d233);}[_0x263a40(0x33e)](){const _0x3f2bbd=_0x263a40;var _0xdbd9d0;(_0xdbd9d0=this[_0x3f2bbd(0x22f)])==null||_0xdbd9d0['forEach'](_0x1f3d39=>_0x1f3d39[_0x3f2bbd(0x3e8)]());}[_0x263a40(0x2a8)](){const _0x55d705=_0x263a40;return _0x5b36e4['getSheetObject'](this[_0x55d705(0x3e0)][_0x55d705(0x1c9)],this[_0x55d705(0x3e0)]);}};_0x429464=_0x21c05c([_0xd327dc(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x5b36e4[_0x263a40(0x25d)])),_0xd327dc(0x2,_0x2c2192['Inject'](_0x289b74)),_0xd327dc(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x3eb)]))],_0x429464);function _0x4a3363(_0x3a6235){const _0xed1eb4=_0x263a40,_0x458bee=new Map();return _0x3a6235[_0xed1eb4(0x34f)](_0x447197=>{const _0x8d98f5=_0xed1eb4;if(_0x458bee['has'](_0x447197[_0x8d98f5(0x2cd)])){const _0x1178eb=_0x458bee[_0x8d98f5(0x378)](_0x447197['selection']);_0x1178eb[_0x8d98f5(0x3d8)]+=',\x20'+_0x447197['name'];}else _0x458bee[_0x8d98f5(0x2d9)](_0x447197[_0x8d98f5(0x2cd)],_0x447197);}),Array['from'](_0x458bee[_0xed1eb4(0x38b)]());}var _0x4432d5=Object[_0x263a40(0x2bc)],_0x2f8c9b=(_0x4d9a5f,_0xd16ea3,_0x1630a2,_0x1e0ea0)=>{const _0x58c213=_0x263a40;for(var _0x1d3437=_0x1e0ea0>0x1?void 0x0:_0x1e0ea0?_0x4432d5(_0xd16ea3,_0x1630a2):_0xd16ea3,_0x5e4b59=_0x4d9a5f[_0x58c213(0x22c)]-0x1,_0x40a3fe;_0x5e4b59>=0x0;_0x5e4b59--)(_0x40a3fe=_0x4d9a5f[_0x5e4b59])&&(_0x1d3437=_0x40a3fe(_0x1d3437)||_0x1d3437);return _0x1d3437;},_0x313f8d=(_0x3616a9,_0x4df7e7)=>(_0x5c7775,_0x709da)=>_0x4df7e7(_0x5c7775,_0x709da,_0x3616a9);let _0x753b4=class extends _0x2c2192[_0x263a40(0x2e1)]{constructor(_0x49b810,_0xbce0be,_0x3f2239,_0x20901e,_0xd16b67,_0x30dd08){const _0x23804d=_0x263a40;super(),this[_0x23804d(0x350)]=_0x49b810,this[_0x23804d(0x264)]=_0xbce0be,this['_collaborationUIEventService']=_0x3f2239,this[_0x23804d(0x37b)]=_0x20901e,this[_0x23804d(0x42d)]=_0xd16b67,this['_localeService']=_0x30dd08,this[_0x23804d(0x265)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x1d7f20=_0x263a40;this[_0x1d7f20(0x1af)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x32caaa=_0x1d7f20;if(this[_0x32caaa(0x264)]['saveTaskMap'][_0x32caaa(0x1e5)])return this[_0x32caaa(0x42f)]['t'](_0x32caaa(0x364));}));}['_initEvent'](){const _0x24a782=_0x263a40;this[_0x24a782(0x1af)](this[_0x24a782(0x379)]['event$'][_0x24a782(0x26a)](_0x47aeaf=>{const _0x57b7d9=_0x24a782;_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)][_0x57b7d9(0x41d)]&&this['_messageService'][_0x57b7d9(0x2e8)]({'type':_0x4f24da['MessageType'][_0x57b7d9(0x227)],'content':this[_0x57b7d9(0x42f)]['t']('collaboration.single-unit.warning')}),_0x47aeaf['id']===_0x3b3567['CollaborationUIEventId'][_0x57b7d9(0x300)]&&this[_0x57b7d9(0x37b)]['show']({'type':_0x4f24da[_0x57b7d9(0x3bd)][_0x57b7d9(0x227)],'content':this[_0x57b7d9(0x42f)]['t']('collaboration.closeRoom')}),_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)]['PERMISSION_DENIED']&&this[_0x57b7d9(0x42d)]['show']({'title':this[_0x57b7d9(0x42f)]['t']('permission.title'),'content':this[_0x57b7d9(0x42f)]['t'](_0x57b7d9(0x35a)),'type':'error','duration':0x0}),_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)][_0x57b7d9(0x1de)]&&this[_0x57b7d9(0x37b)]['show']({'type':_0x4f24da['MessageType'][_0x57b7d9(0x1cf)],'content':this[_0x57b7d9(0x42f)]['t'](_0x57b7d9(0x272))+'('+_0x47aeaf[_0x57b7d9(0x1bb)]+')'}),_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)]['JOIN_ROOM_FAILED']&&this[_0x57b7d9(0x37b)]['show']({'type':_0x4f24da[_0x57b7d9(0x3bd)]['Warning'],'content':this['_localeService']['t'](_0x47aeaf[_0x57b7d9(0x1bb)]||'')}),_0x47aeaf['id']===_0x3b3567['CollaborationUIEventId'][_0x57b7d9(0x2f9)]&&this['_messageService'][_0x57b7d9(0x2e8)]({'type':_0x4f24da['MessageType'][_0x57b7d9(0x227)],'content':this['_localeService']['t'](_0x57b7d9(0x36c))}),_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)][_0x57b7d9(0x3f5)]&&this['_messageService'][_0x57b7d9(0x2e8)]({'type':_0x4f24da['MessageType'][_0x57b7d9(0x1cf)],'content':this[_0x57b7d9(0x42f)]['t'](_0x57b7d9(0x31c))}),_0x47aeaf['id']===_0x3b3567['CollaborationUIEventId'][_0x57b7d9(0x3a9)]&&this[_0x57b7d9(0x37b)][_0x57b7d9(0x2e8)]({'type':_0x4f24da[_0x57b7d9(0x3bd)][_0x57b7d9(0x1cf)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x753b4=_0x2f8c9b([_0x313f8d(0x0,_0x214f56[_0x263a40(0x238)]),_0x313f8d(0x1,_0x3b3567[_0x263a40(0x1dd)]),_0x313f8d(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x1ea)])),_0x313f8d(0x3,_0x214f56[_0x263a40(0x1b0)]),_0x313f8d(0x4,_0x214f56[_0x263a40(0x237)]),_0x313f8d(0x5,_0x2c2192['Inject'](_0x2c2192[_0x263a40(0x325)]))],_0x753b4);const _0x5b003e=_0x263a40(0x251),_0x4467d8={};var _0x3aedf5=Object[_0x263a40(0x2bc)],_0x1900aa=(_0x469319,_0x520a51,_0x330c7e,_0x27b6cf)=>{const _0x40d2df=_0x263a40;for(var _0x437037=_0x27b6cf>0x1?void 0x0:_0x27b6cf?_0x3aedf5(_0x520a51,_0x330c7e):_0x520a51,_0x255fb2=_0x469319[_0x40d2df(0x22c)]-0x1,_0x448eb8;_0x255fb2>=0x0;_0x255fb2--)(_0x448eb8=_0x469319[_0x255fb2])&&(_0x437037=_0x448eb8(_0x437037)||_0x437037);return _0x437037;},_0x5242bd=(_0x1dad5d,_0x376f0f)=>(_0x486191,_0x48c033)=>_0x376f0f(_0x486191,_0x48c033,_0x1dad5d);let _0x48d330=class{constructor(_0x45ceaa,_0x36728f){this['_transformService']=_0x45ceaa,this['_renderManagerService']=_0x36728f;}[_0x263a40(0x258)](_0x23fedd){const _0x2dd599=_0x263a40;this[_0x2dd599(0x336)](_0x23fedd),this[_0x2dd599(0x3ef)](_0x23fedd);}[_0x263a40(0x241)](_0x3ec7ae){const _0x276c44=_0x263a40,{unitID:_0x1efcdc}=_0x3ec7ae,_0x28073e=this['_renderManagerService'][_0x276c44(0x41c)](_0x1efcdc)[_0x276c44(0x19b)](_0x4e1317[_0x276c44(0x28f)]),{redoCache:_0x587772}=_0x28073e[_0x276c44(0x1aa)]();if(_0x587772['length']===0x0)return _0x3ec7ae;let _0x296024=_0x2c2192[_0x276c44(0x3cf)]['deepClone'](_0x3ec7ae['mutations'][0x0]);for(let _0x5124d5=0x0;_0x5124d5<_0x587772['length'];_0x5124d5++){const _0x49ff1e={'id':_0x276c44(0x323),'params':{..._0x587772[_0x5124d5]}},_0x348c23=this[_0x276c44(0x42c)][_0x276c44(0x39e)](_0x296024,_0x49ff1e,!0x1);if(_0x542b31[_0x276c44(0x39f)](_0x348c23))throw _0x348c23[_0x276c44(0x423)];_0x296024=_0x348c23[_0x276c44(0x1ba)];}return{..._0x2c2192['Tools'][_0x276c44(0x3d6)](_0x3ec7ae),'mutations':[_0x296024]};}[_0x263a40(0x336)](_0x2d0332){const _0x26f42f=_0x263a40,{unitID:_0x4c8106}=_0x2d0332,_0x1e8577=this['_renderManagerService'][_0x26f42f(0x41c)](_0x4c8106)[_0x26f42f(0x19b)](_0x4e1317['DocIMEInputManagerService']),{undoCache:_0x5829e5,redoCache:_0x136c9d}=_0x1e8577[_0x26f42f(0x1aa)]();if(_0x5829e5['length']===0x0||_0x136c9d[_0x26f42f(0x22c)]===0x0)return;const _0x175cbf=[],_0x42f2f3=[];let _0x2aa9d1=_0x2c2192['Tools'][_0x26f42f(0x3d6)](_0x2d0332[_0x26f42f(0x22e)][0x0]),_0x3ff58c=_0x2c2192[_0x26f42f(0x3cf)]['deepClone'](_0x2d0332['mutations'][0x0]);for(let _0xe2e7e2=_0x5829e5['length']-0x1;_0xe2e7e2>=0x0;_0xe2e7e2--){const _0x58f1b0={'id':_0x26f42f(0x323),'params':{..._0x5829e5[_0xe2e7e2]}},_0x3d6105={'id':_0x26f42f(0x323),'params':{..._0x136c9d[_0xe2e7e2]}},_0x4167e9=this[_0x26f42f(0x42c)]['transformMutation'](_0x2aa9d1,_0x58f1b0,!0x1),_0x183893=this['_transformService'][_0x26f42f(0x39e)](_0x3ff58c,_0x3d6105,!0x1);if(_0x542b31[_0x26f42f(0x39f)](_0x4167e9))throw _0x4167e9['error'];if(_0x542b31['isTransformMutationFailure'](_0x183893))throw _0x183893[_0x26f42f(0x423)];_0x175cbf[_0x26f42f(0x373)](_0x4167e9[_0x26f42f(0x26f)]['params']),_0x42f2f3[_0x26f42f(0x373)](_0x183893[_0x26f42f(0x26f)][_0x26f42f(0x439)]),_0x2aa9d1=_0x4167e9[_0x26f42f(0x1ba)],_0x3ff58c=_0x183893[_0x26f42f(0x1ba)];}_0x1e8577[_0x26f42f(0x417)]({'undoCache':_0x175cbf,'redoCache':_0x42f2f3});}[_0x263a40(0x3ef)](_0x19ec4a){const _0x1760ba=_0x263a40,{unitID:_0x113acc}=_0x19ec4a,_0x46d412=this[_0x1760ba(0x3b2)][_0x1760ba(0x41c)](_0x113acc)[_0x1760ba(0x19b)](_0x4e1317['DocIMEInputManagerService']),_0x492b98=_0x46d412[_0x1760ba(0x216)]();if(_0x492b98==null)return;const _0x56a872=[{'id':_0x1760ba(0x323),'params':{'unitId':_0x19ec4a[_0x1760ba(0x1c8)],'actions':null,'textRanges':[_0x492b98]}}],_0x3f5737=this[_0x1760ba(0x42c)][_0x1760ba(0x401)](_0x19ec4a,_0x56a872);if(!_0x542b31['isTransformMutationsWithChangesetSuccess'](_0x3f5737))throw _0x3f5737[_0x1760ba(0x423)];const _0x5e3da9=_0x3f5737['m2Prime'][0x0][_0x1760ba(0x439)]['textRanges'];Array[_0x1760ba(0x2ca)](_0x5e3da9)&&_0x5e3da9[_0x1760ba(0x22c)]&&_0x46d412['setActiveRange'](_0x5e3da9[0x0]);}};_0x48d330=_0x1900aa([_0x5242bd(0x0,_0x542b31[_0x263a40(0x1e1)]),_0x5242bd(0x1,_0xeac254[_0x263a40(0x36d)])],_0x48d330);var _0x2001c6=Object[_0x263a40(0x2bc)],_0x278bfc=(_0x3bb895,_0x405aa4,_0x325761,_0x6875a8)=>{const _0xbc2cd4=_0x263a40;for(var _0x54cf74=_0x6875a8>0x1?void 0x0:_0x6875a8?_0x2001c6(_0x405aa4,_0x325761):_0x405aa4,_0x5c0a65=_0x3bb895[_0xbc2cd4(0x22c)]-0x1,_0x43a33b;_0x5c0a65>=0x0;_0x5c0a65--)(_0x43a33b=_0x3bb895[_0x5c0a65])&&(_0x54cf74=_0x43a33b(_0x54cf74)||_0x54cf74);return _0x54cf74;},_0x5418ed=(_0x30201b,_0x829695)=>(_0x4c0832,_0x4b900a)=>_0x829695(_0x4c0832,_0x4b900a,_0x30201b);let _0x2ea084=class{constructor(_0x273396,_0x483056,_0x1a8b33){const _0xd4b4c8=_0x263a40;this[_0xd4b4c8(0x1bd)]=_0x273396,this[_0xd4b4c8(0x42c)]=_0x483056,this[_0xd4b4c8(0x29d)]=_0x1a8b33;}[_0x263a40(0x2df)](_0x3101c8){const _0x23d3c6=_0x263a40;this[_0x23d3c6(0x1ff)](_0x3101c8);}[_0x263a40(0x241)](_0x133af5){const _0x49357e=_0x263a40,{unitID:_0x2847e7}=_0x133af5,{collaboration:_0x3ca8ab}=this[_0x49357e(0x29d)]['getStateCache'](_0x2847e7);if(_0x3ca8ab[_0x49357e(0x22c)]===0x0)return _0x133af5;let _0x2a92e2=_0x2c2192['Tools'][_0x49357e(0x3d6)](_0x133af5[_0x49357e(0x22e)][0x0]);for(let _0x651a34=0x0;_0x651a34<_0x3ca8ab[_0x49357e(0x22c)];_0x651a34++){const _0x38264a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ca8ab[_0x651a34][_0x49357e(0x1a7)],..._0x3ca8ab[_0x651a34][_0x49357e(0x204)]}},_0x3571a2=this[_0x49357e(0x42c)]['transformMutation'](_0x2a92e2,_0x38264a,!0x1);if(_0x542b31[_0x49357e(0x39f)](_0x3571a2))throw _0x3571a2[_0x49357e(0x423)];_0x2a92e2=_0x3571a2[_0x49357e(0x1ba)];}return{..._0x2c2192[_0x49357e(0x3cf)][_0x49357e(0x3d6)](_0x133af5),'mutations':[_0x2a92e2]};}[_0x263a40(0x1ff)](_0x4388f1){const _0x803d44=_0x263a40,{unitID:_0xc2a729}=_0x4388f1,{history:_0x48819e,collaboration:_0x307baf}=this[_0x803d44(0x29d)][_0x803d44(0x2d4)](_0xc2a729);if(_0x48819e[_0x803d44(0x22c)]===0x0&&_0x307baf[_0x803d44(0x22c)]===0x0)return;const _0x1f09a9=[],_0x1cd80a=[];let _0x2bcaf4=_0x2c2192[_0x803d44(0x3cf)][_0x803d44(0x3d6)](_0x4388f1[_0x803d44(0x22e)][0x0]),_0x4423f0=_0x2c2192['Tools'][_0x803d44(0x3d6)](_0x4388f1[_0x803d44(0x22e)][0x0]);for(let _0x1f4022=_0x48819e[_0x803d44(0x22c)]-0x1;_0x1f4022>=0x0;_0x1f4022--){const _0x5ecc98={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x48819e[_0x1f4022][_0x803d44(0x1a7)],..._0x48819e[_0x1f4022]['undoState']}},_0x475cae={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x48819e[_0x1f4022][_0x803d44(0x1a7)],..._0x48819e[_0x1f4022][_0x803d44(0x204)]}},_0x56d393=this[_0x803d44(0x42c)]['transformMutation'](_0x2bcaf4,_0x5ecc98,!0x1),_0x159b71=this[_0x803d44(0x42c)]['transformMutation'](_0x4423f0,_0x475cae,!0x1);if(_0x542b31[_0x803d44(0x39f)](_0x56d393))throw _0x56d393['error'];if(_0x542b31[_0x803d44(0x39f)](_0x159b71))throw _0x159b71['error'];_0x1f09a9[_0x803d44(0x373)]({..._0x48819e[_0x1f4022],'undoState':_0x56d393[_0x803d44(0x26f)]['params'],'redoState':_0x159b71[_0x803d44(0x26f)][_0x803d44(0x439)]}),_0x2bcaf4=_0x56d393[_0x803d44(0x1ba)],_0x4423f0=_0x159b71[_0x803d44(0x1ba)];}_0x2bcaf4=_0x2c2192['Tools']['deepClone'](_0x4388f1[_0x803d44(0x22e)][0x0]),_0x4423f0=_0x2c2192[_0x803d44(0x3cf)]['deepClone'](_0x4388f1['mutations'][0x0]);for(let _0x17d654=_0x307baf[_0x803d44(0x22c)]-0x1;_0x17d654>=0x0;_0x17d654--){const _0x2963c7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x307baf[_0x17d654][_0x803d44(0x1a7)],..._0x307baf[_0x17d654]['undoState']}},_0x48f4c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x307baf[_0x17d654]['unitId'],..._0x307baf[_0x17d654]['redoState']}},_0x2e48d8=this[_0x803d44(0x42c)][_0x803d44(0x39e)](_0x2bcaf4,_0x2963c7,!0x1),_0x519402=this[_0x803d44(0x42c)][_0x803d44(0x39e)](_0x4423f0,_0x48f4c2,!0x1);if(_0x542b31[_0x803d44(0x39f)](_0x2e48d8))throw _0x2e48d8['error'];if(_0x542b31[_0x803d44(0x39f)](_0x519402))throw _0x519402['error'];_0x1cd80a[_0x803d44(0x373)]({..._0x307baf[_0x17d654],'undoState':_0x2e48d8[_0x803d44(0x26f)]['params'],'redoState':_0x519402['m2Prime'][_0x803d44(0x439)]}),_0x2bcaf4=_0x2e48d8[_0x803d44(0x1ba)],_0x4423f0=_0x519402[_0x803d44(0x1ba)];}this['_docStateChangeManagerService'][_0x803d44(0x3d5)](_0xc2a729,{'history':_0x1f09a9,'collaboration':_0x1cd80a});}};_0x2ea084=_0x278bfc([_0x5418ed(0x0,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x5418ed(0x1,_0x542b31[_0x263a40(0x1e1)]),_0x5418ed(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x4e1317['DocStateChangeManagerService']))],_0x2ea084);var _0x133104=Object[_0x263a40(0x2bc)],_0x563192=(_0x37a94f,_0x807170,_0x1a8ffc,_0x10f7d1)=>{const _0x1029e2=_0x263a40;for(var _0x32fd51=_0x10f7d1>0x1?void 0x0:_0x10f7d1?_0x133104(_0x807170,_0x1a8ffc):_0x807170,_0x3669fc=_0x37a94f[_0x1029e2(0x22c)]-0x1,_0x422a8e;_0x3669fc>=0x0;_0x3669fc--)(_0x422a8e=_0x37a94f[_0x3669fc])&&(_0x32fd51=_0x422a8e(_0x32fd51)||_0x32fd51);return _0x32fd51;},_0x1d2ba2=(_0x4bc7cc,_0x582b80)=>(_0x416cce,_0x18da73)=>_0x582b80(_0x416cce,_0x18da73,_0x4bc7cc);let _0x16f9d8=class{constructor(_0x53f9d0,_0x2aae0d){const _0x59a06a=_0x263a40;this[_0x59a06a(0x1bd)]=_0x53f9d0,this[_0x59a06a(0x42c)]=_0x2aae0d;}[_0x263a40(0x343)](_0x11010d){const _0x1db858=_0x263a40;var _0x17e5c4;const _0x2771ae=this['_injector']['get'](_0x28f6a3['DocSelectionManagerService']),_0x2af432=(_0x17e5c4=_0x2771ae['getDocRanges']())!=null?_0x17e5c4:[];if(_0x2af432[_0x1db858(0x22c)]===0x0)return;const _0x217b41=_0x11010d[_0x1db858(0x1c8)],_0x21a5bb=[{'id':_0x1db858(0x323),'params':{'unitId':_0x217b41,'actions':null,'textRanges':_0x2af432}}],_0x2d9cca=this[_0x1db858(0x42c)]['transformMutationsWithChangeset'](_0x11010d,_0x21a5bb);if(!_0x542b31[_0x1db858(0x2dc)](_0x2d9cca))throw _0x2d9cca[_0x1db858(0x423)];const _0x29105e=_0x2d9cca['m2Prime'][0x0][_0x1db858(0x439)]['textRanges'];Array[_0x1db858(0x2ca)](_0x29105e)&&_0x29105e[_0x1db858(0x22c)]&&_0x2771ae[_0x1db858(0x303)](_0x29105e,{'unitId':_0x217b41,'subUnitId':_0x217b41},!0x1);}};_0x16f9d8=_0x563192([_0x1d2ba2(0x0,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x1d2ba2(0x1,_0x542b31[_0x263a40(0x1e1)])],_0x16f9d8);var _0xd53de1=Object[_0x263a40(0x2bc)],_0x248ef9=(_0x52bddc,_0x441c97,_0x33478c,_0x369291)=>{const _0x5e37f5=_0x263a40;for(var _0x15a416=_0x369291>0x1?void 0x0:_0x369291?_0xd53de1(_0x441c97,_0x33478c):_0x441c97,_0x563193=_0x52bddc[_0x5e37f5(0x22c)]-0x1,_0x1511d8;_0x563193>=0x0;_0x563193--)(_0x1511d8=_0x52bddc[_0x563193])&&(_0x15a416=_0x1511d8(_0x15a416)||_0x15a416);return _0x15a416;},_0xabf8eb=(_0x23e249,_0x1d2e55)=>(_0x4c4576,_0xbcd093)=>_0x1d2e55(_0x4c4576,_0xbcd093,_0x23e249);let _0x6d6a66=class extends _0x2c2192['Disposable']{constructor(_0x5cdf92,_0x38746e,_0x3d5ca6,_0xfb9e12,_0x2d7d3a,_0x2c2057,_0x185070,_0x184e08){const _0x4cc359=_0x263a40;super(),_0x193c38(this,'_status$',new _0x39a97e[(_0x4cc359(0x30b))](_0x3b3567[_0x4cc359(0x38e)][_0x4cc359(0x2cf)])),(this['_docStateChangeManagerService']=_0x5cdf92,this[_0x4cc359(0x420)]=_0x38746e,this[_0x4cc359(0x2c7)]=_0x3d5ca6,this[_0x4cc359(0x374)]=_0xfb9e12,this['_docTransformSelectionsService']=_0x2d7d3a,this[_0x4cc359(0x1b2)]=_0x2c2057,this[_0x4cc359(0x37b)]=_0x185070,this[_0x4cc359(0x42f)]=_0x184e08,this[_0x4cc359(0x2fc)]());}[_0x263a40(0x2fc)](){const _0x20da64=_0x263a40;this[_0x20da64(0x1af)](this['_collaborationController']['entityInit$'][_0x20da64(0x26a)](_0x4a999a=>{const _0x24db36=_0x20da64,_0x31300d=this[_0x24db36(0x29d)][_0x24db36(0x209)][_0x24db36(0x26a)](_0x56432f=>{const _0x5c6928=_0x24db36;if(_0x56432f==null)return;const {unitId:_0x57fb1f,redoState:_0x4ddb9d,commandId:_0xdc09b2}=_0x56432f;if(_0x57fb1f!==_0x4a999a[_0x5c6928(0x1c8)])return;const _0x1e19cd={'id':_0xdc09b2,'type':_0x2c2192[_0x5c6928(0x242)][_0x5c6928(0x2c1)],'params':{'unitId':_0x57fb1f,'actions':_0x4ddb9d[_0x5c6928(0x316)],'textRanges':null}};_0x4a999a['onLocalMutation'](_0x1e19cd);});if(_0x4a999a[_0x24db36(0x1af)](_0x31300d),_0x4a999a instanceof _0x3b3567[_0x24db36(0x294)]){const _0x151a99={'onTransformIME':_0xe0edbf=>this['_docTransformIMECacheService'][_0x24db36(0x258)](_0xe0edbf),'onTransformState':_0x3f00e6=>this[_0x24db36(0x374)][_0x24db36(0x2df)](_0x3f00e6),'onTransformSelections':_0x268525=>this[_0x24db36(0x1eb)]['transformSelections'](_0x268525),'onSyncEditingCollabCursor':_0xa00efe=>this['_docSyncEditingCollabCursorService'][_0x24db36(0x3e2)](_0xa00efe),'onTransformRemoteChangesetByIMECache':_0x391758=>this[_0x24db36(0x2c7)]['transformRemoteChangeset'](_0x391758),'onTransformRemoteChangesetByStateCache':_0x150381=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x150381)};_0x4a999a[_0x24db36(0x28a)](_0x151a99);}}));}};_0x6d6a66=_0x248ef9([_0xabf8eb(0x0,_0x2c2192[_0x263a40(0x3d4)](_0x4e1317[_0x263a40(0x2f7)])),_0xabf8eb(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567['CollaborationController'])),_0xabf8eb(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x48d330)),_0xabf8eb(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x2ea084)),_0xabf8eb(0x4,_0x2c2192[_0x263a40(0x3d4)](_0x16f9d8)),_0xabf8eb(0x5,_0x2c2192[_0x263a40(0x3d4)](_0x45dd48)),_0xabf8eb(0x6,_0x214f56[_0x263a40(0x1b0)]),_0xabf8eb(0x7,_0x2c2192['Inject'](_0x2c2192[_0x263a40(0x325)]))],_0x6d6a66);var _0x203e02=Object[_0x263a40(0x2bc)],_0x290888=(_0xa9ef8a,_0x353294,_0x330426,_0x634232)=>{const _0x1f5a01=_0x263a40;for(var _0x334fc3=_0x634232>0x1?void 0x0:_0x634232?_0x203e02(_0x353294,_0x330426):_0x353294,_0x49535b=_0xa9ef8a[_0x1f5a01(0x22c)]-0x1,_0x33e8c7;_0x49535b>=0x0;_0x49535b--)(_0x33e8c7=_0xa9ef8a[_0x49535b])&&(_0x334fc3=_0x33e8c7(_0x334fc3)||_0x334fc3);return _0x334fc3;},_0x500015=(_0x2428d8,_0x23c2c7)=>(_0xdbfc03,_0x1b6e8f)=>_0x23c2c7(_0xdbfc03,_0x1b6e8f,_0x2428d8);let _0xc805ec=class extends _0x2c2192['Disposable']{constructor(_0x378a1,_0x31ab1b,_0x45458b){const _0x58a8c7=_0x263a40;super(),_0x193c38(this,_0x58a8c7(0x2ba),new Map()),_0x193c38(this,_0x58a8c7(0x319),new Map()),_0x193c38(this,'_disabled',!0x1),(this[_0x58a8c7(0x291)]=_0x378a1,this[_0x58a8c7(0x422)]=_0x31ab1b,this['_revisionService']=_0x45458b);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0xc2e320=_0x263a40;this[_0xc2e320(0x286)]=!0x1;}get[_0x263a40(0x297)](){const _0x3dfcdc=_0x263a40;return this[_0x3dfcdc(0x319)];}['dispose'](){const _0x8bcf77=_0x263a40;this[_0x8bcf77(0x35d)]()[_0x8bcf77(0x274)](()=>super[_0x8bcf77(0x3e8)]());}async[_0x263a40(0x2dd)](_0x2129db){const _0x593481=_0x263a40;return this[_0x593481(0x286)]?null:this[_0x593481(0x422)]['getItem'](_0x3b3567['getLocalCacheKey'](_0x2129db));}async[_0x263a40(0x1b5)](_0x5c0574,_0x5cfab2){const _0x467dfb=_0x263a40;return!!this['_localStorageService'][_0x467dfb(0x404)](_0x5c0574,_0x5cfab2);}[_0x263a40(0x3cd)](_0x40675f,_0x587803,_0x475c90,_0x16a962){const _0x4bc587=_0x263a40,_0x41effc=this['_revisionService'][_0x4bc587(0x351)](_0x40675f);this['_cachedData'][_0x4bc587(0x2d9)](_0x40675f,{'unitID':_0x40675f,'type':_0x587803,'awaitingChangeset':_0x475c90,'mutations':_0x16a962,'rev':_0x41effc}),this[_0x4bc587(0x319)][_0x4bc587(0x31d)](_0x40675f)||this[_0x4bc587(0x311)](_0x40675f);}[_0x263a40(0x311)](_0x23544d){const _0x3af00e=_0x263a40,_0x27c576=this[_0x3af00e(0x391)]();_0x27c576===0x0?this[_0x3af00e(0x235)](_0x23544d):this['_saveTaskMap'][_0x3af00e(0x2d9)](_0x23544d,setTimeout(()=>this['_saveCache'](_0x23544d),_0x27c576));}[_0x263a40(0x391)](){const _0x17d9b2=_0x263a40;var _0x278631;return(_0x278631=this[_0x17d9b2(0x291)][_0x17d9b2(0x1e4)](_0x3b3567[_0x17d9b2(0x412)]))!=null?_0x278631:_0x3b3567[_0x17d9b2(0x317)];}[_0x263a40(0x235)](_0x241a75){const _0x21c709=_0x263a40,_0x2d9c81=this[_0x21c709(0x319)][_0x21c709(0x378)](_0x241a75);return _0x2d9c81!==void 0x0&&window[_0x21c709(0x2eb)](_0x2d9c81),this[_0x21c709(0x422)][_0x21c709(0x404)](_0x3b3567[_0x21c709(0x233)](_0x241a75),this[_0x21c709(0x2ba)][_0x21c709(0x378)](_0x241a75))[_0x21c709(0x274)](()=>this[_0x21c709(0x319)][_0x21c709(0x402)](_0x241a75));}async['exhaustSavingTask'](){const _0x38c8df=_0x263a40,_0x8e4fb7=[];this[_0x38c8df(0x319)][_0x38c8df(0x34f)]((_0x3ed34b,_0x5a9d62)=>{const _0x376cf6=_0x38c8df;window['clearTimeout'](_0x3ed34b),_0x8e4fb7[_0x376cf6(0x367)](this[_0x376cf6(0x235)](_0x5a9d62)[_0x376cf6(0x274)](()=>{const _0x274856=_0x376cf6;this[_0x274856(0x319)]['delete'](_0x5a9d62);}));}),await Promise[_0x38c8df(0x33c)](_0x8e4fb7);}};_0xc805ec=_0x290888([_0x500015(0x0,_0x2c2192[_0x263a40(0x2da)]),_0x500015(0x1,_0x2c2192[_0x263a40(0x305)]),_0x500015(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x542b31[_0x263a40(0x220)]))],_0xc805ec);class _0x5810c8 extends _0x2c2192[_0x263a40(0x326)]{constructor(){const _0x11d3c5=_0x263a40;super(),_0x193c38(this,_0x11d3c5(0x3fd)),this['urlChange$']=_0x39a97e[_0x11d3c5(0x293)](window,_0x11d3c5(0x29c))[_0x11d3c5(0x306)](_0x39a97e[_0x11d3c5(0x2f3)](this[_0x11d3c5(0x313)]),_0x39a97e[_0x11d3c5(0x2ef)](0x1),_0x39a97e[_0x11d3c5(0x415)](void 0x0));}['setParam'](_0x52bb42,_0x324f20,_0x4eab34=!0x1){const _0x3737ad=_0x263a40,_0x27efb9=new URL(window[_0x3737ad(0x284)]['href']);_0x27efb9['searchParams'][_0x3737ad(0x2d9)](_0x52bb42,_0x324f20),_0x4eab34?window[_0x3737ad(0x210)][_0x3737ad(0x30c)]('','',_0x27efb9[_0x3737ad(0x31a)]()):window['history'][_0x3737ad(0x37d)]('','',_0x27efb9[_0x3737ad(0x31a)]());}[_0x263a40(0x3aa)](_0xb19bf9,_0x274c13=!0x1){const _0x33fec8=_0x263a40,_0x3130af=new URL(window[_0x33fec8(0x284)][_0x33fec8(0x26c)]);_0x3130af[_0x33fec8(0x2ee)][_0x33fec8(0x402)](_0xb19bf9),_0x274c13?window['history'][_0x33fec8(0x30c)]('','',_0x3130af[_0x33fec8(0x31a)]()):window[_0x33fec8(0x210)][_0x33fec8(0x37d)]('','',_0x3130af['toString']());}[_0x263a40(0x2a6)](_0x4bc900){const _0x145b3f=_0x263a40;var _0x6f98aa;return(_0x6f98aa=new URL(window['location'][_0x145b3f(0x26c)])['searchParams'][_0x145b3f(0x378)](_0x4bc900))!=null?_0x6f98aa:void 0x0;}}var _0x595597=Object['defineProperty'],_0x400f7c=Object[_0x263a40(0x2bc)],_0x3581b2=(_0x2cdf5d,_0x8200e1,_0x3a7d8e)=>_0x8200e1 in _0x2cdf5d?_0x595597(_0x2cdf5d,_0x8200e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a7d8e}):_0x2cdf5d[_0x8200e1]=_0x3a7d8e,_0x5c6744=(_0x57c41b,_0x11b642,_0x2b499a,_0x59067f)=>{const _0x113de7=_0x263a40;for(var _0x3124a4=_0x59067f>0x1?void 0x0:_0x59067f?_0x400f7c(_0x11b642,_0x2b499a):_0x11b642,_0x3435bf=_0x57c41b[_0x113de7(0x22c)]-0x1,_0xbab09e;_0x3435bf>=0x0;_0x3435bf--)(_0xbab09e=_0x57c41b[_0x3435bf])&&(_0x3124a4=_0xbab09e(_0x3124a4)||_0x3124a4);return _0x3124a4;},_0x361759=(_0x3e5506,_0x9cf94b)=>(_0x182c33,_0x407c3a)=>_0x9cf94b(_0x182c33,_0x407c3a,_0x3e5506),_0x11fd78=(_0xce56e6,_0x2e2d09,_0x113c96)=>_0x3581b2(_0xce56e6,_0x2e2d09+'',_0x113c96);const _0xb98fbb=_0x263a40(0x1fd);_0x9de135[_0x263a40(0x2f5)]=class extends _0x2c2192[_0x263a40(0x397)]{constructor(_0x171f51=_0x4467d8,_0x140ab4,_0x3c1895,_0x31d0eb){const _0x2da1c7=_0x263a40;super(),this['_config']=_0x171f51,this[_0x2da1c7(0x3b2)]=_0x140ab4,this[_0x2da1c7(0x1bd)]=_0x3c1895,this[_0x2da1c7(0x291)]=_0x31d0eb;const {..._0x51d6b}=_0x2c2192[_0x2da1c7(0x409)]({},_0x4467d8,this[_0x2da1c7(0x278)]);this[_0x2da1c7(0x291)]['setConfig'](_0x5b003e,_0x51d6b);}[_0x263a40(0x1d5)](){const _0x540fa3=_0x263a40;this[_0x540fa3(0x2f0)](),this[_0x540fa3(0x32b)]();}['onRendered'](){const _0x1e3737=_0x263a40;this[_0x1e3737(0x3df)]();}[_0x263a40(0x2f0)](){const _0x2b87a5=_0x263a40;var _0x56ee15;const _0x33d095=[[_0x32664d],[_0x16f9d8],[_0x48d330],[_0x2ea084],[_0x45dd48],[_0x1f6186,{'useClass':_0x5810c8}],[_0x1f436f[_0x2b87a5(0x3ba)],{'useClass':_0x1f436f[_0x2b87a5(0x247)]}],[_0x3b3567['ILocalCacheService'],{'useClass':_0xc805ec}],[_0x9de135[_0x2b87a5(0x339)]],[_0x6d6a66],[_0x753b4],[_0x289b74],[_0x1b423f],[_0x9de135[_0x2b87a5(0x2e7)]]];_0x2c2192[_0x2b87a5(0x376)](this[_0x2b87a5(0x1bd)],_0x2c2192[_0x2b87a5(0x203)](_0x33d095,(_0x56ee15=this[_0x2b87a5(0x278)])==null?void 0x0:_0x56ee15[_0x2b87a5(0x410)]));}[_0x263a40(0x3df)](){const _0x5e248a=_0x263a40;this[_0x5e248a(0x1af)](this[_0x5e248a(0x3b2)][_0x5e248a(0x2d1)](_0x2c2192[_0x5e248a(0x1c6)][_0x5e248a(0x25b)],[_0x19f8bd])),this[_0x5e248a(0x1af)](this['_renderManagerService'][_0x5e248a(0x2d1)](_0x2c2192[_0x5e248a(0x1c6)][_0x5e248a(0x29e)],[_0x429464]));}['_initDependencies'](){const _0x55d82a=_0x263a40;_0x2c2192[_0x55d82a(0x1f0)](this[_0x55d82a(0x1bd)],[[_0x289b74],[_0x9de135[_0x55d82a(0x339)]],[_0x6d6a66],[_0x753b4],[_0x9de135[_0x55d82a(0x2e7)]]]);}},_0x11fd78(_0x9de135[_0x263a40(0x2f5)],_0x263a40(0x27f),_0xb98fbb),_0x9de135['UniverCollaborationClientUIPlugin']=_0x5c6744([_0x2c2192[_0x263a40(0x366)](_0x3b3567[_0x263a40(0x270)]),_0x361759(0x1,_0xeac254[_0x263a40(0x36d)]),_0x361759(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192['Injector'])),_0x361759(0x3,_0x2c2192[_0x263a40(0x2da)])],_0x9de135[_0x263a40(0x2f5)]);var _0x483f06=Object[_0x263a40(0x2bc)],_0x52ccb5=(_0x2c67d0,_0x3f3f51,_0x21d29b,_0x143acf)=>{const _0x1ef1d2=_0x263a40;for(var _0x37b422=_0x143acf>0x1?void 0x0:_0x143acf?_0x483f06(_0x3f3f51,_0x21d29b):_0x3f3f51,_0xd20a5c=_0x2c67d0[_0x1ef1d2(0x22c)]-0x1,_0x1d68e7;_0xd20a5c>=0x0;_0xd20a5c--)(_0x1d68e7=_0x2c67d0[_0xd20a5c])&&(_0x37b422=_0x1d68e7(_0x37b422)||_0x37b422);return _0x37b422;},_0x2d3f50=(_0x245d16,_0x9f0275)=>(_0x2ad6b3,_0x4cce95)=>_0x9f0275(_0x2ad6b3,_0x4cce95,_0x245d16);_0x9de135['BrowserCollaborationSocketService']=class extends _0x3b3567[_0x263a40(0x347)]{constructor(_0x530b23,_0x371415,_0x331b95,_0x5324d0,_0x4a3e0d){super(_0x530b23,_0x371415,_0x331b95,_0x5324d0,_0x4a3e0d);}async[_0x263a40(0x1c5)](_0x3a0a6c){const _0x463204=_0x263a40,_0x6b43fb=await this[_0x463204(0x414)](),_0x486820=this[_0x463204(0x200)](_0x3a0a6c,_0x6b43fb);return this[_0x463204(0x1a9)](_0x486820);}[_0x263a40(0x200)](_0x2caadd,_0x3978a1){const _0x141622=_0x263a40,_0x4d13a=typeof window>'u'?new URL(_0x2caadd):new URL(_0x2caadd,window['location']['origin']);_0x4d13a['searchParams'][_0x141622(0x2d9)](_0x141622(0x279),_0x3978a1);const _0x1275b6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x141622(0x284)][_0x141622(0x375)]);return _0x1275b6['get']('runId')&&_0x4d13a[_0x141622(0x2ee)][_0x141622(0x2d9)]('runId',_0x1275b6[_0x141622(0x378)](_0x141622(0x390))),_0x4d13a[_0x141622(0x31a)]();}async[_0x263a40(0x414)](){const _0x3ecd03=_0x263a40;var _0x1be11d,_0x1f5f2f,_0x37018f;const _0x41c452=this[_0x3ecd03(0x291)]['getConfig'](_0x3b3567[_0x3ecd03(0x246)]),_0x1dc971=(_0x1be11d=_0x41c452==null?void 0x0:_0x41c452[_0x3ecd03(0x230)])!=null?_0x1be11d:_0x3b3567['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x37018f=(_0x1f5f2f=(await this[_0x3ecd03(0x21a)][_0x3ecd03(0x378)](_0x1dc971,{'headers':{'Content-Type':'application/json'}}))[_0x3ecd03(0x273)])==null?void 0x0:_0x1f5f2f[_0x3ecd03(0x302)])!=null?_0x37018f:'';}},_0x9de135[_0x263a40(0x40d)]=_0x52ccb5([_0x2d3f50(0x0,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192['Injector'])),_0x2d3f50(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x1f436f[_0x263a40(0x22d)])),_0x2d3f50(0x2,_0x2c2192['IConfigService']),_0x2d3f50(0x3,_0x2c2192[_0x263a40(0x2ac)]),_0x2d3f50(0x4,_0x542b31[_0x263a40(0x3dd)])],_0x9de135[_0x263a40(0x40d)]);var _0x3cafe4=(_0x562a0d=>(_0x562a0d[_0x562a0d[_0x263a40(0x23b)]=0x0]=_0x263a40(0x23b),_0x562a0d[_0x562a0d['OK']=0x1]='OK',_0x562a0d[_0x562a0d['INTERNAL_ERROR']=0x2]=_0x263a40(0x3f3),_0x562a0d[_0x562a0d['PERMISSION_DENIED']=0x3]=_0x263a40(0x403),_0x562a0d[_0x562a0d[_0x263a40(0x30f)]=0x4]=_0x263a40(0x30f),_0x562a0d[_0x562a0d['UNAUTHENTICATED']=0x5]=_0x263a40(0x262),_0x562a0d[_0x562a0d[_0x263a40(0x42a)]=0x6]=_0x263a40(0x42a),_0x562a0d[_0x562a0d[_0x263a40(0x2ce)]=0x7]='INVALID_ARGUMENT',_0x562a0d[_0x562a0d[_0x263a40(0x370)]=0x8]=_0x263a40(0x370),_0x562a0d[_0x562a0d[_0x263a40(0x222)]=0x9]=_0x263a40(0x222),_0x562a0d[_0x562a0d[_0x263a40(0x21f)]=0xa]=_0x263a40(0x21f),_0x562a0d[_0x562a0d[_0x263a40(0x41b)]=0xb]=_0x263a40(0x41b),_0x562a0d[_0x562a0d['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x263a40(0x434),_0x562a0d[_0x562a0d['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x562a0d[_0x562a0d[_0x263a40(0x35c)]=0xe]=_0x263a40(0x35c),_0x562a0d[_0x562a0d[_0x263a40(0x2d2)]=0x1389]=_0x263a40(0x2d2),_0x562a0d[_0x562a0d[_0x263a40(0x245)]=0x1771]=_0x263a40(0x245),_0x562a0d[_0x562a0d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x263a40(0x2ed),_0x562a0d[_0x562a0d[_0x263a40(0x33b)]=0x1773]=_0x263a40(0x33b),_0x562a0d[_0x562a0d[_0x263a40(0x428)]=0x1b59]=_0x263a40(0x428),_0x562a0d[_0x562a0d[_0x263a40(0x1e8)]=0x1b5a]=_0x263a40(0x1e8),_0x562a0d[_0x562a0d[_0x263a40(0x2ff)]=0x1b5b]=_0x263a40(0x2ff),_0x562a0d[_0x562a0d[_0x263a40(0x1e7)]=0x1b5c]=_0x263a40(0x1e7),_0x562a0d[_0x562a0d[_0x263a40(0x329)]=0x1b5d]=_0x263a40(0x329),_0x562a0d[_0x562a0d[_0x263a40(0x207)]=0x1f41]=_0x263a40(0x207),_0x562a0d[_0x562a0d[_0x263a40(0x432)]=0x2329]=_0x263a40(0x432),_0x562a0d[_0x562a0d[_0x263a40(0x436)]=0x232a]=_0x263a40(0x436),_0x562a0d[_0x562a0d[_0x263a40(0x2b0)]=0x232b]=_0x263a40(0x2b0),_0x562a0d[_0x562a0d[_0x263a40(0x21c)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x562a0d[_0x562a0d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x263a40(0x3e3),_0x562a0d[_0x562a0d[_0x263a40(0x1e2)]=0x2711]=_0x263a40(0x1e2),_0x562a0d[_0x562a0d[_0x263a40(0x1f3)]=0x2712]=_0x263a40(0x1f3),_0x562a0d[_0x562a0d[_0x263a40(0x344)]=0x2713]=_0x263a40(0x344),_0x562a0d[_0x562a0d[_0x263a40(0x3ec)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x562a0d[_0x562a0d[_0x263a40(0x1e6)]=0x271a]=_0x263a40(0x1e6),_0x562a0d[_0x562a0d[_0x263a40(0x298)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x562a0d[_0x562a0d['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x562a0d[_0x562a0d[_0x263a40(0x2b3)]=0x271d]=_0x263a40(0x2b3),_0x562a0d[_0x562a0d[_0x263a40(0x3a3)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x562a0d[_0x562a0d[_0x263a40(0x1cd)]=0x271f]=_0x263a40(0x1cd),_0x562a0d[_0x562a0d[_0x263a40(0x3a0)]=0x2720]=_0x263a40(0x3a0),_0x562a0d[_0x562a0d[_0x263a40(0x285)]=0x2af9]=_0x263a40(0x285),_0x562a0d[_0x562a0d[_0x263a40(0x224)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x562a0d[_0x562a0d[_0x263a40(0x30d)]=0x2ee2]='INVALID_INVITE_CODE',_0x562a0d[_0x562a0d['INVITE_CODE_REQUIRED']=0x2ee3]=_0x263a40(0x1a8),_0x562a0d[_0x562a0d['USER_NOT_INVITED_CODE']=0x2ee4]=_0x263a40(0x2e4),_0x562a0d[_0x562a0d[_0x263a40(0x263)]=0x2ee5]=_0x263a40(0x263),_0x562a0d[_0x562a0d[_0x263a40(0x20c)]=0x32c9]=_0x263a40(0x20c),_0x562a0d[_0x562a0d[_0x263a40(0x40b)]=0x32ca]=_0x263a40(0x40b),_0x562a0d[_0x562a0d[_0x263a40(0x39d)]=0x32cb]=_0x263a40(0x39d),_0x562a0d[_0x562a0d[_0x263a40(0x1a6)]=-0x1]='UNRECOGNIZED',_0x562a0d))(_0x3cafe4||{}),_0x3a716d=Object[_0x263a40(0x2bc)],_0x40486a=(_0x446329,_0x275d4a,_0x18d4e7,_0xe9834c)=>{const _0x3a9b8c=_0x263a40;for(var _0x77cb0e=_0xe9834c>0x1?void 0x0:_0xe9834c?_0x3a716d(_0x275d4a,_0x18d4e7):_0x275d4a,_0x5809d6=_0x446329[_0x3a9b8c(0x22c)]-0x1,_0x3fc9b0;_0x5809d6>=0x0;_0x5809d6--)(_0x3fc9b0=_0x446329[_0x5809d6])&&(_0x77cb0e=_0x3fc9b0(_0x77cb0e)||_0x77cb0e);return _0x77cb0e;},_0x58a1cc=(_0x57eb36,_0x7ae308)=>(_0x4a61e9,_0x24406b)=>_0x7ae308(_0x4a61e9,_0x24406b,_0x57eb36);_0x9de135[_0x263a40(0x2a2)]=class extends _0x2c2192[_0x263a40(0x2e1)]{constructor(_0x10fb57,_0x30a062,_0x396b4b){const _0x51f4ab=_0x263a40;super(),this[_0x51f4ab(0x1f1)]=_0x10fb57,this[_0x51f4ab(0x21a)]=_0x30a062,this['_configService']=_0x396b4b;}async[_0x263a40(0x2e2)](_0x215ced,_0x56a3cc,_0x2a5aaf,..._0x499d79){const _0x55f18f=_0x263a40;var _0x95547c,_0x2244a2,_0x4f2fe5,_0x492e69;const _0x56f69d=this[_0x55f18f(0x1f1)][_0x55f18f(0x1d3)]();if(!_0x56f69d)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2732ff=((_0x95547c=this['_configService'][_0x55f18f(0x1e4)](_0x3b3567[_0x55f18f(0x231)]))!=null?_0x95547c:_0x3b3567[_0x55f18f(0x3a4)])+'/'+_0x215ced+_0x55f18f(0x2c0)+_0x56a3cc,_0x5d6a9c=new URL(window['location'][_0x55f18f(0x26c)]),_0x1a367c={'scriptId':_0x215ced,'runId':(_0x2244a2=_0x5d6a9c[_0x55f18f(0x2ee)][_0x55f18f(0x378)]('runId'))!=null?_0x2244a2:'','function':_0x56a3cc,'unitId':_0x56f69d['getUnitId'](),'argsOfFunction':JSON[_0x55f18f(0x1fc)](_0x499d79),'invokeId':(_0x4f2fe5=_0x2a5aaf[_0x55f18f(0x308)])!=null?_0x4f2fe5:'','executionId':(_0x492e69=_0x2a5aaf[_0x55f18f(0x310)])!=null?_0x492e69:''};try{const _0x559d26=await this[_0x55f18f(0x21a)][_0x55f18f(0x292)](_0x2732ff,{'body':_0x1a367c});return _0x559d26[_0x55f18f(0x273)][_0x55f18f(0x423)]&&_0x559d26[_0x55f18f(0x273)][_0x55f18f(0x423)][_0x55f18f(0x318)]!==_0x3cafe4['OK']?_0x55f18f(0x354):_0x559d26['body']['result'];}catch{return'Failed';}}},_0x9de135[_0x263a40(0x2a2)]=_0x40486a([_0x58a1cc(0x0,_0x2c2192['IUniverInstanceService']),_0x58a1cc(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x1f436f[_0x263a40(0x22d)])),_0x58a1cc(0x2,_0x2c2192[_0x263a40(0x2da)])],_0x9de135[_0x263a40(0x2a2)]);const _0x221c11=0x7530,_0x27a991=_0x263a40(0x332);class _0x1fd258 extends _0x2c2192['Disposable']{constructor(){const _0x3d6ce1=_0x263a40;super(),_0x193c38(this,_0x3d6ce1(0x213),_0x2c2192[_0x3d6ce1(0x3a8)]()),_0x193c38(this,'_selfUnitIDs',new Set()),_0x193c38(this,'_unitOnClients',new Map()),_0x193c38(this,_0x3d6ce1(0x2ab),null),_0x193c38(this,_0x3d6ce1(0x1f2),new Map()),_0x193c38(this,'_unitStatus',new Map()),this[_0x3d6ce1(0x3b5)]();}['dispose'](){const _0x371622=_0x263a40;super['dispose'](),this[_0x371622(0x1f2)]['forEach']((_0x2d9f6a,_0x449652)=>this[_0x371622(0x2e3)](_0x449652)),this[_0x371622(0x2ab)]&&window['clearInterval'](this[_0x371622(0x2ab)]);}[_0x263a40(0x1a3)](_0xa09843){const _0x37483a=_0x263a40;return this['_ensureSubject'](_0xa09843)[_0x37483a(0x306)](_0x39a97e[_0x37483a(0x382)]());}[_0x263a40(0x2fe)](_0x42096f){const _0xb3ee51=_0x263a40;this['_selfUnitIDs']['size']===0x0&&this[_0xb3ee51(0x2d7)](),this[_0xb3ee51(0x28e)]['add'](_0x42096f),this[_0xb3ee51(0x1c3)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x42096f],'isForwarded':!0x1});}['disposeUnit'](_0x519ff5){const _0x292fb8=_0x263a40;this[_0x292fb8(0x28e)][_0x292fb8(0x402)](_0x519ff5),this['_selfUnitIDs'][_0x292fb8(0x1e5)]===0x0&&this['_heartbeatTimer']&&window[_0x292fb8(0x30a)](this[_0x292fb8(0x2ab)]);}['_init'](){const _0x1e7f2f=_0x263a40;this[_0x1e7f2f(0x1af)](_0x2c2192[_0x1e7f2f(0x1bf)](_0x39a97e[_0x1e7f2f(0x293)](window,_0x1e7f2f(0x408))[_0x1e7f2f(0x26a)](_0x478273=>{const _0x54fced=_0x1e7f2f;if(_0x478273['key']!==_0x27a991||!_0x478273[_0x54fced(0x418)])return;const _0x22aaa7=JSON[_0x54fced(0x289)](_0x478273[_0x54fced(0x418)]);this[_0x54fced(0x1ac)](_0x22aaa7);}))),window[_0x1e7f2f(0x1ef)](_0x1e7f2f(0x2a1),()=>this[_0x1e7f2f(0x1c3)]({'type':0x1,'memberID':this[_0x1e7f2f(0x213)],'unitIDs':Array[_0x1e7f2f(0x1ab)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x2b6b66){const _0x5eaa28=_0x263a40;switch(_0x2b6b66['type']){case 0x0:this[_0x5eaa28(0x1c0)](_0x2b6b66);break;case 0x1:this['_handleLeaveEvent'](_0x2b6b66);break;case 0x2:this[_0x5eaa28(0x3e6)](_0x2b6b66);break;}}[_0x263a40(0x1c0)](_0x42cf34){const _0xf09b91=_0x263a40,{unitIDs:_0x496ad8,memberID:_0x265d85,isForwarded:_0x22d3dd}=_0x42cf34;_0x496ad8[_0xf09b91(0x34f)](_0xff473e=>{const _0xebaf42=_0xf09b91;if(!_0x22d3dd&&this['_unitOnClients'][_0xebaf42(0x31d)](_0xff473e)&&this[_0xebaf42(0x2ea)](_0xff473e)[_0xebaf42(0x3db)](_0x3b3567[_0xebaf42(0x322)]['OTHER_CLIENTS_EDITING']),!this[_0xebaf42(0x41e)][_0xebaf42(0x31d)](_0xff473e)||!this[_0xebaf42(0x41e)][_0xebaf42(0x378)](_0xff473e)[_0xebaf42(0x31d)](_0x265d85)){const _0x4a00c7=this[_0xebaf42(0x41e)][_0xebaf42(0x378)](_0xff473e)||new Set();_0x4a00c7[_0xebaf42(0x1d8)](_0x265d85),this[_0xebaf42(0x41e)]['set'](_0xff473e,_0x4a00c7),this[_0xebaf42(0x3c2)](_0x265d85);}}),_0x22d3dd||this[_0xf09b91(0x1c3)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xf09b91(0x28e)]],'isForwarded':!0x0});}[_0x263a40(0x3c2)](_0x41c28a){const _0x2793e0=_0x263a40;this[_0x2793e0(0x2e3)](_0x41c28a);const _0x35c17d=window[_0x2793e0(0x1d1)](()=>{const _0x1e4a16=_0x2793e0;this['_unitOnClients'][_0x1e4a16(0x34f)](_0x27cdbe=>{_0x27cdbe['delete'](_0x41c28a);});},_0x221c11*0x2);this['_clearOtherTimers'][_0x2793e0(0x2d9)](_0x41c28a,_0x35c17d);}[_0x263a40(0x2e3)](_0x5c82f0){const _0x33e361=_0x263a40;if(this[_0x33e361(0x1f2)][_0x33e361(0x31d)](_0x5c82f0)){const _0xc67f6a=this[_0x33e361(0x1f2)]['get'](_0x5c82f0);_0xc67f6a&&window[_0x33e361(0x2eb)](_0xc67f6a),this[_0x33e361(0x1f2)][_0x33e361(0x2d9)](_0x5c82f0,null);}}[_0x263a40(0x368)](_0x32f053){const _0x377a12=_0x263a40,{memberID:_0x2d578c,unitIDs:_0x2e9859}=_0x32f053;_0x2e9859[_0x377a12(0x34f)](_0xa5bc89=>{const _0x359080=_0x377a12;var _0x11559e;const _0x4e0113=this['_unitOnClients'][_0x359080(0x378)](_0xa5bc89);_0x4e0113&&(_0x4e0113['delete'](_0x2d578c),(_0x11559e=this[_0x359080(0x2ea)](_0xa5bc89))==null||_0x11559e[_0x359080(0x3db)](_0x4e0113['size']===0x0?_0x3b3567['UnitStatus'][_0x359080(0x252)]:_0x3b3567[_0x359080(0x322)]['OTHER_CLIENTS_EDITING']));}),this[_0x377a12(0x2e3)](_0x2d578c);}['_handleHeartbeatEvent'](_0x488ad8){const _0x82dd52=_0x263a40;this[_0x82dd52(0x3c2)](_0x488ad8[_0x82dd52(0x211)]);}[_0x263a40(0x1c3)](_0x211102){const _0x5e7459=_0x263a40;localStorage[_0x5e7459(0x404)](_0x27a991,JSON[_0x5e7459(0x1fc)](_0x211102));}['_scheduleHeartbeat'](){const _0x2308a0=_0x263a40;this[_0x2308a0(0x2ab)]=window[_0x2308a0(0x205)](()=>{const _0xa78670=_0x2308a0;this['_send']({'type':0x2,'memberID':this[_0xa78670(0x213)]});},_0x221c11);}[_0x263a40(0x2ea)](_0x10ce5f){const _0xde5211=_0x263a40;return this[_0xde5211(0x2d3)][_0xde5211(0x31d)](_0x10ce5f)||this[_0xde5211(0x2d3)]['set'](_0x10ce5f,new _0x39a97e[(_0xde5211(0x30b))](_0x3b3567[_0xde5211(0x322)][_0xde5211(0x252)])),this[_0xde5211(0x2d3)]['get'](_0x10ce5f);}}_0x9de135[_0x263a40(0x413)]=_0x1f6186,_0x9de135['SheetCollabCursorShape']=_0x9e04ec,_0x9de135[_0x263a40(0x3fb)]=_0x1fd258,_0x9de135['WebURLService']=_0x5810c8,Object['defineProperty'](_0x9de135,Symbol[_0x263a40(0x202)],{'value':_0x263a40(0x3c6)});}));
|