@univerjs-pro/collaboration-client-ui 0.10.6 → 0.10.7-nightly.202509090319
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 +18 -18
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1288(_0x13a4d0,_0x4ab7a1){const _0x782057=_0x7820();return _0x1288=function(_0x128846,_0x33a3a6){_0x128846=_0x128846-0x1a7;let _0x151db0=_0x782057[_0x128846];return _0x151db0;},_0x1288(_0x13a4d0,_0x4ab7a1);}(function(_0x1382e4,_0x8a40d4){const _0xc95b48=_0x1288,_0x5c6b29=_0x1382e4();while(!![]){try{const _0x31aa8f=-parseInt(_0xc95b48(0x380))/0x1+parseInt(_0xc95b48(0x3c2))/0x2+-parseInt(_0xc95b48(0x3ac))/0x3*(-parseInt(_0xc95b48(0x334))/0x4)+-parseInt(_0xc95b48(0x28d))/0x5+-parseInt(_0xc95b48(0x3f5))/0x6*(-parseInt(_0xc95b48(0x238))/0x7)+-parseInt(_0xc95b48(0x38d))/0x8*(-parseInt(_0xc95b48(0x3be))/0x9)+-parseInt(_0xc95b48(0x2f3))/0xa;if(_0x31aa8f===_0x8a40d4)break;else _0x5c6b29['push'](_0x5c6b29['shift']());}catch(_0x1efaaa){_0x5c6b29['push'](_0x5c6b29['shift']());}}}(_0x7820,0xaad5b),function(_0x3b49df,_0x420b71){const _0x59abca=_0x1288;typeof exports=='object'&&typeof module<'u'?_0x420b71(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==_0x59abca(0x41a)&&define[_0x59abca(0x3bf)]?define([_0x59abca(0x409),_0x59abca(0x220),_0x59abca(0x417),_0x59abca(0x22f),'@univerjs/ui',_0x59abca(0x349),_0x59abca(0x3ab),_0x59abca(0x350),_0x59abca(0x31d),_0x59abca(0x1a9),_0x59abca(0x221),_0x59abca(0x222),_0x59abca(0x21f),_0x59abca(0x2dc),_0x59abca(0x39e),_0x59abca(0x3d9),_0x59abca(0x424),'rxjs/operators',_0x59abca(0x2c8)],_0x420b71):(_0x3b49df=typeof globalThis<'u'?globalThis:_0x3b49df||self,_0x420b71(_0x3b49df['UniverProCollaborationClientUi']={},_0x3b49df[_0x59abca(0x343)],_0x3b49df[_0x59abca(0x42e)],_0x3b49df['UniverCore'],_0x3b49df['UniverUi'],_0x3b49df['rxjs'],_0x3b49df[_0x59abca(0x28c)],_0x3b49df[_0x59abca(0x343)],_0x3b49df['UniverRpc'],_0x3b49df[_0x59abca(0x244)],_0x3b49df[_0x59abca(0x321)],_0x3b49df[_0x59abca(0x414)],_0x3b49df['UniverDocsUi'],_0x3b49df[_0x59abca(0x429)],_0x3b49df[_0x59abca(0x368)],_0x3b49df[_0x59abca(0x2a5)],_0x3b49df['UniverEngineFormula'],_0x3b49df[_0x59abca(0x349)][_0x59abca(0x3a2)],_0x3b49df['UniverSheetsUi']));}(this,function(_0x53f44c,_0x1889d3,_0x1efc97,_0x165790,_0x46a2f6,_0x278be1,_0x3cf048,_0xb812c9,_0x29fc21,_0x63078f,_0x1e15c8,_0x3f48c5,_0x20f7f1,_0x5c4bf6,_0x2b1f6e,_0x20f8e5,_0x437b2a,_0x228a58,_0x476ef1){'use strict';const _0x529647=_0x1288;var _0x32bf36=Object[_0x529647(0x22a)],_0xd475a2=(_0x284b81,_0x492249,_0x3dde71)=>_0x492249 in _0x284b81?_0x32bf36(_0x284b81,_0x492249,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dde71}):_0x284b81[_0x492249]=_0x3dde71,_0x1bb758=(_0x498672,_0x5da9c0,_0xb153d6)=>_0xd475a2(_0x498672,typeof _0x5da9c0!=_0x529647(0x33b)?_0x5da9c0+'':_0x5da9c0,_0xb153d6),_0x1aa7f8=function(){const _0x23a69b=_0x529647;return _0x1aa7f8=Object[_0x23a69b(0x438)]||function(_0x5580a2){const _0x11c1a7=_0x23a69b;for(var _0x569701,_0x26da96=0x1,_0x22973a=arguments[_0x11c1a7(0x3c3)];_0x26da96<_0x22973a;_0x26da96++){_0x569701=arguments[_0x26da96];for(var _0xf29ece in _0x569701)Object[_0x11c1a7(0x3d3)]['hasOwnProperty'][_0x11c1a7(0x219)](_0x569701,_0xf29ece)&&(_0x5580a2[_0xf29ece]=_0x569701[_0xf29ece]);}return _0x5580a2;},_0x1aa7f8[_0x23a69b(0x353)](this,arguments);},_0x194738=function(_0x61bed0,_0x3e8505){const _0x314f7f=_0x529647;var _0x2170bf={};for(var _0x50a41c in _0x61bed0)Object['prototype']['hasOwnProperty'][_0x314f7f(0x219)](_0x61bed0,_0x50a41c)&&_0x3e8505['indexOf'](_0x50a41c)<0x0&&(_0x2170bf[_0x50a41c]=_0x61bed0[_0x50a41c]);if(_0x61bed0!=null&&typeof Object[_0x314f7f(0x1ab)]=='function'){for(var _0x4cd8d6=0x0,_0x50a41c=Object['getOwnPropertySymbols'](_0x61bed0);_0x4cd8d6<_0x50a41c[_0x314f7f(0x3c3)];_0x4cd8d6++)_0x3e8505[_0x314f7f(0x332)](_0x50a41c[_0x4cd8d6])<0x0&&Object['prototype'][_0x314f7f(0x2b9)][_0x314f7f(0x219)](_0x61bed0,_0x50a41c[_0x4cd8d6])&&(_0x2170bf[_0x50a41c[_0x4cd8d6]]=_0x61bed0[_0x50a41c[_0x4cd8d6]]);}return _0x2170bf;},_0x1668a3=_0xb812c9[_0x529647(0x38a)](function(_0x4afd63,_0x2d63ba){const _0x52e45c=_0x529647;var _0x91c12e=_0x4afd63[_0x52e45c(0x23b)],_0x1c021f=_0x4afd63['id'],_0x3ae765=_0x4afd63[_0x52e45c(0x277)],_0x54ecd6=_0x4afd63[_0x52e45c(0x3f7)],_0xea494f=_0x194738(_0x4afd63,[_0x52e45c(0x23b),'id',_0x52e45c(0x277),_0x52e45c(0x3f7)]),_0x2d137f=_0x52e45c(0x439)[_0x52e45c(0x2ef)](_0x1c021f,'\x20')[_0x52e45c(0x2ef)](_0x3ae765||'')[_0x52e45c(0x2fa)](),_0x2e71f2=_0xb812c9[_0x52e45c(0x3a3)]('_'[_0x52e45c(0x2ef)](_0x3122a0()));return _0x40caf8(_0x91c12e,''['concat'](_0x1c021f),{'defIds':_0x91c12e[_0x52e45c(0x3f6)],'idSuffix':_0x2e71f2[_0x52e45c(0x2c4)]},_0x1aa7f8({'ref':_0x2d63ba,'className':_0x2d137f},_0xea494f),_0x54ecd6);});function _0x40caf8(_0x4ef484,_0x5b7f4f,_0x3a1114,_0x226624,_0x56eeb9){const _0x5c5418=_0x529647;return _0xb812c9[_0x5c5418(0x30d)](_0x4ef484[_0x5c5418(0x3fe)],_0x1aa7f8(_0x1aa7f8({'key':_0x5b7f4f},_0x228dc1(_0x4ef484,_0x3a1114,_0x56eeb9)),_0x226624),(_0x1f0beb(_0x4ef484,_0x3a1114)[_0x5c5418(0x1e5)]||[])[_0x5c5418(0x2e3)](function(_0x315229,_0x240c1a){const _0x3287b1=_0x5c5418;return _0x40caf8(_0x315229,''[_0x3287b1(0x2ef)](_0x5b7f4f,'-')['concat'](_0x4ef484[_0x3287b1(0x3fe)],'-')[_0x3287b1(0x2ef)](_0x240c1a),_0x3a1114,void 0x0,_0x56eeb9);}));}function _0x228dc1(_0xd871a2,_0xf58536,_0x52d5aa){const _0x215e4c=_0x529647;var _0xc72c9b=_0x1aa7f8({},_0xd871a2['attrs']);_0x52d5aa!=null&&_0x52d5aa[_0x215e4c(0x3a7)]&&_0xc72c9b['fill']===_0x215e4c(0x3a7)&&(_0xc72c9b['fill']=_0x52d5aa['colorChannel1']),_0xd871a2[_0x215e4c(0x3fe)]===_0x215e4c(0x338)&&_0xc72c9b['id']&&(_0xc72c9b['id']=_0xc72c9b['id']+_0xf58536[_0x215e4c(0x3c8)]),Object[_0x215e4c(0x3bd)](_0xc72c9b)['forEach'](function(_0x47d76e){const _0x5b3adb=_0x215e4c;var _0x565048=_0x47d76e[0x0],_0x2ec3a5=_0x47d76e[0x1];_0x565048===_0x5b3adb(0x338)&&typeof _0x2ec3a5==_0x5b3adb(0x3e4)&&(_0xc72c9b[_0x565048]=_0x2ec3a5[_0x5b3adb(0x206)](/url\(#(.*)\)/,_0x5b3adb(0x272)[_0x5b3adb(0x2ef)](_0xf58536[_0x5b3adb(0x3c8)],')')));});var _0x242b6d=_0xf58536[_0x215e4c(0x3f6)];return!_0x242b6d||_0x242b6d['length']===0x0||(_0xd871a2[_0x215e4c(0x3fe)]==='use'&&_0xc72c9b[_0x215e4c(0x2d0)]&&(_0xc72c9b[_0x215e4c(0x2d0)]=_0xc72c9b[_0x215e4c(0x2d0)]+_0xf58536[_0x215e4c(0x3c8)]),Object['entries'](_0xc72c9b)[_0x215e4c(0x311)](function(_0x11d4b2){const _0x4f72a1=_0x215e4c;var _0x28768e=_0x11d4b2[0x0],_0x22fed7=_0x11d4b2[0x1];typeof _0x22fed7==_0x4f72a1(0x3e4)&&(_0xc72c9b[_0x28768e]=_0x22fed7[_0x4f72a1(0x206)](/url\(#(.*)\)/,_0x4f72a1(0x272)['concat'](_0xf58536[_0x4f72a1(0x3c8)],')')));})),_0xc72c9b;}function _0x1f0beb(_0x17c010,_0xaeacf5){const _0x32e42b=_0x529647;var _0x5727f0,_0x3a7f33=_0xaeacf5[_0x32e42b(0x3f6)];return!_0x3a7f33||_0x3a7f33[_0x32e42b(0x3c3)]===0x0?_0x17c010:_0x17c010[_0x32e42b(0x3fe)]==='defs'&&(!((_0x5727f0=_0x17c010['children'])===null||_0x5727f0===void 0x0)&&_0x5727f0[_0x32e42b(0x3c3)])?_0x1aa7f8(_0x1aa7f8({},_0x17c010),{'children':_0x17c010[_0x32e42b(0x1e5)][_0x32e42b(0x2e3)](function(_0x1278ae){const _0x5d4886=_0x32e42b;return typeof _0x1278ae[_0x5d4886(0x426)]['id']==_0x5d4886(0x3e4)&&_0x3a7f33&&_0x3a7f33[_0x5d4886(0x33f)](_0x1278ae[_0x5d4886(0x426)]['id'])?_0x1aa7f8(_0x1aa7f8({},_0x1278ae),{'attrs':_0x1aa7f8(_0x1aa7f8({},_0x1278ae['attrs']),{'id':_0x1278ae[_0x5d4886(0x426)]['id']+_0xaeacf5[_0x5d4886(0x3c8)]})}):_0x1278ae;})}):_0x17c010;}function _0x3122a0(){const _0x48e1ce=_0x529647;return Math[_0x48e1ce(0x234)]()[_0x48e1ce(0x1db)](0x24)[_0x48e1ce(0x1b8)](0x2,0x8);}_0x1668a3[_0x529647(0x3c5)]='UniverIcon';var _0x176a38={'tag':'svg','attrs':{'xmlns':_0x529647(0x352),'fill':'none','viewBox':_0x529647(0x36d),'width':_0x529647(0x411),'height':_0x529647(0x411)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x529647(0x1ae),'attrs':{'stroke':_0x529647(0x36a),'d':_0x529647(0x43b),'strokeLinecap':_0x529647(0x2ab),'strokeLinejoin':_0x529647(0x2ab),'strokeWidth':1.2}}]},{'tag':_0x529647(0x233),'attrs':{},'children':[{'tag':_0x529647(0x20a),'attrs':{'id':_0x529647(0x216)},'children':[{'tag':'path','attrs':{'fill':_0x529647(0x1bf),'d':_0x529647(0x1f1)}}]}]}],'defIds':[_0x529647(0x216)]},_0x42f822=_0xb812c9['forwardRef'](function(_0x5eedb7,_0x2a37e9){const _0x52a3b5=_0x529647;return _0xb812c9[_0x52a3b5(0x30d)](_0x1668a3,Object[_0x52a3b5(0x438)]({},_0x5eedb7,{'id':_0x52a3b5(0x26c),'ref':_0x2a37e9,'icon':_0x176a38}));});_0x42f822[_0x529647(0x3c5)]=_0x529647(0x37e);var _0x3981c4={'tag':_0x529647(0x1f2),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x529647(0x37d),'viewBox':_0x529647(0x2e0),'width':'1em','height':_0x529647(0x411)},'children':[{'tag':'g','attrs':{'clipPath':_0x529647(0x1a7)},'children':[{'tag':_0x529647(0x1ae),'attrs':{'stroke':_0x529647(0x36a),'d':_0x529647(0x39b),'strokeLinecap':'round','strokeLinejoin':_0x529647(0x2ab),'strokeWidth':1.2}}]},{'tag':_0x529647(0x233),'attrs':{},'children':[{'tag':_0x529647(0x20a),'attrs':{'id':_0x529647(0x25e)},'children':[{'tag':_0x529647(0x1ae),'attrs':{'fill':_0x529647(0x1bf),'d':_0x529647(0x1f1),'transform':_0x529647(0x3bb)}}]}]}],'defIds':[_0x529647(0x25e)]},_0x39f041=_0xb812c9[_0x529647(0x38a)](function(_0xd8a1df,_0xaace01){const _0x5782e0=_0x529647;return _0xb812c9['createElement'](_0x1668a3,Object[_0x5782e0(0x438)]({},_0xd8a1df,{'id':'on-line-icon','ref':_0xaace01,'icon':_0x3981c4}));});_0x39f041[_0x529647(0x3c5)]=_0x529647(0x288);function _0x2d330d(_0x5e15b0){const _0x281dcb=_0x529647;switch(_0x5e15b0){case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x27d)]:return _0x281dcb(0x298);case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x3fc)]:return'collabStatus.conflict';case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x35f)]:return'collabStatus.fetchMiss';case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x255)]:return _0x281dcb(0x22c);case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x1ea)]:case _0x1efc97['CollaborationStatus'][_0x281dcb(0x402)]:return _0x281dcb(0x430);case _0x1efc97[_0x281dcb(0x3e8)][_0x281dcb(0x36e)]:case _0x1efc97[_0x281dcb(0x3e8)]['PENDING']:return _0x281dcb(0x26e);}}function _0x1f2209(_0x19fee8){const _0x513443=_0x529647,{status$:_0x5615b4}=_0x19fee8,_0x59ddf2=_0x46a2f6[_0x513443(0x1d5)](_0x5615b4,_0x1efc97['CollaborationStatus'][_0x513443(0x255)]),_0x1a34db=_0x46a2f6[_0x513443(0x406)](_0x165790[_0x513443(0x1a8)]),_0x5469d8=_0x46a2f6['useDependency'](_0x1efc97[_0x513443(0x329)]),_0x89fcfd=_0x59ddf2!==_0x1efc97[_0x513443(0x3e8)][_0x513443(0x27d)],_0x3e052e=_0x1a34db['t'](_0x2d330d(_0x59ddf2)),_0x2b1de0=_0x89fcfd?_0x1889d3[_0x513443(0x2be)](_0x39f041,{}):_0x1889d3[_0x513443(0x2be)](_0x42f822,{}),_0x1bf07d=_0xb812c9[_0x513443(0x201)](()=>{_0x89fcfd||_0x5469d8['reconnect']();},[_0x89fcfd,_0x5469d8]);function _0x228a96(){const _0x87b921=_0x513443;return _0x1889d3[_0x87b921(0x40c)](_0x87b921(0x3c4),{'className':_0x87b921(0x34c),'onClick':_0x1bf07d,'children':[_0x1889d3[_0x87b921(0x2be)](_0x87b921(0x3c4),{'className':_0x3cf048['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x89fcfd,'univer-text-red-500':!_0x89fcfd}),'children':_0x2b1de0}),_0x1889d3[_0x87b921(0x2be)](_0x87b921(0x3c4),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3e052e})]});}return _0x89fcfd?_0x228a96():_0x1889d3[_0x513443(0x2be)](_0x3cf048[_0x513443(0x3f4)],{'title':_0x1a34db['t']('collab-client.tooltip.reconnect'),'children':_0x228a96()});}var _0x56d9bb=Object['getOwnPropertyDescriptor'],_0x4323aa=(_0x4e6991,_0xdd84a,_0x170d0d,_0x5da013)=>{for(var _0x2b53c2=_0x5da013>0x1?void 0x0:_0x5da013?_0x56d9bb(_0xdd84a,_0x170d0d):_0xdd84a,_0xf73680=_0x4e6991['length']-0x1,_0x2a6e05;_0xf73680>=0x0;_0xf73680--)(_0x2a6e05=_0x4e6991[_0xf73680])&&(_0x2b53c2=_0x2a6e05(_0x2b53c2)||_0x2b53c2);return _0x2b53c2;},_0x1bf362=(_0x345705,_0xb98c6a)=>(_0x3375df,_0x42e50c)=>_0xb98c6a(_0x3375df,_0x42e50c,_0x345705);_0x53f44c[_0x529647(0x3ea)]=class extends _0x165790[_0x529647(0x225)]{constructor(_0xd2c090,_0x144ffb,_0x3307c4,_0xc3ab23){const _0x472bab=_0x529647;super(),_0x1bb758(this,'_status$',new _0x278be1['BehaviorSubject'](_0x1efc97[_0x472bab(0x3e8)][_0x472bab(0x255)])),(this[_0x472bab(0x27f)]=_0xd2c090,this['_injector']=_0x144ffb,this[_0x472bab(0x35a)]=_0x3307c4,this[_0x472bab(0x42f)]=_0xc3ab23,this[_0x472bab(0x3cd)](),this[_0x472bab(0x396)]());}['_initStatusListener'](){const _0xba667c=_0x529647;this['disposeWithMe'](this[_0xba667c(0x27f)][_0xba667c(0x2f7)]['pipe'](_0x278be1[_0xba667c(0x2a3)](()=>{const _0x5825c3=_0xba667c,_0x4d9abb=this[_0x5825c3(0x27f)][_0x5825c3(0x355)]();return _0x4d9abb?this[_0x5825c3(0x35a)][_0x5825c3(0x29c)](_0x4d9abb['getUnitId']()):_0x278be1['of'](null);}),_0x278be1['switchMap'](_0x24b6f0=>_0x24b6f0?_0x24b6f0[_0xba667c(0x1fc)]:_0x278be1['of'](_0x1efc97[_0xba667c(0x3e8)]['NOT_COLLAB'])))['subscribe'](_0x52f806=>{const _0xbb73da=_0xba667c;this[_0xbb73da(0x328)][_0xbb73da(0x1ed)](_0x52f806);}));}[_0x529647(0x3cd)](){const _0x660496=_0x529647;this[_0x660496(0x203)](this[_0x660496(0x42f)][_0x660496(0x23f)](_0x46a2f6[_0x660496(0x3fd)]['HEADER_MENU'],()=>_0x46a2f6[_0x660496(0x41f)](_0xca30b6({'status$':this['_status$'][_0x660496(0x304)]()}),this[_0x660496(0x3c1)])));}},_0x53f44c['DesktopCollaborationStatusDisplayController']=_0x4323aa([_0x1bf362(0x0,_0x165790[_0x529647(0x307)]),_0x1bf362(0x1,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x213)])),_0x1bf362(0x2,_0x165790[_0x529647(0x337)](_0x1efc97[_0x529647(0x315)])),_0x1bf362(0x3,_0x46a2f6[_0x529647(0x415)])],_0x53f44c['DesktopCollaborationStatusDisplayController']);function _0xca30b6(_0x57bd12){const {status$:_0x570a1b}=_0x57bd12;return function(){return _0x1889d3['jsx'](_0x1f2209,{'status$':_0x570a1b});};}const _0x3fd2ab=_0x165790[_0x529647(0x344)]('uni.network.url-service');var _0x4d76bb=Object[_0x529647(0x21c)],_0x2d52c5=(_0x5cc700,_0x353471,_0x335b43,_0x26c8be)=>{const _0x4a56a6=_0x529647;for(var _0x47bf30=_0x26c8be>0x1?void 0x0:_0x26c8be?_0x4d76bb(_0x353471,_0x335b43):_0x353471,_0x37bec2=_0x5cc700[_0x4a56a6(0x3c3)]-0x1,_0x38a8e;_0x37bec2>=0x0;_0x37bec2--)(_0x38a8e=_0x5cc700[_0x37bec2])&&(_0x47bf30=_0x38a8e(_0x47bf30)||_0x47bf30);return _0x47bf30;},_0x4cc324=(_0x44dfe2,_0x4ff786)=>(_0xbf2333,_0x5453d3)=>_0x4ff786(_0xbf2333,_0x5453d3,_0x44dfe2);_0x53f44c[_0x529647(0x230)]=class extends _0x165790['RxDisposable']{constructor(_0x4bc174,_0x4ea75a,_0x5f4509,_0x2e6570,_0x455068){const _0x1bc2fb=_0x529647;super(),this[_0x1bc2fb(0x413)]=_0x4bc174,this['_logService']=_0x4ea75a,this[_0x1bc2fb(0x2fc)]=_0x5f4509,this['_dataLoaderService']=_0x2e6570,_0x455068?_0x455068==null||_0x455068[_0x1bc2fb(0x1fa)]()['then'](()=>this['_init']()):(this['_logService'][_0x1bc2fb(0x1eb)](_0x1bc2fb(0x33d),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1bc2fb(0x2b7)]());}async['_init'](){const _0x13e255=_0x529647,_0x591154=this['_urlService'][_0x13e255(0x26a)](_0x13e255(0x30a)),_0x3a3c5b=this[_0x13e255(0x413)][_0x13e255(0x26a)](_0x13e255(0x1f0)),_0x4b9f88=this[_0x13e255(0x413)]['getParam']('subunit');if(!_0x591154||!_0x3a3c5b){this[_0x13e255(0x210)][_0x13e255(0x1eb)](_0x13e255(0x33d),_0x13e255(0x20c));return;}const _0x30fafa=await this[_0x13e255(0x258)]['loadUnit'](_0x591154,Number(_0x3a3c5b),_0x4b9f88);_0x30fafa&&_0x30fafa instanceof _0x165790[_0x13e255(0x1dd)]&&this[_0x13e255(0x1b9)](_0x30fafa);}async[_0x529647(0x1b9)](_0x5cfd7d){const _0x550d85=_0x529647;await this[_0x550d85(0x393)](_0x5cfd7d),_0x5cfd7d[_0x550d85(0x40e)][_0x550d85(0x1f3)](_0x278be1[_0x550d85(0x202)](this[_0x550d85(0x2d3)]))[_0x550d85(0x35c)](_0x56b63f=>{const _0x1df8d1=_0x550d85;_0x56b63f&&this[_0x1df8d1(0x226)](_0x56b63f);}),this['_urlService'][_0x550d85(0x3e3)][_0x550d85(0x1f3)](_0x278be1['takeUntil'](this[_0x550d85(0x2d3)]))[_0x550d85(0x35c)](()=>this[_0x550d85(0x393)](_0x5cfd7d));}[_0x529647(0x226)](_0x1f4368,_0x3933f4=!0x1){const _0x4af5e5=_0x529647,_0x461f9f=this['_urlService']['getParam'](_0x4af5e5(0x1f6));_0x1f4368['getSheetId']()!==_0x461f9f&&this[_0x4af5e5(0x413)]['setParam'](_0x4af5e5(0x1f6),_0x1f4368[_0x4af5e5(0x1de)](),_0x3933f4);}async['_updateSubUnitFromURLParams'](_0x300cf0){const _0x32a18f=_0x529647;var _0x2099b3;const _0x2c430d=this[_0x32a18f(0x413)][_0x32a18f(0x26a)](_0x32a18f(0x1f6));if(!_0x2c430d||!_0x300cf0[_0x32a18f(0x22b)](_0x2c430d)){const _0x3d903e=_0x300cf0['getUnhiddenWorksheets']()[0x0],_0x553c3d=_0x300cf0[_0x32a18f(0x22b)](_0x3d903e);if(!_0x553c3d)return;this[_0x32a18f(0x226)](_0x553c3d,!0x0),await this[_0x32a18f(0x2fc)][_0x32a18f(0x297)](_0x63078f[_0x32a18f(0x2f9)]['id'],{'unitId':_0x300cf0[_0x32a18f(0x2a0)](),'subUnitId':_0x3d903e});return;}((_0x2099b3=_0x300cf0[_0x32a18f(0x21a)]())==null?void 0x0:_0x2099b3[_0x32a18f(0x1de)]())!==_0x2c430d&&await this['_commandService'][_0x32a18f(0x297)](_0x63078f[_0x32a18f(0x2f9)]['id'],{'unitId':_0x300cf0[_0x32a18f(0x2a0)](),'subUnitId':_0x2c430d});}},_0x53f44c[_0x529647(0x230)]=_0x2d52c5([_0x4cc324(0x0,_0x3fd2ab),_0x4cc324(0x1,_0x165790['ILogService']),_0x4cc324(0x2,_0x165790[_0x529647(0x282)]),_0x4cc324(0x3,_0x165790[_0x529647(0x337)](_0x1efc97['DataLoaderService'])),_0x4cc324(0x4,_0x165790[_0x529647(0x305)](_0x29fc21[_0x529647(0x347)]))],_0x53f44c['CollaborationDataLoaderController']);var _0x56a7c9=Object['getOwnPropertyDescriptor'],_0x5e2846=(_0x781348,_0x1c516a,_0x120822,_0x460e21)=>{for(var _0x422c87=_0x460e21>0x1?void 0x0:_0x460e21?_0x56a7c9(_0x1c516a,_0x120822):_0x1c516a,_0x1ebe0d=_0x781348['length']-0x1,_0x575668;_0x1ebe0d>=0x0;_0x1ebe0d--)(_0x575668=_0x781348[_0x1ebe0d])&&(_0x422c87=_0x575668(_0x422c87)||_0x422c87);return _0x422c87;},_0x1f3c5e=(_0x5e399e,_0x27e0d5)=>(_0x2f5ee5,_0x14fe46)=>_0x27e0d5(_0x2f5ee5,_0x14fe46,_0x5e399e);let _0x684b41=class extends _0x165790[_0x529647(0x270)]{constructor(_0xc5a14b,_0x5b61a7){const _0xa21e17=_0x529647;super(),this[_0xa21e17(0x3e9)]=_0xc5a14b,this[_0xa21e17(0x308)]=_0x5b61a7,this[_0xa21e17(0x2b7)]();}['_init'](){const _0xa5c3b0=_0x529647,_0x2bc570=this;this['disposeWithMe'](this['_docClipboardService'][_0xa5c3b0(0x1ce)]({'onBeforePasteImage':async _0x211fe0=>{const _0x21be15=_0xa5c3b0,_0x3ec4c5=await _0x2bc570[_0x21be15(0x308)][_0x21be15(0x1cf)](_0x211fe0);return _0x3ec4c5?{'source':_0x3ec4c5[_0x21be15(0x3b5)],'imageSourceType':_0x3ec4c5[_0x21be15(0x418)]}:null;}}));}};_0x684b41=_0x5e2846([_0x1f3c5e(0x0,_0x20f7f1[_0x529647(0x21e)]),_0x1f3c5e(0x1,_0x5c4bf6['IImageIoService'])],_0x684b41);const _0x48268a=[_0x529647(0x2a8),_0x529647(0x3ca),_0x529647(0x273),_0x529647(0x360),'blue.400','yellow.400'];class _0x4f197f extends _0x165790['Disposable']{constructor(){const _0x29ac76=_0x529647;super(...arguments),_0x1bb758(this,_0x29ac76(0x374),new Map()),_0x1bb758(this,_0x29ac76(0x3d8),0x0);}[_0x529647(0x1aa)](_0x38ba57){const _0x6b7732=_0x529647;if(this['_assignedColors']['has'](_0x38ba57))return this['_assignedColors'][_0x6b7732(0x1b5)](_0x38ba57);const _0x189073=_0x48268a[this[_0x6b7732(0x3d8)]];return this[_0x6b7732(0x3d8)]=(this[_0x6b7732(0x3d8)]+0x1)%_0x48268a[_0x6b7732(0x3c3)],this[_0x6b7732(0x374)][_0x6b7732(0x41c)](_0x38ba57,_0x189073),_0x189073;}}function _0x425d10(_0x388d1b){const _0x2c898e=_0x529647;let _0x105265='';for(const _0x1dc38c of _0x388d1b){const {startOffset:_0x560aca,endOffset:_0x32b891,isActive:_0x5bdbb6,rangeType:_0x44c94b,segmentId:_0x109911,segmentPage:_0x397f7b}=_0x1dc38c;_0x105265[_0x2c898e(0x3c3)]&&(_0x105265+=','),_0x105265+=_0x560aca+':'+_0x32b891+':'+(_0x5bdbb6?'1':'0')+':'+_0x44c94b+':'+_0x109911+':'+_0x397f7b;}return _0x105265;}function _0x39acae(_0x3b17cb){const _0x511e05=_0x529647,_0x24fa26=_0x3b17cb[_0x511e05(0x1bb)](','),_0x2db6ae=[];for(const _0x2d75ee of _0x24fa26){const [_0x187e9d,_0x14b3e7,_0x1b275f,_0x41768d,_0x2356d3,_0x51ed93]=_0x2d75ee[_0x511e05(0x1bb)](':');_0x2db6ae[_0x511e05(0x1c7)]({'startOffset':Number(_0x187e9d),'endOffset':Number(_0x14b3e7),'collapsed':_0x187e9d===_0x14b3e7,'isActive':_0x1b275f==='1','rangeType':_0x41768d===_0x165790[_0x511e05(0x217)][_0x511e05(0x31c)]?_0x165790[_0x511e05(0x217)][_0x511e05(0x31c)]:_0x165790[_0x511e05(0x217)][_0x511e05(0x3e1)],'segmentId':typeof _0x2356d3==_0x511e05(0x3e4)?String(_0x2356d3):'','segmentPage':Number(_0x51ed93!=null?_0x51ed93:-0x1)});}return _0x2db6ae['some'](_0x204cc6=>_0x204cc6[_0x511e05(0x37c)])||(_0x2db6ae[0x0][_0x511e05(0x37c)]=!0x0),_0x2db6ae;}class _0x58216b extends _0x165790[_0x529647(0x270)]{constructor(){const _0x211888=_0x529647;super(...arguments),_0x1bb758(this,_0x211888(0x2b5),new _0x278be1[(_0x211888(0x39a))](null)),_0x1bb758(this,'collabCursorState$',this['_collabCursorState$'][_0x211888(0x304)]());}[_0x529647(0x38c)](_0x260693){const _0x383aaa=_0x529647,{unitID:_0x357ff2,memberID:_0x23fcb4,textRanges:_0x2deaef}=_0x260693,_0x3ec519=_0x425d10(_0x2deaef);if(_0x3ec519==='')return;const _0x2c19ae={'unitID':_0x357ff2,'memberID':_0x23fcb4,'selection':_0x3ec519};this['_collabCursorState$'][_0x383aaa(0x1ed)](_0x2c19ae);}}var _0x2ab906=Object[_0x529647(0x21c)],_0x2724bd=(_0x749eaf,_0x36975e,_0x37298e,_0x3e82ce)=>{const _0x5aed7b=_0x529647;for(var _0x1c18d0=_0x3e82ce>0x1?void 0x0:_0x3e82ce?_0x2ab906(_0x36975e,_0x37298e):_0x36975e,_0x3f3def=_0x749eaf[_0x5aed7b(0x3c3)]-0x1,_0x681b84;_0x3f3def>=0x0;_0x3f3def--)(_0x681b84=_0x749eaf[_0x3f3def])&&(_0x1c18d0=_0x681b84(_0x1c18d0)||_0x1c18d0);return _0x1c18d0;},_0x188bb5=(_0xfaed47,_0x70374f)=>(_0x16af4f,_0x27ec2e)=>_0x70374f(_0x16af4f,_0x27ec2e,_0xfaed47);const _0x5e3d22=0x12c,_0x11036f=0x64;let _0x42f3b2=class extends _0x165790[_0x529647(0x270)]{constructor(_0x8e5ae8,_0x2334d1,_0x2bb08e,_0x52ea61,_0xdad13d,_0x418f70,_0x23c88e,_0x4c522c,_0x117cd7){const _0x1895c1=_0x529647;super(),_0x1bb758(this,_0x1895c1(0x1cb),!0x1),_0x1bb758(this,_0x1895c1(0x2b7),!0x1),_0x1bb758(this,'_cursorInfo$',new _0x278be1[(_0x1895c1(0x39a))](new Map())),_0x1bb758(this,_0x1895c1(0x3da),this[_0x1895c1(0x22e)][_0x1895c1(0x304)]()),_0x1bb758(this,_0x1895c1(0x257),new _0x278be1[(_0x1895c1(0x39a))]([])),_0x1bb758(this,_0x1895c1(0x2c9),this[_0x1895c1(0x257)][_0x1895c1(0x1f3)](_0x278be1[_0x1895c1(0x2e7)](_0x5e3d22))),_0x1bb758(this,'_updateLocalCursor',_0x165790[_0x1895c1(0x251)](_0x4c8c2c=>{const _0x46f877=_0x1895c1,_0x196a1d={'eventID':_0x2b1f6e[_0x46f877(0x351)][_0x46f877(0x356)],'data':{'unitID':this[_0x46f877(0x27e)],'memberID':this[_0x46f877(0x3df)]['getMemberID'](),'selection':_0x425d10(_0x4c8c2c)}};this[_0x46f877(0x3df)]['send'](_0x196a1d,this['unitID']);},_0x11036f)),(this[_0x1895c1(0x27e)]=_0x8e5ae8,this[_0x1895c1(0x3df)]=_0x2334d1,this[_0x1895c1(0x3c1)]=_0x2bb08e,this[_0x1895c1(0x260)]=_0x52ea61,this[_0x1895c1(0x421)]=_0xdad13d,this['_syncEditingCollabCursorService']=_0x418f70,this['_transformService']=_0x23c88e,this[_0x1895c1(0x27f)]=_0x4c522c,this['_commandService']=_0x117cd7);}get[_0x529647(0x2cb)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x5d9f70=_0x529647;return this[_0x5d9f70(0x257)][_0x5d9f70(0x1f9)]();}[_0x529647(0x23c)](){const _0x5320eb=_0x529647;super[_0x5320eb(0x23c)](),this[_0x5320eb(0x22e)][_0x5320eb(0x1ed)](new Map()),this[_0x5320eb(0x22e)][_0x5320eb(0x301)](),this[_0x5320eb(0x257)][_0x5320eb(0x1ed)]([]),this['_roomMembers$'][_0x5320eb(0x301)]();}[_0x529647(0x3a4)](){const _0x4989cf=_0x529647;this[_0x4989cf(0x2b7)]||(this['_init']=!0x0,this[_0x4989cf(0x3df)]['sessionStatus$'][_0x4989cf(0x1f3)](_0x278be1[_0x4989cf(0x202)](this['dispose$']))[_0x4989cf(0x35c)](_0x73d129=>{const _0x398cd9=_0x4989cf;_0x73d129===_0x1efc97[_0x398cd9(0x1f8)][_0x398cd9(0x3f3)]?this[_0x398cd9(0x2e8)]():this[_0x398cd9(0x369)]();}),this[_0x4989cf(0x3df)]['event$'][_0x4989cf(0x1f3)](_0x278be1[_0x4989cf(0x202)](this[_0x4989cf(0x2d3)]))[_0x4989cf(0x35c)](_0x373751=>{const _0x4350c0=_0x4989cf,_0x3c19b3=_0x373751[_0x4350c0(0x324)];_0x3c19b3===_0x2b1f6e[_0x4350c0(0x351)]['UPDATE_CURSOR']&&this[_0x4350c0(0x31e)](_0x373751),_0x3c19b3===_0x2b1f6e[_0x4350c0(0x351)][_0x4350c0(0x401)]&&this['_onCursorDelete'](_0x373751);}),this[_0x4989cf(0x203)](this['_commandService']['onCommandExecuted'](_0x537dd4=>{const _0xe71452=_0x4989cf,_0x33a448=_0x537dd4[_0xe71452(0x1ef)];_0x33a448!=null&&this[_0xe71452(0x1cb)]&&_0x537dd4['id']===_0x20f8e5[_0xe71452(0x2d5)]['id']&&_0x33a448[_0xe71452(0x408)]===this['unitID']&&_0x33a448[_0xe71452(0x2c1)]===!0x1&&_0x33a448[_0xe71452(0x3f9)][_0xe71452(0x3c3)]>0x0&&this[_0xe71452(0x26f)](_0x33a448[_0xe71452(0x3f9)]);})),this[_0x4989cf(0x20d)][_0x4989cf(0x1fb)]['pipe'](_0x278be1[_0x4989cf(0x202)](this[_0x4989cf(0x2d3)]))[_0x4989cf(0x35c)](_0x3d768b=>{const _0x250624=_0x4989cf;if((_0x3d768b==null?void 0x0:_0x3d768b[_0x250624(0x27e)])!==this[_0x250624(0x27e)])return;const _0xfeb7d4={'eventID':_0x2b1f6e[_0x250624(0x351)][_0x250624(0x356)],'data':_0x3d768b};this['_onCursorUpdate'](_0xfeb7d4);}),this[_0x4989cf(0x203)](this[_0x4989cf(0x2fc)][_0x4989cf(0x2ea)](_0x55f692=>{const _0x1e909c=_0x4989cf;if(_0x55f692['params']==null)return;const _0x3389cf=_0x55f692[_0x1e909c(0x1ef)];if(_0x55f692['id']!==_0x20f8e5[_0x1e909c(0x316)]['id']||_0x3389cf[_0x1e909c(0x408)]!==this[_0x1e909c(0x27e)])return;const _0x1e97b5={'id':_0x1e909c(0x3e7),'params':_0x3389cf},_0x1e9e7f=this[_0x1e909c(0x2cb)];for(const [_0x597086,_0x5df1e5]of _0x1e9e7f){const _0x495db2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1e909c(0x27e)],'actions':null,'textRanges':_0x5df1e5[_0x1e909c(0x3f9)]}},_0x3de631=this[_0x1e909c(0x292)][_0x1e909c(0x218)](_0x1e97b5,_0x495db2,!0x1);if(_0x2b1f6e[_0x1e909c(0x250)](_0x3de631))throw _0x3de631[_0x1e909c(0x3d5)];_0x1e9e7f[_0x1e909c(0x41c)](_0x597086,{..._0x5df1e5,'ranges':_0x3de631[_0x1e909c(0x2fe)][_0x1e909c(0x1ef)][_0x1e909c(0x21d)]});}queueMicrotask(()=>{const _0x33248d=_0x1e909c;this[_0x33248d(0x22e)][_0x33248d(0x1ed)](_0x1e9e7f);});})));}[_0x529647(0x31e)](_0x2470ce){const _0x16d19d=_0x529647;var _0x32d4aa,_0x17b50c;const {memberID:_0x8aac27,selection:_0x3cd34e}=_0x2470ce['data'],_0x3f0a35=_0x39acae(_0x3cd34e),_0x40ef94=(_0x17b50c=(_0x32d4aa=this[_0x16d19d(0x421)][_0x16d19d(0x322)](this[_0x16d19d(0x27e)],_0x8aac27))==null?void 0x0:_0x32d4aa[_0x16d19d(0x268)])!=null?_0x17b50c:_0x16d19d(0x42b),_0x1f35bd={'color':this['_colorAssignService'][_0x16d19d(0x1aa)](_0x8aac27),'name':_0x40ef94,'ranges':_0x3f0a35},_0x446c2a=this['cursorInfo'];_0x446c2a['set'](_0x8aac27,_0x1f35bd),this[_0x16d19d(0x22e)][_0x16d19d(0x1ed)](_0x446c2a);}['_onCursorDelete'](_0x1586c9){const _0x1661cd=_0x529647,{memberID:_0x117bcb}=_0x1586c9[_0x1661cd(0x310)],_0x3dbc83=this[_0x1661cd(0x2cb)];_0x3dbc83['delete'](_0x117bcb),this[_0x1661cd(0x22e)][_0x1661cd(0x1ed)](_0x3dbc83);}['_toggleOnline'](){const _0x4af30e=_0x529647;var _0x50d519;if(this['_online']=!0x0,((_0x50d519=this[_0x4af30e(0x27f)][_0x4af30e(0x355)]())==null?void 0x0:_0x50d519[_0x4af30e(0x2a0)]())!==this['unitID'])return;const _0x5cafc8=this['_injector'][_0x4af30e(0x1b5)](_0x20f8e5[_0x4af30e(0x327)])[_0x4af30e(0x34b)]();Array['isArray'](_0x5cafc8)&&_0x5cafc8['length']>0x0&&this['_updateLocalCursor'](_0x5cafc8);}['_toggleOffline'](){const _0x23fc4e=_0x529647;this[_0x23fc4e(0x1cb)]=!0x1;}};_0x42f3b2=_0x2724bd([_0x188bb5(0x2,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x213)])),_0x188bb5(0x3,_0x165790[_0x529647(0x337)](_0x4f197f)),_0x188bb5(0x4,_0x165790[_0x529647(0x337)](_0x1efc97['MemberService'])),_0x188bb5(0x5,_0x165790['Inject'](_0x58216b)),_0x188bb5(0x6,_0x2b1f6e[_0x529647(0x412)]),_0x188bb5(0x7,_0x165790[_0x529647(0x307)]),_0x188bb5(0x8,_0x165790['ICommandService'])],_0x42f3b2);var _0x2d546c=Object[_0x529647(0x21c)],_0x146781=(_0x22462c,_0x15a46f,_0x4c2854,_0x5c41e9)=>{const _0x5ebb65=_0x529647;for(var _0x182f48=_0x5c41e9>0x1?void 0x0:_0x5c41e9?_0x2d546c(_0x15a46f,_0x4c2854):_0x15a46f,_0xfde7d6=_0x22462c[_0x5ebb65(0x3c3)]-0x1,_0x2bd026;_0xfde7d6>=0x0;_0xfde7d6--)(_0x2bd026=_0x22462c[_0xfde7d6])&&(_0x182f48=_0x2bd026(_0x182f48)||_0x182f48);return _0x182f48;},_0x53c2a7=(_0x1fd7e2,_0x3ee7da)=>(_0x26ee64,_0x4d1cd6)=>_0x3ee7da(_0x26ee64,_0x4d1cd6,_0x1fd7e2);const _0x43acf1=0x12c,_0x40c444=0x64,_0x28decf=()=>{let _0x3be4d2=[],_0x2f404c=!0x1;return _0x24b4da=>{const _0x5852fb=_0x1288;_0x3be4d2[_0x5852fb(0x1c7)](_0x24b4da),_0x2f404c||(_0x2f404c=!0x0,setTimeout(()=>{const _0x4472bd=_0x5852fb;_0x3be4d2[_0x4472bd(0x311)](_0x50b8b9=>_0x50b8b9()),_0x3be4d2=[],_0x2f404c=!0x1;}));};};let _0x15de91=class extends _0x165790[_0x529647(0x270)]{constructor(_0x3cb956,_0x3c2233,_0xf0395,_0x177816,_0x3a820a,_0x5f1293,_0x2a1246,_0x5b39cc){const _0x475b45=_0x529647;super(),_0x1bb758(this,'_online',!0x1),_0x1bb758(this,'_init',!0x1),_0x1bb758(this,_0x475b45(0x22e),new _0x278be1[(_0x475b45(0x39a))](new Map())),_0x1bb758(this,_0x475b45(0x3da),this[_0x475b45(0x22e)]['asObservable']()),_0x1bb758(this,_0x475b45(0x257),new _0x278be1['BehaviorSubject']([])),_0x1bb758(this,_0x475b45(0x2c9),this[_0x475b45(0x257)][_0x475b45(0x1f3)](_0x278be1['debounceTime'](_0x43acf1))),_0x1bb758(this,'_updateLocalCursor',_0x165790['debounce']((_0x4e48c5,_0x4f502f)=>{const _0x56733d=_0x475b45,_0x2506cd={'eventID':_0x2b1f6e[_0x56733d(0x351)][_0x56733d(0x356)],'data':{'unitID':this[_0x56733d(0x27e)],'memberID':this[_0x56733d(0x3df)]['getMemberID'](),'selection':_0x437b2a[_0x56733d(0x389)](_0x4e48c5,_0x4f502f[_0x56733d(0x428)])}};this['_session'][_0x56733d(0x410)](_0x2506cd,this[_0x56733d(0x27e)]);},_0x40c444)),(this[_0x475b45(0x27e)]=_0x3cb956,this[_0x475b45(0x3df)]=_0x3c2233,this[_0x475b45(0x3c1)]=_0xf0395,this[_0x475b45(0x260)]=_0x177816,this['_memberService']=_0x3a820a,this[_0x475b45(0x27f)]=_0x5f1293,this[_0x475b45(0x2fc)]=_0x2a1246,this[_0x475b45(0x390)]=_0x5b39cc);}get[_0x529647(0x2cb)](){const _0x32c79d=_0x529647;return this[_0x32c79d(0x22e)]['getValue']();}get['roomMembers'](){const _0x3de6fb=_0x529647;return this['_roomMembers$'][_0x3de6fb(0x1f9)]();}['dispose'](){const _0x1ddd94=_0x529647;super[_0x1ddd94(0x23c)](),this['_cursorInfo$'][_0x1ddd94(0x1ed)](new Map()),this[_0x1ddd94(0x22e)][_0x1ddd94(0x301)](),this['_roomMembers$'][_0x1ddd94(0x1ed)]([]),this[_0x1ddd94(0x257)][_0x1ddd94(0x301)]();}[_0x529647(0x3a4)](){const _0x474b4d=_0x529647;this[_0x474b4d(0x2b7)]||(this[_0x474b4d(0x2b7)]=!0x0,this[_0x474b4d(0x3df)][_0x474b4d(0x1ee)]['pipe'](_0x278be1[_0x474b4d(0x202)](this[_0x474b4d(0x2d3)]))[_0x474b4d(0x35c)](_0x251e2a=>{const _0xd1f739=_0x474b4d;_0x251e2a===_0x1efc97[_0xd1f739(0x1f8)]['ONLINE']?this[_0xd1f739(0x2e8)]():this[_0xd1f739(0x369)]();}),this[_0x474b4d(0x3df)][_0x474b4d(0x3c9)][_0x474b4d(0x1f3)](_0x278be1[_0x474b4d(0x202)](this[_0x474b4d(0x2d3)]))[_0x474b4d(0x35c)](_0x344796=>{const _0x40ab59=_0x474b4d,_0x37b86b=_0x344796[_0x40ab59(0x324)];_0x37b86b===_0x2b1f6e['CollaborationEvent'][_0x40ab59(0x356)]&&this[_0x40ab59(0x31e)](_0x344796),_0x37b86b===_0x2b1f6e['CollaborationEvent'][_0x40ab59(0x401)]&&this[_0x40ab59(0x243)](_0x344796);}),this['_onRefRangeChange'](),this[_0x474b4d(0x203)](this[_0x474b4d(0x2fc)][_0x474b4d(0x2ea)](_0x27935b=>{const _0x2da116=_0x474b4d;if(this[_0x2da116(0x1cb)]&&_0x27935b['id']===_0x63078f['SetSelectionsOperation']['id']&&_0x27935b['params']['unitId']===this[_0x2da116(0x27e)]){const _0xfa33fe=_0x27935b['params'];this[_0x2da116(0x26f)](_0xfa33fe['subUnitId'],_0xfa33fe[_0x2da116(0x295)][0x0]);}})));}[_0x529647(0x31e)](_0x3756db){const _0x17eadb=_0x529647;var _0x2bc581,_0x5c11c0;const {memberID:_0x14a89e,selection:_0x336cfb}=_0x3756db[_0x17eadb(0x310)],{sheetName:_0x4b0fbb,range:_0x2ede9f}=_0x437b2a[_0x17eadb(0x1be)](_0x336cfb),_0x45c9ca={'name':(_0x5c11c0=(_0x2bc581=this[_0x17eadb(0x421)][_0x17eadb(0x322)](this[_0x17eadb(0x27e)],_0x14a89e))==null?void 0x0:_0x2bc581[_0x17eadb(0x268)])!=null?_0x5c11c0:_0x17eadb(0x42b),'range':this['_getMergeRange'](_0x4b0fbb,_0x2ede9f),'sheetID':_0x4b0fbb,'color':this[_0x17eadb(0x260)][_0x17eadb(0x1aa)](_0x14a89e),'selection':_0x336cfb},_0x63f985=this['cursorInfo'];_0x63f985['set'](_0x14a89e,_0x45c9ca),this['_cursorInfo$'][_0x17eadb(0x1ed)](_0x63f985);}[_0x529647(0x243)](_0x14865b){const _0xe0cb21=_0x529647,{memberID:_0x4f56dc}=_0x14865b[_0xe0cb21(0x310)],_0x210ea1=this[_0xe0cb21(0x2cb)];_0x210ea1['delete'](_0x4f56dc),this[_0xe0cb21(0x22e)][_0xe0cb21(0x1ed)](_0x210ea1);}[_0x529647(0x223)](_0x756888,_0xa77afb){const _0x21244f=_0x529647;var _0x22a532,_0x98618d;const _0x4fd902=(_0x98618d=(_0x22a532=this[_0x21244f(0x27f)][_0x21244f(0x3fa)](this[_0x21244f(0x27e)]))==null?void 0x0:_0x22a532[_0x21244f(0x22b)](_0x756888))==null?void 0x0:_0x98618d[_0x21244f(0x1e1)]();return(_0x4fd902==null?void 0x0:_0x4fd902['find'](_0x3b270b=>_0x165790[_0x21244f(0x303)][_0x21244f(0x1b3)](_0x3b270b,_0xa77afb)))||_0xa77afb;}[_0x529647(0x20f)](){const _0x2850c4=_0x529647,_0xe8a33c=new _0x165790['DisposableCollection'](),_0x3b7393=_0x28decf(),_0x14d67b=()=>{const _0x235ab2=_0x1288;_0xe8a33c[_0x235ab2(0x23c)]();const _0x41826a=(_0x155aa0,_0x109eac,_0x3c6e76,_0x28ec79)=>{const _0x945730=_0x235ab2;let _0x372ccb=[];switch(_0x155aa0['id']){case _0x63078f[_0x945730(0x41e)][_0x945730(0x254)]:{_0x372ccb=_0x63078f[_0x945730(0x3af)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)]['DeleteRangeMoveUpCommandId']:{_0x372ccb=_0x63078f[_0x945730(0x3c7)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)][_0x945730(0x3b9)]:{_0x372ccb=_0x63078f[_0x945730(0x259)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)][_0x945730(0x3b3)]:{_0x372ccb=_0x63078f[_0x945730(0x20e)](_0x155aa0,_0x28ec79);break;}case _0x63078f['EffectRefRangId'][_0x945730(0x287)]:{_0x372ccb=_0x63078f['handleInsertRangeMoveRight'](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)][_0x945730(0x1ba)]:{_0x372ccb=_0x63078f[_0x945730(0x3d7)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)][_0x945730(0x2eb)]:{_0x372ccb=_0x63078f[_0x945730(0x1b1)](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)]['RemoveColCommandId']:{_0x372ccb=_0x63078f['handleIRemoveCol'](_0x155aa0,_0x28ec79);break;}case _0x63078f[_0x945730(0x41e)]['RemoveRowCommandId']:{_0x372ccb=_0x63078f[_0x945730(0x379)](_0x155aa0,_0x28ec79);break;}}const _0x64b827=_0x63078f['runRefRangeMutations'](_0x372ccb,_0x28ec79),_0x1ce722=this[_0x945730(0x2cb)]['get'](_0x109eac);if(_0x1ce722&&_0x64b827){const _0x4486ee={..._0x1ce722,'range':_0x64b827};this['cursorInfo'][_0x945730(0x41c)](_0x109eac,_0x4486ee),_0x3b7393(()=>{const _0xf6fa79=_0x945730,_0x237c94=this[_0xf6fa79(0x390)][_0xf6fa79(0x330)](_0x64b827,_0x2be93e=>(_0x237c94[_0xf6fa79(0x23c)](),_0x41826a(_0x2be93e,_0x109eac,_0x3c6e76,_0x64b827)));_0xe8a33c[_0xf6fa79(0x2f4)](_0x237c94);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4ec1ef,_0x2bb27e)=>{const _0x324073=_0x235ab2,{range:_0x5cec1d,sheetID:_0x465611}=_0x4ec1ef,_0x5c5ba4=this['_refRangeService'][_0x324073(0x330)](_0x5cec1d,_0x203ccb=>(_0x5c5ba4[_0x324073(0x23c)](),_0x41826a(_0x203ccb,_0x2bb27e,_0x465611,_0x5cec1d)));_0xe8a33c[_0x324073(0x2f4)](_0x5c5ba4);});};this[_0x2850c4(0x203)](_0x165790[_0x2850c4(0x422)](this[_0x2850c4(0x22e)][_0x2850c4(0x35c)](()=>{_0x14d67b();})));}['_toggleOnline'](){const _0x195680=_0x529647;var _0x16691c,_0x1366eb;if(this[_0x195680(0x1cb)]=!0x0,((_0x16691c=this[_0x195680(0x27f)]['getFocusedUnit']())==null?void 0x0:_0x16691c['getUnitId']())!==this['unitID'])return;const _0xc6539=(_0x1366eb=this['_injector'][_0x195680(0x1b5)](_0x63078f[_0x195680(0x2e9)])[_0x195680(0x3f1)]())==null?void 0x0:_0x1366eb[0x0],_0x4da467=this[_0x195680(0x27f)][_0x195680(0x375)](_0x165790[_0x195680(0x2c0)][_0x195680(0x2d1)])[_0x195680(0x21a)]();_0xc6539&&_0x4da467&&this[_0x195680(0x26f)](_0x4da467[_0x195680(0x1de)](),_0xc6539);}['_toggleOffline'](){const _0x1c07c2=_0x529647;this[_0x1c07c2(0x1cb)]=!0x1;}};_0x15de91=_0x146781([_0x53c2a7(0x2,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x213)])),_0x53c2a7(0x3,_0x165790[_0x529647(0x337)](_0x4f197f)),_0x53c2a7(0x4,_0x165790[_0x529647(0x337)](_0x1efc97['MemberService'])),_0x53c2a7(0x5,_0x165790[_0x529647(0x307)]),_0x53c2a7(0x6,_0x165790['ICommandService']),_0x53c2a7(0x7,_0x165790[_0x529647(0x337)](_0x63078f[_0x529647(0x1ec)]))],_0x15de91);var _0x4db8bc=Object[_0x529647(0x21c)],_0xc3135d=(_0x3a8d4a,_0xd4ef3d,_0x425916,_0x406401)=>{const _0x1a0a64=_0x529647;for(var _0xe008=_0x406401>0x1?void 0x0:_0x406401?_0x4db8bc(_0xd4ef3d,_0x425916):_0xd4ef3d,_0x4b48b1=_0x3a8d4a[_0x1a0a64(0x3c3)]-0x1,_0x3c3312;_0x4b48b1>=0x0;_0x4b48b1--)(_0x3c3312=_0x3a8d4a[_0x4b48b1])&&(_0xe008=_0x3c3312(_0xe008)||_0xe008);return _0xe008;},_0x3c0565=(_0x5eb295,_0x50e53c)=>(_0x1c0946,_0x445211)=>_0x50e53c(_0x1c0946,_0x445211,_0x5eb295);let _0x117536=class extends _0x165790['RxDisposable']{constructor(_0x402db1,_0x3dda61,_0x1662ca){const _0x350ae8=_0x529647;super(),_0x1bb758(this,_0x350ae8(0x1b7),new Map()),_0x1bb758(this,'_entityInit$',new _0x278be1['Subject']()),(this[_0x350ae8(0x27f)]=_0x402db1,this[_0x350ae8(0x3c1)]=_0x3dda61,this[_0x350ae8(0x2b3)]=_0x1662ca,this[_0x350ae8(0x2b7)]());}[_0x529647(0x23c)](){const _0x37e98b=_0x529647;super['dispose'](),this[_0x37e98b(0x1c2)]['complete'](),this[_0x37e98b(0x1b7)][_0x37e98b(0x311)](_0x3b4b52=>_0x3b4b52['dispose']());}[_0x529647(0x36f)](_0x7098cd){const _0x48609e=_0x529647;return this[_0x48609e(0x1b7)][_0x48609e(0x317)](_0x7098cd)?this['_entities'][_0x48609e(0x1b5)](_0x7098cd)[_0x48609e(0x3da)]:this[_0x48609e(0x1c2)]['pipe'](_0x278be1['filter'](_0xe17b8b=>_0xe17b8b[_0x48609e(0x27e)]===_0x7098cd),_0x278be1['switchMap'](_0x40d248=>_0x40d248['cursorInfo$']));}[_0x529647(0x2b7)](){const _0x4f6f86=_0x529647;this[_0x4f6f86(0x27f)][_0x4f6f86(0x400)](_0x165790[_0x4f6f86(0x2c0)][_0x4f6f86(0x2d1)])[_0x4f6f86(0x1f3)](_0x278be1[_0x4f6f86(0x202)](this[_0x4f6f86(0x2d3)]))['subscribe'](async _0x1fac22=>{const _0x4f6616=_0x4f6f86,_0x277b37=_0x1fac22[_0x4f6616(0x2a0)](),_0x23eb78=await this[_0x4f6616(0x2bc)](_0x277b37);this['_entityInit$'][_0x4f6616(0x1ed)](_0x23eb78),this[_0x4f6616(0x1b7)][_0x4f6616(0x41c)](_0x277b37,_0x23eb78);}),this['_univerInstanceService'][_0x4f6f86(0x400)](_0x165790[_0x4f6f86(0x2c0)][_0x4f6f86(0x300)])['pipe'](_0x278be1[_0x4f6f86(0x202)](this[_0x4f6f86(0x2d3)]))[_0x4f6f86(0x1f3)](_0x278be1[_0x4f6f86(0x2e2)](_0x5b9782=>!_0x5b9782[_0x4f6f86(0x2a0)]()[_0x4f6f86(0x215)]('__')))[_0x4f6f86(0x35c)](async _0xc8533d=>{const _0x210be1=_0x4f6f86,_0xf66bd3=_0xc8533d[_0x210be1(0x2a0)](),_0x59a7b7=await this[_0x210be1(0x367)](_0xf66bd3);this[_0x210be1(0x1c2)]['next'](_0x59a7b7),this['_entities'][_0x210be1(0x41c)](_0xf66bd3,_0x59a7b7);}),_0x278be1[_0x4f6f86(0x35b)](this[_0x4f6f86(0x27f)][_0x4f6f86(0x3e0)](_0x165790['UniverInstanceType'][_0x4f6f86(0x300)]),this[_0x4f6f86(0x27f)][_0x4f6f86(0x3e0)](_0x165790[_0x4f6f86(0x2c0)]['UNIVER_SHEET']))[_0x4f6f86(0x1f3)](_0x278be1[_0x4f6f86(0x202)](this[_0x4f6f86(0x2d3)]))['subscribe'](_0x2fe0a1=>{const _0x5eee71=_0x4f6f86,_0x38cf68=_0x2fe0a1[_0x5eee71(0x2a0)](),_0x2beab7=this[_0x5eee71(0x1b7)][_0x5eee71(0x1b5)](_0x38cf68);_0x2beab7&&(_0x2beab7[_0x5eee71(0x23c)](),this[_0x5eee71(0x1b7)][_0x5eee71(0x371)](_0x38cf68));});}async[_0x529647(0x2bc)](_0x30214a){const _0x3ce622=_0x529647,_0x470bfc=await this[_0x3ce622(0x2b3)][_0x3ce622(0x2a2)](_0x30214a),_0x25a2e5=this['_injector'][_0x3ce622(0x2d4)](_0x15de91,_0x30214a,_0x470bfc);return _0x25a2e5['init'](),_0x25a2e5;}async[_0x529647(0x367)](_0x39466d){const _0x3911ed=_0x529647,_0x4bda86=await this['_collabSessionService'][_0x3911ed(0x2a2)](_0x39466d),_0x542c42=this[_0x3911ed(0x3c1)][_0x3911ed(0x2d4)](_0x42f3b2,_0x39466d,_0x4bda86);return _0x542c42['init'](),_0x542c42;}};_0x117536=_0xc3135d([_0x3c0565(0x0,_0x165790[_0x529647(0x307)]),_0x3c0565(0x1,_0x165790[_0x529647(0x337)](_0x165790['Injector'])),_0x3c0565(0x2,_0x165790[_0x529647(0x337)](_0x1efc97[_0x529647(0x329)]))],_0x117536);const _0xb0017e=0x14,_0x17d765=0xc8,_0x1154c3=0x4,_0x248eb7=0x5;function _0x3ef284(_0x58aa7d,_0x45c64b){const _0xa09e81=_0x529647;let {radius:_0x43dbd8,width:_0x37a608,height:_0xe99d75}=_0x45c64b;_0x43dbd8=_0x43dbd8!=null?_0x43dbd8:0x0,_0x37a608=_0x37a608!=null?_0x37a608:0x1e,_0xe99d75=_0xe99d75!=null?_0xe99d75:0x1e;let _0x2b314d=0x0,_0x3a3ca9=0x0,_0x3387e0=0x0;_0x2b314d=_0x3a3ca9=_0x3387e0=Math['min'](_0x43dbd8,_0x37a608/0x2,_0xe99d75/0x2),_0x58aa7d['beginPath'](),_0x58aa7d[_0xa09e81(0x289)](_0x2b314d,0x0),_0x58aa7d[_0xa09e81(0x24e)](_0x37a608-_0x3a3ca9,0x0),_0x58aa7d[_0xa09e81(0x427)](_0x37a608-_0x3a3ca9,_0x3a3ca9,_0x3a3ca9,Math['PI']*0x3/0x2,0x0,!0x1),_0x58aa7d[_0xa09e81(0x24e)](_0x37a608,_0xe99d75-_0x3387e0),_0x58aa7d[_0xa09e81(0x427)](_0x37a608-_0x3387e0,_0xe99d75-_0x3387e0,_0x3387e0,0x0,Math['PI']/0x2,!0x1),_0x58aa7d[_0xa09e81(0x24e)](0x0,_0xe99d75),_0x58aa7d['lineTo'](0x0,_0x2b314d),_0x58aa7d[_0xa09e81(0x427)](_0x2b314d,_0x2b314d,_0x2b314d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x58aa7d[_0xa09e81(0x336)](),_0x45c64b[_0xa09e81(0x416)]&&(_0x58aa7d[_0xa09e81(0x407)](),_0x58aa7d[_0xa09e81(0x345)]=_0x45c64b[_0xa09e81(0x416)],_0x45c64b['fillRule']===_0xa09e81(0x1ca)?_0x58aa7d[_0xa09e81(0x416)](_0xa09e81(0x1ca)):_0x58aa7d[_0xa09e81(0x416)](),_0x58aa7d[_0xa09e81(0x434)]());}class _0x5ed182 extends _0x1e15c8[_0x529647(0x3a1)]{constructor(_0x2688ee,_0x2ff3a6){const _0x5cac62=_0x529647;super(_0x2688ee,_0x2ff3a6),_0x1bb758(this,_0x5cac62(0x1e0)),_0x1bb758(this,_0x5cac62(0x2df)),(this[_0x5cac62(0x1e0)]=_0x2ff3a6==null?void 0x0:_0x2ff3a6[_0x5cac62(0x1e0)],this['text']=_0x2ff3a6==null?void 0x0:_0x2ff3a6[_0x5cac62(0x2df)]);}static['drawWith'](_0xaee900,_0x4998bd){const _0x3ee2ae=_0x529647,{text:_0x46c4f5,color:_0xd58439}=_0x4998bd;_0xaee900[_0x3ee2ae(0x407)](),_0xaee900['font']=_0x3ee2ae(0x419);const _0x5d111d=_0xaee900[_0x3ee2ae(0x404)](_0x46c4f5)[_0x3ee2ae(0x27b)],_0x58297e=Math[_0x3ee2ae(0x325)](_0x5d111d+0x2*_0x1154c3,_0x17d765);_0x3ef284(_0xaee900,{'height':_0xb0017e,'radius':0x4,'width':_0x58297e,'fill':_0xd58439}),_0xaee900['fillStyle']='#FFF';const _0x2b63df=_0x1154c3,_0x5aa2fc=_0xb0017e-_0x248eb7,_0xa0b01=_0x17d765-0x2*_0x1154c3;if(_0x5d111d>_0xa0b01){let _0x22b263='',_0x1d36fb=0x0;for(const _0x297fd2 of _0x46c4f5){const _0x50c3d1=_0xaee900[_0x3ee2ae(0x404)](_0x297fd2)[_0x3ee2ae(0x27b)];if(_0x1d36fb+_0x50c3d1<=_0xa0b01-_0xaee900['measureText']('...')[_0x3ee2ae(0x27b)])_0x22b263+=_0x297fd2,_0x1d36fb+=_0x50c3d1;else{_0x22b263+=_0x3ee2ae(0x1fd);break;}}_0xaee900['fillText'](_0x22b263,_0x2b63df,_0x5aa2fc);}else _0xaee900[_0x3ee2ae(0x32b)](_0x46c4f5,_0x2b63df,_0x5aa2fc);_0xaee900[_0x3ee2ae(0x434)]();}[_0x529647(0x42a)](_0x3dda7a){const _0x459ee3=_0x529647;_0x5ed182[_0x459ee3(0x372)](_0x3dda7a,this);}}const _0x5799a1=_0x529647(0x3b0),_0x13946e=_0x529647(0x1d2),_0x3e0c03=_0x529647(0x3b2),_0x3e8ab8=0x6,_0xd53566=1.5,_0x4e847e=0x4,_0x14b7c=1.5,_0x42e84d='rgba(255,\x20255,\x20255,\x200.01)';class _0x228ffa{constructor(_0x170a02,_0x1eb82e,_0x5d4ee5,_0x3b5e6b){const _0x2a20ae=_0x529647;_0x1bb758(this,_0x2a20ae(0x3f0),[]),_0x1bb758(this,'_anchor',null),_0x1bb758(this,_0x2a20ae(0x28b),null),_0x1bb758(this,_0x2a20ae(0x2de),null),_0x1bb758(this,_0x2a20ae(0x36b),null),_0x1bb758(this,_0x2a20ae(0x253),null),(this[_0x2a20ae(0x34f)]=_0x170a02,this['_scene']=_0x1eb82e,this[_0x2a20ae(0x3ed)]=_0x5d4ee5,this[_0x2a20ae(0x2cf)]=_0x3b5e6b,this[_0x2a20ae(0x2cd)]());}set[_0x529647(0x1af)](_0x2923cb){const _0x5d581d=_0x529647;_0x2923cb?(this[_0x5d581d(0x2de)]&&this[_0x5d581d(0x2de)]['hide'](),this['_textBubble']&&this[_0x5d581d(0x28b)][_0x5d581d(0x29a)]()):(this[_0x5d581d(0x2de)]&&this[_0x5d581d(0x2de)][_0x5d581d(0x29a)](),this[_0x5d581d(0x28b)]&&this[_0x5d581d(0x28b)]['hide']());}[_0x529647(0x23c)](){const _0x495bbc=_0x529647;for(const _0x167baa of this[_0x495bbc(0x3f0)])_0x167baa[_0x495bbc(0x23c)]();this[_0x495bbc(0x28b)]&&this[_0x495bbc(0x28b)][_0x495bbc(0x23c)](),this[_0x495bbc(0x2de)]&&this['_anchorDot'][_0x495bbc(0x23c)](),this['_anchor']&&this[_0x495bbc(0x1c5)]['dispose'](),this[_0x495bbc(0x253)]&&this[_0x495bbc(0x253)]();}[_0x529647(0x2cd)](){const _0x217db0=_0x529647;var _0x9b76b1;const {_docSkeleton:_0x18318b,_document:_0x42f116}=this,{color:_0x104459,name:_0x2ee86c,ranges:_0x29770f}=this[_0x217db0(0x34f)],_0x412fc8=_0x42f116[_0x217db0(0x236)](),{docsLeft:_0x14f5d6,docsTop:_0x52d903}=_0x412fc8,_0x2ec691=new _0x20f7f1[(_0x217db0(0x39d))](_0x412fc8,_0x18318b);for(const {startOffset:_0x18b9e5,endOffset:_0x4d1cf7,rangeType:_0x4a4a34,segmentId:_0x24513f,segmentPage:_0x3b4f26,collapsed:_0x55ab21,isActive:_0x22685a}of _0x29770f){const _0x2bd510=_0x18318b[_0x217db0(0x1c3)](_0x18b9e5,!0x0,_0x24513f,_0x3b4f26);let _0x87fce8=_0x18318b[_0x217db0(0x1c3)](_0x4d1cf7,!0x0,_0x24513f,_0x3b4f26);if(_0x87fce8==null&&(_0x87fce8=_0x18318b[_0x217db0(0x1c3)](_0x4d1cf7-0x1,!0x1,_0x24513f,_0x3b4f26)),_0x22685a){const {contentBoxPointGroup:_0x3e294d}=_0x2ec691[_0x217db0(0x423)](_0x87fce8,_0x87fce8);if(_0x3e294d[_0x217db0(0x3c3)]===0x0)continue;this[_0x217db0(0x3ce)](_0x104459,_0x3e294d,_0x14f5d6,_0x52d903,_0x2ee86c),this[_0x217db0(0x253)]=this[_0x217db0(0x1cd)]();}if(_0x2bd510&&_0x87fce8){if(_0x4a4a34===_0x165790[_0x217db0(0x217)]['RECT']){const _0x34ffe5=new _0x20f7f1[(_0x217db0(0x231))](_0x412fc8,_0x18318b),{pointGroup:_0x999cb3}=(_0x9b76b1=_0x34ffe5[_0x217db0(0x423)](_0x2bd510,_0x87fce8))!=null?_0x9b76b1:{};if(_0x999cb3==null||_0x999cb3['length']===0x0)continue;this[_0x217db0(0x246)](_0x104459,_0x999cb3,_0x14f5d6,_0x52d903);}else{if(!_0x55ab21){const {borderBoxPointGroup:_0x401515}=_0x2ec691[_0x217db0(0x423)](_0x2bd510,_0x87fce8);if(_0x401515[_0x217db0(0x3c3)]===0x0)continue;this['_drawTextRange'](_0x104459,_0x401515,_0x14f5d6,_0x52d903);}}}}}[_0x529647(0x3ce)](_0x480b67,_0x241c9a,_0x24175d,_0x1bb66e,_0x3a9079){const _0x1f73d3=_0x529647,_0x49766e=this['_getAnchorBounding'](_0x241c9a),{left:_0x860ccb,top:_0x3bd497,height:_0x49b548}=_0x49766e,_0x15f8ca=this['_getScale'](),_0x9d3b19=_0x14b7c/_0x15f8ca,_0x2f167c=new _0x1e15c8['Rect'](_0x5799a1+_0x165790[_0x1f73d3(0x2db)](_0x3e8ab8),{'left':_0x860ccb+_0x24175d-_0x9d3b19,'top':_0x3bd497+_0x1bb66e,'height':_0x49b548,'width':_0xd53566,'fill':_0x480b67||_0x1e15c8[_0x1f73d3(0x2ce)](_0x165790['COLORS'][_0x1f73d3(0x3d0)],0x0),'strokeWidth':_0x9d3b19,'stroke':_0x42e84d,'evented':!0x0});this[_0x1f73d3(0x1c5)]=_0x2f167c,this['_scene']['addObject'](_0x2f167c,_0x20f7f1[_0x1f73d3(0x1b2)]);const _0x431bac=new _0x1e15c8[(_0x1f73d3(0x2c5))](_0x5799a1+_0x165790[_0x1f73d3(0x2db)](_0x3e8ab8),{'left':_0x860ccb+_0x24175d-_0x9d3b19,'top':_0x3bd497+_0x1bb66e-_0x4e847e/0x2,'height':_0x4e847e,'width':_0x4e847e,'fill':_0x480b67||_0x1e15c8[_0x1f73d3(0x2ce)](_0x165790[_0x1f73d3(0x2c3)][_0x1f73d3(0x3d0)],0x0),'strokeWidth':0x0,'stroke':_0x480b67||_0x1e15c8[_0x1f73d3(0x2ce)](_0x165790[_0x1f73d3(0x2c3)][_0x1f73d3(0x3d0)],0x0),'evented':!0x1});this[_0x1f73d3(0x2de)]=_0x431bac,this[_0x1f73d3(0x33a)][_0x1f73d3(0x2e5)](_0x431bac,_0x20f7f1[_0x1f73d3(0x1b2)]);const _0x557721=new _0x5ed182(_0x5799a1+_0x165790[_0x1f73d3(0x2db)](_0x3e8ab8),{'left':_0x860ccb+_0x24175d-_0x9d3b19,'top':_0x3bd497+_0x1bb66e-_0xb0017e,'text':_0x3a9079,'color':_0x480b67});this[_0x1f73d3(0x28b)]=_0x557721,this[_0x1f73d3(0x33a)][_0x1f73d3(0x2e5)](_0x557721,_0x20f7f1[_0x1f73d3(0x1b2)]),this[_0x1f73d3(0x1af)]=!0x1;}[_0x529647(0x1cd)](){const _0x32b4bf=_0x529647,_0x4c8c34=this[_0x32b4bf(0x1c5)][_0x32b4bf(0x280)]['subscribeEvent'](()=>{const _0x1e7fb0=_0x32b4bf;this[_0x1e7fb0(0x1af)]=!0x0;}),_0x2d2a3c=this[_0x32b4bf(0x1c5)][_0x32b4bf(0x37f)][_0x32b4bf(0x2ee)](()=>{const _0x2bba29=_0x32b4bf;this[_0x2bba29(0x36b)]&&clearTimeout(this[_0x2bba29(0x36b)]),this[_0x2bba29(0x36b)]=setTimeout(()=>{const _0x129d7c=_0x2bba29;this[_0x129d7c(0x1af)]=!0x1;},0x7d0);});return()=>{const _0x39b54d=_0x32b4bf;_0x4c8c34[_0x39b54d(0x388)](),_0x2d2a3c[_0x39b54d(0x388)]();};}['_drawTextRange'](_0x4969cd,_0x50a06b,_0x1c106b,_0x5b98d1){const _0x28988f=_0x529647,_0x1618a9=new _0x165790[(_0x28988f(0x212))](_0x4969cd)['setAlpha'](0.2)['toRgbString'](),_0x10741f=new _0x1e15c8[(_0x28988f(0x2a4))](_0x13946e+_0x165790['generateRandomId'](_0x3e8ab8),{'pointsGroup':_0x50a06b,'fill':_0x1618a9||_0x1e15c8[_0x28988f(0x2ce)](_0x165790[_0x28988f(0x2c3)][_0x28988f(0x3d0)],0.2),'left':_0x1c106b,'top':_0x5b98d1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28988f(0x3f0)]['push'](_0x10741f),this['_scene'][_0x28988f(0x2e5)](_0x10741f,_0x20f7f1[_0x28988f(0x1b2)]);}['_drawRectRange'](_0x306780,_0x6564f7,_0x21bd94,_0x16fd74){const _0x34ff20=_0x529647,_0x5bf304=new _0x165790['ColorKit'](_0x306780)[_0x34ff20(0x377)](0.2)['toRgbString'](),_0x2867e2=new _0x1e15c8[(_0x34ff20(0x2a4))](_0x3e0c03+_0x165790[_0x34ff20(0x2db)](_0x3e8ab8),{'pointsGroup':_0x6564f7,'fill':_0x5bf304||_0x1e15c8[_0x34ff20(0x2ce)](_0x165790['COLORS'][_0x34ff20(0x3d0)],0.2),'left':_0x21bd94,'top':_0x16fd74,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x34ff20(0x3f0)]['push'](_0x2867e2),this[_0x34ff20(0x33a)][_0x34ff20(0x2e5)](_0x2867e2,_0x20f7f1[_0x34ff20(0x1b2)]);}[_0x529647(0x41b)](_0x12ae18){const _0x42ffd8=_0x12ae18[0x0],_0x223a4f=_0x42ffd8[0x0],_0x2e8f5e=_0x42ffd8[0x2],{x:_0x2ffc81,y:_0x359120}=_0x223a4f,{x:_0x296ab1,y:_0x257fac}=_0x2e8f5e;return{'left':_0x2ffc81,'top':_0x359120,'width':_0x296ab1-_0x2ffc81,'height':_0x257fac-_0x359120};}[_0x529647(0x29e)](){const {scaleX:_0x1517c8,scaleY:_0x2609fb}=this['_scene']['getAncestorScale']();return Math['max'](_0x1517c8,_0x2609fb);}}var _0x3a14e4=Object[_0x529647(0x21c)],_0x5f11c5=(_0x3c6d2d,_0x12f5b8,_0x5a8b1c,_0x19ce10)=>{const _0x1271be=_0x529647;for(var _0x30b3f7=_0x19ce10>0x1?void 0x0:_0x19ce10?_0x3a14e4(_0x12f5b8,_0x5a8b1c):_0x12f5b8,_0x4d4385=_0x3c6d2d[_0x1271be(0x3c3)]-0x1,_0x3d097a;_0x4d4385>=0x0;_0x4d4385--)(_0x3d097a=_0x3c6d2d[_0x4d4385])&&(_0x30b3f7=_0x3d097a(_0x30b3f7)||_0x30b3f7);return _0x30b3f7;},_0x91b4b7=(_0x29463f,_0x195726)=>(_0x385912,_0xcfd54e)=>_0x195726(_0x385912,_0xcfd54e,_0x29463f);let _0x152775=class extends _0x165790[_0x529647(0x270)]{constructor(_0x301425,_0x2a719b,_0x439c18,_0x24012e,_0xbcf457){const _0xa84fe7=_0x529647;super(),_0x1bb758(this,_0xa84fe7(0x342),[]),_0x1bb758(this,_0xa84fe7(0x247),[]),(this[_0xa84fe7(0x40a)]=_0x301425,this[_0xa84fe7(0x30f)]=_0x2a719b,this[_0xa84fe7(0x3a5)]=_0x439c18,this[_0xa84fe7(0x2fc)]=_0x24012e,this[_0xa84fe7(0x200)]=_0xbcf457,this[_0xa84fe7(0x2b7)]());}[_0x529647(0x2b7)](){const _0x39ff72=_0x529647,_0x34a754=this['_context'][_0x39ff72(0x408)],_0x245556=this['_docSkeletonManagerService'];this[_0x39ff72(0x203)](_0x278be1['combineLatest']([this[_0x39ff72(0x3a5)][_0x39ff72(0x36f)](_0x34a754),this['_themeService']['currentTheme$']])[_0x39ff72(0x1f3)](_0x228a58[_0x39ff72(0x2e3)](([_0x31612b,_0x31a978])=>({'skeleton':_0x245556[_0x39ff72(0x33e)](),'cursors':[..._0x31612b[_0x39ff72(0x2ad)]()][_0x39ff72(0x2c7)](_0x575315=>({..._0x575315,'color':this[_0x39ff72(0x200)]['getColorFromTheme'](_0x575315[_0x39ff72(0x1e0)])}))})))[_0x39ff72(0x35c)](_0x122d52=>{if(this['_removeCollabCursors'](),_0x122d52){const {skeleton:_0x44f931,cursors:_0x5a639b}=_0x122d52;this['_updateCollabCursors'](_0x44f931,_0x5a639b);}})),this[_0x39ff72(0x241)](),this[_0x39ff72(0x284)]();}[_0x529647(0x3aa)](_0x1c78e7,_0xd767e6){const _0xba6141=_0x529647,{scene:_0x375c62,mainComponent:_0x2f00f5}=this[_0xba6141(0x40a)],_0x45d038=_0xd767e6[_0xba6141(0x2e3)](_0x5ededb=>new _0x228ffa(_0x5ededb,_0x375c62,_0x1c78e7,_0x2f00f5));this[_0xba6141(0x342)]=_0x45d038,this['_cursors']=_0xd767e6;}[_0x529647(0x2bd)](){const _0xabf2f9=_0x529647;this[_0xabf2f9(0x266)]();const {scene:_0x557621,mainComponent:_0x1c811a}=this['_context'],_0x78d518=this[_0xabf2f9(0x30f)]['getSkeleton'](),_0x302812=this[_0xabf2f9(0x247)][_0xabf2f9(0x2e3)](_0x1ce40b=>new _0x228ffa(_0x1ce40b,_0x557621,_0x78d518,_0x1c811a));this[_0xabf2f9(0x342)]=_0x302812;}[_0x529647(0x266)](){const _0x355ea3=_0x529647;this[_0x355ea3(0x342)]['forEach'](_0x5497e4=>_0x5497e4[_0x355ea3(0x23c)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x48c1d2=_0x529647,_0x5316dd=[_0x20f7f1[_0x48c1d2(0x34e)]['id']];this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x1a486b=>{const _0x50b949=_0x48c1d2;_0x5316dd[_0x50b949(0x33f)](_0x1a486b['id'])&&_0x1a486b[_0x50b949(0x1ef)][_0x50b949(0x408)]===this[_0x50b949(0x40a)][_0x50b949(0x408)]&&this[_0x50b949(0x2bd)]();}));}[_0x529647(0x241)](){const _0x42553b=_0x529647;this['disposeWithMe'](_0x165790[_0x42553b(0x3ef)](this[_0x42553b(0x40a)][_0x42553b(0x3f2)][_0x42553b(0x252)])[_0x42553b(0x1f3)](_0x228a58['filter'](_0x175496=>_0x175496[_0x42553b(0x1f0)]===_0x1e15c8['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x228a58[_0x42553b(0x381)](0x10))[_0x42553b(0x35c)](()=>{const _0x1c09a2=_0x42553b;this[_0x1c09a2(0x2bd)]();}));}};_0x152775=_0x5f11c5([_0x91b4b7(0x1,_0x165790[_0x529647(0x337)](_0x20f8e5[_0x529647(0x1e4)])),_0x91b4b7(0x2,_0x165790[_0x529647(0x337)](_0x117536)),_0x91b4b7(0x3,_0x165790[_0x529647(0x282)]),_0x91b4b7(0x4,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x3c0)]))],_0x152775);const _0xf2452d=0x1,_0x2862ca=1.5;class _0x65c813 extends _0x1e15c8[_0x529647(0x3a1)]{constructor(_0x1172c9,_0x19e361){const _0x4e6d19=_0x529647;super(_0x1172c9,_0x19e361),_0x1bb758(this,_0x4e6d19(0x263)),_0x1bb758(this,_0x4e6d19(0x3d6),!0x1),_0x1bb758(this,_0x4e6d19(0x33c)),_0x1bb758(this,_0x4e6d19(0x3a9),''),_0x1bb758(this,_0x4e6d19(0x2f1),'top'),_0x1bb758(this,'_backgroundColor'),(_0x19e361&&this[_0x4e6d19(0x331)](_0x19e361),this[_0x4e6d19(0x280)]['subscribeEvent'](()=>this[_0x4e6d19(0x331)]({'hovered':!0x0})),this[_0x4e6d19(0x37f)]['subscribeEvent'](()=>this[_0x4e6d19(0x331)]({'hovered':!0x1})));}[_0x529647(0x331)](_0x216a46){const _0xe705c2=_0x529647;var _0x43cfab,_0x2d8adc,_0x1032e3,_0x55b0a0,_0x1b778f,_0x561af2;this[_0xe705c2(0x263)]=(_0x43cfab=_0x216a46[_0xe705c2(0x1e0)])!=null?_0x43cfab:this[_0xe705c2(0x263)],this['_hovered']=(_0x2d8adc=_0x216a46[_0xe705c2(0x348)])!=null?_0x2d8adc:this[_0xe705c2(0x3d6)],this[_0xe705c2(0x33c)]=(_0x1032e3=_0x216a46[_0xe705c2(0x428)])!=null?_0x1032e3:this[_0xe705c2(0x33c)],this[_0xe705c2(0x3a9)]=(_0x55b0a0=_0x216a46[_0xe705c2(0x268)])!=null?_0x55b0a0:this['_name'],this['_labelPosition']=(_0x1b778f=_0x216a46[_0xe705c2(0x340)])!=null?_0x1b778f:this[_0xe705c2(0x2f1)],this[_0xe705c2(0x1d4)]=(_0x561af2=_0x216a46['backgroundColor'])!=null?_0x561af2:this['_backgroundColor'],this[_0xe705c2(0x436)]({'width':_0x216a46[_0xe705c2(0x27b)],'height':_0x216a46[_0xe705c2(0x1f4)]});}['onMouseMove'](_0x5c5e06){const _0x5d0594=_0x529647,{row:_0x13f5d8,column:_0x28ff89}=_0x5c5e06;if(_0x13f5d8>=this['_range'][_0x5d0594(0x2bb)]&&_0x13f5d8<=this['_range']['endRow']&&_0x28ff89>=this['_range'][_0x5d0594(0x1b6)]&&_0x28ff89<=this[_0x5d0594(0x33c)][_0x5d0594(0x2a6)]){this[_0x5d0594(0x331)]({'hovered':!0x0});return;}this[_0x5d0594(0x331)]({'hovered':!0x1});}['triggerDblclick'](_0x332622){return!0x1;}[_0x529647(0x42a)](_0x453b6f){const _0x4a4a37=_0x529647;_0x1e15c8[_0x4a4a37(0x2c5)][_0x4a4a37(0x372)](_0x453b6f,{'width':this[_0x4a4a37(0x27b)],'height':this[_0x4a4a37(0x1f4)],'strokeWidth':_0x2862ca,'stroke':this[_0x4a4a37(0x263)],'evented':!0x1,'fill':this[_0x4a4a37(0x1d4)]}),this['_hovered']&&(_0x453b6f['save'](),_0x453b6f[_0x4a4a37(0x392)](0x1,0x0,0x0,0x1,this[_0x4a4a37(0x27b)],this[_0x4a4a37(0x2f1)]==='bottom'?0x0:-_0xb0017e),_0x5ed182['drawWith'](_0x453b6f,{'text':this['_name'],'color':this[_0x4a4a37(0x263)]}),_0x453b6f[_0x4a4a37(0x434)]());}}var _0x34e209=Object['getOwnPropertyDescriptor'],_0x525f2f=(_0x2a1de2,_0x12f2b3,_0x34eb31,_0x48c4b7)=>{for(var _0x3a8b30=_0x48c4b7>0x1?void 0x0:_0x48c4b7?_0x34e209(_0x12f2b3,_0x34eb31):_0x12f2b3,_0xc2bb70=_0x2a1de2['length']-0x1,_0xf10009;_0xc2bb70>=0x0;_0xc2bb70--)(_0xf10009=_0x2a1de2[_0xc2bb70])&&(_0x3a8b30=_0xf10009(_0x3a8b30)||_0x3a8b30);return _0x3a8b30;},_0x41c8a5=(_0x176654,_0x58cbbd)=>(_0x4f4d3d,_0x4b9bbb)=>_0x58cbbd(_0x4f4d3d,_0x4b9bbb,_0x176654);const _0x22e299=0x1389;let _0x254369=class extends _0x165790['RxDisposable']{constructor(_0x4d7fb2,_0x162715,_0x53360b,_0x5cac35){const _0x565ed4=_0x529647;super(),_0x1bb758(this,_0x565ed4(0x247),new Set()),_0x1bb758(this,_0x565ed4(0x318),null),(this['_context']=_0x4d7fb2,this[_0x565ed4(0x3eb)]=_0x162715,this['_collabCursorController']=_0x53360b,this[_0x565ed4(0x200)]=_0x5cac35,this[_0x565ed4(0x2b7)]());}['_init'](){const _0x5c4cc6=_0x529647;this[_0x5c4cc6(0x3eb)][_0x5c4cc6(0x3cc)][_0x5c4cc6(0x1f3)](_0x228a58[_0x5c4cc6(0x202)](this[_0x5c4cc6(0x2d3)]),_0x228a58[_0x5c4cc6(0x2a3)](_0x28339b=>{const _0x3baca8=_0x5c4cc6;if(_0x28339b){const _0x5a672b=_0x28339b[_0x3baca8(0x42d)];return _0x278be1['combineLatest'](this[_0x3baca8(0x3a5)][_0x3baca8(0x36f)](this[_0x3baca8(0x40a)][_0x3baca8(0x408)]),this[_0x3baca8(0x200)][_0x3baca8(0x366)])[_0x3baca8(0x1f3)](_0x228a58[_0x3baca8(0x2e3)](([_0x4dd387,_0x37e730])=>{const _0xe2898d=_0x3baca8,_0x5b26f6=new Map();return _0x4dd387[_0xe2898d(0x311)]((_0x18df71,_0xc778d9)=>{const _0x39c551=_0xe2898d;if(_0x18df71[_0x39c551(0x420)]===_0x5a672b){const _0x25493c={..._0x18df71};_0x25493c['color']=this[_0x39c551(0x200)][_0x39c551(0x2d7)](_0x18df71['color']),_0x5b26f6[_0x39c551(0x41c)](_0xc778d9,_0x25493c);}}),{'skeleton':_0x28339b,'cursors':_0x5b26f6};}));}return _0x278be1['of']({'skeleton':null,'cursors':new Map()});}))[_0x5c4cc6(0x35c)](({skeleton:_0x4c6c98,cursors:_0x2fe6f4})=>{const _0x4cf095=_0x5c4cc6;this[_0x4cf095(0x266)](),_0x4c6c98&&this[_0x4cf095(0x3aa)](_0x4c6c98,_0x2fe6f4);}),this[_0x5c4cc6(0x3eb)]['currentSkeleton$'][_0x5c4cc6(0x35c)](_0x234f32=>{const _0x4f5bc3=_0x5c4cc6;if(_0x234f32==null)return;const {skeleton:_0x13410c}=_0x234f32,{scene:_0x3e8346}=this[_0x4f5bc3(0x40a)];_0x3e8346[_0x4f5bc3(0x341)][_0x4f5bc3(0x2ee)](_0x165790[_0x4f5bc3(0x251)](_0x274356=>{const _0x52a7f0=_0x4f5bc3;var _0x373c73,_0x3f1bf6;const {offsetX:_0x213f93,offsetY:_0xd26913}=_0x274356,{x:_0xb8d123,y:_0x5245db}=_0x3e8346[_0x52a7f0(0x346)](_0x1e15c8[_0x52a7f0(0x42c)]['FromArray']([_0x213f93,_0xd26913])),{scaleX:_0x192dee,scaleY:_0x425f19}=_0x3e8346[_0x52a7f0(0x2ca)](),_0x1d411c=_0x3e8346[_0x52a7f0(0x1ac)](_0x1e15c8['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x5ccda0=_0x3e8346[_0x52a7f0(0x1c6)](_0x1e15c8[_0x52a7f0(0x42c)][_0x52a7f0(0x21b)]([_0xb8d123,_0x5245db]),_0x1d411c),_0x1ac57c=_0x13410c[_0x52a7f0(0x3b6)](_0x213f93,_0xd26913,_0x192dee,_0x425f19,_0x5ccda0);((_0x373c73=this['_lastPointer'])==null?void 0x0:_0x373c73[_0x52a7f0(0x1f5)])===_0x1ac57c[_0x52a7f0(0x1f5)]&&((_0x3f1bf6=this['_lastPointer'])==null?void 0x0:_0x3f1bf6[_0x52a7f0(0x3a0)])===_0x1ac57c['row']||this[_0x52a7f0(0x247)][_0x52a7f0(0x311)](_0x44d572=>{_0x44d572['onMouseMove'](_0x1ac57c);});},0x64));});}[_0x529647(0x3aa)](_0x4b09d7,_0x590ab6){const _0x2a6eda=_0x529647;var _0x5b9aca;const _0x1181f7=(_0x5b9aca=this[_0x2a6eda(0x3eb)][_0x2a6eda(0x261)]())==null?void 0x0:_0x5b9aca[_0x2a6eda(0x359)];if(!_0x1181f7)return;const _0x28c9f7=this[_0x2a6eda(0x227)]();if(!_0x28c9f7)return;this['_cursors'][_0x2a6eda(0x311)](_0x5c2251=>{const _0x2ef1b3=_0x2a6eda;_0x5c2251[_0x2ef1b3(0x34d)]();});const {scene:_0x4ce47d}=_0x28c9f7,_0x364021=_0x4e8dea(Array[_0x2a6eda(0x387)](_0x590ab6[_0x2a6eda(0x2ad)]()))[_0x2a6eda(0x2e3)](_0x314f97=>{const _0x4e2429=_0x2a6eda,{color:_0x32e5df,range:_0x3a8d06,name:_0x3f8689,selection:_0x177444,sheetID:_0xc3c149}=_0x314f97,{startColumn:_0x4c49c6,startRow:_0x55070d,endColumn:_0x525596,endRow:_0x2e170c}=_0x3a8d06,_0x2175bd=_0x476ef1[_0x4e2429(0x378)](_0x55070d,_0x4c49c6,_0x4ce47d,_0x1181f7),_0x2ea7bc=_0x476ef1[_0x4e2429(0x378)](_0x2e170c,_0x525596,_0x4ce47d,_0x1181f7),{columnHeaderHeightAndMarginTop:_0xa0cca}=_0x1181f7,{startX:_0x4d1e2e,startY:_0x38f591}=_0x2175bd,{endX:_0x3aa9ae,endY:_0x29547c}=_0x2ea7bc,_0x4f8fe5=_0x3aa9ae-_0x4d1e2e,_0x4032df=_0x29547c-_0x38f591,_0x323170={'labelPosition':_0x38f591-_0xa0cca>=_0xb0017e?'top':'bottom','sheetID':_0xc3c149,'range':_0x3a8d06,'color':_0x32e5df,'name':_0x3f8689,'selection':_0x177444,'left':_0x4d1e2e,'top':_0x38f591,'width':_0x4f8fe5,'height':_0x4032df,'evented':!0x1,'zIndex':_0x22e299};return new _0x65c813(_0x3f8689,_0x323170);});_0x4ce47d[_0x2a6eda(0x25b)](_0x364021,_0xf2452d),this[_0x2a6eda(0x247)]=new Set(_0x364021);}['_removeCollabCursors'](){const _0x44e1c2=_0x529647;var _0x1674cb;(_0x1674cb=this['_cursors'])==null||_0x1674cb[_0x44e1c2(0x311)](_0x532964=>_0x532964['dispose']());}[_0x529647(0x227)](){const _0x502189=_0x529647;return _0x476ef1['getSheetObject'](this[_0x502189(0x40a)][_0x502189(0x30a)],this['_context']);}};_0x254369=_0x525f2f([_0x41c8a5(0x1,_0x165790[_0x529647(0x337)](_0x476ef1[_0x529647(0x40b)])),_0x41c8a5(0x2,_0x165790['Inject'](_0x117536)),_0x41c8a5(0x3,_0x165790['Inject'](_0x165790[_0x529647(0x3c0)]))],_0x254369);function _0x4e8dea(_0x4bb1f2){const _0x206bd5=_0x529647,_0x5c650f=new Map();return _0x4bb1f2[_0x206bd5(0x311)](_0x13cd45=>{const _0x2162dd=_0x206bd5;if(_0x5c650f[_0x2162dd(0x317)](_0x13cd45[_0x2162dd(0x364)])){const _0x5ad52f=_0x5c650f[_0x2162dd(0x1b5)](_0x13cd45[_0x2162dd(0x364)]);_0x5ad52f[_0x2162dd(0x268)]+=',\x20'+_0x13cd45[_0x2162dd(0x268)];}else _0x5c650f[_0x2162dd(0x41c)](_0x13cd45[_0x2162dd(0x364)],_0x13cd45);}),Array[_0x206bd5(0x387)](_0x5c650f[_0x206bd5(0x2ad)]());}var _0x3fcd3e=Object[_0x529647(0x21c)],_0x15923a=(_0x39e690,_0x3ddaac,_0x349870,_0xd2117f)=>{for(var _0x2c13fa=_0xd2117f>0x1?void 0x0:_0xd2117f?_0x3fcd3e(_0x3ddaac,_0x349870):_0x3ddaac,_0x58a54e=_0x39e690['length']-0x1,_0x516c05;_0x58a54e>=0x0;_0x58a54e--)(_0x516c05=_0x39e690[_0x58a54e])&&(_0x2c13fa=_0x516c05(_0x2c13fa)||_0x2c13fa);return _0x2c13fa;},_0x3ea046=(_0xbdc261,_0x297ad3)=>(_0x1e4597,_0x7a86)=>_0x297ad3(_0x1e4597,_0x7a86,_0xbdc261);let _0x279a7d=class extends _0x165790[_0x529647(0x225)]{constructor(_0x52308b,_0x6804b2,_0x4ae444,_0x1a7b03,_0x4ff48c,_0x1b2e98){const _0x4af8c5=_0x529647;super(),this[_0x4af8c5(0x386)]=_0x52308b,this[_0x4af8c5(0x384)]=_0x6804b2,this['_collaborationUIEventService']=_0x4ae444,this[_0x4af8c5(0x3b7)]=_0x1a7b03,this[_0x4af8c5(0x313)]=_0x4ff48c,this['_localeService']=_0x1b2e98,this['_setupBeforeClosingHandler'](),this[_0x4af8c5(0x1c0)]();}[_0x529647(0x285)](){const _0x58779f=_0x529647;this[_0x58779f(0x203)](this[_0x58779f(0x386)]['registerBeforeClose'](()=>{const _0x1e4581=_0x58779f;if(this[_0x1e4581(0x384)]['saveTaskMap']['size'])return this[_0x1e4581(0x3b8)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x529647(0x1c0)](){const _0x2ac282=_0x529647;this[_0x2ac282(0x203)](this[_0x2ac282(0x276)]['event$'][_0x2ac282(0x35c)](_0x401839=>{const _0xbbd6b0=_0x2ac282;_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)]['OTHER_CLIENT_EDITING']&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)]['Warning'],'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x1d0))}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)][_0xbbd6b0(0x239)]&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x1e9)],'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x237))}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)][_0xbbd6b0(0x3c6)]&&this[_0xbbd6b0(0x313)][_0xbbd6b0(0x29a)]({'title':this[_0xbbd6b0(0x3b8)]['t']('permission.title'),'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x274)),'type':_0xbbd6b0(0x3d5),'duration':0x0}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)][_0xbbd6b0(0x3fc)]&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x229)],'content':this[_0xbbd6b0(0x3b8)]['t']('collaboration.closeRoom')+'('+_0x401839[_0xbbd6b0(0x310)]+')'}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)]['JOIN_ROOM_FAILED']&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x1e9)],'content':this[_0xbbd6b0(0x3b8)]['t'](_0x401839[_0xbbd6b0(0x310)]||'')}),_0x401839['id']===_0x1efc97['CollaborationUIEventId'][_0xbbd6b0(0x23e)]&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x1e9)],'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x3dc))}),_0x401839['id']===_0x1efc97['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0xbbd6b0(0x3b7)][_0xbbd6b0(0x29a)]({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x229)],'content':this[_0xbbd6b0(0x3b8)]['t']('session.connection-failed')}),_0x401839['id']===_0x1efc97[_0xbbd6b0(0x1d9)][_0xbbd6b0(0x405)]&&this[_0xbbd6b0(0x3b7)]['show']({'type':_0x3cf048[_0xbbd6b0(0x2d2)][_0xbbd6b0(0x229)],'content':this[_0xbbd6b0(0x3b8)]['t'](_0xbbd6b0(0x38e))});}));}};_0x279a7d=_0x15923a([_0x3ea046(0x0,_0x46a2f6['IBeforeCloseService']),_0x3ea046(0x1,_0x1efc97[_0x529647(0x37a)]),_0x3ea046(0x2,_0x165790[_0x529647(0x337)](_0x1efc97['CollaborationUIEventService'])),_0x3ea046(0x3,_0x46a2f6[_0x529647(0x27a)]),_0x3ea046(0x4,_0x46a2f6[_0x529647(0x2f5)]),_0x3ea046(0x5,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x1a8)]))],_0x279a7d);const _0x1cc92a=_0x529647(0x376),_0x482b11={};var _0x4cf142=Object[_0x529647(0x21c)],_0x367ec2=(_0x5ad513,_0x1e4d62,_0x2fbc37,_0x121906)=>{for(var _0x20e04f=_0x121906>0x1?void 0x0:_0x121906?_0x4cf142(_0x1e4d62,_0x2fbc37):_0x1e4d62,_0x3b6b37=_0x5ad513['length']-0x1,_0x4246a9;_0x3b6b37>=0x0;_0x3b6b37--)(_0x4246a9=_0x5ad513[_0x3b6b37])&&(_0x20e04f=_0x4246a9(_0x20e04f)||_0x20e04f);return _0x20e04f;},_0x55fc9e=(_0x7666da,_0x55f054)=>(_0x26e533,_0x195585)=>_0x55f054(_0x26e533,_0x195585,_0x7666da);let _0x488d59=class{constructor(_0x124a05,_0x3fdffb){this['_transformService']=_0x124a05,this['_renderManagerService']=_0x3fdffb;}['transformIMECache'](_0x1f4b21){const _0x58967c=_0x529647;this['_transformUndoRedoStack'](_0x1f4b21),this[_0x58967c(0x2af)](_0x1f4b21);}[_0x529647(0x27c)](_0x46f032){const _0x31facb=_0x529647,{unitID:_0x260e76}=_0x46f032,_0x2378ab=this[_0x31facb(0x1ff)]['getRenderById'](_0x260e76)[_0x31facb(0x29b)](_0x20f7f1[_0x31facb(0x25d)]),{redoCache:_0x400332}=_0x2378ab[_0x31facb(0x3b1)]();if(_0x400332[_0x31facb(0x3c3)]===0x0)return _0x46f032;let _0x3d43ae=_0x165790['Tools'][_0x31facb(0x242)](_0x46f032[_0x31facb(0x32d)][0x0]);for(let _0x37b4be=0x0;_0x37b4be<_0x400332[_0x31facb(0x3c3)];_0x37b4be++){const _0x29d456={'id':_0x31facb(0x3e7),'params':{..._0x400332[_0x37b4be]}},_0x57c23c=this[_0x31facb(0x292)]['transformMutation'](_0x3d43ae,_0x29d456,!0x1);if(_0x2b1f6e[_0x31facb(0x250)](_0x57c23c))throw _0x57c23c[_0x31facb(0x3d5)];_0x3d43ae=_0x57c23c[_0x31facb(0x431)];}return{..._0x165790[_0x31facb(0x2b0)][_0x31facb(0x242)](_0x46f032),'mutations':[_0x3d43ae]};}['_transformUndoRedoStack'](_0x409dd9){const _0x3ef0e8=_0x529647,{unitID:_0x1e49f1}=_0x409dd9,_0x10ce97=this['_renderManagerService']['getRenderById'](_0x1e49f1)[_0x3ef0e8(0x29b)](_0x20f7f1[_0x3ef0e8(0x25d)]),{undoCache:_0x23dfd4,redoCache:_0x378f79}=_0x10ce97['getUndoRedoMutationParamsCache']();if(_0x23dfd4[_0x3ef0e8(0x3c3)]===0x0||_0x378f79[_0x3ef0e8(0x3c3)]===0x0)return;const _0x2f69ac=[],_0x1788c0=[];let _0x53c85c=_0x165790[_0x3ef0e8(0x2b0)]['deepClone'](_0x409dd9[_0x3ef0e8(0x32d)][0x0]),_0x229cb2=_0x165790['Tools'][_0x3ef0e8(0x242)](_0x409dd9[_0x3ef0e8(0x32d)][0x0]);for(let _0xc786ce=_0x23dfd4[_0x3ef0e8(0x3c3)]-0x1;_0xc786ce>=0x0;_0xc786ce--){const _0x53edc7={'id':'doc.mutation.rich-text-editing','params':{..._0x23dfd4[_0xc786ce]}},_0x17e643={'id':_0x3ef0e8(0x3e7),'params':{..._0x378f79[_0xc786ce]}},_0x4f6b02=this[_0x3ef0e8(0x292)]['transformMutation'](_0x53c85c,_0x53edc7,!0x1),_0x27b7a4=this[_0x3ef0e8(0x292)][_0x3ef0e8(0x218)](_0x229cb2,_0x17e643,!0x1);if(_0x2b1f6e[_0x3ef0e8(0x250)](_0x4f6b02))throw _0x4f6b02[_0x3ef0e8(0x3d5)];if(_0x2b1f6e[_0x3ef0e8(0x250)](_0x27b7a4))throw _0x27b7a4[_0x3ef0e8(0x3d5)];_0x2f69ac['unshift'](_0x4f6b02['m2Prime']['params']),_0x1788c0[_0x3ef0e8(0x2dd)](_0x27b7a4[_0x3ef0e8(0x2fe)]['params']),_0x53c85c=_0x4f6b02['m1Prime'],_0x229cb2=_0x27b7a4[_0x3ef0e8(0x431)];}_0x10ce97['setUndoRedoMutationParamsCache']({'undoCache':_0x2f69ac,'redoCache':_0x1788c0});}['_transformPreviousActiveRange'](_0x158c3a){const _0x1ca598=_0x529647,{unitID:_0x33bf29}=_0x158c3a,_0x3dff61=this['_renderManagerService'][_0x1ca598(0x2ae)](_0x33bf29)[_0x1ca598(0x29b)](_0x20f7f1[_0x1ca598(0x25d)]),_0x3f6aad=_0x3dff61[_0x1ca598(0x34a)]();if(_0x3f6aad==null)return;const _0x248a4e=[{'id':_0x1ca598(0x3e7),'params':{'unitId':_0x158c3a[_0x1ca598(0x27e)],'actions':null,'textRanges':[_0x3f6aad]}}],_0x46c2f4=this[_0x1ca598(0x292)][_0x1ca598(0x290)](_0x158c3a,_0x248a4e);if(!_0x2b1f6e[_0x1ca598(0x302)](_0x46c2f4))throw _0x46c2f4['error'];const _0x5c4946=_0x46c2f4['m2Prime'][0x0]['params'][_0x1ca598(0x21d)];Array[_0x1ca598(0x333)](_0x5c4946)&&_0x5c4946[_0x1ca598(0x3c3)]&&_0x3dff61['setActiveRange'](_0x5c4946[0x0]);}};_0x488d59=_0x367ec2([_0x55fc9e(0x0,_0x2b1f6e[_0x529647(0x412)]),_0x55fc9e(0x1,_0x1e15c8[_0x529647(0x40f)])],_0x488d59);var _0x2196b6=Object['getOwnPropertyDescriptor'],_0x2b6d51=(_0x2b0e6b,_0x1450eb,_0x3b40bf,_0x2d9ef7)=>{const _0x4dd10b=_0x529647;for(var _0x365253=_0x2d9ef7>0x1?void 0x0:_0x2d9ef7?_0x2196b6(_0x1450eb,_0x3b40bf):_0x1450eb,_0x3f3a9f=_0x2b0e6b[_0x4dd10b(0x3c3)]-0x1,_0xac4efe;_0x3f3a9f>=0x0;_0x3f3a9f--)(_0xac4efe=_0x2b0e6b[_0x3f3a9f])&&(_0x365253=_0xac4efe(_0x365253)||_0x365253);return _0x365253;},_0x2100de=(_0x24dac5,_0x4eabfb)=>(_0x3ce3bc,_0x5c1cc5)=>_0x4eabfb(_0x3ce3bc,_0x5c1cc5,_0x24dac5);let _0x2d4b4e=class{constructor(_0x389597,_0x129703,_0x2f0687){const _0x504466=_0x529647;this[_0x504466(0x3c1)]=_0x389597,this[_0x504466(0x292)]=_0x129703,this[_0x504466(0x267)]=_0x2f0687;}[_0x529647(0x22d)](_0x48475e){this['_transformHistoryAndStateStack'](_0x48475e);}[_0x529647(0x27c)](_0x1b1734){const _0x5c21de=_0x529647,{unitID:_0x176fe1}=_0x1b1734,{collaboration:_0x10246d}=this[_0x5c21de(0x267)]['getStateCache'](_0x176fe1);if(_0x10246d['length']===0x0)return _0x1b1734;let _0x1bc73c=_0x165790[_0x5c21de(0x2b0)]['deepClone'](_0x1b1734[_0x5c21de(0x32d)][0x0]);for(let _0x151af9=0x0;_0x151af9<_0x10246d[_0x5c21de(0x3c3)];_0x151af9++){const _0x3e4ac3={'id':_0x5c21de(0x3e7),'params':{'unitId':_0x10246d[_0x151af9][_0x5c21de(0x408)],..._0x10246d[_0x151af9][_0x5c21de(0x32a)]}},_0x34493f=this[_0x5c21de(0x292)]['transformMutation'](_0x1bc73c,_0x3e4ac3,!0x1);if(_0x2b1f6e['isTransformMutationFailure'](_0x34493f))throw _0x34493f[_0x5c21de(0x3d5)];_0x1bc73c=_0x34493f[_0x5c21de(0x431)];}return{..._0x165790[_0x5c21de(0x2b0)]['deepClone'](_0x1b1734),'mutations':[_0x1bc73c]};}[_0x529647(0x3ad)](_0xd07072){const _0xb237=_0x529647,{unitID:_0x4b40fa}=_0xd07072,{history:_0xa35b6d,collaboration:_0x26fc81}=this[_0xb237(0x267)]['getStateCache'](_0x4b40fa);if(_0xa35b6d[_0xb237(0x3c3)]===0x0&&_0x26fc81[_0xb237(0x3c3)]===0x0)return;const _0x4389a5=[],_0x14d61d=[];let _0x2aa356=_0x165790['Tools']['deepClone'](_0xd07072[_0xb237(0x32d)][0x0]),_0x30ca85=_0x165790[_0xb237(0x2b0)][_0xb237(0x242)](_0xd07072[_0xb237(0x32d)][0x0]);for(let _0x3f94c4=_0xa35b6d[_0xb237(0x3c3)]-0x1;_0x3f94c4>=0x0;_0x3f94c4--){const _0x1990b4={'id':_0xb237(0x3e7),'params':{'unitId':_0xa35b6d[_0x3f94c4]['unitId'],..._0xa35b6d[_0x3f94c4][_0xb237(0x1fe)]}},_0x2e5aa1={'id':_0xb237(0x3e7),'params':{'unitId':_0xa35b6d[_0x3f94c4][_0xb237(0x408)],..._0xa35b6d[_0x3f94c4][_0xb237(0x32a)]}},_0x5069a0=this['_transformService'][_0xb237(0x218)](_0x2aa356,_0x1990b4,!0x1),_0x396246=this[_0xb237(0x292)][_0xb237(0x218)](_0x30ca85,_0x2e5aa1,!0x1);if(_0x2b1f6e['isTransformMutationFailure'](_0x5069a0))throw _0x5069a0[_0xb237(0x3d5)];if(_0x2b1f6e[_0xb237(0x250)](_0x396246))throw _0x396246['error'];_0x4389a5[_0xb237(0x2dd)]({..._0xa35b6d[_0x3f94c4],'undoState':_0x5069a0[_0xb237(0x2fe)][_0xb237(0x1ef)],'redoState':_0x396246[_0xb237(0x2fe)]['params']}),_0x2aa356=_0x5069a0[_0xb237(0x431)],_0x30ca85=_0x396246['m1Prime'];}_0x2aa356=_0x165790['Tools'][_0xb237(0x242)](_0xd07072['mutations'][0x0]),_0x30ca85=_0x165790[_0xb237(0x2b0)][_0xb237(0x242)](_0xd07072['mutations'][0x0]);for(let _0x577c9d=_0x26fc81[_0xb237(0x3c3)]-0x1;_0x577c9d>=0x0;_0x577c9d--){const _0x4ca52a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26fc81[_0x577c9d]['unitId'],..._0x26fc81[_0x577c9d][_0xb237(0x1fe)]}},_0x1fc290={'id':_0xb237(0x3e7),'params':{'unitId':_0x26fc81[_0x577c9d][_0xb237(0x408)],..._0x26fc81[_0x577c9d][_0xb237(0x32a)]}},_0x518c46=this[_0xb237(0x292)][_0xb237(0x218)](_0x2aa356,_0x4ca52a,!0x1),_0x1fc7f6=this['_transformService'][_0xb237(0x218)](_0x30ca85,_0x1fc290,!0x1);if(_0x2b1f6e[_0xb237(0x250)](_0x518c46))throw _0x518c46[_0xb237(0x3d5)];if(_0x2b1f6e['isTransformMutationFailure'](_0x1fc7f6))throw _0x1fc7f6[_0xb237(0x3d5)];_0x14d61d[_0xb237(0x2dd)]({..._0x26fc81[_0x577c9d],'undoState':_0x518c46[_0xb237(0x2fe)][_0xb237(0x1ef)],'redoState':_0x1fc7f6[_0xb237(0x2fe)][_0xb237(0x1ef)]}),_0x2aa356=_0x518c46[_0xb237(0x431)],_0x30ca85=_0x1fc7f6[_0xb237(0x431)];}this['_docStateChangeManagerService']['setStateCache'](_0x4b40fa,{'history':_0x4389a5,'collaboration':_0x14d61d});}};_0x2d4b4e=_0x2b6d51([_0x2100de(0x0,_0x165790['Inject'](_0x165790[_0x529647(0x213)])),_0x2100de(0x1,_0x2b1f6e[_0x529647(0x412)]),_0x2100de(0x2,_0x165790['Inject'](_0x20f7f1['DocStateChangeManagerService']))],_0x2d4b4e);var _0x1538b5=Object[_0x529647(0x21c)],_0x185d2a=(_0x474e4b,_0x398538,_0x3c8dd4,_0x2d78ab)=>{for(var _0x107607=_0x2d78ab>0x1?void 0x0:_0x2d78ab?_0x1538b5(_0x398538,_0x3c8dd4):_0x398538,_0x12657f=_0x474e4b['length']-0x1,_0x1775c2;_0x12657f>=0x0;_0x12657f--)(_0x1775c2=_0x474e4b[_0x12657f])&&(_0x107607=_0x1775c2(_0x107607)||_0x107607);return _0x107607;},_0x6887ea=(_0x59a609,_0x354710)=>(_0xb58229,_0x9a8dca)=>_0x354710(_0xb58229,_0x9a8dca,_0x59a609);let _0x452f6b=class{constructor(_0x4ec178,_0x174d40){const _0x11e7bb=_0x529647;this['_injector']=_0x4ec178,this[_0x11e7bb(0x292)]=_0x174d40;}[_0x529647(0x214)](_0xaacf6){const _0x4303a4=_0x529647;var _0x4a7625;const _0xff89f6=this[_0x4303a4(0x3c1)]['get'](_0x20f8e5[_0x4303a4(0x327)]),_0x2ccf32=(_0x4a7625=_0xff89f6['getDocRanges']())!=null?_0x4a7625:[];if(_0x2ccf32[_0x4303a4(0x3c3)]===0x0)return;const _0x310274=_0xaacf6[_0x4303a4(0x27e)],_0x34e4a5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x310274,'actions':null,'textRanges':_0x2ccf32}}],_0x177140=this[_0x4303a4(0x292)][_0x4303a4(0x290)](_0xaacf6,_0x34e4a5);if(!_0x2b1f6e[_0x4303a4(0x302)](_0x177140))throw _0x177140[_0x4303a4(0x3d5)];const _0x8b0a2a=_0x177140['m2Prime'][0x0][_0x4303a4(0x1ef)][_0x4303a4(0x21d)];Array[_0x4303a4(0x333)](_0x8b0a2a)&&_0x8b0a2a[_0x4303a4(0x3c3)]&&_0xff89f6[_0x4303a4(0x2aa)](_0x8b0a2a,{'unitId':_0x310274,'subUnitId':_0x310274},!0x1);}};_0x452f6b=_0x185d2a([_0x6887ea(0x0,_0x165790['Inject'](_0x165790[_0x529647(0x213)])),_0x6887ea(0x1,_0x2b1f6e[_0x529647(0x412)])],_0x452f6b);var _0x2c8485=Object[_0x529647(0x21c)],_0x4b2689=(_0x34954a,_0x351c42,_0x24eb1f,_0x3ac7dd)=>{const _0x21ce2e=_0x529647;for(var _0x2a0971=_0x3ac7dd>0x1?void 0x0:_0x3ac7dd?_0x2c8485(_0x351c42,_0x24eb1f):_0x351c42,_0x4d4f99=_0x34954a[_0x21ce2e(0x3c3)]-0x1,_0x4e21a2;_0x4d4f99>=0x0;_0x4d4f99--)(_0x4e21a2=_0x34954a[_0x4d4f99])&&(_0x2a0971=_0x4e21a2(_0x2a0971)||_0x2a0971);return _0x2a0971;},_0x5ef263=(_0x1cb837,_0x3b8bbb)=>(_0x5c93ee,_0x145449)=>_0x3b8bbb(_0x5c93ee,_0x145449,_0x1cb837);let _0x5f15a4=class extends _0x165790['Disposable']{constructor(_0x4939af,_0x29f768,_0x576c38,_0x36a29e,_0x59e1b1,_0x35225f,_0x10c884,_0x55468b){const _0x59869b=_0x529647;super(),_0x1bb758(this,_0x59869b(0x328),new _0x278be1['BehaviorSubject'](_0x1efc97['CollaborationStatus'][_0x59869b(0x255)])),(this[_0x59869b(0x267)]=_0x4939af,this[_0x59869b(0x35a)]=_0x29f768,this[_0x59869b(0x432)]=_0x576c38,this['_docTransformStateCacheService']=_0x36a29e,this[_0x59869b(0x3de)]=_0x59e1b1,this[_0x59869b(0x40d)]=_0x35225f,this[_0x59869b(0x3b7)]=_0x10c884,this[_0x59869b(0x3b8)]=_0x55468b,this['_initEntityListener']());}[_0x529647(0x32c)](){const _0x46e7fc=_0x529647;this[_0x46e7fc(0x203)](this[_0x46e7fc(0x35a)][_0x46e7fc(0x1d7)][_0x46e7fc(0x35c)](_0x5ea88b=>{const _0x37e895=_0x46e7fc,_0xef5c31=this[_0x37e895(0x267)][_0x37e895(0x208)][_0x37e895(0x35c)](_0x125453=>{const _0x199188=_0x37e895;if(_0x125453==null)return;const {unitId:_0x2d3997,redoState:_0x3839ad,commandId:_0x1b8a8c}=_0x125453;if(_0x2d3997!==_0x5ea88b[_0x199188(0x27e)])return;const _0x292d4b={'id':_0x1b8a8c,'type':_0x165790[_0x199188(0x30c)][_0x199188(0x2f2)],'params':{'unitId':_0x2d3997,'actions':_0x3839ad[_0x199188(0x362)],'textRanges':null}};_0x5ea88b[_0x199188(0x1dc)](_0x292d4b);});if(_0x5ea88b[_0x37e895(0x203)](_0xef5c31),_0x5ea88b instanceof _0x1efc97[_0x37e895(0x320)]){const _0x18a35a={'onTransformIME':_0x30c7ec=>this['_docTransformIMECacheService']['transformIMECache'](_0x30c7ec),'onTransformState':_0x11b7d1=>this[_0x37e895(0x24d)][_0x37e895(0x22d)](_0x11b7d1),'onTransformSelections':_0x35959d=>this[_0x37e895(0x3de)][_0x37e895(0x214)](_0x35959d),'onSyncEditingCollabCursor':_0x17d626=>this['_docSyncEditingCollabCursorService'][_0x37e895(0x38c)](_0x17d626),'onTransformRemoteChangesetByIMECache':_0x370c21=>this[_0x37e895(0x432)]['transformRemoteChangeset'](_0x370c21),'onTransformRemoteChangesetByStateCache':_0x33d1f0=>this[_0x37e895(0x24d)][_0x37e895(0x27c)](_0x33d1f0)};_0x5ea88b[_0x37e895(0x1d8)](_0x18a35a);}}));}};_0x5f15a4=_0x4b2689([_0x5ef263(0x0,_0x165790['Inject'](_0x20f7f1[_0x529647(0x31b)])),_0x5ef263(0x1,_0x165790[_0x529647(0x337)](_0x1efc97['CollaborationController'])),_0x5ef263(0x2,_0x165790[_0x529647(0x337)](_0x488d59)),_0x5ef263(0x3,_0x165790[_0x529647(0x337)](_0x2d4b4e)),_0x5ef263(0x4,_0x165790[_0x529647(0x337)](_0x452f6b)),_0x5ef263(0x5,_0x165790[_0x529647(0x337)](_0x58216b)),_0x5ef263(0x6,_0x46a2f6[_0x529647(0x27a)]),_0x5ef263(0x7,_0x165790['Inject'](_0x165790[_0x529647(0x1a8)]))],_0x5f15a4);var _0x65c73d=Object['getOwnPropertyDescriptor'],_0x4b5958=(_0x1496ef,_0x1437d8,_0x1db03b,_0x22a9bb)=>{const _0x2fd08a=_0x529647;for(var _0x59f2e6=_0x22a9bb>0x1?void 0x0:_0x22a9bb?_0x65c73d(_0x1437d8,_0x1db03b):_0x1437d8,_0x5aed3e=_0x1496ef[_0x2fd08a(0x3c3)]-0x1,_0xbade70;_0x5aed3e>=0x0;_0x5aed3e--)(_0xbade70=_0x1496ef[_0x5aed3e])&&(_0x59f2e6=_0xbade70(_0x59f2e6)||_0x59f2e6);return _0x59f2e6;},_0x4cb135=(_0x127b37,_0x3f92e8)=>(_0x38b366,_0x570c37)=>_0x3f92e8(_0x38b366,_0x570c37,_0x127b37);let _0xb7ed89=class extends _0x165790[_0x529647(0x225)]{constructor(_0x5476c2,_0x5f2b95,_0x587afe){const _0x30ede2=_0x529647;super(),_0x1bb758(this,'_cachedData',new Map()),_0x1bb758(this,_0x30ede2(0x3a8),new Map()),_0x1bb758(this,_0x30ede2(0x382),!0x1),(this[_0x30ede2(0x1c9)]=_0x5476c2,this[_0x30ede2(0x26d)]=_0x5f2b95,this[_0x30ede2(0x28e)]=_0x587afe);}[_0x529647(0x279)](){const _0x141f00=_0x529647;this[_0x141f00(0x382)]=!0x0;}[_0x529647(0x2f8)](){const _0x5e1fb5=_0x529647;this[_0x5e1fb5(0x382)]=!0x1;}get[_0x529647(0x398)](){return this['_saveTaskMap'];}[_0x529647(0x23c)](){const _0x214a02=_0x529647;this[_0x214a02(0x36c)]()[_0x214a02(0x306)](()=>super[_0x214a02(0x23c)]());}async['loadOfflineData'](_0x3a1bca){const _0x3317ce=_0x529647;return this[_0x3317ce(0x382)]?null:this[_0x3317ce(0x26d)][_0x3317ce(0x1d3)](_0x1efc97['getLocalCacheKey'](_0x3a1bca));}async[_0x529647(0x41d)](_0x1bdab7,_0x457b42){const _0x394097=_0x529647;return!!this[_0x394097(0x26d)]['setItem'](_0x1bdab7,_0x457b42);}['updateOfflineData'](_0x4ba7a7,_0x79f2d,_0x241693,_0x4af316){const _0x2e1300=_0x529647,_0x98f62=this['_revisionService'][_0x2e1300(0x2b6)](_0x4ba7a7);this[_0x2e1300(0x3e6)][_0x2e1300(0x41c)](_0x4ba7a7,{'unitID':_0x4ba7a7,'type':_0x79f2d,'awaitingChangeset':_0x241693,'mutations':_0x4af316,'rev':_0x98f62}),this[_0x2e1300(0x3a8)][_0x2e1300(0x317)](_0x4ba7a7)||this[_0x2e1300(0x3ff)](_0x4ba7a7);}[_0x529647(0x3ff)](_0x319a63){const _0x5376b6=_0x529647,_0x45fc9d=this[_0x5376b6(0x2e4)]();_0x45fc9d===0x0?this[_0x5376b6(0x1e8)](_0x319a63):this[_0x5376b6(0x3a8)][_0x5376b6(0x41c)](_0x319a63,setTimeout(()=>this[_0x5376b6(0x1e8)](_0x319a63),_0x45fc9d));}[_0x529647(0x2e4)](){const _0x529c22=_0x529647;var _0x3536c8;return(_0x3536c8=this[_0x529c22(0x1c9)][_0x529c22(0x235)](_0x1efc97[_0x529c22(0x2bf)]))!=null?_0x3536c8:_0x1efc97[_0x529c22(0x2fd)];}[_0x529647(0x1e8)](_0x42d53a){const _0x3be2d4=_0x529647,_0x2891dd=this[_0x3be2d4(0x3a8)]['get'](_0x42d53a);return _0x2891dd!==void 0x0&&window[_0x3be2d4(0x2d6)](_0x2891dd),this[_0x3be2d4(0x26d)][_0x3be2d4(0x296)](_0x1efc97[_0x3be2d4(0x3e5)](_0x42d53a),this[_0x3be2d4(0x3e6)]['get'](_0x42d53a))[_0x3be2d4(0x306)](()=>this[_0x3be2d4(0x3a8)]['delete'](_0x42d53a));}async[_0x529647(0x36c)](){const _0x19c1b0=_0x529647,_0x2f4c4c=[];this[_0x19c1b0(0x3a8)]['forEach']((_0x243f2c,_0x4dcf20)=>{const _0xc061a2=_0x19c1b0;window['clearTimeout'](_0x243f2c),_0x2f4c4c[_0xc061a2(0x1c7)](this['_saveCache'](_0x4dcf20)[_0xc061a2(0x306)](()=>{const _0x325cb5=_0xc061a2;this[_0x325cb5(0x3a8)][_0x325cb5(0x371)](_0x4dcf20);}));}),await Promise[_0x19c1b0(0x385)](_0x2f4c4c);}};_0xb7ed89=_0x4b5958([_0x4cb135(0x0,_0x165790[_0x529647(0x2ff)]),_0x4cb135(0x1,_0x165790[_0x529647(0x209)]),_0x4cb135(0x2,_0x165790['Inject'](_0x2b1f6e['RevisionService']))],_0xb7ed89);class _0x4670c6 extends _0x165790[_0x529647(0x270)]{constructor(){const _0x56fd1d=_0x529647;super(),_0x1bb758(this,_0x56fd1d(0x3e3)),this['urlChange$']=_0x278be1[_0x56fd1d(0x43a)](window,'popstate')[_0x56fd1d(0x1f3)](_0x278be1[_0x56fd1d(0x202)](this[_0x56fd1d(0x2d3)]),_0x278be1[_0x56fd1d(0x363)](0x1),_0x278be1['mapTo'](void 0x0));}[_0x529647(0x1ad)](_0x31b43c,_0x58a937,_0x56c663=!0x1){const _0x1fbcec=_0x529647,_0x32b651=new URL(window[_0x1fbcec(0x29f)][_0x1fbcec(0x2f0)]);_0x32b651[_0x1fbcec(0x3bc)][_0x1fbcec(0x41c)](_0x31b43c,_0x58a937),_0x56c663?window[_0x1fbcec(0x245)]['replaceState']('','',_0x32b651[_0x1fbcec(0x1db)]()):window[_0x1fbcec(0x245)][_0x1fbcec(0x25f)]('','',_0x32b651[_0x1fbcec(0x1db)]());}[_0x529647(0x1c1)](_0x35779e,_0x2d34e9=!0x1){const _0x513020=_0x529647,_0x5c4a9d=new URL(window['location'][_0x513020(0x2f0)]);_0x5c4a9d[_0x513020(0x3bc)][_0x513020(0x371)](_0x35779e),_0x2d34e9?window['history']['replaceState']('','',_0x5c4a9d[_0x513020(0x1db)]()):window['history'][_0x513020(0x25f)]('','',_0x5c4a9d[_0x513020(0x1db)]());}[_0x529647(0x26a)](_0x9d3f7f){const _0x46bbfb=_0x529647;var _0x43ddcb;return(_0x43ddcb=new URL(window[_0x46bbfb(0x29f)]['href'])[_0x46bbfb(0x3bc)][_0x46bbfb(0x1b5)](_0x9d3f7f))!=null?_0x43ddcb:void 0x0;}}var _0x764234=Object[_0x529647(0x22a)],_0x2f226d=Object['getOwnPropertyDescriptor'],_0x1d2ef9=(_0x2db2e4,_0x40632b,_0xb65a94)=>_0x40632b in _0x2db2e4?_0x764234(_0x2db2e4,_0x40632b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb65a94}):_0x2db2e4[_0x40632b]=_0xb65a94,_0x5929db=(_0x38dcb0,_0x413246,_0x223e0e,_0x347ef1)=>{const _0x1eb5e8=_0x529647;for(var _0x1fc18d=_0x347ef1>0x1?void 0x0:_0x347ef1?_0x2f226d(_0x413246,_0x223e0e):_0x413246,_0x3a08e9=_0x38dcb0[_0x1eb5e8(0x3c3)]-0x1,_0x481e1b;_0x3a08e9>=0x0;_0x3a08e9--)(_0x481e1b=_0x38dcb0[_0x3a08e9])&&(_0x1fc18d=_0x481e1b(_0x1fc18d)||_0x1fc18d);return _0x1fc18d;},_0x31c56e=(_0x1bcdc4,_0x41b012)=>(_0x50c2b5,_0x5ed4bb)=>_0x41b012(_0x50c2b5,_0x5ed4bb,_0x1bcdc4),_0x47be9f=(_0x37e6b7,_0x50120d,_0x44a246)=>_0x1d2ef9(_0x37e6b7,_0x50120d+'',_0x44a246);const _0x21ac4a=_0x529647(0x28f);_0x53f44c[_0x529647(0x3d1)]=class extends _0x165790[_0x529647(0x1d1)]{constructor(_0x5a27f3=_0x482b11,_0x1ede6f,_0x3c7a0c,_0x43c3bb){const _0x568814=_0x529647;super(),this[_0x568814(0x24a)]=_0x5a27f3,this[_0x568814(0x1ff)]=_0x1ede6f,this[_0x568814(0x3c1)]=_0x3c7a0c,this['_configService']=_0x43c3bb;const {..._0x2c9e2c}=_0x165790[_0x568814(0x35b)]({},_0x482b11,this['_config']);this[_0x568814(0x1c9)][_0x568814(0x2ed)](_0x1cc92a,_0x2c9e2c);}['onStarting'](){const _0xdebf6d=_0x529647;this[_0xdebf6d(0x240)](),this[_0xdebf6d(0x335)]();}[_0x529647(0x20b)](){const _0x9833ae=_0x529647;this[_0x9833ae(0x39f)]();}[_0x529647(0x240)](){const _0x340d0f=_0x529647;var _0x5b8f4b;const _0x9cd990=[[_0x4f197f],[_0x452f6b],[_0x488d59],[_0x2d4b4e],[_0x58216b],[_0x3fd2ab,{'useClass':_0x4670c6}],[_0x3f48c5['ISocketService'],{'useClass':_0x3f48c5[_0x340d0f(0x35d)]}],[_0x1efc97[_0x340d0f(0x37a)],{'useClass':_0xb7ed89}],[_0x53f44c[_0x340d0f(0x3ea)]],[_0x5f15a4],[_0x279a7d],[_0x117536],[_0x684b41],[_0x53f44c[_0x340d0f(0x230)]]];_0x165790[_0x340d0f(0x3fb)](this['_injector'],_0x165790[_0x340d0f(0x31a)](_0x9cd990,(_0x5b8f4b=this[_0x340d0f(0x24a)])==null?void 0x0:_0x5b8f4b[_0x340d0f(0x2da)]));}[_0x529647(0x39f)](){const _0x2d018e=_0x529647;this[_0x2d018e(0x203)](this[_0x2d018e(0x1ff)][_0x2d018e(0x1d6)](_0x165790[_0x2d018e(0x2c0)][_0x2d018e(0x300)],[_0x152775])),this[_0x2d018e(0x203)](this['_renderManagerService']['registerRenderModule'](_0x165790[_0x2d018e(0x2c0)][_0x2d018e(0x2d1)],[_0x254369]));}[_0x529647(0x335)](){const _0x113720=_0x529647;_0x165790[_0x113720(0x28a)](this[_0x113720(0x3c1)],[[_0x117536],[_0x53f44c['DesktopCollaborationStatusDisplayController']],[_0x5f15a4],[_0x279a7d],[_0x53f44c['CollaborationDataLoaderController']]]);}},_0x47be9f(_0x53f44c[_0x529647(0x3d1)],_0x529647(0x383),_0x21ac4a),_0x53f44c[_0x529647(0x3d1)]=_0x5929db([_0x165790[_0x529647(0x433)](_0x1efc97[_0x529647(0x1cc)]),_0x31c56e(0x1,_0x1e15c8['IRenderManagerService']),_0x31c56e(0x2,_0x165790[_0x529647(0x337)](_0x165790['Injector'])),_0x31c56e(0x3,_0x165790[_0x529647(0x2ff)])],_0x53f44c['UniverCollaborationClientUIPlugin']);var _0x1428c2=Object[_0x529647(0x21c)],_0x34d424=(_0x433911,_0x190ef3,_0x27c57e,_0x4595e3)=>{const _0x4c0f17=_0x529647;for(var _0x1b622a=_0x4595e3>0x1?void 0x0:_0x4595e3?_0x1428c2(_0x190ef3,_0x27c57e):_0x190ef3,_0x5ebef0=_0x433911[_0x4c0f17(0x3c3)]-0x1,_0x6ba218;_0x5ebef0>=0x0;_0x5ebef0--)(_0x6ba218=_0x433911[_0x5ebef0])&&(_0x1b622a=_0x6ba218(_0x1b622a)||_0x1b622a);return _0x1b622a;},_0x515d12=(_0x4773e6,_0x1ac92e)=>(_0x1dfa5f,_0x1583d8)=>_0x1ac92e(_0x1dfa5f,_0x1583d8,_0x4773e6);_0x53f44c[_0x529647(0x23d)]=class extends _0x1efc97[_0x529647(0x2fb)]{constructor(_0x5149e1,_0x359777,_0x2aeddb,_0x522ca9,_0x1d20b4){super(_0x5149e1,_0x359777,_0x2aeddb,_0x522ca9,_0x1d20b4);}async[_0x529647(0x204)](_0x4c47fe){const _0x39ed49=_0x529647,_0x4840c1=await this[_0x39ed49(0x262)](),_0x24b630=this[_0x39ed49(0x35e)](_0x4c47fe,_0x4840c1);return this[_0x39ed49(0x3e2)](_0x24b630);}[_0x529647(0x35e)](_0x53c833,_0x5f0936){const _0x3e1984=_0x529647,_0x2a97d1=typeof window>'u'?new URL(_0x53c833):new URL(_0x53c833,window['location'][_0x3e1984(0x437)]);_0x2a97d1['searchParams'][_0x3e1984(0x41c)](_0x3e1984(0x395),_0x5f0936);const _0x27bd19=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3e1984(0x30e)]);return _0x27bd19[_0x3e1984(0x1b5)]('runId')&&_0x2a97d1['searchParams'][_0x3e1984(0x41c)]('runId',_0x27bd19[_0x3e1984(0x1b5)](_0x3e1984(0x23a))),_0x2a97d1['toString']();}async['_getSessionTicket'](){const _0x585887=_0x529647;var _0x1e6656,_0x370e97,_0x1725b0;const _0xa0c345=this[_0x585887(0x1c9)]['getConfig'](_0x1efc97[_0x585887(0x256)]),_0xfd6760=(_0x1e6656=_0xa0c345==null?void 0x0:_0xa0c345['wsSessionTicketUrl'])!=null?_0x1e6656:_0x1efc97[_0x585887(0x435)];return(_0x1725b0=(_0x370e97=(await this['_httpService'][_0x585887(0x1b5)](_0xfd6760,{'headers':{'Content-Type':_0x585887(0x207)}}))[_0x585887(0x357)])==null?void 0x0:_0x370e97['ticket'])!=null?_0x1725b0:'';}},_0x53f44c[_0x529647(0x23d)]=_0x34d424([_0x515d12(0x0,_0x165790[_0x529647(0x337)](_0x165790[_0x529647(0x213)])),_0x515d12(0x1,_0x165790[_0x529647(0x337)](_0x3f48c5[_0x529647(0x24c)])),_0x515d12(0x2,_0x165790[_0x529647(0x2ff)]),_0x515d12(0x3,_0x165790[_0x529647(0x25c)]),_0x515d12(0x4,_0x2b1f6e[_0x529647(0x312)])],_0x53f44c[_0x529647(0x23d)]);var _0x2cbf62=(_0x5568bd=>(_0x5568bd[_0x5568bd[_0x529647(0x24f)]=0x0]=_0x529647(0x24f),_0x5568bd[_0x5568bd['OK']=0x1]='OK',_0x5568bd[_0x5568bd[_0x529647(0x293)]=0x2]=_0x529647(0x293),_0x5568bd[_0x5568bd[_0x529647(0x3c6)]=0x3]=_0x529647(0x3c6),_0x5568bd[_0x5568bd[_0x529647(0x2b8)]=0x4]='NOT_FOUND',_0x5568bd[_0x5568bd[_0x529647(0x2d8)]=0x5]=_0x529647(0x2d8),_0x5568bd[_0x5568bd[_0x529647(0x3ae)]=0x6]='ALREADY_EXISTS',_0x5568bd[_0x5568bd[_0x529647(0x249)]=0x7]=_0x529647(0x249),_0x5568bd[_0x5568bd[_0x529647(0x1e7)]=0x8]='TOO_MANY_REQUESTS',_0x5568bd[_0x5568bd[_0x529647(0x2cc)]=0x9]=_0x529647(0x2cc),_0x5568bd[_0x5568bd[_0x529647(0x271)]=0xa]='LOGIN_FAILED',_0x5568bd[_0x5568bd['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x529647(0x326),_0x5568bd[_0x5568bd['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x529647(0x373),_0x5568bd[_0x5568bd['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5568bd[_0x5568bd['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x529647(0x339),_0x5568bd[_0x5568bd['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x529647(0x286),_0x5568bd[_0x5568bd[_0x529647(0x3d4)]=0x1771]=_0x529647(0x3d4),_0x5568bd[_0x5568bd[_0x529647(0x1e2)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5568bd[_0x5568bd[_0x529647(0x264)]=0x1773]=_0x529647(0x264),_0x5568bd[_0x5568bd[_0x529647(0x26b)]=0x1b59]=_0x529647(0x26b),_0x5568bd[_0x5568bd[_0x529647(0x275)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5568bd[_0x5568bd[_0x529647(0x281)]=0x1b5b]=_0x529647(0x281),_0x5568bd[_0x5568bd[_0x529647(0x1b4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5568bd[_0x5568bd['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5568bd[_0x5568bd[_0x529647(0x1bd)]=0x1f41]=_0x529647(0x1bd),_0x5568bd[_0x5568bd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5568bd[_0x5568bd[_0x529647(0x1e3)]=0x232a]=_0x529647(0x1e3),_0x5568bd[_0x5568bd[_0x529647(0x30b)]=0x232b]=_0x529647(0x30b),_0x5568bd[_0x5568bd[_0x529647(0x2e1)]=0x232c]=_0x529647(0x2e1),_0x5568bd[_0x5568bd[_0x529647(0x2b2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5568bd[_0x5568bd[_0x529647(0x425)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5568bd[_0x5568bd[_0x529647(0x391)]=0x2712]=_0x529647(0x391),_0x5568bd[_0x5568bd[_0x529647(0x2c2)]=0x2713]=_0x529647(0x2c2),_0x5568bd[_0x5568bd[_0x529647(0x232)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5568bd[_0x5568bd[_0x529647(0x32e)]=0x271a]=_0x529647(0x32e),_0x5568bd[_0x5568bd[_0x529647(0x29d)]=0x271b]=_0x529647(0x29d),_0x5568bd[_0x5568bd[_0x529647(0x3ee)]=0x271c]=_0x529647(0x3ee),_0x5568bd[_0x5568bd[_0x529647(0x358)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5568bd[_0x5568bd[_0x529647(0x370)]=0x271e]=_0x529647(0x370),_0x5568bd[_0x5568bd[_0x529647(0x3ec)]=0x271f]=_0x529647(0x3ec),_0x5568bd[_0x5568bd[_0x529647(0x354)]=0x2720]=_0x529647(0x354),_0x5568bd[_0x5568bd[_0x529647(0x278)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5568bd[_0x5568bd['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x529647(0x2ba),_0x5568bd[_0x5568bd[_0x529647(0x3cb)]=0x2ee2]=_0x529647(0x3cb),_0x5568bd[_0x5568bd[_0x529647(0x2a1)]=0x2ee3]=_0x529647(0x2a1),_0x5568bd[_0x5568bd[_0x529647(0x38f)]=0x2ee4]=_0x529647(0x38f),_0x5568bd[_0x5568bd[_0x529647(0x319)]=0x2ee5]=_0x529647(0x319),_0x5568bd[_0x5568bd[_0x529647(0x1b0)]=0x32c9]=_0x529647(0x1b0),_0x5568bd[_0x5568bd[_0x529647(0x32f)]=0x32ca]=_0x529647(0x32f),_0x5568bd[_0x5568bd[_0x529647(0x3db)]=0x32cb]=_0x529647(0x3db),_0x5568bd[_0x5568bd[_0x529647(0x1f7)]=-0x1]=_0x529647(0x1f7),_0x5568bd))(_0x2cbf62||{}),_0x3e93f7=Object[_0x529647(0x21c)],_0x43320a=(_0x3bedf1,_0x24b3f8,_0x137275,_0x2251d0)=>{for(var _0x427ce7=_0x2251d0>0x1?void 0x0:_0x2251d0?_0x3e93f7(_0x24b3f8,_0x137275):_0x24b3f8,_0x2d44e2=_0x3bedf1['length']-0x1,_0x42dc24;_0x2d44e2>=0x0;_0x2d44e2--)(_0x42dc24=_0x3bedf1[_0x2d44e2])&&(_0x427ce7=_0x42dc24(_0x427ce7)||_0x427ce7);return _0x427ce7;},_0x24917b=(_0x55cdae,_0x430661)=>(_0x2a3ec2,_0x5b92b3)=>_0x430661(_0x2a3ec2,_0x5b92b3,_0x55cdae);_0x53f44c['RemoteUniscriptService']=class extends _0x165790[_0x529647(0x225)]{constructor(_0x585fd0,_0x2a7fa0,_0x243a5a){const _0xaf1cd6=_0x529647;super(),this[_0xaf1cd6(0x1da)]=_0x585fd0,this[_0xaf1cd6(0x2d9)]=_0x2a7fa0,this[_0xaf1cd6(0x1c9)]=_0x243a5a;}async[_0x529647(0x403)](_0x29e47b,_0x3fc5c8,_0x1cf89c,..._0x3c95e1){const _0xb25937=_0x529647;var _0x561497,_0x1147a5,_0x4067ab,_0x13384e;const _0x27f952=this['_instanceService']['getFocusedUnit']();if(!_0x27f952)throw new Error(_0xb25937(0x365));const _0x4beb33=((_0x561497=this[_0xb25937(0x1c9)][_0xb25937(0x235)](_0x1efc97['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x561497:_0x1efc97[_0xb25937(0x265)])+'/'+_0x29e47b+_0xb25937(0x309)+_0x3fc5c8,_0x5b2da9=new URL(window[_0xb25937(0x29f)][_0xb25937(0x2f0)]),_0x670acb={'scriptId':_0x29e47b,'runId':(_0x1147a5=_0x5b2da9[_0xb25937(0x3bc)][_0xb25937(0x1b5)](_0xb25937(0x23a)))!=null?_0x1147a5:'','function':_0x3fc5c8,'unitId':_0x27f952[_0xb25937(0x2a0)](),'argsOfFunction':JSON[_0xb25937(0x2f6)](_0x3c95e1),'invokeId':(_0x4067ab=_0x1cf89c[_0xb25937(0x3cf)])!=null?_0x4067ab:'','executionId':(_0x13384e=_0x1cf89c[_0xb25937(0x394)])!=null?_0x13384e:''};try{const _0xf9bd91=await this[_0xb25937(0x2d9)][_0xb25937(0x3d2)](_0x4beb33,{'body':_0x670acb});return _0xf9bd91[_0xb25937(0x357)][_0xb25937(0x3d5)]&&_0xf9bd91[_0xb25937(0x357)][_0xb25937(0x3d5)][_0xb25937(0x31f)]!==_0x2cbf62['OK']?_0xb25937(0x323):_0xf9bd91[_0xb25937(0x357)][_0xb25937(0x2b4)];}catch{return _0xb25937(0x323);}}},_0x53f44c[_0x529647(0x269)]=_0x43320a([_0x24917b(0x0,_0x165790['IUniverInstanceService']),_0x24917b(0x1,_0x165790[_0x529647(0x337)](_0x3f48c5['HTTPService'])),_0x24917b(0x2,_0x165790[_0x529647(0x2ff)])],_0x53f44c[_0x529647(0x269)]);const _0x3eef8a=0x7530,_0x39e72='ACTIVE_UNIT_EVENT_CHANNEL';class _0x58364f extends _0x165790[_0x529647(0x225)]{constructor(){const _0x1d263b=_0x529647;super(),_0x1bb758(this,_0x1d263b(0x399),_0x165790[_0x1d263b(0x2db)]()),_0x1bb758(this,'_selfUnitIDs',new Set()),_0x1bb758(this,_0x1d263b(0x2c6),new Map()),_0x1bb758(this,_0x1d263b(0x211),null),_0x1bb758(this,_0x1d263b(0x283),new Map()),_0x1bb758(this,_0x1d263b(0x39c),new Map()),this[_0x1d263b(0x2b7)]();}[_0x529647(0x23c)](){const _0x298950=_0x529647;super[_0x298950(0x23c)](),this[_0x298950(0x283)][_0x298950(0x311)]((_0x18c34d,_0xfc3593)=>this[_0x298950(0x3a6)](_0xfc3593)),this[_0x298950(0x211)]&&window[_0x298950(0x1e6)](this[_0x298950(0x211)]);}[_0x529647(0x3dd)](_0x34bcbc){const _0x1cb737=_0x529647;return this['_ensureSubject'](_0x34bcbc)['pipe'](_0x278be1[_0x1cb737(0x2a7)]());}[_0x529647(0x2b1)](_0x2d84ee){const _0xe8c0e1=_0x529647;this['_selfUnitIDs'][_0xe8c0e1(0x361)]===0x0&&this[_0xe8c0e1(0x2e6)](),this[_0xe8c0e1(0x2ec)][_0xe8c0e1(0x2f4)](_0x2d84ee),this['_send']({'type':0x0,'memberID':this[_0xe8c0e1(0x399)],'unitIDs':[_0x2d84ee],'isForwarded':!0x1});}['disposeUnit'](_0x13e0ca){const _0x438be2=_0x529647;this[_0x438be2(0x2ec)][_0x438be2(0x371)](_0x13e0ca),this['_selfUnitIDs'][_0x438be2(0x361)]===0x0&&this[_0x438be2(0x211)]&&window['clearInterval'](this[_0x438be2(0x211)]);}[_0x529647(0x2b7)](){const _0x305ebc=_0x529647;this[_0x305ebc(0x203)](_0x165790[_0x305ebc(0x422)](_0x278be1[_0x305ebc(0x43a)](window,_0x305ebc(0x24b))[_0x305ebc(0x35c)](_0x3b80b9=>{const _0x5e4be2=_0x305ebc;if(_0x3b80b9[_0x5e4be2(0x3ba)]!==_0x39e72||!_0x3b80b9[_0x5e4be2(0x38b)])return;const _0x1d0d6e=JSON[_0x5e4be2(0x1df)](_0x3b80b9['newValue']);this[_0x5e4be2(0x294)](_0x1d0d6e);}))),window[_0x305ebc(0x299)](_0x305ebc(0x2ac),()=>this['_send']({'type':0x1,'memberID':this[_0x305ebc(0x399)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x529647(0x294)](_0x1534a4){const _0x503161=_0x529647;switch(_0x1534a4['type']){case 0x0:this[_0x503161(0x248)](_0x1534a4);break;case 0x1:this[_0x503161(0x37b)](_0x1534a4);break;case 0x2:this[_0x503161(0x3f8)](_0x1534a4);break;}}[_0x529647(0x248)](_0x56d8ce){const _0x5899be=_0x529647,{unitIDs:_0x3d8ac7,memberID:_0x2e4ff7,isForwarded:_0x24eada}=_0x56d8ce;_0x3d8ac7['forEach'](_0x5f3408=>{const _0x29b4ee=_0x1288;if(!_0x24eada&&this['_unitOnClients'][_0x29b4ee(0x317)](_0x5f3408)&&this[_0x29b4ee(0x25a)](_0x5f3408)['next'](_0x1efc97[_0x29b4ee(0x224)]['OTHER_CLIENTS_EDITING']),!this[_0x29b4ee(0x2c6)]['has'](_0x5f3408)||!this['_unitOnClients']['get'](_0x5f3408)['has'](_0x2e4ff7)){const _0x28fbe1=this[_0x29b4ee(0x2c6)][_0x29b4ee(0x1b5)](_0x5f3408)||new Set();_0x28fbe1[_0x29b4ee(0x2f4)](_0x2e4ff7),this[_0x29b4ee(0x2c6)][_0x29b4ee(0x41c)](_0x5f3408,_0x28fbe1),this['_scheduleClearOtherTimer'](_0x2e4ff7);}}),_0x24eada||this['_send']({'type':0x0,'memberID':this[_0x5899be(0x399)],'unitIDs':[...this[_0x5899be(0x2ec)]],'isForwarded':!0x0});}[_0x529647(0x228)](_0x36d570){const _0x30c573=_0x529647;this[_0x30c573(0x3a6)](_0x36d570);const _0xe47c65=window[_0x30c573(0x397)](()=>{const _0x4c73f4=_0x30c573;this[_0x4c73f4(0x2c6)]['forEach'](_0x45a05d=>{const _0x3c0532=_0x4c73f4;_0x45a05d[_0x3c0532(0x371)](_0x36d570);});},_0x3eef8a*0x2);this[_0x30c573(0x283)][_0x30c573(0x41c)](_0x36d570,_0xe47c65);}[_0x529647(0x3a6)](_0xd01bc){const _0x32437a=_0x529647;if(this[_0x32437a(0x283)][_0x32437a(0x317)](_0xd01bc)){const _0x3f847a=this[_0x32437a(0x283)][_0x32437a(0x1b5)](_0xd01bc);_0x3f847a&&window['clearTimeout'](_0x3f847a),this[_0x32437a(0x283)][_0x32437a(0x41c)](_0xd01bc,null);}}[_0x529647(0x37b)](_0x3a3211){const {memberID:_0x136aea,unitIDs:_0x669585}=_0x3a3211;_0x669585['forEach'](_0x223790=>{const _0xcc2967=_0x1288;var _0x31fc9b;const _0x47e332=this['_unitOnClients'][_0xcc2967(0x1b5)](_0x223790);_0x47e332&&(_0x47e332[_0xcc2967(0x371)](_0x136aea),(_0x31fc9b=this['_ensureSubject'](_0x223790))==null||_0x31fc9b[_0xcc2967(0x1ed)](_0x47e332['size']===0x0?_0x1efc97[_0xcc2967(0x224)][_0xcc2967(0x291)]:_0x1efc97[_0xcc2967(0x224)][_0xcc2967(0x1c8)]));}),this['_removeClearOtherTimer'](_0x136aea);}[_0x529647(0x3f8)](_0x202182){const _0x1d3448=_0x529647;this[_0x1d3448(0x228)](_0x202182['memberID']);}[_0x529647(0x1c4)](_0x593086){const _0x4ac264=_0x529647;localStorage[_0x4ac264(0x296)](_0x39e72,JSON['stringify'](_0x593086));}[_0x529647(0x2e6)](){const _0x259f87=_0x529647;this[_0x259f87(0x211)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x3eef8a);}[_0x529647(0x25a)](_0x23ccf0){const _0x37e300=_0x529647;return this[_0x37e300(0x39c)][_0x37e300(0x317)](_0x23ccf0)||this[_0x37e300(0x39c)][_0x37e300(0x41c)](_0x23ccf0,new _0x278be1['BehaviorSubject'](_0x1efc97[_0x37e300(0x224)][_0x37e300(0x291)])),this[_0x37e300(0x39c)][_0x37e300(0x1b5)](_0x23ccf0);}}_0x53f44c[_0x529647(0x1bc)]=_0x3fd2ab,_0x53f44c[_0x529647(0x205)]=_0x65c813,_0x53f44c[_0x529647(0x2a9)]=_0x58364f,_0x53f44c['WebURLService']=_0x4670c6,Object[_0x529647(0x22a)](_0x53f44c,Symbol[_0x529647(0x3b4)],{'value':_0x529647(0x314)});}));function _0x7820(){const _0x25dd31=['unshift','_anchorDot','text','0\x200\x2017\x2016','LICENSE_EXPORT_SIZE_EXCEEDED','filter','map','_getSaveTimeout','addObject','_scheduleHeartbeat','debounceTime','_toggleOnline','SheetsSelectionsService','onCommandExecuted','MoveRangeCommandId','_selfUnitIDs','setConfig','subscribeEvent','concat','href','_labelPosition','MUTATION','4157400EjzDsE','add','INotificationService','stringify','focused$','enableLocalCache','SetWorksheetActivateCommand','trim','CollaborationSocketService','_commandService','LOCAL_CACHE_INTERVAL','m2Prime','IConfigService','UNIVER_DOC','complete','isTransformMutationsWithChangesetSuccess','Rectangle','asObservable','Optional','then','IUniverInstanceService','_imageIoService','/run/','unit','LICENSE_IMPORT_SIZE_EXCEEDED','CommandType','createElement','search','_docSkeletonManagerService','data','forEach','ISnapshotServerService','_notificationService','Module','CollaborationController','RichTextEditingMutation','has','_lastPointer','INVITE_CODE_ALREADY_BOUND','mergeOverrideWithDependencies','DocStateChangeManagerService','TEXT','@univerjs/rpc','_onCursorUpdate','code','DocCollaborationEntity','UniverEngineRender','getMember','Failed','eventID','min','MOBILE_VERIFY_CODE_MISMATCH','DocSelectionManagerService','_status$','CollaborationSessionService','redoState','fillText','_initEntityListener','mutations','YUUMI_NO_CUBOID_FOR_QUESTION','MOBILE_HAS_BEEN_BOUND','registerRefRange','setShapeProps','indexOf','isArray','1158364iPdsGi','_initDependencies','closePath','Inject','mask','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_scene','symbol','_range','[CollaborationDataLoaderController]','getSkeleton','includes','labelPosition','onPointerMove$','_cursorShapes','React','createIdentifier','fillStyle','getRelativeToViewportCoord','IRemoteInstanceService','hovered','rxjs','getActiveRange','getDocRanges','univer-flex\x20univer-items-center','makeDirty','SetDocZoomRatioOperation','_cursor','react','CollaborationEvent','http://www.w3.org/2000/svg','apply','YUUMI_CONNECTOR_URL_NOT_FOUND','getFocusedUnit','UPDATE_CURSOR','body','YUUMI_ALL_TABLES_IS_INVALID','skeleton','_collaborationController','merge','subscribe','WebSocketService','_createSocketURL','FETCH_MISS','red.300','size','actions','shareReplay','selection','[RemoteUniscriptService]:\x20no\x20focused\x20unit','currentTheme$','_startDocCollabCursor','UniverProCollaboration','_toggleOffline','currentColor','_hideTimer','exhaustSavingTask','0\x200\x2016\x2016','SYNCED','getCollabCursors$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','delete','drawWith','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_assignedColors','getCurrentUnitForType','collaboration-client-ui.config','setAlpha','getCoordByCell','handleIRemoveRow','ILocalCacheService','_handleLeaveEvent','isActive','none','OffLineIcon','onPointerLeave$','964574XoRKDj','throttleTime','_disabled','pluginName','_localCacheService','all','_beforeCloseService','from','unsubscribe','serializeRangeWithSheet','forwardRef','newValue','syncEditingCollabCursor','8BvpiNd','session.collaboration-timeout','USER_NOT_INVITED_CODE','_refRangeService','YUUMI_URL_COL_OUT_OF_RANGE','transform','_updateSubUnitFromURLParams','executionId','sessionTicket','_initStatusListener','setTimeout','saveTaskMap','_id','BehaviorSubject','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','_unitStatus','NodePositionConvertToCursor','@univerjs-pro/collaboration','_registerRenderDependencies','row','Shape','operators','useRef','init','_collabCursorController','_removeClearOtherTimer','colorChannel1','_saveTaskMap','_name','_updateCollabCursors','@univerjs/design','3VYfnqo','_transformHistoryAndStateStack','ALREADY_EXISTS','handleDeleteRangeMoveLeft','collab-text-anchor-','getUndoRedoMutationParamsCache','collab-rect-range-','InsertRangeMoveDownCommandId','toStringTag','source','getCellPositionByOffset','_messageService','_localeService','InsertColCommandId','key','translate(.97)','searchParams','entries','6112539rSaRTD','amd','ThemeService','_injector','1986580SqLYIk','length','div','displayName','PERMISSION_DENIED','handleDeleteRangeMoveUp','idSuffix','event$','jiqing.500','INVALID_INVITE_CODE','currentSkeleton$','_initStatusComponent','_drawAnchor','invokeId','black','UniverCollaborationClientUIPlugin','post','prototype','SNAPSHOT_INVALID_SNAPSHOT','error','_hovered','handleInsertRow','_colorIndex','@univerjs/docs','cursorInfo$','EMAIL_HAS_BEEN_BOUND','session.will-retry','getUnitStatus$','_docTransformSelectionsService','_session','getTypeOfUnitDisposed$','RECT','_doCreateSocket','urlChange$','string','getLocalCacheKey','_cachedData','doc.mutation.rich-text-editing','CollaborationStatus','_docClipboardService','DesktopCollaborationStatusDisplayController','_sheetSkeletonManagerService','YUUMI_AI_RUN_FAILED','_docSkeleton','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fromEventSubject','_shapes','getCurrentSelections','engine','ONLINE','Tooltip','36LvNWtz','defIds','extend','_handleHeartbeatEvent','ranges','getUniverSheetInstance','registerDependencies','CONFLICT','BuiltInUIPart','tag','_scheduleSaving','getTypeOfUnitAdded$','USERS_LEAVE','AWAITING_WITH_PENDING','runOnServer','measureText','SUBMIT_CHANGESET_TIMEOUT','useDependency','save','unitId','exports','_context','SheetSkeletonManagerService','jsxs','_docSyncEditingCollabCursorService','activeSheet$','IRenderManagerService','send','1em','ITransformService','_urlService','UniverNetwork','IUIPartsService','fill','@univerjs-pro/collaboration-client','imageSourceType','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','function','_getAnchorBounding','set','saveOfflineData','EffectRefRangId','connectInjector','sheetID','_memberService','toDisposable','getRangePointData','@univerjs/engine-formula','YUUMI_UNABLE_LOAD_URL','attrs','arc','range','UniverDrawing','_draw','Unknown\x20user','Vector2','sheetId','UniverProCollaborationClient','_uiPartsService','collabStatus.syncing','m1Prime','_docTransformIMECacheService','DependentOn','restore','DEFAULT_WS_SESSION_TICKET_URL','transformByState','origin','assign','univerjs-icon\x20univerjs-icon-','fromEvent','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','url(#on-line-icon_clip0_910_349)','LocaleService','@univerjs/sheets','assignAColorForMemberID','getOwnPropertySymbols','getViewport','setParam','path','_hover','WECHAT_HAS_BEEN_BOUND','handleMoveRange','TEXT_RANGE_LAYER_INDEX','contains','APPLY_PERMISSION_DENIED','get','startColumn','_entities','substring','_setupSubUnitSync','InsertRowCommandId','split','IURLService','CONNECTOR_DATA_TOO_LARGE','deserializeRangeWithSheet','white','_initEvent','removeParam','_entityInit$','findNodePositionByCharIndex','_send','_anchor','getVpScrollXYInfoByPosToVp','push','OTHER_CLIENTS_EDITING','_configService','evenodd','_online','UniverCollaborationClientPlugin','_handleHover','addClipboardHook','saveImage','collaboration.single-unit.warning','Plugin','collab-text-range-','getItem','_backgroundColor','useObservable','registerRenderModule','entityInit$','addHandlerCallback','CollaborationUIEventId','_instanceService','toString','onLocalMutation','Workbook','getSheetId','parse','color','getMergeData','SNAPSHOT_HAS_BEEN_REMOVED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DocSkeletonManagerService','children','clearInterval','TOO_MANY_REQUESTS','_saveCache','Warning','AWAITING','debug','RefRangeService','next','sessionStatus$','params','type','M0\x200H16V16H0z','svg','pipe','height','column','subunit','UNRECOGNIZED','SessionStatus','getValue','whenReady','collabCursorState$','status$','...','undoState','_renderManagerService','_themeService','useCallback','takeUntil','disposeWithMe','createSocket','SheetCollabCursorShape','replace','application/json','docStateChange$','ILocalStorageService','clipPath','onRendered','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_syncEditingCollabCursorService','handleInsertRangeMoveDown','_onRefRangeChange','_logService','_heartbeatTimer','ColorKit','Injector','transformSelections','startsWith','off-line-icon_clip0_910_343','DOC_RANGE_TYPE','transformMutation','call','getActiveSheet','FromArray','getOwnPropertyDescriptor','textRanges','IDocClipboardService','@univerjs/docs-ui','react/jsx-runtime','@univerjs/engine-render','@univerjs/network','_getMergeRange','UnitStatus','Disposable','_updateURLWithCurrentState','_getSheetObject','_scheduleClearOtherTimer','Error','defineProperty','getSheetBySheetId','collabStatus.notCollab','transformStateCache','_cursorInfo$','@univerjs/core','CollaborationDataLoaderController','NodePositionConvertToRectRange','YUUMI_SUBSCRIPTION_NOT_FOUND','defs','random','getConfig','getOffsetConfig','collaboration.closeRoom','1291766ZfHeSS','CLOSE_ROOM','runId','icon','dispose','BrowserCollaborationSocketService','SOCKET_FAILED_RETRY','registerComponent','_registerDependencies','_initResize','deepClone','_onCursorDelete','UniverSheets','history','_drawRectRange','_cursors','_handleJoinEvent','INVALID_ARGUMENT','_config','storage','HTTPService','_docTransformStateCacheService','lineTo','UNDEFINED','isTransformMutationFailure','debounce','onTransformChange$','_eventUnsubscribe','DeleteRangeMoveLeftCommandId','NOT_COLLAB','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_roomMembers$','_dataLoaderService','handleInsertCol','_ensureSubject','addObjects','ILogService','DocIMEInputManagerService','on-line-icon_clip0_910_349','pushState','_colorAssignService','getCurrent','_getSessionTicket','_color','ENSURE_SNAPSHOT_EXECUTION','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_removeCollabCursors','_docStateChangeManagerService','name','RemoteUniscriptService','getParam','APPLY_REJECT','off-line-icon','_localStorageService','collabStatus.synced','_updateLocalCursor','RxDisposable','LOGIN_FAILED','url(#$1','green.600','permission.content','APPLY_NON_SEQUENTIAL_REVISION','_collaborationUIEventService','className','PY_RUNTIME_SCRIPT_ERROR','disableLocalCache','IMessageService','width','transformRemoteChangeset','OFFLINE','unitID','_univerInstanceService','onPointerEnter$','APPLY_REVISION_CONFILICT','ICommandService','_clearOtherTimers','_initCommandExecutedListener','_setupBeforeClosingHandler','CHANGESET_REVISION_CONFILICT','InsertRangeMoveRightCommandId','OnLineIcon','moveTo','touchDependencies','_textBubble','UniverDesign','4946135VzWred','_revisionService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformMutationsWithChangeset','NO_OTHER_CLIENTS_EDITING','_transformService','INTERNAL_ERROR','_handleEvent','selections','setItem','executeCommand','collabStatus.offline','addEventListener','show','with','getCollabEntity$','YUUMI_ASYNCIO_CANCELLED','_getScale','location','getUnitId','INVITE_CODE_REQUIRED','requireSession','switchMap','RegularPolygon','UniverDocs','endColumn','distinctUntilChanged','purple.300','WebBrowserSingleActiveUnitService','replaceDocRanges','round','unload','values','getRenderById','_transformPreviousActiveRange','Tools','editingUnit','LICENSE_DISTRO_REJECTED','_collabSessionService','result','_collabCursorState$','getCurrentRevOfUnit','_init','NOT_FOUND','propertyIsEnumerable','INVITE_CODE_HAS_BEEN_UES','startRow','_startSheetCollabCursor','_refreshCollabCursors','jsx','LOCAL_CACHE_INTERVAL_KEY','UniverInstanceType','isEditing','YUUMI_RATE_OVER_LIMIT','COLORS','current','Rect','_unitOnClients','flatMap','@univerjs/sheets-ui','roomMembers$','getAncestorScale','cursorInfo','COMPLETION_FINISHED','_render','getColor','_document','xlink:href','UNIVER_SHEET','MessageType','dispose$','createInstance','SetTextSelectionsOperation','clearTimeout','getColorFromTheme','UNAUTHENTICATED','_httpService','override','generateRandomId','@univerjs/drawing'];_0x7820=function(){return _0x25dd31;};return _0x7820();}
|
|
1
|
+
function _0x43a3(_0xf79068,_0x17db00){const _0x23b988=_0x23b9();return _0x43a3=function(_0x43a354,_0x1f5485){_0x43a354=_0x43a354-0x1d0;let _0x124f82=_0x23b988[_0x43a354];return _0x124f82;},_0x43a3(_0xf79068,_0x17db00);}(function(_0x431a8d,_0x1aaf93){const _0x5bddbe=_0x43a3,_0x65bc7a=_0x431a8d();while(!![]){try{const _0x229c02=parseInt(_0x5bddbe(0x2fe))/0x1*(parseInt(_0x5bddbe(0x244))/0x2)+-parseInt(_0x5bddbe(0x433))/0x3*(-parseInt(_0x5bddbe(0x479))/0x4)+-parseInt(_0x5bddbe(0x29a))/0x5+-parseInt(_0x5bddbe(0x30a))/0x6*(parseInt(_0x5bddbe(0x454))/0x7)+parseInt(_0x5bddbe(0x3e0))/0x8*(-parseInt(_0x5bddbe(0x21f))/0x9)+-parseInt(_0x5bddbe(0x32e))/0xa*(-parseInt(_0x5bddbe(0x2e7))/0xb)+-parseInt(_0x5bddbe(0x467))/0xc;if(_0x229c02===_0x1aaf93)break;else _0x65bc7a['push'](_0x65bc7a['shift']());}catch(_0x24a317){_0x65bc7a['push'](_0x65bc7a['shift']());}}}(_0x23b9,0xe00ea),function(_0x26d905,_0x37d0e6){const _0x14df03=_0x43a3;typeof exports=='object'&&typeof module<'u'?_0x37d0e6(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==_0x14df03(0x43e)&&define[_0x14df03(0x375)]?define([_0x14df03(0x3cd),_0x14df03(0x400),_0x14df03(0x21c),_0x14df03(0x2ef),_0x14df03(0x216),'rxjs',_0x14df03(0x37c),_0x14df03(0x329),_0x14df03(0x2fd),_0x14df03(0x278),_0x14df03(0x3b6),_0x14df03(0x392),_0x14df03(0x40b),_0x14df03(0x284),'@univerjs-pro/collaboration',_0x14df03(0x2e5),'@univerjs/engine-formula',_0x14df03(0x47d),_0x14df03(0x28d)],_0x37d0e6):(_0x26d905=typeof globalThis<'u'?globalThis:_0x26d905||self,_0x37d0e6(_0x26d905['UniverProCollaborationClientUi']={},_0x26d905['React'],_0x26d905['UniverProCollaborationClient'],_0x26d905[_0x14df03(0x341)],_0x26d905[_0x14df03(0x1ea)],_0x26d905['rxjs'],_0x26d905[_0x14df03(0x320)],_0x26d905[_0x14df03(0x1da)],_0x26d905[_0x14df03(0x211)],_0x26d905[_0x14df03(0x45a)],_0x26d905['UniverEngineRender'],_0x26d905[_0x14df03(0x443)],_0x26d905[_0x14df03(0x401)],_0x26d905['UniverDrawing'],_0x26d905[_0x14df03(0x30d)],_0x26d905[_0x14df03(0x420)],_0x26d905[_0x14df03(0x28b)],_0x26d905[_0x14df03(0x346)][_0x14df03(0x44c)],_0x26d905[_0x14df03(0x2b0)]));}(this,function(_0x4e7c38,_0x488575,_0x145b5b,_0x2cbbfa,_0x4b3ed5,_0xf7bf00,_0x404916,_0x3dd97b,_0x414f7f,_0x4e9833,_0x5d67f3,_0x55c378,_0x5e3fdb,_0x16c4d3,_0x278572,_0x4f3300,_0x53ba61,_0x302e84,_0x2717c9){'use strict';const _0x311f42=_0x43a3;var _0x4cc9b7=Object[_0x311f42(0x2f6)],_0x5bfc14=(_0x443b38,_0x2a3488,_0x3c4ee3)=>_0x2a3488 in _0x443b38?_0x4cc9b7(_0x443b38,_0x2a3488,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c4ee3}):_0x443b38[_0x2a3488]=_0x3c4ee3,_0xe6c276=(_0x1d2be4,_0x458ebe,_0x3b20e7)=>_0x5bfc14(_0x1d2be4,typeof _0x458ebe!=_0x311f42(0x333)?_0x458ebe+'':_0x458ebe,_0x3b20e7),_0x479841=function(){return _0x479841=Object['assign']||function(_0x277e83){const _0x4af09c=_0x43a3;for(var _0x12bb94,_0x4d6223=0x1,_0x549348=arguments[_0x4af09c(0x2bd)];_0x4d6223<_0x549348;_0x4d6223++){_0x12bb94=arguments[_0x4d6223];for(var _0x207655 in _0x12bb94)Object['prototype'][_0x4af09c(0x406)][_0x4af09c(0x29e)](_0x12bb94,_0x207655)&&(_0x277e83[_0x207655]=_0x12bb94[_0x207655]);}return _0x277e83;},_0x479841['apply'](this,arguments);},_0x570d31=function(_0x13e2e9,_0x168367){const _0x39a0ce=_0x311f42;var _0x44cc80={};for(var _0xcadab2 in _0x13e2e9)Object[_0x39a0ce(0x203)][_0x39a0ce(0x406)][_0x39a0ce(0x29e)](_0x13e2e9,_0xcadab2)&&_0x168367[_0x39a0ce(0x378)](_0xcadab2)<0x0&&(_0x44cc80[_0xcadab2]=_0x13e2e9[_0xcadab2]);if(_0x13e2e9!=null&&typeof Object['getOwnPropertySymbols']==_0x39a0ce(0x43e)){for(var _0x4a7ddc=0x0,_0xcadab2=Object[_0x39a0ce(0x2c7)](_0x13e2e9);_0x4a7ddc<_0xcadab2[_0x39a0ce(0x2bd)];_0x4a7ddc++)_0x168367[_0x39a0ce(0x378)](_0xcadab2[_0x4a7ddc])<0x0&&Object[_0x39a0ce(0x203)][_0x39a0ce(0x33e)][_0x39a0ce(0x29e)](_0x13e2e9,_0xcadab2[_0x4a7ddc])&&(_0x44cc80[_0xcadab2[_0x4a7ddc]]=_0x13e2e9[_0xcadab2[_0x4a7ddc]]);}return _0x44cc80;},_0x460cbb=_0x3dd97b[_0x311f42(0x36f)](function(_0x201b6c,_0x3c4af7){const _0x348a4b=_0x311f42;var _0xe7dc1=_0x201b6c[_0x348a4b(0x2ca)],_0x3262c1=_0x201b6c['id'],_0x506b54=_0x201b6c[_0x348a4b(0x214)],_0x390778=_0x201b6c[_0x348a4b(0x24f)],_0x31edbf=_0x570d31(_0x201b6c,['icon','id',_0x348a4b(0x214),'extend']),_0x3d38c4=_0x348a4b(0x455)[_0x348a4b(0x283)](_0x3262c1,'\x20')[_0x348a4b(0x283)](_0x506b54||'')[_0x348a4b(0x1ef)](),_0x59be3c=_0x3dd97b[_0x348a4b(0x424)]('_'[_0x348a4b(0x283)](_0x51411d()));return _0x406ab4(_0xe7dc1,''[_0x348a4b(0x283)](_0x3262c1),{'defIds':_0xe7dc1[_0x348a4b(0x3a1)],'idSuffix':_0x59be3c[_0x348a4b(0x21e)]},_0x479841({'ref':_0x3c4af7,'className':_0x3d38c4},_0x31edbf),_0x390778);});function _0x406ab4(_0x4193a4,_0x1a0dd0,_0x3d2dd5,_0xed196c,_0x17d6fc){const _0x5a7b21=_0x311f42;return _0x3dd97b['createElement'](_0x4193a4['tag'],_0x479841(_0x479841({'key':_0x1a0dd0},_0x1ca023(_0x4193a4,_0x3d2dd5,_0x17d6fc)),_0xed196c),(_0x3c280e(_0x4193a4,_0x3d2dd5)[_0x5a7b21(0x1dd)]||[])[_0x5a7b21(0x42e)](function(_0x1a6011,_0xfff1bf){const _0x4c806b=_0x5a7b21;return _0x406ab4(_0x1a6011,''[_0x4c806b(0x283)](_0x1a0dd0,'-')['concat'](_0x4193a4['tag'],'-')[_0x4c806b(0x283)](_0xfff1bf),_0x3d2dd5,void 0x0,_0x17d6fc);}));}function _0x1ca023(_0x1f574f,_0x27dc33,_0x4aff54){const _0xb961e9=_0x311f42;var _0x76e636=_0x479841({},_0x1f574f[_0xb961e9(0x439)]);_0x4aff54!=null&&_0x4aff54[_0xb961e9(0x437)]&&_0x76e636['fill']===_0xb961e9(0x437)&&(_0x76e636[_0xb961e9(0x237)]=_0x4aff54[_0xb961e9(0x437)]),_0x1f574f['tag']===_0xb961e9(0x419)&&_0x76e636['id']&&(_0x76e636['id']=_0x76e636['id']+_0x27dc33[_0xb961e9(0x3f8)]),Object[_0xb961e9(0x3e9)](_0x76e636)[_0xb961e9(0x344)](function(_0x2552a9){const _0x56b825=_0xb961e9;var _0xa8ba06=_0x2552a9[0x0],_0x479505=_0x2552a9[0x1];_0xa8ba06===_0x56b825(0x419)&&typeof _0x479505==_0x56b825(0x29c)&&(_0x76e636[_0xa8ba06]=_0x479505[_0x56b825(0x313)](/url\(#(.*)\)/,_0x56b825(0x3fd)[_0x56b825(0x283)](_0x27dc33[_0x56b825(0x3f8)],')')));});var _0x271384=_0x27dc33[_0xb961e9(0x3a1)];return!_0x271384||_0x271384[_0xb961e9(0x2bd)]===0x0||(_0x1f574f['tag']===_0xb961e9(0x46e)&&_0x76e636[_0xb961e9(0x307)]&&(_0x76e636[_0xb961e9(0x307)]=_0x76e636['xlink:href']+_0x27dc33[_0xb961e9(0x3f8)]),Object[_0xb961e9(0x3e9)](_0x76e636)[_0xb961e9(0x344)](function(_0x111ed8){const _0x2db30a=_0xb961e9;var _0x3737a9=_0x111ed8[0x0],_0x264800=_0x111ed8[0x1];typeof _0x264800==_0x2db30a(0x29c)&&(_0x76e636[_0x3737a9]=_0x264800[_0x2db30a(0x313)](/url\(#(.*)\)/,_0x2db30a(0x3fd)[_0x2db30a(0x283)](_0x27dc33[_0x2db30a(0x3f8)],')')));})),_0x76e636;}function _0x3c280e(_0x4b34f8,_0xb70649){const _0x39f10c=_0x311f42;var _0x1e7d42,_0x2198d3=_0xb70649[_0x39f10c(0x3a1)];return!_0x2198d3||_0x2198d3[_0x39f10c(0x2bd)]===0x0?_0x4b34f8:_0x4b34f8['tag']==='defs'&&(!((_0x1e7d42=_0x4b34f8[_0x39f10c(0x1dd)])===null||_0x1e7d42===void 0x0)&&_0x1e7d42[_0x39f10c(0x2bd)])?_0x479841(_0x479841({},_0x4b34f8),{'children':_0x4b34f8[_0x39f10c(0x1dd)][_0x39f10c(0x42e)](function(_0x14e1b9){const _0x131e78=_0x39f10c;return typeof _0x14e1b9['attrs']['id']==_0x131e78(0x29c)&&_0x2198d3&&_0x2198d3[_0x131e78(0x238)](_0x14e1b9['attrs']['id'])?_0x479841(_0x479841({},_0x14e1b9),{'attrs':_0x479841(_0x479841({},_0x14e1b9['attrs']),{'id':_0x14e1b9[_0x131e78(0x439)]['id']+_0xb70649['idSuffix']})}):_0x14e1b9;})}):_0x4b34f8;}function _0x51411d(){const _0x184d2e=_0x311f42;return Math[_0x184d2e(0x255)]()[_0x184d2e(0x3d6)](0x24)[_0x184d2e(0x46a)](0x2,0x8);}_0x460cbb['displayName']=_0x311f42(0x39a);var _0x48217c={'tag':_0x311f42(0x3b1),'attrs':{'xmlns':_0x311f42(0x2c8),'fill':_0x311f42(0x3df),'viewBox':'0\x200\x2016\x2016','width':_0x311f42(0x239),'height':_0x311f42(0x239)},'children':[{'tag':'g','attrs':{'clipPath':_0x311f42(0x3c3)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x311f42(0x3d2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x311f42(0x1ed),'attrs':{},'children':[{'tag':_0x311f42(0x41c),'attrs':{'id':_0x311f42(0x2c5)},'children':[{'tag':_0x311f42(0x460),'attrs':{'fill':_0x311f42(0x3e3),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x311f42(0x2c5)]},_0x4bfaf3=_0x3dd97b[_0x311f42(0x36f)](function(_0x409b5e,_0x1c104a){const _0x12b006=_0x311f42;return _0x3dd97b[_0x12b006(0x2c6)](_0x460cbb,Object[_0x12b006(0x246)]({},_0x409b5e,{'id':_0x12b006(0x34d),'ref':_0x1c104a,'icon':_0x48217c}));});_0x4bfaf3[_0x311f42(0x2e3)]=_0x311f42(0x215);var _0x1b2fb5={'tag':_0x311f42(0x3b1),'attrs':{'xmlns':_0x311f42(0x2c8),'fill':'none','viewBox':_0x311f42(0x23c),'width':_0x311f42(0x239),'height':_0x311f42(0x239)},'children':[{'tag':'g','attrs':{'clipPath':_0x311f42(0x257)},'children':[{'tag':_0x311f42(0x460),'attrs':{'stroke':_0x311f42(0x21d),'d':_0x311f42(0x34c),'strokeLinecap':'round','strokeLinejoin':_0x311f42(0x3d2),'strokeWidth':1.2}}]},{'tag':_0x311f42(0x1ed),'attrs':{},'children':[{'tag':_0x311f42(0x41c),'attrs':{'id':_0x311f42(0x200)},'children':[{'tag':_0x311f42(0x460),'attrs':{'fill':'white','d':_0x311f42(0x38e),'transform':_0x311f42(0x33f)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x2815ce=_0x3dd97b[_0x311f42(0x36f)](function(_0x3cf859,_0x1c4ac2){const _0x22ccd1=_0x311f42;return _0x3dd97b[_0x22ccd1(0x2c6)](_0x460cbb,Object[_0x22ccd1(0x246)]({},_0x3cf859,{'id':_0x22ccd1(0x1d0),'ref':_0x1c4ac2,'icon':_0x1b2fb5}));});_0x2815ce[_0x311f42(0x2e3)]=_0x311f42(0x428);function _0xdc6f3a(_0x2bb847){const _0x1d3d5a=_0x311f42;switch(_0x2bb847){case _0x145b5b[_0x1d3d5a(0x422)]['OFFLINE']:return _0x1d3d5a(0x40d);case _0x145b5b[_0x1d3d5a(0x422)]['CONFLICT']:return _0x1d3d5a(0x474);case _0x145b5b[_0x1d3d5a(0x422)][_0x1d3d5a(0x3f6)]:return _0x1d3d5a(0x39d);case _0x145b5b[_0x1d3d5a(0x422)][_0x1d3d5a(0x271)]:return _0x1d3d5a(0x309);case _0x145b5b[_0x1d3d5a(0x422)][_0x1d3d5a(0x398)]:case _0x145b5b[_0x1d3d5a(0x422)][_0x1d3d5a(0x332)]:return _0x1d3d5a(0x3a5);case _0x145b5b['CollaborationStatus']['SYNCED']:case _0x145b5b[_0x1d3d5a(0x422)][_0x1d3d5a(0x2e8)]:return _0x1d3d5a(0x2b5);}}function _0xbba9d(_0x2e8304){const _0x2a5c50=_0x311f42,{status$:_0x5c2775}=_0x2e8304,_0x154436=_0x4b3ed5[_0x2a5c50(0x210)](_0x5c2775,_0x145b5b[_0x2a5c50(0x422)][_0x2a5c50(0x271)]),_0xc547ed=_0x4b3ed5[_0x2a5c50(0x20e)](_0x2cbbfa[_0x2a5c50(0x3e6)]),_0x28b8a9=_0x4b3ed5[_0x2a5c50(0x20e)](_0x145b5b[_0x2a5c50(0x2e2)]),_0x304441=_0x154436!==_0x145b5b[_0x2a5c50(0x422)]['OFFLINE'],_0x258434=_0xc547ed['t'](_0xdc6f3a(_0x154436)),_0x3040da=_0x304441?_0x488575[_0x2a5c50(0x22c)](_0x2815ce,{}):_0x488575[_0x2a5c50(0x22c)](_0x4bfaf3,{}),_0x5cabf9=_0x3dd97b[_0x2a5c50(0x23e)](()=>{const _0x4f37ad=_0x2a5c50;_0x304441||_0x28b8a9[_0x4f37ad(0x252)]();},[_0x304441,_0x28b8a9]);function _0x4c85c7(){const _0x4cb3f0=_0x2a5c50;return _0x488575[_0x4cb3f0(0x25d)]('div',{'className':_0x4cb3f0(0x1f2),'onClick':_0x5cabf9,'children':[_0x488575['jsx'](_0x4cb3f0(0x28c),{'className':_0x404916[_0x4cb3f0(0x409)](_0x4cb3f0(0x247),{'univer-text-green-500':_0x304441,'univer-text-red-500':!_0x304441}),'children':_0x3040da}),_0x488575[_0x4cb3f0(0x22c)](_0x4cb3f0(0x28c),{'className':_0x4cb3f0(0x3fc),'children':_0x258434})]});}return _0x304441?_0x4c85c7():_0x488575[_0x2a5c50(0x22c)](_0x404916[_0x2a5c50(0x1d9)],{'title':_0xc547ed['t'](_0x2a5c50(0x27b)),'children':_0x4c85c7()});}var _0x5d3f97=Object['getOwnPropertyDescriptor'],_0x41a9e=(_0x3e3944,_0x529b09,_0x2d90e,_0x42ae4e)=>{const _0x2d6272=_0x311f42;for(var _0x166648=_0x42ae4e>0x1?void 0x0:_0x42ae4e?_0x5d3f97(_0x529b09,_0x2d90e):_0x529b09,_0x14bee1=_0x3e3944[_0x2d6272(0x2bd)]-0x1,_0x11d5ae;_0x14bee1>=0x0;_0x14bee1--)(_0x11d5ae=_0x3e3944[_0x14bee1])&&(_0x166648=_0x11d5ae(_0x166648)||_0x166648);return _0x166648;},_0x51ae24=(_0xe3cab9,_0x13da2c)=>(_0x50a7e4,_0x4c129d)=>_0x13da2c(_0x50a7e4,_0x4c129d,_0xe3cab9);_0x4e7c38[_0x311f42(0x321)]=class extends _0x2cbbfa['Disposable']{constructor(_0x1ede02,_0x36a59b,_0x44311b,_0x4c5d80){const _0x2c0fdb=_0x311f42;super(),_0xe6c276(this,_0x2c0fdb(0x2cc),new _0xf7bf00['BehaviorSubject'](_0x145b5b['CollaborationStatus'][_0x2c0fdb(0x271)])),(this[_0x2c0fdb(0x462)]=_0x1ede02,this[_0x2c0fdb(0x3f1)]=_0x36a59b,this[_0x2c0fdb(0x328)]=_0x44311b,this[_0x2c0fdb(0x3e4)]=_0x4c5d80,this[_0x2c0fdb(0x43b)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x398613=_0x311f42;this[_0x398613(0x32d)](this[_0x398613(0x462)][_0x398613(0x236)][_0x398613(0x2b2)](_0xf7bf00['switchMap'](()=>{const _0x51cccb=_0x398613,_0x54e172=this[_0x51cccb(0x462)][_0x51cccb(0x202)]();return _0x54e172?this['_collaborationController']['getCollabEntity$'](_0x54e172[_0x51cccb(0x3af)]()):_0xf7bf00['of'](null);}),_0xf7bf00[_0x398613(0x303)](_0x116200=>_0x116200?_0x116200[_0x398613(0x2bc)]:_0xf7bf00['of'](_0x145b5b[_0x398613(0x422)][_0x398613(0x271)])))[_0x398613(0x44d)](_0xecb2c0=>{this['_status$']['next'](_0xecb2c0);}));}['_initStatusComponent'](){const _0x9ce96f=_0x311f42;this[_0x9ce96f(0x32d)](this[_0x9ce96f(0x3e4)]['registerComponent'](_0x4b3ed5[_0x9ce96f(0x457)][_0x9ce96f(0x31d)],()=>_0x4b3ed5[_0x9ce96f(0x46f)](_0x5a2124({'status$':this[_0x9ce96f(0x2cc)][_0x9ce96f(0x253)]()}),this[_0x9ce96f(0x3f1)])));}},_0x4e7c38[_0x311f42(0x321)]=_0x41a9e([_0x51ae24(0x0,_0x2cbbfa[_0x311f42(0x3fb)]),_0x51ae24(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa[_0x311f42(0x338)])),_0x51ae24(0x2,_0x2cbbfa[_0x311f42(0x229)](_0x145b5b['CollaborationController'])),_0x51ae24(0x3,_0x4b3ed5[_0x311f42(0x2f3)])],_0x4e7c38[_0x311f42(0x321)]);function _0x5a2124(_0x4019bf){const {status$:_0x324373}=_0x4019bf;return function(){const _0x4b576a=_0x43a3;return _0x488575[_0x4b576a(0x22c)](_0xbba9d,{'status$':_0x324373});};}const _0x530712=_0x2cbbfa[_0x311f42(0x387)]('uni.network.url-service');var _0x6121a=Object[_0x311f42(0x3d4)],_0x13b876=(_0x4e502c,_0x11cce5,_0x47e075,_0x2f6de0)=>{const _0x36bcf6=_0x311f42;for(var _0x583168=_0x2f6de0>0x1?void 0x0:_0x2f6de0?_0x6121a(_0x11cce5,_0x47e075):_0x11cce5,_0x175f1a=_0x4e502c[_0x36bcf6(0x2bd)]-0x1,_0x345635;_0x175f1a>=0x0;_0x175f1a--)(_0x345635=_0x4e502c[_0x175f1a])&&(_0x583168=_0x345635(_0x583168)||_0x583168);return _0x583168;},_0x55bf38=(_0x12bfe9,_0x5d91fe)=>(_0x242cbb,_0x2a9c65)=>_0x5d91fe(_0x242cbb,_0x2a9c65,_0x12bfe9);_0x4e7c38[_0x311f42(0x3bf)]=class extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(_0x290d87,_0x313fb1,_0x368bfc,_0x33445e,_0x2e4f50){const _0x9e3f39=_0x311f42;super(),this[_0x9e3f39(0x37e)]=_0x290d87,this['_logService']=_0x313fb1,this[_0x9e3f39(0x35c)]=_0x368bfc,this[_0x9e3f39(0x37d)]=_0x33445e,_0x2e4f50?_0x2e4f50==null||_0x2e4f50[_0x9e3f39(0x453)]()[_0x9e3f39(0x478)](()=>this[_0x9e3f39(0x2c0)]()):(this[_0x9e3f39(0x47c)][_0x9e3f39(0x28f)](_0x9e3f39(0x3f5),_0x9e3f39(0x24b)),this[_0x9e3f39(0x2c0)]());}async['_init'](){const _0x207a7c=_0x311f42,_0x335325=this[_0x207a7c(0x37e)][_0x207a7c(0x23b)](_0x207a7c(0x201)),_0x10562e=this[_0x207a7c(0x37e)][_0x207a7c(0x23b)](_0x207a7c(0x340)),_0x76676c=this[_0x207a7c(0x37e)][_0x207a7c(0x23b)](_0x207a7c(0x425));if(!_0x335325||!_0x10562e){this[_0x207a7c(0x47c)][_0x207a7c(0x28f)](_0x207a7c(0x3f5),_0x207a7c(0x466));return;}const _0xb0c06c=await this[_0x207a7c(0x37d)][_0x207a7c(0x1d7)](_0x335325,Number(_0x10562e),_0x76676c);_0xb0c06c&&_0xb0c06c instanceof _0x2cbbfa[_0x207a7c(0x395)]&&this[_0x207a7c(0x385)](_0xb0c06c);}async['_setupSubUnitSync'](_0x4c0430){const _0x3d7298=_0x311f42;await this['_updateSubUnitFromURLParams'](_0x4c0430),_0x4c0430[_0x3d7298(0x3dc)][_0x3d7298(0x2b2)](_0xf7bf00['takeUntil'](this[_0x3d7298(0x289)]))[_0x3d7298(0x44d)](_0x57edb2=>{const _0x4e0e4e=_0x3d7298;_0x57edb2&&this[_0x4e0e4e(0x301)](_0x57edb2);}),this[_0x3d7298(0x37e)]['urlChange$'][_0x3d7298(0x2b2)](_0xf7bf00['takeUntil'](this['dispose$']))[_0x3d7298(0x44d)](()=>this[_0x3d7298(0x43a)](_0x4c0430));}[_0x311f42(0x301)](_0x4a29cc,_0x582547=!0x1){const _0x554f79=_0x311f42,_0x187e4d=this['_urlService'][_0x554f79(0x23b)]('subunit');_0x4a29cc[_0x554f79(0x2d7)]()!==_0x187e4d&&this[_0x554f79(0x37e)]['setParam'](_0x554f79(0x425),_0x4a29cc[_0x554f79(0x2d7)](),_0x582547);}async[_0x311f42(0x43a)](_0x88b74b){const _0x3bc872=_0x311f42;var _0x52b992;const _0x4de967=this[_0x3bc872(0x37e)]['getParam'](_0x3bc872(0x425));if(!_0x4de967||!_0x88b74b['getSheetBySheetId'](_0x4de967)){const _0x351045=_0x88b74b[_0x3bc872(0x217)]()[0x0],_0x1e8d71=_0x88b74b['getSheetBySheetId'](_0x351045);if(!_0x1e8d71)return;this[_0x3bc872(0x301)](_0x1e8d71,!0x0),await this['_commandService']['executeCommand'](_0x4e9833[_0x3bc872(0x461)]['id'],{'unitId':_0x88b74b[_0x3bc872(0x3af)](),'subUnitId':_0x351045});return;}((_0x52b992=_0x88b74b['getActiveSheet']())==null?void 0x0:_0x52b992[_0x3bc872(0x2d7)]())!==_0x4de967&&await this[_0x3bc872(0x35c)][_0x3bc872(0x38a)](_0x4e9833[_0x3bc872(0x461)]['id'],{'unitId':_0x88b74b[_0x3bc872(0x3af)](),'subUnitId':_0x4de967});}},_0x4e7c38['CollaborationDataLoaderController']=_0x13b876([_0x55bf38(0x0,_0x530712),_0x55bf38(0x1,_0x2cbbfa['ILogService']),_0x55bf38(0x2,_0x2cbbfa[_0x311f42(0x413)]),_0x55bf38(0x3,_0x2cbbfa[_0x311f42(0x229)](_0x145b5b['DataLoaderService'])),_0x55bf38(0x4,_0x2cbbfa[_0x311f42(0x39b)](_0x414f7f[_0x311f42(0x259)]))],_0x4e7c38[_0x311f42(0x3bf)]);var _0x4e6f28=Object[_0x311f42(0x3d4)],_0x35fb37=(_0x10b255,_0x3bd65e,_0x3c26f7,_0x19247d)=>{for(var _0x3b0051=_0x19247d>0x1?void 0x0:_0x19247d?_0x4e6f28(_0x3bd65e,_0x3c26f7):_0x3bd65e,_0x2455d4=_0x10b255['length']-0x1,_0x44fc7d;_0x2455d4>=0x0;_0x2455d4--)(_0x44fc7d=_0x10b255[_0x2455d4])&&(_0x3b0051=_0x44fc7d(_0x3b0051)||_0x3b0051);return _0x3b0051;},_0x4baf66=(_0x45a243,_0x2f54c1)=>(_0x1cd304,_0x44ed4b)=>_0x2f54c1(_0x1cd304,_0x44ed4b,_0x45a243);let _0x1aa902=class extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(_0x34bdc8,_0x4bdd7d){const _0x21c606=_0x311f42;super(),this[_0x21c606(0x37a)]=_0x34bdc8,this[_0x21c606(0x208)]=_0x4bdd7d,this[_0x21c606(0x2c0)]();}['_init'](){const _0xd4d256=_0x311f42,_0x5b3a91=this;this['disposeWithMe'](this['_docClipboardService'][_0xd4d256(0x312)]({'onBeforePasteImage':async _0x4b4817=>{const _0x4a1876=_0xd4d256,_0x3fe593=await _0x5b3a91[_0x4a1876(0x208)][_0x4a1876(0x3c4)](_0x4b4817);return _0x3fe593?{'source':_0x3fe593[_0x4a1876(0x204)],'imageSourceType':_0x3fe593[_0x4a1876(0x306)]}:null;}}));}};_0x1aa902=_0x35fb37([_0x4baf66(0x0,_0x5e3fdb[_0x311f42(0x46d)]),_0x4baf66(0x1,_0x16c4d3[_0x311f42(0x383)])],_0x1aa902);const _0x392581=[_0x311f42(0x417),_0x311f42(0x24a),_0x311f42(0x364),_0x311f42(0x22f),_0x311f42(0x308),_0x311f42(0x445)];class _0x5a339c extends _0x2cbbfa['Disposable']{constructor(){const _0x18e06c=_0x311f42;super(...arguments),_0xe6c276(this,_0x18e06c(0x27a),new Map()),_0xe6c276(this,_0x18e06c(0x384),0x0);}[_0x311f42(0x209)](_0x7713d9){const _0x3c9082=_0x311f42;if(this[_0x3c9082(0x27a)][_0x3c9082(0x40e)](_0x7713d9))return this[_0x3c9082(0x27a)][_0x3c9082(0x2de)](_0x7713d9);const _0x13f812=_0x392581[this['_colorIndex']];return this['_colorIndex']=(this[_0x3c9082(0x384)]+0x1)%_0x392581[_0x3c9082(0x2bd)],this[_0x3c9082(0x27a)]['set'](_0x7713d9,_0x13f812),_0x13f812;}}function _0x559016(_0x26011c){const _0x33abab=_0x311f42;let _0x12b549='';for(const _0x65ff82 of _0x26011c){const {startOffset:_0x46f9c0,endOffset:_0x1d0fb3,isActive:_0x5c23cc,rangeType:_0x13dc60,segmentId:_0x377c3f,segmentPage:_0x540fac}=_0x65ff82;_0x12b549[_0x33abab(0x2bd)]&&(_0x12b549+=','),_0x12b549+=_0x46f9c0+':'+_0x1d0fb3+':'+(_0x5c23cc?'1':'0')+':'+_0x13dc60+':'+_0x377c3f+':'+_0x540fac;}return _0x12b549;}function _0xd0255c(_0x3905f6){const _0x51499c=_0x311f42,_0x47eba7=_0x3905f6[_0x51499c(0x2da)](','),_0x4efca8=[];for(const _0x5835bc of _0x47eba7){const [_0x4f6878,_0x25404f,_0x50dbf1,_0x46df4e,_0x52f09e,_0x437471]=_0x5835bc['split'](':');_0x4efca8[_0x51499c(0x421)]({'startOffset':Number(_0x4f6878),'endOffset':Number(_0x25404f),'collapsed':_0x4f6878===_0x25404f,'isActive':_0x50dbf1==='1','rangeType':_0x46df4e===_0x2cbbfa[_0x51499c(0x22b)][_0x51499c(0x225)]?_0x2cbbfa['DOC_RANGE_TYPE'][_0x51499c(0x225)]:_0x2cbbfa[_0x51499c(0x22b)][_0x51499c(0x2c1)],'segmentId':typeof _0x52f09e==_0x51499c(0x29c)?String(_0x52f09e):'','segmentPage':Number(_0x437471!=null?_0x437471:-0x1)});}return _0x4efca8[_0x51499c(0x287)](_0x1c1f8b=>_0x1c1f8b['isActive'])||(_0x4efca8[0x0]['isActive']=!0x0),_0x4efca8;}class _0x3e1c93 extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(){const _0x1b2db9=_0x311f42;super(...arguments),_0xe6c276(this,_0x1b2db9(0x3f2),new _0xf7bf00[(_0x1b2db9(0x1e9))](null)),_0xe6c276(this,'collabCursorState$',this[_0x1b2db9(0x3f2)][_0x1b2db9(0x253)]());}[_0x311f42(0x334)](_0x2648a5){const _0x282be9=_0x311f42,{unitID:_0x308ca2,memberID:_0x238a87,textRanges:_0x2aaac2}=_0x2648a5,_0x258348=_0x559016(_0x2aaac2);if(_0x258348==='')return;const _0x26403d={'unitID':_0x308ca2,'memberID':_0x238a87,'selection':_0x258348};this['_collabCursorState$'][_0x282be9(0x38c)](_0x26403d);}}var _0x143d81=Object['getOwnPropertyDescriptor'],_0x261f00=(_0x36baca,_0x14cb79,_0x6855cd,_0x11f0a7)=>{for(var _0x16260c=_0x11f0a7>0x1?void 0x0:_0x11f0a7?_0x143d81(_0x14cb79,_0x6855cd):_0x14cb79,_0x57068b=_0x36baca['length']-0x1,_0x271c93;_0x57068b>=0x0;_0x57068b--)(_0x271c93=_0x36baca[_0x57068b])&&(_0x16260c=_0x271c93(_0x16260c)||_0x16260c);return _0x16260c;},_0x426b78=(_0x42ef08,_0x9e0094)=>(_0x1858b8,_0x37b35d)=>_0x9e0094(_0x1858b8,_0x37b35d,_0x42ef08);const _0x5b7c2b=0x12c,_0xab193b=0x64;let _0xcd798b=class extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(_0x459930,_0x1bd2f5,_0x293155,_0x42bd2c,_0x231f92,_0x4ff2e2,_0x6b82a,_0x24e92c,_0x1048dd){const _0x8348d9=_0x311f42;super(),_0xe6c276(this,'_online',!0x1),_0xe6c276(this,_0x8348d9(0x2c0),!0x1),_0xe6c276(this,_0x8348d9(0x411),new _0xf7bf00['BehaviorSubject'](new Map())),_0xe6c276(this,'cursorInfo$',this[_0x8348d9(0x411)]['asObservable']()),_0xe6c276(this,'_roomMembers$',new _0xf7bf00['BehaviorSubject']([])),_0xe6c276(this,_0x8348d9(0x362),this[_0x8348d9(0x221)][_0x8348d9(0x2b2)](_0xf7bf00['debounceTime'](_0x5b7c2b))),_0xe6c276(this,_0x8348d9(0x235),_0x2cbbfa['debounce'](_0x428882=>{const _0xb857a6=_0x8348d9,_0x7e15db={'eventID':_0x278572[_0xb857a6(0x27e)][_0xb857a6(0x42d)],'data':{'unitID':this[_0xb857a6(0x3b8)],'memberID':this[_0xb857a6(0x429)][_0xb857a6(0x1f8)](),'selection':_0x559016(_0x428882)}};this[_0xb857a6(0x429)][_0xb857a6(0x299)](_0x7e15db,this[_0xb857a6(0x3b8)]);},_0xab193b)),(this[_0x8348d9(0x3b8)]=_0x459930,this[_0x8348d9(0x429)]=_0x1bd2f5,this[_0x8348d9(0x3f1)]=_0x293155,this[_0x8348d9(0x254)]=_0x42bd2c,this[_0x8348d9(0x2ad)]=_0x231f92,this['_syncEditingCollabCursorService']=_0x4ff2e2,this[_0x8348d9(0x281)]=_0x6b82a,this[_0x8348d9(0x462)]=_0x24e92c,this[_0x8348d9(0x35c)]=_0x1048dd);}get[_0x311f42(0x45d)](){const _0x28d610=_0x311f42;return this[_0x28d610(0x411)][_0x28d610(0x3ed)]();}get['roomMembers'](){const _0x21fc3a=_0x311f42;return this[_0x21fc3a(0x221)][_0x21fc3a(0x3ed)]();}[_0x311f42(0x22e)](){const _0x482dbd=_0x311f42;super[_0x482dbd(0x22e)](),this[_0x482dbd(0x411)][_0x482dbd(0x38c)](new Map()),this['_cursorInfo$'][_0x482dbd(0x249)](),this[_0x482dbd(0x221)][_0x482dbd(0x38c)]([]),this[_0x482dbd(0x221)][_0x482dbd(0x249)]();}[_0x311f42(0x436)](){const _0x4861c6=_0x311f42;this[_0x4861c6(0x2c0)]||(this[_0x4861c6(0x2c0)]=!0x0,this[_0x4861c6(0x429)][_0x4861c6(0x274)][_0x4861c6(0x2b2)](_0xf7bf00[_0x4861c6(0x36b)](this[_0x4861c6(0x289)]))[_0x4861c6(0x44d)](_0x1dbf37=>{const _0x43e777=_0x4861c6;_0x1dbf37===_0x145b5b['SessionStatus']['ONLINE']?this[_0x43e777(0x27c)]():this['_toggleOffline']();}),this[_0x4861c6(0x429)][_0x4861c6(0x250)]['pipe'](_0xf7bf00[_0x4861c6(0x36b)](this[_0x4861c6(0x289)]))[_0x4861c6(0x44d)](_0x2fa2c5=>{const _0x1b62ed=_0x4861c6,_0x21924e=_0x2fa2c5[_0x1b62ed(0x2a0)];_0x21924e===_0x278572['CollaborationEvent'][_0x1b62ed(0x42d)]&&this[_0x1b62ed(0x358)](_0x2fa2c5),_0x21924e===_0x278572[_0x1b62ed(0x27e)]['USERS_LEAVE']&&this[_0x1b62ed(0x343)](_0x2fa2c5);}),this[_0x4861c6(0x32d)](this['_commandService'][_0x4861c6(0x394)](_0x26b46e=>{const _0x1a3eb8=_0x4861c6,_0x945e33=_0x26b46e['params'];_0x945e33!=null&&this['_online']&&_0x26b46e['id']===_0x4f3300[_0x1a3eb8(0x1d5)]['id']&&_0x945e33[_0x1a3eb8(0x427)]===this[_0x1a3eb8(0x3b8)]&&_0x945e33[_0x1a3eb8(0x2ab)]===!0x1&&_0x945e33[_0x1a3eb8(0x372)][_0x1a3eb8(0x2bd)]>0x0&&this[_0x1a3eb8(0x235)](_0x945e33[_0x1a3eb8(0x372)]);})),this[_0x4861c6(0x3ec)][_0x4861c6(0x2b8)]['pipe'](_0xf7bf00[_0x4861c6(0x36b)](this[_0x4861c6(0x289)]))[_0x4861c6(0x44d)](_0x1422fd=>{const _0x463bb2=_0x4861c6;if((_0x1422fd==null?void 0x0:_0x1422fd[_0x463bb2(0x3b8)])!==this['unitID'])return;const _0x4c7c38={'eventID':_0x278572[_0x463bb2(0x27e)]['UPDATE_CURSOR'],'data':_0x1422fd};this[_0x463bb2(0x358)](_0x4c7c38);}),this[_0x4861c6(0x32d)](this[_0x4861c6(0x35c)][_0x4861c6(0x394)](_0x21c5d8=>{const _0x4cd5a1=_0x4861c6;if(_0x21c5d8['params']==null)return;const _0x2c47e0=_0x21c5d8[_0x4cd5a1(0x3fa)];if(_0x21c5d8['id']!==_0x4f3300[_0x4cd5a1(0x304)]['id']||_0x2c47e0['unitId']!==this[_0x4cd5a1(0x3b8)])return;const _0x2df772={'id':_0x4cd5a1(0x1d3),'params':_0x2c47e0},_0x296530=this[_0x4cd5a1(0x45d)];for(const [_0x24c2bb,_0xed5fdd]of _0x296530){const _0x15e9b0={'id':_0x4cd5a1(0x1d3),'params':{'unitId':this[_0x4cd5a1(0x3b8)],'actions':null,'textRanges':_0xed5fdd[_0x4cd5a1(0x372)]}},_0xdb573a=this[_0x4cd5a1(0x281)][_0x4cd5a1(0x2b4)](_0x2df772,_0x15e9b0,!0x1);if(_0x278572[_0x4cd5a1(0x349)](_0xdb573a))throw _0xdb573a['error'];_0x296530[_0x4cd5a1(0x1d6)](_0x24c2bb,{..._0xed5fdd,'ranges':_0xdb573a[_0x4cd5a1(0x2a9)][_0x4cd5a1(0x3fa)][_0x4cd5a1(0x34a)]});}queueMicrotask(()=>{const _0x9530d7=_0x4cd5a1;this[_0x9530d7(0x411)][_0x9530d7(0x38c)](_0x296530);});})));}[_0x311f42(0x358)](_0x5312c6){const _0x204481=_0x311f42;var _0x124c88,_0x5226ae;const {memberID:_0x517167,selection:_0x37361a}=_0x5312c6['data'],_0x51f074=_0xd0255c(_0x37361a),_0x1983a5=(_0x5226ae=(_0x124c88=this[_0x204481(0x2ad)][_0x204481(0x261)](this[_0x204481(0x3b8)],_0x517167))==null?void 0x0:_0x124c88['name'])!=null?_0x5226ae:_0x204481(0x3cb),_0x2750d3={'color':this[_0x204481(0x254)]['assignAColorForMemberID'](_0x517167),'name':_0x1983a5,'ranges':_0x51f074},_0xa82e78=this[_0x204481(0x45d)];_0xa82e78[_0x204481(0x1d6)](_0x517167,_0x2750d3),this['_cursorInfo$'][_0x204481(0x38c)](_0xa82e78);}[_0x311f42(0x343)](_0x466cd4){const _0x57ee6c=_0x311f42,{memberID:_0x1497b1}=_0x466cd4[_0x57ee6c(0x240)],_0x2fc2d8=this[_0x57ee6c(0x45d)];_0x2fc2d8[_0x57ee6c(0x292)](_0x1497b1),this['_cursorInfo$'][_0x57ee6c(0x38c)](_0x2fc2d8);}['_toggleOnline'](){const _0xbf6595=_0x311f42;var _0x558a9f;if(this[_0xbf6595(0x260)]=!0x0,((_0x558a9f=this['_univerInstanceService'][_0xbf6595(0x202)]())==null?void 0x0:_0x558a9f[_0xbf6595(0x3af)]())!==this[_0xbf6595(0x3b8)])return;const _0x4563fc=this[_0xbf6595(0x3f1)][_0xbf6595(0x2de)](_0x4f3300['DocSelectionManagerService'])[_0xbf6595(0x3e1)]();Array[_0xbf6595(0x46b)](_0x4563fc)&&_0x4563fc[_0xbf6595(0x2bd)]>0x0&&this[_0xbf6595(0x235)](_0x4563fc);}[_0x311f42(0x2d5)](){const _0x395fa2=_0x311f42;this[_0x395fa2(0x260)]=!0x1;}};_0xcd798b=_0x261f00([_0x426b78(0x2,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa['Injector'])),_0x426b78(0x3,_0x2cbbfa[_0x311f42(0x229)](_0x5a339c)),_0x426b78(0x4,_0x2cbbfa[_0x311f42(0x229)](_0x145b5b[_0x311f42(0x37f)])),_0x426b78(0x5,_0x2cbbfa['Inject'](_0x3e1c93)),_0x426b78(0x6,_0x278572['ITransformService']),_0x426b78(0x7,_0x2cbbfa['IUniverInstanceService']),_0x426b78(0x8,_0x2cbbfa['ICommandService'])],_0xcd798b);var _0x25e208=Object[_0x311f42(0x3d4)],_0x4df843=(_0x4d2c14,_0x2a9b63,_0x17813d,_0x3964d0)=>{for(var _0x258ff9=_0x3964d0>0x1?void 0x0:_0x3964d0?_0x25e208(_0x2a9b63,_0x17813d):_0x2a9b63,_0x22e03d=_0x4d2c14['length']-0x1,_0x4769b3;_0x22e03d>=0x0;_0x22e03d--)(_0x4769b3=_0x4d2c14[_0x22e03d])&&(_0x258ff9=_0x4769b3(_0x258ff9)||_0x258ff9);return _0x258ff9;},_0x18a6b8=(_0x3698bf,_0xb06a86)=>(_0x3fa60a,_0x12a373)=>_0xb06a86(_0x3fa60a,_0x12a373,_0x3698bf);const _0x4a5d17=0x12c,_0x3b3f6f=0x64,_0x11aee2=()=>{let _0x51f765=[],_0x289269=!0x1;return _0x44ed16=>{const _0x36e4f0=_0x43a3;_0x51f765[_0x36e4f0(0x421)](_0x44ed16),_0x289269||(_0x289269=!0x0,setTimeout(()=>{const _0x160a3a=_0x36e4f0;_0x51f765[_0x160a3a(0x344)](_0x298763=>_0x298763()),_0x51f765=[],_0x289269=!0x1;}));};};let _0x369713=class extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(_0xb078f8,_0x2bb5fd,_0x42bed5,_0xeeb007,_0x57a273,_0xb4c3cb,_0x1da68b,_0x57cc29){const _0x576e7c=_0x311f42;super(),_0xe6c276(this,_0x576e7c(0x260),!0x1),_0xe6c276(this,_0x576e7c(0x2c0),!0x1),_0xe6c276(this,_0x576e7c(0x411),new _0xf7bf00['BehaviorSubject'](new Map())),_0xe6c276(this,_0x576e7c(0x38b),this[_0x576e7c(0x411)][_0x576e7c(0x253)]()),_0xe6c276(this,_0x576e7c(0x221),new _0xf7bf00[(_0x576e7c(0x1e9))]([])),_0xe6c276(this,_0x576e7c(0x362),this[_0x576e7c(0x221)][_0x576e7c(0x2b2)](_0xf7bf00[_0x576e7c(0x248)](_0x4a5d17))),_0xe6c276(this,'_updateLocalCursor',_0x2cbbfa[_0x576e7c(0x3bb)]((_0x11fd5a,_0x3667fd)=>{const _0x1ba020=_0x576e7c,_0xb8add3={'eventID':_0x278572[_0x1ba020(0x27e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1ba020(0x3b8)],'memberID':this[_0x1ba020(0x429)][_0x1ba020(0x1f8)](),'selection':_0x53ba61[_0x1ba020(0x32c)](_0x11fd5a,_0x3667fd[_0x1ba020(0x465)])}};this[_0x1ba020(0x429)][_0x1ba020(0x299)](_0xb8add3,this[_0x1ba020(0x3b8)]);},_0x3b3f6f)),(this[_0x576e7c(0x3b8)]=_0xb078f8,this[_0x576e7c(0x429)]=_0x2bb5fd,this[_0x576e7c(0x3f1)]=_0x42bed5,this[_0x576e7c(0x254)]=_0xeeb007,this[_0x576e7c(0x2ad)]=_0x57a273,this[_0x576e7c(0x462)]=_0xb4c3cb,this[_0x576e7c(0x35c)]=_0x1da68b,this[_0x576e7c(0x1e6)]=_0x57cc29);}get[_0x311f42(0x45d)](){const _0x5f4c39=_0x311f42;return this[_0x5f4c39(0x411)][_0x5f4c39(0x3ed)]();}get['roomMembers'](){const _0x1721ee=_0x311f42;return this['_roomMembers$'][_0x1721ee(0x3ed)]();}[_0x311f42(0x22e)](){const _0x279a87=_0x311f42;super['dispose'](),this['_cursorInfo$'][_0x279a87(0x38c)](new Map()),this[_0x279a87(0x411)][_0x279a87(0x249)](),this[_0x279a87(0x221)]['next']([]),this[_0x279a87(0x221)][_0x279a87(0x249)]();}[_0x311f42(0x436)](){const _0x20f96f=_0x311f42;this['_init']||(this[_0x20f96f(0x2c0)]=!0x0,this[_0x20f96f(0x429)]['sessionStatus$'][_0x20f96f(0x2b2)](_0xf7bf00[_0x20f96f(0x36b)](this['dispose$']))[_0x20f96f(0x44d)](_0x59eecf=>{const _0x121942=_0x20f96f;_0x59eecf===_0x145b5b[_0x121942(0x389)][_0x121942(0x2f8)]?this[_0x121942(0x27c)]():this['_toggleOffline']();}),this[_0x20f96f(0x429)][_0x20f96f(0x250)]['pipe'](_0xf7bf00[_0x20f96f(0x36b)](this[_0x20f96f(0x289)]))[_0x20f96f(0x44d)](_0x21e07f=>{const _0x3570a8=_0x20f96f,_0x49a43d=_0x21e07f[_0x3570a8(0x2a0)];_0x49a43d===_0x278572[_0x3570a8(0x27e)][_0x3570a8(0x42d)]&&this[_0x3570a8(0x358)](_0x21e07f),_0x49a43d===_0x278572[_0x3570a8(0x27e)][_0x3570a8(0x293)]&&this['_onCursorDelete'](_0x21e07f);}),this[_0x20f96f(0x3b4)](),this[_0x20f96f(0x32d)](this[_0x20f96f(0x35c)][_0x20f96f(0x394)](_0x423d37=>{const _0x5f0326=_0x20f96f;if(this['_online']&&_0x423d37['id']===_0x4e9833[_0x5f0326(0x35b)]['id']&&_0x423d37[_0x5f0326(0x3fa)]['unitId']===this[_0x5f0326(0x3b8)]){const _0xa918dd=_0x423d37[_0x5f0326(0x3fa)];this[_0x5f0326(0x235)](_0xa918dd[_0x5f0326(0x1fd)],_0xa918dd[_0x5f0326(0x2d8)][0x0]);}})));}[_0x311f42(0x358)](_0x202c1c){const _0x1d88c2=_0x311f42;var _0xaf5c87,_0x2ace00;const {memberID:_0x18efe5,selection:_0x2f06b5}=_0x202c1c[_0x1d88c2(0x240)],{sheetName:_0x51d9dd,range:_0x72635e}=_0x53ba61[_0x1d88c2(0x224)](_0x2f06b5),_0x3bfa9e={'name':(_0x2ace00=(_0xaf5c87=this[_0x1d88c2(0x2ad)][_0x1d88c2(0x261)](this['unitID'],_0x18efe5))==null?void 0x0:_0xaf5c87[_0x1d88c2(0x3cc)])!=null?_0x2ace00:_0x1d88c2(0x3cb),'range':this[_0x1d88c2(0x3ae)](_0x51d9dd,_0x72635e),'sheetID':_0x51d9dd,'color':this[_0x1d88c2(0x254)]['assignAColorForMemberID'](_0x18efe5),'selection':_0x2f06b5},_0x83ac0d=this[_0x1d88c2(0x45d)];_0x83ac0d[_0x1d88c2(0x1d6)](_0x18efe5,_0x3bfa9e),this[_0x1d88c2(0x411)]['next'](_0x83ac0d);}['_onCursorDelete'](_0x3bbf0b){const _0x24f3d3=_0x311f42,{memberID:_0x4b49d0}=_0x3bbf0b[_0x24f3d3(0x240)],_0x324e0c=this[_0x24f3d3(0x45d)];_0x324e0c[_0x24f3d3(0x292)](_0x4b49d0),this[_0x24f3d3(0x411)][_0x24f3d3(0x38c)](_0x324e0c);}[_0x311f42(0x3ae)](_0x5c222f,_0x3a8caf){const _0x15306c=_0x311f42;var _0x3d6b06,_0x2bb299;const _0x236b4f=(_0x2bb299=(_0x3d6b06=this[_0x15306c(0x462)][_0x15306c(0x2e0)](this[_0x15306c(0x3b8)]))==null?void 0x0:_0x3d6b06[_0x15306c(0x232)](_0x5c222f))==null?void 0x0:_0x2bb299[_0x15306c(0x258)]();return(_0x236b4f==null?void 0x0:_0x236b4f['find'](_0x3142e0=>_0x2cbbfa['Rectangle']['contains'](_0x3142e0,_0x3a8caf)))||_0x3a8caf;}[_0x311f42(0x3b4)](){const _0x45479a=_0x311f42,_0x14ef13=new _0x2cbbfa[(_0x45479a(0x31c))](),_0x40e958=_0x11aee2(),_0x2a37d1=()=>{const _0xceae8c=_0x45479a;_0x14ef13[_0xceae8c(0x22e)]();const _0x3b878c=(_0x58947d,_0xf0e832,_0x16fbc2,_0x175fa4)=>{const _0x47658a=_0xceae8c;let _0x443f98=[];switch(_0x58947d['id']){case _0x4e9833[_0x47658a(0x1f9)]['DeleteRangeMoveLeftCommandId']:{_0x443f98=_0x4e9833['handleDeleteRangeMoveLeft'](_0x58947d,_0x175fa4);break;}case _0x4e9833[_0x47658a(0x1f9)][_0x47658a(0x21a)]:{_0x443f98=_0x4e9833[_0x47658a(0x33b)](_0x58947d,_0x175fa4);break;}case _0x4e9833['EffectRefRangId'][_0x47658a(0x219)]:{_0x443f98=_0x4e9833[_0x47658a(0x353)](_0x58947d,_0x175fa4);break;}case _0x4e9833[_0x47658a(0x1f9)][_0x47658a(0x20f)]:{_0x443f98=_0x4e9833[_0x47658a(0x268)](_0x58947d,_0x175fa4);break;}case _0x4e9833[_0x47658a(0x1f9)][_0x47658a(0x325)]:{_0x443f98=_0x4e9833[_0x47658a(0x2d0)](_0x58947d,_0x175fa4);break;}case _0x4e9833[_0x47658a(0x1f9)][_0x47658a(0x25c)]:{_0x443f98=_0x4e9833[_0x47658a(0x448)](_0x58947d,_0x175fa4);break;}case _0x4e9833[_0x47658a(0x1f9)][_0x47658a(0x231)]:{_0x443f98=_0x4e9833[_0x47658a(0x20b)](_0x58947d,_0x175fa4);break;}case _0x4e9833['EffectRefRangId'][_0x47658a(0x3b5)]:{_0x443f98=_0x4e9833[_0x47658a(0x315)](_0x58947d,_0x175fa4);break;}case _0x4e9833['EffectRefRangId']['RemoveRowCommandId']:{_0x443f98=_0x4e9833[_0x47658a(0x31f)](_0x58947d,_0x175fa4);break;}}const _0x3764dd=_0x4e9833[_0x47658a(0x45b)](_0x443f98,_0x175fa4),_0x160e05=this['cursorInfo'][_0x47658a(0x2de)](_0xf0e832);if(_0x160e05&&_0x3764dd){const _0x2deb5b={..._0x160e05,'range':_0x3764dd};this['cursorInfo'][_0x47658a(0x1d6)](_0xf0e832,_0x2deb5b),_0x40e958(()=>{const _0x47f302=_0x47658a,_0x69eeb0=this[_0x47f302(0x1e6)][_0x47f302(0x298)](_0x3764dd,_0x289869=>(_0x69eeb0[_0x47f302(0x22e)](),_0x3b878c(_0x289869,_0xf0e832,_0x16fbc2,_0x3764dd)));_0x14ef13[_0x47f302(0x266)](_0x69eeb0);});}return{'redos':[],'undos':[]};};this[_0xceae8c(0x45d)][_0xceae8c(0x344)]((_0x5a4d40,_0x5c51b8)=>{const _0x41f59e=_0xceae8c,{range:_0xb689fd,sheetID:_0x264a5c}=_0x5a4d40,_0x1ea84c=this[_0x41f59e(0x1e6)][_0x41f59e(0x298)](_0xb689fd,_0x5e1449=>(_0x1ea84c[_0x41f59e(0x22e)](),_0x3b878c(_0x5e1449,_0x5c51b8,_0x264a5c,_0xb689fd)));_0x14ef13['add'](_0x1ea84c);});};this['disposeWithMe'](_0x2cbbfa[_0x45479a(0x25e)](this[_0x45479a(0x411)][_0x45479a(0x44d)](()=>{_0x2a37d1();})));}[_0x311f42(0x27c)](){const _0x3e143b=_0x311f42;var _0x175aff,_0x367d79;if(this[_0x3e143b(0x260)]=!0x0,((_0x175aff=this[_0x3e143b(0x462)][_0x3e143b(0x202)]())==null?void 0x0:_0x175aff[_0x3e143b(0x3af)]())!==this[_0x3e143b(0x3b8)])return;const _0x5dd095=(_0x367d79=this['_injector']['get'](_0x4e9833[_0x3e143b(0x26f)])[_0x3e143b(0x324)]())==null?void 0x0:_0x367d79[0x0],_0x45cca2=this['_univerInstanceService'][_0x3e143b(0x33a)](_0x2cbbfa[_0x3e143b(0x3f0)][_0x3e143b(0x363)])[_0x3e143b(0x366)]();_0x5dd095&&_0x45cca2&&this[_0x3e143b(0x235)](_0x45cca2[_0x3e143b(0x2d7)](),_0x5dd095);}['_toggleOffline'](){const _0xc19661=_0x311f42;this[_0xc19661(0x260)]=!0x1;}};_0x369713=_0x4df843([_0x18a6b8(0x2,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa[_0x311f42(0x338)])),_0x18a6b8(0x3,_0x2cbbfa['Inject'](_0x5a339c)),_0x18a6b8(0x4,_0x2cbbfa[_0x311f42(0x229)](_0x145b5b[_0x311f42(0x37f)])),_0x18a6b8(0x5,_0x2cbbfa[_0x311f42(0x3fb)]),_0x18a6b8(0x6,_0x2cbbfa[_0x311f42(0x413)]),_0x18a6b8(0x7,_0x2cbbfa[_0x311f42(0x229)](_0x4e9833[_0x311f42(0x3d3)]))],_0x369713);var _0x1d5aee=Object[_0x311f42(0x3d4)],_0x26f90a=(_0x395e58,_0x4fde64,_0x531667,_0x2085a3)=>{for(var _0x370ba8=_0x2085a3>0x1?void 0x0:_0x2085a3?_0x1d5aee(_0x4fde64,_0x531667):_0x4fde64,_0x37557f=_0x395e58['length']-0x1,_0x27a057;_0x37557f>=0x0;_0x37557f--)(_0x27a057=_0x395e58[_0x37557f])&&(_0x370ba8=_0x27a057(_0x370ba8)||_0x370ba8);return _0x370ba8;},_0x2e336f=(_0x103d83,_0x4bbf07)=>(_0x3bb420,_0x190e48)=>_0x4bbf07(_0x3bb420,_0x190e48,_0x103d83);let _0xa564bf=class extends _0x2cbbfa['RxDisposable']{constructor(_0x170ec5,_0x32210c,_0x165bbb){const _0x18b605=_0x311f42;super(),_0xe6c276(this,_0x18b605(0x3ea),new Map()),_0xe6c276(this,_0x18b605(0x2ac),new _0xf7bf00['Subject']()),(this['_univerInstanceService']=_0x170ec5,this[_0x18b605(0x3f1)]=_0x32210c,this[_0x18b605(0x24c)]=_0x165bbb,this['_init']());}[_0x311f42(0x22e)](){const _0x4a4e29=_0x311f42;super[_0x4a4e29(0x22e)](),this['_entityInit$'][_0x4a4e29(0x249)](),this[_0x4a4e29(0x3ea)]['forEach'](_0x17b7ac=>_0x17b7ac['dispose']());}[_0x311f42(0x25a)](_0x29340a){const _0x4e7bbf=_0x311f42;return this['_entities'][_0x4e7bbf(0x40e)](_0x29340a)?this[_0x4e7bbf(0x3ea)]['get'](_0x29340a)[_0x4e7bbf(0x38b)]:this[_0x4e7bbf(0x2ac)][_0x4e7bbf(0x2b2)](_0xf7bf00['filter'](_0x4e67f2=>_0x4e67f2['unitID']===_0x29340a),_0xf7bf00[_0x4e7bbf(0x303)](_0x56d09f=>_0x56d09f[_0x4e7bbf(0x38b)]));}['_init'](){const _0xf269a1=_0x311f42;this[_0xf269a1(0x462)][_0xf269a1(0x279)](_0x2cbbfa[_0xf269a1(0x3f0)][_0xf269a1(0x363)])['pipe'](_0xf7bf00[_0xf269a1(0x36b)](this['dispose$']))[_0xf269a1(0x44d)](async _0x5a4f26=>{const _0xe0bef0=_0xf269a1,_0x6e4b59=_0x5a4f26[_0xe0bef0(0x3af)](),_0x4c9307=await this['_startSheetCollabCursor'](_0x6e4b59);this[_0xe0bef0(0x2ac)][_0xe0bef0(0x38c)](_0x4c9307),this[_0xe0bef0(0x3ea)][_0xe0bef0(0x1d6)](_0x6e4b59,_0x4c9307);}),this[_0xf269a1(0x462)][_0xf269a1(0x279)](_0x2cbbfa[_0xf269a1(0x3f0)]['UNIVER_DOC'])[_0xf269a1(0x2b2)](_0xf7bf00[_0xf269a1(0x36b)](this['dispose$']))[_0xf269a1(0x2b2)](_0xf7bf00['filter'](_0x12d96b=>!_0x12d96b[_0xf269a1(0x3af)]()['startsWith']('__')))['subscribe'](async _0x3281e9=>{const _0xc41577=_0xf269a1,_0x31e8f0=_0x3281e9[_0xc41577(0x3af)](),_0x4a6df8=await this[_0xc41577(0x476)](_0x31e8f0);this[_0xc41577(0x2ac)][_0xc41577(0x38c)](_0x4a6df8),this[_0xc41577(0x3ea)]['set'](_0x31e8f0,_0x4a6df8);}),_0xf7bf00[_0xf269a1(0x335)](this[_0xf269a1(0x462)][_0xf269a1(0x426)](_0x2cbbfa[_0xf269a1(0x3f0)][_0xf269a1(0x2d6)]),this[_0xf269a1(0x462)][_0xf269a1(0x426)](_0x2cbbfa[_0xf269a1(0x3f0)][_0xf269a1(0x363)]))[_0xf269a1(0x2b2)](_0xf7bf00['takeUntil'](this[_0xf269a1(0x289)]))[_0xf269a1(0x44d)](_0x4919f6=>{const _0x49a6c0=_0xf269a1,_0x3db23d=_0x4919f6[_0x49a6c0(0x3af)](),_0x4fb624=this['_entities'][_0x49a6c0(0x2de)](_0x3db23d);_0x4fb624&&(_0x4fb624[_0x49a6c0(0x22e)](),this[_0x49a6c0(0x3ea)][_0x49a6c0(0x292)](_0x3db23d));});}async['_startSheetCollabCursor'](_0x59df58){const _0x222626=_0x311f42,_0x364ce5=await this[_0x222626(0x24c)][_0x222626(0x379)](_0x59df58),_0x3a1cca=this[_0x222626(0x3f1)][_0x222626(0x2b1)](_0x369713,_0x59df58,_0x364ce5);return _0x3a1cca[_0x222626(0x436)](),_0x3a1cca;}async[_0x311f42(0x476)](_0x14b5ad){const _0x18d3dd=_0x311f42,_0x53f2ca=await this[_0x18d3dd(0x24c)][_0x18d3dd(0x379)](_0x14b5ad),_0x7a960e=this[_0x18d3dd(0x3f1)]['createInstance'](_0xcd798b,_0x14b5ad,_0x53f2ca);return _0x7a960e['init'](),_0x7a960e;}};_0xa564bf=_0x26f90a([_0x2e336f(0x0,_0x2cbbfa['IUniverInstanceService']),_0x2e336f(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa['Injector'])),_0x2e336f(0x2,_0x2cbbfa['Inject'](_0x145b5b[_0x311f42(0x2e2)]))],_0xa564bf);const _0x43179b=0x14,_0x5df4e0=0xc8,_0x4e3f8a=0x4,_0x8dc6c0=0x5;function _0x328d37(_0x1d49d1,_0x2a103f){const _0x9b3cef=_0x311f42;let {radius:_0x4dceba,width:_0x576bec,height:_0x2eb7ae}=_0x2a103f;_0x4dceba=_0x4dceba!=null?_0x4dceba:0x0,_0x576bec=_0x576bec!=null?_0x576bec:0x1e,_0x2eb7ae=_0x2eb7ae!=null?_0x2eb7ae:0x1e;let _0x27bd57=0x0,_0x4cec68=0x0,_0x3d6bff=0x0;_0x27bd57=_0x4cec68=_0x3d6bff=Math[_0x9b3cef(0x1e7)](_0x4dceba,_0x576bec/0x2,_0x2eb7ae/0x2),_0x1d49d1[_0x9b3cef(0x264)](),_0x1d49d1['moveTo'](_0x27bd57,0x0),_0x1d49d1[_0x9b3cef(0x234)](_0x576bec-_0x4cec68,0x0),_0x1d49d1['arc'](_0x576bec-_0x4cec68,_0x4cec68,_0x4cec68,Math['PI']*0x3/0x2,0x0,!0x1),_0x1d49d1[_0x9b3cef(0x234)](_0x576bec,_0x2eb7ae-_0x3d6bff),_0x1d49d1[_0x9b3cef(0x3da)](_0x576bec-_0x3d6bff,_0x2eb7ae-_0x3d6bff,_0x3d6bff,0x0,Math['PI']/0x2,!0x1),_0x1d49d1[_0x9b3cef(0x234)](0x0,_0x2eb7ae),_0x1d49d1[_0x9b3cef(0x234)](0x0,_0x27bd57),_0x1d49d1[_0x9b3cef(0x3da)](_0x27bd57,_0x27bd57,_0x27bd57,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1d49d1[_0x9b3cef(0x3f3)](),_0x2a103f[_0x9b3cef(0x237)]&&(_0x1d49d1[_0x9b3cef(0x43c)](),_0x1d49d1[_0x9b3cef(0x44f)]=_0x2a103f['fill'],_0x2a103f[_0x9b3cef(0x3ff)]===_0x9b3cef(0x3a8)?_0x1d49d1[_0x9b3cef(0x237)](_0x9b3cef(0x3a8)):_0x1d49d1['fill'](),_0x1d49d1['restore']());}class _0x59a55d extends _0x5d67f3[_0x311f42(0x1e5)]{constructor(_0x50721b,_0x201ad6){const _0x29b9f9=_0x311f42;super(_0x50721b,_0x201ad6),_0xe6c276(this,_0x29b9f9(0x382)),_0xe6c276(this,_0x29b9f9(0x371)),(this[_0x29b9f9(0x382)]=_0x201ad6==null?void 0x0:_0x201ad6[_0x29b9f9(0x382)],this[_0x29b9f9(0x371)]=_0x201ad6==null?void 0x0:_0x201ad6[_0x29b9f9(0x371)]);}static[_0x311f42(0x468)](_0xe6f5cf,_0x1bb83a){const _0x4da33f=_0x311f42,{text:_0x3b67c3,color:_0x4d6850}=_0x1bb83a;_0xe6f5cf[_0x4da33f(0x43c)](),_0xe6f5cf[_0x4da33f(0x32b)]=_0x4da33f(0x440);const _0x140b8f=_0xe6f5cf['measureText'](_0x3b67c3)[_0x4da33f(0x2ee)],_0x3a20d2=Math[_0x4da33f(0x1e7)](_0x140b8f+0x2*_0x4e3f8a,_0x5df4e0);_0x328d37(_0xe6f5cf,{'height':_0x43179b,'radius':0x4,'width':_0x3a20d2,'fill':_0x4d6850}),_0xe6f5cf[_0x4da33f(0x44f)]='#FFF';const _0x5247e7=_0x4e3f8a,_0x12c060=_0x43179b-_0x8dc6c0,_0x28ef74=_0x5df4e0-0x2*_0x4e3f8a;if(_0x140b8f>_0x28ef74){let _0x17df96='',_0x29ba49=0x0;for(const _0x41215a of _0x3b67c3){const _0x1153fa=_0xe6f5cf[_0x4da33f(0x374)](_0x41215a)[_0x4da33f(0x2ee)];if(_0x29ba49+_0x1153fa<=_0x28ef74-_0xe6f5cf['measureText'](_0x4da33f(0x20d))[_0x4da33f(0x2ee)])_0x17df96+=_0x41215a,_0x29ba49+=_0x1153fa;else{_0x17df96+=_0x4da33f(0x20d);break;}}_0xe6f5cf['fillText'](_0x17df96,_0x5247e7,_0x12c060);}else _0xe6f5cf['fillText'](_0x3b67c3,_0x5247e7,_0x12c060);_0xe6f5cf['restore']();}[_0x311f42(0x361)](_0x178e98){const _0x2690bd=_0x311f42;_0x59a55d[_0x2690bd(0x468)](_0x178e98,this);}}const _0x30e428='collab-text-anchor-',_0x4eefe3=_0x311f42(0x36a),_0x21f59f=_0x311f42(0x352),_0x13d3c1=0x6,_0x3b67fe=1.5,_0x38bc4d=0x4,_0x1c1071=1.5,_0x59c2d3=_0x311f42(0x3ca);class _0x172221{constructor(_0xccf875,_0x322668,_0x4e9e9e,_0x545063){const _0x191f11=_0x311f42;_0xe6c276(this,_0x191f11(0x227),[]),_0xe6c276(this,_0x191f11(0x43f),null),_0xe6c276(this,_0x191f11(0x2ba),null),_0xe6c276(this,_0x191f11(0x3a4),null),_0xe6c276(this,_0x191f11(0x2cd),null),_0xe6c276(this,_0x191f11(0x1eb),null),(this[_0x191f11(0x1fc)]=_0xccf875,this[_0x191f11(0x26a)]=_0x322668,this[_0x191f11(0x1df)]=_0x4e9e9e,this['_document']=_0x545063,this[_0x191f11(0x435)]());}set[_0x311f42(0x423)](_0x5a7400){const _0xb1edd7=_0x311f42;_0x5a7400?(this[_0xb1edd7(0x3a4)]&&this[_0xb1edd7(0x3a4)][_0xb1edd7(0x2b6)](),this['_textBubble']&&this['_textBubble']['show']()):(this['_anchorDot']&&this['_anchorDot'][_0xb1edd7(0x1fa)](),this[_0xb1edd7(0x2ba)]&&this['_textBubble'][_0xb1edd7(0x2b6)]());}[_0x311f42(0x22e)](){const _0x8af46c=_0x311f42;for(const _0x2f48f4 of this['_shapes'])_0x2f48f4[_0x8af46c(0x22e)]();this[_0x8af46c(0x2ba)]&&this[_0x8af46c(0x2ba)]['dispose'](),this[_0x8af46c(0x3a4)]&&this['_anchorDot'][_0x8af46c(0x22e)](),this[_0x8af46c(0x43f)]&&this[_0x8af46c(0x43f)][_0x8af46c(0x22e)](),this[_0x8af46c(0x1eb)]&&this[_0x8af46c(0x1eb)]();}[_0x311f42(0x435)](){const _0x3cf390=_0x311f42;var _0x4167bf;const {_docSkeleton:_0x1c473d,_document:_0x4e5bcd}=this,{color:_0x164284,name:_0x540bb4,ranges:_0x56be1c}=this[_0x3cf390(0x1fc)],_0x5a62d0=_0x4e5bcd[_0x3cf390(0x1e8)](),{docsLeft:_0xc28dfb,docsTop:_0xe90f5b}=_0x5a62d0,_0x5e4784=new _0x5e3fdb['NodePositionConvertToCursor'](_0x5a62d0,_0x1c473d);for(const {startOffset:_0x2aacc5,endOffset:_0x3617e1,rangeType:_0x40d37c,segmentId:_0x410535,segmentPage:_0x485a02,collapsed:_0x159b3f,isActive:_0x5bbe43}of _0x56be1c){const _0xc42fc6=_0x1c473d['findNodePositionByCharIndex'](_0x2aacc5,!0x0,_0x410535,_0x485a02);let _0x3d8d22=_0x1c473d['findNodePositionByCharIndex'](_0x3617e1,!0x0,_0x410535,_0x485a02);if(_0x3d8d22==null&&(_0x3d8d22=_0x1c473d[_0x3cf390(0x46c)](_0x3617e1-0x1,!0x1,_0x410535,_0x485a02)),_0x5bbe43){const {contentBoxPointGroup:_0x565b93}=_0x5e4784[_0x3cf390(0x434)](_0x3d8d22,_0x3d8d22);if(_0x565b93['length']===0x0)continue;this[_0x3cf390(0x2d1)](_0x164284,_0x565b93,_0xc28dfb,_0xe90f5b,_0x540bb4),this[_0x3cf390(0x1eb)]=this[_0x3cf390(0x33d)]();}if(_0xc42fc6&&_0x3d8d22){if(_0x40d37c===_0x2cbbfa[_0x3cf390(0x22b)][_0x3cf390(0x2c1)]){const _0x198906=new _0x5e3fdb[(_0x3cf390(0x3e5))](_0x5a62d0,_0x1c473d),{pointGroup:_0x2e043c}=(_0x4167bf=_0x198906[_0x3cf390(0x434)](_0xc42fc6,_0x3d8d22))!=null?_0x4167bf:{};if(_0x2e043c==null||_0x2e043c[_0x3cf390(0x2bd)]===0x0)continue;this[_0x3cf390(0x2e9)](_0x164284,_0x2e043c,_0xc28dfb,_0xe90f5b);}else{if(!_0x159b3f){const {borderBoxPointGroup:_0x47a6eb}=_0x5e4784[_0x3cf390(0x434)](_0xc42fc6,_0x3d8d22);if(_0x47a6eb[_0x3cf390(0x2bd)]===0x0)continue;this['_drawTextRange'](_0x164284,_0x47a6eb,_0xc28dfb,_0xe90f5b);}}}}}['_drawAnchor'](_0x45edd3,_0x2d9d92,_0x6420f8,_0x35ed41,_0x47dae5){const _0x5adde4=_0x311f42,_0x282ad7=this['_getAnchorBounding'](_0x2d9d92),{left:_0x5063a2,top:_0x2c4837,height:_0x371c08}=_0x282ad7,_0x2291b7=this[_0x5adde4(0x302)](),_0x13f695=_0x1c1071/_0x2291b7,_0x498e9b=new _0x5d67f3[(_0x5adde4(0x262))](_0x30e428+_0x2cbbfa[_0x5adde4(0x475)](_0x13d3c1),{'left':_0x5063a2+_0x6420f8-_0x13f695,'top':_0x2c4837+_0x35ed41,'height':_0x371c08,'width':_0x3b67fe,'fill':_0x45edd3||_0x5d67f3[_0x5adde4(0x29d)](_0x2cbbfa[_0x5adde4(0x28a)][_0x5adde4(0x251)],0x0),'strokeWidth':_0x13f695,'stroke':_0x59c2d3,'evented':!0x0});this[_0x5adde4(0x43f)]=_0x498e9b,this[_0x5adde4(0x26a)][_0x5adde4(0x38f)](_0x498e9b,_0x5e3fdb['TEXT_RANGE_LAYER_INDEX']);const _0x50f6f7=new _0x5d67f3[(_0x5adde4(0x262))](_0x30e428+_0x2cbbfa[_0x5adde4(0x475)](_0x13d3c1),{'left':_0x5063a2+_0x6420f8-_0x13f695,'top':_0x2c4837+_0x35ed41-_0x38bc4d/0x2,'height':_0x38bc4d,'width':_0x38bc4d,'fill':_0x45edd3||_0x5d67f3['getColor'](_0x2cbbfa[_0x5adde4(0x28a)][_0x5adde4(0x251)],0x0),'strokeWidth':0x0,'stroke':_0x45edd3||_0x5d67f3[_0x5adde4(0x29d)](_0x2cbbfa['COLORS'][_0x5adde4(0x251)],0x0),'evented':!0x1});this[_0x5adde4(0x3a4)]=_0x50f6f7,this[_0x5adde4(0x26a)][_0x5adde4(0x38f)](_0x50f6f7,_0x5e3fdb['TEXT_RANGE_LAYER_INDEX']);const _0x1b44bf=new _0x59a55d(_0x30e428+_0x2cbbfa[_0x5adde4(0x475)](_0x13d3c1),{'left':_0x5063a2+_0x6420f8-_0x13f695,'top':_0x2c4837+_0x35ed41-_0x43179b,'text':_0x47dae5,'color':_0x45edd3});this['_textBubble']=_0x1b44bf,this[_0x5adde4(0x26a)][_0x5adde4(0x38f)](_0x1b44bf,_0x5e3fdb['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x4030b9=_0x311f42,_0x54fb7a=this[_0x4030b9(0x43f)][_0x4030b9(0x256)][_0x4030b9(0x44e)](()=>{const _0x320bb1=_0x4030b9;this[_0x320bb1(0x423)]=!0x0;}),_0x476543=this[_0x4030b9(0x43f)][_0x4030b9(0x25f)]['subscribeEvent'](()=>{const _0x4cbe22=_0x4030b9;this[_0x4cbe22(0x2cd)]&&clearTimeout(this[_0x4cbe22(0x2cd)]),this[_0x4cbe22(0x2cd)]=setTimeout(()=>{const _0x348ff1=_0x4cbe22;this[_0x348ff1(0x423)]=!0x1;},0x7d0);});return()=>{const _0x50ffd0=_0x4030b9;_0x54fb7a['unsubscribe'](),_0x476543[_0x50ffd0(0x29f)]();};}[_0x311f42(0x1d8)](_0xa306a9,_0x2d0837,_0x47b5ed,_0xaadadf){const _0x546d96=_0x311f42,_0x43e6a5=new _0x2cbbfa[(_0x546d96(0x35a))](_0xa306a9)[_0x546d96(0x294)](0.2)[_0x546d96(0x2b9)](),_0x5f1567=new _0x5d67f3[(_0x546d96(0x393))](_0x4eefe3+_0x2cbbfa[_0x546d96(0x475)](_0x13d3c1),{'pointsGroup':_0x2d0837,'fill':_0x43e6a5||_0x5d67f3[_0x546d96(0x29d)](_0x2cbbfa[_0x546d96(0x28a)]['black'],0.2),'left':_0x47b5ed,'top':_0xaadadf,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x546d96(0x227)][_0x546d96(0x421)](_0x5f1567),this['_scene'][_0x546d96(0x38f)](_0x5f1567,_0x5e3fdb[_0x546d96(0x3c8)]);}[_0x311f42(0x2e9)](_0xaac0e8,_0x5c41b5,_0x2d892c,_0x1ce4bd){const _0x4a3a30=_0x311f42,_0xc69ec7=new _0x2cbbfa[(_0x4a3a30(0x35a))](_0xaac0e8)[_0x4a3a30(0x294)](0.2)[_0x4a3a30(0x2b9)](),_0x188d22=new _0x5d67f3[(_0x4a3a30(0x393))](_0x21f59f+_0x2cbbfa[_0x4a3a30(0x475)](_0x13d3c1),{'pointsGroup':_0x5c41b5,'fill':_0xc69ec7||_0x5d67f3[_0x4a3a30(0x29d)](_0x2cbbfa[_0x4a3a30(0x28a)][_0x4a3a30(0x251)],0.2),'left':_0x2d892c,'top':_0x1ce4bd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a3a30(0x227)]['push'](_0x188d22),this[_0x4a3a30(0x26a)]['addObject'](_0x188d22,_0x5e3fdb[_0x4a3a30(0x3c8)]);}[_0x311f42(0x408)](_0x234daa){const _0x4b943b=_0x234daa[0x0],_0x51e5f0=_0x4b943b[0x0],_0x1e90a9=_0x4b943b[0x2],{x:_0x373189,y:_0x449509}=_0x51e5f0,{x:_0x4f8f42,y:_0x174ac6}=_0x1e90a9;return{'left':_0x373189,'top':_0x449509,'width':_0x4f8f42-_0x373189,'height':_0x174ac6-_0x449509};}[_0x311f42(0x302)](){const _0x29a657=_0x311f42,{scaleX:_0x284c42,scaleY:_0x5e75a2}=this['_scene']['getAncestorScale']();return Math[_0x29a657(0x1e4)](_0x284c42,_0x5e75a2);}}var _0x371be1=Object[_0x311f42(0x3d4)],_0x1ef5a1=(_0x370720,_0x3e08f2,_0x2539c2,_0x33b861)=>{const _0x49bc7c=_0x311f42;for(var _0x3cb9a9=_0x33b861>0x1?void 0x0:_0x33b861?_0x371be1(_0x3e08f2,_0x2539c2):_0x3e08f2,_0x42c877=_0x370720[_0x49bc7c(0x2bd)]-0x1,_0x2fdbbe;_0x42c877>=0x0;_0x42c877--)(_0x2fdbbe=_0x370720[_0x42c877])&&(_0x3cb9a9=_0x2fdbbe(_0x3cb9a9)||_0x3cb9a9);return _0x3cb9a9;},_0x15a8c9=(_0x3585e8,_0x4aba9c)=>(_0x2c6247,_0x1e472b)=>_0x4aba9c(_0x2c6247,_0x1e472b,_0x3585e8);let _0x45a73b=class extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(_0x17273b,_0x207bcf,_0x2826f6,_0x9bab11,_0x27e612){const _0x83d225=_0x311f42;super(),_0xe6c276(this,'_cursorShapes',[]),_0xe6c276(this,_0x83d225(0x3b9),[]),(this[_0x83d225(0x45f)]=_0x17273b,this['_docSkeletonManagerService']=_0x207bcf,this['_collabCursorController']=_0x2826f6,this[_0x83d225(0x35c)]=_0x9bab11,this['_themeService']=_0x27e612,this[_0x83d225(0x2c0)]());}[_0x311f42(0x2c0)](){const _0x423cf3=_0x311f42,_0x3b868a=this[_0x423cf3(0x45f)][_0x423cf3(0x427)],_0x4f8034=this[_0x423cf3(0x47f)];this['disposeWithMe'](_0xf7bf00[_0x423cf3(0x2eb)]([this[_0x423cf3(0x2ea)][_0x423cf3(0x25a)](_0x3b868a),this[_0x423cf3(0x47b)][_0x423cf3(0x35f)]])[_0x423cf3(0x2b2)](_0x302e84['map'](([_0x4e4e16,_0xb38911])=>({'skeleton':_0x4f8034[_0x423cf3(0x318)](),'cursors':[..._0x4e4e16[_0x423cf3(0x45c)]()]['flatMap'](_0xf7e993=>({..._0xf7e993,'color':this[_0x423cf3(0x47b)][_0x423cf3(0x30f)](_0xf7e993['color'])}))})))[_0x423cf3(0x44d)](_0x631bd5=>{const _0x333a72=_0x423cf3;if(this[_0x333a72(0x2f0)](),_0x631bd5){const {skeleton:_0x22fc7f,cursors:_0xaa198d}=_0x631bd5;this[_0x333a72(0x24d)](_0x22fc7f,_0xaa198d);}})),this[_0x423cf3(0x39e)](),this['_initCommandExecutedListener']();}[_0x311f42(0x24d)](_0x32aba6,_0x126b8b){const _0x14a6bf=_0x311f42,{scene:_0x3cd187,mainComponent:_0x3fe31e}=this[_0x14a6bf(0x45f)],_0x9f8ef2=_0x126b8b[_0x14a6bf(0x42e)](_0x45067f=>new _0x172221(_0x45067f,_0x3cd187,_0x32aba6,_0x3fe31e));this[_0x14a6bf(0x459)]=_0x9f8ef2,this[_0x14a6bf(0x3b9)]=_0x126b8b;}[_0x311f42(0x34b)](){const _0x1cede9=_0x311f42;this[_0x1cede9(0x2f0)]();const {scene:_0x2f93fd,mainComponent:_0x2ae3c9}=this[_0x1cede9(0x45f)],_0x2444aa=this[_0x1cede9(0x47f)][_0x1cede9(0x318)](),_0x2e9acb=this[_0x1cede9(0x3b9)]['map'](_0x255f39=>new _0x172221(_0x255f39,_0x2f93fd,_0x2444aa,_0x2ae3c9));this[_0x1cede9(0x459)]=_0x2e9acb;}[_0x311f42(0x2f0)](){const _0x28cf2e=_0x311f42;this[_0x28cf2e(0x459)][_0x28cf2e(0x344)](_0x371d0=>_0x371d0['dispose']()),this[_0x28cf2e(0x459)]=[];}[_0x311f42(0x220)](){const _0x944b7b=_0x311f42,_0x15308b=[_0x5e3fdb[_0x944b7b(0x1f4)]['id']];this[_0x944b7b(0x32d)](this[_0x944b7b(0x35c)][_0x944b7b(0x394)](_0x3ec9fd=>{const _0x2b5ec8=_0x944b7b;_0x15308b[_0x2b5ec8(0x238)](_0x3ec9fd['id'])&&_0x3ec9fd[_0x2b5ec8(0x3fa)]['unitId']===this[_0x2b5ec8(0x45f)][_0x2b5ec8(0x427)]&&this[_0x2b5ec8(0x34b)]();}));}['_initResize'](){const _0x34e81b=_0x311f42;this[_0x34e81b(0x32d)](_0x2cbbfa[_0x34e81b(0x441)](this[_0x34e81b(0x45f)][_0x34e81b(0x1fb)][_0x34e81b(0x2e1)])[_0x34e81b(0x2b2)](_0x302e84[_0x34e81b(0x230)](_0x3e91ee=>_0x3e91ee[_0x34e81b(0x340)]===_0x5d67f3['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x34e81b(0x30b)]),_0x302e84[_0x34e81b(0x365)](0x10))[_0x34e81b(0x44d)](()=>{const _0x1f4627=_0x34e81b;this[_0x1f4627(0x34b)]();}));}};_0x45a73b=_0x1ef5a1([_0x15a8c9(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x4f3300[_0x311f42(0x3b2)])),_0x15a8c9(0x2,_0x2cbbfa['Inject'](_0xa564bf)),_0x15a8c9(0x3,_0x2cbbfa[_0x311f42(0x413)]),_0x15a8c9(0x4,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa[_0x311f42(0x3cf)]))],_0x45a73b);const _0x55d696=0x1,_0xf836db=1.5;class _0x3a7b4c extends _0x5d67f3[_0x311f42(0x1e5)]{constructor(_0x3fd5fa,_0x3f23be){const _0x3548c5=_0x311f42;super(_0x3fd5fa,_0x3f23be),_0xe6c276(this,_0x3548c5(0x206)),_0xe6c276(this,'_hovered',!0x1),_0xe6c276(this,_0x3548c5(0x3c1)),_0xe6c276(this,'_name',''),_0xe6c276(this,_0x3548c5(0x1d4),_0x3548c5(0x288)),_0xe6c276(this,_0x3548c5(0x20c)),(_0x3f23be&&this[_0x3548c5(0x37b)](_0x3f23be),this[_0x3548c5(0x256)][_0x3548c5(0x44e)](()=>this[_0x3548c5(0x37b)]({'hovered':!0x0})),this[_0x3548c5(0x25f)][_0x3548c5(0x44e)](()=>this[_0x3548c5(0x37b)]({'hovered':!0x1})));}[_0x311f42(0x37b)](_0x376441){const _0x421b94=_0x311f42;var _0x9ba895,_0x14cec6,_0x54ab0b,_0x4a282f,_0x45af6d,_0x115f53;this[_0x421b94(0x206)]=(_0x9ba895=_0x376441[_0x421b94(0x382)])!=null?_0x9ba895:this['_color'],this[_0x421b94(0x310)]=(_0x14cec6=_0x376441[_0x421b94(0x3ce)])!=null?_0x14cec6:this[_0x421b94(0x310)],this[_0x421b94(0x3c1)]=(_0x54ab0b=_0x376441['range'])!=null?_0x54ab0b:this['_range'],this[_0x421b94(0x1fe)]=(_0x4a282f=_0x376441['name'])!=null?_0x4a282f:this[_0x421b94(0x1fe)],this[_0x421b94(0x1d4)]=(_0x45af6d=_0x376441[_0x421b94(0x442)])!=null?_0x45af6d:this['_labelPosition'],this['_backgroundColor']=(_0x115f53=_0x376441[_0x421b94(0x2b7)])!=null?_0x115f53:this[_0x421b94(0x20c)],this[_0x421b94(0x42f)]({'width':_0x376441[_0x421b94(0x2ee)],'height':_0x376441[_0x421b94(0x3b7)]});}['onMouseMove'](_0x1ae844){const _0x413130=_0x311f42,{row:_0x64406a,column:_0x60fc8}=_0x1ae844;if(_0x64406a>=this[_0x413130(0x3c1)][_0x413130(0x386)]&&_0x64406a<=this[_0x413130(0x3c1)][_0x413130(0x463)]&&_0x60fc8>=this[_0x413130(0x3c1)][_0x413130(0x305)]&&_0x60fc8<=this[_0x413130(0x3c1)][_0x413130(0x296)]){this[_0x413130(0x37b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x1210ce){return!0x1;}[_0x311f42(0x361)](_0x5712df){const _0x129368=_0x311f42;_0x5d67f3[_0x129368(0x262)]['drawWith'](_0x5712df,{'width':this[_0x129368(0x2ee)],'height':this['height'],'strokeWidth':_0xf836db,'stroke':this[_0x129368(0x206)],'evented':!0x1,'fill':this[_0x129368(0x20c)]}),this[_0x129368(0x310)]&&(_0x5712df[_0x129368(0x43c)](),_0x5712df[_0x129368(0x3f4)](0x1,0x0,0x0,0x1,this[_0x129368(0x2ee)],this[_0x129368(0x1d4)]===_0x129368(0x347)?0x0:-_0x43179b),_0x59a55d[_0x129368(0x468)](_0x5712df,{'text':this[_0x129368(0x1fe)],'color':this[_0x129368(0x206)]}),_0x5712df[_0x129368(0x2cb)]());}}var _0x2732ab=Object[_0x311f42(0x3d4)],_0x124258=(_0xe805fc,_0x2d712d,_0x2d89b4,_0x2b2c71)=>{const _0x1f09a1=_0x311f42;for(var _0x11128f=_0x2b2c71>0x1?void 0x0:_0x2b2c71?_0x2732ab(_0x2d712d,_0x2d89b4):_0x2d712d,_0x49ebfb=_0xe805fc[_0x1f09a1(0x2bd)]-0x1,_0xd88a20;_0x49ebfb>=0x0;_0x49ebfb--)(_0xd88a20=_0xe805fc[_0x49ebfb])&&(_0x11128f=_0xd88a20(_0x11128f)||_0x11128f);return _0x11128f;},_0x36efc9=(_0x12b0b9,_0x80fe48)=>(_0xbc91d1,_0x523be8)=>_0x80fe48(_0xbc91d1,_0x523be8,_0x12b0b9);const _0x2b4d70=0x1389;let _0x201e9b=class extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(_0x316ec6,_0x9fe796,_0x31dbc9,_0x2de153){const _0x4e88b0=_0x311f42;super(),_0xe6c276(this,'_cursors',new Set()),_0xe6c276(this,_0x4e88b0(0x39f),null),(this[_0x4e88b0(0x45f)]=_0x316ec6,this['_sheetSkeletonManagerService']=_0x9fe796,this['_collabCursorController']=_0x31dbc9,this[_0x4e88b0(0x47b)]=_0x2de153,this[_0x4e88b0(0x2c0)]());}[_0x311f42(0x2c0)](){const _0x9ed8b9=_0x311f42;this[_0x9ed8b9(0x33c)][_0x9ed8b9(0x2fa)]['pipe'](_0x302e84[_0x9ed8b9(0x36b)](this[_0x9ed8b9(0x289)]),_0x302e84[_0x9ed8b9(0x303)](_0x3d65e3=>{const _0x1eae43=_0x9ed8b9;if(_0x3d65e3){const _0x1ef780=_0x3d65e3[_0x1eae43(0x396)];return _0xf7bf00[_0x1eae43(0x2eb)](this['_collabCursorController'][_0x1eae43(0x25a)](this[_0x1eae43(0x45f)][_0x1eae43(0x427)]),this['_themeService'][_0x1eae43(0x35f)])['pipe'](_0x302e84[_0x1eae43(0x42e)](([_0x6b3c41,_0x1fe888])=>{const _0x5924e6=_0x1eae43,_0x17bc17=new Map();return _0x6b3c41[_0x5924e6(0x344)]((_0xa01215,_0x283c9c)=>{const _0x119db1=_0x5924e6;if(_0xa01215['sheetID']===_0x1ef780){const _0xe2aea7={..._0xa01215};_0xe2aea7[_0x119db1(0x382)]=this[_0x119db1(0x47b)][_0x119db1(0x30f)](_0xa01215[_0x119db1(0x382)]),_0x17bc17[_0x119db1(0x1d6)](_0x283c9c,_0xe2aea7);}}),{'skeleton':_0x3d65e3,'cursors':_0x17bc17};}));}return _0xf7bf00['of']({'skeleton':null,'cursors':new Map()});}))[_0x9ed8b9(0x44d)](({skeleton:_0x1e084d,cursors:_0x43c362})=>{const _0x38cb43=_0x9ed8b9;this[_0x38cb43(0x2f0)](),_0x1e084d&&this[_0x38cb43(0x24d)](_0x1e084d,_0x43c362);}),this['_sheetSkeletonManagerService'][_0x9ed8b9(0x2fa)][_0x9ed8b9(0x44d)](_0x39f0b5=>{const _0xeb0fd5=_0x9ed8b9;if(_0x39f0b5==null)return;const {skeleton:_0x9376a7}=_0x39f0b5,{scene:_0x3de6e7}=this[_0xeb0fd5(0x45f)];_0x3de6e7['onPointerMove$'][_0xeb0fd5(0x44e)](_0x2cbbfa[_0xeb0fd5(0x3bb)](_0x424747=>{const _0x2bdffd=_0xeb0fd5;var _0x608557,_0x3ce5d7;const {offsetX:_0x401450,offsetY:_0x43a342}=_0x424747,{x:_0x507381,y:_0x41b42c}=_0x3de6e7[_0x2bdffd(0x2f7)](_0x5d67f3[_0x2bdffd(0x3e8)]['FromArray']([_0x401450,_0x43a342])),{scaleX:_0x1bcdd6,scaleY:_0x4ff302}=_0x3de6e7['getAncestorScale'](),_0x385c2a=_0x3de6e7[_0x2bdffd(0x438)](_0x5d67f3[_0x2bdffd(0x3eb)][_0x2bdffd(0x431)]),_0x3e2f30=_0x3de6e7[_0x2bdffd(0x3d7)](_0x5d67f3['Vector2']['FromArray']([_0x507381,_0x41b42c]),_0x385c2a),_0x588f38=_0x9376a7[_0x2bdffd(0x26e)](_0x401450,_0x43a342,_0x1bcdd6,_0x4ff302,_0x3e2f30);((_0x608557=this['_lastPointer'])==null?void 0x0:_0x608557[_0x2bdffd(0x380)])===_0x588f38[_0x2bdffd(0x380)]&&((_0x3ce5d7=this['_lastPointer'])==null?void 0x0:_0x3ce5d7[_0x2bdffd(0x323)])===_0x588f38[_0x2bdffd(0x323)]||this[_0x2bdffd(0x3b9)]['forEach'](_0x4da5c5=>{const _0x3cf309=_0x2bdffd;_0x4da5c5[_0x3cf309(0x273)](_0x588f38);});},0x64));});}[_0x311f42(0x24d)](_0x5b907f,_0x55b03b){const _0x143d05=_0x311f42;var _0x518df8;const _0x28b4da=(_0x518df8=this[_0x143d05(0x33c)]['getCurrent']())==null?void 0x0:_0x518df8[_0x143d05(0x1e2)];if(!_0x28b4da)return;const _0x288cae=this[_0x143d05(0x28e)]();if(!_0x288cae)return;this['_cursors']['forEach'](_0x50eac4=>{const _0x3ec08f=_0x143d05;_0x50eac4[_0x3ec08f(0x3ef)]();});const {scene:_0x36bb59}=_0x288cae,_0x344dd6=_0x5ed4c6(Array[_0x143d05(0x316)](_0x55b03b[_0x143d05(0x45c)]()))[_0x143d05(0x42e)](_0x40c5cf=>{const _0x5bcdc0=_0x143d05,{color:_0x459d0e,range:_0xfa5d26,name:_0xf8657c,selection:_0x1fb7c8,sheetID:_0x65b606}=_0x40c5cf,{startColumn:_0x113f61,startRow:_0x496855,endColumn:_0x351bf4,endRow:_0x58d504}=_0xfa5d26,_0x471a81=_0x2717c9[_0x5bcdc0(0x3d1)](_0x496855,_0x113f61,_0x36bb59,_0x28b4da),_0x5bbb1e=_0x2717c9[_0x5bcdc0(0x3d1)](_0x58d504,_0x351bf4,_0x36bb59,_0x28b4da),{columnHeaderHeightAndMarginTop:_0x166624}=_0x28b4da,{startX:_0x44f15c,startY:_0x164897}=_0x471a81,{endX:_0x5eb530,endY:_0x8da6e9}=_0x5bbb1e,_0x2314e0=_0x5eb530-_0x44f15c,_0x4f8703=_0x8da6e9-_0x164897,_0x4df5b2={'labelPosition':_0x164897-_0x166624>=_0x43179b?'top':_0x5bcdc0(0x347),'sheetID':_0x65b606,'range':_0xfa5d26,'color':_0x459d0e,'name':_0xf8657c,'selection':_0x1fb7c8,'left':_0x44f15c,'top':_0x164897,'width':_0x2314e0,'height':_0x4f8703,'evented':!0x1,'zIndex':_0x2b4d70};return new _0x3a7b4c(_0xf8657c,_0x4df5b2);});_0x36bb59[_0x143d05(0x390)](_0x344dd6,_0x55d696),this['_cursors']=new Set(_0x344dd6);}[_0x311f42(0x2f0)](){const _0x1daaf3=_0x311f42;var _0x294fe1;(_0x294fe1=this[_0x1daaf3(0x3b9)])==null||_0x294fe1[_0x1daaf3(0x344)](_0x4b88b5=>_0x4b88b5[_0x1daaf3(0x22e)]());}[_0x311f42(0x28e)](){const _0x4c52b9=_0x311f42;return _0x2717c9['getSheetObject'](this[_0x4c52b9(0x45f)]['unit'],this[_0x4c52b9(0x45f)]);}};_0x201e9b=_0x124258([_0x36efc9(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x2717c9[_0x311f42(0x35e)])),_0x36efc9(0x2,_0x2cbbfa[_0x311f42(0x229)](_0xa564bf)),_0x36efc9(0x3,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa['ThemeService']))],_0x201e9b);function _0x5ed4c6(_0x3260ca){const _0x28b8b6=_0x311f42,_0x3f0201=new Map();return _0x3260ca[_0x28b8b6(0x344)](_0x23c218=>{const _0x450d3d=_0x28b8b6;if(_0x3f0201[_0x450d3d(0x40e)](_0x23c218[_0x450d3d(0x40c)])){const _0x58617e=_0x3f0201[_0x450d3d(0x2de)](_0x23c218[_0x450d3d(0x40c)]);_0x58617e[_0x450d3d(0x3cc)]+=',\x20'+_0x23c218['name'];}else _0x3f0201['set'](_0x23c218['selection'],_0x23c218);}),Array[_0x28b8b6(0x316)](_0x3f0201['values']());}var _0xc9b539=Object[_0x311f42(0x3d4)],_0x19c59b=(_0x5d9d30,_0x113723,_0x4ce1d5,_0x2dca7f)=>{const _0x2c069e=_0x311f42;for(var _0x1ab65a=_0x2dca7f>0x1?void 0x0:_0x2dca7f?_0xc9b539(_0x113723,_0x4ce1d5):_0x113723,_0x3e876e=_0x5d9d30[_0x2c069e(0x2bd)]-0x1,_0x5735fc;_0x3e876e>=0x0;_0x3e876e--)(_0x5735fc=_0x5d9d30[_0x3e876e])&&(_0x1ab65a=_0x5735fc(_0x1ab65a)||_0x1ab65a);return _0x1ab65a;},_0x42fb77=(_0xe2c5d0,_0x1f714f)=>(_0x16caf9,_0xe6e033)=>_0x1f714f(_0x16caf9,_0xe6e033,_0xe2c5d0);let _0x713d47=class extends _0x2cbbfa[_0x311f42(0x40a)]{constructor(_0x45bcdd,_0x54efb8,_0x387a1d,_0x269c5d,_0x3652fe,_0x485d7){const _0x541583=_0x311f42;super(),this[_0x541583(0x367)]=_0x45bcdd,this[_0x541583(0x242)]=_0x54efb8,this['_collaborationUIEventService']=_0x387a1d,this[_0x541583(0x449)]=_0x269c5d,this['_notificationService']=_0x3652fe,this[_0x541583(0x402)]=_0x485d7,this[_0x541583(0x26c)](),this[_0x541583(0x342)]();}[_0x311f42(0x26c)](){const _0x4e5d9d=_0x311f42;this[_0x4e5d9d(0x32d)](this['_beforeCloseService'][_0x4e5d9d(0x277)](()=>{const _0x1d2b7c=_0x4e5d9d;if(this[_0x1d2b7c(0x242)][_0x1d2b7c(0x415)][_0x1d2b7c(0x450)])return this['_localeService']['t'](_0x1d2b7c(0x1f6));}));}[_0x311f42(0x342)](){const _0x1ccf8e=_0x311f42;this['disposeWithMe'](this[_0x1ccf8e(0x2fb)][_0x1ccf8e(0x250)][_0x1ccf8e(0x44d)](_0x58e06f=>{const _0x47948c=_0x1ccf8e;_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)][_0x47948c(0x3d8)]&&this[_0x47948c(0x449)][_0x47948c(0x1fa)]({'type':_0x404916['MessageType'][_0x47948c(0x44a)],'content':this[_0x47948c(0x402)]['t']('collaboration.single-unit.warning')}),_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)][_0x47948c(0x34e)]&&this[_0x47948c(0x449)][_0x47948c(0x1fa)]({'type':_0x404916[_0x47948c(0x2d4)][_0x47948c(0x44a)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)][_0x47948c(0x3d9)]&&this['_notificationService'][_0x47948c(0x1fa)]({'title':this[_0x47948c(0x402)]['t']('permission.title'),'content':this[_0x47948c(0x402)]['t'](_0x47948c(0x1dc)),'type':_0x47948c(0x369),'duration':0x0}),_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)]['CONFLICT']&&this[_0x47948c(0x449)][_0x47948c(0x1fa)]({'type':_0x404916[_0x47948c(0x2d4)][_0x47948c(0x47a)],'content':this[_0x47948c(0x402)]['t']('collaboration.closeRoom')+'('+_0x58e06f[_0x47948c(0x240)]+')'}),_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)][_0x47948c(0x337)]&&this['_messageService']['show']({'type':_0x404916['MessageType'][_0x47948c(0x44a)],'content':this[_0x47948c(0x402)]['t'](_0x58e06f[_0x47948c(0x240)]||'')}),_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)][_0x47948c(0x418)]&&this[_0x47948c(0x449)]['show']({'type':_0x404916[_0x47948c(0x2d4)][_0x47948c(0x44a)],'content':this[_0x47948c(0x402)]['t'](_0x47948c(0x285))}),_0x58e06f['id']===_0x145b5b['CollaborationUIEventId'][_0x47948c(0x2c4)]&&this['_messageService'][_0x47948c(0x1fa)]({'type':_0x404916[_0x47948c(0x2d4)]['Error'],'content':this[_0x47948c(0x402)]['t']('session.connection-failed')}),_0x58e06f['id']===_0x145b5b[_0x47948c(0x27f)][_0x47948c(0x412)]&&this[_0x47948c(0x449)][_0x47948c(0x1fa)]({'type':_0x404916[_0x47948c(0x2d4)][_0x47948c(0x47a)],'content':this[_0x47948c(0x402)]['t'](_0x47948c(0x36c))});}));}};_0x713d47=_0x19c59b([_0x42fb77(0x0,_0x4b3ed5[_0x311f42(0x29b)]),_0x42fb77(0x1,_0x145b5b[_0x311f42(0x45e)]),_0x42fb77(0x2,_0x2cbbfa[_0x311f42(0x229)](_0x145b5b[_0x311f42(0x41d)])),_0x42fb77(0x3,_0x4b3ed5[_0x311f42(0x339)]),_0x42fb77(0x4,_0x4b3ed5[_0x311f42(0x1f1)]),_0x42fb77(0x5,_0x2cbbfa['Inject'](_0x2cbbfa[_0x311f42(0x3e6)]))],_0x713d47);const _0x1d920a=_0x311f42(0x222),_0x45b2b9={};var _0x5efbf2=Object[_0x311f42(0x3d4)],_0x255631=(_0x21f2dc,_0x5cc409,_0x501e0c,_0x5530a5)=>{const _0x1d959f=_0x311f42;for(var _0xf6a19e=_0x5530a5>0x1?void 0x0:_0x5530a5?_0x5efbf2(_0x5cc409,_0x501e0c):_0x5cc409,_0x38ae84=_0x21f2dc[_0x1d959f(0x2bd)]-0x1,_0x226a1c;_0x38ae84>=0x0;_0x38ae84--)(_0x226a1c=_0x21f2dc[_0x38ae84])&&(_0xf6a19e=_0x226a1c(_0xf6a19e)||_0xf6a19e);return _0xf6a19e;},_0x46bef4=(_0x3ea996,_0x1a5491)=>(_0x24b39c,_0x16b704)=>_0x1a5491(_0x24b39c,_0x16b704,_0x3ea996);let _0x1e8ee4=class{constructor(_0x3aced3,_0x4974ea){this['_transformService']=_0x3aced3,this['_renderManagerService']=_0x4974ea;}[_0x311f42(0x2f9)](_0x23d378){const _0x5e1edd=_0x311f42;this[_0x5e1edd(0x213)](_0x23d378),this[_0x5e1edd(0x31a)](_0x23d378);}[_0x311f42(0x2d9)](_0x1f8741){const _0x3cf44c=_0x311f42,{unitID:_0x55d7ea}=_0x1f8741,_0x18841a=this[_0x3cf44c(0x42b)][_0x3cf44c(0x265)](_0x55d7ea)['with'](_0x5e3fdb['DocIMEInputManagerService']),{redoCache:_0x34b90d}=_0x18841a[_0x3cf44c(0x3e7)]();if(_0x34b90d[_0x3cf44c(0x2bd)]===0x0)return _0x1f8741;let _0x34839e=_0x2cbbfa[_0x3cf44c(0x381)][_0x3cf44c(0x2e6)](_0x1f8741['mutations'][0x0]);for(let _0x588a57=0x0;_0x588a57<_0x34b90d[_0x3cf44c(0x2bd)];_0x588a57++){const _0x1d6325={'id':_0x3cf44c(0x1d3),'params':{..._0x34b90d[_0x588a57]}},_0x253a5f=this[_0x3cf44c(0x281)]['transformMutation'](_0x34839e,_0x1d6325,!0x1);if(_0x278572['isTransformMutationFailure'](_0x253a5f))throw _0x253a5f[_0x3cf44c(0x369)];_0x34839e=_0x253a5f['m1Prime'];}return{..._0x2cbbfa['Tools'][_0x3cf44c(0x2e6)](_0x1f8741),'mutations':[_0x34839e]};}[_0x311f42(0x213)](_0x3fa8c5){const _0x200dd3=_0x311f42,{unitID:_0x159ba4}=_0x3fa8c5,_0x1c236d=this['_renderManagerService'][_0x200dd3(0x265)](_0x159ba4)[_0x200dd3(0x34f)](_0x5e3fdb[_0x200dd3(0x432)]),{undoCache:_0x2931e2,redoCache:_0xd2c400}=_0x1c236d[_0x200dd3(0x3e7)]();if(_0x2931e2[_0x200dd3(0x2bd)]===0x0||_0xd2c400['length']===0x0)return;const _0x3fa924=[],_0x216168=[];let _0x4a7eb2=_0x2cbbfa[_0x200dd3(0x381)]['deepClone'](_0x3fa8c5[_0x200dd3(0x430)][0x0]),_0x4de0df=_0x2cbbfa[_0x200dd3(0x381)][_0x200dd3(0x2e6)](_0x3fa8c5[_0x200dd3(0x430)][0x0]);for(let _0x36c76c=_0x2931e2[_0x200dd3(0x2bd)]-0x1;_0x36c76c>=0x0;_0x36c76c--){const _0x2644fe={'id':_0x200dd3(0x1d3),'params':{..._0x2931e2[_0x36c76c]}},_0x379c92={'id':_0x200dd3(0x1d3),'params':{..._0xd2c400[_0x36c76c]}},_0x1cc557=this['_transformService']['transformMutation'](_0x4a7eb2,_0x2644fe,!0x1),_0x544407=this['_transformService'][_0x200dd3(0x2b4)](_0x4de0df,_0x379c92,!0x1);if(_0x278572['isTransformMutationFailure'](_0x1cc557))throw _0x1cc557[_0x200dd3(0x369)];if(_0x278572['isTransformMutationFailure'](_0x544407))throw _0x544407[_0x200dd3(0x369)];_0x3fa924[_0x200dd3(0x404)](_0x1cc557[_0x200dd3(0x2a9)][_0x200dd3(0x3fa)]),_0x216168[_0x200dd3(0x404)](_0x544407[_0x200dd3(0x2a9)]['params']),_0x4a7eb2=_0x1cc557[_0x200dd3(0x2d3)],_0x4de0df=_0x544407[_0x200dd3(0x2d3)];}_0x1c236d[_0x200dd3(0x377)]({'undoCache':_0x3fa924,'redoCache':_0x216168});}['_transformPreviousActiveRange'](_0x277d57){const _0x1b66e7=_0x311f42,{unitID:_0xa5f53f}=_0x277d57,_0x2df2b6=this[_0x1b66e7(0x42b)][_0x1b66e7(0x265)](_0xa5f53f)[_0x1b66e7(0x34f)](_0x5e3fdb[_0x1b66e7(0x432)]),_0x2cbe1c=_0x2df2b6[_0x1b66e7(0x1db)]();if(_0x2cbe1c==null)return;const _0x2b7845=[{'id':_0x1b66e7(0x1d3),'params':{'unitId':_0x277d57['unitID'],'actions':null,'textRanges':[_0x2cbe1c]}}],_0x3ac180=this[_0x1b66e7(0x281)][_0x1b66e7(0x322)](_0x277d57,_0x2b7845);if(!_0x278572[_0x1b66e7(0x376)](_0x3ac180))throw _0x3ac180['error'];const _0x3ef9f3=_0x3ac180['m2Prime'][0x0][_0x1b66e7(0x3fa)]['textRanges'];Array[_0x1b66e7(0x46b)](_0x3ef9f3)&&_0x3ef9f3['length']&&_0x2df2b6[_0x1b66e7(0x30e)](_0x3ef9f3[0x0]);}};_0x1e8ee4=_0x255631([_0x46bef4(0x0,_0x278572['ITransformService']),_0x46bef4(0x1,_0x5d67f3[_0x311f42(0x2ec)])],_0x1e8ee4);var _0x58fe85=Object[_0x311f42(0x3d4)],_0x2955ce=(_0x5d5c46,_0xfc0215,_0x1fad34,_0x22d81c)=>{const _0x481f2f=_0x311f42;for(var _0x339db8=_0x22d81c>0x1?void 0x0:_0x22d81c?_0x58fe85(_0xfc0215,_0x1fad34):_0xfc0215,_0x3d78fb=_0x5d5c46[_0x481f2f(0x2bd)]-0x1,_0x49ee28;_0x3d78fb>=0x0;_0x3d78fb--)(_0x49ee28=_0x5d5c46[_0x3d78fb])&&(_0x339db8=_0x49ee28(_0x339db8)||_0x339db8);return _0x339db8;},_0x48b82c=(_0x1262c7,_0x3a10da)=>(_0x293960,_0x2ee6ff)=>_0x3a10da(_0x293960,_0x2ee6ff,_0x1262c7);let _0x20ffc4=class{constructor(_0x4bcb19,_0x5acca9,_0x5ad14b){const _0x184bfb=_0x311f42;this[_0x184bfb(0x3f1)]=_0x4bcb19,this[_0x184bfb(0x281)]=_0x5acca9,this[_0x184bfb(0x397)]=_0x5ad14b;}[_0x311f42(0x3ad)](_0x5a0ffe){const _0x569f8f=_0x311f42;this[_0x569f8f(0x330)](_0x5a0ffe);}[_0x311f42(0x2d9)](_0x5b1c27){const _0x442fd2=_0x311f42,{unitID:_0x3d2055}=_0x5b1c27,{collaboration:_0x2278a4}=this[_0x442fd2(0x397)][_0x442fd2(0x3db)](_0x3d2055);if(_0x2278a4[_0x442fd2(0x2bd)]===0x0)return _0x5b1c27;let _0x452ee0=_0x2cbbfa[_0x442fd2(0x381)]['deepClone'](_0x5b1c27['mutations'][0x0]);for(let _0x2e65ff=0x0;_0x2e65ff<_0x2278a4[_0x442fd2(0x2bd)];_0x2e65ff++){const _0x2723c5={'id':_0x442fd2(0x1d3),'params':{'unitId':_0x2278a4[_0x2e65ff]['unitId'],..._0x2278a4[_0x2e65ff][_0x442fd2(0x228)]}},_0x3453e2=this[_0x442fd2(0x281)][_0x442fd2(0x2b4)](_0x452ee0,_0x2723c5,!0x1);if(_0x278572['isTransformMutationFailure'](_0x3453e2))throw _0x3453e2[_0x442fd2(0x369)];_0x452ee0=_0x3453e2[_0x442fd2(0x2d3)];}return{..._0x2cbbfa['Tools'][_0x442fd2(0x2e6)](_0x5b1c27),'mutations':[_0x452ee0]};}[_0x311f42(0x330)](_0x243b8c){const _0xabb22c=_0x311f42,{unitID:_0x52d485}=_0x243b8c,{history:_0x31bcc5,collaboration:_0x1a8195}=this[_0xabb22c(0x397)]['getStateCache'](_0x52d485);if(_0x31bcc5[_0xabb22c(0x2bd)]===0x0&&_0x1a8195[_0xabb22c(0x2bd)]===0x0)return;const _0x54597d=[],_0x190d4f=[];let _0x352fa6=_0x2cbbfa[_0xabb22c(0x381)][_0xabb22c(0x2e6)](_0x243b8c[_0xabb22c(0x430)][0x0]),_0xee8bbe=_0x2cbbfa[_0xabb22c(0x381)][_0xabb22c(0x2e6)](_0x243b8c[_0xabb22c(0x430)][0x0]);for(let _0xee2f7a=_0x31bcc5[_0xabb22c(0x2bd)]-0x1;_0xee2f7a>=0x0;_0xee2f7a--){const _0x27dfdb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31bcc5[_0xee2f7a][_0xabb22c(0x427)],..._0x31bcc5[_0xee2f7a][_0xabb22c(0x2ae)]}},_0x44d05e={'id':_0xabb22c(0x1d3),'params':{'unitId':_0x31bcc5[_0xee2f7a]['unitId'],..._0x31bcc5[_0xee2f7a][_0xabb22c(0x228)]}},_0x1d3ff8=this[_0xabb22c(0x281)][_0xabb22c(0x2b4)](_0x352fa6,_0x27dfdb,!0x1),_0x861134=this[_0xabb22c(0x281)]['transformMutation'](_0xee8bbe,_0x44d05e,!0x1);if(_0x278572[_0xabb22c(0x349)](_0x1d3ff8))throw _0x1d3ff8[_0xabb22c(0x369)];if(_0x278572[_0xabb22c(0x349)](_0x861134))throw _0x861134[_0xabb22c(0x369)];_0x54597d[_0xabb22c(0x404)]({..._0x31bcc5[_0xee2f7a],'undoState':_0x1d3ff8['m2Prime']['params'],'redoState':_0x861134[_0xabb22c(0x2a9)][_0xabb22c(0x3fa)]}),_0x352fa6=_0x1d3ff8['m1Prime'],_0xee8bbe=_0x861134[_0xabb22c(0x2d3)];}_0x352fa6=_0x2cbbfa['Tools'][_0xabb22c(0x2e6)](_0x243b8c[_0xabb22c(0x430)][0x0]),_0xee8bbe=_0x2cbbfa[_0xabb22c(0x381)]['deepClone'](_0x243b8c[_0xabb22c(0x430)][0x0]);for(let _0x49cf2a=_0x1a8195[_0xabb22c(0x2bd)]-0x1;_0x49cf2a>=0x0;_0x49cf2a--){const _0x1960d6={'id':_0xabb22c(0x1d3),'params':{'unitId':_0x1a8195[_0x49cf2a][_0xabb22c(0x427)],..._0x1a8195[_0x49cf2a][_0xabb22c(0x2ae)]}},_0x4994ec={'id':_0xabb22c(0x1d3),'params':{'unitId':_0x1a8195[_0x49cf2a][_0xabb22c(0x427)],..._0x1a8195[_0x49cf2a][_0xabb22c(0x228)]}},_0x15ad06=this[_0xabb22c(0x281)]['transformMutation'](_0x352fa6,_0x1960d6,!0x1),_0x1adb4d=this[_0xabb22c(0x281)][_0xabb22c(0x2b4)](_0xee8bbe,_0x4994ec,!0x1);if(_0x278572['isTransformMutationFailure'](_0x15ad06))throw _0x15ad06[_0xabb22c(0x369)];if(_0x278572[_0xabb22c(0x349)](_0x1adb4d))throw _0x1adb4d[_0xabb22c(0x369)];_0x190d4f[_0xabb22c(0x404)]({..._0x1a8195[_0x49cf2a],'undoState':_0x15ad06['m2Prime'][_0xabb22c(0x3fa)],'redoState':_0x1adb4d['m2Prime']['params']}),_0x352fa6=_0x15ad06[_0xabb22c(0x2d3)],_0xee8bbe=_0x1adb4d[_0xabb22c(0x2d3)];}this['_docStateChangeManagerService'][_0xabb22c(0x464)](_0x52d485,{'history':_0x54597d,'collaboration':_0x190d4f});}};_0x20ffc4=_0x2955ce([_0x48b82c(0x0,_0x2cbbfa['Inject'](_0x2cbbfa[_0x311f42(0x338)])),_0x48b82c(0x1,_0x278572['ITransformService']),_0x48b82c(0x2,_0x2cbbfa[_0x311f42(0x229)](_0x5e3fdb['DocStateChangeManagerService']))],_0x20ffc4);var _0x5bb2e3=Object[_0x311f42(0x3d4)],_0x55e6ae=(_0xa887cb,_0x47f18f,_0x481c3b,_0x6ad4a9)=>{const _0x2bca3e=_0x311f42;for(var _0x3e8cde=_0x6ad4a9>0x1?void 0x0:_0x6ad4a9?_0x5bb2e3(_0x47f18f,_0x481c3b):_0x47f18f,_0x4a9a49=_0xa887cb[_0x2bca3e(0x2bd)]-0x1,_0xcecb3c;_0x4a9a49>=0x0;_0x4a9a49--)(_0xcecb3c=_0xa887cb[_0x4a9a49])&&(_0x3e8cde=_0xcecb3c(_0x3e8cde)||_0x3e8cde);return _0x3e8cde;},_0x54b761=(_0xe6a4ed,_0x16c7f4)=>(_0x2e3d87,_0x118648)=>_0x16c7f4(_0x2e3d87,_0x118648,_0xe6a4ed);let _0x22f635=class{constructor(_0x20bac1,_0x550757){const _0x213621=_0x311f42;this[_0x213621(0x3f1)]=_0x20bac1,this[_0x213621(0x281)]=_0x550757;}[_0x311f42(0x41a)](_0x5a6cf2){const _0x5016a6=_0x311f42;var _0x395b5b;const _0x272779=this[_0x5016a6(0x3f1)][_0x5016a6(0x2de)](_0x4f3300['DocSelectionManagerService']),_0x421b4a=(_0x395b5b=_0x272779[_0x5016a6(0x3e1)]())!=null?_0x395b5b:[];if(_0x421b4a['length']===0x0)return;const _0xc74968=_0x5a6cf2[_0x5016a6(0x3b8)],_0x178022=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xc74968,'actions':null,'textRanges':_0x421b4a}}],_0xf93481=this['_transformService'][_0x5016a6(0x322)](_0x5a6cf2,_0x178022);if(!_0x278572['isTransformMutationsWithChangesetSuccess'](_0xf93481))throw _0xf93481['error'];const _0x185942=_0xf93481[_0x5016a6(0x2a9)][0x0][_0x5016a6(0x3fa)][_0x5016a6(0x34a)];Array['isArray'](_0x185942)&&_0x185942[_0x5016a6(0x2bd)]&&_0x272779[_0x5016a6(0x35d)](_0x185942,{'unitId':_0xc74968,'subUnitId':_0xc74968},!0x1);}};_0x22f635=_0x55e6ae([_0x54b761(0x0,_0x2cbbfa['Inject'](_0x2cbbfa['Injector'])),_0x54b761(0x1,_0x278572[_0x311f42(0x207)])],_0x22f635);var _0x177a91=Object[_0x311f42(0x3d4)],_0x34db3b=(_0x22423e,_0x451f4a,_0x45788a,_0x21f6eb)=>{const _0x1b163d=_0x311f42;for(var _0x25147a=_0x21f6eb>0x1?void 0x0:_0x21f6eb?_0x177a91(_0x451f4a,_0x45788a):_0x451f4a,_0x21cbb7=_0x22423e[_0x1b163d(0x2bd)]-0x1,_0x5baf0c;_0x21cbb7>=0x0;_0x21cbb7--)(_0x5baf0c=_0x22423e[_0x21cbb7])&&(_0x25147a=_0x5baf0c(_0x25147a)||_0x25147a);return _0x25147a;},_0x34bbd7=(_0x2b3149,_0x2ebd9f)=>(_0x5ad8e1,_0x202c9b)=>_0x2ebd9f(_0x5ad8e1,_0x202c9b,_0x2b3149);let _0x1294eb=class extends _0x2cbbfa[_0x311f42(0x40a)]{constructor(_0x3d3409,_0x12af34,_0x355cd1,_0x234e82,_0x1cba10,_0x29f469,_0x10cf0e,_0x5d1288){const _0x10e019=_0x311f42;super(),_0xe6c276(this,_0x10e019(0x2cc),new _0xf7bf00['BehaviorSubject'](_0x145b5b['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x3d3409,this[_0x10e019(0x328)]=_0x12af34,this['_docTransformIMECacheService']=_0x355cd1,this[_0x10e019(0x2d2)]=_0x234e82,this['_docTransformSelectionsService']=_0x1cba10,this['_docSyncEditingCollabCursorService']=_0x29f469,this['_messageService']=_0x10cf0e,this[_0x10e019(0x402)]=_0x5d1288,this[_0x10e019(0x2f1)]());}['_initEntityListener'](){const _0x323e3a=_0x311f42;this[_0x323e3a(0x32d)](this[_0x323e3a(0x328)]['entityInit$'][_0x323e3a(0x44d)](_0x18e943=>{const _0x38f101=_0x323e3a,_0x5eb33f=this[_0x38f101(0x397)]['docStateChange$'][_0x38f101(0x44d)](_0x28367a=>{const _0x1b3e8d=_0x38f101;if(_0x28367a==null)return;const {unitId:_0x5c6453,redoState:_0x1c1878,commandId:_0x192c75}=_0x28367a;if(_0x5c6453!==_0x18e943[_0x1b3e8d(0x3b8)])return;const _0x2869fc={'id':_0x192c75,'type':_0x2cbbfa[_0x1b3e8d(0x2c2)][_0x1b3e8d(0x3d0)],'params':{'unitId':_0x5c6453,'actions':_0x1c1878[_0x1b3e8d(0x456)],'textRanges':null}};_0x18e943[_0x1b3e8d(0x2bb)](_0x2869fc);});if(_0x18e943[_0x38f101(0x32d)](_0x5eb33f),_0x18e943 instanceof _0x145b5b[_0x38f101(0x42c)]){const _0x4b1727={'onTransformIME':_0xb23ddb=>this[_0x38f101(0x22d)][_0x38f101(0x2f9)](_0xb23ddb),'onTransformState':_0x261c96=>this['_docTransformStateCacheService'][_0x38f101(0x3ad)](_0x261c96),'onTransformSelections':_0x8fd407=>this[_0x38f101(0x2ff)][_0x38f101(0x41a)](_0x8fd407),'onSyncEditingCollabCursor':_0x220841=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x220841),'onTransformRemoteChangesetByIMECache':_0x1a81cc=>this['_docTransformIMECacheService'][_0x38f101(0x2d9)](_0x1a81cc),'onTransformRemoteChangesetByStateCache':_0x3b58ee=>this[_0x38f101(0x2d2)][_0x38f101(0x2d9)](_0x3b58ee)};_0x18e943['addHandlerCallback'](_0x4b1727);}}));}};_0x1294eb=_0x34db3b([_0x34bbd7(0x0,_0x2cbbfa[_0x311f42(0x229)](_0x5e3fdb[_0x311f42(0x2e4)])),_0x34bbd7(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x145b5b[_0x311f42(0x1f3)])),_0x34bbd7(0x2,_0x2cbbfa['Inject'](_0x1e8ee4)),_0x34bbd7(0x3,_0x2cbbfa[_0x311f42(0x229)](_0x20ffc4)),_0x34bbd7(0x4,_0x2cbbfa[_0x311f42(0x229)](_0x22f635)),_0x34bbd7(0x5,_0x2cbbfa[_0x311f42(0x229)](_0x3e1c93)),_0x34bbd7(0x6,_0x4b3ed5[_0x311f42(0x339)]),_0x34bbd7(0x7,_0x2cbbfa[_0x311f42(0x229)](_0x2cbbfa[_0x311f42(0x3e6)]))],_0x1294eb);var _0x55b3ea=Object['getOwnPropertyDescriptor'],_0x46c9b5=(_0x2a1b6b,_0x114776,_0x2d9cac,_0x44dd86)=>{const _0x105daf=_0x311f42;for(var _0x37f144=_0x44dd86>0x1?void 0x0:_0x44dd86?_0x55b3ea(_0x114776,_0x2d9cac):_0x114776,_0x49b858=_0x2a1b6b[_0x105daf(0x2bd)]-0x1,_0x1a5762;_0x49b858>=0x0;_0x49b858--)(_0x1a5762=_0x2a1b6b[_0x49b858])&&(_0x37f144=_0x1a5762(_0x37f144)||_0x37f144);return _0x37f144;},_0x1e7db8=(_0x847187,_0x490788)=>(_0x926062,_0x2685a7)=>_0x490788(_0x926062,_0x2685a7,_0x847187);let _0x38c6f3=class extends _0x2cbbfa[_0x311f42(0x40a)]{constructor(_0xbd132d,_0x3dd672,_0x3aab0e){const _0x520b0b=_0x311f42;super(),_0xe6c276(this,_0x520b0b(0x275),new Map()),_0xe6c276(this,'_saveTaskMap',new Map()),_0xe6c276(this,_0x520b0b(0x388),!0x1),(this[_0x520b0b(0x368)]=_0xbd132d,this['_localStorageService']=_0x3dd672,this[_0x520b0b(0x38d)]=_0x3aab0e);}[_0x311f42(0x3a9)](){const _0x4abbb4=_0x311f42;this[_0x4abbb4(0x388)]=!0x0;}['enableLocalCache'](){const _0x2396df=_0x311f42;this[_0x2396df(0x388)]=!0x1;}get[_0x311f42(0x415)](){const _0x8b90e=_0x311f42;return this[_0x8b90e(0x47e)];}[_0x311f42(0x22e)](){const _0x3e0ef8=_0x311f42;this[_0x3e0ef8(0x3d5)]()[_0x3e0ef8(0x478)](()=>super[_0x3e0ef8(0x22e)]());}async[_0x311f42(0x472)](_0x3c6fd1){const _0x1bdb75=_0x311f42;return this[_0x1bdb75(0x388)]?null:this[_0x1bdb75(0x267)][_0x1bdb75(0x3c6)](_0x145b5b[_0x1bdb75(0x405)](_0x3c6fd1));}async[_0x311f42(0x36d)](_0x56d6e5,_0xa8a1e){const _0x25a6dc=_0x311f42;return!!this[_0x25a6dc(0x267)][_0x25a6dc(0x1f5)](_0x56d6e5,_0xa8a1e);}[_0x311f42(0x40f)](_0x6be5be,_0x349257,_0x2442df,_0x5e3f06){const _0x9e1dcb=_0x311f42,_0x3b9d08=this[_0x9e1dcb(0x38d)][_0x9e1dcb(0x282)](_0x6be5be);this[_0x9e1dcb(0x275)][_0x9e1dcb(0x1d6)](_0x6be5be,{'unitID':_0x6be5be,'type':_0x349257,'awaitingChangeset':_0x2442df,'mutations':_0x5e3f06,'rev':_0x3b9d08}),this[_0x9e1dcb(0x47e)]['has'](_0x6be5be)||this[_0x9e1dcb(0x1ff)](_0x6be5be);}[_0x311f42(0x1ff)](_0x5dc342){const _0x2dd857=_0x311f42,_0x56cc04=this['_getSaveTimeout']();_0x56cc04===0x0?this['_saveCache'](_0x5dc342):this[_0x2dd857(0x47e)]['set'](_0x5dc342,setTimeout(()=>this['_saveCache'](_0x5dc342),_0x56cc04));}[_0x311f42(0x407)](){const _0x359479=_0x311f42;var _0x1e98ba;return(_0x1e98ba=this[_0x359479(0x368)][_0x359479(0x1d1)](_0x145b5b[_0x359479(0x27d)]))!=null?_0x1e98ba:_0x145b5b[_0x359479(0x218)];}[_0x311f42(0x471)](_0x1ca0ab){const _0xffb599=_0x311f42,_0x2d4d74=this[_0xffb599(0x47e)][_0xffb599(0x2de)](_0x1ca0ab);return _0x2d4d74!==void 0x0&&window[_0xffb599(0x269)](_0x2d4d74),this[_0xffb599(0x267)][_0xffb599(0x1f5)](_0x145b5b['getLocalCacheKey'](_0x1ca0ab),this[_0xffb599(0x275)][_0xffb599(0x2de)](_0x1ca0ab))[_0xffb599(0x478)](()=>this[_0xffb599(0x47e)]['delete'](_0x1ca0ab));}async[_0x311f42(0x3d5)](){const _0x2b94fa=_0x311f42,_0x5a2b79=[];this[_0x2b94fa(0x47e)]['forEach']((_0x134832,_0x19c12c)=>{const _0xd933f=_0x2b94fa;window[_0xd933f(0x269)](_0x134832),_0x5a2b79[_0xd933f(0x421)](this[_0xd933f(0x471)](_0x19c12c)['then'](()=>{this['_saveTaskMap']['delete'](_0x19c12c);}));}),await Promise[_0x2b94fa(0x391)](_0x5a2b79);}};_0x38c6f3=_0x46c9b5([_0x1e7db8(0x0,_0x2cbbfa[_0x311f42(0x212)]),_0x1e7db8(0x1,_0x2cbbfa[_0x311f42(0x348)]),_0x1e7db8(0x2,_0x2cbbfa[_0x311f42(0x229)](_0x278572[_0x311f42(0x480)]))],_0x38c6f3);class _0x332a20 extends _0x2cbbfa[_0x311f42(0x2f5)]{constructor(){const _0xd1ae1a=_0x311f42;super(),_0xe6c276(this,_0xd1ae1a(0x2a5)),this['urlChange$']=_0xf7bf00[_0xd1ae1a(0x2dd)](window,_0xd1ae1a(0x3aa))[_0xd1ae1a(0x2b2)](_0xf7bf00[_0xd1ae1a(0x36b)](this[_0xd1ae1a(0x289)]),_0xf7bf00[_0xd1ae1a(0x3ac)](0x1),_0xf7bf00[_0xd1ae1a(0x1e0)](void 0x0));}['setParam'](_0x5c86f2,_0x25383e,_0x2bfbcb=!0x1){const _0x2e9fbe=_0x311f42,_0x5954bd=new URL(window[_0x2e9fbe(0x2df)][_0x2e9fbe(0x452)]);_0x5954bd[_0x2e9fbe(0x331)][_0x2e9fbe(0x1d6)](_0x5c86f2,_0x25383e),_0x2bfbcb?window[_0x2e9fbe(0x1de)][_0x2e9fbe(0x3a3)]('','',_0x5954bd['toString']()):window['history'][_0x2e9fbe(0x2a3)]('','',_0x5954bd['toString']());}[_0x311f42(0x3ba)](_0x5aab8b,_0x209b66=!0x1){const _0x3f03c7=_0x311f42,_0x309dc6=new URL(window[_0x3f03c7(0x2df)][_0x3f03c7(0x452)]);_0x309dc6[_0x3f03c7(0x331)][_0x3f03c7(0x292)](_0x5aab8b),_0x209b66?window[_0x3f03c7(0x1de)][_0x3f03c7(0x3a3)]('','',_0x309dc6[_0x3f03c7(0x3d6)]()):window['history'][_0x3f03c7(0x2a3)]('','',_0x309dc6[_0x3f03c7(0x3d6)]());}['getParam'](_0x44711c){const _0x472a39=_0x311f42;var _0x19fc1c;return(_0x19fc1c=new URL(window[_0x472a39(0x2df)][_0x472a39(0x452)])[_0x472a39(0x331)][_0x472a39(0x2de)](_0x44711c))!=null?_0x19fc1c:void 0x0;}}var _0x240d23=Object['defineProperty'],_0x23e1e8=Object['getOwnPropertyDescriptor'],_0x34e1aa=(_0x194d6e,_0x190e36,_0x3c31a4)=>_0x190e36 in _0x194d6e?_0x240d23(_0x194d6e,_0x190e36,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c31a4}):_0x194d6e[_0x190e36]=_0x3c31a4,_0x4ccbdd=(_0x4eaecd,_0x5f46fe,_0x56fe93,_0x88f224)=>{const _0x394d15=_0x311f42;for(var _0x44b835=_0x88f224>0x1?void 0x0:_0x88f224?_0x23e1e8(_0x5f46fe,_0x56fe93):_0x5f46fe,_0x5def69=_0x4eaecd[_0x394d15(0x2bd)]-0x1,_0xfc70c8;_0x5def69>=0x0;_0x5def69--)(_0xfc70c8=_0x4eaecd[_0x5def69])&&(_0x44b835=_0xfc70c8(_0x44b835)||_0x44b835);return _0x44b835;},_0x103a0a=(_0x212980,_0x5ac048)=>(_0x3826dc,_0x4b4169)=>_0x5ac048(_0x3826dc,_0x4b4169,_0x212980),_0xf79c6b=(_0x36f3c4,_0x3ce2bf,_0x5525de)=>_0x34e1aa(_0x36f3c4,_0x3ce2bf+'',_0x5525de);const _0x5b46fe=_0x311f42(0x20a);_0x4e7c38[_0x311f42(0x2c3)]=class extends _0x2cbbfa[_0x311f42(0x41f)]{constructor(_0x4abad7=_0x45b2b9,_0x4a4d1d,_0xbd6189,_0x2e92ce){const _0x36d05f=_0x311f42;super(),this[_0x36d05f(0x356)]=_0x4abad7,this['_renderManagerService']=_0x4a4d1d,this[_0x36d05f(0x3f1)]=_0xbd6189,this[_0x36d05f(0x368)]=_0x2e92ce;const {..._0x386655}=_0x2cbbfa[_0x36d05f(0x335)]({},_0x45b2b9,this[_0x36d05f(0x356)]);this[_0x36d05f(0x368)][_0x36d05f(0x205)](_0x1d920a,_0x386655);}[_0x311f42(0x243)](){const _0x3174e3=_0x311f42;this[_0x3174e3(0x2dc)](),this['_initDependencies']();}['onRendered'](){this['_registerRenderDependencies']();}[_0x311f42(0x2dc)](){const _0x55f9b2=_0x311f42;var _0x471d70;const _0x117064=[[_0x5a339c],[_0x22f635],[_0x1e8ee4],[_0x20ffc4],[_0x3e1c93],[_0x530712,{'useClass':_0x332a20}],[_0x55c378[_0x55f9b2(0x360)],{'useClass':_0x55c378[_0x55f9b2(0x41e)]}],[_0x145b5b[_0x55f9b2(0x45e)],{'useClass':_0x38c6f3}],[_0x4e7c38[_0x55f9b2(0x321)]],[_0x1294eb],[_0x713d47],[_0xa564bf],[_0x1aa902],[_0x4e7c38[_0x55f9b2(0x3bf)]]];_0x2cbbfa[_0x55f9b2(0x43d)](this['_injector'],_0x2cbbfa[_0x55f9b2(0x223)](_0x117064,(_0x471d70=this[_0x55f9b2(0x356)])==null?void 0x0:_0x471d70[_0x55f9b2(0x263)]));}[_0x311f42(0x1ee)](){const _0x52d63a=_0x311f42;this[_0x52d63a(0x32d)](this[_0x52d63a(0x42b)]['registerRenderModule'](_0x2cbbfa[_0x52d63a(0x3f0)][_0x52d63a(0x2d6)],[_0x45a73b])),this[_0x52d63a(0x32d)](this[_0x52d63a(0x42b)][_0x52d63a(0x3bc)](_0x2cbbfa[_0x52d63a(0x3f0)][_0x52d63a(0x363)],[_0x201e9b]));}[_0x311f42(0x286)](){const _0x18a6a1=_0x311f42;_0x2cbbfa[_0x18a6a1(0x399)](this[_0x18a6a1(0x3f1)],[[_0xa564bf],[_0x4e7c38[_0x18a6a1(0x321)]],[_0x1294eb],[_0x713d47],[_0x4e7c38[_0x18a6a1(0x3bf)]]]);}},_0xf79c6b(_0x4e7c38[_0x311f42(0x2c3)],_0x311f42(0x477),_0x5b46fe),_0x4e7c38[_0x311f42(0x2c3)]=_0x4ccbdd([_0x2cbbfa[_0x311f42(0x3ee)](_0x145b5b['UniverCollaborationClientPlugin']),_0x103a0a(0x1,_0x5d67f3[_0x311f42(0x2ec)]),_0x103a0a(0x2,_0x2cbbfa['Inject'](_0x2cbbfa[_0x311f42(0x338)])),_0x103a0a(0x3,_0x2cbbfa[_0x311f42(0x212)])],_0x4e7c38[_0x311f42(0x2c3)]);var _0x47e7a1=Object['getOwnPropertyDescriptor'],_0x289ced=(_0x29080b,_0x5799a1,_0x27d83f,_0xe28f91)=>{const _0x31019b=_0x311f42;for(var _0x236504=_0xe28f91>0x1?void 0x0:_0xe28f91?_0x47e7a1(_0x5799a1,_0x27d83f):_0x5799a1,_0xb1276c=_0x29080b[_0x31019b(0x2bd)]-0x1,_0x12e72c;_0xb1276c>=0x0;_0xb1276c--)(_0x12e72c=_0x29080b[_0xb1276c])&&(_0x236504=_0x12e72c(_0x236504)||_0x236504);return _0x236504;},_0x2237e9=(_0x465b1d,_0x52118b)=>(_0x2d3d43,_0x30e282)=>_0x52118b(_0x2d3d43,_0x30e282,_0x465b1d);_0x4e7c38[_0x311f42(0x3fe)]=class extends _0x145b5b['CollaborationSocketService']{constructor(_0x532465,_0x24c23d,_0x25bf5c,_0x2df6cb,_0x3c9051){super(_0x532465,_0x24c23d,_0x25bf5c,_0x2df6cb,_0x3c9051);}async[_0x311f42(0x3b3)](_0x51ec39){const _0x1350b0=_0x311f42,_0x5b585a=await this[_0x1350b0(0x1e1)](),_0x381dde=this['_createSocketURL'](_0x51ec39,_0x5b585a);return this['_doCreateSocket'](_0x381dde);}[_0x311f42(0x2a6)](_0x5a1c2f,_0x1ab9dc){const _0x28f8ab=_0x311f42,_0xcb812=typeof window>'u'?new URL(_0x5a1c2f):new URL(_0x5a1c2f,window[_0x28f8ab(0x2df)]['origin']);_0xcb812['searchParams'][_0x28f8ab(0x1d6)](_0x28f8ab(0x444),_0x1ab9dc);const _0x2a6dd4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x28f8ab(0x22a)]);return _0x2a6dd4[_0x28f8ab(0x2de)](_0x28f8ab(0x314))&&_0xcb812[_0x28f8ab(0x331)][_0x28f8ab(0x1d6)]('runId',_0x2a6dd4[_0x28f8ab(0x2de)]('runId')),_0xcb812['toString']();}async[_0x311f42(0x1e1)](){const _0xd768d6=_0x311f42;var _0x4a5d15,_0x33f774,_0x369e08;const _0x5a79df=this[_0xd768d6(0x368)]['getConfig'](_0x145b5b[_0xd768d6(0x473)]),_0x160987=(_0x4a5d15=_0x5a79df==null?void 0x0:_0x5a79df[_0xd768d6(0x2ed)])!=null?_0x4a5d15:_0x145b5b[_0xd768d6(0x26b)];return(_0x369e08=(_0x33f774=(await this[_0xd768d6(0x2f4)][_0xd768d6(0x2de)](_0x160987,{'headers':{'Content-Type':_0xd768d6(0x2a4)}}))[_0xd768d6(0x403)])==null?void 0x0:_0x33f774['ticket'])!=null?_0x369e08:'';}},_0x4e7c38[_0x311f42(0x3fe)]=_0x289ced([_0x2237e9(0x0,_0x2cbbfa['Inject'](_0x2cbbfa[_0x311f42(0x338)])),_0x2237e9(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x55c378[_0x311f42(0x446)])),_0x2237e9(0x2,_0x2cbbfa['IConfigService']),_0x2237e9(0x3,_0x2cbbfa[_0x311f42(0x241)]),_0x2237e9(0x4,_0x278572[_0x311f42(0x447)])],_0x4e7c38[_0x311f42(0x3fe)]);var _0x454d7d=(_0x8341b8=>(_0x8341b8[_0x8341b8['UNDEFINED']=0x0]=_0x311f42(0x2be),_0x8341b8[_0x8341b8['OK']=0x1]='OK',_0x8341b8[_0x8341b8[_0x311f42(0x2a8)]=0x2]=_0x311f42(0x2a8),_0x8341b8[_0x8341b8['PERMISSION_DENIED']=0x3]=_0x311f42(0x3d9),_0x8341b8[_0x8341b8[_0x311f42(0x31b)]=0x4]=_0x311f42(0x31b),_0x8341b8[_0x8341b8[_0x311f42(0x1ec)]=0x5]=_0x311f42(0x1ec),_0x8341b8[_0x8341b8[_0x311f42(0x370)]=0x6]='ALREADY_EXISTS',_0x8341b8[_0x8341b8['INVALID_ARGUMENT']=0x7]=_0x311f42(0x23d),_0x8341b8[_0x8341b8[_0x311f42(0x3c2)]=0x8]='TOO_MANY_REQUESTS',_0x8341b8[_0x8341b8['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x8341b8[_0x8341b8[_0x311f42(0x319)]=0xa]=_0x311f42(0x319),_0x8341b8[_0x8341b8[_0x311f42(0x2af)]=0xb]=_0x311f42(0x2af),_0x8341b8[_0x8341b8[_0x311f42(0x3a0)]=0xc]=_0x311f42(0x3a0),_0x8341b8[_0x8341b8[_0x311f42(0x23a)]=0xd]=_0x311f42(0x23a),_0x8341b8[_0x8341b8[_0x311f42(0x2aa)]=0xe]=_0x311f42(0x2aa),_0x8341b8[_0x8341b8[_0x311f42(0x3c5)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x8341b8[_0x8341b8[_0x311f42(0x300)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x8341b8[_0x8341b8[_0x311f42(0x2db)]=0x1772]=_0x311f42(0x2db),_0x8341b8[_0x8341b8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x8341b8[_0x8341b8[_0x311f42(0x458)]=0x1b59]=_0x311f42(0x458),_0x8341b8[_0x8341b8[_0x311f42(0x25b)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x8341b8[_0x8341b8[_0x311f42(0x3bd)]=0x1b5b]=_0x311f42(0x3bd),_0x8341b8[_0x8341b8[_0x311f42(0x276)]=0x1b5c]=_0x311f42(0x276),_0x8341b8[_0x8341b8[_0x311f42(0x2a2)]=0x1b5d]=_0x311f42(0x2a2),_0x8341b8[_0x8341b8[_0x311f42(0x245)]=0x1f41]=_0x311f42(0x245),_0x8341b8[_0x8341b8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x311f42(0x354),_0x8341b8[_0x8341b8['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x311f42(0x290),_0x8341b8[_0x8341b8[_0x311f42(0x410)]=0x232b]=_0x311f42(0x410),_0x8341b8[_0x8341b8[_0x311f42(0x233)]=0x232c]=_0x311f42(0x233),_0x8341b8[_0x8341b8[_0x311f42(0x3c9)]=0x232d]=_0x311f42(0x3c9),_0x8341b8[_0x8341b8[_0x311f42(0x2a7)]=0x2711]=_0x311f42(0x2a7),_0x8341b8[_0x8341b8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x8341b8[_0x8341b8['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x8341b8[_0x8341b8[_0x311f42(0x31e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x8341b8[_0x8341b8['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x311f42(0x3b0),_0x8341b8[_0x8341b8[_0x311f42(0x414)]=0x271b]=_0x311f42(0x414),_0x8341b8[_0x8341b8[_0x311f42(0x2a1)]=0x271c]=_0x311f42(0x2a1),_0x8341b8[_0x8341b8['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x8341b8[_0x8341b8[_0x311f42(0x26d)]=0x271e]=_0x311f42(0x26d),_0x8341b8[_0x8341b8['YUUMI_AI_RUN_FAILED']=0x271f]=_0x311f42(0x24e),_0x8341b8[_0x8341b8[_0x311f42(0x1d2)]=0x2720]=_0x311f42(0x1d2),_0x8341b8[_0x8341b8[_0x311f42(0x3c0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x8341b8[_0x8341b8[_0x311f42(0x311)]=0x2ee1]=_0x311f42(0x311),_0x8341b8[_0x8341b8[_0x311f42(0x357)]=0x2ee2]=_0x311f42(0x357),_0x8341b8[_0x8341b8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x311f42(0x416),_0x8341b8[_0x8341b8[_0x311f42(0x3a6)]=0x2ee4]=_0x311f42(0x3a6),_0x8341b8[_0x8341b8[_0x311f42(0x469)]=0x2ee5]=_0x311f42(0x469),_0x8341b8[_0x8341b8[_0x311f42(0x2cf)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x8341b8[_0x8341b8['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x311f42(0x3a2),_0x8341b8[_0x8341b8['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x311f42(0x345),_0x8341b8[_0x8341b8[_0x311f42(0x23f)]=-0x1]=_0x311f42(0x23f),_0x8341b8))(_0x454d7d||{}),_0x224de0=Object[_0x311f42(0x3d4)],_0x5a831d=(_0x12f25e,_0x2846c6,_0x3d3119,_0x191aef)=>{const _0x46a2d2=_0x311f42;for(var _0x3085f2=_0x191aef>0x1?void 0x0:_0x191aef?_0x224de0(_0x2846c6,_0x3d3119):_0x2846c6,_0x11a4a2=_0x12f25e[_0x46a2d2(0x2bd)]-0x1,_0xe481c8;_0x11a4a2>=0x0;_0x11a4a2--)(_0xe481c8=_0x12f25e[_0x11a4a2])&&(_0x3085f2=_0xe481c8(_0x3085f2)||_0x3085f2);return _0x3085f2;},_0x2e00b7=(_0x9c65a5,_0x438742)=>(_0x3c7503,_0x4ca274)=>_0x438742(_0x3c7503,_0x4ca274,_0x9c65a5);_0x4e7c38[_0x311f42(0x226)]=class extends _0x2cbbfa['Disposable']{constructor(_0x49b144,_0x5e66ff,_0x56782f){const _0x1c7d46=_0x311f42;super(),this[_0x1c7d46(0x3dd)]=_0x49b144,this['_httpService']=_0x5e66ff,this['_configService']=_0x56782f;}async[_0x311f42(0x350)](_0x1cc6b1,_0x48e872,_0x273cd3,..._0x3da553){const _0x298aea=_0x311f42;var _0x7b4610,_0x552fd0,_0x157abe,_0x51de94;const _0x424b24=this[_0x298aea(0x3dd)][_0x298aea(0x202)]();if(!_0x424b24)throw new Error(_0x298aea(0x359));const _0xbb775a=((_0x7b4610=this[_0x298aea(0x368)]['getConfig'](_0x145b5b[_0x298aea(0x30c)]))!=null?_0x7b4610:_0x145b5b[_0x298aea(0x1f7)])+'/'+_0x1cc6b1+_0x298aea(0x21b)+_0x48e872,_0x54add1=new URL(window[_0x298aea(0x2df)][_0x298aea(0x452)]),_0x2c8941={'scriptId':_0x1cc6b1,'runId':(_0x552fd0=_0x54add1[_0x298aea(0x331)]['get'](_0x298aea(0x314)))!=null?_0x552fd0:'','function':_0x48e872,'unitId':_0x424b24[_0x298aea(0x3af)](),'argsOfFunction':JSON[_0x298aea(0x2ce)](_0x3da553),'invokeId':(_0x157abe=_0x273cd3[_0x298aea(0x336)])!=null?_0x157abe:'','executionId':(_0x51de94=_0x273cd3[_0x298aea(0x295)])!=null?_0x51de94:''};try{const _0x37b700=await this[_0x298aea(0x2f4)][_0x298aea(0x42a)](_0xbb775a,{'body':_0x2c8941});return _0x37b700[_0x298aea(0x403)][_0x298aea(0x369)]&&_0x37b700[_0x298aea(0x403)]['error'][_0x298aea(0x3f9)]!==_0x454d7d['OK']?_0x298aea(0x36e):_0x37b700['body'][_0x298aea(0x317)];}catch{return'Failed';}}},_0x4e7c38[_0x311f42(0x226)]=_0x5a831d([_0x2e00b7(0x0,_0x2cbbfa[_0x311f42(0x3fb)]),_0x2e00b7(0x1,_0x2cbbfa[_0x311f42(0x229)](_0x55c378['HTTPService'])),_0x2e00b7(0x2,_0x2cbbfa[_0x311f42(0x212)])],_0x4e7c38['RemoteUniscriptService']);const _0x140ba1=0x7530,_0x20c621=_0x311f42(0x351);class _0x4a9da2 extends _0x2cbbfa['Disposable']{constructor(){const _0x5e4131=_0x311f42;super(),_0xe6c276(this,_0x5e4131(0x41b),_0x2cbbfa['generateRandomId']()),_0xe6c276(this,_0x5e4131(0x2fc),new Set()),_0xe6c276(this,'_unitOnClients',new Map()),_0xe6c276(this,_0x5e4131(0x32f),null),_0xe6c276(this,_0x5e4131(0x44b),new Map()),_0xe6c276(this,_0x5e4131(0x1f0),new Map()),this[_0x5e4131(0x2c0)]();}['dispose'](){const _0x52cf47=_0x311f42;super[_0x52cf47(0x22e)](),this['_clearOtherTimers'][_0x52cf47(0x344)]((_0x394b53,_0x5cc5b2)=>this['_removeClearOtherTimer'](_0x5cc5b2)),this['_heartbeatTimer']&&window[_0x52cf47(0x355)](this[_0x52cf47(0x32f)]);}['getUnitStatus$'](_0x4cf5c5){const _0x517291=_0x311f42;return this[_0x517291(0x326)](_0x4cf5c5)[_0x517291(0x2b2)](_0xf7bf00[_0x517291(0x3f7)]());}[_0x311f42(0x2f2)](_0x562899){const _0x15871f=_0x311f42;this[_0x15871f(0x2fc)][_0x15871f(0x450)]===0x0&&this[_0x15871f(0x3a7)](),this[_0x15871f(0x2fc)][_0x15871f(0x266)](_0x562899),this[_0x15871f(0x270)]({'type':0x0,'memberID':this[_0x15871f(0x41b)],'unitIDs':[_0x562899],'isForwarded':!0x1});}[_0x311f42(0x373)](_0x140602){const _0x235601=_0x311f42;this[_0x235601(0x2fc)]['delete'](_0x140602),this[_0x235601(0x2fc)]['size']===0x0&&this[_0x235601(0x32f)]&&window[_0x235601(0x355)](this[_0x235601(0x32f)]);}[_0x311f42(0x2c0)](){const _0x461439=_0x311f42;this[_0x461439(0x32d)](_0x2cbbfa['toDisposable'](_0xf7bf00[_0x461439(0x2dd)](window,'storage')[_0x461439(0x44d)](_0x2fcd5c=>{const _0x55e1b7=_0x461439;if(_0x2fcd5c[_0x55e1b7(0x451)]!==_0x20c621||!_0x2fcd5c[_0x55e1b7(0x297)])return;const _0x121f18=JSON['parse'](_0x2fcd5c[_0x55e1b7(0x297)]);this[_0x55e1b7(0x470)](_0x121f18);}))),window[_0x461439(0x2c9)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x461439(0x41b)],'unitIDs':Array[_0x461439(0x316)](this['_selfUnitIDs'])}));}[_0x311f42(0x470)](_0x5b59f1){switch(_0x5b59f1['type']){case 0x0:this['_handleJoinEvent'](_0x5b59f1);break;case 0x1:this['_handleLeaveEvent'](_0x5b59f1);break;case 0x2:this['_handleHeartbeatEvent'](_0x5b59f1);break;}}[_0x311f42(0x39c)](_0x34b02e){const _0x2b6a08=_0x311f42,{unitIDs:_0x16a879,memberID:_0x12a1c7,isForwarded:_0x12d712}=_0x34b02e;_0x16a879[_0x2b6a08(0x344)](_0x456abc=>{const _0x2fd721=_0x2b6a08;if(!_0x12d712&&this[_0x2fd721(0x2b3)]['has'](_0x456abc)&&this[_0x2fd721(0x326)](_0x456abc)['next'](_0x145b5b[_0x2fd721(0x327)][_0x2fd721(0x3e2)]),!this[_0x2fd721(0x2b3)][_0x2fd721(0x40e)](_0x456abc)||!this[_0x2fd721(0x2b3)][_0x2fd721(0x2de)](_0x456abc)[_0x2fd721(0x40e)](_0x12a1c7)){const _0x250c8e=this['_unitOnClients']['get'](_0x456abc)||new Set();_0x250c8e[_0x2fd721(0x266)](_0x12a1c7),this[_0x2fd721(0x2b3)][_0x2fd721(0x1d6)](_0x456abc,_0x250c8e),this[_0x2fd721(0x3c7)](_0x12a1c7);}}),_0x12d712||this[_0x2b6a08(0x270)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2b6a08(0x2fc)]],'isForwarded':!0x0});}[_0x311f42(0x3c7)](_0x1ba467){const _0x57e191=_0x311f42;this[_0x57e191(0x32a)](_0x1ba467);const _0x261f0f=window[_0x57e191(0x272)](()=>{const _0x227e8a=_0x57e191;this[_0x227e8a(0x2b3)]['forEach'](_0x5efbc6=>{_0x5efbc6['delete'](_0x1ba467);});},_0x140ba1*0x2);this[_0x57e191(0x44b)]['set'](_0x1ba467,_0x261f0f);}[_0x311f42(0x32a)](_0x421529){const _0xd27eef=_0x311f42;if(this[_0xd27eef(0x44b)][_0xd27eef(0x40e)](_0x421529)){const _0xe0f095=this['_clearOtherTimers'][_0xd27eef(0x2de)](_0x421529);_0xe0f095&&window[_0xd27eef(0x269)](_0xe0f095),this[_0xd27eef(0x44b)][_0xd27eef(0x1d6)](_0x421529,null);}}['_handleLeaveEvent'](_0x33ed9e){const _0x467279=_0x311f42,{memberID:_0x9e4aa0,unitIDs:_0x2879c9}=_0x33ed9e;_0x2879c9[_0x467279(0x344)](_0x110b0c=>{const _0x21ea36=_0x467279;var _0x3b0c7b;const _0x290d31=this[_0x21ea36(0x2b3)][_0x21ea36(0x2de)](_0x110b0c);_0x290d31&&(_0x290d31[_0x21ea36(0x292)](_0x9e4aa0),(_0x3b0c7b=this[_0x21ea36(0x326)](_0x110b0c))==null||_0x3b0c7b[_0x21ea36(0x38c)](_0x290d31[_0x21ea36(0x450)]===0x0?_0x145b5b[_0x21ea36(0x327)][_0x21ea36(0x280)]:_0x145b5b[_0x21ea36(0x327)][_0x21ea36(0x3e2)]));}),this['_removeClearOtherTimer'](_0x9e4aa0);}['_handleHeartbeatEvent'](_0x55c735){const _0x3242c4=_0x311f42;this[_0x3242c4(0x3c7)](_0x55c735[_0x3242c4(0x1e3)]);}[_0x311f42(0x270)](_0x45874f){const _0xc76204=_0x311f42;localStorage[_0xc76204(0x1f5)](_0x20c621,JSON['stringify'](_0x45874f));}['_scheduleHeartbeat'](){const _0x1beb57=_0x311f42;this[_0x1beb57(0x32f)]=window[_0x1beb57(0x3ab)](()=>{const _0x4c26c1=_0x1beb57;this[_0x4c26c1(0x270)]({'type':0x2,'memberID':this['_id']});},_0x140ba1);}[_0x311f42(0x326)](_0x177f21){const _0x2fecf3=_0x311f42;return this[_0x2fecf3(0x1f0)][_0x2fecf3(0x40e)](_0x177f21)||this[_0x2fecf3(0x1f0)][_0x2fecf3(0x1d6)](_0x177f21,new _0xf7bf00[(_0x2fecf3(0x1e9))](_0x145b5b['UnitStatus'][_0x2fecf3(0x280)])),this[_0x2fecf3(0x1f0)][_0x2fecf3(0x2de)](_0x177f21);}}_0x4e7c38[_0x311f42(0x3be)]=_0x530712,_0x4e7c38[_0x311f42(0x291)]=_0x3a7b4c,_0x4e7c38[_0x311f42(0x2bf)]=_0x4a9da2,_0x4e7c38[_0x311f42(0x3de)]=_0x332a20,Object[_0x311f42(0x2f6)](_0x4e7c38,Symbol['toStringTag'],{'value':'Module'});}));function _0x23b9(){const _0x32411f=['setAlpha','executionId','endColumn','newValue','registerRefRange','send','3406800orCmRT','IBeforeCloseService','string','getColor','call','unsubscribe','eventID','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_DUPLICATED','pushState','application/json','urlChange$','_createSocketURL','YUUMI_UNABLE_LOAD_URL','INTERNAL_ERROR','m2Prime','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','isEditing','_entityInit$','_memberService','undoState','MOBILE_VERIFY_CODE_MISMATCH','UniverSheetsUi','createInstance','pipe','_unitOnClients','transformMutation','collabStatus.synced','hide','backgroundColor','collabCursorState$','toRgbString','_textBubble','onLocalMutation','status$','length','UNDEFINED','WebBrowserSingleActiveUnitService','_init','RECT','CommandType','UniverCollaborationClientUIPlugin','SOCKET_FAILED','off-line-icon_clip0_910_343','createElement','getOwnPropertySymbols','http://www.w3.org/2000/svg','addEventListener','icon','restore','_status$','_hideTimer','stringify','WECHAT_HAS_BEEN_BOUND','handleInsertRangeMoveRight','_drawAnchor','_docTransformStateCacheService','m1Prime','MessageType','_toggleOffline','UNIVER_DOC','getSheetId','selections','transformRemoteChangeset','split','SNAPSHOT_HAS_BEEN_REMOVED','_registerDependencies','fromEvent','get','location','getUniverSheetInstance','onTransformChange$','CollaborationSessionService','displayName','DocStateChangeManagerService','@univerjs/docs','deepClone','33zbhclD','PENDING','_drawRectRange','_collabCursorController','combineLatest','IRenderManagerService','wsSessionTicketUrl','width','@univerjs/core','_removeCollabCursors','_initEntityListener','editingUnit','IUIPartsService','_httpService','RxDisposable','defineProperty','getRelativeToViewportCoord','ONLINE','transformIMECache','currentSkeleton$','_collaborationUIEventService','_selfUnitIDs','@univerjs/rpc','11LYgRuw','_docTransformSelectionsService','SNAPSHOT_INVALID_SNAPSHOT','_updateURLWithCurrentState','_getScale','switchMap','RichTextEditingMutation','startColumn','imageSourceType','xlink:href','blue.400','collabStatus.notCollab','1239930mMuyIj','resize','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','UniverProCollaboration','setActiveRange','getColorFromTheme','_hovered','INVITE_CODE_HAS_BEEN_UES','addClipboardHook','replace','runId','handleIRemoveCol','from','result','getSkeleton','LOGIN_FAILED','_transformPreviousActiveRange','NOT_FOUND','DisposableCollection','HEADER_MENU','YUUMI_SUBSCRIPTION_NOT_FOUND','handleIRemoveRow','UniverDesign','DesktopCollaborationStatusDisplayController','transformMutationsWithChangeset','row','getCurrentSelections','InsertRangeMoveRightCommandId','_ensureSubject','UnitStatus','_collaborationController','react','_removeClearOtherTimer','font','serializeRangeWithSheet','disposeWithMe','5322830teVxcl','_heartbeatTimer','_transformHistoryAndStateStack','searchParams','AWAITING_WITH_PENDING','symbol','syncEditingCollabCursor','merge','invokeId','JOIN_ROOM_FAILED','Injector','IMessageService','getCurrentUnitForType','handleDeleteRangeMoveUp','_sheetSkeletonManagerService','_handleHover','propertyIsEnumerable','translate(.97)','type','UniverCore','_initEvent','_onCursorDelete','forEach','EMAIL_HAS_BEEN_BOUND','rxjs','bottom','ILocalStorageService','isTransformMutationFailure','textRanges','_refreshCollabCursors','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','off-line-icon','CLOSE_ROOM','with','runOnServer','ACTIVE_UNIT_EVENT_CHANNEL','collab-rect-range-','handleInsertCol','LICENSE_MAX_UNITS_EXCEEDED','clearInterval','_config','INVALID_INVITE_CODE','_onCursorUpdate','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ColorKit','SetSelectionsOperation','_commandService','replaceDocRanges','SheetSkeletonManagerService','currentTheme$','ISocketService','_draw','roomMembers$','UNIVER_SHEET','green.600','throttleTime','getActiveSheet','_beforeCloseService','_configService','error','collab-text-range-','takeUntil','session.collaboration-timeout','saveOfflineData','Failed','forwardRef','ALREADY_EXISTS','text','ranges','disposeUnit','measureText','amd','isTransformMutationsWithChangesetSuccess','setUndoRedoMutationParamsCache','indexOf','requireSession','_docClipboardService','setShapeProps','@univerjs/design','_dataLoaderService','_urlService','MemberService','column','Tools','color','IImageIoService','_colorIndex','_setupSubUnitSync','startRow','createIdentifier','_disabled','SessionStatus','executeCommand','cursorInfo$','next','_revisionService','M0\x200H16V16H0z','addObject','addObjects','all','@univerjs/network','RegularPolygon','onCommandExecuted','Workbook','sheetId','_docStateChangeManagerService','AWAITING','touchDependencies','UniverIcon','Optional','_handleJoinEvent','collabStatus.fetchMiss','_initResize','_lastPointer','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','defIds','MOBILE_HAS_BEEN_BOUND','replaceState','_anchorDot','collabStatus.syncing','USER_NOT_INVITED_CODE','_scheduleHeartbeat','evenodd','disableLocalCache','popstate','setInterval','shareReplay','transformStateCache','_getMergeRange','getUnitId','YUUMI_NO_CUBOID_FOR_QUESTION','svg','DocSkeletonManagerService','createSocket','_onRefRangeChange','RemoveColCommandId','@univerjs/engine-render','height','unitID','_cursors','removeParam','debounce','registerRenderModule','APPLY_REVISION_CONFILICT','IURLService','CollaborationDataLoaderController','PY_RUNTIME_SCRIPT_ERROR','_range','TOO_MANY_REQUESTS','url(#off-line-icon_clip0_910_343)','saveImage','CHANGESET_REVISION_CONFILICT','getItem','_scheduleClearOtherTimer','TEXT_RANGE_LAYER_INDEX','LICENSE_DISTRO_REJECTED','rgba(255,\x20255,\x20255,\x200.01)','Unknown\x20user','name','exports','hovered','ThemeService','MUTATION','getCoordByCell','round','RefRangeService','getOwnPropertyDescriptor','exhaustSavingTask','toString','getVpScrollXYInfoByPosToVp','OTHER_CLIENT_EDITING','PERMISSION_DENIED','arc','getStateCache','activeSheet$','_instanceService','WebURLService','none','88yFVGcH','getDocRanges','OTHER_CLIENTS_EDITING','white','_uiPartsService','NodePositionConvertToRectRange','LocaleService','getUndoRedoMutationParamsCache','Vector2','entries','_entities','SHEET_VIEWPORT_KEY','_syncEditingCollabCursorService','getValue','DependentOn','makeDirty','UniverInstanceType','_injector','_collabCursorState$','closePath','transform','[CollaborationDataLoaderController]','FETCH_MISS','distinctUntilChanged','idSuffix','code','params','IUniverInstanceService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','url(#$1','BrowserCollaborationSocketService','fillRule','react/jsx-runtime','UniverDocsUi','_localeService','body','unshift','getLocalCacheKey','hasOwnProperty','_getSaveTimeout','_getAnchorBounding','clsx','Disposable','@univerjs/docs-ui','selection','collabStatus.offline','has','updateOfflineData','LICENSE_IMPORT_SIZE_EXCEEDED','_cursorInfo$','SUBMIT_CHANGESET_TIMEOUT','ICommandService','YUUMI_ASYNCIO_CANCELLED','saveTaskMap','INVITE_CODE_REQUIRED','purple.300','SOCKET_FAILED_RETRY','mask','transformSelections','_id','clipPath','CollaborationUIEventService','WebSocketService','Plugin','UniverDocs','push','CollaborationStatus','_hover','useRef','subunit','getTypeOfUnitDisposed$','unitId','OnLineIcon','_session','post','_renderManagerService','DocCollaborationEntity','UPDATE_CURSOR','map','transformByState','mutations','VIEW_MAIN','DocIMEInputManagerService','4044jUDaEF','getRangePointData','_render','init','colorChannel1','getViewport','attrs','_updateSubUnitFromURLParams','_initStatusComponent','save','registerDependencies','function','_anchor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','fromEventSubject','labelPosition','UniverNetwork','sessionTicket','yellow.400','HTTPService','ISnapshotServerService','handleInsertRow','_messageService','Warning','_clearOtherTimers','operators','subscribe','subscribeEvent','fillStyle','size','key','href','whenReady','7sEIceZ','univerjs-icon\x20univerjs-icon-','actions','BuiltInUIPart','APPLY_REJECT','_cursorShapes','UniverSheets','runRefRangeMutations','values','cursorInfo','ILocalCacheService','_context','path','SetWorksheetActivateCommand','_univerInstanceService','endRow','setStateCache','range','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','26206668PaJCvR','drawWith','INVITE_CODE_ALREADY_BOUND','substring','isArray','findNodePositionByCharIndex','IDocClipboardService','use','connectInjector','_handleEvent','_saveCache','loadOfflineData','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','collabStatus.conflict','generateRandomId','_startDocCollabCursor','pluginName','then','5336gevcfQ','Error','_themeService','_logService','rxjs/operators','_saveTaskMap','_docSkeletonManagerService','RevisionService','on-line-icon','getConfig','YUUMI_CONNECTOR_URL_NOT_FOUND','doc.mutation.rich-text-editing','_labelPosition','SetTextSelectionsOperation','set','loadUnit','_drawTextRange','Tooltip','React','getActiveRange','permission.content','children','history','_docSkeleton','mapTo','_getSessionTicket','skeleton','memberID','max','Shape','_refRangeService','min','getOffsetConfig','BehaviorSubject','UniverUi','_eventUnsubscribe','UNAUTHENTICATED','defs','_registerRenderDependencies','trim','_unitStatus','INotificationService','univer-flex\x20univer-items-center','CollaborationController','SetDocZoomRatioOperation','setItem','collaboration-client.offline-data-not-saved','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getMemberID','EffectRefRangId','show','engine','_cursor','subUnitId','_name','_scheduleSaving','on-line-icon_clip0_910_349','unit','getFocusedUnit','prototype','source','setConfig','_color','ITransformService','_imageIoService','assignAColorForMemberID','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','handleMoveRange','_backgroundColor','...','useDependency','InsertRangeMoveDownCommandId','useObservable','UniverRpc','IConfigService','_transformUndoRedoStack','className','OffLineIcon','@univerjs/ui','getUnhiddenWorksheets','LOCAL_CACHE_INTERVAL','InsertColCommandId','DeleteRangeMoveUpCommandId','/run/','@univerjs-pro/collaboration-client','currentColor','current','788193FgwqwR','_initCommandExecutedListener','_roomMembers$','collaboration-client-ui.config','mergeOverrideWithDependencies','deserializeRangeWithSheet','TEXT','RemoteUniscriptService','_shapes','redoState','Inject','search','DOC_RANGE_TYPE','jsx','_docTransformIMECacheService','dispose','red.300','filter','MoveRangeCommandId','getSheetBySheetId','LICENSE_EXPORT_SIZE_EXCEEDED','lineTo','_updateLocalCursor','focused$','fill','includes','1em','EMAIL_VERIFY_CODE_MISMATCH','getParam','0\x200\x2017\x2016','INVALID_ARGUMENT','useCallback','UNRECOGNIZED','data','ILogService','_localCacheService','onStarting','283256HaXTam','CONNECTOR_DATA_TOO_LARGE','assign','univer-mr-2\x20univer-flex\x20univer-text-xl','debounceTime','complete','jiqing.500','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_collabSessionService','_updateCollabCursors','YUUMI_AI_RUN_FAILED','extend','event$','black','reconnect','asObservable','_colorAssignService','random','onPointerEnter$','url(#on-line-icon_clip0_910_349)','getMergeData','IRemoteInstanceService','getCollabCursors$','APPLY_NON_SEQUENTIAL_REVISION','InsertRowCommandId','jsxs','toDisposable','onPointerLeave$','_online','getMember','Rect','override','beginPath','getRenderById','add','_localStorageService','handleInsertRangeMoveDown','clearTimeout','_scene','DEFAULT_WS_SESSION_TICKET_URL','_setupBeforeClosingHandler','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getCellPositionByOffset','SheetsSelectionsService','_send','NOT_COLLAB','setTimeout','onMouseMove','sessionStatus$','_cachedData','APPLY_PERMISSION_DENIED','registerBeforeClose','@univerjs/sheets','getTypeOfUnitAdded$','_assignedColors','collab-client.tooltip.reconnect','_toggleOnline','LOCAL_CACHE_INTERVAL_KEY','CollaborationEvent','CollaborationUIEventId','NO_OTHER_CLIENTS_EDITING','_transformService','getCurrentRevOfUnit','concat','@univerjs/drawing','session.will-retry','_initDependencies','some','top','dispose$','COLORS','UniverEngineFormula','div','@univerjs/sheets-ui','_getSheetObject','debug','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SheetCollabCursorShape','delete','USERS_LEAVE'];_0x23b9=function(){return _0x32411f;};return _0x23b9();}
|