@univerjs-pro/collaboration-client-ui 0.10.3-experimental.20250812-b4b6f1a → 0.10.3-nightly.202508150623
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/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 _0x4c8ad2=_0x1a2b;(function(_0xe42dfd,_0x215a60){const _0x55884f=_0x1a2b,_0x539e04=_0xe42dfd();while(!![]){try{const _0x17acb9=-parseInt(_0x55884f(0x234))/0x1*(parseInt(_0x55884f(0x2b6))/0x2)+-parseInt(_0x55884f(0x110))/0x3+parseInt(_0x55884f(0x2ce))/0x4*(-parseInt(_0x55884f(0x23b))/0x5)+-parseInt(_0x55884f(0x208))/0x6+parseInt(_0x55884f(0x238))/0x7*(parseInt(_0x55884f(0x1ed))/0x8)+parseInt(_0x55884f(0x114))/0x9+parseInt(_0x55884f(0x2f8))/0xa;if(_0x17acb9===_0x215a60)break;else _0x539e04['push'](_0x539e04['shift']());}catch(_0x4c9fe2){_0x539e04['push'](_0x539e04['shift']());}}}(_0x588e,0x5ffdf));var xt=Object['defineProperty'],Bt=(_0x31237a,_0x464c20,_0x375a3c)=>_0x464c20 in _0x31237a?xt(_0x31237a,_0x464c20,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x375a3c}):_0x31237a[_0x464c20]=_0x375a3c,_=(_0x4fc8eb,_0x4120b7,_0x5605e8)=>Bt(_0x4fc8eb,typeof _0x4120b7!=_0x4c8ad2(0x1b5)?_0x4120b7+'':_0x4120b7,_0x5605e8);import{jsx as _0x294e3f,jsxs as _0x5cbd89}from'react/jsx-runtime';import{CollaborationStatus as _0x24ef01,CollaborationSessionService as _0x15bdfc,CollaborationController as _0x550088,DataLoaderService as _0x42970d,MemberService as _0xa5d6f3,SessionStatus as _0x3eb07c,ILocalCacheService as _0x4fb00a,CollaborationUIEventService as _0x2f6647,CollaborationUIEventId as _0x1d4610,DocCollaborationEntity as _0x317c6a,getLocalCacheKey as _0x1eef40,LOCAL_CACHE_INTERVAL as _0x2b0095,LOCAL_CACHE_INTERVAL_KEY as _0x407ca9,UniverCollaborationClientPlugin as _0x3c5b90,CollaborationSocketService as _0x3fa182,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x308563,DEFAULT_WS_SESSION_TICKET_URL as _0x35ef93,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4bbfa3,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1ead77,UnitStatus as _0xfe3c08}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x4a58fb,IUniverInstanceService as _0x267da8,Inject as _0xf17c52,Injector as _0x14a08a,Disposable as _0x388847,createIdentifier as _0x43cb3a,ILogService as _0x4b3f07,ICommandService as _0x232566,Optional as _0x57e43c,RxDisposable as _0x5da5d3,Workbook as _0x2aaa39,DOC_RANGE_TYPE as _0x5105b5,debounce as _0x41d8fd,Rectangle as _0x3ceb29,DisposableCollection as _0x16f850,toDisposable as _0x5d9642,UniverInstanceType as _0x20dac5,generateRandomId as _0x2ddacf,COLORS as _0x104f50,ColorKit as _0x2cb09e,ThemeService as _0x1cd76d,fromEventSubject as _0x459619,Tools as _0x5351cf,CommandType as _0x10f85b,IConfigService as _0x59143e,ILocalStorageService as _0x46d3a7,DependentOn as _0x741372,Plugin as _0x45b852,merge as _0x4493c5,registerDependencies as _0x57cd9c,mergeOverrideWithDependencies as _0x2df628,touchDependencies as _0x281670}from'@univerjs/core';import{useObservable as _0x2712ba,useDependency as _0x505c89,IUIPartsService as _0x3c71ca,BuiltInUIPart as _0x13180d,connectInjector as _0x4d2713,IBeforeCloseService as _0x40c8c1,IMessageService as _0x46909f,INotificationService as _0x5980b1}from'@univerjs/ui';import{BehaviorSubject as _0x2c7c6b,switchMap as _0x4eb1c8,of as _0x27dea0,takeUntil as _0x1b892a,debounceTime as _0x4e3222,Subject as _0x3d4b2e,filter as _0x55f630,merge as _0x553a69,combineLatest as _0x4c7b20,fromEvent as _0x544f13,shareReplay as _0x53d780,mapTo as _0x70830c,distinctUntilChanged as _0x3afa5b}from'rxjs';import{Tooltip as _0x16e4ca,clsx as _0x42d014,MessageType as _0x5c11e7}from'@univerjs/design';import{forwardRef as _0x4f7ac2,useRef as _0x917733,createElement as _0x1ea42,useCallback as _0x22cb0b}from'react';import{IRemoteInstanceService as _0x3f1b55}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x51641c,RefRangeService as _0x37b921,SetSelectionsOperation as _0x147245,SheetsSelectionsService as _0x52066a,EffectRefRangId as _0x38bf57,handleIRemoveRow as _0xb76994,handleIRemoveCol as _0x28f6ee,handleMoveRange as _0x1d0c1d,handleInsertRow as _0x247376,handleInsertRangeMoveRight as _0x360ad7,handleInsertRangeMoveDown as _0x19e277,handleInsertCol as _0x550b87,handleDeleteRangeMoveUp as _0x537b49,handleDeleteRangeMoveLeft as _0x1a5d80,runRefRangeMutations as _0x32f10b}from'@univerjs/sheets';import{Shape as _0xbd1e50,Rect as _0x3c1b9e,getColor as _0xdbc905,RegularPolygon as _0x38ffad,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4e67c8,Vector2 as _0x5ce56f,SHEET_VIEWPORT_KEY as _0x171a46,IRenderManagerService as _0x3e0ac0}from'@univerjs/engine-render';import{ISocketService as _0x516080,WebSocketService as _0x49dfa8,HTTPService as _0x1d1e38}from'@univerjs/network';import{IDocClipboardService as _0x441ec5,NodePositionConvertToCursor as _0x262416,NodePositionConvertToRectRange as _0xbc31f3,TEXT_RANGE_LAYER_INDEX as _0x5a9741,SetDocZoomRatioOperation as _0x3774c2,DocIMEInputManagerService as _0x41bf8a,DocStateChangeManagerService as _0x428b14}from'@univerjs/docs-ui';import{IImageIoService as _0x44033e}from'@univerjs/drawing';import{ITransformService as _0x461df4,CollaborationEvent as _0x102a5f,isTransformMutationFailure as _0x5cbe5a,isTransformMutationsWithChangesetSuccess as _0x41c887,RevisionService as _0x3cec18,ISnapshotServerService as _0xc396e3}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x34ebbe,RichTextEditingMutation as _0x58395c,DocSelectionManagerService as _0x412aa6,DocSkeletonManagerService as _0x6fdb44}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x13ab72,serializeRangeWithSheet as _0x5e839d}from'@univerjs/engine-formula';import{map as _0x205f1d,filter as _0x397aa8,throttleTime as _0x13c8d3,takeUntil as _0x49b1ed,switchMap as _0x550ec3}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3fc9fb,getCoordByCell as _0x58cc5a,getSheetObject as _0x2a8062}from'@univerjs/sheets-ui';var v=function(){const _0x13cc42=_0x4c8ad2;return v=Object['assign']||function(_0x25b299){const _0x4ae148=_0x1a2b;for(var _0x11dfa9,_0x3671fa=0x1,_0x35e05f=arguments[_0x4ae148(0x203)];_0x3671fa<_0x35e05f;_0x3671fa++){_0x11dfa9=arguments[_0x3671fa];for(var _0x455ab1 in _0x11dfa9)Object[_0x4ae148(0x183)][_0x4ae148(0x292)][_0x4ae148(0x2b2)](_0x11dfa9,_0x455ab1)&&(_0x25b299[_0x455ab1]=_0x11dfa9[_0x455ab1]);}return _0x25b299;},v[_0x13cc42(0x220)](this,arguments);},ci=function(_0x547edf,_0x414e6d){const _0x3157e7=_0x4c8ad2;var _0x230dc9={};for(var _0x27247c in _0x547edf)Object['prototype']['hasOwnProperty']['call'](_0x547edf,_0x27247c)&&_0x414e6d[_0x3157e7(0x221)](_0x27247c)<0x0&&(_0x230dc9[_0x27247c]=_0x547edf[_0x27247c]);if(_0x547edf!=null&&typeof Object[_0x3157e7(0x274)]==_0x3157e7(0x260)){for(var _0x140b92=0x0,_0x27247c=Object['getOwnPropertySymbols'](_0x547edf);_0x140b92<_0x27247c[_0x3157e7(0x203)];_0x140b92++)_0x414e6d[_0x3157e7(0x221)](_0x27247c[_0x140b92])<0x0&&Object[_0x3157e7(0x183)][_0x3157e7(0x2e7)]['call'](_0x547edf,_0x27247c[_0x140b92])&&(_0x230dc9[_0x27247c[_0x140b92]]=_0x547edf[_0x27247c[_0x140b92]]);}return _0x230dc9;},ke=_0x4f7ac2(function(_0x528ffb,_0x2f32b2){const _0x482920=_0x4c8ad2;var _0x46ac5c=_0x528ffb['icon'],_0x2e4f35=_0x528ffb['id'],_0x48c377=_0x528ffb[_0x482920(0x12c)],_0x4d39fb=_0x528ffb[_0x482920(0x21c)],_0xdecbe9=ci(_0x528ffb,['icon','id','className','extend']),_0x2fb503='univerjs-icon\x20univerjs-icon-'[_0x482920(0x185)](_0x2e4f35,'\x20')['concat'](_0x48c377||'')[_0x482920(0x2ef)](),_0x6b1366=_0x917733('_'['concat'](hi()));return Rt(_0x46ac5c,''[_0x482920(0x185)](_0x2e4f35),{'defIds':_0x46ac5c[_0x482920(0x2b5)],'idSuffix':_0x6b1366[_0x482920(0x230)]},v({'ref':_0x2f32b2,'className':_0x2fb503},_0xdecbe9),_0x4d39fb);});function Rt(_0x2466f6,_0x44db21,_0x837aff,_0x96a452,_0x1f919c){const _0x3af2a3=_0x4c8ad2;return _0x1ea42(_0x2466f6['tag'],v(v({'key':_0x44db21},li(_0x2466f6,_0x837aff,_0x1f919c)),_0x96a452),(_i(_0x2466f6,_0x837aff)[_0x3af2a3(0x21d)]||[])[_0x3af2a3(0x287)](function(_0x37489b,_0x1a7dee){const _0x182d24=_0x3af2a3;return Rt(_0x37489b,''['concat'](_0x44db21,'-')[_0x182d24(0x185)](_0x2466f6[_0x182d24(0x235)],'-')['concat'](_0x1a7dee),_0x837aff,void 0x0,_0x1f919c);}));}function li(_0x4e6890,_0x253588,_0x3b618b){const _0x452253=_0x4c8ad2;var _0x227b32=v({},_0x4e6890[_0x452253(0x2a1)]);_0x3b618b!=null&&_0x3b618b[_0x452253(0x25b)]&&_0x227b32[_0x452253(0x13e)]===_0x452253(0x25b)&&(_0x227b32['fill']=_0x3b618b['colorChannel1']),_0x4e6890[_0x452253(0x235)]===_0x452253(0x16d)&&_0x227b32['id']&&(_0x227b32['id']=_0x227b32['id']+_0x253588[_0x452253(0x12d)]),Object[_0x452253(0x1e6)](_0x227b32)[_0x452253(0x1db)](function(_0x2c4be9){const _0x3f2bfc=_0x452253;var _0x17af98=_0x2c4be9[0x0],_0x36e322=_0x2c4be9[0x1];_0x17af98===_0x3f2bfc(0x16d)&&typeof _0x36e322==_0x3f2bfc(0x16c)&&(_0x227b32[_0x17af98]=_0x36e322[_0x3f2bfc(0x19d)](/url\(#(.*)\)/,_0x3f2bfc(0x2eb)[_0x3f2bfc(0x185)](_0x253588[_0x3f2bfc(0x12d)],')')));});var _0x11ddb3=_0x253588[_0x452253(0x2b5)];return!_0x11ddb3||_0x11ddb3[_0x452253(0x203)]===0x0||(_0x4e6890[_0x452253(0x235)]==='use'&&_0x227b32[_0x452253(0x1bf)]&&(_0x227b32['xlink:href']=_0x227b32[_0x452253(0x1bf)]+_0x253588['idSuffix']),Object[_0x452253(0x1e6)](_0x227b32)[_0x452253(0x1db)](function(_0x52cab1){const _0x182c92=_0x452253;var _0x2fd831=_0x52cab1[0x0],_0x4f3a98=_0x52cab1[0x1];typeof _0x4f3a98==_0x182c92(0x16c)&&(_0x227b32[_0x2fd831]=_0x4f3a98['replace'](/url\(#(.*)\)/,_0x182c92(0x2eb)[_0x182c92(0x185)](_0x253588[_0x182c92(0x12d)],')')));})),_0x227b32;}function _i(_0xe0eeb5,_0x1f5336){const _0x129994=_0x4c8ad2;var _0x43c4fd,_0x13703e=_0x1f5336[_0x129994(0x2b5)];return!_0x13703e||_0x13703e['length']===0x0?_0xe0eeb5:_0xe0eeb5[_0x129994(0x235)]===_0x129994(0x19b)&&(!((_0x43c4fd=_0xe0eeb5[_0x129994(0x21d)])===null||_0x43c4fd===void 0x0)&&_0x43c4fd[_0x129994(0x203)])?v(v({},_0xe0eeb5),{'children':_0xe0eeb5[_0x129994(0x21d)][_0x129994(0x287)](function(_0x2fbd93){const _0x1e1d28=_0x129994;return typeof _0x2fbd93[_0x1e1d28(0x2a1)]['id']==_0x1e1d28(0x16c)&&_0x13703e&&_0x13703e['includes'](_0x2fbd93[_0x1e1d28(0x2a1)]['id'])?v(v({},_0x2fbd93),{'attrs':v(v({},_0x2fbd93[_0x1e1d28(0x2a1)]),{'id':_0x2fbd93['attrs']['id']+_0x1f5336[_0x1e1d28(0x12d)]})}):_0x2fbd93;})}):_0xe0eeb5;}function hi(){const _0x548de8=_0x4c8ad2;return Math[_0x548de8(0x206)]()[_0x548de8(0x2d3)](0x24)[_0x548de8(0x1b1)](0x2,0x8);}ke[_0x4c8ad2(0x29c)]='UniverIcon';var ui={'tag':_0x4c8ad2(0x164),'attrs':{'xmlns':_0x4c8ad2(0x193),'fill':_0x4c8ad2(0x15e),'viewBox':_0x4c8ad2(0x198),'width':_0x4c8ad2(0x144),'height':_0x4c8ad2(0x144)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4c8ad2(0x1dc),'attrs':{'stroke':_0x4c8ad2(0x266),'d':_0x4c8ad2(0x140),'strokeLinecap':_0x4c8ad2(0x2f4),'strokeLinejoin':_0x4c8ad2(0x2f4),'strokeWidth':1.2}}]},{'tag':_0x4c8ad2(0x19b),'attrs':{},'children':[{'tag':_0x4c8ad2(0x2ae),'attrs':{'id':_0x4c8ad2(0x24e)},'children':[{'tag':_0x4c8ad2(0x1dc),'attrs':{'fill':_0x4c8ad2(0x2cb),'d':_0x4c8ad2(0x2c8)}}]}]}],'defIds':[_0x4c8ad2(0x24e)]},Dt=_0x4f7ac2(function(_0x1d05aa,_0x4e7395){const _0x24cf13=_0x4c8ad2;return _0x1ea42(ke,Object[_0x24cf13(0x1c6)]({},_0x1d05aa,{'id':_0x24cf13(0x2fb),'ref':_0x4e7395,'icon':ui}));});Dt['displayName']=_0x4c8ad2(0x24a);var di={'tag':_0x4c8ad2(0x164),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4c8ad2(0x15e),'viewBox':'0\x200\x2017\x2016','width':_0x4c8ad2(0x144),'height':_0x4c8ad2(0x144)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x4c8ad2(0x266),'d':_0x4c8ad2(0x1a0),'strokeLinecap':'round','strokeLinejoin':_0x4c8ad2(0x2f4),'strokeWidth':1.2}}]},{'tag':_0x4c8ad2(0x19b),'attrs':{},'children':[{'tag':_0x4c8ad2(0x2ae),'attrs':{'id':_0x4c8ad2(0x180)},'children':[{'tag':_0x4c8ad2(0x1dc),'attrs':{'fill':_0x4c8ad2(0x2cb),'d':_0x4c8ad2(0x2c8),'transform':_0x4c8ad2(0x170)}}]}]}],'defIds':[_0x4c8ad2(0x180)]},Nt=_0x4f7ac2(function(_0x2f139b,_0x35af86){const _0x1b2908=_0x4c8ad2;return _0x1ea42(ke,Object['assign']({},_0x2f139b,{'id':_0x1b2908(0x27b),'ref':_0x35af86,'icon':di}));});Nt[_0x4c8ad2(0x29c)]=_0x4c8ad2(0x115);function fi(_0xca264e){const _0x55caca=_0x4c8ad2;switch(_0xca264e){case _0x24ef01['OFFLINE']:return _0x55caca(0x28e);case _0x24ef01['CONFLICT']:return _0x55caca(0x1f0);case _0x24ef01[_0x55caca(0x1fa)]:return _0x55caca(0x27c);case _0x24ef01[_0x55caca(0x25e)]:return _0x55caca(0x166);case _0x24ef01['AWAITING']:case _0x24ef01[_0x55caca(0x117)]:return _0x55caca(0x155);case _0x24ef01['SYNCED']:case _0x24ef01[_0x55caca(0x30d)]:return _0x55caca(0x29b);}}function Si(_0x54e971){const _0x42ae89=_0x4c8ad2,{status$:_0x33c7af}=_0x54e971,_0x5edb7c=_0x2712ba(_0x33c7af,_0x24ef01[_0x42ae89(0x25e)]),_0x618c91=_0x505c89(_0x4a58fb),_0x2853da=_0x505c89(_0x15bdfc),_0x390a9f=_0x5edb7c!==_0x24ef01[_0x42ae89(0x2c2)],_0x5799ee=_0x618c91['t'](fi(_0x5edb7c)),_0x9ba5d1=_0x390a9f?_0x294e3f(Nt,{}):_0x294e3f(Dt,{}),_0x152a76=_0x22cb0b(()=>{_0x390a9f||_0x2853da['reconnect']();},[_0x390a9f,_0x2853da]);function _0x4d02a3(){const _0x3588ad=_0x42ae89;return _0x5cbd89('div',{'className':_0x3588ad(0x209),'onClick':_0x152a76,'children':[_0x294e3f('div',{'className':_0x42d014(_0x3588ad(0x2ec),{'univer-text-green-500':_0x390a9f,'univer-text-red-500':!_0x390a9f}),'children':_0x9ba5d1}),_0x294e3f(_0x3588ad(0x1e4),{'className':_0x3588ad(0x1cf),'children':_0x5799ee})]});}return _0x390a9f?_0x4d02a3():_0x294e3f(_0x16e4ca,{'title':_0x618c91['t'](_0x42ae89(0x18b)),'children':_0x4d02a3()});}var mi=Object['getOwnPropertyDescriptor'],Ii=(_0x5db455,_0x9ea17b,_0x497af6,_0x47efdf)=>{const _0x238979=_0x4c8ad2;for(var _0x3edd20=_0x47efdf>0x1?void 0x0:_0x47efdf?mi(_0x9ea17b,_0x497af6):_0x9ea17b,_0xea0f60=_0x5db455[_0x238979(0x203)]-0x1,_0x13900d;_0xea0f60>=0x0;_0xea0f60--)(_0x13900d=_0x5db455[_0xea0f60])&&(_0x3edd20=_0x13900d(_0x3edd20)||_0x3edd20);return _0x3edd20;},q=(_0x4cbfcf,_0x17fd19)=>(_0x2e5d1f,_0x1784ef)=>_0x17fd19(_0x2e5d1f,_0x1784ef,_0x4cbfcf);let se=class extends _0x388847{constructor(_0x322454,_0x2fff02,_0x56484e,_0x1966a1){const _0x943efc=_0x4c8ad2;super(),_(this,_0x943efc(0x282),new _0x2c7c6b(_0x24ef01[_0x943efc(0x25e)])),(this['_univerInstanceService']=_0x322454,this[_0x943efc(0x2f1)]=_0x2fff02,this[_0x943efc(0x14d)]=_0x56484e,this[_0x943efc(0x28a)]=_0x1966a1,this[_0x943efc(0x2db)](),this['_initStatusListener']());}[_0x4c8ad2(0x15a)](){const _0x3543ca=_0x4c8ad2;this[_0x3543ca(0x1b8)](this[_0x3543ca(0x1c8)][_0x3543ca(0x1a5)][_0x3543ca(0x189)](_0x4eb1c8(()=>{const _0x408a7a=_0x3543ca,_0x36f62b=this[_0x408a7a(0x1c8)][_0x408a7a(0x305)]();return _0x36f62b?this[_0x408a7a(0x14d)][_0x408a7a(0x308)](_0x36f62b[_0x408a7a(0x2c7)]()):_0x27dea0(null);}),_0x4eb1c8(_0x1a75e7=>_0x1a75e7?_0x1a75e7[_0x3543ca(0x1fc)]:_0x27dea0(_0x24ef01[_0x3543ca(0x25e)])))[_0x3543ca(0x11d)](_0x2f5d5b=>{const _0x3f2868=_0x3543ca;this[_0x3f2868(0x282)][_0x3f2868(0x17c)](_0x2f5d5b);}));}[_0x4c8ad2(0x2db)](){const _0x2d3b9d=_0x4c8ad2;this[_0x2d3b9d(0x1b8)](this['_uiPartsService'][_0x2d3b9d(0x246)](_0x13180d[_0x2d3b9d(0x233)],()=>_0x4d2713(vi({'status$':this[_0x2d3b9d(0x282)][_0x2d3b9d(0x205)]()}),this[_0x2d3b9d(0x2f1)])));}};se=Ii([q(0x0,_0x267da8),q(0x1,_0xf17c52(_0x14a08a)),q(0x2,_0xf17c52(_0x550088)),q(0x3,_0x3c71ca)],se);function vi(_0x1e048a){const {status$:_0x353e26}=_0x1e048a;return function(){return _0x294e3f(Si,{'status$':_0x353e26});};}const Ut=_0x43cb3a('uni.network.url-service');var gi=Object[_0x4c8ad2(0x122)],pi=(_0x4e9b96,_0x55b509,_0x5c48e9,_0x3e4b8a)=>{const _0x2e9d4e=_0x4c8ad2;for(var _0x296198=_0x3e4b8a>0x1?void 0x0:_0x3e4b8a?gi(_0x55b509,_0x5c48e9):_0x55b509,_0x15dc39=_0x4e9b96[_0x2e9d4e(0x203)]-0x1,_0x1808e1;_0x15dc39>=0x0;_0x15dc39--)(_0x1808e1=_0x4e9b96[_0x15dc39])&&(_0x296198=_0x1808e1(_0x296198)||_0x296198);return _0x296198;},G=(_0x1db914,_0x12e8f8)=>(_0x3f1384,_0x44c107)=>_0x12e8f8(_0x3f1384,_0x44c107,_0x1db914);let ie=class extends _0x5da5d3{constructor(_0x1122a4,_0x37f113,_0x312612,_0x1c8cfd,_0xafc1e5){const _0x10f4a1=_0x4c8ad2;super(),this['_urlService']=_0x1122a4,this[_0x10f4a1(0x22d)]=_0x37f113,this['_commandService']=_0x312612,this['_dataLoaderService']=_0x1c8cfd,_0xafc1e5?_0xafc1e5==null||_0xafc1e5[_0x10f4a1(0x299)]()[_0x10f4a1(0x1bd)](()=>this[_0x10f4a1(0x1f7)]()):(this[_0x10f4a1(0x22d)][_0x10f4a1(0x28c)](_0x10f4a1(0x2b9),_0x10f4a1(0x2f7)),this[_0x10f4a1(0x1f7)]());}async[_0x4c8ad2(0x1f7)](){const _0x463f82=_0x4c8ad2,_0x1e63f5=this['_urlService'][_0x463f82(0x191)]('unit'),_0x2571e0=this[_0x463f82(0x176)]['getParam']('type'),_0xb8abf6=this[_0x463f82(0x176)]['getParam'](_0x463f82(0x237));if(!_0x1e63f5||!_0x2571e0){this[_0x463f82(0x22d)][_0x463f82(0x28c)](_0x463f82(0x2b9),_0x463f82(0x139));return;}const _0x56e625=await this['_dataLoaderService']['loadUnit'](_0x1e63f5,Number(_0x2571e0),_0xb8abf6);_0x56e625&&_0x56e625 instanceof _0x2aaa39&&this[_0x463f82(0x224)](_0x56e625);}async[_0x4c8ad2(0x224)](_0x166d04){const _0x3ee98f=_0x4c8ad2;await this['_updateSubUnitFromURLParams'](_0x166d04),_0x166d04[_0x3ee98f(0x173)][_0x3ee98f(0x189)](_0x1b892a(this['dispose$']))[_0x3ee98f(0x11d)](_0x2dbc12=>{const _0x50e2f9=_0x3ee98f;_0x2dbc12&&this[_0x50e2f9(0x1c9)](_0x2dbc12);}),this[_0x3ee98f(0x176)][_0x3ee98f(0x1f4)][_0x3ee98f(0x189)](_0x1b892a(this[_0x3ee98f(0x298)]))[_0x3ee98f(0x11d)](()=>this[_0x3ee98f(0x25f)](_0x166d04));}['_updateURLWithCurrentState'](_0xdb9d8,_0x170a63=!0x1){const _0x544671=_0x4c8ad2,_0x5d482e=this['_urlService'][_0x544671(0x191)](_0x544671(0x237));_0xdb9d8[_0x544671(0x2af)]()!==_0x5d482e&&this['_urlService'][_0x544671(0x177)](_0x544671(0x237),_0xdb9d8['getSheetId'](),_0x170a63);}async[_0x4c8ad2(0x25f)](_0x13301a){const _0x16e4fa=_0x4c8ad2;var _0x3dd801;const _0x15f734=this[_0x16e4fa(0x176)]['getParam'](_0x16e4fa(0x237));if(!_0x15f734||!_0x13301a['getSheetBySheetId'](_0x15f734)){const _0x40d38a=_0x13301a[_0x16e4fa(0x181)]()[0x0],_0x275e32=_0x13301a[_0x16e4fa(0x17f)](_0x40d38a);if(!_0x275e32)return;this['_updateURLWithCurrentState'](_0x275e32,!0x0),await this[_0x16e4fa(0x276)][_0x16e4fa(0x26f)](_0x51641c['id'],{'unitId':_0x13301a['getUnitId'](),'subUnitId':_0x40d38a});return;}((_0x3dd801=_0x13301a[_0x16e4fa(0x188)]())==null?void 0x0:_0x3dd801[_0x16e4fa(0x2af)]())!==_0x15f734&&await this['_commandService']['executeCommand'](_0x51641c['id'],{'unitId':_0x13301a[_0x16e4fa(0x2c7)](),'subUnitId':_0x15f734});}};ie=pi([G(0x0,Ut),G(0x1,_0x4b3f07),G(0x2,_0x232566),G(0x3,_0xf17c52(_0x42970d)),G(0x4,_0x57e43c(_0x3f1b55))],ie);var Ci=Object[_0x4c8ad2(0x122)],Ei=(_0x5b4468,_0x474539,_0x3cb9b3,_0x3bdee3)=>{const _0x508966=_0x4c8ad2;for(var _0x453811=_0x3bdee3>0x1?void 0x0:_0x3bdee3?Ci(_0x474539,_0x3cb9b3):_0x474539,_0x1b13d5=_0x5b4468[_0x508966(0x203)]-0x1,_0x249acc;_0x1b13d5>=0x0;_0x1b13d5--)(_0x249acc=_0x5b4468[_0x1b13d5])&&(_0x453811=_0x249acc(_0x453811)||_0x453811);return _0x453811;},Je=(_0x3cd2b4,_0x21d701)=>(_0x4a6fb,_0x1bbd3d)=>_0x21d701(_0x4a6fb,_0x1bbd3d,_0x3cd2b4);let Ne=class extends _0x5da5d3{constructor(_0x31938c,_0x292790){super(),this['_docClipboardService']=_0x31938c,this['_imageIoService']=_0x292790,this['_init']();}[_0x4c8ad2(0x1f7)](){const _0x18e5ab=_0x4c8ad2,_0x484b4b=this;this[_0x18e5ab(0x1b8)](this[_0x18e5ab(0x2cd)][_0x18e5ab(0x16f)]({'onBeforePasteImage':async _0x21a87c=>{const _0x1777dc=_0x18e5ab,_0x2e832e=await _0x484b4b[_0x1777dc(0x23c)][_0x1777dc(0x145)](_0x21a87c);return _0x2e832e?{'source':_0x2e832e[_0x1777dc(0x125)],'imageSourceType':_0x2e832e['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x441ec5),Je(0x1,_0x44033e)],Ne);const Ze=['purple.300',_0x4c8ad2(0x131),_0x4c8ad2(0x13d),_0x4c8ad2(0x1ee),_0x4c8ad2(0x153),_0x4c8ad2(0x29e)];class He extends _0x388847{constructor(){const _0x4e657c=_0x4c8ad2;super(...arguments),_(this,_0x4e657c(0x297),new Map()),_(this,_0x4e657c(0x1d9),0x0);}[_0x4c8ad2(0x280)](_0x53540d){const _0x27c656=_0x4c8ad2;if(this[_0x27c656(0x297)][_0x27c656(0x207)](_0x53540d))return this[_0x27c656(0x297)][_0x27c656(0x254)](_0x53540d);const _0x425614=Ze[this['_colorIndex']];return this[_0x27c656(0x1d9)]=(this[_0x27c656(0x1d9)]+0x1)%Ze['length'],this[_0x27c656(0x297)]['set'](_0x53540d,_0x425614),_0x425614;}}function Mt(_0x3ccbb4){const _0x48863b=_0x4c8ad2;let _0x1c14c9='';for(const _0x207864 of _0x3ccbb4){const {startOffset:_0x49d9a4,endOffset:_0x14626b,isActive:_0x48e0fa,rangeType:_0x2eb59c,segmentId:_0x4d9115,segmentPage:_0x1b307e}=_0x207864;_0x1c14c9[_0x48863b(0x203)]&&(_0x1c14c9+=','),_0x1c14c9+=_0x49d9a4+':'+_0x14626b+':'+(_0x48e0fa?'1':'0')+':'+_0x2eb59c+':'+_0x4d9115+':'+_0x1b307e;}return _0x1c14c9;}function Oi(_0x8edd1f){const _0x1c70d3=_0x4c8ad2,_0x426d84=_0x8edd1f['split'](','),_0x2d93bd=[];for(const _0x24a089 of _0x426d84){const [_0x3c3b7c,_0x1edcdd,_0x11c88b,_0x6c80e3,_0xa460fe,_0x4b86ac]=_0x24a089[_0x1c70d3(0x306)](':');_0x2d93bd[_0x1c70d3(0x171)]({'startOffset':Number(_0x3c3b7c),'endOffset':Number(_0x1edcdd),'collapsed':_0x3c3b7c===_0x1edcdd,'isActive':_0x11c88b==='1','rangeType':_0x6c80e3===_0x5105b5[_0x1c70d3(0x2a5)]?_0x5105b5[_0x1c70d3(0x2a5)]:_0x5105b5[_0x1c70d3(0x20b)],'segmentId':typeof _0xa460fe=='string'?String(_0xa460fe):'','segmentPage':Number(_0x4b86ac!=null?_0x4b86ac:-0x1)});}return _0x2d93bd['some'](_0x271c33=>_0x271c33['isActive'])||(_0x2d93bd[0x0]['isActive']=!0x0),_0x2d93bd;}class Fe extends _0x5da5d3{constructor(){const _0x2c2cd6=_0x4c8ad2;super(...arguments),_(this,'_collabCursorState$',new _0x2c7c6b(null)),_(this,_0x2c2cd6(0x1df),this['_collabCursorState$'][_0x2c2cd6(0x205)]());}[_0x4c8ad2(0x1f9)](_0x50df44){const _0x4d21bf=_0x4c8ad2,{unitID:_0x17263a,memberID:_0x492258,textRanges:_0x19e1fc}=_0x50df44,_0x4eec44=Mt(_0x19e1fc);if(_0x4eec44==='')return;const _0x2b2149={'unitID':_0x17263a,'memberID':_0x492258,'selection':_0x4eec44};this['_collabCursorState$'][_0x4d21bf(0x17c)](_0x2b2149);}}var bi=Object['getOwnPropertyDescriptor'],Ti=(_0x22925f,_0x235452,_0x24c239,_0x503be3)=>{const _0x8715b=_0x4c8ad2;for(var _0x13ff56=_0x503be3>0x1?void 0x0:_0x503be3?bi(_0x235452,_0x24c239):_0x235452,_0x133b56=_0x22925f[_0x8715b(0x203)]-0x1,_0x547d64;_0x133b56>=0x0;_0x133b56--)(_0x547d64=_0x22925f[_0x133b56])&&(_0x13ff56=_0x547d64(_0x13ff56)||_0x13ff56);return _0x13ff56;},P=(_0x11db7e,_0x511db5)=>(_0x408e4f,_0x163428)=>_0x511db5(_0x408e4f,_0x163428,_0x11db7e);const Ri=0x12c,Di=0x64;let Ue=class extends _0x5da5d3{constructor(_0x428679,_0x374718,_0x3bb51e,_0x1afd7d,_0x8493a,_0x2bb475,_0x13e00b,_0x2b8db2,_0x3a177d){const _0x120404=_0x4c8ad2;super(),_(this,_0x120404(0x178),!0x1),_(this,_0x120404(0x1f7),!0x1),_(this,'_cursorInfo$',new _0x2c7c6b(new Map())),_(this,_0x120404(0x1cc),this['_cursorInfo$'][_0x120404(0x205)]()),_(this,'_roomMembers$',new _0x2c7c6b([])),_(this,_0x120404(0x2bd),this[_0x120404(0x1be)][_0x120404(0x189)](_0x4e3222(Ri))),_(this,'_updateLocalCursor',_0x41d8fd(_0x51bc52=>{const _0x143036=_0x120404,_0x4953d6={'eventID':_0x102a5f['UPDATE_CURSOR'],'data':{'unitID':this[_0x143036(0x179)],'memberID':this['_session']['getMemberID'](),'selection':Mt(_0x51bc52)}};this[_0x143036(0x135)][_0x143036(0x15f)](_0x4953d6,this[_0x143036(0x179)]);},Di)),(this[_0x120404(0x179)]=_0x428679,this[_0x120404(0x135)]=_0x374718,this[_0x120404(0x2f1)]=_0x3bb51e,this['_colorAssignService']=_0x1afd7d,this[_0x120404(0x1ae)]=_0x8493a,this[_0x120404(0x1f2)]=_0x2bb475,this[_0x120404(0x288)]=_0x13e00b,this['_univerInstanceService']=_0x2b8db2,this['_commandService']=_0x3a177d);}get['cursorInfo'](){const _0x4ff637=_0x4c8ad2;return this[_0x4ff637(0x290)][_0x4ff637(0x302)]();}get['roomMembers'](){const _0xc1fab4=_0x4c8ad2;return this[_0xc1fab4(0x1be)]['getValue']();}[_0x4c8ad2(0x1f1)](){const _0x1d8250=_0x4c8ad2;super[_0x1d8250(0x1f1)](),this[_0x1d8250(0x290)][_0x1d8250(0x17c)](new Map()),this['_cursorInfo$'][_0x1d8250(0x128)](),this[_0x1d8250(0x1be)]['next']([]),this[_0x1d8250(0x1be)]['complete']();}['init'](){const _0x460786=_0x4c8ad2;this[_0x460786(0x1f7)]||(this['_init']=!0x0,this['_session'][_0x460786(0x215)][_0x460786(0x189)](_0x1b892a(this[_0x460786(0x298)]))['subscribe'](_0x5b4ba5=>{const _0x578781=_0x460786;_0x5b4ba5===_0x3eb07c[_0x578781(0x2e0)]?this[_0x578781(0x2d4)]():this['_toggleOffline']();}),this[_0x460786(0x135)][_0x460786(0x2c0)][_0x460786(0x189)](_0x1b892a(this[_0x460786(0x298)]))[_0x460786(0x11d)](_0x21c682=>{const _0x3f6242=_0x460786,_0x27af21=_0x21c682[_0x3f6242(0x1b7)];_0x27af21===_0x102a5f[_0x3f6242(0x1ef)]&&this[_0x3f6242(0x2c1)](_0x21c682),_0x27af21===_0x102a5f[_0x3f6242(0x20e)]&&this[_0x3f6242(0x141)](_0x21c682);}),this[_0x460786(0x1b8)](this['_commandService'][_0x460786(0x241)](_0x5acf31=>{const _0x5b8690=_0x460786,_0xe44a37=_0x5acf31['params'];_0xe44a37!=null&&this[_0x5b8690(0x178)]&&_0x5acf31['id']===_0x34ebbe['id']&&_0xe44a37['unitId']===this[_0x5b8690(0x179)]&&_0xe44a37[_0x5b8690(0x190)]===!0x1&&_0xe44a37['ranges']['length']>0x0&&this[_0x5b8690(0x154)](_0xe44a37[_0x5b8690(0x2e6)]);})),this[_0x460786(0x1f2)][_0x460786(0x1df)][_0x460786(0x189)](_0x1b892a(this[_0x460786(0x298)]))['subscribe'](_0x1024dd=>{const _0x5e145a=_0x460786;if((_0x1024dd==null?void 0x0:_0x1024dd[_0x5e145a(0x179)])!==this['unitID'])return;const _0xc72a2={'eventID':_0x102a5f[_0x5e145a(0x1ef)],'data':_0x1024dd};this[_0x5e145a(0x2c1)](_0xc72a2);}),this[_0x460786(0x1b8)](this[_0x460786(0x276)][_0x460786(0x241)](_0x333552=>{const _0x35c0c6=_0x460786;if(_0x333552[_0x35c0c6(0x11b)]==null)return;const _0x3c2088=_0x333552[_0x35c0c6(0x11b)];if(_0x333552['id']!==_0x58395c['id']||_0x3c2088['unitId']!==this[_0x35c0c6(0x179)])return;const _0x32c1dc={'id':_0x35c0c6(0x1f6),'params':_0x3c2088},_0xc31dc9=this['cursorInfo'];for(const [_0x3d27c5,_0x5d66f1]of _0xc31dc9){const _0x539629={'id':_0x35c0c6(0x1f6),'params':{'unitId':this[_0x35c0c6(0x179)],'actions':null,'textRanges':_0x5d66f1[_0x35c0c6(0x2e6)]}},_0x449500=this[_0x35c0c6(0x288)][_0x35c0c6(0x163)](_0x32c1dc,_0x539629,!0x1);if(_0x5cbe5a(_0x449500))throw _0x449500[_0x35c0c6(0x1ff)];_0xc31dc9['set'](_0x3d27c5,{..._0x5d66f1,'ranges':_0x449500['m2Prime']['params'][_0x35c0c6(0x2d2)]});}queueMicrotask(()=>{const _0x40249f=_0x35c0c6;this['_cursorInfo$'][_0x40249f(0x17c)](_0xc31dc9);});})));}[_0x4c8ad2(0x2c1)](_0x3dd8ec){const _0x3ff85c=_0x4c8ad2;var _0x3f0d04,_0x1fa157;const {memberID:_0xd64995,selection:_0x2cd7bd}=_0x3dd8ec[_0x3ff85c(0x2a9)],_0x2ee024=Oi(_0x2cd7bd),_0x1d0d2d=(_0x1fa157=(_0x3f0d04=this['_memberService'][_0x3ff85c(0x1ea)](this[_0x3ff85c(0x179)],_0xd64995))==null?void 0x0:_0x3f0d04[_0x3ff85c(0x132)])!=null?_0x1fa157:_0x3ff85c(0x20a),_0x3dda83={'color':this[_0x3ff85c(0x174)]['assignAColorForMemberID'](_0xd64995),'name':_0x1d0d2d,'ranges':_0x2ee024},_0x3b36d6=this[_0x3ff85c(0x1e2)];_0x3b36d6[_0x3ff85c(0x12a)](_0xd64995,_0x3dda83),this[_0x3ff85c(0x290)]['next'](_0x3b36d6);}[_0x4c8ad2(0x141)](_0x334a4b){const _0x442963=_0x4c8ad2,{memberID:_0x449831}=_0x334a4b['data'],_0x4a15db=this[_0x442963(0x1e2)];_0x4a15db[_0x442963(0x14a)](_0x449831),this[_0x442963(0x290)][_0x442963(0x17c)](_0x4a15db);}[_0x4c8ad2(0x2d4)](){const _0x4c777b=_0x4c8ad2;var _0xfa0851;if(this[_0x4c777b(0x178)]=!0x0,((_0xfa0851=this[_0x4c777b(0x1c8)][_0x4c777b(0x305)]())==null?void 0x0:_0xfa0851[_0x4c777b(0x2c7)]())!==this[_0x4c777b(0x179)])return;const _0x5825eb=this[_0x4c777b(0x2f1)][_0x4c777b(0x254)](_0x412aa6)[_0x4c777b(0x160)]();Array['isArray'](_0x5825eb)&&_0x5825eb[_0x4c777b(0x203)]>0x0&&this['_updateLocalCursor'](_0x5825eb);}['_toggleOffline'](){const _0x5b7309=_0x4c8ad2;this[_0x5b7309(0x178)]=!0x1;}};Ue=Ti([P(0x2,_0xf17c52(_0x14a08a)),P(0x3,_0xf17c52(He)),P(0x4,_0xf17c52(_0xa5d6f3)),P(0x5,_0xf17c52(Fe)),P(0x6,_0x461df4),P(0x7,_0x267da8),P(0x8,_0x232566)],Ue);var Ni=Object[_0x4c8ad2(0x122)],Ui=(_0x301e4e,_0x350909,_0x14ed6a,_0x449f86)=>{const _0x5dcb13=_0x4c8ad2;for(var _0x2fe598=_0x449f86>0x1?void 0x0:_0x449f86?Ni(_0x350909,_0x14ed6a):_0x350909,_0x40300a=_0x301e4e[_0x5dcb13(0x203)]-0x1,_0x27bb50;_0x40300a>=0x0;_0x40300a--)(_0x27bb50=_0x301e4e[_0x40300a])&&(_0x2fe598=_0x27bb50(_0x2fe598)||_0x2fe598);return _0x2fe598;},x=(_0x4c4c1d,_0x527d31)=>(_0xc94ade,_0x3d4708)=>_0x527d31(_0xc94ade,_0x3d4708,_0x4c4c1d);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x59b253=[],_0x2d7601=!0x1;return _0x512395=>{_0x59b253['push'](_0x512395),_0x2d7601||(_0x2d7601=!0x0,setTimeout(()=>{_0x59b253['forEach'](_0x14d12b=>_0x14d12b()),_0x59b253=[],_0x2d7601=!0x1;}));};};let Me=class extends _0x5da5d3{constructor(_0x2ea7d8,_0x4ba55e,_0x80c999,_0x21a9d5,_0x2ae7d6,_0x5c85e7,_0x51354e,_0x4f35b1){const _0x4c8290=_0x4c8ad2;super(),_(this,_0x4c8290(0x178),!0x1),_(this,_0x4c8290(0x1f7),!0x1),_(this,'_cursorInfo$',new _0x2c7c6b(new Map())),_(this,'cursorInfo$',this[_0x4c8290(0x290)][_0x4c8290(0x205)]()),_(this,_0x4c8290(0x1be),new _0x2c7c6b([])),_(this,_0x4c8290(0x2bd),this[_0x4c8290(0x1be)][_0x4c8290(0x189)](_0x4e3222(Mi))),_(this,_0x4c8290(0x154),_0x41d8fd((_0x5eb4ec,_0x4ad8a9)=>{const _0x3e4da0=_0x4c8290,_0x3f109e={'eventID':_0x102a5f[_0x3e4da0(0x1ef)],'data':{'unitID':this[_0x3e4da0(0x179)],'memberID':this['_session'][_0x3e4da0(0x1b0)](),'selection':_0x5e839d(_0x5eb4ec,_0x4ad8a9[_0x3e4da0(0x142)])}};this[_0x3e4da0(0x135)][_0x3e4da0(0x15f)](_0x3f109e,this[_0x3e4da0(0x179)]);},Li)),(this[_0x4c8290(0x179)]=_0x2ea7d8,this[_0x4c8290(0x135)]=_0x4ba55e,this[_0x4c8290(0x2f1)]=_0x80c999,this[_0x4c8290(0x174)]=_0x21a9d5,this['_memberService']=_0x2ae7d6,this[_0x4c8290(0x1c8)]=_0x5c85e7,this[_0x4c8290(0x276)]=_0x51354e,this['_refRangeService']=_0x4f35b1);}get[_0x4c8ad2(0x1e2)](){const _0x27dd61=_0x4c8ad2;return this[_0x27dd61(0x290)][_0x27dd61(0x302)]();}get[_0x4c8ad2(0x243)](){return this['_roomMembers$']['getValue']();}[_0x4c8ad2(0x1f1)](){const _0x3bda0d=_0x4c8ad2;super[_0x3bda0d(0x1f1)](),this[_0x3bda0d(0x290)][_0x3bda0d(0x17c)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$']['next']([]),this[_0x3bda0d(0x1be)]['complete']();}[_0x4c8ad2(0x15c)](){const _0x4691a1=_0x4c8ad2;this[_0x4691a1(0x1f7)]||(this[_0x4691a1(0x1f7)]=!0x0,this[_0x4691a1(0x135)][_0x4691a1(0x215)][_0x4691a1(0x189)](_0x1b892a(this[_0x4691a1(0x298)]))[_0x4691a1(0x11d)](_0x272b07=>{const _0x5b593f=_0x4691a1;_0x272b07===_0x3eb07c[_0x5b593f(0x2e0)]?this[_0x5b593f(0x2d4)]():this[_0x5b593f(0x2a0)]();}),this[_0x4691a1(0x135)][_0x4691a1(0x2c0)][_0x4691a1(0x189)](_0x1b892a(this[_0x4691a1(0x298)]))[_0x4691a1(0x11d)](_0x294faf=>{const _0x4aea10=_0x4691a1,_0x598e21=_0x294faf[_0x4aea10(0x1b7)];_0x598e21===_0x102a5f[_0x4aea10(0x1ef)]&&this[_0x4aea10(0x2c1)](_0x294faf),_0x598e21===_0x102a5f[_0x4aea10(0x20e)]&&this[_0x4aea10(0x141)](_0x294faf);}),this['_onRefRangeChange'](),this[_0x4691a1(0x1b8)](this[_0x4691a1(0x276)][_0x4691a1(0x241)](_0x491e6b=>{const _0x45af50=_0x4691a1;if(this[_0x45af50(0x178)]&&_0x491e6b['id']===_0x147245['id']&&_0x491e6b['params']['unitId']===this['unitID']){const _0x5b7617=_0x491e6b[_0x45af50(0x11b)];this[_0x45af50(0x154)](_0x5b7617[_0x45af50(0x256)],_0x5b7617[_0x45af50(0x2b4)][0x0]);}})));}[_0x4c8ad2(0x2c1)](_0xbd2bcc){const _0x20b6c1=_0x4c8ad2;var _0x32922b,_0x5da0d8;const {memberID:_0x8c34aa,selection:_0x1604b0}=_0xbd2bcc[_0x20b6c1(0x2a9)],{sheetName:_0x4d45ae,range:_0x1f6cdd}=_0x13ab72(_0x1604b0),_0x5ae504={'name':(_0x5da0d8=(_0x32922b=this['_memberService'][_0x20b6c1(0x1ea)](this[_0x20b6c1(0x179)],_0x8c34aa))==null?void 0x0:_0x32922b[_0x20b6c1(0x132)])!=null?_0x5da0d8:'Unknown\x20user','range':this[_0x20b6c1(0x11a)](_0x4d45ae,_0x1f6cdd),'sheetID':_0x4d45ae,'color':this[_0x20b6c1(0x174)][_0x20b6c1(0x280)](_0x8c34aa),'selection':_0x1604b0},_0x281656=this[_0x20b6c1(0x1e2)];_0x281656[_0x20b6c1(0x12a)](_0x8c34aa,_0x5ae504),this['_cursorInfo$'][_0x20b6c1(0x17c)](_0x281656);}['_onCursorDelete'](_0x1da0e9){const _0xccc4fc=_0x4c8ad2,{memberID:_0xa64450}=_0x1da0e9[_0xccc4fc(0x2a9)],_0x48226a=this[_0xccc4fc(0x1e2)];_0x48226a[_0xccc4fc(0x14a)](_0xa64450),this[_0xccc4fc(0x290)][_0xccc4fc(0x17c)](_0x48226a);}[_0x4c8ad2(0x11a)](_0x16a4c6,_0x2070aa){const _0x5305a6=_0x4c8ad2;var _0x5b52a4,_0x5a7e29;const _0x35bf40=(_0x5a7e29=(_0x5b52a4=this[_0x5305a6(0x1c8)][_0x5305a6(0x1a4)](this[_0x5305a6(0x179)]))==null?void 0x0:_0x5b52a4[_0x5305a6(0x17f)](_0x16a4c6))==null?void 0x0:_0x5a7e29['getMergeData']();return(_0x35bf40==null?void 0x0:_0x35bf40['find'](_0x5c1aed=>_0x3ceb29[_0x5305a6(0x1d3)](_0x5c1aed,_0x2070aa)))||_0x2070aa;}[_0x4c8ad2(0x148)](){const _0x5d7377=_0x4c8ad2,_0x20bfd7=new _0x16f850(),_0xc043af=Pi(),_0x1c8045=()=>{const _0x1eb7bc=_0x1a2b;_0x20bfd7['dispose']();const _0x3c2a1d=(_0x46b974,_0x3118e8,_0xca0d2c,_0xae02a5)=>{const _0xf86959=_0x1a2b;let _0x59d047=[];switch(_0x46b974['id']){case _0x38bf57[_0xf86959(0x2ee)]:{_0x59d047=_0x1a5d80(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x192)]:{_0x59d047=_0x537b49(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x26d)]:{_0x59d047=_0x550b87(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x11c)]:{_0x59d047=_0x19e277(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x247)]:{_0x59d047=_0x360ad7(_0x46b974,_0xae02a5);break;}case _0x38bf57['InsertRowCommandId']:{_0x59d047=_0x247376(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x24c)]:{_0x59d047=_0x1d0c1d(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x218)]:{_0x59d047=_0x28f6ee(_0x46b974,_0xae02a5);break;}case _0x38bf57[_0xf86959(0x1c5)]:{_0x59d047=_0xb76994(_0x46b974,_0xae02a5);break;}}const _0x1cbd6a=_0x32f10b(_0x59d047,_0xae02a5),_0x152421=this['cursorInfo']['get'](_0x3118e8);if(_0x152421&&_0x1cbd6a){const _0x4661ed={..._0x152421,'range':_0x1cbd6a};this[_0xf86959(0x1e2)][_0xf86959(0x12a)](_0x3118e8,_0x4661ed),_0xc043af(()=>{const _0x2b3c19=_0xf86959,_0x56bf4c=this[_0x2b3c19(0x187)][_0x2b3c19(0x2ac)](_0x1cbd6a,_0x2f22ef=>(_0x56bf4c[_0x2b3c19(0x1f1)](),_0x3c2a1d(_0x2f22ef,_0x3118e8,_0xca0d2c,_0x1cbd6a)));_0x20bfd7[_0x2b3c19(0x2a6)](_0x56bf4c);});}return{'redos':[],'undos':[]};};this[_0x1eb7bc(0x1e2)][_0x1eb7bc(0x1db)]((_0x28f5d4,_0x2c5e03)=>{const _0x1dc945=_0x1eb7bc,{range:_0x18418f,sheetID:_0x12d53a}=_0x28f5d4,_0x18f48d=this['_refRangeService'][_0x1dc945(0x2ac)](_0x18418f,_0x371b42=>(_0x18f48d[_0x1dc945(0x1f1)](),_0x3c2a1d(_0x371b42,_0x2c5e03,_0x12d53a,_0x18418f)));_0x20bfd7['add'](_0x18f48d);});};this[_0x5d7377(0x1b8)](_0x5d9642(this[_0x5d7377(0x290)][_0x5d7377(0x11d)](()=>{_0x1c8045();})));}['_toggleOnline'](){const _0x492401=_0x4c8ad2;var _0x36f984,_0x52e502;if(this['_online']=!0x0,((_0x36f984=this[_0x492401(0x1c8)]['getFocusedUnit']())==null?void 0x0:_0x36f984[_0x492401(0x2c7)]())!==this[_0x492401(0x179)])return;const _0x158f80=(_0x52e502=this['_injector'][_0x492401(0x254)](_0x52066a)[_0x492401(0x197)]())==null?void 0x0:_0x52e502[0x0],_0x5d8b1c=this[_0x492401(0x1c8)][_0x492401(0x1f3)](_0x20dac5['UNIVER_SHEET'])[_0x492401(0x188)]();_0x158f80&&_0x5d8b1c&&this[_0x492401(0x154)](_0x5d8b1c[_0x492401(0x2af)](),_0x158f80);}[_0x4c8ad2(0x2a0)](){const _0x49a660=_0x4c8ad2;this[_0x49a660(0x178)]=!0x1;}};Me=Ui([x(0x2,_0xf17c52(_0x14a08a)),x(0x3,_0xf17c52(He)),x(0x4,_0xf17c52(_0xa5d6f3)),x(0x5,_0x267da8),x(0x6,_0x232566),x(0x7,_0xf17c52(_0x37b921))],Me);var wi=Object[_0x4c8ad2(0x122)],Ai=(_0x2a311d,_0x32d8aa,_0x517c69,_0x3aa1d2)=>{for(var _0x23519e=_0x3aa1d2>0x1?void 0x0:_0x3aa1d2?wi(_0x32d8aa,_0x517c69):_0x32d8aa,_0x2bbda0=_0x2a311d['length']-0x1,_0x57a90e;_0x2bbda0>=0x0;_0x2bbda0--)(_0x57a90e=_0x2a311d[_0x2bbda0])&&(_0x23519e=_0x57a90e(_0x23519e)||_0x23519e);return _0x23519e;},me=(_0x194402,_0x361ac4)=>(_0x19c9e1,_0x4d209c)=>_0x361ac4(_0x19c9e1,_0x4d209c,_0x194402);let F=class extends _0x5da5d3{constructor(_0x752877,_0x4cc9f9,_0x591c92){const _0x4255ef=_0x4c8ad2;super(),_(this,'_entities',new Map()),_(this,_0x4255ef(0x267),new _0x3d4b2e()),(this['_univerInstanceService']=_0x752877,this[_0x4255ef(0x2f1)]=_0x4cc9f9,this[_0x4255ef(0x14e)]=_0x591c92,this[_0x4255ef(0x1f7)]());}[_0x4c8ad2(0x1f1)](){const _0x1766a9=_0x4c8ad2;super[_0x1766a9(0x1f1)](),this[_0x1766a9(0x267)][_0x1766a9(0x128)](),this[_0x1766a9(0x2d9)][_0x1766a9(0x1db)](_0x295548=>_0x295548['dispose']());}[_0x4c8ad2(0x2da)](_0x16a7fb){const _0x5b5231=_0x4c8ad2;return this['_entities'][_0x5b5231(0x207)](_0x16a7fb)?this[_0x5b5231(0x2d9)][_0x5b5231(0x254)](_0x16a7fb)[_0x5b5231(0x1cc)]:this['_entityInit$']['pipe'](_0x55f630(_0x2b76e7=>_0x2b76e7['unitID']===_0x16a7fb),_0x4eb1c8(_0x2f788f=>_0x2f788f['cursorInfo$']));}[_0x4c8ad2(0x1f7)](){const _0x2e3f02=_0x4c8ad2;this[_0x2e3f02(0x1c8)][_0x2e3f02(0x133)](_0x20dac5[_0x2e3f02(0x225)])[_0x2e3f02(0x189)](_0x1b892a(this[_0x2e3f02(0x298)]))['subscribe'](async _0x43c62d=>{const _0xf241ab=_0x2e3f02,_0x5de6bc=_0x43c62d[_0xf241ab(0x2c7)](),_0x4a981a=await this[_0xf241ab(0x196)](_0x5de6bc);this[_0xf241ab(0x267)][_0xf241ab(0x17c)](_0x4a981a),this[_0xf241ab(0x2d9)]['set'](_0x5de6bc,_0x4a981a);}),this[_0x2e3f02(0x1c8)][_0x2e3f02(0x133)](_0x20dac5[_0x2e3f02(0x159)])['pipe'](_0x1b892a(this[_0x2e3f02(0x298)]))[_0x2e3f02(0x189)](_0x55f630(_0xa0cae2=>!_0xa0cae2['getUnitId']()[_0x2e3f02(0x23a)]('__')))[_0x2e3f02(0x11d)](async _0x583f3a=>{const _0x40fe70=_0x2e3f02,_0x23c170=_0x583f3a['getUnitId'](),_0x4a2526=await this[_0x40fe70(0x124)](_0x23c170);this['_entityInit$'][_0x40fe70(0x17c)](_0x4a2526),this[_0x40fe70(0x2d9)]['set'](_0x23c170,_0x4a2526);}),_0x553a69(this[_0x2e3f02(0x1c8)][_0x2e3f02(0x1b6)](_0x20dac5[_0x2e3f02(0x159)]),this[_0x2e3f02(0x1c8)]['getTypeOfUnitDisposed$'](_0x20dac5['UNIVER_SHEET']))[_0x2e3f02(0x189)](_0x1b892a(this['dispose$']))['subscribe'](_0x1f5910=>{const _0x12a294=_0x2e3f02,_0x19d2a6=_0x1f5910[_0x12a294(0x2c7)](),_0x2f8226=this['_entities'][_0x12a294(0x254)](_0x19d2a6);_0x2f8226&&(_0x2f8226[_0x12a294(0x1f1)](),this[_0x12a294(0x2d9)]['delete'](_0x19d2a6));});}async[_0x4c8ad2(0x196)](_0x3de07a){const _0x2a26bd=_0x4c8ad2,_0x3d03ac=await this[_0x2a26bd(0x14e)][_0x2a26bd(0x272)](_0x3de07a),_0x27ed6b=this['_injector'][_0x2a26bd(0x182)](Me,_0x3de07a,_0x3d03ac);return _0x27ed6b[_0x2a26bd(0x15c)](),_0x27ed6b;}async[_0x4c8ad2(0x124)](_0x13961b){const _0x2509f5=_0x4c8ad2,_0x47034b=await this[_0x2509f5(0x14e)][_0x2509f5(0x272)](_0x13961b),_0x46449a=this['_injector'][_0x2509f5(0x182)](Ue,_0x13961b,_0x47034b);return _0x46449a[_0x2509f5(0x15c)](),_0x46449a;}};F=Ai([me(0x0,_0x267da8),me(0x1,_0xf17c52(_0x14a08a)),me(0x2,_0xf17c52(_0x15bdfc))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x520ac0,_0x38698b){const _0x442776=_0x4c8ad2;let {radius:_0x45cc16,width:_0x161605,height:_0x63e17b}=_0x38698b;_0x45cc16=_0x45cc16!=null?_0x45cc16:0x0,_0x161605=_0x161605!=null?_0x161605:0x1e,_0x63e17b=_0x63e17b!=null?_0x63e17b:0x1e;let _0xff991c=0x0,_0x212c43=0x0,_0xf5273=0x0;_0xff991c=_0x212c43=_0xf5273=Math[_0x442776(0x17e)](_0x45cc16,_0x161605/0x2,_0x63e17b/0x2),_0x520ac0['beginPath'](),_0x520ac0[_0x442776(0x213)](_0xff991c,0x0),_0x520ac0[_0x442776(0x201)](_0x161605-_0x212c43,0x0),_0x520ac0['arc'](_0x161605-_0x212c43,_0x212c43,_0x212c43,Math['PI']*0x3/0x2,0x0,!0x1),_0x520ac0[_0x442776(0x201)](_0x161605,_0x63e17b-_0xf5273),_0x520ac0[_0x442776(0x278)](_0x161605-_0xf5273,_0x63e17b-_0xf5273,_0xf5273,0x0,Math['PI']/0x2,!0x1),_0x520ac0[_0x442776(0x201)](0x0,_0x63e17b),_0x520ac0[_0x442776(0x201)](0x0,_0xff991c),_0x520ac0['arc'](_0xff991c,_0xff991c,_0xff991c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x520ac0[_0x442776(0x11e)](),_0x38698b['fill']&&(_0x520ac0[_0x442776(0x240)](),_0x520ac0[_0x442776(0x26a)]=_0x38698b[_0x442776(0x13e)],_0x38698b['fillRule']===_0x442776(0x186)?_0x520ac0['fill'](_0x442776(0x186)):_0x520ac0['fill'](),_0x520ac0[_0x442776(0x2fe)]());}class ue extends _0xbd1e50{constructor(_0x3253b8,_0x85a5e4){const _0x5ccd0e=_0x4c8ad2;super(_0x3253b8,_0x85a5e4),_(this,_0x5ccd0e(0x1b9)),_(this,_0x5ccd0e(0x2e1)),(this[_0x5ccd0e(0x1b9)]=_0x85a5e4==null?void 0x0:_0x85a5e4[_0x5ccd0e(0x1b9)],this[_0x5ccd0e(0x2e1)]=_0x85a5e4==null?void 0x0:_0x85a5e4[_0x5ccd0e(0x2e1)]);}static[_0x4c8ad2(0x1c2)](_0x11ed57,_0x7f0137){const _0x328e30=_0x4c8ad2,{text:_0x3abfda,color:_0xaa3304}=_0x7f0137;_0x11ed57[_0x328e30(0x240)](),_0x11ed57[_0x328e30(0x1e3)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1054ca=_0x11ed57['measureText'](_0x3abfda)['width'],_0x50cdcc=Math[_0x328e30(0x17e)](_0x1054ca+0x2*Ie,Qe);$i(_0x11ed57,{'height':J,'radius':0x4,'width':_0x50cdcc,'fill':_0xaa3304}),_0x11ed57[_0x328e30(0x26a)]=_0x328e30(0x1da);const _0x3efce5=Ie,_0x1ecf0e=J-yi,_0x1a0f4b=Qe-0x2*Ie;if(_0x1054ca>_0x1a0f4b){let _0x289e3b='',_0x431e5b=0x0;for(const _0x1235c8 of _0x3abfda){const _0x617b96=_0x11ed57[_0x328e30(0x303)](_0x1235c8)['width'];if(_0x431e5b+_0x617b96<=_0x1a0f4b-_0x11ed57[_0x328e30(0x303)](_0x328e30(0x2c9))[_0x328e30(0x273)])_0x289e3b+=_0x1235c8,_0x431e5b+=_0x617b96;else{_0x289e3b+=_0x328e30(0x2c9);break;}}_0x11ed57[_0x328e30(0x257)](_0x289e3b,_0x3efce5,_0x1ecf0e);}else _0x11ed57[_0x328e30(0x257)](_0x3abfda,_0x3efce5,_0x1ecf0e);_0x11ed57[_0x328e30(0x2fe)]();}[_0x4c8ad2(0x200)](_0x3675f7){const _0x375eaa=_0x4c8ad2;ue[_0x375eaa(0x1c2)](_0x3675f7,this);}}const ve='collab-text-anchor-',xi=_0x4c8ad2(0x10d),Bi=_0x4c8ad2(0x1c0),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x4c8ad2(0x1a8);class qe{constructor(_0xf1adab,_0x20925b,_0x4e017a,_0x377376){const _0x1b13c6=_0x4c8ad2;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x1b13c6(0x2b8),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,_0x1b13c6(0x146),null),(this['_cursor']=_0xf1adab,this[_0x1b13c6(0x293)]=_0x20925b,this[_0x1b13c6(0x283)]=_0x4e017a,this[_0x1b13c6(0x226)]=_0x377376,this[_0x1b13c6(0x210)]());}set['_hover'](_0x379866){const _0x6956bc=_0x4c8ad2;_0x379866?(this[_0x6956bc(0x1d6)]&&this['_anchorDot'][_0x6956bc(0x258)](),this[_0x6956bc(0x2b8)]&&this[_0x6956bc(0x2b8)]['show']()):(this[_0x6956bc(0x1d6)]&&this[_0x6956bc(0x1d6)][_0x6956bc(0x26b)](),this[_0x6956bc(0x2b8)]&&this[_0x6956bc(0x2b8)][_0x6956bc(0x258)]());}['dispose'](){const _0x1c1e92=_0x4c8ad2;for(const _0x453a6c of this[_0x1c1e92(0x156)])_0x453a6c[_0x1c1e92(0x1f1)]();this[_0x1c1e92(0x2b8)]&&this[_0x1c1e92(0x2b8)][_0x1c1e92(0x1f1)](),this[_0x1c1e92(0x1d6)]&&this[_0x1c1e92(0x1d6)][_0x1c1e92(0x1f1)](),this[_0x1c1e92(0x1ac)]&&this['_anchor'][_0x1c1e92(0x1f1)](),this[_0x1c1e92(0x146)]&&this['_eventUnsubscribe']();}[_0x4c8ad2(0x210)](){const _0x5823c8=_0x4c8ad2;var _0x27507a;const {_docSkeleton:_0x1aea93,_document:_0x47ea14}=this,{color:_0x527242,name:_0x3450d0,ranges:_0x3960c0}=this['_cursor'],_0x549489=_0x47ea14[_0x5823c8(0x134)](),{docsLeft:_0xab5c50,docsTop:_0x308ee9}=_0x549489,_0x4e2de8=new _0x262416(_0x549489,_0x1aea93);for(const {startOffset:_0x1d19fa,endOffset:_0x5f014e,rangeType:_0x17f792,segmentId:_0x5dd423,segmentPage:_0x4d86b4,collapsed:_0x53eea0,isActive:_0x3bf118}of _0x3960c0){const _0x4086fb=_0x1aea93[_0x5823c8(0x1a3)](_0x1d19fa,!0x0,_0x5dd423,_0x4d86b4);let _0x3f997e=_0x1aea93[_0x5823c8(0x1a3)](_0x5f014e,!0x0,_0x5dd423,_0x4d86b4);if(_0x3f997e==null&&(_0x3f997e=_0x1aea93['findNodePositionByCharIndex'](_0x5f014e-0x1,!0x1,_0x5dd423,_0x4d86b4)),_0x3bf118){const {contentBoxPointGroup:_0x443b33}=_0x4e2de8[_0x5823c8(0x204)](_0x3f997e,_0x3f997e);if(_0x443b33[_0x5823c8(0x203)]===0x0)continue;this[_0x5823c8(0x26e)](_0x527242,_0x443b33,_0xab5c50,_0x308ee9,_0x3450d0),this['_eventUnsubscribe']=this[_0x5823c8(0x1ad)]();}if(_0x4086fb&&_0x3f997e){if(_0x17f792===_0x5105b5['RECT']){const _0x5048a8=new _0xbc31f3(_0x549489,_0x1aea93),{pointGroup:_0x32d078}=(_0x27507a=_0x5048a8[_0x5823c8(0x204)](_0x4086fb,_0x3f997e))!=null?_0x27507a:{};if(_0x32d078==null||_0x32d078[_0x5823c8(0x203)]===0x0)continue;this[_0x5823c8(0x1ce)](_0x527242,_0x32d078,_0xab5c50,_0x308ee9);}else{if(!_0x53eea0){const {borderBoxPointGroup:_0x1e3c0a}=_0x4e2de8[_0x5823c8(0x204)](_0x4086fb,_0x3f997e);if(_0x1e3c0a[_0x5823c8(0x203)]===0x0)continue;this[_0x5823c8(0x25d)](_0x527242,_0x1e3c0a,_0xab5c50,_0x308ee9);}}}}}['_drawAnchor'](_0x2883e2,_0x1ecfc3,_0x41e8cc,_0x77b476,_0x4b4996){const _0x35f071=_0x4c8ad2,_0x473742=this[_0x35f071(0x129)](_0x1ecfc3),{left:_0x45a415,top:_0x24ac95,height:_0x54d9fe}=_0x473742,_0x11927d=this[_0x35f071(0x289)](),_0x3a3164=Hi/_0x11927d,_0x45ad4a=new _0x3c1b9e(ve+_0x2ddacf(K),{'left':_0x45a415+_0x41e8cc-_0x3a3164,'top':_0x24ac95+_0x77b476,'height':_0x54d9fe,'width':ki,'fill':_0x2883e2||_0xdbc905(_0x104f50[_0x35f071(0x1af)],0x0),'strokeWidth':_0x3a3164,'stroke':Fi,'evented':!0x0});this[_0x35f071(0x1ac)]=_0x45ad4a,this[_0x35f071(0x293)][_0x35f071(0x2d5)](_0x45ad4a,_0x5a9741);const _0x3b2335=new _0x3c1b9e(ve+_0x2ddacf(K),{'left':_0x45a415+_0x41e8cc-_0x3a3164,'top':_0x24ac95+_0x77b476-ge/0x2,'height':ge,'width':ge,'fill':_0x2883e2||_0xdbc905(_0x104f50[_0x35f071(0x1af)],0x0),'strokeWidth':0x0,'stroke':_0x2883e2||_0xdbc905(_0x104f50[_0x35f071(0x1af)],0x0),'evented':!0x1});this[_0x35f071(0x1d6)]=_0x3b2335,this['_scene'][_0x35f071(0x2d5)](_0x3b2335,_0x5a9741);const _0x19e3cd=new ue(ve+_0x2ddacf(K),{'left':_0x45a415+_0x41e8cc-_0x3a3164,'top':_0x24ac95+_0x77b476-J,'text':_0x4b4996,'color':_0x2883e2});this['_textBubble']=_0x19e3cd,this['_scene'][_0x35f071(0x2d5)](_0x19e3cd,_0x5a9741),this[_0x35f071(0x265)]=!0x1;}[_0x4c8ad2(0x1ad)](){const _0x3dcab7=_0x4c8ad2,_0x1aa306=this[_0x3dcab7(0x1ac)]['onPointerEnter$'][_0x3dcab7(0x222)](()=>{this['_hover']=!0x0;}),_0x33685f=this[_0x3dcab7(0x1ac)][_0x3dcab7(0x2b3)][_0x3dcab7(0x222)](()=>{const _0x4f9c0a=_0x3dcab7;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x4f9c0a(0x1eb)]=setTimeout(()=>{const _0x326ad6=_0x4f9c0a;this[_0x326ad6(0x265)]=!0x1;},0x7d0);});return()=>{const _0x464b06=_0x3dcab7;_0x1aa306[_0x464b06(0x137)](),_0x33685f['unsubscribe']();};}[_0x4c8ad2(0x25d)](_0x4c3b81,_0x2af390,_0xe8df2a,_0x385f9e){const _0x4bb2f6=_0x4c8ad2,_0x2fa6b0=new _0x2cb09e(_0x4c3b81)['setAlpha'](0.2)[_0x4bb2f6(0x1d8)](),_0x570ecd=new _0x38ffad(xi+_0x2ddacf(K),{'pointsGroup':_0x2af390,'fill':_0x2fa6b0||_0xdbc905(_0x104f50[_0x4bb2f6(0x1af)],0.2),'left':_0xe8df2a,'top':_0x385f9e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4bb2f6(0x156)]['push'](_0x570ecd),this['_scene'][_0x4bb2f6(0x2d5)](_0x570ecd,_0x5a9741);}['_drawRectRange'](_0x4f69ca,_0x14274c,_0x4413db,_0x5d1693){const _0x68920c=_0x4c8ad2,_0x45e54e=new _0x2cb09e(_0x4f69ca)[_0x68920c(0x18a)](0.2)[_0x68920c(0x1d8)](),_0x5c9344=new _0x38ffad(Bi+_0x2ddacf(K),{'pointsGroup':_0x14274c,'fill':_0x45e54e||_0xdbc905(_0x104f50[_0x68920c(0x1af)],0.2),'left':_0x4413db,'top':_0x5d1693,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x68920c(0x156)][_0x68920c(0x171)](_0x5c9344),this[_0x68920c(0x293)][_0x68920c(0x2d5)](_0x5c9344,_0x5a9741);}[_0x4c8ad2(0x129)](_0x465c6f){const _0x8f5aa6=_0x465c6f[0x0],_0x3ad7e1=_0x8f5aa6[0x0],_0x544328=_0x8f5aa6[0x2],{x:_0x54d4d3,y:_0x187045}=_0x3ad7e1,{x:_0x4ef894,y:_0x2a6853}=_0x544328;return{'left':_0x54d4d3,'top':_0x187045,'width':_0x4ef894-_0x54d4d3,'height':_0x2a6853-_0x187045};}[_0x4c8ad2(0x289)](){const _0x54bebd=_0x4c8ad2,{scaleX:_0x1f3923,scaleY:_0x83d9f4}=this[_0x54bebd(0x293)]['getAncestorScale']();return Math['max'](_0x1f3923,_0x83d9f4);}}var Yi=Object[_0x4c8ad2(0x122)],ji=(_0x4b4380,_0x2caf37,_0x33c773,_0xcfbc0a)=>{for(var _0x26b34a=_0xcfbc0a>0x1?void 0x0:_0xcfbc0a?Yi(_0x2caf37,_0x33c773):_0x2caf37,_0x4aa1f6=_0x4b4380['length']-0x1,_0x171906;_0x4aa1f6>=0x0;_0x4aa1f6--)(_0x171906=_0x4b4380[_0x4aa1f6])&&(_0x26b34a=_0x171906(_0x26b34a)||_0x26b34a);return _0x26b34a;},ee=(_0x3f370f,_0x220b81)=>(_0x3f47a7,_0x3b3187)=>_0x220b81(_0x3f47a7,_0x3b3187,_0x3f370f);let Le=class extends _0x5da5d3{constructor(_0x1d76de,_0x2636e3,_0x1ae268,_0x307925,_0x428710){const _0x330ee5=_0x4c8ad2;super(),_(this,_0x330ee5(0x121),[]),_(this,'_cursors',[]),(this['_context']=_0x1d76de,this['_docSkeletonManagerService']=_0x2636e3,this[_0x330ee5(0x2f0)]=_0x1ae268,this[_0x330ee5(0x276)]=_0x307925,this[_0x330ee5(0x19a)]=_0x428710,this[_0x330ee5(0x1f7)]());}['_init'](){const _0x241566=_0x4c8ad2,_0x4279ad=this[_0x241566(0x162)]['unitId'],_0x1b8cab=this[_0x241566(0x2a3)];this[_0x241566(0x1b8)](_0x4c7b20([this[_0x241566(0x2f0)][_0x241566(0x2da)](_0x4279ad),this[_0x241566(0x19a)][_0x241566(0x1a1)]])['pipe'](_0x205f1d(([_0x28d195,_0x30a11e])=>({'skeleton':_0x1b8cab[_0x241566(0x1bb)](),'cursors':[..._0x28d195[_0x241566(0x16a)]()][_0x241566(0x1e8)](_0x2fbcc3=>({..._0x2fbcc3,'color':this['_themeService'][_0x241566(0x2be)](_0x2fbcc3[_0x241566(0x1b9)])}))})))[_0x241566(0x11d)](_0x49e35b=>{const _0x276d0d=_0x241566;if(this[_0x276d0d(0x151)](),_0x49e35b){const {skeleton:_0xb72793,cursors:_0x47f816}=_0x49e35b;this[_0x276d0d(0x161)](_0xb72793,_0x47f816);}})),this[_0x241566(0x2bb)](),this['_initCommandExecutedListener']();}[_0x4c8ad2(0x161)](_0x276517,_0x407064){const _0x2ea76b=_0x4c8ad2,{scene:_0x1487ff,mainComponent:_0x3b4fcf}=this[_0x2ea76b(0x162)],_0x4d7ff2=_0x407064[_0x2ea76b(0x287)](_0x2f19ce=>new qe(_0x2f19ce,_0x1487ff,_0x276517,_0x3b4fcf));this[_0x2ea76b(0x121)]=_0x4d7ff2,this['_cursors']=_0x407064;}['_refreshCollabCursors'](){const _0x1b0f34=_0x4c8ad2;this[_0x1b0f34(0x151)]();const {scene:_0x16347c,mainComponent:_0x96f0e8}=this[_0x1b0f34(0x162)],_0x5a2861=this['_docSkeletonManagerService'][_0x1b0f34(0x1bb)](),_0x420fd6=this[_0x1b0f34(0x1ab)][_0x1b0f34(0x287)](_0x5009f7=>new qe(_0x5009f7,_0x16347c,_0x5a2861,_0x96f0e8));this[_0x1b0f34(0x121)]=_0x420fd6;}['_removeCollabCursors'](){const _0x2a88bb=_0x4c8ad2;this[_0x2a88bb(0x121)]['forEach'](_0x4f7316=>_0x4f7316[_0x2a88bb(0x1f1)]()),this['_cursorShapes']=[];}[_0x4c8ad2(0x2d0)](){const _0x4faccc=_0x4c8ad2,_0x3965e4=[_0x3774c2['id']];this['disposeWithMe'](this[_0x4faccc(0x276)][_0x4faccc(0x241)](_0x2972db=>{const _0x3bb574=_0x4faccc;_0x3965e4['includes'](_0x2972db['id'])&&_0x2972db['params'][_0x3bb574(0x259)]===this[_0x3bb574(0x162)][_0x3bb574(0x259)]&&this[_0x3bb574(0x172)]();}));}[_0x4c8ad2(0x2bb)](){const _0x9844bb=_0x4c8ad2;this[_0x9844bb(0x1b8)](_0x459619(this[_0x9844bb(0x162)][_0x9844bb(0x2ca)][_0x9844bb(0x2e8)])[_0x9844bb(0x189)](_0x397aa8(_0x43b287=>_0x43b287[_0x9844bb(0x1e1)]===_0x4e67c8[_0x9844bb(0x26c)]),_0x13c8d3(0x10))[_0x9844bb(0x11d)](()=>{const _0x3f399e=_0x9844bb;this[_0x3f399e(0x172)]();}));}};Le=ji([ee(0x1,_0xf17c52(_0x6fdb44)),ee(0x2,_0xf17c52(F)),ee(0x3,_0x232566),ee(0x4,_0xf17c52(_0x1cd76d))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0xbd1e50{constructor(_0x5e7ea1,_0x471ae7){const _0x4143da=_0x4c8ad2;super(_0x5e7ea1,_0x471ae7),_(this,_0x4143da(0x236)),_(this,'_hovered',!0x1),_(this,_0x4143da(0x2f3)),_(this,_0x4143da(0x10f),''),_(this,_0x4143da(0x21e),_0x4143da(0x1b2)),_(this,_0x4143da(0x130)),(_0x471ae7&&this['setShapeProps'](_0x471ae7),this[_0x4143da(0x1d7)]['subscribeEvent'](()=>this[_0x4143da(0x2d8)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4143da(0x222)](()=>this[_0x4143da(0x2d8)]({'hovered':!0x1})));}['setShapeProps'](_0x29d769){const _0x1a6f39=_0x4c8ad2;var _0x546e8f,_0x3fe30b,_0x203f76,_0x3c79d9,_0xdaf947,_0x39b64b;this[_0x1a6f39(0x236)]=(_0x546e8f=_0x29d769[_0x1a6f39(0x1b9)])!=null?_0x546e8f:this[_0x1a6f39(0x236)],this[_0x1a6f39(0x1e7)]=(_0x3fe30b=_0x29d769[_0x1a6f39(0x13b)])!=null?_0x3fe30b:this['_hovered'],this[_0x1a6f39(0x2f3)]=(_0x203f76=_0x29d769[_0x1a6f39(0x142)])!=null?_0x203f76:this[_0x1a6f39(0x2f3)],this[_0x1a6f39(0x10f)]=(_0x3c79d9=_0x29d769[_0x1a6f39(0x132)])!=null?_0x3c79d9:this[_0x1a6f39(0x10f)],this[_0x1a6f39(0x21e)]=(_0xdaf947=_0x29d769['labelPosition'])!=null?_0xdaf947:this[_0x1a6f39(0x21e)],this[_0x1a6f39(0x130)]=(_0x39b64b=_0x29d769[_0x1a6f39(0x27a)])!=null?_0x39b64b:this[_0x1a6f39(0x130)],this[_0x1a6f39(0x248)]({'width':_0x29d769[_0x1a6f39(0x273)],'height':_0x29d769[_0x1a6f39(0x2cc)]});}[_0x4c8ad2(0x2bc)](_0x531ef1){const _0x19ca67=_0x4c8ad2,{row:_0x38867c,column:_0x528493}=_0x531ef1;if(_0x38867c>=this[_0x19ca67(0x2f3)]['startRow']&&_0x38867c<=this[_0x19ca67(0x2f3)]['endRow']&&_0x528493>=this[_0x19ca67(0x2f3)]['startColumn']&&_0x528493<=this[_0x19ca67(0x2f3)][_0x19ca67(0x2e9)]){this[_0x19ca67(0x2d8)]({'hovered':!0x0});return;}this[_0x19ca67(0x2d8)]({'hovered':!0x1});}['triggerDblclick'](_0x401232){return!0x1;}[_0x4c8ad2(0x200)](_0x1458e9){const _0x1f5250=_0x4c8ad2;_0x3c1b9e[_0x1f5250(0x1c2)](_0x1458e9,{'width':this[_0x1f5250(0x273)],'height':this[_0x1f5250(0x2cc)],'strokeWidth':Wi,'stroke':this[_0x1f5250(0x236)],'evented':!0x1,'fill':this[_0x1f5250(0x130)]}),this[_0x1f5250(0x1e7)]&&(_0x1458e9[_0x1f5250(0x240)](),_0x1458e9[_0x1f5250(0x2e3)](0x1,0x0,0x0,0x1,this[_0x1f5250(0x273)],this['_labelPosition']===_0x1f5250(0x244)?0x0:-J),ue[_0x1f5250(0x1c2)](_0x1458e9,{'text':this[_0x1f5250(0x10f)],'color':this[_0x1f5250(0x236)]}),_0x1458e9[_0x1f5250(0x2fe)]());}}var Gi=Object['getOwnPropertyDescriptor'],Ki=(_0x2af5da,_0x4f10e6,_0x5388a1,_0x23ff09)=>{const _0x3fb4b6=_0x4c8ad2;for(var _0x1aaf87=_0x23ff09>0x1?void 0x0:_0x23ff09?Gi(_0x4f10e6,_0x5388a1):_0x4f10e6,_0x288a41=_0x2af5da[_0x3fb4b6(0x203)]-0x1,_0x479870;_0x288a41>=0x0;_0x288a41--)(_0x479870=_0x2af5da[_0x288a41])&&(_0x1aaf87=_0x479870(_0x1aaf87)||_0x1aaf87);return _0x1aaf87;},pe=(_0x5dcf2c,_0x5961a1)=>(_0x14a745,_0x45f145)=>_0x5961a1(_0x14a745,_0x45f145,_0x5dcf2c);const zi=0x1389;let Pe=class extends _0x5da5d3{constructor(_0x50517e,_0x179605,_0x41301d,_0x14f472){const _0x4f6ee7=_0x4c8ad2;super(),_(this,_0x4f6ee7(0x1ab),new Set()),_(this,'_lastPointer',null),(this[_0x4f6ee7(0x162)]=_0x50517e,this['_sheetSkeletonManagerService']=_0x179605,this['_collabCursorController']=_0x41301d,this[_0x4f6ee7(0x19a)]=_0x14f472,this[_0x4f6ee7(0x1f7)]());}['_init'](){const _0xc353b2=_0x4c8ad2;this[_0xc353b2(0x24b)]['currentSkeleton$'][_0xc353b2(0x189)](_0x49b1ed(this[_0xc353b2(0x298)]),_0x550ec3(_0x2735f4=>{const _0x7fa3e7=_0xc353b2;if(_0x2735f4){const _0x445639=_0x2735f4[_0x7fa3e7(0x223)];return _0x4c7b20(this[_0x7fa3e7(0x2f0)][_0x7fa3e7(0x2da)](this[_0x7fa3e7(0x162)][_0x7fa3e7(0x259)]),this[_0x7fa3e7(0x19a)]['currentTheme$'])['pipe'](_0x205f1d(([_0x37d12a,_0x4b3d09])=>{const _0x4d9077=new Map();return _0x37d12a['forEach']((_0x2c76fa,_0x130581)=>{const _0x1b9022=_0x1a2b;if(_0x2c76fa[_0x1b9022(0x28f)]===_0x445639){const _0x1e7799={..._0x2c76fa};_0x1e7799[_0x1b9022(0x1b9)]=this[_0x1b9022(0x19a)][_0x1b9022(0x2be)](_0x2c76fa['color']),_0x4d9077[_0x1b9022(0x12a)](_0x130581,_0x1e7799);}}),{'skeleton':_0x2735f4,'cursors':_0x4d9077};}));}return _0x27dea0({'skeleton':null,'cursors':new Map()});}))[_0xc353b2(0x11d)](({skeleton:_0x124342,cursors:_0x114a03})=>{const _0x31eebb=_0xc353b2;this['_removeCollabCursors'](),_0x124342&&this[_0x31eebb(0x161)](_0x124342,_0x114a03);}),this[_0xc353b2(0x24b)][_0xc353b2(0x111)][_0xc353b2(0x11d)](_0x1af883=>{const _0x3a0f0c=_0xc353b2;if(_0x1af883==null)return;const {skeleton:_0xec7a49}=_0x1af883,{scene:_0x39c124}=this[_0x3a0f0c(0x162)];_0x39c124[_0x3a0f0c(0x168)][_0x3a0f0c(0x222)](_0x41d8fd(_0x354ffa=>{const _0x4bcdc0=_0x3a0f0c;var _0x2e91f8,_0x54e862;const {offsetX:_0x3711b3,offsetY:_0x3af5b5}=_0x354ffa,{x:_0x30e9b6,y:_0x2dc875}=_0x39c124['getRelativeToViewportCoord'](_0x5ce56f[_0x4bcdc0(0x23d)]([_0x3711b3,_0x3af5b5])),{scaleX:_0x262f77,scaleY:_0x39904b}=_0x39c124['getAncestorScale'](),_0x352f5e=_0x39c124[_0x4bcdc0(0x2fa)](_0x171a46['VIEW_MAIN']),_0x1f9c20=_0x39c124[_0x4bcdc0(0x12e)](_0x5ce56f[_0x4bcdc0(0x23d)]([_0x30e9b6,_0x2dc875]),_0x352f5e),_0x47dbf9=_0xec7a49['getCellPositionByOffset'](_0x3711b3,_0x3af5b5,_0x262f77,_0x39904b,_0x1f9c20);((_0x2e91f8=this[_0x4bcdc0(0x120)])==null?void 0x0:_0x2e91f8[_0x4bcdc0(0x1d1)])===_0x47dbf9[_0x4bcdc0(0x1d1)]&&((_0x54e862=this[_0x4bcdc0(0x120)])==null?void 0x0:_0x54e862[_0x4bcdc0(0x13c)])===_0x47dbf9['row']||this['_cursors'][_0x4bcdc0(0x1db)](_0xfba506=>{const _0x2bbd6d=_0x4bcdc0;_0xfba506[_0x2bbd6d(0x2bc)](_0x47dbf9);});},0x64));});}[_0x4c8ad2(0x161)](_0x1681a2,_0x57d1c8){const _0x576ac7=_0x4c8ad2;var _0x35bd4d;const _0x591f4f=(_0x35bd4d=this['_sheetSkeletonManagerService'][_0x576ac7(0x1c4)]())==null?void 0x0:_0x35bd4d['skeleton'];if(!_0x591f4f)return;const _0x186859=this['_getSheetObject']();if(!_0x186859)return;this[_0x576ac7(0x1ab)][_0x576ac7(0x1db)](_0x509c39=>{const _0x51bbff=_0x576ac7;_0x509c39[_0x51bbff(0x20d)]();});const {scene:_0xbf76c}=_0x186859,_0xf6adbf=Ji(Array[_0x576ac7(0x2e5)](_0x57d1c8[_0x576ac7(0x16a)]()))['map'](_0x1dd3f5=>{const _0xe7fcb8=_0x576ac7,{color:_0x48aa0f,range:_0x441dc2,name:_0x2a322c,selection:_0x3fb3c4,sheetID:_0x5737bf}=_0x1dd3f5,{startColumn:_0x44916c,startRow:_0x38e36e,endColumn:_0x5d3797,endRow:_0x9f980}=_0x441dc2,_0xd5dc28=_0x58cc5a(_0x38e36e,_0x44916c,_0xbf76c,_0x591f4f),_0x55ccba=_0x58cc5a(_0x9f980,_0x5d3797,_0xbf76c,_0x591f4f),{columnHeaderHeightAndMarginTop:_0x573c7e}=_0x591f4f,{startX:_0x1bad14,startY:_0x5d89ef}=_0xd5dc28,{endX:_0x530f0c,endY:_0x5caa08}=_0x55ccba,_0x2cc6dd=_0x530f0c-_0x1bad14,_0x11ad3a=_0x5caa08-_0x5d89ef,_0x1b9fcc={'labelPosition':_0x5d89ef-_0x573c7e>=J?_0xe7fcb8(0x1b2):_0xe7fcb8(0x244),'sheetID':_0x5737bf,'range':_0x441dc2,'color':_0x48aa0f,'name':_0x2a322c,'selection':_0x3fb3c4,'left':_0x1bad14,'top':_0x5d89ef,'width':_0x2cc6dd,'height':_0x11ad3a,'evented':!0x1,'zIndex':zi};return new Xi(_0x2a322c,_0x1b9fcc);});_0xbf76c[_0x576ac7(0x1c7)](_0xf6adbf,Vi),this[_0x576ac7(0x1ab)]=new Set(_0xf6adbf);}[_0x4c8ad2(0x151)](){const _0x1747bd=_0x4c8ad2;var _0x39c041;(_0x39c041=this[_0x1747bd(0x1ab)])==null||_0x39c041[_0x1747bd(0x1db)](_0x27861b=>_0x27861b[_0x1747bd(0x1f1)]());}[_0x4c8ad2(0x12b)](){const _0xd02738=_0x4c8ad2;return _0x2a8062(this[_0xd02738(0x162)][_0xd02738(0x219)],this[_0xd02738(0x162)]);}};Pe=Ki([pe(0x1,_0xf17c52(_0x3fc9fb)),pe(0x2,_0xf17c52(F)),pe(0x3,_0xf17c52(_0x1cd76d))],Pe);function Ji(_0x4277cd){const _0x2ac1f6=_0x4c8ad2,_0x4cc471=new Map();return _0x4277cd[_0x2ac1f6(0x1db)](_0x2d6ade=>{const _0x48af73=_0x2ac1f6;if(_0x4cc471['has'](_0x2d6ade['selection'])){const _0x553298=_0x4cc471[_0x48af73(0x254)](_0x2d6ade[_0x48af73(0x22c)]);_0x553298[_0x48af73(0x132)]+=',\x20'+_0x2d6ade[_0x48af73(0x132)];}else _0x4cc471[_0x48af73(0x12a)](_0x2d6ade[_0x48af73(0x22c)],_0x2d6ade);}),Array[_0x2ac1f6(0x2e5)](_0x4cc471[_0x2ac1f6(0x16a)]());}var Zi=Object[_0x4c8ad2(0x122)],Qi=(_0x3a9ab9,_0x42abd8,_0x1b4246,_0x241898)=>{const _0x510794=_0x4c8ad2;for(var _0x58f6b0=_0x241898>0x1?void 0x0:_0x241898?Zi(_0x42abd8,_0x1b4246):_0x42abd8,_0x4b5c70=_0x3a9ab9[_0x510794(0x203)]-0x1,_0x2d415a;_0x4b5c70>=0x0;_0x4b5c70--)(_0x2d415a=_0x3a9ab9[_0x4b5c70])&&(_0x58f6b0=_0x2d415a(_0x58f6b0)||_0x58f6b0);return _0x58f6b0;},B=(_0x418e7e,_0x59c9b0)=>(_0x26fcb2,_0xb71a05)=>_0x59c9b0(_0x26fcb2,_0xb71a05,_0x418e7e);let ne=class extends _0x388847{constructor(_0xbd9aca,_0x33cb7f,_0x5dd730,_0x1632e3,_0x529494,_0x16328d){const _0x472a10=_0x4c8ad2;super(),this[_0x472a10(0x1de)]=_0xbd9aca,this[_0x472a10(0x30b)]=_0x33cb7f,this[_0x472a10(0x16e)]=_0x5dd730,this[_0x472a10(0x29a)]=_0x1632e3,this[_0x472a10(0x18e)]=_0x529494,this[_0x472a10(0x1fe)]=_0x16328d,this[_0x472a10(0x23f)](),this[_0x472a10(0x30c)]();}[_0x4c8ad2(0x23f)](){const _0x279513=_0x4c8ad2;this[_0x279513(0x1b8)](this['_beforeCloseService'][_0x279513(0x1d4)](()=>{const _0x3d74fb=_0x279513;if(this['_localCacheService'][_0x3d74fb(0x20c)][_0x3d74fb(0x294)])return this[_0x3d74fb(0x1fe)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4c8ad2(0x30c)](){const _0x5f3bce=_0x4c8ad2;this[_0x5f3bce(0x1b8)](this[_0x5f3bce(0x16e)][_0x5f3bce(0x2c0)]['subscribe'](_0x5ca2d9=>{const _0xde4cf2=_0x5f3bce;_0x5ca2d9['id']===_0x1d4610['OTHER_CLIENT_EDITING']&&this['_messageService'][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x29f)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x2df))}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x2dc)]&&this[_0xde4cf2(0x29a)][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x29f)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x14c))}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x2ed)]&&this['_notificationService'][_0xde4cf2(0x26b)]({'title':this['_localeService']['t'](_0xde4cf2(0x2aa)),'content':this[_0xde4cf2(0x1fe)]['t']('permission.content'),'type':'error','duration':0x0}),_0x5ca2d9['id']===_0x1d4610['CONFLICT']&&this[_0xde4cf2(0x29a)][_0xde4cf2(0x26b)]({'type':_0x5c11e7['Error'],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x14c))+'('+_0x5ca2d9[_0xde4cf2(0x2a9)]+')'}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x285)]&&this[_0xde4cf2(0x29a)][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x29f)],'content':this[_0xde4cf2(0x1fe)]['t'](_0x5ca2d9[_0xde4cf2(0x2a9)]||'')}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x24d)]&&this[_0xde4cf2(0x29a)][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x29f)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x263))}),_0x5ca2d9['id']===_0x1d4610[_0xde4cf2(0x1c3)]&&this['_messageService'][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x252)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x301))}),_0x5ca2d9['id']===_0x1d4610['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0xde4cf2(0x26b)]({'type':_0x5c11e7[_0xde4cf2(0x252)],'content':this[_0xde4cf2(0x1fe)]['t'](_0xde4cf2(0x251))});}));}};ne=Qi([B(0x0,_0x40c8c1),B(0x1,_0x4fb00a),B(0x2,_0xf17c52(_0x2f6647)),B(0x3,_0x46909f),B(0x4,_0x5980b1),B(0x5,_0xf17c52(_0x4a58fb))],ne);const qi=_0x4c8ad2(0x1a9),et={};function _0x1a2b(_0x4111ee,_0x5002f0){const _0x588e97=_0x588e();return _0x1a2b=function(_0x1a2bef,_0x47ce64){_0x1a2bef=_0x1a2bef-0x10d;let _0x3ad16b=_0x588e97[_0x1a2bef];return _0x3ad16b;},_0x1a2b(_0x4111ee,_0x5002f0);}var en=Object[_0x4c8ad2(0x122)],tn=(_0x4c20b4,_0x86c842,_0x634d0f,_0x1226d4)=>{const _0x2f3d31=_0x4c8ad2;for(var _0xe6a55b=_0x1226d4>0x1?void 0x0:_0x1226d4?en(_0x86c842,_0x634d0f):_0x86c842,_0x530036=_0x4c20b4[_0x2f3d31(0x203)]-0x1,_0x2edfd3;_0x530036>=0x0;_0x530036--)(_0x2edfd3=_0x4c20b4[_0x530036])&&(_0xe6a55b=_0x2edfd3(_0xe6a55b)||_0xe6a55b);return _0xe6a55b;},tt=(_0xeb28a0,_0x202491)=>(_0x3148e8,_0x346fa5)=>_0x202491(_0x3148e8,_0x346fa5,_0xeb28a0);let re=class{constructor(_0x3fb518,_0x1ec6af){const _0x5ad3d6=_0x4c8ad2;this[_0x5ad3d6(0x288)]=_0x3fb518,this[_0x5ad3d6(0x1aa)]=_0x1ec6af;}[_0x4c8ad2(0x14f)](_0x4b8d38){const _0x52e71f=_0x4c8ad2;this['_transformUndoRedoStack'](_0x4b8d38),this[_0x52e71f(0x249)](_0x4b8d38);}[_0x4c8ad2(0x307)](_0x115171){const _0x2f7c59=_0x4c8ad2,{unitID:_0x56c54f}=_0x115171,_0x5e00ab=this[_0x2f7c59(0x1aa)][_0x2f7c59(0x1e5)](_0x56c54f)['with'](_0x41bf8a),{redoCache:_0x1af0d7}=_0x5e00ab['getUndoRedoMutationParamsCache']();if(_0x1af0d7['length']===0x0)return _0x115171;let _0x5f567d=_0x5351cf['deepClone'](_0x115171[_0x2f7c59(0x2cf)][0x0]);for(let _0x5f2c4a=0x0;_0x5f2c4a<_0x1af0d7[_0x2f7c59(0x203)];_0x5f2c4a++){const _0x22842e={'id':_0x2f7c59(0x1f6),'params':{..._0x1af0d7[_0x5f2c4a]}},_0xc26370=this['_transformService'][_0x2f7c59(0x163)](_0x5f567d,_0x22842e,!0x1);if(_0x5cbe5a(_0xc26370))throw _0xc26370[_0x2f7c59(0x1ff)];_0x5f567d=_0xc26370[_0x2f7c59(0x1dd)];}return{..._0x5351cf[_0x2f7c59(0x18d)](_0x115171),'mutations':[_0x5f567d]};}['_transformUndoRedoStack'](_0x25382f){const _0x1dc912=_0x4c8ad2,{unitID:_0x1a93bf}=_0x25382f,_0x1ac6e4=this['_renderManagerService']['getRenderById'](_0x1a93bf)[_0x1dc912(0x2b0)](_0x41bf8a),{undoCache:_0x2e55c2,redoCache:_0x55ab51}=_0x1ac6e4['getUndoRedoMutationParamsCache']();if(_0x2e55c2[_0x1dc912(0x203)]===0x0||_0x55ab51[_0x1dc912(0x203)]===0x0)return;const _0x10f189=[],_0x418507=[];let _0x4ef428=_0x5351cf[_0x1dc912(0x18d)](_0x25382f[_0x1dc912(0x2cf)][0x0]),_0x4c3ae6=_0x5351cf[_0x1dc912(0x18d)](_0x25382f[_0x1dc912(0x2cf)][0x0]);for(let _0x208671=_0x2e55c2[_0x1dc912(0x203)]-0x1;_0x208671>=0x0;_0x208671--){const _0x186f38={'id':'doc.mutation.rich-text-editing','params':{..._0x2e55c2[_0x208671]}},_0x205832={'id':_0x1dc912(0x1f6),'params':{..._0x55ab51[_0x208671]}},_0x337a86=this['_transformService'][_0x1dc912(0x163)](_0x4ef428,_0x186f38,!0x1),_0x13f941=this['_transformService'][_0x1dc912(0x163)](_0x4c3ae6,_0x205832,!0x1);if(_0x5cbe5a(_0x337a86))throw _0x337a86[_0x1dc912(0x1ff)];if(_0x5cbe5a(_0x13f941))throw _0x13f941[_0x1dc912(0x1ff)];_0x10f189[_0x1dc912(0x2c3)](_0x337a86[_0x1dc912(0x17a)][_0x1dc912(0x11b)]),_0x418507[_0x1dc912(0x2c3)](_0x13f941[_0x1dc912(0x17a)][_0x1dc912(0x11b)]),_0x4ef428=_0x337a86[_0x1dc912(0x1dd)],_0x4c3ae6=_0x13f941[_0x1dc912(0x1dd)];}_0x1ac6e4[_0x1dc912(0x1a6)]({'undoCache':_0x10f189,'redoCache':_0x418507});}[_0x4c8ad2(0x249)](_0x86fe38){const _0x5dbb18=_0x4c8ad2,{unitID:_0x5a45a7}=_0x86fe38,_0x971750=this['_renderManagerService'][_0x5dbb18(0x1e5)](_0x5a45a7)[_0x5dbb18(0x2b0)](_0x41bf8a),_0x5bb673=_0x971750[_0x5dbb18(0x21f)]();if(_0x5bb673==null)return;const _0x17f19f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x86fe38[_0x5dbb18(0x179)],'actions':null,'textRanges':[_0x5bb673]}}],_0x5a2728=this['_transformService']['transformMutationsWithChangeset'](_0x86fe38,_0x17f19f);if(!_0x41c887(_0x5a2728))throw _0x5a2728[_0x5dbb18(0x1ff)];const _0x1e142d=_0x5a2728[_0x5dbb18(0x17a)][0x0][_0x5dbb18(0x11b)][_0x5dbb18(0x2d2)];Array['isArray'](_0x1e142d)&&_0x1e142d[_0x5dbb18(0x203)]&&_0x971750[_0x5dbb18(0x2ba)](_0x1e142d[0x0]);}};re=tn([tt(0x0,_0x461df4),tt(0x1,_0x3e0ac0)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x1c43b8,_0x5dac38,_0x3137ea,_0x2cd5a8)=>{const _0x2e03e9=_0x4c8ad2;for(var _0x3fbf7f=_0x2cd5a8>0x1?void 0x0:_0x2cd5a8?sn(_0x5dac38,_0x3137ea):_0x5dac38,_0x2daebc=_0x1c43b8[_0x2e03e9(0x203)]-0x1,_0x415f8d;_0x2daebc>=0x0;_0x2daebc--)(_0x415f8d=_0x1c43b8[_0x2daebc])&&(_0x3fbf7f=_0x415f8d(_0x3fbf7f)||_0x3fbf7f);return _0x3fbf7f;},Ce=(_0x30919e,_0x12682c)=>(_0x552506,_0x5b76e6)=>_0x12682c(_0x552506,_0x5b76e6,_0x30919e);let oe=class{constructor(_0x5734c1,_0x1d8a6d,_0x3cf3c3){const _0x44e0fb=_0x4c8ad2;this[_0x44e0fb(0x2f1)]=_0x5734c1,this[_0x44e0fb(0x288)]=_0x1d8a6d,this[_0x44e0fb(0x262)]=_0x3cf3c3;}[_0x4c8ad2(0x152)](_0xa8adbb){const _0x31f21e=_0x4c8ad2;this[_0x31f21e(0x27d)](_0xa8adbb);}[_0x4c8ad2(0x307)](_0x42b214){const _0x49359e=_0x4c8ad2,{unitID:_0x24739a}=_0x42b214,{collaboration:_0x207faa}=this[_0x49359e(0x262)][_0x49359e(0x2fc)](_0x24739a);if(_0x207faa[_0x49359e(0x203)]===0x0)return _0x42b214;let _0x3f2e28=_0x5351cf[_0x49359e(0x18d)](_0x42b214['mutations'][0x0]);for(let _0x17de84=0x0;_0x17de84<_0x207faa[_0x49359e(0x203)];_0x17de84++){const _0x5f05c8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x207faa[_0x17de84][_0x49359e(0x259)],..._0x207faa[_0x17de84][_0x49359e(0x300)]}},_0x4d2653=this['_transformService'][_0x49359e(0x163)](_0x3f2e28,_0x5f05c8,!0x1);if(_0x5cbe5a(_0x4d2653))throw _0x4d2653[_0x49359e(0x1ff)];_0x3f2e28=_0x4d2653[_0x49359e(0x1dd)];}return{..._0x5351cf[_0x49359e(0x18d)](_0x42b214),'mutations':[_0x3f2e28]};}[_0x4c8ad2(0x27d)](_0x3f547c){const _0xde4ac5=_0x4c8ad2,{unitID:_0x2320fd}=_0x3f547c,{history:_0x34a774,collaboration:_0x119f7c}=this[_0xde4ac5(0x262)]['getStateCache'](_0x2320fd);if(_0x34a774['length']===0x0&&_0x119f7c[_0xde4ac5(0x203)]===0x0)return;const _0x27a35e=[],_0x3bf485=[];let _0x11ea90=_0x5351cf[_0xde4ac5(0x18d)](_0x3f547c[_0xde4ac5(0x2cf)][0x0]),_0x5bdbc5=_0x5351cf['deepClone'](_0x3f547c[_0xde4ac5(0x2cf)][0x0]);for(let _0x3549f6=_0x34a774[_0xde4ac5(0x203)]-0x1;_0x3549f6>=0x0;_0x3549f6--){const _0xff65fd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34a774[_0x3549f6][_0xde4ac5(0x259)],..._0x34a774[_0x3549f6][_0xde4ac5(0x143)]}},_0x1349bb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34a774[_0x3549f6][_0xde4ac5(0x259)],..._0x34a774[_0x3549f6][_0xde4ac5(0x300)]}},_0x2ee294=this[_0xde4ac5(0x288)][_0xde4ac5(0x163)](_0x11ea90,_0xff65fd,!0x1),_0x4715a2=this[_0xde4ac5(0x288)][_0xde4ac5(0x163)](_0x5bdbc5,_0x1349bb,!0x1);if(_0x5cbe5a(_0x2ee294))throw _0x2ee294[_0xde4ac5(0x1ff)];if(_0x5cbe5a(_0x4715a2))throw _0x4715a2[_0xde4ac5(0x1ff)];_0x27a35e[_0xde4ac5(0x2c3)]({..._0x34a774[_0x3549f6],'undoState':_0x2ee294[_0xde4ac5(0x17a)][_0xde4ac5(0x11b)],'redoState':_0x4715a2[_0xde4ac5(0x17a)]['params']}),_0x11ea90=_0x2ee294['m1Prime'],_0x5bdbc5=_0x4715a2[_0xde4ac5(0x1dd)];}_0x11ea90=_0x5351cf[_0xde4ac5(0x18d)](_0x3f547c[_0xde4ac5(0x2cf)][0x0]),_0x5bdbc5=_0x5351cf[_0xde4ac5(0x18d)](_0x3f547c[_0xde4ac5(0x2cf)][0x0]);for(let _0x5dc2a8=_0x119f7c[_0xde4ac5(0x203)]-0x1;_0x5dc2a8>=0x0;_0x5dc2a8--){const _0x362614={'id':_0xde4ac5(0x1f6),'params':{'unitId':_0x119f7c[_0x5dc2a8][_0xde4ac5(0x259)],..._0x119f7c[_0x5dc2a8][_0xde4ac5(0x143)]}},_0x3a837f={'id':_0xde4ac5(0x1f6),'params':{'unitId':_0x119f7c[_0x5dc2a8][_0xde4ac5(0x259)],..._0x119f7c[_0x5dc2a8][_0xde4ac5(0x300)]}},_0x42dccc=this['_transformService'][_0xde4ac5(0x163)](_0x11ea90,_0x362614,!0x1),_0x2f2851=this[_0xde4ac5(0x288)][_0xde4ac5(0x163)](_0x5bdbc5,_0x3a837f,!0x1);if(_0x5cbe5a(_0x42dccc))throw _0x42dccc[_0xde4ac5(0x1ff)];if(_0x5cbe5a(_0x2f2851))throw _0x2f2851['error'];_0x3bf485[_0xde4ac5(0x2c3)]({..._0x119f7c[_0x5dc2a8],'undoState':_0x42dccc[_0xde4ac5(0x17a)]['params'],'redoState':_0x2f2851[_0xde4ac5(0x17a)][_0xde4ac5(0x11b)]}),_0x11ea90=_0x42dccc[_0xde4ac5(0x1dd)],_0x5bdbc5=_0x2f2851[_0xde4ac5(0x1dd)];}this[_0xde4ac5(0x262)][_0xde4ac5(0x27e)](_0x2320fd,{'history':_0x27a35e,'collaboration':_0x3bf485});}};oe=nn([Ce(0x0,_0xf17c52(_0x14a08a)),Ce(0x1,_0x461df4),Ce(0x2,_0xf17c52(_0x428b14))],oe);var rn=Object[_0x4c8ad2(0x122)],on=(_0xfc3393,_0x376afa,_0x3d08fe,_0x399364)=>{for(var _0x3cf811=_0x399364>0x1?void 0x0:_0x399364?rn(_0x376afa,_0x3d08fe):_0x376afa,_0x3b05d4=_0xfc3393['length']-0x1,_0x4ec420;_0x3b05d4>=0x0;_0x3b05d4--)(_0x4ec420=_0xfc3393[_0x3b05d4])&&(_0x3cf811=_0x4ec420(_0x3cf811)||_0x3cf811);return _0x3cf811;},st=(_0x542bdf,_0x10438b)=>(_0x59da91,_0x43e91f)=>_0x10438b(_0x59da91,_0x43e91f,_0x542bdf);let ae=class{constructor(_0x157cab,_0x387fb4){const _0x3f6415=_0x4c8ad2;this['_injector']=_0x157cab,this[_0x3f6415(0x288)]=_0x387fb4;}[_0x4c8ad2(0x1f8)](_0x31ab5e){const _0x2e4fd3=_0x4c8ad2;var _0x4ddd7c;const _0x48ebe6=this[_0x2e4fd3(0x2f1)][_0x2e4fd3(0x254)](_0x412aa6),_0x4030e0=(_0x4ddd7c=_0x48ebe6[_0x2e4fd3(0x160)]())!=null?_0x4ddd7c:[];if(_0x4030e0[_0x2e4fd3(0x203)]===0x0)return;const _0x3eda85=_0x31ab5e['unitID'],_0x4c58a1=[{'id':_0x2e4fd3(0x1f6),'params':{'unitId':_0x3eda85,'actions':null,'textRanges':_0x4030e0}}],_0x32e925=this[_0x2e4fd3(0x288)][_0x2e4fd3(0x268)](_0x31ab5e,_0x4c58a1);if(!_0x41c887(_0x32e925))throw _0x32e925['error'];const _0x5b1d44=_0x32e925[_0x2e4fd3(0x17a)][0x0][_0x2e4fd3(0x11b)][_0x2e4fd3(0x2d2)];Array[_0x2e4fd3(0x2c6)](_0x5b1d44)&&_0x5b1d44['length']&&_0x48ebe6['replaceDocRanges'](_0x5b1d44,{'unitId':_0x3eda85,'subUnitId':_0x3eda85},!0x1);}};ae=on([st(0x0,_0xf17c52(_0x14a08a)),st(0x1,_0x461df4)],ae);function _0x588e(){const _0xe84c5f=['getOwnPropertySymbols','getConfig','_commandService','_createSocketURL','arc','APPLY_NON_SEQUENTIAL_REVISION','backgroundColor','on-line-icon','collabStatus.fetchMiss','_transformHistoryAndStateStack','setStateCache','INVITE_CODE_HAS_BEEN_UES','assignAColorForMemberID','getCurrentRevOfUnit','_status$','_docSkeleton','href','JOIN_ROOM_FAILED','saveOfflineData','map','_transformService','_getScale','_uiPartsService','removeParam','debug','_handleLeaveEvent','collabStatus.offline','sheetID','_cursorInfo$','_saveTaskMap','hasOwnProperty','_scene','size','MOBILE_VERIFY_CODE_MISMATCH','actions','_assignedColors','dispose$','whenReady','_messageService','collabStatus.synced','displayName','clearTimeout','yellow.400','Warning','_toggleOffline','attrs','EMAIL_VERIFY_CODE_MISMATCH','_docSkeletonManagerService','_docTransformIMECacheService','TEXT','add','_scheduleClearOtherTimer','popstate','data','permission.title','INVALID_ARGUMENT','registerRefRange','runOnServer','clipPath','getSheetId','with','pushState','call','onPointerLeave$','selections','defIds','4tlpEbw','YUUMI_CONNECTOR_URL_NOT_FOUND','_textBubble','[CollaborationDataLoaderController]','setActiveRange','_initResize','onMouseMove','roomMembers$','getColorFromTheme','APPLY_DUPLICATED','event$','_onCursorUpdate','OFFLINE','unshift','LICENSE_IMPORT_SIZE_EXCEEDED','addEventListener','isArray','getUnitId','M0\x200H16V16H0z','...','engine','white','height','_docClipboardService','559964UviYNR','mutations','_initCommandExecutedListener','defineProperty','textRanges','toString','_toggleOnline','addObject','setItem','LICENSE_EXPORT_SIZE_EXCEEDED','setShapeProps','_entities','getCollabCursors$','_initStatusComponent','CLOSE_ROOM','YUUMI_RATE_OVER_LIMIT','registerRenderModule','collaboration.single-unit.warning','ONLINE','text','INVITE_CODE_ALREADY_BOUND','transform','key','from','ranges','propertyIsEnumerable','onTransformChange$','endColumn','_config','url(#$1','univer-mr-2\x20univer-flex\x20univer-text-xl','PERMISSION_DENIED','DeleteRangeMoveLeftCommandId','trim','_collabCursorController','_injector','INTERNAL_ERROR','_range','round','LOGIN_FAILED','_saveCache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','15774930FFescK','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getViewport','off-line-icon','getStateCache','post','restore','UNAUTHENTICATED','redoState','session.connection-failed','getValue','measureText','_handleEvent','getFocusedUnit','split','transformRemoteChangeset','getCollabEntity$','newValue','_revisionService','_localCacheService','_initEvent','PENDING','storage','collab-text-range-','_localStorageService','_name','2026110hiecuc','currentSkeleton$','NO_OTHER_CLIENTS_EDITING','location','4292820LRwtQA','OnLineIcon','origin','AWAITING_WITH_PENDING','YUUMI_NO_CUBOID_FOR_QUESTION','INVALID_INVITE_CODE','_getMergeRange','params','InsertRangeMoveDownCommandId','subscribe','closePath','APPLY_PERMISSION_DENIED','_lastPointer','_cursorShapes','getOwnPropertyDescriptor','OTHER_CLIENTS_EDITING','_startDocCollabCursor','source','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clearInterval','complete','_getAnchorBounding','set','_getSheetObject','className','idSuffix','getVpScrollXYInfoByPosToVp','disposeUnit','_backgroundColor','jiqing.500','name','getTypeOfUnitAdded$','getOffsetConfig','_session','_removeClearOtherTimer','unsubscribe','YUUMI_ASYNCIO_CANCELLED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initDependencies','hovered','row','green.600','fill','getUnitStatus$','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','_onCursorDelete','range','undoState','1em','saveImage','_eventUnsubscribe','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_onRefRangeChange','pluginName','delete','LICENSE_DISTRO_REJECTED','collaboration.closeRoom','_collaborationController','_collabSessionService','transformIMECache','INVITE_CODE_REQUIRED','_removeCollabCursors','transformStateCache','blue.400','_updateLocalCursor','collabStatus.syncing','_shapes','setInterval','_unitOnClients','UNIVER_DOC','_initStatusListener','unload','init','MUTATION','none','send','getDocRanges','_updateCollabCursors','_context','transformMutation','svg','editingUnit','collabStatus.notCollab','NOT_FOUND','onPointerMove$','SNAPSHOT_HAS_BEEN_REMOVED','values','LICENSE_MAX_UNITS_EXCEEDED','string','mask','_collaborationUIEventService','addClipboardHook','translate(.97)','push','_refreshCollabCursors','activeSheet$','_colorAssignService','runId','_urlService','setParam','_online','unitID','m2Prime','_registerRenderDependencies','next','Failed','min','getSheetBySheetId','on-line-icon_clip0_910_349','getUnhiddenWorksheets','createInstance','prototype','_unitStatus','concat','evenodd','_refRangeService','getActiveSheet','pipe','setAlpha','collab-client.tooltip.reconnect','replaceState','deepClone','_notificationService','_id','isEditing','getParam','DeleteRangeMoveUpCommandId','http://www.w3.org/2000/svg','searchParams','ALREADY_EXISTS','_startSheetCollabCursor','getCurrentSelections','0\x200\x2016\x2016','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_themeService','defs','_scheduleHeartbeat','replace','onStarting','_clearOtherTimers','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','currentTheme$','_getSessionTicket','findNodePositionByCharIndex','getUniverSheetInstance','focused$','setUndoRedoMutationParamsCache','COMPLETION_FINISHED','rgba(255,\x20255,\x20255,\x200.01)','collaboration-client-ui.config','_renderManagerService','_cursors','_anchor','_handleHover','_memberService','black','getMemberID','substring','top','override','YUUMI_TABLE_NOT_FOUND_IN_UNIT','symbol','getTypeOfUnitDisposed$','eventID','disposeWithMe','color','_doCreateSocket','getSkeleton','addHandlerCallback','then','_roomMembers$','xlink:href','collab-rect-range-','_docTransformSelectionsService','drawWith','SOCKET_FAILED','getCurrent','RemoveRowCommandId','assign','addObjects','_univerInstanceService','_updateURLWithCurrentState','executionId','_disabled','cursorInfo$','_httpService','_drawRectRange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','application/json','column','onRendered','contains','registerBeforeClose','YUUMI_UNABLE_LOAD_URL','_anchorDot','onPointerEnter$','toRgbString','_colorIndex','#FFF','forEach','path','m1Prime','_beforeCloseService','collabCursorState$','USER_NOT_INVITED_CODE','type','cursorInfo','font','div','getRenderById','entries','_hovered','flatMap','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getMember','_hideTimer','_selfUnitIDs','8MEmEYN','red.300','UPDATE_CURSOR','collabStatus.conflict','dispose','_syncEditingCollabCursorService','getCurrentUnitForType','urlChange$','SNAPSHOT_INVALID_SNAPSHOT','doc.mutation.rich-text-editing','_init','transformSelections','syncEditingCollabCursor','FETCH_MISS','result','status$','memberID','_localeService','error','_draw','lineTo','_cachedData','length','getRangePointData','asObservable','random','has','1929546wBvCEr','univer-flex\x20univer-items-center','Unknown\x20user','RECT','saveTaskMap','makeDirty','USERS_LEAVE','_heartbeatTimer','_render','stringify','YUUMI_URL_COL_OUT_OF_RANGE','moveTo','CHANGESET_REVISION_CONFILICT','sessionStatus$','YUUMI_SUBSCRIPTION_NOT_FOUND','UNDEFINED','RemoveColCommandId','unit','WECHAT_HAS_BEEN_BOUND','CONNECTOR_DATA_TOO_LARGE','extend','children','_labelPosition','getActiveRange','apply','indexOf','subscribeEvent','sheetId','_setupSubUnitSync','UNIVER_SHEET','_document','_docTransformStateCacheService','history','MOBILE_HAS_BEEN_BOUND','_ensureSubject','ticket','selection','_logService','ENSURE_SNAPSHOT_EXECUTION','_registerDependencies','current','_instanceService','_send','HEADER_MENU','266284OVulyx','tag','_color','subunit','2997421yQKGJO','PY_RUNTIME_SCRIPT_ERROR','startsWith','20MMvhFS','_imageIoService','FromArray','YUUMI_ALL_TABLES_IS_INVALID','_setupBeforeClosingHandler','save','onCommandExecuted','APPLY_REJECT','roomMembers','bottom','_configService','registerComponent','InsertRangeMoveRightCommandId','transformByState','_transformPreviousActiveRange','OffLineIcon','_sheetSkeletonManagerService','MoveRangeCommandId','SOCKET_FAILED_RETRY','off-line-icon_clip0_910_343','setTimeout','APPLY_REVISION_CONFILICT','session.collaboration-timeout','Error','YUUMI_AI_RUN_FAILED','get','_docSyncEditingCollabCursorService','subUnitId','fillText','hide','unitId','_initEntityListener','colorChannel1','sessionTicket','_drawTextRange','NOT_COLLAB','_updateSubUnitFromURLParams','function','_scheduleSaving','_docStateChangeManagerService','session.will-retry','invokeId','_hover','currentColor','_entityInit$','transformMutationsWithChangeset','body','fillStyle','show','resize','InsertColCommandId','_drawAnchor','executeCommand','entityInit$','_handleJoinEvent','requireSession','width'];_0x588e=function(){return _0xe84c5f;};return _0x588e();}var an=Object['getOwnPropertyDescriptor'],cn=(_0x3235aa,_0x524692,_0x51fd31,_0x519f39)=>{const _0x291fd6=_0x4c8ad2;for(var _0x783f3=_0x519f39>0x1?void 0x0:_0x519f39?an(_0x524692,_0x51fd31):_0x524692,_0x2b6484=_0x3235aa[_0x291fd6(0x203)]-0x1,_0x2804ab;_0x2b6484>=0x0;_0x2b6484--)(_0x2804ab=_0x3235aa[_0x2b6484])&&(_0x783f3=_0x2804ab(_0x783f3)||_0x783f3);return _0x783f3;},N=(_0x39cea6,_0x5532bf)=>(_0x2354ce,_0x306855)=>_0x5532bf(_0x2354ce,_0x306855,_0x39cea6);let ce=class extends _0x388847{constructor(_0x322aa4,_0x251657,_0x266b26,_0x4c803a,_0x56bff4,_0x497465,_0x1732d7,_0x443322){const _0xc87e08=_0x4c8ad2;super(),_(this,_0xc87e08(0x282),new _0x2c7c6b(_0x24ef01[_0xc87e08(0x25e)])),(this[_0xc87e08(0x262)]=_0x322aa4,this[_0xc87e08(0x14d)]=_0x251657,this[_0xc87e08(0x2a4)]=_0x266b26,this['_docTransformStateCacheService']=_0x4c803a,this[_0xc87e08(0x1c1)]=_0x56bff4,this['_docSyncEditingCollabCursorService']=_0x497465,this['_messageService']=_0x1732d7,this[_0xc87e08(0x1fe)]=_0x443322,this[_0xc87e08(0x25a)]());}['_initEntityListener'](){const _0x222fa1=_0x4c8ad2;this['disposeWithMe'](this[_0x222fa1(0x14d)][_0x222fa1(0x270)][_0x222fa1(0x11d)](_0x1d3d8e=>{const _0x242b18=_0x222fa1,_0x226034=this['_docStateChangeManagerService']['docStateChange$'][_0x242b18(0x11d)](_0x4ca936=>{const _0x487276=_0x242b18;if(_0x4ca936==null)return;const {unitId:_0x45d277,redoState:_0xda7cff,commandId:_0x884786}=_0x4ca936;if(_0x45d277!==_0x1d3d8e[_0x487276(0x179)])return;const _0x184c47={'id':_0x884786,'type':_0x10f85b[_0x487276(0x15d)],'params':{'unitId':_0x45d277,'actions':_0xda7cff[_0x487276(0x296)],'textRanges':null}};_0x1d3d8e['onLocalMutation'](_0x184c47);});if(_0x1d3d8e[_0x242b18(0x1b8)](_0x226034),_0x1d3d8e instanceof _0x317c6a){const _0x31b2fe={'onTransformIME':_0x4ce2d2=>this[_0x242b18(0x2a4)][_0x242b18(0x14f)](_0x4ce2d2),'onTransformState':_0x50b1dd=>this[_0x242b18(0x227)][_0x242b18(0x152)](_0x50b1dd),'onTransformSelections':_0x1dd8f7=>this['_docTransformSelectionsService']['transformSelections'](_0x1dd8f7),'onSyncEditingCollabCursor':_0x503c08=>this[_0x242b18(0x255)][_0x242b18(0x1f9)](_0x503c08),'onTransformRemoteChangesetByIMECache':_0x4e6c6d=>this[_0x242b18(0x2a4)]['transformRemoteChangeset'](_0x4e6c6d),'onTransformRemoteChangesetByStateCache':_0x590c4c=>this[_0x242b18(0x227)]['transformRemoteChangeset'](_0x590c4c)};_0x1d3d8e[_0x242b18(0x1bc)](_0x31b2fe);}}));}};ce=cn([N(0x0,_0xf17c52(_0x428b14)),N(0x1,_0xf17c52(_0x550088)),N(0x2,_0xf17c52(re)),N(0x3,_0xf17c52(oe)),N(0x4,_0xf17c52(ae)),N(0x5,_0xf17c52(Fe)),N(0x6,_0x46909f),N(0x7,_0xf17c52(_0x4a58fb))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x2c29be,_0x26d4d8,_0x5bea5e,_0x315404)=>{const _0x157f6c=_0x4c8ad2;for(var _0x22ae0e=_0x315404>0x1?void 0x0:_0x315404?ln(_0x26d4d8,_0x5bea5e):_0x26d4d8,_0x43565c=_0x2c29be[_0x157f6c(0x203)]-0x1,_0x31924a;_0x43565c>=0x0;_0x43565c--)(_0x31924a=_0x2c29be[_0x43565c])&&(_0x22ae0e=_0x31924a(_0x22ae0e)||_0x22ae0e);return _0x22ae0e;},Ee=(_0x1c4d1e,_0x509846)=>(_0x1bca51,_0x47553b)=>_0x509846(_0x1bca51,_0x47553b,_0x1c4d1e);let we=class extends _0x388847{constructor(_0x1745a3,_0x15869c,_0xa403d4){const _0x13c848=_0x4c8ad2;super(),_(this,_0x13c848(0x202),new Map()),_(this,_0x13c848(0x291),new Map()),_(this,_0x13c848(0x1cb),!0x1),(this['_configService']=_0x1745a3,this[_0x13c848(0x10e)]=_0x15869c,this[_0x13c848(0x30a)]=_0xa403d4);}['disableLocalCache'](){const _0x464cd0=_0x4c8ad2;this[_0x464cd0(0x1cb)]=!0x0;}['enableLocalCache'](){const _0x36ef48=_0x4c8ad2;this[_0x36ef48(0x1cb)]=!0x1;}get[_0x4c8ad2(0x20c)](){const _0x103683=_0x4c8ad2;return this[_0x103683(0x291)];}[_0x4c8ad2(0x1f1)](){const _0x3a8203=_0x4c8ad2;this['exhaustSavingTask']()[_0x3a8203(0x1bd)](()=>super[_0x3a8203(0x1f1)]());}async['loadOfflineData'](_0x3cc6d0){const _0x25637b=_0x4c8ad2;return this[_0x25637b(0x1cb)]?null:this[_0x25637b(0x10e)]['getItem'](_0x1eef40(_0x3cc6d0));}async[_0x4c8ad2(0x286)](_0x4fc653,_0x1e32fd){const _0x451ca0=_0x4c8ad2;return!!this[_0x451ca0(0x10e)]['setItem'](_0x4fc653,_0x1e32fd);}['updateOfflineData'](_0x5e22e2,_0x18dcf1,_0x326202,_0x5b99c5){const _0x504a81=_0x4c8ad2,_0x4e868e=this[_0x504a81(0x30a)][_0x504a81(0x281)](_0x5e22e2);this['_cachedData'][_0x504a81(0x12a)](_0x5e22e2,{'unitID':_0x5e22e2,'type':_0x18dcf1,'awaitingChangeset':_0x326202,'mutations':_0x5b99c5,'rev':_0x4e868e}),this[_0x504a81(0x291)]['has'](_0x5e22e2)||this[_0x504a81(0x261)](_0x5e22e2);}[_0x4c8ad2(0x261)](_0x19946a){const _0x3d2e13=_0x4c8ad2,_0x5cd976=this['_getSaveTimeout']();_0x5cd976===0x0?this[_0x3d2e13(0x2f6)](_0x19946a):this['_saveTaskMap']['set'](_0x19946a,setTimeout(()=>this[_0x3d2e13(0x2f6)](_0x19946a),_0x5cd976));}['_getSaveTimeout'](){const _0x2c575b=_0x4c8ad2;var _0x81d827;return(_0x81d827=this[_0x2c575b(0x245)][_0x2c575b(0x275)](_0x407ca9))!=null?_0x81d827:_0x2b0095;}[_0x4c8ad2(0x2f6)](_0x4579c9){const _0x4b51c2=_0x4c8ad2,_0x4e947d=this[_0x4b51c2(0x291)]['get'](_0x4579c9);return _0x4e947d!==void 0x0&&window[_0x4b51c2(0x29d)](_0x4e947d),this[_0x4b51c2(0x10e)]['setItem'](_0x1eef40(_0x4579c9),this[_0x4b51c2(0x202)][_0x4b51c2(0x254)](_0x4579c9))[_0x4b51c2(0x1bd)](()=>this['_saveTaskMap'][_0x4b51c2(0x14a)](_0x4579c9));}async['exhaustSavingTask'](){const _0x511c16=_0x4c8ad2,_0x2c30a6=[];this['_saveTaskMap'][_0x511c16(0x1db)]((_0x19d2a5,_0x27a94d)=>{const _0x265c92=_0x511c16;window[_0x265c92(0x29d)](_0x19d2a5),_0x2c30a6[_0x265c92(0x171)](this[_0x265c92(0x2f6)](_0x27a94d)[_0x265c92(0x1bd)](()=>{this['_saveTaskMap']['delete'](_0x27a94d);}));}),await Promise['all'](_0x2c30a6);}};we=_n([Ee(0x0,_0x59143e),Ee(0x1,_0x46d3a7),Ee(0x2,_0xf17c52(_0x3cec18))],we);class hn extends _0x5da5d3{constructor(){const _0x8d5ca2=_0x4c8ad2;super(),_(this,_0x8d5ca2(0x1f4)),this[_0x8d5ca2(0x1f4)]=_0x544f13(window,_0x8d5ca2(0x2a8))['pipe'](_0x1b892a(this['dispose$']),_0x53d780(0x1),_0x70830c(void 0x0));}[_0x4c8ad2(0x177)](_0x48d5f6,_0x498fdb,_0xc852c8=!0x1){const _0x37209a=_0x4c8ad2,_0xb2663c=new URL(window[_0x37209a(0x113)][_0x37209a(0x284)]);_0xb2663c['searchParams'][_0x37209a(0x12a)](_0x48d5f6,_0x498fdb),_0xc852c8?window[_0x37209a(0x228)][_0x37209a(0x18c)]('','',_0xb2663c[_0x37209a(0x2d3)]()):window[_0x37209a(0x228)][_0x37209a(0x2b1)]('','',_0xb2663c[_0x37209a(0x2d3)]());}[_0x4c8ad2(0x28b)](_0x4fa059,_0x52c1dd=!0x1){const _0x505a93=_0x4c8ad2,_0x1664c9=new URL(window['location']['href']);_0x1664c9[_0x505a93(0x194)][_0x505a93(0x14a)](_0x4fa059),_0x52c1dd?window[_0x505a93(0x228)][_0x505a93(0x18c)]('','',_0x1664c9[_0x505a93(0x2d3)]()):window[_0x505a93(0x228)][_0x505a93(0x2b1)]('','',_0x1664c9['toString']());}[_0x4c8ad2(0x191)](_0x9c58d3){const _0x392510=_0x4c8ad2;var _0x2af345;return(_0x2af345=new URL(window[_0x392510(0x113)][_0x392510(0x284)])[_0x392510(0x194)][_0x392510(0x254)](_0x9c58d3))!=null?_0x2af345:void 0x0;}}var un=Object[_0x4c8ad2(0x2d1)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x51ae90,_0x13402e,_0x15147d)=>_0x13402e in _0x51ae90?un(_0x51ae90,_0x13402e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15147d}):_0x51ae90[_0x13402e]=_0x15147d,Sn=(_0x4bf657,_0x7a921c,_0x4f1f2c,_0x4ba3ed)=>{for(var _0x393799=_0x4ba3ed>0x1?void 0x0:_0x4ba3ed?dn(_0x7a921c,_0x4f1f2c):_0x7a921c,_0x3b7713=_0x4bf657['length']-0x1,_0x1c434b;_0x3b7713>=0x0;_0x3b7713--)(_0x1c434b=_0x4bf657[_0x3b7713])&&(_0x393799=_0x1c434b(_0x393799)||_0x393799);return _0x393799;},Oe=(_0x75a49a,_0x237950)=>(_0x1b7ab4,_0x2ecac9)=>_0x237950(_0x1b7ab4,_0x2ecac9,_0x75a49a),mn=(_0x4a06d4,_0x5e7915,_0x10625a)=>fn(_0x4a06d4,_0x5e7915+'',_0x10625a);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x45b852{constructor(_0x8e67e5=et,_0x3be52f,_0x3ed019,_0x42803c){const _0x39483e=_0x4c8ad2;super(),this[_0x39483e(0x2ea)]=_0x8e67e5,this[_0x39483e(0x1aa)]=_0x3be52f,this[_0x39483e(0x2f1)]=_0x3ed019,this['_configService']=_0x42803c;const {..._0x2c105b}=_0x4493c5({},et,this['_config']);this[_0x39483e(0x245)]['setConfig'](qi,_0x2c105b);}[_0x4c8ad2(0x19e)](){const _0x389573=_0x4c8ad2;this[_0x389573(0x22f)](),this[_0x389573(0x13a)]();}[_0x4c8ad2(0x1d2)](){const _0x35840c=_0x4c8ad2;this[_0x35840c(0x17b)]();}[_0x4c8ad2(0x22f)](){const _0x2cc9e0=_0x4c8ad2;var _0x3f38b1;const _0x57c7f6=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x516080,{'useClass':_0x49dfa8}],[_0x4fb00a,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x57cd9c(this[_0x2cc9e0(0x2f1)],_0x2df628(_0x57c7f6,(_0x3f38b1=this[_0x2cc9e0(0x2ea)])==null?void 0x0:_0x3f38b1[_0x2cc9e0(0x1b3)]));}[_0x4c8ad2(0x17b)](){const _0x4771e0=_0x4c8ad2;this['disposeWithMe'](this['_renderManagerService'][_0x4771e0(0x2de)](_0x20dac5[_0x4771e0(0x159)],[Le])),this[_0x4771e0(0x1b8)](this['_renderManagerService'][_0x4771e0(0x2de)](_0x20dac5[_0x4771e0(0x225)],[Pe]));}[_0x4c8ad2(0x13a)](){const _0x5d51ec=_0x4c8ad2;_0x281670(this[_0x5d51ec(0x2f1)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x4c8ad2(0x149),In),Ae=Sn([_0x741372(_0x3c5b90),Oe(0x1,_0x3e0ac0),Oe(0x2,_0xf17c52(_0x14a08a)),Oe(0x3,_0x59143e)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x5df5ec,_0x5934ca,_0x2a5639,_0x12bd40)=>{const _0x1eba24=_0x4c8ad2;for(var _0x575cb0=_0x12bd40>0x1?void 0x0:_0x12bd40?vn(_0x5934ca,_0x2a5639):_0x5934ca,_0x254ea0=_0x5df5ec[_0x1eba24(0x203)]-0x1,_0x5a537f;_0x254ea0>=0x0;_0x254ea0--)(_0x5a537f=_0x5df5ec[_0x254ea0])&&(_0x575cb0=_0x5a537f(_0x575cb0)||_0x575cb0);return _0x575cb0;},z=(_0x2120fc,_0x58170e)=>(_0x2d0226,_0x165191)=>_0x58170e(_0x2d0226,_0x165191,_0x2120fc);let it=class extends _0x3fa182{constructor(_0x3592ee,_0x51ac72,_0xbf1c86,_0x3918b3,_0xf4a0db){super(_0x3592ee,_0x51ac72,_0xbf1c86,_0x3918b3,_0xf4a0db);}async['createSocket'](_0x573aa8){const _0x5ec39b=_0x4c8ad2,_0x351430=await this[_0x5ec39b(0x1a2)](),_0x44212a=this[_0x5ec39b(0x277)](_0x573aa8,_0x351430);return this[_0x5ec39b(0x1ba)](_0x44212a);}[_0x4c8ad2(0x277)](_0x498867,_0x4a0c28){const _0x4d8710=_0x4c8ad2,_0xafbe7b=typeof window>'u'?new URL(_0x498867):new URL(_0x498867,window[_0x4d8710(0x113)][_0x4d8710(0x116)]);_0xafbe7b[_0x4d8710(0x194)][_0x4d8710(0x12a)](_0x4d8710(0x25c),_0x4a0c28);const _0x1f0c61=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d8710(0x113)]['search']);return _0x1f0c61[_0x4d8710(0x254)]('runId')&&_0xafbe7b[_0x4d8710(0x194)][_0x4d8710(0x12a)](_0x4d8710(0x175),_0x1f0c61[_0x4d8710(0x254)](_0x4d8710(0x175))),_0xafbe7b[_0x4d8710(0x2d3)]();}async[_0x4c8ad2(0x1a2)](){const _0x1d2d84=_0x4c8ad2;var _0x42d362,_0x322ae3,_0x4a86dd;const _0x98d34b=this[_0x1d2d84(0x245)]['getConfig'](_0x308563),_0x1e51b1=(_0x42d362=_0x98d34b==null?void 0x0:_0x98d34b['wsSessionTicketUrl'])!=null?_0x42d362:_0x35ef93;return(_0x4a86dd=(_0x322ae3=(await this['_httpService'][_0x1d2d84(0x254)](_0x1e51b1,{'headers':{'Content-Type':_0x1d2d84(0x1d0)}}))['body'])==null?void 0x0:_0x322ae3[_0x1d2d84(0x22b)])!=null?_0x4a86dd:'';}};it=gn([z(0x0,_0xf17c52(_0x14a08a)),z(0x1,_0xf17c52(_0x1d1e38)),z(0x2,_0x59143e),z(0x3,_0x4b3f07),z(0x4,_0xc396e3)],it);var Lt=(_0x33d7ec=>(_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x217)]=0x0]='UNDEFINED',_0x33d7ec[_0x33d7ec['OK']=0x1]='OK',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2f2)]=0x2]=_0x4c8ad2(0x2f2),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2ed)]=0x3]=_0x4c8ad2(0x2ed),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x167)]=0x4]=_0x4c8ad2(0x167),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2ff)]=0x5]=_0x4c8ad2(0x2ff),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x195)]=0x6]=_0x4c8ad2(0x195),_0x33d7ec[_0x33d7ec['INVALID_ARGUMENT']=0x7]=_0x4c8ad2(0x2ab),_0x33d7ec[_0x33d7ec['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1a7)]=0x9]='COMPLETION_FINISHED',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2f5)]=0xa]=_0x4c8ad2(0x2f5),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x295)]=0xb]=_0x4c8ad2(0x295),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2f9)]=0xc]=_0x4c8ad2(0x2f9),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2a2)]=0xd]=_0x4c8ad2(0x2a2),_0x33d7ec[_0x33d7ec['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4c8ad2(0x199),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x214)]=0x1389]=_0x4c8ad2(0x214),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1f5)]=0x1771]=_0x4c8ad2(0x1f5),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x169)]=0x1772]=_0x4c8ad2(0x169),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x22e)]=0x1773]=_0x4c8ad2(0x22e),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x242)]=0x1b59]='APPLY_REJECT',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x279)]=0x1b5a]=_0x4c8ad2(0x279),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x250)]=0x1b5b]=_0x4c8ad2(0x250),_0x33d7ec[_0x33d7ec['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4c8ad2(0x11f),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2bf)]=0x1b5d]=_0x4c8ad2(0x2bf),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x21b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x16b)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x126)]=0x232a]=_0x4c8ad2(0x126),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2c4)]=0x232b]=_0x4c8ad2(0x2c4),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2d7)]=0x232c]=_0x4c8ad2(0x2d7),_0x33d7ec[_0x33d7ec['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4c8ad2(0x14b),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1d5)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x33d7ec[_0x33d7ec['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4c8ad2(0x212),_0x33d7ec[_0x33d7ec['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4c8ad2(0x2dd),_0x33d7ec[_0x33d7ec['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4c8ad2(0x216),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x118)]=0x271a]=_0x4c8ad2(0x118),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x138)]=0x271b]=_0x4c8ad2(0x138),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1b4)]=0x271c]=_0x4c8ad2(0x1b4),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x23e)]=0x271d]=_0x4c8ad2(0x23e),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1e9)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x253)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2b7)]=0x2720]=_0x4c8ad2(0x2b7),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x239)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x33d7ec[_0x33d7ec['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4c8ad2(0x27f),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x119)]=0x2ee2]=_0x4c8ad2(0x119),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x150)]=0x2ee3]=_0x4c8ad2(0x150),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x1e0)]=0x2ee4]=_0x4c8ad2(0x1e0),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x2e2)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x21a)]=0x32c9]=_0x4c8ad2(0x21a),_0x33d7ec[_0x33d7ec[_0x4c8ad2(0x229)]=0x32ca]=_0x4c8ad2(0x229),_0x33d7ec[_0x33d7ec['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x33d7ec[_0x33d7ec['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x33d7ec))(Lt||{}),pn=Object[_0x4c8ad2(0x122)],Cn=(_0x12b007,_0x9d27d0,_0x5a8d7a,_0x516190)=>{const _0x7f91c2=_0x4c8ad2;for(var _0x45c1b9=_0x516190>0x1?void 0x0:_0x516190?pn(_0x9d27d0,_0x5a8d7a):_0x9d27d0,_0x122cdc=_0x12b007[_0x7f91c2(0x203)]-0x1,_0x41fb9;_0x122cdc>=0x0;_0x122cdc--)(_0x41fb9=_0x12b007[_0x122cdc])&&(_0x45c1b9=_0x41fb9(_0x45c1b9)||_0x45c1b9);return _0x45c1b9;},be=(_0x385005,_0x53356e)=>(_0x45c4d3,_0x33d801)=>_0x53356e(_0x45c4d3,_0x33d801,_0x385005);let nt=class extends _0x388847{constructor(_0x551f65,_0x23c9e9,_0x36616b){const _0x43041c=_0x4c8ad2;super(),this[_0x43041c(0x231)]=_0x551f65,this[_0x43041c(0x1cd)]=_0x23c9e9,this['_configService']=_0x36616b;}async[_0x4c8ad2(0x2ad)](_0x4ef2dc,_0x3516ca,_0x377c7a,..._0x155418){const _0x167e96=_0x4c8ad2;var _0x548668,_0x48d452,_0x34b99a,_0x55741c;const _0x4a2d3f=this[_0x167e96(0x231)][_0x167e96(0x305)]();if(!_0x4a2d3f)throw new Error(_0x167e96(0x147));const _0x8fa8da=((_0x548668=this[_0x167e96(0x245)][_0x167e96(0x275)](_0x4bbfa3))!=null?_0x548668:_0x1ead77)+'/'+_0x4ef2dc+'/run/'+_0x3516ca,_0x4d1ed5=new URL(window[_0x167e96(0x113)][_0x167e96(0x284)]),_0x3bf4ec={'scriptId':_0x4ef2dc,'runId':(_0x48d452=_0x4d1ed5[_0x167e96(0x194)][_0x167e96(0x254)](_0x167e96(0x175)))!=null?_0x48d452:'','function':_0x3516ca,'unitId':_0x4a2d3f[_0x167e96(0x2c7)](),'argsOfFunction':JSON[_0x167e96(0x211)](_0x155418),'invokeId':(_0x34b99a=_0x377c7a[_0x167e96(0x264)])!=null?_0x34b99a:'','executionId':(_0x55741c=_0x377c7a[_0x167e96(0x1ca)])!=null?_0x55741c:''};try{const _0x280049=await this[_0x167e96(0x1cd)][_0x167e96(0x2fd)](_0x8fa8da,{'body':_0x3bf4ec});return _0x280049['body'][_0x167e96(0x1ff)]&&_0x280049[_0x167e96(0x269)]['error']['code']!==Lt['OK']?_0x167e96(0x17d):_0x280049['body'][_0x167e96(0x1fb)];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x267da8),be(0x1,_0xf17c52(_0x1d1e38)),be(0x2,_0x59143e)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x388847{constructor(){const _0x5d97ed=_0x4c8ad2;super(),_(this,_0x5d97ed(0x18f),_0x2ddacf()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5d97ed(0x158),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x5d97ed(0x1f7)]();}['dispose'](){const _0xc1b959=_0x4c8ad2;super[_0xc1b959(0x1f1)](),this[_0xc1b959(0x19f)][_0xc1b959(0x1db)]((_0x3abe9c,_0x3ebec3)=>this[_0xc1b959(0x136)](_0x3ebec3)),this[_0xc1b959(0x20f)]&&window[_0xc1b959(0x127)](this[_0xc1b959(0x20f)]);}[_0x4c8ad2(0x13f)](_0x213b9e){return this['_ensureSubject'](_0x213b9e)['pipe'](_0x3afa5b());}[_0x4c8ad2(0x165)](_0x301e3c){const _0x3e072e=_0x4c8ad2;this['_selfUnitIDs'][_0x3e072e(0x294)]===0x0&&this[_0x3e072e(0x19c)](),this[_0x3e072e(0x1ec)]['add'](_0x301e3c),this[_0x3e072e(0x232)]({'type':0x0,'memberID':this[_0x3e072e(0x18f)],'unitIDs':[_0x301e3c],'isForwarded':!0x1});}[_0x4c8ad2(0x12f)](_0x4f9cc6){const _0x13560f=_0x4c8ad2;this[_0x13560f(0x1ec)][_0x13560f(0x14a)](_0x4f9cc6),this[_0x13560f(0x1ec)][_0x13560f(0x294)]===0x0&&this[_0x13560f(0x20f)]&&window[_0x13560f(0x127)](this['_heartbeatTimer']);}[_0x4c8ad2(0x1f7)](){const _0x4ef3ee=_0x4c8ad2;this[_0x4ef3ee(0x1b8)](_0x5d9642(_0x544f13(window,_0x4ef3ee(0x30e))['subscribe'](_0x1bd438=>{const _0x59e9a3=_0x4ef3ee;if(_0x1bd438[_0x59e9a3(0x2e4)]!==ot||!_0x1bd438['newValue'])return;const _0x985d23=JSON['parse'](_0x1bd438[_0x59e9a3(0x309)]);this[_0x59e9a3(0x304)](_0x985d23);}))),window[_0x4ef3ee(0x2c5)](_0x4ef3ee(0x15b),()=>this[_0x4ef3ee(0x232)]({'type':0x1,'memberID':this[_0x4ef3ee(0x18f)],'unitIDs':Array[_0x4ef3ee(0x2e5)](this[_0x4ef3ee(0x1ec)])}));}[_0x4c8ad2(0x304)](_0x1ac17b){const _0x5ad447=_0x4c8ad2;switch(_0x1ac17b['type']){case 0x0:this[_0x5ad447(0x271)](_0x1ac17b);break;case 0x1:this[_0x5ad447(0x28d)](_0x1ac17b);break;case 0x2:this['_handleHeartbeatEvent'](_0x1ac17b);break;}}['_handleJoinEvent'](_0x5bf25d){const _0x29f73a=_0x4c8ad2,{unitIDs:_0x1780fb,memberID:_0x407cd7,isForwarded:_0x1e8c93}=_0x5bf25d;_0x1780fb['forEach'](_0x88b098=>{const _0x28f705=_0x1a2b;if(!_0x1e8c93&&this[_0x28f705(0x158)][_0x28f705(0x207)](_0x88b098)&&this['_ensureSubject'](_0x88b098)[_0x28f705(0x17c)](_0xfe3c08[_0x28f705(0x123)]),!this['_unitOnClients']['has'](_0x88b098)||!this['_unitOnClients'][_0x28f705(0x254)](_0x88b098)['has'](_0x407cd7)){const _0x3438f5=this[_0x28f705(0x158)][_0x28f705(0x254)](_0x88b098)||new Set();_0x3438f5[_0x28f705(0x2a6)](_0x407cd7),this[_0x28f705(0x158)][_0x28f705(0x12a)](_0x88b098,_0x3438f5),this['_scheduleClearOtherTimer'](_0x407cd7);}}),_0x1e8c93||this[_0x29f73a(0x232)]({'type':0x0,'memberID':this[_0x29f73a(0x18f)],'unitIDs':[...this[_0x29f73a(0x1ec)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4585b5){const _0x4de34d=_0x4c8ad2;this[_0x4de34d(0x136)](_0x4585b5);const _0x5e37dc=window[_0x4de34d(0x24f)](()=>{const _0xc82a65=_0x4de34d;this[_0xc82a65(0x158)][_0xc82a65(0x1db)](_0x117ad2=>{const _0xcf0e3a=_0xc82a65;_0x117ad2[_0xcf0e3a(0x14a)](_0x4585b5);});},rt*0x2);this[_0x4de34d(0x19f)][_0x4de34d(0x12a)](_0x4585b5,_0x5e37dc);}['_removeClearOtherTimer'](_0x3b8168){const _0x388717=_0x4c8ad2;if(this['_clearOtherTimers']['has'](_0x3b8168)){const _0x58e190=this[_0x388717(0x19f)][_0x388717(0x254)](_0x3b8168);_0x58e190&&window[_0x388717(0x29d)](_0x58e190),this[_0x388717(0x19f)][_0x388717(0x12a)](_0x3b8168,null);}}[_0x4c8ad2(0x28d)](_0x17b1e0){const _0x47736c=_0x4c8ad2,{memberID:_0x3aab63,unitIDs:_0x1ba778}=_0x17b1e0;_0x1ba778['forEach'](_0x5d3433=>{const _0x3a761d=_0x1a2b;var _0x14af0e;const _0x44b2a1=this['_unitOnClients'][_0x3a761d(0x254)](_0x5d3433);_0x44b2a1&&(_0x44b2a1[_0x3a761d(0x14a)](_0x3aab63),(_0x14af0e=this[_0x3a761d(0x22a)](_0x5d3433))==null||_0x14af0e['next'](_0x44b2a1['size']===0x0?_0xfe3c08[_0x3a761d(0x112)]:_0xfe3c08['OTHER_CLIENTS_EDITING']));}),this[_0x47736c(0x136)](_0x3aab63);}['_handleHeartbeatEvent'](_0x4fcc05){const _0x2ea74e=_0x4c8ad2;this[_0x2ea74e(0x2a7)](_0x4fcc05[_0x2ea74e(0x1fd)]);}[_0x4c8ad2(0x232)](_0x57c020){const _0x34077f=_0x4c8ad2;localStorage[_0x34077f(0x2d6)](ot,JSON['stringify'](_0x57c020));}['_scheduleHeartbeat'](){const _0x9d0f3e=_0x4c8ad2;this['_heartbeatTimer']=window[_0x9d0f3e(0x157)](()=>{const _0x357e0f=_0x9d0f3e;this[_0x357e0f(0x232)]({'type':0x2,'memberID':this[_0x357e0f(0x18f)]});},rt);}['_ensureSubject'](_0x28fa2e){const _0x30efdb=_0x4c8ad2;return this['_unitStatus'][_0x30efdb(0x207)](_0x28fa2e)||this[_0x30efdb(0x184)][_0x30efdb(0x12a)](_0x28fa2e,new _0x2c7c6b(_0xfe3c08[_0x30efdb(0x112)])),this[_0x30efdb(0x184)][_0x30efdb(0x254)](_0x28fa2e);}}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/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x577a71=_0x161d;function _0x1d51(){const _0x45092c=['Collaboration\x20Conflict','Local\x20file','4531100LDwHBa','5324337jzUjcV','8lCxvSl','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','7vvNmhH','141016YsrCND','27lvuJMm','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','2495500JsWdGX','1URTCfa','2958612mdqFqy','Edit\x20conflicts','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','10336238HJVyGz','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1549224jBAyqf'];_0x1d51=function(){return _0x45092c;};return _0x1d51();}(function(_0x65dabf,_0x13cdbf){const _0x4cbefe=_0x161d,_0x5f8e91=_0x65dabf();while(!![]){try{const _0x3de2e3=-parseInt(_0x4cbefe(0x9c))/0x1*(parseInt(_0x4cbefe(0x8a))/0x2)+-parseInt(_0x4cbefe(0x99))/0x3*(parseInt(_0x4cbefe(0x98))/0x4)+parseInt(_0x4cbefe(0x8d))/0x5+-parseInt(_0x4cbefe(0x9d))/0x6*(parseInt(_0x4cbefe(0x97))/0x7)+parseInt(_0x4cbefe(0x8f))/0x8*(parseInt(_0x4cbefe(0x8e))/0x9)+-parseInt(_0x4cbefe(0x9b))/0xa+parseInt(_0x4cbefe(0xa1))/0xb;if(_0x3de2e3===_0x13cdbf)break;else _0x5f8e91['push'](_0x5f8e91['shift']());}catch(_0x2e3bdc){_0x5f8e91['push'](_0x5f8e91['shift']());}}}(_0x1d51,0x93329));const e={'collab-client':{'tooltip':{'reconnect':_0x577a71(0x92)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x577a71(0x9e),'notCollab':_0x577a71(0x8c),'synced':'Synced','syncing':_0x577a71(0x9f),'offline':_0x577a71(0x88)},'session':{'connection-failed':_0x577a71(0x95),'will-retry':_0x577a71(0x89),'room-full':_0x577a71(0x93),'collaboration-timeout':_0x577a71(0x94)},'conflict':{'title':_0x577a71(0x8b),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x577a71(0x90),'content':_0x577a71(0x91)},'collaboration':{'single-unit':{'warning':_0x577a71(0xa0)},'closeRoom':_0x577a71(0x96)},'auth':{'needGotoLoginAlert':_0x577a71(0x9a)}},o=e;function _0x161d(_0x133338,_0x1017d2){const _0x1d51f9=_0x1d51();return _0x161d=function(_0x161d59,_0x1b0801){_0x161d59=_0x161d59-0x88;let _0x2794a7=_0x1d51f9[_0x161d59];return _0x2794a7;},_0x161d(_0x133338,_0x1017d2);}export{o as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x222f(_0x2352d7,_0x5afac3){const _0x432606=_0x4326();return _0x222f=function(_0x222fd9,_0x67fe3f){_0x222fd9=_0x222fd9-0x167;let _0x842973=_0x432606[_0x222fd9];return _0x842973;},_0x222f(_0x2352d7,_0x5afac3);}const _0xde5623=_0x222f;(function(_0x84f15,_0x1996a0){const _0x11369e=_0x222f,_0x4488a7=_0x84f15();while(!![]){try{const _0x1f175f=parseInt(_0x11369e(0x17d))/0x1+parseInt(_0x11369e(0x16e))/0x2+-parseInt(_0x11369e(0x17b))/0x3*(parseInt(_0x11369e(0x171))/0x4)+parseInt(_0x11369e(0x16b))/0x5*(-parseInt(_0x11369e(0x169))/0x6)+parseInt(_0x11369e(0x178))/0x7+parseInt(_0x11369e(0x177))/0x8+-parseInt(_0x11369e(0x174))/0x9;if(_0x1f175f===_0x1996a0)break;else _0x4488a7['push'](_0x4488a7['shift']());}catch(_0x41ffb3){_0x4488a7['push'](_0x4488a7['shift']());}}}(_0x4326,0x579a9));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0xde5623(0x168),'conflict':_0xde5623(0x17a),'notCollab':'Local\x20file','synced':_0xde5623(0x16a),'syncing':'Syncing...','offline':_0xde5623(0x173)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0xde5623(0x16f),'room-full':_0xde5623(0x16d),'collaboration-timeout':_0xde5623(0x16c)},'conflict':{'title':_0xde5623(0x179),'content':_0xde5623(0x170)},'permission':{'title':_0xde5623(0x176),'content':_0xde5623(0x172)},'collaboration':{'single-unit':{'warning':_0xde5623(0x167)},'closeRoom':_0xde5623(0x17c)},'auth':{'needGotoLoginAlert':_0xde5623(0x175)}};function _0x4326(){const _0x385cdc=['72535lvYCuG','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1191938jWkgGL','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','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.','1847468NXiMqc','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','9396945ScDbHB','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Authentication\x20Error','4156352kLJafw','4857314uMcmDe','Collaboration\x20Conflict','Edit\x20conflicts','3SyYnJj','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','650169KXewsH','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','246QfXMhI','Synced'];_0x4326=function(){return _0x385cdc;};return _0x4326();}export{e as default};
|