@univerjs-pro/collaboration-client 0.5.1-nightly.202412011605 → 0.5.1-nightly.202412031606

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1c91cb=_0x1b68;(function(_0x519544,_0x3a807c){const _0x29cfa9=_0x1b68,_0x294875=_0x519544();while(!![]){try{const _0x4cfa42=-parseInt(_0x29cfa9(0xec))/0x1+parseInt(_0x29cfa9(0x241))/0x2+-parseInt(_0x29cfa9(0xf8))/0x3+parseInt(_0x29cfa9(0x18c))/0x4*(parseInt(_0x29cfa9(0x391))/0x5)+parseInt(_0x29cfa9(0x354))/0x6*(parseInt(_0x29cfa9(0x38f))/0x7)+parseInt(_0x29cfa9(0x22d))/0x8+-parseInt(_0x29cfa9(0x3ab))/0x9;if(_0x4cfa42===_0x3a807c)break;else _0x294875['push'](_0x294875['shift']());}catch(_0x27bb9e){_0x294875['push'](_0x294875['shift']());}}}(_0x1547,0x9e2ec));var cr=Object[_0x1c91cb(0x502)],hr=(_0x18d8ca,_0xbf83f5,_0x574c55)=>_0xbf83f5 in _0x18d8ca?cr(_0x18d8ca,_0xbf83f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x574c55}):_0x18d8ca[_0xbf83f5]=_0x574c55,g=(_0x4271dd,_0x380c53,_0x110867)=>hr(_0x4271dd,typeof _0x380c53!=_0x1c91cb(0x18d)?_0x380c53+'':_0x380c53,_0x110867);import{createIdentifier as _0x418c93,Inject as _0x5beccd,Disposable as _0x4b86a3,DisposableCollection as _0x70760,toDisposable as _0x20cd7e,IConfigService as _0x385706,ILogService as _0x535daf,UserManagerService as _0x438cf8,UniverInstanceType as _0x2579e6,IUniverInstanceService as _0x5283d0,LocaleService as _0x1f9468,Optional as _0x231330,RxDisposable as _0x30a9be,Injector as _0x21398d,Tools as _0xdb11bc,ILocalStorageService as _0x3fd67f,Rectangle as _0xd9e0ac,ICommandService as _0x3abf69,DOC_RANGE_TYPE as _0x4ec437,JSONX as _0x1eeca2,CommandType as _0x172fb0,IPermissionService as _0x143818,IUndoRedoService as _0x3ac068,sequenceExecute as _0x8a411b,debounce as _0x2ae209,COLORS as _0x497c90,ColorKit as _0x3e2833,ThemeService as _0x5aed82,fromEventSubject as _0x26f08a,useDependency as _0xf90a9a,connectInjector as _0x7290b,Workbook as _0x27bfec,MentionType as _0x1866e3,isInternalEditorID as _0xf17b58,LocalUndoRedoService as _0x195474,IContextService as _0x2f3e14,DependentOn as _0x313217,Plugin as _0x41c2ab,touchDependencies as _0x3b7115,IAuthzIoService as _0x4cbfe7,IMentionIOService as _0x3fa18d,registerDependencies as _0x453377,mergeOverrideWithDependencies as _0x1fb426}from'@univerjs/core';import{Subject as _0x20b5e4,merge as _0x10a92b,takeUntil as _0x13e2dd,BehaviorSubject as _0x3eae3e,distinctUntilChanged as _0x1b17f9,fromEvent as _0x262ff3,ReplaySubject as _0xfad99a,take as _0xc66db6,map as _0x22336c,shareReplay as _0x527819,of as _0x5684b5,debounceTime as _0x4f9fe9,filter as _0x58d7d5,switchMap as _0x284c9e,combineLatest as _0x46617f,concatMap as _0x463a33,mapTo as _0x1c3c7f}from'rxjs';import{map as _0x349821,take as _0x284a7d,filter as _0x2b7dcf,delay as _0x3681f4,throttleTime as _0x1be23b,takeUntil as _0x35b742,switchMap as _0x2d30e6}from'rxjs/operators';import{MessageType as _0x25a468,Tooltip as _0x1e30b7}from'@univerjs/design';import{HTTPService as _0x170656,WebSocketService as _0x11b680,MergeInterceptorFactory as _0x1e8357,HTTPRequest as _0x456f0a,UniverNetworkPlugin as _0x5a0ef5,ThresholdInterceptorFactory as _0x108d46}from'@univerjs/network';import{IBeforeCloseService as _0x20e5a2,IMessageService as _0x452fb7,INotificationService as _0x5eb221,useObservable as _0x1989ef,BuiltInUIPart as _0x1d2b19,IUIPartsService as _0x284aee}from'@univerjs/ui';import{CollaborationEvent as _0x596510,parseChangesetToProtocol as _0x129112,ISnapshotServerService as _0x2fb7b6,isTransformMutationFailure as _0x55d097,isTransformMutationsWithChangesetSuccess as _0x9a9448,ITransformService as _0x3e892f,RevisionService as _0x122db5,mapDocumentTypeToUniverType as _0x5b4ad1,isTransformChangesetsSuccess as _0x1830da,CompressMutationService as _0xd5c410,parseProtocolChangeset as _0x2b33ab,SnapshotService as _0x2c6ceb,textEncoder as _0x1a2f26,b64DecodeUnicode as _0x5aa388,isTransformMutationsWithChangesetFailure as _0xf8d699,UniverCollaborationPlugin as _0x373846}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1e0a01}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x2c4ba8,RichTextEditingMutation as _0x361a8e,SetTextSelectionsOperation as _0x179116,DocSkeletonManagerService as _0x102d0a}from'@univerjs/docs';import{DocIMEInputManagerService as _0x469f87,DocStateChangeManagerService as _0x114dd9,IDocClipboardService as _0x4c9a70,NodePositionConvertToCursor as _0x547f0b,NodePositionConvertToRectRange as _0x4eb35f,TEXT_RANGE_LAYER_INDEX as _0x39605e,SetDocZoomRatioOperation as _0x59c233}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x18f66c,SetSelectionsOperation as _0x9d2051,InsertSheetMutation as _0x5b0a93,EmptyMutation as _0x45d336,WorkbookEditablePermission as _0x203d63,RefRangeService as _0x21d590,EffectRefRangId as _0x218568,handleIRemoveRow as _0x46d2b7,handleIRemoveCol as _0x1733d2,handleMoveRange as _0x41dd5c,handleInsertRow as _0x20d25a,handleInsertRangeMoveRight as _0x5ed561,handleInsertRangeMoveDown as _0xf022af,handleInsertCol as _0x535c55,handleDeleteRangeMoveUp as _0x42d3e8,handleDeleteRangeMoveLeft as _0x4ec771,runRefRangeMutations as _0xf60041,SetWorksheetActivateCommand as _0x4eaf31}from'@univerjs/sheets';import{IRenderManagerService as _0x2e1553,Shape as _0xee85de,Rect as _0x327377,getColor as _0x211346,RegularPolygon as _0x218a16,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x26561d,Vector2 as _0x488e28,SHEET_VIEWPORT_KEY as _0x1481cf}from'@univerjs/engine-render';import{IImageIoService as _0x36aea0,ImageSourceType as _0x306135,ImageUploadStatusType as _0x2435a2}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x29e425,serializeRangeWithSheet as _0x14f421}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x51ae50,getCoordByCell as _0x13f873,getSheetObject as _0x125563,SheetPermissionInitController as _0x4a5f54}from'@univerjs/sheets-ui';import _0x2e260c,{forwardRef as _0x5e0549,useRef as _0x5ff133,createElement as _0x49f7b2,useCallback as _0x50f9f7}from'react';import{IRemoteInstanceService as _0x473fe8}from'@univerjs/rpc';const En=_0x1c91cb(0x35a),bn=_0x1c91cb(0x3f8),Tn=_0x1c91cb(0x19d),wh=_0x1c91cb(0x411),Rn=0x7d0,On=_0x1c91cb(0x17e),yn='ws://127.0.0.1:8000/universer-api/comb/connect',wn=_0x1c91cb(0x1ee),Dn=_0x1c91cb(0x37b),Pn=0x7530,ki='HEARTBEAT_TIMEOUT',Wi=0x4e20,Nn=0x4e20,Un=_0x1c91cb(0x483),An=0x3,Mn=_0x1c91cb(0x155),xn=0x3e8,Ln=_0x1c91cb(0x3c1),$n='/universer-api/comb',Hn=_0x1c91cb(0x42a),jn=_0x1c91cb(0x50c);var Fi=(_0x48a5e9=>(_0x48a5e9[_0x48a5e9[_0x1c91cb(0x453)]=0x0]=_0x1c91cb(0x453),_0x48a5e9[_0x48a5e9['OK']=0x1]='OK',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x220)]=0x2]=_0x1c91cb(0x220),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x4e8)]=0x3]=_0x1c91cb(0x4e8),_0x48a5e9[_0x48a5e9[_0x1c91cb(0xf2)]=0x4]=_0x1c91cb(0xf2),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x3fd)]=0x5]=_0x1c91cb(0x3fd),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x2d7)]=0x6]=_0x1c91cb(0x2d7),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x16b)]=0x7]=_0x1c91cb(0x16b),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x3d5)]=0x8]='TOO_MANY_REQUESTS',_0x48a5e9[_0x48a5e9['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x191)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x3b6)]=0x1771]=_0x1c91cb(0x3b6),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x307)]=0x1772]=_0x1c91cb(0x307),_0x48a5e9[_0x48a5e9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1c91cb(0x1c0),_0x48a5e9[_0x48a5e9[_0x1c91cb(0xed)]=0x1b59]=_0x1c91cb(0xed),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x1b3)]=0x1b5a]=_0x1c91cb(0x1b3),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x3b3)]=0x1b5b]=_0x1c91cb(0x3b3),_0x48a5e9[_0x48a5e9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1c91cb(0x236),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x414)]=0x1b5d]='APPLY_DUPLICATED',_0x48a5e9[_0x48a5e9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x118)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x204)]=0x232a]=_0x1c91cb(0x204),_0x48a5e9[_0x48a5e9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1c91cb(0x4ca),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x129)]=0x232c]=_0x1c91cb(0x129),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x22a)]=0x232d]=_0x1c91cb(0x22a),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x490)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x48a5e9[_0x48a5e9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x19a)]=0x2713]=_0x1c91cb(0x19a),_0x48a5e9[_0x48a5e9[_0x1c91cb(0x3d4)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x48a5e9[_0x48a5e9[_0x1c91cb(0x159)]=-0x1]=_0x1c91cb(0x159),_0x48a5e9))(Fi||{}),ae=(_0x17dae7=>(_0x17dae7[_0x17dae7[_0x1c91cb(0x4f5)]=0x0]=_0x1c91cb(0x4f5),_0x17dae7[_0x17dae7[_0x1c91cb(0x18f)]=0x1]=_0x1c91cb(0x18f),_0x17dae7[_0x17dae7[_0x1c91cb(0x169)]=0x2]='UNIVER_SHEET',_0x17dae7[_0x17dae7[_0x1c91cb(0x1f6)]=0x3]=_0x1c91cb(0x1f6),_0x17dae7[_0x17dae7[_0x1c91cb(0x147)]=0x4]=_0x1c91cb(0x147),_0x17dae7[_0x17dae7[_0x1c91cb(0x159)]=-0x1]=_0x1c91cb(0x159),_0x17dae7))(ae||{}),W=(_0x411c41=>(_0x411c41[_0x411c41['UNKNOWN_CMD']=0x0]=_0x1c91cb(0xf3),_0x411c41[_0x411c41['HELLO']=0x1]=_0x1c91cb(0x176),_0x411c41[_0x411c41[_0x1c91cb(0x3c2)]=0x2]='JOIN',_0x411c41[_0x411c41[_0x1c91cb(0x194)]=0x3]='LEAVE',_0x411c41[_0x411c41['INGEST']=0x4]='INGEST',_0x411c41[_0x411c41[_0x1c91cb(0x183)]=0x5]=_0x1c91cb(0x183),_0x411c41[_0x411c41[_0x1c91cb(0x2db)]=0x6]=_0x1c91cb(0x2db),_0x411c41[_0x411c41[_0x1c91cb(0x159)]=-0x1]=_0x1c91cb(0x159),_0x411c41))(W||{}),Pe=(_0x4cb1a9=>(_0x4cb1a9[_0x4cb1a9[_0x1c91cb(0x4cb)]=0x0]=_0x1c91cb(0x4cb),_0x4cb1a9[_0x4cb1a9['OK']=0x1]='OK',_0x4cb1a9[_0x4cb1a9[_0x1c91cb(0x259)]=0x2]=_0x1c91cb(0x259),_0x4cb1a9[_0x4cb1a9[_0x1c91cb(0x133)]=0x3e9]='JOIN_ROOM_FULL',_0x4cb1a9[_0x4cb1a9['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x4cb1a9[_0x4cb1a9['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x1c91cb(0x156),_0x4cb1a9[_0x4cb1a9[_0x1c91cb(0x323)]=0x3ec]=_0x1c91cb(0x323),_0x4cb1a9[_0x4cb1a9[_0x1c91cb(0x159)]=-0x1]=_0x1c91cb(0x159),_0x4cb1a9))(Pe||{}),Vi=(_0xbed4b1=>(_0xbed4b1[_0xbed4b1['Undefined']=0x0]='Undefined',_0xbed4b1[_0xbed4b1[_0x1c91cb(0x249)]=0x1]=_0x1c91cb(0x249),_0xbed4b1[_0xbed4b1[_0x1c91cb(0x168)]=0x2]=_0x1c91cb(0x168),_0xbed4b1[_0xbed4b1['UnitEmbedded']=0x3]=_0x1c91cb(0x2a9),_0xbed4b1[_0xbed4b1['UnitSnapshot']=0x4]=_0x1c91cb(0x39e),_0xbed4b1[_0xbed4b1[_0x1c91cb(0x159)]=-0x1]='UNRECOGNIZED',_0xbed4b1))(Vi||{});const Q=_0x1c91cb(0x1b8),Bn={};function kn(_0x271c2a){const _0x5d9145=_0x1c91cb;var _0x112f0f,_0x738b14,_0x2dee1e,_0x75106,_0x35521a;const _0x95552=_0x271c2a[_0x5d9145(0x202)],_0x9e3131=JSON[_0x5d9145(0x4f3)](_0x95552);switch(_0x9e3131[_0x5d9145(0x385)]){case W['HEARTBEAT']:case W[_0x5d9145(0x176)]:{const _0x51ee23=_0x9e3131[_0x5d9145(0x182)];return{..._0x9e3131,'data':_0x51ee23,'cmd':_0x9e3131[_0x5d9145(0x385)]};}case W[_0x5d9145(0x3c2)]:{const _0x23b45c=_0x9e3131[_0x5d9145(0x26f)];return{..._0x9e3131,'data':_0x23b45c,'cmd':_0x9e3131[_0x5d9145(0x385)]};}case W[_0x5d9145(0x2db)]:{const _0x5dbc70=_0x9e3131[_0x5d9145(0x18b)];switch(_0x5dbc70[_0x5d9145(0x42b)]){case _0x596510[_0x5d9145(0x2bf)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':(_0x112f0f=_0x5dbc70['permissionRejEvent'])==null?void 0x0:_0x112f0f['cs']},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x376)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':(_0x738b14=_0x5dbc70[_0x5d9145(0x3f7)])==null?void 0x0:_0x738b14['cs']},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x105)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':(_0x2dee1e=_0x5dbc70[_0x5d9145(0x15e)])==null?void 0x0:_0x2dee1e['cs']},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x3b4)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':(_0x75106=_0x5dbc70[_0x5d9145(0x1a2)])==null?void 0x0:_0x75106['cs']},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x111)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':(_0x35521a=_0x5dbc70['csShouldRetryEvent'])==null?void 0x0:_0x35521a['cs']},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x19c)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x130)]},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x336)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x2cf)]},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510['USERS_LEAVE']:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x1f5)]},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x3a9)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x125)]},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x48a)]:case _0x596510[_0x5d9145(0x38d)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70['liveShareOperation']},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x462)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x125)]},'cmd':_0x9e3131['cmd']};case _0x596510[_0x5d9145(0x2b0)]:return{..._0x9e3131,'data':_0x5dbc70,'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510[_0x5d9145(0x28e)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0xfa)]},'cmd':_0x9e3131['cmd']};case _0x596510[_0x5d9145(0x2f0)]:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x16d)]},'cmd':_0x9e3131[_0x5d9145(0x385)]};case _0x596510['SHOULD_CLOSE_CONN']:return{..._0x9e3131,'data':{..._0x5dbc70,'data':_0x5dbc70[_0x5d9145(0x321)]},'cmd':_0x9e3131[_0x5d9145(0x385)]};default:return _0x9e3131;}}default:return _0x9e3131;}}function Wn(_0x225a48){const _0x5203e2=_0x1c91cb;switch(_0x225a48[_0x5203e2(0x385)]){case W['HEARTBEAT']:case W['HELLO']:return JSON[_0x5203e2(0x397)]({'cmd':_0x225a48['cmd'],'routeKey':_0x225a48[_0x5203e2(0x2ab)]});case W[_0x5203e2(0x458)]:{let _0x2621bf;switch(_0x225a48['data'][_0x5203e2(0x42b)]){case _0x596510[_0x5203e2(0x19c)]:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x19c)],'updateCursorEvent':_0x225a48[_0x5203e2(0x202)][_0x5203e2(0x202)]};break;}case _0x596510['USERS_LEAVE']:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x137)],'leaveEvent':_0x225a48[_0x5203e2(0x202)][_0x5203e2(0x202)]};break;}case _0x596510[_0x5203e2(0x336)]:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x336)],'joinEvent':_0x225a48['data'][_0x5203e2(0x202)]};break;}case _0x596510[_0x5203e2(0x3a9)]:{_0x2621bf={'eventID':_0x596510['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x225a48['data'][_0x5203e2(0x202)]};break;}case _0x596510[_0x5203e2(0x38d)]:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x38d)],'liveShareOperation':_0x225a48[_0x5203e2(0x202)][_0x5203e2(0x202)]};break;}case _0x596510[_0x5203e2(0x462)]:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x462)],'liveShareTerminate':_0x225a48[_0x5203e2(0x202)][_0x5203e2(0x202)]};break;}case _0x596510[_0x5203e2(0x4a0)]:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x4a0)],'liveShareRequestHost':_0x225a48[_0x5203e2(0x202)][_0x5203e2(0x202)]};break;}case _0x596510[_0x5203e2(0x48a)]:{_0x2621bf={'eventID':_0x596510[_0x5203e2(0x48a)]};break;}default:_0x2621bf={'eventID':_0x225a48['data'][_0x5203e2(0x42b)]};}return JSON[_0x5203e2(0x397)]({'cmd':_0x225a48[_0x5203e2(0x385)],'routeKey':_0x225a48[_0x5203e2(0x2ab)],'collaMsg':_0x2621bf});}case W[_0x5203e2(0x3c2)]:return JSON[_0x5203e2(0x397)]({'cmd':_0x225a48[_0x5203e2(0x385)],'routeKey':_0x225a48[_0x5203e2(0x2ab)],'joinReq':_0x225a48[_0x5203e2(0x202)]});case W[_0x5203e2(0x194)]:return JSON[_0x5203e2(0x397)]({'cmd':_0x225a48[_0x5203e2(0x385)],'routeKey':_0x225a48[_0x5203e2(0x2ab)],'leaveReq':_0x225a48[_0x5203e2(0x202)]});default:throw new Error(_0x5203e2(0x16a));}}var Fn=Object[_0x1c91cb(0x502)],Vn=Object[_0x1c91cb(0x439)],Gn=(_0x16234a,_0x293ef2,_0xd6ef21,_0x491e93)=>{for(var _0x440183=_0x491e93>0x1?void 0x0:_0x491e93?Vn(_0x293ef2,_0xd6ef21):_0x293ef2,_0x474fde=_0x16234a['length']-0x1,_0x41ba12;_0x474fde>=0x0;_0x474fde--)(_0x41ba12=_0x16234a[_0x474fde])&&(_0x440183=(_0x491e93?_0x41ba12(_0x293ef2,_0xd6ef21,_0x440183):_0x41ba12(_0x440183))||_0x440183);return _0x491e93&&_0x440183&&Fn(_0x293ef2,_0xd6ef21,_0x440183),_0x440183;},ze=(_0x39a9cd,_0x1f3fa2)=>(_0x2c3c25,_0x3889d8)=>_0x1f3fa2(_0x2c3c25,_0x3889d8,_0x39a9cd);const Gi=_0x418c93('univer-pro.collaboration-client-socket-service');function Yn(_0x270e27,_0x461489,_0x2341f4){const _0x1209e5=_0x1c91cb;return _0x270e27+'/'+_0x461489+'/unit/'+_0x2341f4+_0x1209e5(0x4a9);}let cs=class extends _0x4b86a3{constructor(_0x40575d,_0x4825c4,_0x569d88,_0x233743,_0x562043){const _0x244ce4=_0x1c91cb;super(),this['_http']=_0x40575d,this[_0x244ce4(0x222)]=_0x4825c4,this[_0x244ce4(0x379)]=_0x569d88,this[_0x244ce4(0x2fc)]=_0x233743,this['_snapshotServerService']=_0x562043;}[_0x1c91cb(0x41c)](_0x5ddfbf){const _0x125aea=_0x1c91cb,_0x285a68=this[_0x125aea(0x222)][_0x125aea(0x41c)](_0x5ddfbf);if(!_0x285a68)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x249ef3=new _0x70760(),_0x42f1ee=new _0x20b5e4();_0x249ef3[_0x125aea(0x277)](_0x285a68[_0x125aea(0x127)][_0x125aea(0x432)](_0x5ebf5b=>_0x42f1ee[_0x125aea(0x1eb)](_0x5ebf5b))),_0x249ef3[_0x125aea(0x277)](_0x20cd7e(()=>_0x42f1ee[_0x125aea(0x404)]()));const _0x2f94b3=new _0x20b5e4();_0x249ef3[_0x125aea(0x277)](_0x285a68[_0x125aea(0x31f)][_0x125aea(0x432)](_0x1365c8=>_0x2f94b3['next'](_0x1365c8))),_0x249ef3[_0x125aea(0x277)](_0x20cd7e(()=>_0x2f94b3['complete']()));const _0x4fbdd2=new _0x20b5e4();_0x249ef3['add'](_0x285a68[_0x125aea(0x405)][_0x125aea(0x432)](_0x578f6=>{const _0x3a5771=_0x125aea,_0x386aca=kn(_0x578f6);_0x4fbdd2[_0x3a5771(0x1eb)](_0x386aca);})),_0x249ef3['add'](_0x20cd7e(()=>_0x4fbdd2[_0x125aea(0x404)]()));let _0x36078f;const _0x5a1f9f=()=>{const _0x59af05=_0x125aea;_0x2f94b3[_0x59af05(0x1eb)](new Event(_0x59af05(0x4c6))),_0x42f1ee['next'](new CloseEvent(_0x59af05(0x4c6))),_0x36078f['close']();};return _0x36078f={'memberID':'','close$':_0x42f1ee[_0x125aea(0x141)](),'error$':_0x2f94b3['asObservable'](),'open$':_0x285a68[_0x125aea(0x1c8)],'message$':_0x4fbdd2['asObservable'](),'send':_0x2a6a33=>{const _0x11f110=_0x125aea;if(_0x2a6a33[_0x11f110(0x385)]===W[_0x11f110(0x458)]){if(_0x2a6a33[_0x11f110(0x202)][_0x11f110(0x42b)]===_0x596510[_0x11f110(0x304)]){this['_submitChangeset'](_0x36078f,_0x2a6a33[_0x11f110(0x202)])['catch'](_0x1d77c9=>{const _0x259485=_0x11f110;this['_logService'][_0x259485(0x4d3)](_0x1d77c9),_0x5a1f9f();});return;}if(_0x2a6a33[_0x11f110(0x202)][_0x11f110(0x42b)]===_0x596510['FETCH_MISSING']){const _0xef49ef=_0x2a6a33[_0x11f110(0x202)];this[_0x11f110(0x14b)](_0xef49ef)['then'](_0x1b8b84=>{const _0x249b23=_0x11f110;_0x4fbdd2[_0x249b23(0x1eb)]({'cmd':W[_0x249b23(0x2db)],'code':Pe['OK'],'routeKey':_0xef49ef['data'][_0x249b23(0x1ab)],'routeType':'','data':{'eventID':_0x596510[_0x249b23(0x143)],'data':{'changesets':_0x1b8b84}}});})['catch'](_0x14f4d8=>{const _0x1fe0df=_0x11f110;this['_logService'][_0x1fe0df(0x4d3)](_0x14f4d8),_0x5a1f9f();});return;}}_0x285a68['send'](Wn(_0x2a6a33));},'close':()=>{const _0x1f7d0a=_0x125aea;_0x285a68[_0x1f7d0a(0x136)](),_0x249ef3['dispose']();}},_0x36078f;}async['_submitChangeset'](_0x1c7b9e,_0x1a39a7){const _0x5163b0=_0x1c91cb;var _0x19727f,_0x3b5b6c;const {unitType:_0x1697c9,unitID:_0x12992c,changeset:_0x3f4c31}=_0x1a39a7[_0x5163b0(0x202)],_0x4169e2={'unitID':_0x12992c,'memberID':_0x1c7b9e['memberID'],'type':_0x1697c9,'changeset':_0x129112(_0x3f4c31)},_0x4f0200=this[_0x5163b0(0x379)][_0x5163b0(0x34d)](Ln),_0x178cb2=this[_0x5163b0(0x379)]['getConfig'](Q),_0x3d899f=Yn((_0x3b5b6c=(_0x19727f=_0x178cb2==null?void 0x0:_0x178cb2['collabSubmitChangesetUrl'])!=null?_0x19727f:_0x4f0200)!=null?_0x3b5b6c:$n,_0x1697c9,_0x12992c);try{await this[_0x5163b0(0x378)][_0x5163b0(0x40b)](_0x3d899f,{'body':_0x4169e2});}catch(_0x5390b2){throw this[_0x5163b0(0x2fc)]['error'](_0x5163b0(0x508),_0x5163b0(0x1e9)),_0x5390b2;}}async[_0x1c91cb(0x14b)](_0xcb33f1){const _0x4b8179=_0x1c91cb,{unitID:_0x422c2b,from:_0x26f53e,to:_0x4ed632,unitType:_0x41c230}=_0xcb33f1[_0x4b8179(0x202)];return(await this['_snapshotServerService'][_0x4b8179(0x135)]({'metadata':void 0x0},{'unitID':_0x422c2b,'type':_0x41c230,'from':_0x26f53e,'to':_0x4ed632}))[_0x4b8179(0x1ad)];}};cs=Gn([ze(0x0,_0x5beccd(_0x170656)),ze(0x1,_0x5beccd(_0x11b680)),ze(0x2,_0x385706),ze(0x3,_0x535daf),ze(0x4,_0x2fb7b6)],cs);const Kn='collaboration_new_changeset';function qn(_0x4fcb68){const _0x5d5567=_0x1c91cb;return JSON[_0x5d5567(0x397)](_0x4fcb68)[_0x5d5567(0x38b)];}class Yi{constructor(){const _0x4020a8=_0x1c91cb;g(this,_0x4020a8(0x4eb),new _0x20b5e4()),g(this,'commentUpdate$',this[_0x4020a8(0x4eb)][_0x4020a8(0x141)]());}[_0x1c91cb(0x450)](_0x4360f5){const _0x1a1474=_0x1c91cb;this[_0x1a1474(0x4eb)]['next'](_0x4360f5);}}var zn=Object[_0x1c91cb(0x502)],Xn=Object[_0x1c91cb(0x439)],Jn=(_0x45a871,_0x90e2d2,_0x2f3db4,_0x3bf442)=>{const _0xa02c9=_0x1c91cb;for(var _0x25c85a=_0x3bf442>0x1?void 0x0:_0x3bf442?Xn(_0x90e2d2,_0x2f3db4):_0x90e2d2,_0x397886=_0x45a871[_0xa02c9(0x38b)]-0x1,_0x3ef5fe;_0x397886>=0x0;_0x397886--)(_0x3ef5fe=_0x45a871[_0x397886])&&(_0x25c85a=(_0x3bf442?_0x3ef5fe(_0x90e2d2,_0x2f3db4,_0x25c85a):_0x3ef5fe(_0x25c85a))||_0x25c85a);return _0x3bf442&&_0x25c85a&&zn(_0x90e2d2,_0x2f3db4,_0x25c85a),_0x25c85a;},Ks=(_0x17beab,_0x1d2f40)=>(_0x3cb855,_0x58d4c0)=>_0x1d2f40(_0x3cb855,_0x58d4c0,_0x17beab);let Me=class extends _0x4b86a3{constructor(_0x14677e,_0x48b95b){const _0x38ac4e=_0x1c91cb;super(),g(this,_0x38ac4e(0x294),new Map()),(this[_0x38ac4e(0x494)]=_0x14677e,this[_0x38ac4e(0x27b)]=_0x48b95b,this[_0x38ac4e(0x29c)](_0x20cd7e(_0x10a92b(this[_0x38ac4e(0x494)][_0x38ac4e(0x392)](_0x2579e6[_0x38ac4e(0x169)])['pipe'](_0x349821(_0x1a8803=>_0x1a8803[_0x38ac4e(0x2f3)]())),this[_0x38ac4e(0x494)][_0x38ac4e(0x392)](_0x2579e6['UNIVER_DOC'])['pipe'](_0x349821(_0x5980bc=>_0x5980bc[_0x38ac4e(0x2f3)]())),this[_0x38ac4e(0x494)]['getTypeOfUnitDisposed$'](_0x2579e6['UNIVER_SLIDE'])[_0x38ac4e(0x1c3)](_0x349821(_0x727ce1=>_0x727ce1[_0x38ac4e(0x2f3)]())))[_0x38ac4e(0x432)](_0x272418=>this[_0x38ac4e(0x1df)](_0x272418)))));}[_0x1c91cb(0x4e6)](_0x1d9a5d){this['_userManagerService']['setCurrentUser'](_0x1d9a5d);}[_0x1c91cb(0x232)](){const _0x530f6f=_0x1c91cb;return this[_0x530f6f(0x27b)][_0x530f6f(0x232)]();}[_0x1c91cb(0x3a4)](_0x2cb851,_0x43b791){const _0xcc26a3=_0x1c91cb;let _0x19024b=this[_0xcc26a3(0x294)]['get'](_0x2cb851);_0x19024b||(_0x19024b=new Zn(),this['_roomMembers'][_0xcc26a3(0x1e5)](_0x2cb851,_0x19024b)),_0x19024b[_0xcc26a3(0x3a4)](_0x43b791);}['removeMember'](_0x5efa55,_0x50503d){const _0x36bfd0=_0x1c91cb,_0x39cc37=this[_0x36bfd0(0x294)][_0x36bfd0(0x470)](_0x5efa55);_0x39cc37&&_0x39cc37['removeMember'](_0x50503d);}[_0x1c91cb(0x16f)](_0x5a31a4){const _0x59c344=_0x1c91cb;return this[_0x59c344(0x294)][_0x59c344(0x470)](_0x5a31a4);}['getMember'](_0x321f86,_0x16b7e2){const _0x376b11=_0x1c91cb,_0x239a68=this[_0x376b11(0x294)][_0x376b11(0x470)](_0x321f86);if(_0x239a68)return _0x239a68[_0x376b11(0x270)](_0x16b7e2);}[_0x1c91cb(0x1df)](_0x2765fb){const _0x1dfd74=_0x1c91cb,_0x11cca4=this[_0x1dfd74(0x294)]['get'](_0x2765fb);_0x11cca4&&(_0x11cca4['dispose'](),this['_roomMembers']['delete'](_0x2765fb));}[_0x1c91cb(0x345)](){const _0x24a5f0=_0x1c91cb;this[_0x24a5f0(0x294)][_0x24a5f0(0x180)](_0x576539=>_0x576539[_0x24a5f0(0x345)]()),this[_0x24a5f0(0x294)][_0x24a5f0(0x45b)]();}};function _0x1547(){const _0x3d0b90=['FromArray','withCredentials','putCollaborators','_onLocalMutation','_onJoinRoomEvent','generateRandomId','/collaborator','CHANGESET_ACK','_nDataBytes','_http','_configService','\x20-\x20','HEARTBEAT_INTERVAL','getStateCache','_onRemoteRejected','concat','_drawRectRange','/universer-api/snapshot/','onRemoteRej','[SyncedState]:\x20received\x20rejection.','onTransformState','_registerRenderDependencies','cmd','some','_iKey','Hasher','VIEW_MAIN','skeleton','length','onTransformIME','LIVESHARE_OPERATION','_localCacheService','805HRvwzB','collabStatus.conflict','3778305ovlBWY','getTypeOfUnitDisposed$','ref','_disabled','PERSON','_docTransformStateCacheService','stringify','byteOffset','_colorIndex','_socketService','BlockCipher','/universer-api/stream/file/upload','objectActions','UnitSnapshot','DeleteRangeMoveUpCommandId','Latin1','fetchThroughInterceptors','_unlockTransition','_sendHeartbeat','updateMember','&source=','_state','crypto','getMergeData','LIVESHARE_NEW_HOST','_draw','933201mLzylL','sessionTicket','_refreshCollabCursors','row','_acknowledgedAwaitingChangeset','cursorInfo','updatePermissionPoint','current','APPLY_REVISION_CONFILICT','CHANGESET_REJ','status$','SNAPSHOT_INVALID_SNAPSHOT','_updateSubUnitFromURLParams','indexOf','_docSkeleton','[CollaborationEntity]','[CollaborationSessionService]','_waitForHeartbeatResponse','collab-text-anchor-','collab-text-range-','onMissingChangesets','_docStateChangeManagerService','COLLAB_SUBMIT_CHANGESET_URL','JOIN','_getScale','_onFetchMissResult','univer-offline','format','_doProcessBlock','_snapshotService','permission.title','_transformIMECache','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','unitId','assignAColorForMemberID','_toggleOffline','getUndoRedoMutationParamsCache','getSkeleton','_docClipboardService','_getAPIPrefix','_parse','YUUMI_SUBSCRIPTION_NOT_FOUND','TOO_MANY_REQUESTS','removeMember','_startCollaboration','onStarting','_singleActiveUnitService','map','getCollabCursors$','userID','c2Prime','url','_iv','_showConflictNotification','createCollaborator','_backgroundColor','_localStorageService','awaiting','?url=','ERROR_IMAGE_TYPE','getCellPositionByOffset','copyFileMeta','colorChannel1','TEXT','0\x200\x2016\x2016','rgba(255,\x20255,\x20255,\x200.01)','_clearLocalCache','_drawAnchor','_getLoginPath','session','storage','resolve','session.room-full','range','_clearScheduledTask','has','csAckEvent','/universer-api/snapshot','image/jpg','conflict.title','updateOfflineData','_transformStack','UNAUTHENTICATED','exports','_getSaveTimeout','_createSocket','HMAC','_throwTelemetryCollaborationNewChangeset','[CollaborationState]:\x20apply\x20error!','complete','message$','state','executeCommand','roomMembers$','_type','_removeClearOtherTimer','post','[OfflineState]:\x20received\x20acknowledgement.','MoveRangeCommandId','black','jsx','_tryReconnect','SEND_CHANGESET_TIMEOUT','getRangePointData','isEditing','APPLY_DUPLICATED','_hover','_append','onTransformRemoteChangesetByIMECache','processBlock','addClipboardHook','_onRefRangeChange','setParam','createSocket','purple300','removeParam','getValue','enableOfflineEditing','round','react.fragment','unshift','_shapes','beginPath','_initMergeInterceptor','_transformSelections','telemetry\x20info\x20is\x20not\x20initialized','encode','LOGIN_URL_KEY','eventID','RECT','session.room-not-exists','_createInitialState','ciphertext','toggleOffline','_queuedRemoteChangesets','subscribe','JOIN_ROOM_NOT_EXISTS','_candidateSocket','[SyncedState]:\x20received\x20acknowledgement.','_onRemoteACK','localeService','_collaborationPaused','getOwnPropertyDescriptor','getRandomValues','_clearUndo','Pkcs7','_context','_timeoutTimer','list','/-/object/-/batch_allowed','use','redoState','fetching\x20missing\x20changesets\x20from\x20','_event$','RemoveRowCommandId','finalize','transformUndoRedo','getCurrentRevOfUnit','_clearOtherTimers','/universer-api/authz','_getSendChangesetTimeout','unitId\x20is\x20not\x20found','[CollaborationUndoRedoService]','compose','enableAuthServer','onCommentUpdate','find','SYNCED','UNDEFINED','getUnitStatus$','code','unit','src','INGEST','salt','headers','clear','_checkMissing','_HTTPService','_retryCount','revision','measureText','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','LIVESHARE_TERMINATE','_key','target','_clearTimeoutTimer','_send','_clearHeartbeatTimer','incrementRevOfUnit','algo','BufferedBlockAlgorithm','_updateCollabCursors','sessionStatus','WordArray','_onConnectionOpen','fromCharCode','get','roles','_color','encodeURIComponent','_loadSheet','getViewport','onPointerEnter$','_keyPriorReset','_httpService','_map','_docSkeletonManagerService','_updateLocalCursor','resend','_doFinalize','Base','_sendingTimer','_socketReady','transformStack\x20failed!','getVpScrollXYInfoByPosToVp','RETRY_CONNECTING_MAX_COUNT','_socket','onTransformSelections','objectID','onlineStatusTitle','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','...','LIVESHARE_FETCH_OPERATIONS','setShowComponents','hasOwnProperty','_beforeCloseService','_cursors','displayName','YUUMI_UNABLE_LOAD_URL','loginUrlKey','_unitOnClients','currentColor','_univerInstanceService','_docSyncEditingCollabCursorService','off-line-single_clip0_910_343','0\x200\x2017\x2016','fillRule','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_initCommandExecutedListener','number','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getCollabEntity','image/jpeg','assign','LIVESHARE_REQUEST_HOST','_registerDependencies','PasswordBasedCipher','ONLINE','pushState','[FetchMissState]','onRemoteAck','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','every','/new_changes','whenReady','action','Unknown\x20user','getInterceptPoints','editingUnit','FETCH_MISSING','_applyRemoteChangeset','sheets','getUnit','getParam','_hasher','_cipher','NO_OTHER_CLIENTS_EDITING','ranges','fillText','_compressMutationService','_decreaseWaiting','setUndoRedoMutationParamsCache','onMissedChangesetFetched','duration','originalMeta','_messageService','_doReset','push','/object','type','[DataLoaderController]','authzUrl','connection\x20error','_initResize','offline','enableLocalCache','LICENSE_IMPORT_SIZE_EXCEEDED','UNKNOWN_CODE','HmacMD5','_imageSourceCache','_cursorShapes','reverse','randomUUID','selection','closeSession','error','arc','save','_eventUnsubscribe','updateCollaborator','_isPermissionRej','wsSessionTicketUrl','_retryConnectingTimer','clamp','_transformRemoteChangesetByIMECache','[CollaborationSessionService]:\x20socket\x20error','collabWebSocketUrl','icon','_prevBlock','_docTransformIMECacheService','findNodePositionByCharIndex','result','AES','_updateLocalCache','setCurrentUser','/universer-api/file/{fileID}/sign-url','PERMISSION_DENIED','_getSheetObject','_selfUnitIDs','_commentUpdate$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_changesetReqId','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','values','retryConnectingInterval','_onRecvEvent','getImage','parse','transformMutation','UNIVER_UNKNOWN','/object/','buffer','unknown','_executeRemoteChangeset','replaceState','_scheduleCollaborationTimeoutTimer','registerRefRange','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','EXCHANGE_SIGN_URL_SERVER_URL_KEY','setAlpha','_remoteChangesetQueue','_substituteUndoStack','defineProperty','_getCurrentRevision','collab-rect-range-','transformIMECache','UNIVER_COLLABORATION_CLIENT_PLUGIN','gold400','[CollaborationSession]','_nRounds','randomBytes','_session','/universer-api/oidc/authpage','_initRequestHeader','_heartbeatTimer','_onConnectionFailed','verdancy600','_minBufferSize','snapshot','refreshPermission','NoPadding','_telemetryInfo','_getDownloadEndpointURL','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_themeService','getTypeOfUnitAdded$','xlink:href','_range','_drawTextRange','1256827XCcaZd','APPLY_REJECT','\x0aCurrent:\x20','loadDoc','status','_rescheduleHeartbeat','NOT_FOUND','UNKNOWN_CMD','sheetId','from','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_substituteRedoStack','286938ihDCzF','_onUserLeave','commentUpdateEvent','_updateURLWithCurrentState','addObject','toString','onSyncEditingCollabCursor','call','BASE64','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CONFLICT','lib','getSheetBlock','NEW_CHANGESETS','_sessionStatus$','_collabSessionService','extend','_collaborationController','size','InsertColCommandId','rng','createEncryptor','setInterval','engine','/rev/','CHANGESET_SHOULD_RETRY','collabStatus.syncing','_lastPointer','fetchMiss','floor','title','change$','LICENSE_MAX_UNITS_EXCEEDED','collaboration.closeRoom','_assignedColors','_change$','labelPosition','image/gif','_transformPreviousActiveRange','InsertRowCommandId','_imageIoService','sigBytes','_process','?size=','_replayCachedMutations','liveShareNewHost','_handleJoinEvent','close$','focused$','LICENSE_EXPORT_SIZE_EXCEEDED','onload','batchAllowed','_changesetSessionId','OFFLINE','DEFAULT_FILE_NAME','/block/','updateCursorEvent','conflict.content','endColumn','JOIN_ROOM_FULL','m1Prime','fetchMissingChangesets','close','USERS_LEAVE','session.join-failed','_handleHeartbeatEvent','SHA1','snapshotServerUrl','url(#off-line-single_clip0_910_343)','textRanges','text','People','react.element','asObservable','OffLineSingle','PSEUDO_FETCH_MISSING_RESULT','_tryEnsureSocket','includes','JOINING','UNIVER_PROJECT','onTransformRemoteChangesetByStateCache','getActiveRange','saveImage','_fetchMissChangesets','PENDING','attrs','_undoStacks','_colorAssignService','_mode','function','selections','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','reject','LOCAL_CACHE_INTERVAL','JOIN_ROOM_PERMISSION_DENIED','univer-online-status-title','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNRECOGNIZED','searchParams','triggerDblclick','onStateChange','saveChangeset','newCsEvent','_removeCollabCursors','delete','compute','_updateStatus','unpad','SUCCUSS','fill','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','roomMembers','HttpExport','UNIVER_SHEET','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','INVALID_ARGUMENT','synced','updatePermissionObjEvent','startsWith','getRoom','cfg','_sender','subject','min','onRemoteChangeset','jsxs','HELLO','awaitingChangeset','_handleLeaveEvent','MD5','__Key__','registerOnClose','encryptBlock','flatMap','COLLAB_WEB_SOCKET_URL','getCollabEntity$','forEach','collaborators','infoRsp','HEARTBEAT','socket$','getRelativeToViewportCoord','disableLocalCache','getWorkbookSelections','_data','reset','filter','collaMsg','4biNDPX','symbol','image/bmp','UNIVER_DOC','enableSingleActiveInstanceLock','CHANGESET_REVISION_CONFILICT','newValue','currentTheme$','LEAVE','split','[PendingState]:\x20received\x20rejection.','lineTo','x-univer-host','Utf8','YUUMI_RATE_OVER_LIMIT','_getCtorByUniverType','UPDATE_CURSOR','SNAPSHOT_URL_KEY','method','_roomMembers$','_urlService','collabStatus.notCollab','csRejEvent','UniverIcon','dispose$','/role','_scheduleSaving','state$','startColumn','_getUndoStack','_id','unitID','_handler','changesets','_collabCursorController','setTimeout','resourceIDs','[PendingState]:\x20received\x20acknowledgement.','origin','APPLY_NON_SEQUENTIAL_REVISION','responseType','_resendWithTimeout','children','_pendingMutations','collaboration-client.config','Malformed\x20UTF-8\x20data','override','_permissionService','initWorkbookPermissionChange','getTime','onPointerLeave$','pluginName','ENSURE_SNAPSHOT_EXECUTION','_document','_createSocketURL','pipe','session.room-cnt-exceeds','stopTime','then','restore','open$','uploadFileServerUrl','_invKeySchedule','sin','_initUnitPermissionChange','transformRemoteChangeset','rev','transformSelections','decrypt','_socket$','addImageSourceCache','startTime','defs','Could\x20not\x20dynamically\x20require\x20\x22','getUnitOnRev','_setupSubUnitSync','isActive','not_collab','fillStyle','unit-cache-','formatter','hasher','syncEditingCollabCursor','_removeRoom','saveOfflineData','reconnect','loadSheet','_lockTransition','getMemberID','set','_exhaustRemoteChangesetQueue','getLatestCsReqIdBySid','reqId','submit\x20changeset\x20error!','_init','next','downloadEndpointUrl','kdf','/universer-api/user/session-ticket','mixIn','_collaborationSessionService','Cipher','c1Prime','editing\x20status\x20changed\x20to','patch','leaveEvent','UNIVER_SLIDE','onReady','charAt','body','_anchor','session.connection-failed','execute','_startDocCollabCursor','for','create','_onRemoteChangeset','_telemetryService','data','collaboration-session-retry','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getRenderById','online','_status$','_saveTaskMap','1em','_initDependencies','m2Prime','EvpKDF','_onCursorDelete','_onConflict','workbook','fetch_missing','SerializableCipher','NOT_COLLAB','toggleOnline','COMPRESS_MUTATION_APPLY','getUnitType','\x20to\x20','/fetchmissing?from=','_online','_scene','_collaborationTimeoutTimer','_getSessionTicket','collabStatus.offline','path','getItem','idSuffix','INTERNAL_ERROR','_onCursorUpdate','_ws','_toggleOnline','_xformMode','_getMergeRange','_loadDoc','clearInterval','all','_entityInit$','LICENSE_DISTRO_REJECTED','_awaitingChangeset','history','848560tOqvbn','_transitionLocked','_startTelemetryCollaborationNewChangeset','_onMessage','_shouldReportTelemetry','getCurrentUser','collaboratorID','undoState','doc.mutation.rich-text-editing','APPLY_PERMISSION_DENIED','__creator','debug','onPointerMove$','_notificationService','encrypt','json','Warning','onMouseMove','onCommandExecuted','getCurrent','1118724daDoSk','_createHmacHelper','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleClearOtherTimer','prototype','AWAITING','_transformService','init','HttpImport','saveSnapshot','Encryptor','defIds','words','onlyLocal','subscribeEvent','subunit','sid','AUTHZ_URL_KEY','isPermissionRej','univer-online-status-icon','random','_joinRoom','color','unload','FAIL','url(#$1','_getAPIPrefixPath','_listenToOfflineEvent','Base64','ivSize','registerComponent','repeat','_onRemoteRetry','registerHTTPInterceptor','baseRev','endRow','CBC','socket\x20close','onTransformChange$','top','_transformUndoredo','byteLength','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','deepClone','_cachedData','joinRsp','getMember','appendMutation','OpenSSL','_ensureSubject','getCurrentSelections','red300','svg','add','event$','blue400','_hash','_userManagerService','contains','_refRangeService','pad','getActiveSheet','_initStatusComponent','_commandService','COMPRESS_MUTATION_SEND','IDLE','sheetID','transformChangesets','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','registerRenderModule','ACTIVE_UNIT_EVENT_CHANNEL','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','now','_unitStatus','_undoRedoService','getImageSourceCache','COMMENT_UPDATE','getUniverSheetInstance','_sessions','keySize','readAsDataURL','collabStatus.synced','_roomMembers','sessionStatus$','session.will-retry','max','currentSkeleton$','_syncEditingCollabCursor','addObjects','_cursorInfo$','disposeWithMe','drawWith','propertyIsEnumerable','_injector','BlockCipherMode','_getRedoStack','_setupBeforeClosingHandler','interceptor','_sendHeartbeatTimer','toRgbString','Error','_config','_handleEvent','UnitEmbedded','_commentService','routeKey','update','_hideTimer','_transformUndoRedoStack','_createHandler','MSG_FOR_ERROR','_hovered','_resendTimeout','getAncestorScale','failed\x20to\x20apply\x20missed\x20changesets!','source','requireSession','_transformStateCache','exhaustSavingTask','M0\x200H16V16H0z','permission.content','/-/object/list','RemoveColCommandId','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','auth.needGotoLoginAlert','PERMISSION_REJ','_reverseMap','div','location','_name','_unitID','/allowed','iterations','column','splice','hide','unsubscribe','slice','univer-online','$super','avatar','joinEvent','show','_updateState','OTHER_CLIENTS_EDITING','_textBubble','#FFF','_scheduleTimestamp','tag','ALREADY_EXISTS','append','file','sendChangesetTimeout','RECV','_clearCollaborationTimeoutTimer','pending','_disableEditing','_incrementRevisionNumber','key','_DEC_XFORM_MODE','getSheetBySheetId','requestParams','mutations','FETCH_MISS','fromCollab','cursorInfo$','apply','memberID','on-line-single_clip0_910_349','getOffsetConfig','_collabCursorState$','backgroundColor','_uiPartsService','_getSignURL','UPDATE_PERMISSION_OBJ','MUTATION','_entities','getUnitId','send','trim','on-line-single','getAllMembers','join','_localeService','transformMutationsWithChangeset','collab-client.tooltip.reconnect','_logService','_scheduleHeartbeat','moveTo','conflict','createDecryptor','POST','_getAnchorBounding','socket\x20open.','SUBMIT_CHANGESET','HmacSHA1','transformStateCache','SNAPSHOT_HAS_BEEN_REMOVED','listCollaborators','subUnitId','_instanceService','setWaitCount','_initStatusListener','height','getFocusedUnit','_cursor','reduce','_createHelper','InsertRangeMoveDownCommandId','_handleHover','onSendChangeset','_labelPosition','transform','collaboration-client.offline-data-not-saved','_renderManagerService','SHOULD_CLOSE_CONN','clone','width','ceil','_resendTimer','_memberService','error$','_transformHistoryAndStateStack','shouldCloseConn','image/png','GLOBAL_ROOMS_CNT_EXCEEDS','_onOffline','awaiting_with_pending','_socketMessageSubscription','actions','_members','setShapeProps','_startSheetCollabCursor','padding','with','_transformRemoteChangesetByStateCache','clearTimeout','replaceDocRanges','objectType','_sheetSkeletonManagerService','name','addEventListener','put','params','USERS_ENTER','getOwnPropertySymbols','isArray','_revisionService','href','mode','\x0aAfter:\x20','_doCryptBlock','objects','&assign=','_schedule','getSnapshotAPIPath','_getUploadFileURL','[OfflineState]:\x20received\x20rejection.','_clearRedo','dispose','_initCloseConn','_saveCache','_syncEditingCollabCursorService','#fff','getCurrentUnitForType','univer-online-status','collaboration.single-unit.warning','getConfig','bottom','default','className','AWAITING_WITH_PENDING','evenodd','loadOfflineData','35634wDKFLO','equals','collabCursorState$','url(#on-line-single_clip0_910_349)','_anchorDot','getSheetId','SNAPSHOT_SERVER_URL_KEY','getUnhiddenWorksheets','translate(.97)','CipherParams','_ENC_XFORM_MODE','_initEventListeners','_onCombEvent','/unit/','onRemoteRetry','_createInitialStateImpl','_waitCount','Univer','string','blockSize','Decryptor','docStateChange$','replace','createInstance','getDeserializedSheetBlock','enc','none'];_0x1547=function(){return _0x3d0b90;};return _0x1547();}Me=Jn([Ks(0x0,_0x5283d0),Ks(0x1,_0x5beccd(_0x438cf8))],Me);class Zn extends _0x4b86a3{constructor(){const _0x3ceb7f=_0x1c91cb;super(...arguments),g(this,_0x3ceb7f(0x328),new Map());}[_0x1c91cb(0x345)](){const _0x58d76b=_0x1c91cb;this[_0x58d76b(0x328)][_0x58d76b(0x45b)]();}['updateMember'](_0x1760e1){const _0x14c345=_0x1c91cb;this['_members'][_0x14c345(0x1e5)](_0x1760e1[_0x14c345(0x2e9)],_0x1760e1);}[_0x1c91cb(0x3d6)](_0x52e58b){const _0x4eaa39=_0x1c91cb;this[_0x4eaa39(0x328)]['delete'](_0x52e58b);}[_0x1c91cb(0x270)](_0x10fecb){const _0x220ca2=_0x1c91cb;return this[_0x220ca2(0x328)][_0x220ca2(0x470)](_0x10fecb);}[_0x1c91cb(0x2f7)](){const _0x36fddb=_0x1c91cb;return Array[_0x36fddb(0xf5)](this[_0x36fddb(0x328)][_0x36fddb(0x4ef)]());}}var Qn=Object[_0x1c91cb(0x502)],eo=Object[_0x1c91cb(0x439)],to=(_0x55f8d3,_0x1bcb15,_0x6bc53f,_0x50c973)=>{const _0x18a44c=_0x1c91cb;for(var _0x54ab26=_0x50c973>0x1?void 0x0:_0x50c973?eo(_0x1bcb15,_0x6bc53f):_0x1bcb15,_0x325fa7=_0x55f8d3[_0x18a44c(0x38b)]-0x1,_0x519e5b;_0x325fa7>=0x0;_0x325fa7--)(_0x519e5b=_0x55f8d3[_0x325fa7])&&(_0x54ab26=(_0x50c973?_0x519e5b(_0x1bcb15,_0x6bc53f,_0x54ab26):_0x519e5b(_0x54ab26))||_0x54ab26);return _0x50c973&&_0x54ab26&&Qn(_0x1bcb15,_0x6bc53f,_0x54ab26),_0x54ab26;},Ee=(_0x110b38,_0x2819dd)=>(_0xb760ed,_0x52753e)=>_0x2819dd(_0xb760ed,_0x52753e,_0x110b38),fe=(_0xadabe3=>(_0xadabe3[_0xadabe3[_0x1c91cb(0x283)]=0x0]=_0x1c91cb(0x283),_0xadabe3[_0xadabe3['JOINING']=0x1]=_0x1c91cb(0x146),_0xadabe3[_0xadabe3[_0x1c91cb(0x12d)]=0x2]='OFFLINE',_0xadabe3[_0xadabe3[_0x1c91cb(0x4a3)]=0x3]=_0x1c91cb(0x4a3),_0xadabe3))(fe||{});const qs={[Pe['FAIL']]:_0x1c91cb(0x138),[Pe[_0x1c91cb(0x133)]]:_0x1c91cb(0x3f3),[Pe[_0x1c91cb(0x433)]]:_0x1c91cb(0x42d),[Pe[_0x1c91cb(0x156)]]:'session.room-permission-denied',[Pe[_0x1c91cb(0x323)]]:_0x1c91cb(0x1c4)};let hs=class extends _0x30a9be{constructor(_0x5c0ba0,_0x342a57,_0x5b2e6d,_0x1081fe,_0x5d21eb,_0x3da970,_0x354b37,_0x570eef,_0x3b1d08,_0x5a6750){const _0x40c8b2=_0x1c91cb;super(),g(this,_0x40c8b2(0x106),new _0x3eae3e(0x0)),g(this,_0x40c8b2(0x295),this['_sessionStatus$'][_0x40c8b2(0x141)]()),g(this,'_event$',new _0x20b5e4()),g(this,_0x40c8b2(0x278),this['_event$'][_0x40c8b2(0x141)]()),g(this,_0x40c8b2(0x484)),g(this,_0x40c8b2(0x326)),g(this,_0x40c8b2(0x21a)),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x40c8b2(0xe4),null),(this[_0x40c8b2(0x2c4)]=_0x5c0ba0,this[_0x40c8b2(0x2fc)]=_0x5b2e6d,this[_0x40c8b2(0x48d)]=_0x1081fe,this['_messageService']=_0x5d21eb,this[_0x40c8b2(0x379)]=_0x3da970,this[_0x40c8b2(0x2f9)]=_0x354b37,this['_memberService']=_0x570eef,this[_0x40c8b2(0x2aa)]=_0x3b1d08,this['_telemetryService']=_0x5a6750,this[_0x40c8b2(0x231)]=!!this[_0x40c8b2(0x201)],_0x342a57[_0x40c8b2(0x1c3)](_0x13e2dd(this['dispose$']))[_0x40c8b2(0x432)](_0x2703a4=>{const _0x2c2fe7=_0x40c8b2;var _0x28146c;typeof _0x2703a4>'u'||(this[_0x2c2fe7(0x484)]=_0x2703a4,_0x2703a4?(this[_0x2c2fe7(0x256)](_0x2703a4),this[_0x2c2fe7(0x326)]=_0x2703a4[_0x2c2fe7(0x405)][_0x2c2fe7(0x432)](_0x178082=>{const _0x638e3c=_0x2c2fe7;_0x178082['routeKey']===this[_0x638e3c(0x2c4)]&&this[_0x638e3c(0x360)](_0x178082);})):(this[_0x2c2fe7(0x402)](),this[_0x2c2fe7(0x106)][_0x2c2fe7(0x1eb)](0x2),(_0x28146c=this['_socketMessageSubscription'])==null||_0x28146c[_0x2c2fe7(0x2ca)](),this[_0x2c2fe7(0x326)]=null));}),this['disposeWithMe'](this['_beforeCloseService'][_0x40c8b2(0x17b)](()=>{const _0x4ad671=_0x40c8b2;var _0x3b82e7;(_0x3b82e7=this[_0x4ad671(0x484)])==null||_0x3b82e7[_0x4ad671(0x2f4)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x4ad671(0x2c4)]}});})));}get[_0x1c91cb(0x46c)](){const _0x349556=_0x1c91cb;return this[_0x349556(0x106)]['getValue']();}['getMemberID'](){const _0x5a5327=_0x1c91cb;var _0x216463,_0x4cd456;return(_0x4cd456=(_0x216463=this[_0x5a5327(0x484)])==null?void 0x0:_0x216463['memberID'])!=null?_0x4cd456:null;}[_0x1c91cb(0x345)](){const _0x16c239=_0x1c91cb;super[_0x16c239(0x345)](),this[_0x16c239(0x1a4)][_0x16c239(0x1eb)](),this[_0x16c239(0x1a4)]['complete']();}[_0x1c91cb(0x136)](){const _0x7d86fc=_0x1c91cb;var _0xd9db0d,_0xf7885c;this[_0x7d86fc(0x402)](),(_0xd9db0d=this[_0x7d86fc(0x484)])==null||_0xd9db0d[_0x7d86fc(0x2f4)]({'cmd':W[_0x7d86fc(0x194)],'data':{'roomID':this[_0x7d86fc(0x2c4)]}}),(_0xf7885c=this['_socket'])==null||_0xf7885c[_0x7d86fc(0x136)](),this[_0x7d86fc(0x444)][_0x7d86fc(0x404)](),this['_sessionStatus$'][_0x7d86fc(0x404)](),this[_0x7d86fc(0x345)]();}[_0x1c91cb(0x360)](_0x427bc5){const _0x11e0e8=_0x1c91cb;_0x427bc5['cmd']===W['JOIN']?this['_onJoinRoomEvent'](_0x427bc5):_0x427bc5[_0x11e0e8(0x385)]===W[_0x11e0e8(0x2db)]&&this[_0x11e0e8(0x4f1)](_0x427bc5);}[_0x1c91cb(0x256)](_0x164c68){const _0x234f5e=_0x1c91cb;this['_sessionStatus$'][_0x234f5e(0x1eb)](0x1),_0x164c68[_0x234f5e(0x2f4)]({'cmd':W[_0x234f5e(0x3c2)],'routeKey':this[_0x234f5e(0x2c4)],'routeType':'','data':{'rooms':[{'roomID':this[_0x234f5e(0x2c4)]}]}});}[_0x1c91cb(0x373)](_0x4c711e){const _0x5b5e3a=_0x1c91cb;var _0x24fe93;if(_0x4c711e[_0x5b5e3a(0x455)]in qs){this[_0x5b5e3a(0x4bf)][_0x5b5e3a(0x2d0)]({'type':_0x25a468[_0x5b5e3a(0x23d)],'content':this[_0x5b5e3a(0x2f9)]['t'](qs[_0x4c711e[_0x5b5e3a(0x455)]])}),this[_0x5b5e3a(0x106)][_0x5b5e3a(0x1eb)](0x2);return;}this[_0x5b5e3a(0x106)][_0x5b5e3a(0x1eb)](0x3);const _0x38100f=(_0x24fe93=_0x4c711e[_0x5b5e3a(0x202)]['roomInfos'][this[_0x5b5e3a(0x2c4)]])==null?void 0x0:_0x24fe93['members'];_0x38100f&&_0x38100f[_0x5b5e3a(0x180)](_0x2d81f6=>this['_memberService']['updateMember'](this[_0x5b5e3a(0x2c4)],_0x2d81f6));}[_0x1c91cb(0x4f1)](_0x38fbea){const _0x3171f1=_0x1c91cb;try{const _0x46957c=_0x38fbea[_0x3171f1(0x202)];switch(_0x46957c[_0x3171f1(0x42b)]){case _0x596510[_0x3171f1(0x336)]:this['_onUserJoin'](_0x46957c),this[_0x3171f1(0x444)][_0x3171f1(0x1eb)](_0x46957c);break;case _0x596510[_0x3171f1(0x137)]:this[_0x3171f1(0xf9)](_0x46957c),this[_0x3171f1(0x444)][_0x3171f1(0x1eb)](_0x46957c);break;case _0x596510[_0x3171f1(0x376)]:case _0x596510[_0x3171f1(0x111)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3171f1(0x2dc)](),this['_event$'][_0x3171f1(0x1eb)](_0x46957c);break;case _0x596510[_0x3171f1(0x2b0)]:this[_0x3171f1(0x2fc)][_0x3171f1(0x4d3)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x3171f1(0x397)](_0x46957c)),this[_0x3171f1(0x444)][_0x3171f1(0x1eb)](_0x46957c);break;case _0x596510[_0x3171f1(0x28e)]:this['_commentService'][_0x3171f1(0x450)](_0x46957c[_0x3171f1(0x202)]),this[_0x3171f1(0x444)][_0x3171f1(0x1eb)](_0x46957c);break;default:this[_0x3171f1(0x444)][_0x3171f1(0x1eb)](_0x46957c);}}catch(_0x4d1668){this[_0x3171f1(0x2fc)][_0x3171f1(0x4d3)](_0x4d1668,_0x38fbea);}}['_onUserJoin'](_0x2185c1){const _0x15afc2=_0x1c91cb;this['_memberService'][_0x15afc2(0x3a4)](this['_unitID'],_0x2185c1['data']);}[_0x1c91cb(0xf9)](_0xa2ca84){const _0x57a5db=_0x1c91cb;this['_memberService'][_0x57a5db(0x3d6)](this[_0x57a5db(0x2c4)],_0xa2ca84[_0x57a5db(0x202)][_0x57a5db(0x2e9)]);}async[_0x1c91cb(0x2f4)](_0x422593,_0x48f09b){const _0xb136ee=_0x1c91cb;if(this[_0xb136ee(0x46c)]!==0x3||!this[_0xb136ee(0x484)])throw new Error(_0xb136ee(0x101));try{_0x422593['eventID']===_0x596510['SUBMIT_CHANGESET']&&(this[_0xb136ee(0x4fb)](),this['_startTelemetryCollaborationNewChangeset'](_0x422593)),this['_socket'][_0xb136ee(0x2f4)]({'cmd':W['INGEST'],'routeKey':_0x48f09b,'routeType':'','data':_0x422593});}catch(_0xf03303){this[_0xb136ee(0x2fc)][_0xb136ee(0x4d3)](_0xf03303);}}[_0x1c91cb(0x4fb)](){const _0x2b845c=_0x1c91cb;var _0x56432a;this['_collaborationTimeoutTimer']=window[_0x2b845c(0x1af)](()=>{const _0x2bd451=_0x2b845c;this[_0x2bd451(0x21a)]=null,this['_messageService'][_0x2bd451(0x2d0)]({'type':_0x25a468['Error'],'content':this[_0x2bd451(0x2f9)]['t']('session.collaboration-timeout')});},(_0x56432a=this['_configService'][_0x2b845c(0x34d)](ki))!=null?_0x56432a:Wi);}[_0x1c91cb(0x2dc)](){const _0x55b6a9=_0x1c91cb;this[_0x55b6a9(0x21a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x1c91cb(0x22f)](_0x4e4193){const _0x24e029=_0x1c91cb;if(!this[_0x24e029(0x231)])return;const {data:_0x3caec1}=_0x4e4193,{unitID:_0x512403,changeset:_0x382f3b}=_0x3caec1,{mutations:_0x16ea13,type:_0x10e6f5}=_0x382f3b;this[_0x24e029(0xe4)]={'unitId':_0x512403,'type':_0x10e6f5,'startTime':performance[_0x24e029(0x28a)](),'stopTime':0x0,'duration':0x0,'size':qn(_0x16ea13)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x3ec8e2=_0x1c91cb;if(this['_shouldReportTelemetry']){if(!this[_0x3ec8e2(0xe4)]){this['_logService'][_0x3ec8e2(0x4d3)](_0x3ec8e2(0x508),_0x3ec8e2(0x428));return;}this[_0x3ec8e2(0xe4)][_0x3ec8e2(0x1c5)]=performance[_0x3ec8e2(0x28a)](),this[_0x3ec8e2(0xe4)][_0x3ec8e2(0x4bd)]=this[_0x3ec8e2(0xe4)][_0x3ec8e2(0x1c5)]-this[_0x3ec8e2(0xe4)][_0x3ec8e2(0x1d3)],this[_0x3ec8e2(0x201)]['capture'](Kn,this[_0x3ec8e2(0xe4)]),this[_0x3ec8e2(0xe4)]=null;}}[_0x1c91cb(0x402)](){const _0x1d34b9=_0x1c91cb;this[_0x1d34b9(0xe4)]=null;}};hs=to([Ee(0x2,_0x535daf),Ee(0x3,_0x20e5a2),Ee(0x4,_0x452fb7),Ee(0x5,_0x385706),Ee(0x6,_0x5beccd(_0x1f9468)),Ee(0x7,_0x5beccd(Me)),Ee(0x8,_0x5beccd(Yi)),Ee(0x9,_0x231330(_0x1e0a01))],hs);var so=Object[_0x1c91cb(0x502)],io=Object[_0x1c91cb(0x439)],ro=(_0x4a36a5,_0x4b10c8,_0x227651,_0x2d0849)=>{const _0x158f81=_0x1c91cb;for(var _0x3dca21=_0x2d0849>0x1?void 0x0:_0x2d0849?io(_0x4b10c8,_0x227651):_0x4b10c8,_0x50739c=_0x4a36a5[_0x158f81(0x38b)]-0x1,_0x5bd2a8;_0x50739c>=0x0;_0x50739c--)(_0x5bd2a8=_0x4a36a5[_0x50739c])&&(_0x3dca21=(_0x2d0849?_0x5bd2a8(_0x4b10c8,_0x227651,_0x3dca21):_0x5bd2a8(_0x3dca21))||_0x3dca21);return _0x2d0849&&_0x3dca21&&so(_0x4b10c8,_0x227651,_0x3dca21),_0x3dca21;},ye=(_0x3bc324,_0x46f7a1)=>(_0x10c787,_0x3d5f35)=>_0x46f7a1(_0x10c787,_0x3d5f35,_0x3bc324);let xe=class extends _0x4b86a3{constructor(_0x411562,_0x1afdc3,_0x23147c,_0x2f1cc3,_0x36b56b,_0x127998,_0x4cbda0){const _0x335630=_0x1c91cb;super(),g(this,'_socket$',new _0x3eae3e(void 0x0)),g(this,_0x335630(0x184),this[_0x335630(0x1d1)]['asObservable']()),g(this,'_candidateSocket',null),g(this,_0x335630(0x290),new Map()),g(this,'_status$',new _0x3eae3e(fe['IDLE'])),g(this,_0x335630(0x3b5),this[_0x335630(0x207)][_0x335630(0x141)]()),g(this,_0x335630(0x480),!0x1),g(this,_0x335630(0x4da)),g(this,'_retryCount',0x0),g(this,_0x335630(0x2a4)),g(this,_0x335630(0x43e)),(this[_0x335630(0x29f)]=_0x411562,this['_localeService']=_0x1afdc3,this['_messageService']=_0x23147c,this['_logService']=_0x2f1cc3,this['_configService']=_0x36b56b,this[_0x335630(0x39a)]=_0x127998,this[_0x335630(0x478)]=_0x4cbda0,this[_0x335630(0x35f)]());}get[_0x1c91cb(0x484)](){const _0xda6308=_0x1c91cb;return this[_0xda6308(0x1d1)][_0xda6308(0x41f)]();}['_initEventListeners'](){const _0x47c50f=_0x1c91cb;this[_0x47c50f(0x25c)](),this['_listenToOnlineEvent']();}[_0x1c91cb(0x345)](){const _0x748d58=_0x1c91cb;super[_0x748d58(0x345)](),this[_0x748d58(0x290)][_0x748d58(0x180)](_0x5da580=>_0x5da580[_0x748d58(0x345)]()),this[_0x748d58(0x290)][_0x748d58(0x45b)](),this[_0x748d58(0x207)]['complete']();}async[_0x1c91cb(0x2b6)](_0x2b91d0){const _0x1555e6=_0x1c91cb;if(this[_0x1555e6(0x290)][_0x1555e6(0x3f6)](_0x2b91d0))return this[_0x1555e6(0x290)][_0x1555e6(0x470)](_0x2b91d0);this[_0x1555e6(0x144)]();const _0x1bfb05=this[_0x1555e6(0x29f)]['createInstance'](hs,_0x2b91d0,this[_0x1555e6(0x1d1)][_0x1555e6(0x141)]());return this['_sessions'][_0x1555e6(0x1e5)](_0x2b91d0,_0x1bfb05),_0x1bfb05;}[_0x1c91cb(0x4d2)](_0x587f31){const _0xf214e9=_0x1c91cb;var _0x2bc31f;const _0x37f88f=this[_0xf214e9(0x290)][_0xf214e9(0x470)](_0x587f31);_0x37f88f&&(this[_0xf214e9(0x290)][_0xf214e9(0x160)](_0x587f31),_0x37f88f['close']()),this['_sessions'][_0xf214e9(0x10a)]||(_0x2bc31f=this[_0xf214e9(0x484)])==null||_0x2bc31f[_0xf214e9(0x136)]();}[_0x1c91cb(0x1e1)](){const _0xfcdf83=_0x1c91cb;this['_retryCount']=0x0,this[_0xfcdf83(0x4da)]!=null&&(clearTimeout(this[_0xfcdf83(0x4da)]),this[_0xfcdf83(0x4da)]=null),this[_0xfcdf83(0x410)]();}async[_0x1c91cb(0x21b)](){const _0x181b4f=_0x1c91cb;var _0x35c97d,_0x2db9b7,_0x1d45e4;const _0x4af99c=this[_0x181b4f(0x379)][_0x181b4f(0x34d)](Q),_0x206f19=(_0x35c97d=_0x4af99c==null?void 0x0:_0x4af99c[_0x181b4f(0x4d9)])!=null?_0x35c97d:wn;return(_0x1d45e4=(_0x2db9b7=(await this[_0x181b4f(0x478)][_0x181b4f(0x470)](_0x206f19,{'headers':{'Content-Type':'application/json'}}))[_0x181b4f(0x1f9)])==null?void 0x0:_0x2db9b7['ticket'])!=null?_0x1d45e4:'';}[_0x1c91cb(0x1c2)](_0x2dd455){const _0x5219db=_0x1c91cb;var _0x481f97,_0x2566dd;const _0x121389=this['_configService'][_0x5219db(0x34d)](On),_0x41bb7e=this['_configService'][_0x5219db(0x34d)](Q),_0x2a33b3=(_0x2566dd=(_0x481f97=_0x41bb7e==null?void 0x0:_0x41bb7e[_0x5219db(0x4de)])!=null?_0x481f97:_0x121389)!=null?_0x2566dd:yn,_0x2aecf1=new URL(_0x2a33b3,window['location'][_0x5219db(0x1b2)]);return _0x2aecf1['searchParams']['set'](_0x5219db(0x3ac),_0x2dd455),_0x2aecf1['toString']();}async[_0x1c91cb(0x400)](){const _0x5c586a=_0x1c91cb,_0x29216b=await this[_0x5c586a(0x21b)](),_0x26a68a=this[_0x5c586a(0x1c2)](_0x29216b),_0x3970e1=this[_0x5c586a(0x39a)][_0x5c586a(0x41c)](_0x26a68a);return this[_0x5c586a(0x434)]=_0x3970e1,_0x3970e1;}async[_0x1c91cb(0x144)](){const _0x33baf7=_0x1c91cb;var _0x154611,_0x18a87e;try{const _0x211099=(_0x18a87e=(_0x154611=this[_0x33baf7(0x484)])!=null?_0x154611:this[_0x33baf7(0x434)])!=null?_0x18a87e:await this[_0x33baf7(0x400)]();if(_0x211099){const _0x4efe70=_0x211099[_0x33baf7(0x2f4)];_0x211099[_0x33baf7(0x2f4)]=_0x2a97f2=>(this[_0x33baf7(0xf1)](),_0x4efe70[_0x33baf7(0x2e8)](_0x211099,[_0x2a97f2])),_0x211099[_0x33baf7(0x405)][_0x33baf7(0x432)](_0x3f65af=>this['_onMessage'](_0x211099,_0x3f65af)),_0x211099[_0x33baf7(0x31f)][_0x33baf7(0x1c3)](_0x284a7d(0x1))['subscribe'](_0x484bc5=>this[_0x33baf7(0x2fc)][_0x33baf7(0x4d3)](_0x33baf7(0x4dd),_0x484bc5)),_0x211099[_0x33baf7(0x1c8)][_0x33baf7(0x1c3)](_0x284a7d(0x1))['subscribe'](()=>{const _0x3b9521=_0x33baf7;this[_0x3b9521(0x46e)](_0x211099);}),_0x211099['close$'][_0x33baf7(0x1c3)](_0x284a7d(0x1))[_0x33baf7(0x432)](_0x874ccc=>{const _0x2d67ef=_0x33baf7;this[_0x2d67ef(0x2fc)][_0x2d67ef(0x238)](_0x2d67ef(0x3bb),_0x2d67ef(0x266),_0x874ccc),this['_onConnectionFailed']();});}}catch(_0x2643dc){this[_0x33baf7(0x2fc)][_0x33baf7(0x4d3)](_0x2643dc),this[_0x33baf7(0xde)]();}}['_onConnectionOpen'](_0x49c106){const _0x5cd4ee=_0x1c91cb;this[_0x5cd4ee(0x2fc)]['debug'](_0x5cd4ee(0x3bb),_0x5cd4ee(0x303)),_0x49c106[_0x5cd4ee(0x2f4)]({'cmd':W[_0x5cd4ee(0x176)]}),this[_0x5cd4ee(0xf1)]();}[_0x1c91cb(0x25c)](){const _0x464a86=_0x1c91cb;window['addEventListener'](_0x464a86(0x4c8),()=>this[_0x464a86(0x324)]());}[_0x1c91cb(0x324)](){const _0x12d114=_0x1c91cb;this['_socketReady']=!0x1,this[_0x12d114(0x434)]=null,this[_0x12d114(0x207)][_0x12d114(0x1eb)](fe['OFFLINE']),this[_0x12d114(0x1d1)][_0x12d114(0x1eb)](null),this[_0x12d114(0x465)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){const _0x24999c=_0x1c91cb;var _0x3320d0;this[_0x24999c(0x324)](),this['_retryCount']<((_0x3320d0=this[_0x24999c(0x379)]['getConfig'](Un))!=null?_0x3320d0:An)?(this[_0x24999c(0x4bf)][_0x24999c(0x2d0)]({'key':_0x24999c(0x203),'type':_0x25a468[_0x24999c(0x23d)],'content':this['_localeService']['t'](_0x24999c(0x296))}),this[_0x24999c(0x410)]()):this[_0x24999c(0x4bf)][_0x24999c(0x2d0)]({'key':'collaboration-session-retry','type':_0x25a468[_0x24999c(0x2a6)],'content':this[_0x24999c(0x2f9)]['t'](_0x24999c(0x1fb))});}['_listenToOnlineEvent'](){const _0x3f6315=_0x1c91cb,_0x4fa21c=()=>{const _0x439102=_0x1b68;this[_0x439102(0x484)]||this[_0x439102(0x1e1)]();},_0x13b7c1=()=>{const _0x5c9a6c=_0x1b68;this[_0x5c9a6c(0x484)]||document['visibilityState']==='hidden'||this[_0x5c9a6c(0x1e1)]();};window[_0x3f6315(0x333)](_0x3f6315(0x206),_0x4fa21c),document[_0x3f6315(0x333)]('visibilitychange',_0x13b7c1);}[_0x1c91cb(0x410)](){const _0x524d87=_0x1c91cb;var _0x3b06e9;const _0x2d4423=this['_retryCount'],_0x376ffc=this['_configService'][_0x524d87(0x34d)](Q),_0x31c82f=_0x2d4423===0x0?0x0:((_0x3b06e9=_0x376ffc==null?void 0x0:_0x376ffc[_0x524d87(0x4f0)])!=null?_0x3b06e9:Nn)*0x2**_0x2d4423;this[_0x524d87(0x4da)]=window[_0x524d87(0x1af)](()=>{const _0x504670=_0x524d87;clearTimeout(this[_0x504670(0x4da)]),this[_0x504670(0x4da)]=null,this[_0x504670(0x144)]();},_0x31c82f),this[_0x524d87(0x45e)]+=0x1;}[_0x1c91cb(0x230)](_0x3defd7,_0x4de5a1){const _0x3dabf4=_0x1c91cb,{cmd:_0x25a993}=_0x4de5a1;_0x25a993===W['HELLO']&&!this[_0x3dabf4(0x480)]&&(_0x3defd7['memberID']=_0x4de5a1[_0x3dabf4(0x202)][_0x3dabf4(0x2e9)],this[_0x3dabf4(0x1d1)][_0x3dabf4(0x1eb)](_0x3defd7),this['_status$'][_0x3dabf4(0x1eb)](fe[_0x3dabf4(0x4a3)]),this[_0x3dabf4(0x480)]=!0x0,this[_0x3dabf4(0x434)]=null),_0x25a993===W['HEARTBEAT']&&this[_0x3dabf4(0x465)](),this[_0x3dabf4(0xf1)]();}['_rescheduleHeartbeat'](){const _0x36d0d9=_0x1c91cb;var _0x2e9c3b;this[_0x36d0d9(0x467)](),this['_sendHeartbeatTimer']=window[_0x36d0d9(0x1af)](()=>this[_0x36d0d9(0x3a3)](),(_0x2e9c3b=this[_0x36d0d9(0x379)][_0x36d0d9(0x34d)](Dn))!=null?_0x2e9c3b:Pn);}['_sendHeartbeat'](){const _0x5d9236=_0x1c91cb;this[_0x5d9236(0x484)][_0x5d9236(0x2f4)]({'cmd':W['HEARTBEAT']}),this[_0x5d9236(0x3bc)]();}[_0x1c91cb(0x3bc)](){const _0x2f5d8b=_0x1c91cb;var _0x48ae85;this[_0x2f5d8b(0x43e)]=window[_0x2f5d8b(0x1af)](()=>this['_onConnectionFailed'](),(_0x48ae85=this['_configService'][_0x2f5d8b(0x34d)](ki))!=null?_0x48ae85:Wi);}[_0x1c91cb(0x467)](){const _0x2c8422=_0x1c91cb;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x2c8422(0x2a4)]=null);}['_clearTimeoutTimer'](){const _0x3b1c00=_0x1c91cb;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x3b1c00(0x43e)]),this[_0x3b1c00(0x43e)]=null);}};xe=ro([ye(0x0,_0x5beccd(_0x21398d)),ye(0x1,_0x5beccd(_0x1f9468)),ye(0x2,_0x452fb7),ye(0x3,_0x535daf),ye(0x4,_0x385706),ye(0x5,Gi),ye(0x6,_0x5beccd(_0x170656))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)['toString'](0x10)[_0x1c91cb(0x2cb)](0x1));function no(_0x3a013a,_0x2d37dc=0x0){return(Y[_0x3a013a[_0x2d37dc+0x0]]+Y[_0x3a013a[_0x2d37dc+0x1]]+Y[_0x3a013a[_0x2d37dc+0x2]]+Y[_0x3a013a[_0x2d37dc+0x3]]+'-'+Y[_0x3a013a[_0x2d37dc+0x4]]+Y[_0x3a013a[_0x2d37dc+0x5]]+'-'+Y[_0x3a013a[_0x2d37dc+0x6]]+Y[_0x3a013a[_0x2d37dc+0x7]]+'-'+Y[_0x3a013a[_0x2d37dc+0x8]]+Y[_0x3a013a[_0x2d37dc+0x9]]+'-'+Y[_0x3a013a[_0x2d37dc+0xa]]+Y[_0x3a013a[_0x2d37dc+0xb]]+Y[_0x3a013a[_0x2d37dc+0xc]]+Y[_0x3a013a[_0x2d37dc+0xd]]+Y[_0x3a013a[_0x2d37dc+0xe]]+Y[_0x3a013a[_0x2d37dc+0xf]])['toLowerCase']();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x31812d=_0x1c91cb;if(!Gt){if(typeof crypto>'u'||!crypto[_0x31812d(0x43a)])throw new Error(_0x31812d(0xe6));Gt=crypto[_0x31812d(0x43a)]['bind'](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x1c91cb(0x4d0)]['bind'](crypto),zs={'randomUUID':co};function ho(_0x231755,_0x3fb085,_0x21ffa4){const _0x32b93a=_0x1c91cb;if(zs[_0x32b93a(0x4d0)]&&!_0x3fb085&&!_0x231755)return zs['randomUUID']();_0x231755=_0x231755||{};const _0xddc539=_0x231755[_0x32b93a(0x255)]||(_0x231755[_0x32b93a(0x10c)]||ao)();return _0xddc539[0x6]=_0xddc539[0x6]&0xf|0x40,_0xddc539[0x8]=_0xddc539[0x8]&0x3f|0x80,no(_0xddc539);}var lo=Object[_0x1c91cb(0x502)],_o=Object[_0x1c91cb(0x439)],uo=(_0x4cdb8b,_0x3afba0,_0x5b9335,_0x266839)=>{for(var _0x35d20c=_0x266839>0x1?void 0x0:_0x266839?_o(_0x3afba0,_0x5b9335):_0x3afba0,_0x36f5da=_0x4cdb8b['length']-0x1,_0x38a584;_0x36f5da>=0x0;_0x36f5da--)(_0x38a584=_0x4cdb8b[_0x36f5da])&&(_0x35d20c=(_0x266839?_0x38a584(_0x3afba0,_0x5b9335,_0x35d20c):_0x38a584(_0x35d20c))||_0x35d20c);return _0x266839&&_0x35d20c&&lo(_0x3afba0,_0x5b9335,_0x35d20c),_0x35d20c;},Yt=(_0x509ccb,_0x36645f)=>(_0x11f0d8,_0x58550c)=>_0x36645f(_0x11f0d8,_0x58550c,_0x509ccb);let yt=class{constructor(_0x3a7a42,_0x379186,_0x86ef80){const _0x5546a4=_0x1c91cb;this['_injector']=_0x3a7a42,this['_transformService']=_0x379186,this[_0x5546a4(0x318)]=_0x86ef80;}[_0x1c91cb(0x505)](_0x319092){const _0x18ff6d=_0x1c91cb;this[_0x18ff6d(0x2ae)](_0x319092),this[_0x18ff6d(0x11e)](_0x319092);}[_0x1c91cb(0x1cd)](_0x17476f){const _0x2a9158=_0x1c91cb,{unitID:_0xdf382a}=_0x17476f,_0x47ceb4=this[_0x2a9158(0x318)]['getRenderById'](_0xdf382a)[_0x2a9158(0x32c)](_0x469f87),{redoCache:_0x27974e}=_0x47ceb4[_0x2a9158(0x3cf)]();if(_0x27974e[_0x2a9158(0x38b)]===0x0)return _0x17476f;let _0x4c5721=_0xdb11bc[_0x2a9158(0x26d)](_0x17476f[_0x2a9158(0x2e4)][0x0]);for(let _0x280ad2=0x0;_0x280ad2<_0x27974e['length'];_0x280ad2++){const _0x3399f7={'id':'doc.mutation.rich-text-editing','params':{..._0x27974e[_0x280ad2]}},_0x2a959e=this['_transformService']['transformMutation'](_0x4c5721,_0x3399f7,!0x1);if(_0x55d097(_0x2a959e))throw _0x2a959e[_0x2a9158(0x4d3)];_0x4c5721=_0x2a959e['m1Prime'];}return{..._0xdb11bc[_0x2a9158(0x26d)](_0x17476f),'mutations':[_0x4c5721]};}[_0x1c91cb(0x2ae)](_0x4b7696){const _0x18514b=_0x1c91cb,{unitID:_0xdebcf3}=_0x4b7696,_0x253cf3=this['_renderManagerService']['getRenderById'](_0xdebcf3)[_0x18514b(0x32c)](_0x469f87),{undoCache:_0x14fa42,redoCache:_0x196502}=_0x253cf3[_0x18514b(0x3cf)]();if(_0x14fa42['length']===0x0||_0x196502[_0x18514b(0x38b)]===0x0)return;const _0x464394=[],_0x4819b3=[];let _0x4a19ed=_0xdb11bc[_0x18514b(0x26d)](_0x4b7696['mutations'][0x0]),_0x16e620=_0xdb11bc[_0x18514b(0x26d)](_0x4b7696['mutations'][0x0]);for(let _0x471338=_0x14fa42[_0x18514b(0x38b)]-0x1;_0x471338>=0x0;_0x471338--){const _0x6b442a={'id':_0x18514b(0x235),'params':{..._0x14fa42[_0x471338]}},_0x653889={'id':_0x18514b(0x235),'params':{..._0x196502[_0x471338]}},_0x4f9fcc=this[_0x18514b(0x247)][_0x18514b(0x4f4)](_0x4a19ed,_0x6b442a,!0x1),_0x5597bf=this[_0x18514b(0x247)][_0x18514b(0x4f4)](_0x16e620,_0x653889,!0x1);if(_0x55d097(_0x4f9fcc))throw _0x4f9fcc[_0x18514b(0x4d3)];if(_0x55d097(_0x5597bf))throw _0x5597bf[_0x18514b(0x4d3)];_0x464394[_0x18514b(0x423)](_0x4f9fcc[_0x18514b(0x20b)]['params']),_0x4819b3['unshift'](_0x5597bf[_0x18514b(0x20b)][_0x18514b(0x335)]),_0x4a19ed=_0x4f9fcc['m1Prime'],_0x16e620=_0x5597bf[_0x18514b(0x134)];}_0x253cf3[_0x18514b(0x4bb)]({'undoCache':_0x464394,'redoCache':_0x4819b3});}[_0x1c91cb(0x11e)](_0x1cbca4){const _0x415411=_0x1c91cb,{unitID:_0xa25681}=_0x1cbca4,_0x53610d=this[_0x415411(0x318)][_0x415411(0x205)](_0xa25681)[_0x415411(0x32c)](_0x469f87),_0x32aec3=_0x53610d[_0x415411(0x149)]();if(_0x32aec3==null)return;const _0x2cc736=[{'id':_0x415411(0x235),'params':{'unitId':_0x1cbca4[_0x415411(0x1ab)],'actions':null,'textRanges':[_0x32aec3]}}],_0x59fc51=this[_0x415411(0x247)][_0x415411(0x2fa)](_0x1cbca4,_0x2cc736);if(!_0x9a9448(_0x59fc51))throw _0x59fc51[_0x415411(0x4d3)];const _0x32af4c=_0x59fc51[_0x415411(0x20b)][0x0][_0x415411(0x335)]['textRanges'];Array[_0x415411(0x338)](_0x32af4c)&&_0x32af4c[_0x415411(0x38b)]&&_0x53610d['setActiveRange'](_0x32af4c[0x0]);}};yt=uo([Yt(0x0,_0x5beccd(_0x21398d)),Yt(0x1,_0x3e892f),Yt(0x2,_0x2e1553)],yt);var fo=Object[_0x1c91cb(0x502)],vo=Object[_0x1c91cb(0x439)],po=(_0x1db145,_0x4e60ef,_0x2c1c5b,_0xca4afa)=>{for(var _0xba0a1b=_0xca4afa>0x1?void 0x0:_0xca4afa?vo(_0x4e60ef,_0x2c1c5b):_0x4e60ef,_0xc7149e=_0x1db145['length']-0x1,_0x427e2a;_0xc7149e>=0x0;_0xc7149e--)(_0x427e2a=_0x1db145[_0xc7149e])&&(_0xba0a1b=(_0xca4afa?_0x427e2a(_0x4e60ef,_0x2c1c5b,_0xba0a1b):_0x427e2a(_0xba0a1b))||_0xba0a1b);return _0xca4afa&&_0xba0a1b&&fo(_0x4e60ef,_0x2c1c5b,_0xba0a1b),_0xba0a1b;},Xe=(_0x47e832,_0x3045cc)=>(_0x83aef5,_0x24b13)=>_0x3045cc(_0x83aef5,_0x24b13,_0x47e832);let z=class extends _0x4b86a3{constructor(_0x56e032,_0x2f47ba,_0x3a7ff6,_0x4d6976,_0x2c4b89){const _0x37b9e0=_0x1c91cb;super(),g(this,_0x37b9e0(0x26e),new Map()),g(this,_0x37b9e0(0x208),new Map()),g(this,_0x37b9e0(0x394),!0x1),(this[_0x37b9e0(0x379)]=_0x56e032,this[_0x37b9e0(0x3e3)]=_0x2f47ba,this[_0x37b9e0(0x48d)]=_0x3a7ff6,this[_0x37b9e0(0x2f9)]=_0x4d6976,this[_0x37b9e0(0x339)]=_0x2c4b89,this[_0x37b9e0(0x2a2)]());}[_0x1c91cb(0x186)](){const _0x3bb7ea=_0x1c91cb;this[_0x3bb7ea(0x394)]=!0x0;}[_0x1c91cb(0x4c9)](){const _0x24b33f=_0x1c91cb;this[_0x24b33f(0x394)]=!0x1;}[_0x1c91cb(0x345)](){const _0x5ccdf6=_0x1c91cb;this[_0x5ccdf6(0x2b8)]()['then'](()=>super[_0x5ccdf6(0x345)]());}async[_0x1c91cb(0x353)](_0x1f3512){const _0x6e861e=_0x1c91cb;return this[_0x6e861e(0x394)]?null:this[_0x6e861e(0x3e3)][_0x6e861e(0x21e)](Xs(_0x1f3512));}async[_0x1c91cb(0x1e0)](_0xff74a5,_0x410f70){const _0x53fa1f=_0x1c91cb;return!!this[_0x53fa1f(0x3e3)]['setItem'](_0xff74a5,_0x410f70);}['updateOfflineData'](_0x23b684,_0x2b5203,_0x3079e4,_0x4a4789){const _0x7214c9=_0x1c91cb,_0x5a3ff9=this[_0x7214c9(0x339)][_0x7214c9(0x448)](_0x23b684);this[_0x7214c9(0x26e)][_0x7214c9(0x1e5)](_0x23b684,{'unitID':_0x23b684,'type':_0x2b5203,'awaitingChangeset':_0x3079e4,'mutations':_0x4a4789,'rev':_0x5a3ff9}),this['_saveTaskMap'][_0x7214c9(0x3f6)](_0x23b684)||this[_0x7214c9(0x1a6)](_0x23b684);}['_scheduleSaving'](_0x446de6){const _0x5f0536=_0x1c91cb,_0x581aea=this[_0x5f0536(0x3ff)]();_0x581aea===0x0?this[_0x5f0536(0x347)](_0x446de6):this[_0x5f0536(0x208)][_0x5f0536(0x1e5)](_0x446de6,setTimeout(()=>this['_saveCache'](_0x446de6),_0x581aea));}[_0x1c91cb(0x3ff)](){const _0x241c5b=_0x1c91cb;var _0x35d4fa;return(_0x35d4fa=this[_0x241c5b(0x379)][_0x241c5b(0x34d)](Mn))!=null?_0x35d4fa:xn;}['_saveCache'](_0x154a56){const _0x2d6f35=_0x1c91cb,_0x56ea33=this[_0x2d6f35(0x208)][_0x2d6f35(0x470)](_0x154a56);return _0x56ea33!==void 0x0&&window[_0x2d6f35(0x32e)](_0x56ea33),this[_0x2d6f35(0x3e3)]['setItem'](Xs(_0x154a56),this['_cachedData'][_0x2d6f35(0x470)](_0x154a56))[_0x2d6f35(0x1c6)](()=>this[_0x2d6f35(0x208)][_0x2d6f35(0x160)](_0x154a56));}async['exhaustSavingTask'](){const _0x11b215=_0x1c91cb,_0x7810eb=[];this[_0x11b215(0x208)]['forEach']((_0x4a35d7,_0x50b9e1)=>{const _0x1762e8=_0x11b215;window['clearTimeout'](_0x4a35d7),_0x7810eb['push'](this[_0x1762e8(0x347)](_0x50b9e1)[_0x1762e8(0x1c6)](()=>{const _0x59110e=_0x1762e8;this[_0x59110e(0x208)]['delete'](_0x50b9e1);}));}),await Promise[_0x11b215(0x228)](_0x7810eb);}[_0x1c91cb(0x2a2)](){const _0x27ae9a=_0x1c91cb;this[_0x27ae9a(0x29c)](this[_0x27ae9a(0x48d)]['registerBeforeClose'](()=>{const _0x44ec85=_0x27ae9a;if(this['_saveTaskMap'][_0x44ec85(0x10a)])return this[_0x44ec85(0x2f9)]['t'](_0x44ec85(0x317));}));}};z=po([Xe(0x0,_0x385706),Xe(0x1,_0x3fd67f),Xe(0x2,_0x20e5a2),Xe(0x3,_0x5beccd(_0x1f9468)),Xe(0x4,_0x5beccd(_0x122db5))],z);function Xs(_0x11aa40){const _0x29e9e5=_0x1c91cb;return _0x29e9e5(0x1db)+_0x11aa40;}var mo=Object['defineProperty'],go=Object['getOwnPropertyDescriptor'],So=(_0x2b40be,_0x1b7278,_0xe97899,_0x371ac8)=>{for(var _0x2d4523=_0x371ac8>0x1?void 0x0:_0x371ac8?go(_0x1b7278,_0xe97899):_0x1b7278,_0x8d932e=_0x2b40be['length']-0x1,_0x3c3353;_0x8d932e>=0x0;_0x8d932e--)(_0x3c3353=_0x2b40be[_0x8d932e])&&(_0x2d4523=(_0x371ac8?_0x3c3353(_0x1b7278,_0xe97899,_0x2d4523):_0x3c3353(_0x2d4523))||_0x2d4523);return _0x371ac8&&_0x2d4523&&mo(_0x1b7278,_0xe97899,_0x2d4523),_0x2d4523;},Kt=(_0x3a3db1,_0x1d27b1)=>(_0x7fe075,_0x17a46d)=>_0x1d27b1(_0x7fe075,_0x17a46d,_0x3a3db1);function Io(_0x3aabec){const _0x8d0769=_0x1c91cb,{unitID:_0x5554a9,mutations:_0x48ddb3}=_0x3aabec;return{'unitId':_0x5554a9,'subUnitId':_0x48ddb3[0x0][_0x8d0769(0x335)]['subUnitId']};}let wt=class{constructor(_0x4592e0,_0x527f39,_0x2bb7ed){const _0x365b9d=_0x1c91cb;this[_0x365b9d(0x29f)]=_0x4592e0,this[_0x365b9d(0x247)]=_0x527f39,this[_0x365b9d(0x30a)]=_0x2bb7ed;}[_0x1c91cb(0x1cf)](_0x2fa653){const _0x295f6c=_0x1c91cb;var _0x490b09,_0x144c78,_0x4398dc,_0x451a10;const _0x564e86=this[_0x295f6c(0x29f)]['get'](_0x18f66c),{unitId:_0x332630,subUnitId:_0x2a406f}=Io(_0x2fa653),_0x461c80=_0x564e86[_0x295f6c(0x187)](_0x332630)[_0x295f6c(0x274)](),_0x3e7c3d=(_0x144c78=(_0x490b09=this['_instanceService'][_0x295f6c(0x4b2)](_0x332630))==null?void 0x0:_0x490b09[_0x295f6c(0x27f)]())==null?void 0x0:_0x144c78[_0x295f6c(0x359)]();if(_0x461c80['length']===0x0||!_0x332630||!_0x2a406f)return;const _0x5cf64f=[{'id':_0x9d2051['id'],'params':{'unitId':_0x332630,'subUnitId':_0x3e7c3d,'selections':_0xdb11bc[_0x295f6c(0x26d)](_0x461c80)}}],_0x2b8a95=this[_0x295f6c(0x247)][_0x295f6c(0x2fa)](_0x2fa653,_0x5cf64f);if(!_0x9a9448(_0x2b8a95))throw _0x2b8a95['error'];const _0x4c8202=(_0x451a10=(_0x4398dc=_0x2b8a95[_0x295f6c(0x20b)][0x0])==null?void 0x0:_0x4398dc[_0x295f6c(0x335)])==null?void 0x0:_0x451a10[_0x295f6c(0x152)];if(Array[_0x295f6c(0x338)](_0x4c8202)&&_0x4c8202['length']){if(_0x4c8202[_0x295f6c(0x38b)]===_0x5cf64f[0x0][_0x295f6c(0x335)][_0x295f6c(0x152)][_0x295f6c(0x38b)]&&_0x4c8202[_0x295f6c(0x4a8)]((_0x3ed76c,_0x391030)=>_0xd9e0ac[_0x295f6c(0x355)](_0x3ed76c['range'],_0x5cf64f[0x0][_0x295f6c(0x335)]['selections'][_0x391030]['range'])))return;this[_0x295f6c(0x29f)][_0x295f6c(0x470)](_0x3abf69)['executeCommand'](_0x9d2051['id'],{'unitId':_0x332630,'subUnitId':_0x3e7c3d,'selections':_0x4c8202});}}};wt=So([Kt(0x0,_0x5beccd(_0x21398d)),Kt(0x1,_0x3e892f),Kt(0x2,_0x5283d0)],wt);const jt=_0x418c93('univer-pro.collaboration-client.single-active-unit-service');var Ki=(_0x5ba1ec=>(_0x5ba1ec[_0x5ba1ec[_0x1c91cb(0x4b6)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5ba1ec[_0x5ba1ec[_0x1c91cb(0x2d2)]=0x1]=_0x1c91cb(0x2d2),_0x5ba1ec))(Ki||{});const Js=0x7530,Zs=_0x1c91cb(0x288);class Co extends _0x4b86a3{constructor(){const _0x4166c0=_0x1c91cb;super(),g(this,_0x4166c0(0x1aa),_0xdb11bc[_0x4166c0(0x374)]()),g(this,_0x4166c0(0x4ea),new Set()),g(this,_0x4166c0(0x492),new Map()),g(this,_0x4166c0(0xdd),null),g(this,_0x4166c0(0x449),new Map()),g(this,_0x4166c0(0x28b),new Map()),this['_init']();}[_0x1c91cb(0x345)](){const _0xb98d66=_0x1c91cb;super['dispose'](),this['_clearOtherTimers'][_0xb98d66(0x180)]((_0x58775d,_0x32adb4)=>this[_0xb98d66(0x40a)](_0x32adb4)),this[_0xb98d66(0xdd)]&&window[_0xb98d66(0x227)](this[_0xb98d66(0xdd)]);}[_0x1c91cb(0x454)](_0x588f75){const _0x2edb3c=_0x1c91cb;return this[_0x2edb3c(0x273)](_0x588f75)['pipe'](_0x1b17f9());}[_0x1c91cb(0x4ae)](_0x43855e){const _0x4fb11d=_0x1c91cb;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x4fb11d(0x4ea)][_0x4fb11d(0x277)](_0x43855e),this[_0x4fb11d(0x466)]({'type':0x0,'memberID':this[_0x4fb11d(0x1aa)],'unitIDs':[_0x43855e],'isForwarded':!0x1});}['disposeUnit'](_0x18a581){const _0xc2ab09=_0x1c91cb;this[_0xc2ab09(0x4ea)][_0xc2ab09(0x160)](_0x18a581),this[_0xc2ab09(0x4ea)][_0xc2ab09(0x10a)]===0x0&&this[_0xc2ab09(0xdd)]&&window[_0xc2ab09(0x227)](this[_0xc2ab09(0xdd)]);}[_0x1c91cb(0x1ea)](){const _0x54ffcc=_0x1c91cb;this[_0x54ffcc(0x29c)](_0x20cd7e(_0x262ff3(window,_0x54ffcc(0x3f1))[_0x54ffcc(0x432)](_0x4b361a=>{const _0x21d761=_0x54ffcc;if(_0x4b361a[_0x21d761(0x2e0)]!==Zs||!_0x4b361a[_0x21d761(0x192)])return;const _0x5b7d48=JSON[_0x21d761(0x4f3)](_0x4b361a[_0x21d761(0x192)]);this[_0x21d761(0x2a8)](_0x5b7d48);}))),window[_0x54ffcc(0x333)](_0x54ffcc(0x258),()=>this[_0x54ffcc(0x466)]({'type':0x1,'memberID':this[_0x54ffcc(0x1aa)],'unitIDs':Array[_0x54ffcc(0xf5)](this[_0x54ffcc(0x4ea)])}));}['_handleEvent'](_0x48581f){const _0x22677c=_0x1c91cb;switch(_0x48581f[_0x22677c(0x4c3)]){case 0x0:this[_0x22677c(0x126)](_0x48581f);break;case 0x1:this[_0x22677c(0x178)](_0x48581f);break;case 0x2:this[_0x22677c(0x139)](_0x48581f);break;}}[_0x1c91cb(0x126)](_0x11d8b1){const _0x5b86da=_0x1c91cb,{unitIDs:_0x110d69,memberID:_0x35a865,isForwarded:_0x204642}=_0x11d8b1;_0x110d69[_0x5b86da(0x180)](_0x174f94=>{const _0x2fa99f=_0x5b86da;if(!_0x204642&&this['_unitOnClients'][_0x2fa99f(0x3f6)](_0x174f94)&&this[_0x2fa99f(0x273)](_0x174f94)[_0x2fa99f(0x1eb)](0x1),!this[_0x2fa99f(0x492)][_0x2fa99f(0x3f6)](_0x174f94)||!this['_unitOnClients'][_0x2fa99f(0x470)](_0x174f94)[_0x2fa99f(0x3f6)](_0x35a865)){const _0x5931fc=this[_0x2fa99f(0x492)][_0x2fa99f(0x470)](_0x174f94)||new Set();_0x5931fc[_0x2fa99f(0x277)](_0x35a865),this['_unitOnClients'][_0x2fa99f(0x1e5)](_0x174f94,_0x5931fc),this[_0x2fa99f(0x244)](_0x35a865);}}),_0x204642||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5b86da(0x4ea)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x355f33){const _0x3660e6=_0x1c91cb;this[_0x3660e6(0x40a)](_0x355f33);const _0x3b83ee=window[_0x3660e6(0x1af)](()=>{const _0x28c397=_0x3660e6;this['_unitOnClients'][_0x28c397(0x180)](_0x5bba74=>{const _0x36c8ed=_0x28c397;_0x5bba74[_0x36c8ed(0x160)](_0x355f33);});},Js*0x2);this[_0x3660e6(0x449)][_0x3660e6(0x1e5)](_0x355f33,_0x3b83ee);}[_0x1c91cb(0x40a)](_0x35731b){const _0x1af998=_0x1c91cb;if(this[_0x1af998(0x449)]['has'](_0x35731b)){const _0xa34cb7=this['_clearOtherTimers'][_0x1af998(0x470)](_0x35731b);_0xa34cb7&&window[_0x1af998(0x32e)](_0xa34cb7),this[_0x1af998(0x449)][_0x1af998(0x1e5)](_0x35731b,null);}}['_handleLeaveEvent'](_0x8c36f3){const _0x332e5f=_0x1c91cb,{memberID:_0x26ee5b,unitIDs:_0x10d385}=_0x8c36f3;_0x10d385[_0x332e5f(0x180)](_0x144c3c=>{const _0x51cf86=_0x332e5f;var _0x3472d6;const _0x35c6b0=this[_0x51cf86(0x492)][_0x51cf86(0x470)](_0x144c3c);_0x35c6b0&&(_0x35c6b0[_0x51cf86(0x160)](_0x26ee5b),(_0x3472d6=this[_0x51cf86(0x273)](_0x144c3c))==null||_0x3472d6['next'](_0x35c6b0['size']===0x0?0x0:0x1));}),this[_0x332e5f(0x40a)](_0x26ee5b);}[_0x1c91cb(0x139)](_0x2cafe3){const _0x4735bb=_0x1c91cb;this[_0x4735bb(0x244)](_0x2cafe3[_0x4735bb(0x2e9)]);}[_0x1c91cb(0x466)](_0x21168e){const _0x1519df=_0x1c91cb;localStorage['setItem'](Zs,JSON[_0x1519df(0x397)](_0x21168e));}[_0x1c91cb(0x2fd)](){const _0x36059f=_0x1c91cb;this[_0x36059f(0xdd)]=window[_0x36059f(0x10e)](()=>{const _0x26f830=_0x36059f;this[_0x26f830(0x466)]({'type':0x2,'memberID':this[_0x26f830(0x1aa)]});},Js);}[_0x1c91cb(0x273)](_0x57f488){const _0x32f344=_0x1c91cb;return this[_0x32f344(0x28b)]['has'](_0x57f488)||this[_0x32f344(0x28b)][_0x32f344(0x1e5)](_0x57f488,new _0x3eae3e(0x0)),this[_0x32f344(0x28b)][_0x32f344(0x470)](_0x57f488);}}var Eo=Object[_0x1c91cb(0x502)],bo=Object[_0x1c91cb(0x439)],To=(_0xf1be50,_0x3a535d,_0x2ffe6f,_0x235bde)=>{const _0x313173=_0x1c91cb;for(var _0x1fa1b5=_0x235bde>0x1?void 0x0:_0x235bde?bo(_0x3a535d,_0x2ffe6f):_0x3a535d,_0x368bfc=_0xf1be50[_0x313173(0x38b)]-0x1,_0x52ce07;_0x368bfc>=0x0;_0x368bfc--)(_0x52ce07=_0xf1be50[_0x368bfc])&&(_0x1fa1b5=(_0x235bde?_0x52ce07(_0x3a535d,_0x2ffe6f,_0x1fa1b5):_0x52ce07(_0x1fa1b5))||_0x1fa1b5);return _0x235bde&&_0x1fa1b5&&Eo(_0x3a535d,_0x2ffe6f,_0x1fa1b5),_0x1fa1b5;},qt=(_0x21082b,_0x21de6f)=>(_0x38ba5a,_0x389d1d)=>_0x21de6f(_0x38ba5a,_0x389d1d,_0x21082b);let Dt=class{constructor(_0x11307b,_0xe4ca1d,_0xdb672a){const _0x559fbc=_0x1c91cb;this[_0x559fbc(0x29f)]=_0x11307b,this[_0x559fbc(0x247)]=_0xe4ca1d,this[_0x559fbc(0x3c0)]=_0xdb672a;}[_0x1c91cb(0x306)](_0xe1626c){const _0x16abd5=_0x1c91cb;this[_0x16abd5(0x320)](_0xe1626c);}[_0x1c91cb(0x1cd)](_0x352309){const _0x5a7858=_0x1c91cb,{unitID:_0x328c1e}=_0x352309,{collaboration:_0x207833}=this[_0x5a7858(0x3c0)][_0x5a7858(0x37c)](_0x328c1e);if(_0x207833[_0x5a7858(0x38b)]===0x0)return _0x352309;let _0x431049=_0xdb11bc[_0x5a7858(0x26d)](_0x352309[_0x5a7858(0x2e4)][0x0]);for(let _0x3ba3aa=0x0;_0x3ba3aa<_0x207833[_0x5a7858(0x38b)];_0x3ba3aa++){const _0x16009a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x207833[_0x3ba3aa]['unitId'],..._0x207833[_0x3ba3aa][_0x5a7858(0x442)]}},_0x16050d=this['_transformService'][_0x5a7858(0x4f4)](_0x431049,_0x16009a,!0x1);if(_0x55d097(_0x16050d))throw _0x16050d[_0x5a7858(0x4d3)];_0x431049=_0x16050d['m1Prime'];}return{..._0xdb11bc['deepClone'](_0x352309),'mutations':[_0x431049]};}['_transformHistoryAndStateStack'](_0x33a24c){const _0x37dedf=_0x1c91cb,{unitID:_0x580fa0}=_0x33a24c,{history:_0x526349,collaboration:_0x1ef00}=this[_0x37dedf(0x3c0)][_0x37dedf(0x37c)](_0x580fa0);if(_0x526349[_0x37dedf(0x38b)]===0x0&&_0x1ef00[_0x37dedf(0x38b)]===0x0)return;const _0x2057e1=[],_0x279c1b=[];let _0x3eaea4=_0xdb11bc[_0x37dedf(0x26d)](_0x33a24c[_0x37dedf(0x2e4)][0x0]),_0x58a7ab=_0xdb11bc[_0x37dedf(0x26d)](_0x33a24c['mutations'][0x0]);for(let _0x3b2e5e=_0x526349[_0x37dedf(0x38b)]-0x1;_0x3b2e5e>=0x0;_0x3b2e5e--){const _0x24cb8c={'id':_0x37dedf(0x235),'params':{'unitId':_0x526349[_0x3b2e5e]['unitId'],..._0x526349[_0x3b2e5e][_0x37dedf(0x234)]}},_0x247700={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x526349[_0x3b2e5e]['unitId'],..._0x526349[_0x3b2e5e][_0x37dedf(0x442)]}},_0x1dcd35=this['_transformService'][_0x37dedf(0x4f4)](_0x3eaea4,_0x24cb8c,!0x1),_0x3cde13=this['_transformService'][_0x37dedf(0x4f4)](_0x58a7ab,_0x247700,!0x1);if(_0x55d097(_0x1dcd35))throw _0x1dcd35['error'];if(_0x55d097(_0x3cde13))throw _0x3cde13[_0x37dedf(0x4d3)];_0x2057e1[_0x37dedf(0x423)]({..._0x526349[_0x3b2e5e],'undoState':_0x1dcd35[_0x37dedf(0x20b)][_0x37dedf(0x335)],'redoState':_0x3cde13[_0x37dedf(0x20b)]['params']}),_0x3eaea4=_0x1dcd35[_0x37dedf(0x134)],_0x58a7ab=_0x3cde13[_0x37dedf(0x134)];}_0x3eaea4=_0xdb11bc[_0x37dedf(0x26d)](_0x33a24c[_0x37dedf(0x2e4)][0x0]),_0x58a7ab=_0xdb11bc['deepClone'](_0x33a24c[_0x37dedf(0x2e4)][0x0]);for(let _0x710b77=_0x1ef00[_0x37dedf(0x38b)]-0x1;_0x710b77>=0x0;_0x710b77--){const _0x300116={'id':_0x37dedf(0x235),'params':{'unitId':_0x1ef00[_0x710b77][_0x37dedf(0x3cc)],..._0x1ef00[_0x710b77]['undoState']}},_0x470890={'id':_0x37dedf(0x235),'params':{'unitId':_0x1ef00[_0x710b77][_0x37dedf(0x3cc)],..._0x1ef00[_0x710b77]['redoState']}},_0x19e1ad=this[_0x37dedf(0x247)][_0x37dedf(0x4f4)](_0x3eaea4,_0x300116,!0x1),_0x1e56b3=this[_0x37dedf(0x247)][_0x37dedf(0x4f4)](_0x58a7ab,_0x470890,!0x1);if(_0x55d097(_0x19e1ad))throw _0x19e1ad[_0x37dedf(0x4d3)];if(_0x55d097(_0x1e56b3))throw _0x1e56b3[_0x37dedf(0x4d3)];_0x279c1b[_0x37dedf(0x423)]({..._0x1ef00[_0x710b77],'undoState':_0x19e1ad[_0x37dedf(0x20b)][_0x37dedf(0x335)],'redoState':_0x1e56b3[_0x37dedf(0x20b)]['params']}),_0x3eaea4=_0x19e1ad[_0x37dedf(0x134)],_0x58a7ab=_0x1e56b3[_0x37dedf(0x134)];}this[_0x37dedf(0x3c0)]['setStateCache'](_0x580fa0,{'history':_0x2057e1,'collaboration':_0x279c1b});}};Dt=To([qt(0x0,_0x5beccd(_0x21398d)),qt(0x1,_0x3e892f),qt(0x2,_0x5beccd(_0x114dd9))],Dt);function qi(_0x2956be){const _0x4039ec=_0x1c91cb;let _0x5254af='';for(const _0x44dbb6 of _0x2956be){const {startOffset:_0x30580d,endOffset:_0x54a02b,isActive:_0x3489a1,rangeType:_0x25f0b7,segmentId:_0x5ac7ef,segmentPage:_0xc1dddd}=_0x44dbb6;_0x5254af[_0x4039ec(0x38b)]&&(_0x5254af+=','),_0x5254af+=_0x30580d+':'+_0x54a02b+':'+(_0x3489a1?'1':'0')+':'+_0x25f0b7+':'+_0x5ac7ef+':'+_0xc1dddd;}return _0x5254af;}function Ro(_0xe85a82){const _0xbcf264=_0x1c91cb,_0x2ea568=_0xe85a82['split'](','),_0x446549=[];for(const _0x462e32 of _0x2ea568){const [_0x9a707f,_0x1e7e4b,_0x530a34,_0x578d00,_0x3755dc,_0x1b83b4]=_0x462e32[_0xbcf264(0x195)](':');_0x446549['push']({'startOffset':Number(_0x9a707f),'endOffset':Number(_0x1e7e4b),'collapsed':_0x9a707f===_0x1e7e4b,'isActive':_0x530a34==='1','rangeType':_0x578d00===_0x4ec437['TEXT']?_0x4ec437[_0xbcf264(0x3ea)]:_0x4ec437[_0xbcf264(0x42c)],'segmentId':typeof _0x3755dc==_0xbcf264(0x366)?String(_0x3755dc):'','segmentPage':Number(_0x1b83b4!=null?_0x1b83b4:-0x1)});}return _0x446549[_0xbcf264(0x386)](_0x9659=>_0x9659[_0xbcf264(0x1d8)])||(_0x446549[0x0][_0xbcf264(0x1d8)]=!0x0),_0x446549;}class Ds extends _0x30a9be{constructor(){const _0x464df2=_0x1c91cb;super(...arguments),g(this,'_collabCursorState$',new _0x3eae3e(null)),g(this,'collabCursorState$',this[_0x464df2(0x2ec)][_0x464df2(0x141)]());}[_0x1c91cb(0x1de)](_0x3227e1){const _0x563305=_0x1c91cb,{unitID:_0x1ad690,memberID:_0x1e469a,textRanges:_0x4c1bf8}=_0x3227e1,_0x53dadc=qi(_0x4c1bf8);if(_0x53dadc==='')return;const _0x59a299={'unitID':_0x1ad690,'memberID':_0x1e469a,'selection':_0x53dadc};this[_0x563305(0x2ec)]['next'](_0x59a299);}}var Oo=Object[_0x1c91cb(0x502)],yo=Object[_0x1c91cb(0x439)],wo=(_0x63836a,_0x1c22dd,_0x255ed4,_0x421579)=>{const _0x31bd61=_0x1c91cb;for(var _0x453d44=_0x421579>0x1?void 0x0:_0x421579?yo(_0x1c22dd,_0x255ed4):_0x1c22dd,_0x44fcf8=_0x63836a[_0x31bd61(0x38b)]-0x1,_0x58a4c8;_0x44fcf8>=0x0;_0x44fcf8--)(_0x58a4c8=_0x63836a[_0x44fcf8])&&(_0x453d44=(_0x421579?_0x58a4c8(_0x1c22dd,_0x255ed4,_0x453d44):_0x58a4c8(_0x453d44))||_0x453d44);return _0x421579&&_0x453d44&&Oo(_0x1c22dd,_0x255ed4,_0x453d44),_0x453d44;},Qs=(_0x5c4dc2,_0x2f88c7)=>(_0x26ed48,_0x3bfe7b)=>_0x2f88c7(_0x26ed48,_0x3bfe7b,_0x5c4dc2);let Pt=class{constructor(_0x475537,_0x558578){const _0x2282ae=_0x1c91cb;this[_0x2282ae(0x29f)]=_0x475537,this[_0x2282ae(0x247)]=_0x558578;}['transformSelections'](_0x52c3e3){const _0xd443c=_0x1c91cb;var _0x355bbb;const _0x38bb3e=this['_injector'][_0xd443c(0x470)](_0x2c4ba8),_0x27037c=(_0x355bbb=_0x38bb3e['getDocRanges']())!=null?_0x355bbb:[];if(_0x27037c[_0xd443c(0x38b)]===0x0)return;const _0x3fefa5=_0x52c3e3[_0xd443c(0x1ab)],_0x490dc1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3fefa5,'actions':null,'textRanges':_0x27037c}}],_0x50fdb9=this[_0xd443c(0x247)][_0xd443c(0x2fa)](_0x52c3e3,_0x490dc1);if(!_0x9a9448(_0x50fdb9))throw _0x50fdb9[_0xd443c(0x4d3)];const _0x1c0c2f=_0x50fdb9[_0xd443c(0x20b)][0x0][_0xd443c(0x335)][_0xd443c(0x13d)];Array[_0xd443c(0x338)](_0x1c0c2f)&&_0x1c0c2f[_0xd443c(0x38b)]&&_0x38bb3e[_0xd443c(0x32f)](_0x1c0c2f,{'unitId':_0x3fefa5,'subUnitId':_0x3fefa5},!0x1);}};Pt=wo([Qs(0x0,_0x5beccd(_0x21398d)),Qs(0x1,_0x3e892f)],Pt);function _0x1b68(_0x31af49,_0x54c29e){const _0x15470f=_0x1547();return _0x1b68=function(_0x1b683c,_0x290871){_0x1b683c=_0x1b683c-0xdc;let _0x5972e1=_0x15470f[_0x1b683c];return _0x5972e1;},_0x1b68(_0x31af49,_0x54c29e);}const Do=new Set([_0x5b0a93['id']]);function ei(_0x68df5d,_0x4a54de,_0x42aa01,_0x200838,_0x48da3c){const _0x2a1033=_0x1c91cb;var _0x59ac06,_0x5d87da,_0x2ac53d,_0x330b81;const _0x5d1bbb=[];for(const _0x1c1060 of _0x68df5d)if(Do[_0x2a1033(0x3f6)](_0x1c1060['id'])){if(_0x5d1bbb[_0x2a1033(0x38b)]>0x0)break;_0x5d1bbb[_0x2a1033(0x4c1)](_0x1c1060);break;}else _0x5d1bbb[_0x2a1033(0x4c1)](_0x1c1060);const _0x4f992c=(_0x5d87da=(_0x59ac06=_0x48da3c[_0x2a1033(0x232)]())==null?void 0x0:_0x59ac06[_0x2a1033(0x3dc)])!=null?_0x5d87da:_0x2a1033(0x4f8),_0x184a04=(_0x330b81=(_0x2ac53d=_0x48da3c['getCurrentUser']())==null?void 0x0:_0x2ac53d[_0x2a1033(0x2e9)])!=null?_0x330b81:_0x2a1033(0x4f8);return{'changeset':{'unitID':_0x4a54de,'type':_0x5b4ad1(_0x42aa01[_0x2a1033(0x215)](_0x4a54de)),'baseRev':_0x200838[_0x2a1033(0x448)](_0x4a54de),'revision':0x0,'userID':_0x4f992c,'memberID':_0x184a04,'mutations':_0x5d1bbb},'pendingMutations':_0x68df5d[_0x2a1033(0x2cb)](_0x5d1bbb['length'])};}function Po(_0x589ccf,_0x173706,_0x51dcde,_0x4fa062,_0xa17f36){const _0x20ece7=_0x1c91cb;var _0x45a465,_0x4c3102,_0x244f28,_0x143fd7;const _0x5cf08d=[_0x589ccf['reduce']((_0x56e9ae,_0x2b6377)=>{const _0x5f4be2=_0x1b68;var _0x35345e;const {id:_0x537828}=_0x56e9ae,{id:_0x55e000,type:_0x448cd1}=_0x2b6377,_0x4e2f56=(_0x35345e=_0x56e9ae[_0x5f4be2(0x335)])!=null?_0x35345e:{'actions':null},_0x39c677=_0x2b6377[_0x5f4be2(0x335)];if(_0x537828&&_0x537828!==_0x55e000)throw new Error(_0x5f4be2(0x499)+_0x537828+_0x5f4be2(0x37a)+_0x55e000+'.');return{..._0x56e9ae,'id':_0x55e000,'type':_0x448cd1,'params':{'unitId':_0x39c677[_0x5f4be2(0x3cc)],'textRanges':_0x39c677[_0x5f4be2(0x13d)],'actions':_0x1eeca2[_0x5f4be2(0x44e)](_0x4e2f56['actions'],_0x39c677[_0x5f4be2(0x327)])}};},{})],_0x43e8e8=(_0x4c3102=(_0x45a465=_0xa17f36[_0x20ece7(0x232)]())==null?void 0x0:_0x45a465[_0x20ece7(0x3dc)])!=null?_0x4c3102:_0x20ece7(0x4f8),_0x519db7=(_0x143fd7=(_0x244f28=_0xa17f36[_0x20ece7(0x232)]())==null?void 0x0:_0x244f28[_0x20ece7(0x2e9)])!=null?_0x143fd7:_0x20ece7(0x4f8);return{'changeset':{'unitID':_0x173706,'type':_0x5b4ad1(_0x51dcde[_0x20ece7(0x215)](_0x173706)),'baseRev':_0x4fa062['getCurrentRevOfUnit'](_0x173706),'revision':0x0,'userID':_0x43e8e8,'memberID':_0x519db7,'mutations':_0x5cf08d},'pendingMutations':[]};}function zi(_0x41f2af,_0x1bf64a){const _0x146305=_0x1c91cb,_0x2513ee=new _0xfad99a(0x1);return setTimeout(()=>_0x2513ee[_0x146305(0x1eb)](_0x1bf64a),_0x41f2af),_0x2513ee[_0x146305(0x141)]()[_0x146305(0x1c3)](_0xc66db6(0x1));}const No={'id':_0x45d336['id'],'type':_0x172fb0['MUTATION'],'params':{}};var Uo=Object['defineProperty'],Ao=Object[_0x1c91cb(0x439)],$e=(_0x18bd69,_0x1f8a0d,_0x5f1d55,_0x28d3fb)=>{const _0x362103=_0x1c91cb;for(var _0x2e8b65=_0x28d3fb>0x1?void 0x0:_0x28d3fb?Ao(_0x1f8a0d,_0x5f1d55):_0x1f8a0d,_0x1dd6fc=_0x18bd69[_0x362103(0x38b)]-0x1,_0x59dce6;_0x1dd6fc>=0x0;_0x1dd6fc--)(_0x59dce6=_0x18bd69[_0x1dd6fc])&&(_0x2e8b65=(_0x28d3fb?_0x59dce6(_0x1f8a0d,_0x5f1d55,_0x2e8b65):_0x59dce6(_0x2e8b65))||_0x2e8b65);return _0x28d3fb&&_0x2e8b65&&Uo(_0x1f8a0d,_0x5f1d55,_0x2e8b65),_0x2e8b65;},A=(_0x9a88c2,_0x222c32)=>(_0x5e0644,_0x3316d0)=>_0x222c32(_0x5e0644,_0x3316d0,_0x9a88c2),J=(_0x41b24e=>(_0x41b24e['NOT_COLLAB']=_0x1c91cb(0x1d9),_0x41b24e[_0x1c91cb(0x452)]=_0x1c91cb(0x16c),_0x41b24e[_0x1c91cb(0x14c)]='pending',_0x41b24e[_0x1c91cb(0x246)]=_0x1c91cb(0x3e4),_0x41b24e[_0x1c91cb(0x351)]=_0x1c91cb(0x325),_0x41b24e['FETCH_MISS']=_0x1c91cb(0x210),_0x41b24e[_0x1c91cb(0x102)]=_0x1c91cb(0x2ff),_0x41b24e[_0x1c91cb(0x12d)]=_0x1c91cb(0x4c8),_0x41b24e))(J||{});const Xi=0xea60;class He{constructor(_0x5c27f9,_0x243d5b,_0x37bad5,_0x54507a,_0x401217,_0x36cfe9,_0x25c4e9,_0x59afa1,_0x2e2b72){const _0x28683a=_0x1c91cb;g(this,_0x28683a(0x22b),null),g(this,_0x28683a(0x1b7),[]),(this['unitID']=_0x5c27f9,this[_0x28683a(0x4c3)]=_0x243d5b,this['_handler']=_0x401217,this[_0x28683a(0x281)]=_0x36cfe9,this[_0x28683a(0x28c)]=_0x25c4e9,this[_0x28683a(0x339)]=_0x59afa1,this[_0x28683a(0x38e)]=_0x2e2b72,this[_0x28683a(0x22b)]=_0x37bad5,this[_0x28683a(0x1b7)]=_0x54507a);}[_0x1c91cb(0x45c)](_0x5b6b50){const _0x76a914=_0x1c91cb,_0x1ce2d7=this[_0x76a914(0x339)]['getCurrentRevOfUnit'](this[_0x76a914(0x1ab)]);return _0x5b6b50[_0x76a914(0x45f)]>_0x1ce2d7+0x1?(this[_0x76a914(0x1ac)]['onMissingChangesets']({'from':_0x1ce2d7,'to':_0x5b6b50[_0x76a914(0x45f)]-0x1}),!0x0):!0x1;}[_0x1c91cb(0x269)](_0x1f6b5c){const _0x1b1c33=_0x1c91cb;this['_undoRedoService'][_0x1b1c33(0x447)](this['unitID'],_0x1f6b5c);}[_0x1c91cb(0x427)](_0x1bbe34){const _0xf4cf56=_0x1c91cb;var _0x545e1c,_0x143921;(_0x143921=(_0x545e1c=this[_0xf4cf56(0x1ac)])['onTransformSelections'])==null||_0x143921[_0xf4cf56(0xff)](_0x545e1c,_0x1bbe34);}['_transformIMECache'](_0x17f4d7){var _0x12dc56,_0x4fca1e;return(_0x4fca1e=(_0x12dc56=this['_handler'])['onTransformIME'])==null?void 0x0:_0x4fca1e['call'](_0x12dc56,_0x17f4d7);}[_0x1c91cb(0x2b7)](_0x2af484){const _0x4d8830=_0x1c91cb;var _0x344e00,_0x3be72d;return(_0x3be72d=(_0x344e00=this[_0x4d8830(0x1ac)])['onTransformState'])==null?void 0x0:_0x3be72d[_0x4d8830(0xff)](_0x344e00,_0x2af484);}[_0x1c91cb(0x4dc)](_0x5b9dfc){const _0x530305=_0x1c91cb;var _0x369c1f,_0x83170a,_0x43ecde;return(_0x43ecde=(_0x83170a=(_0x369c1f=this[_0x530305(0x1ac)])[_0x530305(0x417)])==null?void 0x0:_0x83170a[_0x530305(0xff)](_0x369c1f,_0x5b9dfc))!=null?_0x43ecde:_0x5b9dfc;}[_0x1c91cb(0x32d)](_0x4c8943){const _0x23bb77=_0x1c91cb;var _0x5d08f7,_0x3d582f,_0x5f43b7;return(_0x5f43b7=(_0x3d582f=(_0x5d08f7=this['_handler'])[_0x23bb77(0x148)])==null?void 0x0:_0x3d582f[_0x23bb77(0xff)](_0x5d08f7,_0x4c8943))!=null?_0x5f43b7:_0x4c8943;}['_syncEditingCollabCursor'](_0x47e97c){const _0x1f3194=_0x1c91cb;var _0xb89653,_0xdb1d00;if(this[_0x1f3194(0x4c3)]===ae['UNIVER_DOC']){const {unitID:_0x278208,mutations:_0x201458,memberID:_0x155b7f}=_0x47e97c,_0x2cd9d6=_0x201458[0x0]['params'][_0x1f3194(0x13d)];Array[_0x1f3194(0x338)](_0x2cd9d6)&&_0x2cd9d6[_0x1f3194(0x38b)]>0x0&&((_0xdb1d00=(_0xb89653=this['_handler'])[_0x1f3194(0xfe)])==null||_0xdb1d00[_0x1f3194(0xff)](_0xb89653,{'unitID':_0x278208,'memberID':_0x155b7f,'textRanges':_0x2cd9d6}));}}['_updateLocalCache'](){const _0x674acf=_0x1c91cb;this[_0x674acf(0x38e)][_0x674acf(0x3fb)](this[_0x674acf(0x1ab)],this['type'],this[_0x674acf(0x22b)],this[_0x674acf(0x1b7)]);}['_getCurrentRevision'](){const _0x31eb5c=_0x1c91cb;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x31eb5c(0x1ab)]);}['_incrementRevisionNumber'](){const _0x36c191=_0x1c91cb;this[_0x36c191(0x339)][_0x36c191(0x468)](this[_0x36c191(0x1ab)]);}['_executeRemoteChangeset'](_0x513569){const _0x1c02f2=_0x1c91cb;var _0x4b0c1f;let _0x10c289=this['_transformRemoteChangesetByIMECache'](_0x513569);_0x10c289=this[_0x1c02f2(0x32d)](_0x10c289);const _0x2d5d11=_0x8a411b(_0x10c289[_0x1c02f2(0x2e4)],this[_0x1c02f2(0x281)],{'fromCollab':!0x0});if(!_0x2d5d11[_0x1c02f2(0x4e3)])throw _0x2d5d11[_0x1c02f2(0x4d3)]instanceof Error?_0x2d5d11['error']:new Error((_0x4b0c1f=_0x2d5d11['error'])!=null?_0x4b0c1f:_0x1c02f2(0x403));this[_0x1c02f2(0x3ca)](_0x10c289),this[_0x1c02f2(0x2b7)](_0x10c289),this[_0x1c02f2(0x269)](_0x513569),this['_transformSelections'](_0x10c289),this[_0x1c02f2(0x299)](_0x10c289),this[_0x1c02f2(0x2df)]();}}let Fe=class extends He{constructor(_0x47967c,_0x1d8e36,_0x36d088,_0x172bd7,_0x4ebccd,_0x394dee,_0x4859bc,_0xbf1cbe,_0x72fca6,_0x5a0a1c){const _0x23b1d5=_0x1c91cb;super(_0x47967c,_0x1d8e36,null,[],_0x36d088,_0xbf1cbe,_0x4859bc,_0x172bd7,_0x4ebccd),g(this,_0x23b1d5(0xf0),'synced'),(this[_0x23b1d5(0x29f)]=_0x394dee,this[_0x23b1d5(0x2fc)]=_0x72fca6,this['_transformService']=_0x5a0a1c);}[_0x1c91cb(0x271)](_0x1eec13){const _0x4c7bac=_0x1c91cb,_0x2d7032=this[_0x4c7bac(0x29f)][_0x4c7bac(0x36b)](pe,this[_0x4c7bac(0x1ab)],this[_0x4c7bac(0x4c3)],[_0x1eec13],this['_handler']);return _0x2d7032['_schedule'](),_0x2d7032[_0x4c7bac(0x4e5)](),_0x2d7032;}['onRemoteChangeset'](_0x12b1cf){const _0x1b3882=_0x1c91cb;if(this[_0x1b3882(0x45c)](_0x12b1cf))return this[_0x1b3882(0x29f)]['createInstance'](ce,this[_0x1b3882(0x1ab)],this['type'],null,[],null,[_0x12b1cf],this[_0x1b3882(0x1ac)]);try{const _0x100274=this[_0x1b3882(0x247)]['transformMutationsWithChangeset'](_0x12b1cf,[No]);if(_0x9a9448(_0x100274)){const {c1Prime:_0x513667}=_0x100274;return this[_0x1b3882(0x4f9)](_0x513667),this;}throw _0x100274[_0x1b3882(0x4d3)];}catch(_0x154eea){return this['_logService']['error'](_0x154eea),this[_0x1b3882(0x20e)](!0x1);}}[_0x1c91cb(0x20e)](_0x40d5f9){const _0x139e63=_0x1c91cb;return this['_injector']['createInstance'](Re,this[_0x139e63(0x1ab)],this['type'],null,[],this[_0x139e63(0x1ac)],_0x40d5f9);}[_0x1c91cb(0x4a6)](){const _0x2d449e=_0x1c91cb;throw new Error(_0x2d449e(0x435));}['onRemoteRej'](){const _0x41831f=_0x1c91cb;throw new Error(_0x41831f(0x382));}[_0x1c91cb(0x362)](){return this;}[_0x1c91cb(0x430)](){const _0x5ec768=_0x1c91cb;return this['_injector']['createInstance'](Oe,this[_0x5ec768(0x1ab)],this['type'],null,[],this[_0x5ec768(0x1ac)]);}[_0x1c91cb(0x213)](){return this;}[_0x1c91cb(0x47c)](){const _0x6c02f9=_0x1c91cb;throw new Error(_0x6c02f9(0x49c));}[_0x1c91cb(0x114)](){const _0x25777e=_0x1c91cb,_0x457eae=this[_0x25777e(0x339)][_0x25777e(0x448)](this['unitID']);return this[_0x25777e(0x1ac)][_0x25777e(0x3bf)]({'from':_0x457eae,'to':0x0}),this[_0x25777e(0x29f)][_0x25777e(0x36b)](ce,this[_0x25777e(0x1ab)],this[_0x25777e(0x4c3)],null,[],null,[],this[_0x25777e(0x1ac)]);}};Fe=$e([A(0x3,_0x5beccd(_0x122db5)),A(0x4,_0x5beccd(z)),A(0x5,_0x5beccd(_0x21398d)),A(0x6,_0x3ac068),A(0x7,_0x3abf69),A(0x8,_0x535daf),A(0x9,_0x3e892f)],Fe);let pe=class extends He{constructor(_0x27ea5b,_0x291558,_0x57d395,_0x59aa0d,_0x13272b,_0x91be22,_0x3cfb3b,_0x29ea04,_0x2d5344,_0x339a12,_0x478fa9,_0x296bbf,_0x15f123,_0x3de2e9){const _0x6967fd=_0x1c91cb;super(_0x27ea5b,_0x291558,null,_0x57d395,_0x59aa0d,_0x339a12,_0x3de2e9,_0x91be22,_0x3cfb3b),g(this,_0x6967fd(0xf0),_0x6967fd(0x2dd)),g(this,_0x6967fd(0x2d5),null),g(this,_0x6967fd(0x47f),null),(this['_injector']=_0x13272b,this[_0x6967fd(0x31e)]=_0x29ea04,this[_0x6967fd(0x2fc)]=_0x2d5344,this['_configService']=_0x478fa9,this[_0x6967fd(0x247)]=_0x296bbf,this['_univerInstanceService']=_0x15f123);}[_0x1c91cb(0x271)](_0x165678){const _0x12396b=_0x1c91cb;return this[_0x12396b(0x1b7)][_0x12396b(0x4c1)](_0x165678),this[_0x12396b(0x4e5)](),this;}['onRemoteChangeset'](_0xafd3b0){const _0x3a2aa7=_0x1c91cb;if(this[_0x3a2aa7(0x45c)](_0xafd3b0))return this[_0x3a2aa7(0x3f5)](),this[_0x3a2aa7(0x29f)]['createInstance'](ce,this['unitID'],this['type'],null,this[_0x3a2aa7(0x1b7)],null,[_0xafd3b0],this['_handler']);try{const _0x23e399=this[_0x3a2aa7(0x247)]['transformMutationsWithChangeset'](_0xafd3b0,this['_pendingMutations']);if(_0x9a9448(_0x23e399)){const {c1Prime:_0x594cd9,m2Prime:_0x13cb39}=_0x23e399;this['_executeRemoteChangeset'](_0x594cd9);const _0x102f62=this['_injector'][_0x3a2aa7(0x36b)](pe,this['unitID'],this[_0x3a2aa7(0x4c3)],_0x13cb39,this['_handler']);return this[_0x3a2aa7(0x3f5)](),_0x102f62[_0x3a2aa7(0x340)](this[_0x3a2aa7(0x2d5)]?Math['max'](0x0,new Date()['getTime']()-this[_0x3a2aa7(0x2d5)]):this[_0x3a2aa7(0x44b)]()),_0x102f62;}throw _0x23e399[_0x3a2aa7(0x4d3)];}catch(_0x216fc3){return this[_0x3a2aa7(0x2fc)][_0x3a2aa7(0x4d3)](_0x216fc3),this[_0x3a2aa7(0x20e)](!0x1);}}[_0x1c91cb(0x4a6)](){const _0x506d06=_0x1c91cb;throw new Error(_0x506d06(0x1b1));}[_0x1c91cb(0x381)](){const _0x367b01=_0x1c91cb;throw new Error(_0x367b01(0x196));}[_0x1c91cb(0x362)](){return this;}[_0x1c91cb(0x430)](){const _0x14059d=_0x1c91cb;return this['_clearScheduledTask'](),this[_0x14059d(0x29f)][_0x14059d(0x36b)](Oe,this[_0x14059d(0x1ab)],this[_0x14059d(0x4c3)],null,this[_0x14059d(0x1b7)],this[_0x14059d(0x1ac)]);}['toggleOnline'](){return this;}[_0x1c91cb(0x340)](_0x508dd3){const _0x674c06=_0x1c91cb,_0x253c9b=_0x508dd3!=null?_0x508dd3:this[_0x674c06(0x44b)]();this['_scheduleTimestamp']=new Date()[_0x674c06(0x1bd)](),this['_sendingTimer']=window[_0x674c06(0x1af)](()=>{const _0x3cf71d=_0x674c06;this[_0x3cf71d(0x3f5)]();let _0x2f9e48=null;switch(this[_0x3cf71d(0x4c3)]){case ae[_0x3cf71d(0x169)]:{_0x2f9e48=ei(this[_0x3cf71d(0x1b7)],this[_0x3cf71d(0x1ab)],this[_0x3cf71d(0x494)],this[_0x3cf71d(0x339)],this['_memberService']);break;}case ae[_0x3cf71d(0x18f)]:{this[_0x3cf71d(0x1b7)]['every'](_0x271b74=>_0x271b74['id']===_0x361a8e['id'])?_0x2f9e48=Po(this[_0x3cf71d(0x1b7)],this[_0x3cf71d(0x1ab)],this[_0x3cf71d(0x494)],this[_0x3cf71d(0x339)],this[_0x3cf71d(0x31e)]):_0x2f9e48=ei(this[_0x3cf71d(0x1b7)],this[_0x3cf71d(0x1ab)],this[_0x3cf71d(0x494)],this['_revisionService'],this[_0x3cf71d(0x31e)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x3cf71d(0x4c3)]+'\x20in\x20_schedule.');}const {changeset:_0x117a5,pendingMutations:_0xe34db6}=_0x2f9e48;this[_0x3cf71d(0x1ac)][_0x3cf71d(0x314)](_0x117a5);const _0x25fd44=_0xe34db6[_0x3cf71d(0x38b)]?this[_0x3cf71d(0x29f)][_0x3cf71d(0x36b)](me,this[_0x3cf71d(0x1ab)],this[_0x3cf71d(0x4c3)],_0x117a5,_0xe34db6,this[_0x3cf71d(0x1ac)],void 0x0):this[_0x3cf71d(0x29f)][_0x3cf71d(0x36b)](Te,this['unitID'],this[_0x3cf71d(0x4c3)],_0x117a5,this[_0x3cf71d(0x1ac)]);_0x25fd44[_0x3cf71d(0x4e5)](),this[_0x3cf71d(0x1ac)][_0x3cf71d(0x15c)](this,_0x25fd44);},_0x253c9b);}[_0x1c91cb(0x44b)](){const _0xfc3fec=_0x1c91cb;var _0x4ab7f8;const _0x14390b=this['_configService']['getConfig'](Q);return(_0x4ab7f8=_0x14390b==null?void 0x0:_0x14390b[_0xfc3fec(0x2da)])!=null?_0x4ab7f8:Rn;}[_0x1c91cb(0x47c)](){const _0xbb79db=_0x1c91cb;throw new Error(_0xbb79db(0x4a7));}[_0x1c91cb(0x3f5)](){const _0x5a672d=_0x1c91cb;this[_0x5a672d(0x47f)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x1c91cb(0x20e)](_0x465e2a){const _0x21cd89=_0x1c91cb;return this[_0x21cd89(0x3f5)](),this[_0x21cd89(0x29f)][_0x21cd89(0x36b)](Re,this[_0x21cd89(0x1ab)],this[_0x21cd89(0x4c3)],null,this[_0x21cd89(0x1b7)],this['_handler'],_0x465e2a);}};pe=$e([A(0x4,_0x5beccd(_0x21398d)),A(0x5,_0x5beccd(_0x122db5)),A(0x6,_0x5beccd(z)),A(0x7,_0x5beccd(Me)),A(0x8,_0x535daf),A(0x9,_0x3abf69),A(0xa,_0x385706),A(0xb,_0x3e892f),A(0xc,_0x5283d0),A(0xd,_0x3ac068)],pe);let Te=class extends He{constructor(_0x41394b,_0x3fe971,_0x16bfd4,_0x5d2f86,_0x541256,_0x325858,_0x5084ae,_0x72ccd4,_0x5f563d,_0x318436,_0x26ce29){const _0x13cb4e=_0x1c91cb;super(_0x41394b,_0x3fe971,_0x16bfd4,[],_0x5d2f86,_0x72ccd4,_0x26ce29,_0x325858,_0x5084ae),g(this,'status',_0x13cb4e(0x3e4)),g(this,_0x13cb4e(0x2b2),0x0),g(this,_0x13cb4e(0x31d)),g(this,_0x13cb4e(0x171)),(this[_0x13cb4e(0x29f)]=_0x541256,this['_logService']=_0x5f563d,this['_transformService']=_0x318436);}[_0x1c91cb(0x271)](_0xcdf603){const _0xa376a7=_0x1c91cb;this['_clearScheduledTask']();const _0x30e1da=this[_0xa376a7(0x29f)][_0xa376a7(0x36b)](me,this[_0xa376a7(0x1ab)],this[_0xa376a7(0x4c3)],this[_0xa376a7(0x22b)],[_0xcdf603],this['_handler'],this['_resendTimer']);return _0x30e1da[_0xa376a7(0x4e5)](),_0x30e1da;}['onRemoteChangeset'](_0x158b77){const _0x5b1b3a=_0x1c91cb;if(this[_0x5b1b3a(0x45c)](_0x158b77))return this[_0x5b1b3a(0x3f5)](),this[_0x5b1b3a(0x29f)][_0x5b1b3a(0x36b)](ce,this[_0x5b1b3a(0x1ab)],this[_0x5b1b3a(0x4c3)],this[_0x5b1b3a(0x22b)],[],null,[_0x158b77],this[_0x5b1b3a(0x1ac)]);try{const _0x345bb9=this[_0x5b1b3a(0x247)][_0x5b1b3a(0x285)]([_0x158b77],[this[_0x5b1b3a(0x22b)]],!0x1);if(_0x1830da(_0x345bb9)){const {c1Prime:_0x414b33,c2Prime:_0xf0fb97}=_0x345bb9;this[_0x5b1b3a(0x4f9)](_0x414b33[0x0]),_0xf0fb97[0x0][_0x5b1b3a(0x263)]=this['_getCurrentRevision'](),this[_0x5b1b3a(0x3f5)]();const _0x2d24cd=this[_0x5b1b3a(0x29f)][_0x5b1b3a(0x36b)](Te,this[_0x5b1b3a(0x1ab)],this[_0x5b1b3a(0x4c3)],_0xf0fb97[0x0],this[_0x5b1b3a(0x1ac)]);return _0x2d24cd[_0x5b1b3a(0x4e5)](),_0x2d24cd;}return this[_0x5b1b3a(0x20e)](!0x1);}catch(_0x3e4712){return this[_0x5b1b3a(0x2fc)][_0x5b1b3a(0x4d3)](_0x3e4712),this[_0x5b1b3a(0x20e)](!0x1);}}[_0x1c91cb(0x4a6)](_0x4762b4){const _0x2634c4=_0x1c91cb;this['_clearScheduledTask']();const _0x2b3d80=this[_0x2634c4(0x339)][_0x2634c4(0x448)](this[_0x2634c4(0x1ab)]);if(_0x4762b4[_0x2634c4(0x45f)]<_0x2b3d80-0x1)return this;if(this[_0x2634c4(0x45c)](_0x4762b4))return this[_0x2634c4(0x29f)][_0x2634c4(0x36b)](ce,this[_0x2634c4(0x1ab)],this[_0x2634c4(0x4c3)],null,[],this['_awaitingChangeset'],[],this[_0x2634c4(0x1ac)]);this[_0x2634c4(0x2df)]();const _0x27b182=this[_0x2634c4(0x29f)]['createInstance'](Fe,this[_0x2634c4(0x1ab)],this[_0x2634c4(0x4c3)],this[_0x2634c4(0x1ac)]);return _0x27b182[_0x2634c4(0x4e5)](),_0x27b182;}[_0x1c91cb(0x381)](_0x3db352){const _0x2569c4=_0x1c91cb;return this[_0x2569c4(0x20e)](!!(_0x3db352!=null&&_0x3db352[_0x2569c4(0x253)]));}['onRemoteRetry'](_0x467143){const _0xf1b13f=_0x1c91cb;return this['_resendTimeout']>Xi?this[_0xf1b13f(0x430)]():(this[_0xf1b13f(0x31d)]=zi(this['_resendTimeout'],{'timeout':this[_0xf1b13f(0x2b2)],'reqId':_0x467143[_0xf1b13f(0x1e8)]}),this['_sender']=this[_0xf1b13f(0x31d)][_0xf1b13f(0x432)](({reqId:_0x5a6216,timeout:_0x4c19c5})=>{const _0xf5e84d=_0xf1b13f;this[_0xf5e84d(0x1b5)](_0x5a6216,_0x4c19c5);}),this);}[_0x1c91cb(0x430)](){const _0x1d6287=_0x1c91cb;return this[_0x1d6287(0x3f5)](),this[_0x1d6287(0x29f)][_0x1d6287(0x36b)](Oe,this[_0x1d6287(0x1ab)],this[_0x1d6287(0x4c3)],this[_0x1d6287(0x22b)],[],this[_0x1d6287(0x1ac)]);}[_0x1c91cb(0x213)](){return this;}[_0x1c91cb(0x47c)](){const _0x4c6b10=_0x1c91cb;this[_0x4c6b10(0x1ac)][_0x4c6b10(0x314)](this['_awaitingChangeset']);}[_0x1c91cb(0x20e)](_0x5e0420){const _0xfe076f=_0x1c91cb;return this['_clearScheduledTask'](),this['_injector'][_0xfe076f(0x36b)](Re,this['unitID'],this[_0xfe076f(0x4c3)],this[_0xfe076f(0x22b)],[],this[_0xfe076f(0x1ac)],_0x5e0420);}[_0x1c91cb(0x1b5)](_0x46848e,_0x32ac11){const _0x33ca66=_0x1c91cb;var _0x40a1da;_0x46848e===((_0x40a1da=this[_0x33ca66(0x22b)])==null?void 0x0:_0x40a1da['reqId'])&&(this['resend'](),this[_0x33ca66(0x2b2)]=_0x32ac11===0x0?0x3e8:_0x32ac11*0x2);}[_0x1c91cb(0x3f5)](){const _0x54384f=_0x1c91cb;var _0xc45bb6;(_0xc45bb6=this['_sender'])==null||_0xc45bb6[_0x54384f(0x2ca)](),this[_0x54384f(0x2b2)]=0x0;}};Te=$e([A(0x4,_0x5beccd(_0x21398d)),A(0x5,_0x5beccd(_0x122db5)),A(0x6,_0x5beccd(z)),A(0x7,_0x3abf69),A(0x8,_0x535daf),A(0x9,_0x3e892f),A(0xa,_0x3ac068)],Te);let me=class extends He{constructor(_0x3a53ed,_0x4470c7,_0x5c6b31,_0x1046d9,_0x5e877e,_0x46cbee,_0x188797,_0x1e4ca3,_0x4a0092,_0x55ac9b,_0x5e3a27,_0x34bd0e,_0x4ee80a){const _0x566b69=_0x1c91cb;super(_0x3a53ed,_0x4470c7,_0x5c6b31,_0x1046d9,_0x5e877e,_0x55ac9b,_0x4ee80a,_0x1e4ca3,_0x4a0092),g(this,_0x566b69(0xf0),_0x566b69(0x325)),g(this,_0x566b69(0x2b2),0x0),g(this,_0x566b69(0x31d)),g(this,'_sender'),(this[_0x566b69(0x29f)]=_0x188797,this[_0x566b69(0x2fc)]=_0x5e3a27,this[_0x566b69(0x247)]=_0x34bd0e,_0x46cbee&&(this['_resendTimer']=_0x46cbee,this[_0x566b69(0x171)]=this[_0x566b69(0x31d)][_0x566b69(0x432)](({reqId:_0x42bb46,timeout:_0x4727bd})=>{const _0xf19e73=_0x566b69;this[_0xf19e73(0x1b5)](_0x42bb46,_0x4727bd);})));}[_0x1c91cb(0x271)](_0x40c567){const _0x5a1a95=_0x1c91cb;return this[_0x5a1a95(0x1b7)]['push'](_0x40c567),this;}[_0x1c91cb(0x174)](_0x3a3018){const _0x4d2cef=_0x1c91cb;if(this[_0x4d2cef(0x45c)](_0x3a3018))return this[_0x4d2cef(0x3f5)](),this[_0x4d2cef(0x29f)]['createInstance'](ce,this[_0x4d2cef(0x1ab)],this[_0x4d2cef(0x4c3)],this[_0x4d2cef(0x22b)],this[_0x4d2cef(0x1b7)],null,[_0x3a3018],this[_0x4d2cef(0x1ac)]);try{const _0x537f40=this[_0x4d2cef(0x247)]['transformChangesets']([_0x3a3018],[this[_0x4d2cef(0x22b)]],!0x1);if(_0x1830da(_0x537f40)){const {c1Prime:_0x41d3c3,c2Prime:_0x38aacb}=_0x537f40,_0x1162aa=this[_0x4d2cef(0x247)][_0x4d2cef(0x2fa)](_0x41d3c3[0x0],this[_0x4d2cef(0x1b7)]);if(_0x9a9448(_0x1162aa)){const {c1Prime:_0x2687f0,m2Prime:_0x3fe470}=_0x1162aa;return this['_executeRemoteChangeset'](_0x2687f0),_0x38aacb[0x0][_0x4d2cef(0x263)]=this['_getCurrentRevision'](),this[_0x4d2cef(0x3f5)](),this[_0x4d2cef(0x29f)][_0x4d2cef(0x36b)](me,this[_0x4d2cef(0x1ab)],this['type'],_0x38aacb[0x0],_0x3fe470,this[_0x4d2cef(0x1ac)],void 0x0);}throw _0x1162aa[_0x4d2cef(0x4d3)];}throw _0x537f40[_0x4d2cef(0x4d3)];}catch(_0x50f2d7){return this[_0x4d2cef(0x2fc)][_0x4d2cef(0x4d3)](_0x50f2d7),this[_0x4d2cef(0x20e)](!0x1);}}[_0x1c91cb(0x4a6)](_0x157f73){const _0xde791b=_0x1c91cb;if(this[_0xde791b(0x3f5)](),this[_0xde791b(0x45c)](_0x157f73))return this[_0xde791b(0x29f)]['createInstance'](ce,this['unitID'],this[_0xde791b(0x4c3)],null,this[_0xde791b(0x1b7)],this[_0xde791b(0x22b)],[],this[_0xde791b(0x1ac)]);this[_0xde791b(0x2df)]();const _0x256e42=this[_0xde791b(0x29f)][_0xde791b(0x36b)](pe,this[_0xde791b(0x1ab)],this[_0xde791b(0x4c3)],this[_0xde791b(0x1b7)],this[_0xde791b(0x1ac)]);return _0x256e42[_0xde791b(0x340)](),_0x256e42[_0xde791b(0x4e5)](),_0x256e42;}[_0x1c91cb(0x381)](_0x317287){const _0x49602c=_0x1c91cb;return this['_onConflict'](!!(_0x317287!=null&&_0x317287[_0x49602c(0x253)]));}[_0x1c91cb(0x362)](_0xdeb3f8){const _0x341588=_0x1c91cb;return this[_0x341588(0x2b2)]>Xi?this[_0x341588(0x430)]():(this[_0x341588(0x31d)]=zi(this[_0x341588(0x2b2)],{'timeout':this['_resendTimeout'],'reqId':_0xdeb3f8[_0x341588(0x1e8)]}),this[_0x341588(0x171)]=this[_0x341588(0x31d)][_0x341588(0x432)](({reqId:_0x3aa1f2,timeout:_0x2cb804})=>{const _0x240b65=_0x341588;this[_0x240b65(0x1b5)](_0x3aa1f2,_0x2cb804);}),this);}[_0x1c91cb(0x430)](){const _0x34f34e=_0x1c91cb;return this[_0x34f34e(0x3f5)](),this['_injector'][_0x34f34e(0x36b)](Oe,this[_0x34f34e(0x1ab)],this['type'],this[_0x34f34e(0x22b)],this[_0x34f34e(0x1b7)],this['_handler']);}[_0x1c91cb(0x213)](){return this;}[_0x1c91cb(0x47c)](){const _0x3d40a3=_0x1c91cb;this[_0x3d40a3(0x1ac)][_0x3d40a3(0x314)](this['_awaitingChangeset']);}['_onConflict'](_0x5647a1){const _0x3e3abc=_0x1c91cb;return this[_0x3e3abc(0x3f5)](),this[_0x3e3abc(0x29f)][_0x3e3abc(0x36b)](Re,this[_0x3e3abc(0x1ab)],this[_0x3e3abc(0x4c3)],null,this[_0x3e3abc(0x1b7)],this[_0x3e3abc(0x1ac)],_0x5647a1);}[_0x1c91cb(0x1b5)](_0x4d776a,_0x5db9b2){const _0x3daeca=_0x1c91cb;var _0x4480f0;_0x4d776a===((_0x4480f0=this['_awaitingChangeset'])==null?void 0x0:_0x4480f0[_0x3daeca(0x1e8)])&&(this['resend'](),this[_0x3daeca(0x2b2)]=_0x5db9b2===0x0?0x3e8:_0x5db9b2*0x2);}[_0x1c91cb(0x3f5)](){const _0xced149=_0x1c91cb;var _0x1fc19d;(_0x1fc19d=this[_0xced149(0x171)])==null||_0x1fc19d[_0xced149(0x2ca)](),this['_resendTimeout']=0x0;}};me=$e([A(0x6,_0x5beccd(_0x21398d)),A(0x7,_0x5beccd(_0x122db5)),A(0x8,_0x5beccd(z)),A(0x9,_0x3abf69),A(0xa,_0x535daf),A(0xb,_0x3e892f),A(0xc,_0x3ac068)],me);let Re=class extends He{constructor(_0x53a946,_0x582640,_0x3225e4,_0x228109,_0x543826,_0x449ec2=!0x1,_0x16b7a8,_0x466d63,_0x2f5615,_0x25292a,_0x9f5a04,_0x40e483,_0xce5e54){const _0x41aa54=_0x1c91cb;super(_0x53a946,_0x582640,_0x3225e4,_0x228109,_0x543826,_0x466d63,_0x2f5615,_0x9f5a04,_0x25292a),g(this,_0x41aa54(0xf0),'conflict'),(this[_0x41aa54(0x4d8)]=_0x449ec2,this[_0x41aa54(0x1bb)]=_0x16b7a8,this[_0x41aa54(0x2f9)]=_0x40e483,this['_notificationService']=_0xce5e54,this[_0x41aa54(0x3e0)](),this[_0x41aa54(0x3ed)](),this[_0x41aa54(0x2de)]());}[_0x1c91cb(0x271)](){return this;}['onRemoteChangeset'](){return this;}[_0x1c91cb(0x4a6)](){return this;}['onRemoteRej'](){return this;}[_0x1c91cb(0x362)](){return this;}['toggleOffline'](){return this;}[_0x1c91cb(0x213)](){return this;}[_0x1c91cb(0x47c)](){const _0x187bab=_0x1c91cb;throw new Error(_0x187bab(0x166));}[_0x1c91cb(0x3ed)](){const _0x3f5d82=_0x1c91cb;this[_0x3f5d82(0x38e)][_0x3f5d82(0x3fb)](this[_0x3f5d82(0x1ab)],this['type'],null,[]);}[_0x1c91cb(0x3e0)](){const _0x5b2019=_0x1c91cb;this['_isPermissionRej']?this[_0x5b2019(0x23a)][_0x5b2019(0x2d0)]({'title':this[_0x5b2019(0x2f9)]['t'](_0x5b2019(0x3c9)),'content':this[_0x5b2019(0x2f9)]['t'](_0x5b2019(0x2ba)),'type':_0x5b2019(0x4d3),'duration':0x0}):this[_0x5b2019(0x23a)][_0x5b2019(0x2d0)]({'title':this[_0x5b2019(0x2f9)]['t'](_0x5b2019(0x3fa)),'content':this[_0x5b2019(0x2f9)]['t'](_0x5b2019(0x131)),'type':'error','duration':0x0});}[_0x1c91cb(0x2de)](){const _0x1dedf0=_0x1c91cb;this['_permissionService'][_0x1dedf0(0x3b1)](new _0x203d63(this['unitID'])['id'],!0x1);}};Re=$e([A(0x6,_0x5beccd(_0x143818)),A(0x7,_0x3abf69),A(0x8,_0x3ac068),A(0x9,_0x5beccd(z)),A(0xa,_0x5beccd(_0x122db5)),A(0xb,_0x5beccd(_0x1f9468)),A(0xc,_0x5eb221)],Re);let Oe=class extends He{constructor(_0x4ea02c,_0x1d0ff1,_0x4240bf,_0x473f8c,_0x49a8a2,_0x230567,_0x3a47cc,_0x2e13ab,_0x8456c8,_0x4e3b99){const _0x3e675b=_0x1c91cb;super(_0x4ea02c,_0x1d0ff1,_0x4240bf,_0x473f8c,_0x49a8a2,_0x8456c8,_0x4e3b99,_0x3a47cc,_0x2e13ab),g(this,'status',_0x3e675b(0x4c8)),this['_injector']=_0x230567;}[_0x1c91cb(0x271)](_0x5d1df3){const _0x1b06a5=_0x1c91cb;return this[_0x1b06a5(0x1b7)][_0x1b06a5(0x4c1)](_0x5d1df3),this[_0x1b06a5(0x4e5)](),this;}[_0x1c91cb(0x174)](_0xec45a1){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1c91cb(0x4a6)](){const _0x575e47=_0x1c91cb;throw new Error(_0x575e47(0x40c));}['onRemoteRej'](){const _0x217f00=_0x1c91cb;throw new Error(_0x217f00(0x343));}['onRemoteRetry'](){return this;}[_0x1c91cb(0x430)](){return this;}[_0x1c91cb(0x213)](){const _0xea3165=_0x1c91cb,{_injector:_0x1480fc,_pendingMutations:_0x38970b,_awaitingChangeset:_0x52057f,unitID:_0x2300eb,_handler:_0x2867c6,type:_0x519e68}=this,_0x3c13a2=Ji(_0x1480fc,_0x2300eb,_0x519e68,_0x52057f,_0x38970b,_0x2867c6);return _0x3c13a2 instanceof pe?_0x3c13a2['_schedule']():(_0x3c13a2 instanceof me||_0x3c13a2 instanceof Te)&&_0x3c13a2[_0xea3165(0x47c)](),_0x3c13a2;}['resend'](){const _0x1ce505=_0x1c91cb;throw new Error(_0x1ce505(0x4ec));}};Oe=$e([A(0x5,_0x5beccd(_0x21398d)),A(0x6,_0x5beccd(_0x122db5)),A(0x7,_0x5beccd(z)),A(0x8,_0x3abf69),A(0x9,_0x3ac068)],Oe);let ce=class extends He{constructor(_0x4df7c0,_0x106589,_0x191ecd,_0x5846bb,_0x493d6c,_0x10f7e0,_0x385ead,_0x1dd2bd,_0x2f7148,_0x53b749,_0x50369d,_0x16f77e,_0x54a52c,_0x1e34cd){const _0x2aed72=_0x1c91cb;super(_0x4df7c0,_0x106589,_0x191ecd,_0x5846bb,_0x385ead,_0x16f77e,_0x54a52c,_0x2f7148,_0x53b749),g(this,_0x2aed72(0xf0),_0x2aed72(0x210)),(this[_0x2aed72(0x3af)]=_0x493d6c,this['_queuedRemoteChangesets']=_0x10f7e0,this[_0x2aed72(0x29f)]=_0x1dd2bd,this[_0x2aed72(0x2fc)]=_0x50369d,this['_transformService']=_0x1e34cd);}[_0x1c91cb(0x4bc)](_0x22f572){const _0x594967=_0x1c91cb;try{const _0x37466a=[..._0x22f572,...this[_0x594967(0x431)]],_0x47df4a=[this[_0x594967(0x22b)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x5216aa=>!!_0x5216aa);let _0x52d8a0,_0x1319ac;if(_0x47df4a[_0x594967(0x38b)]){const _0x33db33=this[_0x594967(0x247)][_0x594967(0x285)](_0x37466a,_0x47df4a,!0x1);if(!_0x1830da(_0x33db33))throw _0x33db33[_0x594967(0x4d3)];_0x52d8a0=_0x33db33[_0x594967(0x1f2)],_0x1319ac=_0x33db33[_0x594967(0x3dd)];}else _0x52d8a0=_0x37466a,_0x1319ac=[];let _0x50a966=this[_0x594967(0x1b7)];_0x52d8a0[_0x594967(0x180)](_0x4f6fba=>{const _0x3098a9=_0x594967;let _0xc0bb03;if(_0x50a966['length']){const _0x19094a=this[_0x3098a9(0x247)][_0x3098a9(0x2fa)](_0x4f6fba,_0x50a966);if(!_0x9a9448(_0x19094a))throw _0x19094a['error'];_0xc0bb03=_0x19094a[_0x3098a9(0x1f2)],_0x50a966=_0x19094a['m2Prime'];}else _0xc0bb03=_0x4f6fba;this[_0x3098a9(0x4f9)](_0xc0bb03);}),this[_0x594967(0x3af)]&&this[_0x594967(0x2df)](),this[_0x594967(0x22b)]&&_0x1319ac[_0x594967(0x38b)]&&(_0x1319ac[0x0][_0x594967(0x263)]=this['_getCurrentRevision']());let _0x102fc5;if(this['_awaitingChangeset']&&_0x50a966[_0x594967(0x38b)]!==0x0)_0x102fc5=this[_0x594967(0x29f)][_0x594967(0x36b)](me,this[_0x594967(0x1ab)],this[_0x594967(0x4c3)],_0x1319ac[0x0],_0x50a966,this['_handler'],void 0x0);else{if(this[_0x594967(0x22b)]&&_0x50a966[_0x594967(0x38b)]===0x0)_0x1319ac[0x0][_0x594967(0x263)]=this[_0x594967(0x503)](),_0x102fc5=this[_0x594967(0x29f)][_0x594967(0x36b)](Te,this['unitID'],this[_0x594967(0x4c3)],_0x1319ac[0x0],this[_0x594967(0x1ac)]);else{if(_0x50a966[_0x594967(0x38b)]!==0x0){const _0x2a6d33=this['_injector'][_0x594967(0x36b)](pe,this['unitID'],this[_0x594967(0x4c3)],_0x50a966,this[_0x594967(0x1ac)]);_0x2a6d33[_0x594967(0x340)](),_0x102fc5=_0x2a6d33;}else _0x102fc5=this[_0x594967(0x29f)][_0x594967(0x36b)](Fe,this['unitID'],this['type'],this[_0x594967(0x1ac)]);}}return _0x102fc5['_updateLocalCache'](),_0x102fc5;}catch(_0x185c38){return this[_0x594967(0x2fc)][_0x594967(0x4d3)](_0x594967(0x4a5),_0x594967(0x2b4),_0x185c38),this[_0x594967(0x29f)]['createInstance'](Re,this[_0x594967(0x1ab)],this[_0x594967(0x4c3)],this['_awaitingChangeset'],this[_0x594967(0x1b7)],this['_handler'],!0x1);}}['resend'](){const _0x45ae20=_0x1c91cb;throw new Error(_0x45ae20(0x243));}[_0x1c91cb(0x271)](_0x4abfbd){const _0x381a9e=_0x1c91cb;return this[_0x381a9e(0x1b7)][_0x381a9e(0x4c1)](_0x4abfbd),this;}[_0x1c91cb(0x174)](_0x4af9c9){const _0x2bfafc=_0x1c91cb;return this[_0x2bfafc(0x431)][_0x2bfafc(0x4c1)](_0x4af9c9),this;}['onRemoteAck'](_0x4e213a){const _0x116e00=_0x1c91cb;if(this[_0x116e00(0x22b)])return this['_acknowledgedAwaitingChangeset']=this[_0x116e00(0x22b)],this[_0x116e00(0x22b)]=null,this;throw new Error(_0x116e00(0x461));}[_0x1c91cb(0x381)](_0x1bb4ad){const _0x14ede0=_0x1c91cb;return this['_onConflict'](!!(_0x1bb4ad!=null&&_0x1bb4ad[_0x14ede0(0x253)]));}['onRemoteRetry'](){return this;}[_0x1c91cb(0x430)](){const _0x2b3a01=_0x1c91cb;return this[_0x2b3a01(0x29f)][_0x2b3a01(0x36b)](Oe,this[_0x2b3a01(0x1ab)],this[_0x2b3a01(0x4c3)],this['_awaitingChangeset'],this[_0x2b3a01(0x1b7)],this[_0x2b3a01(0x1ac)]);}['toggleOnline'](){return this;}[_0x1c91cb(0x20e)](_0x3330ff){const _0x543ab3=_0x1c91cb;return this['_injector'][_0x543ab3(0x36b)](Re,this['unitID'],this[_0x543ab3(0x4c3)],this['_awaitingChangeset'],this[_0x543ab3(0x1b7)],this[_0x543ab3(0x1ac)],_0x3330ff);}};ce=$e([A(0x7,_0x5beccd(_0x21398d)),A(0x8,_0x5beccd(_0x122db5)),A(0x9,_0x5beccd(z)),A(0xa,_0x535daf),A(0xb,_0x3abf69),A(0xc,_0x3ac068),A(0xd,_0x3e892f)],ce);function Ji(_0x570b07,_0x11fcf4,_0xd21dad,_0x5888c1,_0x2d4905,_0x157e30){const _0xbb146a=_0x1c91cb;return _0x5888c1&&_0x2d4905[_0xbb146a(0x38b)]?_0x570b07[_0xbb146a(0x36b)](me,_0x11fcf4,_0xd21dad,_0x5888c1,_0x2d4905,_0x157e30,void 0x0):_0x5888c1?_0x570b07[_0xbb146a(0x36b)](Te,_0x11fcf4,_0xd21dad,_0x5888c1,_0x157e30):_0x2d4905['length']?_0x570b07[_0xbb146a(0x36b)](pe,_0x11fcf4,_0xd21dad,_0x2d4905,_0x157e30):_0x570b07[_0xbb146a(0x36b)](Fe,_0x11fcf4,_0xd21dad,_0x157e30);}var Mo=Object[_0x1c91cb(0x502)],xo=Object[_0x1c91cb(0x439)],Ps=(_0x1bc000,_0x573770,_0x382275,_0x460f6d)=>{const _0x542928=_0x1c91cb;for(var _0x23dd35=_0x460f6d>0x1?void 0x0:_0x460f6d?xo(_0x573770,_0x382275):_0x573770,_0x575e5d=_0x1bc000[_0x542928(0x38b)]-0x1,_0x4d8835;_0x575e5d>=0x0;_0x575e5d--)(_0x4d8835=_0x1bc000[_0x575e5d])&&(_0x23dd35=(_0x460f6d?_0x4d8835(_0x573770,_0x382275,_0x23dd35):_0x4d8835(_0x23dd35))||_0x23dd35);return _0x460f6d&&_0x23dd35&&Mo(_0x573770,_0x382275,_0x23dd35),_0x23dd35;},H=(_0x589c69,_0x224d1e)=>(_0x444572,_0x55c542)=>_0x224d1e(_0x444572,_0x55c542,_0x589c69);let Nt=class extends _0x30a9be{constructor(_0x3bd42b,_0x4b18bc,_0x31863d,_0x2ff4fd,_0x2dd080,_0x526803,_0x11da32,_0x2c87d2,_0x580060,_0x4d306e,_0x1f6899,_0x4f4b0c,_0x141326){const _0x3f336d=_0x1c91cb;super(),g(this,'_state$',new _0x3eae3e(null)),g(this,'state$',this['_state$'][_0x3f336d(0x141)]()),g(this,_0x3f336d(0x3a6)),g(this,_0x3f336d(0x438),!0x1),g(this,_0x3f336d(0x12c),''),g(this,_0x3f336d(0x4ed),0x0),g(this,_0x3f336d(0x3b5),this[_0x3f336d(0x1a7)][_0x3f336d(0x1c3)](_0x22336c(_0x20bfd3=>_0x20bfd3?_0x20bfd3[_0x3f336d(0xf0)]:J[_0x3f336d(0x12d)]),_0x527819(0x1))),g(this,_0x3f336d(0x22e),!0x1),g(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x3bd42b,this[_0x3f336d(0x3f0)]=_0x4b18bc,this['_type']=_0x31863d,this['_injector']=_0x2ff4fd,this['_localCacheService']=_0x2dd080,this[_0x3f336d(0x4b9)]=_0x526803,this[_0x3f336d(0x2f9)]=_0x11da32,this[_0x3f336d(0x339)]=_0x2c87d2,this['_logService']=_0x580060,this[_0x3f336d(0x281)]=_0x4d306e,this[_0x3f336d(0x4bf)]=_0x1f6899,this[_0x3f336d(0x1bb)]=_0x4f4b0c,this['_singleActiveUnitService']=_0x141326);}get[_0x1c91cb(0x406)](){return this['_state'];}async['init'](){const _0x316035=_0x1c91cb;if(this[_0x316035(0x406)])throw new Error(_0x316035(0x26b));await this[_0x316035(0x1ea)]();}['pauseCollaboration'](){const _0x589719=_0x1c91cb;return this[_0x589719(0x438)]=!0x0,_0x20cd7e(()=>{const _0xc83d3=_0x589719;this[_0xc83d3(0x438)]=!0x1,this[_0xc83d3(0x1e6)]();});}[_0x1c91cb(0x2d1)](_0xdc4514){const _0x4eb9d4=_0x1c91cb;this[_0x4eb9d4(0x3a6)]=_0xdc4514,this['_state$'][_0x4eb9d4(0x1eb)](_0xdc4514);}async['_init'](){const _0x2e52a5=_0x1c91cb;var _0x3efab6;this['_updateState'](await this['_createInitialState']()),this[_0x2e52a5(0x3d9)]&&((_0x3efab6=this[_0x2e52a5(0x3d9)])==null||_0x3efab6[_0x2e52a5(0x4ae)](this[_0x2e52a5(0x1ab)]),this[_0x2e52a5(0x29c)](this[_0x2e52a5(0x3d9)]['getUnitStatus$'](this['unitID'])[_0x2e52a5(0x432)](_0x3ca654=>{const _0x114642=_0x2e52a5;this[_0x114642(0x2fc)][_0x114642(0x238)]('[CollaborationEntity]',_0x114642(0x1f3),_0x3ca654),_0x3ca654===Ki[_0x114642(0x2d2)]?(this[_0x114642(0x4bf)]['show']({'content':this[_0x114642(0x2f9)]['t'](_0x114642(0x34c)),'type':_0x25a468['Warning']}),this[_0x114642(0x1bb)][_0x114642(0x3b1)](new _0x203d63(this[_0x114642(0x1ab)])['id'],!0x1),this[_0x114642(0x1bb)][_0x114642(0x48b)](!0x1)):(this['_permissionService'][_0x114642(0x3b1)](new _0x203d63(this[_0x114642(0x1ab)])['id'],!0x0),this['_permissionService'][_0x114642(0x48b)](!0x0));})));let _0x3ce8ef=!0x1;return this[_0x2e52a5(0x29c)](this[_0x2e52a5(0x3f0)][_0x2e52a5(0x295)][_0x2e52a5(0x432)](_0x161217=>{const _0x3cafce=_0x2e52a5;_0x161217===fe[_0x3cafce(0x4a3)]?this[_0x3cafce(0x223)](_0x3ce8ef):_0x161217===fe[_0x3cafce(0x12d)]&&(_0x3ce8ef=!0x0,this[_0x3cafce(0x3ce)]());})),this[_0x2e52a5(0x29c)](this[_0x2e52a5(0x3f0)][_0x2e52a5(0x278)]['subscribe'](_0x3f2299=>{const _0x5a233a=_0x2e52a5;try{switch(_0x3f2299[_0x5a233a(0x42b)]){case _0x596510[_0x5a233a(0x105)]:{this[_0x5a233a(0x200)](_0x2b33ab(_0x3f2299[_0x5a233a(0x202)]));break;}case _0x596510[_0x5a233a(0x376)]:{this[_0x5a233a(0x436)](_0x3f2299[_0x5a233a(0x202)]);break;}case _0x596510[_0x5a233a(0x3b4)]:{this[_0x5a233a(0x37d)]();break;}case _0x596510[_0x5a233a(0x111)]:{this[_0x5a233a(0x261)](_0x3f2299[_0x5a233a(0x202)]);break;}case _0x596510[_0x5a233a(0x143)]:{this[_0x5a233a(0x3c4)](_0x3f2299[_0x5a233a(0x202)][_0x5a233a(0x1ad)][_0x5a233a(0x3da)](_0x2f53df=>_0x2b33ab(_0x2f53df)));break;}case _0x596510[_0x5a233a(0x2bf)]:this[_0x5a233a(0x37d)]({'isPermissionRej':!0x0});}}catch(_0x228a34){throw console[_0x5a233a(0x4d3)]('Error\x20on\x20receiving\x20event',_0x228a34),_0x228a34;}})),this[_0x2e52a5(0x3a6)];}[_0x1c91cb(0x3a2)](){const _0xb550ae=_0x1c91cb;this[_0xb550ae(0x22e)]=!0x1;}[_0x1c91cb(0x1e3)](){const _0x17001c=_0x1c91cb;if(this[_0x17001c(0x22e)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x17001c(0x22e)]=!0x0;}[_0x1c91cb(0x372)](_0x5b1207){const _0xbd01ac=_0x1c91cb;this[_0xbd01ac(0x1e3)](),this[_0xbd01ac(0x2d1)](this['_state'][_0xbd01ac(0x271)](_0x5b1207)),this[_0xbd01ac(0x3a2)]();}['_onRemoteChangeset'](_0x793407){const _0x2f7fb7=_0x1c91cb;if(!(_0x793407['revision']<=this[_0x2f7fb7(0x339)][_0x2f7fb7(0x448)](this[_0x2f7fb7(0x1ab)]))){if(this['_collaborationPaused']){this[_0x2f7fb7(0x500)][_0x2f7fb7(0x4c1)](_0x793407);return;}this[_0x2f7fb7(0x4b0)](_0x793407);}}['_exhaustRemoteChangesetQueue'](){const _0xa96ef9=_0x1c91cb;this[_0xa96ef9(0x500)]['forEach'](_0x779936=>this['_applyRemoteChangeset'](_0x779936)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x286636){const _0x5ba3eb=_0x1c91cb,_0x352cc6=this[_0x5ba3eb(0x4b9)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x286636[_0x5ba3eb(0x2e4)],null)||_0x286636[_0x5ba3eb(0x2e4)],_0x572179={..._0x286636,'mutations':_0x352cc6};this[_0x5ba3eb(0x1e3)](),this[_0x5ba3eb(0x2d1)](this['_state'][_0x5ba3eb(0x174)](_0x572179)),this[_0x5ba3eb(0x3a2)]();}[_0x1c91cb(0x436)](_0x2a2819){const _0x540b63=_0x1c91cb;this['_lockTransition'](),this[_0x540b63(0x2d1)](this[_0x540b63(0x3a6)][_0x540b63(0x4a6)](_0x2a2819)),this[_0x540b63(0x3a2)]();}['_onRemoteRejected'](_0x127a23){const _0x317c5a=_0x1c91cb;this['_lockTransition'](),this[_0x317c5a(0x2d1)](this[_0x317c5a(0x3a6)][_0x317c5a(0x381)](_0x127a23)),this['_unlockTransition']();}[_0x1c91cb(0x261)](_0x2f5c96){const _0x308c93=_0x1c91cb;this[_0x308c93(0x1e3)](),this[_0x308c93(0x2d1)](this[_0x308c93(0x3a6)][_0x308c93(0x362)](_0x2f5c96)),this[_0x308c93(0x3a2)]();}[_0x1c91cb(0x3c4)](_0x87b8df){const _0x532c06=_0x1c91cb;if(!(this[_0x532c06(0x3a6)]instanceof ce))throw new TypeError(_0x532c06(0x4fd));const _0x5b67dd=_0x87b8df[_0x532c06(0x3da)](_0xd3fba6=>{const _0x1eb39f=_0x532c06,_0x5ecbb2=this[_0x1eb39f(0x4b9)][_0x1eb39f(0x2a3)][_0x1eb39f(0x3a1)](this[_0x1eb39f(0x4b9)][_0x1eb39f(0x2a3)][_0x1eb39f(0x4ad)]()[_0x1eb39f(0x214)])(_0xd3fba6[_0x1eb39f(0x2e4)],null)||_0xd3fba6[_0x1eb39f(0x2e4)];return{..._0xd3fba6,'mutations':_0x5ecbb2};});this[_0x532c06(0x1e3)](),this[_0x532c06(0x2d1)](this[_0x532c06(0x3a6)][_0x532c06(0x4bc)](_0x5b67dd)),this['_unlockTransition']();}['_toggleOffline'](){const _0x56ab9b=_0x1c91cb;this[_0x56ab9b(0x1e3)](),this['_updateState'](this[_0x56ab9b(0x3a6)][_0x56ab9b(0x430)]()),this[_0x56ab9b(0x3a2)]();}['_toggleOnline'](_0x2e2a76=!0x1){const _0x2893c6=_0x1c91cb;this[_0x2893c6(0x1e3)](),this[_0x2893c6(0x2d1)](this[_0x2893c6(0x3a6)][_0x2893c6(0x213)]()),this[_0x2893c6(0x3a2)]();const _0x29510d=this['_state'];_0x2e2a76&&_0x29510d instanceof Fe&&(this[_0x2893c6(0x1e3)](),this['_updateState'](_0x29510d['fetchMiss']()),this[_0x2893c6(0x3a2)]());}async[_0x1c91cb(0x42e)](){return new Promise(_0xe01b63=>{const _0x3dbce0=_0x1b68;this['session'][_0x3dbce0(0x295)][_0x3dbce0(0x1c3)](_0xc66db6(0x1))['subscribe'](async _0x577e5e=>{const _0x29223f=_0x3dbce0;_0xe01b63(await this[_0x29223f(0x363)](_0x577e5e===fe[_0x29223f(0x4a3)]));});});}[_0x1c91cb(0x2af)](){const _0x246f2e=_0x1c91cb,_0x145bc7=this[_0x246f2e(0x1ab)];return{'onStateChange':(_0x5a3f24,_0xc46999)=>{const _0x3b874c=_0x246f2e;if(_0x5a3f24!==this[_0x3b874c(0x3a6)])throw new Error(_0x3b874c(0x289)+_0x5a3f24[_0x3b874c(0xf0)]+_0x3b874c(0x33c)+_0xc46999['status']+_0x3b874c(0xee)+this[_0x3b874c(0x3a6)][_0x3b874c(0xf0)]);this['_updateState'](_0xc46999);},'onSendChangeset':_0xbd5544=>{const _0x54f098=_0x246f2e;_0xbd5544['sid']||(_0xbd5544[_0x54f098(0x251)]=this[_0x54f098(0x12c)],_0xbd5544[_0x54f098(0x1e8)]=++this['_changesetReqId']);const _0x18e415={'eventID':_0x596510[_0x54f098(0x304)],'data':{'unitID':_0xbd5544[_0x54f098(0x1ab)],'unitType':this[_0x54f098(0x409)],'changeset':_0xbd5544,'memberID':this[_0x54f098(0x3f0)]['getMemberID']()}};this[_0x54f098(0x3f0)][_0x54f098(0x2f4)](_0x18e415,this['unitID']);},'onMissingChangesets':({from:_0x25b4de,to:_0xc21ad7})=>{const _0x592a08=_0x246f2e;this[_0x592a08(0x2fc)][_0x592a08(0x238)](_0x592a08(0x3ba),_0x592a08(0x443)+_0x25b4de+_0x592a08(0x216)+_0xc21ad7);const _0x5c18ea={'eventID':_0x596510[_0x592a08(0x4af)],'data':{'unitID':_0x145bc7,'unitType':this[_0x592a08(0x409)],'from':_0x25b4de,'to':_0xc21ad7}};this[_0x592a08(0x3f0)][_0x592a08(0x2f4)](_0x5c18ea,this['unitID']);}};}async[_0x1c91cb(0x363)](_0x493c2a){const _0x4a6b3b=_0x1c91cb;var _0x4d4118,_0x25cb54;const _0x4a8d9e=await this[_0x4a6b3b(0x38e)][_0x4a6b3b(0x353)](this['unitID']),_0x5867d9=(_0x4d4118=_0x4a8d9e==null?void 0x0:_0x4a8d9e[_0x4a6b3b(0x2e4)])!=null?_0x4d4118:[],_0x510c17=(_0x25cb54=_0x4a8d9e==null?void 0x0:_0x4a8d9e[_0x4a6b3b(0x177)])!=null?_0x25cb54:null,_0x10967e=!!(_0x510c17!=null&&_0x510c17['sid'])&&!!(_0x510c17!=null&&_0x510c17[_0x4a6b3b(0x1e8)]);this[_0x4a6b3b(0x12c)]=_0x10967e?_0x510c17[_0x4a6b3b(0x251)]:ho(),this['_changesetReqId']=_0x10967e?_0x510c17[_0x4a6b3b(0x1e8)]:0x0;const _0xf2309a=this[_0x4a6b3b(0x1ab)];try{this[_0x4a6b3b(0x124)](_0x510c17,_0x5867d9);}catch(_0x5225c5){this[_0x4a6b3b(0x2fc)][_0x4a6b3b(0x4d3)](_0x5225c5);}const _0x41ed27=this[_0x4a6b3b(0x2af)]();if(_0x493c2a){const _0x545552=Ji(this['_injector'],_0xf2309a,this[_0x4a6b3b(0x409)],_0x510c17,_0x5867d9,_0x41ed27);return _0x545552 instanceof pe?_0x545552[_0x4a6b3b(0x340)]():(_0x545552 instanceof me||_0x545552 instanceof Te)&&_0x545552[_0x4a6b3b(0x47c)](),_0x545552;}return this[_0x4a6b3b(0x29f)]['createInstance'](Oe,_0xf2309a,this['_type'],_0x510c17,_0x5867d9,_0x41ed27);}[_0x1c91cb(0x124)](_0x37cf42,_0xaecfdb){const _0x377f1b=_0x1c91cb;var _0x9cf42c,_0xabeef;const _0x356f88=this[_0x377f1b(0x4b9)][_0x377f1b(0x2a3)][_0x377f1b(0x3a1)](this['_compressMutationService'][_0x377f1b(0x2a3)]['getInterceptPoints']()[_0x377f1b(0x214)]);(_0x9cf42c=_0x356f88((_0x37cf42==null?void 0x0:_0x37cf42[_0x377f1b(0x2e4)])||[],null))==null||_0x9cf42c['forEach'](_0x1aa5c3=>this[_0x377f1b(0x281)][_0x377f1b(0x407)](_0x1aa5c3['id'],_0x1aa5c3[_0x377f1b(0x335)])),(_0xabeef=_0x356f88(_0xaecfdb||[],null))==null||_0xabeef['forEach'](_0x20b6fc=>this[_0x377f1b(0x281)][_0x377f1b(0x407)](_0x20b6fc['id'],_0x20b6fc[_0x377f1b(0x335)]));}};Nt=Ps([H(0x3,_0x5beccd(_0x21398d)),H(0x4,_0x5beccd(z)),H(0x5,_0x5beccd(_0xd5c410)),H(0x6,_0x5beccd(_0x1f9468)),H(0x7,_0x5beccd(_0x122db5)),H(0x8,_0x535daf),H(0x9,_0x3abf69),H(0xa,_0x452fb7),H(0xb,_0x143818),H(0xc,_0x231330(jt))],Nt);let ls=class extends Nt{constructor(_0x43cc03,_0x5ed22a,_0x4b5d02,_0x134f8a,_0x40dbd1,_0x3ea39d,_0x8aa9ed,_0x3d4d2e,_0x552729,_0x3e8a97,_0x16d2f1,_0x10bbd0,_0x5733af,_0x470ec0,_0x38a3a1,_0x5e28c1,_0x2ad7ab,_0x42cea0){const _0x1d280d=_0x1c91cb;super(_0x43cc03,_0x4b5d02,_0x5ed22a,_0x134f8a,_0x40dbd1,_0x3ea39d,_0x8aa9ed,_0x3d4d2e,_0x470ec0,_0x38a3a1,_0x5e28c1,_0x2ad7ab,_0x42cea0),this[_0x1d280d(0x1ab)]=_0x43cc03,this[_0x1d280d(0x4c3)]=_0x5ed22a,this[_0x1d280d(0x3c0)]=_0x552729,this[_0x1d280d(0x4e1)]=_0x3e8a97,this[_0x1d280d(0x396)]=_0x16d2f1,this['_docTransformSelectionsService']=_0x10bbd0,this[_0x1d280d(0x495)]=_0x5733af;}['_createHandler'](){const _0x25cad4=_0x1c91cb,_0x5da020=super[_0x25cad4(0x2af)]();return _0x5da020[_0x25cad4(0x38c)]=_0x56237d=>this[_0x25cad4(0x4e1)]['transformIMECache'](_0x56237d),_0x5da020[_0x25cad4(0x383)]=_0x417fbb=>this[_0x25cad4(0x396)][_0x25cad4(0x306)](_0x417fbb),_0x5da020[_0x25cad4(0x485)]=_0x534046=>this['_docTransformSelectionsService'][_0x25cad4(0x1cf)](_0x534046),_0x5da020['onSyncEditingCollabCursor']=_0x37f7ea=>this[_0x25cad4(0x495)]['syncEditingCollabCursor'](_0x37f7ea),_0x5da020['onTransformRemoteChangesetByIMECache']=_0x16d4f0=>this[_0x25cad4(0x4e1)][_0x25cad4(0x1cd)](_0x16d4f0),_0x5da020[_0x25cad4(0x148)]=_0x5c12cf=>this[_0x25cad4(0x396)]['transformRemoteChangeset'](_0x5c12cf),_0x5da020;}async[_0x1c91cb(0x1ea)](){const _0x5c2e10=_0x1c91cb,_0x248a37=await super['_init']();return this[_0x5c2e10(0x29c)](this[_0x5c2e10(0x3c0)][_0x5c2e10(0x369)]['pipe'](_0x13e2dd(this[_0x5c2e10(0x1a4)]))[_0x5c2e10(0x432)](_0x2055b7=>{const _0x2fe201=_0x5c2e10;if(_0x2055b7==null)return;const {unitId:_0x5dabd7,redoState:_0xbb360a,commandId:_0x302657}=_0x2055b7;if(_0x5dabd7!==this[_0x2fe201(0x1ab)])return;const _0x184b5c={'id':_0x302657,'type':_0x172fb0[_0x2fe201(0x2f1)],'params':{'unitId':_0x5dabd7,'actions':_0xbb360a['actions'],'textRanges':null}};this[_0x2fe201(0x372)](_0x184b5c);})),this[_0x5c2e10(0x29c)](this[_0x5c2e10(0x281)][_0x5c2e10(0x23f)]((_0x296d33,_0x5a3531)=>{const _0x25505f=_0x5c2e10;if(_0x296d33[_0x25505f(0x4c3)]!==_0x172fb0[_0x25505f(0x2f1)]||_0x5a3531!=null&&_0x5a3531['fromCollab']||_0x5a3531!=null&&_0x5a3531['onlyLocal']||_0x296d33['id']===_0x361a8e['id'])return;const _0x18a500=_0x296d33[_0x25505f(0x335)];if((_0x18a500==null?void 0x0:_0x18a500[_0x25505f(0x3cc)])!==this[_0x25505f(0x1ab)])return;const _0x353b71=_0x296d33,_0x1fed04=this[_0x25505f(0x4b9)][_0x25505f(0x2a3)][_0x25505f(0x3a1)](this[_0x25505f(0x4b9)][_0x25505f(0x2a3)][_0x25505f(0x4ad)]()['COMPRESS_MUTATION_SEND'])([_0x353b71],null)||[_0x353b71];this[_0x25505f(0x372)](_0x1fed04[0x0]);})),_0x248a37;}};ls=Ps([H(0x3,_0x5beccd(_0x21398d)),H(0x4,_0x5beccd(z)),H(0x5,_0x5beccd(_0xd5c410)),H(0x6,_0x5beccd(_0x1f9468)),H(0x7,_0x5beccd(_0x122db5)),H(0x8,_0x5beccd(_0x114dd9)),H(0x9,_0x5beccd(yt)),H(0xa,_0x5beccd(Dt)),H(0xb,_0x5beccd(Pt)),H(0xc,_0x5beccd(Ds)),H(0xd,_0x535daf),H(0xe,_0x3abf69),H(0xf,_0x452fb7),H(0x10,_0x143818),H(0x11,_0x231330(jt))],ls);let _s=class extends Nt{constructor(_0x11cd29,_0x3572bf,_0x53322a,_0x3ce0b8,_0x5d46f5,_0x2a5180,_0x357375,_0x2752e2,_0x2722a2,_0x36e347,_0x10ccba,_0x48340d,_0x661d21,_0x374293){const _0x533f57=_0x1c91cb;super(_0x11cd29,_0x53322a,_0x3572bf,_0x3ce0b8,_0x5d46f5,_0x2a5180,_0x357375,_0x2752e2,_0x36e347,_0x10ccba,_0x48340d,_0x661d21,_0x374293),this[_0x533f57(0x1ab)]=_0x11cd29,this[_0x533f57(0x4c3)]=_0x3572bf,this['_sheetTransformSelectionsService']=_0x2722a2;}['_createHandler'](){const _0x288b34=_0x1c91cb,_0x49023b=super[_0x288b34(0x2af)]();return _0x49023b['onTransformSelections']=_0x4d6427=>this['_sheetTransformSelectionsService'][_0x288b34(0x1cf)](_0x4d6427),_0x49023b;}async[_0x1c91cb(0x1ea)](){const _0x29c846=_0x1c91cb,_0x2d6a8e=await super[_0x29c846(0x1ea)]();return this[_0x29c846(0x29c)](this[_0x29c846(0x281)][_0x29c846(0x23f)]((_0x2c285c,_0x3da114)=>{const _0x3af407=_0x29c846;if(_0x2c285c['type']!==_0x172fb0['MUTATION']||_0x3da114!=null&&_0x3da114[_0x3af407(0x2e6)]||_0x3da114!=null&&_0x3da114[_0x3af407(0x24e)])return;const _0x3578b7=_0x2c285c['params'];if((_0x3578b7==null?void 0x0:_0x3578b7[_0x3af407(0x3cc)])!==this[_0x3af407(0x1ab)])return;const _0x352f27=_0x2c285c,_0x46601a=this[_0x3af407(0x4b9)][_0x3af407(0x2a3)][_0x3af407(0x3a1)](this[_0x3af407(0x4b9)][_0x3af407(0x2a3)][_0x3af407(0x4ad)]()[_0x3af407(0x282)])([_0x352f27],null)||[_0x352f27];this[_0x3af407(0x372)](_0x46601a[0x0]);})),_0x2d6a8e;}};_s=Ps([H(0x3,_0x5beccd(_0x21398d)),H(0x4,_0x5beccd(z)),H(0x5,_0x5beccd(_0xd5c410)),H(0x6,_0x5beccd(_0x1f9468)),H(0x7,_0x5beccd(_0x122db5)),H(0x8,_0x5beccd(wt)),H(0x9,_0x535daf),H(0xa,_0x3abf69),H(0xb,_0x452fb7),H(0xc,_0x143818),H(0xd,_0x231330(jt))],_s);var Lo=Object[_0x1c91cb(0x502)],$o=Object[_0x1c91cb(0x439)],Ho=(_0x3ac1b4,_0xfc2e9e,_0x3e7d79,_0x274c1f)=>{const _0x3866b4=_0x1c91cb;for(var _0x1af9b6=_0x274c1f>0x1?void 0x0:_0x274c1f?$o(_0xfc2e9e,_0x3e7d79):_0xfc2e9e,_0x397104=_0x3ac1b4[_0x3866b4(0x38b)]-0x1,_0x54150d;_0x397104>=0x0;_0x397104--)(_0x54150d=_0x3ac1b4[_0x397104])&&(_0x1af9b6=(_0x274c1f?_0x54150d(_0xfc2e9e,_0x3e7d79,_0x1af9b6):_0x54150d(_0x1af9b6))||_0x1af9b6);return _0x274c1f&&_0x1af9b6&&Lo(_0xfc2e9e,_0x3e7d79,_0x1af9b6),_0x1af9b6;},zt=(_0xccfab4,_0x3a75d0)=>(_0x460498,_0x4efabc)=>_0x3a75d0(_0x460498,_0x4efabc,_0xccfab4);let rt=class extends _0x30a9be{constructor(_0x4c4990,_0x20803e,_0x23ef48){const _0x519ebe=_0x1c91cb;super(),g(this,'_entities',new Map()),g(this,_0x519ebe(0x229),new _0x20b5e4()),(this['_injector']=_0x4c4990,this[_0x519ebe(0x107)]=_0x20803e,this[_0x519ebe(0x494)]=_0x23ef48,this[_0x519ebe(0x1ea)]());}[_0x1c91cb(0x345)](){const _0x1b8e33=_0x1c91cb;super[_0x1b8e33(0x345)](),this['_entities'][_0x1b8e33(0x180)](_0x51d125=>_0x51d125[_0x1b8e33(0x345)]()),this[_0x1b8e33(0x2f2)]['clear']();}[_0x1c91cb(0x49d)](_0x367121){const _0x1dab3a=_0x1c91cb;var _0x4284d6;return(_0x4284d6=this[_0x1dab3a(0x2f2)][_0x1dab3a(0x470)](_0x367121))!=null?_0x4284d6:null;}['getCollabEntity$'](_0x2136d5){const _0x3a3c6a=_0x1c91cb,_0xc1a763=this['getCollabEntity'](_0x2136d5);return _0xc1a763?_0x5684b5(_0xc1a763):this[_0x3a3c6a(0x229)][_0x3a3c6a(0x1c3)](_0x2b7dcf(_0x14aa8e=>_0x14aa8e[_0x3a3c6a(0x1ab)]===_0x2136d5));}[_0x1c91cb(0x1ea)](){const _0x1dbaf8=_0x1c91cb;this[_0x1dbaf8(0x494)][_0x1dbaf8(0xe8)](_0x2579e6[_0x1dbaf8(0x169)])['pipe'](_0x13e2dd(this[_0x1dbaf8(0x1a4)]),_0x3681f4(0x10))[_0x1dbaf8(0x432)](async _0x496d71=>{const _0x3203c0=_0x1dbaf8,_0x4d581f=_0x496d71['getUnitId'](),_0x5d813a=await this[_0x3203c0(0x3d7)](_0x4d581f,ae[_0x3203c0(0x169)]);this[_0x3203c0(0x2f2)]['set'](_0x4d581f,_0x5d813a);}),this[_0x1dbaf8(0x494)]['getTypeOfUnitAdded$'](_0x2579e6[_0x1dbaf8(0x18f)])[_0x1dbaf8(0x1c3)](_0x13e2dd(this[_0x1dbaf8(0x1a4)]),_0x3681f4(0x10))[_0x1dbaf8(0x1c3)](_0x2b7dcf(_0x5a575e=>!_0x5a575e['getUnitId']()[_0x1dbaf8(0x16e)]('__')))[_0x1dbaf8(0x432)](async _0x47ca31=>{const _0x3b7622=_0x1dbaf8,_0x17fbe1=_0x47ca31[_0x3b7622(0x2f3)](),_0x52586b=await this['_startCollaboration'](_0x17fbe1,ae[_0x3b7622(0x18f)]);this[_0x3b7622(0x2f2)]['set'](_0x17fbe1,_0x52586b);}),_0x10a92b(this[_0x1dbaf8(0x494)][_0x1dbaf8(0x392)](_0x2579e6['UNIVER_SHEET']),this[_0x1dbaf8(0x494)][_0x1dbaf8(0x392)](_0x2579e6['UNIVER_DOC']))[_0x1dbaf8(0x1c3)](_0x13e2dd(this[_0x1dbaf8(0x1a4)]))[_0x1dbaf8(0x432)](_0xf59601=>{const _0x3bb14e=_0x1dbaf8,_0x378970=_0xf59601[_0x3bb14e(0x2f3)](),_0x470780=this['_entities'][_0x3bb14e(0x470)](_0x378970);_0x470780&&(_0x470780[_0x3bb14e(0x345)](),this[_0x3bb14e(0x2f2)]['delete'](_0x378970));});}async[_0x1c91cb(0x3d7)](_0x20cfaf,_0x320ca1){const _0x27513a=_0x1c91cb,_0x203a7e=await this[_0x27513a(0x107)][_0x27513a(0x2b6)](_0x20cfaf),_0x5a7806=this[_0x27513a(0x29f)][_0x27513a(0x36b)](this[_0x27513a(0x19b)](_0x320ca1),_0x20cfaf,_0x320ca1,_0x203a7e);return await _0x5a7806['init'](),this['_entityInit$'][_0x27513a(0x1eb)](_0x5a7806),_0x5a7806;}[_0x1c91cb(0x19b)](_0x267355){const _0x472f4b=_0x1c91cb;switch(_0x267355){case ae[_0x472f4b(0x18f)]:return ls;case ae[_0x472f4b(0x169)]:return _s;default:throw new Error(_0x472f4b(0x153)+_0x267355);}}};rt=Ho([zt(0x0,_0x5beccd(_0x21398d)),zt(0x1,_0x5beccd(xe)),zt(0x2,_0x5283d0)],rt);var jo=Object[_0x1c91cb(0x502)],Bo=Object[_0x1c91cb(0x439)],ko=(_0x122a36,_0x32e5a8,_0x5d1292,_0x2ff15d)=>{for(var _0x57c722=_0x2ff15d>0x1?void 0x0:_0x2ff15d?Bo(_0x32e5a8,_0x5d1292):_0x32e5a8,_0x522ccf=_0x122a36['length']-0x1,_0x3e29;_0x522ccf>=0x0;_0x522ccf--)(_0x3e29=_0x122a36[_0x522ccf])&&(_0x57c722=(_0x2ff15d?_0x3e29(_0x32e5a8,_0x5d1292,_0x57c722):_0x3e29(_0x57c722))||_0x57c722);return _0x2ff15d&&_0x57c722&&jo(_0x32e5a8,_0x5d1292,_0x57c722),_0x57c722;},ti=(_0x4648ca,_0x1d75b7)=>(_0x11f7d4,_0x4c591e)=>_0x1d75b7(_0x11f7d4,_0x4c591e,_0x4648ca);let Ut=class extends _0x30a9be{constructor(_0x401293,_0x2de9bc){const _0x803f42=_0x1c91cb;super(),this[_0x803f42(0x3d1)]=_0x401293,this[_0x803f42(0x120)]=_0x2de9bc,this[_0x803f42(0x1ea)]();}[_0x1c91cb(0x1ea)](){const _0x1d0ab9=_0x1c91cb,_0x5b681b=this;this[_0x1d0ab9(0x29c)](this['_docClipboardService'][_0x1d0ab9(0x419)]({'onBeforePasteImage':async _0xade541=>{const _0x3ef5d7=_0x1d0ab9,_0xf4aea9=await _0x5b681b['_imageIoService'][_0x3ef5d7(0x14a)](_0xade541);return _0xf4aea9?{'source':_0xf4aea9[_0x3ef5d7(0x2b5)],'imageSourceType':_0xf4aea9['imageSourceType']}:null;}}));}};Ut=ko([ti(0x0,_0x4c9a70),ti(0x1,_0x36aea0)],Ut);const si=[_0x1c91cb(0x41d),'jiqing500',_0x1c91cb(0xdf),_0x1c91cb(0x275),_0x1c91cb(0x279),_0x1c91cb(0x507)];class Ns extends _0x4b86a3{constructor(){const _0x2436d5=_0x1c91cb;super(...arguments),g(this,_0x2436d5(0x11a),new Map()),g(this,'_colorIndex',0x0);}[_0x1c91cb(0x3cd)](_0x21bde8){const _0x2c948a=_0x1c91cb;if(this[_0x2c948a(0x11a)][_0x2c948a(0x3f6)](_0x21bde8))return this[_0x2c948a(0x11a)][_0x2c948a(0x470)](_0x21bde8);const _0x1eaf67=si[this[_0x2c948a(0x399)]];return this[_0x2c948a(0x399)]=(this['_colorIndex']+0x1)%si[_0x2c948a(0x38b)],this['_assignedColors']['set'](_0x21bde8,_0x1eaf67),_0x1eaf67;}}var Wo=Object[_0x1c91cb(0x502)],Fo=Object[_0x1c91cb(0x439)],Vo=(_0x28d8e4,_0x11a3f1,_0x48779e,_0x1c9b11)=>{const _0x564f70=_0x1c91cb;for(var _0x3004ee=_0x1c9b11>0x1?void 0x0:_0x1c9b11?Fo(_0x11a3f1,_0x48779e):_0x11a3f1,_0x564171=_0x28d8e4[_0x564f70(0x38b)]-0x1,_0x31423b;_0x564171>=0x0;_0x564171--)(_0x31423b=_0x28d8e4[_0x564171])&&(_0x3004ee=(_0x1c9b11?_0x31423b(_0x11a3f1,_0x48779e,_0x3004ee):_0x31423b(_0x3004ee))||_0x3004ee);return _0x1c9b11&&_0x3004ee&&Wo(_0x11a3f1,_0x48779e,_0x3004ee),_0x3004ee;},we=(_0x2bea61,_0x10ef6e)=>(_0x42a067,_0x2d0d91)=>_0x10ef6e(_0x42a067,_0x2d0d91,_0x2bea61);const Go=0x12c,Yo=0x64;let us=class extends _0x30a9be{constructor(_0x3c144b,_0x28b7e4,_0xdfdb5c,_0x2195ba,_0x1ee251,_0x42eea1,_0x3b99ff,_0x362f9f,_0x542f53){const _0x1990af=_0x1c91cb;super(),g(this,_0x1990af(0x218),!0x1),g(this,'_init',!0x1),g(this,_0x1990af(0x29b),new _0x3eae3e(new Map())),g(this,_0x1990af(0x2e7),this['_cursorInfo$'][_0x1990af(0x141)]()),g(this,_0x1990af(0x19f),new _0x3eae3e([])),g(this,_0x1990af(0x408),this[_0x1990af(0x19f)][_0x1990af(0x1c3)](_0x4f9fe9(Go))),g(this,_0x1990af(0x47b),_0x2ae209(_0x5dc2a9=>{const _0x3fca62=_0x1990af,_0x125525={'eventID':_0x596510[_0x3fca62(0x19c)],'data':{'unitID':this[_0x3fca62(0x1ab)],'memberID':this['_session'][_0x3fca62(0x1e4)](),'selection':qi(_0x5dc2a9)}};this[_0x3fca62(0x50b)][_0x3fca62(0x2f4)](_0x125525,this[_0x3fca62(0x1ab)]);},Yo)),(this[_0x1990af(0x1ab)]=_0x3c144b,this['_session']=_0x28b7e4,this[_0x1990af(0x29f)]=_0xdfdb5c,this[_0x1990af(0x14f)]=_0x2195ba,this[_0x1990af(0x31e)]=_0x1ee251,this[_0x1990af(0x348)]=_0x42eea1,this[_0x1990af(0x247)]=_0x3b99ff,this[_0x1990af(0x494)]=_0x362f9f,this[_0x1990af(0x281)]=_0x542f53);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x1c91cb(0x167)](){const _0x5724d0=_0x1c91cb;return this[_0x5724d0(0x19f)][_0x5724d0(0x41f)]();}[_0x1c91cb(0x345)](){const _0x526205=_0x1c91cb;super['dispose'](),this['_cursorInfo$'][_0x526205(0x1eb)](new Map()),this['_cursorInfo$'][_0x526205(0x404)](),this[_0x526205(0x19f)][_0x526205(0x1eb)]([]),this[_0x526205(0x19f)][_0x526205(0x404)]();}[_0x1c91cb(0x248)](){const _0x50383f=_0x1c91cb;this['_init']||(this[_0x50383f(0x1ea)]=!0x0,this[_0x50383f(0x50b)]['sessionStatus$'][_0x50383f(0x1c3)](_0x13e2dd(this[_0x50383f(0x1a4)]))[_0x50383f(0x432)](_0x18611a=>{const _0x475dee=_0x50383f;_0x18611a===fe[_0x475dee(0x4a3)]?this[_0x475dee(0x223)]():this[_0x475dee(0x3ce)]();}),this[_0x50383f(0x50b)]['event$'][_0x50383f(0x1c3)](_0x13e2dd(this[_0x50383f(0x1a4)]))[_0x50383f(0x432)](_0x4ae2a1=>{const _0x3d12f6=_0x50383f,_0x21ad10=_0x4ae2a1[_0x3d12f6(0x42b)];_0x21ad10===_0x596510[_0x3d12f6(0x19c)]&&this[_0x3d12f6(0x221)](_0x4ae2a1),_0x21ad10===_0x596510[_0x3d12f6(0x137)]&&this[_0x3d12f6(0x20d)](_0x4ae2a1);}),this[_0x50383f(0x29c)](this[_0x50383f(0x281)][_0x50383f(0x23f)](_0x13f9bd=>{const _0x2d0eb2=_0x50383f,_0x2986d4=_0x13f9bd[_0x2d0eb2(0x335)];_0x2986d4!=null&&this[_0x2d0eb2(0x218)]&&_0x13f9bd['id']===_0x179116['id']&&_0x2986d4['unitId']===this[_0x2d0eb2(0x1ab)]&&_0x2986d4[_0x2d0eb2(0x413)]===!0x1&&_0x2986d4[_0x2d0eb2(0x4b7)][_0x2d0eb2(0x38b)]>0x0&&this[_0x2d0eb2(0x47b)](_0x2986d4[_0x2d0eb2(0x4b7)]);})),this[_0x50383f(0x348)][_0x50383f(0x356)][_0x50383f(0x1c3)](_0x13e2dd(this['dispose$']))[_0x50383f(0x432)](_0x1123a6=>{const _0x58cb87=_0x50383f;if((_0x1123a6==null?void 0x0:_0x1123a6['unitID'])!==this[_0x58cb87(0x1ab)])return;const _0x452be8={'eventID':_0x596510['UPDATE_CURSOR'],'data':_0x1123a6};this[_0x58cb87(0x221)](_0x452be8);}),this[_0x50383f(0x29c)](this[_0x50383f(0x281)]['onCommandExecuted'](_0x2a3cb0=>{const _0x28593a=_0x50383f;if(_0x2a3cb0[_0x28593a(0x335)]==null)return;const _0x4ac429=_0x2a3cb0[_0x28593a(0x335)];if(_0x2a3cb0['id']!==_0x361a8e['id']||_0x4ac429[_0x28593a(0x3cc)]!==this[_0x28593a(0x1ab)])return;const _0x3c1a77={'id':_0x28593a(0x235),'params':_0x4ac429},_0x3ea880=this[_0x28593a(0x3b0)];for(const [_0x51acb2,_0x213e33]of _0x3ea880){const _0xa97c3e={'id':_0x28593a(0x235),'params':{'unitId':this[_0x28593a(0x1ab)],'actions':null,'textRanges':_0x213e33[_0x28593a(0x4b7)]}},_0x31dc33=this['_transformService'][_0x28593a(0x4f4)](_0x3c1a77,_0xa97c3e,!0x1);if(_0x55d097(_0x31dc33))throw _0x31dc33[_0x28593a(0x4d3)];_0x3ea880[_0x28593a(0x1e5)](_0x51acb2,{..._0x213e33,'ranges':_0x31dc33[_0x28593a(0x20b)][_0x28593a(0x335)][_0x28593a(0x13d)]});}queueMicrotask(()=>{const _0x1a8a45=_0x28593a;this[_0x1a8a45(0x29b)][_0x1a8a45(0x1eb)](_0x3ea880);});})));}[_0x1c91cb(0x221)](_0x32e2e5){const _0x4257ca=_0x1c91cb;var _0x391292,_0x2ebceb;const {memberID:_0xfac1e8,selection:_0x20477f}=_0x32e2e5[_0x4257ca(0x202)],_0x5cb5a2=Ro(_0x20477f),_0x4edbfa=(_0x2ebceb=(_0x391292=this[_0x4257ca(0x31e)][_0x4257ca(0x270)](this['unitID'],_0xfac1e8))==null?void 0x0:_0x391292[_0x4257ca(0x332)])!=null?_0x2ebceb:_0x4257ca(0x4ac),_0x4adfe1={'color':this[_0x4257ca(0x14f)][_0x4257ca(0x3cd)](_0xfac1e8),'name':_0x4edbfa,'ranges':_0x5cb5a2},_0x1aac95=this[_0x4257ca(0x3b0)];_0x1aac95[_0x4257ca(0x1e5)](_0xfac1e8,_0x4adfe1),this['_cursorInfo$'][_0x4257ca(0x1eb)](_0x1aac95);}[_0x1c91cb(0x20d)](_0x509599){const _0x29672c=_0x1c91cb,{memberID:_0x254f13}=_0x509599[_0x29672c(0x202)],_0x58906f=this[_0x29672c(0x3b0)];_0x58906f['delete'](_0x254f13),this['_cursorInfo$'][_0x29672c(0x1eb)](_0x58906f);}[_0x1c91cb(0x223)](){const _0xaf420f=_0x1c91cb;var _0x1b8358;if(this[_0xaf420f(0x218)]=!0x0,((_0x1b8358=this[_0xaf420f(0x494)][_0xaf420f(0x30e)]())==null?void 0x0:_0x1b8358[_0xaf420f(0x2f3)]())!==this[_0xaf420f(0x1ab)])return;const _0x16f6d2=this[_0xaf420f(0x29f)]['get'](_0x2c4ba8)['getDocRanges']();Array[_0xaf420f(0x338)](_0x16f6d2)&&_0x16f6d2[_0xaf420f(0x38b)]>0x0&&this[_0xaf420f(0x47b)](_0x16f6d2);}[_0x1c91cb(0x3ce)](){const _0x22798d=_0x1c91cb;this[_0x22798d(0x218)]=!0x1;}};us=Vo([we(0x2,_0x5beccd(_0x21398d)),we(0x3,_0x5beccd(Ns)),we(0x4,_0x5beccd(Me)),we(0x5,_0x5beccd(Ds)),we(0x6,_0x3e892f),we(0x7,_0x5283d0),we(0x8,_0x3abf69)],us);var Ko=Object[_0x1c91cb(0x502)],qo=Object[_0x1c91cb(0x439)],zo=(_0x36c6bb,_0x4d11bc,_0x1e8e67,_0x3e147e)=>{const _0x23b2bc=_0x1c91cb;for(var _0x391f01=_0x3e147e>0x1?void 0x0:_0x3e147e?qo(_0x4d11bc,_0x1e8e67):_0x4d11bc,_0x246763=_0x36c6bb[_0x23b2bc(0x38b)]-0x1,_0x2a461b;_0x246763>=0x0;_0x246763--)(_0x2a461b=_0x36c6bb[_0x246763])&&(_0x391f01=(_0x3e147e?_0x2a461b(_0x4d11bc,_0x1e8e67,_0x391f01):_0x2a461b(_0x391f01))||_0x391f01);return _0x3e147e&&_0x391f01&&Ko(_0x4d11bc,_0x1e8e67,_0x391f01),_0x391f01;},Be=(_0x316a76,_0x49f643)=>(_0x2a5071,_0x4ec6eb)=>_0x49f643(_0x2a5071,_0x4ec6eb,_0x316a76);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0x46737b=[],_0x44bda=!0x1;return _0x456219=>{const _0x27e3d1=_0x1b68;_0x46737b[_0x27e3d1(0x4c1)](_0x456219),_0x44bda||(_0x44bda=!0x0,setTimeout(()=>{const _0x4d0700=_0x27e3d1;_0x46737b[_0x4d0700(0x180)](_0x39893d=>_0x39893d()),_0x46737b=[],_0x44bda=!0x1;}));};};let ds=class extends _0x30a9be{constructor(_0x1c4591,_0x32f39d,_0x3064d5,_0x4782c9,_0x270d45,_0x36f5b2,_0x5959ed,_0x3ee27c){const _0x14161e=_0x1c91cb;super(),g(this,_0x14161e(0x218),!0x1),g(this,_0x14161e(0x1ea),!0x1),g(this,_0x14161e(0x29b),new _0x3eae3e(new Map())),g(this,_0x14161e(0x2e7),this['_cursorInfo$'][_0x14161e(0x141)]()),g(this,_0x14161e(0x19f),new _0x3eae3e([])),g(this,_0x14161e(0x408),this[_0x14161e(0x19f)][_0x14161e(0x1c3)](_0x4f9fe9(Xo))),g(this,_0x14161e(0x47b),_0x2ae209((_0x47e542,_0x2a781e)=>{const _0x208793=_0x14161e,_0x557950={'eventID':_0x596510['UPDATE_CURSOR'],'data':{'unitID':this[_0x208793(0x1ab)],'memberID':this[_0x208793(0x50b)][_0x208793(0x1e4)](),'selection':_0x14f421(_0x47e542,_0x2a781e[_0x208793(0x3f4)])}};this[_0x208793(0x50b)][_0x208793(0x2f4)](_0x557950,this['unitID']);},Jo)),(this['unitID']=_0x1c4591,this[_0x14161e(0x50b)]=_0x32f39d,this[_0x14161e(0x29f)]=_0x3064d5,this[_0x14161e(0x14f)]=_0x4782c9,this[_0x14161e(0x31e)]=_0x270d45,this[_0x14161e(0x494)]=_0x36f5b2,this[_0x14161e(0x281)]=_0x5959ed,this[_0x14161e(0x27d)]=_0x3ee27c);}get['cursorInfo'](){const _0x52faa6=_0x1c91cb;return this[_0x52faa6(0x29b)][_0x52faa6(0x41f)]();}get[_0x1c91cb(0x167)](){const _0x3312c8=_0x1c91cb;return this[_0x3312c8(0x19f)][_0x3312c8(0x41f)]();}[_0x1c91cb(0x345)](){const _0x131bf9=_0x1c91cb;super[_0x131bf9(0x345)](),this[_0x131bf9(0x29b)][_0x131bf9(0x1eb)](new Map()),this[_0x131bf9(0x29b)]['complete'](),this[_0x131bf9(0x19f)]['next']([]),this[_0x131bf9(0x19f)][_0x131bf9(0x404)]();}[_0x1c91cb(0x248)](){const _0x573e7a=_0x1c91cb;this[_0x573e7a(0x1ea)]||(this[_0x573e7a(0x1ea)]=!0x0,this['_session']['sessionStatus$'][_0x573e7a(0x1c3)](_0x13e2dd(this[_0x573e7a(0x1a4)]))['subscribe'](_0xd6925c=>{const _0x1621d1=_0x573e7a;_0xd6925c===fe['ONLINE']?this[_0x1621d1(0x223)]():this[_0x1621d1(0x3ce)]();}),this[_0x573e7a(0x50b)]['event$'][_0x573e7a(0x1c3)](_0x13e2dd(this[_0x573e7a(0x1a4)]))[_0x573e7a(0x432)](_0x5af709=>{const _0x4eeb99=_0x573e7a,_0x3ac014=_0x5af709[_0x4eeb99(0x42b)];_0x3ac014===_0x596510['UPDATE_CURSOR']&&this[_0x4eeb99(0x221)](_0x5af709),_0x3ac014===_0x596510[_0x4eeb99(0x137)]&&this['_onCursorDelete'](_0x5af709);}),this[_0x573e7a(0x41a)](),this[_0x573e7a(0x29c)](this[_0x573e7a(0x281)][_0x573e7a(0x23f)](_0x48f540=>{const _0x53b8f1=_0x573e7a;if(this['_online']&&_0x48f540['id']===_0x9d2051['id']&&_0x48f540[_0x53b8f1(0x335)][_0x53b8f1(0x3cc)]===this[_0x53b8f1(0x1ab)]){const _0x3cbfa=_0x48f540[_0x53b8f1(0x335)];this[_0x53b8f1(0x47b)](_0x3cbfa[_0x53b8f1(0x309)],_0x3cbfa[_0x53b8f1(0x152)][0x0]);}})));}[_0x1c91cb(0x221)](_0x3e192d){const _0x19057f=_0x1c91cb;var _0x5476c2,_0x14abf8;const {memberID:_0x1f90db,selection:_0x392298}=_0x3e192d[_0x19057f(0x202)],{sheetName:_0x417f6b,range:_0x87230f}=_0x29e425(_0x392298),_0x11e963={'name':(_0x14abf8=(_0x5476c2=this[_0x19057f(0x31e)][_0x19057f(0x270)](this['unitID'],_0x1f90db))==null?void 0x0:_0x5476c2[_0x19057f(0x332)])!=null?_0x14abf8:_0x19057f(0x4ac),'range':this[_0x19057f(0x225)](_0x417f6b,_0x87230f),'sheetID':_0x417f6b,'color':this[_0x19057f(0x14f)][_0x19057f(0x3cd)](_0x1f90db),'selection':_0x392298},_0x590f85=this[_0x19057f(0x3b0)];_0x590f85[_0x19057f(0x1e5)](_0x1f90db,_0x11e963),this[_0x19057f(0x29b)][_0x19057f(0x1eb)](_0x590f85);}['_onCursorDelete'](_0x1db47a){const _0x43cbd2=_0x1c91cb,{memberID:_0x2d4fd2}=_0x1db47a[_0x43cbd2(0x202)],_0x5971ec=this[_0x43cbd2(0x3b0)];_0x5971ec[_0x43cbd2(0x160)](_0x2d4fd2),this[_0x43cbd2(0x29b)][_0x43cbd2(0x1eb)](_0x5971ec);}['_getMergeRange'](_0x5529b9,_0x109ccc){const _0xe453a=_0x1c91cb;var _0x348257,_0x41dc76;const _0x58d895=(_0x41dc76=(_0x348257=this[_0xe453a(0x494)][_0xe453a(0x28f)](this[_0xe453a(0x1ab)]))==null?void 0x0:_0x348257[_0xe453a(0x2e2)](_0x5529b9))==null?void 0x0:_0x41dc76[_0xe453a(0x3a8)]();return(_0x58d895==null?void 0x0:_0x58d895[_0xe453a(0x451)](_0x5e6cc7=>_0xd9e0ac[_0xe453a(0x27c)](_0x5e6cc7,_0x109ccc)))||_0x109ccc;}[_0x1c91cb(0x41a)](){const _0x3db147=_0x1c91cb,_0x172a6c=new _0x70760(),_0x41e38d=Zo(),_0x1e5fd1=()=>{const _0x587686=_0x1b68;_0x172a6c['dispose']();const _0x43f6e3=(_0x2bfbfc,_0x2d0c2a,_0x289282,_0x4e12f0)=>{const _0x59c103=_0x1b68;let _0x52f29a=[];switch(_0x2bfbfc['id']){case _0x218568['DeleteRangeMoveLeftCommandId']:{_0x52f29a=_0x4ec771(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x39f)]:{_0x52f29a=_0x42d3e8(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x10b)]:{_0x52f29a=_0x535c55(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x312)]:{_0x52f29a=_0xf022af(_0x2bfbfc,_0x4e12f0);break;}case _0x218568['InsertRangeMoveRightCommandId']:{_0x52f29a=_0x5ed561(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x11f)]:{_0x52f29a=_0x20d25a(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x40d)]:{_0x52f29a=_0x41dd5c(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x2bc)]:{_0x52f29a=_0x1733d2(_0x2bfbfc,_0x4e12f0);break;}case _0x218568[_0x59c103(0x445)]:{_0x52f29a=_0x46d2b7(_0x2bfbfc,_0x4e12f0);break;}}const _0x45cd47=_0xf60041(_0x52f29a,_0x4e12f0),_0x343bd1=this[_0x59c103(0x3b0)][_0x59c103(0x470)](_0x2d0c2a);if(_0x343bd1&&_0x45cd47){const _0x514481={..._0x343bd1,'range':_0x45cd47};this['cursorInfo'][_0x59c103(0x1e5)](_0x2d0c2a,_0x514481),_0x41e38d(()=>{const _0x451138=_0x59c103,_0x151581=this[_0x451138(0x27d)][_0x451138(0x4fc)](_0x45cd47,_0x3f191a=>(_0x151581[_0x451138(0x345)](),_0x43f6e3(_0x3f191a,_0x2d0c2a,_0x289282,_0x45cd47)));_0x172a6c[_0x451138(0x277)](_0x151581);});}return{'redos':[],'undos':[]};};this[_0x587686(0x3b0)]['forEach']((_0x15cb99,_0x593911)=>{const _0x280000=_0x587686,{range:_0x37407f,sheetID:_0xf1f8a2}=_0x15cb99,_0x32bdcc=this[_0x280000(0x27d)][_0x280000(0x4fc)](_0x37407f,_0x63082d=>(_0x32bdcc[_0x280000(0x345)](),_0x43f6e3(_0x63082d,_0x593911,_0xf1f8a2,_0x37407f)));_0x172a6c[_0x280000(0x277)](_0x32bdcc);});};this[_0x3db147(0x29c)](_0x20cd7e(this[_0x3db147(0x29b)][_0x3db147(0x432)](()=>{_0x1e5fd1();})));}[_0x1c91cb(0x223)](){const _0x49465f=_0x1c91cb;var _0x12cbfc,_0x2ae451;if(this[_0x49465f(0x218)]=!0x0,((_0x12cbfc=this[_0x49465f(0x494)][_0x49465f(0x30e)]())==null?void 0x0:_0x12cbfc[_0x49465f(0x2f3)]())!==this[_0x49465f(0x1ab)])return;const _0x6ef03d=(_0x2ae451=this[_0x49465f(0x29f)]['get'](_0x18f66c)[_0x49465f(0x274)]())==null?void 0x0:_0x2ae451[0x0],_0x4265a0=this[_0x49465f(0x494)][_0x49465f(0x34a)](_0x2579e6[_0x49465f(0x169)])[_0x49465f(0x27f)]();_0x6ef03d&&_0x4265a0&&this[_0x49465f(0x47b)](_0x4265a0[_0x49465f(0x359)](),_0x6ef03d);}[_0x1c91cb(0x3ce)](){const _0x283b36=_0x1c91cb;this[_0x283b36(0x218)]=!0x1;}};ds=zo([Be(0x2,_0x5beccd(_0x21398d)),Be(0x3,_0x5beccd(Ns)),Be(0x4,_0x5beccd(Me)),Be(0x5,_0x5283d0),Be(0x6,_0x3abf69),Be(0x7,_0x5beccd(_0x21d590))],ds);var Qo=Object[_0x1c91cb(0x502)],ea=Object[_0x1c91cb(0x439)],ta=(_0x3d8ce8,_0x5d6ee7,_0x1465d9,_0x25a808)=>{const _0xc1dcce=_0x1c91cb;for(var _0x121c1d=_0x25a808>0x1?void 0x0:_0x25a808?ea(_0x5d6ee7,_0x1465d9):_0x5d6ee7,_0x237e86=_0x3d8ce8[_0xc1dcce(0x38b)]-0x1,_0x1f4b92;_0x237e86>=0x0;_0x237e86--)(_0x1f4b92=_0x3d8ce8[_0x237e86])&&(_0x121c1d=(_0x25a808?_0x1f4b92(_0x5d6ee7,_0x1465d9,_0x121c1d):_0x1f4b92(_0x121c1d))||_0x121c1d);return _0x25a808&&_0x121c1d&&Qo(_0x5d6ee7,_0x1465d9,_0x121c1d),_0x121c1d;},Xt=(_0x16d3f2,_0x382504)=>(_0x196518,_0x5b814a)=>_0x382504(_0x196518,_0x5b814a,_0x16d3f2);let Ve=class extends _0x30a9be{constructor(_0x5aa37d,_0x27cc77,_0x40e784){const _0x4606ab=_0x1c91cb;super(),g(this,_0x4606ab(0x2f2),new Map()),g(this,_0x4606ab(0x229),new _0x20b5e4()),(this[_0x4606ab(0x494)]=_0x5aa37d,this[_0x4606ab(0x29f)]=_0x27cc77,this[_0x4606ab(0x107)]=_0x40e784,this[_0x4606ab(0x1ea)]());}['dispose'](){const _0x2e592f=_0x1c91cb;super[_0x2e592f(0x345)](),this[_0x2e592f(0x229)][_0x2e592f(0x404)](),this['_entities'][_0x2e592f(0x180)](_0x2e60c3=>_0x2e60c3[_0x2e592f(0x345)]());}['getCollabCursors$'](_0x199b8b){const _0x1351db=_0x1c91cb;return this[_0x1351db(0x2f2)][_0x1351db(0x3f6)](_0x199b8b)?this[_0x1351db(0x2f2)][_0x1351db(0x470)](_0x199b8b)[_0x1351db(0x2e7)]:this[_0x1351db(0x229)][_0x1351db(0x1c3)](_0x58d7d5(_0x44cfc5=>_0x44cfc5[_0x1351db(0x1ab)]===_0x199b8b),_0x284c9e(_0x8e7b95=>_0x8e7b95[_0x1351db(0x2e7)]));}[_0x1c91cb(0x1ea)](){const _0x25e251=_0x1c91cb;this[_0x25e251(0x494)][_0x25e251(0xe8)](_0x2579e6[_0x25e251(0x169)])['pipe'](_0x13e2dd(this['dispose$']))[_0x25e251(0x432)](async _0x44e4e4=>{const _0x1abe7a=_0x25e251,_0x42a10a=_0x44e4e4[_0x1abe7a(0x2f3)](),_0x42e06f=await this[_0x1abe7a(0x32a)](_0x42a10a);this[_0x1abe7a(0x229)][_0x1abe7a(0x1eb)](_0x42e06f),this[_0x1abe7a(0x2f2)]['set'](_0x42a10a,_0x42e06f);}),this['_univerInstanceService'][_0x25e251(0xe8)](_0x2579e6[_0x25e251(0x18f)])[_0x25e251(0x1c3)](_0x13e2dd(this[_0x25e251(0x1a4)]))['pipe'](_0x58d7d5(_0x4fa111=>!_0x4fa111[_0x25e251(0x2f3)]()[_0x25e251(0x16e)]('__')))[_0x25e251(0x432)](async _0x181512=>{const _0x4bfef=_0x25e251,_0x13399a=_0x181512[_0x4bfef(0x2f3)](),_0x278a24=await this[_0x4bfef(0x1fd)](_0x13399a);this['_entityInit$'][_0x4bfef(0x1eb)](_0x278a24),this[_0x4bfef(0x2f2)][_0x4bfef(0x1e5)](_0x13399a,_0x278a24);}),_0x10a92b(this['_univerInstanceService'][_0x25e251(0x392)](_0x2579e6['UNIVER_DOC']),this[_0x25e251(0x494)][_0x25e251(0x392)](_0x2579e6[_0x25e251(0x169)]))[_0x25e251(0x1c3)](_0x13e2dd(this['dispose$']))[_0x25e251(0x432)](_0x2c9994=>{const _0x10f7fd=_0x25e251,_0x5966e9=_0x2c9994[_0x10f7fd(0x2f3)](),_0x33e0ad=this[_0x10f7fd(0x2f2)][_0x10f7fd(0x470)](_0x5966e9);_0x33e0ad&&(_0x33e0ad['dispose'](),this['_entities']['delete'](_0x5966e9));});}async[_0x1c91cb(0x32a)](_0x16ffc2){const _0x3ae7d1=_0x1c91cb,_0x57df9a=await this[_0x3ae7d1(0x107)][_0x3ae7d1(0x2b6)](_0x16ffc2),_0x2a3246=this[_0x3ae7d1(0x29f)][_0x3ae7d1(0x36b)](ds,_0x16ffc2,_0x57df9a);return _0x2a3246[_0x3ae7d1(0x248)](),_0x2a3246;}async[_0x1c91cb(0x1fd)](_0x4f390f){const _0x568707=_0x1c91cb,_0x413a15=await this[_0x568707(0x107)][_0x568707(0x2b6)](_0x4f390f),_0x1d5f4e=this[_0x568707(0x29f)][_0x568707(0x36b)](us,_0x4f390f,_0x413a15);return _0x1d5f4e[_0x568707(0x248)](),_0x1d5f4e;}};Ve=ta([Xt(0x0,_0x5283d0),Xt(0x1,_0x5beccd(_0x21398d)),Xt(0x2,_0x5beccd(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x4b231e,_0x323af4){const _0x3f905f=_0x1c91cb;let {radius:_0x114f33,width:_0x2bf7b0,height:_0x2e3b60}=_0x323af4;_0x114f33=_0x114f33!=null?_0x114f33:0x0,_0x2bf7b0=_0x2bf7b0!=null?_0x2bf7b0:0x1e,_0x2e3b60=_0x2e3b60!=null?_0x2e3b60:0x1e;let _0x42ff2b=0x0,_0x2027e9=0x0,_0x25b8bc=0x0;_0x42ff2b=_0x2027e9=_0x25b8bc=Math[_0x3f905f(0x173)](_0x114f33,_0x2bf7b0/0x2,_0x2e3b60/0x2),_0x4b231e[_0x3f905f(0x425)](),_0x4b231e[_0x3f905f(0x2fe)](_0x42ff2b,0x0),_0x4b231e[_0x3f905f(0x197)](_0x2bf7b0-_0x2027e9,0x0),_0x4b231e['arc'](_0x2bf7b0-_0x2027e9,_0x2027e9,_0x2027e9,Math['PI']*0x3/0x2,0x0,!0x1),_0x4b231e[_0x3f905f(0x197)](_0x2bf7b0,_0x2e3b60-_0x25b8bc),_0x4b231e['arc'](_0x2bf7b0-_0x25b8bc,_0x2e3b60-_0x25b8bc,_0x25b8bc,0x0,Math['PI']/0x2,!0x1),_0x4b231e['lineTo'](0x0,_0x2e3b60),_0x4b231e[_0x3f905f(0x197)](0x0,_0x42ff2b),_0x4b231e[_0x3f905f(0x4d4)](_0x42ff2b,_0x42ff2b,_0x42ff2b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4b231e['closePath'](),_0x323af4[_0x3f905f(0x165)]&&(_0x4b231e[_0x3f905f(0x4d5)](),_0x4b231e[_0x3f905f(0x1da)]=_0x323af4[_0x3f905f(0x165)],_0x323af4[_0x3f905f(0x498)]===_0x3f905f(0x352)?_0x4b231e['fill'](_0x3f905f(0x352)):_0x4b231e[_0x3f905f(0x165)](),_0x4b231e[_0x3f905f(0x1c7)]());}class Bt extends _0xee85de{constructor(_0x4e4947,_0x253af2){const _0x452b54=_0x1c91cb;super(_0x4e4947,_0x253af2),g(this,_0x452b54(0x257)),g(this,_0x452b54(0x13e)),(this['color']=_0x253af2==null?void 0x0:_0x253af2['color'],this[_0x452b54(0x13e)]=_0x253af2==null?void 0x0:_0x253af2[_0x452b54(0x13e)]);}static['drawWith'](_0x1ecb0e,_0x2110d7){const _0x32ad2b=_0x1c91cb,{text:_0x2e34d0,color:_0x438355}=_0x2110d7;_0x1ecb0e[_0x32ad2b(0x4d5)](),_0x1ecb0e['font']=_0x32ad2b(0x3cb);const _0x1e44f0=_0x1ecb0e[_0x32ad2b(0x460)](_0x2e34d0)[_0x32ad2b(0x31b)],_0x209fa2=Math['min'](_0x1e44f0+0x2*Jt,ii);ia(_0x1ecb0e,{'height':nt,'radius':0x4,'width':_0x209fa2,'fill':_0x438355,'evented':!0x1}),_0x1ecb0e['fillStyle']=_0x32ad2b(0x2d4);const _0x4ffff3=Jt,_0x3be8a7=nt-sa,_0x4d1d7e=ii-0x2*Jt;if(_0x1e44f0>_0x4d1d7e){let _0x237320='',_0x1ca413=0x0;for(const _0x2e069d of _0x2e34d0){const _0xf04a7e=_0x1ecb0e[_0x32ad2b(0x460)](_0x2e069d)[_0x32ad2b(0x31b)];if(_0x1ca413+_0xf04a7e<=_0x4d1d7e-_0x1ecb0e[_0x32ad2b(0x460)](_0x32ad2b(0x489))[_0x32ad2b(0x31b)])_0x237320+=_0x2e069d,_0x1ca413+=_0xf04a7e;else{_0x237320+=_0x32ad2b(0x489);break;}}_0x1ecb0e[_0x32ad2b(0x4b8)](_0x237320,_0x4ffff3,_0x3be8a7);}else _0x1ecb0e[_0x32ad2b(0x4b8)](_0x2e34d0,_0x4ffff3,_0x3be8a7);_0x1ecb0e[_0x32ad2b(0x1c7)]();}[_0x1c91cb(0x3aa)](_0x7f2300){const _0x228edf=_0x1c91cb;Bt[_0x228edf(0x29d)](_0x7f2300,this);}}const Zt=_0x1c91cb(0x3bd),ra=_0x1c91cb(0x3be),na=_0x1c91cb(0x504),Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca=_0x1c91cb(0x3ec);class ri{constructor(_0x22fb95,_0x38885a,_0x206282,_0xaf1765){const _0x58364e=_0x1c91cb;g(this,_0x58364e(0x424),[]),g(this,_0x58364e(0x1fa),null),g(this,_0x58364e(0x2d3),null),g(this,_0x58364e(0x358),null),g(this,'_hideTimer',null),g(this,_0x58364e(0x4d6),null),(this[_0x58364e(0x30f)]=_0x22fb95,this['_scene']=_0x38885a,this[_0x58364e(0x3b9)]=_0x206282,this[_0x58364e(0x1c1)]=_0xaf1765,this['_render']());}set[_0x1c91cb(0x415)](_0x5913d5){const _0x2e105a=_0x1c91cb;_0x5913d5?(this['_anchorDot']&&this['_anchorDot'][_0x2e105a(0x2c9)](),this[_0x2e105a(0x2d3)]&&this[_0x2e105a(0x2d3)][_0x2e105a(0x2d0)]()):(this[_0x2e105a(0x358)]&&this[_0x2e105a(0x358)]['show'](),this[_0x2e105a(0x2d3)]&&this['_textBubble'][_0x2e105a(0x2c9)]());}['dispose'](){const _0x2fa345=_0x1c91cb;for(const _0x58b9e9 of this['_shapes'])_0x58b9e9[_0x2fa345(0x345)]();this[_0x2fa345(0x2d3)]&&this[_0x2fa345(0x2d3)][_0x2fa345(0x345)](),this[_0x2fa345(0x358)]&&this[_0x2fa345(0x358)][_0x2fa345(0x345)](),this[_0x2fa345(0x1fa)]&&this['_anchor'][_0x2fa345(0x345)](),this[_0x2fa345(0x4d6)]&&this['_eventUnsubscribe']();}['_render'](){const _0x3a1f2d=_0x1c91cb;var _0x8ed216;const {_docSkeleton:_0x112563,_document:_0x1934ff}=this,{color:_0x2f35ee,name:_0x187b93,ranges:_0x3b4899}=this[_0x3a1f2d(0x30f)],_0x219195=_0x1934ff[_0x3a1f2d(0x2eb)](),{docsLeft:_0x2c10f2,docsTop:_0x4e05d0}=_0x219195,_0x4b2b01=new _0x547f0b(_0x219195,_0x112563);for(const {startOffset:_0x2c4703,endOffset:_0x5f12f3,rangeType:_0x28eaeb,segmentId:_0x10b49e,segmentPage:_0x5d2bfe,collapsed:_0x224c93,isActive:_0x574120}of _0x3b4899){const _0x361981=_0x112563[_0x3a1f2d(0x4e2)](_0x2c4703,!0x0,_0x10b49e,_0x5d2bfe);let _0x394749=_0x112563[_0x3a1f2d(0x4e2)](_0x5f12f3,!0x0,_0x10b49e,_0x5d2bfe);if(_0x394749==null&&(_0x394749=_0x112563[_0x3a1f2d(0x4e2)](_0x5f12f3-0x1,!0x1,_0x10b49e,_0x5d2bfe)),_0x574120){const {contentBoxPointGroup:_0x13ce40}=_0x4b2b01['getRangePointData'](_0x394749,_0x394749);if(_0x13ce40['length']===0x0)continue;this[_0x3a1f2d(0x3ee)](_0x2f35ee,_0x13ce40,_0x2c10f2,_0x4e05d0,_0x187b93),this[_0x3a1f2d(0x4d6)]=this[_0x3a1f2d(0x313)]();}if(_0x361981&&_0x394749){if(_0x28eaeb===_0x4ec437[_0x3a1f2d(0x42c)]){const _0x247120=new _0x4eb35f(_0x219195,_0x112563),{pointGroup:_0x3b58a4}=(_0x8ed216=_0x247120[_0x3a1f2d(0x412)](_0x361981,_0x394749))!=null?_0x8ed216:{};if(_0x3b58a4==null||_0x3b58a4['length']===0x0)continue;this[_0x3a1f2d(0x37f)](_0x2f35ee,_0x3b58a4,_0x2c10f2,_0x4e05d0);}else{if(!_0x224c93){const {borderBoxPointGroup:_0x580487}=_0x4b2b01['getRangePointData'](_0x361981,_0x394749);if(_0x580487[_0x3a1f2d(0x38b)]===0x0)continue;this[_0x3a1f2d(0xeb)](_0x2f35ee,_0x580487,_0x2c10f2,_0x4e05d0);}}}}}[_0x1c91cb(0x3ee)](_0x2e1441,_0x86b592,_0x2adf44,_0x7adbf6,_0x1c584b){const _0x14556b=_0x1c91cb,_0x188089=this[_0x14556b(0x302)](_0x86b592),{left:_0x22b65a,top:_0x5db442,height:_0x2af643}=_0x188089,_0x38b7fb=this['_getScale'](),_0x3bc199=aa/_0x38b7fb,_0x32737b=new _0x327377(Zt+_0xdb11bc['generateRandomId'](Je),{'left':_0x22b65a+_0x2adf44-_0x3bc199,'top':_0x5db442+_0x7adbf6,'height':_0x2af643,'width':oa,'fill':_0x2e1441||_0x211346(_0x497c90['black'],0x0),'strokeWidth':_0x3bc199,'stroke':ca,'evented':!0x0});this[_0x14556b(0x1fa)]=_0x32737b,this[_0x14556b(0x219)][_0x14556b(0xfc)](_0x32737b,_0x39605e);const _0x553fd8=new _0x327377(Zt+_0xdb11bc[_0x14556b(0x374)](Je),{'left':_0x22b65a+_0x2adf44-_0x3bc199,'top':_0x5db442+_0x7adbf6-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x2e1441||_0x211346(_0x497c90['black'],0x0),'strokeWidth':0x0,'stroke':_0x2e1441||_0x211346(_0x497c90[_0x14556b(0x40e)],0x0),'evented':!0x1});this[_0x14556b(0x358)]=_0x553fd8,this[_0x14556b(0x219)][_0x14556b(0xfc)](_0x553fd8,_0x39605e);const _0x2c0ce7=new Bt(Zt+_0xdb11bc[_0x14556b(0x374)](Je),{'left':_0x22b65a+_0x2adf44-_0x3bc199,'top':_0x5db442+_0x7adbf6-nt,'text':_0x1c584b,'color':_0x2e1441});this[_0x14556b(0x2d3)]=_0x2c0ce7,this[_0x14556b(0x219)][_0x14556b(0xfc)](_0x2c0ce7,_0x39605e),this[_0x14556b(0x415)]=!0x1;}[_0x1c91cb(0x313)](){const _0x30d242=_0x1c91cb,_0x304e8a=this['_anchor']['onPointerEnter$'][_0x30d242(0x24f)](()=>{const _0x13dc3b=_0x30d242;this[_0x13dc3b(0x415)]=!0x0;}),_0x29c4f7=this[_0x30d242(0x1fa)][_0x30d242(0x1be)][_0x30d242(0x24f)](()=>{const _0x4f71aa=_0x30d242;this[_0x4f71aa(0x2ad)]&&clearTimeout(this[_0x4f71aa(0x2ad)]),this[_0x4f71aa(0x2ad)]=setTimeout(()=>{const _0x5ceacb=_0x4f71aa;this[_0x5ceacb(0x415)]=!0x1;},0x7d0);});return()=>{const _0x3556ed=_0x30d242;_0x304e8a[_0x3556ed(0x2ca)](),_0x29c4f7[_0x3556ed(0x2ca)]();};}[_0x1c91cb(0xeb)](_0x166019,_0x1ad1f3,_0x48b204,_0x3c3896){const _0x4dd3d8=_0x1c91cb,_0x30428f=new _0x3e2833(_0x166019)[_0x4dd3d8(0x4ff)](0.2)[_0x4dd3d8(0x2a5)](),_0x5586a2=new _0x218a16(ra+_0xdb11bc[_0x4dd3d8(0x374)](Je),{'pointsGroup':_0x1ad1f3,'fill':_0x30428f||_0x211346(_0x497c90[_0x4dd3d8(0x40e)],0.2),'left':_0x48b204,'top':_0x3c3896,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4dd3d8(0x424)][_0x4dd3d8(0x4c1)](_0x5586a2),this[_0x4dd3d8(0x219)]['addObject'](_0x5586a2,_0x39605e);}[_0x1c91cb(0x37f)](_0x1ac80d,_0x52e3c7,_0x2bccfa,_0x1488a8){const _0xc52c9=_0x1c91cb,_0x18703b=new _0x3e2833(_0x1ac80d)[_0xc52c9(0x4ff)](0.2)[_0xc52c9(0x2a5)](),_0x2f3bde=new _0x218a16(na+_0xdb11bc[_0xc52c9(0x374)](Je),{'pointsGroup':_0x52e3c7,'fill':_0x18703b||_0x211346(_0x497c90['black'],0.2),'left':_0x2bccfa,'top':_0x1488a8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc52c9(0x424)][_0xc52c9(0x4c1)](_0x2f3bde),this[_0xc52c9(0x219)][_0xc52c9(0xfc)](_0x2f3bde,_0x39605e);}['_getAnchorBounding'](_0x243dce){const _0x2f9835=_0x243dce[0x0],_0x461da9=_0x2f9835[0x0],_0xb9fedf=_0x2f9835[0x2],{x:_0x5461ae,y:_0x4e18d3}=_0x461da9,{x:_0x321f3e,y:_0x5b7f73}=_0xb9fedf;return{'left':_0x5461ae,'top':_0x4e18d3,'width':_0x321f3e-_0x5461ae,'height':_0x5b7f73-_0x4e18d3};}[_0x1c91cb(0x3c3)](){const _0x4d3002=_0x1c91cb,{scaleX:_0x6a043a,scaleY:_0x32af39}=this[_0x4d3002(0x219)]['getAncestorScale']();return Math['max'](_0x6a043a,_0x32af39);}}var ha=Object[_0x1c91cb(0x502)],la=Object[_0x1c91cb(0x439)],_a=(_0x5c4e05,_0x9b18d6,_0x2d984e,_0x5b7d43)=>{const _0x576a3a=_0x1c91cb;for(var _0x3ce669=_0x5b7d43>0x1?void 0x0:_0x5b7d43?la(_0x9b18d6,_0x2d984e):_0x9b18d6,_0x8169e0=_0x5c4e05[_0x576a3a(0x38b)]-0x1,_0x35068b;_0x8169e0>=0x0;_0x8169e0--)(_0x35068b=_0x5c4e05[_0x8169e0])&&(_0x3ce669=(_0x5b7d43?_0x35068b(_0x9b18d6,_0x2d984e,_0x3ce669):_0x35068b(_0x3ce669))||_0x3ce669);return _0x5b7d43&&_0x3ce669&&ha(_0x9b18d6,_0x2d984e,_0x3ce669),_0x3ce669;},ht=(_0x2e73ce,_0x467a0b)=>(_0x1f318a,_0x7faca4)=>_0x467a0b(_0x1f318a,_0x7faca4,_0x2e73ce);let fs=class extends _0x30a9be{constructor(_0x122469,_0x3efbf7,_0x2ddec7,_0x1c3410,_0x209213){const _0x565c48=_0x1c91cb;super(),g(this,_0x565c48(0x4ce),[]),g(this,_0x565c48(0x48e),[]),(this[_0x565c48(0x43d)]=_0x122469,this[_0x565c48(0x47a)]=_0x3efbf7,this['_collabCursorController']=_0x2ddec7,this[_0x565c48(0x281)]=_0x1c3410,this[_0x565c48(0xe7)]=_0x209213,this[_0x565c48(0x1ea)]());}[_0x1c91cb(0x1ea)](){const _0x5ceef3=_0x1c91cb,_0x16324d=this[_0x5ceef3(0x43d)][_0x5ceef3(0x3cc)],_0x1d352d=this[_0x5ceef3(0x47a)];this['disposeWithMe'](_0x46617f([this[_0x5ceef3(0x1ae)][_0x5ceef3(0x3db)](_0x16324d),this[_0x5ceef3(0xe7)]['currentTheme$']])[_0x5ceef3(0x1c3)](_0x349821(([_0x5e6a35,_0x455a95])=>({'skeleton':_0x1d352d[_0x5ceef3(0x3d0)](),'cursors':[..._0x5e6a35[_0x5ceef3(0x4ef)]()][_0x5ceef3(0x17d)](_0x3138a8=>({..._0x3138a8,'color':_0x455a95[_0x3138a8[_0x5ceef3(0x257)]]}))})))[_0x5ceef3(0x432)](_0x1e82ef=>{const _0x33c1de=_0x5ceef3;if(this[_0x33c1de(0x15f)](),_0x1e82ef){const {skeleton:_0xcb6efd,cursors:_0x308a27}=_0x1e82ef;this['_updateCollabCursors'](_0xcb6efd,_0x308a27);}})),this[_0x5ceef3(0x4c7)](),this[_0x5ceef3(0x49a)]();}[_0x1c91cb(0x46b)](_0x2f8f85,_0x16b33b){const _0x480be1=_0x1c91cb,{scene:_0x585e7b,mainComponent:_0x4cd8c5}=this['_context'],_0x457b95=_0x16b33b[_0x480be1(0x3da)](_0x2db413=>new ri(_0x2db413,_0x585e7b,_0x2f8f85,_0x4cd8c5));this[_0x480be1(0x4ce)]=_0x457b95,this[_0x480be1(0x48e)]=_0x16b33b;}[_0x1c91cb(0x3ad)](){const _0x58bff4=_0x1c91cb;this[_0x58bff4(0x15f)]();const {scene:_0x32146c,mainComponent:_0x39751a}=this[_0x58bff4(0x43d)],_0x5a5cc8=this[_0x58bff4(0x47a)][_0x58bff4(0x3d0)](),_0x28762a=this[_0x58bff4(0x48e)][_0x58bff4(0x3da)](_0x31d721=>new ri(_0x31d721,_0x32146c,_0x5a5cc8,_0x39751a));this[_0x58bff4(0x4ce)]=_0x28762a;}[_0x1c91cb(0x15f)](){const _0x4565d7=_0x1c91cb;this[_0x4565d7(0x4ce)][_0x4565d7(0x180)](_0xd3465c=>_0xd3465c[_0x4565d7(0x345)]()),this[_0x4565d7(0x4ce)]=[];}[_0x1c91cb(0x49a)](){const _0xa9edb3=_0x1c91cb,_0x64be7c=[_0x59c233['id']];this['disposeWithMe'](this[_0xa9edb3(0x281)][_0xa9edb3(0x23f)](_0x33ccac=>{const _0x209cd3=_0xa9edb3;_0x64be7c[_0x209cd3(0x145)](_0x33ccac['id'])&&_0x33ccac[_0x209cd3(0x335)][_0x209cd3(0x3cc)]===this[_0x209cd3(0x43d)][_0x209cd3(0x3cc)]&&this['_refreshCollabCursors']();}));}[_0x1c91cb(0x4c7)](){const _0x127601=_0x1c91cb;this[_0x127601(0x29c)](_0x26f08a(this[_0x127601(0x43d)][_0x127601(0x10f)][_0x127601(0x267)])[_0x127601(0x1c3)](_0x2b7dcf(_0x5bc8a2=>_0x5bc8a2['type']===_0x26561d['resize']),_0x1be23b(0x10))[_0x127601(0x432)](()=>{const _0x3053a2=_0x127601;this[_0x3053a2(0x3ad)]();}));}};fs=_a([ht(0x1,_0x5beccd(_0x102d0a)),ht(0x2,_0x5beccd(Ve)),ht(0x3,_0x3abf69),ht(0x4,_0x5beccd(_0x5aed82))],fs);const ua=0x1,da=1.5;class fa extends _0xee85de{constructor(_0x180fe5,_0x516148){const _0x33d32f=_0x1c91cb;super(_0x180fe5,_0x516148),g(this,_0x33d32f(0x472)),g(this,_0x33d32f(0x2b1),!0x1),g(this,_0x33d32f(0xea)),g(this,_0x33d32f(0x2c3),''),g(this,'_labelPosition',_0x33d32f(0x268)),g(this,'_backgroundColor'),(_0x516148&&this[_0x33d32f(0x329)](_0x516148),this[_0x33d32f(0x476)][_0x33d32f(0x24f)](()=>this[_0x33d32f(0x329)]({'hovered':!0x0})),this[_0x33d32f(0x1be)]['subscribeEvent'](()=>this[_0x33d32f(0x329)]({'hovered':!0x1})));}['setShapeProps'](_0x1f890c){const _0x3cfdaf=_0x1c91cb;var _0x337f05,_0x59f2d0,_0x394863,_0x440fa6,_0x356eaa,_0x565ddb;this[_0x3cfdaf(0x472)]=(_0x337f05=_0x1f890c[_0x3cfdaf(0x257)])!=null?_0x337f05:this['_color'],this[_0x3cfdaf(0x2b1)]=(_0x59f2d0=_0x1f890c['hovered'])!=null?_0x59f2d0:this['_hovered'],this[_0x3cfdaf(0xea)]=(_0x394863=_0x1f890c[_0x3cfdaf(0x3f4)])!=null?_0x394863:this['_range'],this['_name']=(_0x440fa6=_0x1f890c[_0x3cfdaf(0x332)])!=null?_0x440fa6:this['_name'],this[_0x3cfdaf(0x315)]=(_0x356eaa=_0x1f890c[_0x3cfdaf(0x11c)])!=null?_0x356eaa:this[_0x3cfdaf(0x315)],this[_0x3cfdaf(0x3e2)]=(_0x565ddb=_0x1f890c[_0x3cfdaf(0x2ed)])!=null?_0x565ddb:this['_backgroundColor'],this['transformByState']({'width':_0x1f890c[_0x3cfdaf(0x31b)],'height':_0x1f890c[_0x3cfdaf(0x30d)]});}[_0x1c91cb(0x23e)](_0x4953cc){const _0x5d2442=_0x1c91cb,{row:_0x31066c,column:_0x5983e9}=_0x4953cc;if(_0x31066c>=this[_0x5d2442(0xea)]['startRow']&&_0x31066c<=this[_0x5d2442(0xea)][_0x5d2442(0x264)]&&_0x5983e9>=this[_0x5d2442(0xea)][_0x5d2442(0x1a8)]&&_0x5983e9<=this[_0x5d2442(0xea)][_0x5d2442(0x132)]){this[_0x5d2442(0x329)]({'hovered':!0x0});return;}this[_0x5d2442(0x329)]({'hovered':!0x1});}[_0x1c91cb(0x15b)](_0x403642){return!0x1;}['_draw'](_0x4082c6){const _0x52706d=_0x1c91cb;_0x327377['drawWith'](_0x4082c6,{'width':this[_0x52706d(0x31b)],'height':this['height'],'strokeWidth':da,'stroke':this[_0x52706d(0x472)],'evented':!0x1,'fill':this[_0x52706d(0x3e2)]}),this[_0x52706d(0x2b1)]&&(_0x4082c6[_0x52706d(0x4d5)](),_0x4082c6[_0x52706d(0x316)](0x1,0x0,0x0,0x1,this[_0x52706d(0x31b)],this[_0x52706d(0x315)]==='bottom'?0x0:-nt),Bt[_0x52706d(0x29d)](_0x4082c6,{'text':this[_0x52706d(0x2c3)],'color':this[_0x52706d(0x472)]}),_0x4082c6[_0x52706d(0x1c7)]());}}var va=Object[_0x1c91cb(0x502)],pa=Object[_0x1c91cb(0x439)],ma=(_0x25b505,_0x4c2545,_0x516991,_0x3ebbfc)=>{const _0x46ce7f=_0x1c91cb;for(var _0x42e201=_0x3ebbfc>0x1?void 0x0:_0x3ebbfc?pa(_0x4c2545,_0x516991):_0x4c2545,_0x40f40d=_0x25b505[_0x46ce7f(0x38b)]-0x1,_0x5e2c32;_0x40f40d>=0x0;_0x40f40d--)(_0x5e2c32=_0x25b505[_0x40f40d])&&(_0x42e201=(_0x3ebbfc?_0x5e2c32(_0x4c2545,_0x516991,_0x42e201):_0x5e2c32(_0x42e201))||_0x42e201);return _0x3ebbfc&&_0x42e201&&va(_0x4c2545,_0x516991,_0x42e201),_0x42e201;},es=(_0x5ce88d,_0x1b9853)=>(_0x121210,_0x384e1a)=>_0x1b9853(_0x121210,_0x384e1a,_0x5ce88d);const ga=0x1389;let vs=class extends _0x30a9be{constructor(_0x124e5f,_0x351ac2,_0x490226,_0x1f2456){const _0x1c68fd=_0x1c91cb;super(),g(this,_0x1c68fd(0x48e),new Set()),g(this,_0x1c68fd(0x113),null),(this[_0x1c68fd(0x43d)]=_0x124e5f,this[_0x1c68fd(0x331)]=_0x351ac2,this[_0x1c68fd(0x1ae)]=_0x490226,this[_0x1c68fd(0xe7)]=_0x1f2456,this[_0x1c68fd(0x1ea)]());}[_0x1c91cb(0x1ea)](){const _0x4db14e=_0x1c91cb;this[_0x4db14e(0x331)][_0x4db14e(0x298)]['pipe'](_0x35b742(this['dispose$']),_0x2d30e6(_0x3842e8=>{const _0x5a3089=_0x4db14e;if(_0x3842e8){const _0x32b3ae=_0x3842e8[_0x5a3089(0xf4)];return _0x46617f(this['_collabCursorController'][_0x5a3089(0x3db)](this[_0x5a3089(0x43d)][_0x5a3089(0x3cc)]),this[_0x5a3089(0xe7)][_0x5a3089(0x193)])[_0x5a3089(0x1c3)](_0x349821(([_0x5988e8,_0x343801])=>{const _0x1cd13d=_0x5a3089,_0x27cdb4=new Map();return _0x5988e8[_0x1cd13d(0x180)]((_0x5369f5,_0x2da954)=>{const _0x4013ce=_0x1cd13d;if(_0x5369f5[_0x4013ce(0x284)]===_0x32b3ae){const _0x526da1={..._0x5369f5};_0x526da1['color']=_0x343801[_0x5369f5[_0x4013ce(0x257)]],_0x27cdb4[_0x4013ce(0x1e5)](_0x2da954,_0x526da1);}}),{'skeleton':_0x3842e8,'cursors':_0x27cdb4};}));}return _0x5684b5({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x551535,cursors:_0x42c3d8})=>{const _0x4a3574=_0x4db14e;this['_removeCollabCursors'](),_0x551535&&this[_0x4a3574(0x46b)](_0x551535,_0x42c3d8);}),this[_0x4db14e(0x331)][_0x4db14e(0x298)][_0x4db14e(0x432)](_0x467683=>{const _0x35ceca=_0x4db14e;if(_0x467683==null)return;const {skeleton:_0x312a41}=_0x467683,{scene:_0xb670eb}=this[_0x35ceca(0x43d)];_0xb670eb[_0x35ceca(0x239)][_0x35ceca(0x24f)](_0x2ae209(_0x694938=>{const _0x4c23df=_0x35ceca;var _0x350c7f,_0x16488d;const {offsetX:_0x33435e,offsetY:_0x49c620}=_0x694938,{x:_0x4a6dd5,y:_0x2dc454}=_0xb670eb[_0x4c23df(0x185)](_0x488e28[_0x4c23df(0x36f)]([_0x33435e,_0x49c620])),{scaleX:_0x51203a,scaleY:_0x35e5da}=_0xb670eb[_0x4c23df(0x2b3)](),_0x4b0173=_0xb670eb[_0x4c23df(0x475)](_0x1481cf[_0x4c23df(0x389)]),_0x30e4d5=_0xb670eb[_0x4c23df(0x482)](_0x488e28[_0x4c23df(0x36f)]([_0x4a6dd5,_0x2dc454]),_0x4b0173),_0x29f036=_0x312a41[_0x4c23df(0x3e7)](_0x33435e,_0x49c620,_0x51203a,_0x35e5da,_0x30e4d5);((_0x350c7f=this[_0x4c23df(0x113)])==null?void 0x0:_0x350c7f[_0x4c23df(0x2c7)])===_0x29f036[_0x4c23df(0x2c7)]&&((_0x16488d=this['_lastPointer'])==null?void 0x0:_0x16488d['row'])===_0x29f036[_0x4c23df(0x3ae)]||this[_0x4c23df(0x48e)][_0x4c23df(0x180)](_0x84c285=>{_0x84c285['onMouseMove'](_0x29f036);});},0x64));});}[_0x1c91cb(0x46b)](_0x1479c7,_0x44fd2f){const _0x5040ed=_0x1c91cb;var _0x1cb124;const _0x49b049=(_0x1cb124=this[_0x5040ed(0x331)][_0x5040ed(0x240)]())==null?void 0x0:_0x1cb124[_0x5040ed(0x38a)];if(!_0x49b049)return;const _0x33f186=this[_0x5040ed(0x4e9)]();if(!_0x33f186)return;this[_0x5040ed(0x48e)]['forEach'](_0x8cdcae=>{_0x8cdcae['makeDirty']();});const {scene:_0x3499b1}=_0x33f186,_0x5bad3e=Sa(Array['from'](_0x44fd2f['values']()))[_0x5040ed(0x3da)](_0x104d35=>{const _0x4f46aa=_0x5040ed,{color:_0xfb865b,range:_0x222bca,name:_0x3d9b4c,selection:_0x4d0292,sheetID:_0x248f9f}=_0x104d35,{startColumn:_0x30a933,startRow:_0x480fed,endColumn:_0x3d2e63,endRow:_0x15fb09}=_0x222bca,_0x472e73=_0x13f873(_0x480fed,_0x30a933,_0x3499b1,_0x49b049),_0x4c8069=_0x13f873(_0x15fb09,_0x3d2e63,_0x3499b1,_0x49b049),{columnHeaderHeightAndMarginTop:_0x2f96e1}=_0x49b049,{startX:_0x51d96e,startY:_0x24d3ca}=_0x472e73,{endX:_0x329050,endY:_0x275eec}=_0x4c8069,_0x3444ce=_0x329050-_0x51d96e,_0x184852=_0x275eec-_0x24d3ca,_0x1ef2d4={'labelPosition':_0x24d3ca-_0x2f96e1>=nt?'top':_0x4f46aa(0x34e),'sheetID':_0x248f9f,'range':_0x222bca,'color':_0xfb865b,'name':_0x3d9b4c,'selection':_0x4d0292,'left':_0x51d96e,'top':_0x24d3ca,'width':_0x3444ce,'height':_0x184852,'evented':!0x1,'zIndex':ga};return new fa(_0x3d9b4c,_0x1ef2d4);});_0x3499b1[_0x5040ed(0x29a)](_0x5bad3e,ua),this[_0x5040ed(0x48e)]=new Set(_0x5bad3e);}[_0x1c91cb(0x15f)](){const _0x2f42f0=_0x1c91cb;var _0xd832e4;(_0xd832e4=this[_0x2f42f0(0x48e)])==null||_0xd832e4[_0x2f42f0(0x180)](_0x59e129=>_0x59e129[_0x2f42f0(0x345)]());}[_0x1c91cb(0x4e9)](){const _0x2ae9bd=_0x1c91cb;return _0x125563(this['_context'][_0x2ae9bd(0x456)],this[_0x2ae9bd(0x43d)]);}};vs=ma([es(0x1,_0x5beccd(_0x51ae50)),es(0x2,_0x5beccd(Ve)),es(0x3,_0x5beccd(_0x5aed82))],vs);function Sa(_0x5f567a){const _0x39a939=_0x1c91cb,_0x2dd22d=new Map();return _0x5f567a[_0x39a939(0x180)](_0x48e8a7=>{const _0x3f0b2e=_0x39a939;if(_0x2dd22d[_0x3f0b2e(0x3f6)](_0x48e8a7[_0x3f0b2e(0x4d1)])){const _0x342e4f=_0x2dd22d[_0x3f0b2e(0x470)](_0x48e8a7[_0x3f0b2e(0x4d1)]);_0x342e4f[_0x3f0b2e(0x332)]+=',\x20'+_0x48e8a7[_0x3f0b2e(0x332)];}else _0x2dd22d[_0x3f0b2e(0x1e5)](_0x48e8a7[_0x3f0b2e(0x4d1)],_0x48e8a7);}),Array['from'](_0x2dd22d['values']());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x5453e3){const _0x49429c=_0x1c91cb;return _0x5453e3&&_0x5453e3['__esModule']&&Object[_0x49429c(0x245)][_0x49429c(0x48c)][_0x49429c(0xff)](_0x5453e3,_0x49429c(0x34f))?_0x5453e3[_0x49429c(0x34f)]:_0x5453e3;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0x1ba18d=_0x1c91cb;if(ni)return Ze;ni=0x1;var _0x30f3f8=_0x2e260c,_0x51d21a=Symbol['for'](_0x1ba18d(0x140)),_0x17ec34=Symbol[_0x1ba18d(0x1fe)](_0x1ba18d(0x422)),_0x19fdca=Object[_0x1ba18d(0x245)][_0x1ba18d(0x48c)],_0x196b80=_0x30f3f8[_0x1ba18d(0x26c)]['ReactCurrentOwner'],_0x2e0c75={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x293e46(_0x25f6d2,_0x47d878,_0x144855){const _0x484838=_0x1ba18d;var _0x45e1d1,_0x1771a5={},_0x4db4b1=null,_0x396fa6=null;_0x144855!==void 0x0&&(_0x4db4b1=''+_0x144855),_0x47d878[_0x484838(0x2e0)]!==void 0x0&&(_0x4db4b1=''+_0x47d878[_0x484838(0x2e0)]),_0x47d878[_0x484838(0x393)]!==void 0x0&&(_0x396fa6=_0x47d878[_0x484838(0x393)]);for(_0x45e1d1 in _0x47d878)_0x19fdca[_0x484838(0xff)](_0x47d878,_0x45e1d1)&&!_0x2e0c75[_0x484838(0x48c)](_0x45e1d1)&&(_0x1771a5[_0x45e1d1]=_0x47d878[_0x45e1d1]);if(_0x25f6d2&&_0x25f6d2['defaultProps']){for(_0x45e1d1 in(_0x47d878=_0x25f6d2['defaultProps'],_0x47d878))_0x1771a5[_0x45e1d1]===void 0x0&&(_0x1771a5[_0x45e1d1]=_0x47d878[_0x45e1d1]);}return{'$$typeof':_0x51d21a,'type':_0x25f6d2,'key':_0x4db4b1,'ref':_0x396fa6,'props':_0x1771a5,'_owner':_0x196b80[_0x484838(0x3b2)]};}return Ze['Fragment']=_0x17ec34,Ze[_0x1ba18d(0x40f)]=_0x293e46,Ze['jsxs']=_0x293e46,Ze;}var oi;function Ca(){const _0x5a24e7=_0x1c91cb;return oi||(oi=0x1,ss[_0x5a24e7(0x3fe)]=Ia()),ss['exports'];}var De=Ca(),te=function(){const _0xa06fbb=_0x1c91cb;return te=Object[_0xa06fbb(0x49f)]||function(_0x34da72){const _0xc02b5c=_0xa06fbb;for(var _0xe3c126,_0x3f5d7c=0x1,_0x286f1e=arguments[_0xc02b5c(0x38b)];_0x3f5d7c<_0x286f1e;_0x3f5d7c++){_0xe3c126=arguments[_0x3f5d7c];for(var _0xd70698 in _0xe3c126)Object[_0xc02b5c(0x245)][_0xc02b5c(0x48c)][_0xc02b5c(0xff)](_0xe3c126,_0xd70698)&&(_0x34da72[_0xd70698]=_0xe3c126[_0xd70698]);}return _0x34da72;},te[_0xa06fbb(0x2e8)](this,arguments);},Ea=function(_0x49f751,_0xc4511e){const _0x38795d=_0x1c91cb;var _0x4f4ddd={};for(var _0x21ebb0 in _0x49f751)Object['prototype'][_0x38795d(0x48c)][_0x38795d(0xff)](_0x49f751,_0x21ebb0)&&_0xc4511e[_0x38795d(0x3b8)](_0x21ebb0)<0x0&&(_0x4f4ddd[_0x21ebb0]=_0x49f751[_0x21ebb0]);if(_0x49f751!=null&&typeof Object[_0x38795d(0x337)]==_0x38795d(0x151)){for(var _0x118b08=0x0,_0x21ebb0=Object[_0x38795d(0x337)](_0x49f751);_0x118b08<_0x21ebb0['length'];_0x118b08++)_0xc4511e[_0x38795d(0x3b8)](_0x21ebb0[_0x118b08])<0x0&&Object[_0x38795d(0x245)][_0x38795d(0x29e)]['call'](_0x49f751,_0x21ebb0[_0x118b08])&&(_0x4f4ddd[_0x21ebb0[_0x118b08]]=_0x49f751[_0x21ebb0[_0x118b08]]);}return _0x4f4ddd;},Us=_0x5e0549(function(_0x316e09,_0x158bb2){const _0x197060=_0x1c91cb;var _0x34fcc3=_0x316e09['icon'],_0x360ca6=_0x316e09['id'],_0x5801d3=_0x316e09[_0x197060(0x350)],_0x294ef0=_0x316e09[_0x197060(0x108)],_0x3a4485=Ea(_0x316e09,[_0x197060(0x4df),'id',_0x197060(0x350),_0x197060(0x108)]),_0x1e072b='univerjs-icon\x20univerjs-icon-'['concat'](_0x360ca6,'\x20')[_0x197060(0x37e)](_0x5801d3||'')[_0x197060(0x2f5)](),_0xd5378e=_0x5ff133('_'[_0x197060(0x37e)](Ra()));return Zi(_0x34fcc3,''[_0x197060(0x37e)](_0x360ca6),{'defIds':_0x34fcc3[_0x197060(0x24c)],'idSuffix':_0xd5378e[_0x197060(0x3b2)]},te({'ref':_0x158bb2,'className':_0x1e072b},_0x3a4485),_0x294ef0);});function Zi(_0x531aca,_0x511ee8,_0x5e8ebb,_0x47e5b5,_0xa63c08){const _0x1c2d79=_0x1c91cb;return _0x49f7b2(_0x531aca[_0x1c2d79(0x2d6)],te(te({'key':_0x511ee8},ba(_0x531aca,_0x5e8ebb,_0xa63c08)),_0x47e5b5),(Ta(_0x531aca,_0x5e8ebb)[_0x1c2d79(0x1b6)]||[])[_0x1c2d79(0x3da)](function(_0x306ef4,_0x468a8f){const _0x3f805e=_0x1c2d79;return Zi(_0x306ef4,''[_0x3f805e(0x37e)](_0x511ee8,'-')['concat'](_0x531aca[_0x3f805e(0x2d6)],'-')[_0x3f805e(0x37e)](_0x468a8f),_0x5e8ebb,void 0x0,_0xa63c08);}));}function ba(_0x12cc00,_0x422b88,_0x1c8f81){const _0x200872=_0x1c91cb;var _0x992bca=te({},_0x12cc00[_0x200872(0x14d)]);_0x1c8f81!=null&&_0x1c8f81[_0x200872(0x3e9)]&&_0x992bca['fill']===_0x200872(0x3e9)&&(_0x992bca['fill']=_0x1c8f81[_0x200872(0x3e9)]);var _0x5945c4=_0x422b88[_0x200872(0x24c)];return!_0x5945c4||_0x5945c4[_0x200872(0x38b)]===0x0||(_0x12cc00[_0x200872(0x2d6)]===_0x200872(0x441)&&_0x992bca[_0x200872(0xe9)]&&(_0x992bca[_0x200872(0xe9)]=_0x992bca[_0x200872(0xe9)]+_0x422b88['idSuffix']),Object['entries'](_0x992bca)['forEach'](function(_0x292431){const _0x3c16f6=_0x200872;var _0x37bc8d=_0x292431[0x0],_0x47f10e=_0x292431[0x1];typeof _0x47f10e=='string'&&(_0x992bca[_0x37bc8d]=_0x47f10e[_0x3c16f6(0x36a)](/url\(#(.*)\)/,_0x3c16f6(0x25a)[_0x3c16f6(0x37e)](_0x422b88['idSuffix'],')')));})),_0x992bca;}function Ta(_0x257466,_0x9d1e9){const _0x87617c=_0x1c91cb;var _0x5903ca,_0x2aea85=_0x9d1e9[_0x87617c(0x24c)];return!_0x2aea85||_0x2aea85['length']===0x0?_0x257466:_0x257466[_0x87617c(0x2d6)]==='defs'&&(!((_0x5903ca=_0x257466['children'])===null||_0x5903ca===void 0x0)&&_0x5903ca[_0x87617c(0x38b)])?te(te({},_0x257466),{'children':_0x257466['children'][_0x87617c(0x3da)](function(_0x4d723d){const _0x3efe85=_0x87617c;return typeof _0x4d723d[_0x3efe85(0x14d)]['id']==_0x3efe85(0x366)&&_0x2aea85&&_0x2aea85['indexOf'](_0x4d723d['attrs']['id'])>-0x1?te(te({},_0x4d723d),{'attrs':te(te({},_0x4d723d[_0x3efe85(0x14d)]),{'id':_0x4d723d[_0x3efe85(0x14d)]['id']+_0x9d1e9[_0x3efe85(0x21f)]})}):_0x4d723d;})}):_0x257466;}function Ra(){const _0x4a4894=_0x1c91cb;return Math[_0x4a4894(0x255)]()[_0x4a4894(0xfd)](0x24)['substring'](0x2,0x8);}Us[_0x1c91cb(0x48f)]=_0x1c91cb(0x1a3);var Oa={'tag':_0x1c91cb(0x276),'attrs':{'fill':_0x1c91cb(0x36e),'viewBox':_0x1c91cb(0x3eb),'width':_0x1c91cb(0x209),'height':_0x1c91cb(0x209)},'children':[{'tag':'g','attrs':{'clipPath':_0x1c91cb(0x13c)},'children':[{'tag':_0x1c91cb(0x21d),'attrs':{'stroke':_0x1c91cb(0x493),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1c91cb(0x421),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1c91cb(0x1d4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1c91cb(0x496)},'children':[{'tag':_0x1c91cb(0x21d),'attrs':{'fill':_0x1c91cb(0x349),'d':_0x1c91cb(0x2b9)}}]}]}],'defIds':[_0x1c91cb(0x496)]},Qi=_0x5e0549(function(_0x9267aa,_0x270755){return _0x49f7b2(Us,Object['assign']({},_0x9267aa,{'id':'off-line-single','ref':_0x270755,'icon':Oa}));});Qi[_0x1c91cb(0x48f)]=_0x1c91cb(0x142);var ya={'tag':_0x1c91cb(0x276),'attrs':{'fill':'none','viewBox':_0x1c91cb(0x497),'width':'1em','height':_0x1c91cb(0x209)},'children':[{'tag':'g','attrs':{'clipPath':_0x1c91cb(0x357)},'children':[{'tag':_0x1c91cb(0x21d),'attrs':{'stroke':_0x1c91cb(0x493),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x1c91cb(0x421),'strokeLinejoin':_0x1c91cb(0x421),'strokeWidth':1.2}}]},{'tag':_0x1c91cb(0x1d4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1c91cb(0x2ea)},'children':[{'tag':_0x1c91cb(0x21d),'attrs':{'fill':_0x1c91cb(0x349),'d':_0x1c91cb(0x2b9),'transform':_0x1c91cb(0x35c)}}]}]}],'defIds':[_0x1c91cb(0x2ea)]},er=_0x5e0549(function(_0x45bd49,_0x13692e){const _0x2c10af=_0x1c91cb;return _0x49f7b2(Us,Object[_0x2c10af(0x49f)]({},_0x45bd49,{'id':_0x2c10af(0x2f6),'ref':_0x13692e,'icon':ya}));});er['displayName']='OnLineSingle';function tr(_0x2adbe9){const _0xc5828e=_0x1c91cb;var _0x194bf7,_0x1ef5ab,_0x443770='';if(typeof _0x2adbe9==_0xc5828e(0x366)||typeof _0x2adbe9==_0xc5828e(0x49b))_0x443770+=_0x2adbe9;else{if(typeof _0x2adbe9=='object'){if(Array[_0xc5828e(0x338)](_0x2adbe9)){var _0x5221c8=_0x2adbe9[_0xc5828e(0x38b)];for(_0x194bf7=0x0;_0x194bf7<_0x5221c8;_0x194bf7++)_0x2adbe9[_0x194bf7]&&(_0x1ef5ab=tr(_0x2adbe9[_0x194bf7]))&&(_0x443770&&(_0x443770+='\x20'),_0x443770+=_0x1ef5ab);}else{for(_0x1ef5ab in _0x2adbe9)_0x2adbe9[_0x1ef5ab]&&(_0x443770&&(_0x443770+='\x20'),_0x443770+=_0x1ef5ab);}}}return _0x443770;}function wa(){const _0x428ef7=_0x1c91cb;for(var _0x476fa5,_0x4d3a8b,_0x52cd65=0x0,_0x7b2375='',_0x1aee7a=arguments[_0x428ef7(0x38b)];_0x52cd65<_0x1aee7a;_0x52cd65++)(_0x476fa5=arguments[_0x52cd65])&&(_0x4d3a8b=tr(_0x476fa5))&&(_0x7b2375&&(_0x7b2375+='\x20'),_0x7b2375+=_0x4d3a8b);return _0x7b2375;}const Da=_0x1c91cb(0x254),Pa=_0x1c91cb(0x157),Na=_0x1c91cb(0x34b),Ua=_0x1c91cb(0x2cc),Aa=_0x1c91cb(0x3c5),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x3ae973){const _0x2493a3=_0x1c91cb;switch(_0x3ae973){case J['OFFLINE']:return _0x2493a3(0x21c);case J['CONFLICT']:return _0x2493a3(0x390);case J[_0x2493a3(0x2e5)]:return'collabStatus.fetchMiss';case J['NOT_COLLAB']:return _0x2493a3(0x1a1);case J[_0x2493a3(0x246)]:case J[_0x2493a3(0x351)]:return _0x2493a3(0x112);case J[_0x2493a3(0x452)]:case J[_0x2493a3(0x14c)]:return _0x2493a3(0x293);}}function xa(_0x32eddb){const _0x3e44d3=_0x1c91cb,{status$:_0xdcc826}=_0x32eddb,_0x52ed56=_0x1989ef(_0xdcc826,J['NOT_COLLAB']),_0x73f306=_0xf90a9a(_0x1f9468),_0x78aae5=_0xf90a9a(xe),_0x336ebe=_0x52ed56!==J[_0x3e44d3(0x12d)],_0x4e0b8e=_0x73f306['t'](Ma(_0x52ed56)),_0x2127af=wa(Qe['onlineStatus'],{[Qe[_0x3e44d3(0x206)]]:_0x336ebe,[Qe[_0x3e44d3(0x4c8)]]:!_0x336ebe}),_0x321ecc=_0x336ebe?De['jsx'](er,{}):De['jsx'](Qi,{}),_0x788670=_0x50f9f7(()=>{const _0x18f33f=_0x3e44d3;_0x336ebe||_0x78aae5[_0x18f33f(0x1e1)]();},[_0x336ebe,_0x78aae5]);function _0x594373(){const _0x38b644=_0x3e44d3;return De[_0x38b644(0x175)](_0x38b644(0x2c1),{'className':_0x2127af,'onClick':_0x788670,'children':[De[_0x38b644(0x40f)](_0x38b644(0x2c1),{'className':Qe['onlineStatusIcon'],'children':_0x321ecc}),De[_0x38b644(0x40f)]('div',{'className':Qe[_0x38b644(0x487)],'children':_0x4e0b8e})]});}return _0x336ebe?_0x594373():De[_0x3e44d3(0x40f)](_0x1e30b7,{'title':_0x73f306['t'](_0x3e44d3(0x2fb)),'children':_0x594373()});}var La=Object[_0x1c91cb(0x502)],$a=Object[_0x1c91cb(0x439)],Ha=(_0xf7096a,_0x2953fe,_0x421046,_0x25af7f)=>{const _0x41404d=_0x1c91cb;for(var _0x4b4c3d=_0x25af7f>0x1?void 0x0:_0x25af7f?$a(_0x2953fe,_0x421046):_0x2953fe,_0x510d82=_0xf7096a[_0x41404d(0x38b)]-0x1,_0x21e511;_0x510d82>=0x0;_0x510d82--)(_0x21e511=_0xf7096a[_0x510d82])&&(_0x4b4c3d=(_0x25af7f?_0x21e511(_0x2953fe,_0x421046,_0x4b4c3d):_0x21e511(_0x4b4c3d))||_0x4b4c3d);return _0x25af7f&&_0x4b4c3d&&La(_0x2953fe,_0x421046,_0x4b4c3d),_0x4b4c3d;},lt=(_0x3fe8ca,_0x1bc895)=>(_0x343e28,_0x3a366c)=>_0x1bc895(_0x343e28,_0x3a366c,_0x3fe8ca);let At=class extends _0x4b86a3{constructor(_0x1b78c5,_0x45ce61,_0x24d289,_0x23c626){const _0x29f7e0=_0x1c91cb;super(),g(this,_0x29f7e0(0x207),new _0x3eae3e(J['NOT_COLLAB'])),(this[_0x29f7e0(0x494)]=_0x1b78c5,this[_0x29f7e0(0x2ee)]=_0x45ce61,this[_0x29f7e0(0x29f)]=_0x24d289,this[_0x29f7e0(0x109)]=_0x23c626,this['_initStatusComponent'](),this[_0x29f7e0(0x30c)]());}[_0x1c91cb(0x30c)](){const _0x51e005=_0x1c91cb;this[_0x51e005(0x29c)](this[_0x51e005(0x494)][_0x51e005(0x128)][_0x51e005(0x1c3)](_0x284c9e(()=>{const _0x35b458=_0x51e005,_0x2863a7=this[_0x35b458(0x494)][_0x35b458(0x30e)]();return _0x2863a7?this[_0x35b458(0x109)][_0x35b458(0x17f)](_0x2863a7['getUnitId']()):_0x5684b5(null);}),_0x284c9e(_0x2b3f06=>_0x2b3f06?_0x2b3f06[_0x51e005(0x3b5)]:_0x5684b5(J[_0x51e005(0x212)])))[_0x51e005(0x432)](_0x4c370b=>{this['_status$']['next'](_0x4c370b);}));}[_0x1c91cb(0x280)](){const _0x172c01=_0x1c91cb;this[_0x172c01(0x29c)](this[_0x172c01(0x2ee)][_0x172c01(0x25f)](_0x1d2b19['HEADER_MENU'],()=>_0x7290b(ja({'status$':this['_status$'][_0x172c01(0x141)]()}),this[_0x172c01(0x29f)])));}};At=Ha([lt(0x0,_0x5283d0),lt(0x1,_0x284aee),lt(0x2,_0x5beccd(_0x21398d)),lt(0x3,_0x5beccd(rt))],At);function ja(_0x569068){const {status$:_0x362a9a}=_0x569068;return function(){return De['jsx'](xa,{'status$':_0x362a9a});};}const sr=_0x418c93('uni.network.url-service');var Ba=Object['defineProperty'],ka=Object[_0x1c91cb(0x439)],Wa=(_0x132193,_0x161e43,_0x19487b,_0x461222)=>{const _0x35c559=_0x1c91cb;for(var _0x464327=_0x461222>0x1?void 0x0:_0x461222?ka(_0x161e43,_0x19487b):_0x161e43,_0x23e924=_0x132193[_0x35c559(0x38b)]-0x1,_0x4ed7f5;_0x23e924>=0x0;_0x23e924--)(_0x4ed7f5=_0x132193[_0x23e924])&&(_0x464327=(_0x461222?_0x4ed7f5(_0x161e43,_0x19487b,_0x464327):_0x4ed7f5(_0x464327))||_0x464327);return _0x461222&&_0x464327&&Ba(_0x161e43,_0x19487b,_0x464327),_0x464327;},ke=(_0x16e8e8,_0x1161b9)=>(_0x295a86,_0x5b680d)=>_0x1161b9(_0x295a86,_0x5b680d,_0x16e8e8);let Mt=class extends _0x30a9be{constructor(_0x1e1d99,_0x218248,_0x2eb62e,_0x3d3956,_0x52f90e,_0x458c1a){const _0x41dd8f=_0x1c91cb;super(),this[_0x41dd8f(0x1a0)]=_0x1e1d99,this[_0x41dd8f(0x2fc)]=_0x218248,this[_0x41dd8f(0x281)]=_0x2eb62e,this[_0x41dd8f(0x38e)]=_0x3d3956,this[_0x41dd8f(0x3c8)]=_0x52f90e,_0x458c1a?_0x458c1a==null||_0x458c1a[_0x41dd8f(0x4aa)]()['then'](()=>this[_0x41dd8f(0x1ea)]()):(this[_0x41dd8f(0x2fc)][_0x41dd8f(0x238)](_0x41dd8f(0x4c4),_0x41dd8f(0x158)),this[_0x41dd8f(0x1ea)]());}async[_0x1c91cb(0x1ea)](){const _0x5c5bbf=_0x1c91cb,_0x31cd8c=this[_0x5c5bbf(0x1a0)][_0x5c5bbf(0x4b3)]('unit'),_0x52fd40=this[_0x5c5bbf(0x1a0)][_0x5c5bbf(0x4b3)](_0x5c5bbf(0x4c3));if(!_0x31cd8c||!_0x52fd40){this[_0x5c5bbf(0x2fc)][_0x5c5bbf(0x238)](_0x5c5bbf(0x4c4),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x52fd40)){case ae['UNIVER_SHEET']:{const _0x4e59c6=await this[_0x5c5bbf(0x474)](_0x31cd8c);this['_setupSubUnitSync'](_0x4e59c6);break;}case ae[_0x5c5bbf(0x18f)]:{await this[_0x5c5bbf(0x226)](_0x31cd8c);break;}default:{this[_0x5c5bbf(0x2fc)][_0x5c5bbf(0x4d3)](_0x5c5bbf(0x4c4),_0x5c5bbf(0x488));break;}}}async[_0x1c91cb(0x1d7)](_0x1befd6){const _0x2c3497=_0x1c91cb;await this[_0x2c3497(0x3b7)](_0x1befd6),_0x1befd6['activeSheet$']['pipe'](_0x13e2dd(this[_0x2c3497(0x1a4)]))[_0x2c3497(0x432)](_0x446e39=>{_0x446e39&&this['_updateURLWithCurrentState'](_0x446e39);}),this[_0x2c3497(0x1a0)]['urlChange$'][_0x2c3497(0x1c3)](_0x13e2dd(this[_0x2c3497(0x1a4)]))[_0x2c3497(0x432)](()=>this[_0x2c3497(0x3b7)](_0x1befd6));}[_0x1c91cb(0xfb)](_0x1767b1,_0x1c784d=!0x1){const _0x5ca87f=_0x1c91cb,_0x3a2039=this[_0x5ca87f(0x1a0)][_0x5ca87f(0x4b3)](_0x5ca87f(0x250));_0x1767b1['getSheetId']()!==_0x3a2039&&this[_0x5ca87f(0x1a0)][_0x5ca87f(0x41b)](_0x5ca87f(0x250),_0x1767b1[_0x5ca87f(0x359)](),_0x1c784d);}async[_0x1c91cb(0x3b7)](_0x32d223){const _0x313372=_0x1c91cb;var _0x15b66e;const _0x4d2947=this[_0x313372(0x1a0)][_0x313372(0x4b3)](_0x313372(0x250));if(!_0x4d2947||!_0x32d223[_0x313372(0x2e2)](_0x4d2947)){const _0x26bb07=_0x32d223[_0x313372(0x35b)]()[0x0],_0x2e9e86=_0x32d223['getSheetBySheetId'](_0x26bb07);if(!_0x2e9e86)return;this[_0x313372(0xfb)](_0x2e9e86,!0x0),await this[_0x313372(0x281)][_0x313372(0x407)](_0x4eaf31['id'],{'unitId':_0x32d223['getUnitId'](),'subUnitId':_0x26bb07});return;}((_0x15b66e=_0x32d223[_0x313372(0x27f)]())==null?void 0x0:_0x15b66e[_0x313372(0x359)]())!==_0x4d2947&&await this[_0x313372(0x281)]['executeCommand'](_0x4eaf31['id'],{'unitId':_0x32d223[_0x313372(0x2f3)](),'subUnitId':_0x4d2947});}async[_0x1c91cb(0x474)](_0x42bf32){const _0x1eaad4=_0x1c91cb;let _0x2ef5e8=0x0;const _0x126eb2=await this['_localCacheService']['loadOfflineData'](_0x42bf32);return _0x126eb2&&(_0x126eb2[_0x1eaad4(0x177)]||_0x126eb2[_0x1eaad4(0x2e4)][_0x1eaad4(0x38b)]!==0x0)&&(_0x2ef5e8=_0x126eb2[_0x1eaad4(0x1ce)]),_0x2ef5e8===0x0&&this[_0x1eaad4(0x2fc)][_0x1eaad4(0x238)](_0x1eaad4(0x4c4),_0x1eaad4(0x286)),this[_0x1eaad4(0x3c8)][_0x1eaad4(0x1e2)](_0x42bf32,_0x2ef5e8);}async[_0x1c91cb(0x226)](_0x26c5c8){const _0x9603f9=_0x1c91cb;let _0x197613=0x0;const _0x5884ad=await this[_0x9603f9(0x38e)]['loadOfflineData'](_0x26c5c8);return _0x5884ad&&(_0x5884ad['awaitingChangeset']||_0x5884ad['mutations'][_0x9603f9(0x38b)]!==0x0)&&(_0x197613=_0x5884ad[_0x9603f9(0x1ce)]),_0x197613===0x0&&this[_0x9603f9(0x2fc)][_0x9603f9(0x238)](_0x9603f9(0x4c4),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x9603f9(0x3c8)][_0x9603f9(0xef)](_0x26c5c8,_0x197613);}};Mt=Wa([ke(0x0,sr),ke(0x1,_0x535daf),ke(0x2,_0x3abf69),ke(0x3,_0x5beccd(z)),ke(0x4,_0x5beccd(_0x2c6ceb)),ke(0x5,_0x231330(_0x473fe8))],Mt);var Fa=Object[_0x1c91cb(0x502)],Va=Object[_0x1c91cb(0x439)],Ga=(_0x5a6637,_0x1fb5de,_0x3ecc3b,_0x34dc3d)=>{const _0x2487c4=_0x1c91cb;for(var _0x5e429a=_0x34dc3d>0x1?void 0x0:_0x34dc3d?Va(_0x1fb5de,_0x3ecc3b):_0x1fb5de,_0x12ba2b=_0x5a6637[_0x2487c4(0x38b)]-0x1,_0x12d5dc;_0x12ba2b>=0x0;_0x12ba2b--)(_0x12d5dc=_0x5a6637[_0x12ba2b])&&(_0x5e429a=(_0x34dc3d?_0x12d5dc(_0x1fb5de,_0x3ecc3b,_0x5e429a):_0x12d5dc(_0x5e429a))||_0x5e429a);return _0x34dc3d&&_0x5e429a&&Fa(_0x1fb5de,_0x3ecc3b,_0x5e429a),_0x5e429a;},ai=(_0x55f42b,_0x45c594)=>(_0x3066b6,_0x1f5fbb)=>_0x45c594(_0x3066b6,_0x1f5fbb,_0x55f42b);const Ya=_0x1c91cb(0x12e),Ka=_0x1c91cb(0x365);let xt=class extends _0x4b86a3{constructor(_0x3ed6e6,_0x383da2){const _0x29aecb=_0x1c91cb;super(),this['_univerInstanceService']=_0x3ed6e6,this[_0x29aecb(0x379)]=_0x383da2,this['_init']();}[_0x1c91cb(0x1ea)](){const _0x3744fc=_0x1c91cb;this[_0x3744fc(0x29c)](this['_univerInstanceService'][_0x3744fc(0x128)]['subscribe'](()=>{const _0x11f95b=_0x3744fc;var _0x4371c4;const _0x7c1dc4=this[_0x11f95b(0x494)][_0x11f95b(0x30e)]();let _0x4bdb1a=(_0x4371c4=this[_0x11f95b(0x379)]['getConfig'](Ya))!=null?_0x4371c4:Ka;_0x7c1dc4 instanceof _0x27bfec&&(_0x4bdb1a=_0x7c1dc4['name']),document[_0x11f95b(0x116)]=_0x4bdb1a;}));}};xt=Ga([ai(0x0,_0x5283d0),ai(0x1,_0x385706)],xt);var qa=Object[_0x1c91cb(0x502)],za=Object['getOwnPropertyDescriptor'],Xa=(_0x11f344,_0x1a33fb,_0x27c75f,_0xe89b82)=>{const _0x49d6bc=_0x1c91cb;for(var _0x435fd8=_0xe89b82>0x1?void 0x0:_0xe89b82?za(_0x1a33fb,_0x27c75f):_0x1a33fb,_0x5261ee=_0x11f344[_0x49d6bc(0x38b)]-0x1,_0x48af99;_0x5261ee>=0x0;_0x5261ee--)(_0x48af99=_0x11f344[_0x5261ee])&&(_0x435fd8=(_0xe89b82?_0x48af99(_0x1a33fb,_0x27c75f,_0x435fd8):_0x48af99(_0x435fd8))||_0x435fd8);return _0xe89b82&&_0x435fd8&&qa(_0x1a33fb,_0x27c75f,_0x435fd8),_0x435fd8;},is=(_0x21881f,_0x31fe8a)=>(_0x508822,_0x367b4e)=>_0x31fe8a(_0x508822,_0x367b4e,_0x21881f);let Lt=class{constructor(_0x4014f2,_0x5ddd66,_0x39c95e){const _0xfa4899=_0x1c91cb;this[_0xfa4899(0x379)]=_0x4014f2,this[_0xfa4899(0x478)]=_0x5ddd66,this[_0xfa4899(0x437)]=_0x39c95e,this[_0xfa4899(0x248)]();}[_0x1c91cb(0x248)](){const _0x4a1559=_0x1c91cb;this[_0x4a1559(0x478)][_0x4a1559(0x262)]({'priority':0x1,'interceptor':(_0x3392e3,_0xc7d144)=>_0xc7d144(_0x3392e3)[_0x4a1559(0x1c3)](_0x463a33(async _0x3c711c=>{const _0x26513d=_0x4a1559,_0x57c848=_0x3c711c;if(_0x57c848[_0x26513d(0xf0)]===0x191&&window['confirm'](this[_0x26513d(0x437)]['t'](_0x26513d(0x2be)))){const _0x11a912=window[_0x26513d(0x473)](window[_0x26513d(0x2c2)][_0x26513d(0x33a)]);window[_0x26513d(0x2c2)][_0x26513d(0x33a)]=this[_0x26513d(0x3ef)]()+_0x26513d(0x3e5)+_0x11a912;}return _0x57c848;}))});}[_0x1c91cb(0x3ef)](){const _0x4859c0=_0x1c91cb;var _0x8dc363,_0x9b7dcd;const _0x4a937c=this[_0x4859c0(0x379)][_0x4859c0(0x34d)](Hn),_0x5ab9ce=this[_0x4859c0(0x379)][_0x4859c0(0x34d)](Q);return(_0x9b7dcd=(_0x8dc363=_0x5ab9ce==null?void 0x0:_0x5ab9ce[_0x4859c0(0x491)])!=null?_0x8dc363:_0x4a937c)!=null?_0x9b7dcd:jn;}};Lt=Xa([is(0x0,_0x385706),is(0x1,_0x5beccd(_0x170656)),is(0x2,_0x5beccd(_0x1f9468))],Lt);var Ja=Object['defineProperty'],Za=Object['getOwnPropertyDescriptor'],Qa=(_0x776cab,_0x291827,_0x49736b,_0x19c40a)=>{const _0x105de0=_0x1c91cb;for(var _0x2608db=_0x19c40a>0x1?void 0x0:_0x19c40a?Za(_0x291827,_0x49736b):_0x291827,_0x5b01f7=_0x776cab[_0x105de0(0x38b)]-0x1,_0x2e066b;_0x5b01f7>=0x0;_0x5b01f7--)(_0x2e066b=_0x776cab[_0x5b01f7])&&(_0x2608db=(_0x19c40a?_0x2e066b(_0x291827,_0x49736b,_0x2608db):_0x2e066b(_0x2608db))||_0x2608db);return _0x19c40a&&_0x2608db&&Ja(_0x291827,_0x49736b,_0x2608db),_0x2608db;},ci=(_0xa05c6e,_0x4f1961)=>(_0x38311a,_0x36bc88)=>_0x4f1961(_0x38311a,_0x36bc88,_0xa05c6e);const ir=_0x1c91cb(0x252),ec=_0x1c91cb(0x44a);let ps=class extends _0x4b86a3{constructor(_0xdabc4f,_0x144fd0){const _0x3d9418=_0x1c91cb;super(),this[_0x3d9418(0x45d)]=_0xdabc4f,this[_0x3d9418(0x379)]=_0x144fd0,this[_0x3d9418(0x426)]();}[_0x1c91cb(0x426)](){const _0x55d831=_0x1c91cb,_0x27900f=this;this['disposeWithMe'](this[_0x55d831(0x45d)][_0x55d831(0x262)]({'priority':0x3e7,'interceptor':_0x1e8357({'isMatch'(_0x349c06){const _0x1e9b4c=_0x55d831;var _0x25ee5a;if(_0x349c06[_0x1e9b4c(0x19e)]===_0x1e9b4c(0x301)&&((_0x25ee5a=_0x349c06['requestParams'])!=null&&_0x25ee5a[_0x1e9b4c(0x1f9)])){const {objectID:_0x2644eb,objectType:_0x251797}=_0x349c06['requestParams'][_0x1e9b4c(0x1f9)]||{};if(!_0x2644eb||_0x251797===void 0x0)return!0x1;const _0x12372a=_0x27900f[_0x1e9b4c(0x25b)]()+'/'+_0x251797+_0x1e9b4c(0x4f6)+_0x2644eb+_0x1e9b4c(0x2c5);if(_0x349c06[_0x1e9b4c(0x3de)]===_0x12372a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4a499d){const _0x33e095=_0x55d831;var _0x33d0b6;return(_0x33d0b6=_0x4a499d[_0x33e095(0x2e3)])==null?void 0x0:_0x33d0b6[_0x33e095(0x1f9)];},'mergeParamsToRequest'(_0x1e6464,_0x347fcb){const _0x9924f1=_0x55d831,_0x1c8bb4=_0x27900f['_getAPIPrefixPath']()+_0x9924f1(0x440),_0x5eb858=_0x1e6464[_0x9924f1(0x310)]((_0x1e382c,_0x4a6ff3)=>{const {unitID:_0x3e3e7f,objectID:_0x539484,objectType:_0x488916,actions:_0xae7600}=_0x4a6ff3;return _0x1e382c[_0x3e3e7f]||(_0x1e382c[_0x3e3e7f]={}),_0x1e382c[_0x3e3e7f][_0x539484]||(_0x1e382c[_0x3e3e7f][_0x539484]={'objectID':_0x539484,'objectType':_0x488916,'actions':[]}),_0x1e382c[_0x3e3e7f][_0x539484]['actions']['push'](..._0xae7600),_0x1e382c;},{}),_0x4ce99b=[];for(const _0x17b1b7 in _0x5eb858)for(const _0x6144ce in _0x5eb858[_0x17b1b7]){const {actions:_0x4bc7d9,objectType:_0x4c6189}=_0x5eb858[_0x17b1b7][_0x6144ce],_0x401bd4=[...new Set(_0x4bc7d9)];_0x4ce99b['push']({'unitID':_0x17b1b7,'objectID':_0x6144ce,'objectType':_0x4c6189,'actions':_0x401bd4});}return new _0x456f0a('POST',_0x1c8bb4,{'headers':_0x347fcb[_0x9924f1(0x45a)],'withCredentials':_0x347fcb[_0x9924f1(0x370)],'responseType':_0x347fcb[_0x9924f1(0x1b4)],'body':{'requests':_0x4ce99b}});}},{'distributeResult'(_0x3f4ff0,_0xdc61eb){const {objectActions:_0x5901c4}=_0x3f4ff0;return _0xdc61eb['map'](_0x2630b5=>{const _0x514dd7=_0x1b68,{unitID:_0x3bca98,objectID:_0x3fe287,actions:_0xb30e93}=_0x2630b5,_0x327924=_0x5901c4[_0x514dd7(0x451)](_0x5485f2=>_0x5485f2[_0x514dd7(0x1ab)]===_0x3bca98&&_0x5485f2[_0x514dd7(0x486)]===_0x3fe287),_0x3e4936=_0xb30e93[_0x514dd7(0x3da)](_0x3b18de=>_0x327924==null?void 0x0:_0x327924[_0x514dd7(0x327)]['find'](_0x417f68=>_0x417f68[_0x514dd7(0x4ab)]===_0x3b18de))[_0x514dd7(0x18a)](_0x10031c=>!!_0x10031c);return{'config':_0x2630b5,'result':{'actions':_0x3e4936,'error':_0x3f4ff0[_0x514dd7(0x4d3)]}};});}})}));}['_getAPIPrefixPath'](){const _0x305725=_0x1c91cb;var _0x53b40e,_0x9b67c2;const _0x450214=this[_0x305725(0x379)]['getConfig'](ir),_0x1e2c3e=this[_0x305725(0x379)][_0x305725(0x34d)](Q);return(_0x9b67c2=(_0x53b40e=_0x1e2c3e==null?void 0x0:_0x1e2c3e[_0x305725(0x4c5)])!=null?_0x53b40e:_0x450214)!=null?_0x9b67c2:ec;}async[_0x1c91cb(0x1ff)](_0x38ecc7){const _0xd86b2a=_0x1c91cb,_0x50c34c=this['_getAPIPrefixPath']()+'/'+_0x38ecc7['objectType']+_0xd86b2a(0x4c2);return(await this[_0xd86b2a(0x45d)]['post'](_0x50c34c,{'body':_0x38ecc7}))['body'][_0xd86b2a(0x486)]||'';}async['list'](_0x1ebafc){const _0x36df2f=_0x1c91cb,_0x200e56=this['_getAPIPrefixPath']()+_0x36df2f(0x2bb);return(await this[_0x36df2f(0x45d)]['post'](_0x200e56,{'body':_0x1ebafc}))['body'][_0x36df2f(0x33e)];}async['update'](_0x651360){const _0x18efd1=_0x1c91cb,_0x56ef99=this['_getAPIPrefixPath']()+'/'+_0x651360[_0x18efd1(0x330)]+'/object/'+_0x651360[_0x18efd1(0x486)];await this['_HTTPService']['put'](_0x56ef99,{'body':_0x651360});}async['allowed'](_0x220b5d){const _0x5cc1c0=_0x1c91cb,_0x4ae29a=this[_0x5cc1c0(0x25b)]()+'/'+_0x220b5d[_0x5cc1c0(0x330)]+_0x5cc1c0(0x4f6)+_0x220b5d[_0x5cc1c0(0x486)]+_0x5cc1c0(0x2c5);return(await this['_HTTPService'][_0x5cc1c0(0x40b)](_0x4ae29a,{'body':_0x220b5d}))[_0x5cc1c0(0x1f9)][_0x5cc1c0(0x327)];}async[_0x1c91cb(0x12b)](_0x36276d){const _0x3b63fa=_0x1c91cb,_0x2da0ba=this[_0x3b63fa(0x25b)]()+_0x3b63fa(0x440);return(await this[_0x3b63fa(0x45d)][_0x3b63fa(0x40b)](_0x2da0ba,{'body':{'requests':_0x36276d}}))[_0x3b63fa(0x1f9)][_0x3b63fa(0x39d)];}async['listRoles'](_0x4e6e5c){const _0x2508b3=_0x1c91cb,_0x80b47a=this[_0x2508b3(0x25b)]()+'/'+_0x4e6e5c[_0x2508b3(0x330)]+_0x2508b3(0x1a5),_0x14ef4c=await this[_0x2508b3(0x45d)][_0x2508b3(0x40b)](_0x80b47a,{'body':_0x4e6e5c});return{'roles':_0x14ef4c[_0x2508b3(0x1f9)][_0x2508b3(0x471)],'actions':_0x14ef4c[_0x2508b3(0x1f9)][_0x2508b3(0x327)]};}async['deleteCollaborator'](_0x1c5f06){const _0x2b1f22=_0x1c91cb,_0x5a99bc=this[_0x2b1f22(0x25b)]()+_0x2b1f22(0x375);await this['_HTTPService'][_0x2b1f22(0x160)](_0x5a99bc,{'params':{'collaboratorID':_0x1c5f06[_0x2b1f22(0x233)],'objectID':_0x1c5f06['objectID'],'unitID':_0x1c5f06[_0x2b1f22(0x1ab)]}});}async[_0x1c91cb(0x4d7)](_0x1f3046){const _0x53f049=_0x1c91cb,_0x3360b0=this[_0x53f049(0x25b)]()+_0x53f049(0x375);await this[_0x53f049(0x45d)][_0x53f049(0x1f4)](_0x3360b0,{'body':_0x1f3046});}async[_0x1c91cb(0x3e1)](_0xe3399c){const _0x55b65c=_0x1c91cb,_0x3cd9ca=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x55b65c(0x45d)][_0x55b65c(0x40b)](_0x3cd9ca,{'body':_0xe3399c});}async[_0x1c91cb(0x308)](_0x43bc5b){const _0x385f7e=_0x1c91cb,_0x472305=this[_0x385f7e(0x25b)]()+'/collaborator';return(await this[_0x385f7e(0x45d)][_0x385f7e(0x470)](_0x472305,{'params':{'objectID':_0x43bc5b[_0x385f7e(0x486)],'unitID':_0x43bc5b[_0x385f7e(0x1ab)]}}))[_0x385f7e(0x1f9)]['collaborators'];}async[_0x1c91cb(0x371)](_0x9af9b){const _0x1e5d01=_0x1c91cb,_0x59d106=this['_getAPIPrefixPath']()+_0x1e5d01(0x375);await this[_0x1e5d01(0x45d)][_0x1e5d01(0x334)](_0x59d106,{'body':_0x9af9b});}};ps=Qa([ci(0x0,_0x5beccd(_0x170656)),ci(0x1,_0x5beccd(_0x385706))],ps);var dt={'exports':{}};function tc(_0x754e77){const _0x3e7177=_0x1c91cb;throw new Error(_0x3e7177(0x1d5)+_0x754e77+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var ft={'exports':{}},sc=ft[_0x1c91cb(0x3fe)],hi;function _e(){const _0x6a9b9d=_0x1c91cb;return hi||(hi=0x1,function(_0xa34a27,_0x26025a){(function(_0x2d334a,_0x403ae8){_0xa34a27['exports']=_0x403ae8();}(sc,function(){var _0x150394=_0x150394||function(_0x1e5cb7,_0x403f36){const _0xd5a52d=_0x1b68;var _0xc030ad;if(typeof window<'u'&&window[_0xd5a52d(0x3a7)]&&(_0xc030ad=window[_0xd5a52d(0x3a7)]),typeof self<'u'&&self['crypto']&&(_0xc030ad=self[_0xd5a52d(0x3a7)]),typeof globalThis<'u'&&globalThis[_0xd5a52d(0x3a7)]&&(_0xc030ad=globalThis[_0xd5a52d(0x3a7)]),!_0xc030ad&&typeof window<'u'&&window['msCrypto']&&(_0xc030ad=window['msCrypto']),!_0xc030ad&&typeof ts<'u'&&ts[_0xd5a52d(0x3a7)]&&(_0xc030ad=ts['crypto']),!_0xc030ad&&typeof tc=='function')try{_0xc030ad=require(_0xd5a52d(0x3a7));}catch{}var _0x240b91=function(){const _0x422143=_0xd5a52d;if(_0xc030ad){if(typeof _0xc030ad[_0x422143(0x43a)]==_0x422143(0x151))try{return _0xc030ad['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xc030ad['randomBytes']=='function')try{return _0xc030ad[_0x422143(0x50a)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x422143(0x2bd));},_0x25c775=Object[_0xd5a52d(0x1ff)]||(function(){function _0x3b93a3(){}return function(_0xa736a2){const _0x45fca6=_0x1b68;var _0x54c422;return _0x3b93a3[_0x45fca6(0x245)]=_0xa736a2,_0x54c422=new _0x3b93a3(),_0x3b93a3[_0x45fca6(0x245)]=null,_0x54c422;};}()),_0x38eed9={},_0x38ee40=_0x38eed9['lib']={},_0x1fdfcd=_0x38ee40[_0xd5a52d(0x47e)]=(function(){return{'extend':function(_0x2b4601){const _0x5d66af=_0x1b68;var _0x3483ed=_0x25c775(this);return _0x2b4601&&_0x3483ed['mixIn'](_0x2b4601),(!_0x3483ed[_0x5d66af(0x48c)](_0x5d66af(0x248))||this[_0x5d66af(0x248)]===_0x3483ed[_0x5d66af(0x248)])&&(_0x3483ed[_0x5d66af(0x248)]=function(){const _0x38acf8=_0x5d66af;_0x3483ed[_0x38acf8(0x2cd)][_0x38acf8(0x248)]['apply'](this,arguments);}),_0x3483ed['init']['prototype']=_0x3483ed,_0x3483ed[_0x5d66af(0x2cd)]=this,_0x3483ed;},'create':function(){const _0x37d9c4=_0x1b68;var _0x523fbb=this[_0x37d9c4(0x108)]();return _0x523fbb['init'][_0x37d9c4(0x2e8)](_0x523fbb,arguments),_0x523fbb;},'init':function(){},'mixIn':function(_0xfce2a9){const _0x33d1e2=_0x1b68;for(var _0x5381a6 in _0xfce2a9)_0xfce2a9[_0x33d1e2(0x48c)](_0x5381a6)&&(this[_0x5381a6]=_0xfce2a9[_0x5381a6]);_0xfce2a9[_0x33d1e2(0x48c)](_0x33d1e2(0xfd))&&(this[_0x33d1e2(0xfd)]=_0xfce2a9[_0x33d1e2(0xfd)]);},'clone':function(){const _0x33fc9d=_0x1b68;return this[_0x33fc9d(0x248)]['prototype'][_0x33fc9d(0x108)](this);}};}()),_0x58c3a6=_0x38ee40[_0xd5a52d(0x46d)]=_0x1fdfcd[_0xd5a52d(0x108)]({'init':function(_0x2b0560,_0x4f4824){const _0x474e89=_0xd5a52d;_0x2b0560=this['words']=_0x2b0560||[],_0x4f4824!=_0x403f36?this[_0x474e89(0x121)]=_0x4f4824:this[_0x474e89(0x121)]=_0x2b0560['length']*0x4;},'toString':function(_0xe30594){return(_0xe30594||_0x2c0550)['stringify'](this);},'concat':function(_0x30e1e6){const _0x5f061e=_0xd5a52d;var _0x442718=this['words'],_0x57b5f2=_0x30e1e6[_0x5f061e(0x24d)],_0x3ed0ac=this[_0x5f061e(0x121)],_0x1a0ce2=_0x30e1e6[_0x5f061e(0x121)];if(this[_0x5f061e(0x4db)](),_0x3ed0ac%0x4)for(var _0x299574=0x0;_0x299574<_0x1a0ce2;_0x299574++){var _0x24caf2=_0x57b5f2[_0x299574>>>0x2]>>>0x18-_0x299574%0x4*0x8&0xff;_0x442718[_0x3ed0ac+_0x299574>>>0x2]|=_0x24caf2<<0x18-(_0x3ed0ac+_0x299574)%0x4*0x8;}else{for(var _0x475528=0x0;_0x475528<_0x1a0ce2;_0x475528+=0x4)_0x442718[_0x3ed0ac+_0x475528>>>0x2]=_0x57b5f2[_0x475528>>>0x2];}return this[_0x5f061e(0x121)]+=_0x1a0ce2,this;},'clamp':function(){const _0x1aa74a=_0xd5a52d;var _0x10dfe9=this[_0x1aa74a(0x24d)],_0x2ea512=this[_0x1aa74a(0x121)];_0x10dfe9[_0x2ea512>>>0x2]&=0xffffffff<<0x20-_0x2ea512%0x4*0x8,_0x10dfe9['length']=_0x1e5cb7[_0x1aa74a(0x31c)](_0x2ea512/0x4);},'clone':function(){const _0x21b3d3=_0xd5a52d;var _0x5bb2e7=_0x1fdfcd['clone']['call'](this);return _0x5bb2e7[_0x21b3d3(0x24d)]=this[_0x21b3d3(0x24d)][_0x21b3d3(0x2cb)](0x0),_0x5bb2e7;},'random':function(_0x10fb4c){const _0x7ba10e=_0xd5a52d;for(var _0x4b04c4=[],_0x26acbd=0x0;_0x26acbd<_0x10fb4c;_0x26acbd+=0x4)_0x4b04c4['push'](_0x240b91());return new _0x58c3a6[(_0x7ba10e(0x248))](_0x4b04c4,_0x10fb4c);}}),_0xbaaf92=_0x38eed9[_0xd5a52d(0x36d)]={},_0x2c0550=_0xbaaf92['Hex']={'stringify':function(_0x54bc63){const _0x7156db=_0xd5a52d;for(var _0x4ec0fc=_0x54bc63[_0x7156db(0x24d)],_0x7d9c29=_0x54bc63['sigBytes'],_0xdf07df=[],_0x290241=0x0;_0x290241<_0x7d9c29;_0x290241++){var _0x19189d=_0x4ec0fc[_0x290241>>>0x2]>>>0x18-_0x290241%0x4*0x8&0xff;_0xdf07df[_0x7156db(0x4c1)]((_0x19189d>>>0x4)[_0x7156db(0xfd)](0x10)),_0xdf07df[_0x7156db(0x4c1)]((_0x19189d&0xf)[_0x7156db(0xfd)](0x10));}return _0xdf07df['join']('');},'parse':function(_0x494e1b){const _0x213637=_0xd5a52d;for(var _0x1874f3=_0x494e1b[_0x213637(0x38b)],_0xa1a2d9=[],_0x520b95=0x0;_0x520b95<_0x1874f3;_0x520b95+=0x2)_0xa1a2d9[_0x520b95>>>0x3]|=parseInt(_0x494e1b['substr'](_0x520b95,0x2),0x10)<<0x18-_0x520b95%0x8*0x4;return new _0x58c3a6['init'](_0xa1a2d9,_0x1874f3/0x2);}},_0x5a50a1=_0xbaaf92[_0xd5a52d(0x3a0)]={'stringify':function(_0x3bb9de){const _0x444eec=_0xd5a52d;for(var _0x357908=_0x3bb9de[_0x444eec(0x24d)],_0x15e9cf=_0x3bb9de[_0x444eec(0x121)],_0x21ecfe=[],_0x5b5657=0x0;_0x5b5657<_0x15e9cf;_0x5b5657++){var _0x3eff40=_0x357908[_0x5b5657>>>0x2]>>>0x18-_0x5b5657%0x4*0x8&0xff;_0x21ecfe[_0x444eec(0x4c1)](String[_0x444eec(0x46f)](_0x3eff40));}return _0x21ecfe[_0x444eec(0x2f8)]('');},'parse':function(_0x126899){const _0xe02fba=_0xd5a52d;for(var _0xda0fc2=_0x126899[_0xe02fba(0x38b)],_0x379d3c=[],_0x36907a=0x0;_0x36907a<_0xda0fc2;_0x36907a++)_0x379d3c[_0x36907a>>>0x2]|=(_0x126899['charCodeAt'](_0x36907a)&0xff)<<0x18-_0x36907a%0x4*0x8;return new _0x58c3a6[(_0xe02fba(0x248))](_0x379d3c,_0xda0fc2);}},_0x3d7412=_0xbaaf92[_0xd5a52d(0x199)]={'stringify':function(_0xfc9dbe){const _0x4c3ab2=_0xd5a52d;try{return decodeURIComponent(escape(_0x5a50a1[_0x4c3ab2(0x397)](_0xfc9dbe)));}catch{throw new Error(_0x4c3ab2(0x1b9));}},'parse':function(_0x14d2f9){return _0x5a50a1['parse'](unescape(encodeURIComponent(_0x14d2f9)));}},_0x48d117=_0x38ee40[_0xd5a52d(0x46a)]=_0x1fdfcd[_0xd5a52d(0x108)]({'reset':function(){const _0x2a02ea=_0xd5a52d;this['_data']=new _0x58c3a6[(_0x2a02ea(0x248))](),this[_0x2a02ea(0x377)]=0x0;},'_append':function(_0x1ba2b8){const _0x2f1193=_0xd5a52d;typeof _0x1ba2b8=='string'&&(_0x1ba2b8=_0x3d7412[_0x2f1193(0x4f3)](_0x1ba2b8)),this[_0x2f1193(0x188)]['concat'](_0x1ba2b8),this[_0x2f1193(0x377)]+=_0x1ba2b8[_0x2f1193(0x121)];},'_process':function(_0x573e30){const _0x1b4541=_0xd5a52d;var _0x20dc7a,_0x3cd9d8=this['_data'],_0x5d365b=_0x3cd9d8[_0x1b4541(0x24d)],_0x190042=_0x3cd9d8[_0x1b4541(0x121)],_0x5273fc=this[_0x1b4541(0x367)],_0x57ea34=_0x5273fc*0x4,_0x54aeb4=_0x190042/_0x57ea34;_0x573e30?_0x54aeb4=_0x1e5cb7[_0x1b4541(0x31c)](_0x54aeb4):_0x54aeb4=_0x1e5cb7[_0x1b4541(0x297)]((_0x54aeb4|0x0)-this[_0x1b4541(0xe0)],0x0);var _0x13f7ad=_0x54aeb4*_0x5273fc,_0x20caff=_0x1e5cb7[_0x1b4541(0x173)](_0x13f7ad*0x4,_0x190042);if(_0x13f7ad){for(var _0x4958c2=0x0;_0x4958c2<_0x13f7ad;_0x4958c2+=_0x5273fc)this[_0x1b4541(0x3c7)](_0x5d365b,_0x4958c2);_0x20dc7a=_0x5d365b[_0x1b4541(0x2c8)](0x0,_0x13f7ad),_0x3cd9d8[_0x1b4541(0x121)]-=_0x20caff;}return new _0x58c3a6[(_0x1b4541(0x248))](_0x20dc7a,_0x20caff);},'clone':function(){const _0x1be412=_0xd5a52d;var _0x3f8603=_0x1fdfcd[_0x1be412(0x31a)][_0x1be412(0xff)](this);return _0x3f8603['_data']=this['_data'][_0x1be412(0x31a)](),_0x3f8603;},'_minBufferSize':0x0});_0x38ee40[_0xd5a52d(0x388)]=_0x48d117[_0xd5a52d(0x108)]({'cfg':_0x1fdfcd[_0xd5a52d(0x108)](),'init':function(_0x7e04f){const _0x5039ba=_0xd5a52d;this[_0x5039ba(0x170)]=this[_0x5039ba(0x170)][_0x5039ba(0x108)](_0x7e04f),this['reset']();},'reset':function(){const _0x44ba8b=_0xd5a52d;_0x48d117['reset']['call'](this),this[_0x44ba8b(0x4c0)]();},'update':function(_0x36c9fa){const _0x2ddb2a=_0xd5a52d;return this[_0x2ddb2a(0x416)](_0x36c9fa),this[_0x2ddb2a(0x122)](),this;},'finalize':function(_0x487cad){const _0xf82e27=_0xd5a52d;_0x487cad&&this[_0xf82e27(0x416)](_0x487cad);var _0x45bc60=this[_0xf82e27(0x47d)]();return _0x45bc60;},'blockSize':0x10,'_createHelper':function(_0x282d2f){return function(_0x31ae7e,_0x198f8f){const _0x4149da=_0x1b68;return new _0x282d2f[(_0x4149da(0x248))](_0x198f8f)[_0x4149da(0x446)](_0x31ae7e);};},'_createHmacHelper':function(_0x5a2974){return function(_0x3b6ea6,_0x2f6fcc){const _0x14270e=_0x1b68;return new _0x2557ee[(_0x14270e(0x401))][(_0x14270e(0x248))](_0x5a2974,_0x2f6fcc)['finalize'](_0x3b6ea6);};}});var _0x2557ee=_0x38eed9[_0xd5a52d(0x469)]={};return _0x38eed9;}(Math);return _0x150394;}));}(ft)),ft[_0x6a9b9d(0x3fe)];}var vt={'exports':{}},ic=vt['exports'],li;function rr(){const _0x26a24a=_0x1c91cb;return li||(li=0x1,function(_0x3b2d8e,_0xbc432f){(function(_0x1a87c6,_0x4fceeb){_0x3b2d8e['exports']=_0x4fceeb(_e());}(ic,function(_0x44bb3c){const _0x4f1a72=_0x1b68;return(function(){const _0x8a7c47=_0x1b68;var _0x55be75=_0x44bb3c,_0x372203=_0x55be75[_0x8a7c47(0x103)],_0x1bf735=_0x372203[_0x8a7c47(0x46d)],_0x3c189c=_0x55be75[_0x8a7c47(0x36d)];_0x3c189c['Base64']={'stringify':function(_0x2f35f4){const _0x4d98eb=_0x8a7c47;var _0x81467c=_0x2f35f4[_0x4d98eb(0x24d)],_0x5dfd10=_0x2f35f4[_0x4d98eb(0x121)],_0x560647=this['_map'];_0x2f35f4[_0x4d98eb(0x4db)]();for(var _0x18d074=[],_0x123313=0x0;_0x123313<_0x5dfd10;_0x123313+=0x3)for(var _0x49c350=_0x81467c[_0x123313>>>0x2]>>>0x18-_0x123313%0x4*0x8&0xff,_0x4d22fd=_0x81467c[_0x123313+0x1>>>0x2]>>>0x18-(_0x123313+0x1)%0x4*0x8&0xff,_0xaab3d1=_0x81467c[_0x123313+0x2>>>0x2]>>>0x18-(_0x123313+0x2)%0x4*0x8&0xff,_0x1b5131=_0x49c350<<0x10|_0x4d22fd<<0x8|_0xaab3d1,_0x3c491d=0x0;_0x3c491d<0x4&&_0x123313+_0x3c491d*0.75<_0x5dfd10;_0x3c491d++)_0x18d074[_0x4d98eb(0x4c1)](_0x560647['charAt'](_0x1b5131>>>0x6*(0x3-_0x3c491d)&0x3f));var _0xb91301=_0x560647['charAt'](0x40);if(_0xb91301){for(;_0x18d074[_0x4d98eb(0x38b)]%0x4;)_0x18d074[_0x4d98eb(0x4c1)](_0xb91301);}return _0x18d074['join']('');},'parse':function(_0xfb455f){const _0x3664e1=_0x8a7c47;var _0x3f910f=_0xfb455f[_0x3664e1(0x38b)],_0x10ec3d=this[_0x3664e1(0x479)],_0x23c50e=this[_0x3664e1(0x2c0)];if(!_0x23c50e){_0x23c50e=this['_reverseMap']=[];for(var _0x4d1c01=0x0;_0x4d1c01<_0x10ec3d[_0x3664e1(0x38b)];_0x4d1c01++)_0x23c50e[_0x10ec3d['charCodeAt'](_0x4d1c01)]=_0x4d1c01;}var _0x13a898=_0x10ec3d[_0x3664e1(0x1f8)](0x40);if(_0x13a898){var _0x29a251=_0xfb455f['indexOf'](_0x13a898);_0x29a251!==-0x1&&(_0x3f910f=_0x29a251);}return _0x3fe6d7(_0xfb455f,_0x3f910f,_0x23c50e);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x3fe6d7(_0x546442,_0x9f28a7,_0x173351){const _0x4a3b45=_0x8a7c47;for(var _0x54d6c6=[],_0x47638e=0x0,_0x410c11=0x0;_0x410c11<_0x9f28a7;_0x410c11++)if(_0x410c11%0x4){var _0x3bfac0=_0x173351[_0x546442['charCodeAt'](_0x410c11-0x1)]<<_0x410c11%0x4*0x2,_0x4e738b=_0x173351[_0x546442['charCodeAt'](_0x410c11)]>>>0x6-_0x410c11%0x4*0x2,_0x309c05=_0x3bfac0|_0x4e738b;_0x54d6c6[_0x47638e>>>0x2]|=_0x309c05<<0x18-_0x47638e%0x4*0x8,_0x47638e++;}return _0x1bf735[_0x4a3b45(0x1ff)](_0x54d6c6,_0x47638e);}}()),_0x44bb3c['enc'][_0x4f1a72(0x25d)];}));}(vt)),vt[_0x26a24a(0x3fe)];}var pt={'exports':{}},rc=pt[_0x1c91cb(0x3fe)],_i;function nc(){const _0xf6a7cf=_0x1c91cb;return _i||(_i=0x1,function(_0x2138a9,_0x1b29c4){(function(_0x2296cf,_0x59e8c8){const _0x4da28b=_0x1b68;_0x2138a9[_0x4da28b(0x3fe)]=_0x59e8c8(_e());}(rc,function(_0xb2efcb){const _0x44b05f=_0x1b68;return function(_0x16e081){const _0x5aa905=_0x1b68;var _0x2bba8b=_0xb2efcb,_0x24af38=_0x2bba8b[_0x5aa905(0x103)],_0x275139=_0x24af38[_0x5aa905(0x46d)],_0x39e98f=_0x24af38[_0x5aa905(0x388)],_0x573539=_0x2bba8b[_0x5aa905(0x469)],_0x4561d1=[];(function(){const _0x4803da=_0x5aa905;for(var _0x2f6b93=0x0;_0x2f6b93<0x40;_0x2f6b93++)_0x4561d1[_0x2f6b93]=_0x16e081['abs'](_0x16e081[_0x4803da(0x1cb)](_0x2f6b93+0x1))*0x100000000|0x0;}());var _0x2aad5b=_0x573539[_0x5aa905(0x179)]=_0x39e98f[_0x5aa905(0x108)]({'_doReset':function(){const _0x49b30d=_0x5aa905;this[_0x49b30d(0x27a)]=new _0x275139['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x565169,_0x457b97){const _0x4bea8a=_0x5aa905;for(var _0x331bc5=0x0;_0x331bc5<0x10;_0x331bc5++){var _0x30ef99=_0x457b97+_0x331bc5,_0x83897c=_0x565169[_0x30ef99];_0x565169[_0x30ef99]=(_0x83897c<<0x8|_0x83897c>>>0x18)&0xff00ff|(_0x83897c<<0x18|_0x83897c>>>0x8)&0xff00ff00;}var _0x1865e3=this[_0x4bea8a(0x27a)][_0x4bea8a(0x24d)],_0x529f16=_0x565169[_0x457b97+0x0],_0x271d4c=_0x565169[_0x457b97+0x1],_0x1b4b02=_0x565169[_0x457b97+0x2],_0x5e118e=_0x565169[_0x457b97+0x3],_0x18026b=_0x565169[_0x457b97+0x4],_0x56352c=_0x565169[_0x457b97+0x5],_0x285174=_0x565169[_0x457b97+0x6],_0x45b019=_0x565169[_0x457b97+0x7],_0x454e7b=_0x565169[_0x457b97+0x8],_0x210f30=_0x565169[_0x457b97+0x9],_0x3538f9=_0x565169[_0x457b97+0xa],_0x34714d=_0x565169[_0x457b97+0xb],_0x555b1a=_0x565169[_0x457b97+0xc],_0x3547d8=_0x565169[_0x457b97+0xd],_0x2a8a8c=_0x565169[_0x457b97+0xe],_0x4e347a=_0x565169[_0x457b97+0xf],_0x25e1ef=_0x1865e3[0x0],_0x48146b=_0x1865e3[0x1],_0x39d58e=_0x1865e3[0x2],_0x8ee2a2=_0x1865e3[0x3];_0x25e1ef=_0x3328eb(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x529f16,0x7,_0x4561d1[0x0]),_0x8ee2a2=_0x3328eb(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x271d4c,0xc,_0x4561d1[0x1]),_0x39d58e=_0x3328eb(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x1b4b02,0x11,_0x4561d1[0x2]),_0x48146b=_0x3328eb(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x5e118e,0x16,_0x4561d1[0x3]),_0x25e1ef=_0x3328eb(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x18026b,0x7,_0x4561d1[0x4]),_0x8ee2a2=_0x3328eb(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x56352c,0xc,_0x4561d1[0x5]),_0x39d58e=_0x3328eb(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x285174,0x11,_0x4561d1[0x6]),_0x48146b=_0x3328eb(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x45b019,0x16,_0x4561d1[0x7]),_0x25e1ef=_0x3328eb(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x454e7b,0x7,_0x4561d1[0x8]),_0x8ee2a2=_0x3328eb(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x210f30,0xc,_0x4561d1[0x9]),_0x39d58e=_0x3328eb(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x3538f9,0x11,_0x4561d1[0xa]),_0x48146b=_0x3328eb(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x34714d,0x16,_0x4561d1[0xb]),_0x25e1ef=_0x3328eb(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x555b1a,0x7,_0x4561d1[0xc]),_0x8ee2a2=_0x3328eb(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x3547d8,0xc,_0x4561d1[0xd]),_0x39d58e=_0x3328eb(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x2a8a8c,0x11,_0x4561d1[0xe]),_0x48146b=_0x3328eb(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x4e347a,0x16,_0x4561d1[0xf]),_0x25e1ef=_0x3d81b3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x271d4c,0x5,_0x4561d1[0x10]),_0x8ee2a2=_0x3d81b3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x285174,0x9,_0x4561d1[0x11]),_0x39d58e=_0x3d81b3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x34714d,0xe,_0x4561d1[0x12]),_0x48146b=_0x3d81b3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x529f16,0x14,_0x4561d1[0x13]),_0x25e1ef=_0x3d81b3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x56352c,0x5,_0x4561d1[0x14]),_0x8ee2a2=_0x3d81b3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x3538f9,0x9,_0x4561d1[0x15]),_0x39d58e=_0x3d81b3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x4e347a,0xe,_0x4561d1[0x16]),_0x48146b=_0x3d81b3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x18026b,0x14,_0x4561d1[0x17]),_0x25e1ef=_0x3d81b3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x210f30,0x5,_0x4561d1[0x18]),_0x8ee2a2=_0x3d81b3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x2a8a8c,0x9,_0x4561d1[0x19]),_0x39d58e=_0x3d81b3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x5e118e,0xe,_0x4561d1[0x1a]),_0x48146b=_0x3d81b3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x454e7b,0x14,_0x4561d1[0x1b]),_0x25e1ef=_0x3d81b3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x3547d8,0x5,_0x4561d1[0x1c]),_0x8ee2a2=_0x3d81b3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x1b4b02,0x9,_0x4561d1[0x1d]),_0x39d58e=_0x3d81b3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x45b019,0xe,_0x4561d1[0x1e]),_0x48146b=_0x3d81b3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x555b1a,0x14,_0x4561d1[0x1f]),_0x25e1ef=_0x3191f3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x56352c,0x4,_0x4561d1[0x20]),_0x8ee2a2=_0x3191f3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x454e7b,0xb,_0x4561d1[0x21]),_0x39d58e=_0x3191f3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x34714d,0x10,_0x4561d1[0x22]),_0x48146b=_0x3191f3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x2a8a8c,0x17,_0x4561d1[0x23]),_0x25e1ef=_0x3191f3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x271d4c,0x4,_0x4561d1[0x24]),_0x8ee2a2=_0x3191f3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x18026b,0xb,_0x4561d1[0x25]),_0x39d58e=_0x3191f3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x45b019,0x10,_0x4561d1[0x26]),_0x48146b=_0x3191f3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x3538f9,0x17,_0x4561d1[0x27]),_0x25e1ef=_0x3191f3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x3547d8,0x4,_0x4561d1[0x28]),_0x8ee2a2=_0x3191f3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x529f16,0xb,_0x4561d1[0x29]),_0x39d58e=_0x3191f3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x5e118e,0x10,_0x4561d1[0x2a]),_0x48146b=_0x3191f3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x285174,0x17,_0x4561d1[0x2b]),_0x25e1ef=_0x3191f3(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x210f30,0x4,_0x4561d1[0x2c]),_0x8ee2a2=_0x3191f3(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x555b1a,0xb,_0x4561d1[0x2d]),_0x39d58e=_0x3191f3(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x4e347a,0x10,_0x4561d1[0x2e]),_0x48146b=_0x3191f3(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x1b4b02,0x17,_0x4561d1[0x2f]),_0x25e1ef=_0x87dc0(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x529f16,0x6,_0x4561d1[0x30]),_0x8ee2a2=_0x87dc0(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x45b019,0xa,_0x4561d1[0x31]),_0x39d58e=_0x87dc0(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x2a8a8c,0xf,_0x4561d1[0x32]),_0x48146b=_0x87dc0(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x56352c,0x15,_0x4561d1[0x33]),_0x25e1ef=_0x87dc0(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x555b1a,0x6,_0x4561d1[0x34]),_0x8ee2a2=_0x87dc0(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x5e118e,0xa,_0x4561d1[0x35]),_0x39d58e=_0x87dc0(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x3538f9,0xf,_0x4561d1[0x36]),_0x48146b=_0x87dc0(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x271d4c,0x15,_0x4561d1[0x37]),_0x25e1ef=_0x87dc0(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x454e7b,0x6,_0x4561d1[0x38]),_0x8ee2a2=_0x87dc0(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x4e347a,0xa,_0x4561d1[0x39]),_0x39d58e=_0x87dc0(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x285174,0xf,_0x4561d1[0x3a]),_0x48146b=_0x87dc0(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x3547d8,0x15,_0x4561d1[0x3b]),_0x25e1ef=_0x87dc0(_0x25e1ef,_0x48146b,_0x39d58e,_0x8ee2a2,_0x18026b,0x6,_0x4561d1[0x3c]),_0x8ee2a2=_0x87dc0(_0x8ee2a2,_0x25e1ef,_0x48146b,_0x39d58e,_0x34714d,0xa,_0x4561d1[0x3d]),_0x39d58e=_0x87dc0(_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x48146b,_0x1b4b02,0xf,_0x4561d1[0x3e]),_0x48146b=_0x87dc0(_0x48146b,_0x39d58e,_0x8ee2a2,_0x25e1ef,_0x210f30,0x15,_0x4561d1[0x3f]),_0x1865e3[0x0]=_0x1865e3[0x0]+_0x25e1ef|0x0,_0x1865e3[0x1]=_0x1865e3[0x1]+_0x48146b|0x0,_0x1865e3[0x2]=_0x1865e3[0x2]+_0x39d58e|0x0,_0x1865e3[0x3]=_0x1865e3[0x3]+_0x8ee2a2|0x0;},'_doFinalize':function(){const _0x5054b4=_0x5aa905;var _0x14a7bb=this[_0x5054b4(0x188)],_0xd83288=_0x14a7bb['words'],_0x17d98f=this['_nDataBytes']*0x8,_0x2320c5=_0x14a7bb[_0x5054b4(0x121)]*0x8;_0xd83288[_0x2320c5>>>0x5]|=0x80<<0x18-_0x2320c5%0x20;var _0x258259=_0x16e081[_0x5054b4(0x115)](_0x17d98f/0x100000000),_0x4792bc=_0x17d98f;_0xd83288[(_0x2320c5+0x40>>>0x9<<0x4)+0xf]=(_0x258259<<0x8|_0x258259>>>0x18)&0xff00ff|(_0x258259<<0x18|_0x258259>>>0x8)&0xff00ff00,_0xd83288[(_0x2320c5+0x40>>>0x9<<0x4)+0xe]=(_0x4792bc<<0x8|_0x4792bc>>>0x18)&0xff00ff|(_0x4792bc<<0x18|_0x4792bc>>>0x8)&0xff00ff00,_0x14a7bb[_0x5054b4(0x121)]=(_0xd83288[_0x5054b4(0x38b)]+0x1)*0x4,this[_0x5054b4(0x122)]();for(var _0x56487b=this[_0x5054b4(0x27a)],_0x354a9c=_0x56487b[_0x5054b4(0x24d)],_0x52362e=0x0;_0x52362e<0x4;_0x52362e++){var _0x344ede=_0x354a9c[_0x52362e];_0x354a9c[_0x52362e]=(_0x344ede<<0x8|_0x344ede>>>0x18)&0xff00ff|(_0x344ede<<0x18|_0x344ede>>>0x8)&0xff00ff00;}return _0x56487b;},'clone':function(){const _0x3ff927=_0x5aa905;var _0x2a3bf3=_0x39e98f[_0x3ff927(0x31a)][_0x3ff927(0xff)](this);return _0x2a3bf3[_0x3ff927(0x27a)]=this[_0x3ff927(0x27a)][_0x3ff927(0x31a)](),_0x2a3bf3;}});function _0x3328eb(_0xb17047,_0x317fec,_0x9ea783,_0x4bf335,_0x4bda8a,_0x2690f2,_0x16af55){var _0x431ab1=_0xb17047+(_0x317fec&_0x9ea783|~_0x317fec&_0x4bf335)+_0x4bda8a+_0x16af55;return(_0x431ab1<<_0x2690f2|_0x431ab1>>>0x20-_0x2690f2)+_0x317fec;}function _0x3d81b3(_0x44b259,_0x30a09e,_0x2a3d81,_0x41df5a,_0x314afa,_0x284b70,_0x16cbe2){var _0x4f2f01=_0x44b259+(_0x30a09e&_0x41df5a|_0x2a3d81&~_0x41df5a)+_0x314afa+_0x16cbe2;return(_0x4f2f01<<_0x284b70|_0x4f2f01>>>0x20-_0x284b70)+_0x30a09e;}function _0x3191f3(_0x6a3c93,_0xbe378a,_0x45e0f6,_0x4f9f46,_0x8666d,_0x3055fb,_0xf3d492){var _0x2f1c66=_0x6a3c93+(_0xbe378a^_0x45e0f6^_0x4f9f46)+_0x8666d+_0xf3d492;return(_0x2f1c66<<_0x3055fb|_0x2f1c66>>>0x20-_0x3055fb)+_0xbe378a;}function _0x87dc0(_0x3fc8c3,_0x3f9a5b,_0xd8c7b5,_0x197c2e,_0xde06b1,_0x508a72,_0x4c8434){var _0x30b44a=_0x3fc8c3+(_0xd8c7b5^(_0x3f9a5b|~_0x197c2e))+_0xde06b1+_0x4c8434;return(_0x30b44a<<_0x508a72|_0x30b44a>>>0x20-_0x508a72)+_0x3f9a5b;}_0x2bba8b['MD5']=_0x39e98f[_0x5aa905(0x311)](_0x2aad5b),_0x2bba8b[_0x5aa905(0x4cc)]=_0x39e98f[_0x5aa905(0x242)](_0x2aad5b);}(Math),_0xb2efcb[_0x44b05f(0x179)];}));}(pt)),pt[_0xf6a7cf(0x3fe)];}var mt={'exports':{}},gt={'exports':{}},oc=gt[_0x1c91cb(0x3fe)],ui;function ac(){return ui||(ui=0x1,function(_0x41931b,_0x1dda55){(function(_0x4c4c3d,_0x19c0ae){const _0x38a1b5=_0x1b68;_0x41931b[_0x38a1b5(0x3fe)]=_0x19c0ae(_e());}(oc,function(_0x2dcc87){const _0x197565=_0x1b68;return(function(){const _0x1dbfb0=_0x1b68;var _0x138f17=_0x2dcc87,_0x351e09=_0x138f17['lib'],_0x408add=_0x351e09['WordArray'],_0x45ad99=_0x351e09[_0x1dbfb0(0x388)],_0x3c1e35=_0x138f17['algo'],_0x53d71c=[],_0x47f050=_0x3c1e35[_0x1dbfb0(0x13a)]=_0x45ad99['extend']({'_doReset':function(){const _0x449af=_0x1dbfb0;this[_0x449af(0x27a)]=new _0x408add[(_0x449af(0x248))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x55f027,_0x49cc0d){const _0x7a0937=_0x1dbfb0;for(var _0x35f03e=this[_0x7a0937(0x27a)][_0x7a0937(0x24d)],_0x238e33=_0x35f03e[0x0],_0x95ddb9=_0x35f03e[0x1],_0x146e08=_0x35f03e[0x2],_0x364517=_0x35f03e[0x3],_0x1c424e=_0x35f03e[0x4],_0x553b7e=0x0;_0x553b7e<0x50;_0x553b7e++){if(_0x553b7e<0x10)_0x53d71c[_0x553b7e]=_0x55f027[_0x49cc0d+_0x553b7e]|0x0;else{var _0x428374=_0x53d71c[_0x553b7e-0x3]^_0x53d71c[_0x553b7e-0x8]^_0x53d71c[_0x553b7e-0xe]^_0x53d71c[_0x553b7e-0x10];_0x53d71c[_0x553b7e]=_0x428374<<0x1|_0x428374>>>0x1f;}var _0x16008e=(_0x238e33<<0x5|_0x238e33>>>0x1b)+_0x1c424e+_0x53d71c[_0x553b7e];_0x553b7e<0x14?_0x16008e+=(_0x95ddb9&_0x146e08|~_0x95ddb9&_0x364517)+0x5a827999:_0x553b7e<0x28?_0x16008e+=(_0x95ddb9^_0x146e08^_0x364517)+0x6ed9eba1:_0x553b7e<0x3c?_0x16008e+=(_0x95ddb9&_0x146e08|_0x95ddb9&_0x364517|_0x146e08&_0x364517)-0x70e44324:_0x16008e+=(_0x95ddb9^_0x146e08^_0x364517)-0x359d3e2a,_0x1c424e=_0x364517,_0x364517=_0x146e08,_0x146e08=_0x95ddb9<<0x1e|_0x95ddb9>>>0x2,_0x95ddb9=_0x238e33,_0x238e33=_0x16008e;}_0x35f03e[0x0]=_0x35f03e[0x0]+_0x238e33|0x0,_0x35f03e[0x1]=_0x35f03e[0x1]+_0x95ddb9|0x0,_0x35f03e[0x2]=_0x35f03e[0x2]+_0x146e08|0x0,_0x35f03e[0x3]=_0x35f03e[0x3]+_0x364517|0x0,_0x35f03e[0x4]=_0x35f03e[0x4]+_0x1c424e|0x0;},'_doFinalize':function(){const _0x5964a1=_0x1dbfb0;var _0x157f62=this[_0x5964a1(0x188)],_0x5c6bb1=_0x157f62[_0x5964a1(0x24d)],_0xf3580=this[_0x5964a1(0x377)]*0x8,_0x41e4b1=_0x157f62[_0x5964a1(0x121)]*0x8;return _0x5c6bb1[_0x41e4b1>>>0x5]|=0x80<<0x18-_0x41e4b1%0x20,_0x5c6bb1[(_0x41e4b1+0x40>>>0x9<<0x4)+0xe]=Math[_0x5964a1(0x115)](_0xf3580/0x100000000),_0x5c6bb1[(_0x41e4b1+0x40>>>0x9<<0x4)+0xf]=_0xf3580,_0x157f62[_0x5964a1(0x121)]=_0x5c6bb1[_0x5964a1(0x38b)]*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x34ffee=_0x1dbfb0;var _0x3e5f50=_0x45ad99['clone'][_0x34ffee(0xff)](this);return _0x3e5f50[_0x34ffee(0x27a)]=this[_0x34ffee(0x27a)]['clone'](),_0x3e5f50;}});_0x138f17[_0x1dbfb0(0x13a)]=_0x45ad99[_0x1dbfb0(0x311)](_0x47f050),_0x138f17[_0x1dbfb0(0x305)]=_0x45ad99['_createHmacHelper'](_0x47f050);}()),_0x2dcc87[_0x197565(0x13a)];}));}(gt)),gt['exports'];}var St={'exports':{}},cc=St[_0x1c91cb(0x3fe)],di;function hc(){const _0x1a7d5b=_0x1c91cb;return di||(di=0x1,function(_0x3a95d7,_0x521186){(function(_0x5f3e6c,_0x47eefe){_0x3a95d7['exports']=_0x47eefe(_e());}(cc,function(_0xb91416){(function(){const _0x3c78ad=_0x1b68;var _0x4a09c6=_0xb91416,_0x1122a6=_0x4a09c6[_0x3c78ad(0x103)],_0x39691c=_0x1122a6[_0x3c78ad(0x47e)],_0x175fbd=_0x4a09c6[_0x3c78ad(0x36d)],_0x1911d6=_0x175fbd[_0x3c78ad(0x199)],_0x20e12e=_0x4a09c6[_0x3c78ad(0x469)];_0x20e12e[_0x3c78ad(0x401)]=_0x39691c[_0x3c78ad(0x108)]({'init':function(_0xcbe794,_0x5ed7f4){const _0x31f92b=_0x3c78ad;_0xcbe794=this[_0x31f92b(0x4b4)]=new _0xcbe794['init'](),typeof _0x5ed7f4==_0x31f92b(0x366)&&(_0x5ed7f4=_0x1911d6[_0x31f92b(0x4f3)](_0x5ed7f4));var _0xe3712=_0xcbe794[_0x31f92b(0x367)],_0x44bde4=_0xe3712*0x4;_0x5ed7f4['sigBytes']>_0x44bde4&&(_0x5ed7f4=_0xcbe794[_0x31f92b(0x446)](_0x5ed7f4)),_0x5ed7f4[_0x31f92b(0x4db)]();for(var _0x3d1e7c=this['_oKey']=_0x5ed7f4[_0x31f92b(0x31a)](),_0x561558=this[_0x31f92b(0x387)]=_0x5ed7f4['clone'](),_0x58033a=_0x3d1e7c[_0x31f92b(0x24d)],_0x54cfb1=_0x561558[_0x31f92b(0x24d)],_0x3c0974=0x0;_0x3c0974<_0xe3712;_0x3c0974++)_0x58033a[_0x3c0974]^=0x5c5c5c5c,_0x54cfb1[_0x3c0974]^=0x36363636;_0x3d1e7c[_0x31f92b(0x121)]=_0x561558[_0x31f92b(0x121)]=_0x44bde4,this[_0x31f92b(0x189)]();},'reset':function(){const _0x34a5b4=_0x3c78ad;var _0x396fa0=this[_0x34a5b4(0x4b4)];_0x396fa0[_0x34a5b4(0x189)](),_0x396fa0['update'](this[_0x34a5b4(0x387)]);},'update':function(_0x2f34da){const _0x5a593f=_0x3c78ad;return this[_0x5a593f(0x4b4)][_0x5a593f(0x2ac)](_0x2f34da),this;},'finalize':function(_0x3fa8ba){const _0x257809=_0x3c78ad;var _0x12775d=this[_0x257809(0x4b4)],_0xef695c=_0x12775d[_0x257809(0x446)](_0x3fa8ba);_0x12775d[_0x257809(0x189)]();var _0x5cf61d=_0x12775d['finalize'](this['_oKey'][_0x257809(0x31a)]()[_0x257809(0x37e)](_0xef695c));return _0x5cf61d;}});}());}));}(St)),St[_0x1a7d5b(0x3fe)];}var lc=mt[_0x1c91cb(0x3fe)],fi;function nr(){const _0x2d9457=_0x1c91cb;return fi||(fi=0x1,function(_0x47d535,_0x5c6ebc){(function(_0x13381f,_0x53bee6,_0x2469d4){const _0x1f80ac=_0x1b68;_0x47d535[_0x1f80ac(0x3fe)]=_0x53bee6(_e(),ac(),hc());}(lc,function(_0x323758){return(function(){const _0x9b0fd8=_0x1b68;var _0x1c2f3c=_0x323758,_0x45d546=_0x1c2f3c[_0x9b0fd8(0x103)],_0xc3c2d0=_0x45d546['Base'],_0x33929e=_0x45d546[_0x9b0fd8(0x46d)],_0x36f5d8=_0x1c2f3c[_0x9b0fd8(0x469)],_0x2f667e=_0x36f5d8[_0x9b0fd8(0x179)],_0xaa527a=_0x36f5d8['EvpKDF']=_0xc3c2d0[_0x9b0fd8(0x108)]({'cfg':_0xc3c2d0['extend']({'keySize':0x80/0x20,'hasher':_0x2f667e,'iterations':0x1}),'init':function(_0x2c4a6a){const _0x29966f=_0x9b0fd8;this[_0x29966f(0x170)]=this[_0x29966f(0x170)][_0x29966f(0x108)](_0x2c4a6a);},'compute':function(_0x366959,_0x542798){const _0x13e2cc=_0x9b0fd8;for(var _0x1b3919,_0x2638c6=this[_0x13e2cc(0x170)],_0x51074f=_0x2638c6['hasher']['create'](),_0x229b90=_0x33929e[_0x13e2cc(0x1ff)](),_0x1f63db=_0x229b90[_0x13e2cc(0x24d)],_0x24456e=_0x2638c6[_0x13e2cc(0x291)],_0xc3b0fa=_0x2638c6[_0x13e2cc(0x2c6)];_0x1f63db[_0x13e2cc(0x38b)]<_0x24456e;){_0x1b3919&&_0x51074f[_0x13e2cc(0x2ac)](_0x1b3919),_0x1b3919=_0x51074f[_0x13e2cc(0x2ac)](_0x366959)[_0x13e2cc(0x446)](_0x542798),_0x51074f['reset']();for(var _0x41114e=0x1;_0x41114e<_0xc3b0fa;_0x41114e++)_0x1b3919=_0x51074f[_0x13e2cc(0x446)](_0x1b3919),_0x51074f[_0x13e2cc(0x189)]();_0x229b90[_0x13e2cc(0x37e)](_0x1b3919);}return _0x229b90[_0x13e2cc(0x121)]=_0x24456e*0x4,_0x229b90;}});_0x1c2f3c['EvpKDF']=function(_0x84cc11,_0x237b86,_0x29454f){const _0x488838=_0x9b0fd8;return _0xaa527a[_0x488838(0x1ff)](_0x29454f)[_0x488838(0x161)](_0x84cc11,_0x237b86);};}()),_0x323758['EvpKDF'];}));}(mt)),mt[_0x2d9457(0x3fe)];}var It={'exports':{}},_c=It[_0x1c91cb(0x3fe)],vi;function or(){return vi||(vi=0x1,function(_0x551c69,_0x43001d){(function(_0x1689b6,_0x3b01a4,_0x4591ce){const _0x6a513a=_0x1b68;_0x551c69[_0x6a513a(0x3fe)]=_0x3b01a4(_e(),nr());}(_c,function(_0x449ef2){const _0x206968=_0x1b68;_0x449ef2[_0x206968(0x103)][_0x206968(0x1f1)]||function(_0x570933){const _0x10ee32=_0x206968;var _0x1ea3c6=_0x449ef2,_0x4b0a30=_0x1ea3c6[_0x10ee32(0x103)],_0x26abd8=_0x4b0a30[_0x10ee32(0x47e)],_0x559dde=_0x4b0a30['WordArray'],_0x1eff25=_0x4b0a30[_0x10ee32(0x46a)],_0x19ee68=_0x1ea3c6[_0x10ee32(0x36d)];_0x19ee68[_0x10ee32(0x199)];var _0x1839a2=_0x19ee68[_0x10ee32(0x25d)],_0x20fa2e=_0x1ea3c6['algo'],_0x5928b4=_0x20fa2e[_0x10ee32(0x20c)],_0x3776ef=_0x4b0a30[_0x10ee32(0x1f1)]=_0x1eff25[_0x10ee32(0x108)]({'cfg':_0x26abd8['extend'](),'createEncryptor':function(_0x87ffe8,_0x445618){const _0x406f6e=_0x10ee32;return this[_0x406f6e(0x1ff)](this['_ENC_XFORM_MODE'],_0x87ffe8,_0x445618);},'createDecryptor':function(_0x1d9b13,_0x110ad4){const _0x2f30fe=_0x10ee32;return this[_0x2f30fe(0x1ff)](this[_0x2f30fe(0x2e1)],_0x1d9b13,_0x110ad4);},'init':function(_0x473429,_0x37b086,_0x524cdb){const _0x5d4383=_0x10ee32;this[_0x5d4383(0x170)]=this['cfg'][_0x5d4383(0x108)](_0x524cdb),this[_0x5d4383(0x224)]=_0x473429,this['_key']=_0x37b086,this[_0x5d4383(0x189)]();},'reset':function(){const _0x4f6b65=_0x10ee32;_0x1eff25[_0x4f6b65(0x189)]['call'](this),this[_0x4f6b65(0x4c0)]();},'process':function(_0x4638e1){const _0x3f41af=_0x10ee32;return this[_0x3f41af(0x416)](_0x4638e1),this[_0x3f41af(0x122)]();},'finalize':function(_0x1ab9d2){_0x1ab9d2&&this['_append'](_0x1ab9d2);var _0x5e00cf=this['_doFinalize']();return _0x5e00cf;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2b23bf(_0x4daa18){return typeof _0x4daa18=='string'?_0x15466b:_0x445c0c;}return function(_0x4a45f6){return{'encrypt':function(_0x5132da,_0x465358,_0x10dd8d){const _0x4e737d=_0x1b68;return _0x2b23bf(_0x465358)[_0x4e737d(0x23b)](_0x4a45f6,_0x5132da,_0x465358,_0x10dd8d);},'decrypt':function(_0x343915,_0x13dba1,_0x7215d3){const _0x801462=_0x1b68;return _0x2b23bf(_0x13dba1)[_0x801462(0x1d0)](_0x4a45f6,_0x343915,_0x13dba1,_0x7215d3);}};};}())});_0x4b0a30['StreamCipher']=_0x3776ef[_0x10ee32(0x108)]({'_doFinalize':function(){var _0xfb25f1=this['_process'](!0x0);return _0xfb25f1;},'blockSize':0x1});var _0x3cd4a8=_0x1ea3c6[_0x10ee32(0x33b)]={},_0x215f82=_0x4b0a30[_0x10ee32(0x2a0)]=_0x26abd8[_0x10ee32(0x108)]({'createEncryptor':function(_0x496149,_0x54ee01){const _0x4a9bba=_0x10ee32;return this[_0x4a9bba(0x24b)]['create'](_0x496149,_0x54ee01);},'createDecryptor':function(_0x562e1,_0xd82f96){const _0xc08084=_0x10ee32;return this['Decryptor'][_0xc08084(0x1ff)](_0x562e1,_0xd82f96);},'init':function(_0x4753a2,_0x27c13d){const _0x3686b2=_0x10ee32;this[_0x3686b2(0x4b5)]=_0x4753a2,this[_0x3686b2(0x3df)]=_0x27c13d;}}),_0x11bf10=_0x3cd4a8[_0x10ee32(0x265)]=(function(){const _0x1916a1=_0x10ee32;var _0x56db31=_0x215f82[_0x1916a1(0x108)]();_0x56db31[_0x1916a1(0x24b)]=_0x56db31[_0x1916a1(0x108)]({'processBlock':function(_0x4f07ad,_0x4854a8){const _0x5a18e4=_0x1916a1;var _0x352bb4=this[_0x5a18e4(0x4b5)],_0x5cb38a=_0x352bb4['blockSize'];_0x21dd81[_0x5a18e4(0xff)](this,_0x4f07ad,_0x4854a8,_0x5cb38a),_0x352bb4[_0x5a18e4(0x17c)](_0x4f07ad,_0x4854a8),this[_0x5a18e4(0x4e0)]=_0x4f07ad[_0x5a18e4(0x2cb)](_0x4854a8,_0x4854a8+_0x5cb38a);}}),_0x56db31[_0x1916a1(0x368)]=_0x56db31[_0x1916a1(0x108)]({'processBlock':function(_0x3cb25b,_0x5674e0){const _0x18c0b9=_0x1916a1;var _0x49ab06=this[_0x18c0b9(0x4b5)],_0x52e03b=_0x49ab06['blockSize'],_0x54f41d=_0x3cb25b[_0x18c0b9(0x2cb)](_0x5674e0,_0x5674e0+_0x52e03b);_0x49ab06['decryptBlock'](_0x3cb25b,_0x5674e0),_0x21dd81[_0x18c0b9(0xff)](this,_0x3cb25b,_0x5674e0,_0x52e03b),this['_prevBlock']=_0x54f41d;}});function _0x21dd81(_0x8a1264,_0x514e49,_0x635e9f){const _0x56b16f=_0x1916a1;var _0x4f7ac9,_0x52040e=this['_iv'];_0x52040e?(_0x4f7ac9=_0x52040e,this[_0x56b16f(0x3df)]=_0x570933):_0x4f7ac9=this[_0x56b16f(0x4e0)];for(var _0x15294a=0x0;_0x15294a<_0x635e9f;_0x15294a++)_0x8a1264[_0x514e49+_0x15294a]^=_0x4f7ac9[_0x15294a];}return _0x56db31;}()),_0x11755c=_0x1ea3c6['pad']={},_0x2fbdab=_0x11755c[_0x10ee32(0x43c)]={'pad':function(_0x57bc09,_0xf53e58){const _0x19f88d=_0x10ee32;for(var _0x1b1f52=_0xf53e58*0x4,_0x154b10=_0x1b1f52-_0x57bc09[_0x19f88d(0x121)]%_0x1b1f52,_0x5ed1b4=_0x154b10<<0x18|_0x154b10<<0x10|_0x154b10<<0x8|_0x154b10,_0x2781f3=[],_0x35e010=0x0;_0x35e010<_0x154b10;_0x35e010+=0x4)_0x2781f3[_0x19f88d(0x4c1)](_0x5ed1b4);var _0x2874d3=_0x559dde['create'](_0x2781f3,_0x154b10);_0x57bc09[_0x19f88d(0x37e)](_0x2874d3);},'unpad':function(_0x5c1044){const _0x2a8b90=_0x10ee32;var _0x26b4f8=_0x5c1044[_0x2a8b90(0x24d)][_0x5c1044[_0x2a8b90(0x121)]-0x1>>>0x2]&0xff;_0x5c1044[_0x2a8b90(0x121)]-=_0x26b4f8;}};_0x4b0a30[_0x10ee32(0x39b)]=_0x3776ef[_0x10ee32(0x108)]({'cfg':_0x3776ef[_0x10ee32(0x170)][_0x10ee32(0x108)]({'mode':_0x11bf10,'padding':_0x2fbdab}),'reset':function(){const _0x2f0ea9=_0x10ee32;var _0x3eac6b;_0x3776ef[_0x2f0ea9(0x189)][_0x2f0ea9(0xff)](this);var _0x574f98=this['cfg'],_0x5af7e3=_0x574f98['iv'],_0x1038ac=_0x574f98[_0x2f0ea9(0x33b)];this[_0x2f0ea9(0x224)]==this[_0x2f0ea9(0x35e)]?_0x3eac6b=_0x1038ac['createEncryptor']:(_0x3eac6b=_0x1038ac[_0x2f0ea9(0x300)],this['_minBufferSize']=0x1),this[_0x2f0ea9(0x150)]&&this[_0x2f0ea9(0x150)]['__creator']==_0x3eac6b?this[_0x2f0ea9(0x150)][_0x2f0ea9(0x248)](this,_0x5af7e3&&_0x5af7e3['words']):(this[_0x2f0ea9(0x150)]=_0x3eac6b[_0x2f0ea9(0xff)](_0x1038ac,this,_0x5af7e3&&_0x5af7e3['words']),this[_0x2f0ea9(0x150)][_0x2f0ea9(0x237)]=_0x3eac6b);},'_doProcessBlock':function(_0x4a24a8,_0x89e717){const _0x2395a8=_0x10ee32;this[_0x2395a8(0x150)][_0x2395a8(0x418)](_0x4a24a8,_0x89e717);},'_doFinalize':function(){const _0x9edafc=_0x10ee32;var _0x134f5a,_0x44201f=this[_0x9edafc(0x170)][_0x9edafc(0x32b)];return this['_xformMode']==this[_0x9edafc(0x35e)]?(_0x44201f[_0x9edafc(0x27e)](this[_0x9edafc(0x188)],this[_0x9edafc(0x367)]),_0x134f5a=this[_0x9edafc(0x122)](!0x0)):(_0x134f5a=this[_0x9edafc(0x122)](!0x0),_0x44201f[_0x9edafc(0x163)](_0x134f5a)),_0x134f5a;},'blockSize':0x80/0x20});var _0x1e5c82=_0x4b0a30[_0x10ee32(0x35d)]=_0x26abd8[_0x10ee32(0x108)]({'init':function(_0x1a7231){const _0x5ec8d5=_0x10ee32;this[_0x5ec8d5(0x1ef)](_0x1a7231);},'toString':function(_0x2d105e){const _0x13b56d=_0x10ee32;return(_0x2d105e||this[_0x13b56d(0x1dc)])[_0x13b56d(0x397)](this);}}),_0x11cd12=_0x1ea3c6[_0x10ee32(0x3c6)]={},_0x1385f1=_0x11cd12[_0x10ee32(0x272)]={'stringify':function(_0x279a9a){const _0x5911f8=_0x10ee32;var _0x1da233,_0x280751=_0x279a9a['ciphertext'],_0x1696ec=_0x279a9a['salt'];return _0x1696ec?_0x1da233=_0x559dde[_0x5911f8(0x1ff)]([0x53616c74,0x65645f5f])[_0x5911f8(0x37e)](_0x1696ec)[_0x5911f8(0x37e)](_0x280751):_0x1da233=_0x280751,_0x1da233['toString'](_0x1839a2);},'parse':function(_0x4856b7){const _0x404ce5=_0x10ee32;var _0x24ceba,_0x151331=_0x1839a2['parse'](_0x4856b7),_0x1838c8=_0x151331[_0x404ce5(0x24d)];return _0x1838c8[0x0]==0x53616c74&&_0x1838c8[0x1]==0x65645f5f&&(_0x24ceba=_0x559dde['create'](_0x1838c8['slice'](0x2,0x4)),_0x1838c8[_0x404ce5(0x2c8)](0x0,0x4),_0x151331['sigBytes']-=0x10),_0x1e5c82[_0x404ce5(0x1ff)]({'ciphertext':_0x151331,'salt':_0x24ceba});}},_0x445c0c=_0x4b0a30[_0x10ee32(0x211)]=_0x26abd8['extend']({'cfg':_0x26abd8['extend']({'format':_0x1385f1}),'encrypt':function(_0x11976b,_0x535565,_0x2e5eb5,_0x29060f){const _0x1602f2=_0x10ee32;_0x29060f=this[_0x1602f2(0x170)]['extend'](_0x29060f);var _0x18e2ab=_0x11976b[_0x1602f2(0x10d)](_0x2e5eb5,_0x29060f),_0x43e398=_0x18e2ab[_0x1602f2(0x446)](_0x535565),_0x5971c2=_0x18e2ab['cfg'];return _0x1e5c82['create']({'ciphertext':_0x43e398,'key':_0x2e5eb5,'iv':_0x5971c2['iv'],'algorithm':_0x11976b,'mode':_0x5971c2[_0x1602f2(0x33b)],'padding':_0x5971c2['padding'],'blockSize':_0x11976b[_0x1602f2(0x367)],'formatter':_0x29060f[_0x1602f2(0x3c6)]});},'decrypt':function(_0x913157,_0x5edd44,_0x562f84,_0x7e760f){const _0x50867e=_0x10ee32;_0x7e760f=this['cfg'][_0x50867e(0x108)](_0x7e760f),_0x5edd44=this[_0x50867e(0x3d3)](_0x5edd44,_0x7e760f[_0x50867e(0x3c6)]);var _0x182863=_0x913157[_0x50867e(0x300)](_0x562f84,_0x7e760f)[_0x50867e(0x446)](_0x5edd44[_0x50867e(0x42f)]);return _0x182863;},'_parse':function(_0x19aa9f,_0x46ca85){const _0x5f0983=_0x10ee32;return typeof _0x19aa9f==_0x5f0983(0x366)?_0x46ca85['parse'](_0x19aa9f,this):_0x19aa9f;}}),_0x782fa1=_0x1ea3c6[_0x10ee32(0x1ed)]={},_0x345780=_0x782fa1['OpenSSL']={'execute':function(_0x4d8861,_0x38b292,_0xe73e51,_0x46b311,_0x2480a6){const _0x5752d=_0x10ee32;if(_0x46b311||(_0x46b311=_0x559dde['random'](0x40/0x8)),_0x2480a6)var _0x182d3e=_0x5928b4[_0x5752d(0x1ff)]({'keySize':_0x38b292+_0xe73e51,'hasher':_0x2480a6})[_0x5752d(0x161)](_0x4d8861,_0x46b311);else var _0x182d3e=_0x5928b4[_0x5752d(0x1ff)]({'keySize':_0x38b292+_0xe73e51})[_0x5752d(0x161)](_0x4d8861,_0x46b311);var _0x1a6c44=_0x559dde[_0x5752d(0x1ff)](_0x182d3e[_0x5752d(0x24d)][_0x5752d(0x2cb)](_0x38b292),_0xe73e51*0x4);return _0x182d3e['sigBytes']=_0x38b292*0x4,_0x1e5c82['create']({'key':_0x182d3e,'iv':_0x1a6c44,'salt':_0x46b311});}},_0x15466b=_0x4b0a30[_0x10ee32(0x4a2)]=_0x445c0c['extend']({'cfg':_0x445c0c[_0x10ee32(0x170)][_0x10ee32(0x108)]({'kdf':_0x345780}),'encrypt':function(_0x4f783b,_0x25be3e,_0x3c58c2,_0x2f6031){const _0x3f319b=_0x10ee32;_0x2f6031=this[_0x3f319b(0x170)]['extend'](_0x2f6031);var _0x14cd53=_0x2f6031[_0x3f319b(0x1ed)][_0x3f319b(0x1fc)](_0x3c58c2,_0x4f783b[_0x3f319b(0x291)],_0x4f783b[_0x3f319b(0x25e)],_0x2f6031[_0x3f319b(0x459)],_0x2f6031[_0x3f319b(0x1dd)]);_0x2f6031['iv']=_0x14cd53['iv'];var _0x4fe633=_0x445c0c[_0x3f319b(0x23b)][_0x3f319b(0xff)](this,_0x4f783b,_0x25be3e,_0x14cd53[_0x3f319b(0x2e0)],_0x2f6031);return _0x4fe633[_0x3f319b(0x1ef)](_0x14cd53),_0x4fe633;},'decrypt':function(_0x4f6602,_0x974c0d,_0x51482d,_0x3f9d6f){const _0x21e564=_0x10ee32;_0x3f9d6f=this[_0x21e564(0x170)]['extend'](_0x3f9d6f),_0x974c0d=this[_0x21e564(0x3d3)](_0x974c0d,_0x3f9d6f['format']);var _0x306362=_0x3f9d6f[_0x21e564(0x1ed)][_0x21e564(0x1fc)](_0x51482d,_0x4f6602['keySize'],_0x4f6602['ivSize'],_0x974c0d[_0x21e564(0x459)],_0x3f9d6f[_0x21e564(0x1dd)]);_0x3f9d6f['iv']=_0x306362['iv'];var _0x1cf668=_0x445c0c[_0x21e564(0x1d0)]['call'](this,_0x4f6602,_0x974c0d,_0x306362[_0x21e564(0x2e0)],_0x3f9d6f);return _0x1cf668;}});}();}));}(It)),It['exports'];}var uc=dt['exports'],pi;function dc(){const _0x76e98c=_0x1c91cb;return pi||(pi=0x1,function(_0x39c5c1,_0x53c5ea){(function(_0x3f4a27,_0xbba92f,_0x121d30){const _0x42edfd=_0x1b68;_0x39c5c1[_0x42edfd(0x3fe)]=_0xbba92f(_e(),rr(),nc(),nr(),or());}(uc,function(_0xf53aa3){const _0xc75dbc=_0x1b68;return(function(){const _0x4e6d8d=_0x1b68;var _0x18e9c6=_0xf53aa3,_0x5dcffc=_0x18e9c6[_0x4e6d8d(0x103)],_0x164237=_0x5dcffc[_0x4e6d8d(0x39b)],_0x1b3ddf=_0x18e9c6[_0x4e6d8d(0x469)],_0xb4049=[],_0x2c4eb7=[],_0x2cb8a8=[],_0x285a29=[],_0x210584=[],_0x17cf3a=[],_0x3b73e9=[],_0xd372a8=[],_0x110b33=[],_0x3f7aa8=[];(function(){for(var _0x152d6d=[],_0x50e3cd=0x0;_0x50e3cd<0x100;_0x50e3cd++)_0x50e3cd<0x80?_0x152d6d[_0x50e3cd]=_0x50e3cd<<0x1:_0x152d6d[_0x50e3cd]=_0x50e3cd<<0x1^0x11b;for(var _0x1191c8=0x0,_0x5a9118=0x0,_0x50e3cd=0x0;_0x50e3cd<0x100;_0x50e3cd++){var _0x474f05=_0x5a9118^_0x5a9118<<0x1^_0x5a9118<<0x2^_0x5a9118<<0x3^_0x5a9118<<0x4;_0x474f05=_0x474f05>>>0x8^_0x474f05&0xff^0x63,_0xb4049[_0x1191c8]=_0x474f05,_0x2c4eb7[_0x474f05]=_0x1191c8;var _0x316fb3=_0x152d6d[_0x1191c8],_0x215594=_0x152d6d[_0x316fb3],_0x191b6f=_0x152d6d[_0x215594],_0xdff769=_0x152d6d[_0x474f05]*0x101^_0x474f05*0x1010100;_0x2cb8a8[_0x1191c8]=_0xdff769<<0x18|_0xdff769>>>0x8,_0x285a29[_0x1191c8]=_0xdff769<<0x10|_0xdff769>>>0x10,_0x210584[_0x1191c8]=_0xdff769<<0x8|_0xdff769>>>0x18,_0x17cf3a[_0x1191c8]=_0xdff769;var _0xdff769=_0x191b6f*0x1010101^_0x215594*0x10001^_0x316fb3*0x101^_0x1191c8*0x1010100;_0x3b73e9[_0x474f05]=_0xdff769<<0x18|_0xdff769>>>0x8,_0xd372a8[_0x474f05]=_0xdff769<<0x10|_0xdff769>>>0x10,_0x110b33[_0x474f05]=_0xdff769<<0x8|_0xdff769>>>0x18,_0x3f7aa8[_0x474f05]=_0xdff769,_0x1191c8?(_0x1191c8=_0x316fb3^_0x152d6d[_0x152d6d[_0x152d6d[_0x191b6f^_0x316fb3]]],_0x5a9118^=_0x152d6d[_0x152d6d[_0x5a9118]]):_0x1191c8=_0x5a9118=0x1;}}());var _0x1afc66=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x46dd05=_0x1b3ddf[_0x4e6d8d(0x4e4)]=_0x164237['extend']({'_doReset':function(){const _0x1c448d=_0x4e6d8d;var _0x54ff84;if(!(this[_0x1c448d(0x509)]&&this['_keyPriorReset']===this['_key'])){for(var _0x30ad7c=this[_0x1c448d(0x477)]=this[_0x1c448d(0x463)],_0x2ea399=_0x30ad7c[_0x1c448d(0x24d)],_0x382155=_0x30ad7c['sigBytes']/0x4,_0x5b1d5c=this[_0x1c448d(0x509)]=_0x382155+0x6,_0x36fbcd=(_0x5b1d5c+0x1)*0x4,_0x53088d=this['_keySchedule']=[],_0x2ed4e6=0x0;_0x2ed4e6<_0x36fbcd;_0x2ed4e6++)_0x2ed4e6<_0x382155?_0x53088d[_0x2ed4e6]=_0x2ea399[_0x2ed4e6]:(_0x54ff84=_0x53088d[_0x2ed4e6-0x1],_0x2ed4e6%_0x382155?_0x382155>0x6&&_0x2ed4e6%_0x382155==0x4&&(_0x54ff84=_0xb4049[_0x54ff84>>>0x18]<<0x18|_0xb4049[_0x54ff84>>>0x10&0xff]<<0x10|_0xb4049[_0x54ff84>>>0x8&0xff]<<0x8|_0xb4049[_0x54ff84&0xff]):(_0x54ff84=_0x54ff84<<0x8|_0x54ff84>>>0x18,_0x54ff84=_0xb4049[_0x54ff84>>>0x18]<<0x18|_0xb4049[_0x54ff84>>>0x10&0xff]<<0x10|_0xb4049[_0x54ff84>>>0x8&0xff]<<0x8|_0xb4049[_0x54ff84&0xff],_0x54ff84^=_0x1afc66[_0x2ed4e6/_0x382155|0x0]<<0x18),_0x53088d[_0x2ed4e6]=_0x53088d[_0x2ed4e6-_0x382155]^_0x54ff84);for(var _0x2efb6a=this[_0x1c448d(0x1ca)]=[],_0x5a6109=0x0;_0x5a6109<_0x36fbcd;_0x5a6109++){var _0x2ed4e6=_0x36fbcd-_0x5a6109;if(_0x5a6109%0x4)var _0x54ff84=_0x53088d[_0x2ed4e6];else var _0x54ff84=_0x53088d[_0x2ed4e6-0x4];_0x5a6109<0x4||_0x2ed4e6<=0x4?_0x2efb6a[_0x5a6109]=_0x54ff84:_0x2efb6a[_0x5a6109]=_0x3b73e9[_0xb4049[_0x54ff84>>>0x18]]^_0xd372a8[_0xb4049[_0x54ff84>>>0x10&0xff]]^_0x110b33[_0xb4049[_0x54ff84>>>0x8&0xff]]^_0x3f7aa8[_0xb4049[_0x54ff84&0xff]];}}},'encryptBlock':function(_0x55cb92,_0x500d7b){const _0x15f418=_0x4e6d8d;this[_0x15f418(0x33d)](_0x55cb92,_0x500d7b,this['_keySchedule'],_0x2cb8a8,_0x285a29,_0x210584,_0x17cf3a,_0xb4049);},'decryptBlock':function(_0x1f45ee,_0x1416bd){const _0x49da02=_0x4e6d8d;var _0x4f3a2e=_0x1f45ee[_0x1416bd+0x1];_0x1f45ee[_0x1416bd+0x1]=_0x1f45ee[_0x1416bd+0x3],_0x1f45ee[_0x1416bd+0x3]=_0x4f3a2e,this[_0x49da02(0x33d)](_0x1f45ee,_0x1416bd,this[_0x49da02(0x1ca)],_0x3b73e9,_0xd372a8,_0x110b33,_0x3f7aa8,_0x2c4eb7);var _0x4f3a2e=_0x1f45ee[_0x1416bd+0x1];_0x1f45ee[_0x1416bd+0x1]=_0x1f45ee[_0x1416bd+0x3],_0x1f45ee[_0x1416bd+0x3]=_0x4f3a2e;},'_doCryptBlock':function(_0x193575,_0x7ecaf6,_0x292261,_0x5eeb8f,_0x2bf9cd,_0x1f79d5,_0x3faf0d,_0x113f27){for(var _0x67b23b=this['_nRounds'],_0x343de3=_0x193575[_0x7ecaf6]^_0x292261[0x0],_0x48b16c=_0x193575[_0x7ecaf6+0x1]^_0x292261[0x1],_0x1741a4=_0x193575[_0x7ecaf6+0x2]^_0x292261[0x2],_0x44eb77=_0x193575[_0x7ecaf6+0x3]^_0x292261[0x3],_0x3d2196=0x4,_0x797913=0x1;_0x797913<_0x67b23b;_0x797913++){var _0x2129a8=_0x5eeb8f[_0x343de3>>>0x18]^_0x2bf9cd[_0x48b16c>>>0x10&0xff]^_0x1f79d5[_0x1741a4>>>0x8&0xff]^_0x3faf0d[_0x44eb77&0xff]^_0x292261[_0x3d2196++],_0x108cc4=_0x5eeb8f[_0x48b16c>>>0x18]^_0x2bf9cd[_0x1741a4>>>0x10&0xff]^_0x1f79d5[_0x44eb77>>>0x8&0xff]^_0x3faf0d[_0x343de3&0xff]^_0x292261[_0x3d2196++],_0xd2bbbb=_0x5eeb8f[_0x1741a4>>>0x18]^_0x2bf9cd[_0x44eb77>>>0x10&0xff]^_0x1f79d5[_0x343de3>>>0x8&0xff]^_0x3faf0d[_0x48b16c&0xff]^_0x292261[_0x3d2196++],_0x7d9853=_0x5eeb8f[_0x44eb77>>>0x18]^_0x2bf9cd[_0x343de3>>>0x10&0xff]^_0x1f79d5[_0x48b16c>>>0x8&0xff]^_0x3faf0d[_0x1741a4&0xff]^_0x292261[_0x3d2196++];_0x343de3=_0x2129a8,_0x48b16c=_0x108cc4,_0x1741a4=_0xd2bbbb,_0x44eb77=_0x7d9853;}var _0x2129a8=(_0x113f27[_0x343de3>>>0x18]<<0x18|_0x113f27[_0x48b16c>>>0x10&0xff]<<0x10|_0x113f27[_0x1741a4>>>0x8&0xff]<<0x8|_0x113f27[_0x44eb77&0xff])^_0x292261[_0x3d2196++],_0x108cc4=(_0x113f27[_0x48b16c>>>0x18]<<0x18|_0x113f27[_0x1741a4>>>0x10&0xff]<<0x10|_0x113f27[_0x44eb77>>>0x8&0xff]<<0x8|_0x113f27[_0x343de3&0xff])^_0x292261[_0x3d2196++],_0xd2bbbb=(_0x113f27[_0x1741a4>>>0x18]<<0x18|_0x113f27[_0x44eb77>>>0x10&0xff]<<0x10|_0x113f27[_0x343de3>>>0x8&0xff]<<0x8|_0x113f27[_0x48b16c&0xff])^_0x292261[_0x3d2196++],_0x7d9853=(_0x113f27[_0x44eb77>>>0x18]<<0x18|_0x113f27[_0x343de3>>>0x10&0xff]<<0x10|_0x113f27[_0x48b16c>>>0x8&0xff]<<0x8|_0x113f27[_0x1741a4&0xff])^_0x292261[_0x3d2196++];_0x193575[_0x7ecaf6]=_0x2129a8,_0x193575[_0x7ecaf6+0x1]=_0x108cc4,_0x193575[_0x7ecaf6+0x2]=_0xd2bbbb,_0x193575[_0x7ecaf6+0x3]=_0x7d9853;},'keySize':0x100/0x20});_0x18e9c6[_0x4e6d8d(0x4e4)]=_0x164237[_0x4e6d8d(0x311)](_0x46dd05);}()),_0xf53aa3[_0xc75dbc(0x4e4)];}));}(dt)),dt[_0x76e98c(0x3fe)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct[_0x1c91cb(0x3fe)],gi;function gc(){const _0x2d814a=_0x1c91cb;return gi||(gi=0x1,function(_0x2ce36,_0x4700c5){(function(_0x44d4c5,_0x12c761){const _0x31d712=_0x1b68;_0x2ce36[_0x31d712(0x3fe)]=_0x12c761(_e());}(mc,function(_0x47ebd6){const _0x239a0c=_0x1b68;return _0x47ebd6[_0x239a0c(0x36d)]['Utf8'];}));}(Ct)),Ct[_0x2d814a(0x3fe)];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et['exports'],Si;function Ec(){const _0x31e1df=_0x1c91cb;return Si||(Si=0x1,function(_0x17702b,_0x3f466c){(function(_0x437bf6,_0x34c005){_0x17702b['exports']=_0x34c005(_e());}(Cc,function(_0x138614){const _0x10e577=_0x1b68;return(function(){const _0x2dd671=_0x1b68;if(typeof ArrayBuffer==_0x2dd671(0x151)){var _0x24f341=_0x138614,_0x170f0a=_0x24f341[_0x2dd671(0x103)],_0x4847fc=_0x170f0a['WordArray'],_0x67b182=_0x4847fc[_0x2dd671(0x248)],_0x3aca3=_0x4847fc[_0x2dd671(0x248)]=function(_0x29e163){const _0x486ce8=_0x2dd671;if(_0x29e163 instanceof ArrayBuffer&&(_0x29e163=new Uint8Array(_0x29e163)),(_0x29e163 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x29e163 instanceof Uint8ClampedArray||_0x29e163 instanceof Int16Array||_0x29e163 instanceof Uint16Array||_0x29e163 instanceof Int32Array||_0x29e163 instanceof Uint32Array||_0x29e163 instanceof Float32Array||_0x29e163 instanceof Float64Array)&&(_0x29e163=new Uint8Array(_0x29e163[_0x486ce8(0x4f7)],_0x29e163[_0x486ce8(0x398)],_0x29e163[_0x486ce8(0x26a)])),_0x29e163 instanceof Uint8Array){for(var _0x440896=_0x29e163[_0x486ce8(0x26a)],_0x21ff8b=[],_0x1fa03f=0x0;_0x1fa03f<_0x440896;_0x1fa03f++)_0x21ff8b[_0x1fa03f>>>0x2]|=_0x29e163[_0x1fa03f]<<0x18-_0x1fa03f%0x4*0x8;_0x67b182['call'](this,_0x21ff8b,_0x440896);}else _0x67b182[_0x486ce8(0x2e8)](this,arguments);};_0x3aca3['prototype']=_0x4847fc;}}()),_0x138614['lib'][_0x10e577(0x46d)];}));}(Et)),Et[_0x31e1df(0x3fe)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt[_0x1c91cb(0x3fe)],Ii;function Oc(){const _0x5cc4fa=_0x1c91cb;return Ii||(Ii=0x1,function(_0x138e04,_0x2481a7){(function(_0x48a0e6,_0x2e258c,_0x447bc8){_0x138e04['exports']=_0x2e258c(_e(),or());}(Rc,function(_0x428856){const _0x510136=_0x1b68;return _0x428856[_0x510136(0x27e)][_0x510136(0xe3)]={'pad':function(){},'unpad':function(){}},_0x428856[_0x510136(0x27e)][_0x510136(0xe3)];}));}(bt)),bt[_0x5cc4fa(0x3fe)];}var yc=Oc();const wc=ct(yc);function Dc(_0x5c4586,_0x11c526){const _0x2a6e19=_0x1c91cb,_0x33ddbf=_0x11c526-_0x5c4586[_0x2a6e19(0x38b)]%_0x11c526,_0x223d24=String[_0x2a6e19(0x46f)](_0x33ddbf)[_0x2a6e19(0x260)](_0x33ddbf);return _0x5c4586+_0x223d24;}function Pc(_0x28050a,_0x845d){const _0x587d03=_0x1c91cb,_0x47fff9=Tc[_0x587d03(0x255)](0x10),_0x1068a2=Dc(_0x28050a,0x10),_0x3c6f4f=vc[_0x587d03(0x23b)](Ic[_0x587d03(0x4f3)](_0x1068a2),mi[_0x587d03(0x4f3)](_0x845d),{'iv':_0x47fff9,'padding':wc});return _0x47fff9[_0x587d03(0x37e)](_0x3c6f4f[_0x587d03(0x42f)])['toString'](mi);}function Nc(){const _0x919f42=_0x1c91cb,_0x5328b2=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x919f42(0x17a)];if(_0x5328b2){const _0x37c000={'time':Math['floor'](Date[_0x919f42(0x28a)]()/0x3e8),'domain':location['hostname']};return Pc(JSON[_0x919f42(0x397)](_0x37c000),_0x5328b2);}}var Uc=Object[_0x1c91cb(0x502)],Ac=Object['getOwnPropertyDescriptor'],Mc=(_0x476870,_0xa9be32,_0xb5eaa1,_0x24e1e7)=>{const _0x48800a=_0x1c91cb;for(var _0xb80648=_0x24e1e7>0x1?void 0x0:_0x24e1e7?Ac(_0xa9be32,_0xb5eaa1):_0xa9be32,_0x5c15e2=_0x476870[_0x48800a(0x38b)]-0x1,_0x4cf921;_0x5c15e2>=0x0;_0x5c15e2--)(_0x4cf921=_0x476870[_0x5c15e2])&&(_0xb80648=(_0x24e1e7?_0x4cf921(_0xa9be32,_0xb5eaa1,_0xb80648):_0x4cf921(_0xb80648))||_0xb80648);return _0x24e1e7&&_0xb80648&&Uc(_0xa9be32,_0xb5eaa1,_0xb80648),_0xb80648;},xc=(_0xdd7a5e,_0x4c8c43)=>(_0x4ed26d,_0x75505b)=>_0x4c8c43(_0x4ed26d,_0x75505b,_0xdd7a5e);let $t=class{constructor(_0x3a7d9a){const _0x10c990=_0x1c91cb;this[_0x10c990(0x478)]=_0x3a7d9a,this[_0x10c990(0xdc)]();}['_initRequestHeader'](){const _0x2eb47d=_0x1c91cb;this[_0x2eb47d(0x478)]['registerHTTPInterceptor']({'interceptor':(_0x19b17c,_0x37f61c)=>{const _0x25cf26=_0x2eb47d,_0xc18e79=_0x19b17c[_0x25cf26(0x45a)],_0x2f1121=Nc();return _0x2f1121&&_0xc18e79[_0x25cf26(0x1e5)](_0x25cf26(0x198),_0x2f1121),_0x37f61c(_0x19b17c);}});}};$t=Mc([xc(0x0,_0x5beccd(_0x170656))],$t);var Lc=Object[_0x1c91cb(0x502)],$c=Object[_0x1c91cb(0x439)],Hc=(_0x238cd5,_0xcea4ed,_0x3634cf,_0x2492f5)=>{for(var _0x3ed8cd=_0x2492f5>0x1?void 0x0:_0x2492f5?$c(_0xcea4ed,_0x3634cf):_0xcea4ed,_0x45e71e=_0x238cd5['length']-0x1,_0x194470;_0x45e71e>=0x0;_0x45e71e--)(_0x194470=_0x238cd5[_0x45e71e])&&(_0x3ed8cd=(_0x2492f5?_0x194470(_0xcea4ed,_0x3634cf,_0x3ed8cd):_0x194470(_0x3ed8cd))||_0x3ed8cd);return _0x2492f5&&_0x3ed8cd&&Lc(_0xcea4ed,_0x3634cf,_0x3ed8cd),_0x3ed8cd;},rs=(_0x5b4131,_0x3786a9)=>(_0x3058fe,_0x596be7)=>_0x3786a9(_0x3058fe,_0x596be7,_0x5b4131);const jc=[_0x1c91cb(0x322),_0x1c91cb(0x49e),_0x1c91cb(0x3f9),_0x1c91cb(0x11d),_0x1c91cb(0x18e)],Bc=0x5*0x400*0x400,kc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Wc=_0x1c91cb(0x39c),Fc=_0x1c91cb(0x4fe),Vc=_0x1c91cb(0x4e7);let ms=class{constructor(_0x1d3807,_0x195079,_0x45956a){const _0x43e795=_0x1c91cb;g(this,'_waitCount',0x0),g(this,_0x43e795(0x11b),new _0x20b5e4()),g(this,_0x43e795(0x117),this[_0x43e795(0x11b)]),g(this,_0x43e795(0x4cd),new Map()),(this[_0x43e795(0x478)]=_0x1d3807,this['_configService']=_0x195079,this[_0x43e795(0x494)]=_0x45956a);}[_0x1c91cb(0x30b)](_0x216b05){const _0x3f41f2=_0x1c91cb;this[_0x3f41f2(0x364)]=_0x216b05,this[_0x3f41f2(0x11b)]['next'](_0x216b05);}[_0x1c91cb(0x28d)](_0x3ef2f8,_0x35aa2f){const _0x142d7a=_0x1c91cb;if(_0x35aa2f===_0x306135[_0x142d7a(0x100)]){const _0x1be6bc=new Image();return _0x1be6bc[_0x142d7a(0x457)]=_0x3ef2f8,_0x1be6bc;}return this[_0x142d7a(0x4cd)]['get'](_0x3ef2f8);}[_0x1c91cb(0x1d2)](_0x16ad4f,_0x170a17,_0x3576cd){const _0x7950=_0x1c91cb;_0x170a17===_0x306135['BASE64']||_0x3576cd==null||this[_0x7950(0x4cd)][_0x7950(0x1e5)](_0x16ad4f,_0x3576cd);}async[_0x1c91cb(0x4f2)](_0x13a67e){const _0x206227=_0x1c91cb;try{const _0x2551aa=this['_replaceFileID'](this[_0x206227(0x2ef)](),''+_0x13a67e),_0xbeb900=(await this[_0x206227(0x478)]['get'](_0x2551aa))[_0x206227(0x1f9)];if(_0xbeb900['error']&&_0xbeb900[_0x206227(0x4d3)]['code']===Fi['OK']){const _0x35cd13=new URL(_0xbeb900[_0x206227(0x3de)],this[_0x206227(0xe5)]())['toString']();return Promise[_0x206227(0x3f2)](_0x35cd13);}return Promise['reject'](_0xbeb900[_0x206227(0x4d3)]);}catch(_0x53469c){return Promise[_0x206227(0x154)](_0x53469c);}}async[_0x1c91cb(0x14a)](_0x270232){const _0x284893=_0x1c91cb;let _0x136e14='';if(!jc['includes'](_0x270232[_0x284893(0x4c3)]))return this[_0x284893(0x4ba)](),Promise[_0x284893(0x154)](new Error(_0x2435a2[_0x284893(0x3e6)]));if(_0x270232[_0x284893(0x10a)]>Bc)return this[_0x284893(0x4ba)](),Promise[_0x284893(0x154)](new Error(_0x2435a2['ERROR_EXCEED_SIZE']));try{const _0x267fc4=new FormData();_0x267fc4[_0x284893(0x2d8)](_0x284893(0x2d9),_0x270232);const _0x9c6b5f=this['_univerInstanceService'][_0x284893(0x30e)](),_0x26a44f=_0x9c6b5f==null?void 0x0:_0x9c6b5f[_0x284893(0x2f3)]();if(!_0x26a44f)throw new Error(_0x284893(0x44c));const _0x8328c9=this['_getUploadFileURL']()+_0x284893(0x123)+_0x270232[_0x284893(0x10a)]['toString']()+_0x284893(0x3a5)+Vi[_0x284893(0x2a9)]+_0x284893(0x33f)+encodeURIComponent(_0x26a44f),_0x552b0c=await(await fetch(_0x8328c9,{'method':'POST','body':_0x267fc4}))[_0x284893(0x23c)]();if(typeof _0x552b0c['FileId']!=_0x284893(0x366))return this['_decreaseWaiting'](),Promise[_0x284893(0x154)](new Error(_0x2435a2['ERROR_IMAGE']));_0x136e14=_0x552b0c['FileId'];}catch{return this[_0x284893(0x4ba)](),Promise[_0x284893(0x154)](new Error(_0x2435a2['ERROR_IMAGE']));}return new Promise((_0x4a1d70,_0x39068c)=>{const _0x2848c2=_0x284893,_0x5d3620=new FileReader();_0x5d3620[_0x2848c2(0x292)](_0x270232),_0x5d3620[_0x2848c2(0x12a)]=_0x44ed3a=>{const _0x42e8ad=_0x2848c2;var _0xd1f245;const _0x10c17f=(_0xd1f245=_0x44ed3a[_0x42e8ad(0x464)])==null?void 0x0:_0xd1f245[_0x42e8ad(0x4e3)];if(_0x10c17f==null){this[_0x42e8ad(0x4ba)](),_0x39068c(new Error(_0x2435a2['ERROR_IMAGE']));return;}const _0x40e598=_0xdb11bc[_0x42e8ad(0x374)](0x6);_0x4a1d70({'imageId':_0x40e598,'imageSourceType':_0x306135['UUID'],'source':_0x136e14,'base64Cache':_0x10c17f,'status':_0x2435a2[_0x42e8ad(0x164)]}),this[_0x42e8ad(0x4ba)]();};});}[_0x1c91cb(0x342)](){const _0x7633b4=_0x1c91cb;var _0x935bea,_0x1c9a4a;const _0x32d115=this[_0x7633b4(0x379)][_0x7633b4(0x34d)](kc),_0x56e459=this[_0x7633b4(0x379)][_0x7633b4(0x34d)](Q);return(_0x1c9a4a=(_0x935bea=_0x56e459==null?void 0x0:_0x56e459[_0x7633b4(0x1c9)])!=null?_0x935bea:_0x32d115)!=null?_0x1c9a4a:Wc;}[_0x1c91cb(0x2ef)](){const _0x31a624=_0x1c91cb;var _0x413ec0,_0x5116ae;const _0x4b52ce=this[_0x31a624(0x379)][_0x31a624(0x34d)](Fc),_0x5230ae=this[_0x31a624(0x379)][_0x31a624(0x34d)](Q);return(_0x5116ae=(_0x413ec0=_0x5230ae==null?void 0x0:_0x5230ae['signUrlServerUrl'])!=null?_0x413ec0:_0x4b52ce)!=null?_0x5116ae:Vc;}[_0x1c91cb(0xe5)](){const _0x1bb78a=_0x1c91cb;var _0x1672f5;const _0x3a68f2=this['_configService'][_0x1bb78a(0x34d)](Q);return(_0x1672f5=_0x3a68f2==null?void 0x0:_0x3a68f2[_0x1bb78a(0x1ec)])!=null?_0x1672f5:location['origin'];}['_replaceFileID'](_0x4193ff,_0x3f85cf){return _0x4193ff['replace']('{fileID}',_0x3f85cf);}[_0x1c91cb(0x4ba)](){const _0x378819=_0x1c91cb;this[_0x378819(0x364)]-=0x1,this[_0x378819(0x11b)][_0x378819(0x1eb)](this['_waitCount']);}};ms=Hc([rs(0x0,_0x5beccd(_0x170656)),rs(0x1,_0x385706),rs(0x2,_0x5beccd(_0x5283d0))],ms);var Gc=Object[_0x1c91cb(0x502)],Yc=Object[_0x1c91cb(0x439)],Kc=(_0x243054,_0x4c9a16,_0xa763ae,_0x1903fb)=>{const _0x2f7d49=_0x1c91cb;for(var _0x8231c8=_0x1903fb>0x1?void 0x0:_0x1903fb?Yc(_0x4c9a16,_0xa763ae):_0x4c9a16,_0x380419=_0x243054[_0x2f7d49(0x38b)]-0x1,_0x4212e6;_0x380419>=0x0;_0x380419--)(_0x4212e6=_0x243054[_0x380419])&&(_0x8231c8=(_0x1903fb?_0x4212e6(_0x4c9a16,_0xa763ae,_0x8231c8):_0x4212e6(_0x8231c8))||_0x8231c8);return _0x1903fb&&_0x8231c8&&Gc(_0x4c9a16,_0xa763ae,_0x8231c8),_0x8231c8;},Ci=(_0x4646e2,_0x1ce764)=>(_0x49c3c4,_0x1a4bc7)=>_0x1ce764(_0x49c3c4,_0x1a4bc7,_0x4646e2);const qc=_0x1c91cb(0x44a);let gs=class{constructor(_0x297089,_0x3911e8){const _0x3314f6=_0x1c91cb;this[_0x3314f6(0x379)]=_0x297089,this[_0x3314f6(0x45d)]=_0x3911e8;}[_0x1c91cb(0x25b)](){const _0x450c64=_0x1c91cb;var _0x33435c,_0x1a951b;const _0x27a3e7=this[_0x450c64(0x379)][_0x450c64(0x34d)](ir),_0x496a60=this['_configService']['getConfig'](Q);return(_0x1a951b=(_0x33435c=_0x496a60==null?void 0x0:_0x496a60['authzUrl'])!=null?_0x33435c:_0x27a3e7)!=null?_0x1a951b:qc;}async[_0x1c91cb(0x43f)](_0x2a9883){const _0x392532=_0x1c91cb,_0x26cecf=this[_0x392532(0x25b)]()+_0x392532(0x375);return{'list':[{'title':_0x392532(0x13f),'mentions':(await this['_HTTPService'][_0x392532(0x470)](_0x26cecf,{'params':{'objectID':_0x2a9883['unitId'],'unitID':_0x2a9883[_0x392532(0x3cc)]}}))[_0x392532(0x1f9)][_0x392532(0x181)][_0x392532(0x3da)](_0x25f46a=>({'objectId':_0x25f46a['id'],'name':_0x25f46a[_0x392532(0x172)][_0x392532(0x332)],'metadata':{'icon':_0x25f46a[_0x392532(0x172)][_0x392532(0x2ce)]},'label':_0x25f46a[_0x392532(0x172)][_0x392532(0x332)],'objectType':_0x1866e3[_0x392532(0x395)]})),'metadata':{},'type':_0x1866e3[_0x392532(0x395)]}]};}};gs=Kc([Ci(0x0,_0x5beccd(_0x385706)),Ci(0x1,_0x5beccd(_0x170656))],gs);var zc=Object['defineProperty'],Xc=Object[_0x1c91cb(0x439)],Jc=(_0x2f157b,_0x5dd7ff,_0x28866b,_0xc18cd)=>{const _0x39e8c6=_0x1c91cb;for(var _0x3af6e2=_0xc18cd>0x1?void 0x0:_0xc18cd?Xc(_0x5dd7ff,_0x28866b):_0x5dd7ff,_0x22def9=_0x2f157b[_0x39e8c6(0x38b)]-0x1,_0x5a9092;_0x22def9>=0x0;_0x22def9--)(_0x5a9092=_0x2f157b[_0x22def9])&&(_0x3af6e2=(_0xc18cd?_0x5a9092(_0x5dd7ff,_0x28866b,_0x3af6e2):_0x5a9092(_0x3af6e2))||_0x3af6e2);return _0xc18cd&&_0x3af6e2&&zc(_0x5dd7ff,_0x28866b,_0x3af6e2),_0x3af6e2;},et=(_0xb7e8bc,_0x49e642)=>(_0x39ed00,_0x40fe7c)=>_0x49e642(_0x39ed00,_0x40fe7c,_0xb7e8bc);let Ht=class extends _0x30a9be{constructor(_0x515a9f,_0x1f12de,_0x3db4af,_0x49172c,_0x11d0b5){const _0x51dbb3=_0x1c91cb;super(),this['_injector']=_0x515a9f,this['_univerInstanceService']=_0x1f12de,this['_permissionService']=_0x3db4af,this[_0x51dbb3(0x1f0)]=_0x49172c,this[_0x51dbb3(0x2f9)]=_0x11d0b5,this['_initUnitPermissionChange'](),this[_0x51dbb3(0x346)]();}[_0x1c91cb(0x346)](){const _0x37d751=_0x1c91cb,_0x28fabd=async _0x35208d=>{const _0x6c620e=_0x1b68;(await this['_collaborationSessionService'][_0x6c620e(0x2b6)](_0x35208d))[_0x6c620e(0x278)][_0x6c620e(0x1c3)](_0x2b7dcf(_0x53254a=>_0x53254a['eventID']===_0x596510[_0x6c620e(0x319)]),_0x35b742(this[_0x6c620e(0x1a4)]))[_0x6c620e(0x432)](_0x216cb2=>{const _0x31b73=_0x6c620e,_0x56f30e=_0x216cb2,{reason:_0x543318}=_0x56f30e['data'];this[_0x31b73(0x29f)][_0x31b73(0x470)](_0x452fb7)[_0x31b73(0x2d0)]({'type':_0x25a468['Error'],'content':this[_0x31b73(0x2f9)]['t'](_0x31b73(0x119))+'('+_0x543318+')'}),this[_0x31b73(0x1bb)][_0x31b73(0x3b1)](new _0x203d63(_0x35208d)['id'],!0x1),this['_collaborationSessionService'][_0x31b73(0x4d2)](_0x35208d);});};_0x10a92b(this[_0x37d751(0x494)][_0x37d751(0xe8)](_0x2579e6[_0x37d751(0x169)]),this[_0x37d751(0x494)][_0x37d751(0xe8)](_0x2579e6[_0x37d751(0x18f)]))[_0x37d751(0x1c3)](_0x349821(_0x1f31aa=>_0x1f31aa[_0x37d751(0x2f3)]()),_0x2b7dcf(_0x851f5d=>!_0xf17b58(_0x851f5d)),_0x35b742(this['dispose$']))[_0x37d751(0x432)](_0x2674e2=>{_0x28fabd(_0x2674e2);});}[_0x1c91cb(0x1cc)](){const _0x53b606=_0x1c91cb,_0x3043be=async _0x471b5c=>{const _0x2a2919=_0x1b68;(await this[_0x2a2919(0x1f0)][_0x2a2919(0x2b6)](_0x471b5c))[_0x2a2919(0x278)][_0x2a2919(0x1c3)](_0x2b7dcf(_0x8335ca=>_0x8335ca['eventID']===_0x596510[_0x2a2919(0x2f0)]),_0x35b742(this[_0x2a2919(0x1a4)]))['subscribe'](_0x2fbb5c=>{const _0x4d3894=_0x2a2919,_0x41816a=_0x2fbb5c,{objectId:_0x2cdecc}=_0x41816a[_0x4d3894(0x202)],_0x1d6d53=this[_0x4d3894(0x29f)][_0x4d3894(0x470)](_0x4a5f54);_0x2cdecc===_0x471b5c?_0x1d6d53[_0x4d3894(0x1bc)](_0x471b5c):_0x1d6d53[_0x4d3894(0xe2)](_0x471b5c,_0x2cdecc);});};_0x10a92b(this[_0x53b606(0x494)]['getTypeOfUnitAdded$'](_0x2579e6[_0x53b606(0x169)]),this[_0x53b606(0x494)]['getTypeOfUnitAdded$'](_0x2579e6['UNIVER_DOC']))[_0x53b606(0x1c3)](_0x349821(_0x2035db=>_0x2035db[_0x53b606(0x2f3)]()),_0x2b7dcf(_0x2921c3=>!_0xf17b58(_0x2921c3)),_0x35b742(this[_0x53b606(0x1a4)]))['subscribe'](_0x42619a=>{_0x3043be(_0x42619a);});}};Ht=Jc([et(0x0,_0x5beccd(_0x21398d)),et(0x1,_0x5283d0),et(0x2,_0x143818),et(0x3,_0x5beccd(xe)),et(0x4,_0x5beccd(_0x1f9468))],Ht);var Zc=Object[_0x1c91cb(0x502)],Qc=Object[_0x1c91cb(0x439)],eh=(_0x39e7db,_0x6dcc25,_0x1ec518,_0x36c1c8)=>{const _0x51e82a=_0x1c91cb;for(var _0x5112f6=_0x36c1c8>0x1?void 0x0:_0x36c1c8?Qc(_0x6dcc25,_0x1ec518):_0x6dcc25,_0xd5e615=_0x39e7db[_0x51e82a(0x38b)]-0x1,_0x2d53b6;_0xd5e615>=0x0;_0xd5e615--)(_0x2d53b6=_0x39e7db[_0xd5e615])&&(_0x5112f6=(_0x36c1c8?_0x2d53b6(_0x6dcc25,_0x1ec518,_0x5112f6):_0x2d53b6(_0x5112f6))||_0x5112f6);return _0x36c1c8&&_0x5112f6&&Zc(_0x6dcc25,_0x1ec518,_0x5112f6),_0x5112f6;},Ei=(_0x34480d,_0x346daf)=>(_0xecb713,_0x1430d2)=>_0x346daf(_0xecb713,_0x1430d2,_0x34480d);let Ss=class{constructor(_0x1adc8d,_0x443064){const _0x4506bd=_0x1c91cb;this[_0x4506bd(0x379)]=_0x1adc8d,this[_0x4506bd(0x478)]=_0x443064;}async[_0x1c91cb(0x1d6)](_0x305ce5,_0x58b5cb){const _0x3a9dad=_0x1c91cb;var _0x3891d0;const {unitID:_0x2389a5,type:_0x5f16e0,revision:_0x219c1e=0x0}=_0x58b5cb,_0x1f98d5=this[_0x3a9dad(0x341)]()+'/'+_0x5f16e0+_0x3a9dad(0x361)+_0x2389a5+_0x3a9dad(0x110)+_0x219c1e,_0x54eb94=(await this['_httpService'][_0x3a9dad(0x470)](_0x1f98d5))[_0x3a9dad(0x1f9)],_0x153779=(_0x3891d0=_0x54eb94[_0x3a9dad(0xe1)])==null?void 0x0:_0x3891d0[_0x3a9dad(0x20f)];if(_0x153779){const _0x159edb=_0x153779==null?void 0x0:_0x153779[_0x3a9dad(0x4be)],_0x436580=_0x1a2f26[_0x3a9dad(0x429)](_0x5aa388(_0x159edb));_0x153779[_0x3a9dad(0x4be)]=_0x436580,Object['entries'](_0x153779[_0x3a9dad(0x4b1)])['forEach'](([,_0x1f7385])=>{const _0x38ca6e=_0x3a9dad,_0x3801f4=_0x1f7385[_0x38ca6e(0x4be)],_0x1962d=_0x1a2f26[_0x38ca6e(0x429)](_0x5aa388(_0x3801f4));_0x1f7385[_0x38ca6e(0x4be)]=_0x1962d;});}return _0x54eb94;}async[_0x1c91cb(0x104)](_0x12e6e0,_0x59cb00){const _0xd32fbb=_0x1c91cb,{unitID:_0x2b9ff4,type:_0x39b2a4,blockID:_0x1e1957}=_0x59cb00,_0x1db0f0=this[_0xd32fbb(0x3d2)]()+'/'+_0x39b2a4+_0xd32fbb(0x361)+_0x2b9ff4+_0xd32fbb(0x12f)+_0x1e1957;return(await this[_0xd32fbb(0x478)]['get'](_0x1db0f0))[_0xd32fbb(0x1f9)];}async[_0x1c91cb(0x36c)](_0x2f6a0f,_0x35de79){const _0xc05ac1=_0x1c91cb,{unitID:_0x2a30a8,type:_0x1838e8,blockID:_0x58123a}=_0x35de79,_0xd0ca00=this[_0xc05ac1(0x3d2)]()+_0xc05ac1(0x12f)+_0x1838e8+_0xc05ac1(0x361)+_0x2a30a8+_0xc05ac1(0x12f)+_0x58123a;return(await this[_0xc05ac1(0x478)][_0xc05ac1(0x470)](_0xd0ca00))[_0xc05ac1(0x1f9)];}async[_0x1c91cb(0x135)](_0x4b3cab,_0x1aec54){const _0x287f8c=_0x1c91cb,{unitID:_0x557f4e,type:_0x27bc0a,from:_0x3149cf,to:_0x3ceb85}=_0x1aec54,_0x3f152a=this['_getAPIPrefix']()+'/'+_0x27bc0a+_0x287f8c(0x361)+_0x557f4e+_0x287f8c(0x217)+_0x3149cf+'&to='+_0x3ceb85;return(await this[_0x287f8c(0x478)]['get'](_0x3f152a))[_0x287f8c(0x1f9)];}[_0x1c91cb(0x341)](){const _0x472751=_0x1c91cb;var _0x544075;return(_0x544075=this['_configService'][_0x472751(0x34d)](Tn))!=null?_0x544075:this['_getAPIPrefix']();}[_0x1c91cb(0x3d2)](){const _0x59c538=_0x1c91cb;var _0x33c9d0,_0x429728;const _0x3228dc=this[_0x59c538(0x379)][_0x59c538(0x34d)](En),_0x3df8f0=this['_configService']['getConfig'](Q);return(_0x429728=(_0x33c9d0=_0x3df8f0==null?void 0x0:_0x3df8f0[_0x59c538(0x13b)])!=null?_0x33c9d0:_0x3228dc)!=null?_0x429728:bn;}async['getResourcesRequest'](_0x515397,_0x96a48b){const _0x59719c=_0x1c91cb,_0x40d908=_0x59719c(0x380)+_0x96a48b['type']+'/unit/'+_0x96a48b[_0x59719c(0x1ab)]+'/resources';return(await this['_httpService'][_0x59719c(0x470)](_0x40d908,{'params':{'resourceId':JSON[_0x59719c(0x397)](_0x96a48b[_0x59719c(0x1b0)])}}))[_0x59719c(0x1f9)];}[_0x1c91cb(0x24a)](){const _0x5c4370=_0x1c91cb;throw new Error(_0x5c4370(0x4ee));}['saveSheetBlock'](){const _0x1a5269=_0x1c91cb;throw new Error(_0x1a5269(0x4ee));}[_0x1c91cb(0x15d)](){const _0x5c76ad=_0x1c91cb;throw new Error(_0x5c76ad(0x4ee));}[_0x1c91cb(0x3e8)](){const _0x257585=_0x1c91cb;throw new Error(_0x257585(0x4ee));}[_0x1c91cb(0x1e7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ss=eh([Ei(0x0,_0x385706),Ei(0x1,_0x5beccd(_0x170656))],Ss);var th=Object['defineProperty'],sh=Object['getOwnPropertyDescriptor'],ih=(_0x4c877e,_0x2fa606,_0x3db32e,_0x233170)=>{const _0x3ed379=_0x1c91cb;for(var _0x333074=_0x233170>0x1?void 0x0:_0x233170?sh(_0x2fa606,_0x3db32e):_0x2fa606,_0x13eb3a=_0x4c877e[_0x3ed379(0x38b)]-0x1,_0x8182e8;_0x13eb3a>=0x0;_0x13eb3a--)(_0x8182e8=_0x4c877e[_0x13eb3a])&&(_0x333074=(_0x233170?_0x8182e8(_0x2fa606,_0x3db32e,_0x333074):_0x8182e8(_0x333074))||_0x333074);return _0x233170&&_0x333074&&th(_0x2fa606,_0x3db32e,_0x333074),_0x333074;},tt=(_0x90a7a8,_0x514730)=>(_0x331223,_0x564756)=>_0x514730(_0x331223,_0x564756,_0x90a7a8);let Is=class extends _0x195474{constructor(_0x3fddc7,_0x117993,_0x2467f2,_0x94726,_0x1c28b0){const _0x505cd1=_0x1c91cb;super(_0x3fddc7,_0x117993,_0x2467f2),this[_0x505cd1(0x247)]=_0x94726,this[_0x505cd1(0x2fc)]=_0x1c28b0;}[_0x1c91cb(0x447)](_0x485cb3,_0x5c1f95){const _0x46f0bc=_0x1c91cb,_0x3ff980=this[_0x46f0bc(0x1a9)](_0x485cb3);if(_0x3ff980)try{const _0x4acb6a=this[_0x46f0bc(0x3fc)](_0x3ff980,_0x5c1f95);this[_0x46f0bc(0x501)](_0x485cb3,_0x4acb6a);}catch(_0x46b261){this[_0x46f0bc(0x2fc)]['error'](_0x46f0bc(0x44d),_0x46b261),this[_0x46f0bc(0x43b)](_0x485cb3);}const _0x4a2fab=this['_getRedoStack'](_0x485cb3);if(_0x4a2fab)try{const _0x39c675=this[_0x46f0bc(0x3fc)](_0x4a2fab,_0x5c1f95);this[_0x46f0bc(0xf7)](_0x485cb3,_0x39c675);}catch(_0x3e2971){this[_0x46f0bc(0x2fc)][_0x46f0bc(0x4d3)](_0x3e2971),this[_0x46f0bc(0x344)](_0x485cb3);}}['_clearUndo'](_0x19df44){const _0x321460=_0x1c91cb,_0x3136d8=this[_0x321460(0x1a9)](_0x19df44);_0x3136d8&&(_0x3136d8['length']=0x0,this['_updateStatus']());}[_0x1c91cb(0x344)](_0x42b6da){const _0x13029=_0x1c91cb,_0x4f3966=this[_0x13029(0x2a1)](_0x42b6da);_0x4f3966&&(_0x4f3966[_0x13029(0x38b)]=0x0,this[_0x13029(0x162)]());}[_0x1c91cb(0x501)](_0x151003,_0x469171){const _0x37f7dc=_0x1c91cb;this[_0x37f7dc(0x14e)][_0x37f7dc(0x1e5)](_0x151003,_0x469171),this[_0x37f7dc(0x162)]();}[_0x1c91cb(0xf7)](_0x1fcba6,_0x51912a){const _0xc08a0e=_0x1c91cb;this['_redoStacks']['set'](_0x1fcba6,_0x51912a),this[_0xc08a0e(0x162)]();}[_0x1c91cb(0x3fc)](_0x2592fe,_0x38e58f){const _0x1560f4=_0x1c91cb,_0x5885cd=[];let _0x3af2f2=_0x38e58f,_0x8a8a5c=_0x38e58f;for(let _0x373e8b=_0x2592fe[_0x1560f4(0x38b)]-0x1;_0x373e8b>=0x0;_0x373e8b--){const {unitID:_0x209384,undoMutations:_0x5b7c2b,redoMutations:_0x36c091}=_0x2592fe[_0x373e8b],_0x1c0667=this['_transformService']['transformMutationsWithChangeset'](_0x3af2f2,_0x5b7c2b),_0x26d9f6=this['_transformService']['transformMutationsWithChangeset'](_0x8a8a5c,_0x36c091);if(_0xf8d699(_0x1c0667)||_0xf8d699(_0x26d9f6)){this['_logService'][_0x1560f4(0x4d3)](_0x1560f4(0x44d),_0x1560f4(0x481),_0x1c0667,_0x26d9f6);break;}_0x3af2f2=_0x1c0667[_0x1560f4(0x1f2)],_0x8a8a5c=_0x26d9f6[_0x1560f4(0x1f2)],_0x5885cd[_0x1560f4(0x4c1)]({'unitID':_0x209384,'undoMutations':_0x1c0667[_0x1560f4(0x20b)],'redoMutations':_0x26d9f6[_0x1560f4(0x20b)]});}return _0x5885cd[_0x1560f4(0x4cf)]();}};Is=ih([tt(0x0,_0x5283d0),tt(0x1,_0x3abf69),tt(0x2,_0x2f3e14),tt(0x3,_0x3e892f),tt(0x4,_0x535daf)],Is);class rh extends _0x30a9be{constructor(){const _0x1afc33=_0x1c91cb;super(),g(this,'urlChange$'),this['urlChange$']=_0x262ff3(window,'popstate')['pipe'](_0x13e2dd(this[_0x1afc33(0x1a4)]),_0x527819(0x1),_0x1c3c7f(void 0x0));}[_0x1c91cb(0x41b)](_0x468a3c,_0x4fe9f8,_0x4bad1b=!0x1){const _0xd262b1=_0x1c91cb,_0x35fc3e=new URL(window[_0xd262b1(0x2c2)][_0xd262b1(0x33a)]);_0x35fc3e[_0xd262b1(0x15a)][_0xd262b1(0x1e5)](_0x468a3c,_0x4fe9f8),_0x4bad1b?window[_0xd262b1(0x22c)][_0xd262b1(0x4fa)]('','',_0x35fc3e['toString']()):window[_0xd262b1(0x22c)][_0xd262b1(0x4a4)]('','',_0x35fc3e[_0xd262b1(0xfd)]());}[_0x1c91cb(0x41e)](_0x397c8c,_0x422caa=!0x1){const _0x18b80c=_0x1c91cb,_0x4dc5b7=new URL(window[_0x18b80c(0x2c2)]['href']);_0x4dc5b7[_0x18b80c(0x15a)]['delete'](_0x397c8c),_0x422caa?window[_0x18b80c(0x22c)][_0x18b80c(0x4fa)]('','',_0x4dc5b7['toString']()):window[_0x18b80c(0x22c)]['pushState']('','',_0x4dc5b7[_0x18b80c(0xfd)]());}[_0x1c91cb(0x4b3)](_0x1b20e7){const _0x734c09=_0x1c91cb;var _0x17cd43;return(_0x17cd43=new URL(window[_0x734c09(0x2c2)][_0x734c09(0x33a)])[_0x734c09(0x15a)][_0x734c09(0x470)](_0x1b20e7))!=null?_0x17cd43:void 0x0;}}var ar=Object[_0x1c91cb(0x502)],nh=Object[_0x1c91cb(0x439)],oh=(_0x4dda00,_0x535a76,_0x3d2307)=>_0x535a76 in _0x4dda00?ar(_0x4dda00,_0x535a76,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d2307}):_0x4dda00[_0x535a76]=_0x3d2307,ah=(_0x4b079c,_0x1b05ec,_0xd35912,_0x275d9c)=>{const _0x35f2d9=_0x1c91cb;for(var _0x11b4e0=_0x275d9c>0x1?void 0x0:_0x275d9c?nh(_0x1b05ec,_0xd35912):_0x1b05ec,_0x57044c=_0x4b079c[_0x35f2d9(0x38b)]-0x1,_0x48bac4;_0x57044c>=0x0;_0x57044c--)(_0x48bac4=_0x4b079c[_0x57044c])&&(_0x11b4e0=(_0x275d9c?_0x48bac4(_0x1b05ec,_0xd35912,_0x11b4e0):_0x48bac4(_0x11b4e0))||_0x11b4e0);return _0x275d9c&&_0x11b4e0&&ar(_0x1b05ec,_0xd35912,_0x11b4e0),_0x11b4e0;},_t=(_0x584bdf,_0xbcac0a)=>(_0x13da73,_0x1d4666)=>_0xbcac0a(_0x13da73,_0x1d4666,_0x584bdf),ch=(_0x2d49ab,_0x1ddbc6,_0x1da1ad)=>oh(_0x2d49ab,_0x1ddbc6+'',_0x1da1ad);const hh=_0x1c91cb(0x506);let Cs=class extends _0x41c2ab{constructor(_0xaa48b2=Bn,_0x42f8cb,_0x324755,_0x420ef4,_0x2c5629){const _0x31f65f=_0x1c91cb;super(),this[_0x31f65f(0x2a7)]=_0xaa48b2,this[_0x31f65f(0x2fc)]=_0x42f8cb,this[_0x31f65f(0x318)]=_0x324755,this[_0x31f65f(0x29f)]=_0x420ef4,this[_0x31f65f(0x379)]=_0x2c5629;const {..._0x444440}=this[_0x31f65f(0x2a7)];this[_0x31f65f(0x379)]['setConfig'](Q,_0x444440);}[_0x1c91cb(0x3d8)](){const _0x5d8d47=_0x1c91cb;this[_0x5d8d47(0x4a1)](),this[_0x5d8d47(0x20a)]();}[_0x1c91cb(0x1f7)](){const _0x1bb12a=_0x1c91cb;_0x3b7115(this[_0x1bb12a(0x29f)],[[xt],[Ut]]);}['onRendered'](){const _0x25330e=_0x1c91cb;this[_0x25330e(0x384)]();}['_registerDependencies'](){const _0x5d6067=_0x1c91cb;var _0x379ea1,_0x4fb249,_0x3cf1f6,_0x1e1f30;this[_0x5d6067(0x29f)]['has'](_0x3ac068)&&this[_0x5d6067(0x2fc)][_0x5d6067(0x4d3)]('[UniverCollaborationClientPlugin]',_0x5d6067(0xf6));const _0x27be80=[[_0x3ac068,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x11b680],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0x4fb249=(_0x379ea1=this['_config'])==null?void 0x0:_0x379ea1['socketService'])!=null?_0x4fb249:cs}],[_0x2fb7b6,{'useClass':Ss}],[_0x4cbfe7,{'useClass':ps}],[_0x36aea0,{'useClass':ms}],[_0x3fa18d,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x3cf1f6=this['_config'])!=null&&_0x3cf1f6[_0x5d6067(0x190)]&&_0x27be80[_0x5d6067(0x4c1)]([jt,{'useClass':Co}]),_0x453377(this[_0x5d6067(0x29f)],_0x1fb426(_0x27be80,(_0x1e1f30=this['_config'])==null?void 0x0:_0x1e1f30[_0x5d6067(0x1ba)]));}['_registerRenderDependencies'](){const _0x2624c6=_0x1c91cb;this[_0x2624c6(0x29c)](this[_0x2624c6(0x318)][_0x2624c6(0x287)](_0x2579e6[_0x2624c6(0x18f)],[fs])),this['disposeWithMe'](this[_0x2624c6(0x318)][_0x2624c6(0x287)](_0x2579e6[_0x2624c6(0x169)],[vs]));}[_0x1c91cb(0x20a)](){const _0xa56aa8=_0x1c91cb;var _0x5b86a6,_0x2cd62e;this[_0xa56aa8(0x29f)]['get'](_0x170656)[_0xa56aa8(0x262)]({'priority':0x14,'interceptor':_0x108d46({'maxParallel':0x6})}),(_0x5b86a6=this[_0xa56aa8(0x2a7)])!=null&&_0x5b86a6[_0xa56aa8(0x420)]||this[_0xa56aa8(0x29f)][_0xa56aa8(0x470)](z)[_0xa56aa8(0x186)](),(_0x2cd62e=this[_0xa56aa8(0x2a7)])!=null&&_0x2cd62e[_0xa56aa8(0x44f)]&&_0x3b7115(this[_0xa56aa8(0x29f)],[[Lt]]),_0x3b7115(this['_injector'],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,_0x1c91cb(0x1bf),hh),Cs=ah([_0x313217(_0x373846,_0x5a0ef5),_t(0x1,_0x535daf),_t(0x2,_0x2e1553),_t(0x3,_0x5beccd(_0x21398d)),_t(0x4,_0x385706)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};
1
+ const _0x5e3172=_0x1eb2;(function(_0x39b754,_0x2f135a){const _0x3e60b1=_0x1eb2,_0x197efc=_0x39b754();while(!![]){try{const _0x230929=parseInt(_0x3e60b1(0x3ff))/0x1*(parseInt(_0x3e60b1(0x26e))/0x2)+-parseInt(_0x3e60b1(0x3dc))/0x3*(parseInt(_0x3e60b1(0x3fb))/0x4)+parseInt(_0x3e60b1(0x208))/0x5+parseInt(_0x3e60b1(0x400))/0x6+-parseInt(_0x3e60b1(0x173))/0x7*(parseInt(_0x3e60b1(0x3e3))/0x8)+parseInt(_0x3e60b1(0x4b8))/0x9*(parseInt(_0x3e60b1(0x179))/0xa)+parseInt(_0x3e60b1(0x384))/0xb;if(_0x230929===_0x2f135a)break;else _0x197efc['push'](_0x197efc['shift']());}catch(_0x31303e){_0x197efc['push'](_0x197efc['shift']());}}}(_0x1abc,0x4c1d9));var cr=Object['defineProperty'],hr=(_0x15b577,_0x52334e,_0x16f8fd)=>_0x52334e in _0x15b577?cr(_0x15b577,_0x52334e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16f8fd}):_0x15b577[_0x52334e]=_0x16f8fd,g=(_0x42e6cd,_0x202912,_0x3c81be)=>hr(_0x42e6cd,typeof _0x202912!=_0x5e3172(0x36d)?_0x202912+'':_0x202912,_0x3c81be);import{createIdentifier as _0x311f8c,Inject as _0x1259a7,Disposable as _0x5f337f,DisposableCollection as _0x1f64b1,toDisposable as _0x38e5fb,IConfigService as _0x3a37b7,ILogService as _0xadcc6,UserManagerService as _0x43b087,UniverInstanceType as _0xfbb68f,IUniverInstanceService as _0x381e7e,LocaleService as _0x56a2bf,Optional as _0x2f5f30,RxDisposable as _0x5ce84d,Injector as _0xa6ca3c,Tools as _0x279a54,ILocalStorageService as _0x489004,Rectangle as _0x50302c,ICommandService as _0x58c2c0,DOC_RANGE_TYPE as _0x263740,JSONX as _0x1bb50c,CommandType as _0x57cf4b,IPermissionService as _0x51028f,IUndoRedoService as _0x2d3235,sequenceExecute as _0x399b47,debounce as _0x38f51c,COLORS as _0x341aed,ColorKit as _0x5842d9,ThemeService as _0x3b15b9,fromEventSubject as _0xb2198c,useDependency as _0x57885b,connectInjector as _0x517e5d,Workbook as _0x1d9cb8,MentionType as _0xbf08a,isInternalEditorID as _0x48d1da,LocalUndoRedoService as _0x301e35,IContextService as _0x1f3c95,DependentOn as _0x447968,Plugin as _0x35856f,touchDependencies as _0x3ab8ae,IAuthzIoService as _0x5ae3ef,IMentionIOService as _0x5c1989,registerDependencies as _0x3ef291,mergeOverrideWithDependencies as _0x11b22e}from'@univerjs/core';import{Subject as _0x1b8780,merge as _0x143e60,takeUntil as _0x34041a,BehaviorSubject as _0xd0d94b,distinctUntilChanged as _0x11e04f,fromEvent as _0x1a191c,ReplaySubject as _0x3d17ca,take as _0x3decc5,map as _0x461042,shareReplay as _0x55695a,of as _0x4f62b6,debounceTime as _0x5fe042,filter as _0x446160,switchMap as _0x12c24e,combineLatest as _0x1bfc9f,concatMap as _0x21776c,mapTo as _0x15c046}from'rxjs';import{map as _0x2945cf,take as _0x287b41,filter as _0x3c0a43,delay as _0x5a47b9,throttleTime as _0x14e77d,takeUntil as _0x209ee4,switchMap as _0x506a28}from'rxjs/operators';import{MessageType as _0x59169d,Tooltip as _0x172eaf}from'@univerjs/design';import{HTTPService as _0x21ff0e,WebSocketService as _0x5b73a6,MergeInterceptorFactory as _0x146515,HTTPRequest as _0x427f8d,UniverNetworkPlugin as _0x284272,ThresholdInterceptorFactory as _0x3d2a05}from'@univerjs/network';import{IBeforeCloseService as _0x38bd7e,IMessageService as _0x28a2c3,INotificationService as _0xe36565,useObservable as _0x82b757,BuiltInUIPart as _0x4a568e,IUIPartsService as _0x5beba5}from'@univerjs/ui';import{CollaborationEvent as _0x385814,parseChangesetToProtocol as _0x103c14,ISnapshotServerService as _0x18e368,isTransformMutationFailure as _0x29729a,isTransformMutationsWithChangesetSuccess as _0x17cfb3,ITransformService as _0x2a04be,RevisionService as _0x5730a1,mapDocumentTypeToUniverType as _0x20d9fb,isTransformChangesetsSuccess as _0x1b6696,CompressMutationService as _0x2efac4,parseProtocolChangeset as _0x5e0840,SnapshotService as _0x2dad5b,textEncoder as _0xf9a5c6,b64DecodeUnicode as _0x1a04e2,isTransformMutationsWithChangesetFailure as _0x2ccc3c,UniverCollaborationPlugin as _0x30e153}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x42c595}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x195c19,RichTextEditingMutation as _0x48d9a2,SetTextSelectionsOperation as _0x6a5ee2,DocSkeletonManagerService as _0x218e07}from'@univerjs/docs';import{DocIMEInputManagerService as _0x3ded9c,DocStateChangeManagerService as _0x59d42b,IDocClipboardService as _0x51fcd5,NodePositionConvertToCursor as _0x23a52e,NodePositionConvertToRectRange as _0x135bfe,TEXT_RANGE_LAYER_INDEX as _0x2641c4,SetDocZoomRatioOperation as _0x56f25a}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x10dd54,SetSelectionsOperation as _0x3f708e,InsertSheetMutation as _0x1c7d98,EmptyMutation as _0x4b8f30,WorkbookEditablePermission as _0x1a4341,RefRangeService as _0x4fe9a5,EffectRefRangId as _0x1d34c9,handleIRemoveRow as _0x45470d,handleIRemoveCol as _0x2f48a3,handleMoveRange as _0x16c781,handleInsertRow as _0x57fbd7,handleInsertRangeMoveRight as _0x10303e,handleInsertRangeMoveDown as _0x28267d,handleInsertCol as _0x4f5a43,handleDeleteRangeMoveUp as _0x34bf8e,handleDeleteRangeMoveLeft as _0xa5d192,runRefRangeMutations as _0x212980,SetWorksheetActivateCommand as _0x5d7f9e}from'@univerjs/sheets';import{IRenderManagerService as _0x2d7ddc,Shape as _0x3f24aa,Rect as _0x5876ba,getColor as _0x58cb0a,RegularPolygon as _0x2f6ca8,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2759c0,Vector2 as _0x40d11c,SHEET_VIEWPORT_KEY as _0x3dbe35}from'@univerjs/engine-render';import{IImageIoService as _0x1c8798,ImageSourceType as _0xa7900e,ImageUploadStatusType as _0x2f0162}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x987e76,serializeRangeWithSheet as _0x51efb3}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x5d1f2f,getCoordByCell as _0x1028ea,getSheetObject as _0x7eaba5,SheetPermissionInitController as _0x25b747}from'@univerjs/sheets-ui';import _0x165312,{forwardRef as _0x5af4de,useRef as _0xa7cda3,createElement as _0x27aa2b,useCallback as _0x3c29fa}from'react';import{IRemoteInstanceService as _0x4ec8cb}from'@univerjs/rpc';const En='SNAPSHOT_SERVER_URL_KEY',bn='/universer-api/snapshot',Tn=_0x5e3172(0x457),wh=_0x5e3172(0x19c),Rn=0x7d0,On=_0x5e3172(0x182),yn='ws://127.0.0.1:8000/universer-api/comb/connect',wn=_0x5e3172(0x201),Dn=_0x5e3172(0x513),Pn=0x7530,ki='HEARTBEAT_TIMEOUT',Wi=0x4e20,Nn=0x4e20,Un=_0x5e3172(0x362),An=0x3,Mn=_0x5e3172(0x127),xn=0x3e8,Ln=_0x5e3172(0x1b8),$n=_0x5e3172(0x444),Hn='LOGIN_URL_KEY',jn=_0x5e3172(0x4e7);var Fi=(_0x1e25dd=>(_0x1e25dd[_0x1e25dd[_0x5e3172(0x252)]=0x0]=_0x5e3172(0x252),_0x1e25dd[_0x1e25dd['OK']=0x1]='OK',_0x1e25dd[_0x1e25dd[_0x5e3172(0x3d4)]=0x2]='INTERNAL_ERROR',_0x1e25dd[_0x1e25dd['PERMISSION_DENIED']=0x3]=_0x5e3172(0x4f8),_0x1e25dd[_0x1e25dd[_0x5e3172(0x22f)]=0x4]=_0x5e3172(0x22f),_0x1e25dd[_0x1e25dd[_0x5e3172(0x3f4)]=0x5]=_0x5e3172(0x3f4),_0x1e25dd[_0x1e25dd[_0x5e3172(0x3fa)]=0x6]=_0x5e3172(0x3fa),_0x1e25dd[_0x1e25dd[_0x5e3172(0x181)]=0x7]='INVALID_ARGUMENT',_0x1e25dd[_0x1e25dd['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1e25dd[_0x1e25dd[_0x5e3172(0x4e3)]=0x9]=_0x5e3172(0x4e3),_0x1e25dd[_0x1e25dd[_0x5e3172(0x36c)]=0x1389]=_0x5e3172(0x36c),_0x1e25dd[_0x1e25dd[_0x5e3172(0x4e0)]=0x1771]=_0x5e3172(0x4e0),_0x1e25dd[_0x1e25dd[_0x5e3172(0x171)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1e25dd[_0x1e25dd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5e3172(0x323),_0x1e25dd[_0x1e25dd['APPLY_REJECT']=0x1b59]=_0x5e3172(0x478),_0x1e25dd[_0x1e25dd['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5e3172(0x1b0),_0x1e25dd[_0x1e25dd[_0x5e3172(0x2fb)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1e25dd[_0x1e25dd[_0x5e3172(0x3ab)]=0x1b5c]=_0x5e3172(0x3ab),_0x1e25dd[_0x1e25dd['APPLY_DUPLICATED']=0x1b5d]=_0x5e3172(0x1f3),_0x1e25dd[_0x1e25dd[_0x5e3172(0x337)]=0x1f41]=_0x5e3172(0x337),_0x1e25dd[_0x1e25dd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5e3172(0x35c),_0x1e25dd[_0x1e25dd[_0x5e3172(0x330)]=0x232a]=_0x5e3172(0x330),_0x1e25dd[_0x1e25dd[_0x5e3172(0x138)]=0x232b]=_0x5e3172(0x138),_0x1e25dd[_0x1e25dd[_0x5e3172(0x351)]=0x232c]=_0x5e3172(0x351),_0x1e25dd[_0x1e25dd[_0x5e3172(0x42a)]=0x232d]=_0x5e3172(0x42a),_0x1e25dd[_0x1e25dd[_0x5e3172(0x1f0)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1e25dd[_0x1e25dd['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1e25dd[_0x1e25dd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5e3172(0x1ad),_0x1e25dd[_0x1e25dd[_0x5e3172(0x3b0)]=0x2714]=_0x5e3172(0x3b0),_0x1e25dd[_0x1e25dd['UNRECOGNIZED']=-0x1]=_0x5e3172(0x175),_0x1e25dd))(Fi||{}),ae=(_0x14fa79=>(_0x14fa79[_0x14fa79['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x14fa79[_0x14fa79['UNIVER_DOC']=0x1]=_0x5e3172(0x11d),_0x14fa79[_0x14fa79[_0x5e3172(0x1c2)]=0x2]='UNIVER_SHEET',_0x14fa79[_0x14fa79[_0x5e3172(0x32e)]=0x3]=_0x5e3172(0x32e),_0x14fa79[_0x14fa79[_0x5e3172(0x375)]=0x4]='UNIVER_PROJECT',_0x14fa79[_0x14fa79[_0x5e3172(0x175)]=-0x1]=_0x5e3172(0x175),_0x14fa79))(ae||{}),W=(_0x80a1be=>(_0x80a1be[_0x80a1be[_0x5e3172(0x39d)]=0x0]=_0x5e3172(0x39d),_0x80a1be[_0x80a1be[_0x5e3172(0x33e)]=0x1]=_0x5e3172(0x33e),_0x80a1be[_0x80a1be['JOIN']=0x2]=_0x5e3172(0x1ac),_0x80a1be[_0x80a1be['LEAVE']=0x3]=_0x5e3172(0x1df),_0x80a1be[_0x80a1be[_0x5e3172(0x23c)]=0x4]=_0x5e3172(0x23c),_0x80a1be[_0x80a1be[_0x5e3172(0x420)]=0x5]=_0x5e3172(0x420),_0x80a1be[_0x80a1be['RECV']=0x6]=_0x5e3172(0x31b),_0x80a1be[_0x80a1be[_0x5e3172(0x175)]=-0x1]='UNRECOGNIZED',_0x80a1be))(W||{}),Pe=(_0x4a8764=>(_0x4a8764[_0x4a8764[_0x5e3172(0x34b)]=0x0]=_0x5e3172(0x34b),_0x4a8764[_0x4a8764['OK']=0x1]='OK',_0x4a8764[_0x4a8764[_0x5e3172(0x1cd)]=0x2]='FAIL',_0x4a8764[_0x4a8764[_0x5e3172(0x164)]=0x3e9]=_0x5e3172(0x164),_0x4a8764[_0x4a8764[_0x5e3172(0x12e)]=0x3ea]=_0x5e3172(0x12e),_0x4a8764[_0x4a8764[_0x5e3172(0x267)]=0x3eb]=_0x5e3172(0x267),_0x4a8764[_0x4a8764[_0x5e3172(0x1af)]=0x3ec]=_0x5e3172(0x1af),_0x4a8764[_0x4a8764[_0x5e3172(0x175)]=-0x1]=_0x5e3172(0x175),_0x4a8764))(Pe||{}),Vi=(_0x471e2d=>(_0x471e2d[_0x471e2d['Undefined']=0x0]=_0x5e3172(0x317),_0x471e2d[_0x471e2d[_0x5e3172(0x446)]=0x1]='HttpImport',_0x471e2d[_0x471e2d['HttpExport']=0x2]=_0x5e3172(0x160),_0x471e2d[_0x471e2d[_0x5e3172(0x16c)]=0x3]=_0x5e3172(0x16c),_0x471e2d[_0x471e2d['UnitSnapshot']=0x4]=_0x5e3172(0x439),_0x471e2d[_0x471e2d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x471e2d))(Vi||{});const Q=_0x5e3172(0x497),Bn={};function kn(_0x17f977){const _0x20357d=_0x5e3172;var _0xf13991,_0x3462bc,_0x30f07e,_0x2c7e82,_0x59507d;const _0x387b23=_0x17f977['data'],_0x39cef7=JSON['parse'](_0x387b23);switch(_0x39cef7[_0x20357d(0x35f)]){case W[_0x20357d(0x420)]:case W[_0x20357d(0x33e)]:{const _0x5a37fd=_0x39cef7[_0x20357d(0x3d1)];return{..._0x39cef7,'data':_0x5a37fd,'cmd':_0x39cef7[_0x20357d(0x35f)]};}case W[_0x20357d(0x1ac)]:{const _0x5be17b=_0x39cef7[_0x20357d(0x2d8)];return{..._0x39cef7,'data':_0x5be17b,'cmd':_0x39cef7['cmd']};}case W['RECV']:{const _0x3fdbd6=_0x39cef7[_0x20357d(0x21b)];switch(_0x3fdbd6['eventID']){case _0x385814[_0x20357d(0x3e9)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0xf13991=_0x3fdbd6[_0x20357d(0x2cb)])==null?void 0x0:_0xf13991['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x2e5)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x3462bc=_0x3fdbd6[_0x20357d(0x150)])==null?void 0x0:_0x3462bc['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x331)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x30f07e=_0x3fdbd6['newCsEvent'])==null?void 0x0:_0x30f07e['cs']},'cmd':_0x39cef7['cmd']};case _0x385814['CHANGESET_REJ']:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x2c7e82=_0x3fdbd6['csRejEvent'])==null?void 0x0:_0x2c7e82['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x155)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':(_0x59507d=_0x3fdbd6[_0x20357d(0x453)])==null?void 0x0:_0x59507d['cs']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x514)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x142)]},'cmd':_0x39cef7['cmd']};case _0x385814['USERS_ENTER']:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6['joinEvent']},'cmd':_0x39cef7['cmd']};case _0x385814[_0x20357d(0x10f)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x4ed)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x4bc)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x3d2)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x251)]:case _0x385814[_0x20357d(0x30b)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x46a)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x250)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x3d2)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814['MSG_FOR_ERROR']:return{..._0x39cef7,'data':_0x3fdbd6,'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x2a9)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6['commentUpdateEvent']},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x278)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6[_0x20357d(0x532)]},'cmd':_0x39cef7[_0x20357d(0x35f)]};case _0x385814[_0x20357d(0x137)]:return{..._0x39cef7,'data':{..._0x3fdbd6,'data':_0x3fdbd6['shouldCloseConn']},'cmd':_0x39cef7[_0x20357d(0x35f)]};default:return _0x39cef7;}}default:return _0x39cef7;}}function Wn(_0x14763b){const _0x476fa2=_0x5e3172;switch(_0x14763b[_0x476fa2(0x35f)]){case W[_0x476fa2(0x420)]:case W[_0x476fa2(0x33e)]:return JSON['stringify']({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b['routeKey']});case W[_0x476fa2(0x23c)]:{let _0x55ed95;switch(_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x451)]){case _0x385814[_0x476fa2(0x514)]:{_0x55ed95={'eventID':_0x385814['UPDATE_CURSOR'],'updateCursorEvent':_0x14763b['data']['data']};break;}case _0x385814[_0x476fa2(0x10f)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x10f)],'leaveEvent':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x3c2)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x3c2)],'joinEvent':_0x14763b['data'][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x4bc)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x4bc)],'liveShareNewHost':_0x14763b[_0x476fa2(0x288)]['data']};break;}case _0x385814[_0x476fa2(0x30b)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x30b)],'liveShareOperation':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x250)]:{_0x55ed95={'eventID':_0x385814['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x288)]};break;}case _0x385814[_0x476fa2(0x157)]:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x157)],'liveShareRequestHost':_0x14763b[_0x476fa2(0x288)]['data']};break;}case _0x385814['LIVESHARE_FETCH_OPERATIONS']:{_0x55ed95={'eventID':_0x385814[_0x476fa2(0x251)]};break;}default:_0x55ed95={'eventID':_0x14763b[_0x476fa2(0x288)][_0x476fa2(0x451)]};}return JSON[_0x476fa2(0x50f)]({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b[_0x476fa2(0x318)],'collaMsg':_0x55ed95});}case W[_0x476fa2(0x1ac)]:return JSON[_0x476fa2(0x50f)]({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b[_0x476fa2(0x318)],'joinReq':_0x14763b['data']});case W[_0x476fa2(0x1df)]:return JSON['stringify']({'cmd':_0x14763b[_0x476fa2(0x35f)],'routeKey':_0x14763b[_0x476fa2(0x318)],'leaveReq':_0x14763b[_0x476fa2(0x288)]});default:throw new Error(_0x476fa2(0x398));}}var Fn=Object[_0x5e3172(0x243)],Vn=Object[_0x5e3172(0x26f)],Gn=(_0x2d42c6,_0x190d4f,_0x3ce1d2,_0x1bd443)=>{const _0x4b6f99=_0x5e3172;for(var _0x3b5253=_0x1bd443>0x1?void 0x0:_0x1bd443?Vn(_0x190d4f,_0x3ce1d2):_0x190d4f,_0x3d9c32=_0x2d42c6[_0x4b6f99(0x2c8)]-0x1,_0x431c26;_0x3d9c32>=0x0;_0x3d9c32--)(_0x431c26=_0x2d42c6[_0x3d9c32])&&(_0x3b5253=(_0x1bd443?_0x431c26(_0x190d4f,_0x3ce1d2,_0x3b5253):_0x431c26(_0x3b5253))||_0x3b5253);return _0x1bd443&&_0x3b5253&&Fn(_0x190d4f,_0x3ce1d2,_0x3b5253),_0x3b5253;},ze=(_0x10a368,_0xb11ce9)=>(_0x446084,_0x5387ac)=>_0xb11ce9(_0x446084,_0x5387ac,_0x10a368);const Gi=_0x311f8c(_0x5e3172(0x141));function Yn(_0x5247e3,_0x458ff8,_0x407fb8){return _0x5247e3+'/'+_0x458ff8+'/unit/'+_0x407fb8+'/new_changes';}let cs=class extends _0x5f337f{constructor(_0xd6e93d,_0x2de433,_0x3d5edd,_0x5015f2,_0x5b56a0){const _0x591725=_0x5e3172;super(),this['_http']=_0xd6e93d,this['_ws']=_0x2de433,this[_0x591725(0x270)]=_0x3d5edd,this[_0x591725(0x52d)]=_0x5015f2,this[_0x591725(0x41d)]=_0x5b56a0;}[_0x5e3172(0x111)](_0x2d68b5){const _0x2834a5=_0x5e3172,_0x428e93=this[_0x2834a5(0x4a0)]['createSocket'](_0x2d68b5);if(!_0x428e93)throw new Error(_0x2834a5(0x17a));const _0x27aaa4=new _0x1f64b1(),_0x561bbc=new _0x1b8780();_0x27aaa4['add'](_0x428e93[_0x2834a5(0x3b8)][_0x2834a5(0x134)](_0x350d41=>_0x561bbc[_0x2834a5(0x23b)](_0x350d41))),_0x27aaa4[_0x2834a5(0x15f)](_0x38e5fb(()=>_0x561bbc['complete']()));const _0x6deb48=new _0x1b8780();_0x27aaa4[_0x2834a5(0x15f)](_0x428e93[_0x2834a5(0x521)][_0x2834a5(0x134)](_0x5cc656=>_0x6deb48['next'](_0x5cc656))),_0x27aaa4[_0x2834a5(0x15f)](_0x38e5fb(()=>_0x6deb48['complete']()));const _0x63127e=new _0x1b8780();_0x27aaa4[_0x2834a5(0x15f)](_0x428e93[_0x2834a5(0x4a1)][_0x2834a5(0x134)](_0x43646d=>{const _0x5ebe18=_0x2834a5,_0x56cb89=kn(_0x43646d);_0x63127e[_0x5ebe18(0x23b)](_0x56cb89);})),_0x27aaa4['add'](_0x38e5fb(()=>_0x63127e['complete']()));let _0x843f0a;const _0x1c6832=()=>{const _0x51288a=_0x2834a5;_0x6deb48[_0x51288a(0x23b)](new Event(_0x51288a(0x4a2))),_0x561bbc[_0x51288a(0x23b)](new CloseEvent(_0x51288a(0x4a2))),_0x843f0a[_0x51288a(0x177)]();};return _0x843f0a={'memberID':'','close$':_0x561bbc[_0x2834a5(0x306)](),'error$':_0x6deb48[_0x2834a5(0x306)](),'open$':_0x428e93['open$'],'message$':_0x63127e[_0x2834a5(0x306)](),'send':_0x2ef2b4=>{const _0x57d91f=_0x2834a5;if(_0x2ef2b4[_0x57d91f(0x35f)]===W[_0x57d91f(0x23c)]){if(_0x2ef2b4[_0x57d91f(0x288)]['eventID']===_0x385814[_0x57d91f(0x27a)]){this[_0x57d91f(0x393)](_0x843f0a,_0x2ef2b4['data'])[_0x57d91f(0x33b)](_0x21502b=>{const _0x614ad9=_0x57d91f;this[_0x614ad9(0x52d)]['error'](_0x21502b),_0x1c6832();});return;}if(_0x2ef2b4[_0x57d91f(0x288)]['eventID']===_0x385814['FETCH_MISSING']){const _0x1d6701=_0x2ef2b4['data'];this[_0x57d91f(0x355)](_0x1d6701)['then'](_0x2430f6=>{const _0x5b373a=_0x57d91f;_0x63127e['next']({'cmd':W['RECV'],'code':Pe['OK'],'routeKey':_0x1d6701[_0x5b373a(0x288)][_0x5b373a(0x4e4)],'routeType':'','data':{'eventID':_0x385814[_0x5b373a(0x46d)],'data':{'changesets':_0x2430f6}}});})['catch'](_0x18da79=>{const _0x21d0bd=_0x57d91f;this[_0x21d0bd(0x52d)]['error'](_0x18da79),_0x1c6832();});return;}}_0x428e93['send'](Wn(_0x2ef2b4));},'close':()=>{const _0x58835e=_0x2834a5;_0x428e93[_0x58835e(0x177)](),_0x27aaa4[_0x58835e(0x48f)]();}},_0x843f0a;}async['_submitChangeset'](_0x2a2316,_0x3fc3b2){const _0x56846c=_0x5e3172;var _0x1bf7d4,_0x19d167;const {unitType:_0x5c86c7,unitID:_0x4d7cbc,changeset:_0x6e456c}=_0x3fc3b2[_0x56846c(0x288)],_0x4029e6={'unitID':_0x4d7cbc,'memberID':_0x2a2316['memberID'],'type':_0x5c86c7,'changeset':_0x103c14(_0x6e456c)},_0x4c542d=this[_0x56846c(0x270)][_0x56846c(0x186)](Ln),_0xa2ddbd=this[_0x56846c(0x270)]['getConfig'](Q),_0x425adf=Yn((_0x19d167=(_0x1bf7d4=_0xa2ddbd==null?void 0x0:_0xa2ddbd[_0x56846c(0x23f)])!=null?_0x1bf7d4:_0x4c542d)!=null?_0x19d167:$n,_0x5c86c7,_0x4d7cbc);try{await this['_http'][_0x56846c(0x2a5)](_0x425adf,{'body':_0x4029e6});}catch(_0x577686){throw this[_0x56846c(0x52d)][_0x56846c(0x295)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x577686;}}async[_0x5e3172(0x355)](_0x36b46){const _0x2658d7=_0x5e3172,{unitID:_0x983c91,from:_0x1515fe,to:_0x514340,unitType:_0x3710e0}=_0x36b46[_0x2658d7(0x288)];return(await this[_0x2658d7(0x41d)][_0x2658d7(0x41a)]({'metadata':void 0x0},{'unitID':_0x983c91,'type':_0x3710e0,'from':_0x1515fe,'to':_0x514340}))[_0x2658d7(0x3fd)];}};cs=Gn([ze(0x0,_0x1259a7(_0x21ff0e)),ze(0x1,_0x1259a7(_0x5b73a6)),ze(0x2,_0x3a37b7),ze(0x3,_0xadcc6),ze(0x4,_0x18e368)],cs);const Kn=_0x5e3172(0x474);function qn(_0xa7edf3){const _0x4fee80=_0x5e3172;return JSON[_0x4fee80(0x50f)](_0xa7edf3)[_0x4fee80(0x2c8)];}class Yi{constructor(){const _0x2628f0=_0x5e3172;g(this,_0x2628f0(0x537),new _0x1b8780()),g(this,_0x2628f0(0x210),this['_commentUpdate$'][_0x2628f0(0x306)]());}[_0x5e3172(0x263)](_0x4ea9e1){const _0x447e00=_0x5e3172;this['_commentUpdate$'][_0x447e00(0x23b)](_0x4ea9e1);}}var zn=Object['defineProperty'],Xn=Object[_0x5e3172(0x26f)],Jn=(_0x1245b5,_0x334b43,_0x50d036,_0x558731)=>{for(var _0x2841fe=_0x558731>0x1?void 0x0:_0x558731?Xn(_0x334b43,_0x50d036):_0x334b43,_0x4df9df=_0x1245b5['length']-0x1,_0x4ef320;_0x4df9df>=0x0;_0x4df9df--)(_0x4ef320=_0x1245b5[_0x4df9df])&&(_0x2841fe=(_0x558731?_0x4ef320(_0x334b43,_0x50d036,_0x2841fe):_0x4ef320(_0x2841fe))||_0x2841fe);return _0x558731&&_0x2841fe&&zn(_0x334b43,_0x50d036,_0x2841fe),_0x2841fe;},Ks=(_0x2fe8ad,_0x2f5ce6)=>(_0x88ffee,_0x5c2de2)=>_0x2f5ce6(_0x88ffee,_0x5c2de2,_0x2fe8ad);let Me=class extends _0x5f337f{constructor(_0x4b5a53,_0x1a06dc){const _0x477203=_0x5e3172;super(),g(this,'_roomMembers',new Map()),(this[_0x477203(0x153)]=_0x4b5a53,this['_userManagerService']=_0x1a06dc,this[_0x477203(0x2d9)](_0x38e5fb(_0x143e60(this[_0x477203(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f['UNIVER_SHEET'])['pipe'](_0x2945cf(_0x200919=>_0x200919[_0x477203(0x12f)]())),this[_0x477203(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f[_0x477203(0x11d)])['pipe'](_0x2945cf(_0x1530d4=>_0x1530d4['getUnitId']())),this[_0x477203(0x153)][_0x477203(0x241)](_0xfbb68f['UNIVER_SLIDE'])[_0x477203(0x4b6)](_0x2945cf(_0xf4bd21=>_0xf4bd21[_0x477203(0x12f)]())))[_0x477203(0x134)](_0x3d80ca=>this[_0x477203(0x441)](_0x3d80ca)))));}[_0x5e3172(0x287)](_0x4b7a81){const _0x30b697=_0x5e3172;this[_0x30b697(0x414)][_0x30b697(0x287)](_0x4b7a81);}[_0x5e3172(0x3d8)](){const _0x5b6677=_0x5e3172;return this[_0x5b6677(0x414)][_0x5b6677(0x3d8)]();}[_0x5e3172(0x508)](_0x5dc18e,_0x5a2bfb){const _0x213924=_0x5e3172;let _0x40cb28=this[_0x213924(0x222)]['get'](_0x5dc18e);_0x40cb28||(_0x40cb28=new Zn(),this['_roomMembers'][_0x213924(0x332)](_0x5dc18e,_0x40cb28)),_0x40cb28[_0x213924(0x508)](_0x5a2bfb);}[_0x5e3172(0x37f)](_0x531bc1,_0xa8192a){const _0x155d74=_0x5e3172,_0x477309=this[_0x155d74(0x222)][_0x155d74(0x307)](_0x531bc1);_0x477309&&_0x477309[_0x155d74(0x37f)](_0xa8192a);}[_0x5e3172(0x44a)](_0x34a8f7){const _0x2f30f2=_0x5e3172;return this[_0x2f30f2(0x222)]['get'](_0x34a8f7);}[_0x5e3172(0x116)](_0x2f595a,_0x29b080){const _0x5cf4fa=_0x5e3172,_0x292aa1=this[_0x5cf4fa(0x222)]['get'](_0x2f595a);if(_0x292aa1)return _0x292aa1['getMember'](_0x29b080);}[_0x5e3172(0x441)](_0x151e2b){const _0x2719d3=_0x5e3172,_0x91fae9=this[_0x2719d3(0x222)][_0x2719d3(0x307)](_0x151e2b);_0x91fae9&&(_0x91fae9[_0x2719d3(0x48f)](),this['_roomMembers']['delete'](_0x151e2b));}['dispose'](){const _0x278e5e=_0x5e3172;this[_0x278e5e(0x222)][_0x278e5e(0x356)](_0x2409a2=>_0x2409a2[_0x278e5e(0x48f)]()),this[_0x278e5e(0x222)]['clear']();}};Me=Jn([Ks(0x0,_0x381e7e),Ks(0x1,_0x1259a7(_0x43b087))],Me);class Zn extends _0x5f337f{constructor(){super(...arguments),g(this,'_members',new Map());}[_0x5e3172(0x48f)](){const _0x4b7ab7=_0x5e3172;this[_0x4b7ab7(0x15d)][_0x4b7ab7(0x3db)]();}[_0x5e3172(0x508)](_0x2cf65e){this['_members']['set'](_0x2cf65e['memberID'],_0x2cf65e);}[_0x5e3172(0x37f)](_0x2c8d28){const _0x5c9597=_0x5e3172;this[_0x5c9597(0x15d)][_0x5c9597(0x480)](_0x2c8d28);}[_0x5e3172(0x116)](_0x49f3e8){const _0x5afc54=_0x5e3172;return this[_0x5afc54(0x15d)][_0x5afc54(0x307)](_0x49f3e8);}[_0x5e3172(0x19b)](){const _0x1ce631=_0x5e3172;return Array[_0x1ce631(0x49e)](this[_0x1ce631(0x15d)][_0x1ce631(0x21a)]());}}var Qn=Object[_0x5e3172(0x243)],eo=Object['getOwnPropertyDescriptor'],to=(_0x39a800,_0x9d7f3f,_0x4c4611,_0x47bd6c)=>{for(var _0x47c961=_0x47bd6c>0x1?void 0x0:_0x47bd6c?eo(_0x9d7f3f,_0x4c4611):_0x9d7f3f,_0x16ffd1=_0x39a800['length']-0x1,_0x2b2eb1;_0x16ffd1>=0x0;_0x16ffd1--)(_0x2b2eb1=_0x39a800[_0x16ffd1])&&(_0x47c961=(_0x47bd6c?_0x2b2eb1(_0x9d7f3f,_0x4c4611,_0x47c961):_0x2b2eb1(_0x47c961))||_0x47c961);return _0x47bd6c&&_0x47c961&&Qn(_0x9d7f3f,_0x4c4611,_0x47c961),_0x47c961;},Ee=(_0x56fe93,_0x205064)=>(_0x18f8b6,_0x4d0ebe)=>_0x205064(_0x18f8b6,_0x4d0ebe,_0x56fe93),fe=(_0x1e94cc=>(_0x1e94cc[_0x1e94cc[_0x5e3172(0x352)]=0x0]=_0x5e3172(0x352),_0x1e94cc[_0x1e94cc[_0x5e3172(0x51c)]=0x1]=_0x5e3172(0x51c),_0x1e94cc[_0x1e94cc['OFFLINE']=0x2]=_0x5e3172(0x4d7),_0x1e94cc[_0x1e94cc['ONLINE']=0x3]=_0x5e3172(0x2e2),_0x1e94cc))(fe||{});const qs={[Pe[_0x5e3172(0x1cd)]]:_0x5e3172(0x3e6),[Pe[_0x5e3172(0x164)]]:_0x5e3172(0x14e),[Pe[_0x5e3172(0x12e)]]:_0x5e3172(0x25c),[Pe[_0x5e3172(0x267)]]:_0x5e3172(0x1eb),[Pe[_0x5e3172(0x1af)]]:'session.room-cnt-exceeds'};let hs=class extends _0x5ce84d{constructor(_0x3d3998,_0x3eabf4,_0x549ef3,_0x51e2bd,_0x1cfb8a,_0x18af0e,_0x2466a2,_0xd3f03d,_0x58c8c5,_0x2e20ed){const _0x23c703=_0x5e3172;super(),g(this,_0x23c703(0x50b),new _0xd0d94b(0x0)),g(this,_0x23c703(0x18c),this[_0x23c703(0x50b)]['asObservable']()),g(this,_0x23c703(0x15a),new _0x1b8780()),g(this,_0x23c703(0x2c6),this['_event$']['asObservable']()),g(this,_0x23c703(0x437)),g(this,_0x23c703(0x174)),g(this,_0x23c703(0x2ac)),g(this,_0x23c703(0x367),!0x1),g(this,_0x23c703(0x238),null),(this[_0x23c703(0x507)]=_0x3d3998,this['_logService']=_0x549ef3,this['_beforeCloseService']=_0x51e2bd,this[_0x23c703(0x1ee)]=_0x1cfb8a,this[_0x23c703(0x270)]=_0x18af0e,this[_0x23c703(0x48a)]=_0x2466a2,this['_memberService']=_0xd3f03d,this[_0x23c703(0x119)]=_0x58c8c5,this[_0x23c703(0x234)]=_0x2e20ed,this[_0x23c703(0x367)]=!!this[_0x23c703(0x234)],_0x3eabf4[_0x23c703(0x4b6)](_0x34041a(this[_0x23c703(0x511)]))['subscribe'](_0x493201=>{const _0x5ad192=_0x23c703;var _0x52275b;typeof _0x493201>'u'||(this[_0x5ad192(0x437)]=_0x493201,_0x493201?(this[_0x5ad192(0x139)](_0x493201),this[_0x5ad192(0x174)]=_0x493201[_0x5ad192(0x4a1)]['subscribe'](_0xe23949=>{const _0x3f3d5b=_0x5ad192;_0xe23949['routeKey']===this[_0x3f3d5b(0x507)]&&this[_0x3f3d5b(0x246)](_0xe23949);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5ad192(0x50b)][_0x5ad192(0x23b)](0x2),(_0x52275b=this[_0x5ad192(0x174)])==null||_0x52275b[_0x5ad192(0x527)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0x23c703(0x2b6)][_0x23c703(0x196)](()=>{const _0x4961a0=_0x23c703;var _0x379be3;(_0x379be3=this['_socket'])==null||_0x379be3[_0x4961a0(0x3e0)]({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x5e3172(0x189)](){const _0x5d4309=_0x5e3172;return this[_0x5d4309(0x50b)][_0x5d4309(0x15b)]();}[_0x5e3172(0x399)](){const _0x3290cf=_0x5e3172;var _0x585a8a,_0xf8a0a8;return(_0xf8a0a8=(_0x585a8a=this[_0x3290cf(0x437)])==null?void 0x0:_0x585a8a[_0x3290cf(0x3f1)])!=null?_0xf8a0a8:null;}[_0x5e3172(0x48f)](){const _0x5e1fab=_0x5e3172;super[_0x5e1fab(0x48f)](),this[_0x5e1fab(0x511)][_0x5e1fab(0x23b)](),this[_0x5e1fab(0x511)][_0x5e1fab(0x41f)]();}[_0x5e3172(0x177)](){const _0x42faca=_0x5e3172;var _0x4fe6a6,_0x279018;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4fe6a6=this['_socket'])==null||_0x4fe6a6[_0x42faca(0x3e0)]({'cmd':W[_0x42faca(0x1df)],'data':{'roomID':this[_0x42faca(0x507)]}}),(_0x279018=this[_0x42faca(0x437)])==null||_0x279018[_0x42faca(0x177)](),this[_0x42faca(0x15a)][_0x42faca(0x41f)](),this[_0x42faca(0x50b)][_0x42faca(0x41f)](),this[_0x42faca(0x48f)]();}[_0x5e3172(0x246)](_0x33467d){const _0x44029b=_0x5e3172;_0x33467d[_0x44029b(0x35f)]===W[_0x44029b(0x1ac)]?this['_onJoinRoomEvent'](_0x33467d):_0x33467d[_0x44029b(0x35f)]===W[_0x44029b(0x31b)]&&this[_0x44029b(0x275)](_0x33467d);}['_joinRoom'](_0x596e41){const _0x49e5b7=_0x5e3172;this[_0x49e5b7(0x50b)]['next'](0x1),_0x596e41[_0x49e5b7(0x3e0)]({'cmd':W[_0x49e5b7(0x1ac)],'routeKey':this[_0x49e5b7(0x507)],'routeType':'','data':{'rooms':[{'roomID':this[_0x49e5b7(0x507)]}]}});}['_onJoinRoomEvent'](_0x3146e0){const _0x3c76bc=_0x5e3172;var _0x31eb00;if(_0x3146e0['code']in qs){this['_messageService'][_0x3c76bc(0x4b7)]({'type':_0x59169d[_0x3c76bc(0x18b)],'content':this[_0x3c76bc(0x48a)]['t'](qs[_0x3146e0[_0x3c76bc(0x1d0)]])}),this[_0x3c76bc(0x50b)][_0x3c76bc(0x23b)](0x2);return;}this[_0x3c76bc(0x50b)]['next'](0x3);const _0x31b9d1=(_0x31eb00=_0x3146e0[_0x3c76bc(0x288)][_0x3c76bc(0x4d3)][this[_0x3c76bc(0x507)]])==null?void 0x0:_0x31eb00[_0x3c76bc(0x4e1)];_0x31b9d1&&_0x31b9d1['forEach'](_0x17f7c1=>this[_0x3c76bc(0x16b)][_0x3c76bc(0x508)](this[_0x3c76bc(0x507)],_0x17f7c1));}['_onRecvEvent'](_0xf7219){const _0x18ea7c=_0x5e3172;try{const _0x228d34=_0xf7219[_0x18ea7c(0x288)];switch(_0x228d34[_0x18ea7c(0x451)]){case _0x385814[_0x18ea7c(0x3c2)]:this[_0x18ea7c(0x28d)](_0x228d34),this['_event$'][_0x18ea7c(0x23b)](_0x228d34);break;case _0x385814[_0x18ea7c(0x10f)]:this['_onUserLeave'](_0x228d34),this['_event$']['next'](_0x228d34);break;case _0x385814[_0x18ea7c(0x2e5)]:case _0x385814['CHANGESET_SHOULD_RETRY']:this[_0x18ea7c(0x178)](),this[_0x18ea7c(0x2ce)](),this[_0x18ea7c(0x15a)][_0x18ea7c(0x23b)](_0x228d34);break;case _0x385814[_0x18ea7c(0x411)]:this[_0x18ea7c(0x52d)][_0x18ea7c(0x295)](_0x18ea7c(0x133)+JSON[_0x18ea7c(0x50f)](_0x228d34)),this[_0x18ea7c(0x15a)][_0x18ea7c(0x23b)](_0x228d34);break;case _0x385814[_0x18ea7c(0x2a9)]:this[_0x18ea7c(0x119)][_0x18ea7c(0x263)](_0x228d34[_0x18ea7c(0x288)]),this[_0x18ea7c(0x15a)]['next'](_0x228d34);break;default:this[_0x18ea7c(0x15a)][_0x18ea7c(0x23b)](_0x228d34);}}catch(_0x1d67d4){this[_0x18ea7c(0x52d)][_0x18ea7c(0x295)](_0x1d67d4,_0xf7219);}}[_0x5e3172(0x28d)](_0x46f969){const _0x40d09e=_0x5e3172;this[_0x40d09e(0x16b)][_0x40d09e(0x508)](this[_0x40d09e(0x507)],_0x46f969[_0x40d09e(0x288)]);}[_0x5e3172(0x45a)](_0x4490ad){const _0x423670=_0x5e3172;this[_0x423670(0x16b)][_0x423670(0x37f)](this['_unitID'],_0x4490ad[_0x423670(0x288)]['memberID']);}async[_0x5e3172(0x3e0)](_0xa2ab26,_0x1a9bf4){const _0xf04ad=_0x5e3172;if(this[_0xf04ad(0x189)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xa2ab26[_0xf04ad(0x451)]===_0x385814['SUBMIT_CHANGESET']&&(this[_0xf04ad(0x3d5)](),this[_0xf04ad(0x4fa)](_0xa2ab26)),this['_socket'][_0xf04ad(0x3e0)]({'cmd':W[_0xf04ad(0x23c)],'routeKey':_0x1a9bf4,'routeType':'','data':_0xa2ab26});}catch(_0x5d0a00){this[_0xf04ad(0x52d)][_0xf04ad(0x295)](_0x5d0a00);}}['_scheduleCollaborationTimeoutTimer'](){const _0x4cab0d=_0x5e3172;var _0x4b26e6;this[_0x4cab0d(0x2ac)]=window[_0x4cab0d(0x273)](()=>{const _0x49dc70=_0x4cab0d;this[_0x49dc70(0x2ac)]=null,this[_0x49dc70(0x1ee)][_0x49dc70(0x4b7)]({'type':_0x59169d[_0x49dc70(0x135)],'content':this[_0x49dc70(0x48a)]['t']('session.collaboration-timeout')});},(_0x4b26e6=this[_0x4cab0d(0x270)][_0x4cab0d(0x186)](ki))!=null?_0x4b26e6:Wi);}['_clearCollaborationTimeoutTimer'](){const _0x5b5439=_0x5e3172;this[_0x5b5439(0x2ac)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x5b5439(0x2ac)]=null);}[_0x5e3172(0x4fa)](_0x4b3164){const _0x2b8a42=_0x5e3172;if(!this[_0x2b8a42(0x367)])return;const {data:_0x2b086c}=_0x4b3164,{unitID:_0x1facc7,changeset:_0x1a65eb}=_0x2b086c,{mutations:_0xf68e39,type:_0x39494f}=_0x1a65eb;this[_0x2b8a42(0x238)]={'unitId':_0x1facc7,'type':_0x39494f,'startTime':performance[_0x2b8a42(0x256)](),'stopTime':0x0,'duration':0x0,'size':qn(_0xf68e39)};}[_0x5e3172(0x178)](){const _0x2ba02b=_0x5e3172;if(this['_shouldReportTelemetry']){if(!this[_0x2ba02b(0x238)]){this[_0x2ba02b(0x52d)][_0x2ba02b(0x295)](_0x2ba02b(0x487),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2ba02b(0x238)][_0x2ba02b(0x4a5)]=performance[_0x2ba02b(0x256)](),this['_telemetryInfo'][_0x2ba02b(0x290)]=this[_0x2ba02b(0x238)]['stopTime']-this[_0x2ba02b(0x238)][_0x2ba02b(0x194)],this[_0x2ba02b(0x234)][_0x2ba02b(0x1a2)](Kn,this[_0x2ba02b(0x238)]),this['_telemetryInfo']=null;}}[_0x5e3172(0x4fc)](){const _0x2ae619=_0x5e3172;this[_0x2ae619(0x238)]=null;}};hs=to([Ee(0x2,_0xadcc6),Ee(0x3,_0x38bd7e),Ee(0x4,_0x28a2c3),Ee(0x5,_0x3a37b7),Ee(0x6,_0x1259a7(_0x56a2bf)),Ee(0x7,_0x1259a7(Me)),Ee(0x8,_0x1259a7(Yi)),Ee(0x9,_0x2f5f30(_0x42c595))],hs);var so=Object['defineProperty'],io=Object[_0x5e3172(0x26f)],ro=(_0x5e8d8b,_0x383c17,_0x54df92,_0x3689a6)=>{const _0x4e0732=_0x5e3172;for(var _0x518b13=_0x3689a6>0x1?void 0x0:_0x3689a6?io(_0x383c17,_0x54df92):_0x383c17,_0xc3ebec=_0x5e8d8b[_0x4e0732(0x2c8)]-0x1,_0x2116bc;_0xc3ebec>=0x0;_0xc3ebec--)(_0x2116bc=_0x5e8d8b[_0xc3ebec])&&(_0x518b13=(_0x3689a6?_0x2116bc(_0x383c17,_0x54df92,_0x518b13):_0x2116bc(_0x518b13))||_0x518b13);return _0x3689a6&&_0x518b13&&so(_0x383c17,_0x54df92,_0x518b13),_0x518b13;},ye=(_0x58c95a,_0x553a23)=>(_0x42e168,_0x52b47f)=>_0x553a23(_0x42e168,_0x52b47f,_0x58c95a);let xe=class extends _0x5f337f{constructor(_0xfd5a90,_0x1b76f9,_0x2a4dda,_0x54eed2,_0x1a14bc,_0x7febe9,_0x402a35){const _0x27f3d5=_0x5e3172;super(),g(this,_0x27f3d5(0x1d7),new _0xd0d94b(void 0x0)),g(this,'socket$',this[_0x27f3d5(0x1d7)][_0x27f3d5(0x306)]()),g(this,_0x27f3d5(0x187),null),g(this,_0x27f3d5(0x17f),new Map()),g(this,_0x27f3d5(0x1d6),new _0xd0d94b(fe[_0x27f3d5(0x352)])),g(this,_0x27f3d5(0x52f),this['_status$'][_0x27f3d5(0x306)]()),g(this,_0x27f3d5(0x1d4),!0x1),g(this,_0x27f3d5(0x3c3)),g(this,_0x27f3d5(0x2f7),0x0),g(this,_0x27f3d5(0x12d)),g(this,_0x27f3d5(0x311)),(this['_injector']=_0xfd5a90,this[_0x27f3d5(0x48a)]=_0x1b76f9,this[_0x27f3d5(0x1ee)]=_0x2a4dda,this[_0x27f3d5(0x52d)]=_0x54eed2,this[_0x27f3d5(0x270)]=_0x1a14bc,this[_0x27f3d5(0x2b3)]=_0x7febe9,this['_httpService']=_0x402a35,this[_0x27f3d5(0x3cf)]());}get[_0x5e3172(0x437)](){const _0x1ef607=_0x5e3172;return this[_0x1ef607(0x1d7)]['getValue']();}[_0x5e3172(0x3cf)](){const _0x1df571=_0x5e3172;this[_0x1df571(0x145)](),this[_0x1df571(0x2e8)]();}[_0x5e3172(0x48f)](){const _0x366a1c=_0x5e3172;super['dispose'](),this[_0x366a1c(0x17f)]['forEach'](_0x57ecf5=>_0x57ecf5['dispose']()),this[_0x366a1c(0x17f)][_0x366a1c(0x3db)](),this['_status$'][_0x366a1c(0x41f)]();}async[_0x5e3172(0x17e)](_0x4de43d){const _0x23e2f2=_0x5e3172;if(this['_sessions'][_0x23e2f2(0x3cb)](_0x4de43d))return this[_0x23e2f2(0x17f)][_0x23e2f2(0x307)](_0x4de43d);this['_tryEnsureSocket']();const _0x273206=this[_0x23e2f2(0x3b4)][_0x23e2f2(0x13c)](hs,_0x4de43d,this[_0x23e2f2(0x1d7)][_0x23e2f2(0x306)]());return this[_0x23e2f2(0x17f)][_0x23e2f2(0x332)](_0x4de43d,_0x273206),_0x273206;}['closeSession'](_0xa93c75){const _0x4baebc=_0x5e3172;var _0x4f5643;const _0x4a0606=this['_sessions'][_0x4baebc(0x307)](_0xa93c75);_0x4a0606&&(this['_sessions'][_0x4baebc(0x480)](_0xa93c75),_0x4a0606['close']()),this[_0x4baebc(0x17f)][_0x4baebc(0x3aa)]||(_0x4f5643=this[_0x4baebc(0x437)])==null||_0x4f5643[_0x4baebc(0x177)]();}['reconnect'](){const _0x56693b=_0x5e3172;this['_retryCount']=0x0,this[_0x56693b(0x3c3)]!=null&&(clearTimeout(this[_0x56693b(0x3c3)]),this['_retryConnectingTimer']=null),this[_0x56693b(0x322)]();}async[_0x5e3172(0x3d6)](){const _0x37ffad=_0x5e3172;var _0x478709,_0x3e8dae,_0x4ccfa4;const _0x2c9c16=this[_0x37ffad(0x270)]['getConfig'](Q),_0x445e35=(_0x478709=_0x2c9c16==null?void 0x0:_0x2c9c16['wsSessionTicketUrl'])!=null?_0x478709:wn;return(_0x4ccfa4=(_0x3e8dae=(await this['_httpService'][_0x37ffad(0x307)](_0x445e35,{'headers':{'Content-Type':_0x37ffad(0x17b)}}))[_0x37ffad(0x2da)])==null?void 0x0:_0x3e8dae['ticket'])!=null?_0x4ccfa4:'';}[_0x5e3172(0x3da)](_0x163086){const _0x572bff=_0x5e3172;var _0x5d185b,_0x2731b0;const _0x504784=this[_0x572bff(0x270)][_0x572bff(0x186)](On),_0x33b5ef=this[_0x572bff(0x270)][_0x572bff(0x186)](Q),_0x2df0a4=(_0x2731b0=(_0x5d185b=_0x33b5ef==null?void 0x0:_0x33b5ef[_0x572bff(0x2dd)])!=null?_0x5d185b:_0x504784)!=null?_0x2731b0:yn,_0xea6b91=new URL(_0x2df0a4,window[_0x572bff(0x4e2)]['origin']);return _0xea6b91['searchParams'][_0x572bff(0x332)]('sessionTicket',_0x163086),_0xea6b91[_0x572bff(0x129)]();}async[_0x5e3172(0x348)](){const _0x18b459=_0x5e3172,_0x1efbe=await this[_0x18b459(0x3d6)](),_0x510ce7=this['_createSocketURL'](_0x1efbe),_0x25ad56=this[_0x18b459(0x2b3)][_0x18b459(0x111)](_0x510ce7);return this['_candidateSocket']=_0x25ad56,_0x25ad56;}async[_0x5e3172(0x1b7)](){const _0xb75577=_0x5e3172;var _0x501ae9,_0x2528bf;try{const _0x494b0f=(_0x2528bf=(_0x501ae9=this['_socket'])!=null?_0x501ae9:this[_0xb75577(0x187)])!=null?_0x2528bf:await this[_0xb75577(0x348)]();if(_0x494b0f){const _0x58ed8d=_0x494b0f['send'];_0x494b0f[_0xb75577(0x3e0)]=_0x1a5431=>(this['_rescheduleHeartbeat'](),_0x58ed8d[_0xb75577(0x212)](_0x494b0f,[_0x1a5431])),_0x494b0f[_0xb75577(0x4a1)]['subscribe'](_0x54be46=>this[_0xb75577(0x156)](_0x494b0f,_0x54be46)),_0x494b0f[_0xb75577(0x521)][_0xb75577(0x4b6)](_0x287b41(0x1))[_0xb75577(0x134)](_0x1103e7=>this['_logService'][_0xb75577(0x295)](_0xb75577(0x476),_0x1103e7)),_0x494b0f['open$']['pipe'](_0x287b41(0x1))[_0xb75577(0x134)](()=>{this['_onConnectionOpen'](_0x494b0f);}),_0x494b0f[_0xb75577(0x3b8)]['pipe'](_0x287b41(0x1))['subscribe'](_0x32f5a0=>{const _0x1b9a88=_0xb75577;this['_logService'][_0x1b9a88(0x16d)](_0x1b9a88(0x1c4),_0x1b9a88(0x4ce),_0x32f5a0),this['_onConnectionFailed']();});}}catch(_0x5db971){this['_logService']['error'](_0x5db971),this[_0xb75577(0x1b5)]();}}[_0x5e3172(0x2ba)](_0x359406){const _0x33f2cb=_0x5e3172;this[_0x33f2cb(0x52d)]['debug'](_0x33f2cb(0x1c4),_0x33f2cb(0x18d)),_0x359406[_0x33f2cb(0x3e0)]({'cmd':W[_0x33f2cb(0x33e)]}),this[_0x33f2cb(0x427)]();}[_0x5e3172(0x145)](){const _0x550e2b=_0x5e3172;window[_0x550e2b(0x522)](_0x550e2b(0x11b),()=>this[_0x550e2b(0x31a)]());}[_0x5e3172(0x31a)](){const _0x1f1bd5=_0x5e3172;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x1f1bd5(0x23b)](fe['OFFLINE']),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this[_0x1f1bd5(0x4f0)]();}['_onConnectionFailed'](){const _0x55486e=_0x5e3172;var _0xdb8e37;this[_0x55486e(0x31a)](),this[_0x55486e(0x2f7)]<((_0xdb8e37=this[_0x55486e(0x270)][_0x55486e(0x186)](Un))!=null?_0xdb8e37:An)?(this[_0x55486e(0x1ee)][_0x55486e(0x4b7)]({'key':_0x55486e(0x198),'type':_0x59169d[_0x55486e(0x18b)],'content':this[_0x55486e(0x48a)]['t'](_0x55486e(0x4ca))}),this[_0x55486e(0x322)]()):this['_messageService']['show']({'key':'collaboration-session-retry','type':_0x59169d['Error'],'content':this[_0x55486e(0x48a)]['t'](_0x55486e(0x3b2))});}['_listenToOnlineEvent'](){const _0x463cde=_0x5e3172,_0x3079af=()=>{const _0x9472fa=_0x1eb2;this['_socket']||this[_0x9472fa(0x48b)]();},_0x41b05f=()=>{const _0x1c81a4=_0x1eb2;this[_0x1c81a4(0x437)]||document['visibilityState']===_0x1c81a4(0x185)||this[_0x1c81a4(0x48b)]();};window[_0x463cde(0x522)]('online',_0x3079af),document[_0x463cde(0x522)]('visibilitychange',_0x41b05f);}[_0x5e3172(0x322)](){const _0x348249=_0x5e3172;var _0x57ef63;const _0x32c7cf=this[_0x348249(0x2f7)],_0x622768=this[_0x348249(0x270)][_0x348249(0x186)](Q),_0xeb33fc=_0x32c7cf===0x0?0x0:((_0x57ef63=_0x622768==null?void 0x0:_0x622768[_0x348249(0x319)])!=null?_0x57ef63:Nn)*0x2**_0x32c7cf;this[_0x348249(0x3c3)]=window[_0x348249(0x273)](()=>{const _0x41c67a=_0x348249;clearTimeout(this[_0x41c67a(0x3c3)]),this[_0x41c67a(0x3c3)]=null,this[_0x41c67a(0x1b7)]();},_0xeb33fc),this[_0x348249(0x2f7)]+=0x1;}['_onMessage'](_0x3fa92f,_0x1f2e51){const _0x4157c6=_0x5e3172,{cmd:_0x5efba3}=_0x1f2e51;_0x5efba3===W[_0x4157c6(0x33e)]&&!this[_0x4157c6(0x1d4)]&&(_0x3fa92f[_0x4157c6(0x3f1)]=_0x1f2e51[_0x4157c6(0x288)]['memberID'],this[_0x4157c6(0x1d7)][_0x4157c6(0x23b)](_0x3fa92f),this['_status$'][_0x4157c6(0x23b)](fe[_0x4157c6(0x2e2)]),this[_0x4157c6(0x1d4)]=!0x0,this[_0x4157c6(0x187)]=null),_0x5efba3===W[_0x4157c6(0x420)]&&this['_clearTimeoutTimer'](),this[_0x4157c6(0x427)]();}[_0x5e3172(0x427)](){const _0x41d33a=_0x5e3172;var _0x450232;this[_0x41d33a(0x4f0)](),this[_0x41d33a(0x12d)]=window[_0x41d33a(0x273)](()=>this['_sendHeartbeat'](),(_0x450232=this[_0x41d33a(0x270)][_0x41d33a(0x186)](Dn))!=null?_0x450232:Pn);}[_0x5e3172(0x445)](){const _0x716955=_0x5e3172;this[_0x716955(0x437)][_0x716955(0x3e0)]({'cmd':W[_0x716955(0x420)]}),this[_0x716955(0x2d3)]();}[_0x5e3172(0x2d3)](){const _0x27de45=_0x5e3172;var _0x106058;this[_0x27de45(0x311)]=window['setTimeout'](()=>this[_0x27de45(0x1b5)](),(_0x106058=this[_0x27de45(0x270)][_0x27de45(0x186)](ki))!=null?_0x106058:Wi);}[_0x5e3172(0x4f0)](){const _0x2d7b59=_0x5e3172;this[_0x2d7b59(0x12d)]!=null&&(clearTimeout(this[_0x2d7b59(0x12d)]),this['_sendHeartbeatTimer']=null);}[_0x5e3172(0x2f1)](){const _0x52ca72=_0x5e3172;this[_0x52ca72(0x311)]!=null&&(clearTimeout(this[_0x52ca72(0x311)]),this[_0x52ca72(0x311)]=null);}};xe=ro([ye(0x0,_0x1259a7(_0xa6ca3c)),ye(0x1,_0x1259a7(_0x56a2bf)),ye(0x2,_0x28a2c3),ye(0x3,_0xadcc6),ye(0x4,_0x3a37b7),ye(0x5,Gi),ye(0x6,_0x1259a7(_0x21ff0e))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)[_0x5e3172(0x129)](0x10)[_0x5e3172(0x469)](0x1));function no(_0x8d3d4b,_0x504228=0x0){const _0x337337=_0x5e3172;return(Y[_0x8d3d4b[_0x504228+0x0]]+Y[_0x8d3d4b[_0x504228+0x1]]+Y[_0x8d3d4b[_0x504228+0x2]]+Y[_0x8d3d4b[_0x504228+0x3]]+'-'+Y[_0x8d3d4b[_0x504228+0x4]]+Y[_0x8d3d4b[_0x504228+0x5]]+'-'+Y[_0x8d3d4b[_0x504228+0x6]]+Y[_0x8d3d4b[_0x504228+0x7]]+'-'+Y[_0x8d3d4b[_0x504228+0x8]]+Y[_0x8d3d4b[_0x504228+0x9]]+'-'+Y[_0x8d3d4b[_0x504228+0xa]]+Y[_0x8d3d4b[_0x504228+0xb]]+Y[_0x8d3d4b[_0x504228+0xc]]+Y[_0x8d3d4b[_0x504228+0xd]]+Y[_0x8d3d4b[_0x504228+0xe]]+Y[_0x8d3d4b[_0x504228+0xf]])[_0x337337(0x1cc)]();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x58bdca=_0x5e3172;if(!Gt){if(typeof crypto>'u'||!crypto[_0x58bdca(0x2db)])throw new Error(_0x58bdca(0x27f));Gt=crypto[_0x58bdca(0x2db)][_0x58bdca(0x40e)](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto[_0x5e3172(0x325)]&&crypto[_0x5e3172(0x325)][_0x5e3172(0x40e)](crypto),zs={'randomUUID':co};function ho(_0x461f80,_0x1c2437,_0x4d9dd8){const _0x9b796f=_0x5e3172;if(zs['randomUUID']&&!_0x1c2437&&!_0x461f80)return zs['randomUUID']();_0x461f80=_0x461f80||{};const _0x2d8266=_0x461f80[_0x9b796f(0x34c)]||(_0x461f80['rng']||ao)();return _0x2d8266[0x6]=_0x2d8266[0x6]&0xf|0x40,_0x2d8266[0x8]=_0x2d8266[0x8]&0x3f|0x80,no(_0x2d8266);}var lo=Object[_0x5e3172(0x243)],_o=Object['getOwnPropertyDescriptor'],uo=(_0x21b7da,_0x16fb36,_0x278aef,_0x15f61e)=>{for(var _0x3680c3=_0x15f61e>0x1?void 0x0:_0x15f61e?_o(_0x16fb36,_0x278aef):_0x16fb36,_0x153ad3=_0x21b7da['length']-0x1,_0x2f183c;_0x153ad3>=0x0;_0x153ad3--)(_0x2f183c=_0x21b7da[_0x153ad3])&&(_0x3680c3=(_0x15f61e?_0x2f183c(_0x16fb36,_0x278aef,_0x3680c3):_0x2f183c(_0x3680c3))||_0x3680c3);return _0x15f61e&&_0x3680c3&&lo(_0x16fb36,_0x278aef,_0x3680c3),_0x3680c3;},Yt=(_0x5c30cd,_0x5cd188)=>(_0xe1f822,_0x527f68)=>_0x5cd188(_0xe1f822,_0x527f68,_0x5c30cd);let yt=class{constructor(_0x27993f,_0x1e821a,_0x209376){const _0x252c47=_0x5e3172;this[_0x252c47(0x3b4)]=_0x27993f,this[_0x252c47(0x4ff)]=_0x1e821a,this[_0x252c47(0x4ee)]=_0x209376;}[_0x5e3172(0x1d8)](_0x31d3e7){const _0x258148=_0x5e3172;this[_0x258148(0x2f0)](_0x31d3e7),this[_0x258148(0x440)](_0x31d3e7);}[_0x5e3172(0x3a2)](_0x2a812c){const _0x1740c6=_0x5e3172,{unitID:_0x411b1d}=_0x2a812c,_0x429a4c=this[_0x1740c6(0x4ee)][_0x1740c6(0x340)](_0x411b1d)[_0x1740c6(0x3c4)](_0x3ded9c),{redoCache:_0x1b22d2}=_0x429a4c[_0x1740c6(0x1e4)]();if(_0x1b22d2[_0x1740c6(0x2c8)]===0x0)return _0x2a812c;let _0xbb3a18=_0x279a54['deepClone'](_0x2a812c['mutations'][0x0]);for(let _0x3a4e09=0x0;_0x3a4e09<_0x1b22d2[_0x1740c6(0x2c8)];_0x3a4e09++){const _0x402251={'id':'doc.mutation.rich-text-editing','params':{..._0x1b22d2[_0x3a4e09]}},_0x1f7825=this['_transformService'][_0x1740c6(0x357)](_0xbb3a18,_0x402251,!0x1);if(_0x29729a(_0x1f7825))throw _0x1f7825[_0x1740c6(0x295)];_0xbb3a18=_0x1f7825[_0x1740c6(0x4df)];}return{..._0x279a54['deepClone'](_0x2a812c),'mutations':[_0xbb3a18]};}['_transformUndoRedoStack'](_0x33d8af){const _0x290f0f=_0x5e3172,{unitID:_0xca9435}=_0x33d8af,_0x4eea35=this[_0x290f0f(0x4ee)][_0x290f0f(0x340)](_0xca9435)[_0x290f0f(0x3c4)](_0x3ded9c),{undoCache:_0x5db5b8,redoCache:_0x430d83}=_0x4eea35[_0x290f0f(0x1e4)]();if(_0x5db5b8['length']===0x0||_0x430d83[_0x290f0f(0x2c8)]===0x0)return;const _0x55d77a=[],_0x58c8a6=[];let _0x5a642a=_0x279a54[_0x290f0f(0x3d3)](_0x33d8af[_0x290f0f(0x1b2)][0x0]),_0x325ce3=_0x279a54[_0x290f0f(0x3d3)](_0x33d8af[_0x290f0f(0x1b2)][0x0]);for(let _0x2eebbd=_0x5db5b8[_0x290f0f(0x2c8)]-0x1;_0x2eebbd>=0x0;_0x2eebbd--){const _0xbf63dd={'id':_0x290f0f(0x42b),'params':{..._0x5db5b8[_0x2eebbd]}},_0x5a0e9a={'id':_0x290f0f(0x42b),'params':{..._0x430d83[_0x2eebbd]}},_0x2c7971=this[_0x290f0f(0x4ff)][_0x290f0f(0x357)](_0x5a642a,_0xbf63dd,!0x1),_0xd0fc6e=this[_0x290f0f(0x4ff)]['transformMutation'](_0x325ce3,_0x5a0e9a,!0x1);if(_0x29729a(_0x2c7971))throw _0x2c7971[_0x290f0f(0x295)];if(_0x29729a(_0xd0fc6e))throw _0xd0fc6e[_0x290f0f(0x295)];_0x55d77a[_0x290f0f(0x4d0)](_0x2c7971['m2Prime'][_0x290f0f(0x436)]),_0x58c8a6[_0x290f0f(0x4d0)](_0xd0fc6e[_0x290f0f(0x20f)][_0x290f0f(0x436)]),_0x5a642a=_0x2c7971['m1Prime'],_0x325ce3=_0xd0fc6e[_0x290f0f(0x4df)];}_0x4eea35[_0x290f0f(0x377)]({'undoCache':_0x55d77a,'redoCache':_0x58c8a6});}[_0x5e3172(0x440)](_0x4dcd26){const _0x3bcc07=_0x5e3172,{unitID:_0x56d4d1}=_0x4dcd26,_0x5e46c9=this[_0x3bcc07(0x4ee)][_0x3bcc07(0x340)](_0x56d4d1)[_0x3bcc07(0x3c4)](_0x3ded9c),_0x3a916a=_0x5e46c9[_0x3bcc07(0x294)]();if(_0x3a916a==null)return;const _0x51ed5d=[{'id':_0x3bcc07(0x42b),'params':{'unitId':_0x4dcd26[_0x3bcc07(0x4e4)],'actions':null,'textRanges':[_0x3a916a]}}],_0x439e56=this[_0x3bcc07(0x4ff)][_0x3bcc07(0x4a6)](_0x4dcd26,_0x51ed5d);if(!_0x17cfb3(_0x439e56))throw _0x439e56[_0x3bcc07(0x295)];const _0x2a359d=_0x439e56[_0x3bcc07(0x20f)][0x0][_0x3bcc07(0x436)][_0x3bcc07(0x495)];Array['isArray'](_0x2a359d)&&_0x2a359d[_0x3bcc07(0x2c8)]&&_0x5e46c9[_0x3bcc07(0x239)](_0x2a359d[0x0]);}};yt=uo([Yt(0x0,_0x1259a7(_0xa6ca3c)),Yt(0x1,_0x2a04be),Yt(0x2,_0x2d7ddc)],yt);var fo=Object[_0x5e3172(0x243)],vo=Object[_0x5e3172(0x26f)],po=(_0xd73d1e,_0x7cb30f,_0x566de3,_0x40a183)=>{const _0x2e5161=_0x5e3172;for(var _0x37003a=_0x40a183>0x1?void 0x0:_0x40a183?vo(_0x7cb30f,_0x566de3):_0x7cb30f,_0x5ce76a=_0xd73d1e[_0x2e5161(0x2c8)]-0x1,_0x2c218a;_0x5ce76a>=0x0;_0x5ce76a--)(_0x2c218a=_0xd73d1e[_0x5ce76a])&&(_0x37003a=(_0x40a183?_0x2c218a(_0x7cb30f,_0x566de3,_0x37003a):_0x2c218a(_0x37003a))||_0x37003a);return _0x40a183&&_0x37003a&&fo(_0x7cb30f,_0x566de3,_0x37003a),_0x37003a;},Xe=(_0x3cf245,_0x1f168f)=>(_0x541dd0,_0x1b5f5d)=>_0x1f168f(_0x541dd0,_0x1b5f5d,_0x3cf245);let z=class extends _0x5f337f{constructor(_0x322f21,_0x29f9ef,_0x1d420b,_0x5c1a02,_0x1a68a1){const _0x56a61b=_0x5e3172;super(),g(this,_0x56a61b(0x247),new Map()),g(this,_0x56a61b(0x3e1),new Map()),g(this,_0x56a61b(0x31c),!0x1),(this[_0x56a61b(0x270)]=_0x322f21,this['_localStorageService']=_0x29f9ef,this[_0x56a61b(0x2b6)]=_0x1d420b,this[_0x56a61b(0x48a)]=_0x5c1a02,this[_0x56a61b(0x2fd)]=_0x1a68a1,this[_0x56a61b(0x523)]());}[_0x5e3172(0x27d)](){const _0x16a384=_0x5e3172;this[_0x16a384(0x31c)]=!0x0;}[_0x5e3172(0x190)](){const _0x5d45f2=_0x5e3172;this[_0x5d45f2(0x31c)]=!0x1;}[_0x5e3172(0x48f)](){const _0x5865a3=_0x5e3172;this[_0x5865a3(0x3cc)]()[_0x5865a3(0x15e)](()=>super[_0x5865a3(0x48f)]());}async['loadOfflineData'](_0x430502){const _0x4f3ecd=_0x5e3172;return this[_0x4f3ecd(0x31c)]?null:this[_0x4f3ecd(0x406)][_0x4f3ecd(0x359)](Xs(_0x430502));}async[_0x5e3172(0x428)](_0x1cc653,_0x515283){const _0x3ad32f=_0x5e3172;return!!this[_0x3ad32f(0x406)][_0x3ad32f(0x154)](_0x1cc653,_0x515283);}[_0x5e3172(0x422)](_0x496937,_0x5af84d,_0x2709e4,_0x164545){const _0x15e84e=_0x5e3172,_0x2ef569=this[_0x15e84e(0x2fd)][_0x15e84e(0x30c)](_0x496937);this[_0x15e84e(0x247)]['set'](_0x496937,{'unitID':_0x496937,'type':_0x5af84d,'awaitingChangeset':_0x2709e4,'mutations':_0x164545,'rev':_0x2ef569}),this[_0x15e84e(0x3e1)][_0x15e84e(0x3cb)](_0x496937)||this[_0x15e84e(0x1b4)](_0x496937);}[_0x5e3172(0x1b4)](_0x5a34dd){const _0x166e72=_0x5e3172,_0x49325=this['_getSaveTimeout']();_0x49325===0x0?this[_0x166e72(0x2a2)](_0x5a34dd):this[_0x166e72(0x3e1)][_0x166e72(0x332)](_0x5a34dd,setTimeout(()=>this[_0x166e72(0x2a2)](_0x5a34dd),_0x49325));}[_0x5e3172(0x4be)](){const _0x58e2d0=_0x5e3172;var _0x4b149d;return(_0x4b149d=this[_0x58e2d0(0x270)]['getConfig'](Mn))!=null?_0x4b149d:xn;}[_0x5e3172(0x2a2)](_0x56a95b){const _0x48482d=_0x5e3172,_0x1faa19=this[_0x48482d(0x3e1)]['get'](_0x56a95b);return _0x1faa19!==void 0x0&&window[_0x48482d(0x1fd)](_0x1faa19),this[_0x48482d(0x406)][_0x48482d(0x154)](Xs(_0x56a95b),this['_cachedData'][_0x48482d(0x307)](_0x56a95b))[_0x48482d(0x15e)](()=>this[_0x48482d(0x3e1)]['delete'](_0x56a95b));}async['exhaustSavingTask'](){const _0xbed44f=_0x5e3172,_0x33c3c7=[];this[_0xbed44f(0x3e1)]['forEach']((_0x2546f7,_0x5482bb)=>{const _0x35fc25=_0xbed44f;window[_0x35fc25(0x1fd)](_0x2546f7),_0x33c3c7[_0x35fc25(0x38e)](this['_saveCache'](_0x5482bb)[_0x35fc25(0x15e)](()=>{const _0x316ae6=_0x35fc25;this[_0x316ae6(0x3e1)]['delete'](_0x5482bb);}));}),await Promise[_0xbed44f(0x49a)](_0x33c3c7);}[_0x5e3172(0x523)](){const _0x4b9273=_0x5e3172;this[_0x4b9273(0x2d9)](this[_0x4b9273(0x2b6)]['registerBeforeClose'](()=>{const _0x388878=_0x4b9273;if(this[_0x388878(0x3e1)][_0x388878(0x3aa)])return this[_0x388878(0x48a)]['t']('collaboration-client.offline-data-not-saved');}));}};z=po([Xe(0x0,_0x3a37b7),Xe(0x1,_0x489004),Xe(0x2,_0x38bd7e),Xe(0x3,_0x1259a7(_0x56a2bf)),Xe(0x4,_0x1259a7(_0x5730a1))],z);function Xs(_0x278885){const _0x448532=_0x5e3172;return _0x448532(0x2bf)+_0x278885;}var mo=Object[_0x5e3172(0x243)],go=Object[_0x5e3172(0x26f)],So=(_0xdac360,_0x3a8474,_0x48c0f1,_0xa86c74)=>{const _0x24890c=_0x5e3172;for(var _0x2a9a29=_0xa86c74>0x1?void 0x0:_0xa86c74?go(_0x3a8474,_0x48c0f1):_0x3a8474,_0x510887=_0xdac360[_0x24890c(0x2c8)]-0x1,_0x473d1c;_0x510887>=0x0;_0x510887--)(_0x473d1c=_0xdac360[_0x510887])&&(_0x2a9a29=(_0xa86c74?_0x473d1c(_0x3a8474,_0x48c0f1,_0x2a9a29):_0x473d1c(_0x2a9a29))||_0x2a9a29);return _0xa86c74&&_0x2a9a29&&mo(_0x3a8474,_0x48c0f1,_0x2a9a29),_0x2a9a29;},Kt=(_0x4cb289,_0x1ea2e2)=>(_0x525e5e,_0x4205f8)=>_0x1ea2e2(_0x525e5e,_0x4205f8,_0x4cb289);function Io(_0x19ddae){const {unitID:_0x54421f,mutations:_0x232840}=_0x19ddae;return{'unitId':_0x54421f,'subUnitId':_0x232840[0x0]['params']['subUnitId']};}let wt=class{constructor(_0x29cdd3,_0x30bcc7,_0x2c67ca){const _0x4b6d2e=_0x5e3172;this[_0x4b6d2e(0x3b4)]=_0x29cdd3,this[_0x4b6d2e(0x4ff)]=_0x30bcc7,this[_0x4b6d2e(0x3f2)]=_0x2c67ca;}[_0x5e3172(0x385)](_0x5cfb32){const _0x92cf6a=_0x5e3172;var _0x11d21b,_0x2748ec,_0x4bd1c3,_0x4a4a42;const _0x142255=this[_0x92cf6a(0x3b4)]['get'](_0x10dd54),{unitId:_0x5075e5,subUnitId:_0x55db68}=Io(_0x5cfb32),_0x30c259=_0x142255[_0x92cf6a(0x43e)](_0x5075e5)[_0x92cf6a(0x39e)](),_0x483b56=(_0x2748ec=(_0x11d21b=this['_instanceService']['getUnit'](_0x5075e5))==null?void 0x0:_0x11d21b[_0x92cf6a(0x328)]())==null?void 0x0:_0x2748ec[_0x92cf6a(0x29c)]();if(_0x30c259[_0x92cf6a(0x2c8)]===0x0||!_0x5075e5||!_0x55db68)return;const _0x4e9bec=[{'id':_0x3f708e['id'],'params':{'unitId':_0x5075e5,'subUnitId':_0x483b56,'selections':_0x279a54[_0x92cf6a(0x3d3)](_0x30c259)}}],_0x2ca355=this[_0x92cf6a(0x4ff)]['transformMutationsWithChangeset'](_0x5cfb32,_0x4e9bec);if(!_0x17cfb3(_0x2ca355))throw _0x2ca355['error'];const _0x5352ec=(_0x4a4a42=(_0x4bd1c3=_0x2ca355[_0x92cf6a(0x20f)][0x0])==null?void 0x0:_0x4bd1c3[_0x92cf6a(0x436)])==null?void 0x0:_0x4a4a42['selections'];if(Array[_0x92cf6a(0x468)](_0x5352ec)&&_0x5352ec[_0x92cf6a(0x2c8)]){if(_0x5352ec[_0x92cf6a(0x2c8)]===_0x4e9bec[0x0][_0x92cf6a(0x436)][_0x92cf6a(0x217)][_0x92cf6a(0x2c8)]&&_0x5352ec[_0x92cf6a(0x3b5)]((_0x48f1d3,_0x252ac0)=>_0x50302c['equals'](_0x48f1d3[_0x92cf6a(0x168)],_0x4e9bec[0x0]['params']['selections'][_0x252ac0][_0x92cf6a(0x168)])))return;this[_0x92cf6a(0x3b4)][_0x92cf6a(0x307)](_0x58c2c0)['executeCommand'](_0x3f708e['id'],{'unitId':_0x5075e5,'subUnitId':_0x483b56,'selections':_0x5352ec});}}};wt=So([Kt(0x0,_0x1259a7(_0xa6ca3c)),Kt(0x1,_0x2a04be),Kt(0x2,_0x381e7e)],wt);const jt=_0x311f8c(_0x5e3172(0x22b));var Ki=(_0x14d0b7=>(_0x14d0b7[_0x14d0b7[_0x5e3172(0x3ec)]=0x0]=_0x5e3172(0x3ec),_0x14d0b7[_0x14d0b7['OTHER_CLIENTS_EDITING']=0x1]=_0x5e3172(0x42e),_0x14d0b7))(Ki||{});const Js=0x7530,Zs=_0x5e3172(0x490);class Co extends _0x5f337f{constructor(){const _0x50d31f=_0x5e3172;super(),g(this,'_id',_0x279a54[_0x50d31f(0x18f)]()),g(this,_0x50d31f(0x510),new Set()),g(this,_0x50d31f(0x2a7),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x50d31f(0x25d),new Map()),g(this,_0x50d31f(0x216),new Map()),this[_0x50d31f(0x1d2)]();}[_0x5e3172(0x48f)](){const _0x48b516=_0x5e3172;super['dispose'](),this[_0x48b516(0x25d)][_0x48b516(0x356)]((_0x45ed88,_0x28df67)=>this[_0x48b516(0x456)](_0x28df67)),this[_0x48b516(0x1f6)]&&window[_0x48b516(0x463)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x552a85){const _0x519a05=_0x5e3172;return this[_0x519a05(0x315)](_0x552a85)[_0x519a05(0x4b6)](_0x11e04f());}[_0x5e3172(0x203)](_0x390ff5){const _0x1c22ca=_0x5e3172;this['_selfUnitIDs'][_0x1c22ca(0x3aa)]===0x0&&this[_0x1c22ca(0x12b)](),this[_0x1c22ca(0x510)][_0x1c22ca(0x15f)](_0x390ff5),this[_0x1c22ca(0x147)]({'type':0x0,'memberID':this[_0x1c22ca(0x466)],'unitIDs':[_0x390ff5],'isForwarded':!0x1});}[_0x5e3172(0x3af)](_0x2c2d40){const _0x5bedcd=_0x5e3172;this[_0x5bedcd(0x510)][_0x5bedcd(0x480)](_0x2c2d40),this[_0x5bedcd(0x510)][_0x5bedcd(0x3aa)]===0x0&&this['_heartbeatTimer']&&window[_0x5bedcd(0x463)](this[_0x5bedcd(0x1f6)]);}[_0x5e3172(0x1d2)](){const _0x37a48e=_0x5e3172;this[_0x37a48e(0x2d9)](_0x38e5fb(_0x1a191c(window,_0x37a48e(0x333))[_0x37a48e(0x134)](_0x536b2d=>{const _0x45d501=_0x37a48e;if(_0x536b2d[_0x45d501(0x36a)]!==Zs||!_0x536b2d[_0x45d501(0x191)])return;const _0x5dfea5=JSON[_0x45d501(0x32f)](_0x536b2d[_0x45d501(0x191)]);this[_0x45d501(0x2fe)](_0x5dfea5);}))),window[_0x37a48e(0x522)]('unload',()=>this[_0x37a48e(0x147)]({'type':0x1,'memberID':this[_0x37a48e(0x466)],'unitIDs':Array[_0x37a48e(0x49e)](this[_0x37a48e(0x510)])}));}[_0x5e3172(0x2fe)](_0x3328d5){const _0x3c8184=_0x5e3172;switch(_0x3328d5[_0x3c8184(0x20d)]){case 0x0:this[_0x3c8184(0x465)](_0x3328d5);break;case 0x1:this[_0x3c8184(0x316)](_0x3328d5);break;case 0x2:this[_0x3c8184(0x2ee)](_0x3328d5);break;}}[_0x5e3172(0x465)](_0x4268b9){const _0x1732ef=_0x5e3172,{unitIDs:_0x4bddf6,memberID:_0x8d0570,isForwarded:_0x236eb5}=_0x4268b9;_0x4bddf6['forEach'](_0x4cb7d5=>{const _0x3c9a12=_0x1eb2;if(!_0x236eb5&&this[_0x3c9a12(0x2a7)][_0x3c9a12(0x3cb)](_0x4cb7d5)&&this[_0x3c9a12(0x315)](_0x4cb7d5)[_0x3c9a12(0x23b)](0x1),!this['_unitOnClients'][_0x3c9a12(0x3cb)](_0x4cb7d5)||!this[_0x3c9a12(0x2a7)]['get'](_0x4cb7d5)[_0x3c9a12(0x3cb)](_0x8d0570)){const _0x22dcd9=this[_0x3c9a12(0x2a7)][_0x3c9a12(0x307)](_0x4cb7d5)||new Set();_0x22dcd9['add'](_0x8d0570),this[_0x3c9a12(0x2a7)][_0x3c9a12(0x332)](_0x4cb7d5,_0x22dcd9),this[_0x3c9a12(0x489)](_0x8d0570);}}),_0x236eb5||this[_0x1732ef(0x147)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1732ef(0x510)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x186d6a){const _0x24cc81=_0x5e3172;this['_removeClearOtherTimer'](_0x186d6a);const _0x5d7d2b=window[_0x24cc81(0x273)](()=>{const _0x28b505=_0x24cc81;this[_0x28b505(0x2a7)][_0x28b505(0x356)](_0x23c532=>{const _0xace539=_0x28b505;_0x23c532[_0xace539(0x480)](_0x186d6a);});},Js*0x2);this[_0x24cc81(0x25d)][_0x24cc81(0x332)](_0x186d6a,_0x5d7d2b);}[_0x5e3172(0x456)](_0x322c2b){const _0x160654=_0x5e3172;if(this[_0x160654(0x25d)][_0x160654(0x3cb)](_0x322c2b)){const _0x379b83=this[_0x160654(0x25d)][_0x160654(0x307)](_0x322c2b);_0x379b83&&window['clearTimeout'](_0x379b83),this[_0x160654(0x25d)][_0x160654(0x332)](_0x322c2b,null);}}[_0x5e3172(0x316)](_0x170b81){const _0x538874=_0x5e3172,{memberID:_0x480dbf,unitIDs:_0x5f3dca}=_0x170b81;_0x5f3dca['forEach'](_0x2716db=>{const _0x1d591d=_0x1eb2;var _0x582a0e;const _0x190e4c=this['_unitOnClients'][_0x1d591d(0x307)](_0x2716db);_0x190e4c&&(_0x190e4c['delete'](_0x480dbf),(_0x582a0e=this[_0x1d591d(0x315)](_0x2716db))==null||_0x582a0e[_0x1d591d(0x23b)](_0x190e4c['size']===0x0?0x0:0x1));}),this[_0x538874(0x456)](_0x480dbf);}['_handleHeartbeatEvent'](_0x522038){const _0x869e1f=_0x5e3172;this[_0x869e1f(0x489)](_0x522038[_0x869e1f(0x3f1)]);}[_0x5e3172(0x147)](_0x2ebf2d){const _0x55294a=_0x5e3172;localStorage[_0x55294a(0x154)](Zs,JSON[_0x55294a(0x50f)](_0x2ebf2d));}[_0x5e3172(0x12b)](){this['_heartbeatTimer']=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},Js);}[_0x5e3172(0x315)](_0x598a0d){const _0x185b55=_0x5e3172;return this[_0x185b55(0x216)]['has'](_0x598a0d)||this['_unitStatus']['set'](_0x598a0d,new _0xd0d94b(0x0)),this[_0x185b55(0x216)][_0x185b55(0x307)](_0x598a0d);}}var Eo=Object[_0x5e3172(0x243)],bo=Object[_0x5e3172(0x26f)],To=(_0x5d4b25,_0x4be612,_0x1525ef,_0x5c93d1)=>{const _0x120eaf=_0x5e3172;for(var _0x4f19b0=_0x5c93d1>0x1?void 0x0:_0x5c93d1?bo(_0x4be612,_0x1525ef):_0x4be612,_0x28e336=_0x5d4b25[_0x120eaf(0x2c8)]-0x1,_0x2e6422;_0x28e336>=0x0;_0x28e336--)(_0x2e6422=_0x5d4b25[_0x28e336])&&(_0x4f19b0=(_0x5c93d1?_0x2e6422(_0x4be612,_0x1525ef,_0x4f19b0):_0x2e6422(_0x4f19b0))||_0x4f19b0);return _0x5c93d1&&_0x4f19b0&&Eo(_0x4be612,_0x1525ef,_0x4f19b0),_0x4f19b0;},qt=(_0x5ead5,_0x14ebf9)=>(_0x1affdf,_0x5cf8ac)=>_0x14ebf9(_0x1affdf,_0x5cf8ac,_0x5ead5);let Dt=class{constructor(_0x3b8330,_0x5a4b6f,_0x40ce67){const _0x3533d0=_0x5e3172;this[_0x3533d0(0x3b4)]=_0x3b8330,this[_0x3533d0(0x4ff)]=_0x5a4b6f,this[_0x3533d0(0x3dd)]=_0x40ce67;}[_0x5e3172(0x48d)](_0x2c5974){const _0x24ede3=_0x5e3172;this[_0x24ede3(0x3ee)](_0x2c5974);}[_0x5e3172(0x3a2)](_0x271dcf){const _0x2a244d=_0x5e3172,{unitID:_0xed4036}=_0x271dcf,{collaboration:_0x1f9d7d}=this[_0x2a244d(0x3dd)][_0x2a244d(0x4f5)](_0xed4036);if(_0x1f9d7d[_0x2a244d(0x2c8)]===0x0)return _0x271dcf;let _0x333b6e=_0x279a54[_0x2a244d(0x3d3)](_0x271dcf['mutations'][0x0]);for(let _0x18c0e6=0x0;_0x18c0e6<_0x1f9d7d[_0x2a244d(0x2c8)];_0x18c0e6++){const _0x1811e7={'id':_0x2a244d(0x42b),'params':{'unitId':_0x1f9d7d[_0x18c0e6][_0x2a244d(0x452)],..._0x1f9d7d[_0x18c0e6][_0x2a244d(0x305)]}},_0xdd4b26=this[_0x2a244d(0x4ff)][_0x2a244d(0x357)](_0x333b6e,_0x1811e7,!0x1);if(_0x29729a(_0xdd4b26))throw _0xdd4b26[_0x2a244d(0x295)];_0x333b6e=_0xdd4b26[_0x2a244d(0x4df)];}return{..._0x279a54['deepClone'](_0x271dcf),'mutations':[_0x333b6e]};}[_0x5e3172(0x3ee)](_0x3ba0b9){const _0x328e51=_0x5e3172,{unitID:_0x1c82fd}=_0x3ba0b9,{history:_0x3f4314,collaboration:_0x89a6a3}=this[_0x328e51(0x3dd)][_0x328e51(0x4f5)](_0x1c82fd);if(_0x3f4314['length']===0x0&&_0x89a6a3[_0x328e51(0x2c8)]===0x0)return;const _0xc8d2c1=[],_0x399169=[];let _0x1d242d=_0x279a54[_0x328e51(0x3d3)](_0x3ba0b9['mutations'][0x0]),_0xed8371=_0x279a54[_0x328e51(0x3d3)](_0x3ba0b9[_0x328e51(0x1b2)][0x0]);for(let _0x103e66=_0x3f4314[_0x328e51(0x2c8)]-0x1;_0x103e66>=0x0;_0x103e66--){const _0x19ef9d={'id':_0x328e51(0x42b),'params':{'unitId':_0x3f4314[_0x103e66]['unitId'],..._0x3f4314[_0x103e66][_0x328e51(0x44f)]}},_0x5361ce={'id':_0x328e51(0x42b),'params':{'unitId':_0x3f4314[_0x103e66][_0x328e51(0x452)],..._0x3f4314[_0x103e66][_0x328e51(0x305)]}},_0x4ba5fd=this[_0x328e51(0x4ff)][_0x328e51(0x357)](_0x1d242d,_0x19ef9d,!0x1),_0x5d0770=this[_0x328e51(0x4ff)]['transformMutation'](_0xed8371,_0x5361ce,!0x1);if(_0x29729a(_0x4ba5fd))throw _0x4ba5fd[_0x328e51(0x295)];if(_0x29729a(_0x5d0770))throw _0x5d0770[_0x328e51(0x295)];_0xc8d2c1[_0x328e51(0x4d0)]({..._0x3f4314[_0x103e66],'undoState':_0x4ba5fd[_0x328e51(0x20f)][_0x328e51(0x436)],'redoState':_0x5d0770[_0x328e51(0x20f)]['params']}),_0x1d242d=_0x4ba5fd[_0x328e51(0x4df)],_0xed8371=_0x5d0770[_0x328e51(0x4df)];}_0x1d242d=_0x279a54['deepClone'](_0x3ba0b9[_0x328e51(0x1b2)][0x0]),_0xed8371=_0x279a54['deepClone'](_0x3ba0b9[_0x328e51(0x1b2)][0x0]);for(let _0x267b61=_0x89a6a3[_0x328e51(0x2c8)]-0x1;_0x267b61>=0x0;_0x267b61--){const _0x25328b={'id':_0x328e51(0x42b),'params':{'unitId':_0x89a6a3[_0x267b61][_0x328e51(0x452)],..._0x89a6a3[_0x267b61][_0x328e51(0x44f)]}},_0x4b3f6e={'id':_0x328e51(0x42b),'params':{'unitId':_0x89a6a3[_0x267b61]['unitId'],..._0x89a6a3[_0x267b61][_0x328e51(0x305)]}},_0x2695b2=this[_0x328e51(0x4ff)][_0x328e51(0x357)](_0x1d242d,_0x25328b,!0x1),_0x277047=this['_transformService'][_0x328e51(0x357)](_0xed8371,_0x4b3f6e,!0x1);if(_0x29729a(_0x2695b2))throw _0x2695b2['error'];if(_0x29729a(_0x277047))throw _0x277047[_0x328e51(0x295)];_0x399169[_0x328e51(0x4d0)]({..._0x89a6a3[_0x267b61],'undoState':_0x2695b2[_0x328e51(0x20f)][_0x328e51(0x436)],'redoState':_0x277047[_0x328e51(0x20f)][_0x328e51(0x436)]}),_0x1d242d=_0x2695b2[_0x328e51(0x4df)],_0xed8371=_0x277047[_0x328e51(0x4df)];}this['_docStateChangeManagerService'][_0x328e51(0x3e7)](_0x1c82fd,{'history':_0xc8d2c1,'collaboration':_0x399169});}};Dt=To([qt(0x0,_0x1259a7(_0xa6ca3c)),qt(0x1,_0x2a04be),qt(0x2,_0x1259a7(_0x59d42b))],Dt);function qi(_0x533d1c){const _0x226c94=_0x5e3172;let _0x3f1ebe='';for(const _0x35738f of _0x533d1c){const {startOffset:_0x127e57,endOffset:_0x67837c,isActive:_0x2c9c7c,rangeType:_0x2270f1,segmentId:_0xfa3405,segmentPage:_0x53361}=_0x35738f;_0x3f1ebe[_0x226c94(0x2c8)]&&(_0x3f1ebe+=','),_0x3f1ebe+=_0x127e57+':'+_0x67837c+':'+(_0x2c9c7c?'1':'0')+':'+_0x2270f1+':'+_0xfa3405+':'+_0x53361;}return _0x3f1ebe;}function Ro(_0x394ebd){const _0x3b9e5f=_0x5e3172,_0x26b983=_0x394ebd['split'](','),_0xd43148=[];for(const _0x1eddc8 of _0x26b983){const [_0x5a7e15,_0xd1f189,_0x339f16,_0x545e24,_0x4798fd,_0x9ea24]=_0x1eddc8['split'](':');_0xd43148[_0x3b9e5f(0x38e)]({'startOffset':Number(_0x5a7e15),'endOffset':Number(_0xd1f189),'collapsed':_0x5a7e15===_0xd1f189,'isActive':_0x339f16==='1','rangeType':_0x545e24===_0x263740[_0x3b9e5f(0x4e9)]?_0x263740[_0x3b9e5f(0x4e9)]:_0x263740[_0x3b9e5f(0x353)],'segmentId':typeof _0x4798fd==_0x3b9e5f(0x429)?String(_0x4798fd):'','segmentPage':Number(_0x9ea24!=null?_0x9ea24:-0x1)});}return _0xd43148['some'](_0x4d4be8=>_0x4d4be8[_0x3b9e5f(0x3ad)])||(_0xd43148[0x0][_0x3b9e5f(0x3ad)]=!0x0),_0xd43148;}class Ds extends _0x5ce84d{constructor(){const _0xfa50b3=_0x5e3172;super(...arguments),g(this,_0xfa50b3(0x200),new _0xd0d94b(null)),g(this,_0xfa50b3(0x1f1),this[_0xfa50b3(0x200)]['asObservable']());}[_0x5e3172(0x3ef)](_0x5ee830){const _0x594ea9=_0x5e3172,{unitID:_0xda08ff,memberID:_0x2869ee,textRanges:_0x2cb7f5}=_0x5ee830,_0xb9357f=qi(_0x2cb7f5);if(_0xb9357f==='')return;const _0x460d74={'unitID':_0xda08ff,'memberID':_0x2869ee,'selection':_0xb9357f};this[_0x594ea9(0x200)][_0x594ea9(0x23b)](_0x460d74);}}var Oo=Object[_0x5e3172(0x243)],yo=Object[_0x5e3172(0x26f)],wo=(_0x398a4c,_0x5700be,_0x5fd964,_0x5e234c)=>{const _0x4a4e85=_0x5e3172;for(var _0x4a6d06=_0x5e234c>0x1?void 0x0:_0x5e234c?yo(_0x5700be,_0x5fd964):_0x5700be,_0x29a396=_0x398a4c[_0x4a4e85(0x2c8)]-0x1,_0x26d001;_0x29a396>=0x0;_0x29a396--)(_0x26d001=_0x398a4c[_0x29a396])&&(_0x4a6d06=(_0x5e234c?_0x26d001(_0x5700be,_0x5fd964,_0x4a6d06):_0x26d001(_0x4a6d06))||_0x4a6d06);return _0x5e234c&&_0x4a6d06&&Oo(_0x5700be,_0x5fd964,_0x4a6d06),_0x4a6d06;},Qs=(_0x4b5819,_0x4dcf4b)=>(_0x1d53bd,_0xd62e2e)=>_0x4dcf4b(_0x1d53bd,_0xd62e2e,_0x4b5819);let Pt=class{constructor(_0x31cb15,_0x375d1f){const _0x7a999d=_0x5e3172;this[_0x7a999d(0x3b4)]=_0x31cb15,this[_0x7a999d(0x4ff)]=_0x375d1f;}['transformSelections'](_0x585606){const _0x7c8524=_0x5e3172;var _0x12394d;const _0x20801c=this['_injector'][_0x7c8524(0x307)](_0x195c19),_0x19be76=(_0x12394d=_0x20801c[_0x7c8524(0x388)]())!=null?_0x12394d:[];if(_0x19be76[_0x7c8524(0x2c8)]===0x0)return;const _0x29e78f=_0x585606[_0x7c8524(0x4e4)],_0x27856c=[{'id':_0x7c8524(0x42b),'params':{'unitId':_0x29e78f,'actions':null,'textRanges':_0x19be76}}],_0x5c9b3a=this[_0x7c8524(0x4ff)][_0x7c8524(0x4a6)](_0x585606,_0x27856c);if(!_0x17cfb3(_0x5c9b3a))throw _0x5c9b3a[_0x7c8524(0x295)];const _0x214d8e=_0x5c9b3a[_0x7c8524(0x20f)][0x0][_0x7c8524(0x436)][_0x7c8524(0x495)];Array[_0x7c8524(0x468)](_0x214d8e)&&_0x214d8e[_0x7c8524(0x2c8)]&&_0x20801c[_0x7c8524(0x1bd)](_0x214d8e,{'unitId':_0x29e78f,'subUnitId':_0x29e78f},!0x1);}};Pt=wo([Qs(0x0,_0x1259a7(_0xa6ca3c)),Qs(0x1,_0x2a04be)],Pt);const Do=new Set([_0x1c7d98['id']]);function ei(_0x33979e,_0x113b31,_0x560341,_0x3497f6,_0x2f6527){const _0x40a62e=_0x5e3172;var _0x4ba91c,_0xfa58a0,_0x18335e,_0x1d69a0;const _0x1863b9=[];for(const _0x28b1d3 of _0x33979e)if(Do[_0x40a62e(0x3cb)](_0x28b1d3['id'])){if(_0x1863b9[_0x40a62e(0x2c8)]>0x0)break;_0x1863b9['push'](_0x28b1d3);break;}else _0x1863b9[_0x40a62e(0x38e)](_0x28b1d3);const _0x326e71=(_0xfa58a0=(_0x4ba91c=_0x2f6527[_0x40a62e(0x3d8)]())==null?void 0x0:_0x4ba91c['userID'])!=null?_0xfa58a0:_0x40a62e(0x3c8),_0x148205=(_0x1d69a0=(_0x18335e=_0x2f6527['getCurrentUser']())==null?void 0x0:_0x18335e[_0x40a62e(0x3f1)])!=null?_0x1d69a0:_0x40a62e(0x3c8);return{'changeset':{'unitID':_0x113b31,'type':_0x20d9fb(_0x560341[_0x40a62e(0x443)](_0x113b31)),'baseRev':_0x3497f6[_0x40a62e(0x30c)](_0x113b31),'revision':0x0,'userID':_0x326e71,'memberID':_0x148205,'mutations':_0x1863b9},'pendingMutations':_0x33979e[_0x40a62e(0x469)](_0x1863b9[_0x40a62e(0x2c8)])};}function Po(_0x405de2,_0x508eb5,_0x35f92e,_0x5cc972,_0x59ad7b){const _0x2360e3=_0x5e3172;var _0x4021ff,_0x36c0c6,_0x3f3fee,_0x1c0a12;const _0x6b120f=[_0x405de2['reduce']((_0x2cee5e,_0x75dc59)=>{const _0x11e10c=_0x1eb2;var _0x2090fc;const {id:_0x5e95df}=_0x2cee5e,{id:_0x3a1513,type:_0x5d08d5}=_0x75dc59,_0x16028e=(_0x2090fc=_0x2cee5e['params'])!=null?_0x2090fc:{'actions':null},_0x655466=_0x75dc59[_0x11e10c(0x436)];if(_0x5e95df&&_0x5e95df!==_0x3a1513)throw new Error(_0x11e10c(0x20a)+_0x5e95df+'\x20-\x20'+_0x3a1513+'.');return{..._0x2cee5e,'id':_0x3a1513,'type':_0x5d08d5,'params':{'unitId':_0x655466['unitId'],'textRanges':_0x655466[_0x11e10c(0x495)],'actions':_0x1bb50c[_0x11e10c(0x269)](_0x16028e[_0x11e10c(0x39b)],_0x655466['actions'])}};},{})],_0x590c76=(_0x36c0c6=(_0x4021ff=_0x59ad7b[_0x2360e3(0x3d8)]())==null?void 0x0:_0x4021ff[_0x2360e3(0x2f3)])!=null?_0x36c0c6:'unknown',_0x56c921=(_0x1c0a12=(_0x3f3fee=_0x59ad7b[_0x2360e3(0x3d8)]())==null?void 0x0:_0x3f3fee[_0x2360e3(0x3f1)])!=null?_0x1c0a12:'unknown';return{'changeset':{'unitID':_0x508eb5,'type':_0x20d9fb(_0x35f92e[_0x2360e3(0x443)](_0x508eb5)),'baseRev':_0x5cc972['getCurrentRevOfUnit'](_0x508eb5),'revision':0x0,'userID':_0x590c76,'memberID':_0x56c921,'mutations':_0x6b120f},'pendingMutations':[]};}function zi(_0x1e9b14,_0x3990f7){const _0xf6f78a=_0x5e3172,_0x1a806f=new _0x3d17ca(0x1);return setTimeout(()=>_0x1a806f[_0xf6f78a(0x23b)](_0x3990f7),_0x1e9b14),_0x1a806f[_0xf6f78a(0x306)]()[_0xf6f78a(0x4b6)](_0x3decc5(0x1));}const No={'id':_0x4b8f30['id'],'type':_0x57cf4b[_0x5e3172(0x345)],'params':{}};var Uo=Object['defineProperty'],Ao=Object[_0x5e3172(0x26f)],$e=(_0x7ca87c,_0x5e59eb,_0xf14a88,_0x1094f1)=>{const _0x2f8a00=_0x5e3172;for(var _0x39d9f7=_0x1094f1>0x1?void 0x0:_0x1094f1?Ao(_0x5e59eb,_0xf14a88):_0x5e59eb,_0x237393=_0x7ca87c[_0x2f8a00(0x2c8)]-0x1,_0x2d72dc;_0x237393>=0x0;_0x237393--)(_0x2d72dc=_0x7ca87c[_0x237393])&&(_0x39d9f7=(_0x1094f1?_0x2d72dc(_0x5e59eb,_0xf14a88,_0x39d9f7):_0x2d72dc(_0x39d9f7))||_0x39d9f7);return _0x1094f1&&_0x39d9f7&&Uo(_0x5e59eb,_0xf14a88,_0x39d9f7),_0x39d9f7;},A=(_0x566bc2,_0x45f121)=>(_0x3ab2e2,_0x48e422)=>_0x45f121(_0x3ab2e2,_0x48e422,_0x566bc2),J=(_0x51f903=>(_0x51f903[_0x5e3172(0x1aa)]=_0x5e3172(0x2d4),_0x51f903[_0x5e3172(0x29a)]=_0x5e3172(0x125),_0x51f903[_0x5e3172(0x42d)]=_0x5e3172(0x1c0),_0x51f903['AWAITING']='awaiting',_0x51f903['AWAITING_WITH_PENDING']=_0x5e3172(0x2fc),_0x51f903[_0x5e3172(0x3e2)]=_0x5e3172(0x45f),_0x51f903[_0x5e3172(0x423)]=_0x5e3172(0x1a5),_0x51f903['OFFLINE']='offline',_0x51f903))(J||{});const Xi=0xea60;class He{constructor(_0x436f0c,_0x38286b,_0xefc703,_0x40b203,_0x1b0054,_0x5a29a4,_0x58f21e,_0x6ecfac,_0x3cd239){const _0x2827ee=_0x5e3172;g(this,'_awaitingChangeset',null),g(this,_0x2827ee(0x199),[]),(this[_0x2827ee(0x4e4)]=_0x436f0c,this[_0x2827ee(0x20d)]=_0x38286b,this[_0x2827ee(0x231)]=_0x1b0054,this['_commandService']=_0x5a29a4,this[_0x2827ee(0x195)]=_0x58f21e,this[_0x2827ee(0x2fd)]=_0x6ecfac,this[_0x2827ee(0x32a)]=_0x3cd239,this['_awaitingChangeset']=_0xefc703,this['_pendingMutations']=_0x40b203);}[_0x5e3172(0x4a4)](_0xa99304){const _0x2d7bcc=_0x5e3172,_0x3ad4c9=this['_revisionService'][_0x2d7bcc(0x30c)](this['unitID']);return _0xa99304['revision']>_0x3ad4c9+0x1?(this[_0x2d7bcc(0x231)][_0x2d7bcc(0x4ef)]({'from':_0x3ad4c9,'to':_0xa99304[_0x2d7bcc(0x2ed)]-0x1}),!0x0):!0x1;}[_0x5e3172(0x23e)](_0x43b582){const _0x49af9d=_0x5e3172;this[_0x49af9d(0x195)]['transformUndoRedo'](this[_0x49af9d(0x4e4)],_0x43b582);}[_0x5e3172(0x45e)](_0x320752){const _0x507edf=_0x5e3172;var _0x3da160,_0x322dbc;(_0x322dbc=(_0x3da160=this[_0x507edf(0x231)])['onTransformSelections'])==null||_0x322dbc[_0x507edf(0x500)](_0x3da160,_0x320752);}[_0x5e3172(0x148)](_0x43e068){const _0x10e8e7=_0x5e3172;var _0x4ecb2c,_0x319e11;return(_0x319e11=(_0x4ecb2c=this[_0x10e8e7(0x231)])[_0x10e8e7(0x408)])==null?void 0x0:_0x319e11[_0x10e8e7(0x500)](_0x4ecb2c,_0x43e068);}['_transformStateCache'](_0x2e1348){const _0x1c1aef=_0x5e3172;var _0x4884af,_0x5c62da;return(_0x5c62da=(_0x4884af=this[_0x1c1aef(0x231)])[_0x1c1aef(0x2ab)])==null?void 0x0:_0x5c62da[_0x1c1aef(0x500)](_0x4884af,_0x2e1348);}[_0x5e3172(0x291)](_0x241485){const _0x5560d5=_0x5e3172;var _0x459c70,_0x2c893b,_0x45d682;return(_0x45d682=(_0x2c893b=(_0x459c70=this['_handler'])[_0x5560d5(0x461)])==null?void 0x0:_0x2c893b[_0x5560d5(0x500)](_0x459c70,_0x241485))!=null?_0x45d682:_0x241485;}[_0x5e3172(0x29f)](_0x392fb9){const _0x2e75e8=_0x5e3172;var _0x3be9f2,_0x379de7,_0xacb4da;return(_0xacb4da=(_0x379de7=(_0x3be9f2=this[_0x2e75e8(0x231)])[_0x2e75e8(0x4dc)])==null?void 0x0:_0x379de7['call'](_0x3be9f2,_0x392fb9))!=null?_0xacb4da:_0x392fb9;}[_0x5e3172(0x39a)](_0x24b393){const _0x30eecd=_0x5e3172;var _0x14711b,_0x9321c2;if(this[_0x30eecd(0x20d)]===ae['UNIVER_DOC']){const {unitID:_0x4f85bc,mutations:_0x8ce343,memberID:_0x3ffcbe}=_0x24b393,_0x201bd1=_0x8ce343[0x0][_0x30eecd(0x436)][_0x30eecd(0x495)];Array[_0x30eecd(0x468)](_0x201bd1)&&_0x201bd1[_0x30eecd(0x2c8)]>0x0&&((_0x9321c2=(_0x14711b=this[_0x30eecd(0x231)])[_0x30eecd(0x1ca)])==null||_0x9321c2[_0x30eecd(0x500)](_0x14711b,{'unitID':_0x4f85bc,'memberID':_0x3ffcbe,'textRanges':_0x201bd1}));}}[_0x5e3172(0x324)](){const _0x373c97=_0x5e3172;this[_0x373c97(0x32a)][_0x373c97(0x422)](this[_0x373c97(0x4e4)],this[_0x373c97(0x20d)],this[_0x373c97(0x536)],this['_pendingMutations']);}[_0x5e3172(0x20e)](){const _0x3f0730=_0x5e3172;return this[_0x3f0730(0x2fd)]['getCurrentRevOfUnit'](this[_0x3f0730(0x4e4)]);}[_0x5e3172(0x3ac)](){const _0x113eaf=_0x5e3172;this[_0x113eaf(0x2fd)][_0x113eaf(0x417)](this[_0x113eaf(0x4e4)]);}[_0x5e3172(0x2a3)](_0x47849e){const _0x72d0db=_0x5e3172;var _0x49b047;let _0x583f1f=this[_0x72d0db(0x291)](_0x47849e);_0x583f1f=this[_0x72d0db(0x29f)](_0x583f1f);const _0x4e76b7=_0x399b47(_0x583f1f['mutations'],this[_0x72d0db(0x327)],{'fromCollab':!0x0});if(!_0x4e76b7[_0x72d0db(0x1a8)])throw _0x4e76b7['error']instanceof Error?_0x4e76b7[_0x72d0db(0x295)]:new Error((_0x49b047=_0x4e76b7['error'])!=null?_0x49b047:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x583f1f),this[_0x72d0db(0x29d)](_0x583f1f),this[_0x72d0db(0x23e)](_0x47849e),this['_transformSelections'](_0x583f1f),this[_0x72d0db(0x39a)](_0x583f1f),this[_0x72d0db(0x3ac)]();}}let Fe=class extends He{constructor(_0x4fc7a1,_0x2e6f60,_0x542410,_0x22e94a,_0x2b574d,_0x9bc3ff,_0x1c55ac,_0x430708,_0xe2e81f,_0x5b8c47){const _0x3e74ec=_0x5e3172;super(_0x4fc7a1,_0x2e6f60,null,[],_0x542410,_0x430708,_0x1c55ac,_0x22e94a,_0x2b574d),g(this,_0x3e74ec(0x38b),_0x3e74ec(0x125)),(this[_0x3e74ec(0x3b4)]=_0x9bc3ff,this['_logService']=_0xe2e81f,this[_0x3e74ec(0x4ff)]=_0x5b8c47);}[_0x5e3172(0x144)](_0x3c4217){const _0x2cb3f9=_0x5e3172,_0x1bbb3f=this[_0x2cb3f9(0x3b4)][_0x2cb3f9(0x13c)](pe,this[_0x2cb3f9(0x4e4)],this[_0x2cb3f9(0x20d)],[_0x3c4217],this[_0x2cb3f9(0x231)]);return _0x1bbb3f[_0x2cb3f9(0x43f)](),_0x1bbb3f[_0x2cb3f9(0x324)](),_0x1bbb3f;}['onRemoteChangeset'](_0x217365){const _0xdb1920=_0x5e3172;if(this[_0xdb1920(0x4a4)](_0x217365))return this['_injector'][_0xdb1920(0x13c)](ce,this[_0xdb1920(0x4e4)],this[_0xdb1920(0x20d)],null,[],null,[_0x217365],this[_0xdb1920(0x231)]);try{const _0xcc7bdf=this['_transformService']['transformMutationsWithChangeset'](_0x217365,[No]);if(_0x17cfb3(_0xcc7bdf)){const {c1Prime:_0x566e75}=_0xcc7bdf;return this['_executeRemoteChangeset'](_0x566e75),this;}throw _0xcc7bdf['error'];}catch(_0x526e72){return this[_0xdb1920(0x52d)][_0xdb1920(0x295)](_0x526e72),this[_0xdb1920(0x49d)](!0x1);}}[_0x5e3172(0x49d)](_0x3bd922){const _0x14969d=_0x5e3172;return this[_0x14969d(0x3b4)][_0x14969d(0x13c)](Re,this[_0x14969d(0x4e4)],this[_0x14969d(0x20d)],null,[],this[_0x14969d(0x231)],_0x3bd922);}['onRemoteAck'](){const _0x4804f5=_0x5e3172;throw new Error(_0x4804f5(0x374));}[_0x5e3172(0x3b3)](){const _0xd82d2f=_0x5e3172;throw new Error(_0xd82d2f(0x503));}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){const _0x560ec8=_0x5e3172;return this[_0x560ec8(0x3b4)][_0x560ec8(0x13c)](Oe,this['unitID'],this[_0x560ec8(0x20d)],null,[],this[_0x560ec8(0x231)]);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x430)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5e3172(0x38c)](){const _0x383e2c=_0x5e3172,_0xd9258c=this['_revisionService'][_0x383e2c(0x30c)](this[_0x383e2c(0x4e4)]);return this[_0x383e2c(0x231)]['onMissingChangesets']({'from':_0xd9258c,'to':0x0}),this[_0x383e2c(0x3b4)]['createInstance'](ce,this[_0x383e2c(0x4e4)],this[_0x383e2c(0x20d)],null,[],null,[],this[_0x383e2c(0x231)]);}};Fe=$e([A(0x3,_0x1259a7(_0x5730a1)),A(0x4,_0x1259a7(z)),A(0x5,_0x1259a7(_0xa6ca3c)),A(0x6,_0x2d3235),A(0x7,_0x58c2c0),A(0x8,_0xadcc6),A(0x9,_0x2a04be)],Fe);let pe=class extends He{constructor(_0x554b0b,_0x372073,_0x602293,_0x166305,_0x3ad0dc,_0x2526cd,_0xbfc2a5,_0x226da9,_0x230f37,_0xc4cecc,_0x610d91,_0x1ae1cb,_0x3077a7,_0x29c47c){const _0x583472=_0x5e3172;super(_0x554b0b,_0x372073,null,_0x602293,_0x166305,_0xc4cecc,_0x29c47c,_0x2526cd,_0xbfc2a5),g(this,'status',_0x583472(0x1c0)),g(this,_0x583472(0x24a),null),g(this,_0x583472(0x3ed),null),(this[_0x583472(0x3b4)]=_0x3ad0dc,this[_0x583472(0x16b)]=_0x226da9,this[_0x583472(0x52d)]=_0x230f37,this[_0x583472(0x270)]=_0x610d91,this[_0x583472(0x4ff)]=_0x1ae1cb,this['_univerInstanceService']=_0x3077a7);}['appendMutation'](_0x292e2f){const _0x586adc=_0x5e3172;return this[_0x586adc(0x199)][_0x586adc(0x38e)](_0x292e2f),this['_updateLocalCache'](),this;}[_0x5e3172(0x34a)](_0x5e71c5){const _0x330c62=_0x5e3172;if(this[_0x330c62(0x4a4)](_0x5e71c5))return this[_0x330c62(0x3ca)](),this[_0x330c62(0x3b4)][_0x330c62(0x13c)](ce,this[_0x330c62(0x4e4)],this[_0x330c62(0x20d)],null,this[_0x330c62(0x199)],null,[_0x5e71c5],this[_0x330c62(0x231)]);try{const _0x1be4cb=this[_0x330c62(0x4ff)][_0x330c62(0x4a6)](_0x5e71c5,this['_pendingMutations']);if(_0x17cfb3(_0x1be4cb)){const {c1Prime:_0x4a19f2,m2Prime:_0x3897b1}=_0x1be4cb;this[_0x330c62(0x2a3)](_0x4a19f2);const _0x7f61c5=this[_0x330c62(0x3b4)]['createInstance'](pe,this[_0x330c62(0x4e4)],this[_0x330c62(0x20d)],_0x3897b1,this[_0x330c62(0x231)]);return this['_clearScheduledTask'](),_0x7f61c5[_0x330c62(0x43f)](this['_scheduleTimestamp']?Math[_0x330c62(0x2a1)](0x0,new Date()[_0x330c62(0x3a3)]()-this['_scheduleTimestamp']):this[_0x330c62(0x44b)]()),_0x7f61c5;}throw _0x1be4cb[_0x330c62(0x295)];}catch(_0x4abd86){return this[_0x330c62(0x52d)][_0x330c62(0x295)](_0x4abd86),this[_0x330c62(0x49d)](!0x1);}}[_0x5e3172(0x15c)](){const _0x21bb21=_0x5e3172;throw new Error(_0x21bb21(0x4fb));}[_0x5e3172(0x3b3)](){const _0x35ef4e=_0x5e3172;throw new Error(_0x35ef4e(0x211));}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){const _0x372123=_0x5e3172;return this[_0x372123(0x3ca)](),this[_0x372123(0x3b4)][_0x372123(0x13c)](Oe,this[_0x372123(0x4e4)],this[_0x372123(0x20d)],null,this['_pendingMutations'],this[_0x372123(0x231)]);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x43f)](_0x1710d7){const _0xf95e9=_0x5e3172,_0x35f160=_0x1710d7!=null?_0x1710d7:this[_0xf95e9(0x44b)]();this[_0xf95e9(0x24a)]=new Date()[_0xf95e9(0x3a3)](),this['_sendingTimer']=window[_0xf95e9(0x273)](()=>{const _0x3d4009=_0xf95e9;this[_0x3d4009(0x3ca)]();let _0x51ed41=null;switch(this[_0x3d4009(0x20d)]){case ae['UNIVER_SHEET']:{_0x51ed41=ei(this[_0x3d4009(0x199)],this[_0x3d4009(0x4e4)],this[_0x3d4009(0x153)],this[_0x3d4009(0x2fd)],this['_memberService']);break;}case ae[_0x3d4009(0x11d)]:{this[_0x3d4009(0x199)][_0x3d4009(0x3b5)](_0x2545c3=>_0x2545c3['id']===_0x48d9a2['id'])?_0x51ed41=Po(this['_pendingMutations'],this[_0x3d4009(0x4e4)],this[_0x3d4009(0x153)],this[_0x3d4009(0x2fd)],this[_0x3d4009(0x16b)]):_0x51ed41=ei(this[_0x3d4009(0x199)],this[_0x3d4009(0x4e4)],this['_univerInstanceService'],this[_0x3d4009(0x2fd)],this['_memberService']);break;}default:throw new Error(_0x3d4009(0x283)+this[_0x3d4009(0x20d)]+_0x3d4009(0x519));}const {changeset:_0x20abe7,pendingMutations:_0x266788}=_0x51ed41;this[_0x3d4009(0x231)][_0x3d4009(0x26b)](_0x20abe7);const _0x1c664e=_0x266788[_0x3d4009(0x2c8)]?this['_injector'][_0x3d4009(0x13c)](me,this[_0x3d4009(0x4e4)],this[_0x3d4009(0x20d)],_0x20abe7,_0x266788,this['_handler'],void 0x0):this[_0x3d4009(0x3b4)][_0x3d4009(0x13c)](Te,this['unitID'],this[_0x3d4009(0x20d)],_0x20abe7,this[_0x3d4009(0x231)]);_0x1c664e['_updateLocalCache'](),this[_0x3d4009(0x231)][_0x3d4009(0x2e1)](this,_0x1c664e);},_0x35f160);}['_getSendChangesetTimeout'](){const _0x45dfeb=_0x5e3172;var _0x41df36;const _0x36fb32=this[_0x45dfeb(0x270)]['getConfig'](Q);return(_0x41df36=_0x36fb32==null?void 0x0:_0x36fb32['sendChangesetTimeout'])!=null?_0x41df36:Rn;}[_0x5e3172(0x430)](){const _0x5b8e5a=_0x5e3172;throw new Error(_0x5b8e5a(0x4b2));}[_0x5e3172(0x3ca)](){const _0x130cce=_0x5e3172;this[_0x130cce(0x3ed)]!=null&&(clearTimeout(this[_0x130cce(0x3ed)]),this['_sendingTimer']=null);}[_0x5e3172(0x49d)](_0x2f7d70){const _0x44cc3c=_0x5e3172;return this[_0x44cc3c(0x3ca)](),this[_0x44cc3c(0x3b4)]['createInstance'](Re,this['unitID'],this[_0x44cc3c(0x20d)],null,this[_0x44cc3c(0x199)],this['_handler'],_0x2f7d70);}};pe=$e([A(0x4,_0x1259a7(_0xa6ca3c)),A(0x5,_0x1259a7(_0x5730a1)),A(0x6,_0x1259a7(z)),A(0x7,_0x1259a7(Me)),A(0x8,_0xadcc6),A(0x9,_0x58c2c0),A(0xa,_0x3a37b7),A(0xb,_0x2a04be),A(0xc,_0x381e7e),A(0xd,_0x2d3235)],pe);let Te=class extends He{constructor(_0x2bbe74,_0x1d1a4c,_0x3d4320,_0x353987,_0x361670,_0x1abcba,_0x31d0dd,_0x4c7827,_0x129722,_0x3efcbf,_0x5b09b0){const _0x28d0c5=_0x5e3172;super(_0x2bbe74,_0x1d1a4c,_0x3d4320,[],_0x353987,_0x4c7827,_0x5b09b0,_0x1abcba,_0x31d0dd),g(this,_0x28d0c5(0x38b),_0x28d0c5(0x43d)),g(this,_0x28d0c5(0x4f6),0x0),g(this,_0x28d0c5(0x272)),g(this,_0x28d0c5(0x4da)),(this[_0x28d0c5(0x3b4)]=_0x361670,this['_logService']=_0x129722,this[_0x28d0c5(0x4ff)]=_0x3efcbf);}['appendMutation'](_0x3a1ff0){const _0x2b4fce=_0x5e3172;this[_0x2b4fce(0x3ca)]();const _0x384406=this[_0x2b4fce(0x3b4)][_0x2b4fce(0x13c)](me,this['unitID'],this[_0x2b4fce(0x20d)],this[_0x2b4fce(0x536)],[_0x3a1ff0],this['_handler'],this[_0x2b4fce(0x272)]);return _0x384406['_updateLocalCache'](),_0x384406;}[_0x5e3172(0x34a)](_0x10eea3){const _0x5ebc48=_0x5e3172;if(this[_0x5ebc48(0x4a4)](_0x10eea3))return this[_0x5ebc48(0x3ca)](),this['_injector'][_0x5ebc48(0x13c)](ce,this[_0x5ebc48(0x4e4)],this[_0x5ebc48(0x20d)],this['_awaitingChangeset'],[],null,[_0x10eea3],this['_handler']);try{const _0x218614=this[_0x5ebc48(0x4ff)][_0x5ebc48(0x530)]([_0x10eea3],[this[_0x5ebc48(0x536)]],!0x1);if(_0x1b6696(_0x218614)){const {c1Prime:_0x2cf2c4,c2Prime:_0x45c2be}=_0x218614;this[_0x5ebc48(0x2a3)](_0x2cf2c4[0x0]),_0x45c2be[0x0]['baseRev']=this[_0x5ebc48(0x20e)](),this[_0x5ebc48(0x3ca)]();const _0x51125f=this[_0x5ebc48(0x3b4)][_0x5ebc48(0x13c)](Te,this[_0x5ebc48(0x4e4)],this[_0x5ebc48(0x20d)],_0x45c2be[0x0],this['_handler']);return _0x51125f['_updateLocalCache'](),_0x51125f;}return this['_onConflict'](!0x1);}catch(_0x1dfe88){return this[_0x5ebc48(0x52d)]['error'](_0x1dfe88),this[_0x5ebc48(0x49d)](!0x1);}}[_0x5e3172(0x15c)](_0x4f80ce){const _0x58dcf4=_0x5e3172;this['_clearScheduledTask']();const _0x53777f=this[_0x58dcf4(0x2fd)][_0x58dcf4(0x30c)](this[_0x58dcf4(0x4e4)]);if(_0x4f80ce[_0x58dcf4(0x2ed)]<_0x53777f-0x1)return this;if(this[_0x58dcf4(0x4a4)](_0x4f80ce))return this[_0x58dcf4(0x3b4)][_0x58dcf4(0x13c)](ce,this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x58dcf4(0x231)]);this['_incrementRevisionNumber']();const _0x2a4f39=this[_0x58dcf4(0x3b4)][_0x58dcf4(0x13c)](Fe,this[_0x58dcf4(0x4e4)],this[_0x58dcf4(0x20d)],this[_0x58dcf4(0x231)]);return _0x2a4f39['_updateLocalCache'](),_0x2a4f39;}['onRemoteRej'](_0xfea293){const _0x1335dc=_0x5e3172;return this[_0x1335dc(0x49d)](!!(_0xfea293!=null&&_0xfea293['isPermissionRej']));}['onRemoteRetry'](_0x27539b){const _0x2422ce=_0x5e3172;return this[_0x2422ce(0x4f6)]>Xi?this[_0x2422ce(0x448)]():(this[_0x2422ce(0x272)]=zi(this[_0x2422ce(0x4f6)],{'timeout':this[_0x2422ce(0x4f6)],'reqId':_0x27539b[_0x2422ce(0x11c)]}),this[_0x2422ce(0x4da)]=this[_0x2422ce(0x272)]['subscribe'](({reqId:_0x494339,timeout:_0x14e3af})=>{const _0x5e4b04=_0x2422ce;this[_0x5e4b04(0x442)](_0x494339,_0x14e3af);}),this);}[_0x5e3172(0x448)](){const _0xabb7fa=_0x5e3172;return this[_0xabb7fa(0x3ca)](),this['_injector'][_0xabb7fa(0x13c)](Oe,this[_0xabb7fa(0x4e4)],this[_0xabb7fa(0x20d)],this[_0xabb7fa(0x536)],[],this['_handler']);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x430)](){const _0x21c8d0=_0x5e3172;this['_handler'][_0x21c8d0(0x26b)](this[_0x21c8d0(0x536)]);}[_0x5e3172(0x49d)](_0x5ba035){const _0x25ea86=_0x5e3172;return this['_clearScheduledTask'](),this[_0x25ea86(0x3b4)][_0x25ea86(0x13c)](Re,this[_0x25ea86(0x4e4)],this[_0x25ea86(0x20d)],this[_0x25ea86(0x536)],[],this[_0x25ea86(0x231)],_0x5ba035);}[_0x5e3172(0x442)](_0xbe3787,_0x14d3ba){const _0x17701c=_0x5e3172;var _0x48761c;_0xbe3787===((_0x48761c=this['_awaitingChangeset'])==null?void 0x0:_0x48761c[_0x17701c(0x11c)])&&(this[_0x17701c(0x430)](),this['_resendTimeout']=_0x14d3ba===0x0?0x3e8:_0x14d3ba*0x2);}[_0x5e3172(0x3ca)](){const _0x3b9b6a=_0x5e3172;var _0x49fc2c;(_0x49fc2c=this[_0x3b9b6a(0x4da)])==null||_0x49fc2c[_0x3b9b6a(0x527)](),this['_resendTimeout']=0x0;}};Te=$e([A(0x4,_0x1259a7(_0xa6ca3c)),A(0x5,_0x1259a7(_0x5730a1)),A(0x6,_0x1259a7(z)),A(0x7,_0x58c2c0),A(0x8,_0xadcc6),A(0x9,_0x2a04be),A(0xa,_0x2d3235)],Te);let me=class extends He{constructor(_0x8cc92d,_0x1e7f0f,_0x446910,_0x32f2e2,_0x3a550b,_0x3f336a,_0x31afcd,_0x506c9d,_0x4f7a5b,_0x37c9af,_0x5dc825,_0x317b42,_0x3359d6){const _0x57fad6=_0x5e3172;super(_0x8cc92d,_0x1e7f0f,_0x446910,_0x32f2e2,_0x3a550b,_0x37c9af,_0x3359d6,_0x506c9d,_0x4f7a5b),g(this,'status','awaiting_with_pending'),g(this,_0x57fad6(0x4f6),0x0),g(this,'_resendTimer'),g(this,'_sender'),(this[_0x57fad6(0x3b4)]=_0x31afcd,this[_0x57fad6(0x52d)]=_0x5dc825,this[_0x57fad6(0x4ff)]=_0x317b42,_0x3f336a&&(this['_resendTimer']=_0x3f336a,this[_0x57fad6(0x4da)]=this[_0x57fad6(0x272)][_0x57fad6(0x134)](({reqId:_0x285682,timeout:_0x13216d})=>{const _0x3750e8=_0x57fad6;this[_0x3750e8(0x442)](_0x285682,_0x13216d);})));}['appendMutation'](_0x45beb7){const _0x3af237=_0x5e3172;return this[_0x3af237(0x199)][_0x3af237(0x38e)](_0x45beb7),this;}[_0x5e3172(0x34a)](_0x42972f){const _0x11f7f2=_0x5e3172;if(this['_checkMissing'](_0x42972f))return this[_0x11f7f2(0x3ca)](),this['_injector'][_0x11f7f2(0x13c)](ce,this[_0x11f7f2(0x4e4)],this[_0x11f7f2(0x20d)],this[_0x11f7f2(0x536)],this[_0x11f7f2(0x199)],null,[_0x42972f],this[_0x11f7f2(0x231)]);try{const _0x2c1680=this[_0x11f7f2(0x4ff)]['transformChangesets']([_0x42972f],[this[_0x11f7f2(0x536)]],!0x1);if(_0x1b6696(_0x2c1680)){const {c1Prime:_0x1f9bde,c2Prime:_0x363237}=_0x2c1680,_0x2316a2=this[_0x11f7f2(0x4ff)][_0x11f7f2(0x4a6)](_0x1f9bde[0x0],this[_0x11f7f2(0x199)]);if(_0x17cfb3(_0x2316a2)){const {c1Prime:_0xc143d,m2Prime:_0x19b1eb}=_0x2316a2;return this['_executeRemoteChangeset'](_0xc143d),_0x363237[0x0]['baseRev']=this[_0x11f7f2(0x20e)](),this[_0x11f7f2(0x3ca)](),this[_0x11f7f2(0x3b4)][_0x11f7f2(0x13c)](me,this['unitID'],this['type'],_0x363237[0x0],_0x19b1eb,this[_0x11f7f2(0x231)],void 0x0);}throw _0x2316a2[_0x11f7f2(0x295)];}throw _0x2c1680[_0x11f7f2(0x295)];}catch(_0x36e4e0){return this['_logService'][_0x11f7f2(0x295)](_0x36e4e0),this[_0x11f7f2(0x49d)](!0x1);}}['onRemoteAck'](_0x663cbb){const _0x1ea889=_0x5e3172;if(this['_clearScheduledTask'](),this[_0x1ea889(0x4a4)](_0x663cbb))return this[_0x1ea889(0x3b4)][_0x1ea889(0x13c)](ce,this[_0x1ea889(0x4e4)],this[_0x1ea889(0x20d)],null,this[_0x1ea889(0x199)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0xc3cda3=this[_0x1ea889(0x3b4)][_0x1ea889(0x13c)](pe,this['unitID'],this[_0x1ea889(0x20d)],this[_0x1ea889(0x199)],this['_handler']);return _0xc3cda3[_0x1ea889(0x43f)](),_0xc3cda3['_updateLocalCache'](),_0xc3cda3;}['onRemoteRej'](_0xeab0c){const _0x56c507=_0x5e3172;return this[_0x56c507(0x49d)](!!(_0xeab0c!=null&&_0xeab0c[_0x56c507(0x3f9)]));}[_0x5e3172(0x36b)](_0x449dbc){const _0x1ec292=_0x5e3172;return this['_resendTimeout']>Xi?this['toggleOffline']():(this[_0x1ec292(0x272)]=zi(this[_0x1ec292(0x4f6)],{'timeout':this[_0x1ec292(0x4f6)],'reqId':_0x449dbc[_0x1ec292(0x11c)]}),this[_0x1ec292(0x4da)]=this[_0x1ec292(0x272)][_0x1ec292(0x134)](({reqId:_0x6ff21b,timeout:_0x5dbf92})=>{const _0x176127=_0x1ec292;this[_0x176127(0x442)](_0x6ff21b,_0x5dbf92);}),this);}[_0x5e3172(0x448)](){const _0x5050d9=_0x5e3172;return this['_clearScheduledTask'](),this[_0x5050d9(0x3b4)][_0x5050d9(0x13c)](Oe,this[_0x5050d9(0x4e4)],this[_0x5050d9(0x20d)],this[_0x5050d9(0x536)],this['_pendingMutations'],this[_0x5050d9(0x231)]);}['toggleOnline'](){return this;}[_0x5e3172(0x430)](){const _0x14df74=_0x5e3172;this[_0x14df74(0x231)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x5e3172(0x49d)](_0x8d8bb0){const _0x330a38=_0x5e3172;return this['_clearScheduledTask'](),this[_0x330a38(0x3b4)]['createInstance'](Re,this[_0x330a38(0x4e4)],this[_0x330a38(0x20d)],null,this[_0x330a38(0x199)],this[_0x330a38(0x231)],_0x8d8bb0);}[_0x5e3172(0x442)](_0x588632,_0x3d607b){const _0x451a4a=_0x5e3172;var _0x38adca;_0x588632===((_0x38adca=this[_0x451a4a(0x536)])==null?void 0x0:_0x38adca[_0x451a4a(0x11c)])&&(this['resend'](),this['_resendTimeout']=_0x3d607b===0x0?0x3e8:_0x3d607b*0x2);}[_0x5e3172(0x3ca)](){const _0x3fe543=_0x5e3172;var _0x3d7311;(_0x3d7311=this['_sender'])==null||_0x3d7311[_0x3fe543(0x527)](),this[_0x3fe543(0x4f6)]=0x0;}};me=$e([A(0x6,_0x1259a7(_0xa6ca3c)),A(0x7,_0x1259a7(_0x5730a1)),A(0x8,_0x1259a7(z)),A(0x9,_0x58c2c0),A(0xa,_0xadcc6),A(0xb,_0x2a04be),A(0xc,_0x2d3235)],me);let Re=class extends He{constructor(_0x2c9bdd,_0x16788f,_0x3b4429,_0x335088,_0x386bb8,_0x5bb3af=!0x1,_0x4fc63f,_0x53cd5a,_0x143d4a,_0xd4d137,_0x22f7e5,_0x4523f4,_0x3d5cbc){const _0x1834b4=_0x5e3172;super(_0x2c9bdd,_0x16788f,_0x3b4429,_0x335088,_0x386bb8,_0x53cd5a,_0x143d4a,_0x22f7e5,_0xd4d137),g(this,'status',_0x1834b4(0x1a5)),(this[_0x1834b4(0x4c1)]=_0x5bb3af,this[_0x1834b4(0x366)]=_0x4fc63f,this['_localeService']=_0x4523f4,this['_notificationService']=_0x3d5cbc,this['_showConflictNotification'](),this[_0x1834b4(0x118)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x5e3172(0x34a)](){return this;}[_0x5e3172(0x15c)](){return this;}[_0x5e3172(0x3b3)](){return this;}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){return this;}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x430)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x1f722a=_0x5e3172;this['_localCacheService'][_0x1f722a(0x422)](this['unitID'],this['type'],null,[]);}['_showConflictNotification'](){const _0x3cc404=_0x5e3172;this['_isPermissionRej']?this[_0x3cc404(0x149)][_0x3cc404(0x4b7)]({'title':this[_0x3cc404(0x48a)]['t'](_0x3cc404(0x450)),'content':this['_localeService']['t'](_0x3cc404(0x50c)),'type':_0x3cc404(0x295),'duration':0x0}):this[_0x3cc404(0x149)][_0x3cc404(0x4b7)]({'title':this[_0x3cc404(0x48a)]['t'](_0x3cc404(0x4f9)),'content':this[_0x3cc404(0x48a)]['t']('conflict.content'),'type':_0x3cc404(0x295),'duration':0x0});}[_0x5e3172(0x373)](){const _0x3e1849=_0x5e3172;this['_permissionService'][_0x3e1849(0x299)](new _0x1a4341(this['unitID'])['id'],!0x1);}};Re=$e([A(0x6,_0x1259a7(_0x51028f)),A(0x7,_0x58c2c0),A(0x8,_0x2d3235),A(0x9,_0x1259a7(z)),A(0xa,_0x1259a7(_0x5730a1)),A(0xb,_0x1259a7(_0x56a2bf)),A(0xc,_0xe36565)],Re);let Oe=class extends He{constructor(_0x264cdb,_0x543306,_0x1245b7,_0x433852,_0x3adc6c,_0x54d3bd,_0x19f6a4,_0x333285,_0x14fc2d,_0x5567b0){const _0x34dc50=_0x5e3172;super(_0x264cdb,_0x543306,_0x1245b7,_0x433852,_0x3adc6c,_0x14fc2d,_0x5567b0,_0x19f6a4,_0x333285),g(this,_0x34dc50(0x38b),_0x34dc50(0x11b)),this[_0x34dc50(0x3b4)]=_0x54d3bd;}[_0x5e3172(0x144)](_0x170100){const _0x4c763d=_0x5e3172;return this[_0x4c763d(0x199)][_0x4c763d(0x38e)](_0x170100),this[_0x4c763d(0x324)](),this;}[_0x5e3172(0x34a)](_0x20dbf0){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x18bec3=_0x5e3172;throw new Error(_0x18bec3(0x343));}['onRemoteRej'](){const _0x2bd4a6=_0x5e3172;throw new Error(_0x2bd4a6(0x416));}['onRemoteRetry'](){return this;}[_0x5e3172(0x448)](){return this;}[_0x5e3172(0x1a7)](){const _0x1691f2=_0x5e3172,{_injector:_0x43733c,_pendingMutations:_0x23a8d2,_awaitingChangeset:_0x5490d7,unitID:_0x56b526,_handler:_0x321bf6,type:_0x5392da}=this,_0x3df492=Ji(_0x43733c,_0x56b526,_0x5392da,_0x5490d7,_0x23a8d2,_0x321bf6);return _0x3df492 instanceof pe?_0x3df492['_schedule']():(_0x3df492 instanceof me||_0x3df492 instanceof Te)&&_0x3df492[_0x1691f2(0x430)](),_0x3df492;}[_0x5e3172(0x430)](){const _0x378904=_0x5e3172;throw new Error(_0x378904(0x48e));}};Oe=$e([A(0x5,_0x1259a7(_0xa6ca3c)),A(0x6,_0x1259a7(_0x5730a1)),A(0x7,_0x1259a7(z)),A(0x8,_0x58c2c0),A(0x9,_0x2d3235)],Oe);let ce=class extends He{constructor(_0x2b563a,_0x59dac9,_0x126385,_0x1385d7,_0x5dbe70,_0x239297,_0x117eed,_0x58eee9,_0x1a876a,_0xfd8cc,_0xdfd309,_0x470239,_0x54372b,_0x3333ca){const _0x463e47=_0x5e3172;super(_0x2b563a,_0x59dac9,_0x126385,_0x1385d7,_0x117eed,_0x470239,_0x54372b,_0x1a876a,_0xfd8cc),g(this,_0x463e47(0x38b),_0x463e47(0x45f)),(this[_0x463e47(0x3fe)]=_0x5dbe70,this[_0x463e47(0x52c)]=_0x239297,this[_0x463e47(0x3b4)]=_0x58eee9,this[_0x463e47(0x52d)]=_0xdfd309,this[_0x463e47(0x4ff)]=_0x3333ca);}[_0x5e3172(0x25b)](_0x11ce24){const _0x9bb1cd=_0x5e3172;try{const _0x38bc43=[..._0x11ce24,...this[_0x9bb1cd(0x52c)]],_0x43403a=[this[_0x9bb1cd(0x536)]||this[_0x9bb1cd(0x3fe)]][_0x9bb1cd(0x1fe)](_0x3a0c89=>!!_0x3a0c89);let _0x5f247e,_0x27dd3f;if(_0x43403a[_0x9bb1cd(0x2c8)]){const _0x377b16=this[_0x9bb1cd(0x4ff)][_0x9bb1cd(0x530)](_0x38bc43,_0x43403a,!0x1);if(!_0x1b6696(_0x377b16))throw _0x377b16[_0x9bb1cd(0x295)];_0x5f247e=_0x377b16[_0x9bb1cd(0x1e7)],_0x27dd3f=_0x377b16[_0x9bb1cd(0x39c)];}else _0x5f247e=_0x38bc43,_0x27dd3f=[];let _0x373c41=this[_0x9bb1cd(0x199)];_0x5f247e['forEach'](_0x5c5386=>{const _0x422f4e=_0x9bb1cd;let _0x244469;if(_0x373c41[_0x422f4e(0x2c8)]){const _0x178a32=this[_0x422f4e(0x4ff)][_0x422f4e(0x4a6)](_0x5c5386,_0x373c41);if(!_0x17cfb3(_0x178a32))throw _0x178a32[_0x422f4e(0x295)];_0x244469=_0x178a32[_0x422f4e(0x1e7)],_0x373c41=_0x178a32['m2Prime'];}else _0x244469=_0x5c5386;this[_0x422f4e(0x2a3)](_0x244469);}),this[_0x9bb1cd(0x3fe)]&&this[_0x9bb1cd(0x3ac)](),this[_0x9bb1cd(0x536)]&&_0x27dd3f[_0x9bb1cd(0x2c8)]&&(_0x27dd3f[0x0][_0x9bb1cd(0x214)]=this['_getCurrentRevision']());let _0x4f198e;if(this[_0x9bb1cd(0x536)]&&_0x373c41[_0x9bb1cd(0x2c8)]!==0x0)_0x4f198e=this[_0x9bb1cd(0x3b4)][_0x9bb1cd(0x13c)](me,this[_0x9bb1cd(0x4e4)],this[_0x9bb1cd(0x20d)],_0x27dd3f[0x0],_0x373c41,this[_0x9bb1cd(0x231)],void 0x0);else{if(this['_awaitingChangeset']&&_0x373c41[_0x9bb1cd(0x2c8)]===0x0)_0x27dd3f[0x0][_0x9bb1cd(0x214)]=this['_getCurrentRevision'](),_0x4f198e=this['_injector'][_0x9bb1cd(0x13c)](Te,this[_0x9bb1cd(0x4e4)],this[_0x9bb1cd(0x20d)],_0x27dd3f[0x0],this['_handler']);else{if(_0x373c41['length']!==0x0){const _0x845884=this[_0x9bb1cd(0x3b4)]['createInstance'](pe,this[_0x9bb1cd(0x4e4)],this['type'],_0x373c41,this[_0x9bb1cd(0x231)]);_0x845884[_0x9bb1cd(0x43f)](),_0x4f198e=_0x845884;}else _0x4f198e=this[_0x9bb1cd(0x3b4)][_0x9bb1cd(0x13c)](Fe,this[_0x9bb1cd(0x4e4)],this['type'],this[_0x9bb1cd(0x231)]);}}return _0x4f198e[_0x9bb1cd(0x324)](),_0x4f198e;}catch(_0x45ecf1){return this[_0x9bb1cd(0x52d)]['error'](_0x9bb1cd(0x1d3),_0x9bb1cd(0x37d),_0x45ecf1),this[_0x9bb1cd(0x3b4)][_0x9bb1cd(0x13c)](Re,this['unitID'],this['type'],this[_0x9bb1cd(0x536)],this[_0x9bb1cd(0x199)],this['_handler'],!0x1);}}[_0x5e3172(0x430)](){const _0x1a4be7=_0x5e3172;throw new Error(_0x1a4be7(0x509));}[_0x5e3172(0x144)](_0x54f31e){const _0x4be4d1=_0x5e3172;return this[_0x4be4d1(0x199)]['push'](_0x54f31e),this;}[_0x5e3172(0x34a)](_0x55c7d8){const _0x42cba8=_0x5e3172;return this[_0x42cba8(0x52c)][_0x42cba8(0x38e)](_0x55c7d8),this;}['onRemoteAck'](_0x2c9365){const _0x3fb59e=_0x5e3172;if(this[_0x3fb59e(0x536)])return this[_0x3fb59e(0x3fe)]=this[_0x3fb59e(0x536)],this[_0x3fb59e(0x536)]=null,this;throw new Error(_0x3fb59e(0x2a4));}[_0x5e3172(0x3b3)](_0x2e0b2c){const _0x42ac6c=_0x5e3172;return this[_0x42ac6c(0x49d)](!!(_0x2e0b2c!=null&&_0x2e0b2c[_0x42ac6c(0x3f9)]));}[_0x5e3172(0x36b)](){return this;}[_0x5e3172(0x448)](){const _0x47a045=_0x5e3172;return this[_0x47a045(0x3b4)][_0x47a045(0x13c)](Oe,this[_0x47a045(0x4e4)],this[_0x47a045(0x20d)],this[_0x47a045(0x536)],this[_0x47a045(0x199)],this[_0x47a045(0x231)]);}[_0x5e3172(0x1a7)](){return this;}[_0x5e3172(0x49d)](_0x4932e0){const _0x430cb0=_0x5e3172;return this['_injector'][_0x430cb0(0x13c)](Re,this[_0x430cb0(0x4e4)],this[_0x430cb0(0x20d)],this[_0x430cb0(0x536)],this[_0x430cb0(0x199)],this[_0x430cb0(0x231)],_0x4932e0);}};ce=$e([A(0x7,_0x1259a7(_0xa6ca3c)),A(0x8,_0x1259a7(_0x5730a1)),A(0x9,_0x1259a7(z)),A(0xa,_0xadcc6),A(0xb,_0x58c2c0),A(0xc,_0x2d3235),A(0xd,_0x2a04be)],ce);function Ji(_0xe8dcb8,_0x2561df,_0x3536d4,_0x17bb12,_0x252534,_0x1ec138){const _0x212689=_0x5e3172;return _0x17bb12&&_0x252534[_0x212689(0x2c8)]?_0xe8dcb8[_0x212689(0x13c)](me,_0x2561df,_0x3536d4,_0x17bb12,_0x252534,_0x1ec138,void 0x0):_0x17bb12?_0xe8dcb8[_0x212689(0x13c)](Te,_0x2561df,_0x3536d4,_0x17bb12,_0x1ec138):_0x252534[_0x212689(0x2c8)]?_0xe8dcb8[_0x212689(0x13c)](pe,_0x2561df,_0x3536d4,_0x252534,_0x1ec138):_0xe8dcb8[_0x212689(0x13c)](Fe,_0x2561df,_0x3536d4,_0x1ec138);}var Mo=Object[_0x5e3172(0x243)],xo=Object[_0x5e3172(0x26f)],Ps=(_0x3a1bac,_0x3c609c,_0x1b2b85,_0x2c2abf)=>{const _0x5d33da=_0x5e3172;for(var _0x330d2b=_0x2c2abf>0x1?void 0x0:_0x2c2abf?xo(_0x3c609c,_0x1b2b85):_0x3c609c,_0x2203e9=_0x3a1bac[_0x5d33da(0x2c8)]-0x1,_0x1aa53b;_0x2203e9>=0x0;_0x2203e9--)(_0x1aa53b=_0x3a1bac[_0x2203e9])&&(_0x330d2b=(_0x2c2abf?_0x1aa53b(_0x3c609c,_0x1b2b85,_0x330d2b):_0x1aa53b(_0x330d2b))||_0x330d2b);return _0x2c2abf&&_0x330d2b&&Mo(_0x3c609c,_0x1b2b85,_0x330d2b),_0x330d2b;},H=(_0x580e1e,_0x30bc56)=>(_0x380d1d,_0x3b636c)=>_0x30bc56(_0x380d1d,_0x3b636c,_0x580e1e);let Nt=class extends _0x5ce84d{constructor(_0x4b2364,_0x520f55,_0x527ec5,_0x4694be,_0xf57beb,_0x3332cd,_0x5a4f8d,_0x45c727,_0x2ace9a,_0x2702aa,_0x4923eb,_0x4f4d4d,_0x45183e){const _0x86def1=_0x5e3172;super(),g(this,_0x86def1(0x158),new _0xd0d94b(null)),g(this,'state$',this[_0x86def1(0x158)][_0x86def1(0x306)]()),g(this,_0x86def1(0x3c6)),g(this,_0x86def1(0x4c2),!0x1),g(this,_0x86def1(0x34f),''),g(this,_0x86def1(0x409),0x0),g(this,_0x86def1(0x52f),this['state$']['pipe'](_0x461042(_0x50ad14=>_0x50ad14?_0x50ad14[_0x86def1(0x38b)]:J[_0x86def1(0x4d7)]),_0x55695a(0x1))),g(this,_0x86def1(0x162),!0x1),g(this,_0x86def1(0x4bd),[]),(this[_0x86def1(0x4e4)]=_0x4b2364,this[_0x86def1(0x4a7)]=_0x520f55,this[_0x86def1(0x183)]=_0x527ec5,this[_0x86def1(0x3b4)]=_0x4694be,this['_localCacheService']=_0xf57beb,this[_0x86def1(0x3f0)]=_0x3332cd,this['_localeService']=_0x5a4f8d,this[_0x86def1(0x2fd)]=_0x45c727,this[_0x86def1(0x52d)]=_0x2ace9a,this[_0x86def1(0x327)]=_0x2702aa,this[_0x86def1(0x1ee)]=_0x4923eb,this[_0x86def1(0x366)]=_0x4f4d4d,this[_0x86def1(0x4d2)]=_0x45183e);}get['state'](){return this['_state'];}async[_0x5e3172(0x433)](){const _0x58b67d=_0x5e3172;if(this[_0x58b67d(0x3e5)])throw new Error(_0x58b67d(0x46c));await this[_0x58b67d(0x1d2)]();}['pauseCollaboration'](){const _0x5aa0ef=_0x5e3172;return this[_0x5aa0ef(0x4c2)]=!0x0,_0x38e5fb(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5e3172(0x2b2)](_0x301e14){const _0x16b7b9=_0x5e3172;this[_0x16b7b9(0x3c6)]=_0x301e14,this[_0x16b7b9(0x158)]['next'](_0x301e14);}async[_0x5e3172(0x1d2)](){const _0x3306fc=_0x5e3172;var _0xbabfc0;this[_0x3306fc(0x2b2)](await this[_0x3306fc(0x1a0)]()),this['_singleActiveUnitService']&&((_0xbabfc0=this['_singleActiveUnitService'])==null||_0xbabfc0[_0x3306fc(0x203)](this[_0x3306fc(0x4e4)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x3306fc(0x395)](this[_0x3306fc(0x4e4)])[_0x3306fc(0x134)](_0x5bb347=>{const _0x49a09d=_0x3306fc;this[_0x49a09d(0x52d)][_0x49a09d(0x16d)](_0x49a09d(0x43a),'editing\x20status\x20changed\x20to',_0x5bb347),_0x5bb347===Ki['OTHER_CLIENTS_EDITING']?(this[_0x49a09d(0x1ee)]['show']({'content':this[_0x49a09d(0x48a)]['t'](_0x49a09d(0x464)),'type':_0x59169d[_0x49a09d(0x18b)]}),this[_0x49a09d(0x366)][_0x49a09d(0x299)](new _0x1a4341(this[_0x49a09d(0x4e4)])['id'],!0x1),this[_0x49a09d(0x366)][_0x49a09d(0x309)](!0x1)):(this[_0x49a09d(0x366)][_0x49a09d(0x299)](new _0x1a4341(this[_0x49a09d(0x4e4)])['id'],!0x0),this[_0x49a09d(0x366)][_0x49a09d(0x309)](!0x0));})));let _0x1a4e6c=!0x1;return this[_0x3306fc(0x2d9)](this[_0x3306fc(0x4a7)]['sessionStatus$'][_0x3306fc(0x134)](_0x11e3c8=>{const _0x382745=_0x3306fc;_0x11e3c8===fe['ONLINE']?this[_0x382745(0x235)](_0x1a4e6c):_0x11e3c8===fe[_0x382745(0x4d7)]&&(_0x1a4e6c=!0x0,this[_0x382745(0x2bd)]());})),this[_0x3306fc(0x2d9)](this[_0x3306fc(0x4a7)][_0x3306fc(0x2c6)][_0x3306fc(0x134)](_0x3ab282=>{const _0x2379d8=_0x3306fc;try{switch(_0x3ab282[_0x2379d8(0x451)]){case _0x385814[_0x2379d8(0x331)]:{this['_onRemoteChangeset'](_0x5e0840(_0x3ab282[_0x2379d8(0x288)]));break;}case _0x385814[_0x2379d8(0x2e5)]:{this['_onRemoteACK'](_0x3ab282[_0x2379d8(0x288)]);break;}case _0x385814[_0x2379d8(0x2f4)]:{this[_0x2379d8(0x10d)]();break;}case _0x385814[_0x2379d8(0x155)]:{this[_0x2379d8(0x46f)](_0x3ab282[_0x2379d8(0x288)]);break;}case _0x385814[_0x2379d8(0x46d)]:{this['_onFetchMissResult'](_0x3ab282[_0x2379d8(0x288)][_0x2379d8(0x3fd)][_0x2379d8(0x2b4)](_0x11241e=>_0x5e0840(_0x11241e)));break;}case _0x385814[_0x2379d8(0x3e9)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x12e077){throw console[_0x2379d8(0x295)](_0x2379d8(0x3a9),_0x12e077),_0x12e077;}})),this[_0x3306fc(0x3c6)];}[_0x5e3172(0x229)](){const _0x46814c=_0x5e3172;this[_0x46814c(0x162)]=!0x1;}[_0x5e3172(0x4cc)](){const _0x35e46f=_0x5e3172;if(this[_0x35e46f(0x162)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x5e3172(0x4a3)](_0x5f4772){const _0x224a98=_0x5e3172;this[_0x224a98(0x4cc)](),this[_0x224a98(0x2b2)](this[_0x224a98(0x3c6)][_0x224a98(0x144)](_0x5f4772)),this['_unlockTransition']();}[_0x5e3172(0x1ab)](_0x1f5c9f){const _0x88c1fc=_0x5e3172;if(!(_0x1f5c9f[_0x88c1fc(0x2ed)]<=this[_0x88c1fc(0x2fd)][_0x88c1fc(0x30c)](this[_0x88c1fc(0x4e4)]))){if(this[_0x88c1fc(0x4c2)]){this['_remoteChangesetQueue'][_0x88c1fc(0x38e)](_0x1f5c9f);return;}this[_0x88c1fc(0x380)](_0x1f5c9f);}}[_0x5e3172(0x117)](){const _0x2ccd77=_0x5e3172;this['_remoteChangesetQueue'][_0x2ccd77(0x356)](_0x4f8e18=>this[_0x2ccd77(0x380)](_0x4f8e18)),this[_0x2ccd77(0x4bd)]=[];}['_applyRemoteChangeset'](_0x45f26f){const _0x42f667=_0x5e3172,_0xb8eca4=this[_0x42f667(0x3f0)][_0x42f667(0x110)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x42f667(0x110)][_0x42f667(0x1ff)]()[_0x42f667(0x410)])(_0x45f26f[_0x42f667(0x1b2)],null)||_0x45f26f[_0x42f667(0x1b2)],_0x81b871={..._0x45f26f,'mutations':_0xb8eca4};this[_0x42f667(0x4cc)](),this[_0x42f667(0x2b2)](this[_0x42f667(0x3c6)][_0x42f667(0x34a)](_0x81b871)),this[_0x42f667(0x229)]();}[_0x5e3172(0x4c5)](_0x3fe4e1){const _0x5ea9fd=_0x5e3172;this['_lockTransition'](),this[_0x5ea9fd(0x2b2)](this['_state'][_0x5ea9fd(0x15c)](_0x3fe4e1)),this[_0x5ea9fd(0x229)]();}[_0x5e3172(0x10d)](_0x3319a3){const _0xc3f2fe=_0x5e3172;this['_lockTransition'](),this['_updateState'](this[_0xc3f2fe(0x3c6)][_0xc3f2fe(0x3b3)](_0x3319a3)),this['_unlockTransition']();}['_onRemoteRetry'](_0x4ae348){const _0x2e377b=_0x5e3172;this[_0x2e377b(0x4cc)](),this[_0x2e377b(0x2b2)](this['_state'][_0x2e377b(0x36b)](_0x4ae348)),this[_0x2e377b(0x229)]();}[_0x5e3172(0x401)](_0x25f388){const _0x16ff0e=_0x5e3172;if(!(this[_0x16ff0e(0x3c6)]instanceof ce))throw new TypeError(_0x16ff0e(0x475));const _0x342b97=_0x25f388[_0x16ff0e(0x2b4)](_0x53890d=>{const _0x49ef6c=_0x16ff0e,_0x3ded77=this[_0x49ef6c(0x3f0)]['interceptor'][_0x49ef6c(0x37e)](this['_compressMutationService']['interceptor'][_0x49ef6c(0x1ff)]()[_0x49ef6c(0x410)])(_0x53890d[_0x49ef6c(0x1b2)],null)||_0x53890d[_0x49ef6c(0x1b2)];return{..._0x53890d,'mutations':_0x3ded77};});this['_lockTransition'](),this['_updateState'](this[_0x16ff0e(0x3c6)]['onMissedChangesetFetched'](_0x342b97)),this[_0x16ff0e(0x229)]();}[_0x5e3172(0x2bd)](){const _0x5cb585=_0x5e3172;this[_0x5cb585(0x4cc)](),this[_0x5cb585(0x2b2)](this[_0x5cb585(0x3c6)][_0x5cb585(0x448)]()),this[_0x5cb585(0x229)]();}[_0x5e3172(0x235)](_0x46e1f8=!0x1){const _0x988520=_0x5e3172;this['_lockTransition'](),this[_0x988520(0x2b2)](this[_0x988520(0x3c6)]['toggleOnline']()),this[_0x988520(0x229)]();const _0x196861=this[_0x988520(0x3c6)];_0x46e1f8&&_0x196861 instanceof Fe&&(this[_0x988520(0x4cc)](),this['_updateState'](_0x196861['fetchMiss']()),this[_0x988520(0x229)]());}async[_0x5e3172(0x1a0)](){return new Promise(_0x20fa0d=>{const _0x17799b=_0x1eb2;this['session'][_0x17799b(0x18c)][_0x17799b(0x4b6)](_0x3decc5(0x1))[_0x17799b(0x134)](async _0x3ecfb3=>{const _0x29182b=_0x17799b;_0x20fa0d(await this['_createInitialStateImpl'](_0x3ecfb3===fe[_0x29182b(0x2e2)]));});});}['_createHandler'](){const _0x55c9f2=_0x5e3172,_0x264c90=this[_0x55c9f2(0x4e4)];return{'onStateChange':(_0xa321d3,_0x342f0b)=>{const _0x37ccbb=_0x55c9f2;if(_0xa321d3!==this[_0x37ccbb(0x3c6)])throw new Error(_0x37ccbb(0x240)+_0xa321d3[_0x37ccbb(0x38b)]+_0x37ccbb(0x3d0)+_0x342f0b[_0x37ccbb(0x38b)]+_0x37ccbb(0x159)+this[_0x37ccbb(0x3c6)][_0x37ccbb(0x38b)]);this[_0x37ccbb(0x2b2)](_0x342f0b);},'onSendChangeset':_0xce5de1=>{const _0x482085=_0x55c9f2;_0xce5de1[_0x482085(0x12c)]||(_0xce5de1[_0x482085(0x12c)]=this[_0x482085(0x34f)],_0xce5de1[_0x482085(0x11c)]=++this[_0x482085(0x409)]);const _0x5e5a24={'eventID':_0x385814[_0x482085(0x27a)],'data':{'unitID':_0xce5de1[_0x482085(0x4e4)],'unitType':this[_0x482085(0x183)],'changeset':_0xce5de1,'memberID':this[_0x482085(0x4a7)]['getMemberID']()}};this[_0x482085(0x4a7)][_0x482085(0x3e0)](_0x5e5a24,this['unitID']);},'onMissingChangesets':({from:_0x27e365,to:_0x3c8fe6})=>{const _0x4938f1=_0x55c9f2;this['_logService'][_0x4938f1(0x16d)](_0x4938f1(0x43a),'fetching\x20missing\x20changesets\x20from\x20'+_0x27e365+'\x20to\x20'+_0x3c8fe6);const _0x1d9605={'eventID':_0x385814['FETCH_MISSING'],'data':{'unitID':_0x264c90,'unitType':this[_0x4938f1(0x183)],'from':_0x27e365,'to':_0x3c8fe6}};this['session'][_0x4938f1(0x3e0)](_0x1d9605,this['unitID']);}};}async[_0x5e3172(0x339)](_0x50c038){const _0x40d8dc=_0x5e3172;var _0x4038d1,_0x1bb405;const _0x4f0895=await this[_0x40d8dc(0x32a)]['loadOfflineData'](this[_0x40d8dc(0x4e4)]),_0x6aa9f6=(_0x4038d1=_0x4f0895==null?void 0x0:_0x4f0895[_0x40d8dc(0x1b2)])!=null?_0x4038d1:[],_0x429394=(_0x1bb405=_0x4f0895==null?void 0x0:_0x4f0895['awaitingChangeset'])!=null?_0x1bb405:null,_0x5f5094=!!(_0x429394!=null&&_0x429394[_0x40d8dc(0x12c)])&&!!(_0x429394!=null&&_0x429394[_0x40d8dc(0x11c)]);this[_0x40d8dc(0x34f)]=_0x5f5094?_0x429394[_0x40d8dc(0x12c)]:ho(),this[_0x40d8dc(0x409)]=_0x5f5094?_0x429394['reqId']:0x0;const _0x4b8ad3=this['unitID'];try{this[_0x40d8dc(0x502)](_0x429394,_0x6aa9f6);}catch(_0x71a95b){this[_0x40d8dc(0x52d)][_0x40d8dc(0x295)](_0x71a95b);}const _0x59c0d2=this['_createHandler']();if(_0x50c038){const _0x2910c1=Ji(this['_injector'],_0x4b8ad3,this[_0x40d8dc(0x183)],_0x429394,_0x6aa9f6,_0x59c0d2);return _0x2910c1 instanceof pe?_0x2910c1[_0x40d8dc(0x43f)]():(_0x2910c1 instanceof me||_0x2910c1 instanceof Te)&&_0x2910c1[_0x40d8dc(0x430)](),_0x2910c1;}return this[_0x40d8dc(0x3b4)]['createInstance'](Oe,_0x4b8ad3,this[_0x40d8dc(0x183)],_0x429394,_0x6aa9f6,_0x59c0d2);}[_0x5e3172(0x502)](_0x3f840b,_0x3f557e){const _0x325aaa=_0x5e3172;var _0x226371,_0x107ec8;const _0x5083f1=this[_0x325aaa(0x3f0)][_0x325aaa(0x110)][_0x325aaa(0x37e)](this[_0x325aaa(0x3f0)][_0x325aaa(0x110)][_0x325aaa(0x1ff)]()[_0x325aaa(0x410)]);(_0x226371=_0x5083f1((_0x3f840b==null?void 0x0:_0x3f840b['mutations'])||[],null))==null||_0x226371[_0x325aaa(0x356)](_0x435f54=>this[_0x325aaa(0x327)][_0x325aaa(0x266)](_0x435f54['id'],_0x435f54[_0x325aaa(0x436)])),(_0x107ec8=_0x5083f1(_0x3f557e||[],null))==null||_0x107ec8[_0x325aaa(0x356)](_0x4b179b=>this[_0x325aaa(0x327)][_0x325aaa(0x266)](_0x4b179b['id'],_0x4b179b[_0x325aaa(0x436)]));}};Nt=Ps([H(0x3,_0x1259a7(_0xa6ca3c)),H(0x4,_0x1259a7(z)),H(0x5,_0x1259a7(_0x2efac4)),H(0x6,_0x1259a7(_0x56a2bf)),H(0x7,_0x1259a7(_0x5730a1)),H(0x8,_0xadcc6),H(0x9,_0x58c2c0),H(0xa,_0x28a2c3),H(0xb,_0x51028f),H(0xc,_0x2f5f30(jt))],Nt);let ls=class extends Nt{constructor(_0xc9588f,_0x59ff8e,_0x40941b,_0xba3897,_0x267b5e,_0x57f267,_0x47a7cc,_0x2cf2c9,_0x310814,_0x58cf35,_0x1d66c1,_0xb925ac,_0x26a0e9,_0x54640d,_0x343359,_0x564d73,_0x1a6c4e,_0x286af1){const _0x41b7d2=_0x5e3172;super(_0xc9588f,_0x40941b,_0x59ff8e,_0xba3897,_0x267b5e,_0x57f267,_0x47a7cc,_0x2cf2c9,_0x54640d,_0x343359,_0x564d73,_0x1a6c4e,_0x286af1),this['unitID']=_0xc9588f,this['type']=_0x59ff8e,this[_0x41b7d2(0x3dd)]=_0x310814,this['_docTransformIMECacheService']=_0x58cf35,this['_docTransformStateCacheService']=_0x1d66c1,this[_0x41b7d2(0x26d)]=_0xb925ac,this['_docSyncEditingCollabCursorService']=_0x26a0e9;}['_createHandler'](){const _0x98899a=_0x5e3172,_0x389975=super[_0x98899a(0x35e)]();return _0x389975[_0x98899a(0x408)]=_0x3c4c8a=>this['_docTransformIMECacheService']['transformIMECache'](_0x3c4c8a),_0x389975['onTransformState']=_0x440691=>this[_0x98899a(0x2ae)]['transformStateCache'](_0x440691),_0x389975[_0x98899a(0x1bf)]=_0x4469b7=>this[_0x98899a(0x26d)][_0x98899a(0x385)](_0x4469b7),_0x389975[_0x98899a(0x1ca)]=_0x5f1895=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x5f1895),_0x389975[_0x98899a(0x461)]=_0x15f9d5=>this[_0x98899a(0x2e7)]['transformRemoteChangeset'](_0x15f9d5),_0x389975[_0x98899a(0x4dc)]=_0x19cf46=>this[_0x98899a(0x2ae)][_0x98899a(0x3a2)](_0x19cf46),_0x389975;}async['_init'](){const _0x1deafd=_0x5e3172,_0x5aca9a=await super[_0x1deafd(0x1d2)]();return this['disposeWithMe'](this[_0x1deafd(0x3dd)][_0x1deafd(0x33c)]['pipe'](_0x34041a(this[_0x1deafd(0x511)]))[_0x1deafd(0x134)](_0x1421e6=>{const _0x1bc00b=_0x1deafd;if(_0x1421e6==null)return;const {unitId:_0x459b70,redoState:_0x46487f,commandId:_0x5674b3}=_0x1421e6;if(_0x459b70!==this[_0x1bc00b(0x4e4)])return;const _0x1b01cc={'id':_0x5674b3,'type':_0x57cf4b[_0x1bc00b(0x345)],'params':{'unitId':_0x459b70,'actions':_0x46487f['actions'],'textRanges':null}};this[_0x1bc00b(0x4a3)](_0x1b01cc);})),this[_0x1deafd(0x2d9)](this['_commandService'][_0x1deafd(0x1e2)]((_0x1e1db2,_0x4257b8)=>{const _0x3c7653=_0x1deafd;if(_0x1e1db2['type']!==_0x57cf4b[_0x3c7653(0x345)]||_0x4257b8!=null&&_0x4257b8[_0x3c7653(0x3ce)]||_0x4257b8!=null&&_0x4257b8['onlyLocal']||_0x1e1db2['id']===_0x48d9a2['id'])return;const _0x4c6262=_0x1e1db2[_0x3c7653(0x436)];if((_0x4c6262==null?void 0x0:_0x4c6262['unitId'])!==this['unitID'])return;const _0x35c35b=_0x1e1db2,_0x23a749=this[_0x3c7653(0x3f0)][_0x3c7653(0x110)]['fetchThroughInterceptors'](this[_0x3c7653(0x3f0)][_0x3c7653(0x110)]['getInterceptPoints']()[_0x3c7653(0x2de)])([_0x35c35b],null)||[_0x35c35b];this[_0x3c7653(0x4a3)](_0x23a749[0x0]);})),_0x5aca9a;}};ls=Ps([H(0x3,_0x1259a7(_0xa6ca3c)),H(0x4,_0x1259a7(z)),H(0x5,_0x1259a7(_0x2efac4)),H(0x6,_0x1259a7(_0x56a2bf)),H(0x7,_0x1259a7(_0x5730a1)),H(0x8,_0x1259a7(_0x59d42b)),H(0x9,_0x1259a7(yt)),H(0xa,_0x1259a7(Dt)),H(0xb,_0x1259a7(Pt)),H(0xc,_0x1259a7(Ds)),H(0xd,_0xadcc6),H(0xe,_0x58c2c0),H(0xf,_0x28a2c3),H(0x10,_0x51028f),H(0x11,_0x2f5f30(jt))],ls);let _s=class extends Nt{constructor(_0x63e310,_0x14deb8,_0x2d6196,_0x5bb126,_0x27bf9a,_0x1ad4a5,_0x16c867,_0x34a6fa,_0x4bec64,_0x358f73,_0x1ae4af,_0x18c645,_0x24b92d,_0x3edbce){const _0x29e5c2=_0x5e3172;super(_0x63e310,_0x2d6196,_0x14deb8,_0x5bb126,_0x27bf9a,_0x1ad4a5,_0x16c867,_0x34a6fa,_0x358f73,_0x1ae4af,_0x18c645,_0x24b92d,_0x3edbce),this[_0x29e5c2(0x4e4)]=_0x63e310,this[_0x29e5c2(0x20d)]=_0x14deb8,this[_0x29e5c2(0x404)]=_0x4bec64;}[_0x5e3172(0x35e)](){const _0x522f44=_0x5e3172,_0x587303=super['_createHandler']();return _0x587303[_0x522f44(0x1bf)]=_0x5183e9=>this[_0x522f44(0x404)]['transformSelections'](_0x5183e9),_0x587303;}async[_0x5e3172(0x1d2)](){const _0x384ffe=_0x5e3172,_0x479b32=await super[_0x384ffe(0x1d2)]();return this[_0x384ffe(0x2d9)](this['_commandService'][_0x384ffe(0x1e2)]((_0x25f1d6,_0x3df31e)=>{const _0xd8ced8=_0x384ffe;if(_0x25f1d6[_0xd8ced8(0x20d)]!==_0x57cf4b[_0xd8ced8(0x345)]||_0x3df31e!=null&&_0x3df31e[_0xd8ced8(0x3ce)]||_0x3df31e!=null&&_0x3df31e[_0xd8ced8(0x13b)])return;const _0x216ef1=_0x25f1d6['params'];if((_0x216ef1==null?void 0x0:_0x216ef1[_0xd8ced8(0x452)])!==this[_0xd8ced8(0x4e4)])return;const _0x54f50=_0x25f1d6,_0x51b7d8=this[_0xd8ced8(0x3f0)][_0xd8ced8(0x110)][_0xd8ced8(0x37e)](this[_0xd8ced8(0x3f0)][_0xd8ced8(0x110)][_0xd8ced8(0x1ff)]()[_0xd8ced8(0x2de)])([_0x54f50],null)||[_0x54f50];this[_0xd8ced8(0x4a3)](_0x51b7d8[0x0]);})),_0x479b32;}};_s=Ps([H(0x3,_0x1259a7(_0xa6ca3c)),H(0x4,_0x1259a7(z)),H(0x5,_0x1259a7(_0x2efac4)),H(0x6,_0x1259a7(_0x56a2bf)),H(0x7,_0x1259a7(_0x5730a1)),H(0x8,_0x1259a7(wt)),H(0x9,_0xadcc6),H(0xa,_0x58c2c0),H(0xb,_0x28a2c3),H(0xc,_0x51028f),H(0xd,_0x2f5f30(jt))],_s);var Lo=Object[_0x5e3172(0x243)],$o=Object[_0x5e3172(0x26f)],Ho=(_0x784141,_0x4b33d8,_0x98e847,_0x4cc933)=>{const _0x1425bb=_0x5e3172;for(var _0x2c114e=_0x4cc933>0x1?void 0x0:_0x4cc933?$o(_0x4b33d8,_0x98e847):_0x4b33d8,_0x3ae7ef=_0x784141[_0x1425bb(0x2c8)]-0x1,_0x4e8deb;_0x3ae7ef>=0x0;_0x3ae7ef--)(_0x4e8deb=_0x784141[_0x3ae7ef])&&(_0x2c114e=(_0x4cc933?_0x4e8deb(_0x4b33d8,_0x98e847,_0x2c114e):_0x4e8deb(_0x2c114e))||_0x2c114e);return _0x4cc933&&_0x2c114e&&Lo(_0x4b33d8,_0x98e847,_0x2c114e),_0x2c114e;},zt=(_0x1a6a00,_0x52d06d)=>(_0x49b94d,_0x4bc980)=>_0x52d06d(_0x49b94d,_0x4bc980,_0x1a6a00);let rt=class extends _0x5ce84d{constructor(_0x14e532,_0x3a1518,_0x52cead){const _0x19d488=_0x5e3172;super(),g(this,'_entities',new Map()),g(this,_0x19d488(0x43c),new _0x1b8780()),(this[_0x19d488(0x3b4)]=_0x14e532,this[_0x19d488(0x22d)]=_0x3a1518,this[_0x19d488(0x153)]=_0x52cead,this[_0x19d488(0x1d2)]());}[_0x5e3172(0x48f)](){const _0x25bd78=_0x5e3172;super[_0x25bd78(0x48f)](),this[_0x25bd78(0x24f)][_0x25bd78(0x356)](_0x333677=>_0x333677[_0x25bd78(0x48f)]()),this[_0x25bd78(0x24f)][_0x25bd78(0x3db)]();}[_0x5e3172(0x4eb)](_0x1de866){const _0x2610a7=_0x5e3172;var _0x1f4974;return(_0x1f4974=this[_0x2610a7(0x24f)][_0x2610a7(0x307)](_0x1de866))!=null?_0x1f4974:null;}[_0x5e3172(0x46e)](_0x27c5c9){const _0x378010=_0x5e3172,_0xc52a83=this['getCollabEntity'](_0x27c5c9);return _0xc52a83?_0x4f62b6(_0xc52a83):this[_0x378010(0x43c)][_0x378010(0x4b6)](_0x3c0a43(_0x5b8be3=>_0x5b8be3[_0x378010(0x4e4)]===_0x27c5c9));}[_0x5e3172(0x1d2)](){const _0x3fca07=_0x5e3172;this[_0x3fca07(0x153)][_0x3fca07(0x1ba)](_0xfbb68f[_0x3fca07(0x1c2)])[_0x3fca07(0x4b6)](_0x34041a(this[_0x3fca07(0x511)]),_0x5a47b9(0x10))[_0x3fca07(0x134)](async _0x2f0dc2=>{const _0x5e2f53=_0x3fca07,_0x5a654a=_0x2f0dc2['getUnitId'](),_0x4a6a18=await this['_startCollaboration'](_0x5a654a,ae[_0x5e2f53(0x1c2)]);this[_0x5e2f53(0x24f)][_0x5e2f53(0x332)](_0x5a654a,_0x4a6a18);}),this[_0x3fca07(0x153)][_0x3fca07(0x1ba)](_0xfbb68f['UNIVER_DOC'])['pipe'](_0x34041a(this[_0x3fca07(0x511)]),_0x5a47b9(0x10))[_0x3fca07(0x4b6)](_0x3c0a43(_0x36904e=>!_0x36904e[_0x3fca07(0x12f)]()[_0x3fca07(0x1b9)]('__')))[_0x3fca07(0x134)](async _0x3c71d4=>{const _0x5e22bf=_0x3fca07,_0x34ff8a=_0x3c71d4[_0x5e22bf(0x12f)](),_0x857117=await this[_0x5e22bf(0x413)](_0x34ff8a,ae[_0x5e22bf(0x11d)]);this[_0x5e22bf(0x24f)]['set'](_0x34ff8a,_0x857117);}),_0x143e60(this[_0x3fca07(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f['UNIVER_SHEET']),this[_0x3fca07(0x153)][_0x3fca07(0x241)](_0xfbb68f[_0x3fca07(0x11d)]))[_0x3fca07(0x4b6)](_0x34041a(this[_0x3fca07(0x511)]))['subscribe'](_0x135229=>{const _0x2d53fd=_0x3fca07,_0x2b779a=_0x135229['getUnitId'](),_0x557c9d=this[_0x2d53fd(0x24f)][_0x2d53fd(0x307)](_0x2b779a);_0x557c9d&&(_0x557c9d[_0x2d53fd(0x48f)](),this[_0x2d53fd(0x24f)]['delete'](_0x2b779a));});}async[_0x5e3172(0x413)](_0x1912a1,_0x3befed){const _0x5ccaa0=_0x5e3172,_0x3592d6=await this['_collabSessionService'][_0x5ccaa0(0x17e)](_0x1912a1),_0x495b69=this[_0x5ccaa0(0x3b4)][_0x5ccaa0(0x13c)](this[_0x5ccaa0(0x3ae)](_0x3befed),_0x1912a1,_0x3befed,_0x3592d6);return await _0x495b69[_0x5ccaa0(0x433)](),this[_0x5ccaa0(0x43c)][_0x5ccaa0(0x23b)](_0x495b69),_0x495b69;}[_0x5e3172(0x3ae)](_0x2d9a8f){const _0x3b9d93=_0x5e3172;switch(_0x2d9a8f){case ae[_0x3b9d93(0x11d)]:return ls;case ae[_0x3b9d93(0x1c2)]:return _s;default:throw new Error(_0x3b9d93(0x163)+_0x2d9a8f);}}};rt=Ho([zt(0x0,_0x1259a7(_0xa6ca3c)),zt(0x1,_0x1259a7(xe)),zt(0x2,_0x381e7e)],rt);var jo=Object['defineProperty'],Bo=Object[_0x5e3172(0x26f)],ko=(_0x286385,_0x309464,_0x1f9efc,_0x382e7a)=>{const _0x4eec3f=_0x5e3172;for(var _0x322e75=_0x382e7a>0x1?void 0x0:_0x382e7a?Bo(_0x309464,_0x1f9efc):_0x309464,_0x580723=_0x286385[_0x4eec3f(0x2c8)]-0x1,_0x41fea4;_0x580723>=0x0;_0x580723--)(_0x41fea4=_0x286385[_0x580723])&&(_0x322e75=(_0x382e7a?_0x41fea4(_0x309464,_0x1f9efc,_0x322e75):_0x41fea4(_0x322e75))||_0x322e75);return _0x382e7a&&_0x322e75&&jo(_0x309464,_0x1f9efc,_0x322e75),_0x322e75;},ti=(_0x372a37,_0x1ff0c2)=>(_0x3c52cb,_0x55cc09)=>_0x1ff0c2(_0x3c52cb,_0x55cc09,_0x372a37);let Ut=class extends _0x5ce84d{constructor(_0x54f294,_0x928c56){const _0xa55e2d=_0x5e3172;super(),this[_0xa55e2d(0x310)]=_0x54f294,this[_0xa55e2d(0x4c0)]=_0x928c56,this['_init']();}[_0x5e3172(0x1d2)](){const _0x5a0c04=_0x5e3172,_0xf7aa1=this;this[_0x5a0c04(0x2d9)](this['_docClipboardService'][_0x5a0c04(0x4ec)]({'onBeforePasteImage':async _0x184c2f=>{const _0xd014d6=_0x5a0c04,_0x4e2446=await _0xf7aa1[_0xd014d6(0x4c0)][_0xd014d6(0x341)](_0x184c2f);return _0x4e2446?{'source':_0x4e2446[_0xd014d6(0x38f)],'imageSourceType':_0x4e2446[_0xd014d6(0x4dd)]}:null;}}));}};Ut=ko([ti(0x0,_0x51fcd5),ti(0x1,_0x1c8798)],Ut);const si=[_0x5e3172(0x50e),_0x5e3172(0x3b7),_0x5e3172(0x207),_0x5e3172(0x301),_0x5e3172(0x14d),_0x5e3172(0x485)];class Ns extends _0x5f337f{constructor(){const _0x854622=_0x5e3172;super(...arguments),g(this,_0x854622(0x24b),new Map()),g(this,'_colorIndex',0x0);}[_0x5e3172(0x236)](_0x410980){const _0x210598=_0x5e3172;if(this['_assignedColors'][_0x210598(0x3cb)](_0x410980))return this['_assignedColors'][_0x210598(0x307)](_0x410980);const _0x2e063c=si[this[_0x210598(0x2cd)]];return this[_0x210598(0x2cd)]=(this[_0x210598(0x2cd)]+0x1)%si[_0x210598(0x2c8)],this[_0x210598(0x24b)][_0x210598(0x332)](_0x410980,_0x2e063c),_0x2e063c;}}var Wo=Object[_0x5e3172(0x243)],Fo=Object[_0x5e3172(0x26f)],Vo=(_0x5a36cf,_0x2b613e,_0x36706d,_0x4aec6b)=>{for(var _0x17be08=_0x4aec6b>0x1?void 0x0:_0x4aec6b?Fo(_0x2b613e,_0x36706d):_0x2b613e,_0x8f18=_0x5a36cf['length']-0x1,_0x26c6f5;_0x8f18>=0x0;_0x8f18--)(_0x26c6f5=_0x5a36cf[_0x8f18])&&(_0x17be08=(_0x4aec6b?_0x26c6f5(_0x2b613e,_0x36706d,_0x17be08):_0x26c6f5(_0x17be08))||_0x17be08);return _0x4aec6b&&_0x17be08&&Wo(_0x2b613e,_0x36706d,_0x17be08),_0x17be08;},we=(_0x183b09,_0x4d98cf)=>(_0x4fd1d2,_0x5918bc)=>_0x4d98cf(_0x4fd1d2,_0x5918bc,_0x183b09);const Go=0x12c,Yo=0x64;function _0x1abc(){const _0x37c301=['localeService','/resources','USERS_ENTER','_retryConnectingTimer','with','objectActions','_state','getUniverSheetInstance','unknown','abs','_clearScheduledTask','has','exhaustSavingTask','cursorInfo','fromCollab','_initEventListeners','\x0aAfter:\x20','infoRsp','liveShareNewHost','deepClone','INTERNAL_ERROR','_scheduleCollaborationTimeoutTimer','_getSessionTicket','_updateCollabCursors','getCurrentUser','_getDownloadEndpointURL','_createSocketURL','clear','42GjrGJr','_docStateChangeManagerService','ERROR_IMAGE','reset','send','_saveTaskMap','FETCH_MISS','409512bHxOjn','_shapes','state','session.join-failed','setStateCache','snapshotServerUrl','PERMISSION_REJ','_prevBlock','_scene','NO_OTHER_CLIENTS_EDITING','_sendingTimer','_transformHistoryAndStateStack','syncEditingCollabCursor','_compressMutationService','memberID','_instanceService','/universer-api/authz','UNAUTHENTICATED','_anchor','_collabCursorController','round','/collaborator','isPermissionRej','ALREADY_EXISTS','176992rPxOra','getCollabCursors$','changesets','_acknowledgedAwaitingChangeset','565gJvyLl','3028566UawZPo','_onFetchMissResult','_session','splice','_sheetTransformSelectionsService','socketService','_localStorageService','getUnitOnRev','onTransformIME','_changesetReqId','FromArray','_getSheetObject','subUnitId','encryptBlock','bind','[DataLoaderController]','COMPRESS_MUTATION_APPLY','MSG_FOR_ERROR','text','_startCollaboration','_userManagerService','_eventUnsubscribe','[OfflineState]:\x20received\x20rejection.','incrementRevOfUnit','unitId\x20is\x20not\x20found','_backgroundColor','fetchMissingChangesets','_nDataBytes','_collaborationSessionService','_snapshotServerService','_labelPosition','complete','HEARTBEAT','ceil','updateOfflineData','CONFLICT','onPointerMove$','_document','&to=','_rescheduleHeartbeat','saveOfflineData','string','LICENSE_DISTRO_REJECTED','doc.mutation.rich-text-editing','_updateSubUnitFromURLParams','PENDING','OTHER_CLIENTS_EDITING','sheetId','resend','setParam','_initMergeInterceptor','init','charAt','_render','params','_socket','/universer-api/snapshot/','UnitSnapshot','[CollaborationEntity]','univer-online-status-title','_entityInit$','awaiting','getWorkbookSelections','_schedule','_transformPreviousActiveRange','_removeRoom','_resendWithTimeout','getUnitType','/universer-api/comb','_sendHeartbeat','HttpImport','encrypt','toggleOffline','_snapshotService','getRoom','_getSendChangesetTimeout','collab-client.tooltip.reconnect','endRow','readInt32LE','undoState','permission.title','eventID','unitId','csShouldRetryEvent','HmacMD5','_clearRedo','_removeClearOtherTimer','SNAPSHOT_URL_KEY','title','resize','_onUserLeave','_getUploadFileURL','saveSnapshot','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_transformSelections','fetch_missing','setConfig','onTransformRemoteChangesetByIMECache','format','clearInterval','collaboration.single-unit.warning','_handleJoinEvent','_id','top','isArray','slice','liveShareOperation','_clearUndo','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PSEUDO_FETCH_MISSING_RESULT','getCollabEntity$','_onRemoteRetry','collaborators','cfg','defs','randomBytes','collaboration_new_changeset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','[CollaborationSessionService]:\x20socket\x20error','_setupSubUnitSync','APPLY_REJECT','collabStatus.fetchMiss','MD5','ReactCurrentOwner','roomMembers$','univer-online','replaceState','loadOfflineData','delete','deleteCollaborator','msCrypto','listRoles','/universer-api/stream/file/upload','gold400','flatMap','[CollaborationSession]','_getRedoStack','_scheduleClearOtherTimer','_localeService','reconnect','compute','transformStateCache','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','dispose','ACTIVE_UNIT_EVENT_CHANNEL','reverse','collabStatus.offline','_cipher','_roomMembers$','textRanges','Unknown\x20user','collaboration-client.config','getResourcesRequest','kdf','all','_registerRenderDependencies','addObject','_onConflict','from','path','_ws','message$','connection\x20error','_onLocalMutation','_checkMissing','stopTime','transformMutationsWithChangeset','session','Base64','cursorInfo$','onPointerEnter$','#fff','x-univer-host','signUrlServerUrl','_initUnitPermissionChange','image/jpg','_registerDependencies','&assign=','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','exports','_themeService','collaboration.closeRoom','pipe','show','314946bmxxcJ','concat','_transformStack','clamp','LIVESHARE_NEW_HOST','_remoteChangesetQueue','_getSaveTimeout','getSheetBlock','_imageIoService','_isPermissionRej','_collaborationPaused','bottom','_getScale','_onRemoteACK','_anchorDot','{fileID}','_startDocCollabCursor','onPointerLeave$','session.will-retry','DeleteRangeMoveLeftCommandId','_lockTransition','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','socket\x20close','on-line-single','unshift','_initStatusComponent','_singleActiveUnitService','roomInfos','_context','fromCharCode','update','OFFLINE','hasOwnProperty','1em','_sender','_initStatusListener','onTransformRemoteChangesetByStateCache','imageSourceType','_updateLocalCursor','m1Prime','SNAPSHOT_INVALID_SNAPSHOT','members','location','COMPLETION_FINISHED','unitID','attrs','_range','/universer-api/oidc/authpage','prototype','TEXT','responseType','getCollabEntity','addClipboardHook','leaveEvent','_renderManagerService','onMissingChangesets','_clearHeartbeatTimer','fillStyle','propertyIsEnumerable','_urlService','_updateStatus','getStateCache','_resendTimeout','trim','PERMISSION_DENIED','conflict.title','_startTelemetryCollaborationNewChangeset','[PendingState]:\x20received\x20acknowledgement.','_throwTelemetryCollaborationNewChangeset','Malformed\x20UTF-8\x20data','fillText','_transformService','call','avatar','_replayCachedMutations','[SyncedState]:\x20received\x20rejection.','allowed','div','clone','_unitID','updateMember','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','VIEW_MAIN','_sessionStatus$','permission.content','_collaborationController','purple300','stringify','_selfUnitIDs','dispose$','hostname','HEARTBEAT_INTERVAL','UPDATE_CURSOR','snapshot','Fragment','backgroundColor','getParam','\x20in\x20_schedule.','iterations','_keyPriorReset','JOINING','BASE64','_hash','_colorAssignService','searchParams','error$','addEventListener','_setupBeforeClosingHandler','decrypt','activeSheet$','ivSize','unsubscribe','algo','image/gif','UniverIcon','People','_queuedRemoteChangesets','_logService','_startSheetCollabCursor','status$','transformChangesets','Univer','updatePermissionObjEvent','selection','hovered','_httpService','_awaitingChangeset','_commentUpdate$','_onRemoteRejected','_doCryptBlock','USERS_LEAVE','interceptor','createSocket','HEADER_MENU','salt','_key','substr','getMember','_exhaustRemoteChangesetQueue','_clearLocalCache','_commentService','engine','offline','reqId','UNIVER_DOC','ref','sigBytes','pluginName','name','_nRounds','fill','transformStack\x20failed!','synced','downloadEndpointUrl','LOCAL_CACHE_INTERVAL','number','toString','putCollaborators','_scheduleHeartbeat','sid','_sendHeartbeatTimer','JOIN_ROOM_NOT_EXISTS','getUnitId','src','method','/object/','save\x20fail\x20reason\x20is\x20','subscribe','Error','_undoStacks','SHOULD_CLOSE_CONN','LICENSE_IMPORT_SIZE_EXCEEDED','_joinRoom','collabStatus.synced','onlyLocal','createInstance','/unit/','_getAnchorBounding','authzUrl','roles','univer-pro.collaboration-client-socket-service','updateCursorEvent','transformUndoRedo','appendMutation','_listenToOfflineEvent','onlineStatusTitle','_send','_transformIMECache','_notificationService','__creator','subscribeEvent','getRangePointData','blue400','session.room-full','_substituteRedoStack','csAckEvent','AUTHZ_URL_KEY','_reverseMap','_univerInstanceService','setItem','CHANGESET_SHOULD_RETRY','_onMessage','LIVESHARE_REQUEST_HOST','_state$','\x0aCurrent:\x20','_event$','getValue','onRemoteAck','_members','then','add','HttpExport','font','_transitionLocked','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','JOIN_ROOM_FULL','url','_loadDoc','whenReady','range','list','history','_memberService','UnitEmbedded','debug','_onCursorUpdate','entries','withCredentials','SNAPSHOT_HAS_BEEN_REMOVED','buffer','35hllUkw','_socketMessageSubscription','UNRECOGNIZED','Hasher','close','_stopTelemetryCollaborationNewChangeset','10abUhRi','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','application/json','getCurrent','translate(.97)','requireSession','_sessions','getViewport','INVALID_ARGUMENT','COLLAB_WEB_SOCKET_URL','_type','batchAllowed','hidden','getConfig','_candidateSocket','Utf8','sessionStatus','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','Warning','sessionStatus$','socket\x20open.','xlink:href','generateRandomId','enableLocalCache','newValue','_initDependencies','_drawTextRange','startTime','_undoRedoService','registerOnClose','DEFAULT_FILE_NAME','collaboration-session-retry','_pendingMutations','_onCursorDelete','getAllMembers','SEND_CHANGESET_TIMEOUT','getSheetBySheetId','onTransformChange$','[CollaborationUndoRedoService]','_createInitialState','ERROR_EXCEED_SIZE','capture','copyFileMeta','_lastPointer','conflict','hasher','toggleOnline','result','_minBufferSize','NOT_COLLAB','_onRemoteChangeset','JOIN','YUUMI_RATE_OVER_LIMIT','svg','GLOBAL_ROOMS_CNT_EXCEEDS','APPLY_NON_SEQUENTIAL_REVISION','collabStatus.conflict','mutations','NoPadding','_scheduleSaving','_onConnectionFailed','replace','_tryEnsureSocket','COLLAB_SUBMIT_CHANGESET_URL','startsWith','getTypeOfUnitAdded$','_cursor','tag','replaceDocRanges','_doFinalize','onTransformSelections','pending','_replaceFileID','UNIVER_SHEET','_config','[CollaborationSessionService]','words','_waitCount','registerComponent','sheetID','Could\x20not\x20dynamically\x20require\x20\x22','onSyncEditingCollabCursor','off-line-single','toLowerCase','FAIL','AWAITING_WITH_PENDING','repeat','code','&source=','_init','[FetchMissState]','_socketReady','makeDirty','_status$','_socket$','transformIMECache','?size=','InsertColCommandId','roomMembers','_refRangeService','jsxs','_cursors','LEAVE','OnLineSingle','Decryptor','onCommandExecuted','lineTo','getUndoRedoMutationParamsCache','lib','focused$','c1Prime','getCurrentUnitForType','enableAuthServer','collab-text-range-','session.room-permission-denied','indexOf','idSuffix','_messageService','_redoStacks','YUUMI_UNABLE_LOAD_URL','collabCursorState$','width','APPLY_DUPLICATED','encodeURIComponent','_ENC_XFORM_MODE','_heartbeatTimer','_initCommandExecutedListener','toRgbString','_getAPIPrefixPath','urlChange$','_textBubble','_createHmacHelper','clearTimeout','filter','getInterceptPoints','_collabCursorState$','/universer-api/user/session-ticket','change$','editingUnit','workbook','_invKeySchedule','transformByState','verdancy600','1855635wGadEY','/block/','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','uni.network.url-service','/-/object/-/batch_allowed','type','_getCurrentRevision','m2Prime','commentUpdate$','[PendingState]:\x20received\x20rejection.','apply','put','baseRev','assign','_unitStatus','selections','black','getCellPositionByOffset','values','collaMsg','reject','onload','floor','padding','SHA1','_iKey','_roomMembers','execute','off-line-single_clip0_910_343','requestParams','row','awaitingChangeset','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_unlockTransition','popstate','univer-pro.collaboration-client.single-active-unit-service','AWAITING','_collabSessionService','origin','NOT_FOUND','_color','_handler','hide','_getAPIPrefix','_telemetryService','_toggleOnline','assignAColorForMemberID','/object','_telemetryInfo','setActiveRange','confirm','next','INGEST','icon','_transformUndoredo','collabSubmitChangesetUrl','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getTypeOfUnitDisposed$','_online','defineProperty','finalize','_append','_onCombEvent','_cachedData','_removeCollabCursors','DeleteRangeMoveUpCommandId','_scheduleTimestamp','_assignedColors','registerHTTPInterceptor','WordArray','mixIn','_entities','LIVESHARE_TERMINATE','LIVESHARE_FETCH_OPERATIONS','UNDEFINED','objects','labelPosition','_doReset','now','getOffsetConfig','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_mode','getVpScrollXYInfoByPosToVp','onMissedChangesetFetched','session.room-not-exists','_clearOtherTimers','__esModule','getAncestorScale','headers','image/bmp','MoveRangeCommandId','onCommentUpdate','findNodePositionByCharIndex','patch','executeCommand','JOIN_ROOM_PERMISSION_DENIED','processBlock','compose','min','onSendChangeset','originalMeta','_docTransformSelectionsService','90PgBedm','getOwnPropertyDescriptor','_configService','SerializableCipher','_resendTimer','setTimeout','onReady','_onRecvEvent','url(#$1','subject','UPDATE_PERMISSION_OBJ','univer-offline','SUBMIT_CHANGESET','getFocusedUnit','_updateURLWithCurrentState','disableLocalCache','getImageSourceCache','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','clipPath','loadSheet','defIds','[PendingState]:\x20unhandled\x20univer\x20type:\x20','pushState','_parse','getMergeData','setCurrentUser','data','for','isEditing','_imageSourceCache','react.element','_onUserJoin','override','getImage','duration','_transformRemoteChangesetByIMECache','POST','ranges','getActiveRange','error','colorChannel1','FileId','/universer-api/file/{fileID}/sign-url','updatePermissionPoint','SYNCED','sheets','getSheetId','_transformStateCache','image/jpeg','_transformRemoteChangesetByStateCache','RemoveColCommandId','max','_saveCache','_executeRemoteChangeset','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','post','startColumn','_unitOnClients','drawWith','COMMENT_UPDATE','_initRequestHeader','onTransformState','_collaborationTimeoutTimer','file','_docTransformStateCacheService','setAlpha','blockSize','loadDoc','_updateState','_socketService','map','_createHelper','_beforeCloseService','formatter','jsx','ERROR_IMAGE_TYPE','_onConnectionOpen','mode','includes','_toggleOffline','saveSheetBlock','unit-cache-','_hideTimer','extend','initWorkbookPermissionChange','Cipher','_xformMode','_name','event$','measureText','length','restore','/rev/','permissionRejEvent','contains','_colorIndex','_clearCollaborationTimeoutTimer','_getMergeRange','CipherParams','OpenSSL','encode','_waitForHeartbeatResponse','not_collab','_change$','getSnapshotAPIPath','_oKey','joinRsp','disposeWithMe','body','getRandomValues','transform','collabWebSocketUrl','COMPRESS_MUTATION_SEND','create','getDeserializedSheetBlock','onStateChange','ONLINE','setShapeProps','objectType','CHANGESET_ACK','getLatestCsReqIdBySid','_docTransformIMECacheService','_listenToOnlineEvent','getSkeleton','Encryptor','_cursorInfo$','currentSkeleton$','revision','_handleHeartbeatEvent','substring','_transformUndoRedoStack','_clearTimeoutTimer','decryptBlock','userID','CHANGESET_REJ','_decreaseWaiting','_syncEditingCollabCursorService','_retryCount','?url=','/allowed','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','APPLY_REVISION_CONFILICT','awaiting_with_pending','_revisionService','_handleEvent','[UniverCollaborationClientPlugin]','_substituteUndoStack','red300','enc','save','join','redoState','asObservable','get','function','setShowComponents','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','LIVESHARE_OPERATION','getCurrentRevOfUnit','endColumn','registerRefRange','$super','_docClipboardService','_timeoutTimer','registerRenderModule','currentColor','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','_ensureSubject','_handleLeaveEvent','Undefined','routeKey','retryConnectingInterval','_onOffline','RECV','_disabled','displayName','collab-rect-range-','_HTTPService','Latin1','_handleHover','_tryReconnect','ENSURE_SNAPSHOT_EXECUTION','_updateLocalCache','randomUUID','charCodeAt','_commandService','getActiveSheet','_hasher','_localCacheService','collabStatus.syncing','createDecryptor','_draw','UNIVER_SLIDE','parse','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','NEW_CHANGESETS','set','storage','_doProcessBlock','onMouseMove','BlockCipherMode','CONNECTOR_DATA_TOO_LARGE','sin','_createInitialStateImpl','height','catch','docStateChange$','EvpKDF','HELLO','saveChangeset','getRenderById','saveImage','_cursorShapes','[OfflineState]:\x20received\x20acknowledgement.','subunit','MUTATION','defaultProps','_refreshCollabCursors','_createSocket','children','onRemoteChangeset','UNKNOWN_CODE','random','_getSignURL','_data','_changesetSessionId','action','LICENSE_EXPORT_SIZE_EXCEEDED','IDLE','RECT','reduce','_fetchMissChangesets','forEach','transformMutation','none','getItem','_iv','_getLoginPath','LICENSE_MAX_UNITS_EXCEEDED','M0\x200H16V16H0z','_createHandler','cmd','HMAC','byteOffset','RETRY_CONNECTING_MAX_COUNT','current','_loadSheet','currentTheme$','_permissionService','_shouldReportTelemetry','Base','color','key','onRemoteRetry','CHANGESET_REVISION_CONFILICT','symbol','_sheetSkeletonManagerService','arc','_process','rgba(255,\x20255,\x20255,\x200.01)','_uiPartsService','_disableEditing','[SyncedState]:\x20received\x20acknowledgement.','UNIVER_PROJECT','byteLength','setUndoRedoMutationParamsCache','_hover','onRendered','_map','onStarting','CBC','failed\x20to\x20apply\x20missed\x20changesets!','fetchThroughInterceptors','removeMember','_applyRemoteChangeset','objectID','univer-online-status-icon','setWaitCount','2759669bthLCG','transformSelections','crypto','SUCCUSS','getDocRanges','_onRefRangeChange','__Key__','status','fetchMiss','href','push','source','_initResize','BlockCipher','on-line-single_clip0_910_349','_submitChangeset','enableSingleActiveInstanceLock','getUnitStatus$','_hovered','unpad','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getMemberID','_syncEditingCollabCursor','actions','c2Prime','UNKNOWN_CMD','getCurrentSelections','InsertRangeMoveDownCommandId','auth.needGotoLoginAlert','default','transformRemoteChangeset','getTime','column','ciphertext','UUID','AES','updateCollaborator','Error\x20on\x20receiving\x20event','size','APPLY_PERMISSION_DENIED','_incrementRevisionNumber','isActive','_getCtorByUniverType','disposeUnit','YUUMI_SUBSCRIPTION_NOT_FOUND','keySize','session.connection-failed','onRemoteRej','_injector','every','...','jiqing500','close$','_keySchedule','resolve','createEncryptor','getUnhiddenWorksheets','pad','_DEC_XFORM_MODE','_getUndoStack'];_0x1abc=function(){return _0x37c301;};return _0x1abc();}let us=class extends _0x5ce84d{constructor(_0x49b451,_0x20c029,_0x13e481,_0x24484b,_0x3abe8b,_0x353ef7,_0xce2db8,_0x326f41,_0x62801e){const _0x47014b=_0x5e3172;super(),g(this,_0x47014b(0x242),!0x1),g(this,_0x47014b(0x1d2),!0x1),g(this,_0x47014b(0x2eb),new _0xd0d94b(new Map())),g(this,_0x47014b(0x4a9),this[_0x47014b(0x2eb)]['asObservable']()),g(this,_0x47014b(0x494),new _0xd0d94b([])),g(this,_0x47014b(0x47c),this[_0x47014b(0x494)][_0x47014b(0x4b6)](_0x5fe042(Go))),g(this,'_updateLocalCursor',_0x38f51c(_0x417b92=>{const _0x40cd7e=_0x47014b,_0x5b75c7={'eventID':_0x385814[_0x40cd7e(0x514)],'data':{'unitID':this[_0x40cd7e(0x4e4)],'memberID':this[_0x40cd7e(0x402)][_0x40cd7e(0x399)](),'selection':qi(_0x417b92)}};this[_0x40cd7e(0x402)]['send'](_0x5b75c7,this['unitID']);},Yo)),(this[_0x47014b(0x4e4)]=_0x49b451,this['_session']=_0x20c029,this[_0x47014b(0x3b4)]=_0x13e481,this['_colorAssignService']=_0x24484b,this['_memberService']=_0x3abe8b,this[_0x47014b(0x2f6)]=_0x353ef7,this['_transformService']=_0xce2db8,this[_0x47014b(0x153)]=_0x326f41,this['_commandService']=_0x62801e);}get[_0x5e3172(0x3cd)](){const _0x3302b4=_0x5e3172;return this[_0x3302b4(0x2eb)][_0x3302b4(0x15b)]();}get['roomMembers'](){const _0xa615b8=_0x5e3172;return this['_roomMembers$'][_0xa615b8(0x15b)]();}[_0x5e3172(0x48f)](){const _0x566f45=_0x5e3172;super['dispose'](),this[_0x566f45(0x2eb)][_0x566f45(0x23b)](new Map()),this['_cursorInfo$'][_0x566f45(0x41f)](),this[_0x566f45(0x494)][_0x566f45(0x23b)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x2b6b3a=_0x5e3172;this[_0x2b6b3a(0x1d2)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x2b6b3a(0x4b6)](_0x34041a(this[_0x2b6b3a(0x511)]))[_0x2b6b3a(0x134)](_0x494f43=>{const _0x56065c=_0x2b6b3a;_0x494f43===fe[_0x56065c(0x2e2)]?this[_0x56065c(0x235)]():this[_0x56065c(0x2bd)]();}),this[_0x2b6b3a(0x402)]['event$']['pipe'](_0x34041a(this[_0x2b6b3a(0x511)]))[_0x2b6b3a(0x134)](_0x510473=>{const _0x42b0a3=_0x2b6b3a,_0x2e0e55=_0x510473['eventID'];_0x2e0e55===_0x385814[_0x42b0a3(0x514)]&&this['_onCursorUpdate'](_0x510473),_0x2e0e55===_0x385814[_0x42b0a3(0x10f)]&&this['_onCursorDelete'](_0x510473);}),this[_0x2b6b3a(0x2d9)](this[_0x2b6b3a(0x327)][_0x2b6b3a(0x1e2)](_0x5aac62=>{const _0x595bd0=_0x2b6b3a,_0x355d63=_0x5aac62['params'];_0x355d63!=null&&this['_online']&&_0x5aac62['id']===_0x6a5ee2['id']&&_0x355d63[_0x595bd0(0x452)]===this['unitID']&&_0x355d63[_0x595bd0(0x28a)]===!0x1&&_0x355d63['ranges'][_0x595bd0(0x2c8)]>0x0&&this[_0x595bd0(0x4de)](_0x355d63[_0x595bd0(0x293)]);})),this[_0x2b6b3a(0x2f6)][_0x2b6b3a(0x1f1)][_0x2b6b3a(0x4b6)](_0x34041a(this[_0x2b6b3a(0x511)]))[_0x2b6b3a(0x134)](_0x79e971=>{const _0x53ee24=_0x2b6b3a;if((_0x79e971==null?void 0x0:_0x79e971[_0x53ee24(0x4e4)])!==this['unitID'])return;const _0x10fab0={'eventID':_0x385814[_0x53ee24(0x514)],'data':_0x79e971};this[_0x53ee24(0x16e)](_0x10fab0);}),this[_0x2b6b3a(0x2d9)](this[_0x2b6b3a(0x327)]['onCommandExecuted'](_0x18528e=>{const _0x1925dc=_0x2b6b3a;if(_0x18528e['params']==null)return;const _0x55f5af=_0x18528e[_0x1925dc(0x436)];if(_0x18528e['id']!==_0x48d9a2['id']||_0x55f5af['unitId']!==this[_0x1925dc(0x4e4)])return;const _0x3a75dc={'id':_0x1925dc(0x42b),'params':_0x55f5af},_0x25e5e6=this[_0x1925dc(0x3cd)];for(const [_0x24848e,_0x42d6d2]of _0x25e5e6){const _0x119a18={'id':_0x1925dc(0x42b),'params':{'unitId':this[_0x1925dc(0x4e4)],'actions':null,'textRanges':_0x42d6d2[_0x1925dc(0x293)]}},_0x382ed8=this['_transformService']['transformMutation'](_0x3a75dc,_0x119a18,!0x1);if(_0x29729a(_0x382ed8))throw _0x382ed8[_0x1925dc(0x295)];_0x25e5e6['set'](_0x24848e,{..._0x42d6d2,'ranges':_0x382ed8[_0x1925dc(0x20f)]['params'][_0x1925dc(0x495)]});}queueMicrotask(()=>{const _0x5b5b3d=_0x1925dc;this[_0x5b5b3d(0x2eb)][_0x5b5b3d(0x23b)](_0x25e5e6);});})));}[_0x5e3172(0x16e)](_0x2909f1){const _0xa5ac4b=_0x5e3172;var _0x488731,_0xc28643;const {memberID:_0xffd79e,selection:_0x245742}=_0x2909f1[_0xa5ac4b(0x288)],_0x2c7a2c=Ro(_0x245742),_0x133a99=(_0xc28643=(_0x488731=this[_0xa5ac4b(0x16b)][_0xa5ac4b(0x116)](this[_0xa5ac4b(0x4e4)],_0xffd79e))==null?void 0x0:_0x488731[_0xa5ac4b(0x121)])!=null?_0xc28643:'Unknown\x20user',_0x1748b9={'color':this[_0xa5ac4b(0x51f)][_0xa5ac4b(0x236)](_0xffd79e),'name':_0x133a99,'ranges':_0x2c7a2c},_0x3f69cb=this['cursorInfo'];_0x3f69cb[_0xa5ac4b(0x332)](_0xffd79e,_0x1748b9),this[_0xa5ac4b(0x2eb)][_0xa5ac4b(0x23b)](_0x3f69cb);}[_0x5e3172(0x19a)](_0x4eade6){const _0x29a245=_0x5e3172,{memberID:_0x257139}=_0x4eade6[_0x29a245(0x288)],_0x2e3c7d=this['cursorInfo'];_0x2e3c7d[_0x29a245(0x480)](_0x257139),this[_0x29a245(0x2eb)][_0x29a245(0x23b)](_0x2e3c7d);}['_toggleOnline'](){const _0xef40c4=_0x5e3172;var _0x5e42f9;if(this[_0xef40c4(0x242)]=!0x0,((_0x5e42f9=this[_0xef40c4(0x153)][_0xef40c4(0x27b)]())==null?void 0x0:_0x5e42f9[_0xef40c4(0x12f)]())!==this[_0xef40c4(0x4e4)])return;const _0x63ebad=this[_0xef40c4(0x3b4)][_0xef40c4(0x307)](_0x195c19)[_0xef40c4(0x388)]();Array[_0xef40c4(0x468)](_0x63ebad)&&_0x63ebad[_0xef40c4(0x2c8)]>0x0&&this['_updateLocalCursor'](_0x63ebad);}[_0x5e3172(0x2bd)](){const _0x17dbf0=_0x5e3172;this[_0x17dbf0(0x242)]=!0x1;}};us=Vo([we(0x2,_0x1259a7(_0xa6ca3c)),we(0x3,_0x1259a7(Ns)),we(0x4,_0x1259a7(Me)),we(0x5,_0x1259a7(Ds)),we(0x6,_0x2a04be),we(0x7,_0x381e7e),we(0x8,_0x58c2c0)],us);var Ko=Object[_0x5e3172(0x243)],qo=Object[_0x5e3172(0x26f)],zo=(_0x82a76e,_0x53e084,_0x22dfb7,_0x13e800)=>{for(var _0x46b0ff=_0x13e800>0x1?void 0x0:_0x13e800?qo(_0x53e084,_0x22dfb7):_0x53e084,_0x192816=_0x82a76e['length']-0x1,_0x1de4e1;_0x192816>=0x0;_0x192816--)(_0x1de4e1=_0x82a76e[_0x192816])&&(_0x46b0ff=(_0x13e800?_0x1de4e1(_0x53e084,_0x22dfb7,_0x46b0ff):_0x1de4e1(_0x46b0ff))||_0x46b0ff);return _0x13e800&&_0x46b0ff&&Ko(_0x53e084,_0x22dfb7,_0x46b0ff),_0x46b0ff;},Be=(_0x310d51,_0x5e5da3)=>(_0x156c74,_0x1c4db4)=>_0x5e5da3(_0x156c74,_0x1c4db4,_0x310d51);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0x25d1e8=[],_0x30587b=!0x1;return _0x46737f=>{const _0x20eb83=_0x1eb2;_0x25d1e8[_0x20eb83(0x38e)](_0x46737f),_0x30587b||(_0x30587b=!0x0,setTimeout(()=>{const _0x182d43=_0x20eb83;_0x25d1e8[_0x182d43(0x356)](_0xdcbac0=>_0xdcbac0()),_0x25d1e8=[],_0x30587b=!0x1;}));};};let ds=class extends _0x5ce84d{constructor(_0x48bb0e,_0x5e7337,_0x43ac2c,_0x4ef9af,_0x489fd1,_0x122df5,_0x4dd799,_0x5f380d){const _0x59ec9a=_0x5e3172;super(),g(this,_0x59ec9a(0x242),!0x1),g(this,_0x59ec9a(0x1d2),!0x1),g(this,_0x59ec9a(0x2eb),new _0xd0d94b(new Map())),g(this,_0x59ec9a(0x4a9),this[_0x59ec9a(0x2eb)][_0x59ec9a(0x306)]()),g(this,'_roomMembers$',new _0xd0d94b([])),g(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x5fe042(Xo))),g(this,_0x59ec9a(0x4de),_0x38f51c((_0xfadf30,_0x2f6f5e)=>{const _0x561c7e=_0x59ec9a,_0x2e4955={'eventID':_0x385814[_0x561c7e(0x514)],'data':{'unitID':this[_0x561c7e(0x4e4)],'memberID':this[_0x561c7e(0x402)][_0x561c7e(0x399)](),'selection':_0x51efb3(_0xfadf30,_0x2f6f5e['range'])}};this[_0x561c7e(0x402)][_0x561c7e(0x3e0)](_0x2e4955,this[_0x561c7e(0x4e4)]);},Jo)),(this['unitID']=_0x48bb0e,this[_0x59ec9a(0x402)]=_0x5e7337,this[_0x59ec9a(0x3b4)]=_0x43ac2c,this[_0x59ec9a(0x51f)]=_0x4ef9af,this['_memberService']=_0x489fd1,this['_univerInstanceService']=_0x122df5,this['_commandService']=_0x4dd799,this[_0x59ec9a(0x1dc)]=_0x5f380d);}get[_0x5e3172(0x3cd)](){const _0x5e34db=_0x5e3172;return this['_cursorInfo$'][_0x5e34db(0x15b)]();}get[_0x5e3172(0x1db)](){const _0x2edb56=_0x5e3172;return this[_0x2edb56(0x494)][_0x2edb56(0x15b)]();}[_0x5e3172(0x48f)](){const _0x21e05f=_0x5e3172;super[_0x21e05f(0x48f)](),this[_0x21e05f(0x2eb)]['next'](new Map()),this[_0x21e05f(0x2eb)][_0x21e05f(0x41f)](),this[_0x21e05f(0x494)][_0x21e05f(0x23b)]([]),this[_0x21e05f(0x494)][_0x21e05f(0x41f)]();}['init'](){const _0x35d08=_0x5e3172;this['_init']||(this[_0x35d08(0x1d2)]=!0x0,this[_0x35d08(0x402)][_0x35d08(0x18c)]['pipe'](_0x34041a(this[_0x35d08(0x511)]))[_0x35d08(0x134)](_0x2bddca=>{const _0x4b1603=_0x35d08;_0x2bddca===fe[_0x4b1603(0x2e2)]?this[_0x4b1603(0x235)]():this[_0x4b1603(0x2bd)]();}),this[_0x35d08(0x402)]['event$'][_0x35d08(0x4b6)](_0x34041a(this[_0x35d08(0x511)]))['subscribe'](_0x664acc=>{const _0x4a0075=_0x35d08,_0x3e094d=_0x664acc['eventID'];_0x3e094d===_0x385814[_0x4a0075(0x514)]&&this[_0x4a0075(0x16e)](_0x664acc),_0x3e094d===_0x385814[_0x4a0075(0x10f)]&&this[_0x4a0075(0x19a)](_0x664acc);}),this[_0x35d08(0x389)](),this[_0x35d08(0x2d9)](this['_commandService'][_0x35d08(0x1e2)](_0x29133b=>{const _0x30ddc3=_0x35d08;if(this[_0x30ddc3(0x242)]&&_0x29133b['id']===_0x3f708e['id']&&_0x29133b[_0x30ddc3(0x436)][_0x30ddc3(0x452)]===this['unitID']){const _0x5ab8f6=_0x29133b[_0x30ddc3(0x436)];this['_updateLocalCursor'](_0x5ab8f6[_0x30ddc3(0x40c)],_0x5ab8f6[_0x30ddc3(0x217)][0x0]);}})));}['_onCursorUpdate'](_0x43e68b){const _0x2dffc2=_0x5e3172;var _0x4b1683,_0x304a38;const {memberID:_0x48ad7c,selection:_0x3153a3}=_0x43e68b[_0x2dffc2(0x288)],{sheetName:_0x4b4f8e,range:_0x4f016c}=_0x987e76(_0x3153a3),_0x292ffa={'name':(_0x304a38=(_0x4b1683=this[_0x2dffc2(0x16b)]['getMember'](this[_0x2dffc2(0x4e4)],_0x48ad7c))==null?void 0x0:_0x4b1683[_0x2dffc2(0x121)])!=null?_0x304a38:_0x2dffc2(0x496),'range':this[_0x2dffc2(0x2cf)](_0x4b4f8e,_0x4f016c),'sheetID':_0x4b4f8e,'color':this['_colorAssignService'][_0x2dffc2(0x236)](_0x48ad7c),'selection':_0x3153a3},_0x1066c2=this[_0x2dffc2(0x3cd)];_0x1066c2['set'](_0x48ad7c,_0x292ffa),this[_0x2dffc2(0x2eb)][_0x2dffc2(0x23b)](_0x1066c2);}['_onCursorDelete'](_0xa4b712){const _0x58a384=_0x5e3172,{memberID:_0x52cfac}=_0xa4b712['data'],_0x311598=this[_0x58a384(0x3cd)];_0x311598[_0x58a384(0x480)](_0x52cfac),this[_0x58a384(0x2eb)][_0x58a384(0x23b)](_0x311598);}['_getMergeRange'](_0x1f7217,_0x8c5908){const _0x1608a3=_0x5e3172;var _0x2d5ca2,_0x4437c7;const _0x561ef6=(_0x4437c7=(_0x2d5ca2=this[_0x1608a3(0x153)][_0x1608a3(0x3c7)](this[_0x1608a3(0x4e4)]))==null?void 0x0:_0x2d5ca2[_0x1608a3(0x19d)](_0x1f7217))==null?void 0x0:_0x4437c7[_0x1608a3(0x286)]();return(_0x561ef6==null?void 0x0:_0x561ef6['find'](_0x564b8e=>_0x50302c[_0x1608a3(0x2cc)](_0x564b8e,_0x8c5908)))||_0x8c5908;}['_onRefRangeChange'](){const _0x223675=_0x5e3172,_0x5b1765=new _0x1f64b1(),_0x4c7d90=Zo(),_0x3d3b02=()=>{const _0x3ca8cd=_0x1eb2;_0x5b1765[_0x3ca8cd(0x48f)]();const _0x420c21=(_0x7ffb41,_0x25adeb,_0x102998,_0x55f847)=>{const _0x5308a3=_0x3ca8cd;let _0x4373b5=[];switch(_0x7ffb41['id']){case _0x1d34c9[_0x5308a3(0x4cb)]:{_0x4373b5=_0xa5d192(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x249)]:{_0x4373b5=_0x34bf8e(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x1da)]:{_0x4373b5=_0x4f5a43(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x39f)]:{_0x4373b5=_0x28267d(_0x7ffb41,_0x55f847);break;}case _0x1d34c9['InsertRangeMoveRightCommandId']:{_0x4373b5=_0x10303e(_0x7ffb41,_0x55f847);break;}case _0x1d34c9['InsertRowCommandId']:{_0x4373b5=_0x57fbd7(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x262)]:{_0x4373b5=_0x16c781(_0x7ffb41,_0x55f847);break;}case _0x1d34c9[_0x5308a3(0x2a0)]:{_0x4373b5=_0x2f48a3(_0x7ffb41,_0x55f847);break;}case _0x1d34c9['RemoveRowCommandId']:{_0x4373b5=_0x45470d(_0x7ffb41,_0x55f847);break;}}const _0x160357=_0x212980(_0x4373b5,_0x55f847),_0x4ed618=this[_0x5308a3(0x3cd)][_0x5308a3(0x307)](_0x25adeb);if(_0x4ed618&&_0x160357){const _0x29ab23={..._0x4ed618,'range':_0x160357};this[_0x5308a3(0x3cd)][_0x5308a3(0x332)](_0x25adeb,_0x29ab23),_0x4c7d90(()=>{const _0x5db3b8=_0x5308a3,_0x289eea=this[_0x5db3b8(0x1dc)][_0x5db3b8(0x30e)](_0x160357,_0x1325dc=>(_0x289eea[_0x5db3b8(0x48f)](),_0x420c21(_0x1325dc,_0x25adeb,_0x102998,_0x160357)));_0x5b1765[_0x5db3b8(0x15f)](_0x289eea);});}return{'redos':[],'undos':[]};};this[_0x3ca8cd(0x3cd)]['forEach']((_0x2d7ed0,_0x446cb2)=>{const _0x102166=_0x3ca8cd,{range:_0x13b209,sheetID:_0x753b7e}=_0x2d7ed0,_0x1ad8ba=this['_refRangeService']['registerRefRange'](_0x13b209,_0x21fc60=>(_0x1ad8ba[_0x102166(0x48f)](),_0x420c21(_0x21fc60,_0x446cb2,_0x753b7e,_0x13b209)));_0x5b1765['add'](_0x1ad8ba);});};this[_0x223675(0x2d9)](_0x38e5fb(this[_0x223675(0x2eb)][_0x223675(0x134)](()=>{_0x3d3b02();})));}['_toggleOnline'](){const _0x15bbb6=_0x5e3172;var _0x2e432f,_0x249c89;if(this[_0x15bbb6(0x242)]=!0x0,((_0x2e432f=this[_0x15bbb6(0x153)][_0x15bbb6(0x27b)]())==null?void 0x0:_0x2e432f[_0x15bbb6(0x12f)]())!==this[_0x15bbb6(0x4e4)])return;const _0x109523=(_0x249c89=this[_0x15bbb6(0x3b4)]['get'](_0x10dd54)[_0x15bbb6(0x39e)]())==null?void 0x0:_0x249c89[0x0],_0x434f30=this[_0x15bbb6(0x153)][_0x15bbb6(0x1e8)](_0xfbb68f[_0x15bbb6(0x1c2)])[_0x15bbb6(0x328)]();_0x109523&&_0x434f30&&this[_0x15bbb6(0x4de)](_0x434f30[_0x15bbb6(0x29c)](),_0x109523);}[_0x5e3172(0x2bd)](){const _0x5b9037=_0x5e3172;this[_0x5b9037(0x242)]=!0x1;}};ds=zo([Be(0x2,_0x1259a7(_0xa6ca3c)),Be(0x3,_0x1259a7(Ns)),Be(0x4,_0x1259a7(Me)),Be(0x5,_0x381e7e),Be(0x6,_0x58c2c0),Be(0x7,_0x1259a7(_0x4fe9a5))],ds);var Qo=Object[_0x5e3172(0x243)],ea=Object[_0x5e3172(0x26f)],ta=(_0x5a6434,_0x53a875,_0x16bcb0,_0x57cc09)=>{const _0x3667fc=_0x5e3172;for(var _0x40a7db=_0x57cc09>0x1?void 0x0:_0x57cc09?ea(_0x53a875,_0x16bcb0):_0x53a875,_0x1911fc=_0x5a6434[_0x3667fc(0x2c8)]-0x1,_0x5620fe;_0x1911fc>=0x0;_0x1911fc--)(_0x5620fe=_0x5a6434[_0x1911fc])&&(_0x40a7db=(_0x57cc09?_0x5620fe(_0x53a875,_0x16bcb0,_0x40a7db):_0x5620fe(_0x40a7db))||_0x40a7db);return _0x57cc09&&_0x40a7db&&Qo(_0x53a875,_0x16bcb0,_0x40a7db),_0x40a7db;},Xt=(_0x3f9166,_0x4fb1a4)=>(_0x2c87c1,_0x19aded)=>_0x4fb1a4(_0x2c87c1,_0x19aded,_0x3f9166);let Ve=class extends _0x5ce84d{constructor(_0x20d83d,_0x1ff6d5,_0x3bc5b9){const _0x22af22=_0x5e3172;super(),g(this,_0x22af22(0x24f),new Map()),g(this,_0x22af22(0x43c),new _0x1b8780()),(this[_0x22af22(0x153)]=_0x20d83d,this['_injector']=_0x1ff6d5,this['_collabSessionService']=_0x3bc5b9,this[_0x22af22(0x1d2)]());}[_0x5e3172(0x48f)](){const _0x41de84=_0x5e3172;super['dispose'](),this[_0x41de84(0x43c)][_0x41de84(0x41f)](),this[_0x41de84(0x24f)]['forEach'](_0x4f98b2=>_0x4f98b2[_0x41de84(0x48f)]());}[_0x5e3172(0x3fc)](_0x367ba5){const _0x4a51fc=_0x5e3172;return this['_entities'][_0x4a51fc(0x3cb)](_0x367ba5)?this[_0x4a51fc(0x24f)]['get'](_0x367ba5)[_0x4a51fc(0x4a9)]:this['_entityInit$'][_0x4a51fc(0x4b6)](_0x446160(_0x28bfb9=>_0x28bfb9[_0x4a51fc(0x4e4)]===_0x367ba5),_0x12c24e(_0x177d80=>_0x177d80['cursorInfo$']));}[_0x5e3172(0x1d2)](){const _0x4fc813=_0x5e3172;this['_univerInstanceService'][_0x4fc813(0x1ba)](_0xfbb68f[_0x4fc813(0x1c2)])[_0x4fc813(0x4b6)](_0x34041a(this[_0x4fc813(0x511)]))['subscribe'](async _0x3e4b21=>{const _0x3822dc=_0x4fc813,_0x14efe1=_0x3e4b21[_0x3822dc(0x12f)](),_0x2801af=await this[_0x3822dc(0x52e)](_0x14efe1);this['_entityInit$']['next'](_0x2801af),this[_0x3822dc(0x24f)][_0x3822dc(0x332)](_0x14efe1,_0x2801af);}),this[_0x4fc813(0x153)][_0x4fc813(0x1ba)](_0xfbb68f[_0x4fc813(0x11d)])[_0x4fc813(0x4b6)](_0x34041a(this[_0x4fc813(0x511)]))['pipe'](_0x446160(_0x3a17a6=>!_0x3a17a6[_0x4fc813(0x12f)]()[_0x4fc813(0x1b9)]('__')))[_0x4fc813(0x134)](async _0x115f52=>{const _0x2b45bd=_0x4fc813,_0x8e0d3b=_0x115f52[_0x2b45bd(0x12f)](),_0x739887=await this['_startDocCollabCursor'](_0x8e0d3b);this[_0x2b45bd(0x43c)]['next'](_0x739887),this[_0x2b45bd(0x24f)]['set'](_0x8e0d3b,_0x739887);}),_0x143e60(this[_0x4fc813(0x153)][_0x4fc813(0x241)](_0xfbb68f[_0x4fc813(0x11d)]),this[_0x4fc813(0x153)]['getTypeOfUnitDisposed$'](_0xfbb68f[_0x4fc813(0x1c2)]))[_0x4fc813(0x4b6)](_0x34041a(this[_0x4fc813(0x511)]))['subscribe'](_0x44d531=>{const _0x46029f=_0x4fc813,_0xc368bc=_0x44d531['getUnitId'](),_0x570dd7=this['_entities']['get'](_0xc368bc);_0x570dd7&&(_0x570dd7[_0x46029f(0x48f)](),this[_0x46029f(0x24f)][_0x46029f(0x480)](_0xc368bc));});}async['_startSheetCollabCursor'](_0x58284e){const _0x2c78db=_0x5e3172,_0x2fb22c=await this['_collabSessionService']['requireSession'](_0x58284e),_0x2da2c6=this[_0x2c78db(0x3b4)][_0x2c78db(0x13c)](ds,_0x58284e,_0x2fb22c);return _0x2da2c6[_0x2c78db(0x433)](),_0x2da2c6;}async[_0x5e3172(0x4c8)](_0x3d3ba6){const _0x530977=_0x5e3172,_0xe63789=await this[_0x530977(0x22d)][_0x530977(0x17e)](_0x3d3ba6),_0x16a8a0=this[_0x530977(0x3b4)][_0x530977(0x13c)](us,_0x3d3ba6,_0xe63789);return _0x16a8a0[_0x530977(0x433)](),_0x16a8a0;}};Ve=ta([Xt(0x0,_0x381e7e),Xt(0x1,_0x1259a7(_0xa6ca3c)),Xt(0x2,_0x1259a7(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x260d6c,_0x34705a){const _0x2fbf71=_0x5e3172;let {radius:_0x219cf5,width:_0x4aedfe,height:_0x56710d}=_0x34705a;_0x219cf5=_0x219cf5!=null?_0x219cf5:0x0,_0x4aedfe=_0x4aedfe!=null?_0x4aedfe:0x1e,_0x56710d=_0x56710d!=null?_0x56710d:0x1e;let _0x5c3a3f=0x0,_0x1967aa=0x0,_0x3aa916=0x0;_0x5c3a3f=_0x1967aa=_0x3aa916=Math[_0x2fbf71(0x26a)](_0x219cf5,_0x4aedfe/0x2,_0x56710d/0x2),_0x260d6c['beginPath'](),_0x260d6c['moveTo'](_0x5c3a3f,0x0),_0x260d6c['lineTo'](_0x4aedfe-_0x1967aa,0x0),_0x260d6c[_0x2fbf71(0x36f)](_0x4aedfe-_0x1967aa,_0x1967aa,_0x1967aa,Math['PI']*0x3/0x2,0x0,!0x1),_0x260d6c[_0x2fbf71(0x1e3)](_0x4aedfe,_0x56710d-_0x3aa916),_0x260d6c[_0x2fbf71(0x36f)](_0x4aedfe-_0x3aa916,_0x56710d-_0x3aa916,_0x3aa916,0x0,Math['PI']/0x2,!0x1),_0x260d6c[_0x2fbf71(0x1e3)](0x0,_0x56710d),_0x260d6c['lineTo'](0x0,_0x5c3a3f),_0x260d6c[_0x2fbf71(0x36f)](_0x5c3a3f,_0x5c3a3f,_0x5c3a3f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x260d6c['closePath'](),_0x34705a[_0x2fbf71(0x123)]&&(_0x260d6c[_0x2fbf71(0x303)](),_0x260d6c[_0x2fbf71(0x4f1)]=_0x34705a[_0x2fbf71(0x123)],_0x34705a['fillRule']==='evenodd'?_0x260d6c[_0x2fbf71(0x123)]('evenodd'):_0x260d6c[_0x2fbf71(0x123)](),_0x260d6c[_0x2fbf71(0x2c9)]());}class Bt extends _0x3f24aa{constructor(_0x51fccc,_0x274ed7){const _0x4e50b5=_0x5e3172;super(_0x51fccc,_0x274ed7),g(this,_0x4e50b5(0x369)),g(this,_0x4e50b5(0x412)),(this[_0x4e50b5(0x369)]=_0x274ed7==null?void 0x0:_0x274ed7[_0x4e50b5(0x369)],this['text']=_0x274ed7==null?void 0x0:_0x274ed7[_0x4e50b5(0x412)]);}static[_0x5e3172(0x2a8)](_0x49a353,_0x54e4ca){const _0x1cf39e=_0x5e3172,{text:_0x422830,color:_0x2178a8}=_0x54e4ca;_0x49a353[_0x1cf39e(0x303)](),_0x49a353[_0x1cf39e(0x161)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1f026b=_0x49a353[_0x1cf39e(0x2c7)](_0x422830)[_0x1cf39e(0x1f2)],_0x745cba=Math[_0x1cf39e(0x26a)](_0x1f026b+0x2*Jt,ii);ia(_0x49a353,{'height':nt,'radius':0x4,'width':_0x745cba,'fill':_0x2178a8,'evented':!0x1}),_0x49a353[_0x1cf39e(0x4f1)]='#FFF';const _0x36111a=Jt,_0x9699d2=nt-sa,_0x59f444=ii-0x2*Jt;if(_0x1f026b>_0x59f444){let _0x314853='',_0x198659=0x0;for(const _0xbb1c96 of _0x422830){const _0x221e16=_0x49a353[_0x1cf39e(0x2c7)](_0xbb1c96)[_0x1cf39e(0x1f2)];if(_0x198659+_0x221e16<=_0x59f444-_0x49a353[_0x1cf39e(0x2c7)](_0x1cf39e(0x3b6))[_0x1cf39e(0x1f2)])_0x314853+=_0xbb1c96,_0x198659+=_0x221e16;else{_0x314853+='...';break;}}_0x49a353[_0x1cf39e(0x4fe)](_0x314853,_0x36111a,_0x9699d2);}else _0x49a353['fillText'](_0x422830,_0x36111a,_0x9699d2);_0x49a353[_0x1cf39e(0x2c9)]();}[_0x5e3172(0x32d)](_0x28feeb){Bt['drawWith'](_0x28feeb,this);}}const Zt='collab-text-anchor-',ra=_0x5e3172(0x1ea),na=_0x5e3172(0x31e),Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca=_0x5e3172(0x371);class ri{constructor(_0xacd008,_0x485170,_0x2fc50c,_0x5cf4c8){const _0xdbe5a2=_0x5e3172;g(this,_0xdbe5a2(0x3e4),[]),g(this,'_anchor',null),g(this,_0xdbe5a2(0x1fb),null),g(this,'_anchorDot',null),g(this,_0xdbe5a2(0x2c0),null),g(this,_0xdbe5a2(0x415),null),(this[_0xdbe5a2(0x1bb)]=_0xacd008,this[_0xdbe5a2(0x3eb)]=_0x485170,this['_docSkeleton']=_0x2fc50c,this[_0xdbe5a2(0x425)]=_0x5cf4c8,this[_0xdbe5a2(0x435)]());}set[_0x5e3172(0x378)](_0x1e3f1e){const _0x2e5e11=_0x5e3172;_0x1e3f1e?(this[_0x2e5e11(0x4c6)]&&this['_anchorDot'][_0x2e5e11(0x232)](),this[_0x2e5e11(0x1fb)]&&this[_0x2e5e11(0x1fb)][_0x2e5e11(0x4b7)]()):(this['_anchorDot']&&this[_0x2e5e11(0x4c6)]['show'](),this[_0x2e5e11(0x1fb)]&&this[_0x2e5e11(0x1fb)][_0x2e5e11(0x232)]());}[_0x5e3172(0x48f)](){const _0x21dc0b=_0x5e3172;for(const _0x1d6d31 of this[_0x21dc0b(0x3e4)])_0x1d6d31[_0x21dc0b(0x48f)]();this[_0x21dc0b(0x1fb)]&&this[_0x21dc0b(0x1fb)]['dispose'](),this[_0x21dc0b(0x4c6)]&&this[_0x21dc0b(0x4c6)][_0x21dc0b(0x48f)](),this['_anchor']&&this[_0x21dc0b(0x3f5)][_0x21dc0b(0x48f)](),this[_0x21dc0b(0x415)]&&this[_0x21dc0b(0x415)]();}[_0x5e3172(0x435)](){const _0x39b12e=_0x5e3172;var _0x3da377;const {_docSkeleton:_0x4eefd7,_document:_0x25dc7b}=this,{color:_0x16ba58,name:_0x47d85e,ranges:_0x89ae1b}=this[_0x39b12e(0x1bb)],_0x23e91e=_0x25dc7b[_0x39b12e(0x257)](),{docsLeft:_0x36fafe,docsTop:_0x45b983}=_0x23e91e,_0xe190f9=new _0x23a52e(_0x23e91e,_0x4eefd7);for(const {startOffset:_0x1854c6,endOffset:_0x43978a,rangeType:_0x12b106,segmentId:_0x557368,segmentPage:_0x36b7f4,collapsed:_0x1ae1d3,isActive:_0x1ab284}of _0x89ae1b){const _0x211103=_0x4eefd7[_0x39b12e(0x264)](_0x1854c6,!0x0,_0x557368,_0x36b7f4);let _0x1f8300=_0x4eefd7[_0x39b12e(0x264)](_0x43978a,!0x0,_0x557368,_0x36b7f4);if(_0x1f8300==null&&(_0x1f8300=_0x4eefd7[_0x39b12e(0x264)](_0x43978a-0x1,!0x1,_0x557368,_0x36b7f4)),_0x1ab284){const {contentBoxPointGroup:_0xbcc775}=_0xe190f9[_0x39b12e(0x14c)](_0x1f8300,_0x1f8300);if(_0xbcc775[_0x39b12e(0x2c8)]===0x0)continue;this['_drawAnchor'](_0x16ba58,_0xbcc775,_0x36fafe,_0x45b983,_0x47d85e),this['_eventUnsubscribe']=this[_0x39b12e(0x321)]();}if(_0x211103&&_0x1f8300){if(_0x12b106===_0x263740[_0x39b12e(0x353)]){const _0x3fd2d7=new _0x135bfe(_0x23e91e,_0x4eefd7),{pointGroup:_0x1fb9b8}=(_0x3da377=_0x3fd2d7['getRangePointData'](_0x211103,_0x1f8300))!=null?_0x3da377:{};if(_0x1fb9b8==null||_0x1fb9b8[_0x39b12e(0x2c8)]===0x0)continue;this['_drawRectRange'](_0x16ba58,_0x1fb9b8,_0x36fafe,_0x45b983);}else{if(!_0x1ae1d3){const {borderBoxPointGroup:_0x41d2ba}=_0xe190f9['getRangePointData'](_0x211103,_0x1f8300);if(_0x41d2ba[_0x39b12e(0x2c8)]===0x0)continue;this[_0x39b12e(0x193)](_0x16ba58,_0x41d2ba,_0x36fafe,_0x45b983);}}}}}['_drawAnchor'](_0x298a44,_0x2963c4,_0x9e7bf4,_0x13f491,_0x144d69){const _0x49aa86=_0x5e3172,_0x5c08e3=this[_0x49aa86(0x13e)](_0x2963c4),{left:_0x4aebbf,top:_0x487e17,height:_0x52f302}=_0x5c08e3,_0x4e2420=this[_0x49aa86(0x4c4)](),_0x261378=aa/_0x4e2420,_0x46ebf9=new _0x5876ba(Zt+_0x279a54[_0x49aa86(0x18f)](Je),{'left':_0x4aebbf+_0x9e7bf4-_0x261378,'top':_0x487e17+_0x13f491,'height':_0x52f302,'width':oa,'fill':_0x298a44||_0x58cb0a(_0x341aed[_0x49aa86(0x218)],0x0),'strokeWidth':_0x261378,'stroke':ca,'evented':!0x0});this[_0x49aa86(0x3f5)]=_0x46ebf9,this['_scene'][_0x49aa86(0x49c)](_0x46ebf9,_0x2641c4);const _0x3d5828=new _0x5876ba(Zt+_0x279a54['generateRandomId'](Je),{'left':_0x4aebbf+_0x9e7bf4-_0x261378,'top':_0x487e17+_0x13f491-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x298a44||_0x58cb0a(_0x341aed[_0x49aa86(0x218)],0x0),'strokeWidth':0x0,'stroke':_0x298a44||_0x58cb0a(_0x341aed['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x3d5828,this[_0x49aa86(0x3eb)]['addObject'](_0x3d5828,_0x2641c4);const _0x5b8ff4=new Bt(Zt+_0x279a54[_0x49aa86(0x18f)](Je),{'left':_0x4aebbf+_0x9e7bf4-_0x261378,'top':_0x487e17+_0x13f491-nt,'text':_0x144d69,'color':_0x298a44});this['_textBubble']=_0x5b8ff4,this[_0x49aa86(0x3eb)]['addObject'](_0x5b8ff4,_0x2641c4),this[_0x49aa86(0x378)]=!0x1;}[_0x5e3172(0x321)](){const _0x5dbc1f=_0x5e3172,_0x7053b2=this[_0x5dbc1f(0x3f5)][_0x5dbc1f(0x4aa)][_0x5dbc1f(0x14b)](()=>{const _0x4bf167=_0x5dbc1f;this[_0x4bf167(0x378)]=!0x0;}),_0x306e2a=this['_anchor'][_0x5dbc1f(0x4c9)]['subscribeEvent'](()=>{const _0x1e85fd=_0x5dbc1f;this['_hideTimer']&&clearTimeout(this[_0x1e85fd(0x2c0)]),this[_0x1e85fd(0x2c0)]=setTimeout(()=>{const _0x205d19=_0x1e85fd;this[_0x205d19(0x378)]=!0x1;},0x7d0);});return()=>{const _0xc341fd=_0x5dbc1f;_0x7053b2[_0xc341fd(0x527)](),_0x306e2a['unsubscribe']();};}[_0x5e3172(0x193)](_0x338942,_0x1c717b,_0x3cedc4,_0x10fea6){const _0x4b1f1c=_0x5e3172,_0x3494c8=new _0x5842d9(_0x338942)[_0x4b1f1c(0x2af)](0.2)[_0x4b1f1c(0x1f8)](),_0x2c3cd6=new _0x2f6ca8(ra+_0x279a54[_0x4b1f1c(0x18f)](Je),{'pointsGroup':_0x1c717b,'fill':_0x3494c8||_0x58cb0a(_0x341aed[_0x4b1f1c(0x218)],0.2),'left':_0x3cedc4,'top':_0x10fea6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b1f1c(0x3e4)][_0x4b1f1c(0x38e)](_0x2c3cd6),this['_scene'][_0x4b1f1c(0x49c)](_0x2c3cd6,_0x2641c4);}['_drawRectRange'](_0x438458,_0x2aabd4,_0x190dd3,_0x324a77){const _0x3320e2=_0x5e3172,_0x3dd34e=new _0x5842d9(_0x438458)[_0x3320e2(0x2af)](0.2)[_0x3320e2(0x1f8)](),_0x14cde2=new _0x2f6ca8(na+_0x279a54['generateRandomId'](Je),{'pointsGroup':_0x2aabd4,'fill':_0x3dd34e||_0x58cb0a(_0x341aed['black'],0.2),'left':_0x190dd3,'top':_0x324a77,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3320e2(0x3e4)][_0x3320e2(0x38e)](_0x14cde2),this[_0x3320e2(0x3eb)][_0x3320e2(0x49c)](_0x14cde2,_0x2641c4);}[_0x5e3172(0x13e)](_0x40a650){const _0x79d4=_0x40a650[0x0],_0x1a6cb1=_0x79d4[0x0],_0x1b7efa=_0x79d4[0x2],{x:_0x2c8d7c,y:_0x5dc30c}=_0x1a6cb1,{x:_0x3a2f02,y:_0x4131a5}=_0x1b7efa;return{'left':_0x2c8d7c,'top':_0x5dc30c,'width':_0x3a2f02-_0x2c8d7c,'height':_0x4131a5-_0x5dc30c};}[_0x5e3172(0x4c4)](){const _0xa40793=_0x5e3172,{scaleX:_0xaab586,scaleY:_0x4aa88d}=this[_0xa40793(0x3eb)][_0xa40793(0x25f)]();return Math['max'](_0xaab586,_0x4aa88d);}}var ha=Object['defineProperty'],la=Object[_0x5e3172(0x26f)],_a=(_0x553e90,_0x454a83,_0x3982c0,_0x51de46)=>{const _0x3ca675=_0x5e3172;for(var _0x2f3aa4=_0x51de46>0x1?void 0x0:_0x51de46?la(_0x454a83,_0x3982c0):_0x454a83,_0x356ba9=_0x553e90[_0x3ca675(0x2c8)]-0x1,_0x3f81cf;_0x356ba9>=0x0;_0x356ba9--)(_0x3f81cf=_0x553e90[_0x356ba9])&&(_0x2f3aa4=(_0x51de46?_0x3f81cf(_0x454a83,_0x3982c0,_0x2f3aa4):_0x3f81cf(_0x2f3aa4))||_0x2f3aa4);return _0x51de46&&_0x2f3aa4&&ha(_0x454a83,_0x3982c0,_0x2f3aa4),_0x2f3aa4;},ht=(_0xd31d77,_0x386236)=>(_0x1666cd,_0x8641ea)=>_0x386236(_0x1666cd,_0x8641ea,_0xd31d77);let fs=class extends _0x5ce84d{constructor(_0x4599c9,_0x4af69b,_0x345f80,_0x5dae7b,_0x2412f1){const _0x141e18=_0x5e3172;super(),g(this,'_cursorShapes',[]),g(this,'_cursors',[]),(this[_0x141e18(0x4d4)]=_0x4599c9,this['_docSkeletonManagerService']=_0x4af69b,this[_0x141e18(0x3f6)]=_0x345f80,this[_0x141e18(0x327)]=_0x5dae7b,this[_0x141e18(0x4b4)]=_0x2412f1,this[_0x141e18(0x1d2)]());}[_0x5e3172(0x1d2)](){const _0x1d5688=_0x5e3172,_0x51046c=this[_0x1d5688(0x4d4)][_0x1d5688(0x452)],_0xc371cc=this['_docSkeletonManagerService'];this[_0x1d5688(0x2d9)](_0x1bfc9f([this[_0x1d5688(0x3f6)][_0x1d5688(0x3fc)](_0x51046c),this[_0x1d5688(0x4b4)][_0x1d5688(0x365)]])[_0x1d5688(0x4b6)](_0x2945cf(([_0x3b42f4,_0x591e6b])=>({'skeleton':_0xc371cc[_0x1d5688(0x2e9)](),'cursors':[..._0x3b42f4[_0x1d5688(0x21a)]()][_0x1d5688(0x486)](_0x10147d=>({..._0x10147d,'color':_0x591e6b[_0x10147d['color']]}))})))[_0x1d5688(0x134)](_0x1e350b=>{const _0x140021=_0x1d5688;if(this[_0x140021(0x248)](),_0x1e350b){const {skeleton:_0x2bc7ad,cursors:_0x5eb60b}=_0x1e350b;this[_0x140021(0x3d7)](_0x2bc7ad,_0x5eb60b);}})),this[_0x1d5688(0x390)](),this[_0x1d5688(0x1f7)]();}[_0x5e3172(0x3d7)](_0x2405ad,_0x1ee054){const _0x2cecf3=_0x5e3172,{scene:_0x4c9e47,mainComponent:_0x16e25a}=this[_0x2cecf3(0x4d4)],_0x3d9e77=_0x1ee054[_0x2cecf3(0x2b4)](_0x7a824a=>new ri(_0x7a824a,_0x4c9e47,_0x2405ad,_0x16e25a));this[_0x2cecf3(0x342)]=_0x3d9e77,this['_cursors']=_0x1ee054;}[_0x5e3172(0x347)](){const _0x4974a8=_0x5e3172;this[_0x4974a8(0x248)]();const {scene:_0x4a85ec,mainComponent:_0x28279f}=this['_context'],_0x3f7aa2=this['_docSkeletonManagerService'][_0x4974a8(0x2e9)](),_0x312cc2=this[_0x4974a8(0x1de)][_0x4974a8(0x2b4)](_0x2f0c4b=>new ri(_0x2f0c4b,_0x4a85ec,_0x3f7aa2,_0x28279f));this[_0x4974a8(0x342)]=_0x312cc2;}[_0x5e3172(0x248)](){const _0x40ef28=_0x5e3172;this[_0x40ef28(0x342)]['forEach'](_0x10fdf2=>_0x10fdf2[_0x40ef28(0x48f)]()),this['_cursorShapes']=[];}[_0x5e3172(0x1f7)](){const _0x5b9ce7=_0x5e3172,_0x1f9c88=[_0x56f25a['id']];this[_0x5b9ce7(0x2d9)](this['_commandService'][_0x5b9ce7(0x1e2)](_0x10af6d=>{const _0x404c1a=_0x5b9ce7;_0x1f9c88['includes'](_0x10af6d['id'])&&_0x10af6d[_0x404c1a(0x436)][_0x404c1a(0x452)]===this[_0x404c1a(0x4d4)][_0x404c1a(0x452)]&&this['_refreshCollabCursors']();}));}[_0x5e3172(0x390)](){const _0x47532b=_0x5e3172;this[_0x47532b(0x2d9)](_0xb2198c(this['_context'][_0x47532b(0x11a)][_0x47532b(0x19e)])[_0x47532b(0x4b6)](_0x3c0a43(_0x3d5a58=>_0x3d5a58[_0x47532b(0x20d)]===_0x2759c0[_0x47532b(0x459)]),_0x14e77d(0x10))[_0x47532b(0x134)](()=>{this['_refreshCollabCursors']();}));}};fs=_a([ht(0x1,_0x1259a7(_0x218e07)),ht(0x2,_0x1259a7(Ve)),ht(0x3,_0x58c2c0),ht(0x4,_0x1259a7(_0x3b15b9))],fs);const ua=0x1,da=1.5;class fa extends _0x3f24aa{constructor(_0x138e53,_0x1604b8){const _0x4f0ab6=_0x5e3172;super(_0x138e53,_0x1604b8),g(this,'_color'),g(this,_0x4f0ab6(0x396),!0x1),g(this,_0x4f0ab6(0x4e6)),g(this,'_name',''),g(this,_0x4f0ab6(0x41e),'top'),g(this,'_backgroundColor'),(_0x1604b8&&this[_0x4f0ab6(0x2e3)](_0x1604b8),this[_0x4f0ab6(0x4aa)]['subscribeEvent'](()=>this[_0x4f0ab6(0x2e3)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4f0ab6(0x14b)](()=>this[_0x4f0ab6(0x2e3)]({'hovered':!0x1})));}[_0x5e3172(0x2e3)](_0x584116){const _0x51b433=_0x5e3172;var _0x5ddf82,_0x282581,_0x98bfb5,_0x1e9443,_0x5a1434,_0x41e641;this['_color']=(_0x5ddf82=_0x584116['color'])!=null?_0x5ddf82:this[_0x51b433(0x230)],this['_hovered']=(_0x282581=_0x584116[_0x51b433(0x534)])!=null?_0x282581:this[_0x51b433(0x396)],this[_0x51b433(0x4e6)]=(_0x98bfb5=_0x584116[_0x51b433(0x168)])!=null?_0x98bfb5:this[_0x51b433(0x4e6)],this[_0x51b433(0x2c5)]=(_0x1e9443=_0x584116['name'])!=null?_0x1e9443:this[_0x51b433(0x2c5)],this[_0x51b433(0x41e)]=(_0x5a1434=_0x584116[_0x51b433(0x254)])!=null?_0x5a1434:this[_0x51b433(0x41e)],this['_backgroundColor']=(_0x41e641=_0x584116[_0x51b433(0x517)])!=null?_0x41e641:this[_0x51b433(0x419)],this[_0x51b433(0x206)]({'width':_0x584116[_0x51b433(0x1f2)],'height':_0x584116[_0x51b433(0x33a)]});}['onMouseMove'](_0x12b476){const _0x90d4d0=_0x5e3172,{row:_0x38f560,column:_0x41a52b}=_0x12b476;if(_0x38f560>=this[_0x90d4d0(0x4e6)]['startRow']&&_0x38f560<=this['_range'][_0x90d4d0(0x44d)]&&_0x41a52b>=this[_0x90d4d0(0x4e6)][_0x90d4d0(0x2a6)]&&_0x41a52b<=this[_0x90d4d0(0x4e6)][_0x90d4d0(0x30d)]){this[_0x90d4d0(0x2e3)]({'hovered':!0x0});return;}this[_0x90d4d0(0x2e3)]({'hovered':!0x1});}['triggerDblclick'](_0x43f762){return!0x1;}[_0x5e3172(0x32d)](_0x1821b9){const _0x2c7b99=_0x5e3172;_0x5876ba[_0x2c7b99(0x2a8)](_0x1821b9,{'width':this[_0x2c7b99(0x1f2)],'height':this[_0x2c7b99(0x33a)],'strokeWidth':da,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2c7b99(0x419)]}),this[_0x2c7b99(0x396)]&&(_0x1821b9[_0x2c7b99(0x303)](),_0x1821b9[_0x2c7b99(0x2dc)](0x1,0x0,0x0,0x1,this[_0x2c7b99(0x1f2)],this[_0x2c7b99(0x41e)]==='bottom'?0x0:-nt),Bt[_0x2c7b99(0x2a8)](_0x1821b9,{'text':this[_0x2c7b99(0x2c5)],'color':this[_0x2c7b99(0x230)]}),_0x1821b9[_0x2c7b99(0x2c9)]());}}var va=Object[_0x5e3172(0x243)],pa=Object[_0x5e3172(0x26f)],ma=(_0x5d5dbc,_0x3c9ff2,_0x358b18,_0x203130)=>{const _0xd40e36=_0x5e3172;for(var _0x288e1c=_0x203130>0x1?void 0x0:_0x203130?pa(_0x3c9ff2,_0x358b18):_0x3c9ff2,_0x5a5a5c=_0x5d5dbc[_0xd40e36(0x2c8)]-0x1,_0x2c107a;_0x5a5a5c>=0x0;_0x5a5a5c--)(_0x2c107a=_0x5d5dbc[_0x5a5a5c])&&(_0x288e1c=(_0x203130?_0x2c107a(_0x3c9ff2,_0x358b18,_0x288e1c):_0x2c107a(_0x288e1c))||_0x288e1c);return _0x203130&&_0x288e1c&&va(_0x3c9ff2,_0x358b18,_0x288e1c),_0x288e1c;},es=(_0x556931,_0x6f7b74)=>(_0x45bd16,_0x57f0db)=>_0x6f7b74(_0x45bd16,_0x57f0db,_0x556931);const ga=0x1389;let vs=class extends _0x5ce84d{constructor(_0x4637bc,_0xee0210,_0x5e3f2d,_0x24a0e4){const _0x5b81ea=_0x5e3172;super(),g(this,_0x5b81ea(0x1de),new Set()),g(this,_0x5b81ea(0x1a4),null),(this['_context']=_0x4637bc,this[_0x5b81ea(0x36e)]=_0xee0210,this[_0x5b81ea(0x3f6)]=_0x5e3f2d,this[_0x5b81ea(0x4b4)]=_0x24a0e4,this[_0x5b81ea(0x1d2)]());}[_0x5e3172(0x1d2)](){const _0x4e86c2=_0x5e3172;this[_0x4e86c2(0x36e)][_0x4e86c2(0x2ec)][_0x4e86c2(0x4b6)](_0x209ee4(this[_0x4e86c2(0x511)]),_0x506a28(_0x38f670=>{const _0x5c75b1=_0x4e86c2;if(_0x38f670){const _0x5b5795=_0x38f670[_0x5c75b1(0x42f)];return _0x1bfc9f(this[_0x5c75b1(0x3f6)][_0x5c75b1(0x3fc)](this['_context'][_0x5c75b1(0x452)]),this[_0x5c75b1(0x4b4)][_0x5c75b1(0x365)])[_0x5c75b1(0x4b6)](_0x2945cf(([_0x592e56,_0x401f6a])=>{const _0xe204f4=_0x5c75b1,_0x3c189b=new Map();return _0x592e56[_0xe204f4(0x356)]((_0x490b74,_0x5a7751)=>{const _0x5771e6=_0xe204f4;if(_0x490b74[_0x5771e6(0x1c8)]===_0x5b5795){const _0x3545a9={..._0x490b74};_0x3545a9[_0x5771e6(0x369)]=_0x401f6a[_0x490b74[_0x5771e6(0x369)]],_0x3c189b[_0x5771e6(0x332)](_0x5a7751,_0x3545a9);}}),{'skeleton':_0x38f670,'cursors':_0x3c189b};}));}return _0x4f62b6({'skeleton':null,'cursors':new Map()});}))[_0x4e86c2(0x134)](({skeleton:_0x5c5c47,cursors:_0x3a1cc1})=>{const _0x42a3b1=_0x4e86c2;this['_removeCollabCursors'](),_0x5c5c47&&this[_0x42a3b1(0x3d7)](_0x5c5c47,_0x3a1cc1);}),this[_0x4e86c2(0x36e)][_0x4e86c2(0x2ec)]['subscribe'](_0x30856f=>{const _0x254c95=_0x4e86c2;if(_0x30856f==null)return;const {skeleton:_0x5df8ca}=_0x30856f,{scene:_0xa84e0b}=this[_0x254c95(0x4d4)];_0xa84e0b[_0x254c95(0x424)][_0x254c95(0x14b)](_0x38f51c(_0x3c1dd3=>{const _0xe85e6b=_0x254c95;var _0x2d9d1a,_0x161525;const {offsetX:_0x150b29,offsetY:_0x5293ff}=_0x3c1dd3,{x:_0x1c1fd4,y:_0x4c4014}=_0xa84e0b['getRelativeToViewportCoord'](_0x40d11c[_0xe85e6b(0x40a)]([_0x150b29,_0x5293ff])),{scaleX:_0x409349,scaleY:_0xa066e7}=_0xa84e0b[_0xe85e6b(0x25f)](),_0x4c1dab=_0xa84e0b[_0xe85e6b(0x180)](_0x3dbe35[_0xe85e6b(0x50a)]),_0x4dcd02=_0xa84e0b[_0xe85e6b(0x25a)](_0x40d11c[_0xe85e6b(0x40a)]([_0x1c1fd4,_0x4c4014]),_0x4c1dab),_0x340d88=_0x5df8ca[_0xe85e6b(0x219)](_0x150b29,_0x5293ff,_0x409349,_0xa066e7,_0x4dcd02);((_0x2d9d1a=this['_lastPointer'])==null?void 0x0:_0x2d9d1a[_0xe85e6b(0x3a4)])===_0x340d88['column']&&((_0x161525=this[_0xe85e6b(0x1a4)])==null?void 0x0:_0x161525[_0xe85e6b(0x226)])===_0x340d88['row']||this[_0xe85e6b(0x1de)][_0xe85e6b(0x356)](_0x50010e=>{const _0x56a323=_0xe85e6b;_0x50010e[_0x56a323(0x335)](_0x340d88);});},0x64));});}[_0x5e3172(0x3d7)](_0x18e23f,_0x162a6e){const _0x868883=_0x5e3172;var _0x4cd326;const _0x14725a=(_0x4cd326=this[_0x868883(0x36e)][_0x868883(0x17c)]())==null?void 0x0:_0x4cd326['skeleton'];if(!_0x14725a)return;const _0x3c3dda=this['_getSheetObject']();if(!_0x3c3dda)return;this[_0x868883(0x1de)][_0x868883(0x356)](_0x2c8af2=>{const _0x41a29d=_0x868883;_0x2c8af2[_0x41a29d(0x1d5)]();});const {scene:_0x2d7dfd}=_0x3c3dda,_0x21621e=Sa(Array[_0x868883(0x49e)](_0x162a6e[_0x868883(0x21a)]()))['map'](_0x69f602=>{const _0x38389f=_0x868883,{color:_0x283470,range:_0x37da33,name:_0x5892bb,selection:_0x444a27,sheetID:_0x4c4ccb}=_0x69f602,{startColumn:_0x4d14ee,startRow:_0x17c6fc,endColumn:_0x18f91d,endRow:_0x484076}=_0x37da33,_0x17d3bf=_0x1028ea(_0x17c6fc,_0x4d14ee,_0x2d7dfd,_0x14725a),_0xbce160=_0x1028ea(_0x484076,_0x18f91d,_0x2d7dfd,_0x14725a),{columnHeaderHeightAndMarginTop:_0x518fbe}=_0x14725a,{startX:_0x3e5c2c,startY:_0x3afa07}=_0x17d3bf,{endX:_0x5c0e6f,endY:_0x10a8a3}=_0xbce160,_0x5ba9d3=_0x5c0e6f-_0x3e5c2c,_0x40a48b=_0x10a8a3-_0x3afa07,_0x32bf0b={'labelPosition':_0x3afa07-_0x518fbe>=nt?_0x38389f(0x467):_0x38389f(0x4c3),'sheetID':_0x4c4ccb,'range':_0x37da33,'color':_0x283470,'name':_0x5892bb,'selection':_0x444a27,'left':_0x3e5c2c,'top':_0x3afa07,'width':_0x5ba9d3,'height':_0x40a48b,'evented':!0x1,'zIndex':ga};return new fa(_0x5892bb,_0x32bf0b);});_0x2d7dfd['addObjects'](_0x21621e,ua),this[_0x868883(0x1de)]=new Set(_0x21621e);}['_removeCollabCursors'](){const _0x414339=_0x5e3172;var _0x47381e;(_0x47381e=this[_0x414339(0x1de)])==null||_0x47381e[_0x414339(0x356)](_0x2ec5e8=>_0x2ec5e8['dispose']());}[_0x5e3172(0x40b)](){const _0x1d8b5b=_0x5e3172;return _0x7eaba5(this['_context']['unit'],this[_0x1d8b5b(0x4d4)]);}};vs=ma([es(0x1,_0x1259a7(_0x5d1f2f)),es(0x2,_0x1259a7(Ve)),es(0x3,_0x1259a7(_0x3b15b9))],vs);function Sa(_0x3d42ab){const _0x3b7c58=_0x5e3172,_0xabb5c3=new Map();return _0x3d42ab[_0x3b7c58(0x356)](_0x2bffd0=>{const _0x3184c2=_0x3b7c58;if(_0xabb5c3[_0x3184c2(0x3cb)](_0x2bffd0[_0x3184c2(0x533)])){const _0x321dde=_0xabb5c3[_0x3184c2(0x307)](_0x2bffd0[_0x3184c2(0x533)]);_0x321dde[_0x3184c2(0x121)]+=',\x20'+_0x2bffd0[_0x3184c2(0x121)];}else _0xabb5c3['set'](_0x2bffd0[_0x3184c2(0x533)],_0x2bffd0);}),Array[_0x3b7c58(0x49e)](_0xabb5c3['values']());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x324395){const _0x468efe=_0x5e3172;return _0x324395&&_0x324395[_0x468efe(0x25e)]&&Object[_0x468efe(0x4e8)][_0x468efe(0x4d8)]['call'](_0x324395,_0x468efe(0x3a1))?_0x324395[_0x468efe(0x3a1)]:_0x324395;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0x3ba933=_0x5e3172;if(ni)return Ze;ni=0x1;var _0x961aab=_0x165312,_0x1c5bf7=Symbol[_0x3ba933(0x289)](_0x3ba933(0x28c)),_0x614ed0=Symbol[_0x3ba933(0x289)]('react.fragment'),_0x251ca0=Object[_0x3ba933(0x4e8)]['hasOwnProperty'],_0x1a8bfd=_0x961aab['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x3ba933(0x47b)],_0x524a08={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x394b93(_0x233a0e,_0xcb6ec2,_0x2aa8ed){const _0x171f76=_0x3ba933;var _0x2b2e74,_0x4529e4={},_0x527d80=null,_0x2825e2=null;_0x2aa8ed!==void 0x0&&(_0x527d80=''+_0x2aa8ed),_0xcb6ec2[_0x171f76(0x36a)]!==void 0x0&&(_0x527d80=''+_0xcb6ec2[_0x171f76(0x36a)]),_0xcb6ec2[_0x171f76(0x11e)]!==void 0x0&&(_0x2825e2=_0xcb6ec2[_0x171f76(0x11e)]);for(_0x2b2e74 in _0xcb6ec2)_0x251ca0['call'](_0xcb6ec2,_0x2b2e74)&&!_0x524a08['hasOwnProperty'](_0x2b2e74)&&(_0x4529e4[_0x2b2e74]=_0xcb6ec2[_0x2b2e74]);if(_0x233a0e&&_0x233a0e['defaultProps']){for(_0x2b2e74 in(_0xcb6ec2=_0x233a0e[_0x171f76(0x346)],_0xcb6ec2))_0x4529e4[_0x2b2e74]===void 0x0&&(_0x4529e4[_0x2b2e74]=_0xcb6ec2[_0x2b2e74]);}return{'$$typeof':_0x1c5bf7,'type':_0x233a0e,'key':_0x527d80,'ref':_0x2825e2,'props':_0x4529e4,'_owner':_0x1a8bfd[_0x171f76(0x363)]};}return Ze[_0x3ba933(0x516)]=_0x614ed0,Ze[_0x3ba933(0x2b8)]=_0x394b93,Ze[_0x3ba933(0x1dd)]=_0x394b93,Ze;}var oi;function Ca(){const _0x28ef33=_0x5e3172;return oi||(oi=0x1,ss[_0x28ef33(0x4b3)]=Ia()),ss['exports'];}var De=Ca(),te=function(){const _0x437dc2=_0x5e3172;return te=Object['assign']||function(_0x546cd5){const _0x24e934=_0x1eb2;for(var _0x1812d4,_0x15806f=0x1,_0x4211e3=arguments[_0x24e934(0x2c8)];_0x15806f<_0x4211e3;_0x15806f++){_0x1812d4=arguments[_0x15806f];for(var _0x2488ad in _0x1812d4)Object[_0x24e934(0x4e8)][_0x24e934(0x4d8)][_0x24e934(0x500)](_0x1812d4,_0x2488ad)&&(_0x546cd5[_0x2488ad]=_0x1812d4[_0x2488ad]);}return _0x546cd5;},te[_0x437dc2(0x212)](this,arguments);},Ea=function(_0x46a891,_0x5cb3cb){const _0x33d803=_0x5e3172;var _0x450025={};for(var _0x519d60 in _0x46a891)Object[_0x33d803(0x4e8)][_0x33d803(0x4d8)][_0x33d803(0x500)](_0x46a891,_0x519d60)&&_0x5cb3cb['indexOf'](_0x519d60)<0x0&&(_0x450025[_0x519d60]=_0x46a891[_0x519d60]);if(_0x46a891!=null&&typeof Object['getOwnPropertySymbols']==_0x33d803(0x308)){for(var _0x5447d1=0x0,_0x519d60=Object['getOwnPropertySymbols'](_0x46a891);_0x5447d1<_0x519d60[_0x33d803(0x2c8)];_0x5447d1++)_0x5cb3cb[_0x33d803(0x1ec)](_0x519d60[_0x5447d1])<0x0&&Object[_0x33d803(0x4e8)][_0x33d803(0x4f2)][_0x33d803(0x500)](_0x46a891,_0x519d60[_0x5447d1])&&(_0x450025[_0x519d60[_0x5447d1]]=_0x46a891[_0x519d60[_0x5447d1]]);}return _0x450025;},Us=_0x5af4de(function(_0x11f635,_0xcb062e){const _0x239e77=_0x5e3172;var _0x21fd7e=_0x11f635['icon'],_0x5a7413=_0x11f635['id'],_0xfd0af=_0x11f635['className'],_0xaaa179=_0x11f635[_0x239e77(0x2c1)],_0xb9f983=Ea(_0x11f635,[_0x239e77(0x23d),'id','className',_0x239e77(0x2c1)]),_0x5009c6='univerjs-icon\x20univerjs-icon-'[_0x239e77(0x4b9)](_0x5a7413,'\x20')[_0x239e77(0x4b9)](_0xfd0af||'')[_0x239e77(0x4f7)](),_0x3bc1c9=_0xa7cda3('_'[_0x239e77(0x4b9)](Ra()));return Zi(_0x21fd7e,''[_0x239e77(0x4b9)](_0x5a7413),{'defIds':_0x21fd7e[_0x239e77(0x282)],'idSuffix':_0x3bc1c9[_0x239e77(0x363)]},te({'ref':_0xcb062e,'className':_0x5009c6},_0xb9f983),_0xaaa179);});function Zi(_0x1296d9,_0x46cc59,_0x5798ec,_0x3fc401,_0xf144){const _0x40f62a=_0x5e3172;return _0x27aa2b(_0x1296d9[_0x40f62a(0x1bc)],te(te({'key':_0x46cc59},ba(_0x1296d9,_0x5798ec,_0xf144)),_0x3fc401),(Ta(_0x1296d9,_0x5798ec)['children']||[])[_0x40f62a(0x2b4)](function(_0x528039,_0x97405f){const _0x11d189=_0x40f62a;return Zi(_0x528039,''['concat'](_0x46cc59,'-')[_0x11d189(0x4b9)](_0x1296d9[_0x11d189(0x1bc)],'-')[_0x11d189(0x4b9)](_0x97405f),_0x5798ec,void 0x0,_0xf144);}));}function ba(_0x41d151,_0x4ffe62,_0x58be32){const _0x3210dd=_0x5e3172;var _0x2fa79a=te({},_0x41d151[_0x3210dd(0x4e5)]);_0x58be32!=null&&_0x58be32[_0x3210dd(0x296)]&&_0x2fa79a[_0x3210dd(0x123)]==='colorChannel1'&&(_0x2fa79a[_0x3210dd(0x123)]=_0x58be32[_0x3210dd(0x296)]);var _0x27d911=_0x4ffe62['defIds'];return!_0x27d911||_0x27d911[_0x3210dd(0x2c8)]===0x0||(_0x41d151['tag']==='use'&&_0x2fa79a[_0x3210dd(0x18e)]&&(_0x2fa79a['xlink:href']=_0x2fa79a[_0x3210dd(0x18e)]+_0x4ffe62[_0x3210dd(0x1ed)]),Object[_0x3210dd(0x16f)](_0x2fa79a)[_0x3210dd(0x356)](function(_0x494a4a){const _0x5179b4=_0x3210dd;var _0x44acf9=_0x494a4a[0x0],_0x21a389=_0x494a4a[0x1];typeof _0x21a389==_0x5179b4(0x429)&&(_0x2fa79a[_0x44acf9]=_0x21a389['replace'](/url\(#(.*)\)/,_0x5179b4(0x276)[_0x5179b4(0x4b9)](_0x4ffe62[_0x5179b4(0x1ed)],')')));})),_0x2fa79a;}function Ta(_0x9d1d68,_0xd46023){const _0x4bd02=_0x5e3172;var _0x2ecaf6,_0x1365c4=_0xd46023[_0x4bd02(0x282)];return!_0x1365c4||_0x1365c4['length']===0x0?_0x9d1d68:_0x9d1d68[_0x4bd02(0x1bc)]===_0x4bd02(0x472)&&(!((_0x2ecaf6=_0x9d1d68[_0x4bd02(0x349)])===null||_0x2ecaf6===void 0x0)&&_0x2ecaf6[_0x4bd02(0x2c8)])?te(te({},_0x9d1d68),{'children':_0x9d1d68[_0x4bd02(0x349)][_0x4bd02(0x2b4)](function(_0x4c66d2){const _0x193557=_0x4bd02;return typeof _0x4c66d2[_0x193557(0x4e5)]['id']==_0x193557(0x429)&&_0x1365c4&&_0x1365c4[_0x193557(0x1ec)](_0x4c66d2['attrs']['id'])>-0x1?te(te({},_0x4c66d2),{'attrs':te(te({},_0x4c66d2[_0x193557(0x4e5)]),{'id':_0x4c66d2[_0x193557(0x4e5)]['id']+_0xd46023[_0x193557(0x1ed)]})}):_0x4c66d2;})}):_0x9d1d68;}function Ra(){const _0x57ad0f=_0x5e3172;return Math[_0x57ad0f(0x34c)]()[_0x57ad0f(0x129)](0x24)[_0x57ad0f(0x2ef)](0x2,0x8);}Us[_0x5e3172(0x31d)]=_0x5e3172(0x52a);var Oa={'tag':_0x5e3172(0x1ae),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x5e3172(0x4d9),'height':_0x5e3172(0x4d9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x5e3172(0x313),'d':_0x5e3172(0x314),'strokeLinecap':_0x5e3172(0x3f7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e3172(0x472),'attrs':{},'children':[{'tag':_0x5e3172(0x280),'attrs':{'id':_0x5e3172(0x224)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5e3172(0x224)]},Qi=_0x5af4de(function(_0x5edd28,_0x2566ea){const _0x43484a=_0x5e3172;return _0x27aa2b(Us,Object[_0x43484a(0x215)]({},_0x5edd28,{'id':_0x43484a(0x1cb),'ref':_0x2566ea,'icon':Oa}));});Qi[_0x5e3172(0x31d)]='OffLineSingle';var ya={'tag':_0x5e3172(0x1ae),'attrs':{'fill':_0x5e3172(0x358),'viewBox':'0\x200\x2017\x2016','width':_0x5e3172(0x4d9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x5e3172(0x49f),'attrs':{'stroke':_0x5e3172(0x313),'d':_0x5e3172(0x30a),'strokeLinecap':_0x5e3172(0x3f7),'strokeLinejoin':_0x5e3172(0x3f7),'strokeWidth':1.2}}]},{'tag':_0x5e3172(0x472),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5e3172(0x392)},'children':[{'tag':_0x5e3172(0x49f),'attrs':{'fill':_0x5e3172(0x4ab),'d':_0x5e3172(0x35d),'transform':_0x5e3172(0x17d)}}]}]}],'defIds':['on-line-single_clip0_910_349']},er=_0x5af4de(function(_0x4ebe98,_0x53ee16){const _0x2cd788=_0x5e3172;return _0x27aa2b(Us,Object[_0x2cd788(0x215)]({},_0x4ebe98,{'id':_0x2cd788(0x4cf),'ref':_0x53ee16,'icon':ya}));});er[_0x5e3172(0x31d)]=_0x5e3172(0x1e0);function tr(_0x552769){const _0x5c87eb=_0x5e3172;var _0x56cfd0,_0x52d40a,_0x3ebbf1='';if(typeof _0x552769=='string'||typeof _0x552769==_0x5c87eb(0x128))_0x3ebbf1+=_0x552769;else{if(typeof _0x552769=='object'){if(Array[_0x5c87eb(0x468)](_0x552769)){var _0xfc4c3f=_0x552769[_0x5c87eb(0x2c8)];for(_0x56cfd0=0x0;_0x56cfd0<_0xfc4c3f;_0x56cfd0++)_0x552769[_0x56cfd0]&&(_0x52d40a=tr(_0x552769[_0x56cfd0]))&&(_0x3ebbf1&&(_0x3ebbf1+='\x20'),_0x3ebbf1+=_0x52d40a);}else{for(_0x52d40a in _0x552769)_0x552769[_0x52d40a]&&(_0x3ebbf1&&(_0x3ebbf1+='\x20'),_0x3ebbf1+=_0x52d40a);}}}return _0x3ebbf1;}function _0x1eb2(_0x4941e7,_0x5d26fe){const _0x1abc81=_0x1abc();return _0x1eb2=function(_0x1eb2f8,_0x34a54e){_0x1eb2f8=_0x1eb2f8-0x10d;let _0x14515c=_0x1abc81[_0x1eb2f8];return _0x14515c;},_0x1eb2(_0x4941e7,_0x5d26fe);}function wa(){const _0x359825=_0x5e3172;for(var _0x4901e7,_0x9d1c6f,_0x331aa8=0x0,_0x493b65='',_0x38976b=arguments[_0x359825(0x2c8)];_0x331aa8<_0x38976b;_0x331aa8++)(_0x4901e7=arguments[_0x331aa8])&&(_0x9d1c6f=tr(_0x4901e7))&&(_0x493b65&&(_0x493b65+='\x20'),_0x493b65+=_0x9d1c6f);return _0x493b65;}const Da=_0x5e3172(0x382),Pa=_0x5e3172(0x43b),Na='univer-online-status',Ua=_0x5e3172(0x47d),Aa=_0x5e3172(0x279),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x1fd7b6){const _0x5e0781=_0x5e3172;switch(_0x1fd7b6){case J[_0x5e0781(0x4d7)]:return _0x5e0781(0x492);case J['CONFLICT']:return _0x5e0781(0x1b1);case J[_0x5e0781(0x3e2)]:return _0x5e0781(0x479);case J['NOT_COLLAB']:return'collabStatus.notCollab';case J[_0x5e0781(0x22c)]:case J[_0x5e0781(0x1ce)]:return _0x5e0781(0x32b);case J['SYNCED']:case J['PENDING']:return _0x5e0781(0x13a);}}function xa(_0x44b2f3){const _0x32b4bc=_0x5e3172,{status$:_0x5ed116}=_0x44b2f3,_0x45b767=_0x82b757(_0x5ed116,J[_0x32b4bc(0x1aa)]),_0x2fa9d9=_0x57885b(_0x56a2bf),_0x9dcc71=_0x57885b(xe),_0x3fbf0a=_0x45b767!==J['OFFLINE'],_0x586aea=_0x2fa9d9['t'](Ma(_0x45b767)),_0xb0ce33=wa(Qe['onlineStatus'],{[Qe['online']]:_0x3fbf0a,[Qe[_0x32b4bc(0x11b)]]:!_0x3fbf0a}),_0xec1018=_0x3fbf0a?De[_0x32b4bc(0x2b8)](er,{}):De['jsx'](Qi,{}),_0x397017=_0x3c29fa(()=>{_0x3fbf0a||_0x9dcc71['reconnect']();},[_0x3fbf0a,_0x9dcc71]);function _0x4a2ea3(){const _0x5bc029=_0x32b4bc;return De[_0x5bc029(0x1dd)]('div',{'className':_0xb0ce33,'onClick':_0x397017,'children':[De[_0x5bc029(0x2b8)]('div',{'className':Qe['onlineStatusIcon'],'children':_0xec1018}),De[_0x5bc029(0x2b8)](_0x5bc029(0x505),{'className':Qe[_0x5bc029(0x146)],'children':_0x586aea})]});}return _0x3fbf0a?_0x4a2ea3():De[_0x32b4bc(0x2b8)](_0x172eaf,{'title':_0x2fa9d9['t'](_0x32b4bc(0x44c)),'children':_0x4a2ea3()});}var La=Object['defineProperty'],$a=Object['getOwnPropertyDescriptor'],Ha=(_0x35da00,_0xd97ba4,_0x57854d,_0x7e4b59)=>{const _0x20cc3e=_0x5e3172;for(var _0x4735e4=_0x7e4b59>0x1?void 0x0:_0x7e4b59?$a(_0xd97ba4,_0x57854d):_0xd97ba4,_0x3097a7=_0x35da00[_0x20cc3e(0x2c8)]-0x1,_0x5bc5c8;_0x3097a7>=0x0;_0x3097a7--)(_0x5bc5c8=_0x35da00[_0x3097a7])&&(_0x4735e4=(_0x7e4b59?_0x5bc5c8(_0xd97ba4,_0x57854d,_0x4735e4):_0x5bc5c8(_0x4735e4))||_0x4735e4);return _0x7e4b59&&_0x4735e4&&La(_0xd97ba4,_0x57854d,_0x4735e4),_0x4735e4;},lt=(_0x370e70,_0x325afb)=>(_0x4ce6f2,_0x21b158)=>_0x325afb(_0x4ce6f2,_0x21b158,_0x370e70);let At=class extends _0x5f337f{constructor(_0x20f254,_0x5b8282,_0x29b0f5,_0x4174a3){const _0x3f31bc=_0x5e3172;super(),g(this,_0x3f31bc(0x1d6),new _0xd0d94b(J[_0x3f31bc(0x1aa)])),(this['_univerInstanceService']=_0x20f254,this[_0x3f31bc(0x372)]=_0x5b8282,this[_0x3f31bc(0x3b4)]=_0x29b0f5,this[_0x3f31bc(0x50d)]=_0x4174a3,this[_0x3f31bc(0x4d1)](),this[_0x3f31bc(0x4db)]());}[_0x5e3172(0x4db)](){const _0x35a7c7=_0x5e3172;this[_0x35a7c7(0x2d9)](this['_univerInstanceService']['focused$'][_0x35a7c7(0x4b6)](_0x12c24e(()=>{const _0x599c8b=_0x35a7c7,_0x35665e=this[_0x599c8b(0x153)][_0x599c8b(0x27b)]();return _0x35665e?this['_collaborationController'][_0x599c8b(0x46e)](_0x35665e[_0x599c8b(0x12f)]()):_0x4f62b6(null);}),_0x12c24e(_0x542f5e=>_0x542f5e?_0x542f5e[_0x35a7c7(0x52f)]:_0x4f62b6(J[_0x35a7c7(0x1aa)])))[_0x35a7c7(0x134)](_0x13c106=>{this['_status$']['next'](_0x13c106);}));}[_0x5e3172(0x4d1)](){const _0x248997=_0x5e3172;this[_0x248997(0x2d9)](this[_0x248997(0x372)][_0x248997(0x1c7)](_0x4a568e[_0x248997(0x112)],()=>_0x517e5d(ja({'status$':this[_0x248997(0x1d6)][_0x248997(0x306)]()}),this[_0x248997(0x3b4)])));}};At=Ha([lt(0x0,_0x381e7e),lt(0x1,_0x5beba5),lt(0x2,_0x1259a7(_0xa6ca3c)),lt(0x3,_0x1259a7(rt))],At);function ja(_0x2d3347){const {status$:_0x34bef2}=_0x2d3347;return function(){return De['jsx'](xa,{'status$':_0x34bef2});};}const sr=_0x311f8c(_0x5e3172(0x20b));var Ba=Object[_0x5e3172(0x243)],ka=Object['getOwnPropertyDescriptor'],Wa=(_0x4cb97e,_0x2a9129,_0x463384,_0x3c9d02)=>{const _0xd0b232=_0x5e3172;for(var _0x1f48f7=_0x3c9d02>0x1?void 0x0:_0x3c9d02?ka(_0x2a9129,_0x463384):_0x2a9129,_0x177424=_0x4cb97e[_0xd0b232(0x2c8)]-0x1,_0x2e18b9;_0x177424>=0x0;_0x177424--)(_0x2e18b9=_0x4cb97e[_0x177424])&&(_0x1f48f7=(_0x3c9d02?_0x2e18b9(_0x2a9129,_0x463384,_0x1f48f7):_0x2e18b9(_0x1f48f7))||_0x1f48f7);return _0x3c9d02&&_0x1f48f7&&Ba(_0x2a9129,_0x463384,_0x1f48f7),_0x1f48f7;},ke=(_0x1f14b0,_0x1ac92e)=>(_0x3aa238,_0x22c383)=>_0x1ac92e(_0x3aa238,_0x22c383,_0x1f14b0);let Mt=class extends _0x5ce84d{constructor(_0x244da8,_0x26a45c,_0x10f664,_0x5b6511,_0x45889c,_0x23d626){const _0x1edc99=_0x5e3172;super(),this['_urlService']=_0x244da8,this[_0x1edc99(0x52d)]=_0x26a45c,this[_0x1edc99(0x327)]=_0x10f664,this[_0x1edc99(0x32a)]=_0x5b6511,this[_0x1edc99(0x449)]=_0x45889c,_0x23d626?_0x23d626==null||_0x23d626[_0x1edc99(0x167)]()['then'](()=>this[_0x1edc99(0x1d2)]()):(this[_0x1edc99(0x52d)][_0x1edc99(0x16d)](_0x1edc99(0x40f),_0x1edc99(0x18a)),this[_0x1edc99(0x1d2)]());}async['_init'](){const _0x5c5bd3=_0x5e3172,_0x234d93=this[_0x5c5bd3(0x4f3)][_0x5c5bd3(0x518)]('unit'),_0x385d60=this['_urlService'][_0x5c5bd3(0x518)](_0x5c5bd3(0x20d));if(!_0x234d93||!_0x385d60){this[_0x5c5bd3(0x52d)][_0x5c5bd3(0x16d)](_0x5c5bd3(0x40f),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x385d60)){case ae[_0x5c5bd3(0x1c2)]:{const _0x531edc=await this[_0x5c5bd3(0x364)](_0x234d93);this[_0x5c5bd3(0x477)](_0x531edc);break;}case ae['UNIVER_DOC']:{await this[_0x5c5bd3(0x166)](_0x234d93);break;}default:{this[_0x5c5bd3(0x52d)][_0x5c5bd3(0x295)](_0x5c5bd3(0x40f),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x5e3172(0x477)](_0xac3846){const _0xea470d=_0x5e3172;await this[_0xea470d(0x42c)](_0xac3846),_0xac3846[_0xea470d(0x525)][_0xea470d(0x4b6)](_0x34041a(this[_0xea470d(0x511)]))['subscribe'](_0x43ce55=>{const _0x58e59c=_0xea470d;_0x43ce55&&this[_0x58e59c(0x27c)](_0x43ce55);}),this['_urlService'][_0xea470d(0x1fa)]['pipe'](_0x34041a(this[_0xea470d(0x511)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0xac3846));}[_0x5e3172(0x27c)](_0x59363a,_0x18c8c5=!0x1){const _0x2a4d74=_0x5e3172,_0x52817f=this[_0x2a4d74(0x4f3)][_0x2a4d74(0x518)](_0x2a4d74(0x344));_0x59363a[_0x2a4d74(0x29c)]()!==_0x52817f&&this['_urlService'][_0x2a4d74(0x431)]('subunit',_0x59363a[_0x2a4d74(0x29c)](),_0x18c8c5);}async[_0x5e3172(0x42c)](_0x490b8f){const _0xbd2fcc=_0x5e3172;var _0x2ea101;const _0x274577=this[_0xbd2fcc(0x4f3)][_0xbd2fcc(0x518)](_0xbd2fcc(0x344));if(!_0x274577||!_0x490b8f[_0xbd2fcc(0x19d)](_0x274577)){const _0x1c0f19=_0x490b8f[_0xbd2fcc(0x3bc)]()[0x0],_0x5c9246=_0x490b8f[_0xbd2fcc(0x19d)](_0x1c0f19);if(!_0x5c9246)return;this[_0xbd2fcc(0x27c)](_0x5c9246,!0x0),await this[_0xbd2fcc(0x327)][_0xbd2fcc(0x266)](_0x5d7f9e['id'],{'unitId':_0x490b8f[_0xbd2fcc(0x12f)](),'subUnitId':_0x1c0f19});return;}((_0x2ea101=_0x490b8f[_0xbd2fcc(0x328)]())==null?void 0x0:_0x2ea101[_0xbd2fcc(0x29c)]())!==_0x274577&&await this['_commandService'][_0xbd2fcc(0x266)](_0x5d7f9e['id'],{'unitId':_0x490b8f[_0xbd2fcc(0x12f)](),'subUnitId':_0x274577});}async[_0x5e3172(0x364)](_0x2492e5){const _0x171964=_0x5e3172;let _0x35a81b=0x0;const _0x438c90=await this['_localCacheService']['loadOfflineData'](_0x2492e5);return _0x438c90&&(_0x438c90[_0x171964(0x227)]||_0x438c90[_0x171964(0x1b2)]['length']!==0x0)&&(_0x35a81b=_0x438c90['rev']),_0x35a81b===0x0&&this[_0x171964(0x52d)]['debug'](_0x171964(0x40f),_0x171964(0x4cd)),this[_0x171964(0x449)][_0x171964(0x281)](_0x2492e5,_0x35a81b);}async[_0x5e3172(0x166)](_0x44e57a){const _0x27a047=_0x5e3172;let _0x3f1167=0x0;const _0x5725bf=await this['_localCacheService'][_0x27a047(0x47f)](_0x44e57a);return _0x5725bf&&(_0x5725bf[_0x27a047(0x227)]||_0x5725bf[_0x27a047(0x1b2)][_0x27a047(0x2c8)]!==0x0)&&(_0x3f1167=_0x5725bf['rev']),_0x3f1167===0x0&&this['_logService']['debug'](_0x27a047(0x40f),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x27a047(0x449)][_0x27a047(0x2b1)](_0x44e57a,_0x3f1167);}};Mt=Wa([ke(0x0,sr),ke(0x1,_0xadcc6),ke(0x2,_0x58c2c0),ke(0x3,_0x1259a7(z)),ke(0x4,_0x1259a7(_0x2dad5b)),ke(0x5,_0x2f5f30(_0x4ec8cb))],Mt);var Fa=Object[_0x5e3172(0x243)],Va=Object[_0x5e3172(0x26f)],Ga=(_0x5063b9,_0x4e0c92,_0x3096f8,_0x3e9b48)=>{const _0x5b88e5=_0x5e3172;for(var _0x4d1a37=_0x3e9b48>0x1?void 0x0:_0x3e9b48?Va(_0x4e0c92,_0x3096f8):_0x4e0c92,_0x21f990=_0x5063b9[_0x5b88e5(0x2c8)]-0x1,_0x3511a8;_0x21f990>=0x0;_0x21f990--)(_0x3511a8=_0x5063b9[_0x21f990])&&(_0x4d1a37=(_0x3e9b48?_0x3511a8(_0x4e0c92,_0x3096f8,_0x4d1a37):_0x3511a8(_0x4d1a37))||_0x4d1a37);return _0x3e9b48&&_0x4d1a37&&Fa(_0x4e0c92,_0x3096f8,_0x4d1a37),_0x4d1a37;},ai=(_0x1f8bac,_0x2d0262)=>(_0xbd4a6a,_0x21ba78)=>_0x2d0262(_0xbd4a6a,_0x21ba78,_0x1f8bac);const Ya=_0x5e3172(0x197),Ka=_0x5e3172(0x531);let xt=class extends _0x5f337f{constructor(_0x9f88e5,_0xd3024){const _0x588af9=_0x5e3172;super(),this[_0x588af9(0x153)]=_0x9f88e5,this[_0x588af9(0x270)]=_0xd3024,this[_0x588af9(0x1d2)]();}[_0x5e3172(0x1d2)](){const _0x122cdf=_0x5e3172;this['disposeWithMe'](this[_0x122cdf(0x153)][_0x122cdf(0x1e6)][_0x122cdf(0x134)](()=>{const _0x3f9496=_0x122cdf;var _0x48d2f8;const _0x42d759=this[_0x3f9496(0x153)][_0x3f9496(0x27b)]();let _0x5041bc=(_0x48d2f8=this[_0x3f9496(0x270)]['getConfig'](Ya))!=null?_0x48d2f8:Ka;_0x42d759 instanceof _0x1d9cb8&&(_0x5041bc=_0x42d759[_0x3f9496(0x121)]),document[_0x3f9496(0x458)]=_0x5041bc;}));}};xt=Ga([ai(0x0,_0x381e7e),ai(0x1,_0x3a37b7)],xt);var qa=Object[_0x5e3172(0x243)],za=Object[_0x5e3172(0x26f)],Xa=(_0x2dc6d0,_0x226f9a,_0x4440a2,_0x1174d0)=>{for(var _0x36fe5f=_0x1174d0>0x1?void 0x0:_0x1174d0?za(_0x226f9a,_0x4440a2):_0x226f9a,_0xbc51e0=_0x2dc6d0['length']-0x1,_0x3c1bb0;_0xbc51e0>=0x0;_0xbc51e0--)(_0x3c1bb0=_0x2dc6d0[_0xbc51e0])&&(_0x36fe5f=(_0x1174d0?_0x3c1bb0(_0x226f9a,_0x4440a2,_0x36fe5f):_0x3c1bb0(_0x36fe5f))||_0x36fe5f);return _0x1174d0&&_0x36fe5f&&qa(_0x226f9a,_0x4440a2,_0x36fe5f),_0x36fe5f;},is=(_0x17e5f1,_0x5df99f)=>(_0x39f53e,_0x23e15e)=>_0x5df99f(_0x39f53e,_0x23e15e,_0x17e5f1);let Lt=class{constructor(_0x34760b,_0x5045ce,_0x1fbae2){const _0x36af53=_0x5e3172;this[_0x36af53(0x270)]=_0x34760b,this[_0x36af53(0x535)]=_0x5045ce,this[_0x36af53(0x3c0)]=_0x1fbae2,this[_0x36af53(0x433)]();}[_0x5e3172(0x433)](){const _0x250651=_0x5e3172;this[_0x250651(0x535)][_0x250651(0x24c)]({'priority':0x1,'interceptor':(_0x538ffd,_0x574240)=>_0x574240(_0x538ffd)[_0x250651(0x4b6)](_0x21776c(async _0x2c80f1=>{const _0x1570a1=_0x250651,_0x3d7ce5=_0x2c80f1;if(_0x3d7ce5[_0x1570a1(0x38b)]===0x191&&window[_0x1570a1(0x23a)](this[_0x1570a1(0x3c0)]['t'](_0x1570a1(0x3a0)))){const _0x9cafb7=window[_0x1570a1(0x1f4)](window[_0x1570a1(0x4e2)][_0x1570a1(0x38d)]);window[_0x1570a1(0x4e2)][_0x1570a1(0x38d)]=this[_0x1570a1(0x35b)]()+_0x1570a1(0x2f8)+_0x9cafb7;}return _0x3d7ce5;}))});}[_0x5e3172(0x35b)](){const _0x2aab41=_0x5e3172;var _0x4d281b,_0x1c1016;const _0xa4ac17=this[_0x2aab41(0x270)][_0x2aab41(0x186)](Hn),_0x4ba593=this[_0x2aab41(0x270)][_0x2aab41(0x186)](Q);return(_0x1c1016=(_0x4d281b=_0x4ba593==null?void 0x0:_0x4ba593['loginUrlKey'])!=null?_0x4d281b:_0xa4ac17)!=null?_0x1c1016:jn;}};Lt=Xa([is(0x0,_0x3a37b7),is(0x1,_0x1259a7(_0x21ff0e)),is(0x2,_0x1259a7(_0x56a2bf))],Lt);var Ja=Object[_0x5e3172(0x243)],Za=Object[_0x5e3172(0x26f)],Qa=(_0x5d2972,_0x4ef189,_0xbd92ec,_0x1b3873)=>{const _0x4d6c4c=_0x5e3172;for(var _0x4ff9b9=_0x1b3873>0x1?void 0x0:_0x1b3873?Za(_0x4ef189,_0xbd92ec):_0x4ef189,_0x569031=_0x5d2972[_0x4d6c4c(0x2c8)]-0x1,_0x40d064;_0x569031>=0x0;_0x569031--)(_0x40d064=_0x5d2972[_0x569031])&&(_0x4ff9b9=(_0x1b3873?_0x40d064(_0x4ef189,_0xbd92ec,_0x4ff9b9):_0x40d064(_0x4ff9b9))||_0x4ff9b9);return _0x1b3873&&_0x4ff9b9&&Ja(_0x4ef189,_0xbd92ec,_0x4ff9b9),_0x4ff9b9;},ci=(_0x123404,_0x569439)=>(_0x18ed0c,_0x2580ae)=>_0x569439(_0x18ed0c,_0x2580ae,_0x123404);const ir=_0x5e3172(0x151),ec=_0x5e3172(0x3f3);let ps=class extends _0x5f337f{constructor(_0x4c1e3e,_0x369232){const _0x4ffaae=_0x5e3172;super(),this[_0x4ffaae(0x31f)]=_0x4c1e3e,this['_configService']=_0x369232,this[_0x4ffaae(0x432)]();}[_0x5e3172(0x432)](){const _0x106f45=_0x5e3172,_0xc5080=this;this[_0x106f45(0x2d9)](this['_HTTPService'][_0x106f45(0x24c)]({'priority':0x3e7,'interceptor':_0x146515({'isMatch'(_0x4678e3){const _0x50481a=_0x106f45;var _0x5d2727;if(_0x4678e3[_0x50481a(0x131)]===_0x50481a(0x292)&&((_0x5d2727=_0x4678e3[_0x50481a(0x225)])!=null&&_0x5d2727['body'])){const {objectID:_0xeae0a3,objectType:_0x37729a}=_0x4678e3[_0x50481a(0x225)]['body']||{};if(!_0xeae0a3||_0x37729a===void 0x0)return!0x1;const _0x671350=_0xc5080[_0x50481a(0x1f9)]()+'/'+_0x37729a+_0x50481a(0x132)+_0xeae0a3+'/allowed';if(_0x4678e3[_0x50481a(0x165)]===_0x671350)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51a2a1){const _0x59bf90=_0x106f45;var _0x59ed2f;return(_0x59ed2f=_0x51a2a1[_0x59bf90(0x225)])==null?void 0x0:_0x59ed2f[_0x59bf90(0x2da)];},'mergeParamsToRequest'(_0x26d1fa,_0x2860e9){const _0x595906=_0x106f45,_0x512ab8=_0xc5080['_getAPIPrefixPath']()+_0x595906(0x20c),_0x43a257=_0x26d1fa[_0x595906(0x354)]((_0x4ff7d1,_0x2fc494)=>{const _0x428e90=_0x595906,{unitID:_0x26f805,objectID:_0x519832,objectType:_0x13aa4f,actions:_0x3f4661}=_0x2fc494;return _0x4ff7d1[_0x26f805]||(_0x4ff7d1[_0x26f805]={}),_0x4ff7d1[_0x26f805][_0x519832]||(_0x4ff7d1[_0x26f805][_0x519832]={'objectID':_0x519832,'objectType':_0x13aa4f,'actions':[]}),_0x4ff7d1[_0x26f805][_0x519832][_0x428e90(0x39b)][_0x428e90(0x38e)](..._0x3f4661),_0x4ff7d1;},{}),_0x2c0ec8=[];for(const _0x3bc634 in _0x43a257)for(const _0x32b100 in _0x43a257[_0x3bc634]){const {actions:_0x521abf,objectType:_0x1c48c0}=_0x43a257[_0x3bc634][_0x32b100],_0x302067=[...new Set(_0x521abf)];_0x2c0ec8[_0x595906(0x38e)]({'unitID':_0x3bc634,'objectID':_0x32b100,'objectType':_0x1c48c0,'actions':_0x302067});}return new _0x427f8d(_0x595906(0x292),_0x512ab8,{'headers':_0x2860e9[_0x595906(0x260)],'withCredentials':_0x2860e9[_0x595906(0x170)],'responseType':_0x2860e9[_0x595906(0x4ea)],'body':{'requests':_0x2c0ec8}});}},{'distributeResult'(_0x5a0d4d,_0x3f28d2){const _0xa82034=_0x106f45,{objectActions:_0xf93612}=_0x5a0d4d;return _0x3f28d2[_0xa82034(0x2b4)](_0x35c030=>{const _0x140a67=_0xa82034,{unitID:_0xfb7c29,objectID:_0x3e3a3b,actions:_0x22d2e8}=_0x35c030,_0x27a272=_0xf93612['find'](_0x3e0c0c=>_0x3e0c0c[_0x140a67(0x4e4)]===_0xfb7c29&&_0x3e0c0c[_0x140a67(0x381)]===_0x3e3a3b),_0x4cae67=_0x22d2e8['map'](_0x374045=>_0x27a272==null?void 0x0:_0x27a272[_0x140a67(0x39b)]['find'](_0x53e2c1=>_0x53e2c1[_0x140a67(0x350)]===_0x374045))[_0x140a67(0x1fe)](_0x5ec7a1=>!!_0x5ec7a1);return{'config':_0x35c030,'result':{'actions':_0x4cae67,'error':_0x5a0d4d[_0x140a67(0x295)]}};});}})}));}[_0x5e3172(0x1f9)](){const _0x1a0d7a=_0x5e3172;var _0x5824a2,_0x1cfa45;const _0x1bab6d=this[_0x1a0d7a(0x270)][_0x1a0d7a(0x186)](ir),_0x5db976=this[_0x1a0d7a(0x270)][_0x1a0d7a(0x186)](Q);return(_0x1cfa45=(_0x5824a2=_0x5db976==null?void 0x0:_0x5db976[_0x1a0d7a(0x13f)])!=null?_0x5824a2:_0x1bab6d)!=null?_0x1cfa45:ec;}async['create'](_0x4d08f4){const _0x5dac0b=_0x5e3172,_0x4d0fab=this[_0x5dac0b(0x1f9)]()+'/'+_0x4d08f4[_0x5dac0b(0x2e4)]+_0x5dac0b(0x237);return(await this[_0x5dac0b(0x31f)][_0x5dac0b(0x2a5)](_0x4d0fab,{'body':_0x4d08f4}))[_0x5dac0b(0x2da)]['objectID']||'';}async['list'](_0x5aab4a){const _0x102204=_0x5e3172,_0x173a7a=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x102204(0x31f)]['post'](_0x173a7a,{'body':_0x5aab4a}))['body'][_0x102204(0x253)];}async[_0x5e3172(0x4d6)](_0x5383ce){const _0x160937=_0x5e3172,_0x281fec=this[_0x160937(0x1f9)]()+'/'+_0x5383ce[_0x160937(0x2e4)]+_0x160937(0x132)+_0x5383ce[_0x160937(0x381)];await this[_0x160937(0x31f)]['put'](_0x281fec,{'body':_0x5383ce});}async[_0x5e3172(0x504)](_0x47d039){const _0x2b5c33=_0x5e3172,_0x4da289=this[_0x2b5c33(0x1f9)]()+'/'+_0x47d039[_0x2b5c33(0x2e4)]+'/object/'+_0x47d039[_0x2b5c33(0x381)]+_0x2b5c33(0x2f9);return(await this[_0x2b5c33(0x31f)][_0x2b5c33(0x2a5)](_0x4da289,{'body':_0x47d039}))[_0x2b5c33(0x2da)][_0x2b5c33(0x39b)];}async[_0x5e3172(0x184)](_0x2c1722){const _0x2acbf9=_0x5e3172,_0x31f971=this['_getAPIPrefixPath']()+_0x2acbf9(0x20c);return(await this[_0x2acbf9(0x31f)][_0x2acbf9(0x2a5)](_0x31f971,{'body':{'requests':_0x2c1722}}))[_0x2acbf9(0x2da)][_0x2acbf9(0x3c5)];}async[_0x5e3172(0x483)](_0x5570c1){const _0x1d7eed=_0x5e3172,_0x1a1459=this['_getAPIPrefixPath']()+'/'+_0x5570c1['objectType']+'/role',_0x525146=await this['_HTTPService'][_0x1d7eed(0x2a5)](_0x1a1459,{'body':_0x5570c1});return{'roles':_0x525146['body'][_0x1d7eed(0x140)],'actions':_0x525146['body'][_0x1d7eed(0x39b)]};}async[_0x5e3172(0x481)](_0x31ff20){const _0x40935a=_0x5e3172,_0x575200=this[_0x40935a(0x1f9)]()+_0x40935a(0x3f8);await this[_0x40935a(0x31f)][_0x40935a(0x480)](_0x575200,{'params':{'collaboratorID':_0x31ff20['collaboratorID'],'objectID':_0x31ff20[_0x40935a(0x381)],'unitID':_0x31ff20[_0x40935a(0x4e4)]}});}async[_0x5e3172(0x3a8)](_0x4a616b){const _0x26f0af=_0x5e3172,_0x338a5b=this['_getAPIPrefixPath']()+_0x26f0af(0x3f8);await this[_0x26f0af(0x31f)][_0x26f0af(0x265)](_0x338a5b,{'body':_0x4a616b});}async['createCollaborator'](_0x820196){const _0x39a85d=_0x5e3172,_0x500522=this[_0x39a85d(0x1f9)]()+_0x39a85d(0x3f8);await this[_0x39a85d(0x31f)]['post'](_0x500522,{'body':_0x820196});}async['listCollaborators'](_0xb1d4cb){const _0x255965=_0x5e3172,_0x261bf3=this[_0x255965(0x1f9)]()+'/collaborator';return(await this[_0x255965(0x31f)][_0x255965(0x307)](_0x261bf3,{'params':{'objectID':_0xb1d4cb[_0x255965(0x381)],'unitID':_0xb1d4cb['unitID']}}))[_0x255965(0x2da)][_0x255965(0x470)];}async[_0x5e3172(0x12a)](_0x582a9a){const _0x189f68=_0x5e3172,_0x1e0138=this[_0x189f68(0x1f9)]()+_0x189f68(0x3f8);await this[_0x189f68(0x31f)][_0x189f68(0x213)](_0x1e0138,{'body':_0x582a9a});}};ps=Qa([ci(0x0,_0x1259a7(_0x21ff0e)),ci(0x1,_0x1259a7(_0x3a37b7))],ps);var dt={'exports':{}};function tc(_0x2ce283){const _0x38e544=_0x5e3172;throw new Error(_0x38e544(0x1c9)+_0x2ce283+_0x38e544(0x258));}var ft={'exports':{}},sc=ft['exports'],hi;function _e(){return hi||(hi=0x1,function(_0x3e487c,_0x121d56){(function(_0x37a9a3,_0x1631dd){const _0x28634c=_0x1eb2;_0x3e487c[_0x28634c(0x4b3)]=_0x1631dd();}(sc,function(){var _0x4797ee=_0x4797ee||function(_0x4b936a,_0x1fb417){const _0x38b069=_0x1eb2;var _0x1623be;if(typeof window<'u'&&window[_0x38b069(0x386)]&&(_0x1623be=window[_0x38b069(0x386)]),typeof self<'u'&&self[_0x38b069(0x386)]&&(_0x1623be=self[_0x38b069(0x386)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1623be=globalThis[_0x38b069(0x386)]),!_0x1623be&&typeof window<'u'&&window[_0x38b069(0x482)]&&(_0x1623be=window[_0x38b069(0x482)]),!_0x1623be&&typeof ts<'u'&&ts[_0x38b069(0x386)]&&(_0x1623be=ts[_0x38b069(0x386)]),!_0x1623be&&typeof tc==_0x38b069(0x308))try{_0x1623be=require('crypto');}catch{}var _0x47b2ad=function(){const _0x46d33d=_0x38b069;if(_0x1623be){if(typeof _0x1623be[_0x46d33d(0x2db)]=='function')try{return _0x1623be[_0x46d33d(0x2db)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1623be[_0x46d33d(0x473)]==_0x46d33d(0x308))try{return _0x1623be[_0x46d33d(0x473)](0x4)[_0x46d33d(0x44e)]();}catch{}}throw new Error(_0x46d33d(0x2fa));},_0x2e5557=Object[_0x38b069(0x2df)]||(function(){function _0x116983(){}return function(_0x257cd9){const _0x550a70=_0x1eb2;var _0x315e2c;return _0x116983[_0x550a70(0x4e8)]=_0x257cd9,_0x315e2c=new _0x116983(),_0x116983['prototype']=null,_0x315e2c;};}()),_0x547818={},_0x38763f=_0x547818[_0x38b069(0x1e5)]={},_0x3a496c=_0x38763f['Base']=(function(){return{'extend':function(_0x5c52ce){const _0x5058d1=_0x1eb2;var _0x4bebe0=_0x2e5557(this);return _0x5c52ce&&_0x4bebe0[_0x5058d1(0x24e)](_0x5c52ce),(!_0x4bebe0[_0x5058d1(0x4d8)]('init')||this[_0x5058d1(0x433)]===_0x4bebe0[_0x5058d1(0x433)])&&(_0x4bebe0['init']=function(){const _0x56e9c2=_0x5058d1;_0x4bebe0[_0x56e9c2(0x30f)][_0x56e9c2(0x433)]['apply'](this,arguments);}),_0x4bebe0[_0x5058d1(0x433)]['prototype']=_0x4bebe0,_0x4bebe0['$super']=this,_0x4bebe0;},'create':function(){const _0xada98f=_0x1eb2;var _0x514275=this['extend']();return _0x514275[_0xada98f(0x433)]['apply'](_0x514275,arguments),_0x514275;},'init':function(){},'mixIn':function(_0x2cc449){const _0x28292d=_0x1eb2;for(var _0x535d84 in _0x2cc449)_0x2cc449[_0x28292d(0x4d8)](_0x535d84)&&(this[_0x535d84]=_0x2cc449[_0x535d84]);_0x2cc449['hasOwnProperty']('toString')&&(this['toString']=_0x2cc449['toString']);},'clone':function(){const _0x2858ea=_0x1eb2;return this[_0x2858ea(0x433)][_0x2858ea(0x4e8)]['extend'](this);}};}()),_0x108704=_0x38763f[_0x38b069(0x24d)]=_0x3a496c['extend']({'init':function(_0x290857,_0x233f15){const _0x245def=_0x38b069;_0x290857=this['words']=_0x290857||[],_0x233f15!=_0x1fb417?this[_0x245def(0x11f)]=_0x233f15:this[_0x245def(0x11f)]=_0x290857['length']*0x4;},'toString':function(_0x2626ce){const _0xe018c7=_0x38b069;return(_0x2626ce||_0x3ed20a)[_0xe018c7(0x50f)](this);},'concat':function(_0x57d8c3){const _0x26d948=_0x38b069;var _0x4ad230=this[_0x26d948(0x1c5)],_0x46a152=_0x57d8c3[_0x26d948(0x1c5)],_0x35ea0c=this[_0x26d948(0x11f)],_0x19dea9=_0x57d8c3[_0x26d948(0x11f)];if(this[_0x26d948(0x4bb)](),_0x35ea0c%0x4)for(var _0x319da3=0x0;_0x319da3<_0x19dea9;_0x319da3++){var _0x42c4cf=_0x46a152[_0x319da3>>>0x2]>>>0x18-_0x319da3%0x4*0x8&0xff;_0x4ad230[_0x35ea0c+_0x319da3>>>0x2]|=_0x42c4cf<<0x18-(_0x35ea0c+_0x319da3)%0x4*0x8;}else{for(var _0x27509b=0x0;_0x27509b<_0x19dea9;_0x27509b+=0x4)_0x4ad230[_0x35ea0c+_0x27509b>>>0x2]=_0x46a152[_0x27509b>>>0x2];}return this[_0x26d948(0x11f)]+=_0x19dea9,this;},'clamp':function(){const _0x2aa6a0=_0x38b069;var _0x2a7d48=this[_0x2aa6a0(0x1c5)],_0x14cfe2=this[_0x2aa6a0(0x11f)];_0x2a7d48[_0x14cfe2>>>0x2]&=0xffffffff<<0x20-_0x14cfe2%0x4*0x8,_0x2a7d48[_0x2aa6a0(0x2c8)]=_0x4b936a[_0x2aa6a0(0x421)](_0x14cfe2/0x4);},'clone':function(){const _0x136428=_0x38b069;var _0x1c7c14=_0x3a496c[_0x136428(0x506)][_0x136428(0x500)](this);return _0x1c7c14[_0x136428(0x1c5)]=this[_0x136428(0x1c5)][_0x136428(0x469)](0x0),_0x1c7c14;},'random':function(_0x292fe4){for(var _0x346cd7=[],_0x3f2002=0x0;_0x3f2002<_0x292fe4;_0x3f2002+=0x4)_0x346cd7['push'](_0x47b2ad());return new _0x108704['init'](_0x346cd7,_0x292fe4);}}),_0x231217=_0x547818['enc']={},_0x3ed20a=_0x231217['Hex']={'stringify':function(_0x422fbc){const _0x58861d=_0x38b069;for(var _0x274947=_0x422fbc[_0x58861d(0x1c5)],_0x33e9cf=_0x422fbc['sigBytes'],_0x219111=[],_0x434638=0x0;_0x434638<_0x33e9cf;_0x434638++){var _0x463bdb=_0x274947[_0x434638>>>0x2]>>>0x18-_0x434638%0x4*0x8&0xff;_0x219111[_0x58861d(0x38e)]((_0x463bdb>>>0x4)[_0x58861d(0x129)](0x10)),_0x219111[_0x58861d(0x38e)]((_0x463bdb&0xf)['toString'](0x10));}return _0x219111[_0x58861d(0x304)]('');},'parse':function(_0x3c8d05){const _0x13c87d=_0x38b069;for(var _0x4620d9=_0x3c8d05['length'],_0x4f1782=[],_0x50cbbf=0x0;_0x50cbbf<_0x4620d9;_0x50cbbf+=0x2)_0x4f1782[_0x50cbbf>>>0x3]|=parseInt(_0x3c8d05[_0x13c87d(0x115)](_0x50cbbf,0x2),0x10)<<0x18-_0x50cbbf%0x8*0x4;return new _0x108704[(_0x13c87d(0x433))](_0x4f1782,_0x4620d9/0x2);}},_0x9a46f7=_0x231217[_0x38b069(0x320)]={'stringify':function(_0x5a56d3){const _0xda7969=_0x38b069;for(var _0x4c9391=_0x5a56d3['words'],_0x5c5567=_0x5a56d3[_0xda7969(0x11f)],_0x51f62b=[],_0x568aa0=0x0;_0x568aa0<_0x5c5567;_0x568aa0++){var _0x10a08e=_0x4c9391[_0x568aa0>>>0x2]>>>0x18-_0x568aa0%0x4*0x8&0xff;_0x51f62b['push'](String[_0xda7969(0x4d5)](_0x10a08e));}return _0x51f62b[_0xda7969(0x304)]('');},'parse':function(_0x50f91a){const _0x32b615=_0x38b069;for(var _0x5605ea=_0x50f91a[_0x32b615(0x2c8)],_0x4c1988=[],_0xa9ead2=0x0;_0xa9ead2<_0x5605ea;_0xa9ead2++)_0x4c1988[_0xa9ead2>>>0x2]|=(_0x50f91a[_0x32b615(0x326)](_0xa9ead2)&0xff)<<0x18-_0xa9ead2%0x4*0x8;return new _0x108704[(_0x32b615(0x433))](_0x4c1988,_0x5605ea);}},_0x184ab6=_0x231217[_0x38b069(0x188)]={'stringify':function(_0x50ab70){const _0x353901=_0x38b069;try{return decodeURIComponent(escape(_0x9a46f7['stringify'](_0x50ab70)));}catch{throw new Error(_0x353901(0x4fd));}},'parse':function(_0x2c5653){const _0x4cb284=_0x38b069;return _0x9a46f7[_0x4cb284(0x32f)](unescape(encodeURIComponent(_0x2c5653)));}},_0xe30f6=_0x38763f['BufferedBlockAlgorithm']=_0x3a496c[_0x38b069(0x2c1)]({'reset':function(){const _0x49fd4a=_0x38b069;this[_0x49fd4a(0x34e)]=new _0x108704[(_0x49fd4a(0x433))](),this[_0x49fd4a(0x41b)]=0x0;},'_append':function(_0x10267e){const _0x56b7f3=_0x38b069;typeof _0x10267e==_0x56b7f3(0x429)&&(_0x10267e=_0x184ab6[_0x56b7f3(0x32f)](_0x10267e)),this['_data']['concat'](_0x10267e),this['_nDataBytes']+=_0x10267e[_0x56b7f3(0x11f)];},'_process':function(_0x118fe7){const _0x137f87=_0x38b069;var _0x21d9da,_0x409b33=this[_0x137f87(0x34e)],_0xdc29ab=_0x409b33[_0x137f87(0x1c5)],_0x75690e=_0x409b33[_0x137f87(0x11f)],_0x5a1ef2=this['blockSize'],_0x3f5494=_0x5a1ef2*0x4,_0x23ada0=_0x75690e/_0x3f5494;_0x118fe7?_0x23ada0=_0x4b936a[_0x137f87(0x421)](_0x23ada0):_0x23ada0=_0x4b936a[_0x137f87(0x2a1)]((_0x23ada0|0x0)-this[_0x137f87(0x1a9)],0x0);var _0x4eadb3=_0x23ada0*_0x5a1ef2,_0x5b7aa6=_0x4b936a['min'](_0x4eadb3*0x4,_0x75690e);if(_0x4eadb3){for(var _0x2d6a15=0x0;_0x2d6a15<_0x4eadb3;_0x2d6a15+=_0x5a1ef2)this[_0x137f87(0x334)](_0xdc29ab,_0x2d6a15);_0x21d9da=_0xdc29ab[_0x137f87(0x403)](0x0,_0x4eadb3),_0x409b33['sigBytes']-=_0x5b7aa6;}return new _0x108704['init'](_0x21d9da,_0x5b7aa6);},'clone':function(){const _0x5ea218=_0x38b069;var _0x46ef85=_0x3a496c[_0x5ea218(0x506)][_0x5ea218(0x500)](this);return _0x46ef85[_0x5ea218(0x34e)]=this[_0x5ea218(0x34e)][_0x5ea218(0x506)](),_0x46ef85;},'_minBufferSize':0x0});_0x38763f[_0x38b069(0x176)]=_0xe30f6['extend']({'cfg':_0x3a496c[_0x38b069(0x2c1)](),'init':function(_0x54fa82){const _0x33b868=_0x38b069;this[_0x33b868(0x471)]=this['cfg'][_0x33b868(0x2c1)](_0x54fa82),this[_0x33b868(0x3df)]();},'reset':function(){const _0x5451d5=_0x38b069;_0xe30f6[_0x5451d5(0x3df)]['call'](this),this[_0x5451d5(0x255)]();},'update':function(_0x4cdd1e){const _0x565052=_0x38b069;return this['_append'](_0x4cdd1e),this[_0x565052(0x370)](),this;},'finalize':function(_0x384c9f){const _0x17871c=_0x38b069;_0x384c9f&&this[_0x17871c(0x245)](_0x384c9f);var _0x803741=this[_0x17871c(0x1be)]();return _0x803741;},'blockSize':0x10,'_createHelper':function(_0x1ae76f){return function(_0x24a07c,_0xf8f72f){const _0x810041=_0x1eb2;return new _0x1ae76f[(_0x810041(0x433))](_0xf8f72f)[_0x810041(0x244)](_0x24a07c);};},'_createHmacHelper':function(_0x27dd85){return function(_0x59d06c,_0x33c449){const _0x3e5147=_0x1eb2;return new _0x3c0834[(_0x3e5147(0x360))][(_0x3e5147(0x433))](_0x27dd85,_0x33c449)[_0x3e5147(0x244)](_0x59d06c);};}});var _0x3c0834=_0x547818[_0x38b069(0x528)]={};return _0x547818;}(Math);return _0x4797ee;}));}(ft)),ft['exports'];}var vt={'exports':{}},ic=vt['exports'],li;function rr(){return li||(li=0x1,function(_0x5ee28b,_0x5e4ecf){(function(_0x36f4b2,_0x5663c8){const _0x34bdfc=_0x1eb2;_0x5ee28b[_0x34bdfc(0x4b3)]=_0x5663c8(_e());}(ic,function(_0x2aa9d9){const _0x369f07=_0x1eb2;return(function(){const _0x48f617=_0x1eb2;var _0x82640=_0x2aa9d9,_0x5c9f7d=_0x82640[_0x48f617(0x1e5)],_0x187016=_0x5c9f7d[_0x48f617(0x24d)],_0x57a5c4=_0x82640[_0x48f617(0x302)];_0x57a5c4[_0x48f617(0x4a8)]={'stringify':function(_0x11894f){const _0x248c7e=_0x48f617;var _0x2fce33=_0x11894f[_0x248c7e(0x1c5)],_0x39d32b=_0x11894f[_0x248c7e(0x11f)],_0xbc76a2=this[_0x248c7e(0x37a)];_0x11894f['clamp']();for(var _0x333db2=[],_0x2cfca3=0x0;_0x2cfca3<_0x39d32b;_0x2cfca3+=0x3)for(var _0x5de5ad=_0x2fce33[_0x2cfca3>>>0x2]>>>0x18-_0x2cfca3%0x4*0x8&0xff,_0x446586=_0x2fce33[_0x2cfca3+0x1>>>0x2]>>>0x18-(_0x2cfca3+0x1)%0x4*0x8&0xff,_0x11636f=_0x2fce33[_0x2cfca3+0x2>>>0x2]>>>0x18-(_0x2cfca3+0x2)%0x4*0x8&0xff,_0x3a7210=_0x5de5ad<<0x10|_0x446586<<0x8|_0x11636f,_0x253836=0x0;_0x253836<0x4&&_0x2cfca3+_0x253836*0.75<_0x39d32b;_0x253836++)_0x333db2[_0x248c7e(0x38e)](_0xbc76a2[_0x248c7e(0x434)](_0x3a7210>>>0x6*(0x3-_0x253836)&0x3f));var _0x49aecb=_0xbc76a2[_0x248c7e(0x434)](0x40);if(_0x49aecb){for(;_0x333db2[_0x248c7e(0x2c8)]%0x4;)_0x333db2['push'](_0x49aecb);}return _0x333db2[_0x248c7e(0x304)]('');},'parse':function(_0x2024a6){const _0x4e967a=_0x48f617;var _0x291c86=_0x2024a6[_0x4e967a(0x2c8)],_0x398b31=this[_0x4e967a(0x37a)],_0x13aa54=this[_0x4e967a(0x152)];if(!_0x13aa54){_0x13aa54=this[_0x4e967a(0x152)]=[];for(var _0x459488=0x0;_0x459488<_0x398b31[_0x4e967a(0x2c8)];_0x459488++)_0x13aa54[_0x398b31['charCodeAt'](_0x459488)]=_0x459488;}var _0x18c233=_0x398b31[_0x4e967a(0x434)](0x40);if(_0x18c233){var _0x9b1080=_0x2024a6[_0x4e967a(0x1ec)](_0x18c233);_0x9b1080!==-0x1&&(_0x291c86=_0x9b1080);}return _0xbabeec(_0x2024a6,_0x291c86,_0x13aa54);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0xbabeec(_0xab3527,_0x469181,_0x3fdedb){const _0x46b95c=_0x48f617;for(var _0x479e93=[],_0x1a0090=0x0,_0x2fc597=0x0;_0x2fc597<_0x469181;_0x2fc597++)if(_0x2fc597%0x4){var _0x5dc48e=_0x3fdedb[_0xab3527[_0x46b95c(0x326)](_0x2fc597-0x1)]<<_0x2fc597%0x4*0x2,_0x4ad986=_0x3fdedb[_0xab3527[_0x46b95c(0x326)](_0x2fc597)]>>>0x6-_0x2fc597%0x4*0x2,_0x4a0499=_0x5dc48e|_0x4ad986;_0x479e93[_0x1a0090>>>0x2]|=_0x4a0499<<0x18-_0x1a0090%0x4*0x8,_0x1a0090++;}return _0x187016['create'](_0x479e93,_0x1a0090);}}()),_0x2aa9d9['enc'][_0x369f07(0x4a8)];}));}(vt)),vt['exports'];}var pt={'exports':{}},rc=pt[_0x5e3172(0x4b3)],_i;function nc(){return _i||(_i=0x1,function(_0x4bc69c,_0x278069){(function(_0x2eab92,_0x4530f8){const _0x570fba=_0x1eb2;_0x4bc69c[_0x570fba(0x4b3)]=_0x4530f8(_e());}(rc,function(_0x48e8d0){const _0x2b60f=_0x1eb2;return function(_0x4b6181){const _0x3361a6=_0x1eb2;var _0x5dcc0a=_0x48e8d0,_0x2925d7=_0x5dcc0a[_0x3361a6(0x1e5)],_0x57036a=_0x2925d7[_0x3361a6(0x24d)],_0x2e918b=_0x2925d7[_0x3361a6(0x176)],_0x1fb206=_0x5dcc0a[_0x3361a6(0x528)],_0x242130=[];(function(){const _0x2c11f8=_0x3361a6;for(var _0x121768=0x0;_0x121768<0x40;_0x121768++)_0x242130[_0x121768]=_0x4b6181[_0x2c11f8(0x3c9)](_0x4b6181[_0x2c11f8(0x338)](_0x121768+0x1))*0x100000000|0x0;}());var _0x1884de=_0x1fb206[_0x3361a6(0x47a)]=_0x2e918b['extend']({'_doReset':function(){const _0x47855f=_0x3361a6;this[_0x47855f(0x51e)]=new _0x57036a[(_0x47855f(0x433))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x36995a,_0x1d0d3c){const _0x275c29=_0x3361a6;for(var _0x5aaebe=0x0;_0x5aaebe<0x10;_0x5aaebe++){var _0x3caf20=_0x1d0d3c+_0x5aaebe,_0x32f2d9=_0x36995a[_0x3caf20];_0x36995a[_0x3caf20]=(_0x32f2d9<<0x8|_0x32f2d9>>>0x18)&0xff00ff|(_0x32f2d9<<0x18|_0x32f2d9>>>0x8)&0xff00ff00;}var _0x117d59=this[_0x275c29(0x51e)][_0x275c29(0x1c5)],_0x26de2e=_0x36995a[_0x1d0d3c+0x0],_0x5b0daf=_0x36995a[_0x1d0d3c+0x1],_0x7ea7ef=_0x36995a[_0x1d0d3c+0x2],_0x489526=_0x36995a[_0x1d0d3c+0x3],_0x22e9f1=_0x36995a[_0x1d0d3c+0x4],_0x537189=_0x36995a[_0x1d0d3c+0x5],_0x26d643=_0x36995a[_0x1d0d3c+0x6],_0x5b9c6f=_0x36995a[_0x1d0d3c+0x7],_0xe2df69=_0x36995a[_0x1d0d3c+0x8],_0x35cb3a=_0x36995a[_0x1d0d3c+0x9],_0x33fbdb=_0x36995a[_0x1d0d3c+0xa],_0x22c9d8=_0x36995a[_0x1d0d3c+0xb],_0x5321d0=_0x36995a[_0x1d0d3c+0xc],_0x8e2cdc=_0x36995a[_0x1d0d3c+0xd],_0x2186ee=_0x36995a[_0x1d0d3c+0xe],_0x2a30e0=_0x36995a[_0x1d0d3c+0xf],_0x46f23d=_0x117d59[0x0],_0x3f3a32=_0x117d59[0x1],_0x14e483=_0x117d59[0x2],_0x332c70=_0x117d59[0x3];_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x26de2e,0x7,_0x242130[0x0]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x5b0daf,0xc,_0x242130[0x1]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x7ea7ef,0x11,_0x242130[0x2]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x489526,0x16,_0x242130[0x3]),_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x22e9f1,0x7,_0x242130[0x4]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x537189,0xc,_0x242130[0x5]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x26d643,0x11,_0x242130[0x6]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x5b9c6f,0x16,_0x242130[0x7]),_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0xe2df69,0x7,_0x242130[0x8]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x35cb3a,0xc,_0x242130[0x9]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x33fbdb,0x11,_0x242130[0xa]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x22c9d8,0x16,_0x242130[0xb]),_0x46f23d=_0x803f12(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5321d0,0x7,_0x242130[0xc]),_0x332c70=_0x803f12(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x8e2cdc,0xc,_0x242130[0xd]),_0x14e483=_0x803f12(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2186ee,0x11,_0x242130[0xe]),_0x3f3a32=_0x803f12(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x2a30e0,0x16,_0x242130[0xf]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5b0daf,0x5,_0x242130[0x10]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x26d643,0x9,_0x242130[0x11]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x22c9d8,0xe,_0x242130[0x12]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x26de2e,0x14,_0x242130[0x13]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x537189,0x5,_0x242130[0x14]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x33fbdb,0x9,_0x242130[0x15]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2a30e0,0xe,_0x242130[0x16]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x22e9f1,0x14,_0x242130[0x17]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x35cb3a,0x5,_0x242130[0x18]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x2186ee,0x9,_0x242130[0x19]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x489526,0xe,_0x242130[0x1a]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0xe2df69,0x14,_0x242130[0x1b]),_0x46f23d=_0x22bfae(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x8e2cdc,0x5,_0x242130[0x1c]),_0x332c70=_0x22bfae(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x7ea7ef,0x9,_0x242130[0x1d]),_0x14e483=_0x22bfae(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x5b9c6f,0xe,_0x242130[0x1e]),_0x3f3a32=_0x22bfae(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x5321d0,0x14,_0x242130[0x1f]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x537189,0x4,_0x242130[0x20]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0xe2df69,0xb,_0x242130[0x21]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x22c9d8,0x10,_0x242130[0x22]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x2186ee,0x17,_0x242130[0x23]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5b0daf,0x4,_0x242130[0x24]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x22e9f1,0xb,_0x242130[0x25]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x5b9c6f,0x10,_0x242130[0x26]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x33fbdb,0x17,_0x242130[0x27]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x8e2cdc,0x4,_0x242130[0x28]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x26de2e,0xb,_0x242130[0x29]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x489526,0x10,_0x242130[0x2a]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x26d643,0x17,_0x242130[0x2b]),_0x46f23d=_0x4c655e(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x35cb3a,0x4,_0x242130[0x2c]),_0x332c70=_0x4c655e(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x5321d0,0xb,_0x242130[0x2d]),_0x14e483=_0x4c655e(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2a30e0,0x10,_0x242130[0x2e]),_0x3f3a32=_0x4c655e(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x7ea7ef,0x17,_0x242130[0x2f]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x26de2e,0x6,_0x242130[0x30]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x5b9c6f,0xa,_0x242130[0x31]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x2186ee,0xf,_0x242130[0x32]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x537189,0x15,_0x242130[0x33]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x5321d0,0x6,_0x242130[0x34]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x489526,0xa,_0x242130[0x35]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x33fbdb,0xf,_0x242130[0x36]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x5b0daf,0x15,_0x242130[0x37]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0xe2df69,0x6,_0x242130[0x38]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x2a30e0,0xa,_0x242130[0x39]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x26d643,0xf,_0x242130[0x3a]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x8e2cdc,0x15,_0x242130[0x3b]),_0x46f23d=_0x57368b(_0x46f23d,_0x3f3a32,_0x14e483,_0x332c70,_0x22e9f1,0x6,_0x242130[0x3c]),_0x332c70=_0x57368b(_0x332c70,_0x46f23d,_0x3f3a32,_0x14e483,_0x22c9d8,0xa,_0x242130[0x3d]),_0x14e483=_0x57368b(_0x14e483,_0x332c70,_0x46f23d,_0x3f3a32,_0x7ea7ef,0xf,_0x242130[0x3e]),_0x3f3a32=_0x57368b(_0x3f3a32,_0x14e483,_0x332c70,_0x46f23d,_0x35cb3a,0x15,_0x242130[0x3f]),_0x117d59[0x0]=_0x117d59[0x0]+_0x46f23d|0x0,_0x117d59[0x1]=_0x117d59[0x1]+_0x3f3a32|0x0,_0x117d59[0x2]=_0x117d59[0x2]+_0x14e483|0x0,_0x117d59[0x3]=_0x117d59[0x3]+_0x332c70|0x0;},'_doFinalize':function(){const _0x5af428=_0x3361a6;var _0x144f07=this['_data'],_0x96641a=_0x144f07[_0x5af428(0x1c5)],_0x330086=this[_0x5af428(0x41b)]*0x8,_0x3f5cce=_0x144f07[_0x5af428(0x11f)]*0x8;_0x96641a[_0x3f5cce>>>0x5]|=0x80<<0x18-_0x3f5cce%0x20;var _0x661742=_0x4b6181[_0x5af428(0x21e)](_0x330086/0x100000000),_0x46a28=_0x330086;_0x96641a[(_0x3f5cce+0x40>>>0x9<<0x4)+0xf]=(_0x661742<<0x8|_0x661742>>>0x18)&0xff00ff|(_0x661742<<0x18|_0x661742>>>0x8)&0xff00ff00,_0x96641a[(_0x3f5cce+0x40>>>0x9<<0x4)+0xe]=(_0x46a28<<0x8|_0x46a28>>>0x18)&0xff00ff|(_0x46a28<<0x18|_0x46a28>>>0x8)&0xff00ff00,_0x144f07[_0x5af428(0x11f)]=(_0x96641a[_0x5af428(0x2c8)]+0x1)*0x4,this['_process']();for(var _0x561dae=this[_0x5af428(0x51e)],_0x2578c4=_0x561dae[_0x5af428(0x1c5)],_0x9a94e9=0x0;_0x9a94e9<0x4;_0x9a94e9++){var _0x40a375=_0x2578c4[_0x9a94e9];_0x2578c4[_0x9a94e9]=(_0x40a375<<0x8|_0x40a375>>>0x18)&0xff00ff|(_0x40a375<<0x18|_0x40a375>>>0x8)&0xff00ff00;}return _0x561dae;},'clone':function(){const _0x1e58d4=_0x3361a6;var _0x5f14b0=_0x2e918b[_0x1e58d4(0x506)][_0x1e58d4(0x500)](this);return _0x5f14b0[_0x1e58d4(0x51e)]=this[_0x1e58d4(0x51e)][_0x1e58d4(0x506)](),_0x5f14b0;}});function _0x803f12(_0x561335,_0x40720f,_0x314e06,_0x23cf39,_0x48cf3c,_0x44abf7,_0x5c2f6a){var _0x51d30c=_0x561335+(_0x40720f&_0x314e06|~_0x40720f&_0x23cf39)+_0x48cf3c+_0x5c2f6a;return(_0x51d30c<<_0x44abf7|_0x51d30c>>>0x20-_0x44abf7)+_0x40720f;}function _0x22bfae(_0x3d486e,_0x3af70d,_0x398e48,_0xfa55ad,_0x1944e6,_0x3d7889,_0x3fde04){var _0xc7dbf7=_0x3d486e+(_0x3af70d&_0xfa55ad|_0x398e48&~_0xfa55ad)+_0x1944e6+_0x3fde04;return(_0xc7dbf7<<_0x3d7889|_0xc7dbf7>>>0x20-_0x3d7889)+_0x3af70d;}function _0x4c655e(_0x5b299a,_0x3c3c94,_0x55511e,_0x2bd859,_0x3d1bd5,_0x206715,_0x5158a0){var _0x371f4a=_0x5b299a+(_0x3c3c94^_0x55511e^_0x2bd859)+_0x3d1bd5+_0x5158a0;return(_0x371f4a<<_0x206715|_0x371f4a>>>0x20-_0x206715)+_0x3c3c94;}function _0x57368b(_0x230cb5,_0x1c8064,_0x179ecb,_0x2f3ff3,_0x58afd9,_0x17f237,_0xeb02f8){var _0x8628bd=_0x230cb5+(_0x179ecb^(_0x1c8064|~_0x2f3ff3))+_0x58afd9+_0xeb02f8;return(_0x8628bd<<_0x17f237|_0x8628bd>>>0x20-_0x17f237)+_0x1c8064;}_0x5dcc0a[_0x3361a6(0x47a)]=_0x2e918b[_0x3361a6(0x2b5)](_0x1884de),_0x5dcc0a[_0x3361a6(0x454)]=_0x2e918b[_0x3361a6(0x1fc)](_0x1884de);}(Math),_0x48e8d0[_0x2b60f(0x47a)];}));}(pt)),pt['exports'];}var mt={'exports':{}},gt={'exports':{}},oc=gt[_0x5e3172(0x4b3)],ui;function ac(){const _0x2c6c37=_0x5e3172;return ui||(ui=0x1,function(_0x5acff6,_0x240a8b){(function(_0x392112,_0x14a5e6){_0x5acff6['exports']=_0x14a5e6(_e());}(oc,function(_0x18eaf7){const _0x1326cf=_0x1eb2;return(function(){const _0x594af3=_0x1eb2;var _0x45c2bb=_0x18eaf7,_0x4946e3=_0x45c2bb[_0x594af3(0x1e5)],_0x16ec50=_0x4946e3['WordArray'],_0x23f2ca=_0x4946e3[_0x594af3(0x176)],_0x49f0a5=_0x45c2bb[_0x594af3(0x528)],_0x209c6d=[],_0x5ccb92=_0x49f0a5[_0x594af3(0x220)]=_0x23f2ca['extend']({'_doReset':function(){const _0x5889b0=_0x594af3;this['_hash']=new _0x16ec50[(_0x5889b0(0x433))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2d7a9f,_0x448cdc){const _0x512a71=_0x594af3;for(var _0x58bd7d=this['_hash'][_0x512a71(0x1c5)],_0x16620a=_0x58bd7d[0x0],_0xec0ae4=_0x58bd7d[0x1],_0xf5202d=_0x58bd7d[0x2],_0x3246a8=_0x58bd7d[0x3],_0x2e3c0b=_0x58bd7d[0x4],_0x51bfba=0x0;_0x51bfba<0x50;_0x51bfba++){if(_0x51bfba<0x10)_0x209c6d[_0x51bfba]=_0x2d7a9f[_0x448cdc+_0x51bfba]|0x0;else{var _0x5a87ec=_0x209c6d[_0x51bfba-0x3]^_0x209c6d[_0x51bfba-0x8]^_0x209c6d[_0x51bfba-0xe]^_0x209c6d[_0x51bfba-0x10];_0x209c6d[_0x51bfba]=_0x5a87ec<<0x1|_0x5a87ec>>>0x1f;}var _0x3d4564=(_0x16620a<<0x5|_0x16620a>>>0x1b)+_0x2e3c0b+_0x209c6d[_0x51bfba];_0x51bfba<0x14?_0x3d4564+=(_0xec0ae4&_0xf5202d|~_0xec0ae4&_0x3246a8)+0x5a827999:_0x51bfba<0x28?_0x3d4564+=(_0xec0ae4^_0xf5202d^_0x3246a8)+0x6ed9eba1:_0x51bfba<0x3c?_0x3d4564+=(_0xec0ae4&_0xf5202d|_0xec0ae4&_0x3246a8|_0xf5202d&_0x3246a8)-0x70e44324:_0x3d4564+=(_0xec0ae4^_0xf5202d^_0x3246a8)-0x359d3e2a,_0x2e3c0b=_0x3246a8,_0x3246a8=_0xf5202d,_0xf5202d=_0xec0ae4<<0x1e|_0xec0ae4>>>0x2,_0xec0ae4=_0x16620a,_0x16620a=_0x3d4564;}_0x58bd7d[0x0]=_0x58bd7d[0x0]+_0x16620a|0x0,_0x58bd7d[0x1]=_0x58bd7d[0x1]+_0xec0ae4|0x0,_0x58bd7d[0x2]=_0x58bd7d[0x2]+_0xf5202d|0x0,_0x58bd7d[0x3]=_0x58bd7d[0x3]+_0x3246a8|0x0,_0x58bd7d[0x4]=_0x58bd7d[0x4]+_0x2e3c0b|0x0;},'_doFinalize':function(){const _0x5ed0ba=_0x594af3;var _0x2da31d=this[_0x5ed0ba(0x34e)],_0x29c930=_0x2da31d[_0x5ed0ba(0x1c5)],_0x329a77=this[_0x5ed0ba(0x41b)]*0x8,_0x39f5f7=_0x2da31d['sigBytes']*0x8;return _0x29c930[_0x39f5f7>>>0x5]|=0x80<<0x18-_0x39f5f7%0x20,_0x29c930[(_0x39f5f7+0x40>>>0x9<<0x4)+0xe]=Math[_0x5ed0ba(0x21e)](_0x329a77/0x100000000),_0x29c930[(_0x39f5f7+0x40>>>0x9<<0x4)+0xf]=_0x329a77,_0x2da31d[_0x5ed0ba(0x11f)]=_0x29c930[_0x5ed0ba(0x2c8)]*0x4,this['_process'](),this[_0x5ed0ba(0x51e)];},'clone':function(){const _0x175c5f=_0x594af3;var _0x2c7e53=_0x23f2ca['clone']['call'](this);return _0x2c7e53[_0x175c5f(0x51e)]=this[_0x175c5f(0x51e)][_0x175c5f(0x506)](),_0x2c7e53;}});_0x45c2bb[_0x594af3(0x220)]=_0x23f2ca['_createHelper'](_0x5ccb92),_0x45c2bb['HmacSHA1']=_0x23f2ca['_createHmacHelper'](_0x5ccb92);}()),_0x18eaf7[_0x1326cf(0x220)];}));}(gt)),gt[_0x2c6c37(0x4b3)];}var St={'exports':{}},cc=St[_0x5e3172(0x4b3)],di;function hc(){const _0x3dcf3e=_0x5e3172;return di||(di=0x1,function(_0x110b5f,_0x5cc869){(function(_0x1c1bb6,_0x21cc11){const _0x3d7ac9=_0x1eb2;_0x110b5f[_0x3d7ac9(0x4b3)]=_0x21cc11(_e());}(cc,function(_0x2707c9){(function(){const _0x2245a1=_0x1eb2;var _0x4ce1da=_0x2707c9,_0x43c708=_0x4ce1da[_0x2245a1(0x1e5)],_0xaf8b90=_0x43c708[_0x2245a1(0x368)],_0xca2bea=_0x4ce1da[_0x2245a1(0x302)],_0x19a832=_0xca2bea['Utf8'],_0x698644=_0x4ce1da['algo'];_0x698644[_0x2245a1(0x360)]=_0xaf8b90[_0x2245a1(0x2c1)]({'init':function(_0x4c8d28,_0x41cd7f){const _0x5f2ddb=_0x2245a1;_0x4c8d28=this['_hasher']=new _0x4c8d28['init'](),typeof _0x41cd7f==_0x5f2ddb(0x429)&&(_0x41cd7f=_0x19a832[_0x5f2ddb(0x32f)](_0x41cd7f));var _0x45041a=_0x4c8d28[_0x5f2ddb(0x2b0)],_0x197501=_0x45041a*0x4;_0x41cd7f[_0x5f2ddb(0x11f)]>_0x197501&&(_0x41cd7f=_0x4c8d28[_0x5f2ddb(0x244)](_0x41cd7f)),_0x41cd7f[_0x5f2ddb(0x4bb)]();for(var _0x43ebb0=this[_0x5f2ddb(0x2d7)]=_0x41cd7f['clone'](),_0x14e62a=this['_iKey']=_0x41cd7f['clone'](),_0x5bb0c7=_0x43ebb0[_0x5f2ddb(0x1c5)],_0x1ab290=_0x14e62a['words'],_0xdca9ee=0x0;_0xdca9ee<_0x45041a;_0xdca9ee++)_0x5bb0c7[_0xdca9ee]^=0x5c5c5c5c,_0x1ab290[_0xdca9ee]^=0x36363636;_0x43ebb0[_0x5f2ddb(0x11f)]=_0x14e62a['sigBytes']=_0x197501,this[_0x5f2ddb(0x3df)]();},'reset':function(){const _0x410662=_0x2245a1;var _0x299498=this[_0x410662(0x329)];_0x299498[_0x410662(0x3df)](),_0x299498[_0x410662(0x4d6)](this[_0x410662(0x221)]);},'update':function(_0x3ee8e9){const _0x5ec8fd=_0x2245a1;return this['_hasher'][_0x5ec8fd(0x4d6)](_0x3ee8e9),this;},'finalize':function(_0x299a8c){const _0x38ab7d=_0x2245a1;var _0x535525=this[_0x38ab7d(0x329)],_0x27b256=_0x535525[_0x38ab7d(0x244)](_0x299a8c);_0x535525[_0x38ab7d(0x3df)]();var _0x331110=_0x535525['finalize'](this[_0x38ab7d(0x2d7)][_0x38ab7d(0x506)]()[_0x38ab7d(0x4b9)](_0x27b256));return _0x331110;}});}());}));}(St)),St[_0x3dcf3e(0x4b3)];}var lc=mt['exports'],fi;function nr(){return fi||(fi=0x1,function(_0x4ec378,_0x147063){(function(_0x4d87f8,_0x5cc808,_0xa34a5d){const _0x144453=_0x1eb2;_0x4ec378[_0x144453(0x4b3)]=_0x5cc808(_e(),ac(),hc());}(lc,function(_0x42c396){const _0x511ce6=_0x1eb2;return(function(){const _0x50b50b=_0x1eb2;var _0x69942b=_0x42c396,_0x14b2c5=_0x69942b['lib'],_0x6ee7f4=_0x14b2c5[_0x50b50b(0x368)],_0x5a3d01=_0x14b2c5[_0x50b50b(0x24d)],_0x1d105b=_0x69942b[_0x50b50b(0x528)],_0x1d2329=_0x1d105b['MD5'],_0x43c33b=_0x1d105b[_0x50b50b(0x33d)]=_0x6ee7f4['extend']({'cfg':_0x6ee7f4[_0x50b50b(0x2c1)]({'keySize':0x80/0x20,'hasher':_0x1d2329,'iterations':0x1}),'init':function(_0xc49337){const _0x27370c=_0x50b50b;this['cfg']=this[_0x27370c(0x471)]['extend'](_0xc49337);},'compute':function(_0x1036f4,_0x308be8){const _0x3fa78f=_0x50b50b;for(var _0x5246f3,_0x22b1a8=this[_0x3fa78f(0x471)],_0x3f3848=_0x22b1a8[_0x3fa78f(0x1a6)]['create'](),_0x40784d=_0x5a3d01['create'](),_0x37dbc7=_0x40784d[_0x3fa78f(0x1c5)],_0x38cfdf=_0x22b1a8['keySize'],_0x545902=_0x22b1a8[_0x3fa78f(0x51a)];_0x37dbc7[_0x3fa78f(0x2c8)]<_0x38cfdf;){_0x5246f3&&_0x3f3848['update'](_0x5246f3),_0x5246f3=_0x3f3848['update'](_0x1036f4)[_0x3fa78f(0x244)](_0x308be8),_0x3f3848[_0x3fa78f(0x3df)]();for(var _0x4b12d2=0x1;_0x4b12d2<_0x545902;_0x4b12d2++)_0x5246f3=_0x3f3848[_0x3fa78f(0x244)](_0x5246f3),_0x3f3848['reset']();_0x40784d[_0x3fa78f(0x4b9)](_0x5246f3);}return _0x40784d['sigBytes']=_0x38cfdf*0x4,_0x40784d;}});_0x69942b[_0x50b50b(0x33d)]=function(_0x412b8b,_0x5e4d67,_0x5061a0){const _0x17993b=_0x50b50b;return _0x43c33b[_0x17993b(0x2df)](_0x5061a0)[_0x17993b(0x48c)](_0x412b8b,_0x5e4d67);};}()),_0x42c396[_0x511ce6(0x33d)];}));}(mt)),mt['exports'];}var It={'exports':{}},_c=It[_0x5e3172(0x4b3)],vi;function or(){return vi||(vi=0x1,function(_0x1f053b,_0x5e4477){(function(_0x34f154,_0x17fd4e,_0x456633){const _0x51eaa2=_0x1eb2;_0x1f053b[_0x51eaa2(0x4b3)]=_0x17fd4e(_e(),nr());}(_c,function(_0xbdb76d){const _0x34d4ec=_0x1eb2;_0xbdb76d[_0x34d4ec(0x1e5)]['Cipher']||function(_0x4bb1fa){const _0x3dc2af=_0x34d4ec;var _0xf768da=_0xbdb76d,_0x4d3f8e=_0xf768da['lib'],_0x35ec30=_0x4d3f8e[_0x3dc2af(0x368)],_0x13219c=_0x4d3f8e['WordArray'],_0x5a9b93=_0x4d3f8e['BufferedBlockAlgorithm'],_0xf737b=_0xf768da[_0x3dc2af(0x302)];_0xf737b[_0x3dc2af(0x188)];var _0x4ffc0f=_0xf737b['Base64'],_0xbc269=_0xf768da[_0x3dc2af(0x528)],_0x140c22=_0xbc269['EvpKDF'],_0x1a4433=_0x4d3f8e[_0x3dc2af(0x2c3)]=_0x5a9b93[_0x3dc2af(0x2c1)]({'cfg':_0x35ec30[_0x3dc2af(0x2c1)](),'createEncryptor':function(_0xd7a186,_0x1e6b2f){const _0xbd8dee=_0x3dc2af;return this[_0xbd8dee(0x2df)](this[_0xbd8dee(0x1f5)],_0xd7a186,_0x1e6b2f);},'createDecryptor':function(_0x21ac3d,_0x452a29){const _0x2a96c7=_0x3dc2af;return this['create'](this[_0x2a96c7(0x3be)],_0x21ac3d,_0x452a29);},'init':function(_0x3ee1e5,_0x4b0e2c,_0x2ad9ae){const _0x3772ea=_0x3dc2af;this['cfg']=this[_0x3772ea(0x471)][_0x3772ea(0x2c1)](_0x2ad9ae),this[_0x3772ea(0x2c4)]=_0x3ee1e5,this[_0x3772ea(0x114)]=_0x4b0e2c,this[_0x3772ea(0x3df)]();},'reset':function(){const _0x3e821e=_0x3dc2af;_0x5a9b93[_0x3e821e(0x3df)][_0x3e821e(0x500)](this),this[_0x3e821e(0x255)]();},'process':function(_0x33ed1f){const _0x5a8a31=_0x3dc2af;return this[_0x5a8a31(0x245)](_0x33ed1f),this['_process']();},'finalize':function(_0x5468b1){_0x5468b1&&this['_append'](_0x5468b1);var _0x4b11db=this['_doFinalize']();return _0x4b11db;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x282e10(_0x2425c5){const _0x3da68d=_0x1eb2;return typeof _0x2425c5==_0x3da68d(0x429)?_0x575d09:_0x43e921;}return function(_0x5d7a0c){return{'encrypt':function(_0x154dfa,_0x3f7968,_0x193aac){const _0x528c7d=_0x1eb2;return _0x282e10(_0x3f7968)[_0x528c7d(0x447)](_0x5d7a0c,_0x154dfa,_0x3f7968,_0x193aac);},'decrypt':function(_0x4b556a,_0x3d5e0c,_0xe4fe8e){return _0x282e10(_0x3d5e0c)['decrypt'](_0x5d7a0c,_0x4b556a,_0x3d5e0c,_0xe4fe8e);}};};}())});_0x4d3f8e['StreamCipher']=_0x1a4433[_0x3dc2af(0x2c1)]({'_doFinalize':function(){const _0x2e3eeb=_0x3dc2af;var _0x1bf95c=this[_0x2e3eeb(0x370)](!0x0);return _0x1bf95c;},'blockSize':0x1});var _0x7173e7=_0xf768da[_0x3dc2af(0x2bb)]={},_0x1a3241=_0x4d3f8e[_0x3dc2af(0x336)]=_0x35ec30[_0x3dc2af(0x2c1)]({'createEncryptor':function(_0x73771f,_0x49c4ab){const _0x41b0b1=_0x3dc2af;return this[_0x41b0b1(0x2ea)][_0x41b0b1(0x2df)](_0x73771f,_0x49c4ab);},'createDecryptor':function(_0x365e77,_0x6989a2){const _0x3b86e4=_0x3dc2af;return this[_0x3b86e4(0x1e1)][_0x3b86e4(0x2df)](_0x365e77,_0x6989a2);},'init':function(_0x3474b3,_0xa154e3){const _0x1f1702=_0x3dc2af;this[_0x1f1702(0x493)]=_0x3474b3,this[_0x1f1702(0x35a)]=_0xa154e3;}}),_0x19e5cb=_0x7173e7[_0x3dc2af(0x37c)]=(function(){const _0x3b0edc=_0x3dc2af;var _0x40a3c2=_0x1a3241[_0x3b0edc(0x2c1)]();_0x40a3c2[_0x3b0edc(0x2ea)]=_0x40a3c2[_0x3b0edc(0x2c1)]({'processBlock':function(_0x4ae166,_0x5a14bb){const _0x56b39e=_0x3b0edc;var _0x275baa=this[_0x56b39e(0x493)],_0x35ba83=_0x275baa[_0x56b39e(0x2b0)];_0x438640[_0x56b39e(0x500)](this,_0x4ae166,_0x5a14bb,_0x35ba83),_0x275baa[_0x56b39e(0x40d)](_0x4ae166,_0x5a14bb),this[_0x56b39e(0x3ea)]=_0x4ae166['slice'](_0x5a14bb,_0x5a14bb+_0x35ba83);}}),_0x40a3c2[_0x3b0edc(0x1e1)]=_0x40a3c2['extend']({'processBlock':function(_0x7637f1,_0x245e97){const _0x579a7e=_0x3b0edc;var _0x2a80d1=this[_0x579a7e(0x493)],_0x2ce515=_0x2a80d1[_0x579a7e(0x2b0)],_0x52ad94=_0x7637f1[_0x579a7e(0x469)](_0x245e97,_0x245e97+_0x2ce515);_0x2a80d1[_0x579a7e(0x2f2)](_0x7637f1,_0x245e97),_0x438640[_0x579a7e(0x500)](this,_0x7637f1,_0x245e97,_0x2ce515),this[_0x579a7e(0x3ea)]=_0x52ad94;}});function _0x438640(_0x5c47f8,_0x2403ed,_0xbbffc6){const _0x38c7ed=_0x3b0edc;var _0x376f12,_0x38f9e2=this[_0x38c7ed(0x35a)];_0x38f9e2?(_0x376f12=_0x38f9e2,this[_0x38c7ed(0x35a)]=_0x4bb1fa):_0x376f12=this[_0x38c7ed(0x3ea)];for(var _0x1cdd7e=0x0;_0x1cdd7e<_0xbbffc6;_0x1cdd7e++)_0x5c47f8[_0x2403ed+_0x1cdd7e]^=_0x376f12[_0x1cdd7e];}return _0x40a3c2;}()),_0x42547f=_0xf768da[_0x3dc2af(0x3bd)]={},_0x14d1cb=_0x42547f['Pkcs7']={'pad':function(_0x2835b4,_0x5c0625){const _0x341fed=_0x3dc2af;for(var _0x549e9e=_0x5c0625*0x4,_0x4f5d47=_0x549e9e-_0x2835b4['sigBytes']%_0x549e9e,_0x509e71=_0x4f5d47<<0x18|_0x4f5d47<<0x10|_0x4f5d47<<0x8|_0x4f5d47,_0x827eed=[],_0x9f7239=0x0;_0x9f7239<_0x4f5d47;_0x9f7239+=0x4)_0x827eed[_0x341fed(0x38e)](_0x509e71);var _0x2c1dce=_0x13219c[_0x341fed(0x2df)](_0x827eed,_0x4f5d47);_0x2835b4[_0x341fed(0x4b9)](_0x2c1dce);},'unpad':function(_0x4a6fd0){const _0x273647=_0x3dc2af;var _0xb5dcb8=_0x4a6fd0['words'][_0x4a6fd0[_0x273647(0x11f)]-0x1>>>0x2]&0xff;_0x4a6fd0[_0x273647(0x11f)]-=_0xb5dcb8;}};_0x4d3f8e[_0x3dc2af(0x391)]=_0x1a4433['extend']({'cfg':_0x1a4433['cfg'][_0x3dc2af(0x2c1)]({'mode':_0x19e5cb,'padding':_0x14d1cb}),'reset':function(){const _0x48ef11=_0x3dc2af;var _0x14f349;_0x1a4433[_0x48ef11(0x3df)][_0x48ef11(0x500)](this);var _0x585d23=this[_0x48ef11(0x471)],_0x316749=_0x585d23['iv'],_0x437b99=_0x585d23['mode'];this[_0x48ef11(0x2c4)]==this[_0x48ef11(0x1f5)]?_0x14f349=_0x437b99[_0x48ef11(0x3bb)]:(_0x14f349=_0x437b99['createDecryptor'],this[_0x48ef11(0x1a9)]=0x1),this[_0x48ef11(0x259)]&&this[_0x48ef11(0x259)][_0x48ef11(0x14a)]==_0x14f349?this['_mode'][_0x48ef11(0x433)](this,_0x316749&&_0x316749[_0x48ef11(0x1c5)]):(this[_0x48ef11(0x259)]=_0x14f349['call'](_0x437b99,this,_0x316749&&_0x316749[_0x48ef11(0x1c5)]),this[_0x48ef11(0x259)]['__creator']=_0x14f349);},'_doProcessBlock':function(_0x18b8cb,_0x133882){const _0x99a7ac=_0x3dc2af;this[_0x99a7ac(0x259)][_0x99a7ac(0x268)](_0x18b8cb,_0x133882);},'_doFinalize':function(){const _0x9fde58=_0x3dc2af;var _0x2ebede,_0x55e5eb=this[_0x9fde58(0x471)][_0x9fde58(0x21f)];return this['_xformMode']==this[_0x9fde58(0x1f5)]?(_0x55e5eb[_0x9fde58(0x3bd)](this[_0x9fde58(0x34e)],this['blockSize']),_0x2ebede=this['_process'](!0x0)):(_0x2ebede=this[_0x9fde58(0x370)](!0x0),_0x55e5eb[_0x9fde58(0x397)](_0x2ebede)),_0x2ebede;},'blockSize':0x80/0x20});var _0x989f28=_0x4d3f8e[_0x3dc2af(0x2d0)]=_0x35ec30[_0x3dc2af(0x2c1)]({'init':function(_0x458e4c){this['mixIn'](_0x458e4c);},'toString':function(_0x1736e5){const _0x3f3ec5=_0x3dc2af;return(_0x1736e5||this[_0x3f3ec5(0x2b7)])[_0x3f3ec5(0x50f)](this);}}),_0x40b3df=_0xf768da['format']={},_0x1a24cf=_0x40b3df[_0x3dc2af(0x2d1)]={'stringify':function(_0x3c5b71){const _0x33faf7=_0x3dc2af;var _0x562de0,_0x12e59b=_0x3c5b71[_0x33faf7(0x3a5)],_0x3dd8f8=_0x3c5b71['salt'];return _0x3dd8f8?_0x562de0=_0x13219c[_0x33faf7(0x2df)]([0x53616c74,0x65645f5f])[_0x33faf7(0x4b9)](_0x3dd8f8)[_0x33faf7(0x4b9)](_0x12e59b):_0x562de0=_0x12e59b,_0x562de0['toString'](_0x4ffc0f);},'parse':function(_0x5bc4e5){const _0x5d6398=_0x3dc2af;var _0x46e895,_0x5b5339=_0x4ffc0f['parse'](_0x5bc4e5),_0x5de8c2=_0x5b5339[_0x5d6398(0x1c5)];return _0x5de8c2[0x0]==0x53616c74&&_0x5de8c2[0x1]==0x65645f5f&&(_0x46e895=_0x13219c['create'](_0x5de8c2['slice'](0x2,0x4)),_0x5de8c2[_0x5d6398(0x403)](0x0,0x4),_0x5b5339[_0x5d6398(0x11f)]-=0x10),_0x989f28['create']({'ciphertext':_0x5b5339,'salt':_0x46e895});}},_0x43e921=_0x4d3f8e[_0x3dc2af(0x271)]=_0x35ec30[_0x3dc2af(0x2c1)]({'cfg':_0x35ec30[_0x3dc2af(0x2c1)]({'format':_0x1a24cf}),'encrypt':function(_0x2124c4,_0x4e6826,_0x2956c0,_0x26a6d1){const _0x2d80f9=_0x3dc2af;_0x26a6d1=this[_0x2d80f9(0x471)][_0x2d80f9(0x2c1)](_0x26a6d1);var _0xe608a2=_0x2124c4[_0x2d80f9(0x3bb)](_0x2956c0,_0x26a6d1),_0x461d84=_0xe608a2[_0x2d80f9(0x244)](_0x4e6826),_0x69e205=_0xe608a2[_0x2d80f9(0x471)];return _0x989f28[_0x2d80f9(0x2df)]({'ciphertext':_0x461d84,'key':_0x2956c0,'iv':_0x69e205['iv'],'algorithm':_0x2124c4,'mode':_0x69e205[_0x2d80f9(0x2bb)],'padding':_0x69e205[_0x2d80f9(0x21f)],'blockSize':_0x2124c4[_0x2d80f9(0x2b0)],'formatter':_0x26a6d1[_0x2d80f9(0x462)]});},'decrypt':function(_0x5ecef1,_0x19b3bf,_0x2094bc,_0xe837c6){const _0x490d6f=_0x3dc2af;_0xe837c6=this[_0x490d6f(0x471)][_0x490d6f(0x2c1)](_0xe837c6),_0x19b3bf=this[_0x490d6f(0x285)](_0x19b3bf,_0xe837c6[_0x490d6f(0x462)]);var _0x1947b5=_0x5ecef1[_0x490d6f(0x32c)](_0x2094bc,_0xe837c6)[_0x490d6f(0x244)](_0x19b3bf[_0x490d6f(0x3a5)]);return _0x1947b5;},'_parse':function(_0x204229,_0x4fc00d){const _0x3e09b5=_0x3dc2af;return typeof _0x204229==_0x3e09b5(0x429)?_0x4fc00d['parse'](_0x204229,this):_0x204229;}}),_0x1e3083=_0xf768da['kdf']={},_0x356732=_0x1e3083[_0x3dc2af(0x2d1)]={'execute':function(_0x123ed5,_0x2d8c6b,_0x53c612,_0x4d315d,_0x5e6922){const _0x1502f5=_0x3dc2af;if(_0x4d315d||(_0x4d315d=_0x13219c['random'](0x40/0x8)),_0x5e6922)var _0x4f1d4e=_0x140c22[_0x1502f5(0x2df)]({'keySize':_0x2d8c6b+_0x53c612,'hasher':_0x5e6922})['compute'](_0x123ed5,_0x4d315d);else var _0x4f1d4e=_0x140c22[_0x1502f5(0x2df)]({'keySize':_0x2d8c6b+_0x53c612})[_0x1502f5(0x48c)](_0x123ed5,_0x4d315d);var _0x1ccfce=_0x13219c[_0x1502f5(0x2df)](_0x4f1d4e[_0x1502f5(0x1c5)]['slice'](_0x2d8c6b),_0x53c612*0x4);return _0x4f1d4e[_0x1502f5(0x11f)]=_0x2d8c6b*0x4,_0x989f28['create']({'key':_0x4f1d4e,'iv':_0x1ccfce,'salt':_0x4d315d});}},_0x575d09=_0x4d3f8e['PasswordBasedCipher']=_0x43e921[_0x3dc2af(0x2c1)]({'cfg':_0x43e921[_0x3dc2af(0x471)]['extend']({'kdf':_0x356732}),'encrypt':function(_0x241498,_0x121aa4,_0x2987cd,_0x10f41e){const _0x2c63ba=_0x3dc2af;_0x10f41e=this[_0x2c63ba(0x471)][_0x2c63ba(0x2c1)](_0x10f41e);var _0x4257cd=_0x10f41e[_0x2c63ba(0x499)][_0x2c63ba(0x223)](_0x2987cd,_0x241498[_0x2c63ba(0x3b1)],_0x241498[_0x2c63ba(0x526)],_0x10f41e['salt'],_0x10f41e[_0x2c63ba(0x1a6)]);_0x10f41e['iv']=_0x4257cd['iv'];var _0x358340=_0x43e921[_0x2c63ba(0x447)][_0x2c63ba(0x500)](this,_0x241498,_0x121aa4,_0x4257cd[_0x2c63ba(0x36a)],_0x10f41e);return _0x358340[_0x2c63ba(0x24e)](_0x4257cd),_0x358340;},'decrypt':function(_0x36532f,_0x4502d7,_0x549b88,_0x45bafc){const _0x3a4393=_0x3dc2af;_0x45bafc=this['cfg'][_0x3a4393(0x2c1)](_0x45bafc),_0x4502d7=this['_parse'](_0x4502d7,_0x45bafc[_0x3a4393(0x462)]);var _0x2564b5=_0x45bafc[_0x3a4393(0x499)][_0x3a4393(0x223)](_0x549b88,_0x36532f[_0x3a4393(0x3b1)],_0x36532f['ivSize'],_0x4502d7[_0x3a4393(0x113)],_0x45bafc['hasher']);_0x45bafc['iv']=_0x2564b5['iv'];var _0x436986=_0x43e921[_0x3a4393(0x524)][_0x3a4393(0x500)](this,_0x36532f,_0x4502d7,_0x2564b5[_0x3a4393(0x36a)],_0x45bafc);return _0x436986;}});}();}));}(It)),It['exports'];}var uc=dt['exports'],pi;function dc(){const _0x11a7c0=_0x5e3172;return pi||(pi=0x1,function(_0x3c3ef4,_0x3d477b){(function(_0x43e2e6,_0x40b6d5,_0x54a00d){_0x3c3ef4['exports']=_0x40b6d5(_e(),rr(),nc(),nr(),or());}(uc,function(_0x4840ed){const _0x1e2c34=_0x1eb2;return(function(){const _0x3a808a=_0x1eb2;var _0x486d4b=_0x4840ed,_0x352192=_0x486d4b['lib'],_0x9f9660=_0x352192[_0x3a808a(0x391)],_0x5cf04b=_0x486d4b[_0x3a808a(0x528)],_0x52cea7=[],_0x148584=[],_0x16f265=[],_0x534156=[],_0x34df70=[],_0x42da92=[],_0x1f93cc=[],_0x20a490=[],_0x2815df=[],_0x56a7c2=[];(function(){for(var _0x386661=[],_0x2a2696=0x0;_0x2a2696<0x100;_0x2a2696++)_0x2a2696<0x80?_0x386661[_0x2a2696]=_0x2a2696<<0x1:_0x386661[_0x2a2696]=_0x2a2696<<0x1^0x11b;for(var _0x27b2a6=0x0,_0x241395=0x0,_0x2a2696=0x0;_0x2a2696<0x100;_0x2a2696++){var _0x212ab4=_0x241395^_0x241395<<0x1^_0x241395<<0x2^_0x241395<<0x3^_0x241395<<0x4;_0x212ab4=_0x212ab4>>>0x8^_0x212ab4&0xff^0x63,_0x52cea7[_0x27b2a6]=_0x212ab4,_0x148584[_0x212ab4]=_0x27b2a6;var _0x5af5a5=_0x386661[_0x27b2a6],_0x4a8c99=_0x386661[_0x5af5a5],_0x5d3820=_0x386661[_0x4a8c99],_0x451173=_0x386661[_0x212ab4]*0x101^_0x212ab4*0x1010100;_0x16f265[_0x27b2a6]=_0x451173<<0x18|_0x451173>>>0x8,_0x534156[_0x27b2a6]=_0x451173<<0x10|_0x451173>>>0x10,_0x34df70[_0x27b2a6]=_0x451173<<0x8|_0x451173>>>0x18,_0x42da92[_0x27b2a6]=_0x451173;var _0x451173=_0x5d3820*0x1010101^_0x4a8c99*0x10001^_0x5af5a5*0x101^_0x27b2a6*0x1010100;_0x1f93cc[_0x212ab4]=_0x451173<<0x18|_0x451173>>>0x8,_0x20a490[_0x212ab4]=_0x451173<<0x10|_0x451173>>>0x10,_0x2815df[_0x212ab4]=_0x451173<<0x8|_0x451173>>>0x18,_0x56a7c2[_0x212ab4]=_0x451173,_0x27b2a6?(_0x27b2a6=_0x5af5a5^_0x386661[_0x386661[_0x386661[_0x5d3820^_0x5af5a5]]],_0x241395^=_0x386661[_0x386661[_0x241395]]):_0x27b2a6=_0x241395=0x1;}}());var _0x500ea9=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x37048f=_0x5cf04b[_0x3a808a(0x3a7)]=_0x9f9660[_0x3a808a(0x2c1)]({'_doReset':function(){const _0x4cdd7c=_0x3a808a;var _0x2bc76c;if(!(this[_0x4cdd7c(0x122)]&&this[_0x4cdd7c(0x51b)]===this[_0x4cdd7c(0x114)])){for(var _0x44640a=this[_0x4cdd7c(0x51b)]=this[_0x4cdd7c(0x114)],_0x1e8f4b=_0x44640a[_0x4cdd7c(0x1c5)],_0x3ec0e5=_0x44640a['sigBytes']/0x4,_0x4cf6ba=this['_nRounds']=_0x3ec0e5+0x6,_0x319a73=(_0x4cf6ba+0x1)*0x4,_0x179e0b=this['_keySchedule']=[],_0x1c6c8f=0x0;_0x1c6c8f<_0x319a73;_0x1c6c8f++)_0x1c6c8f<_0x3ec0e5?_0x179e0b[_0x1c6c8f]=_0x1e8f4b[_0x1c6c8f]:(_0x2bc76c=_0x179e0b[_0x1c6c8f-0x1],_0x1c6c8f%_0x3ec0e5?_0x3ec0e5>0x6&&_0x1c6c8f%_0x3ec0e5==0x4&&(_0x2bc76c=_0x52cea7[_0x2bc76c>>>0x18]<<0x18|_0x52cea7[_0x2bc76c>>>0x10&0xff]<<0x10|_0x52cea7[_0x2bc76c>>>0x8&0xff]<<0x8|_0x52cea7[_0x2bc76c&0xff]):(_0x2bc76c=_0x2bc76c<<0x8|_0x2bc76c>>>0x18,_0x2bc76c=_0x52cea7[_0x2bc76c>>>0x18]<<0x18|_0x52cea7[_0x2bc76c>>>0x10&0xff]<<0x10|_0x52cea7[_0x2bc76c>>>0x8&0xff]<<0x8|_0x52cea7[_0x2bc76c&0xff],_0x2bc76c^=_0x500ea9[_0x1c6c8f/_0x3ec0e5|0x0]<<0x18),_0x179e0b[_0x1c6c8f]=_0x179e0b[_0x1c6c8f-_0x3ec0e5]^_0x2bc76c);for(var _0x4bbfa6=this[_0x4cdd7c(0x205)]=[],_0x29474b=0x0;_0x29474b<_0x319a73;_0x29474b++){var _0x1c6c8f=_0x319a73-_0x29474b;if(_0x29474b%0x4)var _0x2bc76c=_0x179e0b[_0x1c6c8f];else var _0x2bc76c=_0x179e0b[_0x1c6c8f-0x4];_0x29474b<0x4||_0x1c6c8f<=0x4?_0x4bbfa6[_0x29474b]=_0x2bc76c:_0x4bbfa6[_0x29474b]=_0x1f93cc[_0x52cea7[_0x2bc76c>>>0x18]]^_0x20a490[_0x52cea7[_0x2bc76c>>>0x10&0xff]]^_0x2815df[_0x52cea7[_0x2bc76c>>>0x8&0xff]]^_0x56a7c2[_0x52cea7[_0x2bc76c&0xff]];}}},'encryptBlock':function(_0x1066e1,_0x2237e9){const _0x3e0e2f=_0x3a808a;this[_0x3e0e2f(0x10e)](_0x1066e1,_0x2237e9,this[_0x3e0e2f(0x3b9)],_0x16f265,_0x534156,_0x34df70,_0x42da92,_0x52cea7);},'decryptBlock':function(_0x489225,_0x3eeafc){const _0x201d5e=_0x3a808a;var _0x4773d9=_0x489225[_0x3eeafc+0x1];_0x489225[_0x3eeafc+0x1]=_0x489225[_0x3eeafc+0x3],_0x489225[_0x3eeafc+0x3]=_0x4773d9,this[_0x201d5e(0x10e)](_0x489225,_0x3eeafc,this['_invKeySchedule'],_0x1f93cc,_0x20a490,_0x2815df,_0x56a7c2,_0x148584);var _0x4773d9=_0x489225[_0x3eeafc+0x1];_0x489225[_0x3eeafc+0x1]=_0x489225[_0x3eeafc+0x3],_0x489225[_0x3eeafc+0x3]=_0x4773d9;},'_doCryptBlock':function(_0x2bf1f9,_0xb0af47,_0x49087e,_0x442e9b,_0x32ff6b,_0x2c922a,_0x55bc19,_0x14d14b){const _0x340043=_0x3a808a;for(var _0x451f09=this[_0x340043(0x122)],_0x162366=_0x2bf1f9[_0xb0af47]^_0x49087e[0x0],_0x55cfd3=_0x2bf1f9[_0xb0af47+0x1]^_0x49087e[0x1],_0xd46af2=_0x2bf1f9[_0xb0af47+0x2]^_0x49087e[0x2],_0x359a61=_0x2bf1f9[_0xb0af47+0x3]^_0x49087e[0x3],_0x5a34b9=0x4,_0x566356=0x1;_0x566356<_0x451f09;_0x566356++){var _0x3a9f0a=_0x442e9b[_0x162366>>>0x18]^_0x32ff6b[_0x55cfd3>>>0x10&0xff]^_0x2c922a[_0xd46af2>>>0x8&0xff]^_0x55bc19[_0x359a61&0xff]^_0x49087e[_0x5a34b9++],_0x310930=_0x442e9b[_0x55cfd3>>>0x18]^_0x32ff6b[_0xd46af2>>>0x10&0xff]^_0x2c922a[_0x359a61>>>0x8&0xff]^_0x55bc19[_0x162366&0xff]^_0x49087e[_0x5a34b9++],_0x1e3db3=_0x442e9b[_0xd46af2>>>0x18]^_0x32ff6b[_0x359a61>>>0x10&0xff]^_0x2c922a[_0x162366>>>0x8&0xff]^_0x55bc19[_0x55cfd3&0xff]^_0x49087e[_0x5a34b9++],_0x1feb14=_0x442e9b[_0x359a61>>>0x18]^_0x32ff6b[_0x162366>>>0x10&0xff]^_0x2c922a[_0x55cfd3>>>0x8&0xff]^_0x55bc19[_0xd46af2&0xff]^_0x49087e[_0x5a34b9++];_0x162366=_0x3a9f0a,_0x55cfd3=_0x310930,_0xd46af2=_0x1e3db3,_0x359a61=_0x1feb14;}var _0x3a9f0a=(_0x14d14b[_0x162366>>>0x18]<<0x18|_0x14d14b[_0x55cfd3>>>0x10&0xff]<<0x10|_0x14d14b[_0xd46af2>>>0x8&0xff]<<0x8|_0x14d14b[_0x359a61&0xff])^_0x49087e[_0x5a34b9++],_0x310930=(_0x14d14b[_0x55cfd3>>>0x18]<<0x18|_0x14d14b[_0xd46af2>>>0x10&0xff]<<0x10|_0x14d14b[_0x359a61>>>0x8&0xff]<<0x8|_0x14d14b[_0x162366&0xff])^_0x49087e[_0x5a34b9++],_0x1e3db3=(_0x14d14b[_0xd46af2>>>0x18]<<0x18|_0x14d14b[_0x359a61>>>0x10&0xff]<<0x10|_0x14d14b[_0x162366>>>0x8&0xff]<<0x8|_0x14d14b[_0x55cfd3&0xff])^_0x49087e[_0x5a34b9++],_0x1feb14=(_0x14d14b[_0x359a61>>>0x18]<<0x18|_0x14d14b[_0x162366>>>0x10&0xff]<<0x10|_0x14d14b[_0x55cfd3>>>0x8&0xff]<<0x8|_0x14d14b[_0xd46af2&0xff])^_0x49087e[_0x5a34b9++];_0x2bf1f9[_0xb0af47]=_0x3a9f0a,_0x2bf1f9[_0xb0af47+0x1]=_0x310930,_0x2bf1f9[_0xb0af47+0x2]=_0x1e3db3,_0x2bf1f9[_0xb0af47+0x3]=_0x1feb14;},'keySize':0x100/0x20});_0x486d4b[_0x3a808a(0x3a7)]=_0x9f9660[_0x3a808a(0x2b5)](_0x37048f);}()),_0x4840ed[_0x1e2c34(0x3a7)];}));}(dt)),dt[_0x11a7c0(0x4b3)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct[_0x5e3172(0x4b3)],gi;function gc(){const _0x5509a0=_0x5e3172;return gi||(gi=0x1,function(_0x541ca3,_0x592c82){(function(_0x5e424a,_0x356bb0){const _0x424205=_0x1eb2;_0x541ca3[_0x424205(0x4b3)]=_0x356bb0(_e());}(mc,function(_0xd6ceb3){const _0x182340=_0x1eb2;return _0xd6ceb3[_0x182340(0x302)][_0x182340(0x188)];}));}(Ct)),Ct[_0x5509a0(0x4b3)];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et[_0x5e3172(0x4b3)],Si;function Ec(){const _0x29cc6c=_0x5e3172;return Si||(Si=0x1,function(_0x69c85f,_0x6f6e4d){(function(_0x348ddc,_0x1fab6a){const _0x5810e2=_0x1eb2;_0x69c85f[_0x5810e2(0x4b3)]=_0x1fab6a(_e());}(Cc,function(_0x37a954){const _0x286a11=_0x1eb2;return(function(){const _0x570a3c=_0x1eb2;if(typeof ArrayBuffer=='function'){var _0x5689c0=_0x37a954,_0x20f06e=_0x5689c0[_0x570a3c(0x1e5)],_0x3cf7db=_0x20f06e[_0x570a3c(0x24d)],_0x32c229=_0x3cf7db['init'],_0x3c59c6=_0x3cf7db[_0x570a3c(0x433)]=function(_0x36c059){const _0x4832a9=_0x570a3c;if(_0x36c059 instanceof ArrayBuffer&&(_0x36c059=new Uint8Array(_0x36c059)),(_0x36c059 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x36c059 instanceof Uint8ClampedArray||_0x36c059 instanceof Int16Array||_0x36c059 instanceof Uint16Array||_0x36c059 instanceof Int32Array||_0x36c059 instanceof Uint32Array||_0x36c059 instanceof Float32Array||_0x36c059 instanceof Float64Array)&&(_0x36c059=new Uint8Array(_0x36c059[_0x4832a9(0x172)],_0x36c059[_0x4832a9(0x361)],_0x36c059[_0x4832a9(0x376)])),_0x36c059 instanceof Uint8Array){for(var _0x461c47=_0x36c059[_0x4832a9(0x376)],_0x3910f5=[],_0x502926=0x0;_0x502926<_0x461c47;_0x502926++)_0x3910f5[_0x502926>>>0x2]|=_0x36c059[_0x502926]<<0x18-_0x502926%0x4*0x8;_0x32c229[_0x4832a9(0x500)](this,_0x3910f5,_0x461c47);}else _0x32c229[_0x4832a9(0x212)](this,arguments);};_0x3c59c6[_0x570a3c(0x4e8)]=_0x3cf7db;}}()),_0x37a954['lib'][_0x286a11(0x24d)];}));}(Et)),Et[_0x29cc6c(0x4b3)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt['exports'],Ii;function Oc(){const _0x55d426=_0x5e3172;return Ii||(Ii=0x1,function(_0x5dea5d,_0x2c5aa0){(function(_0x3b2d34,_0xfd3514,_0x4e21be){const _0x12a51f=_0x1eb2;_0x5dea5d[_0x12a51f(0x4b3)]=_0xfd3514(_e(),or());}(Rc,function(_0x4249bf){const _0x243e5f=_0x1eb2;return _0x4249bf['pad'][_0x243e5f(0x1b3)]={'pad':function(){},'unpad':function(){}},_0x4249bf[_0x243e5f(0x3bd)][_0x243e5f(0x1b3)];}));}(bt)),bt[_0x55d426(0x4b3)];}var yc=Oc();const wc=ct(yc);function Dc(_0x1a8645,_0x3d7997){const _0x138240=_0x5e3172,_0x150d9e=_0x3d7997-_0x1a8645[_0x138240(0x2c8)]%_0x3d7997,_0xa7300f=String[_0x138240(0x4d5)](_0x150d9e)[_0x138240(0x1cf)](_0x150d9e);return _0x1a8645+_0xa7300f;}function Pc(_0x23b4be,_0x7f78b3){const _0x1ef9c9=_0x5e3172,_0x3900b3=Tc[_0x1ef9c9(0x34c)](0x10),_0x15ae21=Dc(_0x23b4be,0x10),_0x5a3624=vc[_0x1ef9c9(0x447)](Ic[_0x1ef9c9(0x32f)](_0x15ae21),mi[_0x1ef9c9(0x32f)](_0x7f78b3),{'iv':_0x3900b3,'padding':wc});return _0x3900b3[_0x1ef9c9(0x4b9)](_0x5a3624[_0x1ef9c9(0x3a5)])[_0x1ef9c9(0x129)](mi);}function Nc(){const _0x3b9bae=_0x5e3172,_0x2e3deb=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x3b9bae(0x38a)];if(_0x2e3deb){const _0x2beb42={'time':Math[_0x3b9bae(0x21e)](Date[_0x3b9bae(0x256)]()/0x3e8),'domain':location[_0x3b9bae(0x512)]};return Pc(JSON[_0x3b9bae(0x50f)](_0x2beb42),_0x2e3deb);}}var Uc=Object['defineProperty'],Ac=Object[_0x5e3172(0x26f)],Mc=(_0x43098f,_0x1606d9,_0x293472,_0x675988)=>{const _0x794061=_0x5e3172;for(var _0x3342a4=_0x675988>0x1?void 0x0:_0x675988?Ac(_0x1606d9,_0x293472):_0x1606d9,_0x48d86f=_0x43098f[_0x794061(0x2c8)]-0x1,_0x9e642c;_0x48d86f>=0x0;_0x48d86f--)(_0x9e642c=_0x43098f[_0x48d86f])&&(_0x3342a4=(_0x675988?_0x9e642c(_0x1606d9,_0x293472,_0x3342a4):_0x9e642c(_0x3342a4))||_0x3342a4);return _0x675988&&_0x3342a4&&Uc(_0x1606d9,_0x293472,_0x3342a4),_0x3342a4;},xc=(_0x103dc3,_0x403750)=>(_0x3e8334,_0x428812)=>_0x403750(_0x3e8334,_0x428812,_0x103dc3);let $t=class{constructor(_0x35eedc){const _0x53fb08=_0x5e3172;this[_0x53fb08(0x535)]=_0x35eedc,this[_0x53fb08(0x2aa)]();}['_initRequestHeader'](){const _0xb0b679=_0x5e3172;this[_0xb0b679(0x535)][_0xb0b679(0x24c)]({'interceptor':(_0x1775fd,_0x1b7cc6)=>{const _0xbed144=_0xb0b679,_0x4de707=_0x1775fd[_0xbed144(0x260)],_0x55f1b7=Nc();return _0x55f1b7&&_0x4de707[_0xbed144(0x332)](_0xbed144(0x4ac),_0x55f1b7),_0x1b7cc6(_0x1775fd);}});}};$t=Mc([xc(0x0,_0x1259a7(_0x21ff0e))],$t);var Lc=Object[_0x5e3172(0x243)],$c=Object[_0x5e3172(0x26f)],Hc=(_0x91838,_0x5c7973,_0x4596f3,_0x6fa5b4)=>{const _0x251931=_0x5e3172;for(var _0x1cd978=_0x6fa5b4>0x1?void 0x0:_0x6fa5b4?$c(_0x5c7973,_0x4596f3):_0x5c7973,_0x536d7a=_0x91838[_0x251931(0x2c8)]-0x1,_0x19b9ce;_0x536d7a>=0x0;_0x536d7a--)(_0x19b9ce=_0x91838[_0x536d7a])&&(_0x1cd978=(_0x6fa5b4?_0x19b9ce(_0x5c7973,_0x4596f3,_0x1cd978):_0x19b9ce(_0x1cd978))||_0x1cd978);return _0x6fa5b4&&_0x1cd978&&Lc(_0x5c7973,_0x4596f3,_0x1cd978),_0x1cd978;},rs=(_0x577bf4,_0x48e82b)=>(_0x3c82b2,_0x18fe79)=>_0x48e82b(_0x3c82b2,_0x18fe79,_0x577bf4);const jc=['image/png',_0x5e3172(0x29e),_0x5e3172(0x4af),_0x5e3172(0x529),_0x5e3172(0x261)],Bc=0x5*0x400*0x400,kc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Wc=_0x5e3172(0x484),Fc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Vc=_0x5e3172(0x298);let ms=class{constructor(_0x51361b,_0x13069e,_0x15c084){const _0x280f6f=_0x5e3172;g(this,_0x280f6f(0x1c6),0x0),g(this,'_change$',new _0x1b8780()),g(this,_0x280f6f(0x202),this[_0x280f6f(0x2d5)]),g(this,_0x280f6f(0x28b),new Map()),(this[_0x280f6f(0x535)]=_0x51361b,this[_0x280f6f(0x270)]=_0x13069e,this['_univerInstanceService']=_0x15c084);}[_0x5e3172(0x383)](_0x75be67){const _0x4e1a0b=_0x5e3172;this[_0x4e1a0b(0x1c6)]=_0x75be67,this['_change$'][_0x4e1a0b(0x23b)](_0x75be67);}[_0x5e3172(0x27e)](_0x542cc9,_0x28e51f){const _0x779e15=_0x5e3172;if(_0x28e51f===_0xa7900e[_0x779e15(0x51d)]){const _0x6a2376=new Image();return _0x6a2376[_0x779e15(0x130)]=_0x542cc9,_0x6a2376;}return this[_0x779e15(0x28b)][_0x779e15(0x307)](_0x542cc9);}['addImageSourceCache'](_0x345277,_0x435ec8,_0x1d0054){const _0x2deb25=_0x5e3172;_0x435ec8===_0xa7900e[_0x2deb25(0x51d)]||_0x1d0054==null||this[_0x2deb25(0x28b)][_0x2deb25(0x332)](_0x345277,_0x1d0054);}async[_0x5e3172(0x28f)](_0x5ce59a){const _0xe0f810=_0x5e3172;try{const _0xbfabd6=this[_0xe0f810(0x1c1)](this[_0xe0f810(0x34d)](),''+_0x5ce59a),_0x365f9c=(await this[_0xe0f810(0x535)][_0xe0f810(0x307)](_0xbfabd6))[_0xe0f810(0x2da)];if(_0x365f9c[_0xe0f810(0x295)]&&_0x365f9c[_0xe0f810(0x295)][_0xe0f810(0x1d0)]===Fi['OK']){const _0x416235=new URL(_0x365f9c[_0xe0f810(0x165)],this[_0xe0f810(0x3d9)]())['toString']();return Promise[_0xe0f810(0x3ba)](_0x416235);}return Promise[_0xe0f810(0x21c)](_0x365f9c[_0xe0f810(0x295)]);}catch(_0x4df722){return Promise[_0xe0f810(0x21c)](_0x4df722);}}async[_0x5e3172(0x341)](_0x329ad9){const _0x5eefc5=_0x5e3172;let _0x4ea60a='';if(!jc[_0x5eefc5(0x2bc)](_0x329ad9['type']))return this[_0x5eefc5(0x2f5)](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162[_0x5eefc5(0x2b9)]));if(_0x329ad9['size']>Bc)return this[_0x5eefc5(0x2f5)](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162[_0x5eefc5(0x1a1)]));try{const _0x27cc2d=new FormData();_0x27cc2d['append'](_0x5eefc5(0x2ad),_0x329ad9);const _0x2916ca=this[_0x5eefc5(0x153)][_0x5eefc5(0x27b)](),_0x37185b=_0x2916ca==null?void 0x0:_0x2916ca[_0x5eefc5(0x12f)]();if(!_0x37185b)throw new Error(_0x5eefc5(0x418));const _0xeeaaa4=this[_0x5eefc5(0x45b)]()+_0x5eefc5(0x1d9)+_0x329ad9[_0x5eefc5(0x3aa)][_0x5eefc5(0x129)]()+_0x5eefc5(0x1d1)+Vi[_0x5eefc5(0x16c)]+_0x5eefc5(0x4b1)+encodeURIComponent(_0x37185b),_0xa43bd9=await(await fetch(_0xeeaaa4,{'method':_0x5eefc5(0x292),'body':_0x27cc2d}))['json']();if(typeof _0xa43bd9['FileId']!=_0x5eefc5(0x429))return this['_decreaseWaiting'](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162['ERROR_IMAGE']));_0x4ea60a=_0xa43bd9[_0x5eefc5(0x297)];}catch{return this['_decreaseWaiting'](),Promise[_0x5eefc5(0x21c)](new Error(_0x2f0162[_0x5eefc5(0x3de)]));}return new Promise((_0x4a4c54,_0x3649c1)=>{const _0x4d726e=_0x5eefc5,_0x2eb13e=new FileReader();_0x2eb13e['readAsDataURL'](_0x329ad9),_0x2eb13e[_0x4d726e(0x21d)]=_0x3c42f5=>{const _0x229398=_0x4d726e;var _0x365fff;const _0x188404=(_0x365fff=_0x3c42f5['target'])==null?void 0x0:_0x365fff['result'];if(_0x188404==null){this['_decreaseWaiting'](),_0x3649c1(new Error(_0x2f0162[_0x229398(0x3de)]));return;}const _0x2b0087=_0x279a54['generateRandomId'](0x6);_0x4a4c54({'imageId':_0x2b0087,'imageSourceType':_0xa7900e[_0x229398(0x3a6)],'source':_0x4ea60a,'base64Cache':_0x188404,'status':_0x2f0162[_0x229398(0x387)]}),this[_0x229398(0x2f5)]();};});}[_0x5e3172(0x45b)](){const _0x119d05=_0x5e3172;var _0x49af4d,_0xc6cddf;const _0x363057=this[_0x119d05(0x270)][_0x119d05(0x186)](kc),_0x2f816c=this[_0x119d05(0x270)][_0x119d05(0x186)](Q);return(_0xc6cddf=(_0x49af4d=_0x2f816c==null?void 0x0:_0x2f816c['uploadFileServerUrl'])!=null?_0x49af4d:_0x363057)!=null?_0xc6cddf:Wc;}[_0x5e3172(0x34d)](){const _0x489b32=_0x5e3172;var _0x53fdfd,_0x3d8a8b;const _0x42695d=this[_0x489b32(0x270)][_0x489b32(0x186)](Fc),_0x5a70cc=this[_0x489b32(0x270)]['getConfig'](Q);return(_0x3d8a8b=(_0x53fdfd=_0x5a70cc==null?void 0x0:_0x5a70cc[_0x489b32(0x4ad)])!=null?_0x53fdfd:_0x42695d)!=null?_0x3d8a8b:Vc;}['_getDownloadEndpointURL'](){const _0x3dae2d=_0x5e3172;var _0x29735f;const _0x5e5f27=this[_0x3dae2d(0x270)][_0x3dae2d(0x186)](Q);return(_0x29735f=_0x5e5f27==null?void 0x0:_0x5e5f27[_0x3dae2d(0x126)])!=null?_0x29735f:location[_0x3dae2d(0x22e)];}[_0x5e3172(0x1c1)](_0x58f3e0,_0x51c0da){const _0x1ea7c0=_0x5e3172;return _0x58f3e0[_0x1ea7c0(0x1b6)](_0x1ea7c0(0x4c7),_0x51c0da);}[_0x5e3172(0x2f5)](){const _0x28f97a=_0x5e3172;this[_0x28f97a(0x1c6)]-=0x1,this['_change$'][_0x28f97a(0x23b)](this['_waitCount']);}};ms=Hc([rs(0x0,_0x1259a7(_0x21ff0e)),rs(0x1,_0x3a37b7),rs(0x2,_0x1259a7(_0x381e7e))],ms);var Gc=Object[_0x5e3172(0x243)],Yc=Object[_0x5e3172(0x26f)],Kc=(_0x1445f7,_0x20002b,_0x324075,_0x271ff7)=>{const _0x5402eb=_0x5e3172;for(var _0x25cb52=_0x271ff7>0x1?void 0x0:_0x271ff7?Yc(_0x20002b,_0x324075):_0x20002b,_0x54a48a=_0x1445f7[_0x5402eb(0x2c8)]-0x1,_0x4d7534;_0x54a48a>=0x0;_0x54a48a--)(_0x4d7534=_0x1445f7[_0x54a48a])&&(_0x25cb52=(_0x271ff7?_0x4d7534(_0x20002b,_0x324075,_0x25cb52):_0x4d7534(_0x25cb52))||_0x25cb52);return _0x271ff7&&_0x25cb52&&Gc(_0x20002b,_0x324075,_0x25cb52),_0x25cb52;},Ci=(_0x63c8e8,_0x9aca3)=>(_0x5c7a3a,_0x4d4378)=>_0x9aca3(_0x5c7a3a,_0x4d4378,_0x63c8e8);const qc='/universer-api/authz';let gs=class{constructor(_0x4bf135,_0x1f8962){const _0x511619=_0x5e3172;this[_0x511619(0x270)]=_0x4bf135,this[_0x511619(0x31f)]=_0x1f8962;}['_getAPIPrefixPath'](){const _0x583683=_0x5e3172;var _0x17be6d,_0x298ddd;const _0x4a50a0=this[_0x583683(0x270)][_0x583683(0x186)](ir),_0x3a2d16=this[_0x583683(0x270)]['getConfig'](Q);return(_0x298ddd=(_0x17be6d=_0x3a2d16==null?void 0x0:_0x3a2d16[_0x583683(0x13f)])!=null?_0x17be6d:_0x4a50a0)!=null?_0x298ddd:qc;}async[_0x5e3172(0x169)](_0x278932){const _0x3ea186=_0x5e3172,_0x43ba8f=this[_0x3ea186(0x1f9)]()+_0x3ea186(0x3f8);return{'list':[{'title':_0x3ea186(0x52b),'mentions':(await this[_0x3ea186(0x31f)][_0x3ea186(0x307)](_0x43ba8f,{'params':{'objectID':_0x278932[_0x3ea186(0x452)],'unitID':_0x278932[_0x3ea186(0x452)]}}))[_0x3ea186(0x2da)][_0x3ea186(0x470)]['map'](_0x1a65b1=>({'objectId':_0x1a65b1['id'],'name':_0x1a65b1[_0x3ea186(0x277)][_0x3ea186(0x121)],'metadata':{'icon':_0x1a65b1[_0x3ea186(0x277)][_0x3ea186(0x501)]},'label':_0x1a65b1['subject'][_0x3ea186(0x121)],'objectType':_0xbf08a['PERSON']})),'metadata':{},'type':_0xbf08a['PERSON']}]};}};gs=Kc([Ci(0x0,_0x1259a7(_0x3a37b7)),Ci(0x1,_0x1259a7(_0x21ff0e))],gs);var zc=Object[_0x5e3172(0x243)],Xc=Object[_0x5e3172(0x26f)],Jc=(_0x1657be,_0x4a993d,_0x5490d6,_0x4a9605)=>{const _0xb78ae1=_0x5e3172;for(var _0x2d2a61=_0x4a9605>0x1?void 0x0:_0x4a9605?Xc(_0x4a993d,_0x5490d6):_0x4a993d,_0xaf24f2=_0x1657be[_0xb78ae1(0x2c8)]-0x1,_0x29f24e;_0xaf24f2>=0x0;_0xaf24f2--)(_0x29f24e=_0x1657be[_0xaf24f2])&&(_0x2d2a61=(_0x4a9605?_0x29f24e(_0x4a993d,_0x5490d6,_0x2d2a61):_0x29f24e(_0x2d2a61))||_0x2d2a61);return _0x4a9605&&_0x2d2a61&&zc(_0x4a993d,_0x5490d6,_0x2d2a61),_0x2d2a61;},et=(_0xd96f24,_0x30d349)=>(_0x15826b,_0x18a3e8)=>_0x30d349(_0x15826b,_0x18a3e8,_0xd96f24);let Ht=class extends _0x5ce84d{constructor(_0x3a5b8f,_0x46b5ff,_0xb3ff4c,_0x2b3405,_0x554b15){const _0x5b2293=_0x5e3172;super(),this[_0x5b2293(0x3b4)]=_0x3a5b8f,this[_0x5b2293(0x153)]=_0x46b5ff,this[_0x5b2293(0x366)]=_0xb3ff4c,this[_0x5b2293(0x41c)]=_0x2b3405,this[_0x5b2293(0x48a)]=_0x554b15,this[_0x5b2293(0x4ae)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x36d9f2=_0x5e3172,_0x1a3191=async _0x48dc98=>{const _0x10eff5=_0x1eb2;(await this[_0x10eff5(0x41c)][_0x10eff5(0x17e)](_0x48dc98))['event$'][_0x10eff5(0x4b6)](_0x3c0a43(_0x5f0803=>_0x5f0803[_0x10eff5(0x451)]===_0x385814['SHOULD_CLOSE_CONN']),_0x209ee4(this[_0x10eff5(0x511)]))[_0x10eff5(0x134)](_0x32ed67=>{const _0x2a9ccc=_0x10eff5,_0x2b3b47=_0x32ed67,{reason:_0x13cc6f}=_0x2b3b47[_0x2a9ccc(0x288)];this[_0x2a9ccc(0x3b4)][_0x2a9ccc(0x307)](_0x28a2c3)['show']({'type':_0x59169d['Error'],'content':this[_0x2a9ccc(0x48a)]['t'](_0x2a9ccc(0x4b5))+'('+_0x13cc6f+')'}),this[_0x2a9ccc(0x366)][_0x2a9ccc(0x299)](new _0x1a4341(_0x48dc98)['id'],!0x1),this[_0x2a9ccc(0x41c)]['closeSession'](_0x48dc98);});};_0x143e60(this[_0x36d9f2(0x153)][_0x36d9f2(0x1ba)](_0xfbb68f[_0x36d9f2(0x1c2)]),this['_univerInstanceService'][_0x36d9f2(0x1ba)](_0xfbb68f['UNIVER_DOC']))[_0x36d9f2(0x4b6)](_0x2945cf(_0x2f76f2=>_0x2f76f2[_0x36d9f2(0x12f)]()),_0x3c0a43(_0x249fc9=>!_0x48d1da(_0x249fc9)),_0x209ee4(this[_0x36d9f2(0x511)]))['subscribe'](_0x2f7bf8=>{_0x1a3191(_0x2f7bf8);});}['_initUnitPermissionChange'](){const _0x4b10c9=_0x5e3172,_0x5f2407=async _0x634587=>{const _0x3c7d5d=_0x1eb2;(await this[_0x3c7d5d(0x41c)][_0x3c7d5d(0x17e)](_0x634587))['event$'][_0x3c7d5d(0x4b6)](_0x3c0a43(_0x54a332=>_0x54a332[_0x3c7d5d(0x451)]===_0x385814[_0x3c7d5d(0x278)]),_0x209ee4(this[_0x3c7d5d(0x511)]))[_0x3c7d5d(0x134)](_0x7e990b=>{const _0x28d657=_0x3c7d5d,_0x23bd3a=_0x7e990b,{objectId:_0x33984d}=_0x23bd3a['data'],_0x179340=this['_injector'][_0x28d657(0x307)](_0x25b747);_0x33984d===_0x634587?_0x179340[_0x28d657(0x2c2)](_0x634587):_0x179340['refreshPermission'](_0x634587,_0x33984d);});};_0x143e60(this[_0x4b10c9(0x153)][_0x4b10c9(0x1ba)](_0xfbb68f[_0x4b10c9(0x1c2)]),this[_0x4b10c9(0x153)][_0x4b10c9(0x1ba)](_0xfbb68f['UNIVER_DOC']))[_0x4b10c9(0x4b6)](_0x2945cf(_0x4e65d7=>_0x4e65d7[_0x4b10c9(0x12f)]()),_0x3c0a43(_0x495e8b=>!_0x48d1da(_0x495e8b)),_0x209ee4(this['dispose$']))[_0x4b10c9(0x134)](_0x110253=>{_0x5f2407(_0x110253);});}};Ht=Jc([et(0x0,_0x1259a7(_0xa6ca3c)),et(0x1,_0x381e7e),et(0x2,_0x51028f),et(0x3,_0x1259a7(xe)),et(0x4,_0x1259a7(_0x56a2bf))],Ht);var Zc=Object[_0x5e3172(0x243)],Qc=Object[_0x5e3172(0x26f)],eh=(_0x4d5adb,_0x26af68,_0x34a252,_0x30314d)=>{const _0x40c8e3=_0x5e3172;for(var _0x5dbef4=_0x30314d>0x1?void 0x0:_0x30314d?Qc(_0x26af68,_0x34a252):_0x26af68,_0xe4d6d3=_0x4d5adb[_0x40c8e3(0x2c8)]-0x1,_0x340b4c;_0xe4d6d3>=0x0;_0xe4d6d3--)(_0x340b4c=_0x4d5adb[_0xe4d6d3])&&(_0x5dbef4=(_0x30314d?_0x340b4c(_0x26af68,_0x34a252,_0x5dbef4):_0x340b4c(_0x5dbef4))||_0x5dbef4);return _0x30314d&&_0x5dbef4&&Zc(_0x26af68,_0x34a252,_0x5dbef4),_0x5dbef4;},Ei=(_0x553cf7,_0x293ae5)=>(_0x55825a,_0x37dd5d)=>_0x293ae5(_0x55825a,_0x37dd5d,_0x553cf7);let Ss=class{constructor(_0x4f0bce,_0x1ab1a4){this['_configService']=_0x4f0bce,this['_httpService']=_0x1ab1a4;}async[_0x5e3172(0x407)](_0x2ad534,_0xd802e8){const _0x811bca=_0x5e3172;var _0x2a0c1e;const {unitID:_0x264608,type:_0x5eca53,revision:_0x567595=0x0}=_0xd802e8,_0x174120=this['getSnapshotAPIPath']()+'/'+_0x5eca53+_0x811bca(0x13d)+_0x264608+_0x811bca(0x2ca)+_0x567595,_0x585578=(await this[_0x811bca(0x535)][_0x811bca(0x307)](_0x174120))[_0x811bca(0x2da)],_0x587970=(_0x2a0c1e=_0x585578[_0x811bca(0x515)])==null?void 0x0:_0x2a0c1e[_0x811bca(0x204)];if(_0x587970){const _0x2b91a2=_0x587970==null?void 0x0:_0x587970[_0x811bca(0x26c)],_0x266323=_0xf9a5c6[_0x811bca(0x2d2)](_0x1a04e2(_0x2b91a2));_0x587970['originalMeta']=_0x266323,Object[_0x811bca(0x16f)](_0x587970[_0x811bca(0x29b)])[_0x811bca(0x356)](([,_0x34add0])=>{const _0x1174ae=_0x811bca,_0xbd94b4=_0x34add0[_0x1174ae(0x26c)],_0x198403=_0xf9a5c6[_0x1174ae(0x2d2)](_0x1a04e2(_0xbd94b4));_0x34add0[_0x1174ae(0x26c)]=_0x198403;});}return _0x585578;}async[_0x5e3172(0x4bf)](_0x20d110,_0x1ebef9){const _0x1e220f=_0x5e3172,{unitID:_0x371e32,type:_0x1c8025,blockID:_0x4d65e6}=_0x1ebef9,_0x1d88a0=this['_getAPIPrefix']()+'/'+_0x1c8025+'/unit/'+_0x371e32+_0x1e220f(0x209)+_0x4d65e6;return(await this['_httpService'][_0x1e220f(0x307)](_0x1d88a0))[_0x1e220f(0x2da)];}async[_0x5e3172(0x2e0)](_0x923457,_0x82fd03){const _0x580f31=_0x5e3172,{unitID:_0x1d292e,type:_0x3fa0f6,blockID:_0x3fee32}=_0x82fd03,_0x519b51=this[_0x580f31(0x233)]()+_0x580f31(0x209)+_0x3fa0f6+_0x580f31(0x13d)+_0x1d292e+'/block/'+_0x3fee32;return(await this[_0x580f31(0x535)][_0x580f31(0x307)](_0x519b51))[_0x580f31(0x2da)];}async[_0x5e3172(0x41a)](_0x255f50,_0x470d4f){const _0x2bfe90=_0x5e3172,{unitID:_0x706a13,type:_0x4fb874,from:_0x39e688,to:_0x204df2}=_0x470d4f,_0x263791=this['_getAPIPrefix']()+'/'+_0x4fb874+_0x2bfe90(0x13d)+_0x706a13+'/fetchmissing?from='+_0x39e688+_0x2bfe90(0x426)+_0x204df2;return(await this[_0x2bfe90(0x535)]['get'](_0x263791))[_0x2bfe90(0x2da)];}[_0x5e3172(0x2d6)](){const _0x13acd4=_0x5e3172;var _0x454a34;return(_0x454a34=this[_0x13acd4(0x270)][_0x13acd4(0x186)](Tn))!=null?_0x454a34:this[_0x13acd4(0x233)]();}[_0x5e3172(0x233)](){const _0x16595e=_0x5e3172;var _0x2f8611,_0x1172e5;const _0x2f6716=this[_0x16595e(0x270)][_0x16595e(0x186)](En),_0x1d84fc=this[_0x16595e(0x270)][_0x16595e(0x186)](Q);return(_0x1172e5=(_0x2f8611=_0x1d84fc==null?void 0x0:_0x1d84fc[_0x16595e(0x3e8)])!=null?_0x2f8611:_0x2f6716)!=null?_0x1172e5:bn;}async[_0x5e3172(0x498)](_0x5d8164,_0x283a97){const _0x407c46=_0x5e3172,_0x256b89=_0x407c46(0x438)+_0x283a97[_0x407c46(0x20d)]+'/unit/'+_0x283a97[_0x407c46(0x4e4)]+_0x407c46(0x3c1);return(await this[_0x407c46(0x535)][_0x407c46(0x307)](_0x256b89,{'params':{'resourceId':JSON[_0x407c46(0x50f)](_0x283a97['resourceIDs'])}}))[_0x407c46(0x2da)];}[_0x5e3172(0x45c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e3172(0x2be)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e3172(0x33f)](){const _0x2d58d5=_0x5e3172;throw new Error(_0x2d58d5(0x45d));}[_0x5e3172(0x1a3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5e3172(0x2e6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ss=eh([Ei(0x0,_0x3a37b7),Ei(0x1,_0x1259a7(_0x21ff0e))],Ss);var th=Object[_0x5e3172(0x243)],sh=Object['getOwnPropertyDescriptor'],ih=(_0x4bce29,_0x8b0d34,_0x38e13e,_0x369784)=>{const _0x462ef2=_0x5e3172;for(var _0x2c7dd9=_0x369784>0x1?void 0x0:_0x369784?sh(_0x8b0d34,_0x38e13e):_0x8b0d34,_0xfc1b73=_0x4bce29[_0x462ef2(0x2c8)]-0x1,_0x1e7378;_0xfc1b73>=0x0;_0xfc1b73--)(_0x1e7378=_0x4bce29[_0xfc1b73])&&(_0x2c7dd9=(_0x369784?_0x1e7378(_0x8b0d34,_0x38e13e,_0x2c7dd9):_0x1e7378(_0x2c7dd9))||_0x2c7dd9);return _0x369784&&_0x2c7dd9&&th(_0x8b0d34,_0x38e13e,_0x2c7dd9),_0x2c7dd9;},tt=(_0x29c3ff,_0x5b58b4)=>(_0x1a27b2,_0xc60d7)=>_0x5b58b4(_0x1a27b2,_0xc60d7,_0x29c3ff);let Is=class extends _0x301e35{constructor(_0x18eb0e,_0x3d14e6,_0x224b4a,_0x327810,_0x6b136a){const _0x66f195=_0x5e3172;super(_0x18eb0e,_0x3d14e6,_0x224b4a),this[_0x66f195(0x4ff)]=_0x327810,this[_0x66f195(0x52d)]=_0x6b136a;}[_0x5e3172(0x143)](_0x2364ef,_0x504f9b){const _0x30d47e=_0x5e3172,_0x5b6d2b=this[_0x30d47e(0x3bf)](_0x2364ef);if(_0x5b6d2b)try{const _0xafaaef=this['_transformStack'](_0x5b6d2b,_0x504f9b);this[_0x30d47e(0x300)](_0x2364ef,_0xafaaef);}catch(_0x4c2ba4){this['_logService'][_0x30d47e(0x295)](_0x30d47e(0x19f),_0x4c2ba4),this['_clearUndo'](_0x2364ef);}const _0x493cfb=this[_0x30d47e(0x488)](_0x2364ef);if(_0x493cfb)try{const _0x394b1b=this['_transformStack'](_0x493cfb,_0x504f9b);this[_0x30d47e(0x14f)](_0x2364ef,_0x394b1b);}catch(_0x422262){this['_logService']['error'](_0x422262),this[_0x30d47e(0x455)](_0x2364ef);}}[_0x5e3172(0x46b)](_0xd2e177){const _0x49d8b7=_0x5e3172,_0x3f715c=this[_0x49d8b7(0x3bf)](_0xd2e177);_0x3f715c&&(_0x3f715c[_0x49d8b7(0x2c8)]=0x0,this[_0x49d8b7(0x4f4)]());}[_0x5e3172(0x455)](_0x142411){const _0xe8f7d6=_0x5e3172,_0x3be05b=this['_getRedoStack'](_0x142411);_0x3be05b&&(_0x3be05b[_0xe8f7d6(0x2c8)]=0x0,this['_updateStatus']());}[_0x5e3172(0x300)](_0x26412d,_0x121f63){const _0x5b7c7=_0x5e3172;this[_0x5b7c7(0x136)][_0x5b7c7(0x332)](_0x26412d,_0x121f63),this['_updateStatus']();}[_0x5e3172(0x14f)](_0x1d124f,_0x4ec93d){const _0x2605ea=_0x5e3172;this[_0x2605ea(0x1ef)][_0x2605ea(0x332)](_0x1d124f,_0x4ec93d),this[_0x2605ea(0x4f4)]();}[_0x5e3172(0x4ba)](_0x2a5040,_0x24b221){const _0x2e18c8=_0x5e3172,_0x452db1=[];let _0x3fdb1e=_0x24b221,_0x1b3bb8=_0x24b221;for(let _0x1db772=_0x2a5040[_0x2e18c8(0x2c8)]-0x1;_0x1db772>=0x0;_0x1db772--){const {unitID:_0x40d3b6,undoMutations:_0x47a9f4,redoMutations:_0x1e1086}=_0x2a5040[_0x1db772],_0x3a41cc=this['_transformService'][_0x2e18c8(0x4a6)](_0x3fdb1e,_0x47a9f4),_0x29723c=this[_0x2e18c8(0x4ff)][_0x2e18c8(0x4a6)](_0x1b3bb8,_0x1e1086);if(_0x2ccc3c(_0x3a41cc)||_0x2ccc3c(_0x29723c)){this[_0x2e18c8(0x52d)][_0x2e18c8(0x295)](_0x2e18c8(0x19f),_0x2e18c8(0x124),_0x3a41cc,_0x29723c);break;}_0x3fdb1e=_0x3a41cc[_0x2e18c8(0x1e7)],_0x1b3bb8=_0x29723c['c1Prime'],_0x452db1[_0x2e18c8(0x38e)]({'unitID':_0x40d3b6,'undoMutations':_0x3a41cc[_0x2e18c8(0x20f)],'redoMutations':_0x29723c['m2Prime']});}return _0x452db1[_0x2e18c8(0x491)]();}};Is=ih([tt(0x0,_0x381e7e),tt(0x1,_0x58c2c0),tt(0x2,_0x1f3c95),tt(0x3,_0x2a04be),tt(0x4,_0xadcc6)],Is);class rh extends _0x5ce84d{constructor(){const _0x4437e3=_0x5e3172;super(),g(this,_0x4437e3(0x1fa)),this[_0x4437e3(0x1fa)]=_0x1a191c(window,_0x4437e3(0x22a))[_0x4437e3(0x4b6)](_0x34041a(this[_0x4437e3(0x511)]),_0x55695a(0x1),_0x15c046(void 0x0));}[_0x5e3172(0x431)](_0x5d1a33,_0x4e5e4b,_0x52f6a6=!0x1){const _0x4b4f0e=_0x5e3172,_0x4505e2=new URL(window[_0x4b4f0e(0x4e2)][_0x4b4f0e(0x38d)]);_0x4505e2['searchParams']['set'](_0x5d1a33,_0x4e5e4b),_0x52f6a6?window[_0x4b4f0e(0x16a)][_0x4b4f0e(0x47e)]('','',_0x4505e2['toString']()):window['history'][_0x4b4f0e(0x284)]('','',_0x4505e2[_0x4b4f0e(0x129)]());}['removeParam'](_0x5e78bc,_0xabc87f=!0x1){const _0x5141ea=_0x5e3172,_0x3dfa41=new URL(window[_0x5141ea(0x4e2)][_0x5141ea(0x38d)]);_0x3dfa41[_0x5141ea(0x520)][_0x5141ea(0x480)](_0x5e78bc),_0xabc87f?window[_0x5141ea(0x16a)][_0x5141ea(0x47e)]('','',_0x3dfa41[_0x5141ea(0x129)]()):window[_0x5141ea(0x16a)][_0x5141ea(0x284)]('','',_0x3dfa41[_0x5141ea(0x129)]());}['getParam'](_0x1c3db7){const _0x587c01=_0x5e3172;var _0x2eb2d9;return(_0x2eb2d9=new URL(window[_0x587c01(0x4e2)][_0x587c01(0x38d)])[_0x587c01(0x520)][_0x587c01(0x307)](_0x1c3db7))!=null?_0x2eb2d9:void 0x0;}}var ar=Object[_0x5e3172(0x243)],nh=Object[_0x5e3172(0x26f)],oh=(_0x469c08,_0x1a031a,_0x4c537b)=>_0x1a031a in _0x469c08?ar(_0x469c08,_0x1a031a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c537b}):_0x469c08[_0x1a031a]=_0x4c537b,ah=(_0x5c2520,_0x30738f,_0x417af1,_0x43a2ea)=>{for(var _0x3d2e3d=_0x43a2ea>0x1?void 0x0:_0x43a2ea?nh(_0x30738f,_0x417af1):_0x30738f,_0x216218=_0x5c2520['length']-0x1,_0xd1d157;_0x216218>=0x0;_0x216218--)(_0xd1d157=_0x5c2520[_0x216218])&&(_0x3d2e3d=(_0x43a2ea?_0xd1d157(_0x30738f,_0x417af1,_0x3d2e3d):_0xd1d157(_0x3d2e3d))||_0x3d2e3d);return _0x43a2ea&&_0x3d2e3d&&ar(_0x30738f,_0x417af1,_0x3d2e3d),_0x3d2e3d;},_t=(_0x34a0dd,_0x2fa2ed)=>(_0x50c441,_0x36a5db)=>_0x2fa2ed(_0x50c441,_0x36a5db,_0x34a0dd),ch=(_0x58d84f,_0x341872,_0x5af571)=>oh(_0x58d84f,_0x341872+'',_0x5af571);const hh='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Cs=class extends _0x35856f{constructor(_0xbc1fd=Bn,_0x2046da,_0x2e53a6,_0x16c6c6,_0x305c1c){const _0x58bd7e=_0x5e3172;super(),this['_config']=_0xbc1fd,this[_0x58bd7e(0x52d)]=_0x2046da,this[_0x58bd7e(0x4ee)]=_0x2e53a6,this[_0x58bd7e(0x3b4)]=_0x16c6c6,this['_configService']=_0x305c1c;const {..._0x288362}=this[_0x58bd7e(0x1c3)];this['_configService'][_0x58bd7e(0x460)](Q,_0x288362);}[_0x5e3172(0x37b)](){const _0xc645f0=_0x5e3172;this[_0xc645f0(0x4b0)](),this[_0xc645f0(0x192)]();}[_0x5e3172(0x274)](){_0x3ab8ae(this['_injector'],[[xt],[Ut]]);}[_0x5e3172(0x379)](){const _0x3812a6=_0x5e3172;this[_0x3812a6(0x49b)]();}[_0x5e3172(0x4b0)](){const _0xf41f2b=_0x5e3172;var _0x6cdcd3,_0xcb4a19,_0x556fed,_0x37f5ee;this[_0xf41f2b(0x3b4)][_0xf41f2b(0x3cb)](_0x2d3235)&&this[_0xf41f2b(0x52d)][_0xf41f2b(0x295)](_0xf41f2b(0x2ff),_0xf41f2b(0x228));const _0x1b3ffa=[[_0x2d3235,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x5b73a6],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0xcb4a19=(_0x6cdcd3=this[_0xf41f2b(0x1c3)])==null?void 0x0:_0x6cdcd3[_0xf41f2b(0x405)])!=null?_0xcb4a19:cs}],[_0x18e368,{'useClass':Ss}],[_0x5ae3ef,{'useClass':ps}],[_0x1c8798,{'useClass':ms}],[_0x5c1989,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x556fed=this[_0xf41f2b(0x1c3)])!=null&&_0x556fed[_0xf41f2b(0x394)]&&_0x1b3ffa[_0xf41f2b(0x38e)]([jt,{'useClass':Co}]),_0x3ef291(this[_0xf41f2b(0x3b4)],_0x11b22e(_0x1b3ffa,(_0x37f5ee=this[_0xf41f2b(0x1c3)])==null?void 0x0:_0x37f5ee[_0xf41f2b(0x28e)]));}['_registerRenderDependencies'](){const _0x3fc57d=_0x5e3172;this[_0x3fc57d(0x2d9)](this[_0x3fc57d(0x4ee)][_0x3fc57d(0x312)](_0xfbb68f[_0x3fc57d(0x11d)],[fs])),this[_0x3fc57d(0x2d9)](this['_renderManagerService'][_0x3fc57d(0x312)](_0xfbb68f['UNIVER_SHEET'],[vs]));}[_0x5e3172(0x192)](){const _0x3d18c6=_0x5e3172;var _0xba8a95,_0x149675;this[_0x3d18c6(0x3b4)][_0x3d18c6(0x307)](_0x21ff0e)[_0x3d18c6(0x24c)]({'priority':0x14,'interceptor':_0x3d2a05({'maxParallel':0x6})}),(_0xba8a95=this[_0x3d18c6(0x1c3)])!=null&&_0xba8a95['enableOfflineEditing']||this['_injector'][_0x3d18c6(0x307)](z)[_0x3d18c6(0x27d)](),(_0x149675=this[_0x3d18c6(0x1c3)])!=null&&_0x149675[_0x3d18c6(0x1e9)]&&_0x3ab8ae(this[_0x3d18c6(0x3b4)],[[Lt]]),_0x3ab8ae(this[_0x3d18c6(0x3b4)],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,_0x5e3172(0x120),hh),Cs=ah([_0x447968(_0x30e153,_0x284272),_t(0x1,_0xadcc6),_t(0x2,_0x2d7ddc),_t(0x3,_0x1259a7(_0xa6ca3c)),_t(0x4,_0x3a37b7)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};