@univerjs-pro/collaboration-client 0.4.2-nightly.202411061606 → 0.4.2-nightly.202411071606

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 _0x241173=_0x10c7;(function(_0x1da4a2,_0x168c78){const _0x492fd8=_0x10c7,_0x444258=_0x1da4a2();while(!![]){try{const _0x241920=-parseInt(_0x492fd8(0x47e))/0x1*(parseInt(_0x492fd8(0x2a0))/0x2)+parseInt(_0x492fd8(0x4b7))/0x3+parseInt(_0x492fd8(0x2a1))/0x4+-parseInt(_0x492fd8(0x5ba))/0x5*(parseInt(_0x492fd8(0x5b4))/0x6)+parseInt(_0x492fd8(0x222))/0x7*(-parseInt(_0x492fd8(0x55c))/0x8)+parseInt(_0x492fd8(0x1d9))/0x9+parseInt(_0x492fd8(0x2f6))/0xa*(parseInt(_0x492fd8(0x304))/0xb);if(_0x241920===_0x168c78)break;else _0x444258['push'](_0x444258['shift']());}catch(_0x4d40cb){_0x444258['push'](_0x444258['shift']());}}}(_0x411e,0x3e666));var Yi=Object[_0x241173(0x387)],Ki=(_0x54aaf7,_0x290f31,_0x3468a9)=>_0x290f31 in _0x54aaf7?Yi(_0x54aaf7,_0x290f31,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3468a9}):_0x54aaf7[_0x290f31]=_0x3468a9,g=(_0x402fed,_0x3766b7,_0x593602)=>Ki(_0x402fed,typeof _0x3766b7!=_0x241173(0x20d)?_0x3766b7+'':_0x3766b7,_0x593602);import{createIdentifier as _0x917e2b,Inject as _0x1596c5,Disposable as _0x59a5e6,DisposableCollection as _0x3c5213,toDisposable as _0x5252a1,IConfigService as _0x13e361,ILogService as _0x265e7a,UserManagerService as _0x98656f,UniverInstanceType as _0x1d0ba8,IUniverInstanceService as _0xb0f939,LocaleService as _0x48c62d,Optional as _0x164486,RxDisposable as _0x388f6d,Injector as _0x59d577,Tools as _0x55a7da,ILocalStorageService as _0xeb8e97,Rectangle as _0x34664d,ICommandService as _0x289e6f,DOC_RANGE_TYPE as _0x3aef73,JSONX as _0x4013bd,CommandType as _0xb9bad3,IPermissionService as _0x118be4,IUndoRedoService as _0x4007f7,sequenceExecute as _0x357bfc,debounce as _0x46098b,COLORS as _0x5a2aa5,ColorKit as _0x3f96b3,ThemeService as _0x1d15ec,fromEventSubject as _0x733a2f,useDependency as _0x1a7a89,connectInjector as _0x4f87b6,Workbook as _0x24ceab,isInternalEditorID as _0x53c751,LocalUndoRedoService as _0x321970,IContextService as _0x2b51a9,DependentOn as _0x5adef1,Plugin as _0x5f090e,touchDependencies as _0x2f0b1e,IAuthzIoService as _0x1c3331,registerDependencies as _0x34cc1d,mergeOverrideWithDependencies as _0x1476c6}from'@univerjs/core';import{Subject as _0x49f7d1,merge as _0x2434f6,takeUntil as _0x52fe01,BehaviorSubject as _0x76ce31,distinctUntilChanged as _0x541ef5,fromEvent as _0x521190,ReplaySubject as _0x53134c,take as _0x3dc28c,map as _0x4d4651,shareReplay as _0x5477e0,of as _0x11cc12,debounceTime as _0x12bae1,filter as _0x439b24,switchMap as _0x1916ca,combineLatest as _0x4bc3f4,concatMap as _0x3a017f,mapTo as _0x152544}from'rxjs';import{map as _0x47bd8a,take as _0x33b7ed,filter as _0x18ffd4,delay as _0x381eaa,throttleTime as _0x41bf60,takeUntil as _0x2d9b28,switchMap as _0x3d5fa1}from'rxjs/operators';import{MessageType as _0x2b3cbc,Tooltip as _0x2b53c5}from'@univerjs/design';import{IBeforeCloseService as _0x13e741,IMessageService as _0x3ed87c,INotificationService as _0x323c57,useObservable as _0xc736db,BuiltInUIPart as _0x1365ef,IUIPartsService as _0x1bec75}from'@univerjs/ui';import{HTTPService as _0x1eb63d,WebSocketService as _0x30b9d6,MergeInterceptorFactory as _0xdc4057,HTTPRequest as _0x47f7b2,UniverNetworkPlugin as _0x58b47c,ThresholdInterceptorFactory as _0x4274cb}from'@univerjs/network';import{CollaborationEvent as _0x4ac452,parseChangesetToProtocol as _0x30a3b8,ISnapshotServerService as _0x52861,isTransformMutationFailure as _0x3ab926,isTransformMutationsWithChangesetSuccess as _0x18198c,ITransformService as _0x399263,RevisionService as _0x3fbb34,mapDocumentTypeToUniverType as _0x55ef20,isTransformChangesetsSuccess as _0x1ed796,CompressMutationService as _0x2afa86,parseProtocolChangeset as _0x2f0b94,SnapshotService as _0x2abf3b,textEncoder as _0x14de71,b64DecodeUnicode as _0xd5b710,isTransformMutationsWithChangesetFailure as _0x14fd20,UniverCollaborationPlugin as _0x2fe31f}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x21de45}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x510b38,DocStateChangeManagerService as _0xeca7f6,NodePositionConvertToCursor as _0x3c1f90,NodePositionConvertToRectRange as _0x357f75,TEXT_RANGE_LAYER_INDEX as _0x2f37ba,SetDocZoomRatioOperation as _0x5077f1}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x1d5e06,SetSelectionsOperation as _0x28fc2c,InsertSheetMutation as _0x179056,EmptyMutation as _0x157c6e,WorkbookEditablePermission as _0x5e1b31,RefRangeService as _0x902ae,EffectRefRangId as _0x434fab,handleIRemoveRow as _0x521c0b,handleIRemoveCol as _0x464faa,handleMoveRange as _0x14656c,handleInsertRow as _0x2ee68b,handleInsertRangeMoveRight as _0x20aa8f,handleInsertRangeMoveDown as _0x32e319,handleInsertCol as _0x1a98c1,handleDeleteRangeMoveUp as _0x6f08ae,handleDeleteRangeMoveLeft as _0x3610af,runRefRangeMutations as _0x50c0fc,SetWorksheetActivateCommand as _0x14423d}from'@univerjs/sheets';import{IRenderManagerService as _0x3c7872,Shape as _0x59e4ae,Rect as _0x18878f,getColor as _0x593c52,RegularPolygon as _0x45347e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5220cb,Vector2 as _0x26bac9}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x43529d,RichTextEditingMutation as _0x4f4f55,SetTextSelectionsOperation as _0x48e2de,DocSkeletonManagerService as _0x587a0c}from'@univerjs/docs';import{ImageSourceType as _0x2674b5,ImageUploadStatusType as _0x362f80,IImageIoService as _0x2269c7}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x1b8bdd,serializeRangeWithSheet as _0x37ef09}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x24463f,VIEWPORT_KEY as _0x525f3e,getCoordByCell as _0x574c01,getSheetObject as _0x3f7cf8,SheetPermissionInitController as _0x1639dd}from'@univerjs/sheets-ui';import _0xe0d2c9,{forwardRef as _0x173554,useRef as _0x1a1023,createElement as _0x12f758,useCallback as _0x1c4996}from'react';import{IRemoteInstanceService as _0x115e00}from'@univerjs/rpc';const nr=_0x241173(0x3c4),rr=_0x241173(0x23e),or=_0x241173(0x1f3),Bc='SEND_CHANGESET_TIMEOUT',ar=0x7d0,cr='COLLAB_WEB_SOCKET_URL',hr=_0x241173(0x4a8),lr='HEARTBEAT_INTERVAL',_r=0x7530,Ei=_0x241173(0x220),bi=0x4e20,ur=0x4e20,dr=_0x241173(0x3ef),fr=0x3,vr='LOCAL_CACHE_INTERVAL',mr=0x3e8,pr=_0x241173(0x458),gr=_0x241173(0x3ea),Sr=_0x241173(0x446),Ir=_0x241173(0x250);var Ti=(_0x1c3e8d=>(_0x1c3e8d[_0x1c3e8d['UNDEFINED']=0x0]=_0x241173(0x28a),_0x1c3e8d[_0x1c3e8d['OK']=0x1]='OK',_0x1c3e8d[_0x1c3e8d['INTERNAL_ERROR']=0x2]=_0x241173(0x2f7),_0x1c3e8d[_0x1c3e8d['PERMISSION_DENIED']=0x3]=_0x241173(0x4ec),_0x1c3e8d[_0x1c3e8d['NOT_FOUND']=0x4]='NOT_FOUND',_0x1c3e8d[_0x1c3e8d[_0x241173(0x42c)]=0x5]=_0x241173(0x42c),_0x1c3e8d[_0x1c3e8d[_0x241173(0x3e5)]=0x6]='ALREADY_EXISTS',_0x1c3e8d[_0x1c3e8d[_0x241173(0x20b)]=0x7]=_0x241173(0x20b),_0x1c3e8d[_0x1c3e8d[_0x241173(0x361)]=0x8]='TOO_MANY_REQUESTS',_0x1c3e8d[_0x1c3e8d[_0x241173(0x47b)]=0x9]=_0x241173(0x47b),_0x1c3e8d[_0x1c3e8d['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1c3e8d[_0x1c3e8d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1c3e8d[_0x1c3e8d[_0x241173(0x473)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1c3e8d[_0x1c3e8d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x241173(0x327),_0x1c3e8d[_0x1c3e8d[_0x241173(0x597)]=0x1b59]=_0x241173(0x597),_0x1c3e8d[_0x1c3e8d[_0x241173(0x4c1)]=0x1b5a]=_0x241173(0x4c1),_0x1c3e8d[_0x1c3e8d[_0x241173(0x2a9)]=0x1b5b]=_0x241173(0x2a9),_0x1c3e8d[_0x1c3e8d[_0x241173(0x532)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1c3e8d[_0x1c3e8d[_0x241173(0x256)]=0x1b5d]=_0x241173(0x256),_0x1c3e8d[_0x1c3e8d[_0x241173(0x25e)]=0x1f41]=_0x241173(0x25e),_0x1c3e8d[_0x1c3e8d[_0x241173(0x3bc)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1c3e8d[_0x1c3e8d[_0x241173(0x1da)]=0x232a]=_0x241173(0x1da),_0x1c3e8d[_0x1c3e8d[_0x241173(0x428)]=0x232b]=_0x241173(0x428),_0x1c3e8d[_0x1c3e8d[_0x241173(0x4ce)]=0x232c]=_0x241173(0x4ce),_0x1c3e8d[_0x1c3e8d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x241173(0x58b),_0x1c3e8d[_0x1c3e8d[_0x241173(0x4ea)]=0x2711]=_0x241173(0x4ea),_0x1c3e8d[_0x1c3e8d[_0x241173(0x57d)]=0x2712]=_0x241173(0x57d),_0x1c3e8d[_0x1c3e8d[_0x241173(0x1e3)]=0x2713]=_0x241173(0x1e3),_0x1c3e8d[_0x1c3e8d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x241173(0x301),_0x1c3e8d[_0x1c3e8d[_0x241173(0x5b5)]=-0x1]=_0x241173(0x5b5),_0x1c3e8d))(Ti||{}),ce=(_0x524e40=>(_0x524e40[_0x524e40[_0x241173(0x24b)]=0x0]=_0x241173(0x24b),_0x524e40[_0x524e40[_0x241173(0x209)]=0x1]=_0x241173(0x209),_0x524e40[_0x524e40[_0x241173(0x372)]=0x2]=_0x241173(0x372),_0x524e40[_0x524e40[_0x241173(0x435)]=0x3]=_0x241173(0x435),_0x524e40[_0x524e40[_0x241173(0x399)]=0x4]=_0x241173(0x399),_0x524e40[_0x524e40[_0x241173(0x5b5)]=-0x1]='UNRECOGNIZED',_0x524e40))(ce||{}),W=(_0x221069=>(_0x221069[_0x221069['UNKNOWN_CMD']=0x0]=_0x241173(0x34e),_0x221069[_0x221069[_0x241173(0x251)]=0x1]=_0x241173(0x251),_0x221069[_0x221069[_0x241173(0x1e5)]=0x2]=_0x241173(0x1e5),_0x221069[_0x221069[_0x241173(0x234)]=0x3]=_0x241173(0x234),_0x221069[_0x221069[_0x241173(0x1e6)]=0x4]=_0x241173(0x1e6),_0x221069[_0x221069[_0x241173(0x36d)]=0x5]='HEARTBEAT',_0x221069[_0x221069['RECV']=0x6]='RECV',_0x221069[_0x221069[_0x241173(0x5b5)]=-0x1]=_0x241173(0x5b5),_0x221069))(W||{}),Ss=(_0x57d822=>(_0x57d822[_0x57d822[_0x241173(0x465)]=0x0]=_0x241173(0x465),_0x57d822[_0x57d822['OK']=0x1]='OK',_0x57d822[_0x57d822['FAIL']=0x2]=_0x241173(0x4dc),_0x57d822[_0x57d822[_0x241173(0x5b5)]=-0x1]=_0x241173(0x5b5),_0x57d822))(Ss||{}),Ri=(_0x7a153=>(_0x7a153[_0x7a153[_0x241173(0x2cd)]=0x0]=_0x241173(0x2cd),_0x7a153[_0x7a153[_0x241173(0x59c)]=0x1]=_0x241173(0x59c),_0x7a153[_0x7a153[_0x241173(0x1ee)]=0x2]=_0x241173(0x1ee),_0x7a153[_0x7a153['UnitEmbedded']=0x3]='UnitEmbedded',_0x7a153[_0x7a153[_0x241173(0x22e)]=0x4]='UnitSnapshot',_0x7a153[_0x7a153[_0x241173(0x5b5)]=-0x1]=_0x241173(0x5b5),_0x7a153))(Ri||{});const ie=_0x241173(0x224),Cr={};function Er(_0x54fdd4){const _0x11f084=_0x241173;var _0x58e32,_0x35acfe,_0x248b25,_0x44e960,_0x187c83;const _0xdf16ac=_0x54fdd4[_0x11f084(0x498)],_0x4a9d8f=JSON[_0x11f084(0x527)](_0xdf16ac);switch(_0x4a9d8f[_0x11f084(0x364)]){case W['HEARTBEAT']:case W[_0x11f084(0x251)]:{const _0x2fad5b=_0x4a9d8f[_0x11f084(0x42d)];return{..._0x4a9d8f,'data':_0x2fad5b,'cmd':_0x4a9d8f[_0x11f084(0x364)]};}case W[_0x11f084(0x1e5)]:{const _0x5343d6=_0x4a9d8f[_0x11f084(0x423)];return{..._0x4a9d8f,'data':_0x5343d6,'cmd':_0x4a9d8f[_0x11f084(0x364)]};}case W['RECV']:{const _0x603367=_0x4a9d8f[_0x11f084(0x289)];switch(_0x603367[_0x11f084(0x4df)]){case _0x4ac452[_0x11f084(0x3d6)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':(_0x58e32=_0x603367['permissionRejEvent'])==null?void 0x0:_0x58e32['cs']},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452['CHANGESET_ACK']:return{..._0x4a9d8f,'data':{..._0x603367,'data':(_0x35acfe=_0x603367[_0x11f084(0x408)])==null?void 0x0:_0x35acfe['cs']},'cmd':_0x4a9d8f['cmd']};case _0x4ac452[_0x11f084(0x1eb)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':(_0x248b25=_0x603367[_0x11f084(0x41d)])==null?void 0x0:_0x248b25['cs']},'cmd':_0x4a9d8f['cmd']};case _0x4ac452[_0x11f084(0x247)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':(_0x44e960=_0x603367[_0x11f084(0x3ad)])==null?void 0x0:_0x44e960['cs']},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x3ab)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':(_0x187c83=_0x603367[_0x11f084(0x54f)])==null?void 0x0:_0x187c83['cs']},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x589)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367['updateCursorEvent']},'cmd':_0x4a9d8f['cmd']};case _0x4ac452[_0x11f084(0x50e)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367['joinEvent']},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x436)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367[_0x11f084(0x575)]},'cmd':_0x4a9d8f['cmd']};case _0x4ac452[_0x11f084(0x46d)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367[_0x11f084(0x467)]},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x5a4)]:case _0x4ac452[_0x11f084(0x29b)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367[_0x11f084(0x488)]},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x4c8)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367[_0x11f084(0x467)]},'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x480)]:return{..._0x4a9d8f,'data':_0x603367,'cmd':_0x4a9d8f[_0x11f084(0x364)]};case _0x4ac452[_0x11f084(0x475)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367['commentUpdateEvent']},'cmd':_0x4a9d8f['cmd']};case _0x4ac452['UPDATE_PERMISSION_OBJ']:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367[_0x11f084(0x5b7)]},'cmd':_0x4a9d8f['cmd']};case _0x4ac452[_0x11f084(0x24e)]:return{..._0x4a9d8f,'data':{..._0x603367,'data':_0x603367[_0x11f084(0x200)]},'cmd':_0x4a9d8f[_0x11f084(0x364)]};default:return _0x4a9d8f;}}default:return _0x4a9d8f;}}function br(_0x1a1db7){const _0x5ebb98=_0x241173;switch(_0x1a1db7[_0x5ebb98(0x364)]){case W[_0x5ebb98(0x36d)]:case W[_0x5ebb98(0x251)]:return JSON[_0x5ebb98(0x4aa)]({'cmd':_0x1a1db7['cmd'],'routeKey':_0x1a1db7[_0x5ebb98(0x3ee)]});case W[_0x5ebb98(0x1e6)]:{let _0x3add3f;switch(_0x1a1db7['data']['eventID']){case _0x4ac452[_0x5ebb98(0x589)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x589)],'updateCursorEvent':_0x1a1db7[_0x5ebb98(0x498)][_0x5ebb98(0x498)]};break;}case _0x4ac452[_0x5ebb98(0x436)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x436)],'leaveEvent':_0x1a1db7[_0x5ebb98(0x498)][_0x5ebb98(0x498)]};break;}case _0x4ac452[_0x5ebb98(0x50e)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x50e)],'joinEvent':_0x1a1db7[_0x5ebb98(0x498)]['data']};break;}case _0x4ac452[_0x5ebb98(0x46d)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x46d)],'liveShareNewHost':_0x1a1db7['data']['data']};break;}case _0x4ac452[_0x5ebb98(0x29b)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x29b)],'liveShareOperation':_0x1a1db7[_0x5ebb98(0x498)][_0x5ebb98(0x498)]};break;}case _0x4ac452[_0x5ebb98(0x4c8)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x4c8)],'liveShareTerminate':_0x1a1db7['data'][_0x5ebb98(0x498)]};break;}case _0x4ac452[_0x5ebb98(0x1d3)]:{_0x3add3f={'eventID':_0x4ac452['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1a1db7['data'][_0x5ebb98(0x498)]};break;}case _0x4ac452[_0x5ebb98(0x5a4)]:{_0x3add3f={'eventID':_0x4ac452[_0x5ebb98(0x5a4)]};break;}default:_0x3add3f={'eventID':_0x1a1db7[_0x5ebb98(0x498)]['eventID']};}return JSON[_0x5ebb98(0x4aa)]({'cmd':_0x1a1db7['cmd'],'routeKey':_0x1a1db7['routeKey'],'collaMsg':_0x3add3f});}case W[_0x5ebb98(0x1e5)]:return JSON[_0x5ebb98(0x4aa)]({'cmd':_0x1a1db7[_0x5ebb98(0x364)],'routeKey':_0x1a1db7[_0x5ebb98(0x3ee)],'joinReq':_0x1a1db7[_0x5ebb98(0x498)]});case W['LEAVE']:return JSON[_0x5ebb98(0x4aa)]({'cmd':_0x1a1db7[_0x5ebb98(0x364)],'routeKey':_0x1a1db7[_0x5ebb98(0x3ee)],'leaveReq':_0x1a1db7[_0x5ebb98(0x498)]});default:throw new Error(_0x5ebb98(0x4f7));}}var Tr=Object[_0x241173(0x387)],Rr=Object[_0x241173(0x2fb)],yr=(_0x32a06c,_0x12f78b,_0x1eb3a3,_0x57ba1c)=>{const _0x4c9f9f=_0x241173;for(var _0xed871a=_0x57ba1c>0x1?void 0x0:_0x57ba1c?Rr(_0x12f78b,_0x1eb3a3):_0x12f78b,_0x123f51=_0x32a06c[_0x4c9f9f(0x32c)]-0x1,_0x191865;_0x123f51>=0x0;_0x123f51--)(_0x191865=_0x32a06c[_0x123f51])&&(_0xed871a=(_0x57ba1c?_0x191865(_0x12f78b,_0x1eb3a3,_0xed871a):_0x191865(_0xed871a))||_0xed871a);return _0x57ba1c&&_0xed871a&&Tr(_0x12f78b,_0x1eb3a3,_0xed871a),_0xed871a;},qe=(_0x1b9e88,_0x463d7d)=>(_0x1da2f8,_0x36582a)=>_0x463d7d(_0x1da2f8,_0x36582a,_0x1b9e88);const yi=_0x917e2b(_0x241173(0x2de));function Or(_0x440576,_0x5e65a9,_0x315601){const _0x454d8d=_0x241173;return _0x440576+'/'+_0x5e65a9+_0x454d8d(0x337)+_0x315601+_0x454d8d(0x2fc);}let Qt=class extends _0x59a5e6{constructor(_0x5633bb,_0x536bb6,_0x2f3cad,_0x8e408,_0x172217){const _0x348272=_0x241173;super(),this[_0x348272(0x35b)]=_0x5633bb,this[_0x348272(0x5a5)]=_0x536bb6,this[_0x348272(0x3aa)]=_0x2f3cad,this[_0x348272(0x318)]=_0x8e408,this[_0x348272(0x510)]=_0x172217;}['createSocket'](_0xe1c837){const _0x1b0048=_0x241173,_0x10b465=this[_0x1b0048(0x5a5)][_0x1b0048(0x562)](_0xe1c837);if(!_0x10b465)throw new Error(_0x1b0048(0x5b1));const _0x205566=new _0x3c5213(),_0x1ec158=new _0x49f7d1();_0x205566[_0x1b0048(0x569)](_0x10b465[_0x1b0048(0x2c6)][_0x1b0048(0x31f)](_0x502f45=>_0x1ec158[_0x1b0048(0x5b0)](_0x502f45))),_0x205566[_0x1b0048(0x569)](_0x5252a1(()=>_0x1ec158[_0x1b0048(0x54a)]()));const _0x31bab4=new _0x49f7d1();_0x205566['add'](_0x10b465[_0x1b0048(0x285)][_0x1b0048(0x31f)](_0xfc3f7d=>_0x31bab4[_0x1b0048(0x5b0)](_0xfc3f7d))),_0x205566[_0x1b0048(0x569)](_0x5252a1(()=>_0x31bab4[_0x1b0048(0x54a)]()));const _0x2f99db=new _0x49f7d1();_0x205566[_0x1b0048(0x569)](_0x10b465[_0x1b0048(0x5a7)][_0x1b0048(0x31f)](_0x32c9e4=>{const _0x28674a=_0x1b0048,_0x1fc1c=Er(_0x32c9e4);_0x2f99db[_0x28674a(0x5b0)](_0x1fc1c);})),_0x205566[_0x1b0048(0x569)](_0x5252a1(()=>_0x2f99db[_0x1b0048(0x54a)]()));let _0x1f577c;const _0xabc88e=()=>{const _0x434fbe=_0x1b0048;_0x31bab4['next'](new Event(_0x434fbe(0x439))),_0x1ec158[_0x434fbe(0x5b0)](new CloseEvent(_0x434fbe(0x439))),_0x1f577c['close']();};return _0x1f577c={'memberID':'','close$':_0x1ec158['asObservable'](),'error$':_0x31bab4[_0x1b0048(0x1d7)](),'open$':_0x10b465[_0x1b0048(0x3a6)],'message$':_0x2f99db[_0x1b0048(0x1d7)](),'send':_0x486e08=>{const _0x17aeaf=_0x1b0048;if(_0x486e08[_0x17aeaf(0x364)]===W['INGEST']){if(_0x486e08[_0x17aeaf(0x498)]['eventID']===_0x4ac452[_0x17aeaf(0x530)]){this[_0x17aeaf(0x2c5)](_0x1f577c,_0x486e08['data'])[_0x17aeaf(0x29e)](_0x440994=>{const _0x5c1459=_0x17aeaf;this['_logService'][_0x5c1459(0x4e3)](_0x440994),_0xabc88e();});return;}if(_0x486e08[_0x17aeaf(0x498)][_0x17aeaf(0x4df)]===_0x4ac452[_0x17aeaf(0x411)]){const _0x411753=_0x486e08[_0x17aeaf(0x498)];this[_0x17aeaf(0x486)](_0x411753)[_0x17aeaf(0x27c)](_0x511f97=>{const _0xe1865c=_0x17aeaf;_0x2f99db[_0xe1865c(0x5b0)]({'cmd':W['RECV'],'code':Ss['OK'],'routeKey':_0x411753['data'][_0xe1865c(0x4a0)],'routeType':'','data':{'eventID':_0x4ac452[_0xe1865c(0x379)],'data':{'changesets':_0x511f97}}});})['catch'](_0x927709=>{const _0x332045=_0x17aeaf;this['_logService'][_0x332045(0x4e3)](_0x927709),_0xabc88e();});return;}}_0x10b465[_0x17aeaf(0x36e)](br(_0x486e08));},'close':()=>{const _0x4f356f=_0x1b0048;_0x10b465['close'](),_0x205566[_0x4f356f(0x58a)]();}},_0x1f577c;}async[_0x241173(0x2c5)](_0x323824,_0x5c3706){const _0x34eb6f=_0x241173;var _0x494a33,_0xab433f;const {unitType:_0x37950b,unitID:_0x4cadad,changeset:_0x3f07e0}=_0x5c3706[_0x34eb6f(0x498)],_0xdf9804={'unitID':_0x4cadad,'memberID':_0x323824[_0x34eb6f(0x2b4)],'type':_0x37950b,'changeset':_0x30a3b8(_0x3f07e0)},_0x2acfa7=this[_0x34eb6f(0x3aa)][_0x34eb6f(0x561)](pr),_0x165fb0=this[_0x34eb6f(0x3aa)][_0x34eb6f(0x561)](ie),_0x160b5b=Or((_0xab433f=(_0x494a33=_0x165fb0==null?void 0x0:_0x165fb0[_0x34eb6f(0x2ee)])!=null?_0x494a33:_0x2acfa7)!=null?_0xab433f:gr,_0x37950b,_0x4cadad);try{await this['_http'][_0x34eb6f(0x320)](_0x160b5b,{'body':_0xdf9804});}catch(_0x36c522){throw this[_0x34eb6f(0x318)]['error'](_0x34eb6f(0x4a5),_0x34eb6f(0x32f)),_0x36c522;}}async[_0x241173(0x486)](_0x2f3baf){const _0x572cd5=_0x241173,{unitID:_0x1ceef1,from:_0x569ce8,to:_0x1eb8b3,unitType:_0xffc44e}=_0x2f3baf[_0x572cd5(0x498)];return(await this[_0x572cd5(0x510)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1ceef1,'type':_0xffc44e,'from':_0x569ce8,'to':_0x1eb8b3}))[_0x572cd5(0x5a3)];}};Qt=yr([qe(0x0,_0x1596c5(_0x1eb63d)),qe(0x1,_0x1596c5(_0x30b9d6)),qe(0x2,_0x13e361),qe(0x3,_0x265e7a),qe(0x4,_0x52861)],Qt);const wr=_0x241173(0x430);function Dr(_0x50ade5){return JSON['stringify'](_0x50ade5)['length'];}class Oi{constructor(){const _0x15d844=_0x241173;g(this,_0x15d844(0x3b8),new _0x49f7d1()),g(this,_0x15d844(0x2db),this['_commentUpdate$']['asObservable']());}[_0x241173(0x45b)](_0x190d99){const _0x53dad8=_0x241173;this[_0x53dad8(0x3b8)][_0x53dad8(0x5b0)](_0x190d99);}}var Pr=Object[_0x241173(0x387)],Ur=Object['getOwnPropertyDescriptor'],Nr=(_0x5d52a3,_0x187967,_0x4432c8,_0x35bb55)=>{const _0x12f211=_0x241173;for(var _0x4afc83=_0x35bb55>0x1?void 0x0:_0x35bb55?Ur(_0x187967,_0x4432c8):_0x187967,_0x15b6c5=_0x5d52a3[_0x12f211(0x32c)]-0x1,_0x2ceb26;_0x15b6c5>=0x0;_0x15b6c5--)(_0x2ceb26=_0x5d52a3[_0x15b6c5])&&(_0x4afc83=(_0x35bb55?_0x2ceb26(_0x187967,_0x4432c8,_0x4afc83):_0x2ceb26(_0x4afc83))||_0x4afc83);return _0x35bb55&&_0x4afc83&&Pr(_0x187967,_0x4432c8,_0x4afc83),_0x4afc83;},$s=(_0x2726be,_0x1371e7)=>(_0x44cd9f,_0x35bea1)=>_0x1371e7(_0x44cd9f,_0x35bea1,_0x2726be);let Ne=class extends _0x59a5e6{constructor(_0x1f3040,_0x172e40){const _0x419d1b=_0x241173;super(),g(this,_0x419d1b(0x236),new Map()),(this['_univerInstanceService']=_0x1f3040,this[_0x419d1b(0x515)]=_0x172e40,this[_0x419d1b(0x210)](_0x5252a1(_0x2434f6(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1d0ba8['UNIVER_SHEET'])[_0x419d1b(0x391)](_0x47bd8a(_0x31c2fd=>_0x31c2fd[_0x419d1b(0x2d3)]())),this[_0x419d1b(0x518)][_0x419d1b(0x524)](_0x1d0ba8['UNIVER_DOC'])[_0x419d1b(0x391)](_0x47bd8a(_0x1c9394=>_0x1c9394['getUnitId']())),this['_univerInstanceService'][_0x419d1b(0x524)](_0x1d0ba8[_0x419d1b(0x435)])[_0x419d1b(0x391)](_0x47bd8a(_0x34fc66=>_0x34fc66[_0x419d1b(0x2d3)]())))['subscribe'](_0x29dbb2=>this['_removeRoom'](_0x29dbb2)))));}[_0x241173(0x3b9)](_0x28c370){this['_userManagerService']['setCurrentUser'](_0x28c370);}['getCurrentUser'](){const _0x34a45d=_0x241173;return this[_0x34a45d(0x515)][_0x34a45d(0x1f1)]();}['updateMember'](_0xab9a44,_0x2752cb){const _0xa11f15=_0x241173;let _0x3c97a1=this['_roomMembers'][_0xa11f15(0x241)](_0xab9a44);_0x3c97a1||(_0x3c97a1=new Ar(),this[_0xa11f15(0x236)][_0xa11f15(0x4e4)](_0xab9a44,_0x3c97a1)),_0x3c97a1[_0xa11f15(0x1d0)](_0x2752cb);}[_0x241173(0x3f0)](_0x1ccb4e,_0x135078){const _0x366533=_0x241173,_0x10a682=this[_0x366533(0x236)]['get'](_0x1ccb4e);_0x10a682&&_0x10a682[_0x366533(0x3f0)](_0x135078);}[_0x241173(0x520)](_0x15542a){const _0x1744cf=_0x241173;return this[_0x1744cf(0x236)][_0x1744cf(0x241)](_0x15542a);}['getMember'](_0x160cf6,_0x13750a){const _0x1d104c=_0x241173,_0x1e41b4=this[_0x1d104c(0x236)]['get'](_0x160cf6);if(_0x1e41b4)return _0x1e41b4[_0x1d104c(0x3b1)](_0x13750a);}['_removeRoom'](_0xa8cc8f){const _0x1b0c8e=_0x241173,_0x55d9dc=this[_0x1b0c8e(0x236)][_0x1b0c8e(0x241)](_0xa8cc8f);_0x55d9dc&&(_0x55d9dc['dispose'](),this[_0x1b0c8e(0x236)][_0x1b0c8e(0x2d7)](_0xa8cc8f));}['dispose'](){const _0x2df598=_0x241173;this[_0x2df598(0x236)][_0x2df598(0x2e5)](_0xf69c1d=>_0xf69c1d[_0x2df598(0x58a)]()),this['_roomMembers'][_0x2df598(0x4a9)]();}};Ne=Nr([$s(0x0,_0xb0f939),$s(0x1,_0x1596c5(_0x98656f))],Ne);class Ar extends _0x59a5e6{constructor(){const _0x56f5ee=_0x241173;super(...arguments),g(this,_0x56f5ee(0x536),new Map());}[_0x241173(0x58a)](){const _0x732487=_0x241173;this[_0x732487(0x536)][_0x732487(0x4a9)]();}['updateMember'](_0x316328){const _0x458811=_0x241173;this[_0x458811(0x536)][_0x458811(0x4e4)](_0x316328[_0x458811(0x2b4)],_0x316328);}[_0x241173(0x3f0)](_0x1e5d88){const _0x65407c=_0x241173;this[_0x65407c(0x536)][_0x65407c(0x2d7)](_0x1e5d88);}[_0x241173(0x3b1)](_0x1aa886){const _0x28c56c=_0x241173;return this[_0x28c56c(0x536)][_0x28c56c(0x241)](_0x1aa886);}['getAllMembers'](){const _0x46fdf7=_0x241173;return Array[_0x46fdf7(0x3f8)](this[_0x46fdf7(0x536)][_0x46fdf7(0x571)]());}}var Mr=Object['defineProperty'],xr=Object[_0x241173(0x2fb)],Lr=(_0x2cda23,_0x4cccf3,_0x121e91,_0x4d9a2d)=>{const _0x37f4b2=_0x241173;for(var _0x4e74cc=_0x4d9a2d>0x1?void 0x0:_0x4d9a2d?xr(_0x4cccf3,_0x121e91):_0x4cccf3,_0x3872d0=_0x2cda23[_0x37f4b2(0x32c)]-0x1,_0x5291cf;_0x3872d0>=0x0;_0x3872d0--)(_0x5291cf=_0x2cda23[_0x3872d0])&&(_0x4e74cc=(_0x4d9a2d?_0x5291cf(_0x4cccf3,_0x121e91,_0x4e74cc):_0x5291cf(_0x4e74cc))||_0x4e74cc);return _0x4d9a2d&&_0x4e74cc&&Mr(_0x4cccf3,_0x121e91,_0x4e74cc),_0x4e74cc;},Ee=(_0x42bcab,_0x11d1ad)=>(_0x5bb1ee,_0x7910f9)=>_0x11d1ad(_0x5bb1ee,_0x7910f9,_0x42bcab),ve=(_0x1363f6=>(_0x1363f6[_0x1363f6[_0x241173(0x202)]=0x0]='IDLE',_0x1363f6[_0x1363f6['JOINING']=0x1]=_0x241173(0x5a8),_0x1363f6[_0x1363f6[_0x241173(0x1d6)]=0x2]='OFFLINE',_0x1363f6[_0x1363f6[_0x241173(0x521)]=0x3]=_0x241173(0x521),_0x1363f6))(ve||{});let es=class extends _0x388f6d{constructor(_0x3ee4be,_0x487535,_0x255f82,_0x3c6691,_0x8704af,_0x426542,_0x3f45e8,_0x42cfbc,_0x190ff7,_0x52e0ad){const _0x1b5f17=_0x241173;super(),g(this,'_sessionStatus$',new _0x76ce31(0x0)),g(this,'sessionStatus$',this[_0x1b5f17(0x434)]['asObservable']()),g(this,_0x1b5f17(0x2da),new _0x49f7d1()),g(this,_0x1b5f17(0x2cb),this[_0x1b5f17(0x2da)]['asObservable']()),g(this,_0x1b5f17(0x388)),g(this,'_socketMessageSubscription'),g(this,_0x1b5f17(0x1f8)),g(this,'_shouldReportTelemetry',!0x1),g(this,'_telemetryInfo',null),(this[_0x1b5f17(0x26e)]=_0x3ee4be,this[_0x1b5f17(0x318)]=_0x255f82,this['_beforeCloseService']=_0x3c6691,this[_0x1b5f17(0x53a)]=_0x8704af,this[_0x1b5f17(0x3aa)]=_0x426542,this['_localeService']=_0x3f45e8,this[_0x1b5f17(0x281)]=_0x42cfbc,this[_0x1b5f17(0x45e)]=_0x190ff7,this[_0x1b5f17(0x36b)]=_0x52e0ad,this[_0x1b5f17(0x2e9)]=!!this[_0x1b5f17(0x36b)],_0x487535[_0x1b5f17(0x391)](_0x52fe01(this[_0x1b5f17(0x448)]))['subscribe'](_0x20f2be=>{const _0x5b52fb=_0x1b5f17;var _0xb05a45;typeof _0x20f2be>'u'||(this[_0x5b52fb(0x388)]=_0x20f2be,_0x20f2be?(this['_joinRoom'](_0x20f2be),this[_0x5b52fb(0x1c5)]=_0x20f2be['message$'][_0x5b52fb(0x31f)](_0x402aab=>{const _0x712d9a=_0x5b52fb;_0x402aab['routeKey']===this[_0x712d9a(0x26e)]&&this[_0x712d9a(0x1d2)](_0x402aab);})):(this[_0x5b52fb(0x5b6)](),this[_0x5b52fb(0x434)]['next'](0x2),(_0xb05a45=this[_0x5b52fb(0x1c5)])==null||_0xb05a45[_0x5b52fb(0x4e0)](),this[_0x5b52fb(0x1c5)]=null));}),this[_0x1b5f17(0x210)](this['_beforeCloseService'][_0x1b5f17(0x239)](()=>{const _0x331427=_0x1b5f17;var _0x46727;(_0x46727=this[_0x331427(0x388)])==null||_0x46727[_0x331427(0x36e)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x331427(0x26e)]}});})));}get[_0x241173(0x5c8)](){const _0x47257b=_0x241173;return this[_0x47257b(0x434)][_0x47257b(0x28f)]();}[_0x241173(0x425)](){const _0x552bca=_0x241173;var _0x15ba32,_0x4d8fe8;return(_0x4d8fe8=(_0x15ba32=this[_0x552bca(0x388)])==null?void 0x0:_0x15ba32[_0x552bca(0x2b4)])!=null?_0x4d8fe8:null;}[_0x241173(0x58a)](){const _0x27b240=_0x241173;super['dispose'](),this[_0x27b240(0x448)][_0x27b240(0x5b0)](),this['dispose$']['complete']();}[_0x241173(0x386)](){const _0x6a01f1=_0x241173;var _0x48b003,_0x34f49c;this[_0x6a01f1(0x5b6)](),(_0x48b003=this[_0x6a01f1(0x388)])==null||_0x48b003[_0x6a01f1(0x36e)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x6a01f1(0x26e)]}}),(_0x34f49c=this[_0x6a01f1(0x388)])==null||_0x34f49c[_0x6a01f1(0x386)](),this['_event$'][_0x6a01f1(0x54a)](),this['_sessionStatus$'][_0x6a01f1(0x54a)](),this[_0x6a01f1(0x58a)]();}['_onCombEvent'](_0x56c2bf){const _0x18db4f=_0x241173;_0x56c2bf[_0x18db4f(0x364)]===W['JOIN']?this[_0x18db4f(0x4f1)](_0x56c2bf):_0x56c2bf[_0x18db4f(0x364)]===W[_0x18db4f(0x4e2)]&&this[_0x18db4f(0x235)](_0x56c2bf);}['_joinRoom'](_0x1085f4){const _0x10f69b=_0x241173;this['_sessionStatus$'][_0x10f69b(0x5b0)](0x1),_0x1085f4['send']({'cmd':W['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0xe59dc8){const _0x173d0a=_0x241173;var _0x432128;if(_0xe59dc8[_0x173d0a(0x464)]===Ss[_0x173d0a(0x4dc)]){this[_0x173d0a(0x53a)][_0x173d0a(0x348)]({'type':_0x2b3cbc['Warning'],'content':this[_0x173d0a(0x30a)]['t'](_0x173d0a(0x56c))}),this[_0x173d0a(0x434)][_0x173d0a(0x5b0)](0x2);return;}this[_0x173d0a(0x434)][_0x173d0a(0x5b0)](0x3);const _0x7ea4ce=(_0x432128=_0xe59dc8[_0x173d0a(0x498)][_0x173d0a(0x4b6)][this[_0x173d0a(0x26e)]])==null?void 0x0:_0x432128[_0x173d0a(0x25c)];_0x7ea4ce&&_0x7ea4ce['forEach'](_0x3b261f=>this['_memberService'][_0x173d0a(0x1d0)](this[_0x173d0a(0x26e)],_0x3b261f));}['_onRecvEvent'](_0x2a241b){const _0x5ab060=_0x241173;try{const _0x1558a5=_0x2a241b['data'];switch(_0x1558a5['eventID']){case _0x4ac452[_0x5ab060(0x50e)]:this[_0x5ab060(0x457)](_0x1558a5),this['_event$'][_0x5ab060(0x5b0)](_0x1558a5);break;case _0x4ac452[_0x5ab060(0x436)]:this[_0x5ab060(0x4fd)](_0x1558a5),this[_0x5ab060(0x2da)][_0x5ab060(0x5b0)](_0x1558a5);break;case _0x4ac452['CHANGESET_ACK']:case _0x4ac452[_0x5ab060(0x3ab)]:this[_0x5ab060(0x2c9)](),this[_0x5ab060(0x36a)](),this[_0x5ab060(0x2da)][_0x5ab060(0x5b0)](_0x1558a5);break;case _0x4ac452[_0x5ab060(0x480)]:this['_logService'][_0x5ab060(0x4e3)](_0x5ab060(0x538)+JSON[_0x5ab060(0x4aa)](_0x1558a5)),this['_event$']['next'](_0x1558a5);break;case _0x4ac452[_0x5ab060(0x475)]:this['_commentService'][_0x5ab060(0x45b)](_0x1558a5[_0x5ab060(0x498)]),this['_event$'][_0x5ab060(0x5b0)](_0x1558a5);break;default:this[_0x5ab060(0x2da)][_0x5ab060(0x5b0)](_0x1558a5);}}catch(_0x54dfbf){this[_0x5ab060(0x318)][_0x5ab060(0x4e3)](_0x54dfbf,_0x2a241b);}}[_0x241173(0x457)](_0x4e85e0){const _0x58f4a8=_0x241173;this[_0x58f4a8(0x281)][_0x58f4a8(0x1d0)](this[_0x58f4a8(0x26e)],_0x4e85e0['data']);}['_onUserLeave'](_0x38aab6){const _0x58dfa8=_0x241173;this[_0x58dfa8(0x281)]['removeMember'](this[_0x58dfa8(0x26e)],_0x38aab6[_0x58dfa8(0x498)][_0x58dfa8(0x2b4)]);}async[_0x241173(0x36e)](_0x30b66f,_0x53703f){const _0x2d5573=_0x241173;if(this[_0x2d5573(0x5c8)]!==0x3||!this[_0x2d5573(0x388)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x30b66f[_0x2d5573(0x4df)]===_0x4ac452[_0x2d5573(0x530)]&&(this[_0x2d5573(0x4fa)](),this['_startTelemetryCollaborationNewChangeset'](_0x30b66f)),this[_0x2d5573(0x388)][_0x2d5573(0x36e)]({'cmd':W['INGEST'],'routeKey':_0x53703f,'routeType':'','data':_0x30b66f});}catch(_0x5c08b3){this['_logService'][_0x2d5573(0x4e3)](_0x5c08b3);}}['_scheduleCollaborationTimeoutTimer'](){const _0x1e8ce2=_0x241173;var _0x2b62f4;this[_0x1e8ce2(0x1f8)]=window['setTimeout'](()=>{const _0x440193=_0x1e8ce2;this['_collaborationTimeoutTimer']=null,this[_0x440193(0x53a)][_0x440193(0x348)]({'type':_0x2b3cbc['Error'],'content':this[_0x440193(0x30a)]['t'](_0x440193(0x59d))});},(_0x2b62f4=this[_0x1e8ce2(0x3aa)][_0x1e8ce2(0x561)](Ei))!=null?_0x2b62f4:bi);}['_clearCollaborationTimeoutTimer'](){const _0x535ef9=_0x241173;this[_0x535ef9(0x1f8)]&&(clearTimeout(this[_0x535ef9(0x1f8)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x31d56c){const _0x3f3e2d=_0x241173;if(!this['_shouldReportTelemetry'])return;const {data:_0x3018ee}=_0x31d56c,{unitID:_0x1dd10c,changeset:_0x152309}=_0x3018ee,{mutations:_0x252274,type:_0x28f672}=_0x152309;this['_telemetryInfo']={'unitId':_0x1dd10c,'type':_0x28f672,'startTime':performance[_0x3f3e2d(0x208)](),'stopTime':0x0,'duration':0x0,'size':Dr(_0x252274)};}[_0x241173(0x2c9)](){const _0x4a50c5=_0x241173;if(this[_0x4a50c5(0x2e9)]){if(!this[_0x4a50c5(0x3de)]){this[_0x4a50c5(0x318)][_0x4a50c5(0x4e3)](_0x4a50c5(0x4a5),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x4a50c5(0x2ad)]=performance[_0x4a50c5(0x208)](),this[_0x4a50c5(0x3de)][_0x4a50c5(0x397)]=this['_telemetryInfo']['stopTime']-this[_0x4a50c5(0x3de)]['startTime'],this['_telemetryService'][_0x4a50c5(0x4ab)](wr,this[_0x4a50c5(0x3de)]),this['_telemetryInfo']=null;}}[_0x241173(0x5b6)](){const _0x43805e=_0x241173;this[_0x43805e(0x3de)]=null;}};es=Lr([Ee(0x2,_0x265e7a),Ee(0x3,_0x13e741),Ee(0x4,_0x3ed87c),Ee(0x5,_0x13e361),Ee(0x6,_0x1596c5(_0x48c62d)),Ee(0x7,_0x1596c5(Ne)),Ee(0x8,_0x1596c5(Oi)),Ee(0x9,_0x164486(_0x21de45))],es);var $r=Object[_0x241173(0x387)],Hr=Object[_0x241173(0x2fb)],jr=(_0xeaa9f,_0x3a6e54,_0x67c979,_0x3ca9fb)=>{const _0x16d3bc=_0x241173;for(var _0x2dba09=_0x3ca9fb>0x1?void 0x0:_0x3ca9fb?Hr(_0x3a6e54,_0x67c979):_0x3a6e54,_0xb3a38a=_0xeaa9f[_0x16d3bc(0x32c)]-0x1,_0x5dc598;_0xb3a38a>=0x0;_0xb3a38a--)(_0x5dc598=_0xeaa9f[_0xb3a38a])&&(_0x2dba09=(_0x3ca9fb?_0x5dc598(_0x3a6e54,_0x67c979,_0x2dba09):_0x5dc598(_0x2dba09))||_0x2dba09);return _0x3ca9fb&&_0x2dba09&&$r(_0x3a6e54,_0x67c979,_0x2dba09),_0x2dba09;},je=(_0x90b0a0,_0x37f00d)=>(_0x13c812,_0x352ceb)=>_0x37f00d(_0x13c812,_0x352ceb,_0x90b0a0);let Ae=class extends _0x59a5e6{constructor(_0x230969,_0x2f0761,_0x3eb247,_0x474b77,_0x5b8490,_0x172355){const _0x117684=_0x241173;super(),g(this,_0x117684(0x509),new _0x76ce31(void 0x0)),g(this,'socket$',this[_0x117684(0x509)][_0x117684(0x1d7)]()),g(this,'_candidateSocket',null),g(this,'_sessions',new Map()),g(this,_0x117684(0x3da),new _0x76ce31(ve[_0x117684(0x202)])),g(this,_0x117684(0x4d3),this[_0x117684(0x3da)][_0x117684(0x1d7)]()),g(this,_0x117684(0x440),!0x1),g(this,'_retryConnectingTimer'),g(this,'_retryCount',0x0),g(this,_0x117684(0x5c9)),g(this,_0x117684(0x417)),(this['_injector']=_0x230969,this[_0x117684(0x30a)]=_0x2f0761,this['_messageService']=_0x3eb247,this['_logService']=_0x474b77,this[_0x117684(0x3aa)]=_0x5b8490,this[_0x117684(0x59a)]=_0x172355,this['_initEventListeners']());}get['_socket'](){return this['_socket$']['getValue']();}[_0x241173(0x52b)](){const _0x11ac2d=_0x241173;this[_0x11ac2d(0x4da)](),this['_listenToOnlineEvent']();}[_0x241173(0x58a)](){const _0x875d66=_0x241173;super[_0x875d66(0x58a)](),this[_0x875d66(0x334)][_0x875d66(0x2e5)](_0x41d4ac=>_0x41d4ac[_0x875d66(0x58a)]()),this[_0x875d66(0x334)][_0x875d66(0x4a9)](),this[_0x875d66(0x3da)][_0x875d66(0x54a)]();}async[_0x241173(0x34b)](_0x19f62b){const _0x1908fe=_0x241173;if(this['_sessions'][_0x1908fe(0x5be)](_0x19f62b))return this[_0x1908fe(0x334)][_0x1908fe(0x241)](_0x19f62b);this[_0x1908fe(0x4ca)]();const _0x4aaef3=this[_0x1908fe(0x414)]['createInstance'](es,_0x19f62b,this[_0x1908fe(0x509)][_0x1908fe(0x1d7)]());return this[_0x1908fe(0x334)]['set'](_0x19f62b,_0x4aaef3),_0x4aaef3;}[_0x241173(0x1fb)](_0x1d9b46){const _0x14eccc=_0x241173;var _0x511484;const _0x2c56a3=this[_0x14eccc(0x334)][_0x14eccc(0x241)](_0x1d9b46);_0x2c56a3&&(this[_0x14eccc(0x334)][_0x14eccc(0x2d7)](_0x1d9b46),_0x2c56a3[_0x14eccc(0x386)]()),this[_0x14eccc(0x334)][_0x14eccc(0x599)]||(_0x511484=this[_0x14eccc(0x388)])==null||_0x511484[_0x14eccc(0x386)]();}[_0x241173(0x259)](){const _0xb42c31=_0x241173;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xb42c31(0x409)]),this[_0xb42c31(0x409)]=null),this[_0xb42c31(0x52d)]();}[_0x241173(0x3bd)](){const _0x1df32e=_0x241173;var _0x27b69b,_0x5c11e3;const _0x6245e3=this[_0x1df32e(0x3aa)]['getConfig'](cr),_0x37a1a8=this[_0x1df32e(0x3aa)][_0x1df32e(0x561)](ie),_0x11eea2=(_0x5c11e3=(_0x27b69b=_0x37a1a8==null?void 0x0:_0x37a1a8[_0x1df32e(0x22b)])!=null?_0x27b69b:_0x6245e3)!=null?_0x5c11e3:hr,_0x61b1d3=this[_0x1df32e(0x59a)][_0x1df32e(0x562)](_0x11eea2);return this[_0x1df32e(0x525)]=_0x61b1d3,_0x61b1d3;}[_0x241173(0x4ca)](){const _0x301eb4=_0x241173;var _0xe03a72,_0x2bb3d5;try{const _0x1221eb=(_0x2bb3d5=(_0xe03a72=this[_0x301eb4(0x388)])!=null?_0xe03a72:this[_0x301eb4(0x525)])!=null?_0x2bb3d5:this[_0x301eb4(0x3bd)]();if(_0x1221eb){const _0xe91294=_0x1221eb[_0x301eb4(0x36e)];_0x1221eb['send']=_0xa9f912=>(this['_rescheduleHeartbeat'](),_0xe91294[_0x301eb4(0x34a)](_0x1221eb,[_0xa9f912])),_0x1221eb[_0x301eb4(0x5a7)][_0x301eb4(0x31f)](_0x37b5ca=>this[_0x301eb4(0x500)](_0x1221eb,_0x37b5ca)),_0x1221eb[_0x301eb4(0x285)][_0x301eb4(0x391)](_0x33b7ed(0x1))['subscribe'](_0x449390=>this[_0x301eb4(0x318)][_0x301eb4(0x4e3)](_0x301eb4(0x4f8),_0x449390)),_0x1221eb['open$'][_0x301eb4(0x391)](_0x33b7ed(0x1))['subscribe'](()=>{const _0x518e8d=_0x301eb4;this[_0x518e8d(0x3ed)](_0x1221eb);}),_0x1221eb[_0x301eb4(0x2c6)]['pipe'](_0x33b7ed(0x1))[_0x301eb4(0x31f)](_0x4cea13=>{const _0x58811e=_0x301eb4;this[_0x58811e(0x318)]['debug']('[CollaborationSessionService]',_0x58811e(0x3a5),_0x4cea13),this['_onConnectionFailed']();});}}catch(_0x47e17f){this[_0x301eb4(0x318)][_0x301eb4(0x4e3)](_0x47e17f),this[_0x301eb4(0x39a)]();}}[_0x241173(0x3ed)](_0x1b9595){const _0xd2dc6d=_0x241173;this['_logService']['debug']('[CollaborationSessionService]',_0xd2dc6d(0x355)),_0x1b9595[_0xd2dc6d(0x36e)]({'cmd':W[_0xd2dc6d(0x251)]}),this[_0xd2dc6d(0x3a0)]();}[_0x241173(0x4da)](){const _0x461230=_0x241173;window['addEventListener'](_0x461230(0x1ed),()=>this[_0x461230(0x37d)]());}['_onOffline'](){const _0x48cba0=_0x241173;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x48cba0(0x3da)]['next'](ve[_0x48cba0(0x1d6)]),this[_0x48cba0(0x509)][_0x48cba0(0x5b0)](null),this['_clearTimeoutTimer'](),this[_0x48cba0(0x3df)]();}['_onConnectionFailed'](){const _0x4cfd36=_0x241173;var _0x1294cb;this[_0x4cfd36(0x37d)](),this[_0x4cfd36(0x373)]<((_0x1294cb=this[_0x4cfd36(0x3aa)][_0x4cfd36(0x561)](dr))!=null?_0x1294cb:fr)?(this[_0x4cfd36(0x53a)][_0x4cfd36(0x348)]({'key':_0x4cfd36(0x3fe),'type':_0x2b3cbc[_0x4cfd36(0x469)],'content':this[_0x4cfd36(0x30a)]['t'](_0x4cfd36(0x1f9))}),this[_0x4cfd36(0x52d)]()):this[_0x4cfd36(0x53a)][_0x4cfd36(0x348)]({'key':_0x4cfd36(0x3fe),'type':_0x2b3cbc['Error'],'content':this['_localeService']['t'](_0x4cfd36(0x230))});}[_0x241173(0x21d)](){const _0x2faf6a=_0x241173,_0x446116=()=>{const _0x144ce3=_0x10c7;this[_0x144ce3(0x388)]||this['reconnect']();},_0x55b7f6=()=>{const _0x4701cf=_0x10c7;this['_socket']||document[_0x4701cf(0x5cf)]===_0x4701cf(0x40e)||this[_0x4701cf(0x259)]();};window[_0x2faf6a(0x471)](_0x2faf6a(0x5c2),_0x446116),document[_0x2faf6a(0x471)](_0x2faf6a(0x1c8),_0x55b7f6);}['_tryReconnect'](){const _0x27226c=_0x241173;var _0x329c21;const _0x3e7620=this[_0x27226c(0x373)],_0xfa2098=this[_0x27226c(0x3aa)]['getConfig'](ie),_0x4de5a4=_0x3e7620===0x0?0x0:((_0x329c21=_0xfa2098==null?void 0x0:_0xfa2098[_0x27226c(0x357)])!=null?_0x329c21:ur)*0x2**_0x3e7620;this['_retryConnectingTimer']=window[_0x27226c(0x2ea)](()=>{const _0x22bd3a=_0x27226c;clearTimeout(this[_0x22bd3a(0x409)]),this[_0x22bd3a(0x409)]=null,this[_0x22bd3a(0x4ca)]();},_0x4de5a4),this[_0x27226c(0x373)]+=0x1;}[_0x241173(0x500)](_0x2921eb,_0x591fd0){const _0x424d54=_0x241173,{cmd:_0x207d30}=_0x591fd0;_0x207d30===W[_0x424d54(0x251)]&&!this[_0x424d54(0x440)]&&(_0x2921eb[_0x424d54(0x2b4)]=_0x591fd0[_0x424d54(0x498)][_0x424d54(0x2b4)],this[_0x424d54(0x509)][_0x424d54(0x5b0)](_0x2921eb),this[_0x424d54(0x3da)][_0x424d54(0x5b0)](ve['ONLINE']),this['_socketReady']=!0x0,this[_0x424d54(0x525)]=null),_0x207d30===W[_0x424d54(0x36d)]&&this[_0x424d54(0x413)](),this[_0x424d54(0x3a0)]();}[_0x241173(0x3a0)](){const _0x1713d9=_0x241173;var _0x59719b;this['_clearHeartbeatTimer'](),this[_0x1713d9(0x5c9)]=window[_0x1713d9(0x2ea)](()=>this['_sendHeartbeat'](),(_0x59719b=this['_configService']['getConfig'](lr))!=null?_0x59719b:_r);}[_0x241173(0x2b3)](){const _0x1beb02=_0x241173;this[_0x1beb02(0x388)][_0x1beb02(0x36e)]({'cmd':W[_0x1beb02(0x36d)]}),this[_0x1beb02(0x2ef)]();}[_0x241173(0x2ef)](){const _0x3f8639=_0x241173;var _0x70ab97;this['_timeoutTimer']=window[_0x3f8639(0x2ea)](()=>this[_0x3f8639(0x39a)](),(_0x70ab97=this[_0x3f8639(0x3aa)][_0x3f8639(0x561)](Ei))!=null?_0x70ab97:bi);}[_0x241173(0x3df)](){const _0x44dccc=_0x241173;this[_0x44dccc(0x5c9)]!=null&&(clearTimeout(this[_0x44dccc(0x5c9)]),this[_0x44dccc(0x5c9)]=null);}[_0x241173(0x413)](){const _0x46fe64=_0x241173;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x46fe64(0x417)]),this[_0x46fe64(0x417)]=null);}};Ae=jr([je(0x0,_0x1596c5(_0x59d577)),je(0x1,_0x1596c5(_0x48c62d)),je(0x2,_0x3ed87c),je(0x3,_0x265e7a),je(0x4,_0x13e361),je(0x5,yi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x241173(0x42a)]((i+0x100)[_0x241173(0x447)](0x10)['slice'](0x1));function Br(_0x27e96e,_0x2f9fae=0x0){return(Y[_0x27e96e[_0x2f9fae+0x0]]+Y[_0x27e96e[_0x2f9fae+0x1]]+Y[_0x27e96e[_0x2f9fae+0x2]]+Y[_0x27e96e[_0x2f9fae+0x3]]+'-'+Y[_0x27e96e[_0x2f9fae+0x4]]+Y[_0x27e96e[_0x2f9fae+0x5]]+'-'+Y[_0x27e96e[_0x2f9fae+0x6]]+Y[_0x27e96e[_0x2f9fae+0x7]]+'-'+Y[_0x27e96e[_0x2f9fae+0x8]]+Y[_0x27e96e[_0x2f9fae+0x9]]+'-'+Y[_0x27e96e[_0x2f9fae+0xa]]+Y[_0x27e96e[_0x2f9fae+0xb]]+Y[_0x27e96e[_0x2f9fae+0xc]]+Y[_0x27e96e[_0x2f9fae+0xd]]+Y[_0x27e96e[_0x2f9fae+0xe]]+Y[_0x27e96e[_0x2f9fae+0xf]])['toLowerCase']();}let Ut;const kr=new Uint8Array(0x10);function Wr(){const _0x362fa9=_0x241173;if(!Ut){if(typeof crypto>'u'||!crypto[_0x362fa9(0x2a7)])throw new Error(_0x362fa9(0x456));Ut=crypto['getRandomValues'][_0x362fa9(0x4bd)](crypto);}return Ut(kr);}const Fr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x241173(0x4c9)]['bind'](crypto),Hs={'randomUUID':Fr};function Vr(_0x153cae,_0x1248e0,_0x4622da){const _0xdc578c=_0x241173;if(Hs['randomUUID']&&!_0x1248e0&&!_0x153cae)return Hs[_0xdc578c(0x4c9)]();_0x153cae=_0x153cae||{};const _0x40899b=_0x153cae[_0xdc578c(0x57a)]||(_0x153cae['rng']||Wr)();return _0x40899b[0x6]=_0x40899b[0x6]&0xf|0x40,_0x40899b[0x8]=_0x40899b[0x8]&0x3f|0x80,Br(_0x40899b);}var Gr=Object[_0x241173(0x387)],Yr=Object[_0x241173(0x2fb)],Kr=(_0x172235,_0x4bc4d1,_0x1a4489,_0x2fb960)=>{const _0x413750=_0x241173;for(var _0x396ffe=_0x2fb960>0x1?void 0x0:_0x2fb960?Yr(_0x4bc4d1,_0x1a4489):_0x4bc4d1,_0x30c3cb=_0x172235[_0x413750(0x32c)]-0x1,_0xc8447a;_0x30c3cb>=0x0;_0x30c3cb--)(_0xc8447a=_0x172235[_0x30c3cb])&&(_0x396ffe=(_0x2fb960?_0xc8447a(_0x4bc4d1,_0x1a4489,_0x396ffe):_0xc8447a(_0x396ffe))||_0x396ffe);return _0x2fb960&&_0x396ffe&&Gr(_0x4bc4d1,_0x1a4489,_0x396ffe),_0x396ffe;},Nt=(_0x1389ed,_0x29e1fd)=>(_0x8691ca,_0x3f909d)=>_0x29e1fd(_0x8691ca,_0x3f909d,_0x1389ed);let ft=class{constructor(_0x2f598c,_0x23b3ff,_0x195dcc){const _0x248eb1=_0x241173;this[_0x248eb1(0x414)]=_0x2f598c,this[_0x248eb1(0x39d)]=_0x23b3ff,this[_0x248eb1(0x41a)]=_0x195dcc;}['transformIMECache'](_0x324b7d){const _0x3937a3=_0x241173;this[_0x3937a3(0x4f4)](_0x324b7d),this[_0x3937a3(0x392)](_0x324b7d);}[_0x241173(0x31d)](_0x419c21){const _0x2e242a=_0x241173,{unitID:_0x4bb446}=_0x419c21,_0x25502f=this[_0x2e242a(0x41a)][_0x2e242a(0x4ac)](_0x4bb446)['with'](_0x510b38),{redoCache:_0x81050e}=_0x25502f['getUndoRedoMutationParamsCache']();if(_0x81050e[_0x2e242a(0x32c)]===0x0)return _0x419c21;let _0x2772c2=_0x55a7da[_0x2e242a(0x53f)](_0x419c21[_0x2e242a(0x3d0)][0x0]);for(let _0x429e22=0x0;_0x429e22<_0x81050e[_0x2e242a(0x32c)];_0x429e22++){const _0x3cf066={'id':_0x2e242a(0x5c7),'params':{..._0x81050e[_0x429e22]}},_0x496f40=this[_0x2e242a(0x39d)][_0x2e242a(0x3ca)](_0x2772c2,_0x3cf066,!0x1);if(_0x3ab926(_0x496f40))throw _0x496f40['error'];_0x2772c2=_0x496f40['m1Prime'];}return{..._0x55a7da['deepClone'](_0x419c21),'mutations':[_0x2772c2]};}[_0x241173(0x4f4)](_0x4754b3){const _0xd5ba9f=_0x241173,{unitID:_0x14f1ad}=_0x4754b3,_0xb2e590=this[_0xd5ba9f(0x41a)]['getRenderById'](_0x14f1ad)['with'](_0x510b38),{undoCache:_0x15fcb4,redoCache:_0x4ca3ae}=_0xb2e590[_0xd5ba9f(0x24d)]();if(_0x15fcb4['length']===0x0||_0x4ca3ae[_0xd5ba9f(0x32c)]===0x0)return;const _0x833069=[],_0x4b6293=[];let _0x129b52=_0x55a7da['deepClone'](_0x4754b3[_0xd5ba9f(0x3d0)][0x0]),_0x34fa0c=_0x55a7da[_0xd5ba9f(0x53f)](_0x4754b3[_0xd5ba9f(0x3d0)][0x0]);for(let _0x4cccf6=_0x15fcb4[_0xd5ba9f(0x32c)]-0x1;_0x4cccf6>=0x0;_0x4cccf6--){const _0x44bb5c={'id':'doc.mutation.rich-text-editing','params':{..._0x15fcb4[_0x4cccf6]}},_0x528b59={'id':'doc.mutation.rich-text-editing','params':{..._0x4ca3ae[_0x4cccf6]}},_0x351989=this[_0xd5ba9f(0x39d)][_0xd5ba9f(0x3ca)](_0x129b52,_0x44bb5c,!0x1),_0x3f26c2=this[_0xd5ba9f(0x39d)][_0xd5ba9f(0x3ca)](_0x34fa0c,_0x528b59,!0x1);if(_0x3ab926(_0x351989))throw _0x351989['error'];if(_0x3ab926(_0x3f26c2))throw _0x3f26c2[_0xd5ba9f(0x4e3)];_0x833069[_0xd5ba9f(0x1c3)](_0x351989[_0xd5ba9f(0x598)]['params']),_0x4b6293[_0xd5ba9f(0x1c3)](_0x3f26c2[_0xd5ba9f(0x598)]['params']),_0x129b52=_0x351989['m1Prime'],_0x34fa0c=_0x3f26c2[_0xd5ba9f(0x41c)];}_0xb2e590[_0xd5ba9f(0x4de)]({'undoCache':_0x833069,'redoCache':_0x4b6293});}[_0x241173(0x392)](_0x13c060){const _0x30159d=_0x241173,{unitID:_0xa86711}=_0x13c060,_0x2cd733=this[_0x30159d(0x41a)][_0x30159d(0x4ac)](_0xa86711)[_0x30159d(0x1d4)](_0x510b38),_0x2ea24a=_0x2cd733[_0x30159d(0x1ff)]();if(_0x2ea24a==null)return;const _0x2161ee=[{'id':_0x30159d(0x5c7),'params':{'unitId':_0x13c060['unitID'],'actions':null,'textRanges':[_0x2ea24a]}}],_0x2cb08b=this['_transformService']['transformMutationsWithChangeset'](_0x13c060,_0x2161ee);if(!_0x18198c(_0x2cb08b))throw _0x2cb08b[_0x30159d(0x4e3)];const _0x4c6fbb=_0x2cb08b[_0x30159d(0x598)][0x0][_0x30159d(0x2d5)]['textRanges'];Array['isArray'](_0x4c6fbb)&&_0x4c6fbb['length']&&_0x2cd733[_0x30159d(0x4e7)](_0x4c6fbb[0x0]);}};ft=Kr([Nt(0x0,_0x1596c5(_0x59d577)),Nt(0x1,_0x399263),Nt(0x2,_0x3c7872)],ft);var zr=Object[_0x241173(0x387)],qr=Object[_0x241173(0x2fb)],Xr=(_0x259881,_0x52b6bd,_0x4d45ec,_0x2b7428)=>{const _0x47d177=_0x241173;for(var _0x16fba1=_0x2b7428>0x1?void 0x0:_0x2b7428?qr(_0x52b6bd,_0x4d45ec):_0x52b6bd,_0x104c01=_0x259881[_0x47d177(0x32c)]-0x1,_0x4df978;_0x104c01>=0x0;_0x104c01--)(_0x4df978=_0x259881[_0x104c01])&&(_0x16fba1=(_0x2b7428?_0x4df978(_0x52b6bd,_0x4d45ec,_0x16fba1):_0x4df978(_0x16fba1))||_0x16fba1);return _0x2b7428&&_0x16fba1&&zr(_0x52b6bd,_0x4d45ec,_0x16fba1),_0x16fba1;},Xe=(_0x2f87ac,_0x2dbd61)=>(_0x435ed8,_0x3287f4)=>_0x2dbd61(_0x435ed8,_0x3287f4,_0x2f87ac);let q=class extends _0x59a5e6{constructor(_0x35a7ea,_0x19a94d,_0x168efe,_0x329b7b,_0x530e58){const _0x4ca562=_0x241173;super(),g(this,_0x4ca562(0x2f1),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x4ca562(0x263),!0x1),(this[_0x4ca562(0x3aa)]=_0x35a7ea,this[_0x4ca562(0x461)]=_0x19a94d,this[_0x4ca562(0x1c2)]=_0x168efe,this['_localeService']=_0x329b7b,this[_0x4ca562(0x44d)]=_0x530e58,this[_0x4ca562(0x581)]());}[_0x241173(0x5ad)](){const _0xcc42ea=_0x241173;this[_0xcc42ea(0x263)]=!0x0;}[_0x241173(0x449)](){const _0x2f6564=_0x241173;this[_0x2f6564(0x263)]=!0x1;}[_0x241173(0x58a)](){const _0x4deefe=_0x241173;this[_0x4deefe(0x2ac)]()['then'](()=>super[_0x4deefe(0x58a)]());}async[_0x241173(0x555)](_0x5bb5cd){const _0x1028d0=_0x241173;return this[_0x1028d0(0x263)]?null:this['_localStorageService'][_0x1028d0(0x1e7)](js(_0x5bb5cd));}async['saveOfflineData'](_0xf3be69,_0x59b0b1){const _0x3868bd=_0x241173;return!!this[_0x3868bd(0x461)][_0x3868bd(0x559)](_0xf3be69,_0x59b0b1);}[_0x241173(0x382)](_0x18e4b5,_0x2702c8,_0x145bd8,_0x4e7263){const _0x252eb9=_0x241173,_0x247763=this[_0x252eb9(0x44d)][_0x252eb9(0x4fe)](_0x18e4b5);this[_0x252eb9(0x2f1)][_0x252eb9(0x4e4)](_0x18e4b5,{'unitID':_0x18e4b5,'type':_0x2702c8,'awaitingChangeset':_0x145bd8,'mutations':_0x4e7263,'rev':_0x247763}),this[_0x252eb9(0x568)]['has'](_0x18e4b5)||this[_0x252eb9(0x279)](_0x18e4b5);}[_0x241173(0x279)](_0x5e7e7f){const _0x1280ae=_0x241173,_0x4c63c4=this[_0x1280ae(0x27d)]();_0x4c63c4===0x0?this[_0x1280ae(0x557)](_0x5e7e7f):this[_0x1280ae(0x568)][_0x1280ae(0x4e4)](_0x5e7e7f,setTimeout(()=>this['_saveCache'](_0x5e7e7f),_0x4c63c4));}[_0x241173(0x27d)](){const _0x352802=_0x241173;var _0x2c39a9;return(_0x2c39a9=this['_configService'][_0x352802(0x561)](vr))!=null?_0x2c39a9:mr;}[_0x241173(0x557)](_0xd9961c){const _0x3c68fe=_0x241173,_0x4d9056=this['_saveTaskMap'][_0x3c68fe(0x241)](_0xd9961c);return _0x4d9056!==void 0x0&&window[_0x3c68fe(0x240)](_0x4d9056),this['_localStorageService'][_0x3c68fe(0x559)](js(_0xd9961c),this['_cachedData'][_0x3c68fe(0x241)](_0xd9961c))['then'](()=>this[_0x3c68fe(0x568)][_0x3c68fe(0x2d7)](_0xd9961c));}async['exhaustSavingTask'](){const _0x12d2f8=_0x241173,_0x539b00=[];this[_0x12d2f8(0x568)][_0x12d2f8(0x2e5)]((_0x45addd,_0x1aef15)=>{const _0x397a25=_0x12d2f8;window[_0x397a25(0x240)](_0x45addd),_0x539b00[_0x397a25(0x42a)](this[_0x397a25(0x557)](_0x1aef15)['then'](()=>{const _0x4ed1f1=_0x397a25;this[_0x4ed1f1(0x568)][_0x4ed1f1(0x2d7)](_0x1aef15);}));}),await Promise[_0x12d2f8(0x3d5)](_0x539b00);}['_setupBeforeClosingHandler'](){const _0x10a82a=_0x241173;this['disposeWithMe'](this[_0x10a82a(0x1c2)][_0x10a82a(0x4c4)](()=>{const _0x11a176=_0x10a82a;if(this['_saveTaskMap'][_0x11a176(0x599)])return this[_0x11a176(0x30a)]['t']('collaboration-client.offline-data-not-saved');}));}};q=Xr([Xe(0x0,_0x13e361),Xe(0x1,_0xeb8e97),Xe(0x2,_0x13e741),Xe(0x3,_0x1596c5(_0x48c62d)),Xe(0x4,_0x1596c5(_0x3fbb34))],q);function js(_0x11b1ff){const _0x58b725=_0x241173;return _0x58b725(0x565)+_0x11b1ff;}var Jr=Object[_0x241173(0x387)],Zr=Object['getOwnPropertyDescriptor'],Qr=(_0x269cde,_0x3bd1a1,_0x365604,_0x454ecf)=>{const _0x1b6b39=_0x241173;for(var _0x35df4a=_0x454ecf>0x1?void 0x0:_0x454ecf?Zr(_0x3bd1a1,_0x365604):_0x3bd1a1,_0x5aabb5=_0x269cde[_0x1b6b39(0x32c)]-0x1,_0xe3ff16;_0x5aabb5>=0x0;_0x5aabb5--)(_0xe3ff16=_0x269cde[_0x5aabb5])&&(_0x35df4a=(_0x454ecf?_0xe3ff16(_0x3bd1a1,_0x365604,_0x35df4a):_0xe3ff16(_0x35df4a))||_0x35df4a);return _0x454ecf&&_0x35df4a&&Jr(_0x3bd1a1,_0x365604,_0x35df4a),_0x35df4a;},At=(_0x102bf2,_0x1228d1)=>(_0x54dac2,_0x47e4b6)=>_0x1228d1(_0x54dac2,_0x47e4b6,_0x102bf2);function eo(_0x23c49b){const {unitID:_0x5c2b96,mutations:_0x1b9d77}=_0x23c49b;return{'unitId':_0x5c2b96,'subUnitId':_0x1b9d77[0x0]['params']['subUnitId']};}let vt=class{constructor(_0x36c6aa,_0x4c0959,_0x2ae795){const _0x825f02=_0x241173;this[_0x825f02(0x414)]=_0x36c6aa,this[_0x825f02(0x39d)]=_0x4c0959,this[_0x825f02(0x533)]=_0x2ae795;}[_0x241173(0x554)](_0x4d0444){const _0x36444b=_0x241173;var _0x5c3b9e,_0x3821a8,_0x112754,_0x494ceb;const _0x230af8=this['_injector'][_0x36444b(0x241)](_0x1d5e06),{unitId:_0x28bc39,subUnitId:_0x1aa20d}=eo(_0x4d0444),_0x82a7d9=_0x230af8[_0x36444b(0x5c6)](_0x28bc39)[_0x36444b(0x52f)](),_0x56c39e=(_0x3821a8=(_0x5c3b9e=this[_0x36444b(0x533)][_0x36444b(0x1c7)](_0x28bc39))==null?void 0x0:_0x5c3b9e[_0x36444b(0x594)]())==null?void 0x0:_0x3821a8['getSheetId']();if(_0x82a7d9[_0x36444b(0x32c)]===0x0||!_0x28bc39||!_0x1aa20d)return;const _0x3c7d7d=[{'id':_0x28fc2c['id'],'params':{'unitId':_0x28bc39,'subUnitId':_0x56c39e,'selections':_0x55a7da['deepClone'](_0x82a7d9)}}],_0x402a08=this[_0x36444b(0x39d)]['transformMutationsWithChangeset'](_0x4d0444,_0x3c7d7d);if(!_0x18198c(_0x402a08))throw _0x402a08[_0x36444b(0x4e3)];const _0x544c82=(_0x494ceb=(_0x112754=_0x402a08['m2Prime'][0x0])==null?void 0x0:_0x112754[_0x36444b(0x2d5)])==null?void 0x0:_0x494ceb['selections'];if(Array[_0x36444b(0x4b3)](_0x544c82)&&_0x544c82['length']){if(_0x544c82[_0x36444b(0x32c)]===_0x3c7d7d[0x0][_0x36444b(0x2d5)]['selections'][_0x36444b(0x32c)]&&_0x544c82[_0x36444b(0x3a4)]((_0x196c75,_0xbc7543)=>_0x34664d['equals'](_0x196c75['range'],_0x3c7d7d[0x0][_0x36444b(0x2d5)][_0x36444b(0x2bc)][_0xbc7543][_0x36444b(0x218)])))return;this[_0x36444b(0x414)][_0x36444b(0x241)](_0x289e6f)['executeCommand'](_0x28fc2c['id'],{'unitId':_0x28bc39,'subUnitId':_0x56c39e,'selections':_0x544c82});}}};vt=Qr([At(0x0,_0x1596c5(_0x59d577)),At(0x1,_0x399263),At(0x2,_0xb0f939)],vt);const Rt=_0x917e2b(_0x241173(0x248));var wi=(_0x19bd9d=>(_0x19bd9d[_0x19bd9d[_0x241173(0x2aa)]=0x0]=_0x241173(0x2aa),_0x19bd9d[_0x19bd9d['OTHER_CLIENTS_EDITING']=0x1]=_0x241173(0x596),_0x19bd9d))(wi||{});const Bs=0x7530,ks=_0x241173(0x421);class to extends _0x59a5e6{constructor(){const _0x48138b=_0x241173;super(),g(this,_0x48138b(0x342),_0x55a7da['generateRandomId']()),g(this,_0x48138b(0x1ec),new Set()),g(this,_0x48138b(0x5cd),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x48138b(0x2cf),new Map()),g(this,_0x48138b(0x370),new Map()),this[_0x48138b(0x354)]();}[_0x241173(0x58a)](){const _0x1c1aed=_0x241173;super['dispose'](),this[_0x1c1aed(0x2cf)][_0x1c1aed(0x2e5)]((_0x422f41,_0x3874a2)=>this[_0x1c1aed(0x484)](_0x3874a2)),this[_0x1c1aed(0x3b6)]&&window['clearInterval'](this[_0x1c1aed(0x3b6)]);}[_0x241173(0x2e6)](_0x5c0641){const _0x48b0e6=_0x241173;return this[_0x48b0e6(0x44e)](_0x5c0641)[_0x48b0e6(0x391)](_0x541ef5());}['editingUnit'](_0x52e803){const _0x30a1f2=_0x241173;this[_0x30a1f2(0x1ec)][_0x30a1f2(0x599)]===0x0&&this[_0x30a1f2(0x572)](),this[_0x30a1f2(0x1ec)]['add'](_0x52e803),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x52e803],'isForwarded':!0x1});}[_0x241173(0x566)](_0x6d5dcc){const _0x21fd67=_0x241173;this[_0x21fd67(0x1ec)][_0x21fd67(0x2d7)](_0x6d5dcc),this[_0x21fd67(0x1ec)]['size']===0x0&&this[_0x21fd67(0x3b6)]&&window[_0x21fd67(0x508)](this['_heartbeatTimer']);}[_0x241173(0x354)](){const _0x3019c1=_0x241173;this[_0x3019c1(0x210)](_0x5252a1(_0x521190(window,_0x3019c1(0x33a))[_0x3019c1(0x31f)](_0x3141b3=>{const _0xefbcb7=_0x3019c1;if(_0x3141b3['key']!==ks||!_0x3141b3[_0xefbcb7(0x58c)])return;const _0x2a14f3=JSON[_0xefbcb7(0x527)](_0x3141b3[_0xefbcb7(0x58c)]);this['_handleEvent'](_0x2a14f3);}))),window[_0x3019c1(0x471)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x3019c1(0x3f8)](this[_0x3019c1(0x1ec)])}));}[_0x241173(0x4c7)](_0x53f210){const _0x5a6570=_0x241173;switch(_0x53f210[_0x5a6570(0x40a)]){case 0x0:this[_0x5a6570(0x3f3)](_0x53f210);break;case 0x1:this[_0x5a6570(0x58e)](_0x53f210);break;case 0x2:this['_handleHeartbeatEvent'](_0x53f210);break;}}[_0x241173(0x3f3)](_0x29a065){const _0x265882=_0x241173,{unitIDs:_0x464b76,memberID:_0x539644,isForwarded:_0x18c1e5}=_0x29a065;_0x464b76['forEach'](_0x5d4f3a=>{const _0x509751=_0x10c7;if(!_0x18c1e5&&this['_unitOnClients']['has'](_0x5d4f3a)&&this[_0x509751(0x44e)](_0x5d4f3a)[_0x509751(0x5b0)](0x1),!this[_0x509751(0x5cd)][_0x509751(0x5be)](_0x5d4f3a)||!this['_unitOnClients'][_0x509751(0x241)](_0x5d4f3a)[_0x509751(0x5be)](_0x539644)){const _0x1b8833=this[_0x509751(0x5cd)][_0x509751(0x241)](_0x5d4f3a)||new Set();_0x1b8833['add'](_0x539644),this[_0x509751(0x5cd)][_0x509751(0x4e4)](_0x5d4f3a,_0x1b8833),this[_0x509751(0x3c1)](_0x539644);}}),_0x18c1e5||this[_0x265882(0x28e)]({'type':0x0,'memberID':this[_0x265882(0x342)],'unitIDs':[...this[_0x265882(0x1ec)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x133c00){const _0x3da259=_0x241173;this['_removeClearOtherTimer'](_0x133c00);const _0x2f6e8b=window[_0x3da259(0x2ea)](()=>{const _0x1e1af8=_0x3da259;this[_0x1e1af8(0x5cd)][_0x1e1af8(0x2e5)](_0x296a02=>{const _0x1f9937=_0x1e1af8;_0x296a02[_0x1f9937(0x2d7)](_0x133c00);});},Bs*0x2);this[_0x3da259(0x2cf)][_0x3da259(0x4e4)](_0x133c00,_0x2f6e8b);}[_0x241173(0x484)](_0x2b76c0){const _0x5c717b=_0x241173;if(this[_0x5c717b(0x2cf)][_0x5c717b(0x5be)](_0x2b76c0)){const _0x296fce=this[_0x5c717b(0x2cf)][_0x5c717b(0x241)](_0x2b76c0);_0x296fce&&window[_0x5c717b(0x240)](_0x296fce),this[_0x5c717b(0x2cf)][_0x5c717b(0x4e4)](_0x2b76c0,null);}}[_0x241173(0x58e)](_0x202f16){const _0x36d136=_0x241173,{memberID:_0x54eedf,unitIDs:_0x431ef8}=_0x202f16;_0x431ef8[_0x36d136(0x2e5)](_0x5a4426=>{const _0x581c9c=_0x36d136;var _0x39fac7;const _0x8fdd3b=this[_0x581c9c(0x5cd)][_0x581c9c(0x241)](_0x5a4426);_0x8fdd3b&&(_0x8fdd3b[_0x581c9c(0x2d7)](_0x54eedf),(_0x39fac7=this[_0x581c9c(0x44e)](_0x5a4426))==null||_0x39fac7[_0x581c9c(0x5b0)](_0x8fdd3b[_0x581c9c(0x599)]===0x0?0x0:0x1));}),this[_0x36d136(0x484)](_0x54eedf);}[_0x241173(0x1c1)](_0x2efb85){const _0x5bcced=_0x241173;this[_0x5bcced(0x3c1)](_0x2efb85[_0x5bcced(0x2b4)]);}['_send'](_0x4d421d){const _0x127985=_0x241173;localStorage[_0x127985(0x559)](ks,JSON[_0x127985(0x4aa)](_0x4d421d));}['_scheduleHeartbeat'](){const _0x429d9b=_0x241173;this[_0x429d9b(0x3b6)]=window['setInterval'](()=>{const _0x31767b=_0x429d9b;this[_0x31767b(0x28e)]({'type':0x2,'memberID':this['_id']});},Bs);}[_0x241173(0x44e)](_0x994e67){const _0x415064=_0x241173;return this[_0x415064(0x370)][_0x415064(0x5be)](_0x994e67)||this[_0x415064(0x370)][_0x415064(0x4e4)](_0x994e67,new _0x76ce31(0x0)),this[_0x415064(0x370)][_0x415064(0x241)](_0x994e67);}}var so=Object[_0x241173(0x387)],io=Object[_0x241173(0x2fb)],no=(_0x1733bb,_0x1ac4f6,_0x2f8819,_0x32a6a3)=>{const _0x43785c=_0x241173;for(var _0x13b696=_0x32a6a3>0x1?void 0x0:_0x32a6a3?io(_0x1ac4f6,_0x2f8819):_0x1ac4f6,_0x3a9c68=_0x1733bb[_0x43785c(0x32c)]-0x1,_0x53ae95;_0x3a9c68>=0x0;_0x3a9c68--)(_0x53ae95=_0x1733bb[_0x3a9c68])&&(_0x13b696=(_0x32a6a3?_0x53ae95(_0x1ac4f6,_0x2f8819,_0x13b696):_0x53ae95(_0x13b696))||_0x13b696);return _0x32a6a3&&_0x13b696&&so(_0x1ac4f6,_0x2f8819,_0x13b696),_0x13b696;},Mt=(_0x4f3665,_0x247fbf)=>(_0xc68f5e,_0x207253)=>_0x247fbf(_0xc68f5e,_0x207253,_0x4f3665);let mt=class{constructor(_0xea7075,_0x1bf8c7,_0x43ad94){const _0x5909a5=_0x241173;this[_0x5909a5(0x414)]=_0xea7075,this[_0x5909a5(0x39d)]=_0x1bf8c7,this['_docStateChangeManagerService']=_0x43ad94;}[_0x241173(0x52e)](_0x50668e){this['_transformHistoryAndStateStack'](_0x50668e);}[_0x241173(0x31d)](_0x309401){const _0xe62489=_0x241173,{unitID:_0x212168}=_0x309401,{collaboration:_0xed52e4}=this['_docStateChangeManagerService'][_0xe62489(0x33b)](_0x212168);if(_0xed52e4['length']===0x0)return _0x309401;let _0x21e09d=_0x55a7da[_0xe62489(0x53f)](_0x309401[_0xe62489(0x3d0)][0x0]);for(let _0x491e03=0x0;_0x491e03<_0xed52e4[_0xe62489(0x32c)];_0x491e03++){const _0x1d8d37={'id':_0xe62489(0x5c7),'params':{'unitId':_0xed52e4[_0x491e03][_0xe62489(0x410)],..._0xed52e4[_0x491e03][_0xe62489(0x444)]}},_0x42ab35=this['_transformService'][_0xe62489(0x3ca)](_0x21e09d,_0x1d8d37,!0x1);if(_0x3ab926(_0x42ab35))throw _0x42ab35[_0xe62489(0x4e3)];_0x21e09d=_0x42ab35[_0xe62489(0x41c)];}return{..._0x55a7da['deepClone'](_0x309401),'mutations':[_0x21e09d]};}['_transformHistoryAndStateStack'](_0x5dca0e){const _0x19dd7e=_0x241173,{unitID:_0x1b3dff}=_0x5dca0e,{history:_0x4fe8fa,collaboration:_0x4c1df0}=this[_0x19dd7e(0x50a)][_0x19dd7e(0x33b)](_0x1b3dff);if(_0x4fe8fa[_0x19dd7e(0x32c)]===0x0&&_0x4c1df0[_0x19dd7e(0x32c)]===0x0)return;const _0x2e3bd2=[],_0x373804=[];let _0x14a0e9=_0x55a7da['deepClone'](_0x5dca0e[_0x19dd7e(0x3d0)][0x0]),_0x372664=_0x55a7da['deepClone'](_0x5dca0e[_0x19dd7e(0x3d0)][0x0]);for(let _0x9ff8f0=_0x4fe8fa[_0x19dd7e(0x32c)]-0x1;_0x9ff8f0>=0x0;_0x9ff8f0--){const _0x35cfb3={'id':_0x19dd7e(0x5c7),'params':{'unitId':_0x4fe8fa[_0x9ff8f0][_0x19dd7e(0x410)],..._0x4fe8fa[_0x9ff8f0][_0x19dd7e(0x57f)]}},_0x426892={'id':_0x19dd7e(0x5c7),'params':{'unitId':_0x4fe8fa[_0x9ff8f0][_0x19dd7e(0x410)],..._0x4fe8fa[_0x9ff8f0][_0x19dd7e(0x444)]}},_0x5bcea5=this[_0x19dd7e(0x39d)][_0x19dd7e(0x3ca)](_0x14a0e9,_0x35cfb3,!0x1),_0x48d002=this[_0x19dd7e(0x39d)][_0x19dd7e(0x3ca)](_0x372664,_0x426892,!0x1);if(_0x3ab926(_0x5bcea5))throw _0x5bcea5[_0x19dd7e(0x4e3)];if(_0x3ab926(_0x48d002))throw _0x48d002[_0x19dd7e(0x4e3)];_0x2e3bd2[_0x19dd7e(0x1c3)]({..._0x4fe8fa[_0x9ff8f0],'undoState':_0x5bcea5[_0x19dd7e(0x598)][_0x19dd7e(0x2d5)],'redoState':_0x48d002[_0x19dd7e(0x598)][_0x19dd7e(0x2d5)]}),_0x14a0e9=_0x5bcea5['m1Prime'],_0x372664=_0x48d002[_0x19dd7e(0x41c)];}_0x14a0e9=_0x55a7da[_0x19dd7e(0x53f)](_0x5dca0e['mutations'][0x0]),_0x372664=_0x55a7da['deepClone'](_0x5dca0e[_0x19dd7e(0x3d0)][0x0]);for(let _0x54d1bd=_0x4c1df0['length']-0x1;_0x54d1bd>=0x0;_0x54d1bd--){const _0xf63130={'id':_0x19dd7e(0x5c7),'params':{'unitId':_0x4c1df0[_0x54d1bd][_0x19dd7e(0x410)],..._0x4c1df0[_0x54d1bd][_0x19dd7e(0x57f)]}},_0x2d4ac4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4c1df0[_0x54d1bd]['unitId'],..._0x4c1df0[_0x54d1bd][_0x19dd7e(0x444)]}},_0x3438cf=this[_0x19dd7e(0x39d)][_0x19dd7e(0x3ca)](_0x14a0e9,_0xf63130,!0x1),_0x6bbf5f=this['_transformService'][_0x19dd7e(0x3ca)](_0x372664,_0x2d4ac4,!0x1);if(_0x3ab926(_0x3438cf))throw _0x3438cf[_0x19dd7e(0x4e3)];if(_0x3ab926(_0x6bbf5f))throw _0x6bbf5f[_0x19dd7e(0x4e3)];_0x373804[_0x19dd7e(0x1c3)]({..._0x4c1df0[_0x54d1bd],'undoState':_0x3438cf[_0x19dd7e(0x598)]['params'],'redoState':_0x6bbf5f[_0x19dd7e(0x598)][_0x19dd7e(0x2d5)]}),_0x14a0e9=_0x3438cf[_0x19dd7e(0x41c)],_0x372664=_0x6bbf5f['m1Prime'];}this[_0x19dd7e(0x50a)][_0x19dd7e(0x265)](_0x1b3dff,{'history':_0x2e3bd2,'collaboration':_0x373804});}};mt=no([Mt(0x0,_0x1596c5(_0x59d577)),Mt(0x1,_0x399263),Mt(0x2,_0x1596c5(_0xeca7f6))],mt);function Di(_0x5d7c54){const _0x29138b=_0x241173;let _0x5cb913='';for(const _0x1c898e of _0x5d7c54){const {startOffset:_0x57e6a7,endOffset:_0x277494,isActive:_0x22b626,rangeType:_0x48f414,segmentId:_0x58c620,segmentPage:_0x38a8a3}=_0x1c898e;_0x5cb913[_0x29138b(0x32c)]&&(_0x5cb913+=','),_0x5cb913+=_0x57e6a7+':'+_0x277494+':'+(_0x22b626?'1':'0')+':'+_0x48f414+':'+_0x58c620+':'+_0x38a8a3;}return _0x5cb913;}function ro(_0x4181c5){const _0xa53d7d=_0x241173,_0x5a24cf=_0x4181c5[_0xa53d7d(0x547)](','),_0x4301e3=[];for(const _0x170265 of _0x5a24cf){const [_0x28e485,_0x303f3c,_0x22105e,_0x1e9a08,_0x256a2e,_0x3d97b5]=_0x170265[_0xa53d7d(0x547)](':');_0x4301e3[_0xa53d7d(0x42a)]({'startOffset':Number(_0x28e485),'endOffset':Number(_0x303f3c),'collapsed':_0x28e485===_0x303f3c,'isActive':_0x22105e==='1','rangeType':_0x1e9a08===_0x3aef73['TEXT']?_0x3aef73[_0xa53d7d(0x300)]:_0x3aef73[_0xa53d7d(0x4a6)],'segmentId':typeof _0x256a2e==_0xa53d7d(0x412)?String(_0x256a2e):'','segmentPage':Number(_0x3d97b5!=null?_0x3d97b5:-0x1)});}return _0x4301e3[_0xa53d7d(0x51e)](_0x58d001=>_0x58d001[_0xa53d7d(0x2eb)])||(_0x4301e3[0x0][_0xa53d7d(0x2eb)]=!0x0),_0x4301e3;}class Is extends _0x388f6d{constructor(){const _0x514887=_0x241173;super(...arguments),g(this,_0x514887(0x1e1),new _0x76ce31(null)),g(this,'collabCursorState$',this[_0x514887(0x1e1)]['asObservable']());}['syncEditingCollabCursor'](_0x28c735){const _0x39dfca=_0x241173,{unitID:_0x5b5347,memberID:_0x32c488,textRanges:_0x472732}=_0x28c735,_0x4d9e64=Di(_0x472732);if(_0x4d9e64==='')return;const _0x54ff1e={'unitID':_0x5b5347,'memberID':_0x32c488,'selection':_0x4d9e64};this[_0x39dfca(0x1e1)]['next'](_0x54ff1e);}}var oo=Object[_0x241173(0x387)],ao=Object[_0x241173(0x2fb)],co=(_0x5463c1,_0x3ea8e2,_0x318e8a,_0x2b1023)=>{const _0x3a3943=_0x241173;for(var _0x118334=_0x2b1023>0x1?void 0x0:_0x2b1023?ao(_0x3ea8e2,_0x318e8a):_0x3ea8e2,_0x2c5bbf=_0x5463c1[_0x3a3943(0x32c)]-0x1,_0x1bf6cf;_0x2c5bbf>=0x0;_0x2c5bbf--)(_0x1bf6cf=_0x5463c1[_0x2c5bbf])&&(_0x118334=(_0x2b1023?_0x1bf6cf(_0x3ea8e2,_0x318e8a,_0x118334):_0x1bf6cf(_0x118334))||_0x118334);return _0x2b1023&&_0x118334&&oo(_0x3ea8e2,_0x318e8a,_0x118334),_0x118334;},Ws=(_0x273897,_0xa1f852)=>(_0x10c8d0,_0x376af5)=>_0xa1f852(_0x10c8d0,_0x376af5,_0x273897);let pt=class{constructor(_0x4a9493,_0x1a6061){const _0x44abe8=_0x241173;this[_0x44abe8(0x414)]=_0x4a9493,this[_0x44abe8(0x39d)]=_0x1a6061;}[_0x241173(0x554)](_0x355ea6){const _0x35eb01=_0x241173;var _0x5b0958;const _0x46174c=this['_injector'][_0x35eb01(0x241)](_0x43529d),_0x3608c6=(_0x5b0958=_0x46174c['getDocRanges']())!=null?_0x5b0958:[];if(_0x3608c6[_0x35eb01(0x32c)]===0x0)return;const _0x8f3499=_0x355ea6[_0x35eb01(0x4a0)],_0x273aa6=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8f3499,'actions':null,'textRanges':_0x3608c6}}],_0x5d5e4f=this[_0x35eb01(0x39d)][_0x35eb01(0x4c3)](_0x355ea6,_0x273aa6);if(!_0x18198c(_0x5d5e4f))throw _0x5d5e4f[_0x35eb01(0x4e3)];const _0x1e7bdf=_0x5d5e4f[_0x35eb01(0x598)][0x0][_0x35eb01(0x2d5)]['textRanges'];Array[_0x35eb01(0x4b3)](_0x1e7bdf)&&_0x1e7bdf['length']&&_0x46174c[_0x35eb01(0x286)](_0x1e7bdf,{'unitId':_0x8f3499,'subUnitId':_0x8f3499},!0x1);}};pt=co([Ws(0x0,_0x1596c5(_0x59d577)),Ws(0x1,_0x399263)],pt);const ho=new Set([_0x179056['id']]);function Fs(_0x2226ef,_0x932a66,_0x3c5d57,_0x36e093,_0x52386c){const _0x1f0ea4=_0x241173;var _0x39cb52,_0x2a1056,_0xd710de,_0x3d70f1;const _0x4115bc=[];for(const _0x1b9789 of _0x2226ef)if(ho[_0x1f0ea4(0x5be)](_0x1b9789['id'])){if(_0x4115bc[_0x1f0ea4(0x32c)]>0x0)break;_0x4115bc[_0x1f0ea4(0x42a)](_0x1b9789);break;}else _0x4115bc[_0x1f0ea4(0x42a)](_0x1b9789);const _0x406355=(_0x2a1056=(_0x39cb52=_0x52386c[_0x1f0ea4(0x1f1)]())==null?void 0x0:_0x39cb52['userID'])!=null?_0x2a1056:'unknown',_0x7b61a6=(_0x3d70f1=(_0xd710de=_0x52386c['getCurrentUser']())==null?void 0x0:_0xd710de[_0x1f0ea4(0x2b4)])!=null?_0x3d70f1:_0x1f0ea4(0x1dc);return{'changeset':{'unitID':_0x932a66,'type':_0x55ef20(_0x3c5d57[_0x1f0ea4(0x2ed)](_0x932a66)),'baseRev':_0x36e093[_0x1f0ea4(0x4fe)](_0x932a66),'revision':0x0,'userID':_0x406355,'memberID':_0x7b61a6,'mutations':_0x4115bc},'pendingMutations':_0x2226ef['slice'](_0x4115bc['length'])};}function lo(_0x184718,_0x50c5a6,_0x1f33a7,_0x5149a3,_0x135e4d){const _0x56c048=_0x241173;var _0x4baf2a,_0x14a65b,_0x46cc16,_0x51dab8;const _0x3d90ef=[_0x184718['reduce']((_0x5c40a6,_0x3b442c)=>{const _0x52cc2f=_0x10c7;var _0x1f8cce;const {id:_0x1cad33}=_0x5c40a6,{id:_0x3ce918,type:_0x5b1502}=_0x3b442c,_0x54fad3=(_0x1f8cce=_0x5c40a6[_0x52cc2f(0x2d5)])!=null?_0x1f8cce:{'actions':null},_0x115fb6=_0x3b442c[_0x52cc2f(0x2d5)];if(_0x1cad33&&_0x1cad33!==_0x3ce918)throw new Error(_0x52cc2f(0x203)+_0x1cad33+_0x52cc2f(0x374)+_0x3ce918+'.');return{..._0x5c40a6,'id':_0x3ce918,'type':_0x5b1502,'params':{'unitId':_0x115fb6['unitId'],'textRanges':_0x115fb6['textRanges'],'actions':_0x4013bd[_0x52cc2f(0x46f)](_0x54fad3[_0x52cc2f(0x406)],_0x115fb6['actions'])}};},{})],_0x5404d7=(_0x14a65b=(_0x4baf2a=_0x135e4d[_0x56c048(0x1f1)]())==null?void 0x0:_0x4baf2a[_0x56c048(0x438)])!=null?_0x14a65b:_0x56c048(0x1dc),_0x2e4059=(_0x51dab8=(_0x46cc16=_0x135e4d[_0x56c048(0x1f1)]())==null?void 0x0:_0x46cc16[_0x56c048(0x2b4)])!=null?_0x51dab8:_0x56c048(0x1dc);return{'changeset':{'unitID':_0x50c5a6,'type':_0x55ef20(_0x1f33a7[_0x56c048(0x2ed)](_0x50c5a6)),'baseRev':_0x5149a3[_0x56c048(0x4fe)](_0x50c5a6),'revision':0x0,'userID':_0x5404d7,'memberID':_0x2e4059,'mutations':_0x3d90ef},'pendingMutations':[]};}function Pi(_0x53b534,_0x5972c9){const _0x1a2d8f=_0x241173,_0x3c52df=new _0x53134c(0x1);return setTimeout(()=>_0x3c52df[_0x1a2d8f(0x5b0)](_0x5972c9),_0x53b534),_0x3c52df[_0x1a2d8f(0x1d7)]()[_0x1a2d8f(0x391)](_0x3dc28c(0x1));}const _o={'id':_0x157c6e['id'],'type':_0xb9bad3[_0x241173(0x5c0)],'params':{}};var uo=Object[_0x241173(0x387)],fo=Object['getOwnPropertyDescriptor'],Le=(_0x147218,_0x4fce3a,_0x94bead,_0x481485)=>{const _0x6599e0=_0x241173;for(var _0x11e04a=_0x481485>0x1?void 0x0:_0x481485?fo(_0x4fce3a,_0x94bead):_0x4fce3a,_0xcd8ee1=_0x147218[_0x6599e0(0x32c)]-0x1,_0x4e9f13;_0xcd8ee1>=0x0;_0xcd8ee1--)(_0x4e9f13=_0x147218[_0xcd8ee1])&&(_0x11e04a=(_0x481485?_0x4e9f13(_0x4fce3a,_0x94bead,_0x11e04a):_0x4e9f13(_0x11e04a))||_0x11e04a);return _0x481485&&_0x11e04a&&uo(_0x4fce3a,_0x94bead,_0x11e04a),_0x11e04a;},A=(_0x1837c7,_0x394c2d)=>(_0x4aaa16,_0x4f25c0)=>_0x394c2d(_0x4aaa16,_0x4f25c0,_0x1837c7),J=(_0x5e15f4=>(_0x5e15f4['NOT_COLLAB']=_0x241173(0x460),_0x5e15f4['SYNCED']=_0x241173(0x3c9),_0x5e15f4[_0x241173(0x344)]='pending',_0x5e15f4[_0x241173(0x2fa)]=_0x241173(0x2e7),_0x5e15f4[_0x241173(0x53d)]='awaiting_with_pending',_0x5e15f4[_0x241173(0x309)]=_0x241173(0x466),_0x5e15f4[_0x241173(0x396)]=_0x241173(0x26f),_0x5e15f4[_0x241173(0x1d6)]=_0x241173(0x1ed),_0x5e15f4))(J||{});const Ui=0xea60;class $e{constructor(_0x2cf584,_0x513163,_0x2ea0fc,_0x472a4c,_0xf263c,_0x593bd4,_0x1ab7fa,_0xb6e04,_0x43d7aa){const _0x239d1a=_0x241173;g(this,_0x239d1a(0x40c),null),g(this,'_pendingMutations',[]),(this[_0x239d1a(0x4a0)]=_0x2cf584,this[_0x239d1a(0x40a)]=_0x513163,this['_handler']=_0xf263c,this[_0x239d1a(0x553)]=_0x593bd4,this[_0x239d1a(0x593)]=_0x1ab7fa,this['_revisionService']=_0xb6e04,this[_0x239d1a(0x4c6)]=_0x43d7aa,this['_awaitingChangeset']=_0x2ea0fc,this[_0x239d1a(0x51c)]=_0x472a4c);}['_checkMissing'](_0x4c44c3){const _0xf6e84b=_0x241173,_0x650ca7=this[_0xf6e84b(0x44d)]['getCurrentRevOfUnit'](this['unitID']);return _0x4c44c3['revision']>_0x650ca7+0x1?(this['_handler']['onMissingChangesets']({'from':_0x650ca7,'to':_0x4c44c3[_0xf6e84b(0x269)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x228cde){const _0x182b93=_0x241173;this[_0x182b93(0x593)][_0x182b93(0x216)](this[_0x182b93(0x4a0)],_0x228cde);}[_0x241173(0x4b5)](_0x3f1088){const _0x4c4e41=_0x241173;var _0x445faf,_0xcd8402;(_0xcd8402=(_0x445faf=this[_0x4c4e41(0x335)])[_0x4c4e41(0x2b9)])==null||_0xcd8402[_0x4c4e41(0x502)](_0x445faf,_0x3f1088);}[_0x241173(0x50f)](_0x1d3e09){const _0x22f3a7=_0x241173;var _0x24712c,_0x100aa2;return(_0x100aa2=(_0x24712c=this[_0x22f3a7(0x335)])[_0x22f3a7(0x2bd)])==null?void 0x0:_0x100aa2[_0x22f3a7(0x502)](_0x24712c,_0x1d3e09);}[_0x241173(0x45c)](_0x585bca){const _0x14f434=_0x241173;var _0x4b1ca4,_0xa6bc0d;return(_0xa6bc0d=(_0x4b1ca4=this['_handler'])[_0x14f434(0x30b)])==null?void 0x0:_0xa6bc0d[_0x14f434(0x502)](_0x4b1ca4,_0x585bca);}[_0x241173(0x2be)](_0x1945db){const _0x27cb81=_0x241173;var _0x25b78b,_0x387538,_0x204968;return(_0x204968=(_0x387538=(_0x25b78b=this[_0x27cb81(0x335)])[_0x27cb81(0x49a)])==null?void 0x0:_0x387538['call'](_0x25b78b,_0x1945db))!=null?_0x204968:_0x1945db;}[_0x241173(0x537)](_0x26dfb9){const _0x5e751d=_0x241173;var _0x3a5231,_0x4a6697,_0x54e992;return(_0x54e992=(_0x4a6697=(_0x3a5231=this[_0x5e751d(0x335)])[_0x5e751d(0x58d)])==null?void 0x0:_0x4a6697[_0x5e751d(0x502)](_0x3a5231,_0x26dfb9))!=null?_0x54e992:_0x26dfb9;}[_0x241173(0x49c)](_0x1cd5d4){const _0x5aeaf5=_0x241173;var _0x5bdae0,_0x29520c;if(this['type']===ce[_0x5aeaf5(0x209)]){const {unitID:_0x581832,mutations:_0x24667a,memberID:_0x326d21}=_0x1cd5d4,_0x43ed37=_0x24667a[0x0][_0x5aeaf5(0x2d5)][_0x5aeaf5(0x35a)];Array[_0x5aeaf5(0x4b3)](_0x43ed37)&&_0x43ed37[_0x5aeaf5(0x32c)]>0x0&&((_0x29520c=(_0x5bdae0=this[_0x5aeaf5(0x335)])['onSyncEditingCollabCursor'])==null||_0x29520c[_0x5aeaf5(0x502)](_0x5bdae0,{'unitID':_0x581832,'memberID':_0x326d21,'textRanges':_0x43ed37}));}}[_0x241173(0x261)](){const _0x2ec97d=_0x241173;this[_0x2ec97d(0x4c6)][_0x2ec97d(0x382)](this[_0x2ec97d(0x4a0)],this[_0x2ec97d(0x40a)],this[_0x2ec97d(0x40c)],this[_0x2ec97d(0x51c)]);}['_getCurrentRevision'](){const _0x6329ae=_0x241173;return this['_revisionService'][_0x6329ae(0x4fe)](this[_0x6329ae(0x4a0)]);}[_0x241173(0x231)](){const _0x4a53c5=_0x241173;this[_0x4a53c5(0x44d)][_0x4a53c5(0x2a2)](this[_0x4a53c5(0x4a0)]);}['_executeRemoteChangeset'](_0x2d4c68){const _0x4d6b0b=_0x241173;var _0x26a8cc;let _0x44c982=this['_transformRemoteChangesetByIMECache'](_0x2d4c68);_0x44c982=this[_0x4d6b0b(0x537)](_0x44c982);const _0x19cd18=_0x357bfc(_0x44c982[_0x4d6b0b(0x3d0)],this[_0x4d6b0b(0x553)],{'fromCollab':!0x0});if(!_0x19cd18[_0x4d6b0b(0x262)])throw _0x19cd18[_0x4d6b0b(0x4e3)]instanceof Error?_0x19cd18[_0x4d6b0b(0x4e3)]:new Error((_0x26a8cc=_0x19cd18['error'])!=null?_0x26a8cc:_0x4d6b0b(0x587));this[_0x4d6b0b(0x50f)](_0x44c982),this['_transformStateCache'](_0x44c982),this['_transformUndoredo'](_0x2d4c68),this['_transformSelections'](_0x44c982),this['_syncEditingCollabCursor'](_0x44c982),this['_incrementRevisionNumber']();}}let Fe=class extends $e{constructor(_0x376c92,_0xbcd72c,_0x362342,_0x5de498,_0x3d63e5,_0x52a425,_0x4cb400,_0x4dd1c5,_0x3e24eb,_0x3a2199){const _0x4650aa=_0x241173;super(_0x376c92,_0xbcd72c,null,[],_0x362342,_0x4dd1c5,_0x4cb400,_0x5de498,_0x3d63e5),g(this,'status',_0x4650aa(0x3c9)),(this[_0x4650aa(0x414)]=_0x52a425,this['_logService']=_0x3e24eb,this['_transformService']=_0x3a2199);}[_0x241173(0x3d1)](_0x2a27bd){const _0x5622f3=_0x241173,_0x3db593=this[_0x5622f3(0x414)]['createInstance'](pe,this['unitID'],this[_0x5622f3(0x40a)],[_0x2a27bd],this[_0x5622f3(0x335)]);return _0x3db593[_0x5622f3(0x325)](),_0x3db593[_0x5622f3(0x261)](),_0x3db593;}[_0x241173(0x204)](_0x31a1bc){const _0x3bd59c=_0x241173;if(this[_0x3bd59c(0x317)](_0x31a1bc))return this[_0x3bd59c(0x414)][_0x3bd59c(0x25b)](he,this[_0x3bd59c(0x4a0)],this[_0x3bd59c(0x40a)],null,[],null,[_0x31a1bc],this['_handler']);try{const _0x34807e=this[_0x3bd59c(0x39d)][_0x3bd59c(0x4c3)](_0x31a1bc,[_o]);if(_0x18198c(_0x34807e)){const {c1Prime:_0x187084}=_0x34807e;return this[_0x3bd59c(0x2f0)](_0x187084),this;}throw _0x34807e[_0x3bd59c(0x4e3)];}catch(_0x22d5d7){return this[_0x3bd59c(0x318)][_0x3bd59c(0x4e3)](_0x22d5d7),this[_0x3bd59c(0x38e)](!0x1);}}[_0x241173(0x38e)](_0x42364b){const _0x35500e=_0x241173;return this['_injector'][_0x35500e(0x25b)](Re,this[_0x35500e(0x4a0)],this[_0x35500e(0x40a)],null,[],this[_0x35500e(0x335)],_0x42364b);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x241173(0x577)](){const _0x217124=_0x241173;throw new Error(_0x217124(0x4b0));}[_0x241173(0x579)](){return this;}['toggleOffline'](){const _0x299433=_0x241173;return this['_injector'][_0x299433(0x25b)](ye,this[_0x299433(0x4a0)],this[_0x299433(0x40a)],null,[],this[_0x299433(0x335)]);}[_0x241173(0x316)](){return this;}[_0x241173(0x44f)](){const _0x81c646=_0x241173;throw new Error(_0x81c646(0x221));}[_0x241173(0x1ca)](){const _0x2e1d31=_0x241173,_0x3b9d59=this[_0x2e1d31(0x44d)][_0x2e1d31(0x4fe)](this[_0x2e1d31(0x4a0)]);return this[_0x2e1d31(0x335)][_0x2e1d31(0x1df)]({'from':_0x3b9d59,'to':0x0}),this[_0x2e1d31(0x414)][_0x2e1d31(0x25b)](he,this['unitID'],this[_0x2e1d31(0x40a)],null,[],null,[],this[_0x2e1d31(0x335)]);}};Fe=Le([A(0x3,_0x1596c5(_0x3fbb34)),A(0x4,_0x1596c5(q)),A(0x5,_0x1596c5(_0x59d577)),A(0x6,_0x4007f7),A(0x7,_0x289e6f),A(0x8,_0x265e7a),A(0x9,_0x399263)],Fe);let pe=class extends $e{constructor(_0x2a2cad,_0x1c34ab,_0x3f87d9,_0x3a7f57,_0x4b88dc,_0x5ef447,_0x7910a5,_0x23dd90,_0x23b79b,_0x2105c5,_0x5ab34a,_0x1a11b6,_0x3e5a69,_0xbd5db0){const _0x275254=_0x241173;super(_0x2a2cad,_0x1c34ab,null,_0x3f87d9,_0x3a7f57,_0x2105c5,_0xbd5db0,_0x5ef447,_0x7910a5),g(this,_0x275254(0x452),'pending'),g(this,_0x275254(0x5b2),null),g(this,_0x275254(0x274),null),(this['_injector']=_0x4b88dc,this[_0x275254(0x281)]=_0x23dd90,this['_logService']=_0x23b79b,this['_configService']=_0x5ab34a,this['_transformService']=_0x1a11b6,this[_0x275254(0x518)]=_0x3e5a69);}[_0x241173(0x3d1)](_0x4f2a8a){const _0x1ebf3c=_0x241173;return this[_0x1ebf3c(0x51c)][_0x1ebf3c(0x42a)](_0x4f2a8a),this[_0x1ebf3c(0x261)](),this;}[_0x241173(0x204)](_0x22b9da){const _0xd7b92e=_0x241173;if(this[_0xd7b92e(0x317)](_0x22b9da))return this[_0xd7b92e(0x552)](),this[_0xd7b92e(0x414)]['createInstance'](he,this[_0xd7b92e(0x4a0)],this[_0xd7b92e(0x40a)],null,this[_0xd7b92e(0x51c)],null,[_0x22b9da],this['_handler']);try{const _0xd830a8=this[_0xd7b92e(0x39d)]['transformMutationsWithChangeset'](_0x22b9da,this[_0xd7b92e(0x51c)]);if(_0x18198c(_0xd830a8)){const {c1Prime:_0x3bfbaf,m2Prime:_0x374352}=_0xd830a8;this[_0xd7b92e(0x2f0)](_0x3bfbaf);const _0xa97a72=this[_0xd7b92e(0x414)][_0xd7b92e(0x25b)](pe,this[_0xd7b92e(0x4a0)],this[_0xd7b92e(0x40a)],_0x374352,this['_handler']);return this['_clearScheduledTask'](),_0xa97a72['_schedule'](this[_0xd7b92e(0x5b2)]?Math[_0xd7b92e(0x2d0)](0x0,new Date()[_0xd7b92e(0x336)]()-this[_0xd7b92e(0x5b2)]):this[_0xd7b92e(0x5a6)]()),_0xa97a72;}throw _0xd830a8[_0xd7b92e(0x4e3)];}catch(_0x4eedca){return this['_logService'][_0xd7b92e(0x4e3)](_0x4eedca),this[_0xd7b92e(0x38e)](!0x1);}}['onRemoteAck'](){const _0x3875c8=_0x241173;throw new Error(_0x3875c8(0x3f7));}[_0x241173(0x577)](){const _0x4f9630=_0x241173;throw new Error(_0x4f9630(0x395));}[_0x241173(0x579)](){return this;}[_0x241173(0x385)](){const _0x532608=_0x241173;return this[_0x532608(0x552)](),this[_0x532608(0x414)]['createInstance'](ye,this[_0x532608(0x4a0)],this[_0x532608(0x40a)],null,this['_pendingMutations'],this['_handler']);}[_0x241173(0x316)](){return this;}[_0x241173(0x325)](_0x5c9160){const _0x4e5526=_0x241173,_0x7737d5=_0x5c9160!=null?_0x5c9160:this[_0x4e5526(0x5a6)]();this[_0x4e5526(0x5b2)]=new Date()[_0x4e5526(0x336)](),this[_0x4e5526(0x274)]=window[_0x4e5526(0x2ea)](()=>{const _0x493f3f=_0x4e5526;this[_0x493f3f(0x552)]();let _0x3fdd9b=null;switch(this['type']){case ce[_0x493f3f(0x372)]:{_0x3fdd9b=Fs(this[_0x493f3f(0x51c)],this[_0x493f3f(0x4a0)],this[_0x493f3f(0x518)],this[_0x493f3f(0x44d)],this[_0x493f3f(0x281)]);break;}case ce['UNIVER_DOC']:{this[_0x493f3f(0x51c)][_0x493f3f(0x3a4)](_0x85d2c7=>_0x85d2c7['id']===_0x4f4f55['id'])?_0x3fdd9b=lo(this[_0x493f3f(0x51c)],this[_0x493f3f(0x4a0)],this[_0x493f3f(0x518)],this[_0x493f3f(0x44d)],this[_0x493f3f(0x281)]):_0x3fdd9b=Fs(this[_0x493f3f(0x51c)],this[_0x493f3f(0x4a0)],this['_univerInstanceService'],this[_0x493f3f(0x44d)],this[_0x493f3f(0x281)]);break;}default:throw new Error(_0x493f3f(0x56a)+this[_0x493f3f(0x40a)]+_0x493f3f(0x4f2));}const {changeset:_0x4b9365,pendingMutations:_0x3cddf6}=_0x3fdd9b;this[_0x493f3f(0x335)][_0x493f3f(0x462)](_0x4b9365);const _0x454dbc=_0x3cddf6[_0x493f3f(0x32c)]?this[_0x493f3f(0x414)][_0x493f3f(0x25b)](ge,this[_0x493f3f(0x4a0)],this[_0x493f3f(0x40a)],_0x4b9365,_0x3cddf6,this['_handler'],void 0x0):this[_0x493f3f(0x414)][_0x493f3f(0x25b)](Te,this[_0x493f3f(0x4a0)],this[_0x493f3f(0x40a)],_0x4b9365,this[_0x493f3f(0x335)]);_0x454dbc[_0x493f3f(0x261)](),this[_0x493f3f(0x335)][_0x493f3f(0x43f)](this,_0x454dbc);},_0x7737d5);}[_0x241173(0x5a6)](){const _0x5e98ee=_0x241173;var _0x219707;const _0x29355b=this[_0x5e98ee(0x3aa)][_0x5e98ee(0x561)](ie);return(_0x219707=_0x29355b==null?void 0x0:_0x29355b['sendChangesetTimeout'])!=null?_0x219707:ar;}[_0x241173(0x44f)](){const _0x39ee87=_0x241173;throw new Error(_0x39ee87(0x4bc));}[_0x241173(0x552)](){const _0x18965d=_0x241173;this[_0x18965d(0x274)]!=null&&(clearTimeout(this[_0x18965d(0x274)]),this[_0x18965d(0x274)]=null);}[_0x241173(0x38e)](_0x4d642b){const _0x3a9af3=_0x241173;return this[_0x3a9af3(0x552)](),this[_0x3a9af3(0x414)]['createInstance'](Re,this[_0x3a9af3(0x4a0)],this['type'],null,this[_0x3a9af3(0x51c)],this['_handler'],_0x4d642b);}};pe=Le([A(0x4,_0x1596c5(_0x59d577)),A(0x5,_0x1596c5(_0x3fbb34)),A(0x6,_0x1596c5(q)),A(0x7,_0x1596c5(Ne)),A(0x8,_0x265e7a),A(0x9,_0x289e6f),A(0xa,_0x13e361),A(0xb,_0x399263),A(0xc,_0xb0f939),A(0xd,_0x4007f7)],pe);let Te=class extends $e{constructor(_0x10d78c,_0x1f721d,_0xc2ca1,_0x4e1e1f,_0x456d90,_0x4692c9,_0xd76544,_0x407c67,_0xf1deaf,_0x1cda07,_0x276b05){const _0x1e2aa0=_0x241173;super(_0x10d78c,_0x1f721d,_0xc2ca1,[],_0x4e1e1f,_0x407c67,_0x276b05,_0x4692c9,_0xd76544),g(this,_0x1e2aa0(0x452),_0x1e2aa0(0x2e7)),g(this,_0x1e2aa0(0x451),0x0),g(this,_0x1e2aa0(0x3d2)),g(this,_0x1e2aa0(0x383)),(this[_0x1e2aa0(0x414)]=_0x456d90,this[_0x1e2aa0(0x318)]=_0xf1deaf,this[_0x1e2aa0(0x39d)]=_0x1cda07);}[_0x241173(0x3d1)](_0x617180){const _0x55e761=_0x241173;this[_0x55e761(0x552)]();const _0x37bb55=this[_0x55e761(0x414)][_0x55e761(0x25b)](ge,this[_0x55e761(0x4a0)],this[_0x55e761(0x40a)],this[_0x55e761(0x40c)],[_0x617180],this[_0x55e761(0x335)],this[_0x55e761(0x3d2)]);return _0x37bb55['_updateLocalCache'](),_0x37bb55;}['onRemoteChangeset'](_0x5dbe2c){const _0x1b8b24=_0x241173;if(this['_checkMissing'](_0x5dbe2c))return this[_0x1b8b24(0x552)](),this[_0x1b8b24(0x414)]['createInstance'](he,this[_0x1b8b24(0x4a0)],this[_0x1b8b24(0x40a)],this[_0x1b8b24(0x40c)],[],null,[_0x5dbe2c],this[_0x1b8b24(0x335)]);try{const _0x47ed2e=this[_0x1b8b24(0x39d)]['transformChangesets']([_0x5dbe2c],[this['_awaitingChangeset']],!0x1);if(_0x1ed796(_0x47ed2e)){const {c1Prime:_0x2f0b71,c2Prime:_0x337609}=_0x47ed2e;this['_executeRemoteChangeset'](_0x2f0b71[0x0]),_0x337609[0x0][_0x1b8b24(0x2a5)]=this['_getCurrentRevision'](),this[_0x1b8b24(0x552)]();const _0x19955e=this['_injector'][_0x1b8b24(0x25b)](Te,this[_0x1b8b24(0x4a0)],this[_0x1b8b24(0x40a)],_0x337609[0x0],this[_0x1b8b24(0x335)]);return _0x19955e['_updateLocalCache'](),_0x19955e;}return this[_0x1b8b24(0x38e)](!0x1);}catch(_0x8fbc8f){return this['_logService']['error'](_0x8fbc8f),this['_onConflict'](!0x1);}}[_0x241173(0x56d)](_0x5089c1){const _0x3757c7=_0x241173;this['_clearScheduledTask']();const _0x56cacb=this[_0x3757c7(0x44d)][_0x3757c7(0x4fe)](this[_0x3757c7(0x4a0)]);if(_0x5089c1['revision']<_0x56cacb-0x1)return this;if(this[_0x3757c7(0x317)](_0x5089c1))return this[_0x3757c7(0x414)][_0x3757c7(0x25b)](he,this[_0x3757c7(0x4a0)],this[_0x3757c7(0x40a)],null,[],this[_0x3757c7(0x40c)],[],this[_0x3757c7(0x335)]);this[_0x3757c7(0x231)]();const _0x364bda=this['_injector'][_0x3757c7(0x25b)](Fe,this[_0x3757c7(0x4a0)],this[_0x3757c7(0x40a)],this[_0x3757c7(0x335)]);return _0x364bda[_0x3757c7(0x261)](),_0x364bda;}['onRemoteRej'](_0x53d126){const _0x5515aa=_0x241173;return this['_onConflict'](!!(_0x53d126!=null&&_0x53d126[_0x5515aa(0x405)]));}[_0x241173(0x579)](_0x1b22ef){const _0x29ad0b=_0x241173;return this['_resendTimeout']>Ui?this[_0x29ad0b(0x385)]():(this[_0x29ad0b(0x3d2)]=Pi(this[_0x29ad0b(0x451)],{'timeout':this[_0x29ad0b(0x451)],'reqId':_0x1b22ef[_0x29ad0b(0x219)]}),this[_0x29ad0b(0x383)]=this[_0x29ad0b(0x3d2)][_0x29ad0b(0x31f)](({reqId:_0x746557,timeout:_0x4161e5})=>{this['_resendWithTimeout'](_0x746557,_0x4161e5);}),this);}[_0x241173(0x385)](){const _0x4cfe03=_0x241173;return this[_0x4cfe03(0x552)](),this[_0x4cfe03(0x414)][_0x4cfe03(0x25b)](ye,this[_0x4cfe03(0x4a0)],this[_0x4cfe03(0x40a)],this[_0x4cfe03(0x40c)],[],this[_0x4cfe03(0x335)]);}[_0x241173(0x316)](){return this;}[_0x241173(0x44f)](){const _0x30ae2e=_0x241173;this['_handler'][_0x30ae2e(0x462)](this[_0x30ae2e(0x40c)]);}[_0x241173(0x38e)](_0x758915){const _0x582c3b=_0x241173;return this[_0x582c3b(0x552)](),this[_0x582c3b(0x414)][_0x582c3b(0x25b)](Re,this[_0x582c3b(0x4a0)],this['type'],this[_0x582c3b(0x40c)],[],this[_0x582c3b(0x335)],_0x758915);}[_0x241173(0x2c4)](_0x5335ab,_0x161312){const _0x114396=_0x241173;var _0x5a48ca;_0x5335ab===((_0x5a48ca=this[_0x114396(0x40c)])==null?void 0x0:_0x5a48ca[_0x114396(0x219)])&&(this['resend'](),this[_0x114396(0x451)]=_0x161312===0x0?0x3e8:_0x161312*0x2);}[_0x241173(0x552)](){const _0x2d35de=_0x241173;var _0x2ae7c3;(_0x2ae7c3=this[_0x2d35de(0x383)])==null||_0x2ae7c3[_0x2d35de(0x4e0)](),this[_0x2d35de(0x451)]=0x0;}};Te=Le([A(0x4,_0x1596c5(_0x59d577)),A(0x5,_0x1596c5(_0x3fbb34)),A(0x6,_0x1596c5(q)),A(0x7,_0x289e6f),A(0x8,_0x265e7a),A(0x9,_0x399263),A(0xa,_0x4007f7)],Te);let ge=class extends $e{constructor(_0x29c577,_0xbb6637,_0x54d6aa,_0x4635c3,_0x8e2451,_0xb6049a,_0x4d5e22,_0x22acc4,_0x265d1b,_0x25c1e4,_0x5271ac,_0x4e5413,_0x10944b){const _0x4c5924=_0x241173;super(_0x29c577,_0xbb6637,_0x54d6aa,_0x4635c3,_0x8e2451,_0x25c1e4,_0x10944b,_0x22acc4,_0x265d1b),g(this,_0x4c5924(0x452),_0x4c5924(0x454)),g(this,_0x4c5924(0x451),0x0),g(this,'_resendTimer'),g(this,_0x4c5924(0x383)),(this[_0x4c5924(0x414)]=_0x4d5e22,this[_0x4c5924(0x318)]=_0x5271ac,this[_0x4c5924(0x39d)]=_0x4e5413,_0xb6049a&&(this[_0x4c5924(0x3d2)]=_0xb6049a,this[_0x4c5924(0x383)]=this['_resendTimer'][_0x4c5924(0x31f)](({reqId:_0x4bfb91,timeout:_0xf6a1c7})=>{const _0x45bf92=_0x4c5924;this[_0x45bf92(0x2c4)](_0x4bfb91,_0xf6a1c7);})));}[_0x241173(0x3d1)](_0x3b2092){const _0x171349=_0x241173;return this[_0x171349(0x51c)][_0x171349(0x42a)](_0x3b2092),this;}['onRemoteChangeset'](_0x1e4636){const _0x1f2aba=_0x241173;if(this[_0x1f2aba(0x317)](_0x1e4636))return this[_0x1f2aba(0x552)](),this[_0x1f2aba(0x414)][_0x1f2aba(0x25b)](he,this['unitID'],this[_0x1f2aba(0x40a)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x1e4636],this[_0x1f2aba(0x335)]);try{const _0x4d1d31=this[_0x1f2aba(0x39d)][_0x1f2aba(0x295)]([_0x1e4636],[this[_0x1f2aba(0x40c)]],!0x1);if(_0x1ed796(_0x4d1d31)){const {c1Prime:_0x33a9c6,c2Prime:_0x4edfaa}=_0x4d1d31,_0x2bc489=this['_transformService'][_0x1f2aba(0x4c3)](_0x33a9c6[0x0],this[_0x1f2aba(0x51c)]);if(_0x18198c(_0x2bc489)){const {c1Prime:_0x545c58,m2Prime:_0x2de126}=_0x2bc489;return this['_executeRemoteChangeset'](_0x545c58),_0x4edfaa[0x0][_0x1f2aba(0x2a5)]=this[_0x1f2aba(0x529)](),this[_0x1f2aba(0x552)](),this[_0x1f2aba(0x414)]['createInstance'](ge,this[_0x1f2aba(0x4a0)],this[_0x1f2aba(0x40a)],_0x4edfaa[0x0],_0x2de126,this[_0x1f2aba(0x335)],void 0x0);}throw _0x2bc489[_0x1f2aba(0x4e3)];}throw _0x4d1d31[_0x1f2aba(0x4e3)];}catch(_0x30d1ec){return this[_0x1f2aba(0x318)][_0x1f2aba(0x4e3)](_0x30d1ec),this[_0x1f2aba(0x38e)](!0x1);}}[_0x241173(0x56d)](_0x3543cc){const _0x99da8b=_0x241173;if(this[_0x99da8b(0x552)](),this[_0x99da8b(0x317)](_0x3543cc))return this[_0x99da8b(0x414)][_0x99da8b(0x25b)](he,this[_0x99da8b(0x4a0)],this[_0x99da8b(0x40a)],null,this[_0x99da8b(0x51c)],this['_awaitingChangeset'],[],this['_handler']);this[_0x99da8b(0x231)]();const _0x3038e7=this[_0x99da8b(0x414)][_0x99da8b(0x25b)](pe,this[_0x99da8b(0x4a0)],this[_0x99da8b(0x40a)],this[_0x99da8b(0x51c)],this[_0x99da8b(0x335)]);return _0x3038e7['_schedule'](),_0x3038e7[_0x99da8b(0x261)](),_0x3038e7;}[_0x241173(0x577)](_0x5f209f){return this['_onConflict'](!!(_0x5f209f!=null&&_0x5f209f['isPermissionRej']));}[_0x241173(0x579)](_0x478fa4){const _0x3807ea=_0x241173;return this[_0x3807ea(0x451)]>Ui?this[_0x3807ea(0x385)]():(this[_0x3807ea(0x3d2)]=Pi(this[_0x3807ea(0x451)],{'timeout':this[_0x3807ea(0x451)],'reqId':_0x478fa4[_0x3807ea(0x219)]}),this[_0x3807ea(0x383)]=this['_resendTimer'][_0x3807ea(0x31f)](({reqId:_0x19736d,timeout:_0x598f87})=>{const _0x8bb726=_0x3807ea;this[_0x8bb726(0x2c4)](_0x19736d,_0x598f87);}),this);}['toggleOffline'](){const _0x578e54=_0x241173;return this['_clearScheduledTask'](),this[_0x578e54(0x414)][_0x578e54(0x25b)](ye,this['unitID'],this[_0x578e54(0x40a)],this[_0x578e54(0x40c)],this[_0x578e54(0x51c)],this['_handler']);}['toggleOnline'](){return this;}[_0x241173(0x44f)](){const _0x3141ec=_0x241173;this['_handler'][_0x3141ec(0x462)](this[_0x3141ec(0x40c)]);}['_onConflict'](_0x2dddfa){const _0x44dab1=_0x241173;return this[_0x44dab1(0x552)](),this[_0x44dab1(0x414)]['createInstance'](Re,this[_0x44dab1(0x4a0)],this[_0x44dab1(0x40a)],null,this[_0x44dab1(0x51c)],this['_handler'],_0x2dddfa);}[_0x241173(0x2c4)](_0x1a2e49,_0x346f0d){const _0xe4d67e=_0x241173;var _0x3d60fe;_0x1a2e49===((_0x3d60fe=this[_0xe4d67e(0x40c)])==null?void 0x0:_0x3d60fe['reqId'])&&(this[_0xe4d67e(0x44f)](),this['_resendTimeout']=_0x346f0d===0x0?0x3e8:_0x346f0d*0x2);}[_0x241173(0x552)](){const _0x50ef40=_0x241173;var _0x3cdd91;(_0x3cdd91=this[_0x50ef40(0x383)])==null||_0x3cdd91[_0x50ef40(0x4e0)](),this[_0x50ef40(0x451)]=0x0;}};ge=Le([A(0x6,_0x1596c5(_0x59d577)),A(0x7,_0x1596c5(_0x3fbb34)),A(0x8,_0x1596c5(q)),A(0x9,_0x289e6f),A(0xa,_0x265e7a),A(0xb,_0x399263),A(0xc,_0x4007f7)],ge);let Re=class extends $e{constructor(_0x52e96a,_0x43c644,_0x4d9d9e,_0xcea15,_0x53a2ac,_0x372a9a=!0x1,_0x27e968,_0x20fb46,_0x34e30c,_0x575e26,_0x28a850,_0xe6f0f6,_0x3dbffe){const _0x37a68f=_0x241173;super(_0x52e96a,_0x43c644,_0x4d9d9e,_0xcea15,_0x53a2ac,_0x20fb46,_0x34e30c,_0x28a850,_0x575e26),g(this,'status','conflict'),(this[_0x37a68f(0x1ce)]=_0x372a9a,this[_0x37a68f(0x47a)]=_0x27e968,this[_0x37a68f(0x30a)]=_0xe6f0f6,this[_0x37a68f(0x541)]=_0x3dbffe,this['_showConflictNotification'](),this[_0x37a68f(0x22f)](),this[_0x37a68f(0x3fb)]());}[_0x241173(0x3d1)](){return this;}[_0x241173(0x204)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x241173(0x579)](){return this;}[_0x241173(0x385)](){return this;}[_0x241173(0x316)](){return this;}[_0x241173(0x44f)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x241173(0x22f)](){const _0x4b492b=_0x241173;this[_0x4b492b(0x4c6)][_0x4b492b(0x382)](this['unitID'],this['type'],null,[]);}[_0x241173(0x3e6)](){const _0x3ea77e=_0x241173;this[_0x3ea77e(0x1ce)]?this[_0x3ea77e(0x541)][_0x3ea77e(0x348)]({'title':this['_localeService']['t'](_0x3ea77e(0x513)),'content':this[_0x3ea77e(0x30a)]['t'](_0x3ea77e(0x504)),'type':_0x3ea77e(0x4e3),'duration':0x0}):this['_notificationService']['show']({'title':this[_0x3ea77e(0x30a)]['t'](_0x3ea77e(0x212)),'content':this[_0x3ea77e(0x30a)]['t'](_0x3ea77e(0x3ce)),'type':'error','duration':0x0});}[_0x241173(0x3fb)](){const _0x577484=_0x241173;this[_0x577484(0x47a)][_0x577484(0x443)](new _0x5e1b31(this[_0x577484(0x4a0)])['id'],!0x1);}};Re=Le([A(0x6,_0x1596c5(_0x118be4)),A(0x7,_0x289e6f),A(0x8,_0x4007f7),A(0x9,_0x1596c5(q)),A(0xa,_0x1596c5(_0x3fbb34)),A(0xb,_0x1596c5(_0x48c62d)),A(0xc,_0x323c57)],Re);let ye=class extends $e{constructor(_0x3b2560,_0x14821e,_0xa47b26,_0x4ca95b,_0x31b49d,_0x1c0545,_0x81925,_0x422dba,_0x51d498,_0x195185){const _0x1b6ec8=_0x241173;super(_0x3b2560,_0x14821e,_0xa47b26,_0x4ca95b,_0x31b49d,_0x51d498,_0x195185,_0x81925,_0x422dba),g(this,_0x1b6ec8(0x452),_0x1b6ec8(0x1ed)),this[_0x1b6ec8(0x414)]=_0x1c0545;}[_0x241173(0x3d1)](_0x3abed7){const _0x2c43c2=_0x241173;return this[_0x2c43c2(0x51c)][_0x2c43c2(0x42a)](_0x3abed7),this[_0x2c43c2(0x261)](),this;}[_0x241173(0x204)](_0x22852d){const _0x1a3329=_0x241173;throw new Error(_0x1a3329(0x36c));}[_0x241173(0x56d)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x241173(0x577)](){const _0x1f3648=_0x241173;throw new Error(_0x1f3648(0x584));}[_0x241173(0x579)](){return this;}[_0x241173(0x385)](){return this;}[_0x241173(0x316)](){const _0xfe0f8=_0x241173,{_injector:_0x2cd8e1,_pendingMutations:_0x53391b,_awaitingChangeset:_0x95011b,unitID:_0x3f7d09,_handler:_0x44ea62,type:_0xcc5b9c}=this,_0x71abad=Ni(_0x2cd8e1,_0x3f7d09,_0xcc5b9c,_0x95011b,_0x53391b,_0x44ea62);return _0x71abad instanceof pe?_0x71abad[_0xfe0f8(0x325)]():(_0x71abad instanceof ge||_0x71abad instanceof Te)&&_0x71abad['resend'](),_0x71abad;}[_0x241173(0x44f)](){const _0x3b468f=_0x241173;throw new Error(_0x3b468f(0x42e));}};function _0x411e(){const _0x4cbc2b=['/-/object/-/batch_allowed','_transformSelections','roomInfos','454824ZTRRyR','setConfig','HEADER_MENU','_change$','?size=','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','bind','_remoteChangesetQueue','executeCommand','min','APPLY_NON_SEQUENTIAL_REVISION','_queuedRemoteChangesets','transformMutationsWithChangeset','registerBeforeClose','fillText','_localCacheService','_handleEvent','LIVESHARE_TERMINATE','randomUUID','_tryEnsureSocket','ERROR_IMAGE','put','UUID','LICENSE_EXPORT_SIZE_EXCEEDED','makeDirty','getFocusedUnit','failed\x20to\x20apply\x20missed\x20changesets!','BufferedBlockAlgorithm','status$','currentTheme$','find','_nDataBytes','_color','SHA1','path','_listenToOfflineEvent','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','FAIL','_getSheetObject','setUndoRedoMutationParamsCache','eventID','unsubscribe','onCommandExecuted','RECV','error','set','UPDATE_PERMISSION_OBJ','Latin1','setActiveRange','AUTHZ_URL_KEY','createDecryptor','YUUMI_UNABLE_LOAD_URL','_online','PERMISSION_DENIED','children','PasswordBasedCipher','roomMembers$','contains','_onJoinRoomEvent','\x20in\x20_schedule.','_singleActiveUnitService','_transformUndoRedoStack','moveTo','setShowComponents','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','[CollaborationSessionService]:\x20socket\x20error','_docTransformIMECacheService','_scheduleCollaborationTimeoutTimer','_initUnitPermissionChange','replace','_onUserLeave','getCurrentRevOfUnit','reverse','_onMessage','_imageSourceCache','call','__esModule','permission.content','_anchorDot','objectID','isEditing','clearInterval','_socket$','_docStateChangeManagerService','editing\x20status\x20changed\x20to','setShapeProps','Utf8','USERS_ENTER','_transformIMECache','_snapshotServerService','interceptor','Could\x20not\x20dynamically\x20require\x20\x22','permission.title','addObject','_userManagerService','filter','hasher','_univerInstanceService','clamp','collab-text-range-','row','_pendingMutations','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','some','_compressMutationService','getRoom','ONLINE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Error\x20on\x20receiving\x20event','getTypeOfUnitDisposed$','_candidateSocket','auth.needGotoLoginAlert','parse','cfg','_getCurrentRevision','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initEventListeners','_getCtorByUniverType','_tryReconnect','transformStateCache','getCurrentSelections','SUBMIT_CHANGESET','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','APPLY_PERMISSION_DENIED','_instanceService','DeleteRangeMoveLeftCommandId','saveChangeset','_members','_transformRemoteChangesetByStateCache','save\x20fail\x20reason\x20is\x20','update','_messageService','EvpKDF','_initDependencies','AWAITING_WITH_PENDING','unitId\x20is\x20not\x20found','deepClone','onTransformChange$','_notificationService','docStateChange$','src','exports','fill','getInterceptPoints','split','loginUrlKey','red300','complete','pauseCollaboration','entries','SerializableCipher','_docTransformSelectionsService','csShouldRetryEvent','_onLocalMutation','_invKeySchedule','_clearScheduledTask','_commandService','transformSelections','loadOfflineData','_textBubble','_saveCache','focused$','setItem','/block/','slice','16sczmle','_getScale','_eventUnsubscribe','_hover','loadSheet','getConfig','createSocket','byteLength','keySize','unit-cache-','disposeUnit','_httpService','_saveTaskMap','add','[PendingState]:\x20unhandled\x20univer\x20type:\x20','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','session.room-full','onRemoteAck','drawWith','/collaborator','labelPosition','values','_scheduleHeartbeat','_initStatusComponent','/universer-api/authz','leaveEvent','WordArray','onRemoteRej','_sheetTransformSelectionsService','onRemoteRetry','random','on-line-single','findNodePositionByCharIndex','YUUMI_URL_COL_OUT_OF_RANGE','onMouseMove','undoState','iterations','_setupBeforeClosingHandler','change$','univer-online-status-icon','[OfflineState]:\x20received\x20rejection.','BASE64','_onRemoteRetry','[CollaborationState]:\x20apply\x20error!','hovered','UPDATE_CURSOR','dispose','LICENSE_DISTRO_REJECTED','newValue','onTransformRemoteChangesetByStateCache','_handleLeaveEvent','collabStatus.offline','collaboration.single-unit.warning','_getMergeRange','searchParams','_undoRedoService','getActiveSheet','substr','OTHER_CLIENTS_EDITING','APPLY_REJECT','m2Prime','size','_socketService','Univer','HttpImport','session.collaboration-timeout','Base','_collaborationPaused','getUnhiddenWorksheets','getUnitOnRev','lineTo','changesets','LIVESHARE_FETCH_OPERATIONS','_ws','_getSendChangesetTimeout','message$','JOINING','subUnitId','setParam','words','_drawRectRange','disableLocalCache','_scene','xlink:href','next','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_scheduleTimestamp','_draw','78zfCUKO','UNRECOGNIZED','_throwTelemetryCollaborationNewChangeset','updatePermissionObjEvent','collab-text-anchor-','UnitEmbedded','123555YNSpNS','algo','msCrypto','evenodd','has','OffLineSingle','MUTATION','_decreaseWaiting','online','body','attrs','defs','getWorkbookSelections','doc.mutation.rich-text-editing','sessionStatus','_sendHeartbeatTimer','subscribeEvent','readInt32LE','snapshot','_unitOnClients','COMPRESS_MUTATION_APPLY','visibilityState','_redoStacks','getParam','uploadFileServerUrl','_HTTPService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_lockTransition','getCellPositionByOffset','getSheetBlock','listRoles','SYNCED','floor','charCodeAt','_handleHeartbeatEvent','_beforeCloseService','unshift','_sheetSkeletonManagerService','_socketMessageSubscription','NOT_COLLAB','getUnit','visibilitychange','cursorInfo$','fetchMiss','getResourcesRequest','/allowed','listCollaborators','_isPermissionRej','getDocRanges','updateMember','FromArray','_onCombEvent','LIVESHARE_REQUEST_HOST','with','processBlock','OFFLINE','asObservable','_refreshCollabCursors','2899836NPiRgC','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getMergeData','unknown','state$','_collaborationSessionService','onMissingChangesets','_oKey','_collabCursorState$','__creator','YUUMI_RATE_OVER_LIMIT','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','JOIN','INGEST','getItem','_colorAssignService','registerRenderModule','POST','NEW_CHANGESETS','_selfUnitIDs','offline','HttpExport','HmacSHA1','pushState','getCurrentUser','measureText','SNAPSHOT_URL_KEY','allowed','SUCCUSS','Hex','_doCryptBlock','_collaborationTimeoutTimer','session.will-retry','urlChange$','closeSession','_snapshotService','Encryptor','cursorInfo','getActiveRange','shouldCloseConn','location','IDLE','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','onRemoteChangeset','skeleton','addObjects','blockSize','now','UNIVER_DOC','COMPRESS_MUTATION_SEND','INVALID_ARGUMENT','__Key__','symbol','/rev/','deleteCollaborator','disposeWithMe','_drawTextRange','conflict.title','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','abs','authzUrl','transformUndoRedo','AES','range','reqId','_minBufferSize','univer-offline','on-line-single_clip0_910_349','_listenToOnlineEvent','_iKey','_themeService','HEARTBEAT_TIMEOUT','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','1720054uDadFK','join','collaboration-client.config','_drawAnchor','_labelPosition','_iv','batchAllowed','_toggleOnline','purple300','collabWebSocketUrl','color','sheetID','UnitSnapshot','_clearLocalCache','session.connection-failed','_incrementRevisionNumber','snapshotServerUrl','_startCollaboration','LEAVE','_onRecvEvent','_roomMembers','rgba(255,\x20255,\x20255,\x200.01)','subunit','registerOnClose','_getSnapshotAPIPrefix','pad','NoPadding','getSkeleton','/universer-api/snapshot','collabCursorState$','clearTimeout','get','_replayCachedMutations','Base64','state','collabStatus.notCollab','$super','CHANGESET_REJ','univer-pro.collaboration-client.single-active-unit-service','_DEC_XFORM_MODE','execute','UNIVER_UNKNOWN','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','getUndoRedoMutationParamsCache','SHOULD_CLOSE_CONN','_onRemoteChangeset','/universer-api/oidc/authpage','HELLO','font','#fff','[DataLoaderController]','_initCloseConn','APPLY_DUPLICATED','sid','_append','reconnect','url','createInstance','members','collab-rect-range-','CONNECTOR_DATA_TOO_LARGE','_entities','originalMeta','_updateLocalCache','result','_disabled','createElement','setStateCache','createEncryptor','restore','startRow','revision','_updateLocalCursor','_cursorShapes','collabStatus.synced','/object/','_unitID','conflict','colorChannel1','[UniverCollaborationClientPlugin]','enableSingleActiveInstanceLock','getSheetBySheetId','_sendingTimer','endColumn','uni.network.url-service','DEFAULT_FILE_NAME','decrypt','_scheduleSaving','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','byteOffset','then','_getSaveTimeout','_data','startColumn','objectType','_memberService','transform','href','fillRule','error$','replaceDocRanges','fetching\x20missing\x20changesets\x20from\x20','getTypeOfUnitAdded$','collaMsg','UNDEFINED','_getDownloadEndpointURL','image/jpeg','width','_send','getValue','univer-online-status','none','_clearUndo','_undoStacks','round','transformChangesets','pluginName','_state','_changesetReqId','_keyPriorReset','collabStatus.conflict','LIVESHARE_OPERATION','reset','className','catch','rev','246GMuASv','376228WdRXep','incrementRevOfUnit','confirm','_keySchedule','baseRev','setAlpha','getRandomValues','_substituteUndoStack','APPLY_REVISION_CONFILICT','NO_OTHER_CLIENTS_EDITING','_hovered','exhaustSavingTask','stopTime','getOffsetConfig','_collabCursorController','_loadDoc','&assign=','translate(.97)','_sendHeartbeat','memberID','startsWith','default','encrypt','createCollaborator','onTransformSelections','target','univer-online','selections','onTransformIME','_transformRemoteChangesetByIMECache','_docTransformStateCacheService','syncEditingCollabCursor','_session','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UniverIcon','_resendWithTimeout','_submitChangeset','close$','Cipher','awaitingChangeset','_stopTelemetryCollaborationNewChangeset','_initMergeInterceptor','event$','getCollabEntity$','Undefined','/universer-api/stream/file/upload','_clearOtherTimers','max','indexOf','_clearRedo','getUnitId','encryptBlock','params','ERROR_EXCEED_SIZE','delete','save','&source=','_event$','commentUpdate$','closePath','localeService','univer-pro.collaboration-client-socket-service','_initResize','hasOwnProperty','_startSheetCollabCursor','_updateCollabCursors','[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.','_cipher','forEach','getUnitStatus$','awaiting','history','_shouldReportTelemetry','setTimeout','isActive','/fetchmissing?from=','getUnitType','collabSubmitChangesetUrl','_waitForHeartbeatResponse','_executeRemoteChangeset','_cachedData','override','_assignedColors','_createInitialStateImpl','\x0aCurrent:\x20','5326340TdxpoZ','INTERNAL_ERROR','finalize','unit','AWAITING','getOwnPropertyDescriptor','/new_changes','_reverseMap','black','refreshPermission','TEXT','YUUMI_SUBSCRIPTION_NOT_FOUND','_createHelper','hostname','11UfminK','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','reject','repeat','_registerRenderDependencies','FETCH_MISS','_localeService','onTransformState','InsertRowCommandId','getCollabEntity','mixIn','_onRemoteRejected','EXCHANGE_SIGN_URL_SERVER_URL_KEY','image/bmp','socketService','_type','signUrlServerUrl','_getAPIPrefixPath','toggleOnline','_checkMissing','_logService','_updateState','_docSyncEditingCollabCursorService','InsertColCommandId','getAncestorScale','transformRemoteChangeset','getDeserializedSheetBlock','subscribe','post','session','OpenSSL','objectActions','_registerDependencies','_schedule','sheetId','ENSURE_SNAPSHOT_EXECUTION','kdf','crypto','_replaceFileID','collabStatus.fetchMiss','length','\x20to\x20','fromCollab','submit\x20changeset\x20error!','debug','univerjs-icon\x20univerjs-icon-','/-/object/list','_mode','_sessions','_handler','getTime','/unit/','getImageSourceCache','...','storage','getStateCache','extend','_getUploadFileURL','randomBytes','onPointerEnter$','_hasher','sigBytes','_id','_nRounds','PENDING','VIEW_MAIN','patch','_createHmacHelper','show','_roomMembers$','apply','requireSession','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getRangePointData','UNKNOWN_CMD','/universer-api/file/{fileID}/sign-url','_hideTimer','append','_handleHover','list','_init','socket\x20open.','formatter','retryConnectingInterval','BlockCipherMode','[CollaborationUndoRedoService]','textRanges','_http','method','_toggleOffline','onPointerLeave$','action','activeSheet$','TOO_MANY_REQUESTS','getUniverSheetInstance','ciphertext','cmd','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_getSignURL','text','c1Prime','_doFinalize','_clearCollaborationTimeoutTimer','_telemetryService','[OfflineState]:\x20received\x20changeset.','HEARTBEAT','send','endRow','_unitStatus','_hash','UNIVER_SHEET','_retryCount','\x20-\x20','BlockCipher','icon','headers','_transitionLocked','PSEUDO_FETCH_MISSING_RESULT','selection','tag','StreamCipher','_onOffline','key','height','reduce','sheets','updateOfflineData','_sender','HmacMD5','toggleOffline','close','defineProperty','_socket','resourceIDs','getCurrentUnitForType','top','Unknown\x20user','_config','_onConflict','readAsDataURL','CipherParams','pipe','_transformPreviousActiveRange','HMAC','padding','[PendingState]:\x20received\x20rejection.','CONFLICT','duration','_getAPIPrefix','UNIVER_PROJECT','_onConnectionFailed','clipPath','1em','_transformService','off-line-single_clip0_910_343','#FFF','_rescheduleHeartbeat','responseType','_getAnchorBounding','beginPath','every','socket\x20close','open$','backgroundColor','ranges','InsertRangeMoveDownCommandId','_configService','CHANGESET_SHOULD_RETRY','_loadSheet','csRejEvent','_render','compute','_docSkeletonManagerService','getMember','collabStatus.syncing','_unlockTransition','_onCursorDelete','hide','_heartbeatTimer','_cursor','_commentUpdate$','setCurrentUser','_onRefRangeChange','InsertRangeMoveRightCommandId','LICENSE_MAX_UNITS_EXCEEDED','_createSocket','_setupSubUnitSync','_cursors','charAt','_scheduleClearOtherTimer','RemoveColCommandId','_getLoginPath','SNAPSHOT_SERVER_URL_KEY','workbook','_prevBlock','_acknowledgedAwaitingChangeset','M0\x200H16V16H0z','synced','transformMutation','requestParams','_updateURLWithCurrentState','includes','conflict.content','_parse','mutations','appendMutation','_resendTimer','registerHTTPInterceptor','RemoveRowCommandId','all','PERMISSION_REJ','MD5','_collabSessionService','0\x200\x2016\x2016','_status$','univer-online-status-title','MoveRangeCommandId','_createInitialState','_telemetryInfo','_clearHeartbeatTimer','url(#on-line-single_clip0_910_349)','number','onMissedChangesetFetched','mode','displayName','ALREADY_EXISTS','_showConflictNotification','x-univer-host','fillStyle','roomMembers','/universer-api/comb','enc','_backgroundColor','_onConnectionOpen','routeKey','RETRY_CONNECTING_MAX_COUNT','removeMember','Decryptor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_handleJoinEvent','defIds','idSuffix','_context','[PendingState]:\x20received\x20acknowledgement.','from','transformByState','_urlService','_disableEditing','getViewport','_onFetchMissResult','collaboration-session-retry','/role','prototype','_entityInit$','saveImage','_exhaustRemoteChangesetQueue','_initRequestHeader','isPermissionRej','actions','popstate','csAckEvent','_retryConnectingTimer','type','_refRangeService','_awaitingChangeset','_waitCount','hidden','_ENC_XFORM_MODE','unitId','FETCH_MISSING','string','_clearTimeoutTimer','_injector','generateRandomId','onload','_timeoutTimer','_createHandler','/universer-api/snapshot/','_renderManagerService','clone','m1Prime','newCsEvent','registerComponent','setWaitCount','_name','ACTIVE_UNIT_EVENT_CHANNEL','name','joinRsp','sin','getMemberID','objects','_syncEditingCollabCursorService','LICENSE_IMPORT_SIZE_EXCEEDED','function','push','url(#off-line-single_clip0_910_343)','UNAUTHENTICATED','infoRsp','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','arc','collaboration_new_changeset','lib','_removeCollabCursors','_process','_sessionStatus$','UNIVER_SLIDE','USERS_LEAVE','_cursorInfo$','userID','connection\x20error','_xformMode','_updateSubUnitFromURLParams','map','fetchThroughInterceptors','_onRemoteACK','onStateChange','_socketReady','getOwnPropertySymbols','onlineStatus','updatePermissionPoint','redoState','fromCharCode','LOGIN_URL_KEY','toString','dispose$','enableLocalCache','_getUndoStack','whenReady','DeleteRangeMoveUpCommandId','_revisionService','_ensureSubject','resend','_uiPartsService','_resendTimeout','status','c2Prime','awaiting_with_pending','OnLineSingle','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_onUserJoin','COLLAB_SUBMIT_CHANGESET_URL','init','/resources','onCommentUpdate','_transformStateCache','roles','_commentService','enableOfflineEditing','not_collab','_localStorageService','onSendChangeset','_substituteRedoStack','code','UNKNOWN_CODE','fetch_missing','liveShareNewHost','current','Warning','triggerDblclick','origin','_initStatusListener','LIVESHARE_NEW_HOST','Malformed\x20UTF-8\x20data','compose','format','addEventListener','Hasher','SNAPSHOT_HAS_BEEN_REMOVED','collaborators','COMMENT_UPDATE','_shapes','resolve','_onCursorUpdate','_startDocCollabCursor','_permissionService','COMPLETION_FINISHED','getRelativeToViewportCoord','assign','262HFRmSd','concat','MSG_FOR_ERROR','getCurrent','onReady','enableAuthServer','_removeClearOtherTimer','registerRefRange','_fetchMissChangesets','create','liveShareOperation','_applyRemoteChangeset','encodeURIComponent','Pkcs7','loadDoc','_colorIndex','splice','encode','onSyncEditingCollabCursor','image/jpg','_updateStatus','svg','onlineStatusTitle','sessionStatus$','salt','ivSize','data','_state$','onTransformRemoteChangesetByIMECache','_getRedoStack','_syncEditingCollabCursor','_range','copyFileMeta','div','unitID','getCollabCursors$','onRendered','_map','_key','[CollaborationSession]','RECT','_collaborationController','ws://127.0.0.1:8000/universer-api/comb/connect','clear','stringify','capture','getRenderById','_changesetSessionId','column','_anchor','[SyncedState]:\x20received\x20rejection.','getSheetId','toRgbString','isArray'];_0x411e=function(){return _0x4cbc2b;};return _0x411e();}ye=Le([A(0x5,_0x1596c5(_0x59d577)),A(0x6,_0x1596c5(_0x3fbb34)),A(0x7,_0x1596c5(q)),A(0x8,_0x289e6f),A(0x9,_0x4007f7)],ye);let he=class extends $e{constructor(_0x49aecc,_0x41ec90,_0x143f8a,_0x3d156f,_0x2b38f7,_0x140586,_0x32dd0a,_0x4ac928,_0x3cdd70,_0x1df751,_0x345fab,_0x2608b4,_0xf7f781,_0x32d18f){const _0x44a4f7=_0x241173;super(_0x49aecc,_0x41ec90,_0x143f8a,_0x3d156f,_0x32dd0a,_0x2608b4,_0xf7f781,_0x3cdd70,_0x1df751),g(this,_0x44a4f7(0x452),_0x44a4f7(0x466)),(this[_0x44a4f7(0x3c7)]=_0x2b38f7,this['_queuedRemoteChangesets']=_0x140586,this[_0x44a4f7(0x414)]=_0x4ac928,this[_0x44a4f7(0x318)]=_0x345fab,this[_0x44a4f7(0x39d)]=_0x32d18f);}[_0x241173(0x3e2)](_0x10429b){const _0x2d8231=_0x241173;try{const _0x21a020=[..._0x10429b,...this[_0x2d8231(0x4c2)]],_0x3d109a=[this[_0x2d8231(0x40c)]||this[_0x2d8231(0x3c7)]][_0x2d8231(0x516)](_0x2a3551=>!!_0x2a3551);let _0x2a4b21,_0x588ba9;if(_0x3d109a[_0x2d8231(0x32c)]){const _0x5341c0=this[_0x2d8231(0x39d)]['transformChangesets'](_0x21a020,_0x3d109a,!0x1);if(!_0x1ed796(_0x5341c0))throw _0x5341c0[_0x2d8231(0x4e3)];_0x2a4b21=_0x5341c0[_0x2d8231(0x368)],_0x588ba9=_0x5341c0[_0x2d8231(0x453)];}else _0x2a4b21=_0x21a020,_0x588ba9=[];let _0xf8a126=this['_pendingMutations'];_0x2a4b21[_0x2d8231(0x2e5)](_0xe7ed2f=>{const _0x5b1382=_0x2d8231;let _0x102798;if(_0xf8a126[_0x5b1382(0x32c)]){const _0x5adab1=this[_0x5b1382(0x39d)][_0x5b1382(0x4c3)](_0xe7ed2f,_0xf8a126);if(!_0x18198c(_0x5adab1))throw _0x5adab1['error'];_0x102798=_0x5adab1[_0x5b1382(0x368)],_0xf8a126=_0x5adab1[_0x5b1382(0x598)];}else _0x102798=_0xe7ed2f;this[_0x5b1382(0x2f0)](_0x102798);}),this[_0x2d8231(0x3c7)]&&this[_0x2d8231(0x231)](),this['_awaitingChangeset']&&_0x588ba9[_0x2d8231(0x32c)]&&(_0x588ba9[0x0][_0x2d8231(0x2a5)]=this[_0x2d8231(0x529)]());let _0x136d26;if(this[_0x2d8231(0x40c)]&&_0xf8a126[_0x2d8231(0x32c)]!==0x0)_0x136d26=this[_0x2d8231(0x414)][_0x2d8231(0x25b)](ge,this['unitID'],this['type'],_0x588ba9[0x0],_0xf8a126,this[_0x2d8231(0x335)],void 0x0);else{if(this[_0x2d8231(0x40c)]&&_0xf8a126[_0x2d8231(0x32c)]===0x0)_0x588ba9[0x0][_0x2d8231(0x2a5)]=this[_0x2d8231(0x529)](),_0x136d26=this[_0x2d8231(0x414)][_0x2d8231(0x25b)](Te,this['unitID'],this[_0x2d8231(0x40a)],_0x588ba9[0x0],this[_0x2d8231(0x335)]);else{if(_0xf8a126[_0x2d8231(0x32c)]!==0x0){const _0x1b9d0c=this[_0x2d8231(0x414)]['createInstance'](pe,this[_0x2d8231(0x4a0)],this['type'],_0xf8a126,this[_0x2d8231(0x335)]);_0x1b9d0c[_0x2d8231(0x325)](),_0x136d26=_0x1b9d0c;}else _0x136d26=this[_0x2d8231(0x414)][_0x2d8231(0x25b)](Fe,this['unitID'],this[_0x2d8231(0x40a)],this[_0x2d8231(0x335)]);}}return _0x136d26[_0x2d8231(0x261)](),_0x136d26;}catch(_0x52c0f3){return this[_0x2d8231(0x318)][_0x2d8231(0x4e3)]('[FetchMissState]',_0x2d8231(0x4d1),_0x52c0f3),this[_0x2d8231(0x414)][_0x2d8231(0x25b)](Re,this[_0x2d8231(0x4a0)],this[_0x2d8231(0x40a)],this[_0x2d8231(0x40c)],this[_0x2d8231(0x51c)],this[_0x2d8231(0x335)],!0x1);}}[_0x241173(0x44f)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x241173(0x3d1)](_0x3746f2){const _0xbdc0ff=_0x241173;return this['_pendingMutations'][_0xbdc0ff(0x42a)](_0x3746f2),this;}[_0x241173(0x204)](_0x2db4cc){const _0x4c9954=_0x241173;return this[_0x4c9954(0x4c2)][_0x4c9954(0x42a)](_0x2db4cc),this;}[_0x241173(0x56d)](_0x1435e7){const _0x439262=_0x241173;if(this['_awaitingChangeset'])return this[_0x439262(0x3c7)]=this[_0x439262(0x40c)],this[_0x439262(0x40c)]=null,this;throw new Error(_0x439262(0x24c));}[_0x241173(0x577)](_0x3e7c69){const _0x4be57f=_0x241173;return this['_onConflict'](!!(_0x3e7c69!=null&&_0x3e7c69[_0x4be57f(0x405)]));}[_0x241173(0x579)](){return this;}[_0x241173(0x385)](){const _0x16d29e=_0x241173;return this[_0x16d29e(0x414)][_0x16d29e(0x25b)](ye,this[_0x16d29e(0x4a0)],this[_0x16d29e(0x40a)],this[_0x16d29e(0x40c)],this[_0x16d29e(0x51c)],this[_0x16d29e(0x335)]);}['toggleOnline'](){return this;}[_0x241173(0x38e)](_0x2b3990){const _0x374fec=_0x241173;return this[_0x374fec(0x414)][_0x374fec(0x25b)](Re,this['unitID'],this[_0x374fec(0x40a)],this[_0x374fec(0x40c)],this[_0x374fec(0x51c)],this[_0x374fec(0x335)],_0x2b3990);}};he=Le([A(0x7,_0x1596c5(_0x59d577)),A(0x8,_0x1596c5(_0x3fbb34)),A(0x9,_0x1596c5(q)),A(0xa,_0x265e7a),A(0xb,_0x289e6f),A(0xc,_0x4007f7),A(0xd,_0x399263)],he);function Ni(_0x4ab4c3,_0x3d157d,_0x18b15b,_0x175817,_0x3de07f,_0x5dc4a6){const _0x1c80be=_0x241173;return _0x175817&&_0x3de07f[_0x1c80be(0x32c)]?_0x4ab4c3[_0x1c80be(0x25b)](ge,_0x3d157d,_0x18b15b,_0x175817,_0x3de07f,_0x5dc4a6,void 0x0):_0x175817?_0x4ab4c3[_0x1c80be(0x25b)](Te,_0x3d157d,_0x18b15b,_0x175817,_0x5dc4a6):_0x3de07f[_0x1c80be(0x32c)]?_0x4ab4c3[_0x1c80be(0x25b)](pe,_0x3d157d,_0x18b15b,_0x3de07f,_0x5dc4a6):_0x4ab4c3[_0x1c80be(0x25b)](Fe,_0x3d157d,_0x18b15b,_0x5dc4a6);}var vo=Object['defineProperty'],mo=Object[_0x241173(0x2fb)],Cs=(_0x1f078d,_0x348399,_0x15db11,_0x140330)=>{for(var _0xfb7237=_0x140330>0x1?void 0x0:_0x140330?mo(_0x348399,_0x15db11):_0x348399,_0x465086=_0x1f078d['length']-0x1,_0x24e452;_0x465086>=0x0;_0x465086--)(_0x24e452=_0x1f078d[_0x465086])&&(_0xfb7237=(_0x140330?_0x24e452(_0x348399,_0x15db11,_0xfb7237):_0x24e452(_0xfb7237))||_0xfb7237);return _0x140330&&_0xfb7237&&vo(_0x348399,_0x15db11,_0xfb7237),_0xfb7237;},H=(_0x188f51,_0x48a331)=>(_0x41bec0,_0x64aea0)=>_0x48a331(_0x41bec0,_0x64aea0,_0x188f51);let gt=class extends _0x388f6d{constructor(_0xcae1c2,_0x557769,_0x455e70,_0x4bf338,_0x336196,_0x37552b,_0x1c5e64,_0x2a2b34,_0x5be679,_0x5a6eec,_0x27d097,_0x55df47,_0x27af7e){const _0x534b71=_0x241173;super(),g(this,_0x534b71(0x499),new _0x76ce31(null)),g(this,'state$',this['_state$']['asObservable']()),g(this,_0x534b71(0x297)),g(this,_0x534b71(0x59f),!0x1),g(this,_0x534b71(0x4ad),''),g(this,_0x534b71(0x298),0x0),g(this,_0x534b71(0x4d3),this[_0x534b71(0x1dd)][_0x534b71(0x391)](_0x4d4651(_0x2876fb=>_0x2876fb?_0x2876fb[_0x534b71(0x452)]:J[_0x534b71(0x1d6)]),_0x5477e0(0x1))),g(this,_0x534b71(0x378),!0x1),g(this,_0x534b71(0x4be),[]),(this['unitID']=_0xcae1c2,this[_0x534b71(0x321)]=_0x557769,this[_0x534b71(0x313)]=_0x455e70,this[_0x534b71(0x414)]=_0x4bf338,this['_localCacheService']=_0x336196,this[_0x534b71(0x51f)]=_0x37552b,this[_0x534b71(0x30a)]=_0x1c5e64,this[_0x534b71(0x44d)]=_0x2a2b34,this['_logService']=_0x5be679,this[_0x534b71(0x553)]=_0x5a6eec,this[_0x534b71(0x53a)]=_0x27d097,this[_0x534b71(0x47a)]=_0x55df47,this[_0x534b71(0x4f3)]=_0x27af7e);}get['state'](){const _0x375ec6=_0x241173;return this[_0x375ec6(0x297)];}async['init'](){const _0x1f0269=_0x241173;if(this[_0x1f0269(0x244)])throw new Error(_0x1f0269(0x213));await this[_0x1f0269(0x354)]();}[_0x241173(0x54b)](){const _0x4006d0=_0x241173;return this[_0x4006d0(0x59f)]=!0x0,_0x5252a1(()=>{const _0x3f6bf8=_0x4006d0;this[_0x3f6bf8(0x59f)]=!0x1,this[_0x3f6bf8(0x403)]();});}[_0x241173(0x319)](_0x253c9e){const _0x554502=_0x241173;this[_0x554502(0x297)]=_0x253c9e,this[_0x554502(0x499)][_0x554502(0x5b0)](_0x253c9e);}async['_init'](){const _0x51021b=_0x241173;var _0x5c2678;this[_0x51021b(0x319)](await this[_0x51021b(0x3dd)]()),this['_singleActiveUnitService']&&((_0x5c2678=this[_0x51021b(0x4f3)])==null||_0x5c2678['editingUnit'](this[_0x51021b(0x4a0)]),this['disposeWithMe'](this[_0x51021b(0x4f3)][_0x51021b(0x2e6)](this[_0x51021b(0x4a0)])[_0x51021b(0x31f)](_0x384891=>{const _0x35eed4=_0x51021b;this[_0x35eed4(0x318)][_0x35eed4(0x330)]('[CollaborationEntity]',_0x35eed4(0x50b),_0x384891),_0x384891===wi[_0x35eed4(0x596)]?(this['_messageService'][_0x35eed4(0x348)]({'content':this['_localeService']['t'](_0x35eed4(0x590)),'type':_0x2b3cbc[_0x35eed4(0x469)]}),this[_0x35eed4(0x47a)][_0x35eed4(0x443)](new _0x5e1b31(this[_0x35eed4(0x4a0)])['id'],!0x1),this[_0x35eed4(0x47a)][_0x35eed4(0x4f6)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x5e1b31(this[_0x35eed4(0x4a0)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x669399=!0x1;return this['disposeWithMe'](this['session'][_0x51021b(0x495)][_0x51021b(0x31f)](_0xba84d1=>{const _0x396671=_0x51021b;_0xba84d1===ve[_0x396671(0x521)]?this[_0x396671(0x229)](_0x669399):_0xba84d1===ve[_0x396671(0x1d6)]&&(_0x669399=!0x0,this[_0x396671(0x35d)]());})),this[_0x51021b(0x210)](this[_0x51021b(0x321)][_0x51021b(0x2cb)][_0x51021b(0x31f)](_0x574b2e=>{const _0x1acc1f=_0x51021b;try{switch(_0x574b2e[_0x1acc1f(0x4df)]){case _0x4ac452[_0x1acc1f(0x1eb)]:{this[_0x1acc1f(0x24f)](_0x2f0b94(_0x574b2e[_0x1acc1f(0x498)]));break;}case _0x4ac452['CHANGESET_ACK']:{this[_0x1acc1f(0x43e)](_0x574b2e[_0x1acc1f(0x498)]);break;}case _0x4ac452[_0x1acc1f(0x247)]:{this[_0x1acc1f(0x30f)]();break;}case _0x4ac452[_0x1acc1f(0x3ab)]:{this[_0x1acc1f(0x586)](_0x574b2e['data']);break;}case _0x4ac452[_0x1acc1f(0x379)]:{this[_0x1acc1f(0x3fd)](_0x574b2e[_0x1acc1f(0x498)][_0x1acc1f(0x5a3)][_0x1acc1f(0x43c)](_0x15e6d2=>_0x2f0b94(_0x15e6d2)));break;}case _0x4ac452[_0x1acc1f(0x3d6)]:this[_0x1acc1f(0x30f)]({'isPermissionRej':!0x0});}}catch(_0x25ac43){throw console['error'](_0x1acc1f(0x523),_0x25ac43),_0x25ac43;}})),this['_state'];}[_0x241173(0x3b3)](){const _0x6169e5=_0x241173;this[_0x6169e5(0x378)]=!0x1;}[_0x241173(0x5d5)](){const _0x514257=_0x241173;if(this[_0x514257(0x378)])throw new Error(_0x514257(0x2e3));this[_0x514257(0x378)]=!0x0;}['_onLocalMutation'](_0x12027a){const _0x1a5f74=_0x241173;this['_lockTransition'](),this[_0x1a5f74(0x319)](this['_state']['appendMutation'](_0x12027a)),this[_0x1a5f74(0x3b3)]();}[_0x241173(0x24f)](_0x204378){const _0x2ee211=_0x241173;if(!(_0x204378[_0x2ee211(0x269)]<=this['_revisionService'][_0x2ee211(0x4fe)](this[_0x2ee211(0x4a0)]))){if(this[_0x2ee211(0x59f)]){this[_0x2ee211(0x4be)][_0x2ee211(0x42a)](_0x204378);return;}this[_0x2ee211(0x489)](_0x204378);}}[_0x241173(0x403)](){const _0x5b29e4=_0x241173;this[_0x5b29e4(0x4be)]['forEach'](_0x27406d=>this['_applyRemoteChangeset'](_0x27406d)),this['_remoteChangesetQueue']=[];}[_0x241173(0x489)](_0x1f01e5){const _0x10fe2d=_0x241173,_0x39ff1a=this[_0x10fe2d(0x51f)][_0x10fe2d(0x511)][_0x10fe2d(0x43d)](this[_0x10fe2d(0x51f)][_0x10fe2d(0x511)][_0x10fe2d(0x546)]()[_0x10fe2d(0x5ce)])(_0x1f01e5[_0x10fe2d(0x3d0)],null)||_0x1f01e5[_0x10fe2d(0x3d0)],_0x63325b={..._0x1f01e5,'mutations':_0x39ff1a};this[_0x10fe2d(0x5d5)](),this[_0x10fe2d(0x319)](this[_0x10fe2d(0x297)][_0x10fe2d(0x204)](_0x63325b)),this[_0x10fe2d(0x3b3)]();}[_0x241173(0x43e)](_0x40896f){const _0x584a5e=_0x241173;this['_lockTransition'](),this[_0x584a5e(0x319)](this[_0x584a5e(0x297)][_0x584a5e(0x56d)](_0x40896f)),this['_unlockTransition']();}[_0x241173(0x30f)](_0x690504){const _0x2ce5cd=_0x241173;this[_0x2ce5cd(0x5d5)](),this[_0x2ce5cd(0x319)](this[_0x2ce5cd(0x297)][_0x2ce5cd(0x577)](_0x690504)),this[_0x2ce5cd(0x3b3)]();}[_0x241173(0x586)](_0x112c1a){const _0x43c282=_0x241173;this[_0x43c282(0x5d5)](),this['_updateState'](this[_0x43c282(0x297)][_0x43c282(0x579)](_0x112c1a)),this[_0x43c282(0x3b3)]();}[_0x241173(0x3fd)](_0x2e4200){const _0xdc18dc=_0x241173;if(!(this['_state']instanceof he))throw new TypeError(_0xdc18dc(0x305));const _0x2f1a23=_0x2e4200[_0xdc18dc(0x43c)](_0xb0c8e6=>{const _0x21737d=_0xdc18dc,_0xd86b36=this[_0x21737d(0x51f)]['interceptor'][_0x21737d(0x43d)](this['_compressMutationService']['interceptor'][_0x21737d(0x546)]()[_0x21737d(0x5ce)])(_0xb0c8e6['mutations'],null)||_0xb0c8e6[_0x21737d(0x3d0)];return{..._0xb0c8e6,'mutations':_0xd86b36};});this[_0xdc18dc(0x5d5)](),this[_0xdc18dc(0x319)](this[_0xdc18dc(0x297)]['onMissedChangesetFetched'](_0x2f1a23)),this[_0xdc18dc(0x3b3)]();}['_toggleOffline'](){const _0x3d48cf=_0x241173;this[_0x3d48cf(0x5d5)](),this[_0x3d48cf(0x319)](this[_0x3d48cf(0x297)]['toggleOffline']()),this[_0x3d48cf(0x3b3)]();}[_0x241173(0x229)](_0x45aa78=!0x1){const _0x197fb8=_0x241173;this[_0x197fb8(0x5d5)](),this[_0x197fb8(0x319)](this[_0x197fb8(0x297)]['toggleOnline']()),this[_0x197fb8(0x3b3)]();const _0x491e1f=this[_0x197fb8(0x297)];_0x45aa78&&_0x491e1f instanceof Fe&&(this[_0x197fb8(0x5d5)](),this[_0x197fb8(0x319)](_0x491e1f[_0x197fb8(0x1ca)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x4248f7=>{const _0x55ba7a=_0x10c7;this[_0x55ba7a(0x321)][_0x55ba7a(0x495)]['pipe'](_0x3dc28c(0x1))['subscribe'](async _0x21fa8a=>{const _0x248cfc=_0x55ba7a;_0x4248f7(await this[_0x248cfc(0x2f4)](_0x21fa8a===ve[_0x248cfc(0x521)]));});});}[_0x241173(0x418)](){const _0x4c7d32=_0x241173,_0x95a92c=this[_0x4c7d32(0x4a0)];return{'onStateChange':(_0x5ae6e5,_0x191239)=>{const _0x1819a0=_0x4c7d32;if(_0x5ae6e5!==this[_0x1819a0(0x297)])throw new Error(_0x1819a0(0x51d)+_0x5ae6e5[_0x1819a0(0x452)]+'\x0aAfter:\x20'+_0x191239[_0x1819a0(0x452)]+_0x1819a0(0x2f5)+this[_0x1819a0(0x297)]['status']);this['_updateState'](_0x191239);},'onSendChangeset':_0x15a9e8=>{const _0x274fd6=_0x4c7d32;_0x15a9e8['sid']||(_0x15a9e8[_0x274fd6(0x257)]=this[_0x274fd6(0x4ad)],_0x15a9e8[_0x274fd6(0x219)]=++this[_0x274fd6(0x298)]);const _0xe53c55={'eventID':_0x4ac452[_0x274fd6(0x530)],'data':{'unitID':_0x15a9e8[_0x274fd6(0x4a0)],'unitType':this[_0x274fd6(0x313)],'changeset':_0x15a9e8,'memberID':this['session'][_0x274fd6(0x425)]()}};this[_0x274fd6(0x321)]['send'](_0xe53c55,this['unitID']);},'onMissingChangesets':({from:_0x104fc4,to:_0x3dc974})=>{const _0x4d42ac=_0x4c7d32;this[_0x4d42ac(0x318)][_0x4d42ac(0x330)]('[CollaborationEntity]',_0x4d42ac(0x287)+_0x104fc4+_0x4d42ac(0x32d)+_0x3dc974);const _0x195972={'eventID':_0x4ac452[_0x4d42ac(0x411)],'data':{'unitID':_0x95a92c,'unitType':this[_0x4d42ac(0x313)],'from':_0x104fc4,'to':_0x3dc974}};this[_0x4d42ac(0x321)][_0x4d42ac(0x36e)](_0x195972,this[_0x4d42ac(0x4a0)]);}};}async[_0x241173(0x2f4)](_0x3ab440){const _0x1722a2=_0x241173;var _0x2b4c15,_0x8e7369;const _0x4b8222=await this['_localCacheService'][_0x1722a2(0x555)](this[_0x1722a2(0x4a0)]),_0x1e92d8=(_0x2b4c15=_0x4b8222==null?void 0x0:_0x4b8222[_0x1722a2(0x3d0)])!=null?_0x2b4c15:[],_0x385055=(_0x8e7369=_0x4b8222==null?void 0x0:_0x4b8222['awaitingChangeset'])!=null?_0x8e7369:null,_0x44069c=!!(_0x385055!=null&&_0x385055[_0x1722a2(0x257)])&&!!(_0x385055!=null&&_0x385055[_0x1722a2(0x219)]);this[_0x1722a2(0x4ad)]=_0x44069c?_0x385055[_0x1722a2(0x257)]:Vr(),this[_0x1722a2(0x298)]=_0x44069c?_0x385055[_0x1722a2(0x219)]:0x0;const _0x5cd0a8=this[_0x1722a2(0x4a0)];try{this['_replayCachedMutations'](_0x385055,_0x1e92d8);}catch(_0x46a329){this[_0x1722a2(0x318)][_0x1722a2(0x4e3)](_0x46a329);}const _0x34d0cf=this[_0x1722a2(0x418)]();if(_0x3ab440){const _0x2f1e76=Ni(this[_0x1722a2(0x414)],_0x5cd0a8,this[_0x1722a2(0x313)],_0x385055,_0x1e92d8,_0x34d0cf);return _0x2f1e76 instanceof pe?_0x2f1e76[_0x1722a2(0x325)]():(_0x2f1e76 instanceof ge||_0x2f1e76 instanceof Te)&&_0x2f1e76[_0x1722a2(0x44f)](),_0x2f1e76;}return this[_0x1722a2(0x414)][_0x1722a2(0x25b)](ye,_0x5cd0a8,this['_type'],_0x385055,_0x1e92d8,_0x34d0cf);}[_0x241173(0x242)](_0x1f3407,_0x6a2d17){const _0x583384=_0x241173;var _0x49720f,_0x193ab8;const _0x564f35=this['_compressMutationService'][_0x583384(0x511)][_0x583384(0x43d)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x583384(0x5ce)]);(_0x49720f=_0x564f35((_0x1f3407==null?void 0x0:_0x1f3407['mutations'])||[],null))==null||_0x49720f['forEach'](_0x23fc92=>this['_commandService'][_0x583384(0x4bf)](_0x23fc92['id'],_0x23fc92[_0x583384(0x2d5)])),(_0x193ab8=_0x564f35(_0x6a2d17||[],null))==null||_0x193ab8[_0x583384(0x2e5)](_0x4c8021=>this[_0x583384(0x553)]['executeCommand'](_0x4c8021['id'],_0x4c8021[_0x583384(0x2d5)]));}};gt=Cs([H(0x3,_0x1596c5(_0x59d577)),H(0x4,_0x1596c5(q)),H(0x5,_0x1596c5(_0x2afa86)),H(0x6,_0x1596c5(_0x48c62d)),H(0x7,_0x1596c5(_0x3fbb34)),H(0x8,_0x265e7a),H(0x9,_0x289e6f),H(0xa,_0x3ed87c),H(0xb,_0x118be4),H(0xc,_0x164486(Rt))],gt);let ts=class extends gt{constructor(_0x4428c6,_0xc46498,_0x3dd919,_0x997fed,_0xe6100,_0x933bed,_0x2632de,_0x57d01d,_0x229ec0,_0x349a5e,_0x2bda76,_0x3d274,_0x4e4d25,_0x4e4130,_0x13a5b0,_0xe960c,_0x170c42,_0x28a8ed){const _0x25b40c=_0x241173;super(_0x4428c6,_0x3dd919,_0xc46498,_0x997fed,_0xe6100,_0x933bed,_0x2632de,_0x57d01d,_0x4e4130,_0x13a5b0,_0xe960c,_0x170c42,_0x28a8ed),this[_0x25b40c(0x4a0)]=_0x4428c6,this[_0x25b40c(0x40a)]=_0xc46498,this[_0x25b40c(0x50a)]=_0x229ec0,this[_0x25b40c(0x4f9)]=_0x349a5e,this['_docTransformStateCacheService']=_0x2bda76,this[_0x25b40c(0x54e)]=_0x3d274,this[_0x25b40c(0x31a)]=_0x4e4d25;}['_createHandler'](){const _0x13bef7=_0x241173,_0x17feb6=super[_0x13bef7(0x418)]();return _0x17feb6['onTransformIME']=_0xdc1a21=>this[_0x13bef7(0x4f9)]['transformIMECache'](_0xdc1a21),_0x17feb6['onTransformState']=_0x550f73=>this[_0x13bef7(0x2bf)]['transformStateCache'](_0x550f73),_0x17feb6[_0x13bef7(0x2b9)]=_0x168ece=>this[_0x13bef7(0x54e)][_0x13bef7(0x554)](_0x168ece),_0x17feb6[_0x13bef7(0x490)]=_0x2d8e6d=>this[_0x13bef7(0x31a)][_0x13bef7(0x2c0)](_0x2d8e6d),_0x17feb6[_0x13bef7(0x49a)]=_0x2d09a2=>this[_0x13bef7(0x4f9)][_0x13bef7(0x31d)](_0x2d09a2),_0x17feb6[_0x13bef7(0x58d)]=_0x551f67=>this[_0x13bef7(0x2bf)][_0x13bef7(0x31d)](_0x551f67),_0x17feb6;}async[_0x241173(0x354)](){const _0x31bcd6=_0x241173,_0x5f4bc8=await super[_0x31bcd6(0x354)]();return this['_docStateChangeManagerService'][_0x31bcd6(0x542)]['pipe'](_0x52fe01(this[_0x31bcd6(0x448)]))[_0x31bcd6(0x31f)](_0x210685=>{const _0x15bb62=_0x31bcd6;if(_0x210685==null)return;const {unitId:_0x19a94e,redoState:_0x496764,commandId:_0x27fc75}=_0x210685;if(_0x19a94e!==this[_0x15bb62(0x4a0)])return;const _0x50f2ae={'id':_0x27fc75,'type':_0xb9bad3[_0x15bb62(0x5c0)],'params':{'unitId':_0x19a94e,'actions':_0x496764['actions'],'textRanges':null}};this[_0x15bb62(0x550)](_0x50f2ae);}),_0x5f4bc8;}};ts=Cs([H(0x3,_0x1596c5(_0x59d577)),H(0x4,_0x1596c5(q)),H(0x5,_0x1596c5(_0x2afa86)),H(0x6,_0x1596c5(_0x48c62d)),H(0x7,_0x1596c5(_0x3fbb34)),H(0x8,_0x1596c5(_0xeca7f6)),H(0x9,_0x1596c5(ft)),H(0xa,_0x1596c5(mt)),H(0xb,_0x1596c5(pt)),H(0xc,_0x1596c5(Is)),H(0xd,_0x265e7a),H(0xe,_0x289e6f),H(0xf,_0x3ed87c),H(0x10,_0x118be4),H(0x11,_0x164486(Rt))],ts);let ss=class extends gt{constructor(_0x483c4b,_0x288758,_0x11c71c,_0x5bdc1d,_0x19baf0,_0x3212ec,_0x5da9ae,_0x1a6982,_0x1ed90f,_0x51c25b,_0x43b3f5,_0x271e4c,_0x53e8b6,_0x3ffe81){const _0x4df590=_0x241173;super(_0x483c4b,_0x11c71c,_0x288758,_0x5bdc1d,_0x19baf0,_0x3212ec,_0x5da9ae,_0x1a6982,_0x51c25b,_0x43b3f5,_0x271e4c,_0x53e8b6,_0x3ffe81),this[_0x4df590(0x4a0)]=_0x483c4b,this[_0x4df590(0x40a)]=_0x288758,this[_0x4df590(0x578)]=_0x1ed90f;}[_0x241173(0x418)](){const _0x553dd8=_0x241173,_0x2f891d=super[_0x553dd8(0x418)]();return _0x2f891d[_0x553dd8(0x2b9)]=_0x26f9cf=>this[_0x553dd8(0x578)][_0x553dd8(0x554)](_0x26f9cf),_0x2f891d;}async[_0x241173(0x354)](){const _0x11aa18=_0x241173,_0x1c5e07=await super['_init']();return this[_0x11aa18(0x210)](this[_0x11aa18(0x553)][_0x11aa18(0x4e1)]((_0x10789e,_0x546488)=>{const _0x52e6aa=_0x11aa18;if(_0x10789e[_0x52e6aa(0x40a)]!==_0xb9bad3[_0x52e6aa(0x5c0)]||_0x546488!=null&&_0x546488[_0x52e6aa(0x32e)]||_0x546488!=null&&_0x546488['onlyLocal'])return;const _0x17dbdb=_0x10789e['params'];if((_0x17dbdb==null?void 0x0:_0x17dbdb['unitId'])!==this[_0x52e6aa(0x4a0)])return;const _0x581e65=_0x10789e,_0x438f24=this[_0x52e6aa(0x51f)][_0x52e6aa(0x511)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x52e6aa(0x511)]['getInterceptPoints']()[_0x52e6aa(0x20a)])([_0x581e65],null)||[_0x581e65];this[_0x52e6aa(0x550)](_0x438f24[0x0]);})),_0x1c5e07;}};ss=Cs([H(0x3,_0x1596c5(_0x59d577)),H(0x4,_0x1596c5(q)),H(0x5,_0x1596c5(_0x2afa86)),H(0x6,_0x1596c5(_0x48c62d)),H(0x7,_0x1596c5(_0x3fbb34)),H(0x8,_0x1596c5(vt)),H(0x9,_0x265e7a),H(0xa,_0x289e6f),H(0xb,_0x3ed87c),H(0xc,_0x118be4),H(0xd,_0x164486(Rt))],ss);var po=Object[_0x241173(0x387)],go=Object[_0x241173(0x2fb)],So=(_0x3a6b88,_0x3efe9f,_0x2a11b6,_0x19b8cc)=>{for(var _0x5bcc62=_0x19b8cc>0x1?void 0x0:_0x19b8cc?go(_0x3efe9f,_0x2a11b6):_0x3efe9f,_0x1de988=_0x3a6b88['length']-0x1,_0x5ca584;_0x1de988>=0x0;_0x1de988--)(_0x5ca584=_0x3a6b88[_0x1de988])&&(_0x5bcc62=(_0x19b8cc?_0x5ca584(_0x3efe9f,_0x2a11b6,_0x5bcc62):_0x5ca584(_0x5bcc62))||_0x5bcc62);return _0x19b8cc&&_0x5bcc62&&po(_0x3efe9f,_0x2a11b6,_0x5bcc62),_0x5bcc62;},xt=(_0x317ccd,_0x51b92c)=>(_0x5a5654,_0x24605b)=>_0x51b92c(_0x5a5654,_0x24605b,_0x317ccd);let it=class extends _0x388f6d{constructor(_0x4f6222,_0x527bf4,_0x13d535){const _0x1f2258=_0x241173;super(),g(this,_0x1f2258(0x25f),new Map()),g(this,_0x1f2258(0x401),new _0x49f7d1()),(this['_injector']=_0x4f6222,this['_collabSessionService']=_0x527bf4,this[_0x1f2258(0x518)]=_0x13d535,this[_0x1f2258(0x354)]());}['dispose'](){const _0x2a3de1=_0x241173;super[_0x2a3de1(0x58a)](),this[_0x2a3de1(0x25f)][_0x2a3de1(0x2e5)](_0x371354=>_0x371354['dispose']()),this[_0x2a3de1(0x25f)][_0x2a3de1(0x4a9)]();}[_0x241173(0x30d)](_0x1325f2){const _0x29b6a7=_0x241173;var _0x3b560b;return(_0x3b560b=this[_0x29b6a7(0x25f)][_0x29b6a7(0x241)](_0x1325f2))!=null?_0x3b560b:null;}[_0x241173(0x2cc)](_0x4d8cbb){const _0x52f81c=_0x241173,_0x3c2c4a=this[_0x52f81c(0x30d)](_0x4d8cbb);return _0x3c2c4a?_0x11cc12(_0x3c2c4a):this['_entityInit$'][_0x52f81c(0x391)](_0x18ffd4(_0x153b59=>_0x153b59[_0x52f81c(0x4a0)]===_0x4d8cbb));}['_init'](){const _0x38bed3=_0x241173;this[_0x38bed3(0x518)][_0x38bed3(0x288)](_0x1d0ba8[_0x38bed3(0x372)])[_0x38bed3(0x391)](_0x52fe01(this[_0x38bed3(0x448)]),_0x381eaa(0x10))[_0x38bed3(0x31f)](async _0x397978=>{const _0x251d14=_0x38bed3,_0x422eb1=_0x397978[_0x251d14(0x2d3)](),_0x86d6d8=await this['_startCollaboration'](_0x422eb1,ce[_0x251d14(0x372)]);this[_0x251d14(0x25f)][_0x251d14(0x4e4)](_0x422eb1,_0x86d6d8);}),this[_0x38bed3(0x518)][_0x38bed3(0x288)](_0x1d0ba8[_0x38bed3(0x209)])[_0x38bed3(0x391)](_0x52fe01(this[_0x38bed3(0x448)]),_0x381eaa(0x10))[_0x38bed3(0x391)](_0x18ffd4(_0x1d0ecc=>!_0x1d0ecc['getUnitId']()[_0x38bed3(0x2b5)]('__')))[_0x38bed3(0x31f)](async _0x8b453=>{const _0x50750e=_0x38bed3,_0x3c44cb=_0x8b453[_0x50750e(0x2d3)](),_0x5a8432=await this[_0x50750e(0x233)](_0x3c44cb,ce[_0x50750e(0x209)]);this[_0x50750e(0x25f)][_0x50750e(0x4e4)](_0x3c44cb,_0x5a8432);}),_0x2434f6(this['_univerInstanceService'][_0x38bed3(0x524)](_0x1d0ba8['UNIVER_SHEET']),this[_0x38bed3(0x518)][_0x38bed3(0x524)](_0x1d0ba8['UNIVER_DOC']))['pipe'](_0x52fe01(this[_0x38bed3(0x448)]))[_0x38bed3(0x31f)](_0x1c6da1=>{const _0x39c59f=_0x38bed3,_0x592931=_0x1c6da1[_0x39c59f(0x2d3)](),_0x4ee019=this[_0x39c59f(0x25f)][_0x39c59f(0x241)](_0x592931);_0x4ee019&&(_0x4ee019['dispose'](),this['_entities']['delete'](_0x592931));});}async[_0x241173(0x233)](_0x478cbe,_0x21daf4){const _0x57680c=_0x241173,_0xfd95ad=await this['_collabSessionService'][_0x57680c(0x34b)](_0x478cbe),_0x29f72f=this[_0x57680c(0x414)][_0x57680c(0x25b)](this[_0x57680c(0x52c)](_0x21daf4),_0x478cbe,_0x21daf4,_0xfd95ad);return await _0x29f72f['init'](),this['_entityInit$'][_0x57680c(0x5b0)](_0x29f72f),_0x29f72f;}['_getCtorByUniverType'](_0x21c9ae){const _0x4873ea=_0x241173;switch(_0x21c9ae){case ce[_0x4873ea(0x209)]:return ts;case ce[_0x4873ea(0x372)]:return ss;default:throw new Error(_0x4873ea(0x27a)+_0x21c9ae);}}};it=So([xt(0x0,_0x1596c5(_0x59d577)),xt(0x1,_0x1596c5(Ae)),xt(0x2,_0xb0f939)],it);const Vs=[_0x241173(0x22a),'jiqing500','verdancy600',_0x241173(0x549),'blue400','gold400'];class Es extends _0x59a5e6{constructor(){const _0x170bb8=_0x241173;super(...arguments),g(this,_0x170bb8(0x2f3),new Map()),g(this,_0x170bb8(0x48d),0x0);}['assignAColorForMemberID'](_0x4d1e2d){const _0x3933b4=_0x241173;if(this['_assignedColors']['has'](_0x4d1e2d))return this[_0x3933b4(0x2f3)]['get'](_0x4d1e2d);const _0x3c92e4=Vs[this[_0x3933b4(0x48d)]];return this[_0x3933b4(0x48d)]=(this[_0x3933b4(0x48d)]+0x1)%Vs[_0x3933b4(0x32c)],this[_0x3933b4(0x2f3)]['set'](_0x4d1e2d,_0x3c92e4),_0x3c92e4;}}var Io=Object[_0x241173(0x387)],Co=Object['getOwnPropertyDescriptor'],Eo=(_0x3a769e,_0x85cd33,_0x83f34e,_0x33ce51)=>{for(var _0x308732=_0x33ce51>0x1?void 0x0:_0x33ce51?Co(_0x85cd33,_0x83f34e):_0x85cd33,_0x4053dc=_0x3a769e['length']-0x1,_0x573abe;_0x4053dc>=0x0;_0x4053dc--)(_0x573abe=_0x3a769e[_0x4053dc])&&(_0x308732=(_0x33ce51?_0x573abe(_0x85cd33,_0x83f34e,_0x308732):_0x573abe(_0x308732))||_0x308732);return _0x33ce51&&_0x308732&&Io(_0x85cd33,_0x83f34e,_0x308732),_0x308732;},Oe=(_0x17c220,_0x4f83fa)=>(_0x2f707e,_0x19a610)=>_0x4f83fa(_0x2f707e,_0x19a610,_0x17c220);const bo=0x12c,To=0x64;let is=class extends _0x388f6d{constructor(_0x5defc2,_0x329086,_0x5271a9,_0x463054,_0x37a720,_0x3c3e9a,_0x51c836,_0x1c4a73,_0x24d66c){const _0x197356=_0x241173;super(),g(this,_0x197356(0x4eb),!0x1),g(this,_0x197356(0x354),!0x1),g(this,_0x197356(0x437),new _0x76ce31(new Map())),g(this,_0x197356(0x1c9),this[_0x197356(0x437)]['asObservable']()),g(this,'_roomMembers$',new _0x76ce31([])),g(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x12bae1(bo))),g(this,_0x197356(0x26a),_0x46098b(_0x220350=>{const _0x3a7d52=_0x197356,_0x3034bc={'eventID':_0x4ac452[_0x3a7d52(0x589)],'data':{'unitID':this['unitID'],'memberID':this[_0x3a7d52(0x2c1)]['getMemberID'](),'selection':Di(_0x220350)}};this[_0x3a7d52(0x2c1)][_0x3a7d52(0x36e)](_0x3034bc,this['unitID']);},To)),(this[_0x197356(0x4a0)]=_0x5defc2,this[_0x197356(0x2c1)]=_0x329086,this['_injector']=_0x5271a9,this[_0x197356(0x1e8)]=_0x463054,this['_memberService']=_0x37a720,this['_syncEditingCollabCursorService']=_0x3c3e9a,this['_transformService']=_0x51c836,this[_0x197356(0x518)]=_0x1c4a73,this[_0x197356(0x553)]=_0x24d66c);}get[_0x241173(0x1fe)](){const _0xafac98=_0x241173;return this[_0xafac98(0x437)][_0xafac98(0x28f)]();}get[_0x241173(0x3e9)](){const _0x2b9181=_0x241173;return this[_0x2b9181(0x349)][_0x2b9181(0x28f)]();}[_0x241173(0x58a)](){const _0x10f4a6=_0x241173;super[_0x10f4a6(0x58a)](),this[_0x10f4a6(0x437)]['next'](new Map()),this['_cursorInfo$'][_0x10f4a6(0x54a)](),this['_roomMembers$']['next']([]),this[_0x10f4a6(0x349)][_0x10f4a6(0x54a)]();}[_0x241173(0x459)](){const _0x1d5bf=_0x241173;this[_0x1d5bf(0x354)]||(this[_0x1d5bf(0x354)]=!0x0,this[_0x1d5bf(0x2c1)][_0x1d5bf(0x495)][_0x1d5bf(0x391)](_0x52fe01(this[_0x1d5bf(0x448)]))[_0x1d5bf(0x31f)](_0x583ea3=>{const _0x3cf133=_0x1d5bf;_0x583ea3===ve[_0x3cf133(0x521)]?this[_0x3cf133(0x229)]():this['_toggleOffline']();}),this[_0x1d5bf(0x2c1)][_0x1d5bf(0x2cb)]['pipe'](_0x52fe01(this[_0x1d5bf(0x448)]))[_0x1d5bf(0x31f)](_0x13bde4=>{const _0x4e8dd5=_0x1d5bf,_0xf0bd2a=_0x13bde4[_0x4e8dd5(0x4df)];_0xf0bd2a===_0x4ac452[_0x4e8dd5(0x589)]&&this[_0x4e8dd5(0x478)](_0x13bde4),_0xf0bd2a===_0x4ac452[_0x4e8dd5(0x436)]&&this[_0x4e8dd5(0x3b4)](_0x13bde4);}),this[_0x1d5bf(0x210)](this[_0x1d5bf(0x553)]['onCommandExecuted'](_0x1d2a25=>{const _0x1f29c6=_0x1d5bf,_0x418b4d=_0x1d2a25[_0x1f29c6(0x2d5)];_0x418b4d!=null&&this[_0x1f29c6(0x4eb)]&&_0x1d2a25['id']===_0x48e2de['id']&&_0x418b4d['unitId']===this[_0x1f29c6(0x4a0)]&&_0x418b4d[_0x1f29c6(0x507)]===!0x1&&_0x418b4d[_0x1f29c6(0x3a8)][_0x1f29c6(0x32c)]>0x0&&this[_0x1f29c6(0x26a)](_0x418b4d[_0x1f29c6(0x3a8)]);})),this[_0x1d5bf(0x427)][_0x1d5bf(0x23f)][_0x1d5bf(0x391)](_0x52fe01(this[_0x1d5bf(0x448)]))[_0x1d5bf(0x31f)](_0x349bb9=>{const _0x49497c=_0x1d5bf;if((_0x349bb9==null?void 0x0:_0x349bb9['unitID'])!==this[_0x49497c(0x4a0)])return;const _0x1197ff={'eventID':_0x4ac452['UPDATE_CURSOR'],'data':_0x349bb9};this[_0x49497c(0x478)](_0x1197ff);}),this[_0x1d5bf(0x210)](this[_0x1d5bf(0x553)][_0x1d5bf(0x4e1)](_0x177b94=>{const _0x442c82=_0x1d5bf;if(_0x177b94[_0x442c82(0x2d5)]==null)return;const _0xc3169d=_0x177b94[_0x442c82(0x2d5)];if(_0x177b94['id']!==_0x4f4f55['id']||_0xc3169d[_0x442c82(0x410)]!==this[_0x442c82(0x4a0)])return;const _0x2dbc95={'id':_0x442c82(0x5c7),'params':_0xc3169d},_0x465882=this[_0x442c82(0x1fe)];for(const [_0x2de2fd,_0x50e546]of _0x465882){const _0x36b97f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x442c82(0x4a0)],'actions':null,'textRanges':_0x50e546[_0x442c82(0x3a8)]}},_0x142057=this[_0x442c82(0x39d)][_0x442c82(0x3ca)](_0x2dbc95,_0x36b97f,!0x1);if(_0x3ab926(_0x142057))throw _0x142057[_0x442c82(0x4e3)];_0x465882[_0x442c82(0x4e4)](_0x2de2fd,{..._0x50e546,'ranges':_0x142057['m2Prime'][_0x442c82(0x2d5)]['textRanges']});}queueMicrotask(()=>{const _0xb89a99=_0x442c82;this[_0xb89a99(0x437)][_0xb89a99(0x5b0)](_0x465882);});})));}[_0x241173(0x478)](_0x1d7843){const _0x3a1e62=_0x241173;var _0x16b19e,_0x504963;const {memberID:_0x25a039,selection:_0x2377c1}=_0x1d7843['data'],_0x60718=ro(_0x2377c1),_0x5d7494=(_0x504963=(_0x16b19e=this[_0x3a1e62(0x281)]['getMember'](this['unitID'],_0x25a039))==null?void 0x0:_0x16b19e[_0x3a1e62(0x422)])!=null?_0x504963:'Unknown\x20user',_0x76a66={'color':this[_0x3a1e62(0x1e8)]['assignAColorForMemberID'](_0x25a039),'name':_0x5d7494,'ranges':_0x60718},_0x442bf5=this['cursorInfo'];_0x442bf5[_0x3a1e62(0x4e4)](_0x25a039,_0x76a66),this[_0x3a1e62(0x437)][_0x3a1e62(0x5b0)](_0x442bf5);}[_0x241173(0x3b4)](_0x529576){const _0x140b68=_0x241173,{memberID:_0x3f6845}=_0x529576[_0x140b68(0x498)],_0x4fc159=this[_0x140b68(0x1fe)];_0x4fc159[_0x140b68(0x2d7)](_0x3f6845),this[_0x140b68(0x437)][_0x140b68(0x5b0)](_0x4fc159);}[_0x241173(0x229)](){const _0x350a22=_0x241173;var _0x32ae48;if(this[_0x350a22(0x4eb)]=!0x0,((_0x32ae48=this[_0x350a22(0x518)][_0x350a22(0x4d0)]())==null?void 0x0:_0x32ae48[_0x350a22(0x2d3)]())!==this[_0x350a22(0x4a0)])return;const _0x5a3095=this['_injector'][_0x350a22(0x241)](_0x43529d)[_0x350a22(0x1cf)]();Array['isArray'](_0x5a3095)&&_0x5a3095['length']>0x0&&this[_0x350a22(0x26a)](_0x5a3095);}[_0x241173(0x35d)](){const _0x7d7246=_0x241173;this[_0x7d7246(0x4eb)]=!0x1;}};is=Eo([Oe(0x2,_0x1596c5(_0x59d577)),Oe(0x3,_0x1596c5(Es)),Oe(0x4,_0x1596c5(Ne)),Oe(0x5,_0x1596c5(Is)),Oe(0x6,_0x399263),Oe(0x7,_0xb0f939),Oe(0x8,_0x289e6f)],is);var Ro=Object[_0x241173(0x387)],yo=Object['getOwnPropertyDescriptor'],Oo=(_0x4b6da9,_0x2428b3,_0x34d89d,_0x35e274)=>{for(var _0x84a5b4=_0x35e274>0x1?void 0x0:_0x35e274?yo(_0x2428b3,_0x34d89d):_0x2428b3,_0x359866=_0x4b6da9['length']-0x1,_0x1f83e3;_0x359866>=0x0;_0x359866--)(_0x1f83e3=_0x4b6da9[_0x359866])&&(_0x84a5b4=(_0x35e274?_0x1f83e3(_0x2428b3,_0x34d89d,_0x84a5b4):_0x1f83e3(_0x84a5b4))||_0x84a5b4);return _0x35e274&&_0x84a5b4&&Ro(_0x2428b3,_0x34d89d,_0x84a5b4),_0x84a5b4;},Be=(_0xe07f8f,_0x151650)=>(_0x4c8f8b,_0x5ceb19)=>_0x151650(_0x4c8f8b,_0x5ceb19,_0xe07f8f);const wo=0x12c,Do=0x64,Po=()=>{let _0x413b19=[],_0x232020=!0x1;return _0x969007=>{const _0x23902d=_0x10c7;_0x413b19[_0x23902d(0x42a)](_0x969007),_0x232020||(_0x232020=!0x0,setTimeout(()=>{_0x413b19['forEach'](_0x15d40e=>_0x15d40e()),_0x413b19=[],_0x232020=!0x1;}));};};let ns=class extends _0x388f6d{constructor(_0x54fea1,_0x21e14b,_0x285a57,_0x4621ba,_0x14b1ea,_0x2069d7,_0x129bdc,_0x154c9f){const _0xbf8d8b=_0x241173;super(),g(this,_0xbf8d8b(0x4eb),!0x1),g(this,_0xbf8d8b(0x354),!0x1),g(this,'_cursorInfo$',new _0x76ce31(new Map())),g(this,_0xbf8d8b(0x1c9),this[_0xbf8d8b(0x437)][_0xbf8d8b(0x1d7)]()),g(this,_0xbf8d8b(0x349),new _0x76ce31([])),g(this,_0xbf8d8b(0x4ef),this[_0xbf8d8b(0x349)][_0xbf8d8b(0x391)](_0x12bae1(wo))),g(this,_0xbf8d8b(0x26a),_0x46098b((_0x4e09a9,_0x4ecf9e)=>{const _0x21758a=_0xbf8d8b,_0xd5858d={'eventID':_0x4ac452['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x21758a(0x2c1)][_0x21758a(0x425)](),'selection':_0x37ef09(_0x4e09a9,_0x4ecf9e[_0x21758a(0x218)])}};this[_0x21758a(0x2c1)][_0x21758a(0x36e)](_0xd5858d,this['unitID']);},Do)),(this['unitID']=_0x54fea1,this[_0xbf8d8b(0x2c1)]=_0x21e14b,this['_injector']=_0x285a57,this['_colorAssignService']=_0x4621ba,this[_0xbf8d8b(0x281)]=_0x14b1ea,this[_0xbf8d8b(0x518)]=_0x2069d7,this[_0xbf8d8b(0x553)]=_0x129bdc,this['_refRangeService']=_0x154c9f);}get[_0x241173(0x1fe)](){const _0x5e8ec4=_0x241173;return this[_0x5e8ec4(0x437)][_0x5e8ec4(0x28f)]();}get[_0x241173(0x3e9)](){const _0xdcb0dc=_0x241173;return this['_roomMembers$'][_0xdcb0dc(0x28f)]();}[_0x241173(0x58a)](){const _0x185249=_0x241173;super[_0x185249(0x58a)](),this[_0x185249(0x437)]['next'](new Map()),this[_0x185249(0x437)]['complete'](),this[_0x185249(0x349)][_0x185249(0x5b0)]([]),this['_roomMembers$'][_0x185249(0x54a)]();}[_0x241173(0x459)](){const _0x100d66=_0x241173;this['_init']||(this[_0x100d66(0x354)]=!0x0,this['_session'][_0x100d66(0x495)][_0x100d66(0x391)](_0x52fe01(this[_0x100d66(0x448)]))[_0x100d66(0x31f)](_0x1f2066=>{const _0x2508c4=_0x100d66;_0x1f2066===ve[_0x2508c4(0x521)]?this['_toggleOnline']():this[_0x2508c4(0x35d)]();}),this[_0x100d66(0x2c1)]['event$'][_0x100d66(0x391)](_0x52fe01(this[_0x100d66(0x448)]))[_0x100d66(0x31f)](_0x27655e=>{const _0x1703c2=_0x100d66,_0x38468b=_0x27655e[_0x1703c2(0x4df)];_0x38468b===_0x4ac452['UPDATE_CURSOR']&&this[_0x1703c2(0x478)](_0x27655e),_0x38468b===_0x4ac452[_0x1703c2(0x436)]&&this['_onCursorDelete'](_0x27655e);}),this[_0x100d66(0x3ba)](),this['disposeWithMe'](this['_commandService'][_0x100d66(0x4e1)](_0x28c222=>{const _0x23fa2b=_0x100d66;if(this[_0x23fa2b(0x4eb)]&&_0x28c222['id']===_0x28fc2c['id']&&_0x28c222['params']['unitId']===this[_0x23fa2b(0x4a0)]){const _0x12308c=_0x28c222['params'];this['_updateLocalCursor'](_0x12308c[_0x23fa2b(0x5a9)],_0x12308c[_0x23fa2b(0x2bc)][0x0]);}})));}[_0x241173(0x478)](_0x36b298){const _0xf06f8b=_0x241173;var _0x454567,_0x39399e;const {memberID:_0x5a2f87,selection:_0x3c41e9}=_0x36b298['data'],{sheetName:_0x84c220,range:_0x32ccac}=_0x1b8bdd(_0x3c41e9),_0x505fb5={'name':(_0x39399e=(_0x454567=this[_0xf06f8b(0x281)][_0xf06f8b(0x3b1)](this['unitID'],_0x5a2f87))==null?void 0x0:_0x454567[_0xf06f8b(0x422)])!=null?_0x39399e:_0xf06f8b(0x38c),'range':this[_0xf06f8b(0x591)](_0x84c220,_0x32ccac),'sheetID':_0x84c220,'color':this[_0xf06f8b(0x1e8)]['assignAColorForMemberID'](_0x5a2f87),'selection':_0x3c41e9},_0x3e6197=this[_0xf06f8b(0x1fe)];_0x3e6197['set'](_0x5a2f87,_0x505fb5),this[_0xf06f8b(0x437)][_0xf06f8b(0x5b0)](_0x3e6197);}[_0x241173(0x3b4)](_0x11a150){const _0x167019=_0x241173,{memberID:_0x7e603c}=_0x11a150[_0x167019(0x498)],_0x58fec8=this[_0x167019(0x1fe)];_0x58fec8['delete'](_0x7e603c),this[_0x167019(0x437)][_0x167019(0x5b0)](_0x58fec8);}[_0x241173(0x591)](_0x3e4365,_0x351218){const _0x358c31=_0x241173;var _0x2165c6,_0x110227;const _0x49b5ba=(_0x110227=(_0x2165c6=this[_0x358c31(0x518)][_0x358c31(0x362)](this['unitID']))==null?void 0x0:_0x2165c6[_0x358c31(0x273)](_0x3e4365))==null?void 0x0:_0x110227[_0x358c31(0x1db)]();return(_0x49b5ba==null?void 0x0:_0x49b5ba[_0x358c31(0x4d5)](_0x126df4=>_0x34664d[_0x358c31(0x4f0)](_0x126df4,_0x351218)))||_0x351218;}[_0x241173(0x3ba)](){const _0xb1b975=_0x241173,_0x4fb818=new _0x3c5213(),_0x119972=Po(),_0x2186e2=()=>{const _0x52791c=_0x10c7;_0x4fb818[_0x52791c(0x58a)]();const _0x3b2ad6=(_0x35b54d,_0x1dd7d4,_0x1f4582,_0x9f3732)=>{const _0x5f34d6=_0x52791c;let _0x5f25b3=[];switch(_0x35b54d['id']){case _0x434fab[_0x5f34d6(0x534)]:{_0x5f25b3=_0x3610af(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x44c)]:{_0x5f25b3=_0x6f08ae(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x31b)]:{_0x5f25b3=_0x1a98c1(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x3a9)]:{_0x5f25b3=_0x32e319(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x3bb)]:{_0x5f25b3=_0x20aa8f(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x30c)]:{_0x5f25b3=_0x2ee68b(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x3dc)]:{_0x5f25b3=_0x14656c(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x3c2)]:{_0x5f25b3=_0x464faa(_0x35b54d,_0x9f3732);break;}case _0x434fab[_0x5f34d6(0x3d4)]:{_0x5f25b3=_0x521c0b(_0x35b54d,_0x9f3732);break;}}const _0x29b7bd=_0x50c0fc(_0x5f25b3,_0x9f3732),_0xb0e0e9=this['cursorInfo'][_0x5f34d6(0x241)](_0x1dd7d4);if(_0xb0e0e9&&_0x29b7bd){const _0x2a5e14={..._0xb0e0e9,'range':_0x29b7bd};this[_0x5f34d6(0x1fe)]['set'](_0x1dd7d4,_0x2a5e14),_0x119972(()=>{const _0x2567ae=_0x5f34d6,_0x3defab=this['_refRangeService'][_0x2567ae(0x485)](_0x29b7bd,_0x2332e2=>(_0x3defab['dispose'](),_0x3b2ad6(_0x2332e2,_0x1dd7d4,_0x1f4582,_0x29b7bd)));_0x4fb818[_0x2567ae(0x569)](_0x3defab);});}return{'redos':[],'undos':[]};};this[_0x52791c(0x1fe)][_0x52791c(0x2e5)]((_0x3bf339,_0x12316d)=>{const _0x585fca=_0x52791c,{range:_0x781777,sheetID:_0x24b32e}=_0x3bf339,_0x4dabcf=this[_0x585fca(0x40b)][_0x585fca(0x485)](_0x781777,_0x473c96=>(_0x4dabcf[_0x585fca(0x58a)](),_0x3b2ad6(_0x473c96,_0x12316d,_0x24b32e,_0x781777)));_0x4fb818[_0x585fca(0x569)](_0x4dabcf);});};this[_0xb1b975(0x210)](_0x5252a1(this[_0xb1b975(0x437)]['subscribe'](()=>{_0x2186e2();})));}['_toggleOnline'](){const _0x49e8c1=_0x241173;var _0x5bbe35,_0x90da80;if(this[_0x49e8c1(0x4eb)]=!0x0,((_0x5bbe35=this[_0x49e8c1(0x518)][_0x49e8c1(0x4d0)]())==null?void 0x0:_0x5bbe35[_0x49e8c1(0x2d3)]())!==this[_0x49e8c1(0x4a0)])return;const _0x307f83=(_0x90da80=this[_0x49e8c1(0x414)]['get'](_0x1d5e06)[_0x49e8c1(0x52f)]())==null?void 0x0:_0x90da80[0x0],_0x2983b5=this[_0x49e8c1(0x518)][_0x49e8c1(0x38a)](_0x1d0ba8['UNIVER_SHEET'])[_0x49e8c1(0x594)]();_0x307f83&&_0x2983b5&&this['_updateLocalCursor'](_0x2983b5[_0x49e8c1(0x4b1)](),_0x307f83);}[_0x241173(0x35d)](){const _0x43ec49=_0x241173;this[_0x43ec49(0x4eb)]=!0x1;}};ns=Oo([Be(0x2,_0x1596c5(_0x59d577)),Be(0x3,_0x1596c5(Es)),Be(0x4,_0x1596c5(Ne)),Be(0x5,_0xb0f939),Be(0x6,_0x289e6f),Be(0x7,_0x1596c5(_0x902ae))],ns);var Uo=Object[_0x241173(0x387)],No=Object['getOwnPropertyDescriptor'],Ao=(_0x3e38fe,_0x30b518,_0x356b75,_0x104fcf)=>{for(var _0x1746da=_0x104fcf>0x1?void 0x0:_0x104fcf?No(_0x30b518,_0x356b75):_0x30b518,_0x2284b6=_0x3e38fe['length']-0x1,_0x3743cd;_0x2284b6>=0x0;_0x2284b6--)(_0x3743cd=_0x3e38fe[_0x2284b6])&&(_0x1746da=(_0x104fcf?_0x3743cd(_0x30b518,_0x356b75,_0x1746da):_0x3743cd(_0x1746da))||_0x1746da);return _0x104fcf&&_0x1746da&&Uo(_0x30b518,_0x356b75,_0x1746da),_0x1746da;},Lt=(_0x35cd47,_0x284314)=>(_0x59b06f,_0x4b43e6)=>_0x284314(_0x59b06f,_0x4b43e6,_0x35cd47);let Ve=class extends _0x388f6d{constructor(_0x3cc490,_0x3aa504,_0xdad676){const _0x4fb440=_0x241173;super(),g(this,_0x4fb440(0x25f),new Map()),g(this,'_entityInit$',new _0x49f7d1()),(this[_0x4fb440(0x518)]=_0x3cc490,this['_injector']=_0x3aa504,this[_0x4fb440(0x3d8)]=_0xdad676,this[_0x4fb440(0x354)]());}['dispose'](){const _0x25ed17=_0x241173;super[_0x25ed17(0x58a)](),this['_entityInit$'][_0x25ed17(0x54a)](),this['_entities']['forEach'](_0x2fc596=>_0x2fc596[_0x25ed17(0x58a)]());}['getCollabCursors$'](_0x5c732f){const _0x39dd07=_0x241173;return this[_0x39dd07(0x25f)]['has'](_0x5c732f)?this[_0x39dd07(0x25f)][_0x39dd07(0x241)](_0x5c732f)[_0x39dd07(0x1c9)]:this[_0x39dd07(0x401)][_0x39dd07(0x391)](_0x439b24(_0xc9d282=>_0xc9d282[_0x39dd07(0x4a0)]===_0x5c732f),_0x1916ca(_0x364a94=>_0x364a94[_0x39dd07(0x1c9)]));}[_0x241173(0x354)](){const _0x9795d4=_0x241173;this[_0x9795d4(0x518)][_0x9795d4(0x288)](_0x1d0ba8[_0x9795d4(0x372)])[_0x9795d4(0x391)](_0x52fe01(this[_0x9795d4(0x448)]))[_0x9795d4(0x31f)](async _0x26627d=>{const _0x5679b3=_0x9795d4,_0x513a23=_0x26627d[_0x5679b3(0x2d3)](),_0x6cd1ec=await this[_0x5679b3(0x2e1)](_0x513a23);this['_entityInit$']['next'](_0x6cd1ec),this[_0x5679b3(0x25f)][_0x5679b3(0x4e4)](_0x513a23,_0x6cd1ec);}),this[_0x9795d4(0x518)][_0x9795d4(0x288)](_0x1d0ba8['UNIVER_DOC'])['pipe'](_0x52fe01(this[_0x9795d4(0x448)]))[_0x9795d4(0x391)](_0x439b24(_0x28b221=>!_0x28b221[_0x9795d4(0x2d3)]()[_0x9795d4(0x2b5)]('__')))[_0x9795d4(0x31f)](async _0x54d9cc=>{const _0x4ed95a=_0x9795d4,_0x596cbf=_0x54d9cc['getUnitId'](),_0x22db28=await this[_0x4ed95a(0x479)](_0x596cbf);this[_0x4ed95a(0x401)][_0x4ed95a(0x5b0)](_0x22db28),this[_0x4ed95a(0x25f)][_0x4ed95a(0x4e4)](_0x596cbf,_0x22db28);}),_0x2434f6(this[_0x9795d4(0x518)]['getTypeOfUnitDisposed$'](_0x1d0ba8[_0x9795d4(0x209)]),this[_0x9795d4(0x518)]['getTypeOfUnitDisposed$'](_0x1d0ba8[_0x9795d4(0x372)]))['pipe'](_0x52fe01(this[_0x9795d4(0x448)]))['subscribe'](_0x5c589e=>{const _0x5dbcfa=_0x9795d4,_0x3a174b=_0x5c589e[_0x5dbcfa(0x2d3)](),_0x43cbf8=this[_0x5dbcfa(0x25f)][_0x5dbcfa(0x241)](_0x3a174b);_0x43cbf8&&(_0x43cbf8[_0x5dbcfa(0x58a)](),this[_0x5dbcfa(0x25f)][_0x5dbcfa(0x2d7)](_0x3a174b));});}async['_startSheetCollabCursor'](_0xac4729){const _0x411efd=_0x241173,_0x3d455e=await this[_0x411efd(0x3d8)][_0x411efd(0x34b)](_0xac4729),_0x4e6c89=this[_0x411efd(0x414)][_0x411efd(0x25b)](ns,_0xac4729,_0x3d455e);return _0x4e6c89['init'](),_0x4e6c89;}async[_0x241173(0x479)](_0x5a2919){const _0x551cf1=_0x241173,_0x3c6c61=await this[_0x551cf1(0x3d8)]['requireSession'](_0x5a2919),_0x649f7f=this[_0x551cf1(0x414)][_0x551cf1(0x25b)](is,_0x5a2919,_0x3c6c61);return _0x649f7f[_0x551cf1(0x459)](),_0x649f7f;}};Ve=Ao([Lt(0x0,_0xb0f939),Lt(0x1,_0x1596c5(_0x59d577)),Lt(0x2,_0x1596c5(Ae))],Ve);const nt=0x14,Gs=0xc8,$t=0x4,Mo=0x5;function xo(_0x473782,_0x87fdc7){const _0x1a45bf=_0x241173;let {radius:_0x210822,width:_0xecc4e3,height:_0x32f7cc}=_0x87fdc7;_0x210822=_0x210822!=null?_0x210822:0x0,_0xecc4e3=_0xecc4e3!=null?_0xecc4e3:0x1e,_0x32f7cc=_0x32f7cc!=null?_0x32f7cc:0x1e;let _0x3df77c=0x0,_0x50ed5b=0x0,_0x275eae=0x0;_0x3df77c=_0x50ed5b=_0x275eae=Math[_0x1a45bf(0x4c0)](_0x210822,_0xecc4e3/0x2,_0x32f7cc/0x2),_0x473782[_0x1a45bf(0x3a3)](),_0x473782[_0x1a45bf(0x4f5)](_0x3df77c,0x0),_0x473782[_0x1a45bf(0x5a2)](_0xecc4e3-_0x50ed5b,0x0),_0x473782[_0x1a45bf(0x42f)](_0xecc4e3-_0x50ed5b,_0x50ed5b,_0x50ed5b,Math['PI']*0x3/0x2,0x0,!0x1),_0x473782[_0x1a45bf(0x5a2)](_0xecc4e3,_0x32f7cc-_0x275eae),_0x473782[_0x1a45bf(0x42f)](_0xecc4e3-_0x275eae,_0x32f7cc-_0x275eae,_0x275eae,0x0,Math['PI']/0x2,!0x1),_0x473782['lineTo'](0x0,_0x32f7cc),_0x473782['lineTo'](0x0,_0x3df77c),_0x473782[_0x1a45bf(0x42f)](_0x3df77c,_0x3df77c,_0x3df77c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x473782[_0x1a45bf(0x2dc)](),_0x87fdc7['fill']&&(_0x473782['save'](),_0x473782[_0x1a45bf(0x3e8)]=_0x87fdc7[_0x1a45bf(0x545)],_0x87fdc7[_0x1a45bf(0x284)]===_0x1a45bf(0x5bd)?_0x473782[_0x1a45bf(0x545)](_0x1a45bf(0x5bd)):_0x473782[_0x1a45bf(0x545)](),_0x473782[_0x1a45bf(0x267)]());}class yt extends _0x59e4ae{constructor(_0x3dfe5e,_0x4ea2bc){const _0x2e1537=_0x241173;super(_0x3dfe5e,_0x4ea2bc),g(this,'color'),g(this,_0x2e1537(0x367)),(this[_0x2e1537(0x22c)]=_0x4ea2bc==null?void 0x0:_0x4ea2bc[_0x2e1537(0x22c)],this[_0x2e1537(0x367)]=_0x4ea2bc==null?void 0x0:_0x4ea2bc[_0x2e1537(0x367)]);}static[_0x241173(0x56e)](_0x31731d,_0xb013dd){const _0x4774e8=_0x241173,{text:_0x5c599a,color:_0x1d3265}=_0xb013dd;_0x31731d[_0x4774e8(0x2d8)](),_0x31731d[_0x4774e8(0x252)]=_0x4774e8(0x365);const _0x102659=_0x31731d[_0x4774e8(0x1f2)](_0x5c599a)[_0x4774e8(0x28d)],_0x108def=Math[_0x4774e8(0x4c0)](_0x102659+0x2*$t,Gs);xo(_0x31731d,{'height':nt,'radius':0x4,'width':_0x108def,'fill':_0x1d3265,'evented':!0x1}),_0x31731d[_0x4774e8(0x3e8)]=_0x4774e8(0x39f);const _0x5dcc30=$t,_0x41ef4a=nt-Mo,_0x2c4c20=Gs-0x2*$t;if(_0x102659>_0x2c4c20){let _0x314d96='',_0x529e72=0x0;for(const _0xb52109 of _0x5c599a){const _0xa99131=_0x31731d[_0x4774e8(0x1f2)](_0xb52109)[_0x4774e8(0x28d)];if(_0x529e72+_0xa99131<=_0x2c4c20-_0x31731d[_0x4774e8(0x1f2)](_0x4774e8(0x339))['width'])_0x314d96+=_0xb52109,_0x529e72+=_0xa99131;else{_0x314d96+='...';break;}}_0x31731d[_0x4774e8(0x4c5)](_0x314d96,_0x5dcc30,_0x41ef4a);}else _0x31731d[_0x4774e8(0x4c5)](_0x5c599a,_0x5dcc30,_0x41ef4a);_0x31731d[_0x4774e8(0x267)]();}[_0x241173(0x5b3)](_0x1e8651){const _0x454960=_0x241173;yt[_0x454960(0x56e)](_0x1e8651,this);}}const Ht=_0x241173(0x5b8),Lo=_0x241173(0x51a),$o=_0x241173(0x25d),Je=0x6,Ho=1.5,jt=0x4,jo=1.5,Bo=_0x241173(0x237);class Ys{constructor(_0x2018ba,_0x33a73c,_0x5a5f73,_0x1d9094){const _0xd51065=_0x241173;g(this,_0xd51065(0x476),[]),g(this,'_anchor',null),g(this,_0xd51065(0x556),null),g(this,_0xd51065(0x505),null),g(this,_0xd51065(0x350),null),g(this,_0xd51065(0x55e),null),(this['_cursor']=_0x2018ba,this[_0xd51065(0x5ae)]=_0x33a73c,this['_docSkeleton']=_0x5a5f73,this['_document']=_0x1d9094,this['_render']());}set[_0x241173(0x55f)](_0x523bef){const _0x43a381=_0x241173;_0x523bef?(this[_0x43a381(0x505)]&&this[_0x43a381(0x505)][_0x43a381(0x3b5)](),this[_0x43a381(0x556)]&&this[_0x43a381(0x556)][_0x43a381(0x348)]()):(this[_0x43a381(0x505)]&&this[_0x43a381(0x505)][_0x43a381(0x348)](),this[_0x43a381(0x556)]&&this['_textBubble'][_0x43a381(0x3b5)]());}[_0x241173(0x58a)](){const _0x1c8a95=_0x241173;for(const _0x31217a of this[_0x1c8a95(0x476)])_0x31217a['dispose']();this[_0x1c8a95(0x556)]&&this[_0x1c8a95(0x556)][_0x1c8a95(0x58a)](),this[_0x1c8a95(0x505)]&&this['_anchorDot'][_0x1c8a95(0x58a)](),this[_0x1c8a95(0x4af)]&&this[_0x1c8a95(0x4af)]['dispose'](),this[_0x1c8a95(0x55e)]&&this[_0x1c8a95(0x55e)]();}[_0x241173(0x3ae)](){const _0x15aa45=_0x241173;var _0x3760a8;const {_docSkeleton:_0x4ed290,_document:_0x292b92}=this,{color:_0x42f26c,name:_0x47f83f,ranges:_0x5a4241}=this[_0x15aa45(0x3b7)],_0x1ca899=_0x292b92[_0x15aa45(0x2ae)](),{docsLeft:_0x30786a,docsTop:_0x392fff}=_0x1ca899,_0x5c5911=new _0x3c1f90(_0x1ca899,_0x4ed290);for(const {startOffset:_0x1ee25a,endOffset:_0x7f910,rangeType:_0x696e1e,segmentId:_0x3e60fc,segmentPage:_0x35ff27,collapsed:_0x339b5e,isActive:_0x17bf59}of _0x5a4241){const _0x128947=_0x4ed290[_0x15aa45(0x57c)](_0x1ee25a,!0x0,_0x3e60fc,_0x35ff27);let _0x24379f=_0x4ed290[_0x15aa45(0x57c)](_0x7f910,!0x0,_0x3e60fc,_0x35ff27);if(_0x24379f==null&&(_0x24379f=_0x4ed290[_0x15aa45(0x57c)](_0x7f910-0x1,!0x1,_0x3e60fc,_0x35ff27)),_0x17bf59){const {contentBoxPointGroup:_0xe33f5e}=_0x5c5911[_0x15aa45(0x34d)](_0x24379f,_0x24379f);if(_0xe33f5e[_0x15aa45(0x32c)]===0x0)continue;this['_drawAnchor'](_0x42f26c,_0xe33f5e,_0x30786a,_0x392fff,_0x47f83f),this[_0x15aa45(0x55e)]=this[_0x15aa45(0x352)]();}if(!_0x339b5e&&_0x128947&&_0x24379f){if(_0x696e1e===_0x3aef73[_0x15aa45(0x4a6)]){const _0x10b691=new _0x357f75(_0x1ca899,_0x4ed290),{pointGroup:_0x23e57c}=(_0x3760a8=_0x10b691[_0x15aa45(0x34d)](_0x128947,_0x24379f))!=null?_0x3760a8:{};if(_0x23e57c==null||_0x23e57c[_0x15aa45(0x32c)]===0x0)continue;this['_drawRectRange'](_0x42f26c,_0x23e57c,_0x30786a,_0x392fff);}else{const {borderBoxPointGroup:_0x4a6142}=_0x5c5911[_0x15aa45(0x34d)](_0x128947,_0x24379f);if(_0x4a6142['length']===0x0)continue;this['_drawTextRange'](_0x42f26c,_0x4a6142,_0x30786a,_0x392fff);}}}}[_0x241173(0x225)](_0x3380b4,_0x1543ce,_0x2a1a06,_0x173f84,_0x4b98d3){const _0x1b9710=_0x241173,_0x37ebfb=this[_0x1b9710(0x3a2)](_0x1543ce),{left:_0x4ed2c6,top:_0x49e6fb,height:_0x57aeea}=_0x37ebfb,_0x12cb93=this[_0x1b9710(0x55d)](),_0x17b4a6=jo/_0x12cb93,_0x51004e=new _0x18878f(Ht+_0x55a7da['generateRandomId'](Je),{'left':_0x4ed2c6+_0x2a1a06-_0x17b4a6,'top':_0x49e6fb+_0x173f84,'height':_0x57aeea,'width':Ho,'fill':_0x3380b4||_0x593c52(_0x5a2aa5[_0x1b9710(0x2fe)],0x0),'strokeWidth':_0x17b4a6,'stroke':Bo,'evented':!0x0});this[_0x1b9710(0x4af)]=_0x51004e,this['_scene'][_0x1b9710(0x514)](_0x51004e,_0x2f37ba);const _0x1911b8=new _0x18878f(Ht+_0x55a7da['generateRandomId'](Je),{'left':_0x4ed2c6+_0x2a1a06-_0x17b4a6,'top':_0x49e6fb+_0x173f84-jt/0x2,'height':jt,'width':jt,'fill':_0x3380b4||_0x593c52(_0x5a2aa5[_0x1b9710(0x2fe)],0x0),'strokeWidth':0x0,'stroke':_0x3380b4||_0x593c52(_0x5a2aa5['black'],0x0),'evented':!0x1});this[_0x1b9710(0x505)]=_0x1911b8,this[_0x1b9710(0x5ae)][_0x1b9710(0x514)](_0x1911b8,_0x2f37ba);const _0x52379b=new yt(Ht+_0x55a7da[_0x1b9710(0x415)](Je),{'left':_0x4ed2c6+_0x2a1a06-_0x17b4a6,'top':_0x49e6fb+_0x173f84-nt,'text':_0x4b98d3,'color':_0x3380b4});this[_0x1b9710(0x556)]=_0x52379b,this[_0x1b9710(0x5ae)][_0x1b9710(0x514)](_0x52379b,_0x2f37ba),this['_hover']=!0x1;}[_0x241173(0x352)](){const _0x3805e2=_0x241173,_0x308dc0=this['_anchor']['onPointerEnter$'][_0x3805e2(0x5ca)](()=>{const _0x3ba503=_0x3805e2;this[_0x3ba503(0x55f)]=!0x0;}),_0x2d4acd=this[_0x3805e2(0x4af)][_0x3805e2(0x35e)][_0x3805e2(0x5ca)](()=>{const _0x3d0679=_0x3805e2;this['_hideTimer']&&clearTimeout(this[_0x3d0679(0x350)]),this['_hideTimer']=setTimeout(()=>{const _0xd035f9=_0x3d0679;this[_0xd035f9(0x55f)]=!0x1;},0x7d0);});return()=>{const _0x7331b6=_0x3805e2;_0x308dc0[_0x7331b6(0x4e0)](),_0x2d4acd['unsubscribe']();};}[_0x241173(0x211)](_0x10fc94,_0x415492,_0x574420,_0x48275a){const _0x17e2eb=_0x241173,_0x17811e=new _0x3f96b3(_0x10fc94)[_0x17e2eb(0x2a6)](0.2)[_0x17e2eb(0x4b2)](),_0x5be9d5=new _0x45347e(Lo+_0x55a7da[_0x17e2eb(0x415)](Je),{'pointsGroup':_0x415492,'fill':_0x17811e||_0x593c52(_0x5a2aa5[_0x17e2eb(0x2fe)],0.2),'left':_0x574420,'top':_0x48275a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x17e2eb(0x476)][_0x17e2eb(0x42a)](_0x5be9d5),this['_scene'][_0x17e2eb(0x514)](_0x5be9d5,_0x2f37ba);}[_0x241173(0x5ac)](_0x19b22d,_0x31e70c,_0x2d9a04,_0x4c7a14){const _0x324d80=_0x241173,_0x32c754=new _0x3f96b3(_0x19b22d)[_0x324d80(0x2a6)](0.2)[_0x324d80(0x4b2)](),_0x5bd8e1=new _0x45347e($o+_0x55a7da[_0x324d80(0x415)](Je),{'pointsGroup':_0x31e70c,'fill':_0x32c754||_0x593c52(_0x5a2aa5[_0x324d80(0x2fe)],0.2),'left':_0x2d9a04,'top':_0x4c7a14,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x324d80(0x476)][_0x324d80(0x42a)](_0x5bd8e1),this['_scene']['addObject'](_0x5bd8e1,_0x2f37ba);}['_getAnchorBounding'](_0xcc9c28){const _0x3776a9=_0xcc9c28[0x0],_0x589f85=_0x3776a9[0x0],_0x52e1c6=_0x3776a9[0x2],{x:_0x3d9aed,y:_0x39e502}=_0x589f85,{x:_0x18c8e0,y:_0x416ac5}=_0x52e1c6;return{'left':_0x3d9aed,'top':_0x39e502,'width':_0x18c8e0-_0x3d9aed,'height':_0x416ac5-_0x39e502};}['_getScale'](){const _0x29dbcb=_0x241173,{scaleX:_0x2bae1c,scaleY:_0x12b328}=this['_scene']['getAncestorScale']();return Math[_0x29dbcb(0x2d0)](_0x2bae1c,_0x12b328);}}var ko=Object['defineProperty'],Wo=Object['getOwnPropertyDescriptor'],Fo=(_0x31e034,_0x2be0e,_0x12a1a4,_0x26b1da)=>{for(var _0x2934b2=_0x26b1da>0x1?void 0x0:_0x26b1da?Wo(_0x2be0e,_0x12a1a4):_0x2be0e,_0x1c7a6b=_0x31e034['length']-0x1,_0x5149e0;_0x1c7a6b>=0x0;_0x1c7a6b--)(_0x5149e0=_0x31e034[_0x1c7a6b])&&(_0x2934b2=(_0x26b1da?_0x5149e0(_0x2be0e,_0x12a1a4,_0x2934b2):_0x5149e0(_0x2934b2))||_0x2934b2);return _0x26b1da&&_0x2934b2&&ko(_0x2be0e,_0x12a1a4,_0x2934b2),_0x2934b2;},ct=(_0x31545c,_0x22cf95)=>(_0x5ce374,_0x160918)=>_0x22cf95(_0x5ce374,_0x160918,_0x31545c);let rs=class extends _0x388f6d{constructor(_0x3aa5d6,_0x1dfe57,_0xd65b49,_0xdc021c,_0x4159d8){const _0x9cf2ef=_0x241173;super(),g(this,_0x9cf2ef(0x26b),[]),g(this,_0x9cf2ef(0x3bf),[]),(this[_0x9cf2ef(0x3f6)]=_0x3aa5d6,this['_docSkeletonManagerService']=_0x1dfe57,this[_0x9cf2ef(0x2af)]=_0xd65b49,this[_0x9cf2ef(0x553)]=_0xdc021c,this[_0x9cf2ef(0x21f)]=_0x4159d8,this['_init']());}[_0x241173(0x354)](){const _0x137591=_0x241173,_0x40f6d8=this[_0x137591(0x3f6)][_0x137591(0x410)],_0x284e9d=this[_0x137591(0x3b0)];this[_0x137591(0x210)](_0x4bc3f4([this['_collabCursorController'][_0x137591(0x4a1)](_0x40f6d8),this[_0x137591(0x21f)][_0x137591(0x4d4)]])['pipe'](_0x47bd8a(([_0x367a4e,_0xea4b51])=>({'skeleton':_0x284e9d[_0x137591(0x23d)](),'cursors':[..._0x367a4e[_0x137591(0x571)]()]['flatMap'](_0x1335dc=>({..._0x1335dc,'color':_0xea4b51[_0x1335dc[_0x137591(0x22c)]]}))})))['subscribe'](_0x158a31=>{const _0x3e257b=_0x137591;if(this[_0x3e257b(0x432)](),_0x158a31){const {skeleton:_0x4477d3,cursors:_0x1c97a2}=_0x158a31;this[_0x3e257b(0x2e2)](_0x4477d3,_0x1c97a2);}})),this[_0x137591(0x2df)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x4ef333,_0x598d1c){const _0x3070d0=_0x241173,{scene:_0x4d84bd,mainComponent:_0xe8d6cb}=this['_context'],_0x3f48e5=_0x598d1c[_0x3070d0(0x43c)](_0x138754=>new Ys(_0x138754,_0x4d84bd,_0x4ef333,_0xe8d6cb));this[_0x3070d0(0x26b)]=_0x3f48e5,this[_0x3070d0(0x3bf)]=_0x598d1c;}[_0x241173(0x1d8)](){const _0x47ac79=_0x241173;this[_0x47ac79(0x432)]();const {scene:_0x27c00c,mainComponent:_0x46d168}=this[_0x47ac79(0x3f6)],_0x57d687=this['_docSkeletonManagerService'][_0x47ac79(0x23d)](),_0x2a18d9=this[_0x47ac79(0x3bf)][_0x47ac79(0x43c)](_0x20347f=>new Ys(_0x20347f,_0x27c00c,_0x57d687,_0x46d168));this[_0x47ac79(0x26b)]=_0x2a18d9;}[_0x241173(0x432)](){const _0x1c2231=_0x241173;this[_0x1c2231(0x26b)]['forEach'](_0x10a580=>_0x10a580[_0x1c2231(0x58a)]()),this[_0x1c2231(0x26b)]=[];}['_initCommandExecutedListener'](){const _0x3683cd=_0x241173,_0x13682e=[_0x5077f1['id']];this['disposeWithMe'](this[_0x3683cd(0x553)][_0x3683cd(0x4e1)](_0x18045c=>{const _0x37be8d=_0x3683cd;_0x13682e['includes'](_0x18045c['id'])&&_0x18045c['params']['unitId']===this[_0x37be8d(0x3f6)][_0x37be8d(0x410)]&&this[_0x37be8d(0x1d8)]();}));}[_0x241173(0x2df)](){const _0x53f5b0=_0x241173;this[_0x53f5b0(0x210)](_0x733a2f(this[_0x53f5b0(0x3f6)]['engine'][_0x53f5b0(0x540)])[_0x53f5b0(0x391)](_0x18ffd4(_0x23029a=>_0x23029a[_0x53f5b0(0x40a)]===_0x5220cb['resize']),_0x41bf60(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};rs=Fo([ct(0x1,_0x1596c5(_0x587a0c)),ct(0x2,_0x1596c5(Ve)),ct(0x3,_0x289e6f),ct(0x4,_0x1596c5(_0x1d15ec))],rs);const Vo=0x1,Go=1.5;class Yo extends _0x59e4ae{constructor(_0x3cffef,_0xbf21cf){const _0x2f780d=_0x241173;super(_0x3cffef,_0xbf21cf),g(this,_0x2f780d(0x4d7)),g(this,'_hovered',!0x1),g(this,_0x2f780d(0x49d)),g(this,_0x2f780d(0x420),''),g(this,_0x2f780d(0x226),'top'),g(this,_0x2f780d(0x3ec)),(_0xbf21cf&&this[_0x2f780d(0x50c)](_0xbf21cf),this[_0x2f780d(0x33f)][_0x2f780d(0x5ca)](()=>this[_0x2f780d(0x50c)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x241173(0x50c)](_0x4e5652){const _0x13401d=_0x241173;var _0x3a491a,_0x33ca6e,_0x11e108,_0x100f88,_0x47bc3e,_0x5b5166;this[_0x13401d(0x4d7)]=(_0x3a491a=_0x4e5652[_0x13401d(0x22c)])!=null?_0x3a491a:this[_0x13401d(0x4d7)],this[_0x13401d(0x2ab)]=(_0x33ca6e=_0x4e5652[_0x13401d(0x588)])!=null?_0x33ca6e:this['_hovered'],this[_0x13401d(0x49d)]=(_0x11e108=_0x4e5652[_0x13401d(0x218)])!=null?_0x11e108:this[_0x13401d(0x49d)],this[_0x13401d(0x420)]=(_0x100f88=_0x4e5652['name'])!=null?_0x100f88:this['_name'],this[_0x13401d(0x226)]=(_0x47bc3e=_0x4e5652[_0x13401d(0x570)])!=null?_0x47bc3e:this[_0x13401d(0x226)],this[_0x13401d(0x3ec)]=(_0x5b5166=_0x4e5652[_0x13401d(0x3a7)])!=null?_0x5b5166:this[_0x13401d(0x3ec)],this[_0x13401d(0x3f9)]({'width':_0x4e5652[_0x13401d(0x28d)],'height':_0x4e5652[_0x13401d(0x37f)]});}[_0x241173(0x57e)](_0xee66e8){const _0x4dd442=_0x241173,{row:_0x1a6b90,column:_0x259dac}=_0xee66e8;if(_0x1a6b90>=this[_0x4dd442(0x49d)][_0x4dd442(0x268)]&&_0x1a6b90<=this['_range'][_0x4dd442(0x36f)]&&_0x259dac>=this[_0x4dd442(0x49d)][_0x4dd442(0x27f)]&&_0x259dac<=this[_0x4dd442(0x49d)][_0x4dd442(0x275)]){this[_0x4dd442(0x50c)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x241173(0x46a)](_0x1e8611){return!0x1;}[_0x241173(0x5b3)](_0x4e6715){const _0x591fe8=_0x241173;_0x18878f[_0x591fe8(0x56e)](_0x4e6715,{'width':this[_0x591fe8(0x28d)],'height':this[_0x591fe8(0x37f)],'strokeWidth':Go,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x591fe8(0x3ec)]}),this[_0x591fe8(0x2ab)]&&(_0x4e6715[_0x591fe8(0x2d8)](),_0x4e6715[_0x591fe8(0x282)](0x1,0x0,0x0,0x1,this[_0x591fe8(0x28d)],this[_0x591fe8(0x226)]==='bottom'?0x0:-nt),yt['drawWith'](_0x4e6715,{'text':this[_0x591fe8(0x420)],'color':this[_0x591fe8(0x4d7)]}),_0x4e6715[_0x591fe8(0x267)]());}}var Ko=Object[_0x241173(0x387)],zo=Object[_0x241173(0x2fb)],qo=(_0x3f6134,_0x5c5148,_0x6f9509,_0x5b3cc3)=>{const _0x1a9d11=_0x241173;for(var _0x356164=_0x5b3cc3>0x1?void 0x0:_0x5b3cc3?zo(_0x5c5148,_0x6f9509):_0x5c5148,_0x5c73e5=_0x3f6134[_0x1a9d11(0x32c)]-0x1,_0x12c9e9;_0x5c73e5>=0x0;_0x5c73e5--)(_0x12c9e9=_0x3f6134[_0x5c73e5])&&(_0x356164=(_0x5b3cc3?_0x12c9e9(_0x5c5148,_0x6f9509,_0x356164):_0x12c9e9(_0x356164))||_0x356164);return _0x5b3cc3&&_0x356164&&Ko(_0x5c5148,_0x6f9509,_0x356164),_0x356164;},Bt=(_0x59414e,_0x6b47fb)=>(_0x2b9aa8,_0x3c0b58)=>_0x6b47fb(_0x2b9aa8,_0x3c0b58,_0x59414e);const Xo=0x1389;let os=class extends _0x388f6d{constructor(_0x3e9b75,_0x16ee5d,_0x1779f3,_0x21b621){const _0x1c4bfa=_0x241173;super(),g(this,_0x1c4bfa(0x3bf),new Set()),g(this,'_lastPointer',null),(this[_0x1c4bfa(0x3f6)]=_0x3e9b75,this['_sheetSkeletonManagerService']=_0x16ee5d,this[_0x1c4bfa(0x2af)]=_0x1779f3,this[_0x1c4bfa(0x21f)]=_0x21b621,this['_init']());}['_init'](){const _0x16aaa1=_0x241173;this[_0x16aaa1(0x1c4)]['currentSkeleton$'][_0x16aaa1(0x391)](_0x2d9b28(this[_0x16aaa1(0x448)]),_0x3d5fa1(_0x4b1c37=>{const _0x39fa47=_0x16aaa1;if(_0x4b1c37){const _0x310747=_0x4b1c37[_0x39fa47(0x326)];return _0x4bc3f4(this[_0x39fa47(0x2af)][_0x39fa47(0x4a1)](this[_0x39fa47(0x3f6)][_0x39fa47(0x410)]),this[_0x39fa47(0x21f)][_0x39fa47(0x4d4)])[_0x39fa47(0x391)](_0x47bd8a(([_0x41a32f,_0x182bd9])=>{const _0x526317=_0x39fa47,_0x418110=new Map();return _0x41a32f[_0x526317(0x2e5)]((_0x4c9ea6,_0x2bac33)=>{const _0x5242b9=_0x526317;if(_0x4c9ea6[_0x5242b9(0x22d)]===_0x310747){const _0x16de13={..._0x4c9ea6};_0x16de13[_0x5242b9(0x22c)]=_0x182bd9[_0x4c9ea6[_0x5242b9(0x22c)]],_0x418110[_0x5242b9(0x4e4)](_0x2bac33,_0x16de13);}}),{'skeleton':_0x4b1c37,'cursors':_0x418110};}));}return _0x11cc12({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x508a47,cursors:_0x2a6b82})=>{const _0x6fe225=_0x16aaa1;this[_0x6fe225(0x432)](),_0x508a47&&this['_updateCollabCursors'](_0x508a47,_0x2a6b82);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x34d176=>{const _0x5b9f60=_0x16aaa1;if(_0x34d176==null)return;const {skeleton:_0xbdb439}=_0x34d176,{scene:_0x11740a}=this[_0x5b9f60(0x3f6)];_0x11740a['onPointerMove$'][_0x5b9f60(0x5ca)](_0x46098b(_0x9e64c5=>{const _0x334f9c=_0x5b9f60;var _0x46ea7a,_0x58c1f4;const {offsetX:_0x3b78a7,offsetY:_0x362c71}=_0x9e64c5,{x:_0x3b75b0,y:_0xece466}=_0x11740a[_0x334f9c(0x47c)](_0x26bac9[_0x334f9c(0x1d1)]([_0x3b78a7,_0x362c71])),{scaleX:_0x12854c,scaleY:_0x1daaa3}=_0x11740a[_0x334f9c(0x31c)](),_0x16d71f=_0x11740a[_0x334f9c(0x3fc)](_0x525f3e[_0x334f9c(0x345)]),_0x4ab414=_0x11740a['getVpScrollXYInfoByPosToVp'](_0x26bac9[_0x334f9c(0x1d1)]([_0x3b75b0,_0xece466]),_0x16d71f),_0x4d754b=_0xbdb439[_0x334f9c(0x5d6)](_0x3b78a7,_0x362c71,_0x12854c,_0x1daaa3,_0x4ab414);((_0x46ea7a=this['_lastPointer'])==null?void 0x0:_0x46ea7a[_0x334f9c(0x4ae)])===_0x4d754b[_0x334f9c(0x4ae)]&&((_0x58c1f4=this['_lastPointer'])==null?void 0x0:_0x58c1f4['row'])===_0x4d754b[_0x334f9c(0x51b)]||this['_cursors'][_0x334f9c(0x2e5)](_0x1d392a=>{const _0x2d3b10=_0x334f9c;_0x1d392a[_0x2d3b10(0x57e)](_0x4d754b);});},0x64));});}['_updateCollabCursors'](_0x4370d0,_0x128aa2){const _0x3b2097=_0x241173;var _0x1c6881;const _0x5341ad=(_0x1c6881=this[_0x3b2097(0x1c4)][_0x3b2097(0x481)]())==null?void 0x0:_0x1c6881[_0x3b2097(0x205)];if(!_0x5341ad)return;const _0x520ec9=this['_getSheetObject']();if(!_0x520ec9)return;this[_0x3b2097(0x3bf)][_0x3b2097(0x2e5)](_0x59fb68=>{const _0x4a7968=_0x3b2097;_0x59fb68[_0x4a7968(0x4cf)]();});const {scene:_0x3ab897}=_0x520ec9,_0x48f98e=Jo(Array[_0x3b2097(0x3f8)](_0x128aa2[_0x3b2097(0x571)]()))['map'](_0x3986c6=>{const _0x10aae4=_0x3b2097,{color:_0x98a442,range:_0x3d59ef,name:_0x186db0,selection:_0x46fd27,sheetID:_0x588e48}=_0x3986c6,{startColumn:_0x9d07f5,startRow:_0x4bb512,endColumn:_0x177274,endRow:_0x464537}=_0x3d59ef,_0x3e2e2e=_0x574c01(_0x4bb512,_0x9d07f5,_0x3ab897,_0x5341ad),_0xf572e7=_0x574c01(_0x464537,_0x177274,_0x3ab897,_0x5341ad),{columnHeaderHeightAndMarginTop:_0x472b79}=_0x5341ad,{startX:_0x8aaf8a,startY:_0x4efb69}=_0x3e2e2e,{endX:_0x2c656d,endY:_0x10ce88}=_0xf572e7,_0x2fb3aa=_0x2c656d-_0x8aaf8a,_0x2b90f3=_0x10ce88-_0x4efb69,_0x483147={'labelPosition':_0x4efb69-_0x472b79>=nt?_0x10aae4(0x38b):'bottom','sheetID':_0x588e48,'range':_0x3d59ef,'color':_0x98a442,'name':_0x186db0,'selection':_0x46fd27,'left':_0x8aaf8a,'top':_0x4efb69,'width':_0x2fb3aa,'height':_0x2b90f3,'evented':!0x1,'zIndex':Xo};return new Yo(_0x186db0,_0x483147);});_0x3ab897[_0x3b2097(0x206)](_0x48f98e,Vo),this[_0x3b2097(0x3bf)]=new Set(_0x48f98e);}[_0x241173(0x432)](){const _0x28e187=_0x241173;var _0x1d0ce4;(_0x1d0ce4=this['_cursors'])==null||_0x1d0ce4[_0x28e187(0x2e5)](_0x3f6f20=>_0x3f6f20['dispose']());}[_0x241173(0x4dd)](){const _0x3c72a8=_0x241173;return _0x3f7cf8(this['_context']['unit'],this[_0x3c72a8(0x3f6)]);}};os=qo([Bt(0x1,_0x1596c5(_0x24463f)),Bt(0x2,_0x1596c5(Ve)),Bt(0x3,_0x1596c5(_0x1d15ec))],os);function Jo(_0x1cafb6){const _0xab3bfa=_0x241173,_0x5d6386=new Map();return _0x1cafb6[_0xab3bfa(0x2e5)](_0x4dbe03=>{const _0x474f2=_0xab3bfa;if(_0x5d6386[_0x474f2(0x5be)](_0x4dbe03['selection'])){const _0x5c05d6=_0x5d6386[_0x474f2(0x241)](_0x4dbe03[_0x474f2(0x37a)]);_0x5c05d6[_0x474f2(0x422)]+=',\x20'+_0x4dbe03[_0x474f2(0x422)];}else _0x5d6386['set'](_0x4dbe03[_0x474f2(0x37a)],_0x4dbe03);}),Array['from'](_0x5d6386[_0xab3bfa(0x571)]());}var ee=function(){const _0x577390=_0x241173;return ee=Object[_0x577390(0x47d)]||function(_0x42dd21){const _0x1515b9=_0x577390;for(var _0x3a89d8,_0xf5ce18=0x1,_0x1d171e=arguments[_0x1515b9(0x32c)];_0xf5ce18<_0x1d171e;_0xf5ce18++){_0x3a89d8=arguments[_0xf5ce18];for(var _0x2736f4 in _0x3a89d8)Object['prototype'][_0x1515b9(0x2e0)][_0x1515b9(0x502)](_0x3a89d8,_0x2736f4)&&(_0x42dd21[_0x2736f4]=_0x3a89d8[_0x2736f4]);}return _0x42dd21;},ee['apply'](this,arguments);},Zo=function(_0x337e37,_0x1754c2){const _0x3032dd=_0x241173;var _0x3682a0={};for(var _0xa4bb28 in _0x337e37)Object[_0x3032dd(0x400)][_0x3032dd(0x2e0)][_0x3032dd(0x502)](_0x337e37,_0xa4bb28)&&_0x1754c2[_0x3032dd(0x2d1)](_0xa4bb28)<0x0&&(_0x3682a0[_0xa4bb28]=_0x337e37[_0xa4bb28]);if(_0x337e37!=null&&typeof Object[_0x3032dd(0x441)]==_0x3032dd(0x429)){for(var _0x47cc0d=0x0,_0xa4bb28=Object[_0x3032dd(0x441)](_0x337e37);_0x47cc0d<_0xa4bb28[_0x3032dd(0x32c)];_0x47cc0d++)_0x1754c2[_0x3032dd(0x2d1)](_0xa4bb28[_0x47cc0d])<0x0&&Object[_0x3032dd(0x400)]['propertyIsEnumerable'][_0x3032dd(0x502)](_0x337e37,_0xa4bb28[_0x47cc0d])&&(_0x3682a0[_0xa4bb28[_0x47cc0d]]=_0x337e37[_0xa4bb28[_0x47cc0d]]);}return _0x3682a0;},bs=_0x173554(function(_0x1eda53,_0x22c79d){const _0x2e52c7=_0x241173;var _0xebca0c=_0x1eda53['icon'],_0x438c16=_0x1eda53['id'],_0x121dd4=_0x1eda53[_0x2e52c7(0x29d)],_0x213580=_0x1eda53[_0x2e52c7(0x33c)],_0x15b398=Zo(_0x1eda53,[_0x2e52c7(0x376),'id',_0x2e52c7(0x29d),_0x2e52c7(0x33c)]),_0x14f735=_0x2e52c7(0x331)[_0x2e52c7(0x47f)](_0x438c16,'\x20')[_0x2e52c7(0x47f)](_0x121dd4||'')['trim'](),_0x54a415=_0x1a1023('_'[_0x2e52c7(0x47f)](ta()));return Ai(_0xebca0c,''[_0x2e52c7(0x47f)](_0x438c16),{'defIds':_0xebca0c['defIds'],'idSuffix':_0x54a415[_0x2e52c7(0x468)]},ee({'ref':_0x22c79d,'className':_0x14f735},_0x15b398),_0x213580);});function Ai(_0x3f462b,_0x2d14c2,_0x7b194f,_0x16e62a,_0x38e0d1){const _0xfcc9c=_0x241173;return _0x12f758(_0x3f462b[_0xfcc9c(0x37b)],ee(ee({'key':_0x2d14c2},Qo(_0x3f462b,_0x7b194f,_0x38e0d1)),_0x16e62a),(ea(_0x3f462b,_0x7b194f)[_0xfcc9c(0x4ed)]||[])[_0xfcc9c(0x43c)](function(_0x4a70f6,_0x392560){const _0x502c22=_0xfcc9c;return Ai(_0x4a70f6,''[_0x502c22(0x47f)](_0x2d14c2,'-')['concat'](_0x3f462b[_0x502c22(0x37b)],'-')[_0x502c22(0x47f)](_0x392560),_0x7b194f,void 0x0,_0x38e0d1);}));}function Qo(_0x14daec,_0x4d37d8,_0x80e0d4){const _0x21d121=_0x241173;var _0x25d239=ee({},_0x14daec[_0x21d121(0x5c4)]);_0x80e0d4!=null&&_0x80e0d4[_0x21d121(0x270)]&&_0x25d239[_0x21d121(0x545)]===_0x21d121(0x270)&&(_0x25d239[_0x21d121(0x545)]=_0x80e0d4[_0x21d121(0x270)]);var _0x20b816=_0x4d37d8[_0x21d121(0x3f4)];return!_0x20b816||_0x20b816[_0x21d121(0x32c)]===0x0||(_0x14daec[_0x21d121(0x37b)]==='use'&&_0x25d239[_0x21d121(0x5af)]&&(_0x25d239[_0x21d121(0x5af)]=_0x25d239[_0x21d121(0x5af)]+_0x4d37d8[_0x21d121(0x3f5)]),Object[_0x21d121(0x54c)](_0x25d239)[_0x21d121(0x2e5)](function(_0xac2bbf){const _0x15c5fd=_0x21d121;var _0x5ab124=_0xac2bbf[0x0],_0x1a0ee5=_0xac2bbf[0x1];typeof _0x1a0ee5=='string'&&(_0x25d239[_0x5ab124]=_0x1a0ee5[_0x15c5fd(0x4fc)](/url\(#(.*)\)/,'url(#$1'[_0x15c5fd(0x47f)](_0x4d37d8[_0x15c5fd(0x3f5)],')')));})),_0x25d239;}function ea(_0x4c91fb,_0x43a129){const _0x5d484f=_0x241173;var _0x7320c7,_0x582e39=_0x43a129[_0x5d484f(0x3f4)];return!_0x582e39||_0x582e39[_0x5d484f(0x32c)]===0x0?_0x4c91fb:_0x4c91fb[_0x5d484f(0x37b)]===_0x5d484f(0x5c5)&&(!((_0x7320c7=_0x4c91fb['children'])===null||_0x7320c7===void 0x0)&&_0x7320c7['length'])?ee(ee({},_0x4c91fb),{'children':_0x4c91fb[_0x5d484f(0x4ed)]['map'](function(_0x53087d){const _0x22bac5=_0x5d484f;return typeof _0x53087d[_0x22bac5(0x5c4)]['id']==_0x22bac5(0x412)&&_0x582e39&&_0x582e39[_0x22bac5(0x2d1)](_0x53087d[_0x22bac5(0x5c4)]['id'])>-0x1?ee(ee({},_0x53087d),{'attrs':ee(ee({},_0x53087d[_0x22bac5(0x5c4)]),{'id':_0x53087d['attrs']['id']+_0x43a129[_0x22bac5(0x3f5)]})}):_0x53087d;})}):_0x4c91fb;}function ta(){const _0xdda5e7=_0x241173;return Math[_0xdda5e7(0x57a)]()[_0xdda5e7(0x447)](0x24)['substring'](0x2,0x8);}bs['displayName']=_0x241173(0x2c3);var sa={'tag':_0x241173(0x493),'attrs':{'fill':'none','viewBox':_0x241173(0x3d9),'width':_0x241173(0x39c),'height':_0x241173(0x39c)},'children':[{'tag':'g','attrs':{'clipPath':_0x241173(0x42b)},'children':[{'tag':_0x241173(0x4d9),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x241173(0x294),'strokeLinejoin':_0x241173(0x294),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x241173(0x39b),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x241173(0x4d9),'attrs':{'fill':_0x241173(0x253),'d':_0x241173(0x3c8)}}]}]}],'defIds':[_0x241173(0x39e)]},Mi=_0x173554(function(_0x340198,_0x58b41a){const _0x31d3b9=_0x241173;return _0x12f758(bs,Object[_0x31d3b9(0x47d)]({},_0x340198,{'id':'off-line-single','ref':_0x58b41a,'icon':sa}));});Mi['displayName']=_0x241173(0x5bf);var ia={'tag':_0x241173(0x493),'attrs':{'fill':_0x241173(0x291),'viewBox':'0\x200\x2017\x2016','width':_0x241173(0x39c),'height':_0x241173(0x39c)},'children':[{'tag':'g','attrs':{'clipPath':_0x241173(0x3e0)},'children':[{'tag':_0x241173(0x4d9),'attrs':{'stroke':'currentColor','d':_0x241173(0x4db),'strokeLinecap':_0x241173(0x294),'strokeLinejoin':_0x241173(0x294),'strokeWidth':1.2}}]},{'tag':_0x241173(0x5c5),'attrs':{},'children':[{'tag':_0x241173(0x39b),'attrs':{'id':_0x241173(0x21c)},'children':[{'tag':'path','attrs':{'fill':_0x241173(0x253),'d':_0x241173(0x3c8),'transform':_0x241173(0x2b2)}}]}]}],'defIds':[_0x241173(0x21c)]},xi=_0x173554(function(_0x5d95a1,_0x257612){const _0x464ddd=_0x241173;return _0x12f758(bs,Object['assign']({},_0x5d95a1,{'id':_0x464ddd(0x57b),'ref':_0x257612,'icon':ia}));});xi[_0x241173(0x3e4)]=_0x241173(0x455);function Li(_0x420991){const _0x35ec70=_0x241173;var _0x5b4403,_0x53f7d1,_0x35370b='';if(typeof _0x420991==_0x35ec70(0x412)||typeof _0x420991==_0x35ec70(0x3e1))_0x35370b+=_0x420991;else{if(typeof _0x420991=='object'){if(Array[_0x35ec70(0x4b3)](_0x420991)){var _0x289223=_0x420991[_0x35ec70(0x32c)];for(_0x5b4403=0x0;_0x5b4403<_0x289223;_0x5b4403++)_0x420991[_0x5b4403]&&(_0x53f7d1=Li(_0x420991[_0x5b4403]))&&(_0x35370b&&(_0x35370b+='\x20'),_0x35370b+=_0x53f7d1);}else{for(_0x53f7d1 in _0x420991)_0x420991[_0x53f7d1]&&(_0x35370b&&(_0x35370b+='\x20'),_0x35370b+=_0x53f7d1);}}}return _0x35370b;}function na(){const _0x3b6f4d=_0x241173;for(var _0x3ef03f,_0x4e1f56,_0x3098fa=0x0,_0x16e9a1='',_0x4d8c18=arguments[_0x3b6f4d(0x32c)];_0x3098fa<_0x4d8c18;_0x3098fa++)(_0x3ef03f=arguments[_0x3098fa])&&(_0x4e1f56=Li(_0x3ef03f))&&(_0x16e9a1&&(_0x16e9a1+='\x20'),_0x16e9a1+=_0x4e1f56);return _0x16e9a1;}const ra=_0x241173(0x583),oa=_0x241173(0x3db),aa=_0x241173(0x290),ca=_0x241173(0x2bb),ha=_0x241173(0x21b),Ze={'onlineStatusIcon':ra,'onlineStatusTitle':oa,'onlineStatus':aa,'online':ca,'offline':ha};function la(_0x428169){const _0x1625a1=_0x241173;switch(_0x428169){case J[_0x1625a1(0x1d6)]:return _0x1625a1(0x58f);case J[_0x1625a1(0x396)]:return _0x1625a1(0x29a);case J[_0x1625a1(0x309)]:return _0x1625a1(0x32b);case J['NOT_COLLAB']:return _0x1625a1(0x245);case J['AWAITING']:case J['AWAITING_WITH_PENDING']:return _0x1625a1(0x3b2);case J[_0x1625a1(0x1be)]:case J[_0x1625a1(0x344)]:return _0x1625a1(0x26c);}}function _a(_0x551293){const _0x327a4d=_0x241173,{status$:_0x2fb98e}=_0x551293,_0x10ddd8=_0xc736db(_0x2fb98e,J['NOT_COLLAB']),_0x449158=_0x1a7a89(_0x48c62d),_0x240cb6=_0x1a7a89(Ae),_0x486767=_0x10ddd8!==J[_0x327a4d(0x1d6)],_0x36b0b5=_0x449158['t'](la(_0x10ddd8)),_0xa79f0d=na(Ze[_0x327a4d(0x442)],{[Ze['online']]:_0x486767,[Ze[_0x327a4d(0x1ed)]]:!_0x486767}),_0x387171=_0x486767?_0xe0d2c9['createElement'](xi,null):_0xe0d2c9[_0x327a4d(0x264)](Mi,null),_0x5e914d=_0x1c4996(()=>{_0x486767||_0x240cb6['reconnect']();},[_0x486767,_0x240cb6]);function _0x3462ff(){const _0x33909b=_0x327a4d;return _0xe0d2c9['createElement'](_0x33909b(0x49f),{'className':_0xa79f0d,'onClick':_0x5e914d},_0xe0d2c9[_0x33909b(0x264)](_0x33909b(0x49f),{'className':Ze['onlineStatusIcon']},_0x387171),_0xe0d2c9[_0x33909b(0x264)](_0x33909b(0x49f),{'className':Ze[_0x33909b(0x494)]},_0x36b0b5));}return _0x486767?_0x3462ff():_0xe0d2c9[_0x327a4d(0x264)](_0x2b53c5,{'title':_0x449158['t']('collab-client.tooltip.reconnect')},_0x3462ff());}var ua=Object['defineProperty'],da=Object['getOwnPropertyDescriptor'],fa=(_0x32d5a3,_0x56453e,_0x2d522c,_0x448af4)=>{for(var _0x4cb843=_0x448af4>0x1?void 0x0:_0x448af4?da(_0x56453e,_0x2d522c):_0x56453e,_0x506877=_0x32d5a3['length']-0x1,_0x1e15e6;_0x506877>=0x0;_0x506877--)(_0x1e15e6=_0x32d5a3[_0x506877])&&(_0x4cb843=(_0x448af4?_0x1e15e6(_0x56453e,_0x2d522c,_0x4cb843):_0x1e15e6(_0x4cb843))||_0x4cb843);return _0x448af4&&_0x4cb843&&ua(_0x56453e,_0x2d522c,_0x4cb843),_0x4cb843;},ht=(_0x47ca4e,_0x2b49a7)=>(_0x461190,_0x2e9665)=>_0x2b49a7(_0x461190,_0x2e9665,_0x47ca4e);let St=class extends _0x59a5e6{constructor(_0xfb75c7,_0x1a8016,_0x2f3c6c,_0x291c88){const _0x29dea1=_0x241173;super(),g(this,'_status$',new _0x76ce31(J['NOT_COLLAB'])),(this[_0x29dea1(0x518)]=_0xfb75c7,this[_0x29dea1(0x450)]=_0x1a8016,this[_0x29dea1(0x414)]=_0x2f3c6c,this[_0x29dea1(0x4a7)]=_0x291c88,this[_0x29dea1(0x573)](),this['_initStatusListener']());}[_0x241173(0x46c)](){const _0x325fea=_0x241173;this['disposeWithMe'](this[_0x325fea(0x518)][_0x325fea(0x558)]['pipe'](_0x1916ca(()=>{const _0x1e5807=_0x325fea,_0x21165f=this['_univerInstanceService'][_0x1e5807(0x4d0)]();return _0x21165f?this[_0x1e5807(0x4a7)][_0x1e5807(0x2cc)](_0x21165f['getUnitId']()):_0x11cc12(null);}),_0x1916ca(_0x4171a4=>_0x4171a4?_0x4171a4[_0x325fea(0x4d3)]:_0x11cc12(J[_0x325fea(0x1c6)])))['subscribe'](_0xc5b0d6=>{const _0x511d52=_0x325fea;this[_0x511d52(0x3da)][_0x511d52(0x5b0)](_0xc5b0d6);}));}[_0x241173(0x573)](){const _0x1fb7cb=_0x241173;this[_0x1fb7cb(0x210)](this[_0x1fb7cb(0x450)][_0x1fb7cb(0x41e)](_0x1365ef[_0x1fb7cb(0x4b9)],()=>_0x4f87b6(va({'status$':this['_status$']['asObservable']()}),this[_0x1fb7cb(0x414)])));}};St=fa([ht(0x0,_0xb0f939),ht(0x1,_0x1bec75),ht(0x2,_0x1596c5(_0x59d577)),ht(0x3,_0x1596c5(it))],St);function va(_0x15e784){const {status$:_0x14534f}=_0x15e784;return function(){return _0xe0d2c9['createElement'](_a,{'status$':_0x14534f});};}const $i=_0x917e2b(_0x241173(0x276));var ma=Object[_0x241173(0x387)],pa=Object[_0x241173(0x2fb)],ga=(_0x13e804,_0xb86095,_0x23c6cc,_0x2a7f26)=>{const _0x2ec162=_0x241173;for(var _0x283195=_0x2a7f26>0x1?void 0x0:_0x2a7f26?pa(_0xb86095,_0x23c6cc):_0xb86095,_0x405fe2=_0x13e804[_0x2ec162(0x32c)]-0x1,_0x3976a9;_0x405fe2>=0x0;_0x405fe2--)(_0x3976a9=_0x13e804[_0x405fe2])&&(_0x283195=(_0x2a7f26?_0x3976a9(_0xb86095,_0x23c6cc,_0x283195):_0x3976a9(_0x283195))||_0x283195);return _0x2a7f26&&_0x283195&&ma(_0xb86095,_0x23c6cc,_0x283195),_0x283195;},ke=(_0x5e2a08,_0x59309b)=>(_0x4c6024,_0x1511e6)=>_0x59309b(_0x4c6024,_0x1511e6,_0x5e2a08);let It=class extends _0x388f6d{constructor(_0x526aeb,_0x32772a,_0x3cd96d,_0x279ad2,_0x35bc65,_0xffa41e){const _0x595a83=_0x241173;super(),this[_0x595a83(0x3fa)]=_0x526aeb,this[_0x595a83(0x318)]=_0x32772a,this[_0x595a83(0x553)]=_0x3cd96d,this[_0x595a83(0x4c6)]=_0x279ad2,this[_0x595a83(0x1fc)]=_0x35bc65,_0xffa41e?_0xffa41e==null||_0xffa41e[_0x595a83(0x44b)]()[_0x595a83(0x27c)](()=>this[_0x595a83(0x354)]()):(this[_0x595a83(0x318)]['debug']('[DataLoaderController]',_0x595a83(0x3f2)),this[_0x595a83(0x354)]());}async[_0x241173(0x354)](){const _0x4a020a=_0x241173,_0xc91731=this[_0x4a020a(0x3fa)][_0x4a020a(0x5d1)](_0x4a020a(0x2f9)),_0x559cb5=this[_0x4a020a(0x3fa)][_0x4a020a(0x5d1)](_0x4a020a(0x40a));if(!_0xc91731||!_0x559cb5){this[_0x4a020a(0x318)][_0x4a020a(0x330)](_0x4a020a(0x254),_0x4a020a(0x52a));return;}switch(Number(_0x559cb5)){case ce['UNIVER_SHEET']:{const _0x555ab0=await this[_0x4a020a(0x3ac)](_0xc91731);this[_0x4a020a(0x3be)](_0x555ab0);break;}case ce[_0x4a020a(0x209)]:{await this['_loadDoc'](_0xc91731);break;}default:{this[_0x4a020a(0x318)][_0x4a020a(0x4e3)]('[DataLoaderController]','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x241173(0x3be)](_0x1b729b){const _0x8c2c3=_0x241173;await this[_0x8c2c3(0x43b)](_0x1b729b),_0x1b729b[_0x8c2c3(0x360)][_0x8c2c3(0x391)](_0x52fe01(this[_0x8c2c3(0x448)]))[_0x8c2c3(0x31f)](_0xe9d35a=>{_0xe9d35a&&this['_updateURLWithCurrentState'](_0xe9d35a);}),this[_0x8c2c3(0x3fa)][_0x8c2c3(0x1fa)][_0x8c2c3(0x391)](_0x52fe01(this[_0x8c2c3(0x448)]))[_0x8c2c3(0x31f)](()=>this['_updateSubUnitFromURLParams'](_0x1b729b));}[_0x241173(0x3cc)](_0x3a251b,_0x190b0c=!0x1){const _0x595712=_0x241173,_0x48b67d=this['_urlService'][_0x595712(0x5d1)](_0x595712(0x238));_0x3a251b[_0x595712(0x4b1)]()!==_0x48b67d&&this[_0x595712(0x3fa)]['setParam'](_0x595712(0x238),_0x3a251b[_0x595712(0x4b1)](),_0x190b0c);}async[_0x241173(0x43b)](_0x177524){const _0x547c2e=_0x241173;var _0x62a350;const _0x71432=this['_urlService'][_0x547c2e(0x5d1)]('subunit');if(!_0x71432||!_0x177524[_0x547c2e(0x273)](_0x71432)){const _0xe26dbc=_0x177524[_0x547c2e(0x5a0)]()[0x0],_0x40197c=_0x177524[_0x547c2e(0x273)](_0xe26dbc);if(!_0x40197c)return;this[_0x547c2e(0x3cc)](_0x40197c,!0x0),await this[_0x547c2e(0x553)][_0x547c2e(0x4bf)](_0x14423d['id'],{'unitId':_0x177524[_0x547c2e(0x2d3)](),'subUnitId':_0xe26dbc});return;}((_0x62a350=_0x177524[_0x547c2e(0x594)]())==null?void 0x0:_0x62a350['getSheetId']())!==_0x71432&&await this[_0x547c2e(0x553)][_0x547c2e(0x4bf)](_0x14423d['id'],{'unitId':_0x177524[_0x547c2e(0x2d3)](),'subUnitId':_0x71432});}async['_loadSheet'](_0x3b1307){const _0x530cbd=_0x241173;let _0x5e527f=0x0;const _0x42e9c9=await this['_localCacheService'][_0x530cbd(0x555)](_0x3b1307);return _0x42e9c9&&(_0x42e9c9[_0x530cbd(0x2c8)]||_0x42e9c9['mutations'][_0x530cbd(0x32c)]!==0x0)&&(_0x5e527f=_0x42e9c9['rev']),_0x5e527f===0x0&&this[_0x530cbd(0x318)][_0x530cbd(0x330)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x530cbd(0x560)](_0x3b1307,_0x5e527f);}async[_0x241173(0x2b0)](_0x5a3d18){const _0x2682e0=_0x241173;let _0x512fa3=0x0;const _0x1f2690=await this['_localCacheService'][_0x2682e0(0x555)](_0x5a3d18);return _0x1f2690&&(_0x1f2690['awaitingChangeset']||_0x1f2690[_0x2682e0(0x3d0)][_0x2682e0(0x32c)]!==0x0)&&(_0x512fa3=_0x1f2690[_0x2682e0(0x29f)]),_0x512fa3===0x0&&this[_0x2682e0(0x318)]['debug'](_0x2682e0(0x254),_0x2682e0(0x56b)),this[_0x2682e0(0x1fc)][_0x2682e0(0x48c)](_0x5a3d18,_0x512fa3);}};It=ga([ke(0x0,$i),ke(0x1,_0x265e7a),ke(0x2,_0x289e6f),ke(0x3,_0x1596c5(q)),ke(0x4,_0x1596c5(_0x2abf3b)),ke(0x5,_0x164486(_0x115e00))],It);var Sa=Object[_0x241173(0x387)],Ia=Object[_0x241173(0x2fb)],Ca=(_0xb831e6,_0xc7641a,_0x75adc1,_0x53d1f8)=>{const _0x300c8e=_0x241173;for(var _0x371e42=_0x53d1f8>0x1?void 0x0:_0x53d1f8?Ia(_0xc7641a,_0x75adc1):_0xc7641a,_0x37d67b=_0xb831e6[_0x300c8e(0x32c)]-0x1,_0x2d26af;_0x37d67b>=0x0;_0x37d67b--)(_0x2d26af=_0xb831e6[_0x37d67b])&&(_0x371e42=(_0x53d1f8?_0x2d26af(_0xc7641a,_0x75adc1,_0x371e42):_0x2d26af(_0x371e42))||_0x371e42);return _0x53d1f8&&_0x371e42&&Sa(_0xc7641a,_0x75adc1,_0x371e42),_0x371e42;},Ks=(_0x169822,_0x3cda1f)=>(_0x1749ac,_0x1d4aa2)=>_0x3cda1f(_0x1749ac,_0x1d4aa2,_0x169822);const Ea=_0x241173(0x277),ba=_0x241173(0x59b);let Ct=class extends _0x59a5e6{constructor(_0x27d1ae,_0x205a1f){const _0x472961=_0x241173;super(),this['_univerInstanceService']=_0x27d1ae,this[_0x472961(0x3aa)]=_0x205a1f,this[_0x472961(0x354)]();}[_0x241173(0x354)](){const _0x1dd031=_0x241173;this['disposeWithMe'](this[_0x1dd031(0x518)]['focused$']['subscribe'](()=>{const _0x5b92d5=_0x1dd031;var _0x2e2fcd;const _0x1d53cb=this[_0x5b92d5(0x518)][_0x5b92d5(0x4d0)]();let _0x342eae=(_0x2e2fcd=this['_configService'][_0x5b92d5(0x561)](Ea))!=null?_0x2e2fcd:ba;_0x1d53cb instanceof _0x24ceab&&(_0x342eae=_0x1d53cb[_0x5b92d5(0x422)]),document['title']=_0x342eae;}));}};Ct=Ca([Ks(0x0,_0xb0f939),Ks(0x1,_0x13e361)],Ct);var Ta=Object['defineProperty'],Ra=Object[_0x241173(0x2fb)],ya=(_0x2f76e5,_0x1969b9,_0x56888b,_0x2383b2)=>{const _0x4b4cdd=_0x241173;for(var _0x29df4a=_0x2383b2>0x1?void 0x0:_0x2383b2?Ra(_0x1969b9,_0x56888b):_0x1969b9,_0x135765=_0x2f76e5[_0x4b4cdd(0x32c)]-0x1,_0x193638;_0x135765>=0x0;_0x135765--)(_0x193638=_0x2f76e5[_0x135765])&&(_0x29df4a=(_0x2383b2?_0x193638(_0x1969b9,_0x56888b,_0x29df4a):_0x193638(_0x29df4a))||_0x29df4a);return _0x2383b2&&_0x29df4a&&Ta(_0x1969b9,_0x56888b,_0x29df4a),_0x29df4a;},kt=(_0x1bcd7e,_0x38f033)=>(_0x50303b,_0x2af162)=>_0x38f033(_0x50303b,_0x2af162,_0x1bcd7e);let Et=class{constructor(_0x5ed0af,_0x4e78cc,_0x4c2e5a){const _0x3b41ae=_0x241173;this[_0x3b41ae(0x3aa)]=_0x5ed0af,this[_0x3b41ae(0x567)]=_0x4e78cc,this[_0x3b41ae(0x2dd)]=_0x4c2e5a,this[_0x3b41ae(0x459)]();}[_0x241173(0x459)](){const _0x125b5e=_0x241173;this[_0x125b5e(0x567)][_0x125b5e(0x3d3)]({'priority':0x1,'interceptor':(_0x38e38a,_0x6ab743)=>_0x6ab743(_0x38e38a)[_0x125b5e(0x391)](_0x3a017f(async _0x1a65c5=>{const _0x503b19=_0x125b5e,_0x5ca85f=_0x1a65c5;if(_0x5ca85f[_0x503b19(0x452)]===0x191&&window[_0x503b19(0x2a3)](this[_0x503b19(0x2dd)]['t'](_0x503b19(0x526)))){const _0x36466a=window[_0x503b19(0x48a)](window['location'][_0x503b19(0x283)]);window['location'][_0x503b19(0x283)]=this[_0x503b19(0x3c3)]()+'?url='+_0x36466a;}return _0x5ca85f;}))});}[_0x241173(0x3c3)](){const _0x2f18a1=_0x241173;var _0x4b1594,_0x185bc7;const _0x5f04b1=this[_0x2f18a1(0x3aa)]['getConfig'](Sr),_0x19df5f=this[_0x2f18a1(0x3aa)]['getConfig'](ie);return(_0x185bc7=(_0x4b1594=_0x19df5f==null?void 0x0:_0x19df5f[_0x2f18a1(0x548)])!=null?_0x4b1594:_0x5f04b1)!=null?_0x185bc7:Ir;}};Et=ya([kt(0x0,_0x13e361),kt(0x1,_0x1596c5(_0x1eb63d)),kt(0x2,_0x1596c5(_0x48c62d))],Et);var Oa=Object[_0x241173(0x387)],wa=Object[_0x241173(0x2fb)],Da=(_0x500ad6,_0x339fc4,_0x582671,_0x2c79f)=>{for(var _0x1f723e=_0x2c79f>0x1?void 0x0:_0x2c79f?wa(_0x339fc4,_0x582671):_0x339fc4,_0x328041=_0x500ad6['length']-0x1,_0x3e2033;_0x328041>=0x0;_0x328041--)(_0x3e2033=_0x500ad6[_0x328041])&&(_0x1f723e=(_0x2c79f?_0x3e2033(_0x339fc4,_0x582671,_0x1f723e):_0x3e2033(_0x1f723e))||_0x1f723e);return _0x2c79f&&_0x1f723e&&Oa(_0x339fc4,_0x582671,_0x1f723e),_0x1f723e;},zs=(_0x55684f,_0x3cb667)=>(_0x345215,_0x377992)=>_0x3cb667(_0x345215,_0x377992,_0x55684f);const Pa=_0x241173(0x4e8),Ua=_0x241173(0x574);let as=class extends _0x59a5e6{constructor(_0x193c0a,_0x304146){const _0x3bc9d8=_0x241173;super(),this[_0x3bc9d8(0x5d3)]=_0x193c0a,this[_0x3bc9d8(0x3aa)]=_0x304146,this[_0x3bc9d8(0x2ca)]();}['_initMergeInterceptor'](){const _0x2478f5=_0x241173,_0x27653f=this;this['disposeWithMe'](this[_0x2478f5(0x5d3)][_0x2478f5(0x3d3)]({'priority':0x3e7,'interceptor':_0xdc4057({'isMatch'(_0x55ef0f){const _0x2ced40=_0x2478f5;var _0x1bbaf9;if(_0x55ef0f[_0x2ced40(0x35c)]===_0x2ced40(0x1ea)&&((_0x1bbaf9=_0x55ef0f['requestParams'])!=null&&_0x1bbaf9[_0x2ced40(0x5c3)])){const {objectID:_0x3cd669,objectType:_0xa6bab2}=_0x55ef0f[_0x2ced40(0x3cb)]['body']||{};if(!_0x3cd669||_0xa6bab2===void 0x0)return!0x1;const _0x57b6a8=_0x27653f[_0x2ced40(0x315)]()+'/'+_0xa6bab2+'/object/'+_0x3cd669+_0x2ced40(0x1cc);if(_0x55ef0f[_0x2ced40(0x25a)]===_0x57b6a8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x31c834){const _0x26c5b5=_0x2478f5;var _0x3080ac;return(_0x3080ac=_0x31c834[_0x26c5b5(0x3cb)])==null?void 0x0:_0x3080ac[_0x26c5b5(0x5c3)];},'mergeParamsToRequest'(_0x33d233,_0x3ce23b){const _0x5f1133=_0x2478f5,_0x14ca07=_0x27653f[_0x5f1133(0x315)]()+_0x5f1133(0x4b4),_0x514dd0=_0x33d233[_0x5f1133(0x380)]((_0x199cc4,_0x1f07e9)=>{const _0x43cb35=_0x5f1133,{unitID:_0x251ee7,objectID:_0x11fc01,objectType:_0x54e16b,actions:_0x360325}=_0x1f07e9;return _0x199cc4[_0x251ee7]||(_0x199cc4[_0x251ee7]={}),_0x199cc4[_0x251ee7][_0x11fc01]||(_0x199cc4[_0x251ee7][_0x11fc01]={'objectID':_0x11fc01,'objectType':_0x54e16b,'actions':[]}),_0x199cc4[_0x251ee7][_0x11fc01]['actions'][_0x43cb35(0x42a)](..._0x360325),_0x199cc4;},{}),_0x5d9b67=[];for(const _0x2166d1 in _0x514dd0)for(const _0x44db86 in _0x514dd0[_0x2166d1]){const {actions:_0x9941be,objectType:_0x1bf4ca}=_0x514dd0[_0x2166d1][_0x44db86],_0x194873=[...new Set(_0x9941be)];_0x5d9b67['push']({'unitID':_0x2166d1,'objectID':_0x44db86,'objectType':_0x1bf4ca,'actions':_0x194873});}return new _0x47f7b2(_0x5f1133(0x1ea),_0x14ca07,{'headers':_0x3ce23b[_0x5f1133(0x377)],'withCredentials':_0x3ce23b['withCredentials'],'responseType':_0x3ce23b[_0x5f1133(0x3a1)],'body':{'requests':_0x5d9b67}});}},{'distributeResult'(_0x594bf2,_0x4761d2){const {objectActions:_0x4f3115}=_0x594bf2;return _0x4761d2['map'](_0x20b43b=>{const _0x441110=_0x10c7,{unitID:_0x5330ac,objectID:_0x1137c8,actions:_0x53a727}=_0x20b43b,_0xe4f299=_0x4f3115[_0x441110(0x4d5)](_0x3b88d0=>_0x3b88d0['unitID']===_0x5330ac&&_0x3b88d0[_0x441110(0x506)]===_0x1137c8),_0xfeafd9=_0x53a727[_0x441110(0x43c)](_0x41d57f=>_0xe4f299==null?void 0x0:_0xe4f299[_0x441110(0x406)][_0x441110(0x4d5)](_0xd240bb=>_0xd240bb[_0x441110(0x35f)]===_0x41d57f))['filter'](_0x1c68ca=>!!_0x1c68ca);return{'config':_0x20b43b,'result':{'actions':_0xfeafd9,'error':_0x594bf2[_0x441110(0x4e3)]}};});}})}));}[_0x241173(0x315)](){const _0x1fd3cc=_0x241173;var _0x4969cd,_0x4e0c64;const _0x207084=this[_0x1fd3cc(0x3aa)][_0x1fd3cc(0x561)](Pa),_0xc96a8a=this['_configService'][_0x1fd3cc(0x561)](ie);return(_0x4e0c64=(_0x4969cd=_0xc96a8a==null?void 0x0:_0xc96a8a[_0x1fd3cc(0x215)])!=null?_0x4969cd:_0x207084)!=null?_0x4e0c64:Ua;}async[_0x241173(0x487)](_0x4d2fb5){const _0x13f7e8=_0x241173,_0x355d58=this['_getAPIPrefixPath']()+'/'+_0x4d2fb5[_0x13f7e8(0x280)]+'/object';return(await this[_0x13f7e8(0x5d3)][_0x13f7e8(0x320)](_0x355d58,{'body':_0x4d2fb5}))[_0x13f7e8(0x5c3)][_0x13f7e8(0x506)]||'';}async[_0x241173(0x353)](_0x3e6309){const _0x12cb31=_0x241173,_0x31a23c=this['_getAPIPrefixPath']()+_0x12cb31(0x332);return(await this[_0x12cb31(0x5d3)][_0x12cb31(0x320)](_0x31a23c,{'body':_0x3e6309}))[_0x12cb31(0x5c3)][_0x12cb31(0x426)];}async['update'](_0x768fa4){const _0x2dedf1=_0x241173,_0x479a16=this[_0x2dedf1(0x315)]()+'/'+_0x768fa4[_0x2dedf1(0x280)]+_0x2dedf1(0x26d)+_0x768fa4[_0x2dedf1(0x506)];await this[_0x2dedf1(0x5d3)][_0x2dedf1(0x4cc)](_0x479a16,{'body':_0x768fa4});}async[_0x241173(0x1f4)](_0x3aa2e3){const _0x50a27d=_0x241173,_0x8088b2=this[_0x50a27d(0x315)]()+'/'+_0x3aa2e3['objectType']+'/object/'+_0x3aa2e3[_0x50a27d(0x506)]+_0x50a27d(0x1cc);return(await this[_0x50a27d(0x5d3)][_0x50a27d(0x320)](_0x8088b2,{'body':_0x3aa2e3}))[_0x50a27d(0x5c3)][_0x50a27d(0x406)];}async[_0x241173(0x228)](_0x519412){const _0x5cb147=_0x241173,_0xea1170=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x5cb147(0x5d3)][_0x5cb147(0x320)](_0xea1170,{'body':{'requests':_0x519412}}))['body'][_0x5cb147(0x323)];}async[_0x241173(0x1bd)](_0x2a8f16){const _0x445fa6=_0x241173,_0x5312ca=this[_0x445fa6(0x315)]()+'/'+_0x2a8f16['objectType']+_0x445fa6(0x3ff),_0x4d7d13=await this['_HTTPService'][_0x445fa6(0x320)](_0x5312ca,{'body':_0x2a8f16});return{'roles':_0x4d7d13[_0x445fa6(0x5c3)][_0x445fa6(0x45d)],'actions':_0x4d7d13['body'][_0x445fa6(0x406)]};}async[_0x241173(0x20f)](_0x54a93e){const _0x326411=_0x241173,_0x24c3d7=this[_0x326411(0x315)]()+_0x326411(0x56f);await this['_HTTPService']['delete'](_0x24c3d7,{'params':{'collaboratorID':_0x54a93e['collaboratorID'],'objectID':_0x54a93e[_0x326411(0x506)],'unitID':_0x54a93e[_0x326411(0x4a0)]}});}async['updateCollaborator'](_0x63f0b2){const _0x26ce59=_0x241173,_0x4d4991=this['_getAPIPrefixPath']()+_0x26ce59(0x56f);await this[_0x26ce59(0x5d3)][_0x26ce59(0x346)](_0x4d4991,{'body':_0x63f0b2});}async[_0x241173(0x2b8)](_0x101d86){const _0x2700ca=_0x241173,_0x37622f=this['_getAPIPrefixPath']()+_0x2700ca(0x56f);await this[_0x2700ca(0x5d3)][_0x2700ca(0x320)](_0x37622f,{'body':_0x101d86});}async[_0x241173(0x1cd)](_0x4727cf){const _0x34eee2=_0x241173,_0x3e1fb9=this[_0x34eee2(0x315)]()+_0x34eee2(0x56f);return(await this['_HTTPService'][_0x34eee2(0x241)](_0x3e1fb9,{'params':{'objectID':_0x4727cf[_0x34eee2(0x506)],'unitID':_0x4727cf['unitID']}}))[_0x34eee2(0x5c3)][_0x34eee2(0x474)];}async['putCollaborators'](_0x317512){const _0x1c62bf=_0x241173,_0x5a3f07=this[_0x1c62bf(0x315)]()+_0x1c62bf(0x56f);await this['_HTTPService']['put'](_0x5a3f07,{'body':_0x317512});}};as=Da([zs(0x0,_0x1596c5(_0x1eb63d)),zs(0x1,_0x1596c5(_0x13e361))],as);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x328cf3){const _0x1f2352=_0x241173;return _0x328cf3&&_0x328cf3[_0x1f2352(0x503)]&&Object[_0x1f2352(0x400)][_0x1f2352(0x2e0)][_0x1f2352(0x502)](_0x328cf3,_0x1f2352(0x2b6))?_0x328cf3[_0x1f2352(0x2b6)]:_0x328cf3;}var Hi={'exports':{}};function Na(_0x5b62f8){const _0x228772=_0x241173;throw new Error(_0x228772(0x512)+_0x5b62f8+_0x228772(0x1e4));}var Wt={'exports':{}},qs;function ue(){const _0x5ce33d=_0x241173;return qs||(qs=0x1,function(_0x5f2495,_0x7200eb){(function(_0x115a70,_0x5d6b25){const _0x598d54=_0x10c7;_0x5f2495[_0x598d54(0x544)]=_0x5d6b25();}(Z,function(){var _0x139480=_0x139480||function(_0x5d5ba0,_0x248b16){const _0x1ff3c1=_0x10c7;var _0x4682e7;if(typeof window<'u'&&window[_0x1ff3c1(0x329)]&&(_0x4682e7=window['crypto']),typeof self<'u'&&self[_0x1ff3c1(0x329)]&&(_0x4682e7=self[_0x1ff3c1(0x329)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4682e7=globalThis['crypto']),!_0x4682e7&&typeof window<'u'&&window[_0x1ff3c1(0x5bc)]&&(_0x4682e7=window[_0x1ff3c1(0x5bc)]),!_0x4682e7&&typeof Z<'u'&&Z[_0x1ff3c1(0x329)]&&(_0x4682e7=Z[_0x1ff3c1(0x329)]),!_0x4682e7&&typeof Na=='function')try{_0x4682e7=require(_0x1ff3c1(0x329));}catch{}var _0x5159ec=function(){const _0x395d84=_0x1ff3c1;if(_0x4682e7){if(typeof _0x4682e7['getRandomValues']==_0x395d84(0x429))try{return _0x4682e7[_0x395d84(0x2a7)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4682e7[_0x395d84(0x33e)]==_0x395d84(0x429))try{return _0x4682e7[_0x395d84(0x33e)](0x4)[_0x395d84(0x5cb)]();}catch{}}throw new Error(_0x395d84(0x5d4));},_0x2c74b0=Object['create']||(function(){function _0x644f0d(){}return function(_0x255a05){const _0x3c7fa5=_0x10c7;var _0x1c09f9;return _0x644f0d[_0x3c7fa5(0x400)]=_0x255a05,_0x1c09f9=new _0x644f0d(),_0x644f0d[_0x3c7fa5(0x400)]=null,_0x1c09f9;};}()),_0x4f5bea={},_0x1192a0=_0x4f5bea[_0x1ff3c1(0x431)]={},_0x31ee1f=_0x1192a0[_0x1ff3c1(0x59e)]=(function(){return{'extend':function(_0x5c6c3e){const _0x2f9530=_0x10c7;var _0x4fc924=_0x2c74b0(this);return _0x5c6c3e&&_0x4fc924['mixIn'](_0x5c6c3e),(!_0x4fc924[_0x2f9530(0x2e0)](_0x2f9530(0x459))||this[_0x2f9530(0x459)]===_0x4fc924[_0x2f9530(0x459)])&&(_0x4fc924[_0x2f9530(0x459)]=function(){const _0x39b9d7=_0x2f9530;_0x4fc924[_0x39b9d7(0x246)]['init'][_0x39b9d7(0x34a)](this,arguments);}),_0x4fc924[_0x2f9530(0x459)][_0x2f9530(0x400)]=_0x4fc924,_0x4fc924['$super']=this,_0x4fc924;},'create':function(){const _0x3806e2=_0x10c7;var _0x5188f6=this[_0x3806e2(0x33c)]();return _0x5188f6[_0x3806e2(0x459)][_0x3806e2(0x34a)](_0x5188f6,arguments),_0x5188f6;},'init':function(){},'mixIn':function(_0x1dab89){const _0x1279d1=_0x10c7;for(var _0x3ee1f9 in _0x1dab89)_0x1dab89[_0x1279d1(0x2e0)](_0x3ee1f9)&&(this[_0x3ee1f9]=_0x1dab89[_0x3ee1f9]);_0x1dab89[_0x1279d1(0x2e0)](_0x1279d1(0x447))&&(this[_0x1279d1(0x447)]=_0x1dab89[_0x1279d1(0x447)]);},'clone':function(){const _0x516fc4=_0x10c7;return this[_0x516fc4(0x459)][_0x516fc4(0x400)][_0x516fc4(0x33c)](this);}};}()),_0x67d69d=_0x1192a0[_0x1ff3c1(0x576)]=_0x31ee1f[_0x1ff3c1(0x33c)]({'init':function(_0x384707,_0x468ce0){const _0x460eea=_0x1ff3c1;_0x384707=this[_0x460eea(0x5ab)]=_0x384707||[],_0x468ce0!=_0x248b16?this[_0x460eea(0x341)]=_0x468ce0:this['sigBytes']=_0x384707[_0x460eea(0x32c)]*0x4;},'toString':function(_0x63835d){const _0x3d5494=_0x1ff3c1;return(_0x63835d||_0xbb3fba)[_0x3d5494(0x4aa)](this);},'concat':function(_0x23bf7a){const _0x20f7e8=_0x1ff3c1;var _0x18a7c0=this[_0x20f7e8(0x5ab)],_0x1bea2b=_0x23bf7a[_0x20f7e8(0x5ab)],_0x56c5a6=this[_0x20f7e8(0x341)],_0x3c87c8=_0x23bf7a[_0x20f7e8(0x341)];if(this['clamp'](),_0x56c5a6%0x4)for(var _0x483abb=0x0;_0x483abb<_0x3c87c8;_0x483abb++){var _0x4f708d=_0x1bea2b[_0x483abb>>>0x2]>>>0x18-_0x483abb%0x4*0x8&0xff;_0x18a7c0[_0x56c5a6+_0x483abb>>>0x2]|=_0x4f708d<<0x18-(_0x56c5a6+_0x483abb)%0x4*0x8;}else{for(var _0x57ffd6=0x0;_0x57ffd6<_0x3c87c8;_0x57ffd6+=0x4)_0x18a7c0[_0x56c5a6+_0x57ffd6>>>0x2]=_0x1bea2b[_0x57ffd6>>>0x2];}return this[_0x20f7e8(0x341)]+=_0x3c87c8,this;},'clamp':function(){const _0x117df=_0x1ff3c1;var _0x9b8be2=this[_0x117df(0x5ab)],_0x12ca17=this['sigBytes'];_0x9b8be2[_0x12ca17>>>0x2]&=0xffffffff<<0x20-_0x12ca17%0x4*0x8,_0x9b8be2[_0x117df(0x32c)]=_0x5d5ba0['ceil'](_0x12ca17/0x4);},'clone':function(){const _0x4c12ee=_0x1ff3c1;var _0x57e460=_0x31ee1f[_0x4c12ee(0x41b)][_0x4c12ee(0x502)](this);return _0x57e460[_0x4c12ee(0x5ab)]=this[_0x4c12ee(0x5ab)][_0x4c12ee(0x55b)](0x0),_0x57e460;},'random':function(_0x33e88e){const _0x2b28aa=_0x1ff3c1;for(var _0x2045b1=[],_0x52376c=0x0;_0x52376c<_0x33e88e;_0x52376c+=0x4)_0x2045b1[_0x2b28aa(0x42a)](_0x5159ec());return new _0x67d69d[(_0x2b28aa(0x459))](_0x2045b1,_0x33e88e);}}),_0x10229b=_0x4f5bea[_0x1ff3c1(0x3eb)]={},_0xbb3fba=_0x10229b[_0x1ff3c1(0x1f6)]={'stringify':function(_0x3eda8c){const _0x1087b4=_0x1ff3c1;for(var _0x16895f=_0x3eda8c[_0x1087b4(0x5ab)],_0x5f0428=_0x3eda8c[_0x1087b4(0x341)],_0x253d48=[],_0x1c22e0=0x0;_0x1c22e0<_0x5f0428;_0x1c22e0++){var _0x4136a0=_0x16895f[_0x1c22e0>>>0x2]>>>0x18-_0x1c22e0%0x4*0x8&0xff;_0x253d48['push']((_0x4136a0>>>0x4)[_0x1087b4(0x447)](0x10)),_0x253d48[_0x1087b4(0x42a)]((_0x4136a0&0xf)[_0x1087b4(0x447)](0x10));}return _0x253d48[_0x1087b4(0x223)]('');},'parse':function(_0x31dc66){const _0x2701f0=_0x1ff3c1;for(var _0x44d583=_0x31dc66[_0x2701f0(0x32c)],_0x4c2a36=[],_0x5074e1=0x0;_0x5074e1<_0x44d583;_0x5074e1+=0x2)_0x4c2a36[_0x5074e1>>>0x3]|=parseInt(_0x31dc66[_0x2701f0(0x595)](_0x5074e1,0x2),0x10)<<0x18-_0x5074e1%0x8*0x4;return new _0x67d69d[(_0x2701f0(0x459))](_0x4c2a36,_0x44d583/0x2);}},_0x41da53=_0x10229b[_0x1ff3c1(0x4e6)]={'stringify':function(_0x1dfd42){const _0x2c015f=_0x1ff3c1;for(var _0x5bf062=_0x1dfd42['words'],_0x40fa9b=_0x1dfd42[_0x2c015f(0x341)],_0x55f6da=[],_0x4adf07=0x0;_0x4adf07<_0x40fa9b;_0x4adf07++){var _0x4aa0aa=_0x5bf062[_0x4adf07>>>0x2]>>>0x18-_0x4adf07%0x4*0x8&0xff;_0x55f6da['push'](String[_0x2c015f(0x445)](_0x4aa0aa));}return _0x55f6da[_0x2c015f(0x223)]('');},'parse':function(_0x2fa3c6){const _0x35968b=_0x1ff3c1;for(var _0x5990ce=_0x2fa3c6['length'],_0x376ece=[],_0x5841ca=0x0;_0x5841ca<_0x5990ce;_0x5841ca++)_0x376ece[_0x5841ca>>>0x2]|=(_0x2fa3c6[_0x35968b(0x1c0)](_0x5841ca)&0xff)<<0x18-_0x5841ca%0x4*0x8;return new _0x67d69d[(_0x35968b(0x459))](_0x376ece,_0x5990ce);}},_0x5564b8=_0x10229b[_0x1ff3c1(0x50d)]={'stringify':function(_0x89779f){const _0x3b47bd=_0x1ff3c1;try{return decodeURIComponent(escape(_0x41da53['stringify'](_0x89779f)));}catch{throw new Error(_0x3b47bd(0x46e));}},'parse':function(_0x4cfd32){const _0x39041d=_0x1ff3c1;return _0x41da53[_0x39041d(0x527)](unescape(encodeURIComponent(_0x4cfd32)));}},_0xfc92ad=_0x1192a0[_0x1ff3c1(0x4d2)]=_0x31ee1f[_0x1ff3c1(0x33c)]({'reset':function(){const _0xc5c8ee=_0x1ff3c1;this[_0xc5c8ee(0x27e)]=new _0x67d69d[(_0xc5c8ee(0x459))](),this[_0xc5c8ee(0x4d6)]=0x0;},'_append':function(_0x588b5e){const _0x4f6854=_0x1ff3c1;typeof _0x588b5e==_0x4f6854(0x412)&&(_0x588b5e=_0x5564b8[_0x4f6854(0x527)](_0x588b5e)),this[_0x4f6854(0x27e)]['concat'](_0x588b5e),this[_0x4f6854(0x4d6)]+=_0x588b5e[_0x4f6854(0x341)];},'_process':function(_0x275f88){const _0x4410f2=_0x1ff3c1;var _0x2d0ff0,_0x576e99=this[_0x4410f2(0x27e)],_0x5c99f8=_0x576e99[_0x4410f2(0x5ab)],_0x4f49fe=_0x576e99['sigBytes'],_0x38fe78=this[_0x4410f2(0x207)],_0x3d85d2=_0x38fe78*0x4,_0x3b0b2a=_0x4f49fe/_0x3d85d2;_0x275f88?_0x3b0b2a=_0x5d5ba0['ceil'](_0x3b0b2a):_0x3b0b2a=_0x5d5ba0[_0x4410f2(0x2d0)]((_0x3b0b2a|0x0)-this[_0x4410f2(0x21a)],0x0);var _0x77288e=_0x3b0b2a*_0x38fe78,_0x44b1d7=_0x5d5ba0[_0x4410f2(0x4c0)](_0x77288e*0x4,_0x4f49fe);if(_0x77288e){for(var _0x3d0cbf=0x0;_0x3d0cbf<_0x77288e;_0x3d0cbf+=_0x38fe78)this['_doProcessBlock'](_0x5c99f8,_0x3d0cbf);_0x2d0ff0=_0x5c99f8[_0x4410f2(0x48e)](0x0,_0x77288e),_0x576e99[_0x4410f2(0x341)]-=_0x44b1d7;}return new _0x67d69d['init'](_0x2d0ff0,_0x44b1d7);},'clone':function(){const _0x18e481=_0x1ff3c1;var _0xa01b62=_0x31ee1f[_0x18e481(0x41b)][_0x18e481(0x502)](this);return _0xa01b62[_0x18e481(0x27e)]=this[_0x18e481(0x27e)][_0x18e481(0x41b)](),_0xa01b62;},'_minBufferSize':0x0});_0x1192a0[_0x1ff3c1(0x472)]=_0xfc92ad[_0x1ff3c1(0x33c)]({'cfg':_0x31ee1f['extend'](),'init':function(_0x461c17){const _0x303fb1=_0x1ff3c1;this[_0x303fb1(0x528)]=this[_0x303fb1(0x528)]['extend'](_0x461c17),this[_0x303fb1(0x29c)]();},'reset':function(){const _0x4ed812=_0x1ff3c1;_0xfc92ad[_0x4ed812(0x29c)][_0x4ed812(0x502)](this),this['_doReset']();},'update':function(_0x4f8d32){const _0x3a4068=_0x1ff3c1;return this[_0x3a4068(0x258)](_0x4f8d32),this[_0x3a4068(0x433)](),this;},'finalize':function(_0x1c970b){const _0xa479d5=_0x1ff3c1;_0x1c970b&&this['_append'](_0x1c970b);var _0x5886f0=this[_0xa479d5(0x369)]();return _0x5886f0;},'blockSize':0x10,'_createHelper':function(_0x3969eb){return function(_0x2bc17c,_0x79c63){const _0x2ba868=_0x10c7;return new _0x3969eb[(_0x2ba868(0x459))](_0x79c63)[_0x2ba868(0x2f8)](_0x2bc17c);};},'_createHmacHelper':function(_0x5a9673){return function(_0x76c390,_0x16f1f9){const _0x4a9c41=_0x10c7;return new _0x4ae04e[(_0x4a9c41(0x393))]['init'](_0x5a9673,_0x16f1f9)['finalize'](_0x76c390);};}});var _0x4ae04e=_0x4f5bea[_0x1ff3c1(0x5bb)]={};return _0x4f5bea;}(Math);return _0x139480;}));}(Wt)),Wt[_0x5ce33d(0x544)];}var Ft={'exports':{}},Xs;function ji(){const _0x48ebc8=_0x241173;return Xs||(Xs=0x1,function(_0x4e79fa,_0x44ff64){(function(_0x4c25a7,_0x214018){_0x4e79fa['exports']=_0x214018(ue());}(Z,function(_0x2ebeb5){const _0x8c7c67=_0x10c7;return(function(){const _0x3528ed=_0x10c7;var _0x2b0daf=_0x2ebeb5,_0x5aa98d=_0x2b0daf[_0x3528ed(0x431)],_0x9263d8=_0x5aa98d[_0x3528ed(0x576)],_0x30e2ac=_0x2b0daf[_0x3528ed(0x3eb)];_0x30e2ac['Base64']={'stringify':function(_0x5d2e15){const _0x5e88c5=_0x3528ed;var _0x21a319=_0x5d2e15[_0x5e88c5(0x5ab)],_0x2670e2=_0x5d2e15[_0x5e88c5(0x341)],_0x53b8c9=this[_0x5e88c5(0x4a3)];_0x5d2e15[_0x5e88c5(0x519)]();for(var _0x4a944e=[],_0x3066f9=0x0;_0x3066f9<_0x2670e2;_0x3066f9+=0x3)for(var _0x52b8df=_0x21a319[_0x3066f9>>>0x2]>>>0x18-_0x3066f9%0x4*0x8&0xff,_0x2c0dc7=_0x21a319[_0x3066f9+0x1>>>0x2]>>>0x18-(_0x3066f9+0x1)%0x4*0x8&0xff,_0x4a460e=_0x21a319[_0x3066f9+0x2>>>0x2]>>>0x18-(_0x3066f9+0x2)%0x4*0x8&0xff,_0x3b9841=_0x52b8df<<0x10|_0x2c0dc7<<0x8|_0x4a460e,_0x417e5e=0x0;_0x417e5e<0x4&&_0x3066f9+_0x417e5e*0.75<_0x2670e2;_0x417e5e++)_0x4a944e[_0x5e88c5(0x42a)](_0x53b8c9[_0x5e88c5(0x3c0)](_0x3b9841>>>0x6*(0x3-_0x417e5e)&0x3f));var _0x455763=_0x53b8c9['charAt'](0x40);if(_0x455763){for(;_0x4a944e[_0x5e88c5(0x32c)]%0x4;)_0x4a944e['push'](_0x455763);}return _0x4a944e[_0x5e88c5(0x223)]('');},'parse':function(_0x5806bd){const _0x568591=_0x3528ed;var _0x17c6b4=_0x5806bd[_0x568591(0x32c)],_0x5380a3=this['_map'],_0x8c9cdc=this[_0x568591(0x2fd)];if(!_0x8c9cdc){_0x8c9cdc=this[_0x568591(0x2fd)]=[];for(var _0x23dead=0x0;_0x23dead<_0x5380a3[_0x568591(0x32c)];_0x23dead++)_0x8c9cdc[_0x5380a3[_0x568591(0x1c0)](_0x23dead)]=_0x23dead;}var _0x20d27a=_0x5380a3['charAt'](0x40);if(_0x20d27a){var _0xa651ec=_0x5806bd['indexOf'](_0x20d27a);_0xa651ec!==-0x1&&(_0x17c6b4=_0xa651ec);}return _0x2208fa(_0x5806bd,_0x17c6b4,_0x8c9cdc);},'_map':_0x3528ed(0x34c)};function _0x2208fa(_0x54284b,_0x4010d0,_0x33ca66){const _0x44a9c7=_0x3528ed;for(var _0x2cb334=[],_0x139fde=0x0,_0x59ebd4=0x0;_0x59ebd4<_0x4010d0;_0x59ebd4++)if(_0x59ebd4%0x4){var _0x2c918e=_0x33ca66[_0x54284b['charCodeAt'](_0x59ebd4-0x1)]<<_0x59ebd4%0x4*0x2,_0x305818=_0x33ca66[_0x54284b[_0x44a9c7(0x1c0)](_0x59ebd4)]>>>0x6-_0x59ebd4%0x4*0x2,_0x43cecc=_0x2c918e|_0x305818;_0x2cb334[_0x139fde>>>0x2]|=_0x43cecc<<0x18-_0x139fde%0x4*0x8,_0x139fde++;}return _0x9263d8[_0x44a9c7(0x487)](_0x2cb334,_0x139fde);}}()),_0x2ebeb5[_0x8c7c67(0x3eb)][_0x8c7c67(0x243)];}));}(Ft)),Ft[_0x48ebc8(0x544)];}var Vt={'exports':{}},Js;function Aa(){return Js||(Js=0x1,function(_0x2fe966,_0x2d8e43){(function(_0x3c19cb,_0x3482c1){const _0x3cecae=_0x10c7;_0x2fe966[_0x3cecae(0x544)]=_0x3482c1(ue());}(Z,function(_0x2a2b38){const _0x8e963=_0x10c7;return function(_0x5ceb63){const _0x5766ae=_0x10c7;var _0x41c63d=_0x2a2b38,_0x405e4a=_0x41c63d['lib'],_0x20fa2e=_0x405e4a[_0x5766ae(0x576)],_0x6e40b4=_0x405e4a[_0x5766ae(0x472)],_0x1e19b5=_0x41c63d[_0x5766ae(0x5bb)],_0x497357=[];(function(){const _0x29936c=_0x5766ae;for(var _0x532c79=0x0;_0x532c79<0x40;_0x532c79++)_0x497357[_0x532c79]=_0x5ceb63[_0x29936c(0x214)](_0x5ceb63[_0x29936c(0x424)](_0x532c79+0x1))*0x100000000|0x0;}());var _0x1d326f=_0x1e19b5[_0x5766ae(0x3d7)]=_0x6e40b4[_0x5766ae(0x33c)]({'_doReset':function(){const _0x234874=_0x5766ae;this['_hash']=new _0x20fa2e[(_0x234874(0x459))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1b41e0,_0x134374){const _0x441501=_0x5766ae;for(var _0xf68e6e=0x0;_0xf68e6e<0x10;_0xf68e6e++){var _0x710b82=_0x134374+_0xf68e6e,_0x47293b=_0x1b41e0[_0x710b82];_0x1b41e0[_0x710b82]=(_0x47293b<<0x8|_0x47293b>>>0x18)&0xff00ff|(_0x47293b<<0x18|_0x47293b>>>0x8)&0xff00ff00;}var _0x1474fd=this['_hash'][_0x441501(0x5ab)],_0x173f6b=_0x1b41e0[_0x134374+0x0],_0x5a8559=_0x1b41e0[_0x134374+0x1],_0x5c4614=_0x1b41e0[_0x134374+0x2],_0x1f37af=_0x1b41e0[_0x134374+0x3],_0x276e25=_0x1b41e0[_0x134374+0x4],_0x5ae498=_0x1b41e0[_0x134374+0x5],_0x25077b=_0x1b41e0[_0x134374+0x6],_0x14493e=_0x1b41e0[_0x134374+0x7],_0x13ba57=_0x1b41e0[_0x134374+0x8],_0x240bbf=_0x1b41e0[_0x134374+0x9],_0x3077c9=_0x1b41e0[_0x134374+0xa],_0x4e0534=_0x1b41e0[_0x134374+0xb],_0x1b4b98=_0x1b41e0[_0x134374+0xc],_0x3eb955=_0x1b41e0[_0x134374+0xd],_0xc4157b=_0x1b41e0[_0x134374+0xe],_0x1185e1=_0x1b41e0[_0x134374+0xf],_0x52279b=_0x1474fd[0x0],_0x4bbd5f=_0x1474fd[0x1],_0x385666=_0x1474fd[0x2],_0x20c758=_0x1474fd[0x3];_0x52279b=_0xe1a946(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x173f6b,0x7,_0x497357[0x0]),_0x20c758=_0xe1a946(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x5a8559,0xc,_0x497357[0x1]),_0x385666=_0xe1a946(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x5c4614,0x11,_0x497357[0x2]),_0x4bbd5f=_0xe1a946(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x1f37af,0x16,_0x497357[0x3]),_0x52279b=_0xe1a946(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x276e25,0x7,_0x497357[0x4]),_0x20c758=_0xe1a946(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x5ae498,0xc,_0x497357[0x5]),_0x385666=_0xe1a946(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x25077b,0x11,_0x497357[0x6]),_0x4bbd5f=_0xe1a946(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x14493e,0x16,_0x497357[0x7]),_0x52279b=_0xe1a946(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x13ba57,0x7,_0x497357[0x8]),_0x20c758=_0xe1a946(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x240bbf,0xc,_0x497357[0x9]),_0x385666=_0xe1a946(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x3077c9,0x11,_0x497357[0xa]),_0x4bbd5f=_0xe1a946(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x4e0534,0x16,_0x497357[0xb]),_0x52279b=_0xe1a946(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x1b4b98,0x7,_0x497357[0xc]),_0x20c758=_0xe1a946(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x3eb955,0xc,_0x497357[0xd]),_0x385666=_0xe1a946(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0xc4157b,0x11,_0x497357[0xe]),_0x4bbd5f=_0xe1a946(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x1185e1,0x16,_0x497357[0xf]),_0x52279b=_0x337a17(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x5a8559,0x5,_0x497357[0x10]),_0x20c758=_0x337a17(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x25077b,0x9,_0x497357[0x11]),_0x385666=_0x337a17(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x4e0534,0xe,_0x497357[0x12]),_0x4bbd5f=_0x337a17(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x173f6b,0x14,_0x497357[0x13]),_0x52279b=_0x337a17(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x5ae498,0x5,_0x497357[0x14]),_0x20c758=_0x337a17(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x3077c9,0x9,_0x497357[0x15]),_0x385666=_0x337a17(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x1185e1,0xe,_0x497357[0x16]),_0x4bbd5f=_0x337a17(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x276e25,0x14,_0x497357[0x17]),_0x52279b=_0x337a17(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x240bbf,0x5,_0x497357[0x18]),_0x20c758=_0x337a17(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0xc4157b,0x9,_0x497357[0x19]),_0x385666=_0x337a17(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x1f37af,0xe,_0x497357[0x1a]),_0x4bbd5f=_0x337a17(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x13ba57,0x14,_0x497357[0x1b]),_0x52279b=_0x337a17(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x3eb955,0x5,_0x497357[0x1c]),_0x20c758=_0x337a17(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x5c4614,0x9,_0x497357[0x1d]),_0x385666=_0x337a17(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x14493e,0xe,_0x497357[0x1e]),_0x4bbd5f=_0x337a17(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x1b4b98,0x14,_0x497357[0x1f]),_0x52279b=_0x2e3bea(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x5ae498,0x4,_0x497357[0x20]),_0x20c758=_0x2e3bea(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x13ba57,0xb,_0x497357[0x21]),_0x385666=_0x2e3bea(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x4e0534,0x10,_0x497357[0x22]),_0x4bbd5f=_0x2e3bea(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0xc4157b,0x17,_0x497357[0x23]),_0x52279b=_0x2e3bea(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x5a8559,0x4,_0x497357[0x24]),_0x20c758=_0x2e3bea(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x276e25,0xb,_0x497357[0x25]),_0x385666=_0x2e3bea(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x14493e,0x10,_0x497357[0x26]),_0x4bbd5f=_0x2e3bea(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x3077c9,0x17,_0x497357[0x27]),_0x52279b=_0x2e3bea(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x3eb955,0x4,_0x497357[0x28]),_0x20c758=_0x2e3bea(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x173f6b,0xb,_0x497357[0x29]),_0x385666=_0x2e3bea(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x1f37af,0x10,_0x497357[0x2a]),_0x4bbd5f=_0x2e3bea(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x25077b,0x17,_0x497357[0x2b]),_0x52279b=_0x2e3bea(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x240bbf,0x4,_0x497357[0x2c]),_0x20c758=_0x2e3bea(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x1b4b98,0xb,_0x497357[0x2d]),_0x385666=_0x2e3bea(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x1185e1,0x10,_0x497357[0x2e]),_0x4bbd5f=_0x2e3bea(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x5c4614,0x17,_0x497357[0x2f]),_0x52279b=_0x18ce21(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x173f6b,0x6,_0x497357[0x30]),_0x20c758=_0x18ce21(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x14493e,0xa,_0x497357[0x31]),_0x385666=_0x18ce21(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0xc4157b,0xf,_0x497357[0x32]),_0x4bbd5f=_0x18ce21(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x5ae498,0x15,_0x497357[0x33]),_0x52279b=_0x18ce21(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x1b4b98,0x6,_0x497357[0x34]),_0x20c758=_0x18ce21(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x1f37af,0xa,_0x497357[0x35]),_0x385666=_0x18ce21(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x3077c9,0xf,_0x497357[0x36]),_0x4bbd5f=_0x18ce21(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x5a8559,0x15,_0x497357[0x37]),_0x52279b=_0x18ce21(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x13ba57,0x6,_0x497357[0x38]),_0x20c758=_0x18ce21(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x1185e1,0xa,_0x497357[0x39]),_0x385666=_0x18ce21(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x25077b,0xf,_0x497357[0x3a]),_0x4bbd5f=_0x18ce21(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x3eb955,0x15,_0x497357[0x3b]),_0x52279b=_0x18ce21(_0x52279b,_0x4bbd5f,_0x385666,_0x20c758,_0x276e25,0x6,_0x497357[0x3c]),_0x20c758=_0x18ce21(_0x20c758,_0x52279b,_0x4bbd5f,_0x385666,_0x4e0534,0xa,_0x497357[0x3d]),_0x385666=_0x18ce21(_0x385666,_0x20c758,_0x52279b,_0x4bbd5f,_0x5c4614,0xf,_0x497357[0x3e]),_0x4bbd5f=_0x18ce21(_0x4bbd5f,_0x385666,_0x20c758,_0x52279b,_0x240bbf,0x15,_0x497357[0x3f]),_0x1474fd[0x0]=_0x1474fd[0x0]+_0x52279b|0x0,_0x1474fd[0x1]=_0x1474fd[0x1]+_0x4bbd5f|0x0,_0x1474fd[0x2]=_0x1474fd[0x2]+_0x385666|0x0,_0x1474fd[0x3]=_0x1474fd[0x3]+_0x20c758|0x0;},'_doFinalize':function(){const _0x2cf003=_0x5766ae;var _0x526218=this[_0x2cf003(0x27e)],_0x41e71c=_0x526218[_0x2cf003(0x5ab)],_0x593e72=this[_0x2cf003(0x4d6)]*0x8,_0x266b3c=_0x526218[_0x2cf003(0x341)]*0x8;_0x41e71c[_0x266b3c>>>0x5]|=0x80<<0x18-_0x266b3c%0x20;var _0x58a140=_0x5ceb63['floor'](_0x593e72/0x100000000),_0x1c1c2c=_0x593e72;_0x41e71c[(_0x266b3c+0x40>>>0x9<<0x4)+0xf]=(_0x58a140<<0x8|_0x58a140>>>0x18)&0xff00ff|(_0x58a140<<0x18|_0x58a140>>>0x8)&0xff00ff00,_0x41e71c[(_0x266b3c+0x40>>>0x9<<0x4)+0xe]=(_0x1c1c2c<<0x8|_0x1c1c2c>>>0x18)&0xff00ff|(_0x1c1c2c<<0x18|_0x1c1c2c>>>0x8)&0xff00ff00,_0x526218['sigBytes']=(_0x41e71c[_0x2cf003(0x32c)]+0x1)*0x4,this[_0x2cf003(0x433)]();for(var _0x295389=this[_0x2cf003(0x371)],_0x127be5=_0x295389[_0x2cf003(0x5ab)],_0x30c545=0x0;_0x30c545<0x4;_0x30c545++){var _0x319c26=_0x127be5[_0x30c545];_0x127be5[_0x30c545]=(_0x319c26<<0x8|_0x319c26>>>0x18)&0xff00ff|(_0x319c26<<0x18|_0x319c26>>>0x8)&0xff00ff00;}return _0x295389;},'clone':function(){const _0x289116=_0x5766ae;var _0x14d204=_0x6e40b4[_0x289116(0x41b)][_0x289116(0x502)](this);return _0x14d204['_hash']=this['_hash'][_0x289116(0x41b)](),_0x14d204;}});function _0xe1a946(_0x463293,_0x1d5a6a,_0x3fe07b,_0x1a5a41,_0x298109,_0x50c18f,_0x29125){var _0xf2d76b=_0x463293+(_0x1d5a6a&_0x3fe07b|~_0x1d5a6a&_0x1a5a41)+_0x298109+_0x29125;return(_0xf2d76b<<_0x50c18f|_0xf2d76b>>>0x20-_0x50c18f)+_0x1d5a6a;}function _0x337a17(_0x2e4411,_0x5996b0,_0x29e088,_0x4f8bf2,_0x38ed39,_0x110c2a,_0x35499d){var _0x201622=_0x2e4411+(_0x5996b0&_0x4f8bf2|_0x29e088&~_0x4f8bf2)+_0x38ed39+_0x35499d;return(_0x201622<<_0x110c2a|_0x201622>>>0x20-_0x110c2a)+_0x5996b0;}function _0x2e3bea(_0x269fe9,_0x2a2e86,_0x1fe3a4,_0x29d84e,_0x319e13,_0x5e0d50,_0x3688fd){var _0x21a66f=_0x269fe9+(_0x2a2e86^_0x1fe3a4^_0x29d84e)+_0x319e13+_0x3688fd;return(_0x21a66f<<_0x5e0d50|_0x21a66f>>>0x20-_0x5e0d50)+_0x2a2e86;}function _0x18ce21(_0x59fc5c,_0x589178,_0x351e0f,_0x485850,_0x5760a1,_0x16490e,_0x537d6e){var _0x376db8=_0x59fc5c+(_0x351e0f^(_0x589178|~_0x485850))+_0x5760a1+_0x537d6e;return(_0x376db8<<_0x16490e|_0x376db8>>>0x20-_0x16490e)+_0x589178;}_0x41c63d[_0x5766ae(0x3d7)]=_0x6e40b4[_0x5766ae(0x302)](_0x1d326f),_0x41c63d[_0x5766ae(0x384)]=_0x6e40b4[_0x5766ae(0x347)](_0x1d326f);}(Math),_0x2a2b38[_0x8e963(0x3d7)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Yt={'exports':{}},Zs;function Ma(){const _0x197e20=_0x241173;return Zs||(Zs=0x1,function(_0x43be81,_0x32f288){(function(_0x554575,_0x547a50){const _0x28bc16=_0x10c7;_0x43be81[_0x28bc16(0x544)]=_0x547a50(ue());}(Z,function(_0x2ae87a){const _0x318405=_0x10c7;return(function(){const _0x215d25=_0x10c7;var _0x251c82=_0x2ae87a,_0x35b330=_0x251c82[_0x215d25(0x431)],_0x5d8fc0=_0x35b330['WordArray'],_0x570a3c=_0x35b330[_0x215d25(0x472)],_0x5e94b0=_0x251c82['algo'],_0x3f94db=[],_0xa1b393=_0x5e94b0[_0x215d25(0x4d8)]=_0x570a3c[_0x215d25(0x33c)]({'_doReset':function(){const _0x1c805a=_0x215d25;this['_hash']=new _0x5d8fc0[(_0x1c805a(0x459))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2f2473,_0xd5183e){const _0x5e87ed=_0x215d25;for(var _0x1f05d7=this[_0x5e87ed(0x371)][_0x5e87ed(0x5ab)],_0x2d2601=_0x1f05d7[0x0],_0x3c95f8=_0x1f05d7[0x1],_0x14b971=_0x1f05d7[0x2],_0x1846d8=_0x1f05d7[0x3],_0x1d509c=_0x1f05d7[0x4],_0x5513cf=0x0;_0x5513cf<0x50;_0x5513cf++){if(_0x5513cf<0x10)_0x3f94db[_0x5513cf]=_0x2f2473[_0xd5183e+_0x5513cf]|0x0;else{var _0x3788dd=_0x3f94db[_0x5513cf-0x3]^_0x3f94db[_0x5513cf-0x8]^_0x3f94db[_0x5513cf-0xe]^_0x3f94db[_0x5513cf-0x10];_0x3f94db[_0x5513cf]=_0x3788dd<<0x1|_0x3788dd>>>0x1f;}var _0x1cb77d=(_0x2d2601<<0x5|_0x2d2601>>>0x1b)+_0x1d509c+_0x3f94db[_0x5513cf];_0x5513cf<0x14?_0x1cb77d+=(_0x3c95f8&_0x14b971|~_0x3c95f8&_0x1846d8)+0x5a827999:_0x5513cf<0x28?_0x1cb77d+=(_0x3c95f8^_0x14b971^_0x1846d8)+0x6ed9eba1:_0x5513cf<0x3c?_0x1cb77d+=(_0x3c95f8&_0x14b971|_0x3c95f8&_0x1846d8|_0x14b971&_0x1846d8)-0x70e44324:_0x1cb77d+=(_0x3c95f8^_0x14b971^_0x1846d8)-0x359d3e2a,_0x1d509c=_0x1846d8,_0x1846d8=_0x14b971,_0x14b971=_0x3c95f8<<0x1e|_0x3c95f8>>>0x2,_0x3c95f8=_0x2d2601,_0x2d2601=_0x1cb77d;}_0x1f05d7[0x0]=_0x1f05d7[0x0]+_0x2d2601|0x0,_0x1f05d7[0x1]=_0x1f05d7[0x1]+_0x3c95f8|0x0,_0x1f05d7[0x2]=_0x1f05d7[0x2]+_0x14b971|0x0,_0x1f05d7[0x3]=_0x1f05d7[0x3]+_0x1846d8|0x0,_0x1f05d7[0x4]=_0x1f05d7[0x4]+_0x1d509c|0x0;},'_doFinalize':function(){const _0x171c9c=_0x215d25;var _0x767024=this[_0x171c9c(0x27e)],_0x596bc1=_0x767024[_0x171c9c(0x5ab)],_0xcb15ea=this[_0x171c9c(0x4d6)]*0x8,_0x374260=_0x767024[_0x171c9c(0x341)]*0x8;return _0x596bc1[_0x374260>>>0x5]|=0x80<<0x18-_0x374260%0x20,_0x596bc1[(_0x374260+0x40>>>0x9<<0x4)+0xe]=Math[_0x171c9c(0x1bf)](_0xcb15ea/0x100000000),_0x596bc1[(_0x374260+0x40>>>0x9<<0x4)+0xf]=_0xcb15ea,_0x767024[_0x171c9c(0x341)]=_0x596bc1[_0x171c9c(0x32c)]*0x4,this[_0x171c9c(0x433)](),this['_hash'];},'clone':function(){const _0x18b1f1=_0x215d25;var _0x4029b6=_0x570a3c[_0x18b1f1(0x41b)][_0x18b1f1(0x502)](this);return _0x4029b6['_hash']=this[_0x18b1f1(0x371)][_0x18b1f1(0x41b)](),_0x4029b6;}});_0x251c82['SHA1']=_0x570a3c[_0x215d25(0x302)](_0xa1b393),_0x251c82[_0x215d25(0x1ef)]=_0x570a3c[_0x215d25(0x347)](_0xa1b393);}()),_0x2ae87a[_0x318405(0x4d8)];}));}(Yt)),Yt[_0x197e20(0x544)];}var Kt={'exports':{}},Qs;function xa(){const _0x2551a5=_0x241173;return Qs||(Qs=0x1,function(_0x33411f,_0x43a9ce){(function(_0x4be898,_0x3e7dc2){const _0x42f994=_0x10c7;_0x33411f[_0x42f994(0x544)]=_0x3e7dc2(ue());}(Z,function(_0x16a011){(function(){const _0x3a17c2=_0x10c7;var _0x1bf65a=_0x16a011,_0x526165=_0x1bf65a[_0x3a17c2(0x431)],_0x14ac14=_0x526165['Base'],_0x467613=_0x1bf65a[_0x3a17c2(0x3eb)],_0x2b2aa5=_0x467613['Utf8'],_0xf7154b=_0x1bf65a[_0x3a17c2(0x5bb)];_0xf7154b['HMAC']=_0x14ac14[_0x3a17c2(0x33c)]({'init':function(_0x4fc222,_0x47fb4b){const _0x1a29b9=_0x3a17c2;_0x4fc222=this[_0x1a29b9(0x340)]=new _0x4fc222[(_0x1a29b9(0x459))](),typeof _0x47fb4b==_0x1a29b9(0x412)&&(_0x47fb4b=_0x2b2aa5[_0x1a29b9(0x527)](_0x47fb4b));var _0x4123c4=_0x4fc222[_0x1a29b9(0x207)],_0x510fa8=_0x4123c4*0x4;_0x47fb4b[_0x1a29b9(0x341)]>_0x510fa8&&(_0x47fb4b=_0x4fc222[_0x1a29b9(0x2f8)](_0x47fb4b)),_0x47fb4b[_0x1a29b9(0x519)]();for(var _0x1fe2e9=this[_0x1a29b9(0x1e0)]=_0x47fb4b[_0x1a29b9(0x41b)](),_0x5d3c21=this['_iKey']=_0x47fb4b[_0x1a29b9(0x41b)](),_0xcec04=_0x1fe2e9[_0x1a29b9(0x5ab)],_0xa5d5cb=_0x5d3c21[_0x1a29b9(0x5ab)],_0x4054da=0x0;_0x4054da<_0x4123c4;_0x4054da++)_0xcec04[_0x4054da]^=0x5c5c5c5c,_0xa5d5cb[_0x4054da]^=0x36363636;_0x1fe2e9[_0x1a29b9(0x341)]=_0x5d3c21['sigBytes']=_0x510fa8,this[_0x1a29b9(0x29c)]();},'reset':function(){const _0x31ccae=_0x3a17c2;var _0x3614e1=this[_0x31ccae(0x340)];_0x3614e1[_0x31ccae(0x29c)](),_0x3614e1[_0x31ccae(0x539)](this[_0x31ccae(0x21e)]);},'update':function(_0x5dc0b0){return this['_hasher']['update'](_0x5dc0b0),this;},'finalize':function(_0x53ac1f){const _0x29d642=_0x3a17c2;var _0xdf1295=this[_0x29d642(0x340)],_0x2697b2=_0xdf1295['finalize'](_0x53ac1f);_0xdf1295[_0x29d642(0x29c)]();var _0x16f424=_0xdf1295['finalize'](this[_0x29d642(0x1e0)][_0x29d642(0x41b)]()['concat'](_0x2697b2));return _0x16f424;}});}());}));}(Kt)),Kt[_0x2551a5(0x544)];}var ei;function Bi(){return ei||(ei=0x1,function(_0x378a01,_0x57400b){(function(_0x50ff09,_0x52d7ae,_0x2909d7){const _0x4af507=_0x10c7;_0x378a01[_0x4af507(0x544)]=_0x52d7ae(ue(),Ma(),xa());}(Z,function(_0x299965){const _0x1528bb=_0x10c7;return(function(){const _0x481f0c=_0x10c7;var _0x23ccdd=_0x299965,_0x2d1eb1=_0x23ccdd[_0x481f0c(0x431)],_0x223757=_0x2d1eb1['Base'],_0x156da3=_0x2d1eb1[_0x481f0c(0x576)],_0x52f8fb=_0x23ccdd[_0x481f0c(0x5bb)],_0x5b70ba=_0x52f8fb[_0x481f0c(0x3d7)],_0x391e13=_0x52f8fb[_0x481f0c(0x53b)]=_0x223757['extend']({'cfg':_0x223757[_0x481f0c(0x33c)]({'keySize':0x80/0x20,'hasher':_0x5b70ba,'iterations':0x1}),'init':function(_0x399fa9){const _0x2fda24=_0x481f0c;this[_0x2fda24(0x528)]=this['cfg'][_0x2fda24(0x33c)](_0x399fa9);},'compute':function(_0x469391,_0x2d9128){const _0x3d9408=_0x481f0c;for(var _0x48d586,_0x2ef31f=this[_0x3d9408(0x528)],_0x1dd9ea=_0x2ef31f[_0x3d9408(0x517)][_0x3d9408(0x487)](),_0x3e030a=_0x156da3['create'](),_0x5353fd=_0x3e030a[_0x3d9408(0x5ab)],_0x2faa42=_0x2ef31f[_0x3d9408(0x564)],_0x19624f=_0x2ef31f[_0x3d9408(0x580)];_0x5353fd[_0x3d9408(0x32c)]<_0x2faa42;){_0x48d586&&_0x1dd9ea[_0x3d9408(0x539)](_0x48d586),_0x48d586=_0x1dd9ea[_0x3d9408(0x539)](_0x469391)[_0x3d9408(0x2f8)](_0x2d9128),_0x1dd9ea[_0x3d9408(0x29c)]();for(var _0x333c57=0x1;_0x333c57<_0x19624f;_0x333c57++)_0x48d586=_0x1dd9ea[_0x3d9408(0x2f8)](_0x48d586),_0x1dd9ea[_0x3d9408(0x29c)]();_0x3e030a['concat'](_0x48d586);}return _0x3e030a[_0x3d9408(0x341)]=_0x2faa42*0x4,_0x3e030a;}});_0x23ccdd[_0x481f0c(0x53b)]=function(_0x172f1,_0x241035,_0xc81cc3){const _0x23766c=_0x481f0c;return _0x391e13[_0x23766c(0x487)](_0xc81cc3)[_0x23766c(0x3af)](_0x172f1,_0x241035);};}()),_0x299965[_0x1528bb(0x53b)];}));}(Gt)),Gt['exports'];}var zt={'exports':{}},ti;function ki(){return ti||(ti=0x1,function(_0x4bce40,_0x40c342){(function(_0x21536a,_0x40f3e2,_0x2771dc){const _0x1d3ebd=_0x10c7;_0x4bce40[_0x1d3ebd(0x544)]=_0x40f3e2(ue(),Bi());}(Z,function(_0x24b867){const _0x53ab44=_0x10c7;_0x24b867[_0x53ab44(0x431)][_0x53ab44(0x2c7)]||function(_0x1e78c7){const _0x4debe9=_0x53ab44;var _0x20bff2=_0x24b867,_0x224c34=_0x20bff2[_0x4debe9(0x431)],_0x3ea564=_0x224c34['Base'],_0x2e3482=_0x224c34[_0x4debe9(0x576)],_0x1a3e2a=_0x224c34[_0x4debe9(0x4d2)],_0x4b5287=_0x20bff2[_0x4debe9(0x3eb)];_0x4b5287['Utf8'];var _0x4aeef0=_0x4b5287[_0x4debe9(0x243)],_0x35b4b9=_0x20bff2[_0x4debe9(0x5bb)],_0xb38b0a=_0x35b4b9[_0x4debe9(0x53b)],_0x4502e1=_0x224c34['Cipher']=_0x1a3e2a[_0x4debe9(0x33c)]({'cfg':_0x3ea564[_0x4debe9(0x33c)](),'createEncryptor':function(_0x1a3166,_0x21be38){const _0xcbc4a0=_0x4debe9;return this[_0xcbc4a0(0x487)](this[_0xcbc4a0(0x40f)],_0x1a3166,_0x21be38);},'createDecryptor':function(_0x1887c9,_0x465332){const _0x1813f5=_0x4debe9;return this[_0x1813f5(0x487)](this[_0x1813f5(0x249)],_0x1887c9,_0x465332);},'init':function(_0x23ea89,_0x141a52,_0x5d1fc9){const _0x4f4996=_0x4debe9;this[_0x4f4996(0x528)]=this[_0x4f4996(0x528)][_0x4f4996(0x33c)](_0x5d1fc9),this[_0x4f4996(0x43a)]=_0x23ea89,this[_0x4f4996(0x4a4)]=_0x141a52,this[_0x4f4996(0x29c)]();},'reset':function(){const _0x4f459d=_0x4debe9;_0x1a3e2a['reset'][_0x4f459d(0x502)](this),this['_doReset']();},'process':function(_0x4763cb){const _0x213360=_0x4debe9;return this[_0x213360(0x258)](_0x4763cb),this[_0x213360(0x433)]();},'finalize':function(_0x383dbd){const _0x29fb18=_0x4debe9;_0x383dbd&&this[_0x29fb18(0x258)](_0x383dbd);var _0x1498eb=this[_0x29fb18(0x369)]();return _0x1498eb;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x474fcf(_0x832d9d){return typeof _0x832d9d=='string'?_0x602f9c:_0x6a5d27;}return function(_0x3e7914){return{'encrypt':function(_0x47a47b,_0x14218a,_0x2a5589){const _0x15da5a=_0x10c7;return _0x474fcf(_0x14218a)[_0x15da5a(0x2b7)](_0x3e7914,_0x47a47b,_0x14218a,_0x2a5589);},'decrypt':function(_0xe48de4,_0x901941,_0x544648){const _0x2dd180=_0x10c7;return _0x474fcf(_0x901941)[_0x2dd180(0x278)](_0x3e7914,_0xe48de4,_0x901941,_0x544648);}};};}())});_0x224c34[_0x4debe9(0x37c)]=_0x4502e1[_0x4debe9(0x33c)]({'_doFinalize':function(){var _0x1ba9e7=this['_process'](!0x0);return _0x1ba9e7;},'blockSize':0x1});var _0x1e72f4=_0x20bff2[_0x4debe9(0x3e3)]={},_0x459afd=_0x224c34[_0x4debe9(0x358)]=_0x3ea564[_0x4debe9(0x33c)]({'createEncryptor':function(_0x2e26c2,_0x1a3570){const _0x13c2ab=_0x4debe9;return this[_0x13c2ab(0x1fd)][_0x13c2ab(0x487)](_0x2e26c2,_0x1a3570);},'createDecryptor':function(_0x20c4d9,_0x2a5cee){const _0x294f1e=_0x4debe9;return this[_0x294f1e(0x3f1)][_0x294f1e(0x487)](_0x20c4d9,_0x2a5cee);},'init':function(_0x5d4f55,_0x7d8fd9){const _0x268b40=_0x4debe9;this['_cipher']=_0x5d4f55,this[_0x268b40(0x227)]=_0x7d8fd9;}}),_0x10ad1e=_0x1e72f4['CBC']=(function(){const _0x4e420d=_0x4debe9;var _0x5ae5ed=_0x459afd[_0x4e420d(0x33c)]();_0x5ae5ed[_0x4e420d(0x1fd)]=_0x5ae5ed[_0x4e420d(0x33c)]({'processBlock':function(_0x3444f1,_0x402e30){const _0x168687=_0x4e420d;var _0x16a56f=this[_0x168687(0x2e4)],_0x3fb987=_0x16a56f[_0x168687(0x207)];_0x1a59b3[_0x168687(0x502)](this,_0x3444f1,_0x402e30,_0x3fb987),_0x16a56f[_0x168687(0x2d4)](_0x3444f1,_0x402e30),this[_0x168687(0x3c6)]=_0x3444f1['slice'](_0x402e30,_0x402e30+_0x3fb987);}}),_0x5ae5ed[_0x4e420d(0x3f1)]=_0x5ae5ed[_0x4e420d(0x33c)]({'processBlock':function(_0x1265a8,_0x50c724){const _0x1f81cc=_0x4e420d;var _0x172649=this[_0x1f81cc(0x2e4)],_0x3c3d7e=_0x172649['blockSize'],_0x2d05df=_0x1265a8[_0x1f81cc(0x55b)](_0x50c724,_0x50c724+_0x3c3d7e);_0x172649['decryptBlock'](_0x1265a8,_0x50c724),_0x1a59b3[_0x1f81cc(0x502)](this,_0x1265a8,_0x50c724,_0x3c3d7e),this[_0x1f81cc(0x3c6)]=_0x2d05df;}});function _0x1a59b3(_0x55410a,_0x81ca46,_0x5d11fa){const _0x2bfa93=_0x4e420d;var _0x33e1f9,_0x3e3fe7=this[_0x2bfa93(0x227)];_0x3e3fe7?(_0x33e1f9=_0x3e3fe7,this[_0x2bfa93(0x227)]=_0x1e78c7):_0x33e1f9=this[_0x2bfa93(0x3c6)];for(var _0x5c5440=0x0;_0x5c5440<_0x5d11fa;_0x5c5440++)_0x55410a[_0x81ca46+_0x5c5440]^=_0x33e1f9[_0x5c5440];}return _0x5ae5ed;}()),_0x5b3135=_0x20bff2['pad']={},_0x56a79c=_0x5b3135[_0x4debe9(0x48b)]={'pad':function(_0x5c11b7,_0x5a21e0){const _0x251355=_0x4debe9;for(var _0x434574=_0x5a21e0*0x4,_0x59da2=_0x434574-_0x5c11b7[_0x251355(0x341)]%_0x434574,_0x162aa3=_0x59da2<<0x18|_0x59da2<<0x10|_0x59da2<<0x8|_0x59da2,_0x341735=[],_0x4b66b4=0x0;_0x4b66b4<_0x59da2;_0x4b66b4+=0x4)_0x341735[_0x251355(0x42a)](_0x162aa3);var _0xa8d599=_0x2e3482[_0x251355(0x487)](_0x341735,_0x59da2);_0x5c11b7[_0x251355(0x47f)](_0xa8d599);},'unpad':function(_0xc827a2){const _0x17c075=_0x4debe9;var _0x3c9ad5=_0xc827a2[_0x17c075(0x5ab)][_0xc827a2[_0x17c075(0x341)]-0x1>>>0x2]&0xff;_0xc827a2[_0x17c075(0x341)]-=_0x3c9ad5;}};_0x224c34[_0x4debe9(0x375)]=_0x4502e1['extend']({'cfg':_0x4502e1['cfg'][_0x4debe9(0x33c)]({'mode':_0x10ad1e,'padding':_0x56a79c}),'reset':function(){const _0x36b4b7=_0x4debe9;var _0x32619d;_0x4502e1[_0x36b4b7(0x29c)][_0x36b4b7(0x502)](this);var _0x2ee7b5=this['cfg'],_0x4807ef=_0x2ee7b5['iv'],_0x178178=_0x2ee7b5[_0x36b4b7(0x3e3)];this[_0x36b4b7(0x43a)]==this['_ENC_XFORM_MODE']?_0x32619d=_0x178178[_0x36b4b7(0x266)]:(_0x32619d=_0x178178[_0x36b4b7(0x4e9)],this[_0x36b4b7(0x21a)]=0x1),this[_0x36b4b7(0x333)]&&this[_0x36b4b7(0x333)]['__creator']==_0x32619d?this[_0x36b4b7(0x333)][_0x36b4b7(0x459)](this,_0x4807ef&&_0x4807ef[_0x36b4b7(0x5ab)]):(this[_0x36b4b7(0x333)]=_0x32619d[_0x36b4b7(0x502)](_0x178178,this,_0x4807ef&&_0x4807ef[_0x36b4b7(0x5ab)]),this[_0x36b4b7(0x333)][_0x36b4b7(0x1e2)]=_0x32619d);},'_doProcessBlock':function(_0x3def89,_0x5e5be7){const _0x4de7c6=_0x4debe9;this[_0x4de7c6(0x333)][_0x4de7c6(0x1d5)](_0x3def89,_0x5e5be7);},'_doFinalize':function(){const _0xb2592f=_0x4debe9;var _0x181809,_0x17fbc=this['cfg'][_0xb2592f(0x394)];return this['_xformMode']==this[_0xb2592f(0x40f)]?(_0x17fbc[_0xb2592f(0x23b)](this[_0xb2592f(0x27e)],this[_0xb2592f(0x207)]),_0x181809=this[_0xb2592f(0x433)](!0x0)):(_0x181809=this[_0xb2592f(0x433)](!0x0),_0x17fbc['unpad'](_0x181809)),_0x181809;},'blockSize':0x80/0x20});var _0x4be6d5=_0x224c34[_0x4debe9(0x390)]=_0x3ea564[_0x4debe9(0x33c)]({'init':function(_0x3552d2){this['mixIn'](_0x3552d2);},'toString':function(_0x2f87d3){const _0x4f3405=_0x4debe9;return(_0x2f87d3||this[_0x4f3405(0x356)])[_0x4f3405(0x4aa)](this);}}),_0xccbaa5=_0x20bff2[_0x4debe9(0x470)]={},_0x4d4645=_0xccbaa5[_0x4debe9(0x322)]={'stringify':function(_0x277d83){const _0x34c520=_0x4debe9;var _0x30fcc5,_0x440f95=_0x277d83[_0x34c520(0x363)],_0x3f6e25=_0x277d83[_0x34c520(0x496)];return _0x3f6e25?_0x30fcc5=_0x2e3482[_0x34c520(0x487)]([0x53616c74,0x65645f5f])['concat'](_0x3f6e25)['concat'](_0x440f95):_0x30fcc5=_0x440f95,_0x30fcc5[_0x34c520(0x447)](_0x4aeef0);},'parse':function(_0x2ee298){const _0x1c02a5=_0x4debe9;var _0x222e50,_0x33c413=_0x4aeef0[_0x1c02a5(0x527)](_0x2ee298),_0x175d0f=_0x33c413['words'];return _0x175d0f[0x0]==0x53616c74&&_0x175d0f[0x1]==0x65645f5f&&(_0x222e50=_0x2e3482['create'](_0x175d0f[_0x1c02a5(0x55b)](0x2,0x4)),_0x175d0f['splice'](0x0,0x4),_0x33c413[_0x1c02a5(0x341)]-=0x10),_0x4be6d5[_0x1c02a5(0x487)]({'ciphertext':_0x33c413,'salt':_0x222e50});}},_0x6a5d27=_0x224c34[_0x4debe9(0x54d)]=_0x3ea564[_0x4debe9(0x33c)]({'cfg':_0x3ea564[_0x4debe9(0x33c)]({'format':_0x4d4645}),'encrypt':function(_0x47a976,_0x71b344,_0x4eec6e,_0x587ded){const _0xd9bc09=_0x4debe9;_0x587ded=this[_0xd9bc09(0x528)][_0xd9bc09(0x33c)](_0x587ded);var _0x6e0bc9=_0x47a976['createEncryptor'](_0x4eec6e,_0x587ded),_0x420a18=_0x6e0bc9[_0xd9bc09(0x2f8)](_0x71b344),_0x30d721=_0x6e0bc9[_0xd9bc09(0x528)];return _0x4be6d5['create']({'ciphertext':_0x420a18,'key':_0x4eec6e,'iv':_0x30d721['iv'],'algorithm':_0x47a976,'mode':_0x30d721['mode'],'padding':_0x30d721[_0xd9bc09(0x394)],'blockSize':_0x47a976[_0xd9bc09(0x207)],'formatter':_0x587ded[_0xd9bc09(0x470)]});},'decrypt':function(_0x371667,_0x2517cd,_0x1810f3,_0x3b472a){const _0x568f2e=_0x4debe9;_0x3b472a=this[_0x568f2e(0x528)][_0x568f2e(0x33c)](_0x3b472a),_0x2517cd=this[_0x568f2e(0x3cf)](_0x2517cd,_0x3b472a[_0x568f2e(0x470)]);var _0xa01cda=_0x371667['createDecryptor'](_0x1810f3,_0x3b472a)[_0x568f2e(0x2f8)](_0x2517cd['ciphertext']);return _0xa01cda;},'_parse':function(_0x49abc2,_0x1fe591){const _0x48baf5=_0x4debe9;return typeof _0x49abc2==_0x48baf5(0x412)?_0x1fe591[_0x48baf5(0x527)](_0x49abc2,this):_0x49abc2;}}),_0x1f6efd=_0x20bff2[_0x4debe9(0x328)]={},_0x1e19c9=_0x1f6efd['OpenSSL']={'execute':function(_0xbe4bb3,_0xa77597,_0x399eb0,_0x4045fb,_0xc45cd6){const _0x3a60ab=_0x4debe9;if(_0x4045fb||(_0x4045fb=_0x2e3482[_0x3a60ab(0x57a)](0x40/0x8)),_0xc45cd6)var _0x902803=_0xb38b0a[_0x3a60ab(0x487)]({'keySize':_0xa77597+_0x399eb0,'hasher':_0xc45cd6})['compute'](_0xbe4bb3,_0x4045fb);else var _0x902803=_0xb38b0a[_0x3a60ab(0x487)]({'keySize':_0xa77597+_0x399eb0})['compute'](_0xbe4bb3,_0x4045fb);var _0xdd07cf=_0x2e3482[_0x3a60ab(0x487)](_0x902803[_0x3a60ab(0x5ab)][_0x3a60ab(0x55b)](_0xa77597),_0x399eb0*0x4);return _0x902803[_0x3a60ab(0x341)]=_0xa77597*0x4,_0x4be6d5[_0x3a60ab(0x487)]({'key':_0x902803,'iv':_0xdd07cf,'salt':_0x4045fb});}},_0x602f9c=_0x224c34[_0x4debe9(0x4ee)]=_0x6a5d27[_0x4debe9(0x33c)]({'cfg':_0x6a5d27[_0x4debe9(0x528)][_0x4debe9(0x33c)]({'kdf':_0x1e19c9}),'encrypt':function(_0x4c40bf,_0x14b0b5,_0xc14b8a,_0x52cac8){const _0x240f1c=_0x4debe9;_0x52cac8=this[_0x240f1c(0x528)][_0x240f1c(0x33c)](_0x52cac8);var _0x577c94=_0x52cac8['kdf'][_0x240f1c(0x24a)](_0xc14b8a,_0x4c40bf[_0x240f1c(0x564)],_0x4c40bf['ivSize'],_0x52cac8[_0x240f1c(0x496)],_0x52cac8[_0x240f1c(0x517)]);_0x52cac8['iv']=_0x577c94['iv'];var _0x17cdc2=_0x6a5d27[_0x240f1c(0x2b7)][_0x240f1c(0x502)](this,_0x4c40bf,_0x14b0b5,_0x577c94[_0x240f1c(0x37e)],_0x52cac8);return _0x17cdc2[_0x240f1c(0x30e)](_0x577c94),_0x17cdc2;},'decrypt':function(_0x5a7acf,_0x45f7cc,_0x30a9b7,_0x521a26){const _0x58979b=_0x4debe9;_0x521a26=this[_0x58979b(0x528)]['extend'](_0x521a26),_0x45f7cc=this[_0x58979b(0x3cf)](_0x45f7cc,_0x521a26[_0x58979b(0x470)]);var _0x351b95=_0x521a26[_0x58979b(0x328)][_0x58979b(0x24a)](_0x30a9b7,_0x5a7acf[_0x58979b(0x564)],_0x5a7acf[_0x58979b(0x497)],_0x45f7cc[_0x58979b(0x496)],_0x521a26['hasher']);_0x521a26['iv']=_0x351b95['iv'];var _0x2c97cc=_0x6a5d27['decrypt'][_0x58979b(0x502)](this,_0x5a7acf,_0x45f7cc,_0x351b95[_0x58979b(0x37e)],_0x521a26);return _0x2c97cc;}});}();}));}(zt)),zt['exports'];}(function(_0x226e7f,_0x84f7e2){(function(_0x202c59,_0x39a16a,_0x33fcfa){_0x226e7f['exports']=_0x39a16a(ue(),ji(),Aa(),Bi(),ki());}(Z,function(_0x17d2f4){const _0x5cb808=_0x10c7;return(function(){const _0x54330a=_0x10c7;var _0x132ba4=_0x17d2f4,_0x538533=_0x132ba4[_0x54330a(0x431)],_0x86fa54=_0x538533[_0x54330a(0x375)],_0x5b9988=_0x132ba4[_0x54330a(0x5bb)],_0x2e4567=[],_0x1e17cc=[],_0x27afde=[],_0x414275=[],_0x67d8ec=[],_0x2005d8=[],_0x4f4b4e=[],_0x1ed6d5=[],_0x2cfaf5=[],_0x133827=[];(function(){for(var _0x49dee3=[],_0x27c605=0x0;_0x27c605<0x100;_0x27c605++)_0x27c605<0x80?_0x49dee3[_0x27c605]=_0x27c605<<0x1:_0x49dee3[_0x27c605]=_0x27c605<<0x1^0x11b;for(var _0x5b3dfe=0x0,_0x1c4445=0x0,_0x27c605=0x0;_0x27c605<0x100;_0x27c605++){var _0x1ca42f=_0x1c4445^_0x1c4445<<0x1^_0x1c4445<<0x2^_0x1c4445<<0x3^_0x1c4445<<0x4;_0x1ca42f=_0x1ca42f>>>0x8^_0x1ca42f&0xff^0x63,_0x2e4567[_0x5b3dfe]=_0x1ca42f,_0x1e17cc[_0x1ca42f]=_0x5b3dfe;var _0x59f9d5=_0x49dee3[_0x5b3dfe],_0x3be76b=_0x49dee3[_0x59f9d5],_0x59e681=_0x49dee3[_0x3be76b],_0x853207=_0x49dee3[_0x1ca42f]*0x101^_0x1ca42f*0x1010100;_0x27afde[_0x5b3dfe]=_0x853207<<0x18|_0x853207>>>0x8,_0x414275[_0x5b3dfe]=_0x853207<<0x10|_0x853207>>>0x10,_0x67d8ec[_0x5b3dfe]=_0x853207<<0x8|_0x853207>>>0x18,_0x2005d8[_0x5b3dfe]=_0x853207;var _0x853207=_0x59e681*0x1010101^_0x3be76b*0x10001^_0x59f9d5*0x101^_0x5b3dfe*0x1010100;_0x4f4b4e[_0x1ca42f]=_0x853207<<0x18|_0x853207>>>0x8,_0x1ed6d5[_0x1ca42f]=_0x853207<<0x10|_0x853207>>>0x10,_0x2cfaf5[_0x1ca42f]=_0x853207<<0x8|_0x853207>>>0x18,_0x133827[_0x1ca42f]=_0x853207,_0x5b3dfe?(_0x5b3dfe=_0x59f9d5^_0x49dee3[_0x49dee3[_0x49dee3[_0x59e681^_0x59f9d5]]],_0x1c4445^=_0x49dee3[_0x49dee3[_0x1c4445]]):_0x5b3dfe=_0x1c4445=0x1;}}());var _0x4497a1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3db90a=_0x5b9988[_0x54330a(0x217)]=_0x86fa54[_0x54330a(0x33c)]({'_doReset':function(){const _0x3c1209=_0x54330a;var _0x5f085a;if(!(this[_0x3c1209(0x343)]&&this[_0x3c1209(0x299)]===this[_0x3c1209(0x4a4)])){for(var _0x5b2810=this['_keyPriorReset']=this[_0x3c1209(0x4a4)],_0x10cc5a=_0x5b2810[_0x3c1209(0x5ab)],_0x53e1f8=_0x5b2810[_0x3c1209(0x341)]/0x4,_0x152b85=this[_0x3c1209(0x343)]=_0x53e1f8+0x6,_0x3aa3c4=(_0x152b85+0x1)*0x4,_0x4a85c1=this[_0x3c1209(0x2a4)]=[],_0x8725c3=0x0;_0x8725c3<_0x3aa3c4;_0x8725c3++)_0x8725c3<_0x53e1f8?_0x4a85c1[_0x8725c3]=_0x10cc5a[_0x8725c3]:(_0x5f085a=_0x4a85c1[_0x8725c3-0x1],_0x8725c3%_0x53e1f8?_0x53e1f8>0x6&&_0x8725c3%_0x53e1f8==0x4&&(_0x5f085a=_0x2e4567[_0x5f085a>>>0x18]<<0x18|_0x2e4567[_0x5f085a>>>0x10&0xff]<<0x10|_0x2e4567[_0x5f085a>>>0x8&0xff]<<0x8|_0x2e4567[_0x5f085a&0xff]):(_0x5f085a=_0x5f085a<<0x8|_0x5f085a>>>0x18,_0x5f085a=_0x2e4567[_0x5f085a>>>0x18]<<0x18|_0x2e4567[_0x5f085a>>>0x10&0xff]<<0x10|_0x2e4567[_0x5f085a>>>0x8&0xff]<<0x8|_0x2e4567[_0x5f085a&0xff],_0x5f085a^=_0x4497a1[_0x8725c3/_0x53e1f8|0x0]<<0x18),_0x4a85c1[_0x8725c3]=_0x4a85c1[_0x8725c3-_0x53e1f8]^_0x5f085a);for(var _0x4c37f4=this['_invKeySchedule']=[],_0x20cd2b=0x0;_0x20cd2b<_0x3aa3c4;_0x20cd2b++){var _0x8725c3=_0x3aa3c4-_0x20cd2b;if(_0x20cd2b%0x4)var _0x5f085a=_0x4a85c1[_0x8725c3];else var _0x5f085a=_0x4a85c1[_0x8725c3-0x4];_0x20cd2b<0x4||_0x8725c3<=0x4?_0x4c37f4[_0x20cd2b]=_0x5f085a:_0x4c37f4[_0x20cd2b]=_0x4f4b4e[_0x2e4567[_0x5f085a>>>0x18]]^_0x1ed6d5[_0x2e4567[_0x5f085a>>>0x10&0xff]]^_0x2cfaf5[_0x2e4567[_0x5f085a>>>0x8&0xff]]^_0x133827[_0x2e4567[_0x5f085a&0xff]];}}},'encryptBlock':function(_0xf942d2,_0x597fb9){const _0x2d5f98=_0x54330a;this[_0x2d5f98(0x1f7)](_0xf942d2,_0x597fb9,this[_0x2d5f98(0x2a4)],_0x27afde,_0x414275,_0x67d8ec,_0x2005d8,_0x2e4567);},'decryptBlock':function(_0x20cad5,_0x55f779){const _0x4749a6=_0x54330a;var _0x1de7c6=_0x20cad5[_0x55f779+0x1];_0x20cad5[_0x55f779+0x1]=_0x20cad5[_0x55f779+0x3],_0x20cad5[_0x55f779+0x3]=_0x1de7c6,this[_0x4749a6(0x1f7)](_0x20cad5,_0x55f779,this[_0x4749a6(0x551)],_0x4f4b4e,_0x1ed6d5,_0x2cfaf5,_0x133827,_0x1e17cc);var _0x1de7c6=_0x20cad5[_0x55f779+0x1];_0x20cad5[_0x55f779+0x1]=_0x20cad5[_0x55f779+0x3],_0x20cad5[_0x55f779+0x3]=_0x1de7c6;},'_doCryptBlock':function(_0x432eb5,_0x1571b1,_0x5443bb,_0x37d727,_0x33fc8a,_0x5b4e34,_0x4f99c5,_0x4a9b0b){const _0x5ba437=_0x54330a;for(var _0x3ac2e3=this[_0x5ba437(0x343)],_0x3a8eb9=_0x432eb5[_0x1571b1]^_0x5443bb[0x0],_0x25b48d=_0x432eb5[_0x1571b1+0x1]^_0x5443bb[0x1],_0x5b639c=_0x432eb5[_0x1571b1+0x2]^_0x5443bb[0x2],_0x5d63c7=_0x432eb5[_0x1571b1+0x3]^_0x5443bb[0x3],_0x82c178=0x4,_0x27c589=0x1;_0x27c589<_0x3ac2e3;_0x27c589++){var _0x2a62d6=_0x37d727[_0x3a8eb9>>>0x18]^_0x33fc8a[_0x25b48d>>>0x10&0xff]^_0x5b4e34[_0x5b639c>>>0x8&0xff]^_0x4f99c5[_0x5d63c7&0xff]^_0x5443bb[_0x82c178++],_0x424ea0=_0x37d727[_0x25b48d>>>0x18]^_0x33fc8a[_0x5b639c>>>0x10&0xff]^_0x5b4e34[_0x5d63c7>>>0x8&0xff]^_0x4f99c5[_0x3a8eb9&0xff]^_0x5443bb[_0x82c178++],_0x112f2a=_0x37d727[_0x5b639c>>>0x18]^_0x33fc8a[_0x5d63c7>>>0x10&0xff]^_0x5b4e34[_0x3a8eb9>>>0x8&0xff]^_0x4f99c5[_0x25b48d&0xff]^_0x5443bb[_0x82c178++],_0x4287f9=_0x37d727[_0x5d63c7>>>0x18]^_0x33fc8a[_0x3a8eb9>>>0x10&0xff]^_0x5b4e34[_0x25b48d>>>0x8&0xff]^_0x4f99c5[_0x5b639c&0xff]^_0x5443bb[_0x82c178++];_0x3a8eb9=_0x2a62d6,_0x25b48d=_0x424ea0,_0x5b639c=_0x112f2a,_0x5d63c7=_0x4287f9;}var _0x2a62d6=(_0x4a9b0b[_0x3a8eb9>>>0x18]<<0x18|_0x4a9b0b[_0x25b48d>>>0x10&0xff]<<0x10|_0x4a9b0b[_0x5b639c>>>0x8&0xff]<<0x8|_0x4a9b0b[_0x5d63c7&0xff])^_0x5443bb[_0x82c178++],_0x424ea0=(_0x4a9b0b[_0x25b48d>>>0x18]<<0x18|_0x4a9b0b[_0x5b639c>>>0x10&0xff]<<0x10|_0x4a9b0b[_0x5d63c7>>>0x8&0xff]<<0x8|_0x4a9b0b[_0x3a8eb9&0xff])^_0x5443bb[_0x82c178++],_0x112f2a=(_0x4a9b0b[_0x5b639c>>>0x18]<<0x18|_0x4a9b0b[_0x5d63c7>>>0x10&0xff]<<0x10|_0x4a9b0b[_0x3a8eb9>>>0x8&0xff]<<0x8|_0x4a9b0b[_0x25b48d&0xff])^_0x5443bb[_0x82c178++],_0x4287f9=(_0x4a9b0b[_0x5d63c7>>>0x18]<<0x18|_0x4a9b0b[_0x3a8eb9>>>0x10&0xff]<<0x10|_0x4a9b0b[_0x25b48d>>>0x8&0xff]<<0x8|_0x4a9b0b[_0x5b639c&0xff])^_0x5443bb[_0x82c178++];_0x432eb5[_0x1571b1]=_0x2a62d6,_0x432eb5[_0x1571b1+0x1]=_0x424ea0,_0x432eb5[_0x1571b1+0x2]=_0x112f2a,_0x432eb5[_0x1571b1+0x3]=_0x4287f9;},'keySize':0x100/0x20});_0x132ba4['AES']=_0x86fa54[_0x54330a(0x302)](_0x3db90a);}()),_0x17d2f4[_0x5cb808(0x217)];}));}(Hi));var La=Hi[_0x241173(0x544)];function _0x10c7(_0x1d7026,_0x2c0b9a){const _0x411efa=_0x411e();return _0x10c7=function(_0x10c7e3,_0x5ac171){_0x10c7e3=_0x10c7e3-0x1bc;let _0x29b695=_0x411efa[_0x10c7e3];return _0x29b695;},_0x10c7(_0x1d7026,_0x2c0b9a);}const $a=at(La);var Ha=ji();const si=at(Ha);var Wi={'exports':{}};(function(_0x47b8cc,_0x3865a8){(function(_0x2a986a,_0x24c5e9){_0x47b8cc['exports']=_0x24c5e9(ue());}(Z,function(_0x33cd2e){const _0x410cf9=_0x10c7;return _0x33cd2e[_0x410cf9(0x3eb)][_0x410cf9(0x50d)];}));}(Wi));var ja=Wi['exports'];const Ba=at(ja);var Fi={'exports':{}};(function(_0x76f166,_0x8411e2){(function(_0x387a28,_0x336deb){const _0x12341d=_0x10c7;_0x76f166[_0x12341d(0x544)]=_0x336deb(ue());}(Z,function(_0x2d2e88){const _0x6149b7=_0x10c7;return(function(){const _0x30b953=_0x10c7;if(typeof ArrayBuffer==_0x30b953(0x429)){var _0x4b77a7=_0x2d2e88,_0x56a4c1=_0x4b77a7[_0x30b953(0x431)],_0xb3b9b2=_0x56a4c1[_0x30b953(0x576)],_0x384f7d=_0xb3b9b2[_0x30b953(0x459)],_0xcdfa0d=_0xb3b9b2['init']=function(_0x2cbe0a){const _0x5f956e=_0x30b953;if(_0x2cbe0a instanceof ArrayBuffer&&(_0x2cbe0a=new Uint8Array(_0x2cbe0a)),(_0x2cbe0a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2cbe0a instanceof Uint8ClampedArray||_0x2cbe0a instanceof Int16Array||_0x2cbe0a instanceof Uint16Array||_0x2cbe0a instanceof Int32Array||_0x2cbe0a instanceof Uint32Array||_0x2cbe0a instanceof Float32Array||_0x2cbe0a instanceof Float64Array)&&(_0x2cbe0a=new Uint8Array(_0x2cbe0a['buffer'],_0x2cbe0a[_0x5f956e(0x27b)],_0x2cbe0a[_0x5f956e(0x563)])),_0x2cbe0a instanceof Uint8Array){for(var _0x1eb4c2=_0x2cbe0a[_0x5f956e(0x563)],_0x412490=[],_0xf51cda=0x0;_0xf51cda<_0x1eb4c2;_0xf51cda++)_0x412490[_0xf51cda>>>0x2]|=_0x2cbe0a[_0xf51cda]<<0x18-_0xf51cda%0x4*0x8;_0x384f7d[_0x5f956e(0x502)](this,_0x412490,_0x1eb4c2);}else _0x384f7d[_0x5f956e(0x34a)](this,arguments);};_0xcdfa0d[_0x30b953(0x400)]=_0xb3b9b2;}}()),_0x2d2e88[_0x6149b7(0x431)][_0x6149b7(0x576)];}));}(Fi));var ka=Fi[_0x241173(0x544)];const Wa=at(ka);var Vi={'exports':{}};(function(_0x272854,_0x9c1ee8){(function(_0x2c6b39,_0x1b71b8,_0xb77742){_0x272854['exports']=_0x1b71b8(ue(),ki());}(Z,function(_0x5dc805){const _0x5e3521=_0x10c7;return _0x5dc805[_0x5e3521(0x23b)][_0x5e3521(0x23c)]={'pad':function(){},'unpad':function(){}},_0x5dc805[_0x5e3521(0x23b)]['NoPadding'];}));}(Vi));var Fa=Vi[_0x241173(0x544)];const Va=at(Fa);function Ga(_0x80b516,_0x3b6e0b){const _0x20ced7=_0x241173,_0x484565=_0x3b6e0b-_0x80b516['length']%_0x3b6e0b,_0x347978=String[_0x20ced7(0x445)](_0x484565)[_0x20ced7(0x307)](_0x484565);return _0x80b516+_0x347978;}function Ya(_0x928af4,_0x9e3c7){const _0x3e0d6a=_0x241173,_0xbe7d3d=Wa[_0x3e0d6a(0x57a)](0x10),_0xea7d93=Ga(_0x928af4,0x10),_0x75755f=$a['encrypt'](Ba['parse'](_0xea7d93),si[_0x3e0d6a(0x527)](_0x9e3c7),{'iv':_0xbe7d3d,'padding':Va});return _0xbe7d3d[_0x3e0d6a(0x47f)](_0x75755f[_0x3e0d6a(0x363)])[_0x3e0d6a(0x447)](si);}function Ka(){const _0x3a5657=_0x241173,_0x32804f=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x3a5657(0x20c)];if(_0x32804f){const _0x5933aa={'time':Math[_0x3a5657(0x1bf)](Date[_0x3a5657(0x208)]()/0x3e8),'domain':location[_0x3a5657(0x303)]};return Ya(JSON[_0x3a5657(0x4aa)](_0x5933aa),_0x32804f);}}var za=Object[_0x241173(0x387)],qa=Object['getOwnPropertyDescriptor'],Xa=(_0x365a1e,_0x2c569a,_0x496003,_0x491282)=>{const _0x41c496=_0x241173;for(var _0x231a3a=_0x491282>0x1?void 0x0:_0x491282?qa(_0x2c569a,_0x496003):_0x2c569a,_0x3fc6c1=_0x365a1e[_0x41c496(0x32c)]-0x1,_0x323b49;_0x3fc6c1>=0x0;_0x3fc6c1--)(_0x323b49=_0x365a1e[_0x3fc6c1])&&(_0x231a3a=(_0x491282?_0x323b49(_0x2c569a,_0x496003,_0x231a3a):_0x323b49(_0x231a3a))||_0x231a3a);return _0x491282&&_0x231a3a&&za(_0x2c569a,_0x496003,_0x231a3a),_0x231a3a;},Ja=(_0x55a5c3,_0x37f397)=>(_0x58be59,_0x1980ea)=>_0x37f397(_0x58be59,_0x1980ea,_0x55a5c3);let bt=class{constructor(_0x260b8a){const _0x283f07=_0x241173;this[_0x283f07(0x567)]=_0x260b8a,this[_0x283f07(0x404)]();}['_initRequestHeader'](){const _0x276e42=_0x241173;this[_0x276e42(0x567)][_0x276e42(0x3d3)]({'interceptor':(_0x58172a,_0x473bfb)=>{const _0x408fde=_0x276e42,_0x4345f0=_0x58172a[_0x408fde(0x377)],_0x13186f=Ka();return _0x13186f&&_0x4345f0[_0x408fde(0x4e4)](_0x408fde(0x3e7),_0x13186f),_0x473bfb(_0x58172a);}});}};bt=Xa([Ja(0x0,_0x1596c5(_0x1eb63d))],bt);var Za=Object['defineProperty'],Qa=Object[_0x241173(0x2fb)],ec=(_0x18ad91,_0x11e5b4,_0x50107c,_0xec2f62)=>{const _0x292cd1=_0x241173;for(var _0x133e80=_0xec2f62>0x1?void 0x0:_0xec2f62?Qa(_0x11e5b4,_0x50107c):_0x11e5b4,_0x1f9138=_0x18ad91[_0x292cd1(0x32c)]-0x1,_0x38d56a;_0x1f9138>=0x0;_0x1f9138--)(_0x38d56a=_0x18ad91[_0x1f9138])&&(_0x133e80=(_0xec2f62?_0x38d56a(_0x11e5b4,_0x50107c,_0x133e80):_0x38d56a(_0x133e80))||_0x133e80);return _0xec2f62&&_0x133e80&&Za(_0x11e5b4,_0x50107c,_0x133e80),_0x133e80;},qt=(_0x5c3278,_0x19b624)=>(_0x3b7521,_0x100ac9)=>_0x19b624(_0x3b7521,_0x100ac9,_0x5c3278);const tc=['image/png',_0x241173(0x28c),_0x241173(0x491),'image/gif',_0x241173(0x311)],sc=0x5*0x400*0x400,ic=_0x241173(0x531),nc=_0x241173(0x2ce),rc=_0x241173(0x310),oc=_0x241173(0x34f);let cs=class{constructor(_0x4a12b7,_0x4a376a,_0x45ad13){const _0x30454e=_0x241173;g(this,_0x30454e(0x40d),0x0),g(this,_0x30454e(0x4ba),new _0x49f7d1()),g(this,_0x30454e(0x582),this['_change$']),g(this,_0x30454e(0x501),new Map()),(this[_0x30454e(0x567)]=_0x4a12b7,this[_0x30454e(0x3aa)]=_0x4a376a,this['_univerInstanceService']=_0x45ad13);}[_0x241173(0x41f)](_0x1d841e){const _0x1695a4=_0x241173;this['_waitCount']=_0x1d841e,this['_change$'][_0x1695a4(0x5b0)](_0x1d841e);}[_0x241173(0x338)](_0x3cca74,_0x2ebc5c){const _0x2629ba=_0x241173;if(_0x2ebc5c===_0x2674b5[_0x2629ba(0x585)]){const _0x4d2bac=new Image();return _0x4d2bac[_0x2629ba(0x543)]=_0x3cca74,_0x4d2bac;}return this[_0x2629ba(0x501)]['get'](_0x3cca74);}['addImageSourceCache'](_0x2187f1,_0x270be4,_0x5ebbf8){const _0x28d7dd=_0x241173;_0x270be4===_0x2674b5[_0x28d7dd(0x585)]||_0x5ebbf8==null||this[_0x28d7dd(0x501)][_0x28d7dd(0x4e4)](_0x2187f1,_0x5ebbf8);}async['getImage'](_0x2b41b6){const _0x2ecf0d=_0x241173;try{const _0x25e9dd=this[_0x2ecf0d(0x32a)](this[_0x2ecf0d(0x366)](),''+_0x2b41b6),_0x454d03=(await this['_httpService']['get'](_0x25e9dd))[_0x2ecf0d(0x5c3)];if(_0x454d03[_0x2ecf0d(0x4e3)]&&_0x454d03[_0x2ecf0d(0x4e3)][_0x2ecf0d(0x464)]===Ti['OK']){const _0x1f29f2=new URL(_0x454d03[_0x2ecf0d(0x25a)],this[_0x2ecf0d(0x28b)]())[_0x2ecf0d(0x447)]();return Promise[_0x2ecf0d(0x477)](_0x1f29f2);}return Promise[_0x2ecf0d(0x306)](_0x454d03['error']);}catch(_0x4d0922){return Promise['reject'](_0x4d0922);}}async[_0x241173(0x402)](_0x5162d5){const _0x24e6a4=_0x241173;let _0x57e1d1='';if(!tc[_0x24e6a4(0x3cd)](_0x5162d5[_0x24e6a4(0x40a)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x362f80['ERROR_IMAGE_TYPE']));if(_0x5162d5[_0x24e6a4(0x599)]>sc)return this[_0x24e6a4(0x5c1)](),Promise['reject'](new Error(_0x362f80[_0x24e6a4(0x2d6)]));try{const _0x9a16c5=new FormData();_0x9a16c5[_0x24e6a4(0x351)]('file',_0x5162d5);const _0x60a486=this[_0x24e6a4(0x518)][_0x24e6a4(0x4d0)](),_0x5c999c=_0x60a486==null?void 0x0:_0x60a486[_0x24e6a4(0x2d3)]();if(!_0x5c999c)throw new Error(_0x24e6a4(0x53e));const _0x271054=this[_0x24e6a4(0x33d)]()+_0x24e6a4(0x4bb)+_0x5162d5[_0x24e6a4(0x599)][_0x24e6a4(0x447)]()+_0x24e6a4(0x2d9)+Ri[_0x24e6a4(0x5b9)]+_0x24e6a4(0x2b1)+encodeURIComponent(_0x5c999c),_0x320bb7=await(await fetch(_0x271054,{'method':_0x24e6a4(0x1ea),'body':_0x9a16c5}))['json']();if(typeof _0x320bb7['FileId']!='string')return this[_0x24e6a4(0x5c1)](),Promise[_0x24e6a4(0x306)](new Error(_0x362f80[_0x24e6a4(0x4cb)]));_0x57e1d1=_0x320bb7['FileId'];}catch{return this[_0x24e6a4(0x5c1)](),Promise[_0x24e6a4(0x306)](new Error(_0x362f80[_0x24e6a4(0x4cb)]));}return new Promise((_0x4e755d,_0x5810d2)=>{const _0x43fdcc=_0x24e6a4,_0x3f7ac2=new FileReader();_0x3f7ac2[_0x43fdcc(0x38f)](_0x5162d5),_0x3f7ac2[_0x43fdcc(0x416)]=_0x28d697=>{const _0x4a0edb=_0x43fdcc;var _0x4e2768;const _0x51b0c1=(_0x4e2768=_0x28d697[_0x4a0edb(0x2ba)])==null?void 0x0:_0x4e2768[_0x4a0edb(0x262)];if(_0x51b0c1==null){this[_0x4a0edb(0x5c1)](),_0x5810d2(new Error(_0x362f80['ERROR_IMAGE']));return;}const _0x1673cb=_0x55a7da[_0x4a0edb(0x415)](0x6);_0x4e755d({'imageId':_0x1673cb,'imageSourceType':_0x2674b5[_0x4a0edb(0x4cd)],'source':_0x57e1d1,'base64Cache':_0x51b0c1,'status':_0x362f80[_0x4a0edb(0x1f5)]}),this[_0x4a0edb(0x5c1)]();};});}[_0x241173(0x33d)](){const _0x13449f=_0x241173;var _0x17312f,_0x3b7a52;const _0xa1fc8e=this['_configService'][_0x13449f(0x561)](ic),_0x20cbb3=this[_0x13449f(0x3aa)][_0x13449f(0x561)](ie);return(_0x3b7a52=(_0x17312f=_0x20cbb3==null?void 0x0:_0x20cbb3[_0x13449f(0x5d2)])!=null?_0x17312f:_0xa1fc8e)!=null?_0x3b7a52:nc;}[_0x241173(0x366)](){const _0x1fdbbd=_0x241173;var _0x3b8302,_0x27b93a;const _0x408669=this[_0x1fdbbd(0x3aa)][_0x1fdbbd(0x561)](rc),_0x205283=this[_0x1fdbbd(0x3aa)][_0x1fdbbd(0x561)](ie);return(_0x27b93a=(_0x3b8302=_0x205283==null?void 0x0:_0x205283[_0x1fdbbd(0x314)])!=null?_0x3b8302:_0x408669)!=null?_0x27b93a:oc;}['_getDownloadEndpointURL'](){const _0x3bc26b=_0x241173;var _0x1e2e68;const _0x3e9115=this[_0x3bc26b(0x3aa)][_0x3bc26b(0x561)](ie);return(_0x1e2e68=_0x3e9115==null?void 0x0:_0x3e9115['downloadEndpointUrl'])!=null?_0x1e2e68:location[_0x3bc26b(0x46b)];}[_0x241173(0x32a)](_0x2ed59b,_0x570757){const _0x1928bc=_0x241173;return _0x2ed59b[_0x1928bc(0x4fc)]('{fileID}',_0x570757);}['_decreaseWaiting'](){const _0x519938=_0x241173;this[_0x519938(0x40d)]-=0x1,this[_0x519938(0x4ba)]['next'](this[_0x519938(0x40d)]);}};cs=ec([qt(0x0,_0x1596c5(_0x1eb63d)),qt(0x1,_0x13e361),qt(0x2,_0x1596c5(_0xb0f939))],cs);var ac=Object['defineProperty'],cc=Object[_0x241173(0x2fb)],hc=(_0x391f88,_0x1a3901,_0x473cc9,_0x30597c)=>{for(var _0x1dad6f=_0x30597c>0x1?void 0x0:_0x30597c?cc(_0x1a3901,_0x473cc9):_0x1a3901,_0x34eadb=_0x391f88['length']-0x1,_0x5939c4;_0x34eadb>=0x0;_0x34eadb--)(_0x5939c4=_0x391f88[_0x34eadb])&&(_0x1dad6f=(_0x30597c?_0x5939c4(_0x1a3901,_0x473cc9,_0x1dad6f):_0x5939c4(_0x1dad6f))||_0x1dad6f);return _0x30597c&&_0x1dad6f&&ac(_0x1a3901,_0x473cc9,_0x1dad6f),_0x1dad6f;},Qe=(_0x6f89e7,_0x235f76)=>(_0x5ea6f6,_0x182cad)=>_0x235f76(_0x5ea6f6,_0x182cad,_0x6f89e7);let Tt=class extends _0x388f6d{constructor(_0x100f4a,_0x1cd863,_0x1ff6e2,_0x1094c8,_0x4a5d90){const _0x489c94=_0x241173;super(),this[_0x489c94(0x414)]=_0x100f4a,this[_0x489c94(0x518)]=_0x1cd863,this[_0x489c94(0x47a)]=_0x1ff6e2,this['_collaborationSessionService']=_0x1094c8,this[_0x489c94(0x30a)]=_0x4a5d90,this[_0x489c94(0x4fb)](),this['_initCloseConn']();}[_0x241173(0x255)](){const _0x545162=_0x241173,_0x106432=async _0x2d2f52=>{const _0x3f759b=_0x10c7;(await this[_0x3f759b(0x1de)][_0x3f759b(0x34b)](_0x2d2f52))['event$'][_0x3f759b(0x391)](_0x18ffd4(_0x322960=>_0x322960['eventID']===_0x4ac452[_0x3f759b(0x24e)]),_0x2d9b28(this['dispose$']))[_0x3f759b(0x31f)](_0x5db34d=>{const _0x223c67=_0x3f759b,_0x4b62fe=_0x5db34d,{reason:_0x10c095}=_0x4b62fe[_0x223c67(0x498)];this[_0x223c67(0x414)]['get'](_0x3ed87c)[_0x223c67(0x348)]({'type':_0x2b3cbc['Error'],'content':this[_0x223c67(0x30a)]['t']('collaboration.closeRoom')+'('+_0x10c095+')'}),this['_permissionService'][_0x223c67(0x443)](new _0x5e1b31(_0x2d2f52)['id'],!0x1),this[_0x223c67(0x1de)][_0x223c67(0x1fb)](_0x2d2f52);});};_0x2434f6(this['_univerInstanceService'][_0x545162(0x288)](_0x1d0ba8[_0x545162(0x372)]),this[_0x545162(0x518)]['getTypeOfUnitAdded$'](_0x1d0ba8['UNIVER_DOC']))['pipe'](_0x47bd8a(_0x5313e6=>_0x5313e6[_0x545162(0x2d3)]()),_0x18ffd4(_0x1a0b3e=>!_0x53c751(_0x1a0b3e)),_0x2d9b28(this[_0x545162(0x448)]))['subscribe'](_0x4fce16=>{_0x106432(_0x4fce16);});}[_0x241173(0x4fb)](){const _0x4fa75c=_0x241173,_0x2ad7c8=async _0x361621=>{const _0x4d49ba=_0x10c7;(await this[_0x4d49ba(0x1de)][_0x4d49ba(0x34b)](_0x361621))[_0x4d49ba(0x2cb)][_0x4d49ba(0x391)](_0x18ffd4(_0x7bf40f=>_0x7bf40f[_0x4d49ba(0x4df)]===_0x4ac452[_0x4d49ba(0x4e5)]),_0x2d9b28(this[_0x4d49ba(0x448)]))[_0x4d49ba(0x31f)](_0x1f46ca=>{const _0x59b5a7=_0x4d49ba,_0x417653=_0x1f46ca,{objectId:_0x2a1dd4}=_0x417653[_0x59b5a7(0x498)],_0x2dd89c=this[_0x59b5a7(0x414)][_0x59b5a7(0x241)](_0x1639dd);_0x2a1dd4===_0x361621?_0x2dd89c['initWorkbookPermissionChange'](_0x361621):_0x2dd89c[_0x59b5a7(0x2ff)](_0x361621,_0x2a1dd4);});};_0x2434f6(this[_0x4fa75c(0x518)][_0x4fa75c(0x288)](_0x1d0ba8['UNIVER_SHEET']),this[_0x4fa75c(0x518)][_0x4fa75c(0x288)](_0x1d0ba8['UNIVER_DOC']))['pipe'](_0x47bd8a(_0x45507e=>_0x45507e[_0x4fa75c(0x2d3)]()),_0x18ffd4(_0x6fd68=>!_0x53c751(_0x6fd68)),_0x2d9b28(this['dispose$']))[_0x4fa75c(0x31f)](_0x3c846c=>{_0x2ad7c8(_0x3c846c);});}};Tt=hc([Qe(0x0,_0x1596c5(_0x59d577)),Qe(0x1,_0xb0f939),Qe(0x2,_0x118be4),Qe(0x3,_0x1596c5(Ae)),Qe(0x4,_0x1596c5(_0x48c62d))],Tt);var lc=Object[_0x241173(0x387)],_c=Object[_0x241173(0x2fb)],uc=(_0x52113d,_0xd386d6,_0x458866,_0x215f93)=>{const _0x25a748=_0x241173;for(var _0x17b6b2=_0x215f93>0x1?void 0x0:_0x215f93?_c(_0xd386d6,_0x458866):_0xd386d6,_0x17b4ce=_0x52113d[_0x25a748(0x32c)]-0x1,_0x4650a2;_0x17b4ce>=0x0;_0x17b4ce--)(_0x4650a2=_0x52113d[_0x17b4ce])&&(_0x17b6b2=(_0x215f93?_0x4650a2(_0xd386d6,_0x458866,_0x17b6b2):_0x4650a2(_0x17b6b2))||_0x17b6b2);return _0x215f93&&_0x17b6b2&&lc(_0xd386d6,_0x458866,_0x17b6b2),_0x17b6b2;},ii=(_0x3249df,_0x40ef95)=>(_0x587da1,_0x5e4eca)=>_0x40ef95(_0x587da1,_0x5e4eca,_0x3249df);let hs=class{constructor(_0x264b4b,_0x24d831){const _0x5a95f8=_0x241173;this[_0x5a95f8(0x3aa)]=_0x264b4b,this[_0x5a95f8(0x567)]=_0x24d831;}async[_0x241173(0x5a1)](_0xff249c,_0x8b037e){const _0x3cb563=_0x241173;var _0x18eb2e;const {unitID:_0x5549ec,type:_0x5be59b,revision:_0x1d5298=0x0}=_0x8b037e,_0x432826=this[_0x3cb563(0x23a)]()+'/'+_0x5be59b+'/unit/'+_0x5549ec+_0x3cb563(0x20e)+_0x1d5298,_0x5bc50d=(await this[_0x3cb563(0x567)][_0x3cb563(0x241)](_0x432826))['body'],_0x952bc8=(_0x18eb2e=_0x5bc50d[_0x3cb563(0x5cc)])==null?void 0x0:_0x18eb2e[_0x3cb563(0x3c5)];if(_0x952bc8){const _0x225d40=_0x952bc8==null?void 0x0:_0x952bc8[_0x3cb563(0x260)],_0x26d348=_0x14de71[_0x3cb563(0x48f)](_0xd5b710(_0x225d40));_0x952bc8[_0x3cb563(0x260)]=_0x26d348,Object['entries'](_0x952bc8[_0x3cb563(0x381)])['forEach'](([,_0x15f528])=>{const _0x4628ea=_0x3cb563,_0x2c8393=_0x15f528[_0x4628ea(0x260)],_0x2a6031=_0x14de71[_0x4628ea(0x48f)](_0xd5b710(_0x2c8393));_0x15f528[_0x4628ea(0x260)]=_0x2a6031;});}return _0x5bc50d;}async[_0x241173(0x1bc)](_0x1b6950,_0x221807){const _0x2ee4db=_0x241173,{unitID:_0x309c0c,type:_0x35a0b6,blockID:_0x4284d3}=_0x221807,_0x52ca94=this[_0x2ee4db(0x398)]()+'/'+_0x35a0b6+_0x2ee4db(0x337)+_0x309c0c+_0x2ee4db(0x55a)+_0x4284d3;return(await this[_0x2ee4db(0x567)]['get'](_0x52ca94))[_0x2ee4db(0x5c3)];}async[_0x241173(0x31e)](_0x4a451f,_0x22803f){const _0x4d9f11=_0x241173,{unitID:_0x1f7097,type:_0x8ecf4c,blockID:_0x158d7f}=_0x22803f,_0x47f6f3=this['_getAPIPrefix']()+'/block/'+_0x8ecf4c+_0x4d9f11(0x337)+_0x1f7097+_0x4d9f11(0x55a)+_0x158d7f;return(await this[_0x4d9f11(0x567)][_0x4d9f11(0x241)](_0x47f6f3))['body'];}async['fetchMissingChangesets'](_0x22fd9a,_0x30879e){const _0x485473=_0x241173,{unitID:_0xaaad93,type:_0x341b37,from:_0x3f152e,to:_0x4bdd7d}=_0x30879e,_0x390575=this['_getAPIPrefix']()+'/'+_0x341b37+'/unit/'+_0xaaad93+_0x485473(0x2ec)+_0x3f152e+'&to='+_0x4bdd7d;return(await this['_httpService'][_0x485473(0x241)](_0x390575))[_0x485473(0x5c3)];}['_getSnapshotAPIPrefix'](){const _0x27edc5=_0x241173;var _0x51b66e;return(_0x51b66e=this[_0x27edc5(0x3aa)][_0x27edc5(0x561)](or))!=null?_0x51b66e:this[_0x27edc5(0x398)]();}['_getAPIPrefix'](){const _0x3a6c2d=_0x241173;var _0x420aa3,_0xc1df1c;const _0x478e19=this[_0x3a6c2d(0x3aa)][_0x3a6c2d(0x561)](nr),_0x121365=this[_0x3a6c2d(0x3aa)][_0x3a6c2d(0x561)](ie);return(_0xc1df1c=(_0x420aa3=_0x121365==null?void 0x0:_0x121365[_0x3a6c2d(0x232)])!=null?_0x420aa3:_0x478e19)!=null?_0xc1df1c:rr;}async[_0x241173(0x1cb)](_0x3262fd,_0x44ef9d){const _0xbe36b6=_0x241173,_0x4b5065=_0xbe36b6(0x419)+_0x44ef9d[_0xbe36b6(0x40a)]+_0xbe36b6(0x337)+_0x44ef9d['unitID']+_0xbe36b6(0x45a);return(await this['_httpService']['get'](_0x4b5065,{'params':{'resourceId':JSON[_0xbe36b6(0x4aa)](_0x44ef9d[_0xbe36b6(0x389)])}}))[_0xbe36b6(0x5c3)];}['saveSnapshot'](){const _0x531b41=_0x241173;throw new Error(_0x531b41(0x522));}['saveSheetBlock'](){const _0x5b9047=_0x241173;throw new Error(_0x5b9047(0x522));}[_0x241173(0x535)](){const _0x4e1880=_0x241173;throw new Error(_0x4e1880(0x522));}[_0x241173(0x49e)](){const _0x13706d=_0x241173;throw new Error(_0x13706d(0x522));}['getLatestCsReqIdBySid'](){const _0x586fd7=_0x241173;throw new Error(_0x586fd7(0x522));}};hs=uc([ii(0x0,_0x13e361),ii(0x1,_0x1596c5(_0x1eb63d))],hs);var dc=Object[_0x241173(0x387)],fc=Object[_0x241173(0x2fb)],vc=(_0x51ddc3,_0x353976,_0x2cbea4,_0x1f7ed4)=>{const _0x1ce958=_0x241173;for(var _0x53ed74=_0x1f7ed4>0x1?void 0x0:_0x1f7ed4?fc(_0x353976,_0x2cbea4):_0x353976,_0x5e8a68=_0x51ddc3[_0x1ce958(0x32c)]-0x1,_0x1f4fd6;_0x5e8a68>=0x0;_0x5e8a68--)(_0x1f4fd6=_0x51ddc3[_0x5e8a68])&&(_0x53ed74=(_0x1f7ed4?_0x1f4fd6(_0x353976,_0x2cbea4,_0x53ed74):_0x1f4fd6(_0x53ed74))||_0x53ed74);return _0x1f7ed4&&_0x53ed74&&dc(_0x353976,_0x2cbea4,_0x53ed74),_0x53ed74;},et=(_0x551c55,_0x3ba7f6)=>(_0x59c911,_0x52023b)=>_0x3ba7f6(_0x59c911,_0x52023b,_0x551c55);let ls=class extends _0x321970{constructor(_0x84c284,_0x334147,_0x548e3a,_0x388765,_0x3f2d24){const _0xd01c61=_0x241173;super(_0x84c284,_0x334147,_0x548e3a),this[_0xd01c61(0x39d)]=_0x388765,this[_0xd01c61(0x318)]=_0x3f2d24;}[_0x241173(0x216)](_0x287e7f,_0x270b72){const _0x5aad0e=_0x241173,_0x19671a=this[_0x5aad0e(0x44a)](_0x287e7f);if(_0x19671a)try{const _0x483a1c=this['_transformStack'](_0x19671a,_0x270b72);this['_substituteUndoStack'](_0x287e7f,_0x483a1c);}catch(_0x6a8aec){this[_0x5aad0e(0x318)][_0x5aad0e(0x4e3)](_0x5aad0e(0x359),_0x6a8aec),this[_0x5aad0e(0x292)](_0x287e7f);}const _0x4f9060=this[_0x5aad0e(0x49b)](_0x287e7f);if(_0x4f9060)try{const _0x38d008=this['_transformStack'](_0x4f9060,_0x270b72);this[_0x5aad0e(0x463)](_0x287e7f,_0x38d008);}catch(_0x22d220){this[_0x5aad0e(0x318)]['error'](_0x22d220),this[_0x5aad0e(0x2d2)](_0x287e7f);}}['_clearUndo'](_0x39fc8c){const _0x1054d4=_0x241173,_0x29707c=this['_getUndoStack'](_0x39fc8c);_0x29707c&&(_0x29707c[_0x1054d4(0x32c)]=0x0,this[_0x1054d4(0x492)]());}[_0x241173(0x2d2)](_0x48f712){const _0x17d6c6=_0x241173,_0x6c13bf=this[_0x17d6c6(0x49b)](_0x48f712);_0x6c13bf&&(_0x6c13bf['length']=0x0,this[_0x17d6c6(0x492)]());}[_0x241173(0x2a8)](_0x43c4a8,_0x48a326){const _0x2ca345=_0x241173;this[_0x2ca345(0x293)][_0x2ca345(0x4e4)](_0x43c4a8,_0x48a326),this[_0x2ca345(0x492)]();}[_0x241173(0x463)](_0x562884,_0x2faa49){const _0x28d48d=_0x241173;this[_0x28d48d(0x5d0)][_0x28d48d(0x4e4)](_0x562884,_0x2faa49),this['_updateStatus']();}['_transformStack'](_0xc35326,_0x1fb3ec){const _0x3bfdaf=_0x241173,_0x8bf7a5=[];let _0x500873=_0x1fb3ec,_0x4ef198=_0x1fb3ec;for(let _0x5c1de0=_0xc35326[_0x3bfdaf(0x32c)]-0x1;_0x5c1de0>=0x0;_0x5c1de0--){const {unitID:_0xa8cd14,undoMutations:_0x4c4e02,redoMutations:_0x36db67}=_0xc35326[_0x5c1de0],_0xcdee7f=this[_0x3bfdaf(0x39d)]['transformMutationsWithChangeset'](_0x500873,_0x4c4e02),_0xa06eb7=this[_0x3bfdaf(0x39d)][_0x3bfdaf(0x4c3)](_0x4ef198,_0x36db67);if(_0x14fd20(_0xcdee7f)||_0x14fd20(_0xa06eb7)){this['_logService'][_0x3bfdaf(0x4e3)](_0x3bfdaf(0x359),'transformStack\x20failed!',_0xcdee7f,_0xa06eb7);break;}_0x500873=_0xcdee7f[_0x3bfdaf(0x368)],_0x4ef198=_0xa06eb7[_0x3bfdaf(0x368)],_0x8bf7a5['push']({'unitID':_0xa8cd14,'undoMutations':_0xcdee7f[_0x3bfdaf(0x598)],'redoMutations':_0xa06eb7[_0x3bfdaf(0x598)]});}return _0x8bf7a5[_0x3bfdaf(0x4ff)]();}};ls=vc([et(0x0,_0xb0f939),et(0x1,_0x289e6f),et(0x2,_0x2b51a9),et(0x3,_0x399263),et(0x4,_0x265e7a)],ls);class mc extends _0x388f6d{constructor(){const _0x52157a=_0x241173;super(),g(this,'urlChange$'),this[_0x52157a(0x1fa)]=_0x521190(window,_0x52157a(0x407))[_0x52157a(0x391)](_0x52fe01(this['dispose$']),_0x5477e0(0x1),_0x152544(void 0x0));}[_0x241173(0x5aa)](_0x59c29c,_0x20a96c,_0x40d882=!0x1){const _0x24bce1=_0x241173,_0x20dfbf=new URL(window[_0x24bce1(0x201)][_0x24bce1(0x283)]);_0x20dfbf[_0x24bce1(0x592)][_0x24bce1(0x4e4)](_0x59c29c,_0x20a96c),_0x40d882?window['history']['replaceState']('','',_0x20dfbf['toString']()):window[_0x24bce1(0x2e8)][_0x24bce1(0x1f0)]('','',_0x20dfbf[_0x24bce1(0x447)]());}['removeParam'](_0x134624,_0x3371e7=!0x1){const _0x156103=_0x241173,_0x34ad32=new URL(window['location'][_0x156103(0x283)]);_0x34ad32[_0x156103(0x592)][_0x156103(0x2d7)](_0x134624),_0x3371e7?window['history']['replaceState']('','',_0x34ad32['toString']()):window[_0x156103(0x2e8)][_0x156103(0x1f0)]('','',_0x34ad32[_0x156103(0x447)]());}[_0x241173(0x5d1)](_0x1a2e87){const _0x176202=_0x241173;var _0x145e8f;return(_0x145e8f=new URL(window[_0x176202(0x201)][_0x176202(0x283)])[_0x176202(0x592)][_0x176202(0x241)](_0x1a2e87))!=null?_0x145e8f:void 0x0;}}var Gi=Object[_0x241173(0x387)],pc=Object[_0x241173(0x2fb)],gc=(_0x4dae1c,_0x2cd880,_0x300d39)=>_0x2cd880 in _0x4dae1c?Gi(_0x4dae1c,_0x2cd880,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x300d39}):_0x4dae1c[_0x2cd880]=_0x300d39,Sc=(_0x1f6ecb,_0x2078a4,_0x1d3bf6,_0x474bf2)=>{const _0x1fadf4=_0x241173;for(var _0x5793f6=_0x474bf2>0x1?void 0x0:_0x474bf2?pc(_0x2078a4,_0x1d3bf6):_0x2078a4,_0x529dd1=_0x1f6ecb[_0x1fadf4(0x32c)]-0x1,_0x44a596;_0x529dd1>=0x0;_0x529dd1--)(_0x44a596=_0x1f6ecb[_0x529dd1])&&(_0x5793f6=(_0x474bf2?_0x44a596(_0x2078a4,_0x1d3bf6,_0x5793f6):_0x44a596(_0x5793f6))||_0x5793f6);return _0x474bf2&&_0x5793f6&&Gi(_0x2078a4,_0x1d3bf6,_0x5793f6),_0x5793f6;},lt=(_0x4262c0,_0x506a6d)=>(_0x3ba862,_0xec1bb9)=>_0x506a6d(_0x3ba862,_0xec1bb9,_0x4262c0),Ic=(_0x3cfffb,_0x4b2544,_0x1d822c)=>gc(_0x3cfffb,_0x4b2544+'',_0x1d822c);const Cc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let _s=class extends _0x5f090e{constructor(_0x13909c=Cr,_0x1fb995,_0x4da7af,_0x41eb75,_0x3bb009){const _0x399949=_0x241173;super(),this['_config']=_0x13909c,this['_logService']=_0x1fb995,this[_0x399949(0x41a)]=_0x4da7af,this[_0x399949(0x414)]=_0x41eb75,this[_0x399949(0x3aa)]=_0x3bb009;const {..._0x2d17c9}=this[_0x399949(0x38d)];this['_configService'][_0x399949(0x4b8)](ie,_0x2d17c9);}['onStarting'](){const _0x2b7cf1=_0x241173;this['_registerDependencies'](),this[_0x2b7cf1(0x53c)]();}[_0x241173(0x482)](){const _0x59de45=_0x241173;_0x2f0b1e(this[_0x59de45(0x414)],[[Ct]]);}[_0x241173(0x4a2)](){this['_registerRenderDependencies']();}[_0x241173(0x324)](){const _0x19d619=_0x241173;var _0x5d2bf7,_0xb930b0,_0x3aecb8,_0x41760b;this['_injector'][_0x19d619(0x5be)](_0x4007f7)&&this[_0x19d619(0x318)][_0x19d619(0x4e3)](_0x19d619(0x271),_0x19d619(0x2c2));const _0x212aab=[[_0x4007f7,{'useClass':ls}],[Ae],[Es],[$i,{'useClass':mc}],[Ne],[q],[_0x30b9d6],[vt],[pt],[ft],[mt],[Is],[Et],[bt],[Oi],[Tt],[yi,{'useClass':(_0xb930b0=(_0x5d2bf7=this[_0x19d619(0x38d)])==null?void 0x0:_0x5d2bf7[_0x19d619(0x312)])!=null?_0xb930b0:Qt}],[_0x52861,{'useClass':hs}],[_0x1c3331,{'useClass':as}],[_0x2269c7,{'useClass':cs}],[it],[It],[St],[Ct],[Ve]];(_0x3aecb8=this[_0x19d619(0x38d)])!=null&&_0x3aecb8[_0x19d619(0x272)]&&_0x212aab[_0x19d619(0x42a)]([Rt,{'useClass':to}]),_0x34cc1d(this['_injector'],_0x1476c6(_0x212aab,(_0x41760b=this['_config'])==null?void 0x0:_0x41760b[_0x19d619(0x2f2)]));}[_0x241173(0x308)](){const _0x198cfc=_0x241173;this[_0x198cfc(0x210)](this['_renderManagerService'][_0x198cfc(0x1e9)](_0x1d0ba8[_0x198cfc(0x209)],[rs])),this[_0x198cfc(0x210)](this[_0x198cfc(0x41a)][_0x198cfc(0x1e9)](_0x1d0ba8[_0x198cfc(0x372)],[os]));}[_0x241173(0x53c)](){const _0x5a4580=_0x241173;var _0x16d59d,_0x56fedd;this[_0x5a4580(0x414)][_0x5a4580(0x241)](_0x1eb63d)[_0x5a4580(0x3d3)]({'priority':0x14,'interceptor':_0x4274cb({'maxParallel':0x6})}),(_0x16d59d=this[_0x5a4580(0x38d)])!=null&&_0x16d59d[_0x5a4580(0x45f)]||this[_0x5a4580(0x414)][_0x5a4580(0x241)](q)[_0x5a4580(0x5ad)](),(_0x56fedd=this[_0x5a4580(0x38d)])!=null&&_0x56fedd[_0x5a4580(0x483)]&&_0x2f0b1e(this['_injector'],[[Et]]),_0x2f0b1e(this[_0x5a4580(0x414)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Ic(_s,_0x241173(0x296),Cc),_s=Sc([_0x5adef1(_0x2fe31f,_0x58b47c),lt(0x1,_0x265e7a),lt(0x2,_0x3c7872),lt(0x3,_0x1596c5(_0x59d577)),lt(0x4,_0x13e361)],_s);export{Pa as AUTHZ_URL_KEY,as as AuthzIoHttpService,pr as COLLAB_SUBMIT_CHANGESET_URL_KEY,cr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,es as CollaborationSession,Ae as CollaborationSessionService,Qt as CollaborationSocketService,J as CollaborationStatus,_a as CollaborationStatusDisplay,Oi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ts as DocCollaborationEntity,lr as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,yi as ICollaborationSocketService,$i as IURLService,cs as ImageIoService,vr as LOCAL_CACHE_INTERVAL_KEY,Sr as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,dr as RETRY_CONNECTING_MAX_COUNT_KEY,Bc as SEND_CHANGESET_TIMEOUT_KEY,nr as SNAPSHOT_SERVER_URL_KEY,or as SNAPSHOT_URL_KEY,ve as SessionStatus,Yo as SheetCollabCursorShape,ss as SheetCollaborationEntity,hs as SnapshotServerOverHTTPService,_s as UniverCollaborationClientPlugin,mc as WebURLService,Er as deserializeToCombResponse,br as serializeCombRequest};
1
+ const _0xe3a6b9=_0x272d;(function(_0x22186d,_0x371f1b){const _0x33352a=_0x272d,_0xa0c26e=_0x22186d();while(!![]){try{const _0x3c83d0=-parseInt(_0x33352a(0x262))/0x1+parseInt(_0x33352a(0x423))/0x2*(parseInt(_0x33352a(0x3de))/0x3)+-parseInt(_0x33352a(0x2c1))/0x4+-parseInt(_0x33352a(0x40f))/0x5*(parseInt(_0x33352a(0x475))/0x6)+-parseInt(_0x33352a(0x387))/0x7*(parseInt(_0x33352a(0x441))/0x8)+parseInt(_0x33352a(0x3ee))/0x9+parseInt(_0x33352a(0x577))/0xa;if(_0x3c83d0===_0x371f1b)break;else _0xa0c26e['push'](_0xa0c26e['shift']());}catch(_0x424481){_0xa0c26e['push'](_0xa0c26e['shift']());}}}(_0x1b9e,0xb31e3));var Yi=Object[_0xe3a6b9(0x2e1)],Ki=(_0x472691,_0x36cdaf,_0x440a65)=>_0x36cdaf in _0x472691?Yi(_0x472691,_0x36cdaf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x440a65}):_0x472691[_0x36cdaf]=_0x440a65,g=(_0x3e6e44,_0xc582ef,_0x18308)=>Ki(_0x3e6e44,typeof _0xc582ef!=_0xe3a6b9(0x4b4)?_0xc582ef+'':_0xc582ef,_0x18308);import{createIdentifier as _0x205a3e,Inject as _0x432547,Disposable as _0x4f0ec0,DisposableCollection as _0x1161a0,toDisposable as _0x3b9b0c,IConfigService as _0x4b50bc,ILogService as _0xfb205,UserManagerService as _0x2df2a1,UniverInstanceType as _0x3c5a8f,IUniverInstanceService as _0x17aa8b,LocaleService as _0x363878,Optional as _0x175412,RxDisposable as _0x90c284,Injector as _0x521cd6,Tools as _0x1d5b8a,ILocalStorageService as _0x3eb8c6,Rectangle as _0x76407c,ICommandService as _0xc67fcf,DOC_RANGE_TYPE as _0x38924c,JSONX as _0x60f96,CommandType as _0x414065,IPermissionService as _0x4e112d,IUndoRedoService as _0x5786da,sequenceExecute as _0x29e58b,debounce as _0x27e862,COLORS as _0x43d58a,ColorKit as _0x31e659,ThemeService as _0x4d1cc4,fromEventSubject as _0x3b5dd1,useDependency as _0x8c2bb4,connectInjector as _0x52c9bc,Workbook as _0x5548a9,isInternalEditorID as _0x558a05,LocalUndoRedoService as _0x5add56,IContextService as _0x1221df,DependentOn as _0x150c40,Plugin as _0x8b9456,touchDependencies as _0x105235,IAuthzIoService as _0x4784ca,registerDependencies as _0x206216,mergeOverrideWithDependencies as _0x5c3c24}from'@univerjs/core';import{Subject as _0xbd68e4,merge as _0x476f09,takeUntil as _0x4c7076,BehaviorSubject as _0x23c074,distinctUntilChanged as _0x40087c,fromEvent as _0x32e3b9,ReplaySubject as _0x530df0,take as _0x335dc9,map as _0x464b87,shareReplay as _0x186328,of as _0x19d5e8,debounceTime as _0x3aba06,filter as _0x4b4ea5,switchMap as _0x211e4b,combineLatest as _0x4fb160,concatMap as _0x4de8c1,mapTo as _0x52c065}from'rxjs';import{map as _0x40a0c5,take as _0x203bcd,filter as _0x1e3ef3,delay as _0x3b37a3,throttleTime as _0x3818f0,takeUntil as _0x7ee64f,switchMap as _0x16f8b3}from'rxjs/operators';import{MessageType as _0xedbc0c,Tooltip as _0x1208ed}from'@univerjs/design';import{IBeforeCloseService as _0x40985b,IMessageService as _0xc25f4d,INotificationService as _0x25d02a,useObservable as _0x2efd18,BuiltInUIPart as _0x5027da,IUIPartsService as _0x571152}from'@univerjs/ui';import{HTTPService as _0x181521,WebSocketService as _0x2df469,MergeInterceptorFactory as _0xe5a875,HTTPRequest as _0xa584b3,UniverNetworkPlugin as _0x34bf5b,ThresholdInterceptorFactory as _0x2cef5d}from'@univerjs/network';import{CollaborationEvent as _0xd65e90,parseChangesetToProtocol as _0x2de848,ISnapshotServerService as _0x4a311d,isTransformMutationFailure as _0x54625d,isTransformMutationsWithChangesetSuccess as _0x369aae,ITransformService as _0x24b4da,RevisionService as _0x1493a3,mapDocumentTypeToUniverType as _0x2dee8d,isTransformChangesetsSuccess as _0x146057,CompressMutationService as _0x202f36,parseProtocolChangeset as _0x1c3eb2,SnapshotService as _0x50afc6,textEncoder as _0x577d88,b64DecodeUnicode as _0x39d65a,isTransformMutationsWithChangesetFailure as _0x1224cb,UniverCollaborationPlugin as _0x2f93a9}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x469fb7}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x4b63a5,DocStateChangeManagerService as _0x148acc,NodePositionConvertToCursor as _0x3c488e,NodePositionConvertToRectRange as _0x39808e,TEXT_RANGE_LAYER_INDEX as _0x4e8654,SetDocZoomRatioOperation as _0x525bb7}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x3e7423,SetSelectionsOperation as _0x5aa13c,InsertSheetMutation as _0x235d24,EmptyMutation as _0x3c7c11,WorkbookEditablePermission as _0x345c5d,RefRangeService as _0x49605c,EffectRefRangId as _0x416659,handleIRemoveRow as _0xea0096,handleIRemoveCol as _0x1365f2,handleMoveRange as _0x2776b2,handleInsertRow as _0x38c8e7,handleInsertRangeMoveRight as _0x101bd3,handleInsertRangeMoveDown as _0x34e8fa,handleInsertCol as _0x3a99f0,handleDeleteRangeMoveUp as _0x52baa3,handleDeleteRangeMoveLeft as _0x432a43,runRefRangeMutations as _0x5b9034,SetWorksheetActivateCommand as _0x2ab4e3}from'@univerjs/sheets';import{IRenderManagerService as _0x49136b,Shape as _0x4d54b9,Rect as _0x572d5b,getColor as _0x52f2b6,RegularPolygon as _0x3d8108,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2a0ac0,Vector2 as _0x1842e2}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5b3cb8,RichTextEditingMutation as _0xe5a7a5,SetTextSelectionsOperation as _0xcb3313,DocSkeletonManagerService as _0x21b828}from'@univerjs/docs';import{ImageSourceType as _0x2f2b24,ImageUploadStatusType as _0x2b9ae9,IImageIoService as _0x1dc416}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x2d4d8f,serializeRangeWithSheet as _0x46c3af}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x57cf81,VIEWPORT_KEY as _0x4f1b67,getCoordByCell as _0x4a6322,getSheetObject as _0x33eeed,SheetPermissionInitController as _0x12614b}from'@univerjs/sheets-ui';import _0x5f3cc8,{forwardRef as _0x287f1e,useRef as _0x29705a,createElement as _0x3f5a91,useCallback as _0x4ea52a}from'react';import{IRemoteInstanceService as _0x39d8c4}from'@univerjs/rpc';const nr=_0xe3a6b9(0x2b2),rr=_0xe3a6b9(0x1df),or=_0xe3a6b9(0x3f1),Bc='SEND_CHANGESET_TIMEOUT',ar=0x7d0,cr=_0xe3a6b9(0x2a8),hr=_0xe3a6b9(0x3e8),lr=_0xe3a6b9(0x473),_r=0x7530,Ei=_0xe3a6b9(0x4d4),bi=0x4e20,ur=0x4e20,dr='RETRY_CONNECTING_MAX_COUNT',fr=0x3,vr=_0xe3a6b9(0x1e5),mr=0x3e8,pr=_0xe3a6b9(0x530),gr=_0xe3a6b9(0x452),Sr='LOGIN_URL_KEY',Ir=_0xe3a6b9(0x575);var Ti=(_0x80f9f8=>(_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x1f2)]=0x0]=_0xe3a6b9(0x1f2),_0x80f9f8[_0x80f9f8['OK']=0x1]='OK',_0x80f9f8[_0x80f9f8['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x27a)]=0x3]=_0xe3a6b9(0x27a),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x38c)]=0x4]=_0xe3a6b9(0x38c),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x499)]=0x5]=_0xe3a6b9(0x499),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x492)]=0x6]=_0xe3a6b9(0x492),_0x80f9f8[_0x80f9f8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x43f)]=0x8]=_0xe3a6b9(0x43f),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x306)]=0x9]='COMPLETION_FINISHED',_0x80f9f8[_0x80f9f8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xe3a6b9(0x218),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x351)]=0x1771]=_0xe3a6b9(0x351),_0x80f9f8[_0x80f9f8['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xe3a6b9(0x3c5),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x380)]=0x1773]=_0xe3a6b9(0x380),_0x80f9f8[_0x80f9f8['APPLY_REJECT']=0x1b59]=_0xe3a6b9(0x357),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x294)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x591)]=0x1b5b]=_0xe3a6b9(0x591),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x271)]=0x1b5c]=_0xe3a6b9(0x271),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x48a)]=0x1b5d]=_0xe3a6b9(0x48a),_0x80f9f8[_0x80f9f8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xe3a6b9(0x341),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x4c9)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x368)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x56f)]=0x232b]=_0xe3a6b9(0x56f),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x290)]=0x232c]=_0xe3a6b9(0x290),_0x80f9f8[_0x80f9f8['LICENSE_DISTRO_REJECTED']=0x232d]=_0xe3a6b9(0x5ae),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x3e3)]=0x2711]=_0xe3a6b9(0x3e3),_0x80f9f8[_0x80f9f8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xe3a6b9(0x390),_0x80f9f8[_0x80f9f8['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xe3a6b9(0x273),_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x534)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x80f9f8[_0x80f9f8[_0xe3a6b9(0x564)]=-0x1]=_0xe3a6b9(0x564),_0x80f9f8))(Ti||{}),ce=(_0x2e3af5=>(_0x2e3af5[_0x2e3af5[_0xe3a6b9(0x45e)]=0x0]=_0xe3a6b9(0x45e),_0x2e3af5[_0x2e3af5[_0xe3a6b9(0x39b)]=0x1]=_0xe3a6b9(0x39b),_0x2e3af5[_0x2e3af5[_0xe3a6b9(0x4fb)]=0x2]=_0xe3a6b9(0x4fb),_0x2e3af5[_0x2e3af5['UNIVER_SLIDE']=0x3]=_0xe3a6b9(0x56e),_0x2e3af5[_0x2e3af5['UNIVER_PROJECT']=0x4]=_0xe3a6b9(0x344),_0x2e3af5[_0x2e3af5[_0xe3a6b9(0x564)]=-0x1]=_0xe3a6b9(0x564),_0x2e3af5))(ce||{}),W=(_0x125cd9=>(_0x125cd9[_0x125cd9[_0xe3a6b9(0x309)]=0x0]=_0xe3a6b9(0x309),_0x125cd9[_0x125cd9[_0xe3a6b9(0x588)]=0x1]=_0xe3a6b9(0x588),_0x125cd9[_0x125cd9[_0xe3a6b9(0x431)]=0x2]='JOIN',_0x125cd9[_0x125cd9[_0xe3a6b9(0x571)]=0x3]='LEAVE',_0x125cd9[_0x125cd9['INGEST']=0x4]=_0xe3a6b9(0x24a),_0x125cd9[_0x125cd9[_0xe3a6b9(0x3ca)]=0x5]='HEARTBEAT',_0x125cd9[_0x125cd9[_0xe3a6b9(0x1f4)]=0x6]=_0xe3a6b9(0x1f4),_0x125cd9[_0x125cd9[_0xe3a6b9(0x564)]=-0x1]=_0xe3a6b9(0x564),_0x125cd9))(W||{}),Ss=(_0x31987f=>(_0x31987f[_0x31987f[_0xe3a6b9(0x231)]=0x0]=_0xe3a6b9(0x231),_0x31987f[_0x31987f['OK']=0x1]='OK',_0x31987f[_0x31987f[_0xe3a6b9(0x3e9)]=0x2]=_0xe3a6b9(0x3e9),_0x31987f[_0x31987f[_0xe3a6b9(0x564)]=-0x1]=_0xe3a6b9(0x564),_0x31987f))(Ss||{}),Ri=(_0x483773=>(_0x483773[_0x483773[_0xe3a6b9(0x460)]=0x0]=_0xe3a6b9(0x460),_0x483773[_0x483773['HttpImport']=0x1]=_0xe3a6b9(0x362),_0x483773[_0x483773['HttpExport']=0x2]=_0xe3a6b9(0x2a4),_0x483773[_0x483773[_0xe3a6b9(0x333)]=0x3]=_0xe3a6b9(0x333),_0x483773[_0x483773[_0xe3a6b9(0x37a)]=0x4]=_0xe3a6b9(0x37a),_0x483773[_0x483773[_0xe3a6b9(0x564)]=-0x1]=_0xe3a6b9(0x564),_0x483773))(Ri||{});const ie=_0xe3a6b9(0x453),Cr={};function Er(_0x50a660){const _0x378f68=_0xe3a6b9;var _0x48bd18,_0xa98c60,_0x497d8d,_0x456bf0,_0x3615ef;const _0x31e7f5=_0x50a660[_0x378f68(0x2be)],_0x235c78=JSON[_0x378f68(0x3e6)](_0x31e7f5);switch(_0x235c78[_0x378f68(0x31c)]){case W[_0x378f68(0x3ca)]:case W[_0x378f68(0x588)]:{const _0x53ed2c=_0x235c78[_0x378f68(0x34b)];return{..._0x235c78,'data':_0x53ed2c,'cmd':_0x235c78[_0x378f68(0x31c)]};}case W[_0x378f68(0x431)]:{const _0x4ae5f5=_0x235c78['joinRsp'];return{..._0x235c78,'data':_0x4ae5f5,'cmd':_0x235c78[_0x378f68(0x31c)]};}case W['RECV']:{const _0x1804cb=_0x235c78[_0x378f68(0x4e0)];switch(_0x1804cb[_0x378f68(0x3f3)]){case _0xd65e90[_0x378f68(0x3d0)]:return{..._0x235c78,'data':{..._0x1804cb,'data':(_0x48bd18=_0x1804cb[_0x378f68(0x4c2)])==null?void 0x0:_0x48bd18['cs']},'cmd':_0x235c78['cmd']};case _0xd65e90[_0x378f68(0x235)]:return{..._0x235c78,'data':{..._0x1804cb,'data':(_0xa98c60=_0x1804cb[_0x378f68(0x28d)])==null?void 0x0:_0xa98c60['cs']},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90['NEW_CHANGESETS']:return{..._0x235c78,'data':{..._0x1804cb,'data':(_0x497d8d=_0x1804cb[_0x378f68(0x440)])==null?void 0x0:_0x497d8d['cs']},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x3c1)]:return{..._0x235c78,'data':{..._0x1804cb,'data':(_0x456bf0=_0x1804cb['csRejEvent'])==null?void 0x0:_0x456bf0['cs']},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x4ef)]:return{..._0x235c78,'data':{..._0x1804cb,'data':(_0x3615ef=_0x1804cb['csShouldRetryEvent'])==null?void 0x0:_0x3615ef['cs']},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x5af)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb['updateCursorEvent']},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x4b8)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x4fa)]},'cmd':_0x235c78['cmd']};case _0xd65e90[_0x378f68(0x467)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x508)]},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x210)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x576)]},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x5ab)]:case _0xd65e90[_0x378f68(0x32b)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x505)]},'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90['LIVESHARE_TERMINATE']:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x576)]},'cmd':_0x235c78['cmd']};case _0xd65e90[_0x378f68(0x1ff)]:return{..._0x235c78,'data':_0x1804cb,'cmd':_0x235c78[_0x378f68(0x31c)]};case _0xd65e90[_0x378f68(0x514)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x221)]},'cmd':_0x235c78['cmd']};case _0xd65e90[_0x378f68(0x43c)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x59b)]},'cmd':_0x235c78['cmd']};case _0xd65e90[_0x378f68(0x40c)]:return{..._0x235c78,'data':{..._0x1804cb,'data':_0x1804cb[_0x378f68(0x5c7)]},'cmd':_0x235c78[_0x378f68(0x31c)]};default:return _0x235c78;}}default:return _0x235c78;}}function br(_0x2b3b64){const _0x1aec81=_0xe3a6b9;switch(_0x2b3b64[_0x1aec81(0x31c)]){case W[_0x1aec81(0x3ca)]:case W[_0x1aec81(0x588)]:return JSON[_0x1aec81(0x4f2)]({'cmd':_0x2b3b64[_0x1aec81(0x31c)],'routeKey':_0x2b3b64[_0x1aec81(0x299)]});case W[_0x1aec81(0x24a)]:{let _0x1b36e3;switch(_0x2b3b64[_0x1aec81(0x2be)]['eventID']){case _0xd65e90[_0x1aec81(0x5af)]:{_0x1b36e3={'eventID':_0xd65e90['UPDATE_CURSOR'],'updateCursorEvent':_0x2b3b64[_0x1aec81(0x2be)][_0x1aec81(0x2be)]};break;}case _0xd65e90[_0x1aec81(0x467)]:{_0x1b36e3={'eventID':_0xd65e90[_0x1aec81(0x467)],'leaveEvent':_0x2b3b64['data'][_0x1aec81(0x2be)]};break;}case _0xd65e90[_0x1aec81(0x4b8)]:{_0x1b36e3={'eventID':_0xd65e90[_0x1aec81(0x4b8)],'joinEvent':_0x2b3b64['data'][_0x1aec81(0x2be)]};break;}case _0xd65e90[_0x1aec81(0x210)]:{_0x1b36e3={'eventID':_0xd65e90['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2b3b64[_0x1aec81(0x2be)][_0x1aec81(0x2be)]};break;}case _0xd65e90[_0x1aec81(0x32b)]:{_0x1b36e3={'eventID':_0xd65e90['LIVESHARE_OPERATION'],'liveShareOperation':_0x2b3b64['data']['data']};break;}case _0xd65e90[_0x1aec81(0x3af)]:{_0x1b36e3={'eventID':_0xd65e90[_0x1aec81(0x3af)],'liveShareTerminate':_0x2b3b64[_0x1aec81(0x2be)][_0x1aec81(0x2be)]};break;}case _0xd65e90[_0x1aec81(0x24c)]:{_0x1b36e3={'eventID':_0xd65e90[_0x1aec81(0x24c)],'liveShareRequestHost':_0x2b3b64[_0x1aec81(0x2be)][_0x1aec81(0x2be)]};break;}case _0xd65e90[_0x1aec81(0x5ab)]:{_0x1b36e3={'eventID':_0xd65e90['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1b36e3={'eventID':_0x2b3b64[_0x1aec81(0x2be)][_0x1aec81(0x3f3)]};}return JSON[_0x1aec81(0x4f2)]({'cmd':_0x2b3b64['cmd'],'routeKey':_0x2b3b64[_0x1aec81(0x299)],'collaMsg':_0x1b36e3});}case W[_0x1aec81(0x431)]:return JSON[_0x1aec81(0x4f2)]({'cmd':_0x2b3b64[_0x1aec81(0x31c)],'routeKey':_0x2b3b64[_0x1aec81(0x299)],'joinReq':_0x2b3b64[_0x1aec81(0x2be)]});case W[_0x1aec81(0x571)]:return JSON[_0x1aec81(0x4f2)]({'cmd':_0x2b3b64['cmd'],'routeKey':_0x2b3b64[_0x1aec81(0x299)],'leaveReq':_0x2b3b64[_0x1aec81(0x2be)]});default:throw new Error(_0x1aec81(0x2a7));}}function _0x1b9e(){const _0x4191f3=['image/png','resize','subUnitId','AUTHZ_URL_KEY','getImage','_tryReconnect','RemoveColCommandId','fetchMiss','[CollaborationSessionService]','_createInitialState','_init','JOIN','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','exhaustSavingTask','ivSize','HmacSHA1','memberID','image/gif','_key','_collaborationTimeoutTimer','string','_hover','UPDATE_PERMISSION_OBJ','collabStatus.conflict','close$','TOO_MANY_REQUESTS','newCsEvent','488ptZdKy','RemoveRowCommandId','currentSkeleton$','_localeService','_resendTimer','getMemberID','auth.needGotoLoginAlert','onMouseMove','_telemetryInfo','fetch_missing','_joinRoom','NO_OTHER_CLIENTS_EDITING','__Key__','saveOfflineData','transform','OpenSSL','socket\x20open.','/universer-api/comb','collaboration-client.config','set','MoveRangeCommandId','/rev/','COMPRESS_MUTATION_APPLY','loadOfflineData','target','registerBeforeClose','_context','title','_append','UNIVER_UNKNOWN','_localStorageService','Undefined','HMAC','Decryptor','getCurrent','_getAPIPrefixPath','cfg','_configService','USERS_LEAVE','fetchMissingChangesets','_transformHistoryAndStateStack','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','attrs','error','unit','uni.network.url-service','collaboratorID','_entities','_saveTaskMap','execute','HEARTBEAT_INTERVAL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','6mdgsho','salt','_nRounds','_disabled','_render','_loadSheet','_changesetSessionId','show','Hasher','MUTATION','[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.','originalMeta','_ensureSubject','getFocusedUnit','_socket','_data','1em','offline','updatePermissionPoint','0\x200\x2017\x2016','_acknowledgedAwaitingChangeset','APPLY_DUPLICATED','clipPath','\x0aAfter:\x20','_isPermissionRej','function','send','_snapshotService','/collaborator','ALREADY_EXISTS','baseRev','Univer','_refRangeService','randomBytes','_colorAssignService','fillStyle','UNAUTHENTICATED','random','EvpKDF','_collaborationPaused','_getCurrentRevision','AWAITING_WITH_PENDING','idSuffix','_unitOnClients','StreamCipher','encryptBlock','_telemetryService','Pkcs7','_queuedRemoteChangesets','Utf8','_color','_onRemoteChangeset','_socketMessageSubscription','getWorkbookSelections','url(#off-line-single_clip0_910_343)','[SyncedState]:\x20received\x20rejection.','_userManagerService','_minBufferSize','collaboration.closeRoom','changesets','getOwnPropertyDescriptor','currentColor','trim','symbol','_keySchedule','setWaitCount','resend','USERS_ENTER','_docStateChangeManagerService','transformChangesets','_onUserJoin','_updateCollabCursors','mixIn','defIds','_startCollaboration','withCredentials','onTransformSelections','permissionRejEvent','init','_injector','_getSaveTimeout','/block/','_initCommandExecutedListener','univer-pro.collaboration-client-socket-service','LICENSE_MAX_UNITS_EXCEEDED','removeParam','apply','socketService','_unitID','with','on-line-single_clip0_910_349','redoState','range','rgba(255,\x20255,\x20255,\x200.01)','_unlockTransition','HEARTBEAT_TIMEOUT','_parse','sheetId','\x20to\x20','POST','_updateSubUnitFromURLParams','reconnect','_sender','_drawAnchor','moveTo','_onRemoteRetry','setStateCache','collaMsg','post','_clearRedo','updateOfflineData','_createSocket','_transformUndoRedoStack','BASE64','roomMembers','_updateStatus','close','_online','updateMember','_oKey','getCurrentSelections','roles','CHANGESET_SHOULD_RETRY','_getScale','_doReset','stringify','_mode','_labelPosition','setTimeout','&assign=','SHA1','/fetchmissing?from=','xlink:href','joinEvent','UNIVER_SHEET','iterations','registerRefRange','textRanges','width','add','_getCtorByUniverType','setItem','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_doCryptBlock','liveShareOperation','event$','getCollabCursors$','leaveEvent','_anchor','SYNCED','hide','sessionStatus','_submitChangeset','_assignedColors','...','univerjs-icon\x20univerjs-icon-','status','gold400','snapshotServerUrl','COMMENT_UPDATE','getTypeOfUnitAdded$','/universer-api/authz','collaboration-session-retry','className','get','lineTo','setShapeProps','appendMutation','[PendingState]:\x20received\x20rejection.','processBlock','max','unit-cache-','contains','_anchorDot','doc.mutation.rich-text-editing','svg','reduce','collab-client.tooltip.reconnect','getCollabEntity','onSendChangeset','_tryEnsureSocket','replaceState','text','refreshPermission','popstate','_undoRedoService','[FetchMissState]','COLLAB_SUBMIT_CHANGESET_URL','pipe','reset','drawWith','YUUMI_SUBSCRIPTION_NOT_FOUND','addEventListener','_awaitingChangeset','failed\x20to\x20apply\x20missed\x20changesets!','rev','onRemoteAck','origin','formatter','_transformStack','setShowComponents','_invKeySchedule','_hovered','_handleHover','kdf','startsWith','save','interceptor','size','map','_clearOtherTimers','putCollaborators','_createHelper','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','href','toRgbString','_checkMissing','$super','_state$','univer-offline','CONFLICT','_changesetReqId','signUrlServerUrl','_xformMode','_syncEditingCollabCursor','_transformIMECache','COMPRESS_MUTATION_SEND','_toggleOffline','_localCacheService','round','readAsDataURL','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','off-line-single','executeCommand','ranges','newValue','some','_clearUndo','_onRecvEvent','UNRECOGNIZED','evenodd','_keyPriorReset','_drawRectRange','saveSnapshot','_getMergeRange','_docTransformIMECacheService','Error\x20on\x20receiving\x20event','put','getRandomValues','UNIVER_SLIDE','LICENSE_IMPORT_SIZE_EXCEEDED','_getLoginPath','LEAVE','state$','createSocket','_onCursorDelete','/universer-api/oidc/authpage','liveShareNewHost','27110720RTWSMu','_type','font','getMergeData','_shapes','DEFAULT_FILE_NAME','setActiveRange','resolve','userID','_createInitialStateImpl','bottom','_onMessage','workbook','awaiting_with_pending','displayName','getParam','byteOffset','HELLO','objects','setAlpha','getTime','_lastPointer','onRemoteRej','isActive','_getAPIPrefix','_startTelemetryCollaborationNewChangeset','APPLY_REVISION_CONFILICT','\x0aCurrent:\x20','roomMembers$','members','m1Prime','authzUrl','_collabCursorController','filter','onTransformRemoteChangesetByIMECache','_getUndoStack','updatePermissionObjEvent','onTransformIME','transformByState','HmacMD5','[CollaborationSession]','DeleteRangeMoveLeftCommandId','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','incrementRevOfUnit','toLowerCase','_roomMembers','_roomMembers$','restore','_handleEvent','_sessionStatus$','transformUndoRedo','conflict','LIVESHARE_FETCH_OPERATIONS','objectID','url(#$1','LICENSE_DISTRO_REJECTED','UPDATE_CURSOR','all','measureText','column','_nDataBytes','getOffsetConfig','_waitCount','AWAITING','/unit/','onlineStatusTitle','Unknown\x20user','univer-online-status','PasswordBasedCipher','registerComponent','NOT_COLLAB','_HTTPService','color','clone','fill','closeSession','transformStateCache','createCollaborator','Latin1','SUBMIT_CHANGESET','shouldCloseConn','reverse','_replayCachedMutations','EXCHANGE_SIGN_URL_SERVER_URL_KEY','none','prototype','session.connection-failed','off-line-single_clip0_910_343','_lockTransition','ciphertext','disposeWithMe','setUndoRedoMutationParamsCache','Warning','_onCursorUpdate','/new_changes','sessionStatus$','_saveCache','unknown','TEXT','_transformRemoteChangesetByStateCache','_transformService','_initDependencies','_selfUnitIDs','getValue','crypto','_collaborationSessionService','loadDoc','_backgroundColor','headers','_cursorShapes','permission.title','_remoteChangesetQueue','/universer-api/snapshot','onTransformRemoteChangesetByStateCache','unsubscribe','[CollaborationEntity]','_decreaseWaiting','finalize','LOCAL_CACHE_INTERVAL','_commandService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','subunit','_clearTimeoutTimer','getUnitId','isEditing','selection','_initUnitPermissionChange','key','body','updateCollaborator','MD5','UNDEFINED','Encryptor','RECV','_iKey','_toggleOnline','onSyncEditingCollabCursor','_updateLocalCursor','replace','_initResize','encodeURIComponent','retryConnectingInterval','univer-online','_registerRenderDependencies','MSG_FOR_ERROR','/-/object/-/batch_allowed','registerRenderModule','collabCursorState$','transformStack\x20failed!','onTransformChange$','save\x20fail\x20reason\x20is\x20','lib','_onJoinRoomEvent','_memberService','result','colorChannel1','onRendered','_eventUnsubscribe','onPointerEnter$','collaboration_new_changeset','sigBytes','LIVESHARE_NEW_HOST','_httpService','awaiting','whenReady','_clearLocalCache','_sheetTransformSelectionsService','initWorkbookPermissionChange','json','CHANGESET_REVISION_CONFILICT','?url=','keySize','onRemoteRetry','current','_onConnectionOpen','fetchThroughInterceptors','file','collabStatus.synced','commentUpdateEvent','_handler','FileId','_initStatusComponent','_exhaustRemoteChangesetQueue','_incrementRevisionNumber','_cachedData','concat','_config','OFFLINE','_updateURLWithCurrentState','_onRefRangeChange','_prevBlock','hidden','&to=','_logService','UNKNOWN_CODE','translate(.97)','find','cursorInfo$','CHANGESET_ACK','editing\x20status\x20changed\x20to','reqId','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_cipher','byteLength','div','_ws','patch','_transformStateCache','ERROR_IMAGE','randomUUID','_onFetchMissResult','msCrypto','M0\x200H16V16H0z','charAt','getUnitType','_initStatusListener','join','closePath','top','INGEST','setConfig','LIVESHARE_REQUEST_HOST','unitID','_startDocCollabCursor','_scene','getSheetBySheetId','getAllMembers','status$','_docSkeletonManagerService','_docTransformStateCacheService','CipherParams','_retryCount','algo','getStateCache','BlockCipherMode','ONLINE','_textBubble','debug','_createHandler','toString','assign','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','[CollaborationUndoRedoService]','409800TUFUVS','_hash','fromCharCode','_onRemoteACK','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','snapshot','session.will-retry','_scheduleTimestamp','enableAuthServer','_onUserLeave','_resendWithTimeout','_members','submit\x20changeset\x20error!','UUID','transformMutationsWithChangeset','APPLY_PERMISSION_DENIED','change$','YUUMI_RATE_OVER_LIMIT','exports','CBC','delete','FromArray','_cursorInfo$','decrypt','PERMISSION_DENIED','onPointerLeave$','_commentUpdate$','findNodePositionByCharIndex','getUndoRedoMutationParamsCache','name','actions','editingUnit','readInt32LE','_docTransformSelectionsService','clearTimeout','length','action','has','_scheduleSaving','_collabSessionService','_socketService','getDeserializedSheetBlock','_showConflictNotification','csAckEvent','asObservable','sin','LICENSE_EXPORT_SIZE_EXCEEDED','entries','batchAllowed','collab-text-anchor-','APPLY_NON_SEQUENTIAL_REVISION','Base64','online','capture','_singleActiveUnitService','routeKey','getDocRanges','getConfig','getRelativeToViewportCoord','OTHER_CLIENTS_EDITING','_rescheduleHeartbeat','_fetchMissChangesets','_cursors','?size=','\x20-\x20','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','HttpExport','_scheduleCollaborationTimeoutTimer','substr','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','COLLAB_WEB_SOCKET_URL','_candidateSocket','collabSubmitChangesetUrl','collaboration.single-unit.warning','duration','copyFileMeta','_colorIndex','every','_getSheetObject','hasher','SNAPSHOT_SERVER_URL_KEY','isArray','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getActiveRange','/universer-api/snapshot/','_clearScheduledTask','getCurrentRevOfUnit','decryptBlock','_initEventListeners','setParam','_sendHeartbeatTimer','c1Prime','data','onReady','_map','5703144sUtPoM','enableOfflineEditing','onRemoteChangeset','_updateLocalCache','getVpScrollXYInfoByPosToVp','isPermissionRej','_transformPreviousActiveRange','collabStatus.fetchMiss','_hideTimer','fetching\x20missing\x20changesets\x20from\x20','_range','_clearHeartbeatTimer','focused$','purple300','endColumn','endRow','saveSheetBlock','call','collabStatus.offline','reject','unitId','connection\x20error','stopTime','tag','_change$','collab-text-range-','clear','unshift','replaceDocRanges','params','override','currentTheme$','defineProperty','toggleOffline','buffer','_getDownloadEndpointURL','_initCloseConn','undoState','triggerDblclick','_instanceService','message$','_resendTimeout','beginPath','\x20in\x20_schedule.','_heartbeatTimer','hasOwnProperty','complete','synced','searchParams','session.collaboration-timeout','conflict.title','collaborators','collaboration-client.offline-data-not-saved','_applyRemoteChangeset','_session','setInterval','getCurrentUnitForType','_unitStatus','includes','permission.content','mutations','session','createElement','number','OnLineSingle','_iv','_updateState','Error','sid','COMPLETION_FINISHED','_refreshCollabCursors','_hasher','UNKNOWN_CMD','_socketReady','open$','create','format','_getSendChangesetTimeout','encrypt','_id','[CollaborationSessionService]:\x20socket\x20error','_entityInit$','univer-pro.collaboration-client.single-active-unit-service','_onConflict','_sheetSkeletonManagerService','_onCombEvent','clamp','/object','_undoStacks','dispose$','propertyIsEnumerable','cmd','_cursor','code','_snapshotServerService','split','getRoom','extend','getSkeleton','height','getSheetId','_transformRemoteChangesetByIMECache','icon','sheetID','sendChangesetTimeout','next','LIVESHARE_OPERATION','_pendingMutations','getRangePointData','getCurrentUser','_shouldReportTelemetry','_timeoutTimer','_event$','getMember','UnitEmbedded','_removeCollabCursors','transformSelections','/allowed','object','getInterceptPoints','m2Prime','requestParams','loadSheet','update','mode','_handleHeartbeatEvent','history','defs','CONNECTOR_DATA_TOO_LARGE','_univerInstanceService','_onConnectionFailed','UNIVER_PROJECT','JOINING','_setupSubUnitSync','then','ERROR_EXCEED_SIZE','generateRandomId','pending','infoRsp','SerializableCipher','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_transformSelections','_substituteUndoStack','catch','SNAPSHOT_INVALID_SNAPSHOT','getUnit','_revisionService','use','_executeRemoteChangeset','_stopTelemetryCollaborationNewChangeset','APPLY_REJECT','unitId\x20is\x20not\x20found','from','pluginName','_send','_sendingTimer','HEADER_MENU','disposeUnit','rng','_throwTelemetryCollaborationNewChangeset','_listenToOfflineEvent','HttpImport','_handleLeaveEvent','toggleOnline','createInstance','_getSignURL','floor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_registerDependencies','_substituteRedoStack','assignAColorForMemberID','type','image/jpeg','_removeClearOtherTimer','[OfflineState]:\x20received\x20rejection.','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','children','deleteCollaborator','blockSize','fillText','Base','onPointerMove$','[SyncedState]:\x20received\x20acknowledgement.','splice','_socket$','UnitSnapshot','_listenToOnlineEvent','onMissedChangesetFetched','onTransformState','_setupBeforeClosingHandler','values','ENSURE_SNAPSHOT_EXECUTION','awaitingChangeset','socket\x20close','cursorInfo','onCommandExecuted','startColumn','resourceIDs','110978IFmkBx','requireSession','indexOf','_removeRoom','Hex','NOT_FOUND','_getAnchorBounding','univer-online-status-title','location','YUUMI_URL_COL_OUT_OF_RANGE','backgroundColor','url','[UniverCollaborationClientPlugin]','_doFinalize','unpad','transformMutation','bind','slice','createDecryptor','_transitionLocked','UNIVER_DOC','subscribeEvent','_document','getActiveSheet','revision','/-/object/list','_schedule','startRow','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','urlChange$','pad','onMissingChangesets','_clearCollaborationTimeoutTimer','RECT','ERROR_IMAGE_TYPE','session.room-full','padding','_permissionService','unload','_startSheetCollabCursor','LIVESHARE_TERMINATE','_reverseMap','on-line-single','now','selections','dispose','getTypeOfUnitDisposed$','pushState','BlockCipher','encode','forEach','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','min','_state','AES','syncEditingCollabCursor','deepClone','_renderManagerService','CHANGESET_REJ','visibilityState','listRoles','addObject','SNAPSHOT_HAS_BEEN_REMOVED','/resources','_draw','_ENC_XFORM_MODE','_collaborationController','HEARTBEAT','Cipher','hostname','WordArray','removeMember','_docSkeleton','PERMISSION_REJ','transformIMECache','_redoStacks','[DataLoaderController]','subscribe','_beforeCloseService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getItem','_initRequestHeader','_collabCursorState$','_status$','arc','equals','_docSyncEditingCollabCursorService','12vXGusa','onlyLocal','#fff','__esModule','setCurrentUser','YUUMI_UNABLE_LOAD_URL','_retryConnectingTimer','_initMergeInterceptor','parse','image/jpg','ws://127.0.0.1:8000/universer-api/comb/connect','FAIL','getUnhiddenWorksheets','blue400','black','_process','10851246rKLrDI','objectType','_onRemoteRejected','SNAPSHOT_URL_KEY','activeSheet$','eventID','onCommentUpdate','registerHTTPInterceptor','push','_waitForHeartbeatResponse','_urlService','_onOffline','transformRemoteChangeset','_sessions','localeService','getResourcesRequest','FETCH_MISSING','_disableEditing','createEncryptor','_getSnapshotAPIPrefix','compute','_uiPartsService','append','InsertRangeMoveDownCommandId','FETCH_MISS','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','words','collab-rect-range-','path','_onLocalMutation','SHOULD_CLOSE_CONN','getOwnPropertySymbols','default','3573795nAHYlG','saveChangeset','ceil','_compressMutationService','image/bmp','_name','OffLineSingle','getCellPositionByOffset','IDLE','_themeService','sheets','commentUpdate$','charCodeAt','getRenderById','enc','_sendHeartbeat','conflict.content','visibilitychange','_messageService','_http','167170qFiNtX','getCollabEntity$','row'];_0x1b9e=function(){return _0x4191f3;};return _0x1b9e();}var Tr=Object[_0xe3a6b9(0x2e1)],Rr=Object[_0xe3a6b9(0x4b1)],yr=(_0x4dd7f3,_0x12e7fa,_0x5f04f3,_0x560674)=>{const _0x42bf52=_0xe3a6b9;for(var _0x3ab2de=_0x560674>0x1?void 0x0:_0x560674?Rr(_0x12e7fa,_0x5f04f3):_0x12e7fa,_0x2bb1ee=_0x4dd7f3[_0x42bf52(0x285)]-0x1,_0x5b7f0e;_0x2bb1ee>=0x0;_0x2bb1ee--)(_0x5b7f0e=_0x4dd7f3[_0x2bb1ee])&&(_0x3ab2de=(_0x560674?_0x5b7f0e(_0x12e7fa,_0x5f04f3,_0x3ab2de):_0x5b7f0e(_0x3ab2de))||_0x3ab2de);return _0x560674&&_0x3ab2de&&Tr(_0x12e7fa,_0x5f04f3,_0x3ab2de),_0x3ab2de;},qe=(_0x21446a,_0x5ece3c)=>(_0xb8eb81,_0x30d5b9)=>_0x5ece3c(_0xb8eb81,_0x30d5b9,_0x21446a);const yi=_0x205a3e(_0xe3a6b9(0x4c8));function Or(_0x1e46a0,_0x407cad,_0x4e2e94){const _0xb86212=_0xe3a6b9;return _0x1e46a0+'/'+_0x407cad+_0xb86212(0x5b7)+_0x4e2e94+_0xb86212(0x5d5);}let Qt=class extends _0x4f0ec0{constructor(_0x56595a,_0x190b5c,_0x4f230b,_0x47512,_0x382563){const _0x55bc92=_0xe3a6b9;super(),this[_0x55bc92(0x422)]=_0x56595a,this[_0x55bc92(0x23c)]=_0x190b5c,this['_configService']=_0x4f230b,this[_0x55bc92(0x230)]=_0x47512,this[_0x55bc92(0x31f)]=_0x382563;}[_0xe3a6b9(0x573)](_0x2457f9){const _0x556723=_0xe3a6b9,_0x4bc1a9=this[_0x556723(0x23c)][_0x556723(0x573)](_0x2457f9);if(!_0x4bc1a9)throw new Error(_0x556723(0x2b4));const _0x1117cd=new _0x1161a0(),_0xc308ae=new _0xbd68e4();_0x1117cd['add'](_0x4bc1a9['close$']['subscribe'](_0xfefa62=>_0xc308ae['next'](_0xfefa62))),_0x1117cd['add'](_0x3b9b0c(()=>_0xc308ae[_0x556723(0x2ef)]()));const _0x115c4f=new _0xbd68e4();_0x1117cd[_0x556723(0x500)](_0x4bc1a9['error$'][_0x556723(0x3d4)](_0x497d79=>_0x115c4f['next'](_0x497d79))),_0x1117cd[_0x556723(0x500)](_0x3b9b0c(()=>_0x115c4f[_0x556723(0x2ef)]()));const _0x44d64f=new _0xbd68e4();_0x1117cd[_0x556723(0x500)](_0x4bc1a9[_0x556723(0x2e9)][_0x556723(0x3d4)](_0x29eab7=>{const _0x5af685=_0x556723,_0x41812a=Er(_0x29eab7);_0x44d64f[_0x5af685(0x32a)](_0x41812a);})),_0x1117cd[_0x556723(0x500)](_0x3b9b0c(()=>_0x44d64f[_0x556723(0x2ef)]()));let _0x912c4f;const _0x3d329f=()=>{const _0x409631=_0x556723;_0x115c4f[_0x409631(0x32a)](new Event('connection\x20error')),_0xc308ae[_0x409631(0x32a)](new CloseEvent(_0x409631(0x2d6))),_0x912c4f['close']();};return _0x912c4f={'memberID':'','close$':_0xc308ae[_0x556723(0x28e)](),'error$':_0x115c4f[_0x556723(0x28e)](),'open$':_0x4bc1a9[_0x556723(0x30b)],'message$':_0x44d64f['asObservable'](),'send':_0x3e3a67=>{const _0x37de0e=_0x556723;if(_0x3e3a67[_0x37de0e(0x31c)]===W[_0x37de0e(0x24a)]){if(_0x3e3a67[_0x37de0e(0x2be)]['eventID']===_0xd65e90[_0x37de0e(0x5c6)]){this[_0x37de0e(0x50d)](_0x912c4f,_0x3e3a67[_0x37de0e(0x2be)])['catch'](_0x311843=>{const _0x29f47a=_0x37de0e;this[_0x29f47a(0x230)][_0x29f47a(0x46c)](_0x311843),_0x3d329f();});return;}if(_0x3e3a67[_0x37de0e(0x2be)][_0x37de0e(0x3f3)]===_0xd65e90[_0x37de0e(0x3fe)]){const _0x2cc174=_0x3e3a67[_0x37de0e(0x2be)];this[_0x37de0e(0x29f)](_0x2cc174)[_0x37de0e(0x347)](_0x3d5fb8=>{const _0x4f90fd=_0x37de0e;_0x44d64f['next']({'cmd':W[_0x4f90fd(0x1f4)],'code':Ss['OK'],'routeKey':_0x2cc174[_0x4f90fd(0x2be)]['unitID'],'routeType':'','data':{'eventID':_0xd65e90['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3d5fb8}}});})[_0x37de0e(0x350)](_0x5f1fb3=>{this['_logService']['error'](_0x5f1fb3),_0x3d329f();});return;}}_0x4bc1a9['send'](br(_0x3e3a67));},'close':()=>{const _0x36866a=_0x556723;_0x4bc1a9[_0x36866a(0x4e9)](),_0x1117cd[_0x36866a(0x3b4)]();}},_0x912c4f;}async['_submitChangeset'](_0x338725,_0x5a9522){const _0x1725a9=_0xe3a6b9;var _0x3d8b11,_0x2ac7af;const {unitType:_0x870b9d,unitID:_0x530b31,changeset:_0x1f2103}=_0x5a9522[_0x1725a9(0x2be)],_0xf6716={'unitID':_0x530b31,'memberID':_0x338725[_0x1725a9(0x436)],'type':_0x870b9d,'changeset':_0x2de848(_0x1f2103)},_0x1b6054=this[_0x1725a9(0x466)][_0x1725a9(0x29b)](pr),_0x2e5f92=this['_configService'][_0x1725a9(0x29b)](ie),_0xaca9b4=Or((_0x2ac7af=(_0x3d8b11=_0x2e5f92==null?void 0x0:_0x2e5f92[_0x1725a9(0x2aa)])!=null?_0x3d8b11:_0x1b6054)!=null?_0x2ac7af:gr,_0x870b9d,_0x530b31);try{await this[_0x1725a9(0x422)][_0x1725a9(0x4e1)](_0xaca9b4,{'body':_0xf6716});}catch(_0x58ac2f){throw this[_0x1725a9(0x230)][_0x1725a9(0x46c)](_0x1725a9(0x59f),_0x1725a9(0x26e)),_0x58ac2f;}}async['_fetchMissChangesets'](_0x1ca54b){const _0x4e2c2f=_0xe3a6b9,{unitID:_0x10dedf,from:_0x42bdf7,to:_0x3e2a44,unitType:_0x5b758d}=_0x1ca54b[_0x4e2c2f(0x2be)];return(await this[_0x4e2c2f(0x31f)][_0x4e2c2f(0x468)]({'metadata':void 0x0},{'unitID':_0x10dedf,'type':_0x5b758d,'from':_0x42bdf7,'to':_0x3e2a44}))[_0x4e2c2f(0x4b0)];}};Qt=yr([qe(0x0,_0x432547(_0x181521)),qe(0x1,_0x432547(_0x2df469)),qe(0x2,_0x4b50bc),qe(0x3,_0xfb205),qe(0x4,_0x4a311d)],Qt);const wr=_0xe3a6b9(0x20e);function Dr(_0xe39255){const _0x329d10=_0xe3a6b9;return JSON['stringify'](_0xe39255)[_0x329d10(0x285)];}class Oi{constructor(){const _0x5b4c9d=_0xe3a6b9;g(this,_0x5b4c9d(0x27c),new _0xbd68e4()),g(this,_0x5b4c9d(0x41a),this[_0x5b4c9d(0x27c)][_0x5b4c9d(0x28e)]());}['onCommentUpdate'](_0x531399){const _0xf580fd=_0xe3a6b9;this['_commentUpdate$'][_0xf580fd(0x32a)](_0x531399);}}var Pr=Object[_0xe3a6b9(0x2e1)],Ur=Object['getOwnPropertyDescriptor'],Nr=(_0x1cc9a0,_0x20c516,_0x5312e9,_0x1036a5)=>{const _0xd60f81=_0xe3a6b9;for(var _0x1158e9=_0x1036a5>0x1?void 0x0:_0x1036a5?Ur(_0x20c516,_0x5312e9):_0x20c516,_0x39b876=_0x1cc9a0[_0xd60f81(0x285)]-0x1,_0x5bcf57;_0x39b876>=0x0;_0x39b876--)(_0x5bcf57=_0x1cc9a0[_0x39b876])&&(_0x1158e9=(_0x1036a5?_0x5bcf57(_0x20c516,_0x5312e9,_0x1158e9):_0x5bcf57(_0x1158e9))||_0x1158e9);return _0x1036a5&&_0x1158e9&&Pr(_0x20c516,_0x5312e9,_0x1158e9),_0x1158e9;},$s=(_0x3e9322,_0x360b95)=>(_0x3bfb87,_0x2bb173)=>_0x360b95(_0x3bfb87,_0x2bb173,_0x3e9322);let Ne=class extends _0x4f0ec0{constructor(_0x4b344a,_0x8f0052){const _0x419328=_0xe3a6b9;super(),g(this,_0x419328(0x5a4),new Map()),(this[_0x419328(0x342)]=_0x4b344a,this[_0x419328(0x4ad)]=_0x8f0052,this[_0x419328(0x5d1)](_0x3b9b0c(_0x476f09(this[_0x419328(0x342)][_0x419328(0x3b5)](_0x3c5a8f[_0x419328(0x4fb)])['pipe'](_0x40a0c5(_0x3dd8fb=>_0x3dd8fb['getUnitId']())),this[_0x419328(0x342)][_0x419328(0x3b5)](_0x3c5a8f[_0x419328(0x39b)])[_0x419328(0x531)](_0x40a0c5(_0x23d86c=>_0x23d86c[_0x419328(0x1ea)]())),this['_univerInstanceService'][_0x419328(0x3b5)](_0x3c5a8f[_0x419328(0x56e)])['pipe'](_0x40a0c5(_0xa77b72=>_0xa77b72['getUnitId']())))[_0x419328(0x3d4)](_0x347678=>this[_0x419328(0x38a)](_0x347678)))));}[_0xe3a6b9(0x3e2)](_0x37d81f){const _0x13878c=_0xe3a6b9;this[_0x13878c(0x4ad)][_0x13878c(0x3e2)](_0x37d81f);}[_0xe3a6b9(0x32e)](){const _0x47067e=_0xe3a6b9;return this['_userManagerService'][_0x47067e(0x32e)]();}[_0xe3a6b9(0x4eb)](_0xf0ca34,_0x15f1c4){const _0x494439=_0xe3a6b9;let _0x33add2=this[_0x494439(0x5a4)][_0x494439(0x519)](_0xf0ca34);_0x33add2||(_0x33add2=new Ar(),this[_0x494439(0x5a4)]['set'](_0xf0ca34,_0x33add2)),_0x33add2[_0x494439(0x4eb)](_0x15f1c4);}[_0xe3a6b9(0x3ce)](_0x8860d9,_0x2c5bc8){const _0x53b555=_0xe3a6b9,_0x1dc897=this[_0x53b555(0x5a4)]['get'](_0x8860d9);_0x1dc897&&_0x1dc897['removeMember'](_0x2c5bc8);}[_0xe3a6b9(0x321)](_0x369fe9){const _0x5a1356=_0xe3a6b9;return this[_0x5a1356(0x5a4)]['get'](_0x369fe9);}[_0xe3a6b9(0x332)](_0x54bb91,_0x2dd7e8){const _0x218248=_0xe3a6b9,_0x50d3aa=this[_0x218248(0x5a4)]['get'](_0x54bb91);if(_0x50d3aa)return _0x50d3aa[_0x218248(0x332)](_0x2dd7e8);}['_removeRoom'](_0x29c6c4){const _0x1e82cb=_0xe3a6b9,_0x2cd897=this[_0x1e82cb(0x5a4)]['get'](_0x29c6c4);_0x2cd897&&(_0x2cd897[_0x1e82cb(0x3b4)](),this['_roomMembers'][_0x1e82cb(0x276)](_0x29c6c4));}[_0xe3a6b9(0x3b4)](){const _0x3bed7a=_0xe3a6b9;this[_0x3bed7a(0x5a4)][_0x3bed7a(0x3b9)](_0x58c307=>_0x58c307[_0x3bed7a(0x3b4)]()),this['_roomMembers'][_0x3bed7a(0x2db)]();}};Ne=Nr([$s(0x0,_0x17aa8b),$s(0x1,_0x432547(_0x2df2a1))],Ne);class Ar extends _0x4f0ec0{constructor(){const _0x3c1c0b=_0xe3a6b9;super(...arguments),g(this,_0x3c1c0b(0x26d),new Map());}[_0xe3a6b9(0x3b4)](){const _0x490e50=_0xe3a6b9;this[_0x490e50(0x26d)]['clear']();}[_0xe3a6b9(0x4eb)](_0x2eab40){const _0x4aadfe=_0xe3a6b9;this[_0x4aadfe(0x26d)][_0x4aadfe(0x454)](_0x2eab40[_0x4aadfe(0x436)],_0x2eab40);}['removeMember'](_0x3c66cd){const _0x3aa148=_0xe3a6b9;this['_members'][_0x3aa148(0x276)](_0x3c66cd);}['getMember'](_0x2eba9a){const _0x25ba8c=_0xe3a6b9;return this[_0x25ba8c(0x26d)][_0x25ba8c(0x519)](_0x2eba9a);}[_0xe3a6b9(0x251)](){const _0x5d98be=_0xe3a6b9;return Array[_0x5d98be(0x359)](this[_0x5d98be(0x26d)][_0x5d98be(0x37f)]());}}var Mr=Object['defineProperty'],xr=Object[_0xe3a6b9(0x4b1)],Lr=(_0x406a5e,_0x52eeb2,_0x461a46,_0x170abc)=>{for(var _0x42863e=_0x170abc>0x1?void 0x0:_0x170abc?xr(_0x52eeb2,_0x461a46):_0x52eeb2,_0x26bb50=_0x406a5e['length']-0x1,_0x2a4565;_0x26bb50>=0x0;_0x26bb50--)(_0x2a4565=_0x406a5e[_0x26bb50])&&(_0x42863e=(_0x170abc?_0x2a4565(_0x52eeb2,_0x461a46,_0x42863e):_0x2a4565(_0x42863e))||_0x42863e);return _0x170abc&&_0x42863e&&Mr(_0x52eeb2,_0x461a46,_0x42863e),_0x42863e;},Ee=(_0x56bf23,_0x92c6c6)=>(_0x451219,_0x4065c0)=>_0x92c6c6(_0x451219,_0x4065c0,_0x56bf23),ve=(_0x19ebb0=>(_0x19ebb0[_0x19ebb0[_0xe3a6b9(0x417)]=0x0]=_0xe3a6b9(0x417),_0x19ebb0[_0x19ebb0[_0xe3a6b9(0x345)]=0x1]=_0xe3a6b9(0x345),_0x19ebb0[_0x19ebb0[_0xe3a6b9(0x22a)]=0x2]=_0xe3a6b9(0x22a),_0x19ebb0[_0x19ebb0[_0xe3a6b9(0x25a)]=0x3]=_0xe3a6b9(0x25a),_0x19ebb0))(ve||{});let es=class extends _0x90c284{constructor(_0x47380d,_0x3308e6,_0x57a01d,_0x1d7766,_0x50541e,_0x5373af,_0x1ccbfc,_0x4e24f8,_0x12af95,_0x4a686f){const _0x3099ef=_0xe3a6b9;super(),g(this,_0x3099ef(0x5a8),new _0x23c074(0x0)),g(this,_0x3099ef(0x5d6),this[_0x3099ef(0x5a8)][_0x3099ef(0x28e)]()),g(this,_0x3099ef(0x331),new _0xbd68e4()),g(this,_0x3099ef(0x506),this[_0x3099ef(0x331)][_0x3099ef(0x28e)]()),g(this,_0x3099ef(0x483)),g(this,_0x3099ef(0x4a9)),g(this,_0x3099ef(0x439)),g(this,_0x3099ef(0x32f),!0x1),g(this,_0x3099ef(0x449),null),(this[_0x3099ef(0x4cd)]=_0x47380d,this[_0x3099ef(0x230)]=_0x57a01d,this[_0x3099ef(0x3d5)]=_0x1d7766,this[_0x3099ef(0x421)]=_0x50541e,this[_0x3099ef(0x466)]=_0x5373af,this[_0x3099ef(0x444)]=_0x1ccbfc,this[_0x3099ef(0x208)]=_0x4e24f8,this['_commentService']=_0x12af95,this[_0x3099ef(0x4a3)]=_0x4a686f,this['_shouldReportTelemetry']=!!this[_0x3099ef(0x4a3)],_0x3308e6[_0x3099ef(0x531)](_0x4c7076(this[_0x3099ef(0x31a)]))[_0x3099ef(0x3d4)](_0x18dcaa=>{const _0x598d5c=_0x3099ef;var _0x48f256;typeof _0x18dcaa>'u'||(this[_0x598d5c(0x483)]=_0x18dcaa,_0x18dcaa?(this[_0x598d5c(0x44b)](_0x18dcaa),this[_0x598d5c(0x4a9)]=_0x18dcaa[_0x598d5c(0x2e9)]['subscribe'](_0x57ea9b=>{const _0x2ed61f=_0x598d5c;_0x57ea9b['routeKey']===this[_0x2ed61f(0x4cd)]&&this[_0x2ed61f(0x316)](_0x57ea9b);})):(this[_0x598d5c(0x360)](),this[_0x598d5c(0x5a8)]['next'](0x2),(_0x48f256=this[_0x598d5c(0x4a9)])==null||_0x48f256['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x3099ef(0x5d1)](this[_0x3099ef(0x3d5)]['registerOnClose'](()=>{const _0x28b9b6=_0x3099ef;var _0x16ab75;(_0x16ab75=this[_0x28b9b6(0x483)])==null||_0x16ab75[_0x28b9b6(0x48f)]({'cmd':W[_0x28b9b6(0x571)],'data':{'roomID':this[_0x28b9b6(0x4cd)]}});})));}get[_0xe3a6b9(0x50c)](){const _0x590897=_0xe3a6b9;return this[_0x590897(0x5a8)]['getValue']();}['getMemberID'](){const _0x5c4c4e=_0xe3a6b9;var _0x25a3c7,_0x3d2752;return(_0x3d2752=(_0x25a3c7=this[_0x5c4c4e(0x483)])==null?void 0x0:_0x25a3c7[_0x5c4c4e(0x436)])!=null?_0x3d2752:null;}[_0xe3a6b9(0x3b4)](){const _0x2ebf33=_0xe3a6b9;super['dispose'](),this[_0x2ebf33(0x31a)][_0x2ebf33(0x32a)](),this[_0x2ebf33(0x31a)][_0x2ebf33(0x2ef)]();}[_0xe3a6b9(0x4e9)](){const _0x13ef28=_0xe3a6b9;var _0x2657b3,_0x3fae59;this[_0x13ef28(0x360)](),(_0x2657b3=this[_0x13ef28(0x483)])==null||_0x2657b3[_0x13ef28(0x48f)]({'cmd':W[_0x13ef28(0x571)],'data':{'roomID':this[_0x13ef28(0x4cd)]}}),(_0x3fae59=this[_0x13ef28(0x483)])==null||_0x3fae59[_0x13ef28(0x4e9)](),this[_0x13ef28(0x331)][_0x13ef28(0x2ef)](),this[_0x13ef28(0x5a8)][_0x13ef28(0x2ef)](),this[_0x13ef28(0x3b4)]();}['_onCombEvent'](_0xfada45){const _0x38dfa5=_0xe3a6b9;_0xfada45['cmd']===W[_0x38dfa5(0x431)]?this[_0x38dfa5(0x207)](_0xfada45):_0xfada45[_0x38dfa5(0x31c)]===W[_0x38dfa5(0x1f4)]&&this['_onRecvEvent'](_0xfada45);}[_0xe3a6b9(0x44b)](_0x5575d4){const _0x38d998=_0xe3a6b9;this[_0x38d998(0x5a8)][_0x38d998(0x32a)](0x1),_0x5575d4[_0x38d998(0x48f)]({'cmd':W[_0x38d998(0x431)],'routeKey':this[_0x38d998(0x4cd)],'routeType':'','data':{'rooms':[{'roomID':this[_0x38d998(0x4cd)]}]}});}[_0xe3a6b9(0x207)](_0x187e73){const _0x11a490=_0xe3a6b9;var _0x29ce51;if(_0x187e73[_0x11a490(0x31e)]===Ss['FAIL']){this[_0x11a490(0x421)][_0x11a490(0x47c)]({'type':_0xedbc0c[_0x11a490(0x5d3)],'content':this[_0x11a490(0x444)]['t'](_0x11a490(0x3aa))}),this[_0x11a490(0x5a8)][_0x11a490(0x32a)](0x2);return;}this[_0x11a490(0x5a8)][_0x11a490(0x32a)](0x3);const _0x4c555e=(_0x29ce51=_0x187e73[_0x11a490(0x2be)]['roomInfos'][this['_unitID']])==null?void 0x0:_0x29ce51[_0x11a490(0x594)];_0x4c555e&&_0x4c555e[_0x11a490(0x3b9)](_0x430a0b=>this[_0x11a490(0x208)][_0x11a490(0x4eb)](this[_0x11a490(0x4cd)],_0x430a0b));}[_0xe3a6b9(0x563)](_0x3cedc1){const _0x2d59b2=_0xe3a6b9;try{const _0x108ce8=_0x3cedc1['data'];switch(_0x108ce8[_0x2d59b2(0x3f3)]){case _0xd65e90[_0x2d59b2(0x4b8)]:this[_0x2d59b2(0x4bb)](_0x108ce8),this[_0x2d59b2(0x331)][_0x2d59b2(0x32a)](_0x108ce8);break;case _0xd65e90[_0x2d59b2(0x467)]:this[_0x2d59b2(0x26b)](_0x108ce8),this[_0x2d59b2(0x331)][_0x2d59b2(0x32a)](_0x108ce8);break;case _0xd65e90['CHANGESET_ACK']:case _0xd65e90['CHANGESET_SHOULD_RETRY']:this[_0x2d59b2(0x356)](),this[_0x2d59b2(0x3a7)](),this[_0x2d59b2(0x331)][_0x2d59b2(0x32a)](_0x108ce8);break;case _0xd65e90[_0x2d59b2(0x1ff)]:this['_logService']['error'](_0x2d59b2(0x205)+JSON[_0x2d59b2(0x4f2)](_0x108ce8)),this[_0x2d59b2(0x331)][_0x2d59b2(0x32a)](_0x108ce8);break;case _0xd65e90['COMMENT_UPDATE']:this['_commentService'][_0x2d59b2(0x3f4)](_0x108ce8[_0x2d59b2(0x2be)]),this[_0x2d59b2(0x331)]['next'](_0x108ce8);break;default:this[_0x2d59b2(0x331)]['next'](_0x108ce8);}}catch(_0xaecc30){this['_logService']['error'](_0xaecc30,_0x3cedc1);}}['_onUserJoin'](_0x3d6cec){const _0x3ae89a=_0xe3a6b9;this[_0x3ae89a(0x208)][_0x3ae89a(0x4eb)](this['_unitID'],_0x3d6cec[_0x3ae89a(0x2be)]);}[_0xe3a6b9(0x26b)](_0x5b41cf){const _0x2c1940=_0xe3a6b9;this[_0x2c1940(0x208)][_0x2c1940(0x3ce)](this[_0x2c1940(0x4cd)],_0x5b41cf[_0x2c1940(0x2be)][_0x2c1940(0x436)]);}async[_0xe3a6b9(0x48f)](_0x24bdfb,_0x5e3ba2){const _0x2075de=_0xe3a6b9;if(this[_0x2075de(0x50c)]!==0x3||!this[_0x2075de(0x483)])throw new Error(_0x2075de(0x238));try{_0x24bdfb['eventID']===_0xd65e90[_0x2075de(0x5c6)]&&(this[_0x2075de(0x2a5)](),this['_startTelemetryCollaborationNewChangeset'](_0x24bdfb)),this[_0x2075de(0x483)][_0x2075de(0x48f)]({'cmd':W['INGEST'],'routeKey':_0x5e3ba2,'routeType':'','data':_0x24bdfb});}catch(_0x40b6f4){this[_0x2075de(0x230)][_0x2075de(0x46c)](_0x40b6f4);}}[_0xe3a6b9(0x2a5)](){const _0x52c757=_0xe3a6b9;var _0x2ab21b;this[_0x52c757(0x439)]=window[_0x52c757(0x4f5)](()=>{const _0x310d72=_0x52c757;this[_0x310d72(0x439)]=null,this[_0x310d72(0x421)][_0x310d72(0x47c)]({'type':_0xedbc0c[_0x310d72(0x304)],'content':this[_0x310d72(0x444)]['t'](_0x310d72(0x2f2))});},(_0x2ab21b=this[_0x52c757(0x466)][_0x52c757(0x29b)](Ei))!=null?_0x2ab21b:bi);}[_0xe3a6b9(0x3a7)](){const _0x373f19=_0xe3a6b9;this[_0x373f19(0x439)]&&(clearTimeout(this[_0x373f19(0x439)]),this[_0x373f19(0x439)]=null);}[_0xe3a6b9(0x590)](_0x2414bc){const _0xe59f1=_0xe3a6b9;if(!this[_0xe59f1(0x32f)])return;const {data:_0xee728e}=_0x2414bc,{unitID:_0x311e6e,changeset:_0x8ba84d}=_0xee728e,{mutations:_0x1ce07f,type:_0x2df642}=_0x8ba84d;this[_0xe59f1(0x449)]={'unitId':_0x311e6e,'type':_0x2df642,'startTime':performance[_0xe59f1(0x3b2)](),'stopTime':0x0,'duration':0x0,'size':Dr(_0x1ce07f)};}[_0xe3a6b9(0x356)](){const _0x2c88e8=_0xe3a6b9;if(this[_0x2c88e8(0x32f)]){if(!this[_0x2c88e8(0x449)]){this[_0x2c88e8(0x230)][_0x2c88e8(0x46c)](_0x2c88e8(0x59f),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x2c88e8(0x2d7)]=performance['now'](),this[_0x2c88e8(0x449)][_0x2c88e8(0x2ac)]=this[_0x2c88e8(0x449)][_0x2c88e8(0x2d7)]-this[_0x2c88e8(0x449)]['startTime'],this['_telemetryService'][_0x2c88e8(0x297)](wr,this[_0x2c88e8(0x449)]),this[_0x2c88e8(0x449)]=null;}}[_0xe3a6b9(0x360)](){this['_telemetryInfo']=null;}};es=Lr([Ee(0x2,_0xfb205),Ee(0x3,_0x40985b),Ee(0x4,_0xc25f4d),Ee(0x5,_0x4b50bc),Ee(0x6,_0x432547(_0x363878)),Ee(0x7,_0x432547(Ne)),Ee(0x8,_0x432547(Oi)),Ee(0x9,_0x175412(_0x469fb7))],es);var $r=Object[_0xe3a6b9(0x2e1)],Hr=Object[_0xe3a6b9(0x4b1)],jr=(_0x1259b0,_0x1ec16c,_0x28392a,_0x520541)=>{const _0x20f323=_0xe3a6b9;for(var _0x950138=_0x520541>0x1?void 0x0:_0x520541?Hr(_0x1ec16c,_0x28392a):_0x1ec16c,_0x431961=_0x1259b0[_0x20f323(0x285)]-0x1,_0x95e3c5;_0x431961>=0x0;_0x431961--)(_0x95e3c5=_0x1259b0[_0x431961])&&(_0x950138=(_0x520541?_0x95e3c5(_0x1ec16c,_0x28392a,_0x950138):_0x95e3c5(_0x950138))||_0x950138);return _0x520541&&_0x950138&&$r(_0x1ec16c,_0x28392a,_0x950138),_0x950138;},je=(_0x5cc726,_0x107702)=>(_0x54a959,_0x210076)=>_0x107702(_0x54a959,_0x210076,_0x5cc726);let Ae=class extends _0x4f0ec0{constructor(_0x5083fe,_0x3260ed,_0x3e1490,_0x4dd927,_0x443d22,_0x5ade87){const _0xf06670=_0xe3a6b9;super(),g(this,_0xf06670(0x379),new _0x23c074(void 0x0)),g(this,'socket$',this[_0xf06670(0x379)][_0xf06670(0x28e)]()),g(this,'_candidateSocket',null),g(this,'_sessions',new Map()),g(this,_0xf06670(0x3da),new _0x23c074(ve[_0xf06670(0x417)])),g(this,'status$',this[_0xf06670(0x3da)][_0xf06670(0x28e)]()),g(this,'_socketReady',!0x1),g(this,_0xf06670(0x3e4)),g(this,_0xf06670(0x256),0x0),g(this,_0xf06670(0x2bc)),g(this,'_timeoutTimer'),(this[_0xf06670(0x4c4)]=_0x5083fe,this[_0xf06670(0x444)]=_0x3260ed,this[_0xf06670(0x421)]=_0x3e1490,this[_0xf06670(0x230)]=_0x4dd927,this[_0xf06670(0x466)]=_0x443d22,this[_0xf06670(0x28a)]=_0x5ade87,this['_initEventListeners']());}get['_socket'](){const _0x9cd38c=_0xe3a6b9;return this[_0x9cd38c(0x379)]['getValue']();}[_0xe3a6b9(0x2ba)](){const _0x32a0e7=_0xe3a6b9;this['_listenToOfflineEvent'](),this[_0x32a0e7(0x37b)]();}[_0xe3a6b9(0x3b4)](){const _0x5ac598=_0xe3a6b9;super[_0x5ac598(0x3b4)](),this[_0x5ac598(0x3fb)][_0x5ac598(0x3b9)](_0x2d0b6d=>_0x2d0b6d[_0x5ac598(0x3b4)]()),this[_0x5ac598(0x3fb)]['clear'](),this[_0x5ac598(0x3da)][_0x5ac598(0x2ef)]();}async[_0xe3a6b9(0x388)](_0x15ed5d){const _0x1fabe8=_0xe3a6b9;if(this[_0x1fabe8(0x3fb)][_0x1fabe8(0x287)](_0x15ed5d))return this[_0x1fabe8(0x3fb)][_0x1fabe8(0x519)](_0x15ed5d);this[_0x1fabe8(0x529)]();const _0x492226=this[_0x1fabe8(0x4c4)]['createInstance'](es,_0x15ed5d,this[_0x1fabe8(0x379)][_0x1fabe8(0x28e)]());return this['_sessions'][_0x1fabe8(0x454)](_0x15ed5d,_0x492226),_0x492226;}[_0xe3a6b9(0x5c2)](_0x54e6ff){const _0x4b5b62=_0xe3a6b9;var _0x23f289;const _0x2b5a31=this[_0x4b5b62(0x3fb)]['get'](_0x54e6ff);_0x2b5a31&&(this[_0x4b5b62(0x3fb)]['delete'](_0x54e6ff),_0x2b5a31[_0x4b5b62(0x4e9)]()),this[_0x4b5b62(0x3fb)][_0x4b5b62(0x545)]||(_0x23f289=this[_0x4b5b62(0x483)])==null||_0x23f289['close']();}[_0xe3a6b9(0x4da)](){const _0x3b5f04=_0xe3a6b9;this[_0x3b5f04(0x256)]=0x0,this[_0x3b5f04(0x3e4)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x3b5f04(0x42b)]();}[_0xe3a6b9(0x4e4)](){const _0x50f710=_0xe3a6b9;var _0x43841c,_0xf8f1f2;const _0x6b89c0=this['_configService']['getConfig'](cr),_0x7340=this[_0x50f710(0x466)]['getConfig'](ie),_0x4e5e6b=(_0xf8f1f2=(_0x43841c=_0x7340==null?void 0x0:_0x7340['collabWebSocketUrl'])!=null?_0x43841c:_0x6b89c0)!=null?_0xf8f1f2:hr,_0x4a622c=this['_socketService'][_0x50f710(0x573)](_0x4e5e6b);return this[_0x50f710(0x2a9)]=_0x4a622c,_0x4a622c;}[_0xe3a6b9(0x529)](){const _0xcebbb0=_0xe3a6b9;var _0x21a490,_0x537f2b;try{const _0x459ec3=(_0x537f2b=(_0x21a490=this['_socket'])!=null?_0x21a490:this[_0xcebbb0(0x2a9)])!=null?_0x537f2b:this[_0xcebbb0(0x4e4)]();if(_0x459ec3){const _0x54b6d7=_0x459ec3[_0xcebbb0(0x48f)];_0x459ec3['send']=_0x5191bc=>(this[_0xcebbb0(0x29e)](),_0x54b6d7[_0xcebbb0(0x4cb)](_0x459ec3,[_0x5191bc])),_0x459ec3[_0xcebbb0(0x2e9)][_0xcebbb0(0x3d4)](_0x2d0712=>this[_0xcebbb0(0x582)](_0x459ec3,_0x2d0712)),_0x459ec3['error$']['pipe'](_0x203bcd(0x1))['subscribe'](_0x5c339b=>this[_0xcebbb0(0x230)][_0xcebbb0(0x46c)](_0xcebbb0(0x311),_0x5c339b)),_0x459ec3[_0xcebbb0(0x30b)]['pipe'](_0x203bcd(0x1))[_0xcebbb0(0x3d4)](()=>{this['_onConnectionOpen'](_0x459ec3);}),_0x459ec3[_0xcebbb0(0x43e)][_0xcebbb0(0x531)](_0x203bcd(0x1))[_0xcebbb0(0x3d4)](_0x146e64=>{const _0x202147=_0xcebbb0;this[_0x202147(0x230)][_0x202147(0x25c)](_0x202147(0x42e),_0x202147(0x382),_0x146e64),this[_0x202147(0x343)]();});}}catch(_0x4f3ed4){this[_0xcebbb0(0x230)]['error'](_0x4f3ed4),this['_onConnectionFailed']();}}[_0xe3a6b9(0x21d)](_0x4af49b){const _0x556db1=_0xe3a6b9;this[_0x556db1(0x230)][_0x556db1(0x25c)](_0x556db1(0x42e),_0x556db1(0x451)),_0x4af49b['send']({'cmd':W[_0x556db1(0x588)]}),this['_rescheduleHeartbeat']();}[_0xe3a6b9(0x361)](){const _0x5d1415=_0xe3a6b9;window[_0x5d1415(0x535)]('offline',()=>this[_0x5d1415(0x3f9)]());}['_onOffline'](){const _0x5d60ae=_0xe3a6b9;this[_0x5d60ae(0x30a)]=!0x1,this[_0x5d60ae(0x2a9)]=null,this[_0x5d60ae(0x3da)][_0x5d60ae(0x32a)](ve[_0x5d60ae(0x22a)]),this[_0x5d60ae(0x379)]['next'](null),this[_0x5d60ae(0x1e9)](),this[_0x5d60ae(0x2cc)]();}['_onConnectionFailed'](){const _0x3e0500=_0xe3a6b9;var _0x172f75;this[_0x3e0500(0x3f9)](),this['_retryCount']<((_0x172f75=this[_0x3e0500(0x466)][_0x3e0500(0x29b)](dr))!=null?_0x172f75:fr)?(this[_0x3e0500(0x421)][_0x3e0500(0x47c)]({'key':_0x3e0500(0x517),'type':_0xedbc0c[_0x3e0500(0x5d3)],'content':this['_localeService']['t'](_0x3e0500(0x268))}),this[_0x3e0500(0x42b)]()):this[_0x3e0500(0x421)][_0x3e0500(0x47c)]({'key':_0x3e0500(0x517),'type':_0xedbc0c['Error'],'content':this[_0x3e0500(0x444)]['t'](_0x3e0500(0x5cd))});}[_0xe3a6b9(0x37b)](){const _0x1bbec4=_0xe3a6b9,_0x453680=()=>{const _0x13a893=_0x272d;this[_0x13a893(0x483)]||this['reconnect']();},_0x4ee52c=()=>{const _0x14bea8=_0x272d;this[_0x14bea8(0x483)]||document[_0x14bea8(0x3c2)]===_0x14bea8(0x22e)||this['reconnect']();};window[_0x1bbec4(0x535)]('online',_0x453680),document[_0x1bbec4(0x535)](_0x1bbec4(0x420),_0x4ee52c);}[_0xe3a6b9(0x42b)](){const _0x495575=_0xe3a6b9;var _0x221b45;const _0x24e3bd=this[_0x495575(0x256)],_0x10c0b4=this[_0x495575(0x466)][_0x495575(0x29b)](ie),_0x31cc5e=_0x24e3bd===0x0?0x0:((_0x221b45=_0x10c0b4==null?void 0x0:_0x10c0b4[_0x495575(0x1fc)])!=null?_0x221b45:ur)*0x2**_0x24e3bd;this[_0x495575(0x3e4)]=window[_0x495575(0x4f5)](()=>{const _0x56a672=_0x495575;clearTimeout(this[_0x56a672(0x3e4)]),this[_0x56a672(0x3e4)]=null,this[_0x56a672(0x529)]();},_0x31cc5e),this[_0x495575(0x256)]+=0x1;}['_onMessage'](_0x5ed601,_0x1489ed){const _0x426d4c=_0xe3a6b9,{cmd:_0x4d26d9}=_0x1489ed;_0x4d26d9===W[_0x426d4c(0x588)]&&!this[_0x426d4c(0x30a)]&&(_0x5ed601[_0x426d4c(0x436)]=_0x1489ed[_0x426d4c(0x2be)]['memberID'],this[_0x426d4c(0x379)][_0x426d4c(0x32a)](_0x5ed601),this[_0x426d4c(0x3da)][_0x426d4c(0x32a)](ve[_0x426d4c(0x25a)]),this[_0x426d4c(0x30a)]=!0x0,this[_0x426d4c(0x2a9)]=null),_0x4d26d9===W['HEARTBEAT']&&this[_0x426d4c(0x1e9)](),this[_0x426d4c(0x29e)]();}['_rescheduleHeartbeat'](){const _0x231546=_0xe3a6b9;var _0x228269;this[_0x231546(0x2cc)](),this[_0x231546(0x2bc)]=window[_0x231546(0x4f5)](()=>this[_0x231546(0x41e)](),(_0x228269=this['_configService'][_0x231546(0x29b)](lr))!=null?_0x228269:_r);}['_sendHeartbeat'](){const _0x417fb9=_0xe3a6b9;this['_socket'][_0x417fb9(0x48f)]({'cmd':W[_0x417fb9(0x3ca)]}),this['_waitForHeartbeatResponse']();}[_0xe3a6b9(0x3f7)](){const _0x4dd8f6=_0xe3a6b9;var _0x57a0d9;this[_0x4dd8f6(0x330)]=window[_0x4dd8f6(0x4f5)](()=>this[_0x4dd8f6(0x343)](),(_0x57a0d9=this[_0x4dd8f6(0x466)][_0x4dd8f6(0x29b)](Ei))!=null?_0x57a0d9:bi);}[_0xe3a6b9(0x2cc)](){const _0xa5c4e8=_0xe3a6b9;this[_0xa5c4e8(0x2bc)]!=null&&(clearTimeout(this[_0xa5c4e8(0x2bc)]),this[_0xa5c4e8(0x2bc)]=null);}[_0xe3a6b9(0x1e9)](){const _0x3481ec=_0xe3a6b9;this[_0x3481ec(0x330)]!=null&&(clearTimeout(this[_0x3481ec(0x330)]),this['_timeoutTimer']=null);}};Ae=jr([je(0x0,_0x432547(_0x521cd6)),je(0x1,_0x432547(_0x363878)),je(0x2,_0xc25f4d),je(0x3,_0xfb205),je(0x4,_0x4b50bc),je(0x5,yi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y['push']((i+0x100)['toString'](0x10)['slice'](0x1));function Br(_0x56657f,_0x435054=0x0){const _0x22bb07=_0xe3a6b9;return(Y[_0x56657f[_0x435054+0x0]]+Y[_0x56657f[_0x435054+0x1]]+Y[_0x56657f[_0x435054+0x2]]+Y[_0x56657f[_0x435054+0x3]]+'-'+Y[_0x56657f[_0x435054+0x4]]+Y[_0x56657f[_0x435054+0x5]]+'-'+Y[_0x56657f[_0x435054+0x6]]+Y[_0x56657f[_0x435054+0x7]]+'-'+Y[_0x56657f[_0x435054+0x8]]+Y[_0x56657f[_0x435054+0x9]]+'-'+Y[_0x56657f[_0x435054+0xa]]+Y[_0x56657f[_0x435054+0xb]]+Y[_0x56657f[_0x435054+0xc]]+Y[_0x56657f[_0x435054+0xd]]+Y[_0x56657f[_0x435054+0xe]]+Y[_0x56657f[_0x435054+0xf]])[_0x22bb07(0x5a3)]();}let Ut;const kr=new Uint8Array(0x10);function Wr(){const _0x23da40=_0xe3a6b9;if(!Ut){if(typeof crypto>'u'||!crypto[_0x23da40(0x56d)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Ut=crypto['getRandomValues']['bind'](crypto);}return Ut(kr);}const Fr=typeof crypto<'u'&&crypto[_0xe3a6b9(0x240)]&&crypto[_0xe3a6b9(0x240)][_0xe3a6b9(0x397)](crypto),Hs={'randomUUID':Fr};function Vr(_0x305911,_0x3d848c,_0x285d7a){const _0x374147=_0xe3a6b9;if(Hs[_0x374147(0x240)]&&!_0x3d848c&&!_0x305911)return Hs['randomUUID']();_0x305911=_0x305911||{};const _0x2bb532=_0x305911[_0x374147(0x49a)]||(_0x305911[_0x374147(0x35f)]||Wr)();return _0x2bb532[0x6]=_0x2bb532[0x6]&0xf|0x40,_0x2bb532[0x8]=_0x2bb532[0x8]&0x3f|0x80,Br(_0x2bb532);}var Gr=Object[_0xe3a6b9(0x2e1)],Yr=Object[_0xe3a6b9(0x4b1)],Kr=(_0x235b03,_0x46278c,_0x210a4b,_0x37d5c0)=>{const _0x2e489d=_0xe3a6b9;for(var _0x1cc23c=_0x37d5c0>0x1?void 0x0:_0x37d5c0?Yr(_0x46278c,_0x210a4b):_0x46278c,_0x54ddd4=_0x235b03[_0x2e489d(0x285)]-0x1,_0x1847a7;_0x54ddd4>=0x0;_0x54ddd4--)(_0x1847a7=_0x235b03[_0x54ddd4])&&(_0x1cc23c=(_0x37d5c0?_0x1847a7(_0x46278c,_0x210a4b,_0x1cc23c):_0x1847a7(_0x1cc23c))||_0x1cc23c);return _0x37d5c0&&_0x1cc23c&&Gr(_0x46278c,_0x210a4b,_0x1cc23c),_0x1cc23c;},Nt=(_0x587552,_0x3e2886)=>(_0x2356ac,_0x107d30)=>_0x3e2886(_0x2356ac,_0x107d30,_0x587552);let ft=class{constructor(_0x2dd978,_0x361d66,_0x42a2b3){const _0x34cc38=_0xe3a6b9;this[_0x34cc38(0x4c4)]=_0x2dd978,this[_0x34cc38(0x5db)]=_0x361d66,this['_renderManagerService']=_0x42a2b3;}[_0xe3a6b9(0x3d1)](_0x162f02){const _0x30f64a=_0xe3a6b9;this[_0x30f64a(0x4e5)](_0x162f02),this[_0x30f64a(0x2c7)](_0x162f02);}[_0xe3a6b9(0x3fa)](_0x1509bf){const _0x1165f0=_0xe3a6b9,{unitID:_0xff5d7d}=_0x1509bf,_0x24ad6a=this[_0x1165f0(0x3c0)]['getRenderById'](_0xff5d7d)[_0x1165f0(0x4ce)](_0x4b63a5),{redoCache:_0x43e689}=_0x24ad6a[_0x1165f0(0x27e)]();if(_0x43e689[_0x1165f0(0x285)]===0x0)return _0x1509bf;let _0x17bf55=_0x1d5b8a[_0x1165f0(0x3bf)](_0x1509bf[_0x1165f0(0x2fd)][0x0]);for(let _0x2680f8=0x0;_0x2680f8<_0x43e689[_0x1165f0(0x285)];_0x2680f8++){const _0x5a1038={'id':_0x1165f0(0x523),'params':{..._0x43e689[_0x2680f8]}},_0x320a18=this[_0x1165f0(0x5db)][_0x1165f0(0x396)](_0x17bf55,_0x5a1038,!0x1);if(_0x54625d(_0x320a18))throw _0x320a18[_0x1165f0(0x46c)];_0x17bf55=_0x320a18[_0x1165f0(0x595)];}return{..._0x1d5b8a['deepClone'](_0x1509bf),'mutations':[_0x17bf55]};}[_0xe3a6b9(0x4e5)](_0x3c4cca){const _0x260c02=_0xe3a6b9,{unitID:_0x220c85}=_0x3c4cca,_0xaaf09a=this[_0x260c02(0x3c0)]['getRenderById'](_0x220c85)[_0x260c02(0x4ce)](_0x4b63a5),{undoCache:_0x5d263f,redoCache:_0x1f5168}=_0xaaf09a[_0x260c02(0x27e)]();if(_0x5d263f[_0x260c02(0x285)]===0x0||_0x1f5168['length']===0x0)return;const _0x3a63bd=[],_0x26be7c=[];let _0x2fc92a=_0x1d5b8a['deepClone'](_0x3c4cca[_0x260c02(0x2fd)][0x0]),_0x2ca609=_0x1d5b8a[_0x260c02(0x3bf)](_0x3c4cca['mutations'][0x0]);for(let _0x312880=_0x5d263f['length']-0x1;_0x312880>=0x0;_0x312880--){const _0x4a12cd={'id':_0x260c02(0x523),'params':{..._0x5d263f[_0x312880]}},_0x543d44={'id':_0x260c02(0x523),'params':{..._0x1f5168[_0x312880]}},_0x543bc1=this[_0x260c02(0x5db)][_0x260c02(0x396)](_0x2fc92a,_0x4a12cd,!0x1),_0x4e222e=this[_0x260c02(0x5db)][_0x260c02(0x396)](_0x2ca609,_0x543d44,!0x1);if(_0x54625d(_0x543bc1))throw _0x543bc1['error'];if(_0x54625d(_0x4e222e))throw _0x4e222e[_0x260c02(0x46c)];_0x3a63bd[_0x260c02(0x2dc)](_0x543bc1[_0x260c02(0x339)]['params']),_0x26be7c['unshift'](_0x4e222e[_0x260c02(0x339)][_0x260c02(0x2de)]),_0x2fc92a=_0x543bc1['m1Prime'],_0x2ca609=_0x4e222e[_0x260c02(0x595)];}_0xaaf09a[_0x260c02(0x5d2)]({'undoCache':_0x3a63bd,'redoCache':_0x26be7c});}[_0xe3a6b9(0x2c7)](_0x207b0c){const _0x39b1f6=_0xe3a6b9,{unitID:_0x3d9e2f}=_0x207b0c,_0x13d99c=this['_renderManagerService'][_0x39b1f6(0x41c)](_0x3d9e2f)[_0x39b1f6(0x4ce)](_0x4b63a5),_0x4b8cbe=_0x13d99c[_0x39b1f6(0x2b5)]();if(_0x4b8cbe==null)return;const _0x34d878=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x207b0c[_0x39b1f6(0x24d)],'actions':null,'textRanges':[_0x4b8cbe]}}],_0x55cad9=this[_0x39b1f6(0x5db)][_0x39b1f6(0x270)](_0x207b0c,_0x34d878);if(!_0x369aae(_0x55cad9))throw _0x55cad9['error'];const _0x9dda8b=_0x55cad9[_0x39b1f6(0x339)][0x0][_0x39b1f6(0x2de)]['textRanges'];Array[_0x39b1f6(0x2b3)](_0x9dda8b)&&_0x9dda8b['length']&&_0x13d99c[_0x39b1f6(0x57d)](_0x9dda8b[0x0]);}};ft=Kr([Nt(0x0,_0x432547(_0x521cd6)),Nt(0x1,_0x24b4da),Nt(0x2,_0x49136b)],ft);var zr=Object['defineProperty'],qr=Object[_0xe3a6b9(0x4b1)],Xr=(_0x2e040f,_0x433cb4,_0x181a77,_0x1286d0)=>{const _0x3907f7=_0xe3a6b9;for(var _0x341071=_0x1286d0>0x1?void 0x0:_0x1286d0?qr(_0x433cb4,_0x181a77):_0x433cb4,_0x418b42=_0x2e040f[_0x3907f7(0x285)]-0x1,_0x5497bb;_0x418b42>=0x0;_0x418b42--)(_0x5497bb=_0x2e040f[_0x418b42])&&(_0x341071=(_0x1286d0?_0x5497bb(_0x433cb4,_0x181a77,_0x341071):_0x5497bb(_0x341071))||_0x341071);return _0x1286d0&&_0x341071&&zr(_0x433cb4,_0x181a77,_0x341071),_0x341071;},Xe=(_0x561c25,_0x2bf364)=>(_0xc1e7ee,_0x7568d2)=>_0x2bf364(_0xc1e7ee,_0x7568d2,_0x561c25);let q=class extends _0x4f0ec0{constructor(_0x2181a1,_0xff4b02,_0x37a26d,_0x26dd11,_0x1dd7b3){const _0x465139=_0xe3a6b9;super(),g(this,_0x465139(0x227),new Map()),g(this,_0x465139(0x471),new Map()),g(this,_0x465139(0x478),!0x1),(this['_configService']=_0x2181a1,this[_0x465139(0x45f)]=_0xff4b02,this[_0x465139(0x3d5)]=_0x37a26d,this['_localeService']=_0x26dd11,this[_0x465139(0x353)]=_0x1dd7b3,this[_0x465139(0x37e)]());}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x11dddf=_0xe3a6b9;this[_0x11dddf(0x478)]=!0x1;}[_0xe3a6b9(0x3b4)](){const _0x1c317f=_0xe3a6b9;this[_0x1c317f(0x433)]()[_0x1c317f(0x347)](()=>super[_0x1c317f(0x3b4)]());}async[_0xe3a6b9(0x458)](_0x329d4d){const _0x14a534=_0xe3a6b9;return this[_0x14a534(0x478)]?null:this[_0x14a534(0x45f)][_0x14a534(0x3d7)](js(_0x329d4d));}async[_0xe3a6b9(0x44e)](_0x3bea18,_0x81c495){const _0x4172e5=_0xe3a6b9;return!!this[_0x4172e5(0x45f)][_0x4172e5(0x502)](_0x3bea18,_0x81c495);}[_0xe3a6b9(0x4e3)](_0x20db4c,_0x502822,_0x124aee,_0x2451d8){const _0x567f17=_0xe3a6b9,_0xf66abb=this[_0x567f17(0x353)][_0x567f17(0x2b8)](_0x20db4c);this[_0x567f17(0x227)][_0x567f17(0x454)](_0x20db4c,{'unitID':_0x20db4c,'type':_0x502822,'awaitingChangeset':_0x124aee,'mutations':_0x2451d8,'rev':_0xf66abb}),this[_0x567f17(0x471)]['has'](_0x20db4c)||this[_0x567f17(0x288)](_0x20db4c);}[_0xe3a6b9(0x288)](_0x3f91a2){const _0x2b8185=_0xe3a6b9,_0x41c399=this[_0x2b8185(0x4c5)]();_0x41c399===0x0?this[_0x2b8185(0x5d7)](_0x3f91a2):this[_0x2b8185(0x471)][_0x2b8185(0x454)](_0x3f91a2,setTimeout(()=>this[_0x2b8185(0x5d7)](_0x3f91a2),_0x41c399));}[_0xe3a6b9(0x4c5)](){const _0x38216b=_0xe3a6b9;var _0x4f0d26;return(_0x4f0d26=this[_0x38216b(0x466)][_0x38216b(0x29b)](vr))!=null?_0x4f0d26:mr;}[_0xe3a6b9(0x5d7)](_0x21167c){const _0x1955b2=_0xe3a6b9,_0x3faa9a=this[_0x1955b2(0x471)][_0x1955b2(0x519)](_0x21167c);return _0x3faa9a!==void 0x0&&window[_0x1955b2(0x284)](_0x3faa9a),this[_0x1955b2(0x45f)][_0x1955b2(0x502)](js(_0x21167c),this['_cachedData'][_0x1955b2(0x519)](_0x21167c))[_0x1955b2(0x347)](()=>this[_0x1955b2(0x471)][_0x1955b2(0x276)](_0x21167c));}async[_0xe3a6b9(0x433)](){const _0x159445=_0xe3a6b9,_0xc127dc=[];this['_saveTaskMap']['forEach']((_0x9df250,_0xbd9e72)=>{const _0x50cb42=_0x272d;window['clearTimeout'](_0x9df250),_0xc127dc[_0x50cb42(0x3f6)](this[_0x50cb42(0x5d7)](_0xbd9e72)['then'](()=>{const _0x1475a3=_0x50cb42;this[_0x1475a3(0x471)]['delete'](_0xbd9e72);}));}),await Promise[_0x159445(0x5b0)](_0xc127dc);}['_setupBeforeClosingHandler'](){const _0x4b96fc=_0xe3a6b9;this[_0x4b96fc(0x5d1)](this[_0x4b96fc(0x3d5)][_0x4b96fc(0x45a)](()=>{const _0x484e05=_0x4b96fc;if(this[_0x484e05(0x471)]['size'])return this['_localeService']['t'](_0x484e05(0x2f5));}));}};function _0x272d(_0x35625a,_0x55b512){const _0x1b9ef2=_0x1b9e();return _0x272d=function(_0x272daa,_0x3506a7){_0x272daa=_0x272daa-0x1d7;let _0x22c268=_0x1b9ef2[_0x272daa];return _0x22c268;},_0x272d(_0x35625a,_0x55b512);}q=Xr([Xe(0x0,_0x4b50bc),Xe(0x1,_0x3eb8c6),Xe(0x2,_0x40985b),Xe(0x3,_0x432547(_0x363878)),Xe(0x4,_0x432547(_0x1493a3))],q);function js(_0x5bcb91){const _0x551a74=_0xe3a6b9;return _0x551a74(0x520)+_0x5bcb91;}var Jr=Object[_0xe3a6b9(0x2e1)],Zr=Object[_0xe3a6b9(0x4b1)],Qr=(_0x517581,_0x291d78,_0x4dc607,_0x3c9a4e)=>{const _0x3b5ad9=_0xe3a6b9;for(var _0x1943d3=_0x3c9a4e>0x1?void 0x0:_0x3c9a4e?Zr(_0x291d78,_0x4dc607):_0x291d78,_0x1c23fe=_0x517581[_0x3b5ad9(0x285)]-0x1,_0x5b3a9d;_0x1c23fe>=0x0;_0x1c23fe--)(_0x5b3a9d=_0x517581[_0x1c23fe])&&(_0x1943d3=(_0x3c9a4e?_0x5b3a9d(_0x291d78,_0x4dc607,_0x1943d3):_0x5b3a9d(_0x1943d3))||_0x1943d3);return _0x3c9a4e&&_0x1943d3&&Jr(_0x291d78,_0x4dc607,_0x1943d3),_0x1943d3;},At=(_0x242050,_0xb5d5c4)=>(_0x41ecad,_0x507569)=>_0xb5d5c4(_0x41ecad,_0x507569,_0x242050);function eo(_0x7b3fd5){const _0x130d29=_0xe3a6b9,{unitID:_0x2dc12d,mutations:_0x5534b3}=_0x7b3fd5;return{'unitId':_0x2dc12d,'subUnitId':_0x5534b3[0x0]['params'][_0x130d29(0x428)]};}let vt=class{constructor(_0x50629f,_0x16329f,_0x5acc75){const _0x42a40c=_0xe3a6b9;this['_injector']=_0x50629f,this[_0x42a40c(0x5db)]=_0x16329f,this[_0x42a40c(0x2e8)]=_0x5acc75;}[_0xe3a6b9(0x335)](_0x36c784){const _0x424917=_0xe3a6b9;var _0x4437f1,_0x34e0e8,_0x3d674d,_0x1e68e2;const _0x3b0010=this[_0x424917(0x4c4)][_0x424917(0x519)](_0x3e7423),{unitId:_0x44e595,subUnitId:_0x49408b}=eo(_0x36c784),_0x1251ef=_0x3b0010[_0x424917(0x4aa)](_0x44e595)[_0x424917(0x4ed)](),_0x55339a=(_0x34e0e8=(_0x4437f1=this[_0x424917(0x2e8)][_0x424917(0x352)](_0x44e595))==null?void 0x0:_0x4437f1[_0x424917(0x39e)]())==null?void 0x0:_0x34e0e8[_0x424917(0x325)]();if(_0x1251ef[_0x424917(0x285)]===0x0||!_0x44e595||!_0x49408b)return;const _0x40c282=[{'id':_0x5aa13c['id'],'params':{'unitId':_0x44e595,'subUnitId':_0x55339a,'selections':_0x1d5b8a[_0x424917(0x3bf)](_0x1251ef)}}],_0x43c055=this[_0x424917(0x5db)][_0x424917(0x270)](_0x36c784,_0x40c282);if(!_0x369aae(_0x43c055))throw _0x43c055[_0x424917(0x46c)];const _0x308aac=(_0x1e68e2=(_0x3d674d=_0x43c055['m2Prime'][0x0])==null?void 0x0:_0x3d674d[_0x424917(0x2de)])==null?void 0x0:_0x1e68e2[_0x424917(0x3b3)];if(Array[_0x424917(0x2b3)](_0x308aac)&&_0x308aac[_0x424917(0x285)]){if(_0x308aac['length']===_0x40c282[0x0][_0x424917(0x2de)]['selections'][_0x424917(0x285)]&&_0x308aac[_0x424917(0x2af)]((_0x537099,_0x5a3fb8)=>_0x76407c[_0x424917(0x3dc)](_0x537099[_0x424917(0x4d1)],_0x40c282[0x0][_0x424917(0x2de)]['selections'][_0x5a3fb8]['range'])))return;this['_injector'][_0x424917(0x519)](_0xc67fcf)[_0x424917(0x55e)](_0x5aa13c['id'],{'unitId':_0x44e595,'subUnitId':_0x55339a,'selections':_0x308aac});}}};vt=Qr([At(0x0,_0x432547(_0x521cd6)),At(0x1,_0x24b4da),At(0x2,_0x17aa8b)],vt);const Rt=_0x205a3e(_0xe3a6b9(0x313));var wi=(_0x4d7f0d=>(_0x4d7f0d[_0x4d7f0d[_0xe3a6b9(0x44c)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4d7f0d[_0x4d7f0d['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x4d7f0d))(wi||{});const Bs=0x7530,ks='ACTIVE_UNIT_EVENT_CHANNEL';class to extends _0x4f0ec0{constructor(){const _0xc7f59e=_0xe3a6b9;super(),g(this,'_id',_0x1d5b8a[_0xc7f59e(0x349)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0xc7f59e(0x4a0),new Map()),g(this,_0xc7f59e(0x2ed),null),g(this,_0xc7f59e(0x547),new Map()),g(this,_0xc7f59e(0x2fa),new Map()),this['_init']();}['dispose'](){const _0x339096=_0xe3a6b9;super[_0x339096(0x3b4)](),this['_clearOtherTimers'][_0x339096(0x3b9)]((_0x55bf52,_0x1c42a6)=>this[_0x339096(0x36e)](_0x1c42a6)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x339096(0x2ed)]);}['getUnitStatus$'](_0x436930){const _0x5a6473=_0xe3a6b9;return this[_0x5a6473(0x481)](_0x436930)['pipe'](_0x40087c());}[_0xe3a6b9(0x281)](_0x44115c){const _0x4701ab=_0xe3a6b9;this[_0x4701ab(0x5dd)][_0x4701ab(0x545)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4701ab(0x5dd)][_0x4701ab(0x500)](_0x44115c),this[_0x4701ab(0x35b)]({'type':0x0,'memberID':this[_0x4701ab(0x310)],'unitIDs':[_0x44115c],'isForwarded':!0x1});}[_0xe3a6b9(0x35e)](_0x56acdd){const _0xd26b05=_0xe3a6b9;this[_0xd26b05(0x5dd)][_0xd26b05(0x276)](_0x56acdd),this[_0xd26b05(0x5dd)][_0xd26b05(0x545)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x42d337=_0xe3a6b9;this[_0x42d337(0x5d1)](_0x3b9b0c(_0x32e3b9(window,'storage')[_0x42d337(0x3d4)](_0x378ad7=>{const _0x579262=_0x42d337;if(_0x378ad7[_0x579262(0x1ee)]!==ks||!_0x378ad7[_0x579262(0x560)])return;const _0x3df14c=JSON[_0x579262(0x3e6)](_0x378ad7[_0x579262(0x560)]);this[_0x579262(0x5a7)](_0x3df14c);}))),window[_0x42d337(0x535)](_0x42d337(0x3ad),()=>this[_0x42d337(0x35b)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x42d337(0x359)](this['_selfUnitIDs'])}));}[_0xe3a6b9(0x5a7)](_0x58f1da){const _0x11918b=_0xe3a6b9;switch(_0x58f1da[_0x11918b(0x36c)]){case 0x0:this['_handleJoinEvent'](_0x58f1da);break;case 0x1:this[_0x11918b(0x363)](_0x58f1da);break;case 0x2:this[_0x11918b(0x33e)](_0x58f1da);break;}}['_handleJoinEvent'](_0x4f4305){const _0x20e2e5=_0xe3a6b9,{unitIDs:_0x6e6620,memberID:_0x4e005d,isForwarded:_0x311ad6}=_0x4f4305;_0x6e6620[_0x20e2e5(0x3b9)](_0x3fc6bc=>{const _0x595085=_0x20e2e5;if(!_0x311ad6&&this[_0x595085(0x4a0)][_0x595085(0x287)](_0x3fc6bc)&&this['_ensureSubject'](_0x3fc6bc)[_0x595085(0x32a)](0x1),!this['_unitOnClients'][_0x595085(0x287)](_0x3fc6bc)||!this[_0x595085(0x4a0)][_0x595085(0x519)](_0x3fc6bc)[_0x595085(0x287)](_0x4e005d)){const _0x246f72=this[_0x595085(0x4a0)][_0x595085(0x519)](_0x3fc6bc)||new Set();_0x246f72['add'](_0x4e005d),this[_0x595085(0x4a0)][_0x595085(0x454)](_0x3fc6bc,_0x246f72),this['_scheduleClearOtherTimer'](_0x4e005d);}}),_0x311ad6||this[_0x20e2e5(0x35b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x20e2e5(0x5dd)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x12538f){const _0x55e424=_0xe3a6b9;this[_0x55e424(0x36e)](_0x12538f);const _0x1839dc=window['setTimeout'](()=>{const _0xc3be90=_0x55e424;this['_unitOnClients'][_0xc3be90(0x3b9)](_0x195adf=>{const _0x3c017f=_0xc3be90;_0x195adf[_0x3c017f(0x276)](_0x12538f);});},Bs*0x2);this[_0x55e424(0x547)][_0x55e424(0x454)](_0x12538f,_0x1839dc);}[_0xe3a6b9(0x36e)](_0x34976e){const _0x5b9548=_0xe3a6b9;if(this[_0x5b9548(0x547)][_0x5b9548(0x287)](_0x34976e)){const _0x34faa3=this[_0x5b9548(0x547)]['get'](_0x34976e);_0x34faa3&&window[_0x5b9548(0x284)](_0x34faa3),this['_clearOtherTimers']['set'](_0x34976e,null);}}['_handleLeaveEvent'](_0x253e64){const _0x470686=_0xe3a6b9,{memberID:_0x39f342,unitIDs:_0x456ce9}=_0x253e64;_0x456ce9['forEach'](_0x14a166=>{const _0x1ca1e5=_0x272d;var _0x6c6c9d;const _0x1c1167=this['_unitOnClients'][_0x1ca1e5(0x519)](_0x14a166);_0x1c1167&&(_0x1c1167[_0x1ca1e5(0x276)](_0x39f342),(_0x6c6c9d=this[_0x1ca1e5(0x481)](_0x14a166))==null||_0x6c6c9d[_0x1ca1e5(0x32a)](_0x1c1167['size']===0x0?0x0:0x1));}),this[_0x470686(0x36e)](_0x39f342);}[_0xe3a6b9(0x33e)](_0x2f74ee){this['_scheduleClearOtherTimer'](_0x2f74ee['memberID']);}[_0xe3a6b9(0x35b)](_0x24ce1e){const _0x30fad3=_0xe3a6b9;localStorage[_0x30fad3(0x502)](ks,JSON[_0x30fad3(0x4f2)](_0x24ce1e));}['_scheduleHeartbeat'](){const _0x51bb9c=_0xe3a6b9;this[_0x51bb9c(0x2ed)]=window[_0x51bb9c(0x2f8)](()=>{const _0x4cc6d6=_0x51bb9c;this[_0x4cc6d6(0x35b)]({'type':0x2,'memberID':this['_id']});},Bs);}[_0xe3a6b9(0x481)](_0x9887da){const _0x2ac08f=_0xe3a6b9;return this[_0x2ac08f(0x2fa)][_0x2ac08f(0x287)](_0x9887da)||this[_0x2ac08f(0x2fa)]['set'](_0x9887da,new _0x23c074(0x0)),this[_0x2ac08f(0x2fa)]['get'](_0x9887da);}}var so=Object['defineProperty'],io=Object[_0xe3a6b9(0x4b1)],no=(_0x293382,_0x2f0e7a,_0x2d80c6,_0x332d2b)=>{const _0x50bc98=_0xe3a6b9;for(var _0x4d665b=_0x332d2b>0x1?void 0x0:_0x332d2b?io(_0x2f0e7a,_0x2d80c6):_0x2f0e7a,_0x3de7d4=_0x293382[_0x50bc98(0x285)]-0x1,_0x205835;_0x3de7d4>=0x0;_0x3de7d4--)(_0x205835=_0x293382[_0x3de7d4])&&(_0x4d665b=(_0x332d2b?_0x205835(_0x2f0e7a,_0x2d80c6,_0x4d665b):_0x205835(_0x4d665b))||_0x4d665b);return _0x332d2b&&_0x4d665b&&so(_0x2f0e7a,_0x2d80c6,_0x4d665b),_0x4d665b;},Mt=(_0x5ca47b,_0x3e3109)=>(_0x2191f3,_0x4ca2a0)=>_0x3e3109(_0x2191f3,_0x4ca2a0,_0x5ca47b);let mt=class{constructor(_0x136d60,_0x380baa,_0xdddc40){const _0x509cc4=_0xe3a6b9;this[_0x509cc4(0x4c4)]=_0x136d60,this[_0x509cc4(0x5db)]=_0x380baa,this[_0x509cc4(0x4b9)]=_0xdddc40;}[_0xe3a6b9(0x5c3)](_0x4fe6f2){const _0x353188=_0xe3a6b9;this[_0x353188(0x469)](_0x4fe6f2);}[_0xe3a6b9(0x3fa)](_0x789e0a){const _0x37edc9=_0xe3a6b9,{unitID:_0x502756}=_0x789e0a,{collaboration:_0x3d42a1}=this[_0x37edc9(0x4b9)][_0x37edc9(0x258)](_0x502756);if(_0x3d42a1[_0x37edc9(0x285)]===0x0)return _0x789e0a;let _0x5ecd68=_0x1d5b8a['deepClone'](_0x789e0a[_0x37edc9(0x2fd)][0x0]);for(let _0xa21c1d=0x0;_0xa21c1d<_0x3d42a1[_0x37edc9(0x285)];_0xa21c1d++){const _0x1df4e7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3d42a1[_0xa21c1d]['unitId'],..._0x3d42a1[_0xa21c1d][_0x37edc9(0x4d0)]}},_0x30aaf6=this['_transformService'][_0x37edc9(0x396)](_0x5ecd68,_0x1df4e7,!0x1);if(_0x54625d(_0x30aaf6))throw _0x30aaf6[_0x37edc9(0x46c)];_0x5ecd68=_0x30aaf6[_0x37edc9(0x595)];}return{..._0x1d5b8a[_0x37edc9(0x3bf)](_0x789e0a),'mutations':[_0x5ecd68]};}[_0xe3a6b9(0x469)](_0x30bc46){const _0x4e6af7=_0xe3a6b9,{unitID:_0x2093dc}=_0x30bc46,{history:_0x8e91ab,collaboration:_0x3ad5d0}=this[_0x4e6af7(0x4b9)][_0x4e6af7(0x258)](_0x2093dc);if(_0x8e91ab[_0x4e6af7(0x285)]===0x0&&_0x3ad5d0[_0x4e6af7(0x285)]===0x0)return;const _0x41c0b9=[],_0x48d8fa=[];let _0x3f17dc=_0x1d5b8a[_0x4e6af7(0x3bf)](_0x30bc46[_0x4e6af7(0x2fd)][0x0]),_0x11b350=_0x1d5b8a['deepClone'](_0x30bc46[_0x4e6af7(0x2fd)][0x0]);for(let _0x2753e3=_0x8e91ab[_0x4e6af7(0x285)]-0x1;_0x2753e3>=0x0;_0x2753e3--){const _0x4ec6c9={'id':_0x4e6af7(0x523),'params':{'unitId':_0x8e91ab[_0x2753e3]['unitId'],..._0x8e91ab[_0x2753e3]['undoState']}},_0x1126ab={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8e91ab[_0x2753e3][_0x4e6af7(0x2d5)],..._0x8e91ab[_0x2753e3][_0x4e6af7(0x4d0)]}},_0x5c294c=this[_0x4e6af7(0x5db)]['transformMutation'](_0x3f17dc,_0x4ec6c9,!0x1),_0x359a0b=this[_0x4e6af7(0x5db)][_0x4e6af7(0x396)](_0x11b350,_0x1126ab,!0x1);if(_0x54625d(_0x5c294c))throw _0x5c294c[_0x4e6af7(0x46c)];if(_0x54625d(_0x359a0b))throw _0x359a0b['error'];_0x41c0b9[_0x4e6af7(0x2dc)]({..._0x8e91ab[_0x2753e3],'undoState':_0x5c294c[_0x4e6af7(0x339)][_0x4e6af7(0x2de)],'redoState':_0x359a0b[_0x4e6af7(0x339)][_0x4e6af7(0x2de)]}),_0x3f17dc=_0x5c294c['m1Prime'],_0x11b350=_0x359a0b[_0x4e6af7(0x595)];}_0x3f17dc=_0x1d5b8a[_0x4e6af7(0x3bf)](_0x30bc46[_0x4e6af7(0x2fd)][0x0]),_0x11b350=_0x1d5b8a[_0x4e6af7(0x3bf)](_0x30bc46[_0x4e6af7(0x2fd)][0x0]);for(let _0x20b8a9=_0x3ad5d0['length']-0x1;_0x20b8a9>=0x0;_0x20b8a9--){const _0x391dd1={'id':_0x4e6af7(0x523),'params':{'unitId':_0x3ad5d0[_0x20b8a9][_0x4e6af7(0x2d5)],..._0x3ad5d0[_0x20b8a9][_0x4e6af7(0x2e6)]}},_0x50e752={'id':_0x4e6af7(0x523),'params':{'unitId':_0x3ad5d0[_0x20b8a9][_0x4e6af7(0x2d5)],..._0x3ad5d0[_0x20b8a9][_0x4e6af7(0x4d0)]}},_0x3d646c=this['_transformService'][_0x4e6af7(0x396)](_0x3f17dc,_0x391dd1,!0x1),_0x67ca2b=this[_0x4e6af7(0x5db)][_0x4e6af7(0x396)](_0x11b350,_0x50e752,!0x1);if(_0x54625d(_0x3d646c))throw _0x3d646c[_0x4e6af7(0x46c)];if(_0x54625d(_0x67ca2b))throw _0x67ca2b['error'];_0x48d8fa[_0x4e6af7(0x2dc)]({..._0x3ad5d0[_0x20b8a9],'undoState':_0x3d646c['m2Prime'][_0x4e6af7(0x2de)],'redoState':_0x67ca2b[_0x4e6af7(0x339)][_0x4e6af7(0x2de)]}),_0x3f17dc=_0x3d646c['m1Prime'],_0x11b350=_0x67ca2b[_0x4e6af7(0x595)];}this['_docStateChangeManagerService'][_0x4e6af7(0x4df)](_0x2093dc,{'history':_0x41c0b9,'collaboration':_0x48d8fa});}};mt=no([Mt(0x0,_0x432547(_0x521cd6)),Mt(0x1,_0x24b4da),Mt(0x2,_0x432547(_0x148acc))],mt);function Di(_0x3f8ff5){const _0x4e859d=_0xe3a6b9;let _0x41b343='';for(const _0x3cc6c4 of _0x3f8ff5){const {startOffset:_0x552291,endOffset:_0x12dbf2,isActive:_0x5f0ccb,rangeType:_0x246b3d,segmentId:_0x20703d,segmentPage:_0x111ca3}=_0x3cc6c4;_0x41b343[_0x4e859d(0x285)]&&(_0x41b343+=','),_0x41b343+=_0x552291+':'+_0x12dbf2+':'+(_0x5f0ccb?'1':'0')+':'+_0x246b3d+':'+_0x20703d+':'+_0x111ca3;}return _0x41b343;}function ro(_0x469087){const _0x10e280=_0xe3a6b9,_0x48442f=_0x469087[_0x10e280(0x320)](','),_0x1b1ae8=[];for(const _0x32739e of _0x48442f){const [_0x1bd26a,_0x1798d2,_0x18100f,_0x3df0cb,_0x5812b2,_0x16ca0e]=_0x32739e[_0x10e280(0x320)](':');_0x1b1ae8['push']({'startOffset':Number(_0x1bd26a),'endOffset':Number(_0x1798d2),'collapsed':_0x1bd26a===_0x1798d2,'isActive':_0x18100f==='1','rangeType':_0x3df0cb===_0x38924c[_0x10e280(0x5d9)]?_0x38924c[_0x10e280(0x5d9)]:_0x38924c[_0x10e280(0x3a8)],'segmentId':typeof _0x5812b2==_0x10e280(0x43a)?String(_0x5812b2):'','segmentPage':Number(_0x16ca0e!=null?_0x16ca0e:-0x1)});}return _0x1b1ae8[_0x10e280(0x561)](_0x205863=>_0x205863[_0x10e280(0x58e)])||(_0x1b1ae8[0x0][_0x10e280(0x58e)]=!0x0),_0x1b1ae8;}class Is extends _0x90c284{constructor(){const _0x882eb=_0xe3a6b9;super(...arguments),g(this,_0x882eb(0x3d9),new _0x23c074(null)),g(this,_0x882eb(0x202),this['_collabCursorState$'][_0x882eb(0x28e)]());}[_0xe3a6b9(0x3be)](_0x21612d){const _0x3d5228=_0xe3a6b9,{unitID:_0x17054e,memberID:_0x483250,textRanges:_0x3ad662}=_0x21612d,_0x1a87b0=Di(_0x3ad662);if(_0x1a87b0==='')return;const _0x810ef1={'unitID':_0x17054e,'memberID':_0x483250,'selection':_0x1a87b0};this[_0x3d5228(0x3d9)][_0x3d5228(0x32a)](_0x810ef1);}}var oo=Object[_0xe3a6b9(0x2e1)],ao=Object[_0xe3a6b9(0x4b1)],co=(_0x64bcfd,_0x438b50,_0x359ab6,_0x299359)=>{const _0x14ed75=_0xe3a6b9;for(var _0x4094d8=_0x299359>0x1?void 0x0:_0x299359?ao(_0x438b50,_0x359ab6):_0x438b50,_0x58ae49=_0x64bcfd[_0x14ed75(0x285)]-0x1,_0x4a2d69;_0x58ae49>=0x0;_0x58ae49--)(_0x4a2d69=_0x64bcfd[_0x58ae49])&&(_0x4094d8=(_0x299359?_0x4a2d69(_0x438b50,_0x359ab6,_0x4094d8):_0x4a2d69(_0x4094d8))||_0x4094d8);return _0x299359&&_0x4094d8&&oo(_0x438b50,_0x359ab6,_0x4094d8),_0x4094d8;},Ws=(_0x4c1b81,_0x39aa56)=>(_0x182493,_0x3da8ab)=>_0x39aa56(_0x182493,_0x3da8ab,_0x4c1b81);let pt=class{constructor(_0x17f8a9,_0x2a453a){const _0x55f135=_0xe3a6b9;this[_0x55f135(0x4c4)]=_0x17f8a9,this[_0x55f135(0x5db)]=_0x2a453a;}[_0xe3a6b9(0x335)](_0x258ac4){const _0x4302ba=_0xe3a6b9;var _0x132ae5;const _0x2b063a=this[_0x4302ba(0x4c4)][_0x4302ba(0x519)](_0x5b3cb8),_0x25decd=(_0x132ae5=_0x2b063a[_0x4302ba(0x29a)]())!=null?_0x132ae5:[];if(_0x25decd['length']===0x0)return;const _0x1923b2=_0x258ac4[_0x4302ba(0x24d)],_0x2ece29=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1923b2,'actions':null,'textRanges':_0x25decd}}],_0x23a2a8=this[_0x4302ba(0x5db)][_0x4302ba(0x270)](_0x258ac4,_0x2ece29);if(!_0x369aae(_0x23a2a8))throw _0x23a2a8['error'];const _0x14e1d=_0x23a2a8[_0x4302ba(0x339)][0x0][_0x4302ba(0x2de)][_0x4302ba(0x4fe)];Array[_0x4302ba(0x2b3)](_0x14e1d)&&_0x14e1d[_0x4302ba(0x285)]&&_0x2b063a[_0x4302ba(0x2dd)](_0x14e1d,{'unitId':_0x1923b2,'subUnitId':_0x1923b2},!0x1);}};pt=co([Ws(0x0,_0x432547(_0x521cd6)),Ws(0x1,_0x24b4da)],pt);const ho=new Set([_0x235d24['id']]);function Fs(_0xc3ebd6,_0xb231fd,_0xc5fc98,_0x35836b,_0x5ec566){const _0x12e8f0=_0xe3a6b9;var _0x1139fc,_0x58ac43,_0x47a0eb,_0x3ab191;const _0x2f218d=[];for(const _0x1de74e of _0xc3ebd6)if(ho['has'](_0x1de74e['id'])){if(_0x2f218d[_0x12e8f0(0x285)]>0x0)break;_0x2f218d[_0x12e8f0(0x3f6)](_0x1de74e);break;}else _0x2f218d[_0x12e8f0(0x3f6)](_0x1de74e);const _0x1b632e=(_0x58ac43=(_0x1139fc=_0x5ec566[_0x12e8f0(0x32e)]())==null?void 0x0:_0x1139fc[_0x12e8f0(0x57f)])!=null?_0x58ac43:'unknown',_0xae249b=(_0x3ab191=(_0x47a0eb=_0x5ec566[_0x12e8f0(0x32e)]())==null?void 0x0:_0x47a0eb[_0x12e8f0(0x436)])!=null?_0x3ab191:'unknown';return{'changeset':{'unitID':_0xb231fd,'type':_0x2dee8d(_0xc5fc98[_0x12e8f0(0x245)](_0xb231fd)),'baseRev':_0x35836b[_0x12e8f0(0x2b8)](_0xb231fd),'revision':0x0,'userID':_0x1b632e,'memberID':_0xae249b,'mutations':_0x2f218d},'pendingMutations':_0xc3ebd6[_0x12e8f0(0x398)](_0x2f218d[_0x12e8f0(0x285)])};}function lo(_0x1e84c8,_0x1a09bd,_0x1354fb,_0x12384f,_0xf91d52){const _0x3b03a9=_0xe3a6b9;var _0x1f2f16,_0xd73e74,_0x5486e4,_0x2d2799;const _0x4944e8=[_0x1e84c8[_0x3b03a9(0x525)]((_0x4f94ad,_0x56d9d1)=>{const _0x53891e=_0x3b03a9;var _0x106b9e;const {id:_0x5a60ae}=_0x4f94ad,{id:_0x181113,type:_0x107326}=_0x56d9d1,_0x1a0cf2=(_0x106b9e=_0x4f94ad[_0x53891e(0x2de)])!=null?_0x106b9e:{'actions':null},_0x18713b=_0x56d9d1[_0x53891e(0x2de)];if(_0x5a60ae&&_0x5a60ae!==_0x181113)throw new Error(_0x53891e(0x432)+_0x5a60ae+_0x53891e(0x2a2)+_0x181113+'.');return{..._0x4f94ad,'id':_0x181113,'type':_0x107326,'params':{'unitId':_0x18713b[_0x53891e(0x2d5)],'textRanges':_0x18713b[_0x53891e(0x4fe)],'actions':_0x60f96['compose'](_0x1a0cf2[_0x53891e(0x280)],_0x18713b[_0x53891e(0x280)])}};},{})],_0x3409b9=(_0xd73e74=(_0x1f2f16=_0xf91d52[_0x3b03a9(0x32e)]())==null?void 0x0:_0x1f2f16['userID'])!=null?_0xd73e74:'unknown',_0x53fae6=(_0x2d2799=(_0x5486e4=_0xf91d52[_0x3b03a9(0x32e)]())==null?void 0x0:_0x5486e4['memberID'])!=null?_0x2d2799:_0x3b03a9(0x5d8);return{'changeset':{'unitID':_0x1a09bd,'type':_0x2dee8d(_0x1354fb['getUnitType'](_0x1a09bd)),'baseRev':_0x12384f['getCurrentRevOfUnit'](_0x1a09bd),'revision':0x0,'userID':_0x3409b9,'memberID':_0x53fae6,'mutations':_0x4944e8},'pendingMutations':[]};}function Pi(_0x4d3d39,_0x903a5d){const _0x6bc11f=_0xe3a6b9,_0x397484=new _0x530df0(0x1);return setTimeout(()=>_0x397484['next'](_0x903a5d),_0x4d3d39),_0x397484['asObservable']()[_0x6bc11f(0x531)](_0x335dc9(0x1));}const _o={'id':_0x3c7c11['id'],'type':_0x414065['MUTATION'],'params':{}};var uo=Object[_0xe3a6b9(0x2e1)],fo=Object[_0xe3a6b9(0x4b1)],Le=(_0x40ddd5,_0x21768b,_0x4a736b,_0x2b49ee)=>{const _0x5df9e3=_0xe3a6b9;for(var _0x31804d=_0x2b49ee>0x1?void 0x0:_0x2b49ee?fo(_0x21768b,_0x4a736b):_0x21768b,_0x49b3a2=_0x40ddd5[_0x5df9e3(0x285)]-0x1,_0x4a4b18;_0x49b3a2>=0x0;_0x49b3a2--)(_0x4a4b18=_0x40ddd5[_0x49b3a2])&&(_0x31804d=(_0x2b49ee?_0x4a4b18(_0x21768b,_0x4a736b,_0x31804d):_0x4a4b18(_0x31804d))||_0x31804d);return _0x2b49ee&&_0x31804d&&uo(_0x21768b,_0x4a736b,_0x31804d),_0x31804d;},A=(_0x102e1c,_0x10e2e3)=>(_0x40ecb6,_0xe1441d)=>_0x10e2e3(_0x40ecb6,_0xe1441d,_0x102e1c),J=(_0x426a92=>(_0x426a92[_0xe3a6b9(0x5bd)]='not_collab',_0x426a92[_0xe3a6b9(0x50a)]=_0xe3a6b9(0x2f0),_0x426a92['PENDING']=_0xe3a6b9(0x34a),_0x426a92[_0xe3a6b9(0x5b6)]=_0xe3a6b9(0x212),_0x426a92[_0xe3a6b9(0x49e)]=_0xe3a6b9(0x584),_0x426a92[_0xe3a6b9(0x406)]=_0xe3a6b9(0x44a),_0x426a92['CONFLICT']='conflict',_0x426a92[_0xe3a6b9(0x22a)]=_0xe3a6b9(0x486),_0x426a92))(J||{});const Ui=0xea60;class $e{constructor(_0x527025,_0x28ec87,_0x26fc16,_0x5d9543,_0x184d7b,_0x52a26f,_0x29ec53,_0x1a627f,_0x135a7f){const _0x4b3620=_0xe3a6b9;g(this,_0x4b3620(0x536),null),g(this,_0x4b3620(0x32c),[]),(this[_0x4b3620(0x24d)]=_0x527025,this['type']=_0x28ec87,this[_0x4b3620(0x222)]=_0x184d7b,this[_0x4b3620(0x1e6)]=_0x52a26f,this[_0x4b3620(0x52e)]=_0x29ec53,this[_0x4b3620(0x353)]=_0x1a627f,this['_localCacheService']=_0x135a7f,this[_0x4b3620(0x536)]=_0x26fc16,this[_0x4b3620(0x32c)]=_0x5d9543);}[_0xe3a6b9(0x54d)](_0x2c896){const _0x36f5b3=_0xe3a6b9,_0x33896f=this[_0x36f5b3(0x353)][_0x36f5b3(0x2b8)](this[_0x36f5b3(0x24d)]);return _0x2c896[_0x36f5b3(0x39f)]>_0x33896f+0x1?(this['_handler'][_0x36f5b3(0x3a6)]({'from':_0x33896f,'to':_0x2c896[_0x36f5b3(0x39f)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x584039){const _0x9c72f7=_0xe3a6b9;this[_0x9c72f7(0x52e)][_0x9c72f7(0x5a9)](this['unitID'],_0x584039);}[_0xe3a6b9(0x34e)](_0x3c4ee8){const _0x412ea1=_0xe3a6b9;var _0x5490fc,_0x497096;(_0x497096=(_0x5490fc=this['_handler'])[_0x412ea1(0x4c1)])==null||_0x497096[_0x412ea1(0x2d2)](_0x5490fc,_0x3c4ee8);}[_0xe3a6b9(0x556)](_0x1f3657){const _0x3eb413=_0xe3a6b9;var _0x4f04ba,_0x3480c6;return(_0x3480c6=(_0x4f04ba=this[_0x3eb413(0x222)])[_0x3eb413(0x59c)])==null?void 0x0:_0x3480c6[_0x3eb413(0x2d2)](_0x4f04ba,_0x1f3657);}[_0xe3a6b9(0x23e)](_0x70f8b3){const _0x3bfab1=_0xe3a6b9;var _0x36876c,_0x330cf9;return(_0x330cf9=(_0x36876c=this[_0x3bfab1(0x222)])[_0x3bfab1(0x37d)])==null?void 0x0:_0x330cf9['call'](_0x36876c,_0x70f8b3);}[_0xe3a6b9(0x326)](_0x41bf25){const _0x2e7a18=_0xe3a6b9;var _0x5878ef,_0x2a5252,_0x1e2cb2;return(_0x1e2cb2=(_0x2a5252=(_0x5878ef=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2a5252[_0x2e7a18(0x2d2)](_0x5878ef,_0x41bf25))!=null?_0x1e2cb2:_0x41bf25;}[_0xe3a6b9(0x5da)](_0x30960e){const _0x38d04c=_0xe3a6b9;var _0xdc85b5,_0x16a22e,_0xe61b78;return(_0xe61b78=(_0x16a22e=(_0xdc85b5=this[_0x38d04c(0x222)])[_0x38d04c(0x1e0)])==null?void 0x0:_0x16a22e[_0x38d04c(0x2d2)](_0xdc85b5,_0x30960e))!=null?_0xe61b78:_0x30960e;}[_0xe3a6b9(0x555)](_0x503a05){const _0x27ea59=_0xe3a6b9;var _0x30b30a,_0x4edc31;if(this[_0x27ea59(0x36c)]===ce[_0x27ea59(0x39b)]){const {unitID:_0x3454ee,mutations:_0xb91def,memberID:_0x118422}=_0x503a05,_0x18440b=_0xb91def[0x0][_0x27ea59(0x2de)]['textRanges'];Array[_0x27ea59(0x2b3)](_0x18440b)&&_0x18440b[_0x27ea59(0x285)]>0x0&&((_0x4edc31=(_0x30b30a=this[_0x27ea59(0x222)])['onSyncEditingCollabCursor'])==null||_0x4edc31[_0x27ea59(0x2d2)](_0x30b30a,{'unitID':_0x3454ee,'memberID':_0x118422,'textRanges':_0x18440b}));}}[_0xe3a6b9(0x2c4)](){const _0x206241=_0xe3a6b9;this['_localCacheService'][_0x206241(0x4e3)](this[_0x206241(0x24d)],this[_0x206241(0x36c)],this[_0x206241(0x536)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x1ae79c=_0xe3a6b9;return this[_0x1ae79c(0x353)][_0x1ae79c(0x2b8)](this['unitID']);}['_incrementRevisionNumber'](){const _0x1676c7=_0xe3a6b9;this[_0x1676c7(0x353)][_0x1676c7(0x5a2)](this[_0x1676c7(0x24d)]);}[_0xe3a6b9(0x355)](_0xa90354){const _0x32fcb6=_0xe3a6b9;var _0x14cd69;let _0x4d62c0=this['_transformRemoteChangesetByIMECache'](_0xa90354);_0x4d62c0=this[_0x32fcb6(0x5da)](_0x4d62c0);const _0x1638ba=_0x29e58b(_0x4d62c0[_0x32fcb6(0x2fd)],this[_0x32fcb6(0x1e6)],{'fromCollab':!0x0});if(!_0x1638ba[_0x32fcb6(0x209)])throw _0x1638ba['error']instanceof Error?_0x1638ba[_0x32fcb6(0x46c)]:new Error((_0x14cd69=_0x1638ba['error'])!=null?_0x14cd69:'[CollaborationState]:\x20apply\x20error!');this[_0x32fcb6(0x556)](_0x4d62c0),this[_0x32fcb6(0x23e)](_0x4d62c0),this['_transformUndoredo'](_0xa90354),this[_0x32fcb6(0x34e)](_0x4d62c0),this['_syncEditingCollabCursor'](_0x4d62c0),this[_0x32fcb6(0x226)]();}}let Fe=class extends $e{constructor(_0x3a7735,_0x586020,_0x1eaf65,_0x1e6096,_0x49795e,_0x2babd5,_0x3252e2,_0x238873,_0x276246,_0x4de796){const _0x167477=_0xe3a6b9;super(_0x3a7735,_0x586020,null,[],_0x1eaf65,_0x238873,_0x3252e2,_0x1e6096,_0x49795e),g(this,_0x167477(0x511),_0x167477(0x2f0)),(this[_0x167477(0x4c4)]=_0x2babd5,this['_logService']=_0x276246,this[_0x167477(0x5db)]=_0x4de796);}[_0xe3a6b9(0x51c)](_0x83332b){const _0x5c2140=_0xe3a6b9,_0x2fcfe5=this[_0x5c2140(0x4c4)][_0x5c2140(0x365)](pe,this[_0x5c2140(0x24d)],this[_0x5c2140(0x36c)],[_0x83332b],this[_0x5c2140(0x222)]);return _0x2fcfe5[_0x5c2140(0x3a1)](),_0x2fcfe5[_0x5c2140(0x2c4)](),_0x2fcfe5;}[_0xe3a6b9(0x2c3)](_0x1d0a43){const _0x32137a=_0xe3a6b9;if(this[_0x32137a(0x54d)](_0x1d0a43))return this[_0x32137a(0x4c4)][_0x32137a(0x365)](he,this[_0x32137a(0x24d)],this[_0x32137a(0x36c)],null,[],null,[_0x1d0a43],this[_0x32137a(0x222)]);try{const _0x4c8412=this[_0x32137a(0x5db)][_0x32137a(0x270)](_0x1d0a43,[_o]);if(_0x369aae(_0x4c8412)){const {c1Prime:_0x5e085d}=_0x4c8412;return this[_0x32137a(0x355)](_0x5e085d),this;}throw _0x4c8412['error'];}catch(_0x21337e){return this[_0x32137a(0x230)]['error'](_0x21337e),this['_onConflict'](!0x1);}}[_0xe3a6b9(0x314)](_0x7bb4d4){const _0x290b5e=_0xe3a6b9;return this[_0x290b5e(0x4c4)][_0x290b5e(0x365)](Re,this['unitID'],this[_0x290b5e(0x36c)],null,[],this[_0x290b5e(0x222)],_0x7bb4d4);}[_0xe3a6b9(0x539)](){const _0x2bd2e4=_0xe3a6b9;throw new Error(_0x2bd2e4(0x377));}['onRemoteRej'](){const _0x5db8e7=_0xe3a6b9;throw new Error(_0x5db8e7(0x4ac));}[_0xe3a6b9(0x21b)](){return this;}[_0xe3a6b9(0x2e2)](){const _0x5c8f32=_0xe3a6b9;return this[_0x5c8f32(0x4c4)][_0x5c8f32(0x365)](ye,this[_0x5c8f32(0x24d)],this[_0x5c8f32(0x36c)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0xe3a6b9(0x4b7)](){const _0x53dbb6=_0xe3a6b9;throw new Error(_0x53dbb6(0x3ba));}['fetchMiss'](){const _0x459e87=_0xe3a6b9,_0x30c954=this[_0x459e87(0x353)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler']['onMissingChangesets']({'from':_0x30c954,'to':0x0}),this['_injector'][_0x459e87(0x365)](he,this['unitID'],this[_0x459e87(0x36c)],null,[],null,[],this[_0x459e87(0x222)]);}};Fe=Le([A(0x3,_0x432547(_0x1493a3)),A(0x4,_0x432547(q)),A(0x5,_0x432547(_0x521cd6)),A(0x6,_0x5786da),A(0x7,_0xc67fcf),A(0x8,_0xfb205),A(0x9,_0x24b4da)],Fe);let pe=class extends $e{constructor(_0x30bd07,_0x30c04,_0x1f25b5,_0x22139d,_0x141ac0,_0x20118a,_0x3f13e6,_0x409747,_0x35af99,_0x8e1339,_0x2afc10,_0x23aa92,_0x44f04a,_0x30ed58){const _0x28c7e3=_0xe3a6b9;super(_0x30bd07,_0x30c04,null,_0x1f25b5,_0x22139d,_0x8e1339,_0x30ed58,_0x20118a,_0x3f13e6),g(this,_0x28c7e3(0x511),'pending'),g(this,_0x28c7e3(0x269),null),g(this,_0x28c7e3(0x35c),null),(this[_0x28c7e3(0x4c4)]=_0x141ac0,this[_0x28c7e3(0x208)]=_0x409747,this[_0x28c7e3(0x230)]=_0x35af99,this[_0x28c7e3(0x466)]=_0x2afc10,this[_0x28c7e3(0x5db)]=_0x23aa92,this[_0x28c7e3(0x342)]=_0x44f04a);}[_0xe3a6b9(0x51c)](_0x4a6189){const _0x4920f4=_0xe3a6b9;return this[_0x4920f4(0x32c)][_0x4920f4(0x3f6)](_0x4a6189),this[_0x4920f4(0x2c4)](),this;}[_0xe3a6b9(0x2c3)](_0x3236e3){const _0x469ad5=_0xe3a6b9;if(this[_0x469ad5(0x54d)](_0x3236e3))return this[_0x469ad5(0x2b7)](),this['_injector'][_0x469ad5(0x365)](he,this[_0x469ad5(0x24d)],this[_0x469ad5(0x36c)],null,this[_0x469ad5(0x32c)],null,[_0x3236e3],this[_0x469ad5(0x222)]);try{const _0x156cb4=this[_0x469ad5(0x5db)][_0x469ad5(0x270)](_0x3236e3,this['_pendingMutations']);if(_0x369aae(_0x156cb4)){const {c1Prime:_0x133f76,m2Prime:_0x5f3454}=_0x156cb4;this[_0x469ad5(0x355)](_0x133f76);const _0x50679e=this[_0x469ad5(0x4c4)]['createInstance'](pe,this['unitID'],this[_0x469ad5(0x36c)],_0x5f3454,this[_0x469ad5(0x222)]);return this[_0x469ad5(0x2b7)](),_0x50679e[_0x469ad5(0x3a1)](this[_0x469ad5(0x269)]?Math[_0x469ad5(0x51f)](0x0,new Date()[_0x469ad5(0x58b)]()-this[_0x469ad5(0x269)]):this[_0x469ad5(0x30e)]()),_0x50679e;}throw _0x156cb4[_0x469ad5(0x46c)];}catch(_0x2636ef){return this['_logService'][_0x469ad5(0x46c)](_0x2636ef),this[_0x469ad5(0x314)](!0x1);}}[_0xe3a6b9(0x539)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xe3a6b9(0x58d)](){const _0x22f1ee=_0xe3a6b9;throw new Error(_0x22f1ee(0x51d));}['onRemoteRetry'](){return this;}[_0xe3a6b9(0x2e2)](){const _0xd08b35=_0xe3a6b9;return this['_clearScheduledTask'](),this['_injector'][_0xd08b35(0x365)](ye,this['unitID'],this[_0xd08b35(0x36c)],null,this[_0xd08b35(0x32c)],this['_handler']);}[_0xe3a6b9(0x364)](){return this;}[_0xe3a6b9(0x3a1)](_0x38896b){const _0x1a9706=_0xe3a6b9,_0x3aa7d9=_0x38896b!=null?_0x38896b:this[_0x1a9706(0x30e)]();this['_scheduleTimestamp']=new Date()[_0x1a9706(0x58b)](),this[_0x1a9706(0x35c)]=window['setTimeout'](()=>{const _0x37fed7=_0x1a9706;this[_0x37fed7(0x2b7)]();let _0x4966e8=null;switch(this[_0x37fed7(0x36c)]){case ce[_0x37fed7(0x4fb)]:{_0x4966e8=Fs(this[_0x37fed7(0x32c)],this['unitID'],this[_0x37fed7(0x342)],this[_0x37fed7(0x353)],this[_0x37fed7(0x208)]);break;}case ce['UNIVER_DOC']:{this['_pendingMutations'][_0x37fed7(0x2af)](_0x1b7715=>_0x1b7715['id']===_0xe5a7a5['id'])?_0x4966e8=lo(this['_pendingMutations'],this[_0x37fed7(0x24d)],this[_0x37fed7(0x342)],this[_0x37fed7(0x353)],this['_memberService']):_0x4966e8=Fs(this['_pendingMutations'],this[_0x37fed7(0x24d)],this['_univerInstanceService'],this['_revisionService'],this[_0x37fed7(0x208)]);break;}default:throw new Error(_0x37fed7(0x503)+this['type']+_0x37fed7(0x2ec));}const {changeset:_0x1e7a4e,pendingMutations:_0x466b9b}=_0x4966e8;this[_0x37fed7(0x222)]['onSendChangeset'](_0x1e7a4e);const _0x5027f2=_0x466b9b[_0x37fed7(0x285)]?this[_0x37fed7(0x4c4)][_0x37fed7(0x365)](ge,this[_0x37fed7(0x24d)],this[_0x37fed7(0x36c)],_0x1e7a4e,_0x466b9b,this[_0x37fed7(0x222)],void 0x0):this[_0x37fed7(0x4c4)][_0x37fed7(0x365)](Te,this[_0x37fed7(0x24d)],this[_0x37fed7(0x36c)],_0x1e7a4e,this[_0x37fed7(0x222)]);_0x5027f2[_0x37fed7(0x2c4)](),this[_0x37fed7(0x222)]['onStateChange'](this,_0x5027f2);},_0x3aa7d9);}[_0xe3a6b9(0x30e)](){const _0x427a4b=_0xe3a6b9;var _0x24924f;const _0xed8abc=this[_0x427a4b(0x466)]['getConfig'](ie);return(_0x24924f=_0xed8abc==null?void 0x0:_0xed8abc[_0x427a4b(0x329)])!=null?_0x24924f:ar;}[_0xe3a6b9(0x4b7)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe3a6b9(0x2b7)](){const _0x2ff622=_0xe3a6b9;this[_0x2ff622(0x35c)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x2ff622(0x35c)]=null);}[_0xe3a6b9(0x314)](_0xa1bc75){const _0x57f7ad=_0xe3a6b9;return this[_0x57f7ad(0x2b7)](),this[_0x57f7ad(0x4c4)][_0x57f7ad(0x365)](Re,this[_0x57f7ad(0x24d)],this[_0x57f7ad(0x36c)],null,this['_pendingMutations'],this[_0x57f7ad(0x222)],_0xa1bc75);}};pe=Le([A(0x4,_0x432547(_0x521cd6)),A(0x5,_0x432547(_0x1493a3)),A(0x6,_0x432547(q)),A(0x7,_0x432547(Ne)),A(0x8,_0xfb205),A(0x9,_0xc67fcf),A(0xa,_0x4b50bc),A(0xb,_0x24b4da),A(0xc,_0x17aa8b),A(0xd,_0x5786da)],pe);let Te=class extends $e{constructor(_0x3eb3b7,_0x506436,_0x558c03,_0x5db0fc,_0x2f9576,_0x5a18dd,_0x4e027c,_0x53daf2,_0x2bdeaa,_0x207dba,_0x3b7b36){const _0xc58b42=_0xe3a6b9;super(_0x3eb3b7,_0x506436,_0x558c03,[],_0x5db0fc,_0x53daf2,_0x3b7b36,_0x5a18dd,_0x4e027c),g(this,'status',_0xc58b42(0x212)),g(this,_0xc58b42(0x2ea),0x0),g(this,_0xc58b42(0x445)),g(this,'_sender'),(this[_0xc58b42(0x4c4)]=_0x2f9576,this['_logService']=_0x2bdeaa,this['_transformService']=_0x207dba);}[_0xe3a6b9(0x51c)](_0x1e0ed6){const _0x349312=_0xe3a6b9;this['_clearScheduledTask']();const _0x239017=this[_0x349312(0x4c4)][_0x349312(0x365)](ge,this[_0x349312(0x24d)],this[_0x349312(0x36c)],this[_0x349312(0x536)],[_0x1e0ed6],this[_0x349312(0x222)],this['_resendTimer']);return _0x239017['_updateLocalCache'](),_0x239017;}['onRemoteChangeset'](_0xc5fd43){const _0x496e79=_0xe3a6b9;if(this['_checkMissing'](_0xc5fd43))return this[_0x496e79(0x2b7)](),this[_0x496e79(0x4c4)][_0x496e79(0x365)](he,this[_0x496e79(0x24d)],this['type'],this['_awaitingChangeset'],[],null,[_0xc5fd43],this['_handler']);try{const _0xaec5fe=this[_0x496e79(0x5db)][_0x496e79(0x4ba)]([_0xc5fd43],[this[_0x496e79(0x536)]],!0x1);if(_0x146057(_0xaec5fe)){const {c1Prime:_0x3fb1bc,c2Prime:_0x568ae9}=_0xaec5fe;this[_0x496e79(0x355)](_0x3fb1bc[0x0]),_0x568ae9[0x0]['baseRev']=this[_0x496e79(0x49d)](),this[_0x496e79(0x2b7)]();const _0x38368a=this[_0x496e79(0x4c4)][_0x496e79(0x365)](Te,this[_0x496e79(0x24d)],this[_0x496e79(0x36c)],_0x568ae9[0x0],this['_handler']);return _0x38368a[_0x496e79(0x2c4)](),_0x38368a;}return this[_0x496e79(0x314)](!0x1);}catch(_0x44f760){return this[_0x496e79(0x230)][_0x496e79(0x46c)](_0x44f760),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x47d763){const _0x17272b=_0xe3a6b9;this[_0x17272b(0x2b7)]();const _0x3ece90=this['_revisionService'][_0x17272b(0x2b8)](this[_0x17272b(0x24d)]);if(_0x47d763['revision']<_0x3ece90-0x1)return this;if(this['_checkMissing'](_0x47d763))return this[_0x17272b(0x4c4)][_0x17272b(0x365)](he,this['unitID'],this[_0x17272b(0x36c)],null,[],this[_0x17272b(0x536)],[],this[_0x17272b(0x222)]);this['_incrementRevisionNumber']();const _0x2c0bfb=this[_0x17272b(0x4c4)][_0x17272b(0x365)](Fe,this[_0x17272b(0x24d)],this['type'],this[_0x17272b(0x222)]);return _0x2c0bfb[_0x17272b(0x2c4)](),_0x2c0bfb;}[_0xe3a6b9(0x58d)](_0x10e24c){const _0x184830=_0xe3a6b9;return this[_0x184830(0x314)](!!(_0x10e24c!=null&&_0x10e24c[_0x184830(0x2c6)]));}[_0xe3a6b9(0x21b)](_0x5ed520){const _0x44b5cc=_0xe3a6b9;return this[_0x44b5cc(0x2ea)]>Ui?this[_0x44b5cc(0x2e2)]():(this[_0x44b5cc(0x445)]=Pi(this['_resendTimeout'],{'timeout':this[_0x44b5cc(0x2ea)],'reqId':_0x5ed520[_0x44b5cc(0x237)]}),this[_0x44b5cc(0x4db)]=this[_0x44b5cc(0x445)]['subscribe'](({reqId:_0x462b6f,timeout:_0x1a0a22})=>{const _0x552465=_0x44b5cc;this[_0x552465(0x26c)](_0x462b6f,_0x1a0a22);}),this);}[_0xe3a6b9(0x2e2)](){const _0x1f52bb=_0xe3a6b9;return this[_0x1f52bb(0x2b7)](),this[_0x1f52bb(0x4c4)][_0x1f52bb(0x365)](ye,this[_0x1f52bb(0x24d)],this['type'],this['_awaitingChangeset'],[],this[_0x1f52bb(0x222)]);}[_0xe3a6b9(0x364)](){return this;}[_0xe3a6b9(0x4b7)](){const _0x1c098d=_0xe3a6b9;this[_0x1c098d(0x222)][_0x1c098d(0x528)](this[_0x1c098d(0x536)]);}['_onConflict'](_0x548582){const _0x204619=_0xe3a6b9;return this[_0x204619(0x2b7)](),this['_injector'][_0x204619(0x365)](Re,this[_0x204619(0x24d)],this[_0x204619(0x36c)],this[_0x204619(0x536)],[],this[_0x204619(0x222)],_0x548582);}[_0xe3a6b9(0x26c)](_0x2f4293,_0x2055c4){const _0x2b38ea=_0xe3a6b9;var _0x4f2282;_0x2f4293===((_0x4f2282=this[_0x2b38ea(0x536)])==null?void 0x0:_0x4f2282[_0x2b38ea(0x237)])&&(this[_0x2b38ea(0x4b7)](),this[_0x2b38ea(0x2ea)]=_0x2055c4===0x0?0x3e8:_0x2055c4*0x2);}[_0xe3a6b9(0x2b7)](){const _0x111ea9=_0xe3a6b9;var _0x2aa613;(_0x2aa613=this[_0x111ea9(0x4db)])==null||_0x2aa613[_0x111ea9(0x1e1)](),this[_0x111ea9(0x2ea)]=0x0;}};Te=Le([A(0x4,_0x432547(_0x521cd6)),A(0x5,_0x432547(_0x1493a3)),A(0x6,_0x432547(q)),A(0x7,_0xc67fcf),A(0x8,_0xfb205),A(0x9,_0x24b4da),A(0xa,_0x5786da)],Te);let ge=class extends $e{constructor(_0x59e54d,_0x47d06d,_0x401cb9,_0x3a8aee,_0x56c793,_0x1609a9,_0x3da83c,_0x4a3651,_0x1d94c8,_0x825897,_0x42d3eb,_0x5a2190,_0x2d2341){const _0x5a92da=_0xe3a6b9;super(_0x59e54d,_0x47d06d,_0x401cb9,_0x3a8aee,_0x56c793,_0x825897,_0x2d2341,_0x4a3651,_0x1d94c8),g(this,_0x5a92da(0x511),_0x5a92da(0x584)),g(this,_0x5a92da(0x2ea),0x0),g(this,_0x5a92da(0x445)),g(this,_0x5a92da(0x4db)),(this[_0x5a92da(0x4c4)]=_0x3da83c,this[_0x5a92da(0x230)]=_0x42d3eb,this[_0x5a92da(0x5db)]=_0x5a2190,_0x1609a9&&(this[_0x5a92da(0x445)]=_0x1609a9,this['_sender']=this[_0x5a92da(0x445)][_0x5a92da(0x3d4)](({reqId:_0x54e447,timeout:_0xc20816})=>{const _0x3ee18b=_0x5a92da;this[_0x3ee18b(0x26c)](_0x54e447,_0xc20816);})));}[_0xe3a6b9(0x51c)](_0x4a5486){const _0x322bc4=_0xe3a6b9;return this[_0x322bc4(0x32c)]['push'](_0x4a5486),this;}[_0xe3a6b9(0x2c3)](_0x144f3){const _0x5497b8=_0xe3a6b9;if(this[_0x5497b8(0x54d)](_0x144f3))return this['_clearScheduledTask'](),this['_injector'][_0x5497b8(0x365)](he,this['unitID'],this[_0x5497b8(0x36c)],this[_0x5497b8(0x536)],this['_pendingMutations'],null,[_0x144f3],this[_0x5497b8(0x222)]);try{const _0x517813=this[_0x5497b8(0x5db)][_0x5497b8(0x4ba)]([_0x144f3],[this[_0x5497b8(0x536)]],!0x1);if(_0x146057(_0x517813)){const {c1Prime:_0x211347,c2Prime:_0x2f36a3}=_0x517813,_0x4bc1eb=this[_0x5497b8(0x5db)][_0x5497b8(0x270)](_0x211347[0x0],this[_0x5497b8(0x32c)]);if(_0x369aae(_0x4bc1eb)){const {c1Prime:_0x1f0f24,m2Prime:_0x47e6cc}=_0x4bc1eb;return this[_0x5497b8(0x355)](_0x1f0f24),_0x2f36a3[0x0][_0x5497b8(0x493)]=this['_getCurrentRevision'](),this[_0x5497b8(0x2b7)](),this[_0x5497b8(0x4c4)][_0x5497b8(0x365)](ge,this[_0x5497b8(0x24d)],this[_0x5497b8(0x36c)],_0x2f36a3[0x0],_0x47e6cc,this[_0x5497b8(0x222)],void 0x0);}throw _0x4bc1eb[_0x5497b8(0x46c)];}throw _0x517813[_0x5497b8(0x46c)];}catch(_0x271e57){return this[_0x5497b8(0x230)]['error'](_0x271e57),this[_0x5497b8(0x314)](!0x1);}}['onRemoteAck'](_0x12835d){const _0x50f28f=_0xe3a6b9;if(this[_0x50f28f(0x2b7)](),this[_0x50f28f(0x54d)](_0x12835d))return this['_injector'][_0x50f28f(0x365)](he,this[_0x50f28f(0x24d)],this[_0x50f28f(0x36c)],null,this[_0x50f28f(0x32c)],this[_0x50f28f(0x536)],[],this[_0x50f28f(0x222)]);this[_0x50f28f(0x226)]();const _0xaa1e47=this[_0x50f28f(0x4c4)][_0x50f28f(0x365)](pe,this[_0x50f28f(0x24d)],this[_0x50f28f(0x36c)],this[_0x50f28f(0x32c)],this[_0x50f28f(0x222)]);return _0xaa1e47[_0x50f28f(0x3a1)](),_0xaa1e47['_updateLocalCache'](),_0xaa1e47;}[_0xe3a6b9(0x58d)](_0xe88a33){const _0x248752=_0xe3a6b9;return this[_0x248752(0x314)](!!(_0xe88a33!=null&&_0xe88a33[_0x248752(0x2c6)]));}['onRemoteRetry'](_0x4a8942){const _0x46ef6c=_0xe3a6b9;return this['_resendTimeout']>Ui?this[_0x46ef6c(0x2e2)]():(this['_resendTimer']=Pi(this[_0x46ef6c(0x2ea)],{'timeout':this[_0x46ef6c(0x2ea)],'reqId':_0x4a8942[_0x46ef6c(0x237)]}),this[_0x46ef6c(0x4db)]=this[_0x46ef6c(0x445)][_0x46ef6c(0x3d4)](({reqId:_0x39d597,timeout:_0x1bc82e})=>{const _0x2224f9=_0x46ef6c;this[_0x2224f9(0x26c)](_0x39d597,_0x1bc82e);}),this);}[_0xe3a6b9(0x2e2)](){const _0xe0c29e=_0xe3a6b9;return this[_0xe0c29e(0x2b7)](),this[_0xe0c29e(0x4c4)][_0xe0c29e(0x365)](ye,this[_0xe0c29e(0x24d)],this['type'],this['_awaitingChangeset'],this[_0xe0c29e(0x32c)],this[_0xe0c29e(0x222)]);}['toggleOnline'](){return this;}[_0xe3a6b9(0x4b7)](){const _0x1618ca=_0xe3a6b9;this[_0x1618ca(0x222)][_0x1618ca(0x528)](this[_0x1618ca(0x536)]);}[_0xe3a6b9(0x314)](_0x5a8b85){const _0x4851b9=_0xe3a6b9;return this[_0x4851b9(0x2b7)](),this[_0x4851b9(0x4c4)][_0x4851b9(0x365)](Re,this[_0x4851b9(0x24d)],this[_0x4851b9(0x36c)],null,this[_0x4851b9(0x32c)],this[_0x4851b9(0x222)],_0x5a8b85);}['_resendWithTimeout'](_0x2d163f,_0x198203){const _0x13d35c=_0xe3a6b9;var _0x47b9af;_0x2d163f===((_0x47b9af=this[_0x13d35c(0x536)])==null?void 0x0:_0x47b9af['reqId'])&&(this[_0x13d35c(0x4b7)](),this[_0x13d35c(0x2ea)]=_0x198203===0x0?0x3e8:_0x198203*0x2);}[_0xe3a6b9(0x2b7)](){const _0x26ff27=_0xe3a6b9;var _0x43b0d4;(_0x43b0d4=this[_0x26ff27(0x4db)])==null||_0x43b0d4[_0x26ff27(0x1e1)](),this[_0x26ff27(0x2ea)]=0x0;}};ge=Le([A(0x6,_0x432547(_0x521cd6)),A(0x7,_0x432547(_0x1493a3)),A(0x8,_0x432547(q)),A(0x9,_0xc67fcf),A(0xa,_0xfb205),A(0xb,_0x24b4da),A(0xc,_0x5786da)],ge);let Re=class extends $e{constructor(_0x3dae00,_0xd1349f,_0x2c7a8d,_0x20c898,_0xc9be93,_0x3473f8=!0x1,_0x22ba4c,_0x31d098,_0x23c793,_0x1926f0,_0x2ecb63,_0x5ef43e,_0x4683ef){const _0x13e1e6=_0xe3a6b9;super(_0x3dae00,_0xd1349f,_0x2c7a8d,_0x20c898,_0xc9be93,_0x31d098,_0x23c793,_0x2ecb63,_0x1926f0),g(this,_0x13e1e6(0x511),_0x13e1e6(0x5aa)),(this['_isPermissionRej']=_0x3473f8,this[_0x13e1e6(0x3ac)]=_0x22ba4c,this[_0x13e1e6(0x444)]=_0x5ef43e,this['_notificationService']=_0x4683ef,this['_showConflictNotification'](),this[_0x13e1e6(0x214)](),this[_0x13e1e6(0x3ff)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}[_0xe3a6b9(0x58d)](){return this;}['onRemoteRetry'](){return this;}[_0xe3a6b9(0x2e2)](){return this;}[_0xe3a6b9(0x364)](){return this;}[_0xe3a6b9(0x4b7)](){const _0x1860d5=_0xe3a6b9;throw new Error(_0x1860d5(0x474));}[_0xe3a6b9(0x214)](){const _0x3ac2fd=_0xe3a6b9;this[_0x3ac2fd(0x559)][_0x3ac2fd(0x4e3)](this[_0x3ac2fd(0x24d)],this[_0x3ac2fd(0x36c)],null,[]);}[_0xe3a6b9(0x28c)](){const _0x1981f4=_0xe3a6b9;this[_0x1981f4(0x48d)]?this['_notificationService']['show']({'title':this[_0x1981f4(0x444)]['t'](_0x1981f4(0x1dd)),'content':this['_localeService']['t'](_0x1981f4(0x2fc)),'type':_0x1981f4(0x46c),'duration':0x0}):this['_notificationService'][_0x1981f4(0x47c)]({'title':this[_0x1981f4(0x444)]['t'](_0x1981f4(0x2f3)),'content':this[_0x1981f4(0x444)]['t'](_0x1981f4(0x41f)),'type':_0x1981f4(0x46c),'duration':0x0});}['_disableEditing'](){const _0x5b4799=_0xe3a6b9;this[_0x5b4799(0x3ac)]['updatePermissionPoint'](new _0x345c5d(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x432547(_0x4e112d)),A(0x7,_0xc67fcf),A(0x8,_0x5786da),A(0x9,_0x432547(q)),A(0xa,_0x432547(_0x1493a3)),A(0xb,_0x432547(_0x363878)),A(0xc,_0x25d02a)],Re);let ye=class extends $e{constructor(_0x532e55,_0x3a28ff,_0x3fb12d,_0x380d0a,_0x470453,_0x4500eb,_0x41dfaa,_0x37a516,_0x4601b5,_0x3bf08d){const _0x2a8f9b=_0xe3a6b9;super(_0x532e55,_0x3a28ff,_0x3fb12d,_0x380d0a,_0x470453,_0x4601b5,_0x3bf08d,_0x41dfaa,_0x37a516),g(this,'status',_0x2a8f9b(0x486)),this['_injector']=_0x4500eb;}[_0xe3a6b9(0x51c)](_0x145f07){const _0x1e76d9=_0xe3a6b9;return this[_0x1e76d9(0x32c)]['push'](_0x145f07),this[_0x1e76d9(0x2c4)](),this;}['onRemoteChangeset'](_0x3bafa6){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0xe3a6b9(0x58d)](){const _0x7b9e9e=_0xe3a6b9;throw new Error(_0x7b9e9e(0x36f));}[_0xe3a6b9(0x21b)](){return this;}[_0xe3a6b9(0x2e2)](){return this;}[_0xe3a6b9(0x364)](){const _0x40b5df=_0xe3a6b9,{_injector:_0x23f8f6,_pendingMutations:_0x39b458,_awaitingChangeset:_0x15d551,unitID:_0x2afb74,_handler:_0x5c11cc,type:_0x49ee4a}=this,_0x2c8500=Ni(_0x23f8f6,_0x2afb74,_0x49ee4a,_0x15d551,_0x39b458,_0x5c11cc);return _0x2c8500 instanceof pe?_0x2c8500[_0x40b5df(0x3a1)]():(_0x2c8500 instanceof ge||_0x2c8500 instanceof Te)&&_0x2c8500[_0x40b5df(0x4b7)](),_0x2c8500;}[_0xe3a6b9(0x4b7)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x432547(_0x521cd6)),A(0x6,_0x432547(_0x1493a3)),A(0x7,_0x432547(q)),A(0x8,_0xc67fcf),A(0x9,_0x5786da)],ye);let he=class extends $e{constructor(_0xf062f7,_0x41927c,_0x2eaf5d,_0x3630f6,_0xe156d1,_0x4201d4,_0x5b2aee,_0x48673d,_0xb4dda3,_0x380eea,_0xca1530,_0x29a42a,_0x1773ac,_0x30d5e8){const _0xbf2f73=_0xe3a6b9;super(_0xf062f7,_0x41927c,_0x2eaf5d,_0x3630f6,_0x5b2aee,_0x29a42a,_0x1773ac,_0xb4dda3,_0x380eea),g(this,_0xbf2f73(0x511),_0xbf2f73(0x44a)),(this[_0xbf2f73(0x489)]=_0xe156d1,this[_0xbf2f73(0x4a5)]=_0x4201d4,this[_0xbf2f73(0x4c4)]=_0x48673d,this['_logService']=_0xca1530,this['_transformService']=_0x30d5e8);}['onMissedChangesetFetched'](_0x5c5aef){const _0x54db86=_0xe3a6b9;try{const _0x96fd30=[..._0x5c5aef,...this[_0x54db86(0x4a5)]],_0x4456e5=[this['_awaitingChangeset']||this[_0x54db86(0x489)]][_0x54db86(0x598)](_0x13bb62=>!!_0x13bb62);let _0x308bd1,_0x50b311;if(_0x4456e5[_0x54db86(0x285)]){const _0x4d7d7b=this[_0x54db86(0x5db)][_0x54db86(0x4ba)](_0x96fd30,_0x4456e5,!0x1);if(!_0x146057(_0x4d7d7b))throw _0x4d7d7b['error'];_0x308bd1=_0x4d7d7b[_0x54db86(0x2bd)],_0x50b311=_0x4d7d7b['c2Prime'];}else _0x308bd1=_0x96fd30,_0x50b311=[];let _0x436478=this['_pendingMutations'];_0x308bd1[_0x54db86(0x3b9)](_0xa05525=>{const _0x8aaa42=_0x54db86;let _0x599002;if(_0x436478['length']){const _0x1929dd=this['_transformService'][_0x8aaa42(0x270)](_0xa05525,_0x436478);if(!_0x369aae(_0x1929dd))throw _0x1929dd[_0x8aaa42(0x46c)];_0x599002=_0x1929dd['c1Prime'],_0x436478=_0x1929dd['m2Prime'];}else _0x599002=_0xa05525;this[_0x8aaa42(0x355)](_0x599002);}),this[_0x54db86(0x489)]&&this[_0x54db86(0x226)](),this[_0x54db86(0x536)]&&_0x50b311[_0x54db86(0x285)]&&(_0x50b311[0x0][_0x54db86(0x493)]=this[_0x54db86(0x49d)]());let _0x1bdf6c;if(this[_0x54db86(0x536)]&&_0x436478[_0x54db86(0x285)]!==0x0)_0x1bdf6c=this['_injector'][_0x54db86(0x365)](ge,this[_0x54db86(0x24d)],this[_0x54db86(0x36c)],_0x50b311[0x0],_0x436478,this['_handler'],void 0x0);else{if(this[_0x54db86(0x536)]&&_0x436478[_0x54db86(0x285)]===0x0)_0x50b311[0x0][_0x54db86(0x493)]=this[_0x54db86(0x49d)](),_0x1bdf6c=this[_0x54db86(0x4c4)][_0x54db86(0x365)](Te,this[_0x54db86(0x24d)],this[_0x54db86(0x36c)],_0x50b311[0x0],this[_0x54db86(0x222)]);else{if(_0x436478[_0x54db86(0x285)]!==0x0){const _0x3cdb55=this['_injector'][_0x54db86(0x365)](pe,this['unitID'],this[_0x54db86(0x36c)],_0x436478,this[_0x54db86(0x222)]);_0x3cdb55['_schedule'](),_0x1bdf6c=_0x3cdb55;}else _0x1bdf6c=this[_0x54db86(0x4c4)][_0x54db86(0x365)](Fe,this[_0x54db86(0x24d)],this[_0x54db86(0x36c)],this['_handler']);}}return _0x1bdf6c[_0x54db86(0x2c4)](),_0x1bdf6c;}catch(_0x104bac){return this[_0x54db86(0x230)]['error'](_0x54db86(0x52f),_0x54db86(0x537),_0x104bac),this[_0x54db86(0x4c4)][_0x54db86(0x365)](Re,this[_0x54db86(0x24d)],this[_0x54db86(0x36c)],this[_0x54db86(0x536)],this['_pendingMutations'],this[_0x54db86(0x222)],!0x1);}}[_0xe3a6b9(0x4b7)](){const _0x152d85=_0xe3a6b9;throw new Error(_0x152d85(0x2a3));}['appendMutation'](_0x4ce5f0){const _0x4f77e9=_0xe3a6b9;return this[_0x4f77e9(0x32c)][_0x4f77e9(0x3f6)](_0x4ce5f0),this;}[_0xe3a6b9(0x2c3)](_0x3afb95){const _0x363169=_0xe3a6b9;return this[_0x363169(0x4a5)][_0x363169(0x3f6)](_0x3afb95),this;}[_0xe3a6b9(0x539)](_0x56b0c9){const _0x182647=_0xe3a6b9;if(this[_0x182647(0x536)])return this[_0x182647(0x489)]=this[_0x182647(0x536)],this[_0x182647(0x536)]=null,this;throw new Error(_0x182647(0x34d));}['onRemoteRej'](_0x14be44){const _0x3805ef=_0xe3a6b9;return this['_onConflict'](!!(_0x14be44!=null&&_0x14be44[_0x3805ef(0x2c6)]));}['onRemoteRetry'](){return this;}[_0xe3a6b9(0x2e2)](){const _0x36af98=_0xe3a6b9;return this[_0x36af98(0x4c4)]['createInstance'](ye,this[_0x36af98(0x24d)],this[_0x36af98(0x36c)],this[_0x36af98(0x536)],this[_0x36af98(0x32c)],this['_handler']);}[_0xe3a6b9(0x364)](){return this;}[_0xe3a6b9(0x314)](_0x5d9113){const _0x5cb58d=_0xe3a6b9;return this['_injector'][_0x5cb58d(0x365)](Re,this[_0x5cb58d(0x24d)],this[_0x5cb58d(0x36c)],this['_awaitingChangeset'],this[_0x5cb58d(0x32c)],this['_handler'],_0x5d9113);}};he=Le([A(0x7,_0x432547(_0x521cd6)),A(0x8,_0x432547(_0x1493a3)),A(0x9,_0x432547(q)),A(0xa,_0xfb205),A(0xb,_0xc67fcf),A(0xc,_0x5786da),A(0xd,_0x24b4da)],he);function Ni(_0x38aca7,_0x2dd8ff,_0x1f663f,_0x172b03,_0x2234a5,_0x40d674){const _0x9c85ec=_0xe3a6b9;return _0x172b03&&_0x2234a5['length']?_0x38aca7[_0x9c85ec(0x365)](ge,_0x2dd8ff,_0x1f663f,_0x172b03,_0x2234a5,_0x40d674,void 0x0):_0x172b03?_0x38aca7[_0x9c85ec(0x365)](Te,_0x2dd8ff,_0x1f663f,_0x172b03,_0x40d674):_0x2234a5[_0x9c85ec(0x285)]?_0x38aca7['createInstance'](pe,_0x2dd8ff,_0x1f663f,_0x2234a5,_0x40d674):_0x38aca7[_0x9c85ec(0x365)](Fe,_0x2dd8ff,_0x1f663f,_0x40d674);}var vo=Object[_0xe3a6b9(0x2e1)],mo=Object[_0xe3a6b9(0x4b1)],Cs=(_0x5a9d1e,_0x450817,_0x4e9698,_0x2a45b0)=>{const _0x5b79f0=_0xe3a6b9;for(var _0x413080=_0x2a45b0>0x1?void 0x0:_0x2a45b0?mo(_0x450817,_0x4e9698):_0x450817,_0x5ad14a=_0x5a9d1e[_0x5b79f0(0x285)]-0x1,_0x4487a9;_0x5ad14a>=0x0;_0x5ad14a--)(_0x4487a9=_0x5a9d1e[_0x5ad14a])&&(_0x413080=(_0x2a45b0?_0x4487a9(_0x450817,_0x4e9698,_0x413080):_0x4487a9(_0x413080))||_0x413080);return _0x2a45b0&&_0x413080&&vo(_0x450817,_0x4e9698,_0x413080),_0x413080;},H=(_0x1b6cfc,_0x2a9062)=>(_0x3b6d1a,_0x5105cf)=>_0x2a9062(_0x3b6d1a,_0x5105cf,_0x1b6cfc);let gt=class extends _0x90c284{constructor(_0x5aa6de,_0x72595,_0x12c92b,_0x45cb41,_0x1bb615,_0x5bf3a2,_0xce2e41,_0x18393c,_0x3b5224,_0x29d440,_0x25ea1c,_0x4686c1,_0xb286a1){const _0x4829c0=_0xe3a6b9;super(),g(this,_0x4829c0(0x54f),new _0x23c074(null)),g(this,_0x4829c0(0x572),this['_state$']['asObservable']()),g(this,_0x4829c0(0x3bc)),g(this,_0x4829c0(0x49c),!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x4829c0(0x252),this[_0x4829c0(0x572)][_0x4829c0(0x531)](_0x464b87(_0x2d57da=>_0x2d57da?_0x2d57da[_0x4829c0(0x511)]:J[_0x4829c0(0x22a)]),_0x186328(0x1))),g(this,_0x4829c0(0x39a),!0x1),g(this,_0x4829c0(0x1de),[]),(this['unitID']=_0x5aa6de,this['session']=_0x72595,this[_0x4829c0(0x578)]=_0x12c92b,this['_injector']=_0x45cb41,this['_localCacheService']=_0x1bb615,this[_0x4829c0(0x412)]=_0x5bf3a2,this[_0x4829c0(0x444)]=_0xce2e41,this[_0x4829c0(0x353)]=_0x18393c,this[_0x4829c0(0x230)]=_0x3b5224,this[_0x4829c0(0x1e6)]=_0x29d440,this[_0x4829c0(0x421)]=_0x25ea1c,this[_0x4829c0(0x3ac)]=_0x4686c1,this[_0x4829c0(0x298)]=_0xb286a1);}get['state'](){const _0x53b446=_0xe3a6b9;return this[_0x53b446(0x3bc)];}async[_0xe3a6b9(0x4c3)](){const _0x3439df=_0xe3a6b9;if(this['state'])throw new Error(_0x3439df(0x46a));await this[_0x3439df(0x430)]();}['pauseCollaboration'](){const _0x2fab60=_0xe3a6b9;return this[_0x2fab60(0x49c)]=!0x0,_0x3b9b0c(()=>{const _0xb7cacd=_0x2fab60;this[_0xb7cacd(0x49c)]=!0x1,this[_0xb7cacd(0x225)]();});}['_updateState'](_0x4af957){const _0x2e8226=_0xe3a6b9;this[_0x2e8226(0x3bc)]=_0x4af957,this[_0x2e8226(0x54f)][_0x2e8226(0x32a)](_0x4af957);}async[_0xe3a6b9(0x430)](){const _0x3e6476=_0xe3a6b9;var _0x22710a;this['_updateState'](await this[_0x3e6476(0x42f)]()),this[_0x3e6476(0x298)]&&((_0x22710a=this[_0x3e6476(0x298)])==null||_0x22710a[_0x3e6476(0x281)](this[_0x3e6476(0x24d)]),this[_0x3e6476(0x5d1)](this[_0x3e6476(0x298)]['getUnitStatus$'](this[_0x3e6476(0x24d)])['subscribe'](_0x152268=>{const _0x49155a=_0x3e6476;this['_logService'][_0x49155a(0x25c)](_0x49155a(0x1e2),_0x49155a(0x236),_0x152268),_0x152268===wi[_0x49155a(0x29d)]?(this['_messageService'][_0x49155a(0x47c)]({'content':this['_localeService']['t'](_0x49155a(0x2ab)),'type':_0xedbc0c['Warning']}),this[_0x49155a(0x3ac)][_0x49155a(0x487)](new _0x345c5d(this[_0x49155a(0x24d)])['id'],!0x1),this[_0x49155a(0x3ac)][_0x49155a(0x53d)](!0x1)):(this[_0x49155a(0x3ac)][_0x49155a(0x487)](new _0x345c5d(this['unitID'])['id'],!0x0),this[_0x49155a(0x3ac)][_0x49155a(0x53d)](!0x0));})));let _0x41b9b2=!0x1;return this['disposeWithMe'](this['session']['sessionStatus$'][_0x3e6476(0x3d4)](_0x12eaa2=>{const _0x1d164e=_0x3e6476;_0x12eaa2===ve['ONLINE']?this[_0x1d164e(0x1f6)](_0x41b9b2):_0x12eaa2===ve['OFFLINE']&&(_0x41b9b2=!0x0,this[_0x1d164e(0x558)]());})),this[_0x3e6476(0x5d1)](this['session'][_0x3e6476(0x506)][_0x3e6476(0x3d4)](_0x97eea9=>{const _0x38b654=_0x3e6476;try{switch(_0x97eea9[_0x38b654(0x3f3)]){case _0xd65e90['NEW_CHANGESETS']:{this[_0x38b654(0x4a8)](_0x1c3eb2(_0x97eea9['data']));break;}case _0xd65e90[_0x38b654(0x235)]:{this['_onRemoteACK'](_0x97eea9[_0x38b654(0x2be)]);break;}case _0xd65e90[_0x38b654(0x3c1)]:{this[_0x38b654(0x3f0)]();break;}case _0xd65e90[_0x38b654(0x4ef)]:{this[_0x38b654(0x4de)](_0x97eea9['data']);break;}case _0xd65e90['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x38b654(0x241)](_0x97eea9[_0x38b654(0x2be)][_0x38b654(0x4b0)]['map'](_0x24abff=>_0x1c3eb2(_0x24abff)));break;}case _0xd65e90[_0x38b654(0x3d0)]:this[_0x38b654(0x3f0)]({'isPermissionRej':!0x0});}}catch(_0x5131ea){throw console[_0x38b654(0x46c)](_0x38b654(0x56b),_0x5131ea),_0x5131ea;}})),this[_0x3e6476(0x3bc)];}['_unlockTransition'](){const _0x3a570b=_0xe3a6b9;this[_0x3a570b(0x39a)]=!0x1;}[_0xe3a6b9(0x5cf)](){const _0x220091=_0xe3a6b9;if(this[_0x220091(0x39a)])throw new Error(_0x220091(0x47f));this[_0x220091(0x39a)]=!0x0;}[_0xe3a6b9(0x40b)](_0x3eae54){const _0xa14f8a=_0xe3a6b9;this[_0xa14f8a(0x5cf)](),this[_0xa14f8a(0x303)](this['_state'][_0xa14f8a(0x51c)](_0x3eae54)),this['_unlockTransition']();}[_0xe3a6b9(0x4a8)](_0x202551){const _0x3320e8=_0xe3a6b9;if(!(_0x202551[_0x3320e8(0x39f)]<=this[_0x3320e8(0x353)][_0x3320e8(0x2b8)](this[_0x3320e8(0x24d)]))){if(this['_collaborationPaused']){this[_0x3320e8(0x1de)][_0x3320e8(0x3f6)](_0x202551);return;}this[_0x3320e8(0x2f6)](_0x202551);}}[_0xe3a6b9(0x225)](){const _0x112630=_0xe3a6b9;this[_0x112630(0x1de)][_0x112630(0x3b9)](_0x7fffe5=>this['_applyRemoteChangeset'](_0x7fffe5)),this[_0x112630(0x1de)]=[];}['_applyRemoteChangeset'](_0x2dd246){const _0x547e24=_0xe3a6b9,_0x60d524=this[_0x547e24(0x412)][_0x547e24(0x544)][_0x547e24(0x21e)](this[_0x547e24(0x412)][_0x547e24(0x544)][_0x547e24(0x338)]()[_0x547e24(0x457)])(_0x2dd246[_0x547e24(0x2fd)],null)||_0x2dd246[_0x547e24(0x2fd)],_0x4301f7={..._0x2dd246,'mutations':_0x60d524};this[_0x547e24(0x5cf)](),this['_updateState'](this['_state'][_0x547e24(0x2c3)](_0x4301f7)),this[_0x547e24(0x4d3)]();}[_0xe3a6b9(0x265)](_0xdce67f){const _0x5ceb89=_0xe3a6b9;this[_0x5ceb89(0x5cf)](),this[_0x5ceb89(0x303)](this[_0x5ceb89(0x3bc)][_0x5ceb89(0x539)](_0xdce67f)),this[_0x5ceb89(0x4d3)]();}[_0xe3a6b9(0x3f0)](_0x3f6773){const _0x4ce124=_0xe3a6b9;this[_0x4ce124(0x5cf)](),this[_0x4ce124(0x303)](this[_0x4ce124(0x3bc)][_0x4ce124(0x58d)](_0x3f6773)),this['_unlockTransition']();}[_0xe3a6b9(0x4de)](_0x274ccd){const _0x4a0bfa=_0xe3a6b9;this[_0x4a0bfa(0x5cf)](),this[_0x4a0bfa(0x303)](this['_state'][_0x4a0bfa(0x21b)](_0x274ccd)),this[_0x4a0bfa(0x4d3)]();}[_0xe3a6b9(0x241)](_0xa9e0d4){const _0x52427d=_0xe3a6b9;if(!(this[_0x52427d(0x3bc)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x1c7d76=_0xa9e0d4[_0x52427d(0x546)](_0xc998b5=>{const _0x5344ad=_0x52427d,_0xdde675=this[_0x5344ad(0x412)][_0x5344ad(0x544)][_0x5344ad(0x21e)](this[_0x5344ad(0x412)][_0x5344ad(0x544)][_0x5344ad(0x338)]()['COMPRESS_MUTATION_APPLY'])(_0xc998b5[_0x5344ad(0x2fd)],null)||_0xc998b5[_0x5344ad(0x2fd)];return{..._0xc998b5,'mutations':_0xdde675};});this[_0x52427d(0x5cf)](),this[_0x52427d(0x303)](this[_0x52427d(0x3bc)][_0x52427d(0x37c)](_0x1c7d76)),this[_0x52427d(0x4d3)]();}[_0xe3a6b9(0x558)](){const _0x58d1d6=_0xe3a6b9;this['_lockTransition'](),this[_0x58d1d6(0x303)](this[_0x58d1d6(0x3bc)][_0x58d1d6(0x2e2)]()),this[_0x58d1d6(0x4d3)]();}['_toggleOnline'](_0x2d068f=!0x1){const _0x37424f=_0xe3a6b9;this['_lockTransition'](),this[_0x37424f(0x303)](this['_state'][_0x37424f(0x364)]()),this[_0x37424f(0x4d3)]();const _0x28d7af=this[_0x37424f(0x3bc)];_0x2d068f&&_0x28d7af instanceof Fe&&(this[_0x37424f(0x5cf)](),this[_0x37424f(0x303)](_0x28d7af[_0x37424f(0x42d)]()),this[_0x37424f(0x4d3)]());}async[_0xe3a6b9(0x42f)](){return new Promise(_0xdcdcad=>{const _0x319314=_0x272d;this[_0x319314(0x2fe)][_0x319314(0x5d6)]['pipe'](_0x335dc9(0x1))[_0x319314(0x3d4)](async _0x51da62=>{const _0x136979=_0x319314;_0xdcdcad(await this[_0x136979(0x580)](_0x51da62===ve['ONLINE']));});});}[_0xe3a6b9(0x25d)](){const _0x1ec6e2=_0xe3a6b9,_0xcc268f=this[_0x1ec6e2(0x24d)];return{'onStateChange':(_0x42a0c4,_0x1e2087)=>{const _0x15e6c7=_0x1ec6e2;if(_0x42a0c4!==this['_state'])throw new Error(_0x15e6c7(0x1e7)+_0x42a0c4[_0x15e6c7(0x511)]+_0x15e6c7(0x48c)+_0x1e2087[_0x15e6c7(0x511)]+_0x15e6c7(0x592)+this[_0x15e6c7(0x3bc)][_0x15e6c7(0x511)]);this[_0x15e6c7(0x303)](_0x1e2087);},'onSendChangeset':_0x3ac2d1=>{const _0x16c49d=_0x1ec6e2;_0x3ac2d1[_0x16c49d(0x305)]||(_0x3ac2d1[_0x16c49d(0x305)]=this[_0x16c49d(0x47b)],_0x3ac2d1[_0x16c49d(0x237)]=++this['_changesetReqId']);const _0x303b50={'eventID':_0xd65e90[_0x16c49d(0x5c6)],'data':{'unitID':_0x3ac2d1['unitID'],'unitType':this[_0x16c49d(0x578)],'changeset':_0x3ac2d1,'memberID':this[_0x16c49d(0x2fe)]['getMemberID']()}};this[_0x16c49d(0x2fe)][_0x16c49d(0x48f)](_0x303b50,this[_0x16c49d(0x24d)]);},'onMissingChangesets':({from:_0x2747f8,to:_0x568392})=>{const _0x2c0e0d=_0x1ec6e2;this['_logService'][_0x2c0e0d(0x25c)](_0x2c0e0d(0x1e2),_0x2c0e0d(0x2ca)+_0x2747f8+_0x2c0e0d(0x4d7)+_0x568392);const _0x273f0d={'eventID':_0xd65e90['FETCH_MISSING'],'data':{'unitID':_0xcc268f,'unitType':this[_0x2c0e0d(0x578)],'from':_0x2747f8,'to':_0x568392}};this[_0x2c0e0d(0x2fe)][_0x2c0e0d(0x48f)](_0x273f0d,this['unitID']);}};}async[_0xe3a6b9(0x580)](_0x49a6f9){const _0x24a12d=_0xe3a6b9;var _0x7ec163,_0x9885e;const _0x17f414=await this[_0x24a12d(0x559)][_0x24a12d(0x458)](this[_0x24a12d(0x24d)]),_0x382b43=(_0x7ec163=_0x17f414==null?void 0x0:_0x17f414['mutations'])!=null?_0x7ec163:[],_0x36abfc=(_0x9885e=_0x17f414==null?void 0x0:_0x17f414[_0x24a12d(0x381)])!=null?_0x9885e:null,_0x42b8db=!!(_0x36abfc!=null&&_0x36abfc['sid'])&&!!(_0x36abfc!=null&&_0x36abfc[_0x24a12d(0x237)]);this[_0x24a12d(0x47b)]=_0x42b8db?_0x36abfc[_0x24a12d(0x305)]:Vr(),this[_0x24a12d(0x552)]=_0x42b8db?_0x36abfc[_0x24a12d(0x237)]:0x0;const _0x27b480=this[_0x24a12d(0x24d)];try{this[_0x24a12d(0x5c9)](_0x36abfc,_0x382b43);}catch(_0x389978){this[_0x24a12d(0x230)][_0x24a12d(0x46c)](_0x389978);}const _0x4630e2=this['_createHandler']();if(_0x49a6f9){const _0x58feda=Ni(this[_0x24a12d(0x4c4)],_0x27b480,this[_0x24a12d(0x578)],_0x36abfc,_0x382b43,_0x4630e2);return _0x58feda instanceof pe?_0x58feda[_0x24a12d(0x3a1)]():(_0x58feda instanceof ge||_0x58feda instanceof Te)&&_0x58feda['resend'](),_0x58feda;}return this[_0x24a12d(0x4c4)][_0x24a12d(0x365)](ye,_0x27b480,this[_0x24a12d(0x578)],_0x36abfc,_0x382b43,_0x4630e2);}['_replayCachedMutations'](_0x3cffc5,_0x5415a7){const _0x56fe60=_0xe3a6b9;var _0x518a73,_0x2612e0;const _0x1f7494=this[_0x56fe60(0x412)][_0x56fe60(0x544)][_0x56fe60(0x21e)](this[_0x56fe60(0x412)][_0x56fe60(0x544)][_0x56fe60(0x338)]()['COMPRESS_MUTATION_APPLY']);(_0x518a73=_0x1f7494((_0x3cffc5==null?void 0x0:_0x3cffc5['mutations'])||[],null))==null||_0x518a73['forEach'](_0xfa94e3=>this[_0x56fe60(0x1e6)]['executeCommand'](_0xfa94e3['id'],_0xfa94e3[_0x56fe60(0x2de)])),(_0x2612e0=_0x1f7494(_0x5415a7||[],null))==null||_0x2612e0[_0x56fe60(0x3b9)](_0x46be4b=>this[_0x56fe60(0x1e6)][_0x56fe60(0x55e)](_0x46be4b['id'],_0x46be4b[_0x56fe60(0x2de)]));}};gt=Cs([H(0x3,_0x432547(_0x521cd6)),H(0x4,_0x432547(q)),H(0x5,_0x432547(_0x202f36)),H(0x6,_0x432547(_0x363878)),H(0x7,_0x432547(_0x1493a3)),H(0x8,_0xfb205),H(0x9,_0xc67fcf),H(0xa,_0xc25f4d),H(0xb,_0x4e112d),H(0xc,_0x175412(Rt))],gt);let ts=class extends gt{constructor(_0xc2f4d3,_0x150e11,_0x10bfed,_0x23b54f,_0x30081a,_0x1d52f8,_0x50a139,_0x3364de,_0x155fde,_0x217452,_0x34f3e8,_0x3ed52c,_0x5a20d3,_0x4fb31d,_0x487431,_0x57a8d8,_0x14bb67,_0x32513c){const _0x34e745=_0xe3a6b9;super(_0xc2f4d3,_0x10bfed,_0x150e11,_0x23b54f,_0x30081a,_0x1d52f8,_0x50a139,_0x3364de,_0x4fb31d,_0x487431,_0x57a8d8,_0x14bb67,_0x32513c),this[_0x34e745(0x24d)]=_0xc2f4d3,this[_0x34e745(0x36c)]=_0x150e11,this['_docStateChangeManagerService']=_0x155fde,this[_0x34e745(0x56a)]=_0x217452,this[_0x34e745(0x254)]=_0x34f3e8,this[_0x34e745(0x283)]=_0x3ed52c,this[_0x34e745(0x3dd)]=_0x5a20d3;}['_createHandler'](){const _0x2e6e34=_0xe3a6b9,_0x5ecfb0=super[_0x2e6e34(0x25d)]();return _0x5ecfb0['onTransformIME']=_0xd9ea99=>this[_0x2e6e34(0x56a)][_0x2e6e34(0x3d1)](_0xd9ea99),_0x5ecfb0[_0x2e6e34(0x37d)]=_0x4e7f3c=>this[_0x2e6e34(0x254)][_0x2e6e34(0x5c3)](_0x4e7f3c),_0x5ecfb0[_0x2e6e34(0x4c1)]=_0x4fc6bf=>this[_0x2e6e34(0x283)][_0x2e6e34(0x335)](_0x4fc6bf),_0x5ecfb0[_0x2e6e34(0x1f7)]=_0x43fa0c=>this['_docSyncEditingCollabCursorService'][_0x2e6e34(0x3be)](_0x43fa0c),_0x5ecfb0[_0x2e6e34(0x599)]=_0x573e71=>this[_0x2e6e34(0x56a)]['transformRemoteChangeset'](_0x573e71),_0x5ecfb0[_0x2e6e34(0x1e0)]=_0x914b7=>this[_0x2e6e34(0x254)][_0x2e6e34(0x3fa)](_0x914b7),_0x5ecfb0;}async[_0xe3a6b9(0x430)](){const _0x13b047=_0xe3a6b9,_0x4b1efa=await super[_0x13b047(0x430)]();return this[_0x13b047(0x4b9)]['docStateChange$'][_0x13b047(0x531)](_0x4c7076(this[_0x13b047(0x31a)]))['subscribe'](_0x4cb94f=>{const _0x496f08=_0x13b047;if(_0x4cb94f==null)return;const {unitId:_0x517931,redoState:_0x185a76,commandId:_0x3e0200}=_0x4cb94f;if(_0x517931!==this[_0x496f08(0x24d)])return;const _0x5e89ba={'id':_0x3e0200,'type':_0x414065[_0x496f08(0x47e)],'params':{'unitId':_0x517931,'actions':_0x185a76[_0x496f08(0x280)],'textRanges':null}};this[_0x496f08(0x40b)](_0x5e89ba);}),_0x4b1efa;}};ts=Cs([H(0x3,_0x432547(_0x521cd6)),H(0x4,_0x432547(q)),H(0x5,_0x432547(_0x202f36)),H(0x6,_0x432547(_0x363878)),H(0x7,_0x432547(_0x1493a3)),H(0x8,_0x432547(_0x148acc)),H(0x9,_0x432547(ft)),H(0xa,_0x432547(mt)),H(0xb,_0x432547(pt)),H(0xc,_0x432547(Is)),H(0xd,_0xfb205),H(0xe,_0xc67fcf),H(0xf,_0xc25f4d),H(0x10,_0x4e112d),H(0x11,_0x175412(Rt))],ts);let ss=class extends gt{constructor(_0x1ca001,_0x2ef8d6,_0x1ea7da,_0x15a143,_0x56ce62,_0x588fc7,_0x2c559e,_0x371b6e,_0x436fcd,_0x525751,_0x21554c,_0xd66489,_0x2f8c37,_0x510fad){const _0x11d3e4=_0xe3a6b9;super(_0x1ca001,_0x1ea7da,_0x2ef8d6,_0x15a143,_0x56ce62,_0x588fc7,_0x2c559e,_0x371b6e,_0x525751,_0x21554c,_0xd66489,_0x2f8c37,_0x510fad),this['unitID']=_0x1ca001,this['type']=_0x2ef8d6,this[_0x11d3e4(0x215)]=_0x436fcd;}[_0xe3a6b9(0x25d)](){const _0x1c8fb4=_0xe3a6b9,_0x300fda=super[_0x1c8fb4(0x25d)]();return _0x300fda[_0x1c8fb4(0x4c1)]=_0x53343c=>this[_0x1c8fb4(0x215)]['transformSelections'](_0x53343c),_0x300fda;}async[_0xe3a6b9(0x430)](){const _0x259faa=_0xe3a6b9,_0x194c28=await super[_0x259faa(0x430)]();return this[_0x259faa(0x5d1)](this[_0x259faa(0x1e6)][_0x259faa(0x384)]((_0x47e72e,_0x3a1950)=>{const _0x3f7464=_0x259faa;if(_0x47e72e[_0x3f7464(0x36c)]!==_0x414065[_0x3f7464(0x47e)]||_0x3a1950!=null&&_0x3a1950['fromCollab']||_0x3a1950!=null&&_0x3a1950[_0x3f7464(0x3df)])return;const _0x5b15ef=_0x47e72e['params'];if((_0x5b15ef==null?void 0x0:_0x5b15ef['unitId'])!==this[_0x3f7464(0x24d)])return;const _0x3f485c=_0x47e72e,_0x445c9a=this[_0x3f7464(0x412)]['interceptor']['fetchThroughInterceptors'](this[_0x3f7464(0x412)][_0x3f7464(0x544)][_0x3f7464(0x338)]()[_0x3f7464(0x557)])([_0x3f485c],null)||[_0x3f485c];this[_0x3f7464(0x40b)](_0x445c9a[0x0]);})),_0x194c28;}};ss=Cs([H(0x3,_0x432547(_0x521cd6)),H(0x4,_0x432547(q)),H(0x5,_0x432547(_0x202f36)),H(0x6,_0x432547(_0x363878)),H(0x7,_0x432547(_0x1493a3)),H(0x8,_0x432547(vt)),H(0x9,_0xfb205),H(0xa,_0xc67fcf),H(0xb,_0xc25f4d),H(0xc,_0x4e112d),H(0xd,_0x175412(Rt))],ss);var po=Object[_0xe3a6b9(0x2e1)],go=Object[_0xe3a6b9(0x4b1)],So=(_0x37f773,_0x54060a,_0x53c779,_0x1f0b9d)=>{const _0x5e0daf=_0xe3a6b9;for(var _0x57c250=_0x1f0b9d>0x1?void 0x0:_0x1f0b9d?go(_0x54060a,_0x53c779):_0x54060a,_0x652405=_0x37f773[_0x5e0daf(0x285)]-0x1,_0x1b4925;_0x652405>=0x0;_0x652405--)(_0x1b4925=_0x37f773[_0x652405])&&(_0x57c250=(_0x1f0b9d?_0x1b4925(_0x54060a,_0x53c779,_0x57c250):_0x1b4925(_0x57c250))||_0x57c250);return _0x1f0b9d&&_0x57c250&&po(_0x54060a,_0x53c779,_0x57c250),_0x57c250;},xt=(_0x50ba32,_0x115040)=>(_0x53ff84,_0x2eed56)=>_0x115040(_0x53ff84,_0x2eed56,_0x50ba32);let it=class extends _0x90c284{constructor(_0x80996e,_0x2dfa2c,_0x582244){const _0xe17e7a=_0xe3a6b9;super(),g(this,_0xe17e7a(0x470),new Map()),g(this,_0xe17e7a(0x312),new _0xbd68e4()),(this[_0xe17e7a(0x4c4)]=_0x80996e,this[_0xe17e7a(0x289)]=_0x2dfa2c,this['_univerInstanceService']=_0x582244,this[_0xe17e7a(0x430)]());}[_0xe3a6b9(0x3b4)](){const _0x3a0e1d=_0xe3a6b9;super[_0x3a0e1d(0x3b4)](),this[_0x3a0e1d(0x470)]['forEach'](_0x54e372=>_0x54e372['dispose']()),this[_0x3a0e1d(0x470)][_0x3a0e1d(0x2db)]();}[_0xe3a6b9(0x527)](_0x3a4438){var _0x1a5f71;return(_0x1a5f71=this['_entities']['get'](_0x3a4438))!=null?_0x1a5f71:null;}[_0xe3a6b9(0x424)](_0x535d55){const _0x30abb4=_0xe3a6b9,_0x1978e1=this[_0x30abb4(0x527)](_0x535d55);return _0x1978e1?_0x19d5e8(_0x1978e1):this[_0x30abb4(0x312)][_0x30abb4(0x531)](_0x1e3ef3(_0x49ce7e=>_0x49ce7e[_0x30abb4(0x24d)]===_0x535d55));}['_init'](){const _0x4acdfd=_0xe3a6b9;this[_0x4acdfd(0x342)][_0x4acdfd(0x515)](_0x3c5a8f[_0x4acdfd(0x4fb)])[_0x4acdfd(0x531)](_0x4c7076(this[_0x4acdfd(0x31a)]),_0x3b37a3(0x10))['subscribe'](async _0x3a16e9=>{const _0x23608e=_0x4acdfd,_0x52ef6b=_0x3a16e9[_0x23608e(0x1ea)](),_0x373707=await this[_0x23608e(0x4bf)](_0x52ef6b,ce['UNIVER_SHEET']);this['_entities'][_0x23608e(0x454)](_0x52ef6b,_0x373707);}),this[_0x4acdfd(0x342)][_0x4acdfd(0x515)](_0x3c5a8f[_0x4acdfd(0x39b)])[_0x4acdfd(0x531)](_0x4c7076(this[_0x4acdfd(0x31a)]),_0x3b37a3(0x10))[_0x4acdfd(0x531)](_0x1e3ef3(_0x5da2a6=>!_0x5da2a6[_0x4acdfd(0x1ea)]()[_0x4acdfd(0x542)]('__')))[_0x4acdfd(0x3d4)](async _0x39aa30=>{const _0x143c16=_0x4acdfd,_0x57a93d=_0x39aa30[_0x143c16(0x1ea)](),_0x572afa=await this[_0x143c16(0x4bf)](_0x57a93d,ce[_0x143c16(0x39b)]);this[_0x143c16(0x470)][_0x143c16(0x454)](_0x57a93d,_0x572afa);}),_0x476f09(this[_0x4acdfd(0x342)][_0x4acdfd(0x3b5)](_0x3c5a8f[_0x4acdfd(0x4fb)]),this['_univerInstanceService'][_0x4acdfd(0x3b5)](_0x3c5a8f[_0x4acdfd(0x39b)]))[_0x4acdfd(0x531)](_0x4c7076(this[_0x4acdfd(0x31a)]))[_0x4acdfd(0x3d4)](_0x1b04f6=>{const _0x3ddcb9=_0x4acdfd,_0x197e4c=_0x1b04f6[_0x3ddcb9(0x1ea)](),_0xde80b9=this[_0x3ddcb9(0x470)][_0x3ddcb9(0x519)](_0x197e4c);_0xde80b9&&(_0xde80b9['dispose'](),this['_entities'][_0x3ddcb9(0x276)](_0x197e4c));});}async[_0xe3a6b9(0x4bf)](_0xeded43,_0x228ed6){const _0x3ab7bf=_0xe3a6b9,_0x17e3cc=await this[_0x3ab7bf(0x289)]['requireSession'](_0xeded43),_0x4f0c09=this[_0x3ab7bf(0x4c4)][_0x3ab7bf(0x365)](this[_0x3ab7bf(0x501)](_0x228ed6),_0xeded43,_0x228ed6,_0x17e3cc);return await _0x4f0c09['init'](),this[_0x3ab7bf(0x312)][_0x3ab7bf(0x32a)](_0x4f0c09),_0x4f0c09;}[_0xe3a6b9(0x501)](_0x31abe4){const _0xad072a=_0xe3a6b9;switch(_0x31abe4){case ce[_0xad072a(0x39b)]:return ts;case ce[_0xad072a(0x4fb)]:return ss;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x31abe4);}}};it=So([xt(0x0,_0x432547(_0x521cd6)),xt(0x1,_0x432547(Ae)),xt(0x2,_0x17aa8b)],it);const Vs=[_0xe3a6b9(0x2ce),'jiqing500','verdancy600','red300',_0xe3a6b9(0x3eb),_0xe3a6b9(0x512)];class Es extends _0x4f0ec0{constructor(){const _0x3f703f=_0xe3a6b9;super(...arguments),g(this,'_assignedColors',new Map()),g(this,_0x3f703f(0x2ae),0x0);}[_0xe3a6b9(0x36b)](_0x134e41){const _0x5cf6e3=_0xe3a6b9;if(this[_0x5cf6e3(0x50e)][_0x5cf6e3(0x287)](_0x134e41))return this[_0x5cf6e3(0x50e)][_0x5cf6e3(0x519)](_0x134e41);const _0x3e4409=Vs[this[_0x5cf6e3(0x2ae)]];return this['_colorIndex']=(this[_0x5cf6e3(0x2ae)]+0x1)%Vs['length'],this[_0x5cf6e3(0x50e)][_0x5cf6e3(0x454)](_0x134e41,_0x3e4409),_0x3e4409;}}var Io=Object[_0xe3a6b9(0x2e1)],Co=Object[_0xe3a6b9(0x4b1)],Eo=(_0x21abaa,_0x467354,_0xa74405,_0x576316)=>{const _0x5c04f6=_0xe3a6b9;for(var _0x2068ba=_0x576316>0x1?void 0x0:_0x576316?Co(_0x467354,_0xa74405):_0x467354,_0x2eab36=_0x21abaa[_0x5c04f6(0x285)]-0x1,_0x48770f;_0x2eab36>=0x0;_0x2eab36--)(_0x48770f=_0x21abaa[_0x2eab36])&&(_0x2068ba=(_0x576316?_0x48770f(_0x467354,_0xa74405,_0x2068ba):_0x48770f(_0x2068ba))||_0x2068ba);return _0x576316&&_0x2068ba&&Io(_0x467354,_0xa74405,_0x2068ba),_0x2068ba;},Oe=(_0x4fda0b,_0x205fc3)=>(_0x38aae1,_0x324c7f)=>_0x205fc3(_0x38aae1,_0x324c7f,_0x4fda0b);const bo=0x12c,To=0x64;let is=class extends _0x90c284{constructor(_0x1b78af,_0x4a2a64,_0x1bad83,_0x1abc2c,_0x25deed,_0x5a4653,_0x4c0c2c,_0x5915ef,_0x3c6e80){const _0x17a86b=_0xe3a6b9;super(),g(this,_0x17a86b(0x4ea),!0x1),g(this,_0x17a86b(0x430),!0x1),g(this,_0x17a86b(0x278),new _0x23c074(new Map())),g(this,'cursorInfo$',this[_0x17a86b(0x278)][_0x17a86b(0x28e)]()),g(this,_0x17a86b(0x5a5),new _0x23c074([])),g(this,_0x17a86b(0x593),this['_roomMembers$']['pipe'](_0x3aba06(bo))),g(this,_0x17a86b(0x1f8),_0x27e862(_0x2f02e0=>{const _0x533020=_0x17a86b,_0x354ceb={'eventID':_0xd65e90[_0x533020(0x5af)],'data':{'unitID':this[_0x533020(0x24d)],'memberID':this[_0x533020(0x2f7)]['getMemberID'](),'selection':Di(_0x2f02e0)}};this[_0x533020(0x2f7)][_0x533020(0x48f)](_0x354ceb,this[_0x533020(0x24d)]);},To)),(this['unitID']=_0x1b78af,this['_session']=_0x4a2a64,this[_0x17a86b(0x4c4)]=_0x1bad83,this[_0x17a86b(0x497)]=_0x1abc2c,this['_memberService']=_0x25deed,this['_syncEditingCollabCursorService']=_0x5a4653,this[_0x17a86b(0x5db)]=_0x4c0c2c,this[_0x17a86b(0x342)]=_0x5915ef,this['_commandService']=_0x3c6e80);}get['cursorInfo'](){const _0x1c5a12=_0xe3a6b9;return this[_0x1c5a12(0x278)][_0x1c5a12(0x5de)]();}get[_0xe3a6b9(0x4e7)](){const _0x3126dc=_0xe3a6b9;return this[_0x3126dc(0x5a5)][_0x3126dc(0x5de)]();}['dispose'](){const _0x2dfe29=_0xe3a6b9;super[_0x2dfe29(0x3b4)](),this[_0x2dfe29(0x278)][_0x2dfe29(0x32a)](new Map()),this[_0x2dfe29(0x278)][_0x2dfe29(0x2ef)](),this[_0x2dfe29(0x5a5)][_0x2dfe29(0x32a)]([]),this['_roomMembers$'][_0x2dfe29(0x2ef)]();}[_0xe3a6b9(0x4c3)](){const _0x2e63c6=_0xe3a6b9;this['_init']||(this[_0x2e63c6(0x430)]=!0x0,this[_0x2e63c6(0x2f7)][_0x2e63c6(0x5d6)][_0x2e63c6(0x531)](_0x4c7076(this[_0x2e63c6(0x31a)]))[_0x2e63c6(0x3d4)](_0x3be3ed=>{const _0x2c84d3=_0x2e63c6;_0x3be3ed===ve['ONLINE']?this[_0x2c84d3(0x1f6)]():this[_0x2c84d3(0x558)]();}),this['_session']['event$'][_0x2e63c6(0x531)](_0x4c7076(this[_0x2e63c6(0x31a)]))[_0x2e63c6(0x3d4)](_0x2c83d8=>{const _0x537fb9=_0x2e63c6,_0x45c9cc=_0x2c83d8['eventID'];_0x45c9cc===_0xd65e90['UPDATE_CURSOR']&&this[_0x537fb9(0x5d4)](_0x2c83d8),_0x45c9cc===_0xd65e90['USERS_LEAVE']&&this[_0x537fb9(0x574)](_0x2c83d8);}),this[_0x2e63c6(0x5d1)](this[_0x2e63c6(0x1e6)]['onCommandExecuted'](_0x212866=>{const _0x151946=_0x2e63c6,_0x4f366b=_0x212866[_0x151946(0x2de)];_0x4f366b!=null&&this[_0x151946(0x4ea)]&&_0x212866['id']===_0xcb3313['id']&&_0x4f366b[_0x151946(0x2d5)]===this['unitID']&&_0x4f366b[_0x151946(0x1eb)]===!0x1&&_0x4f366b[_0x151946(0x55f)][_0x151946(0x285)]>0x0&&this[_0x151946(0x1f8)](_0x4f366b[_0x151946(0x55f)]);})),this['_syncEditingCollabCursorService'][_0x2e63c6(0x202)][_0x2e63c6(0x531)](_0x4c7076(this[_0x2e63c6(0x31a)]))[_0x2e63c6(0x3d4)](_0x8147be=>{const _0x2254f8=_0x2e63c6;if((_0x8147be==null?void 0x0:_0x8147be[_0x2254f8(0x24d)])!==this['unitID'])return;const _0x196363={'eventID':_0xd65e90['UPDATE_CURSOR'],'data':_0x8147be};this['_onCursorUpdate'](_0x196363);}),this['disposeWithMe'](this[_0x2e63c6(0x1e6)][_0x2e63c6(0x384)](_0xebccc4=>{const _0x5cad4b=_0x2e63c6;if(_0xebccc4[_0x5cad4b(0x2de)]==null)return;const _0x37b01e=_0xebccc4['params'];if(_0xebccc4['id']!==_0xe5a7a5['id']||_0x37b01e[_0x5cad4b(0x2d5)]!==this['unitID'])return;const _0x3a3302={'id':_0x5cad4b(0x523),'params':_0x37b01e},_0x479297=this['cursorInfo'];for(const [_0x475094,_0x43214d]of _0x479297){const _0x26d52d={'id':_0x5cad4b(0x523),'params':{'unitId':this[_0x5cad4b(0x24d)],'actions':null,'textRanges':_0x43214d['ranges']}},_0x266505=this[_0x5cad4b(0x5db)][_0x5cad4b(0x396)](_0x3a3302,_0x26d52d,!0x1);if(_0x54625d(_0x266505))throw _0x266505[_0x5cad4b(0x46c)];_0x479297[_0x5cad4b(0x454)](_0x475094,{..._0x43214d,'ranges':_0x266505[_0x5cad4b(0x339)][_0x5cad4b(0x2de)][_0x5cad4b(0x4fe)]});}queueMicrotask(()=>{const _0xb1317b=_0x5cad4b;this['_cursorInfo$'][_0xb1317b(0x32a)](_0x479297);});})));}[_0xe3a6b9(0x5d4)](_0x27e956){const _0x475d1f=_0xe3a6b9;var _0x14a1b0,_0x21c479;const {memberID:_0x41c54f,selection:_0x19fcc7}=_0x27e956[_0x475d1f(0x2be)],_0x3a2810=ro(_0x19fcc7),_0x1f8790=(_0x21c479=(_0x14a1b0=this['_memberService'][_0x475d1f(0x332)](this['unitID'],_0x41c54f))==null?void 0x0:_0x14a1b0['name'])!=null?_0x21c479:_0x475d1f(0x5b9),_0x55695a={'color':this[_0x475d1f(0x497)][_0x475d1f(0x36b)](_0x41c54f),'name':_0x1f8790,'ranges':_0x3a2810},_0x14feb7=this[_0x475d1f(0x383)];_0x14feb7[_0x475d1f(0x454)](_0x41c54f,_0x55695a),this['_cursorInfo$'][_0x475d1f(0x32a)](_0x14feb7);}[_0xe3a6b9(0x574)](_0x6aabf6){const _0x5dd206=_0xe3a6b9,{memberID:_0x2531e1}=_0x6aabf6[_0x5dd206(0x2be)],_0x3b6316=this[_0x5dd206(0x383)];_0x3b6316[_0x5dd206(0x276)](_0x2531e1),this['_cursorInfo$']['next'](_0x3b6316);}[_0xe3a6b9(0x1f6)](){const _0x328881=_0xe3a6b9;var _0x420e7d;if(this[_0x328881(0x4ea)]=!0x0,((_0x420e7d=this[_0x328881(0x342)][_0x328881(0x482)]())==null?void 0x0:_0x420e7d['getUnitId']())!==this[_0x328881(0x24d)])return;const _0x4a7524=this['_injector']['get'](_0x5b3cb8)[_0x328881(0x29a)]();Array['isArray'](_0x4a7524)&&_0x4a7524['length']>0x0&&this['_updateLocalCursor'](_0x4a7524);}[_0xe3a6b9(0x558)](){const _0x3b17b7=_0xe3a6b9;this[_0x3b17b7(0x4ea)]=!0x1;}};is=Eo([Oe(0x2,_0x432547(_0x521cd6)),Oe(0x3,_0x432547(Es)),Oe(0x4,_0x432547(Ne)),Oe(0x5,_0x432547(Is)),Oe(0x6,_0x24b4da),Oe(0x7,_0x17aa8b),Oe(0x8,_0xc67fcf)],is);var Ro=Object[_0xe3a6b9(0x2e1)],yo=Object[_0xe3a6b9(0x4b1)],Oo=(_0x1c268b,_0x4a6e9e,_0x2429db,_0x3ed919)=>{const _0x5c9ea4=_0xe3a6b9;for(var _0x2281d3=_0x3ed919>0x1?void 0x0:_0x3ed919?yo(_0x4a6e9e,_0x2429db):_0x4a6e9e,_0x21ebdf=_0x1c268b[_0x5c9ea4(0x285)]-0x1,_0x1efbeb;_0x21ebdf>=0x0;_0x21ebdf--)(_0x1efbeb=_0x1c268b[_0x21ebdf])&&(_0x2281d3=(_0x3ed919?_0x1efbeb(_0x4a6e9e,_0x2429db,_0x2281d3):_0x1efbeb(_0x2281d3))||_0x2281d3);return _0x3ed919&&_0x2281d3&&Ro(_0x4a6e9e,_0x2429db,_0x2281d3),_0x2281d3;},Be=(_0x1e1363,_0x52a306)=>(_0x449aac,_0x5ee1ea)=>_0x52a306(_0x449aac,_0x5ee1ea,_0x1e1363);const wo=0x12c,Do=0x64,Po=()=>{let _0x859c09=[],_0xb9c103=!0x1;return _0x4903d5=>{const _0x2f780e=_0x272d;_0x859c09[_0x2f780e(0x3f6)](_0x4903d5),_0xb9c103||(_0xb9c103=!0x0,setTimeout(()=>{const _0x5a65eb=_0x2f780e;_0x859c09[_0x5a65eb(0x3b9)](_0x38a683=>_0x38a683()),_0x859c09=[],_0xb9c103=!0x1;}));};};let ns=class extends _0x90c284{constructor(_0x457840,_0x5ea4c4,_0x109dbb,_0x46fecd,_0xc61ef8,_0x1e94be,_0x214f59,_0xda2c4f){const _0x36d2ba=_0xe3a6b9;super(),g(this,_0x36d2ba(0x4ea),!0x1),g(this,'_init',!0x1),g(this,_0x36d2ba(0x278),new _0x23c074(new Map())),g(this,_0x36d2ba(0x234),this['_cursorInfo$']['asObservable']()),g(this,_0x36d2ba(0x5a5),new _0x23c074([])),g(this,_0x36d2ba(0x593),this[_0x36d2ba(0x5a5)][_0x36d2ba(0x531)](_0x3aba06(wo))),g(this,'_updateLocalCursor',_0x27e862((_0x4aa152,_0x1e09f1)=>{const _0x33d678=_0x36d2ba,_0x36810b={'eventID':_0xd65e90[_0x33d678(0x5af)],'data':{'unitID':this[_0x33d678(0x24d)],'memberID':this[_0x33d678(0x2f7)][_0x33d678(0x446)](),'selection':_0x46c3af(_0x4aa152,_0x1e09f1[_0x33d678(0x4d1)])}};this[_0x33d678(0x2f7)][_0x33d678(0x48f)](_0x36810b,this['unitID']);},Do)),(this['unitID']=_0x457840,this[_0x36d2ba(0x2f7)]=_0x5ea4c4,this[_0x36d2ba(0x4c4)]=_0x109dbb,this[_0x36d2ba(0x497)]=_0x46fecd,this['_memberService']=_0xc61ef8,this[_0x36d2ba(0x342)]=_0x1e94be,this[_0x36d2ba(0x1e6)]=_0x214f59,this['_refRangeService']=_0xda2c4f);}get['cursorInfo'](){const _0x49bc70=_0xe3a6b9;return this[_0x49bc70(0x278)][_0x49bc70(0x5de)]();}get[_0xe3a6b9(0x4e7)](){const _0x27fdc5=_0xe3a6b9;return this[_0x27fdc5(0x5a5)][_0x27fdc5(0x5de)]();}[_0xe3a6b9(0x3b4)](){const _0x56befb=_0xe3a6b9;super[_0x56befb(0x3b4)](),this['_cursorInfo$']['next'](new Map()),this[_0x56befb(0x278)]['complete'](),this['_roomMembers$'][_0x56befb(0x32a)]([]),this[_0x56befb(0x5a5)][_0x56befb(0x2ef)]();}[_0xe3a6b9(0x4c3)](){const _0x597813=_0xe3a6b9;this[_0x597813(0x430)]||(this[_0x597813(0x430)]=!0x0,this[_0x597813(0x2f7)][_0x597813(0x5d6)]['pipe'](_0x4c7076(this[_0x597813(0x31a)]))[_0x597813(0x3d4)](_0x28be3f=>{const _0x1879b4=_0x597813;_0x28be3f===ve[_0x1879b4(0x25a)]?this[_0x1879b4(0x1f6)]():this['_toggleOffline']();}),this[_0x597813(0x2f7)][_0x597813(0x506)][_0x597813(0x531)](_0x4c7076(this[_0x597813(0x31a)]))[_0x597813(0x3d4)](_0x411924=>{const _0xee11b0=_0x597813,_0x4bbf22=_0x411924['eventID'];_0x4bbf22===_0xd65e90[_0xee11b0(0x5af)]&&this[_0xee11b0(0x5d4)](_0x411924),_0x4bbf22===_0xd65e90[_0xee11b0(0x467)]&&this[_0xee11b0(0x574)](_0x411924);}),this[_0x597813(0x22c)](),this[_0x597813(0x5d1)](this[_0x597813(0x1e6)][_0x597813(0x384)](_0x27f24c=>{const _0xc23a99=_0x597813;if(this[_0xc23a99(0x4ea)]&&_0x27f24c['id']===_0x5aa13c['id']&&_0x27f24c[_0xc23a99(0x2de)][_0xc23a99(0x2d5)]===this[_0xc23a99(0x24d)]){const _0x1b9b2d=_0x27f24c[_0xc23a99(0x2de)];this['_updateLocalCursor'](_0x1b9b2d[_0xc23a99(0x428)],_0x1b9b2d[_0xc23a99(0x3b3)][0x0]);}})));}[_0xe3a6b9(0x5d4)](_0x1f6679){const _0x58e62e=_0xe3a6b9;var _0x3b5d7f,_0x5143d6;const {memberID:_0x238786,selection:_0x4fe397}=_0x1f6679[_0x58e62e(0x2be)],{sheetName:_0x45a58f,range:_0x95ed40}=_0x2d4d8f(_0x4fe397),_0x58d82a={'name':(_0x5143d6=(_0x3b5d7f=this[_0x58e62e(0x208)][_0x58e62e(0x332)](this['unitID'],_0x238786))==null?void 0x0:_0x3b5d7f[_0x58e62e(0x27f)])!=null?_0x5143d6:_0x58e62e(0x5b9),'range':this[_0x58e62e(0x569)](_0x45a58f,_0x95ed40),'sheetID':_0x45a58f,'color':this['_colorAssignService'][_0x58e62e(0x36b)](_0x238786),'selection':_0x4fe397},_0x37b49c=this[_0x58e62e(0x383)];_0x37b49c[_0x58e62e(0x454)](_0x238786,_0x58d82a),this[_0x58e62e(0x278)][_0x58e62e(0x32a)](_0x37b49c);}[_0xe3a6b9(0x574)](_0x28585a){const _0x476b4=_0xe3a6b9,{memberID:_0x17cb40}=_0x28585a['data'],_0x38d694=this['cursorInfo'];_0x38d694['delete'](_0x17cb40),this[_0x476b4(0x278)][_0x476b4(0x32a)](_0x38d694);}[_0xe3a6b9(0x569)](_0x12a141,_0xfafc68){const _0x44ce27=_0xe3a6b9;var _0x3f6dfc,_0xd6cd72;const _0xf6a7fd=(_0xd6cd72=(_0x3f6dfc=this[_0x44ce27(0x342)]['getUniverSheetInstance'](this[_0x44ce27(0x24d)]))==null?void 0x0:_0x3f6dfc[_0x44ce27(0x250)](_0x12a141))==null?void 0x0:_0xd6cd72[_0x44ce27(0x57a)]();return(_0xf6a7fd==null?void 0x0:_0xf6a7fd['find'](_0x667244=>_0x76407c[_0x44ce27(0x521)](_0x667244,_0xfafc68)))||_0xfafc68;}[_0xe3a6b9(0x22c)](){const _0xbabb51=_0xe3a6b9,_0xd478b6=new _0x1161a0(),_0x56b5f4=Po(),_0x359507=()=>{const _0x1e0f78=_0x272d;_0xd478b6[_0x1e0f78(0x3b4)]();const _0xb24a42=(_0x3025f4,_0x3944f4,_0xefa23b,_0x4e396e)=>{const _0x4ac174=_0x1e0f78;let _0x951a7b=[];switch(_0x3025f4['id']){case _0x416659[_0x4ac174(0x5a0)]:{_0x951a7b=_0x432a43(_0x3025f4,_0x4e396e);break;}case _0x416659['DeleteRangeMoveUpCommandId']:{_0x951a7b=_0x52baa3(_0x3025f4,_0x4e396e);break;}case _0x416659['InsertColCommandId']:{_0x951a7b=_0x3a99f0(_0x3025f4,_0x4e396e);break;}case _0x416659[_0x4ac174(0x405)]:{_0x951a7b=_0x34e8fa(_0x3025f4,_0x4e396e);break;}case _0x416659['InsertRangeMoveRightCommandId']:{_0x951a7b=_0x101bd3(_0x3025f4,_0x4e396e);break;}case _0x416659['InsertRowCommandId']:{_0x951a7b=_0x38c8e7(_0x3025f4,_0x4e396e);break;}case _0x416659[_0x4ac174(0x455)]:{_0x951a7b=_0x2776b2(_0x3025f4,_0x4e396e);break;}case _0x416659[_0x4ac174(0x42c)]:{_0x951a7b=_0x1365f2(_0x3025f4,_0x4e396e);break;}case _0x416659[_0x4ac174(0x442)]:{_0x951a7b=_0xea0096(_0x3025f4,_0x4e396e);break;}}const _0x49796c=_0x5b9034(_0x951a7b,_0x4e396e),_0xfb6a10=this[_0x4ac174(0x383)][_0x4ac174(0x519)](_0x3944f4);if(_0xfb6a10&&_0x49796c){const _0x2e5640={..._0xfb6a10,'range':_0x49796c};this[_0x4ac174(0x383)][_0x4ac174(0x454)](_0x3944f4,_0x2e5640),_0x56b5f4(()=>{const _0x1488b1=_0x4ac174,_0x321057=this[_0x1488b1(0x495)]['registerRefRange'](_0x49796c,_0x1a44ce=>(_0x321057[_0x1488b1(0x3b4)](),_0xb24a42(_0x1a44ce,_0x3944f4,_0xefa23b,_0x49796c)));_0xd478b6[_0x1488b1(0x500)](_0x321057);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1e0f78(0x3b9)]((_0x3371a7,_0x1ce356)=>{const _0xea69d6=_0x1e0f78,{range:_0x482d85,sheetID:_0x500c84}=_0x3371a7,_0x37ba63=this['_refRangeService'][_0xea69d6(0x4fd)](_0x482d85,_0x3d6fd1=>(_0x37ba63[_0xea69d6(0x3b4)](),_0xb24a42(_0x3d6fd1,_0x1ce356,_0x500c84,_0x482d85)));_0xd478b6[_0xea69d6(0x500)](_0x37ba63);});};this['disposeWithMe'](_0x3b9b0c(this[_0xbabb51(0x278)][_0xbabb51(0x3d4)](()=>{_0x359507();})));}[_0xe3a6b9(0x1f6)](){const _0xcad891=_0xe3a6b9;var _0x22f9a8,_0x1b7b1c;if(this[_0xcad891(0x4ea)]=!0x0,((_0x22f9a8=this[_0xcad891(0x342)][_0xcad891(0x482)]())==null?void 0x0:_0x22f9a8['getUnitId']())!==this[_0xcad891(0x24d)])return;const _0x25246a=(_0x1b7b1c=this[_0xcad891(0x4c4)]['get'](_0x3e7423)[_0xcad891(0x4ed)]())==null?void 0x0:_0x1b7b1c[0x0],_0x3faaf6=this[_0xcad891(0x342)][_0xcad891(0x2f9)](_0x3c5a8f[_0xcad891(0x4fb)])[_0xcad891(0x39e)]();_0x25246a&&_0x3faaf6&&this[_0xcad891(0x1f8)](_0x3faaf6[_0xcad891(0x325)](),_0x25246a);}[_0xe3a6b9(0x558)](){const _0x49dd42=_0xe3a6b9;this[_0x49dd42(0x4ea)]=!0x1;}};ns=Oo([Be(0x2,_0x432547(_0x521cd6)),Be(0x3,_0x432547(Es)),Be(0x4,_0x432547(Ne)),Be(0x5,_0x17aa8b),Be(0x6,_0xc67fcf),Be(0x7,_0x432547(_0x49605c))],ns);var Uo=Object[_0xe3a6b9(0x2e1)],No=Object[_0xe3a6b9(0x4b1)],Ao=(_0x243280,_0x3d8d72,_0x5bc236,_0x44decf)=>{const _0x593e1b=_0xe3a6b9;for(var _0x22abed=_0x44decf>0x1?void 0x0:_0x44decf?No(_0x3d8d72,_0x5bc236):_0x3d8d72,_0x851913=_0x243280[_0x593e1b(0x285)]-0x1,_0x22be29;_0x851913>=0x0;_0x851913--)(_0x22be29=_0x243280[_0x851913])&&(_0x22abed=(_0x44decf?_0x22be29(_0x3d8d72,_0x5bc236,_0x22abed):_0x22be29(_0x22abed))||_0x22abed);return _0x44decf&&_0x22abed&&Uo(_0x3d8d72,_0x5bc236,_0x22abed),_0x22abed;},Lt=(_0x788ba3,_0x34a8c1)=>(_0x2963f1,_0x4033d7)=>_0x34a8c1(_0x2963f1,_0x4033d7,_0x788ba3);let Ve=class extends _0x90c284{constructor(_0x5f01bb,_0x34fa2d,_0x5a1674){const _0x3e1ada=_0xe3a6b9;super(),g(this,'_entities',new Map()),g(this,'_entityInit$',new _0xbd68e4()),(this[_0x3e1ada(0x342)]=_0x5f01bb,this['_injector']=_0x34fa2d,this['_collabSessionService']=_0x5a1674,this['_init']());}[_0xe3a6b9(0x3b4)](){const _0x2ab6f7=_0xe3a6b9;super[_0x2ab6f7(0x3b4)](),this['_entityInit$'][_0x2ab6f7(0x2ef)](),this[_0x2ab6f7(0x470)][_0x2ab6f7(0x3b9)](_0x2fff39=>_0x2fff39[_0x2ab6f7(0x3b4)]());}[_0xe3a6b9(0x507)](_0x137962){const _0x377e54=_0xe3a6b9;return this[_0x377e54(0x470)]['has'](_0x137962)?this[_0x377e54(0x470)][_0x377e54(0x519)](_0x137962)[_0x377e54(0x234)]:this[_0x377e54(0x312)]['pipe'](_0x4b4ea5(_0x1662c4=>_0x1662c4[_0x377e54(0x24d)]===_0x137962),_0x211e4b(_0x2e09aa=>_0x2e09aa[_0x377e54(0x234)]));}[_0xe3a6b9(0x430)](){const _0x4b26c5=_0xe3a6b9;this[_0x4b26c5(0x342)][_0x4b26c5(0x515)](_0x3c5a8f[_0x4b26c5(0x4fb)])[_0x4b26c5(0x531)](_0x4c7076(this[_0x4b26c5(0x31a)]))[_0x4b26c5(0x3d4)](async _0x228300=>{const _0x27afba=_0x4b26c5,_0x35b6ef=_0x228300[_0x27afba(0x1ea)](),_0x4f997b=await this[_0x27afba(0x3ae)](_0x35b6ef);this[_0x27afba(0x312)]['next'](_0x4f997b),this[_0x27afba(0x470)]['set'](_0x35b6ef,_0x4f997b);}),this[_0x4b26c5(0x342)]['getTypeOfUnitAdded$'](_0x3c5a8f['UNIVER_DOC'])[_0x4b26c5(0x531)](_0x4c7076(this[_0x4b26c5(0x31a)]))[_0x4b26c5(0x531)](_0x4b4ea5(_0x5c864d=>!_0x5c864d[_0x4b26c5(0x1ea)]()[_0x4b26c5(0x542)]('__')))[_0x4b26c5(0x3d4)](async _0x1660f1=>{const _0x475123=_0x4b26c5,_0x4dfc11=_0x1660f1[_0x475123(0x1ea)](),_0x318174=await this[_0x475123(0x24e)](_0x4dfc11);this[_0x475123(0x312)][_0x475123(0x32a)](_0x318174),this['_entities'][_0x475123(0x454)](_0x4dfc11,_0x318174);}),_0x476f09(this[_0x4b26c5(0x342)][_0x4b26c5(0x3b5)](_0x3c5a8f[_0x4b26c5(0x39b)]),this[_0x4b26c5(0x342)][_0x4b26c5(0x3b5)](_0x3c5a8f['UNIVER_SHEET']))[_0x4b26c5(0x531)](_0x4c7076(this[_0x4b26c5(0x31a)]))[_0x4b26c5(0x3d4)](_0x19e688=>{const _0x117aad=_0x4b26c5,_0x2b606e=_0x19e688[_0x117aad(0x1ea)](),_0x33032f=this['_entities'][_0x117aad(0x519)](_0x2b606e);_0x33032f&&(_0x33032f[_0x117aad(0x3b4)](),this[_0x117aad(0x470)][_0x117aad(0x276)](_0x2b606e));});}async[_0xe3a6b9(0x3ae)](_0x42fe46){const _0x2ad4b5=_0xe3a6b9,_0x529211=await this[_0x2ad4b5(0x289)][_0x2ad4b5(0x388)](_0x42fe46),_0x42d760=this['_injector']['createInstance'](ns,_0x42fe46,_0x529211);return _0x42d760[_0x2ad4b5(0x4c3)](),_0x42d760;}async[_0xe3a6b9(0x24e)](_0x84dd2c){const _0x426d4b=_0xe3a6b9,_0x4edc21=await this[_0x426d4b(0x289)][_0x426d4b(0x388)](_0x84dd2c),_0x1191b9=this[_0x426d4b(0x4c4)]['createInstance'](is,_0x84dd2c,_0x4edc21);return _0x1191b9[_0x426d4b(0x4c3)](),_0x1191b9;}};Ve=Ao([Lt(0x0,_0x17aa8b),Lt(0x1,_0x432547(_0x521cd6)),Lt(0x2,_0x432547(Ae))],Ve);const nt=0x14,Gs=0xc8,$t=0x4,Mo=0x5;function xo(_0x164174,_0x2bebd6){const _0x37621f=_0xe3a6b9;let {radius:_0x30e717,width:_0x23c999,height:_0x225094}=_0x2bebd6;_0x30e717=_0x30e717!=null?_0x30e717:0x0,_0x23c999=_0x23c999!=null?_0x23c999:0x1e,_0x225094=_0x225094!=null?_0x225094:0x1e;let _0x27afca=0x0,_0x5c289c=0x0,_0x2cbcc3=0x0;_0x27afca=_0x5c289c=_0x2cbcc3=Math['min'](_0x30e717,_0x23c999/0x2,_0x225094/0x2),_0x164174[_0x37621f(0x2eb)](),_0x164174[_0x37621f(0x4dd)](_0x27afca,0x0),_0x164174[_0x37621f(0x51a)](_0x23c999-_0x5c289c,0x0),_0x164174[_0x37621f(0x3db)](_0x23c999-_0x5c289c,_0x5c289c,_0x5c289c,Math['PI']*0x3/0x2,0x0,!0x1),_0x164174[_0x37621f(0x51a)](_0x23c999,_0x225094-_0x2cbcc3),_0x164174[_0x37621f(0x3db)](_0x23c999-_0x2cbcc3,_0x225094-_0x2cbcc3,_0x2cbcc3,0x0,Math['PI']/0x2,!0x1),_0x164174['lineTo'](0x0,_0x225094),_0x164174[_0x37621f(0x51a)](0x0,_0x27afca),_0x164174[_0x37621f(0x3db)](_0x27afca,_0x27afca,_0x27afca,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x164174[_0x37621f(0x248)](),_0x2bebd6[_0x37621f(0x5c1)]&&(_0x164174[_0x37621f(0x543)](),_0x164174[_0x37621f(0x498)]=_0x2bebd6[_0x37621f(0x5c1)],_0x2bebd6['fillRule']===_0x37621f(0x565)?_0x164174[_0x37621f(0x5c1)](_0x37621f(0x565)):_0x164174[_0x37621f(0x5c1)](),_0x164174[_0x37621f(0x5a6)]());}class yt extends _0x4d54b9{constructor(_0x4b7b78,_0x31918a){const _0x3bbefa=_0xe3a6b9;super(_0x4b7b78,_0x31918a),g(this,'color'),g(this,_0x3bbefa(0x52b)),(this[_0x3bbefa(0x5bf)]=_0x31918a==null?void 0x0:_0x31918a[_0x3bbefa(0x5bf)],this[_0x3bbefa(0x52b)]=_0x31918a==null?void 0x0:_0x31918a[_0x3bbefa(0x52b)]);}static[_0xe3a6b9(0x533)](_0x358a0a,_0x1f560e){const _0x194504=_0xe3a6b9,{text:_0x10faeb,color:_0x23699e}=_0x1f560e;_0x358a0a[_0x194504(0x543)](),_0x358a0a[_0x194504(0x579)]=_0x194504(0x370);const _0x1cfb0c=_0x358a0a[_0x194504(0x5b1)](_0x10faeb)[_0x194504(0x4ff)],_0x1827da=Math[_0x194504(0x3bb)](_0x1cfb0c+0x2*$t,Gs);xo(_0x358a0a,{'height':nt,'radius':0x4,'width':_0x1827da,'fill':_0x23699e,'evented':!0x1}),_0x358a0a['fillStyle']='#FFF';const _0x30096a=$t,_0x25050d=nt-Mo,_0x319a18=Gs-0x2*$t;if(_0x1cfb0c>_0x319a18){let _0x140725='',_0x1502c1=0x0;for(const _0x17462e of _0x10faeb){const _0x437b89=_0x358a0a[_0x194504(0x5b1)](_0x17462e)[_0x194504(0x4ff)];if(_0x1502c1+_0x437b89<=_0x319a18-_0x358a0a[_0x194504(0x5b1)](_0x194504(0x50f))['width'])_0x140725+=_0x17462e,_0x1502c1+=_0x437b89;else{_0x140725+=_0x194504(0x50f);break;}}_0x358a0a['fillText'](_0x140725,_0x30096a,_0x25050d);}else _0x358a0a[_0x194504(0x374)](_0x10faeb,_0x30096a,_0x25050d);_0x358a0a[_0x194504(0x5a6)]();}['_draw'](_0x3e4074){const _0xa2db64=_0xe3a6b9;yt[_0xa2db64(0x533)](_0x3e4074,this);}}const Ht=_0xe3a6b9(0x293),Lo=_0xe3a6b9(0x2da),$o=_0xe3a6b9(0x409),Je=0x6,Ho=1.5,jt=0x4,jo=1.5,Bo=_0xe3a6b9(0x4d2);class Ys{constructor(_0x33a383,_0x3805f2,_0x5d8b78,_0x239d67){const _0x18aa00=_0xe3a6b9;g(this,_0x18aa00(0x57b),[]),g(this,_0x18aa00(0x509),null),g(this,_0x18aa00(0x25b),null),g(this,_0x18aa00(0x522),null),g(this,_0x18aa00(0x2c9),null),g(this,_0x18aa00(0x20c),null),(this[_0x18aa00(0x31d)]=_0x33a383,this[_0x18aa00(0x24f)]=_0x3805f2,this[_0x18aa00(0x3cf)]=_0x5d8b78,this[_0x18aa00(0x39d)]=_0x239d67,this[_0x18aa00(0x479)]());}set[_0xe3a6b9(0x43b)](_0x3e63e3){const _0x580933=_0xe3a6b9;_0x3e63e3?(this[_0x580933(0x522)]&&this[_0x580933(0x522)][_0x580933(0x50b)](),this[_0x580933(0x25b)]&&this[_0x580933(0x25b)]['show']()):(this['_anchorDot']&&this[_0x580933(0x522)]['show'](),this[_0x580933(0x25b)]&&this[_0x580933(0x25b)][_0x580933(0x50b)]());}['dispose'](){const _0x3f444b=_0xe3a6b9;for(const _0x3a0b97 of this[_0x3f444b(0x57b)])_0x3a0b97[_0x3f444b(0x3b4)]();this[_0x3f444b(0x25b)]&&this[_0x3f444b(0x25b)]['dispose'](),this['_anchorDot']&&this[_0x3f444b(0x522)]['dispose'](),this['_anchor']&&this[_0x3f444b(0x509)][_0x3f444b(0x3b4)](),this[_0x3f444b(0x20c)]&&this['_eventUnsubscribe']();}[_0xe3a6b9(0x479)](){const _0x91b876=_0xe3a6b9;var _0x2ab6c4;const {_docSkeleton:_0x5af3c8,_document:_0x1b8f35}=this,{color:_0xdab8df,name:_0x512ac3,ranges:_0x36a217}=this['_cursor'],_0x2bec57=_0x1b8f35[_0x91b876(0x5b4)](),{docsLeft:_0xff2237,docsTop:_0x466a34}=_0x2bec57,_0x3e39b7=new _0x3c488e(_0x2bec57,_0x5af3c8);for(const {startOffset:_0x177df2,endOffset:_0x18ee01,rangeType:_0x2e745f,segmentId:_0x1c7b94,segmentPage:_0x5160c0,collapsed:_0x26f432,isActive:_0x2109c3}of _0x36a217){const _0x36610=_0x5af3c8[_0x91b876(0x27d)](_0x177df2,!0x0,_0x1c7b94,_0x5160c0);let _0x5d03ba=_0x5af3c8[_0x91b876(0x27d)](_0x18ee01,!0x0,_0x1c7b94,_0x5160c0);if(_0x5d03ba==null&&(_0x5d03ba=_0x5af3c8[_0x91b876(0x27d)](_0x18ee01-0x1,!0x1,_0x1c7b94,_0x5160c0)),_0x2109c3){const {contentBoxPointGroup:_0xa214eb}=_0x3e39b7[_0x91b876(0x32d)](_0x5d03ba,_0x5d03ba);if(_0xa214eb[_0x91b876(0x285)]===0x0)continue;this['_drawAnchor'](_0xdab8df,_0xa214eb,_0xff2237,_0x466a34,_0x512ac3),this[_0x91b876(0x20c)]=this[_0x91b876(0x540)]();}if(!_0x26f432&&_0x36610&&_0x5d03ba){if(_0x2e745f===_0x38924c[_0x91b876(0x3a8)]){const _0x356dad=new _0x39808e(_0x2bec57,_0x5af3c8),{pointGroup:_0x4784d7}=(_0x2ab6c4=_0x356dad[_0x91b876(0x32d)](_0x36610,_0x5d03ba))!=null?_0x2ab6c4:{};if(_0x4784d7==null||_0x4784d7[_0x91b876(0x285)]===0x0)continue;this[_0x91b876(0x567)](_0xdab8df,_0x4784d7,_0xff2237,_0x466a34);}else{const {borderBoxPointGroup:_0x3f3409}=_0x3e39b7['getRangePointData'](_0x36610,_0x5d03ba);if(_0x3f3409[_0x91b876(0x285)]===0x0)continue;this['_drawTextRange'](_0xdab8df,_0x3f3409,_0xff2237,_0x466a34);}}}}[_0xe3a6b9(0x4dc)](_0x3cddd0,_0x5240d5,_0x59af12,_0xb8a1bc,_0x233178){const _0x1fd558=_0xe3a6b9,_0x52d6a4=this[_0x1fd558(0x38d)](_0x5240d5),{left:_0x56d5f,top:_0x283357,height:_0xf99e13}=_0x52d6a4,_0x1941db=this[_0x1fd558(0x4f0)](),_0x3191d0=jo/_0x1941db,_0x3c5fae=new _0x572d5b(Ht+_0x1d5b8a[_0x1fd558(0x349)](Je),{'left':_0x56d5f+_0x59af12-_0x3191d0,'top':_0x283357+_0xb8a1bc,'height':_0xf99e13,'width':Ho,'fill':_0x3cddd0||_0x52f2b6(_0x43d58a['black'],0x0),'strokeWidth':_0x3191d0,'stroke':Bo,'evented':!0x0});this[_0x1fd558(0x509)]=_0x3c5fae,this[_0x1fd558(0x24f)][_0x1fd558(0x3c4)](_0x3c5fae,_0x4e8654);const _0x3f7568=new _0x572d5b(Ht+_0x1d5b8a[_0x1fd558(0x349)](Je),{'left':_0x56d5f+_0x59af12-_0x3191d0,'top':_0x283357+_0xb8a1bc-jt/0x2,'height':jt,'width':jt,'fill':_0x3cddd0||_0x52f2b6(_0x43d58a[_0x1fd558(0x3ec)],0x0),'strokeWidth':0x0,'stroke':_0x3cddd0||_0x52f2b6(_0x43d58a[_0x1fd558(0x3ec)],0x0),'evented':!0x1});this[_0x1fd558(0x522)]=_0x3f7568,this[_0x1fd558(0x24f)]['addObject'](_0x3f7568,_0x4e8654);const _0x532d47=new yt(Ht+_0x1d5b8a[_0x1fd558(0x349)](Je),{'left':_0x56d5f+_0x59af12-_0x3191d0,'top':_0x283357+_0xb8a1bc-nt,'text':_0x233178,'color':_0x3cddd0});this[_0x1fd558(0x25b)]=_0x532d47,this['_scene'][_0x1fd558(0x3c4)](_0x532d47,_0x4e8654),this[_0x1fd558(0x43b)]=!0x1;}[_0xe3a6b9(0x540)](){const _0x2cf3d4=_0xe3a6b9,_0x576e81=this[_0x2cf3d4(0x509)][_0x2cf3d4(0x20d)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0xade619=this[_0x2cf3d4(0x509)][_0x2cf3d4(0x27b)][_0x2cf3d4(0x39c)](()=>{const _0x34b320=_0x2cf3d4;this[_0x34b320(0x2c9)]&&clearTimeout(this[_0x34b320(0x2c9)]),this['_hideTimer']=setTimeout(()=>{const _0xe8219b=_0x34b320;this[_0xe8219b(0x43b)]=!0x1;},0x7d0);});return()=>{const _0x5e2308=_0x2cf3d4;_0x576e81['unsubscribe'](),_0xade619[_0x5e2308(0x1e1)]();};}['_drawTextRange'](_0x43f636,_0x3aa7b9,_0x20ee31,_0x24a992){const _0xc601f=_0xe3a6b9,_0x5e9c6e=new _0x31e659(_0x43f636)[_0xc601f(0x58a)](0.2)['toRgbString'](),_0x1325e7=new _0x3d8108(Lo+_0x1d5b8a[_0xc601f(0x349)](Je),{'pointsGroup':_0x3aa7b9,'fill':_0x5e9c6e||_0x52f2b6(_0x43d58a[_0xc601f(0x3ec)],0.2),'left':_0x20ee31,'top':_0x24a992,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc601f(0x57b)][_0xc601f(0x3f6)](_0x1325e7),this[_0xc601f(0x24f)]['addObject'](_0x1325e7,_0x4e8654);}[_0xe3a6b9(0x567)](_0x1ca504,_0xbb46ef,_0x4a4713,_0x30abb7){const _0x94ff94=_0xe3a6b9,_0xa875c9=new _0x31e659(_0x1ca504)[_0x94ff94(0x58a)](0.2)[_0x94ff94(0x54c)](),_0x17a585=new _0x3d8108($o+_0x1d5b8a[_0x94ff94(0x349)](Je),{'pointsGroup':_0xbb46ef,'fill':_0xa875c9||_0x52f2b6(_0x43d58a[_0x94ff94(0x3ec)],0.2),'left':_0x4a4713,'top':_0x30abb7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x94ff94(0x57b)][_0x94ff94(0x3f6)](_0x17a585),this['_scene']['addObject'](_0x17a585,_0x4e8654);}['_getAnchorBounding'](_0x17001c){const _0x13f37f=_0x17001c[0x0],_0x4ba191=_0x13f37f[0x0],_0x54e42d=_0x13f37f[0x2],{x:_0x14727b,y:_0x59e5dc}=_0x4ba191,{x:_0x3c5966,y:_0x33ef55}=_0x54e42d;return{'left':_0x14727b,'top':_0x59e5dc,'width':_0x3c5966-_0x14727b,'height':_0x33ef55-_0x59e5dc};}['_getScale'](){const _0x4ae8e2=_0xe3a6b9,{scaleX:_0x58749c,scaleY:_0x44b6ac}=this[_0x4ae8e2(0x24f)]['getAncestorScale']();return Math[_0x4ae8e2(0x51f)](_0x58749c,_0x44b6ac);}}var ko=Object['defineProperty'],Wo=Object[_0xe3a6b9(0x4b1)],Fo=(_0x4cbf21,_0x25c0a6,_0x597442,_0x8a5e4e)=>{for(var _0x59f27a=_0x8a5e4e>0x1?void 0x0:_0x8a5e4e?Wo(_0x25c0a6,_0x597442):_0x25c0a6,_0x284fa7=_0x4cbf21['length']-0x1,_0xe4062f;_0x284fa7>=0x0;_0x284fa7--)(_0xe4062f=_0x4cbf21[_0x284fa7])&&(_0x59f27a=(_0x8a5e4e?_0xe4062f(_0x25c0a6,_0x597442,_0x59f27a):_0xe4062f(_0x59f27a))||_0x59f27a);return _0x8a5e4e&&_0x59f27a&&ko(_0x25c0a6,_0x597442,_0x59f27a),_0x59f27a;},ct=(_0x45037e,_0x2ef859)=>(_0x1cf780,_0x4cdcc5)=>_0x2ef859(_0x1cf780,_0x4cdcc5,_0x45037e);let rs=class extends _0x90c284{constructor(_0x5a8588,_0x10f584,_0x2af95c,_0x3be58b,_0x5cb90b){const _0x2f2472=_0xe3a6b9;super(),g(this,_0x2f2472(0x1dc),[]),g(this,'_cursors',[]),(this[_0x2f2472(0x45b)]=_0x5a8588,this[_0x2f2472(0x253)]=_0x10f584,this[_0x2f2472(0x597)]=_0x2af95c,this[_0x2f2472(0x1e6)]=_0x3be58b,this[_0x2f2472(0x418)]=_0x5cb90b,this[_0x2f2472(0x430)]());}[_0xe3a6b9(0x430)](){const _0x57d37f=_0xe3a6b9,_0x5f3346=this[_0x57d37f(0x45b)][_0x57d37f(0x2d5)],_0xfaef20=this['_docSkeletonManagerService'];this[_0x57d37f(0x5d1)](_0x4fb160([this['_collabCursorController']['getCollabCursors$'](_0x5f3346),this['_themeService']['currentTheme$']])[_0x57d37f(0x531)](_0x40a0c5(([_0x29f01f,_0x382bf6])=>({'skeleton':_0xfaef20[_0x57d37f(0x323)](),'cursors':[..._0x29f01f[_0x57d37f(0x37f)]()]['flatMap'](_0x1102df=>({..._0x1102df,'color':_0x382bf6[_0x1102df['color']]}))})))['subscribe'](_0x4be848=>{const _0x4db70b=_0x57d37f;if(this['_removeCollabCursors'](),_0x4be848){const {skeleton:_0x317c25,cursors:_0x245d89}=_0x4be848;this[_0x4db70b(0x4bc)](_0x317c25,_0x245d89);}})),this[_0x57d37f(0x1fa)](),this[_0x57d37f(0x4c7)]();}[_0xe3a6b9(0x4bc)](_0x46291c,_0x43a80b){const _0x2565e8=_0xe3a6b9,{scene:_0x2ff388,mainComponent:_0x87f047}=this[_0x2565e8(0x45b)],_0x5297f2=_0x43a80b[_0x2565e8(0x546)](_0x3cb625=>new Ys(_0x3cb625,_0x2ff388,_0x46291c,_0x87f047));this[_0x2565e8(0x1dc)]=_0x5297f2,this['_cursors']=_0x43a80b;}[_0xe3a6b9(0x307)](){const _0x51d365=_0xe3a6b9;this['_removeCollabCursors']();const {scene:_0x242f27,mainComponent:_0x4e813b}=this[_0x51d365(0x45b)],_0x3f47b1=this['_docSkeletonManagerService'][_0x51d365(0x323)](),_0x2e8162=this['_cursors']['map'](_0x379bf8=>new Ys(_0x379bf8,_0x242f27,_0x3f47b1,_0x4e813b));this[_0x51d365(0x1dc)]=_0x2e8162;}[_0xe3a6b9(0x334)](){const _0x1051a4=_0xe3a6b9;this[_0x1051a4(0x1dc)]['forEach'](_0x2932d5=>_0x2932d5['dispose']()),this[_0x1051a4(0x1dc)]=[];}['_initCommandExecutedListener'](){const _0x487e83=_0xe3a6b9,_0x5a41b9=[_0x525bb7['id']];this['disposeWithMe'](this[_0x487e83(0x1e6)]['onCommandExecuted'](_0x4d4200=>{const _0x21fd54=_0x487e83;_0x5a41b9[_0x21fd54(0x2fb)](_0x4d4200['id'])&&_0x4d4200[_0x21fd54(0x2de)][_0x21fd54(0x2d5)]===this[_0x21fd54(0x45b)][_0x21fd54(0x2d5)]&&this[_0x21fd54(0x307)]();}));}[_0xe3a6b9(0x1fa)](){const _0x3dde61=_0xe3a6b9;this['disposeWithMe'](_0x3b5dd1(this['_context']['engine'][_0x3dde61(0x204)])[_0x3dde61(0x531)](_0x1e3ef3(_0x36c51e=>_0x36c51e[_0x3dde61(0x36c)]===_0x2a0ac0[_0x3dde61(0x427)]),_0x3818f0(0x10))['subscribe'](()=>{const _0x40f15d=_0x3dde61;this[_0x40f15d(0x307)]();}));}};rs=Fo([ct(0x1,_0x432547(_0x21b828)),ct(0x2,_0x432547(Ve)),ct(0x3,_0xc67fcf),ct(0x4,_0x432547(_0x4d1cc4))],rs);const Vo=0x1,Go=1.5;class Yo extends _0x4d54b9{constructor(_0x40a293,_0x268ef4){const _0x4035da=_0xe3a6b9;super(_0x40a293,_0x268ef4),g(this,_0x4035da(0x4a7)),g(this,_0x4035da(0x53f),!0x1),g(this,_0x4035da(0x2cb)),g(this,_0x4035da(0x414),''),g(this,_0x4035da(0x4f4),_0x4035da(0x249)),g(this,'_backgroundColor'),(_0x268ef4&&this['setShapeProps'](_0x268ef4),this[_0x4035da(0x20d)]['subscribeEvent'](()=>this[_0x4035da(0x51b)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4035da(0x39c)](()=>this[_0x4035da(0x51b)]({'hovered':!0x1})));}[_0xe3a6b9(0x51b)](_0x4a3751){const _0x549069=_0xe3a6b9;var _0x200d10,_0x4bf733,_0x1bfa4a,_0x57d6e0,_0x29cfc9,_0x5d3b9b;this['_color']=(_0x200d10=_0x4a3751[_0x549069(0x5bf)])!=null?_0x200d10:this[_0x549069(0x4a7)],this[_0x549069(0x53f)]=(_0x4bf733=_0x4a3751['hovered'])!=null?_0x4bf733:this['_hovered'],this['_range']=(_0x1bfa4a=_0x4a3751[_0x549069(0x4d1)])!=null?_0x1bfa4a:this[_0x549069(0x2cb)],this[_0x549069(0x414)]=(_0x57d6e0=_0x4a3751[_0x549069(0x27f)])!=null?_0x57d6e0:this[_0x549069(0x414)],this[_0x549069(0x4f4)]=(_0x29cfc9=_0x4a3751['labelPosition'])!=null?_0x29cfc9:this['_labelPosition'],this[_0x549069(0x1da)]=(_0x5d3b9b=_0x4a3751[_0x549069(0x391)])!=null?_0x5d3b9b:this[_0x549069(0x1da)],this[_0x549069(0x59d)]({'width':_0x4a3751['width'],'height':_0x4a3751[_0x549069(0x324)]});}[_0xe3a6b9(0x448)](_0x5a1ed2){const _0x14ab66=_0xe3a6b9,{row:_0x57e36b,column:_0xfa3a57}=_0x5a1ed2;if(_0x57e36b>=this[_0x14ab66(0x2cb)][_0x14ab66(0x3a2)]&&_0x57e36b<=this[_0x14ab66(0x2cb)][_0x14ab66(0x2d0)]&&_0xfa3a57>=this[_0x14ab66(0x2cb)][_0x14ab66(0x385)]&&_0xfa3a57<=this[_0x14ab66(0x2cb)][_0x14ab66(0x2cf)]){this[_0x14ab66(0x51b)]({'hovered':!0x0});return;}this[_0x14ab66(0x51b)]({'hovered':!0x1});}[_0xe3a6b9(0x2e7)](_0x21c718){return!0x1;}[_0xe3a6b9(0x3c7)](_0x595992){const _0x5ae798=_0xe3a6b9;_0x572d5b[_0x5ae798(0x533)](_0x595992,{'width':this[_0x5ae798(0x4ff)],'height':this[_0x5ae798(0x324)],'strokeWidth':Go,'stroke':this[_0x5ae798(0x4a7)],'evented':!0x1,'fill':this[_0x5ae798(0x1da)]}),this[_0x5ae798(0x53f)]&&(_0x595992[_0x5ae798(0x543)](),_0x595992[_0x5ae798(0x44f)](0x1,0x0,0x0,0x1,this[_0x5ae798(0x4ff)],this[_0x5ae798(0x4f4)]===_0x5ae798(0x581)?0x0:-nt),yt[_0x5ae798(0x533)](_0x595992,{'text':this['_name'],'color':this[_0x5ae798(0x4a7)]}),_0x595992[_0x5ae798(0x5a6)]());}}var Ko=Object['defineProperty'],zo=Object[_0xe3a6b9(0x4b1)],qo=(_0x16667e,_0x5c9e8d,_0x2e0d0a,_0x3f79ed)=>{for(var _0x26c2bd=_0x3f79ed>0x1?void 0x0:_0x3f79ed?zo(_0x5c9e8d,_0x2e0d0a):_0x5c9e8d,_0x496e50=_0x16667e['length']-0x1,_0x209a44;_0x496e50>=0x0;_0x496e50--)(_0x209a44=_0x16667e[_0x496e50])&&(_0x26c2bd=(_0x3f79ed?_0x209a44(_0x5c9e8d,_0x2e0d0a,_0x26c2bd):_0x209a44(_0x26c2bd))||_0x26c2bd);return _0x3f79ed&&_0x26c2bd&&Ko(_0x5c9e8d,_0x2e0d0a,_0x26c2bd),_0x26c2bd;},Bt=(_0x26b859,_0x44ff2f)=>(_0x4800eb,_0x4edc09)=>_0x44ff2f(_0x4800eb,_0x4edc09,_0x26b859);const Xo=0x1389;let os=class extends _0x90c284{constructor(_0x3a7f1e,_0x247e75,_0x718a32,_0xa091c7){const _0x386b06=_0xe3a6b9;super(),g(this,_0x386b06(0x2a0),new Set()),g(this,_0x386b06(0x58c),null),(this[_0x386b06(0x45b)]=_0x3a7f1e,this[_0x386b06(0x315)]=_0x247e75,this['_collabCursorController']=_0x718a32,this[_0x386b06(0x418)]=_0xa091c7,this[_0x386b06(0x430)]());}[_0xe3a6b9(0x430)](){const _0x15bca4=_0xe3a6b9;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x15bca4(0x531)](_0x7ee64f(this[_0x15bca4(0x31a)]),_0x16f8b3(_0x531218=>{const _0x43247d=_0x15bca4;if(_0x531218){const _0x826e88=_0x531218[_0x43247d(0x4d6)];return _0x4fb160(this['_collabCursorController'][_0x43247d(0x507)](this[_0x43247d(0x45b)][_0x43247d(0x2d5)]),this[_0x43247d(0x418)][_0x43247d(0x2e0)])[_0x43247d(0x531)](_0x40a0c5(([_0xa85c96,_0x2cadcd])=>{const _0x4cb856=_0x43247d,_0x6ca64c=new Map();return _0xa85c96[_0x4cb856(0x3b9)]((_0x1b27ec,_0x15171d)=>{const _0x353c3a=_0x4cb856;if(_0x1b27ec[_0x353c3a(0x328)]===_0x826e88){const _0x5202d4={..._0x1b27ec};_0x5202d4['color']=_0x2cadcd[_0x1b27ec[_0x353c3a(0x5bf)]],_0x6ca64c[_0x353c3a(0x454)](_0x15171d,_0x5202d4);}}),{'skeleton':_0x531218,'cursors':_0x6ca64c};}));}return _0x19d5e8({'skeleton':null,'cursors':new Map()});}))[_0x15bca4(0x3d4)](({skeleton:_0x19166a,cursors:_0x406247})=>{const _0x29ac89=_0x15bca4;this[_0x29ac89(0x334)](),_0x19166a&&this['_updateCollabCursors'](_0x19166a,_0x406247);}),this[_0x15bca4(0x315)][_0x15bca4(0x443)][_0x15bca4(0x3d4)](_0x21e587=>{const _0xa67499=_0x15bca4;if(_0x21e587==null)return;const {skeleton:_0x2f5ca3}=_0x21e587,{scene:_0xe44afb}=this[_0xa67499(0x45b)];_0xe44afb[_0xa67499(0x376)]['subscribeEvent'](_0x27e862(_0x390d93=>{const _0x575ad3=_0xa67499;var _0x585676,_0x5b976a;const {offsetX:_0x4b2e2e,offsetY:_0x5310f1}=_0x390d93,{x:_0x4ce91a,y:_0xcdd1fa}=_0xe44afb[_0x575ad3(0x29c)](_0x1842e2['FromArray']([_0x4b2e2e,_0x5310f1])),{scaleX:_0x49d9b7,scaleY:_0x64df03}=_0xe44afb['getAncestorScale'](),_0x10b038=_0xe44afb['getViewport'](_0x4f1b67['VIEW_MAIN']),_0x305b70=_0xe44afb[_0x575ad3(0x2c5)](_0x1842e2[_0x575ad3(0x277)]([_0x4ce91a,_0xcdd1fa]),_0x10b038),_0x59712d=_0x2f5ca3[_0x575ad3(0x416)](_0x4b2e2e,_0x5310f1,_0x49d9b7,_0x64df03,_0x305b70);((_0x585676=this[_0x575ad3(0x58c)])==null?void 0x0:_0x585676[_0x575ad3(0x5b2)])===_0x59712d[_0x575ad3(0x5b2)]&&((_0x5b976a=this[_0x575ad3(0x58c)])==null?void 0x0:_0x5b976a[_0x575ad3(0x425)])===_0x59712d[_0x575ad3(0x425)]||this[_0x575ad3(0x2a0)]['forEach'](_0x2bd7e0=>{const _0x312c10=_0x575ad3;_0x2bd7e0[_0x312c10(0x448)](_0x59712d);});},0x64));});}[_0xe3a6b9(0x4bc)](_0x1f24f4,_0x1d2d0b){const _0x258e13=_0xe3a6b9;var _0x478dd1;const _0x7b82a8=(_0x478dd1=this[_0x258e13(0x315)][_0x258e13(0x463)]())==null?void 0x0:_0x478dd1['skeleton'];if(!_0x7b82a8)return;const _0x1a91c6=this[_0x258e13(0x2b0)]();if(!_0x1a91c6)return;this[_0x258e13(0x2a0)][_0x258e13(0x3b9)](_0x4f092f=>{_0x4f092f['makeDirty']();});const {scene:_0x11d34d}=_0x1a91c6,_0x2cb492=Jo(Array['from'](_0x1d2d0b['values']()))[_0x258e13(0x546)](_0x4f5d88=>{const _0x56d66b=_0x258e13,{color:_0x273c84,range:_0x241fcf,name:_0x54feef,selection:_0x35d839,sheetID:_0x57abc1}=_0x4f5d88,{startColumn:_0x34a642,startRow:_0x31a300,endColumn:_0x3c3673,endRow:_0x2f3ffb}=_0x241fcf,_0xb1e636=_0x4a6322(_0x31a300,_0x34a642,_0x11d34d,_0x7b82a8),_0x1607c1=_0x4a6322(_0x2f3ffb,_0x3c3673,_0x11d34d,_0x7b82a8),{columnHeaderHeightAndMarginTop:_0x548536}=_0x7b82a8,{startX:_0x155854,startY:_0x20487d}=_0xb1e636,{endX:_0x23c611,endY:_0x962dfe}=_0x1607c1,_0xaf4601=_0x23c611-_0x155854,_0x43e7a9=_0x962dfe-_0x20487d,_0xf280df={'labelPosition':_0x20487d-_0x548536>=nt?_0x56d66b(0x249):_0x56d66b(0x581),'sheetID':_0x57abc1,'range':_0x241fcf,'color':_0x273c84,'name':_0x54feef,'selection':_0x35d839,'left':_0x155854,'top':_0x20487d,'width':_0xaf4601,'height':_0x43e7a9,'evented':!0x1,'zIndex':Xo};return new Yo(_0x54feef,_0xf280df);});_0x11d34d['addObjects'](_0x2cb492,Vo),this['_cursors']=new Set(_0x2cb492);}['_removeCollabCursors'](){const _0x3177d6=_0xe3a6b9;var _0x4605ad;(_0x4605ad=this['_cursors'])==null||_0x4605ad[_0x3177d6(0x3b9)](_0x118b48=>_0x118b48[_0x3177d6(0x3b4)]());}['_getSheetObject'](){const _0x50ff26=_0xe3a6b9;return _0x33eeed(this[_0x50ff26(0x45b)][_0x50ff26(0x46d)],this[_0x50ff26(0x45b)]);}};os=qo([Bt(0x1,_0x432547(_0x57cf81)),Bt(0x2,_0x432547(Ve)),Bt(0x3,_0x432547(_0x4d1cc4))],os);function Jo(_0x4a2e0f){const _0x274b35=_0xe3a6b9,_0x370ad8=new Map();return _0x4a2e0f[_0x274b35(0x3b9)](_0xc06d83=>{const _0x3bac2b=_0x274b35;if(_0x370ad8[_0x3bac2b(0x287)](_0xc06d83['selection'])){const _0x13cf6a=_0x370ad8['get'](_0xc06d83[_0x3bac2b(0x1ec)]);_0x13cf6a['name']+=',\x20'+_0xc06d83['name'];}else _0x370ad8[_0x3bac2b(0x454)](_0xc06d83['selection'],_0xc06d83);}),Array[_0x274b35(0x359)](_0x370ad8[_0x274b35(0x37f)]());}var ee=function(){const _0x4eed6f=_0xe3a6b9;return ee=Object[_0x4eed6f(0x25f)]||function(_0x5951f0){const _0x2580ae=_0x4eed6f;for(var _0x330d58,_0x40d872=0x1,_0x42d66d=arguments[_0x2580ae(0x285)];_0x40d872<_0x42d66d;_0x40d872++){_0x330d58=arguments[_0x40d872];for(var _0x127ed7 in _0x330d58)Object[_0x2580ae(0x5cc)][_0x2580ae(0x2ee)][_0x2580ae(0x2d2)](_0x330d58,_0x127ed7)&&(_0x5951f0[_0x127ed7]=_0x330d58[_0x127ed7]);}return _0x5951f0;},ee[_0x4eed6f(0x4cb)](this,arguments);},Zo=function(_0x1afeed,_0x5c5915){const _0x17ef9d=_0xe3a6b9;var _0x27ca44={};for(var _0x3aa601 in _0x1afeed)Object['prototype'][_0x17ef9d(0x2ee)][_0x17ef9d(0x2d2)](_0x1afeed,_0x3aa601)&&_0x5c5915[_0x17ef9d(0x389)](_0x3aa601)<0x0&&(_0x27ca44[_0x3aa601]=_0x1afeed[_0x3aa601]);if(_0x1afeed!=null&&typeof Object[_0x17ef9d(0x40d)]==_0x17ef9d(0x48e)){for(var _0x1035a0=0x0,_0x3aa601=Object[_0x17ef9d(0x40d)](_0x1afeed);_0x1035a0<_0x3aa601[_0x17ef9d(0x285)];_0x1035a0++)_0x5c5915['indexOf'](_0x3aa601[_0x1035a0])<0x0&&Object[_0x17ef9d(0x5cc)][_0x17ef9d(0x31b)]['call'](_0x1afeed,_0x3aa601[_0x1035a0])&&(_0x27ca44[_0x3aa601[_0x1035a0]]=_0x1afeed[_0x3aa601[_0x1035a0]]);}return _0x27ca44;},bs=_0x287f1e(function(_0x35c4f7,_0x3b122e){const _0x59dfb8=_0xe3a6b9;var _0x31b56c=_0x35c4f7[_0x59dfb8(0x327)],_0x23e51b=_0x35c4f7['id'],_0x511065=_0x35c4f7['className'],_0x395f01=_0x35c4f7[_0x59dfb8(0x322)],_0x46cda2=Zo(_0x35c4f7,['icon','id',_0x59dfb8(0x518),_0x59dfb8(0x322)]),_0x3958c3=_0x59dfb8(0x510)[_0x59dfb8(0x228)](_0x23e51b,'\x20')[_0x59dfb8(0x228)](_0x511065||'')[_0x59dfb8(0x4b3)](),_0x32d70c=_0x29705a('_'[_0x59dfb8(0x228)](ta()));return Ai(_0x31b56c,''[_0x59dfb8(0x228)](_0x23e51b),{'defIds':_0x31b56c[_0x59dfb8(0x4be)],'idSuffix':_0x32d70c[_0x59dfb8(0x21c)]},ee({'ref':_0x3b122e,'className':_0x3958c3},_0x46cda2),_0x395f01);});function Ai(_0x211593,_0x3f4503,_0x1dd068,_0x136d77,_0x131042){const _0x3b9f7d=_0xe3a6b9;return _0x3f5a91(_0x211593[_0x3b9f7d(0x2d8)],ee(ee({'key':_0x3f4503},Qo(_0x211593,_0x1dd068,_0x131042)),_0x136d77),(ea(_0x211593,_0x1dd068)[_0x3b9f7d(0x371)]||[])[_0x3b9f7d(0x546)](function(_0x3861f4,_0x4b5633){const _0x4219d5=_0x3b9f7d;return Ai(_0x3861f4,''['concat'](_0x3f4503,'-')[_0x4219d5(0x228)](_0x211593[_0x4219d5(0x2d8)],'-')[_0x4219d5(0x228)](_0x4b5633),_0x1dd068,void 0x0,_0x131042);}));}function Qo(_0xee71d4,_0xd8a71,_0x1b352b){const _0x5b6170=_0xe3a6b9;var _0x3295c2=ee({},_0xee71d4['attrs']);_0x1b352b!=null&&_0x1b352b[_0x5b6170(0x20a)]&&_0x3295c2[_0x5b6170(0x5c1)]===_0x5b6170(0x20a)&&(_0x3295c2[_0x5b6170(0x5c1)]=_0x1b352b[_0x5b6170(0x20a)]);var _0x3bf57e=_0xd8a71[_0x5b6170(0x4be)];return!_0x3bf57e||_0x3bf57e['length']===0x0||(_0xee71d4[_0x5b6170(0x2d8)]===_0x5b6170(0x354)&&_0x3295c2[_0x5b6170(0x4f9)]&&(_0x3295c2[_0x5b6170(0x4f9)]=_0x3295c2[_0x5b6170(0x4f9)]+_0xd8a71[_0x5b6170(0x49f)]),Object[_0x5b6170(0x291)](_0x3295c2)[_0x5b6170(0x3b9)](function(_0xb7739f){const _0x47865f=_0x5b6170;var _0x555553=_0xb7739f[0x0],_0x2be4e0=_0xb7739f[0x1];typeof _0x2be4e0=='string'&&(_0x3295c2[_0x555553]=_0x2be4e0[_0x47865f(0x1f9)](/url\(#(.*)\)/,_0x47865f(0x5ad)[_0x47865f(0x228)](_0xd8a71[_0x47865f(0x49f)],')')));})),_0x3295c2;}function ea(_0x4f93bf,_0x6ff9f2){const _0x5b4bc5=_0xe3a6b9;var _0xc2fa65,_0x29678c=_0x6ff9f2[_0x5b4bc5(0x4be)];return!_0x29678c||_0x29678c[_0x5b4bc5(0x285)]===0x0?_0x4f93bf:_0x4f93bf[_0x5b4bc5(0x2d8)]==='defs'&&(!((_0xc2fa65=_0x4f93bf['children'])===null||_0xc2fa65===void 0x0)&&_0xc2fa65[_0x5b4bc5(0x285)])?ee(ee({},_0x4f93bf),{'children':_0x4f93bf[_0x5b4bc5(0x371)][_0x5b4bc5(0x546)](function(_0x3eb101){const _0x24347f=_0x5b4bc5;return typeof _0x3eb101[_0x24347f(0x46b)]['id']==_0x24347f(0x43a)&&_0x29678c&&_0x29678c[_0x24347f(0x389)](_0x3eb101[_0x24347f(0x46b)]['id'])>-0x1?ee(ee({},_0x3eb101),{'attrs':ee(ee({},_0x3eb101[_0x24347f(0x46b)]),{'id':_0x3eb101['attrs']['id']+_0x6ff9f2[_0x24347f(0x49f)]})}):_0x3eb101;})}):_0x4f93bf;}function ta(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}bs['displayName']='UniverIcon';var sa={'tag':_0xe3a6b9(0x524),'attrs':{'fill':_0xe3a6b9(0x5cb),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xe3a6b9(0x4ab)},'children':[{'tag':_0xe3a6b9(0x40a),'attrs':{'stroke':_0xe3a6b9(0x4b2),'d':_0xe3a6b9(0x55c),'strokeLinecap':_0xe3a6b9(0x55a),'strokeLinejoin':_0xe3a6b9(0x55a),'strokeWidth':1.2}}]},{'tag':_0xe3a6b9(0x340),'attrs':{},'children':[{'tag':_0xe3a6b9(0x48b),'attrs':{'id':_0xe3a6b9(0x5ce)},'children':[{'tag':_0xe3a6b9(0x40a),'attrs':{'fill':_0xe3a6b9(0x3e0),'d':_0xe3a6b9(0x243)}}]}]}],'defIds':[_0xe3a6b9(0x5ce)]},Mi=_0x287f1e(function(_0x3d5b3b,_0x45a4c8){const _0x430f0e=_0xe3a6b9;return _0x3f5a91(bs,Object[_0x430f0e(0x25f)]({},_0x3d5b3b,{'id':_0x430f0e(0x55d),'ref':_0x45a4c8,'icon':sa}));});Mi[_0xe3a6b9(0x585)]=_0xe3a6b9(0x415);var ia={'tag':_0xe3a6b9(0x524),'attrs':{'fill':_0xe3a6b9(0x5cb),'viewBox':_0xe3a6b9(0x488),'width':_0xe3a6b9(0x485),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0xe3a6b9(0x40a),'attrs':{'stroke':_0xe3a6b9(0x4b2),'d':_0xe3a6b9(0x54a),'strokeLinecap':_0xe3a6b9(0x55a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xe3a6b9(0x340),'attrs':{},'children':[{'tag':_0xe3a6b9(0x48b),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0xe3a6b9(0x3e0),'d':'M0\x200H16V16H0z','transform':_0xe3a6b9(0x232)}}]}]}],'defIds':[_0xe3a6b9(0x4cf)]},xi=_0x287f1e(function(_0x5d2ffa,_0x1bc78b){const _0x174cd1=_0xe3a6b9;return _0x3f5a91(bs,Object[_0x174cd1(0x25f)]({},_0x5d2ffa,{'id':_0x174cd1(0x3b1),'ref':_0x1bc78b,'icon':ia}));});xi['displayName']=_0xe3a6b9(0x301);function Li(_0x2f2e39){const _0x262b42=_0xe3a6b9;var _0x47a717,_0x5c2cd7,_0x3019bb='';if(typeof _0x2f2e39==_0x262b42(0x43a)||typeof _0x2f2e39==_0x262b42(0x300))_0x3019bb+=_0x2f2e39;else{if(typeof _0x2f2e39==_0x262b42(0x337)){if(Array['isArray'](_0x2f2e39)){var _0x3d823b=_0x2f2e39[_0x262b42(0x285)];for(_0x47a717=0x0;_0x47a717<_0x3d823b;_0x47a717++)_0x2f2e39[_0x47a717]&&(_0x5c2cd7=Li(_0x2f2e39[_0x47a717]))&&(_0x3019bb&&(_0x3019bb+='\x20'),_0x3019bb+=_0x5c2cd7);}else{for(_0x5c2cd7 in _0x2f2e39)_0x2f2e39[_0x5c2cd7]&&(_0x3019bb&&(_0x3019bb+='\x20'),_0x3019bb+=_0x5c2cd7);}}}return _0x3019bb;}function na(){const _0x4b2d96=_0xe3a6b9;for(var _0x34ab13,_0x560c59,_0x35814f=0x0,_0x122d65='',_0x50958e=arguments[_0x4b2d96(0x285)];_0x35814f<_0x50958e;_0x35814f++)(_0x34ab13=arguments[_0x35814f])&&(_0x560c59=Li(_0x34ab13))&&(_0x122d65&&(_0x122d65+='\x20'),_0x122d65+=_0x560c59);return _0x122d65;}const ra='univer-online-status-icon',oa=_0xe3a6b9(0x38e),aa=_0xe3a6b9(0x5ba),ca=_0xe3a6b9(0x1fd),ha=_0xe3a6b9(0x550),Ze={'onlineStatusIcon':ra,'onlineStatusTitle':oa,'onlineStatus':aa,'online':ca,'offline':ha};function la(_0x5ac212){const _0x140983=_0xe3a6b9;switch(_0x5ac212){case J[_0x140983(0x22a)]:return _0x140983(0x2d3);case J[_0x140983(0x551)]:return _0x140983(0x43d);case J[_0x140983(0x406)]:return _0x140983(0x2c8);case J[_0x140983(0x5bd)]:return'collabStatus.notCollab';case J[_0x140983(0x5b6)]:case J['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case J[_0x140983(0x50a)]:case J['PENDING']:return _0x140983(0x220);}}function _a(_0x48ed67){const _0xab42a3=_0xe3a6b9,{status$:_0xf6ed8}=_0x48ed67,_0x388488=_0x2efd18(_0xf6ed8,J[_0xab42a3(0x5bd)]),_0x577ba6=_0x8c2bb4(_0x363878),_0x4f2f34=_0x8c2bb4(Ae),_0x5a645a=_0x388488!==J['OFFLINE'],_0x50700c=_0x577ba6['t'](la(_0x388488)),_0x4581bc=na(Ze['onlineStatus'],{[Ze[_0xab42a3(0x296)]]:_0x5a645a,[Ze[_0xab42a3(0x486)]]:!_0x5a645a}),_0x56deb8=_0x5a645a?_0x5f3cc8[_0xab42a3(0x2ff)](xi,null):_0x5f3cc8[_0xab42a3(0x2ff)](Mi,null),_0x202f95=_0x4ea52a(()=>{const _0x34b2f9=_0xab42a3;_0x5a645a||_0x4f2f34[_0x34b2f9(0x4da)]();},[_0x5a645a,_0x4f2f34]);function _0x317006(){const _0x4c4fee=_0xab42a3;return _0x5f3cc8['createElement'](_0x4c4fee(0x23b),{'className':_0x4581bc,'onClick':_0x202f95},_0x5f3cc8[_0x4c4fee(0x2ff)](_0x4c4fee(0x23b),{'className':Ze['onlineStatusIcon']},_0x56deb8),_0x5f3cc8[_0x4c4fee(0x2ff)](_0x4c4fee(0x23b),{'className':Ze[_0x4c4fee(0x5b8)]},_0x50700c));}return _0x5a645a?_0x317006():_0x5f3cc8['createElement'](_0x1208ed,{'title':_0x577ba6['t'](_0xab42a3(0x526))},_0x317006());}var ua=Object[_0xe3a6b9(0x2e1)],da=Object[_0xe3a6b9(0x4b1)],fa=(_0x367e5d,_0x36ab3c,_0x339a20,_0x557309)=>{const _0xe0709f=_0xe3a6b9;for(var _0x223190=_0x557309>0x1?void 0x0:_0x557309?da(_0x36ab3c,_0x339a20):_0x36ab3c,_0x521ff7=_0x367e5d[_0xe0709f(0x285)]-0x1,_0x50fe95;_0x521ff7>=0x0;_0x521ff7--)(_0x50fe95=_0x367e5d[_0x521ff7])&&(_0x223190=(_0x557309?_0x50fe95(_0x36ab3c,_0x339a20,_0x223190):_0x50fe95(_0x223190))||_0x223190);return _0x557309&&_0x223190&&ua(_0x36ab3c,_0x339a20,_0x223190),_0x223190;},ht=(_0xd19218,_0x471821)=>(_0x46cc2a,_0x405d10)=>_0x471821(_0x46cc2a,_0x405d10,_0xd19218);let St=class extends _0x4f0ec0{constructor(_0x4c3d0c,_0x5e696d,_0xc14580,_0x40184a){const _0x2f8dfa=_0xe3a6b9;super(),g(this,_0x2f8dfa(0x3da),new _0x23c074(J['NOT_COLLAB'])),(this[_0x2f8dfa(0x342)]=_0x4c3d0c,this[_0x2f8dfa(0x403)]=_0x5e696d,this[_0x2f8dfa(0x4c4)]=_0xc14580,this[_0x2f8dfa(0x3c9)]=_0x40184a,this[_0x2f8dfa(0x224)](),this[_0x2f8dfa(0x246)]());}[_0xe3a6b9(0x246)](){const _0x268f55=_0xe3a6b9;this[_0x268f55(0x5d1)](this[_0x268f55(0x342)][_0x268f55(0x2cd)][_0x268f55(0x531)](_0x211e4b(()=>{const _0x17c42c=_0x268f55,_0x38f840=this[_0x17c42c(0x342)][_0x17c42c(0x482)]();return _0x38f840?this[_0x17c42c(0x3c9)]['getCollabEntity$'](_0x38f840[_0x17c42c(0x1ea)]()):_0x19d5e8(null);}),_0x211e4b(_0x56ed4f=>_0x56ed4f?_0x56ed4f[_0x268f55(0x252)]:_0x19d5e8(J[_0x268f55(0x5bd)])))[_0x268f55(0x3d4)](_0x468296=>{const _0x156558=_0x268f55;this[_0x156558(0x3da)]['next'](_0x468296);}));}[_0xe3a6b9(0x224)](){const _0x3821de=_0xe3a6b9;this['disposeWithMe'](this[_0x3821de(0x403)][_0x3821de(0x5bc)](_0x5027da[_0x3821de(0x35d)],()=>_0x52c9bc(va({'status$':this[_0x3821de(0x3da)][_0x3821de(0x28e)]()}),this[_0x3821de(0x4c4)])));}};St=fa([ht(0x0,_0x17aa8b),ht(0x1,_0x571152),ht(0x2,_0x432547(_0x521cd6)),ht(0x3,_0x432547(it))],St);function va(_0x33ea75){const {status$:_0x4d2968}=_0x33ea75;return function(){const _0x28924d=_0x272d;return _0x5f3cc8[_0x28924d(0x2ff)](_a,{'status$':_0x4d2968});};}const $i=_0x205a3e(_0xe3a6b9(0x46e));var ma=Object[_0xe3a6b9(0x2e1)],pa=Object[_0xe3a6b9(0x4b1)],ga=(_0x124408,_0x2e0958,_0x1a5806,_0xfe79cd)=>{const _0x1bfb01=_0xe3a6b9;for(var _0x22a7f5=_0xfe79cd>0x1?void 0x0:_0xfe79cd?pa(_0x2e0958,_0x1a5806):_0x2e0958,_0x1ffc54=_0x124408[_0x1bfb01(0x285)]-0x1,_0x20600e;_0x1ffc54>=0x0;_0x1ffc54--)(_0x20600e=_0x124408[_0x1ffc54])&&(_0x22a7f5=(_0xfe79cd?_0x20600e(_0x2e0958,_0x1a5806,_0x22a7f5):_0x20600e(_0x22a7f5))||_0x22a7f5);return _0xfe79cd&&_0x22a7f5&&ma(_0x2e0958,_0x1a5806,_0x22a7f5),_0x22a7f5;},ke=(_0x51fa1e,_0x2d9ec8)=>(_0x458576,_0x233f5f)=>_0x2d9ec8(_0x458576,_0x233f5f,_0x51fa1e);let It=class extends _0x90c284{constructor(_0x481904,_0x4292c6,_0x24a1e5,_0x32258b,_0x1283f5,_0x340520){const _0xa1af4a=_0xe3a6b9;super(),this['_urlService']=_0x481904,this[_0xa1af4a(0x230)]=_0x4292c6,this[_0xa1af4a(0x1e6)]=_0x24a1e5,this[_0xa1af4a(0x559)]=_0x32258b,this[_0xa1af4a(0x490)]=_0x1283f5,_0x340520?_0x340520==null||_0x340520[_0xa1af4a(0x213)]()[_0xa1af4a(0x347)](()=>this['_init']()):(this[_0xa1af4a(0x230)][_0xa1af4a(0x25c)](_0xa1af4a(0x3d3),_0xa1af4a(0x3a3)),this[_0xa1af4a(0x430)]());}async[_0xe3a6b9(0x430)](){const _0x1abdcd=_0xe3a6b9,_0x3df513=this['_urlService'][_0x1abdcd(0x586)](_0x1abdcd(0x46d)),_0x157cd8=this[_0x1abdcd(0x3f8)]['getParam'](_0x1abdcd(0x36c));if(!_0x3df513||!_0x157cd8){this[_0x1abdcd(0x230)][_0x1abdcd(0x25c)](_0x1abdcd(0x3d3),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x157cd8)){case ce[_0x1abdcd(0x4fb)]:{const _0x20ed6d=await this[_0x1abdcd(0x47a)](_0x3df513);this[_0x1abdcd(0x346)](_0x20ed6d);break;}case ce['UNIVER_DOC']:{await this['_loadDoc'](_0x3df513);break;}default:{this[_0x1abdcd(0x230)][_0x1abdcd(0x46c)](_0x1abdcd(0x3d3),_0x1abdcd(0x5a1));break;}}}async[_0xe3a6b9(0x346)](_0x4fbf81){const _0x36d1a0=_0xe3a6b9;await this[_0x36d1a0(0x4d9)](_0x4fbf81),_0x4fbf81[_0x36d1a0(0x3f2)][_0x36d1a0(0x531)](_0x4c7076(this[_0x36d1a0(0x31a)]))[_0x36d1a0(0x3d4)](_0x5b3610=>{const _0x410f53=_0x36d1a0;_0x5b3610&&this[_0x410f53(0x22b)](_0x5b3610);}),this[_0x36d1a0(0x3f8)][_0x36d1a0(0x3a4)][_0x36d1a0(0x531)](_0x4c7076(this['dispose$']))[_0x36d1a0(0x3d4)](()=>this[_0x36d1a0(0x4d9)](_0x4fbf81));}[_0xe3a6b9(0x22b)](_0x1d9601,_0x41b060=!0x1){const _0xa9b9d5=_0xe3a6b9,_0xab9280=this[_0xa9b9d5(0x3f8)][_0xa9b9d5(0x586)](_0xa9b9d5(0x1e8));_0x1d9601[_0xa9b9d5(0x325)]()!==_0xab9280&&this[_0xa9b9d5(0x3f8)][_0xa9b9d5(0x2bb)](_0xa9b9d5(0x1e8),_0x1d9601['getSheetId'](),_0x41b060);}async['_updateSubUnitFromURLParams'](_0x259aa6){const _0x3c48d3=_0xe3a6b9;var _0x38859d;const _0x1ee692=this[_0x3c48d3(0x3f8)][_0x3c48d3(0x586)]('subunit');if(!_0x1ee692||!_0x259aa6['getSheetBySheetId'](_0x1ee692)){const _0x587ada=_0x259aa6[_0x3c48d3(0x3ea)]()[0x0],_0x91d4c8=_0x259aa6[_0x3c48d3(0x250)](_0x587ada);if(!_0x91d4c8)return;this[_0x3c48d3(0x22b)](_0x91d4c8,!0x0),await this[_0x3c48d3(0x1e6)]['executeCommand'](_0x2ab4e3['id'],{'unitId':_0x259aa6[_0x3c48d3(0x1ea)](),'subUnitId':_0x587ada});return;}((_0x38859d=_0x259aa6[_0x3c48d3(0x39e)]())==null?void 0x0:_0x38859d[_0x3c48d3(0x325)]())!==_0x1ee692&&await this['_commandService']['executeCommand'](_0x2ab4e3['id'],{'unitId':_0x259aa6['getUnitId'](),'subUnitId':_0x1ee692});}async[_0xe3a6b9(0x47a)](_0x55e579){const _0x53bd03=_0xe3a6b9;let _0x4c134e=0x0;const _0x299e76=await this[_0x53bd03(0x559)][_0x53bd03(0x458)](_0x55e579);return _0x299e76&&(_0x299e76[_0x53bd03(0x381)]||_0x299e76[_0x53bd03(0x2fd)][_0x53bd03(0x285)]!==0x0)&&(_0x4c134e=_0x299e76[_0x53bd03(0x538)]),_0x4c134e===0x0&&this['_logService'][_0x53bd03(0x25c)](_0x53bd03(0x3d3),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x53bd03(0x33b)](_0x55e579,_0x4c134e);}async['_loadDoc'](_0x132b96){const _0x2e60a7=_0xe3a6b9;let _0x2fa44f=0x0;const _0x8873db=await this[_0x2e60a7(0x559)][_0x2e60a7(0x458)](_0x132b96);return _0x8873db&&(_0x8873db['awaitingChangeset']||_0x8873db[_0x2e60a7(0x2fd)][_0x2e60a7(0x285)]!==0x0)&&(_0x2fa44f=_0x8873db['rev']),_0x2fa44f===0x0&&this[_0x2e60a7(0x230)][_0x2e60a7(0x25c)]('[DataLoaderController]',_0x2e60a7(0x3d6)),this['_snapshotService'][_0x2e60a7(0x1d9)](_0x132b96,_0x2fa44f);}};It=ga([ke(0x0,$i),ke(0x1,_0xfb205),ke(0x2,_0xc67fcf),ke(0x3,_0x432547(q)),ke(0x4,_0x432547(_0x50afc6)),ke(0x5,_0x175412(_0x39d8c4))],It);var Sa=Object[_0xe3a6b9(0x2e1)],Ia=Object['getOwnPropertyDescriptor'],Ca=(_0x5da81d,_0x2662cc,_0x5f394d,_0x42d480)=>{const _0x450380=_0xe3a6b9;for(var _0x47e849=_0x42d480>0x1?void 0x0:_0x42d480?Ia(_0x2662cc,_0x5f394d):_0x2662cc,_0x5dfb03=_0x5da81d[_0x450380(0x285)]-0x1,_0x5b56f9;_0x5dfb03>=0x0;_0x5dfb03--)(_0x5b56f9=_0x5da81d[_0x5dfb03])&&(_0x47e849=(_0x42d480?_0x5b56f9(_0x2662cc,_0x5f394d,_0x47e849):_0x5b56f9(_0x47e849))||_0x47e849);return _0x42d480&&_0x47e849&&Sa(_0x2662cc,_0x5f394d,_0x47e849),_0x47e849;},Ks=(_0xa2bb5b,_0x2e86ec)=>(_0x3a8fbb,_0x517a8e)=>_0x2e86ec(_0x3a8fbb,_0x517a8e,_0xa2bb5b);const Ea=_0xe3a6b9(0x57c),ba=_0xe3a6b9(0x494);let Ct=class extends _0x4f0ec0{constructor(_0x4e8a40,_0x4d7e54){const _0x4a6a11=_0xe3a6b9;super(),this[_0x4a6a11(0x342)]=_0x4e8a40,this['_configService']=_0x4d7e54,this[_0x4a6a11(0x430)]();}[_0xe3a6b9(0x430)](){const _0x39457f=_0xe3a6b9;this[_0x39457f(0x5d1)](this[_0x39457f(0x342)]['focused$']['subscribe'](()=>{const _0x482094=_0x39457f;var _0x563f27;const _0x5b2d8e=this[_0x482094(0x342)]['getFocusedUnit']();let _0x12354d=(_0x563f27=this[_0x482094(0x466)][_0x482094(0x29b)](Ea))!=null?_0x563f27:ba;_0x5b2d8e instanceof _0x5548a9&&(_0x12354d=_0x5b2d8e[_0x482094(0x27f)]),document[_0x482094(0x45c)]=_0x12354d;}));}};Ct=Ca([Ks(0x0,_0x17aa8b),Ks(0x1,_0x4b50bc)],Ct);var Ta=Object['defineProperty'],Ra=Object[_0xe3a6b9(0x4b1)],ya=(_0x4e4184,_0x192243,_0x49f085,_0x222c09)=>{for(var _0x54870a=_0x222c09>0x1?void 0x0:_0x222c09?Ra(_0x192243,_0x49f085):_0x192243,_0x5deab1=_0x4e4184['length']-0x1,_0x158e28;_0x5deab1>=0x0;_0x5deab1--)(_0x158e28=_0x4e4184[_0x5deab1])&&(_0x54870a=(_0x222c09?_0x158e28(_0x192243,_0x49f085,_0x54870a):_0x158e28(_0x54870a))||_0x54870a);return _0x222c09&&_0x54870a&&Ta(_0x192243,_0x49f085,_0x54870a),_0x54870a;},kt=(_0x15dabc,_0x3104)=>(_0x22dc2f,_0x4d2171)=>_0x3104(_0x22dc2f,_0x4d2171,_0x15dabc);let Et=class{constructor(_0x32b71c,_0x3e6be6,_0x2ea36a){const _0x1d52a7=_0xe3a6b9;this[_0x1d52a7(0x466)]=_0x32b71c,this[_0x1d52a7(0x211)]=_0x3e6be6,this['localeService']=_0x2ea36a,this[_0x1d52a7(0x4c3)]();}['init'](){const _0x17575f=_0xe3a6b9;this[_0x17575f(0x211)][_0x17575f(0x3f5)]({'priority':0x1,'interceptor':(_0x4ac4aa,_0x46343d)=>_0x46343d(_0x4ac4aa)[_0x17575f(0x531)](_0x4de8c1(async _0x2f7ea3=>{const _0x3063e4=_0x17575f,_0x3edccb=_0x2f7ea3;if(_0x3edccb['status']===0x191&&window['confirm'](this[_0x3063e4(0x3fc)]['t'](_0x3063e4(0x447)))){const _0x1bae47=window[_0x3063e4(0x1fb)](window['location'][_0x3063e4(0x54b)]);window[_0x3063e4(0x38f)][_0x3063e4(0x54b)]=this['_getLoginPath']()+_0x3063e4(0x219)+_0x1bae47;}return _0x3edccb;}))});}[_0xe3a6b9(0x570)](){const _0x233c3f=_0xe3a6b9;var _0x326117,_0x4086a6;const _0x588356=this[_0x233c3f(0x466)][_0x233c3f(0x29b)](Sr),_0x4bb60e=this[_0x233c3f(0x466)]['getConfig'](ie);return(_0x4086a6=(_0x326117=_0x4bb60e==null?void 0x0:_0x4bb60e['loginUrlKey'])!=null?_0x326117:_0x588356)!=null?_0x4086a6:Ir;}};Et=ya([kt(0x0,_0x4b50bc),kt(0x1,_0x432547(_0x181521)),kt(0x2,_0x432547(_0x363878))],Et);var Oa=Object[_0xe3a6b9(0x2e1)],wa=Object[_0xe3a6b9(0x4b1)],Da=(_0x545e19,_0x5826d4,_0x51d3a4,_0x26705c)=>{const _0x4babe6=_0xe3a6b9;for(var _0x2aec79=_0x26705c>0x1?void 0x0:_0x26705c?wa(_0x5826d4,_0x51d3a4):_0x5826d4,_0x585ffe=_0x545e19[_0x4babe6(0x285)]-0x1,_0x48cc4d;_0x585ffe>=0x0;_0x585ffe--)(_0x48cc4d=_0x545e19[_0x585ffe])&&(_0x2aec79=(_0x26705c?_0x48cc4d(_0x5826d4,_0x51d3a4,_0x2aec79):_0x48cc4d(_0x2aec79))||_0x2aec79);return _0x26705c&&_0x2aec79&&Oa(_0x5826d4,_0x51d3a4,_0x2aec79),_0x2aec79;},zs=(_0x459dee,_0x48e661)=>(_0xb47af7,_0x4c58bf)=>_0x48e661(_0xb47af7,_0x4c58bf,_0x459dee);const Pa=_0xe3a6b9(0x429),Ua=_0xe3a6b9(0x516);let as=class extends _0x4f0ec0{constructor(_0x2eb04e,_0x403411){const _0xcc5e0=_0xe3a6b9;super(),this[_0xcc5e0(0x5be)]=_0x2eb04e,this[_0xcc5e0(0x466)]=_0x403411,this[_0xcc5e0(0x3e5)]();}[_0xe3a6b9(0x3e5)](){const _0x1046ea=_0xe3a6b9,_0x36bf49=this;this[_0x1046ea(0x5d1)](this['_HTTPService'][_0x1046ea(0x3f5)]({'priority':0x3e7,'interceptor':_0xe5a875({'isMatch'(_0x59e542){const _0x102d2d=_0x1046ea;var _0x21eeae;if(_0x59e542['method']===_0x102d2d(0x4d8)&&((_0x21eeae=_0x59e542[_0x102d2d(0x33a)])!=null&&_0x21eeae[_0x102d2d(0x1ef)])){const {objectID:_0x13ad3e,objectType:_0x3f676b}=_0x59e542[_0x102d2d(0x33a)]['body']||{};if(!_0x13ad3e||_0x3f676b===void 0x0)return!0x1;const _0x21b789=_0x36bf49['_getAPIPrefixPath']()+'/'+_0x3f676b+'/object/'+_0x13ad3e+'/allowed';if(_0x59e542[_0x102d2d(0x392)]===_0x21b789)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x36f59c){const _0x182724=_0x1046ea;var _0x448e44;return(_0x448e44=_0x36f59c[_0x182724(0x33a)])==null?void 0x0:_0x448e44[_0x182724(0x1ef)];},'mergeParamsToRequest'(_0x23d163,_0x1740c8){const _0x3224fd=_0x1046ea,_0x5111af=_0x36bf49[_0x3224fd(0x464)]()+_0x3224fd(0x200),_0x3653d8=_0x23d163['reduce']((_0x2935fc,_0x4bf234)=>{const _0xd8ebe9=_0x3224fd,{unitID:_0x1efb95,objectID:_0x3f2e4c,objectType:_0x4100cb,actions:_0x4d9b77}=_0x4bf234;return _0x2935fc[_0x1efb95]||(_0x2935fc[_0x1efb95]={}),_0x2935fc[_0x1efb95][_0x3f2e4c]||(_0x2935fc[_0x1efb95][_0x3f2e4c]={'objectID':_0x3f2e4c,'objectType':_0x4100cb,'actions':[]}),_0x2935fc[_0x1efb95][_0x3f2e4c][_0xd8ebe9(0x280)][_0xd8ebe9(0x3f6)](..._0x4d9b77),_0x2935fc;},{}),_0x58d7f2=[];for(const _0x15da18 in _0x3653d8)for(const _0x9649cf in _0x3653d8[_0x15da18]){const {actions:_0x5d6360,objectType:_0x43e152}=_0x3653d8[_0x15da18][_0x9649cf],_0x1d6dff=[...new Set(_0x5d6360)];_0x58d7f2[_0x3224fd(0x3f6)]({'unitID':_0x15da18,'objectID':_0x9649cf,'objectType':_0x43e152,'actions':_0x1d6dff});}return new _0xa584b3(_0x3224fd(0x4d8),_0x5111af,{'headers':_0x1740c8[_0x3224fd(0x1db)],'withCredentials':_0x1740c8[_0x3224fd(0x4c0)],'responseType':_0x1740c8['responseType'],'body':{'requests':_0x58d7f2}});}},{'distributeResult'(_0x1b8a21,_0x33e03c){const _0x207745=_0x1046ea,{objectActions:_0xda2d7a}=_0x1b8a21;return _0x33e03c[_0x207745(0x546)](_0x42c164=>{const _0x4d2593=_0x207745,{unitID:_0x1bd172,objectID:_0x5b7534,actions:_0x199080}=_0x42c164,_0xea3cf7=_0xda2d7a[_0x4d2593(0x233)](_0x72818b=>_0x72818b[_0x4d2593(0x24d)]===_0x1bd172&&_0x72818b[_0x4d2593(0x5ac)]===_0x5b7534),_0x21e7e3=_0x199080[_0x4d2593(0x546)](_0x26fb18=>_0xea3cf7==null?void 0x0:_0xea3cf7[_0x4d2593(0x280)][_0x4d2593(0x233)](_0x55f582=>_0x55f582[_0x4d2593(0x286)]===_0x26fb18))[_0x4d2593(0x598)](_0x11fa18=>!!_0x11fa18);return{'config':_0x42c164,'result':{'actions':_0x21e7e3,'error':_0x1b8a21['error']}};});}})}));}[_0xe3a6b9(0x464)](){const _0x52076e=_0xe3a6b9;var _0x4eff7d,_0x42e61c;const _0x57c297=this[_0x52076e(0x466)][_0x52076e(0x29b)](Pa),_0x3e604a=this[_0x52076e(0x466)][_0x52076e(0x29b)](ie);return(_0x42e61c=(_0x4eff7d=_0x3e604a==null?void 0x0:_0x3e604a[_0x52076e(0x596)])!=null?_0x4eff7d:_0x57c297)!=null?_0x42e61c:Ua;}async['create'](_0x103e78){const _0x15c0dd=_0xe3a6b9,_0x2963f8=this['_getAPIPrefixPath']()+'/'+_0x103e78[_0x15c0dd(0x3ef)]+_0x15c0dd(0x318);return(await this[_0x15c0dd(0x5be)][_0x15c0dd(0x4e1)](_0x2963f8,{'body':_0x103e78}))[_0x15c0dd(0x1ef)]['objectID']||'';}async['list'](_0x24b563){const _0x589be4=_0xe3a6b9,_0x1fd969=this[_0x589be4(0x464)]()+_0x589be4(0x3a0);return(await this[_0x589be4(0x5be)][_0x589be4(0x4e1)](_0x1fd969,{'body':_0x24b563}))[_0x589be4(0x1ef)][_0x589be4(0x589)];}async[_0xe3a6b9(0x33c)](_0xbb2c67){const _0x5dfc74=_0xe3a6b9,_0x41876e=this['_getAPIPrefixPath']()+'/'+_0xbb2c67[_0x5dfc74(0x3ef)]+'/object/'+_0xbb2c67['objectID'];await this[_0x5dfc74(0x5be)][_0x5dfc74(0x56c)](_0x41876e,{'body':_0xbb2c67});}async['allowed'](_0x21f754){const _0x25f561=_0xe3a6b9,_0x91bcbe=this['_getAPIPrefixPath']()+'/'+_0x21f754[_0x25f561(0x3ef)]+'/object/'+_0x21f754[_0x25f561(0x5ac)]+_0x25f561(0x336);return(await this[_0x25f561(0x5be)][_0x25f561(0x4e1)](_0x91bcbe,{'body':_0x21f754}))[_0x25f561(0x1ef)]['actions'];}async[_0xe3a6b9(0x292)](_0x52e6fc){const _0x262744=_0xe3a6b9,_0x2df241=this[_0x262744(0x464)]()+_0x262744(0x200);return(await this['_HTTPService']['post'](_0x2df241,{'body':{'requests':_0x52e6fc}}))['body']['objectActions'];}async[_0xe3a6b9(0x3c3)](_0x499aa9){const _0x89b698=_0xe3a6b9,_0xb0723f=this[_0x89b698(0x464)]()+'/'+_0x499aa9[_0x89b698(0x3ef)]+'/role',_0x42bcb7=await this[_0x89b698(0x5be)][_0x89b698(0x4e1)](_0xb0723f,{'body':_0x499aa9});return{'roles':_0x42bcb7[_0x89b698(0x1ef)][_0x89b698(0x4ee)],'actions':_0x42bcb7[_0x89b698(0x1ef)][_0x89b698(0x280)]};}async[_0xe3a6b9(0x372)](_0x51f533){const _0x3125fb=_0xe3a6b9,_0x4f7a9f=this[_0x3125fb(0x464)]()+_0x3125fb(0x491);await this['_HTTPService'][_0x3125fb(0x276)](_0x4f7a9f,{'params':{'collaboratorID':_0x51f533[_0x3125fb(0x46f)],'objectID':_0x51f533[_0x3125fb(0x5ac)],'unitID':_0x51f533[_0x3125fb(0x24d)]}});}async[_0xe3a6b9(0x1f0)](_0x152968){const _0x21cab0=_0xe3a6b9,_0x256865=this[_0x21cab0(0x464)]()+_0x21cab0(0x491);await this[_0x21cab0(0x5be)][_0x21cab0(0x23d)](_0x256865,{'body':_0x152968});}async[_0xe3a6b9(0x5c4)](_0x1d904c){const _0x3e63f6=_0xe3a6b9,_0x4eaa6b=this[_0x3e63f6(0x464)]()+_0x3e63f6(0x491);await this[_0x3e63f6(0x5be)][_0x3e63f6(0x4e1)](_0x4eaa6b,{'body':_0x1d904c});}async['listCollaborators'](_0x1d19c0){const _0x5c2fde=_0xe3a6b9,_0x466c4c=this[_0x5c2fde(0x464)]()+'/collaborator';return(await this['_HTTPService'][_0x5c2fde(0x519)](_0x466c4c,{'params':{'objectID':_0x1d19c0[_0x5c2fde(0x5ac)],'unitID':_0x1d19c0[_0x5c2fde(0x24d)]}}))['body'][_0x5c2fde(0x2f4)];}async[_0xe3a6b9(0x548)](_0x16e351){const _0x19251b=_0xe3a6b9,_0x427927=this[_0x19251b(0x464)]()+'/collaborator';await this['_HTTPService'][_0x19251b(0x56c)](_0x427927,{'body':_0x16e351});}};as=Da([zs(0x0,_0x432547(_0x181521)),zs(0x1,_0x432547(_0x4b50bc))],as);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x8364f2){const _0x514a73=_0xe3a6b9;return _0x8364f2&&_0x8364f2[_0x514a73(0x3e1)]&&Object[_0x514a73(0x5cc)]['hasOwnProperty'][_0x514a73(0x2d2)](_0x8364f2,_0x514a73(0x40e))?_0x8364f2[_0x514a73(0x40e)]:_0x8364f2;}var Hi={'exports':{}};function Na(_0x1d63a2){const _0xd6dfc3=_0xe3a6b9;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1d63a2+_0xd6dfc3(0x266));}var Wt={'exports':{}},qs;function ue(){return qs||(qs=0x1,function(_0x4a40f6,_0x5c7eab){(function(_0x2c2a07,_0x2f9081){const _0x2fec7b=_0x272d;_0x4a40f6[_0x2fec7b(0x274)]=_0x2f9081();}(Z,function(){var _0x2f2f6d=_0x2f2f6d||function(_0x2281b6,_0x470e2a){const _0x3fa601=_0x272d;var _0x996ebd;if(typeof window<'u'&&window[_0x3fa601(0x1d7)]&&(_0x996ebd=window[_0x3fa601(0x1d7)]),typeof self<'u'&&self['crypto']&&(_0x996ebd=self[_0x3fa601(0x1d7)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x996ebd=globalThis[_0x3fa601(0x1d7)]),!_0x996ebd&&typeof window<'u'&&window[_0x3fa601(0x242)]&&(_0x996ebd=window[_0x3fa601(0x242)]),!_0x996ebd&&typeof Z<'u'&&Z[_0x3fa601(0x1d7)]&&(_0x996ebd=Z['crypto']),!_0x996ebd&&typeof Na==_0x3fa601(0x48e))try{_0x996ebd=require('crypto');}catch{}var _0x1b441f=function(){const _0x215faa=_0x3fa601;if(_0x996ebd){if(typeof _0x996ebd[_0x215faa(0x56d)]==_0x215faa(0x48e))try{return _0x996ebd[_0x215faa(0x56d)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x996ebd[_0x215faa(0x496)]==_0x215faa(0x48e))try{return _0x996ebd['randomBytes'](0x4)[_0x215faa(0x282)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1dcae0=Object['create']||(function(){function _0x3bb601(){}return function(_0x3a964c){const _0x526887=_0x272d;var _0x5b0daf;return _0x3bb601['prototype']=_0x3a964c,_0x5b0daf=new _0x3bb601(),_0x3bb601[_0x526887(0x5cc)]=null,_0x5b0daf;};}()),_0x1b3ef4={},_0x199f52=_0x1b3ef4[_0x3fa601(0x206)]={},_0x3cdb31=_0x199f52[_0x3fa601(0x375)]=(function(){return{'extend':function(_0x1e070c){const _0x1d572e=_0x272d;var _0xa88e36=_0x1dcae0(this);return _0x1e070c&&_0xa88e36['mixIn'](_0x1e070c),(!_0xa88e36[_0x1d572e(0x2ee)](_0x1d572e(0x4c3))||this[_0x1d572e(0x4c3)]===_0xa88e36[_0x1d572e(0x4c3)])&&(_0xa88e36[_0x1d572e(0x4c3)]=function(){const _0x448635=_0x1d572e;_0xa88e36['$super']['init'][_0x448635(0x4cb)](this,arguments);}),_0xa88e36['init'][_0x1d572e(0x5cc)]=_0xa88e36,_0xa88e36[_0x1d572e(0x54e)]=this,_0xa88e36;},'create':function(){const _0x101e9c=_0x272d;var _0x2d818d=this[_0x101e9c(0x322)]();return _0x2d818d[_0x101e9c(0x4c3)]['apply'](_0x2d818d,arguments),_0x2d818d;},'init':function(){},'mixIn':function(_0x3a21c1){const _0x4f3636=_0x272d;for(var _0x1eefc9 in _0x3a21c1)_0x3a21c1[_0x4f3636(0x2ee)](_0x1eefc9)&&(this[_0x1eefc9]=_0x3a21c1[_0x1eefc9]);_0x3a21c1[_0x4f3636(0x2ee)](_0x4f3636(0x25e))&&(this[_0x4f3636(0x25e)]=_0x3a21c1[_0x4f3636(0x25e)]);},'clone':function(){const _0xe06e75=_0x272d;return this[_0xe06e75(0x4c3)]['prototype'][_0xe06e75(0x322)](this);}};}()),_0x4bed5a=_0x199f52[_0x3fa601(0x3cd)]=_0x3cdb31['extend']({'init':function(_0x2394d4,_0x418321){const _0x5eda6a=_0x3fa601;_0x2394d4=this[_0x5eda6a(0x408)]=_0x2394d4||[],_0x418321!=_0x470e2a?this[_0x5eda6a(0x20f)]=_0x418321:this[_0x5eda6a(0x20f)]=_0x2394d4[_0x5eda6a(0x285)]*0x4;},'toString':function(_0x10123f){return(_0x10123f||_0x15cde5)['stringify'](this);},'concat':function(_0x2442fd){const _0x2e419b=_0x3fa601;var _0x58565d=this[_0x2e419b(0x408)],_0x14e99e=_0x2442fd[_0x2e419b(0x408)],_0x10b973=this[_0x2e419b(0x20f)],_0x2aad17=_0x2442fd[_0x2e419b(0x20f)];if(this[_0x2e419b(0x317)](),_0x10b973%0x4)for(var _0x1d13be=0x0;_0x1d13be<_0x2aad17;_0x1d13be++){var _0x546d95=_0x14e99e[_0x1d13be>>>0x2]>>>0x18-_0x1d13be%0x4*0x8&0xff;_0x58565d[_0x10b973+_0x1d13be>>>0x2]|=_0x546d95<<0x18-(_0x10b973+_0x1d13be)%0x4*0x8;}else{for(var _0x2fabb0=0x0;_0x2fabb0<_0x2aad17;_0x2fabb0+=0x4)_0x58565d[_0x10b973+_0x2fabb0>>>0x2]=_0x14e99e[_0x2fabb0>>>0x2];}return this[_0x2e419b(0x20f)]+=_0x2aad17,this;},'clamp':function(){const _0x181a85=_0x3fa601;var _0x27cc5a=this['words'],_0x4224de=this[_0x181a85(0x20f)];_0x27cc5a[_0x4224de>>>0x2]&=0xffffffff<<0x20-_0x4224de%0x4*0x8,_0x27cc5a[_0x181a85(0x285)]=_0x2281b6['ceil'](_0x4224de/0x4);},'clone':function(){const _0x3c9c55=_0x3fa601;var _0x20aba6=_0x3cdb31['clone']['call'](this);return _0x20aba6[_0x3c9c55(0x408)]=this[_0x3c9c55(0x408)][_0x3c9c55(0x398)](0x0),_0x20aba6;},'random':function(_0x5bd1ce){const _0x29134b=_0x3fa601;for(var _0x484331=[],_0x5cf577=0x0;_0x5cf577<_0x5bd1ce;_0x5cf577+=0x4)_0x484331[_0x29134b(0x3f6)](_0x1b441f());return new _0x4bed5a[(_0x29134b(0x4c3))](_0x484331,_0x5bd1ce);}}),_0x40bd57=_0x1b3ef4['enc']={},_0x15cde5=_0x40bd57[_0x3fa601(0x38b)]={'stringify':function(_0x2d57fb){const _0x32fb5f=_0x3fa601;for(var _0x28e678=_0x2d57fb['words'],_0x4fc8c6=_0x2d57fb['sigBytes'],_0x2df1de=[],_0x5b1fa2=0x0;_0x5b1fa2<_0x4fc8c6;_0x5b1fa2++){var _0x3a7a37=_0x28e678[_0x5b1fa2>>>0x2]>>>0x18-_0x5b1fa2%0x4*0x8&0xff;_0x2df1de[_0x32fb5f(0x3f6)]((_0x3a7a37>>>0x4)[_0x32fb5f(0x25e)](0x10)),_0x2df1de[_0x32fb5f(0x3f6)]((_0x3a7a37&0xf)[_0x32fb5f(0x25e)](0x10));}return _0x2df1de['join']('');},'parse':function(_0x529a36){const _0x194e22=_0x3fa601;for(var _0x20abc1=_0x529a36[_0x194e22(0x285)],_0x26ca2e=[],_0x45a347=0x0;_0x45a347<_0x20abc1;_0x45a347+=0x2)_0x26ca2e[_0x45a347>>>0x3]|=parseInt(_0x529a36[_0x194e22(0x2a6)](_0x45a347,0x2),0x10)<<0x18-_0x45a347%0x8*0x4;return new _0x4bed5a[(_0x194e22(0x4c3))](_0x26ca2e,_0x20abc1/0x2);}},_0x523843=_0x40bd57[_0x3fa601(0x5c5)]={'stringify':function(_0x50c36d){const _0x2ec68c=_0x3fa601;for(var _0x22ef31=_0x50c36d['words'],_0x544f79=_0x50c36d[_0x2ec68c(0x20f)],_0x325646=[],_0x21fb30=0x0;_0x21fb30<_0x544f79;_0x21fb30++){var _0x1aa35f=_0x22ef31[_0x21fb30>>>0x2]>>>0x18-_0x21fb30%0x4*0x8&0xff;_0x325646['push'](String[_0x2ec68c(0x264)](_0x1aa35f));}return _0x325646['join']('');},'parse':function(_0x41d247){const _0x37e670=_0x3fa601;for(var _0x366852=_0x41d247[_0x37e670(0x285)],_0x3a7047=[],_0x534f90=0x0;_0x534f90<_0x366852;_0x534f90++)_0x3a7047[_0x534f90>>>0x2]|=(_0x41d247[_0x37e670(0x41b)](_0x534f90)&0xff)<<0x18-_0x534f90%0x4*0x8;return new _0x4bed5a[(_0x37e670(0x4c3))](_0x3a7047,_0x366852);}},_0x2f3a69=_0x40bd57[_0x3fa601(0x4a6)]={'stringify':function(_0x15e7e4){const _0x4a5963=_0x3fa601;try{return decodeURIComponent(escape(_0x523843[_0x4a5963(0x4f2)](_0x15e7e4)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x16e920){const _0x435392=_0x3fa601;return _0x523843[_0x435392(0x3e6)](unescape(encodeURIComponent(_0x16e920)));}},_0x8c049a=_0x199f52['BufferedBlockAlgorithm']=_0x3cdb31[_0x3fa601(0x322)]({'reset':function(){const _0x40b275=_0x3fa601;this[_0x40b275(0x484)]=new _0x4bed5a[(_0x40b275(0x4c3))](),this['_nDataBytes']=0x0;},'_append':function(_0x5684b8){const _0x4e3ef0=_0x3fa601;typeof _0x5684b8==_0x4e3ef0(0x43a)&&(_0x5684b8=_0x2f3a69[_0x4e3ef0(0x3e6)](_0x5684b8)),this[_0x4e3ef0(0x484)][_0x4e3ef0(0x228)](_0x5684b8),this[_0x4e3ef0(0x5b3)]+=_0x5684b8['sigBytes'];},'_process':function(_0x225505){const _0x96fac9=_0x3fa601;var _0x4ffd79,_0x4b14d3=this['_data'],_0x5e9e1a=_0x4b14d3['words'],_0x171e2d=_0x4b14d3['sigBytes'],_0x426819=this['blockSize'],_0x3ad8ab=_0x426819*0x4,_0x8fdf0=_0x171e2d/_0x3ad8ab;_0x225505?_0x8fdf0=_0x2281b6[_0x96fac9(0x411)](_0x8fdf0):_0x8fdf0=_0x2281b6[_0x96fac9(0x51f)]((_0x8fdf0|0x0)-this[_0x96fac9(0x4ae)],0x0);var _0x4a962b=_0x8fdf0*_0x426819,_0xbe4fab=_0x2281b6[_0x96fac9(0x3bb)](_0x4a962b*0x4,_0x171e2d);if(_0x4a962b){for(var _0x223195=0x0;_0x223195<_0x4a962b;_0x223195+=_0x426819)this['_doProcessBlock'](_0x5e9e1a,_0x223195);_0x4ffd79=_0x5e9e1a[_0x96fac9(0x378)](0x0,_0x4a962b),_0x4b14d3[_0x96fac9(0x20f)]-=_0xbe4fab;}return new _0x4bed5a[(_0x96fac9(0x4c3))](_0x4ffd79,_0xbe4fab);},'clone':function(){const _0x20bf5a=_0x3fa601;var _0x44dc6d=_0x3cdb31[_0x20bf5a(0x5c0)]['call'](this);return _0x44dc6d[_0x20bf5a(0x484)]=this[_0x20bf5a(0x484)][_0x20bf5a(0x5c0)](),_0x44dc6d;},'_minBufferSize':0x0});_0x199f52[_0x3fa601(0x47d)]=_0x8c049a[_0x3fa601(0x322)]({'cfg':_0x3cdb31[_0x3fa601(0x322)](),'init':function(_0x3b7d46){const _0x1b0556=_0x3fa601;this['cfg']=this[_0x1b0556(0x465)][_0x1b0556(0x322)](_0x3b7d46),this[_0x1b0556(0x532)]();},'reset':function(){const _0x53c5b5=_0x3fa601;_0x8c049a[_0x53c5b5(0x532)][_0x53c5b5(0x2d2)](this),this[_0x53c5b5(0x4f1)]();},'update':function(_0x118bcb){const _0x3048e6=_0x3fa601;return this[_0x3048e6(0x45d)](_0x118bcb),this[_0x3048e6(0x3ed)](),this;},'finalize':function(_0x1f05ba){const _0xed78f5=_0x3fa601;_0x1f05ba&&this['_append'](_0x1f05ba);var _0x23e367=this[_0xed78f5(0x394)]();return _0x23e367;},'blockSize':0x10,'_createHelper':function(_0x2a37db){return function(_0x1add68,_0x2ed9b2){const _0x3517c6=_0x272d;return new _0x2a37db[(_0x3517c6(0x4c3))](_0x2ed9b2)['finalize'](_0x1add68);};},'_createHmacHelper':function(_0x5f12fa){return function(_0x114148,_0x461171){const _0x503edc=_0x272d;return new _0x130b6c[(_0x503edc(0x461))]['init'](_0x5f12fa,_0x461171)[_0x503edc(0x1e4)](_0x114148);};}});var _0x130b6c=_0x1b3ef4['algo']={};return _0x1b3ef4;}(Math);return _0x2f2f6d;}));}(Wt)),Wt['exports'];}var Ft={'exports':{}},Xs;function ji(){return Xs||(Xs=0x1,function(_0x323ad4,_0x429f2b){(function(_0x59d904,_0x33d674){const _0x3331f4=_0x272d;_0x323ad4[_0x3331f4(0x274)]=_0x33d674(ue());}(Z,function(_0x40de54){const _0x4fc3eb=_0x272d;return(function(){const _0x37838c=_0x272d;var _0x5ac326=_0x40de54,_0xbf61f4=_0x5ac326[_0x37838c(0x206)],_0x5f5234=_0xbf61f4[_0x37838c(0x3cd)],_0x28f647=_0x5ac326[_0x37838c(0x41d)];_0x28f647['Base64']={'stringify':function(_0x12daa8){const _0x48ef33=_0x37838c;var _0x589607=_0x12daa8['words'],_0x345c81=_0x12daa8['sigBytes'],_0x485e49=this['_map'];_0x12daa8[_0x48ef33(0x317)]();for(var _0x54861d=[],_0x36cf81=0x0;_0x36cf81<_0x345c81;_0x36cf81+=0x3)for(var _0x22046a=_0x589607[_0x36cf81>>>0x2]>>>0x18-_0x36cf81%0x4*0x8&0xff,_0x132132=_0x589607[_0x36cf81+0x1>>>0x2]>>>0x18-(_0x36cf81+0x1)%0x4*0x8&0xff,_0x276f33=_0x589607[_0x36cf81+0x2>>>0x2]>>>0x18-(_0x36cf81+0x2)%0x4*0x8&0xff,_0x436992=_0x22046a<<0x10|_0x132132<<0x8|_0x276f33,_0x19abb9=0x0;_0x19abb9<0x4&&_0x36cf81+_0x19abb9*0.75<_0x345c81;_0x19abb9++)_0x54861d[_0x48ef33(0x3f6)](_0x485e49[_0x48ef33(0x244)](_0x436992>>>0x6*(0x3-_0x19abb9)&0x3f));var _0xa8da8c=_0x485e49[_0x48ef33(0x244)](0x40);if(_0xa8da8c){for(;_0x54861d[_0x48ef33(0x285)]%0x4;)_0x54861d['push'](_0xa8da8c);}return _0x54861d[_0x48ef33(0x247)]('');},'parse':function(_0x2a51d5){const _0x1aea0c=_0x37838c;var _0x834342=_0x2a51d5[_0x1aea0c(0x285)],_0x192e50=this[_0x1aea0c(0x2c0)],_0x1f4555=this[_0x1aea0c(0x3b0)];if(!_0x1f4555){_0x1f4555=this[_0x1aea0c(0x3b0)]=[];for(var _0x4245fb=0x0;_0x4245fb<_0x192e50[_0x1aea0c(0x285)];_0x4245fb++)_0x1f4555[_0x192e50['charCodeAt'](_0x4245fb)]=_0x4245fb;}var _0x4e6233=_0x192e50[_0x1aea0c(0x244)](0x40);if(_0x4e6233){var _0xf3d532=_0x2a51d5[_0x1aea0c(0x389)](_0x4e6233);_0xf3d532!==-0x1&&(_0x834342=_0xf3d532);}return _0x5f48af(_0x2a51d5,_0x834342,_0x1f4555);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x5f48af(_0x118e63,_0x48babf,_0x34ac04){const _0x333010=_0x37838c;for(var _0x311946=[],_0x409e99=0x0,_0x3015f1=0x0;_0x3015f1<_0x48babf;_0x3015f1++)if(_0x3015f1%0x4){var _0x27948e=_0x34ac04[_0x118e63[_0x333010(0x41b)](_0x3015f1-0x1)]<<_0x3015f1%0x4*0x2,_0x185e10=_0x34ac04[_0x118e63['charCodeAt'](_0x3015f1)]>>>0x6-_0x3015f1%0x4*0x2,_0x2196f4=_0x27948e|_0x185e10;_0x311946[_0x409e99>>>0x2]|=_0x2196f4<<0x18-_0x409e99%0x4*0x8,_0x409e99++;}return _0x5f5234[_0x333010(0x30c)](_0x311946,_0x409e99);}}()),_0x40de54['enc'][_0x4fc3eb(0x295)];}));}(Ft)),Ft['exports'];}var Vt={'exports':{}},Js;function Aa(){const _0x10bb3a=_0xe3a6b9;return Js||(Js=0x1,function(_0x21756f,_0x54a424){(function(_0x2d78c3,_0x17567e){const _0x5ea540=_0x272d;_0x21756f[_0x5ea540(0x274)]=_0x17567e(ue());}(Z,function(_0x4d70ed){const _0x299c4a=_0x272d;return function(_0x3eb863){const _0x3b830c=_0x272d;var _0x1cb631=_0x4d70ed,_0x538882=_0x1cb631['lib'],_0x50bd89=_0x538882[_0x3b830c(0x3cd)],_0x53bc23=_0x538882[_0x3b830c(0x47d)],_0x60e65=_0x1cb631[_0x3b830c(0x257)],_0x2ad18f=[];(function(){const _0x21498f=_0x3b830c;for(var _0x1311f1=0x0;_0x1311f1<0x40;_0x1311f1++)_0x2ad18f[_0x1311f1]=_0x3eb863['abs'](_0x3eb863[_0x21498f(0x28f)](_0x1311f1+0x1))*0x100000000|0x0;}());var _0xfb27bf=_0x60e65['MD5']=_0x53bc23[_0x3b830c(0x322)]({'_doReset':function(){const _0x1820d2=_0x3b830c;this[_0x1820d2(0x263)]=new _0x50bd89[(_0x1820d2(0x4c3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x518de8,_0x4f88bd){const _0x3f4841=_0x3b830c;for(var _0x52423c=0x0;_0x52423c<0x10;_0x52423c++){var _0x618773=_0x4f88bd+_0x52423c,_0x538c08=_0x518de8[_0x618773];_0x518de8[_0x618773]=(_0x538c08<<0x8|_0x538c08>>>0x18)&0xff00ff|(_0x538c08<<0x18|_0x538c08>>>0x8)&0xff00ff00;}var _0x512856=this[_0x3f4841(0x263)]['words'],_0x544966=_0x518de8[_0x4f88bd+0x0],_0x49ac3c=_0x518de8[_0x4f88bd+0x1],_0x5ebc50=_0x518de8[_0x4f88bd+0x2],_0x781882=_0x518de8[_0x4f88bd+0x3],_0x102c19=_0x518de8[_0x4f88bd+0x4],_0x12c0b5=_0x518de8[_0x4f88bd+0x5],_0x3ad7a5=_0x518de8[_0x4f88bd+0x6],_0x577ca0=_0x518de8[_0x4f88bd+0x7],_0x19daa7=_0x518de8[_0x4f88bd+0x8],_0x86f6c9=_0x518de8[_0x4f88bd+0x9],_0x253e11=_0x518de8[_0x4f88bd+0xa],_0x40f82a=_0x518de8[_0x4f88bd+0xb],_0x4d35a9=_0x518de8[_0x4f88bd+0xc],_0x29f8a4=_0x518de8[_0x4f88bd+0xd],_0x24f435=_0x518de8[_0x4f88bd+0xe],_0x26d1de=_0x518de8[_0x4f88bd+0xf],_0x2336ba=_0x512856[0x0],_0xccd586=_0x512856[0x1],_0x2318be=_0x512856[0x2],_0x1b2a6f=_0x512856[0x3];_0x2336ba=_0x36fdfe(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x544966,0x7,_0x2ad18f[0x0]),_0x1b2a6f=_0x36fdfe(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x49ac3c,0xc,_0x2ad18f[0x1]),_0x2318be=_0x36fdfe(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x5ebc50,0x11,_0x2ad18f[0x2]),_0xccd586=_0x36fdfe(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x781882,0x16,_0x2ad18f[0x3]),_0x2336ba=_0x36fdfe(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x102c19,0x7,_0x2ad18f[0x4]),_0x1b2a6f=_0x36fdfe(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x12c0b5,0xc,_0x2ad18f[0x5]),_0x2318be=_0x36fdfe(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x3ad7a5,0x11,_0x2ad18f[0x6]),_0xccd586=_0x36fdfe(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x577ca0,0x16,_0x2ad18f[0x7]),_0x2336ba=_0x36fdfe(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x19daa7,0x7,_0x2ad18f[0x8]),_0x1b2a6f=_0x36fdfe(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x86f6c9,0xc,_0x2ad18f[0x9]),_0x2318be=_0x36fdfe(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x253e11,0x11,_0x2ad18f[0xa]),_0xccd586=_0x36fdfe(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x40f82a,0x16,_0x2ad18f[0xb]),_0x2336ba=_0x36fdfe(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x4d35a9,0x7,_0x2ad18f[0xc]),_0x1b2a6f=_0x36fdfe(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x29f8a4,0xc,_0x2ad18f[0xd]),_0x2318be=_0x36fdfe(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x24f435,0x11,_0x2ad18f[0xe]),_0xccd586=_0x36fdfe(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x26d1de,0x16,_0x2ad18f[0xf]),_0x2336ba=_0x50d5b7(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x49ac3c,0x5,_0x2ad18f[0x10]),_0x1b2a6f=_0x50d5b7(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x3ad7a5,0x9,_0x2ad18f[0x11]),_0x2318be=_0x50d5b7(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x40f82a,0xe,_0x2ad18f[0x12]),_0xccd586=_0x50d5b7(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x544966,0x14,_0x2ad18f[0x13]),_0x2336ba=_0x50d5b7(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x12c0b5,0x5,_0x2ad18f[0x14]),_0x1b2a6f=_0x50d5b7(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x253e11,0x9,_0x2ad18f[0x15]),_0x2318be=_0x50d5b7(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x26d1de,0xe,_0x2ad18f[0x16]),_0xccd586=_0x50d5b7(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x102c19,0x14,_0x2ad18f[0x17]),_0x2336ba=_0x50d5b7(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x86f6c9,0x5,_0x2ad18f[0x18]),_0x1b2a6f=_0x50d5b7(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x24f435,0x9,_0x2ad18f[0x19]),_0x2318be=_0x50d5b7(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x781882,0xe,_0x2ad18f[0x1a]),_0xccd586=_0x50d5b7(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x19daa7,0x14,_0x2ad18f[0x1b]),_0x2336ba=_0x50d5b7(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x29f8a4,0x5,_0x2ad18f[0x1c]),_0x1b2a6f=_0x50d5b7(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x5ebc50,0x9,_0x2ad18f[0x1d]),_0x2318be=_0x50d5b7(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x577ca0,0xe,_0x2ad18f[0x1e]),_0xccd586=_0x50d5b7(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x4d35a9,0x14,_0x2ad18f[0x1f]),_0x2336ba=_0x41099a(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x12c0b5,0x4,_0x2ad18f[0x20]),_0x1b2a6f=_0x41099a(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x19daa7,0xb,_0x2ad18f[0x21]),_0x2318be=_0x41099a(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x40f82a,0x10,_0x2ad18f[0x22]),_0xccd586=_0x41099a(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x24f435,0x17,_0x2ad18f[0x23]),_0x2336ba=_0x41099a(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x49ac3c,0x4,_0x2ad18f[0x24]),_0x1b2a6f=_0x41099a(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x102c19,0xb,_0x2ad18f[0x25]),_0x2318be=_0x41099a(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x577ca0,0x10,_0x2ad18f[0x26]),_0xccd586=_0x41099a(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x253e11,0x17,_0x2ad18f[0x27]),_0x2336ba=_0x41099a(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x29f8a4,0x4,_0x2ad18f[0x28]),_0x1b2a6f=_0x41099a(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x544966,0xb,_0x2ad18f[0x29]),_0x2318be=_0x41099a(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x781882,0x10,_0x2ad18f[0x2a]),_0xccd586=_0x41099a(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x3ad7a5,0x17,_0x2ad18f[0x2b]),_0x2336ba=_0x41099a(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x86f6c9,0x4,_0x2ad18f[0x2c]),_0x1b2a6f=_0x41099a(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x4d35a9,0xb,_0x2ad18f[0x2d]),_0x2318be=_0x41099a(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x26d1de,0x10,_0x2ad18f[0x2e]),_0xccd586=_0x41099a(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x5ebc50,0x17,_0x2ad18f[0x2f]),_0x2336ba=_0x321d9c(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x544966,0x6,_0x2ad18f[0x30]),_0x1b2a6f=_0x321d9c(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x577ca0,0xa,_0x2ad18f[0x31]),_0x2318be=_0x321d9c(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x24f435,0xf,_0x2ad18f[0x32]),_0xccd586=_0x321d9c(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x12c0b5,0x15,_0x2ad18f[0x33]),_0x2336ba=_0x321d9c(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x4d35a9,0x6,_0x2ad18f[0x34]),_0x1b2a6f=_0x321d9c(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x781882,0xa,_0x2ad18f[0x35]),_0x2318be=_0x321d9c(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x253e11,0xf,_0x2ad18f[0x36]),_0xccd586=_0x321d9c(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x49ac3c,0x15,_0x2ad18f[0x37]),_0x2336ba=_0x321d9c(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x19daa7,0x6,_0x2ad18f[0x38]),_0x1b2a6f=_0x321d9c(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x26d1de,0xa,_0x2ad18f[0x39]),_0x2318be=_0x321d9c(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x3ad7a5,0xf,_0x2ad18f[0x3a]),_0xccd586=_0x321d9c(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x29f8a4,0x15,_0x2ad18f[0x3b]),_0x2336ba=_0x321d9c(_0x2336ba,_0xccd586,_0x2318be,_0x1b2a6f,_0x102c19,0x6,_0x2ad18f[0x3c]),_0x1b2a6f=_0x321d9c(_0x1b2a6f,_0x2336ba,_0xccd586,_0x2318be,_0x40f82a,0xa,_0x2ad18f[0x3d]),_0x2318be=_0x321d9c(_0x2318be,_0x1b2a6f,_0x2336ba,_0xccd586,_0x5ebc50,0xf,_0x2ad18f[0x3e]),_0xccd586=_0x321d9c(_0xccd586,_0x2318be,_0x1b2a6f,_0x2336ba,_0x86f6c9,0x15,_0x2ad18f[0x3f]),_0x512856[0x0]=_0x512856[0x0]+_0x2336ba|0x0,_0x512856[0x1]=_0x512856[0x1]+_0xccd586|0x0,_0x512856[0x2]=_0x512856[0x2]+_0x2318be|0x0,_0x512856[0x3]=_0x512856[0x3]+_0x1b2a6f|0x0;},'_doFinalize':function(){const _0x4ef5c6=_0x3b830c;var _0x5b4dae=this['_data'],_0x21d86e=_0x5b4dae['words'],_0x4f49a4=this[_0x4ef5c6(0x5b3)]*0x8,_0x5dcb55=_0x5b4dae[_0x4ef5c6(0x20f)]*0x8;_0x21d86e[_0x5dcb55>>>0x5]|=0x80<<0x18-_0x5dcb55%0x20;var _0x4e57b3=_0x3eb863[_0x4ef5c6(0x367)](_0x4f49a4/0x100000000),_0x16d700=_0x4f49a4;_0x21d86e[(_0x5dcb55+0x40>>>0x9<<0x4)+0xf]=(_0x4e57b3<<0x8|_0x4e57b3>>>0x18)&0xff00ff|(_0x4e57b3<<0x18|_0x4e57b3>>>0x8)&0xff00ff00,_0x21d86e[(_0x5dcb55+0x40>>>0x9<<0x4)+0xe]=(_0x16d700<<0x8|_0x16d700>>>0x18)&0xff00ff|(_0x16d700<<0x18|_0x16d700>>>0x8)&0xff00ff00,_0x5b4dae[_0x4ef5c6(0x20f)]=(_0x21d86e[_0x4ef5c6(0x285)]+0x1)*0x4,this[_0x4ef5c6(0x3ed)]();for(var _0x449325=this['_hash'],_0x3cde6d=_0x449325[_0x4ef5c6(0x408)],_0x18308a=0x0;_0x18308a<0x4;_0x18308a++){var _0x3e3954=_0x3cde6d[_0x18308a];_0x3cde6d[_0x18308a]=(_0x3e3954<<0x8|_0x3e3954>>>0x18)&0xff00ff|(_0x3e3954<<0x18|_0x3e3954>>>0x8)&0xff00ff00;}return _0x449325;},'clone':function(){const _0x5e25ef=_0x3b830c;var _0x3f38f9=_0x53bc23[_0x5e25ef(0x5c0)][_0x5e25ef(0x2d2)](this);return _0x3f38f9[_0x5e25ef(0x263)]=this[_0x5e25ef(0x263)][_0x5e25ef(0x5c0)](),_0x3f38f9;}});function _0x36fdfe(_0x4bf72e,_0x44563c,_0x1048a0,_0x316cb5,_0xdfe0a0,_0x57f48c,_0x2d6af5){var _0x1768e8=_0x4bf72e+(_0x44563c&_0x1048a0|~_0x44563c&_0x316cb5)+_0xdfe0a0+_0x2d6af5;return(_0x1768e8<<_0x57f48c|_0x1768e8>>>0x20-_0x57f48c)+_0x44563c;}function _0x50d5b7(_0x46c8ba,_0x2b102b,_0x31d2d7,_0xb0702,_0x119eac,_0x9c966e,_0x13b09c){var _0x1a011b=_0x46c8ba+(_0x2b102b&_0xb0702|_0x31d2d7&~_0xb0702)+_0x119eac+_0x13b09c;return(_0x1a011b<<_0x9c966e|_0x1a011b>>>0x20-_0x9c966e)+_0x2b102b;}function _0x41099a(_0x60cf15,_0x3abf84,_0x249b9a,_0x2f9058,_0x24aa41,_0x2a3337,_0x8ba774){var _0x291f19=_0x60cf15+(_0x3abf84^_0x249b9a^_0x2f9058)+_0x24aa41+_0x8ba774;return(_0x291f19<<_0x2a3337|_0x291f19>>>0x20-_0x2a3337)+_0x3abf84;}function _0x321d9c(_0x4711e4,_0x28d034,_0x1d93c7,_0x4fb360,_0x4efb4f,_0x3082e1,_0x1ed703){var _0x2c9bdd=_0x4711e4+(_0x1d93c7^(_0x28d034|~_0x4fb360))+_0x4efb4f+_0x1ed703;return(_0x2c9bdd<<_0x3082e1|_0x2c9bdd>>>0x20-_0x3082e1)+_0x28d034;}_0x1cb631['MD5']=_0x53bc23[_0x3b830c(0x549)](_0xfb27bf),_0x1cb631[_0x3b830c(0x59e)]=_0x53bc23['_createHmacHelper'](_0xfb27bf);}(Math),_0x4d70ed[_0x299c4a(0x1f1)];}));}(Vt)),Vt[_0x10bb3a(0x274)];}var Gt={'exports':{}},Yt={'exports':{}},Zs;function Ma(){const _0x369f81=_0xe3a6b9;return Zs||(Zs=0x1,function(_0x4d360c,_0x200f5e){(function(_0x3a11ff,_0xf4862e){_0x4d360c['exports']=_0xf4862e(ue());}(Z,function(_0x5de7dd){const _0xc9a050=_0x272d;return(function(){const _0x4ced80=_0x272d;var _0x4429e9=_0x5de7dd,_0x57d6=_0x4429e9['lib'],_0x5e290d=_0x57d6[_0x4ced80(0x3cd)],_0x47d95f=_0x57d6[_0x4ced80(0x47d)],_0x489b9b=_0x4429e9[_0x4ced80(0x257)],_0x43d044=[],_0x47813e=_0x489b9b[_0x4ced80(0x4f7)]=_0x47d95f[_0x4ced80(0x322)]({'_doReset':function(){this['_hash']=new _0x5e290d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x27bff5,_0xe49733){const _0x86464d=_0x4ced80;for(var _0x55b6e4=this[_0x86464d(0x263)][_0x86464d(0x408)],_0x1da917=_0x55b6e4[0x0],_0x494ab6=_0x55b6e4[0x1],_0x38edbe=_0x55b6e4[0x2],_0x2e87f9=_0x55b6e4[0x3],_0x32293b=_0x55b6e4[0x4],_0x46547f=0x0;_0x46547f<0x50;_0x46547f++){if(_0x46547f<0x10)_0x43d044[_0x46547f]=_0x27bff5[_0xe49733+_0x46547f]|0x0;else{var _0x38c847=_0x43d044[_0x46547f-0x3]^_0x43d044[_0x46547f-0x8]^_0x43d044[_0x46547f-0xe]^_0x43d044[_0x46547f-0x10];_0x43d044[_0x46547f]=_0x38c847<<0x1|_0x38c847>>>0x1f;}var _0x398a2a=(_0x1da917<<0x5|_0x1da917>>>0x1b)+_0x32293b+_0x43d044[_0x46547f];_0x46547f<0x14?_0x398a2a+=(_0x494ab6&_0x38edbe|~_0x494ab6&_0x2e87f9)+0x5a827999:_0x46547f<0x28?_0x398a2a+=(_0x494ab6^_0x38edbe^_0x2e87f9)+0x6ed9eba1:_0x46547f<0x3c?_0x398a2a+=(_0x494ab6&_0x38edbe|_0x494ab6&_0x2e87f9|_0x38edbe&_0x2e87f9)-0x70e44324:_0x398a2a+=(_0x494ab6^_0x38edbe^_0x2e87f9)-0x359d3e2a,_0x32293b=_0x2e87f9,_0x2e87f9=_0x38edbe,_0x38edbe=_0x494ab6<<0x1e|_0x494ab6>>>0x2,_0x494ab6=_0x1da917,_0x1da917=_0x398a2a;}_0x55b6e4[0x0]=_0x55b6e4[0x0]+_0x1da917|0x0,_0x55b6e4[0x1]=_0x55b6e4[0x1]+_0x494ab6|0x0,_0x55b6e4[0x2]=_0x55b6e4[0x2]+_0x38edbe|0x0,_0x55b6e4[0x3]=_0x55b6e4[0x3]+_0x2e87f9|0x0,_0x55b6e4[0x4]=_0x55b6e4[0x4]+_0x32293b|0x0;},'_doFinalize':function(){const _0x43fb8e=_0x4ced80;var _0x243282=this[_0x43fb8e(0x484)],_0x54f044=_0x243282['words'],_0x21ae8e=this[_0x43fb8e(0x5b3)]*0x8,_0x1153fe=_0x243282[_0x43fb8e(0x20f)]*0x8;return _0x54f044[_0x1153fe>>>0x5]|=0x80<<0x18-_0x1153fe%0x20,_0x54f044[(_0x1153fe+0x40>>>0x9<<0x4)+0xe]=Math[_0x43fb8e(0x367)](_0x21ae8e/0x100000000),_0x54f044[(_0x1153fe+0x40>>>0x9<<0x4)+0xf]=_0x21ae8e,_0x243282['sigBytes']=_0x54f044['length']*0x4,this[_0x43fb8e(0x3ed)](),this['_hash'];},'clone':function(){const _0x5e0b62=_0x4ced80;var _0x2b1e55=_0x47d95f['clone']['call'](this);return _0x2b1e55[_0x5e0b62(0x263)]=this[_0x5e0b62(0x263)][_0x5e0b62(0x5c0)](),_0x2b1e55;}});_0x4429e9['SHA1']=_0x47d95f[_0x4ced80(0x549)](_0x47813e),_0x4429e9[_0x4ced80(0x435)]=_0x47d95f['_createHmacHelper'](_0x47813e);}()),_0x5de7dd[_0xc9a050(0x4f7)];}));}(Yt)),Yt[_0x369f81(0x274)];}var Kt={'exports':{}},Qs;function xa(){const _0xb80b96=_0xe3a6b9;return Qs||(Qs=0x1,function(_0x1164b2,_0x2a1638){(function(_0x22d6a0,_0x485b62){const _0x26ec6a=_0x272d;_0x1164b2[_0x26ec6a(0x274)]=_0x485b62(ue());}(Z,function(_0x55af63){(function(){const _0x4f706f=_0x272d;var _0x4c04ea=_0x55af63,_0x2e8ec5=_0x4c04ea[_0x4f706f(0x206)],_0x1250cf=_0x2e8ec5['Base'],_0x24a82b=_0x4c04ea[_0x4f706f(0x41d)],_0x10d23a=_0x24a82b['Utf8'],_0x298464=_0x4c04ea[_0x4f706f(0x257)];_0x298464[_0x4f706f(0x461)]=_0x1250cf[_0x4f706f(0x322)]({'init':function(_0x4e0b34,_0x3eaa34){const _0x54fa93=_0x4f706f;_0x4e0b34=this[_0x54fa93(0x308)]=new _0x4e0b34['init'](),typeof _0x3eaa34==_0x54fa93(0x43a)&&(_0x3eaa34=_0x10d23a[_0x54fa93(0x3e6)](_0x3eaa34));var _0x5400bd=_0x4e0b34[_0x54fa93(0x373)],_0x51be80=_0x5400bd*0x4;_0x3eaa34[_0x54fa93(0x20f)]>_0x51be80&&(_0x3eaa34=_0x4e0b34['finalize'](_0x3eaa34)),_0x3eaa34[_0x54fa93(0x317)]();for(var _0x4309b7=this[_0x54fa93(0x4ec)]=_0x3eaa34[_0x54fa93(0x5c0)](),_0x26c935=this['_iKey']=_0x3eaa34[_0x54fa93(0x5c0)](),_0x3fcea9=_0x4309b7['words'],_0x1a7947=_0x26c935[_0x54fa93(0x408)],_0x3e9c27=0x0;_0x3e9c27<_0x5400bd;_0x3e9c27++)_0x3fcea9[_0x3e9c27]^=0x5c5c5c5c,_0x1a7947[_0x3e9c27]^=0x36363636;_0x4309b7[_0x54fa93(0x20f)]=_0x26c935[_0x54fa93(0x20f)]=_0x51be80,this['reset']();},'reset':function(){const _0x317895=_0x4f706f;var _0x7274=this[_0x317895(0x308)];_0x7274['reset'](),_0x7274[_0x317895(0x33c)](this[_0x317895(0x1f5)]);},'update':function(_0x5c9e68){const _0x424526=_0x4f706f;return this['_hasher'][_0x424526(0x33c)](_0x5c9e68),this;},'finalize':function(_0x184a97){const _0x50a8bb=_0x4f706f;var _0x1bde91=this[_0x50a8bb(0x308)],_0x27c137=_0x1bde91[_0x50a8bb(0x1e4)](_0x184a97);_0x1bde91[_0x50a8bb(0x532)]();var _0x1903a8=_0x1bde91[_0x50a8bb(0x1e4)](this['_oKey'][_0x50a8bb(0x5c0)]()[_0x50a8bb(0x228)](_0x27c137));return _0x1903a8;}});}());}));}(Kt)),Kt[_0xb80b96(0x274)];}var ei;function Bi(){const _0xa9519b=_0xe3a6b9;return ei||(ei=0x1,function(_0xd3e873,_0x5e4fe4){(function(_0xa4dd52,_0x56d0c3,_0x3d36a3){const _0x3bffd0=_0x272d;_0xd3e873[_0x3bffd0(0x274)]=_0x56d0c3(ue(),Ma(),xa());}(Z,function(_0x440130){const _0x55db59=_0x272d;return(function(){const _0x40892f=_0x272d;var _0x462526=_0x440130,_0x1c4198=_0x462526['lib'],_0x47cbda=_0x1c4198[_0x40892f(0x375)],_0x8d176f=_0x1c4198[_0x40892f(0x3cd)],_0xde7199=_0x462526[_0x40892f(0x257)],_0x31902c=_0xde7199[_0x40892f(0x1f1)],_0x51a78f=_0xde7199[_0x40892f(0x49b)]=_0x47cbda[_0x40892f(0x322)]({'cfg':_0x47cbda[_0x40892f(0x322)]({'keySize':0x80/0x20,'hasher':_0x31902c,'iterations':0x1}),'init':function(_0x1c3e0a){const _0x5773c5=_0x40892f;this['cfg']=this[_0x5773c5(0x465)]['extend'](_0x1c3e0a);},'compute':function(_0x5b9a4a,_0x339335){const _0x56b479=_0x40892f;for(var _0x1c5832,_0x2a7c46=this[_0x56b479(0x465)],_0x588c72=_0x2a7c46['hasher']['create'](),_0x79017a=_0x8d176f['create'](),_0x413ede=_0x79017a['words'],_0x1ae33d=_0x2a7c46[_0x56b479(0x21a)],_0x144a4c=_0x2a7c46[_0x56b479(0x4fc)];_0x413ede[_0x56b479(0x285)]<_0x1ae33d;){_0x1c5832&&_0x588c72[_0x56b479(0x33c)](_0x1c5832),_0x1c5832=_0x588c72['update'](_0x5b9a4a)[_0x56b479(0x1e4)](_0x339335),_0x588c72[_0x56b479(0x532)]();for(var _0x5e4665=0x1;_0x5e4665<_0x144a4c;_0x5e4665++)_0x1c5832=_0x588c72[_0x56b479(0x1e4)](_0x1c5832),_0x588c72['reset']();_0x79017a[_0x56b479(0x228)](_0x1c5832);}return _0x79017a['sigBytes']=_0x1ae33d*0x4,_0x79017a;}});_0x462526[_0x40892f(0x49b)]=function(_0x5d1da4,_0x5c49b3,_0x5275fa){const _0x5c9a8c=_0x40892f;return _0x51a78f[_0x5c9a8c(0x30c)](_0x5275fa)['compute'](_0x5d1da4,_0x5c49b3);};}()),_0x440130[_0x55db59(0x49b)];}));}(Gt)),Gt[_0xa9519b(0x274)];}var zt={'exports':{}},ti;function ki(){const _0x522f50=_0xe3a6b9;return ti||(ti=0x1,function(_0x1b4597,_0x23390e){(function(_0x1e2575,_0x320970,_0x11d0e1){const _0x51e813=_0x272d;_0x1b4597[_0x51e813(0x274)]=_0x320970(ue(),Bi());}(Z,function(_0x59d510){const _0x13b67b=_0x272d;_0x59d510[_0x13b67b(0x206)][_0x13b67b(0x3cb)]||function(_0x2ebf46){const _0x4553ca=_0x13b67b;var _0xb41846=_0x59d510,_0x505c32=_0xb41846[_0x4553ca(0x206)],_0x3d68a0=_0x505c32['Base'],_0x1cfa1c=_0x505c32[_0x4553ca(0x3cd)],_0x38d2a1=_0x505c32['BufferedBlockAlgorithm'],_0x2ef6c6=_0xb41846[_0x4553ca(0x41d)];_0x2ef6c6[_0x4553ca(0x4a6)];var _0x24cf24=_0x2ef6c6['Base64'],_0x38e6b6=_0xb41846['algo'],_0x54c57f=_0x38e6b6[_0x4553ca(0x49b)],_0x1a5534=_0x505c32[_0x4553ca(0x3cb)]=_0x38d2a1[_0x4553ca(0x322)]({'cfg':_0x3d68a0['extend'](),'createEncryptor':function(_0x347d93,_0x30042f){const _0xc1d4a3=_0x4553ca;return this[_0xc1d4a3(0x30c)](this[_0xc1d4a3(0x3c8)],_0x347d93,_0x30042f);},'createDecryptor':function(_0x27e1d6,_0x17ae49){return this['create'](this['_DEC_XFORM_MODE'],_0x27e1d6,_0x17ae49);},'init':function(_0x5b1cfa,_0x4a101b,_0xe7c432){const _0x47d9e5=_0x4553ca;this[_0x47d9e5(0x465)]=this[_0x47d9e5(0x465)][_0x47d9e5(0x322)](_0xe7c432),this[_0x47d9e5(0x554)]=_0x5b1cfa,this[_0x47d9e5(0x438)]=_0x4a101b,this[_0x47d9e5(0x532)]();},'reset':function(){const _0x8b00e9=_0x4553ca;_0x38d2a1[_0x8b00e9(0x532)]['call'](this),this[_0x8b00e9(0x4f1)]();},'process':function(_0x28ae0f){const _0x1afe35=_0x4553ca;return this['_append'](_0x28ae0f),this[_0x1afe35(0x3ed)]();},'finalize':function(_0x22fcdf){const _0x56735d=_0x4553ca;_0x22fcdf&&this['_append'](_0x22fcdf);var _0x16ec6b=this[_0x56735d(0x394)]();return _0x16ec6b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2e3202(_0x2edf9c){return typeof _0x2edf9c=='string'?_0x4b7927:_0xea39c5;}return function(_0x26ca85){return{'encrypt':function(_0x5d124c,_0x11086b,_0x1c3d76){const _0x5ed87c=_0x272d;return _0x2e3202(_0x11086b)[_0x5ed87c(0x30f)](_0x26ca85,_0x5d124c,_0x11086b,_0x1c3d76);},'decrypt':function(_0x143fd5,_0x14a20f,_0x12e0a1){const _0x3ff6ab=_0x272d;return _0x2e3202(_0x14a20f)[_0x3ff6ab(0x279)](_0x26ca85,_0x143fd5,_0x14a20f,_0x12e0a1);}};};}())});_0x505c32[_0x4553ca(0x4a1)]=_0x1a5534[_0x4553ca(0x322)]({'_doFinalize':function(){const _0x54f267=_0x4553ca;var _0x3f7c28=this[_0x54f267(0x3ed)](!0x0);return _0x3f7c28;},'blockSize':0x1});var _0xaca934=_0xb41846[_0x4553ca(0x33d)]={},_0x3cd482=_0x505c32[_0x4553ca(0x259)]=_0x3d68a0['extend']({'createEncryptor':function(_0x18df31,_0x437d67){const _0xbde257=_0x4553ca;return this[_0xbde257(0x1f3)][_0xbde257(0x30c)](_0x18df31,_0x437d67);},'createDecryptor':function(_0x56e536,_0x4b8068){const _0x5b2a82=_0x4553ca;return this[_0x5b2a82(0x462)]['create'](_0x56e536,_0x4b8068);},'init':function(_0x18584f,_0x45df82){const _0x396d18=_0x4553ca;this[_0x396d18(0x239)]=_0x18584f,this[_0x396d18(0x302)]=_0x45df82;}}),_0x244c51=_0xaca934[_0x4553ca(0x275)]=(function(){const _0x578837=_0x4553ca;var _0x2bcaa4=_0x3cd482[_0x578837(0x322)]();_0x2bcaa4[_0x578837(0x1f3)]=_0x2bcaa4[_0x578837(0x322)]({'processBlock':function(_0xeed5e,_0x304303){const _0x3b8623=_0x578837;var _0x478a46=this[_0x3b8623(0x239)],_0x64fa5f=_0x478a46[_0x3b8623(0x373)];_0x1a6634['call'](this,_0xeed5e,_0x304303,_0x64fa5f),_0x478a46[_0x3b8623(0x4a2)](_0xeed5e,_0x304303),this[_0x3b8623(0x22d)]=_0xeed5e[_0x3b8623(0x398)](_0x304303,_0x304303+_0x64fa5f);}}),_0x2bcaa4[_0x578837(0x462)]=_0x2bcaa4[_0x578837(0x322)]({'processBlock':function(_0x58542d,_0x80c476){const _0x73ab0d=_0x578837;var _0xe266a7=this[_0x73ab0d(0x239)],_0x4841e2=_0xe266a7[_0x73ab0d(0x373)],_0x515a89=_0x58542d[_0x73ab0d(0x398)](_0x80c476,_0x80c476+_0x4841e2);_0xe266a7[_0x73ab0d(0x2b9)](_0x58542d,_0x80c476),_0x1a6634[_0x73ab0d(0x2d2)](this,_0x58542d,_0x80c476,_0x4841e2),this[_0x73ab0d(0x22d)]=_0x515a89;}});function _0x1a6634(_0x578afc,_0x286b36,_0x37422d){const _0x288f73=_0x578837;var _0x4ff251,_0x3ecd8e=this[_0x288f73(0x302)];_0x3ecd8e?(_0x4ff251=_0x3ecd8e,this[_0x288f73(0x302)]=_0x2ebf46):_0x4ff251=this[_0x288f73(0x22d)];for(var _0x4df7fd=0x0;_0x4df7fd<_0x37422d;_0x4df7fd++)_0x578afc[_0x286b36+_0x4df7fd]^=_0x4ff251[_0x4df7fd];}return _0x2bcaa4;}()),_0x255c18=_0xb41846[_0x4553ca(0x3a5)]={},_0x4959f4=_0x255c18[_0x4553ca(0x4a4)]={'pad':function(_0xb55554,_0x4a8b59){const _0x524c34=_0x4553ca;for(var _0x49ddee=_0x4a8b59*0x4,_0x51632b=_0x49ddee-_0xb55554[_0x524c34(0x20f)]%_0x49ddee,_0x3794fc=_0x51632b<<0x18|_0x51632b<<0x10|_0x51632b<<0x8|_0x51632b,_0x5785e3=[],_0x1613e8=0x0;_0x1613e8<_0x51632b;_0x1613e8+=0x4)_0x5785e3[_0x524c34(0x3f6)](_0x3794fc);var _0x2da7b5=_0x1cfa1c[_0x524c34(0x30c)](_0x5785e3,_0x51632b);_0xb55554[_0x524c34(0x228)](_0x2da7b5);},'unpad':function(_0xc64134){const _0x5c1912=_0x4553ca;var _0x15e022=_0xc64134[_0x5c1912(0x408)][_0xc64134[_0x5c1912(0x20f)]-0x1>>>0x2]&0xff;_0xc64134['sigBytes']-=_0x15e022;}};_0x505c32[_0x4553ca(0x3b7)]=_0x1a5534[_0x4553ca(0x322)]({'cfg':_0x1a5534[_0x4553ca(0x465)][_0x4553ca(0x322)]({'mode':_0x244c51,'padding':_0x4959f4}),'reset':function(){const _0x46122d=_0x4553ca;var _0x1e5512;_0x1a5534[_0x46122d(0x532)]['call'](this);var _0x5ba149=this[_0x46122d(0x465)],_0x595046=_0x5ba149['iv'],_0x1075bf=_0x5ba149[_0x46122d(0x33d)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x1e5512=_0x1075bf[_0x46122d(0x400)]:(_0x1e5512=_0x1075bf[_0x46122d(0x399)],this[_0x46122d(0x4ae)]=0x1),this[_0x46122d(0x4f3)]&&this[_0x46122d(0x4f3)]['__creator']==_0x1e5512?this[_0x46122d(0x4f3)][_0x46122d(0x4c3)](this,_0x595046&&_0x595046[_0x46122d(0x408)]):(this[_0x46122d(0x4f3)]=_0x1e5512[_0x46122d(0x2d2)](_0x1075bf,this,_0x595046&&_0x595046['words']),this[_0x46122d(0x4f3)]['__creator']=_0x1e5512);},'_doProcessBlock':function(_0x5cf42a,_0x5963b){const _0x54170e=_0x4553ca;this[_0x54170e(0x4f3)][_0x54170e(0x51e)](_0x5cf42a,_0x5963b);},'_doFinalize':function(){const _0x27cc3d=_0x4553ca;var _0x221f1b,_0x47cb1c=this['cfg'][_0x27cc3d(0x3ab)];return this[_0x27cc3d(0x554)]==this[_0x27cc3d(0x3c8)]?(_0x47cb1c['pad'](this['_data'],this['blockSize']),_0x221f1b=this[_0x27cc3d(0x3ed)](!0x0)):(_0x221f1b=this[_0x27cc3d(0x3ed)](!0x0),_0x47cb1c[_0x27cc3d(0x395)](_0x221f1b)),_0x221f1b;},'blockSize':0x80/0x20});var _0x3d8200=_0x505c32[_0x4553ca(0x255)]=_0x3d68a0[_0x4553ca(0x322)]({'init':function(_0x52e1b2){const _0x4d841c=_0x4553ca;this[_0x4d841c(0x4bd)](_0x52e1b2);},'toString':function(_0x56b465){const _0x204d3a=_0x4553ca;return(_0x56b465||this[_0x204d3a(0x53b)])[_0x204d3a(0x4f2)](this);}}),_0x2e5259=_0xb41846[_0x4553ca(0x30d)]={},_0x349749=_0x2e5259[_0x4553ca(0x450)]={'stringify':function(_0x395c4c){const _0x3add88=_0x4553ca;var _0x14f04f,_0x4b1dc0=_0x395c4c[_0x3add88(0x5d0)],_0x3fcbf5=_0x395c4c[_0x3add88(0x476)];return _0x3fcbf5?_0x14f04f=_0x1cfa1c['create']([0x53616c74,0x65645f5f])[_0x3add88(0x228)](_0x3fcbf5)[_0x3add88(0x228)](_0x4b1dc0):_0x14f04f=_0x4b1dc0,_0x14f04f['toString'](_0x24cf24);},'parse':function(_0x2c5575){const _0x3aa858=_0x4553ca;var _0x126e28,_0x449c4c=_0x24cf24[_0x3aa858(0x3e6)](_0x2c5575),_0x46e2c9=_0x449c4c['words'];return _0x46e2c9[0x0]==0x53616c74&&_0x46e2c9[0x1]==0x65645f5f&&(_0x126e28=_0x1cfa1c['create'](_0x46e2c9[_0x3aa858(0x398)](0x2,0x4)),_0x46e2c9['splice'](0x0,0x4),_0x449c4c[_0x3aa858(0x20f)]-=0x10),_0x3d8200[_0x3aa858(0x30c)]({'ciphertext':_0x449c4c,'salt':_0x126e28});}},_0xea39c5=_0x505c32[_0x4553ca(0x34c)]=_0x3d68a0['extend']({'cfg':_0x3d68a0[_0x4553ca(0x322)]({'format':_0x349749}),'encrypt':function(_0x35a283,_0x2b770f,_0x2c7001,_0x34162e){const _0x309dc7=_0x4553ca;_0x34162e=this['cfg'][_0x309dc7(0x322)](_0x34162e);var _0x377c58=_0x35a283[_0x309dc7(0x400)](_0x2c7001,_0x34162e),_0x58f2f0=_0x377c58[_0x309dc7(0x1e4)](_0x2b770f),_0x5302fe=_0x377c58['cfg'];return _0x3d8200[_0x309dc7(0x30c)]({'ciphertext':_0x58f2f0,'key':_0x2c7001,'iv':_0x5302fe['iv'],'algorithm':_0x35a283,'mode':_0x5302fe[_0x309dc7(0x33d)],'padding':_0x5302fe[_0x309dc7(0x3ab)],'blockSize':_0x35a283[_0x309dc7(0x373)],'formatter':_0x34162e[_0x309dc7(0x30d)]});},'decrypt':function(_0x5867d2,_0xc4c9ea,_0x29fd83,_0xb27dd7){const _0xe9e02c=_0x4553ca;_0xb27dd7=this[_0xe9e02c(0x465)][_0xe9e02c(0x322)](_0xb27dd7),_0xc4c9ea=this[_0xe9e02c(0x4d5)](_0xc4c9ea,_0xb27dd7[_0xe9e02c(0x30d)]);var _0x5527de=_0x5867d2['createDecryptor'](_0x29fd83,_0xb27dd7)[_0xe9e02c(0x1e4)](_0xc4c9ea[_0xe9e02c(0x5d0)]);return _0x5527de;},'_parse':function(_0x590c61,_0x3fc1b9){const _0x625123=_0x4553ca;return typeof _0x590c61==_0x625123(0x43a)?_0x3fc1b9[_0x625123(0x3e6)](_0x590c61,this):_0x590c61;}}),_0x412b64=_0xb41846[_0x4553ca(0x541)]={},_0x3a47d8=_0x412b64[_0x4553ca(0x450)]={'execute':function(_0x4de89e,_0x75adeb,_0x4dd004,_0x4389ff,_0x5b6ecd){const _0x31ae5a=_0x4553ca;if(_0x4389ff||(_0x4389ff=_0x1cfa1c['random'](0x40/0x8)),_0x5b6ecd)var _0xd55a9f=_0x54c57f['create']({'keySize':_0x75adeb+_0x4dd004,'hasher':_0x5b6ecd})[_0x31ae5a(0x402)](_0x4de89e,_0x4389ff);else var _0xd55a9f=_0x54c57f[_0x31ae5a(0x30c)]({'keySize':_0x75adeb+_0x4dd004})[_0x31ae5a(0x402)](_0x4de89e,_0x4389ff);var _0x3569a5=_0x1cfa1c['create'](_0xd55a9f[_0x31ae5a(0x408)][_0x31ae5a(0x398)](_0x75adeb),_0x4dd004*0x4);return _0xd55a9f[_0x31ae5a(0x20f)]=_0x75adeb*0x4,_0x3d8200[_0x31ae5a(0x30c)]({'key':_0xd55a9f,'iv':_0x3569a5,'salt':_0x4389ff});}},_0x4b7927=_0x505c32[_0x4553ca(0x5bb)]=_0xea39c5[_0x4553ca(0x322)]({'cfg':_0xea39c5[_0x4553ca(0x465)]['extend']({'kdf':_0x3a47d8}),'encrypt':function(_0x59b75a,_0x266ea0,_0x38d945,_0x30168d){const _0x219835=_0x4553ca;_0x30168d=this[_0x219835(0x465)][_0x219835(0x322)](_0x30168d);var _0x16d886=_0x30168d[_0x219835(0x541)][_0x219835(0x472)](_0x38d945,_0x59b75a['keySize'],_0x59b75a[_0x219835(0x434)],_0x30168d['salt'],_0x30168d[_0x219835(0x2b1)]);_0x30168d['iv']=_0x16d886['iv'];var _0x10c7cd=_0xea39c5[_0x219835(0x30f)][_0x219835(0x2d2)](this,_0x59b75a,_0x266ea0,_0x16d886['key'],_0x30168d);return _0x10c7cd[_0x219835(0x4bd)](_0x16d886),_0x10c7cd;},'decrypt':function(_0x15ab14,_0x12812f,_0x542e9e,_0x31780c){const _0x2c839e=_0x4553ca;_0x31780c=this[_0x2c839e(0x465)][_0x2c839e(0x322)](_0x31780c),_0x12812f=this[_0x2c839e(0x4d5)](_0x12812f,_0x31780c[_0x2c839e(0x30d)]);var _0x41b2c6=_0x31780c[_0x2c839e(0x541)]['execute'](_0x542e9e,_0x15ab14[_0x2c839e(0x21a)],_0x15ab14[_0x2c839e(0x434)],_0x12812f[_0x2c839e(0x476)],_0x31780c[_0x2c839e(0x2b1)]);_0x31780c['iv']=_0x41b2c6['iv'];var _0x145f14=_0xea39c5['decrypt'][_0x2c839e(0x2d2)](this,_0x15ab14,_0x12812f,_0x41b2c6[_0x2c839e(0x1ee)],_0x31780c);return _0x145f14;}});}();}));}(zt)),zt[_0x522f50(0x274)];}(function(_0xe85afe,_0x3d6a0c){(function(_0x3051e6,_0x31dff1,_0x31c440){_0xe85afe['exports']=_0x31dff1(ue(),ji(),Aa(),Bi(),ki());}(Z,function(_0x33e385){const _0x1cf8bf=_0x272d;return(function(){const _0x4c5f45=_0x272d;var _0x1a5d66=_0x33e385,_0x335c21=_0x1a5d66[_0x4c5f45(0x206)],_0x26aa8a=_0x335c21[_0x4c5f45(0x3b7)],_0x3014aa=_0x1a5d66['algo'],_0x11c7ee=[],_0x291f25=[],_0x4685ce=[],_0x21ac90=[],_0x5a5e01=[],_0xa06ab3=[],_0x3fd823=[],_0x339acf=[],_0x7a8a79=[],_0x54a042=[];(function(){for(var _0x4fb832=[],_0x481560=0x0;_0x481560<0x100;_0x481560++)_0x481560<0x80?_0x4fb832[_0x481560]=_0x481560<<0x1:_0x4fb832[_0x481560]=_0x481560<<0x1^0x11b;for(var _0x11d367=0x0,_0x661615=0x0,_0x481560=0x0;_0x481560<0x100;_0x481560++){var _0x1da657=_0x661615^_0x661615<<0x1^_0x661615<<0x2^_0x661615<<0x3^_0x661615<<0x4;_0x1da657=_0x1da657>>>0x8^_0x1da657&0xff^0x63,_0x11c7ee[_0x11d367]=_0x1da657,_0x291f25[_0x1da657]=_0x11d367;var _0x10093c=_0x4fb832[_0x11d367],_0x15d665=_0x4fb832[_0x10093c],_0x50b86e=_0x4fb832[_0x15d665],_0x26b336=_0x4fb832[_0x1da657]*0x101^_0x1da657*0x1010100;_0x4685ce[_0x11d367]=_0x26b336<<0x18|_0x26b336>>>0x8,_0x21ac90[_0x11d367]=_0x26b336<<0x10|_0x26b336>>>0x10,_0x5a5e01[_0x11d367]=_0x26b336<<0x8|_0x26b336>>>0x18,_0xa06ab3[_0x11d367]=_0x26b336;var _0x26b336=_0x50b86e*0x1010101^_0x15d665*0x10001^_0x10093c*0x101^_0x11d367*0x1010100;_0x3fd823[_0x1da657]=_0x26b336<<0x18|_0x26b336>>>0x8,_0x339acf[_0x1da657]=_0x26b336<<0x10|_0x26b336>>>0x10,_0x7a8a79[_0x1da657]=_0x26b336<<0x8|_0x26b336>>>0x18,_0x54a042[_0x1da657]=_0x26b336,_0x11d367?(_0x11d367=_0x10093c^_0x4fb832[_0x4fb832[_0x4fb832[_0x50b86e^_0x10093c]]],_0x661615^=_0x4fb832[_0x4fb832[_0x661615]]):_0x11d367=_0x661615=0x1;}}());var _0x576e86=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2aa69a=_0x3014aa[_0x4c5f45(0x3bd)]=_0x26aa8a['extend']({'_doReset':function(){const _0x20dde4=_0x4c5f45;var _0x104d58;if(!(this[_0x20dde4(0x477)]&&this[_0x20dde4(0x566)]===this[_0x20dde4(0x438)])){for(var _0x5343ed=this[_0x20dde4(0x566)]=this[_0x20dde4(0x438)],_0x58a268=_0x5343ed[_0x20dde4(0x408)],_0x14cd1f=_0x5343ed['sigBytes']/0x4,_0x3c7821=this['_nRounds']=_0x14cd1f+0x6,_0x5cab68=(_0x3c7821+0x1)*0x4,_0xe60486=this[_0x20dde4(0x4b5)]=[],_0x3c5bbb=0x0;_0x3c5bbb<_0x5cab68;_0x3c5bbb++)_0x3c5bbb<_0x14cd1f?_0xe60486[_0x3c5bbb]=_0x58a268[_0x3c5bbb]:(_0x104d58=_0xe60486[_0x3c5bbb-0x1],_0x3c5bbb%_0x14cd1f?_0x14cd1f>0x6&&_0x3c5bbb%_0x14cd1f==0x4&&(_0x104d58=_0x11c7ee[_0x104d58>>>0x18]<<0x18|_0x11c7ee[_0x104d58>>>0x10&0xff]<<0x10|_0x11c7ee[_0x104d58>>>0x8&0xff]<<0x8|_0x11c7ee[_0x104d58&0xff]):(_0x104d58=_0x104d58<<0x8|_0x104d58>>>0x18,_0x104d58=_0x11c7ee[_0x104d58>>>0x18]<<0x18|_0x11c7ee[_0x104d58>>>0x10&0xff]<<0x10|_0x11c7ee[_0x104d58>>>0x8&0xff]<<0x8|_0x11c7ee[_0x104d58&0xff],_0x104d58^=_0x576e86[_0x3c5bbb/_0x14cd1f|0x0]<<0x18),_0xe60486[_0x3c5bbb]=_0xe60486[_0x3c5bbb-_0x14cd1f]^_0x104d58);for(var _0x6740cc=this['_invKeySchedule']=[],_0x8ab5b2=0x0;_0x8ab5b2<_0x5cab68;_0x8ab5b2++){var _0x3c5bbb=_0x5cab68-_0x8ab5b2;if(_0x8ab5b2%0x4)var _0x104d58=_0xe60486[_0x3c5bbb];else var _0x104d58=_0xe60486[_0x3c5bbb-0x4];_0x8ab5b2<0x4||_0x3c5bbb<=0x4?_0x6740cc[_0x8ab5b2]=_0x104d58:_0x6740cc[_0x8ab5b2]=_0x3fd823[_0x11c7ee[_0x104d58>>>0x18]]^_0x339acf[_0x11c7ee[_0x104d58>>>0x10&0xff]]^_0x7a8a79[_0x11c7ee[_0x104d58>>>0x8&0xff]]^_0x54a042[_0x11c7ee[_0x104d58&0xff]];}}},'encryptBlock':function(_0x251b0f,_0x554050){const _0x136389=_0x4c5f45;this[_0x136389(0x504)](_0x251b0f,_0x554050,this[_0x136389(0x4b5)],_0x4685ce,_0x21ac90,_0x5a5e01,_0xa06ab3,_0x11c7ee);},'decryptBlock':function(_0x1ce44e,_0x2b70d1){const _0x33aca6=_0x4c5f45;var _0x2fac24=_0x1ce44e[_0x2b70d1+0x1];_0x1ce44e[_0x2b70d1+0x1]=_0x1ce44e[_0x2b70d1+0x3],_0x1ce44e[_0x2b70d1+0x3]=_0x2fac24,this[_0x33aca6(0x504)](_0x1ce44e,_0x2b70d1,this[_0x33aca6(0x53e)],_0x3fd823,_0x339acf,_0x7a8a79,_0x54a042,_0x291f25);var _0x2fac24=_0x1ce44e[_0x2b70d1+0x1];_0x1ce44e[_0x2b70d1+0x1]=_0x1ce44e[_0x2b70d1+0x3],_0x1ce44e[_0x2b70d1+0x3]=_0x2fac24;},'_doCryptBlock':function(_0x4b32ab,_0x148ddc,_0x230cbc,_0x54285d,_0x3ea441,_0xbad0f2,_0x185b4f,_0x325945){for(var _0x52a6d1=this['_nRounds'],_0x4d1cf7=_0x4b32ab[_0x148ddc]^_0x230cbc[0x0],_0x199366=_0x4b32ab[_0x148ddc+0x1]^_0x230cbc[0x1],_0xe53746=_0x4b32ab[_0x148ddc+0x2]^_0x230cbc[0x2],_0x5bd56b=_0x4b32ab[_0x148ddc+0x3]^_0x230cbc[0x3],_0x46761b=0x4,_0x44ac54=0x1;_0x44ac54<_0x52a6d1;_0x44ac54++){var _0x11cf48=_0x54285d[_0x4d1cf7>>>0x18]^_0x3ea441[_0x199366>>>0x10&0xff]^_0xbad0f2[_0xe53746>>>0x8&0xff]^_0x185b4f[_0x5bd56b&0xff]^_0x230cbc[_0x46761b++],_0x191719=_0x54285d[_0x199366>>>0x18]^_0x3ea441[_0xe53746>>>0x10&0xff]^_0xbad0f2[_0x5bd56b>>>0x8&0xff]^_0x185b4f[_0x4d1cf7&0xff]^_0x230cbc[_0x46761b++],_0x539cd5=_0x54285d[_0xe53746>>>0x18]^_0x3ea441[_0x5bd56b>>>0x10&0xff]^_0xbad0f2[_0x4d1cf7>>>0x8&0xff]^_0x185b4f[_0x199366&0xff]^_0x230cbc[_0x46761b++],_0x314c6a=_0x54285d[_0x5bd56b>>>0x18]^_0x3ea441[_0x4d1cf7>>>0x10&0xff]^_0xbad0f2[_0x199366>>>0x8&0xff]^_0x185b4f[_0xe53746&0xff]^_0x230cbc[_0x46761b++];_0x4d1cf7=_0x11cf48,_0x199366=_0x191719,_0xe53746=_0x539cd5,_0x5bd56b=_0x314c6a;}var _0x11cf48=(_0x325945[_0x4d1cf7>>>0x18]<<0x18|_0x325945[_0x199366>>>0x10&0xff]<<0x10|_0x325945[_0xe53746>>>0x8&0xff]<<0x8|_0x325945[_0x5bd56b&0xff])^_0x230cbc[_0x46761b++],_0x191719=(_0x325945[_0x199366>>>0x18]<<0x18|_0x325945[_0xe53746>>>0x10&0xff]<<0x10|_0x325945[_0x5bd56b>>>0x8&0xff]<<0x8|_0x325945[_0x4d1cf7&0xff])^_0x230cbc[_0x46761b++],_0x539cd5=(_0x325945[_0xe53746>>>0x18]<<0x18|_0x325945[_0x5bd56b>>>0x10&0xff]<<0x10|_0x325945[_0x4d1cf7>>>0x8&0xff]<<0x8|_0x325945[_0x199366&0xff])^_0x230cbc[_0x46761b++],_0x314c6a=(_0x325945[_0x5bd56b>>>0x18]<<0x18|_0x325945[_0x4d1cf7>>>0x10&0xff]<<0x10|_0x325945[_0x199366>>>0x8&0xff]<<0x8|_0x325945[_0xe53746&0xff])^_0x230cbc[_0x46761b++];_0x4b32ab[_0x148ddc]=_0x11cf48,_0x4b32ab[_0x148ddc+0x1]=_0x191719,_0x4b32ab[_0x148ddc+0x2]=_0x539cd5,_0x4b32ab[_0x148ddc+0x3]=_0x314c6a;},'keySize':0x100/0x20});_0x1a5d66[_0x4c5f45(0x3bd)]=_0x26aa8a[_0x4c5f45(0x549)](_0x2aa69a);}()),_0x33e385[_0x1cf8bf(0x3bd)];}));}(Hi));var La=Hi[_0xe3a6b9(0x274)];const $a=at(La);var Ha=ji();const si=at(Ha);var Wi={'exports':{}};(function(_0x2afd22,_0x4f7817){(function(_0x582e8c,_0x302c32){const _0x86bdb8=_0x272d;_0x2afd22[_0x86bdb8(0x274)]=_0x302c32(ue());}(Z,function(_0x4afa63){const _0xbbe33b=_0x272d;return _0x4afa63[_0xbbe33b(0x41d)][_0xbbe33b(0x4a6)];}));}(Wi));var ja=Wi[_0xe3a6b9(0x274)];const Ba=at(ja);var Fi={'exports':{}};(function(_0x3e6b1c,_0x58c110){(function(_0x2fac8a,_0x45b7cc){const _0x16fec9=_0x272d;_0x3e6b1c[_0x16fec9(0x274)]=_0x45b7cc(ue());}(Z,function(_0x3c97f8){const _0x2736b5=_0x272d;return(function(){const _0x598e9f=_0x272d;if(typeof ArrayBuffer==_0x598e9f(0x48e)){var _0x55b41c=_0x3c97f8,_0xb53e30=_0x55b41c['lib'],_0x3fc082=_0xb53e30[_0x598e9f(0x3cd)],_0x31d64e=_0x3fc082[_0x598e9f(0x4c3)],_0x2c86d3=_0x3fc082[_0x598e9f(0x4c3)]=function(_0x98afca){const _0x11a123=_0x598e9f;if(_0x98afca instanceof ArrayBuffer&&(_0x98afca=new Uint8Array(_0x98afca)),(_0x98afca instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x98afca instanceof Uint8ClampedArray||_0x98afca instanceof Int16Array||_0x98afca instanceof Uint16Array||_0x98afca instanceof Int32Array||_0x98afca instanceof Uint32Array||_0x98afca instanceof Float32Array||_0x98afca instanceof Float64Array)&&(_0x98afca=new Uint8Array(_0x98afca[_0x11a123(0x2e3)],_0x98afca[_0x11a123(0x587)],_0x98afca[_0x11a123(0x23a)])),_0x98afca instanceof Uint8Array){for(var _0x2eb095=_0x98afca[_0x11a123(0x23a)],_0x2fcb59=[],_0x42ee0b=0x0;_0x42ee0b<_0x2eb095;_0x42ee0b++)_0x2fcb59[_0x42ee0b>>>0x2]|=_0x98afca[_0x42ee0b]<<0x18-_0x42ee0b%0x4*0x8;_0x31d64e[_0x11a123(0x2d2)](this,_0x2fcb59,_0x2eb095);}else _0x31d64e['apply'](this,arguments);};_0x2c86d3[_0x598e9f(0x5cc)]=_0x3fc082;}}()),_0x3c97f8[_0x2736b5(0x206)][_0x2736b5(0x3cd)];}));}(Fi));var ka=Fi[_0xe3a6b9(0x274)];const Wa=at(ka);var Vi={'exports':{}};(function(_0x3aac1f,_0x415cbd){(function(_0x203832,_0x2f6973,_0x54f545){const _0x36f217=_0x272d;_0x3aac1f[_0x36f217(0x274)]=_0x2f6973(ue(),ki());}(Z,function(_0x34a1f8){const _0x2d2f7e=_0x272d;return _0x34a1f8[_0x2d2f7e(0x3a5)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x34a1f8[_0x2d2f7e(0x3a5)]['NoPadding'];}));}(Vi));var Fa=Vi[_0xe3a6b9(0x274)];const Va=at(Fa);function Ga(_0x3de841,_0x5bf4cf){const _0x1106a1=_0x5bf4cf-_0x3de841['length']%_0x5bf4cf,_0x3a5b44=String['fromCharCode'](_0x1106a1)['repeat'](_0x1106a1);return _0x3de841+_0x3a5b44;}function Ya(_0xbdbaf8,_0x38877a){const _0x13b9ff=_0xe3a6b9,_0x26aa97=Wa[_0x13b9ff(0x49a)](0x10),_0x3e41f9=Ga(_0xbdbaf8,0x10),_0x415c17=$a[_0x13b9ff(0x30f)](Ba[_0x13b9ff(0x3e6)](_0x3e41f9),si[_0x13b9ff(0x3e6)](_0x38877a),{'iv':_0x26aa97,'padding':Va});return _0x26aa97[_0x13b9ff(0x228)](_0x415c17[_0x13b9ff(0x5d0)])[_0x13b9ff(0x25e)](si);}function Ka(){const _0x55f01d=_0xe3a6b9,_0x29a35c=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x55f01d(0x44d)];if(_0x29a35c){const _0x4988a6={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x55f01d(0x3cc)]};return Ya(JSON[_0x55f01d(0x4f2)](_0x4988a6),_0x29a35c);}}var za=Object[_0xe3a6b9(0x2e1)],qa=Object[_0xe3a6b9(0x4b1)],Xa=(_0x3c89aa,_0x38704f,_0x18a9d5,_0x180453)=>{const _0x32d970=_0xe3a6b9;for(var _0x247dc4=_0x180453>0x1?void 0x0:_0x180453?qa(_0x38704f,_0x18a9d5):_0x38704f,_0x4d49f2=_0x3c89aa[_0x32d970(0x285)]-0x1,_0x5ba278;_0x4d49f2>=0x0;_0x4d49f2--)(_0x5ba278=_0x3c89aa[_0x4d49f2])&&(_0x247dc4=(_0x180453?_0x5ba278(_0x38704f,_0x18a9d5,_0x247dc4):_0x5ba278(_0x247dc4))||_0x247dc4);return _0x180453&&_0x247dc4&&za(_0x38704f,_0x18a9d5,_0x247dc4),_0x247dc4;},Ja=(_0x578eb5,_0x43d9c2)=>(_0x30e120,_0x79564e)=>_0x43d9c2(_0x30e120,_0x79564e,_0x578eb5);let bt=class{constructor(_0x22834d){const _0x12062c=_0xe3a6b9;this[_0x12062c(0x211)]=_0x22834d,this['_initRequestHeader']();}[_0xe3a6b9(0x3d8)](){const _0x182b6f=_0xe3a6b9;this[_0x182b6f(0x211)][_0x182b6f(0x3f5)]({'interceptor':(_0x245972,_0x1eb370)=>{const _0x848b2f=_0x182b6f,_0xc3e02b=_0x245972['headers'],_0x46c8c0=Ka();return _0x46c8c0&&_0xc3e02b[_0x848b2f(0x454)]('x-univer-host',_0x46c8c0),_0x1eb370(_0x245972);}});}};bt=Xa([Ja(0x0,_0x432547(_0x181521))],bt);var Za=Object[_0xe3a6b9(0x2e1)],Qa=Object[_0xe3a6b9(0x4b1)],ec=(_0x5220b5,_0x49ccd2,_0x1077ba,_0x5368d4)=>{const _0x50012a=_0xe3a6b9;for(var _0x12859f=_0x5368d4>0x1?void 0x0:_0x5368d4?Qa(_0x49ccd2,_0x1077ba):_0x49ccd2,_0x18ecd8=_0x5220b5[_0x50012a(0x285)]-0x1,_0x57104b;_0x18ecd8>=0x0;_0x18ecd8--)(_0x57104b=_0x5220b5[_0x18ecd8])&&(_0x12859f=(_0x5368d4?_0x57104b(_0x49ccd2,_0x1077ba,_0x12859f):_0x57104b(_0x12859f))||_0x12859f);return _0x5368d4&&_0x12859f&&Za(_0x49ccd2,_0x1077ba,_0x12859f),_0x12859f;},qt=(_0x1f867b,_0x17e156)=>(_0x1231d0,_0x33c7a5)=>_0x17e156(_0x1231d0,_0x33c7a5,_0x1f867b);const tc=[_0xe3a6b9(0x426),_0xe3a6b9(0x36d),_0xe3a6b9(0x3e7),_0xe3a6b9(0x437),_0xe3a6b9(0x413)],sc=0x5*0x400*0x400,ic=_0xe3a6b9(0x260),nc='/universer-api/stream/file/upload',rc=_0xe3a6b9(0x5ca),oc='/universer-api/file/{fileID}/sign-url';let cs=class{constructor(_0x114a35,_0x98fe4d,_0x36f876){const _0x425623=_0xe3a6b9;g(this,_0x425623(0x5b5),0x0),g(this,_0x425623(0x2d9),new _0xbd68e4()),g(this,_0x425623(0x272),this[_0x425623(0x2d9)]),g(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x114a35,this[_0x425623(0x466)]=_0x98fe4d,this[_0x425623(0x342)]=_0x36f876);}[_0xe3a6b9(0x4b6)](_0x1e2a64){const _0x2e208f=_0xe3a6b9;this['_waitCount']=_0x1e2a64,this[_0x2e208f(0x2d9)][_0x2e208f(0x32a)](_0x1e2a64);}['getImageSourceCache'](_0x1b984c,_0x5b0689){const _0x516c00=_0xe3a6b9;if(_0x5b0689===_0x2f2b24[_0x516c00(0x4e6)]){const _0x309cdf=new Image();return _0x309cdf['src']=_0x1b984c,_0x309cdf;}return this['_imageSourceCache']['get'](_0x1b984c);}['addImageSourceCache'](_0x3c966a,_0x3bc752,_0x2d8e02){const _0x2043dc=_0xe3a6b9;_0x3bc752===_0x2f2b24[_0x2043dc(0x4e6)]||_0x2d8e02==null||this['_imageSourceCache'][_0x2043dc(0x454)](_0x3c966a,_0x2d8e02);}async[_0xe3a6b9(0x42a)](_0x13ca9d){const _0x1795b1=_0xe3a6b9;try{const _0x1f9150=this['_replaceFileID'](this[_0x1795b1(0x366)](),''+_0x13ca9d),_0x4528c8=(await this['_httpService'][_0x1795b1(0x519)](_0x1f9150))[_0x1795b1(0x1ef)];if(_0x4528c8[_0x1795b1(0x46c)]&&_0x4528c8['error'][_0x1795b1(0x31e)]===Ti['OK']){const _0x469d56=new URL(_0x4528c8[_0x1795b1(0x392)],this[_0x1795b1(0x2e4)]())[_0x1795b1(0x25e)]();return Promise[_0x1795b1(0x57e)](_0x469d56);}return Promise['reject'](_0x4528c8['error']);}catch(_0x3ccbb3){return Promise[_0x1795b1(0x2d4)](_0x3ccbb3);}}async['saveImage'](_0x4693f0){const _0xab8d87=_0xe3a6b9;let _0x506444='';if(!tc[_0xab8d87(0x2fb)](_0x4693f0[_0xab8d87(0x36c)]))return this['_decreaseWaiting'](),Promise[_0xab8d87(0x2d4)](new Error(_0x2b9ae9[_0xab8d87(0x3a9)]));if(_0x4693f0['size']>sc)return this[_0xab8d87(0x1e3)](),Promise[_0xab8d87(0x2d4)](new Error(_0x2b9ae9[_0xab8d87(0x348)]));try{const _0x4abd9c=new FormData();_0x4abd9c[_0xab8d87(0x404)](_0xab8d87(0x21f),_0x4693f0);const _0x194435=this['_univerInstanceService'][_0xab8d87(0x482)](),_0x263b1d=_0x194435==null?void 0x0:_0x194435[_0xab8d87(0x1ea)]();if(!_0x263b1d)throw new Error(_0xab8d87(0x358));const _0x1a2c6e=this['_getUploadFileURL']()+_0xab8d87(0x2a1)+_0x4693f0[_0xab8d87(0x545)][_0xab8d87(0x25e)]()+'&source='+Ri[_0xab8d87(0x333)]+_0xab8d87(0x4f6)+encodeURIComponent(_0x263b1d),_0x54a2a=await(await fetch(_0x1a2c6e,{'method':_0xab8d87(0x4d8),'body':_0x4abd9c}))[_0xab8d87(0x217)]();if(typeof _0x54a2a[_0xab8d87(0x223)]!='string')return this[_0xab8d87(0x1e3)](),Promise[_0xab8d87(0x2d4)](new Error(_0x2b9ae9[_0xab8d87(0x23f)]));_0x506444=_0x54a2a[_0xab8d87(0x223)];}catch{return this['_decreaseWaiting'](),Promise[_0xab8d87(0x2d4)](new Error(_0x2b9ae9[_0xab8d87(0x23f)]));}return new Promise((_0x3f6e1b,_0x18bf20)=>{const _0x473cb0=_0xab8d87,_0x2ec73b=new FileReader();_0x2ec73b[_0x473cb0(0x55b)](_0x4693f0),_0x2ec73b['onload']=_0x57ddc7=>{const _0x274f09=_0x473cb0;var _0x134dba;const _0x3e4144=(_0x134dba=_0x57ddc7[_0x274f09(0x459)])==null?void 0x0:_0x134dba[_0x274f09(0x209)];if(_0x3e4144==null){this[_0x274f09(0x1e3)](),_0x18bf20(new Error(_0x2b9ae9[_0x274f09(0x23f)]));return;}const _0x1284d1=_0x1d5b8a['generateRandomId'](0x6);_0x3f6e1b({'imageId':_0x1284d1,'imageSourceType':_0x2f2b24[_0x274f09(0x26f)],'source':_0x506444,'base64Cache':_0x3e4144,'status':_0x2b9ae9['SUCCUSS']}),this[_0x274f09(0x1e3)]();};});}['_getUploadFileURL'](){const _0x1a0a76=_0xe3a6b9;var _0x5bb511,_0xdfbbcf;const _0x502191=this[_0x1a0a76(0x466)]['getConfig'](ic),_0x11884b=this[_0x1a0a76(0x466)][_0x1a0a76(0x29b)](ie);return(_0xdfbbcf=(_0x5bb511=_0x11884b==null?void 0x0:_0x11884b['uploadFileServerUrl'])!=null?_0x5bb511:_0x502191)!=null?_0xdfbbcf:nc;}['_getSignURL'](){const _0x585e23=_0xe3a6b9;var _0x5e957c,_0x426383;const _0x506d6e=this[_0x585e23(0x466)][_0x585e23(0x29b)](rc),_0x425513=this[_0x585e23(0x466)][_0x585e23(0x29b)](ie);return(_0x426383=(_0x5e957c=_0x425513==null?void 0x0:_0x425513[_0x585e23(0x553)])!=null?_0x5e957c:_0x506d6e)!=null?_0x426383:oc;}[_0xe3a6b9(0x2e4)](){const _0x5cc6dd=_0xe3a6b9;var _0x5aec4c;const _0x2b0d0f=this[_0x5cc6dd(0x466)][_0x5cc6dd(0x29b)](ie);return(_0x5aec4c=_0x2b0d0f==null?void 0x0:_0x2b0d0f['downloadEndpointUrl'])!=null?_0x5aec4c:location[_0x5cc6dd(0x53a)];}['_replaceFileID'](_0xfdebac,_0x3e7e31){const _0x46ff34=_0xe3a6b9;return _0xfdebac[_0x46ff34(0x1f9)]('{fileID}',_0x3e7e31);}[_0xe3a6b9(0x1e3)](){const _0xdb45b6=_0xe3a6b9;this[_0xdb45b6(0x5b5)]-=0x1,this[_0xdb45b6(0x2d9)][_0xdb45b6(0x32a)](this['_waitCount']);}};cs=ec([qt(0x0,_0x432547(_0x181521)),qt(0x1,_0x4b50bc),qt(0x2,_0x432547(_0x17aa8b))],cs);var ac=Object[_0xe3a6b9(0x2e1)],cc=Object[_0xe3a6b9(0x4b1)],hc=(_0x5de95b,_0x3c5dc6,_0x879485,_0x146c31)=>{const _0x236c9a=_0xe3a6b9;for(var _0x132706=_0x146c31>0x1?void 0x0:_0x146c31?cc(_0x3c5dc6,_0x879485):_0x3c5dc6,_0x5ce3db=_0x5de95b[_0x236c9a(0x285)]-0x1,_0x504b4c;_0x5ce3db>=0x0;_0x5ce3db--)(_0x504b4c=_0x5de95b[_0x5ce3db])&&(_0x132706=(_0x146c31?_0x504b4c(_0x3c5dc6,_0x879485,_0x132706):_0x504b4c(_0x132706))||_0x132706);return _0x146c31&&_0x132706&&ac(_0x3c5dc6,_0x879485,_0x132706),_0x132706;},Qe=(_0x140307,_0x452ad4)=>(_0x3ff471,_0x42abf6)=>_0x452ad4(_0x3ff471,_0x42abf6,_0x140307);let Tt=class extends _0x90c284{constructor(_0x1ebe16,_0x398427,_0x322f4a,_0x278591,_0x2d346c){const _0x29e755=_0xe3a6b9;super(),this[_0x29e755(0x4c4)]=_0x1ebe16,this[_0x29e755(0x342)]=_0x398427,this[_0x29e755(0x3ac)]=_0x322f4a,this['_collaborationSessionService']=_0x278591,this[_0x29e755(0x444)]=_0x2d346c,this[_0x29e755(0x1ed)](),this[_0x29e755(0x2e5)]();}[_0xe3a6b9(0x2e5)](){const _0x19a373=_0xe3a6b9,_0x44afb5=async _0x40d74a=>{const _0xeb3e8e=_0x272d;(await this[_0xeb3e8e(0x1d8)][_0xeb3e8e(0x388)](_0x40d74a))['event$']['pipe'](_0x1e3ef3(_0x2e5ce4=>_0x2e5ce4[_0xeb3e8e(0x3f3)]===_0xd65e90[_0xeb3e8e(0x40c)]),_0x7ee64f(this[_0xeb3e8e(0x31a)]))[_0xeb3e8e(0x3d4)](_0x290d48=>{const _0x3896b4=_0xeb3e8e,_0x87f068=_0x290d48,{reason:_0x35173e}=_0x87f068[_0x3896b4(0x2be)];this[_0x3896b4(0x4c4)][_0x3896b4(0x519)](_0xc25f4d)[_0x3896b4(0x47c)]({'type':_0xedbc0c['Error'],'content':this[_0x3896b4(0x444)]['t'](_0x3896b4(0x4af))+'('+_0x35173e+')'}),this[_0x3896b4(0x3ac)][_0x3896b4(0x487)](new _0x345c5d(_0x40d74a)['id'],!0x1),this[_0x3896b4(0x1d8)][_0x3896b4(0x5c2)](_0x40d74a);});};_0x476f09(this[_0x19a373(0x342)][_0x19a373(0x515)](_0x3c5a8f[_0x19a373(0x4fb)]),this[_0x19a373(0x342)][_0x19a373(0x515)](_0x3c5a8f[_0x19a373(0x39b)]))[_0x19a373(0x531)](_0x40a0c5(_0x5487aa=>_0x5487aa['getUnitId']()),_0x1e3ef3(_0x3d4a9c=>!_0x558a05(_0x3d4a9c)),_0x7ee64f(this[_0x19a373(0x31a)]))[_0x19a373(0x3d4)](_0x56f435=>{_0x44afb5(_0x56f435);});}[_0xe3a6b9(0x1ed)](){const _0x54d607=_0xe3a6b9,_0x3a7088=async _0x391ec7=>{const _0x5d667f=_0x272d;(await this[_0x5d667f(0x1d8)][_0x5d667f(0x388)](_0x391ec7))[_0x5d667f(0x506)][_0x5d667f(0x531)](_0x1e3ef3(_0x484450=>_0x484450[_0x5d667f(0x3f3)]===_0xd65e90[_0x5d667f(0x43c)]),_0x7ee64f(this['dispose$']))['subscribe'](_0x144be4=>{const _0x3e0bae=_0x5d667f,_0x2cfca8=_0x144be4,{objectId:_0x761bae}=_0x2cfca8[_0x3e0bae(0x2be)],_0x1b75a3=this['_injector']['get'](_0x12614b);_0x761bae===_0x391ec7?_0x1b75a3[_0x3e0bae(0x216)](_0x391ec7):_0x1b75a3[_0x3e0bae(0x52c)](_0x391ec7,_0x761bae);});};_0x476f09(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3c5a8f['UNIVER_SHEET']),this[_0x54d607(0x342)][_0x54d607(0x515)](_0x3c5a8f['UNIVER_DOC']))[_0x54d607(0x531)](_0x40a0c5(_0x1d78a0=>_0x1d78a0[_0x54d607(0x1ea)]()),_0x1e3ef3(_0x222329=>!_0x558a05(_0x222329)),_0x7ee64f(this['dispose$']))[_0x54d607(0x3d4)](_0x149cda=>{_0x3a7088(_0x149cda);});}};Tt=hc([Qe(0x0,_0x432547(_0x521cd6)),Qe(0x1,_0x17aa8b),Qe(0x2,_0x4e112d),Qe(0x3,_0x432547(Ae)),Qe(0x4,_0x432547(_0x363878))],Tt);var lc=Object[_0xe3a6b9(0x2e1)],_c=Object[_0xe3a6b9(0x4b1)],uc=(_0x463a9c,_0x4bb5f4,_0x46be02,_0x514950)=>{const _0x20917a=_0xe3a6b9;for(var _0x17c98f=_0x514950>0x1?void 0x0:_0x514950?_c(_0x4bb5f4,_0x46be02):_0x4bb5f4,_0x3c09f2=_0x463a9c[_0x20917a(0x285)]-0x1,_0xb433c8;_0x3c09f2>=0x0;_0x3c09f2--)(_0xb433c8=_0x463a9c[_0x3c09f2])&&(_0x17c98f=(_0x514950?_0xb433c8(_0x4bb5f4,_0x46be02,_0x17c98f):_0xb433c8(_0x17c98f))||_0x17c98f);return _0x514950&&_0x17c98f&&lc(_0x4bb5f4,_0x46be02,_0x17c98f),_0x17c98f;},ii=(_0x3c9960,_0x5d1575)=>(_0x30d3eb,_0x355511)=>_0x5d1575(_0x30d3eb,_0x355511,_0x3c9960);let hs=class{constructor(_0x3695b6,_0x33d833){this['_configService']=_0x3695b6,this['_httpService']=_0x33d833;}async['getUnitOnRev'](_0x4dca3e,_0x39b6ad){const _0x4929f0=_0xe3a6b9;var _0xfa56b5;const {unitID:_0x42535e,type:_0x1c2e07,revision:_0x485943=0x0}=_0x39b6ad,_0x22629f=this[_0x4929f0(0x401)]()+'/'+_0x1c2e07+_0x4929f0(0x5b7)+_0x42535e+_0x4929f0(0x456)+_0x485943,_0x5ca790=(await this[_0x4929f0(0x211)][_0x4929f0(0x519)](_0x22629f))[_0x4929f0(0x1ef)],_0x5e6936=(_0xfa56b5=_0x5ca790[_0x4929f0(0x267)])==null?void 0x0:_0xfa56b5[_0x4929f0(0x583)];if(_0x5e6936){const _0x868dd9=_0x5e6936==null?void 0x0:_0x5e6936['originalMeta'],_0x3e26cd=_0x577d88[_0x4929f0(0x3b8)](_0x39d65a(_0x868dd9));_0x5e6936[_0x4929f0(0x480)]=_0x3e26cd,Object['entries'](_0x5e6936[_0x4929f0(0x419)])[_0x4929f0(0x3b9)](([,_0x594b69])=>{const _0x384e38=_0x4929f0,_0x307016=_0x594b69[_0x384e38(0x480)],_0x268f77=_0x577d88[_0x384e38(0x3b8)](_0x39d65a(_0x307016));_0x594b69['originalMeta']=_0x268f77;});}return _0x5ca790;}async['getSheetBlock'](_0x2f2b4e,_0xfc3321){const _0xc64295=_0xe3a6b9,{unitID:_0x399170,type:_0x4756ed,blockID:_0xfa4fcb}=_0xfc3321,_0x4c9e52=this['_getAPIPrefix']()+'/'+_0x4756ed+_0xc64295(0x5b7)+_0x399170+_0xc64295(0x4c6)+_0xfa4fcb;return(await this[_0xc64295(0x211)][_0xc64295(0x519)](_0x4c9e52))['body'];}async[_0xe3a6b9(0x28b)](_0x27d068,_0x5b67e4){const _0x4e71c1=_0xe3a6b9,{unitID:_0x1ab566,type:_0x3405e2,blockID:_0x52f3b8}=_0x5b67e4,_0x5ab892=this[_0x4e71c1(0x58f)]()+'/block/'+_0x3405e2+_0x4e71c1(0x5b7)+_0x1ab566+_0x4e71c1(0x4c6)+_0x52f3b8;return(await this[_0x4e71c1(0x211)][_0x4e71c1(0x519)](_0x5ab892))[_0x4e71c1(0x1ef)];}async[_0xe3a6b9(0x468)](_0x214325,_0x4ced03){const _0x8bd16a=_0xe3a6b9,{unitID:_0x3289e1,type:_0xe05ac5,from:_0x556733,to:_0x256a51}=_0x4ced03,_0x27c216=this[_0x8bd16a(0x58f)]()+'/'+_0xe05ac5+_0x8bd16a(0x5b7)+_0x3289e1+_0x8bd16a(0x4f8)+_0x556733+_0x8bd16a(0x22f)+_0x256a51;return(await this[_0x8bd16a(0x211)][_0x8bd16a(0x519)](_0x27c216))[_0x8bd16a(0x1ef)];}[_0xe3a6b9(0x401)](){const _0x5b1338=_0xe3a6b9;var _0xe33faf;return(_0xe33faf=this[_0x5b1338(0x466)]['getConfig'](or))!=null?_0xe33faf:this['_getAPIPrefix']();}[_0xe3a6b9(0x58f)](){const _0x3a24d2=_0xe3a6b9;var _0x92231e,_0x53c737;const _0x27bee5=this[_0x3a24d2(0x466)]['getConfig'](nr),_0x3b1ef6=this[_0x3a24d2(0x466)][_0x3a24d2(0x29b)](ie);return(_0x53c737=(_0x92231e=_0x3b1ef6==null?void 0x0:_0x3b1ef6[_0x3a24d2(0x513)])!=null?_0x92231e:_0x27bee5)!=null?_0x53c737:rr;}async[_0xe3a6b9(0x3fd)](_0x132d83,_0x260778){const _0x275c64=_0xe3a6b9,_0xc251d8=_0x275c64(0x2b6)+_0x260778[_0x275c64(0x36c)]+_0x275c64(0x5b7)+_0x260778[_0x275c64(0x24d)]+_0x275c64(0x3c6);return(await this[_0x275c64(0x211)][_0x275c64(0x519)](_0xc251d8,{'params':{'resourceId':JSON[_0x275c64(0x4f2)](_0x260778[_0x275c64(0x386)])}}))[_0x275c64(0x1ef)];}[_0xe3a6b9(0x568)](){const _0x1caaee=_0xe3a6b9;throw new Error(_0x1caaee(0x407));}[_0xe3a6b9(0x2d1)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xe3a6b9(0x410)](){const _0x4515c4=_0xe3a6b9;throw new Error(_0x4515c4(0x407));}[_0xe3a6b9(0x2ad)](){const _0x37338b=_0xe3a6b9;throw new Error(_0x37338b(0x407));}['getLatestCsReqIdBySid'](){const _0x1322df=_0xe3a6b9;throw new Error(_0x1322df(0x407));}};hs=uc([ii(0x0,_0x4b50bc),ii(0x1,_0x432547(_0x181521))],hs);var dc=Object[_0xe3a6b9(0x2e1)],fc=Object[_0xe3a6b9(0x4b1)],vc=(_0x163d2b,_0x30ea64,_0x292e8d,_0x3a4178)=>{const _0x181a2e=_0xe3a6b9;for(var _0x21de06=_0x3a4178>0x1?void 0x0:_0x3a4178?fc(_0x30ea64,_0x292e8d):_0x30ea64,_0x2b6d96=_0x163d2b[_0x181a2e(0x285)]-0x1,_0x442273;_0x2b6d96>=0x0;_0x2b6d96--)(_0x442273=_0x163d2b[_0x2b6d96])&&(_0x21de06=(_0x3a4178?_0x442273(_0x30ea64,_0x292e8d,_0x21de06):_0x442273(_0x21de06))||_0x21de06);return _0x3a4178&&_0x21de06&&dc(_0x30ea64,_0x292e8d,_0x21de06),_0x21de06;},et=(_0x3ebf90,_0x3ec588)=>(_0x45841f,_0x37c27f)=>_0x3ec588(_0x45841f,_0x37c27f,_0x3ebf90);let ls=class extends _0x5add56{constructor(_0x15f8f2,_0x18d7e6,_0x1c8b27,_0x389998,_0x43ee50){const _0x190096=_0xe3a6b9;super(_0x15f8f2,_0x18d7e6,_0x1c8b27),this[_0x190096(0x5db)]=_0x389998,this[_0x190096(0x230)]=_0x43ee50;}[_0xe3a6b9(0x5a9)](_0x24ebfa,_0x42193d){const _0x214935=_0xe3a6b9,_0x180ef3=this['_getUndoStack'](_0x24ebfa);if(_0x180ef3)try{const _0x277d41=this['_transformStack'](_0x180ef3,_0x42193d);this[_0x214935(0x34f)](_0x24ebfa,_0x277d41);}catch(_0x5f2014){this[_0x214935(0x230)][_0x214935(0x46c)]('[CollaborationUndoRedoService]',_0x5f2014),this[_0x214935(0x562)](_0x24ebfa);}const _0x12c15d=this['_getRedoStack'](_0x24ebfa);if(_0x12c15d)try{const _0x2a41f2=this[_0x214935(0x53c)](_0x12c15d,_0x42193d);this[_0x214935(0x36a)](_0x24ebfa,_0x2a41f2);}catch(_0x471a4d){this[_0x214935(0x230)][_0x214935(0x46c)](_0x471a4d),this['_clearRedo'](_0x24ebfa);}}[_0xe3a6b9(0x562)](_0x4ca693){const _0x5be1c5=_0xe3a6b9,_0x2eda57=this[_0x5be1c5(0x59a)](_0x4ca693);_0x2eda57&&(_0x2eda57['length']=0x0,this[_0x5be1c5(0x4e8)]());}[_0xe3a6b9(0x4e2)](_0x252af2){const _0x3dd9df=_0xe3a6b9,_0x4c346a=this['_getRedoStack'](_0x252af2);_0x4c346a&&(_0x4c346a[_0x3dd9df(0x285)]=0x0,this[_0x3dd9df(0x4e8)]());}[_0xe3a6b9(0x34f)](_0x564a3e,_0x1315c1){const _0x5d6c84=_0xe3a6b9;this[_0x5d6c84(0x319)]['set'](_0x564a3e,_0x1315c1),this[_0x5d6c84(0x4e8)]();}[_0xe3a6b9(0x36a)](_0x2e3746,_0x4f5be2){const _0x533b7e=_0xe3a6b9;this[_0x533b7e(0x3d2)][_0x533b7e(0x454)](_0x2e3746,_0x4f5be2),this['_updateStatus']();}['_transformStack'](_0x61456b,_0x4f87f5){const _0x1e2925=_0xe3a6b9,_0xeabd0d=[];let _0x46bcb3=_0x4f87f5,_0x282c81=_0x4f87f5;for(let _0x28805f=_0x61456b['length']-0x1;_0x28805f>=0x0;_0x28805f--){const {unitID:_0xa0f43,undoMutations:_0x29e3f8,redoMutations:_0x1ebb0c}=_0x61456b[_0x28805f],_0x46bcff=this['_transformService'][_0x1e2925(0x270)](_0x46bcb3,_0x29e3f8),_0x3428cd=this['_transformService']['transformMutationsWithChangeset'](_0x282c81,_0x1ebb0c);if(_0x1224cb(_0x46bcff)||_0x1224cb(_0x3428cd)){this[_0x1e2925(0x230)][_0x1e2925(0x46c)](_0x1e2925(0x261),_0x1e2925(0x203),_0x46bcff,_0x3428cd);break;}_0x46bcb3=_0x46bcff[_0x1e2925(0x2bd)],_0x282c81=_0x3428cd[_0x1e2925(0x2bd)],_0xeabd0d[_0x1e2925(0x3f6)]({'unitID':_0xa0f43,'undoMutations':_0x46bcff[_0x1e2925(0x339)],'redoMutations':_0x3428cd[_0x1e2925(0x339)]});}return _0xeabd0d[_0x1e2925(0x5c8)]();}};ls=vc([et(0x0,_0x17aa8b),et(0x1,_0xc67fcf),et(0x2,_0x1221df),et(0x3,_0x24b4da),et(0x4,_0xfb205)],ls);class mc extends _0x90c284{constructor(){const _0x29628f=_0xe3a6b9;super(),g(this,_0x29628f(0x3a4)),this[_0x29628f(0x3a4)]=_0x32e3b9(window,_0x29628f(0x52d))[_0x29628f(0x531)](_0x4c7076(this['dispose$']),_0x186328(0x1),_0x52c065(void 0x0));}[_0xe3a6b9(0x2bb)](_0x2cd1cc,_0x16ab55,_0x57231d=!0x1){const _0x12d9ef=_0xe3a6b9,_0x1e4c67=new URL(window[_0x12d9ef(0x38f)][_0x12d9ef(0x54b)]);_0x1e4c67['searchParams'][_0x12d9ef(0x454)](_0x2cd1cc,_0x16ab55),_0x57231d?window[_0x12d9ef(0x33f)][_0x12d9ef(0x52a)]('','',_0x1e4c67['toString']()):window[_0x12d9ef(0x33f)][_0x12d9ef(0x3b6)]('','',_0x1e4c67['toString']());}[_0xe3a6b9(0x4ca)](_0x55398c,_0x3c362f=!0x1){const _0x2e0703=_0xe3a6b9,_0x1bc89b=new URL(window['location'][_0x2e0703(0x54b)]);_0x1bc89b[_0x2e0703(0x2f1)]['delete'](_0x55398c),_0x3c362f?window[_0x2e0703(0x33f)][_0x2e0703(0x52a)]('','',_0x1bc89b[_0x2e0703(0x25e)]()):window[_0x2e0703(0x33f)]['pushState']('','',_0x1bc89b[_0x2e0703(0x25e)]());}[_0xe3a6b9(0x586)](_0x22f93c){const _0x3be034=_0xe3a6b9;var _0x2bae98;return(_0x2bae98=new URL(window[_0x3be034(0x38f)][_0x3be034(0x54b)])['searchParams'][_0x3be034(0x519)](_0x22f93c))!=null?_0x2bae98:void 0x0;}}var Gi=Object['defineProperty'],pc=Object[_0xe3a6b9(0x4b1)],gc=(_0x41191f,_0x31e8a5,_0x5b97f8)=>_0x31e8a5 in _0x41191f?Gi(_0x41191f,_0x31e8a5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b97f8}):_0x41191f[_0x31e8a5]=_0x5b97f8,Sc=(_0xcbcbcc,_0x4764b9,_0x3627a3,_0x2bdd6a)=>{const _0x1917ad=_0xe3a6b9;for(var _0x5959d3=_0x2bdd6a>0x1?void 0x0:_0x2bdd6a?pc(_0x4764b9,_0x3627a3):_0x4764b9,_0x26f695=_0xcbcbcc[_0x1917ad(0x285)]-0x1,_0x2089ab;_0x26f695>=0x0;_0x26f695--)(_0x2089ab=_0xcbcbcc[_0x26f695])&&(_0x5959d3=(_0x2bdd6a?_0x2089ab(_0x4764b9,_0x3627a3,_0x5959d3):_0x2089ab(_0x5959d3))||_0x5959d3);return _0x2bdd6a&&_0x5959d3&&Gi(_0x4764b9,_0x3627a3,_0x5959d3),_0x5959d3;},lt=(_0x4ff7c6,_0xc2a744)=>(_0x3fa16c,_0x3c3333)=>_0xc2a744(_0x3fa16c,_0x3c3333,_0x4ff7c6),Ic=(_0x1106d9,_0x3c906f,_0x34d337)=>gc(_0x1106d9,_0x3c906f+'',_0x34d337);const Cc='UNIVER_COLLABORATION_CLIENT_PLUGIN';let _s=class extends _0x8b9456{constructor(_0x275014=Cr,_0x57ca4c,_0x3032b7,_0x18d134,_0x10517b){const _0x29e6c6=_0xe3a6b9;super(),this[_0x29e6c6(0x229)]=_0x275014,this[_0x29e6c6(0x230)]=_0x57ca4c,this[_0x29e6c6(0x3c0)]=_0x3032b7,this['_injector']=_0x18d134,this[_0x29e6c6(0x466)]=_0x10517b;const {..._0x2bb5ca}=this[_0x29e6c6(0x229)];this['_configService'][_0x29e6c6(0x24b)](ie,_0x2bb5ca);}['onStarting'](){const _0x40c20c=_0xe3a6b9;this[_0x40c20c(0x369)](),this[_0x40c20c(0x5dc)]();}[_0xe3a6b9(0x2bf)](){const _0x5d14c6=_0xe3a6b9;_0x105235(this[_0x5d14c6(0x4c4)],[[Ct]]);}[_0xe3a6b9(0x20b)](){const _0x4f2349=_0xe3a6b9;this[_0x4f2349(0x1fe)]();}[_0xe3a6b9(0x369)](){const _0x1d57fd=_0xe3a6b9;var _0x47fcf1,_0x50577,_0x3e66b5,_0x1e71f0;this['_injector'][_0x1d57fd(0x287)](_0x5786da)&&this[_0x1d57fd(0x230)][_0x1d57fd(0x46c)](_0x1d57fd(0x393),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4e11c9=[[_0x5786da,{'useClass':ls}],[Ae],[Es],[$i,{'useClass':mc}],[Ne],[q],[_0x2df469],[vt],[pt],[ft],[mt],[Is],[Et],[bt],[Oi],[Tt],[yi,{'useClass':(_0x50577=(_0x47fcf1=this['_config'])==null?void 0x0:_0x47fcf1[_0x1d57fd(0x4cc)])!=null?_0x50577:Qt}],[_0x4a311d,{'useClass':hs}],[_0x4784ca,{'useClass':as}],[_0x1dc416,{'useClass':cs}],[it],[It],[St],[Ct],[Ve]];(_0x3e66b5=this[_0x1d57fd(0x229)])!=null&&_0x3e66b5['enableSingleActiveInstanceLock']&&_0x4e11c9[_0x1d57fd(0x3f6)]([Rt,{'useClass':to}]),_0x206216(this[_0x1d57fd(0x4c4)],_0x5c3c24(_0x4e11c9,(_0x1e71f0=this[_0x1d57fd(0x229)])==null?void 0x0:_0x1e71f0[_0x1d57fd(0x2df)]));}[_0xe3a6b9(0x1fe)](){const _0x8c4bf5=_0xe3a6b9;this[_0x8c4bf5(0x5d1)](this['_renderManagerService']['registerRenderModule'](_0x3c5a8f[_0x8c4bf5(0x39b)],[rs])),this[_0x8c4bf5(0x5d1)](this[_0x8c4bf5(0x3c0)][_0x8c4bf5(0x201)](_0x3c5a8f[_0x8c4bf5(0x4fb)],[os]));}[_0xe3a6b9(0x5dc)](){const _0x56b7a0=_0xe3a6b9;var _0x2debc2,_0x23117f;this[_0x56b7a0(0x4c4)][_0x56b7a0(0x519)](_0x181521)[_0x56b7a0(0x3f5)]({'priority':0x14,'interceptor':_0x2cef5d({'maxParallel':0x6})}),(_0x2debc2=this['_config'])!=null&&_0x2debc2[_0x56b7a0(0x2c2)]||this['_injector'][_0x56b7a0(0x519)](q)['disableLocalCache'](),(_0x23117f=this['_config'])!=null&&_0x23117f[_0x56b7a0(0x26a)]&&_0x105235(this['_injector'],[[Et]]),_0x105235(this[_0x56b7a0(0x4c4)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Ic(_s,_0xe3a6b9(0x35a),Cc),_s=Sc([_0x150c40(_0x2f93a9,_0x34bf5b),lt(0x1,_0xfb205),lt(0x2,_0x49136b),lt(0x3,_0x432547(_0x521cd6)),lt(0x4,_0x4b50bc)],_s);export{Pa as AUTHZ_URL_KEY,as as AuthzIoHttpService,pr as COLLAB_SUBMIT_CHANGESET_URL_KEY,cr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,es as CollaborationSession,Ae as CollaborationSessionService,Qt as CollaborationSocketService,J as CollaborationStatus,_a as CollaborationStatusDisplay,Oi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ts as DocCollaborationEntity,lr as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,yi as ICollaborationSocketService,$i as IURLService,cs as ImageIoService,vr as LOCAL_CACHE_INTERVAL_KEY,Sr as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,dr as RETRY_CONNECTING_MAX_COUNT_KEY,Bc as SEND_CHANGESET_TIMEOUT_KEY,nr as SNAPSHOT_SERVER_URL_KEY,or as SNAPSHOT_URL_KEY,ve as SessionStatus,Yo as SheetCollabCursorShape,ss as SheetCollaborationEntity,hs as SnapshotServerOverHTTPService,_s as UniverCollaborationClientPlugin,mc as WebURLService,Er as deserializeToCombResponse,br as serializeCombRequest};