@univerjs-pro/collaboration-client-ui 0.10.3-experimental.20250812-b4b6f1a → 0.10.3-nightly.202508121228
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x599345=_0x1fe7;(function(_0x47a8e0,_0x5ef426){const _0x3c4efc=_0x1fe7,_0x4759b1=_0x47a8e0();while(!![]){try{const _0x115423=-parseInt(_0x3c4efc(0x365))/0x1*(parseInt(_0x3c4efc(0x21e))/0x2)+parseInt(_0x3c4efc(0x26e))/0x3*(parseInt(_0x3c4efc(0x17b))/0x4)+-parseInt(_0x3c4efc(0x324))/0x5+parseInt(_0x3c4efc(0x26f))/0x6*(parseInt(_0x3c4efc(0x2cd))/0x7)+-parseInt(_0x3c4efc(0x1fe))/0x8+-parseInt(_0x3c4efc(0x2f9))/0x9+parseInt(_0x3c4efc(0x192))/0xa*(parseInt(_0x3c4efc(0x2a0))/0xb);if(_0x115423===_0x5ef426)break;else _0x4759b1['push'](_0x4759b1['shift']());}catch(_0x185e73){_0x4759b1['push'](_0x4759b1['shift']());}}}(_0x5939,0x4fb54));var xt=Object[_0x599345(0x18a)],Bt=(_0x22aaf5,_0x4d08a0,_0x54c62c)=>_0x4d08a0 in _0x22aaf5?xt(_0x22aaf5,_0x4d08a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54c62c}):_0x22aaf5[_0x4d08a0]=_0x54c62c,_=(_0x35d411,_0x4cd460,_0x16ea85)=>Bt(_0x35d411,typeof _0x4cd460!=_0x599345(0x25d)?_0x4cd460+'':_0x4cd460,_0x16ea85);import{jsx as _0x5e3e10,jsxs as _0x2b834c}from'react/jsx-runtime';import{CollaborationStatus as _0x179362,CollaborationSessionService as _0x570b74,CollaborationController as _0x128ae1,DataLoaderService as _0x48d6ae,MemberService as _0x59d213,SessionStatus as _0x10c45e,ILocalCacheService as _0x3dac38,CollaborationUIEventService as _0xbe2638,CollaborationUIEventId as _0x1293f3,DocCollaborationEntity as _0xf251f3,getLocalCacheKey as _0x27e14f,LOCAL_CACHE_INTERVAL as _0x256917,LOCAL_CACHE_INTERVAL_KEY as _0x79e2bf,UniverCollaborationClientPlugin as _0x4923cb,CollaborationSocketService as _0x5c91da,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x38aea2,DEFAULT_WS_SESSION_TICKET_URL as _0x174274,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4da2b7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x547f2b,UnitStatus as _0x5545d6}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x16f669,IUniverInstanceService as _0x5bd8fd,Inject as _0x1cbf10,Injector as _0x5096fa,Disposable as _0x4999ff,createIdentifier as _0x410754,ILogService as _0x388508,ICommandService as _0x56819f,Optional as _0x42e4f8,RxDisposable as _0x2cb2a,Workbook as _0x5757c5,DOC_RANGE_TYPE as _0x56dc04,debounce as _0x25bcfa,Rectangle as _0x1bbde6,DisposableCollection as _0x34d6b9,toDisposable as _0xe5901,UniverInstanceType as _0x2c13fa,generateRandomId as _0x4feca8,COLORS as _0x239945,ColorKit as _0x6a24fb,ThemeService as _0x374bfd,fromEventSubject as _0x2e090f,Tools as _0x466a6b,CommandType as _0x2cfb30,IConfigService as _0x2ebcde,ILocalStorageService as _0x5114b9,DependentOn as _0x447dc1,Plugin as _0x41ad83,merge as _0x31953b,registerDependencies as _0x8703fb,mergeOverrideWithDependencies as _0x211447,touchDependencies as _0x538ea3}from'@univerjs/core';import{useObservable as _0x5d3341,useDependency as _0x4039a2,IUIPartsService as _0x4e7d48,BuiltInUIPart as _0x569940,connectInjector as _0x4cb14e,IBeforeCloseService as _0x150887,IMessageService as _0x465d3e,INotificationService as _0x2b785a}from'@univerjs/ui';import{BehaviorSubject as _0x5001d5,switchMap as _0x148977,of as _0x18014b,takeUntil as _0x2abc0a,debounceTime as _0x44f807,Subject as _0x53a8b3,filter as _0x1621f5,merge as _0x4cfeb9,combineLatest as _0x29f85b,fromEvent as _0x27ffe5,shareReplay as _0x3c2878,mapTo as _0x4c3d0e,distinctUntilChanged as _0x46e790}from'rxjs';import{Tooltip as _0x15e751,clsx as _0x9b1db3,MessageType as _0x4f6623}from'@univerjs/design';import{forwardRef as _0x3eef60,useRef as _0x3b75cc,createElement as _0x36ab5c,useCallback as _0x13e398}from'react';import{IRemoteInstanceService as _0x314c0c}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x28063e,RefRangeService as _0x363da9,SetSelectionsOperation as _0x15994b,SheetsSelectionsService as _0x12e65d,EffectRefRangId as _0xf0afc,handleIRemoveRow as _0x3266ff,handleIRemoveCol as _0x5f2584,handleMoveRange as _0x43f731,handleInsertRow as _0x3e49dd,handleInsertRangeMoveRight as _0x18d39a,handleInsertRangeMoveDown as _0x19ca0d,handleInsertCol as _0x1850e9,handleDeleteRangeMoveUp as _0x42fc62,handleDeleteRangeMoveLeft as _0x288b9f,runRefRangeMutations as _0x173f7a}from'@univerjs/sheets';import{Shape as _0xe0519b,Rect as _0x455129,getColor as _0x43e280,RegularPolygon as _0x51b771,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4c58bd,Vector2 as _0xc8d42b,SHEET_VIEWPORT_KEY as _0xf37fad,IRenderManagerService as _0x255be2}from'@univerjs/engine-render';import{ISocketService as _0x2d47be,WebSocketService as _0x2202ee,HTTPService as _0x33d9b4}from'@univerjs/network';import{IDocClipboardService as _0x43b492,NodePositionConvertToCursor as _0x46f081,NodePositionConvertToRectRange as _0x24e4de,TEXT_RANGE_LAYER_INDEX as _0x495d53,SetDocZoomRatioOperation as _0x5c27a1,DocIMEInputManagerService as _0x430150,DocStateChangeManagerService as _0x1202aa}from'@univerjs/docs-ui';import{IImageIoService as _0xe1180a}from'@univerjs/drawing';import{ITransformService as _0x401880,CollaborationEvent as _0x392635,isTransformMutationFailure as _0xfc9cee,isTransformMutationsWithChangesetSuccess as _0x1b6b99,RevisionService as _0x2d2ba6,ISnapshotServerService as _0x226b59}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3c113e,RichTextEditingMutation as _0xf131a3,DocSelectionManagerService as _0xdd81b3,DocSkeletonManagerService as _0x1a8861}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x398199,serializeRangeWithSheet as _0x23e0fe}from'@univerjs/engine-formula';import{map as _0x38f408,filter as _0x201453,throttleTime as _0x23c7cc,takeUntil as _0x3e781d,switchMap as _0x381586}from'rxjs/operators';import{SheetSkeletonManagerService as _0x21c3b1,getCoordByCell as _0x32ccb7,getSheetObject as _0x178a7d}from'@univerjs/sheets-ui';var v=function(){const _0x29e033=_0x599345;return v=Object['assign']||function(_0x479cb5){const _0x4c8332=_0x1fe7;for(var _0x27528b,_0x1d4df2=0x1,_0x29a524=arguments['length'];_0x1d4df2<_0x29a524;_0x1d4df2++){_0x27528b=arguments[_0x1d4df2];for(var _0xea6834 in _0x27528b)Object[_0x4c8332(0x2e0)]['hasOwnProperty'][_0x4c8332(0x186)](_0x27528b,_0xea6834)&&(_0x479cb5[_0xea6834]=_0x27528b[_0xea6834]);}return _0x479cb5;},v[_0x29e033(0x1e1)](this,arguments);},ci=function(_0x4c3161,_0x44212b){const _0x3079c6=_0x599345;var _0x2bec44={};for(var _0x12b924 in _0x4c3161)Object[_0x3079c6(0x2e0)][_0x3079c6(0x19e)][_0x3079c6(0x186)](_0x4c3161,_0x12b924)&&_0x44212b[_0x3079c6(0x207)](_0x12b924)<0x0&&(_0x2bec44[_0x12b924]=_0x4c3161[_0x12b924]);if(_0x4c3161!=null&&typeof Object['getOwnPropertySymbols']==_0x3079c6(0x225)){for(var _0x33180f=0x0,_0x12b924=Object[_0x3079c6(0x2a2)](_0x4c3161);_0x33180f<_0x12b924[_0x3079c6(0x309)];_0x33180f++)_0x44212b[_0x3079c6(0x207)](_0x12b924[_0x33180f])<0x0&&Object['prototype'][_0x3079c6(0x2db)][_0x3079c6(0x186)](_0x4c3161,_0x12b924[_0x33180f])&&(_0x2bec44[_0x12b924[_0x33180f]]=_0x4c3161[_0x12b924[_0x33180f]]);}return _0x2bec44;},ke=_0x3eef60(function(_0x1c81bc,_0x2badff){const _0x5e7280=_0x599345;var _0x26bd16=_0x1c81bc['icon'],_0x22839e=_0x1c81bc['id'],_0x4dfbac=_0x1c81bc['className'],_0x37bdf5=_0x1c81bc['extend'],_0x15286d=ci(_0x1c81bc,[_0x5e7280(0x2f1),'id',_0x5e7280(0x1df),_0x5e7280(0x1f2)]),_0x35aa58=_0x5e7280(0x2b7)[_0x5e7280(0x2e3)](_0x22839e,'\x20')['concat'](_0x4dfbac||'')[_0x5e7280(0x19f)](),_0x10a67c=_0x3b75cc('_'[_0x5e7280(0x2e3)](hi()));return Rt(_0x26bd16,''[_0x5e7280(0x2e3)](_0x22839e),{'defIds':_0x26bd16[_0x5e7280(0x262)],'idSuffix':_0x10a67c[_0x5e7280(0x2ad)]},v({'ref':_0x2badff,'className':_0x35aa58},_0x15286d),_0x37bdf5);});function Rt(_0x50ff10,_0x4e1896,_0x90639a,_0x8acbd,_0x3008d0){const _0x4c2744=_0x599345;return _0x36ab5c(_0x50ff10[_0x4c2744(0x1f4)],v(v({'key':_0x4e1896},li(_0x50ff10,_0x90639a,_0x3008d0)),_0x8acbd),(_i(_0x50ff10,_0x90639a)['children']||[])[_0x4c2744(0x23d)](function(_0xc33a,_0x42f0ed){const _0x1314a2=_0x4c2744;return Rt(_0xc33a,''[_0x1314a2(0x2e3)](_0x4e1896,'-')[_0x1314a2(0x2e3)](_0x50ff10[_0x1314a2(0x1f4)],'-')[_0x1314a2(0x2e3)](_0x42f0ed),_0x90639a,void 0x0,_0x3008d0);}));}function li(_0x57016a,_0x43d9ee,_0x45c459){const _0x4aff45=_0x599345;var _0x105531=v({},_0x57016a[_0x4aff45(0x345)]);_0x45c459!=null&&_0x45c459[_0x4aff45(0x21f)]&&_0x105531['fill']===_0x4aff45(0x21f)&&(_0x105531['fill']=_0x45c459[_0x4aff45(0x21f)]),_0x57016a[_0x4aff45(0x1f4)]===_0x4aff45(0x35b)&&_0x105531['id']&&(_0x105531['id']=_0x105531['id']+_0x43d9ee[_0x4aff45(0x1c5)]),Object[_0x4aff45(0x21d)](_0x105531)['forEach'](function(_0x232e63){const _0x1a746a=_0x4aff45;var _0x889602=_0x232e63[0x0],_0x4a844d=_0x232e63[0x1];_0x889602===_0x1a746a(0x35b)&&typeof _0x4a844d==_0x1a746a(0x2d2)&&(_0x105531[_0x889602]=_0x4a844d['replace'](/url\(#(.*)\)/,_0x1a746a(0x1f6)[_0x1a746a(0x2e3)](_0x43d9ee[_0x1a746a(0x1c5)],')')));});var _0x582dcd=_0x43d9ee['defIds'];return!_0x582dcd||_0x582dcd['length']===0x0||(_0x57016a[_0x4aff45(0x1f4)]==='use'&&_0x105531[_0x4aff45(0x20c)]&&(_0x105531[_0x4aff45(0x20c)]=_0x105531[_0x4aff45(0x20c)]+_0x43d9ee[_0x4aff45(0x1c5)]),Object[_0x4aff45(0x21d)](_0x105531)[_0x4aff45(0x172)](function(_0x451be6){const _0x32f0da=_0x4aff45;var _0x243e06=_0x451be6[0x0],_0x45b864=_0x451be6[0x1];typeof _0x45b864=='string'&&(_0x105531[_0x243e06]=_0x45b864[_0x32f0da(0x1bc)](/url\(#(.*)\)/,_0x32f0da(0x1f6)[_0x32f0da(0x2e3)](_0x43d9ee[_0x32f0da(0x1c5)],')')));})),_0x105531;}function _i(_0x26dba9,_0xd0fef2){const _0x43f952=_0x599345;var _0x110439,_0xa55836=_0xd0fef2[_0x43f952(0x262)];return!_0xa55836||_0xa55836['length']===0x0?_0x26dba9:_0x26dba9[_0x43f952(0x1f4)]===_0x43f952(0x2ff)&&(!((_0x110439=_0x26dba9[_0x43f952(0x2eb)])===null||_0x110439===void 0x0)&&_0x110439[_0x43f952(0x309)])?v(v({},_0x26dba9),{'children':_0x26dba9[_0x43f952(0x2eb)][_0x43f952(0x23d)](function(_0x297fbd){const _0x3db935=_0x43f952;return typeof _0x297fbd['attrs']['id']==_0x3db935(0x2d2)&&_0xa55836&&_0xa55836[_0x3db935(0x256)](_0x297fbd['attrs']['id'])?v(v({},_0x297fbd),{'attrs':v(v({},_0x297fbd[_0x3db935(0x345)]),{'id':_0x297fbd[_0x3db935(0x345)]['id']+_0xd0fef2[_0x3db935(0x1c5)]})}):_0x297fbd;})}):_0x26dba9;}function hi(){const _0x59039a=_0x599345;return Math[_0x59039a(0x301)]()[_0x59039a(0x27b)](0x24)[_0x59039a(0x2c5)](0x2,0x8);}ke[_0x599345(0x2b9)]=_0x599345(0x17d);var ui={'tag':_0x599345(0x25a),'attrs':{'xmlns':_0x599345(0x349),'fill':_0x599345(0x352),'viewBox':_0x599345(0x29d),'width':_0x599345(0x32f),'height':_0x599345(0x32f)},'children':[{'tag':'g','attrs':{'clipPath':_0x599345(0x346)},'children':[{'tag':_0x599345(0x1f7),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x599345(0x2cf),'strokeLinejoin':_0x599345(0x2cf),'strokeWidth':1.2}}]},{'tag':_0x599345(0x2ff),'attrs':{},'children':[{'tag':_0x599345(0x24a),'attrs':{'id':_0x599345(0x2f8)},'children':[{'tag':_0x599345(0x1f7),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x599345(0x2f8)]},Dt=_0x3eef60(function(_0x5d8f4f,_0x1bd2d8){const _0x2b0434=_0x599345;return _0x36ab5c(ke,Object[_0x2b0434(0x2bb)]({},_0x5d8f4f,{'id':_0x2b0434(0x33e),'ref':_0x1bd2d8,'icon':ui}));});Dt[_0x599345(0x2b9)]=_0x599345(0x290);var di={'tag':_0x599345(0x25a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x599345(0x352),'viewBox':_0x599345(0x34d),'width':_0x599345(0x32f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x599345(0x30b)},'children':[{'tag':_0x599345(0x1f7),'attrs':{'stroke':'currentColor','d':_0x599345(0x18b),'strokeLinecap':_0x599345(0x2cf),'strokeLinejoin':_0x599345(0x2cf),'strokeWidth':1.2}}]},{'tag':_0x599345(0x2ff),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x599345(0x1f7),'attrs':{'fill':_0x599345(0x2b3),'d':'M0\x200H16V16H0z','transform':_0x599345(0x2a9)}}]}]}],'defIds':[_0x599345(0x1f9)]},Nt=_0x3eef60(function(_0x55675c,_0x43c8af){const _0x367bb5=_0x599345;return _0x36ab5c(ke,Object[_0x367bb5(0x2bb)]({},_0x55675c,{'id':'on-line-icon','ref':_0x43c8af,'icon':di}));});Nt[_0x599345(0x2b9)]=_0x599345(0x2cc);function fi(_0xd0b2cf){const _0x5b65c8=_0x599345;switch(_0xd0b2cf){case _0x179362[_0x5b65c8(0x209)]:return'collabStatus.offline';case _0x179362[_0x5b65c8(0x362)]:return _0x5b65c8(0x273);case _0x179362[_0x5b65c8(0x17f)]:return _0x5b65c8(0x1d6);case _0x179362[_0x5b65c8(0x226)]:return _0x5b65c8(0x1c4);case _0x179362[_0x5b65c8(0x1fc)]:case _0x179362[_0x5b65c8(0x288)]:return _0x5b65c8(0x2d4);case _0x179362[_0x5b65c8(0x1ce)]:case _0x179362[_0x5b65c8(0x199)]:return'collabStatus.synced';}}function Si(_0x58cb1c){const _0x103c36=_0x599345,{status$:_0x57d1aa}=_0x58cb1c,_0x29051c=_0x5d3341(_0x57d1aa,_0x179362['NOT_COLLAB']),_0x2384b2=_0x4039a2(_0x16f669),_0x2c4c55=_0x4039a2(_0x570b74),_0x43e745=_0x29051c!==_0x179362[_0x103c36(0x209)],_0x43fb29=_0x2384b2['t'](fi(_0x29051c)),_0x29c879=_0x43e745?_0x5e3e10(Nt,{}):_0x5e3e10(Dt,{}),_0x256ba9=_0x13e398(()=>{const _0xd4300=_0x103c36;_0x43e745||_0x2c4c55[_0xd4300(0x278)]();},[_0x43e745,_0x2c4c55]);function _0x4ca179(){const _0x5c12df=_0x103c36;return _0x2b834c('div',{'className':_0x5c12df(0x26c),'onClick':_0x256ba9,'children':[_0x5e3e10('div',{'className':_0x9b1db3('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x43e745,'univer-text-red-500':!_0x43e745}),'children':_0x29c879}),_0x5e3e10(_0x5c12df(0x1ed),{'className':_0x5c12df(0x36b),'children':_0x43fb29})]});}return _0x43e745?_0x4ca179():_0x5e3e10(_0x15e751,{'title':_0x2384b2['t'](_0x103c36(0x1b9)),'children':_0x4ca179()});}var mi=Object[_0x599345(0x2ab)],Ii=(_0x119a02,_0xd23377,_0x395755,_0x3d4d21)=>{const _0x108e0e=_0x599345;for(var _0x5c8a46=_0x3d4d21>0x1?void 0x0:_0x3d4d21?mi(_0xd23377,_0x395755):_0xd23377,_0xd485d5=_0x119a02[_0x108e0e(0x309)]-0x1,_0x332393;_0xd485d5>=0x0;_0xd485d5--)(_0x332393=_0x119a02[_0xd485d5])&&(_0x5c8a46=_0x332393(_0x5c8a46)||_0x5c8a46);return _0x5c8a46;},q=(_0x4c6cde,_0x2dac5c)=>(_0x56b224,_0x2a9158)=>_0x2dac5c(_0x56b224,_0x2a9158,_0x4c6cde);let se=class extends _0x4999ff{constructor(_0x1bde55,_0x1df444,_0x13804b,_0x4898ac){const _0x435123=_0x599345;super(),_(this,_0x435123(0x31c),new _0x5001d5(_0x179362[_0x435123(0x226)])),(this[_0x435123(0x323)]=_0x1bde55,this[_0x435123(0x303)]=_0x1df444,this[_0x435123(0x16b)]=_0x13804b,this[_0x435123(0x241)]=_0x4898ac,this[_0x435123(0x2a3)](),this[_0x435123(0x193)]());}[_0x599345(0x193)](){const _0x3a67e6=_0x599345;this[_0x3a67e6(0x2ef)](this[_0x3a67e6(0x323)][_0x3a67e6(0x306)]['pipe'](_0x148977(()=>{const _0xc766f=_0x3a67e6,_0x3d21b3=this[_0xc766f(0x323)]['getFocusedUnit']();return _0x3d21b3?this['_collaborationController'][_0xc766f(0x35d)](_0x3d21b3[_0xc766f(0x33f)]()):_0x18014b(null);}),_0x148977(_0x5445fa=>_0x5445fa?_0x5445fa[_0x3a67e6(0x204)]:_0x18014b(_0x179362['NOT_COLLAB'])))['subscribe'](_0x5682dd=>{const _0x5ed135=_0x3a67e6;this['_status$'][_0x5ed135(0x343)](_0x5682dd);}));}[_0x599345(0x2a3)](){const _0x2e271b=_0x599345;this[_0x2e271b(0x2ef)](this[_0x2e271b(0x241)][_0x2e271b(0x2d8)](_0x569940[_0x2e271b(0x195)],()=>_0x4cb14e(vi({'status$':this[_0x2e271b(0x31c)][_0x2e271b(0x2f2)]()}),this[_0x2e271b(0x303)])));}};se=Ii([q(0x0,_0x5bd8fd),q(0x1,_0x1cbf10(_0x5096fa)),q(0x2,_0x1cbf10(_0x128ae1)),q(0x3,_0x4e7d48)],se);function vi(_0x57a765){const {status$:_0x56b27a}=_0x57a765;return function(){return _0x5e3e10(Si,{'status$':_0x56b27a});};}const Ut=_0x410754(_0x599345(0x223));var gi=Object[_0x599345(0x2ab)],pi=(_0x31aae8,_0x5212a6,_0x3b4191,_0x507bf1)=>{const _0x24f506=_0x599345;for(var _0x4d3f10=_0x507bf1>0x1?void 0x0:_0x507bf1?gi(_0x5212a6,_0x3b4191):_0x5212a6,_0x129af5=_0x31aae8[_0x24f506(0x309)]-0x1,_0x1aac80;_0x129af5>=0x0;_0x129af5--)(_0x1aac80=_0x31aae8[_0x129af5])&&(_0x4d3f10=_0x1aac80(_0x4d3f10)||_0x4d3f10);return _0x4d3f10;},G=(_0x379aa1,_0x40609f)=>(_0x250a55,_0x1d11ba)=>_0x40609f(_0x250a55,_0x1d11ba,_0x379aa1);let ie=class extends _0x2cb2a{constructor(_0x24625f,_0x428b5d,_0x365b42,_0x249af4,_0x1abd6b){const _0x594744=_0x599345;super(),this[_0x594744(0x2c8)]=_0x24625f,this[_0x594744(0x329)]=_0x428b5d,this[_0x594744(0x1cb)]=_0x365b42,this[_0x594744(0x214)]=_0x249af4,_0x1abd6b?_0x1abd6b==null||_0x1abd6b['whenReady']()[_0x594744(0x27c)](()=>this[_0x594744(0x2b5)]()):(this['_logService'][_0x594744(0x20f)](_0x594744(0x379),_0x594744(0x322)),this[_0x594744(0x2b5)]());}async[_0x599345(0x2b5)](){const _0x51ca84=_0x599345,_0x4af0c5=this[_0x51ca84(0x2c8)]['getParam']('unit'),_0x38dbe7=this['_urlService'][_0x51ca84(0x1af)](_0x51ca84(0x325)),_0x4c45b7=this[_0x51ca84(0x2c8)][_0x51ca84(0x1af)](_0x51ca84(0x2f4));if(!_0x4af0c5||!_0x38dbe7){this['_logService']['debug']('[CollaborationDataLoaderController]',_0x51ca84(0x2f5));return;}const _0x362dd8=await this['_dataLoaderService'][_0x51ca84(0x231)](_0x4af0c5,Number(_0x38dbe7),_0x4c45b7);_0x362dd8&&_0x362dd8 instanceof _0x5757c5&&this[_0x51ca84(0x24e)](_0x362dd8);}async[_0x599345(0x24e)](_0x27e54e){const _0x184535=_0x599345;await this[_0x184535(0x26b)](_0x27e54e),_0x27e54e[_0x184535(0x19c)][_0x184535(0x348)](_0x2abc0a(this['dispose$']))[_0x184535(0x32c)](_0x2ee424=>{const _0x3a5c85=_0x184535;_0x2ee424&&this[_0x3a5c85(0x33c)](_0x2ee424);}),this['_urlService'][_0x184535(0x238)][_0x184535(0x348)](_0x2abc0a(this['dispose$']))[_0x184535(0x32c)](()=>this[_0x184535(0x26b)](_0x27e54e));}[_0x599345(0x33c)](_0x25855f,_0xa0aa31=!0x1){const _0x2b04b1=_0x599345,_0x38170a=this[_0x2b04b1(0x2c8)][_0x2b04b1(0x1af)]('subunit');_0x25855f[_0x2b04b1(0x2fc)]()!==_0x38170a&&this[_0x2b04b1(0x2c8)][_0x2b04b1(0x36d)](_0x2b04b1(0x2f4),_0x25855f[_0x2b04b1(0x2fc)](),_0xa0aa31);}async[_0x599345(0x26b)](_0x506ebc){const _0x25d388=_0x599345;var _0x3a3b81;const _0x2a7926=this[_0x25d388(0x2c8)][_0x25d388(0x1af)](_0x25d388(0x2f4));if(!_0x2a7926||!_0x506ebc[_0x25d388(0x178)](_0x2a7926)){const _0x15381e=_0x506ebc[_0x25d388(0x2b4)]()[0x0],_0x547913=_0x506ebc[_0x25d388(0x178)](_0x15381e);if(!_0x547913)return;this[_0x25d388(0x33c)](_0x547913,!0x0),await this['_commandService']['executeCommand'](_0x28063e['id'],{'unitId':_0x506ebc['getUnitId'](),'subUnitId':_0x15381e});return;}((_0x3a3b81=_0x506ebc[_0x25d388(0x26d)]())==null?void 0x0:_0x3a3b81[_0x25d388(0x2fc)]())!==_0x2a7926&&await this[_0x25d388(0x1cb)][_0x25d388(0x2e5)](_0x28063e['id'],{'unitId':_0x506ebc[_0x25d388(0x33f)](),'subUnitId':_0x2a7926});}};ie=pi([G(0x0,Ut),G(0x1,_0x388508),G(0x2,_0x56819f),G(0x3,_0x1cbf10(_0x48d6ae)),G(0x4,_0x42e4f8(_0x314c0c))],ie);var Ci=Object[_0x599345(0x2ab)],Ei=(_0xfed39c,_0x59e137,_0xb3f4bb,_0x4528de)=>{for(var _0x5d6a7d=_0x4528de>0x1?void 0x0:_0x4528de?Ci(_0x59e137,_0xb3f4bb):_0x59e137,_0x5e4bc9=_0xfed39c['length']-0x1,_0x3304c5;_0x5e4bc9>=0x0;_0x5e4bc9--)(_0x3304c5=_0xfed39c[_0x5e4bc9])&&(_0x5d6a7d=_0x3304c5(_0x5d6a7d)||_0x5d6a7d);return _0x5d6a7d;},Je=(_0x32350a,_0x287a3c)=>(_0x1e9bdd,_0x2f5059)=>_0x287a3c(_0x1e9bdd,_0x2f5059,_0x32350a);let Ne=class extends _0x2cb2a{constructor(_0x1ed6aa,_0x9e1afd){const _0x24b7a5=_0x599345;super(),this[_0x24b7a5(0x283)]=_0x1ed6aa,this['_imageIoService']=_0x9e1afd,this[_0x24b7a5(0x2b5)]();}[_0x599345(0x2b5)](){const _0x39bfb3=_0x599345,_0x2a5970=this;this['disposeWithMe'](this[_0x39bfb3(0x283)][_0x39bfb3(0x28d)]({'onBeforePasteImage':async _0x11a51a=>{const _0x3108a1=_0x39bfb3,_0xe707ba=await _0x2a5970[_0x3108a1(0x1ec)][_0x3108a1(0x317)](_0x11a51a);return _0xe707ba?{'source':_0xe707ba[_0x3108a1(0x222)],'imageSourceType':_0xe707ba['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x43b492),Je(0x1,_0xe1180a)],Ne);const Ze=[_0x599345(0x31f),_0x599345(0x18e),'green.600',_0x599345(0x363),_0x599345(0x23c),_0x599345(0x1f8)];class He extends _0x4999ff{constructor(){const _0x5aa6b6=_0x599345;super(...arguments),_(this,_0x5aa6b6(0x371),new Map()),_(this,_0x5aa6b6(0x206),0x0);}[_0x599345(0x316)](_0x472e46){const _0x18ccda=_0x599345;if(this['_assignedColors']['has'](_0x472e46))return this[_0x18ccda(0x371)][_0x18ccda(0x2c1)](_0x472e46);const _0x4e51df=Ze[this[_0x18ccda(0x206)]];return this['_colorIndex']=(this[_0x18ccda(0x206)]+0x1)%Ze['length'],this[_0x18ccda(0x371)][_0x18ccda(0x31d)](_0x472e46,_0x4e51df),_0x4e51df;}}function Mt(_0xf216db){let _0x4e3fcc='';for(const _0x3c14a6 of _0xf216db){const {startOffset:_0x5090b1,endOffset:_0x3ec51e,isActive:_0x2d4a9e,rangeType:_0x444958,segmentId:_0x4482f3,segmentPage:_0x17d2f0}=_0x3c14a6;_0x4e3fcc['length']&&(_0x4e3fcc+=','),_0x4e3fcc+=_0x5090b1+':'+_0x3ec51e+':'+(_0x2d4a9e?'1':'0')+':'+_0x444958+':'+_0x4482f3+':'+_0x17d2f0;}return _0x4e3fcc;}function Oi(_0x573e13){const _0x3f734d=_0x599345,_0x21ca5e=_0x573e13[_0x3f734d(0x279)](','),_0x216fa4=[];for(const _0x14642f of _0x21ca5e){const [_0x4efde5,_0x3332e1,_0x5dcf2c,_0x132bba,_0x244d25,_0x560d82]=_0x14642f[_0x3f734d(0x279)](':');_0x216fa4[_0x3f734d(0x2fd)]({'startOffset':Number(_0x4efde5),'endOffset':Number(_0x3332e1),'collapsed':_0x4efde5===_0x3332e1,'isActive':_0x5dcf2c==='1','rangeType':_0x132bba===_0x56dc04[_0x3f734d(0x19d)]?_0x56dc04[_0x3f734d(0x19d)]:_0x56dc04[_0x3f734d(0x335)],'segmentId':typeof _0x244d25==_0x3f734d(0x2d2)?String(_0x244d25):'','segmentPage':Number(_0x560d82!=null?_0x560d82:-0x1)});}return _0x216fa4[_0x3f734d(0x1ea)](_0x566341=>_0x566341[_0x3f734d(0x235)])||(_0x216fa4[0x0][_0x3f734d(0x235)]=!0x0),_0x216fa4;}class Fe extends _0x2cb2a{constructor(){const _0x190e0b=_0x599345;super(...arguments),_(this,'_collabCursorState$',new _0x5001d5(null)),_(this,_0x190e0b(0x304),this[_0x190e0b(0x2e1)][_0x190e0b(0x2f2)]());}[_0x599345(0x2ea)](_0x3fafab){const _0x5b2a2a=_0x599345,{unitID:_0x33e473,memberID:_0x554632,textRanges:_0x2283a8}=_0x3fafab,_0x18682a=Mt(_0x2283a8);if(_0x18682a==='')return;const _0x2c3d77={'unitID':_0x33e473,'memberID':_0x554632,'selection':_0x18682a};this[_0x5b2a2a(0x2e1)][_0x5b2a2a(0x343)](_0x2c3d77);}}var bi=Object[_0x599345(0x2ab)],Ti=(_0x194433,_0x5868cc,_0x2d1711,_0x370de9)=>{const _0x3a8efe=_0x599345;for(var _0x201a49=_0x370de9>0x1?void 0x0:_0x370de9?bi(_0x5868cc,_0x2d1711):_0x5868cc,_0x35b6e4=_0x194433[_0x3a8efe(0x309)]-0x1,_0x52cc12;_0x35b6e4>=0x0;_0x35b6e4--)(_0x52cc12=_0x194433[_0x35b6e4])&&(_0x201a49=_0x52cc12(_0x201a49)||_0x201a49);return _0x201a49;},P=(_0x12e8f9,_0x46fa12)=>(_0x4f672a,_0x1479d0)=>_0x46fa12(_0x4f672a,_0x1479d0,_0x12e8f9);const Ri=0x12c,Di=0x64;let Ue=class extends _0x2cb2a{constructor(_0x5cdcb4,_0x45ba80,_0x9901bf,_0x13b402,_0x329deb,_0x5796e2,_0x3f705b,_0x28b0c3,_0x5a8402){const _0x4ffda4=_0x599345;super(),_(this,_0x4ffda4(0x300),!0x1),_(this,_0x4ffda4(0x2b5),!0x1),_(this,'_cursorInfo$',new _0x5001d5(new Map())),_(this,_0x4ffda4(0x336),this[_0x4ffda4(0x194)][_0x4ffda4(0x2f2)]()),_(this,_0x4ffda4(0x291),new _0x5001d5([])),_(this,'roomMembers$',this[_0x4ffda4(0x291)][_0x4ffda4(0x348)](_0x44f807(Ri))),_(this,_0x4ffda4(0x2d6),_0x25bcfa(_0x664bdd=>{const _0x2d207c=_0x4ffda4,_0x2f073e={'eventID':_0x392635['UPDATE_CURSOR'],'data':{'unitID':this[_0x2d207c(0x1e6)],'memberID':this[_0x2d207c(0x270)][_0x2d207c(0x36f)](),'selection':Mt(_0x664bdd)}};this['_session'][_0x2d207c(0x251)](_0x2f073e,this[_0x2d207c(0x1e6)]);},Di)),(this['unitID']=_0x5cdcb4,this[_0x4ffda4(0x270)]=_0x45ba80,this[_0x4ffda4(0x303)]=_0x9901bf,this[_0x4ffda4(0x2d9)]=_0x13b402,this[_0x4ffda4(0x2b1)]=_0x329deb,this['_syncEditingCollabCursorService']=_0x5796e2,this[_0x4ffda4(0x2c9)]=_0x3f705b,this[_0x4ffda4(0x323)]=_0x28b0c3,this[_0x4ffda4(0x1cb)]=_0x5a8402);}get[_0x599345(0x299)](){const _0x563e4e=_0x599345;return this['_cursorInfo$'][_0x563e4e(0x2a7)]();}get[_0x599345(0x212)](){const _0x506356=_0x599345;return this[_0x506356(0x291)][_0x506356(0x2a7)]();}[_0x599345(0x282)](){const _0x663247=_0x599345;super['dispose'](),this['_cursorInfo$'][_0x663247(0x343)](new Map()),this['_cursorInfo$'][_0x663247(0x16e)](),this['_roomMembers$'][_0x663247(0x343)]([]),this[_0x663247(0x291)]['complete']();}[_0x599345(0x25e)](){const _0x57d9d6=_0x599345;this[_0x57d9d6(0x2b5)]||(this[_0x57d9d6(0x2b5)]=!0x0,this[_0x57d9d6(0x270)][_0x57d9d6(0x340)]['pipe'](_0x2abc0a(this[_0x57d9d6(0x36e)]))[_0x57d9d6(0x32c)](_0x2071c2=>{const _0x3c19c6=_0x57d9d6;_0x2071c2===_0x10c45e[_0x3c19c6(0x310)]?this[_0x3c19c6(0x1d5)]():this[_0x3c19c6(0x2c0)]();}),this[_0x57d9d6(0x270)][_0x57d9d6(0x1d4)][_0x57d9d6(0x348)](_0x2abc0a(this[_0x57d9d6(0x36e)]))[_0x57d9d6(0x32c)](_0x5c7c7b=>{const _0x12d8a8=_0x57d9d6,_0x56e71b=_0x5c7c7b[_0x12d8a8(0x292)];_0x56e71b===_0x392635[_0x12d8a8(0x2dd)]&&this[_0x12d8a8(0x218)](_0x5c7c7b),_0x56e71b===_0x392635[_0x12d8a8(0x264)]&&this['_onCursorDelete'](_0x5c7c7b);}),this[_0x57d9d6(0x2ef)](this['_commandService'][_0x57d9d6(0x16f)](_0x524d78=>{const _0x66e9c2=_0x57d9d6,_0x130c76=_0x524d78['params'];_0x130c76!=null&&this[_0x66e9c2(0x300)]&&_0x524d78['id']===_0x3c113e['id']&&_0x130c76['unitId']===this['unitID']&&_0x130c76[_0x66e9c2(0x16d)]===!0x1&&_0x130c76['ranges'][_0x66e9c2(0x309)]>0x0&&this[_0x66e9c2(0x2d6)](_0x130c76[_0x66e9c2(0x267)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x2abc0a(this['dispose$']))[_0x57d9d6(0x32c)](_0x540e20=>{const _0x4ba046=_0x57d9d6;if((_0x540e20==null?void 0x0:_0x540e20[_0x4ba046(0x1e6)])!==this[_0x4ba046(0x1e6)])return;const _0x459655={'eventID':_0x392635[_0x4ba046(0x2dd)],'data':_0x540e20};this['_onCursorUpdate'](_0x459655);}),this[_0x57d9d6(0x2ef)](this[_0x57d9d6(0x1cb)][_0x57d9d6(0x16f)](_0x2c828c=>{const _0xc7ffb=_0x57d9d6;if(_0x2c828c[_0xc7ffb(0x2e4)]==null)return;const _0x1771aa=_0x2c828c[_0xc7ffb(0x2e4)];if(_0x2c828c['id']!==_0xf131a3['id']||_0x1771aa['unitId']!==this[_0xc7ffb(0x1e6)])return;const _0x148329={'id':_0xc7ffb(0x33a),'params':_0x1771aa},_0x20437d=this[_0xc7ffb(0x299)];for(const [_0x324645,_0x111bc1]of _0x20437d){const _0x4e3fee={'id':_0xc7ffb(0x33a),'params':{'unitId':this[_0xc7ffb(0x1e6)],'actions':null,'textRanges':_0x111bc1[_0xc7ffb(0x267)]}},_0x479d1a=this[_0xc7ffb(0x2c9)]['transformMutation'](_0x148329,_0x4e3fee,!0x1);if(_0xfc9cee(_0x479d1a))throw _0x479d1a[_0xc7ffb(0x1b8)];_0x20437d['set'](_0x324645,{..._0x111bc1,'ranges':_0x479d1a['m2Prime']['params'][_0xc7ffb(0x240)]});}queueMicrotask(()=>{const _0x1b2647=_0xc7ffb;this[_0x1b2647(0x194)]['next'](_0x20437d);});})));}['_onCursorUpdate'](_0x362f10){const _0xb72591=_0x599345;var _0x3e202c,_0x140ef0;const {memberID:_0xb0b72f,selection:_0x13aca5}=_0x362f10[_0xb72591(0x266)],_0x41d3ee=Oi(_0x13aca5),_0xd9ae2f=(_0x140ef0=(_0x3e202c=this[_0xb72591(0x2b1)][_0xb72591(0x198)](this[_0xb72591(0x1e6)],_0xb0b72f))==null?void 0x0:_0x3e202c[_0xb72591(0x2bd)])!=null?_0x140ef0:_0xb72591(0x269),_0x11f3db={'color':this['_colorAssignService']['assignAColorForMemberID'](_0xb0b72f),'name':_0xd9ae2f,'ranges':_0x41d3ee},_0x5dfaa1=this[_0xb72591(0x299)];_0x5dfaa1['set'](_0xb0b72f,_0x11f3db),this[_0xb72591(0x194)][_0xb72591(0x343)](_0x5dfaa1);}[_0x599345(0x29f)](_0xfdb713){const _0x2a7d59=_0x599345,{memberID:_0x272bc3}=_0xfdb713[_0x2a7d59(0x266)],_0x54d506=this['cursorInfo'];_0x54d506[_0x2a7d59(0x326)](_0x272bc3),this[_0x2a7d59(0x194)]['next'](_0x54d506);}['_toggleOnline'](){const _0x377fdf=_0x599345;var _0x38500f;if(this[_0x377fdf(0x300)]=!0x0,((_0x38500f=this[_0x377fdf(0x323)][_0x377fdf(0x2e2)]())==null?void 0x0:_0x38500f[_0x377fdf(0x33f)]())!==this[_0x377fdf(0x1e6)])return;const _0x1586d4=this[_0x377fdf(0x303)][_0x377fdf(0x2c1)](_0xdd81b3)[_0x377fdf(0x344)]();Array[_0x377fdf(0x229)](_0x1586d4)&&_0x1586d4[_0x377fdf(0x309)]>0x0&&this[_0x377fdf(0x2d6)](_0x1586d4);}[_0x599345(0x2c0)](){this['_online']=!0x1;}};Ue=Ti([P(0x2,_0x1cbf10(_0x5096fa)),P(0x3,_0x1cbf10(He)),P(0x4,_0x1cbf10(_0x59d213)),P(0x5,_0x1cbf10(Fe)),P(0x6,_0x401880),P(0x7,_0x5bd8fd),P(0x8,_0x56819f)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0xcaadfd,_0x40db65,_0x38488b,_0x440b20)=>{const _0x498119=_0x599345;for(var _0x2653da=_0x440b20>0x1?void 0x0:_0x440b20?Ni(_0x40db65,_0x38488b):_0x40db65,_0xab4def=_0xcaadfd[_0x498119(0x309)]-0x1,_0x31cbba;_0xab4def>=0x0;_0xab4def--)(_0x31cbba=_0xcaadfd[_0xab4def])&&(_0x2653da=_0x31cbba(_0x2653da)||_0x2653da);return _0x2653da;},x=(_0x2e4a50,_0x320785)=>(_0x300d80,_0xc93f45)=>_0x320785(_0x300d80,_0xc93f45,_0x2e4a50);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x45ea18=[],_0xa55ad2=!0x1;return _0x5f14f6=>{const _0xa300a9=_0x1fe7;_0x45ea18[_0xa300a9(0x2fd)](_0x5f14f6),_0xa55ad2||(_0xa55ad2=!0x0,setTimeout(()=>{const _0x515d4=_0xa300a9;_0x45ea18[_0x515d4(0x172)](_0x48c96=>_0x48c96()),_0x45ea18=[],_0xa55ad2=!0x1;}));};};let Me=class extends _0x2cb2a{constructor(_0x58f5d9,_0x3f32df,_0x1b638e,_0xe648bc,_0x37f17c,_0x1464e4,_0x996e90,_0x5657b7){const _0x1f9a7c=_0x599345;super(),_(this,_0x1f9a7c(0x300),!0x1),_(this,_0x1f9a7c(0x2b5),!0x1),_(this,_0x1f9a7c(0x194),new _0x5001d5(new Map())),_(this,_0x1f9a7c(0x336),this['_cursorInfo$']['asObservable']()),_(this,_0x1f9a7c(0x291),new _0x5001d5([])),_(this,'roomMembers$',this[_0x1f9a7c(0x291)][_0x1f9a7c(0x348)](_0x44f807(Mi))),_(this,_0x1f9a7c(0x2d6),_0x25bcfa((_0x463d86,_0x44d457)=>{const _0x5c7120=_0x1f9a7c,_0x3f4bab={'eventID':_0x392635[_0x5c7120(0x2dd)],'data':{'unitID':this['unitID'],'memberID':this[_0x5c7120(0x270)][_0x5c7120(0x36f)](),'selection':_0x23e0fe(_0x463d86,_0x44d457['range'])}};this['_session'][_0x5c7120(0x251)](_0x3f4bab,this['unitID']);},Li)),(this[_0x1f9a7c(0x1e6)]=_0x58f5d9,this[_0x1f9a7c(0x270)]=_0x3f32df,this[_0x1f9a7c(0x303)]=_0x1b638e,this[_0x1f9a7c(0x2d9)]=_0xe648bc,this[_0x1f9a7c(0x2b1)]=_0x37f17c,this['_univerInstanceService']=_0x1464e4,this[_0x1f9a7c(0x1cb)]=_0x996e90,this['_refRangeService']=_0x5657b7);}get[_0x599345(0x299)](){const _0x5c6f21=_0x599345;return this[_0x5c6f21(0x194)]['getValue']();}get[_0x599345(0x212)](){const _0x23c76a=_0x599345;return this[_0x23c76a(0x291)][_0x23c76a(0x2a7)]();}[_0x599345(0x282)](){const _0x5c70fb=_0x599345;super['dispose'](),this[_0x5c70fb(0x194)][_0x5c70fb(0x343)](new Map()),this['_cursorInfo$'][_0x5c70fb(0x16e)](),this[_0x5c70fb(0x291)][_0x5c70fb(0x343)]([]),this[_0x5c70fb(0x291)][_0x5c70fb(0x16e)]();}[_0x599345(0x25e)](){const _0x5bca5c=_0x599345;this['_init']||(this[_0x5bca5c(0x2b5)]=!0x0,this['_session'][_0x5bca5c(0x340)][_0x5bca5c(0x348)](_0x2abc0a(this[_0x5bca5c(0x36e)]))[_0x5bca5c(0x32c)](_0xc6d070=>{const _0xe4c542=_0x5bca5c;_0xc6d070===_0x10c45e[_0xe4c542(0x310)]?this[_0xe4c542(0x1d5)]():this[_0xe4c542(0x2c0)]();}),this['_session'][_0x5bca5c(0x1d4)][_0x5bca5c(0x348)](_0x2abc0a(this['dispose$']))[_0x5bca5c(0x32c)](_0x35b9d8=>{const _0xbf371d=_0x5bca5c,_0x21321d=_0x35b9d8[_0xbf371d(0x292)];_0x21321d===_0x392635[_0xbf371d(0x2dd)]&&this[_0xbf371d(0x218)](_0x35b9d8),_0x21321d===_0x392635[_0xbf371d(0x264)]&&this['_onCursorDelete'](_0x35b9d8);}),this[_0x5bca5c(0x1ef)](),this[_0x5bca5c(0x2ef)](this[_0x5bca5c(0x1cb)][_0x5bca5c(0x16f)](_0x2259a7=>{const _0x4ad84c=_0x5bca5c;if(this['_online']&&_0x2259a7['id']===_0x15994b['id']&&_0x2259a7[_0x4ad84c(0x2e4)]['unitId']===this[_0x4ad84c(0x1e6)]){const _0x52831f=_0x2259a7[_0x4ad84c(0x2e4)];this[_0x4ad84c(0x2d6)](_0x52831f[_0x4ad84c(0x2ed)],_0x52831f['selections'][0x0]);}})));}[_0x599345(0x218)](_0x4f5e78){const _0xcb5ff7=_0x599345;var _0x37c466,_0x800f65;const {memberID:_0x454e5b,selection:_0x4c9b01}=_0x4f5e78[_0xcb5ff7(0x266)],{sheetName:_0x125520,range:_0x43622a}=_0x398199(_0x4c9b01),_0x2052ae={'name':(_0x800f65=(_0x37c466=this[_0xcb5ff7(0x2b1)]['getMember'](this[_0xcb5ff7(0x1e6)],_0x454e5b))==null?void 0x0:_0x37c466['name'])!=null?_0x800f65:_0xcb5ff7(0x269),'range':this[_0xcb5ff7(0x32b)](_0x125520,_0x43622a),'sheetID':_0x125520,'color':this[_0xcb5ff7(0x2d9)][_0xcb5ff7(0x316)](_0x454e5b),'selection':_0x4c9b01},_0x48ee65=this[_0xcb5ff7(0x299)];_0x48ee65[_0xcb5ff7(0x31d)](_0x454e5b,_0x2052ae),this['_cursorInfo$'][_0xcb5ff7(0x343)](_0x48ee65);}[_0x599345(0x29f)](_0x3464de){const _0x45ed9f=_0x599345,{memberID:_0x586607}=_0x3464de[_0x45ed9f(0x266)],_0x20ffb2=this['cursorInfo'];_0x20ffb2[_0x45ed9f(0x326)](_0x586607),this[_0x45ed9f(0x194)][_0x45ed9f(0x343)](_0x20ffb2);}[_0x599345(0x32b)](_0x443d44,_0x3e4cca){const _0x426b3c=_0x599345;var _0x3886ba,_0x446af6;const _0x208a2a=(_0x446af6=(_0x3886ba=this['_univerInstanceService'][_0x426b3c(0x1eb)](this[_0x426b3c(0x1e6)]))==null?void 0x0:_0x3886ba[_0x426b3c(0x178)](_0x443d44))==null?void 0x0:_0x446af6[_0x426b3c(0x2d0)]();return(_0x208a2a==null?void 0x0:_0x208a2a['find'](_0x1f52eb=>_0x1bbde6[_0x426b3c(0x17e)](_0x1f52eb,_0x3e4cca)))||_0x3e4cca;}[_0x599345(0x1ef)](){const _0x128ee5=_0x599345,_0x5cdb5d=new _0x34d6b9(),_0x31abd9=Pi(),_0x47ab90=()=>{const _0x287fea=_0x1fe7;_0x5cdb5d['dispose']();const _0x25f78b=(_0xb2ca42,_0x14bb5b,_0x3f9fb1,_0x28f000)=>{const _0x52ea0d=_0x1fe7;let _0x57041e=[];switch(_0xb2ca42['id']){case _0xf0afc[_0x52ea0d(0x37c)]:{_0x57041e=_0x288b9f(_0xb2ca42,_0x28f000);break;}case _0xf0afc['DeleteRangeMoveUpCommandId']:{_0x57041e=_0x42fc62(_0xb2ca42,_0x28f000);break;}case _0xf0afc[_0x52ea0d(0x2a4)]:{_0x57041e=_0x1850e9(_0xb2ca42,_0x28f000);break;}case _0xf0afc['InsertRangeMoveDownCommandId']:{_0x57041e=_0x19ca0d(_0xb2ca42,_0x28f000);break;}case _0xf0afc[_0x52ea0d(0x211)]:{_0x57041e=_0x18d39a(_0xb2ca42,_0x28f000);break;}case _0xf0afc[_0x52ea0d(0x20b)]:{_0x57041e=_0x3e49dd(_0xb2ca42,_0x28f000);break;}case _0xf0afc[_0x52ea0d(0x191)]:{_0x57041e=_0x43f731(_0xb2ca42,_0x28f000);break;}case _0xf0afc['RemoveColCommandId']:{_0x57041e=_0x5f2584(_0xb2ca42,_0x28f000);break;}case _0xf0afc[_0x52ea0d(0x244)]:{_0x57041e=_0x3266ff(_0xb2ca42,_0x28f000);break;}}const _0x24f525=_0x173f7a(_0x57041e,_0x28f000),_0xb3aa97=this[_0x52ea0d(0x299)][_0x52ea0d(0x2c1)](_0x14bb5b);if(_0xb3aa97&&_0x24f525){const _0x5ca30a={..._0xb3aa97,'range':_0x24f525};this[_0x52ea0d(0x299)]['set'](_0x14bb5b,_0x5ca30a),_0x31abd9(()=>{const _0x39c542=_0x52ea0d,_0x3e7216=this['_refRangeService'][_0x39c542(0x25c)](_0x24f525,_0x24b1a8=>(_0x3e7216[_0x39c542(0x282)](),_0x25f78b(_0x24b1a8,_0x14bb5b,_0x3f9fb1,_0x24f525)));_0x5cdb5d[_0x39c542(0x1b0)](_0x3e7216);});}return{'redos':[],'undos':[]};};this[_0x287fea(0x299)]['forEach']((_0x2af6e6,_0x21bac7)=>{const _0xba228c=_0x287fea,{range:_0x2d0fda,sheetID:_0x589bc1}=_0x2af6e6,_0x12de12=this['_refRangeService'][_0xba228c(0x25c)](_0x2d0fda,_0x329cf=>(_0x12de12[_0xba228c(0x282)](),_0x25f78b(_0x329cf,_0x21bac7,_0x589bc1,_0x2d0fda)));_0x5cdb5d['add'](_0x12de12);});};this[_0x128ee5(0x2ef)](_0xe5901(this['_cursorInfo$'][_0x128ee5(0x32c)](()=>{_0x47ab90();})));}[_0x599345(0x1d5)](){const _0x285a54=_0x599345;var _0x4750a0,_0x5bf18d;if(this[_0x285a54(0x300)]=!0x0,((_0x4750a0=this[_0x285a54(0x323)][_0x285a54(0x2e2)]())==null?void 0x0:_0x4750a0[_0x285a54(0x33f)]())!==this[_0x285a54(0x1e6)])return;const _0x17741=(_0x5bf18d=this[_0x285a54(0x303)][_0x285a54(0x2c1)](_0x12e65d)[_0x285a54(0x30f)]())==null?void 0x0:_0x5bf18d[0x0],_0x5383bb=this[_0x285a54(0x323)][_0x285a54(0x17a)](_0x2c13fa[_0x285a54(0x35f)])[_0x285a54(0x26d)]();_0x17741&&_0x5383bb&&this[_0x285a54(0x2d6)](_0x5383bb[_0x285a54(0x2fc)](),_0x17741);}[_0x599345(0x2c0)](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x1cbf10(_0x5096fa)),x(0x3,_0x1cbf10(He)),x(0x4,_0x1cbf10(_0x59d213)),x(0x5,_0x5bd8fd),x(0x6,_0x56819f),x(0x7,_0x1cbf10(_0x363da9))],Me);var wi=Object[_0x599345(0x2ab)],Ai=(_0x142109,_0x55e048,_0x14e616,_0x52f397)=>{const _0xf12b92=_0x599345;for(var _0x5f3055=_0x52f397>0x1?void 0x0:_0x52f397?wi(_0x55e048,_0x14e616):_0x55e048,_0x4c8a97=_0x142109[_0xf12b92(0x309)]-0x1,_0x12cb4b;_0x4c8a97>=0x0;_0x4c8a97--)(_0x12cb4b=_0x142109[_0x4c8a97])&&(_0x5f3055=_0x12cb4b(_0x5f3055)||_0x5f3055);return _0x5f3055;},me=(_0xbff2,_0x551770)=>(_0xfe1a3d,_0x576875)=>_0x551770(_0xfe1a3d,_0x576875,_0xbff2);let F=class extends _0x2cb2a{constructor(_0xe20ec9,_0x5f49bf,_0x1090c7){const _0x4ca2f8=_0x599345;super(),_(this,_0x4ca2f8(0x224),new Map()),_(this,_0x4ca2f8(0x1de),new _0x53a8b3()),(this[_0x4ca2f8(0x323)]=_0xe20ec9,this[_0x4ca2f8(0x303)]=_0x5f49bf,this[_0x4ca2f8(0x1a5)]=_0x1090c7,this[_0x4ca2f8(0x2b5)]());}[_0x599345(0x282)](){const _0x134268=_0x599345;super[_0x134268(0x282)](),this['_entityInit$'][_0x134268(0x16e)](),this['_entities'][_0x134268(0x172)](_0x467db6=>_0x467db6['dispose']());}['getCollabCursors$'](_0x5d23c7){const _0x58e326=_0x599345;return this[_0x58e326(0x224)][_0x58e326(0x34c)](_0x5d23c7)?this[_0x58e326(0x224)]['get'](_0x5d23c7)[_0x58e326(0x336)]:this[_0x58e326(0x1de)][_0x58e326(0x348)](_0x1621f5(_0x1bf5a9=>_0x1bf5a9[_0x58e326(0x1e6)]===_0x5d23c7),_0x148977(_0x222529=>_0x222529[_0x58e326(0x336)]));}[_0x599345(0x2b5)](){const _0x5c8d50=_0x599345;this[_0x5c8d50(0x323)][_0x5c8d50(0x1a9)](_0x2c13fa[_0x5c8d50(0x35f)])[_0x5c8d50(0x348)](_0x2abc0a(this[_0x5c8d50(0x36e)]))[_0x5c8d50(0x32c)](async _0x2dd71d=>{const _0x5aaa2e=_0x5c8d50,_0x46aada=_0x2dd71d[_0x5aaa2e(0x33f)](),_0x527632=await this[_0x5aaa2e(0x21c)](_0x46aada);this[_0x5aaa2e(0x1de)][_0x5aaa2e(0x343)](_0x527632),this[_0x5aaa2e(0x224)][_0x5aaa2e(0x31d)](_0x46aada,_0x527632);}),this['_univerInstanceService'][_0x5c8d50(0x1a9)](_0x2c13fa[_0x5c8d50(0x287)])[_0x5c8d50(0x348)](_0x2abc0a(this[_0x5c8d50(0x36e)]))['pipe'](_0x1621f5(_0x23834c=>!_0x23834c[_0x5c8d50(0x33f)]()[_0x5c8d50(0x1b1)]('__')))['subscribe'](async _0x4fa16c=>{const _0x46424b=_0x5c8d50,_0x491bb9=_0x4fa16c[_0x46424b(0x33f)](),_0x87007a=await this[_0x46424b(0x248)](_0x491bb9);this[_0x46424b(0x1de)][_0x46424b(0x343)](_0x87007a),this[_0x46424b(0x224)][_0x46424b(0x31d)](_0x491bb9,_0x87007a);}),_0x4cfeb9(this[_0x5c8d50(0x323)][_0x5c8d50(0x1db)](_0x2c13fa[_0x5c8d50(0x287)]),this[_0x5c8d50(0x323)][_0x5c8d50(0x1db)](_0x2c13fa['UNIVER_SHEET']))['pipe'](_0x2abc0a(this[_0x5c8d50(0x36e)]))['subscribe'](_0x3a0952=>{const _0x29424c=_0x5c8d50,_0x307012=_0x3a0952[_0x29424c(0x33f)](),_0x4e0369=this[_0x29424c(0x224)][_0x29424c(0x2c1)](_0x307012);_0x4e0369&&(_0x4e0369[_0x29424c(0x282)](),this[_0x29424c(0x224)][_0x29424c(0x326)](_0x307012));});}async[_0x599345(0x21c)](_0x2d0c78){const _0x5972dd=_0x599345,_0x12a5d2=await this[_0x5972dd(0x1a5)][_0x5972dd(0x2f0)](_0x2d0c78),_0xe081b4=this[_0x5972dd(0x303)][_0x5972dd(0x213)](Me,_0x2d0c78,_0x12a5d2);return _0xe081b4[_0x5972dd(0x25e)](),_0xe081b4;}async['_startDocCollabCursor'](_0x340eb6){const _0xb92a18=_0x599345,_0x607396=await this[_0xb92a18(0x1a5)][_0xb92a18(0x2f0)](_0x340eb6),_0x10d8da=this[_0xb92a18(0x303)][_0xb92a18(0x213)](Ue,_0x340eb6,_0x607396);return _0x10d8da[_0xb92a18(0x25e)](),_0x10d8da;}};F=Ai([me(0x0,_0x5bd8fd),me(0x1,_0x1cbf10(_0x5096fa)),me(0x2,_0x1cbf10(_0x570b74))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x3a2530,_0xc5c8a2){const _0x576d8f=_0x599345;let {radius:_0x376165,width:_0x4e8590,height:_0x50a900}=_0xc5c8a2;_0x376165=_0x376165!=null?_0x376165:0x0,_0x4e8590=_0x4e8590!=null?_0x4e8590:0x1e,_0x50a900=_0x50a900!=null?_0x50a900:0x1e;let _0x1bac62=0x0,_0x274c09=0x0,_0x45d619=0x0;_0x1bac62=_0x274c09=_0x45d619=Math['min'](_0x376165,_0x4e8590/0x2,_0x50a900/0x2),_0x3a2530[_0x576d8f(0x327)](),_0x3a2530['moveTo'](_0x1bac62,0x0),_0x3a2530[_0x576d8f(0x216)](_0x4e8590-_0x274c09,0x0),_0x3a2530[_0x576d8f(0x2f3)](_0x4e8590-_0x274c09,_0x274c09,_0x274c09,Math['PI']*0x3/0x2,0x0,!0x1),_0x3a2530['lineTo'](_0x4e8590,_0x50a900-_0x45d619),_0x3a2530[_0x576d8f(0x2f3)](_0x4e8590-_0x45d619,_0x50a900-_0x45d619,_0x45d619,0x0,Math['PI']/0x2,!0x1),_0x3a2530[_0x576d8f(0x216)](0x0,_0x50a900),_0x3a2530['lineTo'](0x0,_0x1bac62),_0x3a2530['arc'](_0x1bac62,_0x1bac62,_0x1bac62,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3a2530[_0x576d8f(0x208)](),_0xc5c8a2[_0x576d8f(0x221)]&&(_0x3a2530[_0x576d8f(0x19a)](),_0x3a2530[_0x576d8f(0x1ff)]=_0xc5c8a2[_0x576d8f(0x221)],_0xc5c8a2[_0x576d8f(0x369)]==='evenodd'?_0x3a2530['fill']('evenodd'):_0x3a2530['fill'](),_0x3a2530[_0x576d8f(0x1aa)]());}class ue extends _0xe0519b{constructor(_0x394e58,_0x208ece){const _0x4f661c=_0x599345;super(_0x394e58,_0x208ece),_(this,_0x4f661c(0x1d0)),_(this,'text'),(this['color']=_0x208ece==null?void 0x0:_0x208ece[_0x4f661c(0x1d0)],this['text']=_0x208ece==null?void 0x0:_0x208ece['text']);}static[_0x599345(0x263)](_0x5e80c9,_0x19ee3d){const _0x3a799f=_0x599345,{text:_0xabd1c,color:_0x53bf64}=_0x19ee3d;_0x5e80c9[_0x3a799f(0x19a)](),_0x5e80c9[_0x3a799f(0x1a7)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x492b16=_0x5e80c9['measureText'](_0xabd1c)[_0x3a799f(0x30a)],_0xdb1893=Math['min'](_0x492b16+0x2*Ie,Qe);$i(_0x5e80c9,{'height':J,'radius':0x4,'width':_0xdb1893,'fill':_0x53bf64}),_0x5e80c9[_0x3a799f(0x1ff)]='#FFF';const _0x1c94c9=Ie,_0x1b996b=J-yi,_0x4db63f=Qe-0x2*Ie;if(_0x492b16>_0x4db63f){let _0x2e53d5='',_0x2533e1=0x0;for(const _0x3241bd of _0xabd1c){const _0x18e09e=_0x5e80c9[_0x3a799f(0x28b)](_0x3241bd)[_0x3a799f(0x30a)];if(_0x2533e1+_0x18e09e<=_0x4db63f-_0x5e80c9[_0x3a799f(0x28b)](_0x3a799f(0x22c))['width'])_0x2e53d5+=_0x3241bd,_0x2533e1+=_0x18e09e;else{_0x2e53d5+=_0x3a799f(0x22c);break;}}_0x5e80c9[_0x3a799f(0x28a)](_0x2e53d5,_0x1c94c9,_0x1b996b);}else _0x5e80c9[_0x3a799f(0x28a)](_0xabd1c,_0x1c94c9,_0x1b996b);_0x5e80c9[_0x3a799f(0x1aa)]();}[_0x599345(0x22e)](_0x46298b){const _0x598225=_0x599345;ue[_0x598225(0x263)](_0x46298b,this);}}const ve=_0x599345(0x1ee),xi=_0x599345(0x35a),Bi=_0x599345(0x2fa),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x3d26e8,_0x202762,_0x4aacba,_0xbb1ae8){const _0x4147d4=_0x599345;_(this,'_shapes',[]),_(this,_0x4147d4(0x2bc),null),_(this,_0x4147d4(0x355),null),_(this,_0x4147d4(0x219),null),_(this,_0x4147d4(0x2a5),null),_(this,'_eventUnsubscribe',null),(this[_0x4147d4(0x302)]=_0x3d26e8,this[_0x4147d4(0x1e0)]=_0x202762,this[_0x4147d4(0x1cd)]=_0x4aacba,this[_0x4147d4(0x2da)]=_0xbb1ae8,this[_0x4147d4(0x328)]());}set[_0x599345(0x319)](_0x4e130f){const _0x415b4e=_0x599345;_0x4e130f?(this[_0x415b4e(0x219)]&&this[_0x415b4e(0x219)][_0x415b4e(0x183)](),this[_0x415b4e(0x355)]&&this[_0x415b4e(0x355)][_0x415b4e(0x242)]()):(this[_0x415b4e(0x219)]&&this[_0x415b4e(0x219)][_0x415b4e(0x242)](),this[_0x415b4e(0x355)]&&this[_0x415b4e(0x355)]['hide']());}[_0x599345(0x282)](){const _0x61c20=_0x599345;for(const _0x3dcf8f of this[_0x61c20(0x2e8)])_0x3dcf8f['dispose']();this[_0x61c20(0x355)]&&this[_0x61c20(0x355)][_0x61c20(0x282)](),this[_0x61c20(0x219)]&&this[_0x61c20(0x219)]['dispose'](),this[_0x61c20(0x2bc)]&&this[_0x61c20(0x2bc)][_0x61c20(0x282)](),this[_0x61c20(0x2ee)]&&this[_0x61c20(0x2ee)]();}[_0x599345(0x328)](){const _0x4bd5df=_0x599345;var _0x5ac807;const {_docSkeleton:_0x5c1c74,_document:_0x1f9619}=this,{color:_0x141877,name:_0x662b4c,ranges:_0x3109c3}=this[_0x4bd5df(0x302)],_0x1fc8bc=_0x1f9619[_0x4bd5df(0x243)](),{docsLeft:_0x2e91d7,docsTop:_0x13a3ec}=_0x1fc8bc,_0xd4b4c9=new _0x46f081(_0x1fc8bc,_0x5c1c74);for(const {startOffset:_0x385018,endOffset:_0x166822,rangeType:_0x3ab1c6,segmentId:_0x50c11a,segmentPage:_0x1bf45b,collapsed:_0x27e67f,isActive:_0x6d6a85}of _0x3109c3){const _0x543a74=_0x5c1c74[_0x4bd5df(0x32a)](_0x385018,!0x0,_0x50c11a,_0x1bf45b);let _0x406db9=_0x5c1c74['findNodePositionByCharIndex'](_0x166822,!0x0,_0x50c11a,_0x1bf45b);if(_0x406db9==null&&(_0x406db9=_0x5c1c74['findNodePositionByCharIndex'](_0x166822-0x1,!0x1,_0x50c11a,_0x1bf45b)),_0x6d6a85){const {contentBoxPointGroup:_0x441ff7}=_0xd4b4c9[_0x4bd5df(0x2c4)](_0x406db9,_0x406db9);if(_0x441ff7[_0x4bd5df(0x309)]===0x0)continue;this[_0x4bd5df(0x321)](_0x141877,_0x441ff7,_0x2e91d7,_0x13a3ec,_0x662b4c),this[_0x4bd5df(0x2ee)]=this[_0x4bd5df(0x375)]();}if(_0x543a74&&_0x406db9){if(_0x3ab1c6===_0x56dc04[_0x4bd5df(0x335)]){const _0x30ae96=new _0x24e4de(_0x1fc8bc,_0x5c1c74),{pointGroup:_0x37d3b8}=(_0x5ac807=_0x30ae96[_0x4bd5df(0x2c4)](_0x543a74,_0x406db9))!=null?_0x5ac807:{};if(_0x37d3b8==null||_0x37d3b8['length']===0x0)continue;this[_0x4bd5df(0x1ab)](_0x141877,_0x37d3b8,_0x2e91d7,_0x13a3ec);}else{if(!_0x27e67f){const {borderBoxPointGroup:_0x422cbf}=_0xd4b4c9[_0x4bd5df(0x2c4)](_0x543a74,_0x406db9);if(_0x422cbf[_0x4bd5df(0x309)]===0x0)continue;this[_0x4bd5df(0x196)](_0x141877,_0x422cbf,_0x2e91d7,_0x13a3ec);}}}}}['_drawAnchor'](_0x1f5a4d,_0x387e82,_0x1f1e2b,_0x4a15dc,_0xf6c89b){const _0x83fef1=_0x599345,_0x23e8f0=this['_getAnchorBounding'](_0x387e82),{left:_0x16c5a0,top:_0x81fe41,height:_0xafb3f8}=_0x23e8f0,_0x9229a7=this[_0x83fef1(0x314)](),_0x1e1657=Hi/_0x9229a7,_0x301eb5=new _0x455129(ve+_0x4feca8(K),{'left':_0x16c5a0+_0x1f1e2b-_0x1e1657,'top':_0x81fe41+_0x4a15dc,'height':_0xafb3f8,'width':ki,'fill':_0x1f5a4d||_0x43e280(_0x239945['black'],0x0),'strokeWidth':_0x1e1657,'stroke':Fi,'evented':!0x0});this['_anchor']=_0x301eb5,this[_0x83fef1(0x1e0)]['addObject'](_0x301eb5,_0x495d53);const _0x1ef3f2=new _0x455129(ve+_0x4feca8(K),{'left':_0x16c5a0+_0x1f1e2b-_0x1e1657,'top':_0x81fe41+_0x4a15dc-ge/0x2,'height':ge,'width':ge,'fill':_0x1f5a4d||_0x43e280(_0x239945[_0x83fef1(0x2ca)],0x0),'strokeWidth':0x0,'stroke':_0x1f5a4d||_0x43e280(_0x239945[_0x83fef1(0x2ca)],0x0),'evented':!0x1});this[_0x83fef1(0x219)]=_0x1ef3f2,this[_0x83fef1(0x1e0)]['addObject'](_0x1ef3f2,_0x495d53);const _0x1cd1e0=new ue(ve+_0x4feca8(K),{'left':_0x16c5a0+_0x1f1e2b-_0x1e1657,'top':_0x81fe41+_0x4a15dc-J,'text':_0xf6c89b,'color':_0x1f5a4d});this[_0x83fef1(0x355)]=_0x1cd1e0,this['_scene'][_0x83fef1(0x21a)](_0x1cd1e0,_0x495d53),this[_0x83fef1(0x319)]=!0x1;}[_0x599345(0x375)](){const _0x2b6696=_0x599345,_0x52a708=this[_0x2b6696(0x2bc)][_0x2b6696(0x285)][_0x2b6696(0x2b8)](()=>{const _0xf6a6a7=_0x2b6696;this[_0xf6a6a7(0x319)]=!0x0;}),_0x5be9fb=this[_0x2b6696(0x2bc)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x52efe9=_0x2b6696;this[_0x52efe9(0x2a5)]&&clearTimeout(this[_0x52efe9(0x2a5)]),this[_0x52efe9(0x2a5)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x52a708['unsubscribe'](),_0x5be9fb['unsubscribe']();};}[_0x599345(0x196)](_0x2335f0,_0x4ff8ad,_0x5225ce,_0x54e931){const _0x4be9b5=_0x599345,_0x3a0239=new _0x6a24fb(_0x2335f0)[_0x4be9b5(0x205)](0.2)['toRgbString'](),_0x4858c6=new _0x51b771(xi+_0x4feca8(K),{'pointsGroup':_0x4ff8ad,'fill':_0x3a0239||_0x43e280(_0x239945[_0x4be9b5(0x2ca)],0.2),'left':_0x5225ce,'top':_0x54e931,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4be9b5(0x2fd)](_0x4858c6),this[_0x4be9b5(0x1e0)]['addObject'](_0x4858c6,_0x495d53);}[_0x599345(0x1ab)](_0x15ec9a,_0x44d63e,_0x445b37,_0x220bd3){const _0x2049e3=_0x599345,_0xcfab0b=new _0x6a24fb(_0x15ec9a)[_0x2049e3(0x205)](0.2)[_0x2049e3(0x230)](),_0x210f5f=new _0x51b771(Bi+_0x4feca8(K),{'pointsGroup':_0x44d63e,'fill':_0xcfab0b||_0x43e280(_0x239945[_0x2049e3(0x2ca)],0.2),'left':_0x445b37,'top':_0x220bd3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2049e3(0x2e8)]['push'](_0x210f5f),this['_scene'][_0x2049e3(0x21a)](_0x210f5f,_0x495d53);}['_getAnchorBounding'](_0x5aa413){const _0x4874d1=_0x5aa413[0x0],_0x201f1f=_0x4874d1[0x0],_0x26544b=_0x4874d1[0x2],{x:_0x302584,y:_0x1c3a4c}=_0x201f1f,{x:_0x324c5b,y:_0x3f922d}=_0x26544b;return{'left':_0x302584,'top':_0x1c3a4c,'width':_0x324c5b-_0x302584,'height':_0x3f922d-_0x1c3a4c};}[_0x599345(0x314)](){const {scaleX:_0x423000,scaleY:_0x439b28}=this['_scene']['getAncestorScale']();return Math['max'](_0x423000,_0x439b28);}}var Yi=Object['getOwnPropertyDescriptor'],ji=(_0x132e89,_0x25f9b7,_0xbda832,_0x3abea3)=>{const _0x33209c=_0x599345;for(var _0x280827=_0x3abea3>0x1?void 0x0:_0x3abea3?Yi(_0x25f9b7,_0xbda832):_0x25f9b7,_0x207a13=_0x132e89[_0x33209c(0x309)]-0x1,_0x5ce5b9;_0x207a13>=0x0;_0x207a13--)(_0x5ce5b9=_0x132e89[_0x207a13])&&(_0x280827=_0x5ce5b9(_0x280827)||_0x280827);return _0x280827;},ee=(_0x14f136,_0x2d2299)=>(_0xbdc25b,_0x21f3a5)=>_0x2d2299(_0xbdc25b,_0x21f3a5,_0x14f136);let Le=class extends _0x2cb2a{constructor(_0x204988,_0xd6ed45,_0x508b01,_0x474a10,_0x586f83){const _0x49a2bc=_0x599345;super(),_(this,'_cursorShapes',[]),_(this,_0x49a2bc(0x1a8),[]),(this[_0x49a2bc(0x35c)]=_0x204988,this[_0x49a2bc(0x1d8)]=_0xd6ed45,this['_collabCursorController']=_0x508b01,this['_commandService']=_0x474a10,this['_themeService']=_0x586f83,this[_0x49a2bc(0x2b5)]());}[_0x599345(0x2b5)](){const _0x2543d2=_0x599345,_0x3383e3=this[_0x2543d2(0x35c)][_0x2543d2(0x36a)],_0x354477=this[_0x2543d2(0x1d8)];this[_0x2543d2(0x2ef)](_0x29f85b([this[_0x2543d2(0x171)][_0x2543d2(0x1d3)](_0x3383e3),this[_0x2543d2(0x245)]['currentTheme$']])[_0x2543d2(0x348)](_0x38f408(([_0x4b3311,_0x4a7196])=>({'skeleton':_0x354477[_0x2543d2(0x31e)](),'cursors':[..._0x4b3311['values']()][_0x2543d2(0x190)](_0xf20efe=>({..._0xf20efe,'color':this[_0x2543d2(0x245)]['getColorFromTheme'](_0xf20efe[_0x2543d2(0x1d0)])}))})))[_0x2543d2(0x32c)](_0xb4f50d=>{const _0x143171=_0x2543d2;if(this[_0x143171(0x377)](),_0xb4f50d){const {skeleton:_0x8e272b,cursors:_0x13ab4c}=_0xb4f50d;this[_0x143171(0x1be)](_0x8e272b,_0x13ab4c);}})),this[_0x2543d2(0x312)](),this[_0x2543d2(0x203)]();}[_0x599345(0x1be)](_0x42b926,_0x1543af){const _0x35f727=_0x599345,{scene:_0x4fcb16,mainComponent:_0x551578}=this['_context'],_0x44bd87=_0x1543af['map'](_0x39f6f7=>new qe(_0x39f6f7,_0x4fcb16,_0x42b926,_0x551578));this[_0x35f727(0x33b)]=_0x44bd87,this['_cursors']=_0x1543af;}[_0x599345(0x2f6)](){const _0x68297f=_0x599345;this[_0x68297f(0x377)]();const {scene:_0x178023,mainComponent:_0xbc1a60}=this[_0x68297f(0x35c)],_0x17a32d=this[_0x68297f(0x1d8)]['getSkeleton'](),_0x688b90=this['_cursors']['map'](_0x406094=>new qe(_0x406094,_0x178023,_0x17a32d,_0xbc1a60));this['_cursorShapes']=_0x688b90;}[_0x599345(0x377)](){const _0x3586a7=_0x599345;this[_0x3586a7(0x33b)][_0x3586a7(0x172)](_0x4de09e=>_0x4de09e['dispose']()),this[_0x3586a7(0x33b)]=[];}['_initCommandExecutedListener'](){const _0x22d817=_0x599345,_0x277892=[_0x5c27a1['id']];this[_0x22d817(0x2ef)](this[_0x22d817(0x1cb)]['onCommandExecuted'](_0x4eda6d=>{const _0x357a44=_0x22d817;_0x277892[_0x357a44(0x256)](_0x4eda6d['id'])&&_0x4eda6d[_0x357a44(0x2e4)][_0x357a44(0x36a)]===this['_context'][_0x357a44(0x36a)]&&this['_refreshCollabCursors']();}));}[_0x599345(0x312)](){const _0x213ac5=_0x599345;this['disposeWithMe'](_0x2e090f(this['_context'][_0x213ac5(0x177)][_0x213ac5(0x189)])[_0x213ac5(0x348)](_0x201453(_0x5263ee=>_0x5263ee[_0x213ac5(0x325)]===_0x4c58bd[_0x213ac5(0x28c)]),_0x23c7cc(0x10))[_0x213ac5(0x32c)](()=>{const _0x2a7b63=_0x213ac5;this[_0x2a7b63(0x2f6)]();}));}};Le=ji([ee(0x1,_0x1cbf10(_0x1a8861)),ee(0x2,_0x1cbf10(F)),ee(0x3,_0x56819f),ee(0x4,_0x1cbf10(_0x374bfd))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0xe0519b{constructor(_0x369ccf,_0xfb7b43){const _0x39b0f7=_0x599345;super(_0x369ccf,_0xfb7b43),_(this,_0x39b0f7(0x2d3)),_(this,_0x39b0f7(0x246),!0x1),_(this,_0x39b0f7(0x1a6)),_(this,_0x39b0f7(0x34e),''),_(this,'_labelPosition',_0x39b0f7(0x358)),_(this,'_backgroundColor'),(_0xfb7b43&&this[_0x39b0f7(0x18c)](_0xfb7b43),this[_0x39b0f7(0x285)][_0x39b0f7(0x2b8)](()=>this[_0x39b0f7(0x18c)]({'hovered':!0x0})),this[_0x39b0f7(0x370)]['subscribeEvent'](()=>this[_0x39b0f7(0x18c)]({'hovered':!0x1})));}['setShapeProps'](_0x5abb50){const _0x322cb4=_0x599345;var _0x17aae7,_0x488f5c,_0x41d0e3,_0x4d4f80,_0x5281df,_0x55f807;this[_0x322cb4(0x2d3)]=(_0x17aae7=_0x5abb50[_0x322cb4(0x1d0)])!=null?_0x17aae7:this[_0x322cb4(0x2d3)],this[_0x322cb4(0x246)]=(_0x488f5c=_0x5abb50[_0x322cb4(0x30d)])!=null?_0x488f5c:this[_0x322cb4(0x246)],this[_0x322cb4(0x1a6)]=(_0x41d0e3=_0x5abb50['range'])!=null?_0x41d0e3:this[_0x322cb4(0x1a6)],this['_name']=(_0x4d4f80=_0x5abb50[_0x322cb4(0x2bd)])!=null?_0x4d4f80:this[_0x322cb4(0x34e)],this[_0x322cb4(0x315)]=(_0x5281df=_0x5abb50[_0x322cb4(0x271)])!=null?_0x5281df:this[_0x322cb4(0x315)],this[_0x322cb4(0x1c0)]=(_0x55f807=_0x5abb50['backgroundColor'])!=null?_0x55f807:this[_0x322cb4(0x1c0)],this[_0x322cb4(0x1bb)]({'width':_0x5abb50[_0x322cb4(0x30a)],'height':_0x5abb50[_0x322cb4(0x2d1)]});}[_0x599345(0x259)](_0x2ed931){const _0x5103ec=_0x599345,{row:_0x6f3e12,column:_0x48c889}=_0x2ed931;if(_0x6f3e12>=this[_0x5103ec(0x1a6)][_0x5103ec(0x1c1)]&&_0x6f3e12<=this[_0x5103ec(0x1a6)][_0x5103ec(0x284)]&&_0x48c889>=this['_range']['startColumn']&&_0x48c889<=this[_0x5103ec(0x1a6)][_0x5103ec(0x2fe)]){this[_0x5103ec(0x18c)]({'hovered':!0x0});return;}this[_0x5103ec(0x18c)]({'hovered':!0x1});}[_0x599345(0x180)](_0x4994d6){return!0x1;}[_0x599345(0x22e)](_0x28ac82){const _0x1af720=_0x599345;_0x455129[_0x1af720(0x263)](_0x28ac82,{'width':this['width'],'height':this[_0x1af720(0x2d1)],'strokeWidth':Wi,'stroke':this[_0x1af720(0x2d3)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x28ac82['save'](),_0x28ac82[_0x1af720(0x261)](0x1,0x0,0x0,0x1,this[_0x1af720(0x30a)],this[_0x1af720(0x315)]===_0x1af720(0x1f0)?0x0:-J),ue[_0x1af720(0x263)](_0x28ac82,{'text':this[_0x1af720(0x34e)],'color':this[_0x1af720(0x2d3)]}),_0x28ac82[_0x1af720(0x1aa)]());}}var Gi=Object[_0x599345(0x2ab)],Ki=(_0x8ffa42,_0x5a75a2,_0x4dbef7,_0xf4435b)=>{for(var _0x199094=_0xf4435b>0x1?void 0x0:_0xf4435b?Gi(_0x5a75a2,_0x4dbef7):_0x5a75a2,_0x50ed27=_0x8ffa42['length']-0x1,_0x39284d;_0x50ed27>=0x0;_0x50ed27--)(_0x39284d=_0x8ffa42[_0x50ed27])&&(_0x199094=_0x39284d(_0x199094)||_0x199094);return _0x199094;},pe=(_0x53c10b,_0x170146)=>(_0x3f3c4e,_0x52b78c)=>_0x170146(_0x3f3c4e,_0x52b78c,_0x53c10b);const zi=0x1389;let Pe=class extends _0x2cb2a{constructor(_0x2edd61,_0x4d6c7e,_0x559179,_0x24d3ec){const _0x1583bd=_0x599345;super(),_(this,_0x1583bd(0x1a8),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x2edd61,this[_0x1583bd(0x1ad)]=_0x4d6c7e,this['_collabCursorController']=_0x559179,this[_0x1583bd(0x245)]=_0x24d3ec,this[_0x1583bd(0x2b5)]());}[_0x599345(0x2b5)](){const _0x207b72=_0x599345;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x3e781d(this[_0x207b72(0x36e)]),_0x381586(_0x442835=>{const _0x2c1b24=_0x207b72;if(_0x442835){const _0x641db3=_0x442835[_0x2c1b24(0x1da)];return _0x29f85b(this[_0x2c1b24(0x171)][_0x2c1b24(0x1d3)](this[_0x2c1b24(0x35c)][_0x2c1b24(0x36a)]),this[_0x2c1b24(0x245)][_0x2c1b24(0x182)])[_0x2c1b24(0x348)](_0x38f408(([_0x2ff0d6,_0x3d8997])=>{const _0x2f7563=new Map();return _0x2ff0d6['forEach']((_0x44e418,_0x3c61c3)=>{const _0x33c70c=_0x1fe7;if(_0x44e418[_0x33c70c(0x254)]===_0x641db3){const _0x2f7cad={..._0x44e418};_0x2f7cad[_0x33c70c(0x1d0)]=this[_0x33c70c(0x245)][_0x33c70c(0x185)](_0x44e418[_0x33c70c(0x1d0)]),_0x2f7563[_0x33c70c(0x31d)](_0x3c61c3,_0x2f7cad);}}),{'skeleton':_0x442835,'cursors':_0x2f7563};}));}return _0x18014b({'skeleton':null,'cursors':new Map()});}))[_0x207b72(0x32c)](({skeleton:_0x29dd66,cursors:_0xb6c86a})=>{const _0x39996d=_0x207b72;this[_0x39996d(0x377)](),_0x29dd66&&this[_0x39996d(0x1be)](_0x29dd66,_0xb6c86a);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x207b72(0x32c)](_0x324c76=>{if(_0x324c76==null)return;const {skeleton:_0x3ef4bf}=_0x324c76,{scene:_0x49e808}=this['_context'];_0x49e808['onPointerMove$']['subscribeEvent'](_0x25bcfa(_0x4b55e2=>{const _0x2f5a9f=_0x1fe7;var _0x4ce61a,_0x337f43;const {offsetX:_0x5b4899,offsetY:_0x31bbfe}=_0x4b55e2,{x:_0x35476c,y:_0x506bb1}=_0x49e808[_0x2f5a9f(0x22a)](_0xc8d42b['FromArray']([_0x5b4899,_0x31bbfe])),{scaleX:_0x25bae5,scaleY:_0x486566}=_0x49e808['getAncestorScale'](),_0xa3757a=_0x49e808[_0x2f5a9f(0x34f)](_0xf37fad[_0x2f5a9f(0x1e2)]),_0x32109e=_0x49e808[_0x2f5a9f(0x296)](_0xc8d42b[_0x2f5a9f(0x2ba)]([_0x35476c,_0x506bb1]),_0xa3757a),_0x19e7a6=_0x3ef4bf[_0x2f5a9f(0x374)](_0x5b4899,_0x31bbfe,_0x25bae5,_0x486566,_0x32109e);((_0x4ce61a=this['_lastPointer'])==null?void 0x0:_0x4ce61a['column'])===_0x19e7a6['column']&&((_0x337f43=this[_0x2f5a9f(0x176)])==null?void 0x0:_0x337f43['row'])===_0x19e7a6[_0x2f5a9f(0x360)]||this['_cursors'][_0x2f5a9f(0x172)](_0x3710ba=>{_0x3710ba['onMouseMove'](_0x19e7a6);});},0x64));});}[_0x599345(0x1be)](_0x222da0,_0x56ca8d){const _0x57754e=_0x599345;var _0x93631e;const _0xdbb9bd=(_0x93631e=this[_0x57754e(0x1ad)][_0x57754e(0x29c)]())==null?void 0x0:_0x93631e['skeleton'];if(!_0xdbb9bd)return;const _0x545362=this['_getSheetObject']();if(!_0x545362)return;this[_0x57754e(0x1a8)][_0x57754e(0x172)](_0x214d9f=>{const _0x380625=_0x57754e;_0x214d9f[_0x380625(0x1b2)]();});const {scene:_0x14e406}=_0x545362,_0x3aa8f5=Ji(Array[_0x57754e(0x1e5)](_0x56ca8d[_0x57754e(0x187)]()))['map'](_0x4eac31=>{const _0x4c7fb4=_0x57754e,{color:_0x316ce5,range:_0x1d6f2f,name:_0x38f20f,selection:_0x404a26,sheetID:_0x208bce}=_0x4eac31,{startColumn:_0xf2dd7f,startRow:_0x5ad1dd,endColumn:_0x42317a,endRow:_0x1dc385}=_0x1d6f2f,_0x5c00e8=_0x32ccb7(_0x5ad1dd,_0xf2dd7f,_0x14e406,_0xdbb9bd),_0x496233=_0x32ccb7(_0x1dc385,_0x42317a,_0x14e406,_0xdbb9bd),{columnHeaderHeightAndMarginTop:_0xa2f240}=_0xdbb9bd,{startX:_0x2a8177,startY:_0x395f48}=_0x5c00e8,{endX:_0x300b77,endY:_0x26f98f}=_0x496233,_0x255b76=_0x300b77-_0x2a8177,_0x24348c=_0x26f98f-_0x395f48,_0x34f064={'labelPosition':_0x395f48-_0xa2f240>=J?_0x4c7fb4(0x358):_0x4c7fb4(0x1f0),'sheetID':_0x208bce,'range':_0x1d6f2f,'color':_0x316ce5,'name':_0x38f20f,'selection':_0x404a26,'left':_0x2a8177,'top':_0x395f48,'width':_0x255b76,'height':_0x24348c,'evented':!0x1,'zIndex':zi};return new Xi(_0x38f20f,_0x34f064);});_0x14e406[_0x57754e(0x338)](_0x3aa8f5,Vi),this['_cursors']=new Set(_0x3aa8f5);}[_0x599345(0x377)](){const _0x26fb18=_0x599345;var _0x4ab609;(_0x4ab609=this['_cursors'])==null||_0x4ab609['forEach'](_0xd51628=>_0xd51628[_0x26fb18(0x282)]());}[_0x599345(0x1e3)](){const _0x3d4978=_0x599345;return _0x178a7d(this[_0x3d4978(0x35c)][_0x3d4978(0x1d9)],this['_context']);}};Pe=Ki([pe(0x1,_0x1cbf10(_0x21c3b1)),pe(0x2,_0x1cbf10(F)),pe(0x3,_0x1cbf10(_0x374bfd))],Pe);function Ji(_0x29399b){const _0x6b30d1=_0x599345,_0xb7197=new Map();return _0x29399b[_0x6b30d1(0x172)](_0x2cf2ef=>{const _0x321ac1=_0x6b30d1;if(_0xb7197[_0x321ac1(0x34c)](_0x2cf2ef[_0x321ac1(0x36c)])){const _0x580ce9=_0xb7197[_0x321ac1(0x2c1)](_0x2cf2ef[_0x321ac1(0x36c)]);_0x580ce9[_0x321ac1(0x2bd)]+=',\x20'+_0x2cf2ef[_0x321ac1(0x2bd)];}else _0xb7197['set'](_0x2cf2ef['selection'],_0x2cf2ef);}),Array[_0x6b30d1(0x1e5)](_0xb7197[_0x6b30d1(0x187)]());}var Zi=Object[_0x599345(0x2ab)],Qi=(_0x44fab0,_0x327a60,_0x3f4c33,_0x3f29f9)=>{const _0x4e4cf3=_0x599345;for(var _0xa81a2=_0x3f29f9>0x1?void 0x0:_0x3f29f9?Zi(_0x327a60,_0x3f4c33):_0x327a60,_0x46301b=_0x44fab0[_0x4e4cf3(0x309)]-0x1,_0x2614e2;_0x46301b>=0x0;_0x46301b--)(_0x2614e2=_0x44fab0[_0x46301b])&&(_0xa81a2=_0x2614e2(_0xa81a2)||_0xa81a2);return _0xa81a2;},B=(_0x1dfdb9,_0xcca3a)=>(_0x160738,_0x4a7572)=>_0xcca3a(_0x160738,_0x4a7572,_0x1dfdb9);let ne=class extends _0x4999ff{constructor(_0x35707e,_0x1b9a10,_0x15f97b,_0x77f8f5,_0x1b24d0,_0x21dfa7){const _0x5ec843=_0x599345;super(),this['_beforeCloseService']=_0x35707e,this[_0x5ec843(0x2e7)]=_0x1b9a10,this[_0x5ec843(0x298)]=_0x15f97b,this[_0x5ec843(0x188)]=_0x77f8f5,this[_0x5ec843(0x311)]=_0x1b24d0,this[_0x5ec843(0x236)]=_0x21dfa7,this[_0x5ec843(0x22b)](),this[_0x5ec843(0x2e6)]();}['_setupBeforeClosingHandler'](){const _0x55104f=_0x599345;this['disposeWithMe'](this[_0x55104f(0x32d)][_0x55104f(0x255)](()=>{const _0x56be22=_0x55104f;if(this['_localCacheService'][_0x56be22(0x2c6)][_0x56be22(0x27f)])return this[_0x56be22(0x236)]['t'](_0x56be22(0x339));}));}['_initEvent'](){const _0x23050b=_0x599345;this['disposeWithMe'](this[_0x23050b(0x298)][_0x23050b(0x1d4)][_0x23050b(0x32c)](_0x182946=>{const _0x25971d=_0x23050b;_0x182946['id']===_0x1293f3[_0x25971d(0x372)]&&this[_0x25971d(0x188)][_0x25971d(0x242)]({'type':_0x4f6623[_0x25971d(0x258)],'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x220))}),_0x182946['id']===_0x1293f3[_0x25971d(0x170)]&&this[_0x25971d(0x188)][_0x25971d(0x242)]({'type':_0x4f6623['Warning'],'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x272))}),_0x182946['id']===_0x1293f3['PERMISSION_DENIED']&&this['_notificationService'][_0x25971d(0x242)]({'title':this[_0x25971d(0x236)]['t'](_0x25971d(0x233)),'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x31b)),'type':'error','duration':0x0}),_0x182946['id']===_0x1293f3[_0x25971d(0x362)]&&this[_0x25971d(0x188)][_0x25971d(0x242)]({'type':_0x4f6623[_0x25971d(0x26a)],'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x272))+'('+_0x182946['data']+')'}),_0x182946['id']===_0x1293f3[_0x25971d(0x37a)]&&this[_0x25971d(0x188)][_0x25971d(0x242)]({'type':_0x4f6623[_0x25971d(0x258)],'content':this[_0x25971d(0x236)]['t'](_0x182946[_0x25971d(0x266)]||'')}),_0x182946['id']===_0x1293f3[_0x25971d(0x330)]&&this[_0x25971d(0x188)][_0x25971d(0x242)]({'type':_0x4f6623[_0x25971d(0x258)],'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x1bd))}),_0x182946['id']===_0x1293f3[_0x25971d(0x356)]&&this['_messageService'][_0x25971d(0x242)]({'type':_0x4f6623[_0x25971d(0x26a)],'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x2d7))}),_0x182946['id']===_0x1293f3['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x25971d(0x188)][_0x25971d(0x242)]({'type':_0x4f6623[_0x25971d(0x26a)],'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x23f))});}));}};ne=Qi([B(0x0,_0x150887),B(0x1,_0x3dac38),B(0x2,_0x1cbf10(_0xbe2638)),B(0x3,_0x465d3e),B(0x4,_0x2b785a),B(0x5,_0x1cbf10(_0x16f669))],ne);const qi='collaboration-client-ui.config',et={};var en=Object['getOwnPropertyDescriptor'],tn=(_0x2f851,_0x19b90f,_0x3b7683,_0x1bf8b1)=>{const _0x1f3981=_0x599345;for(var _0xa7caa0=_0x1bf8b1>0x1?void 0x0:_0x1bf8b1?en(_0x19b90f,_0x3b7683):_0x19b90f,_0x24643a=_0x2f851[_0x1f3981(0x309)]-0x1,_0x1a7f2a;_0x24643a>=0x0;_0x24643a--)(_0x1a7f2a=_0x2f851[_0x24643a])&&(_0xa7caa0=_0x1a7f2a(_0xa7caa0)||_0xa7caa0);return _0xa7caa0;},tt=(_0x36603b,_0xaf461a)=>(_0xbd40e6,_0x4946ea)=>_0xaf461a(_0xbd40e6,_0x4946ea,_0x36603b);let re=class{constructor(_0x53b0d8,_0x5415c4){this['_transformService']=_0x53b0d8,this['_renderManagerService']=_0x5415c4;}['transformIMECache'](_0x8b8703){const _0x2b6b57=_0x599345;this[_0x2b6b57(0x1f3)](_0x8b8703),this[_0x2b6b57(0x2c7)](_0x8b8703);}[_0x599345(0x27a)](_0x24dd2f){const _0x5641cd=_0x599345,{unitID:_0x33354a}=_0x24dd2f,_0x518fe6=this[_0x5641cd(0x1c6)][_0x5641cd(0x20d)](_0x33354a)[_0x5641cd(0x2c2)](_0x430150),{redoCache:_0x4a44eb}=_0x518fe6[_0x5641cd(0x250)]();if(_0x4a44eb['length']===0x0)return _0x24dd2f;let _0xbba933=_0x466a6b[_0x5641cd(0x367)](_0x24dd2f['mutations'][0x0]);for(let _0x11e5fc=0x0;_0x11e5fc<_0x4a44eb[_0x5641cd(0x309)];_0x11e5fc++){const _0x574a19={'id':'doc.mutation.rich-text-editing','params':{..._0x4a44eb[_0x11e5fc]}},_0x26adf6=this[_0x5641cd(0x2c9)]['transformMutation'](_0xbba933,_0x574a19,!0x1);if(_0xfc9cee(_0x26adf6))throw _0x26adf6[_0x5641cd(0x1b8)];_0xbba933=_0x26adf6[_0x5641cd(0x1b5)];}return{..._0x466a6b[_0x5641cd(0x367)](_0x24dd2f),'mutations':[_0xbba933]};}[_0x599345(0x1f3)](_0x136b9f){const _0x2093f7=_0x599345,{unitID:_0x3a4706}=_0x136b9f,_0x584a4e=this[_0x2093f7(0x1c6)][_0x2093f7(0x20d)](_0x3a4706)[_0x2093f7(0x2c2)](_0x430150),{undoCache:_0x21b4b0,redoCache:_0x27d4ef}=_0x584a4e[_0x2093f7(0x250)]();if(_0x21b4b0['length']===0x0||_0x27d4ef[_0x2093f7(0x309)]===0x0)return;const _0x313e31=[],_0x1141d7=[];let _0x13f8bb=_0x466a6b[_0x2093f7(0x367)](_0x136b9f[_0x2093f7(0x268)][0x0]),_0x3af1b8=_0x466a6b[_0x2093f7(0x367)](_0x136b9f[_0x2093f7(0x268)][0x0]);for(let _0x585574=_0x21b4b0[_0x2093f7(0x309)]-0x1;_0x585574>=0x0;_0x585574--){const _0x5a720c={'id':_0x2093f7(0x33a),'params':{..._0x21b4b0[_0x585574]}},_0x23c9c2={'id':'doc.mutation.rich-text-editing','params':{..._0x27d4ef[_0x585574]}},_0x429763=this['_transformService'][_0x2093f7(0x1fb)](_0x13f8bb,_0x5a720c,!0x1),_0x575a00=this[_0x2093f7(0x2c9)][_0x2093f7(0x1fb)](_0x3af1b8,_0x23c9c2,!0x1);if(_0xfc9cee(_0x429763))throw _0x429763[_0x2093f7(0x1b8)];if(_0xfc9cee(_0x575a00))throw _0x575a00['error'];_0x313e31[_0x2093f7(0x286)](_0x429763[_0x2093f7(0x24f)][_0x2093f7(0x2e4)]),_0x1141d7[_0x2093f7(0x286)](_0x575a00[_0x2093f7(0x24f)][_0x2093f7(0x2e4)]),_0x13f8bb=_0x429763[_0x2093f7(0x1b5)],_0x3af1b8=_0x575a00['m1Prime'];}_0x584a4e[_0x2093f7(0x2a6)]({'undoCache':_0x313e31,'redoCache':_0x1141d7});}[_0x599345(0x2c7)](_0x5e0369){const _0x66c92e=_0x599345,{unitID:_0x43e9a3}=_0x5e0369,_0x44d999=this[_0x66c92e(0x1c6)]['getRenderById'](_0x43e9a3)[_0x66c92e(0x2c2)](_0x430150),_0x188a6a=_0x44d999[_0x66c92e(0x1e9)]();if(_0x188a6a==null)return;const _0x50a46f=[{'id':_0x66c92e(0x33a),'params':{'unitId':_0x5e0369[_0x66c92e(0x1e6)],'actions':null,'textRanges':[_0x188a6a]}}],_0x1692fd=this[_0x66c92e(0x2c9)]['transformMutationsWithChangeset'](_0x5e0369,_0x50a46f);if(!_0x1b6b99(_0x1692fd))throw _0x1692fd[_0x66c92e(0x1b8)];const _0x5ef76d=_0x1692fd['m2Prime'][0x0][_0x66c92e(0x2e4)][_0x66c92e(0x240)];Array[_0x66c92e(0x229)](_0x5ef76d)&&_0x5ef76d[_0x66c92e(0x309)]&&_0x44d999[_0x66c92e(0x289)](_0x5ef76d[0x0]);}};re=tn([tt(0x0,_0x401880),tt(0x1,_0x255be2)],re);var sn=Object[_0x599345(0x2ab)],nn=(_0x4a1c15,_0x301363,_0x509784,_0x42612c)=>{const _0x532022=_0x599345;for(var _0x1873dd=_0x42612c>0x1?void 0x0:_0x42612c?sn(_0x301363,_0x509784):_0x301363,_0x159c95=_0x4a1c15[_0x532022(0x309)]-0x1,_0x485718;_0x159c95>=0x0;_0x159c95--)(_0x485718=_0x4a1c15[_0x159c95])&&(_0x1873dd=_0x485718(_0x1873dd)||_0x1873dd);return _0x1873dd;},Ce=(_0x192de3,_0x573b60)=>(_0x2cc6e3,_0x26b5af)=>_0x573b60(_0x2cc6e3,_0x26b5af,_0x192de3);let oe=class{constructor(_0x3b0df3,_0x343f7d,_0x4f9cb0){const _0x31dec9=_0x599345;this['_injector']=_0x3b0df3,this[_0x31dec9(0x2c9)]=_0x343f7d,this['_docStateChangeManagerService']=_0x4f9cb0;}[_0x599345(0x201)](_0xec6ceb){this['_transformHistoryAndStateStack'](_0xec6ceb);}[_0x599345(0x27a)](_0x2abea7){const _0x28616c=_0x599345,{unitID:_0x4755a0}=_0x2abea7,{collaboration:_0x3e257d}=this[_0x28616c(0x27d)][_0x28616c(0x37b)](_0x4755a0);if(_0x3e257d[_0x28616c(0x309)]===0x0)return _0x2abea7;let _0x3cf917=_0x466a6b[_0x28616c(0x367)](_0x2abea7[_0x28616c(0x268)][0x0]);for(let _0x50d853=0x0;_0x50d853<_0x3e257d[_0x28616c(0x309)];_0x50d853++){const _0x3a9f35={'id':_0x28616c(0x33a),'params':{'unitId':_0x3e257d[_0x50d853][_0x28616c(0x36a)],..._0x3e257d[_0x50d853][_0x28616c(0x293)]}},_0x463976=this['_transformService'][_0x28616c(0x1fb)](_0x3cf917,_0x3a9f35,!0x1);if(_0xfc9cee(_0x463976))throw _0x463976[_0x28616c(0x1b8)];_0x3cf917=_0x463976[_0x28616c(0x1b5)];}return{..._0x466a6b[_0x28616c(0x367)](_0x2abea7),'mutations':[_0x3cf917]};}[_0x599345(0x2f7)](_0x9f35d1){const _0x10e38e=_0x599345,{unitID:_0x2f1b4b}=_0x9f35d1,{history:_0x45c0b5,collaboration:_0x515ad9}=this[_0x10e38e(0x27d)][_0x10e38e(0x37b)](_0x2f1b4b);if(_0x45c0b5[_0x10e38e(0x309)]===0x0&&_0x515ad9[_0x10e38e(0x309)]===0x0)return;const _0x5ed1b4=[],_0x1210bb=[];let _0x36972c=_0x466a6b[_0x10e38e(0x367)](_0x9f35d1[_0x10e38e(0x268)][0x0]),_0x4462e5=_0x466a6b[_0x10e38e(0x367)](_0x9f35d1[_0x10e38e(0x268)][0x0]);for(let _0x1f60f3=_0x45c0b5[_0x10e38e(0x309)]-0x1;_0x1f60f3>=0x0;_0x1f60f3--){const _0x49b219={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45c0b5[_0x1f60f3]['unitId'],..._0x45c0b5[_0x1f60f3]['undoState']}},_0x357dea={'id':_0x10e38e(0x33a),'params':{'unitId':_0x45c0b5[_0x1f60f3][_0x10e38e(0x36a)],..._0x45c0b5[_0x1f60f3][_0x10e38e(0x293)]}},_0x5a1973=this['_transformService'][_0x10e38e(0x1fb)](_0x36972c,_0x49b219,!0x1),_0x26de64=this[_0x10e38e(0x2c9)][_0x10e38e(0x1fb)](_0x4462e5,_0x357dea,!0x1);if(_0xfc9cee(_0x5a1973))throw _0x5a1973[_0x10e38e(0x1b8)];if(_0xfc9cee(_0x26de64))throw _0x26de64[_0x10e38e(0x1b8)];_0x5ed1b4[_0x10e38e(0x286)]({..._0x45c0b5[_0x1f60f3],'undoState':_0x5a1973[_0x10e38e(0x24f)]['params'],'redoState':_0x26de64[_0x10e38e(0x24f)][_0x10e38e(0x2e4)]}),_0x36972c=_0x5a1973['m1Prime'],_0x4462e5=_0x26de64[_0x10e38e(0x1b5)];}_0x36972c=_0x466a6b[_0x10e38e(0x367)](_0x9f35d1['mutations'][0x0]),_0x4462e5=_0x466a6b['deepClone'](_0x9f35d1[_0x10e38e(0x268)][0x0]);for(let _0x8db4af=_0x515ad9[_0x10e38e(0x309)]-0x1;_0x8db4af>=0x0;_0x8db4af--){const _0x37b06e={'id':_0x10e38e(0x33a),'params':{'unitId':_0x515ad9[_0x8db4af][_0x10e38e(0x36a)],..._0x515ad9[_0x8db4af][_0x10e38e(0x29e)]}},_0x433a4e={'id':_0x10e38e(0x33a),'params':{'unitId':_0x515ad9[_0x8db4af]['unitId'],..._0x515ad9[_0x8db4af][_0x10e38e(0x293)]}},_0x4e9d47=this[_0x10e38e(0x2c9)][_0x10e38e(0x1fb)](_0x36972c,_0x37b06e,!0x1),_0x25db14=this['_transformService'][_0x10e38e(0x1fb)](_0x4462e5,_0x433a4e,!0x1);if(_0xfc9cee(_0x4e9d47))throw _0x4e9d47[_0x10e38e(0x1b8)];if(_0xfc9cee(_0x25db14))throw _0x25db14[_0x10e38e(0x1b8)];_0x1210bb[_0x10e38e(0x286)]({..._0x515ad9[_0x8db4af],'undoState':_0x4e9d47[_0x10e38e(0x24f)][_0x10e38e(0x2e4)],'redoState':_0x25db14['m2Prime'][_0x10e38e(0x2e4)]}),_0x36972c=_0x4e9d47[_0x10e38e(0x1b5)],_0x4462e5=_0x25db14[_0x10e38e(0x1b5)];}this[_0x10e38e(0x27d)]['setStateCache'](_0x2f1b4b,{'history':_0x5ed1b4,'collaboration':_0x1210bb});}};oe=nn([Ce(0x0,_0x1cbf10(_0x5096fa)),Ce(0x1,_0x401880),Ce(0x2,_0x1cbf10(_0x1202aa))],oe);var rn=Object[_0x599345(0x2ab)],on=(_0x586825,_0x46ff4d,_0x4bbbb4,_0x578a66)=>{const _0x4ae25e=_0x599345;for(var _0x468480=_0x578a66>0x1?void 0x0:_0x578a66?rn(_0x46ff4d,_0x4bbbb4):_0x46ff4d,_0x416ef8=_0x586825[_0x4ae25e(0x309)]-0x1,_0x267e95;_0x416ef8>=0x0;_0x416ef8--)(_0x267e95=_0x586825[_0x416ef8])&&(_0x468480=_0x267e95(_0x468480)||_0x468480);return _0x468480;},st=(_0x4af846,_0x430949)=>(_0x315e88,_0x38dfc1)=>_0x430949(_0x315e88,_0x38dfc1,_0x4af846);let ae=class{constructor(_0x2fcda6,_0x408d49){const _0x2cfb7d=_0x599345;this['_injector']=_0x2fcda6,this[_0x2cfb7d(0x2c9)]=_0x408d49;}[_0x599345(0x1e4)](_0x1cadb0){const _0x2f143=_0x599345;var _0x4d54d9;const _0x2a4074=this[_0x2f143(0x303)]['get'](_0xdd81b3),_0x397aba=(_0x4d54d9=_0x2a4074[_0x2f143(0x344)]())!=null?_0x4d54d9:[];if(_0x397aba[_0x2f143(0x309)]===0x0)return;const _0x2920af=_0x1cadb0[_0x2f143(0x1e6)],_0xdb1809=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2920af,'actions':null,'textRanges':_0x397aba}}],_0x2a226f=this[_0x2f143(0x2c9)][_0x2f143(0x1c8)](_0x1cadb0,_0xdb1809);if(!_0x1b6b99(_0x2a226f))throw _0x2a226f['error'];const _0x550ffd=_0x2a226f[_0x2f143(0x24f)][0x0]['params']['textRanges'];Array[_0x2f143(0x229)](_0x550ffd)&&_0x550ffd[_0x2f143(0x309)]&&_0x2a4074[_0x2f143(0x281)](_0x550ffd,{'unitId':_0x2920af,'subUnitId':_0x2920af},!0x1);}};ae=on([st(0x0,_0x1cbf10(_0x5096fa)),st(0x1,_0x401880)],ae);var an=Object[_0x599345(0x2ab)],cn=(_0x2eb0e9,_0x49f86b,_0x266ce2,_0x3213fc)=>{const _0x29d812=_0x599345;for(var _0x476402=_0x3213fc>0x1?void 0x0:_0x3213fc?an(_0x49f86b,_0x266ce2):_0x49f86b,_0x3ce17f=_0x2eb0e9[_0x29d812(0x309)]-0x1,_0x5c76aa;_0x3ce17f>=0x0;_0x3ce17f--)(_0x5c76aa=_0x2eb0e9[_0x3ce17f])&&(_0x476402=_0x5c76aa(_0x476402)||_0x476402);return _0x476402;},N=(_0x568901,_0x13c86f)=>(_0xcf56c7,_0xcf368f)=>_0x13c86f(_0xcf56c7,_0xcf368f,_0x568901);function _0x1fe7(_0x3174f4,_0x1ef86b){const _0x59390c=_0x5939();return _0x1fe7=function(_0x1fe766,_0x2424a2){_0x1fe766=_0x1fe766-0x16b;let _0x293c9b=_0x59390c[_0x1fe766];return _0x293c9b;},_0x1fe7(_0x3174f4,_0x1ef86b);}let ce=class extends _0x4999ff{constructor(_0x6fade2,_0x3d2345,_0xf349ef,_0x4c178d,_0x5ac2a3,_0x3640cb,_0xd179c4,_0x37a24f){const _0x30f27b=_0x599345;super(),_(this,_0x30f27b(0x31c),new _0x5001d5(_0x179362[_0x30f27b(0x226)])),(this[_0x30f27b(0x27d)]=_0x6fade2,this[_0x30f27b(0x16b)]=_0x3d2345,this[_0x30f27b(0x1f1)]=_0xf349ef,this[_0x30f27b(0x217)]=_0x4c178d,this[_0x30f27b(0x1d2)]=_0x5ac2a3,this['_docSyncEditingCollabCursorService']=_0x3640cb,this[_0x30f27b(0x188)]=_0xd179c4,this[_0x30f27b(0x236)]=_0x37a24f,this[_0x30f27b(0x1e8)]());}[_0x599345(0x1e8)](){const _0x49a2fa=_0x599345;this[_0x49a2fa(0x2ef)](this[_0x49a2fa(0x16b)][_0x49a2fa(0x307)][_0x49a2fa(0x32c)](_0x13fc38=>{const _0xc1086b=_0x49a2fa,_0x35f248=this[_0xc1086b(0x27d)][_0xc1086b(0x239)][_0xc1086b(0x32c)](_0x154736=>{const _0x5edb1f=_0xc1086b;if(_0x154736==null)return;const {unitId:_0x195fed,redoState:_0x484558,commandId:_0x47595c}=_0x154736;if(_0x195fed!==_0x13fc38[_0x5edb1f(0x1e6)])return;const _0x549965={'id':_0x47595c,'type':_0x2cfb30['MUTATION'],'params':{'unitId':_0x195fed,'actions':_0x484558[_0x5edb1f(0x1ba)],'textRanges':null}};_0x13fc38[_0x5edb1f(0x376)](_0x549965);});if(_0x13fc38[_0xc1086b(0x2ef)](_0x35f248),_0x13fc38 instanceof _0xf251f3){const _0x4b9692={'onTransformIME':_0x4e0124=>this[_0xc1086b(0x1f1)]['transformIMECache'](_0x4e0124),'onTransformState':_0x37c101=>this['_docTransformStateCacheService'][_0xc1086b(0x201)](_0x37c101),'onTransformSelections':_0x3649c0=>this[_0xc1086b(0x1d2)][_0xc1086b(0x1e4)](_0x3649c0),'onSyncEditingCollabCursor':_0x1b18e5=>this[_0xc1086b(0x2af)][_0xc1086b(0x2ea)](_0x1b18e5),'onTransformRemoteChangesetByIMECache':_0x51067a=>this['_docTransformIMECacheService'][_0xc1086b(0x27a)](_0x51067a),'onTransformRemoteChangesetByStateCache':_0x34f00d=>this[_0xc1086b(0x217)]['transformRemoteChangeset'](_0x34f00d)};_0x13fc38[_0xc1086b(0x2a1)](_0x4b9692);}}));}};ce=cn([N(0x0,_0x1cbf10(_0x1202aa)),N(0x1,_0x1cbf10(_0x128ae1)),N(0x2,_0x1cbf10(re)),N(0x3,_0x1cbf10(oe)),N(0x4,_0x1cbf10(ae)),N(0x5,_0x1cbf10(Fe)),N(0x6,_0x465d3e),N(0x7,_0x1cbf10(_0x16f669))],ce);var ln=Object[_0x599345(0x2ab)],_n=(_0x53fb6d,_0x7a5261,_0x4c2c8c,_0xc72409)=>{const _0x5e79f3=_0x599345;for(var _0x2c995a=_0xc72409>0x1?void 0x0:_0xc72409?ln(_0x7a5261,_0x4c2c8c):_0x7a5261,_0x2265af=_0x53fb6d[_0x5e79f3(0x309)]-0x1,_0xb2f1d;_0x2265af>=0x0;_0x2265af--)(_0xb2f1d=_0x53fb6d[_0x2265af])&&(_0x2c995a=_0xb2f1d(_0x2c995a)||_0x2c995a);return _0x2c995a;},Ee=(_0x18ec38,_0x14ef24)=>(_0x299ce4,_0x181ecc)=>_0x14ef24(_0x299ce4,_0x181ecc,_0x18ec38);let we=class extends _0x4999ff{constructor(_0x3b1924,_0x4dd160,_0x1425dc){const _0x31347d=_0x599345;super(),_(this,_0x31347d(0x32e),new Map()),_(this,_0x31347d(0x175),new Map()),_(this,_0x31347d(0x28e),!0x1),(this['_configService']=_0x3b1924,this['_localStorageService']=_0x4dd160,this[_0x31347d(0x2de)]=_0x1425dc);}[_0x599345(0x20e)](){const _0x1a2c45=_0x599345;this[_0x1a2c45(0x28e)]=!0x0;}[_0x599345(0x368)](){const _0x2b8aec=_0x599345;this[_0x2b8aec(0x28e)]=!0x1;}get[_0x599345(0x2c6)](){const _0x1dda77=_0x599345;return this[_0x1dda77(0x175)];}['dispose'](){const _0x164313=_0x599345;this[_0x164313(0x1a4)]()[_0x164313(0x27c)](()=>super[_0x164313(0x282)]());}async['loadOfflineData'](_0x31ac3b){const _0x382b9e=_0x599345;return this[_0x382b9e(0x28e)]?null:this[_0x382b9e(0x1a0)]['getItem'](_0x27e14f(_0x31ac3b));}async[_0x599345(0x2df)](_0x55b623,_0x1d7881){const _0x405208=_0x599345;return!!this['_localStorageService'][_0x405208(0x1e7)](_0x55b623,_0x1d7881);}[_0x599345(0x1fa)](_0x6798a,_0x4de6c8,_0x32906c,_0x3d48f8){const _0x5a8f07=_0x599345,_0x5ce726=this[_0x5a8f07(0x2de)][_0x5a8f07(0x342)](_0x6798a);this[_0x5a8f07(0x32e)]['set'](_0x6798a,{'unitID':_0x6798a,'type':_0x4de6c8,'awaitingChangeset':_0x32906c,'mutations':_0x3d48f8,'rev':_0x5ce726}),this['_saveTaskMap']['has'](_0x6798a)||this['_scheduleSaving'](_0x6798a);}[_0x599345(0x2b0)](_0x3f73d8){const _0x439c56=_0x599345,_0x267dc2=this[_0x439c56(0x318)]();_0x267dc2===0x0?this[_0x439c56(0x215)](_0x3f73d8):this[_0x439c56(0x175)][_0x439c56(0x31d)](_0x3f73d8,setTimeout(()=>this['_saveCache'](_0x3f73d8),_0x267dc2));}['_getSaveTimeout'](){const _0x5ed916=_0x599345;var _0x3a56ee;return(_0x3a56ee=this['_configService'][_0x5ed916(0x1c3)](_0x79e2bf))!=null?_0x3a56ee:_0x256917;}[_0x599345(0x215)](_0x331fbc){const _0x5f2784=_0x599345,_0xbea5f3=this[_0x5f2784(0x175)]['get'](_0x331fbc);return _0xbea5f3!==void 0x0&&window['clearTimeout'](_0xbea5f3),this[_0x5f2784(0x1a0)][_0x5f2784(0x1e7)](_0x27e14f(_0x331fbc),this[_0x5f2784(0x32e)][_0x5f2784(0x2c1)](_0x331fbc))[_0x5f2784(0x27c)](()=>this[_0x5f2784(0x175)][_0x5f2784(0x326)](_0x331fbc));}async[_0x599345(0x1a4)](){const _0x57107c=_0x599345,_0x3977f5=[];this[_0x57107c(0x175)][_0x57107c(0x172)]((_0x4b224b,_0x82d608)=>{const _0x545ecb=_0x57107c;window[_0x545ecb(0x2b2)](_0x4b224b),_0x3977f5[_0x545ecb(0x2fd)](this[_0x545ecb(0x215)](_0x82d608)['then'](()=>{const _0xb71dfa=_0x545ecb;this[_0xb71dfa(0x175)][_0xb71dfa(0x326)](_0x82d608);}));}),await Promise[_0x57107c(0x197)](_0x3977f5);}};function _0x5939(){const _0x339682=['mutations','Unknown\x20user','Error','_updateSubUnitFromURLParams','univer-flex\x20univer-items-center','getActiveSheet','266001VLDRff','6252IDGAvk','_session','labelPosition','collaboration.closeRoom','collabStatus.conflict','UNRECOGNIZED','Failed','unload','_config','reconnect','split','transformRemoteChangeset','toString','then','_docStateChangeManagerService','ALREADY_EXISTS','size','APPLY_DUPLICATED','replaceDocRanges','dispose','_docClipboardService','endRow','onPointerEnter$','unshift','UNIVER_DOC','AWAITING_WITH_PENDING','setActiveRange','fillText','measureText','resize','addClipboardHook','_disabled','editingUnit','OffLineIcon','_roomMembers$','eventID','redoState','NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getVpScrollXYInfoByPosToVp','EMAIL_HAS_BEEN_BOUND','_collaborationUIEventService','cursorInfo','_selfUnitIDs','PERMISSION_DENIED','getCurrent','0\x200\x2016\x2016','undoState','_onCursorDelete','11UpeOUT','addHandlerCallback','getOwnPropertySymbols','_initStatusComponent','InsertColCommandId','_hideTimer','setUndoRedoMutationParamsCache','getValue','stringify','translate(.97)','addEventListener','getOwnPropertyDescriptor','pluginName','current','MOBILE_VERIFY_CODE_MISMATCH','_docSyncEditingCollabCursorService','_scheduleSaving','_memberService','clearTimeout','white','getUnhiddenWorksheets','_init','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','univerjs-icon\x20univerjs-icon-','subscribeEvent','displayName','FromArray','assign','_anchor','name','YUUMI_ALL_TABLES_IS_INVALID','TOO_MANY_REQUESTS','_toggleOffline','get','with','UNDEFINED','getRangePointData','substring','saveTaskMap','_transformPreviousActiveRange','_urlService','_transformService','black','href','OnLineIcon','49ZejTVj','APPLY_REVISION_CONFILICT','round','getMergeData','height','string','_color','collabStatus.syncing','ACTIVE_UNIT_EVENT_CHANNEL','_updateLocalCursor','session.connection-failed','registerComponent','_colorAssignService','_document','propertyIsEnumerable','_removeClearOtherTimer','UPDATE_CURSOR','_revisionService','saveOfflineData','prototype','_collabCursorState$','getFocusedUnit','concat','params','executeCommand','_initEvent','_localCacheService','_shapes','setConfig','syncEditingCollabCursor','children','createSocket','subUnitId','_eventUnsubscribe','disposeWithMe','requireSession','icon','asObservable','arc','subunit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_refreshCollabCursors','_transformHistoryAndStateStack','off-line-icon_clip0_910_343','2347443xuJVWY','collab-rect-range-','INTERNAL_ERROR','getSheetId','push','endColumn','defs','_online','random','_cursor','_injector','collabCursorState$','INVITE_CODE_REQUIRED','focused$','entityInit$','ENSURE_SNAPSHOT_EXECUTION','length','width','url(#on-line-icon_clip0_910_349)','_handleJoinEvent','hovered','_heartbeatTimer','getCurrentSelections','ONLINE','_notificationService','_initResize','_scheduleHeartbeat','_getScale','_labelPosition','assignAColorForMemberID','saveImage','_getSaveTimeout','_hover','INVITE_CODE_HAS_BEEN_UES','permission.content','_status$','set','getSkeleton','purple.300','search','_drawAnchor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_univerInstanceService','820675SnAiyB','type','delete','beginPath','_render','_logService','findNodePositionByCharIndex','_getMergeRange','subscribe','_beforeCloseService','_cachedData','1em','SOCKET_FAILED_RETRY','INVALID_ARGUMENT','_handleHeartbeatEvent','history','runOnServer','RECT','cursorInfo$','COMPLETION_FINISHED','addObjects','collaboration-client.offline-data-not-saved','doc.mutation.rich-text-editing','_cursorShapes','_updateURLWithCurrentState','SNAPSHOT_HAS_BEEN_REMOVED','off-line-icon','getUnitId','sessionStatus$','LICENSE_IMPORT_SIZE_EXCEEDED','getCurrentRevOfUnit','next','getDocRanges','attrs','url(#off-line-icon_clip0_910_343)','_clearOtherTimers','pipe','http://www.w3.org/2000/svg','OTHER_CLIENTS_EDITING','invokeId','has','0\x200\x2017\x2016','_name','getViewport','_handleEvent','WECHAT_HAS_BEEN_BOUND','none','MOBILE_HAS_BEEN_BOUND','_httpService','_textBubble','SOCKET_FAILED','registerRenderModule','top','YUUMI_UNABLE_LOAD_URL','collab-text-range-','mask','_context','getCollabEntity$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_SHEET','row','code','CONFLICT','red.300','YUUMI_CONNECTOR_URL_NOT_FOUND','7gyXWxx','_unitOnClients','deepClone','enableLocalCache','fillRule','unitId','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','selection','setParam','dispose$','getMemberID','onPointerLeave$','_assignedColors','OTHER_CLIENT_EDITING','_registerDependencies','getCellPositionByOffset','_handleHover','onLocalMutation','_removeCollabCursors','NO_OTHER_CLIENTS_EDITING','[CollaborationDataLoaderController]','JOIN_ROOM_FAILED','getStateCache','DeleteRangeMoveLeftCommandId','_collaborationController','YUUMI_URL_COL_OUT_OF_RANGE','isEditing','complete','onCommandExecuted','CLOSE_ROOM','_collabCursorController','forEach','_doCreateSocket','_registerRenderDependencies','_saveTaskMap','_lastPointer','engine','getSheetBySheetId','ticket','getCurrentUnitForType','16TMOwIY','CHANGESET_REVISION_CONFILICT','UniverIcon','contains','FETCH_MISS','triggerDblclick','pushState','currentTheme$','hide','YUUMI_NO_CUBOID_FOR_QUESTION','getColorFromTheme','call','values','_messageService','onTransformChange$','defineProperty','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','setShapeProps','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','jiqing.500','newValue','flatMap','MoveRangeCommandId','15465220xuzFnj','_initStatusListener','_cursorInfo$','HEADER_MENU','_drawTextRange','all','getMember','PENDING','save','replaceState','activeSheet$','TEXT','hasOwnProperty','trim','_localStorageService','APPLY_NON_SEQUENTIAL_REVISION','LOGIN_FAILED','SNAPSHOT_INVALID_SNAPSHOT','exhaustSavingTask','_collabSessionService','_range','font','_cursors','getTypeOfUnitAdded$','restore','_drawRectRange','_handleLeaveEvent','_sheetSkeletonManagerService','_configService','getParam','add','startsWith','makeDirty','CONNECTOR_DATA_TOO_LARGE','runId','m1Prime','PY_RUNTIME_SCRIPT_ERROR','memberID','error','collab-client.tooltip.reconnect','actions','transformByState','replace','session.will-retry','_updateCollabCursors','LICENSE_MAX_UNITS_EXCEEDED','_backgroundColor','startRow','YUUMI_ASYNCIO_CANCELLED','getConfig','collabStatus.notCollab','idSuffix','_renderManagerService','location','transformMutationsWithChangeset','APPLY_PERMISSION_DENIED','/run/','_commandService','APPLY_REJECT','_docSkeleton','SYNCED','executionId','color','INVITE_CODE_ALREADY_BOUND','_docTransformSelectionsService','getCollabCursors$','event$','_toggleOnline','collabStatus.fetchMiss','YUUMI_AI_RUN_FAILED','_docSkeletonManagerService','unit','sheetId','getTypeOfUnitDisposed$','_getSessionTicket','onStarting','_entityInit$','className','_scene','apply','VIEW_MAIN','_getSheetObject','transformSelections','from','unitID','setItem','_initEntityListener','getActiveRange','some','getUniverSheetInstance','_imageIoService','div','collab-text-anchor-','_onRefRangeChange','bottom','_docTransformIMECacheService','extend','_transformUndoRedoStack','tag','searchParams','url(#$1','path','yellow.400','on-line-icon_clip0_910_349','updateOfflineData','transformMutation','AWAITING','clearInterval','4719240WkITex','fillStyle','_instanceService','transformStateCache','_send','_initCommandExecutedListener','status$','setAlpha','_colorIndex','indexOf','closePath','OFFLINE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','InsertRowCommandId','xlink:href','getRenderById','disableLocalCache','debug','wsSessionTicketUrl','InsertRangeMoveRightCommandId','roomMembers','createInstance','_dataLoaderService','_saveCache','lineTo','_docTransformStateCacheService','_onCursorUpdate','_anchorDot','addObject','USER_NOT_INVITED_CODE','_startSheetCollabCursor','entries','162038VYWvun','colorChannel1','collaboration.single-unit.warning','fill','source','uni.network.url-service','_entities','function','NOT_COLLAB','_initDependencies','LICENSE_DISTRO_REJECTED','isArray','getRelativeToViewportCoord','_setupBeforeClosingHandler','...','parse','_draw','sessionTicket','toRgbString','loadUnit','LICENSE_EXPORT_SIZE_EXCEEDED','permission.title','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','isActive','_localeService','_createSocketURL','urlChange$','docStateChange$','YUUMI_RATE_OVER_LIMIT','UNAUTHENTICATED','blue.400','map','EMAIL_VERIFY_CODE_MISMATCH','session.collaboration-timeout','textRanges','_uiPartsService','show','getOffsetConfig','RemoveRowCommandId','_themeService','_hovered','storage','_startDocCollabCursor','onRendered','clipPath','_scheduleClearOtherTimer','_id','YUUMI_SUBSCRIPTION_NOT_FOUND','_setupSubUnitSync','m2Prime','getUndoRedoMutationParamsCache','send','body','setTimeout','sheetID','registerBeforeClose','includes','_unitStatus','Warning','onMouseMove','svg','_ensureSubject','registerRefRange','symbol','init','post','INVALID_INVITE_CODE','transform','defIds','drawWith','USERS_LEAVE','key','data','ranges'];_0x5939=function(){return _0x339682;};return _0x5939();}we=_n([Ee(0x0,_0x2ebcde),Ee(0x1,_0x5114b9),Ee(0x2,_0x1cbf10(_0x2d2ba6))],we);class hn extends _0x2cb2a{constructor(){const _0x5c415a=_0x599345;super(),_(this,_0x5c415a(0x238)),this['urlChange$']=_0x27ffe5(window,'popstate')[_0x5c415a(0x348)](_0x2abc0a(this['dispose$']),_0x3c2878(0x1),_0x4c3d0e(void 0x0));}[_0x599345(0x36d)](_0x47fe27,_0x1af3c6,_0x314856=!0x1){const _0x417454=_0x599345,_0x1a118f=new URL(window[_0x417454(0x1c7)][_0x417454(0x2cb)]);_0x1a118f['searchParams']['set'](_0x47fe27,_0x1af3c6),_0x314856?window[_0x417454(0x333)][_0x417454(0x19b)]('','',_0x1a118f[_0x417454(0x27b)]()):window[_0x417454(0x333)][_0x417454(0x181)]('','',_0x1a118f[_0x417454(0x27b)]());}['removeParam'](_0x14134c,_0xfa4d3a=!0x1){const _0x33ee04=_0x599345,_0x43e7ea=new URL(window[_0x33ee04(0x1c7)][_0x33ee04(0x2cb)]);_0x43e7ea['searchParams'][_0x33ee04(0x326)](_0x14134c),_0xfa4d3a?window['history'][_0x33ee04(0x19b)]('','',_0x43e7ea[_0x33ee04(0x27b)]()):window[_0x33ee04(0x333)][_0x33ee04(0x181)]('','',_0x43e7ea['toString']());}['getParam'](_0x30da76){const _0x2baeb9=_0x599345;var _0x3da96d;return(_0x3da96d=new URL(window[_0x2baeb9(0x1c7)][_0x2baeb9(0x2cb)])[_0x2baeb9(0x1f5)][_0x2baeb9(0x2c1)](_0x30da76))!=null?_0x3da96d:void 0x0;}}var un=Object[_0x599345(0x18a)],dn=Object[_0x599345(0x2ab)],fn=(_0x46f053,_0x5dec45,_0x1c0e32)=>_0x5dec45 in _0x46f053?un(_0x46f053,_0x5dec45,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c0e32}):_0x46f053[_0x5dec45]=_0x1c0e32,Sn=(_0x417848,_0x11d4b0,_0x735d95,_0x51c104)=>{const _0x518daa=_0x599345;for(var _0x5af50e=_0x51c104>0x1?void 0x0:_0x51c104?dn(_0x11d4b0,_0x735d95):_0x11d4b0,_0x46c73b=_0x417848[_0x518daa(0x309)]-0x1,_0x4ee164;_0x46c73b>=0x0;_0x46c73b--)(_0x4ee164=_0x417848[_0x46c73b])&&(_0x5af50e=_0x4ee164(_0x5af50e)||_0x5af50e);return _0x5af50e;},Oe=(_0x5929b9,_0x1a807d)=>(_0x2f55b6,_0x34a73d)=>_0x1a807d(_0x2f55b6,_0x34a73d,_0x5929b9),mn=(_0x33d821,_0x5b1ccc,_0xc95723)=>fn(_0x33d821,_0x5b1ccc+'',_0xc95723);const In=_0x599345(0x18d);let Ae=class extends _0x41ad83{constructor(_0x4aefb3=et,_0x113b41,_0x2afb2f,_0xfa1d83){const _0x3af203=_0x599345;super(),this[_0x3af203(0x277)]=_0x4aefb3,this[_0x3af203(0x1c6)]=_0x113b41,this[_0x3af203(0x303)]=_0x2afb2f,this['_configService']=_0xfa1d83;const {..._0x3097ea}=_0x31953b({},et,this['_config']);this[_0x3af203(0x1ae)][_0x3af203(0x2e9)](qi,_0x3097ea);}[_0x599345(0x1dd)](){const _0x188dbe=_0x599345;this[_0x188dbe(0x373)](),this[_0x188dbe(0x227)]();}[_0x599345(0x249)](){const _0x215ffe=_0x599345;this[_0x215ffe(0x174)]();}['_registerDependencies'](){const _0x726401=_0x599345;var _0x465557;const _0x42e153=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x2d47be,{'useClass':_0x2202ee}],[_0x3dac38,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x8703fb(this[_0x726401(0x303)],_0x211447(_0x42e153,(_0x465557=this[_0x726401(0x277)])==null?void 0x0:_0x465557['override']));}[_0x599345(0x174)](){const _0x56ba26=_0x599345;this['disposeWithMe'](this[_0x56ba26(0x1c6)][_0x56ba26(0x357)](_0x2c13fa[_0x56ba26(0x287)],[Le])),this[_0x56ba26(0x2ef)](this[_0x56ba26(0x1c6)][_0x56ba26(0x357)](_0x2c13fa[_0x56ba26(0x35f)],[Pe]));}[_0x599345(0x227)](){const _0x28e160=_0x599345;_0x538ea3(this[_0x28e160(0x303)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x599345(0x2ac),In),Ae=Sn([_0x447dc1(_0x4923cb),Oe(0x1,_0x255be2),Oe(0x2,_0x1cbf10(_0x5096fa)),Oe(0x3,_0x2ebcde)],Ae);var vn=Object[_0x599345(0x2ab)],gn=(_0x407d8a,_0x494740,_0x84d1ed,_0x477015)=>{const _0x20c663=_0x599345;for(var _0x5f1d0d=_0x477015>0x1?void 0x0:_0x477015?vn(_0x494740,_0x84d1ed):_0x494740,_0x1a6603=_0x407d8a[_0x20c663(0x309)]-0x1,_0x5b088f;_0x1a6603>=0x0;_0x1a6603--)(_0x5b088f=_0x407d8a[_0x1a6603])&&(_0x5f1d0d=_0x5b088f(_0x5f1d0d)||_0x5f1d0d);return _0x5f1d0d;},z=(_0x2e5702,_0x42ed82)=>(_0x1b46bd,_0x2714da)=>_0x42ed82(_0x1b46bd,_0x2714da,_0x2e5702);let it=class extends _0x5c91da{constructor(_0x4acba2,_0x1f9f06,_0x278dfa,_0xf5fb54,_0x13f3a6){super(_0x4acba2,_0x1f9f06,_0x278dfa,_0xf5fb54,_0x13f3a6);}async[_0x599345(0x2ec)](_0x29d0dd){const _0xeaa04=_0x599345,_0x2f0779=await this[_0xeaa04(0x1dc)](),_0x1654c3=this[_0xeaa04(0x237)](_0x29d0dd,_0x2f0779);return this[_0xeaa04(0x173)](_0x1654c3);}[_0x599345(0x237)](_0x29078b,_0x4887ce){const _0x2d04a6=_0x599345,_0x2ac597=typeof window>'u'?new URL(_0x29078b):new URL(_0x29078b,window['location']['origin']);_0x2ac597['searchParams'][_0x2d04a6(0x31d)](_0x2d04a6(0x22f),_0x4887ce);const _0x46fc03=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2d04a6(0x1c7)][_0x2d04a6(0x320)]);return _0x46fc03[_0x2d04a6(0x2c1)](_0x2d04a6(0x1b4))&&_0x2ac597['searchParams']['set'](_0x2d04a6(0x1b4),_0x46fc03[_0x2d04a6(0x2c1)](_0x2d04a6(0x1b4))),_0x2ac597['toString']();}async[_0x599345(0x1dc)](){const _0x1e0ff6=_0x599345;var _0x3a08bc,_0x11f578,_0x119979;const _0x15cb99=this[_0x1e0ff6(0x1ae)][_0x1e0ff6(0x1c3)](_0x38aea2),_0xc3aab1=(_0x3a08bc=_0x15cb99==null?void 0x0:_0x15cb99[_0x1e0ff6(0x210)])!=null?_0x3a08bc:_0x174274;return(_0x119979=(_0x11f578=(await this[_0x1e0ff6(0x354)][_0x1e0ff6(0x2c1)](_0xc3aab1,{'headers':{'Content-Type':'application/json'}}))[_0x1e0ff6(0x252)])==null?void 0x0:_0x11f578[_0x1e0ff6(0x179)])!=null?_0x119979:'';}};it=gn([z(0x0,_0x1cbf10(_0x5096fa)),z(0x1,_0x1cbf10(_0x33d9b4)),z(0x2,_0x2ebcde),z(0x3,_0x388508),z(0x4,_0x226b59)],it);var Lt=(_0x3af3ec=>(_0x3af3ec[_0x3af3ec[_0x599345(0x2c3)]=0x0]=_0x599345(0x2c3),_0x3af3ec[_0x3af3ec['OK']=0x1]='OK',_0x3af3ec[_0x3af3ec[_0x599345(0x2fb)]=0x2]=_0x599345(0x2fb),_0x3af3ec[_0x3af3ec['PERMISSION_DENIED']=0x3]=_0x599345(0x29b),_0x3af3ec[_0x3af3ec[_0x599345(0x294)]=0x4]='NOT_FOUND',_0x3af3ec[_0x3af3ec[_0x599345(0x23b)]=0x5]=_0x599345(0x23b),_0x3af3ec[_0x3af3ec[_0x599345(0x27e)]=0x6]=_0x599345(0x27e),_0x3af3ec[_0x3af3ec['INVALID_ARGUMENT']=0x7]=_0x599345(0x331),_0x3af3ec[_0x3af3ec[_0x599345(0x2bf)]=0x8]='TOO_MANY_REQUESTS',_0x3af3ec[_0x3af3ec[_0x599345(0x337)]=0x9]=_0x599345(0x337),_0x3af3ec[_0x3af3ec['LOGIN_FAILED']=0xa]=_0x599345(0x1a2),_0x3af3ec[_0x3af3ec[_0x599345(0x2ae)]=0xb]=_0x599345(0x2ae),_0x3af3ec[_0x3af3ec['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x599345(0x35e),_0x3af3ec[_0x3af3ec[_0x599345(0x23e)]=0xd]=_0x599345(0x23e),_0x3af3ec[_0x3af3ec[_0x599345(0x234)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3af3ec[_0x3af3ec[_0x599345(0x17c)]=0x1389]=_0x599345(0x17c),_0x3af3ec[_0x3af3ec[_0x599345(0x1a3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3af3ec[_0x3af3ec[_0x599345(0x33d)]=0x1772]=_0x599345(0x33d),_0x3af3ec[_0x3af3ec[_0x599345(0x308)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3af3ec[_0x3af3ec[_0x599345(0x1cc)]=0x1b59]='APPLY_REJECT',_0x3af3ec[_0x3af3ec[_0x599345(0x1a1)]=0x1b5a]=_0x599345(0x1a1),_0x3af3ec[_0x3af3ec[_0x599345(0x2ce)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3af3ec[_0x3af3ec[_0x599345(0x1c9)]=0x1b5c]=_0x599345(0x1c9),_0x3af3ec[_0x3af3ec['APPLY_DUPLICATED']=0x1b5d]=_0x599345(0x280),_0x3af3ec[_0x3af3ec['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x599345(0x1b3),_0x3af3ec[_0x3af3ec[_0x599345(0x1bf)]=0x2329]=_0x599345(0x1bf),_0x3af3ec[_0x3af3ec[_0x599345(0x2b6)]=0x232a]=_0x599345(0x2b6),_0x3af3ec[_0x3af3ec['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x599345(0x341),_0x3af3ec[_0x3af3ec[_0x599345(0x232)]=0x232c]=_0x599345(0x232),_0x3af3ec[_0x3af3ec[_0x599345(0x228)]=0x232d]=_0x599345(0x228),_0x3af3ec[_0x3af3ec[_0x599345(0x359)]=0x2711]=_0x599345(0x359),_0x3af3ec[_0x3af3ec[_0x599345(0x16c)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3af3ec[_0x3af3ec[_0x599345(0x23a)]=0x2713]=_0x599345(0x23a),_0x3af3ec[_0x3af3ec[_0x599345(0x24d)]=0x2714]=_0x599345(0x24d),_0x3af3ec[_0x3af3ec[_0x599345(0x184)]=0x271a]=_0x599345(0x184),_0x3af3ec[_0x3af3ec[_0x599345(0x1c2)]=0x271b]=_0x599345(0x1c2),_0x3af3ec[_0x3af3ec[_0x599345(0x295)]=0x271c]=_0x599345(0x295),_0x3af3ec[_0x3af3ec[_0x599345(0x2be)]=0x271d]=_0x599345(0x2be),_0x3af3ec[_0x3af3ec['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3af3ec[_0x3af3ec['YUUMI_AI_RUN_FAILED']=0x271f]=_0x599345(0x1d7),_0x3af3ec[_0x3af3ec[_0x599345(0x364)]=0x2720]=_0x599345(0x364),_0x3af3ec[_0x3af3ec[_0x599345(0x1b6)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3af3ec[_0x3af3ec['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x599345(0x31a),_0x3af3ec[_0x3af3ec[_0x599345(0x260)]=0x2ee2]='INVALID_INVITE_CODE',_0x3af3ec[_0x3af3ec['INVITE_CODE_REQUIRED']=0x2ee3]=_0x599345(0x305),_0x3af3ec[_0x3af3ec[_0x599345(0x21b)]=0x2ee4]=_0x599345(0x21b),_0x3af3ec[_0x3af3ec['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x599345(0x1d1),_0x3af3ec[_0x3af3ec[_0x599345(0x351)]=0x32c9]=_0x599345(0x351),_0x3af3ec[_0x3af3ec[_0x599345(0x353)]=0x32ca]=_0x599345(0x353),_0x3af3ec[_0x3af3ec[_0x599345(0x297)]=0x32cb]=_0x599345(0x297),_0x3af3ec[_0x3af3ec['UNRECOGNIZED']=-0x1]=_0x599345(0x274),_0x3af3ec))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x2cec53,_0x519212,_0x1f38df,_0x3d04c1)=>{const _0x2e50bc=_0x599345;for(var _0x4dbf63=_0x3d04c1>0x1?void 0x0:_0x3d04c1?pn(_0x519212,_0x1f38df):_0x519212,_0x1ce354=_0x2cec53[_0x2e50bc(0x309)]-0x1,_0x3aeb7f;_0x1ce354>=0x0;_0x1ce354--)(_0x3aeb7f=_0x2cec53[_0x1ce354])&&(_0x4dbf63=_0x3aeb7f(_0x4dbf63)||_0x4dbf63);return _0x4dbf63;},be=(_0x47d23b,_0x476cee)=>(_0x35c9c6,_0x2012e1)=>_0x476cee(_0x35c9c6,_0x2012e1,_0x47d23b);let nt=class extends _0x4999ff{constructor(_0x1a7454,_0x8c56fa,_0x2ac819){const _0x3a0f48=_0x599345;super(),this[_0x3a0f48(0x200)]=_0x1a7454,this['_httpService']=_0x8c56fa,this[_0x3a0f48(0x1ae)]=_0x2ac819;}async[_0x599345(0x334)](_0x54eebc,_0x48bf29,_0x16c978,..._0xd81cc6){const _0x28c780=_0x599345;var _0x2c4688,_0x3e2c5b,_0x21d176,_0x357509;const _0x1119a2=this[_0x28c780(0x200)][_0x28c780(0x2e2)]();if(!_0x1119a2)throw new Error(_0x28c780(0x20a));const _0x2c0704=((_0x2c4688=this[_0x28c780(0x1ae)][_0x28c780(0x1c3)](_0x4da2b7))!=null?_0x2c4688:_0x547f2b)+'/'+_0x54eebc+_0x28c780(0x1ca)+_0x48bf29,_0x1a3793=new URL(window[_0x28c780(0x1c7)][_0x28c780(0x2cb)]),_0x325b1f={'scriptId':_0x54eebc,'runId':(_0x3e2c5b=_0x1a3793[_0x28c780(0x1f5)][_0x28c780(0x2c1)]('runId'))!=null?_0x3e2c5b:'','function':_0x48bf29,'unitId':_0x1119a2[_0x28c780(0x33f)](),'argsOfFunction':JSON[_0x28c780(0x2a8)](_0xd81cc6),'invokeId':(_0x21d176=_0x16c978[_0x28c780(0x34b)])!=null?_0x21d176:'','executionId':(_0x357509=_0x16c978[_0x28c780(0x1cf)])!=null?_0x357509:''};try{const _0x1d7f50=await this[_0x28c780(0x354)][_0x28c780(0x25f)](_0x2c0704,{'body':_0x325b1f});return _0x1d7f50[_0x28c780(0x252)][_0x28c780(0x1b8)]&&_0x1d7f50[_0x28c780(0x252)][_0x28c780(0x1b8)][_0x28c780(0x361)]!==Lt['OK']?_0x28c780(0x275):_0x1d7f50['body']['result'];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x5bd8fd),be(0x1,_0x1cbf10(_0x33d9b4)),be(0x2,_0x2ebcde)],nt);const rt=0x7530,ot=_0x599345(0x2d5);class Fn extends _0x4999ff{constructor(){const _0x15639a=_0x599345;super(),_(this,_0x15639a(0x24c),_0x4feca8()),_(this,_0x15639a(0x29a),new Set()),_(this,_0x15639a(0x366),new Map()),_(this,_0x15639a(0x30e),null),_(this,_0x15639a(0x347),new Map()),_(this,_0x15639a(0x257),new Map()),this[_0x15639a(0x2b5)]();}[_0x599345(0x282)](){const _0x47ca38=_0x599345;super[_0x47ca38(0x282)](),this[_0x47ca38(0x347)][_0x47ca38(0x172)]((_0x54eb76,_0x443fe8)=>this['_removeClearOtherTimer'](_0x443fe8)),this[_0x47ca38(0x30e)]&&window[_0x47ca38(0x1fd)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x5406e1){const _0x336814=_0x599345;return this[_0x336814(0x25b)](_0x5406e1)[_0x336814(0x348)](_0x46e790());}[_0x599345(0x28f)](_0x5573fa){const _0x25484c=_0x599345;this['_selfUnitIDs'][_0x25484c(0x27f)]===0x0&&this['_scheduleHeartbeat'](),this[_0x25484c(0x29a)][_0x25484c(0x1b0)](_0x5573fa),this[_0x25484c(0x202)]({'type':0x0,'memberID':this[_0x25484c(0x24c)],'unitIDs':[_0x5573fa],'isForwarded':!0x1});}['disposeUnit'](_0x4e6e19){const _0x5206bc=_0x599345;this['_selfUnitIDs'][_0x5206bc(0x326)](_0x4e6e19),this[_0x5206bc(0x29a)][_0x5206bc(0x27f)]===0x0&&this[_0x5206bc(0x30e)]&&window[_0x5206bc(0x1fd)](this[_0x5206bc(0x30e)]);}['_init'](){const _0x25be67=_0x599345;this[_0x25be67(0x2ef)](_0xe5901(_0x27ffe5(window,_0x25be67(0x247))[_0x25be67(0x32c)](_0x507e7b=>{const _0x212ae4=_0x25be67;if(_0x507e7b[_0x212ae4(0x265)]!==ot||!_0x507e7b[_0x212ae4(0x18f)])return;const _0x425bd4=JSON[_0x212ae4(0x22d)](_0x507e7b[_0x212ae4(0x18f)]);this[_0x212ae4(0x350)](_0x425bd4);}))),window[_0x25be67(0x2aa)](_0x25be67(0x276),()=>this[_0x25be67(0x202)]({'type':0x1,'memberID':this[_0x25be67(0x24c)],'unitIDs':Array[_0x25be67(0x1e5)](this[_0x25be67(0x29a)])}));}[_0x599345(0x350)](_0x455fd7){const _0x3ce706=_0x599345;switch(_0x455fd7['type']){case 0x0:this[_0x3ce706(0x30c)](_0x455fd7);break;case 0x1:this[_0x3ce706(0x1ac)](_0x455fd7);break;case 0x2:this[_0x3ce706(0x332)](_0x455fd7);break;}}['_handleJoinEvent'](_0x8d2663){const _0x1ca858=_0x599345,{unitIDs:_0x5ac984,memberID:_0x8f3ac8,isForwarded:_0x5be1ab}=_0x8d2663;_0x5ac984[_0x1ca858(0x172)](_0x165925=>{const _0x2aa804=_0x1ca858;if(!_0x5be1ab&&this[_0x2aa804(0x366)]['has'](_0x165925)&&this[_0x2aa804(0x25b)](_0x165925)[_0x2aa804(0x343)](_0x5545d6['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x2aa804(0x34c)](_0x165925)||!this[_0x2aa804(0x366)]['get'](_0x165925)['has'](_0x8f3ac8)){const _0x30dbd3=this[_0x2aa804(0x366)][_0x2aa804(0x2c1)](_0x165925)||new Set();_0x30dbd3[_0x2aa804(0x1b0)](_0x8f3ac8),this[_0x2aa804(0x366)][_0x2aa804(0x31d)](_0x165925,_0x30dbd3),this['_scheduleClearOtherTimer'](_0x8f3ac8);}}),_0x5be1ab||this[_0x1ca858(0x202)]({'type':0x0,'memberID':this[_0x1ca858(0x24c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x599345(0x24b)](_0x5adbec){const _0x58e535=_0x599345;this[_0x58e535(0x2dc)](_0x5adbec);const _0x55360b=window[_0x58e535(0x253)](()=>{const _0x40bff1=_0x58e535;this['_unitOnClients'][_0x40bff1(0x172)](_0x5c675b=>{const _0x12ebf9=_0x40bff1;_0x5c675b[_0x12ebf9(0x326)](_0x5adbec);});},rt*0x2);this[_0x58e535(0x347)][_0x58e535(0x31d)](_0x5adbec,_0x55360b);}[_0x599345(0x2dc)](_0x3f4ad7){const _0x415a33=_0x599345;if(this[_0x415a33(0x347)][_0x415a33(0x34c)](_0x3f4ad7)){const _0x520c9b=this['_clearOtherTimers'][_0x415a33(0x2c1)](_0x3f4ad7);_0x520c9b&&window['clearTimeout'](_0x520c9b),this['_clearOtherTimers']['set'](_0x3f4ad7,null);}}['_handleLeaveEvent'](_0x2d5eb1){const _0x2a2adc=_0x599345,{memberID:_0x19e78c,unitIDs:_0x225a1e}=_0x2d5eb1;_0x225a1e[_0x2a2adc(0x172)](_0x4cd614=>{const _0x1d49e7=_0x2a2adc;var _0x3ac0cf;const _0x9df04a=this[_0x1d49e7(0x366)]['get'](_0x4cd614);_0x9df04a&&(_0x9df04a[_0x1d49e7(0x326)](_0x19e78c),(_0x3ac0cf=this[_0x1d49e7(0x25b)](_0x4cd614))==null||_0x3ac0cf['next'](_0x9df04a[_0x1d49e7(0x27f)]===0x0?_0x5545d6[_0x1d49e7(0x378)]:_0x5545d6[_0x1d49e7(0x34a)]));}),this[_0x2a2adc(0x2dc)](_0x19e78c);}['_handleHeartbeatEvent'](_0x5d3e96){const _0x13068a=_0x599345;this[_0x13068a(0x24b)](_0x5d3e96[_0x13068a(0x1b7)]);}['_send'](_0x41a74e){const _0x328890=_0x599345;localStorage[_0x328890(0x1e7)](ot,JSON['stringify'](_0x41a74e));}[_0x599345(0x313)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x7c7c5e=_0x1fe7;this[_0x7c7c5e(0x202)]({'type':0x2,'memberID':this[_0x7c7c5e(0x24c)]});},rt);}['_ensureSubject'](_0x35bc1c){const _0x369e90=_0x599345;return this[_0x369e90(0x257)][_0x369e90(0x34c)](_0x35bc1c)||this[_0x369e90(0x257)][_0x369e90(0x31d)](_0x35bc1c,new _0x5001d5(_0x5545d6['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x369e90(0x2c1)](_0x35bc1c);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x5978f9=_0x3c22;(function(_0x2e8d53,_0x38a995){const _0x9acac8=_0x3c22,_0x16093b=_0x2e8d53();while(!![]){try{const _0x3769f3=parseInt(_0x9acac8(0x2ba))/0x1+parseInt(_0x9acac8(0x151))/0x2*(-parseInt(_0x9acac8(0x1c0))/0x3)+parseInt(_0x9acac8(0xd5))/0x4*(-parseInt(_0x9acac8(0x111))/0x5)+-parseInt(_0x9acac8(0x2cf))/0x6*(-parseInt(_0x9acac8(0x277))/0x7)+-parseInt(_0x9acac8(0x245))/0x8+parseInt(_0x9acac8(0x26f))/0x9+parseInt(_0x9acac8(0x166))/0xa;if(_0x3769f3===_0x38a995)break;else _0x16093b['push'](_0x16093b['shift']());}catch(_0x1b6134){_0x16093b['push'](_0x16093b['shift']());}}}(_0x2c9d,0xec7c0));var xt=Object[_0x5978f9(0x19d)],Bt=(_0x52f5bc,_0x3a096a,_0x50f469)=>_0x3a096a in _0x52f5bc?xt(_0x52f5bc,_0x3a096a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50f469}):_0x52f5bc[_0x3a096a]=_0x50f469,_=(_0x377f5d,_0x5a7f46,_0x2d52dc)=>Bt(_0x377f5d,typeof _0x5a7f46!='symbol'?_0x5a7f46+'':_0x5a7f46,_0x2d52dc);import{jsx as _0x3929bb,jsxs as _0x4335df}from'react/jsx-runtime';import{CollaborationStatus as _0x138deb,CollaborationSessionService as _0x3f05f9,CollaborationController as _0x2feee0,DataLoaderService as _0x16282f,MemberService as _0x1106ba,SessionStatus as _0x5cbbf2,ILocalCacheService as _0x4ac262,CollaborationUIEventService as _0x27e336,CollaborationUIEventId as _0x299041,DocCollaborationEntity as _0x4186b0,getLocalCacheKey as _0xd819cd,LOCAL_CACHE_INTERVAL as _0x52f070,LOCAL_CACHE_INTERVAL_KEY as _0x2b4ad3,UniverCollaborationClientPlugin as _0x122f21,CollaborationSocketService as _0x3a1781,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x47ccc5,DEFAULT_WS_SESSION_TICKET_URL as _0x3e9558,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x30263f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x226081,UnitStatus as _0x30805d}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x356e26,IUniverInstanceService as _0x4a6374,Inject as _0x4254b3,Injector as _0x49ea94,Disposable as _0x275756,createIdentifier as _0x485c1e,ILogService as _0x3bb3af,ICommandService as _0x179029,Optional as _0x3d6a58,RxDisposable as _0x4f795a,Workbook as _0x153b81,DOC_RANGE_TYPE as _0x369fc5,debounce as _0x5b1e9d,Rectangle as _0x5eb73e,DisposableCollection as _0x58ae22,toDisposable as _0x236c59,UniverInstanceType as _0x12c7d5,generateRandomId as _0xf28c22,COLORS as _0x721eaf,ColorKit as _0x1c3c0d,ThemeService as _0x4906d5,fromEventSubject as _0x18c26e,Tools as _0x495d23,CommandType as _0x195ea6,IConfigService as _0x4bdd34,ILocalStorageService as _0x3d0e53,DependentOn as _0x3cdf16,Plugin as _0x48371a,merge as _0x4e0d00,registerDependencies as _0x1c12b7,mergeOverrideWithDependencies as _0x22ccff,touchDependencies as _0x379c2b}from'@univerjs/core';import{useObservable as _0x3bed19,useDependency as _0x548b5d,IUIPartsService as _0xf6fcc4,BuiltInUIPart as _0x4284b4,connectInjector as _0x5ab871,IBeforeCloseService as _0x2895c2,IMessageService as _0x4887c1,INotificationService as _0x38e1e8}from'@univerjs/ui';import{BehaviorSubject as _0x2ec644,switchMap as _0xd33efc,of as _0x2f5681,takeUntil as _0x4c94af,debounceTime as _0x152bf7,Subject as _0x5d7ab6,filter as _0x11708d,merge as _0x1b622e,combineLatest as _0x35b352,fromEvent as _0x9cc90b,shareReplay as _0xb1e6d5,mapTo as _0x34a876,distinctUntilChanged as _0x17f3df}from'rxjs';import{Tooltip as _0x2abe3b,clsx as _0x1df42b,MessageType as _0x266753}from'@univerjs/design';import{forwardRef as _0x2d72fb,useRef as _0x33aef7,createElement as _0x3826e4,useCallback as _0xc547d4}from'react';import{IRemoteInstanceService as _0x526a59}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x584db2,RefRangeService as _0x318afe,SetSelectionsOperation as _0x11c160,SheetsSelectionsService as _0x37aeb5,EffectRefRangId as _0x595c6b,handleIRemoveRow as _0x2f0d9d,handleIRemoveCol as _0x41f1ee,handleMoveRange as _0x5a5283,handleInsertRow as _0x5290c5,handleInsertRangeMoveRight as _0x471f7f,handleInsertRangeMoveDown as _0x2c05fd,handleInsertCol as _0xd36b26,handleDeleteRangeMoveUp as _0x473e0c,handleDeleteRangeMoveLeft as _0x4b547f,runRefRangeMutations as _0x4ae282}from'@univerjs/sheets';import{Shape as _0x445c68,Rect as _0x1241ee,getColor as _0x5701e8,RegularPolygon as _0x383636,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4c5bb0,Vector2 as _0x45fba4,SHEET_VIEWPORT_KEY as _0x4fe57b,IRenderManagerService as _0x54f460}from'@univerjs/engine-render';import{ISocketService as _0xd4bad1,WebSocketService as _0x519dda,HTTPService as _0xb11c39}from'@univerjs/network';import{IDocClipboardService as _0x168ed3,NodePositionConvertToCursor as _0x5a9ff8,NodePositionConvertToRectRange as _0x36de77,TEXT_RANGE_LAYER_INDEX as _0x257fd2,SetDocZoomRatioOperation as _0x42ed27,DocIMEInputManagerService as _0xd0cb86,DocStateChangeManagerService as _0xfa24fb}from'@univerjs/docs-ui';import{IImageIoService as _0x17a5f0}from'@univerjs/drawing';import{ITransformService as _0xac990f,CollaborationEvent as _0x1031d0,isTransformMutationFailure as _0x1d14c8,isTransformMutationsWithChangesetSuccess as _0x17e12b,RevisionService as _0x3a9d6d,ISnapshotServerService as _0x4dc603}from'@univerjs-pro/collaboration';function _0x2c9d(){const _0xb50099=['transformByState','onPointerLeave$','MOBILE_HAS_BEEN_BOUND','translate(.97)','_draw','_docSkeletonManagerService','APPLY_PERMISSION_DENIED','LICENSE_EXPORT_SIZE_EXCEEDED','push','APPLY_DUPLICATED','get','_collabCursorController','_startSheetCollabCursor','_clearOtherTimers','replace','_session','_renderManagerService','_roomMembers$','split','FETCH_MISS','18384030LtnDoy','yellow.400','show','saveOfflineData','YUUMI_AI_RUN_FAILED','UNIVER_DOC','_startDocCollabCursor','currentTheme$','_cursorInfo$','OFFLINE','UNAUTHENTICATED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','call','...','includes','removeParam','flatMap','_onCursorDelete','collabStatus.offline','collaboration-client-ui.config','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','transformStateCache','_init','UNDEFINED','ONLINE','arc','_cursorShapes','onPointerMove$','_setupSubUnitSync','SOCKET_FAILED_RETRY','transformMutation','clearTimeout','_selfUnitIDs','dispose','text','_initEntityListener','INVITE_CODE_ALREADY_BOUND','getActiveRange','attrs','_onCursorUpdate','getCurrentUnitForType','m2Prime','getRangePointData','_doCreateSocket','_eventUnsubscribe','_refRangeService','sessionTicket','_revisionService','subunit','getTypeOfUnitDisposed$','PY_RUNTIME_SCRIPT_ERROR','getValue','path','onPointerEnter$','trim','defineProperty','redoState','moveTo','syncEditingCollabCursor','_logService','_send','off-line-icon','_id','endColumn','_getAnchorBounding','with','TEXT','saveImage','_docTransformSelectionsService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_getScale','sheetId','LICENSE_MAX_UNITS_EXCEEDED','fill','_uiPartsService','indexOf','YUUMI_UNABLE_LOAD_URL','use','_collabCursorState$','green.600','params','_transformHistoryAndStateStack','MOBILE_VERIFY_CODE_MISMATCH','_docClipboardService','NOT_COLLAB','CHANGESET_REVISION_CONFILICT','collabCursorState$','idSuffix','M0\x200H16V16H0z','closePath','856092vYfEqw','debug','blue.400','MUTATION','endRow','getRelativeToViewportCoord','next','currentColor','disposeWithMe','INVALID_INVITE_CODE','unshift','InsertColCommandId','PENDING','Warning','getOffsetConfig','fillText','colorChannel1','_range','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','YUUMI_ALL_TABLES_IS_INVALID','round','_hideTimer','loadUnit','_hovered','_registerDependencies','_docTransformIMECacheService','permission.content','_updateURLWithCurrentState','restore','SOCKET_FAILED','INTERNAL_ERROR','color','setItem','_onRefRangeChange','url(#$1','propertyIsEnumerable','UNRECOGNIZED','jiqing.500','_saveTaskMap','USER_NOT_INVITED_CODE','ENSURE_SNAPSHOT_EXECUTION','getTypeOfUnitAdded$','min','OTHER_CLIENT_EDITING','row','NOT_FOUND','INVALID_ARGUMENT','contains','pushState','RemoveRowCommandId','forEach','entityInit$','sessionStatus$','column','unitID','_color','icon','_getSaveTimeout','clearInterval','activeSheet$','href','size','then','_docSyncEditingCollabCursorService','_textBubble','save','getCurrentRevOfUnit','lineTo','type','getConfig','_localStorageService','executionId','dispose$','cursorInfo$','saveTaskMap','[CollaborationDataLoaderController]','textRanges','DeleteRangeMoveLeftCommandId','getUniverSheetInstance','onLocalMutation','concat','extend','deepClone','mutations','delete','url(#off-line-icon_clip0_910_343)','asObservable','_online','collabStatus.notCollab','error','0\x200\x2017\x2016','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','session.connection-failed','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PERMISSION_DENIED','_handleEvent','actions','CONFLICT','wsSessionTicketUrl','currentSkeleton$','updateOfflineData','transformRemoteChangeset','children','APPLY_REVISION_CONFILICT','pipe','ranges','hasOwnProperty','replaceDocRanges','http://www.w3.org/2000/svg','_entities','OTHER_CLIENTS_EDITING','apply','collab-text-range-','addObject','parse','_colorIndex','UPDATE_CURSOR','selection','roomMembers','_updateSubUnitFromURLParams','urlChange$','_cursors','_scheduleClearOtherTimer','_docSkeleton','LICENSE_IMPORT_SIZE_EXCEEDED','isEditing','_backgroundColor','permission.title','_removeClearOtherTimer','purple.300','getVpScrollXYInfoByPosToVp','RECT','YUUMI_SUBSCRIPTION_NOT_FOUND','10767544glpVoM','_dataLoaderService','subUnitId','_transformPreviousActiveRange','_initCommandExecutedListener','location','unitId','from','xlink:href','addClipboardHook','url(#on-line-icon_clip0_910_349)','setInterval','imageSourceType','startRow','UniverIcon','_beforeCloseService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_updateCollabCursors','_sheetSkeletonManagerService','complete','getUndoRedoMutationParamsCache','univer-flex\x20univer-items-center','m1Prime','_localeService','0\x200\x2016\x2016','getOwnPropertyDescriptor','_initStatusComponent','subscribe','_labelPosition','_disabled','black','session.will-retry','_urlService','getUnitStatus$','has','random','_lastPointer','LICENSE_DISTRO_REJECTED','setAlpha','onRendered','_context','AWAITING','1359540ixLVET','setActiveRange','enableLocalCache','COMPLETION_FINISHED','getUnitId','defIds','svg','defs','7EsOwdx','_status$','_instanceService','collabStatus.fetchMiss','assignAColorForMemberID','entries','SNAPSHOT_HAS_BEEN_REMOVED','USERS_LEAVE','pluginName','getAncestorScale','_setupBeforeClosingHandler','toString','_assignedColors','runId','subscribeEvent','undoState','YUUMI_RATE_OVER_LIMIT','univer-mr-2\x20univer-flex\x20univer-text-xl','className','_name','height','INVITE_CODE_HAS_BEEN_UES','_localCacheService','ticket','TOO_MANY_REQUESTS','collabStatus.syncing','toRgbString','_createSocketURL','prototype','tag','_hover','_refreshCollabCursors','_commandService','drawWith','name','_injector','_handleLeaveEvent','uni.network.url-service','_scene','setParam','getMemberID','_scheduleSaving','getStateCache','VIEW_MAIN','div','roomMembers$','_cursor','rgba(255,\x20255,\x20255,\x200.01)','registerRenderModule','AWAITING_WITH_PENDING','application/json','getFocusedUnit','_themeService','_toggleOffline','_anchorDot','hide','getUnhiddenWorksheets','LOGIN_FAILED','find','values','collab-client.tooltip.reconnect','assign','NO_OTHER_CLIENTS_EDITING','HEADER_MENU','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collabStatus.synced','post','1459562bCIrXo','_saveCache','/run/','body','_notificationService','off-line-icon_clip0_910_343','none','search','_messageService','CONNECTOR_DATA_TOO_LARGE','stringify','_entityInit$','init','doc.mutation.rich-text-editing','focused$','_initDependencies','backgroundColor','font','fillRule','_toggleOnline','_collabSessionService','1860834bluxbz','transformSelections','onCommandExecuted','_configService','getViewport','_collaborationController','_unitOnClients','_colorAssignService','displayName','on-line-icon_clip0_910_349','setStateCache','send','onStarting','getDocRanges','FromArray','_shapes','436NOSzGO','unsubscribe','isActive','length','searchParams','requireSession','addHandlerCallback','addObjects','bottom','disableLocalCache','top','_document','_imageIoService','UNIVER_SHEET','selections','replaceState','_getSheetObject','createInstance','source','_drawAnchor','string','memberID','collaboration-client.offline-data-not-saved','_removeCollabCursors','startColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSkeleton','eventID','_univerInstanceService','_docTransformStateCacheService','INVITE_CODE_REQUIRED','EMAIL_HAS_BEEN_BOUND','_getSessionTicket','isArray','_syncEditingCollabCursorService','_cachedData','setShapeProps','getItem','triggerDblclick','resize','evenodd','beginPath','transformIMECache','executeCommand','map','set','onTransformChange$','_transformService','current','InsertRowCommandId','getActiveSheet','OnLineIcon','max','YUUMI_CONNECTOR_URL_NOT_FOUND','reconnect','exhaustSavingTask','InsertRangeMoveRightCommandId','_handleHeartbeatEvent','mask','Failed','40085KzhnWU','_httpService','Error','transformMutationsWithChangeset','history','getParam','WECHAT_HAS_BEEN_BOUND','_render','some','getSheetBySheetId','_transformUndoRedoStack','newValue','substring','all','registerRefRange','_ensureSubject','white','loadOfflineData','_drawTextRange','YUUMI_NO_CUBOID_FOR_QUESTION','_updateLocalCursor','fillStyle','_anchor','getMergeData','YUUMI_ASYNCIO_CANCELLED','_memberService','add','_initEvent','collaboration.closeRoom','width','_handleHover','_scheduleHeartbeat','event$','1em','startsWith','_docStateChangeManagerService','_unitStatus','sheetID','MoveRangeCommandId','_initStatusListener','getCollabCursors$','origin','YUUMI_URL_COL_OUT_OF_RANGE','_drawRectRange','whenReady','status$','range','transform','onMouseMove','cursorInfo','getSheetId','runOnServer','_registerRenderDependencies','APPLY_NON_SEQUENTIAL_REVISION','findNodePositionByCharIndex','_config','_heartbeatTimer','SNAPSHOT_INVALID_SNAPSHOT','getOwnPropertySymbols','measureText','registerBeforeClose','APPLY_REJECT','data','getMember','4sMiLeX'];_0x2c9d=function(){return _0xb50099;};return _0x2c9d();}import{SetTextSelectionsOperation as _0x9f2632,RichTextEditingMutation as _0x5eea58,DocSelectionManagerService as _0x177a84,DocSkeletonManagerService as _0x4102fb}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x5f344f,serializeRangeWithSheet as _0x3b92d0}from'@univerjs/engine-formula';import{map as _0x40da09,filter as _0x1274ae,throttleTime as _0x14045f,takeUntil as _0x5968d1,switchMap as _0x1e2186}from'rxjs/operators';import{SheetSkeletonManagerService as _0x529972,getCoordByCell as _0x525ff9,getSheetObject as _0x515a9d}from'@univerjs/sheets-ui';var v=function(){const _0x8facea=_0x5978f9;return v=Object['assign']||function(_0x55a9e9){const _0x5354d5=_0x3c22;for(var _0x92625d,_0x2fb4ad=0x1,_0x358bcb=arguments[_0x5354d5(0xd8)];_0x2fb4ad<_0x358bcb;_0x2fb4ad++){_0x92625d=arguments[_0x2fb4ad];for(var _0x21a20c in _0x92625d)Object['prototype'][_0x5354d5(0x22a)][_0x5354d5(0x172)](_0x92625d,_0x21a20c)&&(_0x55a9e9[_0x21a20c]=_0x92625d[_0x21a20c]);}return _0x55a9e9;},v[_0x8facea(0x22f)](this,arguments);},ci=function(_0x1f4986,_0x39c751){const _0x525558=_0x5978f9;var _0x24a51c={};for(var _0x3a464e in _0x1f4986)Object['prototype']['hasOwnProperty'][_0x525558(0x172)](_0x1f4986,_0x3a464e)&&_0x39c751[_0x525558(0x1b1)](_0x3a464e)<0x0&&(_0x24a51c[_0x3a464e]=_0x1f4986[_0x3a464e]);if(_0x1f4986!=null&&typeof Object[_0x525558(0x14b)]=='function'){for(var _0x3e0f35=0x0,_0x3a464e=Object[_0x525558(0x14b)](_0x1f4986);_0x3e0f35<_0x3a464e[_0x525558(0xd8)];_0x3e0f35++)_0x39c751[_0x525558(0x1b1)](_0x3a464e[_0x3e0f35])<0x0&&Object[_0x525558(0x293)][_0x525558(0x1e3)]['call'](_0x1f4986,_0x3a464e[_0x3e0f35])&&(_0x24a51c[_0x3a464e[_0x3e0f35]]=_0x1f4986[_0x3a464e[_0x3e0f35]]);}return _0x24a51c;},ke=_0x2d72fb(function(_0x52d502,_0x318c9b){const _0x1bdd24=_0x5978f9;var _0x2d499b=_0x52d502[_0x1bdd24(0x1f8)],_0x549e51=_0x52d502['id'],_0x166ad1=_0x52d502[_0x1bdd24(0x289)],_0x59a9be=_0x52d502[_0x1bdd24(0x211)],_0xd685f4=ci(_0x52d502,[_0x1bdd24(0x1f8),'id',_0x1bdd24(0x289),'extend']),_0x13c64d='univerjs-icon\x20univerjs-icon-'[_0x1bdd24(0x210)](_0x549e51,'\x20')[_0x1bdd24(0x210)](_0x166ad1||'')[_0x1bdd24(0x19c)](),_0x235ab7=_0x33aef7('_'['concat'](hi()));return Rt(_0x2d499b,''['concat'](_0x549e51),{'defIds':_0x2d499b[_0x1bdd24(0x274)],'idSuffix':_0x235ab7[_0x1bdd24(0x105)]},v({'ref':_0x318c9b,'className':_0x13c64d},_0xd685f4),_0x59a9be);});function Rt(_0x1a594e,_0xf93411,_0x59abee,_0x1fee6d,_0x16620c){const _0x1c374c=_0x5978f9;return _0x3826e4(_0x1a594e[_0x1c374c(0x294)],v(v({'key':_0xf93411},li(_0x1a594e,_0x59abee,_0x16620c)),_0x1fee6d),(_i(_0x1a594e,_0x59abee)[_0x1c374c(0x226)]||[])[_0x1c374c(0x101)](function(_0x18f168,_0x93d319){const _0x13e28e=_0x1c374c;return Rt(_0x18f168,''['concat'](_0xf93411,'-')['concat'](_0x1a594e[_0x13e28e(0x294)],'-')[_0x13e28e(0x210)](_0x93d319),_0x59abee,void 0x0,_0x16620c);}));}function li(_0x16d0d7,_0x2d0045,_0x5d60d7){const _0x528491=_0x5978f9;var _0xd573f6=v({},_0x16d0d7[_0x528491(0x18c)]);_0x5d60d7!=null&&_0x5d60d7[_0x528491(0x1d0)]&&_0xd573f6[_0x528491(0x1af)]==='colorChannel1'&&(_0xd573f6[_0x528491(0x1af)]=_0x5d60d7[_0x528491(0x1d0)]),_0x16d0d7[_0x528491(0x294)]===_0x528491(0x10f)&&_0xd573f6['id']&&(_0xd573f6['id']=_0xd573f6['id']+_0x2d0045[_0x528491(0x1bd)]),Object[_0x528491(0x27c)](_0xd573f6)['forEach'](function(_0x5a4f80){const _0x20cfca=_0x528491;var _0x4b3152=_0x5a4f80[0x0],_0x5c2f2c=_0x5a4f80[0x1];_0x4b3152===_0x20cfca(0x10f)&&typeof _0x5c2f2c==_0x20cfca(0xe9)&&(_0xd573f6[_0x4b3152]=_0x5c2f2c[_0x20cfca(0x160)](/url\(#(.*)\)/,'url(#$1'[_0x20cfca(0x210)](_0x2d0045[_0x20cfca(0x1bd)],')')));});var _0x3ff16b=_0x2d0045[_0x528491(0x274)];return!_0x3ff16b||_0x3ff16b['length']===0x0||(_0x16d0d7[_0x528491(0x294)]===_0x528491(0x1b3)&&_0xd573f6[_0x528491(0x24d)]&&(_0xd573f6['xlink:href']=_0xd573f6[_0x528491(0x24d)]+_0x2d0045[_0x528491(0x1bd)]),Object[_0x528491(0x27c)](_0xd573f6)[_0x528491(0x1f2)](function(_0xaa4205){const _0x3f0bed=_0x528491;var _0x232695=_0xaa4205[0x0],_0x3b7f56=_0xaa4205[0x1];typeof _0x3b7f56==_0x3f0bed(0xe9)&&(_0xd573f6[_0x232695]=_0x3b7f56[_0x3f0bed(0x160)](/url\(#(.*)\)/,_0x3f0bed(0x1e2)[_0x3f0bed(0x210)](_0x2d0045['idSuffix'],')')));})),_0xd573f6;}function _i(_0x134a04,_0x29b9ff){const _0x1b9394=_0x5978f9;var _0x35c187,_0x1743f5=_0x29b9ff[_0x1b9394(0x274)];return!_0x1743f5||_0x1743f5[_0x1b9394(0xd8)]===0x0?_0x134a04:_0x134a04['tag']==='defs'&&(!((_0x35c187=_0x134a04[_0x1b9394(0x226)])===null||_0x35c187===void 0x0)&&_0x35c187[_0x1b9394(0xd8)])?v(v({},_0x134a04),{'children':_0x134a04[_0x1b9394(0x226)][_0x1b9394(0x101)](function(_0x5ce186){const _0x2ce006=_0x1b9394;return typeof _0x5ce186['attrs']['id']==_0x2ce006(0xe9)&&_0x1743f5&&_0x1743f5[_0x2ce006(0x174)](_0x5ce186[_0x2ce006(0x18c)]['id'])?v(v({},_0x5ce186),{'attrs':v(v({},_0x5ce186[_0x2ce006(0x18c)]),{'id':_0x5ce186[_0x2ce006(0x18c)]['id']+_0x29b9ff[_0x2ce006(0x1bd)]})}):_0x5ce186;})}):_0x134a04;}function hi(){const _0x5ebb30=_0x5978f9;return Math[_0x5ebb30(0x268)]()[_0x5ebb30(0x282)](0x24)[_0x5ebb30(0x11d)](0x2,0x8);}ke['displayName']=_0x5978f9(0x253);var ui={'tag':_0x5978f9(0x275),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5978f9(0x2c0),'viewBox':_0x5978f9(0x25d),'width':_0x5978f9(0x132),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5978f9(0x215)},'children':[{'tag':_0x5978f9(0x19a),'attrs':{'stroke':_0x5978f9(0x1c7),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x5978f9(0x1d4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5978f9(0x276),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5978f9(0x2bf)},'children':[{'tag':_0x5978f9(0x19a),'attrs':{'fill':_0x5978f9(0x121),'d':_0x5978f9(0x1be)}}]}]}],'defIds':[_0x5978f9(0x2bf)]},Dt=_0x2d72fb(function(_0xc375ac,_0x267504){const _0x693b3=_0x5978f9;return _0x3826e4(ke,Object[_0x693b3(0x2b4)]({},_0xc375ac,{'id':_0x693b3(0x1a3),'ref':_0x267504,'icon':ui}));});Dt['displayName']='OffLineIcon';var di={'tag':_0x5978f9(0x275),'attrs':{'xmlns':_0x5978f9(0x22c),'fill':'none','viewBox':_0x5978f9(0x21a),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5978f9(0x24f)},'children':[{'tag':_0x5978f9(0x19a),'attrs':{'stroke':_0x5978f9(0x1c7),'d':_0x5978f9(0x17a),'strokeLinecap':_0x5978f9(0x1d4),'strokeLinejoin':_0x5978f9(0x1d4),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5978f9(0xce)},'children':[{'tag':_0x5978f9(0x19a),'attrs':{'fill':_0x5978f9(0x121),'d':_0x5978f9(0x1be),'transform':_0x5978f9(0x155)}}]}]}],'defIds':[_0x5978f9(0xce)]},Nt=_0x2d72fb(function(_0x421cc6,_0x1afca5){const _0x51bc98=_0x5978f9;return _0x3826e4(ke,Object[_0x51bc98(0x2b4)]({},_0x421cc6,{'id':'on-line-icon','ref':_0x1afca5,'icon':di}));});Nt[_0x5978f9(0xcd)]=_0x5978f9(0x108);function fi(_0x1b0c57){const _0x1e4852=_0x5978f9;switch(_0x1b0c57){case _0x138deb[_0x1e4852(0x16f)]:return _0x1e4852(0x178);case _0x138deb[_0x1e4852(0x221)]:return'collabStatus.conflict';case _0x138deb[_0x1e4852(0x165)]:return _0x1e4852(0x27a);case _0x138deb[_0x1e4852(0x1ba)]:return _0x1e4852(0x218);case _0x138deb[_0x1e4852(0x26e)]:case _0x138deb[_0x1e4852(0x2a8)]:return _0x1e4852(0x290);case _0x138deb['SYNCED']:case _0x138deb[_0x1e4852(0x1cc)]:return _0x1e4852(0x2b8);}}function Si(_0x2c34ea){const _0x39c4a2=_0x5978f9,{status$:_0x5be69f}=_0x2c34ea,_0x15daca=_0x3bed19(_0x5be69f,_0x138deb[_0x39c4a2(0x1ba)]),_0xe8a021=_0x548b5d(_0x356e26),_0x3f5dbc=_0x548b5d(_0x3f05f9),_0x357bfb=_0x15daca!==_0x138deb[_0x39c4a2(0x16f)],_0x17e6ca=_0xe8a021['t'](fi(_0x15daca)),_0x532195=_0x357bfb?_0x3929bb(Nt,{}):_0x3929bb(Dt,{}),_0x2ead1f=_0xc547d4(()=>{const _0x16e6a8=_0x39c4a2;_0x357bfb||_0x3f5dbc[_0x16e6a8(0x10b)]();},[_0x357bfb,_0x3f5dbc]);function _0x34c060(){const _0x515b36=_0x39c4a2;return _0x4335df('div',{'className':_0x515b36(0x25a),'onClick':_0x2ead1f,'children':[_0x3929bb(_0x515b36(0x2a3),{'className':_0x1df42b(_0x515b36(0x288),{'univer-text-green-500':_0x357bfb,'univer-text-red-500':!_0x357bfb}),'children':_0x532195}),_0x3929bb(_0x515b36(0x2a3),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x17e6ca})]});}return _0x357bfb?_0x34c060():_0x3929bb(_0x2abe3b,{'title':_0xe8a021['t'](_0x39c4a2(0x2b3)),'children':_0x34c060()});}var mi=Object['getOwnPropertyDescriptor'],Ii=(_0x119aa1,_0x3aebf1,_0x13e8c4,_0x1074cb)=>{const _0xcc760f=_0x5978f9;for(var _0x2dfc03=_0x1074cb>0x1?void 0x0:_0x1074cb?mi(_0x3aebf1,_0x13e8c4):_0x3aebf1,_0x119dfa=_0x119aa1[_0xcc760f(0xd8)]-0x1,_0x1d2356;_0x119dfa>=0x0;_0x119dfa--)(_0x1d2356=_0x119aa1[_0x119dfa])&&(_0x2dfc03=_0x1d2356(_0x2dfc03)||_0x2dfc03);return _0x2dfc03;},q=(_0x4ab256,_0x4bc679)=>(_0x3a4e99,_0x231186)=>_0x4bc679(_0x3a4e99,_0x231186,_0x4ab256);let se=class extends _0x275756{constructor(_0x558fb0,_0x21e8e4,_0x25f771,_0x2f1d0d){const _0x2d5c1d=_0x5978f9;super(),_(this,'_status$',new _0x2ec644(_0x138deb[_0x2d5c1d(0x1ba)])),(this[_0x2d5c1d(0xf1)]=_0x558fb0,this[_0x2d5c1d(0x29a)]=_0x21e8e4,this[_0x2d5c1d(0xca)]=_0x25f771,this[_0x2d5c1d(0x1b0)]=_0x2f1d0d,this[_0x2d5c1d(0x25f)](),this[_0x2d5c1d(0x138)]());}['_initStatusListener'](){const _0x2c505d=_0x5978f9;this[_0x2c505d(0x1c8)](this[_0x2c505d(0xf1)][_0x2c505d(0x2c8)]['pipe'](_0xd33efc(()=>{const _0x5f246d=_0x2c505d,_0x4e3734=this[_0x5f246d(0xf1)][_0x5f246d(0x2aa)]();return _0x4e3734?this[_0x5f246d(0xca)]['getCollabEntity$'](_0x4e3734[_0x5f246d(0x273)]()):_0x2f5681(null);}),_0xd33efc(_0x5b4dfb=>_0x5b4dfb?_0x5b4dfb[_0x2c505d(0x13e)]:_0x2f5681(_0x138deb[_0x2c505d(0x1ba)])))['subscribe'](_0x9fb42=>{const _0x5af938=_0x2c505d;this[_0x5af938(0x278)][_0x5af938(0x1c6)](_0x9fb42);}));}['_initStatusComponent'](){const _0x16d3f0=_0x5978f9;this[_0x16d3f0(0x1c8)](this['_uiPartsService']['registerComponent'](_0x4284b4[_0x16d3f0(0x2b6)],()=>_0x5ab871(vi({'status$':this[_0x16d3f0(0x278)][_0x16d3f0(0x216)]()}),this['_injector'])));}};se=Ii([q(0x0,_0x4a6374),q(0x1,_0x4254b3(_0x49ea94)),q(0x2,_0x4254b3(_0x2feee0)),q(0x3,_0xf6fcc4)],se);function vi(_0x4959fc){const {status$:_0x2be7cb}=_0x4959fc;return function(){return _0x3929bb(Si,{'status$':_0x2be7cb});};}const Ut=_0x485c1e(_0x5978f9(0x29c));var gi=Object['getOwnPropertyDescriptor'],pi=(_0x1b2c0c,_0x214522,_0x4c82c4,_0x42d402)=>{for(var _0x4ca6ed=_0x42d402>0x1?void 0x0:_0x42d402?gi(_0x214522,_0x4c82c4):_0x214522,_0x298ded=_0x1b2c0c['length']-0x1,_0x1999fa;_0x298ded>=0x0;_0x298ded--)(_0x1999fa=_0x1b2c0c[_0x298ded])&&(_0x4ca6ed=_0x1999fa(_0x4ca6ed)||_0x4ca6ed);return _0x4ca6ed;},G=(_0x179bfc,_0x59f03e)=>(_0x1a462d,_0x5036ab)=>_0x59f03e(_0x1a462d,_0x5036ab,_0x179bfc);let ie=class extends _0x4f795a{constructor(_0x3333b7,_0x17a93c,_0x431a22,_0x1af288,_0x263aed){const _0x5439d2=_0x5978f9;super(),this['_urlService']=_0x3333b7,this[_0x5439d2(0x1a1)]=_0x17a93c,this[_0x5439d2(0x297)]=_0x431a22,this[_0x5439d2(0x246)]=_0x1af288,_0x263aed?_0x263aed==null||_0x263aed[_0x5439d2(0x13d)]()[_0x5439d2(0x1fe)](()=>this[_0x5439d2(0x17c)]()):(this['_logService'][_0x5439d2(0x1c1)](_0x5439d2(0x20b),_0x5439d2(0x1d2)),this[_0x5439d2(0x17c)]());}async[_0x5978f9(0x17c)](){const _0x1b777c=_0x5978f9,_0x11d317=this[_0x1b777c(0x265)][_0x1b777c(0x116)]('unit'),_0x746572=this[_0x1b777c(0x265)][_0x1b777c(0x116)]('type'),_0x6ab523=this[_0x1b777c(0x265)][_0x1b777c(0x116)]('subunit');if(!_0x11d317||!_0x746572){this[_0x1b777c(0x1a1)][_0x1b777c(0x1c1)](_0x1b777c(0x20b),_0x1b777c(0x21b));return;}const _0x422468=await this[_0x1b777c(0x246)][_0x1b777c(0x1d6)](_0x11d317,Number(_0x746572),_0x6ab523);_0x422468&&_0x422468 instanceof _0x153b81&&this[_0x1b777c(0x182)](_0x422468);}async[_0x5978f9(0x182)](_0x505871){const _0x3f4d29=_0x5978f9;await this[_0x3f4d29(0x237)](_0x505871),_0x505871[_0x3f4d29(0x1fb)][_0x3f4d29(0x228)](_0x4c94af(this['dispose$']))['subscribe'](_0x394237=>{const _0xdc7f2d=_0x3f4d29;_0x394237&&this[_0xdc7f2d(0x1db)](_0x394237);}),this['_urlService']['urlChange$']['pipe'](_0x4c94af(this[_0x3f4d29(0x208)]))[_0x3f4d29(0x260)](()=>this['_updateSubUnitFromURLParams'](_0x505871));}['_updateURLWithCurrentState'](_0xc8a965,_0x19ce39=!0x1){const _0x4901aa=_0x5978f9,_0x169d94=this[_0x4901aa(0x265)][_0x4901aa(0x116)](_0x4901aa(0x196));_0xc8a965[_0x4901aa(0x143)]()!==_0x169d94&&this[_0x4901aa(0x265)][_0x4901aa(0x29e)]('subunit',_0xc8a965[_0x4901aa(0x143)](),_0x19ce39);}async['_updateSubUnitFromURLParams'](_0x38ddb5){const _0x40a4c3=_0x5978f9;var _0x13eec2;const _0x3a42ee=this[_0x40a4c3(0x265)][_0x40a4c3(0x116)]('subunit');if(!_0x3a42ee||!_0x38ddb5[_0x40a4c3(0x11a)](_0x3a42ee)){const _0x5588bb=_0x38ddb5[_0x40a4c3(0x2af)]()[0x0],_0x542a34=_0x38ddb5['getSheetBySheetId'](_0x5588bb);if(!_0x542a34)return;this[_0x40a4c3(0x1db)](_0x542a34,!0x0),await this['_commandService']['executeCommand'](_0x584db2['id'],{'unitId':_0x38ddb5[_0x40a4c3(0x273)](),'subUnitId':_0x5588bb});return;}((_0x13eec2=_0x38ddb5[_0x40a4c3(0x107)]())==null?void 0x0:_0x13eec2[_0x40a4c3(0x143)]())!==_0x3a42ee&&await this[_0x40a4c3(0x297)][_0x40a4c3(0x100)](_0x584db2['id'],{'unitId':_0x38ddb5[_0x40a4c3(0x273)](),'subUnitId':_0x3a42ee});}};ie=pi([G(0x0,Ut),G(0x1,_0x3bb3af),G(0x2,_0x179029),G(0x3,_0x4254b3(_0x16282f)),G(0x4,_0x3d6a58(_0x526a59))],ie);var Ci=Object[_0x5978f9(0x25e)],Ei=(_0x4d54a3,_0x29b6db,_0x3c5af3,_0x20996b)=>{const _0x418b16=_0x5978f9;for(var _0x349929=_0x20996b>0x1?void 0x0:_0x20996b?Ci(_0x29b6db,_0x3c5af3):_0x29b6db,_0x383131=_0x4d54a3[_0x418b16(0xd8)]-0x1,_0x161b1c;_0x383131>=0x0;_0x383131--)(_0x161b1c=_0x4d54a3[_0x383131])&&(_0x349929=_0x161b1c(_0x349929)||_0x349929);return _0x349929;},Je=(_0xbbf94,_0x71d6f5)=>(_0x57add5,_0x4622eb)=>_0x71d6f5(_0x57add5,_0x4622eb,_0xbbf94);let Ne=class extends _0x4f795a{constructor(_0x34b44a,_0x53d49c){const _0x4ff0e8=_0x5978f9;super(),this['_docClipboardService']=_0x34b44a,this[_0x4ff0e8(0xe1)]=_0x53d49c,this[_0x4ff0e8(0x17c)]();}['_init'](){const _0x762983=_0x5978f9,_0x4b95e1=this;this[_0x762983(0x1c8)](this[_0x762983(0x1b9)][_0x762983(0x24e)]({'onBeforePasteImage':async _0x291a91=>{const _0x7586a4=_0x762983,_0x5da7db=await _0x4b95e1[_0x7586a4(0xe1)][_0x7586a4(0x1a9)](_0x291a91);return _0x5da7db?{'source':_0x5da7db[_0x7586a4(0xe7)],'imageSourceType':_0x5da7db[_0x7586a4(0x251)]}:null;}}));}};Ne=Ei([Je(0x0,_0x168ed3),Je(0x1,_0x17a5f0)],Ne);const Ze=[_0x5978f9(0x241),_0x5978f9(0x1e5),_0x5978f9(0x1b5),'red.300',_0x5978f9(0x1c2),_0x5978f9(0x167)];class He extends _0x275756{constructor(){const _0x5a9aee=_0x5978f9;super(...arguments),_(this,_0x5a9aee(0x283),new Map()),_(this,'_colorIndex',0x0);}[_0x5978f9(0x27b)](_0x14820f){const _0x3bf38f=_0x5978f9;if(this[_0x3bf38f(0x283)]['has'](_0x14820f))return this['_assignedColors'][_0x3bf38f(0x15c)](_0x14820f);const _0x3f6e31=Ze[this[_0x3bf38f(0x233)]];return this[_0x3bf38f(0x233)]=(this['_colorIndex']+0x1)%Ze[_0x3bf38f(0xd8)],this[_0x3bf38f(0x283)][_0x3bf38f(0x102)](_0x14820f,_0x3f6e31),_0x3f6e31;}}function Mt(_0x579a22){const _0x2fc125=_0x5978f9;let _0x3e4cc4='';for(const _0x3746db of _0x579a22){const {startOffset:_0x2fea14,endOffset:_0x55b80d,isActive:_0x3641ea,rangeType:_0x489938,segmentId:_0x4f0c21,segmentPage:_0x442c11}=_0x3746db;_0x3e4cc4[_0x2fc125(0xd8)]&&(_0x3e4cc4+=','),_0x3e4cc4+=_0x2fea14+':'+_0x55b80d+':'+(_0x3641ea?'1':'0')+':'+_0x489938+':'+_0x4f0c21+':'+_0x442c11;}return _0x3e4cc4;}function Oi(_0x2af10c){const _0xe6c589=_0x5978f9,_0x5cfc3e=_0x2af10c[_0xe6c589(0x164)](','),_0x2d0450=[];for(const _0x11d637 of _0x5cfc3e){const [_0x4a6ae4,_0x2cd72c,_0x4ff11e,_0x31dd7a,_0x493d96,_0x28f1e7]=_0x11d637['split'](':');_0x2d0450[_0xe6c589(0x15a)]({'startOffset':Number(_0x4a6ae4),'endOffset':Number(_0x2cd72c),'collapsed':_0x4a6ae4===_0x2cd72c,'isActive':_0x4ff11e==='1','rangeType':_0x31dd7a===_0x369fc5[_0xe6c589(0x1a8)]?_0x369fc5['TEXT']:_0x369fc5[_0xe6c589(0x243)],'segmentId':typeof _0x493d96==_0xe6c589(0xe9)?String(_0x493d96):'','segmentPage':Number(_0x28f1e7!=null?_0x28f1e7:-0x1)});}return _0x2d0450[_0xe6c589(0x119)](_0x3d898b=>_0x3d898b[_0xe6c589(0xd7)])||(_0x2d0450[0x0]['isActive']=!0x0),_0x2d0450;}class Fe extends _0x4f795a{constructor(){const _0x7a631f=_0x5978f9;super(...arguments),_(this,_0x7a631f(0x1b4),new _0x2ec644(null)),_(this,_0x7a631f(0x1bc),this['_collabCursorState$'][_0x7a631f(0x216)]());}['syncEditingCollabCursor'](_0x52269e){const _0x3fb115=_0x5978f9,{unitID:_0x3071a0,memberID:_0x136579,textRanges:_0x48b809}=_0x52269e,_0x1d2d00=Mt(_0x48b809);if(_0x1d2d00==='')return;const _0x5ded88={'unitID':_0x3071a0,'memberID':_0x136579,'selection':_0x1d2d00};this[_0x3fb115(0x1b4)][_0x3fb115(0x1c6)](_0x5ded88);}}var bi=Object['getOwnPropertyDescriptor'],Ti=(_0x48a169,_0x290ce7,_0x40d91b,_0x138171)=>{const _0x27facf=_0x5978f9;for(var _0x2e7ddc=_0x138171>0x1?void 0x0:_0x138171?bi(_0x290ce7,_0x40d91b):_0x290ce7,_0x549869=_0x48a169[_0x27facf(0xd8)]-0x1,_0x3fca2f;_0x549869>=0x0;_0x549869--)(_0x3fca2f=_0x48a169[_0x549869])&&(_0x2e7ddc=_0x3fca2f(_0x2e7ddc)||_0x2e7ddc);return _0x2e7ddc;},P=(_0x33e3f1,_0x3a4059)=>(_0x40cb02,_0x1b72dc)=>_0x3a4059(_0x40cb02,_0x1b72dc,_0x33e3f1);const Ri=0x12c,Di=0x64;let Ue=class extends _0x4f795a{constructor(_0x1facad,_0x307296,_0x143b0c,_0x562c52,_0x3c689b,_0x1c53b5,_0x204c73,_0x110cb3,_0x8cffc){const _0x209d23=_0x5978f9;super(),_(this,_0x209d23(0x217),!0x1),_(this,_0x209d23(0x17c),!0x1),_(this,_0x209d23(0x16e),new _0x2ec644(new Map())),_(this,'cursorInfo$',this[_0x209d23(0x16e)][_0x209d23(0x216)]()),_(this,_0x209d23(0x163),new _0x2ec644([])),_(this,'roomMembers$',this[_0x209d23(0x163)]['pipe'](_0x152bf7(Ri))),_(this,_0x209d23(0x125),_0x5b1e9d(_0x1701fc=>{const _0x34c2d7=_0x209d23,_0x43a271={'eventID':_0x1031d0[_0x34c2d7(0x234)],'data':{'unitID':this[_0x34c2d7(0x1f6)],'memberID':this[_0x34c2d7(0x161)][_0x34c2d7(0x29f)](),'selection':Mt(_0x1701fc)}};this['_session'][_0x34c2d7(0xd0)](_0x43a271,this[_0x34c2d7(0x1f6)]);},Di)),(this[_0x209d23(0x1f6)]=_0x1facad,this[_0x209d23(0x161)]=_0x307296,this[_0x209d23(0x29a)]=_0x143b0c,this[_0x209d23(0xcc)]=_0x562c52,this[_0x209d23(0x12a)]=_0x3c689b,this['_syncEditingCollabCursorService']=_0x1c53b5,this[_0x209d23(0x104)]=_0x204c73,this[_0x209d23(0xf1)]=_0x110cb3,this['_commandService']=_0x8cffc);}get[_0x5978f9(0x142)](){const _0x2c882e=_0x5978f9;return this[_0x2c882e(0x16e)][_0x2c882e(0x199)]();}get[_0x5978f9(0x236)](){const _0x45bd48=_0x5978f9;return this[_0x45bd48(0x163)][_0x45bd48(0x199)]();}[_0x5978f9(0x187)](){const _0x19c359=_0x5978f9;super['dispose'](),this[_0x19c359(0x16e)][_0x19c359(0x1c6)](new Map()),this[_0x19c359(0x16e)][_0x19c359(0x258)](),this[_0x19c359(0x163)][_0x19c359(0x1c6)]([]),this[_0x19c359(0x163)]['complete']();}[_0x5978f9(0x2c6)](){const _0x26362a=_0x5978f9;this[_0x26362a(0x17c)]||(this['_init']=!0x0,this[_0x26362a(0x161)][_0x26362a(0x1f4)]['pipe'](_0x4c94af(this[_0x26362a(0x208)]))[_0x26362a(0x260)](_0x412c78=>{const _0xab287a=_0x26362a;_0x412c78===_0x5cbbf2[_0xab287a(0x17e)]?this[_0xab287a(0x2cd)]():this[_0xab287a(0x2ac)]();}),this[_0x26362a(0x161)][_0x26362a(0x131)][_0x26362a(0x228)](_0x4c94af(this[_0x26362a(0x208)]))[_0x26362a(0x260)](_0x37b8e0=>{const _0xe55046=_0x26362a,_0x32207e=_0x37b8e0[_0xe55046(0xf0)];_0x32207e===_0x1031d0[_0xe55046(0x234)]&&this[_0xe55046(0x18d)](_0x37b8e0),_0x32207e===_0x1031d0[_0xe55046(0x27e)]&&this[_0xe55046(0x177)](_0x37b8e0);}),this[_0x26362a(0x1c8)](this['_commandService'][_0x26362a(0xc7)](_0x489278=>{const _0x5dff9b=_0x26362a,_0x5411f0=_0x489278[_0x5dff9b(0x1b6)];_0x5411f0!=null&&this[_0x5dff9b(0x217)]&&_0x489278['id']===_0x9f2632['id']&&_0x5411f0['unitId']===this[_0x5dff9b(0x1f6)]&&_0x5411f0[_0x5dff9b(0x23d)]===!0x1&&_0x5411f0[_0x5dff9b(0x229)][_0x5dff9b(0xd8)]>0x0&&this['_updateLocalCursor'](_0x5411f0[_0x5dff9b(0x229)]);})),this[_0x26362a(0xf7)][_0x26362a(0x1bc)][_0x26362a(0x228)](_0x4c94af(this[_0x26362a(0x208)]))['subscribe'](_0x12f8d1=>{const _0x3cbe8d=_0x26362a;if((_0x12f8d1==null?void 0x0:_0x12f8d1['unitID'])!==this[_0x3cbe8d(0x1f6)])return;const _0x40ae8d={'eventID':_0x1031d0['UPDATE_CURSOR'],'data':_0x12f8d1};this[_0x3cbe8d(0x18d)](_0x40ae8d);}),this[_0x26362a(0x1c8)](this[_0x26362a(0x297)]['onCommandExecuted'](_0x5998c3=>{const _0x517fae=_0x26362a;if(_0x5998c3[_0x517fae(0x1b6)]==null)return;const _0x2dc014=_0x5998c3[_0x517fae(0x1b6)];if(_0x5998c3['id']!==_0x5eea58['id']||_0x2dc014[_0x517fae(0x24b)]!==this['unitID'])return;const _0x204db8={'id':_0x517fae(0x2c7),'params':_0x2dc014},_0x1e6fbe=this[_0x517fae(0x142)];for(const [_0x19a955,_0x57e312]of _0x1e6fbe){const _0x11e830={'id':_0x517fae(0x2c7),'params':{'unitId':this[_0x517fae(0x1f6)],'actions':null,'textRanges':_0x57e312[_0x517fae(0x229)]}},_0x2fa267=this[_0x517fae(0x104)]['transformMutation'](_0x204db8,_0x11e830,!0x1);if(_0x1d14c8(_0x2fa267))throw _0x2fa267[_0x517fae(0x219)];_0x1e6fbe[_0x517fae(0x102)](_0x19a955,{..._0x57e312,'ranges':_0x2fa267[_0x517fae(0x18f)][_0x517fae(0x1b6)][_0x517fae(0x20c)]});}queueMicrotask(()=>{const _0x5bb4f4=_0x517fae;this[_0x5bb4f4(0x16e)]['next'](_0x1e6fbe);});})));}[_0x5978f9(0x18d)](_0x4f1dcb){const _0xda2575=_0x5978f9;var _0x2723d1,_0x73d404;const {memberID:_0x491f39,selection:_0x3b4ec4}=_0x4f1dcb['data'],_0x53c777=Oi(_0x3b4ec4),_0x32c89e=(_0x73d404=(_0x2723d1=this[_0xda2575(0x12a)][_0xda2575(0x150)](this[_0xda2575(0x1f6)],_0x491f39))==null?void 0x0:_0x2723d1[_0xda2575(0x299)])!=null?_0x73d404:'Unknown\x20user',_0x5970e8={'color':this[_0xda2575(0xcc)][_0xda2575(0x27b)](_0x491f39),'name':_0x32c89e,'ranges':_0x53c777},_0x4d26b7=this[_0xda2575(0x142)];_0x4d26b7[_0xda2575(0x102)](_0x491f39,_0x5970e8),this[_0xda2575(0x16e)][_0xda2575(0x1c6)](_0x4d26b7);}[_0x5978f9(0x177)](_0x1b721b){const _0x299754=_0x5978f9,{memberID:_0x3d7296}=_0x1b721b[_0x299754(0x14f)],_0x11fa85=this[_0x299754(0x142)];_0x11fa85[_0x299754(0x214)](_0x3d7296),this['_cursorInfo$'][_0x299754(0x1c6)](_0x11fa85);}[_0x5978f9(0x2cd)](){const _0x50d50c=_0x5978f9;var _0x2d542c;if(this['_online']=!0x0,((_0x2d542c=this[_0x50d50c(0xf1)]['getFocusedUnit']())==null?void 0x0:_0x2d542c['getUnitId']())!==this['unitID'])return;const _0x2528f5=this[_0x50d50c(0x29a)][_0x50d50c(0x15c)](_0x177a84)[_0x50d50c(0xd2)]();Array['isArray'](_0x2528f5)&&_0x2528f5[_0x50d50c(0xd8)]>0x0&&this[_0x50d50c(0x125)](_0x2528f5);}[_0x5978f9(0x2ac)](){const _0x53ea27=_0x5978f9;this[_0x53ea27(0x217)]=!0x1;}};Ue=Ti([P(0x2,_0x4254b3(_0x49ea94)),P(0x3,_0x4254b3(He)),P(0x4,_0x4254b3(_0x1106ba)),P(0x5,_0x4254b3(Fe)),P(0x6,_0xac990f),P(0x7,_0x4a6374),P(0x8,_0x179029)],Ue);var Ni=Object[_0x5978f9(0x25e)],Ui=(_0x338b8e,_0x411582,_0x150ae0,_0x3ad0cc)=>{const _0x348409=_0x5978f9;for(var _0x310dbc=_0x3ad0cc>0x1?void 0x0:_0x3ad0cc?Ni(_0x411582,_0x150ae0):_0x411582,_0x55fa0a=_0x338b8e[_0x348409(0xd8)]-0x1,_0x213810;_0x55fa0a>=0x0;_0x55fa0a--)(_0x213810=_0x338b8e[_0x55fa0a])&&(_0x310dbc=_0x213810(_0x310dbc)||_0x310dbc);return _0x310dbc;},x=(_0x2df6c8,_0x37522f)=>(_0x5e73c6,_0x4a84d8)=>_0x37522f(_0x5e73c6,_0x4a84d8,_0x2df6c8);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x5d9f92=[],_0x139fc6=!0x1;return _0x618424=>{const _0x1ea0d5=_0x3c22;_0x5d9f92[_0x1ea0d5(0x15a)](_0x618424),_0x139fc6||(_0x139fc6=!0x0,setTimeout(()=>{const _0x17e11f=_0x1ea0d5;_0x5d9f92[_0x17e11f(0x1f2)](_0x1650ca=>_0x1650ca()),_0x5d9f92=[],_0x139fc6=!0x1;}));};};let Me=class extends _0x4f795a{constructor(_0x24023c,_0x594b54,_0x484c6b,_0x450ccf,_0x3fff72,_0x31566b,_0x202087,_0x5719b9){const _0x4a3ce3=_0x5978f9;super(),_(this,_0x4a3ce3(0x217),!0x1),_(this,_0x4a3ce3(0x17c),!0x1),_(this,'_cursorInfo$',new _0x2ec644(new Map())),_(this,_0x4a3ce3(0x209),this[_0x4a3ce3(0x16e)][_0x4a3ce3(0x216)]()),_(this,_0x4a3ce3(0x163),new _0x2ec644([])),_(this,_0x4a3ce3(0x2a4),this[_0x4a3ce3(0x163)][_0x4a3ce3(0x228)](_0x152bf7(Mi))),_(this,_0x4a3ce3(0x125),_0x5b1e9d((_0x45ee13,_0x21687c)=>{const _0x4e420c=_0x4a3ce3,_0x25975a={'eventID':_0x1031d0['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x3b92d0(_0x45ee13,_0x21687c['range'])}};this['_session'][_0x4e420c(0xd0)](_0x25975a,this['unitID']);},Li)),(this[_0x4a3ce3(0x1f6)]=_0x24023c,this[_0x4a3ce3(0x161)]=_0x594b54,this[_0x4a3ce3(0x29a)]=_0x484c6b,this[_0x4a3ce3(0xcc)]=_0x450ccf,this[_0x4a3ce3(0x12a)]=_0x3fff72,this[_0x4a3ce3(0xf1)]=_0x31566b,this[_0x4a3ce3(0x297)]=_0x202087,this[_0x4a3ce3(0x193)]=_0x5719b9);}get[_0x5978f9(0x142)](){const _0xd1513a=_0x5978f9;return this[_0xd1513a(0x16e)][_0xd1513a(0x199)]();}get['roomMembers'](){const _0x154093=_0x5978f9;return this[_0x154093(0x163)][_0x154093(0x199)]();}[_0x5978f9(0x187)](){const _0x5a4a93=_0x5978f9;super[_0x5a4a93(0x187)](),this[_0x5a4a93(0x16e)][_0x5a4a93(0x1c6)](new Map()),this['_cursorInfo$'][_0x5a4a93(0x258)](),this[_0x5a4a93(0x163)][_0x5a4a93(0x1c6)]([]),this[_0x5a4a93(0x163)]['complete']();}[_0x5978f9(0x2c6)](){const _0x4251b8=_0x5978f9;this['_init']||(this[_0x4251b8(0x17c)]=!0x0,this['_session'][_0x4251b8(0x1f4)][_0x4251b8(0x228)](_0x4c94af(this[_0x4251b8(0x208)]))['subscribe'](_0x345f3d=>{const _0x1f01fd=_0x4251b8;_0x345f3d===_0x5cbbf2[_0x1f01fd(0x17e)]?this[_0x1f01fd(0x2cd)]():this[_0x1f01fd(0x2ac)]();}),this[_0x4251b8(0x161)][_0x4251b8(0x131)][_0x4251b8(0x228)](_0x4c94af(this[_0x4251b8(0x208)]))[_0x4251b8(0x260)](_0x34394d=>{const _0x111d11=_0x4251b8,_0x3006a3=_0x34394d[_0x111d11(0xf0)];_0x3006a3===_0x1031d0['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x34394d),_0x3006a3===_0x1031d0[_0x111d11(0x27e)]&&this[_0x111d11(0x177)](_0x34394d);}),this[_0x4251b8(0x1e1)](),this[_0x4251b8(0x1c8)](this[_0x4251b8(0x297)][_0x4251b8(0xc7)](_0x5969d9=>{const _0x5ca535=_0x4251b8;if(this[_0x5ca535(0x217)]&&_0x5969d9['id']===_0x11c160['id']&&_0x5969d9['params']['unitId']===this[_0x5ca535(0x1f6)]){const _0x10f865=_0x5969d9[_0x5ca535(0x1b6)];this[_0x5ca535(0x125)](_0x10f865[_0x5ca535(0x247)],_0x10f865[_0x5ca535(0xe3)][0x0]);}})));}[_0x5978f9(0x18d)](_0x21c42e){const _0x640f07=_0x5978f9;var _0x4afb68,_0x310143;const {memberID:_0x3a7e7c,selection:_0x39a25c}=_0x21c42e[_0x640f07(0x14f)],{sheetName:_0x48735b,range:_0x3449d8}=_0x5f344f(_0x39a25c),_0x13c2db={'name':(_0x310143=(_0x4afb68=this[_0x640f07(0x12a)]['getMember'](this['unitID'],_0x3a7e7c))==null?void 0x0:_0x4afb68['name'])!=null?_0x310143:'Unknown\x20user','range':this['_getMergeRange'](_0x48735b,_0x3449d8),'sheetID':_0x48735b,'color':this[_0x640f07(0xcc)][_0x640f07(0x27b)](_0x3a7e7c),'selection':_0x39a25c},_0x213c4e=this['cursorInfo'];_0x213c4e['set'](_0x3a7e7c,_0x13c2db),this[_0x640f07(0x16e)][_0x640f07(0x1c6)](_0x213c4e);}[_0x5978f9(0x177)](_0x1b3874){const _0x419e78=_0x5978f9,{memberID:_0x1deebf}=_0x1b3874['data'],_0x2f2f8e=this[_0x419e78(0x142)];_0x2f2f8e[_0x419e78(0x214)](_0x1deebf),this['_cursorInfo$'][_0x419e78(0x1c6)](_0x2f2f8e);}['_getMergeRange'](_0x70cd81,_0x2544b7){const _0x5ed2d0=_0x5978f9;var _0x22f7fd,_0x193b3e;const _0x575014=(_0x193b3e=(_0x22f7fd=this['_univerInstanceService'][_0x5ed2d0(0x20e)](this[_0x5ed2d0(0x1f6)]))==null?void 0x0:_0x22f7fd[_0x5ed2d0(0x11a)](_0x70cd81))==null?void 0x0:_0x193b3e[_0x5ed2d0(0x128)]();return(_0x575014==null?void 0x0:_0x575014[_0x5ed2d0(0x2b1)](_0x28b29d=>_0x5eb73e[_0x5ed2d0(0x1ef)](_0x28b29d,_0x2544b7)))||_0x2544b7;}[_0x5978f9(0x1e1)](){const _0x1bf422=_0x5978f9,_0x1e146f=new _0x58ae22(),_0x1974aa=Pi(),_0x45f78e=()=>{const _0x33d7a0=_0x3c22;_0x1e146f[_0x33d7a0(0x187)]();const _0x503eba=(_0x2e99d7,_0xf61f03,_0xb010fd,_0x21e530)=>{const _0x2598d1=_0x33d7a0;let _0x4d5b57=[];switch(_0x2e99d7['id']){case _0x595c6b[_0x2598d1(0x20d)]:{_0x4d5b57=_0x4b547f(_0x2e99d7,_0x21e530);break;}case _0x595c6b['DeleteRangeMoveUpCommandId']:{_0x4d5b57=_0x473e0c(_0x2e99d7,_0x21e530);break;}case _0x595c6b[_0x2598d1(0x1cb)]:{_0x4d5b57=_0xd36b26(_0x2e99d7,_0x21e530);break;}case _0x595c6b['InsertRangeMoveDownCommandId']:{_0x4d5b57=_0x2c05fd(_0x2e99d7,_0x21e530);break;}case _0x595c6b[_0x2598d1(0x10d)]:{_0x4d5b57=_0x471f7f(_0x2e99d7,_0x21e530);break;}case _0x595c6b[_0x2598d1(0x106)]:{_0x4d5b57=_0x5290c5(_0x2e99d7,_0x21e530);break;}case _0x595c6b[_0x2598d1(0x137)]:{_0x4d5b57=_0x5a5283(_0x2e99d7,_0x21e530);break;}case _0x595c6b['RemoveColCommandId']:{_0x4d5b57=_0x41f1ee(_0x2e99d7,_0x21e530);break;}case _0x595c6b[_0x2598d1(0x1f1)]:{_0x4d5b57=_0x2f0d9d(_0x2e99d7,_0x21e530);break;}}const _0x311f35=_0x4ae282(_0x4d5b57,_0x21e530),_0x5eca42=this['cursorInfo'][_0x2598d1(0x15c)](_0xf61f03);if(_0x5eca42&&_0x311f35){const _0x2d59a2={..._0x5eca42,'range':_0x311f35};this[_0x2598d1(0x142)][_0x2598d1(0x102)](_0xf61f03,_0x2d59a2),_0x1974aa(()=>{const _0x249cc4=_0x2598d1,_0x18c4c1=this[_0x249cc4(0x193)][_0x249cc4(0x11f)](_0x311f35,_0x429d2b=>(_0x18c4c1['dispose'](),_0x503eba(_0x429d2b,_0xf61f03,_0xb010fd,_0x311f35)));_0x1e146f[_0x249cc4(0x12b)](_0x18c4c1);});}return{'redos':[],'undos':[]};};this[_0x33d7a0(0x142)][_0x33d7a0(0x1f2)]((_0x453673,_0x2db21d)=>{const _0x5a96b7=_0x33d7a0,{range:_0x1b8848,sheetID:_0x3736e1}=_0x453673,_0x1234a6=this[_0x5a96b7(0x193)][_0x5a96b7(0x11f)](_0x1b8848,_0x4ef7dc=>(_0x1234a6[_0x5a96b7(0x187)](),_0x503eba(_0x4ef7dc,_0x2db21d,_0x3736e1,_0x1b8848)));_0x1e146f[_0x5a96b7(0x12b)](_0x1234a6);});};this[_0x1bf422(0x1c8)](_0x236c59(this[_0x1bf422(0x16e)]['subscribe'](()=>{_0x45f78e();})));}['_toggleOnline'](){const _0x23f7a1=_0x5978f9;var _0x48caa0,_0x34071f;if(this['_online']=!0x0,((_0x48caa0=this[_0x23f7a1(0xf1)][_0x23f7a1(0x2aa)]())==null?void 0x0:_0x48caa0[_0x23f7a1(0x273)]())!==this[_0x23f7a1(0x1f6)])return;const _0x92178a=(_0x34071f=this[_0x23f7a1(0x29a)][_0x23f7a1(0x15c)](_0x37aeb5)['getCurrentSelections']())==null?void 0x0:_0x34071f[0x0],_0x52e7a5=this[_0x23f7a1(0xf1)][_0x23f7a1(0x18e)](_0x12c7d5[_0x23f7a1(0xe2)])[_0x23f7a1(0x107)]();_0x92178a&&_0x52e7a5&&this[_0x23f7a1(0x125)](_0x52e7a5['getSheetId'](),_0x92178a);}[_0x5978f9(0x2ac)](){const _0x33e4e9=_0x5978f9;this[_0x33e4e9(0x217)]=!0x1;}};Me=Ui([x(0x2,_0x4254b3(_0x49ea94)),x(0x3,_0x4254b3(He)),x(0x4,_0x4254b3(_0x1106ba)),x(0x5,_0x4a6374),x(0x6,_0x179029),x(0x7,_0x4254b3(_0x318afe))],Me);var wi=Object[_0x5978f9(0x25e)],Ai=(_0x428bfb,_0x114b39,_0x7d143f,_0x1336fa)=>{const _0x1626d5=_0x5978f9;for(var _0x108a70=_0x1336fa>0x1?void 0x0:_0x1336fa?wi(_0x114b39,_0x7d143f):_0x114b39,_0x26c51f=_0x428bfb[_0x1626d5(0xd8)]-0x1,_0x7bf9b4;_0x26c51f>=0x0;_0x26c51f--)(_0x7bf9b4=_0x428bfb[_0x26c51f])&&(_0x108a70=_0x7bf9b4(_0x108a70)||_0x108a70);return _0x108a70;},me=(_0x15c8c2,_0x1fb08a)=>(_0x23b0ad,_0x2c4ea3)=>_0x1fb08a(_0x23b0ad,_0x2c4ea3,_0x15c8c2);let F=class extends _0x4f795a{constructor(_0x33077b,_0x271be9,_0x54654a){const _0x28de1c=_0x5978f9;super(),_(this,_0x28de1c(0x22d),new Map()),_(this,_0x28de1c(0x2c5),new _0x5d7ab6()),(this['_univerInstanceService']=_0x33077b,this[_0x28de1c(0x29a)]=_0x271be9,this['_collabSessionService']=_0x54654a,this['_init']());}[_0x5978f9(0x187)](){const _0x4ef74d=_0x5978f9;super['dispose'](),this['_entityInit$'][_0x4ef74d(0x258)](),this[_0x4ef74d(0x22d)][_0x4ef74d(0x1f2)](_0x19ec16=>_0x19ec16[_0x4ef74d(0x187)]());}[_0x5978f9(0x139)](_0x414cbb){const _0xf3c3fe=_0x5978f9;return this[_0xf3c3fe(0x22d)][_0xf3c3fe(0x267)](_0x414cbb)?this[_0xf3c3fe(0x22d)]['get'](_0x414cbb)['cursorInfo$']:this[_0xf3c3fe(0x2c5)][_0xf3c3fe(0x228)](_0x11708d(_0x5d567a=>_0x5d567a[_0xf3c3fe(0x1f6)]===_0x414cbb),_0xd33efc(_0x2375a7=>_0x2375a7[_0xf3c3fe(0x209)]));}['_init'](){const _0x4ffb64=_0x5978f9;this[_0x4ffb64(0xf1)][_0x4ffb64(0x1e9)](_0x12c7d5['UNIVER_SHEET'])['pipe'](_0x4c94af(this[_0x4ffb64(0x208)]))[_0x4ffb64(0x260)](async _0x14eb47=>{const _0x20b5af=_0x4ffb64,_0x42426b=_0x14eb47['getUnitId'](),_0xb6c183=await this['_startSheetCollabCursor'](_0x42426b);this[_0x20b5af(0x2c5)][_0x20b5af(0x1c6)](_0xb6c183),this[_0x20b5af(0x22d)]['set'](_0x42426b,_0xb6c183);}),this[_0x4ffb64(0xf1)][_0x4ffb64(0x1e9)](_0x12c7d5['UNIVER_DOC'])[_0x4ffb64(0x228)](_0x4c94af(this[_0x4ffb64(0x208)]))[_0x4ffb64(0x228)](_0x11708d(_0x51b658=>!_0x51b658[_0x4ffb64(0x273)]()[_0x4ffb64(0x133)]('__')))['subscribe'](async _0x45b905=>{const _0x84fca1=_0x4ffb64,_0x5722ad=_0x45b905[_0x84fca1(0x273)](),_0x3fb52e=await this[_0x84fca1(0x16c)](_0x5722ad);this[_0x84fca1(0x2c5)][_0x84fca1(0x1c6)](_0x3fb52e),this[_0x84fca1(0x22d)][_0x84fca1(0x102)](_0x5722ad,_0x3fb52e);}),_0x1b622e(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x12c7d5[_0x4ffb64(0x16b)]),this['_univerInstanceService'][_0x4ffb64(0x197)](_0x12c7d5[_0x4ffb64(0xe2)]))['pipe'](_0x4c94af(this[_0x4ffb64(0x208)]))['subscribe'](_0x469737=>{const _0x38652e=_0x4ffb64,_0x38bd68=_0x469737[_0x38652e(0x273)](),_0x2174b7=this[_0x38652e(0x22d)][_0x38652e(0x15c)](_0x38bd68);_0x2174b7&&(_0x2174b7[_0x38652e(0x187)](),this[_0x38652e(0x22d)]['delete'](_0x38bd68));});}async[_0x5978f9(0x15e)](_0x1b4728){const _0xb4e936=_0x5978f9,_0x3d1a24=await this[_0xb4e936(0x2ce)][_0xb4e936(0xda)](_0x1b4728),_0xfaa748=this[_0xb4e936(0x29a)][_0xb4e936(0xe6)](Me,_0x1b4728,_0x3d1a24);return _0xfaa748[_0xb4e936(0x2c6)](),_0xfaa748;}async['_startDocCollabCursor'](_0xcedfb7){const _0x7b0b0b=_0x5978f9,_0x5b5c53=await this['_collabSessionService'][_0x7b0b0b(0xda)](_0xcedfb7),_0x329bc5=this[_0x7b0b0b(0x29a)][_0x7b0b0b(0xe6)](Ue,_0xcedfb7,_0x5b5c53);return _0x329bc5[_0x7b0b0b(0x2c6)](),_0x329bc5;}};F=Ai([me(0x0,_0x4a6374),me(0x1,_0x4254b3(_0x49ea94)),me(0x2,_0x4254b3(_0x3f05f9))],F);function _0x3c22(_0x300852,_0x76a910){const _0x2c9d9a=_0x2c9d();return _0x3c22=function(_0x3c223a,_0x281f59){_0x3c223a=_0x3c223a-0xc6;let _0x4c5c53=_0x2c9d9a[_0x3c223a];return _0x4c5c53;},_0x3c22(_0x300852,_0x76a910);}const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x11176f,_0x3ad202){const _0x5638b4=_0x5978f9;let {radius:_0x30870f,width:_0x29ff71,height:_0x8a7b01}=_0x3ad202;_0x30870f=_0x30870f!=null?_0x30870f:0x0,_0x29ff71=_0x29ff71!=null?_0x29ff71:0x1e,_0x8a7b01=_0x8a7b01!=null?_0x8a7b01:0x1e;let _0x42dbd=0x0,_0x3c5fd6=0x0,_0x10815f=0x0;_0x42dbd=_0x3c5fd6=_0x10815f=Math['min'](_0x30870f,_0x29ff71/0x2,_0x8a7b01/0x2),_0x11176f[_0x5638b4(0xfe)](),_0x11176f[_0x5638b4(0x19f)](_0x42dbd,0x0),_0x11176f[_0x5638b4(0x203)](_0x29ff71-_0x3c5fd6,0x0),_0x11176f['arc'](_0x29ff71-_0x3c5fd6,_0x3c5fd6,_0x3c5fd6,Math['PI']*0x3/0x2,0x0,!0x1),_0x11176f[_0x5638b4(0x203)](_0x29ff71,_0x8a7b01-_0x10815f),_0x11176f[_0x5638b4(0x17f)](_0x29ff71-_0x10815f,_0x8a7b01-_0x10815f,_0x10815f,0x0,Math['PI']/0x2,!0x1),_0x11176f[_0x5638b4(0x203)](0x0,_0x8a7b01),_0x11176f[_0x5638b4(0x203)](0x0,_0x42dbd),_0x11176f['arc'](_0x42dbd,_0x42dbd,_0x42dbd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x11176f[_0x5638b4(0x1bf)](),_0x3ad202['fill']&&(_0x11176f[_0x5638b4(0x201)](),_0x11176f[_0x5638b4(0x126)]=_0x3ad202[_0x5638b4(0x1af)],_0x3ad202[_0x5638b4(0x2cc)]===_0x5638b4(0xfd)?_0x11176f[_0x5638b4(0x1af)](_0x5638b4(0xfd)):_0x11176f['fill'](),_0x11176f[_0x5638b4(0x1dc)]());}class ue extends _0x445c68{constructor(_0x585f8f,_0x3cc4a0){const _0x545000=_0x5978f9;super(_0x585f8f,_0x3cc4a0),_(this,'color'),_(this,_0x545000(0x188)),(this['color']=_0x3cc4a0==null?void 0x0:_0x3cc4a0[_0x545000(0x1df)],this[_0x545000(0x188)]=_0x3cc4a0==null?void 0x0:_0x3cc4a0[_0x545000(0x188)]);}static['drawWith'](_0x3fe3cb,_0x136269){const _0x1fecc5=_0x5978f9,{text:_0x561df4,color:_0x792400}=_0x136269;_0x3fe3cb[_0x1fecc5(0x201)](),_0x3fe3cb[_0x1fecc5(0x2cb)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4cecc9=_0x3fe3cb[_0x1fecc5(0x14c)](_0x561df4)['width'],_0x5a8b63=Math[_0x1fecc5(0x1ea)](_0x4cecc9+0x2*Ie,Qe);$i(_0x3fe3cb,{'height':J,'radius':0x4,'width':_0x5a8b63,'fill':_0x792400}),_0x3fe3cb[_0x1fecc5(0x126)]='#FFF';const _0x1c7d44=Ie,_0x47125f=J-yi,_0x270df7=Qe-0x2*Ie;if(_0x4cecc9>_0x270df7){let _0x558f58='',_0x2fd8e8=0x0;for(const _0x1e82c0 of _0x561df4){const _0x4c0ab9=_0x3fe3cb[_0x1fecc5(0x14c)](_0x1e82c0)[_0x1fecc5(0x12e)];if(_0x2fd8e8+_0x4c0ab9<=_0x270df7-_0x3fe3cb[_0x1fecc5(0x14c)](_0x1fecc5(0x173))[_0x1fecc5(0x12e)])_0x558f58+=_0x1e82c0,_0x2fd8e8+=_0x4c0ab9;else{_0x558f58+=_0x1fecc5(0x173);break;}}_0x3fe3cb[_0x1fecc5(0x1cf)](_0x558f58,_0x1c7d44,_0x47125f);}else _0x3fe3cb['fillText'](_0x561df4,_0x1c7d44,_0x47125f);_0x3fe3cb[_0x1fecc5(0x1dc)]();}[_0x5978f9(0x156)](_0x17327e){ue['drawWith'](_0x17327e,this);}}const ve='collab-text-anchor-',xi=_0x5978f9(0x230),Bi='collab-rect-range-',K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x5978f9(0x2a6);class qe{constructor(_0x2a5fa4,_0x58e26f,_0xa71f4a,_0x56df2e){const _0x5964fe=_0x5978f9;_(this,'_shapes',[]),_(this,_0x5964fe(0x127),null),_(this,'_textBubble',null),_(this,_0x5964fe(0x2ad),null),_(this,_0x5964fe(0x1d5),null),_(this,_0x5964fe(0x192),null),(this[_0x5964fe(0x2a5)]=_0x2a5fa4,this[_0x5964fe(0x29d)]=_0x58e26f,this[_0x5964fe(0x23b)]=_0xa71f4a,this[_0x5964fe(0xe0)]=_0x56df2e,this['_render']());}set[_0x5978f9(0x295)](_0x13038a){const _0x9c508f=_0x5978f9;_0x13038a?(this[_0x9c508f(0x2ad)]&&this[_0x9c508f(0x2ad)][_0x9c508f(0x2ae)](),this[_0x9c508f(0x200)]&&this[_0x9c508f(0x200)]['show']()):(this[_0x9c508f(0x2ad)]&&this[_0x9c508f(0x2ad)]['show'](),this['_textBubble']&&this[_0x9c508f(0x200)]['hide']());}[_0x5978f9(0x187)](){const _0xf0ebe=_0x5978f9;for(const _0x4d6f78 of this[_0xf0ebe(0xd4)])_0x4d6f78[_0xf0ebe(0x187)]();this[_0xf0ebe(0x200)]&&this[_0xf0ebe(0x200)][_0xf0ebe(0x187)](),this[_0xf0ebe(0x2ad)]&&this[_0xf0ebe(0x2ad)][_0xf0ebe(0x187)](),this[_0xf0ebe(0x127)]&&this[_0xf0ebe(0x127)][_0xf0ebe(0x187)](),this[_0xf0ebe(0x192)]&&this[_0xf0ebe(0x192)]();}[_0x5978f9(0x118)](){const _0x384d57=_0x5978f9;var _0x6fcc50;const {_docSkeleton:_0x5d774a,_document:_0xab45f1}=this,{color:_0x12b389,name:_0x5683c4,ranges:_0x20abde}=this[_0x384d57(0x2a5)],_0x3dfd29=_0xab45f1[_0x384d57(0x1ce)](),{docsLeft:_0x4078d5,docsTop:_0x5f30c3}=_0x3dfd29,_0x592f6c=new _0x5a9ff8(_0x3dfd29,_0x5d774a);for(const {startOffset:_0x4625e1,endOffset:_0x39cb17,rangeType:_0x2fcd87,segmentId:_0x790669,segmentPage:_0x18805f,collapsed:_0x2ec545,isActive:_0xc2ffc1}of _0x20abde){const _0x4a83df=_0x5d774a['findNodePositionByCharIndex'](_0x4625e1,!0x0,_0x790669,_0x18805f);let _0xdd97c5=_0x5d774a[_0x384d57(0x147)](_0x39cb17,!0x0,_0x790669,_0x18805f);if(_0xdd97c5==null&&(_0xdd97c5=_0x5d774a[_0x384d57(0x147)](_0x39cb17-0x1,!0x1,_0x790669,_0x18805f)),_0xc2ffc1){const {contentBoxPointGroup:_0x28ae04}=_0x592f6c[_0x384d57(0x190)](_0xdd97c5,_0xdd97c5);if(_0x28ae04[_0x384d57(0xd8)]===0x0)continue;this[_0x384d57(0xe8)](_0x12b389,_0x28ae04,_0x4078d5,_0x5f30c3,_0x5683c4),this[_0x384d57(0x192)]=this[_0x384d57(0x12f)]();}if(_0x4a83df&&_0xdd97c5){if(_0x2fcd87===_0x369fc5[_0x384d57(0x243)]){const _0xf66929=new _0x36de77(_0x3dfd29,_0x5d774a),{pointGroup:_0x129fda}=(_0x6fcc50=_0xf66929['getRangePointData'](_0x4a83df,_0xdd97c5))!=null?_0x6fcc50:{};if(_0x129fda==null||_0x129fda[_0x384d57(0xd8)]===0x0)continue;this[_0x384d57(0x13c)](_0x12b389,_0x129fda,_0x4078d5,_0x5f30c3);}else{if(!_0x2ec545){const {borderBoxPointGroup:_0x16585a}=_0x592f6c[_0x384d57(0x190)](_0x4a83df,_0xdd97c5);if(_0x16585a[_0x384d57(0xd8)]===0x0)continue;this[_0x384d57(0x123)](_0x12b389,_0x16585a,_0x4078d5,_0x5f30c3);}}}}}[_0x5978f9(0xe8)](_0x54e9e2,_0x1a7053,_0x35681e,_0x4ad7df,_0x106342){const _0x4bfd62=_0x5978f9,_0x606f33=this[_0x4bfd62(0x1a6)](_0x1a7053),{left:_0x430d0e,top:_0x4d5f23,height:_0x3ce521}=_0x606f33,_0x3fa6f4=this[_0x4bfd62(0x1ac)](),_0x47b922=Hi/_0x3fa6f4,_0x23a9be=new _0x1241ee(ve+_0xf28c22(K),{'left':_0x430d0e+_0x35681e-_0x47b922,'top':_0x4d5f23+_0x4ad7df,'height':_0x3ce521,'width':ki,'fill':_0x54e9e2||_0x5701e8(_0x721eaf[_0x4bfd62(0x263)],0x0),'strokeWidth':_0x47b922,'stroke':Fi,'evented':!0x0});this[_0x4bfd62(0x127)]=_0x23a9be,this[_0x4bfd62(0x29d)][_0x4bfd62(0x231)](_0x23a9be,_0x257fd2);const _0x29df59=new _0x1241ee(ve+_0xf28c22(K),{'left':_0x430d0e+_0x35681e-_0x47b922,'top':_0x4d5f23+_0x4ad7df-ge/0x2,'height':ge,'width':ge,'fill':_0x54e9e2||_0x5701e8(_0x721eaf[_0x4bfd62(0x263)],0x0),'strokeWidth':0x0,'stroke':_0x54e9e2||_0x5701e8(_0x721eaf[_0x4bfd62(0x263)],0x0),'evented':!0x1});this[_0x4bfd62(0x2ad)]=_0x29df59,this['_scene'][_0x4bfd62(0x231)](_0x29df59,_0x257fd2);const _0x4d037d=new ue(ve+_0xf28c22(K),{'left':_0x430d0e+_0x35681e-_0x47b922,'top':_0x4d5f23+_0x4ad7df-J,'text':_0x106342,'color':_0x54e9e2});this['_textBubble']=_0x4d037d,this[_0x4bfd62(0x29d)][_0x4bfd62(0x231)](_0x4d037d,_0x257fd2),this['_hover']=!0x1;}[_0x5978f9(0x12f)](){const _0x3e940e=_0x5978f9,_0x4b7f8e=this[_0x3e940e(0x127)][_0x3e940e(0x19b)][_0x3e940e(0x285)](()=>{const _0x18759e=_0x3e940e;this[_0x18759e(0x295)]=!0x0;}),_0xf020f1=this['_anchor']['onPointerLeave$'][_0x3e940e(0x285)](()=>{const _0x2f7c2d=_0x3e940e;this[_0x2f7c2d(0x1d5)]&&clearTimeout(this[_0x2f7c2d(0x1d5)]),this[_0x2f7c2d(0x1d5)]=setTimeout(()=>{const _0x14e127=_0x2f7c2d;this[_0x14e127(0x295)]=!0x1;},0x7d0);});return()=>{const _0x2c1f26=_0x3e940e;_0x4b7f8e[_0x2c1f26(0xd6)](),_0xf020f1[_0x2c1f26(0xd6)]();};}[_0x5978f9(0x123)](_0x5679d9,_0x15a6ed,_0x53793a,_0x1156b1){const _0xc1ee93=_0x5978f9,_0x3c5087=new _0x1c3c0d(_0x5679d9)[_0xc1ee93(0x26b)](0.2)[_0xc1ee93(0x291)](),_0x24c11f=new _0x383636(xi+_0xf28c22(K),{'pointsGroup':_0x15a6ed,'fill':_0x3c5087||_0x5701e8(_0x721eaf[_0xc1ee93(0x263)],0.2),'left':_0x53793a,'top':_0x1156b1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc1ee93(0xd4)][_0xc1ee93(0x15a)](_0x24c11f),this[_0xc1ee93(0x29d)][_0xc1ee93(0x231)](_0x24c11f,_0x257fd2);}[_0x5978f9(0x13c)](_0x1c5976,_0x2d6ee0,_0x5f4daa,_0x18158c){const _0x46c3eb=_0x5978f9,_0x225565=new _0x1c3c0d(_0x1c5976)[_0x46c3eb(0x26b)](0.2)[_0x46c3eb(0x291)](),_0x1a5704=new _0x383636(Bi+_0xf28c22(K),{'pointsGroup':_0x2d6ee0,'fill':_0x225565||_0x5701e8(_0x721eaf[_0x46c3eb(0x263)],0.2),'left':_0x5f4daa,'top':_0x18158c,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x46c3eb(0x15a)](_0x1a5704),this['_scene'][_0x46c3eb(0x231)](_0x1a5704,_0x257fd2);}[_0x5978f9(0x1a6)](_0x13b23d){const _0x44e561=_0x13b23d[0x0],_0x152a78=_0x44e561[0x0],_0x1a608f=_0x44e561[0x2],{x:_0x422d65,y:_0x4ed842}=_0x152a78,{x:_0x165445,y:_0x17dedd}=_0x1a608f;return{'left':_0x422d65,'top':_0x4ed842,'width':_0x165445-_0x422d65,'height':_0x17dedd-_0x4ed842};}['_getScale'](){const _0x14e6cb=_0x5978f9,{scaleX:_0x105ae6,scaleY:_0x54afe1}=this[_0x14e6cb(0x29d)][_0x14e6cb(0x280)]();return Math[_0x14e6cb(0x109)](_0x105ae6,_0x54afe1);}}var Yi=Object[_0x5978f9(0x25e)],ji=(_0x7e4295,_0x1a63c1,_0x1ad573,_0x51a299)=>{for(var _0x4d63b3=_0x51a299>0x1?void 0x0:_0x51a299?Yi(_0x1a63c1,_0x1ad573):_0x1a63c1,_0x721485=_0x7e4295['length']-0x1,_0x1b0764;_0x721485>=0x0;_0x721485--)(_0x1b0764=_0x7e4295[_0x721485])&&(_0x4d63b3=_0x1b0764(_0x4d63b3)||_0x4d63b3);return _0x4d63b3;},ee=(_0x3c38c0,_0x3d4e5b)=>(_0x36888d,_0x4ecd75)=>_0x3d4e5b(_0x36888d,_0x4ecd75,_0x3c38c0);let Le=class extends _0x4f795a{constructor(_0x2668c0,_0x9e4d38,_0xc62971,_0x101f36,_0x19eb6d){const _0x539bcc=_0x5978f9;super(),_(this,_0x539bcc(0x180),[]),_(this,_0x539bcc(0x239),[]),(this[_0x539bcc(0x26d)]=_0x2668c0,this[_0x539bcc(0x157)]=_0x9e4d38,this['_collabCursorController']=_0xc62971,this[_0x539bcc(0x297)]=_0x101f36,this[_0x539bcc(0x2ab)]=_0x19eb6d,this[_0x539bcc(0x17c)]());}[_0x5978f9(0x17c)](){const _0x20bd42=_0x5978f9,_0x1ce8ed=this[_0x20bd42(0x26d)][_0x20bd42(0x24b)],_0x3034a6=this[_0x20bd42(0x157)];this[_0x20bd42(0x1c8)](_0x35b352([this[_0x20bd42(0x15d)]['getCollabCursors$'](_0x1ce8ed),this[_0x20bd42(0x2ab)][_0x20bd42(0x16d)]])[_0x20bd42(0x228)](_0x40da09(([_0x24b1e1,_0x949501])=>({'skeleton':_0x3034a6[_0x20bd42(0xef)](),'cursors':[..._0x24b1e1['values']()][_0x20bd42(0x176)](_0x25544d=>({..._0x25544d,'color':this['_themeService']['getColorFromTheme'](_0x25544d['color'])}))})))[_0x20bd42(0x260)](_0x108a11=>{const _0x14c5fa=_0x20bd42;if(this[_0x14c5fa(0xec)](),_0x108a11){const {skeleton:_0x4552e4,cursors:_0xf41070}=_0x108a11;this['_updateCollabCursors'](_0x4552e4,_0xf41070);}})),this['_initResize'](),this[_0x20bd42(0x249)]();}['_updateCollabCursors'](_0x327330,_0x4e9ee5){const _0x59ec72=_0x5978f9,{scene:_0x89f617,mainComponent:_0x1db224}=this[_0x59ec72(0x26d)],_0x1894eb=_0x4e9ee5[_0x59ec72(0x101)](_0x2edd72=>new qe(_0x2edd72,_0x89f617,_0x327330,_0x1db224));this[_0x59ec72(0x180)]=_0x1894eb,this[_0x59ec72(0x239)]=_0x4e9ee5;}[_0x5978f9(0x296)](){const _0x20e8bf=_0x5978f9;this[_0x20e8bf(0xec)]();const {scene:_0x36ae4e,mainComponent:_0x2be9cd}=this[_0x20e8bf(0x26d)],_0x40c1ec=this['_docSkeletonManagerService'][_0x20e8bf(0xef)](),_0x3ea071=this[_0x20e8bf(0x239)][_0x20e8bf(0x101)](_0x13f5f7=>new qe(_0x13f5f7,_0x36ae4e,_0x40c1ec,_0x2be9cd));this[_0x20e8bf(0x180)]=_0x3ea071;}[_0x5978f9(0xec)](){const _0x249b5a=_0x5978f9;this[_0x249b5a(0x180)][_0x249b5a(0x1f2)](_0x24a33c=>_0x24a33c[_0x249b5a(0x187)]()),this['_cursorShapes']=[];}[_0x5978f9(0x249)](){const _0x2aa4d4=_0x5978f9,_0x25ba29=[_0x42ed27['id']];this[_0x2aa4d4(0x1c8)](this['_commandService']['onCommandExecuted'](_0x41aaa1=>{const _0x2c7b0c=_0x2aa4d4;_0x25ba29[_0x2c7b0c(0x174)](_0x41aaa1['id'])&&_0x41aaa1[_0x2c7b0c(0x1b6)][_0x2c7b0c(0x24b)]===this[_0x2c7b0c(0x26d)][_0x2c7b0c(0x24b)]&&this[_0x2c7b0c(0x296)]();}));}['_initResize'](){const _0x461e02=_0x5978f9;this['disposeWithMe'](_0x18c26e(this['_context']['engine'][_0x461e02(0x103)])['pipe'](_0x1274ae(_0xa0c7cc=>_0xa0c7cc[_0x461e02(0x204)]===_0x4c5bb0[_0x461e02(0xfc)]),_0x14045f(0x10))[_0x461e02(0x260)](()=>{const _0x12154c=_0x461e02;this[_0x12154c(0x296)]();}));}};Le=ji([ee(0x1,_0x4254b3(_0x4102fb)),ee(0x2,_0x4254b3(F)),ee(0x3,_0x179029),ee(0x4,_0x4254b3(_0x4906d5))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x445c68{constructor(_0x39571e,_0xa51433){const _0xbe70c2=_0x5978f9;super(_0x39571e,_0xa51433),_(this,_0xbe70c2(0x1f7)),_(this,_0xbe70c2(0x1d7),!0x1),_(this,_0xbe70c2(0x1d1)),_(this,_0xbe70c2(0x28a),''),_(this,_0xbe70c2(0x261),_0xbe70c2(0xdf)),_(this,_0xbe70c2(0x23e)),(_0xa51433&&this['setShapeProps'](_0xa51433),this['onPointerEnter$'][_0xbe70c2(0x285)](()=>this[_0xbe70c2(0xf9)]({'hovered':!0x0})),this[_0xbe70c2(0x153)][_0xbe70c2(0x285)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x164a21){const _0x28443f=_0x5978f9;var _0x42bbe5,_0x39970c,_0x50ad8e,_0x568324,_0x3621af,_0x22be29;this['_color']=(_0x42bbe5=_0x164a21[_0x28443f(0x1df)])!=null?_0x42bbe5:this[_0x28443f(0x1f7)],this[_0x28443f(0x1d7)]=(_0x39970c=_0x164a21['hovered'])!=null?_0x39970c:this[_0x28443f(0x1d7)],this[_0x28443f(0x1d1)]=(_0x50ad8e=_0x164a21[_0x28443f(0x13f)])!=null?_0x50ad8e:this[_0x28443f(0x1d1)],this[_0x28443f(0x28a)]=(_0x568324=_0x164a21[_0x28443f(0x299)])!=null?_0x568324:this[_0x28443f(0x28a)],this[_0x28443f(0x261)]=(_0x3621af=_0x164a21['labelPosition'])!=null?_0x3621af:this[_0x28443f(0x261)],this[_0x28443f(0x23e)]=(_0x22be29=_0x164a21[_0x28443f(0x2ca)])!=null?_0x22be29:this[_0x28443f(0x23e)],this[_0x28443f(0x152)]({'width':_0x164a21['width'],'height':_0x164a21[_0x28443f(0x28b)]});}[_0x5978f9(0x141)](_0x2f6e90){const _0x139b0d=_0x5978f9,{row:_0x2c4577,column:_0x12ca41}=_0x2f6e90;if(_0x2c4577>=this[_0x139b0d(0x1d1)][_0x139b0d(0x252)]&&_0x2c4577<=this[_0x139b0d(0x1d1)][_0x139b0d(0x1c4)]&&_0x12ca41>=this['_range'][_0x139b0d(0xed)]&&_0x12ca41<=this[_0x139b0d(0x1d1)][_0x139b0d(0x1a5)]){this[_0x139b0d(0xf9)]({'hovered':!0x0});return;}this[_0x139b0d(0xf9)]({'hovered':!0x1});}[_0x5978f9(0xfb)](_0x5b0f4e){return!0x1;}[_0x5978f9(0x156)](_0x1f4f29){const _0x53af09=_0x5978f9;_0x1241ee[_0x53af09(0x298)](_0x1f4f29,{'width':this[_0x53af09(0x12e)],'height':this['height'],'strokeWidth':Wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x53af09(0x23e)]}),this[_0x53af09(0x1d7)]&&(_0x1f4f29['save'](),_0x1f4f29[_0x53af09(0x140)](0x1,0x0,0x0,0x1,this[_0x53af09(0x12e)],this[_0x53af09(0x261)]===_0x53af09(0xdd)?0x0:-J),ue[_0x53af09(0x298)](_0x1f4f29,{'text':this[_0x53af09(0x28a)],'color':this[_0x53af09(0x1f7)]}),_0x1f4f29[_0x53af09(0x1dc)]());}}var Gi=Object[_0x5978f9(0x25e)],Ki=(_0x17c9d5,_0x439c31,_0x2442ad,_0x27c589)=>{const _0x1f0c9f=_0x5978f9;for(var _0x36910c=_0x27c589>0x1?void 0x0:_0x27c589?Gi(_0x439c31,_0x2442ad):_0x439c31,_0x2ba2fb=_0x17c9d5[_0x1f0c9f(0xd8)]-0x1,_0x580480;_0x2ba2fb>=0x0;_0x2ba2fb--)(_0x580480=_0x17c9d5[_0x2ba2fb])&&(_0x36910c=_0x580480(_0x36910c)||_0x36910c);return _0x36910c;},pe=(_0x495187,_0x1518e7)=>(_0x516c4b,_0x49512e)=>_0x1518e7(_0x516c4b,_0x49512e,_0x495187);const zi=0x1389;let Pe=class extends _0x4f795a{constructor(_0x382f8d,_0x27d28f,_0x318cb8,_0x433912){const _0x4507c8=_0x5978f9;super(),_(this,_0x4507c8(0x239),new Set()),_(this,_0x4507c8(0x269),null),(this['_context']=_0x382f8d,this[_0x4507c8(0x257)]=_0x27d28f,this['_collabCursorController']=_0x318cb8,this[_0x4507c8(0x2ab)]=_0x433912,this[_0x4507c8(0x17c)]());}['_init'](){const _0x211a0e=_0x5978f9;this[_0x211a0e(0x257)]['currentSkeleton$'][_0x211a0e(0x228)](_0x5968d1(this[_0x211a0e(0x208)]),_0x1e2186(_0x301957=>{const _0x518440=_0x211a0e;if(_0x301957){const _0x47a045=_0x301957[_0x518440(0x1ad)];return _0x35b352(this['_collabCursorController'][_0x518440(0x139)](this[_0x518440(0x26d)][_0x518440(0x24b)]),this[_0x518440(0x2ab)]['currentTheme$'])[_0x518440(0x228)](_0x40da09(([_0x13e66b,_0x591254])=>{const _0x4aa531=_0x518440,_0x42a771=new Map();return _0x13e66b[_0x4aa531(0x1f2)]((_0x30925a,_0x36ff92)=>{const _0x30e1cf=_0x4aa531;if(_0x30925a[_0x30e1cf(0x136)]===_0x47a045){const _0x2d3833={..._0x30925a};_0x2d3833['color']=this[_0x30e1cf(0x2ab)]['getColorFromTheme'](_0x30925a['color']),_0x42a771[_0x30e1cf(0x102)](_0x36ff92,_0x2d3833);}}),{'skeleton':_0x301957,'cursors':_0x42a771};}));}return _0x2f5681({'skeleton':null,'cursors':new Map()});}))[_0x211a0e(0x260)](({skeleton:_0x45b667,cursors:_0x58ff0a})=>{const _0xc1725b=_0x211a0e;this[_0xc1725b(0xec)](),_0x45b667&&this[_0xc1725b(0x256)](_0x45b667,_0x58ff0a);}),this[_0x211a0e(0x257)][_0x211a0e(0x223)]['subscribe'](_0x1a4a91=>{const _0x1479ad=_0x211a0e;if(_0x1a4a91==null)return;const {skeleton:_0x15fb66}=_0x1a4a91,{scene:_0x2e94e9}=this[_0x1479ad(0x26d)];_0x2e94e9[_0x1479ad(0x181)]['subscribeEvent'](_0x5b1e9d(_0x56ccdc=>{const _0x326710=_0x1479ad;var _0x9af461,_0x1a799f;const {offsetX:_0x44fadd,offsetY:_0x5d8cb7}=_0x56ccdc,{x:_0x2288d1,y:_0x548d32}=_0x2e94e9[_0x326710(0x1c5)](_0x45fba4[_0x326710(0xd3)]([_0x44fadd,_0x5d8cb7])),{scaleX:_0x15ce9d,scaleY:_0x32f4c5}=_0x2e94e9[_0x326710(0x280)](),_0x21de18=_0x2e94e9[_0x326710(0xc9)](_0x4fe57b[_0x326710(0x2a2)]),_0x262511=_0x2e94e9[_0x326710(0x242)](_0x45fba4['FromArray']([_0x2288d1,_0x548d32]),_0x21de18),_0x5e6c53=_0x15fb66['getCellPositionByOffset'](_0x44fadd,_0x5d8cb7,_0x15ce9d,_0x32f4c5,_0x262511);((_0x9af461=this[_0x326710(0x269)])==null?void 0x0:_0x9af461[_0x326710(0x1f5)])===_0x5e6c53[_0x326710(0x1f5)]&&((_0x1a799f=this[_0x326710(0x269)])==null?void 0x0:_0x1a799f[_0x326710(0x1ec)])===_0x5e6c53[_0x326710(0x1ec)]||this[_0x326710(0x239)][_0x326710(0x1f2)](_0x399c7d=>{const _0x47a7a7=_0x326710;_0x399c7d[_0x47a7a7(0x141)](_0x5e6c53);});},0x64));});}[_0x5978f9(0x256)](_0x5dbdd6,_0x4937ae){const _0x2904e4=_0x5978f9;var _0x5f3c7b;const _0x3c63c2=(_0x5f3c7b=this[_0x2904e4(0x257)]['getCurrent']())==null?void 0x0:_0x5f3c7b['skeleton'];if(!_0x3c63c2)return;const _0x5c4e11=this[_0x2904e4(0xe5)]();if(!_0x5c4e11)return;this['_cursors'][_0x2904e4(0x1f2)](_0x4d61bc=>{_0x4d61bc['makeDirty']();});const {scene:_0x2b3b0b}=_0x5c4e11,_0x5db696=Ji(Array[_0x2904e4(0x24c)](_0x4937ae[_0x2904e4(0x2b2)]()))[_0x2904e4(0x101)](_0x20758f=>{const _0x335198=_0x2904e4,{color:_0x494337,range:_0x34f30a,name:_0x444cb1,selection:_0x1e0363,sheetID:_0x140cca}=_0x20758f,{startColumn:_0x3d9785,startRow:_0x139062,endColumn:_0x40beef,endRow:_0x1c6275}=_0x34f30a,_0x95693e=_0x525ff9(_0x139062,_0x3d9785,_0x2b3b0b,_0x3c63c2),_0x5da7f6=_0x525ff9(_0x1c6275,_0x40beef,_0x2b3b0b,_0x3c63c2),{columnHeaderHeightAndMarginTop:_0x1410c1}=_0x3c63c2,{startX:_0x266670,startY:_0x3b519c}=_0x95693e,{endX:_0x3f0989,endY:_0x310c94}=_0x5da7f6,_0x7a3c3c=_0x3f0989-_0x266670,_0x3c82a2=_0x310c94-_0x3b519c,_0x534b31={'labelPosition':_0x3b519c-_0x1410c1>=J?_0x335198(0xdf):_0x335198(0xdd),'sheetID':_0x140cca,'range':_0x34f30a,'color':_0x494337,'name':_0x444cb1,'selection':_0x1e0363,'left':_0x266670,'top':_0x3b519c,'width':_0x7a3c3c,'height':_0x3c82a2,'evented':!0x1,'zIndex':zi};return new Xi(_0x444cb1,_0x534b31);});_0x2b3b0b[_0x2904e4(0xdc)](_0x5db696,Vi),this['_cursors']=new Set(_0x5db696);}[_0x5978f9(0xec)](){const _0x201dde=_0x5978f9;var _0x97f0ae;(_0x97f0ae=this[_0x201dde(0x239)])==null||_0x97f0ae['forEach'](_0x22b481=>_0x22b481[_0x201dde(0x187)]());}[_0x5978f9(0xe5)](){const _0x3ae5e6=_0x5978f9;return _0x515a9d(this[_0x3ae5e6(0x26d)]['unit'],this[_0x3ae5e6(0x26d)]);}};Pe=Ki([pe(0x1,_0x4254b3(_0x529972)),pe(0x2,_0x4254b3(F)),pe(0x3,_0x4254b3(_0x4906d5))],Pe);function Ji(_0xc63335){const _0xe5eba1=_0x5978f9,_0x1511b6=new Map();return _0xc63335[_0xe5eba1(0x1f2)](_0x1da401=>{const _0xffaa91=_0xe5eba1;if(_0x1511b6['has'](_0x1da401[_0xffaa91(0x235)])){const _0xcdfa5f=_0x1511b6[_0xffaa91(0x15c)](_0x1da401[_0xffaa91(0x235)]);_0xcdfa5f[_0xffaa91(0x299)]+=',\x20'+_0x1da401[_0xffaa91(0x299)];}else _0x1511b6[_0xffaa91(0x102)](_0x1da401['selection'],_0x1da401);}),Array[_0xe5eba1(0x24c)](_0x1511b6[_0xe5eba1(0x2b2)]());}var Zi=Object[_0x5978f9(0x25e)],Qi=(_0x43cf9f,_0x28a289,_0x12c308,_0x112dff)=>{const _0x75acc8=_0x5978f9;for(var _0x4bca54=_0x112dff>0x1?void 0x0:_0x112dff?Zi(_0x28a289,_0x12c308):_0x28a289,_0x9aca06=_0x43cf9f[_0x75acc8(0xd8)]-0x1,_0x552a86;_0x9aca06>=0x0;_0x9aca06--)(_0x552a86=_0x43cf9f[_0x9aca06])&&(_0x4bca54=_0x552a86(_0x4bca54)||_0x4bca54);return _0x4bca54;},B=(_0x4954d7,_0x33f494)=>(_0x5dcd5f,_0xa96607)=>_0x33f494(_0x5dcd5f,_0xa96607,_0x4954d7);let ne=class extends _0x275756{constructor(_0x331d19,_0x13e35d,_0x4d8c65,_0x1e10f9,_0x16f1f9,_0x2d81df){const _0x169c3c=_0x5978f9;super(),this[_0x169c3c(0x254)]=_0x331d19,this[_0x169c3c(0x28d)]=_0x13e35d,this['_collaborationUIEventService']=_0x4d8c65,this[_0x169c3c(0x2c2)]=_0x1e10f9,this[_0x169c3c(0x2be)]=_0x16f1f9,this['_localeService']=_0x2d81df,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x5978f9(0x281)](){const _0x300862=_0x5978f9;this[_0x300862(0x1c8)](this[_0x300862(0x254)][_0x300862(0x14d)](()=>{const _0x442a08=_0x300862;if(this['_localCacheService']['saveTaskMap'][_0x442a08(0x1fd)])return this[_0x442a08(0x25c)]['t'](_0x442a08(0xeb));}));}[_0x5978f9(0x12c)](){const _0x205dfa=_0x5978f9;this[_0x205dfa(0x1c8)](this['_collaborationUIEventService'][_0x205dfa(0x131)][_0x205dfa(0x260)](_0x47aadb=>{const _0x52c0c9=_0x205dfa;_0x47aadb['id']===_0x299041[_0x52c0c9(0x1eb)]&&this[_0x52c0c9(0x2c2)][_0x52c0c9(0x168)]({'type':_0x266753[_0x52c0c9(0x1cd)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x47aadb['id']===_0x299041['CLOSE_ROOM']&&this[_0x52c0c9(0x2c2)][_0x52c0c9(0x168)]({'type':_0x266753[_0x52c0c9(0x1cd)],'content':this[_0x52c0c9(0x25c)]['t'](_0x52c0c9(0x12d))}),_0x47aadb['id']===_0x299041[_0x52c0c9(0x21e)]&&this[_0x52c0c9(0x2be)][_0x52c0c9(0x168)]({'title':this[_0x52c0c9(0x25c)]['t'](_0x52c0c9(0x23f)),'content':this['_localeService']['t'](_0x52c0c9(0x1da)),'type':_0x52c0c9(0x219),'duration':0x0}),_0x47aadb['id']===_0x299041['CONFLICT']&&this[_0x52c0c9(0x2c2)][_0x52c0c9(0x168)]({'type':_0x266753['Error'],'content':this[_0x52c0c9(0x25c)]['t'](_0x52c0c9(0x12d))+'('+_0x47aadb[_0x52c0c9(0x14f)]+')'}),_0x47aadb['id']===_0x299041['JOIN_ROOM_FAILED']&&this[_0x52c0c9(0x2c2)]['show']({'type':_0x266753['Warning'],'content':this[_0x52c0c9(0x25c)]['t'](_0x47aadb[_0x52c0c9(0x14f)]||'')}),_0x47aadb['id']===_0x299041[_0x52c0c9(0x183)]&&this[_0x52c0c9(0x2c2)][_0x52c0c9(0x168)]({'type':_0x266753[_0x52c0c9(0x1cd)],'content':this[_0x52c0c9(0x25c)]['t'](_0x52c0c9(0x264))}),_0x47aadb['id']===_0x299041[_0x52c0c9(0x1dd)]&&this[_0x52c0c9(0x2c2)][_0x52c0c9(0x168)]({'type':_0x266753[_0x52c0c9(0x113)],'content':this['_localeService']['t'](_0x52c0c9(0x21c))}),_0x47aadb['id']===_0x299041['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x52c0c9(0x2c2)][_0x52c0c9(0x168)]({'type':_0x266753[_0x52c0c9(0x113)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ne=Qi([B(0x0,_0x2895c2),B(0x1,_0x4ac262),B(0x2,_0x4254b3(_0x27e336)),B(0x3,_0x4887c1),B(0x4,_0x38e1e8),B(0x5,_0x4254b3(_0x356e26))],ne);const qi=_0x5978f9(0x179),et={};var en=Object['getOwnPropertyDescriptor'],tn=(_0x248e8d,_0x35effd,_0x17d252,_0x443d9f)=>{const _0x55997e=_0x5978f9;for(var _0x41147b=_0x443d9f>0x1?void 0x0:_0x443d9f?en(_0x35effd,_0x17d252):_0x35effd,_0x334c5b=_0x248e8d[_0x55997e(0xd8)]-0x1,_0x2bd5a6;_0x334c5b>=0x0;_0x334c5b--)(_0x2bd5a6=_0x248e8d[_0x334c5b])&&(_0x41147b=_0x2bd5a6(_0x41147b)||_0x41147b);return _0x41147b;},tt=(_0x4bb681,_0x3d1114)=>(_0x3035db,_0x4327fd)=>_0x3d1114(_0x3035db,_0x4327fd,_0x4bb681);let re=class{constructor(_0xa62dc6,_0x68c361){const _0x5ab0c1=_0x5978f9;this[_0x5ab0c1(0x104)]=_0xa62dc6,this[_0x5ab0c1(0x162)]=_0x68c361;}[_0x5978f9(0xff)](_0xbb3a7c){const _0xb762e5=_0x5978f9;this[_0xb762e5(0x11b)](_0xbb3a7c),this[_0xb762e5(0x248)](_0xbb3a7c);}['transformRemoteChangeset'](_0x5cf219){const _0x25748e=_0x5978f9,{unitID:_0x28e876}=_0x5cf219,_0x2604d6=this['_renderManagerService']['getRenderById'](_0x28e876)['with'](_0xd0cb86),{redoCache:_0x598a53}=_0x2604d6[_0x25748e(0x259)]();if(_0x598a53[_0x25748e(0xd8)]===0x0)return _0x5cf219;let _0x593c44=_0x495d23[_0x25748e(0x212)](_0x5cf219['mutations'][0x0]);for(let _0x566c86=0x0;_0x566c86<_0x598a53[_0x25748e(0xd8)];_0x566c86++){const _0x4db215={'id':_0x25748e(0x2c7),'params':{..._0x598a53[_0x566c86]}},_0x42a9d9=this[_0x25748e(0x104)][_0x25748e(0x184)](_0x593c44,_0x4db215,!0x1);if(_0x1d14c8(_0x42a9d9))throw _0x42a9d9[_0x25748e(0x219)];_0x593c44=_0x42a9d9[_0x25748e(0x25b)];}return{..._0x495d23[_0x25748e(0x212)](_0x5cf219),'mutations':[_0x593c44]};}[_0x5978f9(0x11b)](_0x1f816e){const _0x3cb5ae=_0x5978f9,{unitID:_0x4a11a2}=_0x1f816e,_0x5d04f8=this['_renderManagerService']['getRenderById'](_0x4a11a2)['with'](_0xd0cb86),{undoCache:_0x53a1ce,redoCache:_0x3ae44d}=_0x5d04f8[_0x3cb5ae(0x259)]();if(_0x53a1ce[_0x3cb5ae(0xd8)]===0x0||_0x3ae44d[_0x3cb5ae(0xd8)]===0x0)return;const _0x4b49e1=[],_0xfa1e9d=[];let _0x42f309=_0x495d23[_0x3cb5ae(0x212)](_0x1f816e[_0x3cb5ae(0x213)][0x0]),_0x370abc=_0x495d23[_0x3cb5ae(0x212)](_0x1f816e[_0x3cb5ae(0x213)][0x0]);for(let _0x5a1554=_0x53a1ce[_0x3cb5ae(0xd8)]-0x1;_0x5a1554>=0x0;_0x5a1554--){const _0xc1c4bc={'id':_0x3cb5ae(0x2c7),'params':{..._0x53a1ce[_0x5a1554]}},_0xf4cfe6={'id':_0x3cb5ae(0x2c7),'params':{..._0x3ae44d[_0x5a1554]}},_0x2ff2c9=this[_0x3cb5ae(0x104)][_0x3cb5ae(0x184)](_0x42f309,_0xc1c4bc,!0x1),_0x449445=this[_0x3cb5ae(0x104)][_0x3cb5ae(0x184)](_0x370abc,_0xf4cfe6,!0x1);if(_0x1d14c8(_0x2ff2c9))throw _0x2ff2c9['error'];if(_0x1d14c8(_0x449445))throw _0x449445[_0x3cb5ae(0x219)];_0x4b49e1[_0x3cb5ae(0x1ca)](_0x2ff2c9[_0x3cb5ae(0x18f)]['params']),_0xfa1e9d[_0x3cb5ae(0x1ca)](_0x449445[_0x3cb5ae(0x18f)]['params']),_0x42f309=_0x2ff2c9[_0x3cb5ae(0x25b)],_0x370abc=_0x449445[_0x3cb5ae(0x25b)];}_0x5d04f8['setUndoRedoMutationParamsCache']({'undoCache':_0x4b49e1,'redoCache':_0xfa1e9d});}[_0x5978f9(0x248)](_0x458070){const _0x4cea74=_0x5978f9,{unitID:_0x54c064}=_0x458070,_0x23fc18=this[_0x4cea74(0x162)]['getRenderById'](_0x54c064)[_0x4cea74(0x1a7)](_0xd0cb86),_0xd06356=_0x23fc18[_0x4cea74(0x18b)]();if(_0xd06356==null)return;const _0x1da360=[{'id':_0x4cea74(0x2c7),'params':{'unitId':_0x458070[_0x4cea74(0x1f6)],'actions':null,'textRanges':[_0xd06356]}}],_0x59825c=this[_0x4cea74(0x104)][_0x4cea74(0x114)](_0x458070,_0x1da360);if(!_0x17e12b(_0x59825c))throw _0x59825c[_0x4cea74(0x219)];const _0x2b1279=_0x59825c[_0x4cea74(0x18f)][0x0][_0x4cea74(0x1b6)][_0x4cea74(0x20c)];Array[_0x4cea74(0xf6)](_0x2b1279)&&_0x2b1279[_0x4cea74(0xd8)]&&_0x23fc18[_0x4cea74(0x270)](_0x2b1279[0x0]);}};re=tn([tt(0x0,_0xac990f),tt(0x1,_0x54f460)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0xffea4b,_0x16f91b,_0x5d5305,_0x37cd7d)=>{const _0x69768e=_0x5978f9;for(var _0x2e7844=_0x37cd7d>0x1?void 0x0:_0x37cd7d?sn(_0x16f91b,_0x5d5305):_0x16f91b,_0x192fbe=_0xffea4b[_0x69768e(0xd8)]-0x1,_0x5324ad;_0x192fbe>=0x0;_0x192fbe--)(_0x5324ad=_0xffea4b[_0x192fbe])&&(_0x2e7844=_0x5324ad(_0x2e7844)||_0x2e7844);return _0x2e7844;},Ce=(_0x558e5f,_0xfa76fa)=>(_0x371b71,_0x4b27db)=>_0xfa76fa(_0x371b71,_0x4b27db,_0x558e5f);let oe=class{constructor(_0xd424d4,_0x49a383,_0x29dac5){const _0x24821c=_0x5978f9;this[_0x24821c(0x29a)]=_0xd424d4,this['_transformService']=_0x49a383,this[_0x24821c(0x134)]=_0x29dac5;}[_0x5978f9(0x17b)](_0x2bd7d2){const _0x28f26c=_0x5978f9;this[_0x28f26c(0x1b7)](_0x2bd7d2);}[_0x5978f9(0x225)](_0x299db9){const _0x55d960=_0x5978f9,{unitID:_0x2906fe}=_0x299db9,{collaboration:_0x2cfdcf}=this['_docStateChangeManagerService']['getStateCache'](_0x2906fe);if(_0x2cfdcf[_0x55d960(0xd8)]===0x0)return _0x299db9;let _0x1379c0=_0x495d23[_0x55d960(0x212)](_0x299db9['mutations'][0x0]);for(let _0x4c9e3d=0x0;_0x4c9e3d<_0x2cfdcf[_0x55d960(0xd8)];_0x4c9e3d++){const _0x307cbd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2cfdcf[_0x4c9e3d][_0x55d960(0x24b)],..._0x2cfdcf[_0x4c9e3d][_0x55d960(0x19e)]}},_0x42e96c=this[_0x55d960(0x104)][_0x55d960(0x184)](_0x1379c0,_0x307cbd,!0x1);if(_0x1d14c8(_0x42e96c))throw _0x42e96c['error'];_0x1379c0=_0x42e96c['m1Prime'];}return{..._0x495d23[_0x55d960(0x212)](_0x299db9),'mutations':[_0x1379c0]};}[_0x5978f9(0x1b7)](_0x1b157a){const _0x301b0a=_0x5978f9,{unitID:_0x3e55cb}=_0x1b157a,{history:_0x2f90a5,collaboration:_0x24f4c1}=this[_0x301b0a(0x134)][_0x301b0a(0x2a1)](_0x3e55cb);if(_0x2f90a5[_0x301b0a(0xd8)]===0x0&&_0x24f4c1[_0x301b0a(0xd8)]===0x0)return;const _0x2b3469=[],_0x52ece5=[];let _0x41f51d=_0x495d23[_0x301b0a(0x212)](_0x1b157a[_0x301b0a(0x213)][0x0]),_0x33ac1f=_0x495d23[_0x301b0a(0x212)](_0x1b157a[_0x301b0a(0x213)][0x0]);for(let _0x12e53b=_0x2f90a5['length']-0x1;_0x12e53b>=0x0;_0x12e53b--){const _0x748a02={'id':_0x301b0a(0x2c7),'params':{'unitId':_0x2f90a5[_0x12e53b][_0x301b0a(0x24b)],..._0x2f90a5[_0x12e53b][_0x301b0a(0x286)]}},_0x476eef={'id':_0x301b0a(0x2c7),'params':{'unitId':_0x2f90a5[_0x12e53b]['unitId'],..._0x2f90a5[_0x12e53b][_0x301b0a(0x19e)]}},_0xa49f90=this[_0x301b0a(0x104)]['transformMutation'](_0x41f51d,_0x748a02,!0x1),_0x1a46eb=this[_0x301b0a(0x104)][_0x301b0a(0x184)](_0x33ac1f,_0x476eef,!0x1);if(_0x1d14c8(_0xa49f90))throw _0xa49f90['error'];if(_0x1d14c8(_0x1a46eb))throw _0x1a46eb[_0x301b0a(0x219)];_0x2b3469[_0x301b0a(0x1ca)]({..._0x2f90a5[_0x12e53b],'undoState':_0xa49f90[_0x301b0a(0x18f)][_0x301b0a(0x1b6)],'redoState':_0x1a46eb[_0x301b0a(0x18f)]['params']}),_0x41f51d=_0xa49f90['m1Prime'],_0x33ac1f=_0x1a46eb['m1Prime'];}_0x41f51d=_0x495d23['deepClone'](_0x1b157a['mutations'][0x0]),_0x33ac1f=_0x495d23[_0x301b0a(0x212)](_0x1b157a[_0x301b0a(0x213)][0x0]);for(let _0x9c423e=_0x24f4c1[_0x301b0a(0xd8)]-0x1;_0x9c423e>=0x0;_0x9c423e--){const _0x268c05={'id':_0x301b0a(0x2c7),'params':{'unitId':_0x24f4c1[_0x9c423e]['unitId'],..._0x24f4c1[_0x9c423e]['undoState']}},_0x5a946f={'id':_0x301b0a(0x2c7),'params':{'unitId':_0x24f4c1[_0x9c423e]['unitId'],..._0x24f4c1[_0x9c423e][_0x301b0a(0x19e)]}},_0x3db7ec=this[_0x301b0a(0x104)]['transformMutation'](_0x41f51d,_0x268c05,!0x1),_0x4f6fbe=this[_0x301b0a(0x104)]['transformMutation'](_0x33ac1f,_0x5a946f,!0x1);if(_0x1d14c8(_0x3db7ec))throw _0x3db7ec[_0x301b0a(0x219)];if(_0x1d14c8(_0x4f6fbe))throw _0x4f6fbe[_0x301b0a(0x219)];_0x52ece5['unshift']({..._0x24f4c1[_0x9c423e],'undoState':_0x3db7ec['m2Prime'][_0x301b0a(0x1b6)],'redoState':_0x4f6fbe[_0x301b0a(0x18f)][_0x301b0a(0x1b6)]}),_0x41f51d=_0x3db7ec[_0x301b0a(0x25b)],_0x33ac1f=_0x4f6fbe['m1Prime'];}this['_docStateChangeManagerService'][_0x301b0a(0xcf)](_0x3e55cb,{'history':_0x2b3469,'collaboration':_0x52ece5});}};oe=nn([Ce(0x0,_0x4254b3(_0x49ea94)),Ce(0x1,_0xac990f),Ce(0x2,_0x4254b3(_0xfa24fb))],oe);var rn=Object[_0x5978f9(0x25e)],on=(_0x3eca4b,_0x1570ae,_0x1abafd,_0x384b73)=>{for(var _0x37e399=_0x384b73>0x1?void 0x0:_0x384b73?rn(_0x1570ae,_0x1abafd):_0x1570ae,_0x548073=_0x3eca4b['length']-0x1,_0x208ce6;_0x548073>=0x0;_0x548073--)(_0x208ce6=_0x3eca4b[_0x548073])&&(_0x37e399=_0x208ce6(_0x37e399)||_0x37e399);return _0x37e399;},st=(_0xd3514,_0x4669eb)=>(_0xd9ceb4,_0x1576bd)=>_0x4669eb(_0xd9ceb4,_0x1576bd,_0xd3514);let ae=class{constructor(_0x51048b,_0x38443a){const _0x157150=_0x5978f9;this[_0x157150(0x29a)]=_0x51048b,this[_0x157150(0x104)]=_0x38443a;}[_0x5978f9(0xc6)](_0x6c58e0){const _0x135178=_0x5978f9;var _0x342b1e;const _0x5e29e9=this['_injector'][_0x135178(0x15c)](_0x177a84),_0x1ed63e=(_0x342b1e=_0x5e29e9[_0x135178(0xd2)]())!=null?_0x342b1e:[];if(_0x1ed63e[_0x135178(0xd8)]===0x0)return;const _0x206eb6=_0x6c58e0[_0x135178(0x1f6)],_0x1b8efe=[{'id':_0x135178(0x2c7),'params':{'unitId':_0x206eb6,'actions':null,'textRanges':_0x1ed63e}}],_0x3a6a7f=this['_transformService'][_0x135178(0x114)](_0x6c58e0,_0x1b8efe);if(!_0x17e12b(_0x3a6a7f))throw _0x3a6a7f[_0x135178(0x219)];const _0x2a137e=_0x3a6a7f[_0x135178(0x18f)][0x0][_0x135178(0x1b6)]['textRanges'];Array[_0x135178(0xf6)](_0x2a137e)&&_0x2a137e['length']&&_0x5e29e9[_0x135178(0x22b)](_0x2a137e,{'unitId':_0x206eb6,'subUnitId':_0x206eb6},!0x1);}};ae=on([st(0x0,_0x4254b3(_0x49ea94)),st(0x1,_0xac990f)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x26d46d,_0x523f0a,_0x10d10a,_0x3b9e83)=>{const _0x3eca37=_0x5978f9;for(var _0x4fbefb=_0x3b9e83>0x1?void 0x0:_0x3b9e83?an(_0x523f0a,_0x10d10a):_0x523f0a,_0xcd67bd=_0x26d46d[_0x3eca37(0xd8)]-0x1,_0x1653a8;_0xcd67bd>=0x0;_0xcd67bd--)(_0x1653a8=_0x26d46d[_0xcd67bd])&&(_0x4fbefb=_0x1653a8(_0x4fbefb)||_0x4fbefb);return _0x4fbefb;},N=(_0xfc2ed4,_0x2c3127)=>(_0x286933,_0x399b46)=>_0x2c3127(_0x286933,_0x399b46,_0xfc2ed4);let ce=class extends _0x275756{constructor(_0x57cfab,_0x2331e6,_0x486189,_0x50acdc,_0xbeed0,_0x3b3a6d,_0x56ed9a,_0xba7bde){const _0x4a25ca=_0x5978f9;super(),_(this,'_status$',new _0x2ec644(_0x138deb[_0x4a25ca(0x1ba)])),(this[_0x4a25ca(0x134)]=_0x57cfab,this[_0x4a25ca(0xca)]=_0x2331e6,this[_0x4a25ca(0x1d9)]=_0x486189,this[_0x4a25ca(0xf2)]=_0x50acdc,this[_0x4a25ca(0x1aa)]=_0xbeed0,this[_0x4a25ca(0x1ff)]=_0x3b3a6d,this[_0x4a25ca(0x2c2)]=_0x56ed9a,this[_0x4a25ca(0x25c)]=_0xba7bde,this[_0x4a25ca(0x189)]());}[_0x5978f9(0x189)](){const _0xedb97e=_0x5978f9;this[_0xedb97e(0x1c8)](this['_collaborationController'][_0xedb97e(0x1f3)]['subscribe'](_0x12cadd=>{const _0x24108b=_0xedb97e,_0x2484ba=this[_0x24108b(0x134)]['docStateChange$'][_0x24108b(0x260)](_0x807ea8=>{const _0x5c25ba=_0x24108b;if(_0x807ea8==null)return;const {unitId:_0x69a519,redoState:_0x2dc587,commandId:_0x2b97dc}=_0x807ea8;if(_0x69a519!==_0x12cadd[_0x5c25ba(0x1f6)])return;const _0x1062b8={'id':_0x2b97dc,'type':_0x195ea6[_0x5c25ba(0x1c3)],'params':{'unitId':_0x69a519,'actions':_0x2dc587[_0x5c25ba(0x220)],'textRanges':null}};_0x12cadd[_0x5c25ba(0x20f)](_0x1062b8);});if(_0x12cadd[_0x24108b(0x1c8)](_0x2484ba),_0x12cadd instanceof _0x4186b0){const _0x2d80f2={'onTransformIME':_0x1cae8a=>this[_0x24108b(0x1d9)][_0x24108b(0xff)](_0x1cae8a),'onTransformState':_0x15658f=>this[_0x24108b(0xf2)][_0x24108b(0x17b)](_0x15658f),'onTransformSelections':_0x223785=>this['_docTransformSelectionsService'][_0x24108b(0xc6)](_0x223785),'onSyncEditingCollabCursor':_0x28d921=>this[_0x24108b(0x1ff)][_0x24108b(0x1a0)](_0x28d921),'onTransformRemoteChangesetByIMECache':_0x47ff29=>this['_docTransformIMECacheService'][_0x24108b(0x225)](_0x47ff29),'onTransformRemoteChangesetByStateCache':_0x3d3d74=>this[_0x24108b(0xf2)]['transformRemoteChangeset'](_0x3d3d74)};_0x12cadd[_0x24108b(0xdb)](_0x2d80f2);}}));}};ce=cn([N(0x0,_0x4254b3(_0xfa24fb)),N(0x1,_0x4254b3(_0x2feee0)),N(0x2,_0x4254b3(re)),N(0x3,_0x4254b3(oe)),N(0x4,_0x4254b3(ae)),N(0x5,_0x4254b3(Fe)),N(0x6,_0x4887c1),N(0x7,_0x4254b3(_0x356e26))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x46dd24,_0x2317c8,_0x1a75f1,_0x244a2b)=>{const _0x8dfebb=_0x5978f9;for(var _0xd87f20=_0x244a2b>0x1?void 0x0:_0x244a2b?ln(_0x2317c8,_0x1a75f1):_0x2317c8,_0x9f5f2=_0x46dd24[_0x8dfebb(0xd8)]-0x1,_0x26363a;_0x9f5f2>=0x0;_0x9f5f2--)(_0x26363a=_0x46dd24[_0x9f5f2])&&(_0xd87f20=_0x26363a(_0xd87f20)||_0xd87f20);return _0xd87f20;},Ee=(_0xeb996d,_0x472482)=>(_0x53f9c0,_0x58052c)=>_0x472482(_0x53f9c0,_0x58052c,_0xeb996d);let we=class extends _0x275756{constructor(_0xbac608,_0x5a6bad,_0x5dd992){const _0x410f5b=_0x5978f9;super(),_(this,'_cachedData',new Map()),_(this,_0x410f5b(0x1e6),new Map()),_(this,_0x410f5b(0x262),!0x1),(this[_0x410f5b(0xc8)]=_0xbac608,this['_localStorageService']=_0x5a6bad,this[_0x410f5b(0x195)]=_0x5dd992);}[_0x5978f9(0xde)](){this['_disabled']=!0x0;}[_0x5978f9(0x271)](){this['_disabled']=!0x1;}get[_0x5978f9(0x20a)](){const _0x2103af=_0x5978f9;return this[_0x2103af(0x1e6)];}[_0x5978f9(0x187)](){const _0x92eef3=_0x5978f9;this[_0x92eef3(0x10c)]()['then'](()=>super[_0x92eef3(0x187)]());}async[_0x5978f9(0x122)](_0x4f075c){const _0x1e8ccc=_0x5978f9;return this[_0x1e8ccc(0x262)]?null:this[_0x1e8ccc(0x206)][_0x1e8ccc(0xfa)](_0xd819cd(_0x4f075c));}async[_0x5978f9(0x169)](_0x4acb7d,_0x2949e7){const _0x4a7793=_0x5978f9;return!!this['_localStorageService'][_0x4a7793(0x1e0)](_0x4acb7d,_0x2949e7);}[_0x5978f9(0x224)](_0x11346d,_0xda4a98,_0x5c7ad9,_0x8ef240){const _0x249efc=_0x5978f9,_0x2ac0dc=this['_revisionService'][_0x249efc(0x202)](_0x11346d);this[_0x249efc(0xf8)][_0x249efc(0x102)](_0x11346d,{'unitID':_0x11346d,'type':_0xda4a98,'awaitingChangeset':_0x5c7ad9,'mutations':_0x8ef240,'rev':_0x2ac0dc}),this['_saveTaskMap'][_0x249efc(0x267)](_0x11346d)||this[_0x249efc(0x2a0)](_0x11346d);}[_0x5978f9(0x2a0)](_0x5001f1){const _0x4599b3=_0x5978f9,_0x373ed0=this[_0x4599b3(0x1f9)]();_0x373ed0===0x0?this[_0x4599b3(0x2bb)](_0x5001f1):this['_saveTaskMap']['set'](_0x5001f1,setTimeout(()=>this[_0x4599b3(0x2bb)](_0x5001f1),_0x373ed0));}['_getSaveTimeout'](){const _0xd396b9=_0x5978f9;var _0x441068;return(_0x441068=this[_0xd396b9(0xc8)][_0xd396b9(0x205)](_0x2b4ad3))!=null?_0x441068:_0x52f070;}[_0x5978f9(0x2bb)](_0x7ea7d3){const _0x270f8f=_0x5978f9,_0x48f5a0=this[_0x270f8f(0x1e6)][_0x270f8f(0x15c)](_0x7ea7d3);return _0x48f5a0!==void 0x0&&window[_0x270f8f(0x185)](_0x48f5a0),this['_localStorageService']['setItem'](_0xd819cd(_0x7ea7d3),this[_0x270f8f(0xf8)]['get'](_0x7ea7d3))[_0x270f8f(0x1fe)](()=>this[_0x270f8f(0x1e6)][_0x270f8f(0x214)](_0x7ea7d3));}async[_0x5978f9(0x10c)](){const _0x4cdded=_0x5978f9,_0x495413=[];this[_0x4cdded(0x1e6)][_0x4cdded(0x1f2)]((_0x58beae,_0x59456f)=>{const _0x3fda28=_0x4cdded;window[_0x3fda28(0x185)](_0x58beae),_0x495413[_0x3fda28(0x15a)](this['_saveCache'](_0x59456f)[_0x3fda28(0x1fe)](()=>{const _0x287a8d=_0x3fda28;this[_0x287a8d(0x1e6)]['delete'](_0x59456f);}));}),await Promise[_0x4cdded(0x11e)](_0x495413);}};we=_n([Ee(0x0,_0x4bdd34),Ee(0x1,_0x3d0e53),Ee(0x2,_0x4254b3(_0x3a9d6d))],we);class hn extends _0x4f795a{constructor(){const _0x36a1e1=_0x5978f9;super(),_(this,_0x36a1e1(0x238)),this[_0x36a1e1(0x238)]=_0x9cc90b(window,'popstate')['pipe'](_0x4c94af(this[_0x36a1e1(0x208)]),_0xb1e6d5(0x1),_0x34a876(void 0x0));}[_0x5978f9(0x29e)](_0x31edb9,_0x5635f1,_0x31ff8f=!0x1){const _0x5314a3=_0x5978f9,_0x2985d5=new URL(window[_0x5314a3(0x24a)]['href']);_0x2985d5[_0x5314a3(0xd9)][_0x5314a3(0x102)](_0x31edb9,_0x5635f1),_0x31ff8f?window[_0x5314a3(0x115)][_0x5314a3(0xe4)]('','',_0x2985d5['toString']()):window[_0x5314a3(0x115)]['pushState']('','',_0x2985d5[_0x5314a3(0x282)]());}[_0x5978f9(0x175)](_0x5949e2,_0x3bbc33=!0x1){const _0x58670f=_0x5978f9,_0x19b194=new URL(window[_0x58670f(0x24a)][_0x58670f(0x1fc)]);_0x19b194['searchParams']['delete'](_0x5949e2),_0x3bbc33?window[_0x58670f(0x115)][_0x58670f(0xe4)]('','',_0x19b194[_0x58670f(0x282)]()):window[_0x58670f(0x115)][_0x58670f(0x1f0)]('','',_0x19b194[_0x58670f(0x282)]());}['getParam'](_0x1f696e){const _0x345e0f=_0x5978f9;var _0x4ecc12;return(_0x4ecc12=new URL(window[_0x345e0f(0x24a)][_0x345e0f(0x1fc)])[_0x345e0f(0xd9)][_0x345e0f(0x15c)](_0x1f696e))!=null?_0x4ecc12:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x5978f9(0x25e)],fn=(_0x3cc0f1,_0x38474c,_0x562efa)=>_0x38474c in _0x3cc0f1?un(_0x3cc0f1,_0x38474c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x562efa}):_0x3cc0f1[_0x38474c]=_0x562efa,Sn=(_0x2419e7,_0x36d97a,_0x3420b2,_0x4bf865)=>{const _0x4d6f25=_0x5978f9;for(var _0x42fc29=_0x4bf865>0x1?void 0x0:_0x4bf865?dn(_0x36d97a,_0x3420b2):_0x36d97a,_0x3dd231=_0x2419e7[_0x4d6f25(0xd8)]-0x1,_0x31fb35;_0x3dd231>=0x0;_0x3dd231--)(_0x31fb35=_0x2419e7[_0x3dd231])&&(_0x42fc29=_0x31fb35(_0x42fc29)||_0x42fc29);return _0x42fc29;},Oe=(_0x5599aa,_0x48592b)=>(_0x5892ea,_0x5baf61)=>_0x48592b(_0x5892ea,_0x5baf61,_0x5599aa),mn=(_0x4a4951,_0x2f6a59,_0x4b36c0)=>fn(_0x4a4951,_0x2f6a59+'',_0x4b36c0);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x48371a{constructor(_0x5bc340=et,_0x36e172,_0xd85410,_0x5ebff1){const _0x4a9c77=_0x5978f9;super(),this[_0x4a9c77(0x148)]=_0x5bc340,this[_0x4a9c77(0x162)]=_0x36e172,this[_0x4a9c77(0x29a)]=_0xd85410,this[_0x4a9c77(0xc8)]=_0x5ebff1;const {..._0x1ca0d9}=_0x4e0d00({},et,this[_0x4a9c77(0x148)]);this[_0x4a9c77(0xc8)]['setConfig'](qi,_0x1ca0d9);}[_0x5978f9(0xd1)](){const _0x44722f=_0x5978f9;this[_0x44722f(0x1d8)](),this[_0x44722f(0x2c9)]();}[_0x5978f9(0x26c)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x41bc11=_0x5978f9;var _0x1cb784;const _0x43a671=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0xd4bad1,{'useClass':_0x519dda}],[_0x4ac262,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x1c12b7(this[_0x41bc11(0x29a)],_0x22ccff(_0x43a671,(_0x1cb784=this[_0x41bc11(0x148)])==null?void 0x0:_0x1cb784['override']));}[_0x5978f9(0x145)](){const _0x1a322f=_0x5978f9;this[_0x1a322f(0x1c8)](this[_0x1a322f(0x162)][_0x1a322f(0x2a7)](_0x12c7d5[_0x1a322f(0x16b)],[Le])),this[_0x1a322f(0x1c8)](this[_0x1a322f(0x162)][_0x1a322f(0x2a7)](_0x12c7d5[_0x1a322f(0xe2)],[Pe]));}['_initDependencies'](){_0x379c2b(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x5978f9(0x27f),In),Ae=Sn([_0x3cdf16(_0x122f21),Oe(0x1,_0x54f460),Oe(0x2,_0x4254b3(_0x49ea94)),Oe(0x3,_0x4bdd34)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x5c0f20,_0x55e149,_0x3a81db,_0x39cf2f)=>{const _0xc09f0f=_0x5978f9;for(var _0x1bedab=_0x39cf2f>0x1?void 0x0:_0x39cf2f?vn(_0x55e149,_0x3a81db):_0x55e149,_0x304cc2=_0x5c0f20[_0xc09f0f(0xd8)]-0x1,_0x3a7f3a;_0x304cc2>=0x0;_0x304cc2--)(_0x3a7f3a=_0x5c0f20[_0x304cc2])&&(_0x1bedab=_0x3a7f3a(_0x1bedab)||_0x1bedab);return _0x1bedab;},z=(_0x30cb63,_0x154c35)=>(_0xc0ab0c,_0x2b88d4)=>_0x154c35(_0xc0ab0c,_0x2b88d4,_0x30cb63);let it=class extends _0x3a1781{constructor(_0x48a2b0,_0x3d3ee9,_0x1aa77b,_0x4bcf34,_0x4a253d){super(_0x48a2b0,_0x3d3ee9,_0x1aa77b,_0x4bcf34,_0x4a253d);}async['createSocket'](_0x24a1b3){const _0x3daa1d=_0x5978f9,_0x3c4c8=await this[_0x3daa1d(0xf5)](),_0x19f4b1=this[_0x3daa1d(0x292)](_0x24a1b3,_0x3c4c8);return this[_0x3daa1d(0x191)](_0x19f4b1);}[_0x5978f9(0x292)](_0x54d226,_0x5b8161){const _0x151d82=_0x5978f9,_0x118a6a=typeof window>'u'?new URL(_0x54d226):new URL(_0x54d226,window[_0x151d82(0x24a)][_0x151d82(0x13a)]);_0x118a6a[_0x151d82(0xd9)]['set'](_0x151d82(0x194),_0x5b8161);const _0x4a37bd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x151d82(0x24a)][_0x151d82(0x2c1)]);return _0x4a37bd[_0x151d82(0x15c)](_0x151d82(0x284))&&_0x118a6a[_0x151d82(0xd9)]['set']('runId',_0x4a37bd[_0x151d82(0x15c)](_0x151d82(0x284))),_0x118a6a[_0x151d82(0x282)]();}async[_0x5978f9(0xf5)](){const _0x1697c2=_0x5978f9;var _0x34a9e8,_0x34a0f7,_0x571ac0;const _0x363dba=this[_0x1697c2(0xc8)]['getConfig'](_0x47ccc5),_0x2a0183=(_0x34a9e8=_0x363dba==null?void 0x0:_0x363dba[_0x1697c2(0x222)])!=null?_0x34a9e8:_0x3e9558;return(_0x571ac0=(_0x34a0f7=(await this[_0x1697c2(0x112)][_0x1697c2(0x15c)](_0x2a0183,{'headers':{'Content-Type':_0x1697c2(0x2a9)}}))[_0x1697c2(0x2bd)])==null?void 0x0:_0x34a0f7[_0x1697c2(0x28e)])!=null?_0x571ac0:'';}};it=gn([z(0x0,_0x4254b3(_0x49ea94)),z(0x1,_0x4254b3(_0xb11c39)),z(0x2,_0x4bdd34),z(0x3,_0x3bb3af),z(0x4,_0x4dc603)],it);var Lt=(_0xcc9b9=>(_0xcc9b9[_0xcc9b9[_0x5978f9(0x17d)]=0x0]=_0x5978f9(0x17d),_0xcc9b9[_0xcc9b9['OK']=0x1]='OK',_0xcc9b9[_0xcc9b9[_0x5978f9(0x1de)]=0x2]=_0x5978f9(0x1de),_0xcc9b9[_0xcc9b9['PERMISSION_DENIED']=0x3]=_0x5978f9(0x21e),_0xcc9b9[_0xcc9b9[_0x5978f9(0x1ed)]=0x4]='NOT_FOUND',_0xcc9b9[_0xcc9b9['UNAUTHENTICATED']=0x5]=_0x5978f9(0x170),_0xcc9b9[_0xcc9b9['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0xcc9b9[_0xcc9b9[_0x5978f9(0x1ee)]=0x7]=_0x5978f9(0x1ee),_0xcc9b9[_0xcc9b9[_0x5978f9(0x28f)]=0x8]=_0x5978f9(0x28f),_0xcc9b9[_0xcc9b9[_0x5978f9(0x272)]=0x9]=_0x5978f9(0x272),_0xcc9b9[_0xcc9b9[_0x5978f9(0x2b0)]=0xa]=_0x5978f9(0x2b0),_0xcc9b9[_0xcc9b9[_0x5978f9(0x1b8)]=0xb]=_0x5978f9(0x1b8),_0xcc9b9[_0xcc9b9[_0x5978f9(0x21d)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xcc9b9[_0xcc9b9['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xcc9b9[_0xcc9b9['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5978f9(0x255),_0xcc9b9[_0xcc9b9['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5978f9(0x1bb),_0xcc9b9[_0xcc9b9[_0x5978f9(0x14a)]=0x1771]=_0x5978f9(0x14a),_0xcc9b9[_0xcc9b9[_0x5978f9(0x27d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xcc9b9[_0xcc9b9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5978f9(0x1e8),_0xcc9b9[_0xcc9b9[_0x5978f9(0x14e)]=0x1b59]='APPLY_REJECT',_0xcc9b9[_0xcc9b9[_0x5978f9(0x146)]=0x1b5a]=_0x5978f9(0x146),_0xcc9b9[_0xcc9b9[_0x5978f9(0x227)]=0x1b5b]=_0x5978f9(0x227),_0xcc9b9[_0xcc9b9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5978f9(0x158),_0xcc9b9[_0xcc9b9[_0x5978f9(0x15b)]=0x1b5d]=_0x5978f9(0x15b),_0xcc9b9[_0xcc9b9[_0x5978f9(0x2c3)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xcc9b9[_0xcc9b9[_0x5978f9(0x1ae)]=0x2329]=_0x5978f9(0x1ae),_0xcc9b9[_0xcc9b9[_0x5978f9(0xee)]=0x232a]=_0x5978f9(0xee),_0xcc9b9[_0xcc9b9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5978f9(0x23c),_0xcc9b9[_0xcc9b9[_0x5978f9(0x159)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xcc9b9[_0xcc9b9[_0x5978f9(0x26a)]=0x232d]=_0x5978f9(0x26a),_0xcc9b9[_0xcc9b9['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5978f9(0x1b2),_0xcc9b9[_0xcc9b9[_0x5978f9(0x13b)]=0x2712]=_0x5978f9(0x13b),_0xcc9b9[_0xcc9b9[_0x5978f9(0x287)]=0x2713]=_0x5978f9(0x287),_0xcc9b9[_0xcc9b9[_0x5978f9(0x244)]=0x2714]=_0x5978f9(0x244),_0xcc9b9[_0xcc9b9[_0x5978f9(0x124)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xcc9b9[_0xcc9b9[_0x5978f9(0x129)]=0x271b]=_0x5978f9(0x129),_0xcc9b9[_0xcc9b9[_0x5978f9(0x2b7)]=0x271c]=_0x5978f9(0x2b7),_0xcc9b9[_0xcc9b9[_0x5978f9(0x1d3)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xcc9b9[_0xcc9b9[_0x5978f9(0x1ab)]=0x271e]=_0x5978f9(0x1ab),_0xcc9b9[_0xcc9b9[_0x5978f9(0x16a)]=0x271f]=_0x5978f9(0x16a),_0xcc9b9[_0xcc9b9['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5978f9(0x10a),_0xcc9b9[_0xcc9b9[_0x5978f9(0x198)]=0x2af9]=_0x5978f9(0x198),_0xcc9b9[_0xcc9b9[_0x5978f9(0x28c)]=0x2ee1]=_0x5978f9(0x28c),_0xcc9b9[_0xcc9b9['INVALID_INVITE_CODE']=0x2ee2]=_0x5978f9(0x1c9),_0xcc9b9[_0xcc9b9[_0x5978f9(0xf3)]=0x2ee3]=_0x5978f9(0xf3),_0xcc9b9[_0xcc9b9[_0x5978f9(0x1e7)]=0x2ee4]=_0x5978f9(0x1e7),_0xcc9b9[_0xcc9b9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5978f9(0x18a),_0xcc9b9[_0xcc9b9[_0x5978f9(0x117)]=0x32c9]=_0x5978f9(0x117),_0xcc9b9[_0xcc9b9[_0x5978f9(0x154)]=0x32ca]=_0x5978f9(0x154),_0xcc9b9[_0xcc9b9[_0x5978f9(0xf4)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xcc9b9[_0xcc9b9[_0x5978f9(0x1e4)]=-0x1]=_0x5978f9(0x1e4),_0xcc9b9))(Lt||{}),pn=Object[_0x5978f9(0x25e)],Cn=(_0x343ac3,_0x163ab4,_0x33270f,_0x4afded)=>{const _0x17cf82=_0x5978f9;for(var _0x582a82=_0x4afded>0x1?void 0x0:_0x4afded?pn(_0x163ab4,_0x33270f):_0x163ab4,_0xd927e8=_0x343ac3[_0x17cf82(0xd8)]-0x1,_0x225724;_0xd927e8>=0x0;_0xd927e8--)(_0x225724=_0x343ac3[_0xd927e8])&&(_0x582a82=_0x225724(_0x582a82)||_0x582a82);return _0x582a82;},be=(_0x10d9f6,_0x1fe9b5)=>(_0x5e5cdc,_0x385806)=>_0x1fe9b5(_0x5e5cdc,_0x385806,_0x10d9f6);let nt=class extends _0x275756{constructor(_0x5bd1aa,_0x567d26,_0x103441){const _0x26171b=_0x5978f9;super(),this[_0x26171b(0x279)]=_0x5bd1aa,this['_httpService']=_0x567d26,this[_0x26171b(0xc8)]=_0x103441;}async[_0x5978f9(0x144)](_0x1c467c,_0x12b11a,_0xa97d1d,..._0x17264e){const _0x2b87a3=_0x5978f9;var _0xec6f53,_0x4dbe0e,_0x572699,_0x253fbc;const _0x309838=this[_0x2b87a3(0x279)][_0x2b87a3(0x2aa)]();if(!_0x309838)throw new Error(_0x2b87a3(0x171));const _0x4ade74=((_0xec6f53=this[_0x2b87a3(0xc8)][_0x2b87a3(0x205)](_0x30263f))!=null?_0xec6f53:_0x226081)+'/'+_0x1c467c+_0x2b87a3(0x2bc)+_0x12b11a,_0x22700b=new URL(window[_0x2b87a3(0x24a)][_0x2b87a3(0x1fc)]),_0xe3d49a={'scriptId':_0x1c467c,'runId':(_0x4dbe0e=_0x22700b[_0x2b87a3(0xd9)][_0x2b87a3(0x15c)]('runId'))!=null?_0x4dbe0e:'','function':_0x12b11a,'unitId':_0x309838[_0x2b87a3(0x273)](),'argsOfFunction':JSON[_0x2b87a3(0x2c4)](_0x17264e),'invokeId':(_0x572699=_0xa97d1d['invokeId'])!=null?_0x572699:'','executionId':(_0x253fbc=_0xa97d1d[_0x2b87a3(0x207)])!=null?_0x253fbc:''};try{const _0x4c9495=await this[_0x2b87a3(0x112)][_0x2b87a3(0x2b9)](_0x4ade74,{'body':_0xe3d49a});return _0x4c9495['body'][_0x2b87a3(0x219)]&&_0x4c9495[_0x2b87a3(0x2bd)]['error']['code']!==Lt['OK']?'Failed':_0x4c9495[_0x2b87a3(0x2bd)]['result'];}catch{return _0x2b87a3(0x110);}}};nt=Cn([be(0x0,_0x4a6374),be(0x1,_0x4254b3(_0xb11c39)),be(0x2,_0x4bdd34)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x275756{constructor(){const _0x4b7149=_0x5978f9;super(),_(this,_0x4b7149(0x1a4),_0xf28c22()),_(this,_0x4b7149(0x186),new Set()),_(this,_0x4b7149(0xcb),new Map()),_(this,_0x4b7149(0x149),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x4b7149(0x135),new Map()),this[_0x4b7149(0x17c)]();}[_0x5978f9(0x187)](){const _0x169a87=_0x5978f9;super[_0x169a87(0x187)](),this[_0x169a87(0x15f)][_0x169a87(0x1f2)]((_0x388d3f,_0x4084d2)=>this[_0x169a87(0x240)](_0x4084d2)),this[_0x169a87(0x149)]&&window['clearInterval'](this[_0x169a87(0x149)]);}[_0x5978f9(0x266)](_0x20db52){const _0x363922=_0x5978f9;return this[_0x363922(0x120)](_0x20db52)[_0x363922(0x228)](_0x17f3df());}['editingUnit'](_0x3038ae){const _0x21379b=_0x5978f9;this[_0x21379b(0x186)][_0x21379b(0x1fd)]===0x0&&this[_0x21379b(0x130)](),this[_0x21379b(0x186)][_0x21379b(0x12b)](_0x3038ae),this[_0x21379b(0x1a2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3038ae],'isForwarded':!0x1});}['disposeUnit'](_0x17fe78){const _0x10ac52=_0x5978f9;this['_selfUnitIDs'][_0x10ac52(0x214)](_0x17fe78),this[_0x10ac52(0x186)][_0x10ac52(0x1fd)]===0x0&&this[_0x10ac52(0x149)]&&window[_0x10ac52(0x1fa)](this[_0x10ac52(0x149)]);}['_init'](){const _0x45eac6=_0x5978f9;this['disposeWithMe'](_0x236c59(_0x9cc90b(window,'storage')['subscribe'](_0xe5eb37=>{const _0x287ab5=_0x3c22;if(_0xe5eb37['key']!==ot||!_0xe5eb37[_0x287ab5(0x11c)])return;const _0x5dce51=JSON[_0x287ab5(0x232)](_0xe5eb37[_0x287ab5(0x11c)]);this[_0x287ab5(0x21f)](_0x5dce51);}))),window['addEventListener']('unload',()=>this[_0x45eac6(0x1a2)]({'type':0x1,'memberID':this[_0x45eac6(0x1a4)],'unitIDs':Array[_0x45eac6(0x24c)](this[_0x45eac6(0x186)])}));}[_0x5978f9(0x21f)](_0x53b0f9){const _0x2038f1=_0x5978f9;switch(_0x53b0f9[_0x2038f1(0x204)]){case 0x0:this['_handleJoinEvent'](_0x53b0f9);break;case 0x1:this[_0x2038f1(0x29b)](_0x53b0f9);break;case 0x2:this[_0x2038f1(0x10e)](_0x53b0f9);break;}}['_handleJoinEvent'](_0x338c64){const _0x3a910c=_0x5978f9,{unitIDs:_0x4b7986,memberID:_0xb22ad4,isForwarded:_0x4a1210}=_0x338c64;_0x4b7986[_0x3a910c(0x1f2)](_0x386156=>{const _0x3dedd7=_0x3a910c;if(!_0x4a1210&&this[_0x3dedd7(0xcb)][_0x3dedd7(0x267)](_0x386156)&&this['_ensureSubject'](_0x386156)[_0x3dedd7(0x1c6)](_0x30805d[_0x3dedd7(0x22e)]),!this[_0x3dedd7(0xcb)][_0x3dedd7(0x267)](_0x386156)||!this[_0x3dedd7(0xcb)][_0x3dedd7(0x15c)](_0x386156)['has'](_0xb22ad4)){const _0x3448d6=this['_unitOnClients'][_0x3dedd7(0x15c)](_0x386156)||new Set();_0x3448d6[_0x3dedd7(0x12b)](_0xb22ad4),this['_unitOnClients'][_0x3dedd7(0x102)](_0x386156,_0x3448d6),this[_0x3dedd7(0x23a)](_0xb22ad4);}}),_0x4a1210||this[_0x3a910c(0x1a2)]({'type':0x0,'memberID':this[_0x3a910c(0x1a4)],'unitIDs':[...this[_0x3a910c(0x186)]],'isForwarded':!0x0});}[_0x5978f9(0x23a)](_0x5e0e58){const _0xc2cf29=_0x5978f9;this[_0xc2cf29(0x240)](_0x5e0e58);const _0x2daae3=window['setTimeout'](()=>{const _0x53cc84=_0xc2cf29;this[_0x53cc84(0xcb)][_0x53cc84(0x1f2)](_0x500b80=>{const _0x2c01b2=_0x53cc84;_0x500b80[_0x2c01b2(0x214)](_0x5e0e58);});},rt*0x2);this['_clearOtherTimers'][_0xc2cf29(0x102)](_0x5e0e58,_0x2daae3);}[_0x5978f9(0x240)](_0x199cdd){const _0x4f0639=_0x5978f9;if(this[_0x4f0639(0x15f)][_0x4f0639(0x267)](_0x199cdd)){const _0x52f72d=this[_0x4f0639(0x15f)][_0x4f0639(0x15c)](_0x199cdd);_0x52f72d&&window['clearTimeout'](_0x52f72d),this[_0x4f0639(0x15f)][_0x4f0639(0x102)](_0x199cdd,null);}}[_0x5978f9(0x29b)](_0x2a41ad){const _0x42ea92=_0x5978f9,{memberID:_0x1f70bc,unitIDs:_0x426192}=_0x2a41ad;_0x426192[_0x42ea92(0x1f2)](_0x23541d=>{const _0x516ce0=_0x42ea92;var _0x2e4f64;const _0x5d9a35=this[_0x516ce0(0xcb)]['get'](_0x23541d);_0x5d9a35&&(_0x5d9a35[_0x516ce0(0x214)](_0x1f70bc),(_0x2e4f64=this[_0x516ce0(0x120)](_0x23541d))==null||_0x2e4f64[_0x516ce0(0x1c6)](_0x5d9a35[_0x516ce0(0x1fd)]===0x0?_0x30805d[_0x516ce0(0x2b5)]:_0x30805d[_0x516ce0(0x22e)]));}),this[_0x42ea92(0x240)](_0x1f70bc);}[_0x5978f9(0x10e)](_0x171559){const _0x30a4c0=_0x5978f9;this[_0x30a4c0(0x23a)](_0x171559[_0x30a4c0(0xea)]);}[_0x5978f9(0x1a2)](_0x1a282a){const _0x4ae7f6=_0x5978f9;localStorage[_0x4ae7f6(0x1e0)](ot,JSON['stringify'](_0x1a282a));}[_0x5978f9(0x130)](){const _0x3ae094=_0x5978f9;this[_0x3ae094(0x149)]=window[_0x3ae094(0x250)](()=>{const _0x491c0e=_0x3ae094;this['_send']({'type':0x2,'memberID':this[_0x491c0e(0x1a4)]});},rt);}[_0x5978f9(0x120)](_0x2cbb99){const _0x17d040=_0x5978f9;return this[_0x17d040(0x135)][_0x17d040(0x267)](_0x2cbb99)||this[_0x17d040(0x135)]['set'](_0x2cbb99,new _0x2ec644(_0x30805d[_0x17d040(0x2b5)])),this[_0x17d040(0x135)][_0x17d040(0x15c)](_0x2cbb99);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5c1be3=_0x2c3d;(function(_0x427ea8,_0x22e881){const _0x33c13d=_0x2c3d,_0x2352f3=_0x427ea8();while(!![]){try{const _0x3cbf2a=parseInt(_0x33c13d(0x153))/0x1*(parseInt(_0x33c13d(0x14f))/0x2)+parseInt(_0x33c13d(0x15e))/0x3+parseInt(_0x33c13d(0x160))/0x4*(parseInt(_0x33c13d(0x154))/0x5)+parseInt(_0x33c13d(0x159))/0x6+-parseInt(_0x33c13d(0x161))/0x7+parseInt(_0x33c13d(0x157))/0x8*(-parseInt(_0x33c13d(0x15b))/0x9)+parseInt(_0x33c13d(0x156))/0xa*(parseInt(_0x33c13d(0x155))/0xb);if(_0x3cbf2a===_0x22e881)break;else _0x2352f3['push'](_0x2352f3['shift']());}catch(_0x40fe3a){_0x2352f3['push'](_0x2352f3['shift']());}}}(_0x3fd4,0xdde3f));const e={'collab-client':{'tooltip':{'reconnect':_0x5c1be3(0x15a)}},'collabStatus':{'fetchMiss':_0x5c1be3(0x15c),'conflict':'Edit\x20conflicts','notCollab':_0x5c1be3(0x152),'synced':_0x5c1be3(0x150),'syncing':_0x5c1be3(0x162),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x5c1be3(0x15f),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x5c1be3(0x151)},'conflict':{'title':_0x5c1be3(0x158),'content':_0x5c1be3(0x15d)},'permission':{'title':_0x5c1be3(0x165),'content':_0x5c1be3(0x164)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x5c1be3(0x163)}},o=e;function _0x2c3d(_0x4d7026,_0x442055){const _0x3fd469=_0x3fd4();return _0x2c3d=function(_0x2c3df1,_0x4f14f7){_0x2c3df1=_0x2c3df1-0x14f;let _0x1730a6=_0x3fd469[_0x2c3df1];return _0x1730a6;},_0x2c3d(_0x4d7026,_0x442055);}function _0x3fd4(){const _0x13180d=['Collaboration\x20Conflict','9016872kqTyFR','Click\x20to\x20Reconnect','3069gStTuW','Syncing\x20server\x20data...','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.','909867RAohQv','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','14108XhPIBQ','4890396aAhOZn','Syncing...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Authentication\x20Error','2WPniOp','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','148471mNyvuK','140WlIDmH','573353gQRndI','30dVXTJI','14128GlKmOr'];_0x3fd4=function(){return _0x13180d;};return _0x3fd4();}export{o as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x690c(_0x499710,_0x596e6b){const _0x58c90f=_0x58c9();return _0x690c=function(_0x690c22,_0x2e9701){_0x690c22=_0x690c22-0x196;let _0xd1fb21=_0x58c90f[_0x690c22];return _0xd1fb21;},_0x690c(_0x499710,_0x596e6b);}const _0x479d15=_0x690c;(function(_0x58a8b7,_0x5b4e75){const _0x3e5687=_0x690c,_0x47c4f8=_0x58a8b7();while(!![]){try{const _0x13efeb=parseInt(_0x3e5687(0x19f))/0x1*(parseInt(_0x3e5687(0x197))/0x2)+parseInt(_0x3e5687(0x19a))/0x3+-parseInt(_0x3e5687(0x198))/0x4*(-parseInt(_0x3e5687(0x1a5))/0x5)+parseInt(_0x3e5687(0x1a1))/0x6+parseInt(_0x3e5687(0x1a9))/0x7*(parseInt(_0x3e5687(0x1a3))/0x8)+parseInt(_0x3e5687(0x196))/0x9+parseInt(_0x3e5687(0x19e))/0xa*(-parseInt(_0x3e5687(0x19b))/0xb);if(_0x13efeb===_0x5b4e75)break;else _0x47c4f8['push'](_0x47c4f8['shift']());}catch(_0x4db04f){_0x47c4f8['push'](_0x47c4f8['shift']());}}}(_0x58c9,0x965a4));const e={'collab-client':{'tooltip':{'reconnect':_0x479d15(0x1a0)}},'collabStatus':{'fetchMiss':_0x479d15(0x19c),'conflict':'Edit\x20conflicts','notCollab':_0x479d15(0x19d),'synced':_0x479d15(0x1ad),'syncing':'Syncing...','offline':_0x479d15(0x1a8)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x479d15(0x1ab),'room-full':_0x479d15(0x1a4),'collaboration-timeout':_0x479d15(0x1a2)},'conflict':{'title':_0x479d15(0x1ae),'content':_0x479d15(0x1a6)},'permission':{'title':_0x479d15(0x1ac),'content':_0x479d15(0x1aa)},'collaboration':{'single-unit':{'warning':_0x479d15(0x199)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x479d15(0x1a7)}};function _0x58c9(){const _0x16e5d9=['6uNxhEV','4apVXRU','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','96210NvMkmG','99vyzZFW','Syncing\x20server\x20data...','Local\x20file','2575290jiBNbP','105883YaeXwy','Click\x20to\x20Reconnect','1510746diUqWk','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1481768uSQWcP','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','3538830dvprCR','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.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','35CJwsaT','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Synced','Collaboration\x20Conflict','6284016ewvxAN'];_0x58c9=function(){return _0x16e5d9;};return _0x58c9();}export{e as default};
|