@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202504301607 → 0.7.0-nightly.202505011607
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/en-US.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/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 +16 -17
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4c198e=_0x4497;(function(_0xbcce77,_0x2c0ee6){const _0x27d765=_0x4497,_0x4bdcde=_0xbcce77();while(!![]){try{const _0x300c45=-parseInt(_0x27d765(0xd4))/0x1*(-parseInt(_0x27d765(0x193))/0x2)+parseInt(_0x27d765(0x1dd))/0x3+parseInt(_0x27d765(0x284))/0x4+parseInt(_0x27d765(0xf1))/0x5*(-parseInt(_0x27d765(0x2d0))/0x6)+-parseInt(_0x27d765(0xe5))/0x7*(parseInt(_0x27d765(0x112))/0x8)+parseInt(_0x27d765(0xd9))/0x9+-parseInt(_0x27d765(0x273))/0xa*(parseInt(_0x27d765(0x160))/0xb);if(_0x300c45===_0x2c0ee6)break;else _0x4bdcde['push'](_0x4bdcde['shift']());}catch(_0x4e8845){_0x4bdcde['push'](_0x4bdcde['shift']());}}}(_0x496d,0x72f1d));var $t=Object[_0x4c198e(0x21d)],xt=(_0x22fc23,_0x44dfad,_0x12156d)=>_0x44dfad in _0x22fc23?$t(_0x22fc23,_0x44dfad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12156d}):_0x22fc23[_0x44dfad]=_0x12156d,_=(_0x83eee6,_0x1531c5,_0x2e8929)=>xt(_0x83eee6,typeof _0x1531c5!=_0x4c198e(0x2b6)?_0x1531c5+'':_0x1531c5,_0x2e8929);import{MemberService as _0x1dcf01,SessionStatus as _0x130c75,CollaborationSessionService as _0x943f5,CollaborationStatus as _0x3d7c1a,CollaborationController as _0x370053,ILocalCacheService as _0x5f4338,CollaborationUIEventService as _0x3c635e,CollaborationUIEventId as _0x268985,DataLoaderService as _0x441cd1,DocCollaborationEntity as _0x400eda,getLocalCacheKey as _0x3968f6,LOCAL_CACHE_INTERVAL as _0x33c8b9,LOCAL_CACHE_INTERVAL_KEY as _0x2508b0,UniverCollaborationClientPlugin as _0x3a43f1,CollaborationSocketService as _0x15931a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3fd43a,DEFAULT_WS_SESSION_TICKET_URL as _0x113a8c,UnitStatus as _0x37410c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3d26f8,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5f40dc}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x146301,Disposable as _0x7630a4,DOC_RANGE_TYPE as _0x23fc60,Inject as _0x49f398,Injector as _0x1afadf,IUniverInstanceService as _0x1acba7,ICommandService as _0x167682,debounce as _0x2eb465,Rectangle as _0x4fec53,DisposableCollection as _0x29ffde,toDisposable as _0x3b8484,UniverInstanceType as _0x10f6ab,Tools as _0x11e118,COLORS as _0x2ac219,ColorKit as _0x20a8d2,ThemeService as _0x1d8a7f,fromEventSubject as _0xf405ef,LocaleService as _0x142e9f,createIdentifier as _0x26fbbb,ILogService as _0x445b5c,Optional as _0x29f068,Workbook as _0x9c45fd,CommandType as _0x110e67,IConfigService as _0x1723d8,ILocalStorageService as _0x352217,DependentOn as _0x24d3e1,Plugin as _0x55c32e,merge as _0x1f1cb9,registerDependencies as _0x59f5c2,mergeOverrideWithDependencies as _0x263397,touchDependencies as _0x472d82,generateRandomId as _0x47662c}from'@univerjs/core';import{Shape as _0x1169db,Rect as _0x37b73c,getColor as _0x4d699a,RegularPolygon as _0x22732c,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x117822,Vector2 as _0x397878,SHEET_VIEWPORT_KEY as _0x524d49,IRenderManagerService as _0x414d16}from'@univerjs/engine-render';import{ISocketService as _0x3d6aaa,WebSocketService as _0x5111de,HTTPService as _0x14748e}from'@univerjs/network';import{IDocClipboardService as _0x4bb467,NodePositionConvertToCursor as _0x21f2cc,NodePositionConvertToRectRange as _0x32d4a4,TEXT_RANGE_LAYER_INDEX as _0x3cf057,SetDocZoomRatioOperation as _0x4555a8,DocIMEInputManagerService as _0x4be6bd,DocStateChangeManagerService as _0x26ce67}from'@univerjs/docs-ui';import{IImageIoService as _0x462281}from'@univerjs/drawing';import{BehaviorSubject as _0x20d8ec,debounceTime as _0x49a7ef,takeUntil as _0x3ce21b,Subject as _0x27d8e7,filter as _0x335415,switchMap as _0x49b168,merge as _0x264432,combineLatest as _0x45250d,of as _0xab27dc,fromEvent as _0x25c95a,shareReplay as _0x3d5ae6,mapTo as _0x1f1293,distinctUntilChanged as _0x1ad046}from'rxjs';import{SetTextSelectionsOperation as _0x189a40,RichTextEditingMutation as _0x470502,DocSelectionManagerService as _0x5287a1,DocSkeletonManagerService as _0x5c7bdd}from'@univerjs/docs';import{ITransformService as _0x14357d,CollaborationEvent as _0x1ac8bf,isTransformMutationFailure as _0x3a621e,isTransformMutationsWithChangesetSuccess as _0x2e54a4,RevisionService as _0x7e56a6,ISnapshotServerService as _0x574c7e}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x1b32a2,serializeRangeWithSheet as _0x511282}from'@univerjs/engine-formula';import{RefRangeService as _0x48054b,SetSelectionsOperation as _0x52eb3e,SheetsSelectionsService as _0x27c769,EffectRefRangId as _0x55159f,handleIRemoveRow as _0x183f5a,handleIRemoveCol as _0x48d1de,handleMoveRange as _0x2e73a0,handleInsertRow as _0x428bdc,handleInsertRangeMoveRight as _0x432a92,handleInsertRangeMoveDown as _0x338427,handleInsertCol as _0x4082a5,handleDeleteRangeMoveUp as _0x550791,handleDeleteRangeMoveLeft as _0x35a492,runRefRangeMutations as _0x5e7925,SetWorksheetActivateCommand as _0x9e9e43}from'@univerjs/sheets';import{map as _0x56e805,filter as _0x493186,throttleTime as _0xa3f991,takeUntil as _0x23f5fe,switchMap as _0x1d30e4}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1fbba9,getCoordByCell as _0x56cd2b,getSheetObject as _0x3a9b54}from'@univerjs/sheets-ui';import{jsx as _0x17a92e,jsxs as _0x597857}from'react/jsx-runtime';import{useObservable as _0x191b92,useDependency as _0x4f1c61,IUIPartsService as _0x624a63,BuiltInUIPart as _0x4bbbc9,connectInjector as _0xd83060,IBeforeCloseService as _0x1d36be,IMessageService as _0x3e1731,INotificationService as _0x592e82}from'@univerjs/ui';import{Tooltip as _0x8e9f5c,clsx as _0x282dce,MessageType as _0x1b45b0}from'@univerjs/design';import{forwardRef as _0x26063f,useRef as _0x5c9076,createElement as _0x1822dc,useCallback as _0x50b6c2}from'react';import{IRemoteInstanceService as _0x378366}from'@univerjs/rpc';var ci=Object[_0x4c198e(0x1fa)],li=(_0x1d0139,_0xe1224d,_0xf43ab3,_0x83ff46)=>{for(var _0x154f94=_0x83ff46>0x1?void 0x0:_0x83ff46?ci(_0xe1224d,_0xf43ab3):_0xe1224d,_0x17b80d=_0x1d0139['length']-0x1,_0x476246;_0x17b80d>=0x0;_0x17b80d--)(_0x476246=_0x1d0139[_0x17b80d])&&(_0x154f94=_0x476246(_0x154f94)||_0x154f94);return _0x154f94;},Je=(_0x46e508,_0x2ff3f0)=>(_0x307fc8,_0x326e51)=>_0x2ff3f0(_0x307fc8,_0x326e51,_0x46e508);let Ne=class extends _0x146301{constructor(_0x47d741,_0x15e1af){const _0x39f5fd=_0x4c198e;super(),this[_0x39f5fd(0x1a5)]=_0x47d741,this['_imageIoService']=_0x15e1af,this[_0x39f5fd(0x189)]();}[_0x4c198e(0x189)](){const _0x40fcaf=_0x4c198e,_0x1ebbf3=this;this[_0x40fcaf(0xdc)](this[_0x40fcaf(0x1a5)][_0x40fcaf(0x101)]({'onBeforePasteImage':async _0x1d3295=>{const _0x202b5e=_0x40fcaf,_0x54ccbe=await _0x1ebbf3[_0x202b5e(0x1f1)]['saveImage'](_0x1d3295);return _0x54ccbe?{'source':_0x54ccbe[_0x202b5e(0x22b)],'imageSourceType':_0x54ccbe[_0x202b5e(0x264)]}:null;}}));}};Ne=li([Je(0x0,_0x4bb467),Je(0x1,_0x462281)],Ne);const Ze=[_0x4c198e(0x26d),_0x4c198e(0x157),_0x4c198e(0x282),_0x4c198e(0x126),_0x4c198e(0x2d7),_0x4c198e(0x285)];class ke extends _0x7630a4{constructor(){const _0xf93665=_0x4c198e;super(...arguments),_(this,_0xf93665(0x2ce),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x4849ea){const _0x1d06d7=_0x4c198e;if(this[_0x1d06d7(0x2ce)][_0x1d06d7(0x1a6)](_0x4849ea))return this[_0x1d06d7(0x2ce)][_0x1d06d7(0xfb)](_0x4849ea);const _0x1b072d=Ze[this[_0x1d06d7(0xeb)]];return this[_0x1d06d7(0xeb)]=(this[_0x1d06d7(0xeb)]+0x1)%Ze[_0x1d06d7(0x13c)],this[_0x1d06d7(0x2ce)]['set'](_0x4849ea,_0x1b072d),_0x1b072d;}}function Tt(_0x344794){const _0x4cc21=_0x4c198e;let _0x58b6e8='';for(const _0x53d4e5 of _0x344794){const {startOffset:_0x49d686,endOffset:_0x244adb,isActive:_0xcd331e,rangeType:_0x49d74c,segmentId:_0x866402,segmentPage:_0x4adbfd}=_0x53d4e5;_0x58b6e8[_0x4cc21(0x13c)]&&(_0x58b6e8+=','),_0x58b6e8+=_0x49d686+':'+_0x244adb+':'+(_0xcd331e?'1':'0')+':'+_0x49d74c+':'+_0x866402+':'+_0x4adbfd;}return _0x58b6e8;}function _i(_0x4d4a9d){const _0x2de8ba=_0x4c198e,_0x58d9c3=_0x4d4a9d[_0x2de8ba(0x2c7)](','),_0x1ca46d=[];for(const _0x4933a1 of _0x58d9c3){const [_0x1617da,_0x5347dd,_0x276aeb,_0x7cca28,_0x280f58,_0x5310e4]=_0x4933a1[_0x2de8ba(0x2c7)](':');_0x1ca46d[_0x2de8ba(0x117)]({'startOffset':Number(_0x1617da),'endOffset':Number(_0x5347dd),'collapsed':_0x1617da===_0x5347dd,'isActive':_0x276aeb==='1','rangeType':_0x7cca28===_0x23fc60[_0x2de8ba(0xfe)]?_0x23fc60[_0x2de8ba(0xfe)]:_0x23fc60['RECT'],'segmentId':typeof _0x280f58=='string'?String(_0x280f58):'','segmentPage':Number(_0x5310e4!=null?_0x5310e4:-0x1)});}return _0x1ca46d[_0x2de8ba(0xd5)](_0x575676=>_0x575676[_0x2de8ba(0x10f)])||(_0x1ca46d[0x0][_0x2de8ba(0x10f)]=!0x0),_0x1ca46d;}class He extends _0x146301{constructor(){const _0x6bbe1c=_0x4c198e;super(...arguments),_(this,_0x6bbe1c(0x271),new _0x20d8ec(null)),_(this,_0x6bbe1c(0x1f2),this[_0x6bbe1c(0x271)]['asObservable']());}[_0x4c198e(0x14b)](_0x50f752){const _0x1f896e=_0x4c198e,{unitID:_0x2835b8,memberID:_0x420f59,textRanges:_0x44afff}=_0x50f752,_0x150ae4=Tt(_0x44afff);if(_0x150ae4==='')return;const _0x1be965={'unitID':_0x2835b8,'memberID':_0x420f59,'selection':_0x150ae4};this['_collabCursorState$'][_0x1f896e(0x225)](_0x1be965);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x55b186,_0x164a0f,_0x164522,_0x4fcbb)=>{const _0xa96f83=_0x4c198e;for(var _0x3c8207=_0x4fcbb>0x1?void 0x0:_0x4fcbb?hi(_0x164a0f,_0x164522):_0x164a0f,_0x10d5ea=_0x55b186[_0xa96f83(0x13c)]-0x1,_0xca5cee;_0x10d5ea>=0x0;_0x10d5ea--)(_0xca5cee=_0x55b186[_0x10d5ea])&&(_0x3c8207=_0xca5cee(_0x3c8207)||_0x3c8207);return _0x3c8207;},w=(_0xafd957,_0x64868a)=>(_0x257c78,_0x3902f5)=>_0x64868a(_0x257c78,_0x3902f5,_0xafd957);const di=0x12c,fi=0x64;let Ue=class extends _0x146301{constructor(_0x2874e5,_0x5d3a8e,_0x4787c0,_0x1980ae,_0x3400aa,_0x15bb2b,_0x2b1bfa,_0x1ba0ee,_0x4152d1){const _0x4b93e7=_0x4c198e;super(),_(this,_0x4b93e7(0x1c4),!0x1),_(this,_0x4b93e7(0x189),!0x1),_(this,'_cursorInfo$',new _0x20d8ec(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x4b93e7(0x170),new _0x20d8ec([])),_(this,_0x4b93e7(0x2af),this[_0x4b93e7(0x170)]['pipe'](_0x49a7ef(di))),_(this,_0x4b93e7(0x13a),_0x2eb465(_0x4c1220=>{const _0x5bca39=_0x4b93e7,_0x4b8e59={'eventID':_0x1ac8bf['UPDATE_CURSOR'],'data':{'unitID':this[_0x5bca39(0x291)],'memberID':this[_0x5bca39(0x186)][_0x5bca39(0x205)](),'selection':Tt(_0x4c1220)}};this['_session'][_0x5bca39(0x24d)](_0x4b8e59,this[_0x5bca39(0x291)]);},fi)),(this[_0x4b93e7(0x291)]=_0x2874e5,this[_0x4b93e7(0x186)]=_0x5d3a8e,this['_injector']=_0x4787c0,this[_0x4b93e7(0x1ef)]=_0x1980ae,this[_0x4b93e7(0xf2)]=_0x3400aa,this[_0x4b93e7(0x267)]=_0x15bb2b,this[_0x4b93e7(0x138)]=_0x2b1bfa,this[_0x4b93e7(0x2d4)]=_0x1ba0ee,this['_commandService']=_0x4152d1);}get[_0x4c198e(0x1ce)](){const _0xdd5dc3=_0x4c198e;return this[_0xdd5dc3(0x2cc)][_0xdd5dc3(0x245)]();}get[_0x4c198e(0x1a4)](){const _0x4d63da=_0x4c198e;return this[_0x4d63da(0x170)]['getValue']();}[_0x4c198e(0x2aa)](){const _0x15b3e3=_0x4c198e;super[_0x15b3e3(0x2aa)](),this['_cursorInfo$'][_0x15b3e3(0x225)](new Map()),this[_0x15b3e3(0x2cc)][_0x15b3e3(0x2cf)](),this[_0x15b3e3(0x170)][_0x15b3e3(0x225)]([]),this[_0x15b3e3(0x170)][_0x15b3e3(0x2cf)]();}['init'](){const _0x416437=_0x4c198e;this['_init']||(this['_init']=!0x0,this[_0x416437(0x186)][_0x416437(0x224)][_0x416437(0x133)](_0x3ce21b(this['dispose$']))[_0x416437(0x1c1)](_0xb4d772=>{const _0x47d2a7=_0x416437;_0xb4d772===_0x130c75[_0x47d2a7(0x26c)]?this['_toggleOnline']():this[_0x47d2a7(0x191)]();}),this['_session'][_0x416437(0x260)]['pipe'](_0x3ce21b(this[_0x416437(0x172)]))[_0x416437(0x1c1)](_0xe5a97e=>{const _0x33c007=_0x416437,_0xb2ccab=_0xe5a97e[_0x33c007(0x153)];_0xb2ccab===_0x1ac8bf[_0x33c007(0x10c)]&&this[_0x33c007(0x23b)](_0xe5a97e),_0xb2ccab===_0x1ac8bf['USERS_LEAVE']&&this[_0x33c007(0x142)](_0xe5a97e);}),this[_0x416437(0xdc)](this[_0x416437(0x29b)][_0x416437(0x2b3)](_0x7eadda=>{const _0x5aef96=_0x416437,_0x5e4d30=_0x7eadda[_0x5aef96(0x10e)];_0x5e4d30!=null&&this[_0x5aef96(0x1c4)]&&_0x7eadda['id']===_0x189a40['id']&&_0x5e4d30[_0x5aef96(0x2b7)]===this['unitID']&&_0x5e4d30['isEditing']===!0x1&&_0x5e4d30[_0x5aef96(0x232)][_0x5aef96(0x13c)]>0x0&&this['_updateLocalCursor'](_0x5e4d30[_0x5aef96(0x232)]);})),this[_0x416437(0x267)][_0x416437(0x1f2)]['pipe'](_0x3ce21b(this[_0x416437(0x172)]))[_0x416437(0x1c1)](_0x3fb3ee=>{const _0x33d7e4=_0x416437;if((_0x3fb3ee==null?void 0x0:_0x3fb3ee[_0x33d7e4(0x291)])!==this[_0x33d7e4(0x291)])return;const _0x4edd78={'eventID':_0x1ac8bf[_0x33d7e4(0x10c)],'data':_0x3fb3ee};this[_0x33d7e4(0x23b)](_0x4edd78);}),this[_0x416437(0xdc)](this[_0x416437(0x29b)][_0x416437(0x2b3)](_0x4856ec=>{const _0x1d67d1=_0x416437;if(_0x4856ec[_0x1d67d1(0x10e)]==null)return;const _0x489283=_0x4856ec[_0x1d67d1(0x10e)];if(_0x4856ec['id']!==_0x470502['id']||_0x489283[_0x1d67d1(0x2b7)]!==this['unitID'])return;const _0x18f75e={'id':_0x1d67d1(0x2d5),'params':_0x489283},_0x37df00=this['cursorInfo'];for(const [_0xcc8046,_0x341f24]of _0x37df00){const _0x5e78df={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1d67d1(0x291)],'actions':null,'textRanges':_0x341f24[_0x1d67d1(0x232)]}},_0x307d0c=this[_0x1d67d1(0x138)][_0x1d67d1(0x289)](_0x18f75e,_0x5e78df,!0x1);if(_0x3a621e(_0x307d0c))throw _0x307d0c[_0x1d67d1(0x12e)];_0x37df00['set'](_0xcc8046,{..._0x341f24,'ranges':_0x307d0c[_0x1d67d1(0x140)][_0x1d67d1(0x10e)][_0x1d67d1(0x235)]});}queueMicrotask(()=>{const _0x37c33f=_0x1d67d1;this['_cursorInfo$'][_0x37c33f(0x225)](_0x37df00);});})));}[_0x4c198e(0x23b)](_0x367538){const _0x571c4c=_0x4c198e;var _0x49170f,_0x1c5382;const {memberID:_0x5c2957,selection:_0x2f0da4}=_0x367538[_0x571c4c(0x2ca)],_0x4f5502=_i(_0x2f0da4),_0x3bc69e=(_0x1c5382=(_0x49170f=this[_0x571c4c(0xf2)][_0x571c4c(0x163)](this[_0x571c4c(0x291)],_0x5c2957))==null?void 0x0:_0x49170f[_0x571c4c(0x197)])!=null?_0x1c5382:_0x571c4c(0xdb),_0x4d8949={'color':this[_0x571c4c(0x1ef)][_0x571c4c(0xf3)](_0x5c2957),'name':_0x3bc69e,'ranges':_0x4f5502},_0x178e6c=this['cursorInfo'];_0x178e6c[_0x571c4c(0x268)](_0x5c2957,_0x4d8949),this['_cursorInfo$']['next'](_0x178e6c);}[_0x4c198e(0x142)](_0x323d4b){const _0x2e3c12=_0x4c198e,{memberID:_0x2456f0}=_0x323d4b['data'],_0x3a43bd=this[_0x2e3c12(0x1ce)];_0x3a43bd[_0x2e3c12(0x107)](_0x2456f0),this[_0x2e3c12(0x2cc)][_0x2e3c12(0x225)](_0x3a43bd);}['_toggleOnline'](){const _0x232021=_0x4c198e;var _0x5ecf6d;if(this[_0x232021(0x1c4)]=!0x0,((_0x5ecf6d=this[_0x232021(0x2d4)][_0x232021(0x213)]())==null?void 0x0:_0x5ecf6d[_0x232021(0x2a1)]())!==this[_0x232021(0x291)])return;const _0x850c26=this['_injector'][_0x232021(0xfb)](_0x5287a1)[_0x232021(0x10a)]();Array[_0x232021(0x156)](_0x850c26)&&_0x850c26[_0x232021(0x13c)]>0x0&&this[_0x232021(0x13a)](_0x850c26);}[_0x4c198e(0x191)](){const _0xc0b1b7=_0x4c198e;this[_0xc0b1b7(0x1c4)]=!0x1;}};Ue=ui([w(0x2,_0x49f398(_0x1afadf)),w(0x3,_0x49f398(ke)),w(0x4,_0x49f398(_0x1dcf01)),w(0x5,_0x49f398(He)),w(0x6,_0x14357d),w(0x7,_0x1acba7),w(0x8,_0x167682)],Ue);var Si=Object[_0x4c198e(0x1fa)],mi=(_0x37f464,_0xdec72c,_0x51a85c,_0x128dfd)=>{const _0x497c19=_0x4c198e;for(var _0x469b40=_0x128dfd>0x1?void 0x0:_0x128dfd?Si(_0xdec72c,_0x51a85c):_0xdec72c,_0x3001e5=_0x37f464[_0x497c19(0x13c)]-0x1,_0x3259b8;_0x3001e5>=0x0;_0x3001e5--)(_0x3259b8=_0x37f464[_0x3001e5])&&(_0x469b40=_0x3259b8(_0x469b40)||_0x469b40);return _0x469b40;},x=(_0x365325,_0x1a367)=>(_0x54ef68,_0x23007d)=>_0x1a367(_0x54ef68,_0x23007d,_0x365325);const gi=0x12c,vi=0x64,Ii=()=>{let _0xa4c7b0=[],_0x1fa468=!0x1;return _0x250fdd=>{const _0x4ed8f0=_0x4497;_0xa4c7b0[_0x4ed8f0(0x117)](_0x250fdd),_0x1fa468||(_0x1fa468=!0x0,setTimeout(()=>{const _0x25e87a=_0x4ed8f0;_0xa4c7b0[_0x25e87a(0xdf)](_0x269b14=>_0x269b14()),_0xa4c7b0=[],_0x1fa468=!0x1;}));};};let Me=class extends _0x146301{constructor(_0x23794b,_0x22f2d4,_0x705538,_0x5b18de,_0x1d648d,_0x520a3a,_0xc2cf4a,_0x15a2a3){const _0x305ce4=_0x4c198e;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x305ce4(0x2cc),new _0x20d8ec(new Map())),_(this,'cursorInfo$',this[_0x305ce4(0x2cc)][_0x305ce4(0x10b)]()),_(this,_0x305ce4(0x170),new _0x20d8ec([])),_(this,'roomMembers$',this[_0x305ce4(0x170)][_0x305ce4(0x133)](_0x49a7ef(gi))),_(this,_0x305ce4(0x13a),_0x2eb465((_0x35b698,_0x547d8a)=>{const _0x223d8d=_0x305ce4,_0x1463ad={'eventID':_0x1ac8bf[_0x223d8d(0x10c)],'data':{'unitID':this['unitID'],'memberID':this[_0x223d8d(0x186)]['getMemberID'](),'selection':_0x511282(_0x35b698,_0x547d8a[_0x223d8d(0x294)])}};this['_session'][_0x223d8d(0x24d)](_0x1463ad,this[_0x223d8d(0x291)]);},vi)),(this[_0x305ce4(0x291)]=_0x23794b,this[_0x305ce4(0x186)]=_0x22f2d4,this[_0x305ce4(0x127)]=_0x705538,this[_0x305ce4(0x1ef)]=_0x5b18de,this['_memberService']=_0x1d648d,this[_0x305ce4(0x2d4)]=_0x520a3a,this[_0x305ce4(0x29b)]=_0xc2cf4a,this[_0x305ce4(0x155)]=_0x15a2a3);}get[_0x4c198e(0x1ce)](){const _0x30319c=_0x4c198e;return this[_0x30319c(0x2cc)]['getValue']();}get['roomMembers'](){const _0xabfeb4=_0x4c198e;return this[_0xabfeb4(0x170)][_0xabfeb4(0x245)]();}[_0x4c198e(0x2aa)](){const _0x50c1eb=_0x4c198e;super['dispose'](),this[_0x50c1eb(0x2cc)]['next'](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x50c1eb(0x225)]([]),this[_0x50c1eb(0x170)][_0x50c1eb(0x2cf)]();}[_0x4c198e(0x288)](){const _0x4d4b36=_0x4c198e;this['_init']||(this[_0x4d4b36(0x189)]=!0x0,this['_session'][_0x4d4b36(0x224)][_0x4d4b36(0x133)](_0x3ce21b(this['dispose$']))[_0x4d4b36(0x1c1)](_0x58a48a=>{const _0x18f7f5=_0x4d4b36;_0x58a48a===_0x130c75['ONLINE']?this['_toggleOnline']():this[_0x18f7f5(0x191)]();}),this[_0x4d4b36(0x186)][_0x4d4b36(0x260)]['pipe'](_0x3ce21b(this['dispose$']))[_0x4d4b36(0x1c1)](_0x17f679=>{const _0x4921d0=_0x4d4b36,_0x230fa7=_0x17f679[_0x4921d0(0x153)];_0x230fa7===_0x1ac8bf[_0x4921d0(0x10c)]&&this[_0x4921d0(0x23b)](_0x17f679),_0x230fa7===_0x1ac8bf['USERS_LEAVE']&&this[_0x4921d0(0x142)](_0x17f679);}),this[_0x4d4b36(0x209)](),this['disposeWithMe'](this[_0x4d4b36(0x29b)][_0x4d4b36(0x2b3)](_0x5656da=>{const _0x5d27a1=_0x4d4b36;if(this[_0x5d27a1(0x1c4)]&&_0x5656da['id']===_0x52eb3e['id']&&_0x5656da[_0x5d27a1(0x10e)][_0x5d27a1(0x2b7)]===this[_0x5d27a1(0x291)]){const _0x568fc9=_0x5656da[_0x5d27a1(0x10e)];this['_updateLocalCursor'](_0x568fc9['subUnitId'],_0x568fc9[_0x5d27a1(0x2ba)][0x0]);}})));}['_onCursorUpdate'](_0x541962){const _0x3f8c08=_0x4c198e;var _0x4624c8,_0x467854;const {memberID:_0xc1c312,selection:_0x5061e7}=_0x541962[_0x3f8c08(0x2ca)],{sheetName:_0x18bf4e,range:_0x1c9df7}=_0x1b32a2(_0x5061e7),_0xda099={'name':(_0x467854=(_0x4624c8=this['_memberService'][_0x3f8c08(0x163)](this['unitID'],_0xc1c312))==null?void 0x0:_0x4624c8[_0x3f8c08(0x197)])!=null?_0x467854:_0x3f8c08(0xdb),'range':this['_getMergeRange'](_0x18bf4e,_0x1c9df7),'sheetID':_0x18bf4e,'color':this['_colorAssignService'][_0x3f8c08(0xf3)](_0xc1c312),'selection':_0x5061e7},_0x29561c=this[_0x3f8c08(0x1ce)];_0x29561c[_0x3f8c08(0x268)](_0xc1c312,_0xda099),this[_0x3f8c08(0x2cc)][_0x3f8c08(0x225)](_0x29561c);}[_0x4c198e(0x142)](_0x4633c1){const _0x43ccf4=_0x4c198e,{memberID:_0x5ae4e7}=_0x4633c1[_0x43ccf4(0x2ca)],_0x561a6c=this[_0x43ccf4(0x1ce)];_0x561a6c[_0x43ccf4(0x107)](_0x5ae4e7),this[_0x43ccf4(0x2cc)][_0x43ccf4(0x225)](_0x561a6c);}[_0x4c198e(0x221)](_0x2f6804,_0x590ebc){const _0x16a541=_0x4c198e;var _0x13e8d1,_0x585eb1;const _0x2eddde=(_0x585eb1=(_0x13e8d1=this['_univerInstanceService'][_0x16a541(0x2c6)](this[_0x16a541(0x291)]))==null?void 0x0:_0x13e8d1[_0x16a541(0x23e)](_0x2f6804))==null?void 0x0:_0x585eb1[_0x16a541(0x12b)]();return(_0x2eddde==null?void 0x0:_0x2eddde[_0x16a541(0x2a8)](_0x441fc6=>_0x4fec53[_0x16a541(0x1e7)](_0x441fc6,_0x590ebc)))||_0x590ebc;}['_onRefRangeChange'](){const _0x730535=_0x4c198e,_0x101706=new _0x29ffde(),_0x51416d=Ii(),_0x11f8be=()=>{const _0x30acea=_0x4497;_0x101706[_0x30acea(0x2aa)]();const _0x4b56e2=(_0x47d6fb,_0x80e53a,_0x4637f3,_0x33d692)=>{const _0x4dfd38=_0x30acea;let _0x4a9eb7=[];switch(_0x47d6fb['id']){case _0x55159f[_0x4dfd38(0x1e6)]:{_0x4a9eb7=_0x35a492(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0xd2)]:{_0x4a9eb7=_0x550791(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0x15f)]:{_0x4a9eb7=_0x4082a5(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0x25f)]:{_0x4a9eb7=_0x338427(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0x20d)]:{_0x4a9eb7=_0x432a92(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0x103)]:{_0x4a9eb7=_0x428bdc(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0xd1)]:{_0x4a9eb7=_0x2e73a0(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0x279)]:{_0x4a9eb7=_0x48d1de(_0x47d6fb,_0x33d692);break;}case _0x55159f[_0x4dfd38(0x174)]:{_0x4a9eb7=_0x183f5a(_0x47d6fb,_0x33d692);break;}}const _0x570d8f=_0x5e7925(_0x4a9eb7,_0x33d692),_0x38e4fa=this[_0x4dfd38(0x1ce)]['get'](_0x80e53a);if(_0x38e4fa&&_0x570d8f){const _0x2bd733={..._0x38e4fa,'range':_0x570d8f};this[_0x4dfd38(0x1ce)]['set'](_0x80e53a,_0x2bd733),_0x51416d(()=>{const _0x5d6d17=_0x4dfd38,_0x4f6c3e=this[_0x5d6d17(0x155)][_0x5d6d17(0x10d)](_0x570d8f,_0x39058a=>(_0x4f6c3e[_0x5d6d17(0x2aa)](),_0x4b56e2(_0x39058a,_0x80e53a,_0x4637f3,_0x570d8f)));_0x101706['add'](_0x4f6c3e);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x30acea(0xdf)]((_0x1f144f,_0x5a1985)=>{const _0x266f86=_0x30acea,{range:_0x19716e,sheetID:_0x34326e}=_0x1f144f,_0x42dca1=this[_0x266f86(0x155)]['registerRefRange'](_0x19716e,_0x212a7b=>(_0x42dca1[_0x266f86(0x2aa)](),_0x4b56e2(_0x212a7b,_0x5a1985,_0x34326e,_0x19716e)));_0x101706[_0x266f86(0x238)](_0x42dca1);});};this[_0x730535(0xdc)](_0x3b8484(this[_0x730535(0x2cc)][_0x730535(0x1c1)](()=>{_0x11f8be();})));}[_0x4c198e(0x270)](){const _0x298b78=_0x4c198e;var _0x217fd9,_0x75c24c;if(this[_0x298b78(0x1c4)]=!0x0,((_0x217fd9=this['_univerInstanceService'][_0x298b78(0x213)]())==null?void 0x0:_0x217fd9[_0x298b78(0x2a1)]())!==this['unitID'])return;const _0x4a0325=(_0x75c24c=this[_0x298b78(0x127)]['get'](_0x27c769)[_0x298b78(0x21f)]())==null?void 0x0:_0x75c24c[0x0],_0xcde483=this['_univerInstanceService'][_0x298b78(0x17e)](_0x10f6ab[_0x298b78(0x194)])[_0x298b78(0x28c)]();_0x4a0325&&_0xcde483&&this['_updateLocalCursor'](_0xcde483[_0x298b78(0x17b)](),_0x4a0325);}[_0x4c198e(0x191)](){const _0x3c9989=_0x4c198e;this[_0x3c9989(0x1c4)]=!0x1;}};Me=mi([x(0x2,_0x49f398(_0x1afadf)),x(0x3,_0x49f398(ke)),x(0x4,_0x49f398(_0x1dcf01)),x(0x5,_0x1acba7),x(0x6,_0x167682),x(0x7,_0x49f398(_0x48054b))],Me);var pi=Object[_0x4c198e(0x1fa)],Ci=(_0x1941e3,_0x2262e3,_0x4c0865,_0x431ee0)=>{for(var _0x108cdf=_0x431ee0>0x1?void 0x0:_0x431ee0?pi(_0x2262e3,_0x4c0865):_0x2262e3,_0x8ec9f8=_0x1941e3['length']-0x1,_0x10a89d;_0x8ec9f8>=0x0;_0x8ec9f8--)(_0x10a89d=_0x1941e3[_0x8ec9f8])&&(_0x108cdf=_0x10a89d(_0x108cdf)||_0x108cdf);return _0x108cdf;},Se=(_0x52be4d,_0x2da20e)=>(_0x689293,_0x3a51e2)=>_0x2da20e(_0x689293,_0x3a51e2,_0x52be4d);let H=class extends _0x146301{constructor(_0x20f32,_0x3c3804,_0x41fd15){const _0x4c94ff=_0x4c198e;super(),_(this,'_entities',new Map()),_(this,_0x4c94ff(0x219),new _0x27d8e7()),(this[_0x4c94ff(0x2d4)]=_0x20f32,this[_0x4c94ff(0x127)]=_0x3c3804,this[_0x4c94ff(0x22f)]=_0x41fd15,this['_init']());}[_0x4c198e(0x2aa)](){const _0x4eceea=_0x4c198e;super[_0x4eceea(0x2aa)](),this[_0x4eceea(0x219)]['complete'](),this[_0x4eceea(0xd8)][_0x4eceea(0xdf)](_0x103440=>_0x103440['dispose']());}[_0x4c198e(0x27c)](_0x5cb240){const _0x3ac073=_0x4c198e;return this[_0x3ac073(0xd8)][_0x3ac073(0x1a6)](_0x5cb240)?this[_0x3ac073(0xd8)][_0x3ac073(0xfb)](_0x5cb240)[_0x3ac073(0x2db)]:this[_0x3ac073(0x219)][_0x3ac073(0x133)](_0x335415(_0x18e0a7=>_0x18e0a7['unitID']===_0x5cb240),_0x49b168(_0x174011=>_0x174011[_0x3ac073(0x2db)]));}['_init'](){const _0x554e8e=_0x4c198e;this[_0x554e8e(0x2d4)][_0x554e8e(0x262)](_0x10f6ab[_0x554e8e(0x194)])[_0x554e8e(0x133)](_0x3ce21b(this[_0x554e8e(0x172)]))[_0x554e8e(0x1c1)](async _0x3f32a4=>{const _0x43d911=_0x554e8e,_0x5bfb77=_0x3f32a4[_0x43d911(0x2a1)](),_0x31b348=await this[_0x43d911(0x14d)](_0x5bfb77);this['_entityInit$'][_0x43d911(0x225)](_0x31b348),this[_0x43d911(0xd8)][_0x43d911(0x268)](_0x5bfb77,_0x31b348);}),this[_0x554e8e(0x2d4)][_0x554e8e(0x262)](_0x10f6ab[_0x554e8e(0x151)])['pipe'](_0x3ce21b(this[_0x554e8e(0x172)]))[_0x554e8e(0x133)](_0x335415(_0x254095=>!_0x254095[_0x554e8e(0x2a1)]()[_0x554e8e(0xe2)]('__')))[_0x554e8e(0x1c1)](async _0x16d764=>{const _0x2fc595=_0x554e8e,_0xc191c0=_0x16d764['getUnitId'](),_0x44f6d7=await this[_0x2fc595(0x229)](_0xc191c0);this[_0x2fc595(0x219)][_0x2fc595(0x225)](_0x44f6d7),this[_0x2fc595(0xd8)][_0x2fc595(0x268)](_0xc191c0,_0x44f6d7);}),_0x264432(this[_0x554e8e(0x2d4)][_0x554e8e(0x12a)](_0x10f6ab[_0x554e8e(0x151)]),this[_0x554e8e(0x2d4)][_0x554e8e(0x12a)](_0x10f6ab[_0x554e8e(0x194)]))[_0x554e8e(0x133)](_0x3ce21b(this['dispose$']))[_0x554e8e(0x1c1)](_0x4f282f=>{const _0x1d3f72=_0x554e8e,_0x334710=_0x4f282f[_0x1d3f72(0x2a1)](),_0x279c0c=this[_0x1d3f72(0xd8)][_0x1d3f72(0xfb)](_0x334710);_0x279c0c&&(_0x279c0c[_0x1d3f72(0x2aa)](),this['_entities']['delete'](_0x334710));});}async[_0x4c198e(0x14d)](_0x1e53d7){const _0x86c4b8=_0x4c198e,_0x3d4504=await this[_0x86c4b8(0x22f)][_0x86c4b8(0x246)](_0x1e53d7),_0x3aeba4=this[_0x86c4b8(0x127)]['createInstance'](Me,_0x1e53d7,_0x3d4504);return _0x3aeba4[_0x86c4b8(0x288)](),_0x3aeba4;}async['_startDocCollabCursor'](_0x2929c5){const _0x4392c9=_0x4c198e,_0x5fccf7=await this[_0x4392c9(0x22f)][_0x4392c9(0x246)](_0x2929c5),_0x319d38=this['_injector'][_0x4392c9(0x1e4)](Ue,_0x2929c5,_0x5fccf7);return _0x319d38[_0x4392c9(0x288)](),_0x319d38;}};H=Ci([Se(0x0,_0x1acba7),Se(0x1,_0x49f398(_0x1afadf)),Se(0x2,_0x49f398(_0x943f5))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x192d0d,_0x43a904){const _0x44b87=_0x4c198e;let {radius:_0x55c28c,width:_0x499827,height:_0x1849e5}=_0x43a904;_0x55c28c=_0x55c28c!=null?_0x55c28c:0x0,_0x499827=_0x499827!=null?_0x499827:0x1e,_0x1849e5=_0x1849e5!=null?_0x1849e5:0x1e;let _0x275315=0x0,_0xc0c494=0x0,_0x2ec8fe=0x0;_0x275315=_0xc0c494=_0x2ec8fe=Math[_0x44b87(0x1ae)](_0x55c28c,_0x499827/0x2,_0x1849e5/0x2),_0x192d0d[_0x44b87(0x29c)](),_0x192d0d[_0x44b87(0x292)](_0x275315,0x0),_0x192d0d[_0x44b87(0x166)](_0x499827-_0xc0c494,0x0),_0x192d0d[_0x44b87(0x2a6)](_0x499827-_0xc0c494,_0xc0c494,_0xc0c494,Math['PI']*0x3/0x2,0x0,!0x1),_0x192d0d[_0x44b87(0x166)](_0x499827,_0x1849e5-_0x2ec8fe),_0x192d0d[_0x44b87(0x2a6)](_0x499827-_0x2ec8fe,_0x1849e5-_0x2ec8fe,_0x2ec8fe,0x0,Math['PI']/0x2,!0x1),_0x192d0d[_0x44b87(0x166)](0x0,_0x1849e5),_0x192d0d[_0x44b87(0x166)](0x0,_0x275315),_0x192d0d[_0x44b87(0x2a6)](_0x275315,_0x275315,_0x275315,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x192d0d[_0x44b87(0x2d2)](),_0x43a904['fill']&&(_0x192d0d['save'](),_0x192d0d[_0x44b87(0x283)]=_0x43a904[_0x44b87(0x2ae)],_0x43a904['fillRule']===_0x44b87(0x134)?_0x192d0d[_0x44b87(0x2ae)](_0x44b87(0x134)):_0x192d0d[_0x44b87(0x2ae)](),_0x192d0d['restore']());}class he extends _0x1169db{constructor(_0x3a377c,_0x26e338){const _0x5a869b=_0x4c198e;super(_0x3a377c,_0x26e338),_(this,_0x5a869b(0x121)),_(this,'text'),(this['color']=_0x26e338==null?void 0x0:_0x26e338[_0x5a869b(0x121)],this['text']=_0x26e338==null?void 0x0:_0x26e338[_0x5a869b(0x231)]);}static[_0x4c198e(0xce)](_0x2744ba,_0x4930b1){const _0xa56e76=_0x4c198e,{text:_0x47db11,color:_0x22e121}=_0x4930b1;_0x2744ba[_0xa56e76(0x1cd)](),_0x2744ba[_0xa56e76(0x2a3)]=_0xa56e76(0x240);const _0x5e0504=_0x2744ba[_0xa56e76(0x2c0)](_0x47db11)[_0xa56e76(0xfd)],_0x2521f6=Math['min'](_0x5e0504+0x2*me,Qe);bi(_0x2744ba,{'height':ee,'radius':0x4,'width':_0x2521f6,'fill':_0x22e121}),_0x2744ba[_0xa56e76(0x283)]=_0xa56e76(0x2d8);const _0x4c5446=me,_0x157847=ee-Ei,_0x167848=Qe-0x2*me;if(_0x5e0504>_0x167848){let _0x217891='',_0x1b0d94=0x0;for(const _0x312d35 of _0x47db11){const _0x55090c=_0x2744ba[_0xa56e76(0x2c0)](_0x312d35)['width'];if(_0x1b0d94+_0x55090c<=_0x167848-_0x2744ba[_0xa56e76(0x2c0)](_0xa56e76(0x1dc))[_0xa56e76(0xfd)])_0x217891+=_0x312d35,_0x1b0d94+=_0x55090c;else{_0x217891+='...';break;}}_0x2744ba[_0xa56e76(0xe6)](_0x217891,_0x4c5446,_0x157847);}else _0x2744ba[_0xa56e76(0xe6)](_0x47db11,_0x4c5446,_0x157847);_0x2744ba[_0xa56e76(0x19a)]();}[_0x4c198e(0x1d8)](_0x29dca2){he['drawWith'](_0x29dca2,this);}}const ge=_0x4c198e(0x1d3),Oi='collab-text-range-',Ti=_0x4c198e(0x173),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';function _0x496d(){const _0x4fb874=['_docSyncEditingCollabCursorService','_getSaveTimeout','_anchorDot','_send','syncEditingCollabCursor','_config','_startSheetCollabCursor','_docTransformStateCacheService','pushState','xlink:href','UNIVER_DOC','indexOf','eventID','_handleHover','_refRangeService','isArray','jiqing500','INVALID_INVITE_CODE','hasOwnProperty','icon','WECHAT_HAS_BEEN_BOUND','_unitStatus','getUnitStatus$','setParam','InsertColCommandId','2153327mnWIFh','LICENSE_MAX_UNITS_EXCEEDED','_docSkeletonManagerService','getMember','_cursorShapes','INVITE_CODE_ALREADY_BOUND','lineTo','_getSheetObject','_initResize','setActiveRange','getCollabEntity$','_ensureSubject','SUBMIT_CHANGESET_TIMEOUT','getItem','MUTATION','1em','_roomMembers$','enableLocalCache','dispose$','collab-rect-range-','RemoveRowCommandId','transformRemoteChangeset','getRelativeToViewportCoord','_lastPointer','_drawTextRange','APPLY_PERMISSION_DENIED','onRendered','getSheetId','addObjects','_localeService','getCurrentUnitForType','setItem','_handleHeartbeatEvent','_drawAnchor','_removeCollabCursors','CLOSE_ROOM','OffLineSingle','registerRenderModule','_session','collabStatus.syncing','PENDING','_init','post','_context','univer-text-green-500','disableLocalCache','LOGIN_FAILED','getStateCache','transformIMECache','_toggleOffline','_scheduleSaving','2VuhBbB','UNIVER_SHEET','currentColor','YUUMI_UNABLE_LOAD_URL','name','body','_range','restore','_uiPartsService','disposeUnit','_drawRectRange','OTHER_CLIENTS_EDITING','0\x200\x2016\x2016','mask','_httpService','[CollaborationDataLoaderController]','_notificationService','roomMembers','_docClipboardService','has','_updateCollabCursors','entityInit$','redoState','_setupSubUnitSync','UNDEFINED','colorChannel1','replaceDocRanges','min','bottom','JOIN_ROOM_FAILED','TOO_MANY_REQUESTS','height','editingUnit','_unitOnClients','M0\x200H16V16H0z','show','_updateURLWithCurrentState','SOCKET_FAILED','VIEW_MAIN','getSkeleton','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','getCellPositionByOffset','SNAPSHOT_HAS_BEEN_REMOVED','SYNCED','black','result','subscribe','function','_scheduleHeartbeat','_online','_color','_refreshCollabCursors','_collaborationUIEventService','INVALID_ARGUMENT','registerBeforeClose','replaceState','CONFLICT','defIds','save','cursorInfo','actions','hovered','from','permission.title','collab-text-anchor-','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','sheetID','_revisionService','saveOfflineData','_draw','currentSkeleton$','_selfUnitIDs','displayName','...','2629956QPBEWo','_cursor','subscribeEvent','history','map','className','setAlpha','createInstance','flatMap','DeleteRangeMoveLeftCommandId','contains','max','currentTheme$','NO_OTHER_CLIENTS_EDITING','searchParams','ticket','UNAUTHENTICATED','idSuffix','_colorAssignService','_shapes','_imageIoService','collabCursorState$','getCurrentRevOfUnit','_beforeCloseService','location','collabStatus.conflict','search','_saveCache','findNodePositionByCharIndex','getOwnPropertyDescriptor','addEventListener','_handleEvent','labelPosition','column','LICENSE_IMPORT_SIZE_EXCEEDED','_clearOtherTimers','onPointerEnter$','_removeClearOtherTimer','entries','EMAIL_HAS_BEEN_BOUND','getMemberID','getUnhiddenWorksheets','startRow','svg','_onRefRangeChange','transformMutationsWithChangeset','generateRandomId','tag','InsertRangeMoveRightCommandId','_getSessionTicket','on-line-single_clip0_910_349','AWAITING','Failed','_localStorageService','getFocusedUnit','univer-flex\x20univer-items-center','INVITE_CODE_REQUIRED','_collaborationController','YUUMI_RATE_OVER_LIMIT','children','_entityInit$','loadOfflineData','[RemoteUniscriptService]:\x20no\x20focused\x20unit','key','defineProperty','defs','getCurrentSelections','setStateCache','_getMergeRange','_eventUnsubscribe','INVITE_CODE_HAS_BEEN_UES','sessionStatus$','next','propertyIsEnumerable','size','prototype','_startDocCollabCursor','assign','source','FromArray','setConfig','onLocalMutation','_collabSessionService','CHANGESET_REVISION_CONFILICT','text','ranges','#fff','clearInterval','textRanges','_initEvent','backgroundColor','add','toString','replace','_onCursorUpdate','_cachedData','code','getSheetBySheetId','docStateChange$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_heartbeatTimer','random','with','loadUnit','getValue','requireSession','APPLY_DUPLICATED','skeleton','_cursors','hide','APPLY_REVISION_CONFILICT','_render','send','subunit','OFFLINE','_hideTimer','attrs','SOCKET_FAILED_RETRY','newValue','_sheetSkeletonManagerService','APPLY_NON_SEQUENTIAL_REVISION','_initCommandExecutedListener','addHandlerCallback','unshift','override','url(#off-line-single_clip0_910_343)','_status$','INTERNAL_ERROR','_transformUndoRedoStack','top','InsertRangeMoveDownCommandId','event$','PY_RUNTIME_SCRIPT_ERROR','getTypeOfUnitAdded$','ALREADY_EXISTS','imageSourceType','string','_scheduleClearOtherTimer','_syncEditingCollabCursorService','set','parse','exhaustSavingTask','concat','ONLINE','purple300','_docSkeleton','UniverIcon','_toggleOnline','_collabCursorState$','getAncestorScale','90lixxYm','substring','off-line-single_clip0_910_343','RECT','stringify','_id','RemoveColCommandId','NOT_FOUND','endColumn','getCollabCursors$','setInterval','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','FETCH_MISS','round','use','verdancy600','fillStyle','2594872dunmEB','gold400','_themeService','m1Prime','init','transformMutation','YUUMI_NO_CUBOID_FOR_QUESTION','setTimeout','getActiveSheet','transformByState','_urlService','_instanceService','session.collaboration-timeout','unitID','moveTo','_handleJoinEvent','range','sessionTicket','removeParam','startColumn','getOffsetConfig','transform','transformStateCache','_commandService','beginPath','extend','engine','_updateSubUnitFromURLParams','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','getUnitId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','font','_createSocketURL','div','arc','getConfig','find','YUUMI_SUBSCRIPTION_NOT_FOUND','dispose','all','toRgbString','resize','fill','roomMembers$','reconnect','updateOfflineData','_doCreateSocket','onCommandExecuted','href','selection','symbol','unitId','application/json','mutations','selections','onStarting','_docStateChangeManagerService','apply','collaboration-client-ui.config','getRenderById','measureText','deepClone','getOwnPropertySymbols','MOBILE_HAS_BEEN_BOUND','values','memberID','getUniverSheetInstance','split','_initStatusComponent','_transformPreviousActiveRange','data','storage','_cursorInfo$','_getScale','_assignedColors','complete','102jsuVQe','activeSheet$','closePath','_backgroundColor','_univerInstanceService','doc.mutation.rich-text-editing','_labelPosition','blue400','#FFF','runId','_transformHistoryAndStateStack','cursorInfo$','drawWith','getParam','_setupBeforeClosingHandler','MoveRangeCommandId','DeleteRangeMoveUpCommandId','_scene','660598bagHXo','some','_handleLeaveEvent','UNRECOGNIZED','_entities','8043354XFxYgD','urlChange$','Unknown\x20user','disposeWithMe','_registerRenderDependencies','_document','forEach','path','univer-flex\x20univer-mr-2\x20univer-text-[20px]','startsWith','url(#on-line-single_clip0_910_349)','_anchor','1954379fniSQs','fillText','saveTaskMap','url(#$1','Warning','clipPath','_colorIndex','_messageService','clearTimeout','USER_NOT_INVITED_CODE','_hover','SNAPSHOT_INVALID_SNAPSHOT','167015YstcVn','_memberService','assignAColorForMemberID','univerjs-icon\x20univerjs-icon-','origin','row','_getAnchorBounding','getUndoRedoMutationParamsCache','_collabCursorController','_initDependencies','get','debug','width','TEXT','getViewport','setShapeProps','addClipboardHook','makeDirty','InsertRowCommandId','getRangePointData','triggerDblclick','whenReady','delete','_dataLoaderService','trim','getDocRanges','asObservable','UPDATE_CURSOR','registerRefRange','params','isActive','_hovered','type','8iddrCX','ENSURE_SNAPSHOT_EXECUTION','collab-client.tooltip.reconnect','getActiveRange','OTHER_CLIENT_EDITING','push','addObject','_name','ACTIVE_UNIT_EVENT_CHANNEL','createSocket','session.connection-failed','YUUMI_URL_COL_OUT_OF_RANGE','collaboration.single-unit.warning','call','executeCommand','color','Error','_logService','_textBubble','_initStatusListener','red300','_injector','_docTransformIMECacheService','onPointerLeave$','getTypeOfUnitDisposed$','getMergeData','collaboration.closeRoom','NOT_COLLAB','error','APPLY_REJECT','LICENSE_EXPORT_SIZE_EXCEEDED','_configService','none','pipe','evenodd','_docTransformSelectionsService','transformSelections','onMouseMove','_transformService','unload','_updateLocalCursor','_renderManagerService','length','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','then','/run/','m2Prime','undoState','_onCursorDelete','_saveTaskMap','unit','_disabled','PERMISSION_DENIED'];_0x496d=function(){return _0x4fb874;};return _0x496d();}class qe{constructor(_0x35a3bb,_0x2fc80e,_0x5a15bd,_0x4efb06){const _0x25b41d=_0x4c198e;_(this,_0x25b41d(0x1f0),[]),_(this,'_anchor',null),_(this,_0x25b41d(0x124),null),_(this,'_anchorDot',null),_(this,_0x25b41d(0x250),null),_(this,'_eventUnsubscribe',null),(this[_0x25b41d(0x1de)]=_0x35a3bb,this[_0x25b41d(0xd3)]=_0x2fc80e,this[_0x25b41d(0x26e)]=_0x5a15bd,this[_0x25b41d(0xde)]=_0x4efb06,this[_0x25b41d(0x24c)]());}set['_hover'](_0x394aaf){const _0x481212=_0x4c198e;_0x394aaf?(this[_0x481212(0x149)]&&this['_anchorDot']['hide'](),this[_0x481212(0x124)]&&this[_0x481212(0x124)][_0x481212(0x1b6)]()):(this[_0x481212(0x149)]&&this[_0x481212(0x149)][_0x481212(0x1b6)](),this['_textBubble']&&this['_textBubble'][_0x481212(0x24a)]());}[_0x4c198e(0x2aa)](){const _0x1c24bd=_0x4c198e;for(const _0x60959d of this['_shapes'])_0x60959d[_0x1c24bd(0x2aa)]();this[_0x1c24bd(0x124)]&&this[_0x1c24bd(0x124)]['dispose'](),this['_anchorDot']&&this[_0x1c24bd(0x149)][_0x1c24bd(0x2aa)](),this[_0x1c24bd(0xe4)]&&this['_anchor']['dispose'](),this[_0x1c24bd(0x222)]&&this['_eventUnsubscribe']();}['_render'](){const _0xe009c9=_0x4c198e;var _0x5131e5;const {_docSkeleton:_0x504870,_document:_0x4e6bee}=this,{color:_0x2b13d6,name:_0xac859,ranges:_0x3656cf}=this['_cursor'],_0x508007=_0x4e6bee[_0xe009c9(0x298)](),{docsLeft:_0xeab632,docsTop:_0x4d75d7}=_0x508007,_0x50ea5b=new _0x21f2cc(_0x508007,_0x504870);for(const {startOffset:_0x17122f,endOffset:_0x3659f7,rangeType:_0x3f617c,segmentId:_0x1a5cd8,segmentPage:_0x29047c,collapsed:_0x3af395,isActive:_0x4884eb}of _0x3656cf){const _0x22e785=_0x504870['findNodePositionByCharIndex'](_0x17122f,!0x0,_0x1a5cd8,_0x29047c);let _0x5bbd4c=_0x504870[_0xe009c9(0x1f9)](_0x3659f7,!0x0,_0x1a5cd8,_0x29047c);if(_0x5bbd4c==null&&(_0x5bbd4c=_0x504870['findNodePositionByCharIndex'](_0x3659f7-0x1,!0x1,_0x1a5cd8,_0x29047c)),_0x4884eb){const {contentBoxPointGroup:_0x4b86b5}=_0x50ea5b[_0xe009c9(0x104)](_0x5bbd4c,_0x5bbd4c);if(_0x4b86b5[_0xe009c9(0x13c)]===0x0)continue;this[_0xe009c9(0x181)](_0x2b13d6,_0x4b86b5,_0xeab632,_0x4d75d7,_0xac859),this[_0xe009c9(0x222)]=this['_handleHover']();}if(_0x22e785&&_0x5bbd4c){if(_0x3f617c===_0x23fc60[_0xe009c9(0x276)]){const _0x56c07e=new _0x32d4a4(_0x508007,_0x504870),{pointGroup:_0x5d49a4}=(_0x5131e5=_0x56c07e[_0xe009c9(0x104)](_0x22e785,_0x5bbd4c))!=null?_0x5131e5:{};if(_0x5d49a4==null||_0x5d49a4['length']===0x0)continue;this[_0xe009c9(0x19d)](_0x2b13d6,_0x5d49a4,_0xeab632,_0x4d75d7);}else{if(!_0x3af395){const {borderBoxPointGroup:_0x2fe26b}=_0x50ea5b[_0xe009c9(0x104)](_0x22e785,_0x5bbd4c);if(_0x2fe26b['length']===0x0)continue;this[_0xe009c9(0x178)](_0x2b13d6,_0x2fe26b,_0xeab632,_0x4d75d7);}}}}}['_drawAnchor'](_0x55d972,_0x1f637d,_0x424728,_0x592a01,_0x602d4){const _0xefb15b=_0x4c198e,_0x1952e8=this[_0xefb15b(0xf7)](_0x1f637d),{left:_0x1a3fb0,top:_0x27c0bd,height:_0x1f4c76}=_0x1952e8,_0x1903e4=this[_0xefb15b(0x2cd)](),_0x21e21a=Di/_0x1903e4,_0x42cf87=new _0x37b73c(ge+_0x11e118[_0xefb15b(0x20b)](X),{'left':_0x1a3fb0+_0x424728-_0x21e21a,'top':_0x27c0bd+_0x592a01,'height':_0x1f4c76,'width':Ri,'fill':_0x55d972||_0x4d699a(_0x2ac219['black'],0x0),'strokeWidth':_0x21e21a,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x42cf87,this[_0xefb15b(0xd3)][_0xefb15b(0x118)](_0x42cf87,_0x3cf057);const _0x338377=new _0x37b73c(ge+_0x11e118[_0xefb15b(0x20b)](X),{'left':_0x1a3fb0+_0x424728-_0x21e21a,'top':_0x27c0bd+_0x592a01-ve/0x2,'height':ve,'width':ve,'fill':_0x55d972||_0x4d699a(_0x2ac219['black'],0x0),'strokeWidth':0x0,'stroke':_0x55d972||_0x4d699a(_0x2ac219[_0xefb15b(0x1bf)],0x0),'evented':!0x1});this[_0xefb15b(0x149)]=_0x338377,this[_0xefb15b(0xd3)][_0xefb15b(0x118)](_0x338377,_0x3cf057);const _0x41def5=new he(ge+_0x11e118[_0xefb15b(0x20b)](X),{'left':_0x1a3fb0+_0x424728-_0x21e21a,'top':_0x27c0bd+_0x592a01-ee,'text':_0x602d4,'color':_0x55d972});this[_0xefb15b(0x124)]=_0x41def5,this['_scene'][_0xefb15b(0x118)](_0x41def5,_0x3cf057),this[_0xefb15b(0xef)]=!0x1;}[_0x4c198e(0x154)](){const _0x18a45d=_0x4c198e,_0x3c4810=this[_0x18a45d(0xe4)][_0x18a45d(0x201)]['subscribeEvent'](()=>{const _0x8ebfe2=_0x18a45d;this[_0x8ebfe2(0xef)]=!0x0;}),_0x1ecc66=this[_0x18a45d(0xe4)][_0x18a45d(0x129)]['subscribeEvent'](()=>{const _0x5f49ed=_0x18a45d;this[_0x5f49ed(0x250)]&&clearTimeout(this[_0x5f49ed(0x250)]),this[_0x5f49ed(0x250)]=setTimeout(()=>{const _0x20a914=_0x5f49ed;this[_0x20a914(0xef)]=!0x1;},0x7d0);});return()=>{_0x3c4810['unsubscribe'](),_0x1ecc66['unsubscribe']();};}[_0x4c198e(0x178)](_0x2d7bf5,_0x2e6615,_0x13a187,_0x51a2d1){const _0x1d0249=_0x4c198e,_0x357b82=new _0x20a8d2(_0x2d7bf5)['setAlpha'](0.2)['toRgbString'](),_0x41ef3a=new _0x22732c(Oi+_0x11e118['generateRandomId'](X),{'pointsGroup':_0x2e6615,'fill':_0x357b82||_0x4d699a(_0x2ac219['black'],0.2),'left':_0x13a187,'top':_0x51a2d1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1d0249(0x1f0)][_0x1d0249(0x117)](_0x41ef3a),this['_scene'][_0x1d0249(0x118)](_0x41ef3a,_0x3cf057);}[_0x4c198e(0x19d)](_0x1387c5,_0x4e67a8,_0x238ab1,_0x2fd24f){const _0x14a48d=_0x4c198e,_0xfedd3e=new _0x20a8d2(_0x1387c5)[_0x14a48d(0x1e3)](0.2)[_0x14a48d(0x2ac)](),_0x3f1bd7=new _0x22732c(Ti+_0x11e118[_0x14a48d(0x20b)](X),{'pointsGroup':_0x4e67a8,'fill':_0xfedd3e||_0x4d699a(_0x2ac219[_0x14a48d(0x1bf)],0.2),'left':_0x238ab1,'top':_0x2fd24f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x14a48d(0x1f0)][_0x14a48d(0x117)](_0x3f1bd7),this[_0x14a48d(0xd3)][_0x14a48d(0x118)](_0x3f1bd7,_0x3cf057);}[_0x4c198e(0xf7)](_0x3f2157){const _0x4a1945=_0x3f2157[0x0],_0x33f889=_0x4a1945[0x0],_0x443a6a=_0x4a1945[0x2],{x:_0x109b13,y:_0x1a42e9}=_0x33f889,{x:_0x1d39ce,y:_0x22a3e7}=_0x443a6a;return{'left':_0x109b13,'top':_0x1a42e9,'width':_0x1d39ce-_0x109b13,'height':_0x22a3e7-_0x1a42e9};}[_0x4c198e(0x2cd)](){const _0x5c31d2=_0x4c198e,{scaleX:_0x5b1a07,scaleY:_0x2c10f5}=this[_0x5c31d2(0xd3)]['getAncestorScale']();return Math[_0x5c31d2(0x1e8)](_0x5b1a07,_0x2c10f5);}}var Ui=Object[_0x4c198e(0x1fa)],Mi=(_0x31a348,_0x31fa20,_0x280169,_0x102f8b)=>{for(var _0x4fcc6d=_0x102f8b>0x1?void 0x0:_0x102f8b?Ui(_0x31fa20,_0x280169):_0x31fa20,_0x54d6d5=_0x31a348['length']-0x1,_0x21f6be;_0x54d6d5>=0x0;_0x54d6d5--)(_0x21f6be=_0x31a348[_0x54d6d5])&&(_0x4fcc6d=_0x21f6be(_0x4fcc6d)||_0x4fcc6d);return _0x4fcc6d;},Z=(_0x58844d,_0x23246a)=>(_0x3d0890,_0x5f058e)=>_0x23246a(_0x3d0890,_0x5f058e,_0x58844d);let Pe=class extends _0x146301{constructor(_0x4b4af0,_0x7d4c00,_0x118492,_0x50de6d,_0x6d516c){const _0x5827f1=_0x4c198e;super(),_(this,_0x5827f1(0x164),[]),_(this,_0x5827f1(0x249),[]),(this['_context']=_0x4b4af0,this['_docSkeletonManagerService']=_0x7d4c00,this[_0x5827f1(0xf9)]=_0x118492,this[_0x5827f1(0x29b)]=_0x50de6d,this[_0x5827f1(0x286)]=_0x6d516c,this[_0x5827f1(0x189)]());}[_0x4c198e(0x189)](){const _0x20036a=_0x4c198e,_0x1f2023=this['_context'][_0x20036a(0x2b7)],_0x408657=this[_0x20036a(0x162)];this['disposeWithMe'](_0x45250d([this['_collabCursorController']['getCollabCursors$'](_0x1f2023),this['_themeService'][_0x20036a(0x1e9)]])['pipe'](_0x56e805(([_0x527c74,_0x4818c2])=>({'skeleton':_0x408657[_0x20036a(0x1ba)](),'cursors':[..._0x527c74[_0x20036a(0x2c4)]()][_0x20036a(0x1e5)](_0x3fb292=>({..._0x3fb292,'color':_0x4818c2[_0x3fb292[_0x20036a(0x121)]]}))})))[_0x20036a(0x1c1)](_0x2506c7=>{const _0x5edc7d=_0x20036a;if(this[_0x5edc7d(0x182)](),_0x2506c7){const {skeleton:_0x230968,cursors:_0x1dbea3}=_0x2506c7;this['_updateCollabCursors'](_0x230968,_0x1dbea3);}})),this[_0x20036a(0x168)](),this[_0x20036a(0x256)]();}[_0x4c198e(0x1a7)](_0x5ac63f,_0x12349b){const _0x1ebda9=_0x4c198e,{scene:_0x4b5551,mainComponent:_0x35679f}=this[_0x1ebda9(0x18b)],_0x1f5b43=_0x12349b['map'](_0x5c491e=>new qe(_0x5c491e,_0x4b5551,_0x5ac63f,_0x35679f));this[_0x1ebda9(0x164)]=_0x1f5b43,this[_0x1ebda9(0x249)]=_0x12349b;}[_0x4c198e(0x1c6)](){const _0x1a5054=_0x4c198e;this[_0x1a5054(0x182)]();const {scene:_0x43dbbd,mainComponent:_0x24f6e9}=this[_0x1a5054(0x18b)],_0x979c0=this[_0x1a5054(0x162)]['getSkeleton'](),_0x13ba21=this[_0x1a5054(0x249)]['map'](_0x3d078b=>new qe(_0x3d078b,_0x43dbbd,_0x979c0,_0x24f6e9));this[_0x1a5054(0x164)]=_0x13ba21;}[_0x4c198e(0x182)](){const _0x204c8d=_0x4c198e;this[_0x204c8d(0x164)]['forEach'](_0x569691=>_0x569691[_0x204c8d(0x2aa)]()),this[_0x204c8d(0x164)]=[];}[_0x4c198e(0x256)](){const _0x6656f9=_0x4c198e,_0x22c8e2=[_0x4555a8['id']];this['disposeWithMe'](this[_0x6656f9(0x29b)][_0x6656f9(0x2b3)](_0x40d00f=>{const _0x217e0d=_0x6656f9;_0x22c8e2['includes'](_0x40d00f['id'])&&_0x40d00f['params'][_0x217e0d(0x2b7)]===this[_0x217e0d(0x18b)][_0x217e0d(0x2b7)]&&this[_0x217e0d(0x1c6)]();}));}[_0x4c198e(0x168)](){const _0x280d2a=_0x4c198e;this['disposeWithMe'](_0xf405ef(this['_context'][_0x280d2a(0x29e)]['onTransformChange$'])['pipe'](_0x493186(_0x271cd2=>_0x271cd2[_0x280d2a(0x111)]===_0x117822[_0x280d2a(0x2ad)]),_0xa3f991(0x10))['subscribe'](()=>{const _0x295a79=_0x280d2a;this[_0x295a79(0x1c6)]();}));}};Pe=Mi([Z(0x1,_0x49f398(_0x5c7bdd)),Z(0x2,_0x49f398(H)),Z(0x3,_0x167682),Z(0x4,_0x49f398(_0x1d8a7f))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x1169db{constructor(_0x260397,_0x2ae3a2){const _0x257442=_0x4c198e;super(_0x260397,_0x2ae3a2),_(this,_0x257442(0x1c5)),_(this,_0x257442(0x110),!0x1),_(this,_0x257442(0x199)),_(this,_0x257442(0x119),''),_(this,_0x257442(0x2d6),_0x257442(0x25e)),_(this,_0x257442(0x2d3)),(_0x2ae3a2&&this[_0x257442(0x100)](_0x2ae3a2),this[_0x257442(0x201)][_0x257442(0x1df)](()=>this[_0x257442(0x100)]({'hovered':!0x0})),this[_0x257442(0x129)]['subscribeEvent'](()=>this[_0x257442(0x100)]({'hovered':!0x1})));}['setShapeProps'](_0x9b3f8){const _0x5f56bc=_0x4c198e;var _0x4e58fb,_0x138e3e,_0xa25bf1,_0x2c7d90,_0x4a7f0e,_0x34bdbe;this['_color']=(_0x4e58fb=_0x9b3f8[_0x5f56bc(0x121)])!=null?_0x4e58fb:this[_0x5f56bc(0x1c5)],this[_0x5f56bc(0x110)]=(_0x138e3e=_0x9b3f8[_0x5f56bc(0x1d0)])!=null?_0x138e3e:this['_hovered'],this[_0x5f56bc(0x199)]=(_0xa25bf1=_0x9b3f8[_0x5f56bc(0x294)])!=null?_0xa25bf1:this[_0x5f56bc(0x199)],this[_0x5f56bc(0x119)]=(_0x2c7d90=_0x9b3f8[_0x5f56bc(0x197)])!=null?_0x2c7d90:this[_0x5f56bc(0x119)],this[_0x5f56bc(0x2d6)]=(_0x4a7f0e=_0x9b3f8[_0x5f56bc(0x1fd)])!=null?_0x4a7f0e:this[_0x5f56bc(0x2d6)],this[_0x5f56bc(0x2d3)]=(_0x34bdbe=_0x9b3f8[_0x5f56bc(0x237)])!=null?_0x34bdbe:this['_backgroundColor'],this[_0x5f56bc(0x28d)]({'width':_0x9b3f8[_0x5f56bc(0xfd)],'height':_0x9b3f8['height']});}['onMouseMove'](_0x25abac){const _0x3c5b26=_0x4c198e,{row:_0x18dc8b,column:_0x188a7f}=_0x25abac;if(_0x18dc8b>=this['_range'][_0x3c5b26(0x207)]&&_0x18dc8b<=this[_0x3c5b26(0x199)]['endRow']&&_0x188a7f>=this[_0x3c5b26(0x199)][_0x3c5b26(0x297)]&&_0x188a7f<=this[_0x3c5b26(0x199)][_0x3c5b26(0x27b)]){this[_0x3c5b26(0x100)]({'hovered':!0x0});return;}this[_0x3c5b26(0x100)]({'hovered':!0x1});}[_0x4c198e(0x105)](_0x2fb4c0){return!0x1;}[_0x4c198e(0x1d8)](_0x45bfe8){const _0x1a2199=_0x4c198e;_0x37b73c[_0x1a2199(0xce)](_0x45bfe8,{'width':this['width'],'height':this[_0x1a2199(0x1b2)],'strokeWidth':wi,'stroke':this[_0x1a2199(0x1c5)],'evented':!0x1,'fill':this[_0x1a2199(0x2d3)]}),this[_0x1a2199(0x110)]&&(_0x45bfe8[_0x1a2199(0x1cd)](),_0x45bfe8[_0x1a2199(0x299)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x1a2199(0x1af)?0x0:-0x14),he['drawWith'](_0x45bfe8,{'text':this[_0x1a2199(0x119)],'color':this[_0x1a2199(0x1c5)]}),_0x45bfe8['restore']());}}var Ai=Object[_0x4c198e(0x1fa)],yi=(_0x975333,_0x2674bb,_0x12b6a8,_0x9223a3)=>{for(var _0x13b570=_0x9223a3>0x1?void 0x0:_0x9223a3?Ai(_0x2674bb,_0x12b6a8):_0x2674bb,_0x52540f=_0x975333['length']-0x1,_0x70404e;_0x52540f>=0x0;_0x52540f--)(_0x70404e=_0x975333[_0x52540f])&&(_0x13b570=_0x70404e(_0x13b570)||_0x13b570);return _0x13b570;},Ie=(_0x49f630,_0x52a901)=>(_0x3fae34,_0x3ae718)=>_0x52a901(_0x3fae34,_0x3ae718,_0x49f630);const $i=0x1389;let we=class extends _0x146301{constructor(_0x25dfac,_0x2f4ece,_0x3296a6,_0x2598c3){const _0x3efbe5=_0x4c198e;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x3efbe5(0x18b)]=_0x25dfac,this['_sheetSkeletonManagerService']=_0x2f4ece,this[_0x3efbe5(0xf9)]=_0x3296a6,this['_themeService']=_0x2598c3,this['_init']());}['_init'](){const _0x96c196=_0x4c198e;this['_sheetSkeletonManagerService'][_0x96c196(0x1d9)][_0x96c196(0x133)](_0x23f5fe(this[_0x96c196(0x172)]),_0x1d30e4(_0x2b1822=>{const _0x693046=_0x96c196;if(_0x2b1822){const _0x5134bd=_0x2b1822['sheetId'];return _0x45250d(this[_0x693046(0xf9)][_0x693046(0x27c)](this[_0x693046(0x18b)]['unitId']),this[_0x693046(0x286)][_0x693046(0x1e9)])[_0x693046(0x133)](_0x56e805(([_0x68791e,_0x10bf6a])=>{const _0x51fcd6=_0x693046,_0x4e3ba3=new Map();return _0x68791e[_0x51fcd6(0xdf)]((_0x2fe551,_0x13c463)=>{const _0x33a664=_0x51fcd6;if(_0x2fe551[_0x33a664(0x1d5)]===_0x5134bd){const _0x16bd0d={..._0x2fe551};_0x16bd0d[_0x33a664(0x121)]=_0x10bf6a[_0x2fe551[_0x33a664(0x121)]],_0x4e3ba3[_0x33a664(0x268)](_0x13c463,_0x16bd0d);}}),{'skeleton':_0x2b1822,'cursors':_0x4e3ba3};}));}return _0xab27dc({'skeleton':null,'cursors':new Map()});}))[_0x96c196(0x1c1)](({skeleton:_0x3b487c,cursors:_0x1e5ff4})=>{const _0x5bab96=_0x96c196;this[_0x5bab96(0x182)](),_0x3b487c&&this[_0x5bab96(0x1a7)](_0x3b487c,_0x1e5ff4);}),this[_0x96c196(0x254)][_0x96c196(0x1d9)][_0x96c196(0x1c1)](_0x388f8b=>{const _0x4248bd=_0x96c196;if(_0x388f8b==null)return;const {skeleton:_0x1329dd}=_0x388f8b,{scene:_0x2624d6}=this[_0x4248bd(0x18b)];_0x2624d6['onPointerMove$'][_0x4248bd(0x1df)](_0x2eb465(_0x253fbe=>{const _0x26672f=_0x4248bd;var _0x4a3bc3,_0x254df5;const {offsetX:_0x56e642,offsetY:_0x105fac}=_0x253fbe,{x:_0xd79bdc,y:_0x109922}=_0x2624d6[_0x26672f(0x176)](_0x397878[_0x26672f(0x22c)]([_0x56e642,_0x105fac])),{scaleX:_0x40eb78,scaleY:_0x6e5d72}=_0x2624d6[_0x26672f(0x272)](),_0x1c743d=_0x2624d6[_0x26672f(0xff)](_0x524d49[_0x26672f(0x1b9)]),_0x32c259=_0x2624d6['getVpScrollXYInfoByPosToVp'](_0x397878[_0x26672f(0x22c)]([_0xd79bdc,_0x109922]),_0x1c743d),_0x5694cd=_0x1329dd[_0x26672f(0x1bc)](_0x56e642,_0x105fac,_0x40eb78,_0x6e5d72,_0x32c259);((_0x4a3bc3=this[_0x26672f(0x177)])==null?void 0x0:_0x4a3bc3[_0x26672f(0x1fe)])===_0x5694cd[_0x26672f(0x1fe)]&&((_0x254df5=this['_lastPointer'])==null?void 0x0:_0x254df5['row'])===_0x5694cd[_0x26672f(0xf6)]||this[_0x26672f(0x249)]['forEach'](_0x32463d=>{const _0x5ca6d9=_0x26672f;_0x32463d[_0x5ca6d9(0x137)](_0x5694cd);});},0x64));});}['_updateCollabCursors'](_0x2659ee,_0x40ead1){const _0x36ccb3=_0x4c198e;var _0x500a6d;const _0x1b9998=(_0x500a6d=this[_0x36ccb3(0x254)]['getCurrent']())==null?void 0x0:_0x500a6d[_0x36ccb3(0x248)];if(!_0x1b9998)return;const _0x17851a=this[_0x36ccb3(0x167)]();if(!_0x17851a)return;this[_0x36ccb3(0x249)][_0x36ccb3(0xdf)](_0x2169f4=>{const _0x1dd7c3=_0x36ccb3;_0x2169f4[_0x1dd7c3(0x102)]();});const {scene:_0x46af85}=_0x17851a,_0x5b5f84=xi(Array[_0x36ccb3(0x1d1)](_0x40ead1['values']()))[_0x36ccb3(0x1e1)](_0x3f8706=>{const _0x205971=_0x36ccb3,{color:_0x2d0add,range:_0xbaa41d,name:_0x378514,selection:_0x12a61f,sheetID:_0x1438c2}=_0x3f8706,{startColumn:_0x27d509,startRow:_0xaa169f,endColumn:_0x1a1f63,endRow:_0x34421d}=_0xbaa41d,_0x42afcf=_0x56cd2b(_0xaa169f,_0x27d509,_0x46af85,_0x1b9998),_0x5ccbc9=_0x56cd2b(_0x34421d,_0x1a1f63,_0x46af85,_0x1b9998),{columnHeaderHeightAndMarginTop:_0x488057}=_0x1b9998,{startX:_0x4532d1,startY:_0x5c2028}=_0x42afcf,{endX:_0x73540f,endY:_0x550d32}=_0x5ccbc9,_0x105f83=_0x73540f-_0x4532d1,_0x16592a=_0x550d32-_0x5c2028,_0x1bcd85={'labelPosition':_0x5c2028-_0x488057>=ee?_0x205971(0x25e):_0x205971(0x1af),'sheetID':_0x1438c2,'range':_0xbaa41d,'color':_0x2d0add,'name':_0x378514,'selection':_0x12a61f,'left':_0x4532d1,'top':_0x5c2028,'width':_0x105f83,'height':_0x16592a,'evented':!0x1,'zIndex':$i};return new Li(_0x378514,_0x1bcd85);});_0x46af85[_0x36ccb3(0x17c)](_0x5b5f84,Pi),this[_0x36ccb3(0x249)]=new Set(_0x5b5f84);}['_removeCollabCursors'](){const _0x1e0b36=_0x4c198e;var _0x262c55;(_0x262c55=this[_0x1e0b36(0x249)])==null||_0x262c55[_0x1e0b36(0xdf)](_0xca4d4e=>_0xca4d4e['dispose']());}['_getSheetObject'](){const _0x150907=_0x4c198e;return _0x3a9b54(this[_0x150907(0x18b)]['unit'],this['_context']);}};we=yi([Ie(0x1,_0x49f398(_0x1fbba9)),Ie(0x2,_0x49f398(H)),Ie(0x3,_0x49f398(_0x1d8a7f))],we);function xi(_0x3f1bf4){const _0x212e0b=_0x4c198e,_0xa4ec31=new Map();return _0x3f1bf4[_0x212e0b(0xdf)](_0x480f74=>{const _0x1bc5fd=_0x212e0b;if(_0xa4ec31[_0x1bc5fd(0x1a6)](_0x480f74[_0x1bc5fd(0x2b5)])){const _0x3ab3cd=_0xa4ec31[_0x1bc5fd(0xfb)](_0x480f74[_0x1bc5fd(0x2b5)]);_0x3ab3cd['name']+=',\x20'+_0x480f74[_0x1bc5fd(0x197)];}else _0xa4ec31[_0x1bc5fd(0x268)](_0x480f74[_0x1bc5fd(0x2b5)],_0x480f74);}),Array[_0x212e0b(0x1d1)](_0xa4ec31[_0x212e0b(0x2c4)]());}var I=function(){const _0xfe847b=_0x4c198e;return I=Object[_0xfe847b(0x22a)]||function(_0x2263ed){const _0x1eab74=_0xfe847b;for(var _0x5594eb,_0x22a1ff=0x1,_0x40ae96=arguments[_0x1eab74(0x13c)];_0x22a1ff<_0x40ae96;_0x22a1ff++){_0x5594eb=arguments[_0x22a1ff];for(var _0x5d4d17 in _0x5594eb)Object[_0x1eab74(0x228)][_0x1eab74(0x159)][_0x1eab74(0x11f)](_0x5594eb,_0x5d4d17)&&(_0x2263ed[_0x5d4d17]=_0x5594eb[_0x5d4d17]);}return _0x2263ed;},I[_0xfe847b(0x2bd)](this,arguments);},Bi=function(_0x256644,_0x469a53){const _0x5c5d2e=_0x4c198e;var _0x15f07b={};for(var _0x40f1ea in _0x256644)Object[_0x5c5d2e(0x228)]['hasOwnProperty'][_0x5c5d2e(0x11f)](_0x256644,_0x40f1ea)&&_0x469a53['indexOf'](_0x40f1ea)<0x0&&(_0x15f07b[_0x40f1ea]=_0x256644[_0x40f1ea]);if(_0x256644!=null&&typeof Object[_0x5c5d2e(0x2c2)]==_0x5c5d2e(0x1c2)){for(var _0x16a87e=0x0,_0x40f1ea=Object[_0x5c5d2e(0x2c2)](_0x256644);_0x16a87e<_0x40f1ea[_0x5c5d2e(0x13c)];_0x16a87e++)_0x469a53['indexOf'](_0x40f1ea[_0x16a87e])<0x0&&Object[_0x5c5d2e(0x228)][_0x5c5d2e(0x226)]['call'](_0x256644,_0x40f1ea[_0x16a87e])&&(_0x15f07b[_0x40f1ea[_0x16a87e]]=_0x256644[_0x40f1ea[_0x16a87e]]);}return _0x15f07b;},je=_0x26063f(function(_0x3de453,_0x18899c){const _0x52edec=_0x4c198e;var _0x377a15=_0x3de453[_0x52edec(0x15a)],_0x4d7fae=_0x3de453['id'],_0x866b55=_0x3de453[_0x52edec(0x1e2)],_0x2de55f=_0x3de453[_0x52edec(0x29d)],_0x1f204a=Bi(_0x3de453,[_0x52edec(0x15a),'id',_0x52edec(0x1e2),_0x52edec(0x29d)]),_0x52ca23=_0x52edec(0xf4)[_0x52edec(0x26b)](_0x4d7fae,'\x20')['concat'](_0x866b55||'')[_0x52edec(0x109)](),_0x3f82ae=_0x5c9076('_'[_0x52edec(0x26b)](ji()));return Rt(_0x377a15,''['concat'](_0x4d7fae),{'defIds':_0x377a15[_0x52edec(0x1cc)],'idSuffix':_0x3f82ae['current']},I({'ref':_0x18899c,'className':_0x52ca23},_0x1f204a),_0x2de55f);});function Rt(_0x5324fa,_0x57a243,_0x24f8c8,_0x2e1982,_0x12edd1){const _0x510979=_0x4c198e;return _0x1822dc(_0x5324fa[_0x510979(0x20c)],I(I({'key':_0x57a243},ki(_0x5324fa,_0x24f8c8,_0x12edd1)),_0x2e1982),(Hi(_0x5324fa,_0x24f8c8)[_0x510979(0x218)]||[])['map'](function(_0x99dcb5,_0x4111c6){const _0x1351b1=_0x510979;return Rt(_0x99dcb5,''['concat'](_0x57a243,'-')[_0x1351b1(0x26b)](_0x5324fa['tag'],'-')[_0x1351b1(0x26b)](_0x4111c6),_0x24f8c8,void 0x0,_0x12edd1);}));}function ki(_0x5c3c9c,_0x1a1261,_0x180b90){const _0x31f997=_0x4c198e;var _0x448501=I({},_0x5c3c9c[_0x31f997(0x251)]);_0x180b90!=null&&_0x180b90[_0x31f997(0x1ac)]&&_0x448501[_0x31f997(0x2ae)]===_0x31f997(0x1ac)&&(_0x448501[_0x31f997(0x2ae)]=_0x180b90['colorChannel1']),_0x5c3c9c[_0x31f997(0x20c)]===_0x31f997(0x1a0)&&_0x448501['id']&&(_0x448501['id']=_0x448501['id']+_0x1a1261[_0x31f997(0x1ee)]),Object[_0x31f997(0x203)](_0x448501)[_0x31f997(0xdf)](function(_0x49cb6d){const _0x272752=_0x31f997;var _0x425e6f=_0x49cb6d[0x0],_0x583dd1=_0x49cb6d[0x1];_0x425e6f===_0x272752(0x1a0)&&typeof _0x583dd1==_0x272752(0x265)&&(_0x448501[_0x425e6f]=_0x583dd1[_0x272752(0x23a)](/url\(#(.*)\)/,_0x272752(0xe8)['concat'](_0x1a1261['idSuffix'],')')));});var _0x24e7d6=_0x1a1261['defIds'];return!_0x24e7d6||_0x24e7d6[_0x31f997(0x13c)]===0x0||(_0x5c3c9c['tag']===_0x31f997(0x281)&&_0x448501['xlink:href']&&(_0x448501[_0x31f997(0x150)]=_0x448501[_0x31f997(0x150)]+_0x1a1261['idSuffix']),Object[_0x31f997(0x203)](_0x448501)[_0x31f997(0xdf)](function(_0x20254a){const _0x44715d=_0x31f997;var _0x3c3ec7=_0x20254a[0x0],_0x22030a=_0x20254a[0x1];typeof _0x22030a=='string'&&(_0x448501[_0x3c3ec7]=_0x22030a[_0x44715d(0x23a)](/url\(#(.*)\)/,_0x44715d(0xe8)[_0x44715d(0x26b)](_0x1a1261['idSuffix'],')')));})),_0x448501;}function Hi(_0x528a6a,_0xec0b1b){const _0x302a39=_0x4c198e;var _0x151189,_0x4cf4c2=_0xec0b1b['defIds'];return!_0x4cf4c2||_0x4cf4c2[_0x302a39(0x13c)]===0x0?_0x528a6a:_0x528a6a['tag']===_0x302a39(0x21e)&&(!((_0x151189=_0x528a6a[_0x302a39(0x218)])===null||_0x151189===void 0x0)&&_0x151189[_0x302a39(0x13c)])?I(I({},_0x528a6a),{'children':_0x528a6a[_0x302a39(0x218)][_0x302a39(0x1e1)](function(_0x3a5a24){const _0x4df05b=_0x302a39;return typeof _0x3a5a24[_0x4df05b(0x251)]['id']=='string'&&_0x4cf4c2&&_0x4cf4c2[_0x4df05b(0x152)](_0x3a5a24[_0x4df05b(0x251)]['id'])>-0x1?I(I({},_0x3a5a24),{'attrs':I(I({},_0x3a5a24[_0x4df05b(0x251)]),{'id':_0x3a5a24['attrs']['id']+_0xec0b1b['idSuffix']})}):_0x3a5a24;})}):_0x528a6a;}function ji(){const _0x56eb0b=_0x4c198e;return Math[_0x56eb0b(0x242)]()[_0x56eb0b(0x239)](0x24)[_0x56eb0b(0x274)](0x2,0x8);}je[_0x4c198e(0x1db)]=_0x4c198e(0x26f);var Wi={'tag':_0x4c198e(0x208),'attrs':{'fill':_0x4c198e(0x132),'viewBox':_0x4c198e(0x19f),'width':_0x4c198e(0x16f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4c198e(0x25a)},'children':[{'tag':_0x4c198e(0xe0),'attrs':{'stroke':'currentColor','d':_0x4c198e(0x1bb),'strokeLinecap':_0x4c198e(0x280),'strokeLinejoin':_0x4c198e(0x280),'strokeWidth':1.2}}]},{'tag':_0x4c198e(0x21e),'attrs':{},'children':[{'tag':_0x4c198e(0xea),'attrs':{'id':_0x4c198e(0x275)},'children':[{'tag':_0x4c198e(0xe0),'attrs':{'fill':_0x4c198e(0x233),'d':_0x4c198e(0x1b5)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x26063f(function(_0xbd48fe,_0x177f40){return _0x1822dc(je,Object['assign']({},_0xbd48fe,{'id':'off-line-single','ref':_0x177f40,'icon':Wi}));});Dt[_0x4c198e(0x1db)]=_0x4c198e(0x184);var Fi={'tag':_0x4c198e(0x208),'attrs':{'fill':_0x4c198e(0x132),'viewBox':'0\x200\x2017\x2016','width':_0x4c198e(0x16f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4c198e(0xe3)},'children':[{'tag':_0x4c198e(0xe0),'attrs':{'stroke':_0x4c198e(0x195),'d':_0x4c198e(0x2a0),'strokeLinecap':_0x4c198e(0x280),'strokeLinejoin':_0x4c198e(0x280),'strokeWidth':1.2}}]},{'tag':_0x4c198e(0x21e),'attrs':{},'children':[{'tag':_0x4c198e(0xea),'attrs':{'id':_0x4c198e(0x20f)},'children':[{'tag':_0x4c198e(0xe0),'attrs':{'fill':'#fff','d':_0x4c198e(0x1b5),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4c198e(0x20f)]},Nt=_0x26063f(function(_0x55d07d,_0x4817fb){const _0x285605=_0x4c198e;return _0x1822dc(je,Object[_0x285605(0x22a)]({},_0x55d07d,{'id':'on-line-single','ref':_0x4817fb,'icon':Fi}));});Nt[_0x4c198e(0x1db)]='OnLineSingle';function Yi(_0x3161bf){const _0x5579a6=_0x4c198e;switch(_0x3161bf){case _0x3d7c1a[_0x5579a6(0x24f)]:return'collabStatus.offline';case _0x3d7c1a[_0x5579a6(0x1cb)]:return _0x5579a6(0x1f6);case _0x3d7c1a[_0x5579a6(0x27f)]:return'collabStatus.fetchMiss';case _0x3d7c1a[_0x5579a6(0x12d)]:return'collabStatus.notCollab';case _0x3d7c1a[_0x5579a6(0x210)]:case _0x3d7c1a['AWAITING_WITH_PENDING']:return _0x5579a6(0x187);case _0x3d7c1a[_0x5579a6(0x1be)]:case _0x3d7c1a[_0x5579a6(0x188)]:return'collabStatus.synced';}}function Vi(_0x3e01ba){const _0x5806c9=_0x4c198e,{status$:_0x3705ec}=_0x3e01ba,_0x551a6e=_0x191b92(_0x3705ec,_0x3d7c1a[_0x5806c9(0x12d)]),_0x1abbe0=_0x4f1c61(_0x142e9f),_0x4d878f=_0x4f1c61(_0x943f5),_0x4d3a77=_0x551a6e!==_0x3d7c1a[_0x5806c9(0x24f)],_0x188342=_0x1abbe0['t'](Yi(_0x551a6e)),_0x16903e=_0x4d3a77?_0x17a92e(Nt,{}):_0x17a92e(Dt,{}),_0x199662=_0x50b6c2(()=>{const _0x17aa56=_0x5806c9;_0x4d3a77||_0x4d878f[_0x17aa56(0x2b0)]();},[_0x4d3a77,_0x4d878f]);function _0x56071d(){const _0x170475=_0x5806c9;return _0x597857(_0x170475(0x2a5),{'className':_0x170475(0x214),'onClick':_0x199662,'children':[_0x17a92e('div',{'className':_0x282dce(_0x170475(0xe1),_0x4d3a77?_0x170475(0x18c):'univer-text-red-500'),'children':_0x16903e}),_0x17a92e(_0x170475(0x2a5),{'className':_0x170475(0x1d4),'children':_0x188342})]});}return _0x4d3a77?_0x56071d():_0x17a92e(_0x8e9f5c,{'title':_0x1abbe0['t'](_0x5806c9(0x114)),'children':_0x56071d()});}var Xi=Object[_0x4c198e(0x1fa)],Gi=(_0x3e72ea,_0x1cdac5,_0x502dcd,_0x30bc1c)=>{const _0x2d2088=_0x4c198e;for(var _0x8606cb=_0x30bc1c>0x1?void 0x0:_0x30bc1c?Xi(_0x1cdac5,_0x502dcd):_0x1cdac5,_0x4b0178=_0x3e72ea[_0x2d2088(0x13c)]-0x1,_0x3851a3;_0x4b0178>=0x0;_0x4b0178--)(_0x3851a3=_0x3e72ea[_0x4b0178])&&(_0x8606cb=_0x3851a3(_0x8606cb)||_0x8606cb);return _0x8606cb;},Q=(_0x532fbb,_0x458b72)=>(_0xba01d0,_0x1848cc)=>_0x458b72(_0xba01d0,_0x1848cc,_0x532fbb);let te=class extends _0x7630a4{constructor(_0xd26562,_0x2427c8,_0x1e562c,_0x462fa9){const _0x1519c3=_0x4c198e;super(),_(this,_0x1519c3(0x25b),new _0x20d8ec(_0x3d7c1a[_0x1519c3(0x12d)])),(this[_0x1519c3(0x2d4)]=_0xd26562,this['_injector']=_0x2427c8,this[_0x1519c3(0x216)]=_0x1e562c,this[_0x1519c3(0x19b)]=_0x462fa9,this[_0x1519c3(0x2c8)](),this[_0x1519c3(0x125)]());}[_0x4c198e(0x125)](){const _0x562cf3=_0x4c198e;this[_0x562cf3(0xdc)](this[_0x562cf3(0x2d4)]['focused$'][_0x562cf3(0x133)](_0x49b168(()=>{const _0x4b8a0f=_0x562cf3,_0x3f23df=this['_univerInstanceService'][_0x4b8a0f(0x213)]();return _0x3f23df?this[_0x4b8a0f(0x216)][_0x4b8a0f(0x16a)](_0x3f23df['getUnitId']()):_0xab27dc(null);}),_0x49b168(_0x4c75a3=>_0x4c75a3?_0x4c75a3['status$']:_0xab27dc(_0x3d7c1a[_0x562cf3(0x12d)])))[_0x562cf3(0x1c1)](_0x44c719=>{const _0x226c49=_0x562cf3;this[_0x226c49(0x25b)]['next'](_0x44c719);}));}['_initStatusComponent'](){const _0x15e32a=_0x4c198e;this['disposeWithMe'](this[_0x15e32a(0x19b)]['registerComponent'](_0x4bbbc9['HEADER_MENU'],()=>_0xd83060(Ki({'status$':this['_status$'][_0x15e32a(0x10b)]()}),this[_0x15e32a(0x127)])));}};te=Gi([Q(0x0,_0x1acba7),Q(0x1,_0x49f398(_0x1afadf)),Q(0x2,_0x49f398(_0x370053)),Q(0x3,_0x624a63)],te);function Ki(_0x4c3599){const {status$:_0x16da6f}=_0x4c3599;return function(){return _0x17a92e(Vi,{'status$':_0x16da6f});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x21d8db,_0x3c6f57,_0x24aa33,_0x146a5b)=>{const _0x28580e=_0x4c198e;for(var _0x11a67c=_0x146a5b>0x1?void 0x0:_0x146a5b?zi(_0x3c6f57,_0x24aa33):_0x3c6f57,_0x205b04=_0x21d8db[_0x28580e(0x13c)]-0x1,_0x26ceee;_0x205b04>=0x0;_0x205b04--)(_0x26ceee=_0x21d8db[_0x205b04])&&(_0x11a67c=_0x26ceee(_0x11a67c)||_0x11a67c);return _0x11a67c;},B=(_0x4f0047,_0x1d9bb4)=>(_0x12c40f,_0x3a29b7)=>_0x1d9bb4(_0x12c40f,_0x3a29b7,_0x4f0047);let se=class extends _0x7630a4{constructor(_0x51fc0a,_0x3afe69,_0x301e09,_0x3260a1,_0x481f6b,_0x58cfd8){const _0x4ddebf=_0x4c198e;super(),this[_0x4ddebf(0x1f4)]=_0x51fc0a,this['_localCacheService']=_0x3afe69,this[_0x4ddebf(0x1c7)]=_0x301e09,this['_messageService']=_0x3260a1,this[_0x4ddebf(0x1a3)]=_0x481f6b,this[_0x4ddebf(0x17d)]=_0x58cfd8,this[_0x4ddebf(0xd0)](),this[_0x4ddebf(0x236)]();}['_setupBeforeClosingHandler'](){const _0x43a44d=_0x4c198e;this[_0x43a44d(0xdc)](this[_0x43a44d(0x1f4)][_0x43a44d(0x1c9)](()=>{const _0x408b38=_0x43a44d;if(this['_localCacheService'][_0x408b38(0xe7)][_0x408b38(0x227)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x4c198e(0x236)](){const _0x2da7e6=_0x4c198e;this[_0x2da7e6(0xdc)](this[_0x2da7e6(0x1c7)]['event$'][_0x2da7e6(0x1c1)](_0x52f5ce=>{const _0x482ae0=_0x2da7e6;_0x52f5ce['id']===_0x268985[_0x482ae0(0x116)]&&this[_0x482ae0(0xec)]['show']({'type':_0x1b45b0['Warning'],'content':this['_localeService']['t'](_0x482ae0(0x11e))}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x183)]&&this[_0x482ae0(0xec)]['show']({'type':_0x1b45b0[_0x482ae0(0xe9)],'content':this[_0x482ae0(0x17d)]['t']('collaboration.closeRoom')}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x146)]&&this[_0x482ae0(0x1a3)][_0x482ae0(0x1b6)]({'title':this[_0x482ae0(0x17d)]['t'](_0x482ae0(0x1d2)),'content':this[_0x482ae0(0x17d)]['t']('permission.content'),'type':_0x482ae0(0x12e),'duration':0x0}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x1cb)]&&this[_0x482ae0(0xec)]['show']({'type':_0x1b45b0[_0x482ae0(0x122)],'content':this['_localeService']['t'](_0x482ae0(0x12c))+'('+_0x52f5ce[_0x482ae0(0x2ca)]+')'}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x1b0)]&&this['_messageService']['show']({'type':_0x1b45b0[_0x482ae0(0xe9)],'content':this['_localeService']['t'](_0x52f5ce[_0x482ae0(0x2ca)]||'')}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x252)]&&this[_0x482ae0(0xec)][_0x482ae0(0x1b6)]({'type':_0x1b45b0[_0x482ae0(0xe9)],'content':this['_localeService']['t']('session.will-retry')}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x1b8)]&&this[_0x482ae0(0xec)][_0x482ae0(0x1b6)]({'type':_0x1b45b0[_0x482ae0(0x122)],'content':this[_0x482ae0(0x17d)]['t'](_0x482ae0(0x11c))}),_0x52f5ce['id']===_0x268985[_0x482ae0(0x16c)]&&this[_0x482ae0(0xec)][_0x482ae0(0x1b6)]({'type':_0x1b45b0[_0x482ae0(0x122)],'content':this[_0x482ae0(0x17d)]['t'](_0x482ae0(0x290))});}));}};se=Ji([B(0x0,_0x1d36be),B(0x1,_0x5f4338),B(0x2,_0x49f398(_0x3c635e)),B(0x3,_0x3e1731),B(0x4,_0x592e82),B(0x5,_0x49f398(_0x142e9f))],se);const Zi=_0x4c198e(0x2be),et={},Ut=_0x26fbbb('uni.network.url-service');var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x1c7dc1,_0x35531e,_0x86e0a1,_0x10e67a)=>{const _0xbdc6f3=_0x4c198e;for(var _0x379b2c=_0x10e67a>0x1?void 0x0:_0x10e67a?Qi(_0x35531e,_0x86e0a1):_0x35531e,_0xd14895=_0x1c7dc1[_0xbdc6f3(0x13c)]-0x1,_0x13b1bb;_0xd14895>=0x0;_0xd14895--)(_0x13b1bb=_0x1c7dc1[_0xd14895])&&(_0x379b2c=_0x13b1bb(_0x379b2c)||_0x379b2c);return _0x379b2c;},G=(_0x1e2e90,_0x554a41)=>(_0x3c461c,_0x184398)=>_0x554a41(_0x3c461c,_0x184398,_0x1e2e90);let ie=class extends _0x146301{constructor(_0x19bacf,_0x34fe4f,_0x59d1c7,_0x552aa2,_0x106bf8){const _0x1eafa7=_0x4c198e;super(),this[_0x1eafa7(0x28e)]=_0x19bacf,this['_logService']=_0x34fe4f,this[_0x1eafa7(0x29b)]=_0x59d1c7,this[_0x1eafa7(0x108)]=_0x552aa2,_0x106bf8?_0x106bf8==null||_0x106bf8[_0x1eafa7(0x106)]()[_0x1eafa7(0x13e)](()=>this[_0x1eafa7(0x189)]()):(this[_0x1eafa7(0x123)]['debug'](_0x1eafa7(0x1a2),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1eafa7(0x189)]());}async['_init'](){const _0x550cb5=_0x4c198e,_0x1f7da1=this[_0x550cb5(0x28e)][_0x550cb5(0xcf)](_0x550cb5(0x144)),_0x2b999e=this[_0x550cb5(0x28e)][_0x550cb5(0xcf)](_0x550cb5(0x111)),_0x2c21f8=this[_0x550cb5(0x28e)]['getParam'](_0x550cb5(0x24e));if(!_0x1f7da1||!_0x2b999e){this[_0x550cb5(0x123)][_0x550cb5(0xfc)]('[CollaborationDataLoaderController]',_0x550cb5(0x27e));return;}const _0x1aca98=await this[_0x550cb5(0x108)][_0x550cb5(0x244)](_0x1f7da1,Number(_0x2b999e),_0x2c21f8);_0x1aca98&&_0x1aca98 instanceof _0x9c45fd&&this[_0x550cb5(0x1aa)](_0x1aca98);}async['_setupSubUnitSync'](_0x15480c){const _0x1dc804=_0x4c198e;await this[_0x1dc804(0x29f)](_0x15480c),_0x15480c[_0x1dc804(0x2d1)][_0x1dc804(0x133)](_0x3ce21b(this[_0x1dc804(0x172)]))[_0x1dc804(0x1c1)](_0xf8f760=>{const _0x33c716=_0x1dc804;_0xf8f760&&this[_0x33c716(0x1b7)](_0xf8f760);}),this[_0x1dc804(0x28e)][_0x1dc804(0xda)][_0x1dc804(0x133)](_0x3ce21b(this[_0x1dc804(0x172)]))[_0x1dc804(0x1c1)](()=>this[_0x1dc804(0x29f)](_0x15480c));}[_0x4c198e(0x1b7)](_0x194586,_0x251fbb=!0x1){const _0x161919=_0x4c198e,_0x4dc20e=this[_0x161919(0x28e)]['getParam'](_0x161919(0x24e));_0x194586[_0x161919(0x17b)]()!==_0x4dc20e&&this['_urlService'][_0x161919(0x15e)](_0x161919(0x24e),_0x194586['getSheetId'](),_0x251fbb);}async[_0x4c198e(0x29f)](_0xa62c3){const _0x2396c4=_0x4c198e;var _0x2cc742;const _0x40d507=this[_0x2396c4(0x28e)][_0x2396c4(0xcf)](_0x2396c4(0x24e));if(!_0x40d507||!_0xa62c3[_0x2396c4(0x23e)](_0x40d507)){const _0x586ca2=_0xa62c3[_0x2396c4(0x206)]()[0x0],_0x300f42=_0xa62c3[_0x2396c4(0x23e)](_0x586ca2);if(!_0x300f42)return;this['_updateURLWithCurrentState'](_0x300f42,!0x0),await this[_0x2396c4(0x29b)][_0x2396c4(0x120)](_0x9e9e43['id'],{'unitId':_0xa62c3['getUnitId'](),'subUnitId':_0x586ca2});return;}((_0x2cc742=_0xa62c3[_0x2396c4(0x28c)]())==null?void 0x0:_0x2cc742[_0x2396c4(0x17b)]())!==_0x40d507&&await this[_0x2396c4(0x29b)][_0x2396c4(0x120)](_0x9e9e43['id'],{'unitId':_0xa62c3[_0x2396c4(0x2a1)](),'subUnitId':_0x40d507});}};function _0x4497(_0x937c2,_0x4180af){const _0x496d3f=_0x496d();return _0x4497=function(_0x44977e,_0x3d5f34){_0x44977e=_0x44977e-0xce;let _0x5d0e2f=_0x496d3f[_0x44977e];return _0x5d0e2f;},_0x4497(_0x937c2,_0x4180af);}ie=qi([G(0x0,Ut),G(0x1,_0x445b5c),G(0x2,_0x167682),G(0x3,_0x49f398(_0x441cd1)),G(0x4,_0x29f068(_0x378366))],ie);var en=Object[_0x4c198e(0x1fa)],tn=(_0x365a90,_0x475d13,_0xbf5490,_0x2ca60d)=>{const _0x5a1158=_0x4c198e;for(var _0xbaf9e3=_0x2ca60d>0x1?void 0x0:_0x2ca60d?en(_0x475d13,_0xbf5490):_0x475d13,_0x2b2cad=_0x365a90[_0x5a1158(0x13c)]-0x1,_0x12595e;_0x2b2cad>=0x0;_0x2b2cad--)(_0x12595e=_0x365a90[_0x2b2cad])&&(_0xbaf9e3=_0x12595e(_0xbaf9e3)||_0xbaf9e3);return _0xbaf9e3;},pe=(_0x4823eb,_0x191f75)=>(_0x27eb2f,_0x318a7f)=>_0x191f75(_0x27eb2f,_0x318a7f,_0x4823eb);let ne=class{constructor(_0x608f06,_0xb3a574,_0x426ad0){const _0x4505ed=_0x4c198e;this[_0x4505ed(0x127)]=_0x608f06,this[_0x4505ed(0x138)]=_0xb3a574,this[_0x4505ed(0x13b)]=_0x426ad0;}[_0x4c198e(0x190)](_0x5f38da){const _0x5728f4=_0x4c198e;this[_0x5728f4(0x25d)](_0x5f38da),this[_0x5728f4(0x2c9)](_0x5f38da);}[_0x4c198e(0x175)](_0x251539){const _0x5ec430=_0x4c198e,{unitID:_0x24713d}=_0x251539,_0x100053=this[_0x5ec430(0x13b)]['getRenderById'](_0x24713d)['with'](_0x4be6bd),{redoCache:_0x91717a}=_0x100053[_0x5ec430(0xf8)]();if(_0x91717a[_0x5ec430(0x13c)]===0x0)return _0x251539;let _0x269857=_0x11e118[_0x5ec430(0x2c1)](_0x251539[_0x5ec430(0x2b9)][0x0]);for(let _0x23bc00=0x0;_0x23bc00<_0x91717a[_0x5ec430(0x13c)];_0x23bc00++){const _0x29ac05={'id':'doc.mutation.rich-text-editing','params':{..._0x91717a[_0x23bc00]}},_0x76ea5f=this['_transformService'][_0x5ec430(0x289)](_0x269857,_0x29ac05,!0x1);if(_0x3a621e(_0x76ea5f))throw _0x76ea5f[_0x5ec430(0x12e)];_0x269857=_0x76ea5f['m1Prime'];}return{..._0x11e118[_0x5ec430(0x2c1)](_0x251539),'mutations':[_0x269857]};}[_0x4c198e(0x25d)](_0x5c9a50){const _0xaa3ace=_0x4c198e,{unitID:_0x3fb675}=_0x5c9a50,_0x56a98e=this[_0xaa3ace(0x13b)][_0xaa3ace(0x2bf)](_0x3fb675)[_0xaa3ace(0x243)](_0x4be6bd),{undoCache:_0x777d2,redoCache:_0x146c82}=_0x56a98e[_0xaa3ace(0xf8)]();if(_0x777d2[_0xaa3ace(0x13c)]===0x0||_0x146c82[_0xaa3ace(0x13c)]===0x0)return;const _0x5f7bf=[],_0x43b490=[];let _0x2d5377=_0x11e118[_0xaa3ace(0x2c1)](_0x5c9a50['mutations'][0x0]),_0x3268f2=_0x11e118['deepClone'](_0x5c9a50[_0xaa3ace(0x2b9)][0x0]);for(let _0xded06a=_0x777d2[_0xaa3ace(0x13c)]-0x1;_0xded06a>=0x0;_0xded06a--){const _0x4682d8={'id':'doc.mutation.rich-text-editing','params':{..._0x777d2[_0xded06a]}},_0x26fd67={'id':_0xaa3ace(0x2d5),'params':{..._0x146c82[_0xded06a]}},_0x4ed968=this[_0xaa3ace(0x138)][_0xaa3ace(0x289)](_0x2d5377,_0x4682d8,!0x1),_0x339cf9=this['_transformService'][_0xaa3ace(0x289)](_0x3268f2,_0x26fd67,!0x1);if(_0x3a621e(_0x4ed968))throw _0x4ed968[_0xaa3ace(0x12e)];if(_0x3a621e(_0x339cf9))throw _0x339cf9[_0xaa3ace(0x12e)];_0x5f7bf[_0xaa3ace(0x258)](_0x4ed968[_0xaa3ace(0x140)][_0xaa3ace(0x10e)]),_0x43b490[_0xaa3ace(0x258)](_0x339cf9['m2Prime'][_0xaa3ace(0x10e)]),_0x2d5377=_0x4ed968[_0xaa3ace(0x287)],_0x3268f2=_0x339cf9['m1Prime'];}_0x56a98e['setUndoRedoMutationParamsCache']({'undoCache':_0x5f7bf,'redoCache':_0x43b490});}[_0x4c198e(0x2c9)](_0x4271c7){const _0x35b552=_0x4c198e,{unitID:_0x1ecc26}=_0x4271c7,_0x2e31e9=this['_renderManagerService'][_0x35b552(0x2bf)](_0x1ecc26)[_0x35b552(0x243)](_0x4be6bd),_0xa32259=_0x2e31e9[_0x35b552(0x115)]();if(_0xa32259==null)return;const _0x4934bb=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4271c7[_0x35b552(0x291)],'actions':null,'textRanges':[_0xa32259]}}],_0xb22502=this[_0x35b552(0x138)][_0x35b552(0x20a)](_0x4271c7,_0x4934bb);if(!_0x2e54a4(_0xb22502))throw _0xb22502[_0x35b552(0x12e)];const _0x191759=_0xb22502[_0x35b552(0x140)][0x0]['params'][_0x35b552(0x235)];Array['isArray'](_0x191759)&&_0x191759[_0x35b552(0x13c)]&&_0x2e31e9[_0x35b552(0x169)](_0x191759[0x0]);}};ne=tn([pe(0x0,_0x49f398(_0x1afadf)),pe(0x1,_0x14357d),pe(0x2,_0x414d16)],ne);var sn=Object[_0x4c198e(0x1fa)],nn=(_0x4a889a,_0xc44670,_0x48a8a7,_0x187ba7)=>{const _0x1fabfb=_0x4c198e;for(var _0x2f2a4b=_0x187ba7>0x1?void 0x0:_0x187ba7?sn(_0xc44670,_0x48a8a7):_0xc44670,_0x25784a=_0x4a889a[_0x1fabfb(0x13c)]-0x1,_0x2385d8;_0x25784a>=0x0;_0x25784a--)(_0x2385d8=_0x4a889a[_0x25784a])&&(_0x2f2a4b=_0x2385d8(_0x2f2a4b)||_0x2f2a4b);return _0x2f2a4b;},Ce=(_0x42e940,_0x4fc019)=>(_0x291de8,_0x24a8b0)=>_0x4fc019(_0x291de8,_0x24a8b0,_0x42e940);let re=class{constructor(_0x538287,_0x67cd83,_0x1bfb4c){const _0x5686b8=_0x4c198e;this[_0x5686b8(0x127)]=_0x538287,this[_0x5686b8(0x138)]=_0x67cd83,this[_0x5686b8(0x2bc)]=_0x1bfb4c;}[_0x4c198e(0x29a)](_0x19815d){const _0x489f30=_0x4c198e;this[_0x489f30(0x2da)](_0x19815d);}[_0x4c198e(0x175)](_0x8beb5){const _0x5c4fdb=_0x4c198e,{unitID:_0x464095}=_0x8beb5,{collaboration:_0xbebba5}=this['_docStateChangeManagerService'][_0x5c4fdb(0x18f)](_0x464095);if(_0xbebba5[_0x5c4fdb(0x13c)]===0x0)return _0x8beb5;let _0x52062d=_0x11e118[_0x5c4fdb(0x2c1)](_0x8beb5[_0x5c4fdb(0x2b9)][0x0]);for(let _0x47fa2d=0x0;_0x47fa2d<_0xbebba5['length'];_0x47fa2d++){const _0x70b374={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xbebba5[_0x47fa2d][_0x5c4fdb(0x2b7)],..._0xbebba5[_0x47fa2d][_0x5c4fdb(0x1a9)]}},_0x56b630=this['_transformService']['transformMutation'](_0x52062d,_0x70b374,!0x1);if(_0x3a621e(_0x56b630))throw _0x56b630[_0x5c4fdb(0x12e)];_0x52062d=_0x56b630[_0x5c4fdb(0x287)];}return{..._0x11e118['deepClone'](_0x8beb5),'mutations':[_0x52062d]};}[_0x4c198e(0x2da)](_0x2d6ca6){const _0x375311=_0x4c198e,{unitID:_0x19573c}=_0x2d6ca6,{history:_0x8b4d00,collaboration:_0x455b1f}=this[_0x375311(0x2bc)][_0x375311(0x18f)](_0x19573c);if(_0x8b4d00['length']===0x0&&_0x455b1f['length']===0x0)return;const _0x3d2039=[],_0x398a3a=[];let _0xf82fcb=_0x11e118[_0x375311(0x2c1)](_0x2d6ca6[_0x375311(0x2b9)][0x0]),_0x2fe48b=_0x11e118[_0x375311(0x2c1)](_0x2d6ca6[_0x375311(0x2b9)][0x0]);for(let _0x338370=_0x8b4d00[_0x375311(0x13c)]-0x1;_0x338370>=0x0;_0x338370--){const _0x3c03a7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8b4d00[_0x338370]['unitId'],..._0x8b4d00[_0x338370][_0x375311(0x141)]}},_0x8edb9b={'id':_0x375311(0x2d5),'params':{'unitId':_0x8b4d00[_0x338370]['unitId'],..._0x8b4d00[_0x338370][_0x375311(0x1a9)]}},_0x5b109d=this[_0x375311(0x138)]['transformMutation'](_0xf82fcb,_0x3c03a7,!0x1),_0x138819=this[_0x375311(0x138)]['transformMutation'](_0x2fe48b,_0x8edb9b,!0x1);if(_0x3a621e(_0x5b109d))throw _0x5b109d[_0x375311(0x12e)];if(_0x3a621e(_0x138819))throw _0x138819[_0x375311(0x12e)];_0x3d2039['unshift']({..._0x8b4d00[_0x338370],'undoState':_0x5b109d[_0x375311(0x140)][_0x375311(0x10e)],'redoState':_0x138819[_0x375311(0x140)][_0x375311(0x10e)]}),_0xf82fcb=_0x5b109d['m1Prime'],_0x2fe48b=_0x138819['m1Prime'];}_0xf82fcb=_0x11e118[_0x375311(0x2c1)](_0x2d6ca6[_0x375311(0x2b9)][0x0]),_0x2fe48b=_0x11e118[_0x375311(0x2c1)](_0x2d6ca6[_0x375311(0x2b9)][0x0]);for(let _0x27614e=_0x455b1f[_0x375311(0x13c)]-0x1;_0x27614e>=0x0;_0x27614e--){const _0x5eba2e={'id':_0x375311(0x2d5),'params':{'unitId':_0x455b1f[_0x27614e]['unitId'],..._0x455b1f[_0x27614e][_0x375311(0x141)]}},_0x223fec={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x455b1f[_0x27614e][_0x375311(0x2b7)],..._0x455b1f[_0x27614e][_0x375311(0x1a9)]}},_0x3c9d0b=this[_0x375311(0x138)][_0x375311(0x289)](_0xf82fcb,_0x5eba2e,!0x1),_0x5bdfa8=this[_0x375311(0x138)][_0x375311(0x289)](_0x2fe48b,_0x223fec,!0x1);if(_0x3a621e(_0x3c9d0b))throw _0x3c9d0b[_0x375311(0x12e)];if(_0x3a621e(_0x5bdfa8))throw _0x5bdfa8['error'];_0x398a3a['unshift']({..._0x455b1f[_0x27614e],'undoState':_0x3c9d0b['m2Prime'][_0x375311(0x10e)],'redoState':_0x5bdfa8[_0x375311(0x140)][_0x375311(0x10e)]}),_0xf82fcb=_0x3c9d0b[_0x375311(0x287)],_0x2fe48b=_0x5bdfa8[_0x375311(0x287)];}this['_docStateChangeManagerService'][_0x375311(0x220)](_0x19573c,{'history':_0x3d2039,'collaboration':_0x398a3a});}};re=nn([Ce(0x0,_0x49f398(_0x1afadf)),Ce(0x1,_0x14357d),Ce(0x2,_0x49f398(_0x26ce67))],re);var rn=Object[_0x4c198e(0x1fa)],on=(_0xf92a07,_0x198cc1,_0xe19f63,_0x8429c6)=>{const _0x300868=_0x4c198e;for(var _0xe86634=_0x8429c6>0x1?void 0x0:_0x8429c6?rn(_0x198cc1,_0xe19f63):_0x198cc1,_0x557df4=_0xf92a07[_0x300868(0x13c)]-0x1,_0x386a32;_0x557df4>=0x0;_0x557df4--)(_0x386a32=_0xf92a07[_0x557df4])&&(_0xe86634=_0x386a32(_0xe86634)||_0xe86634);return _0xe86634;},tt=(_0x4fe63d,_0x1a9321)=>(_0x1dcf95,_0x674ae5)=>_0x1a9321(_0x1dcf95,_0x674ae5,_0x4fe63d);let oe=class{constructor(_0x2d7992,_0x2219cd){const _0x28d837=_0x4c198e;this[_0x28d837(0x127)]=_0x2d7992,this['_transformService']=_0x2219cd;}[_0x4c198e(0x136)](_0x377efd){const _0x3e4f30=_0x4c198e;var _0x4911bf;const _0x4d8d24=this[_0x3e4f30(0x127)][_0x3e4f30(0xfb)](_0x5287a1),_0xfafff5=(_0x4911bf=_0x4d8d24[_0x3e4f30(0x10a)]())!=null?_0x4911bf:[];if(_0xfafff5['length']===0x0)return;const _0x1fef41=_0x377efd['unitID'],_0x48068d=[{'id':_0x3e4f30(0x2d5),'params':{'unitId':_0x1fef41,'actions':null,'textRanges':_0xfafff5}}],_0x434c0b=this['_transformService'][_0x3e4f30(0x20a)](_0x377efd,_0x48068d);if(!_0x2e54a4(_0x434c0b))throw _0x434c0b[_0x3e4f30(0x12e)];const _0x746bb0=_0x434c0b['m2Prime'][0x0][_0x3e4f30(0x10e)][_0x3e4f30(0x235)];Array['isArray'](_0x746bb0)&&_0x746bb0[_0x3e4f30(0x13c)]&&_0x4d8d24[_0x3e4f30(0x1ad)](_0x746bb0,{'unitId':_0x1fef41,'subUnitId':_0x1fef41},!0x1);}};oe=on([tt(0x0,_0x49f398(_0x1afadf)),tt(0x1,_0x14357d)],oe);var an=Object[_0x4c198e(0x1fa)],cn=(_0x147b61,_0x2e9a0d,_0x2141ef,_0x1c9bf1)=>{const _0x195dba=_0x4c198e;for(var _0x58f1df=_0x1c9bf1>0x1?void 0x0:_0x1c9bf1?an(_0x2e9a0d,_0x2141ef):_0x2e9a0d,_0x26d02c=_0x147b61[_0x195dba(0x13c)]-0x1,_0x310529;_0x26d02c>=0x0;_0x26d02c--)(_0x310529=_0x147b61[_0x26d02c])&&(_0x58f1df=_0x310529(_0x58f1df)||_0x58f1df);return _0x58f1df;},U=(_0x4aedce,_0x1eb4e7)=>(_0x892a9a,_0x17afb5)=>_0x1eb4e7(_0x892a9a,_0x17afb5,_0x4aedce);let ae=class extends _0x7630a4{constructor(_0x1b3bc6,_0x1a2372,_0x54e2ea,_0x40f19f,_0x12037b,_0xf823c9,_0x912c69,_0x3f50e0){const _0x4031c9=_0x4c198e;super(),_(this,_0x4031c9(0x25b),new _0x20d8ec(_0x3d7c1a[_0x4031c9(0x12d)])),(this[_0x4031c9(0x2bc)]=_0x1b3bc6,this[_0x4031c9(0x216)]=_0x1a2372,this['_docTransformIMECacheService']=_0x54e2ea,this[_0x4031c9(0x14e)]=_0x40f19f,this[_0x4031c9(0x135)]=_0x12037b,this[_0x4031c9(0x147)]=_0xf823c9,this['_messageService']=_0x912c69,this[_0x4031c9(0x17d)]=_0x3f50e0,this['_initEntityListener']());}['_initEntityListener'](){const _0x19aa5f=_0x4c198e;this[_0x19aa5f(0xdc)](this[_0x19aa5f(0x216)][_0x19aa5f(0x1a8)][_0x19aa5f(0x1c1)](_0x2cc01a=>{const _0x461cf9=_0x19aa5f,_0x547e79=this[_0x461cf9(0x2bc)][_0x461cf9(0x23f)][_0x461cf9(0x1c1)](_0x4ebceb=>{const _0x31c26c=_0x461cf9;if(_0x4ebceb==null)return;const {unitId:_0x17ba7b,redoState:_0xe0d08b,commandId:_0x4dedd4}=_0x4ebceb;if(_0x17ba7b!==_0x2cc01a['unitID'])return;const _0x47c182={'id':_0x4dedd4,'type':_0x110e67[_0x31c26c(0x16e)],'params':{'unitId':_0x17ba7b,'actions':_0xe0d08b[_0x31c26c(0x1cf)],'textRanges':null}};_0x2cc01a[_0x31c26c(0x22e)](_0x47c182);});if(_0x2cc01a['disposeWithMe'](_0x547e79),_0x2cc01a instanceof _0x400eda){const _0x422780={'onTransformIME':_0x2feacd=>this[_0x461cf9(0x128)]['transformIMECache'](_0x2feacd),'onTransformState':_0x2a0c74=>this[_0x461cf9(0x14e)][_0x461cf9(0x29a)](_0x2a0c74),'onTransformSelections':_0x196d28=>this[_0x461cf9(0x135)][_0x461cf9(0x136)](_0x196d28),'onSyncEditingCollabCursor':_0x7c6466=>this[_0x461cf9(0x147)]['syncEditingCollabCursor'](_0x7c6466),'onTransformRemoteChangesetByIMECache':_0x2d9c12=>this[_0x461cf9(0x128)]['transformRemoteChangeset'](_0x2d9c12),'onTransformRemoteChangesetByStateCache':_0x193453=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x193453)};_0x2cc01a[_0x461cf9(0x257)](_0x422780);}}));}};ae=cn([U(0x0,_0x49f398(_0x26ce67)),U(0x1,_0x49f398(_0x370053)),U(0x2,_0x49f398(ne)),U(0x3,_0x49f398(re)),U(0x4,_0x49f398(oe)),U(0x5,_0x49f398(He)),U(0x6,_0x3e1731),U(0x7,_0x49f398(_0x142e9f))],ae);var ln=Object[_0x4c198e(0x1fa)],_n=(_0xab2407,_0x485d98,_0x25bfc8,_0x2b95d1)=>{const _0x211269=_0x4c198e;for(var _0x2198d4=_0x2b95d1>0x1?void 0x0:_0x2b95d1?ln(_0x485d98,_0x25bfc8):_0x485d98,_0x1dc9f1=_0xab2407[_0x211269(0x13c)]-0x1,_0x117f75;_0x1dc9f1>=0x0;_0x1dc9f1--)(_0x117f75=_0xab2407[_0x1dc9f1])&&(_0x2198d4=_0x117f75(_0x2198d4)||_0x2198d4);return _0x2198d4;},Ee=(_0x50267e,_0x5c534f)=>(_0x565e52,_0x214a7d)=>_0x5c534f(_0x565e52,_0x214a7d,_0x50267e);let Le=class extends _0x7630a4{constructor(_0x140dcc,_0x2a24f0,_0x454564){const _0x3ec50a=_0x4c198e;super(),_(this,'_cachedData',new Map()),_(this,_0x3ec50a(0x143),new Map()),_(this,_0x3ec50a(0x145),!0x1),(this[_0x3ec50a(0x131)]=_0x140dcc,this['_localStorageService']=_0x2a24f0,this[_0x3ec50a(0x1d6)]=_0x454564);}[_0x4c198e(0x18d)](){const _0x5956ec=_0x4c198e;this[_0x5956ec(0x145)]=!0x0;}[_0x4c198e(0x171)](){this['_disabled']=!0x1;}get[_0x4c198e(0xe7)](){const _0x3d0df1=_0x4c198e;return this[_0x3d0df1(0x143)];}['dispose'](){const _0x4345a6=_0x4c198e;this['exhaustSavingTask']()[_0x4345a6(0x13e)](()=>super[_0x4345a6(0x2aa)]());}async[_0x4c198e(0x21a)](_0x1ee8ed){const _0x49237a=_0x4c198e;return this[_0x49237a(0x145)]?null:this[_0x49237a(0x212)][_0x49237a(0x16d)](_0x3968f6(_0x1ee8ed));}async[_0x4c198e(0x1d7)](_0x287a0d,_0x21ad48){return!!this['_localStorageService']['setItem'](_0x287a0d,_0x21ad48);}[_0x4c198e(0x2b1)](_0x2f2a3b,_0x439baa,_0x434a42,_0x2d934c){const _0x567fda=_0x4c198e,_0x76fe3c=this[_0x567fda(0x1d6)][_0x567fda(0x1f3)](_0x2f2a3b);this['_cachedData'][_0x567fda(0x268)](_0x2f2a3b,{'unitID':_0x2f2a3b,'type':_0x439baa,'awaitingChangeset':_0x434a42,'mutations':_0x2d934c,'rev':_0x76fe3c}),this[_0x567fda(0x143)][_0x567fda(0x1a6)](_0x2f2a3b)||this[_0x567fda(0x192)](_0x2f2a3b);}[_0x4c198e(0x192)](_0x32836a){const _0x21717c=_0x4c198e,_0x23dbba=this[_0x21717c(0x148)]();_0x23dbba===0x0?this[_0x21717c(0x1f8)](_0x32836a):this[_0x21717c(0x143)][_0x21717c(0x268)](_0x32836a,setTimeout(()=>this[_0x21717c(0x1f8)](_0x32836a),_0x23dbba));}[_0x4c198e(0x148)](){const _0xae6ee2=_0x4c198e;var _0x1eb8d8;return(_0x1eb8d8=this[_0xae6ee2(0x131)][_0xae6ee2(0x2a7)](_0x2508b0))!=null?_0x1eb8d8:_0x33c8b9;}[_0x4c198e(0x1f8)](_0x5d1bd2){const _0x1bacbf=_0x4c198e,_0x9d94da=this['_saveTaskMap'][_0x1bacbf(0xfb)](_0x5d1bd2);return _0x9d94da!==void 0x0&&window[_0x1bacbf(0xed)](_0x9d94da),this[_0x1bacbf(0x212)][_0x1bacbf(0x17f)](_0x3968f6(_0x5d1bd2),this[_0x1bacbf(0x23c)][_0x1bacbf(0xfb)](_0x5d1bd2))[_0x1bacbf(0x13e)](()=>this[_0x1bacbf(0x143)][_0x1bacbf(0x107)](_0x5d1bd2));}async[_0x4c198e(0x26a)](){const _0x26ae31=_0x4c198e,_0x2dddd=[];this[_0x26ae31(0x143)]['forEach']((_0x4439b5,_0x4bae12)=>{const _0x58f39f=_0x26ae31;window[_0x58f39f(0xed)](_0x4439b5),_0x2dddd[_0x58f39f(0x117)](this[_0x58f39f(0x1f8)](_0x4bae12)[_0x58f39f(0x13e)](()=>{this['_saveTaskMap']['delete'](_0x4bae12);}));}),await Promise[_0x26ae31(0x2ab)](_0x2dddd);}};Le=_n([Ee(0x0,_0x1723d8),Ee(0x1,_0x352217),Ee(0x2,_0x49f398(_0x7e56a6))],Le);class hn extends _0x146301{constructor(){const _0x460107=_0x4c198e;super(),_(this,_0x460107(0xda)),this[_0x460107(0xda)]=_0x25c95a(window,'popstate')['pipe'](_0x3ce21b(this[_0x460107(0x172)]),_0x3d5ae6(0x1),_0x1f1293(void 0x0));}[_0x4c198e(0x15e)](_0x4937bc,_0x45734b,_0x1d9c95=!0x1){const _0x3d119a=_0x4c198e,_0x16b916=new URL(window[_0x3d119a(0x1f5)][_0x3d119a(0x2b4)]);_0x16b916[_0x3d119a(0x1eb)]['set'](_0x4937bc,_0x45734b),_0x1d9c95?window['history'][_0x3d119a(0x1ca)]('','',_0x16b916[_0x3d119a(0x239)]()):window[_0x3d119a(0x1e0)]['pushState']('','',_0x16b916[_0x3d119a(0x239)]());}[_0x4c198e(0x296)](_0x254c0e,_0x5f137b=!0x1){const _0x26a30d=_0x4c198e,_0x3f9b47=new URL(window[_0x26a30d(0x1f5)][_0x26a30d(0x2b4)]);_0x3f9b47[_0x26a30d(0x1eb)][_0x26a30d(0x107)](_0x254c0e),_0x5f137b?window[_0x26a30d(0x1e0)][_0x26a30d(0x1ca)]('','',_0x3f9b47[_0x26a30d(0x239)]()):window[_0x26a30d(0x1e0)][_0x26a30d(0x14f)]('','',_0x3f9b47[_0x26a30d(0x239)]());}['getParam'](_0xa284ad){const _0x329d48=_0x4c198e;var _0x1a2456;return(_0x1a2456=new URL(window[_0x329d48(0x1f5)]['href'])[_0x329d48(0x1eb)][_0x329d48(0xfb)](_0xa284ad))!=null?_0x1a2456:void 0x0;}}var un=Object[_0x4c198e(0x21d)],dn=Object[_0x4c198e(0x1fa)],fn=(_0x52c6d3,_0x96a867,_0x17d3be)=>_0x96a867 in _0x52c6d3?un(_0x52c6d3,_0x96a867,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17d3be}):_0x52c6d3[_0x96a867]=_0x17d3be,Sn=(_0x6f0dba,_0x34c049,_0x179593,_0x46a622)=>{const _0x45f673=_0x4c198e;for(var _0x34d97c=_0x46a622>0x1?void 0x0:_0x46a622?dn(_0x34c049,_0x179593):_0x34c049,_0x1d2364=_0x6f0dba[_0x45f673(0x13c)]-0x1,_0x1c3dbc;_0x1d2364>=0x0;_0x1d2364--)(_0x1c3dbc=_0x6f0dba[_0x1d2364])&&(_0x34d97c=_0x1c3dbc(_0x34d97c)||_0x34d97c);return _0x34d97c;},be=(_0x1abf4a,_0x5313b6)=>(_0x4acdf0,_0x193c66)=>_0x5313b6(_0x4acdf0,_0x193c66,_0x1abf4a),mn=(_0x3a0fde,_0x9c78f9,_0x1370dc)=>fn(_0x3a0fde,_0x9c78f9+'',_0x1370dc);const gn=_0x4c198e(0x2a2);let Ae=class extends _0x55c32e{constructor(_0x166f47=et,_0x5c71ae,_0x5f1702,_0x3fc003){const _0x33bef7=_0x4c198e;super(),this[_0x33bef7(0x14c)]=_0x166f47,this['_renderManagerService']=_0x5c71ae,this['_injector']=_0x5f1702,this['_configService']=_0x3fc003;const {..._0x2abbef}=_0x1f1cb9({},et,this[_0x33bef7(0x14c)]);this[_0x33bef7(0x131)][_0x33bef7(0x22d)](Zi,_0x2abbef);}[_0x4c198e(0x2bb)](){const _0x24138f=_0x4c198e;this['_registerDependencies'](),this[_0x24138f(0xfa)]();}[_0x4c198e(0x17a)](){const _0x2c6eca=_0x4c198e;this[_0x2c6eca(0xdd)]();}['_registerDependencies'](){const _0x186ef1=_0x4c198e;var _0x3d9e7b;const _0x25b552=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x3d6aaa,{'useClass':_0x5111de}],[_0x5f4338,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x59f5c2(this[_0x186ef1(0x127)],_0x263397(_0x25b552,(_0x3d9e7b=this[_0x186ef1(0x14c)])==null?void 0x0:_0x3d9e7b[_0x186ef1(0x259)]));}['_registerRenderDependencies'](){const _0x8c22cb=_0x4c198e;this[_0x8c22cb(0xdc)](this[_0x8c22cb(0x13b)][_0x8c22cb(0x185)](_0x10f6ab[_0x8c22cb(0x151)],[Pe])),this[_0x8c22cb(0xdc)](this['_renderManagerService'][_0x8c22cb(0x185)](_0x10f6ab[_0x8c22cb(0x194)],[we]));}[_0x4c198e(0xfa)](){_0x472d82(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x24d3e1(_0x3a43f1),be(0x1,_0x414d16),be(0x2,_0x49f398(_0x1afadf)),be(0x3,_0x1723d8)],Ae);var vn=Object[_0x4c198e(0x1fa)],In=(_0x546c05,_0x218d2e,_0x2d4211,_0x3c8a69)=>{const _0x1b7fe6=_0x4c198e;for(var _0x25c51d=_0x3c8a69>0x1?void 0x0:_0x3c8a69?vn(_0x218d2e,_0x2d4211):_0x218d2e,_0x577c73=_0x546c05[_0x1b7fe6(0x13c)]-0x1,_0xea9e82;_0x577c73>=0x0;_0x577c73--)(_0xea9e82=_0x546c05[_0x577c73])&&(_0x25c51d=_0xea9e82(_0x25c51d)||_0x25c51d);return _0x25c51d;},K=(_0x4be974,_0x36c2b1)=>(_0x42d5c7,_0x5722c4)=>_0x36c2b1(_0x42d5c7,_0x5722c4,_0x4be974);let st=class extends _0x15931a{constructor(_0x5597d5,_0x329927,_0x1c8d23,_0x47d891,_0x45b418){super(_0x5597d5,_0x329927,_0x1c8d23,_0x47d891,_0x45b418);}async[_0x4c198e(0x11b)](_0x4da4ff){const _0x6cc39d=_0x4c198e,_0x5bfe12=await this[_0x6cc39d(0x20e)](),_0x11d518=this[_0x6cc39d(0x2a4)](_0x4da4ff,_0x5bfe12);return this[_0x6cc39d(0x2b2)](_0x11d518);}[_0x4c198e(0x2a4)](_0x12f033,_0x24ff64){const _0x7bddc6=_0x4c198e,_0x2a5c35=typeof window>'u'?new URL(_0x12f033):new URL(_0x12f033,window[_0x7bddc6(0x1f5)][_0x7bddc6(0xf5)]);_0x2a5c35[_0x7bddc6(0x1eb)]['set'](_0x7bddc6(0x295),_0x24ff64);const _0x69d679=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x7bddc6(0x1f7)]);return _0x69d679['get'](_0x7bddc6(0x2d9))&&_0x2a5c35[_0x7bddc6(0x1eb)][_0x7bddc6(0x268)]('runId',_0x69d679[_0x7bddc6(0xfb)](_0x7bddc6(0x2d9))),_0x2a5c35[_0x7bddc6(0x239)]();}async['_getSessionTicket'](){const _0x5678df=_0x4c198e;var _0x2c0318,_0x23ad11,_0x3bbcd7;const _0x4cc02a=this['_configService'][_0x5678df(0x2a7)](_0x3fd43a),_0x4bfe8c=(_0x2c0318=_0x4cc02a==null?void 0x0:_0x4cc02a['wsSessionTicketUrl'])!=null?_0x2c0318:_0x113a8c;return(_0x3bbcd7=(_0x23ad11=(await this['_httpService'][_0x5678df(0xfb)](_0x4bfe8c,{'headers':{'Content-Type':_0x5678df(0x2b8)}}))['body'])==null?void 0x0:_0x23ad11[_0x5678df(0x1ec)])!=null?_0x3bbcd7:'';}};st=In([K(0x0,_0x49f398(_0x1afadf)),K(0x1,_0x49f398(_0x14748e)),K(0x2,_0x1723d8),K(0x3,_0x445b5c),K(0x4,_0x574c7e)],st);const it=0x7530,nt=_0x4c198e(0x11a);class jn extends _0x7630a4{constructor(){const _0x1639eb=_0x4c198e;super(),_(this,'_id',_0x47662c()),_(this,_0x1639eb(0x1da),new Set()),_(this,_0x1639eb(0x1b4),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x1639eb(0x200),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0x4c198e(0x2aa)](){const _0x1c89e6=_0x4c198e;super[_0x1c89e6(0x2aa)](),this[_0x1c89e6(0x200)][_0x1c89e6(0xdf)]((_0x11cc86,_0x363833)=>this[_0x1c89e6(0x202)](_0x363833)),this['_heartbeatTimer']&&window[_0x1c89e6(0x234)](this[_0x1c89e6(0x241)]);}[_0x4c198e(0x15d)](_0x179ea9){const _0x2485cf=_0x4c198e;return this[_0x2485cf(0x16b)](_0x179ea9)['pipe'](_0x1ad046());}[_0x4c198e(0x1b3)](_0xbfe8f3){const _0x1eb036=_0x4c198e;this['_selfUnitIDs']['size']===0x0&&this[_0x1eb036(0x1c3)](),this[_0x1eb036(0x1da)][_0x1eb036(0x238)](_0xbfe8f3),this[_0x1eb036(0x14a)]({'type':0x0,'memberID':this[_0x1eb036(0x278)],'unitIDs':[_0xbfe8f3],'isForwarded':!0x1});}[_0x4c198e(0x19c)](_0x23bbc4){const _0x545d13=_0x4c198e;this[_0x545d13(0x1da)][_0x545d13(0x107)](_0x23bbc4),this[_0x545d13(0x1da)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x545d13(0x234)](this['_heartbeatTimer']);}[_0x4c198e(0x189)](){const _0x3bac32=_0x4c198e;this[_0x3bac32(0xdc)](_0x3b8484(_0x25c95a(window,_0x3bac32(0x2cb))[_0x3bac32(0x1c1)](_0x36c0ae=>{const _0x162e15=_0x3bac32;if(_0x36c0ae[_0x162e15(0x21c)]!==nt||!_0x36c0ae[_0x162e15(0x253)])return;const _0x492149=JSON[_0x162e15(0x269)](_0x36c0ae['newValue']);this['_handleEvent'](_0x492149);}))),window[_0x3bac32(0x1fb)](_0x3bac32(0x139),()=>this[_0x3bac32(0x14a)]({'type':0x1,'memberID':this[_0x3bac32(0x278)],'unitIDs':Array[_0x3bac32(0x1d1)](this[_0x3bac32(0x1da)])}));}[_0x4c198e(0x1fc)](_0x2d7d49){const _0x5ac863=_0x4c198e;switch(_0x2d7d49[_0x5ac863(0x111)]){case 0x0:this['_handleJoinEvent'](_0x2d7d49);break;case 0x1:this[_0x5ac863(0xd6)](_0x2d7d49);break;case 0x2:this[_0x5ac863(0x180)](_0x2d7d49);break;}}[_0x4c198e(0x293)](_0x8de8a7){const _0x44a3a0=_0x4c198e,{unitIDs:_0x28f881,memberID:_0x5e21d9,isForwarded:_0x5bfb43}=_0x8de8a7;_0x28f881[_0x44a3a0(0xdf)](_0x3d9730=>{const _0x3b3915=_0x44a3a0;if(!_0x5bfb43&&this[_0x3b3915(0x1b4)][_0x3b3915(0x1a6)](_0x3d9730)&&this[_0x3b3915(0x16b)](_0x3d9730)[_0x3b3915(0x225)](_0x37410c[_0x3b3915(0x19e)]),!this['_unitOnClients'][_0x3b3915(0x1a6)](_0x3d9730)||!this[_0x3b3915(0x1b4)][_0x3b3915(0xfb)](_0x3d9730)[_0x3b3915(0x1a6)](_0x5e21d9)){const _0x2917e3=this[_0x3b3915(0x1b4)][_0x3b3915(0xfb)](_0x3d9730)||new Set();_0x2917e3[_0x3b3915(0x238)](_0x5e21d9),this[_0x3b3915(0x1b4)][_0x3b3915(0x268)](_0x3d9730,_0x2917e3),this[_0x3b3915(0x266)](_0x5e21d9);}}),_0x5bfb43||this[_0x44a3a0(0x14a)]({'type':0x0,'memberID':this[_0x44a3a0(0x278)],'unitIDs':[...this[_0x44a3a0(0x1da)]],'isForwarded':!0x0});}[_0x4c198e(0x266)](_0x1b45be){const _0x37026c=_0x4c198e;this['_removeClearOtherTimer'](_0x1b45be);const _0xbbbdf=window[_0x37026c(0x28b)](()=>{const _0x17837b=_0x37026c;this[_0x17837b(0x1b4)][_0x17837b(0xdf)](_0x36ffa6=>{const _0x387d8c=_0x17837b;_0x36ffa6[_0x387d8c(0x107)](_0x1b45be);});},it*0x2);this[_0x37026c(0x200)]['set'](_0x1b45be,_0xbbbdf);}['_removeClearOtherTimer'](_0x1e959d){const _0x5cfb06=_0x4c198e;if(this[_0x5cfb06(0x200)][_0x5cfb06(0x1a6)](_0x1e959d)){const _0x5930cb=this[_0x5cfb06(0x200)][_0x5cfb06(0xfb)](_0x1e959d);_0x5930cb&&window[_0x5cfb06(0xed)](_0x5930cb),this[_0x5cfb06(0x200)][_0x5cfb06(0x268)](_0x1e959d,null);}}[_0x4c198e(0xd6)](_0x12644f){const _0x6d0f89=_0x4c198e,{memberID:_0x2f4e76,unitIDs:_0x5d4d2f}=_0x12644f;_0x5d4d2f[_0x6d0f89(0xdf)](_0x54d407=>{const _0x5c0822=_0x6d0f89;var _0x10ef8c;const _0x20d655=this['_unitOnClients'][_0x5c0822(0xfb)](_0x54d407);_0x20d655&&(_0x20d655[_0x5c0822(0x107)](_0x2f4e76),(_0x10ef8c=this[_0x5c0822(0x16b)](_0x54d407))==null||_0x10ef8c[_0x5c0822(0x225)](_0x20d655[_0x5c0822(0x227)]===0x0?_0x37410c[_0x5c0822(0x1ea)]:_0x37410c[_0x5c0822(0x19e)]));}),this['_removeClearOtherTimer'](_0x2f4e76);}[_0x4c198e(0x180)](_0x132f08){const _0x1cff97=_0x4c198e;this[_0x1cff97(0x266)](_0x132f08[_0x1cff97(0x2c5)]);}[_0x4c198e(0x14a)](_0x55536a){const _0x5aecbb=_0x4c198e;localStorage[_0x5aecbb(0x17f)](nt,JSON[_0x5aecbb(0x277)](_0x55536a));}[_0x4c198e(0x1c3)](){const _0x5941c0=_0x4c198e;this['_heartbeatTimer']=window[_0x5941c0(0x27d)](()=>{const _0x294027=_0x5941c0;this['_send']({'type':0x2,'memberID':this[_0x294027(0x278)]});},it);}['_ensureSubject'](_0x204fe9){const _0x213ce2=_0x4c198e;return this[_0x213ce2(0x15c)][_0x213ce2(0x1a6)](_0x204fe9)||this[_0x213ce2(0x15c)][_0x213ce2(0x268)](_0x204fe9,new _0x20d8ec(_0x37410c[_0x213ce2(0x1ea)])),this[_0x213ce2(0x15c)]['get'](_0x204fe9);}}var Mt=(_0x1cbeee=>(_0x1cbeee[_0x1cbeee[_0x4c198e(0x1ab)]=0x0]=_0x4c198e(0x1ab),_0x1cbeee[_0x1cbeee['OK']=0x1]='OK',_0x1cbeee[_0x1cbeee[_0x4c198e(0x25c)]=0x2]=_0x4c198e(0x25c),_0x1cbeee[_0x1cbeee[_0x4c198e(0x146)]=0x3]=_0x4c198e(0x146),_0x1cbeee[_0x1cbeee[_0x4c198e(0x27a)]=0x4]='NOT_FOUND',_0x1cbeee[_0x1cbeee[_0x4c198e(0x1ed)]=0x5]='UNAUTHENTICATED',_0x1cbeee[_0x1cbeee[_0x4c198e(0x263)]=0x6]=_0x4c198e(0x263),_0x1cbeee[_0x1cbeee['INVALID_ARGUMENT']=0x7]=_0x4c198e(0x1c8),_0x1cbeee[_0x1cbeee[_0x4c198e(0x1b1)]=0x8]=_0x4c198e(0x1b1),_0x1cbeee[_0x1cbeee['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x1cbeee[_0x1cbeee[_0x4c198e(0x18e)]=0xa]='LOGIN_FAILED',_0x1cbeee[_0x1cbeee[_0x4c198e(0x230)]=0x1389]=_0x4c198e(0x230),_0x1cbeee[_0x1cbeee[_0x4c198e(0xf0)]=0x1771]=_0x4c198e(0xf0),_0x1cbeee[_0x1cbeee[_0x4c198e(0x1bd)]=0x1772]=_0x4c198e(0x1bd),_0x1cbeee[_0x1cbeee['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4c198e(0x113),_0x1cbeee[_0x1cbeee[_0x4c198e(0x12f)]=0x1b59]=_0x4c198e(0x12f),_0x1cbeee[_0x1cbeee[_0x4c198e(0x255)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1cbeee[_0x1cbeee[_0x4c198e(0x24b)]=0x1b5b]=_0x4c198e(0x24b),_0x1cbeee[_0x1cbeee[_0x4c198e(0x179)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1cbeee[_0x1cbeee[_0x4c198e(0x247)]=0x1b5d]=_0x4c198e(0x247),_0x1cbeee[_0x1cbeee['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1cbeee[_0x1cbeee[_0x4c198e(0x161)]=0x2329]=_0x4c198e(0x161),_0x1cbeee[_0x1cbeee['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4c198e(0x13d),_0x1cbeee[_0x1cbeee[_0x4c198e(0x1ff)]=0x232b]=_0x4c198e(0x1ff),_0x1cbeee[_0x1cbeee[_0x4c198e(0x130)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1cbeee[_0x1cbeee['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x1cbeee[_0x1cbeee[_0x4c198e(0x196)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1cbeee[_0x1cbeee[_0x4c198e(0x11d)]=0x2712]=_0x4c198e(0x11d),_0x1cbeee[_0x1cbeee[_0x4c198e(0x217)]=0x2713]=_0x4c198e(0x217),_0x1cbeee[_0x1cbeee[_0x4c198e(0x2a9)]=0x2714]=_0x4c198e(0x2a9),_0x1cbeee[_0x1cbeee[_0x4c198e(0x28a)]=0x271a]=_0x4c198e(0x28a),_0x1cbeee[_0x1cbeee['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1cbeee[_0x1cbeee[_0x4c198e(0x261)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1cbeee[_0x1cbeee[_0x4c198e(0x223)]=0x2ee1]=_0x4c198e(0x223),_0x1cbeee[_0x1cbeee[_0x4c198e(0x158)]=0x2ee2]=_0x4c198e(0x158),_0x1cbeee[_0x1cbeee['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4c198e(0x215),_0x1cbeee[_0x1cbeee['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4c198e(0xee),_0x1cbeee[_0x1cbeee['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4c198e(0x165),_0x1cbeee[_0x1cbeee[_0x4c198e(0x15b)]=0x32c9]=_0x4c198e(0x15b),_0x1cbeee[_0x1cbeee[_0x4c198e(0x2c3)]=0x32ca]=_0x4c198e(0x2c3),_0x1cbeee[_0x1cbeee[_0x4c198e(0x204)]=0x32cb]=_0x4c198e(0x204),_0x1cbeee[_0x1cbeee[_0x4c198e(0xd7)]=-0x1]=_0x4c198e(0xd7),_0x1cbeee))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x12ee85,_0x116e4e,_0x2acb95,_0x4b4d47)=>{const _0x4feea7=_0x4c198e;for(var _0x33a272=_0x4b4d47>0x1?void 0x0:_0x4b4d47?pn(_0x116e4e,_0x2acb95):_0x116e4e,_0x2c9e04=_0x12ee85[_0x4feea7(0x13c)]-0x1,_0x1cbd2f;_0x2c9e04>=0x0;_0x2c9e04--)(_0x1cbd2f=_0x12ee85[_0x2c9e04])&&(_0x33a272=_0x1cbd2f(_0x33a272)||_0x33a272);return _0x33a272;},Oe=(_0x2d4ea8,_0x36e105)=>(_0x2bb6c0,_0x2f9638)=>_0x36e105(_0x2bb6c0,_0x2f9638,_0x2d4ea8);let rt=class extends _0x7630a4{constructor(_0x69a03c,_0x5c4870,_0x559ed2){const _0x5a80c4=_0x4c198e;super(),this[_0x5a80c4(0x28f)]=_0x69a03c,this[_0x5a80c4(0x1a1)]=_0x5c4870,this['_configService']=_0x559ed2;}async['runOnServer'](_0xead6bc,_0x58d09f,_0x5bda2e,..._0x14f5bd){const _0x4faeda=_0x4c198e;var _0x4b3cae,_0xeca448,_0x3b41bb,_0xa7748e;const _0x14efe7=this['_instanceService'][_0x4faeda(0x213)]();if(!_0x14efe7)throw new Error(_0x4faeda(0x21b));const _0x51bc4f=((_0x4b3cae=this['_configService'][_0x4faeda(0x2a7)](_0x3d26f8))!=null?_0x4b3cae:_0x5f40dc)+'/'+_0xead6bc+_0x4faeda(0x13f)+_0x58d09f,_0x49beea=new URL(window['location'][_0x4faeda(0x2b4)]),_0x52fcd2={'scriptId':_0xead6bc,'runId':(_0xeca448=_0x49beea['searchParams'][_0x4faeda(0xfb)]('runId'))!=null?_0xeca448:'','function':_0x58d09f,'unitId':_0x14efe7[_0x4faeda(0x2a1)](),'argsOfFunction':JSON[_0x4faeda(0x277)](_0x14f5bd),'invokeId':(_0x3b41bb=_0x5bda2e['invokeId'])!=null?_0x3b41bb:'','executionId':(_0xa7748e=_0x5bda2e['executionId'])!=null?_0xa7748e:''};try{const _0x563d56=await this[_0x4faeda(0x1a1)][_0x4faeda(0x18a)](_0x51bc4f,{'body':_0x52fcd2});return _0x563d56[_0x4faeda(0x198)][_0x4faeda(0x12e)]&&_0x563d56[_0x4faeda(0x198)][_0x4faeda(0x12e)][_0x4faeda(0x23d)]!==Mt['OK']?_0x4faeda(0x211):_0x563d56[_0x4faeda(0x198)][_0x4faeda(0x1c0)];}catch{return _0x4faeda(0x211);}}};rt=Cn([Oe(0x0,_0x1acba7),Oe(0x1,_0x49f398(_0x14748e)),Oe(0x2,_0x1723d8)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0xa130d5=_0x2dba;(function(_0x2fbca7,_0x29bfce){const _0x3a627c=_0x2dba,_0x102691=_0x2fbca7();while(!![]){try{const _0x155b01=-parseInt(_0x3a627c(0x228))/0x1*(-parseInt(_0x3a627c(0x2dd))/0x2)+parseInt(_0x3a627c(0x1d7))/0x3*(parseInt(_0x3a627c(0x2ee))/0x4)+-parseInt(_0x3a627c(0x2f7))/0x5*(parseInt(_0x3a627c(0x212))/0x6)+parseInt(_0x3a627c(0x23b))/0x7+-parseInt(_0x3a627c(0x233))/0x8*(parseInt(_0x3a627c(0x1f8))/0x9)+-parseInt(_0x3a627c(0x247))/0xa*(-parseInt(_0x3a627c(0x220))/0xb)+-parseInt(_0x3a627c(0x32a))/0xc*(parseInt(_0x3a627c(0x1fb))/0xd);if(_0x155b01===_0x29bfce)break;else _0x102691['push'](_0x102691['shift']());}catch(_0x5cc27a){_0x102691['push'](_0x102691['shift']());}}}(_0x1528,0xa8277));var $t=Object[_0xa130d5(0x2a1)],xt=(_0x72d04b,_0x394102,_0x2d835f)=>_0x394102 in _0x72d04b?$t(_0x72d04b,_0x394102,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d835f}):_0x72d04b[_0x394102]=_0x2d835f,_=(_0x110175,_0x5aaaaa,_0xc3de0)=>xt(_0x110175,typeof _0x5aaaaa!=_0xa130d5(0x2bc)?_0x5aaaaa+'':_0x5aaaaa,_0xc3de0);import{MemberService as _0x19e974,SessionStatus as _0x3ddc50,CollaborationSessionService as _0x175b54,CollaborationStatus as _0x374167,CollaborationController as _0x9cca5,ILocalCacheService as _0x557c2f,CollaborationUIEventService as _0x2b5f90,CollaborationUIEventId as _0x171070,DataLoaderService as _0x3242d1,DocCollaborationEntity as _0x260b14,getLocalCacheKey as _0x35d4ab,LOCAL_CACHE_INTERVAL as _0x5b2c8e,LOCAL_CACHE_INTERVAL_KEY as _0xb8e288,UniverCollaborationClientPlugin as _0x40e628,CollaborationSocketService as _0x34383f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x463ab4,DEFAULT_WS_SESSION_TICKET_URL as _0x100681,UnitStatus as _0x3486c5,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2f1247,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x446748}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x36a28e,Disposable as _0x3d4fed,DOC_RANGE_TYPE as _0x371b4b,Inject as _0x3156fc,Injector as _0x17ea93,IUniverInstanceService as _0x58523b,ICommandService as _0x4101e,debounce as _0x5ead44,Rectangle as _0x46690e,DisposableCollection as _0x2cbc87,toDisposable as _0x382550,UniverInstanceType as _0x4041fb,Tools as _0x5a569e,COLORS as _0x211a6b,ColorKit as _0x13d215,ThemeService as _0x1deb39,fromEventSubject as _0x316a11,LocaleService as _0x85bbfc,createIdentifier as _0x5d199d,ILogService as _0x4a2e13,Optional as _0x20723a,Workbook as _0x5da0c0,CommandType as _0x21189a,IConfigService as _0x14d608,ILocalStorageService as _0x2e7be6,DependentOn as _0x4fbfc2,Plugin as _0x383368,merge as _0x1c437f,registerDependencies as _0x410969,mergeOverrideWithDependencies as _0x457cc3,touchDependencies as _0x48e9dc,generateRandomId as _0x1595af}from'@univerjs/core';import{Shape as _0x5e2e11,Rect as _0x510bbf,getColor as _0x61a0b9,RegularPolygon as _0x3bb447,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x50424a,Vector2 as _0x3a76c6,SHEET_VIEWPORT_KEY as _0x5f2766,IRenderManagerService as _0x59a0c0}from'@univerjs/engine-render';import{ISocketService as _0x17d144,WebSocketService as _0x2480ec,HTTPService as _0x4a6a9}from'@univerjs/network';import{IDocClipboardService as _0x22d02d,NodePositionConvertToCursor as _0x224e05,NodePositionConvertToRectRange as _0xd17952,TEXT_RANGE_LAYER_INDEX as _0x3df993,SetDocZoomRatioOperation as _0x31a54a,DocIMEInputManagerService as _0x8f9223,DocStateChangeManagerService as _0x510a31}from'@univerjs/docs-ui';import{IImageIoService as _0x2b9f33}from'@univerjs/drawing';import{BehaviorSubject as _0x3ad1e2,debounceTime as _0x362f36,takeUntil as _0x301a84,Subject as _0x5e287b,filter as _0x16d207,switchMap as _0x5c9176,merge as _0x32c485,combineLatest as _0x28304f,of as _0x597e7f,fromEvent as _0x3364ea,shareReplay as _0x354f4d,mapTo as _0x3a5d21,distinctUntilChanged as _0x47ccc5}from'rxjs';import{SetTextSelectionsOperation as _0x581fc4,RichTextEditingMutation as _0x1a47bd,DocSelectionManagerService as _0x42eacb,DocSkeletonManagerService as _0x48fb3f}from'@univerjs/docs';import{ITransformService as _0x259e98,CollaborationEvent as _0x403380,isTransformMutationFailure as _0x5a3df0,isTransformMutationsWithChangesetSuccess as _0x13ae77,RevisionService as _0x3cc2cf,ISnapshotServerService as _0x20f2fb}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2414a4,serializeRangeWithSheet as _0x153bf4}from'@univerjs/engine-formula';import{RefRangeService as _0x25c9e0,SetSelectionsOperation as _0x38a761,SheetsSelectionsService as _0x257997,EffectRefRangId as _0x2440d9,handleIRemoveRow as _0x339708,handleIRemoveCol as _0x271b3a,handleMoveRange as _0x18c0d6,handleInsertRow as _0x2c0065,handleInsertRangeMoveRight as _0x34ef8a,handleInsertRangeMoveDown as _0x12288b,handleInsertCol as _0x5ae12b,handleDeleteRangeMoveUp as _0x25a567,handleDeleteRangeMoveLeft as _0x188c45,runRefRangeMutations as _0x127dbe,SetWorksheetActivateCommand as _0x4ddf0e}from'@univerjs/sheets';import{map as _0x1de582,filter as _0x20b8af,throttleTime as _0x2fb5cf,takeUntil as _0xc61dad,switchMap as _0x8e0c4a}from'rxjs/operators';import{SheetSkeletonManagerService as _0x417ccb,getCoordByCell as _0x31e289,getSheetObject as _0x1e5fc8}from'@univerjs/sheets-ui';import{jsx as _0xab2b25,jsxs as _0xd0c0f4}from'react/jsx-runtime';import{useObservable as _0x1be456,useDependency as _0x20e450,IUIPartsService as _0x58d3d1,BuiltInUIPart as _0x403b17,connectInjector as _0x52d0f5,IBeforeCloseService as _0x3d4de0,IMessageService as _0x4924ee,INotificationService as _0x4ded15}from'@univerjs/ui';import{Tooltip as _0x38ac88,clsx as _0x25bce5,MessageType as _0x38edad}from'@univerjs/design';import{forwardRef as _0x312275,useRef as _0x514990,createElement as _0x37e48a,useCallback as _0x57c87a}from'react';import{IRemoteInstanceService as _0x3d2ecf}from'@univerjs/rpc';var ci=Object[_0xa130d5(0x316)],li=(_0x921423,_0x2efb0a,_0x2fb246,_0x204695)=>{const _0x4ea915=_0xa130d5;for(var _0x2dd802=_0x204695>0x1?void 0x0:_0x204695?ci(_0x2efb0a,_0x2fb246):_0x2efb0a,_0x1fcb27=_0x921423[_0x4ea915(0x248)]-0x1,_0x11577f;_0x1fcb27>=0x0;_0x1fcb27--)(_0x11577f=_0x921423[_0x1fcb27])&&(_0x2dd802=_0x11577f(_0x2dd802)||_0x2dd802);return _0x2dd802;},Je=(_0x38afeb,_0x34afed)=>(_0x4dcbc6,_0x536f14)=>_0x34afed(_0x4dcbc6,_0x536f14,_0x38afeb);let Ne=class extends _0x36a28e{constructor(_0x3f9707,_0x14c59d){const _0x13016d=_0xa130d5;super(),this[_0x13016d(0x1ef)]=_0x3f9707,this[_0x13016d(0x2c6)]=_0x14c59d,this[_0x13016d(0x29c)]();}[_0xa130d5(0x29c)](){const _0x147154=_0xa130d5,_0x33ece3=this;this['disposeWithMe'](this['_docClipboardService'][_0x147154(0x18d)]({'onBeforePasteImage':async _0x44b5f6=>{const _0x177cb1=_0x147154,_0x294a63=await _0x33ece3[_0x177cb1(0x2c6)]['saveImage'](_0x44b5f6);return _0x294a63?{'source':_0x294a63[_0x177cb1(0x2b6)],'imageSourceType':_0x294a63['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x22d02d),Je(0x1,_0x2b9f33)],Ne);const Ze=['purple300','jiqing500',_0xa130d5(0x29f),_0xa130d5(0x15d),_0xa130d5(0x1ed),_0xa130d5(0x1c2)];class ke extends _0x3d4fed{constructor(){const _0x4931df=_0xa130d5;super(...arguments),_(this,_0x4931df(0x31e),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x141423){const _0x355dbd=_0xa130d5;if(this[_0x355dbd(0x31e)][_0x355dbd(0x25b)](_0x141423))return this['_assignedColors']['get'](_0x141423);const _0x496b9b=Ze[this[_0x355dbd(0x2fb)]];return this[_0x355dbd(0x2fb)]=(this[_0x355dbd(0x2fb)]+0x1)%Ze['length'],this[_0x355dbd(0x31e)][_0x355dbd(0x2a4)](_0x141423,_0x496b9b),_0x496b9b;}}function Tt(_0x3d1629){const _0x3dbd23=_0xa130d5;let _0x214164='';for(const _0x4ea0b3 of _0x3d1629){const {startOffset:_0x10754d,endOffset:_0x1267b4,isActive:_0x5bbbfa,rangeType:_0x117739,segmentId:_0x1464fe,segmentPage:_0x23cdaa}=_0x4ea0b3;_0x214164[_0x3dbd23(0x248)]&&(_0x214164+=','),_0x214164+=_0x10754d+':'+_0x1267b4+':'+(_0x5bbbfa?'1':'0')+':'+_0x117739+':'+_0x1464fe+':'+_0x23cdaa;}return _0x214164;}function _i(_0x379848){const _0x5cd162=_0xa130d5,_0x179bd2=_0x379848['split'](','),_0xfc77cd=[];for(const _0x268dc8 of _0x179bd2){const [_0x26b98c,_0x3618e8,_0x4bce0c,_0xe4f101,_0x4914bb,_0x4f53d9]=_0x268dc8[_0x5cd162(0x19f)](':');_0xfc77cd[_0x5cd162(0x2d5)]({'startOffset':Number(_0x26b98c),'endOffset':Number(_0x3618e8),'collapsed':_0x26b98c===_0x3618e8,'isActive':_0x4bce0c==='1','rangeType':_0xe4f101===_0x371b4b[_0x5cd162(0x309)]?_0x371b4b[_0x5cd162(0x309)]:_0x371b4b[_0x5cd162(0x21f)],'segmentId':typeof _0x4914bb=='string'?String(_0x4914bb):'','segmentPage':Number(_0x4f53d9!=null?_0x4f53d9:-0x1)});}return _0xfc77cd[_0x5cd162(0x1cb)](_0x36d1bc=>_0x36d1bc[_0x5cd162(0x1f2)])||(_0xfc77cd[0x0][_0x5cd162(0x1f2)]=!0x0),_0xfc77cd;}class He extends _0x36a28e{constructor(){const _0x487241=_0xa130d5;super(...arguments),_(this,_0x487241(0x2c3),new _0x3ad1e2(null)),_(this,_0x487241(0x1d9),this[_0x487241(0x2c3)]['asObservable']());}[_0xa130d5(0x314)](_0x487b0f){const _0x1fcc1d=_0xa130d5,{unitID:_0x2a88ab,memberID:_0x5a061a,textRanges:_0x13133b}=_0x487b0f,_0x45baaf=Tt(_0x13133b);if(_0x45baaf==='')return;const _0x19af42={'unitID':_0x2a88ab,'memberID':_0x5a061a,'selection':_0x45baaf};this[_0x1fcc1d(0x2c3)]['next'](_0x19af42);}}var hi=Object[_0xa130d5(0x316)],ui=(_0x4cf753,_0x5225ed,_0x20d86f,_0x233501)=>{const _0x43ed0d=_0xa130d5;for(var _0x288236=_0x233501>0x1?void 0x0:_0x233501?hi(_0x5225ed,_0x20d86f):_0x5225ed,_0x35619d=_0x4cf753[_0x43ed0d(0x248)]-0x1,_0x52ce37;_0x35619d>=0x0;_0x35619d--)(_0x52ce37=_0x4cf753[_0x35619d])&&(_0x288236=_0x52ce37(_0x288236)||_0x288236);return _0x288236;},L=(_0x279b5e,_0x15773a)=>(_0x547e67,_0x10c558)=>_0x15773a(_0x547e67,_0x10c558,_0x279b5e);const di=0x12c,fi=0x64;let Ue=class extends _0x36a28e{constructor(_0x112f7a,_0x463e35,_0x417496,_0x4e1328,_0x5ddc2b,_0x5be1e7,_0x76b68d,_0x1c9ba4,_0x1748e3){const _0x58c0f4=_0xa130d5;super(),_(this,'_online',!0x1),_(this,_0x58c0f4(0x29c),!0x1),_(this,'_cursorInfo$',new _0x3ad1e2(new Map())),_(this,_0x58c0f4(0x176),this[_0x58c0f4(0x210)][_0x58c0f4(0x271)]()),_(this,_0x58c0f4(0x1a6),new _0x3ad1e2([])),_(this,'roomMembers$',this[_0x58c0f4(0x1a6)][_0x58c0f4(0x2fe)](_0x362f36(di))),_(this,'_updateLocalCursor',_0x5ead44(_0x5c9fd5=>{const _0x5c367e=_0x58c0f4,_0x29b9b9={'eventID':_0x403380[_0x5c367e(0x28f)],'data':{'unitID':this[_0x5c367e(0x326)],'memberID':this[_0x5c367e(0x33d)][_0x5c367e(0x17e)](),'selection':Tt(_0x5c9fd5)}};this[_0x5c367e(0x33d)][_0x5c367e(0x27c)](_0x29b9b9,this[_0x5c367e(0x326)]);},fi)),(this[_0x58c0f4(0x326)]=_0x112f7a,this[_0x58c0f4(0x33d)]=_0x463e35,this[_0x58c0f4(0x1db)]=_0x417496,this['_colorAssignService']=_0x4e1328,this[_0x58c0f4(0x1a2)]=_0x5ddc2b,this[_0x58c0f4(0x1a8)]=_0x5be1e7,this[_0x58c0f4(0x1e8)]=_0x76b68d,this[_0x58c0f4(0x308)]=_0x1c9ba4,this[_0x58c0f4(0x28e)]=_0x1748e3);}get[_0xa130d5(0x1b1)](){const _0x4bda30=_0xa130d5;return this[_0x4bda30(0x210)][_0x4bda30(0x25c)]();}get[_0xa130d5(0x209)](){const _0x3ae865=_0xa130d5;return this[_0x3ae865(0x1a6)][_0x3ae865(0x25c)]();}[_0xa130d5(0x2e0)](){const _0x4ce5be=_0xa130d5;super[_0x4ce5be(0x2e0)](),this[_0x4ce5be(0x210)][_0x4ce5be(0x20f)](new Map()),this[_0x4ce5be(0x210)][_0x4ce5be(0x2fd)](),this[_0x4ce5be(0x1a6)][_0x4ce5be(0x20f)]([]),this[_0x4ce5be(0x1a6)][_0x4ce5be(0x2fd)]();}[_0xa130d5(0x211)](){const _0x108c95=_0xa130d5;this['_init']||(this[_0x108c95(0x29c)]=!0x0,this[_0x108c95(0x33d)][_0x108c95(0x327)][_0x108c95(0x2fe)](_0x301a84(this[_0x108c95(0x278)]))['subscribe'](_0x3ae2cb=>{const _0xd76d0c=_0x108c95;_0x3ae2cb===_0x3ddc50[_0xd76d0c(0x330)]?this[_0xd76d0c(0x164)]():this[_0xd76d0c(0x20b)]();}),this[_0x108c95(0x33d)]['event$'][_0x108c95(0x2fe)](_0x301a84(this[_0x108c95(0x278)]))['subscribe'](_0x79e7f6=>{const _0xc868d2=_0x108c95,_0x12219f=_0x79e7f6[_0xc868d2(0x16c)];_0x12219f===_0x403380[_0xc868d2(0x28f)]&&this['_onCursorUpdate'](_0x79e7f6),_0x12219f===_0x403380[_0xc868d2(0x16b)]&&this[_0xc868d2(0x331)](_0x79e7f6);}),this[_0x108c95(0x2cd)](this['_commandService'][_0x108c95(0x194)](_0x31001f=>{const _0x5d5ed7=_0x108c95,_0x8f7ce9=_0x31001f[_0x5d5ed7(0x181)];_0x8f7ce9!=null&&this[_0x5d5ed7(0x27d)]&&_0x31001f['id']===_0x581fc4['id']&&_0x8f7ce9['unitId']===this[_0x5d5ed7(0x326)]&&_0x8f7ce9['isEditing']===!0x1&&_0x8f7ce9[_0x5d5ed7(0x15f)][_0x5d5ed7(0x248)]>0x0&&this['_updateLocalCursor'](_0x8f7ce9[_0x5d5ed7(0x15f)]);})),this['_syncEditingCollabCursorService'][_0x108c95(0x1d9)]['pipe'](_0x301a84(this[_0x108c95(0x278)]))[_0x108c95(0x30d)](_0x310054=>{const _0x3c3922=_0x108c95;if((_0x310054==null?void 0x0:_0x310054[_0x3c3922(0x326)])!==this['unitID'])return;const _0x2d6c65={'eventID':_0x403380['UPDATE_CURSOR'],'data':_0x310054};this[_0x3c3922(0x1df)](_0x2d6c65);}),this[_0x108c95(0x2cd)](this[_0x108c95(0x28e)][_0x108c95(0x194)](_0x732a40=>{const _0xac6fc2=_0x108c95;if(_0x732a40[_0xac6fc2(0x181)]==null)return;const _0x1aea9d=_0x732a40[_0xac6fc2(0x181)];if(_0x732a40['id']!==_0x1a47bd['id']||_0x1aea9d[_0xac6fc2(0x1ab)]!==this[_0xac6fc2(0x326)])return;const _0x559ddb={'id':'doc.mutation.rich-text-editing','params':_0x1aea9d},_0x509a9b=this['cursorInfo'];for(const [_0x277575,_0x3193d5]of _0x509a9b){const _0x50970e={'id':_0xac6fc2(0x29a),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3193d5[_0xac6fc2(0x15f)]}},_0x526525=this[_0xac6fc2(0x1e8)][_0xac6fc2(0x19c)](_0x559ddb,_0x50970e,!0x1);if(_0x5a3df0(_0x526525))throw _0x526525[_0xac6fc2(0x2f6)];_0x509a9b['set'](_0x277575,{..._0x3193d5,'ranges':_0x526525['m2Prime'][_0xac6fc2(0x181)][_0xac6fc2(0x292)]});}queueMicrotask(()=>{const _0x3ef7cd=_0xac6fc2;this[_0x3ef7cd(0x210)]['next'](_0x509a9b);});})));}[_0xa130d5(0x1df)](_0x5cf73f){const _0x281417=_0xa130d5;var _0x141278,_0x21e56d;const {memberID:_0x2e4cc3,selection:_0x558898}=_0x5cf73f[_0x281417(0x217)],_0xbd6eeb=_i(_0x558898),_0x39b0c1=(_0x21e56d=(_0x141278=this[_0x281417(0x1a2)][_0x281417(0x25d)](this[_0x281417(0x326)],_0x2e4cc3))==null?void 0x0:_0x141278[_0x281417(0x229)])!=null?_0x21e56d:'Unknown\x20user',_0x1d6947={'color':this[_0x281417(0x2f2)][_0x281417(0x193)](_0x2e4cc3),'name':_0x39b0c1,'ranges':_0xbd6eeb},_0x1f54e2=this['cursorInfo'];_0x1f54e2[_0x281417(0x2a4)](_0x2e4cc3,_0x1d6947),this[_0x281417(0x210)][_0x281417(0x20f)](_0x1f54e2);}[_0xa130d5(0x331)](_0x1e7f71){const _0x1a5da5=_0xa130d5,{memberID:_0x1cecb4}=_0x1e7f71['data'],_0x2d276e=this['cursorInfo'];_0x2d276e['delete'](_0x1cecb4),this[_0x1a5da5(0x210)][_0x1a5da5(0x20f)](_0x2d276e);}[_0xa130d5(0x164)](){const _0x153332=_0xa130d5;var _0x4b227d;if(this[_0x153332(0x27d)]=!0x0,((_0x4b227d=this['_univerInstanceService'][_0x153332(0x2b4)]())==null?void 0x0:_0x4b227d[_0x153332(0x272)]())!==this['unitID'])return;const _0x1c0d4f=this['_injector'][_0x153332(0x2a0)](_0x42eacb)[_0x153332(0x2ef)]();Array[_0x153332(0x2ea)](_0x1c0d4f)&&_0x1c0d4f['length']>0x0&&this[_0x153332(0x16d)](_0x1c0d4f);}[_0xa130d5(0x20b)](){const _0x45413b=_0xa130d5;this[_0x45413b(0x27d)]=!0x1;}};Ue=ui([L(0x2,_0x3156fc(_0x17ea93)),L(0x3,_0x3156fc(ke)),L(0x4,_0x3156fc(_0x19e974)),L(0x5,_0x3156fc(He)),L(0x6,_0x259e98),L(0x7,_0x58523b),L(0x8,_0x4101e)],Ue);var Si=Object[_0xa130d5(0x316)],mi=(_0x28b4ea,_0x2c3f7e,_0x2df649,_0x1409a0)=>{const _0x5b0ba8=_0xa130d5;for(var _0x412163=_0x1409a0>0x1?void 0x0:_0x1409a0?Si(_0x2c3f7e,_0x2df649):_0x2c3f7e,_0x21edc5=_0x28b4ea[_0x5b0ba8(0x248)]-0x1,_0xa9dbe5;_0x21edc5>=0x0;_0x21edc5--)(_0xa9dbe5=_0x28b4ea[_0x21edc5])&&(_0x412163=_0xa9dbe5(_0x412163)||_0x412163);return _0x412163;},x=(_0x3f30ad,_0x1c933f)=>(_0xdd221f,_0x2daf80)=>_0x1c933f(_0xdd221f,_0x2daf80,_0x3f30ad);const gi=0x12c,Ii=0x64,vi=()=>{let _0x53e141=[],_0x39c258=!0x1;return _0x1f9a70=>{const _0x3ee76e=_0x2dba;_0x53e141[_0x3ee76e(0x2d5)](_0x1f9a70),_0x39c258||(_0x39c258=!0x0,setTimeout(()=>{const _0x24eed0=_0x3ee76e;_0x53e141[_0x24eed0(0x2f4)](_0x23f813=>_0x23f813()),_0x53e141=[],_0x39c258=!0x1;}));};};let Me=class extends _0x36a28e{constructor(_0x3abdde,_0xcc7afb,_0xd29839,_0x11e530,_0x6c53cb,_0xfd87fc,_0x2d1616,_0x8ca8ba){const _0x529026=_0xa130d5;super(),_(this,_0x529026(0x27d),!0x1),_(this,_0x529026(0x29c),!0x1),_(this,_0x529026(0x210),new _0x3ad1e2(new Map())),_(this,_0x529026(0x176),this[_0x529026(0x210)][_0x529026(0x271)]()),_(this,_0x529026(0x1a6),new _0x3ad1e2([])),_(this,_0x529026(0x2c1),this[_0x529026(0x1a6)]['pipe'](_0x362f36(gi))),_(this,_0x529026(0x16d),_0x5ead44((_0x3575fd,_0x14f579)=>{const _0x402475=_0x529026,_0x3c2277={'eventID':_0x403380[_0x402475(0x28f)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x153bf4(_0x3575fd,_0x14f579[_0x402475(0x358)])}};this[_0x402475(0x33d)][_0x402475(0x27c)](_0x3c2277,this['unitID']);},Ii)),(this['unitID']=_0x3abdde,this[_0x529026(0x33d)]=_0xcc7afb,this[_0x529026(0x1db)]=_0xd29839,this[_0x529026(0x2f2)]=_0x11e530,this[_0x529026(0x1a2)]=_0x6c53cb,this[_0x529026(0x308)]=_0xfd87fc,this[_0x529026(0x28e)]=_0x2d1616,this[_0x529026(0x293)]=_0x8ca8ba);}get['cursorInfo'](){const _0x2061f7=_0xa130d5;return this[_0x2061f7(0x210)][_0x2061f7(0x25c)]();}get[_0xa130d5(0x209)](){const _0x35e025=_0xa130d5;return this[_0x35e025(0x1a6)][_0x35e025(0x25c)]();}['dispose'](){const _0x354851=_0xa130d5;super['dispose'](),this[_0x354851(0x210)][_0x354851(0x20f)](new Map()),this[_0x354851(0x210)][_0x354851(0x2fd)](),this['_roomMembers$'][_0x354851(0x20f)]([]),this['_roomMembers$']['complete']();}[_0xa130d5(0x211)](){const _0x375db5=_0xa130d5;this[_0x375db5(0x29c)]||(this[_0x375db5(0x29c)]=!0x0,this[_0x375db5(0x33d)][_0x375db5(0x327)][_0x375db5(0x2fe)](_0x301a84(this[_0x375db5(0x278)]))[_0x375db5(0x30d)](_0x2b99ae=>{const _0x2392cb=_0x375db5;_0x2b99ae===_0x3ddc50[_0x2392cb(0x330)]?this[_0x2392cb(0x164)]():this[_0x2392cb(0x20b)]();}),this[_0x375db5(0x33d)][_0x375db5(0x213)][_0x375db5(0x2fe)](_0x301a84(this['dispose$']))[_0x375db5(0x30d)](_0x49c92e=>{const _0x687282=_0x375db5,_0x4903a=_0x49c92e[_0x687282(0x16c)];_0x4903a===_0x403380['UPDATE_CURSOR']&&this[_0x687282(0x1df)](_0x49c92e),_0x4903a===_0x403380[_0x687282(0x16b)]&&this['_onCursorDelete'](_0x49c92e);}),this['_onRefRangeChange'](),this[_0x375db5(0x2cd)](this[_0x375db5(0x28e)][_0x375db5(0x194)](_0x3534a3=>{const _0x51147e=_0x375db5;if(this[_0x51147e(0x27d)]&&_0x3534a3['id']===_0x38a761['id']&&_0x3534a3[_0x51147e(0x181)]['unitId']===this['unitID']){const _0x1566ff=_0x3534a3[_0x51147e(0x181)];this[_0x51147e(0x16d)](_0x1566ff[_0x51147e(0x20e)],_0x1566ff['selections'][0x0]);}})));}[_0xa130d5(0x1df)](_0x26a65a){const _0x2e0cf4=_0xa130d5;var _0x3e8651,_0x24008b;const {memberID:_0x57f1ee,selection:_0x14dfe3}=_0x26a65a[_0x2e0cf4(0x217)],{sheetName:_0x533746,range:_0x21dfdb}=_0x2414a4(_0x14dfe3),_0x19d3d0={'name':(_0x24008b=(_0x3e8651=this[_0x2e0cf4(0x1a2)]['getMember'](this[_0x2e0cf4(0x326)],_0x57f1ee))==null?void 0x0:_0x3e8651[_0x2e0cf4(0x229)])!=null?_0x24008b:'Unknown\x20user','range':this[_0x2e0cf4(0x2f8)](_0x533746,_0x21dfdb),'sheetID':_0x533746,'color':this[_0x2e0cf4(0x2f2)][_0x2e0cf4(0x193)](_0x57f1ee),'selection':_0x14dfe3},_0x27af0d=this[_0x2e0cf4(0x1b1)];_0x27af0d['set'](_0x57f1ee,_0x19d3d0),this[_0x2e0cf4(0x210)][_0x2e0cf4(0x20f)](_0x27af0d);}[_0xa130d5(0x331)](_0x19b727){const _0x5f2173=_0xa130d5,{memberID:_0xc6f8b9}=_0x19b727[_0x5f2173(0x217)],_0x1ea0b7=this['cursorInfo'];_0x1ea0b7[_0x5f2173(0x1b6)](_0xc6f8b9),this[_0x5f2173(0x210)][_0x5f2173(0x20f)](_0x1ea0b7);}[_0xa130d5(0x2f8)](_0x7d1f4a,_0x21c0c7){const _0x324b3c=_0xa130d5;var _0x3bb53d,_0x2396c7;const _0x5ad352=(_0x2396c7=(_0x3bb53d=this[_0x324b3c(0x308)]['getUniverSheetInstance'](this[_0x324b3c(0x326)]))==null?void 0x0:_0x3bb53d[_0x324b3c(0x27b)](_0x7d1f4a))==null?void 0x0:_0x2396c7[_0x324b3c(0x195)]();return(_0x5ad352==null?void 0x0:_0x5ad352[_0x324b3c(0x2a2)](_0x5a8e72=>_0x46690e['contains'](_0x5a8e72,_0x21c0c7)))||_0x21c0c7;}[_0xa130d5(0x17a)](){const _0x1adb11=_0xa130d5,_0x2c4176=new _0x2cbc87(),_0x16eb06=vi(),_0x19d611=()=>{const _0x5edaa1=_0x2dba;_0x2c4176['dispose']();const _0x3c154c=(_0x47e0b9,_0x2d222a,_0x215062,_0x337ca9)=>{const _0x332259=_0x2dba;let _0x17c55b=[];switch(_0x47e0b9['id']){case _0x2440d9[_0x332259(0x169)]:{_0x17c55b=_0x188c45(_0x47e0b9,_0x337ca9);break;}case _0x2440d9['DeleteRangeMoveUpCommandId']:{_0x17c55b=_0x25a567(_0x47e0b9,_0x337ca9);break;}case _0x2440d9[_0x332259(0x258)]:{_0x17c55b=_0x5ae12b(_0x47e0b9,_0x337ca9);break;}case _0x2440d9[_0x332259(0x320)]:{_0x17c55b=_0x12288b(_0x47e0b9,_0x337ca9);break;}case _0x2440d9['InsertRangeMoveRightCommandId']:{_0x17c55b=_0x34ef8a(_0x47e0b9,_0x337ca9);break;}case _0x2440d9[_0x332259(0x2ca)]:{_0x17c55b=_0x2c0065(_0x47e0b9,_0x337ca9);break;}case _0x2440d9['MoveRangeCommandId']:{_0x17c55b=_0x18c0d6(_0x47e0b9,_0x337ca9);break;}case _0x2440d9[_0x332259(0x23f)]:{_0x17c55b=_0x271b3a(_0x47e0b9,_0x337ca9);break;}case _0x2440d9[_0x332259(0x15a)]:{_0x17c55b=_0x339708(_0x47e0b9,_0x337ca9);break;}}const _0x285e60=_0x127dbe(_0x17c55b,_0x337ca9),_0x4a8a4b=this['cursorInfo'][_0x332259(0x2a0)](_0x2d222a);if(_0x4a8a4b&&_0x285e60){const _0x378f05={..._0x4a8a4b,'range':_0x285e60};this[_0x332259(0x1b1)][_0x332259(0x2a4)](_0x2d222a,_0x378f05),_0x16eb06(()=>{const _0x280715=_0x332259,_0x2d8dce=this[_0x280715(0x293)][_0x280715(0x29b)](_0x285e60,_0x553f82=>(_0x2d8dce[_0x280715(0x2e0)](),_0x3c154c(_0x553f82,_0x2d222a,_0x215062,_0x285e60)));_0x2c4176[_0x280715(0x2e2)](_0x2d8dce);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5edaa1(0x2f4)]((_0x3c4454,_0x1cb2ac)=>{const _0x4aa6c4=_0x5edaa1,{range:_0x39996e,sheetID:_0x4e8459}=_0x3c4454,_0x380f19=this[_0x4aa6c4(0x293)]['registerRefRange'](_0x39996e,_0x31fd02=>(_0x380f19[_0x4aa6c4(0x2e0)](),_0x3c154c(_0x31fd02,_0x1cb2ac,_0x4e8459,_0x39996e)));_0x2c4176[_0x4aa6c4(0x2e2)](_0x380f19);});};this[_0x1adb11(0x2cd)](_0x382550(this[_0x1adb11(0x210)][_0x1adb11(0x30d)](()=>{_0x19d611();})));}['_toggleOnline'](){const _0x494704=_0xa130d5;var _0x2d58fe,_0x131381;if(this[_0x494704(0x27d)]=!0x0,((_0x2d58fe=this[_0x494704(0x308)][_0x494704(0x2b4)]())==null?void 0x0:_0x2d58fe[_0x494704(0x272)]())!==this[_0x494704(0x326)])return;const _0x36f4b5=(_0x131381=this['_injector'][_0x494704(0x2a0)](_0x257997)[_0x494704(0x33a)]())==null?void 0x0:_0x131381[0x0],_0x22a926=this[_0x494704(0x308)]['getCurrentUnitForType'](_0x4041fb[_0x494704(0x215)])['getActiveSheet']();_0x36f4b5&&_0x22a926&&this[_0x494704(0x16d)](_0x22a926[_0x494704(0x2d7)](),_0x36f4b5);}['_toggleOffline'](){const _0x585288=_0xa130d5;this[_0x585288(0x27d)]=!0x1;}};Me=mi([x(0x2,_0x3156fc(_0x17ea93)),x(0x3,_0x3156fc(ke)),x(0x4,_0x3156fc(_0x19e974)),x(0x5,_0x58523b),x(0x6,_0x4101e),x(0x7,_0x3156fc(_0x25c9e0))],Me);var pi=Object[_0xa130d5(0x316)],Ci=(_0x19306c,_0x1f7554,_0xa9f00,_0x65d176)=>{const _0x5d0ab9=_0xa130d5;for(var _0x297b36=_0x65d176>0x1?void 0x0:_0x65d176?pi(_0x1f7554,_0xa9f00):_0x1f7554,_0x43c2ca=_0x19306c[_0x5d0ab9(0x248)]-0x1,_0x1138b6;_0x43c2ca>=0x0;_0x43c2ca--)(_0x1138b6=_0x19306c[_0x43c2ca])&&(_0x297b36=_0x1138b6(_0x297b36)||_0x297b36);return _0x297b36;},Se=(_0x4bc357,_0xfc7d03)=>(_0x1077e2,_0x4c106d)=>_0xfc7d03(_0x1077e2,_0x4c106d,_0x4bc357);function _0x1528(){const _0x5a6ced=['resize','_id','measureText','values','_scheduleSaving','toString','width','_unitStatus','origin','InsertColCommandId','permission.content','_lastPointer','has','getValue','getMember','_removeCollabCursors','OnLineSingle','_color','colorChannel1','m2Prime','translate(.97)','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','color','UNAUTHENTICATED','_getSaveTimeout','addObjects','_eventUnsubscribe','_selfUnitIDs','setActiveRange','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','evenodd','save','setParam','Error','asObservable','getUnitId','off-line-single_clip0_910_343','NOT_COLLAB','collab-text-anchor-','unit','APPLY_REVISION_CONFILICT','dispose$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','xlink:href','getSheetBySheetId','send','_online','addObject','_refreshCollabCursors','INVALID_ARGUMENT','INVITE_CODE_ALREADY_BOUND','registerRenderModule','_collaborationUIEventService','_drawRectRange','AWAITING_WITH_PENDING','defIds','PY_RUNTIME_SCRIPT_ERROR','setTimeout','sheetID','size','pushState','onPointerMove$','startColumn','_commandService','UPDATE_CURSOR','makeDirty','string','textRanges','_refRangeService','runOnServer','OFFLINE','loadUnit','_scene','UNDEFINED','_transformHistoryAndStateStack','doc.mutation.rich-text-editing','registerRefRange','_init','_config','findNodePositionByCharIndex','verdancy600','get','defineProperty','find','redoState','set','WECHAT_HAS_BEEN_BOUND','getRangePointData','then','_labelPosition','OTHER_CLIENT_EDITING','collabStatus.syncing','top','YUUMI_RATE_OVER_LIMIT','...','type','collaboration-client.offline-data-not-saved','key','call','off-line-single','createSocket','getFocusedUnit','clearInterval','source','assign','_saveTaskMap','parse','_cursor','_transformPreviousActiveRange','symbol','YUUMI_AI_RUN_FAILED','_handleJoinEvent','_renderManagerService','deepClone','roomMembers$','collabStatus.notCollab','_collabCursorState$','getCollabCursors$','APPLY_DUPLICATED','_imageIoService','flatMap','collaboration.closeRoom','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','InsertRowCommandId','_docSyncEditingCollabCursorService','on-line-single_clip0_910_349','disposeWithMe','urlChange$','_drawTextRange','CONFLICT','wsSessionTicketUrl','SYNCED','LICENSE_MAX_UNITS_EXCEEDED','FETCH_MISS','push','[CollaborationDataLoaderController]','getSheetId','addEventListener','popstate','INVITE_CODE_HAS_BEEN_UES','div','url(#off-line-single_clip0_910_343)','10HIUQbB','getViewport','fillText','dispose','JOIN_ROOM_FAILED','add','_hovered','_context','_document','from','beginPath','arc','session.connection-failed','isArray','currentColor','transformIMECache','YUUMI_UNABLE_LOAD_URL','4104252ViEuWY','getDocRanges','extend','post','_colorAssignService','UNIVER_DOC','forEach','_docTransformIMECacheService','error','2570YQPLsh','_getMergeRange','PENDING','FromArray','_colorIndex','SNAPSHOT_HAS_BEEN_REMOVED','complete','pipe','round','_entities','_configService','YUUMI_ASYNCIO_CANCELLED','_heartbeatTimer','_render','_revisionService','_initResize','propertyIsEnumerable','_univerInstanceService','TEXT','transformByState','_handleHeartbeatEvent','clipPath','subscribe','subunit','ACTIVE_UNIT_EVENT_CHANNEL','subscribeEvent','onStarting','_updateSubUnitFromURLParams','ENSURE_SNAPSHOT_EXECUTION','syncEditingCollabCursor','disableLocalCache','getOwnPropertyDescriptor','code','editingUnit','className','_uiPartsService','location','hasOwnProperty','executionId','_assignedColors','TOO_MANY_REQUESTS','InsertRangeMoveDownCommandId','getTypeOfUnitDisposed$','1em','_anchor','search','hovered','unitID','sessionStatus$','_docTransformSelectionsService','_collabCursorController','10162140LJVcDb','indexOf','row','tag','_anchorDot','getUndoRedoMutationParamsCache','ONLINE','_onCursorDelete','_httpService','_beforeCloseService','_getAnchorBounding','_dataLoaderService','fill','NOT_FOUND','getUnhiddenWorksheets','getOwnPropertySymbols','getCurrentSelections','_getSessionTicket','LICENSE_IMPORT_SIZE_EXCEEDED','_session','YUUMI_URL_COL_OUT_OF_RANGE','_hover','idSuffix','onLocalMutation','currentSkeleton$','_entityInit$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getRenderById','VIEW_MAIN','INVALID_INVITE_CODE','includes','focused$','on-line-single','registerComponent','_ensureSubject','getRelativeToViewportCoord','_startSheetCollabCursor','_name','MOBILE_HAS_BEEN_BOUND','result','onPointerLeave$','CONNECTOR_DATA_TOO_LARGE','collaboration.single-unit.warning','_registerDependencies','text','history','range','ticket','ALREADY_EXISTS','_initStatusComponent','PERMISSION_DENIED','unsubscribe','_clearOtherTimers','RemoveRowCommandId','transformRemoteChangeset','LICENSE_EXPORT_SIZE_EXCEEDED','red300','requireSession','ranges','loadOfflineData','onRendered','executeCommand','_handleEvent','_toggleOnline','endRow','_scheduleClearOtherTimer','_getScale','_unitOnClients','DeleteRangeMoveLeftCommandId','application/json','USERS_LEAVE','eventID','_updateLocalCursor','drawWith','APPLY_NON_SEQUENTIAL_REVISION','getActiveSheet','min','getTypeOfUnitAdded$','_saveCache','_cursorShapes','APPLY_REJECT','cursorInfo$','getAncestorScale','toRgbString','_getSheetObject','_onRefRangeChange','replace','displayName','_localStorageService','getMemberID','_shapes','0\x200\x2017\x2016','params','_initEntityListener','closePath','map','_collabSessionService','function','defs','M0\x200H16V16H0z','_send','Warning','unshift','icon','addClipboardHook','session.collaboration-timeout','YUUMI_NO_CUBOID_FOR_QUESTION','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','univer-text-green-500','YUUMI_SUBSCRIPTION_NOT_FOUND','assignAColorForMemberID','onCommandExecuted','getMergeData','HEADER_MENU','url(#$1','setShapeProps','createInstance','m1Prime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','transformMutation','_draw','getCollabEntity$','split','collabStatus.synced','generateRandomId','_memberService','fillRule','none','mutations','_roomMembers$','UNRECOGNIZED','_syncEditingCollabCursorService','lineTo','onTransformChange$','unitId','saveTaskMap','override','setUndoRedoMutationParamsCache','_range','_hideTimer','cursorInfo','engine','_sheetSkeletonManagerService','column','fillStyle','delete','_cursors','_logService','replaceDocRanges','max','univer-flex\x20univer-mr-2\x20univer-text-[20px]','undoState','getCurrent','univer-flex\x20univer-items-center','path','children','docStateChange$','gold400','selection','status$','uni.network.url-service','getParam','getCurrentRevOfUnit','transformMutationsWithChangeset','_docTransformStateCacheService','concat','some','permission.title','_textBubble','apply','getOffsetConfig','_localCacheService','transformSelections','_docStateChangeManagerService','svg','univer-text-red-500','setAlpha','collabStatus.fetchMiss','3JVitpZ','_urlService','collabCursorState$','_handleHover','_injector','LICENSE_DISTRO_REJECTED','_updateURLWithCurrentState','getSkeleton','_onCursorUpdate','transformStateCache','MUTATION','_messageService','black','replaceState','SNAPSHOT_INVALID_SNAPSHOT','COMPLETION_FINISHED','LOGIN_FAILED','_transformService','href','invokeId','session.will-retry','_collaborationController','blue400','saveOfflineData','_docClipboardService','transform','collab-rect-range-','isActive','_registerRenderDependencies','onPointerEnter$','font','runId','CHANGESET_REVISION_CONFILICT','261GtGTJj','body','removeParam','13nHSpyK','_status$','skeleton','show','YUUMI_ALL_TABLES_IS_INVALID','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getCellPositionByOffset','getItem','_initStatusListener','_initDependencies','_backgroundColor','onMouseMove','currentTheme$','_notificationService','roomMembers','entries','_toggleOffline','collab-client.tooltip.reconnect','_handleLeaveEvent','subUnitId','next','_cursorInfo$','init','4806yVhzeh','event$','_startDocCollabCursor','UNIVER_SHEET','url(#on-line-single_clip0_910_349)','data','getActiveRange','INTERNAL_ERROR','_docSkeletonManagerService','_updateCollabCursors','newValue','with','registerBeforeClose','RECT','605770BRHbel','collab-text-range-','setItem','_localeService','_setupSubUnitSync','univerjs-icon\x20univerjs-icon-','mask','labelPosition','55355tkWdGS','name','_drawAnchor','height','activeSheet$','_initEvent','attrs','searchParams','INVITE_CODE_REQUIRED','APPLY_PERMISSION_DENIED','prototype','68192vftTKr','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','hide','OTHER_CLIENTS_EDITING','startRow','_scheduleHeartbeat','stringify','#fff','4314282myAJmx','_removeClearOtherTimer','clearTimeout','exhaustSavingTask','RemoveColCommandId','UniverIcon','EMAIL_HAS_BEEN_BOUND','_cachedData','AWAITING','use','_disabled','_themeService','50AvtSRE','length','0\x200\x2016\x2016','_setupBeforeClosingHandler','restore','getConfig','_instanceService','_transformUndoRedoStack'];_0x1528=function(){return _0x5a6ced;};return _0x1528();}let H=class extends _0x36a28e{constructor(_0x46e82a,_0x1b6c63,_0x59b1d1){const _0x2ed0d4=_0xa130d5;super(),_(this,_0x2ed0d4(0x300),new Map()),_(this,_0x2ed0d4(0x343),new _0x5e287b()),(this[_0x2ed0d4(0x308)]=_0x46e82a,this[_0x2ed0d4(0x1db)]=_0x1b6c63,this[_0x2ed0d4(0x185)]=_0x59b1d1,this[_0x2ed0d4(0x29c)]());}[_0xa130d5(0x2e0)](){const _0x1d2283=_0xa130d5;super['dispose'](),this[_0x1d2283(0x343)]['complete'](),this[_0x1d2283(0x300)]['forEach'](_0x5eb0ad=>_0x5eb0ad[_0x1d2283(0x2e0)]());}['getCollabCursors$'](_0x1a48e7){const _0x2b511=_0xa130d5;return this[_0x2b511(0x300)]['has'](_0x1a48e7)?this[_0x2b511(0x300)][_0x2b511(0x2a0)](_0x1a48e7)[_0x2b511(0x176)]:this[_0x2b511(0x343)]['pipe'](_0x16d207(_0x3715cc=>_0x3715cc[_0x2b511(0x326)]===_0x1a48e7),_0x5c9176(_0x34b44e=>_0x34b44e[_0x2b511(0x176)]));}[_0xa130d5(0x29c)](){const _0x442236=_0xa130d5;this[_0x442236(0x308)]['getTypeOfUnitAdded$'](_0x4041fb[_0x442236(0x215)])[_0x442236(0x2fe)](_0x301a84(this[_0x442236(0x278)]))[_0x442236(0x30d)](async _0x289ec6=>{const _0x1389f8=_0x442236,_0x57a8cb=_0x289ec6[_0x1389f8(0x272)](),_0x49fe30=await this[_0x1389f8(0x34e)](_0x57a8cb);this[_0x1389f8(0x343)][_0x1389f8(0x20f)](_0x49fe30),this[_0x1389f8(0x300)][_0x1389f8(0x2a4)](_0x57a8cb,_0x49fe30);}),this[_0x442236(0x308)][_0x442236(0x172)](_0x4041fb[_0x442236(0x2f3)])[_0x442236(0x2fe)](_0x301a84(this['dispose$']))[_0x442236(0x2fe)](_0x16d207(_0x502877=>!_0x502877['getUnitId']()['startsWith']('__')))[_0x442236(0x30d)](async _0x1c6a49=>{const _0x32f809=_0x442236,_0x530a9a=_0x1c6a49[_0x32f809(0x272)](),_0xc4185d=await this['_startDocCollabCursor'](_0x530a9a);this['_entityInit$'][_0x32f809(0x20f)](_0xc4185d),this[_0x32f809(0x300)][_0x32f809(0x2a4)](_0x530a9a,_0xc4185d);}),_0x32c485(this[_0x442236(0x308)][_0x442236(0x321)](_0x4041fb['UNIVER_DOC']),this['_univerInstanceService'][_0x442236(0x321)](_0x4041fb['UNIVER_SHEET']))['pipe'](_0x301a84(this[_0x442236(0x278)]))[_0x442236(0x30d)](_0x190d04=>{const _0x178159=_0x442236,_0x226e83=_0x190d04[_0x178159(0x272)](),_0x455240=this[_0x178159(0x300)]['get'](_0x226e83);_0x455240&&(_0x455240[_0x178159(0x2e0)](),this[_0x178159(0x300)][_0x178159(0x1b6)](_0x226e83));});}async[_0xa130d5(0x34e)](_0xed3cbb){const _0x38f3cd=_0xa130d5,_0x4f5bf4=await this['_collabSessionService'][_0x38f3cd(0x15e)](_0xed3cbb),_0x1cded1=this[_0x38f3cd(0x1db)][_0x38f3cd(0x199)](Me,_0xed3cbb,_0x4f5bf4);return _0x1cded1[_0x38f3cd(0x211)](),_0x1cded1;}async[_0xa130d5(0x214)](_0x182a58){const _0xe17c26=_0xa130d5,_0x505e8a=await this['_collabSessionService'][_0xe17c26(0x15e)](_0x182a58),_0x5ced6b=this['_injector'][_0xe17c26(0x199)](Ue,_0x182a58,_0x505e8a);return _0x5ced6b['init'](),_0x5ced6b;}};H=Ci([Se(0x0,_0x58523b),Se(0x1,_0x3156fc(_0x17ea93)),Se(0x2,_0x3156fc(_0x175b54))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x5e9c2a,_0xb810e6){const _0x2a16f5=_0xa130d5;let {radius:_0x488849,width:_0x3ba720,height:_0x3d222b}=_0xb810e6;_0x488849=_0x488849!=null?_0x488849:0x0,_0x3ba720=_0x3ba720!=null?_0x3ba720:0x1e,_0x3d222b=_0x3d222b!=null?_0x3d222b:0x1e;let _0x50810f=0x0,_0x1e20b6=0x0,_0x29394a=0x0;_0x50810f=_0x1e20b6=_0x29394a=Math[_0x2a16f5(0x171)](_0x488849,_0x3ba720/0x2,_0x3d222b/0x2),_0x5e9c2a[_0x2a16f5(0x2e7)](),_0x5e9c2a['moveTo'](_0x50810f,0x0),_0x5e9c2a[_0x2a16f5(0x1a9)](_0x3ba720-_0x1e20b6,0x0),_0x5e9c2a['arc'](_0x3ba720-_0x1e20b6,_0x1e20b6,_0x1e20b6,Math['PI']*0x3/0x2,0x0,!0x1),_0x5e9c2a[_0x2a16f5(0x1a9)](_0x3ba720,_0x3d222b-_0x29394a),_0x5e9c2a['arc'](_0x3ba720-_0x29394a,_0x3d222b-_0x29394a,_0x29394a,0x0,Math['PI']/0x2,!0x1),_0x5e9c2a[_0x2a16f5(0x1a9)](0x0,_0x3d222b),_0x5e9c2a[_0x2a16f5(0x1a9)](0x0,_0x50810f),_0x5e9c2a[_0x2a16f5(0x2e8)](_0x50810f,_0x50810f,_0x50810f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5e9c2a[_0x2a16f5(0x183)](),_0xb810e6[_0x2a16f5(0x336)]&&(_0x5e9c2a['save'](),_0x5e9c2a[_0x2a16f5(0x1b5)]=_0xb810e6['fill'],_0xb810e6[_0x2a16f5(0x1a3)]===_0x2a16f5(0x26d)?_0x5e9c2a[_0x2a16f5(0x336)]('evenodd'):_0x5e9c2a[_0x2a16f5(0x336)](),_0x5e9c2a[_0x2a16f5(0x24b)]());}class he extends _0x5e2e11{constructor(_0x3a5578,_0xc6e9bb){const _0xf12f3=_0xa130d5;super(_0x3a5578,_0xc6e9bb),_(this,'color'),_(this,_0xf12f3(0x356)),(this[_0xf12f3(0x265)]=_0xc6e9bb==null?void 0x0:_0xc6e9bb[_0xf12f3(0x265)],this[_0xf12f3(0x356)]=_0xc6e9bb==null?void 0x0:_0xc6e9bb[_0xf12f3(0x356)]);}static['drawWith'](_0x2101c9,_0x3dcaa5){const _0xe972a3=_0xa130d5,{text:_0x3975ad,color:_0x6629c2}=_0x3dcaa5;_0x2101c9[_0xe972a3(0x26e)](),_0x2101c9[_0xe972a3(0x1f5)]=_0xe972a3(0x279);const _0x10163d=_0x2101c9[_0xe972a3(0x251)](_0x3975ad)[_0xe972a3(0x255)],_0x4ba23b=Math['min'](_0x10163d+0x2*me,Qe);Oi(_0x2101c9,{'height':ee,'radius':0x4,'width':_0x4ba23b,'fill':_0x6629c2}),_0x2101c9[_0xe972a3(0x1b5)]='#FFF';const _0x467f79=me,_0xbf7f02=ee-Ei,_0x1f0249=Qe-0x2*me;if(_0x10163d>_0x1f0249){let _0x5c52fc='',_0x5c35dc=0x0;for(const _0x17e3ea of _0x3975ad){const _0x2f8a98=_0x2101c9[_0xe972a3(0x251)](_0x17e3ea)[_0xe972a3(0x255)];if(_0x5c35dc+_0x2f8a98<=_0x1f0249-_0x2101c9[_0xe972a3(0x251)]('...')[_0xe972a3(0x255)])_0x5c52fc+=_0x17e3ea,_0x5c35dc+=_0x2f8a98;else{_0x5c52fc+=_0xe972a3(0x2ad);break;}}_0x2101c9[_0xe972a3(0x2df)](_0x5c52fc,_0x467f79,_0xbf7f02);}else _0x2101c9[_0xe972a3(0x2df)](_0x3975ad,_0x467f79,_0xbf7f02);_0x2101c9[_0xe972a3(0x24b)]();}[_0xa130d5(0x19d)](_0x4e4464){const _0x58c98c=_0xa130d5;he[_0x58c98c(0x16e)](_0x4e4464,this);}}const ge=_0xa130d5(0x275),bi=_0xa130d5(0x221),Ti=_0xa130d5(0x1f1),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x50e1e6,_0x36df7d,_0x263c73,_0x3d032c){const _0x5775e6=_0xa130d5;_(this,_0x5775e6(0x17f),[]),_(this,_0x5775e6(0x323),null),_(this,_0x5775e6(0x1cd),null),_(this,_0x5775e6(0x32e),null),_(this,'_hideTimer',null),_(this,_0x5775e6(0x269),null),(this[_0x5775e6(0x2ba)]=_0x50e1e6,this['_scene']=_0x36df7d,this['_docSkeleton']=_0x263c73,this[_0x5775e6(0x2e5)]=_0x3d032c,this[_0x5775e6(0x304)]());}set[_0xa130d5(0x33f)](_0xba41c3){const _0x2f947b=_0xa130d5;_0xba41c3?(this['_anchorDot']&&this[_0x2f947b(0x32e)][_0x2f947b(0x235)](),this[_0x2f947b(0x1cd)]&&this['_textBubble'][_0x2f947b(0x1fe)]()):(this[_0x2f947b(0x32e)]&&this[_0x2f947b(0x32e)][_0x2f947b(0x1fe)](),this['_textBubble']&&this['_textBubble'][_0x2f947b(0x235)]());}[_0xa130d5(0x2e0)](){const _0x55692b=_0xa130d5;for(const _0x182788 of this[_0x55692b(0x17f)])_0x182788[_0x55692b(0x2e0)]();this[_0x55692b(0x1cd)]&&this[_0x55692b(0x1cd)][_0x55692b(0x2e0)](),this[_0x55692b(0x32e)]&&this['_anchorDot'][_0x55692b(0x2e0)](),this[_0x55692b(0x323)]&&this[_0x55692b(0x323)]['dispose'](),this[_0x55692b(0x269)]&&this[_0x55692b(0x269)]();}[_0xa130d5(0x304)](){const _0x30f2e4=_0xa130d5;var _0x51ee54;const {_docSkeleton:_0x17531b,_document:_0x547abe}=this,{color:_0x164ad8,name:_0x4f03c2,ranges:_0x28a50f}=this['_cursor'],_0x3aeaf0=_0x547abe[_0x30f2e4(0x1cf)](),{docsLeft:_0x36044b,docsTop:_0x52f798}=_0x3aeaf0,_0xa8e7a2=new _0x224e05(_0x3aeaf0,_0x17531b);for(const {startOffset:_0x343756,endOffset:_0x5206bb,rangeType:_0x53e080,segmentId:_0x314fee,segmentPage:_0x358fb6,collapsed:_0xaeb00a,isActive:_0x8970de}of _0x28a50f){const _0x493499=_0x17531b[_0x30f2e4(0x29e)](_0x343756,!0x0,_0x314fee,_0x358fb6);let _0x32a3e4=_0x17531b['findNodePositionByCharIndex'](_0x5206bb,!0x0,_0x314fee,_0x358fb6);if(_0x32a3e4==null&&(_0x32a3e4=_0x17531b['findNodePositionByCharIndex'](_0x5206bb-0x1,!0x1,_0x314fee,_0x358fb6)),_0x8970de){const {contentBoxPointGroup:_0x31622c}=_0xa8e7a2[_0x30f2e4(0x2a6)](_0x32a3e4,_0x32a3e4);if(_0x31622c['length']===0x0)continue;this[_0x30f2e4(0x22a)](_0x164ad8,_0x31622c,_0x36044b,_0x52f798,_0x4f03c2),this[_0x30f2e4(0x269)]=this[_0x30f2e4(0x1da)]();}if(_0x493499&&_0x32a3e4){if(_0x53e080===_0x371b4b[_0x30f2e4(0x21f)]){const _0x4c7cbd=new _0xd17952(_0x3aeaf0,_0x17531b),{pointGroup:_0x67ff8c}=(_0x51ee54=_0x4c7cbd[_0x30f2e4(0x2a6)](_0x493499,_0x32a3e4))!=null?_0x51ee54:{};if(_0x67ff8c==null||_0x67ff8c[_0x30f2e4(0x248)]===0x0)continue;this[_0x30f2e4(0x284)](_0x164ad8,_0x67ff8c,_0x36044b,_0x52f798);}else{if(!_0xaeb00a){const {borderBoxPointGroup:_0x1ad42d}=_0xa8e7a2[_0x30f2e4(0x2a6)](_0x493499,_0x32a3e4);if(_0x1ad42d[_0x30f2e4(0x248)]===0x0)continue;this[_0x30f2e4(0x2cf)](_0x164ad8,_0x1ad42d,_0x36044b,_0x52f798);}}}}}[_0xa130d5(0x22a)](_0x1a2585,_0x9fdbe6,_0x2a308e,_0x47cb87,_0x21396a){const _0x17947d=_0xa130d5,_0x1e255d=this[_0x17947d(0x334)](_0x9fdbe6),{left:_0x30a28e,top:_0x1fcda8,height:_0x4b48bf}=_0x1e255d,_0x86627e=this[_0x17947d(0x167)](),_0x60858f=Di/_0x86627e,_0x1502b6=new _0x510bbf(ge+_0x5a569e[_0x17947d(0x1a1)](X),{'left':_0x30a28e+_0x2a308e-_0x60858f,'top':_0x1fcda8+_0x47cb87,'height':_0x4b48bf,'width':Ri,'fill':_0x1a2585||_0x61a0b9(_0x211a6b[_0x17947d(0x1e3)],0x0),'strokeWidth':_0x60858f,'stroke':Ni,'evented':!0x0});this[_0x17947d(0x323)]=_0x1502b6,this[_0x17947d(0x297)]['addObject'](_0x1502b6,_0x3df993);const _0x4082d0=new _0x510bbf(ge+_0x5a569e[_0x17947d(0x1a1)](X),{'left':_0x30a28e+_0x2a308e-_0x60858f,'top':_0x1fcda8+_0x47cb87-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x1a2585||_0x61a0b9(_0x211a6b[_0x17947d(0x1e3)],0x0),'strokeWidth':0x0,'stroke':_0x1a2585||_0x61a0b9(_0x211a6b[_0x17947d(0x1e3)],0x0),'evented':!0x1});this[_0x17947d(0x32e)]=_0x4082d0,this[_0x17947d(0x297)][_0x17947d(0x27e)](_0x4082d0,_0x3df993);const _0x276f10=new he(ge+_0x5a569e[_0x17947d(0x1a1)](X),{'left':_0x30a28e+_0x2a308e-_0x60858f,'top':_0x1fcda8+_0x47cb87-ee,'text':_0x21396a,'color':_0x1a2585});this[_0x17947d(0x1cd)]=_0x276f10,this[_0x17947d(0x297)][_0x17947d(0x27e)](_0x276f10,_0x3df993),this['_hover']=!0x1;}['_handleHover'](){const _0x2b944a=_0xa130d5,_0x4e0b45=this[_0x2b944a(0x323)][_0x2b944a(0x1f4)][_0x2b944a(0x310)](()=>{const _0x5ef0dd=_0x2b944a;this[_0x5ef0dd(0x33f)]=!0x0;}),_0x408793=this[_0x2b944a(0x323)][_0x2b944a(0x352)][_0x2b944a(0x310)](()=>{const _0x320544=_0x2b944a;this['_hideTimer']&&clearTimeout(this[_0x320544(0x1b0)]),this[_0x320544(0x1b0)]=setTimeout(()=>{const _0x315194=_0x320544;this[_0x315194(0x33f)]=!0x1;},0x7d0);});return()=>{const _0x6c9f90=_0x2b944a;_0x4e0b45[_0x6c9f90(0x158)](),_0x408793['unsubscribe']();};}[_0xa130d5(0x2cf)](_0x3e9a64,_0x22705d,_0x162041,_0x5d1e67){const _0x9846b7=_0xa130d5,_0x29cf1e=new _0x13d215(_0x3e9a64)['setAlpha'](0.2)[_0x9846b7(0x178)](),_0x3263b8=new _0x3bb447(bi+_0x5a569e[_0x9846b7(0x1a1)](X),{'pointsGroup':_0x22705d,'fill':_0x29cf1e||_0x61a0b9(_0x211a6b['black'],0.2),'left':_0x162041,'top':_0x5d1e67,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x9846b7(0x17f)][_0x9846b7(0x2d5)](_0x3263b8),this['_scene'][_0x9846b7(0x27e)](_0x3263b8,_0x3df993);}[_0xa130d5(0x284)](_0x19b5b9,_0x11d2d9,_0x4aad1c,_0x5d83d2){const _0x4cc0be=_0xa130d5,_0x3c5a67=new _0x13d215(_0x19b5b9)[_0x4cc0be(0x1d5)](0.2)['toRgbString'](),_0x204ad6=new _0x3bb447(Ti+_0x5a569e[_0x4cc0be(0x1a1)](X),{'pointsGroup':_0x11d2d9,'fill':_0x3c5a67||_0x61a0b9(_0x211a6b[_0x4cc0be(0x1e3)],0.2),'left':_0x4aad1c,'top':_0x5d83d2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cc0be(0x17f)][_0x4cc0be(0x2d5)](_0x204ad6),this[_0x4cc0be(0x297)]['addObject'](_0x204ad6,_0x3df993);}[_0xa130d5(0x334)](_0x12ba97){const _0x33ca7f=_0x12ba97[0x0],_0x480024=_0x33ca7f[0x0],_0xf578a0=_0x33ca7f[0x2],{x:_0x27b6cc,y:_0x1af338}=_0x480024,{x:_0x1942e5,y:_0x562239}=_0xf578a0;return{'left':_0x27b6cc,'top':_0x1af338,'width':_0x1942e5-_0x27b6cc,'height':_0x562239-_0x1af338};}['_getScale'](){const _0x579f56=_0xa130d5,{scaleX:_0x26c7b6,scaleY:_0x5e03e9}=this[_0x579f56(0x297)][_0x579f56(0x177)]();return Math[_0x579f56(0x1ba)](_0x26c7b6,_0x5e03e9);}}var Ui=Object[_0xa130d5(0x316)],Mi=(_0x146634,_0x3e2c28,_0xdd35e8,_0x344535)=>{const _0x41d9f2=_0xa130d5;for(var _0x43e8c0=_0x344535>0x1?void 0x0:_0x344535?Ui(_0x3e2c28,_0xdd35e8):_0x3e2c28,_0x3f8d03=_0x146634[_0x41d9f2(0x248)]-0x1,_0x3a1ae1;_0x3f8d03>=0x0;_0x3f8d03--)(_0x3a1ae1=_0x146634[_0x3f8d03])&&(_0x43e8c0=_0x3a1ae1(_0x43e8c0)||_0x43e8c0);return _0x43e8c0;},Z=(_0x41cb49,_0x18b6b4)=>(_0x3129be,_0x54e81f)=>_0x18b6b4(_0x3129be,_0x54e81f,_0x41cb49);let Pe=class extends _0x36a28e{constructor(_0x20e70a,_0x467898,_0xb7398,_0x509419,_0x1ea740){const _0x2aa630=_0xa130d5;super(),_(this,'_cursorShapes',[]),_(this,_0x2aa630(0x1b7),[]),(this[_0x2aa630(0x2e4)]=_0x20e70a,this[_0x2aa630(0x21a)]=_0x467898,this['_collabCursorController']=_0xb7398,this['_commandService']=_0x509419,this['_themeService']=_0x1ea740,this[_0x2aa630(0x29c)]());}[_0xa130d5(0x29c)](){const _0x174079=_0xa130d5,_0x459846=this[_0x174079(0x2e4)][_0x174079(0x1ab)],_0x2dbfeb=this[_0x174079(0x21a)];this['disposeWithMe'](_0x28304f([this[_0x174079(0x329)][_0x174079(0x2c4)](_0x459846),this[_0x174079(0x246)][_0x174079(0x207)]])[_0x174079(0x2fe)](_0x1de582(([_0x3f710a,_0x5ce18e])=>({'skeleton':_0x2dbfeb['getSkeleton'](),'cursors':[..._0x3f710a[_0x174079(0x252)]()][_0x174079(0x2c7)](_0x301f6b=>({..._0x301f6b,'color':_0x5ce18e[_0x301f6b[_0x174079(0x265)]]}))})))[_0x174079(0x30d)](_0xacf749=>{const _0x3a48ea=_0x174079;if(this[_0x3a48ea(0x25e)](),_0xacf749){const {skeleton:_0x1531a2,cursors:_0x134c7c}=_0xacf749;this[_0x3a48ea(0x21b)](_0x1531a2,_0x134c7c);}})),this[_0x174079(0x306)](),this['_initCommandExecutedListener']();}[_0xa130d5(0x21b)](_0x4fdc1b,_0x3d086f){const _0x35891c=_0xa130d5,{scene:_0x339c01,mainComponent:_0x42390e}=this[_0x35891c(0x2e4)],_0x2d7b91=_0x3d086f[_0x35891c(0x184)](_0x1dc1f3=>new qe(_0x1dc1f3,_0x339c01,_0x4fdc1b,_0x42390e));this[_0x35891c(0x174)]=_0x2d7b91,this[_0x35891c(0x1b7)]=_0x3d086f;}[_0xa130d5(0x27f)](){const _0x168e4f=_0xa130d5;this['_removeCollabCursors']();const {scene:_0x5bd8b8,mainComponent:_0x209954}=this[_0x168e4f(0x2e4)],_0x230f94=this[_0x168e4f(0x21a)][_0x168e4f(0x1de)](),_0xfb17cb=this['_cursors'][_0x168e4f(0x184)](_0x3576d3=>new qe(_0x3576d3,_0x5bd8b8,_0x230f94,_0x209954));this['_cursorShapes']=_0xfb17cb;}[_0xa130d5(0x25e)](){const _0x47fbe3=_0xa130d5;this[_0x47fbe3(0x174)]['forEach'](_0x48181f=>_0x48181f[_0x47fbe3(0x2e0)]()),this[_0x47fbe3(0x174)]=[];}['_initCommandExecutedListener'](){const _0x278778=_0xa130d5,_0x44f11b=[_0x31a54a['id']];this[_0x278778(0x2cd)](this[_0x278778(0x28e)]['onCommandExecuted'](_0x414a99=>{const _0x54824b=_0x278778;_0x44f11b[_0x54824b(0x348)](_0x414a99['id'])&&_0x414a99[_0x54824b(0x181)][_0x54824b(0x1ab)]===this[_0x54824b(0x2e4)][_0x54824b(0x1ab)]&&this[_0x54824b(0x27f)]();}));}[_0xa130d5(0x306)](){const _0x183979=_0xa130d5;this[_0x183979(0x2cd)](_0x316a11(this['_context'][_0x183979(0x1b2)][_0x183979(0x1aa)])[_0x183979(0x2fe)](_0x20b8af(_0x58e9f2=>_0x58e9f2[_0x183979(0x2ae)]===_0x50424a[_0x183979(0x24f)]),_0x2fb5cf(0x10))[_0x183979(0x30d)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x3156fc(_0x48fb3f)),Z(0x2,_0x3156fc(H)),Z(0x3,_0x4101e),Z(0x4,_0x3156fc(_0x1deb39))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x5e2e11{constructor(_0x1be387,_0x376cba){const _0x16c29b=_0xa130d5;super(_0x1be387,_0x376cba),_(this,_0x16c29b(0x260)),_(this,_0x16c29b(0x2e3),!0x1),_(this,_0x16c29b(0x1af)),_(this,_0x16c29b(0x34f),''),_(this,'_labelPosition',_0x16c29b(0x2ab)),_(this,_0x16c29b(0x205)),(_0x376cba&&this[_0x16c29b(0x198)](_0x376cba),this[_0x16c29b(0x1f4)]['subscribeEvent'](()=>this[_0x16c29b(0x198)]({'hovered':!0x0})),this[_0x16c29b(0x352)][_0x16c29b(0x310)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xa130d5(0x198)](_0xdaa015){const _0x474bc4=_0xa130d5;var _0xcde964,_0xae3541,_0x36d463,_0x2efef9,_0x14a380,_0x3bbbfc;this[_0x474bc4(0x260)]=(_0xcde964=_0xdaa015[_0x474bc4(0x265)])!=null?_0xcde964:this[_0x474bc4(0x260)],this['_hovered']=(_0xae3541=_0xdaa015[_0x474bc4(0x325)])!=null?_0xae3541:this[_0x474bc4(0x2e3)],this[_0x474bc4(0x1af)]=(_0x36d463=_0xdaa015[_0x474bc4(0x358)])!=null?_0x36d463:this[_0x474bc4(0x1af)],this['_name']=(_0x2efef9=_0xdaa015[_0x474bc4(0x229)])!=null?_0x2efef9:this[_0x474bc4(0x34f)],this[_0x474bc4(0x2a8)]=(_0x14a380=_0xdaa015[_0x474bc4(0x227)])!=null?_0x14a380:this['_labelPosition'],this[_0x474bc4(0x205)]=(_0x3bbbfc=_0xdaa015['backgroundColor'])!=null?_0x3bbbfc:this[_0x474bc4(0x205)],this[_0x474bc4(0x30a)]({'width':_0xdaa015[_0x474bc4(0x255)],'height':_0xdaa015[_0x474bc4(0x22b)]});}['onMouseMove'](_0xfcde7e){const _0x4481e6=_0xa130d5,{row:_0x4b1cf7,column:_0x23fd16}=_0xfcde7e;if(_0x4b1cf7>=this[_0x4481e6(0x1af)][_0x4481e6(0x237)]&&_0x4b1cf7<=this['_range'][_0x4481e6(0x165)]&&_0x23fd16>=this[_0x4481e6(0x1af)][_0x4481e6(0x28d)]&&_0x23fd16<=this[_0x4481e6(0x1af)]['endColumn']){this[_0x4481e6(0x198)]({'hovered':!0x0});return;}this[_0x4481e6(0x198)]({'hovered':!0x1});}['triggerDblclick'](_0x1fdc52){return!0x1;}[_0xa130d5(0x19d)](_0x37a099){const _0x57c7b7=_0xa130d5;_0x510bbf[_0x57c7b7(0x16e)](_0x37a099,{'width':this[_0x57c7b7(0x255)],'height':this['height'],'strokeWidth':Li,'stroke':this[_0x57c7b7(0x260)],'evented':!0x1,'fill':this[_0x57c7b7(0x205)]}),this[_0x57c7b7(0x2e3)]&&(_0x37a099[_0x57c7b7(0x26e)](),_0x37a099[_0x57c7b7(0x1f0)](0x1,0x0,0x0,0x1,this[_0x57c7b7(0x255)],this['_labelPosition']==='bottom'?0x0:-0x14),he[_0x57c7b7(0x16e)](_0x37a099,{'text':this[_0x57c7b7(0x34f)],'color':this[_0x57c7b7(0x260)]}),_0x37a099[_0x57c7b7(0x24b)]());}}var Ai=Object[_0xa130d5(0x316)],yi=(_0x52892d,_0x13f22c,_0x5ebfb4,_0x33d429)=>{const _0x2556fd=_0xa130d5;for(var _0x2986b7=_0x33d429>0x1?void 0x0:_0x33d429?Ai(_0x13f22c,_0x5ebfb4):_0x13f22c,_0x1586a8=_0x52892d[_0x2556fd(0x248)]-0x1,_0x251230;_0x1586a8>=0x0;_0x1586a8--)(_0x251230=_0x52892d[_0x1586a8])&&(_0x2986b7=_0x251230(_0x2986b7)||_0x2986b7);return _0x2986b7;},ve=(_0x596fbe,_0x537e09)=>(_0x350e00,_0x12da15)=>_0x537e09(_0x350e00,_0x12da15,_0x596fbe);const $i=0x1389;let Le=class extends _0x36a28e{constructor(_0x341e64,_0x3b8c71,_0x204e02,_0x354db1){const _0x3975b4=_0xa130d5;super(),_(this,_0x3975b4(0x1b7),new Set()),_(this,_0x3975b4(0x25a),null),(this[_0x3975b4(0x2e4)]=_0x341e64,this[_0x3975b4(0x1b3)]=_0x3b8c71,this[_0x3975b4(0x329)]=_0x204e02,this['_themeService']=_0x354db1,this['_init']());}[_0xa130d5(0x29c)](){const _0x278de1=_0xa130d5;this[_0x278de1(0x1b3)]['currentSkeleton$']['pipe'](_0xc61dad(this['dispose$']),_0x8e0c4a(_0x4e5752=>{const _0x354215=_0x278de1;if(_0x4e5752){const _0x9fbe39=_0x4e5752['sheetId'];return _0x28304f(this[_0x354215(0x329)]['getCollabCursors$'](this['_context'][_0x354215(0x1ab)]),this['_themeService'][_0x354215(0x207)])['pipe'](_0x1de582(([_0x10f088,_0x1ee55f])=>{const _0x1ff532=_0x354215,_0x3bcdae=new Map();return _0x10f088[_0x1ff532(0x2f4)]((_0x436555,_0x4b3ab5)=>{const _0x9baa3e=_0x1ff532;if(_0x436555[_0x9baa3e(0x289)]===_0x9fbe39){const _0x51e02c={..._0x436555};_0x51e02c[_0x9baa3e(0x265)]=_0x1ee55f[_0x436555[_0x9baa3e(0x265)]],_0x3bcdae['set'](_0x4b3ab5,_0x51e02c);}}),{'skeleton':_0x4e5752,'cursors':_0x3bcdae};}));}return _0x597e7f({'skeleton':null,'cursors':new Map()});}))[_0x278de1(0x30d)](({skeleton:_0x1de5f6,cursors:_0x109180})=>{const _0x4c4e65=_0x278de1;this[_0x4c4e65(0x25e)](),_0x1de5f6&&this['_updateCollabCursors'](_0x1de5f6,_0x109180);}),this[_0x278de1(0x1b3)][_0x278de1(0x342)][_0x278de1(0x30d)](_0x3bb27b=>{const _0x57fee3=_0x278de1;if(_0x3bb27b==null)return;const {skeleton:_0x414aed}=_0x3bb27b,{scene:_0x5c182f}=this[_0x57fee3(0x2e4)];_0x5c182f[_0x57fee3(0x28c)][_0x57fee3(0x310)](_0x5ead44(_0x56fcc9=>{const _0x21175e=_0x57fee3;var _0x225ec0,_0x1fbf07;const {offsetX:_0x1287b8,offsetY:_0x1947c6}=_0x56fcc9,{x:_0x188b5b,y:_0x425169}=_0x5c182f[_0x21175e(0x34d)](_0x3a76c6[_0x21175e(0x2fa)]([_0x1287b8,_0x1947c6])),{scaleX:_0x5473e5,scaleY:_0x151dae}=_0x5c182f[_0x21175e(0x177)](),_0x4318ba=_0x5c182f[_0x21175e(0x2de)](_0x5f2766[_0x21175e(0x346)]),_0xfedeac=_0x5c182f['getVpScrollXYInfoByPosToVp'](_0x3a76c6['FromArray']([_0x188b5b,_0x425169]),_0x4318ba),_0x58ba59=_0x414aed[_0x21175e(0x201)](_0x1287b8,_0x1947c6,_0x5473e5,_0x151dae,_0xfedeac);((_0x225ec0=this[_0x21175e(0x25a)])==null?void 0x0:_0x225ec0['column'])===_0x58ba59[_0x21175e(0x1b4)]&&((_0x1fbf07=this[_0x21175e(0x25a)])==null?void 0x0:_0x1fbf07[_0x21175e(0x32c)])===_0x58ba59[_0x21175e(0x32c)]||this[_0x21175e(0x1b7)][_0x21175e(0x2f4)](_0x1b8db0=>{const _0x43f570=_0x21175e;_0x1b8db0[_0x43f570(0x206)](_0x58ba59);});},0x64));});}[_0xa130d5(0x21b)](_0x3a361f,_0x290c5c){const _0x5a7665=_0xa130d5;var _0x5327c6;const _0x4e38f6=(_0x5327c6=this['_sheetSkeletonManagerService'][_0x5a7665(0x1bd)]())==null?void 0x0:_0x5327c6[_0x5a7665(0x1fd)];if(!_0x4e38f6)return;const _0x475d72=this[_0x5a7665(0x179)]();if(!_0x475d72)return;this[_0x5a7665(0x1b7)][_0x5a7665(0x2f4)](_0x29facb=>{const _0x2e0fe5=_0x5a7665;_0x29facb[_0x2e0fe5(0x290)]();});const {scene:_0x56ee33}=_0x475d72,_0x54fd81=xi(Array['from'](_0x290c5c[_0x5a7665(0x252)]()))[_0x5a7665(0x184)](_0x1089cd=>{const _0x53a10a=_0x5a7665,{color:_0x4b559e,range:_0x38003f,name:_0x20751a,selection:_0x3ab326,sheetID:_0x1d84f2}=_0x1089cd,{startColumn:_0x51fded,startRow:_0x3078b2,endColumn:_0x36f948,endRow:_0x900352}=_0x38003f,_0x360b12=_0x31e289(_0x3078b2,_0x51fded,_0x56ee33,_0x4e38f6),_0x27c664=_0x31e289(_0x900352,_0x36f948,_0x56ee33,_0x4e38f6),{columnHeaderHeightAndMarginTop:_0x5db607}=_0x4e38f6,{startX:_0x37ba0f,startY:_0x1b3bda}=_0x360b12,{endX:_0x318e44,endY:_0x4cb566}=_0x27c664,_0x3bce48=_0x318e44-_0x37ba0f,_0x9ce524=_0x4cb566-_0x1b3bda,_0x4f2c72={'labelPosition':_0x1b3bda-_0x5db607>=ee?_0x53a10a(0x2ab):'bottom','sheetID':_0x1d84f2,'range':_0x38003f,'color':_0x4b559e,'name':_0x20751a,'selection':_0x3ab326,'left':_0x37ba0f,'top':_0x1b3bda,'width':_0x3bce48,'height':_0x9ce524,'evented':!0x1,'zIndex':$i};return new wi(_0x20751a,_0x4f2c72);});_0x56ee33[_0x5a7665(0x268)](_0x54fd81,Pi),this['_cursors']=new Set(_0x54fd81);}[_0xa130d5(0x25e)](){const _0x444b68=_0xa130d5;var _0x1b9d89;(_0x1b9d89=this[_0x444b68(0x1b7)])==null||_0x1b9d89['forEach'](_0x544314=>_0x544314[_0x444b68(0x2e0)]());}['_getSheetObject'](){return _0x1e5fc8(this['_context']['unit'],this['_context']);}};Le=yi([ve(0x1,_0x3156fc(_0x417ccb)),ve(0x2,_0x3156fc(H)),ve(0x3,_0x3156fc(_0x1deb39))],Le);function xi(_0x224b88){const _0xaab4=_0xa130d5,_0xdb4eb=new Map();return _0x224b88[_0xaab4(0x2f4)](_0x3f83f4=>{const _0x53d7c4=_0xaab4;if(_0xdb4eb[_0x53d7c4(0x25b)](_0x3f83f4['selection'])){const _0x53706d=_0xdb4eb[_0x53d7c4(0x2a0)](_0x3f83f4[_0x53d7c4(0x1c3)]);_0x53706d['name']+=',\x20'+_0x3f83f4['name'];}else _0xdb4eb[_0x53d7c4(0x2a4)](_0x3f83f4['selection'],_0x3f83f4);}),Array['from'](_0xdb4eb[_0xaab4(0x252)]());}var v=function(){const _0x51307f=_0xa130d5;return v=Object[_0x51307f(0x2b7)]||function(_0x182c25){const _0x5c1b0b=_0x51307f;for(var _0x4d3b31,_0x8fc807=0x1,_0x3e1cff=arguments[_0x5c1b0b(0x248)];_0x8fc807<_0x3e1cff;_0x8fc807++){_0x4d3b31=arguments[_0x8fc807];for(var _0x3f02c4 in _0x4d3b31)Object[_0x5c1b0b(0x232)][_0x5c1b0b(0x31c)][_0x5c1b0b(0x2b1)](_0x4d3b31,_0x3f02c4)&&(_0x182c25[_0x3f02c4]=_0x4d3b31[_0x3f02c4]);}return _0x182c25;},v[_0x51307f(0x1ce)](this,arguments);},Bi=function(_0x3f66eb,_0x14ae15){const _0x20c004=_0xa130d5;var _0x143a07={};for(var _0x4c41dc in _0x3f66eb)Object[_0x20c004(0x232)][_0x20c004(0x31c)][_0x20c004(0x2b1)](_0x3f66eb,_0x4c41dc)&&_0x14ae15['indexOf'](_0x4c41dc)<0x0&&(_0x143a07[_0x4c41dc]=_0x3f66eb[_0x4c41dc]);if(_0x3f66eb!=null&&typeof Object[_0x20c004(0x339)]==_0x20c004(0x186)){for(var _0x39e7f8=0x0,_0x4c41dc=Object[_0x20c004(0x339)](_0x3f66eb);_0x39e7f8<_0x4c41dc[_0x20c004(0x248)];_0x39e7f8++)_0x14ae15[_0x20c004(0x32b)](_0x4c41dc[_0x39e7f8])<0x0&&Object[_0x20c004(0x232)][_0x20c004(0x307)][_0x20c004(0x2b1)](_0x3f66eb,_0x4c41dc[_0x39e7f8])&&(_0x143a07[_0x4c41dc[_0x39e7f8]]=_0x3f66eb[_0x4c41dc[_0x39e7f8]]);}return _0x143a07;},je=_0x312275(function(_0x271fa6,_0x12cec2){const _0xfb716f=_0xa130d5;var _0x22b3f6=_0x271fa6[_0xfb716f(0x18c)],_0x268724=_0x271fa6['id'],_0x179128=_0x271fa6['className'],_0x52415c=_0x271fa6[_0xfb716f(0x2f0)],_0x36214f=Bi(_0x271fa6,[_0xfb716f(0x18c),'id',_0xfb716f(0x319),_0xfb716f(0x2f0)]),_0x333016=_0xfb716f(0x225)[_0xfb716f(0x1ca)](_0x268724,'\x20')['concat'](_0x179128||'')['trim'](),_0x2bf456=_0x514990('_'[_0xfb716f(0x1ca)](ji()));return Rt(_0x22b3f6,''[_0xfb716f(0x1ca)](_0x268724),{'defIds':_0x22b3f6[_0xfb716f(0x286)],'idSuffix':_0x2bf456['current']},v({'ref':_0x12cec2,'className':_0x333016},_0x36214f),_0x52415c);});function Rt(_0xe3ff5e,_0x28352b,_0x3d8d78,_0x2c469e,_0x3b5621){const _0x1f012c=_0xa130d5;return _0x37e48a(_0xe3ff5e['tag'],v(v({'key':_0x28352b},ki(_0xe3ff5e,_0x3d8d78,_0x3b5621)),_0x2c469e),(Hi(_0xe3ff5e,_0x3d8d78)['children']||[])[_0x1f012c(0x184)](function(_0x49a8d0,_0x40383a){const _0x547d6a=_0x1f012c;return Rt(_0x49a8d0,''[_0x547d6a(0x1ca)](_0x28352b,'-')[_0x547d6a(0x1ca)](_0xe3ff5e['tag'],'-')[_0x547d6a(0x1ca)](_0x40383a),_0x3d8d78,void 0x0,_0x3b5621);}));}function ki(_0x4f364c,_0x2c42e5,_0x5c72f8){const _0x555698=_0xa130d5;var _0xa96c8d=v({},_0x4f364c[_0x555698(0x22e)]);_0x5c72f8!=null&&_0x5c72f8[_0x555698(0x261)]&&_0xa96c8d[_0x555698(0x336)]===_0x555698(0x261)&&(_0xa96c8d[_0x555698(0x336)]=_0x5c72f8['colorChannel1']),_0x4f364c[_0x555698(0x32d)]==='mask'&&_0xa96c8d['id']&&(_0xa96c8d['id']=_0xa96c8d['id']+_0x2c42e5['idSuffix']),Object['entries'](_0xa96c8d)[_0x555698(0x2f4)](function(_0x9863a4){const _0x1bc64e=_0x555698;var _0x4ad245=_0x9863a4[0x0],_0xd9170c=_0x9863a4[0x1];_0x4ad245===_0x1bc64e(0x226)&&typeof _0xd9170c=='string'&&(_0xa96c8d[_0x4ad245]=_0xd9170c['replace'](/url\(#(.*)\)/,_0x1bc64e(0x197)[_0x1bc64e(0x1ca)](_0x2c42e5['idSuffix'],')')));});var _0x2643cf=_0x2c42e5[_0x555698(0x286)];return!_0x2643cf||_0x2643cf['length']===0x0||(_0x4f364c['tag']===_0x555698(0x244)&&_0xa96c8d['xlink:href']&&(_0xa96c8d['xlink:href']=_0xa96c8d[_0x555698(0x27a)]+_0x2c42e5[_0x555698(0x340)]),Object[_0x555698(0x20a)](_0xa96c8d)[_0x555698(0x2f4)](function(_0x31935a){const _0x7f5d8a=_0x555698;var _0x127e95=_0x31935a[0x0],_0x253a3a=_0x31935a[0x1];typeof _0x253a3a==_0x7f5d8a(0x291)&&(_0xa96c8d[_0x127e95]=_0x253a3a[_0x7f5d8a(0x17b)](/url\(#(.*)\)/,_0x7f5d8a(0x197)[_0x7f5d8a(0x1ca)](_0x2c42e5[_0x7f5d8a(0x340)],')')));})),_0xa96c8d;}function Hi(_0x5e069f,_0x1af9cf){const _0x18d5ab=_0xa130d5;var _0x28d625,_0x39b43c=_0x1af9cf[_0x18d5ab(0x286)];return!_0x39b43c||_0x39b43c[_0x18d5ab(0x248)]===0x0?_0x5e069f:_0x5e069f[_0x18d5ab(0x32d)]===_0x18d5ab(0x187)&&(!((_0x28d625=_0x5e069f[_0x18d5ab(0x1c0)])===null||_0x28d625===void 0x0)&&_0x28d625[_0x18d5ab(0x248)])?v(v({},_0x5e069f),{'children':_0x5e069f[_0x18d5ab(0x1c0)][_0x18d5ab(0x184)](function(_0x36fe50){const _0x3afd7f=_0x18d5ab;return typeof _0x36fe50[_0x3afd7f(0x22e)]['id']=='string'&&_0x39b43c&&_0x39b43c[_0x3afd7f(0x32b)](_0x36fe50[_0x3afd7f(0x22e)]['id'])>-0x1?v(v({},_0x36fe50),{'attrs':v(v({},_0x36fe50['attrs']),{'id':_0x36fe50['attrs']['id']+_0x1af9cf['idSuffix']})}):_0x36fe50;})}):_0x5e069f;}function ji(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}je[_0xa130d5(0x17c)]=_0xa130d5(0x240);var Yi={'tag':_0xa130d5(0x1d3),'attrs':{'fill':_0xa130d5(0x1a4),'viewBox':_0xa130d5(0x249),'width':_0xa130d5(0x322),'height':_0xa130d5(0x322)},'children':[{'tag':'g','attrs':{'clipPath':_0xa130d5(0x2dc)},'children':[{'tag':_0xa130d5(0x1bf),'attrs':{'stroke':_0xa130d5(0x2eb),'d':_0xa130d5(0x190),'strokeLinecap':'round','strokeLinejoin':_0xa130d5(0x2ff),'strokeWidth':1.2}}]},{'tag':_0xa130d5(0x187),'attrs':{},'children':[{'tag':_0xa130d5(0x30c),'attrs':{'id':_0xa130d5(0x273)},'children':[{'tag':_0xa130d5(0x1bf),'attrs':{'fill':_0xa130d5(0x23a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xa130d5(0x273)]},Dt=_0x312275(function(_0x496509,_0x522d36){const _0x2266d8=_0xa130d5;return _0x37e48a(je,Object[_0x2266d8(0x2b7)]({},_0x496509,{'id':_0x2266d8(0x2b2),'ref':_0x522d36,'icon':Yi}));});Dt[_0xa130d5(0x17c)]='OffLineSingle';var Wi={'tag':'svg','attrs':{'fill':_0xa130d5(0x1a4),'viewBox':_0xa130d5(0x180),'width':_0xa130d5(0x322),'height':_0xa130d5(0x322)},'children':[{'tag':'g','attrs':{'clipPath':_0xa130d5(0x216)},'children':[{'tag':_0xa130d5(0x1bf),'attrs':{'stroke':_0xa130d5(0x2eb),'d':_0xa130d5(0x26c),'strokeLinecap':'round','strokeLinejoin':_0xa130d5(0x2ff),'strokeWidth':1.2}}]},{'tag':_0xa130d5(0x187),'attrs':{},'children':[{'tag':_0xa130d5(0x30c),'attrs':{'id':_0xa130d5(0x2cc)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0xa130d5(0x188),'transform':_0xa130d5(0x263)}}]}]}],'defIds':[_0xa130d5(0x2cc)]},Nt=_0x312275(function(_0x51b021,_0x155b99){const _0x45f2c9=_0xa130d5;return _0x37e48a(je,Object['assign']({},_0x51b021,{'id':_0x45f2c9(0x34a),'ref':_0x155b99,'icon':Wi}));});Nt[_0xa130d5(0x17c)]=_0xa130d5(0x25f);function Fi(_0x18d8b5){const _0x386a74=_0xa130d5;switch(_0x18d8b5){case _0x374167[_0x386a74(0x295)]:return'collabStatus.offline';case _0x374167[_0x386a74(0x2d0)]:return'collabStatus.conflict';case _0x374167[_0x386a74(0x2d4)]:return _0x386a74(0x1d6);case _0x374167[_0x386a74(0x274)]:return _0x386a74(0x2c2);case _0x374167[_0x386a74(0x243)]:case _0x374167[_0x386a74(0x285)]:return _0x386a74(0x2aa);case _0x374167[_0x386a74(0x2d2)]:case _0x374167[_0x386a74(0x2f9)]:return _0x386a74(0x1a0);}}function Vi(_0x11dfc0){const _0x18c1bf=_0xa130d5,{status$:_0x172967}=_0x11dfc0,_0x532715=_0x1be456(_0x172967,_0x374167[_0x18c1bf(0x274)]),_0xef3057=_0x20e450(_0x85bbfc),_0x4426b0=_0x20e450(_0x175b54),_0x59874e=_0x532715!==_0x374167[_0x18c1bf(0x295)],_0x43bc8c=_0xef3057['t'](Fi(_0x532715)),_0x1c0611=_0x59874e?_0xab2b25(Nt,{}):_0xab2b25(Dt,{}),_0x25b5fd=_0x57c87a(()=>{_0x59874e||_0x4426b0['reconnect']();},[_0x59874e,_0x4426b0]);function _0x401820(){const _0x55658e=_0x18c1bf;return _0xd0c0f4('div',{'className':_0x55658e(0x1be),'onClick':_0x25b5fd,'children':[_0xab2b25(_0x55658e(0x2db),{'className':_0x25bce5(_0x55658e(0x1bb),_0x59874e?_0x55658e(0x191):_0x55658e(0x1d4)),'children':_0x1c0611}),_0xab2b25(_0x55658e(0x2db),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x43bc8c})]});}return _0x59874e?_0x401820():_0xab2b25(_0x38ac88,{'title':_0xef3057['t'](_0x18c1bf(0x20c)),'children':_0x401820()});}var Xi=Object[_0xa130d5(0x316)],Gi=(_0x37e49e,_0x26b6c2,_0x5e254d,_0x566530)=>{for(var _0x5be028=_0x566530>0x1?void 0x0:_0x566530?Xi(_0x26b6c2,_0x5e254d):_0x26b6c2,_0x1717b9=_0x37e49e['length']-0x1,_0x267754;_0x1717b9>=0x0;_0x1717b9--)(_0x267754=_0x37e49e[_0x1717b9])&&(_0x5be028=_0x267754(_0x5be028)||_0x5be028);return _0x5be028;},Q=(_0x24dff5,_0x5b5e0a)=>(_0x3dbef4,_0x520231)=>_0x5b5e0a(_0x3dbef4,_0x520231,_0x24dff5);let te=class extends _0x3d4fed{constructor(_0x5e3481,_0x2fdd07,_0x5c7809,_0x28ce7d){const _0x4e55d5=_0xa130d5;super(),_(this,_0x4e55d5(0x1fc),new _0x3ad1e2(_0x374167[_0x4e55d5(0x274)])),(this[_0x4e55d5(0x308)]=_0x5e3481,this[_0x4e55d5(0x1db)]=_0x2fdd07,this[_0x4e55d5(0x1ec)]=_0x5c7809,this[_0x4e55d5(0x31a)]=_0x28ce7d,this[_0x4e55d5(0x156)](),this['_initStatusListener']());}[_0xa130d5(0x203)](){const _0x4e4c25=_0xa130d5;this[_0x4e4c25(0x2cd)](this['_univerInstanceService'][_0x4e4c25(0x349)][_0x4e4c25(0x2fe)](_0x5c9176(()=>{const _0xc5fadc=_0x4e4c25,_0xd78e81=this['_univerInstanceService'][_0xc5fadc(0x2b4)]();return _0xd78e81?this[_0xc5fadc(0x1ec)][_0xc5fadc(0x19e)](_0xd78e81['getUnitId']()):_0x597e7f(null);}),_0x5c9176(_0x344750=>_0x344750?_0x344750[_0x4e4c25(0x1c4)]:_0x597e7f(_0x374167['NOT_COLLAB'])))[_0x4e4c25(0x30d)](_0x3ef731=>{const _0x4092da=_0x4e4c25;this[_0x4092da(0x1fc)]['next'](_0x3ef731);}));}['_initStatusComponent'](){const _0xf198eb=_0xa130d5;this[_0xf198eb(0x2cd)](this[_0xf198eb(0x31a)][_0xf198eb(0x34b)](_0x403b17[_0xf198eb(0x196)],()=>_0x52d0f5(Ki({'status$':this[_0xf198eb(0x1fc)][_0xf198eb(0x271)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x58523b),Q(0x1,_0x3156fc(_0x17ea93)),Q(0x2,_0x3156fc(_0x9cca5)),Q(0x3,_0x58d3d1)],te);function Ki(_0x1370ae){const {status$:_0x3a8116}=_0x1370ae;return function(){return _0xab2b25(Vi,{'status$':_0x3a8116});};}var zi=Object[_0xa130d5(0x316)],Ji=(_0x85c2f8,_0x3e65a7,_0x4b1f18,_0x29093e)=>{const _0x2a916b=_0xa130d5;for(var _0x4ca572=_0x29093e>0x1?void 0x0:_0x29093e?zi(_0x3e65a7,_0x4b1f18):_0x3e65a7,_0x12e9a8=_0x85c2f8[_0x2a916b(0x248)]-0x1,_0x31ae77;_0x12e9a8>=0x0;_0x12e9a8--)(_0x31ae77=_0x85c2f8[_0x12e9a8])&&(_0x4ca572=_0x31ae77(_0x4ca572)||_0x4ca572);return _0x4ca572;},B=(_0x494afa,_0x1a38b6)=>(_0x567cca,_0x1ab18d)=>_0x1a38b6(_0x567cca,_0x1ab18d,_0x494afa);let se=class extends _0x3d4fed{constructor(_0x163bdc,_0x2d3ff6,_0x200c36,_0xe1b935,_0x48356b,_0x1a9d1e){const _0x2e42fc=_0xa130d5;super(),this['_beforeCloseService']=_0x163bdc,this[_0x2e42fc(0x1d0)]=_0x2d3ff6,this['_collaborationUIEventService']=_0x200c36,this['_messageService']=_0xe1b935,this[_0x2e42fc(0x208)]=_0x48356b,this[_0x2e42fc(0x223)]=_0x1a9d1e,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0xa130d5(0x24a)](){const _0x436c89=_0xa130d5;this['disposeWithMe'](this[_0x436c89(0x333)][_0x436c89(0x21e)](()=>{const _0x1dedb7=_0x436c89;if(this['_localCacheService']['saveTaskMap'][_0x1dedb7(0x28a)])return this[_0x1dedb7(0x223)]['t'](_0x1dedb7(0x2af));}));}[_0xa130d5(0x22d)](){const _0x570d52=_0xa130d5;this[_0x570d52(0x2cd)](this[_0x570d52(0x283)][_0x570d52(0x213)]['subscribe'](_0xffee13=>{const _0x39122d=_0x570d52;_0xffee13['id']===_0x171070[_0x39122d(0x2a9)]&&this[_0x39122d(0x1e2)][_0x39122d(0x1fe)]({'type':_0x38edad[_0x39122d(0x18a)],'content':this[_0x39122d(0x223)]['t'](_0x39122d(0x354))}),_0xffee13['id']===_0x171070['CLOSE_ROOM']&&this[_0x39122d(0x1e2)]['show']({'type':_0x38edad['Warning'],'content':this['_localeService']['t'](_0x39122d(0x2c8))}),_0xffee13['id']===_0x171070[_0x39122d(0x157)]&&this[_0x39122d(0x208)]['show']({'title':this['_localeService']['t'](_0x39122d(0x1cc)),'content':this[_0x39122d(0x223)]['t'](_0x39122d(0x259)),'type':_0x39122d(0x2f6),'duration':0x0}),_0xffee13['id']===_0x171070['CONFLICT']&&this[_0x39122d(0x1e2)]['show']({'type':_0x38edad[_0x39122d(0x270)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0xffee13[_0x39122d(0x217)]+')'}),_0xffee13['id']===_0x171070[_0x39122d(0x2e1)]&&this[_0x39122d(0x1e2)][_0x39122d(0x1fe)]({'type':_0x38edad['Warning'],'content':this[_0x39122d(0x223)]['t'](_0xffee13[_0x39122d(0x217)]||'')}),_0xffee13['id']===_0x171070['SOCKET_FAILED_RETRY']&&this[_0x39122d(0x1e2)][_0x39122d(0x1fe)]({'type':_0x38edad[_0x39122d(0x18a)],'content':this[_0x39122d(0x223)]['t'](_0x39122d(0x1eb))}),_0xffee13['id']===_0x171070['SOCKET_FAILED']&&this['_messageService'][_0x39122d(0x1fe)]({'type':_0x38edad[_0x39122d(0x270)],'content':this[_0x39122d(0x223)]['t'](_0x39122d(0x2e9))}),_0xffee13['id']===_0x171070['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x39122d(0x1e2)][_0x39122d(0x1fe)]({'type':_0x38edad['Error'],'content':this[_0x39122d(0x223)]['t'](_0x39122d(0x18e))});}));}};se=Ji([B(0x0,_0x3d4de0),B(0x1,_0x557c2f),B(0x2,_0x3156fc(_0x2b5f90)),B(0x3,_0x4924ee),B(0x4,_0x4ded15),B(0x5,_0x3156fc(_0x85bbfc))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x5d199d(_0xa130d5(0x1c5));function _0x2dba(_0x1ef531,_0xd4db19){const _0x1528dd=_0x1528();return _0x2dba=function(_0x2dbaf8,_0x19f3a7){_0x2dbaf8=_0x2dbaf8-0x155;let _0x3bd8f5=_0x1528dd[_0x2dbaf8];return _0x3bd8f5;},_0x2dba(_0x1ef531,_0xd4db19);}var Qi=Object[_0xa130d5(0x316)],qi=(_0x5cf7f3,_0x176fa0,_0x303526,_0x114345)=>{const _0x266348=_0xa130d5;for(var _0x2b97c1=_0x114345>0x1?void 0x0:_0x114345?Qi(_0x176fa0,_0x303526):_0x176fa0,_0x471dbb=_0x5cf7f3[_0x266348(0x248)]-0x1,_0x2145b7;_0x471dbb>=0x0;_0x471dbb--)(_0x2145b7=_0x5cf7f3[_0x471dbb])&&(_0x2b97c1=_0x2145b7(_0x2b97c1)||_0x2b97c1);return _0x2b97c1;},G=(_0x155ab8,_0x1ebe62)=>(_0x33b6d7,_0x57ab7c)=>_0x1ebe62(_0x33b6d7,_0x57ab7c,_0x155ab8);let ie=class extends _0x36a28e{constructor(_0x346d33,_0x17505e,_0x451ef8,_0x45054d,_0x2a22b7){const _0x4ff388=_0xa130d5;super(),this[_0x4ff388(0x1d8)]=_0x346d33,this[_0x4ff388(0x1b8)]=_0x17505e,this[_0x4ff388(0x28e)]=_0x451ef8,this[_0x4ff388(0x335)]=_0x45054d,_0x2a22b7?_0x2a22b7==null||_0x2a22b7['whenReady']()[_0x4ff388(0x2a7)](()=>this['_init']()):(this[_0x4ff388(0x1b8)]['debug'](_0x4ff388(0x2d6),_0x4ff388(0x234)),this[_0x4ff388(0x29c)]());}async[_0xa130d5(0x29c)](){const _0x54dc46=_0xa130d5,_0x49ca5f=this[_0x54dc46(0x1d8)][_0x54dc46(0x1c6)](_0x54dc46(0x276)),_0x881cc7=this['_urlService']['getParam'](_0x54dc46(0x2ae)),_0x2cda18=this[_0x54dc46(0x1d8)]['getParam'](_0x54dc46(0x30e));if(!_0x49ca5f||!_0x881cc7){this[_0x54dc46(0x1b8)]['debug']('[CollaborationDataLoaderController]',_0x54dc46(0x264));return;}const _0x58eae7=await this['_dataLoaderService'][_0x54dc46(0x296)](_0x49ca5f,Number(_0x881cc7),_0x2cda18);_0x58eae7&&_0x58eae7 instanceof _0x5da0c0&&this[_0x54dc46(0x224)](_0x58eae7);}async[_0xa130d5(0x224)](_0x1d13d9){const _0x192e94=_0xa130d5;await this[_0x192e94(0x312)](_0x1d13d9),_0x1d13d9[_0x192e94(0x22c)][_0x192e94(0x2fe)](_0x301a84(this[_0x192e94(0x278)]))[_0x192e94(0x30d)](_0x10b5ff=>{_0x10b5ff&&this['_updateURLWithCurrentState'](_0x10b5ff);}),this[_0x192e94(0x1d8)][_0x192e94(0x2ce)][_0x192e94(0x2fe)](_0x301a84(this['dispose$']))[_0x192e94(0x30d)](()=>this[_0x192e94(0x312)](_0x1d13d9));}[_0xa130d5(0x1dd)](_0x3fc556,_0x19f3af=!0x1){const _0x49aaab=_0xa130d5,_0x3f065b=this['_urlService']['getParam']('subunit');_0x3fc556['getSheetId']()!==_0x3f065b&&this[_0x49aaab(0x1d8)][_0x49aaab(0x26f)]('subunit',_0x3fc556[_0x49aaab(0x2d7)](),_0x19f3af);}async[_0xa130d5(0x312)](_0x31667b){const _0x31e791=_0xa130d5;var _0x39b052;const _0xdd96be=this['_urlService'][_0x31e791(0x1c6)](_0x31e791(0x30e));if(!_0xdd96be||!_0x31667b[_0x31e791(0x27b)](_0xdd96be)){const _0x9f77c1=_0x31667b[_0x31e791(0x338)]()[0x0],_0x84b924=_0x31667b['getSheetBySheetId'](_0x9f77c1);if(!_0x84b924)return;this[_0x31e791(0x1dd)](_0x84b924,!0x0),await this[_0x31e791(0x28e)][_0x31e791(0x162)](_0x4ddf0e['id'],{'unitId':_0x31667b['getUnitId'](),'subUnitId':_0x9f77c1});return;}((_0x39b052=_0x31667b[_0x31e791(0x170)]())==null?void 0x0:_0x39b052[_0x31e791(0x2d7)]())!==_0xdd96be&&await this[_0x31e791(0x28e)]['executeCommand'](_0x4ddf0e['id'],{'unitId':_0x31667b[_0x31e791(0x272)](),'subUnitId':_0xdd96be});}};ie=qi([G(0x0,Ut),G(0x1,_0x4a2e13),G(0x2,_0x4101e),G(0x3,_0x3156fc(_0x3242d1)),G(0x4,_0x20723a(_0x3d2ecf))],ie);var en=Object[_0xa130d5(0x316)],tn=(_0x3b8ed8,_0x30ba5e,_0x3ac935,_0x2d266b)=>{const _0x266fe2=_0xa130d5;for(var _0x358535=_0x2d266b>0x1?void 0x0:_0x2d266b?en(_0x30ba5e,_0x3ac935):_0x30ba5e,_0x4ac4c1=_0x3b8ed8[_0x266fe2(0x248)]-0x1,_0x3ec1fd;_0x4ac4c1>=0x0;_0x4ac4c1--)(_0x3ec1fd=_0x3b8ed8[_0x4ac4c1])&&(_0x358535=_0x3ec1fd(_0x358535)||_0x358535);return _0x358535;},pe=(_0x3193a1,_0x463595)=>(_0x40b71d,_0x227d0e)=>_0x463595(_0x40b71d,_0x227d0e,_0x3193a1);let ne=class{constructor(_0x59fb9c,_0x4d567f,_0x3a30c6){const _0x5d8fbd=_0xa130d5;this['_injector']=_0x59fb9c,this[_0x5d8fbd(0x1e8)]=_0x4d567f,this[_0x5d8fbd(0x2bf)]=_0x3a30c6;}[_0xa130d5(0x2ec)](_0x5bb0e3){const _0x36ab47=_0xa130d5;this[_0x36ab47(0x24e)](_0x5bb0e3),this[_0x36ab47(0x2bb)](_0x5bb0e3);}[_0xa130d5(0x15b)](_0xbfdb1f){const _0x1072e0=_0xa130d5,{unitID:_0x250a52}=_0xbfdb1f,_0x2b3ee3=this[_0x1072e0(0x2bf)][_0x1072e0(0x345)](_0x250a52)['with'](_0x8f9223),{redoCache:_0x4627f3}=_0x2b3ee3[_0x1072e0(0x32f)]();if(_0x4627f3[_0x1072e0(0x248)]===0x0)return _0xbfdb1f;let _0x4a11a4=_0x5a569e['deepClone'](_0xbfdb1f[_0x1072e0(0x1a5)][0x0]);for(let _0x1da42f=0x0;_0x1da42f<_0x4627f3[_0x1072e0(0x248)];_0x1da42f++){const _0x35a2f9={'id':_0x1072e0(0x29a),'params':{..._0x4627f3[_0x1da42f]}},_0x2bf02c=this[_0x1072e0(0x1e8)][_0x1072e0(0x19c)](_0x4a11a4,_0x35a2f9,!0x1);if(_0x5a3df0(_0x2bf02c))throw _0x2bf02c[_0x1072e0(0x2f6)];_0x4a11a4=_0x2bf02c[_0x1072e0(0x19a)];}return{..._0x5a569e[_0x1072e0(0x2c0)](_0xbfdb1f),'mutations':[_0x4a11a4]};}[_0xa130d5(0x24e)](_0x18acf9){const _0x541229=_0xa130d5,{unitID:_0x2649e0}=_0x18acf9,_0x18b67f=this['_renderManagerService'][_0x541229(0x345)](_0x2649e0)[_0x541229(0x21d)](_0x8f9223),{undoCache:_0x421fb3,redoCache:_0x224cf6}=_0x18b67f[_0x541229(0x32f)]();if(_0x421fb3[_0x541229(0x248)]===0x0||_0x224cf6['length']===0x0)return;const _0x2d0319=[],_0x5de0b3=[];let _0x1f3e6c=_0x5a569e[_0x541229(0x2c0)](_0x18acf9[_0x541229(0x1a5)][0x0]),_0x24617d=_0x5a569e[_0x541229(0x2c0)](_0x18acf9['mutations'][0x0]);for(let _0x1d8479=_0x421fb3[_0x541229(0x248)]-0x1;_0x1d8479>=0x0;_0x1d8479--){const _0x1dbe2a={'id':_0x541229(0x29a),'params':{..._0x421fb3[_0x1d8479]}},_0x467c90={'id':_0x541229(0x29a),'params':{..._0x224cf6[_0x1d8479]}},_0x251d8a=this[_0x541229(0x1e8)][_0x541229(0x19c)](_0x1f3e6c,_0x1dbe2a,!0x1),_0x1549f4=this[_0x541229(0x1e8)][_0x541229(0x19c)](_0x24617d,_0x467c90,!0x1);if(_0x5a3df0(_0x251d8a))throw _0x251d8a['error'];if(_0x5a3df0(_0x1549f4))throw _0x1549f4[_0x541229(0x2f6)];_0x2d0319[_0x541229(0x18b)](_0x251d8a[_0x541229(0x262)][_0x541229(0x181)]),_0x5de0b3['unshift'](_0x1549f4[_0x541229(0x262)][_0x541229(0x181)]),_0x1f3e6c=_0x251d8a[_0x541229(0x19a)],_0x24617d=_0x1549f4[_0x541229(0x19a)];}_0x18b67f[_0x541229(0x1ae)]({'undoCache':_0x2d0319,'redoCache':_0x5de0b3});}[_0xa130d5(0x2bb)](_0xd669e1){const _0x410ac6=_0xa130d5,{unitID:_0x52f99b}=_0xd669e1,_0x19e8b3=this['_renderManagerService'][_0x410ac6(0x345)](_0x52f99b)[_0x410ac6(0x21d)](_0x8f9223),_0x192393=_0x19e8b3[_0x410ac6(0x218)]();if(_0x192393==null)return;const _0x155cb0=[{'id':_0x410ac6(0x29a),'params':{'unitId':_0xd669e1['unitID'],'actions':null,'textRanges':[_0x192393]}}],_0x46bf9c=this[_0x410ac6(0x1e8)]['transformMutationsWithChangeset'](_0xd669e1,_0x155cb0);if(!_0x13ae77(_0x46bf9c))throw _0x46bf9c[_0x410ac6(0x2f6)];const _0x3d548f=_0x46bf9c['m2Prime'][0x0][_0x410ac6(0x181)][_0x410ac6(0x292)];Array[_0x410ac6(0x2ea)](_0x3d548f)&&_0x3d548f['length']&&_0x19e8b3[_0x410ac6(0x26b)](_0x3d548f[0x0]);}};ne=tn([pe(0x0,_0x3156fc(_0x17ea93)),pe(0x1,_0x259e98),pe(0x2,_0x59a0c0)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0xfe51aa,_0x153310,_0xc1e687,_0x4ecbf9)=>{const _0x3273fd=_0xa130d5;for(var _0x3442e6=_0x4ecbf9>0x1?void 0x0:_0x4ecbf9?sn(_0x153310,_0xc1e687):_0x153310,_0x1575ef=_0xfe51aa[_0x3273fd(0x248)]-0x1,_0x12d6f7;_0x1575ef>=0x0;_0x1575ef--)(_0x12d6f7=_0xfe51aa[_0x1575ef])&&(_0x3442e6=_0x12d6f7(_0x3442e6)||_0x3442e6);return _0x3442e6;},Ce=(_0x472f51,_0x553e0d)=>(_0x564beb,_0x4dce63)=>_0x553e0d(_0x564beb,_0x4dce63,_0x472f51);let re=class{constructor(_0x49f227,_0x48dfd2,_0x2462dc){const _0x3a0b6a=_0xa130d5;this[_0x3a0b6a(0x1db)]=_0x49f227,this['_transformService']=_0x48dfd2,this[_0x3a0b6a(0x1d2)]=_0x2462dc;}[_0xa130d5(0x1e0)](_0x264813){this['_transformHistoryAndStateStack'](_0x264813);}['transformRemoteChangeset'](_0x40d5af){const _0x49e814=_0xa130d5,{unitID:_0xf1a071}=_0x40d5af,{collaboration:_0x496961}=this[_0x49e814(0x1d2)]['getStateCache'](_0xf1a071);if(_0x496961['length']===0x0)return _0x40d5af;let _0x76e089=_0x5a569e[_0x49e814(0x2c0)](_0x40d5af[_0x49e814(0x1a5)][0x0]);for(let _0x2f1311=0x0;_0x2f1311<_0x496961[_0x49e814(0x248)];_0x2f1311++){const _0x17df38={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x496961[_0x2f1311][_0x49e814(0x1ab)],..._0x496961[_0x2f1311]['redoState']}},_0xca74d1=this['_transformService'][_0x49e814(0x19c)](_0x76e089,_0x17df38,!0x1);if(_0x5a3df0(_0xca74d1))throw _0xca74d1[_0x49e814(0x2f6)];_0x76e089=_0xca74d1['m1Prime'];}return{..._0x5a569e[_0x49e814(0x2c0)](_0x40d5af),'mutations':[_0x76e089]};}[_0xa130d5(0x299)](_0x50a845){const _0x495560=_0xa130d5,{unitID:_0x5eb098}=_0x50a845,{history:_0xf1b975,collaboration:_0x310284}=this[_0x495560(0x1d2)]['getStateCache'](_0x5eb098);if(_0xf1b975['length']===0x0&&_0x310284[_0x495560(0x248)]===0x0)return;const _0x408e85=[],_0x4333c9=[];let _0x30e57b=_0x5a569e[_0x495560(0x2c0)](_0x50a845[_0x495560(0x1a5)][0x0]),_0x44eaf2=_0x5a569e[_0x495560(0x2c0)](_0x50a845['mutations'][0x0]);for(let _0x4c1367=_0xf1b975['length']-0x1;_0x4c1367>=0x0;_0x4c1367--){const _0x1df704={'id':_0x495560(0x29a),'params':{'unitId':_0xf1b975[_0x4c1367][_0x495560(0x1ab)],..._0xf1b975[_0x4c1367][_0x495560(0x1bc)]}},_0x1f9f65={'id':_0x495560(0x29a),'params':{'unitId':_0xf1b975[_0x4c1367][_0x495560(0x1ab)],..._0xf1b975[_0x4c1367]['redoState']}},_0x2f2e2e=this[_0x495560(0x1e8)]['transformMutation'](_0x30e57b,_0x1df704,!0x1),_0x3a228d=this[_0x495560(0x1e8)]['transformMutation'](_0x44eaf2,_0x1f9f65,!0x1);if(_0x5a3df0(_0x2f2e2e))throw _0x2f2e2e[_0x495560(0x2f6)];if(_0x5a3df0(_0x3a228d))throw _0x3a228d['error'];_0x408e85[_0x495560(0x18b)]({..._0xf1b975[_0x4c1367],'undoState':_0x2f2e2e[_0x495560(0x262)][_0x495560(0x181)],'redoState':_0x3a228d['m2Prime']['params']}),_0x30e57b=_0x2f2e2e[_0x495560(0x19a)],_0x44eaf2=_0x3a228d[_0x495560(0x19a)];}_0x30e57b=_0x5a569e[_0x495560(0x2c0)](_0x50a845[_0x495560(0x1a5)][0x0]),_0x44eaf2=_0x5a569e[_0x495560(0x2c0)](_0x50a845['mutations'][0x0]);for(let _0x39ade3=_0x310284[_0x495560(0x248)]-0x1;_0x39ade3>=0x0;_0x39ade3--){const _0x2eb70e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x310284[_0x39ade3]['unitId'],..._0x310284[_0x39ade3][_0x495560(0x1bc)]}},_0x36c881={'id':_0x495560(0x29a),'params':{'unitId':_0x310284[_0x39ade3][_0x495560(0x1ab)],..._0x310284[_0x39ade3][_0x495560(0x2a3)]}},_0x3a65d4=this['_transformService'][_0x495560(0x19c)](_0x30e57b,_0x2eb70e,!0x1),_0x9097a0=this[_0x495560(0x1e8)][_0x495560(0x19c)](_0x44eaf2,_0x36c881,!0x1);if(_0x5a3df0(_0x3a65d4))throw _0x3a65d4['error'];if(_0x5a3df0(_0x9097a0))throw _0x9097a0[_0x495560(0x2f6)];_0x4333c9[_0x495560(0x18b)]({..._0x310284[_0x39ade3],'undoState':_0x3a65d4[_0x495560(0x262)][_0x495560(0x181)],'redoState':_0x9097a0[_0x495560(0x262)]['params']}),_0x30e57b=_0x3a65d4[_0x495560(0x19a)],_0x44eaf2=_0x9097a0['m1Prime'];}this[_0x495560(0x1d2)]['setStateCache'](_0x5eb098,{'history':_0x408e85,'collaboration':_0x4333c9});}};re=nn([Ce(0x0,_0x3156fc(_0x17ea93)),Ce(0x1,_0x259e98),Ce(0x2,_0x3156fc(_0x510a31))],re);var rn=Object[_0xa130d5(0x316)],on=(_0x1d9ed0,_0x5c4a38,_0x314de3,_0x4a3e1f)=>{const _0x5a1c2a=_0xa130d5;for(var _0x16cc71=_0x4a3e1f>0x1?void 0x0:_0x4a3e1f?rn(_0x5c4a38,_0x314de3):_0x5c4a38,_0x1d656d=_0x1d9ed0[_0x5a1c2a(0x248)]-0x1,_0x549baf;_0x1d656d>=0x0;_0x1d656d--)(_0x549baf=_0x1d9ed0[_0x1d656d])&&(_0x16cc71=_0x549baf(_0x16cc71)||_0x16cc71);return _0x16cc71;},tt=(_0x58467a,_0x22999f)=>(_0x13bf53,_0x3c2c25)=>_0x22999f(_0x13bf53,_0x3c2c25,_0x58467a);let oe=class{constructor(_0x2fbadf,_0x35b2f0){const _0x3ff188=_0xa130d5;this[_0x3ff188(0x1db)]=_0x2fbadf,this[_0x3ff188(0x1e8)]=_0x35b2f0;}[_0xa130d5(0x1d1)](_0x35cf04){const _0x439723=_0xa130d5;var _0x3646d1;const _0x3f5a96=this['_injector'][_0x439723(0x2a0)](_0x42eacb),_0x40ac9c=(_0x3646d1=_0x3f5a96[_0x439723(0x2ef)]())!=null?_0x3646d1:[];if(_0x40ac9c['length']===0x0)return;const _0x1b5cd4=_0x35cf04[_0x439723(0x326)],_0x2ff49d=[{'id':_0x439723(0x29a),'params':{'unitId':_0x1b5cd4,'actions':null,'textRanges':_0x40ac9c}}],_0x1c15dd=this[_0x439723(0x1e8)][_0x439723(0x1c8)](_0x35cf04,_0x2ff49d);if(!_0x13ae77(_0x1c15dd))throw _0x1c15dd['error'];const _0x25a879=_0x1c15dd[_0x439723(0x262)][0x0][_0x439723(0x181)][_0x439723(0x292)];Array['isArray'](_0x25a879)&&_0x25a879[_0x439723(0x248)]&&_0x3f5a96[_0x439723(0x1b9)](_0x25a879,{'unitId':_0x1b5cd4,'subUnitId':_0x1b5cd4},!0x1);}};oe=on([tt(0x0,_0x3156fc(_0x17ea93)),tt(0x1,_0x259e98)],oe);var an=Object[_0xa130d5(0x316)],cn=(_0x3dadb5,_0x50088a,_0x502dbd,_0x532221)=>{for(var _0x37e6af=_0x532221>0x1?void 0x0:_0x532221?an(_0x50088a,_0x502dbd):_0x50088a,_0x1a2b8b=_0x3dadb5['length']-0x1,_0x23e970;_0x1a2b8b>=0x0;_0x1a2b8b--)(_0x23e970=_0x3dadb5[_0x1a2b8b])&&(_0x37e6af=_0x23e970(_0x37e6af)||_0x37e6af);return _0x37e6af;},U=(_0x548843,_0x53feb0)=>(_0xde28cf,_0xba0567)=>_0x53feb0(_0xde28cf,_0xba0567,_0x548843);let ae=class extends _0x3d4fed{constructor(_0xf4df9b,_0x2a654d,_0x5999a4,_0x3bf09f,_0x30d3e1,_0x2f9bfa,_0x41ea83,_0x2f3c93){const _0x3f9dd9=_0xa130d5;super(),_(this,'_status$',new _0x3ad1e2(_0x374167['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0xf4df9b,this['_collaborationController']=_0x2a654d,this[_0x3f9dd9(0x2f5)]=_0x5999a4,this[_0x3f9dd9(0x1c9)]=_0x3bf09f,this[_0x3f9dd9(0x328)]=_0x30d3e1,this[_0x3f9dd9(0x2cb)]=_0x2f9bfa,this[_0x3f9dd9(0x1e2)]=_0x41ea83,this[_0x3f9dd9(0x223)]=_0x2f3c93,this[_0x3f9dd9(0x182)]());}[_0xa130d5(0x182)](){const _0xa6d172=_0xa130d5;this[_0xa6d172(0x2cd)](this[_0xa6d172(0x1ec)]['entityInit$']['subscribe'](_0x255e67=>{const _0x109165=_0xa6d172,_0xd82542=this[_0x109165(0x1d2)][_0x109165(0x1c1)][_0x109165(0x30d)](_0x4267a1=>{const _0x547998=_0x109165;if(_0x4267a1==null)return;const {unitId:_0x223e7f,redoState:_0x7d371d,commandId:_0x2e2313}=_0x4267a1;if(_0x223e7f!==_0x255e67[_0x547998(0x326)])return;const _0x43382f={'id':_0x2e2313,'type':_0x21189a[_0x547998(0x1e1)],'params':{'unitId':_0x223e7f,'actions':_0x7d371d['actions'],'textRanges':null}};_0x255e67[_0x547998(0x341)](_0x43382f);});if(_0x255e67[_0x109165(0x2cd)](_0xd82542),_0x255e67 instanceof _0x260b14){const _0x493527={'onTransformIME':_0x3b6985=>this[_0x109165(0x2f5)][_0x109165(0x2ec)](_0x3b6985),'onTransformState':_0x270b59=>this[_0x109165(0x1c9)][_0x109165(0x1e0)](_0x270b59),'onTransformSelections':_0xf1eec4=>this[_0x109165(0x328)]['transformSelections'](_0xf1eec4),'onSyncEditingCollabCursor':_0x44f837=>this[_0x109165(0x2cb)][_0x109165(0x314)](_0x44f837),'onTransformRemoteChangesetByIMECache':_0x52d8c9=>this[_0x109165(0x2f5)][_0x109165(0x15b)](_0x52d8c9),'onTransformRemoteChangesetByStateCache':_0x49e39e=>this['_docTransformStateCacheService'][_0x109165(0x15b)](_0x49e39e)};_0x255e67['addHandlerCallback'](_0x493527);}}));}};ae=cn([U(0x0,_0x3156fc(_0x510a31)),U(0x1,_0x3156fc(_0x9cca5)),U(0x2,_0x3156fc(ne)),U(0x3,_0x3156fc(re)),U(0x4,_0x3156fc(oe)),U(0x5,_0x3156fc(He)),U(0x6,_0x4924ee),U(0x7,_0x3156fc(_0x85bbfc))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x359ae2,_0x50b631,_0x26b8ac,_0x2e63d7)=>{const _0x206d86=_0xa130d5;for(var _0x3f75d8=_0x2e63d7>0x1?void 0x0:_0x2e63d7?ln(_0x50b631,_0x26b8ac):_0x50b631,_0x36b410=_0x359ae2[_0x206d86(0x248)]-0x1,_0x1f9918;_0x36b410>=0x0;_0x36b410--)(_0x1f9918=_0x359ae2[_0x36b410])&&(_0x3f75d8=_0x1f9918(_0x3f75d8)||_0x3f75d8);return _0x3f75d8;},Ee=(_0x362990,_0x1aa625)=>(_0x5d0d95,_0x495fab)=>_0x1aa625(_0x5d0d95,_0x495fab,_0x362990);let we=class extends _0x3d4fed{constructor(_0x404fc1,_0x11e818,_0x528784){const _0x41cef5=_0xa130d5;super(),_(this,_0x41cef5(0x242),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x41cef5(0x245),!0x1),(this[_0x41cef5(0x301)]=_0x404fc1,this['_localStorageService']=_0x11e818,this[_0x41cef5(0x305)]=_0x528784);}[_0xa130d5(0x315)](){const _0x130eb6=_0xa130d5;this[_0x130eb6(0x245)]=!0x0;}['enableLocalCache'](){const _0x240bf0=_0xa130d5;this[_0x240bf0(0x245)]=!0x1;}get[_0xa130d5(0x1ac)](){return this['_saveTaskMap'];}[_0xa130d5(0x2e0)](){const _0x2f66c0=_0xa130d5;this['exhaustSavingTask']()[_0x2f66c0(0x2a7)](()=>super[_0x2f66c0(0x2e0)]());}async[_0xa130d5(0x160)](_0x5008d9){const _0x1a1193=_0xa130d5;return this[_0x1a1193(0x245)]?null:this[_0x1a1193(0x17d)][_0x1a1193(0x202)](_0x35d4ab(_0x5008d9));}async[_0xa130d5(0x1ee)](_0x1cab5f,_0x712fa1){const _0x34cfa3=_0xa130d5;return!!this[_0x34cfa3(0x17d)][_0x34cfa3(0x222)](_0x1cab5f,_0x712fa1);}['updateOfflineData'](_0x58ea35,_0x2bf217,_0x157b41,_0x36ddd6){const _0x4cdf54=_0xa130d5,_0x588632=this['_revisionService'][_0x4cdf54(0x1c7)](_0x58ea35);this[_0x4cdf54(0x242)][_0x4cdf54(0x2a4)](_0x58ea35,{'unitID':_0x58ea35,'type':_0x2bf217,'awaitingChangeset':_0x157b41,'mutations':_0x36ddd6,'rev':_0x588632}),this[_0x4cdf54(0x2b8)][_0x4cdf54(0x25b)](_0x58ea35)||this[_0x4cdf54(0x253)](_0x58ea35);}[_0xa130d5(0x253)](_0x5569ff){const _0x14be89=_0xa130d5,_0x365eef=this[_0x14be89(0x267)]();_0x365eef===0x0?this[_0x14be89(0x173)](_0x5569ff):this[_0x14be89(0x2b8)][_0x14be89(0x2a4)](_0x5569ff,setTimeout(()=>this[_0x14be89(0x173)](_0x5569ff),_0x365eef));}[_0xa130d5(0x267)](){const _0x3c69ad=_0xa130d5;var _0x1c9bfa;return(_0x1c9bfa=this[_0x3c69ad(0x301)][_0x3c69ad(0x24c)](_0xb8e288))!=null?_0x1c9bfa:_0x5b2c8e;}[_0xa130d5(0x173)](_0x11249a){const _0x20a77c=_0xa130d5,_0xb3416c=this['_saveTaskMap'][_0x20a77c(0x2a0)](_0x11249a);return _0xb3416c!==void 0x0&&window[_0x20a77c(0x23d)](_0xb3416c),this[_0x20a77c(0x17d)][_0x20a77c(0x222)](_0x35d4ab(_0x11249a),this[_0x20a77c(0x242)][_0x20a77c(0x2a0)](_0x11249a))[_0x20a77c(0x2a7)](()=>this[_0x20a77c(0x2b8)]['delete'](_0x11249a));}async[_0xa130d5(0x23e)](){const _0x973206=_0xa130d5,_0x3b91e9=[];this[_0x973206(0x2b8)]['forEach']((_0x47e0e9,_0x461231)=>{const _0x7f6959=_0x973206;window[_0x7f6959(0x23d)](_0x47e0e9),_0x3b91e9[_0x7f6959(0x2d5)](this[_0x7f6959(0x173)](_0x461231)[_0x7f6959(0x2a7)](()=>{const _0x4f6769=_0x7f6959;this[_0x4f6769(0x2b8)]['delete'](_0x461231);}));}),await Promise['all'](_0x3b91e9);}};we=_n([Ee(0x0,_0x14d608),Ee(0x1,_0x2e7be6),Ee(0x2,_0x3156fc(_0x3cc2cf))],we);class hn extends _0x36a28e{constructor(){const _0x5f3194=_0xa130d5;super(),_(this,'urlChange$'),this[_0x5f3194(0x2ce)]=_0x3364ea(window,_0x5f3194(0x2d9))[_0x5f3194(0x2fe)](_0x301a84(this['dispose$']),_0x354f4d(0x1),_0x3a5d21(void 0x0));}[_0xa130d5(0x26f)](_0x590eb9,_0x1f911d,_0x11edec=!0x1){const _0x2266de=_0xa130d5,_0x371e47=new URL(window[_0x2266de(0x31b)][_0x2266de(0x1e9)]);_0x371e47[_0x2266de(0x22f)][_0x2266de(0x2a4)](_0x590eb9,_0x1f911d),_0x11edec?window[_0x2266de(0x357)]['replaceState']('','',_0x371e47[_0x2266de(0x254)]()):window[_0x2266de(0x357)][_0x2266de(0x28b)]('','',_0x371e47['toString']());}[_0xa130d5(0x1fa)](_0x3c69ae,_0x146932=!0x1){const _0x3f469f=_0xa130d5,_0xa97b24=new URL(window[_0x3f469f(0x31b)][_0x3f469f(0x1e9)]);_0xa97b24['searchParams'][_0x3f469f(0x1b6)](_0x3c69ae),_0x146932?window['history'][_0x3f469f(0x1e4)]('','',_0xa97b24[_0x3f469f(0x254)]()):window[_0x3f469f(0x357)][_0x3f469f(0x28b)]('','',_0xa97b24[_0x3f469f(0x254)]());}[_0xa130d5(0x1c6)](_0x315971){const _0x354893=_0xa130d5;var _0x23752c;return(_0x23752c=new URL(window[_0x354893(0x31b)][_0x354893(0x1e9)])[_0x354893(0x22f)]['get'](_0x315971))!=null?_0x23752c:void 0x0;}}var un=Object[_0xa130d5(0x2a1)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x3e4eb9,_0xe272d5,_0x2cd164)=>_0xe272d5 in _0x3e4eb9?un(_0x3e4eb9,_0xe272d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cd164}):_0x3e4eb9[_0xe272d5]=_0x2cd164,Sn=(_0x1d590a,_0x5357ec,_0x52c389,_0x451cab)=>{const _0x44621c=_0xa130d5;for(var _0x10e476=_0x451cab>0x1?void 0x0:_0x451cab?dn(_0x5357ec,_0x52c389):_0x5357ec,_0x35a055=_0x1d590a[_0x44621c(0x248)]-0x1,_0x5609bb;_0x35a055>=0x0;_0x35a055--)(_0x5609bb=_0x1d590a[_0x35a055])&&(_0x10e476=_0x5609bb(_0x10e476)||_0x10e476);return _0x10e476;},Oe=(_0x50a7a0,_0x26e624)=>(_0x2bc4a5,_0x3423f0)=>_0x26e624(_0x2bc4a5,_0x3423f0,_0x50a7a0),mn=(_0xcb10d,_0x36ed02,_0x16641d)=>fn(_0xcb10d,_0x36ed02+'',_0x16641d);const gn=_0xa130d5(0x2c9);let Ae=class extends _0x383368{constructor(_0xc0e877=et,_0x1ca346,_0x15adb1,_0x266a39){const _0x3287a9=_0xa130d5;super(),this[_0x3287a9(0x29d)]=_0xc0e877,this['_renderManagerService']=_0x1ca346,this[_0x3287a9(0x1db)]=_0x15adb1,this[_0x3287a9(0x301)]=_0x266a39;const {..._0x1a2981}=_0x1c437f({},et,this[_0x3287a9(0x29d)]);this[_0x3287a9(0x301)]['setConfig'](Zi,_0x1a2981);}[_0xa130d5(0x311)](){const _0x301afe=_0xa130d5;this['_registerDependencies'](),this[_0x301afe(0x204)]();}[_0xa130d5(0x161)](){const _0x2e53fa=_0xa130d5;this[_0x2e53fa(0x1f3)]();}[_0xa130d5(0x355)](){const _0x2bc896=_0xa130d5;var _0x541a10;const _0x4212bb=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x17d144,{'useClass':_0x2480ec}],[_0x557c2f,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x410969(this['_injector'],_0x457cc3(_0x4212bb,(_0x541a10=this[_0x2bc896(0x29d)])==null?void 0x0:_0x541a10[_0x2bc896(0x1ad)]));}[_0xa130d5(0x1f3)](){const _0x314346=_0xa130d5;this['disposeWithMe'](this[_0x314346(0x2bf)]['registerRenderModule'](_0x4041fb[_0x314346(0x2f3)],[Pe])),this[_0x314346(0x2cd)](this['_renderManagerService'][_0x314346(0x282)](_0x4041fb[_0x314346(0x215)],[Le]));}[_0xa130d5(0x204)](){const _0x4d9bf1=_0xa130d5;_0x48e9dc(this[_0x4d9bf1(0x1db)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x4fbfc2(_0x40e628),Oe(0x1,_0x59a0c0),Oe(0x2,_0x3156fc(_0x17ea93)),Oe(0x3,_0x14d608)],Ae);var In=Object[_0xa130d5(0x316)],vn=(_0x240a41,_0x5c62cd,_0x436986,_0x336e68)=>{for(var _0x5e6dc2=_0x336e68>0x1?void 0x0:_0x336e68?In(_0x5c62cd,_0x436986):_0x5c62cd,_0x42ab8f=_0x240a41['length']-0x1,_0x2561de;_0x42ab8f>=0x0;_0x42ab8f--)(_0x2561de=_0x240a41[_0x42ab8f])&&(_0x5e6dc2=_0x2561de(_0x5e6dc2)||_0x5e6dc2);return _0x5e6dc2;},K=(_0x2ee0a6,_0x3e07b8)=>(_0x591959,_0x30c418)=>_0x3e07b8(_0x591959,_0x30c418,_0x2ee0a6);let st=class extends _0x34383f{constructor(_0x38c7ef,_0xa617f6,_0x3682e3,_0x302570,_0x57f4c1){super(_0x38c7ef,_0xa617f6,_0x3682e3,_0x302570,_0x57f4c1);}async[_0xa130d5(0x2b3)](_0x2fa8ed){const _0x4f3814=_0xa130d5,_0x14bbab=await this[_0x4f3814(0x33b)](),_0x101894=this['_createSocketURL'](_0x2fa8ed,_0x14bbab);return this['_doCreateSocket'](_0x101894);}['_createSocketURL'](_0x2c91e9,_0x4e266a){const _0xfd5962=_0xa130d5,_0x4ce329=typeof window>'u'?new URL(_0x2c91e9):new URL(_0x2c91e9,window[_0xfd5962(0x31b)][_0xfd5962(0x257)]);_0x4ce329['searchParams'][_0xfd5962(0x2a4)]('sessionTicket',_0x4e266a);const _0x3da5eb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xfd5962(0x31b)][_0xfd5962(0x324)]);return _0x3da5eb[_0xfd5962(0x2a0)](_0xfd5962(0x1f6))&&_0x4ce329[_0xfd5962(0x22f)][_0xfd5962(0x2a4)](_0xfd5962(0x1f6),_0x3da5eb['get'](_0xfd5962(0x1f6))),_0x4ce329[_0xfd5962(0x254)]();}async[_0xa130d5(0x33b)](){const _0x45e776=_0xa130d5;var _0x16bcf5,_0xb61a23,_0x31ea9f;const _0x155a8a=this[_0x45e776(0x301)][_0x45e776(0x24c)](_0x463ab4),_0x2a33c1=(_0x16bcf5=_0x155a8a==null?void 0x0:_0x155a8a[_0x45e776(0x2d1)])!=null?_0x16bcf5:_0x100681;return(_0x31ea9f=(_0xb61a23=(await this[_0x45e776(0x332)][_0x45e776(0x2a0)](_0x2a33c1,{'headers':{'Content-Type':_0x45e776(0x16a)}}))[_0x45e776(0x1f9)])==null?void 0x0:_0xb61a23[_0x45e776(0x359)])!=null?_0x31ea9f:'';}};st=vn([K(0x0,_0x3156fc(_0x17ea93)),K(0x1,_0x3156fc(_0x4a6a9)),K(0x2,_0x14d608),K(0x3,_0x4a2e13),K(0x4,_0x20f2fb)],st);const it=0x7530,nt=_0xa130d5(0x30f);class jn extends _0x3d4fed{constructor(){const _0x488884=_0xa130d5;super(),_(this,_0x488884(0x250),_0x1595af()),_(this,_0x488884(0x26a),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x488884(0x303),null),_(this,_0x488884(0x159),new Map()),_(this,_0x488884(0x256),new Map()),this['_init']();}['dispose'](){const _0x2c7f8a=_0xa130d5;super[_0x2c7f8a(0x2e0)](),this[_0x2c7f8a(0x159)][_0x2c7f8a(0x2f4)]((_0x3e1b77,_0x1a3047)=>this[_0x2c7f8a(0x23c)](_0x1a3047)),this[_0x2c7f8a(0x303)]&&window[_0x2c7f8a(0x2b5)](this[_0x2c7f8a(0x303)]);}['getUnitStatus$'](_0x28a931){const _0x4ead1e=_0xa130d5;return this[_0x4ead1e(0x34c)](_0x28a931)[_0x4ead1e(0x2fe)](_0x47ccc5());}[_0xa130d5(0x318)](_0x2b948a){const _0x2f1bf9=_0xa130d5;this['_selfUnitIDs'][_0x2f1bf9(0x28a)]===0x0&&this[_0x2f1bf9(0x238)](),this[_0x2f1bf9(0x26a)][_0x2f1bf9(0x2e2)](_0x2b948a),this[_0x2f1bf9(0x189)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2b948a],'isForwarded':!0x1});}['disposeUnit'](_0x3e1eff){const _0x2c9b32=_0xa130d5;this[_0x2c9b32(0x26a)][_0x2c9b32(0x1b6)](_0x3e1eff),this['_selfUnitIDs'][_0x2c9b32(0x28a)]===0x0&&this[_0x2c9b32(0x303)]&&window[_0x2c9b32(0x2b5)](this['_heartbeatTimer']);}[_0xa130d5(0x29c)](){const _0x501560=_0xa130d5;this['disposeWithMe'](_0x382550(_0x3364ea(window,'storage')[_0x501560(0x30d)](_0x494944=>{const _0x4a7ac8=_0x501560;if(_0x494944[_0x4a7ac8(0x2b0)]!==nt||!_0x494944[_0x4a7ac8(0x21c)])return;const _0x3fcabf=JSON[_0x4a7ac8(0x2b9)](_0x494944['newValue']);this[_0x4a7ac8(0x163)](_0x3fcabf);}))),window[_0x501560(0x2d8)]('unload',()=>this[_0x501560(0x189)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x501560(0x2e6)](this[_0x501560(0x26a)])}));}[_0xa130d5(0x163)](_0x2b93cd){const _0x3f7554=_0xa130d5;switch(_0x2b93cd[_0x3f7554(0x2ae)]){case 0x0:this[_0x3f7554(0x2be)](_0x2b93cd);break;case 0x1:this[_0x3f7554(0x20d)](_0x2b93cd);break;case 0x2:this[_0x3f7554(0x30b)](_0x2b93cd);break;}}[_0xa130d5(0x2be)](_0x1fd6ee){const _0x4b2811=_0xa130d5,{unitIDs:_0x31ca40,memberID:_0x2c8b3d,isForwarded:_0x2adc83}=_0x1fd6ee;_0x31ca40[_0x4b2811(0x2f4)](_0x33fb9b=>{const _0x12eafc=_0x4b2811;if(!_0x2adc83&&this[_0x12eafc(0x168)][_0x12eafc(0x25b)](_0x33fb9b)&&this['_ensureSubject'](_0x33fb9b)[_0x12eafc(0x20f)](_0x3486c5[_0x12eafc(0x236)]),!this[_0x12eafc(0x168)][_0x12eafc(0x25b)](_0x33fb9b)||!this['_unitOnClients'][_0x12eafc(0x2a0)](_0x33fb9b)[_0x12eafc(0x25b)](_0x2c8b3d)){const _0x60b25e=this[_0x12eafc(0x168)][_0x12eafc(0x2a0)](_0x33fb9b)||new Set();_0x60b25e[_0x12eafc(0x2e2)](_0x2c8b3d),this['_unitOnClients'][_0x12eafc(0x2a4)](_0x33fb9b,_0x60b25e),this[_0x12eafc(0x166)](_0x2c8b3d);}}),_0x2adc83||this[_0x4b2811(0x189)]({'type':0x0,'memberID':this[_0x4b2811(0x250)],'unitIDs':[...this[_0x4b2811(0x26a)]],'isForwarded':!0x0});}[_0xa130d5(0x166)](_0x56cd05){const _0x82ac5c=_0xa130d5;this[_0x82ac5c(0x23c)](_0x56cd05);const _0x51d0cd=window[_0x82ac5c(0x288)](()=>{const _0xfd8a3d=_0x82ac5c;this[_0xfd8a3d(0x168)]['forEach'](_0x3c818d=>{_0x3c818d['delete'](_0x56cd05);});},it*0x2);this['_clearOtherTimers'][_0x82ac5c(0x2a4)](_0x56cd05,_0x51d0cd);}[_0xa130d5(0x23c)](_0x12ef4f){const _0x258328=_0xa130d5;if(this[_0x258328(0x159)][_0x258328(0x25b)](_0x12ef4f)){const _0x52b810=this[_0x258328(0x159)][_0x258328(0x2a0)](_0x12ef4f);_0x52b810&&window['clearTimeout'](_0x52b810),this['_clearOtherTimers'][_0x258328(0x2a4)](_0x12ef4f,null);}}['_handleLeaveEvent'](_0x44017c){const _0x581c5d=_0xa130d5,{memberID:_0x334a67,unitIDs:_0x6cad06}=_0x44017c;_0x6cad06['forEach'](_0x5ecd19=>{const _0x2d7e37=_0x2dba;var _0x3feab7;const _0x1a7a88=this[_0x2d7e37(0x168)][_0x2d7e37(0x2a0)](_0x5ecd19);_0x1a7a88&&(_0x1a7a88[_0x2d7e37(0x1b6)](_0x334a67),(_0x3feab7=this[_0x2d7e37(0x34c)](_0x5ecd19))==null||_0x3feab7['next'](_0x1a7a88[_0x2d7e37(0x28a)]===0x0?_0x3486c5['NO_OTHER_CLIENTS_EDITING']:_0x3486c5[_0x2d7e37(0x236)]));}),this[_0x581c5d(0x23c)](_0x334a67);}[_0xa130d5(0x30b)](_0x553111){const _0x3e80bb=_0xa130d5;this[_0x3e80bb(0x166)](_0x553111['memberID']);}[_0xa130d5(0x189)](_0x42b195){const _0x183552=_0xa130d5;localStorage[_0x183552(0x222)](nt,JSON[_0x183552(0x239)](_0x42b195));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x15a106=_0x2dba;this[_0x15a106(0x189)]({'type':0x2,'memberID':this[_0x15a106(0x250)]});},it);}[_0xa130d5(0x34c)](_0x283c02){const _0x556b46=_0xa130d5;return this[_0x556b46(0x256)][_0x556b46(0x25b)](_0x283c02)||this[_0x556b46(0x256)][_0x556b46(0x2a4)](_0x283c02,new _0x3ad1e2(_0x3486c5['NO_OTHER_CLIENTS_EDITING'])),this[_0x556b46(0x256)]['get'](_0x283c02);}}var Mt=(_0x5c88fb=>(_0x5c88fb[_0x5c88fb[_0xa130d5(0x298)]=0x0]='UNDEFINED',_0x5c88fb[_0x5c88fb['OK']=0x1]='OK',_0x5c88fb[_0x5c88fb[_0xa130d5(0x219)]=0x2]=_0xa130d5(0x219),_0x5c88fb[_0x5c88fb[_0xa130d5(0x157)]=0x3]=_0xa130d5(0x157),_0x5c88fb[_0x5c88fb[_0xa130d5(0x337)]=0x4]=_0xa130d5(0x337),_0x5c88fb[_0x5c88fb[_0xa130d5(0x266)]=0x5]=_0xa130d5(0x266),_0x5c88fb[_0x5c88fb[_0xa130d5(0x155)]=0x6]=_0xa130d5(0x155),_0x5c88fb[_0x5c88fb['INVALID_ARGUMENT']=0x7]=_0xa130d5(0x280),_0x5c88fb[_0x5c88fb['TOO_MANY_REQUESTS']=0x8]=_0xa130d5(0x31f),_0x5c88fb[_0x5c88fb['COMPLETION_FINISHED']=0x9]=_0xa130d5(0x1e6),_0x5c88fb[_0x5c88fb['LOGIN_FAILED']=0xa]=_0xa130d5(0x1e7),_0x5c88fb[_0x5c88fb[_0xa130d5(0x1f7)]=0x1389]=_0xa130d5(0x1f7),_0x5c88fb[_0x5c88fb[_0xa130d5(0x1e5)]=0x1771]=_0xa130d5(0x1e5),_0x5c88fb[_0x5c88fb[_0xa130d5(0x2fc)]=0x1772]=_0xa130d5(0x2fc),_0x5c88fb[_0x5c88fb[_0xa130d5(0x313)]=0x1773]=_0xa130d5(0x313),_0x5c88fb[_0x5c88fb[_0xa130d5(0x175)]=0x1b59]='APPLY_REJECT',_0x5c88fb[_0x5c88fb[_0xa130d5(0x16f)]=0x1b5a]=_0xa130d5(0x16f),_0x5c88fb[_0x5c88fb[_0xa130d5(0x277)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5c88fb[_0x5c88fb[_0xa130d5(0x231)]=0x1b5c]=_0xa130d5(0x231),_0x5c88fb[_0x5c88fb['APPLY_DUPLICATED']=0x1b5d]=_0xa130d5(0x2c5),_0x5c88fb[_0x5c88fb[_0xa130d5(0x353)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5c88fb[_0x5c88fb[_0xa130d5(0x2d3)]=0x2329]=_0xa130d5(0x2d3),_0x5c88fb[_0x5c88fb[_0xa130d5(0x19b)]=0x232a]=_0xa130d5(0x19b),_0x5c88fb[_0x5c88fb[_0xa130d5(0x33c)]=0x232b]=_0xa130d5(0x33c),_0x5c88fb[_0x5c88fb[_0xa130d5(0x15c)]=0x232c]=_0xa130d5(0x15c),_0x5c88fb[_0x5c88fb[_0xa130d5(0x1dc)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5c88fb[_0x5c88fb[_0xa130d5(0x2ed)]=0x2711]=_0xa130d5(0x2ed),_0x5c88fb[_0x5c88fb[_0xa130d5(0x33e)]=0x2712]=_0xa130d5(0x33e),_0x5c88fb[_0x5c88fb[_0xa130d5(0x2ac)]=0x2713]=_0xa130d5(0x2ac),_0x5c88fb[_0x5c88fb[_0xa130d5(0x192)]=0x2714]=_0xa130d5(0x192),_0x5c88fb[_0x5c88fb[_0xa130d5(0x18f)]=0x271a]=_0xa130d5(0x18f),_0x5c88fb[_0x5c88fb[_0xa130d5(0x302)]=0x271b]=_0xa130d5(0x302),_0x5c88fb[_0x5c88fb[_0xa130d5(0x344)]=0x271c]=_0xa130d5(0x344),_0x5c88fb[_0x5c88fb['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xa130d5(0x1ff),_0x5c88fb[_0x5c88fb['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5c88fb[_0x5c88fb[_0xa130d5(0x2bd)]=0x271f]=_0xa130d5(0x2bd),_0x5c88fb[_0x5c88fb[_0xa130d5(0x287)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5c88fb[_0x5c88fb[_0xa130d5(0x2da)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5c88fb[_0x5c88fb[_0xa130d5(0x347)]=0x2ee2]=_0xa130d5(0x347),_0x5c88fb[_0x5c88fb[_0xa130d5(0x230)]=0x2ee3]=_0xa130d5(0x230),_0x5c88fb[_0x5c88fb['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x5c88fb[_0x5c88fb[_0xa130d5(0x281)]=0x2ee5]=_0xa130d5(0x281),_0x5c88fb[_0x5c88fb[_0xa130d5(0x2a5)]=0x32c9]=_0xa130d5(0x2a5),_0x5c88fb[_0x5c88fb[_0xa130d5(0x350)]=0x32ca]=_0xa130d5(0x350),_0x5c88fb[_0x5c88fb[_0xa130d5(0x241)]=0x32cb]=_0xa130d5(0x241),_0x5c88fb[_0x5c88fb[_0xa130d5(0x1a7)]=-0x1]=_0xa130d5(0x1a7),_0x5c88fb))(Mt||{}),pn=Object[_0xa130d5(0x316)],Cn=(_0xf2d6e9,_0x1627f3,_0x3dded4,_0x2bd9bc)=>{const _0xfc6375=_0xa130d5;for(var _0x28c7de=_0x2bd9bc>0x1?void 0x0:_0x2bd9bc?pn(_0x1627f3,_0x3dded4):_0x1627f3,_0x29fb1b=_0xf2d6e9[_0xfc6375(0x248)]-0x1,_0x3f5511;_0x29fb1b>=0x0;_0x29fb1b--)(_0x3f5511=_0xf2d6e9[_0x29fb1b])&&(_0x28c7de=_0x3f5511(_0x28c7de)||_0x28c7de);return _0x28c7de;},be=(_0x35e003,_0x5e0cc6)=>(_0x306ccd,_0x468908)=>_0x5e0cc6(_0x306ccd,_0x468908,_0x35e003);let rt=class extends _0x3d4fed{constructor(_0x554141,_0x476b4b,_0xaa24d6){const _0x424a49=_0xa130d5;super(),this[_0x424a49(0x24d)]=_0x554141,this[_0x424a49(0x332)]=_0x476b4b,this[_0x424a49(0x301)]=_0xaa24d6;}async[_0xa130d5(0x294)](_0x607c37,_0x37818a,_0x10612b,..._0x6a12d7){const _0x2cc3d6=_0xa130d5;var _0x31c3d8,_0x155859,_0x56ab08,_0x2b1be8;const _0xd3858c=this[_0x2cc3d6(0x24d)]['getFocusedUnit']();if(!_0xd3858c)throw new Error(_0x2cc3d6(0x200));const _0x45142f=((_0x31c3d8=this[_0x2cc3d6(0x301)][_0x2cc3d6(0x24c)](_0x2f1247))!=null?_0x31c3d8:_0x446748)+'/'+_0x607c37+'/run/'+_0x37818a,_0x4d2865=new URL(window[_0x2cc3d6(0x31b)][_0x2cc3d6(0x1e9)]),_0x52b0ac={'scriptId':_0x607c37,'runId':(_0x155859=_0x4d2865[_0x2cc3d6(0x22f)]['get']('runId'))!=null?_0x155859:'','function':_0x37818a,'unitId':_0xd3858c[_0x2cc3d6(0x272)](),'argsOfFunction':JSON['stringify'](_0x6a12d7),'invokeId':(_0x56ab08=_0x10612b[_0x2cc3d6(0x1ea)])!=null?_0x56ab08:'','executionId':(_0x2b1be8=_0x10612b[_0x2cc3d6(0x31d)])!=null?_0x2b1be8:''};try{const _0x32c3cf=await this[_0x2cc3d6(0x332)][_0x2cc3d6(0x2f1)](_0x45142f,{'body':_0x52b0ac});return _0x32c3cf[_0x2cc3d6(0x1f9)][_0x2cc3d6(0x2f6)]&&_0x32c3cf[_0x2cc3d6(0x1f9)]['error'][_0x2cc3d6(0x317)]!==Mt['OK']?'Failed':_0x32c3cf['body'][_0x2cc3d6(0x351)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x58523b),be(0x1,_0x3156fc(_0x4a6a9)),be(0x2,_0x14d608)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x4d69e6=_0x1097;function _0x2ecc(){const _0x4ccedd=['1254612kHkeZd','Syncing...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Authentication\x20Error','Collaboration\x20Conflict','Synced','2368404FgesEv','Edit\x20conflicts','97100rCJzyB','25215ugIYnl','9LHhEPT','5765288kcKAAX','7666050XifjYc','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','7buGsCj','2099712GStisH','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','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.','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.','92AhtEmA'];_0x2ecc=function(){return _0x4ccedd;};return _0x2ecc();}(function(_0x142a3c,_0x4d8a17){const _0x151743=_0x1097,_0x946ad3=_0x142a3c();while(!![]){try{const _0x5f8890=-parseInt(_0x151743(0x166))/0x1+parseInt(_0x151743(0x159))/0x2+-parseInt(_0x151743(0x16d))/0x3+parseInt(_0x151743(0x158))/0x4*(parseInt(_0x151743(0x167))/0x5)+parseInt(_0x151743(0x164))/0x6+-parseInt(_0x151743(0x16c))/0x7*(parseInt(_0x151743(0x169))/0x8)+-parseInt(_0x151743(0x168))/0x9*(-parseInt(_0x151743(0x16a))/0xa);if(_0x5f8890===_0x4d8a17)break;else _0x946ad3['push'](_0x946ad3['shift']());}catch(_0xddfd4c){_0x946ad3['push'](_0x946ad3['shift']());}}}(_0x2ecc,0x5e799));function _0x1097(_0x2643fd,_0x269e52){const _0x2ecc4e=_0x2ecc();return _0x1097=function(_0x109799,_0x56514e){_0x109799=_0x109799-0x156;let _0xc242c6=_0x2ecc4e[_0x109799];return _0xc242c6;},_0x1097(_0x2643fd,_0x269e52);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x4d69e6(0x15c),'conflict':_0x4d69e6(0x165),'notCollab':_0x4d69e6(0x15f),'synced':_0x4d69e6(0x163),'syncing':_0x4d69e6(0x15a),'offline':_0x4d69e6(0x16e)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x4d69e6(0x15b),'room-full':_0x4d69e6(0x157),'collaboration-timeout':_0x4d69e6(0x156)},'conflict':{'title':_0x4d69e6(0x162),'content':_0x4d69e6(0x16f)},'permission':{'title':_0x4d69e6(0x161),'content':_0x4d69e6(0x15e)},'collaboration':{'single-unit':{'warning':_0x4d69e6(0x15d)},'closeRoom':_0x4d69e6(0x16b)},'auth':{'needGotoLoginAlert':_0x4d69e6(0x160)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x27a0d1=_0x1131;function _0x1131(_0x580ae2,_0x34f8d3){const _0x4c0144=_0x4c01();return _0x1131=function(_0x1131ea,_0x3d0356){_0x1131ea=_0x1131ea-0x65;let _0x274e7a=_0x4c0144[_0x1131ea];return _0x274e7a;},_0x1131(_0x580ae2,_0x34f8d3);}(function(_0x247052,_0x312410){const _0x2d8cfb=_0x1131,_0xf23fab=_0x247052();while(!![]){try{const _0x11a5c0=-parseInt(_0x2d8cfb(0x67))/0x1+-parseInt(_0x2d8cfb(0x68))/0x2*(parseInt(_0x2d8cfb(0x73))/0x3)+-parseInt(_0x2d8cfb(0x65))/0x4+parseInt(_0x2d8cfb(0x66))/0x5*(-parseInt(_0x2d8cfb(0x6a))/0x6)+parseInt(_0x2d8cfb(0x6c))/0x7*(-parseInt(_0x2d8cfb(0x6b))/0x8)+-parseInt(_0x2d8cfb(0x79))/0x9+parseInt(_0x2d8cfb(0x75))/0xa;if(_0x11a5c0===_0x312410)break;else _0xf23fab['push'](_0xf23fab['shift']());}catch(_0x4230ae){_0xf23fab['push'](_0xf23fab['shift']());}}}(_0x4c01,0x4f8fd));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x27a0d1(0x69),'notCollab':'پرونده\x20محلی','synced':_0x27a0d1(0x6f),'syncing':_0x27a0d1(0x71),'offline':_0x27a0d1(0x72)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x27a0d1(0x77),'room-full':_0x27a0d1(0x6d),'collaboration-timeout':_0x27a0d1(0x7a)},'conflict':{'title':_0x27a0d1(0x78),'content':_0x27a0d1(0x70)},'permission':{'title':_0x27a0d1(0x6e),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x27a0d1(0x76)},'closeRoom':_0x27a0d1(0x74)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};function _0x4c01(){const _0x37965f=['در\x20حال\x20همگام\x20سازی...','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','26178ywVxXp','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','15504910bbPgza','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20همکاری','2982573JaFXhR','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','64548ZUxcXA','6860JrmHeh','14315Sqnthn','26KhZwmS','تداخل\x20ویرایش','732vlrCvn','4655480HzaTKU','7vettbz','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','خطای\x20اعتبارسنجی','همگام\x20سازی','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'];_0x4c01=function(){return _0x37965f;};return _0x4c01();}
|