@univerjs-pro/collaboration-client-ui 0.10.6-nightly.202509060614 → 0.10.6-nightly.202509060832

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +15 -15
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0xae5d(_0x47fcf6,_0x41cb53){const _0x4448bb=_0x4448();return _0xae5d=function(_0xae5d2,_0x404f1a){_0xae5d2=_0xae5d2-0x98;let _0x48bc28=_0x4448bb[_0xae5d2];return _0x48bc28;},_0xae5d(_0x47fcf6,_0x41cb53);}const _0x53fae0=_0xae5d;(function(_0x4de1ff,_0xed76a8){const _0x4c2676=_0xae5d,_0x3280d4=_0x4de1ff();while(!![]){try{const _0x39d3d2=parseInt(_0x4c2676(0xa5))/0x1*(parseInt(_0x4c2676(0x9e))/0x2)+-parseInt(_0x4c2676(0x99))/0x3*(-parseInt(_0x4c2676(0x98))/0x4)+-parseInt(_0x4c2676(0x9c))/0x5*(-parseInt(_0x4c2676(0x9b))/0x6)+-parseInt(_0x4c2676(0xa2))/0x7*(-parseInt(_0x4c2676(0xa1))/0x8)+-parseInt(_0x4c2676(0x9d))/0x9+parseInt(_0x4c2676(0xa0))/0xa+parseInt(_0x4c2676(0xa3))/0xb*(-parseInt(_0x4c2676(0xa7))/0xc);if(_0x39d3d2===_0xed76a8)break;else _0x3280d4['push'](_0x3280d4['shift']());}catch(_0x2ee12e){_0x3280d4['push'](_0x3280d4['shift']());}}}(_0x4448,0xed00b));function _0x4448(){const _0x5519de=['2545795PqjJUp','5179527ohlPfE','156yvsYwf','_injector','1891840ntVgom','9574616cpaIFn','7ZnuKLg','407OYjXSx','get','24423AZFhMY','runOnServer','1174728YdawWo','3436084EgKSPW','3PIqSbv','extend','12qsWDYK'];_0x4448=function(){return _0x5519de;};return _0x4448();}const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e['FUniver']{[_0x53fae0(0xa6)](_0xd71328,_0x211075,..._0x370ef9){const _0x166abc=_0x53fae0;return this[_0x166abc(0x9f)][_0x166abc(0xa4)](t['RemoteUniscriptService'])[_0x166abc(0xa6)](_0xd71328,_0x211075,{},..._0x370ef9);}}e['FUniver'][_0x53fae0(0x9a)](c);
1
+ 'use strict';const _0x1148ac=_0xedc9;function _0xedc9(_0x36ad97,_0x1612db){const _0x53b8ce=_0x53b8();return _0xedc9=function(_0xedc980,_0x10f630){_0xedc980=_0xedc980-0x18c;let _0x16bec8=_0x53b8ce[_0xedc980];return _0x16bec8;},_0xedc9(_0x36ad97,_0x1612db);}(function(_0x9491be,_0x23bdd4){const _0x388ecd=_0xedc9,_0x182197=_0x9491be();while(!![]){try{const _0x14eb24=-parseInt(_0x388ecd(0x195))/0x1*(parseInt(_0x388ecd(0x192))/0x2)+parseInt(_0x388ecd(0x18c))/0x3+-parseInt(_0x388ecd(0x194))/0x4+-parseInt(_0x388ecd(0x198))/0x5+parseInt(_0x388ecd(0x197))/0x6*(parseInt(_0x388ecd(0x190))/0x7)+-parseInt(_0x388ecd(0x18e))/0x8+parseInt(_0x388ecd(0x193))/0x9;if(_0x14eb24===_0x23bdd4)break;else _0x182197['push'](_0x182197['shift']());}catch(_0x1dff21){_0x182197['push'](_0x182197['shift']());}}}(_0x53b8,0xb282f));const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e['FUniver']{['runOnServer'](_0x4679fb,_0x3aaaad,..._0x2044ea){const _0x503a4b=_0xedc9;return this[_0x503a4b(0x196)][_0x503a4b(0x18f)](t['RemoteUniscriptService'])[_0x503a4b(0x18d)](_0x4679fb,_0x3aaaad,{},..._0x2044ea);}}e['FUniver'][_0x1148ac(0x191)](c);function _0x53b8(){const _0x1378a2=['extend','14834yLpqbE','11379276SvwSUF','3556320fPzXsc','6ecpOVO','_injector','6BczzXs','161010QdSnXS','580815fqGEnx','runOnServer','796456RAllOO','get','2369885sVkujx'];_0x53b8=function(){return _0x1378a2;};return _0x53b8();}
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x373e19=_0x2638;(function(_0x2ec726,_0x35bc80){const _0x163453=_0x2638,_0x182663=_0x2ec726();while(!![]){try{const _0x5d4cd7=-parseInt(_0x163453(0x2aa))/0x1*(-parseInt(_0x163453(0xba))/0x2)+-parseInt(_0x163453(0x2b3))/0x3+parseInt(_0x163453(0x1b3))/0x4+parseInt(_0x163453(0x2ed))/0x5*(parseInt(_0x163453(0xc7))/0x6)+parseInt(_0x163453(0x31a))/0x7+-parseInt(_0x163453(0xfb))/0x8*(-parseInt(_0x163453(0x1e9))/0x9)+-parseInt(_0x163453(0x1dd))/0xa;if(_0x5d4cd7===_0x35bc80)break;else _0x182663['push'](_0x182663['shift']());}catch(_0xb121ff){_0x182663['push'](_0x182663['shift']());}}}(_0x2c3a,0xce4c0));var We=Object[_0x373e19(0x1ac)],Ve=(_0xa87438,_0xbfe2de,_0x3698a3)=>_0xbfe2de in _0xa87438?We(_0xa87438,_0xbfe2de,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3698a3}):_0xa87438[_0xbfe2de]=_0x3698a3,h=(_0x1dd692,_0x167b6f,_0x9a8a1a)=>Ve(_0x1dd692,typeof _0x167b6f!=_0x373e19(0x30e)?_0x167b6f+'':_0x167b6f,_0x9a8a1a);Object[_0x373e19(0x1ac)](exports,Symbol[_0x373e19(0x23e)],{'value':_0x373e19(0x172)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){const _0xb71531=_0x373e19;return b=Object['assign']||function(_0x43e502){const _0x746ebc=_0x2638;for(var _0x5037a0,_0x2ff99f=0x1,_0x54b78e=arguments[_0x746ebc(0x1a4)];_0x2ff99f<_0x54b78e;_0x2ff99f++){_0x5037a0=arguments[_0x2ff99f];for(var _0x39f050 in _0x5037a0)Object['prototype'][_0x746ebc(0x15b)][_0x746ebc(0x1b5)](_0x5037a0,_0x39f050)&&(_0x43e502[_0x39f050]=_0x5037a0[_0x39f050]);}return _0x43e502;},b[_0xb71531(0x26b)](this,arguments);},Ke=function(_0x1744a3,_0x29e8cd){const _0x5c85df=_0x373e19;var _0x588b1a={};for(var _0x4d1109 in _0x1744a3)Object[_0x5c85df(0x28a)]['hasOwnProperty'][_0x5c85df(0x1b5)](_0x1744a3,_0x4d1109)&&_0x29e8cd['indexOf'](_0x4d1109)<0x0&&(_0x588b1a[_0x4d1109]=_0x1744a3[_0x4d1109]);if(_0x1744a3!=null&&typeof Object[_0x5c85df(0x203)]==_0x5c85df(0xb1)){for(var _0x2d3e3c=0x0,_0x4d1109=Object[_0x5c85df(0x203)](_0x1744a3);_0x2d3e3c<_0x4d1109[_0x5c85df(0x1a4)];_0x2d3e3c++)_0x29e8cd[_0x5c85df(0x2e9)](_0x4d1109[_0x2d3e3c])<0x0&&Object[_0x5c85df(0x28a)][_0x5c85df(0x18a)][_0x5c85df(0x1b5)](_0x1744a3,_0x4d1109[_0x2d3e3c])&&(_0x588b1a[_0x4d1109[_0x2d3e3c]]=_0x1744a3[_0x4d1109[_0x2d3e3c]]);}return _0x588b1a;},ge=M[_0x373e19(0x15d)](function(_0x1c08a1,_0x5d84d1){const _0x3a739a=_0x373e19;var _0xe97b90=_0x1c08a1[_0x3a739a(0x31e)],_0x124cc0=_0x1c08a1['id'],_0x1f9560=_0x1c08a1[_0x3a739a(0xdf)],_0x59f623=_0x1c08a1['extend'],_0x129cee=Ke(_0x1c08a1,['icon','id',_0x3a739a(0xdf),_0x3a739a(0x2b9)]),_0xc82c48=_0x3a739a(0x31f)['concat'](_0x124cc0,'\x20')[_0x3a739a(0x1f3)](_0x1f9560||'')[_0x3a739a(0x1db)](),_0x45c7cc=M[_0x3a739a(0xe7)]('_'[_0x3a739a(0x1f3)](Je()));return Pe(_0xe97b90,''[_0x3a739a(0x1f3)](_0x124cc0),{'defIds':_0xe97b90[_0x3a739a(0x242)],'idSuffix':_0x45c7cc[_0x3a739a(0x21c)]},b({'ref':_0x5d84d1,'className':_0xc82c48},_0x129cee),_0x59f623);});function Pe(_0x26621f,_0xb789a5,_0x362161,_0x514886,_0x1b4201){const _0x32cd2f=_0x373e19;return M[_0x32cd2f(0x2d1)](_0x26621f[_0x32cd2f(0xd7)],b(b({'key':_0xb789a5},qe(_0x26621f,_0x362161,_0x1b4201)),_0x514886),(ze(_0x26621f,_0x362161)[_0x32cd2f(0x260)]||[])[_0x32cd2f(0x1e4)](function(_0x53d432,_0x4782a1){const _0x458c4c=_0x32cd2f;return Pe(_0x53d432,''['concat'](_0xb789a5,'-')[_0x458c4c(0x1f3)](_0x26621f['tag'],'-')[_0x458c4c(0x1f3)](_0x4782a1),_0x362161,void 0x0,_0x1b4201);}));}function qe(_0x331a50,_0x628326,_0x280229){const _0x2627ab=_0x373e19;var _0x5ccb5f=b({},_0x331a50[_0x2627ab(0x13d)]);_0x280229!=null&&_0x280229[_0x2627ab(0x2a1)]&&_0x5ccb5f[_0x2627ab(0xec)]===_0x2627ab(0x2a1)&&(_0x5ccb5f[_0x2627ab(0xec)]=_0x280229['colorChannel1']),_0x331a50[_0x2627ab(0xd7)]===_0x2627ab(0x150)&&_0x5ccb5f['id']&&(_0x5ccb5f['id']=_0x5ccb5f['id']+_0x628326[_0x2627ab(0x21a)]),Object[_0x2627ab(0xf9)](_0x5ccb5f)[_0x2627ab(0x22a)](function(_0x40988f){const _0x671404=_0x2627ab;var _0x443c7f=_0x40988f[0x0],_0x222fec=_0x40988f[0x1];_0x443c7f===_0x671404(0x150)&&typeof _0x222fec==_0x671404(0x184)&&(_0x5ccb5f[_0x443c7f]=_0x222fec[_0x671404(0xc8)](/url\(#(.*)\)/,_0x671404(0xdb)[_0x671404(0x1f3)](_0x628326[_0x671404(0x21a)],')')));});var _0xcaa5f3=_0x628326[_0x2627ab(0x242)];return!_0xcaa5f3||_0xcaa5f3[_0x2627ab(0x1a4)]===0x0||(_0x331a50[_0x2627ab(0xd7)]===_0x2627ab(0x2dc)&&_0x5ccb5f[_0x2627ab(0x259)]&&(_0x5ccb5f[_0x2627ab(0x259)]=_0x5ccb5f[_0x2627ab(0x259)]+_0x628326[_0x2627ab(0x21a)]),Object[_0x2627ab(0xf9)](_0x5ccb5f)[_0x2627ab(0x22a)](function(_0x5502af){const _0x24fa0f=_0x2627ab;var _0x54b3c2=_0x5502af[0x0],_0x2f81d4=_0x5502af[0x1];typeof _0x2f81d4==_0x24fa0f(0x184)&&(_0x5ccb5f[_0x54b3c2]=_0x2f81d4['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x628326['idSuffix'],')')));})),_0x5ccb5f;}function ze(_0x4c6e70,_0x26c0d3){const _0x1b364f=_0x373e19;var _0x1d6731,_0x470dd2=_0x26c0d3[_0x1b364f(0x242)];return!_0x470dd2||_0x470dd2[_0x1b364f(0x1a4)]===0x0?_0x4c6e70:_0x4c6e70[_0x1b364f(0xd7)]===_0x1b364f(0x2f6)&&(!((_0x1d6731=_0x4c6e70[_0x1b364f(0x260)])===null||_0x1d6731===void 0x0)&&_0x1d6731[_0x1b364f(0x1a4)])?b(b({},_0x4c6e70),{'children':_0x4c6e70[_0x1b364f(0x260)][_0x1b364f(0x1e4)](function(_0x20d571){const _0x225383=_0x1b364f;return typeof _0x20d571[_0x225383(0x13d)]['id']==_0x225383(0x184)&&_0x470dd2&&_0x470dd2['includes'](_0x20d571['attrs']['id'])?b(b({},_0x20d571),{'attrs':b(b({},_0x20d571['attrs']),{'id':_0x20d571['attrs']['id']+_0x26c0d3[_0x225383(0x21a)]})}):_0x20d571;})}):_0x4c6e70;}function Je(){const _0x3653d4=_0x373e19;return Math[_0x3653d4(0x1c1)]()[_0x3653d4(0x314)](0x24)[_0x3653d4(0x236)](0x2,0x8);}ge[_0x373e19(0xe9)]=_0x373e19(0x12b);var Ze={'tag':_0x373e19(0x23b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x373e19(0x2f4)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x373e19(0x2ad),'strokeLinecap':_0x373e19(0x2eb),'strokeLinejoin':_0x373e19(0x2eb),'strokeWidth':1.2}}]},{'tag':_0x373e19(0x2f6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x373e19(0x2c0)]},we=M[_0x373e19(0x15d)](function(_0x3048cd,_0x1a7f11){const _0x46f382=_0x373e19;return M[_0x46f382(0x2d1)](ge,Object[_0x46f382(0x18c)]({},_0x3048cd,{'id':_0x46f382(0x29e),'ref':_0x1a7f11,'icon':Ze}));});function _0x2c3a(){const _0x2d5e83=['IUIPartsService','executionId','CollaborationSocketService','m2Prime','substring','_disabled','_renderManagerService','collaboration.closeRoom','WebURLService','svg','_docSkeleton','green.600','toStringTag','useDependency','INVITE_CODE_REQUIRED','UNRECOGNIZED','defIds','filter','on-line-icon','Error','sheetID','unsubscribe','_commandService','_clearOtherTimers','_updateCollabCursors','_id','max','_createSocketURL','_collaborationUIEventService','INVITE_CODE_ALREADY_BOUND','RegularPolygon','setInterval','asObservable','useCallback','purple.300','_initEvent','engine','activeSheet$','delete','xlink:href','registerRefRange','_startDocCollabCursor','selection','INTERNAL_ERROR','HTTPService','measureText','children','getUnitId','_unitOnClients','_updateLocalCursor','_backgroundColor','DependentOn','_httpService','_colorIndex','handleInsertRangeMoveDown','IConfigService','replaceDocRanges','apply','focused$','handleInsertRangeMoveRight','PERMISSION_DENIED','IRenderManagerService','_scheduleClearOtherTimer','LICENSE_EXPORT_SIZE_EXCEEDED','labelPosition','_textBubble','_setupBeforeClosingHandler','Rect','_send','replaceState','executeCommand','onPointerEnter$','YUUMI_ALL_TABLES_IS_INVALID','NodePositionConvertToCursor','0\x200\x2017\x2016','onCommandExecuted','deepClone','CommandType','docStateChange$','has','getRelativeToViewportCoord','WebBrowserSingleActiveUnitService','CLOSE_ROOM','toDisposable','mutations','roomMembers$','getDocRanges','setShapeProps','prototype','_session','ILogService','UPDATE_CURSOR','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_removeClearOtherTimer','_render','createInstance','_cursorShapes','shareReplay','_logService','_getSheetObject','with','isArray','_colorAssignService','mapTo','setTimeout','connectInjector','UniverCollaborationClientPlugin','Unknown\x20user','off-line-icon','Subject','subUnitId','colorChannel1','RemoveColCommandId','APPLY_REVISION_CONFILICT','none','mergeOverrideWithDependencies','search','onRendered','startsWith','set','3QKzmGK','transformByState','_configService','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','OnLineIcon','InsertRowCommandId','_selfUnitIDs','Failed','transform','4442130CSuahh','startRow','_getSaveTimeout','text','exhaustSavingTask','unload','extend','_entities','handleInsertRow','textRanges','_ensureSubject','getUniverSheetInstance','getAncestorScale','off-line-icon_clip0_910_343','CollaborationUIEventId','RefRangeService','_color','CollaborationStatus','Rectangle','_handleJoinEvent','ACTIVE_UNIT_EVENT_CHANNEL','InsertRangeMoveRightCommandId','_doCreateSocket','_status$','_imageIoService','LICENSE_MAX_UNITS_EXCEEDED','setParam','location','_localeService','_shapes','createElement','top','_updateURLWithCurrentState','_urlService','subscribeEvent','CollaborationSessionService','_memberService','body','loadUnit','getCollabEntity$','createSocket','use','origin','LOCAL_CACHE_INTERVAL_KEY','BuiltInUIPart','IMessageService','dispose$','getConfig','from','SNAPSHOT_INVALID_SNAPSHOT','next','debug','setStateCache','IImageIoService','indexOf','APPLY_NON_SEQUENTIAL_REVISION','round','Inject','268210aZyBBi','combineLatest','requireSession','EffectRefRangId','YUUMI_SUBSCRIPTION_NOT_FOUND','onStarting','memberID','url(#off-line-icon_clip0_910_343)','getCollabCursors$','defs','session.collaboration-timeout','runRefRangeMutations','ALREADY_EXISTS','Vector2','_instanceService','UniverInstanceType','url(#on-line-icon_clip0_910_349)','yellow.400','_initEntityListener','saveOfflineData','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SheetsSelectionsService','_univerInstanceService','popstate','getOwnPropertyDescriptor','Tools','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','imageSourceType','setItem','#FFF','SetWorksheetActivateCommand','Warning','_syncEditingCollabCursorService','symbol','runId','cursorInfo$','_online','_docStateChangeManagerService','_notificationService','toString','registerDependencies','fromEventSubject','INotificationService','INVALID_INVITE_CODE','searchParams','6047685KQHvxm','OffLineIcon','LICENSE_DISTRO_REJECTED','_collabCursorController','icon','univerjs-icon\x20univerjs-icon-','m1Prime','href','getParam','MOBILE_VERIFY_CODE_MISMATCH','type','toRgbString','SheetCollabCursorShape','_cursors','unit','editingUnit','lineTo','getSheetId','getColor','makeDirty','1em','getCurrentSelections','_refreshCollabCursors','function','endColumn','getTypeOfUnitAdded$','YUUMI_RATE_OVER_LIMIT','OTHER_CLIENT_EDITING','application/json','complete','height','DocIMEInputManagerService','562642zyxoMM','_init','NO_OTHER_CLIENTS_EDITING','DOC_RANGE_TYPE','clearTimeout','blue.400','EMAIL_VERIFY_CODE_MISMATCH','doc.mutation.rich-text-editing','push','clearInterval','Injector','getMember','unshift','48HjviwP','replace','drawWith','collaboration-client.offline-data-not-saved','evenodd','switchMap','saveImage','FromArray','_range','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','some','_labelPosition','NodePositionConvertToRectRange','_removeCollabCursors','sessionTicket','_setupSubUnitSync','tag','RemoteUniscriptService','hide','DocCollaborationEntity','url(#$1','_registerDependencies','registerBeforeClose','_getSessionTicket','className','_collabCursorState$','onPointerLeave$','getCurrentRevOfUnit','history','_scheduleHeartbeat','init','debounceTime','useRef','CONNECTOR_DATA_TOO_LARGE','displayName','BrowserCollaborationSocketService','includes','fill','show','_collaborationController','transformSelections','RxDisposable','_handleHeartbeatEvent','invokeId','beginPath','entityInit$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LICENSE_IMPORT_SIZE_EXCEEDED','unitId','UNIVER_DOC','entries','VIEW_MAIN','5308024JcYabj','COLORS','SetDocZoomRatioOperation','APPLY_DUPLICATED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','moveTo','ITransformService','transformMutation','currentColor','stringify','findNodePositionByCharIndex','getRenderById','syncEditingCollabCursor','YUUMI_ASYNCIO_CANCELLED','_updateSubUnitFromURLParams','DocSelectionManagerService','UNAUTHENTICATED','EMAIL_HAS_BEEN_BOUND','OTHER_CLIENTS_EDITING','_drawRectRange','_docTransformStateCacheService','ranges','error','hovered','[CollaborationDataLoaderController]','DeleteRangeMoveUpCommandId','removeParam','_transformService','disposeUnit','getTypeOfUnitDisposed$','_roomMembers$','triggerDblclick','merge','HEADER_MENU','_localCacheService','serializeRangeWithSheet','IURLService','SheetSkeletonManagerService','collab-text-range-','endRow','on-line-icon_clip0_910_349','InsertRangeMoveDownCommandId','key','_docClipboardService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','row','Tooltip','handleDeleteRangeMoveLeft','UniverIcon','transformMutationsWithChangeset','UnitStatus','Plugin','DocStateChangeManagerService','MUTATION','_hideTimer','APPLY_PERMISSION_DENIED','values','restore','_scene','isActive','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','jiqing.500','DocSkeletonManagerService','pluginName','touchDependencies','disposeWithMe','attrs','MemberService','data','parse','whenReady','_beforeCloseService','arc','CHANGESET_REVISION_CONFILICT','subscribe','getMemberID','_cachedData','APPLY_REJECT','post','then','_entityInit$','_messageService','rgba(255,\x20255,\x20255,\x200.01)','fillText','_docTransformIMECacheService','mask','_initStatusListener','ONLINE','addObjects','permission.title','jsx','permission.content','IUniverInstanceService','_assignedColors','_anchorDot','_uiPartsService','hasOwnProperty','sheetId','forwardRef','override','ILocalCacheService','DEFAULT_WS_SESSION_TICKET_URL','NOT_COLLAB','_lastPointer','save','COMPLETION_FINISHED','transformRemoteChangeset','_revisionService','TEXT_RANGE_LAYER_INDEX','_cursor','_collabSessionService','_scheduleSaving','_getScale','ColorKit','_initCommandExecutedListener','collabStatus.notCollab','UniverCollaborationClientUIPlugin','_heartbeatTimer','distinctUntilChanged','Module','width','split','clipPath','USERS_LEAVE','get','AWAITING','ENSURE_SNAPSHOT_EXECUTION','CollaborationController','getActiveRange','generateRandomId','_name','getOffsetConfig','bottom','onMouseMove','all','params','onTransformChange$','string','_drawTextRange','_saveTaskMap','status$','path','pushState','propertyIsEnumerable','_sheetSkeletonManagerService','assign','TEXT','_docSyncEditingCollabCursorService','black','_onCursorUpdate','enableLocalCache','SHEET_VIEWPORT_KEY','_saveCache','_onCursorDelete','event$','jsxs','currentTheme$','_themeService','_localStorageService','isTransformMutationFailure','_toggleOffline','getItem','getFocusedUnit','LOCAL_CACHE_INTERVAL','_eventUnsubscribe','getCurrent','SYNCED','FETCH_MISS','add','length','_context','/run/','saveTaskMap','BehaviorSubject','getActiveSheet','Optional','_config','defineProperty','sessionStatus$','DesktopCollaborationStatusDisplayController','ICommandService','DeleteRangeMoveLeftCommandId','fillStyle','_hover','3369488KTsvQa','_docSkeletonManagerService','call','storage','SNAPSHOT_HAS_BEEN_REMOVED','urlChange$','takeUntil','handleDeleteRangeMoveUp','handleMoveRange','CollaborationUIEventService','PY_RUNTIME_SCRIPT_ERROR','YUUMI_UNABLE_LOAD_URL','CollaborationDataLoaderController','size','random','http://www.w3.org/2000/svg','deserializeRangeWithSheet','_transformUndoRedoStack','SUBMIT_CHANGESET_TIMEOUT','collab-client.tooltip.reconnect','RECT','_initResize','setAlpha','LOGIN_FAILED','undoState','_toggleOnline','CONFLICT','setConfig','_initDependencies','YUUMI_NO_CUBOID_FOR_QUESTION','_hovered','newValue','YUUMI_AI_RUN_FAILED','getStateCache','runOnServer','getMergeData','onPointerMove$','flatMap','getValue','collaboration-client-ui.config','trim','debounce','19807300mtfbKy','UNIVER_SHEET','YUUMI_URL_COL_OUT_OF_RANGE','ThemeService','eventID','Disposable','collabStatus.syncing','map','Shape','assignAColorForMemberID','_getAnchorBounding','getRangePointData','18QduPLO','color','SetSelectionsOperation','name','addObject','isTransformMutationsWithChangesetSuccess','unitID','_refRangeService','ticket','AWAITING_WITH_PENDING','concat','startColumn','throttleTime','CollaborationEvent','session.connection-failed','pipe','_onRefRangeChange','MessageType','YUUMI_CONNECTOR_URL_NOT_FOUND','code','wsSessionTicketUrl','getSheetBySheetId','min','_handleLeaveEvent','_anchor','_transformHistoryAndStateStack','getOwnPropertySymbols','collaboration.single-unit.warning','_initStatusComponent','cursorInfo','INVITE_CODE_HAS_BEEN_UES','_cursorInfo$','collabCursorState$','skeleton','_injector','collab-text-anchor-','getUndoRedoMutationParamsCache','createIdentifier','M0\x200H16V16H0z','getLocalCacheKey','actions','_dataLoaderService','backgroundColor','selections','div','getUnhiddenWorksheets','...','_registerRenderDependencies','getCoordByCell','idSuffix','currentSkeleton$','current','_handleEvent','NOT_FOUND','roomMembers','font','fromEvent','SOCKET_FAILED','send','column','range','dispose','registerComponent','InsertColCommandId','subunit','forEach','PENDING','_draw','USER_NOT_INVITED_CODE','redoState','_drawAnchor','LocaleService','_getMergeRange'];_0x2c3a=function(){return _0x2d5e83;};return _0x2c3a();}we[_0x373e19(0xe9)]=_0x373e19(0x31b);var Qe={'tag':'svg','attrs':{'xmlns':_0x373e19(0x1c2),'fill':_0x373e19(0x2a4),'viewBox':_0x373e19(0x27c),'width':_0x373e19(0x32e),'height':_0x373e19(0x32e)},'children':[{'tag':'g','attrs':{'clipPath':_0x373e19(0x2fd)},'children':[{'tag':_0x373e19(0x188),'attrs':{'stroke':_0x373e19(0x103),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x373e19(0x2eb),'strokeLinejoin':_0x373e19(0x2eb),'strokeWidth':1.2}}]},{'tag':_0x373e19(0x2f6),'attrs':{},'children':[{'tag':_0x373e19(0x175),'attrs':{'id':_0x373e19(0x123)},'children':[{'tag':_0x373e19(0x188),'attrs':{'fill':'white','d':_0x373e19(0x20f),'transform':'translate(.97)'}}]}]}],'defIds':[_0x373e19(0x123)]},Ae=M[_0x373e19(0x15d)](function(_0x316a9b,_0x3ee623){const _0x55a048=_0x373e19;return M[_0x55a048(0x2d1)](ge,Object[_0x55a048(0x18c)]({},_0x316a9b,{'id':_0x55a048(0x244),'ref':_0x3ee623,'icon':Qe}));});Ae[_0x373e19(0xe9)]=_0x373e19(0x2ae);function et(_0x11b945){const _0x45ce40=_0x373e19;switch(_0x11b945){case u[_0x45ce40(0x2c4)]['OFFLINE']:return'collabStatus.offline';case u[_0x45ce40(0x2c4)]['CONFLICT']:return'collabStatus.conflict';case u['CollaborationStatus'][_0x45ce40(0x1a2)]:return'collabStatus.fetchMiss';case u[_0x45ce40(0x2c4)][_0x45ce40(0x161)]:return _0x45ce40(0x16e);case u['CollaborationStatus'][_0x45ce40(0x178)]:case u[_0x45ce40(0x2c4)][_0x45ce40(0x1f2)]:return _0x45ce40(0x1e3);case u[_0x45ce40(0x2c4)][_0x45ce40(0x1a1)]:case u[_0x45ce40(0x2c4)][_0x45ce40(0x22b)]:return'collabStatus.synced';}}function tt(_0x5a841f){const _0x30d828=_0x373e19,{status$:_0x2ca6b9}=_0x5a841f,_0x617fac=O['useObservable'](_0x2ca6b9,u[_0x30d828(0x2c4)][_0x30d828(0x161)]),_0x235dbc=O[_0x30d828(0x23f)](a[_0x30d828(0x230)]),_0x596623=O[_0x30d828(0x23f)](u[_0x30d828(0x2d6)]),_0x3e0782=_0x617fac!==u[_0x30d828(0x2c4)]['OFFLINE'],_0x21319d=_0x235dbc['t'](et(_0x617fac)),_0x1f5a3c=_0x3e0782?P['jsx'](Ae,{}):P[_0x30d828(0x155)](we,{}),_0x337396=M[_0x30d828(0x253)](()=>{_0x3e0782||_0x596623['reconnect']();},[_0x3e0782,_0x596623]);function _0xd2191b(){const _0xebba49=_0x30d828;return P[_0xebba49(0x196)](_0xebba49(0x215),{'className':'univer-flex\x20univer-items-center','onClick':_0x337396,'children':[P['jsx']('div',{'className':D['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3e0782,'univer-text-red-500':!_0x3e0782}),'children':_0x1f5a3c}),P['jsx'](_0xebba49(0x215),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x21319d})]});}return _0x3e0782?_0xd2191b():P[_0x30d828(0x155)](D[_0x30d828(0x129)],{'title':_0x235dbc['t'](_0x30d828(0x1c6)),'children':_0xd2191b()});}var st=Object[_0x373e19(0x305)],it=(_0x516db6,_0x113d6d,_0x285fd6,_0x5d7371)=>{const _0x5d0368=_0x373e19;for(var _0x55e308=_0x5d7371>0x1?void 0x0:_0x5d7371?st(_0x113d6d,_0x285fd6):_0x113d6d,_0x2e2399=_0x516db6[_0x5d0368(0x1a4)]-0x1,_0xe74e41;_0x2e2399>=0x0;_0x2e2399--)(_0xe74e41=_0x516db6[_0x2e2399])&&(_0x55e308=_0xe74e41(_0x55e308)||_0x55e308);return _0x55e308;},V=(_0x18c885,_0x4ab0fd)=>(_0x40c096,_0x2a57a4)=>_0x4ab0fd(_0x40c096,_0x2a57a4,_0x18c885);exports[_0x373e19(0x1ae)]=class extends a[_0x373e19(0x1e2)]{constructor(_0x4f98ab,_0x3a52a6,_0x569623,_0x2caf90){const _0x4a9cde=_0x373e19;super(),h(this,_0x4a9cde(0x2ca),new d['BehaviorSubject'](u['CollaborationStatus'][_0x4a9cde(0x161)])),(this['_univerInstanceService']=_0x4f98ab,this['_injector']=_0x3a52a6,this[_0x4a9cde(0xee)]=_0x569623,this[_0x4a9cde(0x15a)]=_0x2caf90,this[_0x4a9cde(0x205)](),this[_0x4a9cde(0x151)]());}[_0x373e19(0x151)](){const _0xb594ec=_0x373e19;this[_0xb594ec(0x13c)](this['_univerInstanceService'][_0xb594ec(0x26c)]['pipe'](d[_0xb594ec(0xcc)](()=>{const _0x4fe033=_0xb594ec,_0x3d3701=this[_0x4fe033(0x303)][_0x4fe033(0x19d)]();return _0x3d3701?this[_0x4fe033(0xee)][_0x4fe033(0x2da)](_0x3d3701['getUnitId']()):d['of'](null);}),d[_0xb594ec(0xcc)](_0x252191=>_0x252191?_0x252191[_0xb594ec(0x187)]:d['of'](u['CollaborationStatus'][_0xb594ec(0x161)])))[_0xb594ec(0x145)](_0x45e2dc=>{const _0x2425aa=_0xb594ec;this['_status$'][_0x2425aa(0x2e5)](_0x45e2dc);}));}[_0x373e19(0x205)](){const _0x24f4fb=_0x373e19;this[_0x24f4fb(0x13c)](this['_uiPartsService'][_0x24f4fb(0x227)](O[_0x24f4fb(0x2df)][_0x24f4fb(0x11c)],()=>O[_0x24f4fb(0x29b)](nt({'status$':this[_0x24f4fb(0x2ca)][_0x24f4fb(0x252)]()}),this[_0x24f4fb(0x20b)])));}},exports[_0x373e19(0x1ae)]=it([V(0x0,a['IUniverInstanceService']),V(0x1,a['Inject'](a[_0x373e19(0xc4)])),V(0x2,a[_0x373e19(0x2ec)](u[_0x373e19(0x17a)])),V(0x3,O[_0x373e19(0x232)])],exports[_0x373e19(0x1ae)]);function nt(_0x31edb9){const {status$:_0x2b50a9}=_0x31edb9;return function(){const _0x4f8fec=_0x2638;return P[_0x4f8fec(0x155)](tt,{'status$':_0x2b50a9});};}const me=a[_0x373e19(0x20e)]('uni.network.url-service');var rt=Object[_0x373e19(0x305)],ot=(_0x466201,_0x3857e6,_0x44f42b,_0x4c34ee)=>{const _0x16eaa2=_0x373e19;for(var _0x94a59c=_0x4c34ee>0x1?void 0x0:_0x4c34ee?rt(_0x3857e6,_0x44f42b):_0x3857e6,_0x51e54c=_0x466201[_0x16eaa2(0x1a4)]-0x1,_0x30db5e;_0x51e54c>=0x0;_0x51e54c--)(_0x30db5e=_0x466201[_0x51e54c])&&(_0x94a59c=_0x30db5e(_0x94a59c)||_0x94a59c);return _0x94a59c;},k=(_0x192f63,_0x426d3c)=>(_0x4cfd90,_0x5d7591)=>_0x426d3c(_0x4cfd90,_0x5d7591,_0x192f63);exports[_0x373e19(0x1bf)]=class extends a[_0x373e19(0xf0)]{constructor(_0x1bac7b,_0x45a82d,_0x3e05d7,_0x2948f7,_0x3f6cfa){const _0x47a667=_0x373e19;super(),this[_0x47a667(0x2d4)]=_0x1bac7b,this[_0x47a667(0x294)]=_0x45a82d,this[_0x47a667(0x248)]=_0x3e05d7,this['_dataLoaderService']=_0x2948f7,_0x3f6cfa?_0x3f6cfa==null||_0x3f6cfa[_0x47a667(0x141)]()['then'](()=>this['_init']()):(this[_0x47a667(0x294)]['debug'](_0x47a667(0x113),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x47a667(0xbb)]());}async['_init'](){const _0x196f68=_0x373e19,_0x4ca8d6=this[_0x196f68(0x2d4)][_0x196f68(0x322)](_0x196f68(0x328)),_0x196f13=this['_urlService'][_0x196f68(0x322)](_0x196f68(0x324)),_0x125abd=this[_0x196f68(0x2d4)]['getParam'](_0x196f68(0x229));if(!_0x4ca8d6||!_0x196f13){this[_0x196f68(0x294)][_0x196f68(0x2e6)]('[CollaborationDataLoaderController]',_0x196f68(0x307));return;}const _0x3b88d2=await this[_0x196f68(0x212)][_0x196f68(0x2d9)](_0x4ca8d6,Number(_0x196f13),_0x125abd);_0x3b88d2&&_0x3b88d2 instanceof a['Workbook']&&this[_0x196f68(0xd6)](_0x3b88d2);}async['_setupSubUnitSync'](_0x1d7626){const _0x2baea2=_0x373e19;await this[_0x2baea2(0x109)](_0x1d7626),_0x1d7626[_0x2baea2(0x257)][_0x2baea2(0x1f8)](d[_0x2baea2(0x1b9)](this[_0x2baea2(0x2e1)]))['subscribe'](_0xb545b0=>{const _0x52487b=_0x2baea2;_0xb545b0&&this[_0x52487b(0x2d3)](_0xb545b0);}),this['_urlService'][_0x2baea2(0x1b8)][_0x2baea2(0x1f8)](d['takeUntil'](this[_0x2baea2(0x2e1)]))[_0x2baea2(0x145)](()=>this[_0x2baea2(0x109)](_0x1d7626));}['_updateURLWithCurrentState'](_0x3fdcd3,_0x1151f4=!0x1){const _0x4f7903=_0x373e19,_0x3edee7=this[_0x4f7903(0x2d4)][_0x4f7903(0x322)](_0x4f7903(0x229));_0x3fdcd3[_0x4f7903(0x32b)]()!==_0x3edee7&&this[_0x4f7903(0x2d4)][_0x4f7903(0x2cd)]('subunit',_0x3fdcd3[_0x4f7903(0x32b)](),_0x1151f4);}async['_updateSubUnitFromURLParams'](_0x4b32d9){const _0x5c6295=_0x373e19;var _0x5bf2f3;const _0x2965e8=this[_0x5c6295(0x2d4)][_0x5c6295(0x322)](_0x5c6295(0x229));if(!_0x2965e8||!_0x4b32d9[_0x5c6295(0x1fe)](_0x2965e8)){const _0x4ea8f9=_0x4b32d9[_0x5c6295(0x216)]()[0x0],_0x13b1f7=_0x4b32d9['getSheetBySheetId'](_0x4ea8f9);if(!_0x13b1f7)return;this['_updateURLWithCurrentState'](_0x13b1f7,!0x0),await this['_commandService'][_0x5c6295(0x278)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x4b32d9[_0x5c6295(0x261)](),'subUnitId':_0x4ea8f9});return;}((_0x5bf2f3=_0x4b32d9[_0x5c6295(0x1a9)]())==null?void 0x0:_0x5bf2f3[_0x5c6295(0x32b)]())!==_0x2965e8&&await this[_0x5c6295(0x248)][_0x5c6295(0x278)](g[_0x5c6295(0x30b)]['id'],{'unitId':_0x4b32d9[_0x5c6295(0x261)](),'subUnitId':_0x2965e8});}},exports[_0x373e19(0x1bf)]=ot([k(0x0,me),k(0x1,a[_0x373e19(0x28c)]),k(0x2,a['ICommandService']),k(0x3,a[_0x373e19(0x2ec)](u['DataLoaderService'])),k(0x4,a[_0x373e19(0x1aa)](Xe['IRemoteInstanceService']))],exports[_0x373e19(0x1bf)]);var at=Object[_0x373e19(0x305)],ct=(_0x38af15,_0x1ce6aa,_0x521d1f,_0x5145a8)=>{for(var _0x4b6a91=_0x5145a8>0x1?void 0x0:_0x5145a8?at(_0x1ce6aa,_0x521d1f):_0x1ce6aa,_0x36b275=_0x38af15['length']-0x1,_0x585e38;_0x36b275>=0x0;_0x36b275--)(_0x585e38=_0x38af15[_0x36b275])&&(_0x4b6a91=_0x585e38(_0x4b6a91)||_0x4b6a91);return _0x4b6a91;},be=(_0x26647a,_0x1638b0)=>(_0x19e83e,_0x56618e)=>_0x1638b0(_0x19e83e,_0x56618e,_0x26647a);let ue=class extends a[_0x373e19(0xf0)]{constructor(_0x163ed0,_0x57347f){const _0x18d033=_0x373e19;super(),this[_0x18d033(0x126)]=_0x163ed0,this[_0x18d033(0x2cb)]=_0x57347f,this[_0x18d033(0xbb)]();}[_0x373e19(0xbb)](){const _0x294fc2=_0x373e19,_0x13e851=this;this[_0x294fc2(0x13c)](this[_0x294fc2(0x126)]['addClipboardHook']({'onBeforePasteImage':async _0x43e4d9=>{const _0x10f5e9=_0x294fc2,_0x38d86c=await _0x13e851['_imageIoService'][_0x10f5e9(0xcd)](_0x43e4d9);return _0x38d86c?{'source':_0x38d86c['source'],'imageSourceType':_0x38d86c[_0x10f5e9(0x308)]}:null;}}));}};ue=ct([be(0x0,E['IDocClipboardService']),be(0x1,Ge[_0x373e19(0x2e8)])],ue);const Oe=[_0x373e19(0x254),_0x373e19(0x138),_0x373e19(0x23d),'red.300',_0x373e19(0xbf),_0x373e19(0x2fe)];function _0x2638(_0x2d319f,_0x37e9a6){const _0x2c3a8b=_0x2c3a();return _0x2638=function(_0x26382f,_0x30001d){_0x26382f=_0x26382f-0xb0;let _0x2fb487=_0x2c3a8b[_0x26382f];return _0x2fb487;},_0x2638(_0x2d319f,_0x37e9a6);}class Ce extends a[_0x373e19(0x1e2)]{constructor(){const _0x405a9c=_0x373e19;super(...arguments),h(this,_0x405a9c(0x158),new Map()),h(this,_0x405a9c(0x267),0x0);}[_0x373e19(0x1e6)](_0x1d61e3){const _0x1356c3=_0x373e19;if(this[_0x1356c3(0x158)][_0x1356c3(0x281)](_0x1d61e3))return this['_assignedColors']['get'](_0x1d61e3);const _0x533443=Oe[this[_0x1356c3(0x267)]];return this[_0x1356c3(0x267)]=(this[_0x1356c3(0x267)]+0x1)%Oe[_0x1356c3(0x1a4)],this[_0x1356c3(0x158)][_0x1356c3(0x2a9)](_0x1d61e3,_0x533443),_0x533443;}}function ye(_0x2eaa0c){let _0x947bc0='';for(const _0x4920ac of _0x2eaa0c){const {startOffset:_0x3afd93,endOffset:_0x17c114,isActive:_0x17bd73,rangeType:_0x4e006b,segmentId:_0x531cb0,segmentPage:_0x22536c}=_0x4920ac;_0x947bc0['length']&&(_0x947bc0+=','),_0x947bc0+=_0x3afd93+':'+_0x17c114+':'+(_0x17bd73?'1':'0')+':'+_0x4e006b+':'+_0x531cb0+':'+_0x22536c;}return _0x947bc0;}function lt(_0x1e5d9b){const _0x5c17cc=_0x373e19,_0x2d8145=_0x1e5d9b[_0x5c17cc(0x174)](','),_0x4ba82b=[];for(const _0x483080 of _0x2d8145){const [_0x4d53b0,_0x4b52d0,_0x3c7ccd,_0x36801f,_0xe1ac6f,_0x2d6c69]=_0x483080['split'](':');_0x4ba82b[_0x5c17cc(0xc2)]({'startOffset':Number(_0x4d53b0),'endOffset':Number(_0x4b52d0),'collapsed':_0x4d53b0===_0x4b52d0,'isActive':_0x3c7ccd==='1','rangeType':_0x36801f===a[_0x5c17cc(0xbd)]['TEXT']?a[_0x5c17cc(0xbd)][_0x5c17cc(0x18d)]:a[_0x5c17cc(0xbd)][_0x5c17cc(0x1c7)],'segmentId':typeof _0xe1ac6f=='string'?String(_0xe1ac6f):'','segmentPage':Number(_0x2d6c69!=null?_0x2d6c69:-0x1)});}return _0x4ba82b[_0x5c17cc(0xd1)](_0x4d6ff7=>_0x4d6ff7[_0x5c17cc(0x136)])||(_0x4ba82b[0x0][_0x5c17cc(0x136)]=!0x0),_0x4ba82b;}class pe extends a['RxDisposable']{constructor(){const _0x107b51=_0x373e19;super(...arguments),h(this,'_collabCursorState$',new d[(_0x107b51(0x1a8))](null)),h(this,_0x107b51(0x209),this[_0x107b51(0xe0)][_0x107b51(0x252)]());}[_0x373e19(0x107)](_0x44e16c){const _0x3a8d05=_0x373e19,{unitID:_0x4bcdd2,memberID:_0x1eafce,textRanges:_0x3ae513}=_0x44e16c,_0x3f118b=ye(_0x3ae513);if(_0x3f118b==='')return;const _0xaba70b={'unitID':_0x4bcdd2,'memberID':_0x1eafce,'selection':_0x3f118b};this[_0x3a8d05(0xe0)][_0x3a8d05(0x2e5)](_0xaba70b);}}var _t=Object[_0x373e19(0x305)],ht=(_0x8597f,_0x1d0f6a,_0x46a393,_0x3e3dad)=>{const _0x44c2fd=_0x373e19;for(var _0x5c58e4=_0x3e3dad>0x1?void 0x0:_0x3e3dad?_t(_0x1d0f6a,_0x46a393):_0x1d0f6a,_0x200406=_0x8597f[_0x44c2fd(0x1a4)]-0x1,_0x271716;_0x200406>=0x0;_0x200406--)(_0x271716=_0x8597f[_0x200406])&&(_0x5c58e4=_0x271716(_0x5c58e4)||_0x5c58e4);return _0x5c58e4;},L=(_0x2336a6,_0x782344)=>(_0x249362,_0x17de32)=>_0x782344(_0x249362,_0x17de32,_0x2336a6);const ut=0x12c,dt=0x64;let de=class extends a[_0x373e19(0xf0)]{constructor(_0x113446,_0x243f79,_0x5b3c98,_0xc696d9,_0x281119,_0xf7dc22,_0x4c49b9,_0x162098,_0x48fb09){const _0x3b9591=_0x373e19;super(),h(this,_0x3b9591(0x311),!0x1),h(this,_0x3b9591(0xbb),!0x1),h(this,_0x3b9591(0x208),new d[(_0x3b9591(0x1a8))](new Map())),h(this,_0x3b9591(0x310),this[_0x3b9591(0x208)][_0x3b9591(0x252)]()),h(this,'_roomMembers$',new d[(_0x3b9591(0x1a8))]([])),h(this,_0x3b9591(0x287),this['_roomMembers$'][_0x3b9591(0x1f8)](d[_0x3b9591(0xe6)](ut))),h(this,_0x3b9591(0x263),a[_0x3b9591(0x1dc)](_0x497067=>{const _0x39a1f6=_0x3b9591,_0xebc488={'eventID':m[_0x39a1f6(0x1f6)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x39a1f6(0x28b)][_0x39a1f6(0x146)](),'selection':ye(_0x497067)}};this[_0x39a1f6(0x28b)][_0x39a1f6(0x223)](_0xebc488,this[_0x39a1f6(0x1ef)]);},dt)),(this[_0x3b9591(0x1ef)]=_0x113446,this[_0x3b9591(0x28b)]=_0x243f79,this[_0x3b9591(0x20b)]=_0x5b3c98,this[_0x3b9591(0x298)]=_0xc696d9,this[_0x3b9591(0x2d7)]=_0x281119,this[_0x3b9591(0x30d)]=_0xf7dc22,this[_0x3b9591(0x116)]=_0x4c49b9,this['_univerInstanceService']=_0x162098,this[_0x3b9591(0x248)]=_0x48fb09);}get[_0x373e19(0x206)](){const _0x44b34e=_0x373e19;return this['_cursorInfo$'][_0x44b34e(0x1d9)]();}get[_0x373e19(0x21f)](){const _0x494d82=_0x373e19;return this[_0x494d82(0x119)][_0x494d82(0x1d9)]();}[_0x373e19(0x226)](){const _0x172e7f=_0x373e19;super['dispose'](),this[_0x172e7f(0x208)][_0x172e7f(0x2e5)](new Map()),this[_0x172e7f(0x208)][_0x172e7f(0xb7)](),this[_0x172e7f(0x119)][_0x172e7f(0x2e5)]([]),this[_0x172e7f(0x119)]['complete']();}[_0x373e19(0xe5)](){const _0x4b9bcb=_0x373e19;this['_init']||(this['_init']=!0x0,this[_0x4b9bcb(0x28b)][_0x4b9bcb(0x1ad)][_0x4b9bcb(0x1f8)](d[_0x4b9bcb(0x1b9)](this[_0x4b9bcb(0x2e1)]))[_0x4b9bcb(0x145)](_0x17383f=>{const _0x3f7251=_0x4b9bcb;_0x17383f===u['SessionStatus'][_0x3f7251(0x152)]?this[_0x3f7251(0x1cc)]():this['_toggleOffline']();}),this[_0x4b9bcb(0x28b)][_0x4b9bcb(0x195)][_0x4b9bcb(0x1f8)](d[_0x4b9bcb(0x1b9)](this[_0x4b9bcb(0x2e1)]))[_0x4b9bcb(0x145)](_0xbc3703=>{const _0x5c706c=_0x4b9bcb,_0x2f56bc=_0xbc3703['eventID'];_0x2f56bc===m[_0x5c706c(0x1f6)][_0x5c706c(0x28d)]&&this[_0x5c706c(0x190)](_0xbc3703),_0x2f56bc===m['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0xbc3703);}),this[_0x4b9bcb(0x13c)](this['_commandService']['onCommandExecuted'](_0x5f1c1e=>{const _0x4cf252=_0x4b9bcb,_0x21e9e1=_0x5f1c1e[_0x4cf252(0x182)];_0x21e9e1!=null&&this[_0x4cf252(0x311)]&&_0x5f1c1e['id']===Y['SetTextSelectionsOperation']['id']&&_0x21e9e1[_0x4cf252(0xf7)]===this[_0x4cf252(0x1ef)]&&_0x21e9e1['isEditing']===!0x1&&_0x21e9e1[_0x4cf252(0x110)][_0x4cf252(0x1a4)]>0x0&&this['_updateLocalCursor'](_0x21e9e1['ranges']);})),this[_0x4b9bcb(0x30d)]['collabCursorState$'][_0x4b9bcb(0x1f8)](d[_0x4b9bcb(0x1b9)](this[_0x4b9bcb(0x2e1)]))[_0x4b9bcb(0x145)](_0x26c011=>{const _0x15e1b8=_0x4b9bcb;if((_0x26c011==null?void 0x0:_0x26c011[_0x15e1b8(0x1ef)])!==this[_0x15e1b8(0x1ef)])return;const _0x17ba6f={'eventID':m['CollaborationEvent'][_0x15e1b8(0x28d)],'data':_0x26c011};this['_onCursorUpdate'](_0x17ba6f);}),this[_0x4b9bcb(0x13c)](this[_0x4b9bcb(0x248)][_0x4b9bcb(0x27d)](_0x3ab3f1=>{const _0x106bac=_0x4b9bcb;if(_0x3ab3f1[_0x106bac(0x182)]==null)return;const _0xe5e07=_0x3ab3f1[_0x106bac(0x182)];if(_0x3ab3f1['id']!==Y['RichTextEditingMutation']['id']||_0xe5e07[_0x106bac(0xf7)]!==this[_0x106bac(0x1ef)])return;const _0x441dcf={'id':'doc.mutation.rich-text-editing','params':_0xe5e07},_0x23b2ed=this[_0x106bac(0x206)];for(const [_0x185b29,_0x5ed0cf]of _0x23b2ed){const _0xe1572={'id':_0x106bac(0xc1),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5ed0cf['ranges']}},_0x182151=this[_0x106bac(0x116)][_0x106bac(0x102)](_0x441dcf,_0xe1572,!0x1);if(m['isTransformMutationFailure'](_0x182151))throw _0x182151[_0x106bac(0x111)];_0x23b2ed[_0x106bac(0x2a9)](_0x185b29,{..._0x5ed0cf,'ranges':_0x182151[_0x106bac(0x235)][_0x106bac(0x182)][_0x106bac(0x2bc)]});}queueMicrotask(()=>{const _0x5e6120=_0x106bac;this[_0x5e6120(0x208)][_0x5e6120(0x2e5)](_0x23b2ed);});})));}[_0x373e19(0x190)](_0x389b56){const _0xa9bfdd=_0x373e19;var _0x519ee5,_0x22b673;const {memberID:_0x1ccd8e,selection:_0x4797f4}=_0x389b56[_0xa9bfdd(0x13f)],_0x4ec47b=lt(_0x4797f4),_0x39e9df=(_0x22b673=(_0x519ee5=this[_0xa9bfdd(0x2d7)][_0xa9bfdd(0xc5)](this[_0xa9bfdd(0x1ef)],_0x1ccd8e))==null?void 0x0:_0x519ee5[_0xa9bfdd(0x1ec)])!=null?_0x22b673:'Unknown\x20user',_0x216e67={'color':this[_0xa9bfdd(0x298)]['assignAColorForMemberID'](_0x1ccd8e),'name':_0x39e9df,'ranges':_0x4ec47b},_0x153d0a=this[_0xa9bfdd(0x206)];_0x153d0a[_0xa9bfdd(0x2a9)](_0x1ccd8e,_0x216e67),this[_0xa9bfdd(0x208)][_0xa9bfdd(0x2e5)](_0x153d0a);}[_0x373e19(0x194)](_0x3395bd){const _0x47feae=_0x373e19,{memberID:_0x4df97d}=_0x3395bd[_0x47feae(0x13f)],_0x5912dd=this['cursorInfo'];_0x5912dd[_0x47feae(0x258)](_0x4df97d),this[_0x47feae(0x208)][_0x47feae(0x2e5)](_0x5912dd);}[_0x373e19(0x1cc)](){const _0x5a7958=_0x373e19;var _0x345bdb;if(this[_0x5a7958(0x311)]=!0x0,((_0x345bdb=this[_0x5a7958(0x303)][_0x5a7958(0x19d)]())==null?void 0x0:_0x345bdb[_0x5a7958(0x261)]())!==this[_0x5a7958(0x1ef)])return;const _0x477313=this[_0x5a7958(0x20b)][_0x5a7958(0x177)](Y[_0x5a7958(0x10a)])[_0x5a7958(0x288)]();Array[_0x5a7958(0x297)](_0x477313)&&_0x477313['length']>0x0&&this[_0x5a7958(0x263)](_0x477313);}[_0x373e19(0x19b)](){this['_online']=!0x1;}};de=ht([L(0x2,a[_0x373e19(0x2ec)](a[_0x373e19(0xc4)])),L(0x3,a[_0x373e19(0x2ec)](Ce)),L(0x4,a['Inject'](u[_0x373e19(0x13e)])),L(0x5,a[_0x373e19(0x2ec)](pe)),L(0x6,m[_0x373e19(0x101)]),L(0x7,a[_0x373e19(0x157)]),L(0x8,a[_0x373e19(0x1af)])],de);var St=Object[_0x373e19(0x305)],ft=(_0x584050,_0x24aba9,_0x3c5376,_0x4a2923)=>{const _0x1b281c=_0x373e19;for(var _0xfea012=_0x4a2923>0x1?void 0x0:_0x4a2923?St(_0x24aba9,_0x3c5376):_0x24aba9,_0x3fda8a=_0x584050[_0x1b281c(0x1a4)]-0x1,_0x5ee1cc;_0x3fda8a>=0x0;_0x3fda8a--)(_0x5ee1cc=_0x584050[_0x3fda8a])&&(_0xfea012=_0x5ee1cc(_0xfea012)||_0xfea012);return _0xfea012;},A=(_0x3152ac,_0x5a9bcb)=>(_0x262af1,_0x323b44)=>_0x5a9bcb(_0x262af1,_0x323b44,_0x3152ac);const It=0x12c,vt=0x64,gt=()=>{let _0x3e2ed3=[],_0x91df12=!0x1;return _0x2b2b22=>{const _0x222a33=_0x2638;_0x3e2ed3[_0x222a33(0xc2)](_0x2b2b22),_0x91df12||(_0x91df12=!0x0,setTimeout(()=>{const _0x1b0c55=_0x222a33;_0x3e2ed3[_0x1b0c55(0x22a)](_0x2fff20=>_0x2fff20()),_0x3e2ed3=[],_0x91df12=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x364467,_0x22342c,_0x2e2501,_0x557b83,_0x110ece,_0x28855e,_0x414497,_0xe19115){const _0x56ca58=_0x373e19;super(),h(this,_0x56ca58(0x311),!0x1),h(this,'_init',!0x1),h(this,_0x56ca58(0x208),new d['BehaviorSubject'](new Map())),h(this,_0x56ca58(0x310),this[_0x56ca58(0x208)]['asObservable']()),h(this,_0x56ca58(0x119),new d[(_0x56ca58(0x1a8))]([])),h(this,_0x56ca58(0x287),this[_0x56ca58(0x119)][_0x56ca58(0x1f8)](d['debounceTime'](It))),h(this,_0x56ca58(0x263),a[_0x56ca58(0x1dc)]((_0x94fb5c,_0x27b09b)=>{const _0x1c58ba=_0x56ca58,_0x41a08d={'eventID':m[_0x1c58ba(0x1f6)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x1c58ba(0x28b)][_0x1c58ba(0x146)](),'selection':Ee[_0x1c58ba(0x11e)](_0x94fb5c,_0x27b09b[_0x1c58ba(0x225)])}};this[_0x1c58ba(0x28b)][_0x1c58ba(0x223)](_0x41a08d,this[_0x1c58ba(0x1ef)]);},vt)),(this[_0x56ca58(0x1ef)]=_0x364467,this[_0x56ca58(0x28b)]=_0x22342c,this[_0x56ca58(0x20b)]=_0x2e2501,this['_colorAssignService']=_0x557b83,this[_0x56ca58(0x2d7)]=_0x110ece,this[_0x56ca58(0x303)]=_0x28855e,this[_0x56ca58(0x248)]=_0x414497,this[_0x56ca58(0x1f0)]=_0xe19115);}get[_0x373e19(0x206)](){const _0x389f19=_0x373e19;return this[_0x389f19(0x208)][_0x389f19(0x1d9)]();}get[_0x373e19(0x21f)](){const _0x472915=_0x373e19;return this[_0x472915(0x119)][_0x472915(0x1d9)]();}['dispose'](){const _0x38242b=_0x373e19;super['dispose'](),this[_0x38242b(0x208)][_0x38242b(0x2e5)](new Map()),this[_0x38242b(0x208)]['complete'](),this[_0x38242b(0x119)][_0x38242b(0x2e5)]([]),this[_0x38242b(0x119)][_0x38242b(0xb7)]();}[_0x373e19(0xe5)](){const _0x1ac696=_0x373e19;this[_0x1ac696(0xbb)]||(this[_0x1ac696(0xbb)]=!0x0,this['_session']['sessionStatus$'][_0x1ac696(0x1f8)](d[_0x1ac696(0x1b9)](this['dispose$']))['subscribe'](_0x438435=>{const _0x446d71=_0x1ac696;_0x438435===u['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x446d71(0x19b)]();}),this[_0x1ac696(0x28b)]['event$'][_0x1ac696(0x1f8)](d['takeUntil'](this[_0x1ac696(0x2e1)]))[_0x1ac696(0x145)](_0x4c70d8=>{const _0x5af1b6=_0x1ac696,_0x132192=_0x4c70d8[_0x5af1b6(0x1e1)];_0x132192===m[_0x5af1b6(0x1f6)][_0x5af1b6(0x28d)]&&this[_0x5af1b6(0x190)](_0x4c70d8),_0x132192===m[_0x5af1b6(0x1f6)][_0x5af1b6(0x176)]&&this['_onCursorDelete'](_0x4c70d8);}),this[_0x1ac696(0x1f9)](),this[_0x1ac696(0x13c)](this[_0x1ac696(0x248)][_0x1ac696(0x27d)](_0x547885=>{const _0x205bbc=_0x1ac696;if(this[_0x205bbc(0x311)]&&_0x547885['id']===g[_0x205bbc(0x1eb)]['id']&&_0x547885[_0x205bbc(0x182)][_0x205bbc(0xf7)]===this[_0x205bbc(0x1ef)]){const _0x19f8b1=_0x547885['params'];this[_0x205bbc(0x263)](_0x19f8b1[_0x205bbc(0x2a0)],_0x19f8b1[_0x205bbc(0x214)][0x0]);}})));}['_onCursorUpdate'](_0x13e61a){const _0x3cd807=_0x373e19;var _0x3894eb,_0x5d3b98;const {memberID:_0x2fdace,selection:_0x1b15c8}=_0x13e61a[_0x3cd807(0x13f)],{sheetName:_0x58981e,range:_0x58d00d}=Ee[_0x3cd807(0x1c3)](_0x1b15c8),_0x3f62f5={'name':(_0x5d3b98=(_0x3894eb=this[_0x3cd807(0x2d7)][_0x3cd807(0xc5)](this[_0x3cd807(0x1ef)],_0x2fdace))==null?void 0x0:_0x3894eb['name'])!=null?_0x5d3b98:_0x3cd807(0x29d),'range':this[_0x3cd807(0x231)](_0x58981e,_0x58d00d),'sheetID':_0x58981e,'color':this[_0x3cd807(0x298)][_0x3cd807(0x1e6)](_0x2fdace),'selection':_0x1b15c8},_0x586812=this[_0x3cd807(0x206)];_0x586812[_0x3cd807(0x2a9)](_0x2fdace,_0x3f62f5),this[_0x3cd807(0x208)]['next'](_0x586812);}['_onCursorDelete'](_0x4a44e7){const _0x5ec480=_0x373e19,{memberID:_0x14a724}=_0x4a44e7['data'],_0x5e1c73=this[_0x5ec480(0x206)];_0x5e1c73[_0x5ec480(0x258)](_0x14a724),this[_0x5ec480(0x208)][_0x5ec480(0x2e5)](_0x5e1c73);}[_0x373e19(0x231)](_0x39c090,_0x41fae9){const _0x509b8b=_0x373e19;var _0x3f1faf,_0x34d765;const _0x5c40e5=(_0x34d765=(_0x3f1faf=this[_0x509b8b(0x303)][_0x509b8b(0x2be)](this[_0x509b8b(0x1ef)]))==null?void 0x0:_0x3f1faf[_0x509b8b(0x1fe)](_0x39c090))==null?void 0x0:_0x34d765[_0x509b8b(0x1d6)]();return(_0x5c40e5==null?void 0x0:_0x5c40e5['find'](_0x4db961=>a[_0x509b8b(0x2c5)]['contains'](_0x4db961,_0x41fae9)))||_0x41fae9;}['_onRefRangeChange'](){const _0x35721e=_0x373e19,_0xbe85f3=new a['DisposableCollection'](),_0x454b05=gt(),_0x5e7be6=()=>{const _0x4e2bb1=_0x2638;_0xbe85f3[_0x4e2bb1(0x226)]();const _0x381e85=(_0x5d8dfa,_0x251797,_0x37d6a9,_0x48f671)=>{const _0x325260=_0x4e2bb1;let _0xb7d3bc=[];switch(_0x5d8dfa['id']){case g[_0x325260(0x2f0)][_0x325260(0x1b0)]:{_0xb7d3bc=g[_0x325260(0x12a)](_0x5d8dfa,_0x48f671);break;}case g['EffectRefRangId'][_0x325260(0x114)]:{_0xb7d3bc=g[_0x325260(0x1ba)](_0x5d8dfa,_0x48f671);break;}case g[_0x325260(0x2f0)][_0x325260(0x228)]:{_0xb7d3bc=g['handleInsertCol'](_0x5d8dfa,_0x48f671);break;}case g[_0x325260(0x2f0)][_0x325260(0x124)]:{_0xb7d3bc=g[_0x325260(0x268)](_0x5d8dfa,_0x48f671);break;}case g[_0x325260(0x2f0)][_0x325260(0x2c8)]:{_0xb7d3bc=g[_0x325260(0x26d)](_0x5d8dfa,_0x48f671);break;}case g[_0x325260(0x2f0)][_0x325260(0x2af)]:{_0xb7d3bc=g[_0x325260(0x2bb)](_0x5d8dfa,_0x48f671);break;}case g['EffectRefRangId']['MoveRangeCommandId']:{_0xb7d3bc=g[_0x325260(0x1bb)](_0x5d8dfa,_0x48f671);break;}case g[_0x325260(0x2f0)][_0x325260(0x2a2)]:{_0xb7d3bc=g['handleIRemoveCol'](_0x5d8dfa,_0x48f671);break;}case g[_0x325260(0x2f0)]['RemoveRowCommandId']:{_0xb7d3bc=g['handleIRemoveRow'](_0x5d8dfa,_0x48f671);break;}}const _0x76e663=g[_0x325260(0x2f8)](_0xb7d3bc,_0x48f671),_0x1d6f2f=this[_0x325260(0x206)]['get'](_0x251797);if(_0x1d6f2f&&_0x76e663){const _0x425893={..._0x1d6f2f,'range':_0x76e663};this[_0x325260(0x206)]['set'](_0x251797,_0x425893),_0x454b05(()=>{const _0x173c38=_0x325260,_0xcd9a97=this[_0x173c38(0x1f0)][_0x173c38(0x25a)](_0x76e663,_0x5d07a3=>(_0xcd9a97[_0x173c38(0x226)](),_0x381e85(_0x5d07a3,_0x251797,_0x37d6a9,_0x76e663)));_0xbe85f3[_0x173c38(0x1a3)](_0xcd9a97);});}return{'redos':[],'undos':[]};};this[_0x4e2bb1(0x206)][_0x4e2bb1(0x22a)]((_0x471237,_0x1fea73)=>{const _0x34218e=_0x4e2bb1,{range:_0x153f75,sheetID:_0x21af3c}=_0x471237,_0xcc55e1=this['_refRangeService'][_0x34218e(0x25a)](_0x153f75,_0x24a05c=>(_0xcc55e1[_0x34218e(0x226)](),_0x381e85(_0x24a05c,_0x1fea73,_0x21af3c,_0x153f75)));_0xbe85f3['add'](_0xcc55e1);});};this[_0x35721e(0x13c)](a[_0x35721e(0x285)](this[_0x35721e(0x208)]['subscribe'](()=>{_0x5e7be6();})));}[_0x373e19(0x1cc)](){const _0x57614d=_0x373e19;var _0x1c5ad1,_0x38414b;if(this[_0x57614d(0x311)]=!0x0,((_0x1c5ad1=this[_0x57614d(0x303)][_0x57614d(0x19d)]())==null?void 0x0:_0x1c5ad1['getUnitId']())!==this['unitID'])return;const _0x4fe0b7=(_0x38414b=this['_injector']['get'](g[_0x57614d(0x302)])[_0x57614d(0x32f)]())==null?void 0x0:_0x38414b[0x0],_0x31ac87=this['_univerInstanceService']['getCurrentUnitForType'](a[_0x57614d(0x2fc)][_0x57614d(0x1de)])[_0x57614d(0x1a9)]();_0x4fe0b7&&_0x31ac87&&this['_updateLocalCursor'](_0x31ac87[_0x57614d(0x32b)](),_0x4fe0b7);}['_toggleOffline'](){this['_online']=!0x1;}};Se=ft([A(0x2,a[_0x373e19(0x2ec)](a[_0x373e19(0xc4)])),A(0x3,a[_0x373e19(0x2ec)](Ce)),A(0x4,a[_0x373e19(0x2ec)](u[_0x373e19(0x13e)])),A(0x5,a[_0x373e19(0x157)]),A(0x6,a[_0x373e19(0x1af)]),A(0x7,a['Inject'](g[_0x373e19(0x2c2)]))],Se);var mt=Object[_0x373e19(0x305)],Ct=(_0x260761,_0x247b39,_0x2e28b9,_0x639d9c)=>{const _0x5e7ac6=_0x373e19;for(var _0x1cfb14=_0x639d9c>0x1?void 0x0:_0x639d9c?mt(_0x247b39,_0x2e28b9):_0x247b39,_0x316f6e=_0x260761[_0x5e7ac6(0x1a4)]-0x1,_0x3f86e0;_0x316f6e>=0x0;_0x316f6e--)(_0x3f86e0=_0x260761[_0x316f6e])&&(_0x1cfb14=_0x3f86e0(_0x1cfb14)||_0x1cfb14);return _0x1cfb14;},ie=(_0x4c267b,_0x5f29b7)=>(_0x57c0ea,_0x506b10)=>_0x5f29b7(_0x57c0ea,_0x506b10,_0x4c267b);let x=class extends a[_0x373e19(0xf0)]{constructor(_0x147827,_0x53a5f9,_0x3cc56a){const _0x25a150=_0x373e19;super(),h(this,'_entities',new Map()),h(this,_0x25a150(0x14b),new d[(_0x25a150(0x29f))]()),(this[_0x25a150(0x303)]=_0x147827,this[_0x25a150(0x20b)]=_0x53a5f9,this['_collabSessionService']=_0x3cc56a,this[_0x25a150(0xbb)]());}[_0x373e19(0x226)](){const _0x4aef61=_0x373e19;super[_0x4aef61(0x226)](),this['_entityInit$'][_0x4aef61(0xb7)](),this[_0x4aef61(0x2ba)][_0x4aef61(0x22a)](_0x2d3182=>_0x2d3182['dispose']());}['getCollabCursors$'](_0x40e92f){const _0x3745fe=_0x373e19;return this['_entities'][_0x3745fe(0x281)](_0x40e92f)?this['_entities'][_0x3745fe(0x177)](_0x40e92f)[_0x3745fe(0x310)]:this['_entityInit$']['pipe'](d[_0x3745fe(0x243)](_0x3f804d=>_0x3f804d[_0x3745fe(0x1ef)]===_0x40e92f),d[_0x3745fe(0xcc)](_0x4992e5=>_0x4992e5[_0x3745fe(0x310)]));}[_0x373e19(0xbb)](){const _0x4b766f=_0x373e19;this['_univerInstanceService'][_0x4b766f(0xb3)](a['UniverInstanceType'][_0x4b766f(0x1de)])['pipe'](d[_0x4b766f(0x1b9)](this['dispose$']))[_0x4b766f(0x145)](async _0x2ea52f=>{const _0x4e6938=_0x4b766f,_0x3bade9=_0x2ea52f['getUnitId'](),_0x33d8f0=await this['_startSheetCollabCursor'](_0x3bade9);this[_0x4e6938(0x14b)][_0x4e6938(0x2e5)](_0x33d8f0),this[_0x4e6938(0x2ba)][_0x4e6938(0x2a9)](_0x3bade9,_0x33d8f0);}),this[_0x4b766f(0x303)][_0x4b766f(0xb3)](a[_0x4b766f(0x2fc)][_0x4b766f(0xf8)])[_0x4b766f(0x1f8)](d['takeUntil'](this[_0x4b766f(0x2e1)]))[_0x4b766f(0x1f8)](d[_0x4b766f(0x243)](_0xdac780=>!_0xdac780[_0x4b766f(0x261)]()[_0x4b766f(0x2a8)]('__')))[_0x4b766f(0x145)](async _0x174dd3=>{const _0x420a00=_0x4b766f,_0x381aac=_0x174dd3[_0x420a00(0x261)](),_0x51b990=await this[_0x420a00(0x25b)](_0x381aac);this['_entityInit$']['next'](_0x51b990),this[_0x420a00(0x2ba)][_0x420a00(0x2a9)](_0x381aac,_0x51b990);}),d[_0x4b766f(0x11b)](this[_0x4b766f(0x303)][_0x4b766f(0x118)](a['UniverInstanceType'][_0x4b766f(0xf8)]),this[_0x4b766f(0x303)][_0x4b766f(0x118)](a[_0x4b766f(0x2fc)]['UNIVER_SHEET']))[_0x4b766f(0x1f8)](d[_0x4b766f(0x1b9)](this[_0x4b766f(0x2e1)]))[_0x4b766f(0x145)](_0x91bb95=>{const _0x306a41=_0x4b766f,_0x31b6c2=_0x91bb95[_0x306a41(0x261)](),_0x21dc60=this['_entities'][_0x306a41(0x177)](_0x31b6c2);_0x21dc60&&(_0x21dc60[_0x306a41(0x226)](),this[_0x306a41(0x2ba)]['delete'](_0x31b6c2));});}async['_startSheetCollabCursor'](_0x2933e7){const _0x421b14=_0x373e19,_0xab92ed=await this[_0x421b14(0x169)][_0x421b14(0x2ef)](_0x2933e7),_0x151b0b=this[_0x421b14(0x20b)][_0x421b14(0x291)](Se,_0x2933e7,_0xab92ed);return _0x151b0b[_0x421b14(0xe5)](),_0x151b0b;}async[_0x373e19(0x25b)](_0x368b44){const _0x504f83=_0x373e19,_0x162224=await this[_0x504f83(0x169)][_0x504f83(0x2ef)](_0x368b44),_0x3de8b2=this[_0x504f83(0x20b)][_0x504f83(0x291)](de,_0x368b44,_0x162224);return _0x3de8b2[_0x504f83(0xe5)](),_0x3de8b2;}};x=Ct([ie(0x0,a[_0x373e19(0x157)]),ie(0x1,a[_0x373e19(0x2ec)](a[_0x373e19(0xc4)])),ie(0x2,a['Inject'](u[_0x373e19(0x2d6)]))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x5cc8ff,_0x13a38b){const _0x2bf8e5=_0x373e19;let {radius:_0x4f707f,width:_0x5a2f6d,height:_0x1048c0}=_0x13a38b;_0x4f707f=_0x4f707f!=null?_0x4f707f:0x0,_0x5a2f6d=_0x5a2f6d!=null?_0x5a2f6d:0x1e,_0x1048c0=_0x1048c0!=null?_0x1048c0:0x1e;let _0x382f8d=0x0,_0x4cecf1=0x0,_0x36023e=0x0;_0x382f8d=_0x4cecf1=_0x36023e=Math[_0x2bf8e5(0x1ff)](_0x4f707f,_0x5a2f6d/0x2,_0x1048c0/0x2),_0x5cc8ff[_0x2bf8e5(0xf3)](),_0x5cc8ff[_0x2bf8e5(0x100)](_0x382f8d,0x0),_0x5cc8ff[_0x2bf8e5(0x32a)](_0x5a2f6d-_0x4cecf1,0x0),_0x5cc8ff[_0x2bf8e5(0x143)](_0x5a2f6d-_0x4cecf1,_0x4cecf1,_0x4cecf1,Math['PI']*0x3/0x2,0x0,!0x1),_0x5cc8ff[_0x2bf8e5(0x32a)](_0x5a2f6d,_0x1048c0-_0x36023e),_0x5cc8ff['arc'](_0x5a2f6d-_0x36023e,_0x1048c0-_0x36023e,_0x36023e,0x0,Math['PI']/0x2,!0x1),_0x5cc8ff['lineTo'](0x0,_0x1048c0),_0x5cc8ff[_0x2bf8e5(0x32a)](0x0,_0x382f8d),_0x5cc8ff[_0x2bf8e5(0x143)](_0x382f8d,_0x382f8d,_0x382f8d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5cc8ff['closePath'](),_0x13a38b[_0x2bf8e5(0xec)]&&(_0x5cc8ff[_0x2bf8e5(0x163)](),_0x5cc8ff['fillStyle']=_0x13a38b[_0x2bf8e5(0xec)],_0x13a38b['fillRule']===_0x2bf8e5(0xcb)?_0x5cc8ff['fill'](_0x2bf8e5(0xcb)):_0x5cc8ff['fill'](),_0x5cc8ff[_0x2bf8e5(0x134)]());}class ee extends p[_0x373e19(0x1e5)]{constructor(_0x5de5bd,_0x32875b){const _0x71048b=_0x373e19;super(_0x5de5bd,_0x32875b),h(this,'color'),h(this,_0x71048b(0x2b6)),(this[_0x71048b(0x1ea)]=_0x32875b==null?void 0x0:_0x32875b[_0x71048b(0x1ea)],this['text']=_0x32875b==null?void 0x0:_0x32875b[_0x71048b(0x2b6)]);}static[_0x373e19(0xc9)](_0x522afc,_0x132d78){const _0x15081d=_0x373e19,{text:_0x47e421,color:_0x81d9ab}=_0x132d78;_0x522afc[_0x15081d(0x163)](),_0x522afc[_0x15081d(0x220)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x224323=_0x522afc[_0x15081d(0x25f)](_0x47e421)['width'],_0x426f88=Math[_0x15081d(0x1ff)](_0x224323+0x2*ne,Te);Et(_0x522afc,{'height':W,'radius':0x4,'width':_0x426f88,'fill':_0x81d9ab}),_0x522afc[_0x15081d(0x1b1)]=_0x15081d(0x30a);const _0x29b9af=ne,_0x5ae8bf=W-pt,_0x152fea=Te-0x2*ne;if(_0x224323>_0x152fea){let _0x578f33='',_0x40267c=0x0;for(const _0xf956ff of _0x47e421){const _0x2bd38c=_0x522afc[_0x15081d(0x25f)](_0xf956ff)[_0x15081d(0x173)];if(_0x40267c+_0x2bd38c<=_0x152fea-_0x522afc[_0x15081d(0x25f)](_0x15081d(0x217))['width'])_0x578f33+=_0xf956ff,_0x40267c+=_0x2bd38c;else{_0x578f33+=_0x15081d(0x217);break;}}_0x522afc[_0x15081d(0x14e)](_0x578f33,_0x29b9af,_0x5ae8bf);}else _0x522afc[_0x15081d(0x14e)](_0x47e421,_0x29b9af,_0x5ae8bf);_0x522afc[_0x15081d(0x134)]();}[_0x373e19(0x22c)](_0x24e2b1){ee['drawWith'](_0x24e2b1,this);}}const re=_0x373e19(0x20c),bt=_0x373e19(0x121),Ot='collab-rect-range-',F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt=_0x373e19(0x14d);class Re{constructor(_0x34749d,_0x5348ff,_0x32348a,_0x2c49c1){const _0x243e44=_0x373e19;h(this,_0x243e44(0x2d0),[]),h(this,_0x243e44(0x201),null),h(this,_0x243e44(0x273),null),h(this,_0x243e44(0x159),null),h(this,_0x243e44(0x131),null),h(this,_0x243e44(0x19f),null),(this[_0x243e44(0x168)]=_0x34749d,this[_0x243e44(0x135)]=_0x5348ff,this[_0x243e44(0x23c)]=_0x32348a,this['_document']=_0x2c49c1,this[_0x243e44(0x290)]());}set[_0x373e19(0x1b2)](_0x2a55a1){const _0x1dd21b=_0x373e19;_0x2a55a1?(this[_0x1dd21b(0x159)]&&this[_0x1dd21b(0x159)][_0x1dd21b(0xd9)](),this[_0x1dd21b(0x273)]&&this['_textBubble'][_0x1dd21b(0xed)]()):(this[_0x1dd21b(0x159)]&&this['_anchorDot']['show'](),this[_0x1dd21b(0x273)]&&this[_0x1dd21b(0x273)][_0x1dd21b(0xd9)]());}[_0x373e19(0x226)](){const _0x4dafdd=_0x373e19;for(const _0x3e35a0 of this[_0x4dafdd(0x2d0)])_0x3e35a0[_0x4dafdd(0x226)]();this[_0x4dafdd(0x273)]&&this['_textBubble'][_0x4dafdd(0x226)](),this[_0x4dafdd(0x159)]&&this['_anchorDot'][_0x4dafdd(0x226)](),this[_0x4dafdd(0x201)]&&this[_0x4dafdd(0x201)][_0x4dafdd(0x226)](),this[_0x4dafdd(0x19f)]&&this['_eventUnsubscribe']();}[_0x373e19(0x290)](){const _0x303768=_0x373e19;var _0x57d985;const {_docSkeleton:_0x3c9965,_document:_0x2dc762}=this,{color:_0xd0acc1,name:_0x39ece5,ranges:_0xf100ce}=this['_cursor'],_0x2710e0=_0x2dc762[_0x303768(0x17e)](),{docsLeft:_0x22a6c8,docsTop:_0xe34262}=_0x2710e0,_0x1e50aa=new E[(_0x303768(0x27b))](_0x2710e0,_0x3c9965);for(const {startOffset:_0x43da02,endOffset:_0x5e71e1,rangeType:_0xd3fe74,segmentId:_0x4ccd03,segmentPage:_0x155abf,collapsed:_0x5a8a7a,isActive:_0x40ea0b}of _0xf100ce){const _0xaf8f7a=_0x3c9965[_0x303768(0x105)](_0x43da02,!0x0,_0x4ccd03,_0x155abf);let _0x1efd9b=_0x3c9965[_0x303768(0x105)](_0x5e71e1,!0x0,_0x4ccd03,_0x155abf);if(_0x1efd9b==null&&(_0x1efd9b=_0x3c9965[_0x303768(0x105)](_0x5e71e1-0x1,!0x1,_0x4ccd03,_0x155abf)),_0x40ea0b){const {contentBoxPointGroup:_0x3f591c}=_0x1e50aa[_0x303768(0x1e8)](_0x1efd9b,_0x1efd9b);if(_0x3f591c[_0x303768(0x1a4)]===0x0)continue;this['_drawAnchor'](_0xd0acc1,_0x3f591c,_0x22a6c8,_0xe34262,_0x39ece5),this[_0x303768(0x19f)]=this['_handleHover']();}if(_0xaf8f7a&&_0x1efd9b){if(_0xd3fe74===a[_0x303768(0xbd)][_0x303768(0x1c7)]){const _0x4ea6d9=new E[(_0x303768(0xd3))](_0x2710e0,_0x3c9965),{pointGroup:_0x8dd74f}=(_0x57d985=_0x4ea6d9['getRangePointData'](_0xaf8f7a,_0x1efd9b))!=null?_0x57d985:{};if(_0x8dd74f==null||_0x8dd74f['length']===0x0)continue;this[_0x303768(0x10e)](_0xd0acc1,_0x8dd74f,_0x22a6c8,_0xe34262);}else{if(!_0x5a8a7a){const {borderBoxPointGroup:_0x2f3c48}=_0x1e50aa[_0x303768(0x1e8)](_0xaf8f7a,_0x1efd9b);if(_0x2f3c48[_0x303768(0x1a4)]===0x0)continue;this[_0x303768(0x185)](_0xd0acc1,_0x2f3c48,_0x22a6c8,_0xe34262);}}}}}[_0x373e19(0x22f)](_0x5703df,_0xcacd4e,_0x139ef7,_0x12fdc7,_0x34cc74){const _0x404398=_0x373e19,_0x116dd8=this['_getAnchorBounding'](_0xcacd4e),{left:_0x348f7f,top:_0x492311,height:_0x475295}=_0x116dd8,_0x4dc2bf=this[_0x404398(0x16b)](),_0x583bf1=Rt/_0x4dc2bf,_0x142046=new p[(_0x404398(0x275))](re+a[_0x404398(0x17c)](F),{'left':_0x348f7f+_0x139ef7-_0x583bf1,'top':_0x492311+_0x12fdc7,'height':_0x475295,'width':Tt,'fill':_0x5703df||p[_0x404398(0x32c)](a['COLORS'][_0x404398(0x18f)],0x0),'strokeWidth':_0x583bf1,'stroke':Dt,'evented':!0x0});this['_anchor']=_0x142046,this[_0x404398(0x135)][_0x404398(0x1ed)](_0x142046,E[_0x404398(0x167)]);const _0x34a7c1=new p[(_0x404398(0x275))](re+a['generateRandomId'](F),{'left':_0x348f7f+_0x139ef7-_0x583bf1,'top':_0x492311+_0x12fdc7-oe/0x2,'height':oe,'width':oe,'fill':_0x5703df||p[_0x404398(0x32c)](a[_0x404398(0xfc)][_0x404398(0x18f)],0x0),'strokeWidth':0x0,'stroke':_0x5703df||p[_0x404398(0x32c)](a['COLORS'][_0x404398(0x18f)],0x0),'evented':!0x1});this[_0x404398(0x159)]=_0x34a7c1,this[_0x404398(0x135)]['addObject'](_0x34a7c1,E[_0x404398(0x167)]);const _0x4bbda8=new ee(re+a[_0x404398(0x17c)](F),{'left':_0x348f7f+_0x139ef7-_0x583bf1,'top':_0x492311+_0x12fdc7-W,'text':_0x34cc74,'color':_0x5703df});this[_0x404398(0x273)]=_0x4bbda8,this[_0x404398(0x135)][_0x404398(0x1ed)](_0x4bbda8,E['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x39bbe9=_0x373e19,_0x5c0005=this[_0x39bbe9(0x201)]['onPointerEnter$'][_0x39bbe9(0x2d5)](()=>{const _0x26ac04=_0x39bbe9;this[_0x26ac04(0x1b2)]=!0x0;}),_0x296d19=this['_anchor'][_0x39bbe9(0xe1)][_0x39bbe9(0x2d5)](()=>{const _0x13eb6b=_0x39bbe9;this[_0x13eb6b(0x131)]&&clearTimeout(this['_hideTimer']),this[_0x13eb6b(0x131)]=setTimeout(()=>{const _0x2d9412=_0x13eb6b;this[_0x2d9412(0x1b2)]=!0x1;},0x7d0);});return()=>{const _0x5865cb=_0x39bbe9;_0x5c0005[_0x5865cb(0x247)](),_0x296d19[_0x5865cb(0x247)]();};}[_0x373e19(0x185)](_0x5e55a8,_0xcd9e43,_0x4ecd3d,_0x11e5c1){const _0x7ec8b2=_0x373e19,_0x25168a=new a[(_0x7ec8b2(0x16c))](_0x5e55a8)[_0x7ec8b2(0x1c9)](0.2)['toRgbString'](),_0x348b6c=new p[(_0x7ec8b2(0x250))](bt+a[_0x7ec8b2(0x17c)](F),{'pointsGroup':_0xcd9e43,'fill':_0x25168a||p[_0x7ec8b2(0x32c)](a[_0x7ec8b2(0xfc)][_0x7ec8b2(0x18f)],0.2),'left':_0x4ecd3d,'top':_0x11e5c1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x7ec8b2(0x2d0)][_0x7ec8b2(0xc2)](_0x348b6c),this[_0x7ec8b2(0x135)][_0x7ec8b2(0x1ed)](_0x348b6c,E['TEXT_RANGE_LAYER_INDEX']);}[_0x373e19(0x10e)](_0x5f1275,_0x1ac988,_0x1d51d2,_0x944a85){const _0x18a08e=_0x373e19,_0x2a569c=new a[(_0x18a08e(0x16c))](_0x5f1275)['setAlpha'](0.2)[_0x18a08e(0x325)](),_0x830e5b=new p[(_0x18a08e(0x250))](Ot+a[_0x18a08e(0x17c)](F),{'pointsGroup':_0x1ac988,'fill':_0x2a569c||p[_0x18a08e(0x32c)](a[_0x18a08e(0xfc)][_0x18a08e(0x18f)],0.2),'left':_0x1d51d2,'top':_0x944a85,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x830e5b),this['_scene'][_0x18a08e(0x1ed)](_0x830e5b,E['TEXT_RANGE_LAYER_INDEX']);}[_0x373e19(0x1e7)](_0x1242ac){const _0x3cc1ef=_0x1242ac[0x0],_0x37bad8=_0x3cc1ef[0x0],_0x405d37=_0x3cc1ef[0x2],{x:_0x4143b9,y:_0x30d4d7}=_0x37bad8,{x:_0x3f936c,y:_0x49e498}=_0x405d37;return{'left':_0x4143b9,'top':_0x30d4d7,'width':_0x3f936c-_0x4143b9,'height':_0x49e498-_0x30d4d7};}[_0x373e19(0x16b)](){const _0x45a8a1=_0x373e19,{scaleX:_0x37ac21,scaleY:_0xd1434a}=this['_scene'][_0x45a8a1(0x2bf)]();return Math[_0x45a8a1(0x24c)](_0x37ac21,_0xd1434a);}}var Ut=Object[_0x373e19(0x305)],Nt=(_0x21b81a,_0x43a4e6,_0x1e801d,_0x1662ac)=>{for(var _0x5a473b=_0x1662ac>0x1?void 0x0:_0x1662ac?Ut(_0x43a4e6,_0x1e801d):_0x43a4e6,_0x154923=_0x21b81a['length']-0x1,_0x4181b6;_0x154923>=0x0;_0x154923--)(_0x4181b6=_0x21b81a[_0x154923])&&(_0x5a473b=_0x4181b6(_0x5a473b)||_0x5a473b);return _0x5a473b;},X=(_0x2466f6,_0x4eeb68)=>(_0x111f6a,_0x43bcda)=>_0x4eeb68(_0x111f6a,_0x43bcda,_0x2466f6);let fe=class extends a[_0x373e19(0xf0)]{constructor(_0x1c9382,_0x5e0dca,_0x257e75,_0xabb585,_0x3e2d99){const _0x21dc5b=_0x373e19;super(),h(this,_0x21dc5b(0x292),[]),h(this,_0x21dc5b(0x327),[]),(this['_context']=_0x1c9382,this['_docSkeletonManagerService']=_0x5e0dca,this['_collabCursorController']=_0x257e75,this[_0x21dc5b(0x248)]=_0xabb585,this['_themeService']=_0x3e2d99,this[_0x21dc5b(0xbb)]());}[_0x373e19(0xbb)](){const _0x16f4aa=_0x373e19,_0x1377b7=this[_0x16f4aa(0x1a5)][_0x16f4aa(0xf7)],_0x4ec356=this[_0x16f4aa(0x1b4)];this['disposeWithMe'](d[_0x16f4aa(0x2ee)]([this['_collabCursorController'][_0x16f4aa(0x2f5)](_0x1377b7),this[_0x16f4aa(0x198)][_0x16f4aa(0x197)]])['pipe']($[_0x16f4aa(0x1e4)](([_0x3fd98c,_0x6fdb05])=>({'skeleton':_0x4ec356['getSkeleton'](),'cursors':[..._0x3fd98c[_0x16f4aa(0x133)]()][_0x16f4aa(0x1d8)](_0x33d059=>({..._0x33d059,'color':this[_0x16f4aa(0x198)]['getColorFromTheme'](_0x33d059['color'])}))})))[_0x16f4aa(0x145)](_0x2a685a=>{const _0x4af710=_0x16f4aa;if(this[_0x4af710(0xd4)](),_0x2a685a){const {skeleton:_0x101221,cursors:_0x3d4ea7}=_0x2a685a;this['_updateCollabCursors'](_0x101221,_0x3d4ea7);}})),this[_0x16f4aa(0x1c8)](),this[_0x16f4aa(0x16d)]();}[_0x373e19(0x24a)](_0x24a791,_0x5e2588){const _0x50e2e2=_0x373e19,{scene:_0x291437,mainComponent:_0x532a97}=this[_0x50e2e2(0x1a5)],_0x383ea8=_0x5e2588[_0x50e2e2(0x1e4)](_0xf2e192=>new Re(_0xf2e192,_0x291437,_0x24a791,_0x532a97));this[_0x50e2e2(0x292)]=_0x383ea8,this[_0x50e2e2(0x327)]=_0x5e2588;}[_0x373e19(0xb0)](){const _0x1266b7=_0x373e19;this[_0x1266b7(0xd4)]();const {scene:_0x4597bc,mainComponent:_0x2ce76c}=this['_context'],_0x3564c8=this[_0x1266b7(0x1b4)]['getSkeleton'](),_0x1b54bc=this[_0x1266b7(0x327)][_0x1266b7(0x1e4)](_0x13fe1a=>new Re(_0x13fe1a,_0x4597bc,_0x3564c8,_0x2ce76c));this[_0x1266b7(0x292)]=_0x1b54bc;}[_0x373e19(0xd4)](){const _0x1ba6f7=_0x373e19;this[_0x1ba6f7(0x292)][_0x1ba6f7(0x22a)](_0x5864b7=>_0x5864b7[_0x1ba6f7(0x226)]()),this[_0x1ba6f7(0x292)]=[];}['_initCommandExecutedListener'](){const _0x4eb847=_0x373e19,_0x415942=[E[_0x4eb847(0xfd)]['id']];this[_0x4eb847(0x13c)](this['_commandService']['onCommandExecuted'](_0x12b315=>{const _0x5dfb07=_0x4eb847;_0x415942[_0x5dfb07(0xeb)](_0x12b315['id'])&&_0x12b315['params'][_0x5dfb07(0xf7)]===this['_context'][_0x5dfb07(0xf7)]&&this['_refreshCollabCursors']();}));}[_0x373e19(0x1c8)](){const _0xbba4fa=_0x373e19;this['disposeWithMe'](a[_0xbba4fa(0x316)](this[_0xbba4fa(0x1a5)][_0xbba4fa(0x256)][_0xbba4fa(0x183)])[_0xbba4fa(0x1f8)]($[_0xbba4fa(0x243)](_0x3092f1=>_0x3092f1[_0xbba4fa(0x324)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),$[_0xbba4fa(0x1f5)](0x10))[_0xbba4fa(0x145)](()=>{const _0x4b44cf=_0xbba4fa;this[_0x4b44cf(0xb0)]();}));}};fe=Nt([X(0x1,a['Inject'](Y[_0x373e19(0x139)])),X(0x2,a[_0x373e19(0x2ec)](x)),X(0x3,a[_0x373e19(0x1af)]),X(0x4,a['Inject'](a[_0x373e19(0x1e0)]))],fe);const Mt=0x1,Lt=1.5;class $e extends p[_0x373e19(0x1e5)]{constructor(_0x2c7f83,_0xaf6fa1){const _0x4915c7=_0x373e19;super(_0x2c7f83,_0xaf6fa1),h(this,_0x4915c7(0x2c3)),h(this,'_hovered',!0x1),h(this,_0x4915c7(0xcf)),h(this,_0x4915c7(0x17d),''),h(this,_0x4915c7(0xd2),'top'),h(this,_0x4915c7(0x264)),(_0xaf6fa1&&this[_0x4915c7(0x289)](_0xaf6fa1),this[_0x4915c7(0x279)][_0x4915c7(0x2d5)](()=>this[_0x4915c7(0x289)]({'hovered':!0x0})),this[_0x4915c7(0xe1)][_0x4915c7(0x2d5)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x373e19(0x289)](_0x463156){const _0x29dd27=_0x373e19;var _0x465679,_0x517a07,_0xdc2c7,_0x78915a,_0x1b5411,_0x536c0f;this[_0x29dd27(0x2c3)]=(_0x465679=_0x463156[_0x29dd27(0x1ea)])!=null?_0x465679:this[_0x29dd27(0x2c3)],this[_0x29dd27(0x1d1)]=(_0x517a07=_0x463156[_0x29dd27(0x112)])!=null?_0x517a07:this[_0x29dd27(0x1d1)],this[_0x29dd27(0xcf)]=(_0xdc2c7=_0x463156[_0x29dd27(0x225)])!=null?_0xdc2c7:this[_0x29dd27(0xcf)],this[_0x29dd27(0x17d)]=(_0x78915a=_0x463156[_0x29dd27(0x1ec)])!=null?_0x78915a:this['_name'],this[_0x29dd27(0xd2)]=(_0x1b5411=_0x463156[_0x29dd27(0x272)])!=null?_0x1b5411:this[_0x29dd27(0xd2)],this[_0x29dd27(0x264)]=(_0x536c0f=_0x463156[_0x29dd27(0x213)])!=null?_0x536c0f:this[_0x29dd27(0x264)],this[_0x29dd27(0x2ab)]({'width':_0x463156['width'],'height':_0x463156[_0x29dd27(0xb8)]});}[_0x373e19(0x180)](_0x2e047f){const _0x3e260d=_0x373e19,{row:_0x1b96de,column:_0x20ec24}=_0x2e047f;if(_0x1b96de>=this[_0x3e260d(0xcf)][_0x3e260d(0x2b4)]&&_0x1b96de<=this[_0x3e260d(0xcf)][_0x3e260d(0x122)]&&_0x20ec24>=this[_0x3e260d(0xcf)][_0x3e260d(0x1f4)]&&_0x20ec24<=this[_0x3e260d(0xcf)][_0x3e260d(0xb2)]){this[_0x3e260d(0x289)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x373e19(0x11a)](_0x2bb23b){return!0x1;}[_0x373e19(0x22c)](_0x5f0bfb){const _0x8bcab8=_0x373e19;p['Rect']['drawWith'](_0x5f0bfb,{'width':this[_0x8bcab8(0x173)],'height':this[_0x8bcab8(0xb8)],'strokeWidth':Lt,'stroke':this[_0x8bcab8(0x2c3)],'evented':!0x1,'fill':this[_0x8bcab8(0x264)]}),this[_0x8bcab8(0x1d1)]&&(_0x5f0bfb['save'](),_0x5f0bfb[_0x8bcab8(0x2b2)](0x1,0x0,0x0,0x1,this[_0x8bcab8(0x173)],this[_0x8bcab8(0xd2)]===_0x8bcab8(0x17f)?0x0:-W),ee['drawWith'](_0x5f0bfb,{'text':this[_0x8bcab8(0x17d)],'color':this[_0x8bcab8(0x2c3)]}),_0x5f0bfb['restore']());}}var Pt=Object[_0x373e19(0x305)],wt=(_0x53ecb8,_0x19d1ea,_0x7527ae,_0xd56cd)=>{const _0x570e9a=_0x373e19;for(var _0x549ac1=_0xd56cd>0x1?void 0x0:_0xd56cd?Pt(_0x19d1ea,_0x7527ae):_0x19d1ea,_0xc9faff=_0x53ecb8[_0x570e9a(0x1a4)]-0x1,_0x7faea5;_0xc9faff>=0x0;_0xc9faff--)(_0x7faea5=_0x53ecb8[_0xc9faff])&&(_0x549ac1=_0x7faea5(_0x549ac1)||_0x549ac1);return _0x549ac1;},ae=(_0x273ba0,_0x5e1d5e)=>(_0x5e3e6e,_0x58a411)=>_0x5e1d5e(_0x5e3e6e,_0x58a411,_0x273ba0);const At=0x1389;let Ie=class extends a['RxDisposable']{constructor(_0x381696,_0x805519,_0x335fe6,_0x511795){const _0x3d2de8=_0x373e19;super(),h(this,_0x3d2de8(0x327),new Set()),h(this,_0x3d2de8(0x162),null),(this[_0x3d2de8(0x1a5)]=_0x381696,this[_0x3d2de8(0x18b)]=_0x805519,this[_0x3d2de8(0x31d)]=_0x335fe6,this[_0x3d2de8(0x198)]=_0x511795,this['_init']());}[_0x373e19(0xbb)](){const _0x1894e5=_0x373e19;this['_sheetSkeletonManagerService'][_0x1894e5(0x21b)]['pipe']($[_0x1894e5(0x1b9)](this[_0x1894e5(0x2e1)]),$[_0x1894e5(0xcc)](_0x366b60=>{const _0x404a1c=_0x1894e5;if(_0x366b60){const _0x3225d2=_0x366b60[_0x404a1c(0x15c)];return d[_0x404a1c(0x2ee)](this[_0x404a1c(0x31d)][_0x404a1c(0x2f5)](this['_context'][_0x404a1c(0xf7)]),this[_0x404a1c(0x198)][_0x404a1c(0x197)])[_0x404a1c(0x1f8)]($[_0x404a1c(0x1e4)](([_0x3ccb61,_0x504a9c])=>{const _0x36ffbe=_0x404a1c,_0x1bfc17=new Map();return _0x3ccb61[_0x36ffbe(0x22a)]((_0x1311e9,_0x39cf62)=>{const _0x383401=_0x36ffbe;if(_0x1311e9[_0x383401(0x246)]===_0x3225d2){const _0x51b070={..._0x1311e9};_0x51b070['color']=this[_0x383401(0x198)]['getColorFromTheme'](_0x1311e9[_0x383401(0x1ea)]),_0x1bfc17[_0x383401(0x2a9)](_0x39cf62,_0x51b070);}}),{'skeleton':_0x366b60,'cursors':_0x1bfc17};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x1894e5(0x145)](({skeleton:_0x1a73cd,cursors:_0x528586})=>{const _0x2139cb=_0x1894e5;this[_0x2139cb(0xd4)](),_0x1a73cd&&this['_updateCollabCursors'](_0x1a73cd,_0x528586);}),this['_sheetSkeletonManagerService'][_0x1894e5(0x21b)][_0x1894e5(0x145)](_0x332295=>{const _0x48697f=_0x1894e5;if(_0x332295==null)return;const {skeleton:_0x9cce87}=_0x332295,{scene:_0x42fb42}=this[_0x48697f(0x1a5)];_0x42fb42[_0x48697f(0x1d7)][_0x48697f(0x2d5)](a[_0x48697f(0x1dc)](_0xff3d3a=>{const _0x42bfd1=_0x48697f;var _0x4679e9,_0x4732fe;const {offsetX:_0x4c71ce,offsetY:_0x339f8b}=_0xff3d3a,{x:_0x2e11d5,y:_0x586867}=_0x42fb42[_0x42bfd1(0x282)](p[_0x42bfd1(0x2fa)][_0x42bfd1(0xce)]([_0x4c71ce,_0x339f8b])),{scaleX:_0x2829c6,scaleY:_0x2850e1}=_0x42fb42[_0x42bfd1(0x2bf)](),_0x2cec99=_0x42fb42['getViewport'](p[_0x42bfd1(0x192)][_0x42bfd1(0xfa)]),_0x2d6c9b=_0x42fb42['getVpScrollXYInfoByPosToVp'](p['Vector2'][_0x42bfd1(0xce)]([_0x2e11d5,_0x586867]),_0x2cec99),_0x179926=_0x9cce87['getCellPositionByOffset'](_0x4c71ce,_0x339f8b,_0x2829c6,_0x2850e1,_0x2d6c9b);((_0x4679e9=this['_lastPointer'])==null?void 0x0:_0x4679e9[_0x42bfd1(0x224)])===_0x179926[_0x42bfd1(0x224)]&&((_0x4732fe=this[_0x42bfd1(0x162)])==null?void 0x0:_0x4732fe[_0x42bfd1(0x128)])===_0x179926[_0x42bfd1(0x128)]||this[_0x42bfd1(0x327)][_0x42bfd1(0x22a)](_0x1e1bda=>{const _0x2c83fb=_0x42bfd1;_0x1e1bda[_0x2c83fb(0x180)](_0x179926);});},0x64));});}[_0x373e19(0x24a)](_0x1182e2,_0x3a894b){const _0x596c52=_0x373e19;var _0x32419e;const _0x1438be=(_0x32419e=this[_0x596c52(0x18b)][_0x596c52(0x1a0)]())==null?void 0x0:_0x32419e[_0x596c52(0x20a)];if(!_0x1438be)return;const _0x38e8ff=this['_getSheetObject']();if(!_0x38e8ff)return;this['_cursors']['forEach'](_0x5ccd2a=>{const _0x57ba17=_0x596c52;_0x5ccd2a[_0x57ba17(0x32d)]();});const {scene:_0x31dffc}=_0x38e8ff,_0x4b0593=yt(Array[_0x596c52(0x2e3)](_0x3a894b[_0x596c52(0x133)]()))['map'](_0x72ca3f=>{const _0x35b718=_0x596c52,{color:_0x421eb0,range:_0x1f7538,name:_0x609e8b,selection:_0x41ba0c,sheetID:_0x182d99}=_0x72ca3f,{startColumn:_0x3e26e5,startRow:_0x5eafe8,endColumn:_0x2705e5,endRow:_0x2da02a}=_0x1f7538,_0x33cd37=G[_0x35b718(0x219)](_0x5eafe8,_0x3e26e5,_0x31dffc,_0x1438be),_0x4fcdfb=G['getCoordByCell'](_0x2da02a,_0x2705e5,_0x31dffc,_0x1438be),{columnHeaderHeightAndMarginTop:_0x2d05b5}=_0x1438be,{startX:_0xfe0058,startY:_0x4f8cf4}=_0x33cd37,{endX:_0x44aed3,endY:_0xcc5482}=_0x4fcdfb,_0x316e35=_0x44aed3-_0xfe0058,_0x696fb2=_0xcc5482-_0x4f8cf4,_0x1b6ecb={'labelPosition':_0x4f8cf4-_0x2d05b5>=W?_0x35b718(0x2d2):'bottom','sheetID':_0x182d99,'range':_0x1f7538,'color':_0x421eb0,'name':_0x609e8b,'selection':_0x41ba0c,'left':_0xfe0058,'top':_0x4f8cf4,'width':_0x316e35,'height':_0x696fb2,'evented':!0x1,'zIndex':At};return new $e(_0x609e8b,_0x1b6ecb);});_0x31dffc[_0x596c52(0x153)](_0x4b0593,Mt),this['_cursors']=new Set(_0x4b0593);}[_0x373e19(0xd4)](){const _0x22333f=_0x373e19;var _0x3a620a;(_0x3a620a=this[_0x22333f(0x327)])==null||_0x3a620a['forEach'](_0x3db9d0=>_0x3db9d0['dispose']());}[_0x373e19(0x295)](){const _0xd6b26d=_0x373e19;return G['getSheetObject'](this[_0xd6b26d(0x1a5)][_0xd6b26d(0x328)],this[_0xd6b26d(0x1a5)]);}};Ie=wt([ae(0x1,a[_0x373e19(0x2ec)](G[_0x373e19(0x120)])),ae(0x2,a['Inject'](x)),ae(0x3,a['Inject'](a[_0x373e19(0x1e0)]))],Ie);function yt(_0x7b6628){const _0xd361=_0x373e19,_0x1b8334=new Map();return _0x7b6628[_0xd361(0x22a)](_0x1ed6d6=>{const _0x32df9f=_0xd361;if(_0x1b8334['has'](_0x1ed6d6[_0x32df9f(0x25c)])){const _0x9196df=_0x1b8334[_0x32df9f(0x177)](_0x1ed6d6['selection']);_0x9196df['name']+=',\x20'+_0x1ed6d6[_0x32df9f(0x1ec)];}else _0x1b8334['set'](_0x1ed6d6['selection'],_0x1ed6d6);}),Array[_0xd361(0x2e3)](_0x1b8334[_0xd361(0x133)]());}var $t=Object[_0x373e19(0x305)],xt=(_0x904ed3,_0x4e4c71,_0x365bfe,_0x3a64d0)=>{for(var _0x182199=_0x3a64d0>0x1?void 0x0:_0x3a64d0?$t(_0x4e4c71,_0x365bfe):_0x4e4c71,_0x5c69a3=_0x904ed3['length']-0x1,_0x9dd832;_0x5c69a3>=0x0;_0x5c69a3--)(_0x9dd832=_0x904ed3[_0x5c69a3])&&(_0x182199=_0x9dd832(_0x182199)||_0x182199);return _0x182199;},y=(_0x2e3420,_0x1b504f)=>(_0x1c4269,_0x19f66e)=>_0x1b504f(_0x1c4269,_0x19f66e,_0x2e3420);let q=class extends a[_0x373e19(0x1e2)]{constructor(_0xba026c,_0x5408e8,_0x15afc5,_0xa14de,_0x17980c,_0x2abbd8){const _0x2eae8a=_0x373e19;super(),this[_0x2eae8a(0x142)]=_0xba026c,this[_0x2eae8a(0x11d)]=_0x5408e8,this[_0x2eae8a(0x24e)]=_0x15afc5,this[_0x2eae8a(0x14c)]=_0xa14de,this[_0x2eae8a(0x313)]=_0x17980c,this['_localeService']=_0x2abbd8,this[_0x2eae8a(0x274)](),this[_0x2eae8a(0x255)]();}['_setupBeforeClosingHandler'](){const _0x20db53=_0x373e19;this[_0x20db53(0x13c)](this[_0x20db53(0x142)][_0x20db53(0xdd)](()=>{const _0x5641f4=_0x20db53;if(this['_localCacheService']['saveTaskMap'][_0x5641f4(0x1c0)])return this[_0x5641f4(0x2cf)]['t'](_0x5641f4(0xca));}));}[_0x373e19(0x255)](){const _0x3114ed=_0x373e19;this[_0x3114ed(0x13c)](this[_0x3114ed(0x24e)][_0x3114ed(0x195)][_0x3114ed(0x145)](_0x361415=>{const _0x574998=_0x3114ed;_0x361415['id']===u[_0x574998(0x2c1)][_0x574998(0xb5)]&&this[_0x574998(0x14c)][_0x574998(0xed)]({'type':D['MessageType']['Warning'],'content':this[_0x574998(0x2cf)]['t'](_0x574998(0x204))}),_0x361415['id']===u[_0x574998(0x2c1)][_0x574998(0x284)]&&this[_0x574998(0x14c)][_0x574998(0xed)]({'type':D[_0x574998(0x1fa)][_0x574998(0x30c)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x361415['id']===u[_0x574998(0x2c1)][_0x574998(0x26e)]&&this['_notificationService'][_0x574998(0xed)]({'title':this[_0x574998(0x2cf)]['t'](_0x574998(0x154)),'content':this[_0x574998(0x2cf)]['t'](_0x574998(0x156)),'type':'error','duration':0x0}),_0x361415['id']===u[_0x574998(0x2c1)][_0x574998(0x1cd)]&&this[_0x574998(0x14c)][_0x574998(0xed)]({'type':D[_0x574998(0x1fa)][_0x574998(0x245)],'content':this[_0x574998(0x2cf)]['t'](_0x574998(0x239))+'('+_0x361415[_0x574998(0x13f)]+')'}),_0x361415['id']===u[_0x574998(0x2c1)]['JOIN_ROOM_FAILED']&&this[_0x574998(0x14c)][_0x574998(0xed)]({'type':D['MessageType'][_0x574998(0x30c)],'content':this[_0x574998(0x2cf)]['t'](_0x361415[_0x574998(0x13f)]||'')}),_0x361415['id']===u['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x574998(0x14c)][_0x574998(0xed)]({'type':D[_0x574998(0x1fa)]['Warning'],'content':this[_0x574998(0x2cf)]['t']('session.will-retry')}),_0x361415['id']===u['CollaborationUIEventId'][_0x574998(0x222)]&&this['_messageService'][_0x574998(0xed)]({'type':D[_0x574998(0x1fa)][_0x574998(0x245)],'content':this[_0x574998(0x2cf)]['t'](_0x574998(0x1f7))}),_0x361415['id']===u['CollaborationUIEventId'][_0x574998(0x1c5)]&&this[_0x574998(0x14c)][_0x574998(0xed)]({'type':D['MessageType']['Error'],'content':this['_localeService']['t'](_0x574998(0x2f7))});}));}};q=xt([y(0x0,O['IBeforeCloseService']),y(0x1,u[_0x373e19(0x15f)]),y(0x2,a[_0x373e19(0x2ec)](u[_0x373e19(0x1bc)])),y(0x3,O[_0x373e19(0x2e0)]),y(0x4,O[_0x373e19(0x317)]),y(0x5,a[_0x373e19(0x2ec)](a[_0x373e19(0x230)]))],q);const Bt=_0x373e19(0x1da),De={};var jt=Object[_0x373e19(0x305)],kt=(_0x43d030,_0x4aa180,_0x371fc6,_0x3a0192)=>{const _0x2e8c9a=_0x373e19;for(var _0x30472b=_0x3a0192>0x1?void 0x0:_0x3a0192?jt(_0x4aa180,_0x371fc6):_0x4aa180,_0x18ac64=_0x43d030[_0x2e8c9a(0x1a4)]-0x1,_0x5c957b;_0x18ac64>=0x0;_0x18ac64--)(_0x5c957b=_0x43d030[_0x18ac64])&&(_0x30472b=_0x5c957b(_0x30472b)||_0x30472b);return _0x30472b;},Ue=(_0x5606c1,_0x46afa2)=>(_0x134b9,_0x37cc5e)=>_0x46afa2(_0x134b9,_0x37cc5e,_0x5606c1);let z=class{constructor(_0x37f1f4,_0x364d1e){const _0x371d28=_0x373e19;this[_0x371d28(0x116)]=_0x37f1f4,this[_0x371d28(0x238)]=_0x364d1e;}['transformIMECache'](_0x36a27f){const _0x5a7c88=_0x373e19;this[_0x5a7c88(0x1c4)](_0x36a27f),this['_transformPreviousActiveRange'](_0x36a27f);}['transformRemoteChangeset'](_0x20d9a5){const _0x52cec8=_0x373e19,{unitID:_0x4cfcdb}=_0x20d9a5,_0x11aaba=this[_0x52cec8(0x238)][_0x52cec8(0x106)](_0x4cfcdb)[_0x52cec8(0x296)](E['DocIMEInputManagerService']),{redoCache:_0x5ce51d}=_0x11aaba[_0x52cec8(0x20d)]();if(_0x5ce51d[_0x52cec8(0x1a4)]===0x0)return _0x20d9a5;let _0x3d46c2=a[_0x52cec8(0x306)]['deepClone'](_0x20d9a5[_0x52cec8(0x286)][0x0]);for(let _0x5b6656=0x0;_0x5b6656<_0x5ce51d['length'];_0x5b6656++){const _0x5091e5={'id':_0x52cec8(0xc1),'params':{..._0x5ce51d[_0x5b6656]}},_0x543fa3=this[_0x52cec8(0x116)][_0x52cec8(0x102)](_0x3d46c2,_0x5091e5,!0x1);if(m[_0x52cec8(0x19a)](_0x543fa3))throw _0x543fa3[_0x52cec8(0x111)];_0x3d46c2=_0x543fa3[_0x52cec8(0x320)];}return{...a['Tools'][_0x52cec8(0x27e)](_0x20d9a5),'mutations':[_0x3d46c2]};}[_0x373e19(0x1c4)](_0x4e944e){const _0x44d54a=_0x373e19,{unitID:_0x518188}=_0x4e944e,_0x3f4329=this[_0x44d54a(0x238)][_0x44d54a(0x106)](_0x518188)[_0x44d54a(0x296)](E[_0x44d54a(0xb9)]),{undoCache:_0x40481d,redoCache:_0x8ccf92}=_0x3f4329[_0x44d54a(0x20d)]();if(_0x40481d['length']===0x0||_0x8ccf92[_0x44d54a(0x1a4)]===0x0)return;const _0x4fc562=[],_0x4b9e56=[];let _0x20f0a5=a[_0x44d54a(0x306)][_0x44d54a(0x27e)](_0x4e944e[_0x44d54a(0x286)][0x0]),_0x27e5e8=a[_0x44d54a(0x306)][_0x44d54a(0x27e)](_0x4e944e[_0x44d54a(0x286)][0x0]);for(let _0x406dab=_0x40481d['length']-0x1;_0x406dab>=0x0;_0x406dab--){const _0x3a10b6={'id':_0x44d54a(0xc1),'params':{..._0x40481d[_0x406dab]}},_0x3bd72e={'id':'doc.mutation.rich-text-editing','params':{..._0x8ccf92[_0x406dab]}},_0x2871cc=this['_transformService']['transformMutation'](_0x20f0a5,_0x3a10b6,!0x1),_0x11d8a7=this[_0x44d54a(0x116)][_0x44d54a(0x102)](_0x27e5e8,_0x3bd72e,!0x1);if(m[_0x44d54a(0x19a)](_0x2871cc))throw _0x2871cc[_0x44d54a(0x111)];if(m[_0x44d54a(0x19a)](_0x11d8a7))throw _0x11d8a7['error'];_0x4fc562['unshift'](_0x2871cc['m2Prime'][_0x44d54a(0x182)]),_0x4b9e56['unshift'](_0x11d8a7['m2Prime'][_0x44d54a(0x182)]),_0x20f0a5=_0x2871cc['m1Prime'],_0x27e5e8=_0x11d8a7[_0x44d54a(0x320)];}_0x3f4329['setUndoRedoMutationParamsCache']({'undoCache':_0x4fc562,'redoCache':_0x4b9e56});}['_transformPreviousActiveRange'](_0x39c464){const _0x30874a=_0x373e19,{unitID:_0x4c8e49}=_0x39c464,_0x1816b4=this[_0x30874a(0x238)]['getRenderById'](_0x4c8e49)[_0x30874a(0x296)](E[_0x30874a(0xb9)]),_0x2d5795=_0x1816b4[_0x30874a(0x17b)]();if(_0x2d5795==null)return;const _0x4200a7=[{'id':_0x30874a(0xc1),'params':{'unitId':_0x39c464[_0x30874a(0x1ef)],'actions':null,'textRanges':[_0x2d5795]}}],_0x5d428b=this[_0x30874a(0x116)]['transformMutationsWithChangeset'](_0x39c464,_0x4200a7);if(!m[_0x30874a(0x1ee)](_0x5d428b))throw _0x5d428b[_0x30874a(0x111)];const _0x435309=_0x5d428b[_0x30874a(0x235)][0x0][_0x30874a(0x182)][_0x30874a(0x2bc)];Array[_0x30874a(0x297)](_0x435309)&&_0x435309[_0x30874a(0x1a4)]&&_0x1816b4['setActiveRange'](_0x435309[0x0]);}};z=kt([Ue(0x0,m[_0x373e19(0x101)]),Ue(0x1,p['IRenderManagerService'])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x37846e,_0x13f111,_0x24bd02,_0x36a7df)=>{const _0x126efb=_0x373e19;for(var _0xf2def9=_0x36a7df>0x1?void 0x0:_0x36a7df?Ft(_0x13f111,_0x24bd02):_0x13f111,_0x513357=_0x37846e[_0x126efb(0x1a4)]-0x1,_0x175617;_0x513357>=0x0;_0x513357--)(_0x175617=_0x37846e[_0x513357])&&(_0xf2def9=_0x175617(_0xf2def9)||_0xf2def9);return _0xf2def9;},ce=(_0x23c08a,_0x53939a)=>(_0x4bf799,_0x2d1fa2)=>_0x53939a(_0x4bf799,_0x2d1fa2,_0x23c08a);let J=class{constructor(_0xa71a33,_0x2ba010,_0x4d43b6){const _0xca91b9=_0x373e19;this[_0xca91b9(0x20b)]=_0xa71a33,this[_0xca91b9(0x116)]=_0x2ba010,this[_0xca91b9(0x312)]=_0x4d43b6;}['transformStateCache'](_0x1bd3ac){const _0x5efb77=_0x373e19;this[_0x5efb77(0x202)](_0x1bd3ac);}[_0x373e19(0x165)](_0x3491ff){const _0x322f2d=_0x373e19,{unitID:_0x294e17}=_0x3491ff,{collaboration:_0x145f39}=this[_0x322f2d(0x312)]['getStateCache'](_0x294e17);if(_0x145f39['length']===0x0)return _0x3491ff;let _0x4b7534=a[_0x322f2d(0x306)][_0x322f2d(0x27e)](_0x3491ff[_0x322f2d(0x286)][0x0]);for(let _0x1ba169=0x0;_0x1ba169<_0x145f39['length'];_0x1ba169++){const _0x378257={'id':_0x322f2d(0xc1),'params':{'unitId':_0x145f39[_0x1ba169][_0x322f2d(0xf7)],..._0x145f39[_0x1ba169][_0x322f2d(0x22e)]}},_0x32a563=this['_transformService'][_0x322f2d(0x102)](_0x4b7534,_0x378257,!0x1);if(m[_0x322f2d(0x19a)](_0x32a563))throw _0x32a563[_0x322f2d(0x111)];_0x4b7534=_0x32a563[_0x322f2d(0x320)];}return{...a[_0x322f2d(0x306)][_0x322f2d(0x27e)](_0x3491ff),'mutations':[_0x4b7534]};}[_0x373e19(0x202)](_0x3dd5a1){const _0x23fca6=_0x373e19,{unitID:_0x44bcbe}=_0x3dd5a1,{history:_0x3dd6f8,collaboration:_0x2408d1}=this[_0x23fca6(0x312)][_0x23fca6(0x1d4)](_0x44bcbe);if(_0x3dd6f8['length']===0x0&&_0x2408d1[_0x23fca6(0x1a4)]===0x0)return;const _0x1e7bd2=[],_0x3dd1c9=[];let _0x499865=a[_0x23fca6(0x306)][_0x23fca6(0x27e)](_0x3dd5a1[_0x23fca6(0x286)][0x0]),_0x2f319d=a[_0x23fca6(0x306)][_0x23fca6(0x27e)](_0x3dd5a1['mutations'][0x0]);for(let _0x312379=_0x3dd6f8[_0x23fca6(0x1a4)]-0x1;_0x312379>=0x0;_0x312379--){const _0x1faee3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3dd6f8[_0x312379][_0x23fca6(0xf7)],..._0x3dd6f8[_0x312379]['undoState']}},_0x50f9dc={'id':_0x23fca6(0xc1),'params':{'unitId':_0x3dd6f8[_0x312379][_0x23fca6(0xf7)],..._0x3dd6f8[_0x312379][_0x23fca6(0x22e)]}},_0x395d05=this[_0x23fca6(0x116)][_0x23fca6(0x102)](_0x499865,_0x1faee3,!0x1),_0x311071=this[_0x23fca6(0x116)][_0x23fca6(0x102)](_0x2f319d,_0x50f9dc,!0x1);if(m[_0x23fca6(0x19a)](_0x395d05))throw _0x395d05['error'];if(m[_0x23fca6(0x19a)](_0x311071))throw _0x311071[_0x23fca6(0x111)];_0x1e7bd2[_0x23fca6(0xc6)]({..._0x3dd6f8[_0x312379],'undoState':_0x395d05[_0x23fca6(0x235)][_0x23fca6(0x182)],'redoState':_0x311071[_0x23fca6(0x235)]['params']}),_0x499865=_0x395d05[_0x23fca6(0x320)],_0x2f319d=_0x311071[_0x23fca6(0x320)];}_0x499865=a['Tools'][_0x23fca6(0x27e)](_0x3dd5a1[_0x23fca6(0x286)][0x0]),_0x2f319d=a[_0x23fca6(0x306)][_0x23fca6(0x27e)](_0x3dd5a1['mutations'][0x0]);for(let _0x22305d=_0x2408d1['length']-0x1;_0x22305d>=0x0;_0x22305d--){const _0x3dba9f={'id':_0x23fca6(0xc1),'params':{'unitId':_0x2408d1[_0x22305d][_0x23fca6(0xf7)],..._0x2408d1[_0x22305d][_0x23fca6(0x1cb)]}},_0x2a92eb={'id':_0x23fca6(0xc1),'params':{'unitId':_0x2408d1[_0x22305d][_0x23fca6(0xf7)],..._0x2408d1[_0x22305d][_0x23fca6(0x22e)]}},_0x1ccd95=this[_0x23fca6(0x116)][_0x23fca6(0x102)](_0x499865,_0x3dba9f,!0x1),_0x478646=this[_0x23fca6(0x116)][_0x23fca6(0x102)](_0x2f319d,_0x2a92eb,!0x1);if(m[_0x23fca6(0x19a)](_0x1ccd95))throw _0x1ccd95[_0x23fca6(0x111)];if(m[_0x23fca6(0x19a)](_0x478646))throw _0x478646[_0x23fca6(0x111)];_0x3dd1c9[_0x23fca6(0xc6)]({..._0x2408d1[_0x22305d],'undoState':_0x1ccd95[_0x23fca6(0x235)][_0x23fca6(0x182)],'redoState':_0x478646[_0x23fca6(0x235)][_0x23fca6(0x182)]}),_0x499865=_0x1ccd95[_0x23fca6(0x320)],_0x2f319d=_0x478646[_0x23fca6(0x320)];}this[_0x23fca6(0x312)][_0x23fca6(0x2e7)](_0x44bcbe,{'history':_0x1e7bd2,'collaboration':_0x3dd1c9});}};J=Ht([ce(0x0,a['Inject'](a[_0x373e19(0xc4)])),ce(0x1,m['ITransformService']),ce(0x2,a[_0x373e19(0x2ec)](E['DocStateChangeManagerService']))],J);var Yt=Object[_0x373e19(0x305)],Wt=(_0x16c3c9,_0x21406c,_0x52b7a4,_0x32afef)=>{const _0x51ef35=_0x373e19;for(var _0x14e042=_0x32afef>0x1?void 0x0:_0x32afef?Yt(_0x21406c,_0x52b7a4):_0x21406c,_0x3de70d=_0x16c3c9[_0x51ef35(0x1a4)]-0x1,_0x3b6512;_0x3de70d>=0x0;_0x3de70d--)(_0x3b6512=_0x16c3c9[_0x3de70d])&&(_0x14e042=_0x3b6512(_0x14e042)||_0x14e042);return _0x14e042;},Ne=(_0x5a4a5f,_0x2657d4)=>(_0x2b3e45,_0x581b33)=>_0x2657d4(_0x2b3e45,_0x581b33,_0x5a4a5f);let Z=class{constructor(_0x3a6985,_0x161551){const _0x1e2cfc=_0x373e19;this[_0x1e2cfc(0x20b)]=_0x3a6985,this[_0x1e2cfc(0x116)]=_0x161551;}[_0x373e19(0xef)](_0x11f4c9){const _0xb65bdf=_0x373e19;var _0x2334a8;const _0x3f0927=this[_0xb65bdf(0x20b)][_0xb65bdf(0x177)](Y['DocSelectionManagerService']),_0xba3d61=(_0x2334a8=_0x3f0927[_0xb65bdf(0x288)]())!=null?_0x2334a8:[];if(_0xba3d61[_0xb65bdf(0x1a4)]===0x0)return;const _0x10fb58=_0x11f4c9['unitID'],_0x5c110d=[{'id':_0xb65bdf(0xc1),'params':{'unitId':_0x10fb58,'actions':null,'textRanges':_0xba3d61}}],_0xa19f1f=this[_0xb65bdf(0x116)][_0xb65bdf(0x12c)](_0x11f4c9,_0x5c110d);if(!m[_0xb65bdf(0x1ee)](_0xa19f1f))throw _0xa19f1f[_0xb65bdf(0x111)];const _0x4f76e6=_0xa19f1f['m2Prime'][0x0][_0xb65bdf(0x182)][_0xb65bdf(0x2bc)];Array[_0xb65bdf(0x297)](_0x4f76e6)&&_0x4f76e6[_0xb65bdf(0x1a4)]&&_0x3f0927[_0xb65bdf(0x26a)](_0x4f76e6,{'unitId':_0x10fb58,'subUnitId':_0x10fb58},!0x1);}};Z=Wt([Ne(0x0,a['Inject'](a[_0x373e19(0xc4)])),Ne(0x1,m[_0x373e19(0x101)])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x5155d5,_0x20e920,_0x509a98,_0x4516cf)=>{const _0x44abad=_0x373e19;for(var _0x44131d=_0x4516cf>0x1?void 0x0:_0x4516cf?Vt(_0x20e920,_0x509a98):_0x20e920,_0x575dd8=_0x5155d5[_0x44abad(0x1a4)]-0x1,_0x42105e;_0x575dd8>=0x0;_0x575dd8--)(_0x42105e=_0x5155d5[_0x575dd8])&&(_0x44131d=_0x42105e(_0x44131d)||_0x44131d);return _0x44131d;},N=(_0x350864,_0x270f13)=>(_0x5abc58,_0x4fd808)=>_0x270f13(_0x5abc58,_0x4fd808,_0x350864);let Q=class extends a[_0x373e19(0x1e2)]{constructor(_0x5d7d27,_0x402e6f,_0x18a4e6,_0x1aae6e,_0x4de27e,_0x7cec61,_0x316c2f,_0x5b983b){const _0x428586=_0x373e19;super(),h(this,_0x428586(0x2ca),new d['BehaviorSubject'](u['CollaborationStatus'][_0x428586(0x161)])),(this[_0x428586(0x312)]=_0x5d7d27,this[_0x428586(0xee)]=_0x402e6f,this[_0x428586(0x14f)]=_0x18a4e6,this[_0x428586(0x10f)]=_0x1aae6e,this['_docTransformSelectionsService']=_0x4de27e,this[_0x428586(0x18e)]=_0x7cec61,this['_messageService']=_0x316c2f,this[_0x428586(0x2cf)]=_0x5b983b,this[_0x428586(0x2ff)]());}['_initEntityListener'](){const _0x323fbb=_0x373e19;this[_0x323fbb(0x13c)](this['_collaborationController'][_0x323fbb(0xf4)][_0x323fbb(0x145)](_0x44fe79=>{const _0x40caf4=_0x323fbb,_0x43b8ff=this[_0x40caf4(0x312)][_0x40caf4(0x280)][_0x40caf4(0x145)](_0x1b6436=>{const _0x42a212=_0x40caf4;if(_0x1b6436==null)return;const {unitId:_0x2b5830,redoState:_0x31e5fa,commandId:_0x11dd18}=_0x1b6436;if(_0x2b5830!==_0x44fe79[_0x42a212(0x1ef)])return;const _0x486069={'id':_0x11dd18,'type':a[_0x42a212(0x27f)][_0x42a212(0x130)],'params':{'unitId':_0x2b5830,'actions':_0x31e5fa[_0x42a212(0x211)],'textRanges':null}};_0x44fe79['onLocalMutation'](_0x486069);});if(_0x44fe79[_0x40caf4(0x13c)](_0x43b8ff),_0x44fe79 instanceof u[_0x40caf4(0xda)]){const _0x9964e3={'onTransformIME':_0x1e9231=>this[_0x40caf4(0x14f)]['transformIMECache'](_0x1e9231),'onTransformState':_0x5c948b=>this[_0x40caf4(0x10f)]['transformStateCache'](_0x5c948b),'onTransformSelections':_0x7aa8ea=>this['_docTransformSelectionsService'][_0x40caf4(0xef)](_0x7aa8ea),'onSyncEditingCollabCursor':_0x38b254=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x38b254),'onTransformRemoteChangesetByIMECache':_0x49fa6a=>this[_0x40caf4(0x14f)][_0x40caf4(0x165)](_0x49fa6a),'onTransformRemoteChangesetByStateCache':_0xce245d=>this['_docTransformStateCacheService'][_0x40caf4(0x165)](_0xce245d)};_0x44fe79['addHandlerCallback'](_0x9964e3);}}));}};Q=Xt([N(0x0,a[_0x373e19(0x2ec)](E[_0x373e19(0x12f)])),N(0x1,a['Inject'](u['CollaborationController'])),N(0x2,a[_0x373e19(0x2ec)](z)),N(0x3,a['Inject'](J)),N(0x4,a[_0x373e19(0x2ec)](Z)),N(0x5,a[_0x373e19(0x2ec)](pe)),N(0x6,O[_0x373e19(0x2e0)]),N(0x7,a[_0x373e19(0x2ec)](a['LocaleService']))],Q);var Gt=Object[_0x373e19(0x305)],Kt=(_0x4dfa62,_0x49ca65,_0x43a720,_0x1e502b)=>{const _0x4225ff=_0x373e19;for(var _0x5207f2=_0x1e502b>0x1?void 0x0:_0x1e502b?Gt(_0x49ca65,_0x43a720):_0x49ca65,_0x60ae09=_0x4dfa62[_0x4225ff(0x1a4)]-0x1,_0x3f1b74;_0x60ae09>=0x0;_0x60ae09--)(_0x3f1b74=_0x4dfa62[_0x60ae09])&&(_0x5207f2=_0x3f1b74(_0x5207f2)||_0x5207f2);return _0x5207f2;},le=(_0x538248,_0x2f6e6b)=>(_0x456b94,_0x45adda)=>_0x2f6e6b(_0x456b94,_0x45adda,_0x538248);let ve=class extends a[_0x373e19(0x1e2)]{constructor(_0x26be06,_0x5d5563,_0x552e77){const _0xbf8b5f=_0x373e19;super(),h(this,_0xbf8b5f(0x147),new Map()),h(this,_0xbf8b5f(0x186),new Map()),h(this,_0xbf8b5f(0x237),!0x1),(this[_0xbf8b5f(0x2ac)]=_0x26be06,this[_0xbf8b5f(0x199)]=_0x5d5563,this[_0xbf8b5f(0x166)]=_0x552e77);}['disableLocalCache'](){const _0x422e81=_0x373e19;this[_0x422e81(0x237)]=!0x0;}[_0x373e19(0x191)](){const _0x217614=_0x373e19;this[_0x217614(0x237)]=!0x1;}get[_0x373e19(0x1a7)](){const _0x188a9f=_0x373e19;return this[_0x188a9f(0x186)];}['dispose'](){const _0x5d36f7=_0x373e19;this[_0x5d36f7(0x2b7)]()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x41f45a){const _0x1aa929=_0x373e19;return this['_disabled']?null:this[_0x1aa929(0x199)][_0x1aa929(0x19c)](u['getLocalCacheKey'](_0x41f45a));}async[_0x373e19(0x300)](_0x30ec2d,_0x4c0ddc){const _0x208040=_0x373e19;return!!this[_0x208040(0x199)]['setItem'](_0x30ec2d,_0x4c0ddc);}['updateOfflineData'](_0x148743,_0x5be38a,_0x5d9699,_0x395237){const _0x4c855c=_0x373e19,_0x701171=this[_0x4c855c(0x166)][_0x4c855c(0xe2)](_0x148743);this[_0x4c855c(0x147)][_0x4c855c(0x2a9)](_0x148743,{'unitID':_0x148743,'type':_0x5be38a,'awaitingChangeset':_0x5d9699,'mutations':_0x395237,'rev':_0x701171}),this[_0x4c855c(0x186)][_0x4c855c(0x281)](_0x148743)||this[_0x4c855c(0x16a)](_0x148743);}[_0x373e19(0x16a)](_0x5cf223){const _0x158b31=_0x373e19,_0x4ea165=this[_0x158b31(0x2b5)]();_0x4ea165===0x0?this[_0x158b31(0x193)](_0x5cf223):this['_saveTaskMap'][_0x158b31(0x2a9)](_0x5cf223,setTimeout(()=>this[_0x158b31(0x193)](_0x5cf223),_0x4ea165));}[_0x373e19(0x2b5)](){const _0xf342af=_0x373e19;var _0x2d7b5f;return(_0x2d7b5f=this[_0xf342af(0x2ac)][_0xf342af(0x2e2)](u[_0xf342af(0x2de)]))!=null?_0x2d7b5f:u[_0xf342af(0x19e)];}[_0x373e19(0x193)](_0x3a84f2){const _0x34185d=_0x373e19,_0x57bdbc=this[_0x34185d(0x186)]['get'](_0x3a84f2);return _0x57bdbc!==void 0x0&&window[_0x34185d(0xbe)](_0x57bdbc),this['_localStorageService']['setItem'](u[_0x34185d(0x210)](_0x3a84f2),this['_cachedData'][_0x34185d(0x177)](_0x3a84f2))['then'](()=>this[_0x34185d(0x186)]['delete'](_0x3a84f2));}async[_0x373e19(0x2b7)](){const _0x5559ad=_0x373e19,_0x52bd17=[];this['_saveTaskMap'][_0x5559ad(0x22a)]((_0x330ec2,_0x268d29)=>{const _0x9ea831=_0x5559ad;window[_0x9ea831(0xbe)](_0x330ec2),_0x52bd17[_0x9ea831(0xc2)](this[_0x9ea831(0x193)](_0x268d29)[_0x9ea831(0x14a)](()=>{const _0x57bc10=_0x9ea831;this[_0x57bc10(0x186)][_0x57bc10(0x258)](_0x268d29);}));}),await Promise[_0x5559ad(0x181)](_0x52bd17);}};ve=Kt([le(0x0,a[_0x373e19(0x269)]),le(0x1,a['ILocalStorageService']),le(0x2,a[_0x373e19(0x2ec)](m['RevisionService']))],ve);class xe extends a['RxDisposable']{constructor(){const _0x3bea43=_0x373e19;super(),h(this,'urlChange$'),this['urlChange$']=d['fromEvent'](window,_0x3bea43(0x304))[_0x3bea43(0x1f8)](d[_0x3bea43(0x1b9)](this[_0x3bea43(0x2e1)]),d[_0x3bea43(0x293)](0x1),d[_0x3bea43(0x299)](void 0x0));}['setParam'](_0x5060ac,_0x33eb64,_0x477a49=!0x1){const _0x3b50be=_0x373e19,_0x3076f4=new URL(window[_0x3b50be(0x2ce)][_0x3b50be(0x321)]);_0x3076f4[_0x3b50be(0x319)][_0x3b50be(0x2a9)](_0x5060ac,_0x33eb64),_0x477a49?window[_0x3b50be(0xe3)][_0x3b50be(0x277)]('','',_0x3076f4[_0x3b50be(0x314)]()):window[_0x3b50be(0xe3)][_0x3b50be(0x189)]('','',_0x3076f4[_0x3b50be(0x314)]());}[_0x373e19(0x115)](_0x577347,_0x4bdda6=!0x1){const _0x232050=_0x373e19,_0x5b4736=new URL(window['location'][_0x232050(0x321)]);_0x5b4736[_0x232050(0x319)][_0x232050(0x258)](_0x577347),_0x4bdda6?window['history'][_0x232050(0x277)]('','',_0x5b4736['toString']()):window[_0x232050(0xe3)][_0x232050(0x189)]('','',_0x5b4736[_0x232050(0x314)]());}[_0x373e19(0x322)](_0x42c5bf){const _0x59c235=_0x373e19;var _0x108c45;return(_0x108c45=new URL(window[_0x59c235(0x2ce)][_0x59c235(0x321)])[_0x59c235(0x319)][_0x59c235(0x177)](_0x42c5bf))!=null?_0x108c45:void 0x0;}}var qt=Object[_0x373e19(0x1ac)],zt=Object[_0x373e19(0x305)],Jt=(_0x3ca152,_0x2188b6,_0x19c38b)=>_0x2188b6 in _0x3ca152?qt(_0x3ca152,_0x2188b6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19c38b}):_0x3ca152[_0x2188b6]=_0x19c38b,Zt=(_0x59302f,_0x50c7dd,_0x2dc7a3,_0x1f4665)=>{const _0x34028e=_0x373e19;for(var _0x52348a=_0x1f4665>0x1?void 0x0:_0x1f4665?zt(_0x50c7dd,_0x2dc7a3):_0x50c7dd,_0x3da5cf=_0x59302f[_0x34028e(0x1a4)]-0x1,_0x59e212;_0x3da5cf>=0x0;_0x3da5cf--)(_0x59e212=_0x59302f[_0x3da5cf])&&(_0x52348a=_0x59e212(_0x52348a)||_0x52348a);return _0x52348a;},_e=(_0x19222d,_0x5abe25)=>(_0xc15a20,_0x44f308)=>_0x5abe25(_0xc15a20,_0x44f308,_0x19222d),Qt=(_0x177e30,_0x506c9d,_0x4cb039)=>Jt(_0x177e30,_0x506c9d+'',_0x4cb039);const es=_0x373e19(0xff);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x373e19(0x12e)]{constructor(_0x18a752=De,_0x5431ed,_0x179c0a,_0x3df464){const _0x2827e0=_0x373e19;super(),this[_0x2827e0(0x1ab)]=_0x18a752,this[_0x2827e0(0x238)]=_0x5431ed,this[_0x2827e0(0x20b)]=_0x179c0a,this[_0x2827e0(0x2ac)]=_0x3df464;const {..._0x5ba2cd}=a['merge']({},De,this[_0x2827e0(0x1ab)]);this[_0x2827e0(0x2ac)][_0x2827e0(0x1ce)](Bt,_0x5ba2cd);}[_0x373e19(0x2f2)](){const _0x1e28f1=_0x373e19;this[_0x1e28f1(0xdc)](),this['_initDependencies']();}[_0x373e19(0x2a7)](){const _0x55d3dd=_0x373e19;this[_0x55d3dd(0x218)]();}[_0x373e19(0xdc)](){const _0xb5799d=_0x373e19;var _0x5b7064;const _0x5e6c30=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K['ISocketService'],{'useClass':K['WebSocketService']}],[u[_0xb5799d(0x15f)],{'useClass':ve}],[exports[_0xb5799d(0x1ae)]],[Q],[q],[x],[ue],[exports[_0xb5799d(0x1bf)]]];a[_0xb5799d(0x315)](this[_0xb5799d(0x20b)],a[_0xb5799d(0x2a5)](_0x5e6c30,(_0x5b7064=this[_0xb5799d(0x1ab)])==null?void 0x0:_0x5b7064[_0xb5799d(0x15e)]));}[_0x373e19(0x218)](){const _0x406ab0=_0x373e19;this[_0x406ab0(0x13c)](this['_renderManagerService']['registerRenderModule'](a['UniverInstanceType'][_0x406ab0(0xf8)],[fe])),this[_0x406ab0(0x13c)](this[_0x406ab0(0x238)]['registerRenderModule'](a[_0x406ab0(0x2fc)][_0x406ab0(0x1de)],[Ie]));}[_0x373e19(0x1cf)](){const _0x45e298=_0x373e19;a[_0x45e298(0x13b)](this[_0x45e298(0x20b)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[exports[_0x45e298(0x1bf)]]]);}},Qt(exports[_0x373e19(0x16f)],_0x373e19(0x13a),es),exports[_0x373e19(0x16f)]=Zt([a[_0x373e19(0x265)](u[_0x373e19(0x29c)]),_e(0x1,p[_0x373e19(0x26f)]),_e(0x2,a[_0x373e19(0x2ec)](a[_0x373e19(0xc4)])),_e(0x3,a[_0x373e19(0x269)])],exports[_0x373e19(0x16f)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x4246c8,_0x5f5d31,_0x2cfac4,_0x1e0d47)=>{for(var _0x334637=_0x1e0d47>0x1?void 0x0:_0x1e0d47?ts(_0x5f5d31,_0x2cfac4):_0x5f5d31,_0x2348bf=_0x4246c8['length']-0x1,_0x2f7f92;_0x2348bf>=0x0;_0x2348bf--)(_0x2f7f92=_0x4246c8[_0x2348bf])&&(_0x334637=_0x2f7f92(_0x334637)||_0x334637);return _0x334637;},H=(_0x233125,_0x3585b5)=>(_0x2159ae,_0x4293cc)=>_0x3585b5(_0x2159ae,_0x4293cc,_0x233125);exports[_0x373e19(0xea)]=class extends u[_0x373e19(0x234)]{constructor(_0x2ac52f,_0x233df9,_0x4e1edc,_0x3bff51,_0x4be5f3){super(_0x2ac52f,_0x233df9,_0x4e1edc,_0x3bff51,_0x4be5f3);}async[_0x373e19(0x2db)](_0x58bec2){const _0x4548e2=_0x373e19,_0x2e67a0=await this[_0x4548e2(0xde)](),_0x42059f=this[_0x4548e2(0x24d)](_0x58bec2,_0x2e67a0);return this[_0x4548e2(0x2c9)](_0x42059f);}[_0x373e19(0x24d)](_0x3a126c,_0x58b283){const _0x20c26=_0x373e19,_0x17d792=typeof window>'u'?new URL(_0x3a126c):new URL(_0x3a126c,window[_0x20c26(0x2ce)][_0x20c26(0x2dd)]);_0x17d792[_0x20c26(0x319)][_0x20c26(0x2a9)](_0x20c26(0xd5),_0x58b283);const _0xc55598=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x20c26(0x2ce)][_0x20c26(0x2a6)]);return _0xc55598['get']('runId')&&_0x17d792[_0x20c26(0x319)][_0x20c26(0x2a9)](_0x20c26(0x30f),_0xc55598[_0x20c26(0x177)](_0x20c26(0x30f))),_0x17d792[_0x20c26(0x314)]();}async[_0x373e19(0xde)](){const _0x36f327=_0x373e19;var _0x4c669e,_0x5e0163,_0x3d133a;const _0x23d16c=this[_0x36f327(0x2ac)][_0x36f327(0x2e2)](u[_0x36f327(0xd0)]),_0x15b5b1=(_0x4c669e=_0x23d16c==null?void 0x0:_0x23d16c[_0x36f327(0x1fd)])!=null?_0x4c669e:u[_0x36f327(0x160)];return(_0x3d133a=(_0x5e0163=(await this[_0x36f327(0x266)]['get'](_0x15b5b1,{'headers':{'Content-Type':_0x36f327(0xb6)}}))[_0x36f327(0x2d8)])==null?void 0x0:_0x5e0163[_0x36f327(0x1f1)])!=null?_0x3d133a:'';}},exports[_0x373e19(0xea)]=ss([H(0x0,a['Inject'](a[_0x373e19(0xc4)])),H(0x1,a[_0x373e19(0x2ec)](K[_0x373e19(0x25e)])),H(0x2,a[_0x373e19(0x269)]),H(0x3,a[_0x373e19(0x28c)]),H(0x4,m['ISnapshotServerService'])],exports[_0x373e19(0xea)]);var Be=(_0x814e7b=>(_0x814e7b[_0x814e7b['UNDEFINED']=0x0]='UNDEFINED',_0x814e7b[_0x814e7b['OK']=0x1]='OK',_0x814e7b[_0x814e7b[_0x373e19(0x25d)]=0x2]=_0x373e19(0x25d),_0x814e7b[_0x814e7b[_0x373e19(0x26e)]=0x3]=_0x373e19(0x26e),_0x814e7b[_0x814e7b[_0x373e19(0x21e)]=0x4]='NOT_FOUND',_0x814e7b[_0x814e7b['UNAUTHENTICATED']=0x5]=_0x373e19(0x10b),_0x814e7b[_0x814e7b[_0x373e19(0x2f9)]=0x6]=_0x373e19(0x2f9),_0x814e7b[_0x814e7b['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x814e7b[_0x814e7b['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x814e7b[_0x814e7b[_0x373e19(0x164)]=0x9]=_0x373e19(0x164),_0x814e7b[_0x814e7b[_0x373e19(0x1ca)]=0xa]=_0x373e19(0x1ca),_0x814e7b[_0x814e7b['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x373e19(0x323),_0x814e7b[_0x814e7b[_0x373e19(0x137)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x814e7b[_0x814e7b['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x373e19(0xc0),_0x814e7b[_0x814e7b[_0x373e19(0xf5)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x814e7b[_0x814e7b[_0x373e19(0x144)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x814e7b[_0x814e7b[_0x373e19(0x2e4)]=0x1771]=_0x373e19(0x2e4),_0x814e7b[_0x814e7b[_0x373e19(0x1b7)]=0x1772]=_0x373e19(0x1b7),_0x814e7b[_0x814e7b[_0x373e19(0x179)]=0x1773]=_0x373e19(0x179),_0x814e7b[_0x814e7b['APPLY_REJECT']=0x1b59]=_0x373e19(0x148),_0x814e7b[_0x814e7b[_0x373e19(0x2ea)]=0x1b5a]=_0x373e19(0x2ea),_0x814e7b[_0x814e7b[_0x373e19(0x2a3)]=0x1b5b]=_0x373e19(0x2a3),_0x814e7b[_0x814e7b[_0x373e19(0x132)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x814e7b[_0x814e7b[_0x373e19(0xfe)]=0x1b5d]=_0x373e19(0xfe),_0x814e7b[_0x814e7b[_0x373e19(0xe8)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x814e7b[_0x814e7b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x373e19(0x2cc),_0x814e7b[_0x814e7b[_0x373e19(0x301)]=0x232a]=_0x373e19(0x301),_0x814e7b[_0x814e7b[_0x373e19(0xf6)]=0x232b]=_0x373e19(0xf6),_0x814e7b[_0x814e7b[_0x373e19(0x271)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x814e7b[_0x814e7b[_0x373e19(0x31c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x814e7b[_0x814e7b[_0x373e19(0x1be)]=0x2711]=_0x373e19(0x1be),_0x814e7b[_0x814e7b[_0x373e19(0x1df)]=0x2712]=_0x373e19(0x1df),_0x814e7b[_0x814e7b[_0x373e19(0xb4)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x814e7b[_0x814e7b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x373e19(0x2f1),_0x814e7b[_0x814e7b[_0x373e19(0x1d0)]=0x271a]=_0x373e19(0x1d0),_0x814e7b[_0x814e7b[_0x373e19(0x108)]=0x271b]=_0x373e19(0x108),_0x814e7b[_0x814e7b['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x373e19(0x127),_0x814e7b[_0x814e7b[_0x373e19(0x27a)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x814e7b[_0x814e7b[_0x373e19(0x28e)]=0x271e]=_0x373e19(0x28e),_0x814e7b[_0x814e7b[_0x373e19(0x1d3)]=0x271f]=_0x373e19(0x1d3),_0x814e7b[_0x814e7b[_0x373e19(0x1fb)]=0x2720]=_0x373e19(0x1fb),_0x814e7b[_0x814e7b[_0x373e19(0x1bd)]=0x2af9]=_0x373e19(0x1bd),_0x814e7b[_0x814e7b[_0x373e19(0x207)]=0x2ee1]=_0x373e19(0x207),_0x814e7b[_0x814e7b['INVALID_INVITE_CODE']=0x2ee2]=_0x373e19(0x318),_0x814e7b[_0x814e7b['INVITE_CODE_REQUIRED']=0x2ee3]=_0x373e19(0x240),_0x814e7b[_0x814e7b[_0x373e19(0x22d)]=0x2ee4]=_0x373e19(0x22d),_0x814e7b[_0x814e7b[_0x373e19(0x24f)]=0x2ee5]=_0x373e19(0x24f),_0x814e7b[_0x814e7b['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x814e7b[_0x814e7b['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x814e7b[_0x814e7b[_0x373e19(0x10c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x814e7b[_0x814e7b[_0x373e19(0x241)]=-0x1]='UNRECOGNIZED',_0x814e7b))(Be||{}),is=Object[_0x373e19(0x305)],ns=(_0xc3ec51,_0x59553c,_0xbc3788,_0x4fe5e1)=>{const _0x35b133=_0x373e19;for(var _0x4203c0=_0x4fe5e1>0x1?void 0x0:_0x4fe5e1?is(_0x59553c,_0xbc3788):_0x59553c,_0x4548a2=_0xc3ec51[_0x35b133(0x1a4)]-0x1,_0x1d1dea;_0x4548a2>=0x0;_0x4548a2--)(_0x1d1dea=_0xc3ec51[_0x4548a2])&&(_0x4203c0=_0x1d1dea(_0x4203c0)||_0x4203c0);return _0x4203c0;},he=(_0x2121a1,_0x359666)=>(_0xfc118c,_0x2e24cd)=>_0x359666(_0xfc118c,_0x2e24cd,_0x2121a1);exports[_0x373e19(0xd8)]=class extends a[_0x373e19(0x1e2)]{constructor(_0x49b395,_0x34b92f,_0x45d327){const _0xf607be=_0x373e19;super(),this[_0xf607be(0x2fb)]=_0x49b395,this[_0xf607be(0x266)]=_0x34b92f,this['_configService']=_0x45d327;}async[_0x373e19(0x1d5)](_0x2d687e,_0x2bb743,_0x2c74a4,..._0x21c330){const _0x3e5bf2=_0x373e19;var _0x48998f,_0x212e42,_0x118681,_0x2a6fc2;const _0x3783c7=this[_0x3e5bf2(0x2fb)][_0x3e5bf2(0x19d)]();if(!_0x3783c7)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3f44c2=((_0x48998f=this[_0x3e5bf2(0x2ac)][_0x3e5bf2(0x2e2)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x48998f:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2d687e+_0x3e5bf2(0x1a6)+_0x2bb743,_0x43d808=new URL(window[_0x3e5bf2(0x2ce)][_0x3e5bf2(0x321)]),_0x44424a={'scriptId':_0x2d687e,'runId':(_0x212e42=_0x43d808[_0x3e5bf2(0x319)]['get'](_0x3e5bf2(0x30f)))!=null?_0x212e42:'','function':_0x2bb743,'unitId':_0x3783c7[_0x3e5bf2(0x261)](),'argsOfFunction':JSON[_0x3e5bf2(0x104)](_0x21c330),'invokeId':(_0x118681=_0x2c74a4[_0x3e5bf2(0xf2)])!=null?_0x118681:'','executionId':(_0x2a6fc2=_0x2c74a4[_0x3e5bf2(0x233)])!=null?_0x2a6fc2:''};try{const _0x12f66d=await this['_httpService'][_0x3e5bf2(0x149)](_0x3f44c2,{'body':_0x44424a});return _0x12f66d['body'][_0x3e5bf2(0x111)]&&_0x12f66d['body'][_0x3e5bf2(0x111)][_0x3e5bf2(0x1fc)]!==Be['OK']?'Failed':_0x12f66d[_0x3e5bf2(0x2d8)]['result'];}catch{return _0x3e5bf2(0x2b1);}}},exports[_0x373e19(0xd8)]=ns([he(0x0,a[_0x373e19(0x157)]),he(0x1,a[_0x373e19(0x2ec)](K['HTTPService'])),he(0x2,a[_0x373e19(0x269)])],exports[_0x373e19(0xd8)]);const Me=0x7530,Le=_0x373e19(0x2c7);class rs extends a[_0x373e19(0x1e2)]{constructor(){const _0x40b147=_0x373e19;super(),h(this,_0x40b147(0x24b),a[_0x40b147(0x17c)]()),h(this,_0x40b147(0x2b0),new Set()),h(this,_0x40b147(0x262),new Map()),h(this,_0x40b147(0x170),null),h(this,'_clearOtherTimers',new Map()),h(this,'_unitStatus',new Map()),this[_0x40b147(0xbb)]();}[_0x373e19(0x226)](){const _0x35dadc=_0x373e19;super[_0x35dadc(0x226)](),this[_0x35dadc(0x249)][_0x35dadc(0x22a)]((_0x25240f,_0x3c3179)=>this[_0x35dadc(0x28f)](_0x3c3179)),this['_heartbeatTimer']&&window[_0x35dadc(0xc3)](this['_heartbeatTimer']);}['getUnitStatus$'](_0xf6b1d2){const _0x3e3435=_0x373e19;return this[_0x3e3435(0x2bd)](_0xf6b1d2)[_0x3e3435(0x1f8)](d[_0x3e3435(0x171)]());}[_0x373e19(0x329)](_0x2071e8){const _0x30f435=_0x373e19;this[_0x30f435(0x2b0)][_0x30f435(0x1c0)]===0x0&&this[_0x30f435(0xe4)](),this[_0x30f435(0x2b0)][_0x30f435(0x1a3)](_0x2071e8),this['_send']({'type':0x0,'memberID':this[_0x30f435(0x24b)],'unitIDs':[_0x2071e8],'isForwarded':!0x1});}[_0x373e19(0x117)](_0x52d697){const _0x4cc2da=_0x373e19;this[_0x4cc2da(0x2b0)][_0x4cc2da(0x258)](_0x52d697),this[_0x4cc2da(0x2b0)][_0x4cc2da(0x1c0)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x4cc2da(0x170)]);}[_0x373e19(0xbb)](){const _0x5a536c=_0x373e19;this[_0x5a536c(0x13c)](a['toDisposable'](d[_0x5a536c(0x221)](window,_0x5a536c(0x1b6))[_0x5a536c(0x145)](_0x564881=>{const _0x1f9f52=_0x5a536c;if(_0x564881[_0x1f9f52(0x125)]!==Le||!_0x564881[_0x1f9f52(0x1d2)])return;const _0x216b70=JSON[_0x1f9f52(0x140)](_0x564881['newValue']);this[_0x1f9f52(0x21d)](_0x216b70);}))),window['addEventListener'](_0x5a536c(0x2b8),()=>this[_0x5a536c(0x276)]({'type':0x1,'memberID':this[_0x5a536c(0x24b)],'unitIDs':Array['from'](this[_0x5a536c(0x2b0)])}));}[_0x373e19(0x21d)](_0x43708e){const _0xdaab89=_0x373e19;switch(_0x43708e[_0xdaab89(0x324)]){case 0x0:this[_0xdaab89(0x2c6)](_0x43708e);break;case 0x1:this[_0xdaab89(0x200)](_0x43708e);break;case 0x2:this[_0xdaab89(0xf1)](_0x43708e);break;}}[_0x373e19(0x2c6)](_0x4a5aec){const _0xa2fe1e=_0x373e19,{unitIDs:_0xbad220,memberID:_0x431e0d,isForwarded:_0x3f0167}=_0x4a5aec;_0xbad220[_0xa2fe1e(0x22a)](_0x1b9999=>{const _0x196fbc=_0xa2fe1e;if(!_0x3f0167&&this[_0x196fbc(0x262)][_0x196fbc(0x281)](_0x1b9999)&&this[_0x196fbc(0x2bd)](_0x1b9999)['next'](u['UnitStatus'][_0x196fbc(0x10d)]),!this[_0x196fbc(0x262)][_0x196fbc(0x281)](_0x1b9999)||!this['_unitOnClients'][_0x196fbc(0x177)](_0x1b9999)[_0x196fbc(0x281)](_0x431e0d)){const _0x1f079e=this[_0x196fbc(0x262)][_0x196fbc(0x177)](_0x1b9999)||new Set();_0x1f079e['add'](_0x431e0d),this[_0x196fbc(0x262)][_0x196fbc(0x2a9)](_0x1b9999,_0x1f079e),this[_0x196fbc(0x270)](_0x431e0d);}}),_0x3f0167||this[_0xa2fe1e(0x276)]({'type':0x0,'memberID':this[_0xa2fe1e(0x24b)],'unitIDs':[...this[_0xa2fe1e(0x2b0)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x17dc27){const _0x46481e=_0x373e19;this[_0x46481e(0x28f)](_0x17dc27);const _0x23db5a=window[_0x46481e(0x29a)](()=>{const _0x1d4756=_0x46481e;this[_0x1d4756(0x262)][_0x1d4756(0x22a)](_0x33f795=>{const _0x4875da=_0x1d4756;_0x33f795[_0x4875da(0x258)](_0x17dc27);});},Me*0x2);this['_clearOtherTimers'][_0x46481e(0x2a9)](_0x17dc27,_0x23db5a);}[_0x373e19(0x28f)](_0x1a795c){const _0x39cb54=_0x373e19;if(this[_0x39cb54(0x249)][_0x39cb54(0x281)](_0x1a795c)){const _0x17660d=this[_0x39cb54(0x249)][_0x39cb54(0x177)](_0x1a795c);_0x17660d&&window[_0x39cb54(0xbe)](_0x17660d),this['_clearOtherTimers'][_0x39cb54(0x2a9)](_0x1a795c,null);}}[_0x373e19(0x200)](_0x299a07){const _0x230259=_0x373e19,{memberID:_0x3170b3,unitIDs:_0x132a81}=_0x299a07;_0x132a81['forEach'](_0x49f16a=>{const _0x5467ad=_0x2638;var _0x398a3d;const _0x1f47f3=this[_0x5467ad(0x262)][_0x5467ad(0x177)](_0x49f16a);_0x1f47f3&&(_0x1f47f3[_0x5467ad(0x258)](_0x3170b3),(_0x398a3d=this[_0x5467ad(0x2bd)](_0x49f16a))==null||_0x398a3d[_0x5467ad(0x2e5)](_0x1f47f3[_0x5467ad(0x1c0)]===0x0?u[_0x5467ad(0x12d)][_0x5467ad(0xbc)]:u[_0x5467ad(0x12d)][_0x5467ad(0x10d)]));}),this[_0x230259(0x28f)](_0x3170b3);}['_handleHeartbeatEvent'](_0x5427f9){const _0x3fc517=_0x373e19;this[_0x3fc517(0x270)](_0x5427f9[_0x3fc517(0x2f3)]);}['_send'](_0x368c14){const _0x167df9=_0x373e19;localStorage[_0x167df9(0x309)](Le,JSON[_0x167df9(0x104)](_0x368c14));}[_0x373e19(0xe4)](){const _0x2deac4=_0x373e19;this['_heartbeatTimer']=window[_0x2deac4(0x251)](()=>{const _0xb37204=_0x2deac4;this[_0xb37204(0x276)]({'type':0x2,'memberID':this[_0xb37204(0x24b)]});},Me);}[_0x373e19(0x2bd)](_0x21da91){const _0x14942d=_0x373e19;return this['_unitStatus'][_0x14942d(0x281)](_0x21da91)||this['_unitStatus'][_0x14942d(0x2a9)](_0x21da91,new d[(_0x14942d(0x1a8))](u[_0x14942d(0x12d)][_0x14942d(0xbc)])),this['_unitStatus'][_0x14942d(0x177)](_0x21da91);}}exports[_0x373e19(0x11f)]=me,exports[_0x373e19(0x326)]=$e,exports[_0x373e19(0x283)]=rs,exports[_0x373e19(0x23a)]=xe;
1
+ 'use strict';const _0xbb36ef=_0x487e;(function(_0x9c93a7,_0x25ddd1){const _0x272d1b=_0x487e,_0x2e1337=_0x9c93a7();while(!![]){try{const _0x24c184=parseInt(_0x272d1b(0x268))/0x1*(-parseInt(_0x272d1b(0x1fb))/0x2)+-parseInt(_0x272d1b(0x2d4))/0x3*(parseInt(_0x272d1b(0x3fc))/0x4)+-parseInt(_0x272d1b(0x426))/0x5+-parseInt(_0x272d1b(0x3ff))/0x6*(parseInt(_0x272d1b(0x332))/0x7)+parseInt(_0x272d1b(0x42c))/0x8*(-parseInt(_0x272d1b(0x343))/0x9)+-parseInt(_0x272d1b(0x202))/0xa+-parseInt(_0x272d1b(0x40d))/0xb*(-parseInt(_0x272d1b(0x3b7))/0xc);if(_0x24c184===_0x25ddd1)break;else _0x2e1337['push'](_0x2e1337['shift']());}catch(_0x4779fc){_0x2e1337['push'](_0x2e1337['shift']());}}}(_0x52b0,0x9b988));var We=Object['defineProperty'],Ve=(_0x33697e,_0x1f0a5d,_0x185a19)=>_0x1f0a5d in _0x33697e?We(_0x33697e,_0x1f0a5d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x185a19}):_0x33697e[_0x1f0a5d]=_0x185a19,h=(_0x444082,_0xfbc0e3,_0x3204db)=>Ve(_0x444082,typeof _0xfbc0e3!=_0xbb36ef(0x383)?_0xfbc0e3+'':_0xfbc0e3,_0x3204db);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0xbb36ef(0x31f)});const P=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),d=require('rxjs'),D=require('@univerjs/design'),M=require('react'),Xe=require('@univerjs/rpc'),g=require('@univerjs/sheets'),p=require('@univerjs/engine-render'),K=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),Ee=require('@univerjs/engine-formula'),$=require('rxjs/operators'),G=require('@univerjs/sheets-ui');var b=function(){const _0x5c3418=_0xbb36ef;return b=Object[_0x5c3418(0x2ba)]||function(_0x114e95){const _0x4ffa97=_0x5c3418;for(var _0x3ba9a9,_0x327e7a=0x1,_0x4b13bc=arguments[_0x4ffa97(0x21e)];_0x327e7a<_0x4b13bc;_0x327e7a++){_0x3ba9a9=arguments[_0x327e7a];for(var _0x5564fc in _0x3ba9a9)Object[_0x4ffa97(0x314)][_0x4ffa97(0x42e)][_0x4ffa97(0x376)](_0x3ba9a9,_0x5564fc)&&(_0x114e95[_0x5564fc]=_0x3ba9a9[_0x5564fc]);}return _0x114e95;},b[_0x5c3418(0x1e3)](this,arguments);},Ke=function(_0x3c8b5d,_0x9cdf18){const _0x295a09=_0xbb36ef;var _0x57e514={};for(var _0x1d7431 in _0x3c8b5d)Object[_0x295a09(0x314)][_0x295a09(0x42e)][_0x295a09(0x376)](_0x3c8b5d,_0x1d7431)&&_0x9cdf18['indexOf'](_0x1d7431)<0x0&&(_0x57e514[_0x1d7431]=_0x3c8b5d[_0x1d7431]);if(_0x3c8b5d!=null&&typeof Object[_0x295a09(0x312)]==_0x295a09(0x306)){for(var _0x10c276=0x0,_0x1d7431=Object[_0x295a09(0x312)](_0x3c8b5d);_0x10c276<_0x1d7431[_0x295a09(0x21e)];_0x10c276++)_0x9cdf18[_0x295a09(0x3f4)](_0x1d7431[_0x10c276])<0x0&&Object[_0x295a09(0x314)][_0x295a09(0x262)][_0x295a09(0x376)](_0x3c8b5d,_0x1d7431[_0x10c276])&&(_0x57e514[_0x1d7431[_0x10c276]]=_0x3c8b5d[_0x1d7431[_0x10c276]]);}return _0x57e514;},ge=M[_0xbb36ef(0x2da)](function(_0x160265,_0x550e43){const _0x4616bc=_0xbb36ef;var _0x31abb0=_0x160265[_0x4616bc(0x1c6)],_0x4cb305=_0x160265['id'],_0x1d12c8=_0x160265['className'],_0x5e365d=_0x160265[_0x4616bc(0x337)],_0x6c0ef2=Ke(_0x160265,[_0x4616bc(0x1c6),'id',_0x4616bc(0x3f5),_0x4616bc(0x337)]),_0x1e0408='univerjs-icon\x20univerjs-icon-'[_0x4616bc(0x28f)](_0x4cb305,'\x20')[_0x4616bc(0x28f)](_0x1d12c8||'')[_0x4616bc(0x2b5)](),_0x2fe010=M[_0x4616bc(0x3e0)]('_'[_0x4616bc(0x28f)](Je()));return Pe(_0x31abb0,''['concat'](_0x4cb305),{'defIds':_0x31abb0['defIds'],'idSuffix':_0x2fe010['current']},b({'ref':_0x550e43,'className':_0x1e0408},_0x6c0ef2),_0x5e365d);});function Pe(_0x166853,_0x3f8b45,_0x37f2b3,_0x418b99,_0x326c0f){const _0x6e3e3f=_0xbb36ef;return M[_0x6e3e3f(0x39f)](_0x166853['tag'],b(b({'key':_0x3f8b45},qe(_0x166853,_0x37f2b3,_0x326c0f)),_0x418b99),(ze(_0x166853,_0x37f2b3)[_0x6e3e3f(0x3c1)]||[])[_0x6e3e3f(0x331)](function(_0x1de777,_0x12da01){const _0x47ca23=_0x6e3e3f;return Pe(_0x1de777,''[_0x47ca23(0x28f)](_0x3f8b45,'-')[_0x47ca23(0x28f)](_0x166853[_0x47ca23(0x1d4)],'-')['concat'](_0x12da01),_0x37f2b3,void 0x0,_0x326c0f);}));}function _0x487e(_0x3e24ce,_0x7f52aa){const _0x52b085=_0x52b0();return _0x487e=function(_0x487ecc,_0x509210){_0x487ecc=_0x487ecc-0x1ba;let _0x1b5f32=_0x52b085[_0x487ecc];return _0x1b5f32;},_0x487e(_0x3e24ce,_0x7f52aa);}function qe(_0x2a8749,_0x36bc98,_0x1c8f4a){const _0x3b527a=_0xbb36ef;var _0x3f7657=b({},_0x2a8749[_0x3b527a(0x1c5)]);_0x1c8f4a!=null&&_0x1c8f4a['colorChannel1']&&_0x3f7657[_0x3b527a(0x420)]==='colorChannel1'&&(_0x3f7657[_0x3b527a(0x420)]=_0x1c8f4a['colorChannel1']),_0x2a8749['tag']==='mask'&&_0x3f7657['id']&&(_0x3f7657['id']=_0x3f7657['id']+_0x36bc98[_0x3b527a(0x39e)]),Object[_0x3b527a(0x3b0)](_0x3f7657)[_0x3b527a(0x3bd)](function(_0x63af7a){const _0x48510d=_0x3b527a;var _0x492334=_0x63af7a[0x0],_0x47620f=_0x63af7a[0x1];_0x492334===_0x48510d(0x20b)&&typeof _0x47620f==_0x48510d(0x1f0)&&(_0x3f7657[_0x492334]=_0x47620f[_0x48510d(0x364)](/url\(#(.*)\)/,'url(#$1'[_0x48510d(0x28f)](_0x36bc98[_0x48510d(0x39e)],')')));});var _0x1d569c=_0x36bc98[_0x3b527a(0x32f)];return!_0x1d569c||_0x1d569c['length']===0x0||(_0x2a8749['tag']===_0x3b527a(0x3cd)&&_0x3f7657['xlink:href']&&(_0x3f7657[_0x3b527a(0x276)]=_0x3f7657[_0x3b527a(0x276)]+_0x36bc98['idSuffix']),Object[_0x3b527a(0x3b0)](_0x3f7657)[_0x3b527a(0x3bd)](function(_0x35b14c){const _0x3fdb47=_0x3b527a;var _0x8469b9=_0x35b14c[0x0],_0x9268db=_0x35b14c[0x1];typeof _0x9268db=='string'&&(_0x3f7657[_0x8469b9]=_0x9268db[_0x3fdb47(0x364)](/url\(#(.*)\)/,_0x3fdb47(0x271)[_0x3fdb47(0x28f)](_0x36bc98[_0x3fdb47(0x39e)],')')));})),_0x3f7657;}function ze(_0x1685f3,_0x439539){const _0xd3fa4e=_0xbb36ef;var _0x5c4c48,_0x4d4831=_0x439539[_0xd3fa4e(0x32f)];return!_0x4d4831||_0x4d4831['length']===0x0?_0x1685f3:_0x1685f3[_0xd3fa4e(0x1d4)]===_0xd3fa4e(0x395)&&(!((_0x5c4c48=_0x1685f3[_0xd3fa4e(0x3c1)])===null||_0x5c4c48===void 0x0)&&_0x5c4c48[_0xd3fa4e(0x21e)])?b(b({},_0x1685f3),{'children':_0x1685f3[_0xd3fa4e(0x3c1)]['map'](function(_0x102d44){const _0x2c3e44=_0xd3fa4e;return typeof _0x102d44[_0x2c3e44(0x1c5)]['id']==_0x2c3e44(0x1f0)&&_0x4d4831&&_0x4d4831[_0x2c3e44(0x1d3)](_0x102d44[_0x2c3e44(0x1c5)]['id'])?b(b({},_0x102d44),{'attrs':b(b({},_0x102d44['attrs']),{'id':_0x102d44[_0x2c3e44(0x1c5)]['id']+_0x439539[_0x2c3e44(0x39e)]})}):_0x102d44;})}):_0x1685f3;}function Je(){const _0x485d5e=_0xbb36ef;return Math[_0x485d5e(0x1f1)]()[_0x485d5e(0x219)](0x24)[_0x485d5e(0x255)](0x2,0x8);}ge[_0xbb36ef(0x223)]=_0xbb36ef(0x2bb);var Ze={'tag':'svg','attrs':{'xmlns':_0xbb36ef(0x254),'fill':'none','viewBox':_0xbb36ef(0x41e),'width':_0xbb36ef(0x1ba),'height':_0xbb36ef(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':_0xbb36ef(0x313)},'children':[{'tag':_0xbb36ef(0x2fe),'attrs':{'stroke':'currentColor','d':_0xbb36ef(0x3b6),'strokeLinecap':'round','strokeLinejoin':_0xbb36ef(0x22b),'strokeWidth':1.2}}]},{'tag':_0xbb36ef(0x395),'attrs':{},'children':[{'tag':_0xbb36ef(0x34f),'attrs':{'id':_0xbb36ef(0x427)},'children':[{'tag':'path','attrs':{'fill':_0xbb36ef(0x29b),'d':_0xbb36ef(0x3a8)}}]}]}],'defIds':[_0xbb36ef(0x427)]},we=M[_0xbb36ef(0x2da)](function(_0x39a24e,_0x520a29){const _0x33bc4d=_0xbb36ef;return M[_0x33bc4d(0x39f)](ge,Object[_0x33bc4d(0x2ba)]({},_0x39a24e,{'id':_0x33bc4d(0x380),'ref':_0x520a29,'icon':Ze}));});we[_0xbb36ef(0x223)]=_0xbb36ef(0x391);var Qe={'tag':_0xbb36ef(0x289),'attrs':{'xmlns':_0xbb36ef(0x254),'fill':'none','viewBox':'0\x200\x2017\x2016','width':'1em','height':_0xbb36ef(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0xbb36ef(0x232),'d':_0xbb36ef(0x401),'strokeLinecap':_0xbb36ef(0x22b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xbb36ef(0x24f)},'children':[{'tag':_0xbb36ef(0x2fe),'attrs':{'fill':'white','d':_0xbb36ef(0x3a8),'transform':_0xbb36ef(0x359)}}]}]}],'defIds':[_0xbb36ef(0x24f)]},Ae=M[_0xbb36ef(0x2da)](function(_0x15cda5,_0x3afc3b){const _0x513f25=_0xbb36ef;return M[_0x513f25(0x39f)](ge,Object[_0x513f25(0x2ba)]({},_0x15cda5,{'id':_0x513f25(0x1c9),'ref':_0x3afc3b,'icon':Qe}));});Ae[_0xbb36ef(0x223)]=_0xbb36ef(0x286);function et(_0x408d34){const _0x51c6cc=_0xbb36ef;switch(_0x408d34){case u[_0x51c6cc(0x2f9)][_0x51c6cc(0x2b2)]:return _0x51c6cc(0x39b);case u[_0x51c6cc(0x2f9)]['CONFLICT']:return _0x51c6cc(0x422);case u[_0x51c6cc(0x2f9)][_0x51c6cc(0x38c)]:return _0x51c6cc(0x1bf);case u[_0x51c6cc(0x2f9)]['NOT_COLLAB']:return _0x51c6cc(0x20c);case u[_0x51c6cc(0x2f9)]['AWAITING']:case u[_0x51c6cc(0x2f9)]['AWAITING_WITH_PENDING']:return _0x51c6cc(0x350);case u[_0x51c6cc(0x2f9)]['SYNCED']:case u[_0x51c6cc(0x2f9)][_0x51c6cc(0x400)]:return _0x51c6cc(0x1f8);}}function tt(_0x20314e){const _0x581588=_0xbb36ef,{status$:_0x46ecb2}=_0x20314e,_0x1c9689=O[_0x581588(0x398)](_0x46ecb2,u['CollaborationStatus'][_0x581588(0x2c3)]),_0x298792=O[_0x581588(0x297)](a[_0x581588(0x344)]),_0x20bc71=O[_0x581588(0x297)](u[_0x581588(0x263)]),_0x4bce48=_0x1c9689!==u[_0x581588(0x2f9)][_0x581588(0x2b2)],_0x57cc2b=_0x298792['t'](et(_0x1c9689)),_0x35edfd=_0x4bce48?P['jsx'](Ae,{}):P[_0x581588(0x36c)](we,{}),_0x5f5209=M[_0x581588(0x2d9)](()=>{_0x4bce48||_0x20bc71['reconnect']();},[_0x4bce48,_0x20bc71]);function _0x5c8a78(){const _0x1e9c52=_0x581588;return P[_0x1e9c52(0x1dd)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x5f5209,'children':[P[_0x1e9c52(0x36c)]('div',{'className':D[_0x1e9c52(0x2d1)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4bce48,'univer-text-red-500':!_0x4bce48}),'children':_0x35edfd}),P['jsx'](_0x1e9c52(0x1df),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x57cc2b})]});}return _0x4bce48?_0x5c8a78():P[_0x581588(0x36c)](D[_0x581588(0x26d)],{'title':_0x298792['t'](_0x581588(0x3cc)),'children':_0x5c8a78()});}var st=Object['getOwnPropertyDescriptor'],it=(_0x9015b5,_0x2380cc,_0x5e38a9,_0x32b4b2)=>{const _0x4d4d56=_0xbb36ef;for(var _0x41467f=_0x32b4b2>0x1?void 0x0:_0x32b4b2?st(_0x2380cc,_0x5e38a9):_0x2380cc,_0x4c83ac=_0x9015b5[_0x4d4d56(0x21e)]-0x1,_0x278d98;_0x4c83ac>=0x0;_0x4c83ac--)(_0x278d98=_0x9015b5[_0x4c83ac])&&(_0x41467f=_0x278d98(_0x41467f)||_0x41467f);return _0x41467f;},V=(_0x753024,_0x374e81)=>(_0x3c2f03,_0x165be1)=>_0x374e81(_0x3c2f03,_0x165be1,_0x753024);exports[_0xbb36ef(0x396)]=class extends a[_0xbb36ef(0x413)]{constructor(_0x23733a,_0xba0848,_0x1583cb,_0x3b905f){const _0x104a2b=_0xbb36ef;super(),h(this,_0x104a2b(0x2fa),new d[(_0x104a2b(0x2ad))](u[_0x104a2b(0x2f9)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x23733a,this[_0x104a2b(0x267)]=_0xba0848,this[_0x104a2b(0x303)]=_0x1583cb,this[_0x104a2b(0x23a)]=_0x3b905f,this[_0x104a2b(0x406)](),this[_0x104a2b(0x30f)]());}[_0xbb36ef(0x30f)](){const _0x639c09=_0xbb36ef;this[_0x639c09(0x28c)](this[_0x639c09(0x25d)]['focused$'][_0x639c09(0x2b7)](d[_0x639c09(0x227)](()=>{const _0x2be3b3=_0x639c09,_0x37e633=this[_0x2be3b3(0x25d)][_0x2be3b3(0x36a)]();return _0x37e633?this[_0x2be3b3(0x303)]['getCollabEntity$'](_0x37e633[_0x2be3b3(0x3d8)]()):d['of'](null);}),d[_0x639c09(0x227)](_0xf99de5=>_0xf99de5?_0xf99de5[_0x639c09(0x3ab)]:d['of'](u[_0x639c09(0x2f9)][_0x639c09(0x2c3)])))[_0x639c09(0x31c)](_0x1b15e3=>{const _0x2ac601=_0x639c09;this[_0x2ac601(0x2fa)][_0x2ac601(0x33e)](_0x1b15e3);}));}[_0xbb36ef(0x406)](){const _0x1444e1=_0xbb36ef;this[_0x1444e1(0x28c)](this[_0x1444e1(0x23a)]['registerComponent'](O[_0x1444e1(0x2e9)][_0x1444e1(0x3be)],()=>O[_0x1444e1(0x404)](nt({'status$':this[_0x1444e1(0x2fa)]['asObservable']()}),this[_0x1444e1(0x267)])));}},exports['DesktopCollaborationStatusDisplayController']=it([V(0x0,a[_0xbb36ef(0x21f)]),V(0x1,a[_0xbb36ef(0x3b8)](a[_0xbb36ef(0x378)])),V(0x2,a[_0xbb36ef(0x3b8)](u[_0xbb36ef(0x392)])),V(0x3,O['IUIPartsService'])],exports[_0xbb36ef(0x396)]);function nt(_0x1cc164){const {status$:_0x2ae9b8}=_0x1cc164;return function(){const _0x320d77=_0x487e;return P[_0x320d77(0x36c)](tt,{'status$':_0x2ae9b8});};}const me=a[_0xbb36ef(0x293)]('uni.network.url-service');var rt=Object[_0xbb36ef(0x1cf)],ot=(_0x2ca4fd,_0x9c4c51,_0x34fdc9,_0x321ef1)=>{const _0x59ddd6=_0xbb36ef;for(var _0x251a40=_0x321ef1>0x1?void 0x0:_0x321ef1?rt(_0x9c4c51,_0x34fdc9):_0x9c4c51,_0x42babc=_0x2ca4fd[_0x59ddd6(0x21e)]-0x1,_0x1a1d3b;_0x42babc>=0x0;_0x42babc--)(_0x1a1d3b=_0x2ca4fd[_0x42babc])&&(_0x251a40=_0x1a1d3b(_0x251a40)||_0x251a40);return _0x251a40;},k=(_0x1c0d8a,_0x48f5c4)=>(_0x2fa4d6,_0x3e424d)=>_0x48f5c4(_0x2fa4d6,_0x3e424d,_0x1c0d8a);exports[_0xbb36ef(0x30e)]=class extends a[_0xbb36ef(0x315)]{constructor(_0x1107f1,_0x3c3fdd,_0x240d42,_0x5ae72a,_0x24ebc8){const _0x458f59=_0xbb36ef;super(),this[_0x458f59(0x246)]=_0x1107f1,this['_logService']=_0x3c3fdd,this[_0x458f59(0x3f2)]=_0x240d42,this['_dataLoaderService']=_0x5ae72a,_0x24ebc8?_0x24ebc8==null||_0x24ebc8['whenReady']()['then'](()=>this['_init']()):(this['_logService'][_0x458f59(0x393)](_0x458f59(0x2f3),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x458f59(0x307)]());}async[_0xbb36ef(0x307)](){const _0x2ca471=_0xbb36ef,_0x55787f=this[_0x2ca471(0x246)][_0x2ca471(0x238)](_0x2ca471(0x40a)),_0x57cbff=this[_0x2ca471(0x246)]['getParam'](_0x2ca471(0x30c)),_0x11ade1=this[_0x2ca471(0x246)]['getParam'](_0x2ca471(0x2b3));if(!_0x55787f||!_0x57cbff){this[_0x2ca471(0x224)][_0x2ca471(0x393)](_0x2ca471(0x2f3),_0x2ca471(0x1cd));return;}const _0x4573dd=await this[_0x2ca471(0x27d)][_0x2ca471(0x2c8)](_0x55787f,Number(_0x57cbff),_0x11ade1);_0x4573dd&&_0x4573dd instanceof a[_0x2ca471(0x38d)]&&this[_0x2ca471(0x2d0)](_0x4573dd);}async[_0xbb36ef(0x2d0)](_0x5723d3){const _0x5e9a3e=_0xbb36ef;await this['_updateSubUnitFromURLParams'](_0x5723d3),_0x5723d3['activeSheet$'][_0x5e9a3e(0x2b7)](d[_0x5e9a3e(0x39c)](this['dispose$']))[_0x5e9a3e(0x31c)](_0x22b953=>{_0x22b953&&this['_updateURLWithCurrentState'](_0x22b953);}),this['_urlService'][_0x5e9a3e(0x275)][_0x5e9a3e(0x2b7)](d[_0x5e9a3e(0x39c)](this['dispose$']))[_0x5e9a3e(0x31c)](()=>this['_updateSubUnitFromURLParams'](_0x5723d3));}['_updateURLWithCurrentState'](_0x13445a,_0x5e2a2b=!0x1){const _0x25f5b2=_0xbb36ef,_0x32a9ed=this[_0x25f5b2(0x246)]['getParam'](_0x25f5b2(0x2b3));_0x13445a[_0x25f5b2(0x3e4)]()!==_0x32a9ed&&this[_0x25f5b2(0x246)][_0x25f5b2(0x23e)]('subunit',_0x13445a[_0x25f5b2(0x3e4)](),_0x5e2a2b);}async[_0xbb36ef(0x3b9)](_0x385899){const _0x23e65b=_0xbb36ef;var _0x3a415a;const _0x2091d7=this[_0x23e65b(0x246)][_0x23e65b(0x238)](_0x23e65b(0x2b3));if(!_0x2091d7||!_0x385899[_0x23e65b(0x216)](_0x2091d7)){const _0x528550=_0x385899[_0x23e65b(0x421)]()[0x0],_0x5a23b8=_0x385899[_0x23e65b(0x216)](_0x528550);if(!_0x5a23b8)return;this[_0x23e65b(0x260)](_0x5a23b8,!0x0),await this[_0x23e65b(0x3f2)]['executeCommand'](g[_0x23e65b(0x1bb)]['id'],{'unitId':_0x385899['getUnitId'](),'subUnitId':_0x528550});return;}((_0x3a415a=_0x385899[_0x23e65b(0x25a)]())==null?void 0x0:_0x3a415a[_0x23e65b(0x3e4)]())!==_0x2091d7&&await this[_0x23e65b(0x3f2)][_0x23e65b(0x2ae)](g[_0x23e65b(0x1bb)]['id'],{'unitId':_0x385899[_0x23e65b(0x3d8)](),'subUnitId':_0x2091d7});}},exports[_0xbb36ef(0x30e)]=ot([k(0x0,me),k(0x1,a['ILogService']),k(0x2,a['ICommandService']),k(0x3,a[_0xbb36ef(0x3b8)](u[_0xbb36ef(0x339)])),k(0x4,a[_0xbb36ef(0x411)](Xe[_0xbb36ef(0x36e)]))],exports[_0xbb36ef(0x30e)]);var at=Object[_0xbb36ef(0x1cf)],ct=(_0x26d7e7,_0x1054a7,_0x4b3945,_0x5b46e4)=>{const _0x9c80a3=_0xbb36ef;for(var _0x19af1f=_0x5b46e4>0x1?void 0x0:_0x5b46e4?at(_0x1054a7,_0x4b3945):_0x1054a7,_0x16d89c=_0x26d7e7[_0x9c80a3(0x21e)]-0x1,_0x422223;_0x16d89c>=0x0;_0x16d89c--)(_0x422223=_0x26d7e7[_0x16d89c])&&(_0x19af1f=_0x422223(_0x19af1f)||_0x19af1f);return _0x19af1f;},be=(_0x2c66e9,_0x3e16ba)=>(_0x4225bc,_0x277c09)=>_0x3e16ba(_0x4225bc,_0x277c09,_0x2c66e9);let ue=class extends a[_0xbb36ef(0x315)]{constructor(_0x24db8b,_0x310616){const _0x4459b3=_0xbb36ef;super(),this[_0x4459b3(0x3c4)]=_0x24db8b,this[_0x4459b3(0x2d6)]=_0x310616,this['_init']();}['_init'](){const _0x2639cd=_0xbb36ef,_0x33185a=this;this[_0x2639cd(0x28c)](this[_0x2639cd(0x3c4)]['addClipboardHook']({'onBeforePasteImage':async _0x3b1fad=>{const _0x206bfb=_0x2639cd,_0x12763e=await _0x33185a[_0x206bfb(0x2d6)]['saveImage'](_0x3b1fad);return _0x12763e?{'source':_0x12763e['source'],'imageSourceType':_0x12763e[_0x206bfb(0x280)]}:null;}}));}};ue=ct([be(0x0,E[_0xbb36ef(0x1f4)]),be(0x1,Ge['IImageIoService'])],ue);const Oe=[_0xbb36ef(0x42b),_0xbb36ef(0x1e0),'green.600',_0xbb36ef(0x23b),_0xbb36ef(0x239),_0xbb36ef(0x373)];class Ce extends a['Disposable']{constructor(){const _0x5a18cb=_0xbb36ef;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x5a18cb(0x249),0x0);}[_0xbb36ef(0x24a)](_0x127d2e){const _0x324c02=_0xbb36ef;if(this[_0x324c02(0x2a0)]['has'](_0x127d2e))return this[_0x324c02(0x2a0)][_0x324c02(0x35f)](_0x127d2e);const _0x1ed093=Oe[this[_0x324c02(0x249)]];return this[_0x324c02(0x249)]=(this['_colorIndex']+0x1)%Oe[_0x324c02(0x21e)],this['_assignedColors'][_0x324c02(0x36f)](_0x127d2e,_0x1ed093),_0x1ed093;}}function ye(_0x40dcd8){const _0x3ba58b=_0xbb36ef;let _0x39aae3='';for(const _0x133e62 of _0x40dcd8){const {startOffset:_0x17c548,endOffset:_0x45e647,isActive:_0x274e6a,rangeType:_0x357911,segmentId:_0x12b2af,segmentPage:_0x469e2e}=_0x133e62;_0x39aae3[_0x3ba58b(0x21e)]&&(_0x39aae3+=','),_0x39aae3+=_0x17c548+':'+_0x45e647+':'+(_0x274e6a?'1':'0')+':'+_0x357911+':'+_0x12b2af+':'+_0x469e2e;}return _0x39aae3;}function lt(_0x589aff){const _0x49b900=_0xbb36ef,_0x2fb48f=_0x589aff[_0x49b900(0x3ae)](','),_0x33474b=[];for(const _0x213e23 of _0x2fb48f){const [_0x1a0ba2,_0x2aae6b,_0x259c5e,_0x9fdb7d,_0x748a81,_0x19122d]=_0x213e23['split'](':');_0x33474b[_0x49b900(0x206)]({'startOffset':Number(_0x1a0ba2),'endOffset':Number(_0x2aae6b),'collapsed':_0x1a0ba2===_0x2aae6b,'isActive':_0x259c5e==='1','rangeType':_0x9fdb7d===a[_0x49b900(0x35b)][_0x49b900(0x415)]?a[_0x49b900(0x35b)][_0x49b900(0x415)]:a['DOC_RANGE_TYPE'][_0x49b900(0x212)],'segmentId':typeof _0x748a81==_0x49b900(0x1f0)?String(_0x748a81):'','segmentPage':Number(_0x19122d!=null?_0x19122d:-0x1)});}return _0x33474b[_0x49b900(0x41a)](_0x2575be=>_0x2575be[_0x49b900(0x3de)])||(_0x33474b[0x0][_0x49b900(0x3de)]=!0x0),_0x33474b;}class pe extends a[_0xbb36ef(0x315)]{constructor(){const _0x535d0f=_0xbb36ef;super(...arguments),h(this,_0x535d0f(0x311),new d[(_0x535d0f(0x2ad))](null)),h(this,_0x535d0f(0x20f),this['_collabCursorState$'][_0x535d0f(0x3a9)]());}[_0xbb36ef(0x2ce)](_0xdc6971){const _0x16d66f=_0xbb36ef,{unitID:_0x37f692,memberID:_0x1b726a,textRanges:_0xa8d55c}=_0xdc6971,_0x44d7c2=ye(_0xa8d55c);if(_0x44d7c2==='')return;const _0x11a11f={'unitID':_0x37f692,'memberID':_0x1b726a,'selection':_0x44d7c2};this[_0x16d66f(0x311)]['next'](_0x11a11f);}}var _t=Object[_0xbb36ef(0x1cf)],ht=(_0x12ac5d,_0x902bd1,_0x54d059,_0x2c006b)=>{for(var _0x5b59d5=_0x2c006b>0x1?void 0x0:_0x2c006b?_t(_0x902bd1,_0x54d059):_0x902bd1,_0x54bc57=_0x12ac5d['length']-0x1,_0x5c6466;_0x54bc57>=0x0;_0x54bc57--)(_0x5c6466=_0x12ac5d[_0x54bc57])&&(_0x5b59d5=_0x5c6466(_0x5b59d5)||_0x5b59d5);return _0x5b59d5;},L=(_0x235169,_0x59e672)=>(_0x480cc1,_0x3e822d)=>_0x59e672(_0x480cc1,_0x3e822d,_0x235169);const ut=0x12c,dt=0x64;let de=class extends a[_0xbb36ef(0x315)]{constructor(_0x3fb152,_0x155d46,_0x458d2a,_0x739fe7,_0x1b8de7,_0x46694a,_0x57252b,_0x4cdda6,_0x2b4d27){const _0x3f9100=_0xbb36ef;super(),h(this,_0x3f9100(0x205),!0x1),h(this,_0x3f9100(0x307),!0x1),h(this,_0x3f9100(0x397),new d[(_0x3f9100(0x2ad))](new Map())),h(this,_0x3f9100(0x1e9),this['_cursorInfo$']['asObservable']()),h(this,_0x3f9100(0x38a),new d[(_0x3f9100(0x2ad))]([])),h(this,_0x3f9100(0x423),this['_roomMembers$']['pipe'](d['debounceTime'](ut))),h(this,_0x3f9100(0x29a),a[_0x3f9100(0x240)](_0xe17d9a=>{const _0x489b42=_0x3f9100,_0x43d68a={'eventID':m[_0x489b42(0x399)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x489b42(0x2a8)],'memberID':this['_session'][_0x489b42(0x2a9)](),'selection':ye(_0xe17d9a)}};this[_0x489b42(0x370)][_0x489b42(0x36d)](_0x43d68a,this[_0x489b42(0x2a8)]);},dt)),(this['unitID']=_0x3fb152,this[_0x3f9100(0x370)]=_0x155d46,this['_injector']=_0x458d2a,this[_0x3f9100(0x30d)]=_0x739fe7,this[_0x3f9100(0x34e)]=_0x1b8de7,this[_0x3f9100(0x3da)]=_0x46694a,this['_transformService']=_0x57252b,this[_0x3f9100(0x25d)]=_0x4cdda6,this[_0x3f9100(0x3f2)]=_0x2b4d27);}get[_0xbb36ef(0x2a3)](){return this['_cursorInfo$']['getValue']();}get[_0xbb36ef(0x298)](){const _0x902a26=_0xbb36ef;return this['_roomMembers$'][_0x902a26(0x3bc)]();}[_0xbb36ef(0x3ef)](){const _0x259492=_0xbb36ef;super[_0x259492(0x3ef)](),this[_0x259492(0x397)][_0x259492(0x33e)](new Map()),this['_cursorInfo$'][_0x259492(0x292)](),this[_0x259492(0x38a)][_0x259492(0x33e)]([]),this[_0x259492(0x38a)][_0x259492(0x292)]();}[_0xbb36ef(0x338)](){const _0x490511=_0xbb36ef;this[_0x490511(0x307)]||(this['_init']=!0x0,this[_0x490511(0x370)][_0x490511(0x21c)][_0x490511(0x2b7)](d['takeUntil'](this['dispose$']))[_0x490511(0x31c)](_0x3f3cc0=>{const _0xc28722=_0x490511;_0x3f3cc0===u[_0xc28722(0x2b1)][_0xc28722(0x248)]?this[_0xc28722(0x28e)]():this[_0xc28722(0x419)]();}),this[_0x490511(0x370)][_0x490511(0x2ec)]['pipe'](d[_0x490511(0x39c)](this[_0x490511(0x27a)]))[_0x490511(0x31c)](_0x546b9e=>{const _0x532dc6=_0x490511,_0x210a58=_0x546b9e[_0x532dc6(0x336)];_0x210a58===m[_0x532dc6(0x399)][_0x532dc6(0x2dc)]&&this[_0x532dc6(0x386)](_0x546b9e),_0x210a58===m['CollaborationEvent'][_0x532dc6(0x2ab)]&&this[_0x532dc6(0x321)](_0x546b9e);}),this[_0x490511(0x28c)](this[_0x490511(0x3f2)][_0x490511(0x22e)](_0x2f53ac=>{const _0x258a6f=_0x490511,_0x54183a=_0x2f53ac[_0x258a6f(0x1fc)];_0x54183a!=null&&this[_0x258a6f(0x205)]&&_0x2f53ac['id']===Y[_0x258a6f(0x414)]['id']&&_0x54183a[_0x258a6f(0x30b)]===this['unitID']&&_0x54183a['isEditing']===!0x1&&_0x54183a['ranges'][_0x258a6f(0x21e)]>0x0&&this[_0x258a6f(0x29a)](_0x54183a[_0x258a6f(0x319)]);})),this[_0x490511(0x3da)][_0x490511(0x20f)][_0x490511(0x2b7)](d[_0x490511(0x39c)](this[_0x490511(0x27a)]))[_0x490511(0x31c)](_0xe1c29=>{const _0xdb5086=_0x490511;if((_0xe1c29==null?void 0x0:_0xe1c29[_0xdb5086(0x2a8)])!==this[_0xdb5086(0x2a8)])return;const _0x3732f3={'eventID':m['CollaborationEvent'][_0xdb5086(0x2dc)],'data':_0xe1c29};this[_0xdb5086(0x386)](_0x3732f3);}),this[_0x490511(0x28c)](this[_0x490511(0x3f2)][_0x490511(0x22e)](_0x2fe6a4=>{const _0xab33cf=_0x490511;if(_0x2fe6a4[_0xab33cf(0x1fc)]==null)return;const _0x23d81d=_0x2fe6a4[_0xab33cf(0x1fc)];if(_0x2fe6a4['id']!==Y[_0xab33cf(0x32d)]['id']||_0x23d81d['unitId']!==this['unitID'])return;const _0x3ac70b={'id':_0xab33cf(0x1d0),'params':_0x23d81d},_0x1de58b=this[_0xab33cf(0x2a3)];for(const [_0x56c91f,_0x1e8051]of _0x1de58b){const _0x5b429e={'id':_0xab33cf(0x1d0),'params':{'unitId':this[_0xab33cf(0x2a8)],'actions':null,'textRanges':_0x1e8051[_0xab33cf(0x319)]}},_0x34525e=this['_transformService'][_0xab33cf(0x2b0)](_0x3ac70b,_0x5b429e,!0x1);if(m['isTransformMutationFailure'](_0x34525e))throw _0x34525e['error'];_0x1de58b[_0xab33cf(0x36f)](_0x56c91f,{..._0x1e8051,'ranges':_0x34525e['m2Prime'][_0xab33cf(0x1fc)]['textRanges']});}queueMicrotask(()=>{const _0x67caf1=_0xab33cf;this['_cursorInfo$'][_0x67caf1(0x33e)](_0x1de58b);});})));}[_0xbb36ef(0x386)](_0x3de84a){const _0x168a00=_0xbb36ef;var _0xe8cd5d,_0x50b492;const {memberID:_0x3a7810,selection:_0x183e8a}=_0x3de84a[_0x168a00(0x3d2)],_0x99aaba=lt(_0x183e8a),_0x4d3349=(_0x50b492=(_0xe8cd5d=this[_0x168a00(0x34e)]['getMember'](this['unitID'],_0x3a7810))==null?void 0x0:_0xe8cd5d[_0x168a00(0x381)])!=null?_0x50b492:'Unknown\x20user',_0x267605={'color':this[_0x168a00(0x30d)]['assignAColorForMemberID'](_0x3a7810),'name':_0x4d3349,'ranges':_0x99aaba},_0x463c46=this['cursorInfo'];_0x463c46[_0x168a00(0x36f)](_0x3a7810,_0x267605),this[_0x168a00(0x397)]['next'](_0x463c46);}[_0xbb36ef(0x321)](_0x1d0fb2){const _0x5477e1=_0xbb36ef,{memberID:_0x406f34}=_0x1d0fb2['data'],_0x210cd2=this[_0x5477e1(0x2a3)];_0x210cd2['delete'](_0x406f34),this[_0x5477e1(0x397)][_0x5477e1(0x33e)](_0x210cd2);}[_0xbb36ef(0x28e)](){const _0x1a024e=_0xbb36ef;var _0x1262a3;if(this[_0x1a024e(0x205)]=!0x0,((_0x1262a3=this[_0x1a024e(0x25d)][_0x1a024e(0x36a)]())==null?void 0x0:_0x1262a3[_0x1a024e(0x3d8)]())!==this[_0x1a024e(0x2a8)])return;const _0x2030d1=this[_0x1a024e(0x267)][_0x1a024e(0x35f)](Y[_0x1a024e(0x221)])[_0x1a024e(0x305)]();Array['isArray'](_0x2030d1)&&_0x2030d1['length']>0x0&&this[_0x1a024e(0x29a)](_0x2030d1);}[_0xbb36ef(0x419)](){const _0x66ab27=_0xbb36ef;this[_0x66ab27(0x205)]=!0x1;}};de=ht([L(0x2,a['Inject'](a[_0xbb36ef(0x378)])),L(0x3,a[_0xbb36ef(0x3b8)](Ce)),L(0x4,a['Inject'](u[_0xbb36ef(0x1f9)])),L(0x5,a[_0xbb36ef(0x3b8)](pe)),L(0x6,m[_0xbb36ef(0x229)]),L(0x7,a[_0xbb36ef(0x21f)]),L(0x8,a[_0xbb36ef(0x299)])],de);var St=Object['getOwnPropertyDescriptor'],ft=(_0x438190,_0x3e9798,_0x4cff19,_0x8d8300)=>{const _0x961899=_0xbb36ef;for(var _0x2ccf0a=_0x8d8300>0x1?void 0x0:_0x8d8300?St(_0x3e9798,_0x4cff19):_0x3e9798,_0x40a508=_0x438190[_0x961899(0x21e)]-0x1,_0x16d3e3;_0x40a508>=0x0;_0x40a508--)(_0x16d3e3=_0x438190[_0x40a508])&&(_0x2ccf0a=_0x16d3e3(_0x2ccf0a)||_0x2ccf0a);return _0x2ccf0a;},A=(_0x59f85c,_0x485362)=>(_0x2a0dc6,_0xd1bd43)=>_0x485362(_0x2a0dc6,_0xd1bd43,_0x59f85c);const It=0x12c,vt=0x64,gt=()=>{let _0xb96cc5=[],_0x20b4a4=!0x1;return _0x2a58f4=>{const _0x5b1700=_0x487e;_0xb96cc5[_0x5b1700(0x206)](_0x2a58f4),_0x20b4a4||(_0x20b4a4=!0x0,setTimeout(()=>{const _0x2cff10=_0x5b1700;_0xb96cc5[_0x2cff10(0x3bd)](_0x2ff962=>_0x2ff962()),_0xb96cc5=[],_0x20b4a4=!0x1;}));};};let Se=class extends a[_0xbb36ef(0x315)]{constructor(_0x23e89f,_0x32d137,_0x4ebd8f,_0x192c27,_0x8280d2,_0x587c51,_0x3b401d,_0x3d6915){const _0x431e97=_0xbb36ef;super(),h(this,_0x431e97(0x205),!0x1),h(this,_0x431e97(0x307),!0x1),h(this,_0x431e97(0x397),new d[(_0x431e97(0x2ad))](new Map())),h(this,'cursorInfo$',this[_0x431e97(0x397)][_0x431e97(0x3a9)]()),h(this,'_roomMembers$',new d['BehaviorSubject']([])),h(this,'roomMembers$',this['_roomMembers$'][_0x431e97(0x2b7)](d[_0x431e97(0x243)](It))),h(this,_0x431e97(0x29a),a[_0x431e97(0x240)]((_0x2faa04,_0x27ce2c)=>{const _0x45fe7c=_0x431e97,_0x5be4d7={'eventID':m[_0x45fe7c(0x399)][_0x45fe7c(0x2dc)],'data':{'unitID':this[_0x45fe7c(0x2a8)],'memberID':this[_0x45fe7c(0x370)][_0x45fe7c(0x2a9)](),'selection':Ee['serializeRangeWithSheet'](_0x2faa04,_0x27ce2c[_0x45fe7c(0x3a2)])}};this[_0x45fe7c(0x370)][_0x45fe7c(0x36d)](_0x5be4d7,this[_0x45fe7c(0x2a8)]);},vt)),(this[_0x431e97(0x2a8)]=_0x23e89f,this[_0x431e97(0x370)]=_0x32d137,this['_injector']=_0x4ebd8f,this[_0x431e97(0x30d)]=_0x192c27,this[_0x431e97(0x34e)]=_0x8280d2,this[_0x431e97(0x25d)]=_0x587c51,this[_0x431e97(0x3f2)]=_0x3b401d,this[_0x431e97(0x22a)]=_0x3d6915);}get['cursorInfo'](){const _0x6586e5=_0xbb36ef;return this[_0x6586e5(0x397)][_0x6586e5(0x3bc)]();}get[_0xbb36ef(0x298)](){const _0x472e42=_0xbb36ef;return this['_roomMembers$'][_0x472e42(0x3bc)]();}['dispose'](){const _0x1aac13=_0xbb36ef;super[_0x1aac13(0x3ef)](),this[_0x1aac13(0x397)][_0x1aac13(0x33e)](new Map()),this[_0x1aac13(0x397)][_0x1aac13(0x292)](),this[_0x1aac13(0x38a)]['next']([]),this['_roomMembers$'][_0x1aac13(0x292)]();}[_0xbb36ef(0x338)](){const _0x3b1f42=_0xbb36ef;this[_0x3b1f42(0x307)]||(this[_0x3b1f42(0x307)]=!0x0,this[_0x3b1f42(0x370)]['sessionStatus$'][_0x3b1f42(0x2b7)](d[_0x3b1f42(0x39c)](this[_0x3b1f42(0x27a)]))[_0x3b1f42(0x31c)](_0x5b8f1a=>{const _0x4a1b88=_0x3b1f42;_0x5b8f1a===u[_0x4a1b88(0x2b1)]['ONLINE']?this['_toggleOnline']():this[_0x4a1b88(0x419)]();}),this[_0x3b1f42(0x370)][_0x3b1f42(0x2ec)][_0x3b1f42(0x2b7)](d[_0x3b1f42(0x39c)](this[_0x3b1f42(0x27a)]))[_0x3b1f42(0x31c)](_0x3faf78=>{const _0x5d6ef3=_0x3b1f42,_0x2fa0be=_0x3faf78['eventID'];_0x2fa0be===m[_0x5d6ef3(0x399)][_0x5d6ef3(0x2dc)]&&this[_0x5d6ef3(0x386)](_0x3faf78),_0x2fa0be===m[_0x5d6ef3(0x399)][_0x5d6ef3(0x2ab)]&&this[_0x5d6ef3(0x321)](_0x3faf78);}),this[_0x3b1f42(0x2f7)](),this['disposeWithMe'](this[_0x3b1f42(0x3f2)][_0x3b1f42(0x22e)](_0x4c6520=>{const _0x3fd289=_0x3b1f42;if(this[_0x3fd289(0x205)]&&_0x4c6520['id']===g[_0x3fd289(0x23f)]['id']&&_0x4c6520['params'][_0x3fd289(0x30b)]===this[_0x3fd289(0x2a8)]){const _0x310aac=_0x4c6520[_0x3fd289(0x1fc)];this[_0x3fd289(0x29a)](_0x310aac[_0x3fd289(0x2f5)],_0x310aac['selections'][0x0]);}})));}[_0xbb36ef(0x386)](_0x2907d7){const _0x56b57b=_0xbb36ef;var _0x50b9bf,_0x33c926;const {memberID:_0x4048e7,selection:_0x12dc51}=_0x2907d7[_0x56b57b(0x3d2)],{sheetName:_0x15bd69,range:_0xd4ce08}=Ee[_0x56b57b(0x22c)](_0x12dc51),_0x212d36={'name':(_0x33c926=(_0x50b9bf=this['_memberService'][_0x56b57b(0x2c0)](this[_0x56b57b(0x2a8)],_0x4048e7))==null?void 0x0:_0x50b9bf['name'])!=null?_0x33c926:_0x56b57b(0x424),'range':this[_0x56b57b(0x25c)](_0x15bd69,_0xd4ce08),'sheetID':_0x15bd69,'color':this[_0x56b57b(0x30d)][_0x56b57b(0x24a)](_0x4048e7),'selection':_0x12dc51},_0x1e604f=this['cursorInfo'];_0x1e604f[_0x56b57b(0x36f)](_0x4048e7,_0x212d36),this[_0x56b57b(0x397)][_0x56b57b(0x33e)](_0x1e604f);}[_0xbb36ef(0x321)](_0x2fe33b){const _0x12788a=_0xbb36ef,{memberID:_0x4e6950}=_0x2fe33b[_0x12788a(0x3d2)],_0x35027e=this[_0x12788a(0x2a3)];_0x35027e[_0x12788a(0x1ed)](_0x4e6950),this[_0x12788a(0x397)][_0x12788a(0x33e)](_0x35027e);}[_0xbb36ef(0x25c)](_0x3c8644,_0xab38a4){const _0xa2eda3=_0xbb36ef;var _0x5470ed,_0x305c98;const _0x2ff98c=(_0x305c98=(_0x5470ed=this[_0xa2eda3(0x25d)][_0xa2eda3(0x2cc)](this[_0xa2eda3(0x2a8)]))==null?void 0x0:_0x5470ed[_0xa2eda3(0x216)](_0x3c8644))==null?void 0x0:_0x305c98['getMergeData']();return(_0x2ff98c==null?void 0x0:_0x2ff98c['find'](_0x3a850e=>a[_0xa2eda3(0x40c)]['contains'](_0x3a850e,_0xab38a4)))||_0xab38a4;}['_onRefRangeChange'](){const _0x466dfd=_0xbb36ef,_0x2bd5ce=new a[(_0x466dfd(0x3b3))](),_0x4a5308=gt(),_0x4134f4=()=>{const _0x20d5bb=_0x466dfd;_0x2bd5ce[_0x20d5bb(0x3ef)]();const _0x1695a7=(_0x38452e,_0x37f9f5,_0x41e10a,_0x470f0d)=>{const _0x3f26d0=_0x20d5bb;let _0x6d9fb6=[];switch(_0x38452e['id']){case g[_0x3f26d0(0x41d)]['DeleteRangeMoveLeftCommandId']:{_0x6d9fb6=g[_0x3f26d0(0x31d)](_0x38452e,_0x470f0d);break;}case g['EffectRefRangId'][_0x3f26d0(0x41c)]:{_0x6d9fb6=g[_0x3f26d0(0x2cb)](_0x38452e,_0x470f0d);break;}case g['EffectRefRangId'][_0x3f26d0(0x24d)]:{_0x6d9fb6=g['handleInsertCol'](_0x38452e,_0x470f0d);break;}case g[_0x3f26d0(0x41d)][_0x3f26d0(0x3b1)]:{_0x6d9fb6=g[_0x3f26d0(0x327)](_0x38452e,_0x470f0d);break;}case g['EffectRefRangId'][_0x3f26d0(0x33c)]:{_0x6d9fb6=g[_0x3f26d0(0x233)](_0x38452e,_0x470f0d);break;}case g[_0x3f26d0(0x41d)][_0x3f26d0(0x1e1)]:{_0x6d9fb6=g[_0x3f26d0(0x24c)](_0x38452e,_0x470f0d);break;}case g['EffectRefRangId'][_0x3f26d0(0x3ea)]:{_0x6d9fb6=g['handleMoveRange'](_0x38452e,_0x470f0d);break;}case g[_0x3f26d0(0x41d)][_0x3f26d0(0x269)]:{_0x6d9fb6=g[_0x3f26d0(0x1c3)](_0x38452e,_0x470f0d);break;}case g[_0x3f26d0(0x41d)]['RemoveRowCommandId']:{_0x6d9fb6=g['handleIRemoveRow'](_0x38452e,_0x470f0d);break;}}const _0x12db9d=g[_0x3f26d0(0x42f)](_0x6d9fb6,_0x470f0d),_0x4a7794=this['cursorInfo'][_0x3f26d0(0x35f)](_0x37f9f5);if(_0x4a7794&&_0x12db9d){const _0x5e66a2={..._0x4a7794,'range':_0x12db9d};this[_0x3f26d0(0x2a3)]['set'](_0x37f9f5,_0x5e66a2),_0x4a5308(()=>{const _0x25b93c=_0x3f26d0,_0x4c38af=this[_0x25b93c(0x22a)][_0x25b93c(0x2eb)](_0x12db9d,_0x430e1d=>(_0x4c38af[_0x25b93c(0x3ef)](),_0x1695a7(_0x430e1d,_0x37f9f5,_0x41e10a,_0x12db9d)));_0x2bd5ce[_0x25b93c(0x3fe)](_0x4c38af);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x40bc7d,_0xdc16d6)=>{const _0xa5cc33=_0x20d5bb,{range:_0x26b649,sheetID:_0x2ea797}=_0x40bc7d,_0x15e3ed=this['_refRangeService']['registerRefRange'](_0x26b649,_0x415f12=>(_0x15e3ed[_0xa5cc33(0x3ef)](),_0x1695a7(_0x415f12,_0xdc16d6,_0x2ea797,_0x26b649)));_0x2bd5ce[_0xa5cc33(0x3fe)](_0x15e3ed);});};this[_0x466dfd(0x28c)](a['toDisposable'](this[_0x466dfd(0x397)][_0x466dfd(0x31c)](()=>{_0x4134f4();})));}['_toggleOnline'](){const _0x5c2dc1=_0xbb36ef;var _0x32f7b0,_0x30f834;if(this[_0x5c2dc1(0x205)]=!0x0,((_0x32f7b0=this[_0x5c2dc1(0x25d)][_0x5c2dc1(0x36a)]())==null?void 0x0:_0x32f7b0['getUnitId']())!==this[_0x5c2dc1(0x2a8)])return;const _0x365a58=(_0x30f834=this[_0x5c2dc1(0x267)][_0x5c2dc1(0x35f)](g[_0x5c2dc1(0x3a3)])[_0x5c2dc1(0x235)]())==null?void 0x0:_0x30f834[0x0],_0x40fccc=this[_0x5c2dc1(0x25d)][_0x5c2dc1(0x2d7)](a[_0x5c2dc1(0x35d)][_0x5c2dc1(0x244)])[_0x5c2dc1(0x25a)]();_0x365a58&&_0x40fccc&&this['_updateLocalCursor'](_0x40fccc['getSheetId'](),_0x365a58);}['_toggleOffline'](){const _0x57a14c=_0xbb36ef;this[_0x57a14c(0x205)]=!0x1;}};Se=ft([A(0x2,a[_0xbb36ef(0x3b8)](a[_0xbb36ef(0x378)])),A(0x3,a['Inject'](Ce)),A(0x4,a[_0xbb36ef(0x3b8)](u[_0xbb36ef(0x1f9)])),A(0x5,a['IUniverInstanceService']),A(0x6,a[_0xbb36ef(0x299)]),A(0x7,a['Inject'](g['RefRangeService']))],Se);var mt=Object[_0xbb36ef(0x1cf)],Ct=(_0xc69cd8,_0x4a61f6,_0x5afcea,_0x3418c)=>{for(var _0x2dbad5=_0x3418c>0x1?void 0x0:_0x3418c?mt(_0x4a61f6,_0x5afcea):_0x4a61f6,_0xd3c003=_0xc69cd8['length']-0x1,_0x206298;_0xd3c003>=0x0;_0xd3c003--)(_0x206298=_0xc69cd8[_0xd3c003])&&(_0x2dbad5=_0x206298(_0x2dbad5)||_0x2dbad5);return _0x2dbad5;},ie=(_0x2dd7e5,_0x1c4f42)=>(_0x5dbf09,_0xb7960d)=>_0x1c4f42(_0x5dbf09,_0xb7960d,_0x2dd7e5);let x=class extends a[_0xbb36ef(0x315)]{constructor(_0x71f36f,_0x4078a0,_0x5266c4){const _0x510bbc=_0xbb36ef;super(),h(this,_0x510bbc(0x24b),new Map()),h(this,_0x510bbc(0x1c2),new d[(_0x510bbc(0x1be))]()),(this[_0x510bbc(0x25d)]=_0x71f36f,this['_injector']=_0x4078a0,this[_0x510bbc(0x3d3)]=_0x5266c4,this[_0x510bbc(0x307)]());}[_0xbb36ef(0x3ef)](){const _0x59924c=_0xbb36ef;super[_0x59924c(0x3ef)](),this['_entityInit$'][_0x59924c(0x292)](),this[_0x59924c(0x24b)][_0x59924c(0x3bd)](_0x28ad39=>_0x28ad39[_0x59924c(0x3ef)]());}[_0xbb36ef(0x1d6)](_0x449fa3){const _0x4a6082=_0xbb36ef;return this[_0x4a6082(0x24b)][_0x4a6082(0x1fa)](_0x449fa3)?this[_0x4a6082(0x24b)][_0x4a6082(0x35f)](_0x449fa3)[_0x4a6082(0x1e9)]:this['_entityInit$'][_0x4a6082(0x2b7)](d[_0x4a6082(0x340)](_0x304af5=>_0x304af5[_0x4a6082(0x2a8)]===_0x449fa3),d['switchMap'](_0x1a2e35=>_0x1a2e35[_0x4a6082(0x1e9)]));}[_0xbb36ef(0x307)](){const _0xa31153=_0xbb36ef;this[_0xa31153(0x25d)]['getTypeOfUnitAdded$'](a[_0xa31153(0x35d)][_0xa31153(0x244)])[_0xa31153(0x2b7)](d[_0xa31153(0x39c)](this[_0xa31153(0x27a)]))[_0xa31153(0x31c)](async _0x27ece3=>{const _0x32b9db=_0xa31153,_0x33fd8c=_0x27ece3['getUnitId'](),_0x3a6be4=await this['_startSheetCollabCursor'](_0x33fd8c);this[_0x32b9db(0x1c2)][_0x32b9db(0x33e)](_0x3a6be4),this[_0x32b9db(0x24b)][_0x32b9db(0x36f)](_0x33fd8c,_0x3a6be4);}),this['_univerInstanceService'][_0xa31153(0x231)](a['UniverInstanceType'][_0xa31153(0x402)])[_0xa31153(0x2b7)](d[_0xa31153(0x39c)](this[_0xa31153(0x27a)]))['pipe'](d[_0xa31153(0x340)](_0x5dd79c=>!_0x5dd79c['getUnitId']()['startsWith']('__')))[_0xa31153(0x31c)](async _0x8e3ad8=>{const _0x305d02=_0xa31153,_0x332a97=_0x8e3ad8[_0x305d02(0x3d8)](),_0x57fb7c=await this[_0x305d02(0x318)](_0x332a97);this[_0x305d02(0x1c2)][_0x305d02(0x33e)](_0x57fb7c),this[_0x305d02(0x24b)][_0x305d02(0x36f)](_0x332a97,_0x57fb7c);}),d[_0xa31153(0x207)](this['_univerInstanceService'][_0xa31153(0x27e)](a[_0xa31153(0x35d)][_0xa31153(0x402)]),this[_0xa31153(0x25d)][_0xa31153(0x27e)](a[_0xa31153(0x35d)]['UNIVER_SHEET']))['pipe'](d[_0xa31153(0x39c)](this['dispose$']))[_0xa31153(0x31c)](_0x5dafbb=>{const _0x1b776d=_0xa31153,_0x37abd1=_0x5dafbb[_0x1b776d(0x3d8)](),_0x30fa83=this[_0x1b776d(0x24b)]['get'](_0x37abd1);_0x30fa83&&(_0x30fa83['dispose'](),this[_0x1b776d(0x24b)]['delete'](_0x37abd1));});}async[_0xbb36ef(0x257)](_0x50b9e8){const _0x438a07=_0xbb36ef,_0x2c935b=await this['_collabSessionService'][_0x438a07(0x30a)](_0x50b9e8),_0x27f9f0=this[_0x438a07(0x267)][_0x438a07(0x3d1)](Se,_0x50b9e8,_0x2c935b);return _0x27f9f0['init'](),_0x27f9f0;}async[_0xbb36ef(0x318)](_0x4d6ed8){const _0x54dd8d=_0xbb36ef,_0x5d18e4=await this[_0x54dd8d(0x3d3)][_0x54dd8d(0x30a)](_0x4d6ed8),_0x4976cf=this[_0x54dd8d(0x267)][_0x54dd8d(0x3d1)](de,_0x4d6ed8,_0x5d18e4);return _0x4976cf[_0x54dd8d(0x338)](),_0x4976cf;}};x=Ct([ie(0x0,a[_0xbb36ef(0x21f)]),ie(0x1,a[_0xbb36ef(0x3b8)](a[_0xbb36ef(0x378)])),ie(0x2,a[_0xbb36ef(0x3b8)](u[_0xbb36ef(0x263)]))],x);const W=0x14,Te=0xc8,ne=0x4,pt=0x5;function Et(_0x5c6a28,_0x18f827){const _0x92eb7=_0xbb36ef;let {radius:_0x4639d5,width:_0x5976db,height:_0x5087c1}=_0x18f827;_0x4639d5=_0x4639d5!=null?_0x4639d5:0x0,_0x5976db=_0x5976db!=null?_0x5976db:0x1e,_0x5087c1=_0x5087c1!=null?_0x5087c1:0x1e;let _0xb0daa6=0x0,_0xebdfe9=0x0,_0x418663=0x0;_0xb0daa6=_0xebdfe9=_0x418663=Math['min'](_0x4639d5,_0x5976db/0x2,_0x5087c1/0x2),_0x5c6a28[_0x92eb7(0x39d)](),_0x5c6a28['moveTo'](_0xb0daa6,0x0),_0x5c6a28[_0x92eb7(0x2a7)](_0x5976db-_0xebdfe9,0x0),_0x5c6a28[_0x92eb7(0x1f7)](_0x5976db-_0xebdfe9,_0xebdfe9,_0xebdfe9,Math['PI']*0x3/0x2,0x0,!0x1),_0x5c6a28[_0x92eb7(0x2a7)](_0x5976db,_0x5087c1-_0x418663),_0x5c6a28['arc'](_0x5976db-_0x418663,_0x5087c1-_0x418663,_0x418663,0x0,Math['PI']/0x2,!0x1),_0x5c6a28[_0x92eb7(0x2a7)](0x0,_0x5087c1),_0x5c6a28[_0x92eb7(0x2a7)](0x0,_0xb0daa6),_0x5c6a28['arc'](_0xb0daa6,_0xb0daa6,_0xb0daa6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5c6a28[_0x92eb7(0x259)](),_0x18f827[_0x92eb7(0x420)]&&(_0x5c6a28[_0x92eb7(0x261)](),_0x5c6a28['fillStyle']=_0x18f827[_0x92eb7(0x420)],_0x18f827[_0x92eb7(0x37a)]===_0x92eb7(0x1ea)?_0x5c6a28[_0x92eb7(0x420)](_0x92eb7(0x1ea)):_0x5c6a28[_0x92eb7(0x420)](),_0x5c6a28[_0x92eb7(0x250)]());}class ee extends p['Shape']{constructor(_0x422c1c,_0x2f831a){const _0x3bfd67=_0xbb36ef;super(_0x422c1c,_0x2f831a),h(this,_0x3bfd67(0x355)),h(this,_0x3bfd67(0x324)),(this[_0x3bfd67(0x355)]=_0x2f831a==null?void 0x0:_0x2f831a[_0x3bfd67(0x355)],this[_0x3bfd67(0x324)]=_0x2f831a==null?void 0x0:_0x2f831a[_0x3bfd67(0x324)]);}static[_0xbb36ef(0x3b4)](_0x5acebc,_0x5bc58c){const _0x4b1a64=_0xbb36ef,{text:_0x5373e5,color:_0x3299e4}=_0x5bc58c;_0x5acebc['save'](),_0x5acebc[_0x4b1a64(0x2e8)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x433834=_0x5acebc['measureText'](_0x5373e5)[_0x4b1a64(0x3af)],_0x5342aa=Math['min'](_0x433834+0x2*ne,Te);Et(_0x5acebc,{'height':W,'radius':0x4,'width':_0x5342aa,'fill':_0x3299e4}),_0x5acebc['fillStyle']=_0x4b1a64(0x21d);const _0x4c4156=ne,_0x357360=W-pt,_0x19888a=Te-0x2*ne;if(_0x433834>_0x19888a){let _0x2aec9a='',_0x1f22a6=0x0;for(const _0x5a5d66 of _0x5373e5){const _0x50d320=_0x5acebc[_0x4b1a64(0x362)](_0x5a5d66)['width'];if(_0x1f22a6+_0x50d320<=_0x19888a-_0x5acebc[_0x4b1a64(0x362)](_0x4b1a64(0x3b5))[_0x4b1a64(0x3af)])_0x2aec9a+=_0x5a5d66,_0x1f22a6+=_0x50d320;else{_0x2aec9a+=_0x4b1a64(0x3b5);break;}}_0x5acebc[_0x4b1a64(0x3cb)](_0x2aec9a,_0x4c4156,_0x357360);}else _0x5acebc[_0x4b1a64(0x3cb)](_0x5373e5,_0x4c4156,_0x357360);_0x5acebc[_0x4b1a64(0x250)]();}[_0xbb36ef(0x273)](_0x4c45ef){ee['drawWith'](_0x4c45ef,this);}}const re=_0xbb36ef(0x222),bt=_0xbb36ef(0x389),Ot=_0xbb36ef(0x3c3),F=0x6,Tt=1.5,oe=0x4,Rt=1.5,Dt=_0xbb36ef(0x3ad);class Re{constructor(_0x191c15,_0x3326d3,_0x49b5f1,_0x2697bf){const _0x312bdb=_0xbb36ef;h(this,_0x312bdb(0x1bd),[]),h(this,'_anchor',null),h(this,_0x312bdb(0x3a7),null),h(this,_0x312bdb(0x218),null),h(this,_0x312bdb(0x3c9),null),h(this,_0x312bdb(0x360),null),(this[_0x312bdb(0x3f8)]=_0x191c15,this[_0x312bdb(0x1db)]=_0x3326d3,this['_docSkeleton']=_0x49b5f1,this[_0x312bdb(0x2e3)]=_0x2697bf,this[_0x312bdb(0x3bb)]());}set[_0xbb36ef(0x2b6)](_0x2ed094){const _0x43c12c=_0xbb36ef;_0x2ed094?(this[_0x43c12c(0x218)]&&this[_0x43c12c(0x218)]['hide'](),this[_0x43c12c(0x3a7)]&&this[_0x43c12c(0x3a7)]['show']()):(this[_0x43c12c(0x218)]&&this[_0x43c12c(0x218)][_0x43c12c(0x3eb)](),this[_0x43c12c(0x3a7)]&&this[_0x43c12c(0x3a7)]['hide']());}[_0xbb36ef(0x3ef)](){const _0x58c819=_0xbb36ef;for(const _0x2a508a of this[_0x58c819(0x1bd)])_0x2a508a[_0x58c819(0x3ef)]();this['_textBubble']&&this[_0x58c819(0x3a7)]['dispose'](),this[_0x58c819(0x218)]&&this['_anchorDot'][_0x58c819(0x3ef)](),this[_0x58c819(0x1ff)]&&this[_0x58c819(0x1ff)][_0x58c819(0x3ef)](),this['_eventUnsubscribe']&&this[_0x58c819(0x360)]();}['_render'](){const _0xe63a86=_0xbb36ef;var _0xd026e3;const {_docSkeleton:_0x339048,_document:_0x485405}=this,{color:_0x458d6b,name:_0x1de9fa,ranges:_0x592b55}=this['_cursor'],_0x212eac=_0x485405['getOffsetConfig'](),{docsLeft:_0x17fb05,docsTop:_0x1199f0}=_0x212eac,_0x304df8=new E[(_0xe63a86(0x272))](_0x212eac,_0x339048);for(const {startOffset:_0x3d1745,endOffset:_0x544aef,rangeType:_0xb41713,segmentId:_0x12368c,segmentPage:_0xfff218,collapsed:_0x5925da,isActive:_0x5c787a}of _0x592b55){const _0x2296f1=_0x339048['findNodePositionByCharIndex'](_0x3d1745,!0x0,_0x12368c,_0xfff218);let _0x7d42c9=_0x339048[_0xe63a86(0x3d6)](_0x544aef,!0x0,_0x12368c,_0xfff218);if(_0x7d42c9==null&&(_0x7d42c9=_0x339048['findNodePositionByCharIndex'](_0x544aef-0x1,!0x1,_0x12368c,_0xfff218)),_0x5c787a){const {contentBoxPointGroup:_0x5b8cd6}=_0x304df8['getRangePointData'](_0x7d42c9,_0x7d42c9);if(_0x5b8cd6[_0xe63a86(0x21e)]===0x0)continue;this[_0xe63a86(0x22d)](_0x458d6b,_0x5b8cd6,_0x17fb05,_0x1199f0,_0x1de9fa),this[_0xe63a86(0x360)]=this[_0xe63a86(0x230)]();}if(_0x2296f1&&_0x7d42c9){if(_0xb41713===a[_0xe63a86(0x35b)][_0xe63a86(0x212)]){const _0x3be530=new E[(_0xe63a86(0x349))](_0x212eac,_0x339048),{pointGroup:_0x4ad41a}=(_0xd026e3=_0x3be530[_0xe63a86(0x1e7)](_0x2296f1,_0x7d42c9))!=null?_0xd026e3:{};if(_0x4ad41a==null||_0x4ad41a[_0xe63a86(0x21e)]===0x0)continue;this['_drawRectRange'](_0x458d6b,_0x4ad41a,_0x17fb05,_0x1199f0);}else{if(!_0x5925da){const {borderBoxPointGroup:_0x6df4ac}=_0x304df8[_0xe63a86(0x1e7)](_0x2296f1,_0x7d42c9);if(_0x6df4ac[_0xe63a86(0x21e)]===0x0)continue;this[_0xe63a86(0x3fd)](_0x458d6b,_0x6df4ac,_0x17fb05,_0x1199f0);}}}}}['_drawAnchor'](_0x229fb4,_0x3e1a28,_0x374b56,_0x113a55,_0x2cb8e7){const _0x171baf=_0xbb36ef,_0x34137f=this[_0x171baf(0x33a)](_0x3e1a28),{left:_0x49f455,top:_0x443e0b,height:_0x57b284}=_0x34137f,_0x4e373c=this[_0x171baf(0x38b)](),_0x2f0acf=Rt/_0x4e373c,_0x307d25=new p[(_0x171baf(0x214))](re+a[_0x171baf(0x1de)](F),{'left':_0x49f455+_0x374b56-_0x2f0acf,'top':_0x443e0b+_0x113a55,'height':_0x57b284,'width':Tt,'fill':_0x229fb4||p['getColor'](a[_0x171baf(0x40b)][_0x171baf(0x32a)],0x0),'strokeWidth':_0x2f0acf,'stroke':Dt,'evented':!0x0});this['_anchor']=_0x307d25,this['_scene']['addObject'](_0x307d25,E[_0x171baf(0x265)]);const _0x158ed2=new p[(_0x171baf(0x214))](re+a[_0x171baf(0x1de)](F),{'left':_0x49f455+_0x374b56-_0x2f0acf,'top':_0x443e0b+_0x113a55-oe/0x2,'height':oe,'width':oe,'fill':_0x229fb4||p[_0x171baf(0x2e2)](a[_0x171baf(0x40b)][_0x171baf(0x32a)],0x0),'strokeWidth':0x0,'stroke':_0x229fb4||p[_0x171baf(0x2e2)](a[_0x171baf(0x40b)][_0x171baf(0x32a)],0x0),'evented':!0x1});this[_0x171baf(0x218)]=_0x158ed2,this[_0x171baf(0x1db)][_0x171baf(0x1d9)](_0x158ed2,E[_0x171baf(0x265)]);const _0x48ba2e=new ee(re+a[_0x171baf(0x1de)](F),{'left':_0x49f455+_0x374b56-_0x2f0acf,'top':_0x443e0b+_0x113a55-W,'text':_0x2cb8e7,'color':_0x229fb4});this[_0x171baf(0x3a7)]=_0x48ba2e,this[_0x171baf(0x1db)][_0x171baf(0x1d9)](_0x48ba2e,E[_0x171baf(0x265)]),this[_0x171baf(0x2b6)]=!0x1;}[_0xbb36ef(0x230)](){const _0x20df0a=_0xbb36ef,_0x5f5adc=this[_0x20df0a(0x1ff)]['onPointerEnter$'][_0x20df0a(0x27b)](()=>{const _0x37c593=_0x20df0a;this[_0x37c593(0x2b6)]=!0x0;}),_0x365183=this[_0x20df0a(0x1ff)][_0x20df0a(0x256)]['subscribeEvent'](()=>{const _0x5cdde5=_0x20df0a;this[_0x5cdde5(0x3c9)]&&clearTimeout(this[_0x5cdde5(0x3c9)]),this['_hideTimer']=setTimeout(()=>{const _0x1fdbef=_0x5cdde5;this[_0x1fdbef(0x2b6)]=!0x1;},0x7d0);});return()=>{const _0x49f497=_0x20df0a;_0x5f5adc[_0x49f497(0x1fd)](),_0x365183[_0x49f497(0x1fd)]();};}[_0xbb36ef(0x3fd)](_0x3bc1c3,_0x29cc59,_0x37a7fd,_0x2e5ac3){const _0x56a560=_0xbb36ef,_0x4b852e=new a['ColorKit'](_0x3bc1c3)[_0x56a560(0x410)](0.2)[_0x56a560(0x22f)](),_0x388e86=new p[(_0x56a560(0x1c8))](bt+a[_0x56a560(0x1de)](F),{'pointsGroup':_0x29cc59,'fill':_0x4b852e||p['getColor'](a['COLORS'][_0x56a560(0x32a)],0.2),'left':_0x37a7fd,'top':_0x2e5ac3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x56a560(0x1bd)][_0x56a560(0x206)](_0x388e86),this[_0x56a560(0x1db)][_0x56a560(0x1d9)](_0x388e86,E[_0x56a560(0x265)]);}[_0xbb36ef(0x3ba)](_0x5c5d9e,_0x4f17b6,_0x4df359,_0x3f372e){const _0x33650e=_0xbb36ef,_0x8dddca=new a[(_0x33650e(0x2ff))](_0x5c5d9e)['setAlpha'](0.2)[_0x33650e(0x22f)](),_0x1ba6e4=new p['RegularPolygon'](Ot+a['generateRandomId'](F),{'pointsGroup':_0x4f17b6,'fill':_0x8dddca||p[_0x33650e(0x2e2)](a[_0x33650e(0x40b)]['black'],0.2),'left':_0x4df359,'top':_0x3f372e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x33650e(0x1bd)][_0x33650e(0x206)](_0x1ba6e4),this[_0x33650e(0x1db)][_0x33650e(0x1d9)](_0x1ba6e4,E['TEXT_RANGE_LAYER_INDEX']);}[_0xbb36ef(0x33a)](_0xbe9122){const _0x57238a=_0xbe9122[0x0],_0x350291=_0x57238a[0x0],_0x1f41d5=_0x57238a[0x2],{x:_0x1b8a26,y:_0x14e3d5}=_0x350291,{x:_0x3d5f35,y:_0x2dedaa}=_0x1f41d5;return{'left':_0x1b8a26,'top':_0x14e3d5,'width':_0x3d5f35-_0x1b8a26,'height':_0x2dedaa-_0x14e3d5};}[_0xbb36ef(0x38b)](){const {scaleX:_0x5134d4,scaleY:_0x88876e}=this['_scene']['getAncestorScale']();return Math['max'](_0x5134d4,_0x88876e);}}var Ut=Object[_0xbb36ef(0x1cf)],Nt=(_0x7bbdf6,_0x512499,_0x3c3be3,_0x4381ae)=>{const _0x1df735=_0xbb36ef;for(var _0x569521=_0x4381ae>0x1?void 0x0:_0x4381ae?Ut(_0x512499,_0x3c3be3):_0x512499,_0x56a56e=_0x7bbdf6[_0x1df735(0x21e)]-0x1,_0x8d8fdb;_0x56a56e>=0x0;_0x56a56e--)(_0x8d8fdb=_0x7bbdf6[_0x56a56e])&&(_0x569521=_0x8d8fdb(_0x569521)||_0x569521);return _0x569521;},X=(_0x40ec6d,_0x5d228d)=>(_0x347a7d,_0x1b67c7)=>_0x5d228d(_0x347a7d,_0x1b67c7,_0x40ec6d);let fe=class extends a['RxDisposable']{constructor(_0xa6e2ec,_0x1a4c65,_0x2538e4,_0x48afd6,_0x5c8f08){const _0x51af5=_0xbb36ef;super(),h(this,_0x51af5(0x204),[]),h(this,_0x51af5(0x252),[]),(this[_0x51af5(0x38e)]=_0xa6e2ec,this['_docSkeletonManagerService']=_0x1a4c65,this[_0x51af5(0x28a)]=_0x2538e4,this[_0x51af5(0x3f2)]=_0x48afd6,this[_0x51af5(0x37f)]=_0x5c8f08,this[_0x51af5(0x307)]());}[_0xbb36ef(0x307)](){const _0x2e7fe2=_0xbb36ef,_0x3fae5b=this[_0x2e7fe2(0x38e)]['unitId'],_0x472c50=this[_0x2e7fe2(0x330)];this[_0x2e7fe2(0x28c)](d[_0x2e7fe2(0x281)]([this[_0x2e7fe2(0x28a)][_0x2e7fe2(0x1d6)](_0x3fae5b),this[_0x2e7fe2(0x37f)]['currentTheme$']])['pipe']($[_0x2e7fe2(0x331)](([_0x5c6a90,_0x3f7c96])=>({'skeleton':_0x472c50['getSkeleton'](),'cursors':[..._0x5c6a90[_0x2e7fe2(0x3e2)]()][_0x2e7fe2(0x1eb)](_0x3d214e=>({..._0x3d214e,'color':this[_0x2e7fe2(0x37f)][_0x2e7fe2(0x2a5)](_0x3d214e[_0x2e7fe2(0x355)])}))})))[_0x2e7fe2(0x31c)](_0xc5f459=>{const _0x94f878=_0x2e7fe2;if(this[_0x94f878(0x2bc)](),_0xc5f459){const {skeleton:_0xa5945e,cursors:_0x1ed54b}=_0xc5f459;this[_0x94f878(0x237)](_0xa5945e,_0x1ed54b);}})),this[_0x2e7fe2(0x2cf)](),this['_initCommandExecutedListener']();}[_0xbb36ef(0x237)](_0x52ada2,_0x463e5f){const _0x5f1a83=_0xbb36ef,{scene:_0x595a8a,mainComponent:_0xfb4c6b}=this[_0x5f1a83(0x38e)],_0x4926dd=_0x463e5f['map'](_0x4c6867=>new Re(_0x4c6867,_0x595a8a,_0x52ada2,_0xfb4c6b));this[_0x5f1a83(0x204)]=_0x4926dd,this[_0x5f1a83(0x252)]=_0x463e5f;}[_0xbb36ef(0x323)](){const _0x2bbc61=_0xbb36ef;this[_0x2bbc61(0x2bc)]();const {scene:_0x27baf9,mainComponent:_0x17faec}=this['_context'],_0x305566=this['_docSkeletonManagerService'][_0x2bbc61(0x32e)](),_0x68983f=this[_0x2bbc61(0x252)]['map'](_0x13691f=>new Re(_0x13691f,_0x27baf9,_0x305566,_0x17faec));this['_cursorShapes']=_0x68983f;}[_0xbb36ef(0x2bc)](){const _0x2e0868=_0xbb36ef;this[_0x2e0868(0x204)][_0x2e0868(0x3bd)](_0x363d0=>_0x363d0[_0x2e0868(0x3ef)]()),this[_0x2e0868(0x204)]=[];}[_0xbb36ef(0x322)](){const _0x19da4a=_0xbb36ef,_0x27b511=[E[_0x19da4a(0x317)]['id']];this[_0x19da4a(0x28c)](this[_0x19da4a(0x3f2)][_0x19da4a(0x22e)](_0x50de81=>{const _0x104ad2=_0x19da4a;_0x27b511[_0x104ad2(0x1d3)](_0x50de81['id'])&&_0x50de81[_0x104ad2(0x1fc)]['unitId']===this[_0x104ad2(0x38e)][_0x104ad2(0x30b)]&&this[_0x104ad2(0x323)]();}));}[_0xbb36ef(0x2cf)](){const _0x1c7920=_0xbb36ef;this[_0x1c7920(0x28c)](a['fromEventSubject'](this[_0x1c7920(0x38e)][_0x1c7920(0x346)][_0x1c7920(0x1e4)])[_0x1c7920(0x2b7)]($[_0x1c7920(0x340)](_0x4b5007=>_0x4b5007['type']===p[_0x1c7920(0x295)][_0x1c7920(0x296)]),$['throttleTime'](0x10))[_0x1c7920(0x31c)](()=>{const _0x3cb5c5=_0x1c7920;this[_0x3cb5c5(0x323)]();}));}};fe=Nt([X(0x1,a['Inject'](Y[_0xbb36ef(0x2bf)])),X(0x2,a[_0xbb36ef(0x3b8)](x)),X(0x3,a['ICommandService']),X(0x4,a[_0xbb36ef(0x3b8)](a['ThemeService']))],fe);function _0x52b0(){const _0x491b92=['UniverInstanceType','transformByState','get','_eventUnsubscribe','_scheduleHeartbeat','measureText','_docTransformSelectionsService','replace','wsSessionTicketUrl','YUUMI_UNABLE_LOAD_URL','toDisposable','transformMutationsWithChangeset','CHANGESET_REVISION_CONFILICT','getFocusedUnit','_name','jsx','send','IRemoteInstanceService','set','_session','ILogService','currentTheme$','yellow.400','Warning','NO_OTHER_CLIENTS_EDITING','call','_clearOtherTimers','Injector','SNAPSHOT_HAS_BEEN_REMOVED','fillRule','CollaborationSocketService','YUUMI_ALL_TABLES_IS_INVALID','unload','_unitOnClients','_themeService','off-line-icon','name','startRow','symbol','_revisionService','href','_onCursorUpdate','_range','APPLY_DUPLICATED','collab-text-range-','_roomMembers$','_getScale','FETCH_MISS','Workbook','_context','_httpService','unshift','OffLineIcon','CollaborationController','debug','registerRenderModule','defs','DesktopCollaborationStatusDisplayController','_cursorInfo$','useObservable','CollaborationEvent','SOCKET_FAILED','collabStatus.offline','takeUntil','beginPath','idSuffix','createElement','_initDependencies','CONNECTOR_DATA_TOO_LARGE','range','SheetsSelectionsService','collaboration-client-ui.config','sheetID','LICENSE_IMPORT_SIZE_EXCEEDED','_textBubble','M0\x200H16V16H0z','asObservable','YUUMI_CONNECTOR_URL_NOT_FOUND','status$','IRenderManagerService','rgba(255,\x20255,\x20255,\x200.01)','split','width','entries','InsertRangeMoveDownCommandId','INVALID_ARGUMENT','DisposableCollection','drawWith','...','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','72QDuaDZ','Inject','_updateSubUnitFromURLParams','_drawRectRange','_render','getValue','forEach','HEADER_MENU','setStateCache','getViewport','children','onPointerEnter$','collab-rect-range-','_docClipboardService','transformSelections','storage','m1Prime','CommandType','_hideTimer','OTHER_CLIENT_EDITING','fillText','collab-client.tooltip.reconnect','use','labelPosition','_scheduleClearOtherTimer','onStarting','createInstance','data','_collabSessionService','getConfig','_saveTaskMap','findNodePositionByCharIndex','MUTATION','getUnitId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_syncEditingCollabCursorService','_createSocketURL','_localeService','UniverCollaborationClientUIPlugin','isActive','UniverCollaborationClientPlugin','useRef','hovered','values','runOnServer','getSheetId','INVITE_CODE_REQUIRED','redoState','MOBILE_VERIFY_CODE_MISMATCH','stringify','override','MoveRangeCommandId','show','_disabled','mutations','sheetId','dispose','PERMISSION_DENIED','getSheetObject','_commandService','_saveCache','indexOf','className','UnitStatus','pushState','_cursor','LOGIN_FAILED','getUnitStatus$','getItem','4wLZaiu','_drawTextRange','add','366XCVBCn','PENDING','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','UNIVER_DOC','_getSheetObject','connectInjector','RevisionService','_initStatusComponent','setTimeout','setShapeProps','FromArray','unit','COLORS','Rectangle','11558921LvIRVU','addHandlerCallback','_lastPointer','setAlpha','Optional','Failed','Disposable','SetTextSelectionsOperation','TEXT','_docTransformStateCacheService','YUUMI_NO_CUBOID_FOR_QUESTION','getStateCache','_toggleOffline','some','executionId','DeleteRangeMoveUpCommandId','EffectRefRangId','0\x200\x2016\x2016','body','fill','getUnhiddenWorksheets','collabStatus.conflict','roomMembers$','Unknown\x20user','removeParam','537435VuyPrl','off-line-icon_clip0_910_343','collaboration.closeRoom','_sheetSkeletonManagerService','distinctUntilChanged','purple.300','1888544mrgXgF','defineProperty','hasOwnProperty','runRefRangeMutations','DocCollaborationEntity','1em','SetWorksheetActivateCommand','row','_shapes','Subject','collabStatus.fetchMiss','MessageType','getRelativeToViewportCoord','_entityInit$','handleIRemoveCol','memberID','attrs','icon','Error','RegularPolygon','on-line-icon','disableLocalCache','_removeClearOtherTimer','_transformService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','parse','getOwnPropertyDescriptor','doc.mutation.rich-text-editing','session.will-retry','fromEvent','includes','tag','Tools','getCollabCursors$','isTransformMutationsWithChangesetSuccess','USER_NOT_INVITED_CODE','addObject','registerDependencies','_scene','INVITE_CODE_HAS_BEEN_UES','jsxs','generateRandomId','div','jiqing.500','InsertRowCommandId','runId','apply','onTransformChange$','_handleLeaveEvent','replaceState','getRangePointData','_handleHeartbeatEvent','cursorInfo$','evenodd','flatMap','_handleJoinEvent','delete','Plugin','_scheduleSaving','string','random','YUUMI_TABLE_NOT_FOUND_IN_UNIT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','IDocClipboardService','Vector2','textRanges','arc','collabStatus.synced','MemberService','has','2ygkyRL','params','unsubscribe','COMPLETION_FINISHED','_anchor','size','ILocalStorageService','9674700ASUuxA','IMessageService','_cursorShapes','_online','push','merge','_docSyncEditingCollabCursorService','IURLService','loadOfflineData','mask','collabStatus.notCollab','HTTPService','DocIMEInputManagerService','collabCursorState$','DocStateChangeManagerService','getVpScrollXYInfoByPosToVp','RECT','YUUMI_URL_COL_OUT_OF_RANGE','Rect','SUBMIT_CHANGESET_TIMEOUT','getSheetBySheetId','INVALID_INVITE_CODE','_anchorDot','toString','addEventListener','origin','sessionStatus$','#FFF','length','IUniverInstanceService','ILocalCacheService','DocSelectionManagerService','collab-text-anchor-','displayName','_logService','APPLY_NON_SEQUENTIAL_REVISION','m2Prime','switchMap','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ITransformService','_refRangeService','round','deserializeRangeWithSheet','_drawAnchor','onCommandExecuted','toRgbString','_handleHover','getTypeOfUnitAdded$','currentColor','handleInsertRangeMoveRight','onRendered','getCurrentSelections','all','_updateCollabCursors','getParam','blue.400','_uiPartsService','red.300','_getSaveTimeout','_config','setParam','SetSelectionsOperation','debounce','collaboration.single-unit.warning','_renderManagerService','debounceTime','UNIVER_SHEET','/run/','_urlService','isTransformMutationFailure','ONLINE','_colorIndex','assignAColorForMemberID','_entities','handleInsertRow','InsertColCommandId','_configService','on-line-icon_clip0_910_349','restore','ISocketService','_cursors','newValue','http://www.w3.org/2000/svg','substring','onPointerLeave$','_startSheetCollabCursor','CollaborationUIEventId','closePath','getActiveSheet','CONFLICT','_getMergeRange','_univerInstanceService','_color','transformIMECache','_updateURLWithCurrentState','save','propertyIsEnumerable','CollaborationSessionService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','TEXT_RANGE_LAYER_INDEX','_beforeCloseService','_injector','969406dJYTgU','RemoveColCommandId','WebBrowserSingleActiveUnitService','isArray','INVITE_CODE_ALREADY_BOUND','Tooltip','TOO_MANY_REQUESTS','searchParams','mergeOverrideWithDependencies','url(#$1','NodePositionConvertToCursor','_draw','_registerDependencies','urlChange$','xlink:href','updateOfflineData','entityInit$','transform','dispose$','subscribeEvent','EMAIL_HAS_BEEN_BOUND','_dataLoaderService','getTypeOfUnitDisposed$','_notificationService','imageSourceType','combineLatest','history','editingUnit','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IConfigService','OnLineIcon','DependentOn','docStateChange$','svg','_collabCursorController','INotificationService','disposeWithMe','_labelPosition','_toggleOnline','concat','with','actions','complete','createIdentifier','_getSessionTicket','TRANSFORM_CHANGE_OBSERVABLE_TYPE','resize','useDependency','roomMembers','ICommandService','_updateLocalCursor','white','_initEntityListener','_transformUndoRedoStack','PY_RUNTIME_SCRIPT_ERROR','NOT_FOUND','_assignedColors','_collaborationUIEventService','pluginName','cursorInfo','SOCKET_FAILED_RETRY','getColorFromTheme','ALREADY_EXISTS','lineTo','unitID','getMemberID','shareReplay','USERS_LEAVE','_selfUnitIDs','BehaviorSubject','executeCommand','APPLY_REJECT','transformMutation','SessionStatus','OFFLINE','subunit','selection','trim','_hover','pipe','APPLY_PERMISSION_DENIED','getRenderById','assign','UniverIcon','_removeCollabCursors','application/json','MOBILE_HAS_BEEN_BOUND','DocSkeletonManagerService','getMember','onMouseMove','_localStorageService','NOT_COLLAB','then','deepClone','getLocalCacheKey','_cachedData','loadUnit','LICENSE_DISTRO_REJECTED','sessionTicket','handleDeleteRangeMoveUp','getUniverSheetInstance','CollaborationUIEventService','syncEditingCollabCursor','_initResize','_setupSubUnitSync','clsx','currentSkeleton$','setInterval','3657183lYyXdv','getUndoRedoMutationParamsCache','_imageIoService','getCurrentUnitForType','EMAIL_VERIFY_CODE_MISMATCH','useCallback','forwardRef','error','UPDATE_CURSOR','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exhaustSavingTask','ENSURE_SNAPSHOT_EXECUTION','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initEvent','getColor','_document','transformStateCache','replaceDocRanges','INTERNAL_ERROR','clearInterval','font','BuiltInUIPart','LICENSE_MAX_UNITS_EXCEEDED','registerRefRange','event$','_registerRenderDependencies','_unitStatus','Shape','YUUMI_RATE_OVER_LIMIT','touchDependencies','location','[CollaborationDataLoaderController]','enableLocalCache','subUnitId','YUUMI_AI_RUN_FAILED','_onRefRangeChange','from','CollaborationStatus','_status$','ticket','getCurrentRevOfUnit','top','path','ColorKit','setItem','_docStateChangeManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationController','bottom','getDocRanges','function','_init','_docTransformIMECacheService','clearTimeout','requireSession','unitId','type','_colorAssignService','CollaborationDataLoaderController','_initStatusListener','WECHAT_HAS_BEEN_BOUND','_collabCursorState$','getOwnPropertySymbols','url(#off-line-icon_clip0_910_343)','prototype','RxDisposable','_heartbeatTimer','SetDocZoomRatioOperation','_startDocCollabCursor','ranges','backgroundColor','_ensureSubject','subscribe','handleDeleteRangeMoveLeft','height','Module','invokeId','_onCursorDelete','_initCommandExecutedListener','_refreshCollabCursors','text','permission.content','collaboration-client.offline-data-not-saved','handleInsertRangeMoveDown','_instanceService','getCellPositionByOffset','black','_hovered','_id','RichTextEditingMutation','getSkeleton','defIds','_docSkeletonManagerService','map','140434nHbwrS','APPLY_REVISION_CONFILICT','YUUMI_ASYNCIO_CANCELLED','UNAUTHENTICATED','eventID','extend','init','DataLoaderService','_getAnchorBounding','UNRECOGNIZED','InsertRangeMoveRightCommandId','RemoteUniscriptService','next','saveOfflineData','filter','saveTaskMap','search','45ChWFEm','LocaleService','registerBeforeClose','engine','setActiveRange','column','NodePositionConvertToRectRange','_send','result','_transformHistoryAndStateStack','SNAPSHOT_INVALID_SNAPSHOT','_memberService','clipPath','collabStatus.syncing','ThemeService','key','_setupBeforeClosingHandler','code','color','_messageService','getCoordByCell','_localCacheService','translate(.97)','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DOC_RANGE_TYPE','_backgroundColor'];_0x52b0=function(){return _0x491b92;};return _0x52b0();}const Mt=0x1,Lt=1.5;class $e extends p[_0xbb36ef(0x2ef)]{constructor(_0x2e2f36,_0x240be3){const _0x4bf214=_0xbb36ef;super(_0x2e2f36,_0x240be3),h(this,_0x4bf214(0x25e)),h(this,_0x4bf214(0x32b),!0x1),h(this,_0x4bf214(0x387)),h(this,_0x4bf214(0x36b),''),h(this,'_labelPosition',_0x4bf214(0x2fd)),h(this,_0x4bf214(0x35c)),(_0x240be3&&this[_0x4bf214(0x408)](_0x240be3),this[_0x4bf214(0x3c2)][_0x4bf214(0x27b)](()=>this[_0x4bf214(0x408)]({'hovered':!0x0})),this[_0x4bf214(0x256)][_0x4bf214(0x27b)](()=>this[_0x4bf214(0x408)]({'hovered':!0x1})));}[_0xbb36ef(0x408)](_0x1e5b89){const _0xe6af34=_0xbb36ef;var _0x50518b,_0xbe5639,_0x4511d9,_0x195581,_0x35a8da,_0xe6c3d9;this[_0xe6af34(0x25e)]=(_0x50518b=_0x1e5b89[_0xe6af34(0x355)])!=null?_0x50518b:this[_0xe6af34(0x25e)],this['_hovered']=(_0xbe5639=_0x1e5b89[_0xe6af34(0x3e1)])!=null?_0xbe5639:this[_0xe6af34(0x32b)],this['_range']=(_0x4511d9=_0x1e5b89[_0xe6af34(0x3a2)])!=null?_0x4511d9:this[_0xe6af34(0x387)],this[_0xe6af34(0x36b)]=(_0x195581=_0x1e5b89['name'])!=null?_0x195581:this['_name'],this['_labelPosition']=(_0x35a8da=_0x1e5b89[_0xe6af34(0x3ce)])!=null?_0x35a8da:this[_0xe6af34(0x28d)],this[_0xe6af34(0x35c)]=(_0xe6c3d9=_0x1e5b89[_0xe6af34(0x31a)])!=null?_0xe6c3d9:this[_0xe6af34(0x35c)],this[_0xe6af34(0x35e)]({'width':_0x1e5b89[_0xe6af34(0x3af)],'height':_0x1e5b89[_0xe6af34(0x31e)]});}[_0xbb36ef(0x2c1)](_0x366c55){const _0xfc91fb=_0xbb36ef,{row:_0x4f130b,column:_0x25c0e5}=_0x366c55;if(_0x4f130b>=this[_0xfc91fb(0x387)][_0xfc91fb(0x382)]&&_0x4f130b<=this['_range']['endRow']&&_0x25c0e5>=this['_range']['startColumn']&&_0x25c0e5<=this['_range']['endColumn']){this[_0xfc91fb(0x408)]({'hovered':!0x0});return;}this[_0xfc91fb(0x408)]({'hovered':!0x1});}['triggerDblclick'](_0x185d53){return!0x1;}[_0xbb36ef(0x273)](_0x3eb532){const _0x28e5c1=_0xbb36ef;p['Rect'][_0x28e5c1(0x3b4)](_0x3eb532,{'width':this[_0x28e5c1(0x3af)],'height':this['height'],'strokeWidth':Lt,'stroke':this[_0x28e5c1(0x25e)],'evented':!0x1,'fill':this[_0x28e5c1(0x35c)]}),this['_hovered']&&(_0x3eb532[_0x28e5c1(0x261)](),_0x3eb532[_0x28e5c1(0x279)](0x1,0x0,0x0,0x1,this['width'],this[_0x28e5c1(0x28d)]===_0x28e5c1(0x304)?0x0:-W),ee['drawWith'](_0x3eb532,{'text':this['_name'],'color':this[_0x28e5c1(0x25e)]}),_0x3eb532[_0x28e5c1(0x250)]());}}var Pt=Object[_0xbb36ef(0x1cf)],wt=(_0x4f6219,_0x175099,_0x9651dd,_0xe49533)=>{for(var _0x3a7952=_0xe49533>0x1?void 0x0:_0xe49533?Pt(_0x175099,_0x9651dd):_0x175099,_0x13de5f=_0x4f6219['length']-0x1,_0x405f40;_0x13de5f>=0x0;_0x13de5f--)(_0x405f40=_0x4f6219[_0x13de5f])&&(_0x3a7952=_0x405f40(_0x3a7952)||_0x3a7952);return _0x3a7952;},ae=(_0x196dad,_0x4a7e4a)=>(_0x4bf506,_0x472399)=>_0x4a7e4a(_0x4bf506,_0x472399,_0x196dad);const At=0x1389;let Ie=class extends a['RxDisposable']{constructor(_0x52ff66,_0x512ed4,_0x50c5f5,_0x6164f){const _0x432673=_0xbb36ef;super(),h(this,_0x432673(0x252),new Set()),h(this,_0x432673(0x40f),null),(this[_0x432673(0x38e)]=_0x52ff66,this[_0x432673(0x429)]=_0x512ed4,this[_0x432673(0x28a)]=_0x50c5f5,this[_0x432673(0x37f)]=_0x6164f,this[_0x432673(0x307)]());}[_0xbb36ef(0x307)](){const _0x14f377=_0xbb36ef;this['_sheetSkeletonManagerService'][_0x14f377(0x2d2)][_0x14f377(0x2b7)]($[_0x14f377(0x39c)](this[_0x14f377(0x27a)]),$[_0x14f377(0x227)](_0x45c6a6=>{const _0xc1c398=_0x14f377;if(_0x45c6a6){const _0x3b45c3=_0x45c6a6[_0xc1c398(0x3ee)];return d[_0xc1c398(0x281)](this[_0xc1c398(0x28a)][_0xc1c398(0x1d6)](this[_0xc1c398(0x38e)][_0xc1c398(0x30b)]),this['_themeService'][_0xc1c398(0x372)])['pipe']($['map'](([_0x7ee386,_0x3e2dfb])=>{const _0x520cb4=_0xc1c398,_0x49ce5d=new Map();return _0x7ee386[_0x520cb4(0x3bd)]((_0x4ea96,_0x335ac2)=>{const _0x492c47=_0x520cb4;if(_0x4ea96[_0x492c47(0x3a5)]===_0x3b45c3){const _0x592e1c={..._0x4ea96};_0x592e1c[_0x492c47(0x355)]=this['_themeService']['getColorFromTheme'](_0x4ea96['color']),_0x49ce5d['set'](_0x335ac2,_0x592e1c);}}),{'skeleton':_0x45c6a6,'cursors':_0x49ce5d};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3912fe,cursors:_0x106373})=>{const _0x3a078=_0x14f377;this[_0x3a078(0x2bc)](),_0x3912fe&&this[_0x3a078(0x237)](_0x3912fe,_0x106373);}),this[_0x14f377(0x429)][_0x14f377(0x2d2)]['subscribe'](_0x13bbe4=>{const _0x484476=_0x14f377;if(_0x13bbe4==null)return;const {skeleton:_0x52861d}=_0x13bbe4,{scene:_0x30382b}=this[_0x484476(0x38e)];_0x30382b['onPointerMove$'][_0x484476(0x27b)](a['debounce'](_0x1357ab=>{const _0x285999=_0x484476;var _0x563729,_0x224762;const {offsetX:_0x1887d6,offsetY:_0x25b7a9}=_0x1357ab,{x:_0x4f6e2d,y:_0x5c5c00}=_0x30382b[_0x285999(0x1c1)](p[_0x285999(0x1f5)][_0x285999(0x409)]([_0x1887d6,_0x25b7a9])),{scaleX:_0x4d7651,scaleY:_0x13f1f1}=_0x30382b['getAncestorScale'](),_0x11c359=_0x30382b[_0x285999(0x3c0)](p['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x49b800=_0x30382b[_0x285999(0x211)](p[_0x285999(0x1f5)][_0x285999(0x409)]([_0x4f6e2d,_0x5c5c00]),_0x11c359),_0x47caba=_0x52861d[_0x285999(0x329)](_0x1887d6,_0x25b7a9,_0x4d7651,_0x13f1f1,_0x49b800);((_0x563729=this[_0x285999(0x40f)])==null?void 0x0:_0x563729[_0x285999(0x348)])===_0x47caba[_0x285999(0x348)]&&((_0x224762=this['_lastPointer'])==null?void 0x0:_0x224762[_0x285999(0x1bc)])===_0x47caba['row']||this[_0x285999(0x252)]['forEach'](_0x243a96=>{const _0x38940d=_0x285999;_0x243a96[_0x38940d(0x2c1)](_0x47caba);});},0x64));});}[_0xbb36ef(0x237)](_0x2bf4db,_0x41ba6d){const _0x2a59c9=_0xbb36ef;var _0x5e0e33;const _0x540a8f=(_0x5e0e33=this[_0x2a59c9(0x429)]['getCurrent']())==null?void 0x0:_0x5e0e33['skeleton'];if(!_0x540a8f)return;const _0xfe5f28=this[_0x2a59c9(0x403)]();if(!_0xfe5f28)return;this[_0x2a59c9(0x252)]['forEach'](_0x5655a8=>{_0x5655a8['makeDirty']();});const {scene:_0x3fabf5}=_0xfe5f28,_0x3728d8=yt(Array[_0x2a59c9(0x2f8)](_0x41ba6d[_0x2a59c9(0x3e2)]()))[_0x2a59c9(0x331)](_0x418bc8=>{const _0x56aa7a=_0x2a59c9,{color:_0x1dac98,range:_0x22a282,name:_0x2901b2,selection:_0x478e67,sheetID:_0x35c26d}=_0x418bc8,{startColumn:_0x34d22e,startRow:_0x384c9e,endColumn:_0x58a0ab,endRow:_0xf20330}=_0x22a282,_0x4016bf=G[_0x56aa7a(0x357)](_0x384c9e,_0x34d22e,_0x3fabf5,_0x540a8f),_0x185d4a=G['getCoordByCell'](_0xf20330,_0x58a0ab,_0x3fabf5,_0x540a8f),{columnHeaderHeightAndMarginTop:_0xb4d4ce}=_0x540a8f,{startX:_0x3c3a0b,startY:_0x5dd9c2}=_0x4016bf,{endX:_0x3d3e25,endY:_0x5ca87b}=_0x185d4a,_0x4593e7=_0x3d3e25-_0x3c3a0b,_0x5c8bf2=_0x5ca87b-_0x5dd9c2,_0x546b47={'labelPosition':_0x5dd9c2-_0xb4d4ce>=W?_0x56aa7a(0x2fd):'bottom','sheetID':_0x35c26d,'range':_0x22a282,'color':_0x1dac98,'name':_0x2901b2,'selection':_0x478e67,'left':_0x3c3a0b,'top':_0x5dd9c2,'width':_0x4593e7,'height':_0x5c8bf2,'evented':!0x1,'zIndex':At};return new $e(_0x2901b2,_0x546b47);});_0x3fabf5['addObjects'](_0x3728d8,Mt),this[_0x2a59c9(0x252)]=new Set(_0x3728d8);}[_0xbb36ef(0x2bc)](){const _0xb88bbe=_0xbb36ef;var _0x25b82d;(_0x25b82d=this[_0xb88bbe(0x252)])==null||_0x25b82d[_0xb88bbe(0x3bd)](_0x1f7b15=>_0x1f7b15[_0xb88bbe(0x3ef)]());}['_getSheetObject'](){const _0x48d911=_0xbb36ef;return G[_0x48d911(0x3f1)](this[_0x48d911(0x38e)][_0x48d911(0x40a)],this[_0x48d911(0x38e)]);}};Ie=wt([ae(0x1,a['Inject'](G['SheetSkeletonManagerService'])),ae(0x2,a[_0xbb36ef(0x3b8)](x)),ae(0x3,a['Inject'](a[_0xbb36ef(0x351)]))],Ie);function yt(_0x3b58fd){const _0x4249ea=_0xbb36ef,_0xb8f9e=new Map();return _0x3b58fd['forEach'](_0x2a8608=>{const _0x27edd4=_0x487e;if(_0xb8f9e[_0x27edd4(0x1fa)](_0x2a8608[_0x27edd4(0x2b4)])){const _0x3de64b=_0xb8f9e[_0x27edd4(0x35f)](_0x2a8608[_0x27edd4(0x2b4)]);_0x3de64b[_0x27edd4(0x381)]+=',\x20'+_0x2a8608[_0x27edd4(0x381)];}else _0xb8f9e[_0x27edd4(0x36f)](_0x2a8608[_0x27edd4(0x2b4)],_0x2a8608);}),Array[_0x4249ea(0x2f8)](_0xb8f9e[_0x4249ea(0x3e2)]());}var $t=Object[_0xbb36ef(0x1cf)],xt=(_0x498bec,_0xd6940,_0x11a52a,_0x176666)=>{for(var _0x3acff8=_0x176666>0x1?void 0x0:_0x176666?$t(_0xd6940,_0x11a52a):_0xd6940,_0x56642c=_0x498bec['length']-0x1,_0x161c2e;_0x56642c>=0x0;_0x56642c--)(_0x161c2e=_0x498bec[_0x56642c])&&(_0x3acff8=_0x161c2e(_0x3acff8)||_0x3acff8);return _0x3acff8;},y=(_0x45211f,_0x51a8a7)=>(_0x89e5c,_0x2c6e3f)=>_0x51a8a7(_0x89e5c,_0x2c6e3f,_0x45211f);let q=class extends a[_0xbb36ef(0x413)]{constructor(_0x428a0f,_0x497f0b,_0x2b6776,_0x1bfe13,_0x2bad78,_0x2d4e88){const _0x2e6e5b=_0xbb36ef;super(),this[_0x2e6e5b(0x266)]=_0x428a0f,this[_0x2e6e5b(0x358)]=_0x497f0b,this[_0x2e6e5b(0x2a1)]=_0x2b6776,this[_0x2e6e5b(0x356)]=_0x1bfe13,this[_0x2e6e5b(0x27f)]=_0x2bad78,this[_0x2e6e5b(0x3dc)]=_0x2d4e88,this['_setupBeforeClosingHandler'](),this[_0x2e6e5b(0x2e1)]();}[_0xbb36ef(0x353)](){const _0x34630c=_0xbb36ef;this[_0x34630c(0x28c)](this[_0x34630c(0x266)][_0x34630c(0x345)](()=>{const _0x4fbd40=_0x34630c;if(this[_0x4fbd40(0x358)][_0x4fbd40(0x341)]['size'])return this[_0x4fbd40(0x3dc)]['t'](_0x4fbd40(0x326));}));}[_0xbb36ef(0x2e1)](){const _0x426148=_0xbb36ef;this['disposeWithMe'](this[_0x426148(0x2a1)][_0x426148(0x2ec)][_0x426148(0x31c)](_0x16272e=>{const _0x1155c8=_0x426148;_0x16272e['id']===u[_0x1155c8(0x258)][_0x1155c8(0x3ca)]&&this[_0x1155c8(0x356)][_0x1155c8(0x3eb)]({'type':D[_0x1155c8(0x1c0)][_0x1155c8(0x374)],'content':this[_0x1155c8(0x3dc)]['t'](_0x1155c8(0x241))}),_0x16272e['id']===u['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x1155c8(0x356)]['show']({'type':D['MessageType'][_0x1155c8(0x374)],'content':this[_0x1155c8(0x3dc)]['t']('collaboration.closeRoom')}),_0x16272e['id']===u[_0x1155c8(0x258)][_0x1155c8(0x3f0)]&&this[_0x1155c8(0x27f)][_0x1155c8(0x3eb)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x1155c8(0x3dc)]['t'](_0x1155c8(0x325)),'type':'error','duration':0x0}),_0x16272e['id']===u[_0x1155c8(0x258)][_0x1155c8(0x25b)]&&this['_messageService']['show']({'type':D[_0x1155c8(0x1c0)][_0x1155c8(0x1c7)],'content':this['_localeService']['t'](_0x1155c8(0x428))+'('+_0x16272e[_0x1155c8(0x3d2)]+')'}),_0x16272e['id']===u[_0x1155c8(0x258)]['JOIN_ROOM_FAILED']&&this[_0x1155c8(0x356)][_0x1155c8(0x3eb)]({'type':D['MessageType']['Warning'],'content':this[_0x1155c8(0x3dc)]['t'](_0x16272e[_0x1155c8(0x3d2)]||'')}),_0x16272e['id']===u[_0x1155c8(0x258)][_0x1155c8(0x2a4)]&&this[_0x1155c8(0x356)]['show']({'type':D[_0x1155c8(0x1c0)]['Warning'],'content':this['_localeService']['t'](_0x1155c8(0x1d1))}),_0x16272e['id']===u[_0x1155c8(0x258)][_0x1155c8(0x39a)]&&this['_messageService'][_0x1155c8(0x3eb)]({'type':D[_0x1155c8(0x1c0)]['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x16272e['id']===u[_0x1155c8(0x258)][_0x1155c8(0x215)]&&this[_0x1155c8(0x356)][_0x1155c8(0x3eb)]({'type':D[_0x1155c8(0x1c0)][_0x1155c8(0x1c7)],'content':this[_0x1155c8(0x3dc)]['t']('session.collaboration-timeout')});}));}};q=xt([y(0x0,O['IBeforeCloseService']),y(0x1,u[_0xbb36ef(0x220)]),y(0x2,a[_0xbb36ef(0x3b8)](u[_0xbb36ef(0x2cd)])),y(0x3,O[_0xbb36ef(0x203)]),y(0x4,O[_0xbb36ef(0x28b)]),y(0x5,a['Inject'](a[_0xbb36ef(0x344)]))],q);const Bt=_0xbb36ef(0x3a4),De={};var jt=Object[_0xbb36ef(0x1cf)],kt=(_0x15f976,_0x318a09,_0x57a823,_0x5c7476)=>{for(var _0x4fa5e0=_0x5c7476>0x1?void 0x0:_0x5c7476?jt(_0x318a09,_0x57a823):_0x318a09,_0x1c9d4f=_0x15f976['length']-0x1,_0x19d3be;_0x1c9d4f>=0x0;_0x1c9d4f--)(_0x19d3be=_0x15f976[_0x1c9d4f])&&(_0x4fa5e0=_0x19d3be(_0x4fa5e0)||_0x4fa5e0);return _0x4fa5e0;},Ue=(_0x335519,_0x1e07ae)=>(_0x1c44e1,_0x590575)=>_0x1e07ae(_0x1c44e1,_0x590575,_0x335519);let z=class{constructor(_0x4015ee,_0x15df8a){const _0x7fff8f=_0xbb36ef;this[_0x7fff8f(0x1cc)]=_0x4015ee,this[_0x7fff8f(0x242)]=_0x15df8a;}['transformIMECache'](_0x4be536){const _0x14742c=_0xbb36ef;this[_0x14742c(0x29d)](_0x4be536),this['_transformPreviousActiveRange'](_0x4be536);}['transformRemoteChangeset'](_0x5ddce9){const _0x21508f=_0xbb36ef,{unitID:_0x12e29e}=_0x5ddce9,_0x2904ad=this[_0x21508f(0x242)][_0x21508f(0x2b9)](_0x12e29e)[_0x21508f(0x290)](E[_0x21508f(0x20e)]),{redoCache:_0x23c8a7}=_0x2904ad[_0x21508f(0x2d5)]();if(_0x23c8a7['length']===0x0)return _0x5ddce9;let _0x59aa08=a[_0x21508f(0x1d5)][_0x21508f(0x2c5)](_0x5ddce9[_0x21508f(0x3ed)][0x0]);for(let _0x417f9b=0x0;_0x417f9b<_0x23c8a7['length'];_0x417f9b++){const _0x30a925={'id':_0x21508f(0x1d0),'params':{..._0x23c8a7[_0x417f9b]}},_0x41e9fc=this[_0x21508f(0x1cc)][_0x21508f(0x2b0)](_0x59aa08,_0x30a925,!0x1);if(m[_0x21508f(0x247)](_0x41e9fc))throw _0x41e9fc['error'];_0x59aa08=_0x41e9fc[_0x21508f(0x3c7)];}return{...a['Tools']['deepClone'](_0x5ddce9),'mutations':[_0x59aa08]};}[_0xbb36ef(0x29d)](_0x48a885){const _0x1418d8=_0xbb36ef,{unitID:_0x30976e}=_0x48a885,_0x6bf907=this['_renderManagerService'][_0x1418d8(0x2b9)](_0x30976e)['with'](E[_0x1418d8(0x20e)]),{undoCache:_0x6255fc,redoCache:_0xa229ad}=_0x6bf907[_0x1418d8(0x2d5)]();if(_0x6255fc['length']===0x0||_0xa229ad['length']===0x0)return;const _0x34b9e3=[],_0x2f4751=[];let _0x5baa7b=a[_0x1418d8(0x1d5)][_0x1418d8(0x2c5)](_0x48a885[_0x1418d8(0x3ed)][0x0]),_0x18315c=a[_0x1418d8(0x1d5)][_0x1418d8(0x2c5)](_0x48a885['mutations'][0x0]);for(let _0x4f0162=_0x6255fc[_0x1418d8(0x21e)]-0x1;_0x4f0162>=0x0;_0x4f0162--){const _0x539d66={'id':_0x1418d8(0x1d0),'params':{..._0x6255fc[_0x4f0162]}},_0x4939a2={'id':_0x1418d8(0x1d0),'params':{..._0xa229ad[_0x4f0162]}},_0x443db7=this[_0x1418d8(0x1cc)][_0x1418d8(0x2b0)](_0x5baa7b,_0x539d66,!0x1),_0x12fb19=this['_transformService'][_0x1418d8(0x2b0)](_0x18315c,_0x4939a2,!0x1);if(m[_0x1418d8(0x247)](_0x443db7))throw _0x443db7[_0x1418d8(0x2db)];if(m[_0x1418d8(0x247)](_0x12fb19))throw _0x12fb19[_0x1418d8(0x2db)];_0x34b9e3[_0x1418d8(0x390)](_0x443db7['m2Prime'][_0x1418d8(0x1fc)]),_0x2f4751[_0x1418d8(0x390)](_0x12fb19[_0x1418d8(0x226)][_0x1418d8(0x1fc)]),_0x5baa7b=_0x443db7[_0x1418d8(0x3c7)],_0x18315c=_0x12fb19['m1Prime'];}_0x6bf907['setUndoRedoMutationParamsCache']({'undoCache':_0x34b9e3,'redoCache':_0x2f4751});}['_transformPreviousActiveRange'](_0x57f1ba){const _0x4e57d9=_0xbb36ef,{unitID:_0x2e4abc}=_0x57f1ba,_0x5a7064=this['_renderManagerService']['getRenderById'](_0x2e4abc)[_0x4e57d9(0x290)](E[_0x4e57d9(0x20e)]),_0x5c0126=_0x5a7064['getActiveRange']();if(_0x5c0126==null)return;const _0xa10e76=[{'id':_0x4e57d9(0x1d0),'params':{'unitId':_0x57f1ba['unitID'],'actions':null,'textRanges':[_0x5c0126]}}],_0xd03029=this[_0x4e57d9(0x1cc)][_0x4e57d9(0x368)](_0x57f1ba,_0xa10e76);if(!m[_0x4e57d9(0x1d7)](_0xd03029))throw _0xd03029['error'];const _0x39843a=_0xd03029[_0x4e57d9(0x226)][0x0][_0x4e57d9(0x1fc)]['textRanges'];Array[_0x4e57d9(0x26b)](_0x39843a)&&_0x39843a['length']&&_0x5a7064[_0x4e57d9(0x347)](_0x39843a[0x0]);}};z=kt([Ue(0x0,m[_0xbb36ef(0x229)]),Ue(0x1,p[_0xbb36ef(0x3ac)])],z);var Ft=Object['getOwnPropertyDescriptor'],Ht=(_0x465ce8,_0xc596b2,_0x1b5106,_0x555f4c)=>{const _0x210df3=_0xbb36ef;for(var _0x3e075a=_0x555f4c>0x1?void 0x0:_0x555f4c?Ft(_0xc596b2,_0x1b5106):_0xc596b2,_0x3a5ddd=_0x465ce8[_0x210df3(0x21e)]-0x1,_0x3fedfa;_0x3a5ddd>=0x0;_0x3a5ddd--)(_0x3fedfa=_0x465ce8[_0x3a5ddd])&&(_0x3e075a=_0x3fedfa(_0x3e075a)||_0x3e075a);return _0x3e075a;},ce=(_0x16c1fc,_0x7c853e)=>(_0xa8e4a9,_0x587353)=>_0x7c853e(_0xa8e4a9,_0x587353,_0x16c1fc);let J=class{constructor(_0x239352,_0xab5907,_0x384c45){const _0xc2c51d=_0xbb36ef;this[_0xc2c51d(0x267)]=_0x239352,this[_0xc2c51d(0x1cc)]=_0xab5907,this[_0xc2c51d(0x301)]=_0x384c45;}[_0xbb36ef(0x2e4)](_0x34bbd7){const _0x136d00=_0xbb36ef;this[_0x136d00(0x34c)](_0x34bbd7);}['transformRemoteChangeset'](_0x34df07){const _0x4fccd3=_0xbb36ef,{unitID:_0xa1b552}=_0x34df07,{collaboration:_0x4a5240}=this[_0x4fccd3(0x301)][_0x4fccd3(0x418)](_0xa1b552);if(_0x4a5240['length']===0x0)return _0x34df07;let _0x3cf0fe=a[_0x4fccd3(0x1d5)][_0x4fccd3(0x2c5)](_0x34df07[_0x4fccd3(0x3ed)][0x0]);for(let _0xe1866c=0x0;_0xe1866c<_0x4a5240[_0x4fccd3(0x21e)];_0xe1866c++){const _0x50e840={'id':_0x4fccd3(0x1d0),'params':{'unitId':_0x4a5240[_0xe1866c][_0x4fccd3(0x30b)],..._0x4a5240[_0xe1866c][_0x4fccd3(0x3e6)]}},_0xded06e=this[_0x4fccd3(0x1cc)][_0x4fccd3(0x2b0)](_0x3cf0fe,_0x50e840,!0x1);if(m[_0x4fccd3(0x247)](_0xded06e))throw _0xded06e['error'];_0x3cf0fe=_0xded06e['m1Prime'];}return{...a[_0x4fccd3(0x1d5)]['deepClone'](_0x34df07),'mutations':[_0x3cf0fe]};}[_0xbb36ef(0x34c)](_0x3fdb19){const _0x5083fe=_0xbb36ef,{unitID:_0x2f1c4d}=_0x3fdb19,{history:_0x1150ae,collaboration:_0x190da8}=this[_0x5083fe(0x301)]['getStateCache'](_0x2f1c4d);if(_0x1150ae[_0x5083fe(0x21e)]===0x0&&_0x190da8[_0x5083fe(0x21e)]===0x0)return;const _0x35016e=[],_0x1614ca=[];let _0x1aaac8=a[_0x5083fe(0x1d5)][_0x5083fe(0x2c5)](_0x3fdb19[_0x5083fe(0x3ed)][0x0]),_0xebeef9=a['Tools'][_0x5083fe(0x2c5)](_0x3fdb19[_0x5083fe(0x3ed)][0x0]);for(let _0x33887b=_0x1150ae[_0x5083fe(0x21e)]-0x1;_0x33887b>=0x0;_0x33887b--){const _0xba0cb3={'id':_0x5083fe(0x1d0),'params':{'unitId':_0x1150ae[_0x33887b][_0x5083fe(0x30b)],..._0x1150ae[_0x33887b]['undoState']}},_0x274adc={'id':_0x5083fe(0x1d0),'params':{'unitId':_0x1150ae[_0x33887b][_0x5083fe(0x30b)],..._0x1150ae[_0x33887b][_0x5083fe(0x3e6)]}},_0x57e13c=this['_transformService'][_0x5083fe(0x2b0)](_0x1aaac8,_0xba0cb3,!0x1),_0x4cfb5b=this[_0x5083fe(0x1cc)][_0x5083fe(0x2b0)](_0xebeef9,_0x274adc,!0x1);if(m[_0x5083fe(0x247)](_0x57e13c))throw _0x57e13c[_0x5083fe(0x2db)];if(m['isTransformMutationFailure'](_0x4cfb5b))throw _0x4cfb5b['error'];_0x35016e[_0x5083fe(0x390)]({..._0x1150ae[_0x33887b],'undoState':_0x57e13c['m2Prime'][_0x5083fe(0x1fc)],'redoState':_0x4cfb5b['m2Prime'][_0x5083fe(0x1fc)]}),_0x1aaac8=_0x57e13c[_0x5083fe(0x3c7)],_0xebeef9=_0x4cfb5b[_0x5083fe(0x3c7)];}_0x1aaac8=a[_0x5083fe(0x1d5)]['deepClone'](_0x3fdb19['mutations'][0x0]),_0xebeef9=a['Tools'][_0x5083fe(0x2c5)](_0x3fdb19[_0x5083fe(0x3ed)][0x0]);for(let _0xd3e052=_0x190da8['length']-0x1;_0xd3e052>=0x0;_0xd3e052--){const _0x4b3891={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x190da8[_0xd3e052][_0x5083fe(0x30b)],..._0x190da8[_0xd3e052]['undoState']}},_0x3ca2c8={'id':_0x5083fe(0x1d0),'params':{'unitId':_0x190da8[_0xd3e052][_0x5083fe(0x30b)],..._0x190da8[_0xd3e052][_0x5083fe(0x3e6)]}},_0x5a2056=this[_0x5083fe(0x1cc)][_0x5083fe(0x2b0)](_0x1aaac8,_0x4b3891,!0x1),_0x21ca97=this[_0x5083fe(0x1cc)]['transformMutation'](_0xebeef9,_0x3ca2c8,!0x1);if(m['isTransformMutationFailure'](_0x5a2056))throw _0x5a2056[_0x5083fe(0x2db)];if(m[_0x5083fe(0x247)](_0x21ca97))throw _0x21ca97[_0x5083fe(0x2db)];_0x1614ca[_0x5083fe(0x390)]({..._0x190da8[_0xd3e052],'undoState':_0x5a2056[_0x5083fe(0x226)][_0x5083fe(0x1fc)],'redoState':_0x21ca97[_0x5083fe(0x226)][_0x5083fe(0x1fc)]}),_0x1aaac8=_0x5a2056['m1Prime'],_0xebeef9=_0x21ca97[_0x5083fe(0x3c7)];}this[_0x5083fe(0x301)][_0x5083fe(0x3bf)](_0x2f1c4d,{'history':_0x35016e,'collaboration':_0x1614ca});}};J=Ht([ce(0x0,a[_0xbb36ef(0x3b8)](a[_0xbb36ef(0x378)])),ce(0x1,m['ITransformService']),ce(0x2,a['Inject'](E['DocStateChangeManagerService']))],J);var Yt=Object[_0xbb36ef(0x1cf)],Wt=(_0x5b150b,_0x40e420,_0x2111f5,_0x14d0d2)=>{const _0x4f646b=_0xbb36ef;for(var _0x2a1604=_0x14d0d2>0x1?void 0x0:_0x14d0d2?Yt(_0x40e420,_0x2111f5):_0x40e420,_0x1dd00d=_0x5b150b[_0x4f646b(0x21e)]-0x1,_0x26ff6e;_0x1dd00d>=0x0;_0x1dd00d--)(_0x26ff6e=_0x5b150b[_0x1dd00d])&&(_0x2a1604=_0x26ff6e(_0x2a1604)||_0x2a1604);return _0x2a1604;},Ne=(_0x124115,_0x266802)=>(_0x232650,_0x2964a3)=>_0x266802(_0x232650,_0x2964a3,_0x124115);let Z=class{constructor(_0x594080,_0x1c09dd){const _0x6e9cec=_0xbb36ef;this[_0x6e9cec(0x267)]=_0x594080,this[_0x6e9cec(0x1cc)]=_0x1c09dd;}[_0xbb36ef(0x3c5)](_0x37cf12){const _0x50272e=_0xbb36ef;var _0x434d9c;const _0x85411b=this[_0x50272e(0x267)][_0x50272e(0x35f)](Y[_0x50272e(0x221)]),_0x2b7261=(_0x434d9c=_0x85411b[_0x50272e(0x305)]())!=null?_0x434d9c:[];if(_0x2b7261[_0x50272e(0x21e)]===0x0)return;const _0x363a4e=_0x37cf12[_0x50272e(0x2a8)],_0x38ca40=[{'id':_0x50272e(0x1d0),'params':{'unitId':_0x363a4e,'actions':null,'textRanges':_0x2b7261}}],_0x4d5877=this[_0x50272e(0x1cc)][_0x50272e(0x368)](_0x37cf12,_0x38ca40);if(!m[_0x50272e(0x1d7)](_0x4d5877))throw _0x4d5877[_0x50272e(0x2db)];const _0x5cf740=_0x4d5877[_0x50272e(0x226)][0x0][_0x50272e(0x1fc)][_0x50272e(0x1f6)];Array[_0x50272e(0x26b)](_0x5cf740)&&_0x5cf740['length']&&_0x85411b[_0x50272e(0x2e5)](_0x5cf740,{'unitId':_0x363a4e,'subUnitId':_0x363a4e},!0x1);}};Z=Wt([Ne(0x0,a[_0xbb36ef(0x3b8)](a['Injector'])),Ne(0x1,m['ITransformService'])],Z);var Vt=Object[_0xbb36ef(0x1cf)],Xt=(_0x42dc63,_0x311381,_0x1ae84a,_0x1695fa)=>{const _0x47c7f1=_0xbb36ef;for(var _0x8515a7=_0x1695fa>0x1?void 0x0:_0x1695fa?Vt(_0x311381,_0x1ae84a):_0x311381,_0x1618bd=_0x42dc63[_0x47c7f1(0x21e)]-0x1,_0x2f5803;_0x1618bd>=0x0;_0x1618bd--)(_0x2f5803=_0x42dc63[_0x1618bd])&&(_0x8515a7=_0x2f5803(_0x8515a7)||_0x8515a7);return _0x8515a7;},N=(_0x1760f7,_0x46bc47)=>(_0x4f8b26,_0x3f2e01)=>_0x46bc47(_0x4f8b26,_0x3f2e01,_0x1760f7);let Q=class extends a[_0xbb36ef(0x413)]{constructor(_0x4a8399,_0x3ffff1,_0x24da3b,_0x17aa3d,_0x50eea9,_0x4fcea0,_0x3405f3,_0x372a40){const _0x383f4c=_0xbb36ef;super(),h(this,_0x383f4c(0x2fa),new d[(_0x383f4c(0x2ad))](u[_0x383f4c(0x2f9)][_0x383f4c(0x2c3)])),(this[_0x383f4c(0x301)]=_0x4a8399,this[_0x383f4c(0x303)]=_0x3ffff1,this[_0x383f4c(0x308)]=_0x24da3b,this[_0x383f4c(0x416)]=_0x17aa3d,this[_0x383f4c(0x363)]=_0x50eea9,this[_0x383f4c(0x208)]=_0x4fcea0,this[_0x383f4c(0x356)]=_0x3405f3,this[_0x383f4c(0x3dc)]=_0x372a40,this[_0x383f4c(0x29c)]());}['_initEntityListener'](){const _0x49d6c1=_0xbb36ef;this['disposeWithMe'](this['_collaborationController'][_0x49d6c1(0x278)][_0x49d6c1(0x31c)](_0x212b20=>{const _0x1b931f=_0x49d6c1,_0x3c0460=this[_0x1b931f(0x301)][_0x1b931f(0x288)][_0x1b931f(0x31c)](_0xe8c62c=>{const _0x27490a=_0x1b931f;if(_0xe8c62c==null)return;const {unitId:_0x516b8f,redoState:_0x4f254e,commandId:_0x4bfe6e}=_0xe8c62c;if(_0x516b8f!==_0x212b20[_0x27490a(0x2a8)])return;const _0xe102c9={'id':_0x4bfe6e,'type':a[_0x27490a(0x3c8)][_0x27490a(0x3d7)],'params':{'unitId':_0x516b8f,'actions':_0x4f254e[_0x27490a(0x291)],'textRanges':null}};_0x212b20['onLocalMutation'](_0xe102c9);});if(_0x212b20[_0x1b931f(0x28c)](_0x3c0460),_0x212b20 instanceof u[_0x1b931f(0x430)]){const _0x162604={'onTransformIME':_0x148a1f=>this['_docTransformIMECacheService'][_0x1b931f(0x25f)](_0x148a1f),'onTransformState':_0x30f32e=>this[_0x1b931f(0x416)][_0x1b931f(0x2e4)](_0x30f32e),'onTransformSelections':_0x308ace=>this[_0x1b931f(0x363)][_0x1b931f(0x3c5)](_0x308ace),'onSyncEditingCollabCursor':_0x5c3b60=>this[_0x1b931f(0x208)][_0x1b931f(0x2ce)](_0x5c3b60),'onTransformRemoteChangesetByIMECache':_0x18932a=>this[_0x1b931f(0x308)]['transformRemoteChangeset'](_0x18932a),'onTransformRemoteChangesetByStateCache':_0x49613d=>this[_0x1b931f(0x416)]['transformRemoteChangeset'](_0x49613d)};_0x212b20[_0x1b931f(0x40e)](_0x162604);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0xbb36ef(0x210)])),N(0x1,a[_0xbb36ef(0x3b8)](u[_0xbb36ef(0x392)])),N(0x2,a['Inject'](z)),N(0x3,a[_0xbb36ef(0x3b8)](J)),N(0x4,a[_0xbb36ef(0x3b8)](Z)),N(0x5,a[_0xbb36ef(0x3b8)](pe)),N(0x6,O['IMessageService']),N(0x7,a[_0xbb36ef(0x3b8)](a[_0xbb36ef(0x344)]))],Q);var Gt=Object[_0xbb36ef(0x1cf)],Kt=(_0x58b89c,_0x4534d0,_0x4ffa16,_0x52ffaf)=>{const _0x50cf04=_0xbb36ef;for(var _0x5d9c4e=_0x52ffaf>0x1?void 0x0:_0x52ffaf?Gt(_0x4534d0,_0x4ffa16):_0x4534d0,_0x193ec3=_0x58b89c[_0x50cf04(0x21e)]-0x1,_0xe6836c;_0x193ec3>=0x0;_0x193ec3--)(_0xe6836c=_0x58b89c[_0x193ec3])&&(_0x5d9c4e=_0xe6836c(_0x5d9c4e)||_0x5d9c4e);return _0x5d9c4e;},le=(_0xae0d61,_0xed95df)=>(_0x3179b1,_0x2d6eaa)=>_0xed95df(_0x3179b1,_0x2d6eaa,_0xae0d61);let ve=class extends a['Disposable']{constructor(_0x3b15cc,_0x3731ac,_0x3cbcd7){const _0x58e407=_0xbb36ef;super(),h(this,_0x58e407(0x2c7),new Map()),h(this,_0x58e407(0x3d5),new Map()),h(this,'_disabled',!0x1),(this[_0x58e407(0x24e)]=_0x3b15cc,this[_0x58e407(0x2c2)]=_0x3731ac,this['_revisionService']=_0x3cbcd7);}[_0xbb36ef(0x1ca)](){const _0x5f0b8c=_0xbb36ef;this[_0x5f0b8c(0x3ec)]=!0x0;}[_0xbb36ef(0x2f4)](){const _0x2e340a=_0xbb36ef;this[_0x2e340a(0x3ec)]=!0x1;}get[_0xbb36ef(0x341)](){const _0x3aa1d0=_0xbb36ef;return this[_0x3aa1d0(0x3d5)];}[_0xbb36ef(0x3ef)](){const _0x3d0b44=_0xbb36ef;this[_0x3d0b44(0x2de)]()['then'](()=>super['dispose']());}async[_0xbb36ef(0x20a)](_0x57ca4b){const _0x39acc1=_0xbb36ef;return this[_0x39acc1(0x3ec)]?null:this[_0x39acc1(0x2c2)][_0x39acc1(0x3fb)](u[_0x39acc1(0x2c6)](_0x57ca4b));}async[_0xbb36ef(0x33f)](_0x3fe1de,_0x17a3af){const _0x24a829=_0xbb36ef;return!!this[_0x24a829(0x2c2)][_0x24a829(0x300)](_0x3fe1de,_0x17a3af);}[_0xbb36ef(0x277)](_0xa96b7c,_0x414b27,_0x289fad,_0x50b276){const _0x5928cf=_0xbb36ef,_0x407fa8=this[_0x5928cf(0x384)][_0x5928cf(0x2fc)](_0xa96b7c);this[_0x5928cf(0x2c7)][_0x5928cf(0x36f)](_0xa96b7c,{'unitID':_0xa96b7c,'type':_0x414b27,'awaitingChangeset':_0x289fad,'mutations':_0x50b276,'rev':_0x407fa8}),this[_0x5928cf(0x3d5)][_0x5928cf(0x1fa)](_0xa96b7c)||this[_0x5928cf(0x1ef)](_0xa96b7c);}[_0xbb36ef(0x1ef)](_0x429a91){const _0x1432c1=_0xbb36ef,_0x1916f6=this[_0x1432c1(0x23c)]();_0x1916f6===0x0?this[_0x1432c1(0x3f3)](_0x429a91):this[_0x1432c1(0x3d5)][_0x1432c1(0x36f)](_0x429a91,setTimeout(()=>this[_0x1432c1(0x3f3)](_0x429a91),_0x1916f6));}['_getSaveTimeout'](){const _0x22a260=_0xbb36ef;var _0x42bd32;return(_0x42bd32=this['_configService'][_0x22a260(0x3d4)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x42bd32:u['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x497ea8){const _0x3599e8=_0xbb36ef,_0x324b45=this[_0x3599e8(0x3d5)][_0x3599e8(0x35f)](_0x497ea8);return _0x324b45!==void 0x0&&window[_0x3599e8(0x309)](_0x324b45),this[_0x3599e8(0x2c2)]['setItem'](u[_0x3599e8(0x2c6)](_0x497ea8),this[_0x3599e8(0x2c7)][_0x3599e8(0x35f)](_0x497ea8))[_0x3599e8(0x2c4)](()=>this[_0x3599e8(0x3d5)]['delete'](_0x497ea8));}async[_0xbb36ef(0x2de)](){const _0x2d10d7=_0xbb36ef,_0x345bef=[];this[_0x2d10d7(0x3d5)][_0x2d10d7(0x3bd)]((_0x25bac7,_0xfa60d8)=>{const _0x25c856=_0x2d10d7;window[_0x25c856(0x309)](_0x25bac7),_0x345bef[_0x25c856(0x206)](this[_0x25c856(0x3f3)](_0xfa60d8)[_0x25c856(0x2c4)](()=>{const _0x227b9a=_0x25c856;this['_saveTaskMap'][_0x227b9a(0x1ed)](_0xfa60d8);}));}),await Promise[_0x2d10d7(0x236)](_0x345bef);}};ve=Kt([le(0x0,a[_0xbb36ef(0x285)]),le(0x1,a[_0xbb36ef(0x201)]),le(0x2,a[_0xbb36ef(0x3b8)](m[_0xbb36ef(0x405)]))],ve);class xe extends a[_0xbb36ef(0x315)]{constructor(){const _0x3ca525=_0xbb36ef;super(),h(this,_0x3ca525(0x275)),this[_0x3ca525(0x275)]=d['fromEvent'](window,'popstate')[_0x3ca525(0x2b7)](d[_0x3ca525(0x39c)](this['dispose$']),d[_0x3ca525(0x2aa)](0x1),d['mapTo'](void 0x0));}['setParam'](_0x3b003e,_0x5a2cb5,_0x63b904=!0x1){const _0x402b38=_0xbb36ef,_0x1c90e5=new URL(window[_0x402b38(0x2f2)][_0x402b38(0x385)]);_0x1c90e5['searchParams']['set'](_0x3b003e,_0x5a2cb5),_0x63b904?window['history']['replaceState']('','',_0x1c90e5[_0x402b38(0x219)]()):window[_0x402b38(0x282)][_0x402b38(0x3f7)]('','',_0x1c90e5[_0x402b38(0x219)]());}[_0xbb36ef(0x425)](_0x578070,_0x1f35ef=!0x1){const _0x307171=_0xbb36ef,_0x2e0dd8=new URL(window[_0x307171(0x2f2)]['href']);_0x2e0dd8[_0x307171(0x26f)]['delete'](_0x578070),_0x1f35ef?window[_0x307171(0x282)][_0x307171(0x1e6)]('','',_0x2e0dd8['toString']()):window[_0x307171(0x282)]['pushState']('','',_0x2e0dd8[_0x307171(0x219)]());}['getParam'](_0x300b79){const _0x5aa308=_0xbb36ef;var _0x2294fc;return(_0x2294fc=new URL(window[_0x5aa308(0x2f2)]['href'])[_0x5aa308(0x26f)]['get'](_0x300b79))!=null?_0x2294fc:void 0x0;}}var qt=Object[_0xbb36ef(0x42d)],zt=Object[_0xbb36ef(0x1cf)],Jt=(_0x27acbc,_0x10049e,_0x308d34)=>_0x10049e in _0x27acbc?qt(_0x27acbc,_0x10049e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x308d34}):_0x27acbc[_0x10049e]=_0x308d34,Zt=(_0x5c875a,_0x5ef805,_0x5a3fde,_0x56f42a)=>{const _0x24f2fd=_0xbb36ef;for(var _0x251e1d=_0x56f42a>0x1?void 0x0:_0x56f42a?zt(_0x5ef805,_0x5a3fde):_0x5ef805,_0x32d00f=_0x5c875a[_0x24f2fd(0x21e)]-0x1,_0x26fa84;_0x32d00f>=0x0;_0x32d00f--)(_0x26fa84=_0x5c875a[_0x32d00f])&&(_0x251e1d=_0x26fa84(_0x251e1d)||_0x251e1d);return _0x251e1d;},_e=(_0x596308,_0x44d141)=>(_0x27343d,_0x2e0b7b)=>_0x44d141(_0x27343d,_0x2e0b7b,_0x596308),Qt=(_0x8a018d,_0x2579a3,_0x164a4e)=>Jt(_0x8a018d,_0x2579a3+'',_0x164a4e);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0xbb36ef(0x3dd)]=class extends a[_0xbb36ef(0x1ee)]{constructor(_0x5cce34=De,_0x2273b2,_0x5ddb90,_0x110499){const _0x3a4582=_0xbb36ef;super(),this['_config']=_0x5cce34,this['_renderManagerService']=_0x2273b2,this[_0x3a4582(0x267)]=_0x5ddb90,this[_0x3a4582(0x24e)]=_0x110499;const {..._0x55d535}=a[_0x3a4582(0x207)]({},De,this['_config']);this[_0x3a4582(0x24e)]['setConfig'](Bt,_0x55d535);}[_0xbb36ef(0x3d0)](){const _0x2511f0=_0xbb36ef;this['_registerDependencies'](),this[_0x2511f0(0x3a0)]();}[_0xbb36ef(0x234)](){this['_registerRenderDependencies']();}[_0xbb36ef(0x274)](){const _0x3a6a4a=_0xbb36ef;var _0x40b5f9;const _0x87f7c5=[[Ce],[Z],[z],[J],[pe],[me,{'useClass':xe}],[K[_0x3a6a4a(0x251)],{'useClass':K['WebSocketService']}],[u[_0x3a6a4a(0x220)],{'useClass':ve}],[exports[_0x3a6a4a(0x396)]],[Q],[q],[x],[ue],[exports[_0x3a6a4a(0x30e)]]];a[_0x3a6a4a(0x1da)](this['_injector'],a[_0x3a6a4a(0x270)](_0x87f7c5,(_0x40b5f9=this[_0x3a6a4a(0x23d)])==null?void 0x0:_0x40b5f9[_0x3a6a4a(0x3e9)]));}[_0xbb36ef(0x2ed)](){const _0x2696c7=_0xbb36ef;this[_0x2696c7(0x28c)](this[_0x2696c7(0x242)]['registerRenderModule'](a[_0x2696c7(0x35d)][_0x2696c7(0x402)],[fe])),this['disposeWithMe'](this[_0x2696c7(0x242)][_0x2696c7(0x394)](a[_0x2696c7(0x35d)][_0x2696c7(0x244)],[Ie]));}[_0xbb36ef(0x3a0)](){const _0x4f6eca=_0xbb36ef;a[_0x4f6eca(0x2f1)](this[_0x4f6eca(0x267)],[[x],[exports[_0x4f6eca(0x396)]],[Q],[q],[exports[_0x4f6eca(0x30e)]]]);}},Qt(exports[_0xbb36ef(0x3dd)],_0xbb36ef(0x2a2),es),exports[_0xbb36ef(0x3dd)]=Zt([a[_0xbb36ef(0x287)](u[_0xbb36ef(0x3df)]),_e(0x1,p['IRenderManagerService']),_e(0x2,a[_0xbb36ef(0x3b8)](a[_0xbb36ef(0x378)])),_e(0x3,a['IConfigService'])],exports[_0xbb36ef(0x3dd)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x565723,_0x233d28,_0x5c203a,_0x36ef66)=>{for(var _0x1a6704=_0x36ef66>0x1?void 0x0:_0x36ef66?ts(_0x233d28,_0x5c203a):_0x233d28,_0x153470=_0x565723['length']-0x1,_0x387b27;_0x153470>=0x0;_0x153470--)(_0x387b27=_0x565723[_0x153470])&&(_0x1a6704=_0x387b27(_0x1a6704)||_0x1a6704);return _0x1a6704;},H=(_0x315338,_0xb1ae80)=>(_0x5d1f41,_0x450bed)=>_0xb1ae80(_0x5d1f41,_0x450bed,_0x315338);exports['BrowserCollaborationSocketService']=class extends u[_0xbb36ef(0x37b)]{constructor(_0xf7cd1e,_0x1f4349,_0x45a455,_0x400bb2,_0x4a9718){super(_0xf7cd1e,_0x1f4349,_0x45a455,_0x400bb2,_0x4a9718);}async['createSocket'](_0x5d0e9c){const _0x86afb3=_0xbb36ef,_0x910270=await this['_getSessionTicket'](),_0x267b50=this[_0x86afb3(0x3db)](_0x5d0e9c,_0x910270);return this['_doCreateSocket'](_0x267b50);}[_0xbb36ef(0x3db)](_0x3e3a6e,_0x35a51b){const _0x4016bb=_0xbb36ef,_0x372cee=typeof window>'u'?new URL(_0x3e3a6e):new URL(_0x3e3a6e,window['location'][_0x4016bb(0x21b)]);_0x372cee[_0x4016bb(0x26f)][_0x4016bb(0x36f)](_0x4016bb(0x2ca),_0x35a51b);const _0x1d2082=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4016bb(0x2f2)][_0x4016bb(0x342)]);return _0x1d2082['get']('runId')&&_0x372cee['searchParams']['set'](_0x4016bb(0x1e2),_0x1d2082[_0x4016bb(0x35f)](_0x4016bb(0x1e2))),_0x372cee[_0x4016bb(0x219)]();}async[_0xbb36ef(0x294)](){const _0x53ef2e=_0xbb36ef;var _0x41988b,_0x2ab0e1,_0x515270;const _0x582360=this[_0x53ef2e(0x24e)][_0x53ef2e(0x3d4)](u[_0x53ef2e(0x1f3)]),_0x239d9a=(_0x41988b=_0x582360==null?void 0x0:_0x582360[_0x53ef2e(0x365)])!=null?_0x41988b:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x515270=(_0x2ab0e1=(await this[_0x53ef2e(0x38f)][_0x53ef2e(0x35f)](_0x239d9a,{'headers':{'Content-Type':_0x53ef2e(0x2bd)}}))[_0x53ef2e(0x41f)])==null?void 0x0:_0x2ab0e1[_0x53ef2e(0x2fb)])!=null?_0x515270:'';}},exports['BrowserCollaborationSocketService']=ss([H(0x0,a[_0xbb36ef(0x3b8)](a['Injector'])),H(0x1,a[_0xbb36ef(0x3b8)](K[_0xbb36ef(0x20d)])),H(0x2,a[_0xbb36ef(0x285)]),H(0x3,a[_0xbb36ef(0x371)]),H(0x4,m['ISnapshotServerService'])],exports['BrowserCollaborationSocketService']);var Be=(_0x3e3d16=>(_0x3e3d16[_0x3e3d16['UNDEFINED']=0x0]='UNDEFINED',_0x3e3d16[_0x3e3d16['OK']=0x1]='OK',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2e6)]=0x2]=_0xbb36ef(0x2e6),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3f0)]=0x3]='PERMISSION_DENIED',_0x3e3d16[_0x3e3d16['NOT_FOUND']=0x4]=_0xbb36ef(0x29f),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x335)]=0x5]=_0xbb36ef(0x335),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2a6)]=0x6]=_0xbb36ef(0x2a6),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3b2)]=0x7]='INVALID_ARGUMENT',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x26e)]=0x8]=_0xbb36ef(0x26e),_0x3e3d16[_0x3e3d16['COMPLETION_FINISHED']=0x9]=_0xbb36ef(0x1fe),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3f9)]=0xa]=_0xbb36ef(0x3f9),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3e7)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x35a)]=0xc]=_0xbb36ef(0x35a),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2d8)]=0xd]=_0xbb36ef(0x2d8),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2dd)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x369)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x34d)]=0x1771]=_0xbb36ef(0x34d),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x379)]=0x1772]=_0xbb36ef(0x379),_0x3e3d16[_0x3e3d16['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xbb36ef(0x2df),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2af)]=0x1b59]=_0xbb36ef(0x2af),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x225)]=0x1b5a]=_0xbb36ef(0x225),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x333)]=0x1b5b]=_0xbb36ef(0x333),_0x3e3d16[_0x3e3d16['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xbb36ef(0x2b8),_0x3e3d16[_0x3e3d16['APPLY_DUPLICATED']=0x1b5d]=_0xbb36ef(0x388),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3a1)]=0x1f41]=_0xbb36ef(0x3a1),_0x3e3d16[_0x3e3d16['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xbb36ef(0x2ea),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3d9)]=0x232a]=_0xbb36ef(0x3d9),_0x3e3d16[_0x3e3d16['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xbb36ef(0x3a6),_0x3e3d16[_0x3e3d16['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2c9)]=0x232d]=_0xbb36ef(0x2c9),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x366)]=0x2711]=_0xbb36ef(0x366),_0x3e3d16[_0x3e3d16['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xbb36ef(0x213),_0x3e3d16[_0x3e3d16['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xbb36ef(0x2f0),_0x3e3d16[_0x3e3d16['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xbb36ef(0x302),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x417)]=0x271a]=_0xbb36ef(0x417),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x334)]=0x271b]=_0xbb36ef(0x334),_0x3e3d16[_0x3e3d16['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xbb36ef(0x1f2),_0x3e3d16[_0x3e3d16['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xbb36ef(0x37c),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x228)]=0x271e]=_0xbb36ef(0x228),_0x3e3d16[_0x3e3d16['YUUMI_AI_RUN_FAILED']=0x271f]=_0xbb36ef(0x2f6),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3aa)]=0x2720]=_0xbb36ef(0x3aa),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x29e)]=0x2af9]=_0xbb36ef(0x29e),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x1dc)]=0x2ee1]=_0xbb36ef(0x1dc),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x217)]=0x2ee2]=_0xbb36ef(0x217),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x3e5)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x1d8)]=0x2ee4]=_0xbb36ef(0x1d8),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x26c)]=0x2ee5]=_0xbb36ef(0x26c),_0x3e3d16[_0x3e3d16['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xbb36ef(0x310),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x2be)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3e3d16[_0x3e3d16[_0xbb36ef(0x27c)]=0x32cb]=_0xbb36ef(0x27c),_0x3e3d16[_0x3e3d16[_0xbb36ef(0x33b)]=-0x1]='UNRECOGNIZED',_0x3e3d16))(Be||{}),is=Object['getOwnPropertyDescriptor'],ns=(_0x155a21,_0x434c42,_0x2eddd5,_0x31423d)=>{const _0xf6a87f=_0xbb36ef;for(var _0x5736c5=_0x31423d>0x1?void 0x0:_0x31423d?is(_0x434c42,_0x2eddd5):_0x434c42,_0x5116de=_0x155a21[_0xf6a87f(0x21e)]-0x1,_0x5f42a9;_0x5116de>=0x0;_0x5116de--)(_0x5f42a9=_0x155a21[_0x5116de])&&(_0x5736c5=_0x5f42a9(_0x5736c5)||_0x5736c5);return _0x5736c5;},he=(_0x5d78ae,_0x16b8ab)=>(_0x43d694,_0x42449b)=>_0x16b8ab(_0x43d694,_0x42449b,_0x5d78ae);exports[_0xbb36ef(0x33d)]=class extends a[_0xbb36ef(0x413)]{constructor(_0x3af854,_0x46cb93,_0x18cf47){const _0x44c9b0=_0xbb36ef;super(),this[_0x44c9b0(0x328)]=_0x3af854,this['_httpService']=_0x46cb93,this[_0x44c9b0(0x24e)]=_0x18cf47;}async[_0xbb36ef(0x3e3)](_0x5cc01c,_0x4ddfe4,_0x3dfc2b,..._0x41c363){const _0x34ea48=_0xbb36ef;var _0x2424df,_0x3f3d14,_0x514f00,_0x451c9f;const _0x105144=this[_0x34ea48(0x328)][_0x34ea48(0x36a)]();if(!_0x105144)throw new Error(_0x34ea48(0x264));const _0x16ca33=((_0x2424df=this[_0x34ea48(0x24e)]['getConfig'](u[_0x34ea48(0x284)]))!=null?_0x2424df:u[_0x34ea48(0x2e0)])+'/'+_0x5cc01c+_0x34ea48(0x245)+_0x4ddfe4,_0xc66640=new URL(window[_0x34ea48(0x2f2)][_0x34ea48(0x385)]),_0x55b9b7={'scriptId':_0x5cc01c,'runId':(_0x3f3d14=_0xc66640[_0x34ea48(0x26f)][_0x34ea48(0x35f)](_0x34ea48(0x1e2)))!=null?_0x3f3d14:'','function':_0x4ddfe4,'unitId':_0x105144[_0x34ea48(0x3d8)](),'argsOfFunction':JSON['stringify'](_0x41c363),'invokeId':(_0x514f00=_0x3dfc2b[_0x34ea48(0x320)])!=null?_0x514f00:'','executionId':(_0x451c9f=_0x3dfc2b[_0x34ea48(0x41b)])!=null?_0x451c9f:''};try{const _0x2300f8=await this[_0x34ea48(0x38f)]['post'](_0x16ca33,{'body':_0x55b9b7});return _0x2300f8[_0x34ea48(0x41f)][_0x34ea48(0x2db)]&&_0x2300f8['body']['error'][_0x34ea48(0x354)]!==Be['OK']?'Failed':_0x2300f8[_0x34ea48(0x41f)][_0x34ea48(0x34b)];}catch{return _0x34ea48(0x412);}}},exports[_0xbb36ef(0x33d)]=ns([he(0x0,a[_0xbb36ef(0x21f)]),he(0x1,a[_0xbb36ef(0x3b8)](K[_0xbb36ef(0x20d)])),he(0x2,a[_0xbb36ef(0x285)])],exports[_0xbb36ef(0x33d)]);const Me=0x7530,Le='ACTIVE_UNIT_EVENT_CHANNEL';class rs extends a[_0xbb36ef(0x413)]{constructor(){const _0x48ead3=_0xbb36ef;super(),h(this,_0x48ead3(0x32c),a[_0x48ead3(0x1de)]()),h(this,_0x48ead3(0x2ac),new Set()),h(this,_0x48ead3(0x37e),new Map()),h(this,_0x48ead3(0x316),null),h(this,_0x48ead3(0x377),new Map()),h(this,'_unitStatus',new Map()),this[_0x48ead3(0x307)]();}[_0xbb36ef(0x3ef)](){const _0x51f983=_0xbb36ef;super['dispose'](),this['_clearOtherTimers'][_0x51f983(0x3bd)]((_0x129d20,_0x553883)=>this['_removeClearOtherTimer'](_0x553883)),this[_0x51f983(0x316)]&&window[_0x51f983(0x2e7)](this['_heartbeatTimer']);}[_0xbb36ef(0x3fa)](_0x4c11ad){const _0x3234b8=_0xbb36ef;return this[_0x3234b8(0x31b)](_0x4c11ad)['pipe'](d[_0x3234b8(0x42a)]());}[_0xbb36ef(0x283)](_0xaf9642){const _0x73a590=_0xbb36ef;this[_0x73a590(0x2ac)][_0x73a590(0x200)]===0x0&&this[_0x73a590(0x361)](),this[_0x73a590(0x2ac)][_0x73a590(0x3fe)](_0xaf9642),this[_0x73a590(0x34a)]({'type':0x0,'memberID':this[_0x73a590(0x32c)],'unitIDs':[_0xaf9642],'isForwarded':!0x1});}['disposeUnit'](_0x8c36bc){const _0x41abc8=_0xbb36ef;this[_0x41abc8(0x2ac)]['delete'](_0x8c36bc),this[_0x41abc8(0x2ac)][_0x41abc8(0x200)]===0x0&&this[_0x41abc8(0x316)]&&window[_0x41abc8(0x2e7)](this[_0x41abc8(0x316)]);}[_0xbb36ef(0x307)](){const _0x3ca8e3=_0xbb36ef;this['disposeWithMe'](a[_0x3ca8e3(0x367)](d[_0x3ca8e3(0x1d2)](window,_0x3ca8e3(0x3c6))[_0x3ca8e3(0x31c)](_0x3dd9a3=>{const _0x100c5d=_0x3ca8e3;if(_0x3dd9a3[_0x100c5d(0x352)]!==Le||!_0x3dd9a3[_0x100c5d(0x253)])return;const _0x2bd6ef=JSON[_0x100c5d(0x1ce)](_0x3dd9a3[_0x100c5d(0x253)]);this['_handleEvent'](_0x2bd6ef);}))),window[_0x3ca8e3(0x21a)](_0x3ca8e3(0x37d),()=>this[_0x3ca8e3(0x34a)]({'type':0x1,'memberID':this[_0x3ca8e3(0x32c)],'unitIDs':Array[_0x3ca8e3(0x2f8)](this[_0x3ca8e3(0x2ac)])}));}['_handleEvent'](_0x56ec5c){const _0x1598b0=_0xbb36ef;switch(_0x56ec5c[_0x1598b0(0x30c)]){case 0x0:this['_handleJoinEvent'](_0x56ec5c);break;case 0x1:this[_0x1598b0(0x1e5)](_0x56ec5c);break;case 0x2:this[_0x1598b0(0x1e8)](_0x56ec5c);break;}}[_0xbb36ef(0x1ec)](_0x2fb7d5){const _0x4e6d01=_0xbb36ef,{unitIDs:_0x2b3bcb,memberID:_0x51d8c2,isForwarded:_0x63668f}=_0x2fb7d5;_0x2b3bcb[_0x4e6d01(0x3bd)](_0x52a500=>{const _0x113b0a=_0x4e6d01;if(!_0x63668f&&this[_0x113b0a(0x37e)][_0x113b0a(0x1fa)](_0x52a500)&&this['_ensureSubject'](_0x52a500)[_0x113b0a(0x33e)](u[_0x113b0a(0x3f6)]['OTHER_CLIENTS_EDITING']),!this[_0x113b0a(0x37e)][_0x113b0a(0x1fa)](_0x52a500)||!this[_0x113b0a(0x37e)][_0x113b0a(0x35f)](_0x52a500)[_0x113b0a(0x1fa)](_0x51d8c2)){const _0x2fc627=this['_unitOnClients'][_0x113b0a(0x35f)](_0x52a500)||new Set();_0x2fc627[_0x113b0a(0x3fe)](_0x51d8c2),this[_0x113b0a(0x37e)][_0x113b0a(0x36f)](_0x52a500,_0x2fc627),this[_0x113b0a(0x3cf)](_0x51d8c2);}}),_0x63668f||this[_0x4e6d01(0x34a)]({'type':0x0,'memberID':this[_0x4e6d01(0x32c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xbb36ef(0x3cf)](_0x2fd26a){const _0xbca509=_0xbb36ef;this['_removeClearOtherTimer'](_0x2fd26a);const _0x23e82f=window[_0xbca509(0x407)](()=>{const _0x2c9014=_0xbca509;this[_0x2c9014(0x37e)]['forEach'](_0x2fcbf0=>{const _0x3543d9=_0x2c9014;_0x2fcbf0[_0x3543d9(0x1ed)](_0x2fd26a);});},Me*0x2);this['_clearOtherTimers'][_0xbca509(0x36f)](_0x2fd26a,_0x23e82f);}['_removeClearOtherTimer'](_0x1b51f1){const _0x141b6f=_0xbb36ef;if(this[_0x141b6f(0x377)][_0x141b6f(0x1fa)](_0x1b51f1)){const _0x9497ba=this['_clearOtherTimers'][_0x141b6f(0x35f)](_0x1b51f1);_0x9497ba&&window[_0x141b6f(0x309)](_0x9497ba),this[_0x141b6f(0x377)][_0x141b6f(0x36f)](_0x1b51f1,null);}}[_0xbb36ef(0x1e5)](_0x36d845){const _0x43e462=_0xbb36ef,{memberID:_0x31656c,unitIDs:_0x50717c}=_0x36d845;_0x50717c[_0x43e462(0x3bd)](_0xe06611=>{const _0x29898a=_0x43e462;var _0x5e0af0;const _0x2689fa=this[_0x29898a(0x37e)][_0x29898a(0x35f)](_0xe06611);_0x2689fa&&(_0x2689fa[_0x29898a(0x1ed)](_0x31656c),(_0x5e0af0=this[_0x29898a(0x31b)](_0xe06611))==null||_0x5e0af0[_0x29898a(0x33e)](_0x2689fa[_0x29898a(0x200)]===0x0?u[_0x29898a(0x3f6)][_0x29898a(0x375)]:u[_0x29898a(0x3f6)]['OTHER_CLIENTS_EDITING']));}),this[_0x43e462(0x1cb)](_0x31656c);}[_0xbb36ef(0x1e8)](_0x38cefb){const _0x4f80dc=_0xbb36ef;this[_0x4f80dc(0x3cf)](_0x38cefb[_0x4f80dc(0x1c4)]);}[_0xbb36ef(0x34a)](_0x317a31){const _0x1ba44c=_0xbb36ef;localStorage['setItem'](Le,JSON[_0x1ba44c(0x3e8)](_0x317a31));}[_0xbb36ef(0x361)](){const _0x5619db=_0xbb36ef;this[_0x5619db(0x316)]=window[_0x5619db(0x2d3)](()=>{const _0x2acb4d=_0x5619db;this[_0x2acb4d(0x34a)]({'type':0x2,'memberID':this[_0x2acb4d(0x32c)]});},Me);}[_0xbb36ef(0x31b)](_0x568dbd){const _0x2ea1b5=_0xbb36ef;return this['_unitStatus'][_0x2ea1b5(0x1fa)](_0x568dbd)||this[_0x2ea1b5(0x2ee)]['set'](_0x568dbd,new d[(_0x2ea1b5(0x2ad))](u[_0x2ea1b5(0x3f6)][_0x2ea1b5(0x375)])),this[_0x2ea1b5(0x2ee)][_0x2ea1b5(0x35f)](_0x568dbd);}}exports[_0xbb36ef(0x209)]=me,exports['SheetCollabCursorShape']=$e,exports[_0xbb36ef(0x26a)]=rs,exports['WebURLService']=xe;
@@ -1 +1 @@
1
- 'use strict';function _0x1b01(_0x48a16c,_0x4b70ea){const _0xeb0f0a=_0xeb0f();return _0x1b01=function(_0x1b019d,_0x24857e){_0x1b019d=_0x1b019d-0x100;let _0xea9879=_0xeb0f0a[_0x1b019d];return _0xea9879;},_0x1b01(_0x48a16c,_0x4b70ea);}const _0x2cc274=_0x1b01;(function(_0x2d081d,_0x571808){const _0x4052e8=_0x1b01,_0x2f7d85=_0x2d081d();while(!![]){try{const _0x4c6de3=-parseInt(_0x4052e8(0x110))/0x1+-parseInt(_0x4052e8(0x105))/0x2*(parseInt(_0x4052e8(0x100))/0x3)+parseInt(_0x4052e8(0x102))/0x4*(parseInt(_0x4052e8(0x10a))/0x5)+-parseInt(_0x4052e8(0x109))/0x6*(-parseInt(_0x4052e8(0x107))/0x7)+parseInt(_0x4052e8(0x119))/0x8+parseInt(_0x4052e8(0x10e))/0x9*(-parseInt(_0x4052e8(0x115))/0xa)+parseInt(_0x4052e8(0x108))/0xb;if(_0x4c6de3===_0x571808)break;else _0x2f7d85['push'](_0x2f7d85['shift']());}catch(_0x3787ea){_0x2f7d85['push'](_0x2f7d85['shift']());}}}(_0xeb0f,0x247f3));function _0xeb0f(){const _0x273ca4=['2224448xAHOVu','3uefBvi','Authentication\x20Error','102052nizFqV','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','1506ucnBMM','Edit\x20conflicts','35CqYYgI','1185481bTUxSz','99714BQmZtQ','5gFqVLb','Connection\x20failed,\x20please\x20check\x20your\x20network.','exports','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','234KzFavR','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','133565KfYvBM','Syncing\x20server\x20data...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Local\x20file','81010dTQnMo','Synced','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0xeb0f=function(){return _0x273ca4;};return _0xeb0f();}const e={'collab-client':{'tooltip':{'reconnect':_0x2cc274(0x104)}},'collabStatus':{'fetchMiss':_0x2cc274(0x111),'conflict':_0x2cc274(0x106),'notCollab':_0x2cc274(0x114),'synced':_0x2cc274(0x116),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2cc274(0x10b),'will-retry':_0x2cc274(0x117),'room-full':_0x2cc274(0x10f),'collaboration-timeout':_0x2cc274(0x103)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x2cc274(0x113)},'permission':{'title':_0x2cc274(0x101),'content':_0x2cc274(0x118)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2cc274(0x112)},'auth':{'needGotoLoginAlert':_0x2cc274(0x10d)}},o=e;module[_0x2cc274(0x10c)]=o;
1
+ 'use strict';const _0x40e84b=_0x3678;function _0x3678(_0x116f4e,_0x3c2ef1){const _0x8fb7c3=_0x8fb7();return _0x3678=function(_0x36785c,_0x10a34f){_0x36785c=_0x36785c-0xc2;let _0x179d6b=_0x8fb7c3[_0x36785c];return _0x179d6b;},_0x3678(_0x116f4e,_0x3c2ef1);}function _0x8fb7(){const _0x48ebaf=['Local\x20file','Syncing...','Collaboration\x20Conflict','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','88890hBKYBa','92020YbmxBc','938181vtLKSP','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','395834VuxgfT','1717436rMmran','677240jldfzh','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1628552MWCCVJ','Edit\x20conflicts','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','6catMhi','exports','Authentication\x20Error','Click\x20to\x20Reconnect','18UpYKYs','748EMSSxF','1YekBov','Syncing\x20server\x20data...'];_0x8fb7=function(){return _0x48ebaf;};return _0x8fb7();}(function(_0x1212fd,_0x48e8de){const _0x15970c=_0x3678,_0x47cbbb=_0x1212fd();while(!![]){try{const _0x1deaad=-parseInt(_0x15970c(0xd9))/0x1*(-parseInt(_0x15970c(0xcb))/0x2)+parseInt(_0x15970c(0xc6))/0x3+parseInt(_0x15970c(0xcd))/0x4+parseInt(_0x15970c(0xc4))/0x5+-parseInt(_0x15970c(0xd3))/0x6*(parseInt(_0x15970c(0xcc))/0x7)+parseInt(_0x15970c(0xd0))/0x8*(parseInt(_0x15970c(0xd7))/0x9)+-parseInt(_0x15970c(0xc5))/0xa*(parseInt(_0x15970c(0xd8))/0xb);if(_0x1deaad===_0x48e8de)break;else _0x47cbbb['push'](_0x47cbbb['shift']());}catch(_0x5f1951){_0x47cbbb['push'](_0x47cbbb['shift']());}}}(_0x8fb7,0x3913a));const e={'collab-client':{'tooltip':{'reconnect':_0x40e84b(0xd6)}},'collabStatus':{'fetchMiss':_0x40e84b(0xda),'conflict':_0x40e84b(0xd1),'notCollab':_0x40e84b(0xdb),'synced':_0x40e84b(0xde),'syncing':_0x40e84b(0xdc),'offline':_0x40e84b(0xca)},'session':{'connection-failed':_0x40e84b(0xc8),'will-retry':_0x40e84b(0xcf),'room-full':_0x40e84b(0xce),'collaboration-timeout':_0x40e84b(0xc7)},'conflict':{'title':_0x40e84b(0xdd),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x40e84b(0xd5),'content':_0x40e84b(0xc3)},'collaboration':{'single-unit':{'warning':_0x40e84b(0xc2)},'closeRoom':_0x40e84b(0xd2)},'auth':{'needGotoLoginAlert':_0x40e84b(0xc9)}},o=e;module[_0x40e84b(0xd4)]=o;