@univerjs-pro/collaboration-client 0.5.1-nightly.202412021606 → 0.5.1-nightly.202412041606

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 _0x3a0f4f=_0x328b;(function(_0x51d4a4,_0x5309ec){const _0x39a9f4=_0x328b,_0x5ba67a=_0x51d4a4();while(!![]){try{const _0x57d0fd=parseInt(_0x39a9f4(0x133))/0x1+parseInt(_0x39a9f4(0x291))/0x2+-parseInt(_0x39a9f4(0x25e))/0x3+parseInt(_0x39a9f4(0x48a))/0x4*(parseInt(_0x39a9f4(0x3cd))/0x5)+-parseInt(_0x39a9f4(0x4eb))/0x6+parseInt(_0x39a9f4(0x148))/0x7+-parseInt(_0x39a9f4(0x48b))/0x8*(parseInt(_0x39a9f4(0x387))/0x9);if(_0x57d0fd===_0x5309ec)break;else _0x5ba67a['push'](_0x5ba67a['shift']());}catch(_0x49cd4b){_0x5ba67a['push'](_0x5ba67a['shift']());}}}(_0x4d89,0x7af0a));var cr=Object['defineProperty'],hr=(_0x3d4b2b,_0x137372,_0x445d3d)=>_0x137372 in _0x3d4b2b?cr(_0x3d4b2b,_0x137372,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x445d3d}):_0x3d4b2b[_0x137372]=_0x445d3d,g=(_0xc1e3a4,_0x4afcc9,_0x5d625c)=>hr(_0xc1e3a4,typeof _0x4afcc9!=_0x3a0f4f(0x485)?_0x4afcc9+'':_0x4afcc9,_0x5d625c);import{createIdentifier as _0x52afeb,Inject as _0x4a6309,Disposable as _0x27d038,DisposableCollection as _0x3d417d,toDisposable as _0x2ecc04,IConfigService as _0x1526c7,ILogService as _0x4c9627,UserManagerService as _0x582708,UniverInstanceType as _0x363a0b,IUniverInstanceService as _0x3dee00,LocaleService as _0x440b58,Optional as _0x4a0f17,RxDisposable as _0x5a2d55,Injector as _0x5b64e2,Tools as _0x1fb819,ILocalStorageService as _0x2053a5,Rectangle as _0x1c27f3,ICommandService as _0x21538e,DOC_RANGE_TYPE as _0x55dcfe,JSONX as _0x296537,CommandType as _0x49b017,IPermissionService as _0x344f08,IUndoRedoService as _0x28c671,sequenceExecute as _0x29c979,debounce as _0xcb384c,COLORS as _0x2d6316,ColorKit as _0x3b279d,ThemeService as _0x448a8c,fromEventSubject as _0x26e733,useDependency as _0xfa79ec,connectInjector as _0x499922,Workbook as _0xf3ae73,MentionType as _0x22d5ac,isInternalEditorID as _0x28d9be,LocalUndoRedoService as _0x1326ac,IContextService as _0x3b86f4,DependentOn as _0x5a5537,Plugin as _0x3fd3c3,touchDependencies as _0x63b439,IAuthzIoService as _0x233f24,IMentionIOService as _0xafb964,registerDependencies as _0x5d57bb,mergeOverrideWithDependencies as _0x448917}from'@univerjs/core';import{Subject as _0x4c5eca,merge as _0x4bd8ea,takeUntil as _0x2a292b,BehaviorSubject as _0x1f5fb9,distinctUntilChanged as _0x6e44bb,fromEvent as _0x14b582,ReplaySubject as _0x582b98,take as _0x448099,map as _0x43379f,shareReplay as _0xda1692,of as _0x1209b8,debounceTime as _0x33cff6,filter as _0x2ef7d0,switchMap as _0x774f7c,combineLatest as _0x1f0a7e,concatMap as _0x4eb465,mapTo as _0x5d7b6d}from'rxjs';import{map as _0x388f57,take as _0x25302b,filter as _0x3b2257,delay as _0x3b85e2,throttleTime as _0x261a1e,takeUntil as _0x548b51,switchMap as _0x3aed19}from'rxjs/operators';import{MessageType as _0x452c22,Tooltip as _0x53fdd5}from'@univerjs/design';import{HTTPService as _0x559bcb,WebSocketService as _0x20af59,MergeInterceptorFactory as _0x449f9a,HTTPRequest as _0x827a3c,UniverNetworkPlugin as _0x5be668,ThresholdInterceptorFactory as _0x3364e1}from'@univerjs/network';import{IBeforeCloseService as _0x26c3bd,IMessageService as _0x138b55,INotificationService as _0x300d21,useObservable as _0x251ac2,BuiltInUIPart as _0x58ba5e,IUIPartsService as _0x699dce}from'@univerjs/ui';import{CollaborationEvent as _0x256e72,parseChangesetToProtocol as _0x2c0a60,ISnapshotServerService as _0x53719c,isTransformMutationFailure as _0x2a1d0d,isTransformMutationsWithChangesetSuccess as _0x2f8575,ITransformService as _0x4a14e2,RevisionService as _0xf29fa,mapDocumentTypeToUniverType as _0xe3f7d,isTransformChangesetsSuccess as _0x55de42,CompressMutationService as _0x554187,parseProtocolChangeset as _0x16c578,SnapshotService as _0x22467d,textEncoder as _0x5bc419,b64DecodeUnicode as _0x58c36f,isTransformMutationsWithChangesetFailure as _0xec044a,UniverCollaborationPlugin as _0x31a0d0}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x58614f}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x2fa7fd,RichTextEditingMutation as _0x69a97a,SetTextSelectionsOperation as _0x245f97,DocSkeletonManagerService as _0x1264e8}from'@univerjs/docs';import{DocIMEInputManagerService as _0x290ae9,DocStateChangeManagerService as _0x35bc43,IDocClipboardService as _0x5c3a88,NodePositionConvertToCursor as _0x38a61f,NodePositionConvertToRectRange as _0x3b25fd,TEXT_RANGE_LAYER_INDEX as _0xafadfb,SetDocZoomRatioOperation as _0x2bbb9a}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x4552e3,SetSelectionsOperation as _0x7f4e83,InsertSheetMutation as _0x52f94d,EmptyMutation as _0x12dae3,WorkbookEditablePermission as _0x102f56,RefRangeService as _0x37083e,EffectRefRangId as _0x11147b,handleIRemoveRow as _0x12d629,handleIRemoveCol as _0x20eae7,handleMoveRange as _0x66ba6d,handleInsertRow as _0xda4b82,handleInsertRangeMoveRight as _0x570820,handleInsertRangeMoveDown as _0x53f45d,handleInsertCol as _0x19a0be,handleDeleteRangeMoveUp as _0x2c8df3,handleDeleteRangeMoveLeft as _0xa21f6,runRefRangeMutations as _0x506cc8,SetWorksheetActivateCommand as _0x57ba8}from'@univerjs/sheets';import{IRenderManagerService as _0xc1cbdc,Shape as _0x313cda,Rect as _0x37e84b,getColor as _0x515706,RegularPolygon as _0x3f7db3,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x259977,Vector2 as _0x1cc9e8,SHEET_VIEWPORT_KEY as _0x1090ca}from'@univerjs/engine-render';import{IImageIoService as _0x543428,ImageSourceType as _0x32ea27,ImageUploadStatusType as _0x35a916}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x65a96d,serializeRangeWithSheet as _0x3da574}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x347524,getCoordByCell as _0x603ded,getSheetObject as _0x4a113b,SheetPermissionInitController as _0x5b108c}from'@univerjs/sheets-ui';import _0x2e372f,{forwardRef as _0x1c41dc,useRef as _0x32d833,createElement as _0x5436d0,useCallback as _0x2ab67b}from'react';import{IRemoteInstanceService as _0x3ca02d}from'@univerjs/rpc';const En=_0x3a0f4f(0x318),bn=_0x3a0f4f(0x50f),Tn=_0x3a0f4f(0x2ae),wh=_0x3a0f4f(0x3cc),Rn=0x7d0,On=_0x3a0f4f(0x50a),yn=_0x3a0f4f(0x247),wn=_0x3a0f4f(0x4bf),Dn=_0x3a0f4f(0x29a),Pn=0x7530,ki=_0x3a0f4f(0x422),Wi=0x4e20,Nn=0x4e20,Un=_0x3a0f4f(0x214),An=0x3,Mn=_0x3a0f4f(0x305),xn=0x3e8,Ln=_0x3a0f4f(0x381),$n=_0x3a0f4f(0x132),Hn='LOGIN_URL_KEY',jn=_0x3a0f4f(0x195);var Fi=(_0x2ea114=>(_0x2ea114[_0x2ea114['UNDEFINED']=0x0]=_0x3a0f4f(0x165),_0x2ea114[_0x2ea114['OK']=0x1]='OK',_0x2ea114[_0x2ea114['INTERNAL_ERROR']=0x2]=_0x3a0f4f(0x2c2),_0x2ea114[_0x2ea114['PERMISSION_DENIED']=0x3]=_0x3a0f4f(0x1c9),_0x2ea114[_0x2ea114['NOT_FOUND']=0x4]=_0x3a0f4f(0x151),_0x2ea114[_0x2ea114[_0x3a0f4f(0x19d)]=0x5]=_0x3a0f4f(0x19d),_0x2ea114[_0x2ea114[_0x3a0f4f(0x443)]=0x6]=_0x3a0f4f(0x443),_0x2ea114[_0x2ea114[_0x3a0f4f(0x27b)]=0x7]=_0x3a0f4f(0x27b),_0x2ea114[_0x2ea114['TOO_MANY_REQUESTS']=0x8]=_0x3a0f4f(0x3d7),_0x2ea114[_0x2ea114[_0x3a0f4f(0x493)]=0x9]=_0x3a0f4f(0x493),_0x2ea114[_0x2ea114['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2ea114[_0x2ea114[_0x3a0f4f(0x2a8)]=0x1771]=_0x3a0f4f(0x2a8),_0x2ea114[_0x2ea114[_0x3a0f4f(0x434)]=0x1772]=_0x3a0f4f(0x434),_0x2ea114[_0x2ea114[_0x3a0f4f(0x3a1)]=0x1773]=_0x3a0f4f(0x3a1),_0x2ea114[_0x2ea114[_0x3a0f4f(0x55c)]=0x1b59]=_0x3a0f4f(0x55c),_0x2ea114[_0x2ea114[_0x3a0f4f(0x4d5)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2ea114[_0x2ea114[_0x3a0f4f(0x36c)]=0x1b5b]=_0x3a0f4f(0x36c),_0x2ea114[_0x2ea114[_0x3a0f4f(0x460)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2ea114[_0x2ea114[_0x3a0f4f(0x46b)]=0x1b5d]=_0x3a0f4f(0x46b),_0x2ea114[_0x2ea114[_0x3a0f4f(0x1b9)]=0x1f41]=_0x3a0f4f(0x1b9),_0x2ea114[_0x2ea114['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3a0f4f(0x4b1),_0x2ea114[_0x2ea114[_0x3a0f4f(0x25d)]=0x232a]=_0x3a0f4f(0x25d),_0x2ea114[_0x2ea114[_0x3a0f4f(0x255)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2ea114[_0x2ea114[_0x3a0f4f(0x1cd)]=0x232c]=_0x3a0f4f(0x1cd),_0x2ea114[_0x2ea114[_0x3a0f4f(0x3f9)]=0x232d]=_0x3a0f4f(0x3f9),_0x2ea114[_0x2ea114['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3a0f4f(0x4dd),_0x2ea114[_0x2ea114[_0x3a0f4f(0x197)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2ea114[_0x2ea114[_0x3a0f4f(0x202)]=0x2713]=_0x3a0f4f(0x202),_0x2ea114[_0x2ea114[_0x3a0f4f(0x168)]=0x2714]=_0x3a0f4f(0x168),_0x2ea114[_0x2ea114[_0x3a0f4f(0x138)]=-0x1]='UNRECOGNIZED',_0x2ea114))(Fi||{}),ae=(_0x402696=>(_0x402696[_0x402696[_0x3a0f4f(0x364)]=0x0]=_0x3a0f4f(0x364),_0x402696[_0x402696[_0x3a0f4f(0x12b)]=0x1]=_0x3a0f4f(0x12b),_0x402696[_0x402696[_0x3a0f4f(0x12e)]=0x2]=_0x3a0f4f(0x12e),_0x402696[_0x402696[_0x3a0f4f(0x23c)]=0x3]=_0x3a0f4f(0x23c),_0x402696[_0x402696[_0x3a0f4f(0x212)]=0x4]=_0x3a0f4f(0x212),_0x402696[_0x402696[_0x3a0f4f(0x138)]=-0x1]='UNRECOGNIZED',_0x402696))(ae||{}),W=(_0x2c1f9e=>(_0x2c1f9e[_0x2c1f9e[_0x3a0f4f(0x347)]=0x0]=_0x3a0f4f(0x347),_0x2c1f9e[_0x2c1f9e['HELLO']=0x1]='HELLO',_0x2c1f9e[_0x2c1f9e[_0x3a0f4f(0x4dc)]=0x2]=_0x3a0f4f(0x4dc),_0x2c1f9e[_0x2c1f9e[_0x3a0f4f(0x1f6)]=0x3]=_0x3a0f4f(0x1f6),_0x2c1f9e[_0x2c1f9e[_0x3a0f4f(0x3a0)]=0x4]=_0x3a0f4f(0x3a0),_0x2c1f9e[_0x2c1f9e['HEARTBEAT']=0x5]=_0x3a0f4f(0x3c1),_0x2c1f9e[_0x2c1f9e['RECV']=0x6]=_0x3a0f4f(0x426),_0x2c1f9e[_0x2c1f9e[_0x3a0f4f(0x138)]=-0x1]=_0x3a0f4f(0x138),_0x2c1f9e))(W||{}),Pe=(_0x480ea3=>(_0x480ea3[_0x480ea3['UNKNOWN_CODE']=0x0]=_0x3a0f4f(0x475),_0x480ea3[_0x480ea3['OK']=0x1]='OK',_0x480ea3[_0x480ea3['FAIL']=0x2]='FAIL',_0x480ea3[_0x480ea3[_0x3a0f4f(0x42d)]=0x3e9]=_0x3a0f4f(0x42d),_0x480ea3[_0x480ea3['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x3a0f4f(0x24c),_0x480ea3[_0x480ea3[_0x3a0f4f(0x37d)]=0x3eb]=_0x3a0f4f(0x37d),_0x480ea3[_0x480ea3[_0x3a0f4f(0x4a2)]=0x3ec]=_0x3a0f4f(0x4a2),_0x480ea3[_0x480ea3[_0x3a0f4f(0x138)]=-0x1]=_0x3a0f4f(0x138),_0x480ea3))(Pe||{}),Vi=(_0x455863=>(_0x455863[_0x455863[_0x3a0f4f(0x1f8)]=0x0]=_0x3a0f4f(0x1f8),_0x455863[_0x455863['HttpImport']=0x1]='HttpImport',_0x455863[_0x455863[_0x3a0f4f(0x2bb)]=0x2]=_0x3a0f4f(0x2bb),_0x455863[_0x455863['UnitEmbedded']=0x3]=_0x3a0f4f(0x1cc),_0x455863[_0x455863[_0x3a0f4f(0x22e)]=0x4]=_0x3a0f4f(0x22e),_0x455863[_0x455863['UNRECOGNIZED']=-0x1]=_0x3a0f4f(0x138),_0x455863))(Vi||{});const Q=_0x3a0f4f(0x276),Bn={};function kn(_0x3d2935){const _0x265d65=_0x3a0f4f;var _0x77ef42,_0x426f15,_0x555604,_0x2fd5e8,_0x37d0a8;const _0x5af488=_0x3d2935[_0x265d65(0x13f)],_0x1024cb=JSON['parse'](_0x5af488);switch(_0x1024cb[_0x265d65(0x192)]){case W[_0x265d65(0x3c1)]:case W['HELLO']:{const _0x2eaf03=_0x1024cb[_0x265d65(0x51e)];return{..._0x1024cb,'data':_0x2eaf03,'cmd':_0x1024cb[_0x265d65(0x192)]};}case W[_0x265d65(0x4dc)]:{const _0x542196=_0x1024cb[_0x265d65(0x3a5)];return{..._0x1024cb,'data':_0x542196,'cmd':_0x1024cb[_0x265d65(0x192)]};}case W[_0x265d65(0x426)]:{const _0x457510=_0x1024cb['collaMsg'];switch(_0x457510[_0x265d65(0x416)]){case _0x256e72[_0x265d65(0x1a0)]:return{..._0x1024cb,'data':{..._0x457510,'data':(_0x77ef42=_0x457510['permissionRejEvent'])==null?void 0x0:_0x77ef42['cs']},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x260)]:return{..._0x1024cb,'data':{..._0x457510,'data':(_0x426f15=_0x457510[_0x265d65(0x155)])==null?void 0x0:_0x426f15['cs']},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72['NEW_CHANGESETS']:return{..._0x1024cb,'data':{..._0x457510,'data':(_0x555604=_0x457510[_0x265d65(0x2be)])==null?void 0x0:_0x555604['cs']},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72['CHANGESET_REJ']:return{..._0x1024cb,'data':{..._0x457510,'data':(_0x2fd5e8=_0x457510['csRejEvent'])==null?void 0x0:_0x2fd5e8['cs']},'cmd':_0x1024cb['cmd']};case _0x256e72[_0x265d65(0x3bb)]:return{..._0x1024cb,'data':{..._0x457510,'data':(_0x37d0a8=_0x457510[_0x265d65(0x12a)])==null?void 0x0:_0x37d0a8['cs']},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x2dd)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x1a7)]},'cmd':_0x1024cb['cmd']};case _0x256e72[_0x265d65(0x199)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x217)]},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72['USERS_LEAVE']:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510['leaveEvent']},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x519)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x23b)]},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x26e)]:case _0x256e72[_0x265d65(0x18c)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x256)]},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x1f2)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x23b)]},'cmd':_0x1024cb['cmd']};case _0x256e72[_0x265d65(0x3c3)]:return{..._0x1024cb,'data':_0x457510,'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72['COMMENT_UPDATE']:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x263)]},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x4e4)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x236)]},'cmd':_0x1024cb[_0x265d65(0x192)]};case _0x256e72[_0x265d65(0x3bd)]:return{..._0x1024cb,'data':{..._0x457510,'data':_0x457510[_0x265d65(0x1a5)]},'cmd':_0x1024cb[_0x265d65(0x192)]};default:return _0x1024cb;}}default:return _0x1024cb;}}function Wn(_0x5b7b9a){const _0x5764b3=_0x3a0f4f;switch(_0x5b7b9a[_0x5764b3(0x192)]){case W[_0x5764b3(0x3c1)]:case W[_0x5764b3(0x2f1)]:return JSON[_0x5764b3(0x332)]({'cmd':_0x5b7b9a[_0x5764b3(0x192)],'routeKey':_0x5b7b9a['routeKey']});case W[_0x5764b3(0x3a0)]:{let _0x227ec3;switch(_0x5b7b9a['data'][_0x5764b3(0x416)]){case _0x256e72[_0x5764b3(0x2dd)]:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x2dd)],'updateCursorEvent':_0x5b7b9a[_0x5764b3(0x13f)][_0x5764b3(0x13f)]};break;}case _0x256e72['USERS_LEAVE']:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x245)],'leaveEvent':_0x5b7b9a['data'][_0x5764b3(0x13f)]};break;}case _0x256e72[_0x5764b3(0x199)]:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x199)],'joinEvent':_0x5b7b9a[_0x5764b3(0x13f)][_0x5764b3(0x13f)]};break;}case _0x256e72[_0x5764b3(0x519)]:{_0x227ec3={'eventID':_0x256e72['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x5b7b9a[_0x5764b3(0x13f)][_0x5764b3(0x13f)]};break;}case _0x256e72[_0x5764b3(0x18c)]:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x18c)],'liveShareOperation':_0x5b7b9a[_0x5764b3(0x13f)][_0x5764b3(0x13f)]};break;}case _0x256e72[_0x5764b3(0x1f2)]:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x1f2)],'liveShareTerminate':_0x5b7b9a[_0x5764b3(0x13f)][_0x5764b3(0x13f)]};break;}case _0x256e72[_0x5764b3(0x467)]:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x467)],'liveShareRequestHost':_0x5b7b9a[_0x5764b3(0x13f)][_0x5764b3(0x13f)]};break;}case _0x256e72[_0x5764b3(0x26e)]:{_0x227ec3={'eventID':_0x256e72[_0x5764b3(0x26e)]};break;}default:_0x227ec3={'eventID':_0x5b7b9a[_0x5764b3(0x13f)]['eventID']};}return JSON[_0x5764b3(0x332)]({'cmd':_0x5b7b9a[_0x5764b3(0x192)],'routeKey':_0x5b7b9a[_0x5764b3(0x2d2)],'collaMsg':_0x227ec3});}case W['JOIN']:return JSON[_0x5764b3(0x332)]({'cmd':_0x5b7b9a[_0x5764b3(0x192)],'routeKey':_0x5b7b9a[_0x5764b3(0x2d2)],'joinReq':_0x5b7b9a[_0x5764b3(0x13f)]});case W['LEAVE']:return JSON[_0x5764b3(0x332)]({'cmd':_0x5b7b9a['cmd'],'routeKey':_0x5b7b9a[_0x5764b3(0x2d2)],'leaveReq':_0x5b7b9a[_0x5764b3(0x13f)]});default:throw new Error(_0x5764b3(0x2c9));}}var Fn=Object[_0x3a0f4f(0x40a)],Vn=Object[_0x3a0f4f(0x409)],Gn=(_0x2b8c68,_0x557494,_0x327f93,_0x5424c5)=>{const _0x14b2e0=_0x3a0f4f;for(var _0x38564b=_0x5424c5>0x1?void 0x0:_0x5424c5?Vn(_0x557494,_0x327f93):_0x557494,_0xb16b4a=_0x2b8c68[_0x14b2e0(0x312)]-0x1,_0x577e3e;_0xb16b4a>=0x0;_0xb16b4a--)(_0x577e3e=_0x2b8c68[_0xb16b4a])&&(_0x38564b=(_0x5424c5?_0x577e3e(_0x557494,_0x327f93,_0x38564b):_0x577e3e(_0x38564b))||_0x38564b);return _0x5424c5&&_0x38564b&&Fn(_0x557494,_0x327f93,_0x38564b),_0x38564b;},ze=(_0x31cb6a,_0x43d545)=>(_0x3c0d29,_0x496b68)=>_0x43d545(_0x3c0d29,_0x496b68,_0x31cb6a);const Gi=_0x52afeb(_0x3a0f4f(0x2ec));function Yn(_0x4c3c4c,_0x4077fc,_0x5810b9){const _0x44a555=_0x3a0f4f;return _0x4c3c4c+'/'+_0x4077fc+'/unit/'+_0x5810b9+_0x44a555(0x516);}let cs=class extends _0x27d038{constructor(_0x3f0059,_0x26a845,_0x97f5b7,_0x2f7d86,_0x1fe926){const _0x434c52=_0x3a0f4f;super(),this[_0x434c52(0x536)]=_0x3f0059,this[_0x434c52(0x53a)]=_0x26a845,this['_configService']=_0x97f5b7,this[_0x434c52(0x2d8)]=_0x2f7d86,this[_0x434c52(0x45b)]=_0x1fe926;}[_0x3a0f4f(0x2a9)](_0x1e72e7){const _0x15286d=_0x3a0f4f,_0xbbad86=this[_0x15286d(0x53a)][_0x15286d(0x2a9)](_0x1e72e7);if(!_0xbbad86)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x314076=new _0x3d417d(),_0x1ee333=new _0x4c5eca();_0x314076[_0x15286d(0x342)](_0xbbad86['close$'][_0x15286d(0x4f0)](_0x147bd6=>_0x1ee333['next'](_0x147bd6))),_0x314076[_0x15286d(0x342)](_0x2ecc04(()=>_0x1ee333['complete']()));const _0x548701=new _0x4c5eca();_0x314076['add'](_0xbbad86[_0x15286d(0x53c)][_0x15286d(0x4f0)](_0x7cef83=>_0x548701[_0x15286d(0x25c)](_0x7cef83))),_0x314076['add'](_0x2ecc04(()=>_0x548701[_0x15286d(0x221)]()));const _0x478f6d=new _0x4c5eca();_0x314076[_0x15286d(0x342)](_0xbbad86[_0x15286d(0x250)][_0x15286d(0x4f0)](_0x433b13=>{const _0x5ac636=kn(_0x433b13);_0x478f6d['next'](_0x5ac636);})),_0x314076[_0x15286d(0x342)](_0x2ecc04(()=>_0x478f6d['complete']()));let _0x304fca;const _0x23ecdd=()=>{const _0xf10ae9=_0x15286d;_0x548701[_0xf10ae9(0x25c)](new Event(_0xf10ae9(0x438))),_0x1ee333[_0xf10ae9(0x25c)](new CloseEvent(_0xf10ae9(0x438))),_0x304fca[_0xf10ae9(0x274)]();};return _0x304fca={'memberID':'','close$':_0x1ee333['asObservable'](),'error$':_0x548701[_0x15286d(0x3e7)](),'open$':_0xbbad86[_0x15286d(0x350)],'message$':_0x478f6d['asObservable'](),'send':_0x279271=>{const _0x4babf8=_0x15286d;if(_0x279271[_0x4babf8(0x192)]===W[_0x4babf8(0x3a0)]){if(_0x279271[_0x4babf8(0x13f)][_0x4babf8(0x416)]===_0x256e72['SUBMIT_CHANGESET']){this[_0x4babf8(0x129)](_0x304fca,_0x279271['data'])[_0x4babf8(0x47b)](_0xad6c20=>{const _0xd2a1ec=_0x4babf8;this[_0xd2a1ec(0x2d8)][_0xd2a1ec(0x34b)](_0xad6c20),_0x23ecdd();});return;}if(_0x279271[_0x4babf8(0x13f)][_0x4babf8(0x416)]===_0x256e72[_0x4babf8(0x26c)]){const _0x5837c0=_0x279271[_0x4babf8(0x13f)];this[_0x4babf8(0x45f)](_0x5837c0)[_0x4babf8(0x17e)](_0x4a3f5e=>{const _0x22510e=_0x4babf8;_0x478f6d[_0x22510e(0x25c)]({'cmd':W[_0x22510e(0x426)],'code':Pe['OK'],'routeKey':_0x5837c0[_0x22510e(0x13f)][_0x22510e(0x321)],'routeType':'','data':{'eventID':_0x256e72[_0x22510e(0x48c)],'data':{'changesets':_0x4a3f5e}}});})[_0x4babf8(0x47b)](_0x16b6bd=>{const _0xfc53a4=_0x4babf8;this[_0xfc53a4(0x2d8)][_0xfc53a4(0x34b)](_0x16b6bd),_0x23ecdd();});return;}}_0xbbad86[_0x4babf8(0x233)](Wn(_0x279271));},'close':()=>{const _0x42cfb7=_0x15286d;_0xbbad86[_0x42cfb7(0x274)](),_0x314076['dispose']();}},_0x304fca;}async['_submitChangeset'](_0x2c9976,_0x2af9f2){const _0xef1599=_0x3a0f4f;var _0x363906,_0x1c28ec;const {unitType:_0x2b8399,unitID:_0xcfcc66,changeset:_0x3f27e6}=_0x2af9f2[_0xef1599(0x13f)],_0x2fbbf1={'unitID':_0xcfcc66,'memberID':_0x2c9976[_0xef1599(0x11d)],'type':_0x2b8399,'changeset':_0x2c0a60(_0x3f27e6)},_0x2a39cc=this[_0xef1599(0x145)][_0xef1599(0x128)](Ln),_0x32a411=this['_configService'][_0xef1599(0x128)](Q),_0x1faaab=Yn((_0x1c28ec=(_0x363906=_0x32a411==null?void 0x0:_0x32a411[_0xef1599(0x43a)])!=null?_0x363906:_0x2a39cc)!=null?_0x1c28ec:$n,_0x2b8399,_0xcfcc66);try{await this['_http'][_0xef1599(0x4c3)](_0x1faaab,{'body':_0x2fbbf1});}catch(_0x438d56){throw this['_logService']['error']('[CollaborationSession]',_0xef1599(0x46a)),_0x438d56;}}async[_0x3a0f4f(0x45f)](_0x56d9fe){const _0x5532c0=_0x3a0f4f,{unitID:_0x4faa0a,from:_0x23d918,to:_0x59b5a5,unitType:_0x229ecb}=_0x56d9fe[_0x5532c0(0x13f)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4faa0a,'type':_0x229ecb,'from':_0x23d918,'to':_0x59b5a5}))[_0x5532c0(0x38e)];}};cs=Gn([ze(0x0,_0x4a6309(_0x559bcb)),ze(0x1,_0x4a6309(_0x20af59)),ze(0x2,_0x1526c7),ze(0x3,_0x4c9627),ze(0x4,_0x53719c)],cs);const Kn=_0x3a0f4f(0x144);function qn(_0x36c57c){const _0x1b0e80=_0x3a0f4f;return JSON[_0x1b0e80(0x332)](_0x36c57c)[_0x1b0e80(0x312)];}class Yi{constructor(){const _0x20c2ad=_0x3a0f4f;g(this,'_commentUpdate$',new _0x4c5eca()),g(this,_0x20c2ad(0x1be),this[_0x20c2ad(0x29f)][_0x20c2ad(0x3e7)]());}[_0x3a0f4f(0x1c2)](_0x1b339f){const _0x3c6a95=_0x3a0f4f;this[_0x3c6a95(0x29f)][_0x3c6a95(0x25c)](_0x1b339f);}}var zn=Object[_0x3a0f4f(0x40a)],Xn=Object[_0x3a0f4f(0x409)],Jn=(_0x2f5643,_0x2a94b8,_0x403de,_0x446489)=>{const _0x428c5e=_0x3a0f4f;for(var _0x392475=_0x446489>0x1?void 0x0:_0x446489?Xn(_0x2a94b8,_0x403de):_0x2a94b8,_0x3a4d0d=_0x2f5643[_0x428c5e(0x312)]-0x1,_0x34f87a;_0x3a4d0d>=0x0;_0x3a4d0d--)(_0x34f87a=_0x2f5643[_0x3a4d0d])&&(_0x392475=(_0x446489?_0x34f87a(_0x2a94b8,_0x403de,_0x392475):_0x34f87a(_0x392475))||_0x392475);return _0x446489&&_0x392475&&zn(_0x2a94b8,_0x403de,_0x392475),_0x392475;},Ks=(_0x57d127,_0x3880e7)=>(_0x24de9e,_0xb16c5a)=>_0x3880e7(_0x24de9e,_0xb16c5a,_0x57d127);let Me=class extends _0x27d038{constructor(_0x12d499,_0x117ff0){const _0x20b784=_0x3a0f4f;super(),g(this,'_roomMembers',new Map()),(this[_0x20b784(0x345)]=_0x12d499,this[_0x20b784(0x339)]=_0x117ff0,this['disposeWithMe'](_0x2ecc04(_0x4bd8ea(this[_0x20b784(0x345)]['getTypeOfUnitDisposed$'](_0x363a0b['UNIVER_SHEET'])[_0x20b784(0x2af)](_0x388f57(_0x2ed290=>_0x2ed290[_0x20b784(0x1eb)]())),this['_univerInstanceService'][_0x20b784(0x308)](_0x363a0b[_0x20b784(0x12b)])['pipe'](_0x388f57(_0x395d40=>_0x395d40['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x363a0b[_0x20b784(0x23c)])[_0x20b784(0x2af)](_0x388f57(_0xc0b371=>_0xc0b371[_0x20b784(0x1eb)]())))['subscribe'](_0x9a3fae=>this[_0x20b784(0x2de)](_0x9a3fae)))));}[_0x3a0f4f(0x435)](_0x37aac7){const _0x20f50e=_0x3a0f4f;this[_0x20f50e(0x339)]['setCurrentUser'](_0x37aac7);}[_0x3a0f4f(0x521)](){return this['_userManagerService']['getCurrentUser']();}[_0x3a0f4f(0x33c)](_0x4ad673,_0x590f28){const _0x43a6e7=_0x3a0f4f;let _0x3686c9=this[_0x43a6e7(0x19a)][_0x43a6e7(0x204)](_0x4ad673);_0x3686c9||(_0x3686c9=new Zn(),this[_0x43a6e7(0x19a)][_0x43a6e7(0x4d9)](_0x4ad673,_0x3686c9)),_0x3686c9[_0x43a6e7(0x33c)](_0x590f28);}['removeMember'](_0x3e0d23,_0x54bfb5){const _0x43ec2d=_0x3a0f4f,_0x4ec55b=this[_0x43ec2d(0x19a)][_0x43ec2d(0x204)](_0x3e0d23);_0x4ec55b&&_0x4ec55b[_0x43ec2d(0x243)](_0x54bfb5);}[_0x3a0f4f(0x3b7)](_0x40a7e5){const _0xcdd64e=_0x3a0f4f;return this[_0xcdd64e(0x19a)][_0xcdd64e(0x204)](_0x40a7e5);}['getMember'](_0x21e79d,_0x1aeecd){const _0x45065a=_0x3a0f4f,_0x473fa0=this[_0x45065a(0x19a)][_0x45065a(0x204)](_0x21e79d);if(_0x473fa0)return _0x473fa0[_0x45065a(0x4d3)](_0x1aeecd);}[_0x3a0f4f(0x2de)](_0x1e8e5c){const _0x219f62=_0x3a0f4f,_0x5d15b5=this['_roomMembers']['get'](_0x1e8e5c);_0x5d15b5&&(_0x5d15b5['dispose'](),this['_roomMembers'][_0x219f62(0x4d6)](_0x1e8e5c));}['dispose'](){const _0x134b14=_0x3a0f4f;this[_0x134b14(0x19a)][_0x134b14(0x444)](_0x190d42=>_0x190d42[_0x134b14(0x262)]()),this[_0x134b14(0x19a)][_0x134b14(0x319)]();}};Me=Jn([Ks(0x0,_0x3dee00),Ks(0x1,_0x4a6309(_0x582708))],Me);class Zn extends _0x27d038{constructor(){const _0x339ae7=_0x3a0f4f;super(...arguments),g(this,_0x339ae7(0x22c),new Map());}[_0x3a0f4f(0x262)](){const _0x50d3bd=_0x3a0f4f;this[_0x50d3bd(0x22c)][_0x50d3bd(0x319)]();}['updateMember'](_0x435c38){const _0x2550b0=_0x3a0f4f;this[_0x2550b0(0x22c)][_0x2550b0(0x4d9)](_0x435c38[_0x2550b0(0x11d)],_0x435c38);}['removeMember'](_0x344bcc){const _0x118e25=_0x3a0f4f;this[_0x118e25(0x22c)]['delete'](_0x344bcc);}['getMember'](_0x46ee34){const _0x564c22=_0x3a0f4f;return this[_0x564c22(0x22c)]['get'](_0x46ee34);}[_0x3a0f4f(0x2b4)](){const _0x158fc0=_0x3a0f4f;return Array[_0x158fc0(0x2ef)](this['_members'][_0x158fc0(0x3a9)]());}}var Qn=Object['defineProperty'],eo=Object['getOwnPropertyDescriptor'],to=(_0x3d8744,_0x256e74,_0x5e1c2c,_0x12cba2)=>{const _0x424bf9=_0x3a0f4f;for(var _0x40e5d7=_0x12cba2>0x1?void 0x0:_0x12cba2?eo(_0x256e74,_0x5e1c2c):_0x256e74,_0x218275=_0x3d8744[_0x424bf9(0x312)]-0x1,_0x378bbd;_0x218275>=0x0;_0x218275--)(_0x378bbd=_0x3d8744[_0x218275])&&(_0x40e5d7=(_0x12cba2?_0x378bbd(_0x256e74,_0x5e1c2c,_0x40e5d7):_0x378bbd(_0x40e5d7))||_0x40e5d7);return _0x12cba2&&_0x40e5d7&&Qn(_0x256e74,_0x5e1c2c,_0x40e5d7),_0x40e5d7;},Ee=(_0x210d70,_0x4a1769)=>(_0x4479fd,_0x204da3)=>_0x4a1769(_0x4479fd,_0x204da3,_0x210d70),fe=(_0x436065=>(_0x436065[_0x436065[_0x3a0f4f(0x179)]=0x0]=_0x3a0f4f(0x179),_0x436065[_0x436065[_0x3a0f4f(0x1ba)]=0x1]=_0x3a0f4f(0x1ba),_0x436065[_0x436065[_0x3a0f4f(0x275)]=0x2]=_0x3a0f4f(0x275),_0x436065[_0x436065[_0x3a0f4f(0x4a9)]=0x3]=_0x3a0f4f(0x4a9),_0x436065))(fe||{});const qs={[Pe['FAIL']]:_0x3a0f4f(0x1dd),[Pe['JOIN_ROOM_FULL']]:_0x3a0f4f(0x241),[Pe['JOIN_ROOM_NOT_EXISTS']]:_0x3a0f4f(0x29e),[Pe[_0x3a0f4f(0x37d)]]:_0x3a0f4f(0x1f9),[Pe[_0x3a0f4f(0x4a2)]]:_0x3a0f4f(0x445)};let hs=class extends _0x5a2d55{constructor(_0xb41bd2,_0x27a592,_0xc80e6d,_0x59db38,_0x4c999b,_0x1c0834,_0x2ca84d,_0x1de56e,_0x3e5955,_0x1c8cb7){const _0xa9f9e4=_0x3a0f4f;super(),g(this,'_sessionStatus$',new _0x1f5fb9(0x0)),g(this,_0xa9f9e4(0x517),this[_0xa9f9e4(0x1b2)][_0xa9f9e4(0x3e7)]()),g(this,'_event$',new _0x4c5eca()),g(this,_0xa9f9e4(0x2f7),this[_0xa9f9e4(0x141)][_0xa9f9e4(0x3e7)]()),g(this,_0xa9f9e4(0x370)),g(this,_0xa9f9e4(0x18e)),g(this,_0xa9f9e4(0x326)),g(this,'_shouldReportTelemetry',!0x1),g(this,'_telemetryInfo',null),(this[_0xa9f9e4(0x1ed)]=_0xb41bd2,this[_0xa9f9e4(0x2d8)]=_0xc80e6d,this[_0xa9f9e4(0x14c)]=_0x59db38,this['_messageService']=_0x4c999b,this[_0xa9f9e4(0x145)]=_0x1c0834,this['_localeService']=_0x2ca84d,this['_memberService']=_0x1de56e,this['_commentService']=_0x3e5955,this['_telemetryService']=_0x1c8cb7,this[_0xa9f9e4(0x323)]=!!this[_0xa9f9e4(0x1bc)],_0x27a592[_0xa9f9e4(0x2af)](_0x2a292b(this[_0xa9f9e4(0x220)]))[_0xa9f9e4(0x4f0)](_0x2d0c11=>{const _0x3e68a1=_0xa9f9e4;var _0x420695;typeof _0x2d0c11>'u'||(this[_0x3e68a1(0x370)]=_0x2d0c11,_0x2d0c11?(this[_0x3e68a1(0x377)](_0x2d0c11),this[_0x3e68a1(0x18e)]=_0x2d0c11[_0x3e68a1(0x250)][_0x3e68a1(0x4f0)](_0x108bf3=>{const _0x142d5a=_0x3e68a1;_0x108bf3['routeKey']===this['_unitID']&&this[_0x142d5a(0x3fc)](_0x108bf3);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3e68a1(0x1b2)][_0x3e68a1(0x25c)](0x2),(_0x420695=this[_0x3e68a1(0x18e)])==null||_0x420695[_0x3e68a1(0x19e)](),this[_0x3e68a1(0x18e)]=null));}),this[_0xa9f9e4(0x49b)](this[_0xa9f9e4(0x14c)]['registerOnClose'](()=>{var _0x15c823;(_0x15c823=this['_socket'])==null||_0x15c823['send']({'cmd':W['LEAVE'],'data':{'roomID':this['_unitID']}});})));}get[_0x3a0f4f(0x19b)](){const _0x48cbf0=_0x3a0f4f;return this['_sessionStatus$'][_0x48cbf0(0x4c8)]();}[_0x3a0f4f(0x483)](){const _0x5316c3=_0x3a0f4f;var _0x2b5e87,_0x3ca773;return(_0x3ca773=(_0x2b5e87=this[_0x5316c3(0x370)])==null?void 0x0:_0x2b5e87['memberID'])!=null?_0x3ca773:null;}['dispose'](){const _0x5c806c=_0x3a0f4f;super[_0x5c806c(0x262)](),this[_0x5c806c(0x220)][_0x5c806c(0x25c)](),this[_0x5c806c(0x220)][_0x5c806c(0x221)]();}[_0x3a0f4f(0x274)](){const _0x1536d1=_0x3a0f4f;var _0x1d1bb1,_0x441fe1;this[_0x1536d1(0x35f)](),(_0x1d1bb1=this[_0x1536d1(0x370)])==null||_0x1d1bb1['send']({'cmd':W[_0x1536d1(0x1f6)],'data':{'roomID':this[_0x1536d1(0x1ed)]}}),(_0x441fe1=this['_socket'])==null||_0x441fe1[_0x1536d1(0x274)](),this[_0x1536d1(0x141)][_0x1536d1(0x221)](),this['_sessionStatus$']['complete'](),this['dispose']();}[_0x3a0f4f(0x3fc)](_0x2701d8){const _0xc2b17b=_0x3a0f4f;_0x2701d8[_0xc2b17b(0x192)]===W['JOIN']?this['_onJoinRoomEvent'](_0x2701d8):_0x2701d8[_0xc2b17b(0x192)]===W['RECV']&&this[_0xc2b17b(0x4bb)](_0x2701d8);}[_0x3a0f4f(0x377)](_0x52d32a){const _0x551ea4=_0x3a0f4f;this[_0x551ea4(0x1b2)][_0x551ea4(0x25c)](0x1),_0x52d32a[_0x551ea4(0x233)]({'cmd':W['JOIN'],'routeKey':this[_0x551ea4(0x1ed)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x3a0f4f(0x3e1)](_0x1da564){const _0x3acc3b=_0x3a0f4f;var _0x142f79;if(_0x1da564[_0x3acc3b(0x24d)]in qs){this[_0x3acc3b(0x510)][_0x3acc3b(0x4d8)]({'type':_0x452c22['Warning'],'content':this[_0x3acc3b(0x369)]['t'](qs[_0x1da564[_0x3acc3b(0x24d)]])}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$'][_0x3acc3b(0x25c)](0x3);const _0xaa355=(_0x142f79=_0x1da564[_0x3acc3b(0x13f)][_0x3acc3b(0x184)][this[_0x3acc3b(0x1ed)]])==null?void 0x0:_0x142f79[_0x3acc3b(0x4d4)];_0xaa355&&_0xaa355[_0x3acc3b(0x444)](_0x179836=>this['_memberService'][_0x3acc3b(0x33c)](this[_0x3acc3b(0x1ed)],_0x179836));}[_0x3a0f4f(0x4bb)](_0x4c32e6){const _0x57ef81=_0x3a0f4f;try{const _0x37b211=_0x4c32e6['data'];switch(_0x37b211[_0x57ef81(0x416)]){case _0x256e72[_0x57ef81(0x199)]:this[_0x57ef81(0x1d7)](_0x37b211),this['_event$']['next'](_0x37b211);break;case _0x256e72[_0x57ef81(0x245)]:this[_0x57ef81(0x289)](_0x37b211),this[_0x57ef81(0x141)][_0x57ef81(0x25c)](_0x37b211);break;case _0x256e72[_0x57ef81(0x260)]:case _0x256e72[_0x57ef81(0x3bb)]:this[_0x57ef81(0x189)](),this[_0x57ef81(0x3da)](),this[_0x57ef81(0x141)][_0x57ef81(0x25c)](_0x37b211);break;case _0x256e72[_0x57ef81(0x3c3)]:this[_0x57ef81(0x2d8)][_0x57ef81(0x34b)](_0x57ef81(0x526)+JSON[_0x57ef81(0x332)](_0x37b211)),this[_0x57ef81(0x141)][_0x57ef81(0x25c)](_0x37b211);break;case _0x256e72['COMMENT_UPDATE']:this[_0x57ef81(0x213)][_0x57ef81(0x1c2)](_0x37b211[_0x57ef81(0x13f)]),this[_0x57ef81(0x141)][_0x57ef81(0x25c)](_0x37b211);break;default:this[_0x57ef81(0x141)]['next'](_0x37b211);}}catch(_0x769a54){this[_0x57ef81(0x2d8)][_0x57ef81(0x34b)](_0x769a54,_0x4c32e6);}}['_onUserJoin'](_0x359bfe){const _0x3cde42=_0x3a0f4f;this[_0x3cde42(0x2e8)][_0x3cde42(0x33c)](this[_0x3cde42(0x1ed)],_0x359bfe[_0x3cde42(0x13f)]);}[_0x3a0f4f(0x289)](_0x5dca52){const _0x51ffb0=_0x3a0f4f;this['_memberService'][_0x51ffb0(0x243)](this[_0x51ffb0(0x1ed)],_0x5dca52[_0x51ffb0(0x13f)][_0x51ffb0(0x11d)]);}async['send'](_0x1972c0,_0x244279){const _0x36a708=_0x3a0f4f;if(this[_0x36a708(0x19b)]!==0x3||!this[_0x36a708(0x370)])throw new Error(_0x36a708(0x301));try{_0x1972c0[_0x36a708(0x416)]===_0x256e72[_0x36a708(0x39c)]&&(this[_0x36a708(0x464)](),this[_0x36a708(0x3ed)](_0x1972c0)),this[_0x36a708(0x370)][_0x36a708(0x233)]({'cmd':W[_0x36a708(0x3a0)],'routeKey':_0x244279,'routeType':'','data':_0x1972c0});}catch(_0x15066c){this['_logService']['error'](_0x15066c);}}[_0x3a0f4f(0x464)](){const _0x231b04=_0x3a0f4f;var _0x75be72;this['_collaborationTimeoutTimer']=window[_0x231b04(0x4d7)](()=>{const _0x249d95=_0x231b04;this[_0x249d95(0x326)]=null,this['_messageService'][_0x249d95(0x4d8)]({'type':_0x452c22[_0x249d95(0x503)],'content':this[_0x249d95(0x369)]['t'](_0x249d95(0x3b1))});},(_0x75be72=this['_configService'][_0x231b04(0x128)](ki))!=null?_0x75be72:Wi);}[_0x3a0f4f(0x3da)](){const _0x6e8006=_0x3a0f4f;this[_0x6e8006(0x326)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x3a0f4f(0x3ed)](_0x320a5a){const _0x475633=_0x3a0f4f;if(!this[_0x475633(0x323)])return;const {data:_0x86909e}=_0x320a5a,{unitID:_0xa2182c,changeset:_0x125707}=_0x86909e,{mutations:_0xf72b19,type:_0x1177a1}=_0x125707;this['_telemetryInfo']={'unitId':_0xa2182c,'type':_0x1177a1,'startTime':performance[_0x475633(0x1d2)](),'stopTime':0x0,'duration':0x0,'size':qn(_0xf72b19)};}[_0x3a0f4f(0x189)](){const _0x3c3e4=_0x3a0f4f;if(this[_0x3c3e4(0x323)]){if(!this[_0x3c3e4(0x52f)]){this['_logService'][_0x3c3e4(0x34b)](_0x3c3e4(0x50c),_0x3c3e4(0x183));return;}this['_telemetryInfo'][_0x3c3e4(0x166)]=performance[_0x3c3e4(0x1d2)](),this[_0x3c3e4(0x52f)][_0x3c3e4(0x546)]=this['_telemetryInfo'][_0x3c3e4(0x166)]-this[_0x3c3e4(0x52f)][_0x3c3e4(0x512)],this['_telemetryService'][_0x3c3e4(0x388)](Kn,this['_telemetryInfo']),this[_0x3c3e4(0x52f)]=null;}}[_0x3a0f4f(0x35f)](){this['_telemetryInfo']=null;}};hs=to([Ee(0x2,_0x4c9627),Ee(0x3,_0x26c3bd),Ee(0x4,_0x138b55),Ee(0x5,_0x1526c7),Ee(0x6,_0x4a6309(_0x440b58)),Ee(0x7,_0x4a6309(Me)),Ee(0x8,_0x4a6309(Yi)),Ee(0x9,_0x4a0f17(_0x58614f))],hs);var so=Object[_0x3a0f4f(0x40a)],io=Object[_0x3a0f4f(0x409)],ro=(_0x118b19,_0xf5a625,_0x386440,_0x5a49d8)=>{for(var _0x119549=_0x5a49d8>0x1?void 0x0:_0x5a49d8?io(_0xf5a625,_0x386440):_0xf5a625,_0x3049db=_0x118b19['length']-0x1,_0x501711;_0x3049db>=0x0;_0x3049db--)(_0x501711=_0x118b19[_0x3049db])&&(_0x119549=(_0x5a49d8?_0x501711(_0xf5a625,_0x386440,_0x119549):_0x501711(_0x119549))||_0x119549);return _0x5a49d8&&_0x119549&&so(_0xf5a625,_0x386440,_0x119549),_0x119549;},ye=(_0x84d0de,_0x279f08)=>(_0x5a4da5,_0x3b1853)=>_0x279f08(_0x5a4da5,_0x3b1853,_0x84d0de);let xe=class extends _0x27d038{constructor(_0x496ca8,_0x39ef48,_0x1e3666,_0x122b4c,_0x369ca3,_0x5d4bef,_0x30464b){const _0xf7965f=_0x3a0f4f;super(),g(this,_0xf7965f(0x395),new _0x1f5fb9(void 0x0)),g(this,'socket$',this[_0xf7965f(0x395)][_0xf7965f(0x3e7)]()),g(this,_0xf7965f(0x41b),null),g(this,_0xf7965f(0x36a),new Map()),g(this,_0xf7965f(0x177),new _0x1f5fb9(fe['IDLE'])),g(this,_0xf7965f(0x4fc),this[_0xf7965f(0x177)][_0xf7965f(0x3e7)]()),g(this,_0xf7965f(0x1fd),!0x1),g(this,_0xf7965f(0x281)),g(this,_0xf7965f(0x505),0x0),g(this,_0xf7965f(0x4cb)),g(this,_0xf7965f(0x36e)),(this['_injector']=_0x496ca8,this[_0xf7965f(0x369)]=_0x39ef48,this[_0xf7965f(0x510)]=_0x1e3666,this[_0xf7965f(0x2d8)]=_0x122b4c,this[_0xf7965f(0x145)]=_0x369ca3,this[_0xf7965f(0x31b)]=_0x5d4bef,this[_0xf7965f(0x53b)]=_0x30464b,this[_0xf7965f(0x27c)]());}get[_0x3a0f4f(0x370)](){const _0x4eebe4=_0x3a0f4f;return this[_0x4eebe4(0x395)][_0x4eebe4(0x4c8)]();}[_0x3a0f4f(0x27c)](){const _0x5c8f09=_0x3a0f4f;this[_0x5c8f09(0x504)](),this[_0x5c8f09(0x3b5)]();}[_0x3a0f4f(0x262)](){const _0x47bf79=_0x3a0f4f;super[_0x47bf79(0x262)](),this[_0x47bf79(0x36a)]['forEach'](_0x4fb8aa=>_0x4fb8aa[_0x47bf79(0x262)]()),this[_0x47bf79(0x36a)]['clear'](),this[_0x47bf79(0x177)][_0x47bf79(0x221)]();}async[_0x3a0f4f(0x25a)](_0x2162da){const _0x380d0b=_0x3a0f4f;if(this['_sessions'][_0x380d0b(0x261)](_0x2162da))return this[_0x380d0b(0x36a)][_0x380d0b(0x204)](_0x2162da);this[_0x380d0b(0x1d8)]();const _0x3b6ca7=this['_injector']['createInstance'](hs,_0x2162da,this[_0x380d0b(0x395)][_0x380d0b(0x3e7)]());return this['_sessions'][_0x380d0b(0x4d9)](_0x2162da,_0x3b6ca7),_0x3b6ca7;}[_0x3a0f4f(0x3f5)](_0x10eedb){const _0x3684fc=_0x3a0f4f;var _0x57ad9f;const _0x4886d9=this[_0x3684fc(0x36a)][_0x3684fc(0x204)](_0x10eedb);_0x4886d9&&(this['_sessions'][_0x3684fc(0x4d6)](_0x10eedb),_0x4886d9[_0x3684fc(0x274)]()),this[_0x3684fc(0x36a)][_0x3684fc(0x382)]||(_0x57ad9f=this[_0x3684fc(0x370)])==null||_0x57ad9f['close']();}[_0x3a0f4f(0x3f6)](){const _0x211536=_0x3a0f4f;this[_0x211536(0x505)]=0x0,this[_0x211536(0x281)]!=null&&(clearTimeout(this[_0x211536(0x281)]),this[_0x211536(0x281)]=null),this[_0x211536(0x4b6)]();}async['_getSessionTicket'](){const _0x1be898=_0x3a0f4f;var _0xa02cc1,_0x1b17c1,_0x565450;const _0x29d79e=this[_0x1be898(0x145)][_0x1be898(0x128)](Q),_0x22651f=(_0xa02cc1=_0x29d79e==null?void 0x0:_0x29d79e[_0x1be898(0x463)])!=null?_0xa02cc1:wn;return(_0x565450=(_0x1b17c1=(await this[_0x1be898(0x53b)][_0x1be898(0x204)](_0x22651f,{'headers':{'Content-Type':_0x1be898(0x447)}}))['body'])==null?void 0x0:_0x1b17c1[_0x1be898(0x27e)])!=null?_0x565450:'';}[_0x3a0f4f(0x235)](_0x390d4d){const _0x1b3c26=_0x3a0f4f;var _0x10b87e,_0x59293f;const _0x25b075=this['_configService'][_0x1b3c26(0x128)](On),_0x312643=this[_0x1b3c26(0x145)][_0x1b3c26(0x128)](Q),_0x33e2bd=(_0x59293f=(_0x10b87e=_0x312643==null?void 0x0:_0x312643[_0x1b3c26(0x316)])!=null?_0x10b87e:_0x25b075)!=null?_0x59293f:yn,_0x2152f9=new URL(_0x33e2bd,window[_0x1b3c26(0x152)]['origin']);return _0x2152f9[_0x1b3c26(0x11f)]['set'](_0x1b3c26(0x374),_0x390d4d),_0x2152f9[_0x1b3c26(0x542)]();}async[_0x3a0f4f(0x18b)](){const _0x4d3bbd=_0x3a0f4f,_0x26d39a=await this[_0x4d3bbd(0x2ed)](),_0x4ed644=this[_0x4d3bbd(0x235)](_0x26d39a),_0x4ecb70=this[_0x4d3bbd(0x31b)]['createSocket'](_0x4ed644);return this[_0x4d3bbd(0x41b)]=_0x4ecb70,_0x4ecb70;}async[_0x3a0f4f(0x1d8)](){const _0xd44724=_0x3a0f4f;var _0x2f60f9,_0x27f256;try{const _0x183909=(_0x27f256=(_0x2f60f9=this[_0xd44724(0x370)])!=null?_0x2f60f9:this[_0xd44724(0x41b)])!=null?_0x27f256:await this[_0xd44724(0x18b)]();if(_0x183909){const _0x39fa8e=_0x183909[_0xd44724(0x233)];_0x183909[_0xd44724(0x233)]=_0x13f6ad=>(this[_0xd44724(0x553)](),_0x39fa8e[_0xd44724(0x21c)](_0x183909,[_0x13f6ad])),_0x183909[_0xd44724(0x250)][_0xd44724(0x4f0)](_0xb1915f=>this[_0xd44724(0x239)](_0x183909,_0xb1915f)),_0x183909['error$'][_0xd44724(0x2af)](_0x25302b(0x1))[_0xd44724(0x4f0)](_0x420ab2=>this[_0xd44724(0x2d8)][_0xd44724(0x34b)]('[CollaborationSessionService]:\x20socket\x20error',_0x420ab2)),_0x183909[_0xd44724(0x350)][_0xd44724(0x2af)](_0x25302b(0x1))[_0xd44724(0x4f0)](()=>{const _0x14d218=_0xd44724;this[_0x14d218(0x396)](_0x183909);}),_0x183909['close$'][_0xd44724(0x2af)](_0x25302b(0x1))[_0xd44724(0x4f0)](_0x2dcb93=>{const _0x254800=_0xd44724;this['_logService'][_0x254800(0x2db)]('[CollaborationSessionService]',_0x254800(0x2c8),_0x2dcb93),this['_onConnectionFailed']();});}}catch(_0xb970ec){this['_logService'][_0xd44724(0x34b)](_0xb970ec),this[_0xd44724(0x3f8)]();}}['_onConnectionOpen'](_0x29147e){const _0x366ccc=_0x3a0f4f;this[_0x366ccc(0x2d8)][_0x366ccc(0x2db)](_0x366ccc(0x32c),_0x366ccc(0x11c)),_0x29147e[_0x366ccc(0x233)]({'cmd':W[_0x366ccc(0x2f1)]}),this['_rescheduleHeartbeat']();}[_0x3a0f4f(0x504)](){const _0x13f570=_0x3a0f4f;window[_0x13f570(0x30a)](_0x13f570(0x1ea),()=>this[_0x13f570(0x4b4)]());}[_0x3a0f4f(0x4b4)](){const _0x4edf22=_0x3a0f4f;this[_0x4edf22(0x1fd)]=!0x1,this['_candidateSocket']=null,this[_0x4edf22(0x177)][_0x4edf22(0x25c)](fe[_0x4edf22(0x275)]),this['_socket$'][_0x4edf22(0x25c)](null),this[_0x4edf22(0x2c7)](),this['_clearHeartbeatTimer']();}[_0x3a0f4f(0x3f8)](){const _0xf30ec2=_0x3a0f4f;var _0x5852e3;this['_onOffline'](),this['_retryCount']<((_0x5852e3=this[_0xf30ec2(0x145)][_0xf30ec2(0x128)](Un))!=null?_0x5852e3:An)?(this[_0xf30ec2(0x510)][_0xf30ec2(0x4d8)]({'key':_0xf30ec2(0x497),'type':_0x452c22[_0xf30ec2(0x3f2)],'content':this['_localeService']['t'](_0xf30ec2(0x20b))}),this[_0xf30ec2(0x4b6)]()):this['_messageService'][_0xf30ec2(0x4d8)]({'key':'collaboration-session-retry','type':_0x452c22['Error'],'content':this['_localeService']['t'](_0xf30ec2(0x28d))});}[_0x3a0f4f(0x3b5)](){const _0xa54ec8=_0x3a0f4f,_0x2495da=()=>{const _0x19a983=_0x328b;this[_0x19a983(0x370)]||this['reconnect']();},_0xec1a2c=()=>{const _0xe4f21=_0x328b;this[_0xe4f21(0x370)]||document[_0xe4f21(0x2c6)]===_0xe4f21(0x4d1)||this['reconnect']();};window[_0xa54ec8(0x30a)](_0xa54ec8(0x54c),_0x2495da),document['addEventListener'](_0xa54ec8(0x25b),_0xec1a2c);}[_0x3a0f4f(0x4b6)](){const _0x4a044c=_0x3a0f4f;var _0x4cf910;const _0x46e12f=this[_0x4a044c(0x505)],_0x5f4898=this[_0x4a044c(0x145)]['getConfig'](Q),_0x4d12e8=_0x46e12f===0x0?0x0:((_0x4cf910=_0x5f4898==null?void 0x0:_0x5f4898['retryConnectingInterval'])!=null?_0x4cf910:Nn)*0x2**_0x46e12f;this['_retryConnectingTimer']=window[_0x4a044c(0x4d7)](()=>{const _0x297cda=_0x4a044c;clearTimeout(this[_0x297cda(0x281)]),this[_0x297cda(0x281)]=null,this[_0x297cda(0x1d8)]();},_0x4d12e8),this[_0x4a044c(0x505)]+=0x1;}[_0x3a0f4f(0x239)](_0x4ba50f,_0x3e8462){const _0x20cb9c=_0x3a0f4f,{cmd:_0x51c66d}=_0x3e8462;_0x51c66d===W[_0x20cb9c(0x2f1)]&&!this[_0x20cb9c(0x1fd)]&&(_0x4ba50f[_0x20cb9c(0x11d)]=_0x3e8462[_0x20cb9c(0x13f)][_0x20cb9c(0x11d)],this[_0x20cb9c(0x395)][_0x20cb9c(0x25c)](_0x4ba50f),this['_status$'][_0x20cb9c(0x25c)](fe[_0x20cb9c(0x4a9)]),this[_0x20cb9c(0x1fd)]=!0x0,this[_0x20cb9c(0x41b)]=null),_0x51c66d===W['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x20cb9c(0x553)]();}['_rescheduleHeartbeat'](){const _0x418d84=_0x3a0f4f;var _0x1376aa;this[_0x418d84(0x30e)](),this[_0x418d84(0x4cb)]=window[_0x418d84(0x4d7)](()=>this['_sendHeartbeat'](),(_0x1376aa=this[_0x418d84(0x145)][_0x418d84(0x128)](Dn))!=null?_0x1376aa:Pn);}[_0x3a0f4f(0x1bd)](){const _0x5a51f2=_0x3a0f4f;this['_socket'][_0x5a51f2(0x233)]({'cmd':W[_0x5a51f2(0x3c1)]}),this[_0x5a51f2(0x13b)]();}['_waitForHeartbeatResponse'](){const _0x23b095=_0x3a0f4f;var _0x208e62;this[_0x23b095(0x36e)]=window[_0x23b095(0x4d7)](()=>this[_0x23b095(0x3f8)](),(_0x208e62=this[_0x23b095(0x145)][_0x23b095(0x128)](ki))!=null?_0x208e62:Wi);}['_clearHeartbeatTimer'](){const _0x325e7a=_0x3a0f4f;this[_0x325e7a(0x4cb)]!=null&&(clearTimeout(this[_0x325e7a(0x4cb)]),this['_sendHeartbeatTimer']=null);}[_0x3a0f4f(0x2c7)](){const _0x5b6ef0=_0x3a0f4f;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x5b6ef0(0x36e)]),this['_timeoutTimer']=null);}};xe=ro([ye(0x0,_0x4a6309(_0x5b64e2)),ye(0x1,_0x4a6309(_0x440b58)),ye(0x2,_0x138b55),ye(0x3,_0x4c9627),ye(0x4,_0x1526c7),ye(0x5,Gi),ye(0x6,_0x4a6309(_0x559bcb))],xe);const Y=[];function _0x4d89(){const _0x11c7c4=['_onConnectionFailed','LICENSE_DISTRO_REJECTED','_transformPreviousActiveRange','_type','_onCombEvent','popstate','getCurrentSelections','transform','collabStatus.conflict','UniverIcon','_redoStacks','addImageSourceCache','_transformHistoryAndStateStack','red300','setConfig','_render','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getOwnPropertyDescriptor','defineProperty','state','fetch_missing','onCommandExecuted','onPointerLeave$','[PendingState]:\x20received\x20acknowledgement.','/object/','1em','_getScale','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','onReady','_updateStatus','eventID','byteLength','_commandService','OnLineSingle','cursorInfo$','_candidateSocket','encrypt','_unlockTransition','/universer-api/authz','awaitingChangeset','_transformStateCache','saveSnapshot','HEARTBEAT_TIMEOUT','auth.needGotoLoginAlert','onRendered','getActiveSheet','RECV','_state$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','x-univer-host','/resources','every','getCollabCursors$','JOIN_ROOM_FULL','href','whenReady','result','CBC','_nDataBytes','_transformUndoRedoStack','SNAPSHOT_HAS_BEEN_REMOVED','setCurrentUser','OpenSSL','_scheduleSaving','connection\x20error','_registerDependencies','collabSubmitChangesetUrl','_resendTimer','_unitStatus','_docTransformSelectionsService','defaultProps','push','join','/universer-api/file/{fileID}/sign-url','replaceDocRanges','ALREADY_EXISTS','forEach','session.room-cnt-exceeds','_resendWithTimeout','application/json','_drawRectRange','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','onRemoteAck','_getUploadFileURL','_uiPartsService','[SyncedState]:\x20received\x20rejection.','saveImage','refreshPermission','onPointerMove$','_hash','[OfflineState]:\x20received\x20rejection.','_sendingTimer','roomMembers$','_keyPriorReset','?url=','_updateLocalCursor','onTransformSelections','_getAPIPrefixPath','_hover','_snapshotServerService','_entities','formatter','ivSize','_fetchMissChangesets','APPLY_PERMISSION_DENIED','collab-text-anchor-','clipPath','wsSessionTicketUrl','_scheduleCollaborationTimeoutTimer','findNodePositionByCharIndex','authzUrl','LIVESHARE_REQUEST_HOST','_oKey','encode','submit\x20changeset\x20error!','APPLY_DUPLICATED','_getSheetObject','onTransformIME','setActiveRange','resolve','_handler','awaiting','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_initStatusListener','onStarting','UNKNOWN_CODE','lineTo','sheetId','_singleActiveUnitService','reduce','msCrypto','catch','Fragment','column','_handleJoinEvent','setParam','_revisionService','fillStyle','M0\x200H16V16H0z','getMemberID','AES','symbol','split','[DataLoaderController]','_onFetchMissResult','getResourcesRequest','3223228QetTkl','13186904nmjWQx','PSEUDO_FETCH_MISSING_RESULT','\x0aAfter:\x20','use','font','addObject','substr','unitId','COMPLETION_FINISHED','PERSON','/role','setWaitCount','collaboration-session-retry','getAncestorScale','/universer-api/stream/file/upload','_transformStack','disposeWithMe','toRgbString','\x20to\x20','HMAC','transformStack\x20failed!','\x20in\x20_schedule.','AWAITING','GLOBAL_ROOMS_CNT_EXCEEDS','salt','kdf','_docSyncEditingCollabCursorService','enc','sigBytes','snapshot','ONLINE','jsxs','/-/object/-/batch_allowed','_drawTextRange','ranges','parse','jsx','_doReset','LICENSE_MAX_UNITS_EXCEEDED','_eventUnsubscribe','url(#$1','_onOffline','_doProcessBlock','_tryReconnect','Decryptor','_resendTimeout','_onRemoteChangeset','_removeCollabCursors','_onRecvEvent','resize','assignAColorForMemberID','none','/universer-api/user/session-ticket','range','getCellPositionByOffset','clamp','post','randomBytes','_updateSubUnitFromURLParams','colorChannel1','_collabSessionService','getValue','saveChangeset','subunit','_sendHeartbeatTimer','_hovered','_name','sheets','_xformMode','createInstance','hidden','/allowed','getMember','members','APPLY_NON_SEQUENTIAL_REVISION','delete','setTimeout','show','set','InsertRangeMoveRightCommandId','BlockCipher','JOIN','YUUMI_UNABLE_LOAD_URL','mutations','cfg','ReactCurrentOwner','generateRandomId','createDecryptor','isEditing','UPDATE_PERMISSION_OBJ','number','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','_docStateChangeManagerService','with','_colorIndex','fromCollab','1823112xCsuUU','collaboration.single-unit.warning','WordArray','exports','_setupSubUnitSync','subscribe','allowed','_updateURLWithCurrentState','_initResize','crypto','activeSheet$','_mode','_cursorInfo$','objectID','Univer','_incrementRevisionNumber','_disabled','status$','_onCursorUpdate','interceptor','_scheduleClearOtherTimer','padding','COMPRESS_MUTATION_SEND','storage','Error','_listenToOfflineEvent','_retryCount','_docTransformStateCacheService','attrs','unknown','_applyRemoteChangeset','COLLAB_WEB_SOCKET_URL','getRangePointData','[CollaborationSession]','_replaceFileID','collabStatus.syncing','/universer-api/snapshot','_messageService','xlink:href','startTime','_HTTPService','BASE64','#FFF','/new_changes','sessionStatus$','collabStatus.fetchMiss','LIVESHARE_NEW_HOST','transformIMECache','EvpKDF','splice','_lastPointer','infoRsp','#fff','_shapes','getCurrentUser','rev','conflict','c2Prime','RemoveColCommandId','save\x20fail\x20reason\x20is\x20','substring','getCurrentRevOfUnit','makeDirty','__esModule','UUID','path','...','_initRequestHeader','_telemetryInfo','_updateCollabCursors','_init','onMissedChangesetFetched','isPermissionRej','_docClipboardService','_transformUndoredo','_http','string','fillText','_initMergeInterceptor','_ws','_httpService','error$','lib','replaceState','_collaborationController','getUnitOnRev','\x0aCurrent:\x20','toString','restore','src','map','duration','put','round','getLatestCsReqIdBySid','_docSkeleton','getSheetId','online','getUndoRedoMutationParamsCache','_reverseMap','_instanceService','type','_docSkeletonManagerService','People','_rescheduleHeartbeat','jiqing500','url(#on-line-single_clip0_910_349)','for','_clearUndo','getRandomValues','_anchorDot','title','_replayCachedMutations','APPLY_REJECT','repeat','iterations','socket\x20open.','memberID','measureText','searchParams','getDeserializedSheetBlock','fillRule','InsertRowCommandId','_collabCursorController','ref','_heartbeatTimer','_refreshCollabCursors','_urlService','getConfig','_submitChangeset','csShouldRetryEvent','UNIVER_DOC','Base','engine','UNIVER_SHEET','_sender','blue400','_changesetReqId','/universer-api/comb','596081cfZpZB','algo','getMergeData','getOwnPropertySymbols','NOT_COLLAB','UNRECOGNIZED','CONFLICT','compose','_waitForHeartbeatResponse','className','save','row','data','call','_event$','socketService','getSheetBySheetId','collaboration_new_changeset','_configService','_handleEvent','__creator','4466812OZKcLs','toggleOffline','concat','revision','_beforeCloseService','MD5','method','ERROR_EXCEED_SIZE','_assignedColors','NOT_FOUND','location','?size=','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','csAckEvent','collaboratorID','_unitOnClients','Pkcs7','_sheetTransformSelectionsService','_saveCache','_exhaustRemoteChangesetQueue','_ensureSubject','_draw','entries','equals','current','height','_imageSourceCache','onlineStatusTitle','_onRemoteACK','UNDEFINED','stopTime','onRemoteChangeset','YUUMI_SUBSCRIPTION_NOT_FOUND','onRemoteRetry','collaboration.closeRoom','url(#off-line-single_clip0_910_343)','clearInterval','_sheetSkeletonManagerService','find','failed\x20to\x20apply\x20missed\x20changesets!','update','_createHelper','_DEC_XFORM_MODE','_updateState','bottom','collab-client.tooltip.reconnect','abs','_status$','_decreaseWaiting','IDLE','_snapshotService','c1Prime','saveOfflineData','_createInitialState','then','permission.title','deepClone','HmacMD5','_createInitialStateImpl','telemetry\x20info\x20is\x20not\x20initialized','roomInfos','transformByState','_parse','initWorkbookPermissionChange','_hasher','_stopTelemetryCollaborationNewChangeset','_schedule','_createSocket','LIVESHARE_OPERATION','includes','_socketMessageSubscription','_saveTaskMap','onTransformState','_createHandler','cmd','_pendingMutations','some','/universer-api/oidc/authpage','collaborators','YUUMI_URL_COL_OUT_OF_RANGE','blockSize','USERS_ENTER','_roomMembers','sessionStatus','_id','UNAUTHENTICATED','unsubscribe','subject','PERMISSION_REJ','/collaborator','_doFinalize','_substituteUndoStack','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','shouldCloseConn','onPointerEnter$','updateCursorEvent','_initUnitPermissionChange','patch','bind','onlineStatus','decrypt','_hideTimer','registerBeforeClose','gold400','textRanges','finalize','_sessionStatus$','updateCollaborator','Base64','Error\x20on\x20receiving\x20event','_doCryptBlock','_checkMissing','onTransformRemoteChangesetByIMECache','CONNECTOR_DATA_TOO_LARGE','JOINING','flatMap','_telemetryService','_sendHeartbeat','commentUpdate$','_handleLeaveEvent','_awaitingChangeset','toLowerCase','onCommentUpdate','keySize','onRemoteRej','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','objects','univer-offline','collab-text-range-','PERMISSION_DENIED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_send','UnitEmbedded','LICENSE_EXPORT_SIZE_EXCEEDED','StreamCipher','_remoteChangesetQueue','beginPath','_drawAnchor','now','editingUnit','_toggleOffline','getRenderById','pushState','_onUserJoin','_tryEnsureSocket','_getLoginPath','min','image/bmp','_localCacheService','session.join-failed','setShowComponents','_onCursorDelete','editing\x20status\x20changed\x20to','BufferedBlockAlgorithm','_handleHover','triggerDblclick','_iKey','tag','onStateChange','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleHeartbeat','roomMembers','offline','getUnitId','pauseCollaboration','_unitID','_document','_registerRenderDependencies','[SyncedState]:\x20received\x20acknowledgement.','_iv','LIVESHARE_TERMINATE','Encryptor','_isPermissionRej','getCollabEntity','LEAVE','params','Undefined','session.room-permission-denied','_cursors','_loadSheet','session','_socketReady','init','function','_scheduleTimestamp','contains','YUUMI_RATE_OVER_LIMIT','image/jpg','get','_cachedData','_imageIoService','_getCtorByUniverType','permission.content','_getDownloadEndpointURL','_transformService','session.will-retry','_initCloseConn','getRelativeToViewportCoord','fetching\x20missing\x20changesets\x20from\x20','userID','startColumn','_getUndoStack','UNIVER_PROJECT','_commentService','RETRY_CONNECTING_MAX_COUNT','getSheetBlock','_change$','joinEvent','Latin1','univer-pro.collaboration-client.single-active-unit-service','slice','_onRefRangeChange','apply','ERROR_IMAGE','format','addObjects','dispose$','complete','_permissionService','children','onload','onMissingChangesets','_getRedoStack','enableSingleActiveInstanceLock','_setupBeforeClosingHandler','loadOfflineData','unit','[UniverCollaborationClientPlugin]','_members','\x20-\x20','UnitSnapshot','registerRefRange','hasOwnProperty','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','pluginName','send','FileId','_createSocketURL','updatePermissionObjEvent','onMouseMove','getParam','_onMessage','_transformIMECache','liveShareNewHost','UNIVER_SLIDE','_getAnchorBounding','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','create','Could\x20not\x20dynamically\x20require\x20\x22','session.room-full','&source=','removeMember','_initDependencies','USERS_LEAVE','_initCommandExecutedListener','ws://127.0.0.1:8000/universer-api/comb/connect','isArray','_labelPosition','object','_notificationService','JOIN_ROOM_NOT_EXISTS','code','backgroundColor','currentSkeleton$','message$','image/gif','getVpScrollXYInfoByPosToVp','top','list','LICENSE_IMPORT_SIZE_EXCEEDED','liveShareOperation','exhaustSavingTask','collaboration-client.offline-data-not-saved','_localStorageService','requireSession','visibilitychange','next','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','1333794rYipfZ','change$','CHANGESET_ACK','has','dispose','commentUpdateEvent','Malformed\x20UTF-8\x20data','syncEditingCollabCursor','width','executeCommand','_scene','SUCCUSS','arc','_cursorShapes','FETCH_MISSING','_removeClearOtherTimer','LIVESHARE_FETCH_OPERATIONS','Utf8','_acknowledgedAwaitingChangeset','filter','compute','_context','close','OFFLINE','collaboration-client.config','_syncEditingCollabCursorService','_lockTransition','_collabCursorState$','decryptBlock','INVALID_ARGUMENT','_initEventListeners','_transformSelections','ticket','transformMutationsWithChangeset','awaiting_with_pending','_retryConnectingTimer','_onLocalMutation','propertyIsEnumerable','action','state$','Hex','getWorkbookSelections','AWAITING_WITH_PENDING','_onUserLeave','reset','_clearLocalCache','json','session.connection-failed','pad','defIds','RECT','1720742VYUyEc','history','_roomMembers$','getOffsetConfig','charCodeAt','/-/object/list','resend','_append','indexOf','HEARTBEAT_INTERVAL','onlineStatusIcon','enableLocalCache','encodeURIComponent','session.room-not-exists','_commentUpdate$','_textBubble','off-line-single','setAlpha','svg','imageSourceType','redoState','_transformRemoteChangesetByStateCache','_selfUnitIDs','SNAPSHOT_INVALID_SNAPSHOT','createSocket','getUnitType','BlockCipherMode','_getCurrentRevision','_minBufferSize','SNAPSHOT_URL_KEY','pipe','_undoRedoService','_refRangeService','startsWith','MUTATION','getAllMembers','_renderManagerService','POST','max','VIEW_MAIN','registerRenderModule','ACTIVE_UNIT_EVENT_CHANNEL','HttpExport','sheetID','_data','newCsEvent','_anchor','on-line-single','currentTheme$','INTERNAL_ERROR','extend','NO_OTHER_CLIENTS_EDITING','readInt32LE','visibilityState','_clearTimeoutTimer','socket\x20close','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','words','prototype','toggleOnline','getTime','_waitCount','idSuffix','onlyLocal','text','routeKey','ERROR_IMAGE_TYPE','CHANGESET_REJ','_prevBlock','_onRemoteRejected','[FetchMissState]','_logService','onTransformRemoteChangesetByStateCache','react.element','debug','fill','UPDATE_CURSOR','_removeRoom','randomUUID','sin','setShapeProps','EXCHANGE_SIGN_URL_SERVER_URL_KEY','localeService','ciphertext','off-line-single_clip0_910_343','_substituteRedoStack','createEncryptor','_memberService','setUndoRedoMutationParamsCache','loadDoc','mode','univer-pro.collaboration-client-socket-service','_getSessionTicket','SYNCED','from','appendMutation','HELLO','react.fragment','getTypeOfUnitAdded$','_toggleOnline','charAt','_session','event$','updatePermissionPoint','_online','image/jpeg','/object','_onRemoteRetry','setInterval','clearTimeout','isActive','hasher','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','$super','fromCharCode','_showConflictNotification','LOCAL_CACHE_INTERVAL','selection','buffer','getTypeOfUnitDisposed$','SHA1','addEventListener','RemoveRowCommandId','docStateChange$','_invKeySchedule','_clearHeartbeatTimer','div','doc.mutation.rich-text-editing','defs','length','transformMutation','_disableEditing','_nRounds','collabWebSocketUrl','_range','SNAPSHOT_SERVER_URL_KEY','clear','workbook','_socketService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','createCollaborator','signUrlServerUrl','_initStatusComponent','_clearScheduledTask','unitID','disposeUnit','_shouldReportTelemetry','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformSelections','_collaborationTimeoutTimer','getFocusedUnit','displayName','labelPosition','_color','[CollaborationEntity]','[CollaborationSessionService]','_collaborationPaused','_compressMutationService','OTHER_CLIENTS_EDITING','_transitionLocked','_queuedRemoteChangesets','stringify','{fileID}','enableAuthServer','transformUndoRedo','newValue','getUnit','reject','_userManagerService','undoState','_getAPIPrefix','updateMember','Unknown\x20user','collabCursorState$','on-line-single_clip0_910_349','_injector','random','add','_getSaveTimeout','reverse','_univerInstanceService','name','UNKNOWN_CMD','ceil','univer-online-status-icon','downloadEndpointUrl','error','floor','enableOfflineEditing','univer-online-status-title','_loadDoc','open$','onSyncEditingCollabCursor','getActiveRange','batchAllowed','_executeRemoteChangeset','all','Cipher','append','processBlock','[OfflineState]:\x20received\x20acknowledgement.','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','pending','originalMeta','status','file','_throwTelemetryCollaborationNewChangeset','url','SerializableCipher','_colorAssignService','key','UNIVER_UNKNOWN','focused$','_process','_map','_clearOtherTimers','_localeService','_sessions','univerjs-icon\x20univerjs-icon-','APPLY_REVISION_CONFILICT','_transformRemoteChangesetByIMECache','_timeoutTimer','black','_socket','getDocRanges','urlChange$','0\x200\x2016\x2016','sessionTicket','DeleteRangeMoveUpCommandId','_startDocCollabCursor','_joinRoom','_getSendChangesetTimeout','drawWith','getImage','objectActions','COMPRESS_MUTATION_APPLY','JOIN_ROOM_PERMISSION_DENIED','_updateLocalCache','[PendingState]:\x20received\x20rejection.','NoPadding','COLLAB_SUBMIT_CHANGESET_URL','size','getViewport','m1Prime','onSendChangeset','getSkeleton','9zipnpJ','capture','_state','_startCollaboration','fetchThroughInterceptors','m2Prime','/unit/','changesets','getStateCache','getCurrentUnitForType','_cursor','sid','transformStateCache','transformRemoteChangeset','_socket$','_onConnectionOpen','transformChangesets','_entityInit$','TEXT','listCollaborators','PENDING','SUBMIT_CHANGESET','Hasher','FromArray','/block/','INGEST','ENSURE_SNAPSHOT_EXECUTION','_changesetSessionId','headers','_docTransformIMECacheService','joinRsp','synced','/rev/','AUTHZ_URL_KEY','values','_clearRedo','_cipher','default','startRow','readAsDataURL','_collaborationSessionService','icon','session.collaboration-timeout','_themeService','registerHTTPInterceptor','body','_listenToOnlineEvent','MoveRangeCommandId','getRoom','_createHmacHelper','_key','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','CHANGESET_SHOULD_RETRY','/universer-api/snapshot/','SHOULD_CLOSE_CONN','moveTo','&assign=','HmacSHA1','HEARTBEAT','getUnhiddenWorksheets','MSG_FOR_ERROR','subscribeEvent','_syncEditingCollabCursor','_keySchedule','objectType','baseRev','getInterceptPoints','clone','encryptBlock','SEND_CHANGESET_TIMEOUT','5OXtddO','getCollabEntity$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','setItem','_config','addClipboardHook','color','selections','evenodd','univer-online','TOO_MANY_REQUESTS','fetchMiss','disableLocalCache','_clearCollaborationTimeoutTimer','[CollaborationState]:\x20apply\x20error!','cursorInfo','requestParams','univer-online-status','assign','mixIn','_onJoinRoomEvent','actions','_onConflict','FETCH_MISS','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','unshift','asObservable','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','[CollaborationUndoRedoService]','reqId','_ENC_XFORM_MODE','getSnapshotAPIPath','_startTelemetryCollaborationNewChangeset','purple300','translate(.97)','roles','conflict.title','Warning','currentColor','endColumn','closeSession','reconnect','_backgroundColor'];_0x4d89=function(){return _0x11c7c4;};return _0x4d89();}for(let i=0x0;i<0x100;++i)Y[_0x3a0f4f(0x43f)]((i+0x100)['toString'](0x10)['slice'](0x1));function no(_0x22bda5,_0x2fb198=0x0){const _0x48346b=_0x3a0f4f;return(Y[_0x22bda5[_0x2fb198+0x0]]+Y[_0x22bda5[_0x2fb198+0x1]]+Y[_0x22bda5[_0x2fb198+0x2]]+Y[_0x22bda5[_0x2fb198+0x3]]+'-'+Y[_0x22bda5[_0x2fb198+0x4]]+Y[_0x22bda5[_0x2fb198+0x5]]+'-'+Y[_0x22bda5[_0x2fb198+0x6]]+Y[_0x22bda5[_0x2fb198+0x7]]+'-'+Y[_0x22bda5[_0x2fb198+0x8]]+Y[_0x22bda5[_0x2fb198+0x9]]+'-'+Y[_0x22bda5[_0x2fb198+0xa]]+Y[_0x22bda5[_0x2fb198+0xb]]+Y[_0x22bda5[_0x2fb198+0xc]]+Y[_0x22bda5[_0x2fb198+0xd]]+Y[_0x22bda5[_0x2fb198+0xe]]+Y[_0x22bda5[_0x2fb198+0xf]])[_0x48346b(0x1c1)]();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x46e136=_0x3a0f4f;if(!Gt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x46e136(0x3e8));Gt=crypto[_0x46e136(0x558)]['bind'](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto[_0x3a0f4f(0x2df)]&&crypto[_0x3a0f4f(0x2df)][_0x3a0f4f(0x1aa)](crypto),zs={'randomUUID':co};function ho(_0x4f28ca,_0x2a8191,_0x2d0e6b){const _0x1056d1=_0x3a0f4f;if(zs[_0x1056d1(0x2df)]&&!_0x2a8191&&!_0x4f28ca)return zs[_0x1056d1(0x2df)]();_0x4f28ca=_0x4f28ca||{};const _0x51b342=_0x4f28ca[_0x1056d1(0x341)]||(_0x4f28ca['rng']||ao)();return _0x51b342[0x6]=_0x51b342[0x6]&0xf|0x40,_0x51b342[0x8]=_0x51b342[0x8]&0x3f|0x80,no(_0x51b342);}var lo=Object[_0x3a0f4f(0x40a)],_o=Object[_0x3a0f4f(0x409)],uo=(_0x2e4f1f,_0x1b6546,_0x11e678,_0x3ae9b6)=>{const _0x26a966=_0x3a0f4f;for(var _0x4fb12e=_0x3ae9b6>0x1?void 0x0:_0x3ae9b6?_o(_0x1b6546,_0x11e678):_0x1b6546,_0x43b6c1=_0x2e4f1f[_0x26a966(0x312)]-0x1,_0x33dfc2;_0x43b6c1>=0x0;_0x43b6c1--)(_0x33dfc2=_0x2e4f1f[_0x43b6c1])&&(_0x4fb12e=(_0x3ae9b6?_0x33dfc2(_0x1b6546,_0x11e678,_0x4fb12e):_0x33dfc2(_0x4fb12e))||_0x4fb12e);return _0x3ae9b6&&_0x4fb12e&&lo(_0x1b6546,_0x11e678,_0x4fb12e),_0x4fb12e;},Yt=(_0x26ae8f,_0x31d4c9)=>(_0xd70a24,_0x577f8b)=>_0x31d4c9(_0xd70a24,_0x577f8b,_0x26ae8f);let yt=class{constructor(_0x2f1ca3,_0x2fb15d,_0x3f1650){const _0x28aa4e=_0x3a0f4f;this['_injector']=_0x2f1ca3,this[_0x28aa4e(0x20a)]=_0x2fb15d,this[_0x28aa4e(0x2b5)]=_0x3f1650;}[_0x3a0f4f(0x51a)](_0x3e5fb1){const _0x5abd67=_0x3a0f4f;this['_transformUndoRedoStack'](_0x3e5fb1),this[_0x5abd67(0x3fa)](_0x3e5fb1);}[_0x3a0f4f(0x394)](_0xbbb9f5){const _0x390d5c=_0x3a0f4f,{unitID:_0x5c8c7c}=_0xbbb9f5,_0x152b1d=this[_0x390d5c(0x2b5)][_0x390d5c(0x1d5)](_0x5c8c7c)[_0x390d5c(0x4e8)](_0x290ae9),{redoCache:_0x2381ba}=_0x152b1d[_0x390d5c(0x54d)]();if(_0x2381ba[_0x390d5c(0x312)]===0x0)return _0xbbb9f5;let _0x191d95=_0x1fb819[_0x390d5c(0x180)](_0xbbb9f5[_0x390d5c(0x4de)][0x0]);for(let _0x5aa64e=0x0;_0x5aa64e<_0x2381ba[_0x390d5c(0x312)];_0x5aa64e++){const _0x5ddd23={'id':_0x390d5c(0x310),'params':{..._0x2381ba[_0x5aa64e]}},_0x2c5e6a=this[_0x390d5c(0x20a)][_0x390d5c(0x313)](_0x191d95,_0x5ddd23,!0x1);if(_0x2a1d0d(_0x2c5e6a))throw _0x2c5e6a[_0x390d5c(0x34b)];_0x191d95=_0x2c5e6a[_0x390d5c(0x384)];}return{..._0x1fb819[_0x390d5c(0x180)](_0xbbb9f5),'mutations':[_0x191d95]};}[_0x3a0f4f(0x433)](_0x27794b){const _0x1cc1cc=_0x3a0f4f,{unitID:_0x30409d}=_0x27794b,_0x125e5e=this['_renderManagerService'][_0x1cc1cc(0x1d5)](_0x30409d)[_0x1cc1cc(0x4e8)](_0x290ae9),{undoCache:_0x6b38be,redoCache:_0x2be4d9}=_0x125e5e['getUndoRedoMutationParamsCache']();if(_0x6b38be['length']===0x0||_0x2be4d9[_0x1cc1cc(0x312)]===0x0)return;const _0x39bf61=[],_0x212f2f=[];let _0x73d7fc=_0x1fb819[_0x1cc1cc(0x180)](_0x27794b['mutations'][0x0]),_0x426393=_0x1fb819[_0x1cc1cc(0x180)](_0x27794b[_0x1cc1cc(0x4de)][0x0]);for(let _0x566be5=_0x6b38be[_0x1cc1cc(0x312)]-0x1;_0x566be5>=0x0;_0x566be5--){const _0x545d02={'id':_0x1cc1cc(0x310),'params':{..._0x6b38be[_0x566be5]}},_0x324056={'id':_0x1cc1cc(0x310),'params':{..._0x2be4d9[_0x566be5]}},_0x310dc7=this[_0x1cc1cc(0x20a)][_0x1cc1cc(0x313)](_0x73d7fc,_0x545d02,!0x1),_0xffa9f9=this[_0x1cc1cc(0x20a)][_0x1cc1cc(0x313)](_0x426393,_0x324056,!0x1);if(_0x2a1d0d(_0x310dc7))throw _0x310dc7[_0x1cc1cc(0x34b)];if(_0x2a1d0d(_0xffa9f9))throw _0xffa9f9[_0x1cc1cc(0x34b)];_0x39bf61[_0x1cc1cc(0x3e6)](_0x310dc7[_0x1cc1cc(0x38c)][_0x1cc1cc(0x1f7)]),_0x212f2f[_0x1cc1cc(0x3e6)](_0xffa9f9[_0x1cc1cc(0x38c)][_0x1cc1cc(0x1f7)]),_0x73d7fc=_0x310dc7[_0x1cc1cc(0x384)],_0x426393=_0xffa9f9[_0x1cc1cc(0x384)];}_0x125e5e[_0x1cc1cc(0x2e9)]({'undoCache':_0x39bf61,'redoCache':_0x212f2f});}[_0x3a0f4f(0x3fa)](_0x166569){const _0x4bd729=_0x3a0f4f,{unitID:_0x11b737}=_0x166569,_0x25c1aa=this[_0x4bd729(0x2b5)][_0x4bd729(0x1d5)](_0x11b737)['with'](_0x290ae9),_0x409f24=_0x25c1aa[_0x4bd729(0x352)]();if(_0x409f24==null)return;const _0x26c4dc=[{'id':_0x4bd729(0x310),'params':{'unitId':_0x166569[_0x4bd729(0x321)],'actions':null,'textRanges':[_0x409f24]}}],_0x3989b1=this[_0x4bd729(0x20a)][_0x4bd729(0x27f)](_0x166569,_0x26c4dc);if(!_0x2f8575(_0x3989b1))throw _0x3989b1[_0x4bd729(0x34b)];const _0x2f09ee=_0x3989b1[_0x4bd729(0x38c)][0x0][_0x4bd729(0x1f7)][_0x4bd729(0x1b0)];Array[_0x4bd729(0x248)](_0x2f09ee)&&_0x2f09ee[_0x4bd729(0x312)]&&_0x25c1aa[_0x4bd729(0x46e)](_0x2f09ee[0x0]);}};yt=uo([Yt(0x0,_0x4a6309(_0x5b64e2)),Yt(0x1,_0x4a14e2),Yt(0x2,_0xc1cbdc)],yt);var fo=Object[_0x3a0f4f(0x40a)],vo=Object['getOwnPropertyDescriptor'],po=(_0x633c9,_0x5ef559,_0x2221cb,_0x2e58a4)=>{for(var _0xe9c8d3=_0x2e58a4>0x1?void 0x0:_0x2e58a4?vo(_0x5ef559,_0x2221cb):_0x5ef559,_0x38218c=_0x633c9['length']-0x1,_0x4cdfec;_0x38218c>=0x0;_0x38218c--)(_0x4cdfec=_0x633c9[_0x38218c])&&(_0xe9c8d3=(_0x2e58a4?_0x4cdfec(_0x5ef559,_0x2221cb,_0xe9c8d3):_0x4cdfec(_0xe9c8d3))||_0xe9c8d3);return _0x2e58a4&&_0xe9c8d3&&fo(_0x5ef559,_0x2221cb,_0xe9c8d3),_0xe9c8d3;},Xe=(_0x1b85a9,_0x4cf0fa)=>(_0x7bb0be,_0x14b6a1)=>_0x4cf0fa(_0x7bb0be,_0x14b6a1,_0x1b85a9);function _0x328b(_0x10193f,_0x575673){const _0x4d8934=_0x4d89();return _0x328b=function(_0x328b71,_0x292d38){_0x328b71=_0x328b71-0x11b;let _0x1e62d0=_0x4d8934[_0x328b71];return _0x1e62d0;},_0x328b(_0x10193f,_0x575673);}let z=class extends _0x27d038{constructor(_0x96686e,_0x4b3a71,_0x298be1,_0x47b04f,_0x43e3d6){const _0x210a66=_0x3a0f4f;super(),g(this,_0x210a66(0x205),new Map()),g(this,_0x210a66(0x18f),new Map()),g(this,_0x210a66(0x4fb),!0x1),(this['_configService']=_0x96686e,this[_0x210a66(0x259)]=_0x4b3a71,this[_0x210a66(0x14c)]=_0x298be1,this[_0x210a66(0x369)]=_0x47b04f,this[_0x210a66(0x480)]=_0x43e3d6,this[_0x210a66(0x228)]());}[_0x3a0f4f(0x3d9)](){const _0xa7ec2d=_0x3a0f4f;this[_0xa7ec2d(0x4fb)]=!0x0;}[_0x3a0f4f(0x29c)](){const _0x19a0f1=_0x3a0f4f;this[_0x19a0f1(0x4fb)]=!0x1;}[_0x3a0f4f(0x262)](){const _0x250309=_0x3a0f4f;this['exhaustSavingTask']()[_0x250309(0x17e)](()=>super[_0x250309(0x262)]());}async['loadOfflineData'](_0x19eda4){const _0x5b5467=_0x3a0f4f;return this[_0x5b5467(0x4fb)]?null:this[_0x5b5467(0x259)]['getItem'](Xs(_0x19eda4));}async[_0x3a0f4f(0x17c)](_0x52e4f7,_0xc22a45){const _0x212c38=_0x3a0f4f;return!!this[_0x212c38(0x259)][_0x212c38(0x3d0)](_0x52e4f7,_0xc22a45);}['updateOfflineData'](_0x3672d3,_0x170659,_0xf73dd7,_0x32e232){const _0x4daffe=_0x3a0f4f,_0x4aa14c=this[_0x4daffe(0x480)][_0x4daffe(0x528)](_0x3672d3);this[_0x4daffe(0x205)]['set'](_0x3672d3,{'unitID':_0x3672d3,'type':_0x170659,'awaitingChangeset':_0xf73dd7,'mutations':_0x32e232,'rev':_0x4aa14c}),this[_0x4daffe(0x18f)][_0x4daffe(0x261)](_0x3672d3)||this['_scheduleSaving'](_0x3672d3);}[_0x3a0f4f(0x437)](_0x17a699){const _0x5bebb2=_0x3a0f4f,_0x486454=this[_0x5bebb2(0x343)]();_0x486454===0x0?this['_saveCache'](_0x17a699):this[_0x5bebb2(0x18f)][_0x5bebb2(0x4d9)](_0x17a699,setTimeout(()=>this['_saveCache'](_0x17a699),_0x486454));}[_0x3a0f4f(0x343)](){const _0x31427c=_0x3a0f4f;var _0x3bcac2;return(_0x3bcac2=this[_0x31427c(0x145)][_0x31427c(0x128)](Mn))!=null?_0x3bcac2:xn;}[_0x3a0f4f(0x15a)](_0x9dc0cb){const _0x357a3d=_0x3a0f4f,_0x46b3b4=this['_saveTaskMap']['get'](_0x9dc0cb);return _0x46b3b4!==void 0x0&&window['clearTimeout'](_0x46b3b4),this[_0x357a3d(0x259)][_0x357a3d(0x3d0)](Xs(_0x9dc0cb),this[_0x357a3d(0x205)]['get'](_0x9dc0cb))[_0x357a3d(0x17e)](()=>this[_0x357a3d(0x18f)][_0x357a3d(0x4d6)](_0x9dc0cb));}async[_0x3a0f4f(0x257)](){const _0x404b2a=_0x3a0f4f,_0x1b4a4f=[];this[_0x404b2a(0x18f)][_0x404b2a(0x444)]((_0x28a21d,_0x3ade72)=>{const _0x3a1644=_0x404b2a;window[_0x3a1644(0x2fe)](_0x28a21d),_0x1b4a4f[_0x3a1644(0x43f)](this[_0x3a1644(0x15a)](_0x3ade72)[_0x3a1644(0x17e)](()=>{const _0x10ffda=_0x3a1644;this[_0x10ffda(0x18f)][_0x10ffda(0x4d6)](_0x3ade72);}));}),await Promise[_0x404b2a(0x355)](_0x1b4a4f);}[_0x3a0f4f(0x228)](){const _0x23371e=_0x3a0f4f;this[_0x23371e(0x49b)](this[_0x23371e(0x14c)][_0x23371e(0x1ae)](()=>{const _0x135ea2=_0x23371e;if(this[_0x135ea2(0x18f)]['size'])return this[_0x135ea2(0x369)]['t'](_0x135ea2(0x258));}));}};z=po([Xe(0x0,_0x1526c7),Xe(0x1,_0x2053a5),Xe(0x2,_0x26c3bd),Xe(0x3,_0x4a6309(_0x440b58)),Xe(0x4,_0x4a6309(_0xf29fa))],z);function Xs(_0x37e57b){return'unit-cache-'+_0x37e57b;}var mo=Object[_0x3a0f4f(0x40a)],go=Object[_0x3a0f4f(0x409)],So=(_0x3055c6,_0x3cbc96,_0xb3d675,_0x57625e)=>{for(var _0x4c02df=_0x57625e>0x1?void 0x0:_0x57625e?go(_0x3cbc96,_0xb3d675):_0x3cbc96,_0x4414a2=_0x3055c6['length']-0x1,_0x394bc2;_0x4414a2>=0x0;_0x4414a2--)(_0x394bc2=_0x3055c6[_0x4414a2])&&(_0x4c02df=(_0x57625e?_0x394bc2(_0x3cbc96,_0xb3d675,_0x4c02df):_0x394bc2(_0x4c02df))||_0x4c02df);return _0x57625e&&_0x4c02df&&mo(_0x3cbc96,_0xb3d675,_0x4c02df),_0x4c02df;},Kt=(_0x59af5f,_0x5dda44)=>(_0xed0959,_0x4008e2)=>_0x5dda44(_0xed0959,_0x4008e2,_0x59af5f);function Io(_0x11fcc6){const _0x24531d=_0x3a0f4f,{unitID:_0x46cc9b,mutations:_0x2f4108}=_0x11fcc6;return{'unitId':_0x46cc9b,'subUnitId':_0x2f4108[0x0][_0x24531d(0x1f7)]['subUnitId']};}let wt=class{constructor(_0x4498de,_0x4ebcd7,_0x54609b){const _0x56b52f=_0x3a0f4f;this['_injector']=_0x4498de,this[_0x56b52f(0x20a)]=_0x4ebcd7,this[_0x56b52f(0x54f)]=_0x54609b;}[_0x3a0f4f(0x325)](_0x3487d7){const _0x437982=_0x3a0f4f;var _0x3d5149,_0x4c0214,_0x358d37,_0x2f3658;const _0x398cf9=this[_0x437982(0x340)][_0x437982(0x204)](_0x4552e3),{unitId:_0x99953f,subUnitId:_0x41f0da}=Io(_0x3487d7),_0x14aba2=_0x398cf9[_0x437982(0x287)](_0x99953f)[_0x437982(0x3fe)](),_0xa1f2ff=(_0x4c0214=(_0x3d5149=this[_0x437982(0x54f)][_0x437982(0x337)](_0x99953f))==null?void 0x0:_0x3d5149[_0x437982(0x425)]())==null?void 0x0:_0x4c0214[_0x437982(0x54b)]();if(_0x14aba2[_0x437982(0x312)]===0x0||!_0x99953f||!_0x41f0da)return;const _0x54f375=[{'id':_0x7f4e83['id'],'params':{'unitId':_0x99953f,'subUnitId':_0xa1f2ff,'selections':_0x1fb819['deepClone'](_0x14aba2)}}],_0xeb03bf=this[_0x437982(0x20a)][_0x437982(0x27f)](_0x3487d7,_0x54f375);if(!_0x2f8575(_0xeb03bf))throw _0xeb03bf['error'];const _0x3e5f10=(_0x2f3658=(_0x358d37=_0xeb03bf[_0x437982(0x38c)][0x0])==null?void 0x0:_0x358d37[_0x437982(0x1f7)])==null?void 0x0:_0x2f3658[_0x437982(0x3d4)];if(Array[_0x437982(0x248)](_0x3e5f10)&&_0x3e5f10[_0x437982(0x312)]){if(_0x3e5f10[_0x437982(0x312)]===_0x54f375[0x0][_0x437982(0x1f7)][_0x437982(0x3d4)][_0x437982(0x312)]&&_0x3e5f10[_0x437982(0x42b)]((_0x1358a6,_0x3e7b10)=>_0x1c27f3[_0x437982(0x15f)](_0x1358a6[_0x437982(0x4c0)],_0x54f375[0x0][_0x437982(0x1f7)][_0x437982(0x3d4)][_0x3e7b10][_0x437982(0x4c0)])))return;this['_injector'][_0x437982(0x204)](_0x21538e)['executeCommand'](_0x7f4e83['id'],{'unitId':_0x99953f,'subUnitId':_0xa1f2ff,'selections':_0x3e5f10});}}};wt=So([Kt(0x0,_0x4a6309(_0x5b64e2)),Kt(0x1,_0x4a14e2),Kt(0x2,_0x3dee00)],wt);const jt=_0x52afeb(_0x3a0f4f(0x219));var Ki=(_0x23b4a3=>(_0x23b4a3[_0x23b4a3[_0x3a0f4f(0x2c4)]=0x0]=_0x3a0f4f(0x2c4),_0x23b4a3[_0x23b4a3[_0x3a0f4f(0x32f)]=0x1]=_0x3a0f4f(0x32f),_0x23b4a3))(Ki||{});const Js=0x7530,Zs=_0x3a0f4f(0x2ba);class Co extends _0x27d038{constructor(){const _0xd1f17=_0x3a0f4f;super(),g(this,_0xd1f17(0x19c),_0x1fb819[_0xd1f17(0x4e1)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0xd1f17(0x157),new Map()),g(this,'_heartbeatTimer',null),g(this,_0xd1f17(0x368),new Map()),g(this,_0xd1f17(0x43c),new Map()),this[_0xd1f17(0x531)]();}[_0x3a0f4f(0x262)](){const _0x571f56=_0x3a0f4f;super[_0x571f56(0x262)](),this[_0x571f56(0x368)][_0x571f56(0x444)]((_0x4ab0e1,_0x4f80c0)=>this[_0x571f56(0x26d)](_0x4f80c0)),this[_0x571f56(0x125)]&&window[_0x571f56(0x16c)](this[_0x571f56(0x125)]);}['getUnitStatus$'](_0x3a3a75){const _0x4d7ab7=_0x3a0f4f;return this[_0x4d7ab7(0x15c)](_0x3a3a75)['pipe'](_0x6e44bb());}[_0x3a0f4f(0x1d3)](_0x41470e){const _0x43e4f2=_0x3a0f4f;this[_0x43e4f2(0x2a7)][_0x43e4f2(0x382)]===0x0&&this['_scheduleHeartbeat'](),this[_0x43e4f2(0x2a7)][_0x43e4f2(0x342)](_0x41470e),this[_0x43e4f2(0x1cb)]({'type':0x0,'memberID':this[_0x43e4f2(0x19c)],'unitIDs':[_0x41470e],'isForwarded':!0x1});}[_0x3a0f4f(0x322)](_0x2cb1ee){const _0x359287=_0x3a0f4f;this[_0x359287(0x2a7)][_0x359287(0x4d6)](_0x2cb1ee),this[_0x359287(0x2a7)][_0x359287(0x382)]===0x0&&this[_0x359287(0x125)]&&window[_0x359287(0x16c)](this[_0x359287(0x125)]);}['_init'](){const _0x4252fa=_0x3a0f4f;this['disposeWithMe'](_0x2ecc04(_0x14b582(window,_0x4252fa(0x502))[_0x4252fa(0x4f0)](_0x498032=>{const _0x3834eb=_0x4252fa;if(_0x498032['key']!==Zs||!_0x498032[_0x3834eb(0x336)])return;const _0x19d1c3=JSON[_0x3834eb(0x4ae)](_0x498032[_0x3834eb(0x336)]);this[_0x3834eb(0x146)](_0x19d1c3);}))),window[_0x4252fa(0x30a)]('unload',()=>this[_0x4252fa(0x1cb)]({'type':0x1,'memberID':this[_0x4252fa(0x19c)],'unitIDs':Array[_0x4252fa(0x2ef)](this[_0x4252fa(0x2a7)])}));}['_handleEvent'](_0x383412){const _0x56fea6=_0x3a0f4f;switch(_0x383412[_0x56fea6(0x550)]){case 0x0:this[_0x56fea6(0x47e)](_0x383412);break;case 0x1:this[_0x56fea6(0x1bf)](_0x383412);break;case 0x2:this['_handleHeartbeatEvent'](_0x383412);break;}}[_0x3a0f4f(0x47e)](_0x4bf5d5){const _0x3cc32a=_0x3a0f4f,{unitIDs:_0xae746a,memberID:_0x49f376,isForwarded:_0x28c235}=_0x4bf5d5;_0xae746a[_0x3cc32a(0x444)](_0x5eec87=>{const _0x550f20=_0x3cc32a;if(!_0x28c235&&this['_unitOnClients'][_0x550f20(0x261)](_0x5eec87)&&this[_0x550f20(0x15c)](_0x5eec87)[_0x550f20(0x25c)](0x1),!this['_unitOnClients'][_0x550f20(0x261)](_0x5eec87)||!this[_0x550f20(0x157)][_0x550f20(0x204)](_0x5eec87)[_0x550f20(0x261)](_0x49f376)){const _0x208f7c=this[_0x550f20(0x157)]['get'](_0x5eec87)||new Set();_0x208f7c['add'](_0x49f376),this[_0x550f20(0x157)]['set'](_0x5eec87,_0x208f7c),this[_0x550f20(0x4ff)](_0x49f376);}}),_0x28c235||this[_0x3cc32a(0x1cb)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3cc32a(0x2a7)]],'isForwarded':!0x0});}[_0x3a0f4f(0x4ff)](_0x27f832){const _0x265126=_0x3a0f4f;this['_removeClearOtherTimer'](_0x27f832);const _0x48329e=window[_0x265126(0x4d7)](()=>{const _0x1c9ea0=_0x265126;this[_0x1c9ea0(0x157)]['forEach'](_0x80ba56=>{const _0x2b6e17=_0x1c9ea0;_0x80ba56[_0x2b6e17(0x4d6)](_0x27f832);});},Js*0x2);this[_0x265126(0x368)][_0x265126(0x4d9)](_0x27f832,_0x48329e);}[_0x3a0f4f(0x26d)](_0x2af9b5){const _0x54ea9e=_0x3a0f4f;if(this[_0x54ea9e(0x368)]['has'](_0x2af9b5)){const _0x3808e4=this['_clearOtherTimers'][_0x54ea9e(0x204)](_0x2af9b5);_0x3808e4&&window['clearTimeout'](_0x3808e4),this[_0x54ea9e(0x368)]['set'](_0x2af9b5,null);}}[_0x3a0f4f(0x1bf)](_0x49d473){const _0x5252e7=_0x3a0f4f,{memberID:_0x3e87bd,unitIDs:_0x5cb47d}=_0x49d473;_0x5cb47d['forEach'](_0x3e21d5=>{const _0x398e7b=_0x328b;var _0x4d74db;const _0x56cf94=this['_unitOnClients'][_0x398e7b(0x204)](_0x3e21d5);_0x56cf94&&(_0x56cf94[_0x398e7b(0x4d6)](_0x3e87bd),(_0x4d74db=this[_0x398e7b(0x15c)](_0x3e21d5))==null||_0x4d74db[_0x398e7b(0x25c)](_0x56cf94[_0x398e7b(0x382)]===0x0?0x0:0x1));}),this[_0x5252e7(0x26d)](_0x3e87bd);}['_handleHeartbeatEvent'](_0x54280f){const _0x52aa68=_0x3a0f4f;this[_0x52aa68(0x4ff)](_0x54280f['memberID']);}['_send'](_0x4bc3f8){const _0x3a8072=_0x3a0f4f;localStorage['setItem'](Zs,JSON[_0x3a8072(0x332)](_0x4bc3f8));}[_0x3a0f4f(0x1e8)](){const _0x3847fa=_0x3a0f4f;this['_heartbeatTimer']=window[_0x3847fa(0x2fd)](()=>{const _0x4c99f7=_0x3847fa;this[_0x4c99f7(0x1cb)]({'type':0x2,'memberID':this[_0x4c99f7(0x19c)]});},Js);}[_0x3a0f4f(0x15c)](_0x338bda){const _0x233ca9=_0x3a0f4f;return this[_0x233ca9(0x43c)][_0x233ca9(0x261)](_0x338bda)||this[_0x233ca9(0x43c)][_0x233ca9(0x4d9)](_0x338bda,new _0x1f5fb9(0x0)),this[_0x233ca9(0x43c)][_0x233ca9(0x204)](_0x338bda);}}var Eo=Object[_0x3a0f4f(0x40a)],bo=Object[_0x3a0f4f(0x409)],To=(_0x257fac,_0xbf969c,_0x49e2bd,_0x5975c9)=>{const _0x2155e3=_0x3a0f4f;for(var _0x242bf3=_0x5975c9>0x1?void 0x0:_0x5975c9?bo(_0xbf969c,_0x49e2bd):_0xbf969c,_0x3da5c4=_0x257fac[_0x2155e3(0x312)]-0x1,_0x20f685;_0x3da5c4>=0x0;_0x3da5c4--)(_0x20f685=_0x257fac[_0x3da5c4])&&(_0x242bf3=(_0x5975c9?_0x20f685(_0xbf969c,_0x49e2bd,_0x242bf3):_0x20f685(_0x242bf3))||_0x242bf3);return _0x5975c9&&_0x242bf3&&Eo(_0xbf969c,_0x49e2bd,_0x242bf3),_0x242bf3;},qt=(_0x51abb0,_0x3116e3)=>(_0x533c8e,_0x4d15c4)=>_0x3116e3(_0x533c8e,_0x4d15c4,_0x51abb0);let Dt=class{constructor(_0x2ec9fd,_0x1f4972,_0x4da505){const _0x7dbd79=_0x3a0f4f;this['_injector']=_0x2ec9fd,this['_transformService']=_0x1f4972,this[_0x7dbd79(0x4e7)]=_0x4da505;}[_0x3a0f4f(0x393)](_0xfde4a2){const _0x490000=_0x3a0f4f;this[_0x490000(0x404)](_0xfde4a2);}[_0x3a0f4f(0x394)](_0x4d461c){const _0xd04e8b=_0x3a0f4f,{unitID:_0x1a7e27}=_0x4d461c,{collaboration:_0x27b554}=this[_0xd04e8b(0x4e7)][_0xd04e8b(0x38f)](_0x1a7e27);if(_0x27b554[_0xd04e8b(0x312)]===0x0)return _0x4d461c;let _0x307454=_0x1fb819[_0xd04e8b(0x180)](_0x4d461c[_0xd04e8b(0x4de)][0x0]);for(let _0x1b5e41=0x0;_0x1b5e41<_0x27b554['length'];_0x1b5e41++){const _0x50c685={'id':_0xd04e8b(0x310),'params':{'unitId':_0x27b554[_0x1b5e41][_0xd04e8b(0x492)],..._0x27b554[_0x1b5e41][_0xd04e8b(0x2a5)]}},_0x4845be=this['_transformService']['transformMutation'](_0x307454,_0x50c685,!0x1);if(_0x2a1d0d(_0x4845be))throw _0x4845be[_0xd04e8b(0x34b)];_0x307454=_0x4845be[_0xd04e8b(0x384)];}return{..._0x1fb819[_0xd04e8b(0x180)](_0x4d461c),'mutations':[_0x307454]};}[_0x3a0f4f(0x404)](_0x2dbfbc){const _0x574899=_0x3a0f4f,{unitID:_0x5ea967}=_0x2dbfbc,{history:_0x4de58c,collaboration:_0x1cd7f7}=this['_docStateChangeManagerService']['getStateCache'](_0x5ea967);if(_0x4de58c[_0x574899(0x312)]===0x0&&_0x1cd7f7[_0x574899(0x312)]===0x0)return;const _0x3352e6=[],_0x4fbc59=[];let _0x65382=_0x1fb819['deepClone'](_0x2dbfbc['mutations'][0x0]),_0x580cc7=_0x1fb819[_0x574899(0x180)](_0x2dbfbc[_0x574899(0x4de)][0x0]);for(let _0x58f33e=_0x4de58c[_0x574899(0x312)]-0x1;_0x58f33e>=0x0;_0x58f33e--){const _0x31fca0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4de58c[_0x58f33e][_0x574899(0x492)],..._0x4de58c[_0x58f33e]['undoState']}},_0x509010={'id':_0x574899(0x310),'params':{'unitId':_0x4de58c[_0x58f33e][_0x574899(0x492)],..._0x4de58c[_0x58f33e]['redoState']}},_0x386bdc=this[_0x574899(0x20a)][_0x574899(0x313)](_0x65382,_0x31fca0,!0x1),_0x7f5454=this[_0x574899(0x20a)][_0x574899(0x313)](_0x580cc7,_0x509010,!0x1);if(_0x2a1d0d(_0x386bdc))throw _0x386bdc[_0x574899(0x34b)];if(_0x2a1d0d(_0x7f5454))throw _0x7f5454[_0x574899(0x34b)];_0x3352e6[_0x574899(0x3e6)]({..._0x4de58c[_0x58f33e],'undoState':_0x386bdc[_0x574899(0x38c)][_0x574899(0x1f7)],'redoState':_0x7f5454[_0x574899(0x38c)][_0x574899(0x1f7)]}),_0x65382=_0x386bdc[_0x574899(0x384)],_0x580cc7=_0x7f5454[_0x574899(0x384)];}_0x65382=_0x1fb819[_0x574899(0x180)](_0x2dbfbc[_0x574899(0x4de)][0x0]),_0x580cc7=_0x1fb819[_0x574899(0x180)](_0x2dbfbc[_0x574899(0x4de)][0x0]);for(let _0x579388=_0x1cd7f7[_0x574899(0x312)]-0x1;_0x579388>=0x0;_0x579388--){const _0x54cbea={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cd7f7[_0x579388][_0x574899(0x492)],..._0x1cd7f7[_0x579388][_0x574899(0x33a)]}},_0x109790={'id':_0x574899(0x310),'params':{'unitId':_0x1cd7f7[_0x579388][_0x574899(0x492)],..._0x1cd7f7[_0x579388][_0x574899(0x2a5)]}},_0x4598b5=this[_0x574899(0x20a)][_0x574899(0x313)](_0x65382,_0x54cbea,!0x1),_0x2ad851=this[_0x574899(0x20a)]['transformMutation'](_0x580cc7,_0x109790,!0x1);if(_0x2a1d0d(_0x4598b5))throw _0x4598b5['error'];if(_0x2a1d0d(_0x2ad851))throw _0x2ad851[_0x574899(0x34b)];_0x4fbc59['unshift']({..._0x1cd7f7[_0x579388],'undoState':_0x4598b5['m2Prime'][_0x574899(0x1f7)],'redoState':_0x2ad851[_0x574899(0x38c)][_0x574899(0x1f7)]}),_0x65382=_0x4598b5[_0x574899(0x384)],_0x580cc7=_0x2ad851[_0x574899(0x384)];}this[_0x574899(0x4e7)]['setStateCache'](_0x5ea967,{'history':_0x3352e6,'collaboration':_0x4fbc59});}};Dt=To([qt(0x0,_0x4a6309(_0x5b64e2)),qt(0x1,_0x4a14e2),qt(0x2,_0x4a6309(_0x35bc43))],Dt);function qi(_0x5f595f){let _0x2d4b41='';for(const _0x31dd4c of _0x5f595f){const {startOffset:_0x5ac136,endOffset:_0x4a07f9,isActive:_0x4d3db9,rangeType:_0x30c79d,segmentId:_0x4c0eac,segmentPage:_0x228414}=_0x31dd4c;_0x2d4b41['length']&&(_0x2d4b41+=','),_0x2d4b41+=_0x5ac136+':'+_0x4a07f9+':'+(_0x4d3db9?'1':'0')+':'+_0x30c79d+':'+_0x4c0eac+':'+_0x228414;}return _0x2d4b41;}function Ro(_0x1bd1f1){const _0x3019b8=_0x3a0f4f,_0x1d8411=_0x1bd1f1['split'](','),_0x372237=[];for(const _0x55f107 of _0x1d8411){const [_0x57ea54,_0x25cab4,_0x59a525,_0x4c1781,_0x201603,_0x4a4a72]=_0x55f107[_0x3019b8(0x486)](':');_0x372237[_0x3019b8(0x43f)]({'startOffset':Number(_0x57ea54),'endOffset':Number(_0x25cab4),'collapsed':_0x57ea54===_0x25cab4,'isActive':_0x59a525==='1','rangeType':_0x4c1781===_0x55dcfe['TEXT']?_0x55dcfe[_0x3019b8(0x399)]:_0x55dcfe[_0x3019b8(0x290)],'segmentId':typeof _0x201603=='string'?String(_0x201603):'','segmentPage':Number(_0x4a4a72!=null?_0x4a4a72:-0x1)});}return _0x372237[_0x3019b8(0x194)](_0x4ed77f=>_0x4ed77f[_0x3019b8(0x2ff)])||(_0x372237[0x0][_0x3019b8(0x2ff)]=!0x0),_0x372237;}class Ds extends _0x5a2d55{constructor(){const _0x30f933=_0x3a0f4f;super(...arguments),g(this,_0x30f933(0x279),new _0x1f5fb9(null)),g(this,'collabCursorState$',this[_0x30f933(0x279)]['asObservable']());}[_0x3a0f4f(0x265)](_0x4e0979){const _0x143faf=_0x3a0f4f,{unitID:_0x51ba84,memberID:_0x555abf,textRanges:_0x373e45}=_0x4e0979,_0x183cac=qi(_0x373e45);if(_0x183cac==='')return;const _0x52d025={'unitID':_0x51ba84,'memberID':_0x555abf,'selection':_0x183cac};this['_collabCursorState$'][_0x143faf(0x25c)](_0x52d025);}}var Oo=Object[_0x3a0f4f(0x40a)],yo=Object[_0x3a0f4f(0x409)],wo=(_0xb5522a,_0x44cfe7,_0xa85f9f,_0xcdeb7)=>{const _0x228675=_0x3a0f4f;for(var _0x46a05b=_0xcdeb7>0x1?void 0x0:_0xcdeb7?yo(_0x44cfe7,_0xa85f9f):_0x44cfe7,_0x4d6727=_0xb5522a[_0x228675(0x312)]-0x1,_0x429318;_0x4d6727>=0x0;_0x4d6727--)(_0x429318=_0xb5522a[_0x4d6727])&&(_0x46a05b=(_0xcdeb7?_0x429318(_0x44cfe7,_0xa85f9f,_0x46a05b):_0x429318(_0x46a05b))||_0x46a05b);return _0xcdeb7&&_0x46a05b&&Oo(_0x44cfe7,_0xa85f9f,_0x46a05b),_0x46a05b;},Qs=(_0x3839a8,_0x277c89)=>(_0x3bc8f7,_0x142ee0)=>_0x277c89(_0x3bc8f7,_0x142ee0,_0x3839a8);let Pt=class{constructor(_0x41b329,_0x4e633a){const _0xf89589=_0x3a0f4f;this[_0xf89589(0x340)]=_0x41b329,this[_0xf89589(0x20a)]=_0x4e633a;}[_0x3a0f4f(0x325)](_0x4e1a24){const _0x153828=_0x3a0f4f;var _0x3c26d9;const _0x1299dc=this[_0x153828(0x340)]['get'](_0x2fa7fd),_0x4916e2=(_0x3c26d9=_0x1299dc[_0x153828(0x371)]())!=null?_0x3c26d9:[];if(_0x4916e2[_0x153828(0x312)]===0x0)return;const _0x44738c=_0x4e1a24[_0x153828(0x321)],_0x2ef592=[{'id':_0x153828(0x310),'params':{'unitId':_0x44738c,'actions':null,'textRanges':_0x4916e2}}],_0x35953d=this['_transformService']['transformMutationsWithChangeset'](_0x4e1a24,_0x2ef592);if(!_0x2f8575(_0x35953d))throw _0x35953d[_0x153828(0x34b)];const _0x1b3b6a=_0x35953d[_0x153828(0x38c)][0x0][_0x153828(0x1f7)]['textRanges'];Array['isArray'](_0x1b3b6a)&&_0x1b3b6a[_0x153828(0x312)]&&_0x1299dc[_0x153828(0x442)](_0x1b3b6a,{'unitId':_0x44738c,'subUnitId':_0x44738c},!0x1);}};Pt=wo([Qs(0x0,_0x4a6309(_0x5b64e2)),Qs(0x1,_0x4a14e2)],Pt);const Do=new Set([_0x52f94d['id']]);function ei(_0x14b970,_0x328413,_0x418881,_0x146dc3,_0x2dcac4){const _0x9fd20a=_0x3a0f4f;var _0x525a0d,_0x1e0563,_0x59e767,_0x362ae5;const _0x59c8ef=[];for(const _0x5e9d4c of _0x14b970)if(Do['has'](_0x5e9d4c['id'])){if(_0x59c8ef['length']>0x0)break;_0x59c8ef[_0x9fd20a(0x43f)](_0x5e9d4c);break;}else _0x59c8ef['push'](_0x5e9d4c);const _0x23c2ed=(_0x1e0563=(_0x525a0d=_0x2dcac4[_0x9fd20a(0x521)]())==null?void 0x0:_0x525a0d[_0x9fd20a(0x20f)])!=null?_0x1e0563:_0x9fd20a(0x508),_0x1b1a6e=(_0x362ae5=(_0x59e767=_0x2dcac4[_0x9fd20a(0x521)]())==null?void 0x0:_0x59e767['memberID'])!=null?_0x362ae5:_0x9fd20a(0x508);return{'changeset':{'unitID':_0x328413,'type':_0xe3f7d(_0x418881[_0x9fd20a(0x2aa)](_0x328413)),'baseRev':_0x146dc3['getCurrentRevOfUnit'](_0x328413),'revision':0x0,'userID':_0x23c2ed,'memberID':_0x1b1a6e,'mutations':_0x59c8ef},'pendingMutations':_0x14b970['slice'](_0x59c8ef[_0x9fd20a(0x312)])};}function Po(_0x5ad8ef,_0x25efc4,_0x55f9b8,_0x4be0f0,_0x16456b){const _0xf53801=_0x3a0f4f;var _0x5dbf16,_0x1c1c1b,_0x250073,_0x142496;const _0x403e1f=[_0x5ad8ef[_0xf53801(0x479)]((_0xd6984f,_0x38b619)=>{const _0x24b718=_0xf53801;var _0x4ff11b;const {id:_0x506ba9}=_0xd6984f,{id:_0x417b28,type:_0x17ebe7}=_0x38b619,_0x39742b=(_0x4ff11b=_0xd6984f[_0x24b718(0x1f7)])!=null?_0x4ff11b:{'actions':null},_0x5b7c09=_0x38b619[_0x24b718(0x1f7)];if(_0x506ba9&&_0x506ba9!==_0x417b28)throw new Error(_0x24b718(0x3ba)+_0x506ba9+_0x24b718(0x22d)+_0x417b28+'.');return{..._0xd6984f,'id':_0x417b28,'type':_0x17ebe7,'params':{'unitId':_0x5b7c09[_0x24b718(0x492)],'textRanges':_0x5b7c09['textRanges'],'actions':_0x296537[_0x24b718(0x13a)](_0x39742b['actions'],_0x5b7c09['actions'])}};},{})],_0x1924d3=(_0x1c1c1b=(_0x5dbf16=_0x16456b[_0xf53801(0x521)]())==null?void 0x0:_0x5dbf16['userID'])!=null?_0x1c1c1b:_0xf53801(0x508),_0x545d65=(_0x142496=(_0x250073=_0x16456b['getCurrentUser']())==null?void 0x0:_0x250073['memberID'])!=null?_0x142496:'unknown';return{'changeset':{'unitID':_0x25efc4,'type':_0xe3f7d(_0x55f9b8['getUnitType'](_0x25efc4)),'baseRev':_0x4be0f0[_0xf53801(0x528)](_0x25efc4),'revision':0x0,'userID':_0x1924d3,'memberID':_0x545d65,'mutations':_0x403e1f},'pendingMutations':[]};}function zi(_0x483237,_0x45df2a){const _0x4c0134=_0x3a0f4f,_0x2ec4ad=new _0x582b98(0x1);return setTimeout(()=>_0x2ec4ad['next'](_0x45df2a),_0x483237),_0x2ec4ad['asObservable']()[_0x4c0134(0x2af)](_0x448099(0x1));}const No={'id':_0x12dae3['id'],'type':_0x49b017['MUTATION'],'params':{}};var Uo=Object[_0x3a0f4f(0x40a)],Ao=Object[_0x3a0f4f(0x409)],$e=(_0x43537d,_0x2faf43,_0x3b3e29,_0x208be7)=>{const _0x3459b8=_0x3a0f4f;for(var _0x2b2183=_0x208be7>0x1?void 0x0:_0x208be7?Ao(_0x2faf43,_0x3b3e29):_0x2faf43,_0x50961f=_0x43537d[_0x3459b8(0x312)]-0x1,_0x54d855;_0x50961f>=0x0;_0x50961f--)(_0x54d855=_0x43537d[_0x50961f])&&(_0x2b2183=(_0x208be7?_0x54d855(_0x2faf43,_0x3b3e29,_0x2b2183):_0x54d855(_0x2b2183))||_0x2b2183);return _0x208be7&&_0x2b2183&&Uo(_0x2faf43,_0x3b3e29,_0x2b2183),_0x2b2183;},A=(_0x1cf948,_0x233bcc)=>(_0x243639,_0x488251)=>_0x233bcc(_0x243639,_0x488251,_0x1cf948),J=(_0x20e52f=>(_0x20e52f['NOT_COLLAB']='not_collab',_0x20e52f['SYNCED']=_0x3a0f4f(0x3a6),_0x20e52f[_0x3a0f4f(0x39b)]=_0x3a0f4f(0x35b),_0x20e52f[_0x3a0f4f(0x4a1)]=_0x3a0f4f(0x471),_0x20e52f[_0x3a0f4f(0x288)]=_0x3a0f4f(0x280),_0x20e52f[_0x3a0f4f(0x3e4)]=_0x3a0f4f(0x40c),_0x20e52f[_0x3a0f4f(0x139)]=_0x3a0f4f(0x523),_0x20e52f[_0x3a0f4f(0x275)]=_0x3a0f4f(0x1ea),_0x20e52f))(J||{});const Xi=0xea60;class He{constructor(_0x508bd3,_0x547896,_0x3dd8ed,_0x3ab9f2,_0x25f851,_0x274cad,_0xe1a5d7,_0x130300,_0x26fc5e){const _0xc33f2b=_0x3a0f4f;g(this,_0xc33f2b(0x1c0),null),g(this,_0xc33f2b(0x193),[]),(this[_0xc33f2b(0x321)]=_0x508bd3,this[_0xc33f2b(0x550)]=_0x547896,this[_0xc33f2b(0x470)]=_0x25f851,this[_0xc33f2b(0x418)]=_0x274cad,this[_0xc33f2b(0x2b0)]=_0xe1a5d7,this[_0xc33f2b(0x480)]=_0x130300,this[_0xc33f2b(0x1dc)]=_0x26fc5e,this[_0xc33f2b(0x1c0)]=_0x3dd8ed,this[_0xc33f2b(0x193)]=_0x3ab9f2);}[_0x3a0f4f(0x1b7)](_0xe4af28){const _0x139ded=_0x3a0f4f,_0x51c4ac=this['_revisionService'][_0x139ded(0x528)](this['unitID']);return _0xe4af28[_0x139ded(0x14b)]>_0x51c4ac+0x1?(this[_0x139ded(0x470)]['onMissingChangesets']({'from':_0x51c4ac,'to':_0xe4af28[_0x139ded(0x14b)]-0x1}),!0x0):!0x1;}[_0x3a0f4f(0x535)](_0x5d2248){const _0xc48307=_0x3a0f4f;this[_0xc48307(0x2b0)]['transformUndoRedo'](this[_0xc48307(0x321)],_0x5d2248);}['_transformSelections'](_0x3eba11){const _0x266478=_0x3a0f4f;var _0x3aad91,_0x526102;(_0x526102=(_0x3aad91=this[_0x266478(0x470)])[_0x266478(0x458)])==null||_0x526102['call'](_0x3aad91,_0x3eba11);}[_0x3a0f4f(0x23a)](_0x31e5ed){const _0x4716a5=_0x3a0f4f;var _0x1b5ae2,_0x2613ce;return(_0x2613ce=(_0x1b5ae2=this[_0x4716a5(0x470)])[_0x4716a5(0x46d)])==null?void 0x0:_0x2613ce[_0x4716a5(0x140)](_0x1b5ae2,_0x31e5ed);}[_0x3a0f4f(0x420)](_0x5b1c92){const _0x2796fe=_0x3a0f4f;var _0x40fbe9,_0x25d5c6;return(_0x25d5c6=(_0x40fbe9=this[_0x2796fe(0x470)])[_0x2796fe(0x190)])==null?void 0x0:_0x25d5c6[_0x2796fe(0x140)](_0x40fbe9,_0x5b1c92);}[_0x3a0f4f(0x36d)](_0x94a7f1){const _0x46e96e=_0x3a0f4f;var _0x6ae271,_0x20f9cb,_0x1ed771;return(_0x1ed771=(_0x20f9cb=(_0x6ae271=this['_handler'])[_0x46e96e(0x1b8)])==null?void 0x0:_0x20f9cb[_0x46e96e(0x140)](_0x6ae271,_0x94a7f1))!=null?_0x1ed771:_0x94a7f1;}[_0x3a0f4f(0x2a6)](_0x5b9fc8){const _0xa37f57=_0x3a0f4f;var _0x4ca4e8,_0x147347,_0x1f8555;return(_0x1f8555=(_0x147347=(_0x4ca4e8=this[_0xa37f57(0x470)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x147347[_0xa37f57(0x140)](_0x4ca4e8,_0x5b9fc8))!=null?_0x1f8555:_0x5b9fc8;}[_0x3a0f4f(0x3c5)](_0x4e0653){const _0x3fe9bf=_0x3a0f4f;var _0x898c2b,_0x481482;if(this[_0x3fe9bf(0x550)]===ae[_0x3fe9bf(0x12b)]){const {unitID:_0x1ea044,mutations:_0x11b4ae,memberID:_0x30f57b}=_0x4e0653,_0x2d2d17=_0x11b4ae[0x0]['params']['textRanges'];Array[_0x3fe9bf(0x248)](_0x2d2d17)&&_0x2d2d17[_0x3fe9bf(0x312)]>0x0&&((_0x481482=(_0x898c2b=this['_handler'])[_0x3fe9bf(0x351)])==null||_0x481482['call'](_0x898c2b,{'unitID':_0x1ea044,'memberID':_0x30f57b,'textRanges':_0x2d2d17}));}}[_0x3a0f4f(0x37e)](){const _0x27d28f=_0x3a0f4f;this[_0x27d28f(0x1dc)]['updateOfflineData'](this['unitID'],this[_0x27d28f(0x550)],this[_0x27d28f(0x1c0)],this[_0x27d28f(0x193)]);}[_0x3a0f4f(0x2ac)](){const _0x4ffbd1=_0x3a0f4f;return this[_0x4ffbd1(0x480)][_0x4ffbd1(0x528)](this[_0x4ffbd1(0x321)]);}['_incrementRevisionNumber'](){const _0x483004=_0x3a0f4f;this[_0x483004(0x480)]['incrementRevOfUnit'](this[_0x483004(0x321)]);}[_0x3a0f4f(0x354)](_0x12baba){const _0x4e861a=_0x3a0f4f;var _0x2f2a98;let _0x565dc2=this['_transformRemoteChangesetByIMECache'](_0x12baba);_0x565dc2=this[_0x4e861a(0x2a6)](_0x565dc2);const _0x4ae284=_0x29c979(_0x565dc2[_0x4e861a(0x4de)],this[_0x4e861a(0x418)],{'fromCollab':!0x0});if(!_0x4ae284[_0x4e861a(0x430)])throw _0x4ae284[_0x4e861a(0x34b)]instanceof Error?_0x4ae284[_0x4e861a(0x34b)]:new Error((_0x2f2a98=_0x4ae284[_0x4e861a(0x34b)])!=null?_0x2f2a98:_0x4e861a(0x3db));this[_0x4e861a(0x23a)](_0x565dc2),this['_transformStateCache'](_0x565dc2),this['_transformUndoredo'](_0x12baba),this[_0x4e861a(0x27d)](_0x565dc2),this['_syncEditingCollabCursor'](_0x565dc2),this[_0x4e861a(0x4fa)]();}}let Fe=class extends He{constructor(_0x95ee5b,_0x4fc351,_0xbd9859,_0x5110c6,_0x496aad,_0x126de2,_0x354fad,_0x43a800,_0x53bcf4,_0x5052d1){const _0x16eef6=_0x3a0f4f;super(_0x95ee5b,_0x4fc351,null,[],_0xbd9859,_0x43a800,_0x354fad,_0x5110c6,_0x496aad),g(this,_0x16eef6(0x35d),_0x16eef6(0x3a6)),(this[_0x16eef6(0x340)]=_0x126de2,this[_0x16eef6(0x2d8)]=_0x53bcf4,this['_transformService']=_0x5052d1);}[_0x3a0f4f(0x2f0)](_0x594273){const _0x48fbff=_0x3a0f4f,_0x1f4432=this[_0x48fbff(0x340)]['createInstance'](pe,this[_0x48fbff(0x321)],this[_0x48fbff(0x550)],[_0x594273],this[_0x48fbff(0x470)]);return _0x1f4432['_schedule'](),_0x1f4432[_0x48fbff(0x37e)](),_0x1f4432;}[_0x3a0f4f(0x167)](_0x5c6768){const _0x237673=_0x3a0f4f;if(this[_0x237673(0x1b7)](_0x5c6768))return this['_injector'][_0x237673(0x4d0)](ce,this[_0x237673(0x321)],this[_0x237673(0x550)],null,[],null,[_0x5c6768],this[_0x237673(0x470)]);try{const _0x2cf3d5=this[_0x237673(0x20a)][_0x237673(0x27f)](_0x5c6768,[No]);if(_0x2f8575(_0x2cf3d5)){const {c1Prime:_0x48106d}=_0x2cf3d5;return this['_executeRemoteChangeset'](_0x48106d),this;}throw _0x2cf3d5[_0x237673(0x34b)];}catch(_0x5e1016){return this['_logService'][_0x237673(0x34b)](_0x5e1016),this[_0x237673(0x3e3)](!0x1);}}['_onConflict'](_0x166efa){const _0x3d3f59=_0x3a0f4f;return this[_0x3d3f59(0x340)][_0x3d3f59(0x4d0)](Re,this[_0x3d3f59(0x321)],this[_0x3d3f59(0x550)],null,[],this['_handler'],_0x166efa);}[_0x3a0f4f(0x44a)](){const _0x3c412d=_0x3a0f4f;throw new Error(_0x3c412d(0x1f0));}[_0x3a0f4f(0x1c4)](){const _0x100b4b=_0x3a0f4f;throw new Error(_0x100b4b(0x44d));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x463eaa=_0x3a0f4f;return this[_0x463eaa(0x340)][_0x463eaa(0x4d0)](Oe,this[_0x463eaa(0x321)],this[_0x463eaa(0x550)],null,[],this[_0x463eaa(0x470)]);}[_0x3a0f4f(0x2cc)](){return this;}[_0x3a0f4f(0x297)](){const _0x16ee4e=_0x3a0f4f;throw new Error(_0x16ee4e(0x428));}['fetchMiss'](){const _0x5bb871=_0x3a0f4f,_0x1473db=this[_0x5bb871(0x480)][_0x5bb871(0x528)](this[_0x5bb871(0x321)]);return this['_handler'][_0x5bb871(0x225)]({'from':_0x1473db,'to':0x0}),this[_0x5bb871(0x340)]['createInstance'](ce,this[_0x5bb871(0x321)],this[_0x5bb871(0x550)],null,[],null,[],this[_0x5bb871(0x470)]);}};Fe=$e([A(0x3,_0x4a6309(_0xf29fa)),A(0x4,_0x4a6309(z)),A(0x5,_0x4a6309(_0x5b64e2)),A(0x6,_0x28c671),A(0x7,_0x21538e),A(0x8,_0x4c9627),A(0x9,_0x4a14e2)],Fe);let pe=class extends He{constructor(_0x1b8d0f,_0x336c0b,_0x3a6312,_0x1b6646,_0x1d6270,_0x1ebad3,_0xb4b9eb,_0x124ab1,_0x251491,_0x1b6234,_0x21609b,_0x52dab3,_0x32f551,_0x5229b5){const _0x4e09f9=_0x3a0f4f;super(_0x1b8d0f,_0x336c0b,null,_0x3a6312,_0x1b6646,_0x1b6234,_0x5229b5,_0x1ebad3,_0xb4b9eb),g(this,'status',_0x4e09f9(0x35b)),g(this,_0x4e09f9(0x200),null),g(this,_0x4e09f9(0x453),null),(this[_0x4e09f9(0x340)]=_0x1d6270,this['_memberService']=_0x124ab1,this['_logService']=_0x251491,this['_configService']=_0x21609b,this[_0x4e09f9(0x20a)]=_0x52dab3,this['_univerInstanceService']=_0x32f551);}[_0x3a0f4f(0x2f0)](_0x56dd11){const _0x1f0e05=_0x3a0f4f;return this[_0x1f0e05(0x193)][_0x1f0e05(0x43f)](_0x56dd11),this[_0x1f0e05(0x37e)](),this;}[_0x3a0f4f(0x167)](_0x1c451c){const _0x2044d2=_0x3a0f4f;if(this[_0x2044d2(0x1b7)](_0x1c451c))return this['_clearScheduledTask'](),this[_0x2044d2(0x340)][_0x2044d2(0x4d0)](ce,this[_0x2044d2(0x321)],this[_0x2044d2(0x550)],null,this[_0x2044d2(0x193)],null,[_0x1c451c],this[_0x2044d2(0x470)]);try{const _0x20976a=this[_0x2044d2(0x20a)][_0x2044d2(0x27f)](_0x1c451c,this[_0x2044d2(0x193)]);if(_0x2f8575(_0x20976a)){const {c1Prime:_0x41bfac,m2Prime:_0x4fd2cf}=_0x20976a;this['_executeRemoteChangeset'](_0x41bfac);const _0x52bed0=this['_injector'][_0x2044d2(0x4d0)](pe,this[_0x2044d2(0x321)],this[_0x2044d2(0x550)],_0x4fd2cf,this[_0x2044d2(0x470)]);return this[_0x2044d2(0x320)](),_0x52bed0[_0x2044d2(0x18a)](this[_0x2044d2(0x200)]?Math['max'](0x0,new Date()[_0x2044d2(0x2cd)]()-this[_0x2044d2(0x200)]):this['_getSendChangesetTimeout']()),_0x52bed0;}throw _0x20976a[_0x2044d2(0x34b)];}catch(_0x156b1){return this[_0x2044d2(0x2d8)][_0x2044d2(0x34b)](_0x156b1),this[_0x2044d2(0x3e3)](!0x1);}}[_0x3a0f4f(0x44a)](){const _0x3772c7=_0x3a0f4f;throw new Error(_0x3772c7(0x40f));}[_0x3a0f4f(0x1c4)](){const _0x117f44=_0x3a0f4f;throw new Error(_0x117f44(0x37f));}[_0x3a0f4f(0x169)](){return this;}[_0x3a0f4f(0x149)](){const _0x3d7b7b=_0x3a0f4f;return this[_0x3d7b7b(0x320)](),this[_0x3d7b7b(0x340)][_0x3d7b7b(0x4d0)](Oe,this['unitID'],this[_0x3d7b7b(0x550)],null,this[_0x3d7b7b(0x193)],this['_handler']);}['toggleOnline'](){return this;}[_0x3a0f4f(0x18a)](_0x1fb2e9){const _0x3cad74=_0x3a0f4f,_0x41a752=_0x1fb2e9!=null?_0x1fb2e9:this[_0x3cad74(0x378)]();this['_scheduleTimestamp']=new Date()[_0x3cad74(0x2cd)](),this[_0x3cad74(0x453)]=window['setTimeout'](()=>{const _0xc1fed0=_0x3cad74;this[_0xc1fed0(0x320)]();let _0x4d6ff3=null;switch(this[_0xc1fed0(0x550)]){case ae[_0xc1fed0(0x12e)]:{_0x4d6ff3=ei(this[_0xc1fed0(0x193)],this[_0xc1fed0(0x321)],this['_univerInstanceService'],this[_0xc1fed0(0x480)],this['_memberService']);break;}case ae[_0xc1fed0(0x12b)]:{this[_0xc1fed0(0x193)][_0xc1fed0(0x42b)](_0x5f30af=>_0x5f30af['id']===_0x69a97a['id'])?_0x4d6ff3=Po(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0xc1fed0(0x2e8)]):_0x4d6ff3=ei(this[_0xc1fed0(0x193)],this[_0xc1fed0(0x321)],this['_univerInstanceService'],this[_0xc1fed0(0x480)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0xc1fed0(0x4a0));}const {changeset:_0xfd9c4c,pendingMutations:_0x1f315b}=_0x4d6ff3;this[_0xc1fed0(0x470)][_0xc1fed0(0x385)](_0xfd9c4c);const _0x51c1d0=_0x1f315b[_0xc1fed0(0x312)]?this[_0xc1fed0(0x340)][_0xc1fed0(0x4d0)](me,this[_0xc1fed0(0x321)],this['type'],_0xfd9c4c,_0x1f315b,this[_0xc1fed0(0x470)],void 0x0):this[_0xc1fed0(0x340)][_0xc1fed0(0x4d0)](Te,this['unitID'],this[_0xc1fed0(0x550)],_0xfd9c4c,this['_handler']);_0x51c1d0[_0xc1fed0(0x37e)](),this['_handler'][_0xc1fed0(0x1e6)](this,_0x51c1d0);},_0x41a752);}[_0x3a0f4f(0x378)](){const _0x3dbf6f=_0x3a0f4f;var _0xecbe60;const _0x4c7da7=this[_0x3dbf6f(0x145)]['getConfig'](Q);return(_0xecbe60=_0x4c7da7==null?void 0x0:_0x4c7da7['sendChangesetTimeout'])!=null?_0xecbe60:Rn;}[_0x3a0f4f(0x297)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x3a0f4f(0x3e3)](_0x2b6796){const _0x3e3c4f=_0x3a0f4f;return this[_0x3e3c4f(0x320)](),this[_0x3e3c4f(0x340)]['createInstance'](Re,this[_0x3e3c4f(0x321)],this[_0x3e3c4f(0x550)],null,this[_0x3e3c4f(0x193)],this[_0x3e3c4f(0x470)],_0x2b6796);}};pe=$e([A(0x4,_0x4a6309(_0x5b64e2)),A(0x5,_0x4a6309(_0xf29fa)),A(0x6,_0x4a6309(z)),A(0x7,_0x4a6309(Me)),A(0x8,_0x4c9627),A(0x9,_0x21538e),A(0xa,_0x1526c7),A(0xb,_0x4a14e2),A(0xc,_0x3dee00),A(0xd,_0x28c671)],pe);let Te=class extends He{constructor(_0x29487d,_0x42e486,_0xce8376,_0x18c726,_0x2d87e4,_0x5c0cd3,_0x3b8a76,_0x5ea9db,_0x2215a6,_0x52af93,_0x4a02c1){const _0x36ad86=_0x3a0f4f;super(_0x29487d,_0x42e486,_0xce8376,[],_0x18c726,_0x5ea9db,_0x4a02c1,_0x5c0cd3,_0x3b8a76),g(this,'status',_0x36ad86(0x471)),g(this,'_resendTimeout',0x0),g(this,_0x36ad86(0x43b)),g(this,'_sender'),(this[_0x36ad86(0x340)]=_0x2d87e4,this[_0x36ad86(0x2d8)]=_0x2215a6,this[_0x36ad86(0x20a)]=_0x52af93);}[_0x3a0f4f(0x2f0)](_0x496d56){const _0x3ee69a=_0x3a0f4f;this['_clearScheduledTask']();const _0x4380f2=this[_0x3ee69a(0x340)][_0x3ee69a(0x4d0)](me,this[_0x3ee69a(0x321)],this[_0x3ee69a(0x550)],this[_0x3ee69a(0x1c0)],[_0x496d56],this[_0x3ee69a(0x470)],this['_resendTimer']);return _0x4380f2[_0x3ee69a(0x37e)](),_0x4380f2;}['onRemoteChangeset'](_0x150e1c){const _0x4b03fc=_0x3a0f4f;if(this[_0x4b03fc(0x1b7)](_0x150e1c))return this[_0x4b03fc(0x320)](),this[_0x4b03fc(0x340)][_0x4b03fc(0x4d0)](ce,this[_0x4b03fc(0x321)],this[_0x4b03fc(0x550)],this[_0x4b03fc(0x1c0)],[],null,[_0x150e1c],this[_0x4b03fc(0x470)]);try{const _0x3578ec=this[_0x4b03fc(0x20a)][_0x4b03fc(0x397)]([_0x150e1c],[this[_0x4b03fc(0x1c0)]],!0x1);if(_0x55de42(_0x3578ec)){const {c1Prime:_0x1af51e,c2Prime:_0x3f845}=_0x3578ec;this[_0x4b03fc(0x354)](_0x1af51e[0x0]),_0x3f845[0x0][_0x4b03fc(0x3c8)]=this['_getCurrentRevision'](),this[_0x4b03fc(0x320)]();const _0x18b9e4=this['_injector'][_0x4b03fc(0x4d0)](Te,this[_0x4b03fc(0x321)],this[_0x4b03fc(0x550)],_0x3f845[0x0],this[_0x4b03fc(0x470)]);return _0x18b9e4['_updateLocalCache'](),_0x18b9e4;}return this[_0x4b03fc(0x3e3)](!0x1);}catch(_0x5b1e39){return this[_0x4b03fc(0x2d8)][_0x4b03fc(0x34b)](_0x5b1e39),this[_0x4b03fc(0x3e3)](!0x1);}}['onRemoteAck'](_0x5834f1){const _0x2fa03b=_0x3a0f4f;this[_0x2fa03b(0x320)]();const _0x527c45=this[_0x2fa03b(0x480)][_0x2fa03b(0x528)](this[_0x2fa03b(0x321)]);if(_0x5834f1[_0x2fa03b(0x14b)]<_0x527c45-0x1)return this;if(this[_0x2fa03b(0x1b7)](_0x5834f1))return this[_0x2fa03b(0x340)][_0x2fa03b(0x4d0)](ce,this['unitID'],this[_0x2fa03b(0x550)],null,[],this[_0x2fa03b(0x1c0)],[],this[_0x2fa03b(0x470)]);this[_0x2fa03b(0x4fa)]();const _0x340ab5=this[_0x2fa03b(0x340)][_0x2fa03b(0x4d0)](Fe,this[_0x2fa03b(0x321)],this[_0x2fa03b(0x550)],this[_0x2fa03b(0x470)]);return _0x340ab5[_0x2fa03b(0x37e)](),_0x340ab5;}[_0x3a0f4f(0x1c4)](_0xce0fd0){const _0x5ebfa9=_0x3a0f4f;return this[_0x5ebfa9(0x3e3)](!!(_0xce0fd0!=null&&_0xce0fd0[_0x5ebfa9(0x533)]));}[_0x3a0f4f(0x169)](_0x1bd238){const _0x1959e8=_0x3a0f4f;return this[_0x1959e8(0x4b8)]>Xi?this[_0x1959e8(0x149)]():(this[_0x1959e8(0x43b)]=zi(this[_0x1959e8(0x4b8)],{'timeout':this['_resendTimeout'],'reqId':_0x1bd238[_0x1959e8(0x3ea)]}),this[_0x1959e8(0x12f)]=this['_resendTimer'][_0x1959e8(0x4f0)](({reqId:_0x3a88e5,timeout:_0x30ce1d})=>{const _0x17a305=_0x1959e8;this[_0x17a305(0x446)](_0x3a88e5,_0x30ce1d);}),this);}[_0x3a0f4f(0x149)](){const _0x647eb6=_0x3a0f4f;return this[_0x647eb6(0x320)](),this[_0x647eb6(0x340)]['createInstance'](Oe,this[_0x647eb6(0x321)],this[_0x647eb6(0x550)],this[_0x647eb6(0x1c0)],[],this['_handler']);}['toggleOnline'](){return this;}['resend'](){const _0x3e8cf3=_0x3a0f4f;this[_0x3e8cf3(0x470)][_0x3e8cf3(0x385)](this[_0x3e8cf3(0x1c0)]);}[_0x3a0f4f(0x3e3)](_0x3a8872){const _0x24f808=_0x3a0f4f;return this[_0x24f808(0x320)](),this[_0x24f808(0x340)][_0x24f808(0x4d0)](Re,this[_0x24f808(0x321)],this['type'],this[_0x24f808(0x1c0)],[],this[_0x24f808(0x470)],_0x3a8872);}['_resendWithTimeout'](_0x4a4096,_0x40623f){const _0x3e5842=_0x3a0f4f;var _0x34e6a7;_0x4a4096===((_0x34e6a7=this[_0x3e5842(0x1c0)])==null?void 0x0:_0x34e6a7[_0x3e5842(0x3ea)])&&(this[_0x3e5842(0x297)](),this[_0x3e5842(0x4b8)]=_0x40623f===0x0?0x3e8:_0x40623f*0x2);}[_0x3a0f4f(0x320)](){const _0x2d0c3d=_0x3a0f4f;var _0x1ac4b5;(_0x1ac4b5=this[_0x2d0c3d(0x12f)])==null||_0x1ac4b5[_0x2d0c3d(0x19e)](),this[_0x2d0c3d(0x4b8)]=0x0;}};Te=$e([A(0x4,_0x4a6309(_0x5b64e2)),A(0x5,_0x4a6309(_0xf29fa)),A(0x6,_0x4a6309(z)),A(0x7,_0x21538e),A(0x8,_0x4c9627),A(0x9,_0x4a14e2),A(0xa,_0x28c671)],Te);let me=class extends He{constructor(_0x17a943,_0x83a9e8,_0x56cd7e,_0x2e1644,_0x12688c,_0x2d4ecd,_0x5730b0,_0x1f4407,_0x568fc9,_0x5ebaa6,_0x46120a,_0x1a8387,_0x3d3f72){const _0x21c7dd=_0x3a0f4f;super(_0x17a943,_0x83a9e8,_0x56cd7e,_0x2e1644,_0x12688c,_0x5ebaa6,_0x3d3f72,_0x1f4407,_0x568fc9),g(this,_0x21c7dd(0x35d),_0x21c7dd(0x280)),g(this,_0x21c7dd(0x4b8),0x0),g(this,_0x21c7dd(0x43b)),g(this,'_sender'),(this['_injector']=_0x5730b0,this['_logService']=_0x46120a,this[_0x21c7dd(0x20a)]=_0x1a8387,_0x2d4ecd&&(this['_resendTimer']=_0x2d4ecd,this['_sender']=this['_resendTimer'][_0x21c7dd(0x4f0)](({reqId:_0x19b5d3,timeout:_0x3281b3})=>{const _0x51590e=_0x21c7dd;this[_0x51590e(0x446)](_0x19b5d3,_0x3281b3);})));}[_0x3a0f4f(0x2f0)](_0x1c895c){const _0x103f2f=_0x3a0f4f;return this[_0x103f2f(0x193)][_0x103f2f(0x43f)](_0x1c895c),this;}[_0x3a0f4f(0x167)](_0x353a6e){const _0x27b0b0=_0x3a0f4f;if(this['_checkMissing'](_0x353a6e))return this[_0x27b0b0(0x320)](),this[_0x27b0b0(0x340)][_0x27b0b0(0x4d0)](ce,this[_0x27b0b0(0x321)],this[_0x27b0b0(0x550)],this['_awaitingChangeset'],this[_0x27b0b0(0x193)],null,[_0x353a6e],this['_handler']);try{const _0x2d7690=this[_0x27b0b0(0x20a)]['transformChangesets']([_0x353a6e],[this[_0x27b0b0(0x1c0)]],!0x1);if(_0x55de42(_0x2d7690)){const {c1Prime:_0x59c08e,c2Prime:_0x3833de}=_0x2d7690,_0x41a520=this[_0x27b0b0(0x20a)]['transformMutationsWithChangeset'](_0x59c08e[0x0],this[_0x27b0b0(0x193)]);if(_0x2f8575(_0x41a520)){const {c1Prime:_0xae912e,m2Prime:_0x34cc1e}=_0x41a520;return this['_executeRemoteChangeset'](_0xae912e),_0x3833de[0x0][_0x27b0b0(0x3c8)]=this['_getCurrentRevision'](),this[_0x27b0b0(0x320)](),this[_0x27b0b0(0x340)][_0x27b0b0(0x4d0)](me,this[_0x27b0b0(0x321)],this['type'],_0x3833de[0x0],_0x34cc1e,this[_0x27b0b0(0x470)],void 0x0);}throw _0x41a520[_0x27b0b0(0x34b)];}throw _0x2d7690[_0x27b0b0(0x34b)];}catch(_0x259f6a){return this[_0x27b0b0(0x2d8)][_0x27b0b0(0x34b)](_0x259f6a),this[_0x27b0b0(0x3e3)](!0x1);}}[_0x3a0f4f(0x44a)](_0x11ee1d){const _0x23a59c=_0x3a0f4f;if(this[_0x23a59c(0x320)](),this[_0x23a59c(0x1b7)](_0x11ee1d))return this[_0x23a59c(0x340)][_0x23a59c(0x4d0)](ce,this[_0x23a59c(0x321)],this[_0x23a59c(0x550)],null,this[_0x23a59c(0x193)],this[_0x23a59c(0x1c0)],[],this[_0x23a59c(0x470)]);this[_0x23a59c(0x4fa)]();const _0x31aa2f=this[_0x23a59c(0x340)]['createInstance'](pe,this[_0x23a59c(0x321)],this[_0x23a59c(0x550)],this['_pendingMutations'],this[_0x23a59c(0x470)]);return _0x31aa2f['_schedule'](),_0x31aa2f[_0x23a59c(0x37e)](),_0x31aa2f;}['onRemoteRej'](_0x23b357){const _0x463321=_0x3a0f4f;return this[_0x463321(0x3e3)](!!(_0x23b357!=null&&_0x23b357['isPermissionRej']));}[_0x3a0f4f(0x169)](_0x48b749){const _0x1e127d=_0x3a0f4f;return this[_0x1e127d(0x4b8)]>Xi?this['toggleOffline']():(this[_0x1e127d(0x43b)]=zi(this['_resendTimeout'],{'timeout':this[_0x1e127d(0x4b8)],'reqId':_0x48b749[_0x1e127d(0x3ea)]}),this[_0x1e127d(0x12f)]=this[_0x1e127d(0x43b)]['subscribe'](({reqId:_0x21edb1,timeout:_0x5ab236})=>{const _0x327b55=_0x1e127d;this[_0x327b55(0x446)](_0x21edb1,_0x5ab236);}),this);}['toggleOffline'](){const _0x1a2914=_0x3a0f4f;return this['_clearScheduledTask'](),this[_0x1a2914(0x340)]['createInstance'](Oe,this[_0x1a2914(0x321)],this[_0x1a2914(0x550)],this['_awaitingChangeset'],this[_0x1a2914(0x193)],this[_0x1a2914(0x470)]);}[_0x3a0f4f(0x2cc)](){return this;}[_0x3a0f4f(0x297)](){const _0x30b472=_0x3a0f4f;this[_0x30b472(0x470)]['onSendChangeset'](this[_0x30b472(0x1c0)]);}[_0x3a0f4f(0x3e3)](_0x27d631){const _0x4c7644=_0x3a0f4f;return this[_0x4c7644(0x320)](),this['_injector']['createInstance'](Re,this[_0x4c7644(0x321)],this[_0x4c7644(0x550)],null,this[_0x4c7644(0x193)],this['_handler'],_0x27d631);}[_0x3a0f4f(0x446)](_0x378c2d,_0x3b5be3){const _0x27c3f5=_0x3a0f4f;var _0x4baec5;_0x378c2d===((_0x4baec5=this[_0x27c3f5(0x1c0)])==null?void 0x0:_0x4baec5[_0x27c3f5(0x3ea)])&&(this[_0x27c3f5(0x297)](),this[_0x27c3f5(0x4b8)]=_0x3b5be3===0x0?0x3e8:_0x3b5be3*0x2);}[_0x3a0f4f(0x320)](){const _0x49eefd=_0x3a0f4f;var _0x3e9a52;(_0x3e9a52=this['_sender'])==null||_0x3e9a52[_0x49eefd(0x19e)](),this[_0x49eefd(0x4b8)]=0x0;}};me=$e([A(0x6,_0x4a6309(_0x5b64e2)),A(0x7,_0x4a6309(_0xf29fa)),A(0x8,_0x4a6309(z)),A(0x9,_0x21538e),A(0xa,_0x4c9627),A(0xb,_0x4a14e2),A(0xc,_0x28c671)],me);let Re=class extends He{constructor(_0x42e968,_0x277391,_0xb11c10,_0x176486,_0x145a2f,_0x5babf4=!0x1,_0x19cc12,_0x4d2861,_0x4c2dc6,_0xe9707e,_0x543687,_0x3ddc17,_0xb8849c){const _0x261144=_0x3a0f4f;super(_0x42e968,_0x277391,_0xb11c10,_0x176486,_0x145a2f,_0x4d2861,_0x4c2dc6,_0x543687,_0xe9707e),g(this,_0x261144(0x35d),_0x261144(0x523)),(this[_0x261144(0x1f4)]=_0x5babf4,this[_0x261144(0x222)]=_0x19cc12,this[_0x261144(0x369)]=_0x3ddc17,this[_0x261144(0x24b)]=_0xb8849c,this['_showConflictNotification'](),this[_0x261144(0x28b)](),this[_0x261144(0x314)]());}[_0x3a0f4f(0x2f0)](){return this;}[_0x3a0f4f(0x167)](){return this;}[_0x3a0f4f(0x44a)](){return this;}[_0x3a0f4f(0x1c4)](){return this;}['onRemoteRetry'](){return this;}[_0x3a0f4f(0x149)](){return this;}[_0x3a0f4f(0x2cc)](){return this;}[_0x3a0f4f(0x297)](){const _0xc5d97d=_0x3a0f4f;throw new Error(_0xc5d97d(0x408));}['_clearLocalCache'](){const _0x20bb97=_0x3a0f4f;this[_0x20bb97(0x1dc)]['updateOfflineData'](this['unitID'],this[_0x20bb97(0x550)],null,[]);}[_0x3a0f4f(0x304)](){const _0x15621a=_0x3a0f4f;this[_0x15621a(0x1f4)]?this[_0x15621a(0x24b)][_0x15621a(0x4d8)]({'title':this[_0x15621a(0x369)]['t'](_0x15621a(0x17f)),'content':this['_localeService']['t'](_0x15621a(0x208)),'type':_0x15621a(0x34b),'duration':0x0}):this['_notificationService'][_0x15621a(0x4d8)]({'title':this[_0x15621a(0x369)]['t'](_0x15621a(0x3f1)),'content':this['_localeService']['t']('conflict.content'),'type':'error','duration':0x0});}[_0x3a0f4f(0x314)](){const _0x5a9344=_0x3a0f4f;this[_0x5a9344(0x222)][_0x5a9344(0x2f8)](new _0x102f56(this[_0x5a9344(0x321)])['id'],!0x1);}};Re=$e([A(0x6,_0x4a6309(_0x344f08)),A(0x7,_0x21538e),A(0x8,_0x28c671),A(0x9,_0x4a6309(z)),A(0xa,_0x4a6309(_0xf29fa)),A(0xb,_0x4a6309(_0x440b58)),A(0xc,_0x300d21)],Re);let Oe=class extends He{constructor(_0x3d1847,_0x476212,_0x3c0055,_0x68c268,_0x367171,_0x258ee5,_0x100408,_0x27601d,_0x4514a5,_0x6093b9){const _0x4764de=_0x3a0f4f;super(_0x3d1847,_0x476212,_0x3c0055,_0x68c268,_0x367171,_0x4514a5,_0x6093b9,_0x100408,_0x27601d),g(this,_0x4764de(0x35d),_0x4764de(0x1ea)),this['_injector']=_0x258ee5;}[_0x3a0f4f(0x2f0)](_0x482c1a){const _0x1d173f=_0x3a0f4f;return this[_0x1d173f(0x193)][_0x1d173f(0x43f)](_0x482c1a),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x6cdb13){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x3a0f4f(0x44a)](){const _0x1c195f=_0x3a0f4f;throw new Error(_0x1c195f(0x359));}[_0x3a0f4f(0x1c4)](){const _0x1afd18=_0x3a0f4f;throw new Error(_0x1afd18(0x452));}['onRemoteRetry'](){return this;}[_0x3a0f4f(0x149)](){return this;}[_0x3a0f4f(0x2cc)](){const _0x495b58=_0x3a0f4f,{_injector:_0x417481,_pendingMutations:_0x302fd5,_awaitingChangeset:_0x33f5c8,unitID:_0x3e673e,_handler:_0x37037e,type:_0x3cfee0}=this,_0x32f409=Ji(_0x417481,_0x3e673e,_0x3cfee0,_0x33f5c8,_0x302fd5,_0x37037e);return _0x32f409 instanceof pe?_0x32f409['_schedule']():(_0x32f409 instanceof me||_0x32f409 instanceof Te)&&_0x32f409[_0x495b58(0x297)](),_0x32f409;}['resend'](){const _0x14a042=_0x3a0f4f;throw new Error(_0x14a042(0x231));}};Oe=$e([A(0x5,_0x4a6309(_0x5b64e2)),A(0x6,_0x4a6309(_0xf29fa)),A(0x7,_0x4a6309(z)),A(0x8,_0x21538e),A(0x9,_0x28c671)],Oe);let ce=class extends He{constructor(_0x1dd740,_0x54e954,_0x3e6e37,_0x5b8f04,_0x1772be,_0x4b2544,_0x2aa8bd,_0x2aebe7,_0x16cb68,_0x34a3aa,_0xbd751f,_0x149add,_0x1d16ab,_0x442cd3){const _0x3a8dc0=_0x3a0f4f;super(_0x1dd740,_0x54e954,_0x3e6e37,_0x5b8f04,_0x2aa8bd,_0x149add,_0x1d16ab,_0x16cb68,_0x34a3aa),g(this,'status','fetch_missing'),(this[_0x3a8dc0(0x270)]=_0x1772be,this['_queuedRemoteChangesets']=_0x4b2544,this[_0x3a8dc0(0x340)]=_0x2aebe7,this[_0x3a8dc0(0x2d8)]=_0xbd751f,this[_0x3a8dc0(0x20a)]=_0x442cd3);}['onMissedChangesetFetched'](_0x8ca0d7){const _0x5b4cf3=_0x3a0f4f;try{const _0x467120=[..._0x8ca0d7,...this[_0x5b4cf3(0x331)]],_0x435e98=[this[_0x5b4cf3(0x1c0)]||this[_0x5b4cf3(0x270)]][_0x5b4cf3(0x271)](_0x2d9ed5=>!!_0x2d9ed5);let _0x4306eb,_0x1227be;if(_0x435e98[_0x5b4cf3(0x312)]){const _0x1b1afd=this[_0x5b4cf3(0x20a)][_0x5b4cf3(0x397)](_0x467120,_0x435e98,!0x1);if(!_0x55de42(_0x1b1afd))throw _0x1b1afd[_0x5b4cf3(0x34b)];_0x4306eb=_0x1b1afd[_0x5b4cf3(0x17b)],_0x1227be=_0x1b1afd[_0x5b4cf3(0x524)];}else _0x4306eb=_0x467120,_0x1227be=[];let _0x599502=this['_pendingMutations'];_0x4306eb[_0x5b4cf3(0x444)](_0x436162=>{const _0x3017e2=_0x5b4cf3;let _0x2259af;if(_0x599502[_0x3017e2(0x312)]){const _0x1e18ed=this[_0x3017e2(0x20a)][_0x3017e2(0x27f)](_0x436162,_0x599502);if(!_0x2f8575(_0x1e18ed))throw _0x1e18ed[_0x3017e2(0x34b)];_0x2259af=_0x1e18ed[_0x3017e2(0x17b)],_0x599502=_0x1e18ed[_0x3017e2(0x38c)];}else _0x2259af=_0x436162;this[_0x3017e2(0x354)](_0x2259af);}),this[_0x5b4cf3(0x270)]&&this[_0x5b4cf3(0x4fa)](),this[_0x5b4cf3(0x1c0)]&&_0x1227be[_0x5b4cf3(0x312)]&&(_0x1227be[0x0][_0x5b4cf3(0x3c8)]=this[_0x5b4cf3(0x2ac)]());let _0x55fac7;if(this['_awaitingChangeset']&&_0x599502['length']!==0x0)_0x55fac7=this[_0x5b4cf3(0x340)]['createInstance'](me,this[_0x5b4cf3(0x321)],this[_0x5b4cf3(0x550)],_0x1227be[0x0],_0x599502,this[_0x5b4cf3(0x470)],void 0x0);else{if(this['_awaitingChangeset']&&_0x599502[_0x5b4cf3(0x312)]===0x0)_0x1227be[0x0][_0x5b4cf3(0x3c8)]=this[_0x5b4cf3(0x2ac)](),_0x55fac7=this[_0x5b4cf3(0x340)][_0x5b4cf3(0x4d0)](Te,this['unitID'],this[_0x5b4cf3(0x550)],_0x1227be[0x0],this[_0x5b4cf3(0x470)]);else{if(_0x599502[_0x5b4cf3(0x312)]!==0x0){const _0xc82a9a=this[_0x5b4cf3(0x340)][_0x5b4cf3(0x4d0)](pe,this['unitID'],this['type'],_0x599502,this['_handler']);_0xc82a9a[_0x5b4cf3(0x18a)](),_0x55fac7=_0xc82a9a;}else _0x55fac7=this[_0x5b4cf3(0x340)]['createInstance'](Fe,this[_0x5b4cf3(0x321)],this[_0x5b4cf3(0x550)],this[_0x5b4cf3(0x470)]);}}return _0x55fac7[_0x5b4cf3(0x37e)](),_0x55fac7;}catch(_0x48a6aa){return this[_0x5b4cf3(0x2d8)]['error'](_0x5b4cf3(0x2d7),_0x5b4cf3(0x16f),_0x48a6aa),this[_0x5b4cf3(0x340)][_0x5b4cf3(0x4d0)](Re,this[_0x5b4cf3(0x321)],this[_0x5b4cf3(0x550)],this[_0x5b4cf3(0x1c0)],this[_0x5b4cf3(0x193)],this[_0x5b4cf3(0x470)],!0x1);}}[_0x3a0f4f(0x297)](){const _0x1604a0=_0x3a0f4f;throw new Error(_0x1604a0(0x1e7));}[_0x3a0f4f(0x2f0)](_0x514a5c){const _0x54c065=_0x3a0f4f;return this[_0x54c065(0x193)]['push'](_0x514a5c),this;}[_0x3a0f4f(0x167)](_0x3867b5){const _0x493844=_0x3a0f4f;return this[_0x493844(0x331)][_0x493844(0x43f)](_0x3867b5),this;}[_0x3a0f4f(0x44a)](_0x28f72a){const _0x27527e=_0x3a0f4f;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x27527e(0x1c0)]=null,this;throw new Error(_0x27527e(0x449));}[_0x3a0f4f(0x1c4)](_0x1200dc){const _0x38efff=_0x3a0f4f;return this['_onConflict'](!!(_0x1200dc!=null&&_0x1200dc[_0x38efff(0x533)]));}[_0x3a0f4f(0x169)](){return this;}[_0x3a0f4f(0x149)](){const _0x4e74d2=_0x3a0f4f;return this[_0x4e74d2(0x340)]['createInstance'](Oe,this[_0x4e74d2(0x321)],this[_0x4e74d2(0x550)],this[_0x4e74d2(0x1c0)],this[_0x4e74d2(0x193)],this[_0x4e74d2(0x470)]);}['toggleOnline'](){return this;}['_onConflict'](_0x2f780e){const _0x47b00d=_0x3a0f4f;return this['_injector'][_0x47b00d(0x4d0)](Re,this['unitID'],this[_0x47b00d(0x550)],this[_0x47b00d(0x1c0)],this[_0x47b00d(0x193)],this[_0x47b00d(0x470)],_0x2f780e);}};ce=$e([A(0x7,_0x4a6309(_0x5b64e2)),A(0x8,_0x4a6309(_0xf29fa)),A(0x9,_0x4a6309(z)),A(0xa,_0x4c9627),A(0xb,_0x21538e),A(0xc,_0x28c671),A(0xd,_0x4a14e2)],ce);function Ji(_0x270146,_0x2be723,_0x49f53f,_0x1cfbb4,_0x3ed013,_0x31c877){const _0x2e9db1=_0x3a0f4f;return _0x1cfbb4&&_0x3ed013[_0x2e9db1(0x312)]?_0x270146['createInstance'](me,_0x2be723,_0x49f53f,_0x1cfbb4,_0x3ed013,_0x31c877,void 0x0):_0x1cfbb4?_0x270146[_0x2e9db1(0x4d0)](Te,_0x2be723,_0x49f53f,_0x1cfbb4,_0x31c877):_0x3ed013[_0x2e9db1(0x312)]?_0x270146[_0x2e9db1(0x4d0)](pe,_0x2be723,_0x49f53f,_0x3ed013,_0x31c877):_0x270146[_0x2e9db1(0x4d0)](Fe,_0x2be723,_0x49f53f,_0x31c877);}var Mo=Object[_0x3a0f4f(0x40a)],xo=Object[_0x3a0f4f(0x409)],Ps=(_0x2dc69b,_0x45c7e4,_0xc74b00,_0x1e1423)=>{const _0x448084=_0x3a0f4f;for(var _0x38e453=_0x1e1423>0x1?void 0x0:_0x1e1423?xo(_0x45c7e4,_0xc74b00):_0x45c7e4,_0x2de4e9=_0x2dc69b[_0x448084(0x312)]-0x1,_0x2457e6;_0x2de4e9>=0x0;_0x2de4e9--)(_0x2457e6=_0x2dc69b[_0x2de4e9])&&(_0x38e453=(_0x1e1423?_0x2457e6(_0x45c7e4,_0xc74b00,_0x38e453):_0x2457e6(_0x38e453))||_0x38e453);return _0x1e1423&&_0x38e453&&Mo(_0x45c7e4,_0xc74b00,_0x38e453),_0x38e453;},H=(_0x1db62a,_0x4f04b7)=>(_0x486873,_0x27f0de)=>_0x4f04b7(_0x486873,_0x27f0de,_0x1db62a);let Nt=class extends _0x5a2d55{constructor(_0x507496,_0x4f67df,_0x3e3ac3,_0x54ad59,_0x192c34,_0x4fe7eb,_0xad761c,_0x32c24a,_0x40f577,_0x22e5af,_0x1bd09d,_0x390ee1,_0xa228b6){const _0x24d011=_0x3a0f4f;super(),g(this,_0x24d011(0x427),new _0x1f5fb9(null)),g(this,'state$',this[_0x24d011(0x427)][_0x24d011(0x3e7)]()),g(this,_0x24d011(0x389)),g(this,_0x24d011(0x32d),!0x1),g(this,_0x24d011(0x3a2),''),g(this,_0x24d011(0x131),0x0),g(this,_0x24d011(0x4fc),this[_0x24d011(0x285)][_0x24d011(0x2af)](_0x43379f(_0x34647f=>_0x34647f?_0x34647f[_0x24d011(0x35d)]:J[_0x24d011(0x275)]),_0xda1692(0x1))),g(this,_0x24d011(0x330),!0x1),g(this,_0x24d011(0x1cf),[]),(this['unitID']=_0x507496,this[_0x24d011(0x1fc)]=_0x4f67df,this[_0x24d011(0x3fb)]=_0x3e3ac3,this[_0x24d011(0x340)]=_0x54ad59,this['_localCacheService']=_0x192c34,this['_compressMutationService']=_0x4fe7eb,this[_0x24d011(0x369)]=_0xad761c,this[_0x24d011(0x480)]=_0x32c24a,this['_logService']=_0x40f577,this['_commandService']=_0x22e5af,this['_messageService']=_0x1bd09d,this['_permissionService']=_0x390ee1,this['_singleActiveUnitService']=_0xa228b6);}get[_0x3a0f4f(0x40b)](){return this['_state'];}async[_0x3a0f4f(0x1fe)](){const _0x324518=_0x3a0f4f;if(this[_0x324518(0x40b)])throw new Error(_0x324518(0x1c5));await this['_init']();}[_0x3a0f4f(0x1ec)](){const _0x4372cd=_0x3a0f4f;return this[_0x4372cd(0x32d)]=!0x0,_0x2ecc04(()=>{const _0xc32289=_0x4372cd;this[_0xc32289(0x32d)]=!0x1,this[_0xc32289(0x15b)]();});}['_updateState'](_0x267ff8){const _0x19b047=_0x3a0f4f;this[_0x19b047(0x389)]=_0x267ff8,this['_state$'][_0x19b047(0x25c)](_0x267ff8);}async[_0x3a0f4f(0x531)](){const _0x33c882=_0x3a0f4f;var _0x42482e;this[_0x33c882(0x173)](await this[_0x33c882(0x17d)]()),this[_0x33c882(0x478)]&&((_0x42482e=this[_0x33c882(0x478)])==null||_0x42482e[_0x33c882(0x1d3)](this[_0x33c882(0x321)]),this[_0x33c882(0x49b)](this[_0x33c882(0x478)]['getUnitStatus$'](this['unitID'])[_0x33c882(0x4f0)](_0x5b0436=>{const _0x4e7955=_0x33c882;this['_logService'][_0x4e7955(0x2db)](_0x4e7955(0x32b),_0x4e7955(0x1e0),_0x5b0436),_0x5b0436===Ki['OTHER_CLIENTS_EDITING']?(this[_0x4e7955(0x510)][_0x4e7955(0x4d8)]({'content':this[_0x4e7955(0x369)]['t'](_0x4e7955(0x4ec)),'type':_0x452c22[_0x4e7955(0x3f2)]}),this[_0x4e7955(0x222)][_0x4e7955(0x2f8)](new _0x102f56(this[_0x4e7955(0x321)])['id'],!0x1),this[_0x4e7955(0x222)][_0x4e7955(0x1de)](!0x1)):(this[_0x4e7955(0x222)]['updatePermissionPoint'](new _0x102f56(this[_0x4e7955(0x321)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0xea642a=!0x1;return this[_0x33c882(0x49b)](this[_0x33c882(0x1fc)][_0x33c882(0x517)][_0x33c882(0x4f0)](_0x17519f=>{const _0x453754=_0x33c882;_0x17519f===fe[_0x453754(0x4a9)]?this[_0x453754(0x2f4)](_0xea642a):_0x17519f===fe[_0x453754(0x275)]&&(_0xea642a=!0x0,this[_0x453754(0x1d4)]());})),this[_0x33c882(0x49b)](this[_0x33c882(0x1fc)]['event$'][_0x33c882(0x4f0)](_0x5a7221=>{const _0x4def9b=_0x33c882;try{switch(_0x5a7221[_0x4def9b(0x416)]){case _0x256e72['NEW_CHANGESETS']:{this[_0x4def9b(0x4b9)](_0x16c578(_0x5a7221[_0x4def9b(0x13f)]));break;}case _0x256e72[_0x4def9b(0x260)]:{this[_0x4def9b(0x164)](_0x5a7221[_0x4def9b(0x13f)]);break;}case _0x256e72[_0x4def9b(0x2d4)]:{this[_0x4def9b(0x2d6)]();break;}case _0x256e72[_0x4def9b(0x3bb)]:{this[_0x4def9b(0x2fc)](_0x5a7221[_0x4def9b(0x13f)]);break;}case _0x256e72[_0x4def9b(0x48c)]:{this[_0x4def9b(0x488)](_0x5a7221[_0x4def9b(0x13f)][_0x4def9b(0x38e)]['map'](_0x5a3819=>_0x16c578(_0x5a3819)));break;}case _0x256e72[_0x4def9b(0x1a0)]:this[_0x4def9b(0x2d6)]({'isPermissionRej':!0x0});}}catch(_0x2bacf1){throw console['error'](_0x4def9b(0x1b5),_0x2bacf1),_0x2bacf1;}})),this[_0x33c882(0x389)];}[_0x3a0f4f(0x41d)](){this['_transitionLocked']=!0x1;}[_0x3a0f4f(0x278)](){const _0x43e52e=_0x3a0f4f;if(this[_0x43e52e(0x330)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x43e52e(0x330)]=!0x0;}[_0x3a0f4f(0x282)](_0x49ccac){const _0x4f6a90=_0x3a0f4f;this[_0x4f6a90(0x278)](),this['_updateState'](this[_0x4f6a90(0x389)][_0x4f6a90(0x2f0)](_0x49ccac)),this[_0x4f6a90(0x41d)]();}['_onRemoteChangeset'](_0x18c103){const _0x4ce735=_0x3a0f4f;if(!(_0x18c103['revision']<=this['_revisionService'][_0x4ce735(0x528)](this['unitID']))){if(this[_0x4ce735(0x32d)]){this['_remoteChangesetQueue'][_0x4ce735(0x43f)](_0x18c103);return;}this['_applyRemoteChangeset'](_0x18c103);}}[_0x3a0f4f(0x15b)](){const _0x3f9c82=_0x3a0f4f;this[_0x3f9c82(0x1cf)][_0x3f9c82(0x444)](_0x455d59=>this['_applyRemoteChangeset'](_0x455d59)),this[_0x3f9c82(0x1cf)]=[];}[_0x3a0f4f(0x509)](_0x54b891){const _0xbfa7b5=_0x3a0f4f,_0x1dc83b=this['_compressMutationService']['interceptor'][_0xbfa7b5(0x38b)](this['_compressMutationService']['interceptor'][_0xbfa7b5(0x3c9)]()['COMPRESS_MUTATION_APPLY'])(_0x54b891['mutations'],null)||_0x54b891['mutations'],_0x4b9107={..._0x54b891,'mutations':_0x1dc83b};this[_0xbfa7b5(0x278)](),this['_updateState'](this[_0xbfa7b5(0x389)][_0xbfa7b5(0x167)](_0x4b9107)),this[_0xbfa7b5(0x41d)]();}[_0x3a0f4f(0x164)](_0x1e2343){const _0x814c5d=_0x3a0f4f;this['_lockTransition'](),this[_0x814c5d(0x173)](this[_0x814c5d(0x389)][_0x814c5d(0x44a)](_0x1e2343)),this[_0x814c5d(0x41d)]();}[_0x3a0f4f(0x2d6)](_0x359dd4){const _0x1d9aa0=_0x3a0f4f;this[_0x1d9aa0(0x278)](),this[_0x1d9aa0(0x173)](this[_0x1d9aa0(0x389)][_0x1d9aa0(0x1c4)](_0x359dd4)),this[_0x1d9aa0(0x41d)]();}[_0x3a0f4f(0x2fc)](_0x13353a){const _0x10aa16=_0x3a0f4f;this['_lockTransition'](),this[_0x10aa16(0x173)](this[_0x10aa16(0x389)][_0x10aa16(0x169)](_0x13353a)),this[_0x10aa16(0x41d)]();}[_0x3a0f4f(0x488)](_0x330cd4){const _0x3c743f=_0x3a0f4f;if(!(this[_0x3c743f(0x389)]instanceof ce))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x4f7e73=_0x330cd4[_0x3c743f(0x545)](_0x35d96f=>{const _0x1eb40a=_0x3c743f,_0x134687=this['_compressMutationService'][_0x1eb40a(0x4fe)][_0x1eb40a(0x38b)](this[_0x1eb40a(0x32e)][_0x1eb40a(0x4fe)][_0x1eb40a(0x3c9)]()[_0x1eb40a(0x37c)])(_0x35d96f[_0x1eb40a(0x4de)],null)||_0x35d96f[_0x1eb40a(0x4de)];return{..._0x35d96f,'mutations':_0x134687};});this['_lockTransition'](),this['_updateState'](this[_0x3c743f(0x389)][_0x3c743f(0x532)](_0x4f7e73)),this[_0x3c743f(0x41d)]();}[_0x3a0f4f(0x1d4)](){const _0x57f969=_0x3a0f4f;this[_0x57f969(0x278)](),this[_0x57f969(0x173)](this[_0x57f969(0x389)]['toggleOffline']()),this[_0x57f969(0x41d)]();}['_toggleOnline'](_0x277296=!0x1){const _0x2b7d3f=_0x3a0f4f;this[_0x2b7d3f(0x278)](),this[_0x2b7d3f(0x173)](this[_0x2b7d3f(0x389)][_0x2b7d3f(0x2cc)]()),this[_0x2b7d3f(0x41d)]();const _0x50d214=this[_0x2b7d3f(0x389)];_0x277296&&_0x50d214 instanceof Fe&&(this[_0x2b7d3f(0x278)](),this[_0x2b7d3f(0x173)](_0x50d214[_0x2b7d3f(0x3d8)]()),this[_0x2b7d3f(0x41d)]());}async[_0x3a0f4f(0x17d)](){return new Promise(_0x2e1353=>{const _0x404c87=_0x328b;this[_0x404c87(0x1fc)]['sessionStatus$']['pipe'](_0x448099(0x1))[_0x404c87(0x4f0)](async _0x19c4c5=>{const _0x6a19d=_0x404c87;_0x2e1353(await this[_0x6a19d(0x182)](_0x19c4c5===fe[_0x6a19d(0x4a9)]));});});}['_createHandler'](){const _0x453628=this['unitID'];return{'onStateChange':(_0x2d3998,_0x132fc4)=>{const _0x2b701a=_0x328b;if(_0x2d3998!==this[_0x2b701a(0x389)])throw new Error(_0x2b701a(0x154)+_0x2d3998[_0x2b701a(0x35d)]+_0x2b701a(0x48d)+_0x132fc4[_0x2b701a(0x35d)]+_0x2b701a(0x541)+this[_0x2b701a(0x389)][_0x2b701a(0x35d)]);this[_0x2b701a(0x173)](_0x132fc4);},'onSendChangeset':_0x9e3aa7=>{const _0x29d347=_0x328b;_0x9e3aa7['sid']||(_0x9e3aa7['sid']=this[_0x29d347(0x3a2)],_0x9e3aa7[_0x29d347(0x3ea)]=++this[_0x29d347(0x131)]);const _0x9d4d0a={'eventID':_0x256e72[_0x29d347(0x39c)],'data':{'unitID':_0x9e3aa7[_0x29d347(0x321)],'unitType':this['_type'],'changeset':_0x9e3aa7,'memberID':this['session'][_0x29d347(0x483)]()}};this[_0x29d347(0x1fc)][_0x29d347(0x233)](_0x9d4d0a,this[_0x29d347(0x321)]);},'onMissingChangesets':({from:_0x190510,to:_0x441dd1})=>{const _0x161eef=_0x328b;this[_0x161eef(0x2d8)][_0x161eef(0x2db)](_0x161eef(0x32b),_0x161eef(0x20e)+_0x190510+_0x161eef(0x49d)+_0x441dd1);const _0x10a500={'eventID':_0x256e72['FETCH_MISSING'],'data':{'unitID':_0x453628,'unitType':this[_0x161eef(0x3fb)],'from':_0x190510,'to':_0x441dd1}};this[_0x161eef(0x1fc)]['send'](_0x10a500,this[_0x161eef(0x321)]);}};}async['_createInitialStateImpl'](_0x5467f5){const _0xaa7c78=_0x3a0f4f;var _0x3a6024,_0x2bfd64;const _0x3c79b7=await this[_0xaa7c78(0x1dc)][_0xaa7c78(0x229)](this[_0xaa7c78(0x321)]),_0x226109=(_0x3a6024=_0x3c79b7==null?void 0x0:_0x3c79b7[_0xaa7c78(0x4de)])!=null?_0x3a6024:[],_0x1e5f42=(_0x2bfd64=_0x3c79b7==null?void 0x0:_0x3c79b7[_0xaa7c78(0x41f)])!=null?_0x2bfd64:null,_0x289471=!!(_0x1e5f42!=null&&_0x1e5f42['sid'])&&!!(_0x1e5f42!=null&&_0x1e5f42[_0xaa7c78(0x3ea)]);this['_changesetSessionId']=_0x289471?_0x1e5f42[_0xaa7c78(0x392)]:ho(),this[_0xaa7c78(0x131)]=_0x289471?_0x1e5f42[_0xaa7c78(0x3ea)]:0x0;const _0x2996e2=this[_0xaa7c78(0x321)];try{this[_0xaa7c78(0x55b)](_0x1e5f42,_0x226109);}catch(_0x3fdbb3){this[_0xaa7c78(0x2d8)]['error'](_0x3fdbb3);}const _0x5c3ec8=this[_0xaa7c78(0x191)]();if(_0x5467f5){const _0x19bc03=Ji(this[_0xaa7c78(0x340)],_0x2996e2,this[_0xaa7c78(0x3fb)],_0x1e5f42,_0x226109,_0x5c3ec8);return _0x19bc03 instanceof pe?_0x19bc03[_0xaa7c78(0x18a)]():(_0x19bc03 instanceof me||_0x19bc03 instanceof Te)&&_0x19bc03['resend'](),_0x19bc03;}return this[_0xaa7c78(0x340)][_0xaa7c78(0x4d0)](Oe,_0x2996e2,this[_0xaa7c78(0x3fb)],_0x1e5f42,_0x226109,_0x5c3ec8);}[_0x3a0f4f(0x55b)](_0x506525,_0x41be38){const _0x5aff88=_0x3a0f4f;var _0x27f52,_0x4aa9eb;const _0x2aa9c1=this[_0x5aff88(0x32e)][_0x5aff88(0x4fe)][_0x5aff88(0x38b)](this[_0x5aff88(0x32e)][_0x5aff88(0x4fe)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x27f52=_0x2aa9c1((_0x506525==null?void 0x0:_0x506525['mutations'])||[],null))==null||_0x27f52[_0x5aff88(0x444)](_0x5a809c=>this[_0x5aff88(0x418)][_0x5aff88(0x267)](_0x5a809c['id'],_0x5a809c['params'])),(_0x4aa9eb=_0x2aa9c1(_0x41be38||[],null))==null||_0x4aa9eb[_0x5aff88(0x444)](_0x225a42=>this[_0x5aff88(0x418)][_0x5aff88(0x267)](_0x225a42['id'],_0x225a42['params']));}};Nt=Ps([H(0x3,_0x4a6309(_0x5b64e2)),H(0x4,_0x4a6309(z)),H(0x5,_0x4a6309(_0x554187)),H(0x6,_0x4a6309(_0x440b58)),H(0x7,_0x4a6309(_0xf29fa)),H(0x8,_0x4c9627),H(0x9,_0x21538e),H(0xa,_0x138b55),H(0xb,_0x344f08),H(0xc,_0x4a0f17(jt))],Nt);let ls=class extends Nt{constructor(_0x1d63c7,_0x2cf9d3,_0xc0db13,_0x3bb2eb,_0x20e8f0,_0x557fa5,_0x496080,_0x4f0ff9,_0x454c80,_0x431618,_0x11c4f4,_0x2947c5,_0x221745,_0x1fee61,_0x5029b7,_0x5d7ab8,_0x4ca6e7,_0x43af7f){const _0x1bcdb3=_0x3a0f4f;super(_0x1d63c7,_0xc0db13,_0x2cf9d3,_0x3bb2eb,_0x20e8f0,_0x557fa5,_0x496080,_0x4f0ff9,_0x1fee61,_0x5029b7,_0x5d7ab8,_0x4ca6e7,_0x43af7f),this[_0x1bcdb3(0x321)]=_0x1d63c7,this[_0x1bcdb3(0x550)]=_0x2cf9d3,this['_docStateChangeManagerService']=_0x454c80,this[_0x1bcdb3(0x3a4)]=_0x431618,this[_0x1bcdb3(0x506)]=_0x11c4f4,this[_0x1bcdb3(0x43d)]=_0x2947c5,this[_0x1bcdb3(0x4a5)]=_0x221745;}[_0x3a0f4f(0x191)](){const _0x2db919=_0x3a0f4f,_0x5a1488=super[_0x2db919(0x191)]();return _0x5a1488[_0x2db919(0x46d)]=_0x19dc81=>this[_0x2db919(0x3a4)][_0x2db919(0x51a)](_0x19dc81),_0x5a1488[_0x2db919(0x190)]=_0x46473d=>this[_0x2db919(0x506)][_0x2db919(0x393)](_0x46473d),_0x5a1488['onTransformSelections']=_0x2cc076=>this[_0x2db919(0x43d)]['transformSelections'](_0x2cc076),_0x5a1488[_0x2db919(0x351)]=_0x2307f5=>this[_0x2db919(0x4a5)]['syncEditingCollabCursor'](_0x2307f5),_0x5a1488[_0x2db919(0x1b8)]=_0xa9f8e1=>this[_0x2db919(0x3a4)][_0x2db919(0x394)](_0xa9f8e1),_0x5a1488[_0x2db919(0x2d9)]=_0x1dee8f=>this[_0x2db919(0x506)][_0x2db919(0x394)](_0x1dee8f),_0x5a1488;}async['_init'](){const _0x5f27be=_0x3a0f4f,_0x61f98d=await super[_0x5f27be(0x531)]();return this[_0x5f27be(0x49b)](this[_0x5f27be(0x4e7)][_0x5f27be(0x30c)][_0x5f27be(0x2af)](_0x2a292b(this[_0x5f27be(0x220)]))['subscribe'](_0x567d25=>{const _0x447f1b=_0x5f27be;if(_0x567d25==null)return;const {unitId:_0x4203f4,redoState:_0x41ecbf,commandId:_0xad4ddd}=_0x567d25;if(_0x4203f4!==this[_0x447f1b(0x321)])return;const _0x29307e={'id':_0xad4ddd,'type':_0x49b017[_0x447f1b(0x2b3)],'params':{'unitId':_0x4203f4,'actions':_0x41ecbf['actions'],'textRanges':null}};this[_0x447f1b(0x282)](_0x29307e);})),this[_0x5f27be(0x49b)](this['_commandService'][_0x5f27be(0x40d)]((_0x31fd99,_0x6b80e3)=>{const _0x4e03bb=_0x5f27be;if(_0x31fd99[_0x4e03bb(0x550)]!==_0x49b017['MUTATION']||_0x6b80e3!=null&&_0x6b80e3['fromCollab']||_0x6b80e3!=null&&_0x6b80e3[_0x4e03bb(0x2d0)]||_0x31fd99['id']===_0x69a97a['id'])return;const _0x3f3a7e=_0x31fd99[_0x4e03bb(0x1f7)];if((_0x3f3a7e==null?void 0x0:_0x3f3a7e[_0x4e03bb(0x492)])!==this['unitID'])return;const _0xf35c6a=_0x31fd99,_0x362cd7=this[_0x4e03bb(0x32e)]['interceptor'][_0x4e03bb(0x38b)](this[_0x4e03bb(0x32e)][_0x4e03bb(0x4fe)]['getInterceptPoints']()[_0x4e03bb(0x501)])([_0xf35c6a],null)||[_0xf35c6a];this['_onLocalMutation'](_0x362cd7[0x0]);})),_0x61f98d;}};ls=Ps([H(0x3,_0x4a6309(_0x5b64e2)),H(0x4,_0x4a6309(z)),H(0x5,_0x4a6309(_0x554187)),H(0x6,_0x4a6309(_0x440b58)),H(0x7,_0x4a6309(_0xf29fa)),H(0x8,_0x4a6309(_0x35bc43)),H(0x9,_0x4a6309(yt)),H(0xa,_0x4a6309(Dt)),H(0xb,_0x4a6309(Pt)),H(0xc,_0x4a6309(Ds)),H(0xd,_0x4c9627),H(0xe,_0x21538e),H(0xf,_0x138b55),H(0x10,_0x344f08),H(0x11,_0x4a0f17(jt))],ls);let _s=class extends Nt{constructor(_0x4e548f,_0x35f6a1,_0x5394dc,_0x2d7b8b,_0x4a8faf,_0x286b48,_0xb4ab56,_0x590261,_0x581ab5,_0x18fa98,_0x355564,_0x4b364d,_0x27932a,_0xf661c8){const _0x4b05a3=_0x3a0f4f;super(_0x4e548f,_0x5394dc,_0x35f6a1,_0x2d7b8b,_0x4a8faf,_0x286b48,_0xb4ab56,_0x590261,_0x18fa98,_0x355564,_0x4b364d,_0x27932a,_0xf661c8),this['unitID']=_0x4e548f,this[_0x4b05a3(0x550)]=_0x35f6a1,this['_sheetTransformSelectionsService']=_0x581ab5;}[_0x3a0f4f(0x191)](){const _0x12bdff=_0x3a0f4f,_0x11b608=super[_0x12bdff(0x191)]();return _0x11b608[_0x12bdff(0x458)]=_0x19c448=>this[_0x12bdff(0x159)][_0x12bdff(0x325)](_0x19c448),_0x11b608;}async[_0x3a0f4f(0x531)](){const _0x52fe9f=_0x3a0f4f,_0x836733=await super[_0x52fe9f(0x531)]();return this[_0x52fe9f(0x49b)](this['_commandService'][_0x52fe9f(0x40d)]((_0x22d764,_0x22f7aa)=>{const _0x4de0fe=_0x52fe9f;if(_0x22d764[_0x4de0fe(0x550)]!==_0x49b017[_0x4de0fe(0x2b3)]||_0x22f7aa!=null&&_0x22f7aa[_0x4de0fe(0x4ea)]||_0x22f7aa!=null&&_0x22f7aa['onlyLocal'])return;const _0x11f915=_0x22d764[_0x4de0fe(0x1f7)];if((_0x11f915==null?void 0x0:_0x11f915[_0x4de0fe(0x492)])!==this[_0x4de0fe(0x321)])return;const _0x511795=_0x22d764,_0x300625=this[_0x4de0fe(0x32e)][_0x4de0fe(0x4fe)][_0x4de0fe(0x38b)](this[_0x4de0fe(0x32e)][_0x4de0fe(0x4fe)][_0x4de0fe(0x3c9)]()['COMPRESS_MUTATION_SEND'])([_0x511795],null)||[_0x511795];this[_0x4de0fe(0x282)](_0x300625[0x0]);})),_0x836733;}};_s=Ps([H(0x3,_0x4a6309(_0x5b64e2)),H(0x4,_0x4a6309(z)),H(0x5,_0x4a6309(_0x554187)),H(0x6,_0x4a6309(_0x440b58)),H(0x7,_0x4a6309(_0xf29fa)),H(0x8,_0x4a6309(wt)),H(0x9,_0x4c9627),H(0xa,_0x21538e),H(0xb,_0x138b55),H(0xc,_0x344f08),H(0xd,_0x4a0f17(jt))],_s);var Lo=Object['defineProperty'],$o=Object['getOwnPropertyDescriptor'],Ho=(_0x496222,_0x267d71,_0x39ee91,_0xbda294)=>{const _0x2c05ef=_0x3a0f4f;for(var _0x1af14a=_0xbda294>0x1?void 0x0:_0xbda294?$o(_0x267d71,_0x39ee91):_0x267d71,_0x8c18fa=_0x496222[_0x2c05ef(0x312)]-0x1,_0x3dd57d;_0x8c18fa>=0x0;_0x8c18fa--)(_0x3dd57d=_0x496222[_0x8c18fa])&&(_0x1af14a=(_0xbda294?_0x3dd57d(_0x267d71,_0x39ee91,_0x1af14a):_0x3dd57d(_0x1af14a))||_0x1af14a);return _0xbda294&&_0x1af14a&&Lo(_0x267d71,_0x39ee91,_0x1af14a),_0x1af14a;},zt=(_0x28fc91,_0x286d64)=>(_0x539c28,_0x507e54)=>_0x286d64(_0x539c28,_0x507e54,_0x28fc91);let rt=class extends _0x5a2d55{constructor(_0x469714,_0x336720,_0x1742b5){const _0x7c62a3=_0x3a0f4f;super(),g(this,_0x7c62a3(0x45c),new Map()),g(this,_0x7c62a3(0x398),new _0x4c5eca()),(this['_injector']=_0x469714,this[_0x7c62a3(0x4c7)]=_0x336720,this[_0x7c62a3(0x345)]=_0x1742b5,this[_0x7c62a3(0x531)]());}[_0x3a0f4f(0x262)](){const _0x1bf79a=_0x3a0f4f;super['dispose'](),this[_0x1bf79a(0x45c)][_0x1bf79a(0x444)](_0x5c370a=>_0x5c370a[_0x1bf79a(0x262)]()),this[_0x1bf79a(0x45c)][_0x1bf79a(0x319)]();}[_0x3a0f4f(0x1f5)](_0x556f33){const _0x564779=_0x3a0f4f;var _0x5a32fd;return(_0x5a32fd=this[_0x564779(0x45c)][_0x564779(0x204)](_0x556f33))!=null?_0x5a32fd:null;}['getCollabEntity$'](_0x4b5a43){const _0x10e3dd=_0x3a0f4f,_0xd63b79=this[_0x10e3dd(0x1f5)](_0x4b5a43);return _0xd63b79?_0x1209b8(_0xd63b79):this[_0x10e3dd(0x398)][_0x10e3dd(0x2af)](_0x3b2257(_0x1e8514=>_0x1e8514[_0x10e3dd(0x321)]===_0x4b5a43));}[_0x3a0f4f(0x531)](){const _0x365ea2=_0x3a0f4f;this['_univerInstanceService'][_0x365ea2(0x2f3)](_0x363a0b['UNIVER_SHEET'])[_0x365ea2(0x2af)](_0x2a292b(this[_0x365ea2(0x220)]),_0x3b85e2(0x10))['subscribe'](async _0x3a60e8=>{const _0xf86f35=_0x365ea2,_0x5504e8=_0x3a60e8[_0xf86f35(0x1eb)](),_0x251bd7=await this[_0xf86f35(0x38a)](_0x5504e8,ae[_0xf86f35(0x12e)]);this[_0xf86f35(0x45c)]['set'](_0x5504e8,_0x251bd7);}),this['_univerInstanceService'][_0x365ea2(0x2f3)](_0x363a0b[_0x365ea2(0x12b)])[_0x365ea2(0x2af)](_0x2a292b(this[_0x365ea2(0x220)]),_0x3b85e2(0x10))[_0x365ea2(0x2af)](_0x3b2257(_0x2f74e9=>!_0x2f74e9[_0x365ea2(0x1eb)]()[_0x365ea2(0x2b2)]('__')))[_0x365ea2(0x4f0)](async _0x4a039e=>{const _0x21f0a1=_0x365ea2,_0x2ae2f4=_0x4a039e[_0x21f0a1(0x1eb)](),_0x23a880=await this[_0x21f0a1(0x38a)](_0x2ae2f4,ae[_0x21f0a1(0x12b)]);this[_0x21f0a1(0x45c)]['set'](_0x2ae2f4,_0x23a880);}),_0x4bd8ea(this[_0x365ea2(0x345)][_0x365ea2(0x308)](_0x363a0b[_0x365ea2(0x12e)]),this['_univerInstanceService'][_0x365ea2(0x308)](_0x363a0b['UNIVER_DOC']))['pipe'](_0x2a292b(this['dispose$']))[_0x365ea2(0x4f0)](_0xb2fd8d=>{const _0x3327cb=_0x365ea2,_0x45aeef=_0xb2fd8d[_0x3327cb(0x1eb)](),_0x3474e2=this[_0x3327cb(0x45c)][_0x3327cb(0x204)](_0x45aeef);_0x3474e2&&(_0x3474e2[_0x3327cb(0x262)](),this[_0x3327cb(0x45c)][_0x3327cb(0x4d6)](_0x45aeef));});}async[_0x3a0f4f(0x38a)](_0x4e2db0,_0x4615b4){const _0x4029cb=_0x3a0f4f,_0x565471=await this[_0x4029cb(0x4c7)][_0x4029cb(0x25a)](_0x4e2db0),_0x1d1644=this[_0x4029cb(0x340)]['createInstance'](this['_getCtorByUniverType'](_0x4615b4),_0x4e2db0,_0x4615b4,_0x565471);return await _0x1d1644[_0x4029cb(0x1fe)](),this[_0x4029cb(0x398)][_0x4029cb(0x25c)](_0x1d1644),_0x1d1644;}[_0x3a0f4f(0x207)](_0x4855af){const _0x4c19b7=_0x3a0f4f;switch(_0x4855af){case ae[_0x4c19b7(0x12b)]:return ls;case ae[_0x4c19b7(0x12e)]:return _s;default:throw new Error(_0x4c19b7(0x1ca)+_0x4855af);}}};rt=Ho([zt(0x0,_0x4a6309(_0x5b64e2)),zt(0x1,_0x4a6309(xe)),zt(0x2,_0x3dee00)],rt);var jo=Object[_0x3a0f4f(0x40a)],Bo=Object[_0x3a0f4f(0x409)],ko=(_0x5d05f4,_0xa9b749,_0x461636,_0x2c88f3)=>{const _0x277dfc=_0x3a0f4f;for(var _0x2900f1=_0x2c88f3>0x1?void 0x0:_0x2c88f3?Bo(_0xa9b749,_0x461636):_0xa9b749,_0x4a91ea=_0x5d05f4[_0x277dfc(0x312)]-0x1,_0x398d20;_0x4a91ea>=0x0;_0x4a91ea--)(_0x398d20=_0x5d05f4[_0x4a91ea])&&(_0x2900f1=(_0x2c88f3?_0x398d20(_0xa9b749,_0x461636,_0x2900f1):_0x398d20(_0x2900f1))||_0x2900f1);return _0x2c88f3&&_0x2900f1&&jo(_0xa9b749,_0x461636,_0x2900f1),_0x2900f1;},ti=(_0x4efa43,_0x39312a)=>(_0x2d42c3,_0x137236)=>_0x39312a(_0x2d42c3,_0x137236,_0x4efa43);let Ut=class extends _0x5a2d55{constructor(_0x96201a,_0x2ddc4f){const _0x5ed51e=_0x3a0f4f;super(),this[_0x5ed51e(0x534)]=_0x96201a,this[_0x5ed51e(0x206)]=_0x2ddc4f,this[_0x5ed51e(0x531)]();}[_0x3a0f4f(0x531)](){const _0x2337d4=_0x3a0f4f,_0x3d1a22=this;this[_0x2337d4(0x49b)](this['_docClipboardService'][_0x2337d4(0x3d2)]({'onBeforePasteImage':async _0x31b3b8=>{const _0x5aaa08=_0x2337d4,_0x2da2c8=await _0x3d1a22[_0x5aaa08(0x206)][_0x5aaa08(0x44e)](_0x31b3b8);return _0x2da2c8?{'source':_0x2da2c8['source'],'imageSourceType':_0x2da2c8[_0x5aaa08(0x2a4)]}:null;}}));}};Ut=ko([ti(0x0,_0x5c3a88),ti(0x1,_0x543428)],Ut);const si=[_0x3a0f4f(0x3ee),_0x3a0f4f(0x554),'verdancy600',_0x3a0f4f(0x405),_0x3a0f4f(0x130),_0x3a0f4f(0x1af)];class Ns extends _0x27d038{constructor(){const _0x3cb3b4=_0x3a0f4f;super(...arguments),g(this,_0x3cb3b4(0x150),new Map()),g(this,_0x3cb3b4(0x4e9),0x0);}[_0x3a0f4f(0x4bd)](_0x5446d0){const _0x8cf165=_0x3a0f4f;if(this[_0x8cf165(0x150)]['has'](_0x5446d0))return this['_assignedColors'][_0x8cf165(0x204)](_0x5446d0);const _0x6b5c74=si[this[_0x8cf165(0x4e9)]];return this[_0x8cf165(0x4e9)]=(this[_0x8cf165(0x4e9)]+0x1)%si[_0x8cf165(0x312)],this[_0x8cf165(0x150)][_0x8cf165(0x4d9)](_0x5446d0,_0x6b5c74),_0x6b5c74;}}var Wo=Object[_0x3a0f4f(0x40a)],Fo=Object[_0x3a0f4f(0x409)],Vo=(_0x1865fd,_0x4ae6d3,_0x46c0fd,_0x437e55)=>{const _0x49e74c=_0x3a0f4f;for(var _0x38de61=_0x437e55>0x1?void 0x0:_0x437e55?Fo(_0x4ae6d3,_0x46c0fd):_0x4ae6d3,_0x1875de=_0x1865fd[_0x49e74c(0x312)]-0x1,_0x2fce6d;_0x1875de>=0x0;_0x1875de--)(_0x2fce6d=_0x1865fd[_0x1875de])&&(_0x38de61=(_0x437e55?_0x2fce6d(_0x4ae6d3,_0x46c0fd,_0x38de61):_0x2fce6d(_0x38de61))||_0x38de61);return _0x437e55&&_0x38de61&&Wo(_0x4ae6d3,_0x46c0fd,_0x38de61),_0x38de61;},we=(_0xed7e41,_0x3684da)=>(_0x619e71,_0x1aa85a)=>_0x3684da(_0x619e71,_0x1aa85a,_0xed7e41);const Go=0x12c,Yo=0x64;let us=class extends _0x5a2d55{constructor(_0x17f023,_0x1df3b4,_0x172cf4,_0x5c65b5,_0x4d7b0f,_0xb7c3e1,_0x2899cc,_0x1ac090,_0x4eb5b2){const _0x2fb98d=_0x3a0f4f;super(),g(this,_0x2fb98d(0x2f9),!0x1),g(this,_0x2fb98d(0x531),!0x1),g(this,_0x2fb98d(0x4f7),new _0x1f5fb9(new Map())),g(this,_0x2fb98d(0x41a),this[_0x2fb98d(0x4f7)][_0x2fb98d(0x3e7)]()),g(this,_0x2fb98d(0x293),new _0x1f5fb9([])),g(this,_0x2fb98d(0x454),this[_0x2fb98d(0x293)][_0x2fb98d(0x2af)](_0x33cff6(Go))),g(this,_0x2fb98d(0x457),_0xcb384c(_0x36e99a=>{const _0x708369=_0x2fb98d,_0x5553f0={'eventID':_0x256e72[_0x708369(0x2dd)],'data':{'unitID':this['unitID'],'memberID':this[_0x708369(0x2f6)][_0x708369(0x483)](),'selection':qi(_0x36e99a)}};this[_0x708369(0x2f6)][_0x708369(0x233)](_0x5553f0,this[_0x708369(0x321)]);},Yo)),(this[_0x2fb98d(0x321)]=_0x17f023,this[_0x2fb98d(0x2f6)]=_0x1df3b4,this[_0x2fb98d(0x340)]=_0x172cf4,this[_0x2fb98d(0x362)]=_0x5c65b5,this[_0x2fb98d(0x2e8)]=_0x4d7b0f,this[_0x2fb98d(0x277)]=_0xb7c3e1,this[_0x2fb98d(0x20a)]=_0x2899cc,this[_0x2fb98d(0x345)]=_0x1ac090,this[_0x2fb98d(0x418)]=_0x4eb5b2);}get[_0x3a0f4f(0x3dc)](){const _0x5f00df=_0x3a0f4f;return this[_0x5f00df(0x4f7)]['getValue']();}get[_0x3a0f4f(0x1e9)](){const _0x556c30=_0x3a0f4f;return this[_0x556c30(0x293)][_0x556c30(0x4c8)]();}[_0x3a0f4f(0x262)](){const _0x1d8673=_0x3a0f4f;super[_0x1d8673(0x262)](),this[_0x1d8673(0x4f7)][_0x1d8673(0x25c)](new Map()),this[_0x1d8673(0x4f7)][_0x1d8673(0x221)](),this[_0x1d8673(0x293)][_0x1d8673(0x25c)]([]),this[_0x1d8673(0x293)][_0x1d8673(0x221)]();}[_0x3a0f4f(0x1fe)](){const _0x35e25a=_0x3a0f4f;this[_0x35e25a(0x531)]||(this[_0x35e25a(0x531)]=!0x0,this['_session'][_0x35e25a(0x517)][_0x35e25a(0x2af)](_0x2a292b(this[_0x35e25a(0x220)]))[_0x35e25a(0x4f0)](_0x524cda=>{const _0x40a566=_0x35e25a;_0x524cda===fe['ONLINE']?this[_0x40a566(0x2f4)]():this[_0x40a566(0x1d4)]();}),this[_0x35e25a(0x2f6)][_0x35e25a(0x2f7)]['pipe'](_0x2a292b(this[_0x35e25a(0x220)]))[_0x35e25a(0x4f0)](_0x4989fa=>{const _0x2b1163=_0x35e25a,_0x202d4a=_0x4989fa[_0x2b1163(0x416)];_0x202d4a===_0x256e72[_0x2b1163(0x2dd)]&&this[_0x2b1163(0x4fd)](_0x4989fa),_0x202d4a===_0x256e72['USERS_LEAVE']&&this[_0x2b1163(0x1df)](_0x4989fa);}),this[_0x35e25a(0x49b)](this[_0x35e25a(0x418)][_0x35e25a(0x40d)](_0x11bcbd=>{const _0x5d0dec=_0x35e25a,_0x541b80=_0x11bcbd['params'];_0x541b80!=null&&this[_0x5d0dec(0x2f9)]&&_0x11bcbd['id']===_0x245f97['id']&&_0x541b80[_0x5d0dec(0x492)]===this[_0x5d0dec(0x321)]&&_0x541b80[_0x5d0dec(0x4e3)]===!0x1&&_0x541b80[_0x5d0dec(0x4ad)][_0x5d0dec(0x312)]>0x0&&this['_updateLocalCursor'](_0x541b80[_0x5d0dec(0x4ad)]);})),this['_syncEditingCollabCursorService'][_0x35e25a(0x33e)][_0x35e25a(0x2af)](_0x2a292b(this[_0x35e25a(0x220)]))[_0x35e25a(0x4f0)](_0x330af6=>{const _0xe2a252=_0x35e25a;if((_0x330af6==null?void 0x0:_0x330af6[_0xe2a252(0x321)])!==this[_0xe2a252(0x321)])return;const _0x1c1c76={'eventID':_0x256e72['UPDATE_CURSOR'],'data':_0x330af6};this['_onCursorUpdate'](_0x1c1c76);}),this[_0x35e25a(0x49b)](this[_0x35e25a(0x418)]['onCommandExecuted'](_0x100539=>{const _0x582cc8=_0x35e25a;if(_0x100539[_0x582cc8(0x1f7)]==null)return;const _0xc910b9=_0x100539[_0x582cc8(0x1f7)];if(_0x100539['id']!==_0x69a97a['id']||_0xc910b9[_0x582cc8(0x492)]!==this['unitID'])return;const _0x2e7f22={'id':_0x582cc8(0x310),'params':_0xc910b9},_0x485533=this[_0x582cc8(0x3dc)];for(const [_0x56bea1,_0x3f13a9]of _0x485533){const _0x370e3b={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x582cc8(0x321)],'actions':null,'textRanges':_0x3f13a9[_0x582cc8(0x4ad)]}},_0x46e5e2=this[_0x582cc8(0x20a)][_0x582cc8(0x313)](_0x2e7f22,_0x370e3b,!0x1);if(_0x2a1d0d(_0x46e5e2))throw _0x46e5e2['error'];_0x485533[_0x582cc8(0x4d9)](_0x56bea1,{..._0x3f13a9,'ranges':_0x46e5e2[_0x582cc8(0x38c)][_0x582cc8(0x1f7)]['textRanges']});}queueMicrotask(()=>{const _0x5d21aa=_0x582cc8;this[_0x5d21aa(0x4f7)]['next'](_0x485533);});})));}[_0x3a0f4f(0x4fd)](_0x1f1149){const _0x2357f0=_0x3a0f4f;var _0x2d72f4,_0x34f8a5;const {memberID:_0x3ea78c,selection:_0x291802}=_0x1f1149[_0x2357f0(0x13f)],_0x13f42a=Ro(_0x291802),_0x3b9cd0=(_0x34f8a5=(_0x2d72f4=this[_0x2357f0(0x2e8)][_0x2357f0(0x4d3)](this[_0x2357f0(0x321)],_0x3ea78c))==null?void 0x0:_0x2d72f4[_0x2357f0(0x346)])!=null?_0x34f8a5:_0x2357f0(0x33d),_0x439dd0={'color':this[_0x2357f0(0x362)]['assignAColorForMemberID'](_0x3ea78c),'name':_0x3b9cd0,'ranges':_0x13f42a},_0x2b1e6a=this['cursorInfo'];_0x2b1e6a[_0x2357f0(0x4d9)](_0x3ea78c,_0x439dd0),this[_0x2357f0(0x4f7)][_0x2357f0(0x25c)](_0x2b1e6a);}['_onCursorDelete'](_0x4e9d6b){const _0x30c88c=_0x3a0f4f,{memberID:_0x2560f5}=_0x4e9d6b[_0x30c88c(0x13f)],_0x244499=this[_0x30c88c(0x3dc)];_0x244499[_0x30c88c(0x4d6)](_0x2560f5),this[_0x30c88c(0x4f7)][_0x30c88c(0x25c)](_0x244499);}[_0x3a0f4f(0x2f4)](){const _0x23de56=_0x3a0f4f;var _0x17cbb7;if(this[_0x23de56(0x2f9)]=!0x0,((_0x17cbb7=this['_univerInstanceService'][_0x23de56(0x327)]())==null?void 0x0:_0x17cbb7[_0x23de56(0x1eb)]())!==this[_0x23de56(0x321)])return;const _0x22d9c8=this['_injector'][_0x23de56(0x204)](_0x2fa7fd)[_0x23de56(0x371)]();Array[_0x23de56(0x248)](_0x22d9c8)&&_0x22d9c8[_0x23de56(0x312)]>0x0&&this['_updateLocalCursor'](_0x22d9c8);}['_toggleOffline'](){const _0xbc4557=_0x3a0f4f;this[_0xbc4557(0x2f9)]=!0x1;}};us=Vo([we(0x2,_0x4a6309(_0x5b64e2)),we(0x3,_0x4a6309(Ns)),we(0x4,_0x4a6309(Me)),we(0x5,_0x4a6309(Ds)),we(0x6,_0x4a14e2),we(0x7,_0x3dee00),we(0x8,_0x21538e)],us);var Ko=Object[_0x3a0f4f(0x40a)],qo=Object[_0x3a0f4f(0x409)],zo=(_0x39bb17,_0x100092,_0x1ed559,_0x151615)=>{const _0xd5b5b3=_0x3a0f4f;for(var _0x5e6192=_0x151615>0x1?void 0x0:_0x151615?qo(_0x100092,_0x1ed559):_0x100092,_0x4fa374=_0x39bb17[_0xd5b5b3(0x312)]-0x1,_0x4583bd;_0x4fa374>=0x0;_0x4fa374--)(_0x4583bd=_0x39bb17[_0x4fa374])&&(_0x5e6192=(_0x151615?_0x4583bd(_0x100092,_0x1ed559,_0x5e6192):_0x4583bd(_0x5e6192))||_0x5e6192);return _0x151615&&_0x5e6192&&Ko(_0x100092,_0x1ed559,_0x5e6192),_0x5e6192;},Be=(_0x142f78,_0x3fec6b)=>(_0x1a6052,_0x19a823)=>_0x3fec6b(_0x1a6052,_0x19a823,_0x142f78);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0x5f1569=[],_0x559119=!0x1;return _0x40f172=>{_0x5f1569['push'](_0x40f172),_0x559119||(_0x559119=!0x0,setTimeout(()=>{const _0x468218=_0x328b;_0x5f1569[_0x468218(0x444)](_0x47616e=>_0x47616e()),_0x5f1569=[],_0x559119=!0x1;}));};};let ds=class extends _0x5a2d55{constructor(_0x4e7022,_0x172b4e,_0x286d82,_0x4c4e96,_0x3e6827,_0x4d0b2c,_0x5ac3fc,_0x9f9bb2){const _0x4589a6=_0x3a0f4f;super(),g(this,_0x4589a6(0x2f9),!0x1),g(this,_0x4589a6(0x531),!0x1),g(this,_0x4589a6(0x4f7),new _0x1f5fb9(new Map())),g(this,_0x4589a6(0x41a),this[_0x4589a6(0x4f7)]['asObservable']()),g(this,_0x4589a6(0x293),new _0x1f5fb9([])),g(this,_0x4589a6(0x454),this[_0x4589a6(0x293)]['pipe'](_0x33cff6(Xo))),g(this,'_updateLocalCursor',_0xcb384c((_0x5f3d4a,_0x3b90da)=>{const _0x1fe43c=_0x4589a6,_0x2909a2={'eventID':_0x256e72[_0x1fe43c(0x2dd)],'data':{'unitID':this[_0x1fe43c(0x321)],'memberID':this[_0x1fe43c(0x2f6)]['getMemberID'](),'selection':_0x3da574(_0x5f3d4a,_0x3b90da[_0x1fe43c(0x4c0)])}};this['_session'][_0x1fe43c(0x233)](_0x2909a2,this[_0x1fe43c(0x321)]);},Jo)),(this['unitID']=_0x4e7022,this[_0x4589a6(0x2f6)]=_0x172b4e,this[_0x4589a6(0x340)]=_0x286d82,this[_0x4589a6(0x362)]=_0x4c4e96,this[_0x4589a6(0x2e8)]=_0x3e6827,this[_0x4589a6(0x345)]=_0x4d0b2c,this[_0x4589a6(0x418)]=_0x5ac3fc,this['_refRangeService']=_0x9f9bb2);}get['cursorInfo'](){const _0x433382=_0x3a0f4f;return this[_0x433382(0x4f7)]['getValue']();}get[_0x3a0f4f(0x1e9)](){const _0x24869d=_0x3a0f4f;return this['_roomMembers$'][_0x24869d(0x4c8)]();}[_0x3a0f4f(0x262)](){const _0x29d958=_0x3a0f4f;super[_0x29d958(0x262)](),this[_0x29d958(0x4f7)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x29d958(0x293)][_0x29d958(0x25c)]([]),this[_0x29d958(0x293)]['complete']();}[_0x3a0f4f(0x1fe)](){const _0x80caed=_0x3a0f4f;this['_init']||(this['_init']=!0x0,this[_0x80caed(0x2f6)][_0x80caed(0x517)][_0x80caed(0x2af)](_0x2a292b(this['dispose$']))[_0x80caed(0x4f0)](_0x1b7f87=>{const _0x9a64bd=_0x80caed;_0x1b7f87===fe[_0x9a64bd(0x4a9)]?this['_toggleOnline']():this[_0x9a64bd(0x1d4)]();}),this[_0x80caed(0x2f6)][_0x80caed(0x2f7)][_0x80caed(0x2af)](_0x2a292b(this[_0x80caed(0x220)]))[_0x80caed(0x4f0)](_0x316e10=>{const _0x36403e=_0x80caed,_0x1f5ab8=_0x316e10['eventID'];_0x1f5ab8===_0x256e72[_0x36403e(0x2dd)]&&this[_0x36403e(0x4fd)](_0x316e10),_0x1f5ab8===_0x256e72[_0x36403e(0x245)]&&this[_0x36403e(0x1df)](_0x316e10);}),this[_0x80caed(0x21b)](),this[_0x80caed(0x49b)](this[_0x80caed(0x418)][_0x80caed(0x40d)](_0xcdcb1d=>{const _0x4868cb=_0x80caed;if(this['_online']&&_0xcdcb1d['id']===_0x7f4e83['id']&&_0xcdcb1d[_0x4868cb(0x1f7)][_0x4868cb(0x492)]===this['unitID']){const _0x33e5b9=_0xcdcb1d[_0x4868cb(0x1f7)];this[_0x4868cb(0x457)](_0x33e5b9['subUnitId'],_0x33e5b9[_0x4868cb(0x3d4)][0x0]);}})));}[_0x3a0f4f(0x4fd)](_0x9c375){const _0x279981=_0x3a0f4f;var _0x3a31f3,_0x151499;const {memberID:_0x7fe690,selection:_0x351938}=_0x9c375[_0x279981(0x13f)],{sheetName:_0x256caa,range:_0x158e6f}=_0x65a96d(_0x351938),_0x17e56a={'name':(_0x151499=(_0x3a31f3=this[_0x279981(0x2e8)][_0x279981(0x4d3)](this['unitID'],_0x7fe690))==null?void 0x0:_0x3a31f3[_0x279981(0x346)])!=null?_0x151499:_0x279981(0x33d),'range':this['_getMergeRange'](_0x256caa,_0x158e6f),'sheetID':_0x256caa,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x7fe690),'selection':_0x351938},_0x3dec00=this['cursorInfo'];_0x3dec00[_0x279981(0x4d9)](_0x7fe690,_0x17e56a),this[_0x279981(0x4f7)][_0x279981(0x25c)](_0x3dec00);}[_0x3a0f4f(0x1df)](_0x2eb1a0){const _0x353089=_0x3a0f4f,{memberID:_0x12faa7}=_0x2eb1a0[_0x353089(0x13f)],_0x4f35cb=this[_0x353089(0x3dc)];_0x4f35cb['delete'](_0x12faa7),this[_0x353089(0x4f7)][_0x353089(0x25c)](_0x4f35cb);}['_getMergeRange'](_0x521957,_0x1faa20){const _0x31170c=_0x3a0f4f;var _0x509656,_0x5046ab;const _0x38f653=(_0x5046ab=(_0x509656=this[_0x31170c(0x345)]['getUniverSheetInstance'](this[_0x31170c(0x321)]))==null?void 0x0:_0x509656[_0x31170c(0x143)](_0x521957))==null?void 0x0:_0x5046ab[_0x31170c(0x135)]();return(_0x38f653==null?void 0x0:_0x38f653[_0x31170c(0x16e)](_0x5b596e=>_0x1c27f3[_0x31170c(0x201)](_0x5b596e,_0x1faa20)))||_0x1faa20;}['_onRefRangeChange'](){const _0x1c07de=_0x3a0f4f,_0x270c0c=new _0x3d417d(),_0x52d0a=Zo(),_0x484bc4=()=>{const _0x26dafc=_0x328b;_0x270c0c[_0x26dafc(0x262)]();const _0x540d5d=(_0x5df316,_0x2161b3,_0x2399a7,_0xdfd18)=>{const _0x398468=_0x26dafc;let _0x10951d=[];switch(_0x5df316['id']){case _0x11147b['DeleteRangeMoveLeftCommandId']:{_0x10951d=_0xa21f6(_0x5df316,_0xdfd18);break;}case _0x11147b[_0x398468(0x375)]:{_0x10951d=_0x2c8df3(_0x5df316,_0xdfd18);break;}case _0x11147b['InsertColCommandId']:{_0x10951d=_0x19a0be(_0x5df316,_0xdfd18);break;}case _0x11147b['InsertRangeMoveDownCommandId']:{_0x10951d=_0x53f45d(_0x5df316,_0xdfd18);break;}case _0x11147b[_0x398468(0x4da)]:{_0x10951d=_0x570820(_0x5df316,_0xdfd18);break;}case _0x11147b[_0x398468(0x122)]:{_0x10951d=_0xda4b82(_0x5df316,_0xdfd18);break;}case _0x11147b[_0x398468(0x3b6)]:{_0x10951d=_0x66ba6d(_0x5df316,_0xdfd18);break;}case _0x11147b[_0x398468(0x525)]:{_0x10951d=_0x20eae7(_0x5df316,_0xdfd18);break;}case _0x11147b[_0x398468(0x30b)]:{_0x10951d=_0x12d629(_0x5df316,_0xdfd18);break;}}const _0x4c67ae=_0x506cc8(_0x10951d,_0xdfd18),_0x21a8c4=this[_0x398468(0x3dc)][_0x398468(0x204)](_0x2161b3);if(_0x21a8c4&&_0x4c67ae){const _0x91d3bb={..._0x21a8c4,'range':_0x4c67ae};this[_0x398468(0x3dc)]['set'](_0x2161b3,_0x91d3bb),_0x52d0a(()=>{const _0x1834d=_0x398468,_0x1e87c1=this[_0x1834d(0x2b1)][_0x1834d(0x22f)](_0x4c67ae,_0x3b384e=>(_0x1e87c1[_0x1834d(0x262)](),_0x540d5d(_0x3b384e,_0x2161b3,_0x2399a7,_0x4c67ae)));_0x270c0c[_0x1834d(0x342)](_0x1e87c1);});}return{'redos':[],'undos':[]};};this[_0x26dafc(0x3dc)][_0x26dafc(0x444)]((_0x12adc0,_0x509e3a)=>{const _0x4bff05=_0x26dafc,{range:_0x77cade,sheetID:_0x340e34}=_0x12adc0,_0xd6cebf=this[_0x4bff05(0x2b1)]['registerRefRange'](_0x77cade,_0x58e69c=>(_0xd6cebf[_0x4bff05(0x262)](),_0x540d5d(_0x58e69c,_0x509e3a,_0x340e34,_0x77cade)));_0x270c0c[_0x4bff05(0x342)](_0xd6cebf);});};this[_0x1c07de(0x49b)](_0x2ecc04(this[_0x1c07de(0x4f7)][_0x1c07de(0x4f0)](()=>{_0x484bc4();})));}['_toggleOnline'](){const _0x4d0695=_0x3a0f4f;var _0x2298e0,_0x5b8438;if(this[_0x4d0695(0x2f9)]=!0x0,((_0x2298e0=this['_univerInstanceService'][_0x4d0695(0x327)]())==null?void 0x0:_0x2298e0[_0x4d0695(0x1eb)]())!==this[_0x4d0695(0x321)])return;const _0x13d033=(_0x5b8438=this[_0x4d0695(0x340)][_0x4d0695(0x204)](_0x4552e3)[_0x4d0695(0x3fe)]())==null?void 0x0:_0x5b8438[0x0],_0x28e471=this[_0x4d0695(0x345)][_0x4d0695(0x390)](_0x363a0b[_0x4d0695(0x12e)])[_0x4d0695(0x425)]();_0x13d033&&_0x28e471&&this[_0x4d0695(0x457)](_0x28e471[_0x4d0695(0x54b)](),_0x13d033);}[_0x3a0f4f(0x1d4)](){const _0x2b72ab=_0x3a0f4f;this[_0x2b72ab(0x2f9)]=!0x1;}};ds=zo([Be(0x2,_0x4a6309(_0x5b64e2)),Be(0x3,_0x4a6309(Ns)),Be(0x4,_0x4a6309(Me)),Be(0x5,_0x3dee00),Be(0x6,_0x21538e),Be(0x7,_0x4a6309(_0x37083e))],ds);var Qo=Object[_0x3a0f4f(0x40a)],ea=Object[_0x3a0f4f(0x409)],ta=(_0x44e44f,_0x2a4c8a,_0x57bc11,_0x1d6490)=>{const _0x22285b=_0x3a0f4f;for(var _0x1270b8=_0x1d6490>0x1?void 0x0:_0x1d6490?ea(_0x2a4c8a,_0x57bc11):_0x2a4c8a,_0x1829bd=_0x44e44f[_0x22285b(0x312)]-0x1,_0x3574cc;_0x1829bd>=0x0;_0x1829bd--)(_0x3574cc=_0x44e44f[_0x1829bd])&&(_0x1270b8=(_0x1d6490?_0x3574cc(_0x2a4c8a,_0x57bc11,_0x1270b8):_0x3574cc(_0x1270b8))||_0x1270b8);return _0x1d6490&&_0x1270b8&&Qo(_0x2a4c8a,_0x57bc11,_0x1270b8),_0x1270b8;},Xt=(_0x324c08,_0x58fe2e)=>(_0x1d9f94,_0x49ef29)=>_0x58fe2e(_0x1d9f94,_0x49ef29,_0x324c08);let Ve=class extends _0x5a2d55{constructor(_0x46cac1,_0x469d43,_0x5881d6){const _0x54c083=_0x3a0f4f;super(),g(this,_0x54c083(0x45c),new Map()),g(this,_0x54c083(0x398),new _0x4c5eca()),(this[_0x54c083(0x345)]=_0x46cac1,this[_0x54c083(0x340)]=_0x469d43,this[_0x54c083(0x4c7)]=_0x5881d6,this[_0x54c083(0x531)]());}[_0x3a0f4f(0x262)](){const _0x555ed1=_0x3a0f4f;super[_0x555ed1(0x262)](),this['_entityInit$'][_0x555ed1(0x221)](),this[_0x555ed1(0x45c)][_0x555ed1(0x444)](_0x37dae6=>_0x37dae6[_0x555ed1(0x262)]());}['getCollabCursors$'](_0x1bc530){const _0x36b913=_0x3a0f4f;return this['_entities'][_0x36b913(0x261)](_0x1bc530)?this[_0x36b913(0x45c)]['get'](_0x1bc530)[_0x36b913(0x41a)]:this[_0x36b913(0x398)][_0x36b913(0x2af)](_0x2ef7d0(_0x52fd81=>_0x52fd81['unitID']===_0x1bc530),_0x774f7c(_0x4d1b1f=>_0x4d1b1f[_0x36b913(0x41a)]));}['_init'](){const _0x37729a=_0x3a0f4f;this[_0x37729a(0x345)][_0x37729a(0x2f3)](_0x363a0b[_0x37729a(0x12e)])[_0x37729a(0x2af)](_0x2a292b(this[_0x37729a(0x220)]))['subscribe'](async _0xe75a2=>{const _0x4c33f4=_0x37729a,_0x44b9f8=_0xe75a2[_0x4c33f4(0x1eb)](),_0x52d4c7=await this['_startSheetCollabCursor'](_0x44b9f8);this['_entityInit$'][_0x4c33f4(0x25c)](_0x52d4c7),this['_entities'][_0x4c33f4(0x4d9)](_0x44b9f8,_0x52d4c7);}),this[_0x37729a(0x345)]['getTypeOfUnitAdded$'](_0x363a0b[_0x37729a(0x12b)])[_0x37729a(0x2af)](_0x2a292b(this[_0x37729a(0x220)]))[_0x37729a(0x2af)](_0x2ef7d0(_0xfa0b78=>!_0xfa0b78[_0x37729a(0x1eb)]()['startsWith']('__')))['subscribe'](async _0x76d72e=>{const _0x45b268=_0x37729a,_0x3ace0c=_0x76d72e['getUnitId'](),_0x40f059=await this[_0x45b268(0x376)](_0x3ace0c);this[_0x45b268(0x398)]['next'](_0x40f059),this[_0x45b268(0x45c)]['set'](_0x3ace0c,_0x40f059);}),_0x4bd8ea(this[_0x37729a(0x345)][_0x37729a(0x308)](_0x363a0b[_0x37729a(0x12b)]),this[_0x37729a(0x345)]['getTypeOfUnitDisposed$'](_0x363a0b[_0x37729a(0x12e)]))[_0x37729a(0x2af)](_0x2a292b(this[_0x37729a(0x220)]))[_0x37729a(0x4f0)](_0x467049=>{const _0xdadc28=_0x37729a,_0x18f2a4=_0x467049[_0xdadc28(0x1eb)](),_0x2281cb=this[_0xdadc28(0x45c)][_0xdadc28(0x204)](_0x18f2a4);_0x2281cb&&(_0x2281cb['dispose'](),this[_0xdadc28(0x45c)][_0xdadc28(0x4d6)](_0x18f2a4));});}async['_startSheetCollabCursor'](_0x4e3652){const _0x471477=_0x3a0f4f,_0x8057f7=await this['_collabSessionService'][_0x471477(0x25a)](_0x4e3652),_0x3a58e6=this[_0x471477(0x340)][_0x471477(0x4d0)](ds,_0x4e3652,_0x8057f7);return _0x3a58e6[_0x471477(0x1fe)](),_0x3a58e6;}async[_0x3a0f4f(0x376)](_0x25c35a){const _0xa8932a=_0x3a0f4f,_0x20a817=await this[_0xa8932a(0x4c7)][_0xa8932a(0x25a)](_0x25c35a),_0x45c89b=this['_injector'][_0xa8932a(0x4d0)](us,_0x25c35a,_0x20a817);return _0x45c89b['init'](),_0x45c89b;}};Ve=ta([Xt(0x0,_0x3dee00),Xt(0x1,_0x4a6309(_0x5b64e2)),Xt(0x2,_0x4a6309(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x2a9ff7,_0x10a74b){const _0x1ad2b8=_0x3a0f4f;let {radius:_0x486b2d,width:_0xaf8d4f,height:_0x58430f}=_0x10a74b;_0x486b2d=_0x486b2d!=null?_0x486b2d:0x0,_0xaf8d4f=_0xaf8d4f!=null?_0xaf8d4f:0x1e,_0x58430f=_0x58430f!=null?_0x58430f:0x1e;let _0x3ddd4a=0x0,_0x1522a5=0x0,_0x116593=0x0;_0x3ddd4a=_0x1522a5=_0x116593=Math['min'](_0x486b2d,_0xaf8d4f/0x2,_0x58430f/0x2),_0x2a9ff7[_0x1ad2b8(0x1d0)](),_0x2a9ff7[_0x1ad2b8(0x3be)](_0x3ddd4a,0x0),_0x2a9ff7[_0x1ad2b8(0x476)](_0xaf8d4f-_0x1522a5,0x0),_0x2a9ff7[_0x1ad2b8(0x26a)](_0xaf8d4f-_0x1522a5,_0x1522a5,_0x1522a5,Math['PI']*0x3/0x2,0x0,!0x1),_0x2a9ff7[_0x1ad2b8(0x476)](_0xaf8d4f,_0x58430f-_0x116593),_0x2a9ff7[_0x1ad2b8(0x26a)](_0xaf8d4f-_0x116593,_0x58430f-_0x116593,_0x116593,0x0,Math['PI']/0x2,!0x1),_0x2a9ff7[_0x1ad2b8(0x476)](0x0,_0x58430f),_0x2a9ff7[_0x1ad2b8(0x476)](0x0,_0x3ddd4a),_0x2a9ff7[_0x1ad2b8(0x26a)](_0x3ddd4a,_0x3ddd4a,_0x3ddd4a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2a9ff7['closePath'](),_0x10a74b[_0x1ad2b8(0x2dc)]&&(_0x2a9ff7['save'](),_0x2a9ff7[_0x1ad2b8(0x481)]=_0x10a74b['fill'],_0x10a74b[_0x1ad2b8(0x121)]==='evenodd'?_0x2a9ff7[_0x1ad2b8(0x2dc)](_0x1ad2b8(0x3d5)):_0x2a9ff7[_0x1ad2b8(0x2dc)](),_0x2a9ff7[_0x1ad2b8(0x543)]());}class Bt extends _0x313cda{constructor(_0x5b8268,_0xc3b716){const _0x4002f4=_0x3a0f4f;super(_0x5b8268,_0xc3b716),g(this,_0x4002f4(0x3d3)),g(this,_0x4002f4(0x2d1)),(this[_0x4002f4(0x3d3)]=_0xc3b716==null?void 0x0:_0xc3b716[_0x4002f4(0x3d3)],this[_0x4002f4(0x2d1)]=_0xc3b716==null?void 0x0:_0xc3b716[_0x4002f4(0x2d1)]);}static['drawWith'](_0x559e4c,_0x474f49){const _0x2dff9f=_0x3a0f4f,{text:_0x321dca,color:_0x533dbf}=_0x474f49;_0x559e4c[_0x2dff9f(0x13d)](),_0x559e4c[_0x2dff9f(0x48f)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1ac1a0=_0x559e4c[_0x2dff9f(0x11e)](_0x321dca)[_0x2dff9f(0x266)],_0x5b6433=Math[_0x2dff9f(0x1da)](_0x1ac1a0+0x2*Jt,ii);ia(_0x559e4c,{'height':nt,'radius':0x4,'width':_0x5b6433,'fill':_0x533dbf,'evented':!0x1}),_0x559e4c[_0x2dff9f(0x481)]=_0x2dff9f(0x515);const _0x117a9a=Jt,_0x31ff27=nt-sa,_0x517e7c=ii-0x2*Jt;if(_0x1ac1a0>_0x517e7c){let _0x5dab61='',_0x239f29=0x0;for(const _0xec5701 of _0x321dca){const _0x5180e7=_0x559e4c[_0x2dff9f(0x11e)](_0xec5701)[_0x2dff9f(0x266)];if(_0x239f29+_0x5180e7<=_0x517e7c-_0x559e4c['measureText'](_0x2dff9f(0x52d))[_0x2dff9f(0x266)])_0x5dab61+=_0xec5701,_0x239f29+=_0x5180e7;else{_0x5dab61+='...';break;}}_0x559e4c[_0x2dff9f(0x538)](_0x5dab61,_0x117a9a,_0x31ff27);}else _0x559e4c[_0x2dff9f(0x538)](_0x321dca,_0x117a9a,_0x31ff27);_0x559e4c[_0x2dff9f(0x543)]();}[_0x3a0f4f(0x15d)](_0x289754){const _0x44cf31=_0x3a0f4f;Bt[_0x44cf31(0x379)](_0x289754,this);}}const Zt=_0x3a0f4f(0x461),ra=_0x3a0f4f(0x1c8),na='collab-rect-range-',Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca='rgba(255,\x20255,\x20255,\x200.01)';class ri{constructor(_0x3ddc4b,_0x3b0226,_0x48c1ac,_0x4564d7){const _0x4eaf65=_0x3a0f4f;g(this,_0x4eaf65(0x520),[]),g(this,_0x4eaf65(0x2bf),null),g(this,_0x4eaf65(0x2a0),null),g(this,_0x4eaf65(0x559),null),g(this,_0x4eaf65(0x1ad),null),g(this,_0x4eaf65(0x4b2),null),(this[_0x4eaf65(0x391)]=_0x3ddc4b,this[_0x4eaf65(0x268)]=_0x3b0226,this[_0x4eaf65(0x54a)]=_0x48c1ac,this[_0x4eaf65(0x1ee)]=_0x4564d7,this[_0x4eaf65(0x407)]());}set[_0x3a0f4f(0x45a)](_0x4aa6de){const _0x319668=_0x3a0f4f;_0x4aa6de?(this['_anchorDot']&&this[_0x319668(0x559)]['hide'](),this[_0x319668(0x2a0)]&&this['_textBubble']['show']()):(this[_0x319668(0x559)]&&this[_0x319668(0x559)][_0x319668(0x4d8)](),this[_0x319668(0x2a0)]&&this[_0x319668(0x2a0)]['hide']());}[_0x3a0f4f(0x262)](){const _0x72040f=_0x3a0f4f;for(const _0x2cd512 of this[_0x72040f(0x520)])_0x2cd512[_0x72040f(0x262)]();this['_textBubble']&&this['_textBubble'][_0x72040f(0x262)](),this['_anchorDot']&&this[_0x72040f(0x559)]['dispose'](),this[_0x72040f(0x2bf)]&&this[_0x72040f(0x2bf)]['dispose'](),this['_eventUnsubscribe']&&this[_0x72040f(0x4b2)]();}[_0x3a0f4f(0x407)](){const _0x5e8c70=_0x3a0f4f;var _0x2e09c9;const {_docSkeleton:_0x49b947,_document:_0x3e5909}=this,{color:_0xea6ec6,name:_0x5c083a,ranges:_0x2553e6}=this[_0x5e8c70(0x391)],_0x507b58=_0x3e5909[_0x5e8c70(0x294)](),{docsLeft:_0xdb8ede,docsTop:_0x2b8607}=_0x507b58,_0x17ca55=new _0x38a61f(_0x507b58,_0x49b947);for(const {startOffset:_0x190d7a,endOffset:_0x50d59,rangeType:_0x293ec1,segmentId:_0x27504d,segmentPage:_0x4c90c5,collapsed:_0x3a454f,isActive:_0x76fcdd}of _0x2553e6){const _0x35cf65=_0x49b947['findNodePositionByCharIndex'](_0x190d7a,!0x0,_0x27504d,_0x4c90c5);let _0x49104e=_0x49b947[_0x5e8c70(0x465)](_0x50d59,!0x0,_0x27504d,_0x4c90c5);if(_0x49104e==null&&(_0x49104e=_0x49b947[_0x5e8c70(0x465)](_0x50d59-0x1,!0x1,_0x27504d,_0x4c90c5)),_0x76fcdd){const {contentBoxPointGroup:_0x4bc93f}=_0x17ca55['getRangePointData'](_0x49104e,_0x49104e);if(_0x4bc93f[_0x5e8c70(0x312)]===0x0)continue;this[_0x5e8c70(0x1d1)](_0xea6ec6,_0x4bc93f,_0xdb8ede,_0x2b8607,_0x5c083a),this['_eventUnsubscribe']=this[_0x5e8c70(0x1e2)]();}if(_0x35cf65&&_0x49104e){if(_0x293ec1===_0x55dcfe[_0x5e8c70(0x290)]){const _0x1ecc15=new _0x3b25fd(_0x507b58,_0x49b947),{pointGroup:_0x1fad49}=(_0x2e09c9=_0x1ecc15[_0x5e8c70(0x50b)](_0x35cf65,_0x49104e))!=null?_0x2e09c9:{};if(_0x1fad49==null||_0x1fad49[_0x5e8c70(0x312)]===0x0)continue;this[_0x5e8c70(0x448)](_0xea6ec6,_0x1fad49,_0xdb8ede,_0x2b8607);}else{if(!_0x3a454f){const {borderBoxPointGroup:_0x54d307}=_0x17ca55['getRangePointData'](_0x35cf65,_0x49104e);if(_0x54d307[_0x5e8c70(0x312)]===0x0)continue;this[_0x5e8c70(0x4ac)](_0xea6ec6,_0x54d307,_0xdb8ede,_0x2b8607);}}}}}[_0x3a0f4f(0x1d1)](_0x5a20e1,_0x112ad8,_0x198f21,_0x11e773,_0x5d6a6d){const _0x12c6aa=_0x3a0f4f,_0x107b39=this[_0x12c6aa(0x23d)](_0x112ad8),{left:_0x193ab4,top:_0x4f9e24,height:_0x445711}=_0x107b39,_0x51793b=this[_0x12c6aa(0x412)](),_0x9d67e0=aa/_0x51793b,_0x175abd=new _0x37e84b(Zt+_0x1fb819['generateRandomId'](Je),{'left':_0x193ab4+_0x198f21-_0x9d67e0,'top':_0x4f9e24+_0x11e773,'height':_0x445711,'width':oa,'fill':_0x5a20e1||_0x515706(_0x2d6316[_0x12c6aa(0x36f)],0x0),'strokeWidth':_0x9d67e0,'stroke':ca,'evented':!0x0});this['_anchor']=_0x175abd,this['_scene'][_0x12c6aa(0x490)](_0x175abd,_0xafadfb);const _0x2ffa35=new _0x37e84b(Zt+_0x1fb819[_0x12c6aa(0x4e1)](Je),{'left':_0x193ab4+_0x198f21-_0x9d67e0,'top':_0x4f9e24+_0x11e773-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x5a20e1||_0x515706(_0x2d6316[_0x12c6aa(0x36f)],0x0),'strokeWidth':0x0,'stroke':_0x5a20e1||_0x515706(_0x2d6316[_0x12c6aa(0x36f)],0x0),'evented':!0x1});this[_0x12c6aa(0x559)]=_0x2ffa35,this[_0x12c6aa(0x268)]['addObject'](_0x2ffa35,_0xafadfb);const _0x7091ee=new Bt(Zt+_0x1fb819['generateRandomId'](Je),{'left':_0x193ab4+_0x198f21-_0x9d67e0,'top':_0x4f9e24+_0x11e773-nt,'text':_0x5d6a6d,'color':_0x5a20e1});this[_0x12c6aa(0x2a0)]=_0x7091ee,this[_0x12c6aa(0x268)][_0x12c6aa(0x490)](_0x7091ee,_0xafadfb),this['_hover']=!0x1;}[_0x3a0f4f(0x1e2)](){const _0x214b33=_0x3a0f4f,_0x4d7bd3=this[_0x214b33(0x2bf)][_0x214b33(0x1a6)][_0x214b33(0x3c4)](()=>{const _0x1978d4=_0x214b33;this[_0x1978d4(0x45a)]=!0x0;}),_0x3c694b=this['_anchor']['onPointerLeave$'][_0x214b33(0x3c4)](()=>{const _0x9d36f2=_0x214b33;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x9d36f2(0x1ad)]=setTimeout(()=>{const _0x46c83e=_0x9d36f2;this[_0x46c83e(0x45a)]=!0x1;},0x7d0);});return()=>{const _0x357de2=_0x214b33;_0x4d7bd3[_0x357de2(0x19e)](),_0x3c694b[_0x357de2(0x19e)]();};}[_0x3a0f4f(0x4ac)](_0x524870,_0x405a7b,_0x53ea07,_0x3149f2){const _0xfd5394=_0x3a0f4f,_0x283f6a=new _0x3b279d(_0x524870)[_0xfd5394(0x2a2)](0.2)['toRgbString'](),_0x5111f0=new _0x3f7db3(ra+_0x1fb819[_0xfd5394(0x4e1)](Je),{'pointsGroup':_0x405a7b,'fill':_0x283f6a||_0x515706(_0x2d6316[_0xfd5394(0x36f)],0.2),'left':_0x53ea07,'top':_0x3149f2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xfd5394(0x520)][_0xfd5394(0x43f)](_0x5111f0),this[_0xfd5394(0x268)]['addObject'](_0x5111f0,_0xafadfb);}[_0x3a0f4f(0x448)](_0x3941f7,_0x57ce3d,_0x2dd91,_0x2eb6c3){const _0x3bd505=_0x3a0f4f,_0x3c7e02=new _0x3b279d(_0x3941f7)[_0x3bd505(0x2a2)](0.2)[_0x3bd505(0x49c)](),_0x38b799=new _0x3f7db3(na+_0x1fb819['generateRandomId'](Je),{'pointsGroup':_0x57ce3d,'fill':_0x3c7e02||_0x515706(_0x2d6316[_0x3bd505(0x36f)],0.2),'left':_0x2dd91,'top':_0x2eb6c3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3bd505(0x520)][_0x3bd505(0x43f)](_0x38b799),this[_0x3bd505(0x268)]['addObject'](_0x38b799,_0xafadfb);}[_0x3a0f4f(0x23d)](_0x4a0c6d){const _0x33c07d=_0x4a0c6d[0x0],_0x16ec59=_0x33c07d[0x0],_0x3b199c=_0x33c07d[0x2],{x:_0x3634b7,y:_0x19a2fb}=_0x16ec59,{x:_0x418f3f,y:_0xe36c48}=_0x3b199c;return{'left':_0x3634b7,'top':_0x19a2fb,'width':_0x418f3f-_0x3634b7,'height':_0xe36c48-_0x19a2fb};}[_0x3a0f4f(0x412)](){const _0x4ae264=_0x3a0f4f,{scaleX:_0x3a800b,scaleY:_0xd09413}=this['_scene'][_0x4ae264(0x498)]();return Math[_0x4ae264(0x2b7)](_0x3a800b,_0xd09413);}}var ha=Object[_0x3a0f4f(0x40a)],la=Object[_0x3a0f4f(0x409)],_a=(_0x45242c,_0x1f3325,_0x38f976,_0x2dd7f3)=>{for(var _0x3a6159=_0x2dd7f3>0x1?void 0x0:_0x2dd7f3?la(_0x1f3325,_0x38f976):_0x1f3325,_0x96e542=_0x45242c['length']-0x1,_0x5afc7a;_0x96e542>=0x0;_0x96e542--)(_0x5afc7a=_0x45242c[_0x96e542])&&(_0x3a6159=(_0x2dd7f3?_0x5afc7a(_0x1f3325,_0x38f976,_0x3a6159):_0x5afc7a(_0x3a6159))||_0x3a6159);return _0x2dd7f3&&_0x3a6159&&ha(_0x1f3325,_0x38f976,_0x3a6159),_0x3a6159;},ht=(_0x727ade,_0x2b91e7)=>(_0x22cd24,_0x5c28a6)=>_0x2b91e7(_0x22cd24,_0x5c28a6,_0x727ade);let fs=class extends _0x5a2d55{constructor(_0x30dff9,_0x5d575e,_0x1f49a2,_0x16a4c6,_0x4e4d5a){const _0x58b0f4=_0x3a0f4f;super(),g(this,_0x58b0f4(0x26b),[]),g(this,'_cursors',[]),(this[_0x58b0f4(0x273)]=_0x30dff9,this['_docSkeletonManagerService']=_0x5d575e,this[_0x58b0f4(0x123)]=_0x1f49a2,this[_0x58b0f4(0x418)]=_0x16a4c6,this[_0x58b0f4(0x3b2)]=_0x4e4d5a,this[_0x58b0f4(0x531)]());}[_0x3a0f4f(0x531)](){const _0x4d65b8=_0x3a0f4f,_0x1acbf1=this[_0x4d65b8(0x273)][_0x4d65b8(0x492)],_0x441005=this[_0x4d65b8(0x551)];this[_0x4d65b8(0x49b)](_0x1f0a7e([this[_0x4d65b8(0x123)][_0x4d65b8(0x42c)](_0x1acbf1),this[_0x4d65b8(0x3b2)][_0x4d65b8(0x2c1)]])[_0x4d65b8(0x2af)](_0x388f57(([_0x10d087,_0x4a6269])=>({'skeleton':_0x441005['getSkeleton'](),'cursors':[..._0x10d087[_0x4d65b8(0x3a9)]()][_0x4d65b8(0x1bb)](_0x48381c=>({..._0x48381c,'color':_0x4a6269[_0x48381c[_0x4d65b8(0x3d3)]]}))})))[_0x4d65b8(0x4f0)](_0x2e9120=>{const _0x1c6f23=_0x4d65b8;if(this[_0x1c6f23(0x4ba)](),_0x2e9120){const {skeleton:_0x46ad76,cursors:_0x136eb8}=_0x2e9120;this[_0x1c6f23(0x530)](_0x46ad76,_0x136eb8);}})),this['_initResize'](),this[_0x4d65b8(0x246)]();}['_updateCollabCursors'](_0x3f2aed,_0x2cf2d8){const _0x5cfae5=_0x3a0f4f,{scene:_0x5d3a1a,mainComponent:_0x3ccacc}=this[_0x5cfae5(0x273)],_0x48c972=_0x2cf2d8['map'](_0x5aca94=>new ri(_0x5aca94,_0x5d3a1a,_0x3f2aed,_0x3ccacc));this[_0x5cfae5(0x26b)]=_0x48c972,this[_0x5cfae5(0x1fa)]=_0x2cf2d8;}[_0x3a0f4f(0x126)](){const _0x426958=_0x3a0f4f;this[_0x426958(0x4ba)]();const {scene:_0x498794,mainComponent:_0x326190}=this[_0x426958(0x273)],_0x2baca0=this[_0x426958(0x551)][_0x426958(0x386)](),_0x3f4615=this[_0x426958(0x1fa)][_0x426958(0x545)](_0x586130=>new ri(_0x586130,_0x498794,_0x2baca0,_0x326190));this['_cursorShapes']=_0x3f4615;}[_0x3a0f4f(0x4ba)](){const _0x225a56=_0x3a0f4f;this[_0x225a56(0x26b)][_0x225a56(0x444)](_0x1af756=>_0x1af756[_0x225a56(0x262)]()),this['_cursorShapes']=[];}[_0x3a0f4f(0x246)](){const _0x35e383=_0x3a0f4f,_0x38bc15=[_0x2bbb9a['id']];this[_0x35e383(0x49b)](this[_0x35e383(0x418)][_0x35e383(0x40d)](_0x4e9e2d=>{const _0x5245c1=_0x35e383;_0x38bc15[_0x5245c1(0x18d)](_0x4e9e2d['id'])&&_0x4e9e2d[_0x5245c1(0x1f7)][_0x5245c1(0x492)]===this[_0x5245c1(0x273)]['unitId']&&this[_0x5245c1(0x126)]();}));}[_0x3a0f4f(0x4f3)](){const _0xe36fc7=_0x3a0f4f;this[_0xe36fc7(0x49b)](_0x26e733(this[_0xe36fc7(0x273)][_0xe36fc7(0x12d)]['onTransformChange$'])[_0xe36fc7(0x2af)](_0x3b2257(_0x3f539a=>_0x3f539a['type']===_0x259977[_0xe36fc7(0x4bc)]),_0x261a1e(0x10))[_0xe36fc7(0x4f0)](()=>{const _0x56b2b8=_0xe36fc7;this[_0x56b2b8(0x126)]();}));}};fs=_a([ht(0x1,_0x4a6309(_0x1264e8)),ht(0x2,_0x4a6309(Ve)),ht(0x3,_0x21538e),ht(0x4,_0x4a6309(_0x448a8c))],fs);const ua=0x1,da=1.5;class fa extends _0x313cda{constructor(_0x51c538,_0x8e310e){const _0x560f60=_0x3a0f4f;super(_0x51c538,_0x8e310e),g(this,_0x560f60(0x32a)),g(this,_0x560f60(0x4cc),!0x1),g(this,_0x560f60(0x317)),g(this,'_name',''),g(this,_0x560f60(0x249),_0x560f60(0x253)),g(this,'_backgroundColor'),(_0x8e310e&&this['setShapeProps'](_0x8e310e),this[_0x560f60(0x1a6)][_0x560f60(0x3c4)](()=>this[_0x560f60(0x2e1)]({'hovered':!0x0})),this[_0x560f60(0x40e)][_0x560f60(0x3c4)](()=>this[_0x560f60(0x2e1)]({'hovered':!0x1})));}[_0x3a0f4f(0x2e1)](_0x360e41){const _0x40b1f1=_0x3a0f4f;var _0x2235ee,_0x2c7f78,_0x2afd8f,_0x4204c7,_0x55ca07,_0x122417;this[_0x40b1f1(0x32a)]=(_0x2235ee=_0x360e41['color'])!=null?_0x2235ee:this[_0x40b1f1(0x32a)],this[_0x40b1f1(0x4cc)]=(_0x2c7f78=_0x360e41['hovered'])!=null?_0x2c7f78:this[_0x40b1f1(0x4cc)],this['_range']=(_0x2afd8f=_0x360e41[_0x40b1f1(0x4c0)])!=null?_0x2afd8f:this[_0x40b1f1(0x317)],this[_0x40b1f1(0x4cd)]=(_0x4204c7=_0x360e41['name'])!=null?_0x4204c7:this[_0x40b1f1(0x4cd)],this[_0x40b1f1(0x249)]=(_0x55ca07=_0x360e41[_0x40b1f1(0x329)])!=null?_0x55ca07:this[_0x40b1f1(0x249)],this['_backgroundColor']=(_0x122417=_0x360e41[_0x40b1f1(0x24e)])!=null?_0x122417:this['_backgroundColor'],this[_0x40b1f1(0x185)]({'width':_0x360e41[_0x40b1f1(0x266)],'height':_0x360e41[_0x40b1f1(0x161)]});}[_0x3a0f4f(0x237)](_0x6b8cc8){const _0x18eff1=_0x3a0f4f,{row:_0x375a72,column:_0x2fca07}=_0x6b8cc8;if(_0x375a72>=this[_0x18eff1(0x317)][_0x18eff1(0x3ad)]&&_0x375a72<=this['_range']['endRow']&&_0x2fca07>=this[_0x18eff1(0x317)][_0x18eff1(0x210)]&&_0x2fca07<=this['_range'][_0x18eff1(0x3f4)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x18eff1(0x2e1)]({'hovered':!0x1});}[_0x3a0f4f(0x1e3)](_0x59b347){return!0x1;}[_0x3a0f4f(0x15d)](_0x74b9b5){const _0x2f5eaa=_0x3a0f4f;_0x37e84b[_0x2f5eaa(0x379)](_0x74b9b5,{'width':this['width'],'height':this[_0x2f5eaa(0x161)],'strokeWidth':da,'stroke':this[_0x2f5eaa(0x32a)],'evented':!0x1,'fill':this[_0x2f5eaa(0x3f7)]}),this['_hovered']&&(_0x74b9b5[_0x2f5eaa(0x13d)](),_0x74b9b5[_0x2f5eaa(0x3ff)](0x1,0x0,0x0,0x1,this[_0x2f5eaa(0x266)],this[_0x2f5eaa(0x249)]==='bottom'?0x0:-nt),Bt[_0x2f5eaa(0x379)](_0x74b9b5,{'text':this[_0x2f5eaa(0x4cd)],'color':this[_0x2f5eaa(0x32a)]}),_0x74b9b5[_0x2f5eaa(0x543)]());}}var va=Object[_0x3a0f4f(0x40a)],pa=Object[_0x3a0f4f(0x409)],ma=(_0x2f6b43,_0x47e83b,_0x1ce530,_0x413b8c)=>{const _0x26614b=_0x3a0f4f;for(var _0x5d0c83=_0x413b8c>0x1?void 0x0:_0x413b8c?pa(_0x47e83b,_0x1ce530):_0x47e83b,_0x393060=_0x2f6b43[_0x26614b(0x312)]-0x1,_0xe47300;_0x393060>=0x0;_0x393060--)(_0xe47300=_0x2f6b43[_0x393060])&&(_0x5d0c83=(_0x413b8c?_0xe47300(_0x47e83b,_0x1ce530,_0x5d0c83):_0xe47300(_0x5d0c83))||_0x5d0c83);return _0x413b8c&&_0x5d0c83&&va(_0x47e83b,_0x1ce530,_0x5d0c83),_0x5d0c83;},es=(_0x384c7f,_0x454154)=>(_0x275ed4,_0x36ee8d)=>_0x454154(_0x275ed4,_0x36ee8d,_0x384c7f);const ga=0x1389;let vs=class extends _0x5a2d55{constructor(_0x5184f0,_0x178a32,_0x252a9f,_0x538fe8){const _0x202d2d=_0x3a0f4f;super(),g(this,'_cursors',new Set()),g(this,'_lastPointer',null),(this[_0x202d2d(0x273)]=_0x5184f0,this[_0x202d2d(0x16d)]=_0x178a32,this[_0x202d2d(0x123)]=_0x252a9f,this['_themeService']=_0x538fe8,this['_init']());}['_init'](){const _0x1b2a75=_0x3a0f4f;this[_0x1b2a75(0x16d)][_0x1b2a75(0x24f)]['pipe'](_0x548b51(this[_0x1b2a75(0x220)]),_0x3aed19(_0x2d97ee=>{const _0x22ec47=_0x1b2a75;if(_0x2d97ee){const _0x1b288d=_0x2d97ee[_0x22ec47(0x477)];return _0x1f0a7e(this[_0x22ec47(0x123)][_0x22ec47(0x42c)](this['_context'][_0x22ec47(0x492)]),this[_0x22ec47(0x3b2)][_0x22ec47(0x2c1)])[_0x22ec47(0x2af)](_0x388f57(([_0x2a5526,_0x439dc8])=>{const _0xaafad3=_0x22ec47,_0x3bb927=new Map();return _0x2a5526[_0xaafad3(0x444)]((_0x109677,_0x4fbe44)=>{const _0x3b522d=_0xaafad3;if(_0x109677[_0x3b522d(0x2bc)]===_0x1b288d){const _0x2c8576={..._0x109677};_0x2c8576[_0x3b522d(0x3d3)]=_0x439dc8[_0x109677[_0x3b522d(0x3d3)]],_0x3bb927[_0x3b522d(0x4d9)](_0x4fbe44,_0x2c8576);}}),{'skeleton':_0x2d97ee,'cursors':_0x3bb927};}));}return _0x1209b8({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x46b215,cursors:_0x2a8ca6})=>{const _0x3f1e65=_0x1b2a75;this['_removeCollabCursors'](),_0x46b215&&this[_0x3f1e65(0x530)](_0x46b215,_0x2a8ca6);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x1b2a75(0x4f0)](_0xcb9aec=>{const _0x5625f6=_0x1b2a75;if(_0xcb9aec==null)return;const {skeleton:_0x471741}=_0xcb9aec,{scene:_0x2dd33d}=this['_context'];_0x2dd33d[_0x5625f6(0x450)][_0x5625f6(0x3c4)](_0xcb384c(_0x2edcb4=>{const _0xeceb00=_0x5625f6;var _0x4aecc3,_0x112431;const {offsetX:_0x462e9c,offsetY:_0x385035}=_0x2edcb4,{x:_0x10dd7c,y:_0x403c31}=_0x2dd33d[_0xeceb00(0x20d)](_0x1cc9e8['FromArray']([_0x462e9c,_0x385035])),{scaleX:_0x20b451,scaleY:_0x4ef082}=_0x2dd33d[_0xeceb00(0x498)](),_0x31c0e0=_0x2dd33d[_0xeceb00(0x383)](_0x1090ca[_0xeceb00(0x2b8)]),_0x3d4ebc=_0x2dd33d[_0xeceb00(0x252)](_0x1cc9e8[_0xeceb00(0x39e)]([_0x10dd7c,_0x403c31]),_0x31c0e0),_0x1d6758=_0x471741[_0xeceb00(0x4c1)](_0x462e9c,_0x385035,_0x20b451,_0x4ef082,_0x3d4ebc);((_0x4aecc3=this[_0xeceb00(0x51d)])==null?void 0x0:_0x4aecc3[_0xeceb00(0x47d)])===_0x1d6758['column']&&((_0x112431=this['_lastPointer'])==null?void 0x0:_0x112431[_0xeceb00(0x13e)])===_0x1d6758['row']||this[_0xeceb00(0x1fa)][_0xeceb00(0x444)](_0x1f3dac=>{const _0x5ba2b4=_0xeceb00;_0x1f3dac[_0x5ba2b4(0x237)](_0x1d6758);});},0x64));});}['_updateCollabCursors'](_0x4d15aa,_0x3295bd){const _0x2612e3=_0x3a0f4f;var _0x585745;const _0xf45b62=(_0x585745=this[_0x2612e3(0x16d)]['getCurrent']())==null?void 0x0:_0x585745['skeleton'];if(!_0xf45b62)return;const _0x122a73=this[_0x2612e3(0x46c)]();if(!_0x122a73)return;this[_0x2612e3(0x1fa)]['forEach'](_0x1c4881=>{const _0x497cca=_0x2612e3;_0x1c4881[_0x497cca(0x529)]();});const {scene:_0x281df1}=_0x122a73,_0x3770bf=Sa(Array[_0x2612e3(0x2ef)](_0x3295bd[_0x2612e3(0x3a9)]()))[_0x2612e3(0x545)](_0xaedc91=>{const _0x1de329=_0x2612e3,{color:_0x20bcfa,range:_0x378821,name:_0x49be96,selection:_0x15787f,sheetID:_0x419bb}=_0xaedc91,{startColumn:_0x38226f,startRow:_0x565ed5,endColumn:_0x34b5a3,endRow:_0x4906cc}=_0x378821,_0x513779=_0x603ded(_0x565ed5,_0x38226f,_0x281df1,_0xf45b62),_0x29216e=_0x603ded(_0x4906cc,_0x34b5a3,_0x281df1,_0xf45b62),{columnHeaderHeightAndMarginTop:_0x41067a}=_0xf45b62,{startX:_0x39dc11,startY:_0x4797d2}=_0x513779,{endX:_0x3cd808,endY:_0x38633c}=_0x29216e,_0x3fdc18=_0x3cd808-_0x39dc11,_0x17f922=_0x38633c-_0x4797d2,_0x1551ef={'labelPosition':_0x4797d2-_0x41067a>=nt?_0x1de329(0x253):_0x1de329(0x174),'sheetID':_0x419bb,'range':_0x378821,'color':_0x20bcfa,'name':_0x49be96,'selection':_0x15787f,'left':_0x39dc11,'top':_0x4797d2,'width':_0x3fdc18,'height':_0x17f922,'evented':!0x1,'zIndex':ga};return new fa(_0x49be96,_0x1551ef);});_0x281df1[_0x2612e3(0x21f)](_0x3770bf,ua),this[_0x2612e3(0x1fa)]=new Set(_0x3770bf);}[_0x3a0f4f(0x4ba)](){const _0x1bc73b=_0x3a0f4f;var _0x4ee08d;(_0x4ee08d=this['_cursors'])==null||_0x4ee08d[_0x1bc73b(0x444)](_0x570011=>_0x570011[_0x1bc73b(0x262)]());}[_0x3a0f4f(0x46c)](){const _0x23427d=_0x3a0f4f;return _0x4a113b(this['_context'][_0x23427d(0x22a)],this[_0x23427d(0x273)]);}};vs=ma([es(0x1,_0x4a6309(_0x347524)),es(0x2,_0x4a6309(Ve)),es(0x3,_0x4a6309(_0x448a8c))],vs);function Sa(_0x1bf713){const _0x417aff=_0x3a0f4f,_0xc16ce0=new Map();return _0x1bf713[_0x417aff(0x444)](_0x1dc1a9=>{const _0x58936f=_0x417aff;if(_0xc16ce0[_0x58936f(0x261)](_0x1dc1a9[_0x58936f(0x306)])){const _0xed024c=_0xc16ce0[_0x58936f(0x204)](_0x1dc1a9[_0x58936f(0x306)]);_0xed024c['name']+=',\x20'+_0x1dc1a9[_0x58936f(0x346)];}else _0xc16ce0[_0x58936f(0x4d9)](_0x1dc1a9[_0x58936f(0x306)],_0x1dc1a9);}),Array['from'](_0xc16ce0[_0x417aff(0x3a9)]());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x22fd8a){const _0x517777=_0x3a0f4f;return _0x22fd8a&&_0x22fd8a[_0x517777(0x52a)]&&Object[_0x517777(0x2cb)]['hasOwnProperty'][_0x517777(0x140)](_0x22fd8a,'default')?_0x22fd8a[_0x517777(0x3ac)]:_0x22fd8a;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0xb19a7c=_0x3a0f4f;if(ni)return Ze;ni=0x1;var _0x327edf=_0x2e372f,_0x21a755=Symbol[_0xb19a7c(0x556)](_0xb19a7c(0x2da)),_0x38fe0f=Symbol['for'](_0xb19a7c(0x2f2)),_0x3f5b16=Object[_0xb19a7c(0x2cb)][_0xb19a7c(0x230)],_0x147ad8=_0x327edf[_0xb19a7c(0x3e5)][_0xb19a7c(0x4e0)],_0x3a6d7c={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x460a25(_0xed8d60,_0x448406,_0x51b389){const _0x4b199a=_0xb19a7c;var _0x271366,_0x43dd7e={},_0x56ec59=null,_0x5991ba=null;_0x51b389!==void 0x0&&(_0x56ec59=''+_0x51b389),_0x448406[_0x4b199a(0x363)]!==void 0x0&&(_0x56ec59=''+_0x448406[_0x4b199a(0x363)]),_0x448406[_0x4b199a(0x124)]!==void 0x0&&(_0x5991ba=_0x448406[_0x4b199a(0x124)]);for(_0x271366 in _0x448406)_0x3f5b16['call'](_0x448406,_0x271366)&&!_0x3a6d7c[_0x4b199a(0x230)](_0x271366)&&(_0x43dd7e[_0x271366]=_0x448406[_0x271366]);if(_0xed8d60&&_0xed8d60[_0x4b199a(0x43e)]){for(_0x271366 in(_0x448406=_0xed8d60[_0x4b199a(0x43e)],_0x448406))_0x43dd7e[_0x271366]===void 0x0&&(_0x43dd7e[_0x271366]=_0x448406[_0x271366]);}return{'$$typeof':_0x21a755,'type':_0xed8d60,'key':_0x56ec59,'ref':_0x5991ba,'props':_0x43dd7e,'_owner':_0x147ad8[_0x4b199a(0x160)]};}return Ze[_0xb19a7c(0x47c)]=_0x38fe0f,Ze[_0xb19a7c(0x4af)]=_0x460a25,Ze[_0xb19a7c(0x4aa)]=_0x460a25,Ze;}var oi;function Ca(){const _0x21d2f0=_0x3a0f4f;return oi||(oi=0x1,ss['exports']=Ia()),ss[_0x21d2f0(0x4ee)];}var De=Ca(),te=function(){return te=Object['assign']||function(_0x382178){const _0x4d67d7=_0x328b;for(var _0x364401,_0x14359e=0x1,_0x439a77=arguments['length'];_0x14359e<_0x439a77;_0x14359e++){_0x364401=arguments[_0x14359e];for(var _0x3fea33 in _0x364401)Object[_0x4d67d7(0x2cb)][_0x4d67d7(0x230)][_0x4d67d7(0x140)](_0x364401,_0x3fea33)&&(_0x382178[_0x3fea33]=_0x364401[_0x3fea33]);}return _0x382178;},te['apply'](this,arguments);},Ea=function(_0x14a219,_0x27774b){const _0x293ce4=_0x3a0f4f;var _0x358f9e={};for(var _0x16409b in _0x14a219)Object['prototype']['hasOwnProperty'][_0x293ce4(0x140)](_0x14a219,_0x16409b)&&_0x27774b[_0x293ce4(0x299)](_0x16409b)<0x0&&(_0x358f9e[_0x16409b]=_0x14a219[_0x16409b]);if(_0x14a219!=null&&typeof Object['getOwnPropertySymbols']==_0x293ce4(0x1ff)){for(var _0x13cf3e=0x0,_0x16409b=Object[_0x293ce4(0x136)](_0x14a219);_0x13cf3e<_0x16409b[_0x293ce4(0x312)];_0x13cf3e++)_0x27774b[_0x293ce4(0x299)](_0x16409b[_0x13cf3e])<0x0&&Object[_0x293ce4(0x2cb)][_0x293ce4(0x283)]['call'](_0x14a219,_0x16409b[_0x13cf3e])&&(_0x358f9e[_0x16409b[_0x13cf3e]]=_0x14a219[_0x16409b[_0x13cf3e]]);}return _0x358f9e;},Us=_0x1c41dc(function(_0x1bb41d,_0x54817f){const _0x4fe225=_0x3a0f4f;var _0x88ba29=_0x1bb41d['icon'],_0x28d9f7=_0x1bb41d['id'],_0x29840f=_0x1bb41d['className'],_0x58b5c6=_0x1bb41d[_0x4fe225(0x2c3)],_0x49df1d=Ea(_0x1bb41d,[_0x4fe225(0x3b0),'id',_0x4fe225(0x13c),'extend']),_0x48c401=_0x4fe225(0x36b)[_0x4fe225(0x14a)](_0x28d9f7,'\x20')['concat'](_0x29840f||'')['trim'](),_0x2790dc=_0x32d833('_'['concat'](Ra()));return Zi(_0x88ba29,''[_0x4fe225(0x14a)](_0x28d9f7),{'defIds':_0x88ba29[_0x4fe225(0x28f)],'idSuffix':_0x2790dc['current']},te({'ref':_0x54817f,'className':_0x48c401},_0x49df1d),_0x58b5c6);});function Zi(_0x1bc3a0,_0x43d996,_0x28ef07,_0x205231,_0x39da6e){const _0x4ef54b=_0x3a0f4f;return _0x5436d0(_0x1bc3a0[_0x4ef54b(0x1e5)],te(te({'key':_0x43d996},ba(_0x1bc3a0,_0x28ef07,_0x39da6e)),_0x205231),(Ta(_0x1bc3a0,_0x28ef07)['children']||[])[_0x4ef54b(0x545)](function(_0xd657f9,_0x4a1569){const _0x3888c7=_0x4ef54b;return Zi(_0xd657f9,''['concat'](_0x43d996,'-')[_0x3888c7(0x14a)](_0x1bc3a0['tag'],'-')[_0x3888c7(0x14a)](_0x4a1569),_0x28ef07,void 0x0,_0x39da6e);}));}function ba(_0x2b0d4e,_0x5c5182,_0xc1c459){const _0x273576=_0x3a0f4f;var _0x90bc30=te({},_0x2b0d4e[_0x273576(0x507)]);_0xc1c459!=null&&_0xc1c459[_0x273576(0x4c6)]&&_0x90bc30['fill']===_0x273576(0x4c6)&&(_0x90bc30[_0x273576(0x2dc)]=_0xc1c459[_0x273576(0x4c6)]);var _0x5445e3=_0x5c5182['defIds'];return!_0x5445e3||_0x5445e3['length']===0x0||(_0x2b0d4e[_0x273576(0x1e5)]===_0x273576(0x48e)&&_0x90bc30[_0x273576(0x511)]&&(_0x90bc30[_0x273576(0x511)]=_0x90bc30['xlink:href']+_0x5c5182[_0x273576(0x2cf)]),Object[_0x273576(0x15e)](_0x90bc30)[_0x273576(0x444)](function(_0x522c72){const _0x14e041=_0x273576;var _0x2a5414=_0x522c72[0x0],_0x1ab564=_0x522c72[0x1];typeof _0x1ab564==_0x14e041(0x537)&&(_0x90bc30[_0x2a5414]=_0x1ab564['replace'](/url\(#(.*)\)/,_0x14e041(0x4b3)['concat'](_0x5c5182['idSuffix'],')')));})),_0x90bc30;}function Ta(_0x229486,_0x728dcb){const _0x218979=_0x3a0f4f;var _0x4594ae,_0x7d54ef=_0x728dcb[_0x218979(0x28f)];return!_0x7d54ef||_0x7d54ef[_0x218979(0x312)]===0x0?_0x229486:_0x229486[_0x218979(0x1e5)]===_0x218979(0x311)&&(!((_0x4594ae=_0x229486['children'])===null||_0x4594ae===void 0x0)&&_0x4594ae[_0x218979(0x312)])?te(te({},_0x229486),{'children':_0x229486[_0x218979(0x223)]['map'](function(_0x420a18){const _0x524c84=_0x218979;return typeof _0x420a18[_0x524c84(0x507)]['id']==_0x524c84(0x537)&&_0x7d54ef&&_0x7d54ef[_0x524c84(0x299)](_0x420a18[_0x524c84(0x507)]['id'])>-0x1?te(te({},_0x420a18),{'attrs':te(te({},_0x420a18[_0x524c84(0x507)]),{'id':_0x420a18['attrs']['id']+_0x728dcb[_0x524c84(0x2cf)]})}):_0x420a18;})}):_0x229486;}function Ra(){const _0x30a4b3=_0x3a0f4f;return Math[_0x30a4b3(0x341)]()[_0x30a4b3(0x542)](0x24)[_0x30a4b3(0x527)](0x2,0x8);}Us['displayName']=_0x3a0f4f(0x401);var Oa={'tag':_0x3a0f4f(0x2a3),'attrs':{'fill':'none','viewBox':_0x3a0f4f(0x373),'width':'1em','height':_0x3a0f4f(0x411)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a0f4f(0x16b)},'children':[{'tag':_0x3a0f4f(0x52c),'attrs':{'stroke':'currentColor','d':_0x3a0f4f(0x23e),'strokeLinecap':_0x3a0f4f(0x548),'strokeLinejoin':_0x3a0f4f(0x548),'strokeWidth':1.2}}]},{'tag':_0x3a0f4f(0x311),'attrs':{},'children':[{'tag':_0x3a0f4f(0x462),'attrs':{'id':_0x3a0f4f(0x2e5)},'children':[{'tag':'path','attrs':{'fill':_0x3a0f4f(0x51f),'d':_0x3a0f4f(0x482)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Qi=_0x1c41dc(function(_0x240031,_0x20c295){const _0x45af2d=_0x3a0f4f;return _0x5436d0(Us,Object[_0x45af2d(0x3df)]({},_0x240031,{'id':_0x45af2d(0x2a1),'ref':_0x20c295,'icon':Oa}));});Qi['displayName']='OffLineSingle';var ya={'tag':_0x3a0f4f(0x2a3),'attrs':{'fill':_0x3a0f4f(0x4be),'viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3a0f4f(0x555)},'children':[{'tag':_0x3a0f4f(0x52c),'attrs':{'stroke':_0x3a0f4f(0x3f3),'d':_0x3a0f4f(0x4e6),'strokeLinecap':'round','strokeLinejoin':_0x3a0f4f(0x548),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3a0f4f(0x33f)},'children':[{'tag':_0x3a0f4f(0x52c),'attrs':{'fill':_0x3a0f4f(0x51f),'d':'M0\x200H16V16H0z','transform':_0x3a0f4f(0x3ef)}}]}]}],'defIds':[_0x3a0f4f(0x33f)]},er=_0x1c41dc(function(_0x49494b,_0x21b8d2){const _0x1e3b5e=_0x3a0f4f;return _0x5436d0(Us,Object[_0x1e3b5e(0x3df)]({},_0x49494b,{'id':_0x1e3b5e(0x2c0),'ref':_0x21b8d2,'icon':ya}));});er[_0x3a0f4f(0x328)]=_0x3a0f4f(0x419);function tr(_0x183f36){const _0x55ad31=_0x3a0f4f;var _0x2572fe,_0x5e4ee9,_0x42736b='';if(typeof _0x183f36==_0x55ad31(0x537)||typeof _0x183f36==_0x55ad31(0x4e5))_0x42736b+=_0x183f36;else{if(typeof _0x183f36==_0x55ad31(0x24a)){if(Array[_0x55ad31(0x248)](_0x183f36)){var _0x424b91=_0x183f36[_0x55ad31(0x312)];for(_0x2572fe=0x0;_0x2572fe<_0x424b91;_0x2572fe++)_0x183f36[_0x2572fe]&&(_0x5e4ee9=tr(_0x183f36[_0x2572fe]))&&(_0x42736b&&(_0x42736b+='\x20'),_0x42736b+=_0x5e4ee9);}else{for(_0x5e4ee9 in _0x183f36)_0x183f36[_0x5e4ee9]&&(_0x42736b&&(_0x42736b+='\x20'),_0x42736b+=_0x5e4ee9);}}}return _0x42736b;}function wa(){const _0x2b007f=_0x3a0f4f;for(var _0x1ab06e,_0x12d78c,_0x2c60dd=0x0,_0x2c1f4e='',_0x5e4ba6=arguments[_0x2b007f(0x312)];_0x2c60dd<_0x5e4ba6;_0x2c60dd++)(_0x1ab06e=arguments[_0x2c60dd])&&(_0x12d78c=tr(_0x1ab06e))&&(_0x2c1f4e&&(_0x2c1f4e+='\x20'),_0x2c1f4e+=_0x12d78c);return _0x2c1f4e;}const Da=_0x3a0f4f(0x349),Pa=_0x3a0f4f(0x34e),Na=_0x3a0f4f(0x3de),Ua=_0x3a0f4f(0x3d6),Aa=_0x3a0f4f(0x1c7),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x1293b1){const _0x2df0fe=_0x3a0f4f;switch(_0x1293b1){case J[_0x2df0fe(0x275)]:return'collabStatus.offline';case J[_0x2df0fe(0x139)]:return _0x2df0fe(0x400);case J[_0x2df0fe(0x3e4)]:return _0x2df0fe(0x518);case J[_0x2df0fe(0x137)]:return'collabStatus.notCollab';case J['AWAITING']:case J[_0x2df0fe(0x288)]:return _0x2df0fe(0x50e);case J[_0x2df0fe(0x2ee)]:case J['PENDING']:return'collabStatus.synced';}}function xa(_0x4804ef){const _0x3a9031=_0x3a0f4f,{status$:_0x1a1f1a}=_0x4804ef,_0x433873=_0x251ac2(_0x1a1f1a,J[_0x3a9031(0x137)]),_0x2a267a=_0xfa79ec(_0x440b58),_0xf763f1=_0xfa79ec(xe),_0x1a17de=_0x433873!==J[_0x3a9031(0x275)],_0x5f02c4=_0x2a267a['t'](Ma(_0x433873)),_0x419669=wa(Qe[_0x3a9031(0x1ab)],{[Qe['online']]:_0x1a17de,[Qe[_0x3a9031(0x1ea)]]:!_0x1a17de}),_0x3332eb=_0x1a17de?De[_0x3a9031(0x4af)](er,{}):De[_0x3a9031(0x4af)](Qi,{}),_0xf8c167=_0x2ab67b(()=>{const _0x925621=_0x3a9031;_0x1a17de||_0xf763f1[_0x925621(0x3f6)]();},[_0x1a17de,_0xf763f1]);function _0x21861f(){const _0x1b4eb5=_0x3a9031;return De['jsxs'](_0x1b4eb5(0x30f),{'className':_0x419669,'onClick':_0xf8c167,'children':[De[_0x1b4eb5(0x4af)](_0x1b4eb5(0x30f),{'className':Qe[_0x1b4eb5(0x29b)],'children':_0x3332eb}),De['jsx']('div',{'className':Qe[_0x1b4eb5(0x163)],'children':_0x5f02c4})]});}return _0x1a17de?_0x21861f():De[_0x3a9031(0x4af)](_0x53fdd5,{'title':_0x2a267a['t'](_0x3a9031(0x175)),'children':_0x21861f()});}var La=Object[_0x3a0f4f(0x40a)],$a=Object[_0x3a0f4f(0x409)],Ha=(_0x4af120,_0x41faab,_0x508d09,_0x529674)=>{const _0x53b2d8=_0x3a0f4f;for(var _0x4924da=_0x529674>0x1?void 0x0:_0x529674?$a(_0x41faab,_0x508d09):_0x41faab,_0x2f502d=_0x4af120[_0x53b2d8(0x312)]-0x1,_0x175b53;_0x2f502d>=0x0;_0x2f502d--)(_0x175b53=_0x4af120[_0x2f502d])&&(_0x4924da=(_0x529674?_0x175b53(_0x41faab,_0x508d09,_0x4924da):_0x175b53(_0x4924da))||_0x4924da);return _0x529674&&_0x4924da&&La(_0x41faab,_0x508d09,_0x4924da),_0x4924da;},lt=(_0x16a58c,_0x4a5843)=>(_0x1cc1dd,_0x2fc4ed)=>_0x4a5843(_0x1cc1dd,_0x2fc4ed,_0x16a58c);let At=class extends _0x27d038{constructor(_0x1b5f4e,_0x5eff10,_0x15869e,_0x3d760d){const _0x25a832=_0x3a0f4f;super(),g(this,_0x25a832(0x177),new _0x1f5fb9(J[_0x25a832(0x137)])),(this[_0x25a832(0x345)]=_0x1b5f4e,this[_0x25a832(0x44c)]=_0x5eff10,this[_0x25a832(0x340)]=_0x15869e,this[_0x25a832(0x53f)]=_0x3d760d,this[_0x25a832(0x31f)](),this[_0x25a832(0x473)]());}[_0x3a0f4f(0x473)](){const _0x175529=_0x3a0f4f;this[_0x175529(0x49b)](this[_0x175529(0x345)][_0x175529(0x365)][_0x175529(0x2af)](_0x774f7c(()=>{const _0x130c8c=_0x175529,_0x211069=this[_0x130c8c(0x345)][_0x130c8c(0x327)]();return _0x211069?this['_collaborationController'][_0x130c8c(0x3ce)](_0x211069['getUnitId']()):_0x1209b8(null);}),_0x774f7c(_0x20beb5=>_0x20beb5?_0x20beb5[_0x175529(0x4fc)]:_0x1209b8(J[_0x175529(0x137)])))['subscribe'](_0x555b5d=>{const _0x308e4e=_0x175529;this[_0x308e4e(0x177)][_0x308e4e(0x25c)](_0x555b5d);}));}[_0x3a0f4f(0x31f)](){const _0x45bc31=_0x3a0f4f;this[_0x45bc31(0x49b)](this[_0x45bc31(0x44c)]['registerComponent'](_0x58ba5e['HEADER_MENU'],()=>_0x499922(ja({'status$':this['_status$']['asObservable']()}),this['_injector'])));}};At=Ha([lt(0x0,_0x3dee00),lt(0x1,_0x699dce),lt(0x2,_0x4a6309(_0x5b64e2)),lt(0x3,_0x4a6309(rt))],At);function ja(_0x53a00d){const {status$:_0x3d20a4}=_0x53a00d;return function(){const _0xe8ff50=_0x328b;return De[_0xe8ff50(0x4af)](xa,{'status$':_0x3d20a4});};}const sr=_0x52afeb('uni.network.url-service');var Ba=Object[_0x3a0f4f(0x40a)],ka=Object[_0x3a0f4f(0x409)],Wa=(_0x575175,_0x6919e9,_0x4e2637,_0x40dd9c)=>{const _0x431546=_0x3a0f4f;for(var _0x52aab1=_0x40dd9c>0x1?void 0x0:_0x40dd9c?ka(_0x6919e9,_0x4e2637):_0x6919e9,_0x1d9639=_0x575175[_0x431546(0x312)]-0x1,_0xd05839;_0x1d9639>=0x0;_0x1d9639--)(_0xd05839=_0x575175[_0x1d9639])&&(_0x52aab1=(_0x40dd9c?_0xd05839(_0x6919e9,_0x4e2637,_0x52aab1):_0xd05839(_0x52aab1))||_0x52aab1);return _0x40dd9c&&_0x52aab1&&Ba(_0x6919e9,_0x4e2637,_0x52aab1),_0x52aab1;},ke=(_0x389777,_0x1dee57)=>(_0x5508c8,_0x10e717)=>_0x1dee57(_0x5508c8,_0x10e717,_0x389777);let Mt=class extends _0x5a2d55{constructor(_0x542c03,_0x5f2b17,_0x1174a2,_0x3173fa,_0x1b8041,_0xf5fcee){const _0x4b48ee=_0x3a0f4f;super(),this[_0x4b48ee(0x127)]=_0x542c03,this[_0x4b48ee(0x2d8)]=_0x5f2b17,this[_0x4b48ee(0x418)]=_0x1174a2,this['_localCacheService']=_0x3173fa,this[_0x4b48ee(0x17a)]=_0x1b8041,_0xf5fcee?_0xf5fcee==null||_0xf5fcee[_0x4b48ee(0x42f)]()[_0x4b48ee(0x17e)](()=>this['_init']()):(this['_logService'][_0x4b48ee(0x2db)](_0x4b48ee(0x487),_0x4b48ee(0x472)),this['_init']());}async[_0x3a0f4f(0x531)](){const _0x4b5724=_0x3a0f4f,_0x484a28=this[_0x4b5724(0x127)][_0x4b5724(0x238)](_0x4b5724(0x22a)),_0x293836=this[_0x4b5724(0x127)][_0x4b5724(0x238)](_0x4b5724(0x550));if(!_0x484a28||!_0x293836){this[_0x4b5724(0x2d8)][_0x4b5724(0x2db)](_0x4b5724(0x487),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x293836)){case ae['UNIVER_SHEET']:{const _0x3baeb8=await this[_0x4b5724(0x1fb)](_0x484a28);this[_0x4b5724(0x4ef)](_0x3baeb8);break;}case ae[_0x4b5724(0x12b)]:{await this[_0x4b5724(0x34f)](_0x484a28);break;}default:{this[_0x4b5724(0x2d8)][_0x4b5724(0x34b)]('[DataLoaderController]',_0x4b5724(0x324));break;}}}async['_setupSubUnitSync'](_0x43bbb5){const _0x5c9d8c=_0x3a0f4f;await this[_0x5c9d8c(0x4c5)](_0x43bbb5),_0x43bbb5[_0x5c9d8c(0x4f5)][_0x5c9d8c(0x2af)](_0x2a292b(this['dispose$']))[_0x5c9d8c(0x4f0)](_0x3ee38b=>{const _0x4b57d3=_0x5c9d8c;_0x3ee38b&&this[_0x4b57d3(0x4f2)](_0x3ee38b);}),this[_0x5c9d8c(0x127)][_0x5c9d8c(0x372)]['pipe'](_0x2a292b(this[_0x5c9d8c(0x220)]))[_0x5c9d8c(0x4f0)](()=>this[_0x5c9d8c(0x4c5)](_0x43bbb5));}[_0x3a0f4f(0x4f2)](_0x2d9981,_0x461bb6=!0x1){const _0x4ebd4f=_0x3a0f4f,_0x157647=this[_0x4ebd4f(0x127)][_0x4ebd4f(0x238)](_0x4ebd4f(0x4ca));_0x2d9981[_0x4ebd4f(0x54b)]()!==_0x157647&&this[_0x4ebd4f(0x127)][_0x4ebd4f(0x47f)]('subunit',_0x2d9981[_0x4ebd4f(0x54b)](),_0x461bb6);}async[_0x3a0f4f(0x4c5)](_0x2a65f5){const _0xb80ef7=_0x3a0f4f;var _0x449674;const _0x3ee2cf=this[_0xb80ef7(0x127)][_0xb80ef7(0x238)](_0xb80ef7(0x4ca));if(!_0x3ee2cf||!_0x2a65f5[_0xb80ef7(0x143)](_0x3ee2cf)){const _0x1a53bf=_0x2a65f5[_0xb80ef7(0x3c2)]()[0x0],_0x5baeda=_0x2a65f5[_0xb80ef7(0x143)](_0x1a53bf);if(!_0x5baeda)return;this[_0xb80ef7(0x4f2)](_0x5baeda,!0x0),await this[_0xb80ef7(0x418)][_0xb80ef7(0x267)](_0x57ba8['id'],{'unitId':_0x2a65f5[_0xb80ef7(0x1eb)](),'subUnitId':_0x1a53bf});return;}((_0x449674=_0x2a65f5[_0xb80ef7(0x425)]())==null?void 0x0:_0x449674['getSheetId']())!==_0x3ee2cf&&await this[_0xb80ef7(0x418)][_0xb80ef7(0x267)](_0x57ba8['id'],{'unitId':_0x2a65f5[_0xb80ef7(0x1eb)](),'subUnitId':_0x3ee2cf});}async[_0x3a0f4f(0x1fb)](_0x5bb9fa){const _0x2ce59c=_0x3a0f4f;let _0x1907da=0x0;const _0x1402b4=await this[_0x2ce59c(0x1dc)][_0x2ce59c(0x229)](_0x5bb9fa);return _0x1402b4&&(_0x1402b4[_0x2ce59c(0x41f)]||_0x1402b4[_0x2ce59c(0x4de)][_0x2ce59c(0x312)]!==0x0)&&(_0x1907da=_0x1402b4[_0x2ce59c(0x522)]),_0x1907da===0x0&&this[_0x2ce59c(0x2d8)]['debug'](_0x2ce59c(0x487),_0x2ce59c(0x35a)),this[_0x2ce59c(0x17a)]['loadSheet'](_0x5bb9fa,_0x1907da);}async[_0x3a0f4f(0x34f)](_0x273e66){const _0x46aa2d=_0x3a0f4f;let _0xf42954=0x0;const _0x10d0bd=await this[_0x46aa2d(0x1dc)]['loadOfflineData'](_0x273e66);return _0x10d0bd&&(_0x10d0bd[_0x46aa2d(0x41f)]||_0x10d0bd[_0x46aa2d(0x4de)][_0x46aa2d(0x312)]!==0x0)&&(_0xf42954=_0x10d0bd[_0x46aa2d(0x522)]),_0xf42954===0x0&&this[_0x46aa2d(0x2d8)][_0x46aa2d(0x2db)](_0x46aa2d(0x487),_0x46aa2d(0x35a)),this['_snapshotService'][_0x46aa2d(0x2ea)](_0x273e66,_0xf42954);}};Mt=Wa([ke(0x0,sr),ke(0x1,_0x4c9627),ke(0x2,_0x21538e),ke(0x3,_0x4a6309(z)),ke(0x4,_0x4a6309(_0x22467d)),ke(0x5,_0x4a0f17(_0x3ca02d))],Mt);var Fa=Object[_0x3a0f4f(0x40a)],Va=Object[_0x3a0f4f(0x409)],Ga=(_0x2ce3ea,_0x47ca7a,_0xd1d0d,_0x4723c4)=>{const _0x1880b1=_0x3a0f4f;for(var _0x5b42be=_0x4723c4>0x1?void 0x0:_0x4723c4?Va(_0x47ca7a,_0xd1d0d):_0x47ca7a,_0x425c90=_0x2ce3ea[_0x1880b1(0x312)]-0x1,_0x30829d;_0x425c90>=0x0;_0x425c90--)(_0x30829d=_0x2ce3ea[_0x425c90])&&(_0x5b42be=(_0x4723c4?_0x30829d(_0x47ca7a,_0xd1d0d,_0x5b42be):_0x30829d(_0x5b42be))||_0x5b42be);return _0x4723c4&&_0x5b42be&&Fa(_0x47ca7a,_0xd1d0d,_0x5b42be),_0x5b42be;},ai=(_0x3e8960,_0x589648)=>(_0x55c2a1,_0x537ec5)=>_0x589648(_0x55c2a1,_0x537ec5,_0x3e8960);const Ya='DEFAULT_FILE_NAME',Ka=_0x3a0f4f(0x4f9);let xt=class extends _0x27d038{constructor(_0x12ab14,_0xe75ef3){const _0x4ba0f7=_0x3a0f4f;super(),this['_univerInstanceService']=_0x12ab14,this[_0x4ba0f7(0x145)]=_0xe75ef3,this[_0x4ba0f7(0x531)]();}[_0x3a0f4f(0x531)](){const _0x5b8ff8=_0x3a0f4f;this[_0x5b8ff8(0x49b)](this[_0x5b8ff8(0x345)][_0x5b8ff8(0x365)][_0x5b8ff8(0x4f0)](()=>{const _0xc48cb=_0x5b8ff8;var _0x21cad5;const _0x10d203=this[_0xc48cb(0x345)][_0xc48cb(0x327)]();let _0x5c70db=(_0x21cad5=this[_0xc48cb(0x145)]['getConfig'](Ya))!=null?_0x21cad5:Ka;_0x10d203 instanceof _0xf3ae73&&(_0x5c70db=_0x10d203['name']),document[_0xc48cb(0x55a)]=_0x5c70db;}));}};xt=Ga([ai(0x0,_0x3dee00),ai(0x1,_0x1526c7)],xt);var qa=Object[_0x3a0f4f(0x40a)],za=Object['getOwnPropertyDescriptor'],Xa=(_0x100ce7,_0x45dd74,_0x471eac,_0x149ec6)=>{const _0xe7663=_0x3a0f4f;for(var _0x5ae792=_0x149ec6>0x1?void 0x0:_0x149ec6?za(_0x45dd74,_0x471eac):_0x45dd74,_0x15509c=_0x100ce7[_0xe7663(0x312)]-0x1,_0x22b771;_0x15509c>=0x0;_0x15509c--)(_0x22b771=_0x100ce7[_0x15509c])&&(_0x5ae792=(_0x149ec6?_0x22b771(_0x45dd74,_0x471eac,_0x5ae792):_0x22b771(_0x5ae792))||_0x5ae792);return _0x149ec6&&_0x5ae792&&qa(_0x45dd74,_0x471eac,_0x5ae792),_0x5ae792;},is=(_0x33ea32,_0x3596aa)=>(_0x2e5b7a,_0x451315)=>_0x3596aa(_0x2e5b7a,_0x451315,_0x33ea32);let Lt=class{constructor(_0x4c924a,_0x3b14e8,_0x42f286){const _0x3d8d71=_0x3a0f4f;this[_0x3d8d71(0x145)]=_0x4c924a,this[_0x3d8d71(0x53b)]=_0x3b14e8,this[_0x3d8d71(0x2e3)]=_0x42f286,this[_0x3d8d71(0x1fe)]();}['init'](){const _0x2c851c=_0x3a0f4f;this[_0x2c851c(0x53b)][_0x2c851c(0x3b3)]({'priority':0x1,'interceptor':(_0x452b2b,_0x3bc1ca)=>_0x3bc1ca(_0x452b2b)['pipe'](_0x4eb465(async _0x79197f=>{const _0x314bcf=_0x2c851c,_0xb76ea4=_0x79197f;if(_0xb76ea4['status']===0x191&&window['confirm'](this[_0x314bcf(0x2e3)]['t'](_0x314bcf(0x423)))){const _0x23c97c=window[_0x314bcf(0x29d)](window[_0x314bcf(0x152)][_0x314bcf(0x42e)]);window[_0x314bcf(0x152)][_0x314bcf(0x42e)]=this['_getLoginPath']()+_0x314bcf(0x456)+_0x23c97c;}return _0xb76ea4;}))});}[_0x3a0f4f(0x1d9)](){const _0x72e1fd=_0x3a0f4f;var _0x313ff2,_0x4f8729;const _0x2bf57b=this[_0x72e1fd(0x145)][_0x72e1fd(0x128)](Hn),_0x4a868f=this['_configService'][_0x72e1fd(0x128)](Q);return(_0x4f8729=(_0x313ff2=_0x4a868f==null?void 0x0:_0x4a868f['loginUrlKey'])!=null?_0x313ff2:_0x2bf57b)!=null?_0x4f8729:jn;}};Lt=Xa([is(0x0,_0x1526c7),is(0x1,_0x4a6309(_0x559bcb)),is(0x2,_0x4a6309(_0x440b58))],Lt);var Ja=Object[_0x3a0f4f(0x40a)],Za=Object['getOwnPropertyDescriptor'],Qa=(_0x19c3f6,_0x3a2fcc,_0x18082f,_0x1675fc)=>{const _0x8282da=_0x3a0f4f;for(var _0x3ee473=_0x1675fc>0x1?void 0x0:_0x1675fc?Za(_0x3a2fcc,_0x18082f):_0x3a2fcc,_0x4f2b71=_0x19c3f6[_0x8282da(0x312)]-0x1,_0x231e79;_0x4f2b71>=0x0;_0x4f2b71--)(_0x231e79=_0x19c3f6[_0x4f2b71])&&(_0x3ee473=(_0x1675fc?_0x231e79(_0x3a2fcc,_0x18082f,_0x3ee473):_0x231e79(_0x3ee473))||_0x3ee473);return _0x1675fc&&_0x3ee473&&Ja(_0x3a2fcc,_0x18082f,_0x3ee473),_0x3ee473;},ci=(_0x56cb87,_0x2c268e)=>(_0x4e8bcf,_0x1b7c22)=>_0x2c268e(_0x4e8bcf,_0x1b7c22,_0x56cb87);const ir=_0x3a0f4f(0x3a8),ec=_0x3a0f4f(0x41e);let ps=class extends _0x27d038{constructor(_0x38cca0,_0x340061){const _0x2fca69=_0x3a0f4f;super(),this['_HTTPService']=_0x38cca0,this[_0x2fca69(0x145)]=_0x340061,this[_0x2fca69(0x539)]();}[_0x3a0f4f(0x539)](){const _0x58f639=_0x3a0f4f,_0x5087c4=this;this[_0x58f639(0x49b)](this['_HTTPService'][_0x58f639(0x3b3)]({'priority':0x3e7,'interceptor':_0x449f9a({'isMatch'(_0x15be97){const _0x593ac6=_0x58f639;var _0x42bb03;if(_0x15be97[_0x593ac6(0x14e)]===_0x593ac6(0x2b6)&&((_0x42bb03=_0x15be97[_0x593ac6(0x3dd)])!=null&&_0x42bb03[_0x593ac6(0x3b4)])){const {objectID:_0x2e295c,objectType:_0x538ad8}=_0x15be97['requestParams'][_0x593ac6(0x3b4)]||{};if(!_0x2e295c||_0x538ad8===void 0x0)return!0x1;const _0xf86a=_0x5087c4[_0x593ac6(0x459)]()+'/'+_0x538ad8+_0x593ac6(0x410)+_0x2e295c+'/allowed';if(_0x15be97[_0x593ac6(0x360)]===_0xf86a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x422a0d){const _0x22f56f=_0x58f639;var _0x3724a6;return(_0x3724a6=_0x422a0d[_0x22f56f(0x3dd)])==null?void 0x0:_0x3724a6[_0x22f56f(0x3b4)];},'mergeParamsToRequest'(_0x306503,_0x287b42){const _0x40382a=_0x58f639,_0x5530d1=_0x5087c4[_0x40382a(0x459)]()+_0x40382a(0x4ab),_0x29fd63=_0x306503[_0x40382a(0x479)]((_0x30a8da,_0x1dbf1c)=>{const _0x2ef690=_0x40382a,{unitID:_0x38ba34,objectID:_0x35d9b3,objectType:_0x3d799d,actions:_0x7b29e1}=_0x1dbf1c;return _0x30a8da[_0x38ba34]||(_0x30a8da[_0x38ba34]={}),_0x30a8da[_0x38ba34][_0x35d9b3]||(_0x30a8da[_0x38ba34][_0x35d9b3]={'objectID':_0x35d9b3,'objectType':_0x3d799d,'actions':[]}),_0x30a8da[_0x38ba34][_0x35d9b3][_0x2ef690(0x3e2)]['push'](..._0x7b29e1),_0x30a8da;},{}),_0x30ebc7=[];for(const _0x1e76a9 in _0x29fd63)for(const _0x3eb302 in _0x29fd63[_0x1e76a9]){const {actions:_0x22ccf9,objectType:_0x4ed0c6}=_0x29fd63[_0x1e76a9][_0x3eb302],_0x3dea2e=[...new Set(_0x22ccf9)];_0x30ebc7[_0x40382a(0x43f)]({'unitID':_0x1e76a9,'objectID':_0x3eb302,'objectType':_0x4ed0c6,'actions':_0x3dea2e});}return new _0x827a3c(_0x40382a(0x2b6),_0x5530d1,{'headers':_0x287b42[_0x40382a(0x3a3)],'withCredentials':_0x287b42['withCredentials'],'responseType':_0x287b42['responseType'],'body':{'requests':_0x30ebc7}});}},{'distributeResult'(_0x265107,_0x154f3a){const _0x214de5=_0x58f639,{objectActions:_0x27e253}=_0x265107;return _0x154f3a[_0x214de5(0x545)](_0x2af924=>{const _0xdf8b0e=_0x214de5,{unitID:_0x2b3cb2,objectID:_0x48e8ab,actions:_0x3f74b1}=_0x2af924,_0x458c58=_0x27e253[_0xdf8b0e(0x16e)](_0x2bd170=>_0x2bd170[_0xdf8b0e(0x321)]===_0x2b3cb2&&_0x2bd170[_0xdf8b0e(0x4f8)]===_0x48e8ab),_0xbce9a9=_0x3f74b1[_0xdf8b0e(0x545)](_0x37fbe3=>_0x458c58==null?void 0x0:_0x458c58[_0xdf8b0e(0x3e2)][_0xdf8b0e(0x16e)](_0x1c2575=>_0x1c2575[_0xdf8b0e(0x284)]===_0x37fbe3))[_0xdf8b0e(0x271)](_0x4fa850=>!!_0x4fa850);return{'config':_0x2af924,'result':{'actions':_0xbce9a9,'error':_0x265107['error']}};});}})}));}[_0x3a0f4f(0x459)](){const _0x3e8f1d=_0x3a0f4f;var _0x4ffb6f,_0x48ba1e;const _0x3411ce=this['_configService']['getConfig'](ir),_0x657688=this[_0x3e8f1d(0x145)][_0x3e8f1d(0x128)](Q);return(_0x48ba1e=(_0x4ffb6f=_0x657688==null?void 0x0:_0x657688['authzUrl'])!=null?_0x4ffb6f:_0x3411ce)!=null?_0x48ba1e:ec;}async['create'](_0x34039d){const _0x23dc1d=_0x3a0f4f,_0x4dfc4d=this[_0x23dc1d(0x459)]()+'/'+_0x34039d['objectType']+_0x23dc1d(0x2fb);return(await this[_0x23dc1d(0x513)]['post'](_0x4dfc4d,{'body':_0x34039d}))[_0x23dc1d(0x3b4)]['objectID']||'';}async[_0x3a0f4f(0x254)](_0x18ce00){const _0x38b23f=_0x3a0f4f,_0x484d44=this['_getAPIPrefixPath']()+_0x38b23f(0x296);return(await this[_0x38b23f(0x513)]['post'](_0x484d44,{'body':_0x18ce00}))[_0x38b23f(0x3b4)][_0x38b23f(0x1c6)];}async[_0x3a0f4f(0x170)](_0x3ef377){const _0x2a6498=_0x3a0f4f,_0xb72bb0=this[_0x2a6498(0x459)]()+'/'+_0x3ef377[_0x2a6498(0x3c7)]+_0x2a6498(0x410)+_0x3ef377[_0x2a6498(0x4f8)];await this[_0x2a6498(0x513)][_0x2a6498(0x547)](_0xb72bb0,{'body':_0x3ef377});}async[_0x3a0f4f(0x4f1)](_0x2933a9){const _0x34b469=_0x3a0f4f,_0x26bb4b=this[_0x34b469(0x459)]()+'/'+_0x2933a9[_0x34b469(0x3c7)]+'/object/'+_0x2933a9[_0x34b469(0x4f8)]+_0x34b469(0x4d2);return(await this[_0x34b469(0x513)]['post'](_0x26bb4b,{'body':_0x2933a9}))[_0x34b469(0x3b4)]['actions'];}async[_0x3a0f4f(0x353)](_0x224a1a){const _0x4507ed=_0x3a0f4f,_0x5e15b5=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x4507ed(0x513)][_0x4507ed(0x4c3)](_0x5e15b5,{'body':{'requests':_0x224a1a}}))[_0x4507ed(0x3b4)][_0x4507ed(0x37b)];}async['listRoles'](_0x47bfde){const _0x15bf87=_0x3a0f4f,_0xfcadf=this[_0x15bf87(0x459)]()+'/'+_0x47bfde[_0x15bf87(0x3c7)]+_0x15bf87(0x495),_0x2bfbd6=await this['_HTTPService']['post'](_0xfcadf,{'body':_0x47bfde});return{'roles':_0x2bfbd6['body'][_0x15bf87(0x3f0)],'actions':_0x2bfbd6['body'][_0x15bf87(0x3e2)]};}async['deleteCollaborator'](_0x404bbb){const _0x5a0816=_0x3a0f4f,_0x531187=this['_getAPIPrefixPath']()+_0x5a0816(0x1a1);await this[_0x5a0816(0x513)][_0x5a0816(0x4d6)](_0x531187,{'params':{'collaboratorID':_0x404bbb[_0x5a0816(0x156)],'objectID':_0x404bbb[_0x5a0816(0x4f8)],'unitID':_0x404bbb[_0x5a0816(0x321)]}});}async[_0x3a0f4f(0x1b3)](_0x19bf96){const _0x4ab89f=_0x3a0f4f,_0x4f1441=this[_0x4ab89f(0x459)]()+_0x4ab89f(0x1a1);await this[_0x4ab89f(0x513)][_0x4ab89f(0x1a9)](_0x4f1441,{'body':_0x19bf96});}async[_0x3a0f4f(0x31d)](_0x5f1c4e){const _0x2f00f3=_0x3a0f4f,_0x572fe2=this[_0x2f00f3(0x459)]()+_0x2f00f3(0x1a1);await this[_0x2f00f3(0x513)][_0x2f00f3(0x4c3)](_0x572fe2,{'body':_0x5f1c4e});}async[_0x3a0f4f(0x39a)](_0x3e0f5f){const _0x20a7f9=_0x3a0f4f,_0x2eb15c=this[_0x20a7f9(0x459)]()+_0x20a7f9(0x1a1);return(await this[_0x20a7f9(0x513)][_0x20a7f9(0x204)](_0x2eb15c,{'params':{'objectID':_0x3e0f5f[_0x20a7f9(0x4f8)],'unitID':_0x3e0f5f[_0x20a7f9(0x321)]}}))[_0x20a7f9(0x3b4)][_0x20a7f9(0x196)];}async['putCollaborators'](_0x2e109f){const _0x14b454=_0x3a0f4f,_0x296dde=this['_getAPIPrefixPath']()+_0x14b454(0x1a1);await this[_0x14b454(0x513)]['put'](_0x296dde,{'body':_0x2e109f});}};ps=Qa([ci(0x0,_0x4a6309(_0x559bcb)),ci(0x1,_0x4a6309(_0x1526c7))],ps);var dt={'exports':{}};function tc(_0x264373){const _0x5821cf=_0x3a0f4f;throw new Error(_0x5821cf(0x240)+_0x264373+_0x5821cf(0x1a4));}var ft={'exports':{}},sc=ft['exports'],hi;function _e(){const _0x5289c=_0x3a0f4f;return hi||(hi=0x1,function(_0x18cbe9,_0x7cef34){(function(_0x4ed661,_0xa9c054){const _0x4088b0=_0x328b;_0x18cbe9[_0x4088b0(0x4ee)]=_0xa9c054();}(sc,function(){var _0x1301d7=_0x1301d7||function(_0x247ad9,_0x456a71){const _0x39b0d9=_0x328b;var _0x5bf770;if(typeof window<'u'&&window[_0x39b0d9(0x4f4)]&&(_0x5bf770=window[_0x39b0d9(0x4f4)]),typeof self<'u'&&self[_0x39b0d9(0x4f4)]&&(_0x5bf770=self[_0x39b0d9(0x4f4)]),typeof globalThis<'u'&&globalThis[_0x39b0d9(0x4f4)]&&(_0x5bf770=globalThis['crypto']),!_0x5bf770&&typeof window<'u'&&window[_0x39b0d9(0x47a)]&&(_0x5bf770=window[_0x39b0d9(0x47a)]),!_0x5bf770&&typeof ts<'u'&&ts[_0x39b0d9(0x4f4)]&&(_0x5bf770=ts[_0x39b0d9(0x4f4)]),!_0x5bf770&&typeof tc==_0x39b0d9(0x1ff))try{_0x5bf770=require('crypto');}catch{}var _0x30270e=function(){const _0x19f5ad=_0x39b0d9;if(_0x5bf770){if(typeof _0x5bf770['getRandomValues']=='function')try{return _0x5bf770[_0x19f5ad(0x558)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5bf770['randomBytes']==_0x19f5ad(0x1ff))try{return _0x5bf770[_0x19f5ad(0x4c4)](0x4)[_0x19f5ad(0x2c5)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x1b4493=Object[_0x39b0d9(0x23f)]||(function(){function _0x5e310f(){}return function(_0x223e6f){const _0x45a85d=_0x328b;var _0x2ee9d9;return _0x5e310f[_0x45a85d(0x2cb)]=_0x223e6f,_0x2ee9d9=new _0x5e310f(),_0x5e310f[_0x45a85d(0x2cb)]=null,_0x2ee9d9;};}()),_0x2d638d={},_0x31b366=_0x2d638d[_0x39b0d9(0x53d)]={},_0x556d95=_0x31b366[_0x39b0d9(0x12c)]=(function(){return{'extend':function(_0x3e37d4){const _0x262025=_0x328b;var _0x105826=_0x1b4493(this);return _0x3e37d4&&_0x105826['mixIn'](_0x3e37d4),(!_0x105826[_0x262025(0x230)]('init')||this[_0x262025(0x1fe)]===_0x105826[_0x262025(0x1fe)])&&(_0x105826[_0x262025(0x1fe)]=function(){const _0x4458f9=_0x262025;_0x105826[_0x4458f9(0x302)][_0x4458f9(0x1fe)][_0x4458f9(0x21c)](this,arguments);}),_0x105826[_0x262025(0x1fe)][_0x262025(0x2cb)]=_0x105826,_0x105826[_0x262025(0x302)]=this,_0x105826;},'create':function(){const _0x1aa285=_0x328b;var _0x1a38cf=this[_0x1aa285(0x2c3)]();return _0x1a38cf[_0x1aa285(0x1fe)][_0x1aa285(0x21c)](_0x1a38cf,arguments),_0x1a38cf;},'init':function(){},'mixIn':function(_0x9a32d8){const _0x481cc4=_0x328b;for(var _0x2f807b in _0x9a32d8)_0x9a32d8[_0x481cc4(0x230)](_0x2f807b)&&(this[_0x2f807b]=_0x9a32d8[_0x2f807b]);_0x9a32d8[_0x481cc4(0x230)]('toString')&&(this[_0x481cc4(0x542)]=_0x9a32d8[_0x481cc4(0x542)]);},'clone':function(){const _0x321611=_0x328b;return this[_0x321611(0x1fe)][_0x321611(0x2cb)][_0x321611(0x2c3)](this);}};}()),_0x3b38fd=_0x31b366[_0x39b0d9(0x4ed)]=_0x556d95['extend']({'init':function(_0x48d884,_0x585d74){const _0x3c7d36=_0x39b0d9;_0x48d884=this[_0x3c7d36(0x2ca)]=_0x48d884||[],_0x585d74!=_0x456a71?this[_0x3c7d36(0x4a7)]=_0x585d74:this['sigBytes']=_0x48d884['length']*0x4;},'toString':function(_0x3888b4){const _0x592f83=_0x39b0d9;return(_0x3888b4||_0x3b32c9)[_0x592f83(0x332)](this);},'concat':function(_0x9c47eb){const _0x397c20=_0x39b0d9;var _0x19bd1e=this['words'],_0x3e5cb0=_0x9c47eb[_0x397c20(0x2ca)],_0x434b6d=this[_0x397c20(0x4a7)],_0x681713=_0x9c47eb['sigBytes'];if(this[_0x397c20(0x4c2)](),_0x434b6d%0x4)for(var _0x5be09c=0x0;_0x5be09c<_0x681713;_0x5be09c++){var _0xfa43c2=_0x3e5cb0[_0x5be09c>>>0x2]>>>0x18-_0x5be09c%0x4*0x8&0xff;_0x19bd1e[_0x434b6d+_0x5be09c>>>0x2]|=_0xfa43c2<<0x18-(_0x434b6d+_0x5be09c)%0x4*0x8;}else{for(var _0x5d2e11=0x0;_0x5d2e11<_0x681713;_0x5d2e11+=0x4)_0x19bd1e[_0x434b6d+_0x5d2e11>>>0x2]=_0x3e5cb0[_0x5d2e11>>>0x2];}return this[_0x397c20(0x4a7)]+=_0x681713,this;},'clamp':function(){const _0x53aae1=_0x39b0d9;var _0x2e434b=this['words'],_0x3235d4=this[_0x53aae1(0x4a7)];_0x2e434b[_0x3235d4>>>0x2]&=0xffffffff<<0x20-_0x3235d4%0x4*0x8,_0x2e434b[_0x53aae1(0x312)]=_0x247ad9[_0x53aae1(0x348)](_0x3235d4/0x4);},'clone':function(){const _0x15033d=_0x39b0d9;var _0x19b0ae=_0x556d95['clone']['call'](this);return _0x19b0ae[_0x15033d(0x2ca)]=this['words'][_0x15033d(0x21a)](0x0),_0x19b0ae;},'random':function(_0x5c9c37){const _0xf1d73b=_0x39b0d9;for(var _0x2e9df7=[],_0x512f72=0x0;_0x512f72<_0x5c9c37;_0x512f72+=0x4)_0x2e9df7[_0xf1d73b(0x43f)](_0x30270e());return new _0x3b38fd[(_0xf1d73b(0x1fe))](_0x2e9df7,_0x5c9c37);}}),_0x2f1033=_0x2d638d[_0x39b0d9(0x4a6)]={},_0x3b32c9=_0x2f1033[_0x39b0d9(0x286)]={'stringify':function(_0x1e05f3){const _0x187995=_0x39b0d9;for(var _0x2d83fa=_0x1e05f3['words'],_0x5ca989=_0x1e05f3[_0x187995(0x4a7)],_0x224085=[],_0x283c38=0x0;_0x283c38<_0x5ca989;_0x283c38++){var _0x107d0c=_0x2d83fa[_0x283c38>>>0x2]>>>0x18-_0x283c38%0x4*0x8&0xff;_0x224085[_0x187995(0x43f)]((_0x107d0c>>>0x4)['toString'](0x10)),_0x224085[_0x187995(0x43f)]((_0x107d0c&0xf)['toString'](0x10));}return _0x224085[_0x187995(0x440)]('');},'parse':function(_0x4c1042){const _0x2263e7=_0x39b0d9;for(var _0x204f26=_0x4c1042['length'],_0x270d4f=[],_0x26b0e6=0x0;_0x26b0e6<_0x204f26;_0x26b0e6+=0x2)_0x270d4f[_0x26b0e6>>>0x3]|=parseInt(_0x4c1042[_0x2263e7(0x491)](_0x26b0e6,0x2),0x10)<<0x18-_0x26b0e6%0x8*0x4;return new _0x3b38fd['init'](_0x270d4f,_0x204f26/0x2);}},_0x4537ef=_0x2f1033[_0x39b0d9(0x218)]={'stringify':function(_0x280184){const _0x16b9a2=_0x39b0d9;for(var _0x72e6de=_0x280184[_0x16b9a2(0x2ca)],_0x5bd2a3=_0x280184[_0x16b9a2(0x4a7)],_0x259af3=[],_0x3f03e3=0x0;_0x3f03e3<_0x5bd2a3;_0x3f03e3++){var _0x51e6d7=_0x72e6de[_0x3f03e3>>>0x2]>>>0x18-_0x3f03e3%0x4*0x8&0xff;_0x259af3[_0x16b9a2(0x43f)](String['fromCharCode'](_0x51e6d7));}return _0x259af3[_0x16b9a2(0x440)]('');},'parse':function(_0x2208c6){const _0x3db22e=_0x39b0d9;for(var _0x18dda1=_0x2208c6[_0x3db22e(0x312)],_0x3e2bad=[],_0x19a6dd=0x0;_0x19a6dd<_0x18dda1;_0x19a6dd++)_0x3e2bad[_0x19a6dd>>>0x2]|=(_0x2208c6[_0x3db22e(0x295)](_0x19a6dd)&0xff)<<0x18-_0x19a6dd%0x4*0x8;return new _0x3b38fd[(_0x3db22e(0x1fe))](_0x3e2bad,_0x18dda1);}},_0x557d1f=_0x2f1033['Utf8']={'stringify':function(_0x4d0298){const _0x36c144=_0x39b0d9;try{return decodeURIComponent(escape(_0x4537ef[_0x36c144(0x332)](_0x4d0298)));}catch{throw new Error(_0x36c144(0x264));}},'parse':function(_0x2291bd){const _0x5be925=_0x39b0d9;return _0x4537ef[_0x5be925(0x4ae)](unescape(encodeURIComponent(_0x2291bd)));}},_0x1da74c=_0x31b366['BufferedBlockAlgorithm']=_0x556d95[_0x39b0d9(0x2c3)]({'reset':function(){const _0x12fe50=_0x39b0d9;this[_0x12fe50(0x2bd)]=new _0x3b38fd[(_0x12fe50(0x1fe))](),this['_nDataBytes']=0x0;},'_append':function(_0x160b7b){const _0x920d6f=_0x39b0d9;typeof _0x160b7b=='string'&&(_0x160b7b=_0x557d1f[_0x920d6f(0x4ae)](_0x160b7b)),this[_0x920d6f(0x2bd)][_0x920d6f(0x14a)](_0x160b7b),this[_0x920d6f(0x432)]+=_0x160b7b[_0x920d6f(0x4a7)];},'_process':function(_0x3c3d63){const _0x5e0bea=_0x39b0d9;var _0xb0274b,_0x56a73a=this[_0x5e0bea(0x2bd)],_0x30f63a=_0x56a73a[_0x5e0bea(0x2ca)],_0x4ba9d5=_0x56a73a['sigBytes'],_0x44ef99=this[_0x5e0bea(0x198)],_0x46ce64=_0x44ef99*0x4,_0x4bd209=_0x4ba9d5/_0x46ce64;_0x3c3d63?_0x4bd209=_0x247ad9[_0x5e0bea(0x348)](_0x4bd209):_0x4bd209=_0x247ad9[_0x5e0bea(0x2b7)]((_0x4bd209|0x0)-this[_0x5e0bea(0x2ad)],0x0);var _0x12cc34=_0x4bd209*_0x44ef99,_0x10ac5a=_0x247ad9[_0x5e0bea(0x1da)](_0x12cc34*0x4,_0x4ba9d5);if(_0x12cc34){for(var _0x51673e=0x0;_0x51673e<_0x12cc34;_0x51673e+=_0x44ef99)this[_0x5e0bea(0x4b5)](_0x30f63a,_0x51673e);_0xb0274b=_0x30f63a[_0x5e0bea(0x51c)](0x0,_0x12cc34),_0x56a73a['sigBytes']-=_0x10ac5a;}return new _0x3b38fd[(_0x5e0bea(0x1fe))](_0xb0274b,_0x10ac5a);},'clone':function(){const _0x27a353=_0x39b0d9;var _0x35a4fd=_0x556d95['clone'][_0x27a353(0x140)](this);return _0x35a4fd['_data']=this[_0x27a353(0x2bd)][_0x27a353(0x3ca)](),_0x35a4fd;},'_minBufferSize':0x0});_0x31b366[_0x39b0d9(0x39d)]=_0x1da74c['extend']({'cfg':_0x556d95['extend'](),'init':function(_0x4530f7){const _0x357704=_0x39b0d9;this[_0x357704(0x4df)]=this[_0x357704(0x4df)]['extend'](_0x4530f7),this[_0x357704(0x28a)]();},'reset':function(){const _0xb29dbe=_0x39b0d9;_0x1da74c[_0xb29dbe(0x28a)]['call'](this),this['_doReset']();},'update':function(_0x11c1c4){const _0x13174e=_0x39b0d9;return this['_append'](_0x11c1c4),this[_0x13174e(0x366)](),this;},'finalize':function(_0x33b042){const _0x231700=_0x39b0d9;_0x33b042&&this[_0x231700(0x298)](_0x33b042);var _0x5ed705=this[_0x231700(0x1a2)]();return _0x5ed705;},'blockSize':0x10,'_createHelper':function(_0x21aa69){return function(_0x476bfa,_0x52061a){const _0x5eb3e8=_0x328b;return new _0x21aa69[(_0x5eb3e8(0x1fe))](_0x52061a)[_0x5eb3e8(0x1b1)](_0x476bfa);};},'_createHmacHelper':function(_0x20c4fd){return function(_0x3266bc,_0x535c72){const _0x39e696=_0x328b;return new _0x3cda48[(_0x39e696(0x49e))]['init'](_0x20c4fd,_0x535c72)[_0x39e696(0x1b1)](_0x3266bc);};}});var _0x3cda48=_0x2d638d['algo']={};return _0x2d638d;}(Math);return _0x1301d7;}));}(ft)),ft[_0x5289c(0x4ee)];}var vt={'exports':{}},ic=vt[_0x3a0f4f(0x4ee)],li;function rr(){return li||(li=0x1,function(_0x3c9a78,_0x5f0470){(function(_0x1f119d,_0x259d3c){_0x3c9a78['exports']=_0x259d3c(_e());}(ic,function(_0x568a9c){const _0x59dbfe=_0x328b;return(function(){const _0x88ced0=_0x328b;var _0x3cb334=_0x568a9c,_0x61e210=_0x3cb334[_0x88ced0(0x53d)],_0x194c02=_0x61e210[_0x88ced0(0x4ed)],_0x109d13=_0x3cb334[_0x88ced0(0x4a6)];_0x109d13[_0x88ced0(0x1b4)]={'stringify':function(_0x525c3e){const _0x550321=_0x88ced0;var _0x248042=_0x525c3e[_0x550321(0x2ca)],_0x2588ec=_0x525c3e[_0x550321(0x4a7)],_0x199603=this['_map'];_0x525c3e[_0x550321(0x4c2)]();for(var _0x46702d=[],_0x56420b=0x0;_0x56420b<_0x2588ec;_0x56420b+=0x3)for(var _0x1bf791=_0x248042[_0x56420b>>>0x2]>>>0x18-_0x56420b%0x4*0x8&0xff,_0x3016cc=_0x248042[_0x56420b+0x1>>>0x2]>>>0x18-(_0x56420b+0x1)%0x4*0x8&0xff,_0x79fe50=_0x248042[_0x56420b+0x2>>>0x2]>>>0x18-(_0x56420b+0x2)%0x4*0x8&0xff,_0x195417=_0x1bf791<<0x10|_0x3016cc<<0x8|_0x79fe50,_0x13e653=0x0;_0x13e653<0x4&&_0x56420b+_0x13e653*0.75<_0x2588ec;_0x13e653++)_0x46702d[_0x550321(0x43f)](_0x199603['charAt'](_0x195417>>>0x6*(0x3-_0x13e653)&0x3f));var _0x2dc00e=_0x199603[_0x550321(0x2f5)](0x40);if(_0x2dc00e){for(;_0x46702d[_0x550321(0x312)]%0x4;)_0x46702d[_0x550321(0x43f)](_0x2dc00e);}return _0x46702d['join']('');},'parse':function(_0x508f7d){const _0x31940a=_0x88ced0;var _0xd0bd68=_0x508f7d['length'],_0x4c0338=this[_0x31940a(0x367)],_0xa026bd=this[_0x31940a(0x54e)];if(!_0xa026bd){_0xa026bd=this[_0x31940a(0x54e)]=[];for(var _0x17de1b=0x0;_0x17de1b<_0x4c0338[_0x31940a(0x312)];_0x17de1b++)_0xa026bd[_0x4c0338['charCodeAt'](_0x17de1b)]=_0x17de1b;}var _0x10cbc6=_0x4c0338[_0x31940a(0x2f5)](0x40);if(_0x10cbc6){var _0x2bdc1f=_0x508f7d[_0x31940a(0x299)](_0x10cbc6);_0x2bdc1f!==-0x1&&(_0xd0bd68=_0x2bdc1f);}return _0x1a66f1(_0x508f7d,_0xd0bd68,_0xa026bd);},'_map':_0x88ced0(0x31c)};function _0x1a66f1(_0x4101b1,_0x2a4897,_0x3988a7){const _0x4c7586=_0x88ced0;for(var _0x38eaed=[],_0x388747=0x0,_0x2f146b=0x0;_0x2f146b<_0x2a4897;_0x2f146b++)if(_0x2f146b%0x4){var _0x41508e=_0x3988a7[_0x4101b1[_0x4c7586(0x295)](_0x2f146b-0x1)]<<_0x2f146b%0x4*0x2,_0x2564bd=_0x3988a7[_0x4101b1[_0x4c7586(0x295)](_0x2f146b)]>>>0x6-_0x2f146b%0x4*0x2,_0x23abca=_0x41508e|_0x2564bd;_0x38eaed[_0x388747>>>0x2]|=_0x23abca<<0x18-_0x388747%0x4*0x8,_0x388747++;}return _0x194c02['create'](_0x38eaed,_0x388747);}}()),_0x568a9c[_0x59dbfe(0x4a6)]['Base64'];}));}(vt)),vt['exports'];}var pt={'exports':{}},rc=pt[_0x3a0f4f(0x4ee)],_i;function nc(){return _i||(_i=0x1,function(_0x55c61f,_0x26719e){(function(_0x21918f,_0x51e2a7){_0x55c61f['exports']=_0x51e2a7(_e());}(rc,function(_0x394457){return function(_0x53d966){const _0x2cb848=_0x328b;var _0x3bd760=_0x394457,_0x464453=_0x3bd760[_0x2cb848(0x53d)],_0x4d50ec=_0x464453[_0x2cb848(0x4ed)],_0x5e55d4=_0x464453['Hasher'],_0x25996b=_0x3bd760[_0x2cb848(0x134)],_0x15daf1=[];(function(){const _0x2ef782=_0x2cb848;for(var _0x3253eb=0x0;_0x3253eb<0x40;_0x3253eb++)_0x15daf1[_0x3253eb]=_0x53d966[_0x2ef782(0x176)](_0x53d966[_0x2ef782(0x2e0)](_0x3253eb+0x1))*0x100000000|0x0;}());var _0x27b12d=_0x25996b[_0x2cb848(0x14d)]=_0x5e55d4[_0x2cb848(0x2c3)]({'_doReset':function(){const _0x42d1f5=_0x2cb848;this[_0x42d1f5(0x451)]=new _0x4d50ec[(_0x42d1f5(0x1fe))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x22e286,_0xee295d){const _0x3c4a81=_0x2cb848;for(var _0x4fa63d=0x0;_0x4fa63d<0x10;_0x4fa63d++){var _0x530458=_0xee295d+_0x4fa63d,_0x2c2f3e=_0x22e286[_0x530458];_0x22e286[_0x530458]=(_0x2c2f3e<<0x8|_0x2c2f3e>>>0x18)&0xff00ff|(_0x2c2f3e<<0x18|_0x2c2f3e>>>0x8)&0xff00ff00;}var _0x2c7964=this['_hash'][_0x3c4a81(0x2ca)],_0x229f30=_0x22e286[_0xee295d+0x0],_0x2e3a9d=_0x22e286[_0xee295d+0x1],_0x204249=_0x22e286[_0xee295d+0x2],_0x5d821c=_0x22e286[_0xee295d+0x3],_0xf9a32b=_0x22e286[_0xee295d+0x4],_0x257684=_0x22e286[_0xee295d+0x5],_0x5ba0e0=_0x22e286[_0xee295d+0x6],_0x30705f=_0x22e286[_0xee295d+0x7],_0x91005=_0x22e286[_0xee295d+0x8],_0x4860c2=_0x22e286[_0xee295d+0x9],_0x3049a0=_0x22e286[_0xee295d+0xa],_0x12d46c=_0x22e286[_0xee295d+0xb],_0x930253=_0x22e286[_0xee295d+0xc],_0x55d420=_0x22e286[_0xee295d+0xd],_0x4c9d1b=_0x22e286[_0xee295d+0xe],_0x39231b=_0x22e286[_0xee295d+0xf],_0x10c6d9=_0x2c7964[0x0],_0x5129cf=_0x2c7964[0x1],_0xce5e43=_0x2c7964[0x2],_0x144b85=_0x2c7964[0x3];_0x10c6d9=_0x5045e4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x229f30,0x7,_0x15daf1[0x0]),_0x144b85=_0x5045e4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x2e3a9d,0xc,_0x15daf1[0x1]),_0xce5e43=_0x5045e4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x204249,0x11,_0x15daf1[0x2]),_0x5129cf=_0x5045e4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x5d821c,0x16,_0x15daf1[0x3]),_0x10c6d9=_0x5045e4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0xf9a32b,0x7,_0x15daf1[0x4]),_0x144b85=_0x5045e4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x257684,0xc,_0x15daf1[0x5]),_0xce5e43=_0x5045e4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x5ba0e0,0x11,_0x15daf1[0x6]),_0x5129cf=_0x5045e4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x30705f,0x16,_0x15daf1[0x7]),_0x10c6d9=_0x5045e4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x91005,0x7,_0x15daf1[0x8]),_0x144b85=_0x5045e4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x4860c2,0xc,_0x15daf1[0x9]),_0xce5e43=_0x5045e4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x3049a0,0x11,_0x15daf1[0xa]),_0x5129cf=_0x5045e4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x12d46c,0x16,_0x15daf1[0xb]),_0x10c6d9=_0x5045e4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x930253,0x7,_0x15daf1[0xc]),_0x144b85=_0x5045e4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x55d420,0xc,_0x15daf1[0xd]),_0xce5e43=_0x5045e4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x4c9d1b,0x11,_0x15daf1[0xe]),_0x5129cf=_0x5045e4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x39231b,0x16,_0x15daf1[0xf]),_0x10c6d9=_0x5f3fb0(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x2e3a9d,0x5,_0x15daf1[0x10]),_0x144b85=_0x5f3fb0(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x5ba0e0,0x9,_0x15daf1[0x11]),_0xce5e43=_0x5f3fb0(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x12d46c,0xe,_0x15daf1[0x12]),_0x5129cf=_0x5f3fb0(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x229f30,0x14,_0x15daf1[0x13]),_0x10c6d9=_0x5f3fb0(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x257684,0x5,_0x15daf1[0x14]),_0x144b85=_0x5f3fb0(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x3049a0,0x9,_0x15daf1[0x15]),_0xce5e43=_0x5f3fb0(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x39231b,0xe,_0x15daf1[0x16]),_0x5129cf=_0x5f3fb0(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0xf9a32b,0x14,_0x15daf1[0x17]),_0x10c6d9=_0x5f3fb0(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x4860c2,0x5,_0x15daf1[0x18]),_0x144b85=_0x5f3fb0(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x4c9d1b,0x9,_0x15daf1[0x19]),_0xce5e43=_0x5f3fb0(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x5d821c,0xe,_0x15daf1[0x1a]),_0x5129cf=_0x5f3fb0(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x91005,0x14,_0x15daf1[0x1b]),_0x10c6d9=_0x5f3fb0(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x55d420,0x5,_0x15daf1[0x1c]),_0x144b85=_0x5f3fb0(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x204249,0x9,_0x15daf1[0x1d]),_0xce5e43=_0x5f3fb0(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x30705f,0xe,_0x15daf1[0x1e]),_0x5129cf=_0x5f3fb0(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x930253,0x14,_0x15daf1[0x1f]),_0x10c6d9=_0x7949f8(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x257684,0x4,_0x15daf1[0x20]),_0x144b85=_0x7949f8(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x91005,0xb,_0x15daf1[0x21]),_0xce5e43=_0x7949f8(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x12d46c,0x10,_0x15daf1[0x22]),_0x5129cf=_0x7949f8(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x4c9d1b,0x17,_0x15daf1[0x23]),_0x10c6d9=_0x7949f8(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x2e3a9d,0x4,_0x15daf1[0x24]),_0x144b85=_0x7949f8(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0xf9a32b,0xb,_0x15daf1[0x25]),_0xce5e43=_0x7949f8(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x30705f,0x10,_0x15daf1[0x26]),_0x5129cf=_0x7949f8(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x3049a0,0x17,_0x15daf1[0x27]),_0x10c6d9=_0x7949f8(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x55d420,0x4,_0x15daf1[0x28]),_0x144b85=_0x7949f8(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x229f30,0xb,_0x15daf1[0x29]),_0xce5e43=_0x7949f8(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x5d821c,0x10,_0x15daf1[0x2a]),_0x5129cf=_0x7949f8(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x5ba0e0,0x17,_0x15daf1[0x2b]),_0x10c6d9=_0x7949f8(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x4860c2,0x4,_0x15daf1[0x2c]),_0x144b85=_0x7949f8(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x930253,0xb,_0x15daf1[0x2d]),_0xce5e43=_0x7949f8(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x39231b,0x10,_0x15daf1[0x2e]),_0x5129cf=_0x7949f8(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x204249,0x17,_0x15daf1[0x2f]),_0x10c6d9=_0x4a17f4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x229f30,0x6,_0x15daf1[0x30]),_0x144b85=_0x4a17f4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x30705f,0xa,_0x15daf1[0x31]),_0xce5e43=_0x4a17f4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x4c9d1b,0xf,_0x15daf1[0x32]),_0x5129cf=_0x4a17f4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x257684,0x15,_0x15daf1[0x33]),_0x10c6d9=_0x4a17f4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x930253,0x6,_0x15daf1[0x34]),_0x144b85=_0x4a17f4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x5d821c,0xa,_0x15daf1[0x35]),_0xce5e43=_0x4a17f4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x3049a0,0xf,_0x15daf1[0x36]),_0x5129cf=_0x4a17f4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x2e3a9d,0x15,_0x15daf1[0x37]),_0x10c6d9=_0x4a17f4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0x91005,0x6,_0x15daf1[0x38]),_0x144b85=_0x4a17f4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x39231b,0xa,_0x15daf1[0x39]),_0xce5e43=_0x4a17f4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x5ba0e0,0xf,_0x15daf1[0x3a]),_0x5129cf=_0x4a17f4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x55d420,0x15,_0x15daf1[0x3b]),_0x10c6d9=_0x4a17f4(_0x10c6d9,_0x5129cf,_0xce5e43,_0x144b85,_0xf9a32b,0x6,_0x15daf1[0x3c]),_0x144b85=_0x4a17f4(_0x144b85,_0x10c6d9,_0x5129cf,_0xce5e43,_0x12d46c,0xa,_0x15daf1[0x3d]),_0xce5e43=_0x4a17f4(_0xce5e43,_0x144b85,_0x10c6d9,_0x5129cf,_0x204249,0xf,_0x15daf1[0x3e]),_0x5129cf=_0x4a17f4(_0x5129cf,_0xce5e43,_0x144b85,_0x10c6d9,_0x4860c2,0x15,_0x15daf1[0x3f]),_0x2c7964[0x0]=_0x2c7964[0x0]+_0x10c6d9|0x0,_0x2c7964[0x1]=_0x2c7964[0x1]+_0x5129cf|0x0,_0x2c7964[0x2]=_0x2c7964[0x2]+_0xce5e43|0x0,_0x2c7964[0x3]=_0x2c7964[0x3]+_0x144b85|0x0;},'_doFinalize':function(){const _0x31b932=_0x2cb848;var _0x37bf52=this[_0x31b932(0x2bd)],_0x5f319d=_0x37bf52[_0x31b932(0x2ca)],_0x5cc3e4=this[_0x31b932(0x432)]*0x8,_0x31d7f6=_0x37bf52['sigBytes']*0x8;_0x5f319d[_0x31d7f6>>>0x5]|=0x80<<0x18-_0x31d7f6%0x20;var _0x5c7897=_0x53d966[_0x31b932(0x34c)](_0x5cc3e4/0x100000000),_0x33d8d3=_0x5cc3e4;_0x5f319d[(_0x31d7f6+0x40>>>0x9<<0x4)+0xf]=(_0x5c7897<<0x8|_0x5c7897>>>0x18)&0xff00ff|(_0x5c7897<<0x18|_0x5c7897>>>0x8)&0xff00ff00,_0x5f319d[(_0x31d7f6+0x40>>>0x9<<0x4)+0xe]=(_0x33d8d3<<0x8|_0x33d8d3>>>0x18)&0xff00ff|(_0x33d8d3<<0x18|_0x33d8d3>>>0x8)&0xff00ff00,_0x37bf52['sigBytes']=(_0x5f319d[_0x31b932(0x312)]+0x1)*0x4,this[_0x31b932(0x366)]();for(var _0x16cd00=this[_0x31b932(0x451)],_0x408337=_0x16cd00['words'],_0x43f9e2=0x0;_0x43f9e2<0x4;_0x43f9e2++){var _0x8c522b=_0x408337[_0x43f9e2];_0x408337[_0x43f9e2]=(_0x8c522b<<0x8|_0x8c522b>>>0x18)&0xff00ff|(_0x8c522b<<0x18|_0x8c522b>>>0x8)&0xff00ff00;}return _0x16cd00;},'clone':function(){const _0x3b49f7=_0x2cb848;var _0x3e46a6=_0x5e55d4['clone']['call'](this);return _0x3e46a6[_0x3b49f7(0x451)]=this[_0x3b49f7(0x451)]['clone'](),_0x3e46a6;}});function _0x5045e4(_0xa78991,_0x47289c,_0x4a7c2f,_0x187ebb,_0x1b4a63,_0x201e49,_0x2b1b6f){var _0x4a4b44=_0xa78991+(_0x47289c&_0x4a7c2f|~_0x47289c&_0x187ebb)+_0x1b4a63+_0x2b1b6f;return(_0x4a4b44<<_0x201e49|_0x4a4b44>>>0x20-_0x201e49)+_0x47289c;}function _0x5f3fb0(_0x3a34b8,_0x4241b7,_0x19b218,_0x1bd6c6,_0x404183,_0x4aab1f,_0x34193f){var _0x5c815a=_0x3a34b8+(_0x4241b7&_0x1bd6c6|_0x19b218&~_0x1bd6c6)+_0x404183+_0x34193f;return(_0x5c815a<<_0x4aab1f|_0x5c815a>>>0x20-_0x4aab1f)+_0x4241b7;}function _0x7949f8(_0x873b8d,_0x3eff4f,_0x1c91ed,_0x371d2a,_0x4881b0,_0xa8bfe5,_0x5d44ba){var _0x5c3f31=_0x873b8d+(_0x3eff4f^_0x1c91ed^_0x371d2a)+_0x4881b0+_0x5d44ba;return(_0x5c3f31<<_0xa8bfe5|_0x5c3f31>>>0x20-_0xa8bfe5)+_0x3eff4f;}function _0x4a17f4(_0x4b5125,_0x243d8d,_0x280d39,_0x5747ee,_0x3e635f,_0x26a080,_0x357220){var _0x27442f=_0x4b5125+(_0x280d39^(_0x243d8d|~_0x5747ee))+_0x3e635f+_0x357220;return(_0x27442f<<_0x26a080|_0x27442f>>>0x20-_0x26a080)+_0x243d8d;}_0x3bd760[_0x2cb848(0x14d)]=_0x5e55d4['_createHelper'](_0x27b12d),_0x3bd760[_0x2cb848(0x181)]=_0x5e55d4['_createHmacHelper'](_0x27b12d);}(Math),_0x394457['MD5'];}));}(pt)),pt['exports'];}var mt={'exports':{}},gt={'exports':{}},oc=gt['exports'],ui;function ac(){return ui||(ui=0x1,function(_0x1f9d67,_0x416d17){(function(_0x591d6f,_0x223ea0){_0x1f9d67['exports']=_0x223ea0(_e());}(oc,function(_0x5d2290){const _0x5ea556=_0x328b;return(function(){const _0xe5d1c7=_0x328b;var _0x27f1f1=_0x5d2290,_0x410c02=_0x27f1f1[_0xe5d1c7(0x53d)],_0x4b24c3=_0x410c02[_0xe5d1c7(0x4ed)],_0x178e08=_0x410c02[_0xe5d1c7(0x39d)],_0x5bf8a1=_0x27f1f1[_0xe5d1c7(0x134)],_0x537661=[],_0x3acdcb=_0x5bf8a1[_0xe5d1c7(0x309)]=_0x178e08[_0xe5d1c7(0x2c3)]({'_doReset':function(){this['_hash']=new _0x4b24c3['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x30b30f,_0x5f2f0f){const _0x22225f=_0xe5d1c7;for(var _0x4663a2=this[_0x22225f(0x451)][_0x22225f(0x2ca)],_0x4eda5a=_0x4663a2[0x0],_0x1973d8=_0x4663a2[0x1],_0x355b26=_0x4663a2[0x2],_0x4fa9b8=_0x4663a2[0x3],_0x44d2d6=_0x4663a2[0x4],_0x4791ac=0x0;_0x4791ac<0x50;_0x4791ac++){if(_0x4791ac<0x10)_0x537661[_0x4791ac]=_0x30b30f[_0x5f2f0f+_0x4791ac]|0x0;else{var _0x16fbab=_0x537661[_0x4791ac-0x3]^_0x537661[_0x4791ac-0x8]^_0x537661[_0x4791ac-0xe]^_0x537661[_0x4791ac-0x10];_0x537661[_0x4791ac]=_0x16fbab<<0x1|_0x16fbab>>>0x1f;}var _0x48185a=(_0x4eda5a<<0x5|_0x4eda5a>>>0x1b)+_0x44d2d6+_0x537661[_0x4791ac];_0x4791ac<0x14?_0x48185a+=(_0x1973d8&_0x355b26|~_0x1973d8&_0x4fa9b8)+0x5a827999:_0x4791ac<0x28?_0x48185a+=(_0x1973d8^_0x355b26^_0x4fa9b8)+0x6ed9eba1:_0x4791ac<0x3c?_0x48185a+=(_0x1973d8&_0x355b26|_0x1973d8&_0x4fa9b8|_0x355b26&_0x4fa9b8)-0x70e44324:_0x48185a+=(_0x1973d8^_0x355b26^_0x4fa9b8)-0x359d3e2a,_0x44d2d6=_0x4fa9b8,_0x4fa9b8=_0x355b26,_0x355b26=_0x1973d8<<0x1e|_0x1973d8>>>0x2,_0x1973d8=_0x4eda5a,_0x4eda5a=_0x48185a;}_0x4663a2[0x0]=_0x4663a2[0x0]+_0x4eda5a|0x0,_0x4663a2[0x1]=_0x4663a2[0x1]+_0x1973d8|0x0,_0x4663a2[0x2]=_0x4663a2[0x2]+_0x355b26|0x0,_0x4663a2[0x3]=_0x4663a2[0x3]+_0x4fa9b8|0x0,_0x4663a2[0x4]=_0x4663a2[0x4]+_0x44d2d6|0x0;},'_doFinalize':function(){const _0x256066=_0xe5d1c7;var _0x34a66b=this[_0x256066(0x2bd)],_0x2958b0=_0x34a66b['words'],_0x240bc4=this[_0x256066(0x432)]*0x8,_0x440eff=_0x34a66b[_0x256066(0x4a7)]*0x8;return _0x2958b0[_0x440eff>>>0x5]|=0x80<<0x18-_0x440eff%0x20,_0x2958b0[(_0x440eff+0x40>>>0x9<<0x4)+0xe]=Math[_0x256066(0x34c)](_0x240bc4/0x100000000),_0x2958b0[(_0x440eff+0x40>>>0x9<<0x4)+0xf]=_0x240bc4,_0x34a66b['sigBytes']=_0x2958b0['length']*0x4,this['_process'](),this[_0x256066(0x451)];},'clone':function(){const _0xafe70e=_0xe5d1c7;var _0x3a5b91=_0x178e08[_0xafe70e(0x3ca)]['call'](this);return _0x3a5b91[_0xafe70e(0x451)]=this[_0xafe70e(0x451)][_0xafe70e(0x3ca)](),_0x3a5b91;}});_0x27f1f1['SHA1']=_0x178e08[_0xe5d1c7(0x171)](_0x3acdcb),_0x27f1f1[_0xe5d1c7(0x3c0)]=_0x178e08[_0xe5d1c7(0x3b8)](_0x3acdcb);}()),_0x5d2290[_0x5ea556(0x309)];}));}(gt)),gt['exports'];}var St={'exports':{}},cc=St[_0x3a0f4f(0x4ee)],di;function hc(){const _0x11437e=_0x3a0f4f;return di||(di=0x1,function(_0x6e2aad,_0x430c76){(function(_0x1203b7,_0x289d02){_0x6e2aad['exports']=_0x289d02(_e());}(cc,function(_0x7facc4){(function(){const _0x58cd41=_0x328b;var _0x4cc872=_0x7facc4,_0x6bb468=_0x4cc872[_0x58cd41(0x53d)],_0x98ddcc=_0x6bb468[_0x58cd41(0x12c)],_0x2f7151=_0x4cc872[_0x58cd41(0x4a6)],_0x1e2ad7=_0x2f7151[_0x58cd41(0x26f)],_0x256f8c=_0x4cc872[_0x58cd41(0x134)];_0x256f8c[_0x58cd41(0x49e)]=_0x98ddcc[_0x58cd41(0x2c3)]({'init':function(_0xcddf5,_0x426be6){const _0xc85c88=_0x58cd41;_0xcddf5=this['_hasher']=new _0xcddf5['init'](),typeof _0x426be6==_0xc85c88(0x537)&&(_0x426be6=_0x1e2ad7[_0xc85c88(0x4ae)](_0x426be6));var _0x1d2bd2=_0xcddf5[_0xc85c88(0x198)],_0x37a1e0=_0x1d2bd2*0x4;_0x426be6['sigBytes']>_0x37a1e0&&(_0x426be6=_0xcddf5['finalize'](_0x426be6)),_0x426be6['clamp']();for(var _0x34b46a=this[_0xc85c88(0x468)]=_0x426be6[_0xc85c88(0x3ca)](),_0x2512e1=this[_0xc85c88(0x1e4)]=_0x426be6[_0xc85c88(0x3ca)](),_0x4296ba=_0x34b46a[_0xc85c88(0x2ca)],_0x25b5a1=_0x2512e1[_0xc85c88(0x2ca)],_0x127b2d=0x0;_0x127b2d<_0x1d2bd2;_0x127b2d++)_0x4296ba[_0x127b2d]^=0x5c5c5c5c,_0x25b5a1[_0x127b2d]^=0x36363636;_0x34b46a['sigBytes']=_0x2512e1[_0xc85c88(0x4a7)]=_0x37a1e0,this[_0xc85c88(0x28a)]();},'reset':function(){const _0x176282=_0x58cd41;var _0x5ed1d6=this['_hasher'];_0x5ed1d6['reset'](),_0x5ed1d6['update'](this[_0x176282(0x1e4)]);},'update':function(_0x435f24){const _0x3d10e8=_0x58cd41;return this['_hasher'][_0x3d10e8(0x170)](_0x435f24),this;},'finalize':function(_0x5ad3a8){const _0x37ee9d=_0x58cd41;var _0x2c3106=this[_0x37ee9d(0x188)],_0x1f1296=_0x2c3106['finalize'](_0x5ad3a8);_0x2c3106[_0x37ee9d(0x28a)]();var _0x218954=_0x2c3106[_0x37ee9d(0x1b1)](this['_oKey'][_0x37ee9d(0x3ca)]()['concat'](_0x1f1296));return _0x218954;}});}());}));}(St)),St[_0x11437e(0x4ee)];}var lc=mt['exports'],fi;function nr(){const _0x309b86=_0x3a0f4f;return fi||(fi=0x1,function(_0x3b20cd,_0x28a136){(function(_0x1bd358,_0x531157,_0x2a5b2a){const _0x3318f5=_0x328b;_0x3b20cd[_0x3318f5(0x4ee)]=_0x531157(_e(),ac(),hc());}(lc,function(_0x5e03b5){const _0x3b286a=_0x328b;return(function(){const _0x5b6281=_0x328b;var _0xe46581=_0x5e03b5,_0x58330c=_0xe46581[_0x5b6281(0x53d)],_0x252d74=_0x58330c[_0x5b6281(0x12c)],_0x8de0ef=_0x58330c[_0x5b6281(0x4ed)],_0x5897f3=_0xe46581[_0x5b6281(0x134)],_0x25d1f7=_0x5897f3[_0x5b6281(0x14d)],_0x17701f=_0x5897f3[_0x5b6281(0x51b)]=_0x252d74[_0x5b6281(0x2c3)]({'cfg':_0x252d74['extend']({'keySize':0x80/0x20,'hasher':_0x25d1f7,'iterations':0x1}),'init':function(_0x4850db){const _0x42b3ea=_0x5b6281;this[_0x42b3ea(0x4df)]=this[_0x42b3ea(0x4df)][_0x42b3ea(0x2c3)](_0x4850db);},'compute':function(_0x378640,_0x561c28){const _0x41fc3a=_0x5b6281;for(var _0x148062,_0x54103c=this[_0x41fc3a(0x4df)],_0x15a2d7=_0x54103c[_0x41fc3a(0x300)][_0x41fc3a(0x23f)](),_0x42e159=_0x8de0ef[_0x41fc3a(0x23f)](),_0x26529a=_0x42e159[_0x41fc3a(0x2ca)],_0x1571dc=_0x54103c[_0x41fc3a(0x1c3)],_0x1d9df1=_0x54103c[_0x41fc3a(0x11b)];_0x26529a['length']<_0x1571dc;){_0x148062&&_0x15a2d7[_0x41fc3a(0x170)](_0x148062),_0x148062=_0x15a2d7[_0x41fc3a(0x170)](_0x378640)[_0x41fc3a(0x1b1)](_0x561c28),_0x15a2d7[_0x41fc3a(0x28a)]();for(var _0x2d3ced=0x1;_0x2d3ced<_0x1d9df1;_0x2d3ced++)_0x148062=_0x15a2d7['finalize'](_0x148062),_0x15a2d7['reset']();_0x42e159['concat'](_0x148062);}return _0x42e159['sigBytes']=_0x1571dc*0x4,_0x42e159;}});_0xe46581[_0x5b6281(0x51b)]=function(_0x368278,_0x5c6e95,_0x256ec1){const _0x6b6eaa=_0x5b6281;return _0x17701f['create'](_0x256ec1)[_0x6b6eaa(0x272)](_0x368278,_0x5c6e95);};}()),_0x5e03b5[_0x3b286a(0x51b)];}));}(mt)),mt[_0x309b86(0x4ee)];}var It={'exports':{}},_c=It[_0x3a0f4f(0x4ee)],vi;function or(){const _0x5d911c=_0x3a0f4f;return vi||(vi=0x1,function(_0x5bf1f8,_0x493bc3){(function(_0x4f8c98,_0x495c61,_0x13201f){const _0x491ed8=_0x328b;_0x5bf1f8[_0x491ed8(0x4ee)]=_0x495c61(_e(),nr());}(_c,function(_0x3c3457){const _0x180616=_0x328b;_0x3c3457[_0x180616(0x53d)][_0x180616(0x356)]||function(_0x238276){const _0x723f69=_0x180616;var _0x288b97=_0x3c3457,_0x1f3b59=_0x288b97[_0x723f69(0x53d)],_0x45260a=_0x1f3b59[_0x723f69(0x12c)],_0x373aa3=_0x1f3b59[_0x723f69(0x4ed)],_0x527617=_0x1f3b59[_0x723f69(0x1e1)],_0x24887b=_0x288b97[_0x723f69(0x4a6)];_0x24887b['Utf8'];var _0x24d26c=_0x24887b['Base64'],_0x12ff25=_0x288b97[_0x723f69(0x134)],_0x8e017=_0x12ff25[_0x723f69(0x51b)],_0x5052b7=_0x1f3b59['Cipher']=_0x527617[_0x723f69(0x2c3)]({'cfg':_0x45260a[_0x723f69(0x2c3)](),'createEncryptor':function(_0x390cb9,_0xb4b942){const _0x3f0d98=_0x723f69;return this[_0x3f0d98(0x23f)](this[_0x3f0d98(0x3eb)],_0x390cb9,_0xb4b942);},'createDecryptor':function(_0x6918bc,_0xc13b2c){const _0x14a311=_0x723f69;return this[_0x14a311(0x23f)](this[_0x14a311(0x172)],_0x6918bc,_0xc13b2c);},'init':function(_0x597cd5,_0x2166b5,_0x431361){const _0x507a08=_0x723f69;this[_0x507a08(0x4df)]=this[_0x507a08(0x4df)]['extend'](_0x431361),this[_0x507a08(0x4cf)]=_0x597cd5,this[_0x507a08(0x3b9)]=_0x2166b5,this[_0x507a08(0x28a)]();},'reset':function(){const _0x1a8d6f=_0x723f69;_0x527617[_0x1a8d6f(0x28a)]['call'](this),this[_0x1a8d6f(0x4b0)]();},'process':function(_0x3140c0){const _0x2add1e=_0x723f69;return this[_0x2add1e(0x298)](_0x3140c0),this[_0x2add1e(0x366)]();},'finalize':function(_0x13f2f8){const _0x1f2707=_0x723f69;_0x13f2f8&&this[_0x1f2707(0x298)](_0x13f2f8);var _0x4dbde0=this['_doFinalize']();return _0x4dbde0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1d1d84(_0x5aaca9){const _0x2f645e=_0x328b;return typeof _0x5aaca9==_0x2f645e(0x537)?_0xc35e23:_0x35deb7;}return function(_0x29d5f0){return{'encrypt':function(_0x218bb1,_0x20e194,_0x1a130b){const _0x9b5a8f=_0x328b;return _0x1d1d84(_0x20e194)[_0x9b5a8f(0x41c)](_0x29d5f0,_0x218bb1,_0x20e194,_0x1a130b);},'decrypt':function(_0x550186,_0x52a4ef,_0x206f77){const _0x4a36d1=_0x328b;return _0x1d1d84(_0x52a4ef)[_0x4a36d1(0x1ac)](_0x29d5f0,_0x550186,_0x52a4ef,_0x206f77);}};};}())});_0x1f3b59[_0x723f69(0x1ce)]=_0x5052b7['extend']({'_doFinalize':function(){const _0x165468=_0x723f69;var _0x298fba=this[_0x165468(0x366)](!0x0);return _0x298fba;},'blockSize':0x1});var _0x52300c=_0x288b97[_0x723f69(0x2eb)]={},_0x4e5d87=_0x1f3b59[_0x723f69(0x2ab)]=_0x45260a[_0x723f69(0x2c3)]({'createEncryptor':function(_0x30c451,_0x3876b3){const _0x25a565=_0x723f69;return this[_0x25a565(0x1f3)][_0x25a565(0x23f)](_0x30c451,_0x3876b3);},'createDecryptor':function(_0x19deb2,_0x59d33e){const _0x32a6ef=_0x723f69;return this[_0x32a6ef(0x4b7)][_0x32a6ef(0x23f)](_0x19deb2,_0x59d33e);},'init':function(_0x573ec2,_0x30cf4b){const _0x47e9f7=_0x723f69;this['_cipher']=_0x573ec2,this[_0x47e9f7(0x1f1)]=_0x30cf4b;}}),_0x5886b5=_0x52300c[_0x723f69(0x431)]=(function(){const _0x148a7f=_0x723f69;var _0x2b87ee=_0x4e5d87[_0x148a7f(0x2c3)]();_0x2b87ee[_0x148a7f(0x1f3)]=_0x2b87ee[_0x148a7f(0x2c3)]({'processBlock':function(_0x744fcd,_0x3b1d9b){const _0x9e9fcc=_0x148a7f;var _0x2374ff=this[_0x9e9fcc(0x3ab)],_0x410448=_0x2374ff[_0x9e9fcc(0x198)];_0xbee80c[_0x9e9fcc(0x140)](this,_0x744fcd,_0x3b1d9b,_0x410448),_0x2374ff[_0x9e9fcc(0x3cb)](_0x744fcd,_0x3b1d9b),this[_0x9e9fcc(0x2d5)]=_0x744fcd[_0x9e9fcc(0x21a)](_0x3b1d9b,_0x3b1d9b+_0x410448);}}),_0x2b87ee[_0x148a7f(0x4b7)]=_0x2b87ee[_0x148a7f(0x2c3)]({'processBlock':function(_0x4f858a,_0x1af84d){const _0x1d6550=_0x148a7f;var _0x5ea859=this['_cipher'],_0x515798=_0x5ea859[_0x1d6550(0x198)],_0x19de65=_0x4f858a[_0x1d6550(0x21a)](_0x1af84d,_0x1af84d+_0x515798);_0x5ea859[_0x1d6550(0x27a)](_0x4f858a,_0x1af84d),_0xbee80c[_0x1d6550(0x140)](this,_0x4f858a,_0x1af84d,_0x515798),this['_prevBlock']=_0x19de65;}});function _0xbee80c(_0x2c165f,_0x51ac4b,_0x59f732){const _0x5dded6=_0x148a7f;var _0x54db39,_0x4b40fe=this[_0x5dded6(0x1f1)];_0x4b40fe?(_0x54db39=_0x4b40fe,this[_0x5dded6(0x1f1)]=_0x238276):_0x54db39=this['_prevBlock'];for(var _0x5b3203=0x0;_0x5b3203<_0x59f732;_0x5b3203++)_0x2c165f[_0x51ac4b+_0x5b3203]^=_0x54db39[_0x5b3203];}return _0x2b87ee;}()),_0x287060=_0x288b97[_0x723f69(0x28e)]={},_0x3d3137=_0x287060[_0x723f69(0x158)]={'pad':function(_0x58c341,_0x5bec43){const _0x4a62f5=_0x723f69;for(var _0x16a714=_0x5bec43*0x4,_0x5cc05e=_0x16a714-_0x58c341[_0x4a62f5(0x4a7)]%_0x16a714,_0x2c4121=_0x5cc05e<<0x18|_0x5cc05e<<0x10|_0x5cc05e<<0x8|_0x5cc05e,_0x58bbdd=[],_0x1dd912=0x0;_0x1dd912<_0x5cc05e;_0x1dd912+=0x4)_0x58bbdd[_0x4a62f5(0x43f)](_0x2c4121);var _0x25a9d4=_0x373aa3['create'](_0x58bbdd,_0x5cc05e);_0x58c341[_0x4a62f5(0x14a)](_0x25a9d4);},'unpad':function(_0x523614){const _0x3e5b1e=_0x723f69;var _0x30412e=_0x523614['words'][_0x523614['sigBytes']-0x1>>>0x2]&0xff;_0x523614[_0x3e5b1e(0x4a7)]-=_0x30412e;}};_0x1f3b59[_0x723f69(0x4db)]=_0x5052b7['extend']({'cfg':_0x5052b7['cfg'][_0x723f69(0x2c3)]({'mode':_0x5886b5,'padding':_0x3d3137}),'reset':function(){const _0x4483a6=_0x723f69;var _0x3db682;_0x5052b7[_0x4483a6(0x28a)][_0x4483a6(0x140)](this);var _0x4c4d88=this[_0x4483a6(0x4df)],_0x529959=_0x4c4d88['iv'],_0xd939ec=_0x4c4d88[_0x4483a6(0x2eb)];this[_0x4483a6(0x4cf)]==this[_0x4483a6(0x3eb)]?_0x3db682=_0xd939ec[_0x4483a6(0x2e7)]:(_0x3db682=_0xd939ec[_0x4483a6(0x4e2)],this[_0x4483a6(0x2ad)]=0x1),this['_mode']&&this['_mode'][_0x4483a6(0x147)]==_0x3db682?this[_0x4483a6(0x4f6)][_0x4483a6(0x1fe)](this,_0x529959&&_0x529959[_0x4483a6(0x2ca)]):(this['_mode']=_0x3db682[_0x4483a6(0x140)](_0xd939ec,this,_0x529959&&_0x529959[_0x4483a6(0x2ca)]),this[_0x4483a6(0x4f6)][_0x4483a6(0x147)]=_0x3db682);},'_doProcessBlock':function(_0x5bce82,_0x1d73dd){const _0x502ce5=_0x723f69;this[_0x502ce5(0x4f6)][_0x502ce5(0x358)](_0x5bce82,_0x1d73dd);},'_doFinalize':function(){const _0x565d86=_0x723f69;var _0x1a1692,_0x467f4=this['cfg'][_0x565d86(0x500)];return this[_0x565d86(0x4cf)]==this[_0x565d86(0x3eb)]?(_0x467f4['pad'](this[_0x565d86(0x2bd)],this['blockSize']),_0x1a1692=this[_0x565d86(0x366)](!0x0)):(_0x1a1692=this['_process'](!0x0),_0x467f4['unpad'](_0x1a1692)),_0x1a1692;},'blockSize':0x80/0x20});var _0x41b7b0=_0x1f3b59['CipherParams']=_0x45260a[_0x723f69(0x2c3)]({'init':function(_0x38443a){const _0x465b3a=_0x723f69;this[_0x465b3a(0x3e0)](_0x38443a);},'toString':function(_0x5b7623){const _0x20ffce=_0x723f69;return(_0x5b7623||this[_0x20ffce(0x45d)])['stringify'](this);}}),_0x30240b=_0x288b97[_0x723f69(0x21e)]={},_0x1e046d=_0x30240b['OpenSSL']={'stringify':function(_0x5815cb){const _0x1a0636=_0x723f69;var _0x2dfa0a,_0x46de4d=_0x5815cb[_0x1a0636(0x2e4)],_0x2faf18=_0x5815cb[_0x1a0636(0x4a3)];return _0x2faf18?_0x2dfa0a=_0x373aa3[_0x1a0636(0x23f)]([0x53616c74,0x65645f5f])[_0x1a0636(0x14a)](_0x2faf18)['concat'](_0x46de4d):_0x2dfa0a=_0x46de4d,_0x2dfa0a[_0x1a0636(0x542)](_0x24d26c);},'parse':function(_0x9ac4cd){const _0x116b4d=_0x723f69;var _0x52fca2,_0x2856d3=_0x24d26c[_0x116b4d(0x4ae)](_0x9ac4cd),_0x3ef96b=_0x2856d3['words'];return _0x3ef96b[0x0]==0x53616c74&&_0x3ef96b[0x1]==0x65645f5f&&(_0x52fca2=_0x373aa3[_0x116b4d(0x23f)](_0x3ef96b[_0x116b4d(0x21a)](0x2,0x4)),_0x3ef96b[_0x116b4d(0x51c)](0x0,0x4),_0x2856d3[_0x116b4d(0x4a7)]-=0x10),_0x41b7b0['create']({'ciphertext':_0x2856d3,'salt':_0x52fca2});}},_0x35deb7=_0x1f3b59[_0x723f69(0x361)]=_0x45260a[_0x723f69(0x2c3)]({'cfg':_0x45260a[_0x723f69(0x2c3)]({'format':_0x1e046d}),'encrypt':function(_0x5df141,_0x1f2f14,_0xa26dee,_0x13e92f){const _0x11052f=_0x723f69;_0x13e92f=this['cfg'][_0x11052f(0x2c3)](_0x13e92f);var _0x4cc1ad=_0x5df141[_0x11052f(0x2e7)](_0xa26dee,_0x13e92f),_0x452774=_0x4cc1ad[_0x11052f(0x1b1)](_0x1f2f14),_0x3fcd29=_0x4cc1ad[_0x11052f(0x4df)];return _0x41b7b0[_0x11052f(0x23f)]({'ciphertext':_0x452774,'key':_0xa26dee,'iv':_0x3fcd29['iv'],'algorithm':_0x5df141,'mode':_0x3fcd29[_0x11052f(0x2eb)],'padding':_0x3fcd29[_0x11052f(0x500)],'blockSize':_0x5df141[_0x11052f(0x198)],'formatter':_0x13e92f[_0x11052f(0x21e)]});},'decrypt':function(_0x44fb4a,_0x5e85d8,_0xe3fdc0,_0x2eddda){const _0x37708e=_0x723f69;_0x2eddda=this[_0x37708e(0x4df)][_0x37708e(0x2c3)](_0x2eddda),_0x5e85d8=this['_parse'](_0x5e85d8,_0x2eddda['format']);var _0x3e7e48=_0x44fb4a['createDecryptor'](_0xe3fdc0,_0x2eddda)[_0x37708e(0x1b1)](_0x5e85d8[_0x37708e(0x2e4)]);return _0x3e7e48;},'_parse':function(_0x3bd1f3,_0xa27665){const _0xe985af=_0x723f69;return typeof _0x3bd1f3==_0xe985af(0x537)?_0xa27665[_0xe985af(0x4ae)](_0x3bd1f3,this):_0x3bd1f3;}}),_0x5c032e=_0x288b97[_0x723f69(0x4a4)]={},_0x67b545=_0x5c032e[_0x723f69(0x436)]={'execute':function(_0x19ccd8,_0x622a9b,_0x770559,_0x312dc0,_0xe56a00){const _0x3a49bf=_0x723f69;if(_0x312dc0||(_0x312dc0=_0x373aa3['random'](0x40/0x8)),_0xe56a00)var _0x885d60=_0x8e017[_0x3a49bf(0x23f)]({'keySize':_0x622a9b+_0x770559,'hasher':_0xe56a00})['compute'](_0x19ccd8,_0x312dc0);else var _0x885d60=_0x8e017['create']({'keySize':_0x622a9b+_0x770559})[_0x3a49bf(0x272)](_0x19ccd8,_0x312dc0);var _0x24791d=_0x373aa3[_0x3a49bf(0x23f)](_0x885d60[_0x3a49bf(0x2ca)][_0x3a49bf(0x21a)](_0x622a9b),_0x770559*0x4);return _0x885d60['sigBytes']=_0x622a9b*0x4,_0x41b7b0[_0x3a49bf(0x23f)]({'key':_0x885d60,'iv':_0x24791d,'salt':_0x312dc0});}},_0xc35e23=_0x1f3b59['PasswordBasedCipher']=_0x35deb7[_0x723f69(0x2c3)]({'cfg':_0x35deb7['cfg'][_0x723f69(0x2c3)]({'kdf':_0x67b545}),'encrypt':function(_0x2bf9df,_0x4fcfc2,_0x84f113,_0x25c65c){const _0x3c56d4=_0x723f69;_0x25c65c=this['cfg'][_0x3c56d4(0x2c3)](_0x25c65c);var _0xe578f=_0x25c65c['kdf']['execute'](_0x84f113,_0x2bf9df['keySize'],_0x2bf9df[_0x3c56d4(0x45e)],_0x25c65c[_0x3c56d4(0x4a3)],_0x25c65c[_0x3c56d4(0x300)]);_0x25c65c['iv']=_0xe578f['iv'];var _0x497f6a=_0x35deb7[_0x3c56d4(0x41c)][_0x3c56d4(0x140)](this,_0x2bf9df,_0x4fcfc2,_0xe578f[_0x3c56d4(0x363)],_0x25c65c);return _0x497f6a[_0x3c56d4(0x3e0)](_0xe578f),_0x497f6a;},'decrypt':function(_0x5a3dc4,_0x34ce20,_0x52b57a,_0x4bdcf9){const _0x1755bb=_0x723f69;_0x4bdcf9=this[_0x1755bb(0x4df)][_0x1755bb(0x2c3)](_0x4bdcf9),_0x34ce20=this[_0x1755bb(0x186)](_0x34ce20,_0x4bdcf9[_0x1755bb(0x21e)]);var _0x36df76=_0x4bdcf9[_0x1755bb(0x4a4)]['execute'](_0x52b57a,_0x5a3dc4[_0x1755bb(0x1c3)],_0x5a3dc4[_0x1755bb(0x45e)],_0x34ce20[_0x1755bb(0x4a3)],_0x4bdcf9[_0x1755bb(0x300)]);_0x4bdcf9['iv']=_0x36df76['iv'];var _0x189e89=_0x35deb7[_0x1755bb(0x1ac)][_0x1755bb(0x140)](this,_0x5a3dc4,_0x34ce20,_0x36df76[_0x1755bb(0x363)],_0x4bdcf9);return _0x189e89;}});}();}));}(It)),It[_0x5d911c(0x4ee)];}var uc=dt['exports'],pi;function dc(){const _0x4348c4=_0x3a0f4f;return pi||(pi=0x1,function(_0x4ee457,_0x33bdc0){(function(_0x36893e,_0x26cf7f,_0x4c0213){const _0x20d325=_0x328b;_0x4ee457[_0x20d325(0x4ee)]=_0x26cf7f(_e(),rr(),nc(),nr(),or());}(uc,function(_0x4d849f){const _0xa0b1e1=_0x328b;return(function(){const _0x487d52=_0x328b;var _0x597f8c=_0x4d849f,_0x124fe3=_0x597f8c[_0x487d52(0x53d)],_0x555a09=_0x124fe3[_0x487d52(0x4db)],_0x5e2840=_0x597f8c['algo'],_0x2c1ff6=[],_0x1f46b4=[],_0x1ad779=[],_0x22b69e=[],_0x457bb5=[],_0x10a1bd=[],_0x25607b=[],_0x2754da=[],_0x4e45a3=[],_0x14a18d=[];(function(){for(var _0x112b3e=[],_0x8bc1e6=0x0;_0x8bc1e6<0x100;_0x8bc1e6++)_0x8bc1e6<0x80?_0x112b3e[_0x8bc1e6]=_0x8bc1e6<<0x1:_0x112b3e[_0x8bc1e6]=_0x8bc1e6<<0x1^0x11b;for(var _0x5c0c85=0x0,_0x35bc3c=0x0,_0x8bc1e6=0x0;_0x8bc1e6<0x100;_0x8bc1e6++){var _0x438049=_0x35bc3c^_0x35bc3c<<0x1^_0x35bc3c<<0x2^_0x35bc3c<<0x3^_0x35bc3c<<0x4;_0x438049=_0x438049>>>0x8^_0x438049&0xff^0x63,_0x2c1ff6[_0x5c0c85]=_0x438049,_0x1f46b4[_0x438049]=_0x5c0c85;var _0x2db6f1=_0x112b3e[_0x5c0c85],_0x49900e=_0x112b3e[_0x2db6f1],_0x230918=_0x112b3e[_0x49900e],_0x55e922=_0x112b3e[_0x438049]*0x101^_0x438049*0x1010100;_0x1ad779[_0x5c0c85]=_0x55e922<<0x18|_0x55e922>>>0x8,_0x22b69e[_0x5c0c85]=_0x55e922<<0x10|_0x55e922>>>0x10,_0x457bb5[_0x5c0c85]=_0x55e922<<0x8|_0x55e922>>>0x18,_0x10a1bd[_0x5c0c85]=_0x55e922;var _0x55e922=_0x230918*0x1010101^_0x49900e*0x10001^_0x2db6f1*0x101^_0x5c0c85*0x1010100;_0x25607b[_0x438049]=_0x55e922<<0x18|_0x55e922>>>0x8,_0x2754da[_0x438049]=_0x55e922<<0x10|_0x55e922>>>0x10,_0x4e45a3[_0x438049]=_0x55e922<<0x8|_0x55e922>>>0x18,_0x14a18d[_0x438049]=_0x55e922,_0x5c0c85?(_0x5c0c85=_0x2db6f1^_0x112b3e[_0x112b3e[_0x112b3e[_0x230918^_0x2db6f1]]],_0x35bc3c^=_0x112b3e[_0x112b3e[_0x35bc3c]]):_0x5c0c85=_0x35bc3c=0x1;}}());var _0x4e430d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x476d82=_0x5e2840[_0x487d52(0x484)]=_0x555a09[_0x487d52(0x2c3)]({'_doReset':function(){const _0xb7fd82=_0x487d52;var _0x3b0f1b;if(!(this[_0xb7fd82(0x315)]&&this[_0xb7fd82(0x455)]===this[_0xb7fd82(0x3b9)])){for(var _0x57c67c=this['_keyPriorReset']=this[_0xb7fd82(0x3b9)],_0x12797d=_0x57c67c[_0xb7fd82(0x2ca)],_0x5647a6=_0x57c67c['sigBytes']/0x4,_0x26f01d=this[_0xb7fd82(0x315)]=_0x5647a6+0x6,_0x36f8c6=(_0x26f01d+0x1)*0x4,_0x1618b4=this[_0xb7fd82(0x3c6)]=[],_0x25f58a=0x0;_0x25f58a<_0x36f8c6;_0x25f58a++)_0x25f58a<_0x5647a6?_0x1618b4[_0x25f58a]=_0x12797d[_0x25f58a]:(_0x3b0f1b=_0x1618b4[_0x25f58a-0x1],_0x25f58a%_0x5647a6?_0x5647a6>0x6&&_0x25f58a%_0x5647a6==0x4&&(_0x3b0f1b=_0x2c1ff6[_0x3b0f1b>>>0x18]<<0x18|_0x2c1ff6[_0x3b0f1b>>>0x10&0xff]<<0x10|_0x2c1ff6[_0x3b0f1b>>>0x8&0xff]<<0x8|_0x2c1ff6[_0x3b0f1b&0xff]):(_0x3b0f1b=_0x3b0f1b<<0x8|_0x3b0f1b>>>0x18,_0x3b0f1b=_0x2c1ff6[_0x3b0f1b>>>0x18]<<0x18|_0x2c1ff6[_0x3b0f1b>>>0x10&0xff]<<0x10|_0x2c1ff6[_0x3b0f1b>>>0x8&0xff]<<0x8|_0x2c1ff6[_0x3b0f1b&0xff],_0x3b0f1b^=_0x4e430d[_0x25f58a/_0x5647a6|0x0]<<0x18),_0x1618b4[_0x25f58a]=_0x1618b4[_0x25f58a-_0x5647a6]^_0x3b0f1b);for(var _0x4cc47e=this[_0xb7fd82(0x30d)]=[],_0xe442f=0x0;_0xe442f<_0x36f8c6;_0xe442f++){var _0x25f58a=_0x36f8c6-_0xe442f;if(_0xe442f%0x4)var _0x3b0f1b=_0x1618b4[_0x25f58a];else var _0x3b0f1b=_0x1618b4[_0x25f58a-0x4];_0xe442f<0x4||_0x25f58a<=0x4?_0x4cc47e[_0xe442f]=_0x3b0f1b:_0x4cc47e[_0xe442f]=_0x25607b[_0x2c1ff6[_0x3b0f1b>>>0x18]]^_0x2754da[_0x2c1ff6[_0x3b0f1b>>>0x10&0xff]]^_0x4e45a3[_0x2c1ff6[_0x3b0f1b>>>0x8&0xff]]^_0x14a18d[_0x2c1ff6[_0x3b0f1b&0xff]];}}},'encryptBlock':function(_0x5f1eed,_0x40e00d){this['_doCryptBlock'](_0x5f1eed,_0x40e00d,this['_keySchedule'],_0x1ad779,_0x22b69e,_0x457bb5,_0x10a1bd,_0x2c1ff6);},'decryptBlock':function(_0x18b362,_0x4cc041){const _0x4dacd6=_0x487d52;var _0x40234f=_0x18b362[_0x4cc041+0x1];_0x18b362[_0x4cc041+0x1]=_0x18b362[_0x4cc041+0x3],_0x18b362[_0x4cc041+0x3]=_0x40234f,this[_0x4dacd6(0x1b6)](_0x18b362,_0x4cc041,this[_0x4dacd6(0x30d)],_0x25607b,_0x2754da,_0x4e45a3,_0x14a18d,_0x1f46b4);var _0x40234f=_0x18b362[_0x4cc041+0x1];_0x18b362[_0x4cc041+0x1]=_0x18b362[_0x4cc041+0x3],_0x18b362[_0x4cc041+0x3]=_0x40234f;},'_doCryptBlock':function(_0x30583d,_0x23b090,_0x4c630f,_0x22dd6a,_0xa289d3,_0x4a9d94,_0x48a9be,_0x314897){const _0x398dbf=_0x487d52;for(var _0xaf9f94=this[_0x398dbf(0x315)],_0x354b67=_0x30583d[_0x23b090]^_0x4c630f[0x0],_0x48882b=_0x30583d[_0x23b090+0x1]^_0x4c630f[0x1],_0x3ec262=_0x30583d[_0x23b090+0x2]^_0x4c630f[0x2],_0x1865f6=_0x30583d[_0x23b090+0x3]^_0x4c630f[0x3],_0x28cb0a=0x4,_0xe7fec6=0x1;_0xe7fec6<_0xaf9f94;_0xe7fec6++){var _0x1dc586=_0x22dd6a[_0x354b67>>>0x18]^_0xa289d3[_0x48882b>>>0x10&0xff]^_0x4a9d94[_0x3ec262>>>0x8&0xff]^_0x48a9be[_0x1865f6&0xff]^_0x4c630f[_0x28cb0a++],_0x315ffd=_0x22dd6a[_0x48882b>>>0x18]^_0xa289d3[_0x3ec262>>>0x10&0xff]^_0x4a9d94[_0x1865f6>>>0x8&0xff]^_0x48a9be[_0x354b67&0xff]^_0x4c630f[_0x28cb0a++],_0x35f3fd=_0x22dd6a[_0x3ec262>>>0x18]^_0xa289d3[_0x1865f6>>>0x10&0xff]^_0x4a9d94[_0x354b67>>>0x8&0xff]^_0x48a9be[_0x48882b&0xff]^_0x4c630f[_0x28cb0a++],_0x334c64=_0x22dd6a[_0x1865f6>>>0x18]^_0xa289d3[_0x354b67>>>0x10&0xff]^_0x4a9d94[_0x48882b>>>0x8&0xff]^_0x48a9be[_0x3ec262&0xff]^_0x4c630f[_0x28cb0a++];_0x354b67=_0x1dc586,_0x48882b=_0x315ffd,_0x3ec262=_0x35f3fd,_0x1865f6=_0x334c64;}var _0x1dc586=(_0x314897[_0x354b67>>>0x18]<<0x18|_0x314897[_0x48882b>>>0x10&0xff]<<0x10|_0x314897[_0x3ec262>>>0x8&0xff]<<0x8|_0x314897[_0x1865f6&0xff])^_0x4c630f[_0x28cb0a++],_0x315ffd=(_0x314897[_0x48882b>>>0x18]<<0x18|_0x314897[_0x3ec262>>>0x10&0xff]<<0x10|_0x314897[_0x1865f6>>>0x8&0xff]<<0x8|_0x314897[_0x354b67&0xff])^_0x4c630f[_0x28cb0a++],_0x35f3fd=(_0x314897[_0x3ec262>>>0x18]<<0x18|_0x314897[_0x1865f6>>>0x10&0xff]<<0x10|_0x314897[_0x354b67>>>0x8&0xff]<<0x8|_0x314897[_0x48882b&0xff])^_0x4c630f[_0x28cb0a++],_0x334c64=(_0x314897[_0x1865f6>>>0x18]<<0x18|_0x314897[_0x354b67>>>0x10&0xff]<<0x10|_0x314897[_0x48882b>>>0x8&0xff]<<0x8|_0x314897[_0x3ec262&0xff])^_0x4c630f[_0x28cb0a++];_0x30583d[_0x23b090]=_0x1dc586,_0x30583d[_0x23b090+0x1]=_0x315ffd,_0x30583d[_0x23b090+0x2]=_0x35f3fd,_0x30583d[_0x23b090+0x3]=_0x334c64;},'keySize':0x100/0x20});_0x597f8c['AES']=_0x555a09[_0x487d52(0x171)](_0x476d82);}()),_0x4d849f[_0xa0b1e1(0x484)];}));}(dt)),dt[_0x4348c4(0x4ee)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct[_0x3a0f4f(0x4ee)],gi;function gc(){const _0x1d5573=_0x3a0f4f;return gi||(gi=0x1,function(_0x35518c,_0x119940){(function(_0x36b773,_0x570ff2){_0x35518c['exports']=_0x570ff2(_e());}(mc,function(_0x35b12f){const _0x14a8ef=_0x328b;return _0x35b12f[_0x14a8ef(0x4a6)][_0x14a8ef(0x26f)];}));}(Ct)),Ct[_0x1d5573(0x4ee)];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et[_0x3a0f4f(0x4ee)],Si;function Ec(){const _0x5c2b43=_0x3a0f4f;return Si||(Si=0x1,function(_0x1d26d2,_0x270782){(function(_0xb7f5b3,_0x241a80){const _0x5171a1=_0x328b;_0x1d26d2[_0x5171a1(0x4ee)]=_0x241a80(_e());}(Cc,function(_0x4a43f0){const _0x38007f=_0x328b;return(function(){const _0x3e5f0e=_0x328b;if(typeof ArrayBuffer==_0x3e5f0e(0x1ff)){var _0xf4683e=_0x4a43f0,_0x26cfcd=_0xf4683e[_0x3e5f0e(0x53d)],_0x49a0fb=_0x26cfcd[_0x3e5f0e(0x4ed)],_0x330e38=_0x49a0fb[_0x3e5f0e(0x1fe)],_0x49c47a=_0x49a0fb[_0x3e5f0e(0x1fe)]=function(_0x329c64){const _0x24ff29=_0x3e5f0e;if(_0x329c64 instanceof ArrayBuffer&&(_0x329c64=new Uint8Array(_0x329c64)),(_0x329c64 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x329c64 instanceof Uint8ClampedArray||_0x329c64 instanceof Int16Array||_0x329c64 instanceof Uint16Array||_0x329c64 instanceof Int32Array||_0x329c64 instanceof Uint32Array||_0x329c64 instanceof Float32Array||_0x329c64 instanceof Float64Array)&&(_0x329c64=new Uint8Array(_0x329c64[_0x24ff29(0x307)],_0x329c64['byteOffset'],_0x329c64['byteLength'])),_0x329c64 instanceof Uint8Array){for(var _0x2782b4=_0x329c64[_0x24ff29(0x417)],_0x49b334=[],_0x3c9634=0x0;_0x3c9634<_0x2782b4;_0x3c9634++)_0x49b334[_0x3c9634>>>0x2]|=_0x329c64[_0x3c9634]<<0x18-_0x3c9634%0x4*0x8;_0x330e38[_0x24ff29(0x140)](this,_0x49b334,_0x2782b4);}else _0x330e38[_0x24ff29(0x21c)](this,arguments);};_0x49c47a[_0x3e5f0e(0x2cb)]=_0x49a0fb;}}()),_0x4a43f0[_0x38007f(0x53d)][_0x38007f(0x4ed)];}));}(Et)),Et[_0x5c2b43(0x4ee)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt[_0x3a0f4f(0x4ee)],Ii;function Oc(){const _0x228e48=_0x3a0f4f;return Ii||(Ii=0x1,function(_0x23ec64,_0x50b47d){(function(_0x399498,_0xbaef09,_0x41487f){_0x23ec64['exports']=_0xbaef09(_e(),or());}(Rc,function(_0x25e1e6){const _0x5a84ed=_0x328b;return _0x25e1e6[_0x5a84ed(0x28e)][_0x5a84ed(0x380)]={'pad':function(){},'unpad':function(){}},_0x25e1e6[_0x5a84ed(0x28e)][_0x5a84ed(0x380)];}));}(bt)),bt[_0x228e48(0x4ee)];}var yc=Oc();const wc=ct(yc);function Dc(_0x420bb7,_0x396dae){const _0x11d1ab=_0x3a0f4f,_0x57fa61=_0x396dae-_0x420bb7['length']%_0x396dae,_0x24db4d=String[_0x11d1ab(0x303)](_0x57fa61)[_0x11d1ab(0x55d)](_0x57fa61);return _0x420bb7+_0x24db4d;}function Pc(_0x25dec1,_0x101d9f){const _0x2daa3c=_0x3a0f4f,_0xd4e508=Tc[_0x2daa3c(0x341)](0x10),_0x49881a=Dc(_0x25dec1,0x10),_0x4c261d=vc['encrypt'](Ic[_0x2daa3c(0x4ae)](_0x49881a),mi[_0x2daa3c(0x4ae)](_0x101d9f),{'iv':_0xd4e508,'padding':wc});return _0xd4e508[_0x2daa3c(0x14a)](_0x4c261d[_0x2daa3c(0x2e4)])[_0x2daa3c(0x542)](mi);}function Nc(){const _0x44c088=_0x3a0f4f,_0x1ea571=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x1ea571){const _0x560970={'time':Math[_0x44c088(0x34c)](Date[_0x44c088(0x1d2)]()/0x3e8),'domain':location['hostname']};return Pc(JSON['stringify'](_0x560970),_0x1ea571);}}var Uc=Object[_0x3a0f4f(0x40a)],Ac=Object[_0x3a0f4f(0x409)],Mc=(_0x35336f,_0x5de339,_0x3d1dc9,_0x126f1c)=>{const _0x13ab56=_0x3a0f4f;for(var _0x41c89=_0x126f1c>0x1?void 0x0:_0x126f1c?Ac(_0x5de339,_0x3d1dc9):_0x5de339,_0x6361f4=_0x35336f[_0x13ab56(0x312)]-0x1,_0x453064;_0x6361f4>=0x0;_0x6361f4--)(_0x453064=_0x35336f[_0x6361f4])&&(_0x41c89=(_0x126f1c?_0x453064(_0x5de339,_0x3d1dc9,_0x41c89):_0x453064(_0x41c89))||_0x41c89);return _0x126f1c&&_0x41c89&&Uc(_0x5de339,_0x3d1dc9,_0x41c89),_0x41c89;},xc=(_0x591d83,_0x46907a)=>(_0x5e940e,_0x4171ee)=>_0x46907a(_0x5e940e,_0x4171ee,_0x591d83);let $t=class{constructor(_0x52ce28){const _0x4c0cac=_0x3a0f4f;this['_httpService']=_0x52ce28,this[_0x4c0cac(0x52e)]();}[_0x3a0f4f(0x52e)](){const _0x28cd8f=_0x3a0f4f;this[_0x28cd8f(0x53b)][_0x28cd8f(0x3b3)]({'interceptor':(_0x44db,_0x24d45c)=>{const _0x4ad704=_0x28cd8f,_0x518277=_0x44db[_0x4ad704(0x3a3)],_0x332405=Nc();return _0x332405&&_0x518277['set'](_0x4ad704(0x429),_0x332405),_0x24d45c(_0x44db);}});}};$t=Mc([xc(0x0,_0x4a6309(_0x559bcb))],$t);var Lc=Object['defineProperty'],$c=Object[_0x3a0f4f(0x409)],Hc=(_0x49bfc0,_0x20093f,_0x129f54,_0x7a4b23)=>{for(var _0x3f4e8d=_0x7a4b23>0x1?void 0x0:_0x7a4b23?$c(_0x20093f,_0x129f54):_0x20093f,_0x22f5ac=_0x49bfc0['length']-0x1,_0x5c920e;_0x22f5ac>=0x0;_0x22f5ac--)(_0x5c920e=_0x49bfc0[_0x22f5ac])&&(_0x3f4e8d=(_0x7a4b23?_0x5c920e(_0x20093f,_0x129f54,_0x3f4e8d):_0x5c920e(_0x3f4e8d))||_0x3f4e8d);return _0x7a4b23&&_0x3f4e8d&&Lc(_0x20093f,_0x129f54,_0x3f4e8d),_0x3f4e8d;},rs=(_0x53a4da,_0x3d08c0)=>(_0x37e6a1,_0x509087)=>_0x3d08c0(_0x37e6a1,_0x509087,_0x53a4da);const jc=['image/png',_0x3a0f4f(0x2fa),_0x3a0f4f(0x203),_0x3a0f4f(0x251),_0x3a0f4f(0x1db)],Bc=0x5*0x400*0x400,kc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Wc=_0x3a0f4f(0x499),Fc=_0x3a0f4f(0x2e2),Vc=_0x3a0f4f(0x441);let ms=class{constructor(_0x2d6305,_0x2176fb,_0x2147c1){const _0x418769=_0x3a0f4f;g(this,_0x418769(0x2ce),0x0),g(this,'_change$',new _0x4c5eca()),g(this,_0x418769(0x25f),this[_0x418769(0x216)]),g(this,'_imageSourceCache',new Map()),(this[_0x418769(0x53b)]=_0x2d6305,this[_0x418769(0x145)]=_0x2176fb,this[_0x418769(0x345)]=_0x2147c1);}[_0x3a0f4f(0x496)](_0x41397f){const _0x1fe37c=_0x3a0f4f;this[_0x1fe37c(0x2ce)]=_0x41397f,this[_0x1fe37c(0x216)][_0x1fe37c(0x25c)](_0x41397f);}['getImageSourceCache'](_0x56fe08,_0x346663){const _0x373c17=_0x3a0f4f;if(_0x346663===_0x32ea27[_0x373c17(0x514)]){const _0x2029c0=new Image();return _0x2029c0[_0x373c17(0x544)]=_0x56fe08,_0x2029c0;}return this[_0x373c17(0x162)]['get'](_0x56fe08);}[_0x3a0f4f(0x403)](_0x2714b6,_0x4835b8,_0x7efdc){const _0x209795=_0x3a0f4f;_0x4835b8===_0x32ea27[_0x209795(0x514)]||_0x7efdc==null||this[_0x209795(0x162)][_0x209795(0x4d9)](_0x2714b6,_0x7efdc);}async[_0x3a0f4f(0x37a)](_0x4d3a54){const _0x3c49a6=_0x3a0f4f;try{const _0x4b81da=this[_0x3c49a6(0x50d)](this['_getSignURL'](),''+_0x4d3a54),_0x69c090=(await this[_0x3c49a6(0x53b)][_0x3c49a6(0x204)](_0x4b81da))[_0x3c49a6(0x3b4)];if(_0x69c090[_0x3c49a6(0x34b)]&&_0x69c090[_0x3c49a6(0x34b)][_0x3c49a6(0x24d)]===Fi['OK']){const _0x325f07=new URL(_0x69c090['url'],this[_0x3c49a6(0x209)]())[_0x3c49a6(0x542)]();return Promise[_0x3c49a6(0x46f)](_0x325f07);}return Promise[_0x3c49a6(0x338)](_0x69c090['error']);}catch(_0x4f9f1a){return Promise[_0x3c49a6(0x338)](_0x4f9f1a);}}async[_0x3a0f4f(0x44e)](_0x44db23){const _0x42b68d=_0x3a0f4f;let _0x2f07eb='';if(!jc[_0x42b68d(0x18d)](_0x44db23[_0x42b68d(0x550)]))return this[_0x42b68d(0x178)](),Promise[_0x42b68d(0x338)](new Error(_0x35a916[_0x42b68d(0x2d3)]));if(_0x44db23[_0x42b68d(0x382)]>Bc)return this[_0x42b68d(0x178)](),Promise[_0x42b68d(0x338)](new Error(_0x35a916[_0x42b68d(0x14f)]));try{const _0x81d78e=new FormData();_0x81d78e[_0x42b68d(0x357)](_0x42b68d(0x35e),_0x44db23);const _0x57ed09=this[_0x42b68d(0x345)][_0x42b68d(0x327)](),_0x53cba9=_0x57ed09==null?void 0x0:_0x57ed09[_0x42b68d(0x1eb)]();if(!_0x53cba9)throw new Error('unitId\x20is\x20not\x20found');const _0x4ab994=this[_0x42b68d(0x44b)]()+_0x42b68d(0x153)+_0x44db23['size']['toString']()+_0x42b68d(0x242)+Vi[_0x42b68d(0x1cc)]+_0x42b68d(0x3bf)+encodeURIComponent(_0x53cba9),_0x62fa29=await(await fetch(_0x4ab994,{'method':_0x42b68d(0x2b6),'body':_0x81d78e}))[_0x42b68d(0x28c)]();if(typeof _0x62fa29['FileId']!=_0x42b68d(0x537))return this[_0x42b68d(0x178)](),Promise[_0x42b68d(0x338)](new Error(_0x35a916['ERROR_IMAGE']));_0x2f07eb=_0x62fa29[_0x42b68d(0x234)];}catch{return this['_decreaseWaiting'](),Promise[_0x42b68d(0x338)](new Error(_0x35a916[_0x42b68d(0x21d)]));}return new Promise((_0x321ae5,_0x42c609)=>{const _0x51476e=_0x42b68d,_0x2ce78b=new FileReader();_0x2ce78b[_0x51476e(0x3ae)](_0x44db23),_0x2ce78b[_0x51476e(0x224)]=_0x16df7d=>{const _0x2d76eb=_0x51476e;var _0x16c304;const _0x257d0d=(_0x16c304=_0x16df7d['target'])==null?void 0x0:_0x16c304['result'];if(_0x257d0d==null){this[_0x2d76eb(0x178)](),_0x42c609(new Error(_0x35a916[_0x2d76eb(0x21d)]));return;}const _0x7cc999=_0x1fb819[_0x2d76eb(0x4e1)](0x6);_0x321ae5({'imageId':_0x7cc999,'imageSourceType':_0x32ea27[_0x2d76eb(0x52b)],'source':_0x2f07eb,'base64Cache':_0x257d0d,'status':_0x35a916[_0x2d76eb(0x269)]}),this[_0x2d76eb(0x178)]();};});}[_0x3a0f4f(0x44b)](){const _0x2cd78e=_0x3a0f4f;var _0x186eac,_0x2b85f8;const _0x455baf=this[_0x2cd78e(0x145)][_0x2cd78e(0x128)](kc),_0x29b5f3=this[_0x2cd78e(0x145)][_0x2cd78e(0x128)](Q);return(_0x2b85f8=(_0x186eac=_0x29b5f3==null?void 0x0:_0x29b5f3['uploadFileServerUrl'])!=null?_0x186eac:_0x455baf)!=null?_0x2b85f8:Wc;}['_getSignURL'](){const _0x2cbe65=_0x3a0f4f;var _0x21392f,_0xc70bcd;const _0x200002=this[_0x2cbe65(0x145)][_0x2cbe65(0x128)](Fc),_0xc3401e=this[_0x2cbe65(0x145)][_0x2cbe65(0x128)](Q);return(_0xc70bcd=(_0x21392f=_0xc3401e==null?void 0x0:_0xc3401e[_0x2cbe65(0x31e)])!=null?_0x21392f:_0x200002)!=null?_0xc70bcd:Vc;}['_getDownloadEndpointURL'](){const _0x23964a=_0x3a0f4f;var _0x201aba;const _0x73de18=this[_0x23964a(0x145)][_0x23964a(0x128)](Q);return(_0x201aba=_0x73de18==null?void 0x0:_0x73de18[_0x23964a(0x34a)])!=null?_0x201aba:location['origin'];}[_0x3a0f4f(0x50d)](_0x4dcc6d,_0x28dba1){const _0x55f9ba=_0x3a0f4f;return _0x4dcc6d['replace'](_0x55f9ba(0x333),_0x28dba1);}[_0x3a0f4f(0x178)](){const _0x50abd1=_0x3a0f4f;this[_0x50abd1(0x2ce)]-=0x1,this[_0x50abd1(0x216)][_0x50abd1(0x25c)](this['_waitCount']);}};ms=Hc([rs(0x0,_0x4a6309(_0x559bcb)),rs(0x1,_0x1526c7),rs(0x2,_0x4a6309(_0x3dee00))],ms);var Gc=Object[_0x3a0f4f(0x40a)],Yc=Object[_0x3a0f4f(0x409)],Kc=(_0x17b616,_0x46a69a,_0x2c5b81,_0x6d4f9a)=>{const _0x168506=_0x3a0f4f;for(var _0x59aea4=_0x6d4f9a>0x1?void 0x0:_0x6d4f9a?Yc(_0x46a69a,_0x2c5b81):_0x46a69a,_0x8366a0=_0x17b616[_0x168506(0x312)]-0x1,_0x4f0ee4;_0x8366a0>=0x0;_0x8366a0--)(_0x4f0ee4=_0x17b616[_0x8366a0])&&(_0x59aea4=(_0x6d4f9a?_0x4f0ee4(_0x46a69a,_0x2c5b81,_0x59aea4):_0x4f0ee4(_0x59aea4))||_0x59aea4);return _0x6d4f9a&&_0x59aea4&&Gc(_0x46a69a,_0x2c5b81,_0x59aea4),_0x59aea4;},Ci=(_0x22856e,_0x2bc437)=>(_0x8b60a9,_0x46a475)=>_0x2bc437(_0x8b60a9,_0x46a475,_0x22856e);const qc='/universer-api/authz';let gs=class{constructor(_0x16a501,_0x5e97b8){const _0x3a5068=_0x3a0f4f;this[_0x3a5068(0x145)]=_0x16a501,this['_HTTPService']=_0x5e97b8;}[_0x3a0f4f(0x459)](){const _0x220d84=_0x3a0f4f;var _0x439089,_0x4f8479;const _0xc8095f=this[_0x220d84(0x145)][_0x220d84(0x128)](ir),_0x29f018=this[_0x220d84(0x145)][_0x220d84(0x128)](Q);return(_0x4f8479=(_0x439089=_0x29f018==null?void 0x0:_0x29f018[_0x220d84(0x466)])!=null?_0x439089:_0xc8095f)!=null?_0x4f8479:qc;}async[_0x3a0f4f(0x254)](_0x2538ef){const _0x5c02e7=_0x3a0f4f,_0x2351f2=this['_getAPIPrefixPath']()+_0x5c02e7(0x1a1);return{'list':[{'title':_0x5c02e7(0x552),'mentions':(await this[_0x5c02e7(0x513)]['get'](_0x2351f2,{'params':{'objectID':_0x2538ef[_0x5c02e7(0x492)],'unitID':_0x2538ef['unitId']}}))[_0x5c02e7(0x3b4)][_0x5c02e7(0x196)][_0x5c02e7(0x545)](_0x4e90e0=>({'objectId':_0x4e90e0['id'],'name':_0x4e90e0[_0x5c02e7(0x19f)][_0x5c02e7(0x346)],'metadata':{'icon':_0x4e90e0[_0x5c02e7(0x19f)]['avatar']},'label':_0x4e90e0[_0x5c02e7(0x19f)][_0x5c02e7(0x346)],'objectType':_0x22d5ac['PERSON']})),'metadata':{},'type':_0x22d5ac[_0x5c02e7(0x494)]}]};}};gs=Kc([Ci(0x0,_0x4a6309(_0x1526c7)),Ci(0x1,_0x4a6309(_0x559bcb))],gs);var zc=Object[_0x3a0f4f(0x40a)],Xc=Object[_0x3a0f4f(0x409)],Jc=(_0xf2e39c,_0x5caa2b,_0x4734fc,_0x3ca2ae)=>{const _0x56b704=_0x3a0f4f;for(var _0x59d02c=_0x3ca2ae>0x1?void 0x0:_0x3ca2ae?Xc(_0x5caa2b,_0x4734fc):_0x5caa2b,_0x3fe65c=_0xf2e39c[_0x56b704(0x312)]-0x1,_0x2a6cfb;_0x3fe65c>=0x0;_0x3fe65c--)(_0x2a6cfb=_0xf2e39c[_0x3fe65c])&&(_0x59d02c=(_0x3ca2ae?_0x2a6cfb(_0x5caa2b,_0x4734fc,_0x59d02c):_0x2a6cfb(_0x59d02c))||_0x59d02c);return _0x3ca2ae&&_0x59d02c&&zc(_0x5caa2b,_0x4734fc,_0x59d02c),_0x59d02c;},et=(_0x49b551,_0x1123a3)=>(_0x3517d6,_0x45de25)=>_0x1123a3(_0x3517d6,_0x45de25,_0x49b551);let Ht=class extends _0x5a2d55{constructor(_0x2500f4,_0x5cdfbd,_0x28c453,_0x712aeb,_0x4261bc){const _0x1b1959=_0x3a0f4f;super(),this[_0x1b1959(0x340)]=_0x2500f4,this[_0x1b1959(0x345)]=_0x5cdfbd,this[_0x1b1959(0x222)]=_0x28c453,this[_0x1b1959(0x3af)]=_0x712aeb,this[_0x1b1959(0x369)]=_0x4261bc,this[_0x1b1959(0x1a8)](),this[_0x1b1959(0x20c)]();}['_initCloseConn'](){const _0xd5f84d=_0x3a0f4f,_0x5ab4a1=async _0x260d07=>{const _0x3fe1b8=_0x328b;(await this[_0x3fe1b8(0x3af)]['requireSession'](_0x260d07))[_0x3fe1b8(0x2f7)][_0x3fe1b8(0x2af)](_0x3b2257(_0x5c0d50=>_0x5c0d50['eventID']===_0x256e72[_0x3fe1b8(0x3bd)]),_0x548b51(this['dispose$']))['subscribe'](_0x24776d=>{const _0x2ff686=_0x3fe1b8,_0xf29566=_0x24776d,{reason:_0x251baa}=_0xf29566['data'];this[_0x2ff686(0x340)][_0x2ff686(0x204)](_0x138b55)[_0x2ff686(0x4d8)]({'type':_0x452c22[_0x2ff686(0x503)],'content':this[_0x2ff686(0x369)]['t'](_0x2ff686(0x16a))+'('+_0x251baa+')'}),this[_0x2ff686(0x222)][_0x2ff686(0x2f8)](new _0x102f56(_0x260d07)['id'],!0x1),this[_0x2ff686(0x3af)][_0x2ff686(0x3f5)](_0x260d07);});};_0x4bd8ea(this['_univerInstanceService'][_0xd5f84d(0x2f3)](_0x363a0b[_0xd5f84d(0x12e)]),this[_0xd5f84d(0x345)][_0xd5f84d(0x2f3)](_0x363a0b[_0xd5f84d(0x12b)]))[_0xd5f84d(0x2af)](_0x388f57(_0x48c532=>_0x48c532['getUnitId']()),_0x3b2257(_0x21357b=>!_0x28d9be(_0x21357b)),_0x548b51(this[_0xd5f84d(0x220)]))[_0xd5f84d(0x4f0)](_0x70427d=>{_0x5ab4a1(_0x70427d);});}['_initUnitPermissionChange'](){const _0x20014d=_0x3a0f4f,_0x1af076=async _0x37534d=>{const _0x146596=_0x328b;(await this[_0x146596(0x3af)]['requireSession'](_0x37534d))['event$']['pipe'](_0x3b2257(_0x2e67ba=>_0x2e67ba[_0x146596(0x416)]===_0x256e72['UPDATE_PERMISSION_OBJ']),_0x548b51(this[_0x146596(0x220)]))[_0x146596(0x4f0)](_0x24c2f1=>{const _0xf7a39=_0x146596,_0x2fa45a=_0x24c2f1,{objectId:_0x4d3de0}=_0x2fa45a['data'],_0x21426f=this[_0xf7a39(0x340)][_0xf7a39(0x204)](_0x5b108c);_0x4d3de0===_0x37534d?_0x21426f[_0xf7a39(0x187)](_0x37534d):_0x21426f[_0xf7a39(0x44f)](_0x37534d,_0x4d3de0);});};_0x4bd8ea(this[_0x20014d(0x345)]['getTypeOfUnitAdded$'](_0x363a0b[_0x20014d(0x12e)]),this[_0x20014d(0x345)][_0x20014d(0x2f3)](_0x363a0b[_0x20014d(0x12b)]))[_0x20014d(0x2af)](_0x388f57(_0x2086de=>_0x2086de[_0x20014d(0x1eb)]()),_0x3b2257(_0x785a86=>!_0x28d9be(_0x785a86)),_0x548b51(this['dispose$']))['subscribe'](_0x22a93f=>{_0x1af076(_0x22a93f);});}};Ht=Jc([et(0x0,_0x4a6309(_0x5b64e2)),et(0x1,_0x3dee00),et(0x2,_0x344f08),et(0x3,_0x4a6309(xe)),et(0x4,_0x4a6309(_0x440b58))],Ht);var Zc=Object['defineProperty'],Qc=Object[_0x3a0f4f(0x409)],eh=(_0xae29bf,_0x5d25c1,_0x5cb8b7,_0xeacacb)=>{const _0x3c31e2=_0x3a0f4f;for(var _0x41d70a=_0xeacacb>0x1?void 0x0:_0xeacacb?Qc(_0x5d25c1,_0x5cb8b7):_0x5d25c1,_0x3191dc=_0xae29bf[_0x3c31e2(0x312)]-0x1,_0x2d91b6;_0x3191dc>=0x0;_0x3191dc--)(_0x2d91b6=_0xae29bf[_0x3191dc])&&(_0x41d70a=(_0xeacacb?_0x2d91b6(_0x5d25c1,_0x5cb8b7,_0x41d70a):_0x2d91b6(_0x41d70a))||_0x41d70a);return _0xeacacb&&_0x41d70a&&Zc(_0x5d25c1,_0x5cb8b7,_0x41d70a),_0x41d70a;},Ei=(_0x158f8e,_0x56baf4)=>(_0x2beeab,_0x30cc62)=>_0x56baf4(_0x2beeab,_0x30cc62,_0x158f8e);let Ss=class{constructor(_0x56e293,_0x384179){const _0x3bce0a=_0x3a0f4f;this[_0x3bce0a(0x145)]=_0x56e293,this[_0x3bce0a(0x53b)]=_0x384179;}async[_0x3a0f4f(0x540)](_0x59786c,_0x3bf00a){const _0x14d6f8=_0x3a0f4f;var _0x39726e;const {unitID:_0xc27fb5,type:_0x489767,revision:_0x2ef6df=0x0}=_0x3bf00a,_0x532bfa=this[_0x14d6f8(0x3ec)]()+'/'+_0x489767+_0x14d6f8(0x38d)+_0xc27fb5+_0x14d6f8(0x3a7)+_0x2ef6df,_0x4bb250=(await this[_0x14d6f8(0x53b)][_0x14d6f8(0x204)](_0x532bfa))[_0x14d6f8(0x3b4)],_0x430c97=(_0x39726e=_0x4bb250[_0x14d6f8(0x4a8)])==null?void 0x0:_0x39726e[_0x14d6f8(0x31a)];if(_0x430c97){const _0x4b6598=_0x430c97==null?void 0x0:_0x430c97[_0x14d6f8(0x35c)],_0x3e83ca=_0x5bc419[_0x14d6f8(0x469)](_0x58c36f(_0x4b6598));_0x430c97['originalMeta']=_0x3e83ca,Object['entries'](_0x430c97[_0x14d6f8(0x4ce)])['forEach'](([,_0x29637c])=>{const _0x58f396=_0x14d6f8,_0x2d794b=_0x29637c[_0x58f396(0x35c)],_0x5647b0=_0x5bc419[_0x58f396(0x469)](_0x58c36f(_0x2d794b));_0x29637c[_0x58f396(0x35c)]=_0x5647b0;});}return _0x4bb250;}async[_0x3a0f4f(0x215)](_0x4649bb,_0x412c79){const _0x5231bb=_0x3a0f4f,{unitID:_0xd98a31,type:_0x47aee6,blockID:_0x2b7d53}=_0x412c79,_0x353c35=this['_getAPIPrefix']()+'/'+_0x47aee6+_0x5231bb(0x38d)+_0xd98a31+_0x5231bb(0x39f)+_0x2b7d53;return(await this['_httpService'][_0x5231bb(0x204)](_0x353c35))[_0x5231bb(0x3b4)];}async[_0x3a0f4f(0x120)](_0x5d596c,_0x265e07){const _0x81d761=_0x3a0f4f,{unitID:_0x456613,type:_0x8c32c9,blockID:_0x101db5}=_0x265e07,_0xfed249=this[_0x81d761(0x33b)]()+_0x81d761(0x39f)+_0x8c32c9+_0x81d761(0x38d)+_0x456613+'/block/'+_0x101db5;return(await this[_0x81d761(0x53b)][_0x81d761(0x204)](_0xfed249))['body'];}async['fetchMissingChangesets'](_0x40eee4,_0x69859d){const _0x98613e=_0x3a0f4f,{unitID:_0xa96826,type:_0x2100c3,from:_0xba6307,to:_0x3fd96e}=_0x69859d,_0x34d053=this[_0x98613e(0x33b)]()+'/'+_0x2100c3+'/unit/'+_0xa96826+'/fetchmissing?from='+_0xba6307+'&to='+_0x3fd96e;return(await this[_0x98613e(0x53b)][_0x98613e(0x204)](_0x34d053))['body'];}[_0x3a0f4f(0x3ec)](){const _0x229db8=_0x3a0f4f;var _0xffb1b7;return(_0xffb1b7=this[_0x229db8(0x145)][_0x229db8(0x128)](Tn))!=null?_0xffb1b7:this[_0x229db8(0x33b)]();}[_0x3a0f4f(0x33b)](){const _0x3deec7=_0x3a0f4f;var _0x2c9e12,_0x3a6be6;const _0x2cf856=this[_0x3deec7(0x145)][_0x3deec7(0x128)](En),_0x2d7625=this[_0x3deec7(0x145)][_0x3deec7(0x128)](Q);return(_0x3a6be6=(_0x2c9e12=_0x2d7625==null?void 0x0:_0x2d7625['snapshotServerUrl'])!=null?_0x2c9e12:_0x2cf856)!=null?_0x3a6be6:bn;}async[_0x3a0f4f(0x489)](_0x1960a1,_0x3e2cde){const _0x32b079=_0x3a0f4f,_0x514b4c=_0x32b079(0x3bc)+_0x3e2cde[_0x32b079(0x550)]+'/unit/'+_0x3e2cde[_0x32b079(0x321)]+_0x32b079(0x42a);return(await this[_0x32b079(0x53b)][_0x32b079(0x204)](_0x514b4c,{'params':{'resourceId':JSON['stringify'](_0x3e2cde['resourceIDs'])}}))[_0x32b079(0x3b4)];}[_0x3a0f4f(0x421)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){const _0xa97202=_0x3a0f4f;throw new Error(_0xa97202(0x3cf));}[_0x3a0f4f(0x4c9)](){const _0xd3c410=_0x3a0f4f;throw new Error(_0xd3c410(0x3cf));}['copyFileMeta'](){const _0x4b429c=_0x3a0f4f;throw new Error(_0x4b429c(0x3cf));}[_0x3a0f4f(0x549)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Ss=eh([Ei(0x0,_0x1526c7),Ei(0x1,_0x4a6309(_0x559bcb))],Ss);var th=Object[_0x3a0f4f(0x40a)],sh=Object[_0x3a0f4f(0x409)],ih=(_0x4ca580,_0x3d2c14,_0x489267,_0x655861)=>{const _0x53fdf8=_0x3a0f4f;for(var _0x2b651c=_0x655861>0x1?void 0x0:_0x655861?sh(_0x3d2c14,_0x489267):_0x3d2c14,_0x41387f=_0x4ca580[_0x53fdf8(0x312)]-0x1,_0x27f66;_0x41387f>=0x0;_0x41387f--)(_0x27f66=_0x4ca580[_0x41387f])&&(_0x2b651c=(_0x655861?_0x27f66(_0x3d2c14,_0x489267,_0x2b651c):_0x27f66(_0x2b651c))||_0x2b651c);return _0x655861&&_0x2b651c&&th(_0x3d2c14,_0x489267,_0x2b651c),_0x2b651c;},tt=(_0x7dc806,_0x37f3bb)=>(_0x5aadb3,_0x5c1b76)=>_0x37f3bb(_0x5aadb3,_0x5c1b76,_0x7dc806);let Is=class extends _0x1326ac{constructor(_0x435d6d,_0x308f16,_0x2d415b,_0x322143,_0x14db3d){const _0x44783a=_0x3a0f4f;super(_0x435d6d,_0x308f16,_0x2d415b),this[_0x44783a(0x20a)]=_0x322143,this[_0x44783a(0x2d8)]=_0x14db3d;}[_0x3a0f4f(0x335)](_0x453d84,_0x4012d0){const _0x43b505=_0x3a0f4f,_0x4a43af=this[_0x43b505(0x211)](_0x453d84);if(_0x4a43af)try{const _0x121dba=this[_0x43b505(0x49a)](_0x4a43af,_0x4012d0);this[_0x43b505(0x1a3)](_0x453d84,_0x121dba);}catch(_0x1a2d82){this['_logService'][_0x43b505(0x34b)]('[CollaborationUndoRedoService]',_0x1a2d82),this[_0x43b505(0x557)](_0x453d84);}const _0x95043f=this[_0x43b505(0x226)](_0x453d84);if(_0x95043f)try{const _0x5a4ed7=this[_0x43b505(0x49a)](_0x95043f,_0x4012d0);this[_0x43b505(0x2e6)](_0x453d84,_0x5a4ed7);}catch(_0x5ebff1){this[_0x43b505(0x2d8)][_0x43b505(0x34b)](_0x5ebff1),this[_0x43b505(0x3aa)](_0x453d84);}}[_0x3a0f4f(0x557)](_0x4e312f){const _0x39eec9=_0x3a0f4f,_0xe8a7f0=this[_0x39eec9(0x211)](_0x4e312f);_0xe8a7f0&&(_0xe8a7f0[_0x39eec9(0x312)]=0x0,this[_0x39eec9(0x415)]());}['_clearRedo'](_0x1c7163){const _0x645fe3=_0x3a0f4f,_0x418b08=this[_0x645fe3(0x226)](_0x1c7163);_0x418b08&&(_0x418b08[_0x645fe3(0x312)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x749e1b,_0x457d08){const _0x3308fa=_0x3a0f4f;this['_undoStacks']['set'](_0x749e1b,_0x457d08),this[_0x3308fa(0x415)]();}['_substituteRedoStack'](_0x3ad5c0,_0x510a61){const _0x1fd66b=_0x3a0f4f;this[_0x1fd66b(0x402)][_0x1fd66b(0x4d9)](_0x3ad5c0,_0x510a61),this['_updateStatus']();}[_0x3a0f4f(0x49a)](_0x59217d,_0x11c09b){const _0xf62c1=_0x3a0f4f,_0x31618d=[];let _0x330f09=_0x11c09b,_0x3d1f67=_0x11c09b;for(let _0x429169=_0x59217d[_0xf62c1(0x312)]-0x1;_0x429169>=0x0;_0x429169--){const {unitID:_0x3d2972,undoMutations:_0x5db4d0,redoMutations:_0x4283be}=_0x59217d[_0x429169],_0xd985c3=this[_0xf62c1(0x20a)][_0xf62c1(0x27f)](_0x330f09,_0x5db4d0),_0x5c728e=this[_0xf62c1(0x20a)]['transformMutationsWithChangeset'](_0x3d1f67,_0x4283be);if(_0xec044a(_0xd985c3)||_0xec044a(_0x5c728e)){this[_0xf62c1(0x2d8)][_0xf62c1(0x34b)](_0xf62c1(0x3e9),_0xf62c1(0x49f),_0xd985c3,_0x5c728e);break;}_0x330f09=_0xd985c3[_0xf62c1(0x17b)],_0x3d1f67=_0x5c728e[_0xf62c1(0x17b)],_0x31618d['push']({'unitID':_0x3d2972,'undoMutations':_0xd985c3['m2Prime'],'redoMutations':_0x5c728e['m2Prime']});}return _0x31618d[_0xf62c1(0x344)]();}};Is=ih([tt(0x0,_0x3dee00),tt(0x1,_0x21538e),tt(0x2,_0x3b86f4),tt(0x3,_0x4a14e2),tt(0x4,_0x4c9627)],Is);class rh extends _0x5a2d55{constructor(){const _0x392c6e=_0x3a0f4f;super(),g(this,_0x392c6e(0x372)),this[_0x392c6e(0x372)]=_0x14b582(window,_0x392c6e(0x3fd))[_0x392c6e(0x2af)](_0x2a292b(this['dispose$']),_0xda1692(0x1),_0x5d7b6d(void 0x0));}[_0x3a0f4f(0x47f)](_0x29fd65,_0x24e48c,_0x209a12=!0x1){const _0xfeec89=_0x3a0f4f,_0x2d3962=new URL(window['location']['href']);_0x2d3962[_0xfeec89(0x11f)]['set'](_0x29fd65,_0x24e48c),_0x209a12?window[_0xfeec89(0x292)][_0xfeec89(0x53e)]('','',_0x2d3962['toString']()):window['history'][_0xfeec89(0x1d6)]('','',_0x2d3962[_0xfeec89(0x542)]());}['removeParam'](_0x38d14f,_0x5a0185=!0x1){const _0x38c60b=_0x3a0f4f,_0x38ea40=new URL(window[_0x38c60b(0x152)]['href']);_0x38ea40['searchParams'][_0x38c60b(0x4d6)](_0x38d14f),_0x5a0185?window[_0x38c60b(0x292)][_0x38c60b(0x53e)]('','',_0x38ea40[_0x38c60b(0x542)]()):window[_0x38c60b(0x292)]['pushState']('','',_0x38ea40[_0x38c60b(0x542)]());}['getParam'](_0x134eda){const _0xea07e4=_0x3a0f4f;var _0x3a9b22;return(_0x3a9b22=new URL(window[_0xea07e4(0x152)]['href'])['searchParams'][_0xea07e4(0x204)](_0x134eda))!=null?_0x3a9b22:void 0x0;}}var ar=Object[_0x3a0f4f(0x40a)],nh=Object['getOwnPropertyDescriptor'],oh=(_0x1d1cbb,_0x18ddfc,_0x36d96f)=>_0x18ddfc in _0x1d1cbb?ar(_0x1d1cbb,_0x18ddfc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36d96f}):_0x1d1cbb[_0x18ddfc]=_0x36d96f,ah=(_0x1caef8,_0x269706,_0xdf18f1,_0x22156c)=>{for(var _0x25d0f9=_0x22156c>0x1?void 0x0:_0x22156c?nh(_0x269706,_0xdf18f1):_0x269706,_0x981ffb=_0x1caef8['length']-0x1,_0x1cb2c5;_0x981ffb>=0x0;_0x981ffb--)(_0x1cb2c5=_0x1caef8[_0x981ffb])&&(_0x25d0f9=(_0x22156c?_0x1cb2c5(_0x269706,_0xdf18f1,_0x25d0f9):_0x1cb2c5(_0x25d0f9))||_0x25d0f9);return _0x22156c&&_0x25d0f9&&ar(_0x269706,_0xdf18f1,_0x25d0f9),_0x25d0f9;},_t=(_0x49795b,_0x2e4b1d)=>(_0xa96557,_0x28a375)=>_0x2e4b1d(_0xa96557,_0x28a375,_0x49795b),ch=(_0x37a8b4,_0x2c2318,_0x127654)=>oh(_0x37a8b4,_0x2c2318+'',_0x127654);const hh='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Cs=class extends _0x3fd3c3{constructor(_0x5cc2ff=Bn,_0x4ea86e,_0x1ed357,_0x1c060a,_0x27cee1){const _0x2199d2=_0x3a0f4f;super(),this[_0x2199d2(0x3d1)]=_0x5cc2ff,this['_logService']=_0x4ea86e,this[_0x2199d2(0x2b5)]=_0x1ed357,this[_0x2199d2(0x340)]=_0x1c060a,this['_configService']=_0x27cee1;const {..._0x10f1d6}=this[_0x2199d2(0x3d1)];this[_0x2199d2(0x145)][_0x2199d2(0x406)](Q,_0x10f1d6);}[_0x3a0f4f(0x474)](){const _0x5cef66=_0x3a0f4f;this[_0x5cef66(0x439)](),this[_0x5cef66(0x244)]();}[_0x3a0f4f(0x414)](){const _0x3f4021=_0x3a0f4f;_0x63b439(this[_0x3f4021(0x340)],[[xt],[Ut]]);}[_0x3a0f4f(0x424)](){const _0x384727=_0x3a0f4f;this[_0x384727(0x1ef)]();}['_registerDependencies'](){const _0x6fc8a2=_0x3a0f4f;var _0x31e6ce,_0x35079c,_0x1d8e73,_0x3a3aee;this[_0x6fc8a2(0x340)][_0x6fc8a2(0x261)](_0x28c671)&&this[_0x6fc8a2(0x2d8)]['error'](_0x6fc8a2(0x22b),_0x6fc8a2(0x413));const _0x18bb38=[[_0x28c671,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x20af59],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0x35079c=(_0x31e6ce=this[_0x6fc8a2(0x3d1)])==null?void 0x0:_0x31e6ce[_0x6fc8a2(0x142)])!=null?_0x35079c:cs}],[_0x53719c,{'useClass':Ss}],[_0x233f24,{'useClass':ps}],[_0x543428,{'useClass':ms}],[_0xafb964,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x1d8e73=this['_config'])!=null&&_0x1d8e73[_0x6fc8a2(0x227)]&&_0x18bb38['push']([jt,{'useClass':Co}]),_0x5d57bb(this[_0x6fc8a2(0x340)],_0x448917(_0x18bb38,(_0x3a3aee=this[_0x6fc8a2(0x3d1)])==null?void 0x0:_0x3a3aee['override']));}[_0x3a0f4f(0x1ef)](){const _0x98611b=_0x3a0f4f;this[_0x98611b(0x49b)](this[_0x98611b(0x2b5)][_0x98611b(0x2b9)](_0x363a0b[_0x98611b(0x12b)],[fs])),this[_0x98611b(0x49b)](this[_0x98611b(0x2b5)][_0x98611b(0x2b9)](_0x363a0b[_0x98611b(0x12e)],[vs]));}[_0x3a0f4f(0x244)](){const _0x3a97b2=_0x3a0f4f;var _0x3c3901,_0x31d697;this['_injector'][_0x3a97b2(0x204)](_0x559bcb)[_0x3a97b2(0x3b3)]({'priority':0x14,'interceptor':_0x3364e1({'maxParallel':0x6})}),(_0x3c3901=this[_0x3a97b2(0x3d1)])!=null&&_0x3c3901[_0x3a97b2(0x34d)]||this[_0x3a97b2(0x340)][_0x3a97b2(0x204)](z)[_0x3a97b2(0x3d9)](),(_0x31d697=this[_0x3a97b2(0x3d1)])!=null&&_0x31d697[_0x3a97b2(0x334)]&&_0x63b439(this[_0x3a97b2(0x340)],[[Lt]]),_0x63b439(this[_0x3a97b2(0x340)],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,_0x3a0f4f(0x232),hh),Cs=ah([_0x5a5537(_0x31a0d0,_0x5be668),_t(0x1,_0x4c9627),_t(0x2,_0xc1cbdc),_t(0x3,_0x4a6309(_0x5b64e2)),_t(0x4,_0x1526c7)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};
1
+ const _0x2025fc=_0x46d8;(function(_0x42029,_0x47065b){const _0x3777cf=_0x46d8,_0x286874=_0x42029();while(!![]){try{const _0x302d4c=-parseInt(_0x3777cf(0x26d))/0x1*(parseInt(_0x3777cf(0x114))/0x2)+-parseInt(_0x3777cf(0x43c))/0x3*(-parseInt(_0x3777cf(0x30e))/0x4)+-parseInt(_0x3777cf(0x24f))/0x5+-parseInt(_0x3777cf(0x1e1))/0x6+parseInt(_0x3777cf(0x453))/0x7*(parseInt(_0x3777cf(0xee))/0x8)+-parseInt(_0x3777cf(0xd0))/0x9+parseInt(_0x3777cf(0x201))/0xa;if(_0x302d4c===_0x47065b)break;else _0x286874['push'](_0x286874['shift']());}catch(_0x5c13f8){_0x286874['push'](_0x286874['shift']());}}}(_0x5197,0xa5bc6));var cr=Object['defineProperty'],hr=(_0x58d0da,_0x34d97e,_0x3a12df)=>_0x34d97e in _0x58d0da?cr(_0x58d0da,_0x34d97e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a12df}):_0x58d0da[_0x34d97e]=_0x3a12df,g=(_0x1ed939,_0x214b10,_0x42747c)=>hr(_0x1ed939,typeof _0x214b10!=_0x2025fc(0x357)?_0x214b10+'':_0x214b10,_0x42747c);import{createIdentifier as _0x30094b,Inject as _0x5847bf,Disposable as _0x24229e,DisposableCollection as _0x55a86c,toDisposable as _0x7c72c3,IConfigService as _0x4df844,ILogService as _0x49d195,UserManagerService as _0x1fb10d,UniverInstanceType as _0xb166dc,IUniverInstanceService as _0x425cee,LocaleService as _0x4b4756,Optional as _0x133fb4,RxDisposable as _0x5ec0cb,Injector as _0x5d7671,Tools as _0x529634,ILocalStorageService as _0x5353b6,Rectangle as _0x1a8bad,ICommandService as _0x28287a,DOC_RANGE_TYPE as _0x2bd610,JSONX as _0x421ddc,CommandType as _0x4f220f,IPermissionService as _0x1700fb,IUndoRedoService as _0x4bbe15,sequenceExecute as _0x512337,debounce as _0x26c09b,COLORS as _0x37cb7b,ColorKit as _0x13add7,ThemeService as _0x14c134,fromEventSubject as _0x2095a5,useDependency as _0x121dc7,connectInjector as _0x556999,Workbook as _0x21f116,MentionType as _0x153717,isInternalEditorID as _0x56718f,LocalUndoRedoService as _0x18ef81,IContextService as _0x4ea7fc,DependentOn as _0x2048c2,Plugin as _0x5001bc,touchDependencies as _0x5404e4,IAuthzIoService as _0x5cfc2f,IMentionIOService as _0x2d3ae3,registerDependencies as _0x43027c,mergeOverrideWithDependencies as _0x3474e1}from'@univerjs/core';import{Subject as _0x1c0b9c,merge as _0x38a986,takeUntil as _0x7b6507,BehaviorSubject as _0x1074c2,distinctUntilChanged as _0x17cf14,fromEvent as _0x6a336f,ReplaySubject as _0x5e2516,take as _0x54d89e,map as _0x2e263c,shareReplay as _0x2c1940,of as _0x43d0da,debounceTime as _0x493feb,filter as _0x2eb5c7,switchMap as _0x4e1242,combineLatest as _0x238a3a,concatMap as _0x4ab7bd,mapTo as _0x2d3712}from'rxjs';import{map as _0xb11c2f,take as _0x1abfcf,filter as _0xa0d892,delay as _0xca605e,throttleTime as _0x300e66,takeUntil as _0xc7ed86,switchMap as _0x51df4e}from'rxjs/operators';import{MessageType as _0x3f6750,Tooltip as _0x4ddf03}from'@univerjs/design';import{HTTPService as _0x310387,WebSocketService as _0x1293ea,MergeInterceptorFactory as _0x212a92,HTTPRequest as _0x30acee,UniverNetworkPlugin as _0x6b1b5c,ThresholdInterceptorFactory as _0x156843}from'@univerjs/network';import{IBeforeCloseService as _0x176b35,IMessageService as _0x3d017a,INotificationService as _0x28a3f3,useObservable as _0x5dcc9e,BuiltInUIPart as _0x2879fd,IUIPartsService as _0x100c23}from'@univerjs/ui';import{CollaborationEvent as _0x3a14f4,parseChangesetToProtocol as _0x100c80,ISnapshotServerService as _0xbd688,isTransformMutationFailure as _0x3e27e9,isTransformMutationsWithChangesetSuccess as _0x341c91,ITransformService as _0x2fbfa5,RevisionService as _0x389697,mapDocumentTypeToUniverType as _0x3761c7,isTransformChangesetsSuccess as _0xba8c63,CompressMutationService as _0x550e78,parseProtocolChangeset as _0x3cc097,SnapshotService as _0x3ef466,textEncoder as _0x55ea7a,b64DecodeUnicode as _0x1facae,isTransformMutationsWithChangesetFailure as _0xc9659d,UniverCollaborationPlugin as _0x1105e5}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xeb3a8b}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x49b6ea,RichTextEditingMutation as _0x3ef379,SetTextSelectionsOperation as _0x10a027,DocSkeletonManagerService as _0x4e067d}from'@univerjs/docs';import{DocIMEInputManagerService as _0x5d51e1,DocStateChangeManagerService as _0x4ee933,IDocClipboardService as _0x3d5ec4,NodePositionConvertToCursor as _0x44a430,NodePositionConvertToRectRange as _0x4512fd,TEXT_RANGE_LAYER_INDEX as _0x505883,SetDocZoomRatioOperation as _0x3c0f91}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2d0767,SetSelectionsOperation as _0x3295dc,InsertSheetMutation as _0x5bc6a8,EmptyMutation as _0x40bf05,WorkbookEditablePermission as _0x232ff6,RefRangeService as _0x4f6ae0,EffectRefRangId as _0x1bada9,handleIRemoveRow as _0x5842ca,handleIRemoveCol as _0x4cc33a,handleMoveRange as _0x11ac4c,handleInsertRow as _0x1fe1d1,handleInsertRangeMoveRight as _0x38f4c6,handleInsertRangeMoveDown as _0x21ee51,handleInsertCol as _0x3c8a96,handleDeleteRangeMoveUp as _0x27e6e3,handleDeleteRangeMoveLeft as _0x322dc1,runRefRangeMutations as _0x5a1647,SetWorksheetActivateCommand as _0x31bc6f}from'@univerjs/sheets';import{IRenderManagerService as _0x27432a,Shape as _0x280f32,Rect as _0x10cdd3,getColor as _0x44a483,RegularPolygon as _0x2d60c8,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3f5711,Vector2 as _0x483d6a,SHEET_VIEWPORT_KEY as _0x5a71d0}from'@univerjs/engine-render';import{IImageIoService as _0x1fd980,ImageSourceType as _0x3882da,ImageUploadStatusType as _0x228958}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x129840,serializeRangeWithSheet as _0xf165cf}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x46c626,getCoordByCell as _0x473bbb,getSheetObject as _0x10d32f,SheetPermissionInitController as _0x244d66}from'@univerjs/sheets-ui';import _0x3f0cf0,{forwardRef as _0x338e7b,useRef as _0x28ff08,createElement as _0x10eb66,useCallback as _0x2496ba}from'react';import{IRemoteInstanceService as _0x3b46ab}from'@univerjs/rpc';const En='SNAPSHOT_SERVER_URL_KEY',bn=_0x2025fc(0x20e),Tn='SNAPSHOT_URL_KEY',wh=_0x2025fc(0x2b2),Rn=0x7d0,On=_0x2025fc(0xde),yn='ws://127.0.0.1:8000/universer-api/comb/connect',wn='/universer-api/user/session-ticket',Dn=_0x2025fc(0x233),Pn=0x7530,ki=_0x2025fc(0x476),Wi=0x4e20,Nn=0x4e20,Un=_0x2025fc(0x1fc),An=0x3,Mn='LOCAL_CACHE_INTERVAL',xn=0x3e8,Ln=_0x2025fc(0x325),$n=_0x2025fc(0x1fa),Hn=_0x2025fc(0x45d),jn=_0x2025fc(0x268);var Fi=(_0x162f5d=>(_0x162f5d[_0x162f5d[_0x2025fc(0x3e8)]=0x0]=_0x2025fc(0x3e8),_0x162f5d[_0x162f5d['OK']=0x1]='OK',_0x162f5d[_0x162f5d[_0x2025fc(0xbd)]=0x2]=_0x2025fc(0xbd),_0x162f5d[_0x162f5d[_0x2025fc(0x411)]=0x3]=_0x2025fc(0x411),_0x162f5d[_0x162f5d[_0x2025fc(0x45b)]=0x4]=_0x2025fc(0x45b),_0x162f5d[_0x162f5d[_0x2025fc(0x35a)]=0x5]=_0x2025fc(0x35a),_0x162f5d[_0x162f5d[_0x2025fc(0x331)]=0x6]=_0x2025fc(0x331),_0x162f5d[_0x162f5d[_0x2025fc(0x257)]=0x7]=_0x2025fc(0x257),_0x162f5d[_0x162f5d[_0x2025fc(0x3e1)]=0x8]=_0x2025fc(0x3e1),_0x162f5d[_0x162f5d['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x162f5d[_0x162f5d[_0x2025fc(0x2a6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x162f5d[_0x162f5d[_0x2025fc(0x49b)]=0x1771]=_0x2025fc(0x49b),_0x162f5d[_0x162f5d[_0x2025fc(0x2a8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x162f5d[_0x162f5d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2025fc(0x3a8),_0x162f5d[_0x162f5d['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x162f5d[_0x162f5d[_0x2025fc(0x4af)]=0x1b5a]=_0x2025fc(0x4af),_0x162f5d[_0x162f5d[_0x2025fc(0x1d8)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x162f5d[_0x162f5d[_0x2025fc(0xf1)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x162f5d[_0x162f5d[_0x2025fc(0x101)]=0x1b5d]='APPLY_DUPLICATED',_0x162f5d[_0x162f5d[_0x2025fc(0x43f)]=0x1f41]=_0x2025fc(0x43f),_0x162f5d[_0x162f5d[_0x2025fc(0x14e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x162f5d[_0x162f5d[_0x2025fc(0x13f)]=0x232a]=_0x2025fc(0x13f),_0x162f5d[_0x162f5d[_0x2025fc(0x1ca)]=0x232b]=_0x2025fc(0x1ca),_0x162f5d[_0x162f5d[_0x2025fc(0x23e)]=0x232c]=_0x2025fc(0x23e),_0x162f5d[_0x162f5d[_0x2025fc(0x38d)]=0x232d]=_0x2025fc(0x38d),_0x162f5d[_0x162f5d[_0x2025fc(0x3dd)]=0x2711]=_0x2025fc(0x3dd),_0x162f5d[_0x162f5d[_0x2025fc(0x303)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x162f5d[_0x162f5d[_0x2025fc(0x47e)]=0x2713]=_0x2025fc(0x47e),_0x162f5d[_0x162f5d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2025fc(0x10f),_0x162f5d[_0x162f5d['UNRECOGNIZED']=-0x1]=_0x2025fc(0x104),_0x162f5d))(Fi||{}),ae=(_0x49a5fa=>(_0x49a5fa[_0x49a5fa[_0x2025fc(0x38e)]=0x0]=_0x2025fc(0x38e),_0x49a5fa[_0x49a5fa['UNIVER_DOC']=0x1]=_0x2025fc(0x3ad),_0x49a5fa[_0x49a5fa[_0x2025fc(0x4a6)]=0x2]=_0x2025fc(0x4a6),_0x49a5fa[_0x49a5fa[_0x2025fc(0x472)]=0x3]=_0x2025fc(0x472),_0x49a5fa[_0x49a5fa['UNIVER_PROJECT']=0x4]=_0x2025fc(0x1f4),_0x49a5fa[_0x49a5fa['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x49a5fa))(ae||{}),W=(_0x2376d0=>(_0x2376d0[_0x2376d0[_0x2025fc(0x129)]=0x0]='UNKNOWN_CMD',_0x2376d0[_0x2376d0['HELLO']=0x1]=_0x2025fc(0x17c),_0x2376d0[_0x2376d0[_0x2025fc(0xea)]=0x2]='JOIN',_0x2376d0[_0x2376d0[_0x2025fc(0x387)]=0x3]=_0x2025fc(0x387),_0x2376d0[_0x2376d0[_0x2025fc(0x365)]=0x4]='INGEST',_0x2376d0[_0x2376d0[_0x2025fc(0x4a5)]=0x5]='HEARTBEAT',_0x2376d0[_0x2376d0[_0x2025fc(0x247)]=0x6]=_0x2025fc(0x247),_0x2376d0[_0x2376d0[_0x2025fc(0x104)]=-0x1]='UNRECOGNIZED',_0x2376d0))(W||{}),Pe=(_0x1be4d5=>(_0x1be4d5[_0x1be4d5[_0x2025fc(0x35b)]=0x0]='UNKNOWN_CODE',_0x1be4d5[_0x1be4d5['OK']=0x1]='OK',_0x1be4d5[_0x1be4d5[_0x2025fc(0x1d5)]=0x2]=_0x2025fc(0x1d5),_0x1be4d5[_0x1be4d5[_0x2025fc(0x4a4)]=0x3e9]=_0x2025fc(0x4a4),_0x1be4d5[_0x1be4d5['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x2025fc(0x41e),_0x1be4d5[_0x1be4d5['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x2025fc(0x2f3),_0x1be4d5[_0x1be4d5[_0x2025fc(0x267)]=0x3ec]=_0x2025fc(0x267),_0x1be4d5[_0x1be4d5[_0x2025fc(0x104)]=-0x1]=_0x2025fc(0x104),_0x1be4d5))(Pe||{}),Vi=(_0xa4a949=>(_0xa4a949[_0xa4a949[_0x2025fc(0x435)]=0x0]=_0x2025fc(0x435),_0xa4a949[_0xa4a949[_0x2025fc(0x2a2)]=0x1]='HttpImport',_0xa4a949[_0xa4a949[_0x2025fc(0x302)]=0x2]=_0x2025fc(0x302),_0xa4a949[_0xa4a949['UnitEmbedded']=0x3]=_0x2025fc(0x239),_0xa4a949[_0xa4a949[_0x2025fc(0x3ac)]=0x4]=_0x2025fc(0x3ac),_0xa4a949[_0xa4a949[_0x2025fc(0x104)]=-0x1]=_0x2025fc(0x104),_0xa4a949))(Vi||{});const Q=_0x2025fc(0x197),Bn={};function kn(_0x2da184){const _0x28bbac=_0x2025fc;var _0xb626fa,_0x4eeb2d,_0x183095,_0x167953,_0x396954;const _0x1dcfe7=_0x2da184['data'],_0x330d72=JSON[_0x28bbac(0x211)](_0x1dcfe7);switch(_0x330d72[_0x28bbac(0x32d)]){case W[_0x28bbac(0x4a5)]:case W[_0x28bbac(0x17c)]:{const _0x4911d6=_0x330d72[_0x28bbac(0x1bd)];return{..._0x330d72,'data':_0x4911d6,'cmd':_0x330d72[_0x28bbac(0x32d)]};}case W[_0x28bbac(0xea)]:{const _0x5f44e6=_0x330d72[_0x28bbac(0x48d)];return{..._0x330d72,'data':_0x5f44e6,'cmd':_0x330d72[_0x28bbac(0x32d)]};}case W['RECV']:{const _0x831847=_0x330d72[_0x28bbac(0x381)];switch(_0x831847[_0x28bbac(0x28b)]){case _0x3a14f4[_0x28bbac(0x102)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0xb626fa=_0x831847[_0x28bbac(0x3ef)])==null?void 0x0:_0xb626fa['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x3d7)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0x4eeb2d=_0x831847['csAckEvent'])==null?void 0x0:_0x4eeb2d['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x36e)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0x183095=_0x831847['newCsEvent'])==null?void 0x0:_0x183095['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x180)]:return{..._0x330d72,'data':{..._0x831847,'data':(_0x167953=_0x831847[_0x28bbac(0x30b)])==null?void 0x0:_0x167953['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4['CHANGESET_SHOULD_RETRY']:return{..._0x330d72,'data':{..._0x831847,'data':(_0x396954=_0x831847[_0x28bbac(0x370)])==null?void 0x0:_0x396954['cs']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4['UPDATE_CURSOR']:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x235)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0xc3)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847['joinEvent']},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x3dc)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x22d)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x29b)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x374)]},'cmd':_0x330d72['cmd']};case _0x3a14f4[_0x28bbac(0x177)]:case _0x3a14f4[_0x28bbac(0x44c)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x390)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x2ef)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x374)]},'cmd':_0x330d72['cmd']};case _0x3a14f4['MSG_FOR_ERROR']:return{..._0x330d72,'data':_0x831847,'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x2b6)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847[_0x28bbac(0x189)]},'cmd':_0x330d72[_0x28bbac(0x32d)]};case _0x3a14f4[_0x28bbac(0x47c)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847['updatePermissionObjEvent']},'cmd':_0x330d72['cmd']};case _0x3a14f4[_0x28bbac(0x23f)]:return{..._0x330d72,'data':{..._0x831847,'data':_0x831847['shouldCloseConn']},'cmd':_0x330d72[_0x28bbac(0x32d)]};default:return _0x330d72;}}default:return _0x330d72;}}function Wn(_0x318407){const _0x15c075=_0x2025fc;switch(_0x318407[_0x15c075(0x32d)]){case W[_0x15c075(0x4a5)]:case W[_0x15c075(0x17c)]:return JSON[_0x15c075(0x11e)]({'cmd':_0x318407['cmd'],'routeKey':_0x318407[_0x15c075(0x15f)]});case W[_0x15c075(0x365)]:{let _0x47fecc;switch(_0x318407[_0x15c075(0x2a0)][_0x15c075(0x28b)]){case _0x3a14f4[_0x15c075(0x30f)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x30f)],'updateCursorEvent':_0x318407[_0x15c075(0x2a0)]['data']};break;}case _0x3a14f4[_0x15c075(0x3dc)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x3dc)],'leaveEvent':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4['USERS_ENTER']:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0xc3)],'joinEvent':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x29b)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x29b)],'liveShareNewHost':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x44c)]:{_0x47fecc={'eventID':_0x3a14f4['LIVESHARE_OPERATION'],'liveShareOperation':_0x318407['data'][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x2ef)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x2ef)],'liveShareTerminate':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0xba)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0xba)],'liveShareRequestHost':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x2a0)]};break;}case _0x3a14f4[_0x15c075(0x177)]:{_0x47fecc={'eventID':_0x3a14f4[_0x15c075(0x177)]};break;}default:_0x47fecc={'eventID':_0x318407[_0x15c075(0x2a0)][_0x15c075(0x28b)]};}return JSON[_0x15c075(0x11e)]({'cmd':_0x318407[_0x15c075(0x32d)],'routeKey':_0x318407[_0x15c075(0x15f)],'collaMsg':_0x47fecc});}case W[_0x15c075(0xea)]:return JSON[_0x15c075(0x11e)]({'cmd':_0x318407[_0x15c075(0x32d)],'routeKey':_0x318407[_0x15c075(0x15f)],'joinReq':_0x318407['data']});case W[_0x15c075(0x387)]:return JSON['stringify']({'cmd':_0x318407[_0x15c075(0x32d)],'routeKey':_0x318407[_0x15c075(0x15f)],'leaveReq':_0x318407['data']});default:throw new Error(_0x15c075(0x380));}}var Fn=Object[_0x2025fc(0x385)],Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x3d4c12,_0x1b82d5,_0x452e89,_0x35e945)=>{for(var _0x320321=_0x35e945>0x1?void 0x0:_0x35e945?Vn(_0x1b82d5,_0x452e89):_0x1b82d5,_0xba9b2e=_0x3d4c12['length']-0x1,_0x3d85ad;_0xba9b2e>=0x0;_0xba9b2e--)(_0x3d85ad=_0x3d4c12[_0xba9b2e])&&(_0x320321=(_0x35e945?_0x3d85ad(_0x1b82d5,_0x452e89,_0x320321):_0x3d85ad(_0x320321))||_0x320321);return _0x35e945&&_0x320321&&Fn(_0x1b82d5,_0x452e89,_0x320321),_0x320321;},ze=(_0x4af1c2,_0x57c8b4)=>(_0x440e65,_0x27238c)=>_0x57c8b4(_0x440e65,_0x27238c,_0x4af1c2);const Gi=_0x30094b(_0x2025fc(0xec));function Yn(_0x24df20,_0x1ec02f,_0x3ba80d){const _0x29d9da=_0x2025fc;return _0x24df20+'/'+_0x1ec02f+_0x29d9da(0x332)+_0x3ba80d+_0x29d9da(0x275);}let cs=class extends _0x24229e{constructor(_0x4c269f,_0x5158a7,_0x4cb00c,_0x49c0b0,_0x4be3c3){const _0x3c101e=_0x2025fc;super(),this[_0x3c101e(0xe3)]=_0x4c269f,this[_0x3c101e(0x123)]=_0x5158a7,this[_0x3c101e(0xb4)]=_0x4cb00c,this[_0x3c101e(0xc1)]=_0x49c0b0,this[_0x3c101e(0x144)]=_0x4be3c3;}['createSocket'](_0x431bc9){const _0x49b787=_0x2025fc,_0x493043=this[_0x49b787(0x123)][_0x49b787(0x164)](_0x431bc9);if(!_0x493043)throw new Error(_0x49b787(0x3f9));const _0x33f243=new _0x55a86c(),_0xa0d392=new _0x1c0b9c();_0x33f243['add'](_0x493043['close$']['subscribe'](_0x2d5848=>_0xa0d392[_0x49b787(0x382)](_0x2d5848))),_0x33f243[_0x49b787(0x4b0)](_0x7c72c3(()=>_0xa0d392[_0x49b787(0x3c5)]()));const _0x45820f=new _0x1c0b9c();_0x33f243['add'](_0x493043[_0x49b787(0x19a)]['subscribe'](_0x4be68c=>_0x45820f[_0x49b787(0x382)](_0x4be68c))),_0x33f243[_0x49b787(0x4b0)](_0x7c72c3(()=>_0x45820f['complete']()));const _0x1d5efd=new _0x1c0b9c();_0x33f243[_0x49b787(0x4b0)](_0x493043[_0x49b787(0x400)]['subscribe'](_0x15a905=>{const _0x32372b=kn(_0x15a905);_0x1d5efd['next'](_0x32372b);})),_0x33f243[_0x49b787(0x4b0)](_0x7c72c3(()=>_0x1d5efd[_0x49b787(0x3c5)]()));let _0x2b5dd8;const _0x265475=()=>{const _0x51d609=_0x49b787;_0x45820f[_0x51d609(0x382)](new Event(_0x51d609(0x163))),_0xa0d392[_0x51d609(0x382)](new CloseEvent(_0x51d609(0x163))),_0x2b5dd8[_0x51d609(0x206)]();};return _0x2b5dd8={'memberID':'','close$':_0xa0d392[_0x49b787(0xf7)](),'error$':_0x45820f[_0x49b787(0xf7)](),'open$':_0x493043[_0x49b787(0x46d)],'message$':_0x1d5efd['asObservable'](),'send':_0x4df455=>{const _0x3628d1=_0x49b787;if(_0x4df455[_0x3628d1(0x32d)]===W[_0x3628d1(0x365)]){if(_0x4df455[_0x3628d1(0x2a0)][_0x3628d1(0x28b)]===_0x3a14f4[_0x3628d1(0x1ae)]){this[_0x3628d1(0x13a)](_0x2b5dd8,_0x4df455[_0x3628d1(0x2a0)])[_0x3628d1(0x1c4)](_0x1088d0=>{const _0x113d68=_0x3628d1;this['_logService'][_0x113d68(0x279)](_0x1088d0),_0x265475();});return;}if(_0x4df455[_0x3628d1(0x2a0)][_0x3628d1(0x28b)]===_0x3a14f4[_0x3628d1(0x37c)]){const _0x558e34=_0x4df455[_0x3628d1(0x2a0)];this[_0x3628d1(0x1a8)](_0x558e34)[_0x3628d1(0x1c0)](_0x7e576e=>{const _0x456f9c=_0x3628d1;_0x1d5efd[_0x456f9c(0x382)]({'cmd':W[_0x456f9c(0x247)],'code':Pe['OK'],'routeKey':_0x558e34[_0x456f9c(0x2a0)][_0x456f9c(0x2bf)],'routeType':'','data':{'eventID':_0x3a14f4['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x7e576e}}});})[_0x3628d1(0x1c4)](_0x488153=>{const _0x3871af=_0x3628d1;this['_logService'][_0x3871af(0x279)](_0x488153),_0x265475();});return;}}_0x493043[_0x3628d1(0xc9)](Wn(_0x4df455));},'close':()=>{const _0x534aee=_0x49b787;_0x493043[_0x534aee(0x206)](),_0x33f243['dispose']();}},_0x2b5dd8;}async[_0x2025fc(0x13a)](_0xdea43a,_0x53c9c8){const _0x6657d3=_0x2025fc;var _0x52890b,_0x23d203;const {unitType:_0x57e18b,unitID:_0x5c74d7,changeset:_0x2d229b}=_0x53c9c8['data'],_0x4790ae={'unitID':_0x5c74d7,'memberID':_0xdea43a[_0x6657d3(0x471)],'type':_0x57e18b,'changeset':_0x100c80(_0x2d229b)},_0x505c10=this[_0x6657d3(0xb4)][_0x6657d3(0x217)](Ln),_0x4ceb44=this[_0x6657d3(0xb4)][_0x6657d3(0x217)](Q),_0x22c382=Yn((_0x23d203=(_0x52890b=_0x4ceb44==null?void 0x0:_0x4ceb44['collabSubmitChangesetUrl'])!=null?_0x52890b:_0x505c10)!=null?_0x23d203:$n,_0x57e18b,_0x5c74d7);try{await this[_0x6657d3(0xe3)][_0x6657d3(0x17b)](_0x22c382,{'body':_0x4790ae});}catch(_0x111663){throw this[_0x6657d3(0xc1)][_0x6657d3(0x279)](_0x6657d3(0x3c1),'submit\x20changeset\x20error!'),_0x111663;}}async[_0x2025fc(0x1a8)](_0x65b829){const _0x21e4fa=_0x2025fc,{unitID:_0x404dcc,from:_0x3850e7,to:_0x23f3cf,unitType:_0x565536}=_0x65b829['data'];return(await this[_0x21e4fa(0x144)][_0x21e4fa(0x436)]({'metadata':void 0x0},{'unitID':_0x404dcc,'type':_0x565536,'from':_0x3850e7,'to':_0x23f3cf}))['changesets'];}};cs=Gn([ze(0x0,_0x5847bf(_0x310387)),ze(0x1,_0x5847bf(_0x1293ea)),ze(0x2,_0x4df844),ze(0x3,_0x49d195),ze(0x4,_0xbd688)],cs);const Kn='collaboration_new_changeset';function qn(_0x5a916a){const _0x215047=_0x2025fc;return JSON['stringify'](_0x5a916a)[_0x215047(0x161)];}class Yi{constructor(){const _0x18ae8a=_0x2025fc;g(this,_0x18ae8a(0x2b3),new _0x1c0b9c()),g(this,_0x18ae8a(0x3d3),this[_0x18ae8a(0x2b3)][_0x18ae8a(0xf7)]());}[_0x2025fc(0x158)](_0x47b2ba){const _0x56e546=_0x2025fc;this[_0x56e546(0x2b3)][_0x56e546(0x382)](_0x47b2ba);}}var zn=Object[_0x2025fc(0x385)],Xn=Object[_0x2025fc(0x18c)],Jn=(_0x396e50,_0x2ad5c6,_0x3a1077,_0x4e5370)=>{const _0xb4e1be=_0x2025fc;for(var _0x28d2f2=_0x4e5370>0x1?void 0x0:_0x4e5370?Xn(_0x2ad5c6,_0x3a1077):_0x2ad5c6,_0x3a3c4f=_0x396e50[_0xb4e1be(0x161)]-0x1,_0xcfd366;_0x3a3c4f>=0x0;_0x3a3c4f--)(_0xcfd366=_0x396e50[_0x3a3c4f])&&(_0x28d2f2=(_0x4e5370?_0xcfd366(_0x2ad5c6,_0x3a1077,_0x28d2f2):_0xcfd366(_0x28d2f2))||_0x28d2f2);return _0x4e5370&&_0x28d2f2&&zn(_0x2ad5c6,_0x3a1077,_0x28d2f2),_0x28d2f2;},Ks=(_0x5bd51f,_0x49c88a)=>(_0x3cdf49,_0x50ebac)=>_0x49c88a(_0x3cdf49,_0x50ebac,_0x5bd51f);let Me=class extends _0x24229e{constructor(_0x179ef,_0x1dbc9a){const _0x31d74f=_0x2025fc;super(),g(this,_0x31d74f(0x3a7),new Map()),(this['_univerInstanceService']=_0x179ef,this[_0x31d74f(0xb6)]=_0x1dbc9a,this[_0x31d74f(0x10c)](_0x7c72c3(_0x38a986(this[_0x31d74f(0x3cf)][_0x31d74f(0x2f2)](_0xb166dc[_0x31d74f(0x4a6)])[_0x31d74f(0x150)](_0xb11c2f(_0x3c78d1=>_0x3c78d1['getUnitId']())),this[_0x31d74f(0x3cf)][_0x31d74f(0x2f2)](_0xb166dc[_0x31d74f(0x3ad)])[_0x31d74f(0x150)](_0xb11c2f(_0x1ff6b6=>_0x1ff6b6[_0x31d74f(0x10b)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xb166dc['UNIVER_SLIDE'])[_0x31d74f(0x150)](_0xb11c2f(_0x2380ce=>_0x2380ce['getUnitId']())))[_0x31d74f(0x140)](_0x20c82c=>this[_0x31d74f(0xbc)](_0x20c82c)))));}[_0x2025fc(0x38f)](_0x2a8539){const _0x2739e2=_0x2025fc;this['_userManagerService'][_0x2739e2(0x38f)](_0x2a8539);}[_0x2025fc(0x14b)](){const _0x224124=_0x2025fc;return this[_0x224124(0xb6)][_0x224124(0x14b)]();}['updateMember'](_0x363a14,_0x350d78){const _0x553c88=_0x2025fc;let _0x17be7e=this[_0x553c88(0x3a7)][_0x553c88(0x33e)](_0x363a14);_0x17be7e||(_0x17be7e=new Zn(),this[_0x553c88(0x3a7)][_0x553c88(0x39c)](_0x363a14,_0x17be7e)),_0x17be7e[_0x553c88(0x24d)](_0x350d78);}[_0x2025fc(0xd7)](_0x3f5d56,_0x2597bf){const _0x5d5cf7=_0x2025fc,_0x232ce5=this[_0x5d5cf7(0x3a7)][_0x5d5cf7(0x33e)](_0x3f5d56);_0x232ce5&&_0x232ce5[_0x5d5cf7(0xd7)](_0x2597bf);}[_0x2025fc(0x14c)](_0x338f4c){const _0xab16d9=_0x2025fc;return this[_0xab16d9(0x3a7)][_0xab16d9(0x33e)](_0x338f4c);}['getMember'](_0x5b74a3,_0x1da905){const _0x285be6=_0x2025fc,_0x2265d0=this['_roomMembers'][_0x285be6(0x33e)](_0x5b74a3);if(_0x2265d0)return _0x2265d0[_0x285be6(0x419)](_0x1da905);}[_0x2025fc(0xbc)](_0x3354cc){const _0x261949=_0x2025fc,_0xdb58aa=this[_0x261949(0x3a7)][_0x261949(0x33e)](_0x3354cc);_0xdb58aa&&(_0xdb58aa[_0x261949(0x1e5)](),this['_roomMembers'][_0x261949(0x165)](_0x3354cc));}[_0x2025fc(0x1e5)](){const _0x1f061e=_0x2025fc;this['_roomMembers']['forEach'](_0x270894=>_0x270894['dispose']()),this[_0x1f061e(0x3a7)][_0x1f061e(0x116)]();}};Me=Jn([Ks(0x0,_0x425cee),Ks(0x1,_0x5847bf(_0x1fb10d))],Me);class Zn extends _0x24229e{constructor(){const _0x1a644e=_0x2025fc;super(...arguments),g(this,_0x1a644e(0x3df),new Map());}['dispose'](){const _0x2129a3=_0x2025fc;this[_0x2129a3(0x3df)][_0x2129a3(0x116)]();}[_0x2025fc(0x24d)](_0x251cf0){const _0xfc3b1c=_0x2025fc;this[_0xfc3b1c(0x3df)]['set'](_0x251cf0[_0xfc3b1c(0x471)],_0x251cf0);}[_0x2025fc(0xd7)](_0x121c4b){const _0x3cf8b6=_0x2025fc;this[_0x3cf8b6(0x3df)]['delete'](_0x121c4b);}['getMember'](_0x3ee787){const _0x3995e1=_0x2025fc;return this[_0x3995e1(0x3df)][_0x3995e1(0x33e)](_0x3ee787);}[_0x2025fc(0xce)](){const _0x3918f4=_0x2025fc;return Array['from'](this[_0x3918f4(0x3df)][_0x3918f4(0x3ed)]());}}var Qn=Object[_0x2025fc(0x385)],eo=Object['getOwnPropertyDescriptor'],to=(_0x3f02e5,_0x3f0bf3,_0xa56b7c,_0x3bd5f7)=>{const _0x4df583=_0x2025fc;for(var _0x1e6824=_0x3bd5f7>0x1?void 0x0:_0x3bd5f7?eo(_0x3f0bf3,_0xa56b7c):_0x3f0bf3,_0x477427=_0x3f02e5[_0x4df583(0x161)]-0x1,_0x359b97;_0x477427>=0x0;_0x477427--)(_0x359b97=_0x3f02e5[_0x477427])&&(_0x1e6824=(_0x3bd5f7?_0x359b97(_0x3f0bf3,_0xa56b7c,_0x1e6824):_0x359b97(_0x1e6824))||_0x1e6824);return _0x3bd5f7&&_0x1e6824&&Qn(_0x3f0bf3,_0xa56b7c,_0x1e6824),_0x1e6824;},Ee=(_0x3b1967,_0x58e993)=>(_0x2bb12f,_0x1fea69)=>_0x58e993(_0x2bb12f,_0x1fea69,_0x3b1967),fe=(_0x1514de=>(_0x1514de[_0x1514de[_0x2025fc(0x388)]=0x0]=_0x2025fc(0x388),_0x1514de[_0x1514de[_0x2025fc(0x349)]=0x1]=_0x2025fc(0x349),_0x1514de[_0x1514de[_0x2025fc(0x23c)]=0x2]=_0x2025fc(0x23c),_0x1514de[_0x1514de[_0x2025fc(0xad)]=0x3]=_0x2025fc(0xad),_0x1514de))(fe||{});const qs={[Pe[_0x2025fc(0x1d5)]]:_0x2025fc(0x3d9),[Pe['JOIN_ROOM_FULL']]:'session.room-full',[Pe[_0x2025fc(0x41e)]]:'session.room-not-exists',[Pe[_0x2025fc(0x2f3)]]:_0x2025fc(0x3d1),[Pe[_0x2025fc(0x267)]]:_0x2025fc(0xaf)};let hs=class extends _0x5ec0cb{constructor(_0x24eaa1,_0x3a6760,_0xaf61ea,_0x4fe672,_0x335b68,_0x2646a3,_0x589ad2,_0x8d1ff9,_0x3b920d,_0x3c512d){const _0x2acde2=_0x2025fc;super(),g(this,_0x2acde2(0x2f1),new _0x1074c2(0x0)),g(this,_0x2acde2(0x1ff),this['_sessionStatus$'][_0x2acde2(0xf7)]()),g(this,_0x2acde2(0x304),new _0x1c0b9c()),g(this,_0x2acde2(0x142),this[_0x2acde2(0x304)][_0x2acde2(0xf7)]()),g(this,_0x2acde2(0x212)),g(this,_0x2acde2(0x47f)),g(this,'_collaborationTimeoutTimer'),g(this,'_shouldReportTelemetry',!0x1),g(this,_0x2acde2(0x2e5),null),(this['_unitID']=_0x24eaa1,this['_logService']=_0xaf61ea,this['_beforeCloseService']=_0x4fe672,this[_0x2acde2(0x362)]=_0x335b68,this[_0x2acde2(0xb4)]=_0x2646a3,this[_0x2acde2(0x3a9)]=_0x589ad2,this[_0x2acde2(0x31c)]=_0x8d1ff9,this['_commentService']=_0x3b920d,this[_0x2acde2(0x311)]=_0x3c512d,this['_shouldReportTelemetry']=!!this[_0x2acde2(0x311)],_0x3a6760[_0x2acde2(0x150)](_0x7b6507(this[_0x2acde2(0x345)]))[_0x2acde2(0x140)](_0x597266=>{const _0x18c99e=_0x2acde2;var _0x2e9286;typeof _0x597266>'u'||(this[_0x18c99e(0x212)]=_0x597266,_0x597266?(this['_joinRoom'](_0x597266),this[_0x18c99e(0x47f)]=_0x597266[_0x18c99e(0x400)][_0x18c99e(0x140)](_0x46a9db=>{const _0x13598d=_0x18c99e;_0x46a9db[_0x13598d(0x15f)]===this[_0x13598d(0x41c)]&&this[_0x13598d(0x3ea)](_0x46a9db);})):(this[_0x18c99e(0x264)](),this[_0x18c99e(0x2f1)]['next'](0x2),(_0x2e9286=this[_0x18c99e(0x47f)])==null||_0x2e9286[_0x18c99e(0x2dd)](),this[_0x18c99e(0x47f)]=null));}),this[_0x2acde2(0x10c)](this[_0x2acde2(0x181)][_0x2acde2(0x2db)](()=>{const _0x1fb1c7=_0x2acde2;var _0x3f519a;(_0x3f519a=this[_0x1fb1c7(0x212)])==null||_0x3f519a[_0x1fb1c7(0xc9)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x1fb1c7(0x41c)]}});})));}get['sessionStatus'](){const _0x3ebdb1=_0x2025fc;return this['_sessionStatus$'][_0x3ebdb1(0x42a)]();}[_0x2025fc(0x316)](){const _0x47b228=_0x2025fc;var _0x43fddf,_0xa68226;return(_0xa68226=(_0x43fddf=this['_socket'])==null?void 0x0:_0x43fddf[_0x47b228(0x471)])!=null?_0xa68226:null;}[_0x2025fc(0x1e5)](){const _0xa59c91=_0x2025fc;super[_0xa59c91(0x1e5)](),this[_0xa59c91(0x345)][_0xa59c91(0x382)](),this[_0xa59c91(0x345)][_0xa59c91(0x3c5)]();}['close'](){const _0x20a233=_0x2025fc;var _0x3b8f46,_0x5157c6;this[_0x20a233(0x264)](),(_0x3b8f46=this[_0x20a233(0x212)])==null||_0x3b8f46[_0x20a233(0xc9)]({'cmd':W[_0x20a233(0x387)],'data':{'roomID':this[_0x20a233(0x41c)]}}),(_0x5157c6=this['_socket'])==null||_0x5157c6[_0x20a233(0x206)](),this[_0x20a233(0x304)][_0x20a233(0x3c5)](),this['_sessionStatus$']['complete'](),this[_0x20a233(0x1e5)]();}['_onCombEvent'](_0x514244){const _0x16d652=_0x2025fc;_0x514244[_0x16d652(0x32d)]===W[_0x16d652(0xea)]?this[_0x16d652(0x168)](_0x514244):_0x514244['cmd']===W[_0x16d652(0x247)]&&this[_0x16d652(0x1d4)](_0x514244);}['_joinRoom'](_0x40d30e){const _0x390c93=_0x2025fc;this[_0x390c93(0x2f1)][_0x390c93(0x382)](0x1),_0x40d30e[_0x390c93(0xc9)]({'cmd':W[_0x390c93(0xea)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x390c93(0x41c)]}]}});}[_0x2025fc(0x168)](_0x17c369){const _0x1e69d2=_0x2025fc;var _0x1493a9;if(_0x17c369[_0x1e69d2(0x179)]in qs){this['_messageService'][_0x1e69d2(0x3c2)]({'type':_0x3f6750['Warning'],'content':this['_localeService']['t'](qs[_0x17c369[_0x1e69d2(0x179)]])}),this[_0x1e69d2(0x2f1)][_0x1e69d2(0x382)](0x2);return;}this[_0x1e69d2(0x2f1)][_0x1e69d2(0x382)](0x3);const _0x2a8cab=(_0x1493a9=_0x17c369[_0x1e69d2(0x2a0)]['roomInfos'][this[_0x1e69d2(0x41c)]])==null?void 0x0:_0x1493a9[_0x1e69d2(0x3de)];_0x2a8cab&&_0x2a8cab[_0x1e69d2(0x2e1)](_0x56f60a=>this['_memberService'][_0x1e69d2(0x24d)](this[_0x1e69d2(0x41c)],_0x56f60a));}[_0x2025fc(0x1d4)](_0x133a08){const _0x4c940a=_0x2025fc;try{const _0x5bcadd=_0x133a08['data'];switch(_0x5bcadd['eventID']){case _0x3a14f4[_0x4c940a(0xc3)]:this['_onUserJoin'](_0x5bcadd),this[_0x4c940a(0x304)][_0x4c940a(0x382)](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x3dc)]:this[_0x4c940a(0x3e0)](_0x5bcadd),this['_event$'][_0x4c940a(0x382)](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x3d7)]:case _0x3a14f4[_0x4c940a(0x32f)]:this[_0x4c940a(0xa6)](),this[_0x4c940a(0x346)](),this[_0x4c940a(0x304)][_0x4c940a(0x382)](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x1f3)]:this[_0x4c940a(0xc1)][_0x4c940a(0x279)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x4c940a(0x11e)](_0x5bcadd)),this[_0x4c940a(0x304)]['next'](_0x5bcadd);break;case _0x3a14f4[_0x4c940a(0x2b6)]:this[_0x4c940a(0x25d)][_0x4c940a(0x158)](_0x5bcadd[_0x4c940a(0x2a0)]),this[_0x4c940a(0x304)]['next'](_0x5bcadd);break;default:this[_0x4c940a(0x304)][_0x4c940a(0x382)](_0x5bcadd);}}catch(_0x42dc46){this[_0x4c940a(0xc1)]['error'](_0x42dc46,_0x133a08);}}[_0x2025fc(0x4b4)](_0x8ac805){const _0x3aa7e2=_0x2025fc;this[_0x3aa7e2(0x31c)][_0x3aa7e2(0x24d)](this[_0x3aa7e2(0x41c)],_0x8ac805['data']);}['_onUserLeave'](_0x5aa94a){const _0x3fb9a0=_0x2025fc;this['_memberService'][_0x3fb9a0(0xd7)](this['_unitID'],_0x5aa94a[_0x3fb9a0(0x2a0)]['memberID']);}async[_0x2025fc(0xc9)](_0x4dff1d,_0x57d413){const _0x1ca43e=_0x2025fc;if(this[_0x1ca43e(0x27c)]!==0x3||!this[_0x1ca43e(0x212)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x4dff1d['eventID']===_0x3a14f4[_0x1ca43e(0x1ae)]&&(this[_0x1ca43e(0x315)](),this['_startTelemetryCollaborationNewChangeset'](_0x4dff1d)),this['_socket'][_0x1ca43e(0xc9)]({'cmd':W[_0x1ca43e(0x365)],'routeKey':_0x57d413,'routeType':'','data':_0x4dff1d});}catch(_0x2a2e75){this[_0x1ca43e(0xc1)][_0x1ca43e(0x279)](_0x2a2e75);}}[_0x2025fc(0x315)](){const _0x1c1b23=_0x2025fc;var _0x1dc86a;this[_0x1c1b23(0x350)]=window[_0x1c1b23(0x16d)](()=>{const _0x4df287=_0x1c1b23;this[_0x4df287(0x350)]=null,this[_0x4df287(0x362)][_0x4df287(0x3c2)]({'type':_0x3f6750[_0x4df287(0x2ee)],'content':this['_localeService']['t']('session.collaboration-timeout')});},(_0x1dc86a=this[_0x1c1b23(0xb4)][_0x1c1b23(0x217)](ki))!=null?_0x1dc86a:Wi);}[_0x2025fc(0x346)](){const _0x548983=_0x2025fc;this[_0x548983(0x350)]&&(clearTimeout(this[_0x548983(0x350)]),this[_0x548983(0x350)]=null);}[_0x2025fc(0x33b)](_0x500503){const _0x1aa4fc=_0x2025fc;if(!this[_0x1aa4fc(0x47a)])return;const {data:_0x107dda}=_0x500503,{unitID:_0x4e8620,changeset:_0x4d5cb0}=_0x107dda,{mutations:_0x57006e,type:_0x4a22b4}=_0x4d5cb0;this[_0x1aa4fc(0x2e5)]={'unitId':_0x4e8620,'type':_0x4a22b4,'startTime':performance[_0x1aa4fc(0x1d9)](),'stopTime':0x0,'duration':0x0,'size':qn(_0x57006e)};}[_0x2025fc(0xa6)](){const _0x46ef89=_0x2025fc;if(this[_0x46ef89(0x47a)]){if(!this['_telemetryInfo']){this[_0x46ef89(0xc1)]['error'](_0x46ef89(0x3c1),_0x46ef89(0x2a1));return;}this[_0x46ef89(0x2e5)][_0x46ef89(0x276)]=performance['now'](),this[_0x46ef89(0x2e5)]['duration']=this[_0x46ef89(0x2e5)]['stopTime']-this['_telemetryInfo'][_0x46ef89(0xcc)],this[_0x46ef89(0x311)][_0x46ef89(0x23b)](Kn,this['_telemetryInfo']),this[_0x46ef89(0x2e5)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x28deba=_0x2025fc;this[_0x28deba(0x2e5)]=null;}};hs=to([Ee(0x2,_0x49d195),Ee(0x3,_0x176b35),Ee(0x4,_0x3d017a),Ee(0x5,_0x4df844),Ee(0x6,_0x5847bf(_0x4b4756)),Ee(0x7,_0x5847bf(Me)),Ee(0x8,_0x5847bf(Yi)),Ee(0x9,_0x133fb4(_0xeb3a8b))],hs);var so=Object[_0x2025fc(0x385)],io=Object[_0x2025fc(0x18c)],ro=(_0x5916e1,_0x4de38e,_0x209a61,_0x19fdc4)=>{const _0x50e291=_0x2025fc;for(var _0xb6abfd=_0x19fdc4>0x1?void 0x0:_0x19fdc4?io(_0x4de38e,_0x209a61):_0x4de38e,_0x1f0249=_0x5916e1[_0x50e291(0x161)]-0x1,_0x560e8b;_0x1f0249>=0x0;_0x1f0249--)(_0x560e8b=_0x5916e1[_0x1f0249])&&(_0xb6abfd=(_0x19fdc4?_0x560e8b(_0x4de38e,_0x209a61,_0xb6abfd):_0x560e8b(_0xb6abfd))||_0xb6abfd);return _0x19fdc4&&_0xb6abfd&&so(_0x4de38e,_0x209a61,_0xb6abfd),_0xb6abfd;},ye=(_0x362c7b,_0x224056)=>(_0x51bef1,_0xf378dc)=>_0x224056(_0x51bef1,_0xf378dc,_0x362c7b);let xe=class extends _0x24229e{constructor(_0x481561,_0x236f76,_0x4bd0c9,_0x502c05,_0x136454,_0x53f234,_0x3da87b){const _0x59c439=_0x2025fc;super(),g(this,_0x59c439(0x2b0),new _0x1074c2(void 0x0)),g(this,_0x59c439(0xb7),this[_0x59c439(0x2b0)][_0x59c439(0xf7)]()),g(this,_0x59c439(0x188),null),g(this,'_sessions',new Map()),g(this,_0x59c439(0x1ac),new _0x1074c2(fe['IDLE'])),g(this,_0x59c439(0x1cf),this[_0x59c439(0x1ac)][_0x59c439(0xf7)]()),g(this,'_socketReady',!0x1),g(this,_0x59c439(0x2e2)),g(this,_0x59c439(0x439),0x0),g(this,_0x59c439(0x2e0)),g(this,_0x59c439(0x4b3)),(this[_0x59c439(0x147)]=_0x481561,this['_localeService']=_0x236f76,this['_messageService']=_0x4bd0c9,this[_0x59c439(0xc1)]=_0x502c05,this[_0x59c439(0xb4)]=_0x136454,this['_socketService']=_0x53f234,this[_0x59c439(0x2d8)]=_0x3da87b,this['_initEventListeners']());}get[_0x2025fc(0x212)](){const _0x210756=_0x2025fc;return this[_0x210756(0x2b0)][_0x210756(0x42a)]();}[_0x2025fc(0x22b)](){const _0xf7b1ba=_0x2025fc;this[_0xf7b1ba(0xc6)](),this['_listenToOnlineEvent']();}[_0x2025fc(0x1e5)](){const _0x2937c2=_0x2025fc;super[_0x2937c2(0x1e5)](),this['_sessions'][_0x2937c2(0x2e1)](_0xe2a8dd=>_0xe2a8dd[_0x2937c2(0x1e5)]()),this[_0x2937c2(0x263)][_0x2937c2(0x116)](),this[_0x2937c2(0x1ac)]['complete']();}async[_0x2025fc(0x40d)](_0x447701){const _0xb85665=_0x2025fc;if(this[_0xb85665(0x263)][_0xb85665(0x24c)](_0x447701))return this[_0xb85665(0x263)][_0xb85665(0x33e)](_0x447701);this[_0xb85665(0x492)]();const _0x9e3976=this[_0xb85665(0x147)]['createInstance'](hs,_0x447701,this[_0xb85665(0x2b0)][_0xb85665(0xf7)]());return this[_0xb85665(0x263)][_0xb85665(0x39c)](_0x447701,_0x9e3976),_0x9e3976;}[_0x2025fc(0x416)](_0x2dc5ba){const _0x524af4=_0x2025fc;var _0x5201e0;const _0x157fa2=this['_sessions'][_0x524af4(0x33e)](_0x2dc5ba);_0x157fa2&&(this[_0x524af4(0x263)][_0x524af4(0x165)](_0x2dc5ba),_0x157fa2[_0x524af4(0x206)]()),this[_0x524af4(0x263)][_0x524af4(0x2ac)]||(_0x5201e0=this['_socket'])==null||_0x5201e0[_0x524af4(0x206)]();}[_0x2025fc(0x35e)](){const _0xe054dd=_0x2025fc;this[_0xe054dd(0x439)]=0x0,this[_0xe054dd(0x2e2)]!=null&&(clearTimeout(this[_0xe054dd(0x2e2)]),this['_retryConnectingTimer']=null),this[_0xe054dd(0x4ac)]();}async['_getSessionTicket'](){const _0x64a01b=_0x2025fc;var _0x36db72,_0x185766,_0x2d9241;const _0x43cbc5=this[_0x64a01b(0xb4)]['getConfig'](Q),_0x590007=(_0x36db72=_0x43cbc5==null?void 0x0:_0x43cbc5['wsSessionTicketUrl'])!=null?_0x36db72:wn;return(_0x2d9241=(_0x185766=(await this[_0x64a01b(0x2d8)]['get'](_0x590007,{'headers':{'Content-Type':_0x64a01b(0x473)}}))[_0x64a01b(0x41f)])==null?void 0x0:_0x185766[_0x64a01b(0x269)])!=null?_0x2d9241:'';}[_0x2025fc(0x408)](_0xd9d3aa){const _0x6b5cad=_0x2025fc;var _0x5bf115,_0x31b5cd;const _0x52e6f4=this[_0x6b5cad(0xb4)]['getConfig'](On),_0xc9b706=this[_0x6b5cad(0xb4)][_0x6b5cad(0x217)](Q),_0x3ae05f=(_0x31b5cd=(_0x5bf115=_0xc9b706==null?void 0x0:_0xc9b706[_0x6b5cad(0x3a4)])!=null?_0x5bf115:_0x52e6f4)!=null?_0x31b5cd:yn,_0x11cdef=new URL(_0x3ae05f,window[_0x6b5cad(0x16a)][_0x6b5cad(0x25c)]);return _0x11cdef[_0x6b5cad(0x3ec)][_0x6b5cad(0x39c)](_0x6b5cad(0x131),_0xd9d3aa),_0x11cdef[_0x6b5cad(0x135)]();}async[_0x2025fc(0x249)](){const _0x30bf7b=_0x2025fc,_0x323ee3=await this[_0x30bf7b(0x12f)](),_0x2c70eb=this['_createSocketURL'](_0x323ee3),_0x2b0af9=this[_0x30bf7b(0x30d)][_0x30bf7b(0x164)](_0x2c70eb);return this[_0x30bf7b(0x188)]=_0x2b0af9,_0x2b0af9;}async[_0x2025fc(0x492)](){const _0x535d3e=_0x2025fc;var _0xa232fe,_0x5b1a0b;try{const _0x2f9981=(_0x5b1a0b=(_0xa232fe=this[_0x535d3e(0x212)])!=null?_0xa232fe:this[_0x535d3e(0x188)])!=null?_0x5b1a0b:await this[_0x535d3e(0x249)]();if(_0x2f9981){const _0x12862c=_0x2f9981['send'];_0x2f9981[_0x535d3e(0xc9)]=_0x54c913=>(this[_0x535d3e(0x1cc)](),_0x12862c[_0x535d3e(0x38b)](_0x2f9981,[_0x54c913])),_0x2f9981[_0x535d3e(0x400)][_0x535d3e(0x140)](_0x51d9f1=>this['_onMessage'](_0x2f9981,_0x51d9f1)),_0x2f9981[_0x535d3e(0x19a)][_0x535d3e(0x150)](_0x1abfcf(0x1))['subscribe'](_0x395f34=>this[_0x535d3e(0xc1)][_0x535d3e(0x279)](_0x535d3e(0x414),_0x395f34)),_0x2f9981[_0x535d3e(0x46d)]['pipe'](_0x1abfcf(0x1))[_0x535d3e(0x140)](()=>{const _0x44dc80=_0x535d3e;this[_0x44dc80(0x22e)](_0x2f9981);}),_0x2f9981['close$'][_0x535d3e(0x150)](_0x1abfcf(0x1))[_0x535d3e(0x140)](_0x58ed03=>{const _0x33066c=_0x535d3e;this['_logService'][_0x33066c(0x456)](_0x33066c(0x29c),_0x33066c(0x28e),_0x58ed03),this[_0x33066c(0x105)]();});}}catch(_0xad8ef2){this['_logService'][_0x535d3e(0x279)](_0xad8ef2),this[_0x535d3e(0x105)]();}}[_0x2025fc(0x22e)](_0x1640b6){const _0x40a7f7=_0x2025fc;this[_0x40a7f7(0xc1)][_0x40a7f7(0x456)](_0x40a7f7(0x29c),_0x40a7f7(0x3e6)),_0x1640b6[_0x40a7f7(0xc9)]({'cmd':W['HELLO']}),this[_0x40a7f7(0x1cc)]();}[_0x2025fc(0xc6)](){const _0x231132=_0x2025fc;window[_0x231132(0x238)](_0x231132(0x13e),()=>this[_0x231132(0x149)]());}[_0x2025fc(0x149)](){const _0x567e23=_0x2025fc;this[_0x567e23(0x3ab)]=!0x1,this[_0x567e23(0x188)]=null,this[_0x567e23(0x1ac)][_0x567e23(0x382)](fe['OFFLINE']),this[_0x567e23(0x2b0)][_0x567e23(0x382)](null),this[_0x567e23(0x4a0)](),this[_0x567e23(0x3b6)]();}['_onConnectionFailed'](){const _0x527dd0=_0x2025fc;var _0x34e86a;this[_0x527dd0(0x149)](),this[_0x527dd0(0x439)]<((_0x34e86a=this[_0x527dd0(0xb4)][_0x527dd0(0x217)](Un))!=null?_0x34e86a:An)?(this[_0x527dd0(0x362)][_0x527dd0(0x3c2)]({'key':_0x527dd0(0x1a1),'type':_0x3f6750['Warning'],'content':this[_0x527dd0(0x3a9)]['t']('session.will-retry')}),this['_tryReconnect']()):this[_0x527dd0(0x362)]['show']({'key':_0x527dd0(0x1a1),'type':_0x3f6750[_0x527dd0(0x2ee)],'content':this[_0x527dd0(0x3a9)]['t'](_0x527dd0(0x185))});}[_0x2025fc(0x44b)](){const _0x172175=_0x2025fc,_0x3aae65=()=>{const _0x5b839b=_0x46d8;this[_0x5b839b(0x212)]||this[_0x5b839b(0x35e)]();},_0x4875d8=()=>{const _0x43b857=_0x46d8;this[_0x43b857(0x212)]||document[_0x43b857(0x417)]===_0x43b857(0x176)||this[_0x43b857(0x35e)]();};window[_0x172175(0x238)](_0x172175(0x219),_0x3aae65),document[_0x172175(0x238)](_0x172175(0x1b6),_0x4875d8);}[_0x2025fc(0x4ac)](){const _0x4fdf47=_0x2025fc;var _0x233137;const _0x3b1e15=this[_0x4fdf47(0x439)],_0x191805=this[_0x4fdf47(0xb4)][_0x4fdf47(0x217)](Q),_0x472246=_0x3b1e15===0x0?0x0:((_0x233137=_0x191805==null?void 0x0:_0x191805[_0x4fdf47(0x410)])!=null?_0x233137:Nn)*0x2**_0x3b1e15;this[_0x4fdf47(0x2e2)]=window[_0x4fdf47(0x16d)](()=>{const _0xaf3a20=_0x4fdf47;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0xaf3a20(0x492)]();},_0x472246),this[_0x4fdf47(0x439)]+=0x1;}[_0x2025fc(0x11b)](_0x3df48b,_0xf1561a){const _0x1feb97=_0x2025fc,{cmd:_0x259736}=_0xf1561a;_0x259736===W['HELLO']&&!this['_socketReady']&&(_0x3df48b[_0x1feb97(0x471)]=_0xf1561a[_0x1feb97(0x2a0)][_0x1feb97(0x471)],this[_0x1feb97(0x2b0)]['next'](_0x3df48b),this[_0x1feb97(0x1ac)][_0x1feb97(0x382)](fe[_0x1feb97(0xad)]),this[_0x1feb97(0x3ab)]=!0x0,this[_0x1feb97(0x188)]=null),_0x259736===W[_0x1feb97(0x4a5)]&&this['_clearTimeoutTimer'](),this[_0x1feb97(0x1cc)]();}['_rescheduleHeartbeat'](){const _0x1f489b=_0x2025fc;var _0x35780c;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=window[_0x1f489b(0x16d)](()=>this[_0x1f489b(0x204)](),(_0x35780c=this['_configService'][_0x1f489b(0x217)](Dn))!=null?_0x35780c:Pn);}[_0x2025fc(0x204)](){const _0x30b615=_0x2025fc;this[_0x30b615(0x212)][_0x30b615(0xc9)]({'cmd':W[_0x30b615(0x4a5)]}),this[_0x30b615(0x225)]();}[_0x2025fc(0x225)](){const _0x5bf09b=_0x2025fc;var _0x3eb902;this['_timeoutTimer']=window[_0x5bf09b(0x16d)](()=>this['_onConnectionFailed'](),(_0x3eb902=this[_0x5bf09b(0xb4)][_0x5bf09b(0x217)](ki))!=null?_0x3eb902:Wi);}[_0x2025fc(0x3b6)](){const _0x41e877=_0x2025fc;this[_0x41e877(0x2e0)]!=null&&(clearTimeout(this[_0x41e877(0x2e0)]),this[_0x41e877(0x2e0)]=null);}[_0x2025fc(0x4a0)](){const _0x1cdc37=_0x2025fc;this[_0x1cdc37(0x4b3)]!=null&&(clearTimeout(this[_0x1cdc37(0x4b3)]),this[_0x1cdc37(0x4b3)]=null);}};xe=ro([ye(0x0,_0x5847bf(_0x5d7671)),ye(0x1,_0x5847bf(_0x4b4756)),ye(0x2,_0x3d017a),ye(0x3,_0x49d195),ye(0x4,_0x4df844),ye(0x5,Gi),ye(0x6,_0x5847bf(_0x310387))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x2025fc(0x22f)]((i+0x100)[_0x2025fc(0x135)](0x10)['slice'](0x1));function no(_0x4854b1,_0x2ff98e=0x0){return(Y[_0x4854b1[_0x2ff98e+0x0]]+Y[_0x4854b1[_0x2ff98e+0x1]]+Y[_0x4854b1[_0x2ff98e+0x2]]+Y[_0x4854b1[_0x2ff98e+0x3]]+'-'+Y[_0x4854b1[_0x2ff98e+0x4]]+Y[_0x4854b1[_0x2ff98e+0x5]]+'-'+Y[_0x4854b1[_0x2ff98e+0x6]]+Y[_0x4854b1[_0x2ff98e+0x7]]+'-'+Y[_0x4854b1[_0x2ff98e+0x8]]+Y[_0x4854b1[_0x2ff98e+0x9]]+'-'+Y[_0x4854b1[_0x2ff98e+0xa]]+Y[_0x4854b1[_0x2ff98e+0xb]]+Y[_0x4854b1[_0x2ff98e+0xc]]+Y[_0x4854b1[_0x2ff98e+0xd]]+Y[_0x4854b1[_0x2ff98e+0xe]]+Y[_0x4854b1[_0x2ff98e+0xf]])['toLowerCase']();}let Gt;const oo=new Uint8Array(0x10);function ao(){const _0x50930a=_0x2025fc;if(!Gt){if(typeof crypto>'u'||!crypto[_0x50930a(0x286)])throw new Error(_0x50930a(0x12b));Gt=crypto[_0x50930a(0x286)][_0x50930a(0x2c1)](crypto);}return Gt(oo);}const co=typeof crypto<'u'&&crypto[_0x2025fc(0xf6)]&&crypto['randomUUID'][_0x2025fc(0x2c1)](crypto),zs={'randomUUID':co};function ho(_0x57d1b6,_0x18054e,_0x543c0b){const _0x713210=_0x2025fc;if(zs[_0x713210(0xf6)]&&!_0x18054e&&!_0x57d1b6)return zs['randomUUID']();_0x57d1b6=_0x57d1b6||{};const _0x11d262=_0x57d1b6['random']||(_0x57d1b6[_0x713210(0x354)]||ao)();return _0x11d262[0x6]=_0x11d262[0x6]&0xf|0x40,_0x11d262[0x8]=_0x11d262[0x8]&0x3f|0x80,no(_0x11d262);}var lo=Object['defineProperty'],_o=Object[_0x2025fc(0x18c)],uo=(_0x1782ff,_0x456255,_0x5543ba,_0x119be1)=>{const _0x2a1520=_0x2025fc;for(var _0x440ebe=_0x119be1>0x1?void 0x0:_0x119be1?_o(_0x456255,_0x5543ba):_0x456255,_0x5e7844=_0x1782ff[_0x2a1520(0x161)]-0x1,_0xd10ef0;_0x5e7844>=0x0;_0x5e7844--)(_0xd10ef0=_0x1782ff[_0x5e7844])&&(_0x440ebe=(_0x119be1?_0xd10ef0(_0x456255,_0x5543ba,_0x440ebe):_0xd10ef0(_0x440ebe))||_0x440ebe);return _0x119be1&&_0x440ebe&&lo(_0x456255,_0x5543ba,_0x440ebe),_0x440ebe;},Yt=(_0xb96441,_0x590e54)=>(_0x1544e8,_0x3ddead)=>_0x590e54(_0x1544e8,_0x3ddead,_0xb96441);let yt=class{constructor(_0x16bc13,_0x2c13d4,_0x339d22){const _0x409839=_0x2025fc;this['_injector']=_0x16bc13,this[_0x409839(0x128)]=_0x2c13d4,this[_0x409839(0x319)]=_0x339d22;}[_0x2025fc(0xcb)](_0x31d1d4){const _0xebe0f0=_0x2025fc;this[_0xebe0f0(0x2c7)](_0x31d1d4),this[_0xebe0f0(0x3a3)](_0x31d1d4);}[_0x2025fc(0x422)](_0x3b8e20){const _0x46e6a5=_0x2025fc,{unitID:_0x90b4ca}=_0x3b8e20,_0x4e6c5a=this[_0x46e6a5(0x319)][_0x46e6a5(0x266)](_0x90b4ca)[_0x46e6a5(0x1bc)](_0x5d51e1),{redoCache:_0x10eb4f}=_0x4e6c5a[_0x46e6a5(0x209)]();if(_0x10eb4f['length']===0x0)return _0x3b8e20;let _0x33c064=_0x529634['deepClone'](_0x3b8e20['mutations'][0x0]);for(let _0xdbfd1d=0x0;_0xdbfd1d<_0x10eb4f[_0x46e6a5(0x161)];_0xdbfd1d++){const _0x52b55b={'id':_0x46e6a5(0x495),'params':{..._0x10eb4f[_0xdbfd1d]}},_0x4381ac=this[_0x46e6a5(0x128)]['transformMutation'](_0x33c064,_0x52b55b,!0x1);if(_0x3e27e9(_0x4381ac))throw _0x4381ac[_0x46e6a5(0x279)];_0x33c064=_0x4381ac[_0x46e6a5(0x44f)];}return{..._0x529634[_0x46e6a5(0x2ad)](_0x3b8e20),'mutations':[_0x33c064]};}[_0x2025fc(0x2c7)](_0x4793b9){const _0xf955af=_0x2025fc,{unitID:_0x9f1d5}=_0x4793b9,_0xc25981=this[_0xf955af(0x319)][_0xf955af(0x266)](_0x9f1d5)[_0xf955af(0x1bc)](_0x5d51e1),{undoCache:_0x124ac2,redoCache:_0x21a332}=_0xc25981[_0xf955af(0x209)]();if(_0x124ac2[_0xf955af(0x161)]===0x0||_0x21a332[_0xf955af(0x161)]===0x0)return;const _0x3761c5=[],_0x2e62ae=[];let _0xeb95f7=_0x529634['deepClone'](_0x4793b9['mutations'][0x0]),_0x1f665e=_0x529634[_0xf955af(0x2ad)](_0x4793b9['mutations'][0x0]);for(let _0x54644b=_0x124ac2[_0xf955af(0x161)]-0x1;_0x54644b>=0x0;_0x54644b--){const _0x313a29={'id':_0xf955af(0x495),'params':{..._0x124ac2[_0x54644b]}},_0x55bdea={'id':_0xf955af(0x495),'params':{..._0x21a332[_0x54644b]}},_0x49fe53=this[_0xf955af(0x128)]['transformMutation'](_0xeb95f7,_0x313a29,!0x1),_0x2e28e2=this['_transformService']['transformMutation'](_0x1f665e,_0x55bdea,!0x1);if(_0x3e27e9(_0x49fe53))throw _0x49fe53['error'];if(_0x3e27e9(_0x2e28e2))throw _0x2e28e2[_0xf955af(0x279)];_0x3761c5[_0xf955af(0x3bd)](_0x49fe53['m2Prime']['params']),_0x2e62ae['unshift'](_0x2e28e2[_0xf955af(0x270)][_0xf955af(0x3a0)]),_0xeb95f7=_0x49fe53[_0xf955af(0x44f)],_0x1f665e=_0x2e28e2[_0xf955af(0x44f)];}_0xc25981[_0xf955af(0x21d)]({'undoCache':_0x3761c5,'redoCache':_0x2e62ae});}[_0x2025fc(0x3a3)](_0x521678){const _0x1b16c7=_0x2025fc,{unitID:_0x358cc9}=_0x521678,_0x5d40ea=this[_0x1b16c7(0x319)][_0x1b16c7(0x266)](_0x358cc9)[_0x1b16c7(0x1bc)](_0x5d51e1),_0x38da89=_0x5d40ea[_0x1b16c7(0x1c5)]();if(_0x38da89==null)return;const _0x161eda=[{'id':_0x1b16c7(0x495),'params':{'unitId':_0x521678[_0x1b16c7(0x2bf)],'actions':null,'textRanges':[_0x38da89]}}],_0x4f80a9=this[_0x1b16c7(0x128)][_0x1b16c7(0x39e)](_0x521678,_0x161eda);if(!_0x341c91(_0x4f80a9))throw _0x4f80a9[_0x1b16c7(0x279)];const _0x3871c1=_0x4f80a9['m2Prime'][0x0][_0x1b16c7(0x3a0)][_0x1b16c7(0x1b1)];Array[_0x1b16c7(0x287)](_0x3871c1)&&_0x3871c1['length']&&_0x5d40ea['setActiveRange'](_0x3871c1[0x0]);}};yt=uo([Yt(0x0,_0x5847bf(_0x5d7671)),Yt(0x1,_0x2fbfa5),Yt(0x2,_0x27432a)],yt);var fo=Object[_0x2025fc(0x385)],vo=Object[_0x2025fc(0x18c)],po=(_0x27c617,_0x399994,_0xe4972a,_0x6cdca7)=>{const _0x27a66f=_0x2025fc;for(var _0x3e4894=_0x6cdca7>0x1?void 0x0:_0x6cdca7?vo(_0x399994,_0xe4972a):_0x399994,_0x4d74d9=_0x27c617[_0x27a66f(0x161)]-0x1,_0x3f7f3b;_0x4d74d9>=0x0;_0x4d74d9--)(_0x3f7f3b=_0x27c617[_0x4d74d9])&&(_0x3e4894=(_0x6cdca7?_0x3f7f3b(_0x399994,_0xe4972a,_0x3e4894):_0x3f7f3b(_0x3e4894))||_0x3e4894);return _0x6cdca7&&_0x3e4894&&fo(_0x399994,_0xe4972a,_0x3e4894),_0x3e4894;},Xe=(_0x2b6a4b,_0x4550c8)=>(_0x484d97,_0x7072f)=>_0x4550c8(_0x484d97,_0x7072f,_0x2b6a4b);let z=class extends _0x24229e{constructor(_0x1c3334,_0x3f150d,_0x118910,_0x25d6fe,_0x5e7d4c){const _0x40ebd7=_0x2025fc;super(),g(this,_0x40ebd7(0x173),new Map()),g(this,_0x40ebd7(0x19b),new Map()),g(this,'_disabled',!0x1),(this[_0x40ebd7(0xb4)]=_0x1c3334,this[_0x40ebd7(0x207)]=_0x3f150d,this[_0x40ebd7(0x181)]=_0x118910,this[_0x40ebd7(0x3a9)]=_0x25d6fe,this[_0x40ebd7(0x1b0)]=_0x5e7d4c,this[_0x40ebd7(0x155)]());}['disableLocalCache'](){const _0x20fe13=_0x2025fc;this[_0x20fe13(0x2e4)]=!0x0;}['enableLocalCache'](){const _0x103913=_0x2025fc;this[_0x103913(0x2e4)]=!0x1;}[_0x2025fc(0x1e5)](){const _0x100d5a=_0x2025fc;this[_0x100d5a(0x3b1)]()[_0x100d5a(0x1c0)](()=>super[_0x100d5a(0x1e5)]());}async[_0x2025fc(0x3cc)](_0x488dff){const _0xa2c886=_0x2025fc;return this[_0xa2c886(0x2e4)]?null:this[_0xa2c886(0x207)]['getItem'](Xs(_0x488dff));}async[_0x2025fc(0x1d7)](_0x2b5348,_0x329493){const _0x4c5512=_0x2025fc;return!!this[_0x4c5512(0x207)][_0x4c5512(0x1aa)](_0x2b5348,_0x329493);}[_0x2025fc(0x291)](_0x4f5568,_0x18ac11,_0x36d67c,_0x48585a){const _0x36f9bb=_0x2025fc,_0x45ec47=this[_0x36f9bb(0x1b0)][_0x36f9bb(0x21f)](_0x4f5568);this[_0x36f9bb(0x173)][_0x36f9bb(0x39c)](_0x4f5568,{'unitID':_0x4f5568,'type':_0x18ac11,'awaitingChangeset':_0x36d67c,'mutations':_0x48585a,'rev':_0x45ec47}),this[_0x36f9bb(0x19b)]['has'](_0x4f5568)||this[_0x36f9bb(0x489)](_0x4f5568);}[_0x2025fc(0x489)](_0x143ac9){const _0x112c86=_0x2025fc,_0x22f68e=this['_getSaveTimeout']();_0x22f68e===0x0?this[_0x112c86(0x280)](_0x143ac9):this['_saveTaskMap'][_0x112c86(0x39c)](_0x143ac9,setTimeout(()=>this[_0x112c86(0x280)](_0x143ac9),_0x22f68e));}[_0x2025fc(0xa8)](){const _0x35ab0f=_0x2025fc;var _0x534a30;return(_0x534a30=this[_0x35ab0f(0xb4)][_0x35ab0f(0x217)](Mn))!=null?_0x534a30:xn;}[_0x2025fc(0x280)](_0x3ebb3c){const _0x21ee2b=_0x2025fc,_0x2f7325=this['_saveTaskMap'][_0x21ee2b(0x33e)](_0x3ebb3c);return _0x2f7325!==void 0x0&&window[_0x21ee2b(0x4b1)](_0x2f7325),this['_localStorageService'][_0x21ee2b(0x1aa)](Xs(_0x3ebb3c),this[_0x21ee2b(0x173)][_0x21ee2b(0x33e)](_0x3ebb3c))[_0x21ee2b(0x1c0)](()=>this['_saveTaskMap']['delete'](_0x3ebb3c));}async[_0x2025fc(0x3b1)](){const _0x599c50=_0x2025fc,_0x4ac8af=[];this['_saveTaskMap'][_0x599c50(0x2e1)]((_0x1248ea,_0x224d75)=>{const _0x5b36d6=_0x599c50;window['clearTimeout'](_0x1248ea),_0x4ac8af['push'](this[_0x5b36d6(0x280)](_0x224d75)['then'](()=>{const _0xced072=_0x5b36d6;this[_0xced072(0x19b)][_0xced072(0x165)](_0x224d75);}));}),await Promise[_0x599c50(0x395)](_0x4ac8af);}[_0x2025fc(0x155)](){const _0x3e7ee5=_0x2025fc;this[_0x3e7ee5(0x10c)](this[_0x3e7ee5(0x181)][_0x3e7ee5(0x2c8)](()=>{const _0x4ad78e=_0x3e7ee5;if(this[_0x4ad78e(0x19b)][_0x4ad78e(0x2ac)])return this[_0x4ad78e(0x3a9)]['t'](_0x4ad78e(0x475));}));}};z=po([Xe(0x0,_0x4df844),Xe(0x1,_0x5353b6),Xe(0x2,_0x176b35),Xe(0x3,_0x5847bf(_0x4b4756)),Xe(0x4,_0x5847bf(_0x389697))],z);function Xs(_0x325426){const _0x140626=_0x2025fc;return _0x140626(0x459)+_0x325426;}var mo=Object['defineProperty'],go=Object[_0x2025fc(0x18c)],So=(_0x3d99ec,_0x3e8fd8,_0x5c7693,_0x121c47)=>{const _0x1fe0a4=_0x2025fc;for(var _0x2b9a79=_0x121c47>0x1?void 0x0:_0x121c47?go(_0x3e8fd8,_0x5c7693):_0x3e8fd8,_0x84031a=_0x3d99ec[_0x1fe0a4(0x161)]-0x1,_0x255359;_0x84031a>=0x0;_0x84031a--)(_0x255359=_0x3d99ec[_0x84031a])&&(_0x2b9a79=(_0x121c47?_0x255359(_0x3e8fd8,_0x5c7693,_0x2b9a79):_0x255359(_0x2b9a79))||_0x2b9a79);return _0x121c47&&_0x2b9a79&&mo(_0x3e8fd8,_0x5c7693,_0x2b9a79),_0x2b9a79;},Kt=(_0x217f6b,_0x43c268)=>(_0x11e6cd,_0x180623)=>_0x43c268(_0x11e6cd,_0x180623,_0x217f6b);function Io(_0x3dfef6){const _0x32b9a4=_0x2025fc,{unitID:_0x1aaefe,mutations:_0x41e0c6}=_0x3dfef6;return{'unitId':_0x1aaefe,'subUnitId':_0x41e0c6[0x0]['params'][_0x32b9a4(0x457)]};}let wt=class{constructor(_0x144fc7,_0x49b6a3,_0x158d26){const _0x41bad9=_0x2025fc;this[_0x41bad9(0x147)]=_0x144fc7,this[_0x41bad9(0x128)]=_0x49b6a3,this[_0x41bad9(0xe8)]=_0x158d26;}[_0x2025fc(0x231)](_0x118312){const _0x1bae1c=_0x2025fc;var _0x146c4f,_0xdd4a90,_0x5c7bc3,_0x681f7e;const _0x2dc7da=this[_0x1bae1c(0x147)][_0x1bae1c(0x33e)](_0x2d0767),{unitId:_0x2923e7,subUnitId:_0x4e8252}=Io(_0x118312),_0xa38baa=_0x2dc7da['getWorkbookSelections'](_0x2923e7)[_0x1bae1c(0xef)](),_0x4c24c8=(_0xdd4a90=(_0x146c4f=this[_0x1bae1c(0xe8)][_0x1bae1c(0x1a6)](_0x2923e7))==null?void 0x0:_0x146c4f[_0x1bae1c(0x406)]())==null?void 0x0:_0xdd4a90[_0x1bae1c(0x369)]();if(_0xa38baa[_0x1bae1c(0x161)]===0x0||!_0x2923e7||!_0x4e8252)return;const _0x5ebae3=[{'id':_0x3295dc['id'],'params':{'unitId':_0x2923e7,'subUnitId':_0x4c24c8,'selections':_0x529634[_0x1bae1c(0x2ad)](_0xa38baa)}}],_0x2e4f26=this[_0x1bae1c(0x128)][_0x1bae1c(0x39e)](_0x118312,_0x5ebae3);if(!_0x341c91(_0x2e4f26))throw _0x2e4f26[_0x1bae1c(0x279)];const _0x1b85fc=(_0x681f7e=(_0x5c7bc3=_0x2e4f26[_0x1bae1c(0x270)][0x0])==null?void 0x0:_0x5c7bc3['params'])==null?void 0x0:_0x681f7e[_0x1bae1c(0x12e)];if(Array[_0x1bae1c(0x287)](_0x1b85fc)&&_0x1b85fc[_0x1bae1c(0x161)]){if(_0x1b85fc[_0x1bae1c(0x161)]===_0x5ebae3[0x0][_0x1bae1c(0x3a0)]['selections'][_0x1bae1c(0x161)]&&_0x1b85fc['every']((_0x35a642,_0x46e464)=>_0x1a8bad[_0x1bae1c(0x1c6)](_0x35a642[_0x1bae1c(0x200)],_0x5ebae3[0x0][_0x1bae1c(0x3a0)][_0x1bae1c(0x12e)][_0x46e464][_0x1bae1c(0x200)])))return;this[_0x1bae1c(0x147)][_0x1bae1c(0x33e)](_0x28287a)[_0x1bae1c(0x344)](_0x3295dc['id'],{'unitId':_0x2923e7,'subUnitId':_0x4c24c8,'selections':_0x1b85fc});}}};wt=So([Kt(0x0,_0x5847bf(_0x5d7671)),Kt(0x1,_0x2fbfa5),Kt(0x2,_0x425cee)],wt);const jt=_0x30094b('univer-pro.collaboration-client.single-active-unit-service');var Ki=(_0x303067=>(_0x303067[_0x303067[_0x2025fc(0x46b)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x303067[_0x303067['OTHER_CLIENTS_EDITING']=0x1]=_0x2025fc(0xaa),_0x303067))(Ki||{});const Js=0x7530,Zs=_0x2025fc(0x4bc);class Co extends _0x24229e{constructor(){const _0x5da5ff=_0x2025fc;super(),g(this,'_id',_0x529634[_0x5da5ff(0x210)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x5da5ff(0x34c),new Map()),g(this,_0x5da5ff(0x337),null),g(this,_0x5da5ff(0x461),new Map()),g(this,_0x5da5ff(0x49e),new Map()),this['_init']();}[_0x2025fc(0x1e5)](){const _0xe6abb2=_0x2025fc;super[_0xe6abb2(0x1e5)](),this['_clearOtherTimers'][_0xe6abb2(0x2e1)]((_0x2574cd,_0x4f9fd0)=>this[_0xe6abb2(0x444)](_0x4f9fd0)),this[_0xe6abb2(0x337)]&&window[_0xe6abb2(0x3fd)](this[_0xe6abb2(0x337)]);}[_0x2025fc(0x430)](_0x385651){const _0x56d530=_0x2025fc;return this[_0x56d530(0x4ae)](_0x385651)[_0x56d530(0x150)](_0x17cf14());}[_0x2025fc(0xf2)](_0x1f2616){const _0x179adb=_0x2025fc;this[_0x179adb(0x1b3)][_0x179adb(0x2ac)]===0x0&&this['_scheduleHeartbeat'](),this[_0x179adb(0x1b3)][_0x179adb(0x4b0)](_0x1f2616),this['_send']({'type':0x0,'memberID':this[_0x179adb(0x15a)],'unitIDs':[_0x1f2616],'isForwarded':!0x1});}['disposeUnit'](_0x24b177){const _0x12aede=_0x2025fc;this[_0x12aede(0x1b3)]['delete'](_0x24b177),this[_0x12aede(0x1b3)][_0x12aede(0x2ac)]===0x0&&this[_0x12aede(0x337)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2025fc(0x100)](){const _0x551115=_0x2025fc;this[_0x551115(0x10c)](_0x7c72c3(_0x6a336f(window,_0x551115(0x111))[_0x551115(0x140)](_0x14dd9d=>{const _0x3728e8=_0x551115;if(_0x14dd9d[_0x3728e8(0x45c)]!==Zs||!_0x14dd9d[_0x3728e8(0x3e5)])return;const _0x5b2a09=JSON['parse'](_0x14dd9d[_0x3728e8(0x3e5)]);this[_0x3728e8(0x366)](_0x5b2a09);}))),window[_0x551115(0x238)](_0x551115(0x4ba),()=>this[_0x551115(0x4b2)]({'type':0x1,'memberID':this[_0x551115(0x15a)],'unitIDs':Array[_0x551115(0x11c)](this[_0x551115(0x1b3)])}));}[_0x2025fc(0x366)](_0x37a684){const _0x5dcd18=_0x2025fc;switch(_0x37a684[_0x5dcd18(0x442)]){case 0x0:this['_handleJoinEvent'](_0x37a684);break;case 0x1:this['_handleLeaveEvent'](_0x37a684);break;case 0x2:this[_0x5dcd18(0x2fb)](_0x37a684);break;}}[_0x2025fc(0x45a)](_0xaaf2ae){const _0x43f736=_0x2025fc,{unitIDs:_0x2e76f6,memberID:_0x5b1d4a,isForwarded:_0x32bbf9}=_0xaaf2ae;_0x2e76f6['forEach'](_0x2a46bf=>{const _0x41840d=_0x46d8;if(!_0x32bbf9&&this[_0x41840d(0x34c)][_0x41840d(0x24c)](_0x2a46bf)&&this[_0x41840d(0x4ae)](_0x2a46bf)[_0x41840d(0x382)](0x1),!this[_0x41840d(0x34c)]['has'](_0x2a46bf)||!this[_0x41840d(0x34c)][_0x41840d(0x33e)](_0x2a46bf)[_0x41840d(0x24c)](_0x5b1d4a)){const _0x1a044a=this[_0x41840d(0x34c)][_0x41840d(0x33e)](_0x2a46bf)||new Set();_0x1a044a[_0x41840d(0x4b0)](_0x5b1d4a),this[_0x41840d(0x34c)][_0x41840d(0x39c)](_0x2a46bf,_0x1a044a),this[_0x41840d(0x43a)](_0x5b1d4a);}}),_0x32bbf9||this[_0x43f736(0x4b2)]({'type':0x0,'memberID':this[_0x43f736(0x15a)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x97e4d0){const _0x7eb8ad=_0x2025fc;this['_removeClearOtherTimer'](_0x97e4d0);const _0x25fff2=window[_0x7eb8ad(0x16d)](()=>{const _0x5b245d=_0x7eb8ad;this['_unitOnClients'][_0x5b245d(0x2e1)](_0x1bd951=>{const _0x208e41=_0x5b245d;_0x1bd951[_0x208e41(0x165)](_0x97e4d0);});},Js*0x2);this[_0x7eb8ad(0x461)]['set'](_0x97e4d0,_0x25fff2);}[_0x2025fc(0x444)](_0x5c195c){const _0x5bcc44=_0x2025fc;if(this[_0x5bcc44(0x461)][_0x5bcc44(0x24c)](_0x5c195c)){const _0x113854=this[_0x5bcc44(0x461)][_0x5bcc44(0x33e)](_0x5c195c);_0x113854&&window[_0x5bcc44(0x4b1)](_0x113854),this[_0x5bcc44(0x461)]['set'](_0x5c195c,null);}}[_0x2025fc(0x3f4)](_0x26bb2b){const _0x402ff2=_0x2025fc,{memberID:_0x36ba73,unitIDs:_0x9d30d7}=_0x26bb2b;_0x9d30d7[_0x402ff2(0x2e1)](_0x55e26f=>{const _0x47cf21=_0x402ff2;var _0x11ef07;const _0xd0eeb6=this[_0x47cf21(0x34c)][_0x47cf21(0x33e)](_0x55e26f);_0xd0eeb6&&(_0xd0eeb6[_0x47cf21(0x165)](_0x36ba73),(_0x11ef07=this[_0x47cf21(0x4ae)](_0x55e26f))==null||_0x11ef07[_0x47cf21(0x382)](_0xd0eeb6[_0x47cf21(0x2ac)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x36ba73);}['_handleHeartbeatEvent'](_0x59471a){const _0x46d273=_0x2025fc;this[_0x46d273(0x43a)](_0x59471a['memberID']);}[_0x2025fc(0x4b2)](_0x57e811){const _0x44460b=_0x2025fc;localStorage[_0x44460b(0x1aa)](Zs,JSON[_0x44460b(0x11e)](_0x57e811));}[_0x2025fc(0x2e7)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x250503=_0x46d8;this['_send']({'type':0x2,'memberID':this[_0x250503(0x15a)]});},Js);}['_ensureSubject'](_0x4d6cbb){const _0x54bd69=_0x2025fc;return this[_0x54bd69(0x49e)][_0x54bd69(0x24c)](_0x4d6cbb)||this[_0x54bd69(0x49e)][_0x54bd69(0x39c)](_0x4d6cbb,new _0x1074c2(0x0)),this[_0x54bd69(0x49e)]['get'](_0x4d6cbb);}}var Eo=Object[_0x2025fc(0x385)],bo=Object['getOwnPropertyDescriptor'],To=(_0x215ee1,_0xbb8759,_0x5a4ab4,_0x3aa60a)=>{const _0xd3f270=_0x2025fc;for(var _0x16641f=_0x3aa60a>0x1?void 0x0:_0x3aa60a?bo(_0xbb8759,_0x5a4ab4):_0xbb8759,_0xf7fe35=_0x215ee1[_0xd3f270(0x161)]-0x1,_0x232392;_0xf7fe35>=0x0;_0xf7fe35--)(_0x232392=_0x215ee1[_0xf7fe35])&&(_0x16641f=(_0x3aa60a?_0x232392(_0xbb8759,_0x5a4ab4,_0x16641f):_0x232392(_0x16641f))||_0x16641f);return _0x3aa60a&&_0x16641f&&Eo(_0xbb8759,_0x5a4ab4,_0x16641f),_0x16641f;},qt=(_0x3ff1f9,_0x107fd3)=>(_0x4d38e8,_0x339bae)=>_0x107fd3(_0x4d38e8,_0x339bae,_0x3ff1f9);let Dt=class{constructor(_0x56f84e,_0x582b68,_0xa0ca2){const _0x43ea71=_0x2025fc;this['_injector']=_0x56f84e,this[_0x43ea71(0x128)]=_0x582b68,this[_0x43ea71(0x10a)]=_0xa0ca2;}['transformStateCache'](_0x5d48e0){this['_transformHistoryAndStateStack'](_0x5d48e0);}['transformRemoteChangeset'](_0x44548a){const _0x20c530=_0x2025fc,{unitID:_0x77b850}=_0x44548a,{collaboration:_0x122ad9}=this[_0x20c530(0x10a)][_0x20c530(0x322)](_0x77b850);if(_0x122ad9[_0x20c530(0x161)]===0x0)return _0x44548a;let _0x12c0dd=_0x529634[_0x20c530(0x2ad)](_0x44548a[_0x20c530(0x335)][0x0]);for(let _0x1d7a59=0x0;_0x1d7a59<_0x122ad9[_0x20c530(0x161)];_0x1d7a59++){const _0x173c51={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x122ad9[_0x1d7a59][_0x20c530(0x273)],..._0x122ad9[_0x1d7a59]['redoState']}},_0x5c82c3=this[_0x20c530(0x128)]['transformMutation'](_0x12c0dd,_0x173c51,!0x1);if(_0x3e27e9(_0x5c82c3))throw _0x5c82c3[_0x20c530(0x279)];_0x12c0dd=_0x5c82c3[_0x20c530(0x44f)];}return{..._0x529634[_0x20c530(0x2ad)](_0x44548a),'mutations':[_0x12c0dd]};}[_0x2025fc(0x418)](_0x79927f){const _0x3d0cfa=_0x2025fc,{unitID:_0x2e26a0}=_0x79927f,{history:_0x5b4e04,collaboration:_0x450915}=this[_0x3d0cfa(0x10a)]['getStateCache'](_0x2e26a0);if(_0x5b4e04['length']===0x0&&_0x450915[_0x3d0cfa(0x161)]===0x0)return;const _0x1cf9fa=[],_0x175eb7=[];let _0xaf514c=_0x529634[_0x3d0cfa(0x2ad)](_0x79927f[_0x3d0cfa(0x335)][0x0]),_0x39b658=_0x529634['deepClone'](_0x79927f[_0x3d0cfa(0x335)][0x0]);for(let _0x4bac98=_0x5b4e04[_0x3d0cfa(0x161)]-0x1;_0x4bac98>=0x0;_0x4bac98--){const _0x32bbb4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5b4e04[_0x4bac98][_0x3d0cfa(0x273)],..._0x5b4e04[_0x4bac98][_0x3d0cfa(0x347)]}},_0x3c5e90={'id':_0x3d0cfa(0x495),'params':{'unitId':_0x5b4e04[_0x4bac98][_0x3d0cfa(0x273)],..._0x5b4e04[_0x4bac98][_0x3d0cfa(0x1a3)]}},_0x49eed6=this[_0x3d0cfa(0x128)][_0x3d0cfa(0x4b6)](_0xaf514c,_0x32bbb4,!0x1),_0x5bea87=this['_transformService'][_0x3d0cfa(0x4b6)](_0x39b658,_0x3c5e90,!0x1);if(_0x3e27e9(_0x49eed6))throw _0x49eed6[_0x3d0cfa(0x279)];if(_0x3e27e9(_0x5bea87))throw _0x5bea87[_0x3d0cfa(0x279)];_0x1cf9fa[_0x3d0cfa(0x3bd)]({..._0x5b4e04[_0x4bac98],'undoState':_0x49eed6[_0x3d0cfa(0x270)][_0x3d0cfa(0x3a0)],'redoState':_0x5bea87['m2Prime'][_0x3d0cfa(0x3a0)]}),_0xaf514c=_0x49eed6[_0x3d0cfa(0x44f)],_0x39b658=_0x5bea87[_0x3d0cfa(0x44f)];}_0xaf514c=_0x529634[_0x3d0cfa(0x2ad)](_0x79927f[_0x3d0cfa(0x335)][0x0]),_0x39b658=_0x529634[_0x3d0cfa(0x2ad)](_0x79927f[_0x3d0cfa(0x335)][0x0]);for(let _0x9adcc9=_0x450915[_0x3d0cfa(0x161)]-0x1;_0x9adcc9>=0x0;_0x9adcc9--){const _0x4b093c={'id':_0x3d0cfa(0x495),'params':{'unitId':_0x450915[_0x9adcc9]['unitId'],..._0x450915[_0x9adcc9][_0x3d0cfa(0x347)]}},_0x512950={'id':_0x3d0cfa(0x495),'params':{'unitId':_0x450915[_0x9adcc9]['unitId'],..._0x450915[_0x9adcc9][_0x3d0cfa(0x1a3)]}},_0x45f2a5=this[_0x3d0cfa(0x128)][_0x3d0cfa(0x4b6)](_0xaf514c,_0x4b093c,!0x1),_0x11a9db=this[_0x3d0cfa(0x128)][_0x3d0cfa(0x4b6)](_0x39b658,_0x512950,!0x1);if(_0x3e27e9(_0x45f2a5))throw _0x45f2a5[_0x3d0cfa(0x279)];if(_0x3e27e9(_0x11a9db))throw _0x11a9db[_0x3d0cfa(0x279)];_0x175eb7[_0x3d0cfa(0x3bd)]({..._0x450915[_0x9adcc9],'undoState':_0x45f2a5[_0x3d0cfa(0x270)]['params'],'redoState':_0x11a9db[_0x3d0cfa(0x270)][_0x3d0cfa(0x3a0)]}),_0xaf514c=_0x45f2a5[_0x3d0cfa(0x44f)],_0x39b658=_0x11a9db[_0x3d0cfa(0x44f)];}this[_0x3d0cfa(0x10a)]['setStateCache'](_0x2e26a0,{'history':_0x1cf9fa,'collaboration':_0x175eb7});}};Dt=To([qt(0x0,_0x5847bf(_0x5d7671)),qt(0x1,_0x2fbfa5),qt(0x2,_0x5847bf(_0x4ee933))],Dt);function qi(_0x447802){const _0x23d3a4=_0x2025fc;let _0x591fb7='';for(const _0x456e9e of _0x447802){const {startOffset:_0x3bc739,endOffset:_0x4258e0,isActive:_0x24626d,rangeType:_0x3c4464,segmentId:_0x17e384,segmentPage:_0x508fec}=_0x456e9e;_0x591fb7[_0x23d3a4(0x161)]&&(_0x591fb7+=','),_0x591fb7+=_0x3bc739+':'+_0x4258e0+':'+(_0x24626d?'1':'0')+':'+_0x3c4464+':'+_0x17e384+':'+_0x508fec;}return _0x591fb7;}function Ro(_0x3d4b47){const _0x56bac5=_0x2025fc,_0xc0e35d=_0x3d4b47['split'](','),_0x240b0e=[];for(const _0x13ccc4 of _0xc0e35d){const [_0xa6d7f0,_0x249e8e,_0x33c149,_0x3cc19b,_0xdac98d,_0x53cf02]=_0x13ccc4[_0x56bac5(0x2c6)](':');_0x240b0e[_0x56bac5(0x22f)]({'startOffset':Number(_0xa6d7f0),'endOffset':Number(_0x249e8e),'collapsed':_0xa6d7f0===_0x249e8e,'isActive':_0x33c149==='1','rangeType':_0x3cc19b===_0x2bd610[_0x56bac5(0x2b8)]?_0x2bd610[_0x56bac5(0x2b8)]:_0x2bd610[_0x56bac5(0x246)],'segmentId':typeof _0xdac98d==_0x56bac5(0x151)?String(_0xdac98d):'','segmentPage':Number(_0x53cf02!=null?_0x53cf02:-0x1)});}return _0x240b0e['some'](_0x509351=>_0x509351[_0x56bac5(0x19e)])||(_0x240b0e[0x0]['isActive']=!0x0),_0x240b0e;}class Ds extends _0x5ec0cb{constructor(){const _0x4c0dc6=_0x2025fc;super(...arguments),g(this,'_collabCursorState$',new _0x1074c2(null)),g(this,_0x4c0dc6(0x451),this[_0x4c0dc6(0x1ea)][_0x4c0dc6(0xf7)]());}[_0x2025fc(0xc2)](_0x4fdcb0){const _0x38d62c=_0x2025fc,{unitID:_0x49afeb,memberID:_0x18d412,textRanges:_0x4404d2}=_0x4fdcb0,_0x27cafd=qi(_0x4404d2);if(_0x27cafd==='')return;const _0x2821fa={'unitID':_0x49afeb,'memberID':_0x18d412,'selection':_0x27cafd};this[_0x38d62c(0x1ea)][_0x38d62c(0x382)](_0x2821fa);}}var Oo=Object[_0x2025fc(0x385)],yo=Object['getOwnPropertyDescriptor'],wo=(_0xbdb01d,_0x34914b,_0x2b6b41,_0x26bd8b)=>{const _0x507179=_0x2025fc;for(var _0x292316=_0x26bd8b>0x1?void 0x0:_0x26bd8b?yo(_0x34914b,_0x2b6b41):_0x34914b,_0x599586=_0xbdb01d[_0x507179(0x161)]-0x1,_0x5941a0;_0x599586>=0x0;_0x599586--)(_0x5941a0=_0xbdb01d[_0x599586])&&(_0x292316=(_0x26bd8b?_0x5941a0(_0x34914b,_0x2b6b41,_0x292316):_0x5941a0(_0x292316))||_0x292316);return _0x26bd8b&&_0x292316&&Oo(_0x34914b,_0x2b6b41,_0x292316),_0x292316;},Qs=(_0x3b2b21,_0x17c3fc)=>(_0x1a8f44,_0xe66bf0)=>_0x17c3fc(_0x1a8f44,_0xe66bf0,_0x3b2b21);let Pt=class{constructor(_0x3d378d,_0x5dad3b){const _0x2833a3=_0x2025fc;this[_0x2833a3(0x147)]=_0x3d378d,this[_0x2833a3(0x128)]=_0x5dad3b;}[_0x2025fc(0x231)](_0x1608db){const _0x5561b2=_0x2025fc;var _0x3084e4;const _0x2e6f48=this[_0x5561b2(0x147)][_0x5561b2(0x33e)](_0x49b6ea),_0x167fbd=(_0x3084e4=_0x2e6f48[_0x5561b2(0x391)]())!=null?_0x3084e4:[];if(_0x167fbd['length']===0x0)return;const _0x403bf3=_0x1608db['unitID'],_0x32ec32=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x403bf3,'actions':null,'textRanges':_0x167fbd}}],_0x403107=this[_0x5561b2(0x128)][_0x5561b2(0x39e)](_0x1608db,_0x32ec32);if(!_0x341c91(_0x403107))throw _0x403107[_0x5561b2(0x279)];const _0xb6d254=_0x403107[_0x5561b2(0x270)][0x0][_0x5561b2(0x3a0)][_0x5561b2(0x1b1)];Array[_0x5561b2(0x287)](_0xb6d254)&&_0xb6d254['length']&&_0x2e6f48[_0x5561b2(0x2f9)](_0xb6d254,{'unitId':_0x403bf3,'subUnitId':_0x403bf3},!0x1);}};Pt=wo([Qs(0x0,_0x5847bf(_0x5d7671)),Qs(0x1,_0x2fbfa5)],Pt);const Do=new Set([_0x5bc6a8['id']]);function ei(_0x435586,_0x477b87,_0x4f3dcd,_0x3143f9,_0x1f8859){const _0xbf01e3=_0x2025fc;var _0x1a45af,_0x21fed4,_0x314ee6,_0x37aa38;const _0x2669f8=[];for(const _0x39c8b5 of _0x435586)if(Do[_0xbf01e3(0x24c)](_0x39c8b5['id'])){if(_0x2669f8[_0xbf01e3(0x161)]>0x0)break;_0x2669f8[_0xbf01e3(0x22f)](_0x39c8b5);break;}else _0x2669f8['push'](_0x39c8b5);const _0x4489fd=(_0x21fed4=(_0x1a45af=_0x1f8859['getCurrentUser']())==null?void 0x0:_0x1a45af[_0xbf01e3(0x37e)])!=null?_0x21fed4:_0xbf01e3(0x248),_0x315a03=(_0x37aa38=(_0x314ee6=_0x1f8859[_0xbf01e3(0x14b)]())==null?void 0x0:_0x314ee6['memberID'])!=null?_0x37aa38:_0xbf01e3(0x248);return{'changeset':{'unitID':_0x477b87,'type':_0x3761c7(_0x4f3dcd[_0xbf01e3(0x3e3)](_0x477b87)),'baseRev':_0x3143f9[_0xbf01e3(0x21f)](_0x477b87),'revision':0x0,'userID':_0x4489fd,'memberID':_0x315a03,'mutations':_0x2669f8},'pendingMutations':_0x435586[_0xbf01e3(0x48f)](_0x2669f8[_0xbf01e3(0x161)])};}function Po(_0xaa9500,_0x887e65,_0x2519c7,_0x2562a7,_0x256860){const _0xe0d0e=_0x2025fc;var _0x202771,_0xe28d44,_0x10e86f,_0x173082;const _0x3f7bf1=[_0xaa9500[_0xe0d0e(0x393)]((_0x2c94a8,_0x1c1cf3)=>{const _0x5c5a7a=_0xe0d0e;var _0x489a8c;const {id:_0x4ea249}=_0x2c94a8,{id:_0xbb4d4c,type:_0x18e641}=_0x1c1cf3,_0x3a591b=(_0x489a8c=_0x2c94a8[_0x5c5a7a(0x3a0)])!=null?_0x489a8c:{'actions':null},_0x1edb2d=_0x1c1cf3[_0x5c5a7a(0x3a0)];if(_0x4ea249&&_0x4ea249!==_0xbb4d4c)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4ea249+_0x5c5a7a(0x38a)+_0xbb4d4c+'.');return{..._0x2c94a8,'id':_0xbb4d4c,'type':_0x18e641,'params':{'unitId':_0x1edb2d[_0x5c5a7a(0x273)],'textRanges':_0x1edb2d[_0x5c5a7a(0x1b1)],'actions':_0x421ddc[_0x5c5a7a(0x468)](_0x3a591b[_0x5c5a7a(0x49a)],_0x1edb2d[_0x5c5a7a(0x49a)])}};},{})],_0x4365f1=(_0xe28d44=(_0x202771=_0x256860[_0xe0d0e(0x14b)]())==null?void 0x0:_0x202771['userID'])!=null?_0xe28d44:_0xe0d0e(0x248),_0x212c5f=(_0x173082=(_0x10e86f=_0x256860['getCurrentUser']())==null?void 0x0:_0x10e86f[_0xe0d0e(0x471)])!=null?_0x173082:'unknown';return{'changeset':{'unitID':_0x887e65,'type':_0x3761c7(_0x2519c7['getUnitType'](_0x887e65)),'baseRev':_0x2562a7[_0xe0d0e(0x21f)](_0x887e65),'revision':0x0,'userID':_0x4365f1,'memberID':_0x212c5f,'mutations':_0x3f7bf1},'pendingMutations':[]};}function zi(_0x2d54c1,_0xf646c5){const _0x1dff4b=_0x2025fc,_0x11c9ab=new _0x5e2516(0x1);return setTimeout(()=>_0x11c9ab[_0x1dff4b(0x382)](_0xf646c5),_0x2d54c1),_0x11c9ab['asObservable']()[_0x1dff4b(0x150)](_0x54d89e(0x1));}const No={'id':_0x40bf05['id'],'type':_0x4f220f[_0x2025fc(0x2c5)],'params':{}};var Uo=Object[_0x2025fc(0x385)],Ao=Object[_0x2025fc(0x18c)],$e=(_0x3a0634,_0x593556,_0x2580cb,_0x4b4dbe)=>{for(var _0x85f2c5=_0x4b4dbe>0x1?void 0x0:_0x4b4dbe?Ao(_0x593556,_0x2580cb):_0x593556,_0x8c23ab=_0x3a0634['length']-0x1,_0x13f5bd;_0x8c23ab>=0x0;_0x8c23ab--)(_0x13f5bd=_0x3a0634[_0x8c23ab])&&(_0x85f2c5=(_0x4b4dbe?_0x13f5bd(_0x593556,_0x2580cb,_0x85f2c5):_0x13f5bd(_0x85f2c5))||_0x85f2c5);return _0x4b4dbe&&_0x85f2c5&&Uo(_0x593556,_0x2580cb,_0x85f2c5),_0x85f2c5;},A=(_0x517766,_0x51fd35)=>(_0x23f0b3,_0x12ceb4)=>_0x51fd35(_0x23f0b3,_0x12ceb4,_0x517766),J=(_0x1468b5=>(_0x1468b5['NOT_COLLAB']=_0x2025fc(0x360),_0x1468b5[_0x2025fc(0x274)]='synced',_0x1468b5[_0x2025fc(0x469)]=_0x2025fc(0x46a),_0x1468b5['AWAITING']=_0x2025fc(0x1c3),_0x1468b5[_0x2025fc(0x4bd)]=_0x2025fc(0x1c1),_0x1468b5['FETCH_MISS']=_0x2025fc(0x377),_0x1468b5[_0x2025fc(0x312)]=_0x2025fc(0x137),_0x1468b5[_0x2025fc(0x23c)]='offline',_0x1468b5))(J||{});const Xi=0xea60;class He{constructor(_0x13a4f6,_0x5ac678,_0x281934,_0x5d640b,_0x4ed833,_0x2a45f8,_0x52050e,_0x3882e0,_0x678d64){const _0x517a4a=_0x2025fc;g(this,_0x517a4a(0x47d),null),g(this,_0x517a4a(0x398),[]),(this[_0x517a4a(0x2bf)]=_0x13a4f6,this[_0x517a4a(0x442)]=_0x5ac678,this[_0x517a4a(0x452)]=_0x4ed833,this[_0x517a4a(0x481)]=_0x2a45f8,this[_0x517a4a(0x21e)]=_0x52050e,this[_0x517a4a(0x1b0)]=_0x3882e0,this[_0x517a4a(0x2a4)]=_0x678d64,this[_0x517a4a(0x47d)]=_0x281934,this[_0x517a4a(0x398)]=_0x5d640b);}['_checkMissing'](_0x22795b){const _0xa1f689=_0x2025fc,_0x130bf1=this[_0xa1f689(0x1b0)]['getCurrentRevOfUnit'](this['unitID']);return _0x22795b['revision']>_0x130bf1+0x1?(this[_0xa1f689(0x452)]['onMissingChangesets']({'from':_0x130bf1,'to':_0x22795b[_0xa1f689(0x458)]-0x1}),!0x0):!0x1;}[_0x2025fc(0x2ed)](_0x574bc1){const _0x5e3fda=_0x2025fc;this[_0x5e3fda(0x21e)][_0x5e3fda(0x338)](this['unitID'],_0x574bc1);}[_0x2025fc(0xd9)](_0x5d2a42){const _0x173ef4=_0x2025fc;var _0x45cadd,_0xd626f0;(_0xd626f0=(_0x45cadd=this['_handler'])[_0x173ef4(0x106)])==null||_0xd626f0[_0x173ef4(0x494)](_0x45cadd,_0x5d2a42);}[_0x2025fc(0x1bf)](_0x402236){const _0x3276ab=_0x2025fc;var _0x462e86,_0x5e4167;return(_0x5e4167=(_0x462e86=this[_0x3276ab(0x452)])[_0x3276ab(0x38c)])==null?void 0x0:_0x5e4167[_0x3276ab(0x494)](_0x462e86,_0x402236);}[_0x2025fc(0x26f)](_0x245756){const _0x16f584=_0x2025fc;var _0x26fb9f,_0x1fe02a;return(_0x1fe02a=(_0x26fb9f=this[_0x16f584(0x452)])[_0x16f584(0x401)])==null?void 0x0:_0x1fe02a[_0x16f584(0x494)](_0x26fb9f,_0x245756);}[_0x2025fc(0x191)](_0x445ec9){const _0x91390d=_0x2025fc;var _0xbc4f15,_0x4a29fc,_0x2525c8;return(_0x2525c8=(_0x4a29fc=(_0xbc4f15=this[_0x91390d(0x452)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4a29fc[_0x91390d(0x494)](_0xbc4f15,_0x445ec9))!=null?_0x2525c8:_0x445ec9;}[_0x2025fc(0x2d5)](_0x54295e){const _0x5e4851=_0x2025fc;var _0xd93821,_0x1fa965,_0x8f6823;return(_0x8f6823=(_0x1fa965=(_0xd93821=this[_0x5e4851(0x452)])[_0x5e4851(0x2eb)])==null?void 0x0:_0x1fa965[_0x5e4851(0x494)](_0xd93821,_0x54295e))!=null?_0x8f6823:_0x54295e;}[_0x2025fc(0x3d0)](_0x257f87){const _0x1c83d6=_0x2025fc;var _0x3c0df1,_0xd8b89c;if(this[_0x1c83d6(0x442)]===ae[_0x1c83d6(0x3ad)]){const {unitID:_0x398fce,mutations:_0x16ccf1,memberID:_0x4de8d0}=_0x257f87,_0xda12fe=_0x16ccf1[0x0][_0x1c83d6(0x3a0)][_0x1c83d6(0x1b1)];Array[_0x1c83d6(0x287)](_0xda12fe)&&_0xda12fe[_0x1c83d6(0x161)]>0x0&&((_0xd8b89c=(_0x3c0df1=this[_0x1c83d6(0x452)])[_0x1c83d6(0x1f5)])==null||_0xd8b89c[_0x1c83d6(0x494)](_0x3c0df1,{'unitID':_0x398fce,'memberID':_0x4de8d0,'textRanges':_0xda12fe}));}}[_0x2025fc(0x2e9)](){const _0x2e8e60=_0x2025fc;this[_0x2e8e60(0x2a4)][_0x2e8e60(0x291)](this[_0x2e8e60(0x2bf)],this[_0x2e8e60(0x442)],this[_0x2e8e60(0x47d)],this[_0x2e8e60(0x398)]);}[_0x2025fc(0x3b8)](){const _0x569dbb=_0x2025fc;return this[_0x569dbb(0x1b0)][_0x569dbb(0x21f)](this[_0x569dbb(0x2bf)]);}[_0x2025fc(0x139)](){const _0x534ac0=_0x2025fc;this[_0x534ac0(0x1b0)]['incrementRevOfUnit'](this[_0x534ac0(0x2bf)]);}['_executeRemoteChangeset'](_0x4f3b4f){const _0x488b22=_0x2025fc;var _0x2a8be0;let _0x26b0c6=this[_0x488b22(0x191)](_0x4f3b4f);_0x26b0c6=this[_0x488b22(0x2d5)](_0x26b0c6);const _0x201cb3=_0x512337(_0x26b0c6[_0x488b22(0x335)],this[_0x488b22(0x481)],{'fromCollab':!0x0});if(!_0x201cb3[_0x488b22(0x491)])throw _0x201cb3[_0x488b22(0x279)]instanceof Error?_0x201cb3[_0x488b22(0x279)]:new Error((_0x2a8be0=_0x201cb3['error'])!=null?_0x2a8be0:_0x488b22(0x333));this['_transformIMECache'](_0x26b0c6),this['_transformStateCache'](_0x26b0c6),this[_0x488b22(0x2ed)](_0x4f3b4f),this[_0x488b22(0xd9)](_0x26b0c6),this[_0x488b22(0x3d0)](_0x26b0c6),this[_0x488b22(0x139)]();}}let Fe=class extends He{constructor(_0x5253a2,_0x55d817,_0x3d30a0,_0xccb898,_0x3eecad,_0x2d2fe8,_0x64f58a,_0x459505,_0x1d63bf,_0x5975b6){const _0x1a5a08=_0x2025fc;super(_0x5253a2,_0x55d817,null,[],_0x3d30a0,_0x459505,_0x64f58a,_0xccb898,_0x3eecad),g(this,_0x1a5a08(0x2e8),_0x1a5a08(0x399)),(this[_0x1a5a08(0x147)]=_0x2d2fe8,this['_logService']=_0x1d63bf,this['_transformService']=_0x5975b6);}[_0x2025fc(0x2b7)](_0x363ca5){const _0x569a1a=_0x2025fc,_0x16855e=this['_injector'][_0x569a1a(0x12a)](pe,this['unitID'],this['type'],[_0x363ca5],this[_0x569a1a(0x452)]);return _0x16855e[_0x569a1a(0x34f)](),_0x16855e[_0x569a1a(0x2e9)](),_0x16855e;}[_0x2025fc(0xfa)](_0x54246f){const _0x4c7d55=_0x2025fc;if(this[_0x4c7d55(0x437)](_0x54246f))return this[_0x4c7d55(0x147)]['createInstance'](ce,this['unitID'],this[_0x4c7d55(0x442)],null,[],null,[_0x54246f],this[_0x4c7d55(0x452)]);try{const _0x2c4441=this[_0x4c7d55(0x128)][_0x4c7d55(0x39e)](_0x54246f,[No]);if(_0x341c91(_0x2c4441)){const {c1Prime:_0x4c7cd9}=_0x2c4441;return this[_0x4c7d55(0x2ae)](_0x4c7cd9),this;}throw _0x2c4441[_0x4c7d55(0x279)];}catch(_0x2e60e0){return this[_0x4c7d55(0xc1)][_0x4c7d55(0x279)](_0x2e60e0),this[_0x4c7d55(0xf4)](!0x1);}}[_0x2025fc(0xf4)](_0x40ee1f){const _0x587d0f=_0x2025fc;return this['_injector'][_0x587d0f(0x12a)](Re,this['unitID'],this[_0x587d0f(0x442)],null,[],this[_0x587d0f(0x452)],_0x40ee1f);}[_0x2025fc(0x40f)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2025fc(0xa5)](){const _0x35be91=_0x2025fc;throw new Error(_0x35be91(0x2ec));}[_0x2025fc(0x412)](){return this;}[_0x2025fc(0x242)](){const _0x13f946=_0x2025fc;return this[_0x13f946(0x147)]['createInstance'](Oe,this[_0x13f946(0x2bf)],this[_0x13f946(0x442)],null,[],this[_0x13f946(0x452)]);}['toggleOnline'](){return this;}[_0x2025fc(0xd8)](){const _0x52d20c=_0x2025fc;throw new Error(_0x52d20c(0x1dc));}['fetchMiss'](){const _0x51784e=_0x2025fc,_0x103353=this[_0x51784e(0x1b0)][_0x51784e(0x21f)](this[_0x51784e(0x2bf)]);return this['_handler'][_0x51784e(0x2a5)]({'from':_0x103353,'to':0x0}),this['_injector'][_0x51784e(0x12a)](ce,this[_0x51784e(0x2bf)],this[_0x51784e(0x442)],null,[],null,[],this['_handler']);}};Fe=$e([A(0x3,_0x5847bf(_0x389697)),A(0x4,_0x5847bf(z)),A(0x5,_0x5847bf(_0x5d7671)),A(0x6,_0x4bbe15),A(0x7,_0x28287a),A(0x8,_0x49d195),A(0x9,_0x2fbfa5)],Fe);let pe=class extends He{constructor(_0x61e5ae,_0x3fff89,_0x2c64af,_0x53bb6e,_0x2ee5d8,_0x989103,_0x5134ac,_0x136613,_0x5d4231,_0x5d2d17,_0x4be79e,_0x429f15,_0x40fcb5,_0x3239a1){const _0x495d31=_0x2025fc;super(_0x61e5ae,_0x3fff89,null,_0x2c64af,_0x53bb6e,_0x5d2d17,_0x3239a1,_0x989103,_0x5134ac),g(this,_0x495d31(0x2e8),_0x495d31(0x46a)),g(this,_0x495d31(0x109),null),g(this,_0x495d31(0x396),null),(this[_0x495d31(0x147)]=_0x2ee5d8,this['_memberService']=_0x136613,this[_0x495d31(0xc1)]=_0x5d4231,this['_configService']=_0x4be79e,this[_0x495d31(0x128)]=_0x429f15,this[_0x495d31(0x3cf)]=_0x40fcb5);}[_0x2025fc(0x2b7)](_0x20e268){const _0x117d18=_0x2025fc;return this[_0x117d18(0x398)][_0x117d18(0x22f)](_0x20e268),this[_0x117d18(0x2e9)](),this;}[_0x2025fc(0xfa)](_0x320d3){const _0x492b49=_0x2025fc;if(this[_0x492b49(0x437)](_0x320d3))return this[_0x492b49(0x3a5)](),this[_0x492b49(0x147)][_0x492b49(0x12a)](ce,this['unitID'],this[_0x492b49(0x442)],null,this[_0x492b49(0x398)],null,[_0x320d3],this['_handler']);try{const _0x3538f5=this['_transformService']['transformMutationsWithChangeset'](_0x320d3,this[_0x492b49(0x398)]);if(_0x341c91(_0x3538f5)){const {c1Prime:_0x3ba168,m2Prime:_0x56321c}=_0x3538f5;this[_0x492b49(0x2ae)](_0x3ba168);const _0x381610=this[_0x492b49(0x147)][_0x492b49(0x12a)](pe,this[_0x492b49(0x2bf)],this[_0x492b49(0x442)],_0x56321c,this[_0x492b49(0x452)]);return this[_0x492b49(0x3a5)](),_0x381610[_0x492b49(0x34f)](this[_0x492b49(0x109)]?Math[_0x492b49(0x3f2)](0x0,new Date()[_0x492b49(0x2f6)]()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x381610;}throw _0x3538f5[_0x492b49(0x279)];}catch(_0x1fc981){return this[_0x492b49(0xc1)][_0x492b49(0x279)](_0x1fc981),this[_0x492b49(0xf4)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2025fc(0xa5)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x2025fc(0x412)](){return this;}['toggleOffline'](){const _0x1cf1b7=_0x2025fc;return this[_0x1cf1b7(0x3a5)](),this['_injector'][_0x1cf1b7(0x12a)](Oe,this[_0x1cf1b7(0x2bf)],this[_0x1cf1b7(0x442)],null,this[_0x1cf1b7(0x398)],this['_handler']);}[_0x2025fc(0x375)](){return this;}['_schedule'](_0x1a7141){const _0x194f69=_0x2025fc,_0x2758bb=_0x1a7141!=null?_0x1a7141:this[_0x194f69(0x194)]();this[_0x194f69(0x109)]=new Date()[_0x194f69(0x2f6)](),this[_0x194f69(0x396)]=window[_0x194f69(0x16d)](()=>{const _0x589762=_0x194f69;this['_clearScheduledTask']();let _0x2a9c66=null;switch(this[_0x589762(0x442)]){case ae['UNIVER_SHEET']:{_0x2a9c66=ei(this[_0x589762(0x398)],this[_0x589762(0x2bf)],this[_0x589762(0x3cf)],this['_revisionService'],this[_0x589762(0x31c)]);break;}case ae[_0x589762(0x3ad)]:{this[_0x589762(0x398)][_0x589762(0x253)](_0x5c42ff=>_0x5c42ff['id']===_0x3ef379['id'])?_0x2a9c66=Po(this['_pendingMutations'],this[_0x589762(0x2bf)],this[_0x589762(0x3cf)],this[_0x589762(0x1b0)],this[_0x589762(0x31c)]):_0x2a9c66=ei(this['_pendingMutations'],this[_0x589762(0x2bf)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x589762(0xc8)+this[_0x589762(0x442)]+_0x589762(0x2de));}const {changeset:_0x2d27da,pendingMutations:_0x40bff1}=_0x2a9c66;this[_0x589762(0x452)][_0x589762(0x32e)](_0x2d27da);const _0x4f8e92=_0x40bff1['length']?this['_injector'][_0x589762(0x12a)](me,this[_0x589762(0x2bf)],this[_0x589762(0x442)],_0x2d27da,_0x40bff1,this[_0x589762(0x452)],void 0x0):this[_0x589762(0x147)][_0x589762(0x12a)](Te,this[_0x589762(0x2bf)],this[_0x589762(0x442)],_0x2d27da,this[_0x589762(0x452)]);_0x4f8e92[_0x589762(0x2e9)](),this['_handler'][_0x589762(0xe4)](this,_0x4f8e92);},_0x2758bb);}['_getSendChangesetTimeout'](){const _0x2e45e6=_0x2025fc;var _0x4c1cce;const _0x18e8ae=this[_0x2e45e6(0xb4)][_0x2e45e6(0x217)](Q);return(_0x4c1cce=_0x18e8ae==null?void 0x0:_0x18e8ae[_0x2e45e6(0x40e)])!=null?_0x4c1cce:Rn;}[_0x2025fc(0xd8)](){const _0x537863=_0x2025fc;throw new Error(_0x537863(0x3ee));}['_clearScheduledTask'](){const _0x5945c4=_0x2025fc;this[_0x5945c4(0x396)]!=null&&(clearTimeout(this[_0x5945c4(0x396)]),this[_0x5945c4(0x396)]=null);}[_0x2025fc(0xf4)](_0x3556b0){const _0x22c029=_0x2025fc;return this[_0x22c029(0x3a5)](),this[_0x22c029(0x147)]['createInstance'](Re,this[_0x22c029(0x2bf)],this[_0x22c029(0x442)],null,this[_0x22c029(0x398)],this[_0x22c029(0x452)],_0x3556b0);}};pe=$e([A(0x4,_0x5847bf(_0x5d7671)),A(0x5,_0x5847bf(_0x389697)),A(0x6,_0x5847bf(z)),A(0x7,_0x5847bf(Me)),A(0x8,_0x49d195),A(0x9,_0x28287a),A(0xa,_0x4df844),A(0xb,_0x2fbfa5),A(0xc,_0x425cee),A(0xd,_0x4bbe15)],pe);let Te=class extends He{constructor(_0x3fdeb1,_0x715049,_0x9b2a2,_0x3b3923,_0x2a59e6,_0x346569,_0x13afb3,_0x2bc3d5,_0x4763cf,_0x5c4c76,_0x206461){const _0x5f125e=_0x2025fc;super(_0x3fdeb1,_0x715049,_0x9b2a2,[],_0x3b3923,_0x2bc3d5,_0x206461,_0x346569,_0x13afb3),g(this,_0x5f125e(0x2e8),_0x5f125e(0x1c3)),g(this,'_resendTimeout',0x0),g(this,_0x5f125e(0x4a8)),g(this,_0x5f125e(0x2d4)),(this[_0x5f125e(0x147)]=_0x2a59e6,this['_logService']=_0x4763cf,this[_0x5f125e(0x128)]=_0x5c4c76);}[_0x2025fc(0x2b7)](_0x14c8bc){const _0x21635a=_0x2025fc;this[_0x21635a(0x3a5)]();const _0x2d13b1=this['_injector'][_0x21635a(0x12a)](me,this[_0x21635a(0x2bf)],this[_0x21635a(0x442)],this['_awaitingChangeset'],[_0x14c8bc],this[_0x21635a(0x452)],this[_0x21635a(0x4a8)]);return _0x2d13b1[_0x21635a(0x2e9)](),_0x2d13b1;}[_0x2025fc(0xfa)](_0x177167){const _0x37645f=_0x2025fc;if(this[_0x37645f(0x437)](_0x177167))return this[_0x37645f(0x3a5)](),this[_0x37645f(0x147)][_0x37645f(0x12a)](ce,this[_0x37645f(0x2bf)],this['type'],this['_awaitingChangeset'],[],null,[_0x177167],this[_0x37645f(0x452)]);try{const _0x4fc374=this[_0x37645f(0x128)][_0x37645f(0x301)]([_0x177167],[this['_awaitingChangeset']],!0x1);if(_0xba8c63(_0x4fc374)){const {c1Prime:_0x3822af,c2Prime:_0x50148d}=_0x4fc374;this[_0x37645f(0x2ae)](_0x3822af[0x0]),_0x50148d[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x37645f(0x3a5)]();const _0x44eadd=this[_0x37645f(0x147)][_0x37645f(0x12a)](Te,this['unitID'],this[_0x37645f(0x442)],_0x50148d[0x0],this[_0x37645f(0x452)]);return _0x44eadd['_updateLocalCache'](),_0x44eadd;}return this[_0x37645f(0xf4)](!0x1);}catch(_0x1de3e2){return this['_logService'][_0x37645f(0x279)](_0x1de3e2),this[_0x37645f(0xf4)](!0x1);}}[_0x2025fc(0x40f)](_0x237a66){const _0x49c53b=_0x2025fc;this[_0x49c53b(0x3a5)]();const _0x524a06=this[_0x49c53b(0x1b0)][_0x49c53b(0x21f)](this['unitID']);if(_0x237a66['revision']<_0x524a06-0x1)return this;if(this['_checkMissing'](_0x237a66))return this['_injector'][_0x49c53b(0x12a)](ce,this[_0x49c53b(0x2bf)],this[_0x49c53b(0x442)],null,[],this[_0x49c53b(0x47d)],[],this[_0x49c53b(0x452)]);this['_incrementRevisionNumber']();const _0xd73c40=this[_0x49c53b(0x147)][_0x49c53b(0x12a)](Fe,this[_0x49c53b(0x2bf)],this[_0x49c53b(0x442)],this['_handler']);return _0xd73c40['_updateLocalCache'](),_0xd73c40;}[_0x2025fc(0xa5)](_0x13c3d3){const _0x3eddf9=_0x2025fc;return this[_0x3eddf9(0xf4)](!!(_0x13c3d3!=null&&_0x13c3d3[_0x3eddf9(0x1d3)]));}[_0x2025fc(0x412)](_0x344d9b){const _0x36b6dc=_0x2025fc;return this[_0x36b6dc(0xda)]>Xi?this[_0x36b6dc(0x242)]():(this[_0x36b6dc(0x4a8)]=zi(this['_resendTimeout'],{'timeout':this[_0x36b6dc(0xda)],'reqId':_0x344d9b[_0x36b6dc(0x153)]}),this[_0x36b6dc(0x2d4)]=this[_0x36b6dc(0x4a8)][_0x36b6dc(0x140)](({reqId:_0x5a2cec,timeout:_0x18cbfc})=>{this['_resendWithTimeout'](_0x5a2cec,_0x18cbfc);}),this);}[_0x2025fc(0x242)](){const _0x12cb61=_0x2025fc;return this[_0x12cb61(0x3a5)](),this['_injector'][_0x12cb61(0x12a)](Oe,this['unitID'],this['type'],this[_0x12cb61(0x47d)],[],this[_0x12cb61(0x452)]);}[_0x2025fc(0x375)](){return this;}[_0x2025fc(0xd8)](){const _0x1e5f28=_0x2025fc;this[_0x1e5f28(0x452)][_0x1e5f28(0x32e)](this[_0x1e5f28(0x47d)]);}[_0x2025fc(0xf4)](_0x590e88){const _0x1cad62=_0x2025fc;return this[_0x1cad62(0x3a5)](),this[_0x1cad62(0x147)][_0x1cad62(0x12a)](Re,this[_0x1cad62(0x2bf)],this['type'],this[_0x1cad62(0x47d)],[],this[_0x1cad62(0x452)],_0x590e88);}[_0x2025fc(0x2d0)](_0x58b085,_0xf4d62c){const _0x134ed3=_0x2025fc;var _0x1be731;_0x58b085===((_0x1be731=this[_0x134ed3(0x47d)])==null?void 0x0:_0x1be731[_0x134ed3(0x153)])&&(this['resend'](),this['_resendTimeout']=_0xf4d62c===0x0?0x3e8:_0xf4d62c*0x2);}[_0x2025fc(0x3a5)](){const _0x5b4a8f=_0x2025fc;var _0x5ee5c6;(_0x5ee5c6=this[_0x5b4a8f(0x2d4)])==null||_0x5ee5c6[_0x5b4a8f(0x2dd)](),this[_0x5b4a8f(0xda)]=0x0;}};Te=$e([A(0x4,_0x5847bf(_0x5d7671)),A(0x5,_0x5847bf(_0x389697)),A(0x6,_0x5847bf(z)),A(0x7,_0x28287a),A(0x8,_0x49d195),A(0x9,_0x2fbfa5),A(0xa,_0x4bbe15)],Te);let me=class extends He{constructor(_0x3c507b,_0x299097,_0x22a27a,_0x355fcf,_0x126d03,_0x3d0124,_0x4b0bbd,_0x2977af,_0x1cce43,_0x321800,_0x3bada2,_0x5927f4,_0x48df66){const _0x27bded=_0x2025fc;super(_0x3c507b,_0x299097,_0x22a27a,_0x355fcf,_0x126d03,_0x321800,_0x48df66,_0x2977af,_0x1cce43),g(this,_0x27bded(0x2e8),_0x27bded(0x1c1)),g(this,'_resendTimeout',0x0),g(this,_0x27bded(0x4a8)),g(this,_0x27bded(0x2d4)),(this[_0x27bded(0x147)]=_0x4b0bbd,this[_0x27bded(0xc1)]=_0x3bada2,this[_0x27bded(0x128)]=_0x5927f4,_0x3d0124&&(this[_0x27bded(0x4a8)]=_0x3d0124,this[_0x27bded(0x2d4)]=this[_0x27bded(0x4a8)][_0x27bded(0x140)](({reqId:_0x9df784,timeout:_0x327e7a})=>{this['_resendWithTimeout'](_0x9df784,_0x327e7a);})));}['appendMutation'](_0x35833c){const _0xa595b9=_0x2025fc;return this[_0xa595b9(0x398)]['push'](_0x35833c),this;}[_0x2025fc(0xfa)](_0x299a2f){const _0x4835c3=_0x2025fc;if(this[_0x4835c3(0x437)](_0x299a2f))return this[_0x4835c3(0x3a5)](),this['_injector'][_0x4835c3(0x12a)](ce,this[_0x4835c3(0x2bf)],this[_0x4835c3(0x442)],this[_0x4835c3(0x47d)],this[_0x4835c3(0x398)],null,[_0x299a2f],this[_0x4835c3(0x452)]);try{const _0x1e786d=this[_0x4835c3(0x128)][_0x4835c3(0x301)]([_0x299a2f],[this[_0x4835c3(0x47d)]],!0x1);if(_0xba8c63(_0x1e786d)){const {c1Prime:_0xd7dc12,c2Prime:_0x102fcb}=_0x1e786d,_0x370232=this[_0x4835c3(0x128)][_0x4835c3(0x39e)](_0xd7dc12[0x0],this[_0x4835c3(0x398)]);if(_0x341c91(_0x370232)){const {c1Prime:_0x3d1be8,m2Prime:_0x235be8}=_0x370232;return this[_0x4835c3(0x2ae)](_0x3d1be8),_0x102fcb[0x0][_0x4835c3(0x1eb)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0x4835c3(0x147)]['createInstance'](me,this[_0x4835c3(0x2bf)],this['type'],_0x102fcb[0x0],_0x235be8,this[_0x4835c3(0x452)],void 0x0);}throw _0x370232[_0x4835c3(0x279)];}throw _0x1e786d[_0x4835c3(0x279)];}catch(_0x2b2842){return this[_0x4835c3(0xc1)][_0x4835c3(0x279)](_0x2b2842),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x571ea6){const _0x3eafac=_0x2025fc;if(this[_0x3eafac(0x3a5)](),this[_0x3eafac(0x437)](_0x571ea6))return this[_0x3eafac(0x147)][_0x3eafac(0x12a)](ce,this[_0x3eafac(0x2bf)],this['type'],null,this[_0x3eafac(0x398)],this[_0x3eafac(0x47d)],[],this['_handler']);this[_0x3eafac(0x139)]();const _0x301cc0=this[_0x3eafac(0x147)][_0x3eafac(0x12a)](pe,this[_0x3eafac(0x2bf)],this[_0x3eafac(0x442)],this[_0x3eafac(0x398)],this[_0x3eafac(0x452)]);return _0x301cc0[_0x3eafac(0x34f)](),_0x301cc0[_0x3eafac(0x2e9)](),_0x301cc0;}[_0x2025fc(0xa5)](_0x4083f9){const _0x2eeef0=_0x2025fc;return this[_0x2eeef0(0xf4)](!!(_0x4083f9!=null&&_0x4083f9[_0x2eeef0(0x1d3)]));}[_0x2025fc(0x412)](_0x4e7155){const _0x4b833c=_0x2025fc;return this[_0x4b833c(0xda)]>Xi?this[_0x4b833c(0x242)]():(this['_resendTimer']=zi(this[_0x4b833c(0xda)],{'timeout':this['_resendTimeout'],'reqId':_0x4e7155[_0x4b833c(0x153)]}),this[_0x4b833c(0x2d4)]=this[_0x4b833c(0x4a8)][_0x4b833c(0x140)](({reqId:_0x3900c3,timeout:_0x5b1d16})=>{const _0x411704=_0x4b833c;this[_0x411704(0x2d0)](_0x3900c3,_0x5b1d16);}),this);}['toggleOffline'](){const _0x3ce7aa=_0x2025fc;return this[_0x3ce7aa(0x3a5)](),this[_0x3ce7aa(0x147)][_0x3ce7aa(0x12a)](Oe,this[_0x3ce7aa(0x2bf)],this[_0x3ce7aa(0x442)],this[_0x3ce7aa(0x47d)],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}[_0x2025fc(0xd8)](){const _0x130e7f=_0x2025fc;this[_0x130e7f(0x452)][_0x130e7f(0x32e)](this['_awaitingChangeset']);}[_0x2025fc(0xf4)](_0x5e739d){const _0x3e5f3d=_0x2025fc;return this[_0x3e5f3d(0x3a5)](),this[_0x3e5f3d(0x147)][_0x3e5f3d(0x12a)](Re,this[_0x3e5f3d(0x2bf)],this[_0x3e5f3d(0x442)],null,this[_0x3e5f3d(0x398)],this[_0x3e5f3d(0x452)],_0x5e739d);}[_0x2025fc(0x2d0)](_0x5973c4,_0x3401a1){const _0x4d46d1=_0x2025fc;var _0x11fd3b;_0x5973c4===((_0x11fd3b=this[_0x4d46d1(0x47d)])==null?void 0x0:_0x11fd3b[_0x4d46d1(0x153)])&&(this[_0x4d46d1(0xd8)](),this[_0x4d46d1(0xda)]=_0x3401a1===0x0?0x3e8:_0x3401a1*0x2);}[_0x2025fc(0x3a5)](){const _0x42f3d0=_0x2025fc;var _0x125bac;(_0x125bac=this['_sender'])==null||_0x125bac[_0x42f3d0(0x2dd)](),this['_resendTimeout']=0x0;}};me=$e([A(0x6,_0x5847bf(_0x5d7671)),A(0x7,_0x5847bf(_0x389697)),A(0x8,_0x5847bf(z)),A(0x9,_0x28287a),A(0xa,_0x49d195),A(0xb,_0x2fbfa5),A(0xc,_0x4bbe15)],me);let Re=class extends He{constructor(_0x2a4454,_0x21b930,_0x5c1aad,_0x391f10,_0x22904d,_0x180c8b=!0x1,_0x4a7d9e,_0x5c37b3,_0x41424f,_0x15c481,_0x38fe09,_0x44fed0,_0x392150){const _0x4bbb8e=_0x2025fc;super(_0x2a4454,_0x21b930,_0x5c1aad,_0x391f10,_0x22904d,_0x5c37b3,_0x41424f,_0x38fe09,_0x15c481),g(this,_0x4bbb8e(0x2e8),'conflict'),(this['_isPermissionRej']=_0x180c8b,this['_permissionService']=_0x4a7d9e,this[_0x4bbb8e(0x3a9)]=_0x44fed0,this[_0x4bbb8e(0x2e3)]=_0x392150,this[_0x4bbb8e(0x125)](),this[_0x4bbb8e(0x1f8)](),this[_0x4bbb8e(0x2d9)]());}['appendMutation'](){return this;}[_0x2025fc(0xfa)](){return this;}[_0x2025fc(0x40f)](){return this;}[_0x2025fc(0xa5)](){return this;}[_0x2025fc(0x412)](){return this;}[_0x2025fc(0x242)](){return this;}[_0x2025fc(0x375)](){return this;}[_0x2025fc(0xd8)](){const _0xc5ad8f=_0x2025fc;throw new Error(_0xc5ad8f(0x28f));}['_clearLocalCache'](){const _0x135bed=_0x2025fc;this['_localCacheService']['updateOfflineData'](this[_0x135bed(0x2bf)],this[_0x135bed(0x442)],null,[]);}['_showConflictNotification'](){const _0x117c98=_0x2025fc;this['_isPermissionRej']?this[_0x117c98(0x2e3)][_0x117c98(0x3c2)]({'title':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x292)),'content':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x1a2)),'type':_0x117c98(0x279),'duration':0x0}):this[_0x117c98(0x2e3)][_0x117c98(0x3c2)]({'title':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x288)),'content':this[_0x117c98(0x3a9)]['t'](_0x117c98(0x103)),'type':_0x117c98(0x279),'duration':0x0});}[_0x2025fc(0x2d9)](){const _0x258d35=_0x2025fc;this[_0x258d35(0x2fa)][_0x258d35(0x2ce)](new _0x232ff6(this[_0x258d35(0x2bf)])['id'],!0x1);}};Re=$e([A(0x6,_0x5847bf(_0x1700fb)),A(0x7,_0x28287a),A(0x8,_0x4bbe15),A(0x9,_0x5847bf(z)),A(0xa,_0x5847bf(_0x389697)),A(0xb,_0x5847bf(_0x4b4756)),A(0xc,_0x28a3f3)],Re);let Oe=class extends He{constructor(_0x5649e1,_0x757da0,_0x4bd29c,_0x161f5b,_0x473e20,_0x205633,_0x4a956a,_0x524476,_0x390277,_0x2d3d72){const _0x4cde14=_0x2025fc;super(_0x5649e1,_0x757da0,_0x4bd29c,_0x161f5b,_0x473e20,_0x390277,_0x2d3d72,_0x4a956a,_0x524476),g(this,_0x4cde14(0x2e8),_0x4cde14(0x13e)),this[_0x4cde14(0x147)]=_0x205633;}['appendMutation'](_0xec3e34){const _0x2d380e=_0x2025fc;return this[_0x2d380e(0x398)][_0x2d380e(0x22f)](_0xec3e34),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x18af5d){const _0x2068cd=_0x2025fc;throw new Error(_0x2068cd(0x282));}['onRemoteAck'](){const _0x3f8656=_0x2025fc;throw new Error(_0x3f8656(0x334));}[_0x2025fc(0xa5)](){const _0x5f32a2=_0x2025fc;throw new Error(_0x5f32a2(0x329));}[_0x2025fc(0x412)](){return this;}[_0x2025fc(0x242)](){return this;}[_0x2025fc(0x375)](){const _0x1f81e4=_0x2025fc,{_injector:_0x5f5b8a,_pendingMutations:_0x35d943,_awaitingChangeset:_0x183ee8,unitID:_0x1395e4,_handler:_0x48e0db,type:_0x19b0c9}=this,_0x66f909=Ji(_0x5f5b8a,_0x1395e4,_0x19b0c9,_0x183ee8,_0x35d943,_0x48e0db);return _0x66f909 instanceof pe?_0x66f909['_schedule']():(_0x66f909 instanceof me||_0x66f909 instanceof Te)&&_0x66f909[_0x1f81e4(0xd8)](),_0x66f909;}['resend'](){const _0x4f1283=_0x2025fc;throw new Error(_0x4f1283(0x463));}};Oe=$e([A(0x5,_0x5847bf(_0x5d7671)),A(0x6,_0x5847bf(_0x389697)),A(0x7,_0x5847bf(z)),A(0x8,_0x28287a),A(0x9,_0x4bbe15)],Oe);let ce=class extends He{constructor(_0x2aa959,_0x40dc1d,_0x11bd12,_0x2b90ea,_0xae4049,_0xb6aaad,_0x84fd2e,_0x5cdd09,_0x1a2961,_0xd5fbd4,_0x29256a,_0x9ded7c,_0x79b74b,_0x48f2a0){const _0x2a5910=_0x2025fc;super(_0x2aa959,_0x40dc1d,_0x11bd12,_0x2b90ea,_0x84fd2e,_0x9ded7c,_0x79b74b,_0x1a2961,_0xd5fbd4),g(this,_0x2a5910(0x2e8),_0x2a5910(0x377)),(this[_0x2a5910(0x35f)]=_0xae4049,this[_0x2a5910(0x162)]=_0xb6aaad,this[_0x2a5910(0x147)]=_0x5cdd09,this[_0x2a5910(0xc1)]=_0x29256a,this[_0x2a5910(0x128)]=_0x48f2a0);}[_0x2025fc(0x143)](_0x525c58){const _0x206a23=_0x2025fc;try{const _0x1d6297=[..._0x525c58,...this[_0x206a23(0x162)]],_0x3712e7=[this[_0x206a23(0x47d)]||this[_0x206a23(0x35f)]][_0x206a23(0xb8)](_0x28da36=>!!_0x28da36);let _0x4f5499,_0x1efd2a;if(_0x3712e7[_0x206a23(0x161)]){const _0x2751a9=this[_0x206a23(0x128)]['transformChangesets'](_0x1d6297,_0x3712e7,!0x1);if(!_0xba8c63(_0x2751a9))throw _0x2751a9['error'];_0x4f5499=_0x2751a9[_0x206a23(0x26a)],_0x1efd2a=_0x2751a9[_0x206a23(0x117)];}else _0x4f5499=_0x1d6297,_0x1efd2a=[];let _0x7dea70=this[_0x206a23(0x398)];_0x4f5499[_0x206a23(0x2e1)](_0x27095e=>{const _0x3fd13d=_0x206a23;let _0x21183c;if(_0x7dea70[_0x3fd13d(0x161)]){const _0x17c628=this[_0x3fd13d(0x128)][_0x3fd13d(0x39e)](_0x27095e,_0x7dea70);if(!_0x341c91(_0x17c628))throw _0x17c628[_0x3fd13d(0x279)];_0x21183c=_0x17c628[_0x3fd13d(0x26a)],_0x7dea70=_0x17c628[_0x3fd13d(0x270)];}else _0x21183c=_0x27095e;this[_0x3fd13d(0x2ae)](_0x21183c);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x206a23(0x47d)]&&_0x1efd2a[_0x206a23(0x161)]&&(_0x1efd2a[0x0][_0x206a23(0x1eb)]=this['_getCurrentRevision']());let _0x237365;if(this['_awaitingChangeset']&&_0x7dea70[_0x206a23(0x161)]!==0x0)_0x237365=this['_injector'][_0x206a23(0x12a)](me,this[_0x206a23(0x2bf)],this[_0x206a23(0x442)],_0x1efd2a[0x0],_0x7dea70,this[_0x206a23(0x452)],void 0x0);else{if(this['_awaitingChangeset']&&_0x7dea70['length']===0x0)_0x1efd2a[0x0][_0x206a23(0x1eb)]=this['_getCurrentRevision'](),_0x237365=this['_injector']['createInstance'](Te,this['unitID'],this[_0x206a23(0x442)],_0x1efd2a[0x0],this[_0x206a23(0x452)]);else{if(_0x7dea70['length']!==0x0){const _0x2b5be8=this['_injector']['createInstance'](pe,this['unitID'],this[_0x206a23(0x442)],_0x7dea70,this[_0x206a23(0x452)]);_0x2b5be8['_schedule'](),_0x237365=_0x2b5be8;}else _0x237365=this[_0x206a23(0x147)]['createInstance'](Fe,this[_0x206a23(0x2bf)],this[_0x206a23(0x442)],this[_0x206a23(0x452)]);}}return _0x237365[_0x206a23(0x2e9)](),_0x237365;}catch(_0x4ad4ef){return this['_logService'][_0x206a23(0x279)]('[FetchMissState]',_0x206a23(0x42c),_0x4ad4ef),this['_injector']['createInstance'](Re,this[_0x206a23(0x2bf)],this[_0x206a23(0x442)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x206a23(0x452)],!0x1);}}[_0x2025fc(0xd8)](){const _0x5c18ef=_0x2025fc;throw new Error(_0x5c18ef(0x17f));}[_0x2025fc(0x2b7)](_0x4d5bc9){return this['_pendingMutations']['push'](_0x4d5bc9),this;}[_0x2025fc(0xfa)](_0xcd8a86){const _0x195cd5=_0x2025fc;return this['_queuedRemoteChangesets'][_0x195cd5(0x22f)](_0xcd8a86),this;}[_0x2025fc(0x40f)](_0x4f0872){const _0x1743f6=_0x2025fc;if(this[_0x1743f6(0x47d)])return this[_0x1743f6(0x35f)]=this[_0x1743f6(0x47d)],this[_0x1743f6(0x47d)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x2025fc(0xa5)](_0x514268){const _0x31ee05=_0x2025fc;return this[_0x31ee05(0xf4)](!!(_0x514268!=null&&_0x514268[_0x31ee05(0x1d3)]));}['onRemoteRetry'](){return this;}['toggleOffline'](){const _0x58eda8=_0x2025fc;return this['_injector'][_0x58eda8(0x12a)](Oe,this[_0x58eda8(0x2bf)],this[_0x58eda8(0x442)],this[_0x58eda8(0x47d)],this[_0x58eda8(0x398)],this[_0x58eda8(0x452)]);}[_0x2025fc(0x375)](){return this;}[_0x2025fc(0xf4)](_0xe29a5){const _0x2e6d8c=_0x2025fc;return this[_0x2e6d8c(0x147)][_0x2e6d8c(0x12a)](Re,this['unitID'],this['type'],this[_0x2e6d8c(0x47d)],this[_0x2e6d8c(0x398)],this[_0x2e6d8c(0x452)],_0xe29a5);}};ce=$e([A(0x7,_0x5847bf(_0x5d7671)),A(0x8,_0x5847bf(_0x389697)),A(0x9,_0x5847bf(z)),A(0xa,_0x49d195),A(0xb,_0x28287a),A(0xc,_0x4bbe15),A(0xd,_0x2fbfa5)],ce);function Ji(_0xb5fe79,_0x2e1f33,_0x2e7dd2,_0x2852d2,_0x597de3,_0x22c6ab){const _0x1de5d8=_0x2025fc;return _0x2852d2&&_0x597de3[_0x1de5d8(0x161)]?_0xb5fe79[_0x1de5d8(0x12a)](me,_0x2e1f33,_0x2e7dd2,_0x2852d2,_0x597de3,_0x22c6ab,void 0x0):_0x2852d2?_0xb5fe79['createInstance'](Te,_0x2e1f33,_0x2e7dd2,_0x2852d2,_0x22c6ab):_0x597de3[_0x1de5d8(0x161)]?_0xb5fe79[_0x1de5d8(0x12a)](pe,_0x2e1f33,_0x2e7dd2,_0x597de3,_0x22c6ab):_0xb5fe79['createInstance'](Fe,_0x2e1f33,_0x2e7dd2,_0x22c6ab);}var Mo=Object[_0x2025fc(0x385)],xo=Object[_0x2025fc(0x18c)],Ps=(_0xd8fba3,_0x218257,_0x21e9b3,_0x30c238)=>{const _0x8eb70d=_0x2025fc;for(var _0x495b2e=_0x30c238>0x1?void 0x0:_0x30c238?xo(_0x218257,_0x21e9b3):_0x218257,_0x512f5e=_0xd8fba3[_0x8eb70d(0x161)]-0x1,_0x242571;_0x512f5e>=0x0;_0x512f5e--)(_0x242571=_0xd8fba3[_0x512f5e])&&(_0x495b2e=(_0x30c238?_0x242571(_0x218257,_0x21e9b3,_0x495b2e):_0x242571(_0x495b2e))||_0x495b2e);return _0x30c238&&_0x495b2e&&Mo(_0x218257,_0x21e9b3,_0x495b2e),_0x495b2e;},H=(_0x2d54bc,_0x137bf2)=>(_0x4aab23,_0x5418eb)=>_0x137bf2(_0x4aab23,_0x5418eb,_0x2d54bc);let Nt=class extends _0x5ec0cb{constructor(_0x1927cb,_0x1b63f0,_0x87e79a,_0x14117a,_0xda6bb5,_0x27b593,_0x14b808,_0x40fa00,_0x535be6,_0x5c53c4,_0x23c6c0,_0x24fe38,_0x3e5485){const _0x50ae10=_0x2025fc;super(),g(this,_0x50ae10(0x3ae),new _0x1074c2(null)),g(this,_0x50ae10(0x361),this[_0x50ae10(0x3ae)][_0x50ae10(0xf7)]()),g(this,_0x50ae10(0x3be)),g(this,_0x50ae10(0x45e),!0x1),g(this,_0x50ae10(0x3bc),''),g(this,'_changesetReqId',0x0),g(this,_0x50ae10(0x1cf),this[_0x50ae10(0x361)][_0x50ae10(0x150)](_0x2e263c(_0x2e4eca=>_0x2e4eca?_0x2e4eca[_0x50ae10(0x2e8)]:J['OFFLINE']),_0x2c1940(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x50ae10(0x20f),[]),(this[_0x50ae10(0x2bf)]=_0x1927cb,this['session']=_0x1b63f0,this['_type']=_0x87e79a,this[_0x50ae10(0x147)]=_0x14117a,this[_0x50ae10(0x2a4)]=_0xda6bb5,this[_0x50ae10(0xff)]=_0x27b593,this[_0x50ae10(0x3a9)]=_0x14b808,this[_0x50ae10(0x1b0)]=_0x40fa00,this[_0x50ae10(0xc1)]=_0x535be6,this['_commandService']=_0x5c53c4,this[_0x50ae10(0x362)]=_0x23c6c0,this[_0x50ae10(0x2fa)]=_0x24fe38,this['_singleActiveUnitService']=_0x3e5485);}get['state'](){const _0x21a8ba=_0x2025fc;return this[_0x21a8ba(0x3be)];}async[_0x2025fc(0x289)](){const _0x2d3dcf=_0x2025fc;if(this[_0x2d3dcf(0x2cf)])throw new Error(_0x2d3dcf(0x22a));await this[_0x2d3dcf(0x100)]();}['pauseCollaboration'](){const _0x279a0a=_0x2025fc;return this[_0x279a0a(0x45e)]=!0x0,_0x7c72c3(()=>{const _0x513910=_0x279a0a;this['_collaborationPaused']=!0x1,this[_0x513910(0x3cb)]();});}[_0x2025fc(0x19d)](_0x9af5f){const _0x3bd759=_0x2025fc;this[_0x3bd759(0x3be)]=_0x9af5f,this['_state$']['next'](_0x9af5f);}async[_0x2025fc(0x100)](){const _0x9c0cdb=_0x2025fc;var _0x4cc3e6;this['_updateState'](await this[_0x9c0cdb(0x351)]()),this[_0x9c0cdb(0x3c6)]&&((_0x4cc3e6=this[_0x9c0cdb(0x3c6)])==null||_0x4cc3e6[_0x9c0cdb(0xf2)](this[_0x9c0cdb(0x2bf)]),this[_0x9c0cdb(0x10c)](this[_0x9c0cdb(0x3c6)][_0x9c0cdb(0x430)](this[_0x9c0cdb(0x2bf)])[_0x9c0cdb(0x140)](_0xd9e257=>{const _0x436f85=_0x9c0cdb;this[_0x436f85(0xc1)][_0x436f85(0x456)](_0x436f85(0x124),_0x436f85(0xfb),_0xd9e257),_0xd9e257===Ki['OTHER_CLIENTS_EDITING']?(this[_0x436f85(0x362)][_0x436f85(0x3c2)]({'content':this['_localeService']['t'](_0x436f85(0x16e)),'type':_0x3f6750[_0x436f85(0x3b9)]}),this['_permissionService'][_0x436f85(0x2ce)](new _0x232ff6(this[_0x436f85(0x2bf)])['id'],!0x1),this[_0x436f85(0x2fa)][_0x436f85(0x1e8)](!0x1)):(this[_0x436f85(0x2fa)][_0x436f85(0x2ce)](new _0x232ff6(this[_0x436f85(0x2bf)])['id'],!0x0),this[_0x436f85(0x2fa)][_0x436f85(0x1e8)](!0x0));})));let _0x3e75b4=!0x1;return this[_0x9c0cdb(0x10c)](this[_0x9c0cdb(0x17e)]['sessionStatus$'][_0x9c0cdb(0x140)](_0x4fb7a2=>{const _0x5b6cdc=_0x9c0cdb;_0x4fb7a2===fe[_0x5b6cdc(0xad)]?this['_toggleOnline'](_0x3e75b4):_0x4fb7a2===fe[_0x5b6cdc(0x23c)]&&(_0x3e75b4=!0x0,this['_toggleOffline']());})),this[_0x9c0cdb(0x10c)](this['session'][_0x9c0cdb(0x142)][_0x9c0cdb(0x140)](_0x5068ad=>{const _0x17625b=_0x9c0cdb;try{switch(_0x5068ad['eventID']){case _0x3a14f4[_0x17625b(0x36e)]:{this[_0x17625b(0x363)](_0x3cc097(_0x5068ad[_0x17625b(0x2a0)]));break;}case _0x3a14f4[_0x17625b(0x3d7)]:{this[_0x17625b(0x1d0)](_0x5068ad['data']);break;}case _0x3a14f4[_0x17625b(0x180)]:{this['_onRemoteRejected']();break;}case _0x3a14f4[_0x17625b(0x32f)]:{this[_0x17625b(0x132)](_0x5068ad['data']);break;}case _0x3a14f4['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x17625b(0xdf)](_0x5068ad[_0x17625b(0x2a0)][_0x17625b(0x2ea)][_0x17625b(0x23a)](_0x118a14=>_0x3cc097(_0x118a14)));break;}case _0x3a14f4[_0x17625b(0x102)]:this[_0x17625b(0x193)]({'isPermissionRej':!0x0});}}catch(_0x4051dd){throw console[_0x17625b(0x279)]('Error\x20on\x20receiving\x20event',_0x4051dd),_0x4051dd;}})),this[_0x9c0cdb(0x3be)];}[_0x2025fc(0x4ad)](){this['_transitionLocked']=!0x1;}[_0x2025fc(0x29d)](){const _0x10b2b6=_0x2025fc;if(this['_transitionLocked'])throw new Error(_0x10b2b6(0x1a0));this[_0x10b2b6(0x470)]=!0x0;}['_onLocalMutation'](_0xd04655){const _0x42b150=_0x2025fc;this[_0x42b150(0x29d)](),this[_0x42b150(0x19d)](this['_state'][_0x42b150(0x2b7)](_0xd04655)),this[_0x42b150(0x4ad)]();}[_0x2025fc(0x363)](_0x4ffe98){const _0x1d4bdf=_0x2025fc;if(!(_0x4ffe98['revision']<=this[_0x1d4bdf(0x1b0)][_0x1d4bdf(0x21f)](this[_0x1d4bdf(0x2bf)]))){if(this[_0x1d4bdf(0x45e)]){this[_0x1d4bdf(0x20f)][_0x1d4bdf(0x22f)](_0x4ffe98);return;}this[_0x1d4bdf(0x2c0)](_0x4ffe98);}}['_exhaustRemoteChangesetQueue'](){const _0x4d93a6=_0x2025fc;this[_0x4d93a6(0x20f)][_0x4d93a6(0x2e1)](_0x56e299=>this[_0x4d93a6(0x2c0)](_0x56e299)),this[_0x4d93a6(0x20f)]=[];}['_applyRemoteChangeset'](_0x8f58a){const _0x377782=_0x2025fc,_0x58c823=this[_0x377782(0xff)][_0x377782(0x364)]['fetchThroughInterceptors'](this[_0x377782(0xff)][_0x377782(0x364)][_0x377782(0x25e)]()['COMPRESS_MUTATION_APPLY'])(_0x8f58a['mutations'],null)||_0x8f58a[_0x377782(0x335)],_0x2d859d={..._0x8f58a,'mutations':_0x58c823};this[_0x377782(0x29d)](),this['_updateState'](this[_0x377782(0x3be)][_0x377782(0xfa)](_0x2d859d)),this['_unlockTransition']();}[_0x2025fc(0x1d0)](_0x4ca285){const _0x383c32=_0x2025fc;this['_lockTransition'](),this[_0x383c32(0x19d)](this[_0x383c32(0x3be)]['onRemoteAck'](_0x4ca285)),this[_0x383c32(0x4ad)]();}['_onRemoteRejected'](_0x1d84d1){const _0x95c42=_0x2025fc;this['_lockTransition'](),this[_0x95c42(0x19d)](this[_0x95c42(0x3be)][_0x95c42(0xa5)](_0x1d84d1)),this[_0x95c42(0x4ad)]();}[_0x2025fc(0x132)](_0x84ced8){const _0x264fa1=_0x2025fc;this['_lockTransition'](),this['_updateState'](this[_0x264fa1(0x3be)][_0x264fa1(0x412)](_0x84ced8)),this[_0x264fa1(0x4ad)]();}[_0x2025fc(0xdf)](_0x508599){const _0x434e81=_0x2025fc;if(!(this[_0x434e81(0x3be)]instanceof ce))throw new TypeError(_0x434e81(0x3fe));const _0xd1ec0d=_0x508599[_0x434e81(0x23a)](_0x3e1681=>{const _0x2fbd62=_0x434e81,_0x4c73e7=this[_0x2fbd62(0xff)]['interceptor'][_0x2fbd62(0x3ca)](this['_compressMutationService']['interceptor'][_0x2fbd62(0x25e)]()[_0x2fbd62(0x3b2)])(_0x3e1681[_0x2fbd62(0x335)],null)||_0x3e1681[_0x2fbd62(0x335)];return{..._0x3e1681,'mutations':_0x4c73e7};});this[_0x434e81(0x29d)](),this['_updateState'](this[_0x434e81(0x3be)]['onMissedChangesetFetched'](_0xd1ec0d)),this[_0x434e81(0x4ad)]();}['_toggleOffline'](){const _0x281364=_0x2025fc;this['_lockTransition'](),this[_0x281364(0x19d)](this['_state'][_0x281364(0x242)]()),this[_0x281364(0x4ad)]();}['_toggleOnline'](_0x1855f6=!0x1){const _0x310491=_0x2025fc;this[_0x310491(0x29d)](),this[_0x310491(0x19d)](this[_0x310491(0x3be)]['toggleOnline']()),this[_0x310491(0x4ad)]();const _0x1a063a=this[_0x310491(0x3be)];_0x1855f6&&_0x1a063a instanceof Fe&&(this['_lockTransition'](),this[_0x310491(0x19d)](_0x1a063a[_0x310491(0x2fd)]()),this['_unlockTransition']());}async[_0x2025fc(0x351)](){return new Promise(_0x402e1d=>{const _0x6a231=_0x46d8;this[_0x6a231(0x17e)]['sessionStatus$'][_0x6a231(0x150)](_0x54d89e(0x1))[_0x6a231(0x140)](async _0x2d4530=>{const _0x59c7ec=_0x6a231;_0x402e1d(await this[_0x59c7ec(0x3af)](_0x2d4530===fe['ONLINE']));});});}['_createHandler'](){const _0x79d312=_0x2025fc,_0x37cfaa=this[_0x79d312(0x2bf)];return{'onStateChange':(_0x2d8eca,_0x372a3b)=>{const _0xd40402=_0x79d312;if(_0x2d8eca!==this[_0xd40402(0x3be)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2d8eca[_0xd40402(0x2e8)]+'\x0aAfter:\x20'+_0x372a3b[_0xd40402(0x2e8)]+_0xd40402(0x3d8)+this['_state'][_0xd40402(0x2e8)]);this[_0xd40402(0x19d)](_0x372a3b);},'onSendChangeset':_0x546711=>{const _0xbd2614=_0x79d312;_0x546711[_0xbd2614(0x427)]||(_0x546711[_0xbd2614(0x427)]=this[_0xbd2614(0x3bc)],_0x546711[_0xbd2614(0x153)]=++this[_0xbd2614(0x198)]);const _0x3da6e5={'eventID':_0x3a14f4[_0xbd2614(0x1ae)],'data':{'unitID':_0x546711['unitID'],'unitType':this['_type'],'changeset':_0x546711,'memberID':this[_0xbd2614(0x17e)][_0xbd2614(0x316)]()}};this['session'][_0xbd2614(0xc9)](_0x3da6e5,this['unitID']);},'onMissingChangesets':({from:_0x4da1f9,to:_0x3e8389})=>{const _0x15702f=_0x79d312;this[_0x15702f(0xc1)][_0x15702f(0x456)]('[CollaborationEntity]',_0x15702f(0x424)+_0x4da1f9+_0x15702f(0x272)+_0x3e8389);const _0x2ec3c9={'eventID':_0x3a14f4[_0x15702f(0x37c)],'data':{'unitID':_0x37cfaa,'unitType':this[_0x15702f(0xe6)],'from':_0x4da1f9,'to':_0x3e8389}};this[_0x15702f(0x17e)][_0x15702f(0xc9)](_0x2ec3c9,this[_0x15702f(0x2bf)]);}};}async['_createInitialStateImpl'](_0x1adb30){const _0xff8a0d=_0x2025fc;var _0x8bf60c,_0x23efc2;const _0x4c0ed8=await this['_localCacheService']['loadOfflineData'](this[_0xff8a0d(0x2bf)]),_0x182328=(_0x8bf60c=_0x4c0ed8==null?void 0x0:_0x4c0ed8[_0xff8a0d(0x335)])!=null?_0x8bf60c:[],_0xc618ac=(_0x23efc2=_0x4c0ed8==null?void 0x0:_0x4c0ed8[_0xff8a0d(0x3b0)])!=null?_0x23efc2:null,_0x5cc9a6=!!(_0xc618ac!=null&&_0xc618ac[_0xff8a0d(0x427)])&&!!(_0xc618ac!=null&&_0xc618ac['reqId']);this[_0xff8a0d(0x3bc)]=_0x5cc9a6?_0xc618ac[_0xff8a0d(0x427)]:ho(),this[_0xff8a0d(0x198)]=_0x5cc9a6?_0xc618ac[_0xff8a0d(0x153)]:0x0;const _0x3c589e=this[_0xff8a0d(0x2bf)];try{this[_0xff8a0d(0x3c9)](_0xc618ac,_0x182328);}catch(_0x5d6d42){this[_0xff8a0d(0xc1)][_0xff8a0d(0x279)](_0x5d6d42);}const _0x5a76a6=this['_createHandler']();if(_0x1adb30){const _0x52e6d6=Ji(this[_0xff8a0d(0x147)],_0x3c589e,this[_0xff8a0d(0xe6)],_0xc618ac,_0x182328,_0x5a76a6);return _0x52e6d6 instanceof pe?_0x52e6d6[_0xff8a0d(0x34f)]():(_0x52e6d6 instanceof me||_0x52e6d6 instanceof Te)&&_0x52e6d6[_0xff8a0d(0xd8)](),_0x52e6d6;}return this['_injector']['createInstance'](Oe,_0x3c589e,this[_0xff8a0d(0xe6)],_0xc618ac,_0x182328,_0x5a76a6);}[_0x2025fc(0x3c9)](_0x55c389,_0x437396){const _0x1d7de7=_0x2025fc;var _0x42a678,_0x294135;const _0xcbfea9=this[_0x1d7de7(0xff)][_0x1d7de7(0x364)][_0x1d7de7(0x3ca)](this[_0x1d7de7(0xff)][_0x1d7de7(0x364)][_0x1d7de7(0x25e)]()[_0x1d7de7(0x3b2)]);(_0x42a678=_0xcbfea9((_0x55c389==null?void 0x0:_0x55c389[_0x1d7de7(0x335)])||[],null))==null||_0x42a678[_0x1d7de7(0x2e1)](_0x499eae=>this[_0x1d7de7(0x481)][_0x1d7de7(0x344)](_0x499eae['id'],_0x499eae['params'])),(_0x294135=_0xcbfea9(_0x437396||[],null))==null||_0x294135[_0x1d7de7(0x2e1)](_0x5d7b80=>this[_0x1d7de7(0x481)][_0x1d7de7(0x344)](_0x5d7b80['id'],_0x5d7b80[_0x1d7de7(0x3a0)]));}};Nt=Ps([H(0x3,_0x5847bf(_0x5d7671)),H(0x4,_0x5847bf(z)),H(0x5,_0x5847bf(_0x550e78)),H(0x6,_0x5847bf(_0x4b4756)),H(0x7,_0x5847bf(_0x389697)),H(0x8,_0x49d195),H(0x9,_0x28287a),H(0xa,_0x3d017a),H(0xb,_0x1700fb),H(0xc,_0x133fb4(jt))],Nt);let ls=class extends Nt{constructor(_0x21c6ca,_0xe59817,_0x489d6b,_0x9dc01,_0xc5ad17,_0xcf57e9,_0x4c68a0,_0x34d361,_0x514c0f,_0x34ef47,_0x4697ee,_0x57e29b,_0x4c4ce5,_0x12a525,_0xb24272,_0x39a125,_0x2c9d39,_0x444174){const _0x2d4b3a=_0x2025fc;super(_0x21c6ca,_0x489d6b,_0xe59817,_0x9dc01,_0xc5ad17,_0xcf57e9,_0x4c68a0,_0x34d361,_0x12a525,_0xb24272,_0x39a125,_0x2c9d39,_0x444174),this['unitID']=_0x21c6ca,this[_0x2d4b3a(0x442)]=_0xe59817,this['_docStateChangeManagerService']=_0x514c0f,this[_0x2d4b3a(0x1f6)]=_0x34ef47,this[_0x2d4b3a(0x136)]=_0x4697ee,this[_0x2d4b3a(0x348)]=_0x57e29b,this[_0x2d4b3a(0x1ee)]=_0x4c4ce5;}['_createHandler'](){const _0x328915=_0x2025fc,_0x25f8a5=super[_0x328915(0x230)]();return _0x25f8a5[_0x328915(0x38c)]=_0x48c9c6=>this['_docTransformIMECacheService'][_0x328915(0xcb)](_0x48c9c6),_0x25f8a5[_0x328915(0x401)]=_0x3da323=>this[_0x328915(0x136)][_0x328915(0x15d)](_0x3da323),_0x25f8a5[_0x328915(0x106)]=_0x3ea21c=>this['_docTransformSelectionsService']['transformSelections'](_0x3ea21c),_0x25f8a5[_0x328915(0x1f5)]=_0x4b1d1a=>this['_docSyncEditingCollabCursorService'][_0x328915(0xc2)](_0x4b1d1a),_0x25f8a5['onTransformRemoteChangesetByIMECache']=_0x5f1d9a=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x5f1d9a),_0x25f8a5[_0x328915(0x2eb)]=_0x467342=>this[_0x328915(0x136)]['transformRemoteChangeset'](_0x467342),_0x25f8a5;}async['_init'](){const _0x4476d4=_0x2025fc,_0x5c4c51=await super[_0x4476d4(0x100)]();return this[_0x4476d4(0x10c)](this[_0x4476d4(0x10a)][_0x4476d4(0x359)][_0x4476d4(0x150)](_0x7b6507(this[_0x4476d4(0x345)]))['subscribe'](_0x329516=>{const _0x42bbbf=_0x4476d4;if(_0x329516==null)return;const {unitId:_0x1f701c,redoState:_0x223f86,commandId:_0x469d0a}=_0x329516;if(_0x1f701c!==this[_0x42bbbf(0x2bf)])return;const _0x965c94={'id':_0x469d0a,'type':_0x4f220f[_0x42bbbf(0x2c5)],'params':{'unitId':_0x1f701c,'actions':_0x223f86[_0x42bbbf(0x49a)],'textRanges':null}};this[_0x42bbbf(0x21c)](_0x965c94);})),this['disposeWithMe'](this[_0x4476d4(0x481)][_0x4476d4(0x18a)]((_0x35c55f,_0x53db8d)=>{const _0x3abd8a=_0x4476d4;if(_0x35c55f['type']!==_0x4f220f[_0x3abd8a(0x2c5)]||_0x53db8d!=null&&_0x53db8d[_0x3abd8a(0xae)]||_0x53db8d!=null&&_0x53db8d[_0x3abd8a(0x2df)]||_0x35c55f['id']===_0x3ef379['id'])return;const _0x3dc6f2=_0x35c55f[_0x3abd8a(0x3a0)];if((_0x3dc6f2==null?void 0x0:_0x3dc6f2[_0x3abd8a(0x273)])!==this[_0x3abd8a(0x2bf)])return;const _0x2c8a5e=_0x35c55f,_0x378646=this[_0x3abd8a(0xff)]['interceptor'][_0x3abd8a(0x3ca)](this[_0x3abd8a(0xff)][_0x3abd8a(0x364)][_0x3abd8a(0x25e)]()[_0x3abd8a(0x1a7)])([_0x2c8a5e],null)||[_0x2c8a5e];this[_0x3abd8a(0x21c)](_0x378646[0x0]);})),_0x5c4c51;}};ls=Ps([H(0x3,_0x5847bf(_0x5d7671)),H(0x4,_0x5847bf(z)),H(0x5,_0x5847bf(_0x550e78)),H(0x6,_0x5847bf(_0x4b4756)),H(0x7,_0x5847bf(_0x389697)),H(0x8,_0x5847bf(_0x4ee933)),H(0x9,_0x5847bf(yt)),H(0xa,_0x5847bf(Dt)),H(0xb,_0x5847bf(Pt)),H(0xc,_0x5847bf(Ds)),H(0xd,_0x49d195),H(0xe,_0x28287a),H(0xf,_0x3d017a),H(0x10,_0x1700fb),H(0x11,_0x133fb4(jt))],ls);let _s=class extends Nt{constructor(_0x5725e6,_0xec50dc,_0x387cbb,_0x5bbece,_0x396fb1,_0x423d28,_0x3f6738,_0x407e58,_0xd095b9,_0x4ca99e,_0x1b13f5,_0x37474e,_0x2e3f3d,_0x12f895){const _0x28ddc1=_0x2025fc;super(_0x5725e6,_0x387cbb,_0xec50dc,_0x5bbece,_0x396fb1,_0x423d28,_0x3f6738,_0x407e58,_0x4ca99e,_0x1b13f5,_0x37474e,_0x2e3f3d,_0x12f895),this[_0x28ddc1(0x2bf)]=_0x5725e6,this['type']=_0xec50dc,this[_0x28ddc1(0x31b)]=_0xd095b9;}[_0x2025fc(0x230)](){const _0x363bac=_0x2025fc,_0x4ae7d4=super[_0x363bac(0x230)]();return _0x4ae7d4[_0x363bac(0x106)]=_0xc3980a=>this[_0x363bac(0x31b)][_0x363bac(0x231)](_0xc3980a),_0x4ae7d4;}async[_0x2025fc(0x100)](){const _0x5f02c4=_0x2025fc,_0x3058d7=await super[_0x5f02c4(0x100)]();return this[_0x5f02c4(0x10c)](this[_0x5f02c4(0x481)][_0x5f02c4(0x18a)]((_0x471a1d,_0x324ad9)=>{const _0x26743f=_0x5f02c4;if(_0x471a1d['type']!==_0x4f220f[_0x26743f(0x2c5)]||_0x324ad9!=null&&_0x324ad9[_0x26743f(0xae)]||_0x324ad9!=null&&_0x324ad9[_0x26743f(0x2df)])return;const _0x34c8bd=_0x471a1d[_0x26743f(0x3a0)];if((_0x34c8bd==null?void 0x0:_0x34c8bd['unitId'])!==this['unitID'])return;const _0x139340=_0x471a1d,_0x496bb5=this['_compressMutationService'][_0x26743f(0x364)][_0x26743f(0x3ca)](this[_0x26743f(0xff)][_0x26743f(0x364)][_0x26743f(0x25e)]()[_0x26743f(0x1a7)])([_0x139340],null)||[_0x139340];this['_onLocalMutation'](_0x496bb5[0x0]);})),_0x3058d7;}};_s=Ps([H(0x3,_0x5847bf(_0x5d7671)),H(0x4,_0x5847bf(z)),H(0x5,_0x5847bf(_0x550e78)),H(0x6,_0x5847bf(_0x4b4756)),H(0x7,_0x5847bf(_0x389697)),H(0x8,_0x5847bf(wt)),H(0x9,_0x49d195),H(0xa,_0x28287a),H(0xb,_0x3d017a),H(0xc,_0x1700fb),H(0xd,_0x133fb4(jt))],_s);var Lo=Object['defineProperty'],$o=Object[_0x2025fc(0x18c)],Ho=(_0x513d38,_0xc6d3bd,_0x208974,_0x2a774f)=>{const _0x31c576=_0x2025fc;for(var _0x52e8e9=_0x2a774f>0x1?void 0x0:_0x2a774f?$o(_0xc6d3bd,_0x208974):_0xc6d3bd,_0x3b52a3=_0x513d38[_0x31c576(0x161)]-0x1,_0x395f04;_0x3b52a3>=0x0;_0x3b52a3--)(_0x395f04=_0x513d38[_0x3b52a3])&&(_0x52e8e9=(_0x2a774f?_0x395f04(_0xc6d3bd,_0x208974,_0x52e8e9):_0x395f04(_0x52e8e9))||_0x52e8e9);return _0x2a774f&&_0x52e8e9&&Lo(_0xc6d3bd,_0x208974,_0x52e8e9),_0x52e8e9;},zt=(_0x164bfd,_0x411ea0)=>(_0x170b6f,_0x1bf0e7)=>_0x411ea0(_0x170b6f,_0x1bf0e7,_0x164bfd);let rt=class extends _0x5ec0cb{constructor(_0x2f2a0b,_0x617662,_0x5a9388){const _0x53985e=_0x2025fc;super(),g(this,'_entities',new Map()),g(this,_0x53985e(0x44e),new _0x1c0b9c()),(this[_0x53985e(0x147)]=_0x2f2a0b,this['_collabSessionService']=_0x617662,this[_0x53985e(0x3cf)]=_0x5a9388,this[_0x53985e(0x100)]());}['dispose'](){const _0x2d3dca=_0x2025fc;super['dispose'](),this[_0x2d3dca(0x3da)][_0x2d3dca(0x2e1)](_0xd8b1f1=>_0xd8b1f1['dispose']()),this[_0x2d3dca(0x3da)][_0x2d3dca(0x116)]();}['getCollabEntity'](_0x954c6f){const _0x323de5=_0x2025fc;var _0x183eed;return(_0x183eed=this[_0x323de5(0x3da)][_0x323de5(0x33e)](_0x954c6f))!=null?_0x183eed:null;}['getCollabEntity$'](_0x50048a){const _0x3c8b5b=_0x2025fc,_0x3c46c2=this[_0x3c8b5b(0x497)](_0x50048a);return _0x3c46c2?_0x43d0da(_0x3c46c2):this[_0x3c8b5b(0x44e)]['pipe'](_0xa0d892(_0x2e345f=>_0x2e345f[_0x3c8b5b(0x2bf)]===_0x50048a));}['_init'](){const _0x3ca4f9=_0x2025fc;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xb166dc['UNIVER_SHEET'])[_0x3ca4f9(0x150)](_0x7b6507(this[_0x3ca4f9(0x345)]),_0xca605e(0x10))[_0x3ca4f9(0x140)](async _0xd82d05=>{const _0x3c881b=_0x3ca4f9,_0x306e06=_0xd82d05[_0x3c881b(0x10b)](),_0x4b79e8=await this[_0x3c881b(0x429)](_0x306e06,ae[_0x3c881b(0x4a6)]);this['_entities'][_0x3c881b(0x39c)](_0x306e06,_0x4b79e8);}),this[_0x3ca4f9(0x3cf)]['getTypeOfUnitAdded$'](_0xb166dc['UNIVER_DOC'])['pipe'](_0x7b6507(this[_0x3ca4f9(0x345)]),_0xca605e(0x10))['pipe'](_0xa0d892(_0x54a4d2=>!_0x54a4d2['getUnitId']()['startsWith']('__')))['subscribe'](async _0x22d610=>{const _0x4b9139=_0x3ca4f9,_0x274528=_0x22d610[_0x4b9139(0x10b)](),_0x208812=await this[_0x4b9139(0x429)](_0x274528,ae[_0x4b9139(0x3ad)]);this[_0x4b9139(0x3da)][_0x4b9139(0x39c)](_0x274528,_0x208812);}),_0x38a986(this[_0x3ca4f9(0x3cf)][_0x3ca4f9(0x2f2)](_0xb166dc[_0x3ca4f9(0x4a6)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xb166dc['UNIVER_DOC']))[_0x3ca4f9(0x150)](_0x7b6507(this[_0x3ca4f9(0x345)]))[_0x3ca4f9(0x140)](_0x99ba42=>{const _0x2b6e71=_0x3ca4f9,_0x3b8bed=_0x99ba42['getUnitId'](),_0x471671=this['_entities'][_0x2b6e71(0x33e)](_0x3b8bed);_0x471671&&(_0x471671[_0x2b6e71(0x1e5)](),this['_entities'][_0x2b6e71(0x165)](_0x3b8bed));});}async[_0x2025fc(0x429)](_0x3b6676,_0x2bdf70){const _0x6b58c9=_0x2025fc,_0x580ed5=await this['_collabSessionService']['requireSession'](_0x3b6676),_0x259a61=this[_0x6b58c9(0x147)][_0x6b58c9(0x12a)](this[_0x6b58c9(0x40c)](_0x2bdf70),_0x3b6676,_0x2bdf70,_0x580ed5);return await _0x259a61[_0x6b58c9(0x289)](),this[_0x6b58c9(0x44e)][_0x6b58c9(0x382)](_0x259a61),_0x259a61;}[_0x2025fc(0x40c)](_0x38ac44){const _0x289032=_0x2025fc;switch(_0x38ac44){case ae[_0x289032(0x3ad)]:return ls;case ae[_0x289032(0x4a6)]:return _s;default:throw new Error(_0x289032(0x493)+_0x38ac44);}}};rt=Ho([zt(0x0,_0x5847bf(_0x5d7671)),zt(0x1,_0x5847bf(xe)),zt(0x2,_0x425cee)],rt);var jo=Object[_0x2025fc(0x385)],Bo=Object[_0x2025fc(0x18c)],ko=(_0x2815a5,_0xe142af,_0x25898e,_0x433015)=>{const _0x138e07=_0x2025fc;for(var _0x21cf8a=_0x433015>0x1?void 0x0:_0x433015?Bo(_0xe142af,_0x25898e):_0xe142af,_0x495c82=_0x2815a5[_0x138e07(0x161)]-0x1,_0x2a91e8;_0x495c82>=0x0;_0x495c82--)(_0x2a91e8=_0x2815a5[_0x495c82])&&(_0x21cf8a=(_0x433015?_0x2a91e8(_0xe142af,_0x25898e,_0x21cf8a):_0x2a91e8(_0x21cf8a))||_0x21cf8a);return _0x433015&&_0x21cf8a&&jo(_0xe142af,_0x25898e,_0x21cf8a),_0x21cf8a;},ti=(_0x4c6dc1,_0x312cc5)=>(_0x633c43,_0x318309)=>_0x312cc5(_0x633c43,_0x318309,_0x4c6dc1);let Ut=class extends _0x5ec0cb{constructor(_0x372061,_0x245271){const _0x16467c=_0x2025fc;super(),this[_0x16467c(0x2b4)]=_0x372061,this[_0x16467c(0x156)]=_0x245271,this[_0x16467c(0x100)]();}[_0x2025fc(0x100)](){const _0x2dafb3=_0x2025fc,_0x31e8c7=this;this[_0x2dafb3(0x10c)](this[_0x2dafb3(0x2b4)][_0x2dafb3(0x15b)]({'onBeforePasteImage':async _0x36ce1e=>{const _0x1931ed=_0x2dafb3,_0x83e37d=await _0x31e8c7[_0x1931ed(0x156)]['saveImage'](_0x36ce1e);return _0x83e37d?{'source':_0x83e37d['source'],'imageSourceType':_0x83e37d[_0x1931ed(0xc4)]}:null;}}));}};Ut=ko([ti(0x0,_0x3d5ec4),ti(0x1,_0x1fd980)],Ut);const si=[_0x2025fc(0x3b5),_0x2025fc(0x175),'verdancy600',_0x2025fc(0x474),_0x2025fc(0x308),_0x2025fc(0x2cd)];class Ns extends _0x24229e{constructor(){const _0x43ed2f=_0x2025fc;super(...arguments),g(this,_0x43ed2f(0xf8),new Map()),g(this,'_colorIndex',0x0);}[_0x2025fc(0x271)](_0x5cb963){const _0x474cab=_0x2025fc;if(this['_assignedColors']['has'](_0x5cb963))return this['_assignedColors'][_0x474cab(0x33e)](_0x5cb963);const _0x122735=si[this[_0x474cab(0xcd)]];return this[_0x474cab(0xcd)]=(this[_0x474cab(0xcd)]+0x1)%si[_0x474cab(0x161)],this[_0x474cab(0xf8)][_0x474cab(0x39c)](_0x5cb963,_0x122735),_0x122735;}}var Wo=Object['defineProperty'],Fo=Object['getOwnPropertyDescriptor'],Vo=(_0xc335ad,_0x377ddc,_0x354b33,_0x279f5f)=>{const _0x4a1139=_0x2025fc;for(var _0x1d603c=_0x279f5f>0x1?void 0x0:_0x279f5f?Fo(_0x377ddc,_0x354b33):_0x377ddc,_0x58c5a6=_0xc335ad[_0x4a1139(0x161)]-0x1,_0xb8be30;_0x58c5a6>=0x0;_0x58c5a6--)(_0xb8be30=_0xc335ad[_0x58c5a6])&&(_0x1d603c=(_0x279f5f?_0xb8be30(_0x377ddc,_0x354b33,_0x1d603c):_0xb8be30(_0x1d603c))||_0x1d603c);return _0x279f5f&&_0x1d603c&&Wo(_0x377ddc,_0x354b33,_0x1d603c),_0x1d603c;},we=(_0x529c42,_0x2db288)=>(_0x36f72f,_0x1e2ca6)=>_0x2db288(_0x36f72f,_0x1e2ca6,_0x529c42);const Go=0x12c,Yo=0x64;let us=class extends _0x5ec0cb{constructor(_0x2595fb,_0x20e4cc,_0x81a61d,_0x1be167,_0x1aaf62,_0x570f15,_0x3da5a8,_0x8a1e43,_0x598b6c){const _0xcbfa7f=_0x2025fc;super(),g(this,'_online',!0x1),g(this,_0xcbfa7f(0x100),!0x1),g(this,'_cursorInfo$',new _0x1074c2(new Map())),g(this,_0xcbfa7f(0x25b),this[_0xcbfa7f(0x31a)]['asObservable']()),g(this,_0xcbfa7f(0x3f8),new _0x1074c2([])),g(this,'roomMembers$',this[_0xcbfa7f(0x3f8)]['pipe'](_0x493feb(Go))),g(this,_0xcbfa7f(0x199),_0x26c09b(_0x50e879=>{const _0x1c2dad=_0xcbfa7f,_0xe6aa2e={'eventID':_0x3a14f4[_0x1c2dad(0x30f)],'data':{'unitID':this[_0x1c2dad(0x2bf)],'memberID':this[_0x1c2dad(0x318)][_0x1c2dad(0x316)](),'selection':qi(_0x50e879)}};this[_0x1c2dad(0x318)][_0x1c2dad(0xc9)](_0xe6aa2e,this['unitID']);},Yo)),(this['unitID']=_0x2595fb,this[_0xcbfa7f(0x318)]=_0x20e4cc,this['_injector']=_0x81a61d,this['_colorAssignService']=_0x1be167,this[_0xcbfa7f(0x31c)]=_0x1aaf62,this[_0xcbfa7f(0x187)]=_0x570f15,this[_0xcbfa7f(0x128)]=_0x3da5a8,this[_0xcbfa7f(0x3cf)]=_0x8a1e43,this['_commandService']=_0x598b6c);}get['cursorInfo'](){const _0x38d0f4=_0x2025fc;return this['_cursorInfo$'][_0x38d0f4(0x42a)]();}get[_0x2025fc(0x340)](){const _0x4a4656=_0x2025fc;return this[_0x4a4656(0x3f8)][_0x4a4656(0x42a)]();}[_0x2025fc(0x1e5)](){const _0x107904=_0x2025fc;super[_0x107904(0x1e5)](),this[_0x107904(0x31a)][_0x107904(0x382)](new Map()),this['_cursorInfo$'][_0x107904(0x3c5)](),this[_0x107904(0x3f8)]['next']([]),this[_0x107904(0x3f8)][_0x107904(0x3c5)]();}[_0x2025fc(0x289)](){const _0x131fc7=_0x2025fc;this[_0x131fc7(0x100)]||(this['_init']=!0x0,this[_0x131fc7(0x318)][_0x131fc7(0x1ff)][_0x131fc7(0x150)](_0x7b6507(this[_0x131fc7(0x345)]))[_0x131fc7(0x140)](_0x98c67=>{const _0x4a000a=_0x131fc7;_0x98c67===fe[_0x4a000a(0xad)]?this[_0x4a000a(0x1dd)]():this[_0x4a000a(0x37a)]();}),this[_0x131fc7(0x318)][_0x131fc7(0x142)][_0x131fc7(0x150)](_0x7b6507(this[_0x131fc7(0x345)]))[_0x131fc7(0x140)](_0x46c47d=>{const _0x5b7949=_0x131fc7,_0x425808=_0x46c47d[_0x5b7949(0x28b)];_0x425808===_0x3a14f4[_0x5b7949(0x30f)]&&this[_0x5b7949(0x37b)](_0x46c47d),_0x425808===_0x3a14f4[_0x5b7949(0x3dc)]&&this[_0x5b7949(0x27f)](_0x46c47d);}),this[_0x131fc7(0x10c)](this[_0x131fc7(0x481)][_0x131fc7(0x18a)](_0x436598=>{const _0xea9d46=_0x131fc7,_0x245706=_0x436598[_0xea9d46(0x3a0)];_0x245706!=null&&this[_0xea9d46(0x34b)]&&_0x436598['id']===_0x10a027['id']&&_0x245706[_0xea9d46(0x273)]===this[_0xea9d46(0x2bf)]&&_0x245706['isEditing']===!0x1&&_0x245706['ranges'][_0xea9d46(0x161)]>0x0&&this[_0xea9d46(0x199)](_0x245706[_0xea9d46(0xe5)]);})),this['_syncEditingCollabCursorService'][_0x131fc7(0x451)][_0x131fc7(0x150)](_0x7b6507(this['dispose$']))[_0x131fc7(0x140)](_0x1a2368=>{const _0x4c6c01=_0x131fc7;if((_0x1a2368==null?void 0x0:_0x1a2368[_0x4c6c01(0x2bf)])!==this[_0x4c6c01(0x2bf)])return;const _0x136e3e={'eventID':_0x3a14f4[_0x4c6c01(0x30f)],'data':_0x1a2368};this[_0x4c6c01(0x37b)](_0x136e3e);}),this[_0x131fc7(0x10c)](this[_0x131fc7(0x481)][_0x131fc7(0x18a)](_0x4c4ff9=>{const _0x4a6607=_0x131fc7;if(_0x4c4ff9['params']==null)return;const _0x7d3f78=_0x4c4ff9['params'];if(_0x4c4ff9['id']!==_0x3ef379['id']||_0x7d3f78[_0x4a6607(0x273)]!==this['unitID'])return;const _0x5b88ac={'id':_0x4a6607(0x495),'params':_0x7d3f78},_0x3911ee=this[_0x4a6607(0x13c)];for(const [_0x16181c,_0x3f466c]of _0x3911ee){const _0xad6d48={'id':_0x4a6607(0x495),'params':{'unitId':this[_0x4a6607(0x2bf)],'actions':null,'textRanges':_0x3f466c['ranges']}},_0x3ad238=this[_0x4a6607(0x128)][_0x4a6607(0x4b6)](_0x5b88ac,_0xad6d48,!0x1);if(_0x3e27e9(_0x3ad238))throw _0x3ad238[_0x4a6607(0x279)];_0x3911ee['set'](_0x16181c,{..._0x3f466c,'ranges':_0x3ad238[_0x4a6607(0x270)]['params']['textRanges']});}queueMicrotask(()=>{const _0x4fd245=_0x4a6607;this[_0x4fd245(0x31a)][_0x4fd245(0x382)](_0x3911ee);});})));}['_onCursorUpdate'](_0x54a95d){const _0xa25c92=_0x2025fc;var _0x9da666,_0x4f1fe6;const {memberID:_0x36aa0c,selection:_0x2aa8ad}=_0x54a95d[_0xa25c92(0x2a0)],_0xabf8bb=Ro(_0x2aa8ad),_0x389f53=(_0x4f1fe6=(_0x9da666=this[_0xa25c92(0x31c)][_0xa25c92(0x419)](this[_0xa25c92(0x2bf)],_0x36aa0c))==null?void 0x0:_0x9da666[_0xa25c92(0x1c7)])!=null?_0x4f1fe6:'Unknown\x20user',_0x5791a6={'color':this[_0xa25c92(0xd4)][_0xa25c92(0x271)](_0x36aa0c),'name':_0x389f53,'ranges':_0xabf8bb},_0xd6133f=this['cursorInfo'];_0xd6133f[_0xa25c92(0x39c)](_0x36aa0c,_0x5791a6),this['_cursorInfo$']['next'](_0xd6133f);}[_0x2025fc(0x27f)](_0x25cb42){const _0x19ec88=_0x2025fc,{memberID:_0x5835af}=_0x25cb42[_0x19ec88(0x2a0)],_0x8f196e=this['cursorInfo'];_0x8f196e[_0x19ec88(0x165)](_0x5835af),this['_cursorInfo$'][_0x19ec88(0x382)](_0x8f196e);}['_toggleOnline'](){const _0x2af701=_0x2025fc;var _0x38c47a;if(this['_online']=!0x0,((_0x38c47a=this[_0x2af701(0x3cf)]['getFocusedUnit']())==null?void 0x0:_0x38c47a['getUnitId']())!==this[_0x2af701(0x2bf)])return;const _0x3a8405=this[_0x2af701(0x147)][_0x2af701(0x33e)](_0x49b6ea)[_0x2af701(0x391)]();Array[_0x2af701(0x287)](_0x3a8405)&&_0x3a8405[_0x2af701(0x161)]>0x0&&this['_updateLocalCursor'](_0x3a8405);}[_0x2025fc(0x37a)](){this['_online']=!0x1;}};us=Vo([we(0x2,_0x5847bf(_0x5d7671)),we(0x3,_0x5847bf(Ns)),we(0x4,_0x5847bf(Me)),we(0x5,_0x5847bf(Ds)),we(0x6,_0x2fbfa5),we(0x7,_0x425cee),we(0x8,_0x28287a)],us);var Ko=Object[_0x2025fc(0x385)],qo=Object[_0x2025fc(0x18c)],zo=(_0x296615,_0x15e862,_0xe14735,_0x379419)=>{const _0x1fd064=_0x2025fc;for(var _0x322ec3=_0x379419>0x1?void 0x0:_0x379419?qo(_0x15e862,_0xe14735):_0x15e862,_0x413e02=_0x296615[_0x1fd064(0x161)]-0x1,_0x2088b6;_0x413e02>=0x0;_0x413e02--)(_0x2088b6=_0x296615[_0x413e02])&&(_0x322ec3=(_0x379419?_0x2088b6(_0x15e862,_0xe14735,_0x322ec3):_0x2088b6(_0x322ec3))||_0x322ec3);return _0x379419&&_0x322ec3&&Ko(_0x15e862,_0xe14735,_0x322ec3),_0x322ec3;},Be=(_0x4a26fb,_0x1135ae)=>(_0x5012cc,_0x4c98c5)=>_0x1135ae(_0x5012cc,_0x4c98c5,_0x4a26fb);const Xo=0x12c,Jo=0x64,Zo=()=>{let _0x4a904f=[],_0x2382f1=!0x1;return _0x16c211=>{const _0x5526c0=_0x46d8;_0x4a904f[_0x5526c0(0x22f)](_0x16c211),_0x2382f1||(_0x2382f1=!0x0,setTimeout(()=>{_0x4a904f['forEach'](_0x2a2d1f=>_0x2a2d1f()),_0x4a904f=[],_0x2382f1=!0x1;}));};};let ds=class extends _0x5ec0cb{constructor(_0x58684b,_0x4a35da,_0x5b58f8,_0x6edf59,_0x5ef742,_0x2790c6,_0x22c41b,_0x177bca){const _0x38c610=_0x2025fc;super(),g(this,'_online',!0x1),g(this,_0x38c610(0x100),!0x1),g(this,'_cursorInfo$',new _0x1074c2(new Map())),g(this,_0x38c610(0x25b),this[_0x38c610(0x31a)][_0x38c610(0xf7)]()),g(this,_0x38c610(0x3f8),new _0x1074c2([])),g(this,_0x38c610(0x20a),this['_roomMembers$'][_0x38c610(0x150)](_0x493feb(Xo))),g(this,'_updateLocalCursor',_0x26c09b((_0x47ae9a,_0x2a20e2)=>{const _0x53eab5=_0x38c610,_0x4179be={'eventID':_0x3a14f4[_0x53eab5(0x30f)],'data':{'unitID':this['unitID'],'memberID':this[_0x53eab5(0x318)][_0x53eab5(0x316)](),'selection':_0xf165cf(_0x47ae9a,_0x2a20e2[_0x53eab5(0x200)])}};this[_0x53eab5(0x318)][_0x53eab5(0xc9)](_0x4179be,this[_0x53eab5(0x2bf)]);},Jo)),(this['unitID']=_0x58684b,this[_0x38c610(0x318)]=_0x4a35da,this[_0x38c610(0x147)]=_0x5b58f8,this[_0x38c610(0xd4)]=_0x6edf59,this[_0x38c610(0x31c)]=_0x5ef742,this[_0x38c610(0x3cf)]=_0x2790c6,this[_0x38c610(0x481)]=_0x22c41b,this[_0x38c610(0x2b9)]=_0x177bca);}get[_0x2025fc(0x13c)](){const _0x46b4f8=_0x2025fc;return this[_0x46b4f8(0x31a)][_0x46b4f8(0x42a)]();}get[_0x2025fc(0x340)](){const _0x114be7=_0x2025fc;return this[_0x114be7(0x3f8)][_0x114be7(0x42a)]();}[_0x2025fc(0x1e5)](){const _0x2128e4=_0x2025fc;super[_0x2128e4(0x1e5)](),this['_cursorInfo$'][_0x2128e4(0x382)](new Map()),this['_cursorInfo$'][_0x2128e4(0x3c5)](),this['_roomMembers$']['next']([]),this[_0x2128e4(0x3f8)][_0x2128e4(0x3c5)]();}['init'](){const _0x60ba36=_0x2025fc;this[_0x60ba36(0x100)]||(this[_0x60ba36(0x100)]=!0x0,this[_0x60ba36(0x318)][_0x60ba36(0x1ff)][_0x60ba36(0x150)](_0x7b6507(this['dispose$']))[_0x60ba36(0x140)](_0x2611a0=>{const _0xa805a=_0x60ba36;_0x2611a0===fe[_0xa805a(0xad)]?this[_0xa805a(0x1dd)]():this['_toggleOffline']();}),this[_0x60ba36(0x318)][_0x60ba36(0x142)][_0x60ba36(0x150)](_0x7b6507(this[_0x60ba36(0x345)]))['subscribe'](_0x4615e5=>{const _0x223c60=_0x60ba36,_0x589115=_0x4615e5[_0x223c60(0x28b)];_0x589115===_0x3a14f4[_0x223c60(0x30f)]&&this[_0x223c60(0x37b)](_0x4615e5),_0x589115===_0x3a14f4[_0x223c60(0x3dc)]&&this[_0x223c60(0x27f)](_0x4615e5);}),this[_0x60ba36(0x342)](),this['disposeWithMe'](this[_0x60ba36(0x481)][_0x60ba36(0x18a)](_0x34cab8=>{const _0x34ae91=_0x60ba36;if(this[_0x34ae91(0x34b)]&&_0x34cab8['id']===_0x3295dc['id']&&_0x34cab8['params'][_0x34ae91(0x273)]===this[_0x34ae91(0x2bf)]){const _0x62d5c6=_0x34cab8[_0x34ae91(0x3a0)];this['_updateLocalCursor'](_0x62d5c6[_0x34ae91(0x457)],_0x62d5c6[_0x34ae91(0x12e)][0x0]);}})));}['_onCursorUpdate'](_0x196831){const _0x2afaeb=_0x2025fc;var _0x246301,_0x1c970e;const {memberID:_0x287053,selection:_0x63b0f7}=_0x196831[_0x2afaeb(0x2a0)],{sheetName:_0x3a45da,range:_0x303439}=_0x129840(_0x63b0f7),_0x1cdbfc={'name':(_0x1c970e=(_0x246301=this[_0x2afaeb(0x31c)]['getMember'](this[_0x2afaeb(0x2bf)],_0x287053))==null?void 0x0:_0x246301[_0x2afaeb(0x1c7)])!=null?_0x1c970e:_0x2afaeb(0x293),'range':this[_0x2afaeb(0x1c2)](_0x3a45da,_0x303439),'sheetID':_0x3a45da,'color':this[_0x2afaeb(0xd4)][_0x2afaeb(0x271)](_0x287053),'selection':_0x63b0f7},_0x1d68c9=this['cursorInfo'];_0x1d68c9[_0x2afaeb(0x39c)](_0x287053,_0x1cdbfc),this[_0x2afaeb(0x31a)]['next'](_0x1d68c9);}['_onCursorDelete'](_0x37d34e){const _0x30e99a=_0x2025fc,{memberID:_0xf57cb7}=_0x37d34e[_0x30e99a(0x2a0)],_0x3ba346=this['cursorInfo'];_0x3ba346[_0x30e99a(0x165)](_0xf57cb7),this[_0x30e99a(0x31a)]['next'](_0x3ba346);}[_0x2025fc(0x1c2)](_0x141cd,_0x43109f){const _0x1ac796=_0x2025fc;var _0x33f2fa,_0x1a764f;const _0x54f558=(_0x1a764f=(_0x33f2fa=this[_0x1ac796(0x3cf)][_0x1ac796(0x26e)](this[_0x1ac796(0x2bf)]))==null?void 0x0:_0x33f2fa[_0x1ac796(0xe2)](_0x141cd))==null?void 0x0:_0x1a764f['getMergeData']();return(_0x54f558==null?void 0x0:_0x54f558['find'](_0x385a59=>_0x1a8bad['contains'](_0x385a59,_0x43109f)))||_0x43109f;}[_0x2025fc(0x342)](){const _0x499e62=_0x2025fc,_0x2de843=new _0x55a86c(),_0x89f88d=Zo(),_0x379315=()=>{const _0x9d27d1=_0x46d8;_0x2de843['dispose']();const _0x27622a=(_0x3a3da1,_0x52a7c3,_0x10f49e,_0x921713)=>{const _0x409897=_0x46d8;let _0x576b00=[];switch(_0x3a3da1['id']){case _0x1bada9['DeleteRangeMoveLeftCommandId']:{_0x576b00=_0x322dc1(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x178)]:{_0x576b00=_0x27e6e3(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x2da)]:{_0x576b00=_0x3c8a96(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x1f2)]:{_0x576b00=_0x21ee51(_0x3a3da1,_0x921713);break;}case _0x1bada9['InsertRangeMoveRightCommandId']:{_0x576b00=_0x38f4c6(_0x3a3da1,_0x921713);break;}case _0x1bada9['InsertRowCommandId']:{_0x576b00=_0x1fe1d1(_0x3a3da1,_0x921713);break;}case _0x1bada9[_0x409897(0x1ed)]:{_0x576b00=_0x11ac4c(_0x3a3da1,_0x921713);break;}case _0x1bada9['RemoveColCommandId']:{_0x576b00=_0x4cc33a(_0x3a3da1,_0x921713);break;}case _0x1bada9['RemoveRowCommandId']:{_0x576b00=_0x5842ca(_0x3a3da1,_0x921713);break;}}const _0xd024b4=_0x5a1647(_0x576b00,_0x921713),_0x3da313=this[_0x409897(0x13c)][_0x409897(0x33e)](_0x52a7c3);if(_0x3da313&&_0xd024b4){const _0x29d2aa={..._0x3da313,'range':_0xd024b4};this[_0x409897(0x13c)][_0x409897(0x39c)](_0x52a7c3,_0x29d2aa),_0x89f88d(()=>{const _0x2bc186=_0x409897,_0x38d5f8=this[_0x2bc186(0x2b9)][_0x2bc186(0x43e)](_0xd024b4,_0x2d3b72=>(_0x38d5f8[_0x2bc186(0x1e5)](),_0x27622a(_0x2d3b72,_0x52a7c3,_0x10f49e,_0xd024b4)));_0x2de843[_0x2bc186(0x4b0)](_0x38d5f8);});}return{'redos':[],'undos':[]};};this[_0x9d27d1(0x13c)]['forEach']((_0x16caf9,_0xffd7ae)=>{const _0x43897c=_0x9d27d1,{range:_0x149ee8,sheetID:_0xaf952f}=_0x16caf9,_0x212197=this[_0x43897c(0x2b9)][_0x43897c(0x43e)](_0x149ee8,_0x2e4db3=>(_0x212197[_0x43897c(0x1e5)](),_0x27622a(_0x2e4db3,_0xffd7ae,_0xaf952f,_0x149ee8)));_0x2de843[_0x43897c(0x4b0)](_0x212197);});};this[_0x499e62(0x10c)](_0x7c72c3(this[_0x499e62(0x31a)][_0x499e62(0x140)](()=>{_0x379315();})));}[_0x2025fc(0x1dd)](){const _0x1ffc16=_0x2025fc;var _0x225ab4,_0x41ea9c;if(this[_0x1ffc16(0x34b)]=!0x0,((_0x225ab4=this[_0x1ffc16(0x3cf)]['getFocusedUnit']())==null?void 0x0:_0x225ab4[_0x1ffc16(0x10b)]())!==this[_0x1ffc16(0x2bf)])return;const _0x2642d9=(_0x41ea9c=this[_0x1ffc16(0x147)][_0x1ffc16(0x33e)](_0x2d0767)[_0x1ffc16(0xef)]())==null?void 0x0:_0x41ea9c[0x0],_0x5f5d3e=this[_0x1ffc16(0x3cf)]['getCurrentUnitForType'](_0xb166dc['UNIVER_SHEET'])[_0x1ffc16(0x406)]();_0x2642d9&&_0x5f5d3e&&this['_updateLocalCursor'](_0x5f5d3e[_0x1ffc16(0x369)](),_0x2642d9);}['_toggleOffline'](){const _0x31f61b=_0x2025fc;this[_0x31f61b(0x34b)]=!0x1;}};ds=zo([Be(0x2,_0x5847bf(_0x5d7671)),Be(0x3,_0x5847bf(Ns)),Be(0x4,_0x5847bf(Me)),Be(0x5,_0x425cee),Be(0x6,_0x28287a),Be(0x7,_0x5847bf(_0x4f6ae0))],ds);var Qo=Object[_0x2025fc(0x385)],ea=Object[_0x2025fc(0x18c)],ta=(_0x105a2d,_0xca0eb8,_0x41da9c,_0x187c8d)=>{for(var _0x3d9b64=_0x187c8d>0x1?void 0x0:_0x187c8d?ea(_0xca0eb8,_0x41da9c):_0xca0eb8,_0x1ecf7b=_0x105a2d['length']-0x1,_0x396fff;_0x1ecf7b>=0x0;_0x1ecf7b--)(_0x396fff=_0x105a2d[_0x1ecf7b])&&(_0x3d9b64=(_0x187c8d?_0x396fff(_0xca0eb8,_0x41da9c,_0x3d9b64):_0x396fff(_0x3d9b64))||_0x3d9b64);return _0x187c8d&&_0x3d9b64&&Qo(_0xca0eb8,_0x41da9c,_0x3d9b64),_0x3d9b64;},Xt=(_0x11b9b2,_0xff1a39)=>(_0x3f82e2,_0x294a93)=>_0xff1a39(_0x3f82e2,_0x294a93,_0x11b9b2);let Ve=class extends _0x5ec0cb{constructor(_0x1f41f0,_0x1457d3,_0x43a9b3){const _0x1d66b6=_0x2025fc;super(),g(this,_0x1d66b6(0x3da),new Map()),g(this,_0x1d66b6(0x44e),new _0x1c0b9c()),(this[_0x1d66b6(0x3cf)]=_0x1f41f0,this[_0x1d66b6(0x147)]=_0x1457d3,this[_0x1d66b6(0x29e)]=_0x43a9b3,this[_0x1d66b6(0x100)]());}[_0x2025fc(0x1e5)](){const _0x5ecbc0=_0x2025fc;super[_0x5ecbc0(0x1e5)](),this['_entityInit$'][_0x5ecbc0(0x3c5)](),this[_0x5ecbc0(0x3da)]['forEach'](_0x43e007=>_0x43e007[_0x5ecbc0(0x1e5)]());}['getCollabCursors$'](_0x46cbe5){const _0x389bc2=_0x2025fc;return this[_0x389bc2(0x3da)]['has'](_0x46cbe5)?this[_0x389bc2(0x3da)][_0x389bc2(0x33e)](_0x46cbe5)['cursorInfo$']:this[_0x389bc2(0x44e)][_0x389bc2(0x150)](_0x2eb5c7(_0x312f80=>_0x312f80[_0x389bc2(0x2bf)]===_0x46cbe5),_0x4e1242(_0x34c9c2=>_0x34c9c2[_0x389bc2(0x25b)]));}[_0x2025fc(0x100)](){const _0x31d578=_0x2025fc;this[_0x31d578(0x3cf)][_0x31d578(0x2c3)](_0xb166dc['UNIVER_SHEET'])[_0x31d578(0x150)](_0x7b6507(this[_0x31d578(0x345)]))[_0x31d578(0x140)](async _0x21bae0=>{const _0x514954=_0x31d578,_0x4d4e39=_0x21bae0[_0x514954(0x10b)](),_0xa91401=await this[_0x514954(0x465)](_0x4d4e39);this[_0x514954(0x44e)][_0x514954(0x382)](_0xa91401),this[_0x514954(0x3da)][_0x514954(0x39c)](_0x4d4e39,_0xa91401);}),this['_univerInstanceService'][_0x31d578(0x2c3)](_0xb166dc[_0x31d578(0x3ad)])['pipe'](_0x7b6507(this[_0x31d578(0x345)]))['pipe'](_0x2eb5c7(_0x26021a=>!_0x26021a[_0x31d578(0x10b)]()[_0x31d578(0x33d)]('__')))[_0x31d578(0x140)](async _0x1ec6e2=>{const _0x2deafb=_0x31d578,_0x59807d=_0x1ec6e2[_0x2deafb(0x10b)](),_0x253815=await this[_0x2deafb(0x4a7)](_0x59807d);this[_0x2deafb(0x44e)][_0x2deafb(0x382)](_0x253815),this[_0x2deafb(0x3da)][_0x2deafb(0x39c)](_0x59807d,_0x253815);}),_0x38a986(this[_0x31d578(0x3cf)][_0x31d578(0x2f2)](_0xb166dc[_0x31d578(0x3ad)]),this[_0x31d578(0x3cf)][_0x31d578(0x2f2)](_0xb166dc[_0x31d578(0x4a6)]))['pipe'](_0x7b6507(this[_0x31d578(0x345)]))['subscribe'](_0x46740f=>{const _0xbbb552=_0x31d578,_0x534324=_0x46740f['getUnitId'](),_0x658d53=this[_0xbbb552(0x3da)]['get'](_0x534324);_0x658d53&&(_0x658d53[_0xbbb552(0x1e5)](),this[_0xbbb552(0x3da)][_0xbbb552(0x165)](_0x534324));});}async['_startSheetCollabCursor'](_0xbbb4d8){const _0xdf10a3=_0x2025fc,_0x579e85=await this['_collabSessionService']['requireSession'](_0xbbb4d8),_0x4317ad=this[_0xdf10a3(0x147)][_0xdf10a3(0x12a)](ds,_0xbbb4d8,_0x579e85);return _0x4317ad[_0xdf10a3(0x289)](),_0x4317ad;}async[_0x2025fc(0x4a7)](_0x39d1ed){const _0x216753=_0x2025fc,_0x531bb4=await this[_0x216753(0x29e)]['requireSession'](_0x39d1ed),_0x26aad3=this[_0x216753(0x147)]['createInstance'](us,_0x39d1ed,_0x531bb4);return _0x26aad3[_0x216753(0x289)](),_0x26aad3;}};Ve=ta([Xt(0x0,_0x425cee),Xt(0x1,_0x5847bf(_0x5d7671)),Xt(0x2,_0x5847bf(xe))],Ve);const nt=0x14,ii=0xc8,Jt=0x4,sa=0x5;function ia(_0x3cc447,_0x2b4db8){const _0x25e6dd=_0x2025fc;let {radius:_0x2bdb87,width:_0x391fcb,height:_0x2f5fe1}=_0x2b4db8;_0x2bdb87=_0x2bdb87!=null?_0x2bdb87:0x0,_0x391fcb=_0x391fcb!=null?_0x391fcb:0x1e,_0x2f5fe1=_0x2f5fe1!=null?_0x2f5fe1:0x1e;let _0x50b1df=0x0,_0x5af365=0x0,_0x359c31=0x0;_0x50b1df=_0x5af365=_0x359c31=Math['min'](_0x2bdb87,_0x391fcb/0x2,_0x2f5fe1/0x2),_0x3cc447[_0x25e6dd(0x389)](),_0x3cc447[_0x25e6dd(0x36d)](_0x50b1df,0x0),_0x3cc447[_0x25e6dd(0x1ab)](_0x391fcb-_0x5af365,0x0),_0x3cc447[_0x25e6dd(0x4b8)](_0x391fcb-_0x5af365,_0x5af365,_0x5af365,Math['PI']*0x3/0x2,0x0,!0x1),_0x3cc447[_0x25e6dd(0x1ab)](_0x391fcb,_0x2f5fe1-_0x359c31),_0x3cc447['arc'](_0x391fcb-_0x359c31,_0x2f5fe1-_0x359c31,_0x359c31,0x0,Math['PI']/0x2,!0x1),_0x3cc447[_0x25e6dd(0x1ab)](0x0,_0x2f5fe1),_0x3cc447[_0x25e6dd(0x1ab)](0x0,_0x50b1df),_0x3cc447[_0x25e6dd(0x4b8)](_0x50b1df,_0x50b1df,_0x50b1df,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3cc447['closePath'](),_0x2b4db8[_0x25e6dd(0x46e)]&&(_0x3cc447[_0x25e6dd(0x14f)](),_0x3cc447[_0x25e6dd(0x477)]=_0x2b4db8['fill'],_0x2b4db8[_0x25e6dd(0x336)]===_0x25e6dd(0x28a)?_0x3cc447[_0x25e6dd(0x46e)](_0x25e6dd(0x28a)):_0x3cc447['fill'](),_0x3cc447[_0x25e6dd(0x309)]());}class Bt extends _0x280f32{constructor(_0x15fa38,_0x3b5001){const _0x39df93=_0x2025fc;super(_0x15fa38,_0x3b5001),g(this,'color'),g(this,'text'),(this[_0x39df93(0x26b)]=_0x3b5001==null?void 0x0:_0x3b5001[_0x39df93(0x26b)],this[_0x39df93(0x438)]=_0x3b5001==null?void 0x0:_0x3b5001['text']);}static[_0x2025fc(0xac)](_0x392dc5,_0x5d13b2){const _0x3bfcb5=_0x2025fc,{text:_0x15466a,color:_0x451e18}=_0x5d13b2;_0x392dc5[_0x3bfcb5(0x14f)](),_0x392dc5['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x143447=_0x392dc5[_0x3bfcb5(0x482)](_0x15466a)['width'],_0x20aedc=Math[_0x3bfcb5(0x1af)](_0x143447+0x2*Jt,ii);ia(_0x392dc5,{'height':nt,'radius':0x4,'width':_0x20aedc,'fill':_0x451e18,'evented':!0x1}),_0x392dc5['fillStyle']=_0x3bfcb5(0x321);const _0x30d758=Jt,_0x1f4293=nt-sa,_0x467773=ii-0x2*Jt;if(_0x143447>_0x467773){let _0x430c52='',_0x11465b=0x0;for(const _0x85587c of _0x15466a){const _0x1b522b=_0x392dc5['measureText'](_0x85587c)[_0x3bfcb5(0x478)];if(_0x11465b+_0x1b522b<=_0x467773-_0x392dc5[_0x3bfcb5(0x482)]('...')[_0x3bfcb5(0x478)])_0x430c52+=_0x85587c,_0x11465b+=_0x1b522b;else{_0x430c52+=_0x3bfcb5(0x1df);break;}}_0x392dc5['fillText'](_0x430c52,_0x30d758,_0x1f4293);}else _0x392dc5['fillText'](_0x15466a,_0x30d758,_0x1f4293);_0x392dc5[_0x3bfcb5(0x309)]();}[_0x2025fc(0x368)](_0x4a3a38){const _0x36cb23=_0x2025fc;Bt[_0x36cb23(0xac)](_0x4a3a38,this);}}const Zt=_0x2025fc(0x39b),ra=_0x2025fc(0x42b),na='collab-rect-range-',Je=0x6,oa=1.5,Qt=0x4,aa=1.5,ca='rgba(255,\x20255,\x20255,\x200.01)';class ri{constructor(_0x4f248c,_0x4073ba,_0x308545,_0x409e99){const _0x23de23=_0x2025fc;g(this,'_shapes',[]),g(this,_0x23de23(0x2b5),null),g(this,_0x23de23(0x2fe),null),g(this,_0x23de23(0x1ad),null),g(this,'_hideTimer',null),g(this,_0x23de23(0x3a6),null),(this[_0x23de23(0x1fb)]=_0x4f248c,this[_0x23de23(0x2a7)]=_0x4073ba,this['_docSkeleton']=_0x308545,this[_0x23de23(0x296)]=_0x409e99,this[_0x23de23(0x3cd)]());}set[_0x2025fc(0x3c7)](_0x11fd0f){const _0x1dbbdf=_0x2025fc;_0x11fd0f?(this[_0x1dbbdf(0x1ad)]&&this[_0x1dbbdf(0x1ad)]['hide'](),this['_textBubble']&&this[_0x1dbbdf(0x2fe)][_0x1dbbdf(0x3c2)]()):(this[_0x1dbbdf(0x1ad)]&&this[_0x1dbbdf(0x1ad)][_0x1dbbdf(0x3c2)](),this['_textBubble']&&this['_textBubble'][_0x1dbbdf(0x467)]());}['dispose'](){const _0x5ea684=_0x2025fc;for(const _0x27e343 of this[_0x5ea684(0x18d)])_0x27e343[_0x5ea684(0x1e5)]();this['_textBubble']&&this[_0x5ea684(0x2fe)][_0x5ea684(0x1e5)](),this[_0x5ea684(0x1ad)]&&this[_0x5ea684(0x1ad)][_0x5ea684(0x1e5)](),this[_0x5ea684(0x2b5)]&&this[_0x5ea684(0x2b5)]['dispose'](),this[_0x5ea684(0x3a6)]&&this[_0x5ea684(0x3a6)]();}[_0x2025fc(0x3cd)](){const _0x23655c=_0x2025fc;var _0x21229e;const {_docSkeleton:_0x2614cd,_document:_0x54c521}=this,{color:_0x1fa2e2,name:_0x593ed6,ranges:_0x17bd32}=this[_0x23655c(0x1fb)],_0x5124f2=_0x54c521[_0x23655c(0x326)](),{docsLeft:_0x41cfe2,docsTop:_0x17526e}=_0x5124f2,_0x12e3bb=new _0x44a430(_0x5124f2,_0x2614cd);for(const {startOffset:_0x40858a,endOffset:_0x5e7909,rangeType:_0x4555f7,segmentId:_0x21cd38,segmentPage:_0x4159bb,collapsed:_0x4e5c82,isActive:_0x2a2150}of _0x17bd32){const _0x495b6f=_0x2614cd[_0x23655c(0x159)](_0x40858a,!0x0,_0x21cd38,_0x4159bb);let _0x3d736f=_0x2614cd[_0x23655c(0x159)](_0x5e7909,!0x0,_0x21cd38,_0x4159bb);if(_0x3d736f==null&&(_0x3d736f=_0x2614cd['findNodePositionByCharIndex'](_0x5e7909-0x1,!0x1,_0x21cd38,_0x4159bb)),_0x2a2150){const {contentBoxPointGroup:_0x4befee}=_0x12e3bb['getRangePointData'](_0x3d736f,_0x3d736f);if(_0x4befee[_0x23655c(0x161)]===0x0)continue;this[_0x23655c(0x367)](_0x1fa2e2,_0x4befee,_0x41cfe2,_0x17526e,_0x593ed6),this[_0x23655c(0x3a6)]=this[_0x23655c(0x19f)]();}if(_0x495b6f&&_0x3d736f){if(_0x4555f7===_0x2bd610[_0x23655c(0x246)]){const _0x243703=new _0x4512fd(_0x5124f2,_0x2614cd),{pointGroup:_0xb86604}=(_0x21229e=_0x243703[_0x23655c(0x34e)](_0x495b6f,_0x3d736f))!=null?_0x21229e:{};if(_0xb86604==null||_0xb86604[_0x23655c(0x161)]===0x0)continue;this['_drawRectRange'](_0x1fa2e2,_0xb86604,_0x41cfe2,_0x17526e);}else{if(!_0x4e5c82){const {borderBoxPointGroup:_0x18978d}=_0x12e3bb[_0x23655c(0x34e)](_0x495b6f,_0x3d736f);if(_0x18978d['length']===0x0)continue;this[_0x23655c(0x1ba)](_0x1fa2e2,_0x18978d,_0x41cfe2,_0x17526e);}}}}}[_0x2025fc(0x367)](_0x1c704a,_0xb6e98a,_0x34cfb0,_0x413c8b,_0x39de35){const _0x493b14=_0x2025fc,_0x45555c=this['_getAnchorBounding'](_0xb6e98a),{left:_0x4b7b04,top:_0x101cc5,height:_0x3d9d15}=_0x45555c,_0x3e8e80=this[_0x493b14(0x157)](),_0x2bb308=aa/_0x3e8e80,_0x230fdc=new _0x10cdd3(Zt+_0x529634[_0x493b14(0x210)](Je),{'left':_0x4b7b04+_0x34cfb0-_0x2bb308,'top':_0x101cc5+_0x413c8b,'height':_0x3d9d15,'width':oa,'fill':_0x1c704a||_0x44a483(_0x37cb7b[_0x493b14(0x262)],0x0),'strokeWidth':_0x2bb308,'stroke':ca,'evented':!0x0});this[_0x493b14(0x2b5)]=_0x230fdc,this[_0x493b14(0x2a7)][_0x493b14(0x21a)](_0x230fdc,_0x505883);const _0x4cb602=new _0x10cdd3(Zt+_0x529634[_0x493b14(0x210)](Je),{'left':_0x4b7b04+_0x34cfb0-_0x2bb308,'top':_0x101cc5+_0x413c8b-Qt/0x2,'height':Qt,'width':Qt,'fill':_0x1c704a||_0x44a483(_0x37cb7b[_0x493b14(0x262)],0x0),'strokeWidth':0x0,'stroke':_0x1c704a||_0x44a483(_0x37cb7b[_0x493b14(0x262)],0x0),'evented':!0x1});this[_0x493b14(0x1ad)]=_0x4cb602,this['_scene'][_0x493b14(0x21a)](_0x4cb602,_0x505883);const _0x5514a4=new Bt(Zt+_0x529634[_0x493b14(0x210)](Je),{'left':_0x4b7b04+_0x34cfb0-_0x2bb308,'top':_0x101cc5+_0x413c8b-nt,'text':_0x39de35,'color':_0x1c704a});this['_textBubble']=_0x5514a4,this[_0x493b14(0x2a7)][_0x493b14(0x21a)](_0x5514a4,_0x505883),this[_0x493b14(0x3c7)]=!0x1;}[_0x2025fc(0x19f)](){const _0x426402=_0x2025fc,_0x441501=this[_0x426402(0x2b5)][_0x426402(0x2bd)][_0x426402(0x113)](()=>{this['_hover']=!0x0;}),_0x254fba=this['_anchor']['onPointerLeave$'][_0x426402(0x113)](()=>{const _0x45dfad=_0x426402;this[_0x45dfad(0x300)]&&clearTimeout(this[_0x45dfad(0x300)]),this['_hideTimer']=setTimeout(()=>{const _0x20410d=_0x45dfad;this[_0x20410d(0x3c7)]=!0x1;},0x7d0);});return()=>{const _0x41d54e=_0x426402;_0x441501[_0x41d54e(0x2dd)](),_0x254fba['unsubscribe']();};}[_0x2025fc(0x1ba)](_0x4ef440,_0x599f70,_0x460cc2,_0x4229be){const _0x4c87d4=_0x2025fc,_0x41f7c8=new _0x13add7(_0x4ef440)[_0x4c87d4(0xe0)](0.2)[_0x4c87d4(0x455)](),_0x4ed1b5=new _0x2d60c8(ra+_0x529634[_0x4c87d4(0x210)](Je),{'pointsGroup':_0x599f70,'fill':_0x41f7c8||_0x44a483(_0x37cb7b['black'],0.2),'left':_0x460cc2,'top':_0x4229be,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4c87d4(0x22f)](_0x4ed1b5),this[_0x4c87d4(0x2a7)][_0x4c87d4(0x21a)](_0x4ed1b5,_0x505883);}['_drawRectRange'](_0x5aaa5c,_0x494929,_0x4380b3,_0x11a1a3){const _0x4209d4=_0x2025fc,_0x26782a=new _0x13add7(_0x5aaa5c)[_0x4209d4(0xe0)](0.2)['toRgbString'](),_0x2e748c=new _0x2d60c8(na+_0x529634[_0x4209d4(0x210)](Je),{'pointsGroup':_0x494929,'fill':_0x26782a||_0x44a483(_0x37cb7b[_0x4209d4(0x262)],0.2),'left':_0x4380b3,'top':_0x11a1a3,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4209d4(0x22f)](_0x2e748c),this[_0x4209d4(0x2a7)][_0x4209d4(0x21a)](_0x2e748c,_0x505883);}[_0x2025fc(0x3e4)](_0x10a07f){const _0x5c41d0=_0x10a07f[0x0],_0x44a1d3=_0x5c41d0[0x0],_0x1a9501=_0x5c41d0[0x2],{x:_0x9dd65,y:_0x3b6a22}=_0x44a1d3,{x:_0x44be18,y:_0x5e9457}=_0x1a9501;return{'left':_0x9dd65,'top':_0x3b6a22,'width':_0x44be18-_0x9dd65,'height':_0x5e9457-_0x3b6a22};}[_0x2025fc(0x157)](){const _0x545517=_0x2025fc,{scaleX:_0x572d66,scaleY:_0x4f6c1b}=this['_scene']['getAncestorScale']();return Math[_0x545517(0x3f2)](_0x572d66,_0x4f6c1b);}}var ha=Object[_0x2025fc(0x385)],la=Object[_0x2025fc(0x18c)],_a=(_0x191039,_0x2b7032,_0xd5df74,_0x1fe8d2)=>{const _0x1cd4fa=_0x2025fc;for(var _0x3afa98=_0x1fe8d2>0x1?void 0x0:_0x1fe8d2?la(_0x2b7032,_0xd5df74):_0x2b7032,_0x1733fe=_0x191039[_0x1cd4fa(0x161)]-0x1,_0x43335d;_0x1733fe>=0x0;_0x1733fe--)(_0x43335d=_0x191039[_0x1733fe])&&(_0x3afa98=(_0x1fe8d2?_0x43335d(_0x2b7032,_0xd5df74,_0x3afa98):_0x43335d(_0x3afa98))||_0x3afa98);return _0x1fe8d2&&_0x3afa98&&ha(_0x2b7032,_0xd5df74,_0x3afa98),_0x3afa98;},ht=(_0x19b861,_0x5e567e)=>(_0x5e68f0,_0x1eb527)=>_0x5e567e(_0x5e68f0,_0x1eb527,_0x19b861);let fs=class extends _0x5ec0cb{constructor(_0x1b685a,_0xd0310b,_0x2879f8,_0x12002e,_0x49a43d){const _0x409f55=_0x2025fc;super(),g(this,'_cursorShapes',[]),g(this,_0x409f55(0x449),[]),(this[_0x409f55(0x294)]=_0x1b685a,this[_0x409f55(0x343)]=_0xd0310b,this['_collabCursorController']=_0x2879f8,this[_0x409f55(0x481)]=_0x12002e,this['_themeService']=_0x49a43d,this[_0x409f55(0x100)]());}[_0x2025fc(0x100)](){const _0x429e5f=_0x2025fc,_0x41d87e=this[_0x429e5f(0x294)][_0x429e5f(0x273)],_0x1970de=this[_0x429e5f(0x343)];this[_0x429e5f(0x10c)](_0x238a3a([this[_0x429e5f(0xab)][_0x429e5f(0x327)](_0x41d87e),this[_0x429e5f(0x1c8)][_0x429e5f(0x3e9)]])['pipe'](_0xb11c2f(([_0x4bd832,_0x4a418b])=>({'skeleton':_0x1970de[_0x429e5f(0x240)](),'cursors':[..._0x4bd832[_0x429e5f(0x3ed)]()][_0x429e5f(0x3b3)](_0x394dc6=>({..._0x394dc6,'color':_0x4a418b[_0x394dc6[_0x429e5f(0x26b)]]}))})))[_0x429e5f(0x140)](_0xbe7958=>{const _0x5c5689=_0x429e5f;if(this[_0x5c5689(0x1da)](),_0xbe7958){const {skeleton:_0x2ed3f1,cursors:_0x168cc9}=_0xbe7958;this[_0x5c5689(0x3fb)](_0x2ed3f1,_0x168cc9);}})),this['_initResize'](),this[_0x429e5f(0x498)]();}['_updateCollabCursors'](_0x5661fb,_0x2c4a1f){const _0x40c74e=_0x2025fc,{scene:_0x33b72f,mainComponent:_0x1e52f7}=this['_context'],_0x116dfc=_0x2c4a1f['map'](_0x3221d3=>new ri(_0x3221d3,_0x33b72f,_0x5661fb,_0x1e52f7));this[_0x40c74e(0x1d2)]=_0x116dfc,this[_0x40c74e(0x449)]=_0x2c4a1f;}[_0x2025fc(0x130)](){const _0x2e4043=_0x2025fc;this[_0x2e4043(0x1da)]();const {scene:_0x13951b,mainComponent:_0x4386c6}=this[_0x2e4043(0x294)],_0x3e5319=this['_docSkeletonManagerService'][_0x2e4043(0x240)](),_0x3f87de=this[_0x2e4043(0x449)][_0x2e4043(0x23a)](_0xdf5ba=>new ri(_0xdf5ba,_0x13951b,_0x3e5319,_0x4386c6));this['_cursorShapes']=_0x3f87de;}[_0x2025fc(0x1da)](){const _0x3cc48f=_0x2025fc;this[_0x3cc48f(0x1d2)][_0x3cc48f(0x2e1)](_0x3eade5=>_0x3eade5[_0x3cc48f(0x1e5)]()),this[_0x3cc48f(0x1d2)]=[];}[_0x2025fc(0x498)](){const _0x1c7244=_0x2025fc,_0x27f111=[_0x3c0f91['id']];this[_0x1c7244(0x10c)](this['_commandService'][_0x1c7244(0x18a)](_0x18407c=>{const _0x74fd2c=_0x1c7244;_0x27f111[_0x74fd2c(0xd3)](_0x18407c['id'])&&_0x18407c[_0x74fd2c(0x3a0)][_0x74fd2c(0x273)]===this['_context']['unitId']&&this[_0x74fd2c(0x130)]();}));}[_0x2025fc(0x14a)](){const _0x2cc7fa=_0x2025fc;this[_0x2cc7fa(0x10c)](_0x2095a5(this[_0x2cc7fa(0x294)][_0x2cc7fa(0x2d1)][_0x2cc7fa(0x222)])[_0x2cc7fa(0x150)](_0xa0d892(_0x46acb4=>_0x46acb4[_0x2cc7fa(0x442)]===_0x3f5711[_0x2cc7fa(0x464)]),_0x300e66(0x10))[_0x2cc7fa(0x140)](()=>{const _0x180e1a=_0x2cc7fa;this[_0x180e1a(0x130)]();}));}};fs=_a([ht(0x1,_0x5847bf(_0x4e067d)),ht(0x2,_0x5847bf(Ve)),ht(0x3,_0x28287a),ht(0x4,_0x5847bf(_0x14c134))],fs);const ua=0x1,da=1.5;class fa extends _0x280f32{constructor(_0x11855d,_0x19a383){const _0x2865e3=_0x2025fc;super(_0x11855d,_0x19a383),g(this,_0x2865e3(0x426)),g(this,_0x2865e3(0x26c),!0x1),g(this,'_range'),g(this,'_name',''),g(this,_0x2865e3(0x499),'top'),g(this,_0x2865e3(0x490)),(_0x19a383&&this[_0x2865e3(0x2b1)](_0x19a383),this[_0x2865e3(0x2bd)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2865e3(0x121)][_0x2865e3(0x113)](()=>this[_0x2865e3(0x2b1)]({'hovered':!0x1})));}[_0x2025fc(0x2b1)](_0x2cc4d8){const _0x215cdf=_0x2025fc;var _0x43b883,_0x484081,_0x3a973c,_0xbd5cd0,_0x2d7850,_0x1bdd8c;this[_0x215cdf(0x426)]=(_0x43b883=_0x2cc4d8[_0x215cdf(0x26b)])!=null?_0x43b883:this[_0x215cdf(0x426)],this[_0x215cdf(0x26c)]=(_0x484081=_0x2cc4d8[_0x215cdf(0x237)])!=null?_0x484081:this[_0x215cdf(0x26c)],this['_range']=(_0x3a973c=_0x2cc4d8[_0x215cdf(0x200)])!=null?_0x3a973c:this[_0x215cdf(0xd1)],this['_name']=(_0xbd5cd0=_0x2cc4d8[_0x215cdf(0x1c7)])!=null?_0xbd5cd0:this[_0x215cdf(0x386)],this['_labelPosition']=(_0x2d7850=_0x2cc4d8[_0x215cdf(0x2f8)])!=null?_0x2d7850:this['_labelPosition'],this[_0x215cdf(0x490)]=(_0x1bdd8c=_0x2cc4d8['backgroundColor'])!=null?_0x1bdd8c:this[_0x215cdf(0x490)],this[_0x215cdf(0xed)]({'width':_0x2cc4d8[_0x215cdf(0x478)],'height':_0x2cc4d8[_0x215cdf(0x3b4)]});}[_0x2025fc(0x47b)](_0x49ab97){const _0x52cb59=_0x2025fc,{row:_0x333170,column:_0x579a2b}=_0x49ab97;if(_0x333170>=this[_0x52cb59(0xd1)][_0x52cb59(0x23d)]&&_0x333170<=this[_0x52cb59(0xd1)][_0x52cb59(0x402)]&&_0x579a2b>=this[_0x52cb59(0xd1)]['startColumn']&&_0x579a2b<=this[_0x52cb59(0xd1)][_0x52cb59(0x483)]){this[_0x52cb59(0x2b1)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0xc8ac10){return!0x1;}[_0x2025fc(0x368)](_0x1e6c6b){const _0x8db5d7=_0x2025fc;_0x10cdd3['drawWith'](_0x1e6c6b,{'width':this[_0x8db5d7(0x478)],'height':this[_0x8db5d7(0x3b4)],'strokeWidth':da,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x8db5d7(0x490)]}),this[_0x8db5d7(0x26c)]&&(_0x1e6c6b[_0x8db5d7(0x14f)](),_0x1e6c6b[_0x8db5d7(0x441)](0x1,0x0,0x0,0x1,this[_0x8db5d7(0x478)],this[_0x8db5d7(0x499)]===_0x8db5d7(0x48a)?0x0:-nt),Bt[_0x8db5d7(0xac)](_0x1e6c6b,{'text':this[_0x8db5d7(0x386)],'color':this['_color']}),_0x1e6c6b[_0x8db5d7(0x309)]());}}var va=Object[_0x2025fc(0x385)],pa=Object[_0x2025fc(0x18c)],ma=(_0x17380b,_0x42ade6,_0x2e1296,_0x104633)=>{const _0x937611=_0x2025fc;for(var _0x285501=_0x104633>0x1?void 0x0:_0x104633?pa(_0x42ade6,_0x2e1296):_0x42ade6,_0x33c0c7=_0x17380b[_0x937611(0x161)]-0x1,_0x1808c1;_0x33c0c7>=0x0;_0x33c0c7--)(_0x1808c1=_0x17380b[_0x33c0c7])&&(_0x285501=(_0x104633?_0x1808c1(_0x42ade6,_0x2e1296,_0x285501):_0x1808c1(_0x285501))||_0x285501);return _0x104633&&_0x285501&&va(_0x42ade6,_0x2e1296,_0x285501),_0x285501;},es=(_0x55d5da,_0x2cf7ac)=>(_0x4a5cfe,_0x4f6a7b)=>_0x2cf7ac(_0x4a5cfe,_0x4f6a7b,_0x55d5da);const ga=0x1389;let vs=class extends _0x5ec0cb{constructor(_0x3e7ba9,_0x281192,_0x451f11,_0x13d35a){const _0x503ae4=_0x2025fc;super(),g(this,'_cursors',new Set()),g(this,'_lastPointer',null),(this[_0x503ae4(0x294)]=_0x3e7ba9,this[_0x503ae4(0x14d)]=_0x281192,this['_collabCursorController']=_0x451f11,this[_0x503ae4(0x1c8)]=_0x13d35a,this[_0x503ae4(0x100)]());}[_0x2025fc(0x100)](){const _0x27eeab=_0x2025fc;this[_0x27eeab(0x14d)]['currentSkeleton$'][_0x27eeab(0x150)](_0xc7ed86(this[_0x27eeab(0x345)]),_0x51df4e(_0x5b03c4=>{const _0x271013=_0x27eeab;if(_0x5b03c4){const _0x4b48a9=_0x5b03c4[_0x271013(0x12c)];return _0x238a3a(this[_0x271013(0xab)][_0x271013(0x327)](this['_context'][_0x271013(0x273)]),this['_themeService'][_0x271013(0x3e9)])['pipe'](_0xb11c2f(([_0x3913ed,_0x33a1d1])=>{const _0x243915=_0x271013,_0x733044=new Map();return _0x3913ed[_0x243915(0x2e1)]((_0xf8165f,_0x487239)=>{const _0x2d1382=_0x243915;if(_0xf8165f[_0x2d1382(0x4aa)]===_0x4b48a9){const _0x195d5a={..._0xf8165f};_0x195d5a['color']=_0x33a1d1[_0xf8165f[_0x2d1382(0x26b)]],_0x733044[_0x2d1382(0x39c)](_0x487239,_0x195d5a);}}),{'skeleton':_0x5b03c4,'cursors':_0x733044};}));}return _0x43d0da({'skeleton':null,'cursors':new Map()});}))[_0x27eeab(0x140)](({skeleton:_0x4dd941,cursors:_0x4d3c2c})=>{const _0x331b3b=_0x27eeab;this[_0x331b3b(0x1da)](),_0x4dd941&&this['_updateCollabCursors'](_0x4dd941,_0x4d3c2c);}),this[_0x27eeab(0x14d)][_0x27eeab(0x3fa)]['subscribe'](_0x55bc18=>{const _0xc9f64f=_0x27eeab;if(_0x55bc18==null)return;const {skeleton:_0x5226fc}=_0x55bc18,{scene:_0x5778e0}=this[_0xc9f64f(0x294)];_0x5778e0[_0xc9f64f(0x20d)][_0xc9f64f(0x113)](_0x26c09b(_0x4f6038=>{const _0xb32ee5=_0xc9f64f;var _0x871e8b,_0x1cc21e;const {offsetX:_0x11ceef,offsetY:_0x30ac69}=_0x4f6038,{x:_0x43a276,y:_0x47e2f}=_0x5778e0['getRelativeToViewportCoord'](_0x483d6a[_0xb32ee5(0x3f5)]([_0x11ceef,_0x30ac69])),{scaleX:_0x5610a5,scaleY:_0x84066b}=_0x5778e0[_0xb32ee5(0x277)](),_0x528f7a=_0x5778e0[_0xb32ee5(0x20b)](_0x5a71d0['VIEW_MAIN']),_0x695cb5=_0x5778e0['getVpScrollXYInfoByPosToVp'](_0x483d6a[_0xb32ee5(0x3f5)]([_0x43a276,_0x47e2f]),_0x528f7a),_0x49e1dc=_0x5226fc[_0xb32ee5(0x169)](_0x11ceef,_0x30ac69,_0x5610a5,_0x84066b,_0x695cb5);((_0x871e8b=this[_0xb32ee5(0x195)])==null?void 0x0:_0x871e8b[_0xb32ee5(0x1d6)])===_0x49e1dc[_0xb32ee5(0x1d6)]&&((_0x1cc21e=this['_lastPointer'])==null?void 0x0:_0x1cc21e[_0xb32ee5(0x18f)])===_0x49e1dc[_0xb32ee5(0x18f)]||this[_0xb32ee5(0x449)][_0xb32ee5(0x2e1)](_0x9adca4=>{_0x9adca4['onMouseMove'](_0x49e1dc);});},0x64));});}[_0x2025fc(0x3fb)](_0x584d23,_0x5c02c8){const _0x52ece7=_0x2025fc;var _0x4299a5;const _0x3ecce2=(_0x4299a5=this['_sheetSkeletonManagerService'][_0x52ece7(0x2f5)]())==null?void 0x0:_0x4299a5[_0x52ece7(0x440)];if(!_0x3ecce2)return;const _0x48b17b=this[_0x52ece7(0x454)]();if(!_0x48b17b)return;this[_0x52ece7(0x449)][_0x52ece7(0x2e1)](_0x2abf16=>{const _0x5ec7d1=_0x52ece7;_0x2abf16[_0x5ec7d1(0x203)]();});const {scene:_0x200e3e}=_0x48b17b,_0x2cdbd8=Sa(Array['from'](_0x5c02c8[_0x52ece7(0x3ed)]()))[_0x52ece7(0x23a)](_0x4b3afc=>{const _0x29fa09=_0x52ece7,{color:_0x56c877,range:_0x33cd8f,name:_0x4de9d5,selection:_0x3a3dac,sheetID:_0x386905}=_0x4b3afc,{startColumn:_0x2088ef,startRow:_0x3058c8,endColumn:_0x2e50d6,endRow:_0x1aed29}=_0x33cd8f,_0x5ecfae=_0x473bbb(_0x3058c8,_0x2088ef,_0x200e3e,_0x3ecce2),_0x3b83f6=_0x473bbb(_0x1aed29,_0x2e50d6,_0x200e3e,_0x3ecce2),{columnHeaderHeightAndMarginTop:_0x404c9f}=_0x3ecce2,{startX:_0x261f2f,startY:_0x20529f}=_0x5ecfae,{endX:_0x20cf14,endY:_0x96bebc}=_0x3b83f6,_0x43a374=_0x20cf14-_0x261f2f,_0x5e4653=_0x96bebc-_0x20529f,_0x199e16={'labelPosition':_0x20529f-_0x404c9f>=nt?_0x29fa09(0x37f):_0x29fa09(0x48a),'sheetID':_0x386905,'range':_0x33cd8f,'color':_0x56c877,'name':_0x4de9d5,'selection':_0x3a3dac,'left':_0x261f2f,'top':_0x20529f,'width':_0x43a374,'height':_0x5e4653,'evented':!0x1,'zIndex':ga};return new fa(_0x4de9d5,_0x199e16);});_0x200e3e[_0x52ece7(0x372)](_0x2cdbd8,ua),this['_cursors']=new Set(_0x2cdbd8);}['_removeCollabCursors'](){const _0x4d896f=_0x2025fc;var _0x56ac80;(_0x56ac80=this[_0x4d896f(0x449)])==null||_0x56ac80['forEach'](_0x5522cf=>_0x5522cf['dispose']());}[_0x2025fc(0x454)](){const _0x4e065a=_0x2025fc;return _0x10d32f(this[_0x4e065a(0x294)][_0x4e065a(0x2bb)],this[_0x4e065a(0x294)]);}};vs=ma([es(0x1,_0x5847bf(_0x46c626)),es(0x2,_0x5847bf(Ve)),es(0x3,_0x5847bf(_0x14c134))],vs);function Sa(_0x172ff7){const _0x98b58c=_0x2025fc,_0x126495=new Map();return _0x172ff7[_0x98b58c(0x2e1)](_0xba9fe1=>{const _0x26854d=_0x98b58c;if(_0x126495[_0x26854d(0x24c)](_0xba9fe1[_0x26854d(0x43b)])){const _0x366733=_0x126495[_0x26854d(0x33e)](_0xba9fe1[_0x26854d(0x43b)]);_0x366733[_0x26854d(0x1c7)]+=',\x20'+_0xba9fe1[_0x26854d(0x1c7)];}else _0x126495[_0x26854d(0x39c)](_0xba9fe1['selection'],_0xba9fe1);}),Array[_0x98b58c(0x11c)](_0x126495['values']());}var ts=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ct(_0x3340ed){const _0x5904cd=_0x2025fc;return _0x3340ed&&_0x3340ed[_0x5904cd(0x229)]&&Object[_0x5904cd(0x33f)]['hasOwnProperty'][_0x5904cd(0x494)](_0x3340ed,_0x5904cd(0x3c8))?_0x3340ed['default']:_0x3340ed;}var ss={'exports':{}},Ze={},ni;function Ia(){const _0x4be54b=_0x2025fc;if(ni)return Ze;ni=0x1;var _0x23d010=_0x3f0cf0,_0x32b869=Symbol[_0x4be54b(0x146)](_0x4be54b(0x39d)),_0xae1650=Symbol[_0x4be54b(0x146)](_0x4be54b(0x36c)),_0x5f3768=Object[_0x4be54b(0x33f)][_0x4be54b(0x413)],_0x16c004=_0x23d010[_0x4be54b(0x13b)]['ReactCurrentOwner'],_0x353bcc={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x115fda(_0x28b8d0,_0x3f5bbd,_0xdb1dfc){const _0x31043e=_0x4be54b;var _0x292d5e,_0x12742f={},_0x3e7e02=null,_0x2a76f8=null;_0xdb1dfc!==void 0x0&&(_0x3e7e02=''+_0xdb1dfc),_0x3f5bbd[_0x31043e(0x45c)]!==void 0x0&&(_0x3e7e02=''+_0x3f5bbd[_0x31043e(0x45c)]),_0x3f5bbd['ref']!==void 0x0&&(_0x2a76f8=_0x3f5bbd['ref']);for(_0x292d5e in _0x3f5bbd)_0x5f3768['call'](_0x3f5bbd,_0x292d5e)&&!_0x353bcc['hasOwnProperty'](_0x292d5e)&&(_0x12742f[_0x292d5e]=_0x3f5bbd[_0x292d5e]);if(_0x28b8d0&&_0x28b8d0['defaultProps']){for(_0x292d5e in(_0x3f5bbd=_0x28b8d0[_0x31043e(0x485)],_0x3f5bbd))_0x12742f[_0x292d5e]===void 0x0&&(_0x12742f[_0x292d5e]=_0x3f5bbd[_0x292d5e]);}return{'$$typeof':_0x32b869,'type':_0x28b8d0,'key':_0x3e7e02,'ref':_0x2a76f8,'props':_0x12742f,'_owner':_0x16c004[_0x31043e(0x122)]};}return Ze[_0x4be54b(0xbb)]=_0xae1650,Ze[_0x4be54b(0x4b9)]=_0x115fda,Ze[_0x4be54b(0x110)]=_0x115fda,Ze;}var oi;function Ca(){const _0xe5f7ae=_0x2025fc;return oi||(oi=0x1,ss['exports']=Ia()),ss[_0xe5f7ae(0x317)];}var De=Ca(),te=function(){const _0x16f379=_0x2025fc;return te=Object['assign']||function(_0x5dee62){const _0x1167ee=_0x46d8;for(var _0x3ed36f,_0x10f76f=0x1,_0x26ae3c=arguments[_0x1167ee(0x161)];_0x10f76f<_0x26ae3c;_0x10f76f++){_0x3ed36f=arguments[_0x10f76f];for(var _0x1c1189 in _0x3ed36f)Object[_0x1167ee(0x33f)][_0x1167ee(0x413)][_0x1167ee(0x494)](_0x3ed36f,_0x1c1189)&&(_0x5dee62[_0x1c1189]=_0x3ed36f[_0x1c1189]);}return _0x5dee62;},te[_0x16f379(0x38b)](this,arguments);},Ea=function(_0x29979d,_0xf5431c){const _0x56210b=_0x2025fc;var _0x430ffa={};for(var _0x273633 in _0x29979d)Object['prototype'][_0x56210b(0x413)][_0x56210b(0x494)](_0x29979d,_0x273633)&&_0xf5431c[_0x56210b(0x1a5)](_0x273633)<0x0&&(_0x430ffa[_0x273633]=_0x29979d[_0x273633]);if(_0x29979d!=null&&typeof Object[_0x56210b(0x35d)]==_0x56210b(0x2d6)){for(var _0x1bb0c9=0x0,_0x273633=Object[_0x56210b(0x35d)](_0x29979d);_0x1bb0c9<_0x273633[_0x56210b(0x161)];_0x1bb0c9++)_0xf5431c[_0x56210b(0x1a5)](_0x273633[_0x1bb0c9])<0x0&&Object[_0x56210b(0x33f)][_0x56210b(0x227)][_0x56210b(0x494)](_0x29979d,_0x273633[_0x1bb0c9])&&(_0x430ffa[_0x273633[_0x1bb0c9]]=_0x29979d[_0x273633[_0x1bb0c9]]);}return _0x430ffa;},Us=_0x338e7b(function(_0x43d089,_0x306b76){const _0x21727b=_0x2025fc;var _0x23b322=_0x43d089[_0x21727b(0x213)],_0x3b36b9=_0x43d089['id'],_0x5ae39c=_0x43d089[_0x21727b(0x46c)],_0x2567fa=_0x43d089['extend'],_0x115f1c=Ea(_0x43d089,[_0x21727b(0x213),'id',_0x21727b(0x46c),'extend']),_0x50534e='univerjs-icon\x20univerjs-icon-'['concat'](_0x3b36b9,'\x20')['concat'](_0x5ae39c||'')['trim'](),_0x419fba=_0x28ff08('_'[_0x21727b(0x40a)](Ra()));return Zi(_0x23b322,''[_0x21727b(0x40a)](_0x3b36b9),{'defIds':_0x23b322[_0x21727b(0x428)],'idSuffix':_0x419fba[_0x21727b(0x122)]},te({'ref':_0x306b76,'className':_0x50534e},_0x115f1c),_0x2567fa);});function Zi(_0x30c318,_0x5384ca,_0x30d4f6,_0x55f5c9,_0x4512e3){const _0x367eed=_0x2025fc;return _0x10eb66(_0x30c318['tag'],te(te({'key':_0x5384ca},ba(_0x30c318,_0x30d4f6,_0x4512e3)),_0x55f5c9),(Ta(_0x30c318,_0x30d4f6)[_0x367eed(0x32c)]||[])[_0x367eed(0x23a)](function(_0x366425,_0x43eb0d){const _0x4eaa2b=_0x367eed;return Zi(_0x366425,''[_0x4eaa2b(0x40a)](_0x5384ca,'-')['concat'](_0x30c318[_0x4eaa2b(0x40b)],'-')['concat'](_0x43eb0d),_0x30d4f6,void 0x0,_0x4512e3);}));}function ba(_0x2033eb,_0x1dcdc3,_0x5d46eb){const _0x47816b=_0x2025fc;var _0x5aa307=te({},_0x2033eb['attrs']);_0x5d46eb!=null&&_0x5d46eb[_0x47816b(0x18b)]&&_0x5aa307[_0x47816b(0x46e)]===_0x47816b(0x18b)&&(_0x5aa307[_0x47816b(0x46e)]=_0x5d46eb['colorChannel1']);var _0x117dfd=_0x1dcdc3[_0x47816b(0x428)];return!_0x117dfd||_0x117dfd['length']===0x0||(_0x2033eb[_0x47816b(0x40b)]==='use'&&_0x5aa307[_0x47816b(0x29a)]&&(_0x5aa307[_0x47816b(0x29a)]=_0x5aa307[_0x47816b(0x29a)]+_0x1dcdc3[_0x47816b(0xd6)]),Object[_0x47816b(0xf5)](_0x5aa307)[_0x47816b(0x2e1)](function(_0x5b168c){const _0x526f5a=_0x47816b;var _0x37f5e2=_0x5b168c[0x0],_0x104eef=_0x5b168c[0x1];typeof _0x104eef=='string'&&(_0x5aa307[_0x37f5e2]=_0x104eef[_0x526f5a(0x11f)](/url\(#(.*)\)/,'url(#$1'[_0x526f5a(0x40a)](_0x1dcdc3[_0x526f5a(0xd6)],')')));})),_0x5aa307;}function Ta(_0x360076,_0x4667c5){const _0x2f633e=_0x2025fc;var _0x263520,_0x14c12b=_0x4667c5[_0x2f633e(0x428)];return!_0x14c12b||_0x14c12b[_0x2f633e(0x161)]===0x0?_0x360076:_0x360076['tag']===_0x2f633e(0x443)&&(!((_0x263520=_0x360076['children'])===null||_0x263520===void 0x0)&&_0x263520[_0x2f633e(0x161)])?te(te({},_0x360076),{'children':_0x360076['children'][_0x2f633e(0x23a)](function(_0x324b6e){const _0x3423e7=_0x2f633e;return typeof _0x324b6e[_0x3423e7(0xf3)]['id']==_0x3423e7(0x151)&&_0x14c12b&&_0x14c12b[_0x3423e7(0x1a5)](_0x324b6e[_0x3423e7(0xf3)]['id'])>-0x1?te(te({},_0x324b6e),{'attrs':te(te({},_0x324b6e[_0x3423e7(0xf3)]),{'id':_0x324b6e[_0x3423e7(0xf3)]['id']+_0x4667c5[_0x3423e7(0xd6)]})}):_0x324b6e;})}):_0x360076;}function Ra(){const _0x328892=_0x2025fc;return Math['random']()[_0x328892(0x135)](0x24)[_0x328892(0x1ec)](0x2,0x8);}Us[_0x2025fc(0x44d)]=_0x2025fc(0x265);var Oa={'tag':_0x2025fc(0x39f),'attrs':{'fill':_0x2025fc(0xe7),'viewBox':_0x2025fc(0x182),'width':_0x2025fc(0x2f0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2025fc(0x167)},'children':[{'tag':'path','attrs':{'stroke':_0x2025fc(0x3a1),'d':_0x2025fc(0xd2),'strokeLinecap':'round','strokeLinejoin':_0x2025fc(0xe9),'strokeWidth':1.2}}]},{'tag':_0x2025fc(0x443),'attrs':{},'children':[{'tag':_0x2025fc(0x243),'attrs':{'id':_0x2025fc(0x425)},'children':[{'tag':_0x2025fc(0x320),'attrs':{'fill':'#fff','d':_0x2025fc(0x215)}}]}]}],'defIds':[_0x2025fc(0x425)]},Qi=_0x338e7b(function(_0x28794b,_0x426148){const _0x21423a=_0x2025fc;return _0x10eb66(Us,Object[_0x21423a(0x20c)]({},_0x28794b,{'id':'off-line-single','ref':_0x426148,'icon':Oa}));});Qi[_0x2025fc(0x44d)]='OffLineSingle';var ya={'tag':_0x2025fc(0x39f),'attrs':{'fill':_0x2025fc(0xe7),'viewBox':_0x2025fc(0x49c),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x2025fc(0x320),'attrs':{'stroke':_0x2025fc(0x3a1),'d':_0x2025fc(0x244),'strokeLinecap':_0x2025fc(0xe9),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2025fc(0x443),'attrs':{},'children':[{'tag':_0x2025fc(0x243),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2025fc(0x48b),'d':_0x2025fc(0x215),'transform':_0x2025fc(0x24b)}}]}]}],'defIds':[_0x2025fc(0x1b7)]},er=_0x338e7b(function(_0x3e82a8,_0x528e3a){const _0x40ff6f=_0x2025fc;return _0x10eb66(Us,Object[_0x40ff6f(0x20c)]({},_0x3e82a8,{'id':_0x40ff6f(0x16f),'ref':_0x528e3a,'icon':ya}));});er[_0x2025fc(0x44d)]=_0x2025fc(0x1f9);function tr(_0x4c1e51){const _0x25188e=_0x2025fc;var _0x16a9a0,_0x54776e,_0x54f225='';if(typeof _0x4c1e51==_0x25188e(0x151)||typeof _0x4c1e51==_0x25188e(0xc7))_0x54f225+=_0x4c1e51;else{if(typeof _0x4c1e51==_0x25188e(0x297)){if(Array[_0x25188e(0x287)](_0x4c1e51)){var _0x7f7dbb=_0x4c1e51[_0x25188e(0x161)];for(_0x16a9a0=0x0;_0x16a9a0<_0x7f7dbb;_0x16a9a0++)_0x4c1e51[_0x16a9a0]&&(_0x54776e=tr(_0x4c1e51[_0x16a9a0]))&&(_0x54f225&&(_0x54f225+='\x20'),_0x54f225+=_0x54776e);}else{for(_0x54776e in _0x4c1e51)_0x4c1e51[_0x54776e]&&(_0x54f225&&(_0x54f225+='\x20'),_0x54f225+=_0x54776e);}}}return _0x54f225;}function wa(){const _0x5220e5=_0x2025fc;for(var _0x36eeb1,_0x3ad1e8,_0xefd7b0=0x0,_0x2d88af='',_0x32aa87=arguments[_0x5220e5(0x161)];_0xefd7b0<_0x32aa87;_0xefd7b0++)(_0x36eeb1=arguments[_0xefd7b0])&&(_0x3ad1e8=tr(_0x36eeb1))&&(_0x2d88af&&(_0x2d88af+='\x20'),_0x2d88af+=_0x3ad1e8);return _0x2d88af;}const Da='univer-online-status-icon',Pa=_0x2025fc(0x295),Na='univer-online-status',Ua=_0x2025fc(0x11d),Aa=_0x2025fc(0x3e7),Qe={'onlineStatusIcon':Da,'onlineStatusTitle':Pa,'onlineStatus':Na,'online':Ua,'offline':Aa};function Ma(_0x2cd0ff){const _0x3e6472=_0x2025fc;switch(_0x2cd0ff){case J['OFFLINE']:return'collabStatus.offline';case J['CONFLICT']:return _0x3e6472(0x415);case J[_0x3e6472(0x2d7)]:return _0x3e6472(0x433);case J[_0x3e6472(0x174)]:return _0x3e6472(0x466);case J[_0x3e6472(0x236)]:case J['AWAITING_WITH_PENDING']:return _0x3e6472(0x1b9);case J[_0x3e6472(0x274)]:case J[_0x3e6472(0x469)]:return'collabStatus.synced';}}function xa(_0x442d0e){const _0x4d3989=_0x2025fc,{status$:_0x1929b8}=_0x442d0e,_0x2d39c2=_0x5dcc9e(_0x1929b8,J[_0x4d3989(0x174)]),_0x46197f=_0x121dc7(_0x4b4756),_0x121ffb=_0x121dc7(xe),_0x1517c4=_0x2d39c2!==J[_0x4d3989(0x23c)],_0x5abe1f=_0x46197f['t'](Ma(_0x2d39c2)),_0x47bc11=wa(Qe['onlineStatus'],{[Qe[_0x4d3989(0x219)]]:_0x1517c4,[Qe[_0x4d3989(0x13e)]]:!_0x1517c4}),_0x2b5551=_0x1517c4?De['jsx'](er,{}):De['jsx'](Qi,{}),_0x2b07cc=_0x2496ba(()=>{const _0x4b19c3=_0x4d3989;_0x1517c4||_0x121ffb[_0x4b19c3(0x35e)]();},[_0x1517c4,_0x121ffb]);function _0x96c3ab(){const _0x56af11=_0x4d3989;return De[_0x56af11(0x110)](_0x56af11(0x192),{'className':_0x47bc11,'onClick':_0x2b07cc,'children':[De[_0x56af11(0x4b9)](_0x56af11(0x192),{'className':Qe[_0x56af11(0x1be)],'children':_0x2b5551}),De[_0x56af11(0x4b9)]('div',{'className':Qe['onlineStatusTitle'],'children':_0x5abe1f})]});}return _0x1517c4?_0x96c3ab():De[_0x4d3989(0x4b9)](_0x4ddf03,{'title':_0x46197f['t']('collab-client.tooltip.reconnect'),'children':_0x96c3ab()});}var La=Object[_0x2025fc(0x385)],$a=Object[_0x2025fc(0x18c)],Ha=(_0x279082,_0x17558f,_0x45f955,_0x227caf)=>{const _0x597949=_0x2025fc;for(var _0x1bd0d1=_0x227caf>0x1?void 0x0:_0x227caf?$a(_0x17558f,_0x45f955):_0x17558f,_0xd4b6e0=_0x279082[_0x597949(0x161)]-0x1,_0xc3e98c;_0xd4b6e0>=0x0;_0xd4b6e0--)(_0xc3e98c=_0x279082[_0xd4b6e0])&&(_0x1bd0d1=(_0x227caf?_0xc3e98c(_0x17558f,_0x45f955,_0x1bd0d1):_0xc3e98c(_0x1bd0d1))||_0x1bd0d1);return _0x227caf&&_0x1bd0d1&&La(_0x17558f,_0x45f955,_0x1bd0d1),_0x1bd0d1;},lt=(_0xf4e819,_0x2d9199)=>(_0x4bc06a,_0x3bd00e)=>_0x2d9199(_0x4bc06a,_0x3bd00e,_0xf4e819);let At=class extends _0x24229e{constructor(_0x5c5324,_0x3bc8ed,_0x538326,_0x7ab99a){const _0x1b06b8=_0x2025fc;super(),g(this,_0x1b06b8(0x1ac),new _0x1074c2(J[_0x1b06b8(0x174)])),(this[_0x1b06b8(0x3cf)]=_0x5c5324,this[_0x1b06b8(0x3e2)]=_0x3bc8ed,this[_0x1b06b8(0x147)]=_0x538326,this['_collaborationController']=_0x7ab99a,this[_0x1b06b8(0x2cc)](),this[_0x1b06b8(0x4ab)]());}['_initStatusListener'](){const _0x1bf207=_0x2025fc;this[_0x1bf207(0x10c)](this[_0x1bf207(0x3cf)]['focused$']['pipe'](_0x4e1242(()=>{const _0x4ae648=_0x1bf207,_0x2874c9=this[_0x4ae648(0x3cf)]['getFocusedUnit']();return _0x2874c9?this[_0x4ae648(0x1f0)][_0x4ae648(0x403)](_0x2874c9[_0x4ae648(0x10b)]()):_0x43d0da(null);}),_0x4e1242(_0x1f5bd4=>_0x1f5bd4?_0x1f5bd4[_0x1bf207(0x1cf)]:_0x43d0da(J['NOT_COLLAB'])))[_0x1bf207(0x140)](_0x1efa99=>{const _0x203591=_0x1bf207;this[_0x203591(0x1ac)]['next'](_0x1efa99);}));}[_0x2025fc(0x2cc)](){const _0x4a15c1=_0x2025fc;this[_0x4a15c1(0x10c)](this['_uiPartsService']['registerComponent'](_0x2879fd[_0x4a15c1(0x25a)],()=>_0x556999(ja({'status$':this[_0x4a15c1(0x1ac)][_0x4a15c1(0xf7)]()}),this[_0x4a15c1(0x147)])));}};At=Ha([lt(0x0,_0x425cee),lt(0x1,_0x100c23),lt(0x2,_0x5847bf(_0x5d7671)),lt(0x3,_0x5847bf(rt))],At);function ja(_0x58b9a5){const {status$:_0x33afc2}=_0x58b9a5;return function(){const _0x22508f=_0x46d8;return De[_0x22508f(0x4b9)](xa,{'status$':_0x33afc2});};}const sr=_0x30094b(_0x2025fc(0xe1));var Ba=Object[_0x2025fc(0x385)],ka=Object[_0x2025fc(0x18c)],Wa=(_0x335559,_0x24945f,_0x284b0c,_0xaa5ae5)=>{for(var _0xb36413=_0xaa5ae5>0x1?void 0x0:_0xaa5ae5?ka(_0x24945f,_0x284b0c):_0x24945f,_0x14fb12=_0x335559['length']-0x1,_0x4cddc4;_0x14fb12>=0x0;_0x14fb12--)(_0x4cddc4=_0x335559[_0x14fb12])&&(_0xb36413=(_0xaa5ae5?_0x4cddc4(_0x24945f,_0x284b0c,_0xb36413):_0x4cddc4(_0xb36413))||_0xb36413);return _0xaa5ae5&&_0xb36413&&Ba(_0x24945f,_0x284b0c,_0xb36413),_0xb36413;},ke=(_0x24c065,_0x232318)=>(_0x5de502,_0x22d8d5)=>_0x232318(_0x5de502,_0x22d8d5,_0x24c065);let Mt=class extends _0x5ec0cb{constructor(_0x1e07a3,_0x5370b5,_0x502cf4,_0x3832a3,_0x5bc5d8,_0x4ee62e){const _0x162afe=_0x2025fc;super(),this['_urlService']=_0x1e07a3,this[_0x162afe(0xc1)]=_0x5370b5,this['_commandService']=_0x502cf4,this[_0x162afe(0x2a4)]=_0x3832a3,this[_0x162afe(0xd5)]=_0x5bc5d8,_0x4ee62e?_0x4ee62e==null||_0x4ee62e[_0x162afe(0x214)]()[_0x162afe(0x1c0)](()=>this[_0x162afe(0x100)]()):(this[_0x162afe(0xc1)][_0x162afe(0x456)](_0x162afe(0x307),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x162afe(0x100)]());}async[_0x2025fc(0x100)](){const _0x13f306=_0x2025fc,_0x593989=this[_0x13f306(0x371)][_0x13f306(0x30a)](_0x13f306(0x2bb)),_0x5723ac=this['_urlService'][_0x13f306(0x30a)](_0x13f306(0x442));if(!_0x593989||!_0x5723ac){this[_0x13f306(0xc1)][_0x13f306(0x456)]('[DataLoaderController]',_0x13f306(0x1b8));return;}switch(Number(_0x5723ac)){case ae[_0x13f306(0x4a6)]:{const _0x1783f5=await this[_0x13f306(0xfd)](_0x593989);this['_setupSubUnitSync'](_0x1783f5);break;}case ae['UNIVER_DOC']:{await this['_loadDoc'](_0x593989);break;}default:{this[_0x13f306(0xc1)]['error'](_0x13f306(0x307),_0x13f306(0x405));break;}}}async[_0x2025fc(0x115)](_0xb7ac47){const _0x530346=_0x2025fc;await this['_updateSubUnitFromURLParams'](_0xb7ac47),_0xb7ac47[_0x530346(0x232)][_0x530346(0x150)](_0x7b6507(this['dispose$']))[_0x530346(0x140)](_0x2424cb=>{const _0x4d8983=_0x530346;_0x2424cb&&this[_0x4d8983(0x3d5)](_0x2424cb);}),this[_0x530346(0x371)][_0x530346(0xb2)][_0x530346(0x150)](_0x7b6507(this[_0x530346(0x345)]))[_0x530346(0x140)](()=>this[_0x530346(0x281)](_0xb7ac47));}[_0x2025fc(0x3d5)](_0x3fc208,_0x27d98e=!0x1){const _0x3e5a11=_0x2025fc,_0x2f8252=this[_0x3e5a11(0x371)][_0x3e5a11(0x30a)](_0x3e5a11(0x35c));_0x3fc208[_0x3e5a11(0x369)]()!==_0x2f8252&&this[_0x3e5a11(0x371)][_0x3e5a11(0x43d)](_0x3e5a11(0x35c),_0x3fc208[_0x3e5a11(0x369)](),_0x27d98e);}async[_0x2025fc(0x281)](_0x455028){const _0x46159e=_0x2025fc;var _0x311bef;const _0x28ca29=this[_0x46159e(0x371)]['getParam']('subunit');if(!_0x28ca29||!_0x455028[_0x46159e(0xe2)](_0x28ca29)){const _0x180e0a=_0x455028['getUnhiddenWorksheets']()[0x0],_0xdeac75=_0x455028[_0x46159e(0xe2)](_0x180e0a);if(!_0xdeac75)return;this['_updateURLWithCurrentState'](_0xdeac75,!0x0),await this[_0x46159e(0x481)][_0x46159e(0x344)](_0x31bc6f['id'],{'unitId':_0x455028[_0x46159e(0x10b)](),'subUnitId':_0x180e0a});return;}((_0x311bef=_0x455028[_0x46159e(0x406)]())==null?void 0x0:_0x311bef[_0x46159e(0x369)]())!==_0x28ca29&&await this[_0x46159e(0x481)][_0x46159e(0x344)](_0x31bc6f['id'],{'unitId':_0x455028[_0x46159e(0x10b)](),'subUnitId':_0x28ca29});}async['_loadSheet'](_0x54262c){const _0x53ca76=_0x2025fc;let _0x509433=0x0;const _0xf128a5=await this[_0x53ca76(0x2a4)][_0x53ca76(0x3cc)](_0x54262c);return _0xf128a5&&(_0xf128a5['awaitingChangeset']||_0xf128a5[_0x53ca76(0x335)][_0x53ca76(0x161)]!==0x0)&&(_0x509433=_0xf128a5[_0x53ca76(0x220)]),_0x509433===0x0&&this[_0x53ca76(0xc1)]['debug'](_0x53ca76(0x307),_0x53ca76(0x2d2)),this[_0x53ca76(0xd5)]['loadSheet'](_0x54262c,_0x509433);}async['_loadDoc'](_0x308801){const _0x2fd233=_0x2025fc;let _0xf21ae=0x0;const _0x4db73e=await this['_localCacheService'][_0x2fd233(0x3cc)](_0x308801);return _0x4db73e&&(_0x4db73e[_0x2fd233(0x3b0)]||_0x4db73e[_0x2fd233(0x335)][_0x2fd233(0x161)]!==0x0)&&(_0xf21ae=_0x4db73e[_0x2fd233(0x220)]),_0xf21ae===0x0&&this['_logService']['debug']('[DataLoaderController]',_0x2fd233(0x2d2)),this[_0x2fd233(0xd5)][_0x2fd233(0x259)](_0x308801,_0xf21ae);}};function _0x5197(){const _0x4d5cc6=['path','#FFF','getStateCache','_doCryptBlock','mode','COLLAB_SUBMIT_CHANGESET_URL','getOffsetConfig','getCollabCursors$','_waitCount','[OfflineState]:\x20received\x20rejection.','byteLength','hostname','children','cmd','onSendChangeset','CHANGESET_SHOULD_RETRY','_getLoginPath','ALREADY_EXISTS','/unit/','[CollaborationState]:\x20apply\x20error!','[OfflineState]:\x20received\x20acknowledgement.','mutations','fillRule','_heartbeatTimer','transformUndoRedo','roles','reject','_startTelemetryCollaborationNewChangeset','url','startsWith','get','prototype','roomMembers','_getDownloadEndpointURL','_onRefRangeChange','_docSkeletonManagerService','executeCommand','dispose$','_clearCollaborationTimeoutTimer','undoState','_docTransformSelectionsService','JOINING','abs','_online','_unitOnClients','listCollaborators','getRangePointData','_schedule','_collaborationTimeoutTimer','_createInitialState','words','BlockCipherMode','rng','_iv','requestParams','symbol','popstate','docStateChange$','UNAUTHENTICATED','UNKNOWN_CODE','subunit','getOwnPropertySymbols','reconnect','_acknowledgedAwaitingChangeset','not_collab','state$','_messageService','_onRemoteChangeset','interceptor','INGEST','_handleEvent','_drawAnchor','_draw','getSheetId','encrypt','enableSingleActiveInstanceLock','react.fragment','moveTo','NEW_CHANGESETS','_substituteRedoStack','csShouldRetryEvent','_urlService','addObjects','ceil','liveShareNewHost','toggleOnline','reverse','fetch_missing','clamp','createCollaborator','_toggleOffline','_onCursorUpdate','FETCH_MISSING','_nDataBytes','userID','top','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collaMsg','next','_imageSourceCache','patch','defineProperty','_name','LEAVE','IDLE','beginPath','\x20-\x20','apply','onTransformIME','LICENSE_DISTRO_REJECTED','UNIVER_UNKNOWN','setCurrentUser','liveShareOperation','getDocRanges','image/png','reduce','mixIn','all','_sendingTimer','/allowed','_pendingMutations','synced','snapshotServerUrl','collab-text-anchor-','set','react.element','transformMutationsWithChangeset','svg','params','currentColor','_initUnitPermissionChange','_transformPreviousActiveRange','collabWebSocketUrl','_clearScheduledTask','_eventUnsubscribe','_roomMembers','ENSURE_SNAPSHOT_EXECUTION','_localeService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_socketReady','UnitSnapshot','UNIVER_DOC','_state$','_createInitialStateImpl','awaitingChangeset','exhaustSavingTask','COMPRESS_MUTATION_APPLY','flatMap','height','purple300','_clearHeartbeatTimer','addImageSourceCache','_getCurrentRevision','Warning','repeat','padding','_changesetSessionId','unshift','_state','_hash','list','[CollaborationSession]','show','{fileID}','target','complete','_singleActiveUnitService','_hover','default','_replayCachedMutations','fetchThroughInterceptors','_exhaustRemoteChangesetQueue','loadOfflineData','_render','UUID','_univerInstanceService','_syncEditingCollabCursor','session.room-permission-denied','SHA1','commentUpdate$','createEncryptor','_updateURLWithCurrentState','_keyPriorReset','CHANGESET_ACK','\x0aCurrent:\x20','session.join-failed','_entities','_ENC_XFORM_MODE','USERS_LEAVE','YUUMI_UNABLE_LOAD_URL','members','_members','_onUserLeave','TOO_MANY_REQUESTS','_uiPartsService','getUnitType','_getAnchorBounding','newValue','socket\x20open.','univer-offline','UNDEFINED','currentTheme$','_onCombEvent','saveImage','searchParams','values','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','permissionRejEvent','decryptBlock','href','max','allowed','_handleLeaveEvent','FromArray','_HTTPService','Hasher','_roomMembers$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','currentSkeleton$','_updateCollabCursors','/universer-api/file/{fileID}/sign-url','clearInterval','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getFocusedUnit','message$','onTransformState','endRow','getCollabEntity$','_nRounds','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getActiveSheet','onload','_createSocketURL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','concat','tag','_getCtorByUniverType','requireSession','sendChangesetTimeout','onRemoteAck','retryConnectingInterval','PERMISSION_DENIED','onRemoteRetry','hasOwnProperty','[CollaborationSessionService]:\x20socket\x20error','collabStatus.conflict','closeSession','visibilityState','_transformHistoryAndStateStack','getMember','refreshPermission','enableAuthServer','_unitID','ERROR_EXCEED_SIZE','JOIN_ROOM_NOT_EXISTS','body','encode','_getRedoStack','transformRemoteChangeset','/universer-api/authz','fetching\x20missing\x20changesets\x20from\x20','off-line-single_clip0_910_343','_color','sid','defIds','_startCollaboration','getValue','collab-text-range-','failed\x20to\x20apply\x20missed\x20changesets!','_decreaseWaiting','objectActions','onRendered','getUnitStatus$','collaborators','[CollaborationUndoRedoService]','collabStatus.fetchMiss','_cipher','Undefined','fetchMissingChangesets','_checkMissing','text','_retryCount','_scheduleClearOtherTimer','selection','72kwfkCy','setParam','registerRefRange','CONNECTOR_DATA_TOO_LARGE','skeleton','transform','type','defs','_removeClearOtherTimer','POST','enableOfflineEditing','saveChangeset','/-/object/list','_cursors','override','_listenToOnlineEvent','LIVESHARE_OPERATION','displayName','_entityInit$','m1Prime','BufferedBlockAlgorithm','collabCursorState$','_handler','101836GxltVa','_getSheetObject','toRgbString','debug','subUnitId','revision','unit-cache-','_handleJoinEvent','NOT_FOUND','key','LOGIN_URL_KEY','_collaborationPaused','pad','localeService','_clearOtherTimers','subject','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','resize','_startSheetCollabCursor','collabStatus.notCollab','hide','compose','PENDING','pending','NO_OTHER_CLIENTS_EDITING','className','open$','fill','randomBytes','_transitionLocked','memberID','UNIVER_SLIDE','application/json','red300','collaboration-client.offline-data-not-saved','HEARTBEAT_TIMEOUT','fillStyle','width','Malformed\x20UTF-8\x20data','_shouldReportTelemetry','onMouseMove','UPDATE_PERMISSION_OBJ','_awaitingChangeset','YUUMI_RATE_OVER_LIMIT','_socketMessageSubscription','?url=','_commandService','measureText','endColumn','initWorkbookPermissionChange','defaultProps','_initMergeInterceptor','withCredentials','Utf8','_scheduleSaving','bottom','#fff','getImageSourceCache','joinRsp','random','slice','_backgroundColor','result','_tryEnsureSocket','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','call','doc.mutation.rich-text-editing','AUTHZ_URL_KEY','getCollabEntity','_initCommandExecutedListener','_labelPosition','actions','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','/object/','_unitStatus','registerRenderModule','_clearTimeoutTimer','image/gif','extend','sigBytes','JOIN_ROOM_FULL','HEARTBEAT','UNIVER_SHEET','_startDocCollabCursor','_resendTimer','_transformStack','sheetID','_initStatusListener','_tryReconnect','_unlockTransition','_ensureSubject','APPLY_NON_SEQUENTIAL_REVISION','add','clearTimeout','_send','_timeoutTimer','_onUserJoin','SUCCUSS','transformMutation','&assign=','arc','jsx','unload','_initRequestHeader','ACTIVE_UNIT_EVENT_CHANNEL','AWAITING_WITH_PENDING','buffer','ERROR_IMAGE_TYPE','onRemoteRej','_stopTelemetryCollaborationNewChangeset','put','_getSaveTimeout','Latin1','OTHER_CLIENTS_EDITING','_collabCursorController','drawWith','ONLINE','fromCollab','session.room-cnt-exceeds','PasswordBasedCipher','transformStack\x20failed!','urlChange$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_configService','_createHelper','_userManagerService','socket$','filter','_process','LIVESHARE_REQUEST_HOST','Fragment','_removeRoom','INTERNAL_ERROR','decrypt','update','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_logService','syncEditingCollabCursor','USERS_ENTER','imageSourceType','history','_listenToOfflineEvent','number','[PendingState]:\x20unhandled\x20univer\x20type:\x20','send','UNIVER_COLLABORATION_CLIENT_PLUGIN','transformIMECache','startTime','_colorIndex','getAllMembers','charCodeAt','11373057DWoovu','_range','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','includes','_colorAssignService','_snapshotService','idSuffix','removeMember','resend','_transformSelections','_resendTimeout','enc','getSnapshotAPIPath','BlockCipher','COLLAB_WEB_SOCKET_URL','_onFetchMissResult','setAlpha','uni.network.url-service','getSheetBySheetId','_http','onStateChange','ranges','_type','none','_instanceService','round','JOIN','CipherParams','univer-pro.collaboration-client-socket-service','transformByState','280yTOAYS','getCurrentSelections','Hex','APPLY_PERMISSION_DENIED','editingUnit','attrs','_onConflict','entries','randomUUID','asObservable','_assignedColors','x-univer-host','onRemoteChangeset','editing\x20status\x20changed\x20to','AES','_loadSheet','onStarting','_compressMutationService','_init','APPLY_DUPLICATED','PERMISSION_REJ','conflict.content','UNRECOGNIZED','_onConnectionFailed','onTransformSelections','_hasher','HmacSHA1','_scheduleTimestamp','_docStateChangeManagerService','getUnitId','disposeWithMe','_DEC_XFORM_MODE','_getAPIPrefixPath','YUUMI_SUBSCRIPTION_NOT_FOUND','jsxs','storage','blockSize','subscribeEvent','29066wBmWdT','_setupSubUnitSync','clear','c2Prime','lib','getImage','charAt','_onMessage','from','univer-online','stringify','replace','OpenSSL','onPointerLeave$','current','_ws','[CollaborationEntity]','_showConflictNotification','formatter','floor','_transformService','UNKNOWN_CMD','createInstance','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','sheetId','_minBufferSize','selections','_getSessionTicket','_refreshCollabCursors','sessionTicket','_onRemoteRetry','getDeserializedSheetBlock','setConfig','toString','_docTransformStateCacheService','conflict','_initCloseConn','_incrementRevisionNumber','_submitChangeset','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','cursorInfo','_registerRenderDependencies','offline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribe','ivSize','event$','onMissedChangesetFetched','_snapshotServerService','msCrypto','for','_injector','originalMeta','_onOffline','_initResize','getCurrentUser','getRoom','_sheetSkeletonManagerService','LICENSE_MAX_UNITS_EXCEEDED','save','pipe','string','method','reqId','_updateStatus','_setupBeforeClosingHandler','_imageIoService','_getScale','onCommentUpdate','findNodePositionByCharIndex','_id','addClipboardHook','NoPadding','transformStateCache','HmacMD5','routeKey','resourceIDs','length','_queuedRemoteChangesets','connection\x20error','createSocket','delete','/rev/','url(#off-line-single_clip0_910_343)','_onJoinRoomEvent','getCellPositionByOffset','location','_config','_invKeySchedule','setTimeout','collaboration.single-unit.warning','on-line-single','collaboration.closeRoom','saveSheetBlock','/universer-api/snapshot/','_cachedData','NOT_COLLAB','jiqing500','hidden','LIVESHARE_FETCH_OPERATIONS','DeleteRangeMoveUpCommandId','code','&to=','post','HELLO','finalize','session','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CHANGESET_REJ','_beforeCloseService','0\x200\x2016\x2016','collaboratorID','/universer-api/stream/file/upload','session.connection-failed','uploadFileServerUrl','_syncEditingCollabCursorService','_candidateSocket','commentUpdateEvent','onCommandExecuted','colorChannel1','getOwnPropertyDescriptor','_shapes','readAsDataURL','row','image/jpeg','_transformRemoteChangesetByIMECache','div','_onRemoteRejected','_getSendChangesetTimeout','_lastPointer','action','collaboration-client.config','_changesetReqId','_updateLocalCursor','error$','_saveTaskMap','[UniverCollaborationClientPlugin]','_updateState','isActive','_handleHover','[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.','collaboration-session-retry','permission.content','redoState','__creator','indexOf','getUnit','COMPRESS_MUTATION_SEND','_fetchMissChangesets','_getAPIPrefix','setItem','lineTo','_status$','_anchorDot','SUBMIT_CHANGESET','min','_revisionService','textRanges','_change$','_selfUnitIDs','algo','readInt32LE','visibilitychange','on-line-single_clip0_910_349','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabStatus.syncing','_drawTextRange','removeParam','with','infoRsp','onlineStatusIcon','_transformIMECache','then','awaiting_with_pending','_getMergeRange','awaiting','catch','getActiveRange','equals','name','_themeService','WordArray','LICENSE_IMPORT_SIZE_EXCEEDED','_getUndoStack','_rescheduleHeartbeat','_keySchedule','/block/','status$','_onRemoteACK','kdf','_cursorShapes','isPermissionRej','_onRecvEvent','FAIL','column','saveOfflineData','APPLY_REVISION_CONFILICT','now','_removeCollabCursors','objectID','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_toggleOnline','_reverseMap','...','unpad','318660LnECwi','_redoStacks','_clearUndo','substr','dispose','PERSON','HMAC','setShowComponents','_mode','_collabCursorState$','baseRev','substring','MoveRangeCommandId','_docSyncEditingCollabCursorService','objects','_collaborationController','loginUrlKey','InsertRangeMoveDownCommandId','MSG_FOR_ERROR','UNIVER_PROJECT','onSyncEditingCollabCursor','_docTransformIMECacheService','json','_clearLocalCache','OnLineSingle','/universer-api/comb','_cursor','RETRY_CONNECTING_MAX_COUNT','salt','_substituteUndoStack','sessionStatus$','range','29911320AsHNJH','socketService','makeDirty','_sendHeartbeat','Encryptor','close','_localStorageService','fromCharCode','getUndoRedoMutationParamsCache','roomMembers$','getViewport','assign','onPointerMove$','/universer-api/snapshot','_remoteChangesetQueue','generateRandomId','parse','_socket','icon','whenReady','M0\x200H16V16H0z','reset','getConfig','MD5','online','addObject','/collaborator','_onLocalMutation','setUndoRedoMutationParamsCache','_undoRedoService','getCurrentRevOfUnit','rev','crypto','onTransformChange$','authzUrl','format','_waitForHeartbeatResponse','sin','propertyIsEnumerable','_doReset','__esModule','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_initEventListeners','Base64','leaveEvent','_onConnectionOpen','push','_createHandler','transformSelections','activeSheet$','HEARTBEAT_INTERVAL','Pkcs7','updateCursorEvent','AWAITING','hovered','addEventListener','UnitEmbedded','map','capture','OFFLINE','startRow','LICENSE_EXPORT_SIZE_EXCEEDED','SHOULD_CLOSE_CONN','getSkeleton','_clearRedo','toggleOffline','clipPath','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','_append','RECT','RECV','unknown','_createSocket','_getUploadFileURL','translate(.97)','has','updateMember','sheets','5468865oAKzcg','cfg','&source=','encodeURIComponent','every','keySize','Decryptor','_parse','INVALID_ARGUMENT','ERROR_IMAGE','loadDoc','HEADER_MENU','cursorInfo$','origin','_commentService','getInterceptPoints','_iKey','listRoles','hasher','black','_sessions','_throwTelemetryCollaborationNewChangeset','UniverIcon','getRenderById','GLOBAL_ROOMS_CNT_EXCEEDS','/universer-api/oidc/authpage','ticket','c1Prime','color','_hovered','46wsdAMK','getUniverSheetInstance','_transformStateCache','m2Prime','assignAColorForMemberID','\x20to\x20','unitId','SYNCED','/new_changes','stopTime','getAncestorScale','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','error','ciphertext','?size=','sessionStatus','create','_data','_onCursorDelete','_saveCache','_updateSubUnitFromURLParams','[OfflineState]:\x20received\x20changeset.','focused$','_oKey','responseType','getRandomValues','isArray','conflict.title','init','evenodd','eventID','headers','FileId','socket\x20close','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','/resources','updateOfflineData','permission.title','Unknown\x20user','_context','univer-online-status-title','_document','object','Base','registerHTTPInterceptor','xlink:href','LIVESHARE_NEW_HOST','[CollaborationSessionService]','_lockTransition','_collabSessionService','_collaborationSessionService','data','telemetry\x20info\x20is\x20not\x20initialized','HttpImport','_createHmacHelper','_localCacheService','onMissingChangesets','CHANGESET_REVISION_CONFILICT','_scene','SNAPSHOT_HAS_BEEN_REMOVED','replaceState','avatar','copyFileMeta','size','deepClone','_executeRemoteChangeset','_initDependencies','_socket$','setShapeProps','SEND_CHANGESET_TIMEOUT','_commentUpdate$','_docClipboardService','_anchor','COMMENT_UPDATE','appendMutation','TEXT','_refRangeService','EvpKDF','unit','_map','onPointerEnter$','disableLocalCache','unitID','_applyRemoteChangeset','bind','createDecryptor','getTypeOfUnitAdded$','clone','MUTATION','split','_transformUndoRedoStack','registerBeforeClose','/-/object/-/batch_allowed','compute','pushState','_initStatusComponent','gold400','updatePermissionPoint','state','_resendWithTimeout','engine','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_undoStacks','_sender','_transformRemoteChangesetByStateCache','function','FETCH_MISS','_httpService','_disableEditing','InsertColCommandId','registerOnClose','execute','unsubscribe','\x20in\x20_schedule.','onlyLocal','_sendHeartbeatTimer','forEach','_retryConnectingTimer','_notificationService','_disabled','_telemetryInfo','objectType','_scheduleHeartbeat','status','_updateLocalCache','changesets','onTransformRemoteChangesetByStateCache','[SyncedState]:\x20received\x20rejection.','_transformUndoredo','Error','LIVESHARE_TERMINATE','1em','_sessionStatus$','getTypeOfUnitDisposed$','JOIN_ROOM_PERMISSION_DENIED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getCurrent','getTime','/role','labelPosition','replaceDocRanges','_permissionService','_handleHeartbeatEvent','join','fetchMiss','_textBubble','updateCollaborator','_hideTimer','transformChangesets','HttpExport','YUUMI_URL_COL_OUT_OF_RANGE','_event$','_prevBlock','_key','[DataLoaderController]','blue400','restore','getParam','csRejEvent','image/jpg','_socketService','42936Nwetvk','UPDATE_CURSOR','getResourcesRequest','_telemetryService','CONFLICT','_xformMode','change$','_scheduleCollaborationTimeoutTimer','getMemberID','exports','_session','_renderManagerService','_cursorInfo$','_sheetTransformSelectionsService','_memberService','Cipher','SerializableCipher','BASE64'];_0x5197=function(){return _0x4d5cc6;};return _0x5197();}Mt=Wa([ke(0x0,sr),ke(0x1,_0x49d195),ke(0x2,_0x28287a),ke(0x3,_0x5847bf(z)),ke(0x4,_0x5847bf(_0x3ef466)),ke(0x5,_0x133fb4(_0x3b46ab))],Mt);var Fa=Object[_0x2025fc(0x385)],Va=Object[_0x2025fc(0x18c)],Ga=(_0x2e2939,_0x5c4d2d,_0x48cdf2,_0x330165)=>{const _0x403702=_0x2025fc;for(var _0x317d64=_0x330165>0x1?void 0x0:_0x330165?Va(_0x5c4d2d,_0x48cdf2):_0x5c4d2d,_0x1f656f=_0x2e2939[_0x403702(0x161)]-0x1,_0x2ca9ad;_0x1f656f>=0x0;_0x1f656f--)(_0x2ca9ad=_0x2e2939[_0x1f656f])&&(_0x317d64=(_0x330165?_0x2ca9ad(_0x5c4d2d,_0x48cdf2,_0x317d64):_0x2ca9ad(_0x317d64))||_0x317d64);return _0x330165&&_0x317d64&&Fa(_0x5c4d2d,_0x48cdf2,_0x317d64),_0x317d64;},ai=(_0x17ec59,_0x3b2abb)=>(_0x18463a,_0x19d326)=>_0x3b2abb(_0x18463a,_0x19d326,_0x17ec59);const Ya='DEFAULT_FILE_NAME',Ka='Univer';let xt=class extends _0x24229e{constructor(_0x369fa9,_0x18770d){const _0x47cf3e=_0x2025fc;super(),this[_0x47cf3e(0x3cf)]=_0x369fa9,this[_0x47cf3e(0xb4)]=_0x18770d,this[_0x47cf3e(0x100)]();}[_0x2025fc(0x100)](){const _0x28f96=_0x2025fc;this['disposeWithMe'](this[_0x28f96(0x3cf)][_0x28f96(0x283)]['subscribe'](()=>{const _0x1766c1=_0x28f96;var _0x282296;const _0x24c51b=this[_0x1766c1(0x3cf)][_0x1766c1(0x3ff)]();let _0x4127e2=(_0x282296=this[_0x1766c1(0xb4)][_0x1766c1(0x217)](Ya))!=null?_0x282296:Ka;_0x24c51b instanceof _0x21f116&&(_0x4127e2=_0x24c51b['name']),document['title']=_0x4127e2;}));}};xt=Ga([ai(0x0,_0x425cee),ai(0x1,_0x4df844)],xt);var qa=Object['defineProperty'],za=Object[_0x2025fc(0x18c)],Xa=(_0x3a8bd8,_0x39b237,_0x597302,_0x2b8851)=>{const _0x3120f1=_0x2025fc;for(var _0x54edf7=_0x2b8851>0x1?void 0x0:_0x2b8851?za(_0x39b237,_0x597302):_0x39b237,_0x5ed1a1=_0x3a8bd8[_0x3120f1(0x161)]-0x1,_0x3fab3a;_0x5ed1a1>=0x0;_0x5ed1a1--)(_0x3fab3a=_0x3a8bd8[_0x5ed1a1])&&(_0x54edf7=(_0x2b8851?_0x3fab3a(_0x39b237,_0x597302,_0x54edf7):_0x3fab3a(_0x54edf7))||_0x54edf7);return _0x2b8851&&_0x54edf7&&qa(_0x39b237,_0x597302,_0x54edf7),_0x54edf7;},is=(_0x20bd93,_0x107893)=>(_0x1dfe25,_0x369054)=>_0x107893(_0x1dfe25,_0x369054,_0x20bd93);let Lt=class{constructor(_0x166ae8,_0x2e1659,_0x38a74b){const _0x469c14=_0x2025fc;this[_0x469c14(0xb4)]=_0x166ae8,this[_0x469c14(0x2d8)]=_0x2e1659,this[_0x469c14(0x460)]=_0x38a74b,this['init']();}[_0x2025fc(0x289)](){const _0xbeb9e3=_0x2025fc;this[_0xbeb9e3(0x2d8)][_0xbeb9e3(0x299)]({'priority':0x1,'interceptor':(_0x3e5f7f,_0x4806e5)=>_0x4806e5(_0x3e5f7f)[_0xbeb9e3(0x150)](_0x4ab7bd(async _0x4d1407=>{const _0x1161f8=_0xbeb9e3,_0x2e6f0f=_0x4d1407;if(_0x2e6f0f[_0x1161f8(0x2e8)]===0x191&&window['confirm'](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x4e2391=window[_0x1161f8(0x252)](window[_0x1161f8(0x16a)][_0x1161f8(0x3f1)]);window[_0x1161f8(0x16a)]['href']=this[_0x1161f8(0x330)]()+_0x1161f8(0x480)+_0x4e2391;}return _0x2e6f0f;}))});}[_0x2025fc(0x330)](){const _0x3882d7=_0x2025fc;var _0x2d8118,_0x14b9db;const _0x5c0028=this[_0x3882d7(0xb4)]['getConfig'](Hn),_0x545893=this[_0x3882d7(0xb4)]['getConfig'](Q);return(_0x14b9db=(_0x2d8118=_0x545893==null?void 0x0:_0x545893[_0x3882d7(0x1f1)])!=null?_0x2d8118:_0x5c0028)!=null?_0x14b9db:jn;}};Lt=Xa([is(0x0,_0x4df844),is(0x1,_0x5847bf(_0x310387)),is(0x2,_0x5847bf(_0x4b4756))],Lt);var Ja=Object[_0x2025fc(0x385)],Za=Object['getOwnPropertyDescriptor'],Qa=(_0xa78cf4,_0x1fe76e,_0x494151,_0x43ebc6)=>{const _0x2ea55d=_0x2025fc;for(var _0x2527a7=_0x43ebc6>0x1?void 0x0:_0x43ebc6?Za(_0x1fe76e,_0x494151):_0x1fe76e,_0x44b86e=_0xa78cf4[_0x2ea55d(0x161)]-0x1,_0x5bf5cc;_0x44b86e>=0x0;_0x44b86e--)(_0x5bf5cc=_0xa78cf4[_0x44b86e])&&(_0x2527a7=(_0x43ebc6?_0x5bf5cc(_0x1fe76e,_0x494151,_0x2527a7):_0x5bf5cc(_0x2527a7))||_0x2527a7);return _0x43ebc6&&_0x2527a7&&Ja(_0x1fe76e,_0x494151,_0x2527a7),_0x2527a7;},ci=(_0x5cf53a,_0x348d8b)=>(_0x343837,_0x3a54c8)=>_0x348d8b(_0x343837,_0x3a54c8,_0x5cf53a);const ir=_0x2025fc(0x496),ec=_0x2025fc(0x423);let ps=class extends _0x24229e{constructor(_0x30ca7b,_0x4988e0){const _0x1a5b48=_0x2025fc;super(),this['_HTTPService']=_0x30ca7b,this[_0x1a5b48(0xb4)]=_0x4988e0,this[_0x1a5b48(0x486)]();}[_0x2025fc(0x486)](){const _0xf934e5=_0x2025fc,_0xcfe61c=this;this[_0xf934e5(0x10c)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x212a92({'isMatch'(_0x6b0dd2){const _0x9c326=_0xf934e5;var _0x1038de;if(_0x6b0dd2[_0x9c326(0x152)]===_0x9c326(0x445)&&((_0x1038de=_0x6b0dd2['requestParams'])!=null&&_0x1038de['body'])){const {objectID:_0x3cb908,objectType:_0x11f4c7}=_0x6b0dd2[_0x9c326(0x356)][_0x9c326(0x41f)]||{};if(!_0x3cb908||_0x11f4c7===void 0x0)return!0x1;const _0x492097=_0xcfe61c[_0x9c326(0x10e)]()+'/'+_0x11f4c7+_0x9c326(0x49d)+_0x3cb908+_0x9c326(0x397);if(_0x6b0dd2['url']===_0x492097)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x58983c){const _0x53aa7a=_0xf934e5;var _0x1a3028;return(_0x1a3028=_0x58983c[_0x53aa7a(0x356)])==null?void 0x0:_0x1a3028[_0x53aa7a(0x41f)];},'mergeParamsToRequest'(_0x8cda02,_0x14ff66){const _0x1055c3=_0xf934e5,_0x366681=_0xcfe61c[_0x1055c3(0x10e)]()+_0x1055c3(0x2c9),_0x1ac405=_0x8cda02[_0x1055c3(0x393)]((_0x482dfd,_0x1baa0d)=>{const _0x25a065=_0x1055c3,{unitID:_0x2d18b8,objectID:_0x4f9ff8,objectType:_0x4fee8e,actions:_0x129cd3}=_0x1baa0d;return _0x482dfd[_0x2d18b8]||(_0x482dfd[_0x2d18b8]={}),_0x482dfd[_0x2d18b8][_0x4f9ff8]||(_0x482dfd[_0x2d18b8][_0x4f9ff8]={'objectID':_0x4f9ff8,'objectType':_0x4fee8e,'actions':[]}),_0x482dfd[_0x2d18b8][_0x4f9ff8][_0x25a065(0x49a)][_0x25a065(0x22f)](..._0x129cd3),_0x482dfd;},{}),_0x94014=[];for(const _0x24f5c4 in _0x1ac405)for(const _0x12ee54 in _0x1ac405[_0x24f5c4]){const {actions:_0x331d35,objectType:_0x347972}=_0x1ac405[_0x24f5c4][_0x12ee54],_0x34c95=[...new Set(_0x331d35)];_0x94014[_0x1055c3(0x22f)]({'unitID':_0x24f5c4,'objectID':_0x12ee54,'objectType':_0x347972,'actions':_0x34c95});}return new _0x30acee(_0x1055c3(0x445),_0x366681,{'headers':_0x14ff66['headers'],'withCredentials':_0x14ff66[_0x1055c3(0x487)],'responseType':_0x14ff66[_0x1055c3(0x285)],'body':{'requests':_0x94014}});}},{'distributeResult'(_0x3ec77f,_0x101d63){const _0x1e65fa=_0xf934e5,{objectActions:_0x15631a}=_0x3ec77f;return _0x101d63[_0x1e65fa(0x23a)](_0x5cf0a0=>{const _0x4108e7=_0x1e65fa,{unitID:_0x106988,objectID:_0xb30177,actions:_0x43fe34}=_0x5cf0a0,_0x2fad07=_0x15631a['find'](_0x415d60=>_0x415d60[_0x4108e7(0x2bf)]===_0x106988&&_0x415d60['objectID']===_0xb30177),_0xfbfcd3=_0x43fe34[_0x4108e7(0x23a)](_0x46cdd3=>_0x2fad07==null?void 0x0:_0x2fad07[_0x4108e7(0x49a)]['find'](_0xa12af9=>_0xa12af9[_0x4108e7(0x196)]===_0x46cdd3))[_0x4108e7(0xb8)](_0x590c5a=>!!_0x590c5a);return{'config':_0x5cf0a0,'result':{'actions':_0xfbfcd3,'error':_0x3ec77f['error']}};});}})}));}['_getAPIPrefixPath'](){const _0x91c613=_0x2025fc;var _0x42313c,_0x4540fd;const _0x4528a4=this[_0x91c613(0xb4)][_0x91c613(0x217)](ir),_0x5f04c6=this['_configService'][_0x91c613(0x217)](Q);return(_0x4540fd=(_0x42313c=_0x5f04c6==null?void 0x0:_0x5f04c6['authzUrl'])!=null?_0x42313c:_0x4528a4)!=null?_0x4540fd:ec;}async[_0x2025fc(0x27d)](_0x50504d){const _0x2cdc42=_0x2025fc,_0x1e0f6c=this[_0x2cdc42(0x10e)]()+'/'+_0x50504d[_0x2cdc42(0x2e6)]+'/object';return(await this[_0x2cdc42(0x3f6)][_0x2cdc42(0x17b)](_0x1e0f6c,{'body':_0x50504d}))[_0x2cdc42(0x41f)][_0x2cdc42(0x1db)]||'';}async[_0x2025fc(0x3c0)](_0x2df5cc){const _0x52ec22=_0x2025fc,_0x56a7e5=this['_getAPIPrefixPath']()+_0x52ec22(0x448);return(await this[_0x52ec22(0x3f6)]['post'](_0x56a7e5,{'body':_0x2df5cc}))['body'][_0x52ec22(0x1ef)];}async['update'](_0x261f48){const _0x2047e3=_0x2025fc,_0x2c773a=this[_0x2047e3(0x10e)]()+'/'+_0x261f48['objectType']+_0x2047e3(0x49d)+_0x261f48[_0x2047e3(0x1db)];await this['_HTTPService'][_0x2047e3(0xa7)](_0x2c773a,{'body':_0x261f48});}async[_0x2025fc(0x3f3)](_0x2ed562){const _0xd6f194=_0x2025fc,_0x568af3=this[_0xd6f194(0x10e)]()+'/'+_0x2ed562[_0xd6f194(0x2e6)]+_0xd6f194(0x49d)+_0x2ed562[_0xd6f194(0x1db)]+_0xd6f194(0x397);return(await this[_0xd6f194(0x3f6)][_0xd6f194(0x17b)](_0x568af3,{'body':_0x2ed562}))[_0xd6f194(0x41f)][_0xd6f194(0x49a)];}async['batchAllowed'](_0x116226){const _0x4b5ec3=_0x2025fc,_0x2c334a=this[_0x4b5ec3(0x10e)]()+_0x4b5ec3(0x2c9);return(await this[_0x4b5ec3(0x3f6)][_0x4b5ec3(0x17b)](_0x2c334a,{'body':{'requests':_0x116226}}))['body'][_0x4b5ec3(0x42e)];}async[_0x2025fc(0x260)](_0x19bbbf){const _0x23be81=_0x2025fc,_0x437699=this[_0x23be81(0x10e)]()+'/'+_0x19bbbf[_0x23be81(0x2e6)]+_0x23be81(0x2f7),_0x1e663c=await this[_0x23be81(0x3f6)][_0x23be81(0x17b)](_0x437699,{'body':_0x19bbbf});return{'roles':_0x1e663c[_0x23be81(0x41f)][_0x23be81(0x339)],'actions':_0x1e663c[_0x23be81(0x41f)]['actions']};}async['deleteCollaborator'](_0x3cb3c2){const _0x3c382e=_0x2025fc,_0x8a250a=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3c382e(0x3f6)][_0x3c382e(0x165)](_0x8a250a,{'params':{'collaboratorID':_0x3cb3c2[_0x3c382e(0x183)],'objectID':_0x3cb3c2['objectID'],'unitID':_0x3cb3c2[_0x3c382e(0x2bf)]}});}async[_0x2025fc(0x2ff)](_0x5a5813){const _0x31d64e=_0x2025fc,_0x264a34=this[_0x31d64e(0x10e)]()+_0x31d64e(0x21b);await this[_0x31d64e(0x3f6)][_0x31d64e(0x384)](_0x264a34,{'body':_0x5a5813});}async[_0x2025fc(0x379)](_0x1779d4){const _0x19eb66=_0x2025fc,_0x165633=this[_0x19eb66(0x10e)]()+_0x19eb66(0x21b);await this[_0x19eb66(0x3f6)][_0x19eb66(0x17b)](_0x165633,{'body':_0x1779d4});}async[_0x2025fc(0x34d)](_0x230b87){const _0x25b8f8=_0x2025fc,_0x228548=this[_0x25b8f8(0x10e)]()+'/collaborator';return(await this['_HTTPService'][_0x25b8f8(0x33e)](_0x228548,{'params':{'objectID':_0x230b87[_0x25b8f8(0x1db)],'unitID':_0x230b87[_0x25b8f8(0x2bf)]}}))[_0x25b8f8(0x41f)][_0x25b8f8(0x431)];}async['putCollaborators'](_0xbe85f3){const _0x32485f=_0x2025fc,_0x4f20cf=this[_0x32485f(0x10e)]()+_0x32485f(0x21b);await this[_0x32485f(0x3f6)][_0x32485f(0xa7)](_0x4f20cf,{'body':_0xbe85f3});}};ps=Qa([ci(0x0,_0x5847bf(_0x310387)),ci(0x1,_0x5847bf(_0x4df844))],ps);var dt={'exports':{}};function tc(_0x415eab){const _0x6166e8=_0x2025fc;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x415eab+_0x6166e8(0x3aa));}var ft={'exports':{}},sc=ft[_0x2025fc(0x317)],hi;function _e(){const _0x39a0a1=_0x2025fc;return hi||(hi=0x1,function(_0x3ddf99,_0x222226){(function(_0x5cc5ed,_0x1fe65d){const _0x3f2756=_0x46d8;_0x3ddf99[_0x3f2756(0x317)]=_0x1fe65d();}(sc,function(){var _0x335e8f=_0x335e8f||function(_0x562cfe,_0x5549ea){const _0x98ca51=_0x46d8;var _0x5804e6;if(typeof window<'u'&&window[_0x98ca51(0x221)]&&(_0x5804e6=window[_0x98ca51(0x221)]),typeof self<'u'&&self['crypto']&&(_0x5804e6=self[_0x98ca51(0x221)]),typeof globalThis<'u'&&globalThis[_0x98ca51(0x221)]&&(_0x5804e6=globalThis[_0x98ca51(0x221)]),!_0x5804e6&&typeof window<'u'&&window[_0x98ca51(0x145)]&&(_0x5804e6=window[_0x98ca51(0x145)]),!_0x5804e6&&typeof ts<'u'&&ts[_0x98ca51(0x221)]&&(_0x5804e6=ts[_0x98ca51(0x221)]),!_0x5804e6&&typeof tc=='function')try{_0x5804e6=require(_0x98ca51(0x221));}catch{}var _0x3de7a1=function(){const _0x4dc1f7=_0x98ca51;if(_0x5804e6){if(typeof _0x5804e6[_0x4dc1f7(0x286)]==_0x4dc1f7(0x2d6))try{return _0x5804e6['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5804e6[_0x4dc1f7(0x46f)]=='function')try{return _0x5804e6[_0x4dc1f7(0x46f)](0x4)[_0x4dc1f7(0x1b5)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3db323=Object[_0x98ca51(0x27d)]||(function(){function _0x36647b(){}return function(_0x5505c2){const _0xb701b0=_0x46d8;var _0x198c43;return _0x36647b['prototype']=_0x5505c2,_0x198c43=new _0x36647b(),_0x36647b[_0xb701b0(0x33f)]=null,_0x198c43;};}()),_0x3e85e0={},_0x50a321=_0x3e85e0[_0x98ca51(0x118)]={},_0x32fc90=_0x50a321['Base']=(function(){return{'extend':function(_0x272069){const _0xfc10cf=_0x46d8;var _0x399017=_0x3db323(this);return _0x272069&&_0x399017[_0xfc10cf(0x394)](_0x272069),(!_0x399017['hasOwnProperty']('init')||this[_0xfc10cf(0x289)]===_0x399017[_0xfc10cf(0x289)])&&(_0x399017[_0xfc10cf(0x289)]=function(){_0x399017['$super']['init']['apply'](this,arguments);}),_0x399017[_0xfc10cf(0x289)][_0xfc10cf(0x33f)]=_0x399017,_0x399017['$super']=this,_0x399017;},'create':function(){const _0x547a8a=_0x46d8;var _0x1562d1=this[_0x547a8a(0x4a2)]();return _0x1562d1[_0x547a8a(0x289)]['apply'](_0x1562d1,arguments),_0x1562d1;},'init':function(){},'mixIn':function(_0x34c264){const _0x535ab3=_0x46d8;for(var _0x1f745f in _0x34c264)_0x34c264[_0x535ab3(0x413)](_0x1f745f)&&(this[_0x1f745f]=_0x34c264[_0x1f745f]);_0x34c264[_0x535ab3(0x413)](_0x535ab3(0x135))&&(this[_0x535ab3(0x135)]=_0x34c264['toString']);},'clone':function(){const _0x3a2fa5=_0x46d8;return this[_0x3a2fa5(0x289)][_0x3a2fa5(0x33f)][_0x3a2fa5(0x4a2)](this);}};}()),_0x246015=_0x50a321[_0x98ca51(0x1c9)]=_0x32fc90[_0x98ca51(0x4a2)]({'init':function(_0x19efb8,_0x2dbd92){const _0x15aa1d=_0x98ca51;_0x19efb8=this[_0x15aa1d(0x352)]=_0x19efb8||[],_0x2dbd92!=_0x5549ea?this['sigBytes']=_0x2dbd92:this[_0x15aa1d(0x4a3)]=_0x19efb8[_0x15aa1d(0x161)]*0x4;},'toString':function(_0x3397ad){return(_0x3397ad||_0x472cfc)['stringify'](this);},'concat':function(_0x4bbf00){const _0x47c431=_0x98ca51;var _0x33a956=this[_0x47c431(0x352)],_0xd4d8fa=_0x4bbf00[_0x47c431(0x352)],_0x131c73=this['sigBytes'],_0x8930b3=_0x4bbf00[_0x47c431(0x4a3)];if(this['clamp'](),_0x131c73%0x4)for(var _0x1eac78=0x0;_0x1eac78<_0x8930b3;_0x1eac78++){var _0x39bc60=_0xd4d8fa[_0x1eac78>>>0x2]>>>0x18-_0x1eac78%0x4*0x8&0xff;_0x33a956[_0x131c73+_0x1eac78>>>0x2]|=_0x39bc60<<0x18-(_0x131c73+_0x1eac78)%0x4*0x8;}else{for(var _0x43eb2f=0x0;_0x43eb2f<_0x8930b3;_0x43eb2f+=0x4)_0x33a956[_0x131c73+_0x43eb2f>>>0x2]=_0xd4d8fa[_0x43eb2f>>>0x2];}return this[_0x47c431(0x4a3)]+=_0x8930b3,this;},'clamp':function(){const _0x1cabee=_0x98ca51;var _0x3d7a67=this[_0x1cabee(0x352)],_0x5d188e=this[_0x1cabee(0x4a3)];_0x3d7a67[_0x5d188e>>>0x2]&=0xffffffff<<0x20-_0x5d188e%0x4*0x8,_0x3d7a67[_0x1cabee(0x161)]=_0x562cfe['ceil'](_0x5d188e/0x4);},'clone':function(){const _0x45ae1b=_0x98ca51;var _0x5ddea7=_0x32fc90[_0x45ae1b(0x2c4)][_0x45ae1b(0x494)](this);return _0x5ddea7[_0x45ae1b(0x352)]=this['words'][_0x45ae1b(0x48f)](0x0),_0x5ddea7;},'random':function(_0x309fa3){const _0x5a7207=_0x98ca51;for(var _0x10e505=[],_0x54b02e=0x0;_0x54b02e<_0x309fa3;_0x54b02e+=0x4)_0x10e505[_0x5a7207(0x22f)](_0x3de7a1());return new _0x246015[(_0x5a7207(0x289))](_0x10e505,_0x309fa3);}}),_0x59dfc1=_0x3e85e0['enc']={},_0x472cfc=_0x59dfc1[_0x98ca51(0xf0)]={'stringify':function(_0x5c4817){const _0x1fe5dd=_0x98ca51;for(var _0x48396f=_0x5c4817['words'],_0xe25b35=_0x5c4817[_0x1fe5dd(0x4a3)],_0x1d841a=[],_0x53af68=0x0;_0x53af68<_0xe25b35;_0x53af68++){var _0x5f0bdb=_0x48396f[_0x53af68>>>0x2]>>>0x18-_0x53af68%0x4*0x8&0xff;_0x1d841a['push']((_0x5f0bdb>>>0x4)[_0x1fe5dd(0x135)](0x10)),_0x1d841a[_0x1fe5dd(0x22f)]((_0x5f0bdb&0xf)[_0x1fe5dd(0x135)](0x10));}return _0x1d841a[_0x1fe5dd(0x2fc)]('');},'parse':function(_0x3309fd){const _0x2b6f25=_0x98ca51;for(var _0x547cd3=_0x3309fd['length'],_0x173643=[],_0x5e2bb5=0x0;_0x5e2bb5<_0x547cd3;_0x5e2bb5+=0x2)_0x173643[_0x5e2bb5>>>0x3]|=parseInt(_0x3309fd[_0x2b6f25(0x1e4)](_0x5e2bb5,0x2),0x10)<<0x18-_0x5e2bb5%0x8*0x4;return new _0x246015[(_0x2b6f25(0x289))](_0x173643,_0x547cd3/0x2);}},_0x470fa0=_0x59dfc1[_0x98ca51(0xa9)]={'stringify':function(_0x48499f){const _0x4ba632=_0x98ca51;for(var _0x27d363=_0x48499f[_0x4ba632(0x352)],_0x593012=_0x48499f['sigBytes'],_0xdce93a=[],_0x229bd0=0x0;_0x229bd0<_0x593012;_0x229bd0++){var _0x3f7000=_0x27d363[_0x229bd0>>>0x2]>>>0x18-_0x229bd0%0x4*0x8&0xff;_0xdce93a[_0x4ba632(0x22f)](String[_0x4ba632(0x208)](_0x3f7000));}return _0xdce93a[_0x4ba632(0x2fc)]('');},'parse':function(_0x53e04d){const _0x5c242a=_0x98ca51;for(var _0x4750ed=_0x53e04d['length'],_0x4c8565=[],_0x4d9e4e=0x0;_0x4d9e4e<_0x4750ed;_0x4d9e4e++)_0x4c8565[_0x4d9e4e>>>0x2]|=(_0x53e04d[_0x5c242a(0xcf)](_0x4d9e4e)&0xff)<<0x18-_0x4d9e4e%0x4*0x8;return new _0x246015['init'](_0x4c8565,_0x4750ed);}},_0x36665f=_0x59dfc1[_0x98ca51(0x488)]={'stringify':function(_0x8e393e){const _0x2ab546=_0x98ca51;try{return decodeURIComponent(escape(_0x470fa0['stringify'](_0x8e393e)));}catch{throw new Error(_0x2ab546(0x479));}},'parse':function(_0x1114e6){const _0x2dfd61=_0x98ca51;return _0x470fa0[_0x2dfd61(0x211)](unescape(encodeURIComponent(_0x1114e6)));}},_0xf6147a=_0x50a321[_0x98ca51(0x450)]=_0x32fc90[_0x98ca51(0x4a2)]({'reset':function(){const _0x519ebe=_0x98ca51;this[_0x519ebe(0x27e)]=new _0x246015[(_0x519ebe(0x289))](),this[_0x519ebe(0x37d)]=0x0;},'_append':function(_0x26d357){const _0x555ff3=_0x98ca51;typeof _0x26d357==_0x555ff3(0x151)&&(_0x26d357=_0x36665f['parse'](_0x26d357)),this['_data']['concat'](_0x26d357),this['_nDataBytes']+=_0x26d357['sigBytes'];},'_process':function(_0x4d7dc3){const _0x1f16e3=_0x98ca51;var _0x54efb1,_0x1cc4d1=this['_data'],_0x3e3d9f=_0x1cc4d1[_0x1f16e3(0x352)],_0x32adcc=_0x1cc4d1[_0x1f16e3(0x4a3)],_0x2d2e07=this[_0x1f16e3(0x112)],_0xf49af6=_0x2d2e07*0x4,_0x4e003d=_0x32adcc/_0xf49af6;_0x4d7dc3?_0x4e003d=_0x562cfe[_0x1f16e3(0x373)](_0x4e003d):_0x4e003d=_0x562cfe[_0x1f16e3(0x3f2)]((_0x4e003d|0x0)-this['_minBufferSize'],0x0);var _0x426619=_0x4e003d*_0x2d2e07,_0x5532d7=_0x562cfe[_0x1f16e3(0x1af)](_0x426619*0x4,_0x32adcc);if(_0x426619){for(var _0x18af55=0x0;_0x18af55<_0x426619;_0x18af55+=_0x2d2e07)this['_doProcessBlock'](_0x3e3d9f,_0x18af55);_0x54efb1=_0x3e3d9f['splice'](0x0,_0x426619),_0x1cc4d1['sigBytes']-=_0x5532d7;}return new _0x246015[(_0x1f16e3(0x289))](_0x54efb1,_0x5532d7);},'clone':function(){const _0x364066=_0x98ca51;var _0x50391a=_0x32fc90[_0x364066(0x2c4)][_0x364066(0x494)](this);return _0x50391a['_data']=this[_0x364066(0x27e)][_0x364066(0x2c4)](),_0x50391a;},'_minBufferSize':0x0});_0x50a321[_0x98ca51(0x3f7)]=_0xf6147a[_0x98ca51(0x4a2)]({'cfg':_0x32fc90[_0x98ca51(0x4a2)](),'init':function(_0x5c8b1a){const _0x5b5a13=_0x98ca51;this[_0x5b5a13(0x250)]=this[_0x5b5a13(0x250)][_0x5b5a13(0x4a2)](_0x5c8b1a),this[_0x5b5a13(0x216)]();},'reset':function(){const _0x591755=_0x98ca51;_0xf6147a[_0x591755(0x216)][_0x591755(0x494)](this),this[_0x591755(0x228)]();},'update':function(_0xadce0){const _0x2efa6d=_0x98ca51;return this[_0x2efa6d(0x245)](_0xadce0),this[_0x2efa6d(0xb9)](),this;},'finalize':function(_0x1c73f6){_0x1c73f6&&this['_append'](_0x1c73f6);var _0x4fe7b6=this['_doFinalize']();return _0x4fe7b6;},'blockSize':0x10,'_createHelper':function(_0xc3ff70){return function(_0x1dba1f,_0x529a88){const _0xa09828=_0x46d8;return new _0xc3ff70[(_0xa09828(0x289))](_0x529a88)[_0xa09828(0x17d)](_0x1dba1f);};},'_createHmacHelper':function(_0x569101){return function(_0x58ada4,_0x148b0e){const _0x5d75f0=_0x46d8;return new _0x4c8a31[(_0x5d75f0(0x1e7))]['init'](_0x569101,_0x148b0e)[_0x5d75f0(0x17d)](_0x58ada4);};}});var _0x4c8a31=_0x3e85e0[_0x98ca51(0x1b4)]={};return _0x3e85e0;}(Math);return _0x335e8f;}));}(ft)),ft[_0x39a0a1(0x317)];}var vt={'exports':{}},ic=vt[_0x2025fc(0x317)],li;function rr(){const _0x17e632=_0x2025fc;return li||(li=0x1,function(_0x42fc4c,_0x155738){(function(_0x48bfdf,_0x5887a1){_0x42fc4c['exports']=_0x5887a1(_e());}(ic,function(_0x1572ea){const _0x5bbb0b=_0x46d8;return(function(){const _0x23facd=_0x46d8;var _0x8545c=_0x1572ea,_0x3b141d=_0x8545c['lib'],_0x57e332=_0x3b141d['WordArray'],_0x4733aa=_0x8545c['enc'];_0x4733aa[_0x23facd(0x22c)]={'stringify':function(_0x2dfcbb){const _0x59ae69=_0x23facd;var _0x5c265c=_0x2dfcbb[_0x59ae69(0x352)],_0xab7ebd=_0x2dfcbb[_0x59ae69(0x4a3)],_0x2d6634=this[_0x59ae69(0x2bc)];_0x2dfcbb[_0x59ae69(0x378)]();for(var _0x1e46f3=[],_0x4a2f24=0x0;_0x4a2f24<_0xab7ebd;_0x4a2f24+=0x3)for(var _0x478ad1=_0x5c265c[_0x4a2f24>>>0x2]>>>0x18-_0x4a2f24%0x4*0x8&0xff,_0x164f67=_0x5c265c[_0x4a2f24+0x1>>>0x2]>>>0x18-(_0x4a2f24+0x1)%0x4*0x8&0xff,_0x52a9ab=_0x5c265c[_0x4a2f24+0x2>>>0x2]>>>0x18-(_0x4a2f24+0x2)%0x4*0x8&0xff,_0x5d81c2=_0x478ad1<<0x10|_0x164f67<<0x8|_0x52a9ab,_0x4daf87=0x0;_0x4daf87<0x4&&_0x4a2f24+_0x4daf87*0.75<_0xab7ebd;_0x4daf87++)_0x1e46f3[_0x59ae69(0x22f)](_0x2d6634['charAt'](_0x5d81c2>>>0x6*(0x3-_0x4daf87)&0x3f));var _0x1254dc=_0x2d6634['charAt'](0x40);if(_0x1254dc){for(;_0x1e46f3[_0x59ae69(0x161)]%0x4;)_0x1e46f3['push'](_0x1254dc);}return _0x1e46f3['join']('');},'parse':function(_0x452252){const _0x277351=_0x23facd;var _0x503646=_0x452252[_0x277351(0x161)],_0x556b0e=this['_map'],_0x138a9c=this[_0x277351(0x1de)];if(!_0x138a9c){_0x138a9c=this[_0x277351(0x1de)]=[];for(var _0xe3e8f2=0x0;_0xe3e8f2<_0x556b0e[_0x277351(0x161)];_0xe3e8f2++)_0x138a9c[_0x556b0e[_0x277351(0xcf)](_0xe3e8f2)]=_0xe3e8f2;}var _0x3c143f=_0x556b0e[_0x277351(0x11a)](0x40);if(_0x3c143f){var _0x1f6f20=_0x452252['indexOf'](_0x3c143f);_0x1f6f20!==-0x1&&(_0x503646=_0x1f6f20);}return _0x50224b(_0x452252,_0x503646,_0x138a9c);},'_map':_0x23facd(0xb3)};function _0x50224b(_0x238365,_0x48667c,_0x17268b){const _0x3142d2=_0x23facd;for(var _0x119a8e=[],_0x23978b=0x0,_0x4a06b5=0x0;_0x4a06b5<_0x48667c;_0x4a06b5++)if(_0x4a06b5%0x4){var _0x68f1b8=_0x17268b[_0x238365['charCodeAt'](_0x4a06b5-0x1)]<<_0x4a06b5%0x4*0x2,_0xb36df2=_0x17268b[_0x238365[_0x3142d2(0xcf)](_0x4a06b5)]>>>0x6-_0x4a06b5%0x4*0x2,_0x3f429e=_0x68f1b8|_0xb36df2;_0x119a8e[_0x23978b>>>0x2]|=_0x3f429e<<0x18-_0x23978b%0x4*0x8,_0x23978b++;}return _0x57e332[_0x3142d2(0x27d)](_0x119a8e,_0x23978b);}}()),_0x1572ea['enc'][_0x5bbb0b(0x22c)];}));}(vt)),vt[_0x17e632(0x317)];}var pt={'exports':{}},rc=pt[_0x2025fc(0x317)],_i;function nc(){const _0x401b46=_0x2025fc;return _i||(_i=0x1,function(_0x484283,_0x169cc8){(function(_0x37f656,_0x1c368e){const _0x3e2816=_0x46d8;_0x484283[_0x3e2816(0x317)]=_0x1c368e(_e());}(rc,function(_0x48a821){const _0x2022bd=_0x46d8;return function(_0x33e3ba){const _0x152b31=_0x46d8;var _0x308a71=_0x48a821,_0x135d98=_0x308a71[_0x152b31(0x118)],_0x173365=_0x135d98[_0x152b31(0x1c9)],_0x475382=_0x135d98[_0x152b31(0x3f7)],_0x4d56bb=_0x308a71[_0x152b31(0x1b4)],_0x1e7a19=[];(function(){const _0x3469b8=_0x152b31;for(var _0x31c2e9=0x0;_0x31c2e9<0x40;_0x31c2e9++)_0x1e7a19[_0x31c2e9]=_0x33e3ba[_0x3469b8(0x34a)](_0x33e3ba[_0x3469b8(0x226)](_0x31c2e9+0x1))*0x100000000|0x0;}());var _0x580c0d=_0x4d56bb[_0x152b31(0x218)]=_0x475382[_0x152b31(0x4a2)]({'_doReset':function(){const _0x3975b3=_0x152b31;this['_hash']=new _0x173365[(_0x3975b3(0x289))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x105e1a,_0x532738){const _0x129fe4=_0x152b31;for(var _0x3ebd47=0x0;_0x3ebd47<0x10;_0x3ebd47++){var _0x10aa36=_0x532738+_0x3ebd47,_0xbbea3c=_0x105e1a[_0x10aa36];_0x105e1a[_0x10aa36]=(_0xbbea3c<<0x8|_0xbbea3c>>>0x18)&0xff00ff|(_0xbbea3c<<0x18|_0xbbea3c>>>0x8)&0xff00ff00;}var _0x2a54b4=this['_hash'][_0x129fe4(0x352)],_0x43399d=_0x105e1a[_0x532738+0x0],_0x5e8331=_0x105e1a[_0x532738+0x1],_0x190d5b=_0x105e1a[_0x532738+0x2],_0x11420b=_0x105e1a[_0x532738+0x3],_0x5e927b=_0x105e1a[_0x532738+0x4],_0x3f5b00=_0x105e1a[_0x532738+0x5],_0xab7976=_0x105e1a[_0x532738+0x6],_0x57f4fe=_0x105e1a[_0x532738+0x7],_0x50b617=_0x105e1a[_0x532738+0x8],_0x53eb6b=_0x105e1a[_0x532738+0x9],_0x1dd291=_0x105e1a[_0x532738+0xa],_0x5d1129=_0x105e1a[_0x532738+0xb],_0x41f7aa=_0x105e1a[_0x532738+0xc],_0x1af36e=_0x105e1a[_0x532738+0xd],_0x4fbe18=_0x105e1a[_0x532738+0xe],_0x5cdb9a=_0x105e1a[_0x532738+0xf],_0x108fce=_0x2a54b4[0x0],_0x3bb65f=_0x2a54b4[0x1],_0x2c0979=_0x2a54b4[0x2],_0x562c90=_0x2a54b4[0x3];_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x43399d,0x7,_0x1e7a19[0x0]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5e8331,0xc,_0x1e7a19[0x1]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x190d5b,0x11,_0x1e7a19[0x2]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x11420b,0x16,_0x1e7a19[0x3]),_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e927b,0x7,_0x1e7a19[0x4]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x3f5b00,0xc,_0x1e7a19[0x5]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0xab7976,0x11,_0x1e7a19[0x6]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x57f4fe,0x16,_0x1e7a19[0x7]),_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x50b617,0x7,_0x1e7a19[0x8]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x53eb6b,0xc,_0x1e7a19[0x9]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x1dd291,0x11,_0x1e7a19[0xa]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5d1129,0x16,_0x1e7a19[0xb]),_0x108fce=_0x23cdc2(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x41f7aa,0x7,_0x1e7a19[0xc]),_0x562c90=_0x23cdc2(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x1af36e,0xc,_0x1e7a19[0xd]),_0x2c0979=_0x23cdc2(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x4fbe18,0x11,_0x1e7a19[0xe]),_0x3bb65f=_0x23cdc2(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5cdb9a,0x16,_0x1e7a19[0xf]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e8331,0x5,_0x1e7a19[0x10]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0xab7976,0x9,_0x1e7a19[0x11]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5d1129,0xe,_0x1e7a19[0x12]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x43399d,0x14,_0x1e7a19[0x13]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x3f5b00,0x5,_0x1e7a19[0x14]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x1dd291,0x9,_0x1e7a19[0x15]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5cdb9a,0xe,_0x1e7a19[0x16]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5e927b,0x14,_0x1e7a19[0x17]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x53eb6b,0x5,_0x1e7a19[0x18]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x4fbe18,0x9,_0x1e7a19[0x19]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x11420b,0xe,_0x1e7a19[0x1a]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x50b617,0x14,_0x1e7a19[0x1b]),_0x108fce=_0xcc315d(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x1af36e,0x5,_0x1e7a19[0x1c]),_0x562c90=_0xcc315d(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x190d5b,0x9,_0x1e7a19[0x1d]),_0x2c0979=_0xcc315d(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x57f4fe,0xe,_0x1e7a19[0x1e]),_0x3bb65f=_0xcc315d(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x41f7aa,0x14,_0x1e7a19[0x1f]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x3f5b00,0x4,_0x1e7a19[0x20]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x50b617,0xb,_0x1e7a19[0x21]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5d1129,0x10,_0x1e7a19[0x22]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x4fbe18,0x17,_0x1e7a19[0x23]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e8331,0x4,_0x1e7a19[0x24]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5e927b,0xb,_0x1e7a19[0x25]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x57f4fe,0x10,_0x1e7a19[0x26]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x1dd291,0x17,_0x1e7a19[0x27]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x1af36e,0x4,_0x1e7a19[0x28]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x43399d,0xb,_0x1e7a19[0x29]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x11420b,0x10,_0x1e7a19[0x2a]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0xab7976,0x17,_0x1e7a19[0x2b]),_0x108fce=_0x391572(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x53eb6b,0x4,_0x1e7a19[0x2c]),_0x562c90=_0x391572(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x41f7aa,0xb,_0x1e7a19[0x2d]),_0x2c0979=_0x391572(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x5cdb9a,0x10,_0x1e7a19[0x2e]),_0x3bb65f=_0x391572(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x190d5b,0x17,_0x1e7a19[0x2f]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x43399d,0x6,_0x1e7a19[0x30]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x57f4fe,0xa,_0x1e7a19[0x31]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x4fbe18,0xf,_0x1e7a19[0x32]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x3f5b00,0x15,_0x1e7a19[0x33]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x41f7aa,0x6,_0x1e7a19[0x34]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x11420b,0xa,_0x1e7a19[0x35]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x1dd291,0xf,_0x1e7a19[0x36]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x5e8331,0x15,_0x1e7a19[0x37]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x50b617,0x6,_0x1e7a19[0x38]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5cdb9a,0xa,_0x1e7a19[0x39]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0xab7976,0xf,_0x1e7a19[0x3a]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x1af36e,0x15,_0x1e7a19[0x3b]),_0x108fce=_0x18800e(_0x108fce,_0x3bb65f,_0x2c0979,_0x562c90,_0x5e927b,0x6,_0x1e7a19[0x3c]),_0x562c90=_0x18800e(_0x562c90,_0x108fce,_0x3bb65f,_0x2c0979,_0x5d1129,0xa,_0x1e7a19[0x3d]),_0x2c0979=_0x18800e(_0x2c0979,_0x562c90,_0x108fce,_0x3bb65f,_0x190d5b,0xf,_0x1e7a19[0x3e]),_0x3bb65f=_0x18800e(_0x3bb65f,_0x2c0979,_0x562c90,_0x108fce,_0x53eb6b,0x15,_0x1e7a19[0x3f]),_0x2a54b4[0x0]=_0x2a54b4[0x0]+_0x108fce|0x0,_0x2a54b4[0x1]=_0x2a54b4[0x1]+_0x3bb65f|0x0,_0x2a54b4[0x2]=_0x2a54b4[0x2]+_0x2c0979|0x0,_0x2a54b4[0x3]=_0x2a54b4[0x3]+_0x562c90|0x0;},'_doFinalize':function(){const _0x51c478=_0x152b31;var _0x16f8f3=this[_0x51c478(0x27e)],_0x20c863=_0x16f8f3['words'],_0x70b1dc=this['_nDataBytes']*0x8,_0x163965=_0x16f8f3[_0x51c478(0x4a3)]*0x8;_0x20c863[_0x163965>>>0x5]|=0x80<<0x18-_0x163965%0x20;var _0xcd0f76=_0x33e3ba[_0x51c478(0x127)](_0x70b1dc/0x100000000),_0x1b28c5=_0x70b1dc;_0x20c863[(_0x163965+0x40>>>0x9<<0x4)+0xf]=(_0xcd0f76<<0x8|_0xcd0f76>>>0x18)&0xff00ff|(_0xcd0f76<<0x18|_0xcd0f76>>>0x8)&0xff00ff00,_0x20c863[(_0x163965+0x40>>>0x9<<0x4)+0xe]=(_0x1b28c5<<0x8|_0x1b28c5>>>0x18)&0xff00ff|(_0x1b28c5<<0x18|_0x1b28c5>>>0x8)&0xff00ff00,_0x16f8f3[_0x51c478(0x4a3)]=(_0x20c863[_0x51c478(0x161)]+0x1)*0x4,this[_0x51c478(0xb9)]();for(var _0x50be95=this[_0x51c478(0x3bf)],_0x31464b=_0x50be95['words'],_0x4c58a4=0x0;_0x4c58a4<0x4;_0x4c58a4++){var _0x4b89fc=_0x31464b[_0x4c58a4];_0x31464b[_0x4c58a4]=(_0x4b89fc<<0x8|_0x4b89fc>>>0x18)&0xff00ff|(_0x4b89fc<<0x18|_0x4b89fc>>>0x8)&0xff00ff00;}return _0x50be95;},'clone':function(){const _0x5500a4=_0x152b31;var _0x1a765f=_0x475382[_0x5500a4(0x2c4)]['call'](this);return _0x1a765f[_0x5500a4(0x3bf)]=this[_0x5500a4(0x3bf)][_0x5500a4(0x2c4)](),_0x1a765f;}});function _0x23cdc2(_0x325bb6,_0x4d2f0f,_0x3fac72,_0x33e294,_0x9e75b1,_0x11be50,_0x1e26d0){var _0x290fc6=_0x325bb6+(_0x4d2f0f&_0x3fac72|~_0x4d2f0f&_0x33e294)+_0x9e75b1+_0x1e26d0;return(_0x290fc6<<_0x11be50|_0x290fc6>>>0x20-_0x11be50)+_0x4d2f0f;}function _0xcc315d(_0x1a9f89,_0x53d816,_0x165ea5,_0xd166fc,_0x406af4,_0x116943,_0xb7a0e3){var _0xffdb35=_0x1a9f89+(_0x53d816&_0xd166fc|_0x165ea5&~_0xd166fc)+_0x406af4+_0xb7a0e3;return(_0xffdb35<<_0x116943|_0xffdb35>>>0x20-_0x116943)+_0x53d816;}function _0x391572(_0x2ac7af,_0xceefd3,_0x565f95,_0x3eda20,_0x46056c,_0x44f073,_0x12ac4c){var _0x1d9e39=_0x2ac7af+(_0xceefd3^_0x565f95^_0x3eda20)+_0x46056c+_0x12ac4c;return(_0x1d9e39<<_0x44f073|_0x1d9e39>>>0x20-_0x44f073)+_0xceefd3;}function _0x18800e(_0x307826,_0x592293,_0x15fcc3,_0x410b54,_0x14ddd2,_0x10bc15,_0x51104a){var _0x46d294=_0x307826+(_0x15fcc3^(_0x592293|~_0x410b54))+_0x14ddd2+_0x51104a;return(_0x46d294<<_0x10bc15|_0x46d294>>>0x20-_0x10bc15)+_0x592293;}_0x308a71['MD5']=_0x475382[_0x152b31(0xb5)](_0x580c0d),_0x308a71[_0x152b31(0x15e)]=_0x475382[_0x152b31(0x2a3)](_0x580c0d);}(Math),_0x48a821[_0x2022bd(0x218)];}));}(pt)),pt[_0x401b46(0x317)];}var mt={'exports':{}},gt={'exports':{}},oc=gt['exports'],ui;function ac(){const _0x540eea=_0x2025fc;return ui||(ui=0x1,function(_0x5b01ee,_0xef0f57){(function(_0x3e5d8d,_0x401caa){const _0x1569db=_0x46d8;_0x5b01ee[_0x1569db(0x317)]=_0x401caa(_e());}(oc,function(_0x40d8d3){return(function(){const _0x4e8a82=_0x46d8;var _0x335ecf=_0x40d8d3,_0x1962d5=_0x335ecf[_0x4e8a82(0x118)],_0x516d47=_0x1962d5[_0x4e8a82(0x1c9)],_0x3d6380=_0x1962d5[_0x4e8a82(0x3f7)],_0xeaabf3=_0x335ecf[_0x4e8a82(0x1b4)],_0x53eb51=[],_0x14a88d=_0xeaabf3[_0x4e8a82(0x3d2)]=_0x3d6380['extend']({'_doReset':function(){const _0x28109f=_0x4e8a82;this[_0x28109f(0x3bf)]=new _0x516d47[(_0x28109f(0x289))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4d2490,_0x4780db){const _0x1714a6=_0x4e8a82;for(var _0xb9b468=this[_0x1714a6(0x3bf)][_0x1714a6(0x352)],_0x334729=_0xb9b468[0x0],_0x217c4e=_0xb9b468[0x1],_0x3e798d=_0xb9b468[0x2],_0x3759f3=_0xb9b468[0x3],_0x26b037=_0xb9b468[0x4],_0x27b40c=0x0;_0x27b40c<0x50;_0x27b40c++){if(_0x27b40c<0x10)_0x53eb51[_0x27b40c]=_0x4d2490[_0x4780db+_0x27b40c]|0x0;else{var _0x3b07aa=_0x53eb51[_0x27b40c-0x3]^_0x53eb51[_0x27b40c-0x8]^_0x53eb51[_0x27b40c-0xe]^_0x53eb51[_0x27b40c-0x10];_0x53eb51[_0x27b40c]=_0x3b07aa<<0x1|_0x3b07aa>>>0x1f;}var _0x33f08d=(_0x334729<<0x5|_0x334729>>>0x1b)+_0x26b037+_0x53eb51[_0x27b40c];_0x27b40c<0x14?_0x33f08d+=(_0x217c4e&_0x3e798d|~_0x217c4e&_0x3759f3)+0x5a827999:_0x27b40c<0x28?_0x33f08d+=(_0x217c4e^_0x3e798d^_0x3759f3)+0x6ed9eba1:_0x27b40c<0x3c?_0x33f08d+=(_0x217c4e&_0x3e798d|_0x217c4e&_0x3759f3|_0x3e798d&_0x3759f3)-0x70e44324:_0x33f08d+=(_0x217c4e^_0x3e798d^_0x3759f3)-0x359d3e2a,_0x26b037=_0x3759f3,_0x3759f3=_0x3e798d,_0x3e798d=_0x217c4e<<0x1e|_0x217c4e>>>0x2,_0x217c4e=_0x334729,_0x334729=_0x33f08d;}_0xb9b468[0x0]=_0xb9b468[0x0]+_0x334729|0x0,_0xb9b468[0x1]=_0xb9b468[0x1]+_0x217c4e|0x0,_0xb9b468[0x2]=_0xb9b468[0x2]+_0x3e798d|0x0,_0xb9b468[0x3]=_0xb9b468[0x3]+_0x3759f3|0x0,_0xb9b468[0x4]=_0xb9b468[0x4]+_0x26b037|0x0;},'_doFinalize':function(){const _0x1a579d=_0x4e8a82;var _0x5aaf55=this[_0x1a579d(0x27e)],_0x345e7f=_0x5aaf55[_0x1a579d(0x352)],_0x5bb244=this[_0x1a579d(0x37d)]*0x8,_0x3e4aef=_0x5aaf55[_0x1a579d(0x4a3)]*0x8;return _0x345e7f[_0x3e4aef>>>0x5]|=0x80<<0x18-_0x3e4aef%0x20,_0x345e7f[(_0x3e4aef+0x40>>>0x9<<0x4)+0xe]=Math[_0x1a579d(0x127)](_0x5bb244/0x100000000),_0x345e7f[(_0x3e4aef+0x40>>>0x9<<0x4)+0xf]=_0x5bb244,_0x5aaf55[_0x1a579d(0x4a3)]=_0x345e7f[_0x1a579d(0x161)]*0x4,this[_0x1a579d(0xb9)](),this[_0x1a579d(0x3bf)];},'clone':function(){const _0x14ea1c=_0x4e8a82;var _0x53fa84=_0x3d6380[_0x14ea1c(0x2c4)]['call'](this);return _0x53fa84[_0x14ea1c(0x3bf)]=this[_0x14ea1c(0x3bf)][_0x14ea1c(0x2c4)](),_0x53fa84;}});_0x335ecf['SHA1']=_0x3d6380[_0x4e8a82(0xb5)](_0x14a88d),_0x335ecf[_0x4e8a82(0x108)]=_0x3d6380['_createHmacHelper'](_0x14a88d);}()),_0x40d8d3['SHA1'];}));}(gt)),gt[_0x540eea(0x317)];}var St={'exports':{}},cc=St['exports'],di;function hc(){const _0x314e7c=_0x2025fc;return di||(di=0x1,function(_0x4ddde0,_0x2b3d4a){(function(_0x251aa1,_0x422e75){const _0x5bd9b8=_0x46d8;_0x4ddde0[_0x5bd9b8(0x317)]=_0x422e75(_e());}(cc,function(_0xe87935){(function(){const _0x1324a3=_0x46d8;var _0x4e26eb=_0xe87935,_0x2e2718=_0x4e26eb[_0x1324a3(0x118)],_0x1a23bc=_0x2e2718[_0x1324a3(0x298)],_0x574d2b=_0x4e26eb[_0x1324a3(0xdb)],_0x25196f=_0x574d2b[_0x1324a3(0x488)],_0x53887f=_0x4e26eb[_0x1324a3(0x1b4)];_0x53887f[_0x1324a3(0x1e7)]=_0x1a23bc[_0x1324a3(0x4a2)]({'init':function(_0x41ac01,_0x3c1e17){const _0x51eefe=_0x1324a3;_0x41ac01=this[_0x51eefe(0x107)]=new _0x41ac01['init'](),typeof _0x3c1e17==_0x51eefe(0x151)&&(_0x3c1e17=_0x25196f[_0x51eefe(0x211)](_0x3c1e17));var _0x464049=_0x41ac01[_0x51eefe(0x112)],_0xdcc8c0=_0x464049*0x4;_0x3c1e17[_0x51eefe(0x4a3)]>_0xdcc8c0&&(_0x3c1e17=_0x41ac01[_0x51eefe(0x17d)](_0x3c1e17)),_0x3c1e17[_0x51eefe(0x378)]();for(var _0x32a8b7=this[_0x51eefe(0x284)]=_0x3c1e17[_0x51eefe(0x2c4)](),_0x403a2d=this[_0x51eefe(0x25f)]=_0x3c1e17[_0x51eefe(0x2c4)](),_0x50b851=_0x32a8b7[_0x51eefe(0x352)],_0x149ec7=_0x403a2d[_0x51eefe(0x352)],_0x29dc6c=0x0;_0x29dc6c<_0x464049;_0x29dc6c++)_0x50b851[_0x29dc6c]^=0x5c5c5c5c,_0x149ec7[_0x29dc6c]^=0x36363636;_0x32a8b7[_0x51eefe(0x4a3)]=_0x403a2d[_0x51eefe(0x4a3)]=_0xdcc8c0,this[_0x51eefe(0x216)]();},'reset':function(){const _0x51706a=_0x1324a3;var _0xd3f15e=this[_0x51706a(0x107)];_0xd3f15e['reset'](),_0xd3f15e[_0x51706a(0xbf)](this[_0x51706a(0x25f)]);},'update':function(_0x139dcd){return this['_hasher']['update'](_0x139dcd),this;},'finalize':function(_0x42b305){const _0x3a4e49=_0x1324a3;var _0x2a12b8=this[_0x3a4e49(0x107)],_0x1a91a5=_0x2a12b8['finalize'](_0x42b305);_0x2a12b8['reset']();var _0x95c138=_0x2a12b8[_0x3a4e49(0x17d)](this['_oKey']['clone']()[_0x3a4e49(0x40a)](_0x1a91a5));return _0x95c138;}});}());}));}(St)),St[_0x314e7c(0x317)];}var lc=mt['exports'],fi;function _0x46d8(_0x7ce7e9,_0x453604){const _0x5197c2=_0x5197();return _0x46d8=function(_0x46d88f,_0x302619){_0x46d88f=_0x46d88f-0xa4;let _0x400d2c=_0x5197c2[_0x46d88f];return _0x400d2c;},_0x46d8(_0x7ce7e9,_0x453604);}function nr(){const _0x22af66=_0x2025fc;return fi||(fi=0x1,function(_0x1401db,_0x1fcd16){(function(_0x2490a6,_0x342771,_0x153c8d){const _0x30fb07=_0x46d8;_0x1401db[_0x30fb07(0x317)]=_0x342771(_e(),ac(),hc());}(lc,function(_0x148432){return(function(){const _0x5b28fc=_0x46d8;var _0x2448e5=_0x148432,_0xc0f0ec=_0x2448e5['lib'],_0x1a82a1=_0xc0f0ec[_0x5b28fc(0x298)],_0x4be92a=_0xc0f0ec[_0x5b28fc(0x1c9)],_0x4d1d4c=_0x2448e5[_0x5b28fc(0x1b4)],_0x2c0e45=_0x4d1d4c['MD5'],_0x4e4088=_0x4d1d4c[_0x5b28fc(0x2ba)]=_0x1a82a1[_0x5b28fc(0x4a2)]({'cfg':_0x1a82a1[_0x5b28fc(0x4a2)]({'keySize':0x80/0x20,'hasher':_0x2c0e45,'iterations':0x1}),'init':function(_0x4731b2){const _0x27fe2f=_0x5b28fc;this[_0x27fe2f(0x250)]=this['cfg']['extend'](_0x4731b2);},'compute':function(_0x50e5a5,_0x4aaf1c){const _0x5abf7b=_0x5b28fc;for(var _0x945380,_0x17337c=this[_0x5abf7b(0x250)],_0x15fe18=_0x17337c[_0x5abf7b(0x261)][_0x5abf7b(0x27d)](),_0x2b632f=_0x4be92a[_0x5abf7b(0x27d)](),_0x54813e=_0x2b632f[_0x5abf7b(0x352)],_0x3d03c3=_0x17337c[_0x5abf7b(0x254)],_0x43d092=_0x17337c['iterations'];_0x54813e[_0x5abf7b(0x161)]<_0x3d03c3;){_0x945380&&_0x15fe18[_0x5abf7b(0xbf)](_0x945380),_0x945380=_0x15fe18['update'](_0x50e5a5)[_0x5abf7b(0x17d)](_0x4aaf1c),_0x15fe18[_0x5abf7b(0x216)]();for(var _0x1e55e5=0x1;_0x1e55e5<_0x43d092;_0x1e55e5++)_0x945380=_0x15fe18[_0x5abf7b(0x17d)](_0x945380),_0x15fe18[_0x5abf7b(0x216)]();_0x2b632f[_0x5abf7b(0x40a)](_0x945380);}return _0x2b632f[_0x5abf7b(0x4a3)]=_0x3d03c3*0x4,_0x2b632f;}});_0x2448e5[_0x5b28fc(0x2ba)]=function(_0x1b67e1,_0x55b086,_0x4f00d6){const _0x18b3d2=_0x5b28fc;return _0x4e4088[_0x18b3d2(0x27d)](_0x4f00d6)[_0x18b3d2(0x2ca)](_0x1b67e1,_0x55b086);};}()),_0x148432['EvpKDF'];}));}(mt)),mt[_0x22af66(0x317)];}var It={'exports':{}},_c=It[_0x2025fc(0x317)],vi;function or(){return vi||(vi=0x1,function(_0x437363,_0x18ef93){(function(_0x4a8e7b,_0x5396d3,_0x162549){const _0x24a4b6=_0x46d8;_0x437363[_0x24a4b6(0x317)]=_0x5396d3(_e(),nr());}(_c,function(_0x4cdc08){_0x4cdc08['lib']['Cipher']||function(_0x75539f){const _0x1a834e=_0x46d8;var _0x131487=_0x4cdc08,_0x43dedf=_0x131487[_0x1a834e(0x118)],_0x4ba3e6=_0x43dedf['Base'],_0x16e173=_0x43dedf[_0x1a834e(0x1c9)],_0x1ec9d7=_0x43dedf[_0x1a834e(0x450)],_0x9dcb7=_0x131487['enc'];_0x9dcb7[_0x1a834e(0x488)];var _0x1d8690=_0x9dcb7[_0x1a834e(0x22c)],_0xa36d5e=_0x131487[_0x1a834e(0x1b4)],_0x1a5c2d=_0xa36d5e[_0x1a834e(0x2ba)],_0x170403=_0x43dedf[_0x1a834e(0x31d)]=_0x1ec9d7[_0x1a834e(0x4a2)]({'cfg':_0x4ba3e6[_0x1a834e(0x4a2)](),'createEncryptor':function(_0x599fa6,_0x4740ec){const _0x2e08f9=_0x1a834e;return this[_0x2e08f9(0x27d)](this[_0x2e08f9(0x3db)],_0x599fa6,_0x4740ec);},'createDecryptor':function(_0x2a4bd3,_0x193aca){const _0x139219=_0x1a834e;return this[_0x139219(0x27d)](this[_0x139219(0x10d)],_0x2a4bd3,_0x193aca);},'init':function(_0x3e5d11,_0x13a032,_0x236e6d){const _0x5b8894=_0x1a834e;this['cfg']=this['cfg'][_0x5b8894(0x4a2)](_0x236e6d),this[_0x5b8894(0x313)]=_0x3e5d11,this[_0x5b8894(0x306)]=_0x13a032,this[_0x5b8894(0x216)]();},'reset':function(){const _0x5a26e7=_0x1a834e;_0x1ec9d7[_0x5a26e7(0x216)][_0x5a26e7(0x494)](this),this[_0x5a26e7(0x228)]();},'process':function(_0x4992e0){const _0x1b0f79=_0x1a834e;return this[_0x1b0f79(0x245)](_0x4992e0),this[_0x1b0f79(0xb9)]();},'finalize':function(_0xccdd70){_0xccdd70&&this['_append'](_0xccdd70);var _0x3df9b=this['_doFinalize']();return _0x3df9b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4bb796(_0x229dd5){const _0x42d92f=_0x46d8;return typeof _0x229dd5==_0x42d92f(0x151)?_0x4c24a3:_0xf309e7;}return function(_0x1f1c02){return{'encrypt':function(_0x5552f0,_0x1946ea,_0x53cda0){const _0x30e37a=_0x46d8;return _0x4bb796(_0x1946ea)[_0x30e37a(0x36a)](_0x1f1c02,_0x5552f0,_0x1946ea,_0x53cda0);},'decrypt':function(_0x4643ca,_0x44b12a,_0x5ed82b){const _0x470b7f=_0x46d8;return _0x4bb796(_0x44b12a)[_0x470b7f(0xbe)](_0x1f1c02,_0x4643ca,_0x44b12a,_0x5ed82b);}};};}())});_0x43dedf['StreamCipher']=_0x170403[_0x1a834e(0x4a2)]({'_doFinalize':function(){const _0x1366b8=_0x1a834e;var _0xc43c70=this[_0x1366b8(0xb9)](!0x0);return _0xc43c70;},'blockSize':0x1});var _0x489559=_0x131487['mode']={},_0x158b9d=_0x43dedf[_0x1a834e(0x353)]=_0x4ba3e6[_0x1a834e(0x4a2)]({'createEncryptor':function(_0xe71ab9,_0x346906){const _0x1d0642=_0x1a834e;return this[_0x1d0642(0x205)][_0x1d0642(0x27d)](_0xe71ab9,_0x346906);},'createDecryptor':function(_0x308509,_0x522959){const _0x97010a=_0x1a834e;return this[_0x97010a(0x255)][_0x97010a(0x27d)](_0x308509,_0x522959);},'init':function(_0x20c6f9,_0x1d6e29){const _0x19012b=_0x1a834e;this[_0x19012b(0x434)]=_0x20c6f9,this[_0x19012b(0x355)]=_0x1d6e29;}}),_0x2c8fd0=_0x489559['CBC']=(function(){const _0xa07ae1=_0x1a834e;var _0x4a0679=_0x158b9d['extend']();_0x4a0679[_0xa07ae1(0x205)]=_0x4a0679['extend']({'processBlock':function(_0x435b8b,_0x16e3dc){const _0x3f05d0=_0xa07ae1;var _0x1e06b9=this[_0x3f05d0(0x434)],_0x4d3141=_0x1e06b9[_0x3f05d0(0x112)];_0x166e7d[_0x3f05d0(0x494)](this,_0x435b8b,_0x16e3dc,_0x4d3141),_0x1e06b9['encryptBlock'](_0x435b8b,_0x16e3dc),this[_0x3f05d0(0x305)]=_0x435b8b[_0x3f05d0(0x48f)](_0x16e3dc,_0x16e3dc+_0x4d3141);}}),_0x4a0679[_0xa07ae1(0x255)]=_0x4a0679['extend']({'processBlock':function(_0xbfe314,_0x4b9807){const _0x7f1adf=_0xa07ae1;var _0xb17a73=this['_cipher'],_0x5c374f=_0xb17a73[_0x7f1adf(0x112)],_0x277182=_0xbfe314[_0x7f1adf(0x48f)](_0x4b9807,_0x4b9807+_0x5c374f);_0xb17a73[_0x7f1adf(0x3f0)](_0xbfe314,_0x4b9807),_0x166e7d[_0x7f1adf(0x494)](this,_0xbfe314,_0x4b9807,_0x5c374f),this['_prevBlock']=_0x277182;}});function _0x166e7d(_0x31d75a,_0x11eb71,_0x2071f9){const _0x5b4b7c=_0xa07ae1;var _0x4b1168,_0x4864dc=this['_iv'];_0x4864dc?(_0x4b1168=_0x4864dc,this['_iv']=_0x75539f):_0x4b1168=this[_0x5b4b7c(0x305)];for(var _0x2d2e67=0x0;_0x2d2e67<_0x2071f9;_0x2d2e67++)_0x31d75a[_0x11eb71+_0x2d2e67]^=_0x4b1168[_0x2d2e67];}return _0x4a0679;}()),_0x37e52c=_0x131487[_0x1a834e(0x45f)]={},_0x70b5a3=_0x37e52c[_0x1a834e(0x234)]={'pad':function(_0x348bb6,_0x12f930){const _0x24703b=_0x1a834e;for(var _0x56529b=_0x12f930*0x4,_0x28a59e=_0x56529b-_0x348bb6[_0x24703b(0x4a3)]%_0x56529b,_0x2e3343=_0x28a59e<<0x18|_0x28a59e<<0x10|_0x28a59e<<0x8|_0x28a59e,_0x1506d5=[],_0x17685d=0x0;_0x17685d<_0x28a59e;_0x17685d+=0x4)_0x1506d5[_0x24703b(0x22f)](_0x2e3343);var _0x5ee0b8=_0x16e173[_0x24703b(0x27d)](_0x1506d5,_0x28a59e);_0x348bb6[_0x24703b(0x40a)](_0x5ee0b8);},'unpad':function(_0x6938d2){const _0x181535=_0x1a834e;var _0x4b5186=_0x6938d2[_0x181535(0x352)][_0x6938d2[_0x181535(0x4a3)]-0x1>>>0x2]&0xff;_0x6938d2[_0x181535(0x4a3)]-=_0x4b5186;}};_0x43dedf[_0x1a834e(0xdd)]=_0x170403[_0x1a834e(0x4a2)]({'cfg':_0x170403['cfg'][_0x1a834e(0x4a2)]({'mode':_0x2c8fd0,'padding':_0x70b5a3}),'reset':function(){const _0x2d9c9e=_0x1a834e;var _0x588d05;_0x170403[_0x2d9c9e(0x216)][_0x2d9c9e(0x494)](this);var _0x3c7854=this['cfg'],_0x309558=_0x3c7854['iv'],_0x1472c9=_0x3c7854[_0x2d9c9e(0x324)];this[_0x2d9c9e(0x313)]==this[_0x2d9c9e(0x3db)]?_0x588d05=_0x1472c9[_0x2d9c9e(0x3d4)]:(_0x588d05=_0x1472c9['createDecryptor'],this[_0x2d9c9e(0x12d)]=0x1),this['_mode']&&this[_0x2d9c9e(0x1e9)][_0x2d9c9e(0x1a4)]==_0x588d05?this['_mode']['init'](this,_0x309558&&_0x309558[_0x2d9c9e(0x352)]):(this[_0x2d9c9e(0x1e9)]=_0x588d05[_0x2d9c9e(0x494)](_0x1472c9,this,_0x309558&&_0x309558[_0x2d9c9e(0x352)]),this[_0x2d9c9e(0x1e9)][_0x2d9c9e(0x1a4)]=_0x588d05);},'_doProcessBlock':function(_0x457140,_0x1cfef1){const _0x54b27b=_0x1a834e;this[_0x54b27b(0x1e9)]['processBlock'](_0x457140,_0x1cfef1);},'_doFinalize':function(){const _0x2a5a69=_0x1a834e;var _0x8254fa,_0x3e1a0c=this[_0x2a5a69(0x250)]['padding'];return this[_0x2a5a69(0x313)]==this['_ENC_XFORM_MODE']?(_0x3e1a0c['pad'](this[_0x2a5a69(0x27e)],this[_0x2a5a69(0x112)]),_0x8254fa=this[_0x2a5a69(0xb9)](!0x0)):(_0x8254fa=this[_0x2a5a69(0xb9)](!0x0),_0x3e1a0c[_0x2a5a69(0x1e0)](_0x8254fa)),_0x8254fa;},'blockSize':0x80/0x20});var _0x2a4e40=_0x43dedf[_0x1a834e(0xeb)]=_0x4ba3e6[_0x1a834e(0x4a2)]({'init':function(_0x1a4d2f){this['mixIn'](_0x1a4d2f);},'toString':function(_0x61b07b){const _0x5723ca=_0x1a834e;return(_0x61b07b||this[_0x5723ca(0x126)])[_0x5723ca(0x11e)](this);}}),_0xf37682=_0x131487[_0x1a834e(0x224)]={},_0x3fccaa=_0xf37682[_0x1a834e(0x120)]={'stringify':function(_0x3c99f1){const _0x455810=_0x1a834e;var _0x278aef,_0x53ee10=_0x3c99f1['ciphertext'],_0x1747a1=_0x3c99f1[_0x455810(0x1fd)];return _0x1747a1?_0x278aef=_0x16e173[_0x455810(0x27d)]([0x53616c74,0x65645f5f])[_0x455810(0x40a)](_0x1747a1)[_0x455810(0x40a)](_0x53ee10):_0x278aef=_0x53ee10,_0x278aef[_0x455810(0x135)](_0x1d8690);},'parse':function(_0x185270){const _0xdaa06b=_0x1a834e;var _0x3bbd6b,_0x5580a0=_0x1d8690[_0xdaa06b(0x211)](_0x185270),_0x3cdf65=_0x5580a0['words'];return _0x3cdf65[0x0]==0x53616c74&&_0x3cdf65[0x1]==0x65645f5f&&(_0x3bbd6b=_0x16e173[_0xdaa06b(0x27d)](_0x3cdf65['slice'](0x2,0x4)),_0x3cdf65['splice'](0x0,0x4),_0x5580a0[_0xdaa06b(0x4a3)]-=0x10),_0x2a4e40[_0xdaa06b(0x27d)]({'ciphertext':_0x5580a0,'salt':_0x3bbd6b});}},_0xf309e7=_0x43dedf[_0x1a834e(0x31e)]=_0x4ba3e6['extend']({'cfg':_0x4ba3e6['extend']({'format':_0x3fccaa}),'encrypt':function(_0x3d6186,_0x3c396f,_0x3f3803,_0x5b1cdd){const _0x15a56f=_0x1a834e;_0x5b1cdd=this[_0x15a56f(0x250)]['extend'](_0x5b1cdd);var _0x21f2a2=_0x3d6186[_0x15a56f(0x3d4)](_0x3f3803,_0x5b1cdd),_0x4fd2a0=_0x21f2a2[_0x15a56f(0x17d)](_0x3c396f),_0x48518f=_0x21f2a2[_0x15a56f(0x250)];return _0x2a4e40[_0x15a56f(0x27d)]({'ciphertext':_0x4fd2a0,'key':_0x3f3803,'iv':_0x48518f['iv'],'algorithm':_0x3d6186,'mode':_0x48518f['mode'],'padding':_0x48518f[_0x15a56f(0x3bb)],'blockSize':_0x3d6186[_0x15a56f(0x112)],'formatter':_0x5b1cdd['format']});},'decrypt':function(_0x1d3387,_0x398913,_0x1c0ff3,_0x4c712d){const _0x456bb8=_0x1a834e;_0x4c712d=this[_0x456bb8(0x250)][_0x456bb8(0x4a2)](_0x4c712d),_0x398913=this[_0x456bb8(0x256)](_0x398913,_0x4c712d[_0x456bb8(0x224)]);var _0x350edc=_0x1d3387[_0x456bb8(0x2c2)](_0x1c0ff3,_0x4c712d)['finalize'](_0x398913[_0x456bb8(0x27a)]);return _0x350edc;},'_parse':function(_0x49f215,_0x2b8e93){const _0x3c99a6=_0x1a834e;return typeof _0x49f215==_0x3c99a6(0x151)?_0x2b8e93[_0x3c99a6(0x211)](_0x49f215,this):_0x49f215;}}),_0x4d8783=_0x131487[_0x1a834e(0x1d1)]={},_0x33710c=_0x4d8783[_0x1a834e(0x120)]={'execute':function(_0x29f753,_0x5bcece,_0x223538,_0xc7285c,_0x2902b7){const _0xc1b969=_0x1a834e;if(_0xc7285c||(_0xc7285c=_0x16e173['random'](0x40/0x8)),_0x2902b7)var _0x58815d=_0x1a5c2d[_0xc1b969(0x27d)]({'keySize':_0x5bcece+_0x223538,'hasher':_0x2902b7})[_0xc1b969(0x2ca)](_0x29f753,_0xc7285c);else var _0x58815d=_0x1a5c2d[_0xc1b969(0x27d)]({'keySize':_0x5bcece+_0x223538})['compute'](_0x29f753,_0xc7285c);var _0x2752f5=_0x16e173[_0xc1b969(0x27d)](_0x58815d['words'][_0xc1b969(0x48f)](_0x5bcece),_0x223538*0x4);return _0x58815d[_0xc1b969(0x4a3)]=_0x5bcece*0x4,_0x2a4e40[_0xc1b969(0x27d)]({'key':_0x58815d,'iv':_0x2752f5,'salt':_0xc7285c});}},_0x4c24a3=_0x43dedf[_0x1a834e(0xb0)]=_0xf309e7[_0x1a834e(0x4a2)]({'cfg':_0xf309e7[_0x1a834e(0x250)]['extend']({'kdf':_0x33710c}),'encrypt':function(_0x14c49d,_0x5b5c6f,_0x360216,_0x234a25){const _0x381bc6=_0x1a834e;_0x234a25=this[_0x381bc6(0x250)]['extend'](_0x234a25);var _0x341211=_0x234a25['kdf'][_0x381bc6(0x2dc)](_0x360216,_0x14c49d[_0x381bc6(0x254)],_0x14c49d[_0x381bc6(0x141)],_0x234a25[_0x381bc6(0x1fd)],_0x234a25[_0x381bc6(0x261)]);_0x234a25['iv']=_0x341211['iv'];var _0x265d0=_0xf309e7[_0x381bc6(0x36a)][_0x381bc6(0x494)](this,_0x14c49d,_0x5b5c6f,_0x341211['key'],_0x234a25);return _0x265d0[_0x381bc6(0x394)](_0x341211),_0x265d0;},'decrypt':function(_0x212295,_0x1c8ac9,_0x5b2f0e,_0x45df94){const _0x462d78=_0x1a834e;_0x45df94=this['cfg'][_0x462d78(0x4a2)](_0x45df94),_0x1c8ac9=this[_0x462d78(0x256)](_0x1c8ac9,_0x45df94[_0x462d78(0x224)]);var _0x528992=_0x45df94[_0x462d78(0x1d1)]['execute'](_0x5b2f0e,_0x212295[_0x462d78(0x254)],_0x212295[_0x462d78(0x141)],_0x1c8ac9[_0x462d78(0x1fd)],_0x45df94['hasher']);_0x45df94['iv']=_0x528992['iv'];var _0x402c6c=_0xf309e7['decrypt'][_0x462d78(0x494)](this,_0x212295,_0x1c8ac9,_0x528992[_0x462d78(0x45c)],_0x45df94);return _0x402c6c;}});}();}));}(It)),It['exports'];}var uc=dt[_0x2025fc(0x317)],pi;function dc(){const _0x3afdcd=_0x2025fc;return pi||(pi=0x1,function(_0x3e79f6,_0x1e2016){(function(_0x119ac0,_0x2ce047,_0x56f06c){const _0x3bf0e4=_0x46d8;_0x3e79f6[_0x3bf0e4(0x317)]=_0x2ce047(_e(),rr(),nc(),nr(),or());}(uc,function(_0x278a9c){const _0x55ff72=_0x46d8;return(function(){const _0x2e4fb1=_0x46d8;var _0x30f791=_0x278a9c,_0x1f3da1=_0x30f791[_0x2e4fb1(0x118)],_0x1af67c=_0x1f3da1[_0x2e4fb1(0xdd)],_0x4bd355=_0x30f791[_0x2e4fb1(0x1b4)],_0x5367ed=[],_0x185cc8=[],_0x22e6e1=[],_0x1060bc=[],_0x9e24e5=[],_0x31ea26=[],_0x14e023=[],_0x507ab5=[],_0x3c9e17=[],_0x57dcfb=[];(function(){for(var _0x39d0ef=[],_0x4b896b=0x0;_0x4b896b<0x100;_0x4b896b++)_0x4b896b<0x80?_0x39d0ef[_0x4b896b]=_0x4b896b<<0x1:_0x39d0ef[_0x4b896b]=_0x4b896b<<0x1^0x11b;for(var _0x2cb7bc=0x0,_0x3bec17=0x0,_0x4b896b=0x0;_0x4b896b<0x100;_0x4b896b++){var _0x168dfc=_0x3bec17^_0x3bec17<<0x1^_0x3bec17<<0x2^_0x3bec17<<0x3^_0x3bec17<<0x4;_0x168dfc=_0x168dfc>>>0x8^_0x168dfc&0xff^0x63,_0x5367ed[_0x2cb7bc]=_0x168dfc,_0x185cc8[_0x168dfc]=_0x2cb7bc;var _0x75f292=_0x39d0ef[_0x2cb7bc],_0x36e8b9=_0x39d0ef[_0x75f292],_0x347ff9=_0x39d0ef[_0x36e8b9],_0x369bf4=_0x39d0ef[_0x168dfc]*0x101^_0x168dfc*0x1010100;_0x22e6e1[_0x2cb7bc]=_0x369bf4<<0x18|_0x369bf4>>>0x8,_0x1060bc[_0x2cb7bc]=_0x369bf4<<0x10|_0x369bf4>>>0x10,_0x9e24e5[_0x2cb7bc]=_0x369bf4<<0x8|_0x369bf4>>>0x18,_0x31ea26[_0x2cb7bc]=_0x369bf4;var _0x369bf4=_0x347ff9*0x1010101^_0x36e8b9*0x10001^_0x75f292*0x101^_0x2cb7bc*0x1010100;_0x14e023[_0x168dfc]=_0x369bf4<<0x18|_0x369bf4>>>0x8,_0x507ab5[_0x168dfc]=_0x369bf4<<0x10|_0x369bf4>>>0x10,_0x3c9e17[_0x168dfc]=_0x369bf4<<0x8|_0x369bf4>>>0x18,_0x57dcfb[_0x168dfc]=_0x369bf4,_0x2cb7bc?(_0x2cb7bc=_0x75f292^_0x39d0ef[_0x39d0ef[_0x39d0ef[_0x347ff9^_0x75f292]]],_0x3bec17^=_0x39d0ef[_0x39d0ef[_0x3bec17]]):_0x2cb7bc=_0x3bec17=0x1;}}());var _0x43dc6b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4a9580=_0x4bd355[_0x2e4fb1(0xfc)]=_0x1af67c[_0x2e4fb1(0x4a2)]({'_doReset':function(){const _0x16b0a9=_0x2e4fb1;var _0x39989e;if(!(this[_0x16b0a9(0x404)]&&this['_keyPriorReset']===this[_0x16b0a9(0x306)])){for(var _0x20e33d=this[_0x16b0a9(0x3d6)]=this[_0x16b0a9(0x306)],_0x13af51=_0x20e33d[_0x16b0a9(0x352)],_0x398939=_0x20e33d[_0x16b0a9(0x4a3)]/0x4,_0x55d7ff=this[_0x16b0a9(0x404)]=_0x398939+0x6,_0x2de9e8=(_0x55d7ff+0x1)*0x4,_0x2d555e=this['_keySchedule']=[],_0x46837a=0x0;_0x46837a<_0x2de9e8;_0x46837a++)_0x46837a<_0x398939?_0x2d555e[_0x46837a]=_0x13af51[_0x46837a]:(_0x39989e=_0x2d555e[_0x46837a-0x1],_0x46837a%_0x398939?_0x398939>0x6&&_0x46837a%_0x398939==0x4&&(_0x39989e=_0x5367ed[_0x39989e>>>0x18]<<0x18|_0x5367ed[_0x39989e>>>0x10&0xff]<<0x10|_0x5367ed[_0x39989e>>>0x8&0xff]<<0x8|_0x5367ed[_0x39989e&0xff]):(_0x39989e=_0x39989e<<0x8|_0x39989e>>>0x18,_0x39989e=_0x5367ed[_0x39989e>>>0x18]<<0x18|_0x5367ed[_0x39989e>>>0x10&0xff]<<0x10|_0x5367ed[_0x39989e>>>0x8&0xff]<<0x8|_0x5367ed[_0x39989e&0xff],_0x39989e^=_0x43dc6b[_0x46837a/_0x398939|0x0]<<0x18),_0x2d555e[_0x46837a]=_0x2d555e[_0x46837a-_0x398939]^_0x39989e);for(var _0x38a722=this[_0x16b0a9(0x16c)]=[],_0x4df2e2=0x0;_0x4df2e2<_0x2de9e8;_0x4df2e2++){var _0x46837a=_0x2de9e8-_0x4df2e2;if(_0x4df2e2%0x4)var _0x39989e=_0x2d555e[_0x46837a];else var _0x39989e=_0x2d555e[_0x46837a-0x4];_0x4df2e2<0x4||_0x46837a<=0x4?_0x38a722[_0x4df2e2]=_0x39989e:_0x38a722[_0x4df2e2]=_0x14e023[_0x5367ed[_0x39989e>>>0x18]]^_0x507ab5[_0x5367ed[_0x39989e>>>0x10&0xff]]^_0x3c9e17[_0x5367ed[_0x39989e>>>0x8&0xff]]^_0x57dcfb[_0x5367ed[_0x39989e&0xff]];}}},'encryptBlock':function(_0x5d7414,_0x3ee591){const _0x173b07=_0x2e4fb1;this['_doCryptBlock'](_0x5d7414,_0x3ee591,this[_0x173b07(0x1cd)],_0x22e6e1,_0x1060bc,_0x9e24e5,_0x31ea26,_0x5367ed);},'decryptBlock':function(_0x2491fe,_0x3b6eaf){const _0x46fc69=_0x2e4fb1;var _0x36ac09=_0x2491fe[_0x3b6eaf+0x1];_0x2491fe[_0x3b6eaf+0x1]=_0x2491fe[_0x3b6eaf+0x3],_0x2491fe[_0x3b6eaf+0x3]=_0x36ac09,this[_0x46fc69(0x323)](_0x2491fe,_0x3b6eaf,this['_invKeySchedule'],_0x14e023,_0x507ab5,_0x3c9e17,_0x57dcfb,_0x185cc8);var _0x36ac09=_0x2491fe[_0x3b6eaf+0x1];_0x2491fe[_0x3b6eaf+0x1]=_0x2491fe[_0x3b6eaf+0x3],_0x2491fe[_0x3b6eaf+0x3]=_0x36ac09;},'_doCryptBlock':function(_0x1dd776,_0x2cad6c,_0x21777d,_0x48fefa,_0x1e7597,_0x365698,_0x180445,_0x515e74){const _0x586714=_0x2e4fb1;for(var _0x47dcc8=this[_0x586714(0x404)],_0xfa56d8=_0x1dd776[_0x2cad6c]^_0x21777d[0x0],_0x30cb02=_0x1dd776[_0x2cad6c+0x1]^_0x21777d[0x1],_0x29f017=_0x1dd776[_0x2cad6c+0x2]^_0x21777d[0x2],_0x23d7c1=_0x1dd776[_0x2cad6c+0x3]^_0x21777d[0x3],_0x5bbcef=0x4,_0x108599=0x1;_0x108599<_0x47dcc8;_0x108599++){var _0x24ee2f=_0x48fefa[_0xfa56d8>>>0x18]^_0x1e7597[_0x30cb02>>>0x10&0xff]^_0x365698[_0x29f017>>>0x8&0xff]^_0x180445[_0x23d7c1&0xff]^_0x21777d[_0x5bbcef++],_0x3f0c73=_0x48fefa[_0x30cb02>>>0x18]^_0x1e7597[_0x29f017>>>0x10&0xff]^_0x365698[_0x23d7c1>>>0x8&0xff]^_0x180445[_0xfa56d8&0xff]^_0x21777d[_0x5bbcef++],_0x29e532=_0x48fefa[_0x29f017>>>0x18]^_0x1e7597[_0x23d7c1>>>0x10&0xff]^_0x365698[_0xfa56d8>>>0x8&0xff]^_0x180445[_0x30cb02&0xff]^_0x21777d[_0x5bbcef++],_0x39b79d=_0x48fefa[_0x23d7c1>>>0x18]^_0x1e7597[_0xfa56d8>>>0x10&0xff]^_0x365698[_0x30cb02>>>0x8&0xff]^_0x180445[_0x29f017&0xff]^_0x21777d[_0x5bbcef++];_0xfa56d8=_0x24ee2f,_0x30cb02=_0x3f0c73,_0x29f017=_0x29e532,_0x23d7c1=_0x39b79d;}var _0x24ee2f=(_0x515e74[_0xfa56d8>>>0x18]<<0x18|_0x515e74[_0x30cb02>>>0x10&0xff]<<0x10|_0x515e74[_0x29f017>>>0x8&0xff]<<0x8|_0x515e74[_0x23d7c1&0xff])^_0x21777d[_0x5bbcef++],_0x3f0c73=(_0x515e74[_0x30cb02>>>0x18]<<0x18|_0x515e74[_0x29f017>>>0x10&0xff]<<0x10|_0x515e74[_0x23d7c1>>>0x8&0xff]<<0x8|_0x515e74[_0xfa56d8&0xff])^_0x21777d[_0x5bbcef++],_0x29e532=(_0x515e74[_0x29f017>>>0x18]<<0x18|_0x515e74[_0x23d7c1>>>0x10&0xff]<<0x10|_0x515e74[_0xfa56d8>>>0x8&0xff]<<0x8|_0x515e74[_0x30cb02&0xff])^_0x21777d[_0x5bbcef++],_0x39b79d=(_0x515e74[_0x23d7c1>>>0x18]<<0x18|_0x515e74[_0xfa56d8>>>0x10&0xff]<<0x10|_0x515e74[_0x30cb02>>>0x8&0xff]<<0x8|_0x515e74[_0x29f017&0xff])^_0x21777d[_0x5bbcef++];_0x1dd776[_0x2cad6c]=_0x24ee2f,_0x1dd776[_0x2cad6c+0x1]=_0x3f0c73,_0x1dd776[_0x2cad6c+0x2]=_0x29e532,_0x1dd776[_0x2cad6c+0x3]=_0x39b79d;},'keySize':0x100/0x20});_0x30f791[_0x2e4fb1(0xfc)]=_0x1af67c[_0x2e4fb1(0xb5)](_0x4a9580);}()),_0x278a9c[_0x55ff72(0xfc)];}));}(dt)),dt[_0x3afdcd(0x317)];}var fc=dc();const vc=ct(fc);var pc=rr();const mi=ct(pc);var Ct={'exports':{}},mc=Ct['exports'],gi;function gc(){const _0x3b3586=_0x2025fc;return gi||(gi=0x1,function(_0x119779,_0x312ca9){(function(_0x5b4eb0,_0xb4d625){const _0x592ce8=_0x46d8;_0x119779[_0x592ce8(0x317)]=_0xb4d625(_e());}(mc,function(_0x510f88){const _0xd69047=_0x46d8;return _0x510f88[_0xd69047(0xdb)][_0xd69047(0x488)];}));}(Ct)),Ct[_0x3b3586(0x317)];}var Sc=gc();const Ic=ct(Sc);var Et={'exports':{}},Cc=Et[_0x2025fc(0x317)],Si;function Ec(){const _0x43d317=_0x2025fc;return Si||(Si=0x1,function(_0x1f8a5b,_0x1b3da9){(function(_0x4861b5,_0x40ed07){_0x1f8a5b['exports']=_0x40ed07(_e());}(Cc,function(_0x21a69b){const _0xbd6c50=_0x46d8;return(function(){const _0x3f9dab=_0x46d8;if(typeof ArrayBuffer==_0x3f9dab(0x2d6)){var _0x2a91ac=_0x21a69b,_0x39f789=_0x2a91ac[_0x3f9dab(0x118)],_0x1f6b9e=_0x39f789[_0x3f9dab(0x1c9)],_0x1103e8=_0x1f6b9e[_0x3f9dab(0x289)],_0xd5dbed=_0x1f6b9e[_0x3f9dab(0x289)]=function(_0x2a8527){const _0x14c5b3=_0x3f9dab;if(_0x2a8527 instanceof ArrayBuffer&&(_0x2a8527=new Uint8Array(_0x2a8527)),(_0x2a8527 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2a8527 instanceof Uint8ClampedArray||_0x2a8527 instanceof Int16Array||_0x2a8527 instanceof Uint16Array||_0x2a8527 instanceof Int32Array||_0x2a8527 instanceof Uint32Array||_0x2a8527 instanceof Float32Array||_0x2a8527 instanceof Float64Array)&&(_0x2a8527=new Uint8Array(_0x2a8527[_0x14c5b3(0x4be)],_0x2a8527['byteOffset'],_0x2a8527['byteLength'])),_0x2a8527 instanceof Uint8Array){for(var _0x586c07=_0x2a8527[_0x14c5b3(0x32a)],_0x41331f=[],_0x55811c=0x0;_0x55811c<_0x586c07;_0x55811c++)_0x41331f[_0x55811c>>>0x2]|=_0x2a8527[_0x55811c]<<0x18-_0x55811c%0x4*0x8;_0x1103e8[_0x14c5b3(0x494)](this,_0x41331f,_0x586c07);}else _0x1103e8[_0x14c5b3(0x38b)](this,arguments);};_0xd5dbed['prototype']=_0x1f6b9e;}}()),_0x21a69b[_0xbd6c50(0x118)][_0xbd6c50(0x1c9)];}));}(Et)),Et[_0x43d317(0x317)];}var bc=Ec();const Tc=ct(bc);var bt={'exports':{}},Rc=bt[_0x2025fc(0x317)],Ii;function Oc(){return Ii||(Ii=0x1,function(_0x2c0c38,_0x2ff440){(function(_0x38b22c,_0x4a3eb2,_0x34672b){const _0x46cdd6=_0x46d8;_0x2c0c38[_0x46cdd6(0x317)]=_0x4a3eb2(_e(),or());}(Rc,function(_0x482228){const _0x342d2c=_0x46d8;return _0x482228[_0x342d2c(0x45f)][_0x342d2c(0x15c)]={'pad':function(){},'unpad':function(){}},_0x482228[_0x342d2c(0x45f)][_0x342d2c(0x15c)];}));}(bt)),bt['exports'];}var yc=Oc();const wc=ct(yc);function Dc(_0x1fd90d,_0x9063a8){const _0x336da5=_0x2025fc,_0x18b518=_0x9063a8-_0x1fd90d[_0x336da5(0x161)]%_0x9063a8,_0x3299fb=String[_0x336da5(0x208)](_0x18b518)[_0x336da5(0x3ba)](_0x18b518);return _0x1fd90d+_0x3299fb;}function Pc(_0x290f2f,_0x3f5ba0){const _0x4900ba=_0x2025fc,_0x1f7956=Tc[_0x4900ba(0x48e)](0x10),_0x594184=Dc(_0x290f2f,0x10),_0xe87556=vc[_0x4900ba(0x36a)](Ic[_0x4900ba(0x211)](_0x594184),mi['parse'](_0x3f5ba0),{'iv':_0x1f7956,'padding':wc});return _0x1f7956[_0x4900ba(0x40a)](_0xe87556[_0x4900ba(0x27a)])[_0x4900ba(0x135)](mi);}function Nc(){const _0x2dce8f=_0x2025fc,_0x8fc464=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x8fc464){const _0x89745b={'time':Math[_0x2dce8f(0x127)](Date[_0x2dce8f(0x1d9)]()/0x3e8),'domain':location[_0x2dce8f(0x32b)]};return Pc(JSON['stringify'](_0x89745b),_0x8fc464);}}var Uc=Object[_0x2025fc(0x385)],Ac=Object[_0x2025fc(0x18c)],Mc=(_0x2685e9,_0x6c04ab,_0x287c86,_0x14cf89)=>{for(var _0x4f36e7=_0x14cf89>0x1?void 0x0:_0x14cf89?Ac(_0x6c04ab,_0x287c86):_0x6c04ab,_0x445e12=_0x2685e9['length']-0x1,_0x300862;_0x445e12>=0x0;_0x445e12--)(_0x300862=_0x2685e9[_0x445e12])&&(_0x4f36e7=(_0x14cf89?_0x300862(_0x6c04ab,_0x287c86,_0x4f36e7):_0x300862(_0x4f36e7))||_0x4f36e7);return _0x14cf89&&_0x4f36e7&&Uc(_0x6c04ab,_0x287c86,_0x4f36e7),_0x4f36e7;},xc=(_0x9ece60,_0x39eb8b)=>(_0x5ecc87,_0xc52f92)=>_0x39eb8b(_0x5ecc87,_0xc52f92,_0x9ece60);let $t=class{constructor(_0x1bb02c){const _0x4abdae=_0x2025fc;this['_httpService']=_0x1bb02c,this[_0x4abdae(0x4bb)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x1c42a0,_0x4231a3)=>{const _0x52ba1b=_0x46d8,_0x432d51=_0x1c42a0[_0x52ba1b(0x28c)],_0x56ab59=Nc();return _0x56ab59&&_0x432d51['set'](_0x52ba1b(0xf9),_0x56ab59),_0x4231a3(_0x1c42a0);}});}};$t=Mc([xc(0x0,_0x5847bf(_0x310387))],$t);var Lc=Object[_0x2025fc(0x385)],$c=Object['getOwnPropertyDescriptor'],Hc=(_0x25f18f,_0x558306,_0x320659,_0x1db419)=>{for(var _0x2ac72c=_0x1db419>0x1?void 0x0:_0x1db419?$c(_0x558306,_0x320659):_0x558306,_0x43378a=_0x25f18f['length']-0x1,_0x4cbe1b;_0x43378a>=0x0;_0x43378a--)(_0x4cbe1b=_0x25f18f[_0x43378a])&&(_0x2ac72c=(_0x1db419?_0x4cbe1b(_0x558306,_0x320659,_0x2ac72c):_0x4cbe1b(_0x2ac72c))||_0x2ac72c);return _0x1db419&&_0x2ac72c&&Lc(_0x558306,_0x320659,_0x2ac72c),_0x2ac72c;},rs=(_0x553ce9,_0x45a7fb)=>(_0x4053c2,_0x4e8a69)=>_0x45a7fb(_0x4053c2,_0x4e8a69,_0x553ce9);const jc=[_0x2025fc(0x392),_0x2025fc(0x190),_0x2025fc(0x30c),_0x2025fc(0x4a1),'image/bmp'],Bc=0x5*0x400*0x400,kc=_0x2025fc(0x278),Wc=_0x2025fc(0x184),Fc=_0x2025fc(0xc0),Vc=_0x2025fc(0x3fc);let ms=class{constructor(_0x4db8e3,_0x42c56c,_0xc76584){const _0x3d0458=_0x2025fc;g(this,_0x3d0458(0x328),0x0),g(this,'_change$',new _0x1c0b9c()),g(this,_0x3d0458(0x314),this[_0x3d0458(0x1b2)]),g(this,'_imageSourceCache',new Map()),(this[_0x3d0458(0x2d8)]=_0x4db8e3,this[_0x3d0458(0xb4)]=_0x42c56c,this[_0x3d0458(0x3cf)]=_0xc76584);}['setWaitCount'](_0x162832){const _0x162ba5=_0x2025fc;this[_0x162ba5(0x328)]=_0x162832,this['_change$'][_0x162ba5(0x382)](_0x162832);}[_0x2025fc(0x48c)](_0x50f4e3,_0x12fe74){const _0x1cc4e1=_0x2025fc;if(_0x12fe74===_0x3882da[_0x1cc4e1(0x31f)]){const _0x3b6128=new Image();return _0x3b6128['src']=_0x50f4e3,_0x3b6128;}return this[_0x1cc4e1(0x383)]['get'](_0x50f4e3);}[_0x2025fc(0x3b7)](_0x5da71c,_0x35d4db,_0x7a1918){const _0x4d4266=_0x2025fc;_0x35d4db===_0x3882da[_0x4d4266(0x31f)]||_0x7a1918==null||this['_imageSourceCache'][_0x4d4266(0x39c)](_0x5da71c,_0x7a1918);}async[_0x2025fc(0x119)](_0x42da52){const _0x580296=_0x2025fc;try{const _0x14f3ca=this['_replaceFileID'](this['_getSignURL'](),''+_0x42da52),_0x5ac225=(await this['_httpService'][_0x580296(0x33e)](_0x14f3ca))[_0x580296(0x41f)];if(_0x5ac225[_0x580296(0x279)]&&_0x5ac225[_0x580296(0x279)]['code']===Fi['OK']){const _0x363c7f=new URL(_0x5ac225[_0x580296(0x33c)],this[_0x580296(0x341)]())['toString']();return Promise['resolve'](_0x363c7f);}return Promise[_0x580296(0x33a)](_0x5ac225[_0x580296(0x279)]);}catch(_0x1c55ac){return Promise['reject'](_0x1c55ac);}}async[_0x2025fc(0x3eb)](_0x3f3992){const _0x2df248=_0x2025fc;let _0x316ad1='';if(!jc['includes'](_0x3f3992[_0x2df248(0x442)]))return this[_0x2df248(0x42d)](),Promise['reject'](new Error(_0x228958[_0x2df248(0xa4)]));if(_0x3f3992[_0x2df248(0x2ac)]>Bc)return this['_decreaseWaiting'](),Promise[_0x2df248(0x33a)](new Error(_0x228958[_0x2df248(0x41d)]));try{const _0x57b59d=new FormData();_0x57b59d['append']('file',_0x3f3992);const _0x18302b=this[_0x2df248(0x3cf)][_0x2df248(0x3ff)](),_0xad246f=_0x18302b==null?void 0x0:_0x18302b['getUnitId']();if(!_0xad246f)throw new Error('unitId\x20is\x20not\x20found');const _0x382e18=this[_0x2df248(0x24a)]()+_0x2df248(0x27b)+_0x3f3992[_0x2df248(0x2ac)]['toString']()+_0x2df248(0x251)+Vi[_0x2df248(0x239)]+_0x2df248(0x4b7)+encodeURIComponent(_0xad246f),_0x1f6d34=await(await fetch(_0x382e18,{'method':'POST','body':_0x57b59d}))[_0x2df248(0x1f7)]();if(typeof _0x1f6d34[_0x2df248(0x28d)]!=_0x2df248(0x151))return this[_0x2df248(0x42d)](),Promise[_0x2df248(0x33a)](new Error(_0x228958[_0x2df248(0x258)]));_0x316ad1=_0x1f6d34['FileId'];}catch{return this[_0x2df248(0x42d)](),Promise[_0x2df248(0x33a)](new Error(_0x228958[_0x2df248(0x258)]));}return new Promise((_0x50efec,_0x53ed22)=>{const _0x23989d=_0x2df248,_0x2f9706=new FileReader();_0x2f9706[_0x23989d(0x18e)](_0x3f3992),_0x2f9706[_0x23989d(0x407)]=_0x196477=>{const _0x2149a3=_0x23989d;var _0x4d7785;const _0x2e71c1=(_0x4d7785=_0x196477[_0x2149a3(0x3c4)])==null?void 0x0:_0x4d7785['result'];if(_0x2e71c1==null){this[_0x2149a3(0x42d)](),_0x53ed22(new Error(_0x228958['ERROR_IMAGE']));return;}const _0x246414=_0x529634[_0x2149a3(0x210)](0x6);_0x50efec({'imageId':_0x246414,'imageSourceType':_0x3882da[_0x2149a3(0x3ce)],'source':_0x316ad1,'base64Cache':_0x2e71c1,'status':_0x228958[_0x2149a3(0x4b5)]}),this[_0x2149a3(0x42d)]();};});}[_0x2025fc(0x24a)](){const _0x5b1db4=_0x2025fc;var _0x322418,_0x1e09df;const _0x2aec6b=this[_0x5b1db4(0xb4)][_0x5b1db4(0x217)](kc),_0x5b27b6=this[_0x5b1db4(0xb4)][_0x5b1db4(0x217)](Q);return(_0x1e09df=(_0x322418=_0x5b27b6==null?void 0x0:_0x5b27b6[_0x5b1db4(0x186)])!=null?_0x322418:_0x2aec6b)!=null?_0x1e09df:Wc;}['_getSignURL'](){const _0x457564=_0x2025fc;var _0x1b67d3,_0x12a2b6;const _0x2d4539=this[_0x457564(0xb4)]['getConfig'](Fc),_0x16c34f=this['_configService'][_0x457564(0x217)](Q);return(_0x12a2b6=(_0x1b67d3=_0x16c34f==null?void 0x0:_0x16c34f['signUrlServerUrl'])!=null?_0x1b67d3:_0x2d4539)!=null?_0x12a2b6:Vc;}['_getDownloadEndpointURL'](){const _0x957711=_0x2025fc;var _0x52a874;const _0x2437a3=this[_0x957711(0xb4)]['getConfig'](Q);return(_0x52a874=_0x2437a3==null?void 0x0:_0x2437a3['downloadEndpointUrl'])!=null?_0x52a874:location[_0x957711(0x25c)];}['_replaceFileID'](_0x51f604,_0x4886dd){const _0x5ec1a7=_0x2025fc;return _0x51f604[_0x5ec1a7(0x11f)](_0x5ec1a7(0x3c3),_0x4886dd);}['_decreaseWaiting'](){const _0x56acc9=_0x2025fc;this[_0x56acc9(0x328)]-=0x1,this[_0x56acc9(0x1b2)][_0x56acc9(0x382)](this[_0x56acc9(0x328)]);}};ms=Hc([rs(0x0,_0x5847bf(_0x310387)),rs(0x1,_0x4df844),rs(0x2,_0x5847bf(_0x425cee))],ms);var Gc=Object[_0x2025fc(0x385)],Yc=Object[_0x2025fc(0x18c)],Kc=(_0x3e00f7,_0x452080,_0x1fdd9c,_0x174c53)=>{const _0x54c1c8=_0x2025fc;for(var _0x2c9417=_0x174c53>0x1?void 0x0:_0x174c53?Yc(_0x452080,_0x1fdd9c):_0x452080,_0x58af7e=_0x3e00f7[_0x54c1c8(0x161)]-0x1,_0x58185a;_0x58af7e>=0x0;_0x58af7e--)(_0x58185a=_0x3e00f7[_0x58af7e])&&(_0x2c9417=(_0x174c53?_0x58185a(_0x452080,_0x1fdd9c,_0x2c9417):_0x58185a(_0x2c9417))||_0x2c9417);return _0x174c53&&_0x2c9417&&Gc(_0x452080,_0x1fdd9c,_0x2c9417),_0x2c9417;},Ci=(_0xdf60e1,_0x2b4df5)=>(_0x42c7df,_0x45fdef)=>_0x2b4df5(_0x42c7df,_0x45fdef,_0xdf60e1);const qc=_0x2025fc(0x423);let gs=class{constructor(_0x9d5e21,_0x9f17b0){const _0x1c9b3e=_0x2025fc;this['_configService']=_0x9d5e21,this[_0x1c9b3e(0x3f6)]=_0x9f17b0;}[_0x2025fc(0x10e)](){const _0x4e81eb=_0x2025fc;var _0x1c0b81,_0x422e0d;const _0x496549=this[_0x4e81eb(0xb4)]['getConfig'](ir),_0x3f016b=this['_configService']['getConfig'](Q);return(_0x422e0d=(_0x1c0b81=_0x3f016b==null?void 0x0:_0x3f016b[_0x4e81eb(0x223)])!=null?_0x1c0b81:_0x496549)!=null?_0x422e0d:qc;}async[_0x2025fc(0x3c0)](_0x2fb70d){const _0x1bcaf5=_0x2025fc,_0x4ff034=this[_0x1bcaf5(0x10e)]()+_0x1bcaf5(0x21b);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x1bcaf5(0x33e)](_0x4ff034,{'params':{'objectID':_0x2fb70d[_0x1bcaf5(0x273)],'unitID':_0x2fb70d['unitId']}}))[_0x1bcaf5(0x41f)][_0x1bcaf5(0x431)][_0x1bcaf5(0x23a)](_0x24aa42=>({'objectId':_0x24aa42['id'],'name':_0x24aa42[_0x1bcaf5(0x462)][_0x1bcaf5(0x1c7)],'metadata':{'icon':_0x24aa42[_0x1bcaf5(0x462)][_0x1bcaf5(0x2aa)]},'label':_0x24aa42[_0x1bcaf5(0x462)][_0x1bcaf5(0x1c7)],'objectType':_0x153717[_0x1bcaf5(0x1e6)]})),'metadata':{},'type':_0x153717[_0x1bcaf5(0x1e6)]}]};}};gs=Kc([Ci(0x0,_0x5847bf(_0x4df844)),Ci(0x1,_0x5847bf(_0x310387))],gs);var zc=Object[_0x2025fc(0x385)],Xc=Object[_0x2025fc(0x18c)],Jc=(_0x2d9c10,_0x1bdd9b,_0x206049,_0x5216f0)=>{const _0x492d02=_0x2025fc;for(var _0x56b89a=_0x5216f0>0x1?void 0x0:_0x5216f0?Xc(_0x1bdd9b,_0x206049):_0x1bdd9b,_0x588dc1=_0x2d9c10[_0x492d02(0x161)]-0x1,_0x34ac72;_0x588dc1>=0x0;_0x588dc1--)(_0x34ac72=_0x2d9c10[_0x588dc1])&&(_0x56b89a=(_0x5216f0?_0x34ac72(_0x1bdd9b,_0x206049,_0x56b89a):_0x34ac72(_0x56b89a))||_0x56b89a);return _0x5216f0&&_0x56b89a&&zc(_0x1bdd9b,_0x206049,_0x56b89a),_0x56b89a;},et=(_0x7a4161,_0x4542b3)=>(_0x731c80,_0x161166)=>_0x4542b3(_0x731c80,_0x161166,_0x7a4161);let Ht=class extends _0x5ec0cb{constructor(_0x589fb5,_0x317a29,_0x55f05c,_0x437716,_0x254c87){const _0x5c361e=_0x2025fc;super(),this[_0x5c361e(0x147)]=_0x589fb5,this['_univerInstanceService']=_0x317a29,this[_0x5c361e(0x2fa)]=_0x55f05c,this[_0x5c361e(0x29f)]=_0x437716,this[_0x5c361e(0x3a9)]=_0x254c87,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x2025fc(0x138)](){const _0x23ddab=_0x2025fc,_0x4c5ffa=async _0x593619=>{const _0x446476=_0x46d8;(await this[_0x446476(0x29f)]['requireSession'](_0x593619))[_0x446476(0x142)]['pipe'](_0xa0d892(_0x527b78=>_0x527b78[_0x446476(0x28b)]===_0x3a14f4[_0x446476(0x23f)]),_0xc7ed86(this[_0x446476(0x345)]))[_0x446476(0x140)](_0x3d749b=>{const _0x4092b7=_0x446476,_0x2edd8d=_0x3d749b,{reason:_0x3f13f5}=_0x2edd8d['data'];this['_injector'][_0x4092b7(0x33e)](_0x3d017a)[_0x4092b7(0x3c2)]({'type':_0x3f6750['Error'],'content':this[_0x4092b7(0x3a9)]['t'](_0x4092b7(0x170))+'('+_0x3f13f5+')'}),this[_0x4092b7(0x2fa)][_0x4092b7(0x2ce)](new _0x232ff6(_0x593619)['id'],!0x1),this['_collaborationSessionService'][_0x4092b7(0x416)](_0x593619);});};_0x38a986(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xb166dc[_0x23ddab(0x4a6)]),this[_0x23ddab(0x3cf)]['getTypeOfUnitAdded$'](_0xb166dc['UNIVER_DOC']))[_0x23ddab(0x150)](_0xb11c2f(_0x260643=>_0x260643['getUnitId']()),_0xa0d892(_0x31e236=>!_0x56718f(_0x31e236)),_0xc7ed86(this[_0x23ddab(0x345)]))['subscribe'](_0x2fc801=>{_0x4c5ffa(_0x2fc801);});}[_0x2025fc(0x3a2)](){const _0x3f1410=_0x2025fc,_0x4fe9b3=async _0x324a51=>{const _0x570022=_0x46d8;(await this[_0x570022(0x29f)][_0x570022(0x40d)](_0x324a51))[_0x570022(0x142)][_0x570022(0x150)](_0xa0d892(_0x3c7e0d=>_0x3c7e0d[_0x570022(0x28b)]===_0x3a14f4[_0x570022(0x47c)]),_0xc7ed86(this['dispose$']))[_0x570022(0x140)](_0x54009b=>{const _0x347c89=_0x570022,_0x1be2a7=_0x54009b,{objectId:_0x5dc056}=_0x1be2a7[_0x347c89(0x2a0)],_0x760537=this[_0x347c89(0x147)][_0x347c89(0x33e)](_0x244d66);_0x5dc056===_0x324a51?_0x760537[_0x347c89(0x484)](_0x324a51):_0x760537[_0x347c89(0x41a)](_0x324a51,_0x5dc056);});};_0x38a986(this['_univerInstanceService'][_0x3f1410(0x2c3)](_0xb166dc[_0x3f1410(0x4a6)]),this[_0x3f1410(0x3cf)][_0x3f1410(0x2c3)](_0xb166dc['UNIVER_DOC']))[_0x3f1410(0x150)](_0xb11c2f(_0x429e56=>_0x429e56[_0x3f1410(0x10b)]()),_0xa0d892(_0x46b635=>!_0x56718f(_0x46b635)),_0xc7ed86(this['dispose$']))[_0x3f1410(0x140)](_0x481385=>{_0x4fe9b3(_0x481385);});}};Ht=Jc([et(0x0,_0x5847bf(_0x5d7671)),et(0x1,_0x425cee),et(0x2,_0x1700fb),et(0x3,_0x5847bf(xe)),et(0x4,_0x5847bf(_0x4b4756))],Ht);var Zc=Object[_0x2025fc(0x385)],Qc=Object[_0x2025fc(0x18c)],eh=(_0x2a96ce,_0x2bcd06,_0x3e358c,_0x10a8b0)=>{const _0x1c08a4=_0x2025fc;for(var _0x92ed3f=_0x10a8b0>0x1?void 0x0:_0x10a8b0?Qc(_0x2bcd06,_0x3e358c):_0x2bcd06,_0x259333=_0x2a96ce[_0x1c08a4(0x161)]-0x1,_0x5648d9;_0x259333>=0x0;_0x259333--)(_0x5648d9=_0x2a96ce[_0x259333])&&(_0x92ed3f=(_0x10a8b0?_0x5648d9(_0x2bcd06,_0x3e358c,_0x92ed3f):_0x5648d9(_0x92ed3f))||_0x92ed3f);return _0x10a8b0&&_0x92ed3f&&Zc(_0x2bcd06,_0x3e358c,_0x92ed3f),_0x92ed3f;},Ei=(_0x2d6094,_0x3d7aa8)=>(_0x5c0838,_0x58995e)=>_0x3d7aa8(_0x5c0838,_0x58995e,_0x2d6094);let Ss=class{constructor(_0xea21db,_0x2d8eb){const _0x3fc5ae=_0x2025fc;this[_0x3fc5ae(0xb4)]=_0xea21db,this[_0x3fc5ae(0x2d8)]=_0x2d8eb;}async['getUnitOnRev'](_0x9241c6,_0x4976b2){const _0x162641=_0x2025fc;var _0x2044f1;const {unitID:_0xc242a6,type:_0x469f3f,revision:_0x28b396=0x0}=_0x4976b2,_0x554294=this[_0x162641(0xdc)]()+'/'+_0x469f3f+'/unit/'+_0xc242a6+_0x162641(0x166)+_0x28b396,_0x200f68=(await this[_0x162641(0x2d8)][_0x162641(0x33e)](_0x554294))['body'],_0x24ea4f=(_0x2044f1=_0x200f68['snapshot'])==null?void 0x0:_0x2044f1['workbook'];if(_0x24ea4f){const _0x36faf9=_0x24ea4f==null?void 0x0:_0x24ea4f[_0x162641(0x148)],_0x3b083e=_0x55ea7a['encode'](_0x1facae(_0x36faf9));_0x24ea4f[_0x162641(0x148)]=_0x3b083e,Object[_0x162641(0xf5)](_0x24ea4f[_0x162641(0x24e)])['forEach'](([,_0x59bc85])=>{const _0x4d3764=_0x162641,_0x3fa0ae=_0x59bc85[_0x4d3764(0x148)],_0x2b7fed=_0x55ea7a[_0x4d3764(0x420)](_0x1facae(_0x3fa0ae));_0x59bc85['originalMeta']=_0x2b7fed;});}return _0x200f68;}async['getSheetBlock'](_0x335500,_0x123d5d){const _0x2951ef=_0x2025fc,{unitID:_0x7b181a,type:_0x818f28,blockID:_0x540ea5}=_0x123d5d,_0x1bf96e=this[_0x2951ef(0x1a9)]()+'/'+_0x818f28+_0x2951ef(0x332)+_0x7b181a+_0x2951ef(0x1ce)+_0x540ea5;return(await this[_0x2951ef(0x2d8)][_0x2951ef(0x33e)](_0x1bf96e))[_0x2951ef(0x41f)];}async[_0x2025fc(0x133)](_0x1d999c,_0x51347f){const _0x445e8f=_0x2025fc,{unitID:_0x2c8fea,type:_0x917239,blockID:_0x5d20db}=_0x51347f,_0x4e9f0e=this['_getAPIPrefix']()+_0x445e8f(0x1ce)+_0x917239+_0x445e8f(0x332)+_0x2c8fea+_0x445e8f(0x1ce)+_0x5d20db;return(await this[_0x445e8f(0x2d8)][_0x445e8f(0x33e)](_0x4e9f0e))[_0x445e8f(0x41f)];}async[_0x2025fc(0x436)](_0x27b0b8,_0x328f5a){const _0x10fd18=_0x2025fc,{unitID:_0x55ff61,type:_0x2d087a,from:_0x76cff6,to:_0x447897}=_0x328f5a,_0x40c1c8=this[_0x10fd18(0x1a9)]()+'/'+_0x2d087a+'/unit/'+_0x55ff61+'/fetchmissing?from='+_0x76cff6+_0x10fd18(0x17a)+_0x447897;return(await this[_0x10fd18(0x2d8)]['get'](_0x40c1c8))[_0x10fd18(0x41f)];}[_0x2025fc(0xdc)](){var _0x40ab19;return(_0x40ab19=this['_configService']['getConfig'](Tn))!=null?_0x40ab19:this['_getAPIPrefix']();}[_0x2025fc(0x1a9)](){const _0x1a03a6=_0x2025fc;var _0x3476e1,_0x444738;const _0x17be26=this['_configService'][_0x1a03a6(0x217)](En),_0x2b3e64=this['_configService'][_0x1a03a6(0x217)](Q);return(_0x444738=(_0x3476e1=_0x2b3e64==null?void 0x0:_0x2b3e64[_0x1a03a6(0x39a)])!=null?_0x3476e1:_0x17be26)!=null?_0x444738:bn;}async[_0x2025fc(0x310)](_0x2f577a,_0x4e2515){const _0x48c5a0=_0x2025fc,_0x1c55e5=_0x48c5a0(0x172)+_0x4e2515[_0x48c5a0(0x442)]+_0x48c5a0(0x332)+_0x4e2515['unitID']+_0x48c5a0(0x290);return(await this[_0x48c5a0(0x2d8)][_0x48c5a0(0x33e)](_0x1c55e5,{'params':{'resourceId':JSON[_0x48c5a0(0x11e)](_0x4e2515[_0x48c5a0(0x160)])}}))[_0x48c5a0(0x41f)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2025fc(0x171)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2025fc(0x447)](){const _0x407b21=_0x2025fc;throw new Error(_0x407b21(0x409));}[_0x2025fc(0x2ab)](){const _0x5c0e34=_0x2025fc;throw new Error(_0x5c0e34(0x409));}['getLatestCsReqIdBySid'](){const _0x548f33=_0x2025fc;throw new Error(_0x548f33(0x409));}};Ss=eh([Ei(0x0,_0x4df844),Ei(0x1,_0x5847bf(_0x310387))],Ss);var th=Object[_0x2025fc(0x385)],sh=Object[_0x2025fc(0x18c)],ih=(_0x3302ad,_0x2f8238,_0x4d2840,_0x29953a)=>{const _0x116349=_0x2025fc;for(var _0x554564=_0x29953a>0x1?void 0x0:_0x29953a?sh(_0x2f8238,_0x4d2840):_0x2f8238,_0x25ff72=_0x3302ad[_0x116349(0x161)]-0x1,_0x1d0f33;_0x25ff72>=0x0;_0x25ff72--)(_0x1d0f33=_0x3302ad[_0x25ff72])&&(_0x554564=(_0x29953a?_0x1d0f33(_0x2f8238,_0x4d2840,_0x554564):_0x1d0f33(_0x554564))||_0x554564);return _0x29953a&&_0x554564&&th(_0x2f8238,_0x4d2840,_0x554564),_0x554564;},tt=(_0x416d3b,_0x2e14ee)=>(_0x1a78d5,_0x4417b2)=>_0x2e14ee(_0x1a78d5,_0x4417b2,_0x416d3b);let Is=class extends _0x18ef81{constructor(_0x3f8ec8,_0x430a8a,_0x19a250,_0x3d114d,_0x21c817){const _0xc286da=_0x2025fc;super(_0x3f8ec8,_0x430a8a,_0x19a250),this[_0xc286da(0x128)]=_0x3d114d,this['_logService']=_0x21c817;}[_0x2025fc(0x338)](_0xc4e31e,_0x19d186){const _0x42a516=_0x2025fc,_0x487fae=this['_getUndoStack'](_0xc4e31e);if(_0x487fae)try{const _0x3bae0e=this[_0x42a516(0x4a9)](_0x487fae,_0x19d186);this[_0x42a516(0x1fe)](_0xc4e31e,_0x3bae0e);}catch(_0x2dff00){this[_0x42a516(0xc1)]['error'](_0x42a516(0x432),_0x2dff00),this[_0x42a516(0x1e3)](_0xc4e31e);}const _0x1e754a=this[_0x42a516(0x421)](_0xc4e31e);if(_0x1e754a)try{const _0x4b1259=this['_transformStack'](_0x1e754a,_0x19d186);this[_0x42a516(0x36f)](_0xc4e31e,_0x4b1259);}catch(_0x2ffff6){this[_0x42a516(0xc1)][_0x42a516(0x279)](_0x2ffff6),this['_clearRedo'](_0xc4e31e);}}['_clearUndo'](_0x55ff73){const _0x4af3bd=_0x2025fc,_0x2a34e9=this[_0x4af3bd(0x1cb)](_0x55ff73);_0x2a34e9&&(_0x2a34e9[_0x4af3bd(0x161)]=0x0,this[_0x4af3bd(0x154)]());}[_0x2025fc(0x241)](_0x43352f){const _0x103c12=_0x2025fc,_0x4a83ef=this[_0x103c12(0x421)](_0x43352f);_0x4a83ef&&(_0x4a83ef[_0x103c12(0x161)]=0x0,this[_0x103c12(0x154)]());}[_0x2025fc(0x1fe)](_0x365611,_0x33eb3a){const _0x2f682d=_0x2025fc;this[_0x2f682d(0x2d3)]['set'](_0x365611,_0x33eb3a),this[_0x2f682d(0x154)]();}[_0x2025fc(0x36f)](_0x13ddcb,_0x43d488){const _0x40afb1=_0x2025fc;this[_0x40afb1(0x1e2)][_0x40afb1(0x39c)](_0x13ddcb,_0x43d488),this[_0x40afb1(0x154)]();}[_0x2025fc(0x4a9)](_0x217d7d,_0x2da942){const _0x526bba=_0x2025fc,_0x15cc3c=[];let _0x17c98d=_0x2da942,_0x15053a=_0x2da942;for(let _0x483588=_0x217d7d[_0x526bba(0x161)]-0x1;_0x483588>=0x0;_0x483588--){const {unitID:_0xc5b764,undoMutations:_0x3419ef,redoMutations:_0x38cf3c}=_0x217d7d[_0x483588],_0x51ae06=this[_0x526bba(0x128)][_0x526bba(0x39e)](_0x17c98d,_0x3419ef),_0x534966=this[_0x526bba(0x128)][_0x526bba(0x39e)](_0x15053a,_0x38cf3c);if(_0xc9659d(_0x51ae06)||_0xc9659d(_0x534966)){this[_0x526bba(0xc1)]['error'](_0x526bba(0x432),_0x526bba(0xb1),_0x51ae06,_0x534966);break;}_0x17c98d=_0x51ae06[_0x526bba(0x26a)],_0x15053a=_0x534966[_0x526bba(0x26a)],_0x15cc3c[_0x526bba(0x22f)]({'unitID':_0xc5b764,'undoMutations':_0x51ae06[_0x526bba(0x270)],'redoMutations':_0x534966['m2Prime']});}return _0x15cc3c[_0x526bba(0x376)]();}};Is=ih([tt(0x0,_0x425cee),tt(0x1,_0x28287a),tt(0x2,_0x4ea7fc),tt(0x3,_0x2fbfa5),tt(0x4,_0x49d195)],Is);class rh extends _0x5ec0cb{constructor(){const _0x1cfbad=_0x2025fc;super(),g(this,'urlChange$'),this[_0x1cfbad(0xb2)]=_0x6a336f(window,_0x1cfbad(0x358))[_0x1cfbad(0x150)](_0x7b6507(this[_0x1cfbad(0x345)]),_0x2c1940(0x1),_0x2d3712(void 0x0));}[_0x2025fc(0x43d)](_0x1c830c,_0x2ccbc7,_0x4d4145=!0x1){const _0x78f59b=_0x2025fc,_0x310996=new URL(window[_0x78f59b(0x16a)][_0x78f59b(0x3f1)]);_0x310996['searchParams'][_0x78f59b(0x39c)](_0x1c830c,_0x2ccbc7),_0x4d4145?window[_0x78f59b(0xc5)][_0x78f59b(0x2a9)]('','',_0x310996['toString']()):window['history'][_0x78f59b(0x2cb)]('','',_0x310996[_0x78f59b(0x135)]());}[_0x2025fc(0x1bb)](_0x7b5a71,_0x5a2d17=!0x1){const _0x1ee0d9=_0x2025fc,_0x23ea98=new URL(window['location'][_0x1ee0d9(0x3f1)]);_0x23ea98[_0x1ee0d9(0x3ec)]['delete'](_0x7b5a71),_0x5a2d17?window['history']['replaceState']('','',_0x23ea98[_0x1ee0d9(0x135)]()):window[_0x1ee0d9(0xc5)][_0x1ee0d9(0x2cb)]('','',_0x23ea98['toString']());}[_0x2025fc(0x30a)](_0x54581b){const _0x228379=_0x2025fc;var _0x5d9ff2;return(_0x5d9ff2=new URL(window['location'][_0x228379(0x3f1)])[_0x228379(0x3ec)][_0x228379(0x33e)](_0x54581b))!=null?_0x5d9ff2:void 0x0;}}var ar=Object[_0x2025fc(0x385)],nh=Object[_0x2025fc(0x18c)],oh=(_0x157d20,_0x2cf3f1,_0x40a4cf)=>_0x2cf3f1 in _0x157d20?ar(_0x157d20,_0x2cf3f1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40a4cf}):_0x157d20[_0x2cf3f1]=_0x40a4cf,ah=(_0x18cad5,_0x22e29a,_0x396882,_0x2419be)=>{const _0x51dee1=_0x2025fc;for(var _0x3bb0b1=_0x2419be>0x1?void 0x0:_0x2419be?nh(_0x22e29a,_0x396882):_0x22e29a,_0x52f170=_0x18cad5[_0x51dee1(0x161)]-0x1,_0x2f685f;_0x52f170>=0x0;_0x52f170--)(_0x2f685f=_0x18cad5[_0x52f170])&&(_0x3bb0b1=(_0x2419be?_0x2f685f(_0x22e29a,_0x396882,_0x3bb0b1):_0x2f685f(_0x3bb0b1))||_0x3bb0b1);return _0x2419be&&_0x3bb0b1&&ar(_0x22e29a,_0x396882,_0x3bb0b1),_0x3bb0b1;},_t=(_0x327e3e,_0x4be7b9)=>(_0x71b61e,_0x398234)=>_0x4be7b9(_0x71b61e,_0x398234,_0x327e3e),ch=(_0x555af6,_0x58610e,_0x240164)=>oh(_0x555af6,_0x58610e+'',_0x240164);const hh=_0x2025fc(0xca);let Cs=class extends _0x5001bc{constructor(_0x1151df=Bn,_0x430354,_0x16ced7,_0x5eb873,_0x176c02){const _0xac53ad=_0x2025fc;super(),this[_0xac53ad(0x16b)]=_0x1151df,this[_0xac53ad(0xc1)]=_0x430354,this[_0xac53ad(0x319)]=_0x16ced7,this[_0xac53ad(0x147)]=_0x5eb873,this['_configService']=_0x176c02;const {..._0x5dd239}=this[_0xac53ad(0x16b)];this[_0xac53ad(0xb4)][_0xac53ad(0x134)](Q,_0x5dd239);}[_0x2025fc(0xfe)](){const _0x3d4cac=_0x2025fc;this['_registerDependencies'](),this[_0x3d4cac(0x2af)]();}['onReady'](){const _0x4d58f2=_0x2025fc;_0x5404e4(this[_0x4d58f2(0x147)],[[xt],[Ut]]);}[_0x2025fc(0x42f)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x2020fb=_0x2025fc;var _0x1f74f8,_0x1ddede,_0x32b498,_0x373a39;this['_injector'][_0x2020fb(0x24c)](_0x4bbe15)&&this[_0x2020fb(0xc1)][_0x2020fb(0x279)](_0x2020fb(0x19c),_0x2020fb(0x2f4));const _0x4d8e02=[[_0x4bbe15,{'useClass':Is}],[xe],[Ns],[sr,{'useClass':rh}],[Me],[z],[_0x1293ea],[wt],[Pt],[yt],[Dt],[Ds],[Lt],[$t],[Yi],[Ht],[Gi,{'useClass':(_0x1ddede=(_0x1f74f8=this[_0x2020fb(0x16b)])==null?void 0x0:_0x1f74f8[_0x2020fb(0x202)])!=null?_0x1ddede:cs}],[_0xbd688,{'useClass':Ss}],[_0x5cfc2f,{'useClass':ps}],[_0x1fd980,{'useClass':ms}],[_0x2d3ae3,{'useClass':gs}],[rt],[Mt],[At],[xt],[Ve],[Ut]];(_0x32b498=this['_config'])!=null&&_0x32b498[_0x2020fb(0x36b)]&&_0x4d8e02['push']([jt,{'useClass':Co}]),_0x43027c(this['_injector'],_0x3474e1(_0x4d8e02,(_0x373a39=this[_0x2020fb(0x16b)])==null?void 0x0:_0x373a39[_0x2020fb(0x44a)]));}[_0x2025fc(0x13d)](){const _0x18fe91=_0x2025fc;this[_0x18fe91(0x10c)](this['_renderManagerService'][_0x18fe91(0x49f)](_0xb166dc['UNIVER_DOC'],[fs])),this['disposeWithMe'](this[_0x18fe91(0x319)][_0x18fe91(0x49f)](_0xb166dc[_0x18fe91(0x4a6)],[vs]));}[_0x2025fc(0x2af)](){const _0x4168b8=_0x2025fc;var _0x3491b6,_0x12ed9e;this[_0x4168b8(0x147)][_0x4168b8(0x33e)](_0x310387)[_0x4168b8(0x299)]({'priority':0x14,'interceptor':_0x156843({'maxParallel':0x6})}),(_0x3491b6=this[_0x4168b8(0x16b)])!=null&&_0x3491b6[_0x4168b8(0x446)]||this[_0x4168b8(0x147)]['get'](z)[_0x4168b8(0x2be)](),(_0x12ed9e=this[_0x4168b8(0x16b)])!=null&&_0x12ed9e[_0x4168b8(0x41b)]&&_0x5404e4(this[_0x4168b8(0x147)],[[Lt]]),_0x5404e4(this[_0x4168b8(0x147)],[[$t],[Ve],[Mt],[rt],[At],[Ht]]);}};ch(Cs,'pluginName',hh),Cs=ah([_0x2048c2(_0x1105e5,_0x6b1b5c),_t(0x1,_0x49d195),_t(0x2,_0x27432a),_t(0x3,_0x5847bf(_0x5d7671)),_t(0x4,_0x4df844)],Cs);export{ir as AUTHZ_URL_KEY,ps as AuthzIoHttpService,Q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Ln as COLLAB_SUBMIT_CHANGESET_URL_KEY,On as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,Nt as CollaborationEntity,hs as CollaborationSession,xe as CollaborationSessionService,cs as CollaborationSocketService,J as CollaborationStatus,xa as CollaborationStatusDisplay,ms as CollabrationImageIoService,Yi as CommentService,Mt as DataLoaderController,At as DesktopCollaborationStatusDisplayController,ls as DocCollaborationEntity,Dn as HEARTBEAT_INTERVAL_KEY,ki as HEARTBEAT_TIMEOUT_KEY,Gi as ICollaborationSocketService,sr as IURLService,Mn as LOCAL_CACHE_INTERVAL_KEY,Hn as LOGIN_URL_KEY,z as LocalCacheService,Me as MemberService,gs as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,wh as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,fe as SessionStatus,fa as SheetCollabCursorShape,_s as SheetCollaborationEntity,Ss as SnapshotServerOverHTTPService,Cs as UniverCollaborationClientPlugin,rh as WebURLService,kn as deserializeToCombResponse,Wn as serializeCombRequest};