@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505011607 → 0.7.0-nightly.202505021607
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 +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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};
|
|
1
|
+
const _0x3b7069=_0xec61;(function(_0x446be9,_0x13fd52){const _0x1b2049=_0xec61,_0x32c5b8=_0x446be9();while(!![]){try{const _0x1a349b=parseInt(_0x1b2049(0x27c))/0x1+-parseInt(_0x1b2049(0x15d))/0x2+parseInt(_0x1b2049(0x1c6))/0x3*(parseInt(_0x1b2049(0x1ff))/0x4)+-parseInt(_0x1b2049(0x263))/0x5*(parseInt(_0x1b2049(0x2a5))/0x6)+-parseInt(_0x1b2049(0x267))/0x7*(-parseInt(_0x1b2049(0x293))/0x8)+parseInt(_0x1b2049(0x30d))/0x9+parseInt(_0x1b2049(0x23b))/0xa;if(_0x1a349b===_0x13fd52)break;else _0x32c5b8['push'](_0x32c5b8['shift']());}catch(_0x2b6f27){_0x32c5b8['push'](_0x32c5b8['shift']());}}}(_0x7593,0x6948a));var $t=Object[_0x3b7069(0x1d8)],xt=(_0x25aa40,_0x432d74,_0x26bb62)=>_0x432d74 in _0x25aa40?$t(_0x25aa40,_0x432d74,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26bb62}):_0x25aa40[_0x432d74]=_0x26bb62,_=(_0x2c2742,_0x50f24d,_0x28cda5)=>xt(_0x2c2742,typeof _0x50f24d!=_0x3b7069(0x32b)?_0x50f24d+'':_0x50f24d,_0x28cda5);import{MemberService as _0x1a0112,SessionStatus as _0xeaf30f,CollaborationSessionService as _0x4ec459,CollaborationStatus as _0xbbad33,CollaborationController as _0x5d7669,ILocalCacheService as _0x244f63,CollaborationUIEventService as _0xcb51bc,CollaborationUIEventId as _0x581134,DataLoaderService as _0x26ce16,DocCollaborationEntity as _0x1c3065,getLocalCacheKey as _0x436111,LOCAL_CACHE_INTERVAL as _0x2a96d2,LOCAL_CACHE_INTERVAL_KEY as _0x19bc1e,UniverCollaborationClientPlugin as _0x4af92b,CollaborationSocketService as _0x3fa99f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x551170,DEFAULT_WS_SESSION_TICKET_URL as _0x1595e3,UnitStatus as _0x15d495,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x122358,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x18b7dd}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x42b55d,Disposable as _0x2a6f43,DOC_RANGE_TYPE as _0x26cbe3,Inject as _0x2eb28e,Injector as _0x542e55,IUniverInstanceService as _0x5123ac,ICommandService as _0x165616,debounce as _0x9181b4,Rectangle as _0x56636b,DisposableCollection as _0x349bc7,toDisposable as _0x11e171,UniverInstanceType as _0x24a141,Tools as _0x52fcfb,COLORS as _0x250374,ColorKit as _0x1e30eb,ThemeService as _0x27c001,fromEventSubject as _0xe55a90,LocaleService as _0x13db92,createIdentifier as _0x2f6d96,ILogService as _0x895744,Optional as _0x3dd4f8,Workbook as _0x1c4acf,CommandType as _0x45c558,IConfigService as _0x5cf7bf,ILocalStorageService as _0x214c51,DependentOn as _0x2d5c2d,Plugin as _0x53763e,merge as _0x544f55,registerDependencies as _0x26a3e0,mergeOverrideWithDependencies as _0x5dd68d,touchDependencies as _0x570e94,generateRandomId as _0x5f4ef5}from'@univerjs/core';import{Shape as _0x595286,Rect as _0x41dfde,getColor as _0xb9e122,RegularPolygon as _0x36c5ab,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4b2a7c,Vector2 as _0x4f7d1a,SHEET_VIEWPORT_KEY as _0x340180,IRenderManagerService as _0x5aabf0}from'@univerjs/engine-render';import{ISocketService as _0x36f1ae,WebSocketService as _0x1e760b,HTTPService as _0x54d883}from'@univerjs/network';import{IDocClipboardService as _0x6d8cdf,NodePositionConvertToCursor as _0x19ecb0,NodePositionConvertToRectRange as _0x136b60,TEXT_RANGE_LAYER_INDEX as _0x2fca54,SetDocZoomRatioOperation as _0x5b58d2,DocIMEInputManagerService as _0x2b5571,DocStateChangeManagerService as _0x4354e7}from'@univerjs/docs-ui';import{IImageIoService as _0x5a824e}from'@univerjs/drawing';import{BehaviorSubject as _0x1ca0e1,debounceTime as _0x52f644,takeUntil as _0x53aa4f,Subject as _0x3bcba6,filter as _0x44ce06,switchMap as _0xa39a1a,merge as _0x5a4399,combineLatest as _0x11d3d0,of as _0x3a7a99,fromEvent as _0x15a092,shareReplay as _0x138b5a,mapTo as _0x513b7b,distinctUntilChanged as _0x52a543}from'rxjs';import{SetTextSelectionsOperation as _0x5811a2,RichTextEditingMutation as _0x52b5f4,DocSelectionManagerService as _0x338695,DocSkeletonManagerService as _0x63e1fe}from'@univerjs/docs';import{ITransformService as _0x25c7bb,CollaborationEvent as _0x531fb4,isTransformMutationFailure as _0x33b899,isTransformMutationsWithChangesetSuccess as _0x360590,RevisionService as _0x2b3960,ISnapshotServerService as _0x2d33d0}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x33ed1c,serializeRangeWithSheet as _0xc3548e}from'@univerjs/engine-formula';import{RefRangeService as _0x5873ad,SetSelectionsOperation as _0x443098,SheetsSelectionsService as _0x4166d1,EffectRefRangId as _0x440696,handleIRemoveRow as _0x5a4b68,handleIRemoveCol as _0x1d9791,handleMoveRange as _0x5ebb9b,handleInsertRow as _0x5daebb,handleInsertRangeMoveRight as _0x2445a6,handleInsertRangeMoveDown as _0x45f674,handleInsertCol as _0x647636,handleDeleteRangeMoveUp as _0x4b57a7,handleDeleteRangeMoveLeft as _0x4874fd,runRefRangeMutations as _0x4b660,SetWorksheetActivateCommand as _0x5ab3e3}from'@univerjs/sheets';import{map as _0x1e7307,filter as _0x390658,throttleTime as _0x4cf799,takeUntil as _0x22b71e,switchMap as _0x56af00}from'rxjs/operators';import{SheetSkeletonManagerService as _0x15beaa,getCoordByCell as _0x2a94a5,getSheetObject as _0x114a43}from'@univerjs/sheets-ui';import{jsx as _0x26857e,jsxs as _0x55067f}from'react/jsx-runtime';import{useObservable as _0x24e304,useDependency as _0x1be28e,IUIPartsService as _0x3a8e0c,BuiltInUIPart as _0x60d367,connectInjector as _0x2935ff,IBeforeCloseService as _0x2a626f,IMessageService as _0x3d24af,INotificationService as _0x440292}from'@univerjs/ui';import{Tooltip as _0xa4146e,clsx as _0x58b853,MessageType as _0x5a2a4a}from'@univerjs/design';import{forwardRef as _0x5940ab,useRef as _0xc65301,createElement as _0x5dfcb2,useCallback as _0x11ad7a}from'react';import{IRemoteInstanceService as _0x293cb2}from'@univerjs/rpc';var ci=Object[_0x3b7069(0x325)],li=(_0x277632,_0x420e8f,_0x42889a,_0x103c3f)=>{for(var _0x34bf70=_0x103c3f>0x1?void 0x0:_0x103c3f?ci(_0x420e8f,_0x42889a):_0x420e8f,_0x3e4f0e=_0x277632['length']-0x1,_0x4bbeda;_0x3e4f0e>=0x0;_0x3e4f0e--)(_0x4bbeda=_0x277632[_0x3e4f0e])&&(_0x34bf70=_0x4bbeda(_0x34bf70)||_0x34bf70);return _0x34bf70;},Je=(_0x258da1,_0x5f00df)=>(_0x407b47,_0x21c1e4)=>_0x5f00df(_0x407b47,_0x21c1e4,_0x258da1);let Ne=class extends _0x42b55d{constructor(_0x129541,_0x50c3b9){const _0x3db792=_0x3b7069;super(),this[_0x3db792(0x18b)]=_0x129541,this[_0x3db792(0x2f2)]=_0x50c3b9,this['_init']();}['_init'](){const _0x18c3cd=_0x3b7069,_0x6383fc=this;this[_0x18c3cd(0x261)](this[_0x18c3cd(0x18b)][_0x18c3cd(0x2d8)]({'onBeforePasteImage':async _0x6ddca9=>{const _0x5f294e=_0x18c3cd,_0x19c815=await _0x6383fc['_imageIoService'][_0x5f294e(0x247)](_0x6ddca9);return _0x19c815?{'source':_0x19c815[_0x5f294e(0x270)],'imageSourceType':_0x19c815[_0x5f294e(0x1fb)]}:null;}}));}};Ne=li([Je(0x0,_0x6d8cdf),Je(0x1,_0x5a824e)],Ne);const Ze=[_0x3b7069(0x2c3),_0x3b7069(0x2ce),_0x3b7069(0x1bb),_0x3b7069(0x272),_0x3b7069(0x15a),'gold400'];class ke extends _0x2a6f43{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x3b7069(0x31d)](_0x5de16b){const _0x194103=_0x3b7069;if(this[_0x194103(0x24e)][_0x194103(0x328)](_0x5de16b))return this[_0x194103(0x24e)]['get'](_0x5de16b);const _0x36e78c=Ze[this[_0x194103(0x2ab)]];return this[_0x194103(0x2ab)]=(this[_0x194103(0x2ab)]+0x1)%Ze[_0x194103(0x1f5)],this[_0x194103(0x24e)]['set'](_0x5de16b,_0x36e78c),_0x36e78c;}}function Tt(_0x4e22c1){let _0xdc48a6='';for(const _0x42b760 of _0x4e22c1){const {startOffset:_0x2420be,endOffset:_0x2a2bf0,isActive:_0x2e7312,rangeType:_0x1b1e4e,segmentId:_0x2a0f9a,segmentPage:_0xcea4e3}=_0x42b760;_0xdc48a6['length']&&(_0xdc48a6+=','),_0xdc48a6+=_0x2420be+':'+_0x2a2bf0+':'+(_0x2e7312?'1':'0')+':'+_0x1b1e4e+':'+_0x2a0f9a+':'+_0xcea4e3;}return _0xdc48a6;}function _i(_0x7dff41){const _0x589e63=_0x3b7069,_0x272589=_0x7dff41[_0x589e63(0x15f)](','),_0x2fe8bd=[];for(const _0xa56ca0 of _0x272589){const [_0x583022,_0x101f82,_0x201072,_0x36071c,_0x4a6d69,_0x17f272]=_0xa56ca0['split'](':');_0x2fe8bd[_0x589e63(0x2c5)]({'startOffset':Number(_0x583022),'endOffset':Number(_0x101f82),'collapsed':_0x583022===_0x101f82,'isActive':_0x201072==='1','rangeType':_0x36071c===_0x26cbe3['TEXT']?_0x26cbe3[_0x589e63(0x250)]:_0x26cbe3[_0x589e63(0x1e0)],'segmentId':typeof _0x4a6d69==_0x589e63(0x321)?String(_0x4a6d69):'','segmentPage':Number(_0x17f272!=null?_0x17f272:-0x1)});}return _0x2fe8bd['some'](_0x44e49b=>_0x44e49b[_0x589e63(0x231)])||(_0x2fe8bd[0x0][_0x589e63(0x231)]=!0x0),_0x2fe8bd;}class He extends _0x42b55d{constructor(){const _0x3470e7=_0x3b7069;super(...arguments),_(this,_0x3470e7(0x357),new _0x1ca0e1(null)),_(this,_0x3470e7(0x268),this[_0x3470e7(0x357)][_0x3470e7(0x2c2)]());}[_0x3b7069(0x27a)](_0x334389){const {unitID:_0x20e90c,memberID:_0x4d7819,textRanges:_0x3e9282}=_0x334389,_0x227dad=Tt(_0x3e9282);if(_0x227dad==='')return;const _0x1a4d6c={'unitID':_0x20e90c,'memberID':_0x4d7819,'selection':_0x227dad};this['_collabCursorState$']['next'](_0x1a4d6c);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x2be18b,_0x35a146,_0x9be3c,_0x38fd4f)=>{for(var _0x4954c6=_0x38fd4f>0x1?void 0x0:_0x38fd4f?hi(_0x35a146,_0x9be3c):_0x35a146,_0x28fda0=_0x2be18b['length']-0x1,_0x56d451;_0x28fda0>=0x0;_0x28fda0--)(_0x56d451=_0x2be18b[_0x28fda0])&&(_0x4954c6=_0x56d451(_0x4954c6)||_0x4954c6);return _0x4954c6;},L=(_0x2129c9,_0x278369)=>(_0xafe3a4,_0x46b9e6)=>_0x278369(_0xafe3a4,_0x46b9e6,_0x2129c9);const di=0x12c,fi=0x64;let Ue=class extends _0x42b55d{constructor(_0x53f86e,_0x490174,_0x39fca9,_0x15d7db,_0x599105,_0x5a77c2,_0x45da7e,_0x8c6f15,_0x5a7833){const _0x153b55=_0x3b7069;super(),_(this,_0x153b55(0x234),!0x1),_(this,_0x153b55(0x353),!0x1),_(this,_0x153b55(0x224),new _0x1ca0e1(new Map())),_(this,_0x153b55(0x291),this[_0x153b55(0x224)][_0x153b55(0x2c2)]()),_(this,_0x153b55(0x330),new _0x1ca0e1([])),_(this,'roomMembers$',this[_0x153b55(0x330)]['pipe'](_0x52f644(di))),_(this,_0x153b55(0x30b),_0x9181b4(_0x24b732=>{const _0x1a1f0d=_0x153b55,_0x2e6b7a={'eventID':_0x531fb4[_0x1a1f0d(0x239)],'data':{'unitID':this[_0x1a1f0d(0x26b)],'memberID':this[_0x1a1f0d(0x24a)][_0x1a1f0d(0x34c)](),'selection':Tt(_0x24b732)}};this['_session'][_0x1a1f0d(0x27f)](_0x2e6b7a,this[_0x1a1f0d(0x26b)]);},fi)),(this[_0x153b55(0x26b)]=_0x53f86e,this['_session']=_0x490174,this[_0x153b55(0x217)]=_0x39fca9,this['_colorAssignService']=_0x15d7db,this['_memberService']=_0x599105,this[_0x153b55(0x1aa)]=_0x5a77c2,this[_0x153b55(0x2a7)]=_0x45da7e,this[_0x153b55(0x335)]=_0x8c6f15,this[_0x153b55(0x17e)]=_0x5a7833);}get[_0x3b7069(0x1e7)](){const _0x305efd=_0x3b7069;return this['_cursorInfo$'][_0x305efd(0x344)]();}get[_0x3b7069(0x255)](){const _0x44233b=_0x3b7069;return this[_0x44233b(0x330)][_0x44233b(0x344)]();}[_0x3b7069(0x2a0)](){const _0x5a299c=_0x3b7069;super['dispose'](),this[_0x5a299c(0x224)][_0x5a299c(0x1ba)](new Map()),this[_0x5a299c(0x224)][_0x5a299c(0x2ee)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x5a299c(0x2ee)]();}[_0x3b7069(0x2a1)](){const _0x2f43bb=_0x3b7069;this[_0x2f43bb(0x353)]||(this[_0x2f43bb(0x353)]=!0x0,this[_0x2f43bb(0x24a)][_0x2f43bb(0x237)][_0x2f43bb(0x19c)](_0x53aa4f(this[_0x2f43bb(0x29d)]))[_0x2f43bb(0x236)](_0x371a65=>{const _0x58c23c=_0x2f43bb;_0x371a65===_0xeaf30f[_0x58c23c(0x24b)]?this[_0x58c23c(0x28b)]():this[_0x58c23c(0x180)]();}),this[_0x2f43bb(0x24a)]['event$'][_0x2f43bb(0x19c)](_0x53aa4f(this[_0x2f43bb(0x29d)]))[_0x2f43bb(0x236)](_0x4df038=>{const _0x9533d0=_0x2f43bb,_0x2a025e=_0x4df038[_0x9533d0(0x1af)];_0x2a025e===_0x531fb4[_0x9533d0(0x239)]&&this[_0x9533d0(0x31c)](_0x4df038),_0x2a025e===_0x531fb4['USERS_LEAVE']&&this[_0x9533d0(0x2d5)](_0x4df038);}),this[_0x2f43bb(0x261)](this[_0x2f43bb(0x17e)][_0x2f43bb(0x258)](_0x2c4975=>{const _0x5fe251=_0x2f43bb,_0x291f04=_0x2c4975['params'];_0x291f04!=null&&this[_0x5fe251(0x234)]&&_0x2c4975['id']===_0x5811a2['id']&&_0x291f04[_0x5fe251(0x24f)]===this['unitID']&&_0x291f04[_0x5fe251(0x2f1)]===!0x1&&_0x291f04[_0x5fe251(0x27e)][_0x5fe251(0x1f5)]>0x0&&this[_0x5fe251(0x30b)](_0x291f04[_0x5fe251(0x27e)]);})),this[_0x2f43bb(0x1aa)][_0x2f43bb(0x268)][_0x2f43bb(0x19c)](_0x53aa4f(this[_0x2f43bb(0x29d)]))[_0x2f43bb(0x236)](_0x40d3aa=>{const _0x4d4f75=_0x2f43bb;if((_0x40d3aa==null?void 0x0:_0x40d3aa[_0x4d4f75(0x26b)])!==this[_0x4d4f75(0x26b)])return;const _0x5de5b1={'eventID':_0x531fb4[_0x4d4f75(0x239)],'data':_0x40d3aa};this[_0x4d4f75(0x31c)](_0x5de5b1);}),this[_0x2f43bb(0x261)](this['_commandService'][_0x2f43bb(0x258)](_0x5d9f91=>{const _0x14c82f=_0x2f43bb;if(_0x5d9f91[_0x14c82f(0x280)]==null)return;const _0x6b7bf=_0x5d9f91[_0x14c82f(0x280)];if(_0x5d9f91['id']!==_0x52b5f4['id']||_0x6b7bf[_0x14c82f(0x24f)]!==this[_0x14c82f(0x26b)])return;const _0x92c0e7={'id':_0x14c82f(0x23c),'params':_0x6b7bf},_0xaf47b7=this[_0x14c82f(0x1e7)];for(const [_0x87c419,_0x3d9724]of _0xaf47b7){const _0x24b19a={'id':_0x14c82f(0x23c),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3d9724[_0x14c82f(0x27e)]}},_0x45ba21=this['_transformService'][_0x14c82f(0x2ae)](_0x92c0e7,_0x24b19a,!0x1);if(_0x33b899(_0x45ba21))throw _0x45ba21[_0x14c82f(0x23e)];_0xaf47b7[_0x14c82f(0x15c)](_0x87c419,{..._0x3d9724,'ranges':_0x45ba21[_0x14c82f(0x2c4)][_0x14c82f(0x280)]['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0xaf47b7);});})));}[_0x3b7069(0x31c)](_0x2b6a4d){const _0x4830b6=_0x3b7069;var _0x42db37,_0x51a189;const {memberID:_0x423866,selection:_0x1857b2}=_0x2b6a4d['data'],_0x356ac4=_i(_0x1857b2),_0x17deae=(_0x51a189=(_0x42db37=this[_0x4830b6(0x276)][_0x4830b6(0x1c3)](this[_0x4830b6(0x26b)],_0x423866))==null?void 0x0:_0x42db37[_0x4830b6(0x2cb)])!=null?_0x51a189:'Unknown\x20user',_0x17b077={'color':this[_0x4830b6(0x359)][_0x4830b6(0x31d)](_0x423866),'name':_0x17deae,'ranges':_0x356ac4},_0x35c208=this[_0x4830b6(0x1e7)];_0x35c208[_0x4830b6(0x15c)](_0x423866,_0x17b077),this[_0x4830b6(0x224)][_0x4830b6(0x1ba)](_0x35c208);}[_0x3b7069(0x2d5)](_0x5a583e){const _0x146d4e=_0x3b7069,{memberID:_0x4208a8}=_0x5a583e[_0x146d4e(0x1cf)],_0x3a17d8=this['cursorInfo'];_0x3a17d8[_0x146d4e(0x202)](_0x4208a8),this['_cursorInfo$'][_0x146d4e(0x1ba)](_0x3a17d8);}[_0x3b7069(0x28b)](){const _0x5d8d62=_0x3b7069;var _0xbeaabf;if(this[_0x5d8d62(0x234)]=!0x0,((_0xbeaabf=this[_0x5d8d62(0x335)][_0x5d8d62(0x1f9)]())==null?void 0x0:_0xbeaabf[_0x5d8d62(0x323)]())!==this['unitID'])return;const _0x2bbf93=this[_0x5d8d62(0x217)][_0x5d8d62(0x313)](_0x338695)[_0x5d8d62(0x266)]();Array['isArray'](_0x2bbf93)&&_0x2bbf93[_0x5d8d62(0x1f5)]>0x0&&this['_updateLocalCursor'](_0x2bbf93);}[_0x3b7069(0x180)](){const _0x40ea43=_0x3b7069;this[_0x40ea43(0x234)]=!0x1;}};Ue=ui([L(0x2,_0x2eb28e(_0x542e55)),L(0x3,_0x2eb28e(ke)),L(0x4,_0x2eb28e(_0x1a0112)),L(0x5,_0x2eb28e(He)),L(0x6,_0x25c7bb),L(0x7,_0x5123ac),L(0x8,_0x165616)],Ue);var Si=Object[_0x3b7069(0x325)],mi=(_0x4384c8,_0x243116,_0x28249a,_0x1b0e2e)=>{for(var _0x267f95=_0x1b0e2e>0x1?void 0x0:_0x1b0e2e?Si(_0x243116,_0x28249a):_0x243116,_0x5e208b=_0x4384c8['length']-0x1,_0x3b45ca;_0x5e208b>=0x0;_0x5e208b--)(_0x3b45ca=_0x4384c8[_0x5e208b])&&(_0x267f95=_0x3b45ca(_0x267f95)||_0x267f95);return _0x267f95;},x=(_0x2737da,_0x3082bd)=>(_0x23d0d0,_0x4bc352)=>_0x3082bd(_0x23d0d0,_0x4bc352,_0x2737da);const gi=0x12c,Ii=0x64,vi=()=>{let _0x13c3ae=[],_0x4db219=!0x1;return _0x19ef18=>{_0x13c3ae['push'](_0x19ef18),_0x4db219||(_0x4db219=!0x0,setTimeout(()=>{const _0x45541c=_0xec61;_0x13c3ae[_0x45541c(0x273)](_0x451b89=>_0x451b89()),_0x13c3ae=[],_0x4db219=!0x1;}));};};let Me=class extends _0x42b55d{constructor(_0x32655d,_0x5757cd,_0x2df09e,_0x3b5bb8,_0xbf94d5,_0x333741,_0x29e4f8,_0x521cd5){const _0x31dcda=_0x3b7069;super(),_(this,_0x31dcda(0x234),!0x1),_(this,_0x31dcda(0x353),!0x1),_(this,'_cursorInfo$',new _0x1ca0e1(new Map())),_(this,_0x31dcda(0x291),this[_0x31dcda(0x224)][_0x31dcda(0x2c2)]()),_(this,'_roomMembers$',new _0x1ca0e1([])),_(this,_0x31dcda(0x2be),this[_0x31dcda(0x330)][_0x31dcda(0x19c)](_0x52f644(gi))),_(this,_0x31dcda(0x30b),_0x9181b4((_0x56448d,_0x595151)=>{const _0x1f8e93=_0x31dcda,_0x331129={'eventID':_0x531fb4[_0x1f8e93(0x239)],'data':{'unitID':this[_0x1f8e93(0x26b)],'memberID':this[_0x1f8e93(0x24a)]['getMemberID'](),'selection':_0xc3548e(_0x56448d,_0x595151['range'])}};this['_session']['send'](_0x331129,this['unitID']);},Ii)),(this[_0x31dcda(0x26b)]=_0x32655d,this['_session']=_0x5757cd,this[_0x31dcda(0x217)]=_0x2df09e,this[_0x31dcda(0x359)]=_0x3b5bb8,this[_0x31dcda(0x276)]=_0xbf94d5,this[_0x31dcda(0x335)]=_0x333741,this[_0x31dcda(0x17e)]=_0x29e4f8,this['_refRangeService']=_0x521cd5);}get[_0x3b7069(0x1e7)](){const _0x43e70c=_0x3b7069;return this[_0x43e70c(0x224)][_0x43e70c(0x344)]();}get[_0x3b7069(0x255)](){const _0x4bc5f9=_0x3b7069;return this[_0x4bc5f9(0x330)][_0x4bc5f9(0x344)]();}[_0x3b7069(0x2a0)](){const _0x1fe21e=_0x3b7069;super[_0x1fe21e(0x2a0)](),this[_0x1fe21e(0x224)][_0x1fe21e(0x1ba)](new Map()),this['_cursorInfo$'][_0x1fe21e(0x2ee)](),this['_roomMembers$'][_0x1fe21e(0x1ba)]([]),this[_0x1fe21e(0x330)]['complete']();}[_0x3b7069(0x2a1)](){const _0x513a82=_0x3b7069;this['_init']||(this[_0x513a82(0x353)]=!0x0,this['_session'][_0x513a82(0x237)][_0x513a82(0x19c)](_0x53aa4f(this['dispose$']))['subscribe'](_0x243e84=>{const _0x49cb79=_0x513a82;_0x243e84===_0xeaf30f[_0x49cb79(0x24b)]?this[_0x49cb79(0x28b)]():this[_0x49cb79(0x180)]();}),this[_0x513a82(0x24a)]['event$']['pipe'](_0x53aa4f(this[_0x513a82(0x29d)]))[_0x513a82(0x236)](_0x5f4d19=>{const _0x570646=_0x513a82,_0x559c20=_0x5f4d19[_0x570646(0x1af)];_0x559c20===_0x531fb4[_0x570646(0x239)]&&this[_0x570646(0x31c)](_0x5f4d19),_0x559c20===_0x531fb4[_0x570646(0x2b3)]&&this[_0x570646(0x2d5)](_0x5f4d19);}),this[_0x513a82(0x17a)](),this[_0x513a82(0x261)](this[_0x513a82(0x17e)][_0x513a82(0x258)](_0x179300=>{const _0xeefa4a=_0x513a82;if(this['_online']&&_0x179300['id']===_0x443098['id']&&_0x179300[_0xeefa4a(0x280)]['unitId']===this[_0xeefa4a(0x26b)]){const _0x44ce69=_0x179300[_0xeefa4a(0x280)];this[_0xeefa4a(0x30b)](_0x44ce69['subUnitId'],_0x44ce69[_0xeefa4a(0x25c)][0x0]);}})));}[_0x3b7069(0x31c)](_0x24f57f){const _0x6950b8=_0x3b7069;var _0x9f31a4,_0x46809c;const {memberID:_0x46d704,selection:_0x5bbe74}=_0x24f57f[_0x6950b8(0x1cf)],{sheetName:_0x2bf351,range:_0x1512ba}=_0x33ed1c(_0x5bbe74),_0x1757d3={'name':(_0x46809c=(_0x9f31a4=this[_0x6950b8(0x276)][_0x6950b8(0x1c3)](this[_0x6950b8(0x26b)],_0x46d704))==null?void 0x0:_0x9f31a4['name'])!=null?_0x46809c:_0x6950b8(0x24d),'range':this[_0x6950b8(0x24c)](_0x2bf351,_0x1512ba),'sheetID':_0x2bf351,'color':this['_colorAssignService'][_0x6950b8(0x31d)](_0x46d704),'selection':_0x5bbe74},_0x1ff6f8=this[_0x6950b8(0x1e7)];_0x1ff6f8[_0x6950b8(0x15c)](_0x46d704,_0x1757d3),this['_cursorInfo$'][_0x6950b8(0x1ba)](_0x1ff6f8);}[_0x3b7069(0x2d5)](_0x37c58c){const _0x2a2cca=_0x3b7069,{memberID:_0x581331}=_0x37c58c[_0x2a2cca(0x1cf)],_0x197ef4=this['cursorInfo'];_0x197ef4['delete'](_0x581331),this[_0x2a2cca(0x224)][_0x2a2cca(0x1ba)](_0x197ef4);}[_0x3b7069(0x24c)](_0x2c471b,_0xb4ed44){const _0x119565=_0x3b7069;var _0x1d987e,_0x4c8d12;const _0x2685b7=(_0x4c8d12=(_0x1d987e=this[_0x119565(0x335)][_0x119565(0x30c)](this[_0x119565(0x26b)]))==null?void 0x0:_0x1d987e['getSheetBySheetId'](_0x2c471b))==null?void 0x0:_0x4c8d12[_0x119565(0x1b2)]();return(_0x2685b7==null?void 0x0:_0x2685b7['find'](_0x173b7f=>_0x56636b[_0x119565(0x324)](_0x173b7f,_0xb4ed44)))||_0xb4ed44;}['_onRefRangeChange'](){const _0xe574d7=_0x3b7069,_0x45b292=new _0x349bc7(),_0x465941=vi(),_0x1f98ea=()=>{const _0x72ffb2=_0xec61;_0x45b292[_0x72ffb2(0x2a0)]();const _0x189c83=(_0xdf89b8,_0x8c8c11,_0x2d78f3,_0x3e9b63)=>{const _0x37e609=_0x72ffb2;let _0x4f4f0e=[];switch(_0xdf89b8['id']){case _0x440696[_0x37e609(0x1a4)]:{_0x4f4f0e=_0x4874fd(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x208)]:{_0x4f4f0e=_0x4b57a7(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x290)]:{_0x4f4f0e=_0x647636(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x2b7)]:{_0x4f4f0e=_0x45f674(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x2e1)]:{_0x4f4f0e=_0x2445a6(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x2f8)]:{_0x4f4f0e=_0x5daebb(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x2e0)]:{_0x4f4f0e=_0x5ebb9b(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x189)]:{_0x4f4f0e=_0x1d9791(_0xdf89b8,_0x3e9b63);break;}case _0x440696[_0x37e609(0x16e)]:{_0x4f4f0e=_0x5a4b68(_0xdf89b8,_0x3e9b63);break;}}const _0x1f4810=_0x4b660(_0x4f4f0e,_0x3e9b63),_0xccdaa1=this[_0x37e609(0x1e7)]['get'](_0x8c8c11);if(_0xccdaa1&&_0x1f4810){const _0x2796e5={..._0xccdaa1,'range':_0x1f4810};this['cursorInfo'][_0x37e609(0x15c)](_0x8c8c11,_0x2796e5),_0x465941(()=>{const _0x423c65=_0x37e609,_0x1fb862=this[_0x423c65(0x2b1)][_0x423c65(0x1fa)](_0x1f4810,_0xd95ac9=>(_0x1fb862[_0x423c65(0x2a0)](),_0x189c83(_0xd95ac9,_0x8c8c11,_0x2d78f3,_0x1f4810)));_0x45b292[_0x423c65(0x1fe)](_0x1fb862);});}return{'redos':[],'undos':[]};};this[_0x72ffb2(0x1e7)][_0x72ffb2(0x273)]((_0x5649b7,_0x146837)=>{const _0x2055eb=_0x72ffb2,{range:_0x192255,sheetID:_0x4d731c}=_0x5649b7,_0x4412a1=this['_refRangeService']['registerRefRange'](_0x192255,_0x464060=>(_0x4412a1[_0x2055eb(0x2a0)](),_0x189c83(_0x464060,_0x146837,_0x4d731c,_0x192255)));_0x45b292[_0x2055eb(0x1fe)](_0x4412a1);});};this[_0xe574d7(0x261)](_0x11e171(this[_0xe574d7(0x224)]['subscribe'](()=>{_0x1f98ea();})));}['_toggleOnline'](){const _0x188373=_0x3b7069;var _0x51acdf,_0x483626;if(this['_online']=!0x0,((_0x51acdf=this[_0x188373(0x335)]['getFocusedUnit']())==null?void 0x0:_0x51acdf[_0x188373(0x323)]())!==this[_0x188373(0x26b)])return;const _0x989fab=(_0x483626=this[_0x188373(0x217)][_0x188373(0x313)](_0x4166d1)[_0x188373(0x194)]())==null?void 0x0:_0x483626[0x0],_0x5babae=this[_0x188373(0x335)][_0x188373(0x22f)](_0x24a141[_0x188373(0x257)])[_0x188373(0x169)]();_0x989fab&&_0x5babae&&this['_updateLocalCursor'](_0x5babae['getSheetId'](),_0x989fab);}[_0x3b7069(0x180)](){const _0x300a9f=_0x3b7069;this[_0x300a9f(0x234)]=!0x1;}};Me=mi([x(0x2,_0x2eb28e(_0x542e55)),x(0x3,_0x2eb28e(ke)),x(0x4,_0x2eb28e(_0x1a0112)),x(0x5,_0x5123ac),x(0x6,_0x165616),x(0x7,_0x2eb28e(_0x5873ad))],Me);var pi=Object[_0x3b7069(0x325)],Ci=(_0x3f1882,_0x3380b7,_0xa723f,_0x3f60f8)=>{const _0x4b2b86=_0x3b7069;for(var _0xeaeae3=_0x3f60f8>0x1?void 0x0:_0x3f60f8?pi(_0x3380b7,_0xa723f):_0x3380b7,_0x507d7f=_0x3f1882[_0x4b2b86(0x1f5)]-0x1,_0xa9a67c;_0x507d7f>=0x0;_0x507d7f--)(_0xa9a67c=_0x3f1882[_0x507d7f])&&(_0xeaeae3=_0xa9a67c(_0xeaeae3)||_0xeaeae3);return _0xeaeae3;},Se=(_0x18a020,_0x180906)=>(_0x2319aa,_0x41ddfa)=>_0x180906(_0x2319aa,_0x41ddfa,_0x18a020);let H=class extends _0x42b55d{constructor(_0xc97621,_0x1356d5,_0x44077d){const _0x5ea1ef=_0x3b7069;super(),_(this,_0x5ea1ef(0x292),new Map()),_(this,_0x5ea1ef(0x1ac),new _0x3bcba6()),(this[_0x5ea1ef(0x335)]=_0xc97621,this[_0x5ea1ef(0x217)]=_0x1356d5,this['_collabSessionService']=_0x44077d,this['_init']());}[_0x3b7069(0x2a0)](){const _0x20b14d=_0x3b7069;super[_0x20b14d(0x2a0)](),this[_0x20b14d(0x1ac)][_0x20b14d(0x2ee)](),this[_0x20b14d(0x292)][_0x20b14d(0x273)](_0x3cbd21=>_0x3cbd21['dispose']());}[_0x3b7069(0x16c)](_0x48f835){const _0x27c3f4=_0x3b7069;return this['_entities'][_0x27c3f4(0x328)](_0x48f835)?this['_entities'][_0x27c3f4(0x313)](_0x48f835)['cursorInfo$']:this['_entityInit$'][_0x27c3f4(0x19c)](_0x44ce06(_0x115292=>_0x115292[_0x27c3f4(0x26b)]===_0x48f835),_0xa39a1a(_0x13c917=>_0x13c917['cursorInfo$']));}[_0x3b7069(0x353)](){const _0x6e379a=_0x3b7069;this['_univerInstanceService'][_0x6e379a(0x298)](_0x24a141['UNIVER_SHEET'])[_0x6e379a(0x19c)](_0x53aa4f(this[_0x6e379a(0x29d)]))[_0x6e379a(0x236)](async _0x4e7f7c=>{const _0x950c38=_0x6e379a,_0x378703=_0x4e7f7c[_0x950c38(0x323)](),_0x2471a0=await this[_0x950c38(0x348)](_0x378703);this[_0x950c38(0x1ac)][_0x950c38(0x1ba)](_0x2471a0),this[_0x950c38(0x292)][_0x950c38(0x15c)](_0x378703,_0x2471a0);}),this[_0x6e379a(0x335)][_0x6e379a(0x298)](_0x24a141[_0x6e379a(0x20b)])['pipe'](_0x53aa4f(this[_0x6e379a(0x29d)]))[_0x6e379a(0x19c)](_0x44ce06(_0x5667cb=>!_0x5667cb[_0x6e379a(0x323)]()[_0x6e379a(0x2fa)]('__')))[_0x6e379a(0x236)](async _0x40346d=>{const _0x333235=_0x6e379a,_0x3d3eee=_0x40346d['getUnitId'](),_0x46ca02=await this[_0x333235(0x295)](_0x3d3eee);this[_0x333235(0x1ac)][_0x333235(0x1ba)](_0x46ca02),this[_0x333235(0x292)][_0x333235(0x15c)](_0x3d3eee,_0x46ca02);}),_0x5a4399(this[_0x6e379a(0x335)][_0x6e379a(0x2a8)](_0x24a141[_0x6e379a(0x20b)]),this['_univerInstanceService'][_0x6e379a(0x2a8)](_0x24a141['UNIVER_SHEET']))[_0x6e379a(0x19c)](_0x53aa4f(this['dispose$']))[_0x6e379a(0x236)](_0xd85b21=>{const _0x3bfa65=_0x6e379a,_0x34e897=_0xd85b21['getUnitId'](),_0x2a1c21=this[_0x3bfa65(0x292)][_0x3bfa65(0x313)](_0x34e897);_0x2a1c21&&(_0x2a1c21[_0x3bfa65(0x2a0)](),this[_0x3bfa65(0x292)][_0x3bfa65(0x202)](_0x34e897));});}async[_0x3b7069(0x348)](_0x228b30){const _0x4f2c40=_0x3b7069,_0x479d97=await this[_0x4f2c40(0x1dc)][_0x4f2c40(0x1e3)](_0x228b30),_0x600b7f=this[_0x4f2c40(0x217)][_0x4f2c40(0x222)](Me,_0x228b30,_0x479d97);return _0x600b7f[_0x4f2c40(0x2a1)](),_0x600b7f;}async['_startDocCollabCursor'](_0x206a18){const _0x52f9d5=_0x3b7069,_0x4f5e3a=await this[_0x52f9d5(0x1dc)][_0x52f9d5(0x1e3)](_0x206a18),_0x2c6e79=this[_0x52f9d5(0x217)][_0x52f9d5(0x222)](Ue,_0x206a18,_0x4f5e3a);return _0x2c6e79['init'](),_0x2c6e79;}};H=Ci([Se(0x0,_0x5123ac),Se(0x1,_0x2eb28e(_0x542e55)),Se(0x2,_0x2eb28e(_0x4ec459))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x24f71c,_0x3cc6db){const _0x5ed8ef=_0x3b7069;let {radius:_0x3ac33f,width:_0x77d457,height:_0x2ad381}=_0x3cc6db;_0x3ac33f=_0x3ac33f!=null?_0x3ac33f:0x0,_0x77d457=_0x77d457!=null?_0x77d457:0x1e,_0x2ad381=_0x2ad381!=null?_0x2ad381:0x1e;let _0x24c21e=0x0,_0x1fb7f6=0x0,_0x4af26e=0x0;_0x24c21e=_0x1fb7f6=_0x4af26e=Math[_0x5ed8ef(0x354)](_0x3ac33f,_0x77d457/0x2,_0x2ad381/0x2),_0x24f71c[_0x5ed8ef(0x287)](),_0x24f71c['moveTo'](_0x24c21e,0x0),_0x24f71c[_0x5ed8ef(0x2db)](_0x77d457-_0x1fb7f6,0x0),_0x24f71c['arc'](_0x77d457-_0x1fb7f6,_0x1fb7f6,_0x1fb7f6,Math['PI']*0x3/0x2,0x0,!0x1),_0x24f71c[_0x5ed8ef(0x2db)](_0x77d457,_0x2ad381-_0x4af26e),_0x24f71c[_0x5ed8ef(0x21d)](_0x77d457-_0x4af26e,_0x2ad381-_0x4af26e,_0x4af26e,0x0,Math['PI']/0x2,!0x1),_0x24f71c[_0x5ed8ef(0x2db)](0x0,_0x2ad381),_0x24f71c[_0x5ed8ef(0x2db)](0x0,_0x24c21e),_0x24f71c[_0x5ed8ef(0x21d)](_0x24c21e,_0x24c21e,_0x24c21e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x24f71c[_0x5ed8ef(0x302)](),_0x3cc6db['fill']&&(_0x24f71c['save'](),_0x24f71c[_0x5ed8ef(0x2eb)]=_0x3cc6db[_0x5ed8ef(0x2ad)],_0x3cc6db['fillRule']===_0x5ed8ef(0x2f6)?_0x24f71c[_0x5ed8ef(0x2ad)](_0x5ed8ef(0x2f6)):_0x24f71c[_0x5ed8ef(0x2ad)](),_0x24f71c[_0x5ed8ef(0x2e6)]());}class he extends _0x595286{constructor(_0x105884,_0x3c27c5){const _0x2c6f49=_0x3b7069;super(_0x105884,_0x3c27c5),_(this,'color'),_(this,_0x2c6f49(0x26a)),(this['color']=_0x3c27c5==null?void 0x0:_0x3c27c5[_0x2c6f49(0x277)],this['text']=_0x3c27c5==null?void 0x0:_0x3c27c5[_0x2c6f49(0x26a)]);}static[_0x3b7069(0x230)](_0x5bbcba,_0x5aaf8c){const _0xe2a08e=_0x3b7069,{text:_0x51e75b,color:_0x3360c4}=_0x5aaf8c;_0x5bbcba[_0xe2a08e(0x2ed)](),_0x5bbcba[_0xe2a08e(0x201)]=_0xe2a08e(0x2fd);const _0x3444c8=_0x5bbcba[_0xe2a08e(0x262)](_0x51e75b)[_0xe2a08e(0x1fc)],_0x3efef7=Math['min'](_0x3444c8+0x2*me,Qe);Oi(_0x5bbcba,{'height':ee,'radius':0x4,'width':_0x3efef7,'fill':_0x3360c4}),_0x5bbcba[_0xe2a08e(0x2eb)]=_0xe2a08e(0x1c2);const _0x5d041f=me,_0x43b349=ee-Ei,_0x48a74d=Qe-0x2*me;if(_0x3444c8>_0x48a74d){let _0x4208d0='',_0x4d3d67=0x0;for(const _0x2d7b2d of _0x51e75b){const _0x410a54=_0x5bbcba[_0xe2a08e(0x262)](_0x2d7b2d)[_0xe2a08e(0x1fc)];if(_0x4d3d67+_0x410a54<=_0x48a74d-_0x5bbcba[_0xe2a08e(0x262)]('...')[_0xe2a08e(0x1fc)])_0x4208d0+=_0x2d7b2d,_0x4d3d67+=_0x410a54;else{_0x4208d0+=_0xe2a08e(0x2bc);break;}}_0x5bbcba[_0xe2a08e(0x1e2)](_0x4208d0,_0x5d041f,_0x43b349);}else _0x5bbcba['fillText'](_0x51e75b,_0x5d041f,_0x43b349);_0x5bbcba[_0xe2a08e(0x2e6)]();}[_0x3b7069(0x174)](_0x5e3cdb){const _0x58b649=_0x3b7069;he[_0x58b649(0x230)](_0x5e3cdb,this);}}const ge=_0x3b7069(0x1e6),bi=_0x3b7069(0x1a1),Ti=_0x3b7069(0x31e),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x3b7069(0x327);class qe{constructor(_0x1f4bda,_0x47c40f,_0x535967,_0x341e3e){const _0x25013a=_0x3b7069;_(this,_0x25013a(0x2cc),[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x25013a(0x1cd),null),_(this,_0x25013a(0x342),null),_(this,_0x25013a(0x349),null),(this[_0x25013a(0x29b)]=_0x1f4bda,this[_0x25013a(0x338)]=_0x47c40f,this['_docSkeleton']=_0x535967,this['_document']=_0x341e3e,this[_0x25013a(0x2ca)]());}set[_0x3b7069(0x305)](_0x3210af){const _0x310821=_0x3b7069;_0x3210af?(this[_0x310821(0x1cd)]&&this[_0x310821(0x1cd)][_0x310821(0x31b)](),this[_0x310821(0x307)]&&this[_0x310821(0x307)][_0x310821(0x20a)]()):(this[_0x310821(0x1cd)]&&this[_0x310821(0x1cd)]['show'](),this['_textBubble']&&this[_0x310821(0x307)]['hide']());}[_0x3b7069(0x2a0)](){const _0x2896a3=_0x3b7069;for(const _0x576f08 of this[_0x2896a3(0x2cc)])_0x576f08[_0x2896a3(0x2a0)]();this[_0x2896a3(0x307)]&&this[_0x2896a3(0x307)][_0x2896a3(0x2a0)](),this[_0x2896a3(0x1cd)]&&this['_anchorDot']['dispose'](),this[_0x2896a3(0x1f2)]&&this[_0x2896a3(0x1f2)]['dispose'](),this[_0x2896a3(0x349)]&&this['_eventUnsubscribe']();}[_0x3b7069(0x2ca)](){const _0x57738b=_0x3b7069;var _0x53460b;const {_docSkeleton:_0x440e8b,_document:_0x2d5c8a}=this,{color:_0x2eb3c2,name:_0x4300af,ranges:_0x321d20}=this[_0x57738b(0x29b)],_0x5ac355=_0x2d5c8a[_0x57738b(0x2d9)](),{docsLeft:_0x35c72a,docsTop:_0x4dcc24}=_0x5ac355,_0x137fab=new _0x19ecb0(_0x5ac355,_0x440e8b);for(const {startOffset:_0x34cdd4,endOffset:_0x38c839,rangeType:_0x57bd31,segmentId:_0x1a53c2,segmentPage:_0x5bb2c4,collapsed:_0x5c4df3,isActive:_0x26694b}of _0x321d20){const _0x587371=_0x440e8b[_0x57738b(0x2d4)](_0x34cdd4,!0x0,_0x1a53c2,_0x5bb2c4);let _0x2c8eaf=_0x440e8b['findNodePositionByCharIndex'](_0x38c839,!0x0,_0x1a53c2,_0x5bb2c4);if(_0x2c8eaf==null&&(_0x2c8eaf=_0x440e8b['findNodePositionByCharIndex'](_0x38c839-0x1,!0x1,_0x1a53c2,_0x5bb2c4)),_0x26694b){const {contentBoxPointGroup:_0x1763d1}=_0x137fab[_0x57738b(0x2e9)](_0x2c8eaf,_0x2c8eaf);if(_0x1763d1[_0x57738b(0x1f5)]===0x0)continue;this[_0x57738b(0x1f3)](_0x2eb3c2,_0x1763d1,_0x35c72a,_0x4dcc24,_0x4300af),this[_0x57738b(0x349)]=this['_handleHover']();}if(_0x587371&&_0x2c8eaf){if(_0x57bd31===_0x26cbe3['RECT']){const _0x14d406=new _0x136b60(_0x5ac355,_0x440e8b),{pointGroup:_0x845523}=(_0x53460b=_0x14d406[_0x57738b(0x2e9)](_0x587371,_0x2c8eaf))!=null?_0x53460b:{};if(_0x845523==null||_0x845523[_0x57738b(0x1f5)]===0x0)continue;this[_0x57738b(0x1c9)](_0x2eb3c2,_0x845523,_0x35c72a,_0x4dcc24);}else{if(!_0x5c4df3){const {borderBoxPointGroup:_0x16791c}=_0x137fab[_0x57738b(0x2e9)](_0x587371,_0x2c8eaf);if(_0x16791c[_0x57738b(0x1f5)]===0x0)continue;this['_drawTextRange'](_0x2eb3c2,_0x16791c,_0x35c72a,_0x4dcc24);}}}}}['_drawAnchor'](_0x1754c7,_0x360e7e,_0x259423,_0x51f621,_0x49569d){const _0x36df88=_0x3b7069,_0x2f44c0=this[_0x36df88(0x155)](_0x360e7e),{left:_0x239cc6,top:_0x3f2942,height:_0x1ca915}=_0x2f44c0,_0x23a2a5=this[_0x36df88(0x188)](),_0x2c51d8=Di/_0x23a2a5,_0x2d68ae=new _0x41dfde(ge+_0x52fcfb[_0x36df88(0x1c8)](X),{'left':_0x239cc6+_0x259423-_0x2c51d8,'top':_0x3f2942+_0x51f621,'height':_0x1ca915,'width':Ri,'fill':_0x1754c7||_0xb9e122(_0x250374['black'],0x0),'strokeWidth':_0x2c51d8,'stroke':Ni,'evented':!0x0});this[_0x36df88(0x1f2)]=_0x2d68ae,this[_0x36df88(0x338)]['addObject'](_0x2d68ae,_0x2fca54);const _0x575dc8=new _0x41dfde(ge+_0x52fcfb[_0x36df88(0x1c8)](X),{'left':_0x239cc6+_0x259423-_0x2c51d8,'top':_0x3f2942+_0x51f621-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x1754c7||_0xb9e122(_0x250374[_0x36df88(0x2dd)],0x0),'strokeWidth':0x0,'stroke':_0x1754c7||_0xb9e122(_0x250374[_0x36df88(0x2dd)],0x0),'evented':!0x1});this[_0x36df88(0x1cd)]=_0x575dc8,this[_0x36df88(0x338)][_0x36df88(0x1e5)](_0x575dc8,_0x2fca54);const _0x153ecd=new he(ge+_0x52fcfb[_0x36df88(0x1c8)](X),{'left':_0x239cc6+_0x259423-_0x2c51d8,'top':_0x3f2942+_0x51f621-ee,'text':_0x49569d,'color':_0x1754c7});this[_0x36df88(0x307)]=_0x153ecd,this['_scene'][_0x36df88(0x1e5)](_0x153ecd,_0x2fca54),this[_0x36df88(0x305)]=!0x1;}[_0x3b7069(0x341)](){const _0x12752c=_0x3b7069,_0x4b7efb=this['_anchor'][_0x12752c(0x1e9)][_0x12752c(0x2aa)](()=>{this['_hover']=!0x0;}),_0x274adc=this[_0x12752c(0x1f2)][_0x12752c(0x312)][_0x12752c(0x2aa)](()=>{const _0x38590a=_0x12752c;this[_0x38590a(0x342)]&&clearTimeout(this[_0x38590a(0x342)]),this[_0x38590a(0x342)]=setTimeout(()=>{const _0x5a26e9=_0x38590a;this[_0x5a26e9(0x305)]=!0x1;},0x7d0);});return()=>{const _0x25764f=_0x12752c;_0x4b7efb[_0x25764f(0x244)](),_0x274adc[_0x25764f(0x244)]();};}[_0x3b7069(0x33b)](_0x29bd7b,_0x4daf42,_0x427da1,_0x4d936c){const _0x2f5565=_0x3b7069,_0x2fdbfd=new _0x1e30eb(_0x29bd7b)[_0x2f5565(0x28c)](0.2)[_0x2f5565(0x21a)](),_0x4b3477=new _0x36c5ab(bi+_0x52fcfb['generateRandomId'](X),{'pointsGroup':_0x4daf42,'fill':_0x2fdbfd||_0xb9e122(_0x250374[_0x2f5565(0x2dd)],0.2),'left':_0x427da1,'top':_0x4d936c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f5565(0x2cc)][_0x2f5565(0x2c5)](_0x4b3477),this['_scene'][_0x2f5565(0x1e5)](_0x4b3477,_0x2fca54);}[_0x3b7069(0x1c9)](_0xbbd75a,_0x1b17cb,_0x467eba,_0x450019){const _0x2bb281=_0x3b7069,_0x1256a8=new _0x1e30eb(_0xbbd75a)['setAlpha'](0.2)[_0x2bb281(0x21a)](),_0x311248=new _0x36c5ab(Ti+_0x52fcfb['generateRandomId'](X),{'pointsGroup':_0x1b17cb,'fill':_0x1256a8||_0xb9e122(_0x250374[_0x2bb281(0x2dd)],0.2),'left':_0x467eba,'top':_0x450019,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2bb281(0x2c5)](_0x311248),this['_scene'][_0x2bb281(0x1e5)](_0x311248,_0x2fca54);}[_0x3b7069(0x155)](_0x5b31bb){const _0x4b219f=_0x5b31bb[0x0],_0x1f1546=_0x4b219f[0x0],_0x3f565e=_0x4b219f[0x2],{x:_0x3da394,y:_0xbbeea0}=_0x1f1546,{x:_0x5f772,y:_0x250b93}=_0x3f565e;return{'left':_0x3da394,'top':_0xbbeea0,'width':_0x5f772-_0x3da394,'height':_0x250b93-_0xbbeea0};}[_0x3b7069(0x188)](){const _0x5f230b=_0x3b7069,{scaleX:_0x39095d,scaleY:_0x3f1ec1}=this[_0x5f230b(0x338)][_0x5f230b(0x167)]();return Math[_0x5f230b(0x22c)](_0x39095d,_0x3f1ec1);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x250243,_0x1f24d9,_0x2eca60,_0x362933)=>{const _0x3bbabf=_0x3b7069;for(var _0x46bed0=_0x362933>0x1?void 0x0:_0x362933?Ui(_0x1f24d9,_0x2eca60):_0x1f24d9,_0x3d092b=_0x250243[_0x3bbabf(0x1f5)]-0x1,_0x50beef;_0x3d092b>=0x0;_0x3d092b--)(_0x50beef=_0x250243[_0x3d092b])&&(_0x46bed0=_0x50beef(_0x46bed0)||_0x46bed0);return _0x46bed0;},Z=(_0x217226,_0x50530a)=>(_0x1fdfdc,_0x425800)=>_0x50530a(_0x1fdfdc,_0x425800,_0x217226);let Pe=class extends _0x42b55d{constructor(_0x430bbc,_0x1d9f52,_0x5b08ee,_0x5b8723,_0x485c19){const _0x1daa78=_0x3b7069;super(),_(this,_0x1daa78(0x260),[]),_(this,'_cursors',[]),(this[_0x1daa78(0x332)]=_0x430bbc,this['_docSkeletonManagerService']=_0x1d9f52,this[_0x1daa78(0x1b3)]=_0x5b08ee,this[_0x1daa78(0x17e)]=_0x5b8723,this[_0x1daa78(0x1a3)]=_0x485c19,this[_0x1daa78(0x353)]());}[_0x3b7069(0x353)](){const _0x2c495d=_0x3b7069,_0x26a2c0=this[_0x2c495d(0x332)][_0x2c495d(0x24f)],_0x522452=this['_docSkeletonManagerService'];this[_0x2c495d(0x261)](_0x11d3d0([this[_0x2c495d(0x1b3)]['getCollabCursors$'](_0x26a2c0),this[_0x2c495d(0x1a3)][_0x2c495d(0x2f3)]])[_0x2c495d(0x19c)](_0x1e7307(([_0x2d3d1f,_0x5d6f20])=>({'skeleton':_0x522452[_0x2c495d(0x339)](),'cursors':[..._0x2d3d1f[_0x2c495d(0x154)]()][_0x2c495d(0x214)](_0x39f91e=>({..._0x39f91e,'color':_0x5d6f20[_0x39f91e[_0x2c495d(0x277)]]}))})))['subscribe'](_0x6d0547=>{const _0x4b40e6=_0x2c495d;if(this[_0x4b40e6(0x289)](),_0x6d0547){const {skeleton:_0x1d433e,cursors:_0x1fdbb8}=_0x6d0547;this[_0x4b40e6(0x190)](_0x1d433e,_0x1fdbb8);}})),this[_0x2c495d(0x1a7)](),this[_0x2c495d(0x311)]();}[_0x3b7069(0x190)](_0x32faa6,_0x4564a5){const _0x14a88=_0x3b7069,{scene:_0x5e5884,mainComponent:_0x2f5c5b}=this[_0x14a88(0x332)],_0x498cf4=_0x4564a5[_0x14a88(0x215)](_0x3bd271=>new qe(_0x3bd271,_0x5e5884,_0x32faa6,_0x2f5c5b));this[_0x14a88(0x260)]=_0x498cf4,this[_0x14a88(0x1b6)]=_0x4564a5;}[_0x3b7069(0x33f)](){const _0x28c93b=_0x3b7069;this[_0x28c93b(0x289)]();const {scene:_0xc45550,mainComponent:_0x3e4636}=this['_context'],_0x28c238=this[_0x28c93b(0x279)][_0x28c93b(0x339)](),_0x1782de=this['_cursors']['map'](_0x32f145=>new qe(_0x32f145,_0xc45550,_0x28c238,_0x3e4636));this[_0x28c93b(0x260)]=_0x1782de;}[_0x3b7069(0x289)](){const _0x55e17c=_0x3b7069;this[_0x55e17c(0x260)][_0x55e17c(0x273)](_0x3f6fa5=>_0x3f6fa5['dispose']()),this['_cursorShapes']=[];}[_0x3b7069(0x311)](){const _0x15a043=_0x3b7069,_0x4d9437=[_0x5b58d2['id']];this[_0x15a043(0x261)](this['_commandService'][_0x15a043(0x258)](_0x5df26a=>{const _0x55c589=_0x15a043;_0x4d9437['includes'](_0x5df26a['id'])&&_0x5df26a[_0x55c589(0x280)]['unitId']===this['_context']['unitId']&&this[_0x55c589(0x33f)]();}));}['_initResize'](){const _0x27d31a=_0x3b7069;this[_0x27d31a(0x261)](_0xe55a90(this[_0x27d31a(0x332)][_0x27d31a(0x1a9)]['onTransformChange$'])[_0x27d31a(0x19c)](_0x390658(_0x184242=>_0x184242['type']===_0x4b2a7c['resize']),_0x4cf799(0x10))[_0x27d31a(0x236)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x2eb28e(_0x63e1fe)),Z(0x2,_0x2eb28e(H)),Z(0x3,_0x165616),Z(0x4,_0x2eb28e(_0x27c001))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x595286{constructor(_0xef7227,_0x4b0645){const _0x191878=_0x3b7069;super(_0xef7227,_0x4b0645),_(this,_0x191878(0x259)),_(this,_0x191878(0x211),!0x1),_(this,_0x191878(0x264)),_(this,_0x191878(0x206),''),_(this,_0x191878(0x198),_0x191878(0x32e)),_(this,_0x191878(0x28d)),(_0x4b0645&&this[_0x191878(0x179)](_0x4b0645),this[_0x191878(0x1e9)][_0x191878(0x2aa)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x191878(0x312)][_0x191878(0x2aa)](()=>this[_0x191878(0x179)]({'hovered':!0x1})));}[_0x3b7069(0x179)](_0x3e7c96){const _0x3b05d0=_0x3b7069;var _0x341215,_0x203b2c,_0x52f9ab,_0x4ee0f7,_0x1698e3,_0x1c22ab;this[_0x3b05d0(0x259)]=(_0x341215=_0x3e7c96[_0x3b05d0(0x277)])!=null?_0x341215:this[_0x3b05d0(0x259)],this[_0x3b05d0(0x211)]=(_0x203b2c=_0x3e7c96[_0x3b05d0(0x303)])!=null?_0x203b2c:this['_hovered'],this[_0x3b05d0(0x264)]=(_0x52f9ab=_0x3e7c96[_0x3b05d0(0x2c8)])!=null?_0x52f9ab:this[_0x3b05d0(0x264)],this['_name']=(_0x4ee0f7=_0x3e7c96[_0x3b05d0(0x2cb)])!=null?_0x4ee0f7:this[_0x3b05d0(0x206)],this[_0x3b05d0(0x198)]=(_0x1698e3=_0x3e7c96['labelPosition'])!=null?_0x1698e3:this[_0x3b05d0(0x198)],this['_backgroundColor']=(_0x1c22ab=_0x3e7c96[_0x3b05d0(0x33d)])!=null?_0x1c22ab:this[_0x3b05d0(0x28d)],this[_0x3b05d0(0x19b)]({'width':_0x3e7c96[_0x3b05d0(0x1fc)],'height':_0x3e7c96[_0x3b05d0(0x2bd)]});}[_0x3b7069(0x183)](_0x27d3dd){const _0x150a38=_0x3b7069,{row:_0x3b9c3e,column:_0x2a8244}=_0x27d3dd;if(_0x3b9c3e>=this[_0x150a38(0x264)][_0x150a38(0x1a6)]&&_0x3b9c3e<=this[_0x150a38(0x264)][_0x150a38(0x18f)]&&_0x2a8244>=this[_0x150a38(0x264)][_0x150a38(0x34d)]&&_0x2a8244<=this[_0x150a38(0x264)][_0x150a38(0x1ec)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x150a38(0x179)]({'hovered':!0x1});}[_0x3b7069(0x17f)](_0x48577d){return!0x1;}[_0x3b7069(0x174)](_0x4dfdeb){const _0x156159=_0x3b7069;_0x41dfde[_0x156159(0x230)](_0x4dfdeb,{'width':this[_0x156159(0x1fc)],'height':this[_0x156159(0x2bd)],'strokeWidth':Li,'stroke':this[_0x156159(0x259)],'evented':!0x1,'fill':this[_0x156159(0x28d)]}),this['_hovered']&&(_0x4dfdeb['save'](),_0x4dfdeb[_0x156159(0x1b0)](0x1,0x0,0x0,0x1,this['width'],this[_0x156159(0x198)]==='bottom'?0x0:-0x14),he[_0x156159(0x230)](_0x4dfdeb,{'text':this['_name'],'color':this[_0x156159(0x259)]}),_0x4dfdeb['restore']());}}var Ai=Object[_0x3b7069(0x325)],yi=(_0x4cbac1,_0x54d5b6,_0x503df5,_0x3ebc2a)=>{const _0x3b8d51=_0x3b7069;for(var _0x296a12=_0x3ebc2a>0x1?void 0x0:_0x3ebc2a?Ai(_0x54d5b6,_0x503df5):_0x54d5b6,_0x1432d5=_0x4cbac1[_0x3b8d51(0x1f5)]-0x1,_0x37c0c2;_0x1432d5>=0x0;_0x1432d5--)(_0x37c0c2=_0x4cbac1[_0x1432d5])&&(_0x296a12=_0x37c0c2(_0x296a12)||_0x296a12);return _0x296a12;},ve=(_0x466d19,_0x43fe19)=>(_0x11ab63,_0x2b5ed2)=>_0x43fe19(_0x11ab63,_0x2b5ed2,_0x466d19);const $i=0x1389;let Le=class extends _0x42b55d{constructor(_0x3e9753,_0x5a7be6,_0x12f93e,_0x549490){const _0xf3428d=_0x3b7069;super(),_(this,_0xf3428d(0x1b6),new Set()),_(this,_0xf3428d(0x30a),null),(this[_0xf3428d(0x332)]=_0x3e9753,this[_0xf3428d(0x256)]=_0x5a7be6,this['_collabCursorController']=_0x12f93e,this['_themeService']=_0x549490,this[_0xf3428d(0x353)]());}[_0x3b7069(0x353)](){const _0x3d536f=_0x3b7069;this[_0x3d536f(0x256)][_0x3d536f(0x17c)][_0x3d536f(0x19c)](_0x22b71e(this[_0x3d536f(0x29d)]),_0x56af00(_0x3170ca=>{const _0x39f84d=_0x3d536f;if(_0x3170ca){const _0x1f9508=_0x3170ca['sheetId'];return _0x11d3d0(this['_collabCursorController']['getCollabCursors$'](this[_0x39f84d(0x332)][_0x39f84d(0x24f)]),this['_themeService'][_0x39f84d(0x2f3)])['pipe'](_0x1e7307(([_0xdec42e,_0xa68426])=>{const _0x1d8695=_0x39f84d,_0x3a7fc6=new Map();return _0xdec42e[_0x1d8695(0x273)]((_0xd92c29,_0x1d0218)=>{const _0x41089c=_0x1d8695;if(_0xd92c29[_0x41089c(0x26f)]===_0x1f9508){const _0x4705f3={..._0xd92c29};_0x4705f3[_0x41089c(0x277)]=_0xa68426[_0xd92c29[_0x41089c(0x277)]],_0x3a7fc6['set'](_0x1d0218,_0x4705f3);}}),{'skeleton':_0x3170ca,'cursors':_0x3a7fc6};}));}return _0x3a7a99({'skeleton':null,'cursors':new Map()});}))[_0x3d536f(0x236)](({skeleton:_0x2eb352,cursors:_0x404a68})=>{const _0x5aa27c=_0x3d536f;this[_0x5aa27c(0x289)](),_0x2eb352&&this[_0x5aa27c(0x190)](_0x2eb352,_0x404a68);}),this[_0x3d536f(0x256)]['currentSkeleton$'][_0x3d536f(0x236)](_0x53be5a=>{const _0x447f69=_0x3d536f;if(_0x53be5a==null)return;const {skeleton:_0x2f7aec}=_0x53be5a,{scene:_0x153725}=this[_0x447f69(0x332)];_0x153725['onPointerMove$'][_0x447f69(0x2aa)](_0x9181b4(_0xc217d4=>{const _0x18c46a=_0x447f69;var _0x3cf30d,_0x3e1cd4;const {offsetX:_0x4ebe8a,offsetY:_0x498abb}=_0xc217d4,{x:_0xf37010,y:_0x2dd086}=_0x153725[_0x18c46a(0x17b)](_0x4f7d1a[_0x18c46a(0x22d)]([_0x4ebe8a,_0x498abb])),{scaleX:_0x21f3bf,scaleY:_0x4d1ad9}=_0x153725[_0x18c46a(0x167)](),_0x240d61=_0x153725[_0x18c46a(0x197)](_0x340180['VIEW_MAIN']),_0x1f89f1=_0x153725[_0x18c46a(0x22e)](_0x4f7d1a['FromArray']([_0xf37010,_0x2dd086]),_0x240d61),_0xbe6f16=_0x2f7aec[_0x18c46a(0x315)](_0x4ebe8a,_0x498abb,_0x21f3bf,_0x4d1ad9,_0x1f89f1);((_0x3cf30d=this[_0x18c46a(0x30a)])==null?void 0x0:_0x3cf30d['column'])===_0xbe6f16[_0x18c46a(0x207)]&&((_0x3e1cd4=this[_0x18c46a(0x30a)])==null?void 0x0:_0x3e1cd4['row'])===_0xbe6f16[_0x18c46a(0x21e)]||this['_cursors']['forEach'](_0x3fadfc=>{_0x3fadfc['onMouseMove'](_0xbe6f16);});},0x64));});}[_0x3b7069(0x190)](_0x31fe80,_0x401988){const _0x1d678c=_0x3b7069;var _0x4b3866;const _0x254f79=(_0x4b3866=this[_0x1d678c(0x256)]['getCurrent']())==null?void 0x0:_0x4b3866[_0x1d678c(0x19e)];if(!_0x254f79)return;const _0xcc0491=this[_0x1d678c(0x309)]();if(!_0xcc0491)return;this[_0x1d678c(0x1b6)]['forEach'](_0x4dfa62=>{const _0x3cf88d=_0x1d678c;_0x4dfa62[_0x3cf88d(0x1d7)]();});const {scene:_0x188a3f}=_0xcc0491,_0x3ccff5=xi(Array[_0x1d678c(0x2ff)](_0x401988[_0x1d678c(0x154)]()))[_0x1d678c(0x215)](_0xb5023c=>{const _0xc7f0bd=_0x1d678c,{color:_0x279724,range:_0x3a3dfd,name:_0x11525a,selection:_0x53966c,sheetID:_0x2922a9}=_0xb5023c,{startColumn:_0x494851,startRow:_0x2f8645,endColumn:_0x42cda8,endRow:_0x460122}=_0x3a3dfd,_0x3c4ee5=_0x2a94a5(_0x2f8645,_0x494851,_0x188a3f,_0x254f79),_0x4bf012=_0x2a94a5(_0x460122,_0x42cda8,_0x188a3f,_0x254f79),{columnHeaderHeightAndMarginTop:_0x3830a3}=_0x254f79,{startX:_0x51e9e7,startY:_0x11f3a7}=_0x3c4ee5,{endX:_0x195f14,endY:_0x2ad52f}=_0x4bf012,_0x11529a=_0x195f14-_0x51e9e7,_0xc4c8a7=_0x2ad52f-_0x11f3a7,_0x3951cd={'labelPosition':_0x11f3a7-_0x3830a3>=ee?_0xc7f0bd(0x32e):_0xc7f0bd(0x2a6),'sheetID':_0x2922a9,'range':_0x3a3dfd,'color':_0x279724,'name':_0x11525a,'selection':_0x53966c,'left':_0x51e9e7,'top':_0x11f3a7,'width':_0x11529a,'height':_0xc4c8a7,'evented':!0x1,'zIndex':$i};return new wi(_0x11525a,_0x3951cd);});_0x188a3f['addObjects'](_0x3ccff5,Pi),this[_0x1d678c(0x1b6)]=new Set(_0x3ccff5);}['_removeCollabCursors'](){const _0x2fa532=_0x3b7069;var _0x9999b3;(_0x9999b3=this[_0x2fa532(0x1b6)])==null||_0x9999b3['forEach'](_0xe05581=>_0xe05581[_0x2fa532(0x2a0)]());}[_0x3b7069(0x309)](){const _0x28e14a=_0x3b7069;return _0x114a43(this[_0x28e14a(0x332)][_0x28e14a(0x251)],this[_0x28e14a(0x332)]);}};Le=yi([ve(0x1,_0x2eb28e(_0x15beaa)),ve(0x2,_0x2eb28e(H)),ve(0x3,_0x2eb28e(_0x27c001))],Le);function xi(_0x3b1312){const _0x4d3a98=_0x3b7069,_0x4de338=new Map();return _0x3b1312[_0x4d3a98(0x273)](_0x10bfe2=>{const _0x1a2f37=_0x4d3a98;if(_0x4de338[_0x1a2f37(0x328)](_0x10bfe2['selection'])){const _0x162c5c=_0x4de338[_0x1a2f37(0x313)](_0x10bfe2[_0x1a2f37(0x178)]);_0x162c5c[_0x1a2f37(0x2cb)]+=',\x20'+_0x10bfe2[_0x1a2f37(0x2cb)];}else _0x4de338[_0x1a2f37(0x15c)](_0x10bfe2['selection'],_0x10bfe2);}),Array[_0x4d3a98(0x2ff)](_0x4de338[_0x4d3a98(0x154)]());}var v=function(){const _0xe4f286=_0x3b7069;return v=Object[_0xe4f286(0x212)]||function(_0xee3ba3){const _0x220ede=_0xe4f286;for(var _0x15e16c,_0x32b39c=0x1,_0x241535=arguments[_0x220ede(0x1f5)];_0x32b39c<_0x241535;_0x32b39c++){_0x15e16c=arguments[_0x32b39c];for(var _0x1994a6 in _0x15e16c)Object['prototype']['hasOwnProperty']['call'](_0x15e16c,_0x1994a6)&&(_0xee3ba3[_0x1994a6]=_0x15e16c[_0x1994a6]);}return _0xee3ba3;},v['apply'](this,arguments);},Bi=function(_0x3d169d,_0x146c97){const _0x338e22=_0x3b7069;var _0x2b6e08={};for(var _0x42e681 in _0x3d169d)Object['prototype'][_0x338e22(0x299)][_0x338e22(0x229)](_0x3d169d,_0x42e681)&&_0x146c97[_0x338e22(0x282)](_0x42e681)<0x0&&(_0x2b6e08[_0x42e681]=_0x3d169d[_0x42e681]);if(_0x3d169d!=null&&typeof Object['getOwnPropertySymbols']==_0x338e22(0x19d)){for(var _0x111023=0x0,_0x42e681=Object['getOwnPropertySymbols'](_0x3d169d);_0x111023<_0x42e681[_0x338e22(0x1f5)];_0x111023++)_0x146c97[_0x338e22(0x282)](_0x42e681[_0x111023])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x3d169d,_0x42e681[_0x111023])&&(_0x2b6e08[_0x42e681[_0x111023]]=_0x3d169d[_0x42e681[_0x111023]]);}return _0x2b6e08;},je=_0x5940ab(function(_0x19857a,_0x1c71b0){const _0x1c79ac=_0x3b7069;var _0x2fbd0f=_0x19857a['icon'],_0x5e0d11=_0x19857a['id'],_0x274521=_0x19857a[_0x1c79ac(0x33e)],_0x4c11c3=_0x19857a[_0x1c79ac(0x2bf)],_0x3a34b6=Bi(_0x19857a,['icon','id',_0x1c79ac(0x33e),_0x1c79ac(0x2bf)]),_0x29a2bd=_0x1c79ac(0x320)[_0x1c79ac(0x2c6)](_0x5e0d11,'\x20')[_0x1c79ac(0x2c6)](_0x274521||'')[_0x1c79ac(0x241)](),_0x446c3a=_0xc65301('_'[_0x1c79ac(0x2c6)](ji()));return Rt(_0x2fbd0f,''[_0x1c79ac(0x2c6)](_0x5e0d11),{'defIds':_0x2fbd0f['defIds'],'idSuffix':_0x446c3a['current']},v({'ref':_0x1c71b0,'className':_0x29a2bd},_0x3a34b6),_0x4c11c3);});function Rt(_0xbf02ca,_0x4dbbb8,_0x5874da,_0x59061e,_0x3cb3fa){const _0x2e844e=_0x3b7069;return _0x5dfcb2(_0xbf02ca[_0x2e844e(0x185)],v(v({'key':_0x4dbbb8},ki(_0xbf02ca,_0x5874da,_0x3cb3fa)),_0x59061e),(Hi(_0xbf02ca,_0x5874da)[_0x2e844e(0x1be)]||[])[_0x2e844e(0x215)](function(_0x35d5a7,_0x2533d3){const _0x2273c8=_0x2e844e;return Rt(_0x35d5a7,''[_0x2273c8(0x2c6)](_0x4dbbb8,'-')[_0x2273c8(0x2c6)](_0xbf02ca[_0x2273c8(0x185)],'-')[_0x2273c8(0x2c6)](_0x2533d3),_0x5874da,void 0x0,_0x3cb3fa);}));}function ki(_0x2a990e,_0xcbd075,_0x69bfff){const _0x498ddd=_0x3b7069;var _0x1b68be=v({},_0x2a990e[_0x498ddd(0x168)]);_0x69bfff!=null&&_0x69bfff[_0x498ddd(0x228)]&&_0x1b68be['fill']===_0x498ddd(0x228)&&(_0x1b68be[_0x498ddd(0x2ad)]=_0x69bfff[_0x498ddd(0x228)]),_0x2a990e[_0x498ddd(0x185)]===_0x498ddd(0x355)&&_0x1b68be['id']&&(_0x1b68be['id']=_0x1b68be['id']+_0xcbd075[_0x498ddd(0x25f)]),Object['entries'](_0x1b68be)[_0x498ddd(0x273)](function(_0x11077f){const _0x7b079=_0x498ddd;var _0x4dbcde=_0x11077f[0x0],_0x22925d=_0x11077f[0x1];_0x4dbcde==='mask'&&typeof _0x22925d==_0x7b079(0x321)&&(_0x1b68be[_0x4dbcde]=_0x22925d[_0x7b079(0x31a)](/url\(#(.*)\)/,_0x7b079(0x2f5)[_0x7b079(0x2c6)](_0xcbd075[_0x7b079(0x25f)],')')));});var _0x1c8980=_0xcbd075['defIds'];return!_0x1c8980||_0x1c8980[_0x498ddd(0x1f5)]===0x0||(_0x2a990e[_0x498ddd(0x185)]===_0x498ddd(0x2b2)&&_0x1b68be[_0x498ddd(0x18e)]&&(_0x1b68be['xlink:href']=_0x1b68be[_0x498ddd(0x18e)]+_0xcbd075[_0x498ddd(0x25f)]),Object['entries'](_0x1b68be)['forEach'](function(_0x59137f){const _0x4c73b1=_0x498ddd;var _0x13f406=_0x59137f[0x0],_0x3201a0=_0x59137f[0x1];typeof _0x3201a0==_0x4c73b1(0x321)&&(_0x1b68be[_0x13f406]=_0x3201a0[_0x4c73b1(0x31a)](/url\(#(.*)\)/,_0x4c73b1(0x2f5)[_0x4c73b1(0x2c6)](_0xcbd075[_0x4c73b1(0x25f)],')')));})),_0x1b68be;}function Hi(_0x205f5a,_0x5cbf05){const _0x9d9cfb=_0x3b7069;var _0x50e21d,_0x67a726=_0x5cbf05[_0x9d9cfb(0x218)];return!_0x67a726||_0x67a726[_0x9d9cfb(0x1f5)]===0x0?_0x205f5a:_0x205f5a['tag']===_0x9d9cfb(0x184)&&(!((_0x50e21d=_0x205f5a[_0x9d9cfb(0x1be)])===null||_0x50e21d===void 0x0)&&_0x50e21d[_0x9d9cfb(0x1f5)])?v(v({},_0x205f5a),{'children':_0x205f5a[_0x9d9cfb(0x1be)][_0x9d9cfb(0x215)](function(_0x1b0ec4){const _0x324872=_0x9d9cfb;return typeof _0x1b0ec4[_0x324872(0x168)]['id']==_0x324872(0x321)&&_0x67a726&&_0x67a726[_0x324872(0x282)](_0x1b0ec4[_0x324872(0x168)]['id'])>-0x1?v(v({},_0x1b0ec4),{'attrs':v(v({},_0x1b0ec4[_0x324872(0x168)]),{'id':_0x1b0ec4[_0x324872(0x168)]['id']+_0x5cbf05[_0x324872(0x25f)]})}):_0x1b0ec4;})}):_0x205f5a;}function ji(){const _0x3738d4=_0x3b7069;return Math[_0x3738d4(0x20e)]()['toString'](0x24)[_0x3738d4(0x34a)](0x2,0x8);}je[_0x3b7069(0x1d6)]='UniverIcon';var Yi={'tag':_0x3b7069(0x2ea),'attrs':{'fill':'none','viewBox':_0x3b7069(0x300),'width':_0x3b7069(0x347),'height':_0x3b7069(0x347)},'children':[{'tag':'g','attrs':{'clipPath':_0x3b7069(0x2f7)},'children':[{'tag':_0x3b7069(0x219),'attrs':{'stroke':'currentColor','d':_0x3b7069(0x1c7),'strokeLinecap':_0x3b7069(0x358),'strokeLinejoin':_0x3b7069(0x358),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3b7069(0x161),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x3b7069(0x219),'attrs':{'fill':'#fff','d':_0x3b7069(0x171)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x5940ab(function(_0x6ae935,_0x1cf479){const _0x70ab49=_0x3b7069;return _0x5dfcb2(je,Object[_0x70ab49(0x212)]({},_0x6ae935,{'id':'off-line-single','ref':_0x1cf479,'icon':Yi}));});Dt[_0x3b7069(0x1d6)]=_0x3b7069(0x23d);var Wi={'tag':_0x3b7069(0x2ea),'attrs':{'fill':_0x3b7069(0x2cd),'viewBox':_0x3b7069(0x21c),'width':_0x3b7069(0x347),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3b7069(0x223)},'children':[{'tag':_0x3b7069(0x219),'attrs':{'stroke':_0x3b7069(0x182),'d':_0x3b7069(0x2d6),'strokeLinecap':_0x3b7069(0x358),'strokeLinejoin':_0x3b7069(0x358),'strokeWidth':1.2}}]},{'tag':_0x3b7069(0x184),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3b7069(0x2f4)},'children':[{'tag':'path','attrs':{'fill':_0x3b7069(0x1b8),'d':_0x3b7069(0x171),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3b7069(0x2f4)]},Nt=_0x5940ab(function(_0x3aebe1,_0x2ddaea){const _0x2de876=_0x3b7069;return _0x5dfcb2(je,Object[_0x2de876(0x212)]({},_0x3aebe1,{'id':'on-line-single','ref':_0x2ddaea,'icon':Wi}));});Nt[_0x3b7069(0x1d6)]=_0x3b7069(0x2d2);function Fi(_0x2a2fe4){const _0x3ee43f=_0x3b7069;switch(_0x2a2fe4){case _0xbbad33[_0x3ee43f(0x274)]:return _0x3ee43f(0x243);case _0xbbad33[_0x3ee43f(0x158)]:return _0x3ee43f(0x164);case _0xbbad33[_0x3ee43f(0x1dd)]:return'collabStatus.fetchMiss';case _0xbbad33[_0x3ee43f(0x1d3)]:return _0x3ee43f(0x2df);case _0xbbad33['AWAITING']:case _0xbbad33[_0x3ee43f(0x17d)]:return'collabStatus.syncing';case _0xbbad33[_0x3ee43f(0x288)]:case _0xbbad33[_0x3ee43f(0x209)]:return _0x3ee43f(0x31f);}}function Vi(_0x3176de){const _0x2152b5=_0x3b7069,{status$:_0x4df755}=_0x3176de,_0x4f3811=_0x24e304(_0x4df755,_0xbbad33[_0x2152b5(0x1d3)]),_0x3a4744=_0x1be28e(_0x13db92),_0x5004ff=_0x1be28e(_0x4ec459),_0x3bab66=_0x4f3811!==_0xbbad33[_0x2152b5(0x274)],_0x3faa99=_0x3a4744['t'](Fi(_0x4f3811)),_0x32cf3d=_0x3bab66?_0x26857e(Nt,{}):_0x26857e(Dt,{}),_0x2a6b97=_0x11ad7a(()=>{_0x3bab66||_0x5004ff['reconnect']();},[_0x3bab66,_0x5004ff]);function _0x50893a(){const _0x21a8e6=_0x2152b5;return _0x55067f(_0x21a8e6(0x23a),{'className':_0x21a8e6(0x32c),'onClick':_0x2a6b97,'children':[_0x26857e('div',{'className':_0x58b853(_0x21a8e6(0x159),_0x3bab66?_0x21a8e6(0x1f0):'univer-text-red-500'),'children':_0x32cf3d}),_0x26857e('div',{'className':_0x21a8e6(0x306),'children':_0x3faa99})]});}return _0x3bab66?_0x50893a():_0x26857e(_0xa4146e,{'title':_0x3a4744['t'](_0x2152b5(0x1a5)),'children':_0x50893a()});}var Xi=Object[_0x3b7069(0x325)],Gi=(_0x30dcbe,_0x397806,_0x4dd30d,_0x2a1016)=>{const _0x2b97b8=_0x3b7069;for(var _0x39f5e1=_0x2a1016>0x1?void 0x0:_0x2a1016?Xi(_0x397806,_0x4dd30d):_0x397806,_0x1e8676=_0x30dcbe[_0x2b97b8(0x1f5)]-0x1,_0x279209;_0x1e8676>=0x0;_0x1e8676--)(_0x279209=_0x30dcbe[_0x1e8676])&&(_0x39f5e1=_0x279209(_0x39f5e1)||_0x39f5e1);return _0x39f5e1;},Q=(_0x53c10c,_0x29fd16)=>(_0x3d2475,_0x567c57)=>_0x29fd16(_0x3d2475,_0x567c57,_0x53c10c);let te=class extends _0x2a6f43{constructor(_0xbb31ae,_0x394a46,_0x3dcde3,_0x39f9f0){const _0x1a3529=_0x3b7069;super(),_(this,'_status$',new _0x1ca0e1(_0xbbad33[_0x1a3529(0x1d3)])),(this['_univerInstanceService']=_0xbb31ae,this[_0x1a3529(0x217)]=_0x394a46,this[_0x1a3529(0x1ed)]=_0x3dcde3,this['_uiPartsService']=_0x39f9f0,this[_0x1a3529(0x29f)](),this[_0x1a3529(0x195)]());}['_initStatusListener'](){const _0x4f220a=_0x3b7069;this[_0x4f220a(0x261)](this[_0x4f220a(0x335)][_0x4f220a(0x30f)][_0x4f220a(0x19c)](_0xa39a1a(()=>{const _0x5007ab=_0x4f220a,_0x15df0f=this[_0x5007ab(0x335)][_0x5007ab(0x1f9)]();return _0x15df0f?this[_0x5007ab(0x1ed)][_0x5007ab(0x26e)](_0x15df0f['getUnitId']()):_0x3a7a99(null);}),_0xa39a1a(_0x86b078=>_0x86b078?_0x86b078[_0x4f220a(0x221)]:_0x3a7a99(_0xbbad33[_0x4f220a(0x1d3)])))[_0x4f220a(0x236)](_0x35994a=>{const _0x27df36=_0x4f220a;this[_0x27df36(0x1f8)][_0x27df36(0x1ba)](_0x35994a);}));}[_0x3b7069(0x29f)](){const _0x439dd8=_0x3b7069;this[_0x439dd8(0x261)](this['_uiPartsService'][_0x439dd8(0x32a)](_0x60d367['HEADER_MENU'],()=>_0x2935ff(Ki({'status$':this['_status$'][_0x439dd8(0x2c2)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x5123ac),Q(0x1,_0x2eb28e(_0x542e55)),Q(0x2,_0x2eb28e(_0x5d7669)),Q(0x3,_0x3a8e0c)],te);function Ki(_0x5d2b55){const {status$:_0x37457e}=_0x5d2b55;return function(){return _0x26857e(Vi,{'status$':_0x37457e});};}var zi=Object[_0x3b7069(0x325)],Ji=(_0x24a863,_0x292883,_0x562f38,_0xa5928f)=>{const _0x382267=_0x3b7069;for(var _0x386af9=_0xa5928f>0x1?void 0x0:_0xa5928f?zi(_0x292883,_0x562f38):_0x292883,_0x528237=_0x24a863[_0x382267(0x1f5)]-0x1,_0x310cb5;_0x528237>=0x0;_0x528237--)(_0x310cb5=_0x24a863[_0x528237])&&(_0x386af9=_0x310cb5(_0x386af9)||_0x386af9);return _0x386af9;},B=(_0x3a7122,_0x270b5d)=>(_0x175f5a,_0x599c8b)=>_0x270b5d(_0x175f5a,_0x599c8b,_0x3a7122);let se=class extends _0x2a6f43{constructor(_0x4a861c,_0x406529,_0x33b0bf,_0x57df12,_0x92dcc4,_0x93f213){const _0x1b9561=_0x3b7069;super(),this['_beforeCloseService']=_0x4a861c,this[_0x1b9561(0x20c)]=_0x406529,this['_collaborationUIEventService']=_0x33b0bf,this[_0x1b9561(0x1ea)]=_0x57df12,this[_0x1b9561(0x1da)]=_0x92dcc4,this[_0x1b9561(0x15b)]=_0x93f213,this[_0x1b9561(0x235)](),this[_0x1b9561(0x249)]();}[_0x3b7069(0x235)](){const _0x38613d=_0x3b7069;this['disposeWithMe'](this[_0x38613d(0x1d2)][_0x38613d(0x32d)](()=>{const _0x1f32d4=_0x38613d;if(this[_0x1f32d4(0x20c)][_0x1f32d4(0x203)][_0x1f32d4(0x331)])return this[_0x1f32d4(0x15b)]['t'](_0x1f32d4(0x301));}));}[_0x3b7069(0x249)](){const _0x36c2ae=_0x3b7069;this[_0x36c2ae(0x261)](this['_collaborationUIEventService'][_0x36c2ae(0x343)][_0x36c2ae(0x236)](_0x9cb22e=>{const _0x4ad48c=_0x36c2ae;_0x9cb22e['id']===_0x581134[_0x4ad48c(0x205)]&&this[_0x4ad48c(0x1ea)]['show']({'type':_0x5a2a4a['Warning'],'content':this[_0x4ad48c(0x15b)]['t']('collaboration.single-unit.warning')}),_0x9cb22e['id']===_0x581134[_0x4ad48c(0x1ad)]&&this['_messageService'][_0x4ad48c(0x20a)]({'type':_0x5a2a4a['Warning'],'content':this[_0x4ad48c(0x15b)]['t'](_0x4ad48c(0x1de))}),_0x9cb22e['id']===_0x581134[_0x4ad48c(0x318)]&&this[_0x4ad48c(0x1da)][_0x4ad48c(0x20a)]({'title':this[_0x4ad48c(0x15b)]['t'](_0x4ad48c(0x2a2)),'content':this['_localeService']['t'](_0x4ad48c(0x20d)),'type':_0x4ad48c(0x23e),'duration':0x0}),_0x9cb22e['id']===_0x581134[_0x4ad48c(0x158)]&&this['_messageService']['show']({'type':_0x5a2a4a[_0x4ad48c(0x2ec)],'content':this['_localeService']['t'](_0x4ad48c(0x1de))+'('+_0x9cb22e[_0x4ad48c(0x1cf)]+')'}),_0x9cb22e['id']===_0x581134['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x5a2a4a[_0x4ad48c(0x20f)],'content':this[_0x4ad48c(0x15b)]['t'](_0x9cb22e[_0x4ad48c(0x1cf)]||'')}),_0x9cb22e['id']===_0x581134['SOCKET_FAILED_RETRY']&&this[_0x4ad48c(0x1ea)][_0x4ad48c(0x20a)]({'type':_0x5a2a4a[_0x4ad48c(0x20f)],'content':this[_0x4ad48c(0x15b)]['t'](_0x4ad48c(0x314))}),_0x9cb22e['id']===_0x581134['SOCKET_FAILED']&&this[_0x4ad48c(0x1ea)][_0x4ad48c(0x20a)]({'type':_0x5a2a4a[_0x4ad48c(0x2ec)],'content':this[_0x4ad48c(0x15b)]['t'](_0x4ad48c(0x27d))}),_0x9cb22e['id']===_0x581134[_0x4ad48c(0x15e)]&&this['_messageService'][_0x4ad48c(0x20a)]({'type':_0x5a2a4a[_0x4ad48c(0x2ec)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x2a626f),B(0x1,_0x244f63),B(0x2,_0x2eb28e(_0xcb51bc)),B(0x3,_0x3d24af),B(0x4,_0x440292),B(0x5,_0x2eb28e(_0x13db92))],se);const Zi=_0x3b7069(0x1b9),et={},Ut=_0x2f6d96(_0x3b7069(0x2b9));var Qi=Object[_0x3b7069(0x325)],qi=(_0x32829a,_0x11cd4f,_0x54b4a2,_0x4d2e45)=>{const _0x15530c=_0x3b7069;for(var _0x241628=_0x4d2e45>0x1?void 0x0:_0x4d2e45?Qi(_0x11cd4f,_0x54b4a2):_0x11cd4f,_0x35d700=_0x32829a[_0x15530c(0x1f5)]-0x1,_0x591ee4;_0x35d700>=0x0;_0x35d700--)(_0x591ee4=_0x32829a[_0x35d700])&&(_0x241628=_0x591ee4(_0x241628)||_0x241628);return _0x241628;},G=(_0x3d6855,_0x1c6655)=>(_0x273c87,_0x4221ad)=>_0x1c6655(_0x273c87,_0x4221ad,_0x3d6855);let ie=class extends _0x42b55d{constructor(_0xee19f3,_0xa8b834,_0x2d817f,_0x5789c5,_0x84cc4b){const _0x534942=_0x3b7069;super(),this[_0x534942(0x192)]=_0xee19f3,this[_0x534942(0x220)]=_0xa8b834,this[_0x534942(0x17e)]=_0x2d817f,this[_0x534942(0x2a9)]=_0x5789c5,_0x84cc4b?_0x84cc4b==null||_0x84cc4b[_0x534942(0x193)]()[_0x534942(0x2b6)](()=>this[_0x534942(0x353)]()):(this[_0x534942(0x220)][_0x534942(0x286)](_0x534942(0x172),_0x534942(0x2d1)),this[_0x534942(0x353)]());}async[_0x3b7069(0x353)](){const _0x21b7b8=_0x3b7069,_0x374c43=this[_0x21b7b8(0x192)][_0x21b7b8(0x1f7)](_0x21b7b8(0x251)),_0x645c16=this[_0x21b7b8(0x192)][_0x21b7b8(0x1f7)](_0x21b7b8(0x278)),_0x25d581=this[_0x21b7b8(0x192)][_0x21b7b8(0x1f7)]('subunit');if(!_0x374c43||!_0x645c16){this[_0x21b7b8(0x220)]['debug'](_0x21b7b8(0x172),_0x21b7b8(0x25b));return;}const _0x5adba8=await this['_dataLoaderService'][_0x21b7b8(0x283)](_0x374c43,Number(_0x645c16),_0x25d581);_0x5adba8&&_0x5adba8 instanceof _0x1c4acf&&this[_0x21b7b8(0x1c5)](_0x5adba8);}async[_0x3b7069(0x1c5)](_0x29cfd2){const _0x399732=_0x3b7069;await this['_updateSubUnitFromURLParams'](_0x29cfd2),_0x29cfd2[_0x399732(0x265)][_0x399732(0x19c)](_0x53aa4f(this[_0x399732(0x29d)]))[_0x399732(0x236)](_0x3efca4=>{const _0x53cc11=_0x399732;_0x3efca4&&this[_0x53cc11(0x2ac)](_0x3efca4);}),this[_0x399732(0x192)][_0x399732(0x1ee)]['pipe'](_0x53aa4f(this['dispose$']))[_0x399732(0x236)](()=>this[_0x399732(0x22b)](_0x29cfd2));}[_0x3b7069(0x2ac)](_0x272547,_0x469294=!0x1){const _0xbf50a2=_0x3b7069,_0x1300f7=this[_0xbf50a2(0x192)]['getParam']('subunit');_0x272547[_0xbf50a2(0x2de)]()!==_0x1300f7&&this['_urlService'][_0xbf50a2(0x191)](_0xbf50a2(0x2bb),_0x272547[_0xbf50a2(0x2de)](),_0x469294);}async[_0x3b7069(0x22b)](_0x30f484){const _0x137be8=_0x3b7069;var _0x3fcae7;const _0x5ac7b6=this['_urlService']['getParam'](_0x137be8(0x2bb));if(!_0x5ac7b6||!_0x30f484[_0x137be8(0x196)](_0x5ac7b6)){const _0x1ceec8=_0x30f484[_0x137be8(0x227)]()[0x0],_0x14568d=_0x30f484[_0x137be8(0x196)](_0x1ceec8);if(!_0x14568d)return;this['_updateURLWithCurrentState'](_0x14568d,!0x0),await this[_0x137be8(0x17e)][_0x137be8(0x2fb)](_0x5ab3e3['id'],{'unitId':_0x30f484[_0x137be8(0x323)](),'subUnitId':_0x1ceec8});return;}((_0x3fcae7=_0x30f484[_0x137be8(0x169)]())==null?void 0x0:_0x3fcae7[_0x137be8(0x2de)]())!==_0x5ac7b6&&await this[_0x137be8(0x17e)][_0x137be8(0x2fb)](_0x5ab3e3['id'],{'unitId':_0x30f484[_0x137be8(0x323)](),'subUnitId':_0x5ac7b6});}};ie=qi([G(0x0,Ut),G(0x1,_0x895744),G(0x2,_0x165616),G(0x3,_0x2eb28e(_0x26ce16)),G(0x4,_0x3dd4f8(_0x293cb2))],ie);var en=Object[_0x3b7069(0x325)],tn=(_0xe28216,_0x30ef4f,_0x4ebe71,_0x10c7f2)=>{for(var _0x28d552=_0x10c7f2>0x1?void 0x0:_0x10c7f2?en(_0x30ef4f,_0x4ebe71):_0x30ef4f,_0x5286ae=_0xe28216['length']-0x1,_0x3f9b52;_0x5286ae>=0x0;_0x5286ae--)(_0x3f9b52=_0xe28216[_0x5286ae])&&(_0x28d552=_0x3f9b52(_0x28d552)||_0x28d552);return _0x28d552;},pe=(_0x21262f,_0x13ee83)=>(_0x17e04e,_0x8d7cfe)=>_0x13ee83(_0x17e04e,_0x8d7cfe,_0x21262f);let ne=class{constructor(_0x2c1b67,_0x2009df,_0x572183){const _0x5b917b=_0x3b7069;this[_0x5b917b(0x217)]=_0x2c1b67,this[_0x5b917b(0x2a7)]=_0x2009df,this[_0x5b917b(0x25a)]=_0x572183;}[_0x3b7069(0x2b4)](_0x253844){this['_transformUndoRedoStack'](_0x253844),this['_transformPreviousActiveRange'](_0x253844);}['transformRemoteChangeset'](_0x5e8999){const _0x22ff3b=_0x3b7069,{unitID:_0x474d9c}=_0x5e8999,_0x486e61=this[_0x22ff3b(0x25a)][_0x22ff3b(0x322)](_0x474d9c)[_0x22ff3b(0x345)](_0x2b5571),{redoCache:_0x33fb9d}=_0x486e61[_0x22ff3b(0x232)]();if(_0x33fb9d[_0x22ff3b(0x1f5)]===0x0)return _0x5e8999;let _0x203961=_0x52fcfb[_0x22ff3b(0x2af)](_0x5e8999[_0x22ff3b(0x175)][0x0]);for(let _0x34a942=0x0;_0x34a942<_0x33fb9d[_0x22ff3b(0x1f5)];_0x34a942++){const _0x5bc422={'id':'doc.mutation.rich-text-editing','params':{..._0x33fb9d[_0x34a942]}},_0x3f5813=this[_0x22ff3b(0x2a7)]['transformMutation'](_0x203961,_0x5bc422,!0x1);if(_0x33b899(_0x3f5813))throw _0x3f5813[_0x22ff3b(0x23e)];_0x203961=_0x3f5813['m1Prime'];}return{..._0x52fcfb[_0x22ff3b(0x2af)](_0x5e8999),'mutations':[_0x203961]};}[_0x3b7069(0x1a8)](_0x2830a1){const _0x32693f=_0x3b7069,{unitID:_0x89a791}=_0x2830a1,_0x5680bf=this[_0x32693f(0x25a)][_0x32693f(0x322)](_0x89a791)[_0x32693f(0x345)](_0x2b5571),{undoCache:_0x5250c7,redoCache:_0x50401b}=_0x5680bf[_0x32693f(0x232)]();if(_0x5250c7[_0x32693f(0x1f5)]===0x0||_0x50401b[_0x32693f(0x1f5)]===0x0)return;const _0x17a2c5=[],_0x483642=[];let _0x253aff=_0x52fcfb[_0x32693f(0x2af)](_0x2830a1[_0x32693f(0x175)][0x0]),_0x1e2ff8=_0x52fcfb[_0x32693f(0x2af)](_0x2830a1[_0x32693f(0x175)][0x0]);for(let _0x2244a2=_0x5250c7[_0x32693f(0x1f5)]-0x1;_0x2244a2>=0x0;_0x2244a2--){const _0x344259={'id':'doc.mutation.rich-text-editing','params':{..._0x5250c7[_0x2244a2]}},_0x39407a={'id':_0x32693f(0x23c),'params':{..._0x50401b[_0x2244a2]}},_0x2bb9f9=this['_transformService'][_0x32693f(0x2ae)](_0x253aff,_0x344259,!0x1),_0x172d21=this[_0x32693f(0x2a7)]['transformMutation'](_0x1e2ff8,_0x39407a,!0x1);if(_0x33b899(_0x2bb9f9))throw _0x2bb9f9['error'];if(_0x33b899(_0x172d21))throw _0x172d21['error'];_0x17a2c5[_0x32693f(0x1e8)](_0x2bb9f9[_0x32693f(0x2c4)][_0x32693f(0x280)]),_0x483642['unshift'](_0x172d21['m2Prime']['params']),_0x253aff=_0x2bb9f9[_0x32693f(0x34e)],_0x1e2ff8=_0x172d21[_0x32693f(0x34e)];}_0x5680bf[_0x32693f(0x2a3)]({'undoCache':_0x17a2c5,'redoCache':_0x483642});}[_0x3b7069(0x25d)](_0x24f054){const _0x5e7d8b=_0x3b7069,{unitID:_0x28fc36}=_0x24f054,_0x5a1a27=this['_renderManagerService'][_0x5e7d8b(0x322)](_0x28fc36)[_0x5e7d8b(0x345)](_0x2b5571),_0x1d4c70=_0x5a1a27[_0x5e7d8b(0x181)]();if(_0x1d4c70==null)return;const _0x58f974=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24f054['unitID'],'actions':null,'textRanges':[_0x1d4c70]}}],_0x38dc0c=this[_0x5e7d8b(0x2a7)]['transformMutationsWithChangeset'](_0x24f054,_0x58f974);if(!_0x360590(_0x38dc0c))throw _0x38dc0c[_0x5e7d8b(0x23e)];const _0x395b66=_0x38dc0c[_0x5e7d8b(0x2c4)][0x0][_0x5e7d8b(0x280)][_0x5e7d8b(0x2e7)];Array[_0x5e7d8b(0x1d9)](_0x395b66)&&_0x395b66[_0x5e7d8b(0x1f5)]&&_0x5a1a27[_0x5e7d8b(0x254)](_0x395b66[0x0]);}};ne=tn([pe(0x0,_0x2eb28e(_0x542e55)),pe(0x1,_0x25c7bb),pe(0x2,_0x5aabf0)],ne);var sn=Object[_0x3b7069(0x325)],nn=(_0x587120,_0x5cd171,_0x44913b,_0x4dcfdd)=>{for(var _0x1df20c=_0x4dcfdd>0x1?void 0x0:_0x4dcfdd?sn(_0x5cd171,_0x44913b):_0x5cd171,_0x2b5544=_0x587120['length']-0x1,_0x4052ce;_0x2b5544>=0x0;_0x2b5544--)(_0x4052ce=_0x587120[_0x2b5544])&&(_0x1df20c=_0x4052ce(_0x1df20c)||_0x1df20c);return _0x1df20c;},Ce=(_0x132220,_0x1b6c3e)=>(_0x11ae41,_0x169928)=>_0x1b6c3e(_0x11ae41,_0x169928,_0x132220);let re=class{constructor(_0x3b0d70,_0x3224a7,_0x1afbcf){const _0x1b2171=_0x3b7069;this['_injector']=_0x3b0d70,this[_0x1b2171(0x2a7)]=_0x3224a7,this['_docStateChangeManagerService']=_0x1afbcf;}[_0x3b7069(0x253)](_0x28406a){const _0x167cd7=_0x3b7069;this[_0x167cd7(0x356)](_0x28406a);}[_0x3b7069(0x1ce)](_0x1df948){const _0x3489f7=_0x3b7069,{unitID:_0x2a646e}=_0x1df948,{collaboration:_0x3245ed}=this[_0x3489f7(0x2cf)]['getStateCache'](_0x2a646e);if(_0x3245ed[_0x3489f7(0x1f5)]===0x0)return _0x1df948;let _0x3d20b6=_0x52fcfb['deepClone'](_0x1df948['mutations'][0x0]);for(let _0x5060f6=0x0;_0x5060f6<_0x3245ed[_0x3489f7(0x1f5)];_0x5060f6++){const _0x4b4256={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3245ed[_0x5060f6][_0x3489f7(0x24f)],..._0x3245ed[_0x5060f6]['redoState']}},_0x243911=this['_transformService']['transformMutation'](_0x3d20b6,_0x4b4256,!0x1);if(_0x33b899(_0x243911))throw _0x243911['error'];_0x3d20b6=_0x243911['m1Prime'];}return{..._0x52fcfb[_0x3489f7(0x2af)](_0x1df948),'mutations':[_0x3d20b6]};}['_transformHistoryAndStateStack'](_0x129135){const _0x740419=_0x3b7069,{unitID:_0x5dfe76}=_0x129135,{history:_0x3a3e96,collaboration:_0x138f1f}=this[_0x740419(0x2cf)][_0x740419(0x1c4)](_0x5dfe76);if(_0x3a3e96[_0x740419(0x1f5)]===0x0&&_0x138f1f[_0x740419(0x1f5)]===0x0)return;const _0x5dce6b=[],_0x42cb40=[];let _0x26743a=_0x52fcfb['deepClone'](_0x129135[_0x740419(0x175)][0x0]),_0x1427dd=_0x52fcfb[_0x740419(0x2af)](_0x129135[_0x740419(0x175)][0x0]);for(let _0x2678aa=_0x3a3e96[_0x740419(0x1f5)]-0x1;_0x2678aa>=0x0;_0x2678aa--){const _0x4f7fee={'id':_0x740419(0x23c),'params':{'unitId':_0x3a3e96[_0x2678aa][_0x740419(0x24f)],..._0x3a3e96[_0x2678aa]['undoState']}},_0xefa411={'id':_0x740419(0x23c),'params':{'unitId':_0x3a3e96[_0x2678aa][_0x740419(0x24f)],..._0x3a3e96[_0x2678aa][_0x740419(0x18c)]}},_0x2e6abd=this['_transformService'][_0x740419(0x2ae)](_0x26743a,_0x4f7fee,!0x1),_0x43c08d=this['_transformService'][_0x740419(0x2ae)](_0x1427dd,_0xefa411,!0x1);if(_0x33b899(_0x2e6abd))throw _0x2e6abd[_0x740419(0x23e)];if(_0x33b899(_0x43c08d))throw _0x43c08d[_0x740419(0x23e)];_0x5dce6b['unshift']({..._0x3a3e96[_0x2678aa],'undoState':_0x2e6abd[_0x740419(0x2c4)][_0x740419(0x280)],'redoState':_0x43c08d['m2Prime']['params']}),_0x26743a=_0x2e6abd[_0x740419(0x34e)],_0x1427dd=_0x43c08d['m1Prime'];}_0x26743a=_0x52fcfb[_0x740419(0x2af)](_0x129135[_0x740419(0x175)][0x0]),_0x1427dd=_0x52fcfb[_0x740419(0x2af)](_0x129135['mutations'][0x0]);for(let _0x8dc2fb=_0x138f1f['length']-0x1;_0x8dc2fb>=0x0;_0x8dc2fb--){const _0x4d1203={'id':_0x740419(0x23c),'params':{'unitId':_0x138f1f[_0x8dc2fb][_0x740419(0x24f)],..._0x138f1f[_0x8dc2fb][_0x740419(0x1bf)]}},_0x4c56da={'id':_0x740419(0x23c),'params':{'unitId':_0x138f1f[_0x8dc2fb][_0x740419(0x24f)],..._0x138f1f[_0x8dc2fb][_0x740419(0x18c)]}},_0x57d202=this[_0x740419(0x2a7)][_0x740419(0x2ae)](_0x26743a,_0x4d1203,!0x1),_0x3f751e=this[_0x740419(0x2a7)]['transformMutation'](_0x1427dd,_0x4c56da,!0x1);if(_0x33b899(_0x57d202))throw _0x57d202['error'];if(_0x33b899(_0x3f751e))throw _0x3f751e[_0x740419(0x23e)];_0x42cb40[_0x740419(0x1e8)]({..._0x138f1f[_0x8dc2fb],'undoState':_0x57d202['m2Prime'][_0x740419(0x280)],'redoState':_0x3f751e[_0x740419(0x2c4)][_0x740419(0x280)]}),_0x26743a=_0x57d202[_0x740419(0x34e)],_0x1427dd=_0x3f751e[_0x740419(0x34e)];}this[_0x740419(0x2cf)][_0x740419(0x351)](_0x5dfe76,{'history':_0x5dce6b,'collaboration':_0x42cb40});}};function _0x7593(){const _0x5079ea=['_updateURLWithCurrentState','fill','transformMutation','deepClone','addHandlerCallback','_refRangeService','use','USERS_LEAVE','transformIMECache','_handleHeartbeatEvent','then','InsertRangeMoveDownCommandId','pushState','uni.network.url-service','_docSyncEditingCollabCursorService','subunit','...','height','roomMembers$','extend','newValue','onRendered','asObservable','purple300','m2Prime','push','concat','history','range','NO_OTHER_CLIENTS_EDITING','_render','name','_shapes','none','jiqing500','_docStateChangeManagerService','UNRECOGNIZED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','OnLineSingle','invokeId','findNodePositionByCharIndex','_onCursorDelete','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','LICENSE_EXPORT_SIZE_EXCEEDED','addClipboardHook','getOffsetConfig','searchParams','lineTo','INVITE_CODE_HAS_BEEN_UES','black','getSheetId','collabStatus.notCollab','MoveRangeCommandId','InsertRangeMoveRightCommandId','CHANGESET_REVISION_CONFILICT','getUnitStatus$','_initDependencies','_scheduleClearOtherTimer','restore','textRanges','INVITE_CODE_REQUIRED','getRangePointData','svg','fillStyle','Error','save','complete','APPLY_REJECT','INVALID_ARGUMENT','isEditing','_imageIoService','currentTheme$','on-line-single_clip0_910_349','url(#$1','evenodd','url(#off-line-single_clip0_910_343)','InsertRowCommandId','toString','startsWith','executeCommand','entityInit$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_removeClearOtherTimer','from','0\x200\x2016\x2016','collaboration-client.offline-data-not-saved','closePath','hovered','YUUMI_ASYNCIO_CANCELLED','_hover','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_textBubble','YUUMI_ALL_TABLES_IS_INVALID','_getSheetObject','_lastPointer','_updateLocalCursor','getUniverSheetInstance','4882725coTqHh','YUUMI_TABLE_NOT_FOUND_IN_UNIT','focused$','APPLY_PERMISSION_DENIED','_initCommandExecutedListener','onPointerLeave$','get','session.will-retry','getCellPositionByOffset','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_config','PERMISSION_DENIED','setTimeout','replace','hide','_onCursorUpdate','assignAColorForMemberID','collab-rect-range-','collabStatus.synced','univerjs-icon\x20univerjs-icon-','string','getRenderById','getUnitId','contains','getOwnPropertyDescriptor','SNAPSHOT_INVALID_SNAPSHOT','rgba(255,\x20255,\x20255,\x200.01)','has','_unitOnClients','registerComponent','symbol','univer-flex\x20univer-items-center','registerBeforeClose','top','saveOfflineData','_roomMembers$','size','_context','_localStorageService','_heartbeatTimer','_univerInstanceService','exhaustSavingTask','YUUMI_UNABLE_LOAD_URL','_scene','getSkeleton','INVALID_INVITE_CODE','_drawTextRange','APPLY_NON_SEQUENTIAL_REVISION','backgroundColor','className','_refreshCollabCursors','ENSURE_SNAPSHOT_EXECUTION','_handleHover','_hideTimer','event$','getValue','with','actions','1em','_startSheetCollabCursor','_eventUnsubscribe','substring','application/json','getMemberID','startColumn','m1Prime','INVITE_CODE_ALREADY_BOUND','_httpService','setStateCache','setConfig','_init','min','mask','_transformHistoryAndStateStack','_collabCursorState$','round','_colorAssignService','_createSocketURL','values','_getAnchorBounding','YUUMI_SUBSCRIPTION_NOT_FOUND','storage','CONFLICT','univer-flex\x20univer-mr-2\x20univer-text-[20px]','blue400','_localeService','set','1474922kJXNcA','SUBMIT_CHANGESET_TIMEOUT','split','_configService','clipPath','runId','_cachedData','collabStatus.conflict','location','_docTransformIMECacheService','getAncestorScale','attrs','getActiveSheet','NOT_FOUND','docStateChange$','getCollabCursors$','result','RemoveRowCommandId','OTHER_CLIENTS_EDITING','[RemoteUniscriptService]:\x20no\x20focused\x20unit','M0\x200H16V16H0z','[CollaborationDataLoaderController]','popstate','_draw','mutations','_clearOtherTimers','_saveCache','selection','setShapeProps','_onRefRangeChange','getRelativeToViewportCoord','currentSkeleton$','AWAITING_WITH_PENDING','_commandService','triggerDblclick','_toggleOffline','getActiveRange','currentColor','onMouseMove','defs','tag','MOBILE_HAS_BEEN_BOUND','_send','_getScale','RemoveColCommandId','_doCreateSocket','_docClipboardService','redoState','key','xlink:href','endRow','_updateCollabCursors','setParam','_urlService','whenReady','getCurrentSelections','_initStatusListener','getSheetBySheetId','getViewport','_labelPosition','code','setItem','transformByState','pipe','function','skeleton','_disabled','PY_RUNTIME_SCRIPT_ERROR','collab-text-range-','MUTATION','_themeService','DeleteRangeMoveLeftCommandId','collab-client.tooltip.reconnect','startRow','_initResize','_transformUndoRedoStack','engine','_syncEditingCollabCursorService','_instanceService','_entityInit$','CLOSE_ROOM','executionId','eventID','transform','YUUMI_AI_RUN_FAILED','getMergeData','_collabCursorController','clearTimeout','override','_cursors','TOO_MANY_REQUESTS','#fff','collaboration-client-ui.config','next','verdancy600','_getSaveTimeout','_saveTaskMap','children','undoState','getConfig','_id','#FFF','getMember','getStateCache','_setupSubUnitSync','54DHRGlQ','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','generateRandomId','_drawRectRange','_registerRenderDependencies','setInterval','_ensureSubject','_anchorDot','transformRemoteChangeset','data','WECHAT_HAS_BEEN_BOUND','LICENSE_MAX_UNITS_EXCEEDED','_beforeCloseService','NOT_COLLAB','COMPLETION_FINISHED','_getSessionTicket','displayName','makeDirty','defineProperty','isArray','_notificationService','stringify','_collabSessionService','FETCH_MISS','collaboration.closeRoom','_handleJoinEvent','RECT','USER_NOT_INVITED_CODE','fillText','requireSession','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','addObject','collab-text-anchor-','cursorInfo','unshift','onPointerEnter$','_messageService','_registerDependencies','endColumn','_collaborationController','urlChange$','Failed','univer-text-green-500','_handleLeaveEvent','_anchor','_drawAnchor','YUUMI_URL_COL_OUT_OF_RANGE','length','body','getParam','_status$','getFocusedUnit','registerRefRange','imageSourceType','width','enableLocalCache','add','55708WTWSmh','_revisionService','font','delete','saveTaskMap','transformSelections','OTHER_CLIENT_EDITING','_name','column','DeleteRangeMoveUpCommandId','PENDING','show','UNIVER_DOC','_localCacheService','permission.content','random','Warning','_initEntityListener','_hovered','assign','INTERNAL_ERROR','flatMap','map','all','_injector','defIds','path','toRgbString','_handleEvent','0\x200\x2017\x2016','arc','row','_scheduleHeartbeat','_logService','status$','createInstance','url(#on-line-single_clip0_910_349)','_cursorInfo$','registerRenderModule','updateOfflineData','getUnhiddenWorksheets','colorChannel1','call','ticket','_updateSubUnitFromURLParams','max','FromArray','getVpScrollXYInfoByPosToVp','getCurrentUnitForType','drawWith','isActive','getUndoRedoMutationParamsCache','_scheduleSaving','_online','_setupBeforeClosingHandler','subscribe','sessionStatus$','UNAUTHENTICATED','UPDATE_CURSOR','div','2855380NlnCUU','doc.mutation.rich-text-editing','OffLineSingle','error','_docTransformStateCacheService','replaceDocRanges','trim','CONNECTOR_DATA_TOO_LARGE','collabStatus.offline','unsubscribe','ALREADY_EXISTS','editingUnit','saveImage','getCurrentRevOfUnit','_initEvent','_session','ONLINE','_getMergeRange','Unknown\x20user','_assignedColors','unitId','TEXT','unit','search','transformStateCache','setActiveRange','roomMembers','_sheetSkeletonManagerService','UNIVER_SHEET','onCommandExecuted','_color','_renderManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','selections','_transformPreviousActiveRange','replaceState','idSuffix','_cursorShapes','disposeWithMe','measureText','105MzYYjc','_range','activeSheet$','getDocRanges','7IfSidh','collabCursorState$','addEventListener','text','unitID','/run/','_selfUnitIDs','getCollabEntity$','sheetID','source','LICENSE_IMPORT_SIZE_EXCEEDED','red300','forEach','OFFLINE','UNDEFINED','_memberService','color','type','_docSkeletonManagerService','syncEditingCollabCursor','sessionTicket','790714KbomYM','session.connection-failed','ranges','send','params','href','indexOf','loadUnit','EMAIL_HAS_BEEN_BOUND','createSocket','debug','beginPath','SYNCED','_removeCollabCursors','YUUMI_RATE_OVER_LIMIT','_toggleOnline','setAlpha','_backgroundColor','SNAPSHOT_HAS_BEEN_REMOVED','_docTransformSelectionsService','InsertColCommandId','cursorInfo$','_entities','1207832YxPvpe','post','_startDocCollabCursor','_unitStatus','YUUMI_NO_CUBOID_FOR_QUESTION','getTypeOfUnitAdded$','hasOwnProperty','disableLocalCache','_cursor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','dispose$','APPLY_DUPLICATED','_initStatusComponent','dispose','init','permission.title','setUndoRedoMutationParamsCache','clearInterval','243354lQnfrJ','bottom','_transformService','getTypeOfUnitDisposed$','_dataLoaderService','subscribeEvent','_colorIndex'];_0x7593=function(){return _0x5079ea;};return _0x7593();}re=nn([Ce(0x0,_0x2eb28e(_0x542e55)),Ce(0x1,_0x25c7bb),Ce(0x2,_0x2eb28e(_0x4354e7))],re);var rn=Object[_0x3b7069(0x325)],on=(_0xae70f9,_0x3a9a07,_0x2e93ee,_0x207a73)=>{const _0x5e0fcc=_0x3b7069;for(var _0x273c66=_0x207a73>0x1?void 0x0:_0x207a73?rn(_0x3a9a07,_0x2e93ee):_0x3a9a07,_0x5a4700=_0xae70f9[_0x5e0fcc(0x1f5)]-0x1,_0x3ab0ff;_0x5a4700>=0x0;_0x5a4700--)(_0x3ab0ff=_0xae70f9[_0x5a4700])&&(_0x273c66=_0x3ab0ff(_0x273c66)||_0x273c66);return _0x273c66;},tt=(_0x415705,_0x103f02)=>(_0x42ac73,_0x494f09)=>_0x103f02(_0x42ac73,_0x494f09,_0x415705);let oe=class{constructor(_0x4ecfa0,_0x483a1e){const _0x5aa1af=_0x3b7069;this[_0x5aa1af(0x217)]=_0x4ecfa0,this[_0x5aa1af(0x2a7)]=_0x483a1e;}[_0x3b7069(0x204)](_0x4b09d9){const _0x6bebb3=_0x3b7069;var _0x3c3db2;const _0x4959d8=this[_0x6bebb3(0x217)]['get'](_0x338695),_0x4d26fc=(_0x3c3db2=_0x4959d8['getDocRanges']())!=null?_0x3c3db2:[];if(_0x4d26fc[_0x6bebb3(0x1f5)]===0x0)return;const _0x40e517=_0x4b09d9['unitID'],_0x3433a8=[{'id':_0x6bebb3(0x23c),'params':{'unitId':_0x40e517,'actions':null,'textRanges':_0x4d26fc}}],_0x35ebe4=this[_0x6bebb3(0x2a7)]['transformMutationsWithChangeset'](_0x4b09d9,_0x3433a8);if(!_0x360590(_0x35ebe4))throw _0x35ebe4['error'];const _0x166f99=_0x35ebe4[_0x6bebb3(0x2c4)][0x0]['params'][_0x6bebb3(0x2e7)];Array['isArray'](_0x166f99)&&_0x166f99['length']&&_0x4959d8[_0x6bebb3(0x240)](_0x166f99,{'unitId':_0x40e517,'subUnitId':_0x40e517},!0x1);}};oe=on([tt(0x0,_0x2eb28e(_0x542e55)),tt(0x1,_0x25c7bb)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x3a0348,_0x33a31b,_0x1a6c38,_0x428fbf)=>{for(var _0x46f949=_0x428fbf>0x1?void 0x0:_0x428fbf?an(_0x33a31b,_0x1a6c38):_0x33a31b,_0x4ad673=_0x3a0348['length']-0x1,_0x320e04;_0x4ad673>=0x0;_0x4ad673--)(_0x320e04=_0x3a0348[_0x4ad673])&&(_0x46f949=_0x320e04(_0x46f949)||_0x46f949);return _0x46f949;},U=(_0x507e0e,_0x2319f9)=>(_0x4be4c2,_0x4f9c92)=>_0x2319f9(_0x4be4c2,_0x4f9c92,_0x507e0e);let ae=class extends _0x2a6f43{constructor(_0x27a268,_0x376097,_0x1bd9f2,_0xce0485,_0x25c39d,_0x2a2221,_0x36f5fa,_0x40bf5d){const _0x41069a=_0x3b7069;super(),_(this,_0x41069a(0x1f8),new _0x1ca0e1(_0xbbad33[_0x41069a(0x1d3)])),(this['_docStateChangeManagerService']=_0x27a268,this[_0x41069a(0x1ed)]=_0x376097,this[_0x41069a(0x166)]=_0x1bd9f2,this[_0x41069a(0x23f)]=_0xce0485,this['_docTransformSelectionsService']=_0x25c39d,this[_0x41069a(0x2ba)]=_0x2a2221,this['_messageService']=_0x36f5fa,this[_0x41069a(0x15b)]=_0x40bf5d,this[_0x41069a(0x210)]());}[_0x3b7069(0x210)](){const _0xf9e3ab=_0x3b7069;this[_0xf9e3ab(0x261)](this[_0xf9e3ab(0x1ed)][_0xf9e3ab(0x2fc)]['subscribe'](_0x474d6a=>{const _0x2da63e=_0xf9e3ab,_0x3bdda8=this[_0x2da63e(0x2cf)][_0x2da63e(0x16b)][_0x2da63e(0x236)](_0x4f5846=>{const _0x1ba6fd=_0x2da63e;if(_0x4f5846==null)return;const {unitId:_0x18536a,redoState:_0x1eef8c,commandId:_0xc24ad2}=_0x4f5846;if(_0x18536a!==_0x474d6a[_0x1ba6fd(0x26b)])return;const _0x257125={'id':_0xc24ad2,'type':_0x45c558[_0x1ba6fd(0x1a2)],'params':{'unitId':_0x18536a,'actions':_0x1eef8c[_0x1ba6fd(0x346)],'textRanges':null}};_0x474d6a['onLocalMutation'](_0x257125);});if(_0x474d6a[_0x2da63e(0x261)](_0x3bdda8),_0x474d6a instanceof _0x1c3065){const _0x3b5ab8={'onTransformIME':_0x4d6f8f=>this[_0x2da63e(0x166)][_0x2da63e(0x2b4)](_0x4d6f8f),'onTransformState':_0xe1e026=>this[_0x2da63e(0x23f)][_0x2da63e(0x253)](_0xe1e026),'onTransformSelections':_0x287d21=>this[_0x2da63e(0x28f)][_0x2da63e(0x204)](_0x287d21),'onSyncEditingCollabCursor':_0x522ed3=>this[_0x2da63e(0x2ba)][_0x2da63e(0x27a)](_0x522ed3),'onTransformRemoteChangesetByIMECache':_0x1462ed=>this[_0x2da63e(0x166)][_0x2da63e(0x1ce)](_0x1462ed),'onTransformRemoteChangesetByStateCache':_0x401507=>this[_0x2da63e(0x23f)][_0x2da63e(0x1ce)](_0x401507)};_0x474d6a[_0x2da63e(0x2b0)](_0x3b5ab8);}}));}};ae=cn([U(0x0,_0x2eb28e(_0x4354e7)),U(0x1,_0x2eb28e(_0x5d7669)),U(0x2,_0x2eb28e(ne)),U(0x3,_0x2eb28e(re)),U(0x4,_0x2eb28e(oe)),U(0x5,_0x2eb28e(He)),U(0x6,_0x3d24af),U(0x7,_0x2eb28e(_0x13db92))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x50d76f,_0x7777e8,_0x126d4b,_0x492fe1)=>{const _0xfcd60d=_0x3b7069;for(var _0x2d03c9=_0x492fe1>0x1?void 0x0:_0x492fe1?ln(_0x7777e8,_0x126d4b):_0x7777e8,_0x27362f=_0x50d76f[_0xfcd60d(0x1f5)]-0x1,_0x355b22;_0x27362f>=0x0;_0x27362f--)(_0x355b22=_0x50d76f[_0x27362f])&&(_0x2d03c9=_0x355b22(_0x2d03c9)||_0x2d03c9);return _0x2d03c9;},Ee=(_0x4976d2,_0x3c1b42)=>(_0x5ecd5b,_0x470aeb)=>_0x3c1b42(_0x5ecd5b,_0x470aeb,_0x4976d2);let we=class extends _0x2a6f43{constructor(_0x2cbc77,_0x5c1951,_0x523175){const _0x3405aa=_0x3b7069;super(),_(this,_0x3405aa(0x163),new Map()),_(this,_0x3405aa(0x1bd),new Map()),_(this,'_disabled',!0x1),(this[_0x3405aa(0x160)]=_0x2cbc77,this[_0x3405aa(0x333)]=_0x5c1951,this[_0x3405aa(0x200)]=_0x523175);}[_0x3b7069(0x29a)](){this['_disabled']=!0x0;}[_0x3b7069(0x1fd)](){const _0x440761=_0x3b7069;this[_0x440761(0x19f)]=!0x1;}get[_0x3b7069(0x203)](){const _0x1dabdc=_0x3b7069;return this[_0x1dabdc(0x1bd)];}[_0x3b7069(0x2a0)](){const _0x14f5b2=_0x3b7069;this[_0x14f5b2(0x336)]()[_0x14f5b2(0x2b6)](()=>super[_0x14f5b2(0x2a0)]());}async['loadOfflineData'](_0x215ada){const _0xc7a599=_0x3b7069;return this['_disabled']?null:this[_0xc7a599(0x333)]['getItem'](_0x436111(_0x215ada));}async[_0x3b7069(0x32f)](_0x4d4410,_0x5b28dd){const _0x4c6b92=_0x3b7069;return!!this[_0x4c6b92(0x333)]['setItem'](_0x4d4410,_0x5b28dd);}[_0x3b7069(0x226)](_0x4016da,_0x41c17e,_0x14af4d,_0x28d82c){const _0x5783ca=_0x3b7069,_0x28beb0=this[_0x5783ca(0x200)][_0x5783ca(0x248)](_0x4016da);this[_0x5783ca(0x163)][_0x5783ca(0x15c)](_0x4016da,{'unitID':_0x4016da,'type':_0x41c17e,'awaitingChangeset':_0x14af4d,'mutations':_0x28d82c,'rev':_0x28beb0}),this[_0x5783ca(0x1bd)][_0x5783ca(0x328)](_0x4016da)||this[_0x5783ca(0x233)](_0x4016da);}['_scheduleSaving'](_0x4118fb){const _0x4c4d0c=_0x3b7069,_0x1338ba=this[_0x4c4d0c(0x1bc)]();_0x1338ba===0x0?this['_saveCache'](_0x4118fb):this[_0x4c4d0c(0x1bd)]['set'](_0x4118fb,setTimeout(()=>this[_0x4c4d0c(0x177)](_0x4118fb),_0x1338ba));}[_0x3b7069(0x1bc)](){const _0x559d6f=_0x3b7069;var _0x52a5df;return(_0x52a5df=this['_configService'][_0x559d6f(0x1c0)](_0x19bc1e))!=null?_0x52a5df:_0x2a96d2;}[_0x3b7069(0x177)](_0x41a963){const _0x2e68e7=_0x3b7069,_0x3825cd=this[_0x2e68e7(0x1bd)][_0x2e68e7(0x313)](_0x41a963);return _0x3825cd!==void 0x0&&window[_0x2e68e7(0x1b4)](_0x3825cd),this[_0x2e68e7(0x333)][_0x2e68e7(0x19a)](_0x436111(_0x41a963),this[_0x2e68e7(0x163)][_0x2e68e7(0x313)](_0x41a963))['then'](()=>this[_0x2e68e7(0x1bd)]['delete'](_0x41a963));}async[_0x3b7069(0x336)](){const _0x67ddfb=_0x3b7069,_0x374712=[];this[_0x67ddfb(0x1bd)][_0x67ddfb(0x273)]((_0x147c60,_0x4c81e6)=>{const _0xaac4c4=_0x67ddfb;window['clearTimeout'](_0x147c60),_0x374712[_0xaac4c4(0x2c5)](this[_0xaac4c4(0x177)](_0x4c81e6)[_0xaac4c4(0x2b6)](()=>{const _0x281a7a=_0xaac4c4;this['_saveTaskMap'][_0x281a7a(0x202)](_0x4c81e6);}));}),await Promise[_0x67ddfb(0x216)](_0x374712);}};we=_n([Ee(0x0,_0x5cf7bf),Ee(0x1,_0x214c51),Ee(0x2,_0x2eb28e(_0x2b3960))],we);function _0xec61(_0xadf0e9,_0x2a1322){const _0x7593ad=_0x7593();return _0xec61=function(_0xec6117,_0x23a527){_0xec6117=_0xec6117-0x153;let _0x13abef=_0x7593ad[_0xec6117];return _0x13abef;},_0xec61(_0xadf0e9,_0x2a1322);}class hn extends _0x42b55d{constructor(){const _0x23a699=_0x3b7069;super(),_(this,'urlChange$'),this[_0x23a699(0x1ee)]=_0x15a092(window,_0x23a699(0x173))[_0x23a699(0x19c)](_0x53aa4f(this[_0x23a699(0x29d)]),_0x138b5a(0x1),_0x513b7b(void 0x0));}[_0x3b7069(0x191)](_0x52a6f2,_0x23e567,_0x17135d=!0x1){const _0x1c1786=_0x3b7069,_0x17a9a0=new URL(window[_0x1c1786(0x165)][_0x1c1786(0x281)]);_0x17a9a0['searchParams'][_0x1c1786(0x15c)](_0x52a6f2,_0x23e567),_0x17135d?window[_0x1c1786(0x2c7)][_0x1c1786(0x25e)]('','',_0x17a9a0[_0x1c1786(0x2f9)]()):window['history'][_0x1c1786(0x2b8)]('','',_0x17a9a0[_0x1c1786(0x2f9)]());}['removeParam'](_0x42a48d,_0x2bd005=!0x1){const _0x188bee=_0x3b7069,_0x123095=new URL(window[_0x188bee(0x165)][_0x188bee(0x281)]);_0x123095[_0x188bee(0x2da)][_0x188bee(0x202)](_0x42a48d),_0x2bd005?window[_0x188bee(0x2c7)]['replaceState']('','',_0x123095[_0x188bee(0x2f9)]()):window['history'][_0x188bee(0x2b8)]('','',_0x123095['toString']());}['getParam'](_0x3c62ff){const _0x58c5cb=_0x3b7069;var _0x5e6c26;return(_0x5e6c26=new URL(window[_0x58c5cb(0x165)][_0x58c5cb(0x281)])[_0x58c5cb(0x2da)]['get'](_0x3c62ff))!=null?_0x5e6c26:void 0x0;}}var un=Object[_0x3b7069(0x1d8)],dn=Object[_0x3b7069(0x325)],fn=(_0x51c16e,_0x493a9f,_0x255e21)=>_0x493a9f in _0x51c16e?un(_0x51c16e,_0x493a9f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x255e21}):_0x51c16e[_0x493a9f]=_0x255e21,Sn=(_0x2261bc,_0x20d751,_0x11aa94,_0x5ed758)=>{const _0x137d99=_0x3b7069;for(var _0x4898cd=_0x5ed758>0x1?void 0x0:_0x5ed758?dn(_0x20d751,_0x11aa94):_0x20d751,_0x5cfc5b=_0x2261bc[_0x137d99(0x1f5)]-0x1,_0x333679;_0x5cfc5b>=0x0;_0x5cfc5b--)(_0x333679=_0x2261bc[_0x5cfc5b])&&(_0x4898cd=_0x333679(_0x4898cd)||_0x4898cd);return _0x4898cd;},Oe=(_0x5dfdd1,_0x41c3f2)=>(_0x1bb1a8,_0x47d2c2)=>_0x41c3f2(_0x1bb1a8,_0x47d2c2,_0x5dfdd1),mn=(_0x2338b5,_0x444edd,_0x15b68e)=>fn(_0x2338b5,_0x444edd+'',_0x15b68e);const gn=_0x3b7069(0x1e4);let Ae=class extends _0x53763e{constructor(_0xa5e47e=et,_0x1ff2b1,_0x234f67,_0x39aa35){const _0x543bdc=_0x3b7069;super(),this['_config']=_0xa5e47e,this['_renderManagerService']=_0x1ff2b1,this['_injector']=_0x234f67,this['_configService']=_0x39aa35;const {..._0x3350a3}=_0x544f55({},et,this[_0x543bdc(0x317)]);this['_configService'][_0x543bdc(0x352)](Zi,_0x3350a3);}['onStarting'](){const _0xb6722d=_0x3b7069;this[_0xb6722d(0x1eb)](),this['_initDependencies']();}[_0x3b7069(0x2c1)](){const _0x57d7fa=_0x3b7069;this[_0x57d7fa(0x1ca)]();}[_0x3b7069(0x1eb)](){const _0x171aae=_0x3b7069;var _0x11ea9b;const _0x1c6d4a=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x36f1ae,{'useClass':_0x1e760b}],[_0x244f63,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x26a3e0(this[_0x171aae(0x217)],_0x5dd68d(_0x1c6d4a,(_0x11ea9b=this['_config'])==null?void 0x0:_0x11ea9b[_0x171aae(0x1b5)]));}[_0x3b7069(0x1ca)](){const _0x3f4e20=_0x3b7069;this['disposeWithMe'](this['_renderManagerService'][_0x3f4e20(0x225)](_0x24a141[_0x3f4e20(0x20b)],[Pe])),this[_0x3f4e20(0x261)](this[_0x3f4e20(0x25a)][_0x3f4e20(0x225)](_0x24a141[_0x3f4e20(0x257)],[Le]));}[_0x3b7069(0x2e4)](){const _0x520142=_0x3b7069;_0x570e94(this[_0x520142(0x217)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x2d5c2d(_0x4af92b),Oe(0x1,_0x5aabf0),Oe(0x2,_0x2eb28e(_0x542e55)),Oe(0x3,_0x5cf7bf)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x19165f,_0x27d2ab,_0x271e5a,_0x2748fe)=>{const _0x349f7f=_0x3b7069;for(var _0x3ff4a2=_0x2748fe>0x1?void 0x0:_0x2748fe?In(_0x27d2ab,_0x271e5a):_0x27d2ab,_0x4bf799=_0x19165f[_0x349f7f(0x1f5)]-0x1,_0x1e2776;_0x4bf799>=0x0;_0x4bf799--)(_0x1e2776=_0x19165f[_0x4bf799])&&(_0x3ff4a2=_0x1e2776(_0x3ff4a2)||_0x3ff4a2);return _0x3ff4a2;},K=(_0x33b8b1,_0x2af11c)=>(_0xfe5d7d,_0x168528)=>_0x2af11c(_0xfe5d7d,_0x168528,_0x33b8b1);let st=class extends _0x3fa99f{constructor(_0x4dcf75,_0xc5fb35,_0x501771,_0x34af3a,_0x4e81f8){super(_0x4dcf75,_0xc5fb35,_0x501771,_0x34af3a,_0x4e81f8);}async[_0x3b7069(0x285)](_0x51cd97){const _0x58471e=_0x3b7069,_0x28d70f=await this[_0x58471e(0x1d5)](),_0x43cacb=this['_createSocketURL'](_0x51cd97,_0x28d70f);return this[_0x58471e(0x18a)](_0x43cacb);}[_0x3b7069(0x153)](_0x1f0f1e,_0x3d35b4){const _0x458115=_0x3b7069,_0x518f1d=typeof window>'u'?new URL(_0x1f0f1e):new URL(_0x1f0f1e,window['location']['origin']);_0x518f1d[_0x458115(0x2da)][_0x458115(0x15c)](_0x458115(0x27b),_0x3d35b4);const _0x5b49ad=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x458115(0x165)][_0x458115(0x252)]);return _0x5b49ad[_0x458115(0x313)](_0x458115(0x162))&&_0x518f1d[_0x458115(0x2da)][_0x458115(0x15c)](_0x458115(0x162),_0x5b49ad[_0x458115(0x313)](_0x458115(0x162))),_0x518f1d[_0x458115(0x2f9)]();}async[_0x3b7069(0x1d5)](){const _0x5428b2=_0x3b7069;var _0x57a8dc,_0x4262ff,_0x243783;const _0x1da0ab=this[_0x5428b2(0x160)][_0x5428b2(0x1c0)](_0x551170),_0x4c131d=(_0x57a8dc=_0x1da0ab==null?void 0x0:_0x1da0ab['wsSessionTicketUrl'])!=null?_0x57a8dc:_0x1595e3;return(_0x243783=(_0x4262ff=(await this['_httpService'][_0x5428b2(0x313)](_0x4c131d,{'headers':{'Content-Type':_0x5428b2(0x34b)}}))[_0x5428b2(0x1f6)])==null?void 0x0:_0x4262ff[_0x5428b2(0x22a)])!=null?_0x243783:'';}};st=vn([K(0x0,_0x2eb28e(_0x542e55)),K(0x1,_0x2eb28e(_0x54d883)),K(0x2,_0x5cf7bf),K(0x3,_0x895744),K(0x4,_0x2d33d0)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x2a6f43{constructor(){const _0x886fb=_0x3b7069;super(),_(this,'_id',_0x5f4ef5()),_(this,_0x886fb(0x26d),new Set()),_(this,_0x886fb(0x329),new Map()),_(this,_0x886fb(0x334),null),_(this,_0x886fb(0x176),new Map()),_(this,_0x886fb(0x296),new Map()),this[_0x886fb(0x353)]();}[_0x3b7069(0x2a0)](){const _0x3274a8=_0x3b7069;super[_0x3274a8(0x2a0)](),this[_0x3274a8(0x176)]['forEach']((_0x2c17e8,_0x1425a1)=>this[_0x3274a8(0x2fe)](_0x1425a1)),this[_0x3274a8(0x334)]&&window[_0x3274a8(0x2a4)](this[_0x3274a8(0x334)]);}[_0x3b7069(0x2e3)](_0x243576){const _0x4107db=_0x3b7069;return this[_0x4107db(0x1cc)](_0x243576)[_0x4107db(0x19c)](_0x52a543());}[_0x3b7069(0x246)](_0x130bac){const _0x2b02dc=_0x3b7069;this[_0x2b02dc(0x26d)][_0x2b02dc(0x331)]===0x0&&this[_0x2b02dc(0x21f)](),this[_0x2b02dc(0x26d)][_0x2b02dc(0x1fe)](_0x130bac),this[_0x2b02dc(0x187)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x130bac],'isForwarded':!0x1});}['disposeUnit'](_0x39f926){const _0x5d2819=_0x3b7069;this[_0x5d2819(0x26d)][_0x5d2819(0x202)](_0x39f926),this[_0x5d2819(0x26d)]['size']===0x0&&this[_0x5d2819(0x334)]&&window[_0x5d2819(0x2a4)](this[_0x5d2819(0x334)]);}[_0x3b7069(0x353)](){const _0x4e3d06=_0x3b7069;this[_0x4e3d06(0x261)](_0x11e171(_0x15a092(window,_0x4e3d06(0x157))[_0x4e3d06(0x236)](_0x50f47f=>{const _0x4fcc2=_0x4e3d06;if(_0x50f47f[_0x4fcc2(0x18d)]!==nt||!_0x50f47f[_0x4fcc2(0x2c0)])return;const _0x524350=JSON['parse'](_0x50f47f[_0x4fcc2(0x2c0)]);this[_0x4fcc2(0x21b)](_0x524350);}))),window[_0x4e3d06(0x269)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4e3d06(0x2ff)](this[_0x4e3d06(0x26d)])}));}[_0x3b7069(0x21b)](_0x1d855d){const _0x4fade2=_0x3b7069;switch(_0x1d855d[_0x4fade2(0x278)]){case 0x0:this[_0x4fade2(0x1df)](_0x1d855d);break;case 0x1:this['_handleLeaveEvent'](_0x1d855d);break;case 0x2:this['_handleHeartbeatEvent'](_0x1d855d);break;}}[_0x3b7069(0x1df)](_0xb39e1e){const _0x432fb9=_0x3b7069,{unitIDs:_0x46e914,memberID:_0x1faef7,isForwarded:_0x3ae255}=_0xb39e1e;_0x46e914[_0x432fb9(0x273)](_0x3297d0=>{const _0x186166=_0x432fb9;if(!_0x3ae255&&this['_unitOnClients'][_0x186166(0x328)](_0x3297d0)&&this[_0x186166(0x1cc)](_0x3297d0)[_0x186166(0x1ba)](_0x15d495[_0x186166(0x16f)]),!this[_0x186166(0x329)][_0x186166(0x328)](_0x3297d0)||!this[_0x186166(0x329)][_0x186166(0x313)](_0x3297d0)[_0x186166(0x328)](_0x1faef7)){const _0xa68308=this[_0x186166(0x329)][_0x186166(0x313)](_0x3297d0)||new Set();_0xa68308[_0x186166(0x1fe)](_0x1faef7),this[_0x186166(0x329)][_0x186166(0x15c)](_0x3297d0,_0xa68308),this['_scheduleClearOtherTimer'](_0x1faef7);}}),_0x3ae255||this['_send']({'type':0x0,'memberID':this[_0x432fb9(0x1c1)],'unitIDs':[...this[_0x432fb9(0x26d)]],'isForwarded':!0x0});}[_0x3b7069(0x2e5)](_0xc64985){const _0x2de926=_0x3b7069;this[_0x2de926(0x2fe)](_0xc64985);const _0x390de9=window[_0x2de926(0x319)](()=>{this['_unitOnClients']['forEach'](_0x4c8fd1=>{const _0x4ed4ab=_0xec61;_0x4c8fd1[_0x4ed4ab(0x202)](_0xc64985);});},it*0x2);this[_0x2de926(0x176)]['set'](_0xc64985,_0x390de9);}[_0x3b7069(0x2fe)](_0x16bc74){const _0x247b4a=_0x3b7069;if(this[_0x247b4a(0x176)][_0x247b4a(0x328)](_0x16bc74)){const _0x196d70=this[_0x247b4a(0x176)]['get'](_0x16bc74);_0x196d70&&window[_0x247b4a(0x1b4)](_0x196d70),this[_0x247b4a(0x176)]['set'](_0x16bc74,null);}}[_0x3b7069(0x1f1)](_0x5714b3){const _0x4789d2=_0x3b7069,{memberID:_0x401aa4,unitIDs:_0x217346}=_0x5714b3;_0x217346[_0x4789d2(0x273)](_0x5040ab=>{const _0x356506=_0x4789d2;var _0x46ff91;const _0x231cf2=this['_unitOnClients'][_0x356506(0x313)](_0x5040ab);_0x231cf2&&(_0x231cf2['delete'](_0x401aa4),(_0x46ff91=this[_0x356506(0x1cc)](_0x5040ab))==null||_0x46ff91[_0x356506(0x1ba)](_0x231cf2['size']===0x0?_0x15d495[_0x356506(0x2c9)]:_0x15d495[_0x356506(0x16f)]));}),this[_0x4789d2(0x2fe)](_0x401aa4);}[_0x3b7069(0x2b5)](_0x3ee7ea){const _0x5822dc=_0x3b7069;this[_0x5822dc(0x2e5)](_0x3ee7ea['memberID']);}[_0x3b7069(0x187)](_0x5724e7){const _0x31df22=_0x3b7069;localStorage[_0x31df22(0x19a)](nt,JSON[_0x31df22(0x1db)](_0x5724e7));}['_scheduleHeartbeat'](){const _0x75f64b=_0x3b7069;this[_0x75f64b(0x334)]=window[_0x75f64b(0x1cb)](()=>{const _0x5c4560=_0x75f64b;this[_0x5c4560(0x187)]({'type':0x2,'memberID':this[_0x5c4560(0x1c1)]});},it);}[_0x3b7069(0x1cc)](_0x5eef59){const _0x20b860=_0x3b7069;return this[_0x20b860(0x296)][_0x20b860(0x328)](_0x5eef59)||this[_0x20b860(0x296)][_0x20b860(0x15c)](_0x5eef59,new _0x1ca0e1(_0x15d495[_0x20b860(0x2c9)])),this[_0x20b860(0x296)]['get'](_0x5eef59);}}var Mt=(_0x2facb2=>(_0x2facb2[_0x2facb2[_0x3b7069(0x275)]=0x0]=_0x3b7069(0x275),_0x2facb2[_0x2facb2['OK']=0x1]='OK',_0x2facb2[_0x2facb2['INTERNAL_ERROR']=0x2]=_0x3b7069(0x213),_0x2facb2[_0x2facb2[_0x3b7069(0x318)]=0x3]=_0x3b7069(0x318),_0x2facb2[_0x2facb2[_0x3b7069(0x16a)]=0x4]=_0x3b7069(0x16a),_0x2facb2[_0x2facb2['UNAUTHENTICATED']=0x5]=_0x3b7069(0x238),_0x2facb2[_0x2facb2[_0x3b7069(0x245)]=0x6]=_0x3b7069(0x245),_0x2facb2[_0x2facb2[_0x3b7069(0x2f0)]=0x7]='INVALID_ARGUMENT',_0x2facb2[_0x2facb2[_0x3b7069(0x1b7)]=0x8]=_0x3b7069(0x1b7),_0x2facb2[_0x2facb2[_0x3b7069(0x1d4)]=0x9]='COMPLETION_FINISHED',_0x2facb2[_0x2facb2['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2facb2[_0x2facb2[_0x3b7069(0x2e2)]=0x1389]=_0x3b7069(0x2e2),_0x2facb2[_0x2facb2[_0x3b7069(0x326)]=0x1771]=_0x3b7069(0x326),_0x2facb2[_0x2facb2['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3b7069(0x28e),_0x2facb2[_0x2facb2[_0x3b7069(0x340)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2facb2[_0x2facb2['APPLY_REJECT']=0x1b59]=_0x3b7069(0x2ef),_0x2facb2[_0x2facb2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3b7069(0x33c),_0x2facb2[_0x2facb2['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2facb2[_0x2facb2[_0x3b7069(0x310)]=0x1b5c]=_0x3b7069(0x310),_0x2facb2[_0x2facb2[_0x3b7069(0x29e)]=0x1b5d]='APPLY_DUPLICATED',_0x2facb2[_0x2facb2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3b7069(0x242),_0x2facb2[_0x2facb2[_0x3b7069(0x1d1)]=0x2329]=_0x3b7069(0x1d1),_0x2facb2[_0x2facb2[_0x3b7069(0x29c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2facb2[_0x2facb2[_0x3b7069(0x271)]=0x232b]=_0x3b7069(0x271),_0x2facb2[_0x2facb2[_0x3b7069(0x2d7)]=0x232c]=_0x3b7069(0x2d7),_0x2facb2[_0x2facb2['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x2facb2[_0x2facb2[_0x3b7069(0x337)]=0x2711]=_0x3b7069(0x337),_0x2facb2[_0x2facb2[_0x3b7069(0x1f4)]=0x2712]=_0x3b7069(0x1f4),_0x2facb2[_0x2facb2[_0x3b7069(0x28a)]=0x2713]=_0x3b7069(0x28a),_0x2facb2[_0x2facb2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3b7069(0x156),_0x2facb2[_0x2facb2[_0x3b7069(0x297)]=0x271a]=_0x3b7069(0x297),_0x2facb2[_0x2facb2[_0x3b7069(0x304)]=0x271b]=_0x3b7069(0x304),_0x2facb2[_0x2facb2[_0x3b7069(0x30e)]=0x271c]=_0x3b7069(0x30e),_0x2facb2[_0x2facb2[_0x3b7069(0x308)]=0x271d]=_0x3b7069(0x308),_0x2facb2[_0x2facb2['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3b7069(0x316),_0x2facb2[_0x2facb2[_0x3b7069(0x1b1)]=0x271f]=_0x3b7069(0x1b1),_0x2facb2[_0x2facb2[_0x3b7069(0x1a0)]=0x2af9]=_0x3b7069(0x1a0),_0x2facb2[_0x2facb2[_0x3b7069(0x2dc)]=0x2ee1]=_0x3b7069(0x2dc),_0x2facb2[_0x2facb2[_0x3b7069(0x33a)]=0x2ee2]=_0x3b7069(0x33a),_0x2facb2[_0x2facb2[_0x3b7069(0x2e8)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2facb2[_0x2facb2[_0x3b7069(0x1e1)]=0x2ee4]=_0x3b7069(0x1e1),_0x2facb2[_0x2facb2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3b7069(0x34f),_0x2facb2[_0x2facb2[_0x3b7069(0x1d0)]=0x32c9]=_0x3b7069(0x1d0),_0x2facb2[_0x2facb2['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3b7069(0x186),_0x2facb2[_0x2facb2[_0x3b7069(0x284)]=0x32cb]=_0x3b7069(0x284),_0x2facb2[_0x2facb2[_0x3b7069(0x2d0)]=-0x1]='UNRECOGNIZED',_0x2facb2))(Mt||{}),pn=Object[_0x3b7069(0x325)],Cn=(_0x268083,_0x5d22cd,_0x25c75c,_0xa97819)=>{for(var _0x22237f=_0xa97819>0x1?void 0x0:_0xa97819?pn(_0x5d22cd,_0x25c75c):_0x5d22cd,_0x1c1202=_0x268083['length']-0x1,_0x46ddf0;_0x1c1202>=0x0;_0x1c1202--)(_0x46ddf0=_0x268083[_0x1c1202])&&(_0x22237f=_0x46ddf0(_0x22237f)||_0x22237f);return _0x22237f;},be=(_0xa5036b,_0xb42377)=>(_0x5ad8ce,_0x602aec)=>_0xb42377(_0x5ad8ce,_0x602aec,_0xa5036b);let rt=class extends _0x2a6f43{constructor(_0x3eca8d,_0x2c3bb3,_0x137e22){const _0x58ccc4=_0x3b7069;super(),this[_0x58ccc4(0x1ab)]=_0x3eca8d,this[_0x58ccc4(0x350)]=_0x2c3bb3,this['_configService']=_0x137e22;}async['runOnServer'](_0x19dd8e,_0x4fa808,_0x1b3e70,..._0x21be20){const _0x3ac2b4=_0x3b7069;var _0x2acec4,_0x3d6959,_0x57e4c6,_0x5f018e;const _0x1a53a4=this['_instanceService']['getFocusedUnit']();if(!_0x1a53a4)throw new Error(_0x3ac2b4(0x170));const _0x2087fc=((_0x2acec4=this[_0x3ac2b4(0x160)][_0x3ac2b4(0x1c0)](_0x122358))!=null?_0x2acec4:_0x18b7dd)+'/'+_0x19dd8e+_0x3ac2b4(0x26c)+_0x4fa808,_0xcff584=new URL(window['location'][_0x3ac2b4(0x281)]),_0x4dcebd={'scriptId':_0x19dd8e,'runId':(_0x3d6959=_0xcff584[_0x3ac2b4(0x2da)][_0x3ac2b4(0x313)](_0x3ac2b4(0x162)))!=null?_0x3d6959:'','function':_0x4fa808,'unitId':_0x1a53a4[_0x3ac2b4(0x323)](),'argsOfFunction':JSON[_0x3ac2b4(0x1db)](_0x21be20),'invokeId':(_0x57e4c6=_0x1b3e70[_0x3ac2b4(0x2d3)])!=null?_0x57e4c6:'','executionId':(_0x5f018e=_0x1b3e70[_0x3ac2b4(0x1ae)])!=null?_0x5f018e:''};try{const _0x304c36=await this[_0x3ac2b4(0x350)][_0x3ac2b4(0x294)](_0x2087fc,{'body':_0x4dcebd});return _0x304c36['body']['error']&&_0x304c36[_0x3ac2b4(0x1f6)][_0x3ac2b4(0x23e)][_0x3ac2b4(0x199)]!==Mt['OK']?_0x3ac2b4(0x1ef):_0x304c36[_0x3ac2b4(0x1f6)][_0x3ac2b4(0x16d)];}catch{return _0x3ac2b4(0x1ef);}}};rt=Cn([be(0x0,_0x5123ac),be(0x1,_0x2eb28e(_0x54d883)),be(0x2,_0x5cf7bf)],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/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3a3e(){const _0x2556cc=['63mySRuY','Authentication\x20Error','811646ctRCjq','50AeWkOl','Synced','146145rjlUfa','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','78yqPilo','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','348wreCUW','3716586ZGSoAd','Syncing\x20server\x20data...','384enGUqp','22440696WBvNGg','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','106qZlAIk','78856GVHViN','7918qPRQhs','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict'];_0x3a3e=function(){return _0x2556cc;};return _0x3a3e();}const _0x152b3f=_0x4b5c;(function(_0x5e651e,_0x11b6ed){const _0x54e2a7=_0x4b5c,_0x4d8519=_0x5e651e();while(!![]){try{const _0x259933=parseInt(_0x54e2a7(0x207))/0x1*(-parseInt(_0x54e2a7(0x205))/0x2)+-parseInt(_0x54e2a7(0x1fb))/0x3*(-parseInt(_0x54e2a7(0x1fe))/0x4)+parseInt(_0x54e2a7(0x1f6))/0x5*(-parseInt(_0x54e2a7(0x1f8))/0x6)+-parseInt(_0x54e2a7(0x1f1))/0x7*(parseInt(_0x54e2a7(0x206))/0x8)+-parseInt(_0x54e2a7(0x1fc))/0x9+-parseInt(_0x54e2a7(0x1f4))/0xa*(parseInt(_0x54e2a7(0x1f3))/0xb)+parseInt(_0x54e2a7(0x1ff))/0xc;if(_0x259933===_0x11b6ed)break;else _0x4d8519['push'](_0x4d8519['shift']());}catch(_0x2df3c0){_0x4d8519['push'](_0x4d8519['shift']());}}}(_0x3a3e,0x33816));function _0x4b5c(_0x131ace,_0x37f3a2){const _0x3a3ebe=_0x3a3e();return _0x4b5c=function(_0x4b5c37,_0x2168cb){_0x4b5c37=_0x4b5c37-0x1ee;let _0x15a892=_0x3a3ebe[_0x4b5c37];return _0x15a892;},_0x4b5c(_0x131ace,_0x37f3a2);}const e={'collab-client':{'tooltip':{'reconnect':_0x152b3f(0x1ee)}},'collabStatus':{'fetchMiss':_0x152b3f(0x1fd),'conflict':_0x152b3f(0x204),'notCollab':'Local\x20file','synced':_0x152b3f(0x1f5),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x152b3f(0x201),'will-retry':_0x152b3f(0x1fa),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x152b3f(0x1ef)},'conflict':{'title':_0x152b3f(0x1f0),'content':_0x152b3f(0x202)},'permission':{'title':_0x152b3f(0x1f2),'content':_0x152b3f(0x200)},'collaboration':{'single-unit':{'warning':_0x152b3f(0x1f7)},'closeRoom':_0x152b3f(0x203)},'auth':{'needGotoLoginAlert':_0x152b3f(0x1f9)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x6a87be=_0xcaec;(function(_0x4dc9ab,_0x22ebd4){const _0x29de53=_0xcaec,_0x43b02b=_0x4dc9ab();while(!![]){try{const _0x12a25c=parseInt(_0x29de53(0x1e0))/0x1+parseInt(_0x29de53(0x1ec))/0x2*(parseInt(_0x29de53(0x1e7))/0x3)+-parseInt(_0x29de53(0x1f2))/0x4*(-parseInt(_0x29de53(0x1f3))/0x5)+-parseInt(_0x29de53(0x1e9))/0x6*(parseInt(_0x29de53(0x1df))/0x7)+-parseInt(_0x29de53(0x1e6))/0x8+parseInt(_0x29de53(0x1ea))/0x9+parseInt(_0x29de53(0x1e4))/0xa*(-parseInt(_0x29de53(0x1f0))/0xb);if(_0x12a25c===_0x22ebd4)break;else _0x43b02b['push'](_0x43b02b['shift']());}catch(_0x496d2c){_0x43b02b['push'](_0x43b02b['shift']());}}}(_0xc410,0x2d481));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x6a87be(0x1ef),'notCollab':_0x6a87be(0x1ee),'synced':_0x6a87be(0x1e3),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x6a87be(0x1e5)},'session':{'connection-failed':_0x6a87be(0x1e8),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x6a87be(0x1eb)},'conflict':{'title':_0x6a87be(0x1ed),'content':_0x6a87be(0x1f1)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x6a87be(0x1e1)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x6a87be(0x1f4)},'auth':{'needGotoLoginAlert':_0x6a87be(0x1e2)}};function _0xcaec(_0x1faa1c,_0x9df42c){const _0xc41036=_0xc410();return _0xcaec=function(_0xcaec33,_0x1dd7f2){_0xcaec33=_0xcaec33-0x1df;let _0x4e827b=_0xc41036[_0xcaec33];return _0x4e827b;},_0xcaec(_0x1faa1c,_0x9df42c);}export{o as default};function _0xc410(){const _0x38aa58=['2462859XDsUki','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','566VWNwFX','تداخل\x20همکاری','پرونده\x20محلی','تداخل\x20ویرایش','9933ihqeEO','یک\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رفت.','2116HoeDpw','1735KFDprE','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','831537hDqkXR','366430SNADDZ','اعمال\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کنید.','همگام\x20سازی','3390etkrvF','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','649920hgiRbw','1119EqBxgG','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','18dVBHMA'];_0xc410=function(){return _0x38aa58;};return _0xc410();}
|