@univerjs-pro/collaboration-client 0.5.0-nightly.202411271606 → 0.5.0-nightly.202411281606

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 _0x59f468=_0x2eda;(function(_0x19329e,_0x1dfb52){const _0xc55efd=_0x2eda,_0x3745cc=_0x19329e();while(!![]){try{const _0x11e10=-parseInt(_0xc55efd(0x1a1))/0x1+parseInt(_0xc55efd(0x473))/0x2+parseInt(_0xc55efd(0x198))/0x3+-parseInt(_0xc55efd(0x31d))/0x4+-parseInt(_0xc55efd(0x2a3))/0x5*(-parseInt(_0xc55efd(0x586))/0x6)+parseInt(_0xc55efd(0x34c))/0x7*(parseInt(_0xc55efd(0x486))/0x8)+-parseInt(_0xc55efd(0x3e5))/0x9*(parseInt(_0xc55efd(0x3a0))/0xa);if(_0x11e10===_0x1dfb52)break;else _0x3745cc['push'](_0x3745cc['shift']());}catch(_0x42f540){_0x3745cc['push'](_0x3745cc['shift']());}}}(_0x23ae,0x87628));var ar=Object[_0x59f468(0x29a)],cr=(_0x362191,_0x17b7ba,_0x3530bf)=>_0x17b7ba in _0x362191?ar(_0x362191,_0x17b7ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3530bf}):_0x362191[_0x17b7ba]=_0x3530bf,g=(_0x321bb5,_0x26ac0b,_0x1b1a23)=>cr(_0x321bb5,typeof _0x26ac0b!=_0x59f468(0x5ab)?_0x26ac0b+'':_0x26ac0b,_0x1b1a23);import{createIdentifier as _0x4fa8ac,Inject as _0x222038,Disposable as _0x19fe63,DisposableCollection as _0x2fc363,toDisposable as _0x510055,IConfigService as _0x486aed,ILogService as _0x37805d,UserManagerService as _0x581f13,UniverInstanceType as _0x52550e,IUniverInstanceService as _0xd7de45,LocaleService as _0x52880d,Optional as _0x3a5345,RxDisposable as _0x2c59cd,Injector as _0x2e1c56,Tools as _0x218f61,ILocalStorageService as _0x18521c,Rectangle as _0x23bbd9,ICommandService as _0x1e017f,DOC_RANGE_TYPE as _0x638c4d,JSONX as _0x728319,CommandType as _0x2a05e3,IPermissionService as _0x593390,IUndoRedoService as _0x2d2527,sequenceExecute as _0x504024,debounce as _0x14f2b0,COLORS as _0x41eb8e,ColorKit as _0x5d65d0,ThemeService as _0x5e056c,fromEventSubject as _0x5742c0,useDependency as _0x45c214,connectInjector as _0x4ec1ab,Workbook as _0x2b04ff,MentionType as _0xf50cab,isInternalEditorID as _0x1db883,LocalUndoRedoService as _0x2432d3,IContextService as _0xe6d98,DependentOn as _0x9ba82c,Plugin as _0x113ffe,touchDependencies as _0x4c0f56,IAuthzIoService as _0x18f660,IMentionIOService as _0x454d7e,registerDependencies as _0x33f43b,mergeOverrideWithDependencies as _0x996ab4}from'@univerjs/core';import{Subject as _0xd6475b,merge as _0x5becde,takeUntil as _0x2eaf5f,BehaviorSubject as _0x1f1fc6,distinctUntilChanged as _0x42e448,fromEvent as _0x92f771,ReplaySubject as _0x3b5418,take as _0x3fe09f,map as _0x36b286,shareReplay as _0x2ff007,of as _0x38a752,debounceTime as _0x477823,filter as _0x54e74d,switchMap as _0x2bc5b0,combineLatest as _0x6f207e,concatMap as _0x3b543c,mapTo as _0x467ca9}from'rxjs';import{map as _0x3968e0,take as _0x44e846,filter as _0x3c73ca,delay as _0x1d896a,throttleTime as _0x2e516c,takeUntil as _0x1eb937,switchMap as _0x29e5a7}from'rxjs/operators';import{MessageType as _0x47f0e7,Tooltip as _0x27c3d7}from'@univerjs/design';import{HTTPService as _0x216536,WebSocketService as _0x5cdeee,MergeInterceptorFactory as _0x388d52,HTTPRequest as _0x55add6,UniverNetworkPlugin as _0x3b21ea,ThresholdInterceptorFactory as _0x5df05e}from'@univerjs/network';import{IBeforeCloseService as _0x28b31b,IMessageService as _0x3bbf26,INotificationService as _0x5126dc,useObservable as _0x1bba2d,BuiltInUIPart as _0x17cc0c,IUIPartsService as _0x52c347}from'@univerjs/ui';import{CollaborationEvent as _0x8a32d4,parseChangesetToProtocol as _0x51288e,ISnapshotServerService as _0x24bd52,isTransformMutationFailure as _0x18387e,isTransformMutationsWithChangesetSuccess as _0x4d7745,ITransformService as _0x4cb437,RevisionService as _0x21f454,mapDocumentTypeToUniverType as _0x152c8d,isTransformChangesetsSuccess as _0x5cd3ce,CompressMutationService as _0x117e38,parseProtocolChangeset as _0x33ed1d,SnapshotService as _0x1381aa,textEncoder as _0x4e5a09,b64DecodeUnicode as _0x1a2e07,isTransformMutationsWithChangesetFailure as _0x571511,UniverCollaborationPlugin as _0x551335}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x30dd3c}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x4768db,RichTextEditingMutation as _0x2bf5bd,SetTextSelectionsOperation as _0x403062,DocSkeletonManagerService as _0x379b20}from'@univerjs/docs';import{DocIMEInputManagerService as _0x3c4a23,DocStateChangeManagerService as _0x2a72d5,IDocClipboardService as _0x33630a,NodePositionConvertToCursor as _0x4cd065,NodePositionConvertToRectRange as _0x28e160,TEXT_RANGE_LAYER_INDEX as _0x43455b,SetDocZoomRatioOperation as _0xe0c4b}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x49c3d1,SetSelectionsOperation as _0x20d3bf,InsertSheetMutation as _0x37dbf5,EmptyMutation as _0x86642a,WorkbookEditablePermission as _0x4ef6a0,RefRangeService as _0x4214dd,EffectRefRangId as _0x41e7aa,handleIRemoveRow as _0x27bb0b,handleIRemoveCol as _0x8f8b06,handleMoveRange as _0x10af59,handleInsertRow as _0xdf91b0,handleInsertRangeMoveRight as _0x4172fd,handleInsertRangeMoveDown as _0x4c153f,handleInsertCol as _0x51dcac,handleDeleteRangeMoveUp as _0x19d6d3,handleDeleteRangeMoveLeft as _0x32e871,runRefRangeMutations as _0x56b84c,SetWorksheetActivateCommand as _0x4cb6da}from'@univerjs/sheets';import{IRenderManagerService as _0x4e56e4,Shape as _0x37149c,Rect as _0x3648be,getColor as _0x3f199f,RegularPolygon as _0xea7f00,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x401d9d,Vector2 as _0x4a7985}from'@univerjs/engine-render';import{IImageIoService as _0x3c5ccf,ImageSourceType as _0x35508e,ImageUploadStatusType as _0x38d426}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x47b496,serializeRangeWithSheet as _0x44ca9e}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x4b35a2,VIEWPORT_KEY as _0xa2565b,getCoordByCell as _0x21c55c,getSheetObject as _0x3b93a6,SheetPermissionInitController as _0x548674}from'@univerjs/sheets-ui';import _0x2470a1,{forwardRef as _0x3575fb,useRef as _0x516cf1,createElement as _0x3d1e83,useCallback as _0x585c84}from'react';import{IRemoteInstanceService as _0x45ceae}from'@univerjs/rpc';const Cn=_0x59f468(0x1bb),En=_0x59f468(0x482),bn=_0x59f468(0x4e8),yh=_0x59f468(0x53e),Tn=0x7d0,Rn=_0x59f468(0x3ef),On=_0x59f468(0x284),yn=_0x59f468(0x343),wn=_0x59f468(0x409),Dn=0x7530,Bi='HEARTBEAT_TIMEOUT',ki=0x4e20,Pn=0x4e20,Un='RETRY_CONNECTING_MAX_COUNT',Nn=0x3,An=_0x59f468(0x466),Mn=0x3e8,xn=_0x59f468(0x4a2),Ln=_0x59f468(0x1f8),$n='LOGIN_URL_KEY',Hn='/universer-api/oidc/authpage';var Wi=(_0x101635=>(_0x101635[_0x101635[_0x59f468(0x546)]=0x0]=_0x59f468(0x546),_0x101635[_0x101635['OK']=0x1]='OK',_0x101635[_0x101635[_0x59f468(0x373)]=0x2]='INTERNAL_ERROR',_0x101635[_0x101635[_0x59f468(0x551)]=0x3]=_0x59f468(0x551),_0x101635[_0x101635[_0x59f468(0x53f)]=0x4]=_0x59f468(0x53f),_0x101635[_0x101635[_0x59f468(0x4f0)]=0x5]=_0x59f468(0x4f0),_0x101635[_0x101635[_0x59f468(0x261)]=0x6]='ALREADY_EXISTS',_0x101635[_0x101635['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x101635[_0x101635[_0x59f468(0x266)]=0x8]=_0x59f468(0x266),_0x101635[_0x101635['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x101635[_0x101635[_0x59f468(0x2e6)]=0x1389]=_0x59f468(0x2e6),_0x101635[_0x101635[_0x59f468(0x589)]=0x1771]=_0x59f468(0x589),_0x101635[_0x101635[_0x59f468(0x288)]=0x1772]=_0x59f468(0x288),_0x101635[_0x101635[_0x59f468(0x41c)]=0x1773]=_0x59f468(0x41c),_0x101635[_0x101635[_0x59f468(0x474)]=0x1b59]=_0x59f468(0x474),_0x101635[_0x101635[_0x59f468(0x3c2)]=0x1b5a]=_0x59f468(0x3c2),_0x101635[_0x101635[_0x59f468(0x313)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x101635[_0x101635['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x59f468(0x339),_0x101635[_0x101635[_0x59f468(0x379)]=0x1b5d]=_0x59f468(0x379),_0x101635[_0x101635[_0x59f468(0x37f)]=0x1f41]=_0x59f468(0x37f),_0x101635[_0x101635[_0x59f468(0x380)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x101635[_0x101635[_0x59f468(0x46f)]=0x232a]=_0x59f468(0x46f),_0x101635[_0x101635['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x59f468(0x50e),_0x101635[_0x101635['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x101635[_0x101635[_0x59f468(0x4e7)]=0x232d]=_0x59f468(0x4e7),_0x101635[_0x101635['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x59f468(0x241),_0x101635[_0x101635['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x59f468(0x2bb),_0x101635[_0x101635[_0x59f468(0x5a2)]=0x2713]=_0x59f468(0x5a2),_0x101635[_0x101635[_0x59f468(0x3cc)]=0x2714]=_0x59f468(0x3cc),_0x101635[_0x101635[_0x59f468(0x411)]=-0x1]=_0x59f468(0x411),_0x101635))(Wi||{}),ae=(_0x382723=>(_0x382723[_0x382723[_0x59f468(0x2cc)]=0x0]=_0x59f468(0x2cc),_0x382723[_0x382723[_0x59f468(0x4f9)]=0x1]=_0x59f468(0x4f9),_0x382723[_0x382723[_0x59f468(0x2b0)]=0x2]=_0x59f468(0x2b0),_0x382723[_0x382723[_0x59f468(0x4b5)]=0x3]=_0x59f468(0x4b5),_0x382723[_0x382723[_0x59f468(0x1bd)]=0x4]=_0x59f468(0x1bd),_0x382723[_0x382723['UNRECOGNIZED']=-0x1]=_0x59f468(0x411),_0x382723))(ae||{}),W=(_0x7108de=>(_0x7108de[_0x7108de[_0x59f468(0x1ea)]=0x0]=_0x59f468(0x1ea),_0x7108de[_0x7108de[_0x59f468(0x2eb)]=0x1]=_0x59f468(0x2eb),_0x7108de[_0x7108de[_0x59f468(0x576)]=0x2]=_0x59f468(0x576),_0x7108de[_0x7108de[_0x59f468(0x2f7)]=0x3]=_0x59f468(0x2f7),_0x7108de[_0x7108de[_0x59f468(0x5a6)]=0x4]=_0x59f468(0x5a6),_0x7108de[_0x7108de['HEARTBEAT']=0x5]=_0x59f468(0x28b),_0x7108de[_0x7108de['RECV']=0x6]='RECV',_0x7108de[_0x7108de[_0x59f468(0x411)]=-0x1]=_0x59f468(0x411),_0x7108de))(W||{}),ws=(_0x38d4b7=>(_0x38d4b7[_0x38d4b7['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x38d4b7[_0x38d4b7['OK']=0x1]='OK',_0x38d4b7[_0x38d4b7[_0x59f468(0x565)]=0x2]=_0x59f468(0x565),_0x38d4b7[_0x38d4b7[_0x59f468(0x447)]=0x3e9]=_0x59f468(0x447),_0x38d4b7[_0x38d4b7['JOIN_ROOM_NOT_ALLOWED']=0x3ea]=_0x59f468(0x34b),_0x38d4b7[_0x38d4b7[_0x59f468(0x411)]=-0x1]=_0x59f468(0x411),_0x38d4b7))(ws||{}),Fi=(_0x1a24bc=>(_0x1a24bc[_0x1a24bc[_0x59f468(0x218)]=0x0]=_0x59f468(0x218),_0x1a24bc[_0x1a24bc[_0x59f468(0x297)]=0x1]=_0x59f468(0x297),_0x1a24bc[_0x1a24bc[_0x59f468(0x4be)]=0x2]=_0x59f468(0x4be),_0x1a24bc[_0x1a24bc[_0x59f468(0x508)]=0x3]=_0x59f468(0x508),_0x1a24bc[_0x1a24bc['UnitSnapshot']=0x4]=_0x59f468(0x47e),_0x1a24bc[_0x1a24bc[_0x59f468(0x411)]=-0x1]=_0x59f468(0x411),_0x1a24bc))(Fi||{});const Q=_0x59f468(0x4e1),jn={};function Bn(_0xc8e31e){const _0x1b5b2a=_0x59f468;var _0x54a1a4,_0x432e15,_0x2b94ee,_0x5beb18,_0x50faaa;const _0x47e2b3=_0xc8e31e['data'],_0x2d761b=JSON[_0x1b5b2a(0x2e1)](_0x47e2b3);switch(_0x2d761b[_0x1b5b2a(0x3a3)]){case W[_0x1b5b2a(0x28b)]:case W[_0x1b5b2a(0x2eb)]:{const _0x43f1aa=_0x2d761b[_0x1b5b2a(0x57c)];return{..._0x2d761b,'data':_0x43f1aa,'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};}case W['JOIN']:{const _0x1065cc=_0x2d761b[_0x1b5b2a(0x45c)];return{..._0x2d761b,'data':_0x1065cc,'cmd':_0x2d761b['cmd']};}case W[_0x1b5b2a(0x3a2)]:{const _0xeeeb3=_0x2d761b[_0x1b5b2a(0x353)];switch(_0xeeeb3['eventID']){case _0x8a32d4[_0x1b5b2a(0x398)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x54a1a4=_0xeeeb3[_0x1b5b2a(0x40f)])==null?void 0x0:_0x54a1a4['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4['CHANGESET_ACK']:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x432e15=_0xeeeb3[_0x1b5b2a(0x226)])==null?void 0x0:_0x432e15['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x1f9)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x2b94ee=_0xeeeb3['newCsEvent'])==null?void 0x0:_0x2b94ee['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x245)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x5beb18=_0xeeeb3[_0x1b5b2a(0x535)])==null?void 0x0:_0x5beb18['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x445)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':(_0x50faaa=_0xeeeb3['csShouldRetryEvent'])==null?void 0x0:_0x50faaa['cs']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x563)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x4cd)]},'cmd':_0x2d761b['cmd']};case _0x8a32d4['USERS_ENTER']:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x4fe)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x23b)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3['leaveEvent']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x212)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x43d)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x462)]:case _0x8a32d4[_0x1b5b2a(0x330)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x38e)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4['LIVESHARE_TERMINATE']:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3['liveShareNewHost']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4['MSG_FOR_ERROR']:return{..._0x2d761b,'data':_0xeeeb3,'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x2e2)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3['commentUpdateEvent']},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4['UPDATE_PERMISSION_OBJ']:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x2cd)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};case _0x8a32d4[_0x1b5b2a(0x518)]:return{..._0x2d761b,'data':{..._0xeeeb3,'data':_0xeeeb3[_0x1b5b2a(0x27f)]},'cmd':_0x2d761b[_0x1b5b2a(0x3a3)]};default:return _0x2d761b;}}default:return _0x2d761b;}}function kn(_0x1d804f){const _0x572106=_0x59f468;switch(_0x1d804f[_0x572106(0x3a3)]){case W[_0x572106(0x28b)]:case W[_0x572106(0x2eb)]:return JSON[_0x572106(0x3fc)]({'cmd':_0x1d804f[_0x572106(0x3a3)],'routeKey':_0x1d804f[_0x572106(0x1c3)]});case W[_0x572106(0x5a6)]:{let _0x2dadfb;switch(_0x1d804f[_0x572106(0x233)][_0x572106(0x1b1)]){case _0x8a32d4[_0x572106(0x563)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x563)],'updateCursorEvent':_0x1d804f[_0x572106(0x233)]['data']};break;}case _0x8a32d4[_0x572106(0x23b)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x23b)],'leaveEvent':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4[_0x572106(0x350)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x350)],'joinEvent':_0x1d804f[_0x572106(0x233)]['data']};break;}case _0x8a32d4[_0x572106(0x212)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x212)],'liveShareNewHost':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4[_0x572106(0x330)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x330)],'liveShareOperation':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4[_0x572106(0x56e)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x56e)],'liveShareTerminate':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4['LIVESHARE_REQUEST_HOST']:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x5b3)],'liveShareRequestHost':_0x1d804f[_0x572106(0x233)][_0x572106(0x233)]};break;}case _0x8a32d4[_0x572106(0x462)]:{_0x2dadfb={'eventID':_0x8a32d4[_0x572106(0x462)]};break;}default:_0x2dadfb={'eventID':_0x1d804f[_0x572106(0x233)][_0x572106(0x1b1)]};}return JSON['stringify']({'cmd':_0x1d804f[_0x572106(0x3a3)],'routeKey':_0x1d804f[_0x572106(0x1c3)],'collaMsg':_0x2dadfb});}case W['JOIN']:return JSON['stringify']({'cmd':_0x1d804f[_0x572106(0x3a3)],'routeKey':_0x1d804f[_0x572106(0x1c3)],'joinReq':_0x1d804f[_0x572106(0x233)]});case W[_0x572106(0x2f7)]:return JSON[_0x572106(0x3fc)]({'cmd':_0x1d804f[_0x572106(0x3a3)],'routeKey':_0x1d804f[_0x572106(0x1c3)],'leaveReq':_0x1d804f[_0x572106(0x233)]});default:throw new Error(_0x572106(0x34a));}}var Wn=Object[_0x59f468(0x29a)],Fn=Object['getOwnPropertyDescriptor'],Vn=(_0x57243a,_0x16d055,_0x65047d,_0x46463e)=>{for(var _0x591fee=_0x46463e>0x1?void 0x0:_0x46463e?Fn(_0x16d055,_0x65047d):_0x16d055,_0x535951=_0x57243a['length']-0x1,_0x1581a4;_0x535951>=0x0;_0x535951--)(_0x1581a4=_0x57243a[_0x535951])&&(_0x591fee=(_0x46463e?_0x1581a4(_0x16d055,_0x65047d,_0x591fee):_0x1581a4(_0x591fee))||_0x591fee);return _0x46463e&&_0x591fee&&Wn(_0x16d055,_0x65047d,_0x591fee),_0x591fee;},qe=(_0x43417f,_0xd3a5ae)=>(_0x1b67f4,_0x5a63f7)=>_0xd3a5ae(_0x1b67f4,_0x5a63f7,_0x43417f);const Vi=_0x4fa8ac(_0x59f468(0x3d4));function Gn(_0x210b9e,_0x19dcd7,_0x3f64de){const _0x5eddcc=_0x59f468;return _0x210b9e+'/'+_0x19dcd7+_0x5eddcc(0x20c)+_0x3f64de+'/new_changes';}let as=class extends _0x19fe63{constructor(_0x143ee7,_0x44dd0c,_0x12d254,_0x575160,_0x4422b7){const _0x6a096f=_0x59f468;super(),this[_0x6a096f(0x3a5)]=_0x143ee7,this[_0x6a096f(0x262)]=_0x44dd0c,this['_configService']=_0x12d254,this[_0x6a096f(0x3b6)]=_0x575160,this[_0x6a096f(0x29d)]=_0x4422b7;}[_0x59f468(0x1d4)](_0x30babf){const _0x2c06c4=_0x59f468,_0x3aa6a8=this[_0x2c06c4(0x262)][_0x2c06c4(0x1d4)](_0x30babf);if(!_0x3aa6a8)throw new Error(_0x2c06c4(0x22b));const _0x5b5085=new _0x2fc363(),_0x35a528=new _0xd6475b();_0x5b5085[_0x2c06c4(0x3ab)](_0x3aa6a8[_0x2c06c4(0x45e)][_0x2c06c4(0x347)](_0x1f72e4=>_0x35a528[_0x2c06c4(0x307)](_0x1f72e4))),_0x5b5085[_0x2c06c4(0x3ab)](_0x510055(()=>_0x35a528[_0x2c06c4(0x3ee)]()));const _0x28d55f=new _0xd6475b();_0x5b5085[_0x2c06c4(0x3ab)](_0x3aa6a8[_0x2c06c4(0x1b6)][_0x2c06c4(0x347)](_0xe82f0e=>_0x28d55f[_0x2c06c4(0x307)](_0xe82f0e))),_0x5b5085[_0x2c06c4(0x3ab)](_0x510055(()=>_0x28d55f[_0x2c06c4(0x3ee)]()));const _0x539d9d=new _0xd6475b();_0x5b5085[_0x2c06c4(0x3ab)](_0x3aa6a8[_0x2c06c4(0x464)][_0x2c06c4(0x347)](_0x31386c=>{const _0x19b42f=_0x2c06c4,_0x2e3a86=Bn(_0x31386c);_0x539d9d[_0x19b42f(0x307)](_0x2e3a86);})),_0x5b5085[_0x2c06c4(0x3ab)](_0x510055(()=>_0x539d9d['complete']()));let _0x3db18c;const _0x90b614=()=>{const _0x55b3f7=_0x2c06c4;_0x28d55f[_0x55b3f7(0x307)](new Event(_0x55b3f7(0x23e))),_0x35a528['next'](new CloseEvent(_0x55b3f7(0x23e))),_0x3db18c[_0x55b3f7(0x459)]();};return _0x3db18c={'memberID':'','close$':_0x35a528[_0x2c06c4(0x472)](),'error$':_0x28d55f['asObservable'](),'open$':_0x3aa6a8[_0x2c06c4(0x4a0)],'message$':_0x539d9d[_0x2c06c4(0x472)](),'send':_0x50b558=>{const _0x3568d1=_0x2c06c4;if(_0x50b558[_0x3568d1(0x3a3)]===W[_0x3568d1(0x5a6)]){if(_0x50b558[_0x3568d1(0x233)][_0x3568d1(0x1b1)]===_0x8a32d4[_0x3568d1(0x5a8)]){this[_0x3568d1(0x559)](_0x3db18c,_0x50b558['data'])['catch'](_0xe326db=>{const _0x2c8f23=_0x3568d1;this[_0x2c8f23(0x3b6)][_0x2c8f23(0x1ec)](_0xe326db),_0x90b614();});return;}if(_0x50b558[_0x3568d1(0x233)][_0x3568d1(0x1b1)]===_0x8a32d4[_0x3568d1(0x443)]){const _0x381612=_0x50b558[_0x3568d1(0x233)];this[_0x3568d1(0x440)](_0x381612)[_0x3568d1(0x4dd)](_0x33fbc3=>{const _0x3ce6ae=_0x3568d1;_0x539d9d[_0x3ce6ae(0x307)]({'cmd':W[_0x3ce6ae(0x3a2)],'code':ws['OK'],'routeKey':_0x381612[_0x3ce6ae(0x233)][_0x3ce6ae(0x405)],'routeType':'','data':{'eventID':_0x8a32d4[_0x3ce6ae(0x48d)],'data':{'changesets':_0x33fbc3}}});})[_0x3568d1(0x1e1)](_0x28cfd4=>{const _0x9317d3=_0x3568d1;this[_0x9317d3(0x3b6)]['error'](_0x28cfd4),_0x90b614();});return;}}_0x3aa6a8[_0x3568d1(0x286)](kn(_0x50b558));},'close':()=>{const _0x5c3c14=_0x2c06c4;_0x3aa6a8[_0x5c3c14(0x459)](),_0x5b5085[_0x5c3c14(0x1ba)]();}},_0x3db18c;}async[_0x59f468(0x559)](_0x107068,_0x1142c2){const _0x4d81f5=_0x59f468;var _0x4fbd21,_0x525975;const {unitType:_0x2caf5f,unitID:_0x50929b,changeset:_0x583eff}=_0x1142c2[_0x4d81f5(0x233)],_0x239731={'unitID':_0x50929b,'memberID':_0x107068[_0x4d81f5(0x31e)],'type':_0x2caf5f,'changeset':_0x51288e(_0x583eff)},_0x375556=this['_configService']['getConfig'](xn),_0x977117=this[_0x4d81f5(0x58b)][_0x4d81f5(0x55d)](Q),_0x499e05=Gn((_0x525975=(_0x4fbd21=_0x977117==null?void 0x0:_0x977117[_0x4d81f5(0x43c)])!=null?_0x4fbd21:_0x375556)!=null?_0x525975:Ln,_0x2caf5f,_0x50929b);try{await this['_http'][_0x4d81f5(0x32e)](_0x499e05,{'body':_0x239731});}catch(_0x3dc4f8){throw this[_0x4d81f5(0x3b6)][_0x4d81f5(0x1ec)](_0x4d81f5(0x276),_0x4d81f5(0x291)),_0x3dc4f8;}}async['_fetchMissChangesets'](_0x23a726){const _0x46f96b=_0x59f468,{unitID:_0x123c78,from:_0x57286d,to:_0x4b4395,unitType:_0x55df90}=_0x23a726['data'];return(await this[_0x46f96b(0x29d)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x123c78,'type':_0x55df90,'from':_0x57286d,'to':_0x4b4395}))['changesets'];}};as=Vn([qe(0x0,_0x222038(_0x216536)),qe(0x1,_0x222038(_0x5cdeee)),qe(0x2,_0x486aed),qe(0x3,_0x37805d),qe(0x4,_0x24bd52)],as);const Yn=_0x59f468(0x55f);function Kn(_0xda19a9){const _0x2b2c75=_0x59f468;return JSON[_0x2b2c75(0x3fc)](_0xda19a9)[_0x2b2c75(0x21a)];}class Gi{constructor(){const _0x17a13c=_0x59f468;g(this,_0x17a13c(0x548),new _0xd6475b()),g(this,_0x17a13c(0x57e),this[_0x17a13c(0x548)][_0x17a13c(0x472)]());}[_0x59f468(0x4fa)](_0x4e5a2d){const _0x3ff7cd=_0x59f468;this[_0x3ff7cd(0x548)][_0x3ff7cd(0x307)](_0x4e5a2d);}}var qn=Object[_0x59f468(0x29a)],zn=Object['getOwnPropertyDescriptor'],Xn=(_0x1cef08,_0x2e16a6,_0x14f7b2,_0x4d9622)=>{const _0x10aae1=_0x59f468;for(var _0x405e61=_0x4d9622>0x1?void 0x0:_0x4d9622?zn(_0x2e16a6,_0x14f7b2):_0x2e16a6,_0xdd0eb2=_0x1cef08[_0x10aae1(0x21a)]-0x1,_0x2700e5;_0xdd0eb2>=0x0;_0xdd0eb2--)(_0x2700e5=_0x1cef08[_0xdd0eb2])&&(_0x405e61=(_0x4d9622?_0x2700e5(_0x2e16a6,_0x14f7b2,_0x405e61):_0x2700e5(_0x405e61))||_0x405e61);return _0x4d9622&&_0x405e61&&qn(_0x2e16a6,_0x14f7b2,_0x405e61),_0x405e61;},Ks=(_0x5ca33d,_0x49c7ed)=>(_0x8e0690,_0x337eb9)=>_0x49c7ed(_0x8e0690,_0x337eb9,_0x5ca33d);let Ae=class extends _0x19fe63{constructor(_0x14d5d7,_0x8b66e2){const _0x4ddfae=_0x59f468;super(),g(this,'_roomMembers',new Map()),(this[_0x4ddfae(0x525)]=_0x14d5d7,this[_0x4ddfae(0x19c)]=_0x8b66e2,this['disposeWithMe'](_0x510055(_0x5becde(this[_0x4ddfae(0x525)]['getTypeOfUnitDisposed$'](_0x52550e[_0x4ddfae(0x2b0)])['pipe'](_0x3968e0(_0x2f993c=>_0x2f993c[_0x4ddfae(0x25c)]())),this[_0x4ddfae(0x525)][_0x4ddfae(0x31a)](_0x52550e['UNIVER_DOC'])[_0x4ddfae(0x318)](_0x3968e0(_0x244168=>_0x244168[_0x4ddfae(0x25c)]())),this['_univerInstanceService'][_0x4ddfae(0x31a)](_0x52550e[_0x4ddfae(0x4b5)])[_0x4ddfae(0x318)](_0x3968e0(_0x3fa584=>_0x3fa584[_0x4ddfae(0x25c)]())))[_0x4ddfae(0x347)](_0x27e477=>this['_removeRoom'](_0x27e477)))));}[_0x59f468(0x1a4)](_0x1ffe46){const _0x48f6fd=_0x59f468;this['_userManagerService'][_0x48f6fd(0x1a4)](_0x1ffe46);}[_0x59f468(0x542)](){const _0x576720=_0x59f468;return this[_0x576720(0x19c)][_0x576720(0x542)]();}['updateMember'](_0x227c44,_0x1c5724){const _0x1a73dd=_0x59f468;let _0x352a9b=this[_0x1a73dd(0x500)][_0x1a73dd(0x25d)](_0x227c44);_0x352a9b||(_0x352a9b=new Jn(),this[_0x1a73dd(0x500)][_0x1a73dd(0x279)](_0x227c44,_0x352a9b)),_0x352a9b[_0x1a73dd(0x3aa)](_0x1c5724);}[_0x59f468(0x211)](_0x556493,_0x5f2aac){const _0x52e657=_0x59f468,_0x574167=this[_0x52e657(0x500)]['get'](_0x556493);_0x574167&&_0x574167[_0x52e657(0x211)](_0x5f2aac);}[_0x59f468(0x2c7)](_0x2a9e0c){const _0x5e5a39=_0x59f468;return this[_0x5e5a39(0x500)]['get'](_0x2a9e0c);}[_0x59f468(0x2ac)](_0x584a49,_0x38ff4a){const _0x5a7661=_0x59f468,_0x43cdaa=this[_0x5a7661(0x500)][_0x5a7661(0x25d)](_0x584a49);if(_0x43cdaa)return _0x43cdaa['getMember'](_0x38ff4a);}[_0x59f468(0x39a)](_0x2ebb26){const _0x38b6e4=_0x59f468,_0x1786d7=this[_0x38b6e4(0x500)][_0x38b6e4(0x25d)](_0x2ebb26);_0x1786d7&&(_0x1786d7[_0x38b6e4(0x1ba)](),this[_0x38b6e4(0x500)][_0x38b6e4(0x29e)](_0x2ebb26));}['dispose'](){const _0x438645=_0x59f468;this[_0x438645(0x500)]['forEach'](_0x24bbad=>_0x24bbad[_0x438645(0x1ba)]()),this[_0x438645(0x500)][_0x438645(0x58a)]();}};Ae=Xn([Ks(0x0,_0xd7de45),Ks(0x1,_0x222038(_0x581f13))],Ae);class Jn extends _0x19fe63{constructor(){const _0x409238=_0x59f468;super(...arguments),g(this,_0x409238(0x26c),new Map());}[_0x59f468(0x1ba)](){const _0x5f8f5b=_0x59f468;this[_0x5f8f5b(0x26c)][_0x5f8f5b(0x58a)]();}['updateMember'](_0x2eebb6){const _0x1becba=_0x59f468;this[_0x1becba(0x26c)][_0x1becba(0x279)](_0x2eebb6['memberID'],_0x2eebb6);}[_0x59f468(0x211)](_0xe99f6){const _0x128126=_0x59f468;this['_members'][_0x128126(0x29e)](_0xe99f6);}[_0x59f468(0x2ac)](_0x468437){const _0x56902b=_0x59f468;return this[_0x56902b(0x26c)][_0x56902b(0x25d)](_0x468437);}[_0x59f468(0x3e9)](){const _0x270948=_0x59f468;return Array['from'](this[_0x270948(0x26c)]['values']());}}var Zn=Object[_0x59f468(0x29a)],Qn=Object[_0x59f468(0x368)],eo=(_0x283de2,_0x322505,_0x47bb18,_0x64fb86)=>{for(var _0x45af6f=_0x64fb86>0x1?void 0x0:_0x64fb86?Qn(_0x322505,_0x47bb18):_0x322505,_0x1b9edc=_0x283de2['length']-0x1,_0xc26426;_0x1b9edc>=0x0;_0x1b9edc--)(_0xc26426=_0x283de2[_0x1b9edc])&&(_0x45af6f=(_0x64fb86?_0xc26426(_0x322505,_0x47bb18,_0x45af6f):_0xc26426(_0x45af6f))||_0x45af6f);return _0x64fb86&&_0x45af6f&&Zn(_0x322505,_0x47bb18,_0x45af6f),_0x45af6f;},Ee=(_0xe9a733,_0x51b3f6)=>(_0x1acbbf,_0x4c0db7)=>_0x51b3f6(_0x1acbbf,_0x4c0db7,_0xe9a733),fe=(_0x44505e=>(_0x44505e[_0x44505e[_0x59f468(0x27d)]=0x0]='IDLE',_0x44505e[_0x44505e[_0x59f468(0x3e7)]=0x1]=_0x59f468(0x3e7),_0x44505e[_0x44505e[_0x59f468(0x37c)]=0x2]=_0x59f468(0x37c),_0x44505e[_0x44505e[_0x59f468(0x3b5)]=0x3]=_0x59f468(0x3b5),_0x44505e))(fe||{});let cs=class extends _0x2c59cd{constructor(_0x246a41,_0x1a2fac,_0x2868b7,_0x2a18d6,_0x53be9c,_0x5d7107,_0x59c84d,_0x5e0e5a,_0x392935,_0x4d8018){const _0x1bfb55=_0x59f468;super(),g(this,_0x1bfb55(0x1fa),new _0x1f1fc6(0x0)),g(this,_0x1bfb55(0x27b),this[_0x1bfb55(0x1fa)][_0x1bfb55(0x472)]()),g(this,_0x1bfb55(0x4fc),new _0xd6475b()),g(this,_0x1bfb55(0x529),this['_event$'][_0x1bfb55(0x472)]()),g(this,_0x1bfb55(0x588)),g(this,_0x1bfb55(0x3d7)),g(this,_0x1bfb55(0x3f6)),g(this,'_shouldReportTelemetry',!0x1),g(this,'_telemetryInfo',null),(this[_0x1bfb55(0x403)]=_0x246a41,this[_0x1bfb55(0x3b6)]=_0x2868b7,this[_0x1bfb55(0x54b)]=_0x2a18d6,this[_0x1bfb55(0x3bb)]=_0x53be9c,this[_0x1bfb55(0x58b)]=_0x5d7107,this['_localeService']=_0x59c84d,this['_memberService']=_0x5e0e5a,this[_0x1bfb55(0x578)]=_0x392935,this[_0x1bfb55(0x450)]=_0x4d8018,this[_0x1bfb55(0x545)]=!!this[_0x1bfb55(0x450)],_0x1a2fac[_0x1bfb55(0x318)](_0x2eaf5f(this[_0x1bfb55(0x2c5)]))[_0x1bfb55(0x347)](_0x2527c5=>{const _0x1cae7f=_0x1bfb55;var _0x19dea9;typeof _0x2527c5>'u'||(this[_0x1cae7f(0x588)]=_0x2527c5,_0x2527c5?(this[_0x1cae7f(0x21e)](_0x2527c5),this[_0x1cae7f(0x3d7)]=_0x2527c5[_0x1cae7f(0x464)][_0x1cae7f(0x347)](_0x55e1e2=>{const _0x92a804=_0x1cae7f;_0x55e1e2[_0x92a804(0x1c3)]===this[_0x92a804(0x403)]&&this[_0x92a804(0x3a9)](_0x55e1e2);})):(this[_0x1cae7f(0x308)](),this[_0x1cae7f(0x1fa)][_0x1cae7f(0x307)](0x2),(_0x19dea9=this[_0x1cae7f(0x3d7)])==null||_0x19dea9[_0x1cae7f(0x372)](),this[_0x1cae7f(0x3d7)]=null));}),this[_0x1bfb55(0x4e2)](this['_beforeCloseService'][_0x1bfb55(0x3c1)](()=>{const _0x5c7650=_0x1bfb55;var _0xa672a3;(_0xa672a3=this[_0x5c7650(0x588)])==null||_0xa672a3[_0x5c7650(0x286)]({'cmd':W[_0x5c7650(0x2f7)],'data':{'roomID':this[_0x5c7650(0x403)]}});})));}get[_0x59f468(0x3f1)](){const _0x2c3429=_0x59f468;return this['_sessionStatus$'][_0x2c3429(0x44d)]();}[_0x59f468(0x34f)](){const _0x5974f8=_0x59f468;var _0x485457,_0x28034c;return(_0x28034c=(_0x485457=this[_0x5974f8(0x588)])==null?void 0x0:_0x485457['memberID'])!=null?_0x28034c:null;}['dispose'](){const _0x2c1940=_0x59f468;super['dispose'](),this[_0x2c1940(0x2c5)]['next'](),this['dispose$'][_0x2c1940(0x3ee)]();}[_0x59f468(0x459)](){const _0x580023=_0x59f468;var _0x45e6b7,_0x1bd62c;this['_throwTelemetryCollaborationNewChangeset'](),(_0x45e6b7=this[_0x580023(0x588)])==null||_0x45e6b7['send']({'cmd':W[_0x580023(0x2f7)],'data':{'roomID':this['_unitID']}}),(_0x1bd62c=this[_0x580023(0x588)])==null||_0x1bd62c[_0x580023(0x459)](),this[_0x580023(0x4fc)][_0x580023(0x3ee)](),this[_0x580023(0x1fa)][_0x580023(0x3ee)](),this['dispose']();}['_onCombEvent'](_0x5211ca){const _0x477788=_0x59f468;_0x5211ca[_0x477788(0x3a3)]===W['JOIN']?this[_0x477788(0x51b)](_0x5211ca):_0x5211ca[_0x477788(0x3a3)]===W['RECV']&&this[_0x477788(0x269)](_0x5211ca);}[_0x59f468(0x21e)](_0x1f8802){const _0xac8a60=_0x59f468;this[_0xac8a60(0x1fa)]['next'](0x1),_0x1f8802[_0xac8a60(0x286)]({'cmd':W[_0xac8a60(0x576)],'routeKey':this[_0xac8a60(0x403)],'routeType':'','data':{'rooms':[{'roomID':this[_0xac8a60(0x403)]}]}});}[_0x59f468(0x51b)](_0x2a3a3a){const _0x7a2e47=_0x59f468;var _0x468dd0;if(_0x2a3a3a[_0x7a2e47(0x2b1)]===ws[_0x7a2e47(0x565)]){this['_messageService'][_0x7a2e47(0x31c)]({'type':_0x47f0e7[_0x7a2e47(0x19a)],'content':this[_0x7a2e47(0x58c)]['t']('session.room-full')}),this[_0x7a2e47(0x1fa)][_0x7a2e47(0x307)](0x2);return;}this[_0x7a2e47(0x1fa)]['next'](0x3);const _0x1d6270=(_0x468dd0=_0x2a3a3a[_0x7a2e47(0x233)][_0x7a2e47(0x5a9)][this[_0x7a2e47(0x403)]])==null?void 0x0:_0x468dd0['members'];_0x1d6270&&_0x1d6270[_0x7a2e47(0x3b0)](_0x343c77=>this[_0x7a2e47(0x43b)][_0x7a2e47(0x3aa)](this[_0x7a2e47(0x403)],_0x343c77));}['_onRecvEvent'](_0x53b355){const _0x3e7bc0=_0x59f468;try{const _0x21c059=_0x53b355['data'];switch(_0x21c059[_0x3e7bc0(0x1b1)]){case _0x8a32d4['USERS_ENTER']:this['_onUserJoin'](_0x21c059),this[_0x3e7bc0(0x4fc)]['next'](_0x21c059);break;case _0x8a32d4[_0x3e7bc0(0x23b)]:this[_0x3e7bc0(0x5ad)](_0x21c059),this[_0x3e7bc0(0x4fc)]['next'](_0x21c059);break;case _0x8a32d4[_0x3e7bc0(0x3ea)]:case _0x8a32d4[_0x3e7bc0(0x445)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3e7bc0(0x448)](),this[_0x3e7bc0(0x4fc)]['next'](_0x21c059);break;case _0x8a32d4[_0x3e7bc0(0x201)]:this[_0x3e7bc0(0x3b6)][_0x3e7bc0(0x1ec)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x3e7bc0(0x3fc)](_0x21c059)),this[_0x3e7bc0(0x4fc)]['next'](_0x21c059);break;case _0x8a32d4['COMMENT_UPDATE']:this['_commentService'][_0x3e7bc0(0x4fa)](_0x21c059['data']),this['_event$'][_0x3e7bc0(0x307)](_0x21c059);break;default:this[_0x3e7bc0(0x4fc)][_0x3e7bc0(0x307)](_0x21c059);}}catch(_0x20b8d0){this[_0x3e7bc0(0x3b6)][_0x3e7bc0(0x1ec)](_0x20b8d0,_0x53b355);}}[_0x59f468(0x274)](_0x42349a){const _0x29429a=_0x59f468;this[_0x29429a(0x43b)]['updateMember'](this['_unitID'],_0x42349a[_0x29429a(0x233)]);}[_0x59f468(0x5ad)](_0x45fe39){const _0x5ed72c=_0x59f468;this[_0x5ed72c(0x43b)][_0x5ed72c(0x211)](this[_0x5ed72c(0x403)],_0x45fe39[_0x5ed72c(0x233)][_0x5ed72c(0x31e)]);}async[_0x59f468(0x286)](_0x5dc2ca,_0x22177b){const _0x35b5e3=_0x59f468;if(this[_0x35b5e3(0x3f1)]!==0x3||!this[_0x35b5e3(0x588)])throw new Error(_0x35b5e3(0x50b));try{_0x5dc2ca[_0x35b5e3(0x1b1)]===_0x8a32d4[_0x35b5e3(0x5a8)]&&(this[_0x35b5e3(0x256)](),this[_0x35b5e3(0x455)](_0x5dc2ca)),this[_0x35b5e3(0x588)][_0x35b5e3(0x286)]({'cmd':W[_0x35b5e3(0x5a6)],'routeKey':_0x22177b,'routeType':'','data':_0x5dc2ca});}catch(_0x475837){this[_0x35b5e3(0x3b6)][_0x35b5e3(0x1ec)](_0x475837);}}[_0x59f468(0x256)](){const _0x474a6c=_0x59f468;var _0x5674f7;this['_collaborationTimeoutTimer']=window['setTimeout'](()=>{const _0x529edd=_0x2eda;this['_collaborationTimeoutTimer']=null,this['_messageService'][_0x529edd(0x31c)]({'type':_0x47f0e7['Error'],'content':this['_localeService']['t'](_0x529edd(0x1a7))});},(_0x5674f7=this['_configService'][_0x474a6c(0x55d)](Bi))!=null?_0x5674f7:ki);}[_0x59f468(0x448)](){const _0x227aa2=_0x59f468;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x227aa2(0x3f6)]=null);}[_0x59f468(0x455)](_0x263284){const _0xd90046=_0x59f468;if(!this[_0xd90046(0x545)])return;const {data:_0xd5584}=_0x263284,{unitID:_0x4d9035,changeset:_0x24d7f8}=_0xd5584,{mutations:_0x1f30f8,type:_0x4a90f7}=_0x24d7f8;this[_0xd90046(0x413)]={'unitId':_0x4d9035,'type':_0x4a90f7,'startTime':performance[_0xd90046(0x1db)](),'stopTime':0x0,'duration':0x0,'size':Kn(_0x1f30f8)};}[_0x59f468(0x536)](){const _0x40cfac=_0x59f468;if(this['_shouldReportTelemetry']){if(!this[_0x40cfac(0x413)]){this[_0x40cfac(0x3b6)][_0x40cfac(0x1ec)](_0x40cfac(0x276),_0x40cfac(0x3d3));return;}this[_0x40cfac(0x413)]['stopTime']=performance['now'](),this[_0x40cfac(0x413)][_0x40cfac(0x490)]=this[_0x40cfac(0x413)]['stopTime']-this['_telemetryInfo'][_0x40cfac(0x543)],this[_0x40cfac(0x450)][_0x40cfac(0x325)](Yn,this[_0x40cfac(0x413)]),this[_0x40cfac(0x413)]=null;}}[_0x59f468(0x308)](){this['_telemetryInfo']=null;}};cs=eo([Ee(0x2,_0x37805d),Ee(0x3,_0x28b31b),Ee(0x4,_0x3bbf26),Ee(0x5,_0x486aed),Ee(0x6,_0x222038(_0x52880d)),Ee(0x7,_0x222038(Ae)),Ee(0x8,_0x222038(Gi)),Ee(0x9,_0x3a5345(_0x30dd3c))],cs);var to=Object[_0x59f468(0x29a)],so=Object['getOwnPropertyDescriptor'],io=(_0x3a160d,_0x20c0de,_0x2ea421,_0x4e2613)=>{for(var _0x300309=_0x4e2613>0x1?void 0x0:_0x4e2613?so(_0x20c0de,_0x2ea421):_0x20c0de,_0x19284c=_0x3a160d['length']-0x1,_0x4f3783;_0x19284c>=0x0;_0x19284c--)(_0x4f3783=_0x3a160d[_0x19284c])&&(_0x300309=(_0x4e2613?_0x4f3783(_0x20c0de,_0x2ea421,_0x300309):_0x4f3783(_0x300309))||_0x300309);return _0x4e2613&&_0x300309&&to(_0x20c0de,_0x2ea421,_0x300309),_0x300309;},ye=(_0x12db5b,_0x4e8ee9)=>(_0x148ef0,_0x10783e)=>_0x4e8ee9(_0x148ef0,_0x10783e,_0x12db5b);let Me=class extends _0x19fe63{constructor(_0x2061c9,_0x5e2f2f,_0x5d3a99,_0x8db620,_0x4429ce,_0x94bc9d,_0x4f3354){const _0x3763e2=_0x59f468;super(),g(this,'_socket$',new _0x1f1fc6(void 0x0)),g(this,'socket$',this['_socket$']['asObservable']()),g(this,_0x3763e2(0x4ad),null),g(this,'_sessions',new Map()),g(this,_0x3763e2(0x1c6),new _0x1f1fc6(fe[_0x3763e2(0x27d)])),g(this,_0x3763e2(0x215),this['_status$']['asObservable']()),g(this,_0x3763e2(0x24c),!0x1),g(this,_0x3763e2(0x59b)),g(this,_0x3763e2(0x3fe),0x0),g(this,_0x3763e2(0x49d)),g(this,'_timeoutTimer'),(this[_0x3763e2(0x351)]=_0x2061c9,this['_localeService']=_0x5e2f2f,this['_messageService']=_0x5d3a99,this['_logService']=_0x8db620,this[_0x3763e2(0x58b)]=_0x4429ce,this[_0x3763e2(0x2a2)]=_0x94bc9d,this['_httpService']=_0x4f3354,this[_0x3763e2(0x4d1)]());}get[_0x59f468(0x588)](){const _0x5e21fe=_0x59f468;return this[_0x5e21fe(0x1b2)]['getValue']();}[_0x59f468(0x4d1)](){const _0x422637=_0x59f468;this[_0x422637(0x498)](),this['_listenToOnlineEvent']();}[_0x59f468(0x1ba)](){const _0x3808f4=_0x59f468;super[_0x3808f4(0x1ba)](),this[_0x3808f4(0x476)][_0x3808f4(0x3b0)](_0xe177e6=>_0xe177e6['dispose']()),this[_0x3808f4(0x476)][_0x3808f4(0x58a)](),this[_0x3808f4(0x1c6)][_0x3808f4(0x3ee)]();}async[_0x59f468(0x55c)](_0x1341df){const _0x1a0ef2=_0x59f468;if(this['_sessions'][_0x1a0ef2(0x309)](_0x1341df))return this[_0x1a0ef2(0x476)][_0x1a0ef2(0x25d)](_0x1341df);this[_0x1a0ef2(0x304)]();const _0x34ea12=this[_0x1a0ef2(0x351)][_0x1a0ef2(0x2d8)](cs,_0x1341df,this[_0x1a0ef2(0x1b2)][_0x1a0ef2(0x472)]());return this[_0x1a0ef2(0x476)][_0x1a0ef2(0x279)](_0x1341df,_0x34ea12),_0x34ea12;}['closeSession'](_0x3e5c5b){const _0x5c8ce3=_0x59f468;var _0x5a7a42;const _0x3da0e2=this[_0x5c8ce3(0x476)][_0x5c8ce3(0x25d)](_0x3e5c5b);_0x3da0e2&&(this[_0x5c8ce3(0x476)][_0x5c8ce3(0x29e)](_0x3e5c5b),_0x3da0e2['close']()),this[_0x5c8ce3(0x476)][_0x5c8ce3(0x49b)]||(_0x5a7a42=this[_0x5c8ce3(0x588)])==null||_0x5a7a42[_0x5c8ce3(0x459)]();}[_0x59f468(0x587)](){const _0x3fa704=_0x59f468;this['_retryCount']=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x3fa704(0x59b)]),this['_retryConnectingTimer']=null),this[_0x3fa704(0x40a)]();}async[_0x59f468(0x4a7)](){const _0x2c04d0=_0x59f468;var _0x845952,_0x19d8c1,_0x4c1f16;const _0x42bfd7=this[_0x2c04d0(0x58b)][_0x2c04d0(0x55d)](Q),_0x5af8c3=(_0x845952=_0x42bfd7==null?void 0x0:_0x42bfd7[_0x2c04d0(0x24e)])!=null?_0x845952:yn;return(_0x4c1f16=(_0x19d8c1=(await this[_0x2c04d0(0x2e7)][_0x2c04d0(0x25d)](_0x5af8c3,{'headers':{'Content-Type':_0x2c04d0(0x595)}}))[_0x2c04d0(0x444)])==null?void 0x0:_0x19d8c1['ticket'])!=null?_0x4c1f16:'';}[_0x59f468(0x1bf)](_0x533a10){const _0x157314=_0x59f468;var _0x3e894a,_0x7866c2;const _0x30f0ae=this[_0x157314(0x58b)][_0x157314(0x55d)](Rn),_0x376c83=this[_0x157314(0x58b)][_0x157314(0x55d)](Q),_0x367b29=(_0x7866c2=(_0x3e894a=_0x376c83==null?void 0x0:_0x376c83[_0x157314(0x255)])!=null?_0x3e894a:_0x30f0ae)!=null?_0x7866c2:On,_0x453909=new URL(_0x367b29,window[_0x157314(0x30e)][_0x157314(0x4d7)]);return _0x453909[_0x157314(0x4f2)][_0x157314(0x279)](_0x157314(0x40c),_0x533a10),_0x453909[_0x157314(0x4a1)]();}async[_0x59f468(0x1c2)](){const _0xbd84c8=_0x59f468,_0x50cd3f=await this[_0xbd84c8(0x4a7)](),_0x295c51=this[_0xbd84c8(0x1bf)](_0x50cd3f),_0x11c564=this['_socketService']['createSocket'](_0x295c51);return this['_candidateSocket']=_0x11c564,_0x11c564;}async[_0x59f468(0x304)](){const _0x1a3a66=_0x59f468;var _0x216029,_0x3c696a;try{const _0x241742=(_0x3c696a=(_0x216029=this[_0x1a3a66(0x588)])!=null?_0x216029:this[_0x1a3a66(0x4ad)])!=null?_0x3c696a:await this[_0x1a3a66(0x1c2)]();if(_0x241742){const _0x7ea728=_0x241742[_0x1a3a66(0x286)];_0x241742[_0x1a3a66(0x286)]=_0x1433e1=>(this['_rescheduleHeartbeat'](),_0x7ea728['apply'](_0x241742,[_0x1433e1])),_0x241742[_0x1a3a66(0x464)][_0x1a3a66(0x347)](_0x3c1e84=>this['_onMessage'](_0x241742,_0x3c1e84)),_0x241742[_0x1a3a66(0x1b6)][_0x1a3a66(0x318)](_0x44e846(0x1))[_0x1a3a66(0x347)](_0x20c6d4=>this[_0x1a3a66(0x3b6)][_0x1a3a66(0x1ec)](_0x1a3a66(0x439),_0x20c6d4)),_0x241742[_0x1a3a66(0x4a0)][_0x1a3a66(0x318)](_0x44e846(0x1))[_0x1a3a66(0x347)](()=>{const _0x5b3ac0=_0x1a3a66;this[_0x5b3ac0(0x227)](_0x241742);}),_0x241742[_0x1a3a66(0x45e)]['pipe'](_0x44e846(0x1))['subscribe'](_0x1bada4=>{const _0x42d01d=_0x1a3a66;this[_0x42d01d(0x3b6)][_0x42d01d(0x48b)]('[CollaborationSessionService]',_0x42d01d(0x4b3),_0x1bada4),this[_0x42d01d(0x1f3)]();});}}catch(_0x1bda03){this[_0x1a3a66(0x3b6)]['error'](_0x1bda03),this[_0x1a3a66(0x1f3)]();}}[_0x59f468(0x227)](_0x6fa55){const _0x463724=_0x59f468;this['_logService'][_0x463724(0x48b)]('[CollaborationSessionService]',_0x463724(0x352)),_0x6fa55[_0x463724(0x286)]({'cmd':W[_0x463724(0x2eb)]}),this[_0x463724(0x397)]();}[_0x59f468(0x498)](){const _0x283fbd=_0x59f468;window[_0x283fbd(0x59a)](_0x283fbd(0x553),()=>this[_0x283fbd(0x33d)]());}['_onOffline'](){const _0x188f59=_0x59f468;this[_0x188f59(0x24c)]=!0x1,this[_0x188f59(0x4ad)]=null,this['_status$'][_0x188f59(0x307)](fe[_0x188f59(0x37c)]),this['_socket$'][_0x188f59(0x307)](null),this['_clearTimeoutTimer'](),this[_0x188f59(0x3bf)]();}[_0x59f468(0x1f3)](){const _0x485285=_0x59f468;var _0x468926;this[_0x485285(0x33d)](),this[_0x485285(0x3fe)]<((_0x468926=this[_0x485285(0x58b)][_0x485285(0x55d)](Un))!=null?_0x468926:Nn)?(this[_0x485285(0x3bb)][_0x485285(0x31c)]({'key':_0x485285(0x407),'type':_0x47f0e7['Warning'],'content':this[_0x485285(0x58c)]['t']('session.will-retry')}),this[_0x485285(0x40a)]()):this['_messageService'][_0x485285(0x31c)]({'key':_0x485285(0x407),'type':_0x47f0e7['Error'],'content':this[_0x485285(0x58c)]['t'](_0x485285(0x1d6))});}[_0x59f468(0x4c2)](){const _0x5c3ca5=_0x59f468,_0x257acf=()=>{const _0x1724d8=_0x2eda;this[_0x1724d8(0x588)]||this[_0x1724d8(0x587)]();},_0x34a932=()=>{const _0x1e762b=_0x2eda;this[_0x1e762b(0x588)]||document[_0x1e762b(0x583)]===_0x1e762b(0x345)||this[_0x1e762b(0x587)]();};window[_0x5c3ca5(0x59a)](_0x5c3ca5(0x56b),_0x257acf),document[_0x5c3ca5(0x59a)](_0x5c3ca5(0x434),_0x34a932);}[_0x59f468(0x40a)](){const _0x350d2c=_0x59f468;var _0x49372c;const _0x4d4319=this[_0x350d2c(0x3fe)],_0x5235cb=this[_0x350d2c(0x58b)][_0x350d2c(0x55d)](Q),_0x825202=_0x4d4319===0x0?0x0:((_0x49372c=_0x5235cb==null?void 0x0:_0x5235cb[_0x350d2c(0x479)])!=null?_0x49372c:Pn)*0x2**_0x4d4319;this[_0x350d2c(0x59b)]=window[_0x350d2c(0x2b7)](()=>{const _0x2a3b6d=_0x350d2c;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x2a3b6d(0x304)]();},_0x825202),this[_0x350d2c(0x3fe)]+=0x1;}['_onMessage'](_0x2c5b82,_0x23009e){const _0xa20fe5=_0x59f468,{cmd:_0x28a19a}=_0x23009e;_0x28a19a===W[_0xa20fe5(0x2eb)]&&!this[_0xa20fe5(0x24c)]&&(_0x2c5b82[_0xa20fe5(0x31e)]=_0x23009e['data']['memberID'],this['_socket$']['next'](_0x2c5b82),this[_0xa20fe5(0x1c6)]['next'](fe[_0xa20fe5(0x3b5)]),this[_0xa20fe5(0x24c)]=!0x0,this[_0xa20fe5(0x4ad)]=null),_0x28a19a===W[_0xa20fe5(0x28b)]&&this[_0xa20fe5(0x477)](),this['_rescheduleHeartbeat']();}[_0x59f468(0x397)](){const _0x532260=_0x59f468;var _0x27ecb8;this[_0x532260(0x3bf)](),this['_sendHeartbeatTimer']=window['setTimeout'](()=>this[_0x532260(0x3d2)](),(_0x27ecb8=this[_0x532260(0x58b)][_0x532260(0x55d)](wn))!=null?_0x27ecb8:Dn);}[_0x59f468(0x3d2)](){const _0x5a2191=_0x59f468;this[_0x5a2191(0x588)][_0x5a2191(0x286)]({'cmd':W['HEARTBEAT']}),this[_0x5a2191(0x454)]();}[_0x59f468(0x454)](){const _0x2c404c=_0x59f468;var _0x53cbb2;this[_0x2c404c(0x534)]=window['setTimeout'](()=>this[_0x2c404c(0x1f3)](),(_0x53cbb2=this[_0x2c404c(0x58b)][_0x2c404c(0x55d)](Bi))!=null?_0x53cbb2:ki);}[_0x59f468(0x3bf)](){const _0x3983fb=_0x59f468;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3983fb(0x49d)]),this[_0x3983fb(0x49d)]=null);}[_0x59f468(0x477)](){const _0x40e69c=_0x59f468;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x40e69c(0x534)]),this[_0x40e69c(0x534)]=null);}};Me=io([ye(0x0,_0x222038(_0x2e1c56)),ye(0x1,_0x222038(_0x52880d)),ye(0x2,_0x3bbf26),ye(0x3,_0x37805d),ye(0x4,_0x486aed),ye(0x5,Vi),ye(0x6,_0x222038(_0x216536))],Me);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x59f468(0x4cf)]((i+0x100)[_0x59f468(0x4a1)](0x10)[_0x59f468(0x38c)](0x1));function ro(_0x2eefd0,_0xbffe89=0x0){const _0xaa1864=_0x59f468;return(Y[_0x2eefd0[_0xbffe89+0x0]]+Y[_0x2eefd0[_0xbffe89+0x1]]+Y[_0x2eefd0[_0xbffe89+0x2]]+Y[_0x2eefd0[_0xbffe89+0x3]]+'-'+Y[_0x2eefd0[_0xbffe89+0x4]]+Y[_0x2eefd0[_0xbffe89+0x5]]+'-'+Y[_0x2eefd0[_0xbffe89+0x6]]+Y[_0x2eefd0[_0xbffe89+0x7]]+'-'+Y[_0x2eefd0[_0xbffe89+0x8]]+Y[_0x2eefd0[_0xbffe89+0x9]]+'-'+Y[_0x2eefd0[_0xbffe89+0xa]]+Y[_0x2eefd0[_0xbffe89+0xb]]+Y[_0x2eefd0[_0xbffe89+0xc]]+Y[_0x2eefd0[_0xbffe89+0xd]]+Y[_0x2eefd0[_0xbffe89+0xe]]+Y[_0x2eefd0[_0xbffe89+0xf]])[_0xaa1864(0x4c8)]();}let Vt;const no=new Uint8Array(0x10);function oo(){const _0x58fb55=_0x59f468;if(!Vt){if(typeof crypto>'u'||!crypto[_0x58fb55(0x4cc)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Vt=crypto[_0x58fb55(0x4cc)]['bind'](crypto);}return Vt(no);}const ao=typeof crypto<'u'&&crypto[_0x59f468(0x5aa)]&&crypto[_0x59f468(0x5aa)]['bind'](crypto),qs={'randomUUID':ao};function co(_0x488ff9,_0x1ef65a,_0x234c70){const _0x1b4e94=_0x59f468;if(qs[_0x1b4e94(0x5aa)]&&!_0x1ef65a&&!_0x488ff9)return qs[_0x1b4e94(0x5aa)]();_0x488ff9=_0x488ff9||{};const _0x556a0f=_0x488ff9[_0x1b4e94(0x585)]||(_0x488ff9[_0x1b4e94(0x4ab)]||oo)();return _0x556a0f[0x6]=_0x556a0f[0x6]&0xf|0x40,_0x556a0f[0x8]=_0x556a0f[0x8]&0x3f|0x80,ro(_0x556a0f);}var ho=Object[_0x59f468(0x29a)],lo=Object[_0x59f468(0x368)],_o=(_0x1ff5b5,_0x236b0a,_0x4f4d26,_0x59754d)=>{const _0x1eb969=_0x59f468;for(var _0x34fe4c=_0x59754d>0x1?void 0x0:_0x59754d?lo(_0x236b0a,_0x4f4d26):_0x236b0a,_0x59a982=_0x1ff5b5[_0x1eb969(0x21a)]-0x1,_0xf83bfe;_0x59a982>=0x0;_0x59a982--)(_0xf83bfe=_0x1ff5b5[_0x59a982])&&(_0x34fe4c=(_0x59754d?_0xf83bfe(_0x236b0a,_0x4f4d26,_0x34fe4c):_0xf83bfe(_0x34fe4c))||_0x34fe4c);return _0x59754d&&_0x34fe4c&&ho(_0x236b0a,_0x4f4d26,_0x34fe4c),_0x34fe4c;},Gt=(_0x598b5c,_0x6b3d6a)=>(_0x446095,_0x166d32)=>_0x6b3d6a(_0x446095,_0x166d32,_0x598b5c);let Ot=class{constructor(_0x41b1a6,_0x56d89b,_0x49966e){const _0x1ad2ba=_0x59f468;this[_0x1ad2ba(0x351)]=_0x41b1a6,this['_transformService']=_0x56d89b,this[_0x1ad2ba(0x342)]=_0x49966e;}[_0x59f468(0x35f)](_0x515c4c){const _0x21431c=_0x59f468;this[_0x21431c(0x4df)](_0x515c4c),this[_0x21431c(0x358)](_0x515c4c);}[_0x59f468(0x425)](_0x21fdd4){const _0x4f8c9d=_0x59f468,{unitID:_0x238869}=_0x21fdd4,_0x4d04e2=this[_0x4f8c9d(0x342)][_0x4f8c9d(0x4cb)](_0x238869)[_0x4f8c9d(0x461)](_0x3c4a23),{redoCache:_0x3bc9c8}=_0x4d04e2['getUndoRedoMutationParamsCache']();if(_0x3bc9c8[_0x4f8c9d(0x21a)]===0x0)return _0x21fdd4;let _0x13799f=_0x218f61[_0x4f8c9d(0x217)](_0x21fdd4[_0x4f8c9d(0x1a2)][0x0]);for(let _0x1788bc=0x0;_0x1788bc<_0x3bc9c8['length'];_0x1788bc++){const _0x26577a={'id':'doc.mutation.rich-text-editing','params':{..._0x3bc9c8[_0x1788bc]}},_0x1ebd6a=this[_0x4f8c9d(0x24f)][_0x4f8c9d(0x591)](_0x13799f,_0x26577a,!0x1);if(_0x18387e(_0x1ebd6a))throw _0x1ebd6a[_0x4f8c9d(0x1ec)];_0x13799f=_0x1ebd6a[_0x4f8c9d(0x590)];}return{..._0x218f61[_0x4f8c9d(0x217)](_0x21fdd4),'mutations':[_0x13799f]};}[_0x59f468(0x4df)](_0x2961fd){const _0x4e0bc5=_0x59f468,{unitID:_0x558fdd}=_0x2961fd,_0x26c1c3=this['_renderManagerService'][_0x4e0bc5(0x4cb)](_0x558fdd)['with'](_0x3c4a23),{undoCache:_0x27e555,redoCache:_0x42dd01}=_0x26c1c3[_0x4e0bc5(0x1b8)]();if(_0x27e555[_0x4e0bc5(0x21a)]===0x0||_0x42dd01['length']===0x0)return;const _0x361eda=[],_0x34b1c7=[];let _0x5cf353=_0x218f61['deepClone'](_0x2961fd[_0x4e0bc5(0x1a2)][0x0]),_0x596920=_0x218f61[_0x4e0bc5(0x217)](_0x2961fd['mutations'][0x0]);for(let _0x4a4dd5=_0x27e555['length']-0x1;_0x4a4dd5>=0x0;_0x4a4dd5--){const _0x1d4625={'id':'doc.mutation.rich-text-editing','params':{..._0x27e555[_0x4a4dd5]}},_0x38e371={'id':_0x4e0bc5(0x392),'params':{..._0x42dd01[_0x4a4dd5]}},_0x5c2713=this[_0x4e0bc5(0x24f)]['transformMutation'](_0x5cf353,_0x1d4625,!0x1),_0x5248a5=this['_transformService'][_0x4e0bc5(0x591)](_0x596920,_0x38e371,!0x1);if(_0x18387e(_0x5c2713))throw _0x5c2713[_0x4e0bc5(0x1ec)];if(_0x18387e(_0x5248a5))throw _0x5248a5[_0x4e0bc5(0x1ec)];_0x361eda[_0x4e0bc5(0x39e)](_0x5c2713[_0x4e0bc5(0x388)][_0x4e0bc5(0x4c3)]),_0x34b1c7[_0x4e0bc5(0x39e)](_0x5248a5['m2Prime'][_0x4e0bc5(0x4c3)]),_0x5cf353=_0x5c2713[_0x4e0bc5(0x590)],_0x596920=_0x5248a5[_0x4e0bc5(0x590)];}_0x26c1c3['setUndoRedoMutationParamsCache']({'undoCache':_0x361eda,'redoCache':_0x34b1c7});}['_transformPreviousActiveRange'](_0x276bd6){const _0x5bf46e=_0x59f468,{unitID:_0x248caa}=_0x276bd6,_0x21038=this[_0x5bf46e(0x342)][_0x5bf46e(0x4cb)](_0x248caa)['with'](_0x3c4a23),_0x6a0054=_0x21038[_0x5bf46e(0x492)]();if(_0x6a0054==null)return;const _0x256ddf=[{'id':_0x5bf46e(0x392),'params':{'unitId':_0x276bd6[_0x5bf46e(0x405)],'actions':null,'textRanges':[_0x6a0054]}}],_0x44301c=this[_0x5bf46e(0x24f)][_0x5bf46e(0x3ce)](_0x276bd6,_0x256ddf);if(!_0x4d7745(_0x44301c))throw _0x44301c[_0x5bf46e(0x1ec)];const _0x2cdab4=_0x44301c['m2Prime'][0x0][_0x5bf46e(0x4c3)][_0x5bf46e(0x5a1)];Array[_0x5bf46e(0x53a)](_0x2cdab4)&&_0x2cdab4['length']&&_0x21038[_0x5bf46e(0x235)](_0x2cdab4[0x0]);}};Ot=_o([Gt(0x0,_0x222038(_0x2e1c56)),Gt(0x1,_0x4cb437),Gt(0x2,_0x4e56e4)],Ot);var uo=Object['defineProperty'],fo=Object[_0x59f468(0x368)],vo=(_0x52d76c,_0x2394e2,_0x14b9ea,_0xd0ccba)=>{const _0x2393b9=_0x59f468;for(var _0x142ae1=_0xd0ccba>0x1?void 0x0:_0xd0ccba?fo(_0x2394e2,_0x14b9ea):_0x2394e2,_0x258d73=_0x52d76c[_0x2393b9(0x21a)]-0x1,_0x226b88;_0x258d73>=0x0;_0x258d73--)(_0x226b88=_0x52d76c[_0x258d73])&&(_0x142ae1=(_0xd0ccba?_0x226b88(_0x2394e2,_0x14b9ea,_0x142ae1):_0x226b88(_0x142ae1))||_0x142ae1);return _0xd0ccba&&_0x142ae1&&uo(_0x2394e2,_0x14b9ea,_0x142ae1),_0x142ae1;},ze=(_0x38a8c4,_0x1b00b0)=>(_0x22bf6a,_0x4cccac)=>_0x1b00b0(_0x22bf6a,_0x4cccac,_0x38a8c4);let z=class extends _0x19fe63{constructor(_0x2f25eb,_0x16d8d3,_0x26e7d2,_0x2d7f4d,_0x1f8405){const _0x1961e4=_0x59f468;super(),g(this,_0x1961e4(0x35e),new Map()),g(this,'_saveTaskMap',new Map()),g(this,_0x1961e4(0x431),!0x1),(this['_configService']=_0x2f25eb,this[_0x1961e4(0x264)]=_0x16d8d3,this['_beforeCloseService']=_0x26e7d2,this[_0x1961e4(0x58c)]=_0x2d7f4d,this['_revisionService']=_0x1f8405,this[_0x1961e4(0x354)]());}[_0x59f468(0x1a8)](){const _0x57ea5b=_0x59f468;this[_0x57ea5b(0x431)]=!0x0;}[_0x59f468(0x5a7)](){this['_disabled']=!0x1;}[_0x59f468(0x1ba)](){const _0x5da46d=_0x59f468;this[_0x5da46d(0x574)]()[_0x5da46d(0x4dd)](()=>super[_0x5da46d(0x1ba)]());}async[_0x59f468(0x4e6)](_0x32ed3f){const _0x2b1108=_0x59f468;return this[_0x2b1108(0x431)]?null:this[_0x2b1108(0x264)]['getItem'](zs(_0x32ed3f));}async[_0x59f468(0x4a9)](_0x3c73a8,_0x29920c){const _0x4062dc=_0x59f468;return!!this[_0x4062dc(0x264)][_0x4062dc(0x238)](_0x3c73a8,_0x29920c);}[_0x59f468(0x2d2)](_0x305408,_0x4183f3,_0x500489,_0x24e3c9){const _0x144f1b=_0x59f468,_0x2ea82e=this[_0x144f1b(0x2b9)]['getCurrentRevOfUnit'](_0x305408);this[_0x144f1b(0x35e)]['set'](_0x305408,{'unitID':_0x305408,'type':_0x4183f3,'awaitingChangeset':_0x500489,'mutations':_0x24e3c9,'rev':_0x2ea82e}),this[_0x144f1b(0x4d2)][_0x144f1b(0x309)](_0x305408)||this[_0x144f1b(0x26f)](_0x305408);}['_scheduleSaving'](_0x45830c){const _0x3f1dbd=_0x59f468,_0x4d01f1=this['_getSaveTimeout']();_0x4d01f1===0x0?this['_saveCache'](_0x45830c):this[_0x3f1dbd(0x4d2)]['set'](_0x45830c,setTimeout(()=>this[_0x3f1dbd(0x208)](_0x45830c),_0x4d01f1));}[_0x59f468(0x28f)](){const _0x29157e=_0x59f468;var _0x4d247f;return(_0x4d247f=this[_0x29157e(0x58b)][_0x29157e(0x55d)](An))!=null?_0x4d247f:Mn;}[_0x59f468(0x208)](_0x70f44f){const _0x58b9a3=_0x59f468,_0x595a63=this[_0x58b9a3(0x4d2)][_0x58b9a3(0x25d)](_0x70f44f);return _0x595a63!==void 0x0&&window[_0x58b9a3(0x384)](_0x595a63),this[_0x58b9a3(0x264)][_0x58b9a3(0x238)](zs(_0x70f44f),this['_cachedData']['get'](_0x70f44f))[_0x58b9a3(0x4dd)](()=>this['_saveTaskMap']['delete'](_0x70f44f));}async[_0x59f468(0x574)](){const _0x29abe1=_0x59f468,_0x2eb4d7=[];this['_saveTaskMap'][_0x29abe1(0x3b0)]((_0x323bc2,_0x380bbb)=>{const _0x8d0ca3=_0x29abe1;window['clearTimeout'](_0x323bc2),_0x2eb4d7[_0x8d0ca3(0x4cf)](this[_0x8d0ca3(0x208)](_0x380bbb)[_0x8d0ca3(0x4dd)](()=>{const _0x5e551b=_0x8d0ca3;this[_0x5e551b(0x4d2)][_0x5e551b(0x29e)](_0x380bbb);}));}),await Promise['all'](_0x2eb4d7);}['_setupBeforeClosingHandler'](){const _0x6d5e46=_0x59f468;this['disposeWithMe'](this['_beforeCloseService'][_0x6d5e46(0x4c9)](()=>{const _0x290023=_0x6d5e46;if(this[_0x290023(0x4d2)][_0x290023(0x49b)])return this[_0x290023(0x58c)]['t'](_0x290023(0x414));}));}};z=vo([ze(0x0,_0x486aed),ze(0x1,_0x18521c),ze(0x2,_0x28b31b),ze(0x3,_0x222038(_0x52880d)),ze(0x4,_0x222038(_0x21f454))],z);function zs(_0x40932e){const _0x4a2914=_0x59f468;return _0x4a2914(0x31f)+_0x40932e;}var po=Object[_0x59f468(0x29a)],mo=Object[_0x59f468(0x368)],go=(_0x2cd5d9,_0x4e4eab,_0x16e557,_0x2b141f)=>{for(var _0x4cef0b=_0x2b141f>0x1?void 0x0:_0x2b141f?mo(_0x4e4eab,_0x16e557):_0x4e4eab,_0xa96ecf=_0x2cd5d9['length']-0x1,_0x54c9c2;_0xa96ecf>=0x0;_0xa96ecf--)(_0x54c9c2=_0x2cd5d9[_0xa96ecf])&&(_0x4cef0b=(_0x2b141f?_0x54c9c2(_0x4e4eab,_0x16e557,_0x4cef0b):_0x54c9c2(_0x4cef0b))||_0x4cef0b);return _0x2b141f&&_0x4cef0b&&po(_0x4e4eab,_0x16e557,_0x4cef0b),_0x4cef0b;},Yt=(_0x537067,_0x187fb2)=>(_0x201ee8,_0x51a8da)=>_0x187fb2(_0x201ee8,_0x51a8da,_0x537067);function So(_0x3598f6){const {unitID:_0x29e132,mutations:_0x349ce3}=_0x3598f6;return{'unitId':_0x29e132,'subUnitId':_0x349ce3[0x0]['params']['subUnitId']};}let yt=class{constructor(_0xf4e065,_0x28ed26,_0x54e38e){const _0x1173f0=_0x59f468;this[_0x1173f0(0x351)]=_0xf4e065,this['_transformService']=_0x28ed26,this['_instanceService']=_0x54e38e;}[_0x59f468(0x391)](_0x2efe0a){const _0x27181e=_0x59f468;var _0x46a6b9,_0x443931,_0x2d1f39,_0x1c6f6b;const _0x53ba0b=this[_0x27181e(0x351)][_0x27181e(0x25d)](_0x49c3d1),{unitId:_0x114f70,subUnitId:_0x3f46ca}=So(_0x2efe0a),_0x46f6fe=_0x53ba0b[_0x27181e(0x499)](_0x114f70)['getCurrentSelections'](),_0x3056a1=(_0x443931=(_0x46a6b9=this[_0x27181e(0x46c)][_0x27181e(0x579)](_0x114f70))==null?void 0x0:_0x46a6b9[_0x27181e(0x561)]())==null?void 0x0:_0x443931[_0x27181e(0x51d)]();if(_0x46f6fe[_0x27181e(0x21a)]===0x0||!_0x114f70||!_0x3f46ca)return;const _0x3df75b=[{'id':_0x20d3bf['id'],'params':{'unitId':_0x114f70,'subUnitId':_0x3056a1,'selections':_0x218f61[_0x27181e(0x217)](_0x46f6fe)}}],_0x5f650a=this[_0x27181e(0x24f)][_0x27181e(0x3ce)](_0x2efe0a,_0x3df75b);if(!_0x4d7745(_0x5f650a))throw _0x5f650a[_0x27181e(0x1ec)];const _0x389fbf=(_0x1c6f6b=(_0x2d1f39=_0x5f650a[_0x27181e(0x388)][0x0])==null?void 0x0:_0x2d1f39[_0x27181e(0x4c3)])==null?void 0x0:_0x1c6f6b[_0x27181e(0x365)];if(Array[_0x27181e(0x53a)](_0x389fbf)&&_0x389fbf[_0x27181e(0x21a)]){if(_0x389fbf[_0x27181e(0x21a)]===_0x3df75b[0x0][_0x27181e(0x4c3)]['selections'][_0x27181e(0x21a)]&&_0x389fbf[_0x27181e(0x3f7)]((_0x38fb2b,_0x53396f)=>_0x23bbd9[_0x27181e(0x37e)](_0x38fb2b[_0x27181e(0x1d8)],_0x3df75b[0x0][_0x27181e(0x4c3)][_0x27181e(0x365)][_0x53396f]['range'])))return;this[_0x27181e(0x351)]['get'](_0x1e017f)['executeCommand'](_0x20d3bf['id'],{'unitId':_0x114f70,'subUnitId':_0x3056a1,'selections':_0x389fbf});}}};yt=go([Yt(0x0,_0x222038(_0x2e1c56)),Yt(0x1,_0x4cb437),Yt(0x2,_0xd7de45)],yt);const Ht=_0x4fa8ac(_0x59f468(0x246));var Yi=(_0x245ff7=>(_0x245ff7[_0x245ff7[_0x59f468(0x2e5)]=0x0]=_0x59f468(0x2e5),_0x245ff7[_0x245ff7[_0x59f468(0x5a5)]=0x1]=_0x59f468(0x5a5),_0x245ff7))(Yi||{});const Xs=0x7530,Js=_0x59f468(0x49c);class Io extends _0x19fe63{constructor(){const _0x16ab26=_0x59f468;super(),g(this,_0x16ab26(0x1d5),_0x218f61[_0x16ab26(0x278)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x16ab26(0x19f),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x16ab26(0x572),new Map()),g(this,_0x16ab26(0x3f4),new Map()),this[_0x16ab26(0x59d)]();}[_0x59f468(0x1ba)](){const _0x27a31d=_0x59f468;super[_0x27a31d(0x1ba)](),this[_0x27a31d(0x572)][_0x27a31d(0x3b0)]((_0x8c61ba,_0x2f2074)=>this[_0x27a31d(0x205)](_0x2f2074)),this[_0x27a31d(0x470)]&&window[_0x27a31d(0x4c6)](this['_heartbeatTimer']);}[_0x59f468(0x42f)](_0x351137){const _0x21f9ff=_0x59f468;return this[_0x21f9ff(0x4b8)](_0x351137)[_0x21f9ff(0x318)](_0x42e448());}[_0x59f468(0x3a8)](_0x3bdba5){const _0x5b58d1=_0x59f468;this['_selfUnitIDs'][_0x5b58d1(0x49b)]===0x0&&this[_0x5b58d1(0x5a4)](),this['_selfUnitIDs']['add'](_0x3bdba5),this[_0x5b58d1(0x3e2)]({'type':0x0,'memberID':this[_0x5b58d1(0x1d5)],'unitIDs':[_0x3bdba5],'isForwarded':!0x1});}[_0x59f468(0x287)](_0x213398){const _0x3fbbd1=_0x59f468;this[_0x3fbbd1(0x408)][_0x3fbbd1(0x29e)](_0x213398),this[_0x3fbbd1(0x408)][_0x3fbbd1(0x49b)]===0x0&&this[_0x3fbbd1(0x470)]&&window[_0x3fbbd1(0x4c6)](this[_0x3fbbd1(0x470)]);}[_0x59f468(0x59d)](){const _0x5bf136=_0x59f468;this['disposeWithMe'](_0x510055(_0x92f771(window,_0x5bf136(0x1ad))[_0x5bf136(0x347)](_0x1af89a=>{const _0x9b5334=_0x5bf136;if(_0x1af89a['key']!==Js||!_0x1af89a['newValue'])return;const _0x12725a=JSON[_0x9b5334(0x2e1)](_0x1af89a[_0x9b5334(0x2f4)]);this[_0x9b5334(0x2ad)](_0x12725a);}))),window[_0x5bf136(0x59a)](_0x5bf136(0x220),()=>this[_0x5bf136(0x3e2)]({'type':0x1,'memberID':this[_0x5bf136(0x1d5)],'unitIDs':Array[_0x5bf136(0x30f)](this[_0x5bf136(0x408)])}));}[_0x59f468(0x2ad)](_0x1aafbc){const _0x399a89=_0x59f468;switch(_0x1aafbc[_0x399a89(0x2b2)]){case 0x0:this[_0x399a89(0x19b)](_0x1aafbc);break;case 0x1:this['_handleLeaveEvent'](_0x1aafbc);break;case 0x2:this[_0x399a89(0x22c)](_0x1aafbc);break;}}[_0x59f468(0x19b)](_0x1ccf59){const _0x1e488c=_0x59f468,{unitIDs:_0x1f4765,memberID:_0x47f3e0,isForwarded:_0x49a9a0}=_0x1ccf59;_0x1f4765[_0x1e488c(0x3b0)](_0x50bffb=>{const _0x163f09=_0x1e488c;if(!_0x49a9a0&&this[_0x163f09(0x19f)][_0x163f09(0x309)](_0x50bffb)&&this[_0x163f09(0x4b8)](_0x50bffb)['next'](0x1),!this['_unitOnClients'][_0x163f09(0x309)](_0x50bffb)||!this[_0x163f09(0x19f)][_0x163f09(0x25d)](_0x50bffb)[_0x163f09(0x309)](_0x47f3e0)){const _0x52b1ce=this[_0x163f09(0x19f)][_0x163f09(0x25d)](_0x50bffb)||new Set();_0x52b1ce[_0x163f09(0x3ab)](_0x47f3e0),this[_0x163f09(0x19f)][_0x163f09(0x279)](_0x50bffb,_0x52b1ce),this[_0x163f09(0x2da)](_0x47f3e0);}}),_0x49a9a0||this[_0x1e488c(0x3e2)]({'type':0x0,'memberID':this[_0x1e488c(0x1d5)],'unitIDs':[...this[_0x1e488c(0x408)]],'isForwarded':!0x0});}[_0x59f468(0x2da)](_0x483cf7){const _0x2574dd=_0x59f468;this[_0x2574dd(0x205)](_0x483cf7);const _0x435d48=window[_0x2574dd(0x2b7)](()=>{const _0x3fd294=_0x2574dd;this[_0x3fd294(0x19f)]['forEach'](_0x133b70=>{_0x133b70['delete'](_0x483cf7);});},Xs*0x2);this[_0x2574dd(0x572)][_0x2574dd(0x279)](_0x483cf7,_0x435d48);}[_0x59f468(0x205)](_0xf36209){const _0x3dc1ce=_0x59f468;if(this['_clearOtherTimers'][_0x3dc1ce(0x309)](_0xf36209)){const _0x44b45f=this[_0x3dc1ce(0x572)][_0x3dc1ce(0x25d)](_0xf36209);_0x44b45f&&window[_0x3dc1ce(0x384)](_0x44b45f),this[_0x3dc1ce(0x572)][_0x3dc1ce(0x279)](_0xf36209,null);}}['_handleLeaveEvent'](_0x187a8d){const _0x49adbd=_0x59f468,{memberID:_0x2793cb,unitIDs:_0x43369d}=_0x187a8d;_0x43369d[_0x49adbd(0x3b0)](_0x32daff=>{const _0x5e33c8=_0x49adbd;var _0x3e209e;const _0x11b0f6=this[_0x5e33c8(0x19f)][_0x5e33c8(0x25d)](_0x32daff);_0x11b0f6&&(_0x11b0f6[_0x5e33c8(0x29e)](_0x2793cb),(_0x3e209e=this[_0x5e33c8(0x4b8)](_0x32daff))==null||_0x3e209e[_0x5e33c8(0x307)](_0x11b0f6[_0x5e33c8(0x49b)]===0x0?0x0:0x1));}),this[_0x49adbd(0x205)](_0x2793cb);}['_handleHeartbeatEvent'](_0x5badd7){const _0x550f12=_0x59f468;this[_0x550f12(0x2da)](_0x5badd7[_0x550f12(0x31e)]);}['_send'](_0x4b7033){const _0x1a30c2=_0x59f468;localStorage[_0x1a30c2(0x238)](Js,JSON[_0x1a30c2(0x3fc)](_0x4b7033));}[_0x59f468(0x5a4)](){const _0x4eb0ae=_0x59f468;this[_0x4eb0ae(0x470)]=window[_0x4eb0ae(0x540)](()=>{const _0x5e831a=_0x4eb0ae;this['_send']({'type':0x2,'memberID':this[_0x5e831a(0x1d5)]});},Xs);}['_ensureSubject'](_0x10d92a){const _0x310c71=_0x59f468;return this[_0x310c71(0x3f4)]['has'](_0x10d92a)||this[_0x310c71(0x3f4)][_0x310c71(0x279)](_0x10d92a,new _0x1f1fc6(0x0)),this[_0x310c71(0x3f4)][_0x310c71(0x25d)](_0x10d92a);}}var Co=Object[_0x59f468(0x29a)],Eo=Object[_0x59f468(0x368)],bo=(_0x2051ff,_0x39843b,_0x3edae1,_0x226307)=>{const _0xd6284=_0x59f468;for(var _0x5618e4=_0x226307>0x1?void 0x0:_0x226307?Eo(_0x39843b,_0x3edae1):_0x39843b,_0x5d34e8=_0x2051ff[_0xd6284(0x21a)]-0x1,_0x28ba2a;_0x5d34e8>=0x0;_0x5d34e8--)(_0x28ba2a=_0x2051ff[_0x5d34e8])&&(_0x5618e4=(_0x226307?_0x28ba2a(_0x39843b,_0x3edae1,_0x5618e4):_0x28ba2a(_0x5618e4))||_0x5618e4);return _0x226307&&_0x5618e4&&Co(_0x39843b,_0x3edae1,_0x5618e4),_0x5618e4;},Kt=(_0xc2789c,_0xc8878a)=>(_0x19ddeb,_0x2ad07c)=>_0xc8878a(_0x19ddeb,_0x2ad07c,_0xc2789c);let wt=class{constructor(_0x4c7893,_0x2a302c,_0x67a4f4){const _0x46d356=_0x59f468;this[_0x46d356(0x351)]=_0x4c7893,this[_0x46d356(0x24f)]=_0x2a302c,this[_0x46d356(0x5b4)]=_0x67a4f4;}['transformStateCache'](_0x1c9bb2){this['_transformHistoryAndStateStack'](_0x1c9bb2);}[_0x59f468(0x425)](_0x8a6bbb){const _0x8daa69=_0x59f468,{unitID:_0x424c91}=_0x8a6bbb,{collaboration:_0x58540c}=this[_0x8daa69(0x5b4)]['getStateCache'](_0x424c91);if(_0x58540c['length']===0x0)return _0x8a6bbb;let _0x24fd03=_0x218f61[_0x8daa69(0x217)](_0x8a6bbb[_0x8daa69(0x1a2)][0x0]);for(let _0x197df8=0x0;_0x197df8<_0x58540c[_0x8daa69(0x21a)];_0x197df8++){const _0x5cc67c={'id':_0x8daa69(0x392),'params':{'unitId':_0x58540c[_0x197df8]['unitId'],..._0x58540c[_0x197df8][_0x8daa69(0x248)]}},_0x5e9da5=this['_transformService'][_0x8daa69(0x591)](_0x24fd03,_0x5cc67c,!0x1);if(_0x18387e(_0x5e9da5))throw _0x5e9da5[_0x8daa69(0x1ec)];_0x24fd03=_0x5e9da5['m1Prime'];}return{..._0x218f61[_0x8daa69(0x217)](_0x8a6bbb),'mutations':[_0x24fd03]};}[_0x59f468(0x484)](_0x1fb719){const _0x3dcfec=_0x59f468,{unitID:_0x4da50b}=_0x1fb719,{history:_0x388ef4,collaboration:_0x564bf0}=this['_docStateChangeManagerService']['getStateCache'](_0x4da50b);if(_0x388ef4['length']===0x0&&_0x564bf0[_0x3dcfec(0x21a)]===0x0)return;const _0x29711e=[],_0x5c2603=[];let _0x312a27=_0x218f61['deepClone'](_0x1fb719[_0x3dcfec(0x1a2)][0x0]),_0x3c2c2c=_0x218f61['deepClone'](_0x1fb719[_0x3dcfec(0x1a2)][0x0]);for(let _0x155da3=_0x388ef4['length']-0x1;_0x155da3>=0x0;_0x155da3--){const _0x1fc5bb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x388ef4[_0x155da3][_0x3dcfec(0x51a)],..._0x388ef4[_0x155da3]['undoState']}},_0x2b0759={'id':_0x3dcfec(0x392),'params':{'unitId':_0x388ef4[_0x155da3]['unitId'],..._0x388ef4[_0x155da3][_0x3dcfec(0x248)]}},_0x421c9b=this[_0x3dcfec(0x24f)]['transformMutation'](_0x312a27,_0x1fc5bb,!0x1),_0x46a64f=this[_0x3dcfec(0x24f)][_0x3dcfec(0x591)](_0x3c2c2c,_0x2b0759,!0x1);if(_0x18387e(_0x421c9b))throw _0x421c9b['error'];if(_0x18387e(_0x46a64f))throw _0x46a64f['error'];_0x29711e[_0x3dcfec(0x39e)]({..._0x388ef4[_0x155da3],'undoState':_0x421c9b[_0x3dcfec(0x388)][_0x3dcfec(0x4c3)],'redoState':_0x46a64f[_0x3dcfec(0x388)][_0x3dcfec(0x4c3)]}),_0x312a27=_0x421c9b[_0x3dcfec(0x590)],_0x3c2c2c=_0x46a64f[_0x3dcfec(0x590)];}_0x312a27=_0x218f61[_0x3dcfec(0x217)](_0x1fb719[_0x3dcfec(0x1a2)][0x0]),_0x3c2c2c=_0x218f61[_0x3dcfec(0x217)](_0x1fb719['mutations'][0x0]);for(let _0x43c195=_0x564bf0[_0x3dcfec(0x21a)]-0x1;_0x43c195>=0x0;_0x43c195--){const _0x3797e9={'id':_0x3dcfec(0x392),'params':{'unitId':_0x564bf0[_0x43c195][_0x3dcfec(0x51a)],..._0x564bf0[_0x43c195]['undoState']}},_0x188a52={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x564bf0[_0x43c195]['unitId'],..._0x564bf0[_0x43c195][_0x3dcfec(0x248)]}},_0x55da5b=this[_0x3dcfec(0x24f)]['transformMutation'](_0x312a27,_0x3797e9,!0x1),_0x1b129c=this[_0x3dcfec(0x24f)]['transformMutation'](_0x3c2c2c,_0x188a52,!0x1);if(_0x18387e(_0x55da5b))throw _0x55da5b[_0x3dcfec(0x1ec)];if(_0x18387e(_0x1b129c))throw _0x1b129c[_0x3dcfec(0x1ec)];_0x5c2603[_0x3dcfec(0x39e)]({..._0x564bf0[_0x43c195],'undoState':_0x55da5b['m2Prime'][_0x3dcfec(0x4c3)],'redoState':_0x1b129c[_0x3dcfec(0x388)][_0x3dcfec(0x4c3)]}),_0x312a27=_0x55da5b[_0x3dcfec(0x590)],_0x3c2c2c=_0x1b129c[_0x3dcfec(0x590)];}this[_0x3dcfec(0x5b4)][_0x3dcfec(0x240)](_0x4da50b,{'history':_0x29711e,'collaboration':_0x5c2603});}};wt=bo([Kt(0x0,_0x222038(_0x2e1c56)),Kt(0x1,_0x4cb437),Kt(0x2,_0x222038(_0x2a72d5))],wt);function Ki(_0x2ce5f7){let _0x14c158='';for(const _0xbef104 of _0x2ce5f7){const {startOffset:_0x1eb3f2,endOffset:_0x4ecfdf,isActive:_0x4cbff4,rangeType:_0xce6cdb,segmentId:_0x907fcd,segmentPage:_0x2762c3}=_0xbef104;_0x14c158['length']&&(_0x14c158+=','),_0x14c158+=_0x1eb3f2+':'+_0x4ecfdf+':'+(_0x4cbff4?'1':'0')+':'+_0xce6cdb+':'+_0x907fcd+':'+_0x2762c3;}return _0x14c158;}function To(_0x32e5c8){const _0x5bbf28=_0x59f468,_0x109b20=_0x32e5c8['split'](','),_0x8e4c40=[];for(const _0x4c0a65 of _0x109b20){const [_0x3af8d8,_0x20d4d2,_0x4820da,_0x3fedfd,_0x1e4223,_0x4efe5b]=_0x4c0a65['split'](':');_0x8e4c40[_0x5bbf28(0x4cf)]({'startOffset':Number(_0x3af8d8),'endOffset':Number(_0x20d4d2),'collapsed':_0x3af8d8===_0x20d4d2,'isActive':_0x4820da==='1','rangeType':_0x3fedfd===_0x638c4d['TEXT']?_0x638c4d[_0x5bbf28(0x509)]:_0x638c4d['RECT'],'segmentId':typeof _0x1e4223==_0x5bbf28(0x2fb)?String(_0x1e4223):'','segmentPage':Number(_0x4efe5b!=null?_0x4efe5b:-0x1)});}return _0x8e4c40[_0x5bbf28(0x3d8)](_0x2a8084=>_0x2a8084[_0x5bbf28(0x29f)])||(_0x8e4c40[0x0][_0x5bbf28(0x29f)]=!0x0),_0x8e4c40;}class Ds extends _0x2c59cd{constructor(){const _0x45e7f0=_0x59f468;super(...arguments),g(this,_0x45e7f0(0x292),new _0x1f1fc6(null)),g(this,'collabCursorState$',this['_collabCursorState$'][_0x45e7f0(0x472)]());}['syncEditingCollabCursor'](_0x39ebf4){const _0x1c340e=_0x59f468,{unitID:_0x49b679,memberID:_0xd17e4f,textRanges:_0x1d0ff5}=_0x39ebf4,_0x19d05a=Ki(_0x1d0ff5);if(_0x19d05a==='')return;const _0x6aa70c={'unitID':_0x49b679,'memberID':_0xd17e4f,'selection':_0x19d05a};this[_0x1c340e(0x292)][_0x1c340e(0x307)](_0x6aa70c);}}var Ro=Object[_0x59f468(0x29a)],Oo=Object['getOwnPropertyDescriptor'],yo=(_0x452b02,_0x472986,_0x5eb8a9,_0x3029bf)=>{const _0x2ac7fd=_0x59f468;for(var _0x51fe57=_0x3029bf>0x1?void 0x0:_0x3029bf?Oo(_0x472986,_0x5eb8a9):_0x472986,_0x17ed2b=_0x452b02[_0x2ac7fd(0x21a)]-0x1,_0x58911d;_0x17ed2b>=0x0;_0x17ed2b--)(_0x58911d=_0x452b02[_0x17ed2b])&&(_0x51fe57=(_0x3029bf?_0x58911d(_0x472986,_0x5eb8a9,_0x51fe57):_0x58911d(_0x51fe57))||_0x51fe57);return _0x3029bf&&_0x51fe57&&Ro(_0x472986,_0x5eb8a9,_0x51fe57),_0x51fe57;},Zs=(_0x201d69,_0x326238)=>(_0x13c424,_0x2c929d)=>_0x326238(_0x13c424,_0x2c929d,_0x201d69);function _0x23ae(){const _0x15cbc9=['univer-online-status','_collaborationTimeoutTimer','every','_HTTPService','padding','Base64','_initDependencies','stringify','fill','_retryCount','_collabSessionService','jsxs','_resendWithTimeout','DeleteRangeMoveUpCommandId','_unitID','getUniverSheetInstance','unitID','responseType','collaboration-session-retry','_selfUnitIDs','HEARTBEAT_INTERVAL','_tryReconnect','batchAllowed','sessionTicket','/universer-api/authz','objectType','permissionRejEvent','resize','UNRECOGNIZED','headers','_telemetryInfo','collaboration-client.offline-data-not-saved','_applyRemoteChangeset','onlineStatus','reqId','_getCtorByUniverType','addObjects','_substituteUndoStack','splice','ENSURE_SNAPSHOT_EXECUTION','onRemoteChangeset','_getSendChangesetTimeout','transformUndoRedo','trim','_changesetSessionId','_lockTransition','children','\x0aAfter:\x20','transformRemoteChangeset','objectID','arc','hasher','pad','min','sendChangesetTimeout','[OfflineState]:\x20received\x20changeset.','Utf8','_refreshCollabCursors','getUnitStatus$','colorChannel1','_disabled','_incrementRevisionNumber','default','visibilitychange','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','rgba(255,\x20255,\x20255,\x200.01)','NOT_COLLAB','[CollaborationSessionService]:\x20socket\x20error','transformStack\x20failed!','_memberService','collabSubmitChangesetUrl','liveShareNewHost','init','blockSize','_fetchMissChangesets','getOwnPropertySymbols','registerHTTPInterceptor','FETCH_MISSING','body','CHANGESET_SHOULD_RETRY','collaboratorID','JOIN_ROOM_FULL','_clearCollaborationTimeoutTimer','encodeURIComponent','getRangePointData','for','UNIVER_COLLABORATION_CLIENT_PLUGIN','getValue','_cursors','update','_telemetryService','userID','_doReset','defs','_waitForHeartbeatResponse','_startTelemetryCollaborationNewChangeset','max','purple300','onPointerEnter$','close','black','0\x200\x2017\x2016','joinRsp','collaboration.closeRoom','close$','InsertRangeMoveDownCommandId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','with','LIVESHARE_FETCH_OPERATIONS','_collaborationSessionService','message$','_initResize','LOCAL_CACHE_INTERVAL','assign','_hash','clamp','collabStatus.synced','imageSourceType','_instanceService','[OfflineState]:\x20received\x20rejection.','/collaborator','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_heartbeatTimer','getResourcesRequest','asObservable','1523654DGtWGE','APPLY_REJECT','Error\x20on\x20receiving\x20event','_sessions','_clearTimeoutTimer','color','retryConnectingInterval','_entities','kdf','_oKey','key','UnitSnapshot','_doFinalize','_color','setConfig','/universer-api/snapshot','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformHistoryAndStateStack','createDecryptor','16EdIRvu','propertyIsEnumerable','onRemoteAck','fetch_missing','_nDataBytes','debug','name','PSEUDO_FETCH_MISSING_RESULT','title','enc','duration','_exhaustRemoteChangesetQueue','getActiveRange','originalMeta','_initStatusListener','isPermissionRej','EvpKDF','COMPRESS_MUTATION_APPLY','_listenToOfflineEvent','getWorkbookSelections','DEFAULT_FILE_NAME','size','ACTIVE_UNIT_EVENT_CHANNEL','_sendHeartbeatTimer','_replayCachedMutations','COMPRESS_MUTATION_SEND','open$','toString','COLLAB_SUBMIT_CHANGESET_URL','_updateSubUnitFromURLParams','source','[CollaborationState]:\x20apply\x20error!','MD5','_getSessionTicket','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','saveOfflineData','PasswordBasedCipher','rng','_executeRemoteChangeset','_candidateSocket','resend','AES','attrs','univer-online-status-icon','pending','socket\x20close','popstate','UNIVER_SLIDE','_remoteChangesetQueue','_document','_ensureSubject','OnLineSingle','replaceState','algo','rev','lib','HttpExport','_imageSourceCache','MUTATION','sheetId','_listenToOnlineEvent','params','assignAColorForMemberID','list','clearInterval','fillStyle','toLowerCase','registerBeforeClose','conflict.title','getRenderById','getRandomValues','updateCursorEvent','listRoles','push','triggerDblclick','_initEventListeners','_saveTaskMap','_uiPartsService','currentSkeleton$','_sendingTimer','registerRefRange','origin','[PendingState]:\x20unhandled\x20univer\x20type:\x20','readInt32LE','_hover','AWAITING_WITH_PENDING','drawWith','then','unit','_transformUndoRedoStack','__creator','collaboration-client.config','disposeWithMe','url(#off-line-single_clip0_910_343)','_updateLocalCache','path','loadOfflineData','LICENSE_DISTRO_REJECTED','SNAPSHOT_URL_KEY','values','clone','_urlService','SYNCED','compose','0\x200\x2016\x2016','fetchThroughInterceptors','UNAUTHENTICATED','on-line-single','searchParams','_pendingMutations','mode','reject','_colorAssignService','BlockCipher','setParam','UNIVER_DOC','onCommentUpdate','_xformMode','_event$','_createInitialState','joinEvent','StreamCipher','_roomMembers','sin','_colorIndex','onTransformSelections','text','_startCollaboration','pushState','SHA1','UnitEmbedded','TEXT','_sheetSkeletonManagerService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','urlChange$','reduce','LICENSE_IMPORT_SIZE_EXCEEDED','collabStatus.fetchMiss','onStateChange','clipPath','red300','_singleActiveUnitService','closeSession','NoPadding','translate(.97)','_substituteRedoStack','SHOULD_CLOSE_CONN','encode','unitId','_onJoinRoomEvent','function','getSheetId','awaiting_with_pending','reverse','words','extend','_config','_iKey','image/jpg','_univerInstanceService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','roles','_process','event$','_state$','fromCharCode','FileId','_onConflict','_initMergeInterceptor','getSkeleton','onTransformIME','onRemoteRetry','filter','syncEditingCollabCursor','_timeoutTimer','csRejEvent','_stopTelemetryCollaborationNewChangeset','_docClipboardService','unitId\x20is\x20not\x20found','history','isArray','RemoveColCommandId','put','workbook','SEND_CHANGESET_TIMEOUT','NOT_FOUND','setInterval','interceptor','getCurrentUser','startTime','_disableEditing','_shouldReportTelemetry','UNDEFINED','getLatestCsReqIdBySid','_commentUpdate$','xlink:href','jsx','_beforeCloseService','url(#on-line-single_clip0_910_349)','_commandService','_labelPosition','_context','InsertColCommandId','PERMISSION_DENIED','AWAITING','offline','_collabCursorController','RECT','Base','cursorInfo$','getCurrentUnitForType','_submitChangeset','url(#$1','_transformIMECache','requireSession','getConfig','_toggleOffline','collaboration_new_changeset','[DataLoaderController]','getActiveSheet','BASE64','UPDATE_CURSOR','_startSheetCollabCursor','FAIL','byteLength','number','_lastPointer','_handler','onTransformState','online','_type','getOffsetConfig','LIVESHARE_TERMINATE','state$','collaboration.single-unit.warning','[PendingState]:\x20received\x20rejection.','_clearOtherTimers','_transformRemoteChangesetByIMECache','exhaustSavingTask','sid','JOIN','currentTheme$','_commentService','getUnit','_getAPIPrefix','__esModule','infoRsp','focused$','commentUpdate$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CONFLICT','_syncEditingCollabCursor','_append','visibilityState','actions','random','3666gkTxsZ','reconnect','_socket','SNAPSHOT_INVALID_SNAPSHOT','clear','_configService','_localeService','_range','onMouseMove','encryptBlock','m1Prime','transformMutation','POST','apply','transformChangesets','application/json','_nRounds','not_collab','closePath','Malformed\x20UTF-8\x20data','addEventListener','_retryConnectingTimer','getUnhiddenWorksheets','_init','_changesetReqId','_anchor','AUTHZ_URL_KEY','textRanges','YUUMI_RATE_OVER_LIMIT','charCodeAt','_scheduleHeartbeat','OTHER_CLIENTS_EDITING','INGEST','enableLocalCache','SUBMIT_CHANGESET','roomInfos','randomUUID','symbol','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','_onUserLeave','onMissedChangesetFetched','_DEC_XFORM_MODE','/object/','loadDoc','Unknown\x20user','LIVESHARE_REQUEST_HOST','_docStateChangeManagerService','_onRemoteRetry','Hex','\x20to\x20','evenodd','_render','3008697RHvAGJ','_parse','Warning','_handleJoinEvent','_userManagerService','getCellPositionByOffset','_backgroundColor','_unitOnClients','_anchorDot','985380KouijM','mutations','verdancy600','setCurrentUser','loadSheet','_registerDependencies','session.collaboration-timeout','disableLocalCache','formatter','onSyncEditingCollabCursor','method','mixIn','storage','HmacMD5','$super','fetchMissingChangesets','eventID','_socket$','/resources','keySize','current','error$','_keyPriorReset','getUndoRedoMutationParamsCache','listCollaborators','dispose','SNAPSHOT_SERVER_URL_KEY','loginUrlKey','UNIVER_PROJECT','_roomMembers$','_createSocketURL','_key','icon','_createSocket','routeKey','_docTransformIMECacheService','setAlpha','_status$','execute','onPointerLeave$','height','_localCacheService','_undoRedoService','Decryptor','setWaitCount','_hovered','enableSingleActiveInstanceLock','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','MoveRangeCommandId','&source=','prototype','createSocket','_id','session.connection-failed','PERSON','range','onSendChangeset','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','now','setShowComponents','_cursor','[OfflineState]:\x20received\x20acknowledgement.','moveTo','font','catch','_waitCount','roomMembers$','_getUploadFileURL','onload','confirm','_draw','status','_updateCollabCursors','UNKNOWN_CMD','iterations','error','ERROR_IMAGE','_sender','_hasher','svg','_updateState','hide','_onConnectionFailed','width','/allowed','auth.needGotoLoginAlert','unknown','/universer-api/comb','NEW_CHANGESETS','_sessionStatus$','engine','_online','Encryptor','Univer','_onFetchMissResult','_resendTimeout','MSG_FOR_ERROR','action','encrypt','authzUrl','_removeClearOtherTimer','startColumn','Hasher','_saveCache','_themeService','_notificationService','_docSkeleton','/unit/','Latin1','failed\x20to\x20apply\x20missed\x20changesets!','WordArray','univer-online-status-title','removeMember','LIVESHARE_NEW_HOST','_onRemoteChangeset','_onCursorDelete','status$','processBlock','deepClone','Undefined','getInterceptPoints','length','_getLoginPath','_onRemoteACK','subunit','_joinRoom','getSheetBySheetId','unload','_eventUnsubscribe','/role','/block/','BlockCipherMode','defIds','csAckEvent','_onConnectionOpen','toRgbString','restore','_doCryptBlock','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_handleHeartbeatEvent','change$','findNodePositionByCharIndex','cursorInfo','charAt','signUrlServerUrl','onTransformRemoteChangesetByStateCache','data','readAsDataURL','setActiveRange','onRemoteRej','addImageSourceCache','setItem','[UniverCollaborationClientPlugin]','_showConflictNotification','USERS_LEAVE','onReady','uploadFileServerUrl','connection\x20error','reset','setStateCache','YUUMI_UNABLE_LOAD_URL','getTypeOfUnitAdded$','getUnitType','_change$','CHANGESET_REJ','univer-pro.collaboration-client.single-active-unit-service','repeat','redoState','/-/object/-/batch_allowed','startRow','state','_socketReady','getDocRanges','wsSessionTicketUrl','_transformService','none','getTime','create','bottom','collaborators','collabWebSocketUrl','_scheduleCollaborationTimeoutTimer','toggleOffline','_queuedRemoteChangesets','FromArray','contains','beginPath','getUnitId','get','requestParams','_transformRemoteChangesetByStateCache','saveSnapshot','ALREADY_EXISTS','_ws','[SyncedState]:\x20received\x20acknowledgement.','_localStorageService','format','TOO_MANY_REQUESTS','image/png','_keySchedule','_onRecvEvent','_iv','round','_members','uni.network.url-service','ERROR_IMAGE_TYPE','_scheduleSaving','labelPosition','join','measureText','use','_onUserJoin','appendMutation','[CollaborationSession]','displayName','generateRandomId','set','_snapshotService','sessionStatus$','makeDirty','IDLE','collabStatus.notCollab','shouldCloseConn','_clearLocalCache','conflict','getCollabCursors$','ciphertext','ws://127.0.0.1:8000/universer-api/comb/connect','_ENC_XFORM_MODE','send','disposeUnit','SNAPSHOT_HAS_BEEN_REMOVED','_loadDoc','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','HEARTBEAT','_refRangeService','_drawRectRange','onMissingChangesets','_getSaveTimeout','_data','submit\x20changeset\x20error!','_collabCursorState$','column','json','ERROR_EXCEED_SIZE','_doProcessBlock','HttpImport','addObject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','defineProperty','_resendTimer','_initCloseConn','_snapshotServerService','delete','isActive','onTransformRemoteChangesetByIMECache','\x20-\x20','_socketService','6415sWZITU','_getDownloadEndpointURL','find','editing\x20status\x20changed\x20to','_scene','Error','SerializableCipher','_startDocCollabCursor','react.fragment','getMember','_handleEvent','gold400','_minBufferSize','UNIVER_SHEET','code','type','saveImage','className','getCollabEntity$','session','setTimeout','_transformStateCache','_revisionService','_map','YUUMI_URL_COL_OUT_OF_RANGE','roomMembers','_initRequestHeader','_collaborationPaused','_transformUndoredo','OpenSSL','executeCommand','_getMergeRange','PENDING','getDeserializedSheetBlock','dispose$','_createHelper','getRoom','_docSkeletonManagerService','onlyLocal','RemoveRowCommandId','url','UNIVER_UNKNOWN','updatePermissionObjEvent','replace','decryptBlock','ceil','FETCH_MISS','updateOfflineData','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','_onCursorUpdate','_decreaseWaiting','tag','incrementRevOfUnit','createInstance','HMAC','_scheduleClearOtherTimer','setShapeProps','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startsWith','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','toggleOnline','__Key__','parse','COMMENT_UPDATE','UPDATE_PERMISSION_OBJ','_getAPIPrefixPath','NO_OTHER_CLIENTS_EDITING','CHANGESET_REVISION_CONFILICT','_httpService','_acknowledgedAwaitingChangeset','objects','collab-rect-range-','HELLO','_shapes','off-line-single_clip0_910_343','_transitionLocked','registerComponent','href','_setupSubUnitSync','entries','VIEW_MAIN','newValue','_prevBlock','_undoStacks','LEAVE','includes','_reverseMap','SUCCUSS','string','currentColor','/universer-api/file/{fileID}/sign-url','collab-text-range-','deleteCollaborator','_invKeySchedule','crypto','_mode','sigBytes','_tryEnsureSocket','target','UUID','next','_throwTelemetryCollaborationNewChangeset','has','image/gif','Fragment','putCollaborators','div','location','from','save','_cipher','_loadSheet','APPLY_REVISION_CONFILICT','salt','_removeCollabCursors','floor','subject','pipe','InsertRowCommandId','getTypeOfUnitDisposed$','onPointerMove$','show','2664220CShdCc','memberID','unit-cache-','_checkMissing','baseRev','compute','_toggleOnline','sheets','capture','_entityInit$','msCrypto','updateCollaborator','onTransformChange$','_initStatusComponent','_cursorInfo$','_isPermissionRej','_cursorShapes','post','registerRenderModule','LIVESHARE_OPERATION','_state','_compressMutationService','_updateLocalCursor','_sheetTransformSelectionsService','_permissionService','OffLineSingle','endColumn','fillText','APPLY_PERMISSION_DENIED','c2Prime','refreshPermission','_hideTimer','_onOffline','Cipher','_onLocalMutation','concat','CipherParams','_renderManagerService','/universer-api/user/session-ticket','_assignedColors','hidden','hasOwnProperty','subscribe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onRefRangeChange','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','JOIN_ROOM_NOT_ALLOWED','2807455ewyFPL','awaiting','_clearUndo','getMemberID','USERS_ENTER','_injector','socket\x20open.','collaMsg','_setupBeforeClosingHandler','getCurrentRevOfUnit','_session','BufferedBlockAlgorithm','_transformPreviousActiveRange','_getSignURL','src','getAncestorScale','enableAuthServer','_scheduleTimestamp','_cachedData','transformIMECache','M0\x200H16V16H0z','HEADER_MENU','initWorkbookPermissionChange','_getScale','_collaborationController','selections','univer-offline','_syncEditingCollabCursorService','getOwnPropertyDescriptor','_unlockTransition','randomBytes','_createInitialStateImpl','_getUndoStack','map','getImageSourceCache','onlineStatusIcon','getFocusedUnit','byteOffset','unsubscribe','INTERNAL_ERROR','socketService','Could\x20not\x20dynamically\x20require\x20\x22','univerjs-icon\x20univerjs-icon-','cfg','idSuffix','APPLY_DUPLICATED','substr','finalize','OFFLINE','replaceDocRanges','equals','CONNECTOR_DATA_TOO_LARGE','LICENSE_MAX_UNITS_EXCEEDED','_getCurrentRevision','row','lineTo','clearTimeout','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','\x20in\x20_schedule.','fetchMiss','m2Prime','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_replaceFileID','permission.title','slice','selection','liveShareOperation','_handleHover','/-/object/list','transformSelections','doc.mutation.rich-text-editing','revision','pluginName','#fff','_docTransformStateCacheService','_rescheduleHeartbeat','PERMISSION_REJ','saveSheetBlock','_removeRoom','resourceIDs','ranges','_updateURLWithCurrentState','unshift','[CollaborationEntity]','5723990ZOYvrf','substring','RECV','cmd','getCurrent','_http','_initUnitPermissionChange','_onRemoteRejected','editingUnit','_onCombEvent','updateMember','add','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_updateStatus','_textBubble','endRow','forEach','_registerRenderDependencies','getRelativeToViewportCoord','InsertRangeMoveRightCommandId','exports','ONLINE','_logService','onCommandExecuted','/universer-api/snapshot/','_getAnchorBounding','top','_messageService','getSheetBlock','file','{fileID}','_clearHeartbeatTimer','ivSize','registerOnClose','APPLY_NON_SEQUENTIAL_REVISION','_schedule','ReactCurrentOwner','HmacSHA1','createEncryptor','defaultProps','override','decrypt','updatePermissionPoint','transformByState','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearRedo','transformMutationsWithChangeset','getViewport','ref','subscribeEvent','_sendHeartbeat','telemetry\x20info\x20is\x20not\x20initialized','univer-pro.collaboration-client-socket-service','resolve','_name','_socketMessageSubscription','some','append','c1Prime','People','1em','abs','_createHandler','/universer-api/stream/file/upload','indexOf','_getRedoStack','_send','call','_clearScheduledTask','18CvORtV','_transformStack','JOINING','Pkcs7','getAllMembers','CHANGESET_ACK','removeParam','getParam','_createHmacHelper','complete','COLLAB_WEB_SOCKET_URL','[FetchMissState]','sessionStatus','_awaitingChangeset','_transformSelections','_unitStatus'];_0x23ae=function(){return _0x15cbc9;};return _0x23ae();}let Dt=class{constructor(_0x4b9dcd,_0x203ab3){const _0xcf3752=_0x59f468;this[_0xcf3752(0x351)]=_0x4b9dcd,this['_transformService']=_0x203ab3;}['transformSelections'](_0x49d733){const _0x4dd01f=_0x59f468;var _0x2b51c0;const _0x3afabe=this[_0x4dd01f(0x351)][_0x4dd01f(0x25d)](_0x4768db),_0x30c9e9=(_0x2b51c0=_0x3afabe[_0x4dd01f(0x24d)]())!=null?_0x2b51c0:[];if(_0x30c9e9['length']===0x0)return;const _0x2e8ca7=_0x49d733[_0x4dd01f(0x405)],_0x326421=[{'id':_0x4dd01f(0x392),'params':{'unitId':_0x2e8ca7,'actions':null,'textRanges':_0x30c9e9}}],_0x3b8f19=this['_transformService']['transformMutationsWithChangeset'](_0x49d733,_0x326421);if(!_0x4d7745(_0x3b8f19))throw _0x3b8f19[_0x4dd01f(0x1ec)];const _0x4ccfc2=_0x3b8f19[_0x4dd01f(0x388)][0x0][_0x4dd01f(0x4c3)][_0x4dd01f(0x5a1)];Array['isArray'](_0x4ccfc2)&&_0x4ccfc2[_0x4dd01f(0x21a)]&&_0x3afabe[_0x4dd01f(0x37d)](_0x4ccfc2,{'unitId':_0x2e8ca7,'subUnitId':_0x2e8ca7},!0x1);}};Dt=yo([Zs(0x0,_0x222038(_0x2e1c56)),Zs(0x1,_0x4cb437)],Dt);const wo=new Set([_0x37dbf5['id']]);function Qs(_0x41da43,_0x5458fa,_0x2434f1,_0x3f210a,_0x4cdc9c){const _0x2d0430=_0x59f468;var _0x12bdbb,_0x97ff69,_0x6a8586,_0x5c81fb;const _0x751281=[];for(const _0x3fd887 of _0x41da43)if(wo[_0x2d0430(0x309)](_0x3fd887['id'])){if(_0x751281[_0x2d0430(0x21a)]>0x0)break;_0x751281[_0x2d0430(0x4cf)](_0x3fd887);break;}else _0x751281['push'](_0x3fd887);const _0x50ac31=(_0x97ff69=(_0x12bdbb=_0x4cdc9c[_0x2d0430(0x542)]())==null?void 0x0:_0x12bdbb[_0x2d0430(0x451)])!=null?_0x97ff69:'unknown',_0x24398f=(_0x5c81fb=(_0x6a8586=_0x4cdc9c[_0x2d0430(0x542)]())==null?void 0x0:_0x6a8586['memberID'])!=null?_0x5c81fb:_0x2d0430(0x1f7);return{'changeset':{'unitID':_0x5458fa,'type':_0x152c8d(_0x2434f1['getUnitType'](_0x5458fa)),'baseRev':_0x3f210a[_0x2d0430(0x355)](_0x5458fa),'revision':0x0,'userID':_0x50ac31,'memberID':_0x24398f,'mutations':_0x751281},'pendingMutations':_0x41da43['slice'](_0x751281[_0x2d0430(0x21a)])};}function Do(_0x2b0b44,_0x445f93,_0x30e5ab,_0x408079,_0x52d176){const _0x15f084=_0x59f468;var _0xa139eb,_0x43a16f,_0x4f9df0,_0x26600f;const _0x2d828a=[_0x2b0b44[_0x15f084(0x50d)]((_0x28d907,_0x2b1b59)=>{const _0x22f093=_0x15f084;var _0x1c9f48;const {id:_0x33a69c}=_0x28d907,{id:_0x1199fa,type:_0x2d8e5a}=_0x2b1b59,_0x1446cc=(_0x1c9f48=_0x28d907['params'])!=null?_0x1c9f48:{'actions':null},_0xb387d5=_0x2b1b59[_0x22f093(0x4c3)];if(_0x33a69c&&_0x33a69c!==_0x1199fa)throw new Error(_0x22f093(0x28a)+_0x33a69c+_0x22f093(0x2a1)+_0x1199fa+'.');return{..._0x28d907,'id':_0x1199fa,'type':_0x2d8e5a,'params':{'unitId':_0xb387d5[_0x22f093(0x51a)],'textRanges':_0xb387d5[_0x22f093(0x5a1)],'actions':_0x728319[_0x22f093(0x4ed)](_0x1446cc[_0x22f093(0x584)],_0xb387d5[_0x22f093(0x584)])}};},{})],_0x13cae5=(_0x43a16f=(_0xa139eb=_0x52d176[_0x15f084(0x542)]())==null?void 0x0:_0xa139eb['userID'])!=null?_0x43a16f:_0x15f084(0x1f7),_0x186f2a=(_0x26600f=(_0x4f9df0=_0x52d176[_0x15f084(0x542)]())==null?void 0x0:_0x4f9df0[_0x15f084(0x31e)])!=null?_0x26600f:_0x15f084(0x1f7);return{'changeset':{'unitID':_0x445f93,'type':_0x152c8d(_0x30e5ab[_0x15f084(0x243)](_0x445f93)),'baseRev':_0x408079[_0x15f084(0x355)](_0x445f93),'revision':0x0,'userID':_0x13cae5,'memberID':_0x186f2a,'mutations':_0x2d828a},'pendingMutations':[]};}function qi(_0x18bd39,_0x23f060){const _0x171a71=_0x59f468,_0x985612=new _0x3b5418(0x1);return setTimeout(()=>_0x985612[_0x171a71(0x307)](_0x23f060),_0x18bd39),_0x985612[_0x171a71(0x472)]()[_0x171a71(0x318)](_0x3fe09f(0x1));}const Po={'id':_0x86642a['id'],'type':_0x2a05e3['MUTATION'],'params':{}};var Uo=Object[_0x59f468(0x29a)],No=Object['getOwnPropertyDescriptor'],Le=(_0x1ab56e,_0x37db4d,_0xf34022,_0x184f21)=>{const _0x4a7f61=_0x59f468;for(var _0x23d4a2=_0x184f21>0x1?void 0x0:_0x184f21?No(_0x37db4d,_0xf34022):_0x37db4d,_0x5ce934=_0x1ab56e[_0x4a7f61(0x21a)]-0x1,_0x577592;_0x5ce934>=0x0;_0x5ce934--)(_0x577592=_0x1ab56e[_0x5ce934])&&(_0x23d4a2=(_0x184f21?_0x577592(_0x37db4d,_0xf34022,_0x23d4a2):_0x577592(_0x23d4a2))||_0x23d4a2);return _0x184f21&&_0x23d4a2&&Uo(_0x37db4d,_0xf34022,_0x23d4a2),_0x23d4a2;},A=(_0x496e96,_0x424835)=>(_0xcc7d22,_0x4c34c1)=>_0x424835(_0xcc7d22,_0x4c34c1,_0x496e96),J=(_0x45e1f1=>(_0x45e1f1[_0x59f468(0x438)]=_0x59f468(0x597),_0x45e1f1['SYNCED']='synced',_0x45e1f1[_0x59f468(0x2c3)]=_0x59f468(0x4b2),_0x45e1f1[_0x59f468(0x552)]=_0x59f468(0x34d),_0x45e1f1[_0x59f468(0x4db)]=_0x59f468(0x51e),_0x45e1f1[_0x59f468(0x2d1)]=_0x59f468(0x489),_0x45e1f1[_0x59f468(0x580)]=_0x59f468(0x281),_0x45e1f1[_0x59f468(0x37c)]=_0x59f468(0x553),_0x45e1f1))(J||{});const zi=0xea60;class $e{constructor(_0xd60221,_0x1b9dae,_0x2c0a10,_0x2a22ae,_0x2d5c67,_0x10a1c7,_0x1ecca3,_0x1e98f1,_0x293106){const _0x1f6c8b=_0x59f468;g(this,_0x1f6c8b(0x3f2),null),g(this,_0x1f6c8b(0x4f3),[]),(this[_0x1f6c8b(0x405)]=_0xd60221,this[_0x1f6c8b(0x2b2)]=_0x1b9dae,this[_0x1f6c8b(0x569)]=_0x2d5c67,this[_0x1f6c8b(0x54d)]=_0x10a1c7,this[_0x1f6c8b(0x1cb)]=_0x1ecca3,this[_0x1f6c8b(0x2b9)]=_0x1e98f1,this[_0x1f6c8b(0x1ca)]=_0x293106,this[_0x1f6c8b(0x3f2)]=_0x2c0a10,this['_pendingMutations']=_0x2a22ae);}['_checkMissing'](_0x22e3d7){const _0x2e302c=_0x59f468,_0x649e45=this[_0x2e302c(0x2b9)][_0x2e302c(0x355)](this[_0x2e302c(0x405)]);return _0x22e3d7['revision']>_0x649e45+0x1?(this[_0x2e302c(0x569)]['onMissingChangesets']({'from':_0x649e45,'to':_0x22e3d7[_0x2e302c(0x393)]-0x1}),!0x0):!0x1;}[_0x59f468(0x2bf)](_0x40dc94){const _0xb78e32=_0x59f468;this['_undoRedoService'][_0xb78e32(0x41f)](this[_0xb78e32(0x405)],_0x40dc94);}[_0x59f468(0x3f3)](_0x4c9ce4){const _0x4308f4=_0x59f468;var _0x29c033,_0x23df53;(_0x23df53=(_0x29c033=this['_handler'])[_0x4308f4(0x503)])==null||_0x23df53[_0x4308f4(0x3e3)](_0x29c033,_0x4c9ce4);}[_0x59f468(0x55b)](_0x240584){const _0x375767=_0x59f468;var _0x363528,_0x179b57;return(_0x179b57=(_0x363528=this[_0x375767(0x569)])[_0x375767(0x530)])==null?void 0x0:_0x179b57[_0x375767(0x3e3)](_0x363528,_0x240584);}[_0x59f468(0x2b8)](_0x551e0d){const _0x4eee02=_0x59f468;var _0x12e4ee,_0x2d8553;return(_0x2d8553=(_0x12e4ee=this['_handler'])[_0x4eee02(0x56a)])==null?void 0x0:_0x2d8553[_0x4eee02(0x3e3)](_0x12e4ee,_0x551e0d);}[_0x59f468(0x573)](_0x503b8f){const _0x2e2f9b=_0x59f468;var _0xd1f70,_0x3635c6,_0x294aea;return(_0x294aea=(_0x3635c6=(_0xd1f70=this['_handler'])[_0x2e2f9b(0x2a0)])==null?void 0x0:_0x3635c6[_0x2e2f9b(0x3e3)](_0xd1f70,_0x503b8f))!=null?_0x294aea:_0x503b8f;}[_0x59f468(0x25f)](_0x55d1ec){const _0x23093f=_0x59f468;var _0x254135,_0x179f0e,_0x242672;return(_0x242672=(_0x179f0e=(_0x254135=this[_0x23093f(0x569)])[_0x23093f(0x232)])==null?void 0x0:_0x179f0e[_0x23093f(0x3e3)](_0x254135,_0x55d1ec))!=null?_0x242672:_0x55d1ec;}[_0x59f468(0x581)](_0x209ae6){const _0x2d5b97=_0x59f468;var _0x19777d,_0x205438;if(this[_0x2d5b97(0x2b2)]===ae['UNIVER_DOC']){const {unitID:_0x31fbeb,mutations:_0xcea448,memberID:_0xa77330}=_0x209ae6,_0xd20bce=_0xcea448[0x0][_0x2d5b97(0x4c3)][_0x2d5b97(0x5a1)];Array['isArray'](_0xd20bce)&&_0xd20bce[_0x2d5b97(0x21a)]>0x0&&((_0x205438=(_0x19777d=this[_0x2d5b97(0x569)])[_0x2d5b97(0x1aa)])==null||_0x205438[_0x2d5b97(0x3e3)](_0x19777d,{'unitID':_0x31fbeb,'memberID':_0xa77330,'textRanges':_0xd20bce}));}}['_updateLocalCache'](){const _0x5bcb00=_0x59f468;this[_0x5bcb00(0x1ca)][_0x5bcb00(0x2d2)](this[_0x5bcb00(0x405)],this['type'],this[_0x5bcb00(0x3f2)],this[_0x5bcb00(0x4f3)]);}[_0x59f468(0x381)](){const _0x233c84=_0x59f468;return this[_0x233c84(0x2b9)][_0x233c84(0x355)](this[_0x233c84(0x405)]);}['_incrementRevisionNumber'](){const _0x50f027=_0x59f468;this[_0x50f027(0x2b9)][_0x50f027(0x2d7)](this[_0x50f027(0x405)]);}[_0x59f468(0x4ac)](_0x469716){const _0x7cc9d7=_0x59f468;var _0x1fdf47;let _0x578fe8=this[_0x7cc9d7(0x573)](_0x469716);_0x578fe8=this[_0x7cc9d7(0x25f)](_0x578fe8);const _0x3dccc0=_0x504024(_0x578fe8[_0x7cc9d7(0x1a2)],this[_0x7cc9d7(0x54d)],{'fromCollab':!0x0});if(!_0x3dccc0['result'])throw _0x3dccc0[_0x7cc9d7(0x1ec)]instanceof Error?_0x3dccc0[_0x7cc9d7(0x1ec)]:new Error((_0x1fdf47=_0x3dccc0['error'])!=null?_0x1fdf47:_0x7cc9d7(0x4a5));this[_0x7cc9d7(0x55b)](_0x578fe8),this[_0x7cc9d7(0x2b8)](_0x578fe8),this[_0x7cc9d7(0x2bf)](_0x469716),this[_0x7cc9d7(0x3f3)](_0x578fe8),this[_0x7cc9d7(0x581)](_0x578fe8),this[_0x7cc9d7(0x432)]();}}let We=class extends $e{constructor(_0x175922,_0x280b5a,_0x51ffff,_0x2bac98,_0x5aa0bf,_0x18a23a,_0x49dad7,_0x2d49d3,_0x326ffc,_0x2b4a46){const _0x14e015=_0x59f468;super(_0x175922,_0x280b5a,null,[],_0x51ffff,_0x2d49d3,_0x49dad7,_0x2bac98,_0x5aa0bf),g(this,_0x14e015(0x1e8),'synced'),(this['_injector']=_0x18a23a,this[_0x14e015(0x3b6)]=_0x326ffc,this[_0x14e015(0x24f)]=_0x2b4a46);}['appendMutation'](_0x2777bf){const _0xf22783=_0x59f468,_0x4a0534=this['_injector']['createInstance'](pe,this[_0xf22783(0x405)],this[_0xf22783(0x2b2)],[_0x2777bf],this['_handler']);return _0x4a0534[_0xf22783(0x3c3)](),_0x4a0534[_0xf22783(0x4e4)](),_0x4a0534;}[_0x59f468(0x41d)](_0xd88549){const _0x372dae=_0x59f468;if(this[_0x372dae(0x320)](_0xd88549))return this[_0x372dae(0x351)]['createInstance'](ce,this['unitID'],this['type'],null,[],null,[_0xd88549],this[_0x372dae(0x569)]);try{const _0x5d50ee=this[_0x372dae(0x24f)][_0x372dae(0x3ce)](_0xd88549,[Po]);if(_0x4d7745(_0x5d50ee)){const {c1Prime:_0x20a055}=_0x5d50ee;return this[_0x372dae(0x4ac)](_0x20a055),this;}throw _0x5d50ee['error'];}catch(_0x5c23dd){return this[_0x372dae(0x3b6)]['error'](_0x5c23dd),this['_onConflict'](!0x1);}}[_0x59f468(0x52d)](_0x280961){const _0x15a5fc=_0x59f468;return this[_0x15a5fc(0x351)][_0x15a5fc(0x2d8)](Re,this[_0x15a5fc(0x405)],this[_0x15a5fc(0x2b2)],null,[],this[_0x15a5fc(0x569)],_0x280961);}[_0x59f468(0x488)](){const _0x2896f9=_0x59f468;throw new Error(_0x2896f9(0x263));}[_0x59f468(0x236)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x59f468(0x531)](){return this;}[_0x59f468(0x257)](){const _0x47188f=_0x59f468;return this['_injector'][_0x47188f(0x2d8)](Oe,this[_0x47188f(0x405)],this[_0x47188f(0x2b2)],null,[],this[_0x47188f(0x569)]);}[_0x59f468(0x2df)](){return this;}[_0x59f468(0x4ae)](){const _0x236f06=_0x59f468;throw new Error(_0x236f06(0x435));}[_0x59f468(0x387)](){const _0x37a74f=_0x59f468,_0x374faf=this[_0x37a74f(0x2b9)][_0x37a74f(0x355)](this[_0x37a74f(0x405)]);return this[_0x37a74f(0x569)][_0x37a74f(0x28e)]({'from':_0x374faf,'to':0x0}),this['_injector']['createInstance'](ce,this[_0x37a74f(0x405)],this[_0x37a74f(0x2b2)],null,[],null,[],this['_handler']);}};We=Le([A(0x3,_0x222038(_0x21f454)),A(0x4,_0x222038(z)),A(0x5,_0x222038(_0x2e1c56)),A(0x6,_0x2d2527),A(0x7,_0x1e017f),A(0x8,_0x37805d),A(0x9,_0x4cb437)],We);let pe=class extends $e{constructor(_0x367a8a,_0x58c512,_0x3a379e,_0x1182e2,_0x4c8cb3,_0x4694ea,_0x15c673,_0x5647aa,_0x3806a7,_0x1a8d10,_0x1bd20d,_0x49a233,_0x37bdf2,_0x15c88a){const _0x45ca88=_0x59f468;super(_0x367a8a,_0x58c512,null,_0x3a379e,_0x1182e2,_0x1a8d10,_0x15c88a,_0x4694ea,_0x15c673),g(this,_0x45ca88(0x1e8),_0x45ca88(0x4b2)),g(this,'_scheduleTimestamp',null),g(this,'_sendingTimer',null),(this[_0x45ca88(0x351)]=_0x4c8cb3,this['_memberService']=_0x5647aa,this[_0x45ca88(0x3b6)]=_0x3806a7,this[_0x45ca88(0x58b)]=_0x1bd20d,this['_transformService']=_0x49a233,this['_univerInstanceService']=_0x37bdf2);}[_0x59f468(0x275)](_0x4048ca){const _0x1134a5=_0x59f468;return this['_pendingMutations'][_0x1134a5(0x4cf)](_0x4048ca),this['_updateLocalCache'](),this;}[_0x59f468(0x41d)](_0x492126){const _0xbcf25f=_0x59f468;if(this['_checkMissing'](_0x492126))return this[_0xbcf25f(0x3e4)](),this[_0xbcf25f(0x351)][_0xbcf25f(0x2d8)](ce,this[_0xbcf25f(0x405)],this[_0xbcf25f(0x2b2)],null,this[_0xbcf25f(0x4f3)],null,[_0x492126],this[_0xbcf25f(0x569)]);try{const _0x2ad01a=this['_transformService'][_0xbcf25f(0x3ce)](_0x492126,this['_pendingMutations']);if(_0x4d7745(_0x2ad01a)){const {c1Prime:_0x2a8927,m2Prime:_0x544841}=_0x2ad01a;this[_0xbcf25f(0x4ac)](_0x2a8927);const _0x514e8c=this[_0xbcf25f(0x351)]['createInstance'](pe,this[_0xbcf25f(0x405)],this[_0xbcf25f(0x2b2)],_0x544841,this['_handler']);return this[_0xbcf25f(0x3e4)](),_0x514e8c['_schedule'](this[_0xbcf25f(0x35d)]?Math[_0xbcf25f(0x456)](0x0,new Date()[_0xbcf25f(0x251)]()-this[_0xbcf25f(0x35d)]):this[_0xbcf25f(0x41e)]()),_0x514e8c;}throw _0x2ad01a['error'];}catch(_0x36245c){return this[_0xbcf25f(0x3b6)][_0xbcf25f(0x1ec)](_0x36245c),this[_0xbcf25f(0x52d)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x3b9c61=_0x59f468;throw new Error(_0x3b9c61(0x571));}['onRemoteRetry'](){return this;}[_0x59f468(0x257)](){const _0x24c437=_0x59f468;return this[_0x24c437(0x3e4)](),this[_0x24c437(0x351)][_0x24c437(0x2d8)](Oe,this[_0x24c437(0x405)],this[_0x24c437(0x2b2)],null,this[_0x24c437(0x4f3)],this[_0x24c437(0x569)]);}['toggleOnline'](){return this;}['_schedule'](_0x350313){const _0x3ea993=_0x59f468,_0x55f6e6=_0x350313!=null?_0x350313:this[_0x3ea993(0x41e)]();this[_0x3ea993(0x35d)]=new Date()[_0x3ea993(0x251)](),this[_0x3ea993(0x4d5)]=window[_0x3ea993(0x2b7)](()=>{const _0x1aa2c3=_0x3ea993;this[_0x1aa2c3(0x3e4)]();let _0x54aa94=null;switch(this[_0x1aa2c3(0x2b2)]){case ae['UNIVER_SHEET']:{_0x54aa94=Qs(this['_pendingMutations'],this[_0x1aa2c3(0x405)],this[_0x1aa2c3(0x525)],this[_0x1aa2c3(0x2b9)],this[_0x1aa2c3(0x43b)]);break;}case ae[_0x1aa2c3(0x4f9)]:{this[_0x1aa2c3(0x4f3)][_0x1aa2c3(0x3f7)](_0x1d880c=>_0x1d880c['id']===_0x2bf5bd['id'])?_0x54aa94=Do(this['_pendingMutations'],this['unitID'],this[_0x1aa2c3(0x525)],this[_0x1aa2c3(0x2b9)],this['_memberService']):_0x54aa94=Qs(this[_0x1aa2c3(0x4f3)],this[_0x1aa2c3(0x405)],this[_0x1aa2c3(0x525)],this[_0x1aa2c3(0x2b9)],this[_0x1aa2c3(0x43b)]);break;}default:throw new Error(_0x1aa2c3(0x4d8)+this[_0x1aa2c3(0x2b2)]+_0x1aa2c3(0x386));}const {changeset:_0xc821b,pendingMutations:_0x1caabb}=_0x54aa94;this[_0x1aa2c3(0x569)][_0x1aa2c3(0x1d9)](_0xc821b);const _0x2a4cce=_0x1caabb[_0x1aa2c3(0x21a)]?this[_0x1aa2c3(0x351)][_0x1aa2c3(0x2d8)](me,this[_0x1aa2c3(0x405)],this['type'],_0xc821b,_0x1caabb,this[_0x1aa2c3(0x569)],void 0x0):this[_0x1aa2c3(0x351)][_0x1aa2c3(0x2d8)](Te,this[_0x1aa2c3(0x405)],this['type'],_0xc821b,this[_0x1aa2c3(0x569)]);_0x2a4cce[_0x1aa2c3(0x4e4)](),this[_0x1aa2c3(0x569)][_0x1aa2c3(0x510)](this,_0x2a4cce);},_0x55f6e6);}[_0x59f468(0x41e)](){const _0x55f6b1=_0x59f468;var _0xb55429;const _0x5cb86f=this[_0x55f6b1(0x58b)][_0x55f6b1(0x55d)](Q);return(_0xb55429=_0x5cb86f==null?void 0x0:_0x5cb86f[_0x55f6b1(0x42b)])!=null?_0xb55429:Tn;}[_0x59f468(0x4ae)](){const _0x2038af=_0x59f468;throw new Error(_0x2038af(0x385));}[_0x59f468(0x3e4)](){const _0x1f9e0b=_0x59f468;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1f9e0b(0x4d5)]),this[_0x1f9e0b(0x4d5)]=null);}[_0x59f468(0x52d)](_0x5750d9){const _0x430310=_0x59f468;return this[_0x430310(0x3e4)](),this['_injector']['createInstance'](Re,this[_0x430310(0x405)],this[_0x430310(0x2b2)],null,this[_0x430310(0x4f3)],this[_0x430310(0x569)],_0x5750d9);}};pe=Le([A(0x4,_0x222038(_0x2e1c56)),A(0x5,_0x222038(_0x21f454)),A(0x6,_0x222038(z)),A(0x7,_0x222038(Ae)),A(0x8,_0x37805d),A(0x9,_0x1e017f),A(0xa,_0x486aed),A(0xb,_0x4cb437),A(0xc,_0xd7de45),A(0xd,_0x2d2527)],pe);let Te=class extends $e{constructor(_0x12e0ef,_0x1b5014,_0xef6258,_0x15492b,_0x27708d,_0x307dc2,_0x56d4e6,_0x2b7a88,_0x5ac1fe,_0x168c5c,_0x1d74db){const _0x2ca5f6=_0x59f468;super(_0x12e0ef,_0x1b5014,_0xef6258,[],_0x15492b,_0x2b7a88,_0x1d74db,_0x307dc2,_0x56d4e6),g(this,_0x2ca5f6(0x1e8),_0x2ca5f6(0x34d)),g(this,_0x2ca5f6(0x200),0x0),g(this,_0x2ca5f6(0x29b)),g(this,'_sender'),(this[_0x2ca5f6(0x351)]=_0x27708d,this[_0x2ca5f6(0x3b6)]=_0x5ac1fe,this[_0x2ca5f6(0x24f)]=_0x168c5c);}[_0x59f468(0x275)](_0x487bdb){const _0x3f3296=_0x59f468;this[_0x3f3296(0x3e4)]();const _0x35cd2a=this[_0x3f3296(0x351)][_0x3f3296(0x2d8)](me,this['unitID'],this[_0x3f3296(0x2b2)],this[_0x3f3296(0x3f2)],[_0x487bdb],this[_0x3f3296(0x569)],this[_0x3f3296(0x29b)]);return _0x35cd2a['_updateLocalCache'](),_0x35cd2a;}[_0x59f468(0x41d)](_0x13ed71){const _0xf2734a=_0x59f468;if(this[_0xf2734a(0x320)](_0x13ed71))return this[_0xf2734a(0x3e4)](),this[_0xf2734a(0x351)][_0xf2734a(0x2d8)](ce,this[_0xf2734a(0x405)],this['type'],this[_0xf2734a(0x3f2)],[],null,[_0x13ed71],this[_0xf2734a(0x569)]);try{const _0x29a9ea=this[_0xf2734a(0x24f)]['transformChangesets']([_0x13ed71],[this['_awaitingChangeset']],!0x1);if(_0x5cd3ce(_0x29a9ea)){const {c1Prime:_0x1e33a2,c2Prime:_0x5b1f51}=_0x29a9ea;this['_executeRemoteChangeset'](_0x1e33a2[0x0]),_0x5b1f51[0x0][_0xf2734a(0x321)]=this[_0xf2734a(0x381)](),this[_0xf2734a(0x3e4)]();const _0xe1dc11=this[_0xf2734a(0x351)]['createInstance'](Te,this[_0xf2734a(0x405)],this['type'],_0x5b1f51[0x0],this[_0xf2734a(0x569)]);return _0xe1dc11['_updateLocalCache'](),_0xe1dc11;}return this[_0xf2734a(0x52d)](!0x1);}catch(_0x13c204){return this[_0xf2734a(0x3b6)][_0xf2734a(0x1ec)](_0x13c204),this[_0xf2734a(0x52d)](!0x1);}}[_0x59f468(0x488)](_0x10dc7b){const _0x2b9dc6=_0x59f468;this[_0x2b9dc6(0x3e4)]();const _0x2a7d7f=this[_0x2b9dc6(0x2b9)][_0x2b9dc6(0x355)](this[_0x2b9dc6(0x405)]);if(_0x10dc7b[_0x2b9dc6(0x393)]<_0x2a7d7f-0x1)return this;if(this[_0x2b9dc6(0x320)](_0x10dc7b))return this['_injector'][_0x2b9dc6(0x2d8)](ce,this[_0x2b9dc6(0x405)],this['type'],null,[],this[_0x2b9dc6(0x3f2)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x44629c=this['_injector'][_0x2b9dc6(0x2d8)](We,this['unitID'],this['type'],this[_0x2b9dc6(0x569)]);return _0x44629c[_0x2b9dc6(0x4e4)](),_0x44629c;}[_0x59f468(0x236)](_0x5db1a4){const _0x3260d5=_0x59f468;return this[_0x3260d5(0x52d)](!!(_0x5db1a4!=null&&_0x5db1a4[_0x3260d5(0x495)]));}[_0x59f468(0x531)](_0x8f6520){const _0x3bbc90=_0x59f468;return this[_0x3bbc90(0x200)]>zi?this['toggleOffline']():(this[_0x3bbc90(0x29b)]=qi(this[_0x3bbc90(0x200)],{'timeout':this[_0x3bbc90(0x200)],'reqId':_0x8f6520[_0x3bbc90(0x417)]}),this[_0x3bbc90(0x1ee)]=this[_0x3bbc90(0x29b)][_0x3bbc90(0x347)](({reqId:_0x594fc4,timeout:_0x18291b})=>{const _0x20377f=_0x3bbc90;this[_0x20377f(0x401)](_0x594fc4,_0x18291b);}),this);}[_0x59f468(0x257)](){const _0x3eb22e=_0x59f468;return this[_0x3eb22e(0x3e4)](),this[_0x3eb22e(0x351)][_0x3eb22e(0x2d8)](Oe,this[_0x3eb22e(0x405)],this[_0x3eb22e(0x2b2)],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x59f468(0x4ae)](){const _0x164472=_0x59f468;this[_0x164472(0x569)][_0x164472(0x1d9)](this['_awaitingChangeset']);}[_0x59f468(0x52d)](_0x44fe02){const _0x6f5634=_0x59f468;return this[_0x6f5634(0x3e4)](),this['_injector']['createInstance'](Re,this[_0x6f5634(0x405)],this[_0x6f5634(0x2b2)],this[_0x6f5634(0x3f2)],[],this['_handler'],_0x44fe02);}[_0x59f468(0x401)](_0x514132,_0x2ea1e1){const _0x2cf6fe=_0x59f468;var _0x4af82c;_0x514132===((_0x4af82c=this[_0x2cf6fe(0x3f2)])==null?void 0x0:_0x4af82c[_0x2cf6fe(0x417)])&&(this['resend'](),this[_0x2cf6fe(0x200)]=_0x2ea1e1===0x0?0x3e8:_0x2ea1e1*0x2);}['_clearScheduledTask'](){const _0x1e587d=_0x59f468;var _0x575cf9;(_0x575cf9=this['_sender'])==null||_0x575cf9[_0x1e587d(0x372)](),this['_resendTimeout']=0x0;}};Te=Le([A(0x4,_0x222038(_0x2e1c56)),A(0x5,_0x222038(_0x21f454)),A(0x6,_0x222038(z)),A(0x7,_0x1e017f),A(0x8,_0x37805d),A(0x9,_0x4cb437),A(0xa,_0x2d2527)],Te);let me=class extends $e{constructor(_0x2381ed,_0x46da9b,_0x2f1cd9,_0x380c94,_0x32f25d,_0x3c899a,_0x3e8ce1,_0x3d3e16,_0xb57027,_0x36415d,_0x12ac0b,_0xd80ff0,_0x360344){const _0x27a30b=_0x59f468;super(_0x2381ed,_0x46da9b,_0x2f1cd9,_0x380c94,_0x32f25d,_0x36415d,_0x360344,_0x3d3e16,_0xb57027),g(this,'status',_0x27a30b(0x51e)),g(this,'_resendTimeout',0x0),g(this,_0x27a30b(0x29b)),g(this,_0x27a30b(0x1ee)),(this['_injector']=_0x3e8ce1,this['_logService']=_0x12ac0b,this['_transformService']=_0xd80ff0,_0x3c899a&&(this['_resendTimer']=_0x3c899a,this[_0x27a30b(0x1ee)]=this[_0x27a30b(0x29b)][_0x27a30b(0x347)](({reqId:_0x103e1a,timeout:_0x2de8e9})=>{const _0x40577f=_0x27a30b;this[_0x40577f(0x401)](_0x103e1a,_0x2de8e9);})));}[_0x59f468(0x275)](_0x3c33d0){const _0x5ae3fd=_0x59f468;return this[_0x5ae3fd(0x4f3)][_0x5ae3fd(0x4cf)](_0x3c33d0),this;}[_0x59f468(0x41d)](_0x361987){const _0x261744=_0x59f468;if(this['_checkMissing'](_0x361987))return this['_clearScheduledTask'](),this[_0x261744(0x351)][_0x261744(0x2d8)](ce,this['unitID'],this[_0x261744(0x2b2)],this[_0x261744(0x3f2)],this[_0x261744(0x4f3)],null,[_0x361987],this['_handler']);try{const _0x5d13b2=this['_transformService'][_0x261744(0x594)]([_0x361987],[this[_0x261744(0x3f2)]],!0x1);if(_0x5cd3ce(_0x5d13b2)){const {c1Prime:_0x1ec5b3,c2Prime:_0x28d4a1}=_0x5d13b2,_0x1be380=this[_0x261744(0x24f)][_0x261744(0x3ce)](_0x1ec5b3[0x0],this[_0x261744(0x4f3)]);if(_0x4d7745(_0x1be380)){const {c1Prime:_0x4f603d,m2Prime:_0x3a69e8}=_0x1be380;return this[_0x261744(0x4ac)](_0x4f603d),_0x28d4a1[0x0][_0x261744(0x321)]=this[_0x261744(0x381)](),this['_clearScheduledTask'](),this[_0x261744(0x351)][_0x261744(0x2d8)](me,this[_0x261744(0x405)],this[_0x261744(0x2b2)],_0x28d4a1[0x0],_0x3a69e8,this[_0x261744(0x569)],void 0x0);}throw _0x1be380[_0x261744(0x1ec)];}throw _0x5d13b2['error'];}catch(_0x382d96){return this[_0x261744(0x3b6)][_0x261744(0x1ec)](_0x382d96),this[_0x261744(0x52d)](!0x1);}}[_0x59f468(0x488)](_0x3a830c){const _0x417d90=_0x59f468;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x3a830c))return this[_0x417d90(0x351)]['createInstance'](ce,this[_0x417d90(0x405)],this[_0x417d90(0x2b2)],null,this[_0x417d90(0x4f3)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0xc47c7d=this[_0x417d90(0x351)][_0x417d90(0x2d8)](pe,this[_0x417d90(0x405)],this[_0x417d90(0x2b2)],this[_0x417d90(0x4f3)],this[_0x417d90(0x569)]);return _0xc47c7d['_schedule'](),_0xc47c7d[_0x417d90(0x4e4)](),_0xc47c7d;}['onRemoteRej'](_0x21b97f){const _0x54359f=_0x59f468;return this[_0x54359f(0x52d)](!!(_0x21b97f!=null&&_0x21b97f[_0x54359f(0x495)]));}[_0x59f468(0x531)](_0x3c5054){const _0x172da6=_0x59f468;return this['_resendTimeout']>zi?this[_0x172da6(0x257)]():(this[_0x172da6(0x29b)]=qi(this['_resendTimeout'],{'timeout':this[_0x172da6(0x200)],'reqId':_0x3c5054[_0x172da6(0x417)]}),this[_0x172da6(0x1ee)]=this[_0x172da6(0x29b)]['subscribe'](({reqId:_0x205b0b,timeout:_0xf5bb28})=>{const _0x1d5577=_0x172da6;this[_0x1d5577(0x401)](_0x205b0b,_0xf5bb28);}),this);}[_0x59f468(0x257)](){const _0x5eec53=_0x59f468;return this['_clearScheduledTask'](),this[_0x5eec53(0x351)]['createInstance'](Oe,this[_0x5eec53(0x405)],this[_0x5eec53(0x2b2)],this[_0x5eec53(0x3f2)],this[_0x5eec53(0x4f3)],this[_0x5eec53(0x569)]);}[_0x59f468(0x2df)](){return this;}[_0x59f468(0x4ae)](){const _0xbbfc3e=_0x59f468;this[_0xbbfc3e(0x569)]['onSendChangeset'](this[_0xbbfc3e(0x3f2)]);}[_0x59f468(0x52d)](_0x25ce3e){const _0x3dcc00=_0x59f468;return this[_0x3dcc00(0x3e4)](),this[_0x3dcc00(0x351)][_0x3dcc00(0x2d8)](Re,this[_0x3dcc00(0x405)],this[_0x3dcc00(0x2b2)],null,this[_0x3dcc00(0x4f3)],this[_0x3dcc00(0x569)],_0x25ce3e);}[_0x59f468(0x401)](_0x3cb77b,_0x2acc22){const _0x460510=_0x59f468;var _0x410ff3;_0x3cb77b===((_0x410ff3=this[_0x460510(0x3f2)])==null?void 0x0:_0x410ff3['reqId'])&&(this[_0x460510(0x4ae)](),this[_0x460510(0x200)]=_0x2acc22===0x0?0x3e8:_0x2acc22*0x2);}[_0x59f468(0x3e4)](){const _0x35eec0=_0x59f468;var _0x5b695d;(_0x5b695d=this[_0x35eec0(0x1ee)])==null||_0x5b695d['unsubscribe'](),this[_0x35eec0(0x200)]=0x0;}};me=Le([A(0x6,_0x222038(_0x2e1c56)),A(0x7,_0x222038(_0x21f454)),A(0x8,_0x222038(z)),A(0x9,_0x1e017f),A(0xa,_0x37805d),A(0xb,_0x4cb437),A(0xc,_0x2d2527)],me);let Re=class extends $e{constructor(_0x550e6f,_0x2e1762,_0x5232f7,_0x3b03f7,_0x59de5b,_0x1c1b78=!0x1,_0x3c62b0,_0x275655,_0x129cbc,_0x582e62,_0x107980,_0x142ac4,_0x374af5){const _0x37b35e=_0x59f468;super(_0x550e6f,_0x2e1762,_0x5232f7,_0x3b03f7,_0x59de5b,_0x275655,_0x129cbc,_0x107980,_0x582e62),g(this,'status',_0x37b35e(0x281)),(this[_0x37b35e(0x32c)]=_0x1c1b78,this[_0x37b35e(0x335)]=_0x3c62b0,this[_0x37b35e(0x58c)]=_0x142ac4,this['_notificationService']=_0x374af5,this[_0x37b35e(0x23a)](),this[_0x37b35e(0x280)](),this[_0x37b35e(0x544)]());}['appendMutation'](){return this;}[_0x59f468(0x41d)](){return this;}[_0x59f468(0x488)](){return this;}[_0x59f468(0x236)](){return this;}[_0x59f468(0x531)](){return this;}[_0x59f468(0x257)](){return this;}[_0x59f468(0x2df)](){return this;}[_0x59f468(0x4ae)](){const _0x5ad564=_0x59f468;throw new Error(_0x5ad564(0x1da));}[_0x59f468(0x280)](){const _0x1aa549=_0x59f468;this['_localCacheService'][_0x1aa549(0x2d2)](this[_0x1aa549(0x405)],this[_0x1aa549(0x2b2)],null,[]);}[_0x59f468(0x23a)](){const _0x881d81=_0x59f468;this['_isPermissionRej']?this['_notificationService'][_0x881d81(0x31c)]({'title':this[_0x881d81(0x58c)]['t'](_0x881d81(0x38b)),'content':this[_0x881d81(0x58c)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x881d81(0x20a)][_0x881d81(0x31c)]({'title':this['_localeService']['t'](_0x881d81(0x4ca)),'content':this['_localeService']['t']('conflict.content'),'type':'error','duration':0x0});}[_0x59f468(0x544)](){const _0x5bc19b=_0x59f468;this[_0x5bc19b(0x335)][_0x5bc19b(0x3ca)](new _0x4ef6a0(this['unitID'])['id'],!0x1);}};Re=Le([A(0x6,_0x222038(_0x593390)),A(0x7,_0x1e017f),A(0x8,_0x2d2527),A(0x9,_0x222038(z)),A(0xa,_0x222038(_0x21f454)),A(0xb,_0x222038(_0x52880d)),A(0xc,_0x5126dc)],Re);let Oe=class extends $e{constructor(_0x36a104,_0x2baf6c,_0x5c87e8,_0x205cdd,_0x2f57b3,_0x5147b7,_0x46e288,_0x26b9ae,_0x3f8aea,_0x362d00){const _0x1b0ddd=_0x59f468;super(_0x36a104,_0x2baf6c,_0x5c87e8,_0x205cdd,_0x2f57b3,_0x3f8aea,_0x362d00,_0x46e288,_0x26b9ae),g(this,'status',_0x1b0ddd(0x553)),this['_injector']=_0x5147b7;}[_0x59f468(0x275)](_0x5a45ee){const _0x3299c0=_0x59f468;return this['_pendingMutations']['push'](_0x5a45ee),this[_0x3299c0(0x4e4)](),this;}[_0x59f468(0x41d)](_0x57b790){const _0x306b2b=_0x59f468;throw new Error(_0x306b2b(0x42c));}['onRemoteAck'](){const _0x1ed206=_0x59f468;throw new Error(_0x1ed206(0x1de));}[_0x59f468(0x236)](){const _0x228e5b=_0x59f468;throw new Error(_0x228e5b(0x46d));}[_0x59f468(0x531)](){return this;}['toggleOffline'](){return this;}[_0x59f468(0x2df)](){const _0x9d56a7=_0x59f468,{_injector:_0x2d81fd,_pendingMutations:_0x2774a4,_awaitingChangeset:_0x4e11fb,unitID:_0x3e6c03,_handler:_0x131c13,type:_0x52d558}=this,_0xa40358=Xi(_0x2d81fd,_0x3e6c03,_0x52d558,_0x4e11fb,_0x2774a4,_0x131c13);return _0xa40358 instanceof pe?_0xa40358[_0x9d56a7(0x3c3)]():(_0xa40358 instanceof me||_0xa40358 instanceof Te)&&_0xa40358[_0x9d56a7(0x4ae)](),_0xa40358;}[_0x59f468(0x4ae)](){const _0x540bf9=_0x59f468;throw new Error(_0x540bf9(0x483));}};Oe=Le([A(0x5,_0x222038(_0x2e1c56)),A(0x6,_0x222038(_0x21f454)),A(0x7,_0x222038(z)),A(0x8,_0x1e017f),A(0x9,_0x2d2527)],Oe);let ce=class extends $e{constructor(_0xb56214,_0x575b6d,_0x253bf9,_0xa5c335,_0x149af5,_0x184a9c,_0x14a42d,_0x4e1f5e,_0x20744a,_0x1ae6b7,_0x17cd6a,_0x391b98,_0x203556,_0x38e3a0){const _0x324984=_0x59f468;super(_0xb56214,_0x575b6d,_0x253bf9,_0xa5c335,_0x14a42d,_0x391b98,_0x203556,_0x20744a,_0x1ae6b7),g(this,'status',_0x324984(0x489)),(this[_0x324984(0x2e8)]=_0x149af5,this['_queuedRemoteChangesets']=_0x184a9c,this['_injector']=_0x4e1f5e,this[_0x324984(0x3b6)]=_0x17cd6a,this['_transformService']=_0x38e3a0);}[_0x59f468(0x5ae)](_0x44f5aa){const _0x93317d=_0x59f468;try{const _0x13ae75=[..._0x44f5aa,...this[_0x93317d(0x258)]],_0x36f01e=[this[_0x93317d(0x3f2)]||this[_0x93317d(0x2e8)]][_0x93317d(0x532)](_0x5bc3e0=>!!_0x5bc3e0);let _0x277e7b,_0x45484f;if(_0x36f01e[_0x93317d(0x21a)]){const _0x501649=this['_transformService']['transformChangesets'](_0x13ae75,_0x36f01e,!0x1);if(!_0x5cd3ce(_0x501649))throw _0x501649[_0x93317d(0x1ec)];_0x277e7b=_0x501649['c1Prime'],_0x45484f=_0x501649[_0x93317d(0x33a)];}else _0x277e7b=_0x13ae75,_0x45484f=[];let _0x47acde=this['_pendingMutations'];_0x277e7b['forEach'](_0x10acbb=>{const _0x32b015=_0x93317d;let _0x62345c;if(_0x47acde[_0x32b015(0x21a)]){const _0xf912f0=this[_0x32b015(0x24f)]['transformMutationsWithChangeset'](_0x10acbb,_0x47acde);if(!_0x4d7745(_0xf912f0))throw _0xf912f0[_0x32b015(0x1ec)];_0x62345c=_0xf912f0[_0x32b015(0x3da)],_0x47acde=_0xf912f0['m2Prime'];}else _0x62345c=_0x10acbb;this[_0x32b015(0x4ac)](_0x62345c);}),this[_0x93317d(0x2e8)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x45484f[_0x93317d(0x21a)]&&(_0x45484f[0x0]['baseRev']=this[_0x93317d(0x381)]());let _0x121de2;if(this[_0x93317d(0x3f2)]&&_0x47acde['length']!==0x0)_0x121de2=this[_0x93317d(0x351)]['createInstance'](me,this[_0x93317d(0x405)],this[_0x93317d(0x2b2)],_0x45484f[0x0],_0x47acde,this[_0x93317d(0x569)],void 0x0);else{if(this[_0x93317d(0x3f2)]&&_0x47acde[_0x93317d(0x21a)]===0x0)_0x45484f[0x0][_0x93317d(0x321)]=this[_0x93317d(0x381)](),_0x121de2=this[_0x93317d(0x351)][_0x93317d(0x2d8)](Te,this['unitID'],this[_0x93317d(0x2b2)],_0x45484f[0x0],this[_0x93317d(0x569)]);else{if(_0x47acde[_0x93317d(0x21a)]!==0x0){const _0x45701f=this[_0x93317d(0x351)][_0x93317d(0x2d8)](pe,this[_0x93317d(0x405)],this[_0x93317d(0x2b2)],_0x47acde,this['_handler']);_0x45701f[_0x93317d(0x3c3)](),_0x121de2=_0x45701f;}else _0x121de2=this[_0x93317d(0x351)]['createInstance'](We,this['unitID'],this['type'],this[_0x93317d(0x569)]);}}return _0x121de2[_0x93317d(0x4e4)](),_0x121de2;}catch(_0x289076){return this[_0x93317d(0x3b6)][_0x93317d(0x1ec)](_0x93317d(0x3f0),_0x93317d(0x20e),_0x289076),this['_injector']['createInstance'](Re,this[_0x93317d(0x405)],this['type'],this[_0x93317d(0x3f2)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x59f468(0x4ae)](){const _0x6098d6=_0x59f468;throw new Error(_0x6098d6(0x460));}[_0x59f468(0x275)](_0x41ac9f){const _0x581727=_0x59f468;return this[_0x581727(0x4f3)][_0x581727(0x4cf)](_0x41ac9f),this;}[_0x59f468(0x41d)](_0x243905){const _0x4441ea=_0x59f468;return this[_0x4441ea(0x258)]['push'](_0x243905),this;}[_0x59f468(0x488)](_0x15549c){const _0x226bb6=_0x59f468;if(this['_awaitingChangeset'])return this[_0x226bb6(0x2e8)]=this[_0x226bb6(0x3f2)],this[_0x226bb6(0x3f2)]=null,this;throw new Error(_0x226bb6(0x348));}[_0x59f468(0x236)](_0x20c768){const _0x37bd02=_0x59f468;return this[_0x37bd02(0x52d)](!!(_0x20c768!=null&&_0x20c768['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x59f468(0x257)](){const _0x4a8ef2=_0x59f468;return this[_0x4a8ef2(0x351)]['createInstance'](Oe,this[_0x4a8ef2(0x405)],this[_0x4a8ef2(0x2b2)],this[_0x4a8ef2(0x3f2)],this[_0x4a8ef2(0x4f3)],this['_handler']);}['toggleOnline'](){return this;}[_0x59f468(0x52d)](_0x134146){const _0x4c1e26=_0x59f468;return this[_0x4c1e26(0x351)][_0x4c1e26(0x2d8)](Re,this[_0x4c1e26(0x405)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],_0x134146);}};ce=Le([A(0x7,_0x222038(_0x2e1c56)),A(0x8,_0x222038(_0x21f454)),A(0x9,_0x222038(z)),A(0xa,_0x37805d),A(0xb,_0x1e017f),A(0xc,_0x2d2527),A(0xd,_0x4cb437)],ce);function Xi(_0x167572,_0x5dfc34,_0x24e3bb,_0x5132d2,_0x3c93eb,_0x2eda95){const _0x448087=_0x59f468;return _0x5132d2&&_0x3c93eb[_0x448087(0x21a)]?_0x167572[_0x448087(0x2d8)](me,_0x5dfc34,_0x24e3bb,_0x5132d2,_0x3c93eb,_0x2eda95,void 0x0):_0x5132d2?_0x167572[_0x448087(0x2d8)](Te,_0x5dfc34,_0x24e3bb,_0x5132d2,_0x2eda95):_0x3c93eb[_0x448087(0x21a)]?_0x167572[_0x448087(0x2d8)](pe,_0x5dfc34,_0x24e3bb,_0x3c93eb,_0x2eda95):_0x167572['createInstance'](We,_0x5dfc34,_0x24e3bb,_0x2eda95);}var Ao=Object[_0x59f468(0x29a)],Mo=Object[_0x59f468(0x368)],Ps=(_0x5b8e84,_0xf868c3,_0x1a0132,_0x5cb726)=>{const _0x17dedb=_0x59f468;for(var _0x4c4231=_0x5cb726>0x1?void 0x0:_0x5cb726?Mo(_0xf868c3,_0x1a0132):_0xf868c3,_0x1ebb67=_0x5b8e84[_0x17dedb(0x21a)]-0x1,_0x1d6266;_0x1ebb67>=0x0;_0x1ebb67--)(_0x1d6266=_0x5b8e84[_0x1ebb67])&&(_0x4c4231=(_0x5cb726?_0x1d6266(_0xf868c3,_0x1a0132,_0x4c4231):_0x1d6266(_0x4c4231))||_0x4c4231);return _0x5cb726&&_0x4c4231&&Ao(_0xf868c3,_0x1a0132,_0x4c4231),_0x4c4231;},H=(_0x444a21,_0x1222ad)=>(_0x5e8e83,_0x7bec1b)=>_0x1222ad(_0x5e8e83,_0x7bec1b,_0x444a21);let Pt=class extends _0x2c59cd{constructor(_0x822706,_0x6b53af,_0x18201a,_0x59f732,_0x5996b4,_0x3a3358,_0x58342e,_0x319dd6,_0x3ada91,_0x213e14,_0x299145,_0x251fe1,_0x25d762){const _0x3a6961=_0x59f468;super(),g(this,_0x3a6961(0x52a),new _0x1f1fc6(null)),g(this,'state$',this[_0x3a6961(0x52a)][_0x3a6961(0x472)]()),g(this,_0x3a6961(0x331)),g(this,_0x3a6961(0x2be),!0x1),g(this,_0x3a6961(0x421),''),g(this,_0x3a6961(0x59e),0x0),g(this,'status$',this[_0x3a6961(0x56f)][_0x3a6961(0x318)](_0x36b286(_0x2bdb43=>_0x2bdb43?_0x2bdb43['status']:J['OFFLINE']),_0x2ff007(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x3a6961(0x4b6),[]),(this[_0x3a6961(0x405)]=_0x822706,this['session']=_0x6b53af,this[_0x3a6961(0x56c)]=_0x18201a,this[_0x3a6961(0x351)]=_0x59f732,this[_0x3a6961(0x1ca)]=_0x5996b4,this['_compressMutationService']=_0x3a3358,this[_0x3a6961(0x58c)]=_0x58342e,this[_0x3a6961(0x2b9)]=_0x319dd6,this['_logService']=_0x3ada91,this[_0x3a6961(0x54d)]=_0x213e14,this[_0x3a6961(0x3bb)]=_0x299145,this[_0x3a6961(0x335)]=_0x251fe1,this['_singleActiveUnitService']=_0x25d762);}get[_0x59f468(0x24b)](){const _0x49152a=_0x59f468;return this[_0x49152a(0x331)];}async['init'](){const _0xb1ae6a=_0x59f468;if(this[_0xb1ae6a(0x24b)])throw new Error(_0xb1ae6a(0x436));await this[_0xb1ae6a(0x59d)]();}['pauseCollaboration'](){const _0x40d414=_0x59f468;return this[_0x40d414(0x2be)]=!0x0,_0x510055(()=>{const _0x13cdb4=_0x40d414;this[_0x13cdb4(0x2be)]=!0x1,this[_0x13cdb4(0x491)]();});}[_0x59f468(0x1f1)](_0x348fc1){const _0xa17adb=_0x59f468;this[_0xa17adb(0x331)]=_0x348fc1,this[_0xa17adb(0x52a)][_0xa17adb(0x307)](_0x348fc1);}async['_init'](){const _0x557566=_0x59f468;var _0x5d8e73;this[_0x557566(0x1f1)](await this['_createInitialState']()),this[_0x557566(0x513)]&&((_0x5d8e73=this[_0x557566(0x513)])==null||_0x5d8e73[_0x557566(0x3a8)](this['unitID']),this[_0x557566(0x4e2)](this['_singleActiveUnitService'][_0x557566(0x42f)](this[_0x557566(0x405)])[_0x557566(0x347)](_0x9e7e7=>{const _0x28b19d=_0x557566;this['_logService']['debug'](_0x28b19d(0x39f),_0x28b19d(0x2a6),_0x9e7e7),_0x9e7e7===Yi[_0x28b19d(0x5a5)]?(this[_0x28b19d(0x3bb)][_0x28b19d(0x31c)]({'content':this[_0x28b19d(0x58c)]['t'](_0x28b19d(0x570)),'type':_0x47f0e7[_0x28b19d(0x19a)]}),this['_permissionService'][_0x28b19d(0x3ca)](new _0x4ef6a0(this[_0x28b19d(0x405)])['id'],!0x1),this[_0x28b19d(0x335)][_0x28b19d(0x1dc)](!0x1)):(this[_0x28b19d(0x335)][_0x28b19d(0x3ca)](new _0x4ef6a0(this[_0x28b19d(0x405)])['id'],!0x0),this[_0x28b19d(0x335)][_0x28b19d(0x1dc)](!0x0));})));let _0x292cc3=!0x1;return this[_0x557566(0x4e2)](this[_0x557566(0x2b6)][_0x557566(0x27b)][_0x557566(0x347)](_0x6d26f0=>{const _0x14a996=_0x557566;_0x6d26f0===fe['ONLINE']?this['_toggleOnline'](_0x292cc3):_0x6d26f0===fe[_0x14a996(0x37c)]&&(_0x292cc3=!0x0,this[_0x14a996(0x55e)]());})),this[_0x557566(0x4e2)](this[_0x557566(0x2b6)][_0x557566(0x529)][_0x557566(0x347)](_0x7834c1=>{const _0x385411=_0x557566;try{switch(_0x7834c1[_0x385411(0x1b1)]){case _0x8a32d4[_0x385411(0x1f9)]:{this[_0x385411(0x213)](_0x33ed1d(_0x7834c1[_0x385411(0x233)]));break;}case _0x8a32d4[_0x385411(0x3ea)]:{this[_0x385411(0x21c)](_0x7834c1[_0x385411(0x233)]);break;}case _0x8a32d4['CHANGESET_REJ']:{this[_0x385411(0x3a7)]();break;}case _0x8a32d4[_0x385411(0x445)]:{this[_0x385411(0x5b5)](_0x7834c1[_0x385411(0x233)]);break;}case _0x8a32d4[_0x385411(0x48d)]:{this['_onFetchMissResult'](_0x7834c1[_0x385411(0x233)]['changesets'][_0x385411(0x36d)](_0x5c9319=>_0x33ed1d(_0x5c9319)));break;}case _0x8a32d4[_0x385411(0x398)]:this[_0x385411(0x3a7)]({'isPermissionRej':!0x0});}}catch(_0x4bc432){throw console[_0x385411(0x1ec)](_0x385411(0x475),_0x4bc432),_0x4bc432;}})),this[_0x557566(0x331)];}[_0x59f468(0x369)](){this['_transitionLocked']=!0x1;}[_0x59f468(0x422)](){const _0x1532b9=_0x59f468;if(this[_0x1532b9(0x2ee)])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[_0x1532b9(0x2ee)]=!0x0;}['_onLocalMutation'](_0x3902e6){const _0x3eebbf=_0x59f468;this[_0x3eebbf(0x422)](),this[_0x3eebbf(0x1f1)](this[_0x3eebbf(0x331)]['appendMutation'](_0x3902e6)),this[_0x3eebbf(0x369)]();}[_0x59f468(0x213)](_0x428e32){const _0x51eb27=_0x59f468;if(!(_0x428e32[_0x51eb27(0x393)]<=this['_revisionService'][_0x51eb27(0x355)](this[_0x51eb27(0x405)]))){if(this[_0x51eb27(0x2be)]){this[_0x51eb27(0x4b6)]['push'](_0x428e32);return;}this[_0x51eb27(0x415)](_0x428e32);}}[_0x59f468(0x491)](){const _0x3ae950=_0x59f468;this[_0x3ae950(0x4b6)][_0x3ae950(0x3b0)](_0x44050d=>this[_0x3ae950(0x415)](_0x44050d)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x52f69d){const _0x504f3b=_0x59f468,_0x48b3b1=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x504f3b(0x332)]['interceptor'][_0x504f3b(0x219)]()[_0x504f3b(0x497)])(_0x52f69d[_0x504f3b(0x1a2)],null)||_0x52f69d['mutations'],_0x1fb507={..._0x52f69d,'mutations':_0x48b3b1};this[_0x504f3b(0x422)](),this['_updateState'](this[_0x504f3b(0x331)][_0x504f3b(0x41d)](_0x1fb507)),this[_0x504f3b(0x369)]();}[_0x59f468(0x21c)](_0x4ae605){const _0x3482b4=_0x59f468;this['_lockTransition'](),this[_0x3482b4(0x1f1)](this[_0x3482b4(0x331)][_0x3482b4(0x488)](_0x4ae605)),this['_unlockTransition']();}[_0x59f468(0x3a7)](_0x288d57){const _0x4c3ea1=_0x59f468;this['_lockTransition'](),this[_0x4c3ea1(0x1f1)](this[_0x4c3ea1(0x331)][_0x4c3ea1(0x236)](_0x288d57)),this[_0x4c3ea1(0x369)]();}['_onRemoteRetry'](_0x1f403a){const _0x41144e=_0x59f468;this[_0x41144e(0x422)](),this[_0x41144e(0x1f1)](this[_0x41144e(0x331)][_0x41144e(0x531)](_0x1f403a)),this[_0x41144e(0x369)]();}[_0x59f468(0x1ff)](_0x4feaa2){const _0x35ad46=_0x59f468;if(!(this[_0x35ad46(0x331)]instanceof ce))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x57d456=_0x4feaa2[_0x35ad46(0x36d)](_0x5afcfb=>{const _0x4114d1=_0x35ad46,_0x1db40f=this['_compressMutationService'][_0x4114d1(0x541)]['fetchThroughInterceptors'](this[_0x4114d1(0x332)][_0x4114d1(0x541)][_0x4114d1(0x219)]()[_0x4114d1(0x497)])(_0x5afcfb[_0x4114d1(0x1a2)],null)||_0x5afcfb['mutations'];return{..._0x5afcfb,'mutations':_0x1db40f};});this[_0x35ad46(0x422)](),this[_0x35ad46(0x1f1)](this['_state']['onMissedChangesetFetched'](_0x57d456)),this[_0x35ad46(0x369)]();}[_0x59f468(0x55e)](){const _0x1d49a5=_0x59f468;this[_0x1d49a5(0x422)](),this[_0x1d49a5(0x1f1)](this[_0x1d49a5(0x331)]['toggleOffline']()),this[_0x1d49a5(0x369)]();}[_0x59f468(0x323)](_0x42fe3b=!0x1){const _0xa8baf3=_0x59f468;this[_0xa8baf3(0x422)](),this[_0xa8baf3(0x1f1)](this['_state'][_0xa8baf3(0x2df)]()),this['_unlockTransition']();const _0x2c1bdf=this[_0xa8baf3(0x331)];_0x42fe3b&&_0x2c1bdf instanceof We&&(this['_lockTransition'](),this[_0xa8baf3(0x1f1)](_0x2c1bdf[_0xa8baf3(0x387)]()),this['_unlockTransition']());}async[_0x59f468(0x4fd)](){return new Promise(_0x34171b=>{const _0x7be041=_0x2eda;this[_0x7be041(0x2b6)][_0x7be041(0x27b)][_0x7be041(0x318)](_0x3fe09f(0x1))['subscribe'](async _0x1982cc=>{const _0x203a96=_0x7be041;_0x34171b(await this[_0x203a96(0x36b)](_0x1982cc===fe[_0x203a96(0x3b5)]));});});}[_0x59f468(0x3de)](){const _0x3ed153=_0x59f468,_0x4dd9e0=this[_0x3ed153(0x405)];return{'onStateChange':(_0x202d8d,_0x1ef2a5)=>{const _0x4c47b6=_0x3ed153;if(_0x202d8d!==this[_0x4c47b6(0x331)])throw new Error(_0x4c47b6(0x3ac)+_0x202d8d['status']+_0x4c47b6(0x424)+_0x1ef2a5['status']+'\x0aCurrent:\x20'+this['_state'][_0x4c47b6(0x1e8)]);this[_0x4c47b6(0x1f1)](_0x1ef2a5);},'onSendChangeset':_0x1fc7a7=>{const _0x575420=_0x3ed153;_0x1fc7a7['sid']||(_0x1fc7a7[_0x575420(0x575)]=this['_changesetSessionId'],_0x1fc7a7[_0x575420(0x417)]=++this[_0x575420(0x59e)]);const _0x13decf={'eventID':_0x8a32d4[_0x575420(0x5a8)],'data':{'unitID':_0x1fc7a7[_0x575420(0x405)],'unitType':this[_0x575420(0x56c)],'changeset':_0x1fc7a7,'memberID':this[_0x575420(0x2b6)][_0x575420(0x34f)]()}};this[_0x575420(0x2b6)][_0x575420(0x286)](_0x13decf,this[_0x575420(0x405)]);},'onMissingChangesets':({from:_0x570c53,to:_0x1f514b})=>{const _0x136d3f=_0x3ed153;this[_0x136d3f(0x3b6)][_0x136d3f(0x48b)](_0x136d3f(0x39f),'fetching\x20missing\x20changesets\x20from\x20'+_0x570c53+_0x136d3f(0x5b7)+_0x1f514b);const _0xc8b04={'eventID':_0x8a32d4[_0x136d3f(0x443)],'data':{'unitID':_0x4dd9e0,'unitType':this['_type'],'from':_0x570c53,'to':_0x1f514b}};this[_0x136d3f(0x2b6)][_0x136d3f(0x286)](_0xc8b04,this[_0x136d3f(0x405)]);}};}async[_0x59f468(0x36b)](_0x39028f){const _0x23de42=_0x59f468;var _0x64a7bd,_0x57aabf;const _0x11aa2e=await this['_localCacheService'][_0x23de42(0x4e6)](this[_0x23de42(0x405)]),_0xc25b62=(_0x64a7bd=_0x11aa2e==null?void 0x0:_0x11aa2e['mutations'])!=null?_0x64a7bd:[],_0x2e643e=(_0x57aabf=_0x11aa2e==null?void 0x0:_0x11aa2e['awaitingChangeset'])!=null?_0x57aabf:null,_0x43884e=!!(_0x2e643e!=null&&_0x2e643e[_0x23de42(0x575)])&&!!(_0x2e643e!=null&&_0x2e643e[_0x23de42(0x417)]);this[_0x23de42(0x421)]=_0x43884e?_0x2e643e[_0x23de42(0x575)]:co(),this[_0x23de42(0x59e)]=_0x43884e?_0x2e643e[_0x23de42(0x417)]:0x0;const _0x516763=this[_0x23de42(0x405)];try{this[_0x23de42(0x49e)](_0x2e643e,_0xc25b62);}catch(_0x176924){this[_0x23de42(0x3b6)][_0x23de42(0x1ec)](_0x176924);}const _0x333221=this[_0x23de42(0x3de)]();if(_0x39028f){const _0x148698=Xi(this[_0x23de42(0x351)],_0x516763,this[_0x23de42(0x56c)],_0x2e643e,_0xc25b62,_0x333221);return _0x148698 instanceof pe?_0x148698['_schedule']():(_0x148698 instanceof me||_0x148698 instanceof Te)&&_0x148698[_0x23de42(0x4ae)](),_0x148698;}return this[_0x23de42(0x351)][_0x23de42(0x2d8)](Oe,_0x516763,this[_0x23de42(0x56c)],_0x2e643e,_0xc25b62,_0x333221);}[_0x59f468(0x49e)](_0xd6a725,_0x247773){const _0x12bef0=_0x59f468;var _0x17f6fc,_0x232580;const _0xdb8e05=this[_0x12bef0(0x332)][_0x12bef0(0x541)][_0x12bef0(0x4ef)](this[_0x12bef0(0x332)][_0x12bef0(0x541)]['getInterceptPoints']()[_0x12bef0(0x497)]);(_0x17f6fc=_0xdb8e05((_0xd6a725==null?void 0x0:_0xd6a725[_0x12bef0(0x1a2)])||[],null))==null||_0x17f6fc[_0x12bef0(0x3b0)](_0x27bafa=>this[_0x12bef0(0x54d)][_0x12bef0(0x2c1)](_0x27bafa['id'],_0x27bafa['params'])),(_0x232580=_0xdb8e05(_0x247773||[],null))==null||_0x232580[_0x12bef0(0x3b0)](_0x2ba5b3=>this[_0x12bef0(0x54d)][_0x12bef0(0x2c1)](_0x2ba5b3['id'],_0x2ba5b3[_0x12bef0(0x4c3)]));}};Pt=Ps([H(0x3,_0x222038(_0x2e1c56)),H(0x4,_0x222038(z)),H(0x5,_0x222038(_0x117e38)),H(0x6,_0x222038(_0x52880d)),H(0x7,_0x222038(_0x21f454)),H(0x8,_0x37805d),H(0x9,_0x1e017f),H(0xa,_0x3bbf26),H(0xb,_0x593390),H(0xc,_0x3a5345(Ht))],Pt);let hs=class extends Pt{constructor(_0x2e6248,_0x1a9cf3,_0x1af99a,_0x1a1886,_0x419a23,_0x950513,_0x555ebd,_0x22d858,_0x18843a,_0x3a6881,_0x229cbb,_0x4f5c8c,_0x1ee1d0,_0x4f9aad,_0x462fcc,_0x3f7a70,_0x4f19c0,_0x1fd579){const _0x50b001=_0x59f468;super(_0x2e6248,_0x1af99a,_0x1a9cf3,_0x1a1886,_0x419a23,_0x950513,_0x555ebd,_0x22d858,_0x4f9aad,_0x462fcc,_0x3f7a70,_0x4f19c0,_0x1fd579),this[_0x50b001(0x405)]=_0x2e6248,this['type']=_0x1a9cf3,this[_0x50b001(0x5b4)]=_0x18843a,this[_0x50b001(0x1c4)]=_0x3a6881,this[_0x50b001(0x396)]=_0x229cbb,this['_docTransformSelectionsService']=_0x4f5c8c,this['_docSyncEditingCollabCursorService']=_0x1ee1d0;}['_createHandler'](){const _0x318399=_0x59f468,_0x7e4ee6=super[_0x318399(0x3de)]();return _0x7e4ee6[_0x318399(0x530)]=_0x133403=>this[_0x318399(0x1c4)][_0x318399(0x35f)](_0x133403),_0x7e4ee6[_0x318399(0x56a)]=_0x1eb73e=>this[_0x318399(0x396)]['transformStateCache'](_0x1eb73e),_0x7e4ee6['onTransformSelections']=_0x397851=>this['_docTransformSelectionsService'][_0x318399(0x391)](_0x397851),_0x7e4ee6[_0x318399(0x1aa)]=_0x582e05=>this['_docSyncEditingCollabCursorService'][_0x318399(0x533)](_0x582e05),_0x7e4ee6[_0x318399(0x2a0)]=_0x5d0590=>this['_docTransformIMECacheService'][_0x318399(0x425)](_0x5d0590),_0x7e4ee6[_0x318399(0x232)]=_0x4c8537=>this[_0x318399(0x396)][_0x318399(0x425)](_0x4c8537),_0x7e4ee6;}async['_init'](){const _0x232b4a=_0x59f468,_0x3b57a1=await super[_0x232b4a(0x59d)]();return this['disposeWithMe'](this[_0x232b4a(0x5b4)]['docStateChange$'][_0x232b4a(0x318)](_0x2eaf5f(this[_0x232b4a(0x2c5)]))['subscribe'](_0x10fd9b=>{const _0x55dcc6=_0x232b4a;if(_0x10fd9b==null)return;const {unitId:_0x340dc2,redoState:_0x417162,commandId:_0x762558}=_0x10fd9b;if(_0x340dc2!==this[_0x55dcc6(0x405)])return;const _0x3592a2={'id':_0x762558,'type':_0x2a05e3[_0x55dcc6(0x4c0)],'params':{'unitId':_0x340dc2,'actions':_0x417162[_0x55dcc6(0x584)],'textRanges':null}};this[_0x55dcc6(0x33f)](_0x3592a2);})),this[_0x232b4a(0x4e2)](this[_0x232b4a(0x54d)][_0x232b4a(0x3b7)]((_0x58bfd8,_0x37e82a)=>{const _0x23a45a=_0x232b4a;if(_0x58bfd8['type']!==_0x2a05e3[_0x23a45a(0x4c0)]||_0x37e82a!=null&&_0x37e82a['fromCollab']||_0x37e82a!=null&&_0x37e82a[_0x23a45a(0x2c9)]||_0x58bfd8['id']===_0x2bf5bd['id'])return;const _0x3f610b=_0x58bfd8['params'];if((_0x3f610b==null?void 0x0:_0x3f610b[_0x23a45a(0x51a)])!==this[_0x23a45a(0x405)])return;const _0x4a86b6=_0x58bfd8,_0x2e44de=this[_0x23a45a(0x332)][_0x23a45a(0x541)][_0x23a45a(0x4ef)](this[_0x23a45a(0x332)][_0x23a45a(0x541)][_0x23a45a(0x219)]()[_0x23a45a(0x49f)])([_0x4a86b6],null)||[_0x4a86b6];this[_0x23a45a(0x33f)](_0x2e44de[0x0]);})),_0x3b57a1;}};hs=Ps([H(0x3,_0x222038(_0x2e1c56)),H(0x4,_0x222038(z)),H(0x5,_0x222038(_0x117e38)),H(0x6,_0x222038(_0x52880d)),H(0x7,_0x222038(_0x21f454)),H(0x8,_0x222038(_0x2a72d5)),H(0x9,_0x222038(Ot)),H(0xa,_0x222038(wt)),H(0xb,_0x222038(Dt)),H(0xc,_0x222038(Ds)),H(0xd,_0x37805d),H(0xe,_0x1e017f),H(0xf,_0x3bbf26),H(0x10,_0x593390),H(0x11,_0x3a5345(Ht))],hs);let ls=class extends Pt{constructor(_0x538b8e,_0x294ee7,_0x5687dd,_0x1403f5,_0x1f87e9,_0x158516,_0x5dcca3,_0xf22c7e,_0x9d5b30,_0x1e4930,_0x1b7a05,_0x37d2dd,_0x125525,_0x5f0b19){const _0x486bed=_0x59f468;super(_0x538b8e,_0x5687dd,_0x294ee7,_0x1403f5,_0x1f87e9,_0x158516,_0x5dcca3,_0xf22c7e,_0x1e4930,_0x1b7a05,_0x37d2dd,_0x125525,_0x5f0b19),this['unitID']=_0x538b8e,this[_0x486bed(0x2b2)]=_0x294ee7,this[_0x486bed(0x334)]=_0x9d5b30;}['_createHandler'](){const _0x42da3c=_0x59f468,_0x5e4baa=super['_createHandler']();return _0x5e4baa[_0x42da3c(0x503)]=_0xf253aa=>this['_sheetTransformSelectionsService'][_0x42da3c(0x391)](_0xf253aa),_0x5e4baa;}async[_0x59f468(0x59d)](){const _0x2b1fe7=_0x59f468,_0x3a5f86=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x2b1fe7(0x3b7)]((_0x35d037,_0x3a262d)=>{const _0x2d306f=_0x2b1fe7;if(_0x35d037[_0x2d306f(0x2b2)]!==_0x2a05e3['MUTATION']||_0x3a262d!=null&&_0x3a262d['fromCollab']||_0x3a262d!=null&&_0x3a262d[_0x2d306f(0x2c9)])return;const _0x514fc8=_0x35d037[_0x2d306f(0x4c3)];if((_0x514fc8==null?void 0x0:_0x514fc8[_0x2d306f(0x51a)])!==this[_0x2d306f(0x405)])return;const _0x4c6ded=_0x35d037,_0x2f9822=this['_compressMutationService'][_0x2d306f(0x541)][_0x2d306f(0x4ef)](this[_0x2d306f(0x332)][_0x2d306f(0x541)][_0x2d306f(0x219)]()['COMPRESS_MUTATION_SEND'])([_0x4c6ded],null)||[_0x4c6ded];this['_onLocalMutation'](_0x2f9822[0x0]);})),_0x3a5f86;}};ls=Ps([H(0x3,_0x222038(_0x2e1c56)),H(0x4,_0x222038(z)),H(0x5,_0x222038(_0x117e38)),H(0x6,_0x222038(_0x52880d)),H(0x7,_0x222038(_0x21f454)),H(0x8,_0x222038(yt)),H(0x9,_0x37805d),H(0xa,_0x1e017f),H(0xb,_0x3bbf26),H(0xc,_0x593390),H(0xd,_0x3a5345(Ht))],ls);var xo=Object[_0x59f468(0x29a)],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x267b4b,_0x2bb357,_0x487e4e,_0x24574c)=>{const _0x999944=_0x59f468;for(var _0x481ff7=_0x24574c>0x1?void 0x0:_0x24574c?Lo(_0x2bb357,_0x487e4e):_0x2bb357,_0x430f2a=_0x267b4b[_0x999944(0x21a)]-0x1,_0xcf23bb;_0x430f2a>=0x0;_0x430f2a--)(_0xcf23bb=_0x267b4b[_0x430f2a])&&(_0x481ff7=(_0x24574c?_0xcf23bb(_0x2bb357,_0x487e4e,_0x481ff7):_0xcf23bb(_0x481ff7))||_0x481ff7);return _0x24574c&&_0x481ff7&&xo(_0x2bb357,_0x487e4e,_0x481ff7),_0x481ff7;},qt=(_0x498d09,_0x44176c)=>(_0x1598f2,_0x47e8b1)=>_0x44176c(_0x1598f2,_0x47e8b1,_0x498d09);let it=class extends _0x2c59cd{constructor(_0x1ff0e1,_0xb1401f,_0x5d33ab){const _0x397882=_0x59f468;super(),g(this,'_entities',new Map()),g(this,_0x397882(0x326),new _0xd6475b()),(this[_0x397882(0x351)]=_0x1ff0e1,this[_0x397882(0x3ff)]=_0xb1401f,this['_univerInstanceService']=_0x5d33ab,this['_init']());}['dispose'](){const _0x26fded=_0x59f468;super[_0x26fded(0x1ba)](),this[_0x26fded(0x47a)][_0x26fded(0x3b0)](_0x338641=>_0x338641[_0x26fded(0x1ba)]()),this[_0x26fded(0x47a)][_0x26fded(0x58a)]();}['getCollabEntity'](_0x392718){const _0x4c78b3=_0x59f468;var _0x10cde9;return(_0x10cde9=this[_0x4c78b3(0x47a)][_0x4c78b3(0x25d)](_0x392718))!=null?_0x10cde9:null;}['getCollabEntity$'](_0x7b60e){const _0x215599=_0x59f468,_0x30ebb5=this['getCollabEntity'](_0x7b60e);return _0x30ebb5?_0x38a752(_0x30ebb5):this['_entityInit$'][_0x215599(0x318)](_0x3c73ca(_0x10e691=>_0x10e691[_0x215599(0x405)]===_0x7b60e));}[_0x59f468(0x59d)](){const _0x1d9295=_0x59f468;this[_0x1d9295(0x525)][_0x1d9295(0x242)](_0x52550e[_0x1d9295(0x2b0)])['pipe'](_0x2eaf5f(this[_0x1d9295(0x2c5)]),_0x1d896a(0x10))[_0x1d9295(0x347)](async _0x36c293=>{const _0x13f62e=_0x1d9295,_0x1d12df=_0x36c293[_0x13f62e(0x25c)](),_0x2d5eb2=await this[_0x13f62e(0x505)](_0x1d12df,ae[_0x13f62e(0x2b0)]);this[_0x13f62e(0x47a)][_0x13f62e(0x279)](_0x1d12df,_0x2d5eb2);}),this[_0x1d9295(0x525)]['getTypeOfUnitAdded$'](_0x52550e[_0x1d9295(0x4f9)])[_0x1d9295(0x318)](_0x2eaf5f(this['dispose$']),_0x1d896a(0x10))['pipe'](_0x3c73ca(_0x1412c1=>!_0x1412c1['getUnitId']()[_0x1d9295(0x2dd)]('__')))['subscribe'](async _0x12f2f9=>{const _0x20db32=_0x1d9295,_0x31ce3d=_0x12f2f9[_0x20db32(0x25c)](),_0x32cc39=await this[_0x20db32(0x505)](_0x31ce3d,ae[_0x20db32(0x4f9)]);this[_0x20db32(0x47a)]['set'](_0x31ce3d,_0x32cc39);}),_0x5becde(this[_0x1d9295(0x525)][_0x1d9295(0x31a)](_0x52550e[_0x1d9295(0x2b0)]),this[_0x1d9295(0x525)][_0x1d9295(0x31a)](_0x52550e[_0x1d9295(0x4f9)]))[_0x1d9295(0x318)](_0x2eaf5f(this['dispose$']))['subscribe'](_0x35f938=>{const _0x2fd596=_0x1d9295,_0x1647ff=_0x35f938[_0x2fd596(0x25c)](),_0x6df25e=this[_0x2fd596(0x47a)][_0x2fd596(0x25d)](_0x1647ff);_0x6df25e&&(_0x6df25e[_0x2fd596(0x1ba)](),this[_0x2fd596(0x47a)][_0x2fd596(0x29e)](_0x1647ff));});}async[_0x59f468(0x505)](_0x174462,_0x23c44b){const _0x238fe8=_0x59f468,_0x387357=await this[_0x238fe8(0x3ff)][_0x238fe8(0x55c)](_0x174462),_0x3e1e0f=this[_0x238fe8(0x351)][_0x238fe8(0x2d8)](this['_getCtorByUniverType'](_0x23c44b),_0x174462,_0x23c44b,_0x387357);return await _0x3e1e0f[_0x238fe8(0x43e)](),this['_entityInit$'][_0x238fe8(0x307)](_0x3e1e0f),_0x3e1e0f;}[_0x59f468(0x418)](_0x4632b3){const _0x24a7bd=_0x59f468;switch(_0x4632b3){case ae[_0x24a7bd(0x4f9)]:return hs;case ae[_0x24a7bd(0x2b0)]:return ls;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4632b3);}}};it=$o([qt(0x0,_0x222038(_0x2e1c56)),qt(0x1,_0x222038(Me)),qt(0x2,_0xd7de45)],it);var Ho=Object[_0x59f468(0x29a)],jo=Object[_0x59f468(0x368)],Bo=(_0x44d3f1,_0x1473c1,_0x246d30,_0x218eb5)=>{const _0x12f7e0=_0x59f468;for(var _0x20b5d9=_0x218eb5>0x1?void 0x0:_0x218eb5?jo(_0x1473c1,_0x246d30):_0x1473c1,_0x5ae4c9=_0x44d3f1[_0x12f7e0(0x21a)]-0x1,_0x56d30b;_0x5ae4c9>=0x0;_0x5ae4c9--)(_0x56d30b=_0x44d3f1[_0x5ae4c9])&&(_0x20b5d9=(_0x218eb5?_0x56d30b(_0x1473c1,_0x246d30,_0x20b5d9):_0x56d30b(_0x20b5d9))||_0x20b5d9);return _0x218eb5&&_0x20b5d9&&Ho(_0x1473c1,_0x246d30,_0x20b5d9),_0x20b5d9;},ei=(_0x1cf39a,_0x3c790c)=>(_0x591ac3,_0x41e97e)=>_0x3c790c(_0x591ac3,_0x41e97e,_0x1cf39a);let Ut=class extends _0x2c59cd{constructor(_0x2766f2,_0x3eee0b){const _0x3f22cc=_0x59f468;super(),this[_0x3f22cc(0x537)]=_0x2766f2,this['_imageIoService']=_0x3eee0b,this[_0x3f22cc(0x59d)]();}[_0x59f468(0x59d)](){const _0x31339d=_0x59f468,_0x3df110=this;this[_0x31339d(0x4e2)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x57483c=>{const _0x2bfd43=_0x31339d,_0x6c61ec=await _0x3df110['_imageIoService']['saveImage'](_0x57483c);return _0x6c61ec?{'source':_0x6c61ec[_0x2bfd43(0x4a4)],'imageSourceType':_0x6c61ec[_0x2bfd43(0x46b)]}:null;}}));}};Ut=Bo([ei(0x0,_0x33630a),ei(0x1,_0x3c5ccf)],Ut);const ti=[_0x59f468(0x457),'jiqing500',_0x59f468(0x1a3),_0x59f468(0x512),'blue400',_0x59f468(0x2ae)];class Us extends _0x19fe63{constructor(){const _0x55d878=_0x59f468;super(...arguments),g(this,_0x55d878(0x344),new Map()),g(this,_0x55d878(0x502),0x0);}['assignAColorForMemberID'](_0x522c12){const _0x5bc729=_0x59f468;if(this[_0x5bc729(0x344)][_0x5bc729(0x309)](_0x522c12))return this[_0x5bc729(0x344)][_0x5bc729(0x25d)](_0x522c12);const _0x20af53=ti[this[_0x5bc729(0x502)]];return this[_0x5bc729(0x502)]=(this[_0x5bc729(0x502)]+0x1)%ti['length'],this[_0x5bc729(0x344)][_0x5bc729(0x279)](_0x522c12,_0x20af53),_0x20af53;}}var ko=Object[_0x59f468(0x29a)],Wo=Object[_0x59f468(0x368)],Fo=(_0x30e626,_0x580087,_0x511889,_0x34a598)=>{const _0x1f4cc7=_0x59f468;for(var _0x28ab91=_0x34a598>0x1?void 0x0:_0x34a598?Wo(_0x580087,_0x511889):_0x580087,_0x3c5446=_0x30e626[_0x1f4cc7(0x21a)]-0x1,_0x30bf79;_0x3c5446>=0x0;_0x3c5446--)(_0x30bf79=_0x30e626[_0x3c5446])&&(_0x28ab91=(_0x34a598?_0x30bf79(_0x580087,_0x511889,_0x28ab91):_0x30bf79(_0x28ab91))||_0x28ab91);return _0x34a598&&_0x28ab91&&ko(_0x580087,_0x511889,_0x28ab91),_0x28ab91;},we=(_0x4e40d3,_0x16885a)=>(_0x148004,_0x127fbc)=>_0x16885a(_0x148004,_0x127fbc,_0x4e40d3);const Vo=0x12c,Go=0x64;let _s=class extends _0x2c59cd{constructor(_0x16aaad,_0x2e8b7b,_0x42aafe,_0x41b51c,_0x433f33,_0x46de47,_0x3e6aa6,_0x4f743f,_0x3e083c){const _0x14928e=_0x59f468;super(),g(this,_0x14928e(0x1fc),!0x1),g(this,_0x14928e(0x59d),!0x1),g(this,_0x14928e(0x32b),new _0x1f1fc6(new Map())),g(this,_0x14928e(0x557),this[_0x14928e(0x32b)][_0x14928e(0x472)]()),g(this,_0x14928e(0x1be),new _0x1f1fc6([])),g(this,_0x14928e(0x1e3),this['_roomMembers$'][_0x14928e(0x318)](_0x477823(Vo))),g(this,'_updateLocalCursor',_0x14f2b0(_0x5e23a2=>{const _0x5e3d34=_0x14928e,_0x29f08c={'eventID':_0x8a32d4[_0x5e3d34(0x563)],'data':{'unitID':this['unitID'],'memberID':this[_0x5e3d34(0x356)][_0x5e3d34(0x34f)](),'selection':Ki(_0x5e23a2)}};this[_0x5e3d34(0x356)][_0x5e3d34(0x286)](_0x29f08c,this['unitID']);},Go)),(this[_0x14928e(0x405)]=_0x16aaad,this['_session']=_0x2e8b7b,this[_0x14928e(0x351)]=_0x42aafe,this['_colorAssignService']=_0x41b51c,this['_memberService']=_0x433f33,this[_0x14928e(0x367)]=_0x46de47,this[_0x14928e(0x24f)]=_0x3e6aa6,this[_0x14928e(0x525)]=_0x4f743f,this[_0x14928e(0x54d)]=_0x3e083c);}get['cursorInfo'](){const _0x63140a=_0x59f468;return this[_0x63140a(0x32b)]['getValue']();}get[_0x59f468(0x2bc)](){const _0x53636e=_0x59f468;return this[_0x53636e(0x1be)]['getValue']();}[_0x59f468(0x1ba)](){const _0x3ed939=_0x59f468;super['dispose'](),this[_0x3ed939(0x32b)][_0x3ed939(0x307)](new Map()),this['_cursorInfo$'][_0x3ed939(0x3ee)](),this['_roomMembers$']['next']([]),this[_0x3ed939(0x1be)][_0x3ed939(0x3ee)]();}[_0x59f468(0x43e)](){const _0x1adb1e=_0x59f468;this[_0x1adb1e(0x59d)]||(this['_init']=!0x0,this[_0x1adb1e(0x356)][_0x1adb1e(0x27b)][_0x1adb1e(0x318)](_0x2eaf5f(this['dispose$']))[_0x1adb1e(0x347)](_0x310f0a=>{const _0x118f08=_0x1adb1e;_0x310f0a===fe[_0x118f08(0x3b5)]?this['_toggleOnline']():this[_0x118f08(0x55e)]();}),this[_0x1adb1e(0x356)][_0x1adb1e(0x529)][_0x1adb1e(0x318)](_0x2eaf5f(this[_0x1adb1e(0x2c5)]))[_0x1adb1e(0x347)](_0x3a7f74=>{const _0x13a486=_0x1adb1e,_0x35baf0=_0x3a7f74[_0x13a486(0x1b1)];_0x35baf0===_0x8a32d4[_0x13a486(0x563)]&&this[_0x13a486(0x2d4)](_0x3a7f74),_0x35baf0===_0x8a32d4['USERS_LEAVE']&&this['_onCursorDelete'](_0x3a7f74);}),this[_0x1adb1e(0x4e2)](this[_0x1adb1e(0x54d)][_0x1adb1e(0x3b7)](_0x4b341b=>{const _0x15df94=_0x1adb1e,_0x4e3503=_0x4b341b['params'];_0x4e3503!=null&&this[_0x15df94(0x1fc)]&&_0x4b341b['id']===_0x403062['id']&&_0x4e3503['unitId']===this['unitID']&&_0x4e3503['isEditing']===!0x1&&_0x4e3503[_0x15df94(0x39c)][_0x15df94(0x21a)]>0x0&&this[_0x15df94(0x333)](_0x4e3503[_0x15df94(0x39c)]);})),this[_0x1adb1e(0x367)]['collabCursorState$']['pipe'](_0x2eaf5f(this['dispose$']))[_0x1adb1e(0x347)](_0x1ff4b7=>{const _0x1263c1=_0x1adb1e;if((_0x1ff4b7==null?void 0x0:_0x1ff4b7[_0x1263c1(0x405)])!==this['unitID'])return;const _0x2780d8={'eventID':_0x8a32d4[_0x1263c1(0x563)],'data':_0x1ff4b7};this[_0x1263c1(0x2d4)](_0x2780d8);}),this['disposeWithMe'](this[_0x1adb1e(0x54d)]['onCommandExecuted'](_0x5bda13=>{const _0x356869=_0x1adb1e;if(_0x5bda13['params']==null)return;const _0xeb8d3a=_0x5bda13[_0x356869(0x4c3)];if(_0x5bda13['id']!==_0x2bf5bd['id']||_0xeb8d3a[_0x356869(0x51a)]!==this[_0x356869(0x405)])return;const _0x649272={'id':_0x356869(0x392),'params':_0xeb8d3a},_0x9222b0=this[_0x356869(0x22f)];for(const [_0x3724c5,_0x15a469]of _0x9222b0){const _0x1f16fc={'id':_0x356869(0x392),'params':{'unitId':this[_0x356869(0x405)],'actions':null,'textRanges':_0x15a469[_0x356869(0x39c)]}},_0x560db2=this[_0x356869(0x24f)][_0x356869(0x591)](_0x649272,_0x1f16fc,!0x1);if(_0x18387e(_0x560db2))throw _0x560db2[_0x356869(0x1ec)];_0x9222b0[_0x356869(0x279)](_0x3724c5,{..._0x15a469,'ranges':_0x560db2[_0x356869(0x388)][_0x356869(0x4c3)]['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x9222b0);});})));}['_onCursorUpdate'](_0x948f1b){const _0x249ae6=_0x59f468;var _0x377e02,_0x7c5c7b;const {memberID:_0xcf929,selection:_0xaf6a35}=_0x948f1b['data'],_0x59f440=To(_0xaf6a35),_0x3c5207=(_0x7c5c7b=(_0x377e02=this[_0x249ae6(0x43b)][_0x249ae6(0x2ac)](this[_0x249ae6(0x405)],_0xcf929))==null?void 0x0:_0x377e02['name'])!=null?_0x7c5c7b:_0x249ae6(0x5b2),_0x4b6260={'color':this[_0x249ae6(0x4f6)][_0x249ae6(0x4c4)](_0xcf929),'name':_0x3c5207,'ranges':_0x59f440},_0x47c12d=this[_0x249ae6(0x22f)];_0x47c12d[_0x249ae6(0x279)](_0xcf929,_0x4b6260),this[_0x249ae6(0x32b)]['next'](_0x47c12d);}[_0x59f468(0x214)](_0x1bf2c5){const _0x4de03d=_0x59f468,{memberID:_0xb59269}=_0x1bf2c5['data'],_0x1fbb84=this[_0x4de03d(0x22f)];_0x1fbb84[_0x4de03d(0x29e)](_0xb59269),this[_0x4de03d(0x32b)][_0x4de03d(0x307)](_0x1fbb84);}[_0x59f468(0x323)](){const _0x4eadd0=_0x59f468;var _0x5d87a0;if(this['_online']=!0x0,((_0x5d87a0=this[_0x4eadd0(0x525)][_0x4eadd0(0x370)]())==null?void 0x0:_0x5d87a0['getUnitId']())!==this['unitID'])return;const _0x395c46=this['_injector'][_0x4eadd0(0x25d)](_0x4768db)[_0x4eadd0(0x24d)]();Array[_0x4eadd0(0x53a)](_0x395c46)&&_0x395c46[_0x4eadd0(0x21a)]>0x0&&this[_0x4eadd0(0x333)](_0x395c46);}[_0x59f468(0x55e)](){const _0x1e62ca=_0x59f468;this[_0x1e62ca(0x1fc)]=!0x1;}};_s=Fo([we(0x2,_0x222038(_0x2e1c56)),we(0x3,_0x222038(Us)),we(0x4,_0x222038(Ae)),we(0x5,_0x222038(Ds)),we(0x6,_0x4cb437),we(0x7,_0xd7de45),we(0x8,_0x1e017f)],_s);var Yo=Object['defineProperty'],Ko=Object['getOwnPropertyDescriptor'],qo=(_0x361d3f,_0x131558,_0x448b9f,_0x2a2c1a)=>{const _0xd04b6b=_0x59f468;for(var _0x310c72=_0x2a2c1a>0x1?void 0x0:_0x2a2c1a?Ko(_0x131558,_0x448b9f):_0x131558,_0x3c33b7=_0x361d3f[_0xd04b6b(0x21a)]-0x1,_0xdb992b;_0x3c33b7>=0x0;_0x3c33b7--)(_0xdb992b=_0x361d3f[_0x3c33b7])&&(_0x310c72=(_0x2a2c1a?_0xdb992b(_0x131558,_0x448b9f,_0x310c72):_0xdb992b(_0x310c72))||_0x310c72);return _0x2a2c1a&&_0x310c72&&Yo(_0x131558,_0x448b9f,_0x310c72),_0x310c72;},je=(_0x308486,_0x1a3c81)=>(_0x1a4598,_0xb7db85)=>_0x1a3c81(_0x1a4598,_0xb7db85,_0x308486);const zo=0x12c,Xo=0x64,Jo=()=>{let _0x270ea3=[],_0x2b8263=!0x1;return _0x599e07=>{const _0x1be400=_0x2eda;_0x270ea3[_0x1be400(0x4cf)](_0x599e07),_0x2b8263||(_0x2b8263=!0x0,setTimeout(()=>{const _0x2a66b3=_0x1be400;_0x270ea3[_0x2a66b3(0x3b0)](_0x4291fb=>_0x4291fb()),_0x270ea3=[],_0x2b8263=!0x1;}));};};let us=class extends _0x2c59cd{constructor(_0x4142d3,_0x3f8a71,_0x4799a1,_0x5208b1,_0x3afa5a,_0x2ce31c,_0x398d01,_0x28e670){const _0x3bc1f2=_0x59f468;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,'_cursorInfo$',new _0x1f1fc6(new Map())),g(this,_0x3bc1f2(0x557),this[_0x3bc1f2(0x32b)]['asObservable']()),g(this,'_roomMembers$',new _0x1f1fc6([])),g(this,_0x3bc1f2(0x1e3),this[_0x3bc1f2(0x1be)][_0x3bc1f2(0x318)](_0x477823(zo))),g(this,_0x3bc1f2(0x333),_0x14f2b0((_0x363ec5,_0xc1777b)=>{const _0xcb02d7=_0x3bc1f2,_0x8eaaad={'eventID':_0x8a32d4['UPDATE_CURSOR'],'data':{'unitID':this[_0xcb02d7(0x405)],'memberID':this[_0xcb02d7(0x356)][_0xcb02d7(0x34f)](),'selection':_0x44ca9e(_0x363ec5,_0xc1777b[_0xcb02d7(0x1d8)])}};this[_0xcb02d7(0x356)]['send'](_0x8eaaad,this[_0xcb02d7(0x405)]);},Xo)),(this['unitID']=_0x4142d3,this[_0x3bc1f2(0x356)]=_0x3f8a71,this[_0x3bc1f2(0x351)]=_0x4799a1,this[_0x3bc1f2(0x4f6)]=_0x5208b1,this['_memberService']=_0x3afa5a,this['_univerInstanceService']=_0x2ce31c,this['_commandService']=_0x398d01,this[_0x3bc1f2(0x28c)]=_0x28e670);}get['cursorInfo'](){const _0x4f98da=_0x59f468;return this[_0x4f98da(0x32b)][_0x4f98da(0x44d)]();}get[_0x59f468(0x2bc)](){const _0x12511f=_0x59f468;return this[_0x12511f(0x1be)]['getValue']();}[_0x59f468(0x1ba)](){const _0x2d8684=_0x59f468;super[_0x2d8684(0x1ba)](),this['_cursorInfo$'][_0x2d8684(0x307)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$']['next']([]),this[_0x2d8684(0x1be)][_0x2d8684(0x3ee)]();}[_0x59f468(0x43e)](){const _0x57bde8=_0x59f468;this[_0x57bde8(0x59d)]||(this['_init']=!0x0,this[_0x57bde8(0x356)][_0x57bde8(0x27b)][_0x57bde8(0x318)](_0x2eaf5f(this['dispose$']))[_0x57bde8(0x347)](_0x66b323=>{const _0x1e3531=_0x57bde8;_0x66b323===fe['ONLINE']?this[_0x1e3531(0x323)]():this[_0x1e3531(0x55e)]();}),this['_session'][_0x57bde8(0x529)][_0x57bde8(0x318)](_0x2eaf5f(this[_0x57bde8(0x2c5)]))[_0x57bde8(0x347)](_0x7f705a=>{const _0x48ddb8=_0x57bde8,_0x1c947f=_0x7f705a[_0x48ddb8(0x1b1)];_0x1c947f===_0x8a32d4[_0x48ddb8(0x563)]&&this['_onCursorUpdate'](_0x7f705a),_0x1c947f===_0x8a32d4[_0x48ddb8(0x23b)]&&this[_0x48ddb8(0x214)](_0x7f705a);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x57bde8(0x3b7)](_0x37dcba=>{const _0x35e24e=_0x57bde8;if(this[_0x35e24e(0x1fc)]&&_0x37dcba['id']===_0x20d3bf['id']&&_0x37dcba[_0x35e24e(0x4c3)][_0x35e24e(0x51a)]===this[_0x35e24e(0x405)]){const _0xa15940=_0x37dcba[_0x35e24e(0x4c3)];this[_0x35e24e(0x333)](_0xa15940['subUnitId'],_0xa15940[_0x35e24e(0x365)][0x0]);}})));}[_0x59f468(0x2d4)](_0x183bae){const _0x18eff1=_0x59f468;var _0x5d4cff,_0x1db6bd;const {memberID:_0x241c45,selection:_0x27b40a}=_0x183bae[_0x18eff1(0x233)],{sheetName:_0x3cabf1,range:_0x13255f}=_0x47b496(_0x27b40a),_0x595ed1={'name':(_0x1db6bd=(_0x5d4cff=this[_0x18eff1(0x43b)][_0x18eff1(0x2ac)](this[_0x18eff1(0x405)],_0x241c45))==null?void 0x0:_0x5d4cff[_0x18eff1(0x48c)])!=null?_0x1db6bd:'Unknown\x20user','range':this[_0x18eff1(0x2c2)](_0x3cabf1,_0x13255f),'sheetID':_0x3cabf1,'color':this[_0x18eff1(0x4f6)][_0x18eff1(0x4c4)](_0x241c45),'selection':_0x27b40a},_0x5da440=this[_0x18eff1(0x22f)];_0x5da440[_0x18eff1(0x279)](_0x241c45,_0x595ed1),this[_0x18eff1(0x32b)]['next'](_0x5da440);}[_0x59f468(0x214)](_0x7d2f89){const _0xacff0c=_0x59f468,{memberID:_0x2bd8a7}=_0x7d2f89['data'],_0xafb614=this['cursorInfo'];_0xafb614[_0xacff0c(0x29e)](_0x2bd8a7),this['_cursorInfo$'][_0xacff0c(0x307)](_0xafb614);}['_getMergeRange'](_0x3512db,_0x3145b8){const _0x2b18ba=_0x59f468;var _0x355a6d,_0x257f34;const _0x100ccd=(_0x257f34=(_0x355a6d=this[_0x2b18ba(0x525)][_0x2b18ba(0x404)](this[_0x2b18ba(0x405)]))==null?void 0x0:_0x355a6d[_0x2b18ba(0x21f)](_0x3512db))==null?void 0x0:_0x257f34['getMergeData']();return(_0x100ccd==null?void 0x0:_0x100ccd['find'](_0x423cef=>_0x23bbd9[_0x2b18ba(0x25a)](_0x423cef,_0x3145b8)))||_0x3145b8;}[_0x59f468(0x349)](){const _0x199582=_0x59f468,_0x78d4cc=new _0x2fc363(),_0x57f123=Jo(),_0x462fba=()=>{const _0x38d39d=_0x2eda;_0x78d4cc[_0x38d39d(0x1ba)]();const _0x5b83b3=(_0x497ddd,_0x1de744,_0x18891c,_0x1b5813)=>{const _0x538b87=_0x38d39d;let _0x30c429=[];switch(_0x497ddd['id']){case _0x41e7aa['DeleteRangeMoveLeftCommandId']:{_0x30c429=_0x32e871(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x402)]:{_0x30c429=_0x19d6d3(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x550)]:{_0x30c429=_0x51dcac(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x45f)]:{_0x30c429=_0x4c153f(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x3b3)]:{_0x30c429=_0x4172fd(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x319)]:{_0x30c429=_0xdf91b0(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x1d1)]:{_0x30c429=_0x10af59(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x53b)]:{_0x30c429=_0x8f8b06(_0x497ddd,_0x1b5813);break;}case _0x41e7aa[_0x538b87(0x2ca)]:{_0x30c429=_0x27bb0b(_0x497ddd,_0x1b5813);break;}}const _0x4b3375=_0x56b84c(_0x30c429,_0x1b5813),_0x53cda3=this['cursorInfo'][_0x538b87(0x25d)](_0x1de744);if(_0x53cda3&&_0x4b3375){const _0x45c59c={..._0x53cda3,'range':_0x4b3375};this[_0x538b87(0x22f)][_0x538b87(0x279)](_0x1de744,_0x45c59c),_0x57f123(()=>{const _0x1a4c31=_0x538b87,_0x2993f6=this['_refRangeService'][_0x1a4c31(0x4d6)](_0x4b3375,_0x5b9885=>(_0x2993f6[_0x1a4c31(0x1ba)](),_0x5b83b3(_0x5b9885,_0x1de744,_0x18891c,_0x4b3375)));_0x78d4cc[_0x1a4c31(0x3ab)](_0x2993f6);});}return{'redos':[],'undos':[]};};this[_0x38d39d(0x22f)]['forEach']((_0x92a1a5,_0x1a0b9d)=>{const _0x181f8a=_0x38d39d,{range:_0x3276a8,sheetID:_0xda2f73}=_0x92a1a5,_0x3d8f94=this['_refRangeService'][_0x181f8a(0x4d6)](_0x3276a8,_0x4b4b52=>(_0x3d8f94[_0x181f8a(0x1ba)](),_0x5b83b3(_0x4b4b52,_0x1a0b9d,_0xda2f73,_0x3276a8)));_0x78d4cc[_0x181f8a(0x3ab)](_0x3d8f94);});};this['disposeWithMe'](_0x510055(this[_0x199582(0x32b)][_0x199582(0x347)](()=>{_0x462fba();})));}['_toggleOnline'](){const _0x21f221=_0x59f468;var _0x21ac1c,_0x233c41;if(this[_0x21f221(0x1fc)]=!0x0,((_0x21ac1c=this[_0x21f221(0x525)][_0x21f221(0x370)]())==null?void 0x0:_0x21ac1c[_0x21f221(0x25c)]())!==this[_0x21f221(0x405)])return;const _0x9271ea=(_0x233c41=this['_injector'][_0x21f221(0x25d)](_0x49c3d1)['getCurrentSelections']())==null?void 0x0:_0x233c41[0x0],_0x2efe85=this[_0x21f221(0x525)][_0x21f221(0x558)](_0x52550e[_0x21f221(0x2b0)])[_0x21f221(0x561)]();_0x9271ea&&_0x2efe85&&this[_0x21f221(0x333)](_0x2efe85[_0x21f221(0x51d)](),_0x9271ea);}[_0x59f468(0x55e)](){const _0x1407ab=_0x59f468;this[_0x1407ab(0x1fc)]=!0x1;}};us=qo([je(0x2,_0x222038(_0x2e1c56)),je(0x3,_0x222038(Us)),je(0x4,_0x222038(Ae)),je(0x5,_0xd7de45),je(0x6,_0x1e017f),je(0x7,_0x222038(_0x4214dd))],us);var Zo=Object[_0x59f468(0x29a)],Qo=Object[_0x59f468(0x368)],ea=(_0x2bc09f,_0x900f5b,_0x126578,_0x4e68ca)=>{const _0x3892ad=_0x59f468;for(var _0x56513b=_0x4e68ca>0x1?void 0x0:_0x4e68ca?Qo(_0x900f5b,_0x126578):_0x900f5b,_0x16a13b=_0x2bc09f[_0x3892ad(0x21a)]-0x1,_0x59942e;_0x16a13b>=0x0;_0x16a13b--)(_0x59942e=_0x2bc09f[_0x16a13b])&&(_0x56513b=(_0x4e68ca?_0x59942e(_0x900f5b,_0x126578,_0x56513b):_0x59942e(_0x56513b))||_0x56513b);return _0x4e68ca&&_0x56513b&&Zo(_0x900f5b,_0x126578,_0x56513b),_0x56513b;},zt=(_0x512f84,_0xb3c334)=>(_0x43727f,_0x5bc4b8)=>_0xb3c334(_0x43727f,_0x5bc4b8,_0x512f84);let Fe=class extends _0x2c59cd{constructor(_0x1f06ef,_0x1f71e7,_0x1943f3){const _0x3cb223=_0x59f468;super(),g(this,'_entities',new Map()),g(this,_0x3cb223(0x326),new _0xd6475b()),(this['_univerInstanceService']=_0x1f06ef,this[_0x3cb223(0x351)]=_0x1f71e7,this[_0x3cb223(0x3ff)]=_0x1943f3,this[_0x3cb223(0x59d)]());}['dispose'](){const _0x2e5829=_0x59f468;super[_0x2e5829(0x1ba)](),this[_0x2e5829(0x326)]['complete'](),this['_entities'][_0x2e5829(0x3b0)](_0x4adedd=>_0x4adedd[_0x2e5829(0x1ba)]());}[_0x59f468(0x282)](_0x2318dd){const _0x261c8b=_0x59f468;return this['_entities'][_0x261c8b(0x309)](_0x2318dd)?this[_0x261c8b(0x47a)][_0x261c8b(0x25d)](_0x2318dd)[_0x261c8b(0x557)]:this[_0x261c8b(0x326)]['pipe'](_0x54e74d(_0x50417a=>_0x50417a[_0x261c8b(0x405)]===_0x2318dd),_0x2bc5b0(_0x39ff85=>_0x39ff85[_0x261c8b(0x557)]));}['_init'](){const _0x5181c5=_0x59f468;this[_0x5181c5(0x525)]['getTypeOfUnitAdded$'](_0x52550e[_0x5181c5(0x2b0)])['pipe'](_0x2eaf5f(this['dispose$']))[_0x5181c5(0x347)](async _0x364f0a=>{const _0x3aad6a=_0x5181c5,_0x4fec14=_0x364f0a['getUnitId'](),_0x5e2cf2=await this['_startSheetCollabCursor'](_0x4fec14);this[_0x3aad6a(0x326)][_0x3aad6a(0x307)](_0x5e2cf2),this[_0x3aad6a(0x47a)][_0x3aad6a(0x279)](_0x4fec14,_0x5e2cf2);}),this[_0x5181c5(0x525)]['getTypeOfUnitAdded$'](_0x52550e[_0x5181c5(0x4f9)])['pipe'](_0x2eaf5f(this[_0x5181c5(0x2c5)]))[_0x5181c5(0x318)](_0x54e74d(_0x4b1ae1=>!_0x4b1ae1['getUnitId']()[_0x5181c5(0x2dd)]('__')))['subscribe'](async _0x42f55a=>{const _0x130724=_0x5181c5,_0x1998bc=_0x42f55a[_0x130724(0x25c)](),_0x574183=await this[_0x130724(0x2aa)](_0x1998bc);this[_0x130724(0x326)]['next'](_0x574183),this['_entities'][_0x130724(0x279)](_0x1998bc,_0x574183);}),_0x5becde(this[_0x5181c5(0x525)][_0x5181c5(0x31a)](_0x52550e[_0x5181c5(0x4f9)]),this[_0x5181c5(0x525)][_0x5181c5(0x31a)](_0x52550e['UNIVER_SHEET']))['pipe'](_0x2eaf5f(this[_0x5181c5(0x2c5)]))[_0x5181c5(0x347)](_0x5709bf=>{const _0x56a5ea=_0x5181c5,_0x3603db=_0x5709bf[_0x56a5ea(0x25c)](),_0x2f091d=this[_0x56a5ea(0x47a)][_0x56a5ea(0x25d)](_0x3603db);_0x2f091d&&(_0x2f091d[_0x56a5ea(0x1ba)](),this[_0x56a5ea(0x47a)]['delete'](_0x3603db));});}async[_0x59f468(0x564)](_0x2cfdf3){const _0x33c5a7=_0x59f468,_0x43d78c=await this['_collabSessionService'][_0x33c5a7(0x55c)](_0x2cfdf3),_0x3fe275=this[_0x33c5a7(0x351)][_0x33c5a7(0x2d8)](us,_0x2cfdf3,_0x43d78c);return _0x3fe275['init'](),_0x3fe275;}async[_0x59f468(0x2aa)](_0x4ad680){const _0x2b6d95=_0x59f468,_0x768970=await this[_0x2b6d95(0x3ff)][_0x2b6d95(0x55c)](_0x4ad680),_0xfbc415=this[_0x2b6d95(0x351)]['createInstance'](_s,_0x4ad680,_0x768970);return _0xfbc415[_0x2b6d95(0x43e)](),_0xfbc415;}};Fe=ea([zt(0x0,_0xd7de45),zt(0x1,_0x222038(_0x2e1c56)),zt(0x2,_0x222038(Me))],Fe);const rt=0x14,si=0xc8,Xt=0x4,ta=0x5;function sa(_0x6d0bd6,_0x579a90){const _0x53680b=_0x59f468;let {radius:_0x5d0cc8,width:_0x2da928,height:_0x519303}=_0x579a90;_0x5d0cc8=_0x5d0cc8!=null?_0x5d0cc8:0x0,_0x2da928=_0x2da928!=null?_0x2da928:0x1e,_0x519303=_0x519303!=null?_0x519303:0x1e;let _0x169ed9=0x0,_0x59780e=0x0,_0x599dc4=0x0;_0x169ed9=_0x59780e=_0x599dc4=Math[_0x53680b(0x42a)](_0x5d0cc8,_0x2da928/0x2,_0x519303/0x2),_0x6d0bd6[_0x53680b(0x25b)](),_0x6d0bd6[_0x53680b(0x1df)](_0x169ed9,0x0),_0x6d0bd6[_0x53680b(0x383)](_0x2da928-_0x59780e,0x0),_0x6d0bd6['arc'](_0x2da928-_0x59780e,_0x59780e,_0x59780e,Math['PI']*0x3/0x2,0x0,!0x1),_0x6d0bd6[_0x53680b(0x383)](_0x2da928,_0x519303-_0x599dc4),_0x6d0bd6[_0x53680b(0x427)](_0x2da928-_0x599dc4,_0x519303-_0x599dc4,_0x599dc4,0x0,Math['PI']/0x2,!0x1),_0x6d0bd6[_0x53680b(0x383)](0x0,_0x519303),_0x6d0bd6[_0x53680b(0x383)](0x0,_0x169ed9),_0x6d0bd6['arc'](_0x169ed9,_0x169ed9,_0x169ed9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6d0bd6[_0x53680b(0x598)](),_0x579a90['fill']&&(_0x6d0bd6['save'](),_0x6d0bd6[_0x53680b(0x4c7)]=_0x579a90[_0x53680b(0x3fd)],_0x579a90['fillRule']===_0x53680b(0x5b8)?_0x6d0bd6[_0x53680b(0x3fd)](_0x53680b(0x5b8)):_0x6d0bd6[_0x53680b(0x3fd)](),_0x6d0bd6[_0x53680b(0x229)]());}class jt extends _0x37149c{constructor(_0x5bdc84,_0x23b466){const _0x21e957=_0x59f468;super(_0x5bdc84,_0x23b466),g(this,_0x21e957(0x478)),g(this,_0x21e957(0x504)),(this[_0x21e957(0x478)]=_0x23b466==null?void 0x0:_0x23b466[_0x21e957(0x478)],this['text']=_0x23b466==null?void 0x0:_0x23b466['text']);}static[_0x59f468(0x4dc)](_0x1f7614,_0x42c933){const _0x2d466a=_0x59f468,{text:_0x73504c,color:_0x57b303}=_0x42c933;_0x1f7614[_0x2d466a(0x310)](),_0x1f7614[_0x2d466a(0x1e0)]=_0x2d466a(0x299);const _0x43adb2=_0x1f7614[_0x2d466a(0x272)](_0x73504c)[_0x2d466a(0x1f4)],_0x49dbde=Math[_0x2d466a(0x42a)](_0x43adb2+0x2*Xt,si);sa(_0x1f7614,{'height':rt,'radius':0x4,'width':_0x49dbde,'fill':_0x57b303,'evented':!0x1}),_0x1f7614[_0x2d466a(0x4c7)]='#FFF';const _0xa34b57=Xt,_0x34bdf7=rt-ta,_0x539405=si-0x2*Xt;if(_0x43adb2>_0x539405){let _0x54ae5d='',_0x4963fa=0x0;for(const _0x51f9fc of _0x73504c){const _0x47ec34=_0x1f7614[_0x2d466a(0x272)](_0x51f9fc)[_0x2d466a(0x1f4)];if(_0x4963fa+_0x47ec34<=_0x539405-_0x1f7614[_0x2d466a(0x272)]('...')[_0x2d466a(0x1f4)])_0x54ae5d+=_0x51f9fc,_0x4963fa+=_0x47ec34;else{_0x54ae5d+='...';break;}}_0x1f7614[_0x2d466a(0x338)](_0x54ae5d,_0xa34b57,_0x34bdf7);}else _0x1f7614['fillText'](_0x73504c,_0xa34b57,_0x34bdf7);_0x1f7614[_0x2d466a(0x229)]();}[_0x59f468(0x1e7)](_0x1c72f3){const _0x514406=_0x59f468;jt[_0x514406(0x4dc)](_0x1c72f3,this);}}const Jt='collab-text-anchor-',ia=_0x59f468(0x2fe),ra=_0x59f468(0x2ea),Xe=0x6,na=1.5,Zt=0x4,oa=1.5,aa=_0x59f468(0x437);class ii{constructor(_0x14e435,_0x553492,_0x2e6d30,_0x575fd4){const _0xbce41d=_0x59f468;g(this,'_shapes',[]),g(this,'_anchor',null),g(this,_0xbce41d(0x3ae),null),g(this,_0xbce41d(0x1a0),null),g(this,'_hideTimer',null),g(this,_0xbce41d(0x221),null),(this[_0xbce41d(0x1dd)]=_0x14e435,this[_0xbce41d(0x2a7)]=_0x553492,this[_0xbce41d(0x20b)]=_0x2e6d30,this[_0xbce41d(0x4b7)]=_0x575fd4,this[_0xbce41d(0x197)]());}set['_hover'](_0x2ed77f){const _0x7c397e=_0x59f468;_0x2ed77f?(this[_0x7c397e(0x1a0)]&&this[_0x7c397e(0x1a0)][_0x7c397e(0x1f2)](),this['_textBubble']&&this[_0x7c397e(0x3ae)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x7c397e(0x31c)](),this['_textBubble']&&this[_0x7c397e(0x3ae)][_0x7c397e(0x1f2)]());}['dispose'](){const _0x313ec9=_0x59f468;for(const _0x29763d of this[_0x313ec9(0x2ec)])_0x29763d[_0x313ec9(0x1ba)]();this[_0x313ec9(0x3ae)]&&this[_0x313ec9(0x3ae)][_0x313ec9(0x1ba)](),this[_0x313ec9(0x1a0)]&&this[_0x313ec9(0x1a0)][_0x313ec9(0x1ba)](),this['_anchor']&&this[_0x313ec9(0x59f)][_0x313ec9(0x1ba)](),this[_0x313ec9(0x221)]&&this[_0x313ec9(0x221)]();}[_0x59f468(0x197)](){const _0x12385b=_0x59f468;var _0x4c270b;const {_docSkeleton:_0x4a1462,_document:_0x2d1210}=this,{color:_0x3873c8,name:_0x29124c,ranges:_0xf359da}=this[_0x12385b(0x1dd)],_0xc1ad12=_0x2d1210[_0x12385b(0x56d)](),{docsLeft:_0x5cc23d,docsTop:_0x65ebf8}=_0xc1ad12,_0x4db97c=new _0x4cd065(_0xc1ad12,_0x4a1462);for(const {startOffset:_0x5d9b83,endOffset:_0x1ec5a5,rangeType:_0x9dba01,segmentId:_0xcef74,segmentPage:_0x26e6aa,collapsed:_0x32d38d,isActive:_0x51fb5f}of _0xf359da){const _0x548314=_0x4a1462[_0x12385b(0x22e)](_0x5d9b83,!0x0,_0xcef74,_0x26e6aa);let _0x1f25a9=_0x4a1462[_0x12385b(0x22e)](_0x1ec5a5,!0x0,_0xcef74,_0x26e6aa);if(_0x1f25a9==null&&(_0x1f25a9=_0x4a1462['findNodePositionByCharIndex'](_0x1ec5a5-0x1,!0x1,_0xcef74,_0x26e6aa)),_0x51fb5f){const {contentBoxPointGroup:_0x7cb2db}=_0x4db97c[_0x12385b(0x44a)](_0x1f25a9,_0x1f25a9);if(_0x7cb2db[_0x12385b(0x21a)]===0x0)continue;this['_drawAnchor'](_0x3873c8,_0x7cb2db,_0x5cc23d,_0x65ebf8,_0x29124c),this[_0x12385b(0x221)]=this[_0x12385b(0x38f)]();}if(_0x548314&&_0x1f25a9){if(_0x9dba01===_0x638c4d[_0x12385b(0x555)]){const _0x360ccf=new _0x28e160(_0xc1ad12,_0x4a1462),{pointGroup:_0x465988}=(_0x4c270b=_0x360ccf[_0x12385b(0x44a)](_0x548314,_0x1f25a9))!=null?_0x4c270b:{};if(_0x465988==null||_0x465988[_0x12385b(0x21a)]===0x0)continue;this[_0x12385b(0x28d)](_0x3873c8,_0x465988,_0x5cc23d,_0x65ebf8);}else{if(!_0x32d38d){const {borderBoxPointGroup:_0x5b811b}=_0x4db97c[_0x12385b(0x44a)](_0x548314,_0x1f25a9);if(_0x5b811b[_0x12385b(0x21a)]===0x0)continue;this['_drawTextRange'](_0x3873c8,_0x5b811b,_0x5cc23d,_0x65ebf8);}}}}}['_drawAnchor'](_0x3d88b8,_0x336114,_0x3a6965,_0x223b03,_0x3eb33e){const _0x25f515=_0x59f468,_0x3bb1c2=this[_0x25f515(0x3b9)](_0x336114),{left:_0x5da9b2,top:_0x27ad56,height:_0x330825}=_0x3bb1c2,_0x6f3bf3=this[_0x25f515(0x363)](),_0x18ab48=oa/_0x6f3bf3,_0x596ca9=new _0x3648be(Jt+_0x218f61[_0x25f515(0x278)](Xe),{'left':_0x5da9b2+_0x3a6965-_0x18ab48,'top':_0x27ad56+_0x223b03,'height':_0x330825,'width':na,'fill':_0x3d88b8||_0x3f199f(_0x41eb8e[_0x25f515(0x45a)],0x0),'strokeWidth':_0x18ab48,'stroke':aa,'evented':!0x0});this[_0x25f515(0x59f)]=_0x596ca9,this[_0x25f515(0x2a7)][_0x25f515(0x298)](_0x596ca9,_0x43455b);const _0xe6765c=new _0x3648be(Jt+_0x218f61['generateRandomId'](Xe),{'left':_0x5da9b2+_0x3a6965-_0x18ab48,'top':_0x27ad56+_0x223b03-Zt/0x2,'height':Zt,'width':Zt,'fill':_0x3d88b8||_0x3f199f(_0x41eb8e[_0x25f515(0x45a)],0x0),'strokeWidth':0x0,'stroke':_0x3d88b8||_0x3f199f(_0x41eb8e[_0x25f515(0x45a)],0x0),'evented':!0x1});this[_0x25f515(0x1a0)]=_0xe6765c,this['_scene']['addObject'](_0xe6765c,_0x43455b);const _0x2dc09d=new jt(Jt+_0x218f61[_0x25f515(0x278)](Xe),{'left':_0x5da9b2+_0x3a6965-_0x18ab48,'top':_0x27ad56+_0x223b03-rt,'text':_0x3eb33e,'color':_0x3d88b8});this[_0x25f515(0x3ae)]=_0x2dc09d,this['_scene'][_0x25f515(0x298)](_0x2dc09d,_0x43455b),this[_0x25f515(0x4da)]=!0x1;}[_0x59f468(0x38f)](){const _0x2f2e22=_0x59f468,_0x55ef03=this[_0x2f2e22(0x59f)][_0x2f2e22(0x458)][_0x2f2e22(0x3d1)](()=>{this['_hover']=!0x0;}),_0x23ba05=this[_0x2f2e22(0x59f)][_0x2f2e22(0x1c8)][_0x2f2e22(0x3d1)](()=>{const _0x40a3ca=_0x2f2e22;this[_0x40a3ca(0x33c)]&&clearTimeout(this[_0x40a3ca(0x33c)]),this[_0x40a3ca(0x33c)]=setTimeout(()=>{const _0x2caee4=_0x40a3ca;this[_0x2caee4(0x4da)]=!0x1;},0x7d0);});return()=>{_0x55ef03['unsubscribe'](),_0x23ba05['unsubscribe']();};}['_drawTextRange'](_0x5848e8,_0x5d5525,_0x4550cc,_0x15ef58){const _0x57041d=_0x59f468,_0x48e919=new _0x5d65d0(_0x5848e8)['setAlpha'](0.2)[_0x57041d(0x228)](),_0x24246f=new _0xea7f00(ia+_0x218f61['generateRandomId'](Xe),{'pointsGroup':_0x5d5525,'fill':_0x48e919||_0x3f199f(_0x41eb8e[_0x57041d(0x45a)],0.2),'left':_0x4550cc,'top':_0x15ef58,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x57041d(0x2ec)][_0x57041d(0x4cf)](_0x24246f),this[_0x57041d(0x2a7)]['addObject'](_0x24246f,_0x43455b);}[_0x59f468(0x28d)](_0x446cc3,_0x426b00,_0x3943c6,_0x2f780e){const _0x4b4a29=_0x59f468,_0x4c2e62=new _0x5d65d0(_0x446cc3)[_0x4b4a29(0x1c5)](0.2)[_0x4b4a29(0x228)](),_0x15f5e0=new _0xea7f00(ra+_0x218f61[_0x4b4a29(0x278)](Xe),{'pointsGroup':_0x426b00,'fill':_0x4c2e62||_0x3f199f(_0x41eb8e[_0x4b4a29(0x45a)],0.2),'left':_0x3943c6,'top':_0x2f780e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b4a29(0x2ec)][_0x4b4a29(0x4cf)](_0x15f5e0),this[_0x4b4a29(0x2a7)][_0x4b4a29(0x298)](_0x15f5e0,_0x43455b);}['_getAnchorBounding'](_0x8edd0){const _0x1b2e9b=_0x8edd0[0x0],_0x118852=_0x1b2e9b[0x0],_0x1ee17f=_0x1b2e9b[0x2],{x:_0x264328,y:_0x1c90e0}=_0x118852,{x:_0x532791,y:_0x5883b3}=_0x1ee17f;return{'left':_0x264328,'top':_0x1c90e0,'width':_0x532791-_0x264328,'height':_0x5883b3-_0x1c90e0};}[_0x59f468(0x363)](){const _0x19483e=_0x59f468,{scaleX:_0x422f96,scaleY:_0x4b5d22}=this[_0x19483e(0x2a7)]['getAncestorScale']();return Math[_0x19483e(0x456)](_0x422f96,_0x4b5d22);}}var ca=Object[_0x59f468(0x29a)],ha=Object[_0x59f468(0x368)],la=(_0xa79d2b,_0x21a0b0,_0x579013,_0x338f95)=>{for(var _0x1ee20a=_0x338f95>0x1?void 0x0:_0x338f95?ha(_0x21a0b0,_0x579013):_0x21a0b0,_0x5bc8b5=_0xa79d2b['length']-0x1,_0xe049a;_0x5bc8b5>=0x0;_0x5bc8b5--)(_0xe049a=_0xa79d2b[_0x5bc8b5])&&(_0x1ee20a=(_0x338f95?_0xe049a(_0x21a0b0,_0x579013,_0x1ee20a):_0xe049a(_0x1ee20a))||_0x1ee20a);return _0x338f95&&_0x1ee20a&&ca(_0x21a0b0,_0x579013,_0x1ee20a),_0x1ee20a;},ct=(_0x5adbf5,_0x2e7330)=>(_0x51beb5,_0x5ef658)=>_0x2e7330(_0x51beb5,_0x5ef658,_0x5adbf5);let ds=class extends _0x2c59cd{constructor(_0x574fcf,_0x931236,_0x5af883,_0x1180f0,_0x26f9d2){const _0x5ee078=_0x59f468;super(),g(this,_0x5ee078(0x32d),[]),g(this,_0x5ee078(0x44e),[]),(this[_0x5ee078(0x54f)]=_0x574fcf,this[_0x5ee078(0x2c8)]=_0x931236,this[_0x5ee078(0x554)]=_0x5af883,this[_0x5ee078(0x54d)]=_0x1180f0,this[_0x5ee078(0x209)]=_0x26f9d2,this['_init']());}[_0x59f468(0x59d)](){const _0x335b78=_0x59f468,_0x13bcd5=this[_0x335b78(0x54f)][_0x335b78(0x51a)],_0x432403=this[_0x335b78(0x2c8)];this['disposeWithMe'](_0x6f207e([this[_0x335b78(0x554)][_0x335b78(0x282)](_0x13bcd5),this[_0x335b78(0x209)][_0x335b78(0x577)]])[_0x335b78(0x318)](_0x3968e0(([_0x3b84f8,_0x239098])=>({'skeleton':_0x432403['getSkeleton'](),'cursors':[..._0x3b84f8[_0x335b78(0x4e9)]()]['flatMap'](_0x46f535=>({..._0x46f535,'color':_0x239098[_0x46f535[_0x335b78(0x478)]]}))})))[_0x335b78(0x347)](_0x584177=>{const _0xcdee6=_0x335b78;if(this['_removeCollabCursors'](),_0x584177){const {skeleton:_0xc47219,cursors:_0x1f326f}=_0x584177;this[_0xcdee6(0x1e9)](_0xc47219,_0x1f326f);}})),this[_0x335b78(0x465)](),this['_initCommandExecutedListener']();}[_0x59f468(0x1e9)](_0x273c18,_0x5c21aa){const _0x16808d=_0x59f468,{scene:_0x4eede3,mainComponent:_0x1ade3e}=this[_0x16808d(0x54f)],_0x23363e=_0x5c21aa[_0x16808d(0x36d)](_0xae43c7=>new ii(_0xae43c7,_0x4eede3,_0x273c18,_0x1ade3e));this[_0x16808d(0x32d)]=_0x23363e,this['_cursors']=_0x5c21aa;}[_0x59f468(0x42e)](){const _0x2e20b0=_0x59f468;this[_0x2e20b0(0x315)]();const {scene:_0x1f741d,mainComponent:_0x3e4ae1}=this[_0x2e20b0(0x54f)],_0x207a7e=this[_0x2e20b0(0x2c8)][_0x2e20b0(0x52f)](),_0x4f2a07=this[_0x2e20b0(0x44e)][_0x2e20b0(0x36d)](_0x52e390=>new ii(_0x52e390,_0x1f741d,_0x207a7e,_0x3e4ae1));this[_0x2e20b0(0x32d)]=_0x4f2a07;}[_0x59f468(0x315)](){const _0x3ab5f6=_0x59f468;this[_0x3ab5f6(0x32d)][_0x3ab5f6(0x3b0)](_0x10240e=>_0x10240e[_0x3ab5f6(0x1ba)]()),this[_0x3ab5f6(0x32d)]=[];}['_initCommandExecutedListener'](){const _0x4438a0=_0x59f468,_0x39b984=[_0xe0c4b['id']];this[_0x4438a0(0x4e2)](this['_commandService'][_0x4438a0(0x3b7)](_0x1867b8=>{const _0x173cdf=_0x4438a0;_0x39b984[_0x173cdf(0x2f8)](_0x1867b8['id'])&&_0x1867b8['params']['unitId']===this[_0x173cdf(0x54f)][_0x173cdf(0x51a)]&&this['_refreshCollabCursors']();}));}[_0x59f468(0x465)](){const _0x2cf9a4=_0x59f468;this['disposeWithMe'](_0x5742c0(this[_0x2cf9a4(0x54f)][_0x2cf9a4(0x1fb)][_0x2cf9a4(0x329)])[_0x2cf9a4(0x318)](_0x3c73ca(_0xe090a8=>_0xe090a8[_0x2cf9a4(0x2b2)]===_0x401d9d[_0x2cf9a4(0x410)]),_0x2e516c(0x10))[_0x2cf9a4(0x347)](()=>{const _0x2df17d=_0x2cf9a4;this[_0x2df17d(0x42e)]();}));}};ds=la([ct(0x1,_0x222038(_0x379b20)),ct(0x2,_0x222038(Fe)),ct(0x3,_0x1e017f),ct(0x4,_0x222038(_0x5e056c))],ds);const _a=0x1,ua=1.5;class da extends _0x37149c{constructor(_0x2a96de,_0x580228){const _0x400bc4=_0x59f468;super(_0x2a96de,_0x580228),g(this,_0x400bc4(0x480)),g(this,'_hovered',!0x1),g(this,_0x400bc4(0x58d)),g(this,_0x400bc4(0x3d6),''),g(this,_0x400bc4(0x54e),_0x400bc4(0x3ba)),g(this,'_backgroundColor'),(_0x580228&&this[_0x400bc4(0x2db)](_0x580228),this['onPointerEnter$'][_0x400bc4(0x3d1)](()=>this[_0x400bc4(0x2db)]({'hovered':!0x0})),this[_0x400bc4(0x1c8)]['subscribeEvent'](()=>this[_0x400bc4(0x2db)]({'hovered':!0x1})));}[_0x59f468(0x2db)](_0x2a6d20){const _0x3fd718=_0x59f468;var _0x53aa80,_0x1a863c,_0x15b4ee,_0x16aa85,_0x439177,_0xcd0838;this[_0x3fd718(0x480)]=(_0x53aa80=_0x2a6d20[_0x3fd718(0x478)])!=null?_0x53aa80:this[_0x3fd718(0x480)],this[_0x3fd718(0x1ce)]=(_0x1a863c=_0x2a6d20['hovered'])!=null?_0x1a863c:this['_hovered'],this['_range']=(_0x15b4ee=_0x2a6d20[_0x3fd718(0x1d8)])!=null?_0x15b4ee:this[_0x3fd718(0x58d)],this[_0x3fd718(0x3d6)]=(_0x16aa85=_0x2a6d20[_0x3fd718(0x48c)])!=null?_0x16aa85:this['_name'],this[_0x3fd718(0x54e)]=(_0x439177=_0x2a6d20[_0x3fd718(0x270)])!=null?_0x439177:this[_0x3fd718(0x54e)],this[_0x3fd718(0x19e)]=(_0xcd0838=_0x2a6d20['backgroundColor'])!=null?_0xcd0838:this[_0x3fd718(0x19e)],this[_0x3fd718(0x3cb)]({'width':_0x2a6d20[_0x3fd718(0x1f4)],'height':_0x2a6d20['height']});}[_0x59f468(0x58e)](_0xe24477){const _0x472371=_0x59f468,{row:_0x300854,column:_0x4e62f3}=_0xe24477;if(_0x300854>=this[_0x472371(0x58d)][_0x472371(0x24a)]&&_0x300854<=this['_range'][_0x472371(0x3af)]&&_0x4e62f3>=this['_range'][_0x472371(0x206)]&&_0x4e62f3<=this[_0x472371(0x58d)][_0x472371(0x337)]){this[_0x472371(0x2db)]({'hovered':!0x0});return;}this[_0x472371(0x2db)]({'hovered':!0x1});}[_0x59f468(0x4d0)](_0x2d320a){return!0x1;}[_0x59f468(0x1e7)](_0x55ee15){const _0x55bccf=_0x59f468;_0x3648be['drawWith'](_0x55ee15,{'width':this[_0x55bccf(0x1f4)],'height':this[_0x55bccf(0x1c9)],'strokeWidth':ua,'stroke':this[_0x55bccf(0x480)],'evented':!0x1,'fill':this[_0x55bccf(0x19e)]}),this[_0x55bccf(0x1ce)]&&(_0x55ee15[_0x55bccf(0x310)](),_0x55ee15['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x55bccf(0x253)?0x0:-rt),jt[_0x55bccf(0x4dc)](_0x55ee15,{'text':this['_name'],'color':this[_0x55bccf(0x480)]}),_0x55ee15[_0x55bccf(0x229)]());}}var fa=Object[_0x59f468(0x29a)],va=Object[_0x59f468(0x368)],pa=(_0x2094c2,_0x905510,_0x21bc12,_0x56171c)=>{const _0x42bbae=_0x59f468;for(var _0x5cbc8c=_0x56171c>0x1?void 0x0:_0x56171c?va(_0x905510,_0x21bc12):_0x905510,_0x40707d=_0x2094c2[_0x42bbae(0x21a)]-0x1,_0x4286be;_0x40707d>=0x0;_0x40707d--)(_0x4286be=_0x2094c2[_0x40707d])&&(_0x5cbc8c=(_0x56171c?_0x4286be(_0x905510,_0x21bc12,_0x5cbc8c):_0x4286be(_0x5cbc8c))||_0x5cbc8c);return _0x56171c&&_0x5cbc8c&&fa(_0x905510,_0x21bc12,_0x5cbc8c),_0x5cbc8c;},Qt=(_0x224909,_0x1578c7)=>(_0x459962,_0xc69d1c)=>_0x1578c7(_0x459962,_0xc69d1c,_0x224909);const ma=0x1389;let fs=class extends _0x2c59cd{constructor(_0x4f508d,_0x331312,_0x31a61b,_0x11b853){const _0x3eacc0=_0x59f468;super(),g(this,_0x3eacc0(0x44e),new Set()),g(this,_0x3eacc0(0x568),null),(this[_0x3eacc0(0x54f)]=_0x4f508d,this[_0x3eacc0(0x50a)]=_0x331312,this[_0x3eacc0(0x554)]=_0x31a61b,this[_0x3eacc0(0x209)]=_0x11b853,this[_0x3eacc0(0x59d)]());}[_0x59f468(0x59d)](){const _0x24a514=_0x59f468;this[_0x24a514(0x50a)]['currentSkeleton$']['pipe'](_0x1eb937(this['dispose$']),_0x29e5a7(_0x22dcf3=>{const _0x254984=_0x24a514;if(_0x22dcf3){const _0x4dce05=_0x22dcf3[_0x254984(0x4c1)];return _0x6f207e(this[_0x254984(0x554)]['getCollabCursors$'](this[_0x254984(0x54f)][_0x254984(0x51a)]),this[_0x254984(0x209)]['currentTheme$'])[_0x254984(0x318)](_0x3968e0(([_0x3f003f,_0x3ef077])=>{const _0x1c2228=new Map();return _0x3f003f['forEach']((_0x452687,_0x166bf2)=>{const _0x2753c2=_0x2eda;if(_0x452687['sheetID']===_0x4dce05){const _0x2c52d7={..._0x452687};_0x2c52d7[_0x2753c2(0x478)]=_0x3ef077[_0x452687['color']],_0x1c2228[_0x2753c2(0x279)](_0x166bf2,_0x2c52d7);}}),{'skeleton':_0x22dcf3,'cursors':_0x1c2228};}));}return _0x38a752({'skeleton':null,'cursors':new Map()});}))[_0x24a514(0x347)](({skeleton:_0x3708e0,cursors:_0xaa7487})=>{const _0x782ab7=_0x24a514;this[_0x782ab7(0x315)](),_0x3708e0&&this[_0x782ab7(0x1e9)](_0x3708e0,_0xaa7487);}),this[_0x24a514(0x50a)][_0x24a514(0x4d4)][_0x24a514(0x347)](_0x2f12ef=>{const _0x2d8a00=_0x24a514;if(_0x2f12ef==null)return;const {skeleton:_0x3c30b2}=_0x2f12ef,{scene:_0x447105}=this[_0x2d8a00(0x54f)];_0x447105[_0x2d8a00(0x31b)][_0x2d8a00(0x3d1)](_0x14f2b0(_0x28eb72=>{const _0x20dbc3=_0x2d8a00;var _0x2d7cf1,_0x18040f;const {offsetX:_0x46289b,offsetY:_0x16d1d3}=_0x28eb72,{x:_0x6f5988,y:_0x27ee20}=_0x447105[_0x20dbc3(0x3b2)](_0x4a7985[_0x20dbc3(0x259)]([_0x46289b,_0x16d1d3])),{scaleX:_0x10bba6,scaleY:_0xea1e81}=_0x447105[_0x20dbc3(0x35b)](),_0x29e024=_0x447105[_0x20dbc3(0x3cf)](_0xa2565b[_0x20dbc3(0x2f3)]),_0x1f7500=_0x447105['getVpScrollXYInfoByPosToVp'](_0x4a7985[_0x20dbc3(0x259)]([_0x6f5988,_0x27ee20]),_0x29e024),_0x4bbddb=_0x3c30b2[_0x20dbc3(0x19d)](_0x46289b,_0x16d1d3,_0x10bba6,_0xea1e81,_0x1f7500);((_0x2d7cf1=this[_0x20dbc3(0x568)])==null?void 0x0:_0x2d7cf1[_0x20dbc3(0x293)])===_0x4bbddb[_0x20dbc3(0x293)]&&((_0x18040f=this['_lastPointer'])==null?void 0x0:_0x18040f[_0x20dbc3(0x382)])===_0x4bbddb[_0x20dbc3(0x382)]||this[_0x20dbc3(0x44e)][_0x20dbc3(0x3b0)](_0x54f95e=>{const _0x3b76fe=_0x20dbc3;_0x54f95e[_0x3b76fe(0x58e)](_0x4bbddb);});},0x64));});}['_updateCollabCursors'](_0x4e4f2e,_0x12fdbb){const _0x281dee=_0x59f468;var _0x52e8a3;const _0x7873b3=(_0x52e8a3=this[_0x281dee(0x50a)][_0x281dee(0x3a4)]())==null?void 0x0:_0x52e8a3['skeleton'];if(!_0x7873b3)return;const _0x5578de=this['_getSheetObject']();if(!_0x5578de)return;this[_0x281dee(0x44e)][_0x281dee(0x3b0)](_0x57b1ce=>{const _0x8176a2=_0x281dee;_0x57b1ce[_0x8176a2(0x27c)]();});const {scene:_0x214483}=_0x5578de,_0x4b06b9=ga(Array[_0x281dee(0x30f)](_0x12fdbb['values']()))[_0x281dee(0x36d)](_0x240629=>{const _0x1a91ed=_0x281dee,{color:_0x2574c7,range:_0x2059d3,name:_0x593e2f,selection:_0x2ae551,sheetID:_0x4e16ba}=_0x240629,{startColumn:_0x6f91,startRow:_0x24731b,endColumn:_0x4876ef,endRow:_0x451ed4}=_0x2059d3,_0x37502f=_0x21c55c(_0x24731b,_0x6f91,_0x214483,_0x7873b3),_0x22125d=_0x21c55c(_0x451ed4,_0x4876ef,_0x214483,_0x7873b3),{columnHeaderHeightAndMarginTop:_0x9a263d}=_0x7873b3,{startX:_0x4f3123,startY:_0x44c761}=_0x37502f,{endX:_0x52035f,endY:_0x260421}=_0x22125d,_0x368b56=_0x52035f-_0x4f3123,_0x45bbc6=_0x260421-_0x44c761,_0x3f9f31={'labelPosition':_0x44c761-_0x9a263d>=rt?_0x1a91ed(0x3ba):_0x1a91ed(0x253),'sheetID':_0x4e16ba,'range':_0x2059d3,'color':_0x2574c7,'name':_0x593e2f,'selection':_0x2ae551,'left':_0x4f3123,'top':_0x44c761,'width':_0x368b56,'height':_0x45bbc6,'evented':!0x1,'zIndex':ma};return new da(_0x593e2f,_0x3f9f31);});_0x214483[_0x281dee(0x419)](_0x4b06b9,_a),this[_0x281dee(0x44e)]=new Set(_0x4b06b9);}[_0x59f468(0x315)](){const _0x404541=_0x59f468;var _0x5d38ef;(_0x5d38ef=this[_0x404541(0x44e)])==null||_0x5d38ef[_0x404541(0x3b0)](_0x132890=>_0x132890[_0x404541(0x1ba)]());}['_getSheetObject'](){const _0x3cd6fa=_0x59f468;return _0x3b93a6(this['_context'][_0x3cd6fa(0x4de)],this[_0x3cd6fa(0x54f)]);}};fs=pa([Qt(0x1,_0x222038(_0x4b35a2)),Qt(0x2,_0x222038(Fe)),Qt(0x3,_0x222038(_0x5e056c))],fs);function ga(_0x5693c6){const _0x28415d=_0x59f468,_0x5c6335=new Map();return _0x5693c6[_0x28415d(0x3b0)](_0x3d309f=>{const _0x155d19=_0x28415d;if(_0x5c6335[_0x155d19(0x309)](_0x3d309f['selection'])){const _0x20d84f=_0x5c6335[_0x155d19(0x25d)](_0x3d309f[_0x155d19(0x38d)]);_0x20d84f['name']+=',\x20'+_0x3d309f[_0x155d19(0x48c)];}else _0x5c6335[_0x155d19(0x279)](_0x3d309f[_0x155d19(0x38d)],_0x3d309f);}),Array[_0x28415d(0x30f)](_0x5c6335[_0x28415d(0x4e9)]());}var es=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x4d8ce6){const _0x5e3af3=_0x59f468;return _0x4d8ce6&&_0x4d8ce6[_0x5e3af3(0x57b)]&&Object[_0x5e3af3(0x1d3)][_0x5e3af3(0x346)][_0x5e3af3(0x3e3)](_0x4d8ce6,_0x5e3af3(0x433))?_0x4d8ce6[_0x5e3af3(0x433)]:_0x4d8ce6;}var ts={'exports':{}},Je={},ri;function Sa(){const _0x2e0fce=_0x59f468;if(ri)return Je;ri=0x1;var _0x485154=_0x2470a1,_0x4b7aef=Symbol[_0x2e0fce(0x44b)]('react.element'),_0x27da55=Symbol[_0x2e0fce(0x44b)](_0x2e0fce(0x2ab)),_0x5f2acc=Object[_0x2e0fce(0x1d3)]['hasOwnProperty'],_0x1be81e=_0x485154['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x2e0fce(0x3c4)],_0x575235={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0xd1a37a(_0x24fc6f,_0xf74e20,_0x1b4379){const _0x5526fd=_0x2e0fce;var _0x1bfd1d,_0x38323f={},_0x327e16=null,_0x4d5944=null;_0x1b4379!==void 0x0&&(_0x327e16=''+_0x1b4379),_0xf74e20['key']!==void 0x0&&(_0x327e16=''+_0xf74e20['key']),_0xf74e20[_0x5526fd(0x3d0)]!==void 0x0&&(_0x4d5944=_0xf74e20[_0x5526fd(0x3d0)]);for(_0x1bfd1d in _0xf74e20)_0x5f2acc['call'](_0xf74e20,_0x1bfd1d)&&!_0x575235[_0x5526fd(0x346)](_0x1bfd1d)&&(_0x38323f[_0x1bfd1d]=_0xf74e20[_0x1bfd1d]);if(_0x24fc6f&&_0x24fc6f['defaultProps']){for(_0x1bfd1d in(_0xf74e20=_0x24fc6f[_0x5526fd(0x3c7)],_0xf74e20))_0x38323f[_0x1bfd1d]===void 0x0&&(_0x38323f[_0x1bfd1d]=_0xf74e20[_0x1bfd1d]);}return{'$$typeof':_0x4b7aef,'type':_0x24fc6f,'key':_0x327e16,'ref':_0x4d5944,'props':_0x38323f,'_owner':_0x1be81e['current']};}return Je[_0x2e0fce(0x30b)]=_0x27da55,Je[_0x2e0fce(0x54a)]=_0xd1a37a,Je[_0x2e0fce(0x400)]=_0xd1a37a,Je;}var ni;function Ia(){const _0x1f94f4=_0x59f468;return ni||(ni=0x1,ts[_0x1f94f4(0x3b4)]=Sa()),ts[_0x1f94f4(0x3b4)];}var De=Ia(),te=function(){const _0x390895=_0x59f468;return te=Object[_0x390895(0x467)]||function(_0x207ed5){const _0x2ba969=_0x390895;for(var _0x5454f2,_0x5854b0=0x1,_0x409320=arguments['length'];_0x5854b0<_0x409320;_0x5854b0++){_0x5454f2=arguments[_0x5854b0];for(var _0x14570e in _0x5454f2)Object[_0x2ba969(0x1d3)][_0x2ba969(0x346)][_0x2ba969(0x3e3)](_0x5454f2,_0x14570e)&&(_0x207ed5[_0x14570e]=_0x5454f2[_0x14570e]);}return _0x207ed5;},te[_0x390895(0x593)](this,arguments);},Ca=function(_0x5e0d36,_0x54b851){const _0x48062c=_0x59f468;var _0xe0d31a={};for(var _0x51e184 in _0x5e0d36)Object[_0x48062c(0x1d3)]['hasOwnProperty'][_0x48062c(0x3e3)](_0x5e0d36,_0x51e184)&&_0x54b851[_0x48062c(0x3e0)](_0x51e184)<0x0&&(_0xe0d31a[_0x51e184]=_0x5e0d36[_0x51e184]);if(_0x5e0d36!=null&&typeof Object[_0x48062c(0x441)]==_0x48062c(0x51c)){for(var _0x2933c1=0x0,_0x51e184=Object[_0x48062c(0x441)](_0x5e0d36);_0x2933c1<_0x51e184[_0x48062c(0x21a)];_0x2933c1++)_0x54b851[_0x48062c(0x3e0)](_0x51e184[_0x2933c1])<0x0&&Object[_0x48062c(0x1d3)][_0x48062c(0x487)]['call'](_0x5e0d36,_0x51e184[_0x2933c1])&&(_0xe0d31a[_0x51e184[_0x2933c1]]=_0x5e0d36[_0x51e184[_0x2933c1]]);}return _0xe0d31a;},Ns=_0x3575fb(function(_0x402f40,_0x7fbd21){const _0x548583=_0x59f468;var _0x21f33b=_0x402f40['icon'],_0x376f06=_0x402f40['id'],_0x233a85=_0x402f40[_0x548583(0x2b4)],_0x114c00=_0x402f40[_0x548583(0x521)],_0x3309ea=Ca(_0x402f40,[_0x548583(0x1c1),'id',_0x548583(0x2b4),_0x548583(0x521)]),_0x593a3b=_0x548583(0x376)['concat'](_0x376f06,'\x20')[_0x548583(0x340)](_0x233a85||'')[_0x548583(0x420)](),_0x412515=_0x516cf1('_'[_0x548583(0x340)](Ta()));return Ji(_0x21f33b,''[_0x548583(0x340)](_0x376f06),{'defIds':_0x21f33b[_0x548583(0x225)],'idSuffix':_0x412515[_0x548583(0x1b5)]},te({'ref':_0x7fbd21,'className':_0x593a3b},_0x3309ea),_0x114c00);});function Ji(_0x5d2b01,_0x4e9179,_0xd680a5,_0x27e349,_0x49f662){const _0x282caa=_0x59f468;return _0x3d1e83(_0x5d2b01['tag'],te(te({'key':_0x4e9179},Ea(_0x5d2b01,_0xd680a5,_0x49f662)),_0x27e349),(ba(_0x5d2b01,_0xd680a5)[_0x282caa(0x423)]||[])[_0x282caa(0x36d)](function(_0x57fac5,_0x180be3){const _0x99a5d6=_0x282caa;return Ji(_0x57fac5,''[_0x99a5d6(0x340)](_0x4e9179,'-')['concat'](_0x5d2b01[_0x99a5d6(0x2d6)],'-')[_0x99a5d6(0x340)](_0x180be3),_0xd680a5,void 0x0,_0x49f662);}));}function Ea(_0x34a8f9,_0x53aa86,_0x575ada){const _0x3195ff=_0x59f468;var _0x186015=te({},_0x34a8f9['attrs']);_0x575ada!=null&&_0x575ada[_0x3195ff(0x430)]&&_0x186015[_0x3195ff(0x3fd)]==='colorChannel1'&&(_0x186015['fill']=_0x575ada['colorChannel1']);var _0x834784=_0x53aa86[_0x3195ff(0x225)];return!_0x834784||_0x834784[_0x3195ff(0x21a)]===0x0||(_0x34a8f9[_0x3195ff(0x2d6)]===_0x3195ff(0x273)&&_0x186015[_0x3195ff(0x549)]&&(_0x186015[_0x3195ff(0x549)]=_0x186015[_0x3195ff(0x549)]+_0x53aa86[_0x3195ff(0x378)]),Object[_0x3195ff(0x2f2)](_0x186015)[_0x3195ff(0x3b0)](function(_0x374bfb){const _0x4ce457=_0x3195ff;var _0x1ca2ae=_0x374bfb[0x0],_0x50f3fd=_0x374bfb[0x1];typeof _0x50f3fd==_0x4ce457(0x2fb)&&(_0x186015[_0x1ca2ae]=_0x50f3fd[_0x4ce457(0x2ce)](/url\(#(.*)\)/,_0x4ce457(0x55a)[_0x4ce457(0x340)](_0x53aa86[_0x4ce457(0x378)],')')));})),_0x186015;}function ba(_0x45e49b,_0x178e8f){const _0x1ce5c4=_0x59f468;var _0x330bc4,_0x8d3cea=_0x178e8f[_0x1ce5c4(0x225)];return!_0x8d3cea||_0x8d3cea[_0x1ce5c4(0x21a)]===0x0?_0x45e49b:_0x45e49b[_0x1ce5c4(0x2d6)]==='defs'&&(!((_0x330bc4=_0x45e49b[_0x1ce5c4(0x423)])===null||_0x330bc4===void 0x0)&&_0x330bc4[_0x1ce5c4(0x21a)])?te(te({},_0x45e49b),{'children':_0x45e49b['children'][_0x1ce5c4(0x36d)](function(_0x2af8d6){const _0x4ffa94=_0x1ce5c4;return typeof _0x2af8d6[_0x4ffa94(0x4b0)]['id']==_0x4ffa94(0x2fb)&&_0x8d3cea&&_0x8d3cea[_0x4ffa94(0x3e0)](_0x2af8d6[_0x4ffa94(0x4b0)]['id'])>-0x1?te(te({},_0x2af8d6),{'attrs':te(te({},_0x2af8d6['attrs']),{'id':_0x2af8d6[_0x4ffa94(0x4b0)]['id']+_0x178e8f[_0x4ffa94(0x378)]})}):_0x2af8d6;})}):_0x45e49b;}function Ta(){const _0x403c5e=_0x59f468;return Math['random']()[_0x403c5e(0x4a1)](0x24)[_0x403c5e(0x3a1)](0x2,0x8);}Ns[_0x59f468(0x277)]='UniverIcon';var Ra={'tag':'svg','attrs':{'fill':'none','viewBox':_0x59f468(0x4ee),'width':'1em','height':_0x59f468(0x3dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x59f468(0x4e3)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x59f468(0x2d3),'strokeLinecap':_0x59f468(0x26b),'strokeLinejoin':_0x59f468(0x26b),'strokeWidth':1.2}}]},{'tag':_0x59f468(0x453),'attrs':{},'children':[{'tag':_0x59f468(0x511),'attrs':{'id':_0x59f468(0x2ed)},'children':[{'tag':'path','attrs':{'fill':_0x59f468(0x395),'d':_0x59f468(0x360)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Zi=_0x3575fb(function(_0x3f35bf,_0x1bb87a){return _0x3d1e83(Ns,Object['assign']({},_0x3f35bf,{'id':'off-line-single','ref':_0x1bb87a,'icon':Ra}));});Zi[_0x59f468(0x277)]=_0x59f468(0x336);var Oa={'tag':_0x59f468(0x1f0),'attrs':{'fill':_0x59f468(0x250),'viewBox':_0x59f468(0x45b),'width':_0x59f468(0x3dc),'height':_0x59f468(0x3dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x59f468(0x54c)},'children':[{'tag':_0x59f468(0x4e5),'attrs':{'stroke':_0x59f468(0x2fc),'d':_0x59f468(0x5ac),'strokeLinecap':_0x59f468(0x26b),'strokeLinejoin':_0x59f468(0x26b),'strokeWidth':1.2}}]},{'tag':_0x59f468(0x453),'attrs':{},'children':[{'tag':_0x59f468(0x511),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x59f468(0x4e5),'attrs':{'fill':_0x59f468(0x395),'d':'M0\x200H16V16H0z','transform':_0x59f468(0x516)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Qi=_0x3575fb(function(_0x22f255,_0x55aca1){const _0x55e0e6=_0x59f468;return _0x3d1e83(Ns,Object[_0x55e0e6(0x467)]({},_0x22f255,{'id':_0x55e0e6(0x4f1),'ref':_0x55aca1,'icon':Oa}));});Qi['displayName']=_0x59f468(0x4b9);function er(_0xd9cbb9){const _0xecfd1d=_0x59f468;var _0x15d63a,_0x2555b6,_0x40bcf5='';if(typeof _0xd9cbb9==_0xecfd1d(0x2fb)||typeof _0xd9cbb9==_0xecfd1d(0x567))_0x40bcf5+=_0xd9cbb9;else{if(typeof _0xd9cbb9=='object'){if(Array['isArray'](_0xd9cbb9)){var _0x463a9b=_0xd9cbb9[_0xecfd1d(0x21a)];for(_0x15d63a=0x0;_0x15d63a<_0x463a9b;_0x15d63a++)_0xd9cbb9[_0x15d63a]&&(_0x2555b6=er(_0xd9cbb9[_0x15d63a]))&&(_0x40bcf5&&(_0x40bcf5+='\x20'),_0x40bcf5+=_0x2555b6);}else{for(_0x2555b6 in _0xd9cbb9)_0xd9cbb9[_0x2555b6]&&(_0x40bcf5&&(_0x40bcf5+='\x20'),_0x40bcf5+=_0x2555b6);}}}return _0x40bcf5;}function ya(){const _0x30cc63=_0x59f468;for(var _0x54b70f,_0x18f8c3,_0x2e4d16=0x0,_0x440cc4='',_0x2916aa=arguments[_0x30cc63(0x21a)];_0x2e4d16<_0x2916aa;_0x2e4d16++)(_0x54b70f=arguments[_0x2e4d16])&&(_0x18f8c3=er(_0x54b70f))&&(_0x440cc4&&(_0x440cc4+='\x20'),_0x440cc4+=_0x18f8c3);return _0x440cc4;}const wa=_0x59f468(0x4b1),Da=_0x59f468(0x210),Pa=_0x59f468(0x3f5),Ua='univer-online',Na=_0x59f468(0x366),Ze={'onlineStatusIcon':wa,'onlineStatusTitle':Da,'onlineStatus':Pa,'online':Ua,'offline':Na};function Aa(_0x7e92f6){const _0x27e7af=_0x59f468;switch(_0x7e92f6){case J['OFFLINE']:return'collabStatus.offline';case J[_0x27e7af(0x580)]:return'collabStatus.conflict';case J[_0x27e7af(0x2d1)]:return _0x27e7af(0x50f);case J[_0x27e7af(0x438)]:return _0x27e7af(0x27e);case J[_0x27e7af(0x552)]:case J[_0x27e7af(0x4db)]:return'collabStatus.syncing';case J[_0x27e7af(0x4ec)]:case J['PENDING']:return _0x27e7af(0x46a);}}function Ma(_0xc85610){const _0x3f0305=_0x59f468,{status$:_0x12571f}=_0xc85610,_0x37589f=_0x1bba2d(_0x12571f,J['NOT_COLLAB']),_0x38fa30=_0x45c214(_0x52880d),_0x33a7d8=_0x45c214(Me),_0x3b17f3=_0x37589f!==J['OFFLINE'],_0x58f942=_0x38fa30['t'](Aa(_0x37589f)),_0x4aafba=ya(Ze[_0x3f0305(0x416)],{[Ze[_0x3f0305(0x56b)]]:_0x3b17f3,[Ze[_0x3f0305(0x553)]]:!_0x3b17f3}),_0x47d099=_0x3b17f3?De[_0x3f0305(0x54a)](Qi,{}):De[_0x3f0305(0x54a)](Zi,{}),_0x269edb=_0x585c84(()=>{const _0x284788=_0x3f0305;_0x3b17f3||_0x33a7d8[_0x284788(0x587)]();},[_0x3b17f3,_0x33a7d8]);function _0x1dbef7(){const _0x116011=_0x3f0305;return De[_0x116011(0x400)](_0x116011(0x30d),{'className':_0x4aafba,'onClick':_0x269edb,'children':[De['jsx'](_0x116011(0x30d),{'className':Ze[_0x116011(0x36f)],'children':_0x47d099}),De[_0x116011(0x54a)](_0x116011(0x30d),{'className':Ze['onlineStatusTitle'],'children':_0x58f942})]});}return _0x3b17f3?_0x1dbef7():De['jsx'](_0x27c3d7,{'title':_0x38fa30['t']('collab-client.tooltip.reconnect'),'children':_0x1dbef7()});}var xa=Object[_0x59f468(0x29a)],La=Object[_0x59f468(0x368)],$a=(_0x101e69,_0x527443,_0x161fbd,_0x3d86d6)=>{const _0x537c46=_0x59f468;for(var _0x344384=_0x3d86d6>0x1?void 0x0:_0x3d86d6?La(_0x527443,_0x161fbd):_0x527443,_0x20629b=_0x101e69[_0x537c46(0x21a)]-0x1,_0x5d05f2;_0x20629b>=0x0;_0x20629b--)(_0x5d05f2=_0x101e69[_0x20629b])&&(_0x344384=(_0x3d86d6?_0x5d05f2(_0x527443,_0x161fbd,_0x344384):_0x5d05f2(_0x344384))||_0x344384);return _0x3d86d6&&_0x344384&&xa(_0x527443,_0x161fbd,_0x344384),_0x344384;},ht=(_0x49fdbb,_0x25eefd)=>(_0x5e48e2,_0x23ad2c)=>_0x25eefd(_0x5e48e2,_0x23ad2c,_0x49fdbb);let Nt=class extends _0x19fe63{constructor(_0x2f306d,_0x5ee46e,_0x3bd581,_0x54cd7e){const _0x3cd82a=_0x59f468;super(),g(this,_0x3cd82a(0x1c6),new _0x1f1fc6(J[_0x3cd82a(0x438)])),(this[_0x3cd82a(0x525)]=_0x2f306d,this[_0x3cd82a(0x4d3)]=_0x5ee46e,this[_0x3cd82a(0x351)]=_0x3bd581,this[_0x3cd82a(0x364)]=_0x54cd7e,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x59f468(0x494)](){const _0x2e4ba0=_0x59f468;this[_0x2e4ba0(0x4e2)](this['_univerInstanceService'][_0x2e4ba0(0x57d)]['pipe'](_0x2bc5b0(()=>{const _0x75ee19=_0x2e4ba0,_0x33bc4a=this[_0x75ee19(0x525)][_0x75ee19(0x370)]();return _0x33bc4a?this[_0x75ee19(0x364)][_0x75ee19(0x2b5)](_0x33bc4a[_0x75ee19(0x25c)]()):_0x38a752(null);}),_0x2bc5b0(_0x34d9f3=>_0x34d9f3?_0x34d9f3[_0x2e4ba0(0x215)]:_0x38a752(J[_0x2e4ba0(0x438)])))[_0x2e4ba0(0x347)](_0x241734=>{const _0x416afa=_0x2e4ba0;this[_0x416afa(0x1c6)][_0x416afa(0x307)](_0x241734);}));}[_0x59f468(0x32a)](){const _0x2f49b5=_0x59f468;this[_0x2f49b5(0x4e2)](this['_uiPartsService'][_0x2f49b5(0x2ef)](_0x17cc0c[_0x2f49b5(0x361)],()=>_0x4ec1ab(Ha({'status$':this['_status$']['asObservable']()}),this[_0x2f49b5(0x351)])));}};Nt=$a([ht(0x0,_0xd7de45),ht(0x1,_0x52c347),ht(0x2,_0x222038(_0x2e1c56)),ht(0x3,_0x222038(it))],Nt);function Ha(_0x47a185){const {status$:_0x47daf0}=_0x47a185;return function(){const _0x1873f6=_0x2eda;return De[_0x1873f6(0x54a)](Ma,{'status$':_0x47daf0});};}const tr=_0x4fa8ac(_0x59f468(0x26d));var ja=Object[_0x59f468(0x29a)],Ba=Object[_0x59f468(0x368)],ka=(_0x218d3f,_0x2e5e41,_0x26716a,_0xafc503)=>{const _0x737054=_0x59f468;for(var _0x3e887e=_0xafc503>0x1?void 0x0:_0xafc503?Ba(_0x2e5e41,_0x26716a):_0x2e5e41,_0x21b4fe=_0x218d3f[_0x737054(0x21a)]-0x1,_0x53c10b;_0x21b4fe>=0x0;_0x21b4fe--)(_0x53c10b=_0x218d3f[_0x21b4fe])&&(_0x3e887e=(_0xafc503?_0x53c10b(_0x2e5e41,_0x26716a,_0x3e887e):_0x53c10b(_0x3e887e))||_0x3e887e);return _0xafc503&&_0x3e887e&&ja(_0x2e5e41,_0x26716a,_0x3e887e),_0x3e887e;},Be=(_0x3f108d,_0x150200)=>(_0x1179d6,_0x184295)=>_0x150200(_0x1179d6,_0x184295,_0x3f108d);let At=class extends _0x2c59cd{constructor(_0x5cea6b,_0x1d32a4,_0x3c0c82,_0x40448f,_0x1a8b66,_0x4eca1d){const _0x1e5136=_0x59f468;super(),this[_0x1e5136(0x4eb)]=_0x5cea6b,this[_0x1e5136(0x3b6)]=_0x1d32a4,this['_commandService']=_0x3c0c82,this[_0x1e5136(0x1ca)]=_0x40448f,this[_0x1e5136(0x27a)]=_0x1a8b66,_0x4eca1d?_0x4eca1d==null||_0x4eca1d['whenReady']()[_0x1e5136(0x4dd)](()=>this[_0x1e5136(0x59d)]()):(this[_0x1e5136(0x3b6)][_0x1e5136(0x48b)](_0x1e5136(0x560),_0x1e5136(0x2dc)),this[_0x1e5136(0x59d)]());}async[_0x59f468(0x59d)](){const _0x1d40eb=_0x59f468,_0x9716c0=this[_0x1d40eb(0x4eb)][_0x1d40eb(0x3ec)](_0x1d40eb(0x4de)),_0x18f8cf=this[_0x1d40eb(0x4eb)][_0x1d40eb(0x3ec)](_0x1d40eb(0x2b2));if(!_0x9716c0||!_0x18f8cf){this[_0x1d40eb(0x3b6)][_0x1d40eb(0x48b)](_0x1d40eb(0x560),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x18f8cf)){case ae[_0x1d40eb(0x2b0)]:{const _0x39fc89=await this[_0x1d40eb(0x312)](_0x9716c0);this[_0x1d40eb(0x2f1)](_0x39fc89);break;}case ae[_0x1d40eb(0x4f9)]:{await this[_0x1d40eb(0x289)](_0x9716c0);break;}default:{this[_0x1d40eb(0x3b6)][_0x1d40eb(0x1ec)](_0x1d40eb(0x560),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x59f468(0x2f1)](_0x5eb710){const _0x65c87f=_0x59f468;await this[_0x65c87f(0x4a3)](_0x5eb710),_0x5eb710['activeSheet$']['pipe'](_0x2eaf5f(this[_0x65c87f(0x2c5)]))[_0x65c87f(0x347)](_0x3401d3=>{const _0x386a14=_0x65c87f;_0x3401d3&&this[_0x386a14(0x39d)](_0x3401d3);}),this[_0x65c87f(0x4eb)]['urlChange$']['pipe'](_0x2eaf5f(this[_0x65c87f(0x2c5)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x5eb710));}[_0x59f468(0x39d)](_0xf0543,_0x5cb57b=!0x1){const _0x1a1e24=_0x59f468,_0x1ae7fe=this[_0x1a1e24(0x4eb)][_0x1a1e24(0x3ec)](_0x1a1e24(0x21d));_0xf0543[_0x1a1e24(0x51d)]()!==_0x1ae7fe&&this[_0x1a1e24(0x4eb)][_0x1a1e24(0x4f8)](_0x1a1e24(0x21d),_0xf0543['getSheetId'](),_0x5cb57b);}async[_0x59f468(0x4a3)](_0x5b654e){const _0x5de28b=_0x59f468;var _0x4557cd;const _0x4848a4=this[_0x5de28b(0x4eb)][_0x5de28b(0x3ec)](_0x5de28b(0x21d));if(!_0x4848a4||!_0x5b654e['getSheetBySheetId'](_0x4848a4)){const _0x1c16b1=_0x5b654e[_0x5de28b(0x59c)]()[0x0],_0x4612b2=_0x5b654e['getSheetBySheetId'](_0x1c16b1);if(!_0x4612b2)return;this[_0x5de28b(0x39d)](_0x4612b2,!0x0),await this[_0x5de28b(0x54d)]['executeCommand'](_0x4cb6da['id'],{'unitId':_0x5b654e['getUnitId'](),'subUnitId':_0x1c16b1});return;}((_0x4557cd=_0x5b654e[_0x5de28b(0x561)]())==null?void 0x0:_0x4557cd['getSheetId']())!==_0x4848a4&&await this['_commandService']['executeCommand'](_0x4cb6da['id'],{'unitId':_0x5b654e['getUnitId'](),'subUnitId':_0x4848a4});}async[_0x59f468(0x312)](_0x3af50c){const _0x1b2dda=_0x59f468;let _0x2d7e04=0x0;const _0xabfd7=await this[_0x1b2dda(0x1ca)]['loadOfflineData'](_0x3af50c);return _0xabfd7&&(_0xabfd7['awaitingChangeset']||_0xabfd7['mutations']['length']!==0x0)&&(_0x2d7e04=_0xabfd7[_0x1b2dda(0x4bc)]),_0x2d7e04===0x0&&this[_0x1b2dda(0x3b6)][_0x1b2dda(0x48b)](_0x1b2dda(0x560),_0x1b2dda(0x389)),this['_snapshotService'][_0x1b2dda(0x1a5)](_0x3af50c,_0x2d7e04);}async[_0x59f468(0x289)](_0x5e9fc3){const _0x49e2a6=_0x59f468;let _0x112472=0x0;const _0x131578=await this['_localCacheService']['loadOfflineData'](_0x5e9fc3);return _0x131578&&(_0x131578['awaitingChangeset']||_0x131578[_0x49e2a6(0x1a2)]['length']!==0x0)&&(_0x112472=_0x131578[_0x49e2a6(0x4bc)]),_0x112472===0x0&&this[_0x49e2a6(0x3b6)]['debug']('[DataLoaderController]',_0x49e2a6(0x389)),this['_snapshotService'][_0x49e2a6(0x5b1)](_0x5e9fc3,_0x112472);}};At=ka([Be(0x0,tr),Be(0x1,_0x37805d),Be(0x2,_0x1e017f),Be(0x3,_0x222038(z)),Be(0x4,_0x222038(_0x1381aa)),Be(0x5,_0x3a5345(_0x45ceae))],At);var Wa=Object[_0x59f468(0x29a)],Fa=Object[_0x59f468(0x368)],Va=(_0x5c9159,_0x198368,_0x413f15,_0x45cf08)=>{const _0xa2406c=_0x59f468;for(var _0xfcf9a=_0x45cf08>0x1?void 0x0:_0x45cf08?Fa(_0x198368,_0x413f15):_0x198368,_0x1cda40=_0x5c9159[_0xa2406c(0x21a)]-0x1,_0x176533;_0x1cda40>=0x0;_0x1cda40--)(_0x176533=_0x5c9159[_0x1cda40])&&(_0xfcf9a=(_0x45cf08?_0x176533(_0x198368,_0x413f15,_0xfcf9a):_0x176533(_0xfcf9a))||_0xfcf9a);return _0x45cf08&&_0xfcf9a&&Wa(_0x198368,_0x413f15,_0xfcf9a),_0xfcf9a;},oi=(_0x1cbb66,_0x3089b2)=>(_0x465026,_0x13fbd1)=>_0x3089b2(_0x465026,_0x13fbd1,_0x1cbb66);const Ga=_0x59f468(0x49a),Ya=_0x59f468(0x1fe);let Mt=class extends _0x19fe63{constructor(_0x6fd784,_0x57419c){const _0x5a79d9=_0x59f468;super(),this['_univerInstanceService']=_0x6fd784,this[_0x5a79d9(0x58b)]=_0x57419c,this['_init']();}[_0x59f468(0x59d)](){const _0x2b96a6=_0x59f468;this[_0x2b96a6(0x4e2)](this[_0x2b96a6(0x525)][_0x2b96a6(0x57d)]['subscribe'](()=>{const _0x2d349a=_0x2b96a6;var _0x533e1b;const _0x1b43d1=this[_0x2d349a(0x525)][_0x2d349a(0x370)]();let _0x69803c=(_0x533e1b=this[_0x2d349a(0x58b)][_0x2d349a(0x55d)](Ga))!=null?_0x533e1b:Ya;_0x1b43d1 instanceof _0x2b04ff&&(_0x69803c=_0x1b43d1['name']),document[_0x2d349a(0x48e)]=_0x69803c;}));}};Mt=Va([oi(0x0,_0xd7de45),oi(0x1,_0x486aed)],Mt);var Ka=Object[_0x59f468(0x29a)],qa=Object[_0x59f468(0x368)],za=(_0x4be214,_0x375efe,_0x23c1b4,_0x104d4f)=>{const _0x368d1a=_0x59f468;for(var _0x2adf89=_0x104d4f>0x1?void 0x0:_0x104d4f?qa(_0x375efe,_0x23c1b4):_0x375efe,_0xf4bb2=_0x4be214[_0x368d1a(0x21a)]-0x1,_0x3f3dda;_0xf4bb2>=0x0;_0xf4bb2--)(_0x3f3dda=_0x4be214[_0xf4bb2])&&(_0x2adf89=(_0x104d4f?_0x3f3dda(_0x375efe,_0x23c1b4,_0x2adf89):_0x3f3dda(_0x2adf89))||_0x2adf89);return _0x104d4f&&_0x2adf89&&Ka(_0x375efe,_0x23c1b4,_0x2adf89),_0x2adf89;},ss=(_0x31a39a,_0xe60cfc)=>(_0x1efa02,_0x3fa4d3)=>_0xe60cfc(_0x1efa02,_0x3fa4d3,_0x31a39a);let xt=class{constructor(_0x21f29b,_0x3cb867,_0x57dd8d){const _0x5e405d=_0x59f468;this['_configService']=_0x21f29b,this[_0x5e405d(0x2e7)]=_0x3cb867,this['localeService']=_0x57dd8d,this[_0x5e405d(0x43e)]();}[_0x59f468(0x43e)](){const _0xf0b163=_0x59f468;this[_0xf0b163(0x2e7)][_0xf0b163(0x442)]({'priority':0x1,'interceptor':(_0x2e244a,_0x5eda27)=>_0x5eda27(_0x2e244a)['pipe'](_0x3b543c(async _0x39d736=>{const _0x506e55=_0xf0b163,_0x128310=_0x39d736;if(_0x128310[_0x506e55(0x1e8)]===0x191&&window[_0x506e55(0x1e6)](this['localeService']['t'](_0x506e55(0x1f6)))){const _0xb625c=window[_0x506e55(0x449)](window[_0x506e55(0x30e)][_0x506e55(0x2f0)]);window[_0x506e55(0x30e)][_0x506e55(0x2f0)]=this[_0x506e55(0x21b)]()+'?url='+_0xb625c;}return _0x128310;}))});}[_0x59f468(0x21b)](){const _0x100d3d=_0x59f468;var _0x135783,_0x4242e8;const _0x5bec0d=this[_0x100d3d(0x58b)][_0x100d3d(0x55d)]($n),_0xb60bad=this[_0x100d3d(0x58b)][_0x100d3d(0x55d)](Q);return(_0x4242e8=(_0x135783=_0xb60bad==null?void 0x0:_0xb60bad[_0x100d3d(0x1bc)])!=null?_0x135783:_0x5bec0d)!=null?_0x4242e8:Hn;}};xt=za([ss(0x0,_0x486aed),ss(0x1,_0x222038(_0x216536)),ss(0x2,_0x222038(_0x52880d))],xt);var Xa=Object[_0x59f468(0x29a)],Ja=Object[_0x59f468(0x368)],Za=(_0x854e93,_0x4b43c3,_0x78e6c7,_0x570072)=>{const _0x1dfb56=_0x59f468;for(var _0xcac14c=_0x570072>0x1?void 0x0:_0x570072?Ja(_0x4b43c3,_0x78e6c7):_0x4b43c3,_0x46d04f=_0x854e93[_0x1dfb56(0x21a)]-0x1,_0x8430fa;_0x46d04f>=0x0;_0x46d04f--)(_0x8430fa=_0x854e93[_0x46d04f])&&(_0xcac14c=(_0x570072?_0x8430fa(_0x4b43c3,_0x78e6c7,_0xcac14c):_0x8430fa(_0xcac14c))||_0xcac14c);return _0x570072&&_0xcac14c&&Xa(_0x4b43c3,_0x78e6c7,_0xcac14c),_0xcac14c;},ai=(_0x1b5a50,_0xa08d83)=>(_0x62e21e,_0x3eab98)=>_0xa08d83(_0x62e21e,_0x3eab98,_0x1b5a50);const sr=_0x59f468(0x5a0),Qa='/universer-api/authz';let vs=class extends _0x19fe63{constructor(_0x582a96,_0x454172){const _0x3953ea=_0x59f468;super(),this[_0x3953ea(0x3f8)]=_0x582a96,this[_0x3953ea(0x58b)]=_0x454172,this[_0x3953ea(0x52e)]();}['_initMergeInterceptor'](){const _0x53a2ee=_0x59f468,_0x33a361=this;this['disposeWithMe'](this[_0x53a2ee(0x3f8)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x388d52({'isMatch'(_0x560da9){const _0x5de8a4=_0x53a2ee;var _0x297c3e;if(_0x560da9[_0x5de8a4(0x1ab)]===_0x5de8a4(0x592)&&((_0x297c3e=_0x560da9[_0x5de8a4(0x25e)])!=null&&_0x297c3e[_0x5de8a4(0x444)])){const {objectID:_0x20f729,objectType:_0x1d660c}=_0x560da9[_0x5de8a4(0x25e)][_0x5de8a4(0x444)]||{};if(!_0x20f729||_0x1d660c===void 0x0)return!0x1;const _0x4e931f=_0x33a361['_getAPIPrefixPath']()+'/'+_0x1d660c+_0x5de8a4(0x5b0)+_0x20f729+_0x5de8a4(0x1f5);if(_0x560da9[_0x5de8a4(0x2cb)]===_0x4e931f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x723613){const _0x567287=_0x53a2ee;var _0x53d5c9;return(_0x53d5c9=_0x723613[_0x567287(0x25e)])==null?void 0x0:_0x53d5c9[_0x567287(0x444)];},'mergeParamsToRequest'(_0x116077,_0xfbcbab){const _0xa6093c=_0x53a2ee,_0x544d59=_0x33a361[_0xa6093c(0x2e4)]()+_0xa6093c(0x249),_0x22c109=_0x116077[_0xa6093c(0x50d)]((_0x4eb040,_0x117ec4)=>{const _0x2c537e=_0xa6093c,{unitID:_0x208ecd,objectID:_0xf5d0de,objectType:_0x469929,actions:_0x2d0a6e}=_0x117ec4;return _0x4eb040[_0x208ecd]||(_0x4eb040[_0x208ecd]={}),_0x4eb040[_0x208ecd][_0xf5d0de]||(_0x4eb040[_0x208ecd][_0xf5d0de]={'objectID':_0xf5d0de,'objectType':_0x469929,'actions':[]}),_0x4eb040[_0x208ecd][_0xf5d0de]['actions'][_0x2c537e(0x4cf)](..._0x2d0a6e),_0x4eb040;},{}),_0x35496c=[];for(const _0x41cd60 in _0x22c109)for(const _0x3ec39a in _0x22c109[_0x41cd60]){const {actions:_0x61369e,objectType:_0x5088ae}=_0x22c109[_0x41cd60][_0x3ec39a],_0x386c7f=[...new Set(_0x61369e)];_0x35496c['push']({'unitID':_0x41cd60,'objectID':_0x3ec39a,'objectType':_0x5088ae,'actions':_0x386c7f});}return new _0x55add6(_0xa6093c(0x592),_0x544d59,{'headers':_0xfbcbab[_0xa6093c(0x412)],'withCredentials':_0xfbcbab['withCredentials'],'responseType':_0xfbcbab[_0xa6093c(0x406)],'body':{'requests':_0x35496c}});}},{'distributeResult'(_0x34c36e,_0x463ac8){const _0x57fcee=_0x53a2ee,{objectActions:_0x51f830}=_0x34c36e;return _0x463ac8[_0x57fcee(0x36d)](_0x150b90=>{const _0x30d359=_0x57fcee,{unitID:_0x5665f8,objectID:_0x43da1e,actions:_0x48487c}=_0x150b90,_0xca1387=_0x51f830[_0x30d359(0x2a5)](_0x19ab1a=>_0x19ab1a[_0x30d359(0x405)]===_0x5665f8&&_0x19ab1a['objectID']===_0x43da1e),_0x41fca0=_0x48487c[_0x30d359(0x36d)](_0x1b7620=>_0xca1387==null?void 0x0:_0xca1387[_0x30d359(0x584)]['find'](_0x1e8125=>_0x1e8125[_0x30d359(0x202)]===_0x1b7620))[_0x30d359(0x532)](_0x302a3c=>!!_0x302a3c);return{'config':_0x150b90,'result':{'actions':_0x41fca0,'error':_0x34c36e[_0x30d359(0x1ec)]}};});}})}));}[_0x59f468(0x2e4)](){const _0x3105fe=_0x59f468;var _0x48c7eb,_0x556ae2;const _0x5a1609=this['_configService'][_0x3105fe(0x55d)](sr),_0x44c55e=this['_configService'][_0x3105fe(0x55d)](Q);return(_0x556ae2=(_0x48c7eb=_0x44c55e==null?void 0x0:_0x44c55e[_0x3105fe(0x204)])!=null?_0x48c7eb:_0x5a1609)!=null?_0x556ae2:Qa;}async[_0x59f468(0x252)](_0x43e7c2){const _0x6d2e2f=_0x59f468,_0x2ee433=this[_0x6d2e2f(0x2e4)]()+'/'+_0x43e7c2[_0x6d2e2f(0x40e)]+'/object';return(await this[_0x6d2e2f(0x3f8)][_0x6d2e2f(0x32e)](_0x2ee433,{'body':_0x43e7c2}))[_0x6d2e2f(0x444)]['objectID']||'';}async[_0x59f468(0x4c5)](_0x3f27b7){const _0x3f23bb=_0x59f468,_0x35a60a=this['_getAPIPrefixPath']()+_0x3f23bb(0x390);return(await this[_0x3f23bb(0x3f8)]['post'](_0x35a60a,{'body':_0x3f27b7}))['body'][_0x3f23bb(0x2e9)];}async[_0x59f468(0x44f)](_0x2c0c6a){const _0x33fd40=_0x59f468,_0x2bc83b=this[_0x33fd40(0x2e4)]()+'/'+_0x2c0c6a[_0x33fd40(0x40e)]+'/object/'+_0x2c0c6a[_0x33fd40(0x426)];await this[_0x33fd40(0x3f8)]['put'](_0x2bc83b,{'body':_0x2c0c6a});}async['allowed'](_0xf8d1b3){const _0x576cd6=_0x59f468,_0x212ac3=this[_0x576cd6(0x2e4)]()+'/'+_0xf8d1b3['objectType']+_0x576cd6(0x5b0)+_0xf8d1b3['objectID']+_0x576cd6(0x1f5);return(await this[_0x576cd6(0x3f8)]['post'](_0x212ac3,{'body':_0xf8d1b3}))['body'][_0x576cd6(0x584)];}async[_0x59f468(0x40b)](_0x564537){const _0x14ffa6=_0x59f468,_0xdcb8a5=this['_getAPIPrefixPath']()+_0x14ffa6(0x249);return(await this[_0x14ffa6(0x3f8)][_0x14ffa6(0x32e)](_0xdcb8a5,{'body':{'requests':_0x564537}}))[_0x14ffa6(0x444)]['objectActions'];}async[_0x59f468(0x4ce)](_0x447cba){const _0x482b03=_0x59f468,_0xfcd1b1=this[_0x482b03(0x2e4)]()+'/'+_0x447cba[_0x482b03(0x40e)]+_0x482b03(0x222),_0x2b5af2=await this[_0x482b03(0x3f8)][_0x482b03(0x32e)](_0xfcd1b1,{'body':_0x447cba});return{'roles':_0x2b5af2[_0x482b03(0x444)][_0x482b03(0x527)],'actions':_0x2b5af2[_0x482b03(0x444)][_0x482b03(0x584)]};}async[_0x59f468(0x2ff)](_0x214a19){const _0x575b0c=_0x59f468,_0x504311=this[_0x575b0c(0x2e4)]()+_0x575b0c(0x46e);await this[_0x575b0c(0x3f8)]['delete'](_0x504311,{'params':{'collaboratorID':_0x214a19[_0x575b0c(0x446)],'objectID':_0x214a19[_0x575b0c(0x426)],'unitID':_0x214a19[_0x575b0c(0x405)]}});}async[_0x59f468(0x328)](_0x218da1){const _0x265255=_0x59f468,_0x4bbdc3=this[_0x265255(0x2e4)]()+_0x265255(0x46e);await this[_0x265255(0x3f8)]['patch'](_0x4bbdc3,{'body':_0x218da1});}async['createCollaborator'](_0x385324){const _0x11c926=_0x59f468,_0xec7e93=this[_0x11c926(0x2e4)]()+_0x11c926(0x46e);await this['_HTTPService'][_0x11c926(0x32e)](_0xec7e93,{'body':_0x385324});}async[_0x59f468(0x1b9)](_0x1b3908){const _0x1c3f6e=_0x59f468,_0x298352=this[_0x1c3f6e(0x2e4)]()+'/collaborator';return(await this[_0x1c3f6e(0x3f8)]['get'](_0x298352,{'params':{'objectID':_0x1b3908[_0x1c3f6e(0x426)],'unitID':_0x1b3908[_0x1c3f6e(0x405)]}}))[_0x1c3f6e(0x444)][_0x1c3f6e(0x254)];}async[_0x59f468(0x30c)](_0x949468){const _0x281186=_0x59f468,_0xfb3817=this[_0x281186(0x2e4)]()+'/collaborator';await this['_HTTPService'][_0x281186(0x53c)](_0xfb3817,{'body':_0x949468});}};vs=Za([ai(0x0,_0x222038(_0x216536)),ai(0x1,_0x222038(_0x486aed))],vs);var ut={'exports':{}};function ec(_0x462015){const _0x19c6c9=_0x59f468;throw new Error(_0x19c6c9(0x375)+_0x462015+_0x19c6c9(0x1d0));}var dt={'exports':{}},tc=dt['exports'],ci;function _e(){const _0x5b7067=_0x59f468;return ci||(ci=0x1,function(_0x456327,_0x142e0b){(function(_0x283458,_0x177703){const _0x3c6498=_0x2eda;_0x456327[_0x3c6498(0x3b4)]=_0x177703();}(tc,function(){var _0x3eff25=_0x3eff25||function(_0x5c3397,_0xacacf){const _0x238342=_0x2eda;var _0x5b762d;if(typeof window<'u'&&window[_0x238342(0x301)]&&(_0x5b762d=window[_0x238342(0x301)]),typeof self<'u'&&self[_0x238342(0x301)]&&(_0x5b762d=self[_0x238342(0x301)]),typeof globalThis<'u'&&globalThis[_0x238342(0x301)]&&(_0x5b762d=globalThis[_0x238342(0x301)]),!_0x5b762d&&typeof window<'u'&&window[_0x238342(0x327)]&&(_0x5b762d=window[_0x238342(0x327)]),!_0x5b762d&&typeof es<'u'&&es[_0x238342(0x301)]&&(_0x5b762d=es['crypto']),!_0x5b762d&&typeof ec==_0x238342(0x51c))try{_0x5b762d=require(_0x238342(0x301));}catch{}var _0x4576ff=function(){const _0xa265b1=_0x238342;if(_0x5b762d){if(typeof _0x5b762d[_0xa265b1(0x4cc)]==_0xa265b1(0x51c))try{return _0x5b762d[_0xa265b1(0x4cc)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5b762d[_0xa265b1(0x36a)]=='function')try{return _0x5b762d[_0xa265b1(0x36a)](0x4)[_0xa265b1(0x4d9)]();}catch{}}throw new Error(_0xa265b1(0x4a8));},_0x4fee0a=Object['create']||(function(){function _0x2c5c6c(){}return function(_0x2c90af){const _0x4b7b79=_0x2eda;var _0x4db8e0;return _0x2c5c6c[_0x4b7b79(0x1d3)]=_0x2c90af,_0x4db8e0=new _0x2c5c6c(),_0x2c5c6c[_0x4b7b79(0x1d3)]=null,_0x4db8e0;};}()),_0x2b374a={},_0x5cc472=_0x2b374a[_0x238342(0x4bd)]={},_0x3ef94c=_0x5cc472[_0x238342(0x556)]=(function(){return{'extend':function(_0x30593e){const _0x21cd10=_0x2eda;var _0x2d90a2=_0x4fee0a(this);return _0x30593e&&_0x2d90a2[_0x21cd10(0x1ac)](_0x30593e),(!_0x2d90a2[_0x21cd10(0x346)](_0x21cd10(0x43e))||this['init']===_0x2d90a2['init'])&&(_0x2d90a2['init']=function(){const _0x24d383=_0x21cd10;_0x2d90a2[_0x24d383(0x1af)][_0x24d383(0x43e)]['apply'](this,arguments);}),_0x2d90a2[_0x21cd10(0x43e)][_0x21cd10(0x1d3)]=_0x2d90a2,_0x2d90a2[_0x21cd10(0x1af)]=this,_0x2d90a2;},'create':function(){const _0x30ecc5=_0x2eda;var _0x2643ba=this[_0x30ecc5(0x521)]();return _0x2643ba[_0x30ecc5(0x43e)][_0x30ecc5(0x593)](_0x2643ba,arguments),_0x2643ba;},'init':function(){},'mixIn':function(_0x2df298){const _0x40ec06=_0x2eda;for(var _0x2a0639 in _0x2df298)_0x2df298[_0x40ec06(0x346)](_0x2a0639)&&(this[_0x2a0639]=_0x2df298[_0x2a0639]);_0x2df298[_0x40ec06(0x346)](_0x40ec06(0x4a1))&&(this['toString']=_0x2df298['toString']);},'clone':function(){const _0x5ae18f=_0x2eda;return this[_0x5ae18f(0x43e)][_0x5ae18f(0x1d3)][_0x5ae18f(0x521)](this);}};}()),_0x14417d=_0x5cc472[_0x238342(0x20f)]=_0x3ef94c['extend']({'init':function(_0xebc4cb,_0x12f663){const _0x139982=_0x238342;_0xebc4cb=this[_0x139982(0x520)]=_0xebc4cb||[],_0x12f663!=_0xacacf?this[_0x139982(0x303)]=_0x12f663:this[_0x139982(0x303)]=_0xebc4cb[_0x139982(0x21a)]*0x4;},'toString':function(_0x35d9c4){const _0x2d9396=_0x238342;return(_0x35d9c4||_0x3f9b76)[_0x2d9396(0x3fc)](this);},'concat':function(_0x51b2b5){const _0x518a16=_0x238342;var _0x9ee004=this[_0x518a16(0x520)],_0x497e77=_0x51b2b5[_0x518a16(0x520)],_0x56305f=this[_0x518a16(0x303)],_0x3974af=_0x51b2b5['sigBytes'];if(this[_0x518a16(0x469)](),_0x56305f%0x4)for(var _0x1fed97=0x0;_0x1fed97<_0x3974af;_0x1fed97++){var _0x151e57=_0x497e77[_0x1fed97>>>0x2]>>>0x18-_0x1fed97%0x4*0x8&0xff;_0x9ee004[_0x56305f+_0x1fed97>>>0x2]|=_0x151e57<<0x18-(_0x56305f+_0x1fed97)%0x4*0x8;}else{for(var _0x38fb01=0x0;_0x38fb01<_0x3974af;_0x38fb01+=0x4)_0x9ee004[_0x56305f+_0x38fb01>>>0x2]=_0x497e77[_0x38fb01>>>0x2];}return this['sigBytes']+=_0x3974af,this;},'clamp':function(){const _0x41552d=_0x238342;var _0x1f0a75=this[_0x41552d(0x520)],_0x500a79=this[_0x41552d(0x303)];_0x1f0a75[_0x500a79>>>0x2]&=0xffffffff<<0x20-_0x500a79%0x4*0x8,_0x1f0a75[_0x41552d(0x21a)]=_0x5c3397[_0x41552d(0x2d0)](_0x500a79/0x4);},'clone':function(){const _0x7fe244=_0x238342;var _0x4f8b1c=_0x3ef94c[_0x7fe244(0x4ea)][_0x7fe244(0x3e3)](this);return _0x4f8b1c[_0x7fe244(0x520)]=this[_0x7fe244(0x520)][_0x7fe244(0x38c)](0x0),_0x4f8b1c;},'random':function(_0x967aad){const _0x47814c=_0x238342;for(var _0x81a00a=[],_0xc74901=0x0;_0xc74901<_0x967aad;_0xc74901+=0x4)_0x81a00a[_0x47814c(0x4cf)](_0x4576ff());return new _0x14417d[(_0x47814c(0x43e))](_0x81a00a,_0x967aad);}}),_0x208ea8=_0x2b374a['enc']={},_0x3f9b76=_0x208ea8[_0x238342(0x5b6)]={'stringify':function(_0xea8a64){const _0xb7781d=_0x238342;for(var _0x363f63=_0xea8a64[_0xb7781d(0x520)],_0x5b522a=_0xea8a64[_0xb7781d(0x303)],_0x66f40d=[],_0x50961b=0x0;_0x50961b<_0x5b522a;_0x50961b++){var _0x2532b2=_0x363f63[_0x50961b>>>0x2]>>>0x18-_0x50961b%0x4*0x8&0xff;_0x66f40d[_0xb7781d(0x4cf)]((_0x2532b2>>>0x4)[_0xb7781d(0x4a1)](0x10)),_0x66f40d[_0xb7781d(0x4cf)]((_0x2532b2&0xf)['toString'](0x10));}return _0x66f40d[_0xb7781d(0x271)]('');},'parse':function(_0x519c48){const _0x891c98=_0x238342;for(var _0x315b95=_0x519c48[_0x891c98(0x21a)],_0x2afc58=[],_0x2bbf62=0x0;_0x2bbf62<_0x315b95;_0x2bbf62+=0x2)_0x2afc58[_0x2bbf62>>>0x3]|=parseInt(_0x519c48[_0x891c98(0x37a)](_0x2bbf62,0x2),0x10)<<0x18-_0x2bbf62%0x8*0x4;return new _0x14417d[(_0x891c98(0x43e))](_0x2afc58,_0x315b95/0x2);}},_0x4e6f35=_0x208ea8[_0x238342(0x20d)]={'stringify':function(_0x52a607){const _0x12f02=_0x238342;for(var _0x519a51=_0x52a607[_0x12f02(0x520)],_0x502ef9=_0x52a607['sigBytes'],_0x248c94=[],_0x544072=0x0;_0x544072<_0x502ef9;_0x544072++){var _0x502799=_0x519a51[_0x544072>>>0x2]>>>0x18-_0x544072%0x4*0x8&0xff;_0x248c94[_0x12f02(0x4cf)](String['fromCharCode'](_0x502799));}return _0x248c94[_0x12f02(0x271)]('');},'parse':function(_0x55f125){const _0x44d632=_0x238342;for(var _0x1f3ef9=_0x55f125[_0x44d632(0x21a)],_0x174703=[],_0x402099=0x0;_0x402099<_0x1f3ef9;_0x402099++)_0x174703[_0x402099>>>0x2]|=(_0x55f125[_0x44d632(0x5a3)](_0x402099)&0xff)<<0x18-_0x402099%0x4*0x8;return new _0x14417d[(_0x44d632(0x43e))](_0x174703,_0x1f3ef9);}},_0x5ab51e=_0x208ea8[_0x238342(0x42d)]={'stringify':function(_0x66848){const _0x1647c6=_0x238342;try{return decodeURIComponent(escape(_0x4e6f35[_0x1647c6(0x3fc)](_0x66848)));}catch{throw new Error(_0x1647c6(0x599));}},'parse':function(_0x22b0ae){return _0x4e6f35['parse'](unescape(encodeURIComponent(_0x22b0ae)));}},_0x39560d=_0x5cc472[_0x238342(0x357)]=_0x3ef94c['extend']({'reset':function(){const _0x30a992=_0x238342;this['_data']=new _0x14417d[(_0x30a992(0x43e))](),this[_0x30a992(0x48a)]=0x0;},'_append':function(_0x2d9585){const _0x59e1f2=_0x238342;typeof _0x2d9585=='string'&&(_0x2d9585=_0x5ab51e[_0x59e1f2(0x2e1)](_0x2d9585)),this[_0x59e1f2(0x290)][_0x59e1f2(0x340)](_0x2d9585),this['_nDataBytes']+=_0x2d9585[_0x59e1f2(0x303)];},'_process':function(_0x5bd13e){const _0x53ba1d=_0x238342;var _0x388010,_0x5f3274=this['_data'],_0x2ee167=_0x5f3274[_0x53ba1d(0x520)],_0x1060bf=_0x5f3274['sigBytes'],_0x53444d=this[_0x53ba1d(0x43f)],_0xcc92c6=_0x53444d*0x4,_0xf081a7=_0x1060bf/_0xcc92c6;_0x5bd13e?_0xf081a7=_0x5c3397['ceil'](_0xf081a7):_0xf081a7=_0x5c3397[_0x53ba1d(0x456)]((_0xf081a7|0x0)-this[_0x53ba1d(0x2af)],0x0);var _0x8050c3=_0xf081a7*_0x53444d,_0x34fb8b=_0x5c3397[_0x53ba1d(0x42a)](_0x8050c3*0x4,_0x1060bf);if(_0x8050c3){for(var _0x43153a=0x0;_0x43153a<_0x8050c3;_0x43153a+=_0x53444d)this[_0x53ba1d(0x296)](_0x2ee167,_0x43153a);_0x388010=_0x2ee167[_0x53ba1d(0x41b)](0x0,_0x8050c3),_0x5f3274[_0x53ba1d(0x303)]-=_0x34fb8b;}return new _0x14417d[(_0x53ba1d(0x43e))](_0x388010,_0x34fb8b);},'clone':function(){const _0x5ee033=_0x238342;var _0x282aa8=_0x3ef94c[_0x5ee033(0x4ea)][_0x5ee033(0x3e3)](this);return _0x282aa8['_data']=this[_0x5ee033(0x290)][_0x5ee033(0x4ea)](),_0x282aa8;},'_minBufferSize':0x0});_0x5cc472[_0x238342(0x207)]=_0x39560d[_0x238342(0x521)]({'cfg':_0x3ef94c['extend'](),'init':function(_0x3218ed){const _0x5a36d2=_0x238342;this['cfg']=this[_0x5a36d2(0x377)][_0x5a36d2(0x521)](_0x3218ed),this['reset']();},'reset':function(){const _0x26fb95=_0x238342;_0x39560d[_0x26fb95(0x23f)][_0x26fb95(0x3e3)](this),this[_0x26fb95(0x452)]();},'update':function(_0xfcce9d){const _0x4bca83=_0x238342;return this[_0x4bca83(0x582)](_0xfcce9d),this[_0x4bca83(0x528)](),this;},'finalize':function(_0x24157c){const _0x10a1b6=_0x238342;_0x24157c&&this['_append'](_0x24157c);var _0x5af95d=this[_0x10a1b6(0x47f)]();return _0x5af95d;},'blockSize':0x10,'_createHelper':function(_0x3f3644){return function(_0x152435,_0x43bb58){const _0x4c7774=_0x2eda;return new _0x3f3644[(_0x4c7774(0x43e))](_0x43bb58)[_0x4c7774(0x37b)](_0x152435);};},'_createHmacHelper':function(_0x589cf2){return function(_0x10e1b1,_0x2dc1c0){const _0x252ac4=_0x2eda;return new _0x550eb1[(_0x252ac4(0x2d9))][(_0x252ac4(0x43e))](_0x589cf2,_0x2dc1c0)['finalize'](_0x10e1b1);};}});var _0x550eb1=_0x2b374a['algo']={};return _0x2b374a;}(Math);return _0x3eff25;}));}(dt)),dt[_0x5b7067(0x3b4)];}var ft={'exports':{}},sc=ft[_0x59f468(0x3b4)],hi;function ir(){const _0x441946=_0x59f468;return hi||(hi=0x1,function(_0x3026e7,_0x54baf9){(function(_0xebcc83,_0x87650d){const _0x10e300=_0x2eda;_0x3026e7[_0x10e300(0x3b4)]=_0x87650d(_e());}(sc,function(_0x4821f5){const _0x1f23c3=_0x2eda;return(function(){const _0x51054d=_0x2eda;var _0x3cd8d0=_0x4821f5,_0x13f725=_0x3cd8d0[_0x51054d(0x4bd)],_0x10a6f2=_0x13f725[_0x51054d(0x20f)],_0x16570f=_0x3cd8d0[_0x51054d(0x48f)];_0x16570f[_0x51054d(0x3fa)]={'stringify':function(_0x2ebb8b){const _0x53121c=_0x51054d;var _0x29d57e=_0x2ebb8b[_0x53121c(0x520)],_0x35ec5f=_0x2ebb8b[_0x53121c(0x303)],_0x3d74df=this[_0x53121c(0x2ba)];_0x2ebb8b[_0x53121c(0x469)]();for(var _0x167707=[],_0x306403=0x0;_0x306403<_0x35ec5f;_0x306403+=0x3)for(var _0x3bbb81=_0x29d57e[_0x306403>>>0x2]>>>0x18-_0x306403%0x4*0x8&0xff,_0x18d50b=_0x29d57e[_0x306403+0x1>>>0x2]>>>0x18-(_0x306403+0x1)%0x4*0x8&0xff,_0x47a7a9=_0x29d57e[_0x306403+0x2>>>0x2]>>>0x18-(_0x306403+0x2)%0x4*0x8&0xff,_0x466647=_0x3bbb81<<0x10|_0x18d50b<<0x8|_0x47a7a9,_0x2b5f40=0x0;_0x2b5f40<0x4&&_0x306403+_0x2b5f40*0.75<_0x35ec5f;_0x2b5f40++)_0x167707['push'](_0x3d74df[_0x53121c(0x230)](_0x466647>>>0x6*(0x3-_0x2b5f40)&0x3f));var _0x165af9=_0x3d74df[_0x53121c(0x230)](0x40);if(_0x165af9){for(;_0x167707[_0x53121c(0x21a)]%0x4;)_0x167707[_0x53121c(0x4cf)](_0x165af9);}return _0x167707[_0x53121c(0x271)]('');},'parse':function(_0xe2c7c7){const _0x7e96b6=_0x51054d;var _0x46add5=_0xe2c7c7[_0x7e96b6(0x21a)],_0x31fb97=this['_map'],_0x42c4ec=this[_0x7e96b6(0x2f9)];if(!_0x42c4ec){_0x42c4ec=this['_reverseMap']=[];for(var _0x514768=0x0;_0x514768<_0x31fb97[_0x7e96b6(0x21a)];_0x514768++)_0x42c4ec[_0x31fb97[_0x7e96b6(0x5a3)](_0x514768)]=_0x514768;}var _0x3ae705=_0x31fb97['charAt'](0x40);if(_0x3ae705){var _0x4b6807=_0xe2c7c7[_0x7e96b6(0x3e0)](_0x3ae705);_0x4b6807!==-0x1&&(_0x46add5=_0x4b6807);}return _0x585d28(_0xe2c7c7,_0x46add5,_0x42c4ec);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x585d28(_0x26bcc4,_0x5b9987,_0x230749){const _0x4ab42d=_0x51054d;for(var _0xff75f8=[],_0x5ab00c=0x0,_0x4ed7d4=0x0;_0x4ed7d4<_0x5b9987;_0x4ed7d4++)if(_0x4ed7d4%0x4){var _0x497dce=_0x230749[_0x26bcc4[_0x4ab42d(0x5a3)](_0x4ed7d4-0x1)]<<_0x4ed7d4%0x4*0x2,_0x353f59=_0x230749[_0x26bcc4[_0x4ab42d(0x5a3)](_0x4ed7d4)]>>>0x6-_0x4ed7d4%0x4*0x2,_0x3a82cc=_0x497dce|_0x353f59;_0xff75f8[_0x5ab00c>>>0x2]|=_0x3a82cc<<0x18-_0x5ab00c%0x4*0x8,_0x5ab00c++;}return _0x10a6f2[_0x4ab42d(0x252)](_0xff75f8,_0x5ab00c);}}()),_0x4821f5[_0x1f23c3(0x48f)]['Base64'];}));}(ft)),ft[_0x441946(0x3b4)];}var vt={'exports':{}},ic=vt[_0x59f468(0x3b4)],li;function rc(){const _0x43d22b=_0x59f468;return li||(li=0x1,function(_0x42dd52,_0x267775){(function(_0x5dec87,_0x4151e2){const _0x295291=_0x2eda;_0x42dd52[_0x295291(0x3b4)]=_0x4151e2(_e());}(ic,function(_0x2072d6){const _0x5f1146=_0x2eda;return function(_0xf8896d){const _0x50d5a6=_0x2eda;var _0x5444e2=_0x2072d6,_0x371eae=_0x5444e2['lib'],_0xfd8660=_0x371eae[_0x50d5a6(0x20f)],_0x2f5d0e=_0x371eae[_0x50d5a6(0x207)],_0x1d240a=_0x5444e2[_0x50d5a6(0x4bb)],_0x21d010=[];(function(){const _0x13b8ef=_0x50d5a6;for(var _0x32bca0=0x0;_0x32bca0<0x40;_0x32bca0++)_0x21d010[_0x32bca0]=_0xf8896d[_0x13b8ef(0x3dd)](_0xf8896d[_0x13b8ef(0x501)](_0x32bca0+0x1))*0x100000000|0x0;}());var _0x8b9f8f=_0x1d240a['MD5']=_0x2f5d0e[_0x50d5a6(0x521)]({'_doReset':function(){const _0x237704=_0x50d5a6;this[_0x237704(0x468)]=new _0xfd8660['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3b2fa1,_0x50155e){const _0x2d9a2d=_0x50d5a6;for(var _0x596991=0x0;_0x596991<0x10;_0x596991++){var _0x437858=_0x50155e+_0x596991,_0x316c2d=_0x3b2fa1[_0x437858];_0x3b2fa1[_0x437858]=(_0x316c2d<<0x8|_0x316c2d>>>0x18)&0xff00ff|(_0x316c2d<<0x18|_0x316c2d>>>0x8)&0xff00ff00;}var _0x45e525=this[_0x2d9a2d(0x468)][_0x2d9a2d(0x520)],_0x405853=_0x3b2fa1[_0x50155e+0x0],_0x27bb3d=_0x3b2fa1[_0x50155e+0x1],_0xe09037=_0x3b2fa1[_0x50155e+0x2],_0x2bb617=_0x3b2fa1[_0x50155e+0x3],_0x1d6470=_0x3b2fa1[_0x50155e+0x4],_0x3ae9d4=_0x3b2fa1[_0x50155e+0x5],_0x33bcc1=_0x3b2fa1[_0x50155e+0x6],_0x188d07=_0x3b2fa1[_0x50155e+0x7],_0x3a4900=_0x3b2fa1[_0x50155e+0x8],_0x26781b=_0x3b2fa1[_0x50155e+0x9],_0x5f1fb0=_0x3b2fa1[_0x50155e+0xa],_0x4f71a1=_0x3b2fa1[_0x50155e+0xb],_0x598270=_0x3b2fa1[_0x50155e+0xc],_0x1da5e1=_0x3b2fa1[_0x50155e+0xd],_0x43f46b=_0x3b2fa1[_0x50155e+0xe],_0x16f58a=_0x3b2fa1[_0x50155e+0xf],_0x213497=_0x45e525[0x0],_0x3d71f9=_0x45e525[0x1],_0x3d40ef=_0x45e525[0x2],_0x49105a=_0x45e525[0x3];_0x213497=_0xc07d9c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x405853,0x7,_0x21d010[0x0]),_0x49105a=_0xc07d9c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x27bb3d,0xc,_0x21d010[0x1]),_0x3d40ef=_0xc07d9c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0xe09037,0x11,_0x21d010[0x2]),_0x3d71f9=_0xc07d9c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x2bb617,0x16,_0x21d010[0x3]),_0x213497=_0xc07d9c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x1d6470,0x7,_0x21d010[0x4]),_0x49105a=_0xc07d9c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x3ae9d4,0xc,_0x21d010[0x5]),_0x3d40ef=_0xc07d9c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x33bcc1,0x11,_0x21d010[0x6]),_0x3d71f9=_0xc07d9c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x188d07,0x16,_0x21d010[0x7]),_0x213497=_0xc07d9c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x3a4900,0x7,_0x21d010[0x8]),_0x49105a=_0xc07d9c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x26781b,0xc,_0x21d010[0x9]),_0x3d40ef=_0xc07d9c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x5f1fb0,0x11,_0x21d010[0xa]),_0x3d71f9=_0xc07d9c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x4f71a1,0x16,_0x21d010[0xb]),_0x213497=_0xc07d9c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x598270,0x7,_0x21d010[0xc]),_0x49105a=_0xc07d9c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x1da5e1,0xc,_0x21d010[0xd]),_0x3d40ef=_0xc07d9c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x43f46b,0x11,_0x21d010[0xe]),_0x3d71f9=_0xc07d9c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x16f58a,0x16,_0x21d010[0xf]),_0x213497=_0x99bb4(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x27bb3d,0x5,_0x21d010[0x10]),_0x49105a=_0x99bb4(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x33bcc1,0x9,_0x21d010[0x11]),_0x3d40ef=_0x99bb4(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x4f71a1,0xe,_0x21d010[0x12]),_0x3d71f9=_0x99bb4(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x405853,0x14,_0x21d010[0x13]),_0x213497=_0x99bb4(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x3ae9d4,0x5,_0x21d010[0x14]),_0x49105a=_0x99bb4(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x5f1fb0,0x9,_0x21d010[0x15]),_0x3d40ef=_0x99bb4(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x16f58a,0xe,_0x21d010[0x16]),_0x3d71f9=_0x99bb4(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x1d6470,0x14,_0x21d010[0x17]),_0x213497=_0x99bb4(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x26781b,0x5,_0x21d010[0x18]),_0x49105a=_0x99bb4(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x43f46b,0x9,_0x21d010[0x19]),_0x3d40ef=_0x99bb4(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x2bb617,0xe,_0x21d010[0x1a]),_0x3d71f9=_0x99bb4(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x3a4900,0x14,_0x21d010[0x1b]),_0x213497=_0x99bb4(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x1da5e1,0x5,_0x21d010[0x1c]),_0x49105a=_0x99bb4(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0xe09037,0x9,_0x21d010[0x1d]),_0x3d40ef=_0x99bb4(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x188d07,0xe,_0x21d010[0x1e]),_0x3d71f9=_0x99bb4(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x598270,0x14,_0x21d010[0x1f]),_0x213497=_0x16d7c9(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x3ae9d4,0x4,_0x21d010[0x20]),_0x49105a=_0x16d7c9(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x3a4900,0xb,_0x21d010[0x21]),_0x3d40ef=_0x16d7c9(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x4f71a1,0x10,_0x21d010[0x22]),_0x3d71f9=_0x16d7c9(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x43f46b,0x17,_0x21d010[0x23]),_0x213497=_0x16d7c9(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x27bb3d,0x4,_0x21d010[0x24]),_0x49105a=_0x16d7c9(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x1d6470,0xb,_0x21d010[0x25]),_0x3d40ef=_0x16d7c9(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x188d07,0x10,_0x21d010[0x26]),_0x3d71f9=_0x16d7c9(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x5f1fb0,0x17,_0x21d010[0x27]),_0x213497=_0x16d7c9(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x1da5e1,0x4,_0x21d010[0x28]),_0x49105a=_0x16d7c9(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x405853,0xb,_0x21d010[0x29]),_0x3d40ef=_0x16d7c9(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x2bb617,0x10,_0x21d010[0x2a]),_0x3d71f9=_0x16d7c9(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x33bcc1,0x17,_0x21d010[0x2b]),_0x213497=_0x16d7c9(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x26781b,0x4,_0x21d010[0x2c]),_0x49105a=_0x16d7c9(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x598270,0xb,_0x21d010[0x2d]),_0x3d40ef=_0x16d7c9(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x16f58a,0x10,_0x21d010[0x2e]),_0x3d71f9=_0x16d7c9(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0xe09037,0x17,_0x21d010[0x2f]),_0x213497=_0x40399c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x405853,0x6,_0x21d010[0x30]),_0x49105a=_0x40399c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x188d07,0xa,_0x21d010[0x31]),_0x3d40ef=_0x40399c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x43f46b,0xf,_0x21d010[0x32]),_0x3d71f9=_0x40399c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x3ae9d4,0x15,_0x21d010[0x33]),_0x213497=_0x40399c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x598270,0x6,_0x21d010[0x34]),_0x49105a=_0x40399c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x2bb617,0xa,_0x21d010[0x35]),_0x3d40ef=_0x40399c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x5f1fb0,0xf,_0x21d010[0x36]),_0x3d71f9=_0x40399c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x27bb3d,0x15,_0x21d010[0x37]),_0x213497=_0x40399c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x3a4900,0x6,_0x21d010[0x38]),_0x49105a=_0x40399c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x16f58a,0xa,_0x21d010[0x39]),_0x3d40ef=_0x40399c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0x33bcc1,0xf,_0x21d010[0x3a]),_0x3d71f9=_0x40399c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x1da5e1,0x15,_0x21d010[0x3b]),_0x213497=_0x40399c(_0x213497,_0x3d71f9,_0x3d40ef,_0x49105a,_0x1d6470,0x6,_0x21d010[0x3c]),_0x49105a=_0x40399c(_0x49105a,_0x213497,_0x3d71f9,_0x3d40ef,_0x4f71a1,0xa,_0x21d010[0x3d]),_0x3d40ef=_0x40399c(_0x3d40ef,_0x49105a,_0x213497,_0x3d71f9,_0xe09037,0xf,_0x21d010[0x3e]),_0x3d71f9=_0x40399c(_0x3d71f9,_0x3d40ef,_0x49105a,_0x213497,_0x26781b,0x15,_0x21d010[0x3f]),_0x45e525[0x0]=_0x45e525[0x0]+_0x213497|0x0,_0x45e525[0x1]=_0x45e525[0x1]+_0x3d71f9|0x0,_0x45e525[0x2]=_0x45e525[0x2]+_0x3d40ef|0x0,_0x45e525[0x3]=_0x45e525[0x3]+_0x49105a|0x0;},'_doFinalize':function(){const _0x1a5776=_0x50d5a6;var _0x15c215=this[_0x1a5776(0x290)],_0x3d39f9=_0x15c215['words'],_0x5758f8=this[_0x1a5776(0x48a)]*0x8,_0x269591=_0x15c215[_0x1a5776(0x303)]*0x8;_0x3d39f9[_0x269591>>>0x5]|=0x80<<0x18-_0x269591%0x20;var _0x7a2300=_0xf8896d[_0x1a5776(0x316)](_0x5758f8/0x100000000),_0x329026=_0x5758f8;_0x3d39f9[(_0x269591+0x40>>>0x9<<0x4)+0xf]=(_0x7a2300<<0x8|_0x7a2300>>>0x18)&0xff00ff|(_0x7a2300<<0x18|_0x7a2300>>>0x8)&0xff00ff00,_0x3d39f9[(_0x269591+0x40>>>0x9<<0x4)+0xe]=(_0x329026<<0x8|_0x329026>>>0x18)&0xff00ff|(_0x329026<<0x18|_0x329026>>>0x8)&0xff00ff00,_0x15c215[_0x1a5776(0x303)]=(_0x3d39f9['length']+0x1)*0x4,this[_0x1a5776(0x528)]();for(var _0x5a95e8=this[_0x1a5776(0x468)],_0x115f8b=_0x5a95e8[_0x1a5776(0x520)],_0x17b0ae=0x0;_0x17b0ae<0x4;_0x17b0ae++){var _0x2568df=_0x115f8b[_0x17b0ae];_0x115f8b[_0x17b0ae]=(_0x2568df<<0x8|_0x2568df>>>0x18)&0xff00ff|(_0x2568df<<0x18|_0x2568df>>>0x8)&0xff00ff00;}return _0x5a95e8;},'clone':function(){const _0x3970ca=_0x50d5a6;var _0x381af8=_0x2f5d0e[_0x3970ca(0x4ea)][_0x3970ca(0x3e3)](this);return _0x381af8[_0x3970ca(0x468)]=this[_0x3970ca(0x468)][_0x3970ca(0x4ea)](),_0x381af8;}});function _0xc07d9c(_0x46a02d,_0x17b1e6,_0x10c21e,_0x398468,_0x19afb1,_0x4dd816,_0x5951ac){var _0x1c4d1a=_0x46a02d+(_0x17b1e6&_0x10c21e|~_0x17b1e6&_0x398468)+_0x19afb1+_0x5951ac;return(_0x1c4d1a<<_0x4dd816|_0x1c4d1a>>>0x20-_0x4dd816)+_0x17b1e6;}function _0x99bb4(_0x559b77,_0x110c7c,_0xf19dd,_0xbcb79a,_0x48adc3,_0xc5fec9,_0x2927c2){var _0x4162d2=_0x559b77+(_0x110c7c&_0xbcb79a|_0xf19dd&~_0xbcb79a)+_0x48adc3+_0x2927c2;return(_0x4162d2<<_0xc5fec9|_0x4162d2>>>0x20-_0xc5fec9)+_0x110c7c;}function _0x16d7c9(_0x49afa2,_0x23bfde,_0x4cd36e,_0x1fc43b,_0x9cf55b,_0x62b792,_0x405e47){var _0x2d1303=_0x49afa2+(_0x23bfde^_0x4cd36e^_0x1fc43b)+_0x9cf55b+_0x405e47;return(_0x2d1303<<_0x62b792|_0x2d1303>>>0x20-_0x62b792)+_0x23bfde;}function _0x40399c(_0xac0c99,_0x3438e2,_0x58eb92,_0x238f44,_0x498bc7,_0x2d2c07,_0x8c2f48){var _0xa6a1ac=_0xac0c99+(_0x58eb92^(_0x3438e2|~_0x238f44))+_0x498bc7+_0x8c2f48;return(_0xa6a1ac<<_0x2d2c07|_0xa6a1ac>>>0x20-_0x2d2c07)+_0x3438e2;}_0x5444e2[_0x50d5a6(0x4a6)]=_0x2f5d0e['_createHelper'](_0x8b9f8f),_0x5444e2[_0x50d5a6(0x1ae)]=_0x2f5d0e[_0x50d5a6(0x3ed)](_0x8b9f8f);}(Math),_0x2072d6[_0x5f1146(0x4a6)];}));}(vt)),vt[_0x43d22b(0x3b4)];}var pt={'exports':{}},mt={'exports':{}},nc=mt[_0x59f468(0x3b4)],_i;function oc(){const _0x301a7c=_0x59f468;return _i||(_i=0x1,function(_0x4960f9,_0x4b0b9a){(function(_0x443d0a,_0x4e3d90){const _0x2bdebd=_0x2eda;_0x4960f9[_0x2bdebd(0x3b4)]=_0x4e3d90(_e());}(nc,function(_0x445354){const _0x36380e=_0x2eda;return(function(){const _0x3e9a5d=_0x2eda;var _0x4a8c81=_0x445354,_0x5205c1=_0x4a8c81[_0x3e9a5d(0x4bd)],_0x2ee72d=_0x5205c1[_0x3e9a5d(0x20f)],_0x2fd878=_0x5205c1[_0x3e9a5d(0x207)],_0xfa188=_0x4a8c81[_0x3e9a5d(0x4bb)],_0x4e604a=[],_0x3bb9bd=_0xfa188[_0x3e9a5d(0x507)]=_0x2fd878[_0x3e9a5d(0x521)]({'_doReset':function(){const _0x2ada27=_0x3e9a5d;this[_0x2ada27(0x468)]=new _0x2ee72d[(_0x2ada27(0x43e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x48c7be,_0x53dc86){const _0x1e8ea6=_0x3e9a5d;for(var _0x5c2e76=this['_hash'][_0x1e8ea6(0x520)],_0x57f514=_0x5c2e76[0x0],_0x1e7811=_0x5c2e76[0x1],_0x35e64d=_0x5c2e76[0x2],_0x436a68=_0x5c2e76[0x3],_0x56a252=_0x5c2e76[0x4],_0x3bc27c=0x0;_0x3bc27c<0x50;_0x3bc27c++){if(_0x3bc27c<0x10)_0x4e604a[_0x3bc27c]=_0x48c7be[_0x53dc86+_0x3bc27c]|0x0;else{var _0x26139d=_0x4e604a[_0x3bc27c-0x3]^_0x4e604a[_0x3bc27c-0x8]^_0x4e604a[_0x3bc27c-0xe]^_0x4e604a[_0x3bc27c-0x10];_0x4e604a[_0x3bc27c]=_0x26139d<<0x1|_0x26139d>>>0x1f;}var _0x1f571d=(_0x57f514<<0x5|_0x57f514>>>0x1b)+_0x56a252+_0x4e604a[_0x3bc27c];_0x3bc27c<0x14?_0x1f571d+=(_0x1e7811&_0x35e64d|~_0x1e7811&_0x436a68)+0x5a827999:_0x3bc27c<0x28?_0x1f571d+=(_0x1e7811^_0x35e64d^_0x436a68)+0x6ed9eba1:_0x3bc27c<0x3c?_0x1f571d+=(_0x1e7811&_0x35e64d|_0x1e7811&_0x436a68|_0x35e64d&_0x436a68)-0x70e44324:_0x1f571d+=(_0x1e7811^_0x35e64d^_0x436a68)-0x359d3e2a,_0x56a252=_0x436a68,_0x436a68=_0x35e64d,_0x35e64d=_0x1e7811<<0x1e|_0x1e7811>>>0x2,_0x1e7811=_0x57f514,_0x57f514=_0x1f571d;}_0x5c2e76[0x0]=_0x5c2e76[0x0]+_0x57f514|0x0,_0x5c2e76[0x1]=_0x5c2e76[0x1]+_0x1e7811|0x0,_0x5c2e76[0x2]=_0x5c2e76[0x2]+_0x35e64d|0x0,_0x5c2e76[0x3]=_0x5c2e76[0x3]+_0x436a68|0x0,_0x5c2e76[0x4]=_0x5c2e76[0x4]+_0x56a252|0x0;},'_doFinalize':function(){const _0x4ca9e0=_0x3e9a5d;var _0x4f691f=this[_0x4ca9e0(0x290)],_0x382568=_0x4f691f[_0x4ca9e0(0x520)],_0x903d79=this[_0x4ca9e0(0x48a)]*0x8,_0x556c70=_0x4f691f[_0x4ca9e0(0x303)]*0x8;return _0x382568[_0x556c70>>>0x5]|=0x80<<0x18-_0x556c70%0x20,_0x382568[(_0x556c70+0x40>>>0x9<<0x4)+0xe]=Math[_0x4ca9e0(0x316)](_0x903d79/0x100000000),_0x382568[(_0x556c70+0x40>>>0x9<<0x4)+0xf]=_0x903d79,_0x4f691f[_0x4ca9e0(0x303)]=_0x382568['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x5c2a9f=_0x3e9a5d;var _0x4eaf7a=_0x2fd878[_0x5c2a9f(0x4ea)][_0x5c2a9f(0x3e3)](this);return _0x4eaf7a[_0x5c2a9f(0x468)]=this[_0x5c2a9f(0x468)][_0x5c2a9f(0x4ea)](),_0x4eaf7a;}});_0x4a8c81['SHA1']=_0x2fd878[_0x3e9a5d(0x2c6)](_0x3bb9bd),_0x4a8c81[_0x3e9a5d(0x3c5)]=_0x2fd878[_0x3e9a5d(0x3ed)](_0x3bb9bd);}()),_0x445354[_0x36380e(0x507)];}));}(mt)),mt[_0x301a7c(0x3b4)];}var gt={'exports':{}},ac=gt[_0x59f468(0x3b4)],ui;function cc(){const _0x18fab7=_0x59f468;return ui||(ui=0x1,function(_0x6b8049,_0x42e944){(function(_0xd4a0e3,_0x1b7cbb){_0x6b8049['exports']=_0x1b7cbb(_e());}(ac,function(_0x36a7be){(function(){const _0x56b481=_0x2eda;var _0x1f1dbc=_0x36a7be,_0x5d0f07=_0x1f1dbc['lib'],_0x4fbf6d=_0x5d0f07['Base'],_0x3f156d=_0x1f1dbc[_0x56b481(0x48f)],_0x4697d1=_0x3f156d['Utf8'],_0x3cdca6=_0x1f1dbc[_0x56b481(0x4bb)];_0x3cdca6[_0x56b481(0x2d9)]=_0x4fbf6d[_0x56b481(0x521)]({'init':function(_0x1daeef,_0x588bfc){const _0x10b389=_0x56b481;_0x1daeef=this[_0x10b389(0x1ef)]=new _0x1daeef[(_0x10b389(0x43e))](),typeof _0x588bfc==_0x10b389(0x2fb)&&(_0x588bfc=_0x4697d1[_0x10b389(0x2e1)](_0x588bfc));var _0x275a72=_0x1daeef[_0x10b389(0x43f)],_0xe3c2bf=_0x275a72*0x4;_0x588bfc[_0x10b389(0x303)]>_0xe3c2bf&&(_0x588bfc=_0x1daeef['finalize'](_0x588bfc)),_0x588bfc['clamp']();for(var _0x20b24d=this[_0x10b389(0x47c)]=_0x588bfc[_0x10b389(0x4ea)](),_0x13d2d0=this[_0x10b389(0x523)]=_0x588bfc['clone'](),_0x203b9d=_0x20b24d[_0x10b389(0x520)],_0x4f86c3=_0x13d2d0[_0x10b389(0x520)],_0x458595=0x0;_0x458595<_0x275a72;_0x458595++)_0x203b9d[_0x458595]^=0x5c5c5c5c,_0x4f86c3[_0x458595]^=0x36363636;_0x20b24d[_0x10b389(0x303)]=_0x13d2d0[_0x10b389(0x303)]=_0xe3c2bf,this[_0x10b389(0x23f)]();},'reset':function(){const _0x56538f=_0x56b481;var _0xb068e=this['_hasher'];_0xb068e[_0x56538f(0x23f)](),_0xb068e[_0x56538f(0x44f)](this['_iKey']);},'update':function(_0x6cd3ab){const _0xc3feeb=_0x56b481;return this[_0xc3feeb(0x1ef)][_0xc3feeb(0x44f)](_0x6cd3ab),this;},'finalize':function(_0x12450d){const _0x4a136d=_0x56b481;var _0xf15e71=this[_0x4a136d(0x1ef)],_0x1f2414=_0xf15e71[_0x4a136d(0x37b)](_0x12450d);_0xf15e71[_0x4a136d(0x23f)]();var _0x57c41c=_0xf15e71[_0x4a136d(0x37b)](this[_0x4a136d(0x47c)][_0x4a136d(0x4ea)]()['concat'](_0x1f2414));return _0x57c41c;}});}());}));}(gt)),gt[_0x18fab7(0x3b4)];}var hc=pt['exports'],di;function rr(){const _0x48bb14=_0x59f468;return di||(di=0x1,function(_0x58f14d,_0xd2ce4e){(function(_0x437609,_0x7be9a5,_0xca541){const _0x493287=_0x2eda;_0x58f14d[_0x493287(0x3b4)]=_0x7be9a5(_e(),oc(),cc());}(hc,function(_0x4e3c25){const _0x26df9f=_0x2eda;return(function(){const _0x44e1e2=_0x2eda;var _0x1bf590=_0x4e3c25,_0x3b73e9=_0x1bf590[_0x44e1e2(0x4bd)],_0x5d3daa=_0x3b73e9['Base'],_0x4f6cdd=_0x3b73e9[_0x44e1e2(0x20f)],_0x119568=_0x1bf590[_0x44e1e2(0x4bb)],_0x56bbfe=_0x119568['MD5'],_0x5684d8=_0x119568['EvpKDF']=_0x5d3daa[_0x44e1e2(0x521)]({'cfg':_0x5d3daa[_0x44e1e2(0x521)]({'keySize':0x80/0x20,'hasher':_0x56bbfe,'iterations':0x1}),'init':function(_0x1059b0){const _0x2c9fee=_0x44e1e2;this[_0x2c9fee(0x377)]=this[_0x2c9fee(0x377)][_0x2c9fee(0x521)](_0x1059b0);},'compute':function(_0x15f3a4,_0x300c41){const _0xb00ed5=_0x44e1e2;for(var _0x4a4de8,_0x627e38=this[_0xb00ed5(0x377)],_0x1cf0dd=_0x627e38['hasher'][_0xb00ed5(0x252)](),_0x14337f=_0x4f6cdd['create'](),_0x110bdb=_0x14337f[_0xb00ed5(0x520)],_0x4e5648=_0x627e38[_0xb00ed5(0x1b4)],_0x13541c=_0x627e38[_0xb00ed5(0x1eb)];_0x110bdb[_0xb00ed5(0x21a)]<_0x4e5648;){_0x4a4de8&&_0x1cf0dd[_0xb00ed5(0x44f)](_0x4a4de8),_0x4a4de8=_0x1cf0dd['update'](_0x15f3a4)[_0xb00ed5(0x37b)](_0x300c41),_0x1cf0dd[_0xb00ed5(0x23f)]();for(var _0x4b5133=0x1;_0x4b5133<_0x13541c;_0x4b5133++)_0x4a4de8=_0x1cf0dd[_0xb00ed5(0x37b)](_0x4a4de8),_0x1cf0dd[_0xb00ed5(0x23f)]();_0x14337f[_0xb00ed5(0x340)](_0x4a4de8);}return _0x14337f[_0xb00ed5(0x303)]=_0x4e5648*0x4,_0x14337f;}});_0x1bf590[_0x44e1e2(0x496)]=function(_0x2385bb,_0x46cee2,_0x425b4f){const _0x29a4bd=_0x44e1e2;return _0x5684d8[_0x29a4bd(0x252)](_0x425b4f)[_0x29a4bd(0x322)](_0x2385bb,_0x46cee2);};}()),_0x4e3c25[_0x26df9f(0x496)];}));}(pt)),pt[_0x48bb14(0x3b4)];}var St={'exports':{}},lc=St[_0x59f468(0x3b4)],fi;function nr(){return fi||(fi=0x1,function(_0x4820d0,_0x5cc1e5){(function(_0x14355d,_0x3c32d5,_0x5ab4b9){const _0x36872d=_0x2eda;_0x4820d0[_0x36872d(0x3b4)]=_0x3c32d5(_e(),rr());}(lc,function(_0x268d26){const _0x28e0bc=_0x2eda;_0x268d26[_0x28e0bc(0x4bd)][_0x28e0bc(0x33e)]||function(_0x36f00a){const _0x18d6ed=_0x28e0bc;var _0x1e24c5=_0x268d26,_0x162862=_0x1e24c5[_0x18d6ed(0x4bd)],_0x3a544d=_0x162862['Base'],_0xb8523b=_0x162862['WordArray'],_0x5bfefc=_0x162862['BufferedBlockAlgorithm'],_0x128e15=_0x1e24c5[_0x18d6ed(0x48f)];_0x128e15[_0x18d6ed(0x42d)];var _0x827a8e=_0x128e15[_0x18d6ed(0x3fa)],_0x1c5a87=_0x1e24c5['algo'],_0x2c646c=_0x1c5a87['EvpKDF'],_0x4bd35e=_0x162862['Cipher']=_0x5bfefc[_0x18d6ed(0x521)]({'cfg':_0x3a544d[_0x18d6ed(0x521)](),'createEncryptor':function(_0x587f4c,_0x4f64f8){return this['create'](this['_ENC_XFORM_MODE'],_0x587f4c,_0x4f64f8);},'createDecryptor':function(_0x11c4c7,_0x4792bd){const _0x1cc97b=_0x18d6ed;return this[_0x1cc97b(0x252)](this[_0x1cc97b(0x5af)],_0x11c4c7,_0x4792bd);},'init':function(_0xf68b6d,_0x402ea1,_0x582f0b){const _0x29c879=_0x18d6ed;this[_0x29c879(0x377)]=this[_0x29c879(0x377)][_0x29c879(0x521)](_0x582f0b),this[_0x29c879(0x4fb)]=_0xf68b6d,this[_0x29c879(0x1c0)]=_0x402ea1,this[_0x29c879(0x23f)]();},'reset':function(){const _0x24631b=_0x18d6ed;_0x5bfefc[_0x24631b(0x23f)][_0x24631b(0x3e3)](this),this[_0x24631b(0x452)]();},'process':function(_0x2eb3cf){const _0x53ac2e=_0x18d6ed;return this[_0x53ac2e(0x582)](_0x2eb3cf),this[_0x53ac2e(0x528)]();},'finalize':function(_0x3ea41a){const _0xfe696=_0x18d6ed;_0x3ea41a&&this[_0xfe696(0x582)](_0x3ea41a);var _0x59fa79=this[_0xfe696(0x47f)]();return _0x59fa79;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2301a6(_0x58ace9){const _0xa0f020=_0x2eda;return typeof _0x58ace9==_0xa0f020(0x2fb)?_0x3ad5bb:_0x1ec272;}return function(_0x1d54ef){return{'encrypt':function(_0x328c1a,_0x3b4e34,_0x4c12a4){return _0x2301a6(_0x3b4e34)['encrypt'](_0x1d54ef,_0x328c1a,_0x3b4e34,_0x4c12a4);},'decrypt':function(_0x352db7,_0x7fbb28,_0x435dad){const _0x2964b1=_0x2eda;return _0x2301a6(_0x7fbb28)[_0x2964b1(0x3c9)](_0x1d54ef,_0x352db7,_0x7fbb28,_0x435dad);}};};}())});_0x162862[_0x18d6ed(0x4ff)]=_0x4bd35e[_0x18d6ed(0x521)]({'_doFinalize':function(){const _0xe584b1=_0x18d6ed;var _0x1c5d69=this[_0xe584b1(0x528)](!0x0);return _0x1c5d69;},'blockSize':0x1});var _0x5e65ff=_0x1e24c5[_0x18d6ed(0x4f4)]={},_0x597080=_0x162862[_0x18d6ed(0x224)]=_0x3a544d[_0x18d6ed(0x521)]({'createEncryptor':function(_0x3ef086,_0x4ba15e){const _0x286e75=_0x18d6ed;return this[_0x286e75(0x1fd)][_0x286e75(0x252)](_0x3ef086,_0x4ba15e);},'createDecryptor':function(_0x3c9e17,_0x310fcc){const _0x5c15f1=_0x18d6ed;return this[_0x5c15f1(0x1cc)][_0x5c15f1(0x252)](_0x3c9e17,_0x310fcc);},'init':function(_0x477a90,_0x2b04d8){const _0x2960c0=_0x18d6ed;this[_0x2960c0(0x311)]=_0x477a90,this['_iv']=_0x2b04d8;}}),_0x28499a=_0x5e65ff['CBC']=(function(){const _0x2e31ae=_0x18d6ed;var _0x1337f7=_0x597080[_0x2e31ae(0x521)]();_0x1337f7[_0x2e31ae(0x1fd)]=_0x1337f7[_0x2e31ae(0x521)]({'processBlock':function(_0x445051,_0x41d128){const _0x5ea5f3=_0x2e31ae;var _0x189500=this['_cipher'],_0x39c6c5=_0x189500[_0x5ea5f3(0x43f)];_0x34c72e['call'](this,_0x445051,_0x41d128,_0x39c6c5),_0x189500[_0x5ea5f3(0x58f)](_0x445051,_0x41d128),this[_0x5ea5f3(0x2f5)]=_0x445051[_0x5ea5f3(0x38c)](_0x41d128,_0x41d128+_0x39c6c5);}}),_0x1337f7[_0x2e31ae(0x1cc)]=_0x1337f7[_0x2e31ae(0x521)]({'processBlock':function(_0x4e2443,_0x501537){const _0x429919=_0x2e31ae;var _0x27896e=this[_0x429919(0x311)],_0x1cee2f=_0x27896e['blockSize'],_0xf1b94d=_0x4e2443[_0x429919(0x38c)](_0x501537,_0x501537+_0x1cee2f);_0x27896e[_0x429919(0x2cf)](_0x4e2443,_0x501537),_0x34c72e[_0x429919(0x3e3)](this,_0x4e2443,_0x501537,_0x1cee2f),this['_prevBlock']=_0xf1b94d;}});function _0x34c72e(_0x2e6e98,_0x17f5b0,_0x450948){const _0x58d6a7=_0x2e31ae;var _0x242749,_0x501272=this['_iv'];_0x501272?(_0x242749=_0x501272,this[_0x58d6a7(0x26a)]=_0x36f00a):_0x242749=this[_0x58d6a7(0x2f5)];for(var _0x1f543a=0x0;_0x1f543a<_0x450948;_0x1f543a++)_0x2e6e98[_0x17f5b0+_0x1f543a]^=_0x242749[_0x1f543a];}return _0x1337f7;}()),_0x2a07c4=_0x1e24c5[_0x18d6ed(0x429)]={},_0x2b6545=_0x2a07c4[_0x18d6ed(0x3e8)]={'pad':function(_0x494a5e,_0x4fbde1){const _0x5153f6=_0x18d6ed;for(var _0x1d6d1d=_0x4fbde1*0x4,_0x424586=_0x1d6d1d-_0x494a5e[_0x5153f6(0x303)]%_0x1d6d1d,_0x30e2fd=_0x424586<<0x18|_0x424586<<0x10|_0x424586<<0x8|_0x424586,_0x35cf9c=[],_0x4bb3e7=0x0;_0x4bb3e7<_0x424586;_0x4bb3e7+=0x4)_0x35cf9c['push'](_0x30e2fd);var _0x2c1f02=_0xb8523b[_0x5153f6(0x252)](_0x35cf9c,_0x424586);_0x494a5e[_0x5153f6(0x340)](_0x2c1f02);},'unpad':function(_0x26204d){const _0x4d0fd3=_0x18d6ed;var _0x4d3e73=_0x26204d[_0x4d0fd3(0x520)][_0x26204d[_0x4d0fd3(0x303)]-0x1>>>0x2]&0xff;_0x26204d['sigBytes']-=_0x4d3e73;}};_0x162862[_0x18d6ed(0x4f7)]=_0x4bd35e[_0x18d6ed(0x521)]({'cfg':_0x4bd35e['cfg']['extend']({'mode':_0x28499a,'padding':_0x2b6545}),'reset':function(){const _0x166495=_0x18d6ed;var _0x514fb0;_0x4bd35e[_0x166495(0x23f)][_0x166495(0x3e3)](this);var _0x5d5ae6=this[_0x166495(0x377)],_0x503aeb=_0x5d5ae6['iv'],_0xa8bef5=_0x5d5ae6['mode'];this['_xformMode']==this[_0x166495(0x285)]?_0x514fb0=_0xa8bef5[_0x166495(0x3c6)]:(_0x514fb0=_0xa8bef5['createDecryptor'],this['_minBufferSize']=0x1),this[_0x166495(0x302)]&&this[_0x166495(0x302)][_0x166495(0x4e0)]==_0x514fb0?this[_0x166495(0x302)]['init'](this,_0x503aeb&&_0x503aeb[_0x166495(0x520)]):(this['_mode']=_0x514fb0['call'](_0xa8bef5,this,_0x503aeb&&_0x503aeb[_0x166495(0x520)]),this[_0x166495(0x302)][_0x166495(0x4e0)]=_0x514fb0);},'_doProcessBlock':function(_0x2c8f68,_0x5303c8){const _0x49dc2e=_0x18d6ed;this[_0x49dc2e(0x302)][_0x49dc2e(0x216)](_0x2c8f68,_0x5303c8);},'_doFinalize':function(){const _0xa6fc2c=_0x18d6ed;var _0x2c881d,_0x47cc06=this[_0xa6fc2c(0x377)][_0xa6fc2c(0x3f9)];return this['_xformMode']==this[_0xa6fc2c(0x285)]?(_0x47cc06[_0xa6fc2c(0x429)](this[_0xa6fc2c(0x290)],this[_0xa6fc2c(0x43f)]),_0x2c881d=this['_process'](!0x0)):(_0x2c881d=this[_0xa6fc2c(0x528)](!0x0),_0x47cc06['unpad'](_0x2c881d)),_0x2c881d;},'blockSize':0x80/0x20});var _0x36f9ed=_0x162862[_0x18d6ed(0x341)]=_0x3a544d[_0x18d6ed(0x521)]({'init':function(_0x284d61){const _0x4e9eb5=_0x18d6ed;this[_0x4e9eb5(0x1ac)](_0x284d61);},'toString':function(_0x20f7b9){const _0x27860f=_0x18d6ed;return(_0x20f7b9||this[_0x27860f(0x1a9)])[_0x27860f(0x3fc)](this);}}),_0x43a53f=_0x1e24c5[_0x18d6ed(0x265)]={},_0xf6964e=_0x43a53f[_0x18d6ed(0x2c0)]={'stringify':function(_0x1a9573){const _0x535c45=_0x18d6ed;var _0x25e92b,_0x25acc8=_0x1a9573[_0x535c45(0x283)],_0x4f0f1b=_0x1a9573[_0x535c45(0x314)];return _0x4f0f1b?_0x25e92b=_0xb8523b[_0x535c45(0x252)]([0x53616c74,0x65645f5f])['concat'](_0x4f0f1b)['concat'](_0x25acc8):_0x25e92b=_0x25acc8,_0x25e92b[_0x535c45(0x4a1)](_0x827a8e);},'parse':function(_0x2f8509){const _0x1301a3=_0x18d6ed;var _0x187ca7,_0x5e2c1a=_0x827a8e['parse'](_0x2f8509),_0xa3b810=_0x5e2c1a[_0x1301a3(0x520)];return _0xa3b810[0x0]==0x53616c74&&_0xa3b810[0x1]==0x65645f5f&&(_0x187ca7=_0xb8523b['create'](_0xa3b810[_0x1301a3(0x38c)](0x2,0x4)),_0xa3b810['splice'](0x0,0x4),_0x5e2c1a[_0x1301a3(0x303)]-=0x10),_0x36f9ed[_0x1301a3(0x252)]({'ciphertext':_0x5e2c1a,'salt':_0x187ca7});}},_0x1ec272=_0x162862[_0x18d6ed(0x2a9)]=_0x3a544d[_0x18d6ed(0x521)]({'cfg':_0x3a544d['extend']({'format':_0xf6964e}),'encrypt':function(_0x35dbce,_0xe36941,_0x323623,_0xfc8581){const _0x2887f5=_0x18d6ed;_0xfc8581=this[_0x2887f5(0x377)][_0x2887f5(0x521)](_0xfc8581);var _0x1777b0=_0x35dbce[_0x2887f5(0x3c6)](_0x323623,_0xfc8581),_0x30e1f6=_0x1777b0[_0x2887f5(0x37b)](_0xe36941),_0x2dc8ad=_0x1777b0[_0x2887f5(0x377)];return _0x36f9ed['create']({'ciphertext':_0x30e1f6,'key':_0x323623,'iv':_0x2dc8ad['iv'],'algorithm':_0x35dbce,'mode':_0x2dc8ad['mode'],'padding':_0x2dc8ad[_0x2887f5(0x3f9)],'blockSize':_0x35dbce['blockSize'],'formatter':_0xfc8581['format']});},'decrypt':function(_0x198685,_0x38573c,_0x537b3e,_0x195d28){const _0xd39c74=_0x18d6ed;_0x195d28=this[_0xd39c74(0x377)]['extend'](_0x195d28),_0x38573c=this[_0xd39c74(0x199)](_0x38573c,_0x195d28[_0xd39c74(0x265)]);var _0x528882=_0x198685[_0xd39c74(0x485)](_0x537b3e,_0x195d28)['finalize'](_0x38573c[_0xd39c74(0x283)]);return _0x528882;},'_parse':function(_0x2d1a1c,_0x180ba4){const _0x187f99=_0x18d6ed;return typeof _0x2d1a1c==_0x187f99(0x2fb)?_0x180ba4[_0x187f99(0x2e1)](_0x2d1a1c,this):_0x2d1a1c;}}),_0x196a46=_0x1e24c5[_0x18d6ed(0x47b)]={},_0x5451f0=_0x196a46[_0x18d6ed(0x2c0)]={'execute':function(_0x4a844c,_0x5e03cd,_0x8be130,_0x4afb7f,_0x5e286e){const _0x226623=_0x18d6ed;if(_0x4afb7f||(_0x4afb7f=_0xb8523b[_0x226623(0x585)](0x40/0x8)),_0x5e286e)var _0x5f36cc=_0x2c646c['create']({'keySize':_0x5e03cd+_0x8be130,'hasher':_0x5e286e})[_0x226623(0x322)](_0x4a844c,_0x4afb7f);else var _0x5f36cc=_0x2c646c[_0x226623(0x252)]({'keySize':_0x5e03cd+_0x8be130})['compute'](_0x4a844c,_0x4afb7f);var _0x2af239=_0xb8523b['create'](_0x5f36cc[_0x226623(0x520)][_0x226623(0x38c)](_0x5e03cd),_0x8be130*0x4);return _0x5f36cc[_0x226623(0x303)]=_0x5e03cd*0x4,_0x36f9ed[_0x226623(0x252)]({'key':_0x5f36cc,'iv':_0x2af239,'salt':_0x4afb7f});}},_0x3ad5bb=_0x162862[_0x18d6ed(0x4aa)]=_0x1ec272[_0x18d6ed(0x521)]({'cfg':_0x1ec272[_0x18d6ed(0x377)][_0x18d6ed(0x521)]({'kdf':_0x5451f0}),'encrypt':function(_0x3db119,_0xbe5dbd,_0x587cdb,_0x2b033f){const _0xe2d2e9=_0x18d6ed;_0x2b033f=this['cfg'][_0xe2d2e9(0x521)](_0x2b033f);var _0x52db95=_0x2b033f['kdf'][_0xe2d2e9(0x1c7)](_0x587cdb,_0x3db119[_0xe2d2e9(0x1b4)],_0x3db119[_0xe2d2e9(0x3c0)],_0x2b033f[_0xe2d2e9(0x314)],_0x2b033f[_0xe2d2e9(0x428)]);_0x2b033f['iv']=_0x52db95['iv'];var _0x3baf83=_0x1ec272[_0xe2d2e9(0x203)][_0xe2d2e9(0x3e3)](this,_0x3db119,_0xbe5dbd,_0x52db95[_0xe2d2e9(0x47d)],_0x2b033f);return _0x3baf83['mixIn'](_0x52db95),_0x3baf83;},'decrypt':function(_0x51f857,_0x40bb97,_0x5152da,_0x2a9b6f){const _0x29f691=_0x18d6ed;_0x2a9b6f=this[_0x29f691(0x377)][_0x29f691(0x521)](_0x2a9b6f),_0x40bb97=this[_0x29f691(0x199)](_0x40bb97,_0x2a9b6f[_0x29f691(0x265)]);var _0xa15a62=_0x2a9b6f[_0x29f691(0x47b)][_0x29f691(0x1c7)](_0x5152da,_0x51f857[_0x29f691(0x1b4)],_0x51f857[_0x29f691(0x3c0)],_0x40bb97[_0x29f691(0x314)],_0x2a9b6f[_0x29f691(0x428)]);_0x2a9b6f['iv']=_0xa15a62['iv'];var _0x59a9b5=_0x1ec272[_0x29f691(0x3c9)][_0x29f691(0x3e3)](this,_0x51f857,_0x40bb97,_0xa15a62[_0x29f691(0x47d)],_0x2a9b6f);return _0x59a9b5;}});}();}));}(St)),St['exports'];}var _c=ut[_0x59f468(0x3b4)],vi;function uc(){return vi||(vi=0x1,function(_0x1bcfbe,_0x532b8b){(function(_0x1b81c5,_0x673a66,_0x5eca41){const _0x3e96d8=_0x2eda;_0x1bcfbe[_0x3e96d8(0x3b4)]=_0x673a66(_e(),ir(),rc(),rr(),nr());}(_c,function(_0x1bdbf9){const _0x322501=_0x2eda;return(function(){const _0x6a4b58=_0x2eda;var _0x25a314=_0x1bdbf9,_0x37afdd=_0x25a314[_0x6a4b58(0x4bd)],_0x2c5695=_0x37afdd['BlockCipher'],_0x358bf7=_0x25a314['algo'],_0x28bc66=[],_0x2a38fe=[],_0x5e0868=[],_0x43ee97=[],_0x470885=[],_0x5bb578=[],_0x338313=[],_0x55b36a=[],_0x3b518f=[],_0x1ee1df=[];(function(){for(var _0x176c32=[],_0xb5cd64=0x0;_0xb5cd64<0x100;_0xb5cd64++)_0xb5cd64<0x80?_0x176c32[_0xb5cd64]=_0xb5cd64<<0x1:_0x176c32[_0xb5cd64]=_0xb5cd64<<0x1^0x11b;for(var _0x6cc5d7=0x0,_0x218af0=0x0,_0xb5cd64=0x0;_0xb5cd64<0x100;_0xb5cd64++){var _0x4676d3=_0x218af0^_0x218af0<<0x1^_0x218af0<<0x2^_0x218af0<<0x3^_0x218af0<<0x4;_0x4676d3=_0x4676d3>>>0x8^_0x4676d3&0xff^0x63,_0x28bc66[_0x6cc5d7]=_0x4676d3,_0x2a38fe[_0x4676d3]=_0x6cc5d7;var _0x27e7b9=_0x176c32[_0x6cc5d7],_0x3c328f=_0x176c32[_0x27e7b9],_0x24a973=_0x176c32[_0x3c328f],_0x73f7c0=_0x176c32[_0x4676d3]*0x101^_0x4676d3*0x1010100;_0x5e0868[_0x6cc5d7]=_0x73f7c0<<0x18|_0x73f7c0>>>0x8,_0x43ee97[_0x6cc5d7]=_0x73f7c0<<0x10|_0x73f7c0>>>0x10,_0x470885[_0x6cc5d7]=_0x73f7c0<<0x8|_0x73f7c0>>>0x18,_0x5bb578[_0x6cc5d7]=_0x73f7c0;var _0x73f7c0=_0x24a973*0x1010101^_0x3c328f*0x10001^_0x27e7b9*0x101^_0x6cc5d7*0x1010100;_0x338313[_0x4676d3]=_0x73f7c0<<0x18|_0x73f7c0>>>0x8,_0x55b36a[_0x4676d3]=_0x73f7c0<<0x10|_0x73f7c0>>>0x10,_0x3b518f[_0x4676d3]=_0x73f7c0<<0x8|_0x73f7c0>>>0x18,_0x1ee1df[_0x4676d3]=_0x73f7c0,_0x6cc5d7?(_0x6cc5d7=_0x27e7b9^_0x176c32[_0x176c32[_0x176c32[_0x24a973^_0x27e7b9]]],_0x218af0^=_0x176c32[_0x176c32[_0x218af0]]):_0x6cc5d7=_0x218af0=0x1;}}());var _0x11c369=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1c9ef2=_0x358bf7['AES']=_0x2c5695['extend']({'_doReset':function(){const _0xaa2d55=_0x6a4b58;var _0x3415f0;if(!(this[_0xaa2d55(0x596)]&&this['_keyPriorReset']===this['_key'])){for(var _0x392ce9=this[_0xaa2d55(0x1b7)]=this[_0xaa2d55(0x1c0)],_0x286963=_0x392ce9['words'],_0x1227fc=_0x392ce9['sigBytes']/0x4,_0x472e37=this[_0xaa2d55(0x596)]=_0x1227fc+0x6,_0x459e7d=(_0x472e37+0x1)*0x4,_0x3d6847=this[_0xaa2d55(0x268)]=[],_0x5a2413=0x0;_0x5a2413<_0x459e7d;_0x5a2413++)_0x5a2413<_0x1227fc?_0x3d6847[_0x5a2413]=_0x286963[_0x5a2413]:(_0x3415f0=_0x3d6847[_0x5a2413-0x1],_0x5a2413%_0x1227fc?_0x1227fc>0x6&&_0x5a2413%_0x1227fc==0x4&&(_0x3415f0=_0x28bc66[_0x3415f0>>>0x18]<<0x18|_0x28bc66[_0x3415f0>>>0x10&0xff]<<0x10|_0x28bc66[_0x3415f0>>>0x8&0xff]<<0x8|_0x28bc66[_0x3415f0&0xff]):(_0x3415f0=_0x3415f0<<0x8|_0x3415f0>>>0x18,_0x3415f0=_0x28bc66[_0x3415f0>>>0x18]<<0x18|_0x28bc66[_0x3415f0>>>0x10&0xff]<<0x10|_0x28bc66[_0x3415f0>>>0x8&0xff]<<0x8|_0x28bc66[_0x3415f0&0xff],_0x3415f0^=_0x11c369[_0x5a2413/_0x1227fc|0x0]<<0x18),_0x3d6847[_0x5a2413]=_0x3d6847[_0x5a2413-_0x1227fc]^_0x3415f0);for(var _0xc21f6b=this[_0xaa2d55(0x300)]=[],_0x498234=0x0;_0x498234<_0x459e7d;_0x498234++){var _0x5a2413=_0x459e7d-_0x498234;if(_0x498234%0x4)var _0x3415f0=_0x3d6847[_0x5a2413];else var _0x3415f0=_0x3d6847[_0x5a2413-0x4];_0x498234<0x4||_0x5a2413<=0x4?_0xc21f6b[_0x498234]=_0x3415f0:_0xc21f6b[_0x498234]=_0x338313[_0x28bc66[_0x3415f0>>>0x18]]^_0x55b36a[_0x28bc66[_0x3415f0>>>0x10&0xff]]^_0x3b518f[_0x28bc66[_0x3415f0>>>0x8&0xff]]^_0x1ee1df[_0x28bc66[_0x3415f0&0xff]];}}},'encryptBlock':function(_0x15c9f3,_0x26bd19){const _0xed6f5b=_0x6a4b58;this[_0xed6f5b(0x22a)](_0x15c9f3,_0x26bd19,this[_0xed6f5b(0x268)],_0x5e0868,_0x43ee97,_0x470885,_0x5bb578,_0x28bc66);},'decryptBlock':function(_0xf8d3cd,_0x11cba4){const _0x5b7556=_0x6a4b58;var _0x9c1a63=_0xf8d3cd[_0x11cba4+0x1];_0xf8d3cd[_0x11cba4+0x1]=_0xf8d3cd[_0x11cba4+0x3],_0xf8d3cd[_0x11cba4+0x3]=_0x9c1a63,this[_0x5b7556(0x22a)](_0xf8d3cd,_0x11cba4,this[_0x5b7556(0x300)],_0x338313,_0x55b36a,_0x3b518f,_0x1ee1df,_0x2a38fe);var _0x9c1a63=_0xf8d3cd[_0x11cba4+0x1];_0xf8d3cd[_0x11cba4+0x1]=_0xf8d3cd[_0x11cba4+0x3],_0xf8d3cd[_0x11cba4+0x3]=_0x9c1a63;},'_doCryptBlock':function(_0x5ebe96,_0x16b425,_0x27b909,_0x1fc9f3,_0x1c9c02,_0xf1f892,_0x9c7a25,_0x401d2f){const _0x3d6196=_0x6a4b58;for(var _0x5f4c25=this[_0x3d6196(0x596)],_0x3d5288=_0x5ebe96[_0x16b425]^_0x27b909[0x0],_0x394cfb=_0x5ebe96[_0x16b425+0x1]^_0x27b909[0x1],_0x1b690e=_0x5ebe96[_0x16b425+0x2]^_0x27b909[0x2],_0x276da1=_0x5ebe96[_0x16b425+0x3]^_0x27b909[0x3],_0x235997=0x4,_0x52046f=0x1;_0x52046f<_0x5f4c25;_0x52046f++){var _0x5492e2=_0x1fc9f3[_0x3d5288>>>0x18]^_0x1c9c02[_0x394cfb>>>0x10&0xff]^_0xf1f892[_0x1b690e>>>0x8&0xff]^_0x9c7a25[_0x276da1&0xff]^_0x27b909[_0x235997++],_0x48f18d=_0x1fc9f3[_0x394cfb>>>0x18]^_0x1c9c02[_0x1b690e>>>0x10&0xff]^_0xf1f892[_0x276da1>>>0x8&0xff]^_0x9c7a25[_0x3d5288&0xff]^_0x27b909[_0x235997++],_0xfccd49=_0x1fc9f3[_0x1b690e>>>0x18]^_0x1c9c02[_0x276da1>>>0x10&0xff]^_0xf1f892[_0x3d5288>>>0x8&0xff]^_0x9c7a25[_0x394cfb&0xff]^_0x27b909[_0x235997++],_0x352565=_0x1fc9f3[_0x276da1>>>0x18]^_0x1c9c02[_0x3d5288>>>0x10&0xff]^_0xf1f892[_0x394cfb>>>0x8&0xff]^_0x9c7a25[_0x1b690e&0xff]^_0x27b909[_0x235997++];_0x3d5288=_0x5492e2,_0x394cfb=_0x48f18d,_0x1b690e=_0xfccd49,_0x276da1=_0x352565;}var _0x5492e2=(_0x401d2f[_0x3d5288>>>0x18]<<0x18|_0x401d2f[_0x394cfb>>>0x10&0xff]<<0x10|_0x401d2f[_0x1b690e>>>0x8&0xff]<<0x8|_0x401d2f[_0x276da1&0xff])^_0x27b909[_0x235997++],_0x48f18d=(_0x401d2f[_0x394cfb>>>0x18]<<0x18|_0x401d2f[_0x1b690e>>>0x10&0xff]<<0x10|_0x401d2f[_0x276da1>>>0x8&0xff]<<0x8|_0x401d2f[_0x3d5288&0xff])^_0x27b909[_0x235997++],_0xfccd49=(_0x401d2f[_0x1b690e>>>0x18]<<0x18|_0x401d2f[_0x276da1>>>0x10&0xff]<<0x10|_0x401d2f[_0x3d5288>>>0x8&0xff]<<0x8|_0x401d2f[_0x394cfb&0xff])^_0x27b909[_0x235997++],_0x352565=(_0x401d2f[_0x276da1>>>0x18]<<0x18|_0x401d2f[_0x3d5288>>>0x10&0xff]<<0x10|_0x401d2f[_0x394cfb>>>0x8&0xff]<<0x8|_0x401d2f[_0x1b690e&0xff])^_0x27b909[_0x235997++];_0x5ebe96[_0x16b425]=_0x5492e2,_0x5ebe96[_0x16b425+0x1]=_0x48f18d,_0x5ebe96[_0x16b425+0x2]=_0xfccd49,_0x5ebe96[_0x16b425+0x3]=_0x352565;},'keySize':0x100/0x20});_0x25a314[_0x6a4b58(0x4af)]=_0x2c5695[_0x6a4b58(0x2c6)](_0x1c9ef2);}()),_0x1bdbf9[_0x322501(0x4af)];}));}(ut)),ut['exports'];}var dc=uc();const fc=at(dc);var vc=ir();const pi=at(vc);var It={'exports':{}},pc=It['exports'],mi;function mc(){const _0x2efc9f=_0x59f468;return mi||(mi=0x1,function(_0x1f2836,_0x36b995){(function(_0x3523e0,_0x239004){const _0x538512=_0x2eda;_0x1f2836[_0x538512(0x3b4)]=_0x239004(_e());}(pc,function(_0x3f1b78){const _0x413cd3=_0x2eda;return _0x3f1b78[_0x413cd3(0x48f)][_0x413cd3(0x42d)];}));}(It)),It[_0x2efc9f(0x3b4)];}var gc=mc();const Sc=at(gc);var Ct={'exports':{}},Ic=Ct[_0x59f468(0x3b4)],gi;function Cc(){const _0x2b3570=_0x59f468;return gi||(gi=0x1,function(_0x58d755,_0x556429){(function(_0x5a36e3,_0x129051){_0x58d755['exports']=_0x129051(_e());}(Ic,function(_0x2cb480){const _0x19760c=_0x2eda;return(function(){const _0x2149bb=_0x2eda;if(typeof ArrayBuffer==_0x2149bb(0x51c)){var _0x4238f4=_0x2cb480,_0x3345c4=_0x4238f4[_0x2149bb(0x4bd)],_0x57166b=_0x3345c4[_0x2149bb(0x20f)],_0x3fce16=_0x57166b['init'],_0x2e68f7=_0x57166b[_0x2149bb(0x43e)]=function(_0x94c1be){const _0xe975cf=_0x2149bb;if(_0x94c1be instanceof ArrayBuffer&&(_0x94c1be=new Uint8Array(_0x94c1be)),(_0x94c1be instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x94c1be instanceof Uint8ClampedArray||_0x94c1be instanceof Int16Array||_0x94c1be instanceof Uint16Array||_0x94c1be instanceof Int32Array||_0x94c1be instanceof Uint32Array||_0x94c1be instanceof Float32Array||_0x94c1be instanceof Float64Array)&&(_0x94c1be=new Uint8Array(_0x94c1be['buffer'],_0x94c1be[_0xe975cf(0x371)],_0x94c1be[_0xe975cf(0x566)])),_0x94c1be instanceof Uint8Array){for(var _0x1a981f=_0x94c1be[_0xe975cf(0x566)],_0x3d05aa=[],_0x383456=0x0;_0x383456<_0x1a981f;_0x383456++)_0x3d05aa[_0x383456>>>0x2]|=_0x94c1be[_0x383456]<<0x18-_0x383456%0x4*0x8;_0x3fce16[_0xe975cf(0x3e3)](this,_0x3d05aa,_0x1a981f);}else _0x3fce16['apply'](this,arguments);};_0x2e68f7[_0x2149bb(0x1d3)]=_0x57166b;}}()),_0x2cb480[_0x19760c(0x4bd)]['WordArray'];}));}(Ct)),Ct[_0x2b3570(0x3b4)];}var Ec=Cc();const bc=at(Ec);var Et={'exports':{}},Tc=Et[_0x59f468(0x3b4)],Si;function Rc(){return Si||(Si=0x1,function(_0x5a747f,_0x2b9c1f){(function(_0x13ee73,_0x10df32,_0x5cd6d1){_0x5a747f['exports']=_0x10df32(_e(),nr());}(Tc,function(_0x555881){const _0x4743fb=_0x2eda;return _0x555881['pad'][_0x4743fb(0x515)]={'pad':function(){},'unpad':function(){}},_0x555881[_0x4743fb(0x429)][_0x4743fb(0x515)];}));}(Et)),Et['exports'];}var Oc=Rc();const yc=at(Oc);function wc(_0x1ba7ed,_0x38ebfd){const _0xa12dee=_0x59f468,_0x866da9=_0x38ebfd-_0x1ba7ed[_0xa12dee(0x21a)]%_0x38ebfd,_0x534fb6=String[_0xa12dee(0x52b)](_0x866da9)[_0xa12dee(0x247)](_0x866da9);return _0x1ba7ed+_0x534fb6;}function Dc(_0x1eb741,_0x4cc683){const _0x403a0c=_0x59f468,_0x23acf4=bc[_0x403a0c(0x585)](0x10),_0x54db07=wc(_0x1eb741,0x10),_0x3bda6c=fc[_0x403a0c(0x203)](Sc[_0x403a0c(0x2e1)](_0x54db07),pi[_0x403a0c(0x2e1)](_0x4cc683),{'iv':_0x23acf4,'padding':yc});return _0x23acf4['concat'](_0x3bda6c['ciphertext'])[_0x403a0c(0x4a1)](pi);}function Pc(){const _0x156668=_0x59f468,_0x946a89=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x156668(0x2e0)];if(_0x946a89){const _0x2d35c9={'time':Math['floor'](Date['now']()/0x3e8),'domain':location['hostname']};return Dc(JSON[_0x156668(0x3fc)](_0x2d35c9),_0x946a89);}}var Uc=Object[_0x59f468(0x29a)],Nc=Object['getOwnPropertyDescriptor'],Ac=(_0x48b6a1,_0x25cca7,_0x2ddf79,_0x2f6f66)=>{const _0x4efcb3=_0x59f468;for(var _0x141ae1=_0x2f6f66>0x1?void 0x0:_0x2f6f66?Nc(_0x25cca7,_0x2ddf79):_0x25cca7,_0x28f066=_0x48b6a1[_0x4efcb3(0x21a)]-0x1,_0x2f2963;_0x28f066>=0x0;_0x28f066--)(_0x2f2963=_0x48b6a1[_0x28f066])&&(_0x141ae1=(_0x2f6f66?_0x2f2963(_0x25cca7,_0x2ddf79,_0x141ae1):_0x2f2963(_0x141ae1))||_0x141ae1);return _0x2f6f66&&_0x141ae1&&Uc(_0x25cca7,_0x2ddf79,_0x141ae1),_0x141ae1;},Mc=(_0x32254e,_0x5465df)=>(_0x2f14db,_0x2016f2)=>_0x5465df(_0x2f14db,_0x2016f2,_0x32254e);let Lt=class{constructor(_0x5b06db){const _0x595932=_0x59f468;this[_0x595932(0x2e7)]=_0x5b06db,this[_0x595932(0x2bd)]();}['_initRequestHeader'](){const _0x535a66=_0x59f468;this['_httpService'][_0x535a66(0x442)]({'interceptor':(_0x3b66f9,_0xb6fb72)=>{const _0x2debed=_0x535a66,_0x26de44=_0x3b66f9['headers'],_0x4537e1=Pc();return _0x4537e1&&_0x26de44[_0x2debed(0x279)]('x-univer-host',_0x4537e1),_0xb6fb72(_0x3b66f9);}});}};Lt=Ac([Mc(0x0,_0x222038(_0x216536))],Lt);var xc=Object[_0x59f468(0x29a)],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x4db7ab,_0x1a549a,_0x1026b3,_0x50ef03)=>{for(var _0x2d4fcd=_0x50ef03>0x1?void 0x0:_0x50ef03?Lc(_0x1a549a,_0x1026b3):_0x1a549a,_0x20088c=_0x4db7ab['length']-0x1,_0x6c8287;_0x20088c>=0x0;_0x20088c--)(_0x6c8287=_0x4db7ab[_0x20088c])&&(_0x2d4fcd=(_0x50ef03?_0x6c8287(_0x1a549a,_0x1026b3,_0x2d4fcd):_0x6c8287(_0x2d4fcd))||_0x2d4fcd);return _0x50ef03&&_0x2d4fcd&&xc(_0x1a549a,_0x1026b3,_0x2d4fcd),_0x2d4fcd;},is=(_0x23eb83,_0x5102db)=>(_0x3a2a9b,_0x1e19de)=>_0x5102db(_0x3a2a9b,_0x1e19de,_0x23eb83);const Hc=[_0x59f468(0x267),'image/jpeg',_0x59f468(0x524),_0x59f468(0x30a),'image/bmp'],jc=0x5*0x400*0x400,Bc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',kc=_0x59f468(0x3df),Wc=_0x59f468(0x57f),Fc=_0x59f468(0x2fd);let ps=class{constructor(_0xa8205b,_0xb33a94,_0x29d6d1){const _0x4f93d1=_0x59f468;g(this,'_waitCount',0x0),g(this,_0x4f93d1(0x244),new _0xd6475b()),g(this,_0x4f93d1(0x22d),this['_change$']),g(this,'_imageSourceCache',new Map()),(this['_httpService']=_0xa8205b,this[_0x4f93d1(0x58b)]=_0xb33a94,this[_0x4f93d1(0x525)]=_0x29d6d1);}[_0x59f468(0x1cd)](_0x1ce532){const _0x12d038=_0x59f468;this[_0x12d038(0x1e2)]=_0x1ce532,this['_change$'][_0x12d038(0x307)](_0x1ce532);}[_0x59f468(0x36e)](_0x559cc2,_0x4e252b){const _0x3a77ec=_0x59f468;if(_0x4e252b===_0x35508e[_0x3a77ec(0x562)]){const _0x4f6252=new Image();return _0x4f6252[_0x3a77ec(0x35a)]=_0x559cc2,_0x4f6252;}return this[_0x3a77ec(0x4bf)][_0x3a77ec(0x25d)](_0x559cc2);}[_0x59f468(0x237)](_0x3cf42f,_0xc2ad33,_0x5d0b56){const _0x513f90=_0x59f468;_0xc2ad33===_0x35508e[_0x513f90(0x562)]||_0x5d0b56==null||this[_0x513f90(0x4bf)][_0x513f90(0x279)](_0x3cf42f,_0x5d0b56);}async['getImage'](_0x11e21d){const _0x3be694=_0x59f468;try{const _0x5cf60d=this[_0x3be694(0x38a)](this[_0x3be694(0x359)](),''+_0x11e21d),_0x4b0f3a=(await this[_0x3be694(0x2e7)][_0x3be694(0x25d)](_0x5cf60d))['body'];if(_0x4b0f3a[_0x3be694(0x1ec)]&&_0x4b0f3a[_0x3be694(0x1ec)][_0x3be694(0x2b1)]===Wi['OK']){const _0x485d94=new URL(_0x4b0f3a[_0x3be694(0x2cb)],this[_0x3be694(0x2a4)]())[_0x3be694(0x4a1)]();return Promise[_0x3be694(0x3d5)](_0x485d94);}return Promise['reject'](_0x4b0f3a[_0x3be694(0x1ec)]);}catch(_0x366eb8){return Promise[_0x3be694(0x4f5)](_0x366eb8);}}async[_0x59f468(0x2b3)](_0xf4eb33){const _0x5eb59e=_0x59f468;let _0x59abb9='';if(!Hc[_0x5eb59e(0x2f8)](_0xf4eb33[_0x5eb59e(0x2b2)]))return this[_0x5eb59e(0x2d5)](),Promise[_0x5eb59e(0x4f5)](new Error(_0x38d426[_0x5eb59e(0x26e)]));if(_0xf4eb33[_0x5eb59e(0x49b)]>jc)return this[_0x5eb59e(0x2d5)](),Promise[_0x5eb59e(0x4f5)](new Error(_0x38d426[_0x5eb59e(0x295)]));try{const _0x40d9a4=new FormData();_0x40d9a4[_0x5eb59e(0x3d9)](_0x5eb59e(0x3bd),_0xf4eb33);const _0x42e917=this[_0x5eb59e(0x525)][_0x5eb59e(0x370)](),_0x5944cd=_0x42e917==null?void 0x0:_0x42e917[_0x5eb59e(0x25c)]();if(!_0x5944cd)throw new Error(_0x5eb59e(0x538));const _0x391f6d=this[_0x5eb59e(0x1e4)]()+'?size='+_0xf4eb33['size'][_0x5eb59e(0x4a1)]()+_0x5eb59e(0x1d2)+Fi[_0x5eb59e(0x508)]+'&assign='+encodeURIComponent(_0x5944cd),_0x2cf97e=await(await fetch(_0x391f6d,{'method':'POST','body':_0x40d9a4}))[_0x5eb59e(0x294)]();if(typeof _0x2cf97e[_0x5eb59e(0x52c)]!=_0x5eb59e(0x2fb))return this[_0x5eb59e(0x2d5)](),Promise['reject'](new Error(_0x38d426[_0x5eb59e(0x1ed)]));_0x59abb9=_0x2cf97e[_0x5eb59e(0x52c)];}catch{return this[_0x5eb59e(0x2d5)](),Promise['reject'](new Error(_0x38d426[_0x5eb59e(0x1ed)]));}return new Promise((_0x31f3d2,_0x1d7023)=>{const _0x36f472=_0x5eb59e,_0x15d011=new FileReader();_0x15d011[_0x36f472(0x234)](_0xf4eb33),_0x15d011[_0x36f472(0x1e5)]=_0x411887=>{const _0x52e713=_0x36f472;var _0x2df928;const _0xedffc6=(_0x2df928=_0x411887[_0x52e713(0x305)])==null?void 0x0:_0x2df928['result'];if(_0xedffc6==null){this[_0x52e713(0x2d5)](),_0x1d7023(new Error(_0x38d426[_0x52e713(0x1ed)]));return;}const _0x350052=_0x218f61[_0x52e713(0x278)](0x6);_0x31f3d2({'imageId':_0x350052,'imageSourceType':_0x35508e[_0x52e713(0x306)],'source':_0x59abb9,'base64Cache':_0xedffc6,'status':_0x38d426[_0x52e713(0x2fa)]}),this[_0x52e713(0x2d5)]();};});}[_0x59f468(0x1e4)](){const _0x4e32f5=_0x59f468;var _0xd1b3c,_0x21dad1;const _0x5ec708=this[_0x4e32f5(0x58b)][_0x4e32f5(0x55d)](Bc),_0x221f00=this[_0x4e32f5(0x58b)][_0x4e32f5(0x55d)](Q);return(_0x21dad1=(_0xd1b3c=_0x221f00==null?void 0x0:_0x221f00[_0x4e32f5(0x23d)])!=null?_0xd1b3c:_0x5ec708)!=null?_0x21dad1:kc;}[_0x59f468(0x359)](){const _0x14795e=_0x59f468;var _0x155a59,_0x5400ac;const _0x1e306b=this[_0x14795e(0x58b)]['getConfig'](Wc),_0xa14724=this[_0x14795e(0x58b)][_0x14795e(0x55d)](Q);return(_0x5400ac=(_0x155a59=_0xa14724==null?void 0x0:_0xa14724[_0x14795e(0x231)])!=null?_0x155a59:_0x1e306b)!=null?_0x5400ac:Fc;}[_0x59f468(0x2a4)](){const _0x5a017b=_0x59f468;var _0x5b3032;const _0x301bc3=this[_0x5a017b(0x58b)]['getConfig'](Q);return(_0x5b3032=_0x301bc3==null?void 0x0:_0x301bc3['downloadEndpointUrl'])!=null?_0x5b3032:location[_0x5a017b(0x4d7)];}[_0x59f468(0x38a)](_0xe73684,_0x663c4a){const _0xae4380=_0x59f468;return _0xe73684['replace'](_0xae4380(0x3be),_0x663c4a);}[_0x59f468(0x2d5)](){const _0x386cc1=_0x59f468;this[_0x386cc1(0x1e2)]-=0x1,this[_0x386cc1(0x244)][_0x386cc1(0x307)](this[_0x386cc1(0x1e2)]);}};ps=$c([is(0x0,_0x222038(_0x216536)),is(0x1,_0x486aed),is(0x2,_0x222038(_0xd7de45))],ps);var Vc=Object[_0x59f468(0x29a)],Gc=Object[_0x59f468(0x368)],Yc=(_0x331e14,_0x101247,_0x5168f8,_0x35dfb0)=>{const _0xbb74e8=_0x59f468;for(var _0x47ea86=_0x35dfb0>0x1?void 0x0:_0x35dfb0?Gc(_0x101247,_0x5168f8):_0x101247,_0x53565d=_0x331e14[_0xbb74e8(0x21a)]-0x1,_0x1a8038;_0x53565d>=0x0;_0x53565d--)(_0x1a8038=_0x331e14[_0x53565d])&&(_0x47ea86=(_0x35dfb0?_0x1a8038(_0x101247,_0x5168f8,_0x47ea86):_0x1a8038(_0x47ea86))||_0x47ea86);return _0x35dfb0&&_0x47ea86&&Vc(_0x101247,_0x5168f8,_0x47ea86),_0x47ea86;},Ii=(_0x7d7cbd,_0x3f730f)=>(_0x2b6a8f,_0x1f48e4)=>_0x3f730f(_0x2b6a8f,_0x1f48e4,_0x7d7cbd);const Kc=_0x59f468(0x40d);let ms=class{constructor(_0x359505,_0x5f5326){const _0x3bc821=_0x59f468;this['_configService']=_0x359505,this[_0x3bc821(0x3f8)]=_0x5f5326;}[_0x59f468(0x2e4)](){const _0x468607=_0x59f468;var _0x328f2c,_0xa8d0d0;const _0x19b732=this['_configService'][_0x468607(0x55d)](sr),_0x347645=this[_0x468607(0x58b)][_0x468607(0x55d)](Q);return(_0xa8d0d0=(_0x328f2c=_0x347645==null?void 0x0:_0x347645[_0x468607(0x204)])!=null?_0x328f2c:_0x19b732)!=null?_0xa8d0d0:Kc;}async[_0x59f468(0x4c5)](_0x1b7c6b){const _0x14f8f3=_0x59f468,_0x14553a=this[_0x14f8f3(0x2e4)]()+_0x14f8f3(0x46e);return{'list':[{'title':_0x14f8f3(0x3db),'mentions':(await this['_HTTPService'][_0x14f8f3(0x25d)](_0x14553a,{'params':{'objectID':_0x1b7c6b[_0x14f8f3(0x51a)],'unitID':_0x1b7c6b[_0x14f8f3(0x51a)]}}))['body'][_0x14f8f3(0x254)][_0x14f8f3(0x36d)](_0xb25302=>({'objectId':_0xb25302['id'],'name':_0xb25302[_0x14f8f3(0x317)]['name'],'metadata':{'icon':_0xb25302[_0x14f8f3(0x317)]['avatar']},'label':_0xb25302[_0x14f8f3(0x317)][_0x14f8f3(0x48c)],'objectType':_0xf50cab[_0x14f8f3(0x1d7)]})),'metadata':{},'type':_0xf50cab['PERSON']}]};}};ms=Yc([Ii(0x0,_0x222038(_0x486aed)),Ii(0x1,_0x222038(_0x216536))],ms);var qc=Object[_0x59f468(0x29a)],zc=Object[_0x59f468(0x368)],Xc=(_0x49d232,_0x120339,_0x5cf560,_0x3a0bfa)=>{const _0x120e71=_0x59f468;for(var _0x3a1ab2=_0x3a0bfa>0x1?void 0x0:_0x3a0bfa?zc(_0x120339,_0x5cf560):_0x120339,_0x4ef3f0=_0x49d232[_0x120e71(0x21a)]-0x1,_0x49c09d;_0x4ef3f0>=0x0;_0x4ef3f0--)(_0x49c09d=_0x49d232[_0x4ef3f0])&&(_0x3a1ab2=(_0x3a0bfa?_0x49c09d(_0x120339,_0x5cf560,_0x3a1ab2):_0x49c09d(_0x3a1ab2))||_0x3a1ab2);return _0x3a0bfa&&_0x3a1ab2&&qc(_0x120339,_0x5cf560,_0x3a1ab2),_0x3a1ab2;},Qe=(_0x1dc94a,_0x186d26)=>(_0x2df58c,_0x450808)=>_0x186d26(_0x2df58c,_0x450808,_0x1dc94a);let $t=class extends _0x2c59cd{constructor(_0x554c80,_0x4b9f4f,_0x256451,_0x45babc,_0x567b43){const _0x792d76=_0x59f468;super(),this[_0x792d76(0x351)]=_0x554c80,this[_0x792d76(0x525)]=_0x4b9f4f,this[_0x792d76(0x335)]=_0x256451,this[_0x792d76(0x463)]=_0x45babc,this[_0x792d76(0x58c)]=_0x567b43,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x59f468(0x29c)](){const _0x459797=_0x59f468,_0xc1e2d7=async _0x1614e5=>{const _0x2cbffb=_0x2eda;(await this[_0x2cbffb(0x463)][_0x2cbffb(0x55c)](_0x1614e5))['event$'][_0x2cbffb(0x318)](_0x3c73ca(_0x29a1c5=>_0x29a1c5['eventID']===_0x8a32d4[_0x2cbffb(0x518)]),_0x1eb937(this[_0x2cbffb(0x2c5)]))[_0x2cbffb(0x347)](_0x3b355c=>{const _0x2be811=_0x2cbffb,_0x28079b=_0x3b355c,{reason:_0x369745}=_0x28079b[_0x2be811(0x233)];this[_0x2be811(0x351)][_0x2be811(0x25d)](_0x3bbf26)[_0x2be811(0x31c)]({'type':_0x47f0e7[_0x2be811(0x2a8)],'content':this[_0x2be811(0x58c)]['t'](_0x2be811(0x45d))+'('+_0x369745+')'}),this[_0x2be811(0x335)]['updatePermissionPoint'](new _0x4ef6a0(_0x1614e5)['id'],!0x1),this['_collaborationSessionService'][_0x2be811(0x514)](_0x1614e5);});};_0x5becde(this[_0x459797(0x525)][_0x459797(0x242)](_0x52550e[_0x459797(0x2b0)]),this[_0x459797(0x525)]['getTypeOfUnitAdded$'](_0x52550e[_0x459797(0x4f9)]))['pipe'](_0x3968e0(_0x5e94cc=>_0x5e94cc[_0x459797(0x25c)]()),_0x3c73ca(_0x2bde4=>!_0x1db883(_0x2bde4)),_0x1eb937(this[_0x459797(0x2c5)]))[_0x459797(0x347)](_0x3789af=>{_0xc1e2d7(_0x3789af);});}[_0x59f468(0x3a6)](){const _0x498972=_0x59f468,_0xa2a0c1=async _0x1b7a4d=>{const _0x4e939c=_0x2eda;(await this[_0x4e939c(0x463)][_0x4e939c(0x55c)](_0x1b7a4d))[_0x4e939c(0x529)][_0x4e939c(0x318)](_0x3c73ca(_0x4a0d00=>_0x4a0d00[_0x4e939c(0x1b1)]===_0x8a32d4[_0x4e939c(0x2e3)]),_0x1eb937(this['dispose$']))['subscribe'](_0x50fb15=>{const _0xba26e0=_0x4e939c,_0x19123f=_0x50fb15,{objectId:_0x9b693d}=_0x19123f[_0xba26e0(0x233)],_0x3e84bb=this['_injector']['get'](_0x548674);_0x9b693d===_0x1b7a4d?_0x3e84bb[_0xba26e0(0x362)](_0x1b7a4d):_0x3e84bb[_0xba26e0(0x33b)](_0x1b7a4d,_0x9b693d);});};_0x5becde(this[_0x498972(0x525)][_0x498972(0x242)](_0x52550e[_0x498972(0x2b0)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x52550e[_0x498972(0x4f9)]))[_0x498972(0x318)](_0x3968e0(_0x1c9f5f=>_0x1c9f5f[_0x498972(0x25c)]()),_0x3c73ca(_0x3baa18=>!_0x1db883(_0x3baa18)),_0x1eb937(this[_0x498972(0x2c5)]))[_0x498972(0x347)](_0x38fc3b=>{_0xa2a0c1(_0x38fc3b);});}};$t=Xc([Qe(0x0,_0x222038(_0x2e1c56)),Qe(0x1,_0xd7de45),Qe(0x2,_0x593390),Qe(0x3,_0x222038(Me)),Qe(0x4,_0x222038(_0x52880d))],$t);var Jc=Object['defineProperty'],Zc=Object[_0x59f468(0x368)],Qc=(_0x24616d,_0x5b4607,_0x614ba0,_0x1686e1)=>{for(var _0x53f12c=_0x1686e1>0x1?void 0x0:_0x1686e1?Zc(_0x5b4607,_0x614ba0):_0x5b4607,_0x4a3d10=_0x24616d['length']-0x1,_0x30f6bb;_0x4a3d10>=0x0;_0x4a3d10--)(_0x30f6bb=_0x24616d[_0x4a3d10])&&(_0x53f12c=(_0x1686e1?_0x30f6bb(_0x5b4607,_0x614ba0,_0x53f12c):_0x30f6bb(_0x53f12c))||_0x53f12c);return _0x1686e1&&_0x53f12c&&Jc(_0x5b4607,_0x614ba0,_0x53f12c),_0x53f12c;},Ci=(_0x38c0ae,_0xe07ae1)=>(_0x598a47,_0x81cdde)=>_0xe07ae1(_0x598a47,_0x81cdde,_0x38c0ae);let gs=class{constructor(_0x2dba44,_0x2d0b18){const _0x5adc1c=_0x59f468;this[_0x5adc1c(0x58b)]=_0x2dba44,this[_0x5adc1c(0x2e7)]=_0x2d0b18;}async['getUnitOnRev'](_0x4db05a,_0x24e12b){const _0x16bdbe=_0x59f468;var _0x44ad27;const {unitID:_0x40a9aa,type:_0x100072,revision:_0xad6f30=0x0}=_0x24e12b,_0x5600ea=this['_getSnapshotAPIPrefix']()+'/'+_0x100072+_0x16bdbe(0x20c)+_0x40a9aa+'/rev/'+_0xad6f30,_0x525596=(await this[_0x16bdbe(0x2e7)][_0x16bdbe(0x25d)](_0x5600ea))[_0x16bdbe(0x444)],_0x520bbc=(_0x44ad27=_0x525596['snapshot'])==null?void 0x0:_0x44ad27[_0x16bdbe(0x53d)];if(_0x520bbc){const _0x225d31=_0x520bbc==null?void 0x0:_0x520bbc['originalMeta'],_0x36ab34=_0x4e5a09[_0x16bdbe(0x519)](_0x1a2e07(_0x225d31));_0x520bbc['originalMeta']=_0x36ab34,Object[_0x16bdbe(0x2f2)](_0x520bbc[_0x16bdbe(0x324)])[_0x16bdbe(0x3b0)](([,_0x20e92f])=>{const _0x3a2968=_0x16bdbe,_0x356656=_0x20e92f[_0x3a2968(0x493)],_0x430e01=_0x4e5a09[_0x3a2968(0x519)](_0x1a2e07(_0x356656));_0x20e92f[_0x3a2968(0x493)]=_0x430e01;});}return _0x525596;}async[_0x59f468(0x3bc)](_0x138849,_0x10545f){const _0x1c4a93=_0x59f468,{unitID:_0xaf9bb6,type:_0x46064b,blockID:_0x7e2aba}=_0x10545f,_0x258127=this[_0x1c4a93(0x57a)]()+'/'+_0x46064b+_0x1c4a93(0x20c)+_0xaf9bb6+_0x1c4a93(0x223)+_0x7e2aba;return(await this[_0x1c4a93(0x2e7)]['get'](_0x258127))[_0x1c4a93(0x444)];}async[_0x59f468(0x2c4)](_0x32eef2,_0x9651d0){const _0x39690f=_0x59f468,{unitID:_0x352302,type:_0x4d3a17,blockID:_0x3dc965}=_0x9651d0,_0x2f2cb4=this[_0x39690f(0x57a)]()+_0x39690f(0x223)+_0x4d3a17+_0x39690f(0x20c)+_0x352302+'/block/'+_0x3dc965;return(await this[_0x39690f(0x2e7)][_0x39690f(0x25d)](_0x2f2cb4))[_0x39690f(0x444)];}async[_0x59f468(0x1b0)](_0x9c89e6,_0x4c797d){const _0x2b0c33=_0x59f468,{unitID:_0x478f1d,type:_0x2c88a4,from:_0x5ede18,to:_0x59efb3}=_0x4c797d,_0x41f98e=this[_0x2b0c33(0x57a)]()+'/'+_0x2c88a4+'/unit/'+_0x478f1d+'/fetchmissing?from='+_0x5ede18+'&to='+_0x59efb3;return(await this[_0x2b0c33(0x2e7)]['get'](_0x41f98e))[_0x2b0c33(0x444)];}['_getSnapshotAPIPrefix'](){const _0x52a60a=_0x59f468;var _0x575e00;return(_0x575e00=this[_0x52a60a(0x58b)][_0x52a60a(0x55d)](bn))!=null?_0x575e00:this[_0x52a60a(0x57a)]();}[_0x59f468(0x57a)](){const _0x1ffe39=_0x59f468;var _0x31ae2d,_0x10f25a;const _0x14d1de=this['_configService'][_0x1ffe39(0x55d)](Cn),_0xad7c63=this[_0x1ffe39(0x58b)]['getConfig'](Q);return(_0x10f25a=(_0x31ae2d=_0xad7c63==null?void 0x0:_0xad7c63['snapshotServerUrl'])!=null?_0x31ae2d:_0x14d1de)!=null?_0x10f25a:En;}async[_0x59f468(0x471)](_0x20a655,_0x16d6b5){const _0x2b625e=_0x59f468,_0x12e49f=_0x2b625e(0x3b8)+_0x16d6b5['type']+_0x2b625e(0x20c)+_0x16d6b5[_0x2b625e(0x405)]+_0x2b625e(0x1b3);return(await this[_0x2b625e(0x2e7)][_0x2b625e(0x25d)](_0x12e49f,{'params':{'resourceId':JSON[_0x2b625e(0x3fc)](_0x16d6b5[_0x2b625e(0x39b)])}}))['body'];}[_0x59f468(0x260)](){const _0x3e1cca=_0x59f468;throw new Error(_0x3e1cca(0x2de));}[_0x59f468(0x399)](){const _0x495ca2=_0x59f468;throw new Error(_0x495ca2(0x2de));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){const _0x4bdaca=_0x59f468;throw new Error(_0x4bdaca(0x2de));}[_0x59f468(0x547)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};gs=Qc([Ci(0x0,_0x486aed),Ci(0x1,_0x222038(_0x216536))],gs);var eh=Object[_0x59f468(0x29a)],th=Object[_0x59f468(0x368)],sh=(_0x58c1a0,_0x35884d,_0x4f1602,_0x4da412)=>{const _0x457fcb=_0x59f468;for(var _0x359ddc=_0x4da412>0x1?void 0x0:_0x4da412?th(_0x35884d,_0x4f1602):_0x35884d,_0x423e33=_0x58c1a0[_0x457fcb(0x21a)]-0x1,_0x3b9ec6;_0x423e33>=0x0;_0x423e33--)(_0x3b9ec6=_0x58c1a0[_0x423e33])&&(_0x359ddc=(_0x4da412?_0x3b9ec6(_0x35884d,_0x4f1602,_0x359ddc):_0x3b9ec6(_0x359ddc))||_0x359ddc);return _0x4da412&&_0x359ddc&&eh(_0x35884d,_0x4f1602,_0x359ddc),_0x359ddc;},et=(_0x369449,_0x4852d7)=>(_0x3613f7,_0x358fd3)=>_0x4852d7(_0x3613f7,_0x358fd3,_0x369449);function _0x2eda(_0x4668f8,_0x15c4e7){const _0x23ae78=_0x23ae();return _0x2eda=function(_0x2edabb,_0x2436d8){_0x2edabb=_0x2edabb-0x197;let _0x5066d1=_0x23ae78[_0x2edabb];return _0x5066d1;},_0x2eda(_0x4668f8,_0x15c4e7);}let Ss=class extends _0x2432d3{constructor(_0x2b7d4d,_0x1707e7,_0x2ca9ef,_0x35c92d,_0xa1b1b0){const _0x586ab0=_0x59f468;super(_0x2b7d4d,_0x1707e7,_0x2ca9ef),this[_0x586ab0(0x24f)]=_0x35c92d,this[_0x586ab0(0x3b6)]=_0xa1b1b0;}['transformUndoRedo'](_0x1b58c4,_0x5d5311){const _0x3ef622=_0x59f468,_0x186f98=this[_0x3ef622(0x36c)](_0x1b58c4);if(_0x186f98)try{const _0x409539=this[_0x3ef622(0x3e6)](_0x186f98,_0x5d5311);this[_0x3ef622(0x41a)](_0x1b58c4,_0x409539);}catch(_0x2864e4){this[_0x3ef622(0x3b6)]['error']('[CollaborationUndoRedoService]',_0x2864e4),this[_0x3ef622(0x34e)](_0x1b58c4);}const _0x305712=this[_0x3ef622(0x3e1)](_0x1b58c4);if(_0x305712)try{const _0x42fbe1=this[_0x3ef622(0x3e6)](_0x305712,_0x5d5311);this[_0x3ef622(0x517)](_0x1b58c4,_0x42fbe1);}catch(_0x4231cb){this[_0x3ef622(0x3b6)]['error'](_0x4231cb),this[_0x3ef622(0x3cd)](_0x1b58c4);}}[_0x59f468(0x34e)](_0x273938){const _0x329f9a=_0x59f468,_0x272ea0=this[_0x329f9a(0x36c)](_0x273938);_0x272ea0&&(_0x272ea0['length']=0x0,this[_0x329f9a(0x3ad)]());}[_0x59f468(0x3cd)](_0x40e60c){const _0x40a10f=_0x59f468,_0x372de9=this[_0x40a10f(0x3e1)](_0x40e60c);_0x372de9&&(_0x372de9[_0x40a10f(0x21a)]=0x0,this[_0x40a10f(0x3ad)]());}[_0x59f468(0x41a)](_0x23f9e5,_0x1f9818){const _0x183256=_0x59f468;this[_0x183256(0x2f6)][_0x183256(0x279)](_0x23f9e5,_0x1f9818),this[_0x183256(0x3ad)]();}[_0x59f468(0x517)](_0x3a0bd5,_0x3f58c4){const _0x279107=_0x59f468;this['_redoStacks'][_0x279107(0x279)](_0x3a0bd5,_0x3f58c4),this[_0x279107(0x3ad)]();}['_transformStack'](_0x751f31,_0x3b1c70){const _0x6f28f0=_0x59f468,_0x150fe5=[];let _0x4a8870=_0x3b1c70,_0x22d461=_0x3b1c70;for(let _0x171ebd=_0x751f31['length']-0x1;_0x171ebd>=0x0;_0x171ebd--){const {unitID:_0x152011,undoMutations:_0x74765b,redoMutations:_0x4c161b}=_0x751f31[_0x171ebd],_0x4e5672=this['_transformService'][_0x6f28f0(0x3ce)](_0x4a8870,_0x74765b),_0x18309c=this[_0x6f28f0(0x24f)][_0x6f28f0(0x3ce)](_0x22d461,_0x4c161b);if(_0x571511(_0x4e5672)||_0x571511(_0x18309c)){this[_0x6f28f0(0x3b6)][_0x6f28f0(0x1ec)]('[CollaborationUndoRedoService]',_0x6f28f0(0x43a),_0x4e5672,_0x18309c);break;}_0x4a8870=_0x4e5672[_0x6f28f0(0x3da)],_0x22d461=_0x18309c[_0x6f28f0(0x3da)],_0x150fe5[_0x6f28f0(0x4cf)]({'unitID':_0x152011,'undoMutations':_0x4e5672['m2Prime'],'redoMutations':_0x18309c[_0x6f28f0(0x388)]});}return _0x150fe5[_0x6f28f0(0x51f)]();}};Ss=sh([et(0x0,_0xd7de45),et(0x1,_0x1e017f),et(0x2,_0xe6d98),et(0x3,_0x4cb437),et(0x4,_0x37805d)],Ss);class ih extends _0x2c59cd{constructor(){const _0x59a75e=_0x59f468;super(),g(this,_0x59a75e(0x50c)),this[_0x59a75e(0x50c)]=_0x92f771(window,_0x59a75e(0x4b4))[_0x59a75e(0x318)](_0x2eaf5f(this[_0x59a75e(0x2c5)]),_0x2ff007(0x1),_0x467ca9(void 0x0));}['setParam'](_0x4e7ca9,_0x44302e,_0x3b057a=!0x1){const _0x5ad8cb=_0x59f468,_0x2f918e=new URL(window['location'][_0x5ad8cb(0x2f0)]);_0x2f918e[_0x5ad8cb(0x4f2)][_0x5ad8cb(0x279)](_0x4e7ca9,_0x44302e),_0x3b057a?window[_0x5ad8cb(0x539)][_0x5ad8cb(0x4ba)]('','',_0x2f918e[_0x5ad8cb(0x4a1)]()):window[_0x5ad8cb(0x539)]['pushState']('','',_0x2f918e['toString']());}[_0x59f468(0x3eb)](_0x54a5db,_0x1f3269=!0x1){const _0x1aae4c=_0x59f468,_0x14bdc2=new URL(window[_0x1aae4c(0x30e)]['href']);_0x14bdc2[_0x1aae4c(0x4f2)][_0x1aae4c(0x29e)](_0x54a5db),_0x1f3269?window[_0x1aae4c(0x539)]['replaceState']('','',_0x14bdc2[_0x1aae4c(0x4a1)]()):window['history'][_0x1aae4c(0x506)]('','',_0x14bdc2[_0x1aae4c(0x4a1)]());}['getParam'](_0x13b498){const _0x16fd36=_0x59f468;var _0x11215f;return(_0x11215f=new URL(window[_0x16fd36(0x30e)][_0x16fd36(0x2f0)])['searchParams'][_0x16fd36(0x25d)](_0x13b498))!=null?_0x11215f:void 0x0;}}var or=Object[_0x59f468(0x29a)],rh=Object[_0x59f468(0x368)],nh=(_0x349c1f,_0x243087,_0x50da23)=>_0x243087 in _0x349c1f?or(_0x349c1f,_0x243087,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50da23}):_0x349c1f[_0x243087]=_0x50da23,oh=(_0x167055,_0x5b1276,_0x280fbf,_0x55261f)=>{const _0x5348bc=_0x59f468;for(var _0x219a42=_0x55261f>0x1?void 0x0:_0x55261f?rh(_0x5b1276,_0x280fbf):_0x5b1276,_0x3d3115=_0x167055[_0x5348bc(0x21a)]-0x1,_0x3e2c25;_0x3d3115>=0x0;_0x3d3115--)(_0x3e2c25=_0x167055[_0x3d3115])&&(_0x219a42=(_0x55261f?_0x3e2c25(_0x5b1276,_0x280fbf,_0x219a42):_0x3e2c25(_0x219a42))||_0x219a42);return _0x55261f&&_0x219a42&&or(_0x5b1276,_0x280fbf,_0x219a42),_0x219a42;},lt=(_0x47a1ce,_0x17fb30)=>(_0x4bea7b,_0x4be872)=>_0x17fb30(_0x4bea7b,_0x4be872,_0x47a1ce),ah=(_0x4410ec,_0x26cb20,_0x17f003)=>nh(_0x4410ec,_0x26cb20+'',_0x17f003);const ch=_0x59f468(0x44c);let Is=class extends _0x113ffe{constructor(_0x2e0ee1=jn,_0x59e19d,_0x416254,_0x111541,_0x424a7a){const _0x5d8b17=_0x59f468;super(),this[_0x5d8b17(0x522)]=_0x2e0ee1,this[_0x5d8b17(0x3b6)]=_0x59e19d,this[_0x5d8b17(0x342)]=_0x416254,this['_injector']=_0x111541,this[_0x5d8b17(0x58b)]=_0x424a7a;const {..._0x574e69}=this[_0x5d8b17(0x522)];this[_0x5d8b17(0x58b)][_0x5d8b17(0x481)](Q,_0x574e69);}['onStarting'](){const _0x26b565=_0x59f468;this[_0x26b565(0x1a6)](),this[_0x26b565(0x3fb)]();}[_0x59f468(0x23c)](){const _0x52bb9c=_0x59f468;_0x4c0f56(this[_0x52bb9c(0x351)],[[Mt],[Ut]]);}['onRendered'](){const _0x1b9a8=_0x59f468;this[_0x1b9a8(0x3b1)]();}[_0x59f468(0x1a6)](){const _0x30eeac=_0x59f468;var _0x33db8e,_0x2fb251,_0x13687d,_0x3fe09e;this[_0x30eeac(0x351)][_0x30eeac(0x309)](_0x2d2527)&&this[_0x30eeac(0x3b6)]['error'](_0x30eeac(0x239),_0x30eeac(0x526));const _0x122338=[[_0x2d2527,{'useClass':Ss}],[Me],[Us],[tr,{'useClass':ih}],[Ae],[z],[_0x5cdeee],[yt],[Dt],[Ot],[wt],[Ds],[xt],[Lt],[Gi],[$t],[Vi,{'useClass':(_0x2fb251=(_0x33db8e=this[_0x30eeac(0x522)])==null?void 0x0:_0x33db8e[_0x30eeac(0x374)])!=null?_0x2fb251:as}],[_0x24bd52,{'useClass':gs}],[_0x18f660,{'useClass':vs}],[_0x3c5ccf,{'useClass':ps}],[_0x454d7e,{'useClass':ms}],[it],[At],[Nt],[Mt],[Fe],[Ut]];(_0x13687d=this[_0x30eeac(0x522)])!=null&&_0x13687d[_0x30eeac(0x1cf)]&&_0x122338[_0x30eeac(0x4cf)]([Ht,{'useClass':Io}]),_0x33f43b(this[_0x30eeac(0x351)],_0x996ab4(_0x122338,(_0x3fe09e=this['_config'])==null?void 0x0:_0x3fe09e[_0x30eeac(0x3c8)]));}[_0x59f468(0x3b1)](){const _0xf38f8d=_0x59f468;this[_0xf38f8d(0x4e2)](this[_0xf38f8d(0x342)][_0xf38f8d(0x32f)](_0x52550e[_0xf38f8d(0x4f9)],[ds])),this['disposeWithMe'](this[_0xf38f8d(0x342)]['registerRenderModule'](_0x52550e[_0xf38f8d(0x2b0)],[fs]));}[_0x59f468(0x3fb)](){const _0x54771c=_0x59f468;var _0x38f133,_0x193a86;this['_injector']['get'](_0x216536)[_0x54771c(0x442)]({'priority':0x14,'interceptor':_0x5df05e({'maxParallel':0x6})}),(_0x38f133=this[_0x54771c(0x522)])!=null&&_0x38f133['enableOfflineEditing']||this['_injector']['get'](z)[_0x54771c(0x1a8)](),(_0x193a86=this['_config'])!=null&&_0x193a86[_0x54771c(0x35c)]&&_0x4c0f56(this[_0x54771c(0x351)],[[xt]]),_0x4c0f56(this[_0x54771c(0x351)],[[Lt],[Fe],[At],[it],[Nt],[$t]]);}};ah(Is,_0x59f468(0x394),ch),Is=oh([_0x9ba82c(_0x551335,_0x3b21ea),lt(0x1,_0x37805d),lt(0x2,_0x4e56e4),lt(0x3,_0x222038(_0x2e1c56)),lt(0x4,_0x486aed)],Is);export{sr as AUTHZ_URL_KEY,vs as AuthzIoHttpService,Q as COLLAB_CLIENT_CONFIG_KEY,xn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,Pt as CollaborationEntity,cs as CollaborationSession,Me as CollaborationSessionService,as as CollaborationSocketService,J as CollaborationStatus,Ma as CollaborationStatusDisplay,Gi as CommentService,At as DataLoaderController,Nt as DesktopCollaborationStatusDisplayController,hs as DocCollaborationEntity,wn as HEARTBEAT_INTERVAL_KEY,Bi as HEARTBEAT_TIMEOUT_KEY,Vi as ICollaborationSocketService,tr as IURLService,ps as ImageIoService,An as LOCAL_CACHE_INTERVAL_KEY,$n as LOGIN_URL_KEY,z as LocalCacheService,Ae as MemberService,ms as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,yh as SEND_CHANGESET_TIMEOUT_KEY,Cn as SNAPSHOT_SERVER_URL_KEY,bn as SNAPSHOT_URL_KEY,fe as SessionStatus,da as SheetCollabCursorShape,ls as SheetCollaborationEntity,gs as SnapshotServerOverHTTPService,Is as UniverCollaborationClientPlugin,ih as WebURLService,Bn as deserializeToCombResponse,kn as serializeCombRequest};
1
+ const _0x421733=_0x9980;(function(_0x42bf68,_0xa5cda8){const _0x21327a=_0x9980,_0x2356b7=_0x42bf68();while(!![]){try{const _0x344932=parseInt(_0x21327a(0x511))/0x1*(-parseInt(_0x21327a(0x1e8))/0x2)+parseInt(_0x21327a(0x1e4))/0x3*(-parseInt(_0x21327a(0x390))/0x4)+-parseInt(_0x21327a(0x2d4))/0x5*(parseInt(_0x21327a(0x242))/0x6)+parseInt(_0x21327a(0x1bf))/0x7+parseInt(_0x21327a(0x3fb))/0x8*(parseInt(_0x21327a(0x498))/0x9)+parseInt(_0x21327a(0x2d3))/0xa*(parseInt(_0x21327a(0x374))/0xb)+parseInt(_0x21327a(0x24f))/0xc;if(_0x344932===_0xa5cda8)break;else _0x2356b7['push'](_0x2356b7['shift']());}catch(_0x519c85){_0x2356b7['push'](_0x2356b7['shift']());}}}(_0x5bba,0xc50d6));var ar=Object[_0x421733(0x1c6)],cr=(_0x5db177,_0x3fb086,_0x2b91d7)=>_0x3fb086 in _0x5db177?ar(_0x5db177,_0x3fb086,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b91d7}):_0x5db177[_0x3fb086]=_0x2b91d7,g=(_0x35e810,_0x558325,_0x12303c)=>cr(_0x35e810,typeof _0x558325!=_0x421733(0x342)?_0x558325+'':_0x558325,_0x12303c);import{createIdentifier as _0x5c8406,Inject as _0x231990,Disposable as _0x36e463,DisposableCollection as _0xad70f7,toDisposable as _0xb887b1,IConfigService as _0x2cfa70,ILogService as _0x257353,UserManagerService as _0x3b0e15,UniverInstanceType as _0x24d9a0,IUniverInstanceService as _0x186a82,LocaleService as _0x3097b7,Optional as _0x1f1bd9,RxDisposable as _0x33a3aa,Injector as _0x1d3c8c,Tools as _0x4705c7,ILocalStorageService as _0x3ff966,Rectangle as _0x1f3690,ICommandService as _0x5af619,DOC_RANGE_TYPE as _0x24d6fa,JSONX as _0x172e20,CommandType as _0x330e8b,IPermissionService as _0x286710,IUndoRedoService as _0x306efe,sequenceExecute as _0x169100,debounce as _0x4ce71a,COLORS as _0x5e0a26,ColorKit as _0x247bdf,ThemeService as _0x269b73,fromEventSubject as _0x46ebc0,useDependency as _0x3f9ba4,connectInjector as _0x2453df,Workbook as _0xb8558d,MentionType as _0x1c7d10,isInternalEditorID as _0x3014e6,LocalUndoRedoService as _0x4d7d9b,IContextService as _0x5acaaa,DependentOn as _0x4cb61a,Plugin as _0x2887ef,touchDependencies as _0x52d868,IAuthzIoService as _0x469926,IMentionIOService as _0x215c5d,registerDependencies as _0x42bfca,mergeOverrideWithDependencies as _0x59e272}from'@univerjs/core';import{Subject as _0x28e091,merge as _0x3f6cf6,takeUntil as _0x2c50c2,BehaviorSubject as _0x461b47,distinctUntilChanged as _0x42bb6b,fromEvent as _0x2e9bd0,ReplaySubject as _0x16723c,take as _0x329c5b,map as _0x5d768e,shareReplay as _0x2d3cb2,of as _0x25af31,debounceTime as _0x21c89c,filter as _0x5a99f6,switchMap as _0x48c325,combineLatest as _0x2566e5,concatMap as _0x3b64f1,mapTo as _0x188d89}from'rxjs';import{map as _0x1a5739,take as _0x19c3b1,filter as _0x1de59c,delay as _0x4c4c05,throttleTime as _0x33228d,takeUntil as _0x5844ee,switchMap as _0x4fefe2}from'rxjs/operators';import{MessageType as _0x1a283f,Tooltip as _0x28113e}from'@univerjs/design';import{HTTPService as _0xee3f76,WebSocketService as _0x1034eb,MergeInterceptorFactory as _0x18dc5a,HTTPRequest as _0x30ed57,UniverNetworkPlugin as _0xbcad3e,ThresholdInterceptorFactory as _0x2fa129}from'@univerjs/network';import{IBeforeCloseService as _0x59d4b7,IMessageService as _0x2cbd8b,INotificationService as _0x4d2a13,useObservable as _0x1432a7,BuiltInUIPart as _0x15ddf6,IUIPartsService as _0x39547f}from'@univerjs/ui';import{CollaborationEvent as _0xdb349a,parseChangesetToProtocol as _0x4c1df4,ISnapshotServerService as _0x48d837,isTransformMutationFailure as _0x2f8c79,isTransformMutationsWithChangesetSuccess as _0x3755b3,ITransformService as _0x2b2256,RevisionService as _0x2467a7,mapDocumentTypeToUniverType as _0x556097,isTransformChangesetsSuccess as _0x4a826f,CompressMutationService as _0x60c9a0,parseProtocolChangeset as _0x424bf7,SnapshotService as _0x36030b,textEncoder as _0x41d831,b64DecodeUnicode as _0x170276,isTransformMutationsWithChangesetFailure as _0x524e13,UniverCollaborationPlugin as _0x2dc4f0}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x377f5b}from'@univerjs/telemetry';import{DocSelectionManagerService as _0x41a45f,RichTextEditingMutation as _0x21e608,SetTextSelectionsOperation as _0x412e6f,DocSkeletonManagerService as _0x201dae}from'@univerjs/docs';import{DocIMEInputManagerService as _0xbafc24,DocStateChangeManagerService as _0x283ec1,IDocClipboardService as _0x2be04a,NodePositionConvertToCursor as _0x36574c,NodePositionConvertToRectRange as _0x4d6d36,TEXT_RANGE_LAYER_INDEX as _0x30ad98,SetDocZoomRatioOperation as _0x59e544}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2ad53c,SetSelectionsOperation as _0x15ebeb,InsertSheetMutation as _0xbce329,EmptyMutation as _0x3cc519,WorkbookEditablePermission as _0x31b58a,RefRangeService as _0x14e37a,EffectRefRangId as _0x1b877c,handleIRemoveRow as _0xdd0575,handleIRemoveCol as _0x3571ea,handleMoveRange as _0x1686e7,handleInsertRow as _0x452c99,handleInsertRangeMoveRight as _0x30a3c5,handleInsertRangeMoveDown as _0xdcdacc,handleInsertCol as _0x44d185,handleDeleteRangeMoveUp as _0x2523aa,handleDeleteRangeMoveLeft as _0x31db42,runRefRangeMutations as _0x1a11fa,SetWorksheetActivateCommand as _0x3c9ec1}from'@univerjs/sheets';import{IRenderManagerService as _0x5d57fe,Shape as _0x4a6244,Rect as _0x59ff16,getColor as _0x576b6f,RegularPolygon as _0xaf8e19,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x39e288,Vector2 as _0x111247}from'@univerjs/engine-render';import{IImageIoService as _0x2982a0,ImageSourceType as _0x2b3ee0,ImageUploadStatusType as _0x25d6ba}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x4c7e86,serializeRangeWithSheet as _0x5a7c45}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x261438,VIEWPORT_KEY as _0x70e7a2,getCoordByCell as _0x41b457,getSheetObject as _0x44a079,SheetPermissionInitController as _0x4e29e3}from'@univerjs/sheets-ui';import _0x6cf57a,{forwardRef as _0x2943c5,useRef as _0x279a0a,createElement as _0x2914b2,useCallback as _0x14ebbf}from'react';import{IRemoteInstanceService as _0x25b005}from'@univerjs/rpc';const Cn=_0x421733(0x34f),En='/universer-api/snapshot',bn=_0x421733(0x515),yh=_0x421733(0x531),Tn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',On=_0x421733(0x4ca),yn='/universer-api/user/session-ticket',wn=_0x421733(0x468),Dn=0x7530,Bi=_0x421733(0x38e),ki=0x4e20,Pn=0x4e20,Un='RETRY_CONNECTING_MAX_COUNT',Nn=0x3,An=_0x421733(0x4a5),Mn=0x3e8,xn=_0x421733(0x447),Ln=_0x421733(0x34e),$n=_0x421733(0x4b9),Hn=_0x421733(0x297);var Wi=(_0x718983=>(_0x718983[_0x718983[_0x421733(0x4c3)]=0x0]=_0x421733(0x4c3),_0x718983[_0x718983['OK']=0x1]='OK',_0x718983[_0x718983[_0x421733(0x56c)]=0x2]=_0x421733(0x56c),_0x718983[_0x718983[_0x421733(0x2db)]=0x3]='PERMISSION_DENIED',_0x718983[_0x718983[_0x421733(0x373)]=0x4]=_0x421733(0x373),_0x718983[_0x718983['UNAUTHENTICATED']=0x5]=_0x421733(0x3cd),_0x718983[_0x718983['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x718983[_0x718983['INVALID_ARGUMENT']=0x7]=_0x421733(0x2f7),_0x718983[_0x718983[_0x421733(0x4bb)]=0x8]=_0x421733(0x4bb),_0x718983[_0x718983[_0x421733(0x17a)]=0x9]='COMPLETION_FINISHED',_0x718983[_0x718983[_0x421733(0x473)]=0x1389]=_0x421733(0x473),_0x718983[_0x718983[_0x421733(0x200)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x718983[_0x718983[_0x421733(0x46b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x718983[_0x718983[_0x421733(0x1f3)]=0x1773]=_0x421733(0x1f3),_0x718983[_0x718983[_0x421733(0x40c)]=0x1b59]=_0x421733(0x40c),_0x718983[_0x718983[_0x421733(0x37f)]=0x1b5a]=_0x421733(0x37f),_0x718983[_0x718983['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x421733(0x4e2),_0x718983[_0x718983[_0x421733(0x4c6)]=0x1b5c]=_0x421733(0x4c6),_0x718983[_0x718983[_0x421733(0x425)]=0x1b5d]='APPLY_DUPLICATED',_0x718983[_0x718983['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x421733(0x4b0),_0x718983[_0x718983[_0x421733(0x201)]=0x2329]=_0x421733(0x201),_0x718983[_0x718983[_0x421733(0x1de)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x718983[_0x718983['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x718983[_0x718983['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x421733(0x430),_0x718983[_0x718983['LICENSE_DISTRO_REJECTED']=0x232d]=_0x421733(0x35a),_0x718983[_0x718983[_0x421733(0x432)]=0x2711]=_0x421733(0x432),_0x718983[_0x718983['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x421733(0x288),_0x718983[_0x718983[_0x421733(0x35d)]=0x2713]=_0x421733(0x35d),_0x718983[_0x718983['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x421733(0x37e),_0x718983[_0x718983[_0x421733(0x32e)]=-0x1]=_0x421733(0x32e),_0x718983))(Wi||{}),ae=(_0x4fb73e=>(_0x4fb73e[_0x4fb73e[_0x421733(0x3f0)]=0x0]=_0x421733(0x3f0),_0x4fb73e[_0x4fb73e['UNIVER_DOC']=0x1]=_0x421733(0x42a),_0x4fb73e[_0x4fb73e[_0x421733(0x219)]=0x2]=_0x421733(0x219),_0x4fb73e[_0x4fb73e['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4fb73e[_0x4fb73e[_0x421733(0x323)]=0x4]='UNIVER_PROJECT',_0x4fb73e[_0x4fb73e['UNRECOGNIZED']=-0x1]=_0x421733(0x32e),_0x4fb73e))(ae||{}),W=(_0x5a7b98=>(_0x5a7b98[_0x5a7b98['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x5a7b98[_0x5a7b98[_0x421733(0x422)]=0x1]=_0x421733(0x422),_0x5a7b98[_0x5a7b98[_0x421733(0x249)]=0x2]='JOIN',_0x5a7b98[_0x5a7b98[_0x421733(0x355)]=0x3]=_0x421733(0x355),_0x5a7b98[_0x5a7b98['INGEST']=0x4]=_0x421733(0x170),_0x5a7b98[_0x5a7b98[_0x421733(0x55e)]=0x5]=_0x421733(0x55e),_0x5a7b98[_0x5a7b98[_0x421733(0x303)]=0x6]='RECV',_0x5a7b98[_0x5a7b98['UNRECOGNIZED']=-0x1]=_0x421733(0x32e),_0x5a7b98))(W||{}),ws=(_0x333333=>(_0x333333[_0x333333[_0x421733(0x486)]=0x0]=_0x421733(0x486),_0x333333[_0x333333['OK']=0x1]='OK',_0x333333[_0x333333[_0x421733(0x453)]=0x2]=_0x421733(0x453),_0x333333[_0x333333[_0x421733(0x4ea)]=0x3e9]=_0x421733(0x4ea),_0x333333[_0x333333[_0x421733(0x4b6)]=0x3ea]=_0x421733(0x4b6),_0x333333[_0x333333['UNRECOGNIZED']=-0x1]=_0x421733(0x32e),_0x333333))(ws||{}),Fi=(_0x539f8a=>(_0x539f8a[_0x539f8a['Undefined']=0x0]=_0x421733(0x1ce),_0x539f8a[_0x539f8a[_0x421733(0x366)]=0x1]=_0x421733(0x366),_0x539f8a[_0x539f8a[_0x421733(0x476)]=0x2]=_0x421733(0x476),_0x539f8a[_0x539f8a[_0x421733(0x411)]=0x3]='UnitEmbedded',_0x539f8a[_0x539f8a[_0x421733(0x3bf)]=0x4]='UnitSnapshot',_0x539f8a[_0x539f8a['UNRECOGNIZED']=-0x1]=_0x421733(0x32e),_0x539f8a))(Fi||{});const Q=_0x421733(0x1cb),jn={};function Bn(_0x5cd992){const _0x3c2cd2=_0x421733;var _0x41852e,_0x321739,_0x1767bc,_0x199acd,_0x7e436a;const _0x109805=_0x5cd992[_0x3c2cd2(0x263)],_0x696ee2=JSON[_0x3c2cd2(0x2e0)](_0x109805);switch(_0x696ee2[_0x3c2cd2(0x423)]){case W[_0x3c2cd2(0x55e)]:case W[_0x3c2cd2(0x422)]:{const _0x8314ed=_0x696ee2[_0x3c2cd2(0x444)];return{..._0x696ee2,'data':_0x8314ed,'cmd':_0x696ee2[_0x3c2cd2(0x423)]};}case W[_0x3c2cd2(0x249)]:{const _0x910293=_0x696ee2[_0x3c2cd2(0x1ac)];return{..._0x696ee2,'data':_0x910293,'cmd':_0x696ee2['cmd']};}case W['RECV']:{const _0x3693f7=_0x696ee2[_0x3c2cd2(0x3ae)];switch(_0x3693f7[_0x3c2cd2(0x41e)]){case _0xdb349a[_0x3c2cd2(0x215)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':(_0x41852e=_0x3693f7['permissionRejEvent'])==null?void 0x0:_0x41852e['cs']},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x380)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':(_0x321739=_0x3693f7[_0x3c2cd2(0x204)])==null?void 0x0:_0x321739['cs']},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x35b)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':(_0x1767bc=_0x3693f7[_0x3c2cd2(0x4ee)])==null?void 0x0:_0x1767bc['cs']},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x550)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':(_0x199acd=_0x3693f7[_0x3c2cd2(0x4dc)])==null?void 0x0:_0x199acd['cs']},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x50e)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':(_0x7e436a=_0x3693f7[_0x3c2cd2(0x567)])==null?void 0x0:_0x7e436a['cs']},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x1fb)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x2f3)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x238)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x191)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a['USERS_LEAVE']:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x508)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x428)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7['liveShareNewHost']},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x3e7)]:case _0xdb349a[_0x3c2cd2(0x4ba)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x388)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x58e)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x1d6)]},'cmd':_0x696ee2['cmd']};case _0xdb349a[_0x3c2cd2(0x433)]:return{..._0x696ee2,'data':_0x3693f7,'cmd':_0x696ee2['cmd']};case _0xdb349a[_0x3c2cd2(0x340)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x1c0)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x586)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x45e)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};case _0xdb349a[_0x3c2cd2(0x22a)]:return{..._0x696ee2,'data':{..._0x3693f7,'data':_0x3693f7[_0x3c2cd2(0x1b8)]},'cmd':_0x696ee2[_0x3c2cd2(0x423)]};default:return _0x696ee2;}}default:return _0x696ee2;}}function kn(_0x3b032b){const _0x2abeef=_0x421733;switch(_0x3b032b[_0x2abeef(0x423)]){case W[_0x2abeef(0x55e)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x3b032b[_0x2abeef(0x423)],'routeKey':_0x3b032b[_0x2abeef(0x39c)]});case W[_0x2abeef(0x170)]:{let _0x21f3a1;switch(_0x3b032b[_0x2abeef(0x263)][_0x2abeef(0x41e)]){case _0xdb349a['UPDATE_CURSOR']:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x1fb)],'updateCursorEvent':_0x3b032b[_0x2abeef(0x263)][_0x2abeef(0x263)]};break;}case _0xdb349a[_0x2abeef(0x451)]:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x451)],'leaveEvent':_0x3b032b[_0x2abeef(0x263)][_0x2abeef(0x263)]};break;}case _0xdb349a['USERS_ENTER']:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x238)],'joinEvent':_0x3b032b[_0x2abeef(0x263)]['data']};break;}case _0xdb349a[_0x2abeef(0x428)]:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x428)],'liveShareNewHost':_0x3b032b[_0x2abeef(0x263)][_0x2abeef(0x263)]};break;}case _0xdb349a[_0x2abeef(0x4ba)]:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x4ba)],'liveShareOperation':_0x3b032b[_0x2abeef(0x263)][_0x2abeef(0x263)]};break;}case _0xdb349a['LIVESHARE_TERMINATE']:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x58e)],'liveShareTerminate':_0x3b032b[_0x2abeef(0x263)]['data']};break;}case _0xdb349a[_0x2abeef(0x28f)]:{_0x21f3a1={'eventID':_0xdb349a['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3b032b[_0x2abeef(0x263)]['data']};break;}case _0xdb349a['LIVESHARE_FETCH_OPERATIONS']:{_0x21f3a1={'eventID':_0xdb349a[_0x2abeef(0x3e7)]};break;}default:_0x21f3a1={'eventID':_0x3b032b[_0x2abeef(0x263)][_0x2abeef(0x41e)]};}return JSON[_0x2abeef(0x2b7)]({'cmd':_0x3b032b[_0x2abeef(0x423)],'routeKey':_0x3b032b[_0x2abeef(0x39c)],'collaMsg':_0x21f3a1});}case W[_0x2abeef(0x249)]:return JSON['stringify']({'cmd':_0x3b032b[_0x2abeef(0x423)],'routeKey':_0x3b032b[_0x2abeef(0x39c)],'joinReq':_0x3b032b[_0x2abeef(0x263)]});case W[_0x2abeef(0x355)]:return JSON[_0x2abeef(0x2b7)]({'cmd':_0x3b032b[_0x2abeef(0x423)],'routeKey':_0x3b032b[_0x2abeef(0x39c)],'leaveReq':_0x3b032b[_0x2abeef(0x263)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Wn=Object[_0x421733(0x1c6)],Fn=Object[_0x421733(0x2e2)],Vn=(_0x57d998,_0x3b04fb,_0x56cd22,_0x9a0821)=>{const _0x6c3978=_0x421733;for(var _0xab6975=_0x9a0821>0x1?void 0x0:_0x9a0821?Fn(_0x3b04fb,_0x56cd22):_0x3b04fb,_0x3f071e=_0x57d998[_0x6c3978(0x4b1)]-0x1,_0x13b85a;_0x3f071e>=0x0;_0x3f071e--)(_0x13b85a=_0x57d998[_0x3f071e])&&(_0xab6975=(_0x9a0821?_0x13b85a(_0x3b04fb,_0x56cd22,_0xab6975):_0x13b85a(_0xab6975))||_0xab6975);return _0x9a0821&&_0xab6975&&Wn(_0x3b04fb,_0x56cd22,_0xab6975),_0xab6975;},qe=(_0x6de7a9,_0x476f74)=>(_0x50013f,_0x2f4da1)=>_0x476f74(_0x50013f,_0x2f4da1,_0x6de7a9);const Vi=_0x5c8406(_0x421733(0x596));function Gn(_0x54edd6,_0x35d8d9,_0x1dfd3a){const _0x26760d=_0x421733;return _0x54edd6+'/'+_0x35d8d9+'/unit/'+_0x1dfd3a+_0x26760d(0x3d0);}let as=class extends _0x36e463{constructor(_0x65de59,_0x597249,_0xa0671f,_0x40bd75,_0x5a320b){const _0x548541=_0x421733;super(),this[_0x548541(0x48a)]=_0x65de59,this[_0x548541(0x3c6)]=_0x597249,this['_configService']=_0xa0671f,this[_0x548541(0x3b4)]=_0x40bd75,this[_0x548541(0x46d)]=_0x5a320b;}['createSocket'](_0x7e4333){const _0x563050=_0x421733,_0x18f7bb=this[_0x563050(0x3c6)][_0x563050(0x2f0)](_0x7e4333);if(!_0x18f7bb)throw new Error(_0x563050(0x41c));const _0x258d9d=new _0xad70f7(),_0x3300f3=new _0x28e091();_0x258d9d['add'](_0x18f7bb[_0x563050(0x364)]['subscribe'](_0x23acce=>_0x3300f3['next'](_0x23acce))),_0x258d9d[_0x563050(0x27c)](_0xb887b1(()=>_0x3300f3[_0x563050(0x4d3)]()));const _0x311702=new _0x28e091();_0x258d9d[_0x563050(0x27c)](_0x18f7bb[_0x563050(0x543)][_0x563050(0x4fc)](_0x214475=>_0x311702[_0x563050(0x537)](_0x214475))),_0x258d9d[_0x563050(0x27c)](_0xb887b1(()=>_0x311702[_0x563050(0x4d3)]()));const _0x523381=new _0x28e091();_0x258d9d[_0x563050(0x27c)](_0x18f7bb[_0x563050(0x57e)][_0x563050(0x4fc)](_0x2cc7f2=>{const _0x206c07=Bn(_0x2cc7f2);_0x523381['next'](_0x206c07);})),_0x258d9d[_0x563050(0x27c)](_0xb887b1(()=>_0x523381[_0x563050(0x4d3)]()));let _0x14af0b;const _0x59e1a1=()=>{const _0x55379a=_0x563050;_0x311702['next'](new Event(_0x55379a(0x2a7))),_0x3300f3[_0x55379a(0x537)](new CloseEvent(_0x55379a(0x2a7))),_0x14af0b[_0x55379a(0x1d7)]();};return _0x14af0b={'memberID':'','close$':_0x3300f3[_0x563050(0x314)](),'error$':_0x311702[_0x563050(0x314)](),'open$':_0x18f7bb[_0x563050(0x36d)],'message$':_0x523381['asObservable'](),'send':_0xccce80=>{const _0xb50157=_0x563050;if(_0xccce80[_0xb50157(0x423)]===W[_0xb50157(0x170)]){if(_0xccce80[_0xb50157(0x263)][_0xb50157(0x41e)]===_0xdb349a[_0xb50157(0x1a4)]){this[_0xb50157(0x589)](_0x14af0b,_0xccce80[_0xb50157(0x263)])[_0xb50157(0x285)](_0x2c7f4c=>{const _0x2ec59d=_0xb50157;this[_0x2ec59d(0x3b4)][_0x2ec59d(0x3ff)](_0x2c7f4c),_0x59e1a1();});return;}if(_0xccce80[_0xb50157(0x263)][_0xb50157(0x41e)]===_0xdb349a[_0xb50157(0x45c)]){const _0x4a3bad=_0xccce80['data'];this['_fetchMissChangesets'](_0x4a3bad)['then'](_0x27ba27=>{const _0xdef0b6=_0xb50157;_0x523381[_0xdef0b6(0x537)]({'cmd':W[_0xdef0b6(0x303)],'code':ws['OK'],'routeKey':_0x4a3bad[_0xdef0b6(0x263)][_0xdef0b6(0x4f8)],'routeType':'','data':{'eventID':_0xdb349a['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x27ba27}}});})[_0xb50157(0x285)](_0x65a403=>{const _0x1f4a82=_0xb50157;this['_logService'][_0x1f4a82(0x3ff)](_0x65a403),_0x59e1a1();});return;}}_0x18f7bb[_0xb50157(0x211)](kn(_0xccce80));},'close':()=>{const _0x57b639=_0x563050;_0x18f7bb[_0x57b639(0x1d7)](),_0x258d9d['dispose']();}},_0x14af0b;}async[_0x421733(0x589)](_0x2c1574,_0x93f205){const _0x48e479=_0x421733;var _0x124879,_0x7b7dfe;const {unitType:_0x1f765e,unitID:_0x25ae61,changeset:_0x5267b8}=_0x93f205[_0x48e479(0x263)],_0x25455b={'unitID':_0x25ae61,'memberID':_0x2c1574['memberID'],'type':_0x1f765e,'changeset':_0x4c1df4(_0x5267b8)},_0x420fd5=this[_0x48e479(0x254)][_0x48e479(0x39e)](xn),_0x34a050=this[_0x48e479(0x254)]['getConfig'](Q),_0x4ad381=Gn((_0x7b7dfe=(_0x124879=_0x34a050==null?void 0x0:_0x34a050[_0x48e479(0x18c)])!=null?_0x124879:_0x420fd5)!=null?_0x7b7dfe:Ln,_0x1f765e,_0x25ae61);try{await this[_0x48e479(0x48a)][_0x48e479(0x413)](_0x4ad381,{'body':_0x25455b});}catch(_0x3f4c92){throw this[_0x48e479(0x3b4)][_0x48e479(0x3ff)](_0x48e479(0x344),_0x48e479(0x1f4)),_0x3f4c92;}}async['_fetchMissChangesets'](_0x1591a9){const _0x510ec8=_0x421733,{unitID:_0x18500d,from:_0x535a7e,to:_0x3ee353,unitType:_0x191171}=_0x1591a9[_0x510ec8(0x263)];return(await this[_0x510ec8(0x46d)][_0x510ec8(0x1d9)]({'metadata':void 0x0},{'unitID':_0x18500d,'type':_0x191171,'from':_0x535a7e,'to':_0x3ee353}))[_0x510ec8(0x520)];}};as=Vn([qe(0x0,_0x231990(_0xee3f76)),qe(0x1,_0x231990(_0x1034eb)),qe(0x2,_0x2cfa70),qe(0x3,_0x257353),qe(0x4,_0x48d837)],as);const Yn='collaboration_new_changeset';function Kn(_0x3a692f){const _0x5ac5c8=_0x421733;return JSON[_0x5ac5c8(0x2b7)](_0x3a692f)['length'];}class Gi{constructor(){const _0x261c72=_0x421733;g(this,_0x261c72(0x4d8),new _0x28e091()),g(this,_0x261c72(0x58d),this[_0x261c72(0x4d8)]['asObservable']());}[_0x421733(0x516)](_0x4bb8fa){const _0x4ea092=_0x421733;this[_0x4ea092(0x4d8)][_0x4ea092(0x537)](_0x4bb8fa);}}var qn=Object['defineProperty'],zn=Object[_0x421733(0x2e2)],Xn=(_0x16b103,_0xb53f7e,_0x5f4d74,_0x35dfa8)=>{const _0x1a1bf3=_0x421733;for(var _0x4c68a1=_0x35dfa8>0x1?void 0x0:_0x35dfa8?zn(_0xb53f7e,_0x5f4d74):_0xb53f7e,_0x4bab62=_0x16b103[_0x1a1bf3(0x4b1)]-0x1,_0x5ade0b;_0x4bab62>=0x0;_0x4bab62--)(_0x5ade0b=_0x16b103[_0x4bab62])&&(_0x4c68a1=(_0x35dfa8?_0x5ade0b(_0xb53f7e,_0x5f4d74,_0x4c68a1):_0x5ade0b(_0x4c68a1))||_0x4c68a1);return _0x35dfa8&&_0x4c68a1&&qn(_0xb53f7e,_0x5f4d74,_0x4c68a1),_0x4c68a1;},Ks=(_0x173c02,_0x70fa5a)=>(_0x1aff3c,_0x282dbb)=>_0x70fa5a(_0x1aff3c,_0x282dbb,_0x173c02);let Ae=class extends _0x36e463{constructor(_0x5f54ec,_0x2546da){const _0x25f534=_0x421733;super(),g(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x5f54ec,this[_0x25f534(0x4e0)]=_0x2546da,this[_0x25f534(0x40e)](_0xb887b1(_0x3f6cf6(this[_0x25f534(0x49a)][_0x25f534(0x251)](_0x24d9a0[_0x25f534(0x219)])['pipe'](_0x1a5739(_0x5017d2=>_0x5017d2[_0x25f534(0x47f)]())),this[_0x25f534(0x49a)][_0x25f534(0x251)](_0x24d9a0[_0x25f534(0x42a)])[_0x25f534(0x552)](_0x1a5739(_0x3228eb=>_0x3228eb['getUnitId']())),this[_0x25f534(0x49a)]['getTypeOfUnitDisposed$'](_0x24d9a0[_0x25f534(0x1cf)])[_0x25f534(0x552)](_0x1a5739(_0x1f3b58=>_0x1f3b58[_0x25f534(0x47f)]())))[_0x25f534(0x4fc)](_0x275b7d=>this[_0x25f534(0x58f)](_0x275b7d)))));}['setCurrentUser'](_0x17ff56){const _0x45d947=_0x421733;this[_0x45d947(0x4e0)][_0x45d947(0x2fe)](_0x17ff56);}[_0x421733(0x290)](){return this['_userManagerService']['getCurrentUser']();}[_0x421733(0x21c)](_0x1d8b18,_0x27057b){const _0x4b0304=_0x421733;let _0x28f0ed=this[_0x4b0304(0x2cd)][_0x4b0304(0x37c)](_0x1d8b18);_0x28f0ed||(_0x28f0ed=new Jn(),this[_0x4b0304(0x2cd)][_0x4b0304(0x228)](_0x1d8b18,_0x28f0ed)),_0x28f0ed[_0x4b0304(0x21c)](_0x27057b);}['removeMember'](_0x190d33,_0x72815c){const _0x1c0b85=_0x421733,_0x2c91f9=this[_0x1c0b85(0x2cd)][_0x1c0b85(0x37c)](_0x190d33);_0x2c91f9&&_0x2c91f9[_0x1c0b85(0x445)](_0x72815c);}[_0x421733(0x3a8)](_0x34b158){const _0x49d205=_0x421733;return this['_roomMembers'][_0x49d205(0x37c)](_0x34b158);}[_0x421733(0x3da)](_0x421227,_0x5bf27c){const _0x16ac1c=_0x421733,_0x1dbc18=this[_0x16ac1c(0x2cd)][_0x16ac1c(0x37c)](_0x421227);if(_0x1dbc18)return _0x1dbc18[_0x16ac1c(0x3da)](_0x5bf27c);}[_0x421733(0x58f)](_0x4c86da){const _0x27322c=_0x421733,_0x5bfaba=this[_0x27322c(0x2cd)][_0x27322c(0x37c)](_0x4c86da);_0x5bfaba&&(_0x5bfaba[_0x27322c(0x40d)](),this[_0x27322c(0x2cd)][_0x27322c(0x2d8)](_0x4c86da));}[_0x421733(0x40d)](){const _0x2060eb=_0x421733;this[_0x2060eb(0x2cd)][_0x2060eb(0x2d2)](_0x379218=>_0x379218['dispose']()),this['_roomMembers'][_0x2060eb(0x186)]();}};Ae=Xn([Ks(0x0,_0x186a82),Ks(0x1,_0x231990(_0x3b0e15))],Ae);class Jn extends _0x36e463{constructor(){const _0x18f417=_0x421733;super(...arguments),g(this,_0x18f417(0x2c3),new Map());}[_0x421733(0x40d)](){const _0x32882a=_0x421733;this[_0x32882a(0x2c3)][_0x32882a(0x186)]();}[_0x421733(0x21c)](_0x1a2b7a){const _0x1c76cb=_0x421733;this[_0x1c76cb(0x2c3)][_0x1c76cb(0x228)](_0x1a2b7a['memberID'],_0x1a2b7a);}['removeMember'](_0x13b375){const _0x30d694=_0x421733;this[_0x30d694(0x2c3)]['delete'](_0x13b375);}[_0x421733(0x3da)](_0x472e9c){const _0x2a7c1b=_0x421733;return this[_0x2a7c1b(0x2c3)][_0x2a7c1b(0x37c)](_0x472e9c);}['getAllMembers'](){const _0x2f6e51=_0x421733;return Array['from'](this[_0x2f6e51(0x2c3)]['values']());}}var Zn=Object[_0x421733(0x1c6)],Qn=Object[_0x421733(0x2e2)],eo=(_0x23c5a6,_0x544ce7,_0x34dd09,_0x558d56)=>{const _0xd9eb00=_0x421733;for(var _0x244530=_0x558d56>0x1?void 0x0:_0x558d56?Qn(_0x544ce7,_0x34dd09):_0x544ce7,_0x312a3e=_0x23c5a6[_0xd9eb00(0x4b1)]-0x1,_0x45b958;_0x312a3e>=0x0;_0x312a3e--)(_0x45b958=_0x23c5a6[_0x312a3e])&&(_0x244530=(_0x558d56?_0x45b958(_0x544ce7,_0x34dd09,_0x244530):_0x45b958(_0x244530))||_0x244530);return _0x558d56&&_0x244530&&Zn(_0x544ce7,_0x34dd09,_0x244530),_0x244530;},Ee=(_0x393172,_0x107be0)=>(_0x14960b,_0x5a1722)=>_0x107be0(_0x14960b,_0x5a1722,_0x393172),fe=(_0x49be1d=>(_0x49be1d[_0x49be1d[_0x421733(0x23f)]=0x0]='IDLE',_0x49be1d[_0x49be1d[_0x421733(0x487)]=0x1]=_0x421733(0x487),_0x49be1d[_0x49be1d[_0x421733(0x541)]=0x2]='OFFLINE',_0x49be1d[_0x49be1d[_0x421733(0x16b)]=0x3]=_0x421733(0x16b),_0x49be1d))(fe||{});let cs=class extends _0x33a3aa{constructor(_0x55187b,_0x9c7b5b,_0x53308d,_0x8d8375,_0x807bf,_0x31b55a,_0x462195,_0x5799f3,_0xfcaad3,_0xd692f){const _0x4f8e6e=_0x421733;super(),g(this,_0x4f8e6e(0x3df),new _0x461b47(0x0)),g(this,_0x4f8e6e(0x386),this['_sessionStatus$']['asObservable']()),g(this,_0x4f8e6e(0x311),new _0x28e091()),g(this,_0x4f8e6e(0x2dd),this[_0x4f8e6e(0x311)][_0x4f8e6e(0x314)]()),g(this,_0x4f8e6e(0x280)),g(this,_0x4f8e6e(0x542)),g(this,_0x4f8e6e(0x523)),g(this,_0x4f8e6e(0x52d),!0x1),g(this,'_telemetryInfo',null),(this[_0x4f8e6e(0x245)]=_0x55187b,this['_logService']=_0x53308d,this[_0x4f8e6e(0x561)]=_0x8d8375,this[_0x4f8e6e(0x3b3)]=_0x807bf,this[_0x4f8e6e(0x254)]=_0x31b55a,this['_localeService']=_0x462195,this[_0x4f8e6e(0x261)]=_0x5799f3,this[_0x4f8e6e(0x30e)]=_0xfcaad3,this['_telemetryService']=_0xd692f,this[_0x4f8e6e(0x52d)]=!!this[_0x4f8e6e(0x3e5)],_0x9c7b5b[_0x4f8e6e(0x552)](_0x2c50c2(this[_0x4f8e6e(0x4eb)]))[_0x4f8e6e(0x4fc)](_0x243958=>{const _0x397642=_0x4f8e6e;var _0x391d8a;typeof _0x243958>'u'||(this['_socket']=_0x243958,_0x243958?(this[_0x397642(0x2af)](_0x243958),this[_0x397642(0x542)]=_0x243958[_0x397642(0x57e)][_0x397642(0x4fc)](_0x252d00=>{const _0x27d940=_0x397642;_0x252d00[_0x27d940(0x39c)]===this['_unitID']&&this[_0x27d940(0x568)](_0x252d00);})):(this[_0x397642(0x406)](),this[_0x397642(0x3df)][_0x397642(0x537)](0x2),(_0x391d8a=this['_socketMessageSubscription'])==null||_0x391d8a['unsubscribe'](),this[_0x397642(0x542)]=null));}),this[_0x4f8e6e(0x40e)](this[_0x4f8e6e(0x561)][_0x4f8e6e(0x471)](()=>{const _0x102256=_0x4f8e6e;var _0x233dd1;(_0x233dd1=this[_0x102256(0x280)])==null||_0x233dd1[_0x102256(0x211)]({'cmd':W[_0x102256(0x355)],'data':{'roomID':this[_0x102256(0x245)]}});})));}get[_0x421733(0x40a)](){const _0x30461f=_0x421733;return this[_0x30461f(0x3df)][_0x30461f(0x3f5)]();}[_0x421733(0x55a)](){const _0x156828=_0x421733;var _0x34c013,_0x2f044a;return(_0x2f044a=(_0x34c013=this[_0x156828(0x280)])==null?void 0x0:_0x34c013[_0x156828(0x237)])!=null?_0x2f044a:null;}[_0x421733(0x40d)](){const _0x2478fc=_0x421733;super[_0x2478fc(0x40d)](),this[_0x2478fc(0x4eb)][_0x2478fc(0x537)](),this['dispose$']['complete']();}[_0x421733(0x1d7)](){const _0x595249=_0x421733;var _0x1119bb,_0x575d57;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1119bb=this[_0x595249(0x280)])==null||_0x1119bb[_0x595249(0x211)]({'cmd':W[_0x595249(0x355)],'data':{'roomID':this[_0x595249(0x245)]}}),(_0x575d57=this[_0x595249(0x280)])==null||_0x575d57[_0x595249(0x1d7)](),this['_event$'][_0x595249(0x4d3)](),this['_sessionStatus$'][_0x595249(0x4d3)](),this['dispose']();}['_onCombEvent'](_0x2c1dea){const _0x3241f2=_0x421733;_0x2c1dea[_0x3241f2(0x423)]===W[_0x3241f2(0x249)]?this[_0x3241f2(0x530)](_0x2c1dea):_0x2c1dea[_0x3241f2(0x423)]===W['RECV']&&this['_onRecvEvent'](_0x2c1dea);}[_0x421733(0x2af)](_0x49f40b){const _0xdcec6b=_0x421733;this[_0xdcec6b(0x3df)][_0xdcec6b(0x537)](0x1),_0x49f40b[_0xdcec6b(0x211)]({'cmd':W[_0xdcec6b(0x249)],'routeKey':this[_0xdcec6b(0x245)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x421733(0x530)](_0x3e9a86){const _0x292322=_0x421733;var _0x3a88fc;if(_0x3e9a86[_0x292322(0x554)]===ws[_0x292322(0x453)]){this['_messageService'][_0x292322(0x34d)]({'type':_0x1a283f['Warning'],'content':this[_0x292322(0x41a)]['t'](_0x292322(0x1f8))}),this[_0x292322(0x3df)][_0x292322(0x537)](0x2);return;}this['_sessionStatus$'][_0x292322(0x537)](0x3);const _0x3a184c=(_0x3a88fc=_0x3e9a86[_0x292322(0x263)][_0x292322(0x1a5)][this['_unitID']])==null?void 0x0:_0x3a88fc[_0x292322(0x345)];_0x3a184c&&_0x3a184c['forEach'](_0x37edb2=>this['_memberService']['updateMember'](this[_0x292322(0x245)],_0x37edb2));}[_0x421733(0x1d0)](_0x38bb6b){const _0x5e5a84=_0x421733;try{const _0x1a30b0=_0x38bb6b[_0x5e5a84(0x263)];switch(_0x1a30b0['eventID']){case _0xdb349a[_0x5e5a84(0x238)]:this[_0x5e5a84(0x313)](_0x1a30b0),this['_event$'][_0x5e5a84(0x537)](_0x1a30b0);break;case _0xdb349a[_0x5e5a84(0x451)]:this['_onUserLeave'](_0x1a30b0),this[_0x5e5a84(0x311)][_0x5e5a84(0x537)](_0x1a30b0);break;case _0xdb349a[_0x5e5a84(0x380)]:case _0xdb349a[_0x5e5a84(0x50e)]:this[_0x5e5a84(0x2f2)](),this[_0x5e5a84(0x450)](),this['_event$'][_0x5e5a84(0x537)](_0x1a30b0);break;case _0xdb349a[_0x5e5a84(0x433)]:this[_0x5e5a84(0x3b4)][_0x5e5a84(0x3ff)](_0x5e5a84(0x38a)+JSON[_0x5e5a84(0x2b7)](_0x1a30b0)),this['_event$'][_0x5e5a84(0x537)](_0x1a30b0);break;case _0xdb349a[_0x5e5a84(0x340)]:this[_0x5e5a84(0x30e)][_0x5e5a84(0x516)](_0x1a30b0[_0x5e5a84(0x263)]),this[_0x5e5a84(0x311)][_0x5e5a84(0x537)](_0x1a30b0);break;default:this[_0x5e5a84(0x311)][_0x5e5a84(0x537)](_0x1a30b0);}}catch(_0x3bde9a){this[_0x5e5a84(0x3b4)][_0x5e5a84(0x3ff)](_0x3bde9a,_0x38bb6b);}}[_0x421733(0x313)](_0x2aad60){const _0x10c599=_0x421733;this[_0x10c599(0x261)]['updateMember'](this['_unitID'],_0x2aad60[_0x10c599(0x263)]);}[_0x421733(0x393)](_0x71b13e){const _0x4c0864=_0x421733;this[_0x4c0864(0x261)][_0x4c0864(0x445)](this[_0x4c0864(0x245)],_0x71b13e[_0x4c0864(0x263)][_0x4c0864(0x237)]);}async[_0x421733(0x211)](_0x27b321,_0x1da910){const _0x40352f=_0x421733;if(this[_0x40352f(0x40a)]!==0x3||!this[_0x40352f(0x280)])throw new Error(_0x40352f(0x27b));try{_0x27b321['eventID']===_0xdb349a['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x40352f(0x54d)](_0x27b321)),this['_socket'][_0x40352f(0x211)]({'cmd':W[_0x40352f(0x170)],'routeKey':_0x1da910,'routeType':'','data':_0x27b321});}catch(_0x3ab64a){this['_logService']['error'](_0x3ab64a);}}[_0x421733(0x223)](){const _0x11874f=_0x421733;var _0x14644f;this[_0x11874f(0x523)]=window[_0x11874f(0x3c9)](()=>{const _0x239852=_0x11874f;this[_0x239852(0x523)]=null,this[_0x239852(0x3b3)][_0x239852(0x34d)]({'type':_0x1a283f['Error'],'content':this[_0x239852(0x41a)]['t'](_0x239852(0x222))});},(_0x14644f=this[_0x11874f(0x254)][_0x11874f(0x39e)](Bi))!=null?_0x14644f:ki);}['_clearCollaborationTimeoutTimer'](){const _0xb0498=_0x421733;this[_0xb0498(0x523)]&&(clearTimeout(this[_0xb0498(0x523)]),this[_0xb0498(0x523)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x5c6ad0){const _0x2b3376=_0x421733;if(!this[_0x2b3376(0x52d)])return;const {data:_0x477561}=_0x5c6ad0,{unitID:_0x41b5a0,changeset:_0x282693}=_0x477561,{mutations:_0x3db540,type:_0x38b199}=_0x282693;this[_0x2b3376(0x336)]={'unitId':_0x41b5a0,'type':_0x38b199,'startTime':performance[_0x2b3376(0x4ab)](),'stopTime':0x0,'duration':0x0,'size':Kn(_0x3db540)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x374cea=_0x421733;if(this[_0x374cea(0x52d)]){if(!this['_telemetryInfo']){this[_0x374cea(0x3b4)][_0x374cea(0x3ff)]('[CollaborationSession]',_0x374cea(0x18e));return;}this['_telemetryInfo'][_0x374cea(0x19d)]=performance['now'](),this[_0x374cea(0x336)]['duration']=this[_0x374cea(0x336)][_0x374cea(0x19d)]-this[_0x374cea(0x336)]['startTime'],this[_0x374cea(0x3e5)][_0x374cea(0x274)](Yn,this[_0x374cea(0x336)]),this[_0x374cea(0x336)]=null;}}[_0x421733(0x406)](){this['_telemetryInfo']=null;}};cs=eo([Ee(0x2,_0x257353),Ee(0x3,_0x59d4b7),Ee(0x4,_0x2cbd8b),Ee(0x5,_0x2cfa70),Ee(0x6,_0x231990(_0x3097b7)),Ee(0x7,_0x231990(Ae)),Ee(0x8,_0x231990(Gi)),Ee(0x9,_0x1f1bd9(_0x377f5b))],cs);var to=Object[_0x421733(0x1c6)],so=Object['getOwnPropertyDescriptor'],io=(_0x2d04ee,_0xeb4988,_0x1b9c44,_0xf20ee0)=>{for(var _0x400738=_0xf20ee0>0x1?void 0x0:_0xf20ee0?so(_0xeb4988,_0x1b9c44):_0xeb4988,_0x1efd4c=_0x2d04ee['length']-0x1,_0x40d235;_0x1efd4c>=0x0;_0x1efd4c--)(_0x40d235=_0x2d04ee[_0x1efd4c])&&(_0x400738=(_0xf20ee0?_0x40d235(_0xeb4988,_0x1b9c44,_0x400738):_0x40d235(_0x400738))||_0x400738);return _0xf20ee0&&_0x400738&&to(_0xeb4988,_0x1b9c44,_0x400738),_0x400738;},ye=(_0x3bba67,_0x57a5b4)=>(_0x481c2d,_0x233540)=>_0x57a5b4(_0x481c2d,_0x233540,_0x3bba67);let Me=class extends _0x36e463{constructor(_0x22e7d7,_0x5f2d63,_0x7a18ff,_0x39d9c9,_0xdb0df3,_0x12ea67,_0x4d159d){const _0x14b3e4=_0x421733;super(),g(this,_0x14b3e4(0x4e6),new _0x461b47(void 0x0)),g(this,_0x14b3e4(0x229),this[_0x14b3e4(0x4e6)][_0x14b3e4(0x314)]()),g(this,_0x14b3e4(0x295),null),g(this,_0x14b3e4(0x3c1),new Map()),g(this,'_status$',new _0x461b47(fe[_0x14b3e4(0x23f)])),g(this,_0x14b3e4(0x218),this[_0x14b3e4(0x4df)][_0x14b3e4(0x314)]()),g(this,_0x14b3e4(0x2c0),!0x1),g(this,_0x14b3e4(0x26f)),g(this,_0x14b3e4(0x277),0x0),g(this,_0x14b3e4(0x2dc)),g(this,_0x14b3e4(0x268)),(this[_0x14b3e4(0x30b)]=_0x22e7d7,this[_0x14b3e4(0x41a)]=_0x5f2d63,this[_0x14b3e4(0x3b3)]=_0x7a18ff,this[_0x14b3e4(0x3b4)]=_0x39d9c9,this[_0x14b3e4(0x254)]=_0xdb0df3,this[_0x14b3e4(0x321)]=_0x12ea67,this[_0x14b3e4(0x379)]=_0x4d159d,this['_initEventListeners']());}get[_0x421733(0x280)](){const _0x57441d=_0x421733;return this[_0x57441d(0x4e6)][_0x57441d(0x3f5)]();}[_0x421733(0x25d)](){this['_listenToOfflineEvent'](),this['_listenToOnlineEvent']();}[_0x421733(0x40d)](){const _0x231a85=_0x421733;super[_0x231a85(0x40d)](),this[_0x231a85(0x3c1)][_0x231a85(0x2d2)](_0x21fc9b=>_0x21fc9b['dispose']()),this[_0x231a85(0x3c1)][_0x231a85(0x186)](),this['_status$'][_0x231a85(0x4d3)]();}async['requireSession'](_0x1b506f){const _0x40740b=_0x421733;if(this[_0x40740b(0x3c1)]['has'](_0x1b506f))return this[_0x40740b(0x3c1)][_0x40740b(0x37c)](_0x1b506f);this[_0x40740b(0x227)]();const _0x4ffc19=this[_0x40740b(0x30b)][_0x40740b(0x341)](cs,_0x1b506f,this[_0x40740b(0x4e6)]['asObservable']());return this[_0x40740b(0x3c1)]['set'](_0x1b506f,_0x4ffc19),_0x4ffc19;}[_0x421733(0x2f6)](_0x47ca3e){const _0x190696=_0x421733;var _0x20449d;const _0x131cfa=this[_0x190696(0x3c1)]['get'](_0x47ca3e);_0x131cfa&&(this['_sessions']['delete'](_0x47ca3e),_0x131cfa[_0x190696(0x1d7)]()),this['_sessions'][_0x190696(0x402)]||(_0x20449d=this['_socket'])==null||_0x20449d['close']();}[_0x421733(0x52c)](){const _0x4dda69=_0x421733;this[_0x4dda69(0x277)]=0x0,this[_0x4dda69(0x26f)]!=null&&(clearTimeout(this[_0x4dda69(0x26f)]),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async['_getSessionTicket'](){const _0x3362fc=_0x421733;var _0x3f4534,_0x19591c,_0x3a765e;const _0x1c82cd=this[_0x3362fc(0x254)]['getConfig'](Q),_0x3ed75f=(_0x3f4534=_0x1c82cd==null?void 0x0:_0x1c82cd['wsSessionTicketUrl'])!=null?_0x3f4534:yn;return(_0x3a765e=(_0x19591c=(await this[_0x3362fc(0x379)][_0x3362fc(0x37c)](_0x3ed75f,{'headers':{'Content-Type':'application/json'}}))[_0x3362fc(0x23d)])==null?void 0x0:_0x19591c[_0x3362fc(0x399)])!=null?_0x3a765e:'';}[_0x421733(0x281)](_0x5f4c94){const _0x564e88=_0x421733;var _0x2c5992,_0x4c5f2e;const _0x826624=this[_0x564e88(0x254)]['getConfig'](Rn),_0x143c2e=this['_configService'][_0x564e88(0x39e)](Q),_0x2f039f=(_0x4c5f2e=(_0x2c5992=_0x143c2e==null?void 0x0:_0x143c2e[_0x564e88(0x1ea)])!=null?_0x2c5992:_0x826624)!=null?_0x4c5f2e:On,_0x19a313=new URL(_0x2f039f,window[_0x564e88(0x4b8)][_0x564e88(0x18f)]);return _0x19a313[_0x564e88(0x546)][_0x564e88(0x228)](_0x564e88(0x591),_0x5f4c94),_0x19a313[_0x564e88(0x353)]();}async[_0x421733(0x2cb)](){const _0x2e536d=_0x421733,_0x41b1e4=await this[_0x2e536d(0x33c)](),_0x55fe71=this['_createSocketURL'](_0x41b1e4),_0x14c5d2=this[_0x2e536d(0x321)][_0x2e536d(0x2f0)](_0x55fe71);return this[_0x2e536d(0x295)]=_0x14c5d2,_0x14c5d2;}async[_0x421733(0x227)](){const _0x3fe401=_0x421733;var _0x5731e0,_0x33a782;try{const _0x21c655=(_0x33a782=(_0x5731e0=this[_0x3fe401(0x280)])!=null?_0x5731e0:this[_0x3fe401(0x295)])!=null?_0x33a782:await this[_0x3fe401(0x2cb)]();if(_0x21c655){const _0x14e9c1=_0x21c655['send'];_0x21c655[_0x3fe401(0x211)]=_0x649c51=>(this['_rescheduleHeartbeat'](),_0x14e9c1[_0x3fe401(0x50a)](_0x21c655,[_0x649c51])),_0x21c655['message$'][_0x3fe401(0x4fc)](_0x29a15a=>this[_0x3fe401(0x217)](_0x21c655,_0x29a15a)),_0x21c655[_0x3fe401(0x543)][_0x3fe401(0x552)](_0x19c3b1(0x1))[_0x3fe401(0x4fc)](_0x140f58=>this[_0x3fe401(0x3b4)][_0x3fe401(0x3ff)](_0x3fe401(0x23a),_0x140f58)),_0x21c655[_0x3fe401(0x36d)]['pipe'](_0x19c3b1(0x1))[_0x3fe401(0x4fc)](()=>{const _0x550e46=_0x3fe401;this[_0x550e46(0x27d)](_0x21c655);}),_0x21c655['close$'][_0x3fe401(0x552)](_0x19c3b1(0x1))[_0x3fe401(0x4fc)](_0x52ec4e=>{const _0x491f61=_0x3fe401;this[_0x491f61(0x3b4)][_0x491f61(0x4cc)](_0x491f61(0x266),'socket\x20close',_0x52ec4e),this[_0x491f61(0x372)]();});}}catch(_0x5e6eb6){this[_0x3fe401(0x3b4)][_0x3fe401(0x3ff)](_0x5e6eb6),this[_0x3fe401(0x372)]();}}[_0x421733(0x27d)](_0x2c94dd){const _0x5897ad=_0x421733;this['_logService'][_0x5897ad(0x4cc)](_0x5897ad(0x266),'socket\x20open.'),_0x2c94dd['send']({'cmd':W[_0x5897ad(0x422)]}),this['_rescheduleHeartbeat']();}['_listenToOfflineEvent'](){const _0x182a1c=_0x421733;window[_0x182a1c(0x2c1)](_0x182a1c(0x4fb),()=>this[_0x182a1c(0x573)]());}[_0x421733(0x573)](){const _0x2ad464=_0x421733;this[_0x2ad464(0x2c0)]=!0x1,this[_0x2ad464(0x295)]=null,this[_0x2ad464(0x4df)]['next'](fe['OFFLINE']),this[_0x2ad464(0x4e6)][_0x2ad464(0x537)](null),this[_0x2ad464(0x25a)](),this[_0x2ad464(0x396)]();}['_onConnectionFailed'](){const _0x25f4f3=_0x421733;var _0x34bf41;this[_0x25f4f3(0x573)](),this[_0x25f4f3(0x277)]<((_0x34bf41=this[_0x25f4f3(0x254)][_0x25f4f3(0x39e)](Un))!=null?_0x34bf41:Nn)?(this['_messageService'][_0x25f4f3(0x34d)]({'key':_0x25f4f3(0x3ad),'type':_0x1a283f[_0x25f4f3(0x4ae)],'content':this[_0x25f4f3(0x41a)]['t'](_0x25f4f3(0x41b))}),this['_tryReconnect']()):this[_0x25f4f3(0x3b3)][_0x25f4f3(0x34d)]({'key':_0x25f4f3(0x3ad),'type':_0x1a283f[_0x25f4f3(0x346)],'content':this[_0x25f4f3(0x41a)]['t'](_0x25f4f3(0x28d))});}['_listenToOnlineEvent'](){const _0x402547=_0x421733,_0x4e5574=()=>{this['_socket']||this['reconnect']();},_0x26b9f7=()=>{const _0x280f32=_0x9980;this[_0x280f32(0x280)]||document[_0x280f32(0x2de)]===_0x280f32(0x30a)||this['reconnect']();};window[_0x402547(0x2c1)](_0x402547(0x225),_0x4e5574),document['addEventListener'](_0x402547(0x17b),_0x26b9f7);}[_0x421733(0x507)](){const _0x135e57=_0x421733;var _0x57b077;const _0x128c06=this[_0x135e57(0x277)],_0x18acfe=this[_0x135e57(0x254)][_0x135e57(0x39e)](Q),_0x22ca49=_0x128c06===0x0?0x0:((_0x57b077=_0x18acfe==null?void 0x0:_0x18acfe[_0x135e57(0x187)])!=null?_0x57b077:Pn)*0x2**_0x128c06;this[_0x135e57(0x26f)]=window['setTimeout'](()=>{const _0x3664e7=_0x135e57;clearTimeout(this[_0x3664e7(0x26f)]),this[_0x3664e7(0x26f)]=null,this[_0x3664e7(0x227)]();},_0x22ca49),this['_retryCount']+=0x1;}[_0x421733(0x217)](_0x55822a,_0x37eb23){const _0x333a6e=_0x421733,{cmd:_0x170344}=_0x37eb23;_0x170344===W['HELLO']&&!this[_0x333a6e(0x2c0)]&&(_0x55822a[_0x333a6e(0x237)]=_0x37eb23[_0x333a6e(0x263)][_0x333a6e(0x237)],this[_0x333a6e(0x4e6)][_0x333a6e(0x537)](_0x55822a),this[_0x333a6e(0x4df)][_0x333a6e(0x537)](fe[_0x333a6e(0x16b)]),this['_socketReady']=!0x0,this[_0x333a6e(0x295)]=null),_0x170344===W[_0x333a6e(0x55e)]&&this[_0x333a6e(0x25a)](),this[_0x333a6e(0x42c)]();}['_rescheduleHeartbeat'](){const _0x38ba50=_0x421733;var _0x11e498;this[_0x38ba50(0x396)](),this[_0x38ba50(0x2dc)]=window['setTimeout'](()=>this[_0x38ba50(0x53f)](),(_0x11e498=this[_0x38ba50(0x254)][_0x38ba50(0x39e)](wn))!=null?_0x11e498:Dn);}[_0x421733(0x53f)](){const _0x94a5b=_0x421733;this[_0x94a5b(0x280)]['send']({'cmd':W[_0x94a5b(0x55e)]}),this[_0x94a5b(0x3dd)]();}['_waitForHeartbeatResponse'](){const _0x4b440d=_0x421733;var _0x5093e7;this[_0x4b440d(0x268)]=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x5093e7=this[_0x4b440d(0x254)]['getConfig'](Bi))!=null?_0x5093e7:ki);}[_0x421733(0x396)](){const _0x405851=_0x421733;this[_0x405851(0x2dc)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x421733(0x25a)](){const _0x5da8ac=_0x421733;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5da8ac(0x268)]=null);}};Me=io([ye(0x0,_0x231990(_0x1d3c8c)),ye(0x1,_0x231990(_0x3097b7)),ye(0x2,_0x2cbd8b),ye(0x3,_0x257353),ye(0x4,_0x2cfa70),ye(0x5,Vi),ye(0x6,_0x231990(_0xee3f76))],Me);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x421733(0x2ac)]((i+0x100)[_0x421733(0x353)](0x10)[_0x421733(0x3e9)](0x1));function ro(_0x22106c,_0x430b75=0x0){const _0x42097a=_0x421733;return(Y[_0x22106c[_0x430b75+0x0]]+Y[_0x22106c[_0x430b75+0x1]]+Y[_0x22106c[_0x430b75+0x2]]+Y[_0x22106c[_0x430b75+0x3]]+'-'+Y[_0x22106c[_0x430b75+0x4]]+Y[_0x22106c[_0x430b75+0x5]]+'-'+Y[_0x22106c[_0x430b75+0x6]]+Y[_0x22106c[_0x430b75+0x7]]+'-'+Y[_0x22106c[_0x430b75+0x8]]+Y[_0x22106c[_0x430b75+0x9]]+'-'+Y[_0x22106c[_0x430b75+0xa]]+Y[_0x22106c[_0x430b75+0xb]]+Y[_0x22106c[_0x430b75+0xc]]+Y[_0x22106c[_0x430b75+0xd]]+Y[_0x22106c[_0x430b75+0xe]]+Y[_0x22106c[_0x430b75+0xf]])[_0x42097a(0x278)]();}let Vt;const no=new Uint8Array(0x10);function oo(){const _0x45dfd6=_0x421733;if(!Vt){if(typeof crypto>'u'||!crypto[_0x45dfd6(0x57f)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');Vt=crypto['getRandomValues'][_0x45dfd6(0x3a0)](crypto);}return Vt(no);}const ao=typeof crypto<'u'&&crypto[_0x421733(0x1ba)]&&crypto[_0x421733(0x1ba)][_0x421733(0x3a0)](crypto),qs={'randomUUID':ao};function co(_0x1cdcec,_0x48b65c,_0x41b0dc){const _0x29ce00=_0x421733;if(qs['randomUUID']&&!_0x48b65c&&!_0x1cdcec)return qs[_0x29ce00(0x1ba)]();_0x1cdcec=_0x1cdcec||{};const _0x388647=_0x1cdcec[_0x29ce00(0x400)]||(_0x1cdcec[_0x29ce00(0x452)]||oo)();return _0x388647[0x6]=_0x388647[0x6]&0xf|0x40,_0x388647[0x8]=_0x388647[0x8]&0x3f|0x80,ro(_0x388647);}var ho=Object[_0x421733(0x1c6)],lo=Object[_0x421733(0x2e2)],_o=(_0x3e985d,_0x1e0fe9,_0x21c49b,_0x30667a)=>{const _0x4c0cb5=_0x421733;for(var _0x532a0d=_0x30667a>0x1?void 0x0:_0x30667a?lo(_0x1e0fe9,_0x21c49b):_0x1e0fe9,_0x2df7d3=_0x3e985d[_0x4c0cb5(0x4b1)]-0x1,_0x32a3e4;_0x2df7d3>=0x0;_0x2df7d3--)(_0x32a3e4=_0x3e985d[_0x2df7d3])&&(_0x532a0d=(_0x30667a?_0x32a3e4(_0x1e0fe9,_0x21c49b,_0x532a0d):_0x32a3e4(_0x532a0d))||_0x532a0d);return _0x30667a&&_0x532a0d&&ho(_0x1e0fe9,_0x21c49b,_0x532a0d),_0x532a0d;},Gt=(_0x3fe781,_0x519841)=>(_0x564288,_0x4177f2)=>_0x519841(_0x564288,_0x4177f2,_0x3fe781);let Ot=class{constructor(_0x2f9370,_0x1de736,_0x47c0c1){const _0x5e6544=_0x421733;this[_0x5e6544(0x30b)]=_0x2f9370,this['_transformService']=_0x1de736,this[_0x5e6544(0x370)]=_0x47c0c1;}[_0x421733(0x3c4)](_0xd46c8e){const _0x14cdb7=_0x421733;this[_0x14cdb7(0x3b5)](_0xd46c8e),this[_0x14cdb7(0x553)](_0xd46c8e);}[_0x421733(0x275)](_0x310737){const _0x246279=_0x421733,{unitID:_0x319a04}=_0x310737,_0x13b652=this['_renderManagerService'][_0x246279(0x45b)](_0x319a04)['with'](_0xbafc24),{redoCache:_0x48576c}=_0x13b652[_0x246279(0x39f)]();if(_0x48576c[_0x246279(0x4b1)]===0x0)return _0x310737;let _0xf4dcde=_0x4705c7[_0x246279(0x26d)](_0x310737['mutations'][0x0]);for(let _0x1e0cfc=0x0;_0x1e0cfc<_0x48576c['length'];_0x1e0cfc++){const _0x1138bb={'id':_0x246279(0x2b5),'params':{..._0x48576c[_0x1e0cfc]}},_0x5a2f17=this[_0x246279(0x579)][_0x246279(0x358)](_0xf4dcde,_0x1138bb,!0x1);if(_0x2f8c79(_0x5a2f17))throw _0x5a2f17['error'];_0xf4dcde=_0x5a2f17[_0x246279(0x1c9)];}return{..._0x4705c7[_0x246279(0x26d)](_0x310737),'mutations':[_0xf4dcde]};}[_0x421733(0x3b5)](_0x144261){const _0x32034c=_0x421733,{unitID:_0x3809aa}=_0x144261,_0x5dfcc5=this['_renderManagerService'][_0x32034c(0x45b)](_0x3809aa)[_0x32034c(0x56f)](_0xbafc24),{undoCache:_0x4da780,redoCache:_0x532d94}=_0x5dfcc5[_0x32034c(0x39f)]();if(_0x4da780[_0x32034c(0x4b1)]===0x0||_0x532d94['length']===0x0)return;const _0xcfc827=[],_0x362c36=[];let _0xe2d4eb=_0x4705c7[_0x32034c(0x26d)](_0x144261[_0x32034c(0x501)][0x0]),_0x1bee02=_0x4705c7['deepClone'](_0x144261['mutations'][0x0]);for(let _0x1920d5=_0x4da780['length']-0x1;_0x1920d5>=0x0;_0x1920d5--){const _0x1f052d={'id':_0x32034c(0x2b5),'params':{..._0x4da780[_0x1920d5]}},_0x2f7c7e={'id':_0x32034c(0x2b5),'params':{..._0x532d94[_0x1920d5]}},_0x10e20b=this['_transformService'][_0x32034c(0x358)](_0xe2d4eb,_0x1f052d,!0x1),_0x1877eb=this[_0x32034c(0x579)][_0x32034c(0x358)](_0x1bee02,_0x2f7c7e,!0x1);if(_0x2f8c79(_0x10e20b))throw _0x10e20b[_0x32034c(0x3ff)];if(_0x2f8c79(_0x1877eb))throw _0x1877eb['error'];_0xcfc827[_0x32034c(0x3a1)](_0x10e20b['m2Prime'][_0x32034c(0x3ba)]),_0x362c36[_0x32034c(0x3a1)](_0x1877eb['m2Prime']['params']),_0xe2d4eb=_0x10e20b[_0x32034c(0x1c9)],_0x1bee02=_0x1877eb['m1Prime'];}_0x5dfcc5[_0x32034c(0x190)]({'undoCache':_0xcfc827,'redoCache':_0x362c36});}[_0x421733(0x553)](_0x4e2981){const _0x40b734=_0x421733,{unitID:_0xcc2e2a}=_0x4e2981,_0x1407b7=this[_0x40b734(0x370)]['getRenderById'](_0xcc2e2a)[_0x40b734(0x56f)](_0xbafc24),_0x1e91fa=_0x1407b7[_0x40b734(0x590)]();if(_0x1e91fa==null)return;const _0x30a5be=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e2981[_0x40b734(0x4f8)],'actions':null,'textRanges':[_0x1e91fa]}}],_0x48dd68=this[_0x40b734(0x579)]['transformMutationsWithChangeset'](_0x4e2981,_0x30a5be);if(!_0x3755b3(_0x48dd68))throw _0x48dd68[_0x40b734(0x3ff)];const _0x210000=_0x48dd68[_0x40b734(0x4e7)][0x0][_0x40b734(0x3ba)]['textRanges'];Array[_0x40b734(0x43c)](_0x210000)&&_0x210000[_0x40b734(0x4b1)]&&_0x1407b7[_0x40b734(0x28e)](_0x210000[0x0]);}};Ot=_o([Gt(0x0,_0x231990(_0x1d3c8c)),Gt(0x1,_0x2b2256),Gt(0x2,_0x5d57fe)],Ot);var uo=Object[_0x421733(0x1c6)],fo=Object[_0x421733(0x2e2)],vo=(_0x4db69e,_0x2eb116,_0x631b49,_0x2f9b0f)=>{const _0x55ce75=_0x421733;for(var _0x5bd0d6=_0x2f9b0f>0x1?void 0x0:_0x2f9b0f?fo(_0x2eb116,_0x631b49):_0x2eb116,_0x8769bc=_0x4db69e[_0x55ce75(0x4b1)]-0x1,_0x3d8426;_0x8769bc>=0x0;_0x8769bc--)(_0x3d8426=_0x4db69e[_0x8769bc])&&(_0x5bd0d6=(_0x2f9b0f?_0x3d8426(_0x2eb116,_0x631b49,_0x5bd0d6):_0x3d8426(_0x5bd0d6))||_0x5bd0d6);return _0x2f9b0f&&_0x5bd0d6&&uo(_0x2eb116,_0x631b49,_0x5bd0d6),_0x5bd0d6;},ze=(_0x415b66,_0x29cf1e)=>(_0x49675a,_0x1c4560)=>_0x29cf1e(_0x49675a,_0x1c4560,_0x415b66);let z=class extends _0x36e463{constructor(_0x383054,_0x5ec6c1,_0x4c2f17,_0x45b823,_0x24ee14){const _0x22b6d6=_0x421733;super(),g(this,_0x22b6d6(0x231),new Map()),g(this,_0x22b6d6(0x21d),new Map()),g(this,'_disabled',!0x1),(this[_0x22b6d6(0x254)]=_0x383054,this[_0x22b6d6(0x26b)]=_0x5ec6c1,this[_0x22b6d6(0x561)]=_0x4c2f17,this[_0x22b6d6(0x41a)]=_0x45b823,this[_0x22b6d6(0x250)]=_0x24ee14,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){const _0x48be79=_0x421733;this[_0x48be79(0x291)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}[_0x421733(0x40d)](){const _0x365d42=_0x421733;this[_0x365d42(0x1f7)]()[_0x365d42(0x1b0)](()=>super['dispose']());}async[_0x421733(0x412)](_0x3b0ba6){const _0xd63f04=_0x421733;return this['_disabled']?null:this[_0xd63f04(0x26b)][_0xd63f04(0x525)](zs(_0x3b0ba6));}async[_0x421733(0x183)](_0x5caaa3,_0x384a79){const _0x21959f=_0x421733;return!!this['_localStorageService'][_0x21959f(0x241)](_0x5caaa3,_0x384a79);}[_0x421733(0x1a8)](_0x321bab,_0x38b388,_0xd768b7,_0x462be3){const _0x4110c2=_0x421733,_0x17b393=this['_revisionService'][_0x4110c2(0x3c0)](_0x321bab);this['_cachedData'][_0x4110c2(0x228)](_0x321bab,{'unitID':_0x321bab,'type':_0x38b388,'awaitingChangeset':_0xd768b7,'mutations':_0x462be3,'rev':_0x17b393}),this[_0x4110c2(0x21d)][_0x4110c2(0x247)](_0x321bab)||this[_0x4110c2(0x3f1)](_0x321bab);}['_scheduleSaving'](_0x50ba82){const _0x5e26da=_0x421733,_0x1e1512=this['_getSaveTimeout']();_0x1e1512===0x0?this[_0x5e26da(0x2c7)](_0x50ba82):this['_saveTaskMap'][_0x5e26da(0x228)](_0x50ba82,setTimeout(()=>this[_0x5e26da(0x2c7)](_0x50ba82),_0x1e1512));}[_0x421733(0x19b)](){const _0x281686=_0x421733;var _0xac71f2;return(_0xac71f2=this[_0x281686(0x254)]['getConfig'](An))!=null?_0xac71f2:Mn;}[_0x421733(0x2c7)](_0x3e82d3){const _0x8504e2=_0x421733,_0x5a8274=this[_0x8504e2(0x21d)]['get'](_0x3e82d3);return _0x5a8274!==void 0x0&&window[_0x8504e2(0x1ff)](_0x5a8274),this[_0x8504e2(0x26b)]['setItem'](zs(_0x3e82d3),this[_0x8504e2(0x231)][_0x8504e2(0x37c)](_0x3e82d3))[_0x8504e2(0x1b0)](()=>this[_0x8504e2(0x21d)][_0x8504e2(0x2d8)](_0x3e82d3));}async[_0x421733(0x1f7)](){const _0x3d4613=_0x421733,_0x7714c3=[];this['_saveTaskMap'][_0x3d4613(0x2d2)]((_0x2b6e2f,_0x1401d3)=>{const _0x287b8b=_0x3d4613;window['clearTimeout'](_0x2b6e2f),_0x7714c3['push'](this['_saveCache'](_0x1401d3)[_0x287b8b(0x1b0)](()=>{const _0x37441b=_0x287b8b;this[_0x37441b(0x21d)][_0x37441b(0x2d8)](_0x1401d3);}));}),await Promise['all'](_0x7714c3);}['_setupBeforeClosingHandler'](){const _0x1b34b9=_0x421733;this[_0x1b34b9(0x40e)](this['_beforeCloseService'][_0x1b34b9(0x461)](()=>{const _0xac5872=_0x1b34b9;if(this[_0xac5872(0x21d)][_0xac5872(0x402)])return this[_0xac5872(0x41a)]['t'](_0xac5872(0x198));}));}};z=vo([ze(0x0,_0x2cfa70),ze(0x1,_0x3ff966),ze(0x2,_0x59d4b7),ze(0x3,_0x231990(_0x3097b7)),ze(0x4,_0x231990(_0x2467a7))],z);function zs(_0x259aed){const _0x1b6c31=_0x421733;return _0x1b6c31(0x505)+_0x259aed;}var po=Object[_0x421733(0x1c6)],mo=Object['getOwnPropertyDescriptor'],go=(_0x15e01d,_0x4d2af0,_0x3ae7a5,_0x1c6905)=>{for(var _0x367b17=_0x1c6905>0x1?void 0x0:_0x1c6905?mo(_0x4d2af0,_0x3ae7a5):_0x4d2af0,_0x5dff02=_0x15e01d['length']-0x1,_0x3bfaf0;_0x5dff02>=0x0;_0x5dff02--)(_0x3bfaf0=_0x15e01d[_0x5dff02])&&(_0x367b17=(_0x1c6905?_0x3bfaf0(_0x4d2af0,_0x3ae7a5,_0x367b17):_0x3bfaf0(_0x367b17))||_0x367b17);return _0x1c6905&&_0x367b17&&po(_0x4d2af0,_0x3ae7a5,_0x367b17),_0x367b17;},Yt=(_0x1e99ac,_0x2b525a)=>(_0x10041,_0x764b55)=>_0x2b525a(_0x10041,_0x764b55,_0x1e99ac);function So(_0x1443c4){const _0x20c2fd=_0x421733,{unitID:_0x27fecd,mutations:_0x23c252}=_0x1443c4;return{'unitId':_0x27fecd,'subUnitId':_0x23c252[0x0][_0x20c2fd(0x3ba)]['subUnitId']};}let yt=class{constructor(_0x3b61b7,_0xff378a,_0x1861f9){const _0x197fe6=_0x421733;this['_injector']=_0x3b61b7,this['_transformService']=_0xff378a,this[_0x197fe6(0x477)]=_0x1861f9;}[_0x421733(0x504)](_0x52a039){const _0x55ebbc=_0x421733;var _0x51c4e1,_0x4b4d72,_0x29ee62,_0x489e3d;const _0x6ea95e=this[_0x55ebbc(0x30b)][_0x55ebbc(0x37c)](_0x2ad53c),{unitId:_0x437ec1,subUnitId:_0x51d38c}=So(_0x52a039),_0x21f5dd=_0x6ea95e['getWorkbookSelections'](_0x437ec1)[_0x55ebbc(0x405)](),_0x28393e=(_0x4b4d72=(_0x51c4e1=this[_0x55ebbc(0x477)]['getUnit'](_0x437ec1))==null?void 0x0:_0x51c4e1[_0x55ebbc(0x40f)]())==null?void 0x0:_0x4b4d72[_0x55ebbc(0x1c8)]();if(_0x21f5dd[_0x55ebbc(0x4b1)]===0x0||!_0x437ec1||!_0x51d38c)return;const _0x52ca32=[{'id':_0x15ebeb['id'],'params':{'unitId':_0x437ec1,'subUnitId':_0x28393e,'selections':_0x4705c7[_0x55ebbc(0x26d)](_0x21f5dd)}}],_0xbaa551=this['_transformService'][_0x55ebbc(0x45f)](_0x52a039,_0x52ca32);if(!_0x3755b3(_0xbaa551))throw _0xbaa551[_0x55ebbc(0x3ff)];const _0x1246c9=(_0x489e3d=(_0x29ee62=_0xbaa551[_0x55ebbc(0x4e7)][0x0])==null?void 0x0:_0x29ee62['params'])==null?void 0x0:_0x489e3d['selections'];if(Array[_0x55ebbc(0x43c)](_0x1246c9)&&_0x1246c9['length']){if(_0x1246c9['length']===_0x52ca32[0x0]['params'][_0x55ebbc(0x1be)][_0x55ebbc(0x4b1)]&&_0x1246c9[_0x55ebbc(0x4b3)]((_0x1072ff,_0x10eb1c)=>_0x1f3690[_0x55ebbc(0x494)](_0x1072ff[_0x55ebbc(0x221)],_0x52ca32[0x0]['params'][_0x55ebbc(0x1be)][_0x10eb1c][_0x55ebbc(0x221)])))return;this['_injector'][_0x55ebbc(0x37c)](_0x5af619)[_0x55ebbc(0x37b)](_0x15ebeb['id'],{'unitId':_0x437ec1,'subUnitId':_0x28393e,'selections':_0x1246c9});}}};yt=go([Yt(0x0,_0x231990(_0x1d3c8c)),Yt(0x1,_0x2b2256),Yt(0x2,_0x186a82)],yt);const Ht=_0x5c8406(_0x421733(0x4f7));var Yi=(_0x570f0a=>(_0x570f0a[_0x570f0a['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x570f0a[_0x570f0a[_0x421733(0x1b5)]=0x1]=_0x421733(0x1b5),_0x570f0a))(Yi||{});const Xs=0x7530,Js=_0x421733(0x4fa);class Io extends _0x36e463{constructor(){const _0xb217ef=_0x421733;super(),g(this,_0xb217ef(0x539),_0x4705c7[_0xb217ef(0x3b8)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0xb217ef(0x4f5),new Map()),g(this,_0xb217ef(0x1bd),null),g(this,'_clearOtherTimers',new Map()),g(this,_0xb217ef(0x260),new Map()),this[_0xb217ef(0x483)]();}[_0x421733(0x40d)](){const _0x53e6c3=_0x421733;super[_0x53e6c3(0x40d)](),this[_0x53e6c3(0x308)][_0x53e6c3(0x2d2)]((_0x4157c1,_0x48bd94)=>this[_0x53e6c3(0x23c)](_0x48bd94)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x421733(0x4c1)](_0x474229){const _0x106673=_0x421733;return this[_0x106673(0x347)](_0x474229)['pipe'](_0x42bb6b());}['editingUnit'](_0x2465dc){const _0x4e6370=_0x421733;this['_selfUnitIDs'][_0x4e6370(0x402)]===0x0&&this[_0x4e6370(0x2bb)](),this[_0x4e6370(0x459)][_0x4e6370(0x27c)](_0x2465dc),this[_0x4e6370(0x32c)]({'type':0x0,'memberID':this[_0x4e6370(0x539)],'unitIDs':[_0x2465dc],'isForwarded':!0x1});}['disposeUnit'](_0x5b33b8){const _0x38f29c=_0x421733;this[_0x38f29c(0x459)]['delete'](_0x5b33b8),this[_0x38f29c(0x459)][_0x38f29c(0x402)]===0x0&&this[_0x38f29c(0x1bd)]&&window['clearInterval'](this[_0x38f29c(0x1bd)]);}['_init'](){const _0x4676e5=_0x421733;this[_0x4676e5(0x40e)](_0xb887b1(_0x2e9bd0(window,_0x4676e5(0x1af))['subscribe'](_0x211bb7=>{const _0x47d664=_0x4676e5;if(_0x211bb7['key']!==Js||!_0x211bb7['newValue'])return;const _0x4f3966=JSON[_0x47d664(0x2e0)](_0x211bb7[_0x47d664(0x38c)]);this[_0x47d664(0x43f)](_0x4f3966);}))),window['addEventListener'](_0x4676e5(0x1f9),()=>this[_0x4676e5(0x32c)]({'type':0x1,'memberID':this[_0x4676e5(0x539)],'unitIDs':Array[_0x4676e5(0x3a7)](this[_0x4676e5(0x459)])}));}[_0x421733(0x43f)](_0x40f738){const _0x186f5a=_0x421733;switch(_0x40f738[_0x186f5a(0x4c2)]){case 0x0:this[_0x186f5a(0x324)](_0x40f738);break;case 0x1:this[_0x186f5a(0x527)](_0x40f738);break;case 0x2:this[_0x186f5a(0x2eb)](_0x40f738);break;}}[_0x421733(0x324)](_0x17ff21){const _0x48d945=_0x421733,{unitIDs:_0x2d6c20,memberID:_0xb76b30,isForwarded:_0x1ad837}=_0x17ff21;_0x2d6c20[_0x48d945(0x2d2)](_0x1330c5=>{const _0x28121d=_0x48d945;if(!_0x1ad837&&this[_0x28121d(0x4f5)][_0x28121d(0x247)](_0x1330c5)&&this['_ensureSubject'](_0x1330c5)[_0x28121d(0x537)](0x1),!this['_unitOnClients'][_0x28121d(0x247)](_0x1330c5)||!this[_0x28121d(0x4f5)]['get'](_0x1330c5)['has'](_0xb76b30)){const _0x51d0c9=this['_unitOnClients'][_0x28121d(0x37c)](_0x1330c5)||new Set();_0x51d0c9['add'](_0xb76b30),this['_unitOnClients'][_0x28121d(0x228)](_0x1330c5,_0x51d0c9),this['_scheduleClearOtherTimer'](_0xb76b30);}}),_0x1ad837||this[_0x48d945(0x32c)]({'type':0x0,'memberID':this[_0x48d945(0x539)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x421733(0x2d0)](_0x2805cf){const _0x2da38e=_0x421733;this['_removeClearOtherTimer'](_0x2805cf);const _0x208146=window[_0x2da38e(0x3c9)](()=>{const _0x4d6afe=_0x2da38e;this[_0x4d6afe(0x4f5)][_0x4d6afe(0x2d2)](_0x531e3f=>{const _0x1b4c52=_0x4d6afe;_0x531e3f[_0x1b4c52(0x2d8)](_0x2805cf);});},Xs*0x2);this[_0x2da38e(0x308)][_0x2da38e(0x228)](_0x2805cf,_0x208146);}[_0x421733(0x23c)](_0x275e9a){const _0x48195d=_0x421733;if(this['_clearOtherTimers'][_0x48195d(0x247)](_0x275e9a)){const _0x566bc3=this['_clearOtherTimers'][_0x48195d(0x37c)](_0x275e9a);_0x566bc3&&window['clearTimeout'](_0x566bc3),this['_clearOtherTimers'][_0x48195d(0x228)](_0x275e9a,null);}}['_handleLeaveEvent'](_0x31bd0e){const _0x231635=_0x421733,{memberID:_0x3bd323,unitIDs:_0x1a847b}=_0x31bd0e;_0x1a847b['forEach'](_0x14b0c9=>{const _0xb3b768=_0x9980;var _0xcaca09;const _0x1cf0d1=this['_unitOnClients'][_0xb3b768(0x37c)](_0x14b0c9);_0x1cf0d1&&(_0x1cf0d1[_0xb3b768(0x2d8)](_0x3bd323),(_0xcaca09=this[_0xb3b768(0x347)](_0x14b0c9))==null||_0xcaca09['next'](_0x1cf0d1[_0xb3b768(0x402)]===0x0?0x0:0x1));}),this[_0x231635(0x23c)](_0x3bd323);}['_handleHeartbeatEvent'](_0x59196a){const _0x3fe407=_0x421733;this[_0x3fe407(0x2d0)](_0x59196a[_0x3fe407(0x237)]);}[_0x421733(0x32c)](_0x269f14){const _0x24fa5a=_0x421733;localStorage[_0x24fa5a(0x241)](Js,JSON['stringify'](_0x269f14));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x309e34=_0x9980;this[_0x309e34(0x32c)]({'type':0x2,'memberID':this[_0x309e34(0x539)]});},Xs);}[_0x421733(0x347)](_0x5e0633){const _0x12eac7=_0x421733;return this[_0x12eac7(0x260)][_0x12eac7(0x247)](_0x5e0633)||this[_0x12eac7(0x260)]['set'](_0x5e0633,new _0x461b47(0x0)),this[_0x12eac7(0x260)]['get'](_0x5e0633);}}var Co=Object[_0x421733(0x1c6)],Eo=Object['getOwnPropertyDescriptor'],bo=(_0x71fba3,_0x557960,_0x714b0a,_0x3e6ad5)=>{const _0x5de51e=_0x421733;for(var _0x4192f1=_0x3e6ad5>0x1?void 0x0:_0x3e6ad5?Eo(_0x557960,_0x714b0a):_0x557960,_0x504a4d=_0x71fba3[_0x5de51e(0x4b1)]-0x1,_0x2d19b5;_0x504a4d>=0x0;_0x504a4d--)(_0x2d19b5=_0x71fba3[_0x504a4d])&&(_0x4192f1=(_0x3e6ad5?_0x2d19b5(_0x557960,_0x714b0a,_0x4192f1):_0x2d19b5(_0x4192f1))||_0x4192f1);return _0x3e6ad5&&_0x4192f1&&Co(_0x557960,_0x714b0a,_0x4192f1),_0x4192f1;},Kt=(_0x6b5f28,_0x5bbc4a)=>(_0x2be190,_0x1580dc)=>_0x5bbc4a(_0x2be190,_0x1580dc,_0x6b5f28);let wt=class{constructor(_0x1c0691,_0x36747,_0x166a2c){const _0x14e45e=_0x421733;this[_0x14e45e(0x30b)]=_0x1c0691,this[_0x14e45e(0x579)]=_0x36747,this['_docStateChangeManagerService']=_0x166a2c;}['transformStateCache'](_0x215b96){const _0xf8c3a4=_0x421733;this[_0xf8c3a4(0x2b0)](_0x215b96);}[_0x421733(0x275)](_0x5c5cf8){const _0x3f36e7=_0x421733,{unitID:_0x28754c}=_0x5c5cf8,{collaboration:_0xb62556}=this[_0x3f36e7(0x3b0)][_0x3f36e7(0x4e1)](_0x28754c);if(_0xb62556[_0x3f36e7(0x4b1)]===0x0)return _0x5c5cf8;let _0x2e46c3=_0x4705c7[_0x3f36e7(0x26d)](_0x5c5cf8[_0x3f36e7(0x501)][0x0]);for(let _0x2b237f=0x0;_0x2b237f<_0xb62556[_0x3f36e7(0x4b1)];_0x2b237f++){const _0xf7423={'id':_0x3f36e7(0x2b5),'params':{'unitId':_0xb62556[_0x2b237f][_0x3f36e7(0x194)],..._0xb62556[_0x2b237f]['redoState']}},_0x2991e0=this[_0x3f36e7(0x579)][_0x3f36e7(0x358)](_0x2e46c3,_0xf7423,!0x1);if(_0x2f8c79(_0x2991e0))throw _0x2991e0['error'];_0x2e46c3=_0x2991e0[_0x3f36e7(0x1c9)];}return{..._0x4705c7[_0x3f36e7(0x26d)](_0x5c5cf8),'mutations':[_0x2e46c3]};}['_transformHistoryAndStateStack'](_0x8cee92){const _0x2460e6=_0x421733,{unitID:_0x3d2751}=_0x8cee92,{history:_0x34efa7,collaboration:_0x815d3f}=this[_0x2460e6(0x3b0)][_0x2460e6(0x4e1)](_0x3d2751);if(_0x34efa7['length']===0x0&&_0x815d3f[_0x2460e6(0x4b1)]===0x0)return;const _0x16d343=[],_0x59fc25=[];let _0x35c419=_0x4705c7['deepClone'](_0x8cee92[_0x2460e6(0x501)][0x0]),_0x2cdd66=_0x4705c7[_0x2460e6(0x26d)](_0x8cee92[_0x2460e6(0x501)][0x0]);for(let _0x5b332e=_0x34efa7[_0x2460e6(0x4b1)]-0x1;_0x5b332e>=0x0;_0x5b332e--){const _0x176759={'id':_0x2460e6(0x2b5),'params':{'unitId':_0x34efa7[_0x5b332e][_0x2460e6(0x194)],..._0x34efa7[_0x5b332e][_0x2460e6(0x3d3)]}},_0x28b37e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34efa7[_0x5b332e]['unitId'],..._0x34efa7[_0x5b332e][_0x2460e6(0x474)]}},_0x179ba0=this[_0x2460e6(0x579)][_0x2460e6(0x358)](_0x35c419,_0x176759,!0x1),_0x612616=this[_0x2460e6(0x579)]['transformMutation'](_0x2cdd66,_0x28b37e,!0x1);if(_0x2f8c79(_0x179ba0))throw _0x179ba0[_0x2460e6(0x3ff)];if(_0x2f8c79(_0x612616))throw _0x612616[_0x2460e6(0x3ff)];_0x16d343[_0x2460e6(0x3a1)]({..._0x34efa7[_0x5b332e],'undoState':_0x179ba0[_0x2460e6(0x4e7)][_0x2460e6(0x3ba)],'redoState':_0x612616['m2Prime'][_0x2460e6(0x3ba)]}),_0x35c419=_0x179ba0[_0x2460e6(0x1c9)],_0x2cdd66=_0x612616[_0x2460e6(0x1c9)];}_0x35c419=_0x4705c7[_0x2460e6(0x26d)](_0x8cee92[_0x2460e6(0x501)][0x0]),_0x2cdd66=_0x4705c7[_0x2460e6(0x26d)](_0x8cee92[_0x2460e6(0x501)][0x0]);for(let _0xf8de1c=_0x815d3f[_0x2460e6(0x4b1)]-0x1;_0xf8de1c>=0x0;_0xf8de1c--){const _0x4d4b19={'id':_0x2460e6(0x2b5),'params':{'unitId':_0x815d3f[_0xf8de1c][_0x2460e6(0x194)],..._0x815d3f[_0xf8de1c][_0x2460e6(0x3d3)]}},_0x27260d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x815d3f[_0xf8de1c][_0x2460e6(0x194)],..._0x815d3f[_0xf8de1c]['redoState']}},_0x40c18=this[_0x2460e6(0x579)][_0x2460e6(0x358)](_0x35c419,_0x4d4b19,!0x1),_0x327326=this[_0x2460e6(0x579)][_0x2460e6(0x358)](_0x2cdd66,_0x27260d,!0x1);if(_0x2f8c79(_0x40c18))throw _0x40c18[_0x2460e6(0x3ff)];if(_0x2f8c79(_0x327326))throw _0x327326['error'];_0x59fc25[_0x2460e6(0x3a1)]({..._0x815d3f[_0xf8de1c],'undoState':_0x40c18[_0x2460e6(0x4e7)][_0x2460e6(0x3ba)],'redoState':_0x327326[_0x2460e6(0x4e7)][_0x2460e6(0x3ba)]}),_0x35c419=_0x40c18[_0x2460e6(0x1c9)],_0x2cdd66=_0x327326[_0x2460e6(0x1c9)];}this['_docStateChangeManagerService'][_0x2460e6(0x3de)](_0x3d2751,{'history':_0x16d343,'collaboration':_0x59fc25});}};wt=bo([Kt(0x0,_0x231990(_0x1d3c8c)),Kt(0x1,_0x2b2256),Kt(0x2,_0x231990(_0x283ec1))],wt);function Ki(_0x2b4129){const _0x29cc4d=_0x421733;let _0x1a0d08='';for(const _0x59a02a of _0x2b4129){const {startOffset:_0x43cf2b,endOffset:_0x921072,isActive:_0x3993d2,rangeType:_0x1c4f4d,segmentId:_0x162ff4,segmentPage:_0x13220a}=_0x59a02a;_0x1a0d08[_0x29cc4d(0x4b1)]&&(_0x1a0d08+=','),_0x1a0d08+=_0x43cf2b+':'+_0x921072+':'+(_0x3993d2?'1':'0')+':'+_0x1c4f4d+':'+_0x162ff4+':'+_0x13220a;}return _0x1a0d08;}function To(_0x300208){const _0x1ca86a=_0x421733,_0x1ba599=_0x300208[_0x1ca86a(0x233)](','),_0x51af91=[];for(const _0x54dedc of _0x1ba599){const [_0x432e8a,_0x13ab40,_0x386420,_0x1876c3,_0x16cd38,_0x4f3b96]=_0x54dedc[_0x1ca86a(0x233)](':');_0x51af91[_0x1ca86a(0x2ac)]({'startOffset':Number(_0x432e8a),'endOffset':Number(_0x13ab40),'collapsed':_0x432e8a===_0x13ab40,'isActive':_0x386420==='1','rangeType':_0x1876c3===_0x24d6fa[_0x1ca86a(0x480)]?_0x24d6fa['TEXT']:_0x24d6fa['RECT'],'segmentId':typeof _0x16cd38==_0x1ca86a(0x354)?String(_0x16cd38):'','segmentPage':Number(_0x4f3b96!=null?_0x4f3b96:-0x1)});}return _0x51af91[_0x1ca86a(0x3b6)](_0xfe7a2b=>_0xfe7a2b['isActive'])||(_0x51af91[0x0]['isActive']=!0x0),_0x51af91;}class Ds extends _0x33a3aa{constructor(){const _0x4b4cb9=_0x421733;super(...arguments),g(this,'_collabCursorState$',new _0x461b47(null)),g(this,'collabCursorState$',this['_collabCursorState$'][_0x4b4cb9(0x314)]());}[_0x421733(0x172)](_0x4ed67b){const _0x45fb3d=_0x421733,{unitID:_0x463607,memberID:_0x59fa45,textRanges:_0x2cbab2}=_0x4ed67b,_0x593e48=Ki(_0x2cbab2);if(_0x593e48==='')return;const _0x406a49={'unitID':_0x463607,'memberID':_0x59fa45,'selection':_0x593e48};this[_0x45fb3d(0x1e2)][_0x45fb3d(0x537)](_0x406a49);}}var Ro=Object[_0x421733(0x1c6)],Oo=Object[_0x421733(0x2e2)],yo=(_0x2c3410,_0x2bd820,_0x5546d2,_0x55d5d7)=>{for(var _0x1590a3=_0x55d5d7>0x1?void 0x0:_0x55d5d7?Oo(_0x2bd820,_0x5546d2):_0x2bd820,_0x37d5c8=_0x2c3410['length']-0x1,_0x336d38;_0x37d5c8>=0x0;_0x37d5c8--)(_0x336d38=_0x2c3410[_0x37d5c8])&&(_0x1590a3=(_0x55d5d7?_0x336d38(_0x2bd820,_0x5546d2,_0x1590a3):_0x336d38(_0x1590a3))||_0x1590a3);return _0x55d5d7&&_0x1590a3&&Ro(_0x2bd820,_0x5546d2,_0x1590a3),_0x1590a3;},Zs=(_0x4c4914,_0x45fb10)=>(_0x12eb24,_0x4a63c8)=>_0x45fb10(_0x12eb24,_0x4a63c8,_0x4c4914);let Dt=class{constructor(_0x5dacd4,_0x274b50){const _0x3f5e5a=_0x421733;this[_0x3f5e5a(0x30b)]=_0x5dacd4,this[_0x3f5e5a(0x579)]=_0x274b50;}['transformSelections'](_0x38ab1d){const _0x14f3ef=_0x421733;var _0x40eb23;const _0x4fff8f=this[_0x14f3ef(0x30b)]['get'](_0x41a45f),_0x506f7b=(_0x40eb23=_0x4fff8f[_0x14f3ef(0x46f)]())!=null?_0x40eb23:[];if(_0x506f7b['length']===0x0)return;const _0x29232e=_0x38ab1d[_0x14f3ef(0x4f8)],_0x1e9ed4=[{'id':_0x14f3ef(0x2b5),'params':{'unitId':_0x29232e,'actions':null,'textRanges':_0x506f7b}}],_0x3665ef=this[_0x14f3ef(0x579)][_0x14f3ef(0x45f)](_0x38ab1d,_0x1e9ed4);if(!_0x3755b3(_0x3665ef))throw _0x3665ef[_0x14f3ef(0x3ff)];const _0x52fe94=_0x3665ef['m2Prime'][0x0]['params']['textRanges'];Array['isArray'](_0x52fe94)&&_0x52fe94[_0x14f3ef(0x4b1)]&&_0x4fff8f[_0x14f3ef(0x4c4)](_0x52fe94,{'unitId':_0x29232e,'subUnitId':_0x29232e},!0x1);}};Dt=yo([Zs(0x0,_0x231990(_0x1d3c8c)),Zs(0x1,_0x2b2256)],Dt);const wo=new Set([_0xbce329['id']]);function Qs(_0x51262d,_0x489aa8,_0x25830f,_0x1904a5,_0xcb8e69){const _0x36fa48=_0x421733;var _0x245370,_0x1b3ee9,_0xe314d6,_0x3edf79;const _0x3dd906=[];for(const _0x3bc912 of _0x51262d)if(wo['has'](_0x3bc912['id'])){if(_0x3dd906['length']>0x0)break;_0x3dd906[_0x36fa48(0x2ac)](_0x3bc912);break;}else _0x3dd906[_0x36fa48(0x2ac)](_0x3bc912);const _0x5e93d3=(_0x1b3ee9=(_0x245370=_0xcb8e69[_0x36fa48(0x290)]())==null?void 0x0:_0x245370['userID'])!=null?_0x1b3ee9:_0x36fa48(0x2a0),_0x4b1600=(_0x3edf79=(_0xe314d6=_0xcb8e69['getCurrentUser']())==null?void 0x0:_0xe314d6[_0x36fa48(0x237)])!=null?_0x3edf79:_0x36fa48(0x2a0);return{'changeset':{'unitID':_0x489aa8,'type':_0x556097(_0x25830f[_0x36fa48(0x300)](_0x489aa8)),'baseRev':_0x1904a5[_0x36fa48(0x3c0)](_0x489aa8),'revision':0x0,'userID':_0x5e93d3,'memberID':_0x4b1600,'mutations':_0x3dd906},'pendingMutations':_0x51262d['slice'](_0x3dd906[_0x36fa48(0x4b1)])};}function Do(_0xe4579d,_0x127fcb,_0x422343,_0x13c46e,_0x2cda47){const _0x482c81=_0x421733;var _0x29e8b3,_0x39c26a,_0x7b662,_0x31e962;const _0x391cfa=[_0xe4579d[_0x482c81(0x1b2)]((_0xfb99d6,_0x34eb62)=>{const _0x3a74f9=_0x482c81;var _0x543aaa;const {id:_0x3fb700}=_0xfb99d6,{id:_0x2c3d9c,type:_0x493e7f}=_0x34eb62,_0x29d069=(_0x543aaa=_0xfb99d6[_0x3a74f9(0x3ba)])!=null?_0x543aaa:{'actions':null},_0xa9287f=_0x34eb62['params'];if(_0x3fb700&&_0x3fb700!==_0x2c3d9c)throw new Error(_0x3a74f9(0x1c5)+_0x3fb700+_0x3a74f9(0x3f9)+_0x2c3d9c+'.');return{..._0xfb99d6,'id':_0x2c3d9c,'type':_0x493e7f,'params':{'unitId':_0xa9287f[_0x3a74f9(0x194)],'textRanges':_0xa9287f[_0x3a74f9(0x2a9)],'actions':_0x172e20[_0x3a74f9(0x318)](_0x29d069[_0x3a74f9(0x276)],_0xa9287f[_0x3a74f9(0x276)])}};},{})],_0x16af90=(_0x39c26a=(_0x29e8b3=_0x2cda47[_0x482c81(0x290)]())==null?void 0x0:_0x29e8b3[_0x482c81(0x24a)])!=null?_0x39c26a:'unknown',_0x144a2b=(_0x31e962=(_0x7b662=_0x2cda47[_0x482c81(0x290)]())==null?void 0x0:_0x7b662[_0x482c81(0x237)])!=null?_0x31e962:_0x482c81(0x2a0);return{'changeset':{'unitID':_0x127fcb,'type':_0x556097(_0x422343[_0x482c81(0x300)](_0x127fcb)),'baseRev':_0x13c46e['getCurrentRevOfUnit'](_0x127fcb),'revision':0x0,'userID':_0x16af90,'memberID':_0x144a2b,'mutations':_0x391cfa},'pendingMutations':[]};}function qi(_0x4c94ab,_0x8b70f5){const _0xdf6ca8=_0x421733,_0x459b7b=new _0x16723c(0x1);return setTimeout(()=>_0x459b7b[_0xdf6ca8(0x537)](_0x8b70f5),_0x4c94ab),_0x459b7b[_0xdf6ca8(0x314)]()[_0xdf6ca8(0x552)](_0x329c5b(0x1));}const Po={'id':_0x3cc519['id'],'type':_0x330e8b[_0x421733(0x446)],'params':{}};var Uo=Object[_0x421733(0x1c6)],No=Object[_0x421733(0x2e2)],Le=(_0x474d78,_0xf02036,_0x33a90b,_0x2542db)=>{for(var _0xa1d21a=_0x2542db>0x1?void 0x0:_0x2542db?No(_0xf02036,_0x33a90b):_0xf02036,_0xe99829=_0x474d78['length']-0x1,_0x316be0;_0xe99829>=0x0;_0xe99829--)(_0x316be0=_0x474d78[_0xe99829])&&(_0xa1d21a=(_0x2542db?_0x316be0(_0xf02036,_0x33a90b,_0xa1d21a):_0x316be0(_0xa1d21a))||_0xa1d21a);return _0x2542db&&_0xa1d21a&&Uo(_0xf02036,_0x33a90b,_0xa1d21a),_0xa1d21a;},A=(_0x3a547d,_0x42be08)=>(_0x2acbc1,_0xf6c09b)=>_0x42be08(_0x2acbc1,_0xf6c09b,_0x3a547d),J=(_0x3f6915=>(_0x3f6915['NOT_COLLAB']=_0x421733(0x533),_0x3f6915[_0x421733(0x213)]=_0x421733(0x294),_0x3f6915[_0x421733(0x436)]='pending',_0x3f6915[_0x421733(0x4d2)]=_0x421733(0x17c),_0x3f6915['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x3f6915['FETCH_MISS']=_0x421733(0x404),_0x3f6915[_0x421733(0x31d)]=_0x421733(0x2d7),_0x3f6915[_0x421733(0x541)]=_0x421733(0x4fb),_0x3f6915))(J||{});const zi=0xea60;class $e{constructor(_0x5f0f47,_0x29a79c,_0x302b5f,_0x182577,_0x4b1375,_0x3408b2,_0x498e77,_0x5c9956,_0x4bedf4){const _0x485c61=_0x421733;g(this,_0x485c61(0x392),null),g(this,_0x485c61(0x4d1),[]),(this[_0x485c61(0x4f8)]=_0x5f0f47,this[_0x485c61(0x4c2)]=_0x29a79c,this[_0x485c61(0x27f)]=_0x4b1375,this[_0x485c61(0x39a)]=_0x3408b2,this[_0x485c61(0x484)]=_0x498e77,this[_0x485c61(0x250)]=_0x5c9956,this[_0x485c61(0x434)]=_0x4bedf4,this[_0x485c61(0x392)]=_0x302b5f,this[_0x485c61(0x4d1)]=_0x182577);}[_0x421733(0x560)](_0x5ea32e){const _0x4d38b8=_0x421733,_0x1d1197=this[_0x4d38b8(0x250)][_0x4d38b8(0x3c0)](this['unitID']);return _0x5ea32e[_0x4d38b8(0x55f)]>_0x1d1197+0x1?(this[_0x4d38b8(0x27f)][_0x4d38b8(0x1ca)]({'from':_0x1d1197,'to':_0x5ea32e[_0x4d38b8(0x55f)]-0x1}),!0x0):!0x1;}[_0x421733(0x53e)](_0x36ea2e){const _0x23bb6d=_0x421733;this[_0x23bb6d(0x484)][_0x23bb6d(0x1f5)](this[_0x23bb6d(0x4f8)],_0x36ea2e);}[_0x421733(0x506)](_0x3a1f9f){const _0x3705a4=_0x421733;var _0x1ca4f3,_0x2a9cf3;(_0x2a9cf3=(_0x1ca4f3=this[_0x3705a4(0x27f)])[_0x3705a4(0x35c)])==null||_0x2a9cf3['call'](_0x1ca4f3,_0x3a1f9f);}[_0x421733(0x31e)](_0x10e1ae){const _0x341570=_0x421733;var _0x10bb23,_0x288a48;return(_0x288a48=(_0x10bb23=this[_0x341570(0x27f)])['onTransformIME'])==null?void 0x0:_0x288a48['call'](_0x10bb23,_0x10e1ae);}[_0x421733(0x571)](_0x395e7e){const _0x2569fc=_0x421733;var _0x37fa47,_0x3ae390;return(_0x3ae390=(_0x37fa47=this[_0x2569fc(0x27f)])[_0x2569fc(0x3f4)])==null?void 0x0:_0x3ae390[_0x2569fc(0x4bf)](_0x37fa47,_0x395e7e);}['_transformRemoteChangesetByIMECache'](_0x28bea8){const _0x37423e=_0x421733;var _0x5b7f90,_0x5ac5a3,_0x42e0b0;return(_0x42e0b0=(_0x5ac5a3=(_0x5b7f90=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5ac5a3[_0x37423e(0x4bf)](_0x5b7f90,_0x28bea8))!=null?_0x42e0b0:_0x28bea8;}[_0x421733(0x510)](_0x5a8fe3){const _0x2bb60b=_0x421733;var _0x27d4b3,_0x3aac44,_0x71b0e5;return(_0x71b0e5=(_0x3aac44=(_0x27d4b3=this[_0x2bb60b(0x27f)])[_0x2bb60b(0x298)])==null?void 0x0:_0x3aac44[_0x2bb60b(0x4bf)](_0x27d4b3,_0x5a8fe3))!=null?_0x71b0e5:_0x5a8fe3;}[_0x421733(0x239)](_0x54bb12){const _0x390d05=_0x421733;var _0x16e292,_0x45758d;if(this[_0x390d05(0x4c2)]===ae[_0x390d05(0x42a)]){const {unitID:_0x2d805d,mutations:_0x549f3e,memberID:_0x57ba7e}=_0x54bb12,_0x246358=_0x549f3e[0x0]['params'][_0x390d05(0x2a9)];Array[_0x390d05(0x43c)](_0x246358)&&_0x246358[_0x390d05(0x4b1)]>0x0&&((_0x45758d=(_0x16e292=this[_0x390d05(0x27f)])['onSyncEditingCollabCursor'])==null||_0x45758d[_0x390d05(0x4bf)](_0x16e292,{'unitID':_0x2d805d,'memberID':_0x57ba7e,'textRanges':_0x246358}));}}['_updateLocalCache'](){const _0x25af62=_0x421733;this[_0x25af62(0x434)]['updateOfflineData'](this[_0x25af62(0x4f8)],this[_0x25af62(0x4c2)],this[_0x25af62(0x392)],this[_0x25af62(0x4d1)]);}[_0x421733(0x1d3)](){const _0x268186=_0x421733;return this['_revisionService'][_0x268186(0x3c0)](this['unitID']);}[_0x421733(0x454)](){const _0xe2b81e=_0x421733;this[_0xe2b81e(0x250)][_0xe2b81e(0x305)](this['unitID']);}[_0x421733(0x593)](_0x367f90){const _0x321ed7=_0x421733;var _0x1399f5;let _0x319c51=this[_0x321ed7(0x585)](_0x367f90);_0x319c51=this[_0x321ed7(0x510)](_0x319c51);const _0x5294ef=_0x169100(_0x319c51[_0x321ed7(0x501)],this[_0x321ed7(0x39a)],{'fromCollab':!0x0});if(!_0x5294ef[_0x321ed7(0x259)])throw _0x5294ef[_0x321ed7(0x3ff)]instanceof Error?_0x5294ef[_0x321ed7(0x3ff)]:new Error((_0x1399f5=_0x5294ef[_0x321ed7(0x3ff)])!=null?_0x1399f5:_0x321ed7(0x587));this[_0x321ed7(0x31e)](_0x319c51),this[_0x321ed7(0x571)](_0x319c51),this[_0x321ed7(0x53e)](_0x367f90),this[_0x321ed7(0x506)](_0x319c51),this[_0x321ed7(0x239)](_0x319c51),this[_0x321ed7(0x454)]();}}let We=class extends $e{constructor(_0x2d166a,_0x57c269,_0xe58e7d,_0x164f1e,_0x10842,_0x6945c2,_0x164244,_0x5db43a,_0x23ecb1,_0xbb93f6){const _0x435f40=_0x421733;super(_0x2d166a,_0x57c269,null,[],_0xe58e7d,_0x5db43a,_0x164244,_0x164f1e,_0x10842),g(this,'status',_0x435f40(0x294)),(this['_injector']=_0x6945c2,this[_0x435f40(0x3b4)]=_0x23ecb1,this['_transformService']=_0xbb93f6);}[_0x421733(0x214)](_0x474bdc){const _0x380729=_0x421733,_0x4dd988=this[_0x380729(0x30b)][_0x380729(0x341)](pe,this[_0x380729(0x4f8)],this[_0x380729(0x4c2)],[_0x474bdc],this['_handler']);return _0x4dd988[_0x380729(0x2e8)](),_0x4dd988[_0x380729(0x2ad)](),_0x4dd988;}['onRemoteChangeset'](_0x25959f){const _0x596b05=_0x421733;if(this[_0x596b05(0x560)](_0x25959f))return this['_injector'][_0x596b05(0x341)](ce,this['unitID'],this[_0x596b05(0x4c2)],null,[],null,[_0x25959f],this[_0x596b05(0x27f)]);try{const _0xac69ad=this[_0x596b05(0x579)][_0x596b05(0x45f)](_0x25959f,[Po]);if(_0x3755b3(_0xac69ad)){const {c1Prime:_0x4431e7}=_0xac69ad;return this[_0x596b05(0x593)](_0x4431e7),this;}throw _0xac69ad[_0x596b05(0x3ff)];}catch(_0x34d95e){return this[_0x596b05(0x3b4)][_0x596b05(0x3ff)](_0x34d95e),this[_0x596b05(0x363)](!0x1);}}['_onConflict'](_0x106bd3){const _0x1e3cb0=_0x421733;return this[_0x1e3cb0(0x30b)][_0x1e3cb0(0x341)](Re,this[_0x1e3cb0(0x4f8)],this[_0x1e3cb0(0x4c2)],null,[],this['_handler'],_0x106bd3);}[_0x421733(0x1c3)](){const _0x1ed772=_0x421733;throw new Error(_0x1ed772(0x578));}['onRemoteRej'](){const _0xce5a32=_0x421733;throw new Error(_0xce5a32(0x429));}['onRemoteRetry'](){return this;}[_0x421733(0x3af)](){const _0x310b7f=_0x421733;return this['_injector'][_0x310b7f(0x341)](Oe,this[_0x310b7f(0x4f8)],this['type'],null,[],this[_0x310b7f(0x27f)]);}[_0x421733(0x17f)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){const _0x233027=_0x421733,_0x553b96=this[_0x233027(0x250)]['getCurrentRevOfUnit'](this[_0x233027(0x4f8)]);return this[_0x233027(0x27f)][_0x233027(0x1ca)]({'from':_0x553b96,'to':0x0}),this['_injector'][_0x233027(0x341)](ce,this[_0x233027(0x4f8)],this[_0x233027(0x4c2)],null,[],null,[],this[_0x233027(0x27f)]);}};We=Le([A(0x3,_0x231990(_0x2467a7)),A(0x4,_0x231990(z)),A(0x5,_0x231990(_0x1d3c8c)),A(0x6,_0x306efe),A(0x7,_0x5af619),A(0x8,_0x257353),A(0x9,_0x2b2256)],We);let pe=class extends $e{constructor(_0x2a8a2b,_0x4072d8,_0x3084d3,_0x557fd9,_0x5653f5,_0x5e7e41,_0x1b7788,_0x33d969,_0x1bb36d,_0x3d74f8,_0x41780d,_0xef2702,_0x458028,_0x5394ea){const _0x6354c6=_0x421733;super(_0x2a8a2b,_0x4072d8,null,_0x3084d3,_0x557fd9,_0x3d74f8,_0x5394ea,_0x5e7e41,_0x1b7788),g(this,'status',_0x6354c6(0x4a9)),g(this,_0x6354c6(0x325),null),g(this,_0x6354c6(0x36a),null),(this['_injector']=_0x5653f5,this['_memberService']=_0x33d969,this[_0x6354c6(0x3b4)]=_0x1bb36d,this['_configService']=_0x41780d,this[_0x6354c6(0x579)]=_0xef2702,this['_univerInstanceService']=_0x458028);}[_0x421733(0x214)](_0x31da66){const _0x1ea5e8=_0x421733;return this[_0x1ea5e8(0x4d1)]['push'](_0x31da66),this[_0x1ea5e8(0x2ad)](),this;}[_0x421733(0x1b9)](_0x20f162){const _0x1e881f=_0x421733;if(this['_checkMissing'](_0x20f162))return this[_0x1e881f(0x39b)](),this[_0x1e881f(0x30b)][_0x1e881f(0x341)](ce,this[_0x1e881f(0x4f8)],this[_0x1e881f(0x4c2)],null,this[_0x1e881f(0x4d1)],null,[_0x20f162],this['_handler']);try{const _0x585950=this['_transformService'][_0x1e881f(0x45f)](_0x20f162,this[_0x1e881f(0x4d1)]);if(_0x3755b3(_0x585950)){const {c1Prime:_0xa6fe5f,m2Prime:_0xb01945}=_0x585950;this[_0x1e881f(0x593)](_0xa6fe5f);const _0x5b2f96=this['_injector']['createInstance'](pe,this[_0x1e881f(0x4f8)],this[_0x1e881f(0x4c2)],_0xb01945,this[_0x1e881f(0x27f)]);return this['_clearScheduledTask'](),_0x5b2f96[_0x1e881f(0x2e8)](this[_0x1e881f(0x325)]?Math[_0x1e881f(0x256)](0x0,new Date()[_0x1e881f(0x2fb)]()-this[_0x1e881f(0x325)]):this[_0x1e881f(0x1b3)]()),_0x5b2f96;}throw _0x585950[_0x1e881f(0x3ff)];}catch(_0x455b63){return this['_logService'][_0x1e881f(0x3ff)](_0x455b63),this[_0x1e881f(0x363)](!0x1);}}[_0x421733(0x1c3)](){const _0x10b921=_0x421733;throw new Error(_0x10b921(0x51c));}[_0x421733(0x46c)](){const _0x20d5ef=_0x421733;throw new Error(_0x20d5ef(0x350));}[_0x421733(0x2be)](){return this;}['toggleOffline'](){const _0x18afa7=_0x421733;return this[_0x18afa7(0x39b)](),this[_0x18afa7(0x30b)][_0x18afa7(0x341)](Oe,this[_0x18afa7(0x4f8)],this[_0x18afa7(0x4c2)],null,this[_0x18afa7(0x4d1)],this[_0x18afa7(0x27f)]);}[_0x421733(0x17f)](){return this;}[_0x421733(0x2e8)](_0x540571){const _0x49e488=_0x421733,_0x2b3d6b=_0x540571!=null?_0x540571:this[_0x49e488(0x1b3)]();this[_0x49e488(0x325)]=new Date()[_0x49e488(0x2fb)](),this['_sendingTimer']=window['setTimeout'](()=>{const _0x228bdb=_0x49e488;this[_0x228bdb(0x39b)]();let _0x5a96d9=null;switch(this['type']){case ae[_0x228bdb(0x219)]:{_0x5a96d9=Qs(this[_0x228bdb(0x4d1)],this[_0x228bdb(0x4f8)],this[_0x228bdb(0x49a)],this[_0x228bdb(0x250)],this[_0x228bdb(0x261)]);break;}case ae[_0x228bdb(0x42a)]:{this[_0x228bdb(0x4d1)][_0x228bdb(0x4b3)](_0x199e49=>_0x199e49['id']===_0x21e608['id'])?_0x5a96d9=Do(this[_0x228bdb(0x4d1)],this['unitID'],this[_0x228bdb(0x49a)],this['_revisionService'],this[_0x228bdb(0x261)]):_0x5a96d9=Qs(this[_0x228bdb(0x4d1)],this[_0x228bdb(0x4f8)],this['_univerInstanceService'],this['_revisionService'],this[_0x228bdb(0x261)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x228bdb(0x4c2)]+_0x228bdb(0x319));}const {changeset:_0x4de196,pendingMutations:_0x54df48}=_0x5a96d9;this[_0x228bdb(0x27f)][_0x228bdb(0x4af)](_0x4de196);const _0xf16961=_0x54df48[_0x228bdb(0x4b1)]?this[_0x228bdb(0x30b)][_0x228bdb(0x341)](me,this[_0x228bdb(0x4f8)],this['type'],_0x4de196,_0x54df48,this[_0x228bdb(0x27f)],void 0x0):this[_0x228bdb(0x30b)][_0x228bdb(0x341)](Te,this[_0x228bdb(0x4f8)],this[_0x228bdb(0x4c2)],_0x4de196,this['_handler']);_0xf16961['_updateLocalCache'](),this['_handler'][_0x228bdb(0x3ef)](this,_0xf16961);},_0x2b3d6b);}['_getSendChangesetTimeout'](){const _0x22c597=_0x421733;var _0x412612;const _0x1ddac8=this[_0x22c597(0x254)][_0x22c597(0x39e)](Q);return(_0x412612=_0x1ddac8==null?void 0x0:_0x1ddac8[_0x22c597(0x460)])!=null?_0x412612:Tn;}[_0x421733(0x48f)](){const _0x423f4b=_0x421733;throw new Error(_0x423f4b(0x299));}[_0x421733(0x39b)](){const _0x1d1b75=_0x421733;this[_0x1d1b75(0x36a)]!=null&&(clearTimeout(this[_0x1d1b75(0x36a)]),this['_sendingTimer']=null);}[_0x421733(0x363)](_0x38ca2d){const _0x4cf9e3=_0x421733;return this[_0x4cf9e3(0x39b)](),this[_0x4cf9e3(0x30b)][_0x4cf9e3(0x341)](Re,this[_0x4cf9e3(0x4f8)],this[_0x4cf9e3(0x4c2)],null,this[_0x4cf9e3(0x4d1)],this['_handler'],_0x38ca2d);}};pe=Le([A(0x4,_0x231990(_0x1d3c8c)),A(0x5,_0x231990(_0x2467a7)),A(0x6,_0x231990(z)),A(0x7,_0x231990(Ae)),A(0x8,_0x257353),A(0x9,_0x5af619),A(0xa,_0x2cfa70),A(0xb,_0x2b2256),A(0xc,_0x186a82),A(0xd,_0x306efe)],pe);let Te=class extends $e{constructor(_0x5ce63e,_0xa638a8,_0x42c940,_0x16d55c,_0x2ff174,_0x4173d2,_0x3b2f44,_0x12b191,_0x2c6614,_0x4da79b,_0x11c7e3){const _0x2fcea0=_0x421733;super(_0x5ce63e,_0xa638a8,_0x42c940,[],_0x16d55c,_0x12b191,_0x11c7e3,_0x4173d2,_0x3b2f44),g(this,_0x2fcea0(0x1df),'awaiting'),g(this,_0x2fcea0(0x25c),0x0),g(this,_0x2fcea0(0x240)),g(this,_0x2fcea0(0x185)),(this['_injector']=_0x2ff174,this[_0x2fcea0(0x3b4)]=_0x2c6614,this[_0x2fcea0(0x579)]=_0x4da79b);}[_0x421733(0x214)](_0x4823a2){const _0x50e3c7=_0x421733;this['_clearScheduledTask']();const _0x5ae2f9=this[_0x50e3c7(0x30b)][_0x50e3c7(0x341)](me,this[_0x50e3c7(0x4f8)],this['type'],this[_0x50e3c7(0x392)],[_0x4823a2],this[_0x50e3c7(0x27f)],this[_0x50e3c7(0x240)]);return _0x5ae2f9['_updateLocalCache'](),_0x5ae2f9;}[_0x421733(0x1b9)](_0x56e187){const _0x2b0929=_0x421733;if(this['_checkMissing'](_0x56e187))return this[_0x2b0929(0x39b)](),this[_0x2b0929(0x30b)]['createInstance'](ce,this[_0x2b0929(0x4f8)],this[_0x2b0929(0x4c2)],this[_0x2b0929(0x392)],[],null,[_0x56e187],this['_handler']);try{const _0x5b3c04=this[_0x2b0929(0x579)]['transformChangesets']([_0x56e187],[this[_0x2b0929(0x392)]],!0x1);if(_0x4a826f(_0x5b3c04)){const {c1Prime:_0x240c19,c2Prime:_0x195b41}=_0x5b3c04;this['_executeRemoteChangeset'](_0x240c19[0x0]),_0x195b41[0x0][_0x2b0929(0x2b2)]=this[_0x2b0929(0x1d3)](),this[_0x2b0929(0x39b)]();const _0x47b30d=this[_0x2b0929(0x30b)]['createInstance'](Te,this[_0x2b0929(0x4f8)],this[_0x2b0929(0x4c2)],_0x195b41[0x0],this[_0x2b0929(0x27f)]);return _0x47b30d[_0x2b0929(0x2ad)](),_0x47b30d;}return this[_0x2b0929(0x363)](!0x1);}catch(_0x43855c){return this['_logService'][_0x2b0929(0x3ff)](_0x43855c),this[_0x2b0929(0x363)](!0x1);}}['onRemoteAck'](_0x87c064){const _0x5c6c62=_0x421733;this[_0x5c6c62(0x39b)]();const _0x517357=this[_0x5c6c62(0x250)][_0x5c6c62(0x3c0)](this['unitID']);if(_0x87c064[_0x5c6c62(0x55f)]<_0x517357-0x1)return this;if(this[_0x5c6c62(0x560)](_0x87c064))return this['_injector'][_0x5c6c62(0x341)](ce,this[_0x5c6c62(0x4f8)],this[_0x5c6c62(0x4c2)],null,[],this[_0x5c6c62(0x392)],[],this[_0x5c6c62(0x27f)]);this[_0x5c6c62(0x454)]();const _0x23e202=this[_0x5c6c62(0x30b)][_0x5c6c62(0x341)](We,this['unitID'],this['type'],this[_0x5c6c62(0x27f)]);return _0x23e202[_0x5c6c62(0x2ad)](),_0x23e202;}['onRemoteRej'](_0x451aa3){const _0x4b9b44=_0x421733;return this[_0x4b9b44(0x363)](!!(_0x451aa3!=null&&_0x451aa3['isPermissionRej']));}['onRemoteRetry'](_0x1acb8a){const _0x54f736=_0x421733;return this['_resendTimeout']>zi?this[_0x54f736(0x3af)]():(this[_0x54f736(0x240)]=qi(this[_0x54f736(0x25c)],{'timeout':this[_0x54f736(0x25c)],'reqId':_0x1acb8a[_0x54f736(0x32d)]}),this['_sender']=this[_0x54f736(0x240)][_0x54f736(0x4fc)](({reqId:_0x53d94b,timeout:_0x185ff0})=>{this['_resendWithTimeout'](_0x53d94b,_0x185ff0);}),this);}['toggleOffline'](){const _0x1bb92f=_0x421733;return this[_0x1bb92f(0x39b)](),this['_injector']['createInstance'](Oe,this[_0x1bb92f(0x4f8)],this[_0x1bb92f(0x4c2)],this[_0x1bb92f(0x392)],[],this[_0x1bb92f(0x27f)]);}[_0x421733(0x17f)](){return this;}['resend'](){const _0x1756c1=_0x421733;this[_0x1756c1(0x27f)][_0x1756c1(0x4af)](this[_0x1756c1(0x392)]);}[_0x421733(0x363)](_0x357153){const _0x53bdf8=_0x421733;return this[_0x53bdf8(0x39b)](),this['_injector'][_0x53bdf8(0x341)](Re,this['unitID'],this[_0x53bdf8(0x4c2)],this[_0x53bdf8(0x392)],[],this[_0x53bdf8(0x27f)],_0x357153);}[_0x421733(0x1e0)](_0x8159e1,_0x453e0a){const _0x6c203f=_0x421733;var _0x40a263;_0x8159e1===((_0x40a263=this[_0x6c203f(0x392)])==null?void 0x0:_0x40a263['reqId'])&&(this[_0x6c203f(0x48f)](),this[_0x6c203f(0x25c)]=_0x453e0a===0x0?0x3e8:_0x453e0a*0x2);}[_0x421733(0x39b)](){const _0x34b32f=_0x421733;var _0x3846d3;(_0x3846d3=this[_0x34b32f(0x185)])==null||_0x3846d3[_0x34b32f(0x36f)](),this[_0x34b32f(0x25c)]=0x0;}};Te=Le([A(0x4,_0x231990(_0x1d3c8c)),A(0x5,_0x231990(_0x2467a7)),A(0x6,_0x231990(z)),A(0x7,_0x5af619),A(0x8,_0x257353),A(0x9,_0x2b2256),A(0xa,_0x306efe)],Te);let me=class extends $e{constructor(_0x2942bf,_0x4696b7,_0x4f9e36,_0x26ed42,_0x40ffe0,_0x215192,_0x38bb21,_0x842d91,_0x89691,_0x4ae855,_0x36364d,_0x19d64d,_0x1275fb){const _0x5568ed=_0x421733;super(_0x2942bf,_0x4696b7,_0x4f9e36,_0x26ed42,_0x40ffe0,_0x4ae855,_0x1275fb,_0x842d91,_0x89691),g(this,_0x5568ed(0x1df),_0x5568ed(0x3aa)),g(this,_0x5568ed(0x25c),0x0),g(this,_0x5568ed(0x240)),g(this,_0x5568ed(0x185)),(this[_0x5568ed(0x30b)]=_0x38bb21,this[_0x5568ed(0x3b4)]=_0x36364d,this[_0x5568ed(0x579)]=_0x19d64d,_0x215192&&(this[_0x5568ed(0x240)]=_0x215192,this[_0x5568ed(0x185)]=this[_0x5568ed(0x240)][_0x5568ed(0x4fc)](({reqId:_0x4418c0,timeout:_0x23b410})=>{const _0x576995=_0x5568ed;this[_0x576995(0x1e0)](_0x4418c0,_0x23b410);})));}[_0x421733(0x214)](_0x201a13){const _0x5f23e7=_0x421733;return this[_0x5f23e7(0x4d1)][_0x5f23e7(0x2ac)](_0x201a13),this;}[_0x421733(0x1b9)](_0xebdf9){const _0x26ffec=_0x421733;if(this[_0x26ffec(0x560)](_0xebdf9))return this['_clearScheduledTask'](),this[_0x26ffec(0x30b)]['createInstance'](ce,this['unitID'],this[_0x26ffec(0x4c2)],this['_awaitingChangeset'],this[_0x26ffec(0x4d1)],null,[_0xebdf9],this['_handler']);try{const _0x50a70c=this[_0x26ffec(0x579)][_0x26ffec(0x576)]([_0xebdf9],[this[_0x26ffec(0x392)]],!0x1);if(_0x4a826f(_0x50a70c)){const {c1Prime:_0x12132e,c2Prime:_0x63ea5c}=_0x50a70c,_0x3291b2=this[_0x26ffec(0x579)][_0x26ffec(0x45f)](_0x12132e[0x0],this[_0x26ffec(0x4d1)]);if(_0x3755b3(_0x3291b2)){const {c1Prime:_0x167ce5,m2Prime:_0x129ea7}=_0x3291b2;return this['_executeRemoteChangeset'](_0x167ce5),_0x63ea5c[0x0][_0x26ffec(0x2b2)]=this[_0x26ffec(0x1d3)](),this['_clearScheduledTask'](),this[_0x26ffec(0x30b)][_0x26ffec(0x341)](me,this[_0x26ffec(0x4f8)],this[_0x26ffec(0x4c2)],_0x63ea5c[0x0],_0x129ea7,this['_handler'],void 0x0);}throw _0x3291b2['error'];}throw _0x50a70c[_0x26ffec(0x3ff)];}catch(_0x24e4fa){return this['_logService'][_0x26ffec(0x3ff)](_0x24e4fa),this['_onConflict'](!0x1);}}[_0x421733(0x1c3)](_0x3c3107){const _0x5b552f=_0x421733;if(this[_0x5b552f(0x39b)](),this['_checkMissing'](_0x3c3107))return this['_injector'][_0x5b552f(0x341)](ce,this[_0x5b552f(0x4f8)],this['type'],null,this[_0x5b552f(0x4d1)],this[_0x5b552f(0x392)],[],this[_0x5b552f(0x27f)]);this[_0x5b552f(0x454)]();const _0x5ce3f1=this[_0x5b552f(0x30b)]['createInstance'](pe,this[_0x5b552f(0x4f8)],this['type'],this['_pendingMutations'],this[_0x5b552f(0x27f)]);return _0x5ce3f1['_schedule'](),_0x5ce3f1['_updateLocalCache'](),_0x5ce3f1;}[_0x421733(0x46c)](_0x1d4c8c){const _0x5ed726=_0x421733;return this[_0x5ed726(0x363)](!!(_0x1d4c8c!=null&&_0x1d4c8c[_0x5ed726(0x580)]));}[_0x421733(0x2be)](_0x1b79db){const _0x22c90f=_0x421733;return this['_resendTimeout']>zi?this[_0x22c90f(0x3af)]():(this['_resendTimer']=qi(this['_resendTimeout'],{'timeout':this[_0x22c90f(0x25c)],'reqId':_0x1b79db[_0x22c90f(0x32d)]}),this[_0x22c90f(0x185)]=this['_resendTimer']['subscribe'](({reqId:_0x3fa677,timeout:_0x4dfa07})=>{const _0x727e6=_0x22c90f;this[_0x727e6(0x1e0)](_0x3fa677,_0x4dfa07);}),this);}[_0x421733(0x3af)](){const _0x22de0f=_0x421733;return this['_clearScheduledTask'](),this['_injector'][_0x22de0f(0x341)](Oe,this[_0x22de0f(0x4f8)],this[_0x22de0f(0x4c2)],this[_0x22de0f(0x392)],this[_0x22de0f(0x4d1)],this['_handler']);}[_0x421733(0x17f)](){return this;}[_0x421733(0x48f)](){const _0x199ced=_0x421733;this['_handler'][_0x199ced(0x4af)](this[_0x199ced(0x392)]);}['_onConflict'](_0x2e72d6){const _0x2ae865=_0x421733;return this[_0x2ae865(0x39b)](),this[_0x2ae865(0x30b)][_0x2ae865(0x341)](Re,this['unitID'],this['type'],null,this[_0x2ae865(0x4d1)],this[_0x2ae865(0x27f)],_0x2e72d6);}[_0x421733(0x1e0)](_0xf7dbb7,_0x1dfd95){const _0x384eb7=_0x421733;var _0x4b85c4;_0xf7dbb7===((_0x4b85c4=this[_0x384eb7(0x392)])==null?void 0x0:_0x4b85c4['reqId'])&&(this[_0x384eb7(0x48f)](),this[_0x384eb7(0x25c)]=_0x1dfd95===0x0?0x3e8:_0x1dfd95*0x2);}[_0x421733(0x39b)](){const _0x427a86=_0x421733;var _0x48d1b3;(_0x48d1b3=this[_0x427a86(0x185)])==null||_0x48d1b3[_0x427a86(0x36f)](),this['_resendTimeout']=0x0;}};me=Le([A(0x6,_0x231990(_0x1d3c8c)),A(0x7,_0x231990(_0x2467a7)),A(0x8,_0x231990(z)),A(0x9,_0x5af619),A(0xa,_0x257353),A(0xb,_0x2b2256),A(0xc,_0x306efe)],me);let Re=class extends $e{constructor(_0x9d9b67,_0x1b79b5,_0x2f5746,_0x41c10d,_0x28c6b7,_0x438240=!0x1,_0x329d33,_0x2d20f6,_0x350d95,_0x493ffd,_0x50c6ce,_0x287a42,_0x324c74){const _0x301913=_0x421733;super(_0x9d9b67,_0x1b79b5,_0x2f5746,_0x41c10d,_0x28c6b7,_0x2d20f6,_0x350d95,_0x50c6ce,_0x493ffd),g(this,'status','conflict'),(this[_0x301913(0x46e)]=_0x438240,this['_permissionService']=_0x329d33,this[_0x301913(0x41a)]=_0x287a42,this['_notificationService']=_0x324c74,this[_0x301913(0x184)](),this[_0x301913(0x1b6)](),this[_0x301913(0x16c)]());}[_0x421733(0x214)](){return this;}['onRemoteChangeset'](){return this;}[_0x421733(0x1c3)](){return this;}[_0x421733(0x46c)](){return this;}[_0x421733(0x2be)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x421733(0x48f)](){const _0x81a345=_0x421733;throw new Error(_0x81a345(0x582));}[_0x421733(0x1b6)](){const _0x5d4fb4=_0x421733;this[_0x5d4fb4(0x434)][_0x5d4fb4(0x1a8)](this[_0x5d4fb4(0x4f8)],this['type'],null,[]);}[_0x421733(0x184)](){const _0x845092=_0x421733;this['_isPermissionRej']?this[_0x845092(0x3fa)][_0x845092(0x34d)]({'title':this['_localeService']['t'](_0x845092(0x4fe)),'content':this[_0x845092(0x41a)]['t'](_0x845092(0x2b6)),'type':_0x845092(0x3ff),'duration':0x0}):this[_0x845092(0x3fa)][_0x845092(0x34d)]({'title':this[_0x845092(0x41a)]['t'](_0x845092(0x189)),'content':this[_0x845092(0x41a)]['t'](_0x845092(0x536)),'type':_0x845092(0x3ff),'duration':0x0});}['_disableEditing'](){const _0x36ef00=_0x421733;this[_0x36ef00(0x262)][_0x36ef00(0x3fe)](new _0x31b58a(this[_0x36ef00(0x4f8)])['id'],!0x1);}};Re=Le([A(0x6,_0x231990(_0x286710)),A(0x7,_0x5af619),A(0x8,_0x306efe),A(0x9,_0x231990(z)),A(0xa,_0x231990(_0x2467a7)),A(0xb,_0x231990(_0x3097b7)),A(0xc,_0x4d2a13)],Re);let Oe=class extends $e{constructor(_0x45aa18,_0x2872d6,_0x2c7ec9,_0x3d3239,_0x29fe24,_0x21a462,_0x355f0b,_0x4bc368,_0x3146ba,_0x1591fc){const _0x354608=_0x421733;super(_0x45aa18,_0x2872d6,_0x2c7ec9,_0x3d3239,_0x29fe24,_0x3146ba,_0x1591fc,_0x355f0b,_0x4bc368),g(this,'status',_0x354608(0x4fb)),this[_0x354608(0x30b)]=_0x21a462;}[_0x421733(0x214)](_0x3f44ab){const _0x3beed5=_0x421733;return this[_0x3beed5(0x4d1)][_0x3beed5(0x2ac)](_0x3f44ab),this[_0x3beed5(0x2ad)](),this;}[_0x421733(0x1b9)](_0x2b41a0){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x421733(0x1c3)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x15f863=_0x421733;throw new Error(_0x15f863(0x171));}[_0x421733(0x2be)](){return this;}[_0x421733(0x3af)](){return this;}[_0x421733(0x17f)](){const _0xf1c101=_0x421733,{_injector:_0xd3804,_pendingMutations:_0x245692,_awaitingChangeset:_0xc7c61c,unitID:_0x20f756,_handler:_0x218963,type:_0x549d91}=this,_0x35d2cc=Xi(_0xd3804,_0x20f756,_0x549d91,_0xc7c61c,_0x245692,_0x218963);return _0x35d2cc instanceof pe?_0x35d2cc['_schedule']():(_0x35d2cc instanceof me||_0x35d2cc instanceof Te)&&_0x35d2cc[_0xf1c101(0x48f)](),_0x35d2cc;}[_0x421733(0x48f)](){const _0x3e4fbb=_0x421733;throw new Error(_0x3e4fbb(0x1d4));}};Oe=Le([A(0x5,_0x231990(_0x1d3c8c)),A(0x6,_0x231990(_0x2467a7)),A(0x7,_0x231990(z)),A(0x8,_0x5af619),A(0x9,_0x306efe)],Oe);let ce=class extends $e{constructor(_0x1f4b29,_0xdb2cfb,_0x48846c,_0x336576,_0x1feb3c,_0x5d5ea2,_0x3931aa,_0x2b47e1,_0xe6c7cc,_0x29536f,_0x435738,_0x402350,_0x37ed75,_0x45012f){const _0x5e29e9=_0x421733;super(_0x1f4b29,_0xdb2cfb,_0x48846c,_0x336576,_0x3931aa,_0x402350,_0x37ed75,_0xe6c7cc,_0x29536f),g(this,_0x5e29e9(0x1df),_0x5e29e9(0x404)),(this[_0x5e29e9(0x255)]=_0x1feb3c,this[_0x5e29e9(0x1ad)]=_0x5d5ea2,this['_injector']=_0x2b47e1,this[_0x5e29e9(0x3b4)]=_0x435738,this[_0x5e29e9(0x579)]=_0x45012f);}[_0x421733(0x3bb)](_0x145232){const _0x1ae815=_0x421733;try{const _0x1a0f62=[..._0x145232,...this['_queuedRemoteChangesets']],_0x31ba18=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x1ae815(0x307)](_0x5c9546=>!!_0x5c9546);let _0x3921c5,_0x5cfd12;if(_0x31ba18[_0x1ae815(0x4b1)]){const _0x5ba730=this['_transformService'][_0x1ae815(0x576)](_0x1a0f62,_0x31ba18,!0x1);if(!_0x4a826f(_0x5ba730))throw _0x5ba730[_0x1ae815(0x3ff)];_0x3921c5=_0x5ba730[_0x1ae815(0x16d)],_0x5cfd12=_0x5ba730[_0x1ae815(0x20c)];}else _0x3921c5=_0x1a0f62,_0x5cfd12=[];let _0x4a1d3a=this[_0x1ae815(0x4d1)];_0x3921c5[_0x1ae815(0x2d2)](_0x1ccd97=>{const _0x4a5cb7=_0x1ae815;let _0x481cf6;if(_0x4a1d3a[_0x4a5cb7(0x4b1)]){const _0x377940=this['_transformService'][_0x4a5cb7(0x45f)](_0x1ccd97,_0x4a1d3a);if(!_0x3755b3(_0x377940))throw _0x377940[_0x4a5cb7(0x3ff)];_0x481cf6=_0x377940['c1Prime'],_0x4a1d3a=_0x377940[_0x4a5cb7(0x4e7)];}else _0x481cf6=_0x1ccd97;this[_0x4a5cb7(0x593)](_0x481cf6);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x1ae815(0x392)]&&_0x5cfd12[_0x1ae815(0x4b1)]&&(_0x5cfd12[0x0]['baseRev']=this[_0x1ae815(0x1d3)]());let _0x4128bf;if(this['_awaitingChangeset']&&_0x4a1d3a[_0x1ae815(0x4b1)]!==0x0)_0x4128bf=this['_injector'][_0x1ae815(0x341)](me,this['unitID'],this[_0x1ae815(0x4c2)],_0x5cfd12[0x0],_0x4a1d3a,this['_handler'],void 0x0);else{if(this[_0x1ae815(0x392)]&&_0x4a1d3a['length']===0x0)_0x5cfd12[0x0]['baseRev']=this[_0x1ae815(0x1d3)](),_0x4128bf=this[_0x1ae815(0x30b)][_0x1ae815(0x341)](Te,this['unitID'],this[_0x1ae815(0x4c2)],_0x5cfd12[0x0],this['_handler']);else{if(_0x4a1d3a[_0x1ae815(0x4b1)]!==0x0){const _0x3f7e00=this[_0x1ae815(0x30b)][_0x1ae815(0x341)](pe,this[_0x1ae815(0x4f8)],this[_0x1ae815(0x4c2)],_0x4a1d3a,this[_0x1ae815(0x27f)]);_0x3f7e00[_0x1ae815(0x2e8)](),_0x4128bf=_0x3f7e00;}else _0x4128bf=this[_0x1ae815(0x30b)][_0x1ae815(0x341)](We,this[_0x1ae815(0x4f8)],this['type'],this[_0x1ae815(0x27f)]);}}return _0x4128bf[_0x1ae815(0x2ad)](),_0x4128bf;}catch(_0x11c3bd){return this[_0x1ae815(0x3b4)][_0x1ae815(0x3ff)]('[FetchMissState]',_0x1ae815(0x49f),_0x11c3bd),this[_0x1ae815(0x30b)][_0x1ae815(0x341)](Re,this[_0x1ae815(0x4f8)],this[_0x1ae815(0x4c2)],this[_0x1ae815(0x392)],this['_pendingMutations'],this[_0x1ae815(0x27f)],!0x1);}}[_0x421733(0x48f)](){const _0x2fe24a=_0x421733;throw new Error(_0x2fe24a(0x180));}[_0x421733(0x214)](_0x24859c){const _0x25ca7a=_0x421733;return this[_0x25ca7a(0x4d1)][_0x25ca7a(0x2ac)](_0x24859c),this;}[_0x421733(0x1b9)](_0x31cfc1){const _0x49e73a=_0x421733;return this[_0x49e73a(0x1ad)][_0x49e73a(0x2ac)](_0x31cfc1),this;}[_0x421733(0x1c3)](_0x83e189){const _0x587db7=_0x421733;if(this[_0x587db7(0x392)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x587db7(0x179));}[_0x421733(0x46c)](_0x5a6de1){const _0x4289b3=_0x421733;return this[_0x4289b3(0x363)](!!(_0x5a6de1!=null&&_0x5a6de1[_0x4289b3(0x580)]));}[_0x421733(0x2be)](){return this;}[_0x421733(0x3af)](){const _0x512c97=_0x421733;return this[_0x512c97(0x30b)][_0x512c97(0x341)](Oe,this[_0x512c97(0x4f8)],this['type'],this[_0x512c97(0x392)],this['_pendingMutations'],this[_0x512c97(0x27f)]);}[_0x421733(0x17f)](){return this;}[_0x421733(0x363)](_0x14404f){const _0x1b21e5=_0x421733;return this[_0x1b21e5(0x30b)][_0x1b21e5(0x341)](Re,this['unitID'],this[_0x1b21e5(0x4c2)],this['_awaitingChangeset'],this[_0x1b21e5(0x4d1)],this[_0x1b21e5(0x27f)],_0x14404f);}};ce=Le([A(0x7,_0x231990(_0x1d3c8c)),A(0x8,_0x231990(_0x2467a7)),A(0x9,_0x231990(z)),A(0xa,_0x257353),A(0xb,_0x5af619),A(0xc,_0x306efe),A(0xd,_0x2b2256)],ce);function Xi(_0x4541c1,_0x6e02fd,_0x4f3074,_0x4d8225,_0x15d4d6,_0x3e3cdc){const _0x554cb4=_0x421733;return _0x4d8225&&_0x15d4d6[_0x554cb4(0x4b1)]?_0x4541c1[_0x554cb4(0x341)](me,_0x6e02fd,_0x4f3074,_0x4d8225,_0x15d4d6,_0x3e3cdc,void 0x0):_0x4d8225?_0x4541c1[_0x554cb4(0x341)](Te,_0x6e02fd,_0x4f3074,_0x4d8225,_0x3e3cdc):_0x15d4d6[_0x554cb4(0x4b1)]?_0x4541c1[_0x554cb4(0x341)](pe,_0x6e02fd,_0x4f3074,_0x15d4d6,_0x3e3cdc):_0x4541c1[_0x554cb4(0x341)](We,_0x6e02fd,_0x4f3074,_0x3e3cdc);}var Ao=Object[_0x421733(0x1c6)],Mo=Object[_0x421733(0x2e2)],Ps=(_0x55f479,_0x3fc95f,_0x37bc45,_0x58cae5)=>{for(var _0x106314=_0x58cae5>0x1?void 0x0:_0x58cae5?Mo(_0x3fc95f,_0x37bc45):_0x3fc95f,_0x4ddeb7=_0x55f479['length']-0x1,_0x3d4a14;_0x4ddeb7>=0x0;_0x4ddeb7--)(_0x3d4a14=_0x55f479[_0x4ddeb7])&&(_0x106314=(_0x58cae5?_0x3d4a14(_0x3fc95f,_0x37bc45,_0x106314):_0x3d4a14(_0x106314))||_0x106314);return _0x58cae5&&_0x106314&&Ao(_0x3fc95f,_0x37bc45,_0x106314),_0x106314;},H=(_0x513a2f,_0x14ed70)=>(_0x7bafa1,_0x2f7df0)=>_0x14ed70(_0x7bafa1,_0x2f7df0,_0x513a2f);let Pt=class extends _0x33a3aa{constructor(_0xe93f44,_0x597717,_0x1d159d,_0x4e86e0,_0x3c7635,_0x4e0bad,_0x3c9683,_0x2cf05d,_0x4405b0,_0x366f6c,_0x5bcafd,_0x18e5f8,_0x3ec716){const _0x44dd20=_0x421733;super(),g(this,_0x44dd20(0x2a5),new _0x461b47(null)),g(this,_0x44dd20(0x526),this[_0x44dd20(0x2a5)]['asObservable']()),g(this,'_state'),g(this,_0x44dd20(0x36b),!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x44dd20(0x218),this['state$']['pipe'](_0x5d768e(_0x2979bc=>_0x2979bc?_0x2979bc[_0x44dd20(0x1df)]:J[_0x44dd20(0x541)]),_0x2d3cb2(0x1))),g(this,_0x44dd20(0x328),!0x1),g(this,_0x44dd20(0x2f8),[]),(this[_0x44dd20(0x4f8)]=_0xe93f44,this['session']=_0x597717,this['_type']=_0x1d159d,this[_0x44dd20(0x30b)]=_0x4e86e0,this[_0x44dd20(0x434)]=_0x3c7635,this[_0x44dd20(0x458)]=_0x4e0bad,this[_0x44dd20(0x41a)]=_0x3c9683,this[_0x44dd20(0x250)]=_0x2cf05d,this[_0x44dd20(0x3b4)]=_0x4405b0,this[_0x44dd20(0x39a)]=_0x366f6c,this[_0x44dd20(0x3b3)]=_0x5bcafd,this[_0x44dd20(0x262)]=_0x18e5f8,this['_singleActiveUnitService']=_0x3ec716);}get['state'](){const _0x1124d1=_0x421733;return this[_0x1124d1(0x3a5)];}async[_0x421733(0x371)](){const _0xebfdcc=_0x421733;if(this[_0xebfdcc(0x2c9)])throw new Error(_0xebfdcc(0x4c5));await this['_init']();}['pauseCollaboration'](){const _0x51d4b5=_0x421733;return this[_0x51d4b5(0x36b)]=!0x0,_0xb887b1(()=>{const _0x875f5a=_0x51d4b5;this[_0x875f5a(0x36b)]=!0x1,this[_0x875f5a(0x21e)]();});}['_updateState'](_0x542c85){const _0x7629df=_0x421733;this[_0x7629df(0x3a5)]=_0x542c85,this[_0x7629df(0x2a5)][_0x7629df(0x537)](_0x542c85);}async[_0x421733(0x483)](){const _0x51824e=_0x421733;var _0xdc8193;this[_0x51824e(0x3bc)](await this[_0x51824e(0x326)]()),this[_0x51824e(0x37d)]&&((_0xdc8193=this['_singleActiveUnitService'])==null||_0xdc8193['editingUnit'](this['unitID']),this[_0x51824e(0x40e)](this[_0x51824e(0x37d)][_0x51824e(0x4c1)](this[_0x51824e(0x4f8)])['subscribe'](_0xe0a1a0=>{const _0x55c530=_0x51824e;this[_0x55c530(0x3b4)][_0x55c530(0x4cc)](_0x55c530(0x592),'editing\x20status\x20changed\x20to',_0xe0a1a0),_0xe0a1a0===Yi[_0x55c530(0x1b5)]?(this[_0x55c530(0x3b3)][_0x55c530(0x34d)]({'content':this[_0x55c530(0x41a)]['t'](_0x55c530(0x563)),'type':_0x1a283f[_0x55c530(0x4ae)]}),this[_0x55c530(0x262)][_0x55c530(0x3fe)](new _0x31b58a(this[_0x55c530(0x4f8)])['id'],!0x1),this[_0x55c530(0x262)][_0x55c530(0x365)](!0x1)):(this[_0x55c530(0x262)]['updatePermissionPoint'](new _0x31b58a(this[_0x55c530(0x4f8)])['id'],!0x0),this[_0x55c530(0x262)]['setShowComponents'](!0x0));})));let _0x3a208=!0x1;return this[_0x51824e(0x40e)](this[_0x51824e(0x359)][_0x51824e(0x386)][_0x51824e(0x4fc)](_0x1d57e7=>{const _0x188363=_0x51824e;_0x1d57e7===fe[_0x188363(0x16b)]?this[_0x188363(0x503)](_0x3a208):_0x1d57e7===fe['OFFLINE']&&(_0x3a208=!0x0,this[_0x188363(0x3c3)]());})),this['disposeWithMe'](this['session'][_0x51824e(0x2dd)]['subscribe'](_0x4d03cf=>{const _0x5946c4=_0x51824e;try{switch(_0x4d03cf[_0x5946c4(0x41e)]){case _0xdb349a[_0x5946c4(0x35b)]:{this[_0x5946c4(0x2d5)](_0x424bf7(_0x4d03cf[_0x5946c4(0x263)]));break;}case _0xdb349a[_0x5946c4(0x380)]:{this[_0x5946c4(0x584)](_0x4d03cf[_0x5946c4(0x263)]);break;}case _0xdb349a[_0x5946c4(0x550)]:{this['_onRemoteRejected']();break;}case _0xdb349a[_0x5946c4(0x50e)]:{this['_onRemoteRetry'](_0x4d03cf[_0x5946c4(0x263)]);break;}case _0xdb349a['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x5946c4(0x39d)](_0x4d03cf['data']['changesets'][_0x5946c4(0x203)](_0x264d69=>_0x424bf7(_0x264d69)));break;}case _0xdb349a[_0x5946c4(0x215)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x1832b0){throw console['error'](_0x5946c4(0x45a),_0x1832b0),_0x1832b0;}})),this[_0x51824e(0x3a5)];}[_0x421733(0x431)](){const _0x4d0dd3=_0x421733;this[_0x4d0dd3(0x328)]=!0x1;}[_0x421733(0x3cf)](){const _0x4d2ff7=_0x421733;if(this['_transitionLocked'])throw new Error(_0x4d2ff7(0x3d6));this[_0x4d2ff7(0x328)]=!0x0;}[_0x421733(0x265)](_0x321cd1){const _0x52df47=_0x421733;this[_0x52df47(0x3cf)](),this['_updateState'](this['_state'][_0x52df47(0x214)](_0x321cd1)),this[_0x52df47(0x431)]();}[_0x421733(0x2d5)](_0x4ce0e7){const _0x44abc6=_0x421733;if(!(_0x4ce0e7[_0x44abc6(0x55f)]<=this[_0x44abc6(0x250)][_0x44abc6(0x3c0)](this[_0x44abc6(0x4f8)]))){if(this[_0x44abc6(0x36b)]){this['_remoteChangesetQueue'][_0x44abc6(0x2ac)](_0x4ce0e7);return;}this[_0x44abc6(0x1ab)](_0x4ce0e7);}}['_exhaustRemoteChangesetQueue'](){const _0xa8d36=_0x421733;this['_remoteChangesetQueue'][_0xa8d36(0x2d2)](_0x1be29a=>this[_0xa8d36(0x1ab)](_0x1be29a)),this['_remoteChangesetQueue']=[];}[_0x421733(0x1ab)](_0x45216c){const _0x3b2ed9=_0x421733,_0x10668d=this[_0x3b2ed9(0x458)]['interceptor'][_0x3b2ed9(0x2a3)](this[_0x3b2ed9(0x458)][_0x3b2ed9(0x42b)]['getInterceptPoints']()[_0x3b2ed9(0x3be)])(_0x45216c[_0x3b2ed9(0x501)],null)||_0x45216c[_0x3b2ed9(0x501)],_0x4b52f3={..._0x45216c,'mutations':_0x10668d};this[_0x3b2ed9(0x3cf)](),this[_0x3b2ed9(0x3bc)](this['_state']['onRemoteChangeset'](_0x4b52f3)),this[_0x3b2ed9(0x431)]();}[_0x421733(0x584)](_0x2a31cb){const _0x1427c1=_0x421733;this[_0x1427c1(0x3cf)](),this[_0x1427c1(0x3bc)](this[_0x1427c1(0x3a5)]['onRemoteAck'](_0x2a31cb)),this['_unlockTransition']();}[_0x421733(0x46a)](_0x4fc372){const _0x266ebb=_0x421733;this[_0x266ebb(0x3cf)](),this[_0x266ebb(0x3bc)](this[_0x266ebb(0x3a5)]['onRemoteRej'](_0x4fc372)),this[_0x266ebb(0x431)]();}[_0x421733(0x389)](_0x40872){const _0x72fdba=_0x421733;this[_0x72fdba(0x3cf)](),this[_0x72fdba(0x3bc)](this['_state'][_0x72fdba(0x2be)](_0x40872)),this[_0x72fdba(0x431)]();}[_0x421733(0x39d)](_0x38b9ac){const _0x450343=_0x421733;if(!(this[_0x450343(0x3a5)]instanceof ce))throw new TypeError(_0x450343(0x338));const _0x5d7b36=_0x38b9ac[_0x450343(0x203)](_0x54ded3=>{const _0x3fce36=_0x450343,_0x18e1e8=this[_0x3fce36(0x458)][_0x3fce36(0x42b)][_0x3fce36(0x2a3)](this['_compressMutationService'][_0x3fce36(0x42b)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x54ded3[_0x3fce36(0x501)],null)||_0x54ded3[_0x3fce36(0x501)];return{..._0x54ded3,'mutations':_0x18e1e8};});this[_0x450343(0x3cf)](),this['_updateState'](this['_state'][_0x450343(0x3bb)](_0x5d7b36)),this[_0x450343(0x431)]();}['_toggleOffline'](){const _0x32891f=_0x421733;this['_lockTransition'](),this[_0x32891f(0x3bc)](this['_state'][_0x32891f(0x3af)]()),this['_unlockTransition']();}[_0x421733(0x503)](_0xb627aa=!0x1){const _0x3b45ed=_0x421733;this[_0x3b45ed(0x3cf)](),this['_updateState'](this[_0x3b45ed(0x3a5)][_0x3b45ed(0x17f)]()),this['_unlockTransition']();const _0x2388f3=this[_0x3b45ed(0x3a5)];_0xb627aa&&_0x2388f3 instanceof We&&(this['_lockTransition'](),this[_0x3b45ed(0x3bc)](_0x2388f3[_0x3b45ed(0x2f1)]()),this[_0x3b45ed(0x431)]());}async['_createInitialState'](){return new Promise(_0xfde945=>{const _0x1d309a=_0x9980;this['session'][_0x1d309a(0x386)][_0x1d309a(0x552)](_0x329c5b(0x1))[_0x1d309a(0x4fc)](async _0x3b512c=>{const _0x2a50e8=_0x1d309a;_0xfde945(await this[_0x2a50e8(0x534)](_0x3b512c===fe['ONLINE']));});});}[_0x421733(0x3fc)](){const _0x2cde78=_0x421733,_0x2afa10=this[_0x2cde78(0x4f8)];return{'onStateChange':(_0x59f086,_0xd24e82)=>{const _0x1d30e2=_0x2cde78;if(_0x59f086!==this['_state'])throw new Error(_0x1d30e2(0x1cd)+_0x59f086[_0x1d30e2(0x1df)]+_0x1d30e2(0x41d)+_0xd24e82[_0x1d30e2(0x1df)]+'\x0aCurrent:\x20'+this[_0x1d30e2(0x3a5)][_0x1d30e2(0x1df)]);this[_0x1d30e2(0x3bc)](_0xd24e82);},'onSendChangeset':_0x4d4011=>{const _0x40d8b1=_0x2cde78;_0x4d4011['sid']||(_0x4d4011['sid']=this[_0x40d8b1(0x33f)],_0x4d4011[_0x40d8b1(0x32d)]=++this[_0x40d8b1(0x44f)]);const _0x27725c={'eventID':_0xdb349a[_0x40d8b1(0x1a4)],'data':{'unitID':_0x4d4011[_0x40d8b1(0x4f8)],'unitType':this['_type'],'changeset':_0x4d4011,'memberID':this[_0x40d8b1(0x359)][_0x40d8b1(0x55a)]()}};this[_0x40d8b1(0x359)][_0x40d8b1(0x211)](_0x27725c,this['unitID']);},'onMissingChangesets':({from:_0x1bf077,to:_0x10f807})=>{const _0x3d9ca9=_0x2cde78;this[_0x3d9ca9(0x3b4)][_0x3d9ca9(0x4cc)](_0x3d9ca9(0x592),_0x3d9ca9(0x246)+_0x1bf077+'\x20to\x20'+_0x10f807);const _0x4f2fba={'eventID':_0xdb349a[_0x3d9ca9(0x45c)],'data':{'unitID':_0x2afa10,'unitType':this[_0x3d9ca9(0x33a)],'from':_0x1bf077,'to':_0x10f807}};this[_0x3d9ca9(0x359)][_0x3d9ca9(0x211)](_0x4f2fba,this['unitID']);}};}async[_0x421733(0x534)](_0x4f6b22){const _0x433851=_0x421733;var _0x1879a2,_0x4a3e0f;const _0x4888bb=await this['_localCacheService']['loadOfflineData'](this[_0x433851(0x4f8)]),_0x23350e=(_0x1879a2=_0x4888bb==null?void 0x0:_0x4888bb[_0x433851(0x501)])!=null?_0x1879a2:[],_0x3587a3=(_0x4a3e0f=_0x4888bb==null?void 0x0:_0x4888bb[_0x433851(0x569)])!=null?_0x4a3e0f:null,_0x27f00e=!!(_0x3587a3!=null&&_0x3587a3[_0x433851(0x1ec)])&&!!(_0x3587a3!=null&&_0x3587a3[_0x433851(0x32d)]);this[_0x433851(0x33f)]=_0x27f00e?_0x3587a3[_0x433851(0x1ec)]:co(),this[_0x433851(0x44f)]=_0x27f00e?_0x3587a3[_0x433851(0x32d)]:0x0;const _0xb79056=this[_0x433851(0x4f8)];try{this[_0x433851(0x2b1)](_0x3587a3,_0x23350e);}catch(_0x29cdb8){this[_0x433851(0x3b4)][_0x433851(0x3ff)](_0x29cdb8);}const _0x55cd4d=this[_0x433851(0x3fc)]();if(_0x4f6b22){const _0x1fe179=Xi(this['_injector'],_0xb79056,this[_0x433851(0x33a)],_0x3587a3,_0x23350e,_0x55cd4d);return _0x1fe179 instanceof pe?_0x1fe179[_0x433851(0x2e8)]():(_0x1fe179 instanceof me||_0x1fe179 instanceof Te)&&_0x1fe179['resend'](),_0x1fe179;}return this['_injector']['createInstance'](Oe,_0xb79056,this[_0x433851(0x33a)],_0x3587a3,_0x23350e,_0x55cd4d);}[_0x421733(0x2b1)](_0x994a65,_0x529b93){const _0x1719b6=_0x421733;var _0x49529a,_0x4b2a53;const _0x373d55=this[_0x1719b6(0x458)][_0x1719b6(0x42b)][_0x1719b6(0x2a3)](this[_0x1719b6(0x458)]['interceptor']['getInterceptPoints']()[_0x1719b6(0x3be)]);(_0x49529a=_0x373d55((_0x994a65==null?void 0x0:_0x994a65[_0x1719b6(0x501)])||[],null))==null||_0x49529a[_0x1719b6(0x2d2)](_0x67aa41=>this[_0x1719b6(0x39a)][_0x1719b6(0x37b)](_0x67aa41['id'],_0x67aa41[_0x1719b6(0x3ba)])),(_0x4b2a53=_0x373d55(_0x529b93||[],null))==null||_0x4b2a53[_0x1719b6(0x2d2)](_0x562f83=>this[_0x1719b6(0x39a)][_0x1719b6(0x37b)](_0x562f83['id'],_0x562f83[_0x1719b6(0x3ba)]));}};Pt=Ps([H(0x3,_0x231990(_0x1d3c8c)),H(0x4,_0x231990(z)),H(0x5,_0x231990(_0x60c9a0)),H(0x6,_0x231990(_0x3097b7)),H(0x7,_0x231990(_0x2467a7)),H(0x8,_0x257353),H(0x9,_0x5af619),H(0xa,_0x2cbd8b),H(0xb,_0x286710),H(0xc,_0x1f1bd9(Ht))],Pt);let hs=class extends Pt{constructor(_0x4915b6,_0x52bce6,_0x4a1f99,_0x356bf8,_0x562d99,_0x1c8d14,_0x3738e7,_0x1ad5ba,_0x325266,_0x3af08d,_0x59a388,_0x3065d7,_0x5afd7a,_0xdfe406,_0x1a291b,_0x4f8e5f,_0x1b7bca,_0x53be7e){const _0x5992f6=_0x421733;super(_0x4915b6,_0x4a1f99,_0x52bce6,_0x356bf8,_0x562d99,_0x1c8d14,_0x3738e7,_0x1ad5ba,_0xdfe406,_0x1a291b,_0x4f8e5f,_0x1b7bca,_0x53be7e),this[_0x5992f6(0x4f8)]=_0x4915b6,this[_0x5992f6(0x4c2)]=_0x52bce6,this['_docStateChangeManagerService']=_0x325266,this['_docTransformIMECacheService']=_0x3af08d,this[_0x5992f6(0x493)]=_0x59a388,this['_docTransformSelectionsService']=_0x3065d7,this['_docSyncEditingCollabCursorService']=_0x5afd7a;}[_0x421733(0x3fc)](){const _0x328e2e=_0x421733,_0x3622d1=super[_0x328e2e(0x3fc)]();return _0x3622d1[_0x328e2e(0x243)]=_0x4560ca=>this[_0x328e2e(0x29c)][_0x328e2e(0x3c4)](_0x4560ca),_0x3622d1[_0x328e2e(0x3f4)]=_0x5e3e13=>this[_0x328e2e(0x493)][_0x328e2e(0x3b9)](_0x5e3e13),_0x3622d1[_0x328e2e(0x35c)]=_0x6fbb94=>this['_docTransformSelectionsService']['transformSelections'](_0x6fbb94),_0x3622d1[_0x328e2e(0x3b2)]=_0x37c591=>this[_0x328e2e(0x2ba)][_0x328e2e(0x172)](_0x37c591),_0x3622d1['onTransformRemoteChangesetByIMECache']=_0x3c88bd=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3c88bd),_0x3622d1['onTransformRemoteChangesetByStateCache']=_0x2f6a4a=>this[_0x328e2e(0x493)][_0x328e2e(0x275)](_0x2f6a4a),_0x3622d1;}async[_0x421733(0x483)](){const _0x30c2=_0x421733,_0x3333ff=await super[_0x30c2(0x483)]();return this[_0x30c2(0x40e)](this[_0x30c2(0x3b0)][_0x30c2(0x57d)][_0x30c2(0x552)](_0x2c50c2(this[_0x30c2(0x4eb)]))[_0x30c2(0x4fc)](_0x586c7d=>{const _0x307c6f=_0x30c2;if(_0x586c7d==null)return;const {unitId:_0x509264,redoState:_0x47f15c,commandId:_0xd7f294}=_0x586c7d;if(_0x509264!==this[_0x307c6f(0x4f8)])return;const _0x284c81={'id':_0xd7f294,'type':_0x330e8b[_0x307c6f(0x446)],'params':{'unitId':_0x509264,'actions':_0x47f15c[_0x307c6f(0x276)],'textRanges':null}};this[_0x307c6f(0x265)](_0x284c81);})),this[_0x30c2(0x40e)](this[_0x30c2(0x39a)][_0x30c2(0x470)]((_0x1336f4,_0x40ad0b)=>{const _0x911e9b=_0x30c2;if(_0x1336f4[_0x911e9b(0x4c2)]!==_0x330e8b[_0x911e9b(0x446)]||_0x40ad0b!=null&&_0x40ad0b[_0x911e9b(0x197)]||_0x40ad0b!=null&&_0x40ad0b[_0x911e9b(0x1db)]||_0x1336f4['id']===_0x21e608['id'])return;const _0x54c3c1=_0x1336f4[_0x911e9b(0x3ba)];if((_0x54c3c1==null?void 0x0:_0x54c3c1[_0x911e9b(0x194)])!==this[_0x911e9b(0x4f8)])return;const _0x55c0ad=_0x1336f4,_0x37245d=this['_compressMutationService']['interceptor'][_0x911e9b(0x2a3)](this['_compressMutationService']['interceptor'][_0x911e9b(0x1e3)]()[_0x911e9b(0x3ce)])([_0x55c0ad],null)||[_0x55c0ad];this[_0x911e9b(0x265)](_0x37245d[0x0]);})),_0x3333ff;}};hs=Ps([H(0x3,_0x231990(_0x1d3c8c)),H(0x4,_0x231990(z)),H(0x5,_0x231990(_0x60c9a0)),H(0x6,_0x231990(_0x3097b7)),H(0x7,_0x231990(_0x2467a7)),H(0x8,_0x231990(_0x283ec1)),H(0x9,_0x231990(Ot)),H(0xa,_0x231990(wt)),H(0xb,_0x231990(Dt)),H(0xc,_0x231990(Ds)),H(0xd,_0x257353),H(0xe,_0x5af619),H(0xf,_0x2cbd8b),H(0x10,_0x286710),H(0x11,_0x1f1bd9(Ht))],hs);let ls=class extends Pt{constructor(_0x2af307,_0x7857fe,_0x5cf09d,_0x261f23,_0x30a8a2,_0x89380e,_0x3ff750,_0x387419,_0xb40181,_0x1a0280,_0xa99bdf,_0x42cbd1,_0x118004,_0x2312a4){const _0xff2099=_0x421733;super(_0x2af307,_0x5cf09d,_0x7857fe,_0x261f23,_0x30a8a2,_0x89380e,_0x3ff750,_0x387419,_0x1a0280,_0xa99bdf,_0x42cbd1,_0x118004,_0x2312a4),this[_0xff2099(0x4f8)]=_0x2af307,this[_0xff2099(0x4c2)]=_0x7857fe,this[_0xff2099(0x2df)]=_0xb40181;}['_createHandler'](){const _0x154ecb=_0x421733,_0x5dce4f=super[_0x154ecb(0x3fc)]();return _0x5dce4f['onTransformSelections']=_0x336ee4=>this[_0x154ecb(0x2df)]['transformSelections'](_0x336ee4),_0x5dce4f;}async[_0x421733(0x483)](){const _0x1611a0=_0x421733,_0x1c7c48=await super[_0x1611a0(0x483)]();return this[_0x1611a0(0x40e)](this[_0x1611a0(0x39a)]['onCommandExecuted']((_0x199559,_0x121739)=>{const _0x5ea924=_0x1611a0;if(_0x199559['type']!==_0x330e8b[_0x5ea924(0x446)]||_0x121739!=null&&_0x121739['fromCollab']||_0x121739!=null&&_0x121739[_0x5ea924(0x1db)])return;const _0x2023d2=_0x199559[_0x5ea924(0x3ba)];if((_0x2023d2==null?void 0x0:_0x2023d2['unitId'])!==this[_0x5ea924(0x4f8)])return;const _0x27eef6=_0x199559,_0xaea878=this['_compressMutationService'][_0x5ea924(0x42b)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x5ea924(0x42b)][_0x5ea924(0x1e3)]()['COMPRESS_MUTATION_SEND'])([_0x27eef6],null)||[_0x27eef6];this['_onLocalMutation'](_0xaea878[0x0]);})),_0x1c7c48;}};ls=Ps([H(0x3,_0x231990(_0x1d3c8c)),H(0x4,_0x231990(z)),H(0x5,_0x231990(_0x60c9a0)),H(0x6,_0x231990(_0x3097b7)),H(0x7,_0x231990(_0x2467a7)),H(0x8,_0x231990(yt)),H(0x9,_0x257353),H(0xa,_0x5af619),H(0xb,_0x2cbd8b),H(0xc,_0x286710),H(0xd,_0x1f1bd9(Ht))],ls);var xo=Object['defineProperty'],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x394d7b,_0x185bf2,_0x4f6ee2,_0x5dc43d)=>{for(var _0x36fc00=_0x5dc43d>0x1?void 0x0:_0x5dc43d?Lo(_0x185bf2,_0x4f6ee2):_0x185bf2,_0x8b9bc4=_0x394d7b['length']-0x1,_0x46cfb5;_0x8b9bc4>=0x0;_0x8b9bc4--)(_0x46cfb5=_0x394d7b[_0x8b9bc4])&&(_0x36fc00=(_0x5dc43d?_0x46cfb5(_0x185bf2,_0x4f6ee2,_0x36fc00):_0x46cfb5(_0x36fc00))||_0x36fc00);return _0x5dc43d&&_0x36fc00&&xo(_0x185bf2,_0x4f6ee2,_0x36fc00),_0x36fc00;},qt=(_0x448d31,_0x463fd7)=>(_0x2fe701,_0x655e5a)=>_0x463fd7(_0x2fe701,_0x655e5a,_0x448d31);let it=class extends _0x33a3aa{constructor(_0x47143b,_0x58f69e,_0x5640ad){const _0x3c63eb=_0x421733;super(),g(this,'_entities',new Map()),g(this,'_entityInit$',new _0x28e091()),(this['_injector']=_0x47143b,this[_0x3c63eb(0x1b4)]=_0x58f69e,this[_0x3c63eb(0x49a)]=_0x5640ad,this[_0x3c63eb(0x483)]());}[_0x421733(0x40d)](){const _0x38fe89=_0x421733;super[_0x38fe89(0x40d)](),this['_entities'][_0x38fe89(0x2d2)](_0x220ad7=>_0x220ad7[_0x38fe89(0x40d)]()),this['_entities'][_0x38fe89(0x186)]();}['getCollabEntity'](_0x514563){const _0x5a60f0=_0x421733;var _0x4c2881;return(_0x4c2881=this[_0x5a60f0(0x465)][_0x5a60f0(0x37c)](_0x514563))!=null?_0x4c2881:null;}['getCollabEntity$'](_0x132896){const _0x1c4672=_0x421733,_0x19f35c=this[_0x1c4672(0x409)](_0x132896);return _0x19f35c?_0x25af31(_0x19f35c):this[_0x1c4672(0x3ca)][_0x1c4672(0x552)](_0x1de59c(_0x3989cd=>_0x3989cd[_0x1c4672(0x4f8)]===_0x132896));}['_init'](){const _0x58ead8=_0x421733;this[_0x58ead8(0x49a)][_0x58ead8(0x438)](_0x24d9a0[_0x58ead8(0x219)])[_0x58ead8(0x552)](_0x2c50c2(this[_0x58ead8(0x4eb)]),_0x4c4c05(0x10))['subscribe'](async _0x89e506=>{const _0x2b0039=_0x58ead8,_0x3fb189=_0x89e506[_0x2b0039(0x47f)](),_0x57d1b4=await this['_startCollaboration'](_0x3fb189,ae[_0x2b0039(0x219)]);this['_entities']['set'](_0x3fb189,_0x57d1b4);}),this[_0x58ead8(0x49a)][_0x58ead8(0x438)](_0x24d9a0[_0x58ead8(0x42a)])['pipe'](_0x2c50c2(this[_0x58ead8(0x4eb)]),_0x4c4c05(0x10))[_0x58ead8(0x552)](_0x1de59c(_0x33041d=>!_0x33041d['getUnitId']()[_0x58ead8(0x2da)]('__')))['subscribe'](async _0x57ba3a=>{const _0x4ab5b6=_0x58ead8,_0x341990=_0x57ba3a[_0x4ab5b6(0x47f)](),_0x53a2f1=await this[_0x4ab5b6(0x27a)](_0x341990,ae[_0x4ab5b6(0x42a)]);this[_0x4ab5b6(0x465)]['set'](_0x341990,_0x53a2f1);}),_0x3f6cf6(this[_0x58ead8(0x49a)][_0x58ead8(0x251)](_0x24d9a0[_0x58ead8(0x219)]),this[_0x58ead8(0x49a)][_0x58ead8(0x251)](_0x24d9a0[_0x58ead8(0x42a)]))[_0x58ead8(0x552)](_0x2c50c2(this[_0x58ead8(0x4eb)]))[_0x58ead8(0x4fc)](_0x2263d0=>{const _0x72b7d5=_0x58ead8,_0x142b5c=_0x2263d0['getUnitId'](),_0x536b53=this['_entities'][_0x72b7d5(0x37c)](_0x142b5c);_0x536b53&&(_0x536b53[_0x72b7d5(0x40d)](),this['_entities']['delete'](_0x142b5c));});}async[_0x421733(0x27a)](_0x415453,_0x301342){const _0x1bab67=_0x421733,_0x4bb7cd=await this['_collabSessionService'][_0x1bab67(0x1ed)](_0x415453),_0x3e534a=this[_0x1bab67(0x30b)][_0x1bab67(0x341)](this[_0x1bab67(0x176)](_0x301342),_0x415453,_0x301342,_0x4bb7cd);return await _0x3e534a[_0x1bab67(0x371)](),this[_0x1bab67(0x3ca)]['next'](_0x3e534a),_0x3e534a;}[_0x421733(0x176)](_0x4efc45){const _0x6f30f9=_0x421733;switch(_0x4efc45){case ae[_0x6f30f9(0x42a)]:return hs;case ae[_0x6f30f9(0x219)]:return ls;default:throw new Error(_0x6f30f9(0x56b)+_0x4efc45);}}};it=$o([qt(0x0,_0x231990(_0x1d3c8c)),qt(0x1,_0x231990(Me)),qt(0x2,_0x186a82)],it);var Ho=Object['defineProperty'],jo=Object[_0x421733(0x2e2)],Bo=(_0x534ca2,_0x5b822c,_0x446ffc,_0x55ad1c)=>{const _0x5496be=_0x421733;for(var _0x43287c=_0x55ad1c>0x1?void 0x0:_0x55ad1c?jo(_0x5b822c,_0x446ffc):_0x5b822c,_0x59364f=_0x534ca2[_0x5496be(0x4b1)]-0x1,_0x26e6f9;_0x59364f>=0x0;_0x59364f--)(_0x26e6f9=_0x534ca2[_0x59364f])&&(_0x43287c=(_0x55ad1c?_0x26e6f9(_0x5b822c,_0x446ffc,_0x43287c):_0x26e6f9(_0x43287c))||_0x43287c);return _0x55ad1c&&_0x43287c&&Ho(_0x5b822c,_0x446ffc,_0x43287c),_0x43287c;},ei=(_0x5c0fab,_0x46f636)=>(_0x2073d8,_0x591b3c)=>_0x46f636(_0x2073d8,_0x591b3c,_0x5c0fab);let Ut=class extends _0x33a3aa{constructor(_0x579152,_0x352726){const _0x574533=_0x421733;super(),this['_docClipboardService']=_0x579152,this[_0x574533(0x414)]=_0x352726,this[_0x574533(0x483)]();}[_0x421733(0x483)](){const _0x2edf2b=_0x421733,_0x52335d=this;this['disposeWithMe'](this[_0x2edf2b(0x491)]['addClipboardHook']({'onBeforePasteImage':async _0x561284=>{const _0x1f5421=_0x2edf2b,_0x51a558=await _0x52335d['_imageIoService'][_0x1f5421(0x485)](_0x561284);return _0x51a558?{'source':_0x51a558[_0x1f5421(0x4fd)],'imageSourceType':_0x51a558[_0x1f5421(0x376)]}:null;}}));}};Ut=Bo([ei(0x0,_0x2be04a),ei(0x1,_0x2982a0)],Ut);const ti=['purple300',_0x421733(0x361),'verdancy600',_0x421733(0x29a),'blue400',_0x421733(0x595)];class Us extends _0x36e463{constructor(){const _0x45f8ce=_0x421733;super(...arguments),g(this,_0x45f8ce(0x2d6),new Map()),g(this,_0x45f8ce(0x196),0x0);}[_0x421733(0x244)](_0x1c86a5){const _0x5ced8f=_0x421733;if(this[_0x5ced8f(0x2d6)][_0x5ced8f(0x247)](_0x1c86a5))return this['_assignedColors'][_0x5ced8f(0x37c)](_0x1c86a5);const _0x1dc79a=ti[this[_0x5ced8f(0x196)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%ti[_0x5ced8f(0x4b1)],this['_assignedColors'][_0x5ced8f(0x228)](_0x1c86a5,_0x1dc79a),_0x1dc79a;}}var ko=Object[_0x421733(0x1c6)],Wo=Object['getOwnPropertyDescriptor'],Fo=(_0x1b5379,_0x10d072,_0x51a9bf,_0x1dcf1b)=>{for(var _0xc32f6b=_0x1dcf1b>0x1?void 0x0:_0x1dcf1b?Wo(_0x10d072,_0x51a9bf):_0x10d072,_0x312f84=_0x1b5379['length']-0x1,_0x155057;_0x312f84>=0x0;_0x312f84--)(_0x155057=_0x1b5379[_0x312f84])&&(_0xc32f6b=(_0x1dcf1b?_0x155057(_0x10d072,_0x51a9bf,_0xc32f6b):_0x155057(_0xc32f6b))||_0xc32f6b);return _0x1dcf1b&&_0xc32f6b&&ko(_0x10d072,_0x51a9bf,_0xc32f6b),_0xc32f6b;},we=(_0x54b9c8,_0xd792cd)=>(_0x361937,_0x684a5)=>_0xd792cd(_0x361937,_0x684a5,_0x54b9c8);const Vo=0x12c,Go=0x64;let _s=class extends _0x33a3aa{constructor(_0x57e9c8,_0x1e5562,_0x4089b2,_0xacc9ad,_0x52f6eb,_0x2cd517,_0x1d184f,_0x47b94c,_0x266123){const _0x4ab76b=_0x421733;super(),g(this,'_online',!0x1),g(this,_0x4ab76b(0x483),!0x1),g(this,_0x4ab76b(0x4d0),new _0x461b47(new Map())),g(this,_0x4ab76b(0x548),this[_0x4ab76b(0x4d0)]['asObservable']()),g(this,_0x4ab76b(0x3cc),new _0x461b47([])),g(this,_0x4ab76b(0x327),this['_roomMembers$'][_0x4ab76b(0x552)](_0x21c89c(Vo))),g(this,_0x4ab76b(0x51d),_0x4ce71a(_0x1e3740=>{const _0x3e1291=_0x4ab76b,_0x51f8fd={'eventID':_0xdb349a[_0x3e1291(0x1fb)],'data':{'unitID':this[_0x3e1291(0x4f8)],'memberID':this[_0x3e1291(0x1fa)][_0x3e1291(0x55a)](),'selection':Ki(_0x1e3740)}};this[_0x3e1291(0x1fa)][_0x3e1291(0x211)](_0x51f8fd,this[_0x3e1291(0x4f8)]);},Go)),(this[_0x4ab76b(0x4f8)]=_0x57e9c8,this[_0x4ab76b(0x1fa)]=_0x1e5562,this['_injector']=_0x4089b2,this[_0x4ab76b(0x51e)]=_0xacc9ad,this[_0x4ab76b(0x261)]=_0x52f6eb,this[_0x4ab76b(0x23b)]=_0x2cd517,this['_transformService']=_0x1d184f,this[_0x4ab76b(0x49a)]=_0x47b94c,this['_commandService']=_0x266123);}get[_0x421733(0x1ae)](){const _0x3b19a6=_0x421733;return this[_0x3b19a6(0x4d0)][_0x3b19a6(0x3f5)]();}get[_0x421733(0x519)](){const _0x4e1154=_0x421733;return this[_0x4e1154(0x3cc)]['getValue']();}[_0x421733(0x40d)](){const _0xd90439=_0x421733;super[_0xd90439(0x40d)](),this['_cursorInfo$'][_0xd90439(0x537)](new Map()),this[_0xd90439(0x4d0)][_0xd90439(0x4d3)](),this[_0xd90439(0x3cc)][_0xd90439(0x537)]([]),this[_0xd90439(0x3cc)][_0xd90439(0x4d3)]();}['init'](){const _0x416822=_0x421733;this[_0x416822(0x483)]||(this[_0x416822(0x483)]=!0x0,this['_session'][_0x416822(0x386)][_0x416822(0x552)](_0x2c50c2(this[_0x416822(0x4eb)]))[_0x416822(0x4fc)](_0x12b041=>{const _0x129111=_0x416822;_0x12b041===fe[_0x129111(0x16b)]?this[_0x129111(0x503)]():this[_0x129111(0x3c3)]();}),this[_0x416822(0x1fa)]['event$'][_0x416822(0x552)](_0x2c50c2(this['dispose$']))[_0x416822(0x4fc)](_0x30e69d=>{const _0x567678=_0x416822,_0x5860ed=_0x30e69d['eventID'];_0x5860ed===_0xdb349a['UPDATE_CURSOR']&&this[_0x567678(0x362)](_0x30e69d),_0x5860ed===_0xdb349a[_0x567678(0x451)]&&this[_0x567678(0x3d5)](_0x30e69d);}),this['disposeWithMe'](this[_0x416822(0x39a)][_0x416822(0x470)](_0x2dca85=>{const _0x5f3b84=_0x416822,_0x49fa04=_0x2dca85[_0x5f3b84(0x3ba)];_0x49fa04!=null&&this['_online']&&_0x2dca85['id']===_0x412e6f['id']&&_0x49fa04[_0x5f3b84(0x194)]===this[_0x5f3b84(0x4f8)]&&_0x49fa04[_0x5f3b84(0x206)]===!0x1&&_0x49fa04[_0x5f3b84(0x562)][_0x5f3b84(0x4b1)]>0x0&&this[_0x5f3b84(0x51d)](_0x49fa04[_0x5f3b84(0x562)]);})),this['_syncEditingCollabCursorService'][_0x416822(0x58b)][_0x416822(0x552)](_0x2c50c2(this['dispose$']))[_0x416822(0x4fc)](_0x482de6=>{const _0x569031=_0x416822;if((_0x482de6==null?void 0x0:_0x482de6['unitID'])!==this['unitID'])return;const _0x36dac6={'eventID':_0xdb349a[_0x569031(0x1fb)],'data':_0x482de6};this[_0x569031(0x362)](_0x36dac6);}),this[_0x416822(0x40e)](this[_0x416822(0x39a)][_0x416822(0x470)](_0x1e8318=>{const _0xf77e45=_0x416822;if(_0x1e8318['params']==null)return;const _0x5e3202=_0x1e8318[_0xf77e45(0x3ba)];if(_0x1e8318['id']!==_0x21e608['id']||_0x5e3202[_0xf77e45(0x194)]!==this[_0xf77e45(0x4f8)])return;const _0x15f29c={'id':_0xf77e45(0x2b5),'params':_0x5e3202},_0x17fcfb=this[_0xf77e45(0x1ae)];for(const [_0x37bd01,_0x14bcbd]of _0x17fcfb){const _0x3f1794={'id':_0xf77e45(0x2b5),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x14bcbd[_0xf77e45(0x562)]}},_0x13810c=this[_0xf77e45(0x579)][_0xf77e45(0x358)](_0x15f29c,_0x3f1794,!0x1);if(_0x2f8c79(_0x13810c))throw _0x13810c[_0xf77e45(0x3ff)];_0x17fcfb[_0xf77e45(0x228)](_0x37bd01,{..._0x14bcbd,'ranges':_0x13810c[_0xf77e45(0x4e7)][_0xf77e45(0x3ba)]['textRanges']});}queueMicrotask(()=>{const _0x4217bf=_0xf77e45;this[_0x4217bf(0x4d0)][_0x4217bf(0x537)](_0x17fcfb);});})));}[_0x421733(0x362)](_0x361769){const _0xbb2d05=_0x421733;var _0x28922f,_0x262e88;const {memberID:_0x5424bb,selection:_0x35d364}=_0x361769[_0xbb2d05(0x263)],_0x23f412=To(_0x35d364),_0x46437c=(_0x262e88=(_0x28922f=this[_0xbb2d05(0x261)][_0xbb2d05(0x3da)](this[_0xbb2d05(0x4f8)],_0x5424bb))==null?void 0x0:_0x28922f[_0xbb2d05(0x37a)])!=null?_0x262e88:_0xbb2d05(0x320),_0x1a3b71={'color':this[_0xbb2d05(0x51e)][_0xbb2d05(0x244)](_0x5424bb),'name':_0x46437c,'ranges':_0x23f412},_0x223f8a=this[_0xbb2d05(0x1ae)];_0x223f8a['set'](_0x5424bb,_0x1a3b71),this[_0xbb2d05(0x4d0)]['next'](_0x223f8a);}[_0x421733(0x3d5)](_0xe4be4){const _0x24aaae=_0x421733,{memberID:_0x5ac43f}=_0xe4be4['data'],_0x246b39=this[_0x24aaae(0x1ae)];_0x246b39['delete'](_0x5ac43f),this[_0x24aaae(0x4d0)][_0x24aaae(0x537)](_0x246b39);}['_toggleOnline'](){const _0x1bb02a=_0x421733;var _0x392436;if(this['_online']=!0x0,((_0x392436=this[_0x1bb02a(0x49a)][_0x1bb02a(0x30d)]())==null?void 0x0:_0x392436[_0x1bb02a(0x47f)]())!==this['unitID'])return;const _0x54fc09=this[_0x1bb02a(0x30b)][_0x1bb02a(0x37c)](_0x41a45f)[_0x1bb02a(0x46f)]();Array['isArray'](_0x54fc09)&&_0x54fc09[_0x1bb02a(0x4b1)]>0x0&&this[_0x1bb02a(0x51d)](_0x54fc09);}['_toggleOffline'](){const _0x5d4ebc=_0x421733;this[_0x5d4ebc(0x21a)]=!0x1;}};_s=Fo([we(0x2,_0x231990(_0x1d3c8c)),we(0x3,_0x231990(Us)),we(0x4,_0x231990(Ae)),we(0x5,_0x231990(Ds)),we(0x6,_0x2b2256),we(0x7,_0x186a82),we(0x8,_0x5af619)],_s);var Yo=Object[_0x421733(0x1c6)],Ko=Object[_0x421733(0x2e2)],qo=(_0x3d552c,_0x313340,_0x3fa864,_0x29e5e8)=>{for(var _0x158548=_0x29e5e8>0x1?void 0x0:_0x29e5e8?Ko(_0x313340,_0x3fa864):_0x313340,_0x1c8fcb=_0x3d552c['length']-0x1,_0x1cd2c5;_0x1c8fcb>=0x0;_0x1c8fcb--)(_0x1cd2c5=_0x3d552c[_0x1c8fcb])&&(_0x158548=(_0x29e5e8?_0x1cd2c5(_0x313340,_0x3fa864,_0x158548):_0x1cd2c5(_0x158548))||_0x158548);return _0x29e5e8&&_0x158548&&Yo(_0x313340,_0x3fa864,_0x158548),_0x158548;},je=(_0x5a057b,_0x45f8cc)=>(_0x441eb2,_0x146481)=>_0x45f8cc(_0x441eb2,_0x146481,_0x5a057b);const zo=0x12c,Xo=0x64,Jo=()=>{let _0x2f16f1=[],_0x128443=!0x1;return _0x52a37c=>{const _0x21484c=_0x9980;_0x2f16f1[_0x21484c(0x2ac)](_0x52a37c),_0x128443||(_0x128443=!0x0,setTimeout(()=>{_0x2f16f1['forEach'](_0x4b0e18=>_0x4b0e18()),_0x2f16f1=[],_0x128443=!0x1;}));};};let us=class extends _0x33a3aa{constructor(_0x218224,_0x5bb8f2,_0x109a74,_0x1850c3,_0x2b9f33,_0x4b5e54,_0x33c0b3,_0x2e6286){const _0x54bd17=_0x421733;super(),g(this,_0x54bd17(0x21a),!0x1),g(this,'_init',!0x1),g(this,'_cursorInfo$',new _0x461b47(new Map())),g(this,'cursorInfo$',this['_cursorInfo$'][_0x54bd17(0x314)]()),g(this,_0x54bd17(0x3cc),new _0x461b47([])),g(this,'roomMembers$',this[_0x54bd17(0x3cc)]['pipe'](_0x21c89c(zo))),g(this,_0x54bd17(0x51d),_0x4ce71a((_0x581417,_0x4e91ee)=>{const _0x3d6f78=_0x54bd17,_0x3a993d={'eventID':_0xdb349a[_0x3d6f78(0x1fb)],'data':{'unitID':this['unitID'],'memberID':this[_0x3d6f78(0x1fa)][_0x3d6f78(0x55a)](),'selection':_0x5a7c45(_0x581417,_0x4e91ee['range'])}};this[_0x3d6f78(0x1fa)][_0x3d6f78(0x211)](_0x3a993d,this[_0x3d6f78(0x4f8)]);},Xo)),(this[_0x54bd17(0x4f8)]=_0x218224,this[_0x54bd17(0x1fa)]=_0x5bb8f2,this[_0x54bd17(0x30b)]=_0x109a74,this['_colorAssignService']=_0x1850c3,this[_0x54bd17(0x261)]=_0x2b9f33,this[_0x54bd17(0x49a)]=_0x4b5e54,this[_0x54bd17(0x39a)]=_0x33c0b3,this[_0x54bd17(0x1a1)]=_0x2e6286);}get[_0x421733(0x1ae)](){const _0x3c8a49=_0x421733;return this[_0x3c8a49(0x4d0)]['getValue']();}get[_0x421733(0x519)](){const _0x3d2514=_0x421733;return this[_0x3d2514(0x3cc)][_0x3d2514(0x3f5)]();}[_0x421733(0x40d)](){const _0x4f9ef7=_0x421733;super[_0x4f9ef7(0x40d)](),this[_0x4f9ef7(0x4d0)]['next'](new Map()),this['_cursorInfo$'][_0x4f9ef7(0x4d3)](),this['_roomMembers$']['next']([]),this[_0x4f9ef7(0x3cc)]['complete']();}[_0x421733(0x371)](){const _0x5afc28=_0x421733;this[_0x5afc28(0x483)]||(this[_0x5afc28(0x483)]=!0x0,this[_0x5afc28(0x1fa)]['sessionStatus$'][_0x5afc28(0x552)](_0x2c50c2(this[_0x5afc28(0x4eb)]))['subscribe'](_0x1c2ced=>{const _0x4d24ec=_0x5afc28;_0x1c2ced===fe[_0x4d24ec(0x16b)]?this['_toggleOnline']():this[_0x4d24ec(0x3c3)]();}),this['_session'][_0x5afc28(0x2dd)]['pipe'](_0x2c50c2(this[_0x5afc28(0x4eb)]))['subscribe'](_0x59813d=>{const _0x410a46=_0x5afc28,_0x10267f=_0x59813d[_0x410a46(0x41e)];_0x10267f===_0xdb349a[_0x410a46(0x1fb)]&&this[_0x410a46(0x362)](_0x59813d),_0x10267f===_0xdb349a[_0x410a46(0x451)]&&this['_onCursorDelete'](_0x59813d);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x5afc28(0x39a)][_0x5afc28(0x470)](_0x345454=>{const _0x5a9e7d=_0x5afc28;if(this[_0x5a9e7d(0x21a)]&&_0x345454['id']===_0x15ebeb['id']&&_0x345454[_0x5a9e7d(0x3ba)]['unitId']===this[_0x5a9e7d(0x4f8)]){const _0x350bdf=_0x345454['params'];this['_updateLocalCursor'](_0x350bdf[_0x5a9e7d(0x234)],_0x350bdf['selections'][0x0]);}})));}[_0x421733(0x362)](_0x2dd71b){const _0x498065=_0x421733;var _0x3a2042,_0x30b81e;const {memberID:_0x375464,selection:_0x387e2a}=_0x2dd71b[_0x498065(0x263)],{sheetName:_0x4d55a9,range:_0x197470}=_0x4c7e86(_0x387e2a),_0x40cfae={'name':(_0x30b81e=(_0x3a2042=this['_memberService'][_0x498065(0x3da)](this[_0x498065(0x4f8)],_0x375464))==null?void 0x0:_0x3a2042[_0x498065(0x37a)])!=null?_0x30b81e:_0x498065(0x320),'range':this[_0x498065(0x1e5)](_0x4d55a9,_0x197470),'sheetID':_0x4d55a9,'color':this[_0x498065(0x51e)][_0x498065(0x244)](_0x375464),'selection':_0x387e2a},_0x54caa8=this['cursorInfo'];_0x54caa8[_0x498065(0x228)](_0x375464,_0x40cfae),this[_0x498065(0x4d0)][_0x498065(0x537)](_0x54caa8);}['_onCursorDelete'](_0x304d5f){const _0x339d1c=_0x421733,{memberID:_0x69b308}=_0x304d5f[_0x339d1c(0x263)],_0x45718e=this[_0x339d1c(0x1ae)];_0x45718e[_0x339d1c(0x2d8)](_0x69b308),this[_0x339d1c(0x4d0)][_0x339d1c(0x537)](_0x45718e);}[_0x421733(0x1e5)](_0x9114b4,_0x275e55){const _0x5bb227=_0x421733;var _0x29b04f,_0x5653fd;const _0x1e0031=(_0x5653fd=(_0x29b04f=this['_univerInstanceService'][_0x5bb227(0x564)](this[_0x5bb227(0x4f8)]))==null?void 0x0:_0x29b04f['getSheetBySheetId'](_0x9114b4))==null?void 0x0:_0x5653fd[_0x5bb227(0x535)]();return(_0x1e0031==null?void 0x0:_0x1e0031[_0x5bb227(0x3c5)](_0x140d7a=>_0x1f3690['contains'](_0x140d7a,_0x275e55)))||_0x275e55;}[_0x421733(0x3ee)](){const _0x270569=_0x421733,_0x46ba16=new _0xad70f7(),_0x517388=Jo(),_0x5415f1=()=>{const _0xb7a2b9=_0x9980;_0x46ba16[_0xb7a2b9(0x40d)]();const _0x2e48d8=(_0x32f997,_0x318a17,_0x10d57f,_0x2a44ec)=>{const _0x2a7eb7=_0xb7a2b9;let _0x255a19=[];switch(_0x32f997['id']){case _0x1b877c[_0x2a7eb7(0x435)]:{_0x255a19=_0x31db42(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x2ed)]:{_0x255a19=_0x2523aa(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x34c)]:{_0x255a19=_0x44d185(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x4db)]:{_0x255a19=_0xdcdacc(_0x32f997,_0x2a44ec);break;}case _0x1b877c['InsertRangeMoveRightCommandId']:{_0x255a19=_0x30a3c5(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x4d7)]:{_0x255a19=_0x452c99(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x331)]:{_0x255a19=_0x1686e7(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x4cb)]:{_0x255a19=_0x3571ea(_0x32f997,_0x2a44ec);break;}case _0x1b877c[_0x2a7eb7(0x50f)]:{_0x255a19=_0xdd0575(_0x32f997,_0x2a44ec);break;}}const _0x333b04=_0x1a11fa(_0x255a19,_0x2a44ec),_0x5075e3=this[_0x2a7eb7(0x1ae)]['get'](_0x318a17);if(_0x5075e3&&_0x333b04){const _0x4033a8={..._0x5075e3,'range':_0x333b04};this['cursorInfo'][_0x2a7eb7(0x228)](_0x318a17,_0x4033a8),_0x517388(()=>{const _0x5a17d7=_0x2a7eb7,_0x52ca13=this[_0x5a17d7(0x1a1)][_0x5a17d7(0x442)](_0x333b04,_0x711d8e=>(_0x52ca13[_0x5a17d7(0x40d)](),_0x2e48d8(_0x711d8e,_0x318a17,_0x10d57f,_0x333b04)));_0x46ba16[_0x5a17d7(0x27c)](_0x52ca13);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x1010d4,_0x411044)=>{const _0xf8757b=_0xb7a2b9,{range:_0x430208,sheetID:_0x4a0a73}=_0x1010d4,_0x6edf88=this[_0xf8757b(0x1a1)][_0xf8757b(0x442)](_0x430208,_0x1c27d6=>(_0x6edf88['dispose'](),_0x2e48d8(_0x1c27d6,_0x411044,_0x4a0a73,_0x430208)));_0x46ba16[_0xf8757b(0x27c)](_0x6edf88);});};this[_0x270569(0x40e)](_0xb887b1(this['_cursorInfo$'][_0x270569(0x4fc)](()=>{_0x5415f1();})));}[_0x421733(0x503)](){const _0x5b4a27=_0x421733;var _0x1305fd,_0x31172d;if(this['_online']=!0x0,((_0x1305fd=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1305fd[_0x5b4a27(0x47f)]())!==this[_0x5b4a27(0x4f8)])return;const _0xe43314=(_0x31172d=this[_0x5b4a27(0x30b)][_0x5b4a27(0x37c)](_0x2ad53c)['getCurrentSelections']())==null?void 0x0:_0x31172d[0x0],_0x250d0c=this['_univerInstanceService'][_0x5b4a27(0x3f6)](_0x24d9a0[_0x5b4a27(0x219)])[_0x5b4a27(0x40f)]();_0xe43314&&_0x250d0c&&this[_0x5b4a27(0x51d)](_0x250d0c[_0x5b4a27(0x1c8)](),_0xe43314);}['_toggleOffline'](){this['_online']=!0x1;}};us=qo([je(0x2,_0x231990(_0x1d3c8c)),je(0x3,_0x231990(Us)),je(0x4,_0x231990(Ae)),je(0x5,_0x186a82),je(0x6,_0x5af619),je(0x7,_0x231990(_0x14e37a))],us);var Zo=Object[_0x421733(0x1c6)],Qo=Object[_0x421733(0x2e2)],ea=(_0x26e120,_0x430387,_0x15490f,_0x325345)=>{const _0x3cba58=_0x421733;for(var _0x10eb3f=_0x325345>0x1?void 0x0:_0x325345?Qo(_0x430387,_0x15490f):_0x430387,_0x5cfdf7=_0x26e120[_0x3cba58(0x4b1)]-0x1,_0x45ced1;_0x5cfdf7>=0x0;_0x5cfdf7--)(_0x45ced1=_0x26e120[_0x5cfdf7])&&(_0x10eb3f=(_0x325345?_0x45ced1(_0x430387,_0x15490f,_0x10eb3f):_0x45ced1(_0x10eb3f))||_0x10eb3f);return _0x325345&&_0x10eb3f&&Zo(_0x430387,_0x15490f,_0x10eb3f),_0x10eb3f;},zt=(_0x498c27,_0x2c52b0)=>(_0x4fc5b5,_0x3803b2)=>_0x2c52b0(_0x4fc5b5,_0x3803b2,_0x498c27);function _0x9980(_0x3f7238,_0x2f8288){const _0x5bbab9=_0x5bba();return _0x9980=function(_0x998064,_0x8b58b6){_0x998064=_0x998064-0x16b;let _0x172c5d=_0x5bbab9[_0x998064];return _0x172c5d;},_0x9980(_0x3f7238,_0x2f8288);}let Fe=class extends _0x33a3aa{constructor(_0x3f9a4e,_0x3a782c,_0x392cd2){const _0xc7b207=_0x421733;super(),g(this,_0xc7b207(0x465),new Map()),g(this,_0xc7b207(0x3ca),new _0x28e091()),(this['_univerInstanceService']=_0x3f9a4e,this[_0xc7b207(0x30b)]=_0x3a782c,this['_collabSessionService']=_0x392cd2,this['_init']());}[_0x421733(0x40d)](){const _0x541551=_0x421733;super[_0x541551(0x40d)](),this['_entityInit$'][_0x541551(0x4d3)](),this[_0x541551(0x465)][_0x541551(0x2d2)](_0x4a68f4=>_0x4a68f4[_0x541551(0x40d)]());}[_0x421733(0x17e)](_0x3311d7){const _0xf7377c=_0x421733;return this[_0xf7377c(0x465)][_0xf7377c(0x247)](_0x3311d7)?this[_0xf7377c(0x465)][_0xf7377c(0x37c)](_0x3311d7)[_0xf7377c(0x548)]:this['_entityInit$'][_0xf7377c(0x552)](_0x5a99f6(_0x4db5bb=>_0x4db5bb['unitID']===_0x3311d7),_0x48c325(_0x326dd1=>_0x326dd1[_0xf7377c(0x548)]));}[_0x421733(0x483)](){const _0x17aea8=_0x421733;this['_univerInstanceService'][_0x17aea8(0x438)](_0x24d9a0[_0x17aea8(0x219)])['pipe'](_0x2c50c2(this[_0x17aea8(0x4eb)]))[_0x17aea8(0x4fc)](async _0x8e13e0=>{const _0x540ee9=_0x17aea8,_0x4c6795=_0x8e13e0[_0x540ee9(0x47f)](),_0x206f24=await this[_0x540ee9(0x2e1)](_0x4c6795);this['_entityInit$'][_0x540ee9(0x537)](_0x206f24),this[_0x540ee9(0x465)][_0x540ee9(0x228)](_0x4c6795,_0x206f24);}),this[_0x17aea8(0x49a)]['getTypeOfUnitAdded$'](_0x24d9a0['UNIVER_DOC'])[_0x17aea8(0x552)](_0x2c50c2(this[_0x17aea8(0x4eb)]))[_0x17aea8(0x552)](_0x5a99f6(_0x3de85e=>!_0x3de85e[_0x17aea8(0x47f)]()[_0x17aea8(0x2da)]('__')))['subscribe'](async _0x490a62=>{const _0x3fa7b6=_0x17aea8,_0x4b277e=_0x490a62[_0x3fa7b6(0x47f)](),_0x5378eb=await this[_0x3fa7b6(0x212)](_0x4b277e);this[_0x3fa7b6(0x3ca)][_0x3fa7b6(0x537)](_0x5378eb),this[_0x3fa7b6(0x465)]['set'](_0x4b277e,_0x5378eb);}),_0x3f6cf6(this[_0x17aea8(0x49a)][_0x17aea8(0x251)](_0x24d9a0[_0x17aea8(0x42a)]),this[_0x17aea8(0x49a)][_0x17aea8(0x251)](_0x24d9a0[_0x17aea8(0x219)]))[_0x17aea8(0x552)](_0x2c50c2(this[_0x17aea8(0x4eb)]))[_0x17aea8(0x4fc)](_0x2aa140=>{const _0x270f24=_0x17aea8,_0x38aeb8=_0x2aa140[_0x270f24(0x47f)](),_0xef7f0e=this[_0x270f24(0x465)][_0x270f24(0x37c)](_0x38aeb8);_0xef7f0e&&(_0xef7f0e[_0x270f24(0x40d)](),this[_0x270f24(0x465)]['delete'](_0x38aeb8));});}async['_startSheetCollabCursor'](_0xef7cca){const _0x549782=_0x421733,_0x166536=await this[_0x549782(0x1b4)][_0x549782(0x1ed)](_0xef7cca),_0x429eec=this[_0x549782(0x30b)][_0x549782(0x341)](us,_0xef7cca,_0x166536);return _0x429eec['init'](),_0x429eec;}async[_0x421733(0x212)](_0x14588f){const _0x15068f=_0x421733,_0x49cf0f=await this[_0x15068f(0x1b4)]['requireSession'](_0x14588f),_0x3268e1=this['_injector'][_0x15068f(0x341)](_s,_0x14588f,_0x49cf0f);return _0x3268e1[_0x15068f(0x371)](),_0x3268e1;}};Fe=ea([zt(0x0,_0x186a82),zt(0x1,_0x231990(_0x1d3c8c)),zt(0x2,_0x231990(Me))],Fe);const rt=0x14,si=0xc8,Xt=0x4,ta=0x5;function sa(_0x342982,_0x93f2e0){const _0x8fe9d3=_0x421733;let {radius:_0x186bc0,width:_0x5d1321,height:_0x7fc889}=_0x93f2e0;_0x186bc0=_0x186bc0!=null?_0x186bc0:0x0,_0x5d1321=_0x5d1321!=null?_0x5d1321:0x1e,_0x7fc889=_0x7fc889!=null?_0x7fc889:0x1e;let _0x2c0005=0x0,_0x36e92b=0x0,_0x239503=0x0;_0x2c0005=_0x36e92b=_0x239503=Math[_0x8fe9d3(0x3e2)](_0x186bc0,_0x5d1321/0x2,_0x7fc889/0x2),_0x342982[_0x8fe9d3(0x572)](),_0x342982['moveTo'](_0x2c0005,0x0),_0x342982['lineTo'](_0x5d1321-_0x36e92b,0x0),_0x342982[_0x8fe9d3(0x2e3)](_0x5d1321-_0x36e92b,_0x36e92b,_0x36e92b,Math['PI']*0x3/0x2,0x0,!0x1),_0x342982[_0x8fe9d3(0x18a)](_0x5d1321,_0x7fc889-_0x239503),_0x342982['arc'](_0x5d1321-_0x239503,_0x7fc889-_0x239503,_0x239503,0x0,Math['PI']/0x2,!0x1),_0x342982[_0x8fe9d3(0x18a)](0x0,_0x7fc889),_0x342982[_0x8fe9d3(0x18a)](0x0,_0x2c0005),_0x342982['arc'](_0x2c0005,_0x2c0005,_0x2c0005,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x342982[_0x8fe9d3(0x2fa)](),_0x93f2e0[_0x8fe9d3(0x499)]&&(_0x342982[_0x8fe9d3(0x273)](),_0x342982[_0x8fe9d3(0x381)]=_0x93f2e0[_0x8fe9d3(0x499)],_0x93f2e0[_0x8fe9d3(0x304)]==='evenodd'?_0x342982['fill'](_0x8fe9d3(0x22f)):_0x342982[_0x8fe9d3(0x499)](),_0x342982['restore']());}class jt extends _0x4a6244{constructor(_0x272ab9,_0x3b4345){const _0x4a0892=_0x421733;super(_0x272ab9,_0x3b4345),g(this,'color'),g(this,'text'),(this[_0x4a0892(0x3ed)]=_0x3b4345==null?void 0x0:_0x3b4345[_0x4a0892(0x3ed)],this['text']=_0x3b4345==null?void 0x0:_0x3b4345[_0x4a0892(0x292)]);}static[_0x421733(0x19a)](_0x57693a,_0x521bd){const _0x2c6154=_0x421733,{text:_0x245a1e,color:_0x311c63}=_0x521bd;_0x57693a[_0x2c6154(0x273)](),_0x57693a[_0x2c6154(0x2e6)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x230513=_0x57693a[_0x2c6154(0x3c7)](_0x245a1e)['width'],_0x235fc8=Math[_0x2c6154(0x3e2)](_0x230513+0x2*Xt,si);sa(_0x57693a,{'height':rt,'radius':0x4,'width':_0x235fc8,'fill':_0x311c63,'evented':!0x1}),_0x57693a[_0x2c6154(0x381)]='#FFF';const _0x46af1a=Xt,_0x705712=rt-ta,_0x221000=si-0x2*Xt;if(_0x230513>_0x221000){let _0x5955cb='',_0x494d5b=0x0;for(const _0x2a2ab5 of _0x245a1e){const _0x303db6=_0x57693a[_0x2c6154(0x3c7)](_0x2a2ab5)[_0x2c6154(0x378)];if(_0x494d5b+_0x303db6<=_0x221000-_0x57693a[_0x2c6154(0x3c7)]('...')[_0x2c6154(0x378)])_0x5955cb+=_0x2a2ab5,_0x494d5b+=_0x303db6;else{_0x5955cb+='...';break;}}_0x57693a['fillText'](_0x5955cb,_0x46af1a,_0x705712);}else _0x57693a[_0x2c6154(0x272)](_0x245a1e,_0x46af1a,_0x705712);_0x57693a['restore']();}['_draw'](_0x1f557a){jt['drawWith'](_0x1f557a,this);}}const Jt=_0x421733(0x549),ia='collab-text-range-',ra=_0x421733(0x588),Xe=0x6,na=1.5,Zt=0x4,oa=1.5,aa='rgba(255,\x20255,\x20255,\x200.01)';class ii{constructor(_0x29b585,_0x2eaf97,_0x3e050b,_0x2e0308){const _0x3b980f=_0x421733;g(this,'_shapes',[]),g(this,_0x3b980f(0x2a8),null),g(this,_0x3b980f(0x42f),null),g(this,_0x3b980f(0x3d1),null),g(this,_0x3b980f(0x437),null),g(this,_0x3b980f(0x43a),null),(this['_cursor']=_0x29b585,this[_0x3b980f(0x4b7)]=_0x2eaf97,this[_0x3b980f(0x52f)]=_0x3e050b,this[_0x3b980f(0x1a7)]=_0x2e0308,this['_render']());}set[_0x421733(0x4f6)](_0x140c8c){const _0x466edc=_0x421733;_0x140c8c?(this[_0x466edc(0x3d1)]&&this[_0x466edc(0x3d1)][_0x466edc(0x52e)](),this[_0x466edc(0x42f)]&&this[_0x466edc(0x42f)][_0x466edc(0x34d)]()):(this[_0x466edc(0x3d1)]&&this[_0x466edc(0x3d1)]['show'](),this['_textBubble']&&this['_textBubble'][_0x466edc(0x52e)]());}[_0x421733(0x40d)](){const _0x3b572=_0x421733;for(const _0x1e2f33 of this[_0x3b572(0x31c)])_0x1e2f33[_0x3b572(0x40d)]();this[_0x3b572(0x42f)]&&this['_textBubble'][_0x3b572(0x40d)](),this[_0x3b572(0x3d1)]&&this[_0x3b572(0x3d1)][_0x3b572(0x40d)](),this[_0x3b572(0x2a8)]&&this[_0x3b572(0x2a8)][_0x3b572(0x40d)](),this[_0x3b572(0x43a)]&&this[_0x3b572(0x43a)]();}[_0x421733(0x3f7)](){const _0x2647cd=_0x421733;var _0x510ea9;const {_docSkeleton:_0x1d9ef7,_document:_0x1edc94}=this,{color:_0x378bb3,name:_0x2be607,ranges:_0xa7bdf4}=this[_0x2647cd(0x271)],_0x14068c=_0x1edc94[_0x2647cd(0x4b4)](),{docsLeft:_0x4f043f,docsTop:_0x5bccd4}=_0x14068c,_0x13c9bc=new _0x36574c(_0x14068c,_0x1d9ef7);for(const {startOffset:_0x569f4d,endOffset:_0x7d291d,rangeType:_0x320ea7,segmentId:_0x292e2b,segmentPage:_0x31bcdb,collapsed:_0x56a777,isActive:_0x40878e}of _0xa7bdf4){const _0x4a60f3=_0x1d9ef7[_0x2647cd(0x4d5)](_0x569f4d,!0x0,_0x292e2b,_0x31bcdb);let _0x9650f6=_0x1d9ef7['findNodePositionByCharIndex'](_0x7d291d,!0x0,_0x292e2b,_0x31bcdb);if(_0x9650f6==null&&(_0x9650f6=_0x1d9ef7[_0x2647cd(0x4d5)](_0x7d291d-0x1,!0x1,_0x292e2b,_0x31bcdb)),_0x40878e){const {contentBoxPointGroup:_0x2664af}=_0x13c9bc[_0x2647cd(0x456)](_0x9650f6,_0x9650f6);if(_0x2664af[_0x2647cd(0x4b1)]===0x0)continue;this['_drawAnchor'](_0x378bb3,_0x2664af,_0x4f043f,_0x5bccd4,_0x2be607),this['_eventUnsubscribe']=this[_0x2647cd(0x52a)]();}if(_0x4a60f3&&_0x9650f6){if(_0x320ea7===_0x24d6fa[_0x2647cd(0x4da)]){const _0x278021=new _0x4d6d36(_0x14068c,_0x1d9ef7),{pointGroup:_0x3b91dc}=(_0x510ea9=_0x278021[_0x2647cd(0x456)](_0x4a60f3,_0x9650f6))!=null?_0x510ea9:{};if(_0x3b91dc==null||_0x3b91dc[_0x2647cd(0x4b1)]===0x0)continue;this[_0x2647cd(0x301)](_0x378bb3,_0x3b91dc,_0x4f043f,_0x5bccd4);}else{if(!_0x56a777){const {borderBoxPointGroup:_0x27a33f}=_0x13c9bc[_0x2647cd(0x456)](_0x4a60f3,_0x9650f6);if(_0x27a33f[_0x2647cd(0x4b1)]===0x0)continue;this[_0x2647cd(0x1bb)](_0x378bb3,_0x27a33f,_0x4f043f,_0x5bccd4);}}}}}[_0x421733(0x416)](_0x294c01,_0x107a6f,_0x2481ba,_0xd85c16,_0xcf0186){const _0x3a91d8=_0x421733,_0x3200de=this[_0x3a91d8(0x4ad)](_0x107a6f),{left:_0x38071b,top:_0x2c6780,height:_0x1f9705}=_0x3200de,_0x33c410=this[_0x3a91d8(0x2f5)](),_0x5a63c2=oa/_0x33c410,_0x267735=new _0x59ff16(Jt+_0x4705c7[_0x3a91d8(0x3b8)](Xe),{'left':_0x38071b+_0x2481ba-_0x5a63c2,'top':_0x2c6780+_0xd85c16,'height':_0x1f9705,'width':na,'fill':_0x294c01||_0x576b6f(_0x5e0a26[_0x3a91d8(0x178)],0x0),'strokeWidth':_0x5a63c2,'stroke':aa,'evented':!0x0});this[_0x3a91d8(0x2a8)]=_0x267735,this[_0x3a91d8(0x4b7)][_0x3a91d8(0x257)](_0x267735,_0x30ad98);const _0x9c5007=new _0x59ff16(Jt+_0x4705c7[_0x3a91d8(0x3b8)](Xe),{'left':_0x38071b+_0x2481ba-_0x5a63c2,'top':_0x2c6780+_0xd85c16-Zt/0x2,'height':Zt,'width':Zt,'fill':_0x294c01||_0x576b6f(_0x5e0a26[_0x3a91d8(0x178)],0x0),'strokeWidth':0x0,'stroke':_0x294c01||_0x576b6f(_0x5e0a26[_0x3a91d8(0x178)],0x0),'evented':!0x1});this[_0x3a91d8(0x3d1)]=_0x9c5007,this[_0x3a91d8(0x4b7)][_0x3a91d8(0x257)](_0x9c5007,_0x30ad98);const _0xf3ee5c=new jt(Jt+_0x4705c7['generateRandomId'](Xe),{'left':_0x38071b+_0x2481ba-_0x5a63c2,'top':_0x2c6780+_0xd85c16-rt,'text':_0xcf0186,'color':_0x294c01});this['_textBubble']=_0xf3ee5c,this['_scene']['addObject'](_0xf3ee5c,_0x30ad98),this[_0x3a91d8(0x4f6)]=!0x1;}[_0x421733(0x52a)](){const _0x129a06=_0x421733,_0x5e0005=this[_0x129a06(0x2a8)][_0x129a06(0x382)][_0x129a06(0x449)](()=>{const _0x2e3a32=_0x129a06;this[_0x2e3a32(0x4f6)]=!0x0;}),_0x395752=this[_0x129a06(0x2a8)][_0x129a06(0x478)][_0x129a06(0x449)](()=>{const _0x1532c9=_0x129a06;this['_hideTimer']&&clearTimeout(this[_0x1532c9(0x437)]),this[_0x1532c9(0x437)]=setTimeout(()=>{const _0x4b7d55=_0x1532c9;this[_0x4b7d55(0x4f6)]=!0x1;},0x7d0);});return()=>{const _0x52fa07=_0x129a06;_0x5e0005[_0x52fa07(0x36f)](),_0x395752[_0x52fa07(0x36f)]();};}[_0x421733(0x1bb)](_0x38bef8,_0x22ae90,_0x3ea84b,_0x14ec76){const _0x14e54a=_0x421733,_0x286100=new _0x247bdf(_0x38bef8)[_0x14e54a(0x25f)](0.2)[_0x14e54a(0x33b)](),_0x1b7276=new _0xaf8e19(ia+_0x4705c7[_0x14e54a(0x3b8)](Xe),{'pointsGroup':_0x22ae90,'fill':_0x286100||_0x576b6f(_0x5e0a26[_0x14e54a(0x178)],0.2),'left':_0x3ea84b,'top':_0x14ec76,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x14e54a(0x31c)][_0x14e54a(0x2ac)](_0x1b7276),this[_0x14e54a(0x4b7)][_0x14e54a(0x257)](_0x1b7276,_0x30ad98);}[_0x421733(0x301)](_0x4bad78,_0x3d6247,_0x146a3e,_0x45b3af){const _0x4cf8b8=_0x421733,_0x1fa9ea=new _0x247bdf(_0x4bad78)[_0x4cf8b8(0x25f)](0.2)['toRgbString'](),_0x2d3734=new _0xaf8e19(ra+_0x4705c7[_0x4cf8b8(0x3b8)](Xe),{'pointsGroup':_0x3d6247,'fill':_0x1fa9ea||_0x576b6f(_0x5e0a26[_0x4cf8b8(0x178)],0.2),'left':_0x146a3e,'top':_0x45b3af,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cf8b8(0x31c)][_0x4cf8b8(0x2ac)](_0x2d3734),this[_0x4cf8b8(0x4b7)][_0x4cf8b8(0x257)](_0x2d3734,_0x30ad98);}[_0x421733(0x4ad)](_0x3df9aa){const _0x10a420=_0x3df9aa[0x0],_0x4fde5a=_0x10a420[0x0],_0xf4e163=_0x10a420[0x2],{x:_0x4b03de,y:_0x115280}=_0x4fde5a,{x:_0xdcfa00,y:_0x39adb1}=_0xf4e163;return{'left':_0x4b03de,'top':_0x115280,'width':_0xdcfa00-_0x4b03de,'height':_0x39adb1-_0x115280};}[_0x421733(0x2f5)](){const _0x107fe3=_0x421733,{scaleX:_0x1183e9,scaleY:_0x35a33b}=this[_0x107fe3(0x4b7)][_0x107fe3(0x439)]();return Math[_0x107fe3(0x256)](_0x1183e9,_0x35a33b);}}var ca=Object[_0x421733(0x1c6)],ha=Object[_0x421733(0x2e2)],la=(_0x49b115,_0xf20b79,_0x5f187b,_0x3b6f37)=>{const _0x5d7fa2=_0x421733;for(var _0x55d0d4=_0x3b6f37>0x1?void 0x0:_0x3b6f37?ha(_0xf20b79,_0x5f187b):_0xf20b79,_0x43b86f=_0x49b115[_0x5d7fa2(0x4b1)]-0x1,_0xfd359f;_0x43b86f>=0x0;_0x43b86f--)(_0xfd359f=_0x49b115[_0x43b86f])&&(_0x55d0d4=(_0x3b6f37?_0xfd359f(_0xf20b79,_0x5f187b,_0x55d0d4):_0xfd359f(_0x55d0d4))||_0x55d0d4);return _0x3b6f37&&_0x55d0d4&&ca(_0xf20b79,_0x5f187b,_0x55d0d4),_0x55d0d4;},ct=(_0x254481,_0x806b1a)=>(_0x561a3a,_0x278c67)=>_0x806b1a(_0x561a3a,_0x278c67,_0x254481);let ds=class extends _0x33a3aa{constructor(_0x3c52ec,_0x3cff8d,_0x3efd2c,_0x325d50,_0x450f60){const _0x349efb=_0x421733;super(),g(this,'_cursorShapes',[]),g(this,_0x349efb(0x3d4),[]),(this[_0x349efb(0x177)]=_0x3c52ec,this[_0x349efb(0x424)]=_0x3cff8d,this[_0x349efb(0x2ab)]=_0x3efd2c,this[_0x349efb(0x39a)]=_0x325d50,this[_0x349efb(0x207)]=_0x450f60,this[_0x349efb(0x483)]());}['_init'](){const _0x5ca849=_0x421733,_0x32620a=this[_0x5ca849(0x177)]['unitId'],_0x466cee=this[_0x5ca849(0x424)];this[_0x5ca849(0x40e)](_0x2566e5([this[_0x5ca849(0x2ab)][_0x5ca849(0x17e)](_0x32620a),this[_0x5ca849(0x207)][_0x5ca849(0x565)]])['pipe'](_0x1a5739(([_0x54c5d4,_0x189993])=>({'skeleton':_0x466cee[_0x5ca849(0x490)](),'cursors':[..._0x54c5d4[_0x5ca849(0x1e1)]()][_0x5ca849(0x22c)](_0x2879b7=>({..._0x2879b7,'color':_0x189993[_0x2879b7[_0x5ca849(0x3ed)]]}))})))[_0x5ca849(0x4fc)](_0x313417=>{const _0x5a2151=_0x5ca849;if(this[_0x5a2151(0x44e)](),_0x313417){const {skeleton:_0x22726f,cursors:_0x3a9683}=_0x313417;this['_updateCollabCursors'](_0x22726f,_0x3a9683);}})),this[_0x5ca849(0x2bf)](),this[_0x5ca849(0x286)]();}[_0x421733(0x440)](_0x526e6b,_0x12b569){const _0x3bfb94=_0x421733,{scene:_0x40ac5b,mainComponent:_0x23898f}=this[_0x3bfb94(0x177)],_0x44b366=_0x12b569['map'](_0x4adaa8=>new ii(_0x4adaa8,_0x40ac5b,_0x526e6b,_0x23898f));this[_0x3bfb94(0x27e)]=_0x44b366,this[_0x3bfb94(0x3d4)]=_0x12b569;}['_refreshCollabCursors'](){const _0x549ea5=_0x421733;this[_0x549ea5(0x44e)]();const {scene:_0x54a3c9,mainComponent:_0x4fe2c3}=this[_0x549ea5(0x177)],_0x43ad61=this[_0x549ea5(0x424)][_0x549ea5(0x490)](),_0x2a43db=this[_0x549ea5(0x3d4)]['map'](_0x4164cd=>new ii(_0x4164cd,_0x54a3c9,_0x43ad61,_0x4fe2c3));this[_0x549ea5(0x27e)]=_0x2a43db;}['_removeCollabCursors'](){const _0x460754=_0x421733;this[_0x460754(0x27e)]['forEach'](_0x135a39=>_0x135a39['dispose']()),this[_0x460754(0x27e)]=[];}['_initCommandExecutedListener'](){const _0x55b68c=_0x421733,_0xe8129d=[_0x59e544['id']];this['disposeWithMe'](this[_0x55b68c(0x39a)]['onCommandExecuted'](_0x6a94b4=>{const _0x461a64=_0x55b68c;_0xe8129d[_0x461a64(0x216)](_0x6a94b4['id'])&&_0x6a94b4[_0x461a64(0x3ba)][_0x461a64(0x194)]===this[_0x461a64(0x177)][_0x461a64(0x194)]&&this['_refreshCollabCursors']();}));}[_0x421733(0x2bf)](){const _0x485119=_0x421733;this[_0x485119(0x40e)](_0x46ebc0(this[_0x485119(0x177)][_0x485119(0x24b)][_0x485119(0x3dc)])[_0x485119(0x552)](_0x1de59c(_0x3c97ea=>_0x3c97ea[_0x485119(0x4c2)]===_0x39e288[_0x485119(0x4d6)]),_0x33228d(0x10))[_0x485119(0x4fc)](()=>{const _0x2a5126=_0x485119;this[_0x2a5126(0x2aa)]();}));}};ds=la([ct(0x1,_0x231990(_0x201dae)),ct(0x2,_0x231990(Fe)),ct(0x3,_0x5af619),ct(0x4,_0x231990(_0x269b73))],ds);const _a=0x1,ua=1.5;class da extends _0x4a6244{constructor(_0xda4fec,_0x4545a5){const _0x33f02d=_0x421733;super(_0xda4fec,_0x4545a5),g(this,_0x33f02d(0x316)),g(this,_0x33f02d(0x293),!0x1),g(this,_0x33f02d(0x20a)),g(this,_0x33f02d(0x540),''),g(this,_0x33f02d(0x193),_0x33f02d(0x479)),g(this,_0x33f02d(0x49e)),(_0x4545a5&&this[_0x33f02d(0x44c)](_0x4545a5),this[_0x33f02d(0x382)][_0x33f02d(0x449)](()=>this[_0x33f02d(0x44c)]({'hovered':!0x0})),this[_0x33f02d(0x478)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x401900){const _0x269676=_0x421733;var _0x2bcd16,_0x554acb,_0x558b11,_0x3dbf65,_0x55d1c0,_0xa4384e;this[_0x269676(0x316)]=(_0x2bcd16=_0x401900[_0x269676(0x3ed)])!=null?_0x2bcd16:this['_color'],this['_hovered']=(_0x554acb=_0x401900[_0x269676(0x49b)])!=null?_0x554acb:this['_hovered'],this[_0x269676(0x20a)]=(_0x558b11=_0x401900[_0x269676(0x221)])!=null?_0x558b11:this['_range'],this[_0x269676(0x540)]=(_0x3dbf65=_0x401900[_0x269676(0x37a)])!=null?_0x3dbf65:this['_name'],this[_0x269676(0x193)]=(_0x55d1c0=_0x401900[_0x269676(0x4e5)])!=null?_0x55d1c0:this[_0x269676(0x193)],this[_0x269676(0x49e)]=(_0xa4384e=_0x401900[_0x269676(0x426)])!=null?_0xa4384e:this[_0x269676(0x49e)],this[_0x269676(0x20e)]({'width':_0x401900[_0x269676(0x378)],'height':_0x401900[_0x269676(0x248)]});}[_0x421733(0x3bd)](_0x18c5e9){const _0x5dd02b=_0x421733,{row:_0x26e88b,column:_0x18a885}=_0x18c5e9;if(_0x26e88b>=this[_0x5dd02b(0x20a)][_0x5dd02b(0x2c4)]&&_0x26e88b<=this[_0x5dd02b(0x20a)][_0x5dd02b(0x2e5)]&&_0x18a885>=this[_0x5dd02b(0x20a)][_0x5dd02b(0x3ac)]&&_0x18a885<=this['_range']['endColumn']){this[_0x5dd02b(0x44c)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x421733(0x464)](_0x3cff21){return!0x1;}[_0x421733(0x22e)](_0x3a812b){const _0x316deb=_0x421733;_0x59ff16['drawWith'](_0x3a812b,{'width':this[_0x316deb(0x378)],'height':this['height'],'strokeWidth':ua,'stroke':this[_0x316deb(0x316)],'evented':!0x1,'fill':this[_0x316deb(0x49e)]}),this[_0x316deb(0x293)]&&(_0x3a812b['save'](),_0x3a812b[_0x316deb(0x391)](0x1,0x0,0x0,0x1,this[_0x316deb(0x378)],this[_0x316deb(0x193)]===_0x316deb(0x3d2)?0x0:-rt),jt[_0x316deb(0x19a)](_0x3a812b,{'text':this[_0x316deb(0x540)],'color':this[_0x316deb(0x316)]}),_0x3a812b[_0x316deb(0x352)]());}}var fa=Object[_0x421733(0x1c6)],va=Object[_0x421733(0x2e2)],pa=(_0x4dcf31,_0xec9632,_0x5c19fb,_0x357bac)=>{const _0x846ac4=_0x421733;for(var _0x2f49c5=_0x357bac>0x1?void 0x0:_0x357bac?va(_0xec9632,_0x5c19fb):_0xec9632,_0xf2af43=_0x4dcf31[_0x846ac4(0x4b1)]-0x1,_0x45065b;_0xf2af43>=0x0;_0xf2af43--)(_0x45065b=_0x4dcf31[_0xf2af43])&&(_0x2f49c5=(_0x357bac?_0x45065b(_0xec9632,_0x5c19fb,_0x2f49c5):_0x45065b(_0x2f49c5))||_0x2f49c5);return _0x357bac&&_0x2f49c5&&fa(_0xec9632,_0x5c19fb,_0x2f49c5),_0x2f49c5;},Qt=(_0x27fda5,_0x49e15d)=>(_0x4eca09,_0x73a408)=>_0x49e15d(_0x4eca09,_0x73a408,_0x27fda5);const ma=0x1389;let fs=class extends _0x33a3aa{constructor(_0x3e1478,_0x4808e4,_0x4d1ff5,_0x4adc9a){const _0x434dfa=_0x421733;super(),g(this,_0x434dfa(0x3d4),new Set()),g(this,_0x434dfa(0x1a9),null),(this[_0x434dfa(0x177)]=_0x3e1478,this['_sheetSkeletonManagerService']=_0x4808e4,this[_0x434dfa(0x2ab)]=_0x4d1ff5,this[_0x434dfa(0x207)]=_0x4adc9a,this[_0x434dfa(0x483)]());}['_init'](){const _0x21abcb=_0x421733;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x21abcb(0x552)](_0x5844ee(this['dispose$']),_0x4fefe2(_0x5ddcdb=>{const _0x1437c1=_0x21abcb;if(_0x5ddcdb){const _0x311f69=_0x5ddcdb[_0x1437c1(0x181)];return _0x2566e5(this['_collabCursorController'][_0x1437c1(0x17e)](this[_0x1437c1(0x177)][_0x1437c1(0x194)]),this['_themeService']['currentTheme$'])[_0x1437c1(0x552)](_0x1a5739(([_0x4d0e33,_0x337731])=>{const _0x312f28=_0x1437c1,_0x47ca7e=new Map();return _0x4d0e33[_0x312f28(0x2d2)]((_0x27ad6f,_0x45d08d)=>{const _0x28ebbc=_0x312f28;if(_0x27ad6f['sheetID']===_0x311f69){const _0x1b0ffe={..._0x27ad6f};_0x1b0ffe[_0x28ebbc(0x3ed)]=_0x337731[_0x27ad6f[_0x28ebbc(0x3ed)]],_0x47ca7e[_0x28ebbc(0x228)](_0x45d08d,_0x1b0ffe);}}),{'skeleton':_0x5ddcdb,'cursors':_0x47ca7e};}));}return _0x25af31({'skeleton':null,'cursors':new Map()});}))[_0x21abcb(0x4fc)](({skeleton:_0x57e19a,cursors:_0x164df6})=>{const _0x4824c9=_0x21abcb;this[_0x4824c9(0x44e)](),_0x57e19a&&this['_updateCollabCursors'](_0x57e19a,_0x164df6);}),this[_0x21abcb(0x1eb)][_0x21abcb(0x4cd)]['subscribe'](_0x156f20=>{const _0x1fe1c1=_0x21abcb;if(_0x156f20==null)return;const {skeleton:_0x553881}=_0x156f20,{scene:_0x1134d6}=this[_0x1fe1c1(0x177)];_0x1134d6['onPointerMove$'][_0x1fe1c1(0x449)](_0x4ce71a(_0xe37bf3=>{const _0x4634d3=_0x1fe1c1;var _0x46868b,_0x1194ba;const {offsetX:_0x3b8b4b,offsetY:_0x279470}=_0xe37bf3,{x:_0x1478f6,y:_0x3599e1}=_0x1134d6[_0x4634d3(0x4b5)](_0x111247[_0x4634d3(0x3f3)]([_0x3b8b4b,_0x279470])),{scaleX:_0x566dc4,scaleY:_0x3498ec}=_0x1134d6['getAncestorScale'](),_0x593b00=_0x1134d6[_0x4634d3(0x403)](_0x70e7a2[_0x4634d3(0x56e)]),_0x3a5312=_0x1134d6[_0x4634d3(0x1a2)](_0x111247[_0x4634d3(0x3f3)]([_0x1478f6,_0x3599e1]),_0x593b00),_0x5ebeb1=_0x553881['getCellPositionByOffset'](_0x3b8b4b,_0x279470,_0x566dc4,_0x3498ec,_0x3a5312);((_0x46868b=this[_0x4634d3(0x1a9)])==null?void 0x0:_0x46868b['column'])===_0x5ebeb1[_0x4634d3(0x312)]&&((_0x1194ba=this['_lastPointer'])==null?void 0x0:_0x1194ba[_0x4634d3(0x24c)])===_0x5ebeb1[_0x4634d3(0x24c)]||this['_cursors'][_0x4634d3(0x2d2)](_0xccc139=>{const _0x510459=_0x4634d3;_0xccc139[_0x510459(0x3bd)](_0x5ebeb1);});},0x64));});}[_0x421733(0x440)](_0x41a8ee,_0x608b55){const _0x2c1327=_0x421733;var _0x4e5b09;const _0x3eabcc=(_0x4e5b09=this[_0x2c1327(0x1eb)][_0x2c1327(0x2b8)]())==null?void 0x0:_0x4e5b09[_0x2c1327(0x418)];if(!_0x3eabcc)return;const _0x1d51e8=this[_0x2c1327(0x48d)]();if(!_0x1d51e8)return;this[_0x2c1327(0x3d4)]['forEach'](_0x43691d=>{const _0x4f2dd5=_0x2c1327;_0x43691d[_0x4f2dd5(0x58c)]();});const {scene:_0x30c6c8}=_0x1d51e8,_0x3d1f2e=ga(Array['from'](_0x608b55[_0x2c1327(0x1e1)]()))['map'](_0x2895c1=>{const _0x54bd49=_0x2c1327,{color:_0x23dcbb,range:_0x266a74,name:_0x4ae91c,selection:_0x447748,sheetID:_0x2fe14f}=_0x2895c1,{startColumn:_0x1f9dfb,startRow:_0x48eac8,endColumn:_0x3a2817,endRow:_0x5ba95}=_0x266a74,_0x43f849=_0x41b457(_0x48eac8,_0x1f9dfb,_0x30c6c8,_0x3eabcc),_0x33e9d1=_0x41b457(_0x5ba95,_0x3a2817,_0x30c6c8,_0x3eabcc),{columnHeaderHeightAndMarginTop:_0x29d0ab}=_0x3eabcc,{startX:_0x3dc299,startY:_0xc0451}=_0x43f849,{endX:_0x41323a,endY:_0x4b811c}=_0x33e9d1,_0x3b9f88=_0x41323a-_0x3dc299,_0x52d2ca=_0x4b811c-_0xc0451,_0x3f3426={'labelPosition':_0xc0451-_0x29d0ab>=rt?'top':_0x54bd49(0x3d2),'sheetID':_0x2fe14f,'range':_0x266a74,'color':_0x23dcbb,'name':_0x4ae91c,'selection':_0x447748,'left':_0x3dc299,'top':_0xc0451,'width':_0x3b9f88,'height':_0x52d2ca,'evented':!0x1,'zIndex':ma};return new da(_0x4ae91c,_0x3f3426);});_0x30c6c8['addObjects'](_0x3d1f2e,_a),this[_0x2c1327(0x3d4)]=new Set(_0x3d1f2e);}[_0x421733(0x44e)](){const _0x1fa232=_0x421733;var _0x2d88f9;(_0x2d88f9=this[_0x1fa232(0x3d4)])==null||_0x2d88f9[_0x1fa232(0x2d2)](_0x1aad42=>_0x1aad42[_0x1fa232(0x40d)]());}[_0x421733(0x48d)](){const _0x2de072=_0x421733;return _0x44a079(this[_0x2de072(0x177)][_0x2de072(0x1fe)],this['_context']);}};fs=pa([Qt(0x1,_0x231990(_0x261438)),Qt(0x2,_0x231990(Fe)),Qt(0x3,_0x231990(_0x269b73))],fs);function ga(_0x4e5bcd){const _0x320d14=_0x421733,_0x112a5b=new Map();return _0x4e5bcd[_0x320d14(0x2d2)](_0x4dea11=>{const _0x230a7f=_0x320d14;if(_0x112a5b['has'](_0x4dea11['selection'])){const _0x182132=_0x112a5b['get'](_0x4dea11[_0x230a7f(0x1ee)]);_0x182132[_0x230a7f(0x37a)]+=',\x20'+_0x4dea11[_0x230a7f(0x37a)];}else _0x112a5b[_0x230a7f(0x228)](_0x4dea11['selection'],_0x4dea11);}),Array[_0x320d14(0x3a7)](_0x112a5b[_0x320d14(0x1e1)]());}var es=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x19cdab){const _0x1d03cd=_0x421733;return _0x19cdab&&_0x19cdab[_0x1d03cd(0x387)]&&Object['prototype']['hasOwnProperty'][_0x1d03cd(0x4bf)](_0x19cdab,_0x1d03cd(0x36c))?_0x19cdab[_0x1d03cd(0x36c)]:_0x19cdab;}var ts={'exports':{}},Je={},ri;function Sa(){const _0x15da06=_0x421733;if(ri)return Je;ri=0x1;var _0x1007e4=_0x6cf57a,_0xfdab34=Symbol[_0x15da06(0x199)](_0x15da06(0x24d)),_0xe2a41d=Symbol[_0x15da06(0x199)](_0x15da06(0x33e)),_0x465039=Object[_0x15da06(0x481)][_0x15da06(0x40b)],_0x5b7710=_0x1007e4['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x15da06(0x2a4)],_0xe317e0={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x1cada0(_0x55f4eb,_0x246d8f,_0xeef9b9){const _0x5ce313=_0x15da06;var _0x2bdfe5,_0x449700={},_0x4b6e75=null,_0x386ea8=null;_0xeef9b9!==void 0x0&&(_0x4b6e75=''+_0xeef9b9),_0x246d8f[_0x5ce313(0x1f1)]!==void 0x0&&(_0x4b6e75=''+_0x246d8f[_0x5ce313(0x1f1)]),_0x246d8f[_0x5ce313(0x52b)]!==void 0x0&&(_0x386ea8=_0x246d8f[_0x5ce313(0x52b)]);for(_0x2bdfe5 in _0x246d8f)_0x465039[_0x5ce313(0x4bf)](_0x246d8f,_0x2bdfe5)&&!_0xe317e0[_0x5ce313(0x40b)](_0x2bdfe5)&&(_0x449700[_0x2bdfe5]=_0x246d8f[_0x2bdfe5]);if(_0x55f4eb&&_0x55f4eb[_0x5ce313(0x29e)]){for(_0x2bdfe5 in(_0x246d8f=_0x55f4eb[_0x5ce313(0x29e)],_0x246d8f))_0x449700[_0x2bdfe5]===void 0x0&&(_0x449700[_0x2bdfe5]=_0x246d8f[_0x2bdfe5]);}return{'$$typeof':_0xfdab34,'type':_0x55f4eb,'key':_0x4b6e75,'ref':_0x386ea8,'props':_0x449700,'_owner':_0x5b7710[_0x5ce313(0x4a7)]};}return Je[_0x15da06(0x329)]=_0xe2a41d,Je[_0x15da06(0x375)]=_0x1cada0,Je[_0x15da06(0x1a3)]=_0x1cada0,Je;}var ni;function Ia(){return ni||(ni=0x1,ts['exports']=Sa()),ts['exports'];}var De=Ia(),te=function(){const _0x2e4f54=_0x421733;return te=Object[_0x2e4f54(0x53a)]||function(_0x45dd72){const _0x484106=_0x2e4f54;for(var _0x5bab0a,_0x5d297d=0x1,_0x42838c=arguments[_0x484106(0x4b1)];_0x5d297d<_0x42838c;_0x5d297d++){_0x5bab0a=arguments[_0x5d297d];for(var _0x294f84 in _0x5bab0a)Object[_0x484106(0x481)][_0x484106(0x40b)][_0x484106(0x4bf)](_0x5bab0a,_0x294f84)&&(_0x45dd72[_0x294f84]=_0x5bab0a[_0x294f84]);}return _0x45dd72;},te[_0x2e4f54(0x50a)](this,arguments);},Ca=function(_0x3a832f,_0x470c12){const _0x122170=_0x421733;var _0x987de7={};for(var _0x266f10 in _0x3a832f)Object[_0x122170(0x481)][_0x122170(0x40b)][_0x122170(0x4bf)](_0x3a832f,_0x266f10)&&_0x470c12['indexOf'](_0x266f10)<0x0&&(_0x987de7[_0x266f10]=_0x3a832f[_0x266f10]);if(_0x3a832f!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x43086a=0x0,_0x266f10=Object[_0x122170(0x559)](_0x3a832f);_0x43086a<_0x266f10[_0x122170(0x4b1)];_0x43086a++)_0x470c12[_0x122170(0x332)](_0x266f10[_0x43086a])<0x0&&Object[_0x122170(0x481)]['propertyIsEnumerable']['call'](_0x3a832f,_0x266f10[_0x43086a])&&(_0x987de7[_0x266f10[_0x43086a]]=_0x3a832f[_0x266f10[_0x43086a]]);}return _0x987de7;},Ns=_0x2943c5(function(_0x55f334,_0x2cf6ad){const _0x2e07b9=_0x421733;var _0x1f3b5b=_0x55f334[_0x2e07b9(0x4c7)],_0x30edb6=_0x55f334['id'],_0x13e6f1=_0x55f334[_0x2e07b9(0x54f)],_0x5471a3=_0x55f334['extend'],_0x3bfb65=Ca(_0x55f334,['icon','id','className','extend']),_0x1cbb59=_0x2e07b9(0x28c)[_0x2e07b9(0x309)](_0x30edb6,'\x20')[_0x2e07b9(0x309)](_0x13e6f1||'')[_0x2e07b9(0x575)](),_0x3239a6=_0x279a0a('_'[_0x2e07b9(0x309)](Ta()));return Ji(_0x1f3b5b,''[_0x2e07b9(0x309)](_0x30edb6),{'defIds':_0x1f3b5b[_0x2e07b9(0x513)],'idSuffix':_0x3239a6[_0x2e07b9(0x4a7)]},te({'ref':_0x2cf6ad,'className':_0x1cbb59},_0x3bfb65),_0x5471a3);});function Ji(_0x36303b,_0x57d7ce,_0x49b75f,_0x1a6685,_0x291861){const _0x32da4c=_0x421733;return _0x2914b2(_0x36303b[_0x32da4c(0x4c9)],te(te({'key':_0x57d7ce},Ea(_0x36303b,_0x49b75f,_0x291861)),_0x1a6685),(ba(_0x36303b,_0x49b75f)[_0x32da4c(0x4be)]||[])[_0x32da4c(0x203)](function(_0x72d091,_0x229c18){const _0x4727e7=_0x32da4c;return Ji(_0x72d091,''[_0x4727e7(0x309)](_0x57d7ce,'-')[_0x4727e7(0x309)](_0x36303b[_0x4727e7(0x4c9)],'-')['concat'](_0x229c18),_0x49b75f,void 0x0,_0x291861);}));}function Ea(_0x45bc0f,_0x3da694,_0x3ed8cb){const _0x3c30c9=_0x421733;var _0x47404a=te({},_0x45bc0f['attrs']);_0x3ed8cb!=null&&_0x3ed8cb[_0x3c30c9(0x581)]&&_0x47404a[_0x3c30c9(0x499)]===_0x3c30c9(0x581)&&(_0x47404a[_0x3c30c9(0x499)]=_0x3ed8cb[_0x3c30c9(0x581)]);var _0x3ca5a0=_0x3da694[_0x3c30c9(0x513)];return!_0x3ca5a0||_0x3ca5a0['length']===0x0||(_0x45bc0f[_0x3c30c9(0x4c9)]===_0x3c30c9(0x195)&&_0x47404a[_0x3c30c9(0x2a2)]&&(_0x47404a[_0x3c30c9(0x2a2)]=_0x47404a[_0x3c30c9(0x2a2)]+_0x3da694[_0x3c30c9(0x4a2)]),Object[_0x3c30c9(0x220)](_0x47404a)[_0x3c30c9(0x2d2)](function(_0x6b99b6){const _0xbea19a=_0x3c30c9;var _0x39a416=_0x6b99b6[0x0],_0x536e32=_0x6b99b6[0x1];typeof _0x536e32==_0xbea19a(0x354)&&(_0x47404a[_0x39a416]=_0x536e32['replace'](/url\(#(.*)\)/,_0xbea19a(0x33d)[_0xbea19a(0x309)](_0x3da694[_0xbea19a(0x4a2)],')')));})),_0x47404a;}function ba(_0xf5c25f,_0x2836a4){const _0x2035e0=_0x421733;var _0x3e200a,_0x401853=_0x2836a4[_0x2035e0(0x513)];return!_0x401853||_0x401853[_0x2035e0(0x4b1)]===0x0?_0xf5c25f:_0xf5c25f['tag']===_0x2035e0(0x1b7)&&(!((_0x3e200a=_0xf5c25f[_0x2035e0(0x4be)])===null||_0x3e200a===void 0x0)&&_0x3e200a[_0x2035e0(0x4b1)])?te(te({},_0xf5c25f),{'children':_0xf5c25f[_0x2035e0(0x4be)][_0x2035e0(0x203)](function(_0x3ef802){const _0x1f9936=_0x2035e0;return typeof _0x3ef802[_0x1f9936(0x395)]['id']==_0x1f9936(0x354)&&_0x401853&&_0x401853['indexOf'](_0x3ef802[_0x1f9936(0x395)]['id'])>-0x1?te(te({},_0x3ef802),{'attrs':te(te({},_0x3ef802[_0x1f9936(0x395)]),{'id':_0x3ef802[_0x1f9936(0x395)]['id']+_0x2836a4[_0x1f9936(0x4a2)]})}):_0x3ef802;})}):_0xf5c25f;}function Ta(){const _0x2e5c80=_0x421733;return Math[_0x2e5c80(0x400)]()[_0x2e5c80(0x353)](0x24)[_0x2e5c80(0x253)](0x2,0x8);}Ns['displayName']='UniverIcon';var Ra={'tag':_0x421733(0x4a0),'attrs':{'fill':_0x421733(0x282),'viewBox':_0x421733(0x54e),'width':_0x421733(0x4ef),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x421733(0x50d)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x421733(0x555),'strokeLinejoin':_0x421733(0x555),'strokeWidth':1.2}}]},{'tag':_0x421733(0x1b7),'attrs':{},'children':[{'tag':_0x421733(0x44b),'attrs':{'id':_0x421733(0x545)},'children':[{'tag':_0x421733(0x495),'attrs':{'fill':_0x421733(0x1d1),'d':_0x421733(0x4d4)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Zi=_0x2943c5(function(_0x4b44ac,_0x4a30eb){const _0x427664=_0x421733;return _0x2914b2(Ns,Object[_0x427664(0x53a)]({},_0x4b44ac,{'id':_0x427664(0x4ec),'ref':_0x4a30eb,'icon':Ra}));});Zi['displayName']=_0x421733(0x56a);var Oa={'tag':'svg','attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x421733(0x4ef),'height':_0x421733(0x4ef)},'children':[{'tag':'g','attrs':{'clipPath':_0x421733(0x310)},'children':[{'tag':_0x421733(0x495),'attrs':{'stroke':_0x421733(0x3db),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x421733(0x1b7),'attrs':{},'children':[{'tag':_0x421733(0x44b),'attrs':{'id':_0x421733(0x19e)},'children':[{'tag':_0x421733(0x495),'attrs':{'fill':'#fff','d':_0x421733(0x4d4),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},Qi=_0x2943c5(function(_0x122898,_0x3cb543){const _0x2af9ca=_0x421733;return _0x2914b2(Ns,Object[_0x2af9ca(0x53a)]({},_0x122898,{'id':_0x2af9ca(0x4f4),'ref':_0x3cb543,'icon':Oa}));});Qi[_0x421733(0x1bc)]='OnLineSingle';function er(_0x24325e){const _0x2045a6=_0x421733;var _0x4b93c4,_0x23e48a,_0x1b121e='';if(typeof _0x24325e==_0x2045a6(0x354)||typeof _0x24325e==_0x2045a6(0x1f0))_0x1b121e+=_0x24325e;else{if(typeof _0x24325e==_0x2045a6(0x284)){if(Array[_0x2045a6(0x43c)](_0x24325e)){var _0x2499a7=_0x24325e[_0x2045a6(0x4b1)];for(_0x4b93c4=0x0;_0x4b93c4<_0x2499a7;_0x4b93c4++)_0x24325e[_0x4b93c4]&&(_0x23e48a=er(_0x24325e[_0x4b93c4]))&&(_0x1b121e&&(_0x1b121e+='\x20'),_0x1b121e+=_0x23e48a);}else{for(_0x23e48a in _0x24325e)_0x24325e[_0x23e48a]&&(_0x1b121e&&(_0x1b121e+='\x20'),_0x1b121e+=_0x23e48a);}}}return _0x1b121e;}function ya(){const _0x5b0deb=_0x421733;for(var _0x3ed339,_0x4d7ef8,_0x798f2d=0x0,_0x38fd2a='',_0x48f29d=arguments[_0x5b0deb(0x4b1)];_0x798f2d<_0x48f29d;_0x798f2d++)(_0x3ed339=arguments[_0x798f2d])&&(_0x4d7ef8=er(_0x3ed339))&&(_0x38fd2a&&(_0x38fd2a+='\x20'),_0x38fd2a+=_0x4d7ef8);return _0x38fd2a;}const wa=_0x421733(0x417),Da=_0x421733(0x289),Pa='univer-online-status',Ua=_0x421733(0x502),Na=_0x421733(0x4f0),Ze={'onlineStatusIcon':wa,'onlineStatusTitle':Da,'onlineStatus':Pa,'online':Ua,'offline':Na};function Aa(_0xcad1f9){const _0x4f013e=_0x421733;switch(_0xcad1f9){case J['OFFLINE']:return'collabStatus.offline';case J[_0x4f013e(0x31d)]:return'collabStatus.conflict';case J[_0x4f013e(0x31f)]:return _0x4f013e(0x2ff);case J[_0x4f013e(0x232)]:return _0x4f013e(0x514);case J[_0x4f013e(0x4d2)]:case J[_0x4f013e(0x1aa)]:return _0x4f013e(0x4e3);case J[_0x4f013e(0x213)]:case J[_0x4f013e(0x436)]:return _0x4f013e(0x3ab);}}function Ma(_0x17f90b){const _0x17330a=_0x421733,{status$:_0x29c635}=_0x17f90b,_0x17b291=_0x1432a7(_0x29c635,J[_0x17330a(0x232)]),_0x2f856b=_0x3f9ba4(_0x3097b7),_0x2bb3b0=_0x3f9ba4(Me),_0x3a2573=_0x17b291!==J[_0x17330a(0x541)],_0x514a90=_0x2f856b['t'](Aa(_0x17b291)),_0x4a4cae=ya(Ze[_0x17330a(0x47b)],{[Ze[_0x17330a(0x225)]]:_0x3a2573,[Ze[_0x17330a(0x4fb)]]:!_0x3a2573}),_0x5dd20f=_0x3a2573?De[_0x17330a(0x375)](Qi,{}):De[_0x17330a(0x375)](Zi,{}),_0x116a36=_0x14ebbf(()=>{const _0x30a4bd=_0x17330a;_0x3a2573||_0x2bb3b0[_0x30a4bd(0x52c)]();},[_0x3a2573,_0x2bb3b0]);function _0x24574c(){const _0x433cb3=_0x17330a;return De[_0x433cb3(0x1a3)](_0x433cb3(0x2e7),{'className':_0x4a4cae,'onClick':_0x116a36,'children':[De[_0x433cb3(0x375)](_0x433cb3(0x2e7),{'className':Ze[_0x433cb3(0x349)],'children':_0x5dd20f}),De[_0x433cb3(0x375)](_0x433cb3(0x2e7),{'className':Ze[_0x433cb3(0x4ce)],'children':_0x514a90})]});}return _0x3a2573?_0x24574c():De['jsx'](_0x28113e,{'title':_0x2f856b['t'](_0x17330a(0x56d)),'children':_0x24574c()});}var xa=Object['defineProperty'],La=Object['getOwnPropertyDescriptor'],$a=(_0x1dc0ee,_0x489497,_0x2a342a,_0x353e74)=>{const _0x401b97=_0x421733;for(var _0x229290=_0x353e74>0x1?void 0x0:_0x353e74?La(_0x489497,_0x2a342a):_0x489497,_0x46a5f3=_0x1dc0ee[_0x401b97(0x4b1)]-0x1,_0x29d003;_0x46a5f3>=0x0;_0x46a5f3--)(_0x29d003=_0x1dc0ee[_0x46a5f3])&&(_0x229290=(_0x353e74?_0x29d003(_0x489497,_0x2a342a,_0x229290):_0x29d003(_0x229290))||_0x229290);return _0x353e74&&_0x229290&&xa(_0x489497,_0x2a342a,_0x229290),_0x229290;},ht=(_0x564165,_0x47f71e)=>(_0x371fee,_0x2d4b66)=>_0x47f71e(_0x371fee,_0x2d4b66,_0x564165);let Nt=class extends _0x36e463{constructor(_0x4a33e0,_0x421bfa,_0x3db1c2,_0x432d58){const _0x5be6c7=_0x421733;super(),g(this,'_status$',new _0x461b47(J[_0x5be6c7(0x232)])),(this['_univerInstanceService']=_0x4a33e0,this[_0x5be6c7(0x29d)]=_0x421bfa,this[_0x5be6c7(0x30b)]=_0x3db1c2,this[_0x5be6c7(0x4d9)]=_0x432d58,this[_0x5be6c7(0x3a2)](),this[_0x5be6c7(0x488)]());}[_0x421733(0x488)](){const _0xbb62d7=_0x421733;this[_0xbb62d7(0x40e)](this['_univerInstanceService'][_0xbb62d7(0x2ea)][_0xbb62d7(0x552)](_0x48c325(()=>{const _0x105545=_0xbb62d7,_0x3d6b95=this['_univerInstanceService'][_0x105545(0x30d)]();return _0x3d6b95?this['_collaborationController'][_0x105545(0x467)](_0x3d6b95[_0x105545(0x47f)]()):_0x25af31(null);}),_0x48c325(_0x375fa5=>_0x375fa5?_0x375fa5[_0xbb62d7(0x218)]:_0x25af31(J[_0xbb62d7(0x232)])))[_0xbb62d7(0x4fc)](_0x9c7494=>{const _0x35fb18=_0xbb62d7;this[_0x35fb18(0x4df)][_0x35fb18(0x537)](_0x9c7494);}));}[_0x421733(0x3a2)](){const _0x13ce73=_0x421733;this[_0x13ce73(0x40e)](this[_0x13ce73(0x29d)][_0x13ce73(0x385)](_0x15ddf6['HEADER_MENU'],()=>_0x2453df(Ha({'status$':this[_0x13ce73(0x4df)][_0x13ce73(0x314)]()}),this[_0x13ce73(0x30b)])));}};Nt=$a([ht(0x0,_0x186a82),ht(0x1,_0x39547f),ht(0x2,_0x231990(_0x1d3c8c)),ht(0x3,_0x231990(it))],Nt);function Ha(_0x8c2e7b){const {status$:_0x5a5bcc}=_0x8c2e7b;return function(){const _0x19c280=_0x9980;return De[_0x19c280(0x375)](Ma,{'status$':_0x5a5bcc});};}const tr=_0x5c8406('uni.network.url-service');var ja=Object['defineProperty'],Ba=Object[_0x421733(0x2e2)],ka=(_0x971594,_0x53f902,_0x5753da,_0x4ba60f)=>{const _0x199d12=_0x421733;for(var _0x12ecd1=_0x4ba60f>0x1?void 0x0:_0x4ba60f?Ba(_0x53f902,_0x5753da):_0x53f902,_0x1caa35=_0x971594[_0x199d12(0x4b1)]-0x1,_0xbe79be;_0x1caa35>=0x0;_0x1caa35--)(_0xbe79be=_0x971594[_0x1caa35])&&(_0x12ecd1=(_0x4ba60f?_0xbe79be(_0x53f902,_0x5753da,_0x12ecd1):_0xbe79be(_0x12ecd1))||_0x12ecd1);return _0x4ba60f&&_0x12ecd1&&ja(_0x53f902,_0x5753da,_0x12ecd1),_0x12ecd1;},Be=(_0x554410,_0x4237e7)=>(_0x487a21,_0x321509)=>_0x4237e7(_0x487a21,_0x321509,_0x554410);let At=class extends _0x33a3aa{constructor(_0x5693ae,_0x19bddb,_0x2eee48,_0x1fca47,_0x8f5a90,_0x1ef644){const _0x2e0948=_0x421733;super(),this[_0x2e0948(0x3d7)]=_0x5693ae,this['_logService']=_0x19bddb,this[_0x2e0948(0x39a)]=_0x2eee48,this[_0x2e0948(0x434)]=_0x1fca47,this['_snapshotService']=_0x8f5a90,_0x1ef644?_0x1ef644==null||_0x1ef644['whenReady']()[_0x2e0948(0x1b0)](()=>this[_0x2e0948(0x483)]()):(this[_0x2e0948(0x3b4)][_0x2e0948(0x4cc)]('[DataLoaderController]',_0x2e0948(0x51f)),this[_0x2e0948(0x483)]());}async[_0x421733(0x483)](){const _0xf9f78b=_0x421733,_0x1605f5=this[_0xf9f78b(0x3d7)][_0xf9f78b(0x2e9)](_0xf9f78b(0x1fe)),_0x4bd080=this[_0xf9f78b(0x3d7)][_0xf9f78b(0x2e9)](_0xf9f78b(0x4c2));if(!_0x1605f5||!_0x4bd080){this[_0xf9f78b(0x3b4)]['debug']('[DataLoaderController]',_0xf9f78b(0x497));return;}switch(Number(_0x4bd080)){case ae['UNIVER_SHEET']:{const _0x15d2ba=await this['_loadSheet'](_0x1605f5);this[_0xf9f78b(0x2f4)](_0x15d2ba);break;}case ae[_0xf9f78b(0x42a)]:{await this[_0xf9f78b(0x44d)](_0x1605f5);break;}default:{this[_0xf9f78b(0x3b4)][_0xf9f78b(0x3ff)](_0xf9f78b(0x1dd),_0xf9f78b(0x2cc));break;}}}async['_setupSubUnitSync'](_0x2ec5ce){const _0x4efe9e=_0x421733;await this[_0x4efe9e(0x4bd)](_0x2ec5ce),_0x2ec5ce['activeSheet$'][_0x4efe9e(0x552)](_0x2c50c2(this[_0x4efe9e(0x4eb)]))[_0x4efe9e(0x4fc)](_0x77a989=>{_0x77a989&&this['_updateURLWithCurrentState'](_0x77a989);}),this[_0x4efe9e(0x3d7)][_0x4efe9e(0x30f)][_0x4efe9e(0x552)](_0x2c50c2(this[_0x4efe9e(0x4eb)]))[_0x4efe9e(0x4fc)](()=>this['_updateSubUnitFromURLParams'](_0x2ec5ce));}[_0x421733(0x4f2)](_0x120d45,_0x4a98d1=!0x1){const _0xeeabaa=_0x421733,_0xd46de5=this[_0xeeabaa(0x3d7)][_0xeeabaa(0x2e9)](_0xeeabaa(0x574));_0x120d45[_0xeeabaa(0x1c8)]()!==_0xd46de5&&this[_0xeeabaa(0x3d7)][_0xeeabaa(0x472)]('subunit',_0x120d45[_0xeeabaa(0x1c8)](),_0x4a98d1);}async['_updateSubUnitFromURLParams'](_0x245d71){const _0x342634=_0x421733;var _0x286118;const _0x203dc2=this['_urlService'][_0x342634(0x2e9)](_0x342634(0x574));if(!_0x203dc2||!_0x245d71[_0x342634(0x224)](_0x203dc2)){const _0x49784d=_0x245d71['getUnhiddenWorksheets']()[0x0],_0x241c48=_0x245d71[_0x342634(0x224)](_0x49784d);if(!_0x241c48)return;this[_0x342634(0x4f2)](_0x241c48,!0x0),await this[_0x342634(0x39a)][_0x342634(0x37b)](_0x3c9ec1['id'],{'unitId':_0x245d71[_0x342634(0x47f)](),'subUnitId':_0x49784d});return;}((_0x286118=_0x245d71[_0x342634(0x40f)]())==null?void 0x0:_0x286118[_0x342634(0x1c8)]())!==_0x203dc2&&await this[_0x342634(0x39a)]['executeCommand'](_0x3c9ec1['id'],{'unitId':_0x245d71[_0x342634(0x47f)](),'subUnitId':_0x203dc2});}async['_loadSheet'](_0x1c7f15){const _0xb43346=_0x421733;let _0x522118=0x0;const _0x4237e8=await this['_localCacheService']['loadOfflineData'](_0x1c7f15);return _0x4237e8&&(_0x4237e8['awaitingChangeset']||_0x4237e8['mutations'][_0xb43346(0x4b1)]!==0x0)&&(_0x522118=_0x4237e8['rev']),_0x522118===0x0&&this[_0xb43346(0x3b4)][_0xb43346(0x4cc)]('[DataLoaderController]',_0xb43346(0x19f)),this[_0xb43346(0x3c2)][_0xb43346(0x3e0)](_0x1c7f15,_0x522118);}async['_loadDoc'](_0x8e1fd){const _0x568ae0=_0x421733;let _0xa642a9=0x0;const _0x5af25d=await this[_0x568ae0(0x434)]['loadOfflineData'](_0x8e1fd);return _0x5af25d&&(_0x5af25d[_0x568ae0(0x569)]||_0x5af25d[_0x568ae0(0x501)]['length']!==0x0)&&(_0xa642a9=_0x5af25d['rev']),_0xa642a9===0x0&&this['_logService'][_0x568ae0(0x4cc)](_0x568ae0(0x1dd),_0x568ae0(0x19f)),this['_snapshotService'][_0x568ae0(0x394)](_0x8e1fd,_0xa642a9);}};At=ka([Be(0x0,tr),Be(0x1,_0x257353),Be(0x2,_0x5af619),Be(0x3,_0x231990(z)),Be(0x4,_0x231990(_0x36030b)),Be(0x5,_0x1f1bd9(_0x25b005))],At);var Wa=Object['defineProperty'],Fa=Object['getOwnPropertyDescriptor'],Va=(_0x2f4b72,_0x7204b5,_0x179519,_0x1adef9)=>{for(var _0xa218c4=_0x1adef9>0x1?void 0x0:_0x1adef9?Fa(_0x7204b5,_0x179519):_0x7204b5,_0x1928e1=_0x2f4b72['length']-0x1,_0x217b76;_0x1928e1>=0x0;_0x1928e1--)(_0x217b76=_0x2f4b72[_0x1928e1])&&(_0xa218c4=(_0x1adef9?_0x217b76(_0x7204b5,_0x179519,_0xa218c4):_0x217b76(_0xa218c4))||_0xa218c4);return _0x1adef9&&_0xa218c4&&Wa(_0x7204b5,_0x179519,_0xa218c4),_0xa218c4;},oi=(_0x49f03a,_0xdb761c)=>(_0x125665,_0x9919d9)=>_0xdb761c(_0x125665,_0x9919d9,_0x49f03a);const Ga='DEFAULT_FILE_NAME',Ya=_0x421733(0x398);let Mt=class extends _0x36e463{constructor(_0x5241cf,_0xf78560){const _0x5bd6ef=_0x421733;super(),this[_0x5bd6ef(0x49a)]=_0x5241cf,this[_0x5bd6ef(0x254)]=_0xf78560,this[_0x5bd6ef(0x483)]();}[_0x421733(0x483)](){const _0x56d266=_0x421733;this[_0x56d266(0x40e)](this['_univerInstanceService']['focused$'][_0x56d266(0x4fc)](()=>{const _0x29bbf7=_0x56d266;var _0x4582da;const _0x1b7a0d=this[_0x29bbf7(0x49a)][_0x29bbf7(0x30d)]();let _0x5ce711=(_0x4582da=this[_0x29bbf7(0x254)][_0x29bbf7(0x39e)](Ga))!=null?_0x4582da:Ya;_0x1b7a0d instanceof _0xb8558d&&(_0x5ce711=_0x1b7a0d[_0x29bbf7(0x37a)]),document[_0x29bbf7(0x420)]=_0x5ce711;}));}};Mt=Va([oi(0x0,_0x186a82),oi(0x1,_0x2cfa70)],Mt);var Ka=Object[_0x421733(0x1c6)],qa=Object[_0x421733(0x2e2)],za=(_0x3e7068,_0x5c9281,_0x208b91,_0x50143a)=>{const _0x5de503=_0x421733;for(var _0x3b9846=_0x50143a>0x1?void 0x0:_0x50143a?qa(_0x5c9281,_0x208b91):_0x5c9281,_0x38fa62=_0x3e7068[_0x5de503(0x4b1)]-0x1,_0x38c2ac;_0x38fa62>=0x0;_0x38fa62--)(_0x38c2ac=_0x3e7068[_0x38fa62])&&(_0x3b9846=(_0x50143a?_0x38c2ac(_0x5c9281,_0x208b91,_0x3b9846):_0x38c2ac(_0x3b9846))||_0x3b9846);return _0x50143a&&_0x3b9846&&Ka(_0x5c9281,_0x208b91,_0x3b9846),_0x3b9846;},ss=(_0xb77a21,_0x17259b)=>(_0x50f11d,_0x28a73d)=>_0x17259b(_0x50f11d,_0x28a73d,_0xb77a21);let xt=class{constructor(_0x4a7240,_0x29781c,_0x184905){const _0x3f06d6=_0x421733;this[_0x3f06d6(0x254)]=_0x4a7240,this['_httpService']=_0x29781c,this[_0x3f06d6(0x306)]=_0x184905,this[_0x3f06d6(0x371)]();}[_0x421733(0x371)](){const _0x398f54=_0x421733;this[_0x398f54(0x379)][_0x398f54(0x1d8)]({'priority':0x1,'interceptor':(_0x2453e2,_0x4ded78)=>_0x4ded78(_0x2453e2)[_0x398f54(0x552)](_0x3b64f1(async _0x9d01d=>{const _0x40ad68=_0x398f54,_0x310c5f=_0x9d01d;if(_0x310c5f[_0x40ad68(0x1df)]===0x191&&window[_0x40ad68(0x4de)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0xf6dd80=window[_0x40ad68(0x174)](window['location'][_0x40ad68(0x2d1)]);window['location'][_0x40ad68(0x2d1)]=this[_0x40ad68(0x509)]()+'?url='+_0xf6dd80;}return _0x310c5f;}))});}[_0x421733(0x509)](){const _0xe7dca=_0x421733;var _0x1d46fc,_0x4608a7;const _0x23d06d=this[_0xe7dca(0x254)][_0xe7dca(0x39e)]($n),_0x58a139=this['_configService'][_0xe7dca(0x39e)](Q);return(_0x4608a7=(_0x1d46fc=_0x58a139==null?void 0x0:_0x58a139[_0xe7dca(0x252)])!=null?_0x1d46fc:_0x23d06d)!=null?_0x4608a7:Hn;}};xt=za([ss(0x0,_0x2cfa70),ss(0x1,_0x231990(_0xee3f76)),ss(0x2,_0x231990(_0x3097b7))],xt);var Xa=Object[_0x421733(0x1c6)],Ja=Object[_0x421733(0x2e2)],Za=(_0x20e64a,_0x3d33ba,_0x30f809,_0x3f6839)=>{const _0x5e5b3f=_0x421733;for(var _0x181ca8=_0x3f6839>0x1?void 0x0:_0x3f6839?Ja(_0x3d33ba,_0x30f809):_0x3d33ba,_0x2729a7=_0x20e64a[_0x5e5b3f(0x4b1)]-0x1,_0x1f1ca7;_0x2729a7>=0x0;_0x2729a7--)(_0x1f1ca7=_0x20e64a[_0x2729a7])&&(_0x181ca8=(_0x3f6839?_0x1f1ca7(_0x3d33ba,_0x30f809,_0x181ca8):_0x1f1ca7(_0x181ca8))||_0x181ca8);return _0x3f6839&&_0x181ca8&&Xa(_0x3d33ba,_0x30f809,_0x181ca8),_0x181ca8;},ai=(_0x1cbf77,_0x40135e)=>(_0x52fbf2,_0x2e5d3d)=>_0x40135e(_0x52fbf2,_0x2e5d3d,_0x1cbf77);const sr=_0x421733(0x44a),Qa='/universer-api/authz';let vs=class extends _0x36e463{constructor(_0x10684a,_0x38c7b6){const _0x23cddd=_0x421733;super(),this[_0x23cddd(0x469)]=_0x10684a,this[_0x23cddd(0x254)]=_0x38c7b6,this[_0x23cddd(0x57a)]();}['_initMergeInterceptor'](){const _0x1b9ede=_0x421733,_0x4805a4=this;this[_0x1b9ede(0x40e)](this[_0x1b9ede(0x469)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x18dc5a({'isMatch'(_0x489b82){const _0x4636fa=_0x1b9ede;var _0x2bb018;if(_0x489b82['method']===_0x4636fa(0x369)&&((_0x2bb018=_0x489b82[_0x4636fa(0x34a)])!=null&&_0x2bb018['body'])){const {objectID:_0x3bf3e9,objectType:_0x3c2c9d}=_0x489b82['requestParams'][_0x4636fa(0x23d)]||{};if(!_0x3bf3e9||_0x3c2c9d===void 0x0)return!0x1;const _0x173844=_0x4805a4[_0x4636fa(0x3fd)]()+'/'+_0x3c2c9d+_0x4636fa(0x20b)+_0x3bf3e9+_0x4636fa(0x26c);if(_0x489b82['url']===_0x173844)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x145cae){const _0x1d596b=_0x1b9ede;var _0x4f8955;return(_0x4f8955=_0x145cae[_0x1d596b(0x34a)])==null?void 0x0:_0x4f8955['body'];},'mergeParamsToRequest'(_0x4d16ab,_0x4654cf){const _0x5ab54f=_0x1b9ede,_0x4aa17d=_0x4805a4[_0x5ab54f(0x3fd)]()+'/-/object/-/batch_allowed',_0x4ff718=_0x4d16ab[_0x5ab54f(0x1b2)]((_0x56d75a,_0x23a23a)=>{const _0x2ec9a7=_0x5ab54f,{unitID:_0x293fea,objectID:_0x377b1b,objectType:_0x41cd7b,actions:_0x1ae126}=_0x23a23a;return _0x56d75a[_0x293fea]||(_0x56d75a[_0x293fea]={}),_0x56d75a[_0x293fea][_0x377b1b]||(_0x56d75a[_0x293fea][_0x377b1b]={'objectID':_0x377b1b,'objectType':_0x41cd7b,'actions':[]}),_0x56d75a[_0x293fea][_0x377b1b][_0x2ec9a7(0x276)][_0x2ec9a7(0x2ac)](..._0x1ae126),_0x56d75a;},{}),_0x604dbb=[];for(const _0x334bd8 in _0x4ff718)for(const _0x1187ab in _0x4ff718[_0x334bd8]){const {actions:_0x2c30ea,objectType:_0x2e9e0c}=_0x4ff718[_0x334bd8][_0x1187ab],_0x49c3b7=[...new Set(_0x2c30ea)];_0x604dbb[_0x5ab54f(0x2ac)]({'unitID':_0x334bd8,'objectID':_0x1187ab,'objectType':_0x2e9e0c,'actions':_0x49c3b7});}return new _0x30ed57(_0x5ab54f(0x369),_0x4aa17d,{'headers':_0x4654cf[_0x5ab54f(0x16f)],'withCredentials':_0x4654cf[_0x5ab54f(0x528)],'responseType':_0x4654cf[_0x5ab54f(0x2b3)],'body':{'requests':_0x604dbb}});}},{'distributeResult'(_0x176043,_0x361b4b){const _0x54f542=_0x1b9ede,{objectActions:_0x2bdfc8}=_0x176043;return _0x361b4b[_0x54f542(0x203)](_0x5648a8=>{const _0xd57141=_0x54f542,{unitID:_0x244d56,objectID:_0xc39818,actions:_0x148ba9}=_0x5648a8,_0x6cc3d7=_0x2bdfc8[_0xd57141(0x3c5)](_0x57a612=>_0x57a612['unitID']===_0x244d56&&_0x57a612[_0xd57141(0x205)]===_0xc39818),_0x5ea5f6=_0x148ba9[_0xd57141(0x203)](_0x427c37=>_0x6cc3d7==null?void 0x0:_0x6cc3d7[_0xd57141(0x276)][_0xd57141(0x3c5)](_0x1eb529=>_0x1eb529['action']===_0x427c37))['filter'](_0x25510d=>!!_0x25510d);return{'config':_0x5648a8,'result':{'actions':_0x5ea5f6,'error':_0x176043[_0xd57141(0x3ff)]}};});}})}));}[_0x421733(0x3fd)](){const _0x5f431d=_0x421733;var _0x2c1592,_0x236c21;const _0xa7faeb=this[_0x5f431d(0x254)]['getConfig'](sr),_0x514a22=this['_configService'][_0x5f431d(0x39e)](Q);return(_0x236c21=(_0x2c1592=_0x514a22==null?void 0x0:_0x514a22[_0x5f431d(0x209)])!=null?_0x2c1592:_0xa7faeb)!=null?_0x236c21:Qa;}async[_0x421733(0x32b)](_0x48c7d2){const _0x49b333=_0x421733,_0x570a7e=this['_getAPIPrefixPath']()+'/'+_0x48c7d2[_0x49b333(0x357)]+_0x49b333(0x26a);return(await this[_0x49b333(0x469)]['post'](_0x570a7e,{'body':_0x48c7d2}))[_0x49b333(0x23d)][_0x49b333(0x205)]||'';}async[_0x421733(0x1ef)](_0x1fc416){const _0x23bfc3=_0x421733,_0x559ddd=this[_0x23bfc3(0x3fd)]()+_0x23bfc3(0x47c);return(await this['_HTTPService'][_0x23bfc3(0x413)](_0x559ddd,{'body':_0x1fc416}))[_0x23bfc3(0x23d)][_0x23bfc3(0x518)];}async['update'](_0x5ae5cd){const _0x41955e=_0x421733,_0x5a98dd=this[_0x41955e(0x3fd)]()+'/'+_0x5ae5cd[_0x41955e(0x357)]+'/object/'+_0x5ae5cd['objectID'];await this[_0x41955e(0x469)][_0x41955e(0x4b2)](_0x5a98dd,{'body':_0x5ae5cd});}async['allowed'](_0x466663){const _0x292afc=_0x421733,_0x4c0da0=this[_0x292afc(0x3fd)]()+'/'+_0x466663[_0x292afc(0x357)]+'/object/'+_0x466663[_0x292afc(0x205)]+_0x292afc(0x26c);return(await this['_HTTPService'][_0x292afc(0x413)](_0x4c0da0,{'body':_0x466663}))['body'][_0x292afc(0x276)];}async[_0x421733(0x4a4)](_0x955a27){const _0x47e7ed=_0x421733,_0x4f4351=this[_0x47e7ed(0x3fd)]()+_0x47e7ed(0x3a3);return(await this[_0x47e7ed(0x469)][_0x47e7ed(0x413)](_0x4f4351,{'body':{'requests':_0x955a27}}))[_0x47e7ed(0x23d)][_0x47e7ed(0x1e6)];}async[_0x421733(0x594)](_0x515337){const _0xb4c3ee=_0x421733,_0x58dc03=this[_0xb4c3ee(0x3fd)]()+'/'+_0x515337['objectType']+_0xb4c3ee(0x38d),_0x42d0df=await this[_0xb4c3ee(0x469)][_0xb4c3ee(0x413)](_0x58dc03,{'body':_0x515337});return{'roles':_0x42d0df[_0xb4c3ee(0x23d)][_0xb4c3ee(0x50b)],'actions':_0x42d0df[_0xb4c3ee(0x23d)][_0xb4c3ee(0x276)]};}async[_0x421733(0x401)](_0x5cdbed){const _0x1b7da0=_0x421733,_0x91306d=this[_0x1b7da0(0x3fd)]()+'/collaborator';await this[_0x1b7da0(0x469)][_0x1b7da0(0x2d8)](_0x91306d,{'params':{'collaboratorID':_0x5cdbed[_0x1b7da0(0x32f)],'objectID':_0x5cdbed['objectID'],'unitID':_0x5cdbed['unitID']}});}async[_0x421733(0x3d9)](_0x49909d){const _0x2d64fe=_0x421733,_0x18a0dd=this[_0x2d64fe(0x3fd)]()+_0x2d64fe(0x2b4);await this['_HTTPService'][_0x2d64fe(0x57b)](_0x18a0dd,{'body':_0x49909d});}async[_0x421733(0x1d2)](_0x50d6a8){const _0x2d851f=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService']['post'](_0x2d851f,{'body':_0x50d6a8});}async[_0x421733(0x3eb)](_0x4a4926){const _0x574442=_0x421733,_0x322d94=this['_getAPIPrefixPath']()+_0x574442(0x2b4);return(await this[_0x574442(0x469)][_0x574442(0x37c)](_0x322d94,{'params':{'objectID':_0x4a4926[_0x574442(0x205)],'unitID':_0x4a4926[_0x574442(0x4f8)]}}))[_0x574442(0x23d)]['collaborators'];}async['putCollaborators'](_0x44010e){const _0x159497=_0x421733,_0xc1ea36=this[_0x159497(0x3fd)]()+'/collaborator';await this[_0x159497(0x469)][_0x159497(0x4b2)](_0xc1ea36,{'body':_0x44010e});}};vs=Za([ai(0x0,_0x231990(_0xee3f76)),ai(0x1,_0x231990(_0x2cfa70))],vs);var ut={'exports':{}};function ec(_0x1594d7){const _0x1a5fb2=_0x421733;throw new Error(_0x1a5fb2(0x20f)+_0x1594d7+_0x1a5fb2(0x368));}var dt={'exports':{}},tc=dt['exports'],ci;function _e(){const _0x4bdf16=_0x421733;return ci||(ci=0x1,function(_0x512ce4,_0x4fd19c){(function(_0x39f358,_0x1890dc){const _0x5e6bb4=_0x9980;_0x512ce4[_0x5e6bb4(0x54c)]=_0x1890dc();}(tc,function(){var _0x35687a=_0x35687a||function(_0x3527e8,_0xda1a3a){const _0x92fdbe=_0x9980;var _0x500ff6;if(typeof window<'u'&&window[_0x92fdbe(0x1b1)]&&(_0x500ff6=window[_0x92fdbe(0x1b1)]),typeof self<'u'&&self['crypto']&&(_0x500ff6=self[_0x92fdbe(0x1b1)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x500ff6=globalThis[_0x92fdbe(0x1b1)]),!_0x500ff6&&typeof window<'u'&&window['msCrypto']&&(_0x500ff6=window[_0x92fdbe(0x448)]),!_0x500ff6&&typeof es<'u'&&es[_0x92fdbe(0x1b1)]&&(_0x500ff6=es[_0x92fdbe(0x1b1)]),!_0x500ff6&&typeof ec=='function')try{_0x500ff6=require(_0x92fdbe(0x1b1));}catch{}var _0x30be6a=function(){const _0x27657e=_0x92fdbe;if(_0x500ff6){if(typeof _0x500ff6[_0x27657e(0x57f)]==_0x27657e(0x28b))try{return _0x500ff6[_0x27657e(0x57f)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x500ff6[_0x27657e(0x360)]==_0x27657e(0x28b))try{return _0x500ff6['randomBytes'](0x4)[_0x27657e(0x334)]();}catch{}}throw new Error(_0x27657e(0x2ec));},_0x41503a=Object[_0x92fdbe(0x32b)]||(function(){function _0x34284f(){}return function(_0x5e4f55){const _0x4056f6=_0x9980;var _0x2dac3f;return _0x34284f[_0x4056f6(0x481)]=_0x5e4f55,_0x2dac3f=new _0x34284f(),_0x34284f[_0x4056f6(0x481)]=null,_0x2dac3f;};}()),_0x29430f={},_0x3ceabf=_0x29430f[_0x92fdbe(0x4a6)]={},_0x22c1cd=_0x3ceabf[_0x92fdbe(0x3ea)]=(function(){return{'extend':function(_0x1dc911){const _0x5d9bce=_0x9980;var _0x3e595d=_0x41503a(this);return _0x1dc911&&_0x3e595d[_0x5d9bce(0x558)](_0x1dc911),(!_0x3e595d[_0x5d9bce(0x40b)](_0x5d9bce(0x371))||this[_0x5d9bce(0x371)]===_0x3e595d[_0x5d9bce(0x371)])&&(_0x3e595d[_0x5d9bce(0x371)]=function(){const _0x118f9f=_0x5d9bce;_0x3e595d[_0x118f9f(0x35f)]['init'][_0x118f9f(0x50a)](this,arguments);}),_0x3e595d[_0x5d9bce(0x371)][_0x5d9bce(0x481)]=_0x3e595d,_0x3e595d[_0x5d9bce(0x35f)]=this,_0x3e595d;},'create':function(){const _0x1517e4=_0x9980;var _0x5dbfd0=this[_0x1517e4(0x496)]();return _0x5dbfd0['init']['apply'](_0x5dbfd0,arguments),_0x5dbfd0;},'init':function(){},'mixIn':function(_0x4ee67b){const _0x98989c=_0x9980;for(var _0x3b7c32 in _0x4ee67b)_0x4ee67b['hasOwnProperty'](_0x3b7c32)&&(this[_0x3b7c32]=_0x4ee67b[_0x3b7c32]);_0x4ee67b['hasOwnProperty']('toString')&&(this[_0x98989c(0x353)]=_0x4ee67b[_0x98989c(0x353)]);},'clone':function(){const _0x213fe4=_0x9980;return this[_0x213fe4(0x371)][_0x213fe4(0x481)]['extend'](this);}};}()),_0x536a6e=_0x3ceabf[_0x92fdbe(0x2d9)]=_0x22c1cd[_0x92fdbe(0x496)]({'init':function(_0x4823a7,_0x48d564){const _0x312b95=_0x92fdbe;_0x4823a7=this['words']=_0x4823a7||[],_0x48d564!=_0xda1a3a?this[_0x312b95(0x287)]=_0x48d564:this[_0x312b95(0x287)]=_0x4823a7['length']*0x4;},'toString':function(_0x403c54){return(_0x403c54||_0x38061b)['stringify'](this);},'concat':function(_0x461046){const _0x270cdf=_0x92fdbe;var _0x33cba0=this['words'],_0xe42bb2=_0x461046['words'],_0x239d03=this['sigBytes'],_0x16d048=_0x461046[_0x270cdf(0x287)];if(this['clamp'](),_0x239d03%0x4)for(var _0x4d9db8=0x0;_0x4d9db8<_0x16d048;_0x4d9db8++){var _0x2f40aa=_0xe42bb2[_0x4d9db8>>>0x2]>>>0x18-_0x4d9db8%0x4*0x8&0xff;_0x33cba0[_0x239d03+_0x4d9db8>>>0x2]|=_0x2f40aa<<0x18-(_0x239d03+_0x4d9db8)%0x4*0x8;}else{for(var _0x46cc80=0x0;_0x46cc80<_0x16d048;_0x46cc80+=0x4)_0x33cba0[_0x239d03+_0x46cc80>>>0x2]=_0xe42bb2[_0x46cc80>>>0x2];}return this[_0x270cdf(0x287)]+=_0x16d048,this;},'clamp':function(){const _0x480d40=_0x92fdbe;var _0x4c8d3c=this[_0x480d40(0x4dd)],_0x33b136=this[_0x480d40(0x287)];_0x4c8d3c[_0x33b136>>>0x2]&=0xffffffff<<0x20-_0x33b136%0x4*0x8,_0x4c8d3c['length']=_0x3527e8[_0x480d40(0x339)](_0x33b136/0x4);},'clone':function(){const _0x3ea409=_0x92fdbe;var _0x42be11=_0x22c1cd['clone'][_0x3ea409(0x4bf)](this);return _0x42be11[_0x3ea409(0x4dd)]=this[_0x3ea409(0x4dd)][_0x3ea409(0x3e9)](0x0),_0x42be11;},'random':function(_0x1f7b5c){const _0x376ea2=_0x92fdbe;for(var _0x53abdc=[],_0x4802c1=0x0;_0x4802c1<_0x1f7b5c;_0x4802c1+=0x4)_0x53abdc[_0x376ea2(0x2ac)](_0x30be6a());return new _0x536a6e[(_0x376ea2(0x371))](_0x53abdc,_0x1f7b5c);}}),_0x2d4bd6=_0x29430f[_0x92fdbe(0x557)]={},_0x38061b=_0x2d4bd6[_0x92fdbe(0x30c)]={'stringify':function(_0x1f44d7){const _0x1c3363=_0x92fdbe;for(var _0x5ab414=_0x1f44d7[_0x1c3363(0x4dd)],_0x1b04e2=_0x1f44d7['sigBytes'],_0x1fc2cf=[],_0x4d6564=0x0;_0x4d6564<_0x1b04e2;_0x4d6564++){var _0x3c9d8b=_0x5ab414[_0x4d6564>>>0x2]>>>0x18-_0x4d6564%0x4*0x8&0xff;_0x1fc2cf[_0x1c3363(0x2ac)]((_0x3c9d8b>>>0x4)[_0x1c3363(0x353)](0x10)),_0x1fc2cf['push']((_0x3c9d8b&0xf)[_0x1c3363(0x353)](0x10));}return _0x1fc2cf[_0x1c3363(0x1d5)]('');},'parse':function(_0x541371){const _0x26dd4f=_0x92fdbe;for(var _0x3711f3=_0x541371[_0x26dd4f(0x4b1)],_0x254837=[],_0x20e224=0x0;_0x20e224<_0x3711f3;_0x20e224+=0x2)_0x254837[_0x20e224>>>0x3]|=parseInt(_0x541371[_0x26dd4f(0x441)](_0x20e224,0x2),0x10)<<0x18-_0x20e224%0x8*0x4;return new _0x536a6e[(_0x26dd4f(0x371))](_0x254837,_0x3711f3/0x2);}},_0x46f149=_0x2d4bd6[_0x92fdbe(0x54b)]={'stringify':function(_0x1c18dd){const _0x3de368=_0x92fdbe;for(var _0x20519e=_0x1c18dd[_0x3de368(0x4dd)],_0x865625=_0x1c18dd[_0x3de368(0x287)],_0x14e579=[],_0x19728e=0x0;_0x19728e<_0x865625;_0x19728e++){var _0x6a60cd=_0x20519e[_0x19728e>>>0x2]>>>0x18-_0x19728e%0x4*0x8&0xff;_0x14e579['push'](String[_0x3de368(0x583)](_0x6a60cd));}return _0x14e579['join']('');},'parse':function(_0x27eef5){const _0x524726=_0x92fdbe;for(var _0x38486=_0x27eef5[_0x524726(0x4b1)],_0x453124=[],_0x318997=0x0;_0x318997<_0x38486;_0x318997++)_0x453124[_0x318997>>>0x2]|=(_0x27eef5['charCodeAt'](_0x318997)&0xff)<<0x18-_0x318997%0x4*0x8;return new _0x536a6e['init'](_0x453124,_0x38486);}},_0x350ae6=_0x2d4bd6[_0x92fdbe(0x343)]={'stringify':function(_0x333bba){const _0x2d85b8=_0x92fdbe;try{return decodeURIComponent(escape(_0x46f149[_0x2d85b8(0x2b7)](_0x333bba)));}catch{throw new Error(_0x2d85b8(0x529));}},'parse':function(_0x3495a2){const _0x14c635=_0x92fdbe;return _0x46f149[_0x14c635(0x2e0)](unescape(encodeURIComponent(_0x3495a2)));}},_0x1691b3=_0x3ceabf[_0x92fdbe(0x270)]=_0x22c1cd[_0x92fdbe(0x496)]({'reset':function(){const _0x369878=_0x92fdbe;this['_data']=new _0x536a6e[(_0x369878(0x371))](),this['_nDataBytes']=0x0;},'_append':function(_0x69dc65){const _0x23d863=_0x92fdbe;typeof _0x69dc65==_0x23d863(0x354)&&(_0x69dc65=_0x350ae6['parse'](_0x69dc65)),this['_data']['concat'](_0x69dc65),this[_0x23d863(0x317)]+=_0x69dc65[_0x23d863(0x287)];},'_process':function(_0x4e0e2d){const _0x2bd2f9=_0x92fdbe;var _0x548484,_0x39a5eb=this[_0x2bd2f9(0x47d)],_0x12b806=_0x39a5eb[_0x2bd2f9(0x4dd)],_0x1a5c67=_0x39a5eb[_0x2bd2f9(0x287)],_0x355e5b=this['blockSize'],_0x18ea15=_0x355e5b*0x4,_0x4e9989=_0x1a5c67/_0x18ea15;_0x4e0e2d?_0x4e9989=_0x3527e8[_0x2bd2f9(0x339)](_0x4e9989):_0x4e9989=_0x3527e8[_0x2bd2f9(0x256)]((_0x4e9989|0x0)-this[_0x2bd2f9(0x4c0)],0x0);var _0x3ffb99=_0x4e9989*_0x355e5b,_0xff83ff=_0x3527e8[_0x2bd2f9(0x3e2)](_0x3ffb99*0x4,_0x1a5c67);if(_0x3ffb99){for(var _0x3d7c45=0x0;_0x3d7c45<_0x3ffb99;_0x3d7c45+=_0x355e5b)this['_doProcessBlock'](_0x12b806,_0x3d7c45);_0x548484=_0x12b806[_0x2bd2f9(0x3e8)](0x0,_0x3ffb99),_0x39a5eb[_0x2bd2f9(0x287)]-=_0xff83ff;}return new _0x536a6e[(_0x2bd2f9(0x371))](_0x548484,_0xff83ff);},'clone':function(){const _0x514117=_0x92fdbe;var _0x44df52=_0x22c1cd[_0x514117(0x384)][_0x514117(0x4bf)](this);return _0x44df52[_0x514117(0x47d)]=this[_0x514117(0x47d)][_0x514117(0x384)](),_0x44df52;},'_minBufferSize':0x0});_0x3ceabf[_0x92fdbe(0x21b)]=_0x1691b3[_0x92fdbe(0x496)]({'cfg':_0x22c1cd['extend'](),'init':function(_0x2c9f8d){const _0x49366e=_0x92fdbe;this[_0x49366e(0x3b1)]=this['cfg'][_0x49366e(0x496)](_0x2c9f8d),this[_0x49366e(0x267)]();},'reset':function(){const _0x52f702=_0x92fdbe;_0x1691b3[_0x52f702(0x267)][_0x52f702(0x4bf)](this),this[_0x52f702(0x3ec)]();},'update':function(_0x2bacf5){const _0x21131f=_0x92fdbe;return this[_0x21131f(0x58a)](_0x2bacf5),this['_process'](),this;},'finalize':function(_0x59eccc){const _0x1530ad=_0x92fdbe;_0x59eccc&&this[_0x1530ad(0x58a)](_0x59eccc);var _0x5095ae=this[_0x1530ad(0x512)]();return _0x5095ae;},'blockSize':0x10,'_createHelper':function(_0x2a0a1d){return function(_0x30c0ea,_0x53087d){const _0x2989ca=_0x9980;return new _0x2a0a1d[(_0x2989ca(0x371))](_0x53087d)[_0x2989ca(0x47a)](_0x30c0ea);};},'_createHmacHelper':function(_0x5ba1d7){return function(_0x188ffa,_0x1bd9be){const _0x52efda=_0x9980;return new _0x52238f[(_0x52efda(0x475))][(_0x52efda(0x371))](_0x5ba1d7,_0x1bd9be)[_0x52efda(0x47a)](_0x188ffa);};}});var _0x52238f=_0x29430f['algo']={};return _0x29430f;}(Math);return _0x35687a;}));}(dt)),dt[_0x4bdf16(0x54c)];}var ft={'exports':{}},sc=ft[_0x421733(0x54c)],hi;function ir(){const _0x1378b0=_0x421733;return hi||(hi=0x1,function(_0xd829e8,_0xea9168){(function(_0x3f39a6,_0x262c3e){const _0x5acd81=_0x9980;_0xd829e8[_0x5acd81(0x54c)]=_0x262c3e(_e());}(sc,function(_0xe15c2a){return(function(){const _0xa7b0c3=_0x9980;var _0x38f953=_0xe15c2a,_0x38ae3e=_0x38f953[_0xa7b0c3(0x4a6)],_0x400468=_0x38ae3e[_0xa7b0c3(0x2d9)],_0x594264=_0x38f953[_0xa7b0c3(0x557)];_0x594264[_0xa7b0c3(0x49c)]={'stringify':function(_0xc5c8e6){const _0x2834f6=_0xa7b0c3;var _0x125d73=_0xc5c8e6['words'],_0x1380cc=_0xc5c8e6[_0x2834f6(0x287)],_0x3c38ef=this[_0x2834f6(0x489)];_0xc5c8e6['clamp']();for(var _0x132f7d=[],_0x248b89=0x0;_0x248b89<_0x1380cc;_0x248b89+=0x3)for(var _0x42f1c0=_0x125d73[_0x248b89>>>0x2]>>>0x18-_0x248b89%0x4*0x8&0xff,_0x5f2208=_0x125d73[_0x248b89+0x1>>>0x2]>>>0x18-(_0x248b89+0x1)%0x4*0x8&0xff,_0x38bd21=_0x125d73[_0x248b89+0x2>>>0x2]>>>0x18-(_0x248b89+0x2)%0x4*0x8&0xff,_0x3a2992=_0x42f1c0<<0x10|_0x5f2208<<0x8|_0x38bd21,_0x337c7a=0x0;_0x337c7a<0x4&&_0x248b89+_0x337c7a*0.75<_0x1380cc;_0x337c7a++)_0x132f7d[_0x2834f6(0x2ac)](_0x3c38ef['charAt'](_0x3a2992>>>0x6*(0x3-_0x337c7a)&0x3f));var _0x38b054=_0x3c38ef['charAt'](0x40);if(_0x38b054){for(;_0x132f7d[_0x2834f6(0x4b1)]%0x4;)_0x132f7d[_0x2834f6(0x2ac)](_0x38b054);}return _0x132f7d[_0x2834f6(0x1d5)]('');},'parse':function(_0x371f94){const _0x4a633b=_0xa7b0c3;var _0x1bf9d1=_0x371f94[_0x4a633b(0x4b1)],_0x123dd8=this[_0x4a633b(0x489)],_0x554720=this[_0x4a633b(0x4ed)];if(!_0x554720){_0x554720=this[_0x4a633b(0x4ed)]=[];for(var _0x1d9288=0x0;_0x1d9288<_0x123dd8[_0x4a633b(0x4b1)];_0x1d9288++)_0x554720[_0x123dd8[_0x4a633b(0x235)](_0x1d9288)]=_0x1d9288;}var _0x4340af=_0x123dd8['charAt'](0x40);if(_0x4340af){var _0x7a4cc2=_0x371f94[_0x4a633b(0x332)](_0x4340af);_0x7a4cc2!==-0x1&&(_0x1bf9d1=_0x7a4cc2);}return _0x3aafdf(_0x371f94,_0x1bf9d1,_0x554720);},'_map':_0xa7b0c3(0x57c)};function _0x3aafdf(_0x454ee9,_0x5db937,_0x4b023f){const _0x5e79b6=_0xa7b0c3;for(var _0x20c9db=[],_0x305118=0x0,_0x3301bb=0x0;_0x3301bb<_0x5db937;_0x3301bb++)if(_0x3301bb%0x4){var _0x5cf14a=_0x4b023f[_0x454ee9[_0x5e79b6(0x235)](_0x3301bb-0x1)]<<_0x3301bb%0x4*0x2,_0x31f836=_0x4b023f[_0x454ee9[_0x5e79b6(0x235)](_0x3301bb)]>>>0x6-_0x3301bb%0x4*0x2,_0x2eaa80=_0x5cf14a|_0x31f836;_0x20c9db[_0x305118>>>0x2]|=_0x2eaa80<<0x18-_0x305118%0x4*0x8,_0x305118++;}return _0x400468['create'](_0x20c9db,_0x305118);}}()),_0xe15c2a['enc']['Base64'];}));}(ft)),ft[_0x1378b0(0x54c)];}var vt={'exports':{}},ic=vt[_0x421733(0x54c)],li;function rc(){const _0x182ae9=_0x421733;return li||(li=0x1,function(_0x2a825d,_0x3b0a59){(function(_0x4befdd,_0x1c9e5c){const _0x1be455=_0x9980;_0x2a825d[_0x1be455(0x54c)]=_0x1c9e5c(_e());}(ic,function(_0x3ececd){return function(_0x3e652f){const _0x542f7b=_0x9980;var _0x4b6393=_0x3ececd,_0x3d0e27=_0x4b6393['lib'],_0x4c85a3=_0x3d0e27[_0x542f7b(0x2d9)],_0x3eb19d=_0x3d0e27[_0x542f7b(0x21b)],_0x548820=_0x4b6393[_0x542f7b(0x2cf)],_0x2f0f3c=[];(function(){const _0x1b41d1=_0x542f7b;for(var _0x894d8=0x0;_0x894d8<0x40;_0x894d8++)_0x2f0f3c[_0x894d8]=_0x3e652f[_0x1b41d1(0x4ff)](_0x3e652f['sin'](_0x894d8+0x1))*0x100000000|0x0;}());var _0x36eadf=_0x548820[_0x542f7b(0x3a6)]=_0x3eb19d[_0x542f7b(0x496)]({'_doReset':function(){const _0x4e9a4b=_0x542f7b;this[_0x4e9a4b(0x17d)]=new _0x4c85a3[(_0x4e9a4b(0x371))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xcf212f,_0x5b05de){const _0x3d589a=_0x542f7b;for(var _0x4181ce=0x0;_0x4181ce<0x10;_0x4181ce++){var _0x12a92f=_0x5b05de+_0x4181ce,_0x3b6a94=_0xcf212f[_0x12a92f];_0xcf212f[_0x12a92f]=(_0x3b6a94<<0x8|_0x3b6a94>>>0x18)&0xff00ff|(_0x3b6a94<<0x18|_0x3b6a94>>>0x8)&0xff00ff00;}var _0x2aec7b=this['_hash'][_0x3d589a(0x4dd)],_0xd0d670=_0xcf212f[_0x5b05de+0x0],_0x2ca69d=_0xcf212f[_0x5b05de+0x1],_0x450da4=_0xcf212f[_0x5b05de+0x2],_0x169158=_0xcf212f[_0x5b05de+0x3],_0x26dccf=_0xcf212f[_0x5b05de+0x4],_0x12e56d=_0xcf212f[_0x5b05de+0x5],_0x13fee3=_0xcf212f[_0x5b05de+0x6],_0x10f543=_0xcf212f[_0x5b05de+0x7],_0x2d6907=_0xcf212f[_0x5b05de+0x8],_0x10c83c=_0xcf212f[_0x5b05de+0x9],_0x5ed7d6=_0xcf212f[_0x5b05de+0xa],_0x393b35=_0xcf212f[_0x5b05de+0xb],_0x59348b=_0xcf212f[_0x5b05de+0xc],_0xabb45e=_0xcf212f[_0x5b05de+0xd],_0x44ca2d=_0xcf212f[_0x5b05de+0xe],_0x24022b=_0xcf212f[_0x5b05de+0xf],_0x27e1c8=_0x2aec7b[0x0],_0x4b8f37=_0x2aec7b[0x1],_0x47fb7c=_0x2aec7b[0x2],_0xa26c0f=_0x2aec7b[0x3];_0x27e1c8=_0x240da0(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0xd0d670,0x7,_0x2f0f3c[0x0]),_0xa26c0f=_0x240da0(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x2ca69d,0xc,_0x2f0f3c[0x1]),_0x47fb7c=_0x240da0(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x450da4,0x11,_0x2f0f3c[0x2]),_0x4b8f37=_0x240da0(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x169158,0x16,_0x2f0f3c[0x3]),_0x27e1c8=_0x240da0(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x26dccf,0x7,_0x2f0f3c[0x4]),_0xa26c0f=_0x240da0(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x12e56d,0xc,_0x2f0f3c[0x5]),_0x47fb7c=_0x240da0(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x13fee3,0x11,_0x2f0f3c[0x6]),_0x4b8f37=_0x240da0(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x10f543,0x16,_0x2f0f3c[0x7]),_0x27e1c8=_0x240da0(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x2d6907,0x7,_0x2f0f3c[0x8]),_0xa26c0f=_0x240da0(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x10c83c,0xc,_0x2f0f3c[0x9]),_0x47fb7c=_0x240da0(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x5ed7d6,0x11,_0x2f0f3c[0xa]),_0x4b8f37=_0x240da0(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x393b35,0x16,_0x2f0f3c[0xb]),_0x27e1c8=_0x240da0(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x59348b,0x7,_0x2f0f3c[0xc]),_0xa26c0f=_0x240da0(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xabb45e,0xc,_0x2f0f3c[0xd]),_0x47fb7c=_0x240da0(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x44ca2d,0x11,_0x2f0f3c[0xe]),_0x4b8f37=_0x240da0(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x24022b,0x16,_0x2f0f3c[0xf]),_0x27e1c8=_0x783cd9(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x2ca69d,0x5,_0x2f0f3c[0x10]),_0xa26c0f=_0x783cd9(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x13fee3,0x9,_0x2f0f3c[0x11]),_0x47fb7c=_0x783cd9(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x393b35,0xe,_0x2f0f3c[0x12]),_0x4b8f37=_0x783cd9(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0xd0d670,0x14,_0x2f0f3c[0x13]),_0x27e1c8=_0x783cd9(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x12e56d,0x5,_0x2f0f3c[0x14]),_0xa26c0f=_0x783cd9(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x5ed7d6,0x9,_0x2f0f3c[0x15]),_0x47fb7c=_0x783cd9(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x24022b,0xe,_0x2f0f3c[0x16]),_0x4b8f37=_0x783cd9(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x26dccf,0x14,_0x2f0f3c[0x17]),_0x27e1c8=_0x783cd9(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x10c83c,0x5,_0x2f0f3c[0x18]),_0xa26c0f=_0x783cd9(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x44ca2d,0x9,_0x2f0f3c[0x19]),_0x47fb7c=_0x783cd9(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x169158,0xe,_0x2f0f3c[0x1a]),_0x4b8f37=_0x783cd9(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x2d6907,0x14,_0x2f0f3c[0x1b]),_0x27e1c8=_0x783cd9(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0xabb45e,0x5,_0x2f0f3c[0x1c]),_0xa26c0f=_0x783cd9(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x450da4,0x9,_0x2f0f3c[0x1d]),_0x47fb7c=_0x783cd9(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x10f543,0xe,_0x2f0f3c[0x1e]),_0x4b8f37=_0x783cd9(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x59348b,0x14,_0x2f0f3c[0x1f]),_0x27e1c8=_0x56dba4(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x12e56d,0x4,_0x2f0f3c[0x20]),_0xa26c0f=_0x56dba4(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x2d6907,0xb,_0x2f0f3c[0x21]),_0x47fb7c=_0x56dba4(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x393b35,0x10,_0x2f0f3c[0x22]),_0x4b8f37=_0x56dba4(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x44ca2d,0x17,_0x2f0f3c[0x23]),_0x27e1c8=_0x56dba4(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x2ca69d,0x4,_0x2f0f3c[0x24]),_0xa26c0f=_0x56dba4(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x26dccf,0xb,_0x2f0f3c[0x25]),_0x47fb7c=_0x56dba4(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x10f543,0x10,_0x2f0f3c[0x26]),_0x4b8f37=_0x56dba4(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x5ed7d6,0x17,_0x2f0f3c[0x27]),_0x27e1c8=_0x56dba4(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0xabb45e,0x4,_0x2f0f3c[0x28]),_0xa26c0f=_0x56dba4(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xd0d670,0xb,_0x2f0f3c[0x29]),_0x47fb7c=_0x56dba4(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x169158,0x10,_0x2f0f3c[0x2a]),_0x4b8f37=_0x56dba4(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x13fee3,0x17,_0x2f0f3c[0x2b]),_0x27e1c8=_0x56dba4(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x10c83c,0x4,_0x2f0f3c[0x2c]),_0xa26c0f=_0x56dba4(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x59348b,0xb,_0x2f0f3c[0x2d]),_0x47fb7c=_0x56dba4(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x24022b,0x10,_0x2f0f3c[0x2e]),_0x4b8f37=_0x56dba4(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x450da4,0x17,_0x2f0f3c[0x2f]),_0x27e1c8=_0x1a0663(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0xd0d670,0x6,_0x2f0f3c[0x30]),_0xa26c0f=_0x1a0663(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x10f543,0xa,_0x2f0f3c[0x31]),_0x47fb7c=_0x1a0663(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x44ca2d,0xf,_0x2f0f3c[0x32]),_0x4b8f37=_0x1a0663(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x12e56d,0x15,_0x2f0f3c[0x33]),_0x27e1c8=_0x1a0663(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x59348b,0x6,_0x2f0f3c[0x34]),_0xa26c0f=_0x1a0663(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x169158,0xa,_0x2f0f3c[0x35]),_0x47fb7c=_0x1a0663(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x5ed7d6,0xf,_0x2f0f3c[0x36]),_0x4b8f37=_0x1a0663(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x2ca69d,0x15,_0x2f0f3c[0x37]),_0x27e1c8=_0x1a0663(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x2d6907,0x6,_0x2f0f3c[0x38]),_0xa26c0f=_0x1a0663(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x24022b,0xa,_0x2f0f3c[0x39]),_0x47fb7c=_0x1a0663(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x13fee3,0xf,_0x2f0f3c[0x3a]),_0x4b8f37=_0x1a0663(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0xabb45e,0x15,_0x2f0f3c[0x3b]),_0x27e1c8=_0x1a0663(_0x27e1c8,_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x26dccf,0x6,_0x2f0f3c[0x3c]),_0xa26c0f=_0x1a0663(_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x47fb7c,_0x393b35,0xa,_0x2f0f3c[0x3d]),_0x47fb7c=_0x1a0663(_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x4b8f37,_0x450da4,0xf,_0x2f0f3c[0x3e]),_0x4b8f37=_0x1a0663(_0x4b8f37,_0x47fb7c,_0xa26c0f,_0x27e1c8,_0x10c83c,0x15,_0x2f0f3c[0x3f]),_0x2aec7b[0x0]=_0x2aec7b[0x0]+_0x27e1c8|0x0,_0x2aec7b[0x1]=_0x2aec7b[0x1]+_0x4b8f37|0x0,_0x2aec7b[0x2]=_0x2aec7b[0x2]+_0x47fb7c|0x0,_0x2aec7b[0x3]=_0x2aec7b[0x3]+_0xa26c0f|0x0;},'_doFinalize':function(){const _0x5b5bbf=_0x542f7b;var _0x4c00f6=this[_0x5b5bbf(0x47d)],_0x2e15d5=_0x4c00f6[_0x5b5bbf(0x4dd)],_0x3f3517=this[_0x5b5bbf(0x317)]*0x8,_0x289248=_0x4c00f6[_0x5b5bbf(0x287)]*0x8;_0x2e15d5[_0x289248>>>0x5]|=0x80<<0x18-_0x289248%0x20;var _0x352b1f=_0x3e652f[_0x5b5bbf(0x43d)](_0x3f3517/0x100000000),_0x647975=_0x3f3517;_0x2e15d5[(_0x289248+0x40>>>0x9<<0x4)+0xf]=(_0x352b1f<<0x8|_0x352b1f>>>0x18)&0xff00ff|(_0x352b1f<<0x18|_0x352b1f>>>0x8)&0xff00ff00,_0x2e15d5[(_0x289248+0x40>>>0x9<<0x4)+0xe]=(_0x647975<<0x8|_0x647975>>>0x18)&0xff00ff|(_0x647975<<0x18|_0x647975>>>0x8)&0xff00ff00,_0x4c00f6[_0x5b5bbf(0x287)]=(_0x2e15d5[_0x5b5bbf(0x4b1)]+0x1)*0x4,this[_0x5b5bbf(0x42e)]();for(var _0x505e09=this[_0x5b5bbf(0x17d)],_0x495f75=_0x505e09['words'],_0x3fdc5b=0x0;_0x3fdc5b<0x4;_0x3fdc5b++){var _0x26e4f8=_0x495f75[_0x3fdc5b];_0x495f75[_0x3fdc5b]=(_0x26e4f8<<0x8|_0x26e4f8>>>0x18)&0xff00ff|(_0x26e4f8<<0x18|_0x26e4f8>>>0x8)&0xff00ff00;}return _0x505e09;},'clone':function(){const _0x2b2283=_0x542f7b;var _0x36d37e=_0x3eb19d[_0x2b2283(0x384)][_0x2b2283(0x4bf)](this);return _0x36d37e[_0x2b2283(0x17d)]=this[_0x2b2283(0x17d)][_0x2b2283(0x384)](),_0x36d37e;}});function _0x240da0(_0x342d6a,_0x1ef5d6,_0x5c1b2d,_0x346099,_0x441252,_0x59f807,_0x14891a){var _0x559abb=_0x342d6a+(_0x1ef5d6&_0x5c1b2d|~_0x1ef5d6&_0x346099)+_0x441252+_0x14891a;return(_0x559abb<<_0x59f807|_0x559abb>>>0x20-_0x59f807)+_0x1ef5d6;}function _0x783cd9(_0x20b7bc,_0x3fc531,_0x29862c,_0x1a607b,_0x8c6d53,_0x5677ff,_0xcc2ec1){var _0x5e958c=_0x20b7bc+(_0x3fc531&_0x1a607b|_0x29862c&~_0x1a607b)+_0x8c6d53+_0xcc2ec1;return(_0x5e958c<<_0x5677ff|_0x5e958c>>>0x20-_0x5677ff)+_0x3fc531;}function _0x56dba4(_0x5de1b2,_0x5669a1,_0x33d0f4,_0x593fed,_0x210139,_0x21c770,_0x7839c0){var _0x3cbdd2=_0x5de1b2+(_0x5669a1^_0x33d0f4^_0x593fed)+_0x210139+_0x7839c0;return(_0x3cbdd2<<_0x21c770|_0x3cbdd2>>>0x20-_0x21c770)+_0x5669a1;}function _0x1a0663(_0x1aaf01,_0x41958f,_0x3e7d46,_0xf78744,_0x1c1239,_0x3ab266,_0x3a4d0a){var _0x19a008=_0x1aaf01+(_0x3e7d46^(_0x41958f|~_0xf78744))+_0x1c1239+_0x3a4d0a;return(_0x19a008<<_0x3ab266|_0x19a008>>>0x20-_0x3ab266)+_0x41958f;}_0x4b6393[_0x542f7b(0x3a6)]=_0x3eb19d[_0x542f7b(0x3b7)](_0x36eadf),_0x4b6393['HmacMD5']=_0x3eb19d['_createHmacHelper'](_0x36eadf);}(Math),_0x3ececd['MD5'];}));}(vt)),vt[_0x182ae9(0x54c)];}var pt={'exports':{}},mt={'exports':{}},nc=mt[_0x421733(0x54c)],_i;function oc(){const _0x40e1da=_0x421733;return _i||(_i=0x1,function(_0x3ca1bc,_0x481f5c){(function(_0x5770cf,_0x54c265){const _0x375772=_0x9980;_0x3ca1bc[_0x375772(0x54c)]=_0x54c265(_e());}(nc,function(_0xf54a14){return(function(){const _0x144199=_0x9980;var _0x659d43=_0xf54a14,_0x2c51b1=_0x659d43[_0x144199(0x4a6)],_0x26b9a5=_0x2c51b1[_0x144199(0x2d9)],_0x562d59=_0x2c51b1['Hasher'],_0x216642=_0x659d43[_0x144199(0x2cf)],_0x280fb1=[],_0xb2e8d1=_0x216642['SHA1']=_0x562d59['extend']({'_doReset':function(){const _0x4423db=_0x144199;this[_0x4423db(0x17d)]=new _0x26b9a5[(_0x4423db(0x371))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1ea6ae,_0x339fd9){for(var _0x40359b=this['_hash']['words'],_0x16d96e=_0x40359b[0x0],_0x508726=_0x40359b[0x1],_0x1896bb=_0x40359b[0x2],_0x54760c=_0x40359b[0x3],_0x44223b=_0x40359b[0x4],_0x8163a3=0x0;_0x8163a3<0x50;_0x8163a3++){if(_0x8163a3<0x10)_0x280fb1[_0x8163a3]=_0x1ea6ae[_0x339fd9+_0x8163a3]|0x0;else{var _0x1f13ed=_0x280fb1[_0x8163a3-0x3]^_0x280fb1[_0x8163a3-0x8]^_0x280fb1[_0x8163a3-0xe]^_0x280fb1[_0x8163a3-0x10];_0x280fb1[_0x8163a3]=_0x1f13ed<<0x1|_0x1f13ed>>>0x1f;}var _0x670218=(_0x16d96e<<0x5|_0x16d96e>>>0x1b)+_0x44223b+_0x280fb1[_0x8163a3];_0x8163a3<0x14?_0x670218+=(_0x508726&_0x1896bb|~_0x508726&_0x54760c)+0x5a827999:_0x8163a3<0x28?_0x670218+=(_0x508726^_0x1896bb^_0x54760c)+0x6ed9eba1:_0x8163a3<0x3c?_0x670218+=(_0x508726&_0x1896bb|_0x508726&_0x54760c|_0x1896bb&_0x54760c)-0x70e44324:_0x670218+=(_0x508726^_0x1896bb^_0x54760c)-0x359d3e2a,_0x44223b=_0x54760c,_0x54760c=_0x1896bb,_0x1896bb=_0x508726<<0x1e|_0x508726>>>0x2,_0x508726=_0x16d96e,_0x16d96e=_0x670218;}_0x40359b[0x0]=_0x40359b[0x0]+_0x16d96e|0x0,_0x40359b[0x1]=_0x40359b[0x1]+_0x508726|0x0,_0x40359b[0x2]=_0x40359b[0x2]+_0x1896bb|0x0,_0x40359b[0x3]=_0x40359b[0x3]+_0x54760c|0x0,_0x40359b[0x4]=_0x40359b[0x4]+_0x44223b|0x0;},'_doFinalize':function(){const _0x53e23f=_0x144199;var _0x42f727=this[_0x53e23f(0x47d)],_0x42c4dd=_0x42f727[_0x53e23f(0x4dd)],_0x511919=this[_0x53e23f(0x317)]*0x8,_0x3e9576=_0x42f727[_0x53e23f(0x287)]*0x8;return _0x42c4dd[_0x3e9576>>>0x5]|=0x80<<0x18-_0x3e9576%0x20,_0x42c4dd[(_0x3e9576+0x40>>>0x9<<0x4)+0xe]=Math[_0x53e23f(0x43d)](_0x511919/0x100000000),_0x42c4dd[(_0x3e9576+0x40>>>0x9<<0x4)+0xf]=_0x511919,_0x42f727['sigBytes']=_0x42c4dd[_0x53e23f(0x4b1)]*0x4,this[_0x53e23f(0x42e)](),this[_0x53e23f(0x17d)];},'clone':function(){const _0x5457d9=_0x144199;var _0x447dff=_0x562d59['clone'][_0x5457d9(0x4bf)](this);return _0x447dff[_0x5457d9(0x17d)]=this[_0x5457d9(0x17d)][_0x5457d9(0x384)](),_0x447dff;}});_0x659d43['SHA1']=_0x562d59[_0x144199(0x3b7)](_0xb2e8d1),_0x659d43[_0x144199(0x31b)]=_0x562d59[_0x144199(0x173)](_0xb2e8d1);}()),_0xf54a14['SHA1'];}));}(mt)),mt[_0x40e1da(0x54c)];}var gt={'exports':{}},ac=gt[_0x421733(0x54c)],ui;function cc(){const _0x2da5b0=_0x421733;return ui||(ui=0x1,function(_0x3009a5,_0xc7d63){(function(_0x280011,_0x2b368d){_0x3009a5['exports']=_0x2b368d(_e());}(ac,function(_0x425446){(function(){const _0x43d0de=_0x9980;var _0x173def=_0x425446,_0x2a6caf=_0x173def[_0x43d0de(0x4a6)],_0x413529=_0x2a6caf[_0x43d0de(0x3ea)],_0x15841f=_0x173def[_0x43d0de(0x557)],_0x2ae8b4=_0x15841f[_0x43d0de(0x343)],_0x204731=_0x173def['algo'];_0x204731[_0x43d0de(0x475)]=_0x413529[_0x43d0de(0x496)]({'init':function(_0x192f33,_0x1a6e5a){const _0x5df09e=_0x43d0de;_0x192f33=this['_hasher']=new _0x192f33['init'](),typeof _0x1a6e5a==_0x5df09e(0x354)&&(_0x1a6e5a=_0x2ae8b4[_0x5df09e(0x2e0)](_0x1a6e5a));var _0x517a93=_0x192f33[_0x5df09e(0x258)],_0x437b75=_0x517a93*0x4;_0x1a6e5a['sigBytes']>_0x437b75&&(_0x1a6e5a=_0x192f33[_0x5df09e(0x47a)](_0x1a6e5a)),_0x1a6e5a[_0x5df09e(0x47e)]();for(var _0x59f4b7=this[_0x5df09e(0x2c8)]=_0x1a6e5a[_0x5df09e(0x384)](),_0x42f474=this['_iKey']=_0x1a6e5a[_0x5df09e(0x384)](),_0x5eecbd=_0x59f4b7[_0x5df09e(0x4dd)],_0x54f0fe=_0x42f474[_0x5df09e(0x4dd)],_0x148508=0x0;_0x148508<_0x517a93;_0x148508++)_0x5eecbd[_0x148508]^=0x5c5c5c5c,_0x54f0fe[_0x148508]^=0x36363636;_0x59f4b7[_0x5df09e(0x287)]=_0x42f474[_0x5df09e(0x287)]=_0x437b75,this[_0x5df09e(0x267)]();},'reset':function(){const _0x746dd7=_0x43d0de;var _0x89a3ab=this['_hasher'];_0x89a3ab['reset'](),_0x89a3ab[_0x746dd7(0x410)](this[_0x746dd7(0x53d)]);},'update':function(_0x138768){const _0x535314=_0x43d0de;return this[_0x535314(0x1f2)][_0x535314(0x410)](_0x138768),this;},'finalize':function(_0x41ee99){const _0x1319fe=_0x43d0de;var _0x422f69=this['_hasher'],_0x2d87ff=_0x422f69['finalize'](_0x41ee99);_0x422f69[_0x1319fe(0x267)]();var _0x11e2b2=_0x422f69[_0x1319fe(0x47a)](this[_0x1319fe(0x2c8)][_0x1319fe(0x384)]()['concat'](_0x2d87ff));return _0x11e2b2;}});}());}));}(gt)),gt[_0x2da5b0(0x54c)];}var hc=pt['exports'],di;function rr(){const _0x3b7155=_0x421733;return di||(di=0x1,function(_0x425147,_0x42d59f){(function(_0x26d4c3,_0x40bc55,_0x302c25){const _0x4a70f6=_0x9980;_0x425147[_0x4a70f6(0x54c)]=_0x40bc55(_e(),oc(),cc());}(hc,function(_0x4f6fc0){return(function(){const _0x59ddb1=_0x9980;var _0x2f5b12=_0x4f6fc0,_0xd78a08=_0x2f5b12[_0x59ddb1(0x4a6)],_0x27ae05=_0xd78a08['Base'],_0x13fde9=_0xd78a08[_0x59ddb1(0x2d9)],_0x42c88d=_0x2f5b12[_0x59ddb1(0x2cf)],_0x984b6=_0x42c88d[_0x59ddb1(0x3a6)],_0x5d7b43=_0x42c88d[_0x59ddb1(0x29f)]=_0x27ae05[_0x59ddb1(0x496)]({'cfg':_0x27ae05[_0x59ddb1(0x496)]({'keySize':0x80/0x20,'hasher':_0x984b6,'iterations':0x1}),'init':function(_0x645102){const _0xff248b=_0x59ddb1;this[_0xff248b(0x3b1)]=this[_0xff248b(0x3b1)][_0xff248b(0x496)](_0x645102);},'compute':function(_0x10ee6a,_0x17151d){const _0x4c23b0=_0x59ddb1;for(var _0x2d5e40,_0x2c1fad=this[_0x4c23b0(0x3b1)],_0xe8b541=_0x2c1fad[_0x4c23b0(0x43e)][_0x4c23b0(0x32b)](),_0x3b695c=_0x13fde9['create'](),_0x318a85=_0x3b695c[_0x4c23b0(0x4dd)],_0x267f52=_0x2c1fad[_0x4c23b0(0x4aa)],_0xfba024=_0x2c1fad[_0x4c23b0(0x522)];_0x318a85[_0x4c23b0(0x4b1)]<_0x267f52;){_0x2d5e40&&_0xe8b541[_0x4c23b0(0x410)](_0x2d5e40),_0x2d5e40=_0xe8b541[_0x4c23b0(0x410)](_0x10ee6a)[_0x4c23b0(0x47a)](_0x17151d),_0xe8b541[_0x4c23b0(0x267)]();for(var _0x3ab958=0x1;_0x3ab958<_0xfba024;_0x3ab958++)_0x2d5e40=_0xe8b541[_0x4c23b0(0x47a)](_0x2d5e40),_0xe8b541[_0x4c23b0(0x267)]();_0x3b695c[_0x4c23b0(0x309)](_0x2d5e40);}return _0x3b695c[_0x4c23b0(0x287)]=_0x267f52*0x4,_0x3b695c;}});_0x2f5b12['EvpKDF']=function(_0xe71336,_0x349afa,_0x1f3697){const _0x3e1bdd=_0x59ddb1;return _0x5d7b43[_0x3e1bdd(0x32b)](_0x1f3697)[_0x3e1bdd(0x32a)](_0xe71336,_0x349afa);};}()),_0x4f6fc0['EvpKDF'];}));}(pt)),pt[_0x3b7155(0x54c)];}var St={'exports':{}},lc=St['exports'],fi;function nr(){const _0x1f5c2e=_0x421733;return fi||(fi=0x1,function(_0x444053,_0x5c02d8){(function(_0x4af8fa,_0x39a553,_0x4990c6){_0x444053['exports']=_0x39a553(_e(),rr());}(lc,function(_0x4334c3){const _0x44609a=_0x9980;_0x4334c3[_0x44609a(0x4a6)][_0x44609a(0x315)]||function(_0x416e33){const _0x15ae0e=_0x44609a;var _0x1c1995=_0x4334c3,_0x21d31a=_0x1c1995[_0x15ae0e(0x4a6)],_0x3bbf14=_0x21d31a[_0x15ae0e(0x3ea)],_0x506ee6=_0x21d31a['WordArray'],_0x459de4=_0x21d31a[_0x15ae0e(0x270)],_0x48a5e8=_0x1c1995[_0x15ae0e(0x557)];_0x48a5e8[_0x15ae0e(0x343)];var _0x3d5357=_0x48a5e8[_0x15ae0e(0x49c)],_0x256900=_0x1c1995[_0x15ae0e(0x2cf)],_0x261a5f=_0x256900['EvpKDF'],_0x20ff11=_0x21d31a[_0x15ae0e(0x315)]=_0x459de4[_0x15ae0e(0x496)]({'cfg':_0x3bbf14[_0x15ae0e(0x496)](),'createEncryptor':function(_0x2571a0,_0x13ab45){const _0x1beb72=_0x15ae0e;return this['create'](this[_0x1beb72(0x54a)],_0x2571a0,_0x13ab45);},'createDecryptor':function(_0x456e7d,_0x18d7bc){const _0x2969de=_0x15ae0e;return this[_0x2969de(0x32b)](this[_0x2969de(0x3cb)],_0x456e7d,_0x18d7bc);},'init':function(_0x157107,_0x5d096a,_0x140802){const _0x455a0d=_0x15ae0e;this[_0x455a0d(0x3b1)]=this[_0x455a0d(0x3b1)][_0x455a0d(0x496)](_0x140802),this[_0x455a0d(0x302)]=_0x157107,this[_0x455a0d(0x1dc)]=_0x5d096a,this[_0x455a0d(0x267)]();},'reset':function(){const _0x3bc30e=_0x15ae0e;_0x459de4['reset'][_0x3bc30e(0x4bf)](this),this[_0x3bc30e(0x3ec)]();},'process':function(_0x1f1364){const _0x2e4db8=_0x15ae0e;return this['_append'](_0x1f1364),this[_0x2e4db8(0x42e)]();},'finalize':function(_0xf83c2a){const _0x27bf66=_0x15ae0e;_0xf83c2a&&this[_0x27bf66(0x58a)](_0xf83c2a);var _0x13ec9e=this['_doFinalize']();return _0x13ec9e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x26e400(_0x159df6){const _0x34dad0=_0x9980;return typeof _0x159df6==_0x34dad0(0x354)?_0x3cc43a:_0x4ca441;}return function(_0xac3cca){return{'encrypt':function(_0x5e545b,_0xe6dbc9,_0x366702){return _0x26e400(_0xe6dbc9)['encrypt'](_0xac3cca,_0x5e545b,_0xe6dbc9,_0x366702);},'decrypt':function(_0x35d5bb,_0x1f6695,_0x3e809b){return _0x26e400(_0x1f6695)['decrypt'](_0xac3cca,_0x35d5bb,_0x1f6695,_0x3e809b);}};};}())});_0x21d31a['StreamCipher']=_0x20ff11[_0x15ae0e(0x496)]({'_doFinalize':function(){const _0x46f4da=_0x15ae0e;var _0x299ddb=this[_0x46f4da(0x42e)](!0x0);return _0x299ddb;},'blockSize':0x1});var _0x349301=_0x1c1995[_0x15ae0e(0x330)]={},_0x43b110=_0x21d31a[_0x15ae0e(0x3d8)]=_0x3bbf14['extend']({'createEncryptor':function(_0x2d0c3f,_0x5e11cd){const _0x3a7071=_0x15ae0e;return this[_0x3a7071(0x2c5)][_0x3a7071(0x32b)](_0x2d0c3f,_0x5e11cd);},'createDecryptor':function(_0x66fbd7,_0xdcd876){const _0x2934cb=_0x15ae0e;return this[_0x2934cb(0x279)][_0x2934cb(0x32b)](_0x66fbd7,_0xdcd876);},'init':function(_0x36cfae,_0x3614ee){const _0x1cdb2a=_0x15ae0e;this[_0x1cdb2a(0x188)]=_0x36cfae,this[_0x1cdb2a(0x230)]=_0x3614ee;}}),_0x4e3c58=_0x349301[_0x15ae0e(0x3e4)]=(function(){const _0x18c4b2=_0x15ae0e;var _0x38fa1a=_0x43b110['extend']();_0x38fa1a[_0x18c4b2(0x2c5)]=_0x38fa1a[_0x18c4b2(0x496)]({'processBlock':function(_0x5165c1,_0x98594d){const _0x5d109d=_0x18c4b2;var _0x4804a3=this['_cipher'],_0x5d18b5=_0x4804a3[_0x5d109d(0x258)];_0x8e4e19[_0x5d109d(0x4bf)](this,_0x5165c1,_0x98594d,_0x5d18b5),_0x4804a3[_0x5d109d(0x408)](_0x5165c1,_0x98594d),this[_0x5d109d(0x264)]=_0x5165c1[_0x5d109d(0x3e9)](_0x98594d,_0x98594d+_0x5d18b5);}}),_0x38fa1a['Decryptor']=_0x38fa1a[_0x18c4b2(0x496)]({'processBlock':function(_0x364db3,_0x103efe){const _0xadefe2=_0x18c4b2;var _0x2b01ec=this[_0xadefe2(0x188)],_0x5765e5=_0x2b01ec[_0xadefe2(0x258)],_0x503942=_0x364db3[_0xadefe2(0x3e9)](_0x103efe,_0x103efe+_0x5765e5);_0x2b01ec[_0xadefe2(0x4bc)](_0x364db3,_0x103efe),_0x8e4e19['call'](this,_0x364db3,_0x103efe,_0x5765e5),this['_prevBlock']=_0x503942;}});function _0x8e4e19(_0x419264,_0x55cda5,_0xfd74ca){const _0x229ff7=_0x18c4b2;var _0x102fe8,_0x64ed34=this[_0x229ff7(0x230)];_0x64ed34?(_0x102fe8=_0x64ed34,this['_iv']=_0x416e33):_0x102fe8=this['_prevBlock'];for(var _0x357fb7=0x0;_0x357fb7<_0xfd74ca;_0x357fb7++)_0x419264[_0x55cda5+_0x357fb7]^=_0x102fe8[_0x357fb7];}return _0x38fa1a;}()),_0xc0ad29=_0x1c1995['pad']={},_0x3ed70c=_0xc0ad29['Pkcs7']={'pad':function(_0x5554c0,_0x4fddf0){const _0x2a455a=_0x15ae0e;for(var _0x35c1b3=_0x4fddf0*0x4,_0x42a452=_0x35c1b3-_0x5554c0[_0x2a455a(0x287)]%_0x35c1b3,_0x7f613f=_0x42a452<<0x18|_0x42a452<<0x10|_0x42a452<<0x8|_0x42a452,_0x154dbc=[],_0x4f741d=0x0;_0x4f741d<_0x42a452;_0x4f741d+=0x4)_0x154dbc['push'](_0x7f613f);var _0x12c5f1=_0x506ee6[_0x2a455a(0x32b)](_0x154dbc,_0x42a452);_0x5554c0['concat'](_0x12c5f1);},'unpad':function(_0x5f2ead){const _0x30b85e=_0x15ae0e;var _0x2c9765=_0x5f2ead[_0x30b85e(0x4dd)][_0x5f2ead[_0x30b85e(0x287)]-0x1>>>0x2]&0xff;_0x5f2ead[_0x30b85e(0x287)]-=_0x2c9765;}};_0x21d31a[_0x15ae0e(0x4a3)]=_0x20ff11[_0x15ae0e(0x496)]({'cfg':_0x20ff11[_0x15ae0e(0x3b1)]['extend']({'mode':_0x4e3c58,'padding':_0x3ed70c}),'reset':function(){const _0x568880=_0x15ae0e;var _0x38823d;_0x20ff11[_0x568880(0x267)][_0x568880(0x4bf)](this);var _0x5f6d6f=this[_0x568880(0x3b1)],_0x5c81e6=_0x5f6d6f['iv'],_0x37d07a=_0x5f6d6f[_0x568880(0x330)];this[_0x568880(0x302)]==this['_ENC_XFORM_MODE']?_0x38823d=_0x37d07a[_0x568880(0x3a9)]:(_0x38823d=_0x37d07a[_0x568880(0x2ef)],this[_0x568880(0x4c0)]=0x1),this[_0x568880(0x43b)]&&this[_0x568880(0x43b)]['__creator']==_0x38823d?this[_0x568880(0x43b)][_0x568880(0x371)](this,_0x5c81e6&&_0x5c81e6[_0x568880(0x4dd)]):(this['_mode']=_0x38823d[_0x568880(0x4bf)](_0x37d07a,this,_0x5c81e6&&_0x5c81e6[_0x568880(0x4dd)]),this['_mode'][_0x568880(0x2b9)]=_0x38823d);},'_doProcessBlock':function(_0x4c0c19,_0x773c21){const _0xee5afe=_0x15ae0e;this['_mode'][_0xee5afe(0x202)](_0x4c0c19,_0x773c21);},'_doFinalize':function(){const _0x59550c=_0x15ae0e;var _0x4c4acd,_0x9f7c09=this['cfg'][_0x59550c(0x42d)];return this[_0x59550c(0x302)]==this[_0x59550c(0x54a)]?(_0x9f7c09['pad'](this[_0x59550c(0x47d)],this[_0x59550c(0x258)]),_0x4c4acd=this['_process'](!0x0)):(_0x4c4acd=this[_0x59550c(0x42e)](!0x0),_0x9f7c09[_0x59550c(0x26e)](_0x4c4acd)),_0x4c4acd;},'blockSize':0x80/0x20});var _0x4ff85c=_0x21d31a['CipherParams']=_0x3bbf14['extend']({'init':function(_0xa9a1e){const _0x2d113e=_0x15ae0e;this[_0x2d113e(0x558)](_0xa9a1e);},'toString':function(_0x46a9f6){const _0x5e0e24=_0x15ae0e;return(_0x46a9f6||this[_0x5e0e24(0x419)])['stringify'](this);}}),_0x31ae43=_0x1c1995['format']={},_0x34090b=_0x31ae43[_0x15ae0e(0x415)]={'stringify':function(_0x218f92){const _0x5ab02a=_0x15ae0e;var _0x49a98c,_0x4703d5=_0x218f92['ciphertext'],_0x21df6a=_0x218f92[_0x5ab02a(0x4e9)];return _0x21df6a?_0x49a98c=_0x506ee6[_0x5ab02a(0x32b)]([0x53616c74,0x65645f5f])[_0x5ab02a(0x309)](_0x21df6a)['concat'](_0x4703d5):_0x49a98c=_0x4703d5,_0x49a98c[_0x5ab02a(0x353)](_0x3d5357);},'parse':function(_0x16c2d5){const _0x19833e=_0x15ae0e;var _0x230ed3,_0x1290a8=_0x3d5357[_0x19833e(0x2e0)](_0x16c2d5),_0x1a13a2=_0x1290a8[_0x19833e(0x4dd)];return _0x1a13a2[0x0]==0x53616c74&&_0x1a13a2[0x1]==0x65645f5f&&(_0x230ed3=_0x506ee6[_0x19833e(0x32b)](_0x1a13a2[_0x19833e(0x3e9)](0x2,0x4)),_0x1a13a2[_0x19833e(0x3e8)](0x0,0x4),_0x1290a8[_0x19833e(0x287)]-=0x10),_0x4ff85c['create']({'ciphertext':_0x1290a8,'salt':_0x230ed3});}},_0x4ca441=_0x21d31a[_0x15ae0e(0x577)]=_0x3bbf14[_0x15ae0e(0x496)]({'cfg':_0x3bbf14['extend']({'format':_0x34090b}),'encrypt':function(_0x3f9296,_0x178ca6,_0x5c791a,_0x38c832){const _0x36ce0c=_0x15ae0e;_0x38c832=this['cfg'][_0x36ce0c(0x496)](_0x38c832);var _0x1ae659=_0x3f9296['createEncryptor'](_0x5c791a,_0x38c832),_0x116576=_0x1ae659[_0x36ce0c(0x47a)](_0x178ca6),_0x445451=_0x1ae659[_0x36ce0c(0x3b1)];return _0x4ff85c['create']({'ciphertext':_0x116576,'key':_0x5c791a,'iv':_0x445451['iv'],'algorithm':_0x3f9296,'mode':_0x445451[_0x36ce0c(0x330)],'padding':_0x445451[_0x36ce0c(0x42d)],'blockSize':_0x3f9296[_0x36ce0c(0x258)],'formatter':_0x38c832['format']});},'decrypt':function(_0x3af393,_0xf49b8c,_0x1f18c,_0x34ee47){const _0x5a1dba=_0x15ae0e;_0x34ee47=this[_0x5a1dba(0x3b1)][_0x5a1dba(0x496)](_0x34ee47),_0xf49b8c=this[_0x5a1dba(0x551)](_0xf49b8c,_0x34ee47[_0x5a1dba(0x427)]);var _0x2d23b5=_0x3af393['createDecryptor'](_0x1f18c,_0x34ee47)[_0x5a1dba(0x47a)](_0xf49b8c[_0x5a1dba(0x2e4)]);return _0x2d23b5;},'_parse':function(_0x3d268c,_0x309aa9){const _0x492136=_0x15ae0e;return typeof _0x3d268c==_0x492136(0x354)?_0x309aa9['parse'](_0x3d268c,this):_0x3d268c;}}),_0x51b980=_0x1c1995['kdf']={},_0x157f25=_0x51b980[_0x15ae0e(0x415)]={'execute':function(_0x33ad88,_0x43b572,_0x30d987,_0x2ea725,_0x5d315b){const _0x1ed14e=_0x15ae0e;if(_0x2ea725||(_0x2ea725=_0x506ee6['random'](0x40/0x8)),_0x5d315b)var _0x5ae830=_0x261a5f[_0x1ed14e(0x32b)]({'keySize':_0x43b572+_0x30d987,'hasher':_0x5d315b})[_0x1ed14e(0x32a)](_0x33ad88,_0x2ea725);else var _0x5ae830=_0x261a5f[_0x1ed14e(0x32b)]({'keySize':_0x43b572+_0x30d987})[_0x1ed14e(0x32a)](_0x33ad88,_0x2ea725);var _0x420ee5=_0x506ee6[_0x1ed14e(0x32b)](_0x5ae830['words'][_0x1ed14e(0x3e9)](_0x43b572),_0x30d987*0x4);return _0x5ae830[_0x1ed14e(0x287)]=_0x43b572*0x4,_0x4ff85c[_0x1ed14e(0x32b)]({'key':_0x5ae830,'iv':_0x420ee5,'salt':_0x2ea725});}},_0x3cc43a=_0x21d31a[_0x15ae0e(0x19c)]=_0x4ca441[_0x15ae0e(0x496)]({'cfg':_0x4ca441[_0x15ae0e(0x3b1)][_0x15ae0e(0x496)]({'kdf':_0x157f25}),'encrypt':function(_0x2c0b74,_0x3095ab,_0xc99234,_0x5c2348){const _0x55786b=_0x15ae0e;_0x5c2348=this[_0x55786b(0x3b1)][_0x55786b(0x496)](_0x5c2348);var _0x40d810=_0x5c2348[_0x55786b(0x236)][_0x55786b(0x443)](_0xc99234,_0x2c0b74['keySize'],_0x2c0b74['ivSize'],_0x5c2348[_0x55786b(0x4e9)],_0x5c2348['hasher']);_0x5c2348['iv']=_0x40d810['iv'];var _0x4d807d=_0x4ca441[_0x55786b(0x50c)]['call'](this,_0x2c0b74,_0x3095ab,_0x40d810['key'],_0x5c2348);return _0x4d807d['mixIn'](_0x40d810),_0x4d807d;},'decrypt':function(_0x5d80bc,_0x5098f3,_0x19123e,_0x1a7f00){const _0x351697=_0x15ae0e;_0x1a7f00=this['cfg'][_0x351697(0x496)](_0x1a7f00),_0x5098f3=this['_parse'](_0x5098f3,_0x1a7f00[_0x351697(0x427)]);var _0xdd36b3=_0x1a7f00[_0x351697(0x236)][_0x351697(0x443)](_0x19123e,_0x5d80bc[_0x351697(0x4aa)],_0x5d80bc[_0x351697(0x2bd)],_0x5098f3['salt'],_0x1a7f00[_0x351697(0x43e)]);_0x1a7f00['iv']=_0xdd36b3['iv'];var _0x2cd37a=_0x4ca441[_0x351697(0x462)][_0x351697(0x4bf)](this,_0x5d80bc,_0x5098f3,_0xdd36b3['key'],_0x1a7f00);return _0x2cd37a;}});}();}));}(St)),St[_0x1f5c2e(0x54c)];}var _c=ut[_0x421733(0x54c)],vi;function uc(){const _0x1fac48=_0x421733;return vi||(vi=0x1,function(_0x38bcd2,_0x52d6f4){(function(_0x54d720,_0x293239,_0x45f86c){const _0x12d1b7=_0x9980;_0x38bcd2[_0x12d1b7(0x54c)]=_0x293239(_e(),ir(),rc(),rr(),nr());}(_c,function(_0x26022d){const _0x2f747e=_0x9980;return(function(){const _0x2ee69c=_0x9980;var _0x36ae15=_0x26022d,_0x4088f4=_0x36ae15[_0x2ee69c(0x4a6)],_0x54fc9e=_0x4088f4['BlockCipher'],_0x12d170=_0x36ae15['algo'],_0x474e5f=[],_0x507194=[],_0x2ba2a1=[],_0x22cd11=[],_0x23a2b1=[],_0x5911d9=[],_0x1735f0=[],_0x4dc9ed=[],_0x39a308=[],_0x3fbe7e=[];(function(){for(var _0x101570=[],_0x3ab23e=0x0;_0x3ab23e<0x100;_0x3ab23e++)_0x3ab23e<0x80?_0x101570[_0x3ab23e]=_0x3ab23e<<0x1:_0x101570[_0x3ab23e]=_0x3ab23e<<0x1^0x11b;for(var _0x3b2fab=0x0,_0x403e1c=0x0,_0x3ab23e=0x0;_0x3ab23e<0x100;_0x3ab23e++){var _0x55a1b2=_0x403e1c^_0x403e1c<<0x1^_0x403e1c<<0x2^_0x403e1c<<0x3^_0x403e1c<<0x4;_0x55a1b2=_0x55a1b2>>>0x8^_0x55a1b2&0xff^0x63,_0x474e5f[_0x3b2fab]=_0x55a1b2,_0x507194[_0x55a1b2]=_0x3b2fab;var _0x5db3f5=_0x101570[_0x3b2fab],_0xbd1ee=_0x101570[_0x5db3f5],_0x1a8c33=_0x101570[_0xbd1ee],_0x3b3dbc=_0x101570[_0x55a1b2]*0x101^_0x55a1b2*0x1010100;_0x2ba2a1[_0x3b2fab]=_0x3b3dbc<<0x18|_0x3b3dbc>>>0x8,_0x22cd11[_0x3b2fab]=_0x3b3dbc<<0x10|_0x3b3dbc>>>0x10,_0x23a2b1[_0x3b2fab]=_0x3b3dbc<<0x8|_0x3b3dbc>>>0x18,_0x5911d9[_0x3b2fab]=_0x3b3dbc;var _0x3b3dbc=_0x1a8c33*0x1010101^_0xbd1ee*0x10001^_0x5db3f5*0x101^_0x3b2fab*0x1010100;_0x1735f0[_0x55a1b2]=_0x3b3dbc<<0x18|_0x3b3dbc>>>0x8,_0x4dc9ed[_0x55a1b2]=_0x3b3dbc<<0x10|_0x3b3dbc>>>0x10,_0x39a308[_0x55a1b2]=_0x3b3dbc<<0x8|_0x3b3dbc>>>0x18,_0x3fbe7e[_0x55a1b2]=_0x3b3dbc,_0x3b2fab?(_0x3b2fab=_0x5db3f5^_0x101570[_0x101570[_0x101570[_0x1a8c33^_0x5db3f5]]],_0x403e1c^=_0x101570[_0x101570[_0x403e1c]]):_0x3b2fab=_0x403e1c=0x1;}}());var _0xa6cabd=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x36b788=_0x12d170[_0x2ee69c(0x2bc)]=_0x54fc9e[_0x2ee69c(0x496)]({'_doReset':function(){const _0x290786=_0x2ee69c;var _0x1c33e0;if(!(this[_0x290786(0x269)]&&this['_keyPriorReset']===this[_0x290786(0x1dc)])){for(var _0x4d6cfb=this['_keyPriorReset']=this[_0x290786(0x1dc)],_0x111daa=_0x4d6cfb[_0x290786(0x4dd)],_0x139d36=_0x4d6cfb[_0x290786(0x287)]/0x4,_0x1d2e86=this[_0x290786(0x269)]=_0x139d36+0x6,_0x49bdf5=(_0x1d2e86+0x1)*0x4,_0xac20d1=this['_keySchedule']=[],_0x1a400e=0x0;_0x1a400e<_0x49bdf5;_0x1a400e++)_0x1a400e<_0x139d36?_0xac20d1[_0x1a400e]=_0x111daa[_0x1a400e]:(_0x1c33e0=_0xac20d1[_0x1a400e-0x1],_0x1a400e%_0x139d36?_0x139d36>0x6&&_0x1a400e%_0x139d36==0x4&&(_0x1c33e0=_0x474e5f[_0x1c33e0>>>0x18]<<0x18|_0x474e5f[_0x1c33e0>>>0x10&0xff]<<0x10|_0x474e5f[_0x1c33e0>>>0x8&0xff]<<0x8|_0x474e5f[_0x1c33e0&0xff]):(_0x1c33e0=_0x1c33e0<<0x8|_0x1c33e0>>>0x18,_0x1c33e0=_0x474e5f[_0x1c33e0>>>0x18]<<0x18|_0x474e5f[_0x1c33e0>>>0x10&0xff]<<0x10|_0x474e5f[_0x1c33e0>>>0x8&0xff]<<0x8|_0x474e5f[_0x1c33e0&0xff],_0x1c33e0^=_0xa6cabd[_0x1a400e/_0x139d36|0x0]<<0x18),_0xac20d1[_0x1a400e]=_0xac20d1[_0x1a400e-_0x139d36]^_0x1c33e0);for(var _0x1390b9=this['_invKeySchedule']=[],_0x46dc72=0x0;_0x46dc72<_0x49bdf5;_0x46dc72++){var _0x1a400e=_0x49bdf5-_0x46dc72;if(_0x46dc72%0x4)var _0x1c33e0=_0xac20d1[_0x1a400e];else var _0x1c33e0=_0xac20d1[_0x1a400e-0x4];_0x46dc72<0x4||_0x1a400e<=0x4?_0x1390b9[_0x46dc72]=_0x1c33e0:_0x1390b9[_0x46dc72]=_0x1735f0[_0x474e5f[_0x1c33e0>>>0x18]]^_0x4dc9ed[_0x474e5f[_0x1c33e0>>>0x10&0xff]]^_0x39a308[_0x474e5f[_0x1c33e0>>>0x8&0xff]]^_0x3fbe7e[_0x474e5f[_0x1c33e0&0xff]];}}},'encryptBlock':function(_0x3a8c7a,_0x56d5ca){this['_doCryptBlock'](_0x3a8c7a,_0x56d5ca,this['_keySchedule'],_0x2ba2a1,_0x22cd11,_0x23a2b1,_0x5911d9,_0x474e5f);},'decryptBlock':function(_0x95538d,_0x4961f8){const _0x10c5c0=_0x2ee69c;var _0x59344b=_0x95538d[_0x4961f8+0x1];_0x95538d[_0x4961f8+0x1]=_0x95538d[_0x4961f8+0x3],_0x95538d[_0x4961f8+0x3]=_0x59344b,this[_0x10c5c0(0x53b)](_0x95538d,_0x4961f8,this[_0x10c5c0(0x1fd)],_0x1735f0,_0x4dc9ed,_0x39a308,_0x3fbe7e,_0x507194);var _0x59344b=_0x95538d[_0x4961f8+0x1];_0x95538d[_0x4961f8+0x1]=_0x95538d[_0x4961f8+0x3],_0x95538d[_0x4961f8+0x3]=_0x59344b;},'_doCryptBlock':function(_0x4c90f3,_0x4c1093,_0x2117d1,_0x42073e,_0x4db06c,_0x5ac8ab,_0xdac966,_0x2e4a46){for(var _0xcfde88=this['_nRounds'],_0x44fc5b=_0x4c90f3[_0x4c1093]^_0x2117d1[0x0],_0x3a13e5=_0x4c90f3[_0x4c1093+0x1]^_0x2117d1[0x1],_0x53e516=_0x4c90f3[_0x4c1093+0x2]^_0x2117d1[0x2],_0x362e56=_0x4c90f3[_0x4c1093+0x3]^_0x2117d1[0x3],_0x21eeb3=0x4,_0x19ffa1=0x1;_0x19ffa1<_0xcfde88;_0x19ffa1++){var _0x2015e0=_0x42073e[_0x44fc5b>>>0x18]^_0x4db06c[_0x3a13e5>>>0x10&0xff]^_0x5ac8ab[_0x53e516>>>0x8&0xff]^_0xdac966[_0x362e56&0xff]^_0x2117d1[_0x21eeb3++],_0x48ccc0=_0x42073e[_0x3a13e5>>>0x18]^_0x4db06c[_0x53e516>>>0x10&0xff]^_0x5ac8ab[_0x362e56>>>0x8&0xff]^_0xdac966[_0x44fc5b&0xff]^_0x2117d1[_0x21eeb3++],_0x5a90c2=_0x42073e[_0x53e516>>>0x18]^_0x4db06c[_0x362e56>>>0x10&0xff]^_0x5ac8ab[_0x44fc5b>>>0x8&0xff]^_0xdac966[_0x3a13e5&0xff]^_0x2117d1[_0x21eeb3++],_0x4b3150=_0x42073e[_0x362e56>>>0x18]^_0x4db06c[_0x44fc5b>>>0x10&0xff]^_0x5ac8ab[_0x3a13e5>>>0x8&0xff]^_0xdac966[_0x53e516&0xff]^_0x2117d1[_0x21eeb3++];_0x44fc5b=_0x2015e0,_0x3a13e5=_0x48ccc0,_0x53e516=_0x5a90c2,_0x362e56=_0x4b3150;}var _0x2015e0=(_0x2e4a46[_0x44fc5b>>>0x18]<<0x18|_0x2e4a46[_0x3a13e5>>>0x10&0xff]<<0x10|_0x2e4a46[_0x53e516>>>0x8&0xff]<<0x8|_0x2e4a46[_0x362e56&0xff])^_0x2117d1[_0x21eeb3++],_0x48ccc0=(_0x2e4a46[_0x3a13e5>>>0x18]<<0x18|_0x2e4a46[_0x53e516>>>0x10&0xff]<<0x10|_0x2e4a46[_0x362e56>>>0x8&0xff]<<0x8|_0x2e4a46[_0x44fc5b&0xff])^_0x2117d1[_0x21eeb3++],_0x5a90c2=(_0x2e4a46[_0x53e516>>>0x18]<<0x18|_0x2e4a46[_0x362e56>>>0x10&0xff]<<0x10|_0x2e4a46[_0x44fc5b>>>0x8&0xff]<<0x8|_0x2e4a46[_0x3a13e5&0xff])^_0x2117d1[_0x21eeb3++],_0x4b3150=(_0x2e4a46[_0x362e56>>>0x18]<<0x18|_0x2e4a46[_0x44fc5b>>>0x10&0xff]<<0x10|_0x2e4a46[_0x3a13e5>>>0x8&0xff]<<0x8|_0x2e4a46[_0x53e516&0xff])^_0x2117d1[_0x21eeb3++];_0x4c90f3[_0x4c1093]=_0x2015e0,_0x4c90f3[_0x4c1093+0x1]=_0x48ccc0,_0x4c90f3[_0x4c1093+0x2]=_0x5a90c2,_0x4c90f3[_0x4c1093+0x3]=_0x4b3150;},'keySize':0x100/0x20});_0x36ae15[_0x2ee69c(0x2bc)]=_0x54fc9e['_createHelper'](_0x36b788);}()),_0x26022d[_0x2f747e(0x2bc)];}));}(ut)),ut[_0x1fac48(0x54c)];}var dc=uc();const fc=at(dc);var vc=ir();const pi=at(vc);var It={'exports':{}},pc=It[_0x421733(0x54c)],mi;function mc(){return mi||(mi=0x1,function(_0x59852f,_0x10681c){(function(_0x5c83ff,_0x25a935){_0x59852f['exports']=_0x25a935(_e());}(pc,function(_0x3c04c2){const _0x3ad34f=_0x9980;return _0x3c04c2[_0x3ad34f(0x557)][_0x3ad34f(0x343)];}));}(It)),It['exports'];}var gc=mc();const Sc=at(gc);var Ct={'exports':{}},Ic=Ct[_0x421733(0x54c)],gi;function Cc(){const _0x3b2588=_0x421733;return gi||(gi=0x1,function(_0x11b0e1,_0x457b5c){(function(_0x566e08,_0x129fb4){const _0x40b4e8=_0x9980;_0x11b0e1[_0x40b4e8(0x54c)]=_0x129fb4(_e());}(Ic,function(_0x16bf48){return(function(){const _0x3632bc=_0x9980;if(typeof ArrayBuffer==_0x3632bc(0x28b)){var _0x54645f=_0x16bf48,_0x110b0f=_0x54645f[_0x3632bc(0x4a6)],_0x25e75b=_0x110b0f[_0x3632bc(0x2d9)],_0x36866d=_0x25e75b['init'],_0x9d2a7=_0x25e75b[_0x3632bc(0x371)]=function(_0x51c096){const _0x50cb12=_0x3632bc;if(_0x51c096 instanceof ArrayBuffer&&(_0x51c096=new Uint8Array(_0x51c096)),(_0x51c096 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x51c096 instanceof Uint8ClampedArray||_0x51c096 instanceof Int16Array||_0x51c096 instanceof Uint16Array||_0x51c096 instanceof Int32Array||_0x51c096 instanceof Uint32Array||_0x51c096 instanceof Float32Array||_0x51c096 instanceof Float64Array)&&(_0x51c096=new Uint8Array(_0x51c096[_0x50cb12(0x18d)],_0x51c096[_0x50cb12(0x337)],_0x51c096[_0x50cb12(0x1fc)])),_0x51c096 instanceof Uint8Array){for(var _0x862a10=_0x51c096[_0x50cb12(0x1fc)],_0x528ba3=[],_0x46b867=0x0;_0x46b867<_0x862a10;_0x46b867++)_0x528ba3[_0x46b867>>>0x2]|=_0x51c096[_0x46b867]<<0x18-_0x46b867%0x4*0x8;_0x36866d[_0x50cb12(0x4bf)](this,_0x528ba3,_0x862a10);}else _0x36866d[_0x50cb12(0x50a)](this,arguments);};_0x9d2a7[_0x3632bc(0x481)]=_0x25e75b;}}()),_0x16bf48['lib']['WordArray'];}));}(Ct)),Ct[_0x3b2588(0x54c)];}var Ec=Cc();const bc=at(Ec);var Et={'exports':{}},Tc=Et['exports'],Si;function Rc(){return Si||(Si=0x1,function(_0x57c51a,_0xc40173){(function(_0x12a763,_0x244475,_0x25167c){const _0x385327=_0x9980;_0x57c51a[_0x385327(0x54c)]=_0x244475(_e(),nr());}(Tc,function(_0x5f35a0){const _0x150a4d=_0x9980;return _0x5f35a0[_0x150a4d(0x55b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5f35a0[_0x150a4d(0x55b)][_0x150a4d(0x55d)];}));}(Et)),Et['exports'];}var Oc=Rc();const yc=at(Oc);function wc(_0x19767f,_0x5448bc){const _0x231989=_0x421733,_0x1cedb1=_0x5448bc-_0x19767f['length']%_0x5448bc,_0x105272=String[_0x231989(0x583)](_0x1cedb1)[_0x231989(0x210)](_0x1cedb1);return _0x19767f+_0x105272;}function Dc(_0x406831,_0x161779){const _0x3a2e65=_0x421733,_0x122502=bc[_0x3a2e65(0x400)](0x10),_0x54a7b6=wc(_0x406831,0x10),_0x6e79ed=fc['encrypt'](Sc[_0x3a2e65(0x2e0)](_0x54a7b6),pi[_0x3a2e65(0x2e0)](_0x161779),{'iv':_0x122502,'padding':yc});return _0x122502[_0x3a2e65(0x309)](_0x6e79ed[_0x3a2e65(0x2e4)])[_0x3a2e65(0x353)](pi);}function Pc(){const _0x384b08=_0x421733,_0x30b848=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x384b08(0x3f2)];if(_0x30b848){const _0x1cac12={'time':Math['floor'](Date[_0x384b08(0x4ab)]()/0x3e8),'domain':location[_0x384b08(0x1c4)]};return Dc(JSON['stringify'](_0x1cac12),_0x30b848);}}var Uc=Object[_0x421733(0x1c6)],Nc=Object[_0x421733(0x2e2)],Ac=(_0x32599e,_0x10b391,_0x26bf34,_0x12f68c)=>{const _0x180870=_0x421733;for(var _0x43d451=_0x12f68c>0x1?void 0x0:_0x12f68c?Nc(_0x10b391,_0x26bf34):_0x10b391,_0x134fc0=_0x32599e[_0x180870(0x4b1)]-0x1,_0x1c7b19;_0x134fc0>=0x0;_0x134fc0--)(_0x1c7b19=_0x32599e[_0x134fc0])&&(_0x43d451=(_0x12f68c?_0x1c7b19(_0x10b391,_0x26bf34,_0x43d451):_0x1c7b19(_0x43d451))||_0x43d451);return _0x12f68c&&_0x43d451&&Uc(_0x10b391,_0x26bf34,_0x43d451),_0x43d451;},Mc=(_0xab88f0,_0x50a72b)=>(_0xbed247,_0x90ca76)=>_0x50a72b(_0xbed247,_0x90ca76,_0xab88f0);let Lt=class{constructor(_0x412259){const _0x397837=_0x421733;this[_0x397837(0x379)]=_0x412259,this['_initRequestHeader']();}[_0x421733(0x49d)](){const _0x50bb1e=_0x421733;this[_0x50bb1e(0x379)][_0x50bb1e(0x1d8)]({'interceptor':(_0xd1bc39,_0x46fa4d)=>{const _0x15c54b=_0x50bb1e,_0x24f1a1=_0xd1bc39[_0x15c54b(0x16f)],_0x4d85c3=Pc();return _0x4d85c3&&_0x24f1a1[_0x15c54b(0x228)](_0x15c54b(0x41f),_0x4d85c3),_0x46fa4d(_0xd1bc39);}});}};function _0x5bba(){const _0x3e8dc0=['univer-online','_toggleOnline','transformSelections','unit-cache-','_transformSelections','_tryReconnect','leaveEvent','_getLoginPath','apply','roles','encrypt','url(#off-line-single_clip0_910_343)','CHANGESET_SHOULD_RETRY','RemoveRowCommandId','_transformRemoteChangesetByStateCache','5TQPAcj','_doFinalize','defIds','collabStatus.notCollab','SNAPSHOT_URL_KEY','onCommentUpdate','getSheetBlock','objects','roomMembers','PERSON','/block/','[PendingState]:\x20received\x20acknowledgement.','_updateLocalCursor','_colorAssignService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','changesets','image/jpg','iterations','_collaborationTimeoutTimer','removeParam','getItem','state$','_handleLeaveEvent','withCredentials','Malformed\x20UTF-8\x20data','_handleHover','ref','reconnect','_shouldReportTelemetry','hide','_docSkeleton','_onJoinRoomEvent','SEND_CHANGESET_TIMEOUT','getDeserializedSheetBlock','not_collab','_createInitialStateImpl','getMergeData','conflict.content','next','UNIVER_COLLABORATION_CLIENT_PLUGIN','_id','assign','_doCryptBlock','People','_iKey','_transformUndoredo','_sendHeartbeat','_name','OFFLINE','_socketMessageSubscription','error$','src','off-line-single_clip0_910_343','searchParams','enableSingleActiveInstanceLock','cursorInfo$','collab-text-anchor-','_ENC_XFORM_MODE','Latin1','exports','_startTelemetryCollaborationNewChangeset','0\x200\x2016\x2016','className','CHANGESET_REJ','_parse','pipe','_transformPreviousActiveRange','code','round','image/jpeg','enc','mixIn','getOwnPropertySymbols','getMemberID','pad','registerRenderModule','NoPadding','HEARTBEAT','revision','_checkMissing','_beforeCloseService','ranges','collaboration.single-unit.warning','getUniverSheetInstance','currentTheme$','downloadEndpointUrl','csShouldRetryEvent','_onCombEvent','awaitingChangeset','OffLineSingle','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','INTERNAL_ERROR','collab-client.tooltip.reconnect','VIEW_MAIN','with','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_transformStateCache','beginPath','_onOffline','subunit','trim','transformChangesets','SerializableCipher','[SyncedState]:\x20received\x20acknowledgement.','_transformService','_initMergeInterceptor','patch','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','docStateChange$','message$','getRandomValues','isPermissionRej','colorChannel1','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','fromCharCode','_onRemoteACK','_transformRemoteChangesetByIMECache','UPDATE_PERMISSION_OBJ','[CollaborationState]:\x20apply\x20error!','collab-rect-range-','_submitChangeset','_append','collabCursorState$','makeDirty','commentUpdate$','LIVESHARE_TERMINATE','_removeRoom','getActiveRange','sessionTicket','[CollaborationEntity]','_executeRemoteChangeset','listRoles','gold400','univer-pro.collaboration-client-socket-service','subject','ONLINE','_disableEditing','c1Prime','onRendered','headers','INGEST','[OfflineState]:\x20received\x20rejection.','syncEditingCollabCursor','_createHmacHelper','encodeURIComponent','SUCCUSS','_getCtorByUniverType','_context','black','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPLETION_FINISHED','visibilitychange','awaiting','_hash','getCollabCursors$','toggleOnline','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','sheetId','enableAuthServer','saveOfflineData','_showConflictNotification','_sender','clear','retryConnectingInterval','_cipher','conflict.title','lineTo','_clearUndo','collabSubmitChangesetUrl','buffer','telemetry\x20info\x20is\x20not\x20initialized','origin','setUndoRedoMutationParamsCache','joinEvent','encode','_labelPosition','unitId','use','_colorIndex','fromCollab','collaboration-client.offline-data-not-saved','for','drawWith','_getSaveTimeout','PasswordBasedCipher','stopTime','on-line-single_clip0_910_349','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getImageSourceCache','_refRangeService','getVpScrollXYInfoByPosToVp','jsxs','SUBMIT_CHANGESET','roomInfos','/rev/','_document','updateOfflineData','_lastPointer','AWAITING_WITH_PENDING','_applyRemoteChangeset','joinRsp','_queuedRemoteChangesets','cursorInfo','storage','then','crypto','reduce','_getSendChangesetTimeout','_collabSessionService','OTHER_CLIENTS_EDITING','_clearLocalCache','defs','shouldCloseConn','onRemoteChangeset','randomUUID','_drawTextRange','displayName','_heartbeatTimer','selections','10565863THaUIe','commentUpdateEvent','image/bmp','pluginName','onRemoteAck','hostname','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','defineProperty','override','getSheetId','m1Prime','onMissingChangesets','collaboration-client.config','append','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','Undefined','UNIVER_SLIDE','_onRecvEvent','#fff','createCollaborator','_getCurrentRevision','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','join','liveShareNewHost','close','registerHTTPInterceptor','fetchMissingChangesets','_getAPIPrefix','onlyLocal','_key','[DataLoaderController]','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','status','_resendWithTimeout','values','_collabCursorState$','getInterceptPoints','297KqgKKh','_getMergeRange','objectActions','_clearRedo','362646MErCju','originalMeta','collabWebSocketUrl','_sheetSkeletonManagerService','sid','requireSession','selection','list','number','key','_hasher','ENSURE_SNAPSHOT_EXECUTION','submit\x20changeset\x20error!','transformUndoRedo','/universer-api/file/{fileID}/sign-url','exhaustSavingTask','session.room-full','unload','_session','UPDATE_CURSOR','byteLength','_invKeySchedule','unit','clearTimeout','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_MAX_UNITS_EXCEEDED','processBlock','map','csAckEvent','objectID','isEditing','_themeService','_getSnapshotAPIPrefix','authzUrl','_range','/object/','c2Prime','image/gif','transformByState','Could\x20not\x20dynamically\x20require\x20\x22','repeat','send','_startDocCollabCursor','SYNCED','appendMutation','PERMISSION_REJ','includes','_onMessage','status$','UNIVER_SHEET','_online','Hasher','updateMember','_saveTaskMap','_exhaustRemoteChangesetQueue','history','entries','range','session.collaboration-timeout','_scheduleCollaborationTimeoutTimer','getSheetBySheetId','online','saveSheetBlock','_tryEnsureSocket','set','socket$','SHOULD_CLOSE_CONN','_imageSourceCache','flatMap','getLatestCsReqIdBySid','_draw','evenodd','_iv','_cachedData','NOT_COLLAB','split','subUnitId','charCodeAt','kdf','memberID','USERS_ENTER','_syncEditingCollabCursor','[CollaborationSessionService]:\x20socket\x20error','_syncEditingCollabCursorService','_removeClearOtherTimer','body','BASE64','IDLE','_resendTimer','setItem','1920JWNUud','onTransformIME','assignAColorForMemberID','_unitID','fetching\x20missing\x20changesets\x20from\x20','has','height','JOIN','userID','engine','row','react.element','onStarting','22798320xyHdwi','_revisionService','getTypeOfUnitDisposed$','loginUrlKey','substring','_configService','_acknowledgedAwaitingChangeset','max','addObject','blockSize','result','_clearTimeoutTimer','/universer-api/authz','_resendTimeout','_initEventListeners','getUnitOnRev','setAlpha','_unitStatus','_memberService','_permissionService','data','_prevBlock','_onLocalMutation','[CollaborationSessionService]','reset','_timeoutTimer','_nRounds','/object','_localStorageService','/allowed','deepClone','unpad','_retryConnectingTimer','BufferedBlockAlgorithm','_cursor','fillText','save','capture','transformRemoteChangeset','actions','_retryCount','toLowerCase','Decryptor','_startCollaboration','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','add','_onConnectionOpen','_cursorShapes','_handler','_socket','_createSocketURL','none','_decreaseWaiting','object','catch','_initCommandExecutedListener','sigBytes','YUUMI_URL_COL_OUT_OF_RANGE','univer-online-status-title','_replaceFileID','function','univerjs-icon\x20univerjs-icon-','session.connection-failed','setActiveRange','LIVESHARE_REQUEST_HOST','getCurrentUser','_disabled','text','_hovered','synced','_candidateSocket','saveChangeset','/universer-api/oidc/authpage','onTransformRemoteChangesetByStateCache','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','red300','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_docTransformIMECacheService','_uiPartsService','defaultProps','EvpKDF','unknown','readAsDataURL','xlink:href','fetchThroughInterceptors','ReactCurrentOwner','_state$','replaceState','connection\x20error','_anchor','textRanges','_refreshCollabCursors','_collabCursorController','push','_updateLocalCache','_substituteRedoStack','_joinRoom','_transformHistoryAndStateStack','_replayCachedMutations','baseRev','responseType','/collaborator','doc.mutation.rich-text-editing','permission.content','stringify','getCurrent','__creator','_docSyncEditingCollabCursorService','_scheduleHeartbeat','AES','ivSize','onRemoteRetry','_initResize','_socketReady','addEventListener','ERROR_IMAGE','_members','startRow','Encryptor','/fetchmissing?from=','_saveCache','_oKey','state','_initDependencies','_createSocket','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_roomMembers','_initCloseConn','algo','_scheduleClearOtherTimer','href','forEach','40ZEtXvn','22115mPRGfD','_onRemoteChangeset','_assignedColors','conflict','delete','WordArray','startsWith','PERMISSION_DENIED','_sendHeartbeatTimer','event$','visibilityState','_sheetTransformSelectionsService','parse','_startSheetCollabCursor','getOwnPropertyDescriptor','arc','ciphertext','endRow','font','div','_schedule','getParam','focused$','_handleHeartbeatEvent','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','DeleteRangeMoveUpCommandId','_getDownloadEndpointURL','createDecryptor','createSocket','fetchMiss','_stopTelemetryCollaborationNewChangeset','updateCursorEvent','_setupSubUnitSync','_getScale','closeSession','INVALID_ARGUMENT','_remoteChangesetQueue','collaboration.closeRoom','closePath','getTime','_collaborationSessionService','_getSignURL','setCurrentUser','collabStatus.fetchMiss','getUnitType','_drawRectRange','_xformMode','RECV','fillRule','incrementRevOfUnit','localeService','filter','_clearOtherTimers','concat','hidden','_injector','Hex','getFocusedUnit','_commentService','urlChange$','url(#on-line-single_clip0_910_349)','_event$','column','_onUserJoin','asObservable','Cipher','_color','_nDataBytes','compose','\x20in\x20_schedule.','replace','HmacSHA1','_shapes','CONFLICT','_transformIMECache','FETCH_MISS','Unknown\x20user','_socketService','_getUploadFileURL','UNIVER_PROJECT','_handleJoinEvent','_scheduleTimestamp','_createInitialState','roomMembers$','_transitionLocked','Fragment','compute','create','_send','reqId','UNRECOGNIZED','collaboratorID','mode','MoveRangeCommandId','indexOf','disableLocalCache','readInt32LE','json','_telemetryInfo','byteOffset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ceil','_type','toRgbString','_getSessionTicket','url(#$1','react.fragment','_changesetSessionId','COMMENT_UPDATE','createInstance','symbol','Utf8','[CollaborationSession]','members','Error','_ensureSubject','ERROR_EXCEED_SIZE','onlineStatusIcon','requestParams','resolve','InsertColCommandId','show','/universer-api/comb','SNAPSHOT_SERVER_URL_KEY','[PendingState]:\x20received\x20rejection.','image/png','restore','toString','string','LEAVE','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','objectType','transformMutation','session','LICENSE_DISTRO_REJECTED','NEW_CHANGESETS','onTransformSelections','YUUMI_RATE_OVER_LIMIT','avatar','$super','randomBytes','jiqing500','_onCursorUpdate','_onConflict','close$','setShowComponents','HttpImport','_initUnitPermissionChange','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','POST','_sendingTimer','_collaborationPaused','default','open$','_getRedoStack','unsubscribe','_renderManagerService','init','_onConnectionFailed','NOT_FOUND','339922kPbKDD','jsx','imageSourceType','_redoStacks','width','_httpService','name','executeCommand','get','_singleActiveUnitService','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_NON_SEQUENTIAL_REVISION','CHANGESET_ACK','fillStyle','onPointerEnter$','refreshPermission','clone','registerComponent','sessionStatus$','__esModule','liveShareOperation','_onRemoteRetry','save\x20fail\x20reason\x20is\x20','&assign=','newValue','/role','HEARTBEAT_TIMEOUT','change$','51872pzZIGm','transform','_awaitingChangeset','_onUserLeave','loadDoc','attrs','_clearHeartbeatTimer','getResourcesRequest','Univer','ticket','_commandService','_clearScheduledTask','routeKey','_onFetchMissResult','getConfig','getUndoRedoMutationParamsCache','bind','unshift','_initStatusComponent','/-/object/-/batch_allowed','setConfig','_state','MD5','from','getRoom','createEncryptor','awaiting_with_pending','collabStatus.synced','startColumn','collaboration-session-retry','collaMsg','toggleOffline','_docStateChangeManagerService','cfg','onSyncEditingCollabCursor','_messageService','_logService','_transformUndoRedoStack','some','_createHelper','generateRandomId','transformStateCache','params','onMissedChangesetFetched','_updateState','onMouseMove','COMPRESS_MUTATION_APPLY','UnitSnapshot','getCurrentRevOfUnit','_sessions','_snapshotService','_toggleOffline','transformIMECache','find','_ws','measureText','_waitCount','setTimeout','_entityInit$','_DEC_XFORM_MODE','_roomMembers$','UNAUTHENTICATED','COMPRESS_MUTATION_SEND','_lockTransition','/new_changes','_anchorDot','bottom','undoState','_cursors','_onCursorDelete','[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.','_urlService','BlockCipherMode','updateCollaborator','getMember','currentColor','onTransformChange$','_waitForHeartbeatResponse','setStateCache','_sessionStatus$','loadSheet','/resources','min','_transformStack','CBC','_telemetryService','_registerDependencies','LIVESHARE_FETCH_OPERATIONS','splice','slice','Base','listCollaborators','_doReset','color','_onRefRangeChange','onStateChange','UNIVER_UNKNOWN','_scheduleSaving','__Key__','FromArray','onTransformState','getValue','getCurrentUnitForType','_render','workbook','\x20-\x20','_notificationService','816qyTJxQ','_createHandler','_getAPIPrefixPath','updatePermissionPoint','error','random','deleteCollaborator','size','getViewport','fetch_missing','getCurrentSelections','_throwTelemetryCollaborationNewChangeset','UUID','encryptBlock','getCollabEntity','sessionStatus','hasOwnProperty','APPLY_REJECT','dispose','disposeWithMe','getActiveSheet','update','UnitEmbedded','loadOfflineData','post','_imageIoService','OpenSSL','_drawAnchor','univer-online-status-icon','skeleton','formatter','_localeService','session.will-retry','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','\x0aAfter:\x20','eventID','x-univer-host','title','file','HELLO','cmd','_docSkeletonManagerService','APPLY_DUPLICATED','backgroundColor','format','LIVESHARE_NEW_HOST','[SyncedState]:\x20received\x20rejection.','UNIVER_DOC','interceptor','_rescheduleHeartbeat','padding','_process','_textBubble','LICENSE_EXPORT_SIZE_EXCEEDED','_unlockTransition','YUUMI_UNABLE_LOAD_URL','MSG_FOR_ERROR','_localCacheService','DeleteRangeMoveLeftCommandId','PENDING','_hideTimer','getTypeOfUnitAdded$','getAncestorScale','_eventUnsubscribe','_mode','isArray','floor','hasher','_handleEvent','_updateCollabCursors','substr','registerRefRange','execute','infoRsp','removeMember','MUTATION','COLLAB_SUBMIT_CHANGESET_URL','msCrypto','subscribeEvent','AUTHZ_URL_KEY','clipPath','setShapeProps','_loadDoc','_removeCollabCursors','_changesetReqId','_clearCollaborationTimeoutTimer','USERS_LEAVE','rng','FAIL','_incrementRevisionNumber','signUrlServerUrl','getRangePointData','_config','_compressMutationService','_selfUnitIDs','Error\x20on\x20receiving\x20event','getRenderById','FETCH_MISSING','FileId','updatePermissionObjEvent','transformMutationsWithChangeset','sendChangesetTimeout','registerBeforeClose','decrypt','_updateStatus','triggerDblclick','_entities','[CollaborationUndoRedoService]','getCollabEntity$','HEARTBEAT_INTERVAL','_HTTPService','_onRemoteRejected','SNAPSHOT_HAS_BEEN_REMOVED','onRemoteRej','_snapshotServerService','_isPermissionRej','getDocRanges','onCommandExecuted','registerOnClose','setParam','CHANGESET_REVISION_CONFILICT','redoState','HMAC','HttpExport','_instanceService','onPointerLeave$','top','finalize','onlineStatus','/-/object/list','_data','clamp','getUnitId','TEXT','prototype','/universer-api/stream/file/upload','_init','_undoRedoService','saveImage','UNKNOWN_CODE','JOINING','_initStatusListener','_map','_http','_getUndoStack','pushState','_getSheetObject','socketService','resend','getSkeleton','_docClipboardService','[UniverCollaborationClientPlugin]','_docTransformStateCacheService','equals','path','extend','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','77652JJAkTA','fill','_univerInstanceService','hovered','Base64','_initRequestHeader','_backgroundColor','failed\x20to\x20apply\x20missed\x20changesets!','svg','_change$','idSuffix','BlockCipher','batchAllowed','LOCAL_CACHE_INTERVAL','lib','current','/unit/','pending','keySize','now','snapshotServerUrl','_getAnchorBounding','Warning','onSendChangeset','CONNECTOR_DATA_TOO_LARGE','length','put','every','getOffsetConfig','getRelativeToViewportCoord','JOIN_ROOM_NOT_ALLOWED','_scene','location','LOGIN_URL_KEY','LIVESHARE_OPERATION','TOO_MANY_REQUESTS','decryptBlock','_updateSubUnitFromURLParams','children','call','_minBufferSize','getUnitStatus$','type','UNDEFINED','replaceDocRanges','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','APPLY_PERMISSION_DENIED','icon','setWaitCount','tag','ws://127.0.0.1:8000/universer-api/comb/connect','RemoveColCommandId','debug','currentSkeleton$','onlineStatusTitle','/universer-api/snapshot/','_cursorInfo$','_pendingMutations','AWAITING','complete','M0\x200H16V16H0z','findNodePositionByCharIndex','resize','InsertRowCommandId','_commentUpdate$','_collaborationController','RECT','InsertRangeMoveDownCommandId','csRejEvent','words','confirm','_status$','_userManagerService','getStateCache','APPLY_REVISION_CONFILICT','collabStatus.syncing','reject','labelPosition','_socket$','m2Prime','reverse','salt','JOIN_ROOM_FULL','dispose$','off-line-single','_reverseMap','newCsEvent','1em','univer-offline','&to=','_updateURLWithCurrentState','uploadFileServerUrl','on-line-single','_unitOnClients','_hover','univer-pro.collaboration-client.single-active-unit-service','unitID','snapshot','ACTIVE_UNIT_EVENT_CHANNEL','offline','subscribe','source','permission.title','abs','enableOfflineEditing','mutations'];_0x5bba=function(){return _0x3e8dc0;};return _0x5bba();}Lt=Ac([Mc(0x0,_0x231990(_0xee3f76))],Lt);var xc=Object[_0x421733(0x1c6)],Lc=Object['getOwnPropertyDescriptor'],$c=(_0x153bcc,_0x29e33b,_0xfafd57,_0x1d13a9)=>{const _0x2ff84b=_0x421733;for(var _0xfc3ea4=_0x1d13a9>0x1?void 0x0:_0x1d13a9?Lc(_0x29e33b,_0xfafd57):_0x29e33b,_0x3e5cb0=_0x153bcc[_0x2ff84b(0x4b1)]-0x1,_0xcd6553;_0x3e5cb0>=0x0;_0x3e5cb0--)(_0xcd6553=_0x153bcc[_0x3e5cb0])&&(_0xfc3ea4=(_0x1d13a9?_0xcd6553(_0x29e33b,_0xfafd57,_0xfc3ea4):_0xcd6553(_0xfc3ea4))||_0xfc3ea4);return _0x1d13a9&&_0xfc3ea4&&xc(_0x29e33b,_0xfafd57,_0xfc3ea4),_0xfc3ea4;},is=(_0x4db8cb,_0x12d32f)=>(_0x44f10f,_0x424361)=>_0x12d32f(_0x44f10f,_0x424361,_0x4db8cb);const Hc=[_0x421733(0x351),_0x421733(0x556),_0x421733(0x521),_0x421733(0x20d),_0x421733(0x1c1)],jc=0x5*0x400*0x400,Bc=_0x421733(0x356),kc=_0x421733(0x482),Wc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Fc=_0x421733(0x1f6);let ps=class{constructor(_0x56b0ea,_0x48f7e5,_0x4bc2c6){const _0x5a4863=_0x421733;g(this,_0x5a4863(0x3c8),0x0),g(this,'_change$',new _0x28e091()),g(this,_0x5a4863(0x38f),this[_0x5a4863(0x4a1)]),g(this,'_imageSourceCache',new Map()),(this[_0x5a4863(0x379)]=_0x56b0ea,this[_0x5a4863(0x254)]=_0x48f7e5,this[_0x5a4863(0x49a)]=_0x4bc2c6);}[_0x421733(0x4c8)](_0x22cf4e){const _0x5e6bf6=_0x421733;this[_0x5e6bf6(0x3c8)]=_0x22cf4e,this['_change$'][_0x5e6bf6(0x537)](_0x22cf4e);}[_0x421733(0x1a0)](_0x567b2e,_0x4b056d){const _0x26e24d=_0x421733;if(_0x4b056d===_0x2b3ee0[_0x26e24d(0x23e)]){const _0x2679d1=new Image();return _0x2679d1[_0x26e24d(0x544)]=_0x567b2e,_0x2679d1;}return this[_0x26e24d(0x22b)][_0x26e24d(0x37c)](_0x567b2e);}['addImageSourceCache'](_0x1e0cd1,_0x257bcf,_0x4aad88){const _0x471bfd=_0x421733;_0x257bcf===_0x2b3ee0[_0x471bfd(0x23e)]||_0x4aad88==null||this[_0x471bfd(0x22b)][_0x471bfd(0x228)](_0x1e0cd1,_0x4aad88);}async['getImage'](_0x2ffbfa){const _0x4d10d6=_0x421733;try{const _0x892b9a=this[_0x4d10d6(0x28a)](this[_0x4d10d6(0x2fd)](),''+_0x2ffbfa),_0x3ebc2a=(await this[_0x4d10d6(0x379)]['get'](_0x892b9a))[_0x4d10d6(0x23d)];if(_0x3ebc2a[_0x4d10d6(0x3ff)]&&_0x3ebc2a[_0x4d10d6(0x3ff)][_0x4d10d6(0x554)]===Wi['OK']){const _0x1e5d26=new URL(_0x3ebc2a['url'],this[_0x4d10d6(0x2ee)]())[_0x4d10d6(0x353)]();return Promise[_0x4d10d6(0x34b)](_0x1e5d26);}return Promise['reject'](_0x3ebc2a[_0x4d10d6(0x3ff)]);}catch(_0x37b9b9){return Promise[_0x4d10d6(0x4e4)](_0x37b9b9);}}async[_0x421733(0x485)](_0x2283e7){const _0x1d872f=_0x421733;let _0x320bcb='';if(!Hc[_0x1d872f(0x216)](_0x2283e7['type']))return this[_0x1d872f(0x283)](),Promise['reject'](new Error(_0x25d6ba['ERROR_IMAGE_TYPE']));if(_0x2283e7['size']>jc)return this[_0x1d872f(0x283)](),Promise['reject'](new Error(_0x25d6ba[_0x1d872f(0x348)]));try{const _0x26aa22=new FormData();_0x26aa22[_0x1d872f(0x1cc)](_0x1d872f(0x421),_0x2283e7);const _0x405f71=this['_univerInstanceService'][_0x1d872f(0x30d)](),_0x27cc69=_0x405f71==null?void 0x0:_0x405f71[_0x1d872f(0x47f)]();if(!_0x27cc69)throw new Error('unitId\x20is\x20not\x20found');const _0x5f40ff=this[_0x1d872f(0x322)]()+'?size='+_0x2283e7[_0x1d872f(0x402)][_0x1d872f(0x353)]()+'&source='+Fi[_0x1d872f(0x411)]+_0x1d872f(0x38b)+encodeURIComponent(_0x27cc69),_0x2b2e36=await(await fetch(_0x5f40ff,{'method':_0x1d872f(0x369),'body':_0x26aa22}))[_0x1d872f(0x335)]();if(typeof _0x2b2e36['FileId']!=_0x1d872f(0x354))return this[_0x1d872f(0x283)](),Promise['reject'](new Error(_0x25d6ba['ERROR_IMAGE']));_0x320bcb=_0x2b2e36[_0x1d872f(0x45d)];}catch{return this[_0x1d872f(0x283)](),Promise[_0x1d872f(0x4e4)](new Error(_0x25d6ba[_0x1d872f(0x2c2)]));}return new Promise((_0x4da632,_0x8ea030)=>{const _0x5296eb=_0x1d872f,_0x1deb5a=new FileReader();_0x1deb5a[_0x5296eb(0x2a1)](_0x2283e7),_0x1deb5a['onload']=_0xdeddef=>{const _0x553399=_0x5296eb;var _0x317621;const _0x47a71b=(_0x317621=_0xdeddef['target'])==null?void 0x0:_0x317621[_0x553399(0x259)];if(_0x47a71b==null){this[_0x553399(0x283)](),_0x8ea030(new Error(_0x25d6ba[_0x553399(0x2c2)]));return;}const _0xb15ced=_0x4705c7[_0x553399(0x3b8)](0x6);_0x4da632({'imageId':_0xb15ced,'imageSourceType':_0x2b3ee0[_0x553399(0x407)],'source':_0x320bcb,'base64Cache':_0x47a71b,'status':_0x25d6ba[_0x553399(0x175)]}),this[_0x553399(0x283)]();};});}[_0x421733(0x322)](){const _0x9cff52=_0x421733;var _0x3bd9a5,_0x95ddf5;const _0x4356a5=this[_0x9cff52(0x254)]['getConfig'](Bc),_0x1d7090=this[_0x9cff52(0x254)][_0x9cff52(0x39e)](Q);return(_0x95ddf5=(_0x3bd9a5=_0x1d7090==null?void 0x0:_0x1d7090[_0x9cff52(0x4f3)])!=null?_0x3bd9a5:_0x4356a5)!=null?_0x95ddf5:kc;}[_0x421733(0x2fd)](){const _0x1f58f8=_0x421733;var _0x4e5df0,_0x1874a1;const _0x4a634e=this['_configService']['getConfig'](Wc),_0x2f5e1c=this[_0x1f58f8(0x254)][_0x1f58f8(0x39e)](Q);return(_0x1874a1=(_0x4e5df0=_0x2f5e1c==null?void 0x0:_0x2f5e1c[_0x1f58f8(0x455)])!=null?_0x4e5df0:_0x4a634e)!=null?_0x1874a1:Fc;}['_getDownloadEndpointURL'](){const _0x2cf97f=_0x421733;var _0xf3ac50;const _0x9dc75a=this[_0x2cf97f(0x254)][_0x2cf97f(0x39e)](Q);return(_0xf3ac50=_0x9dc75a==null?void 0x0:_0x9dc75a[_0x2cf97f(0x566)])!=null?_0xf3ac50:location[_0x2cf97f(0x18f)];}[_0x421733(0x28a)](_0x366ab1,_0x7757e7){const _0x489a81=_0x421733;return _0x366ab1[_0x489a81(0x31a)]('{fileID}',_0x7757e7);}[_0x421733(0x283)](){const _0x3ebd57=_0x421733;this[_0x3ebd57(0x3c8)]-=0x1,this[_0x3ebd57(0x4a1)][_0x3ebd57(0x537)](this['_waitCount']);}};ps=$c([is(0x0,_0x231990(_0xee3f76)),is(0x1,_0x2cfa70),is(0x2,_0x231990(_0x186a82))],ps);var Vc=Object[_0x421733(0x1c6)],Gc=Object[_0x421733(0x2e2)],Yc=(_0x407fd2,_0x39e3e9,_0x1bcc18,_0x3192d9)=>{for(var _0x1ace01=_0x3192d9>0x1?void 0x0:_0x3192d9?Gc(_0x39e3e9,_0x1bcc18):_0x39e3e9,_0x2084c1=_0x407fd2['length']-0x1,_0x5c3e7a;_0x2084c1>=0x0;_0x2084c1--)(_0x5c3e7a=_0x407fd2[_0x2084c1])&&(_0x1ace01=(_0x3192d9?_0x5c3e7a(_0x39e3e9,_0x1bcc18,_0x1ace01):_0x5c3e7a(_0x1ace01))||_0x1ace01);return _0x3192d9&&_0x1ace01&&Vc(_0x39e3e9,_0x1bcc18,_0x1ace01),_0x1ace01;},Ii=(_0x58e3af,_0x424e3b)=>(_0x36cd50,_0x1d39cb)=>_0x424e3b(_0x36cd50,_0x1d39cb,_0x58e3af);const Kc=_0x421733(0x25b);let ms=class{constructor(_0x17bd5b,_0x473452){const _0x36f68e=_0x421733;this[_0x36f68e(0x254)]=_0x17bd5b,this[_0x36f68e(0x469)]=_0x473452;}['_getAPIPrefixPath'](){const _0x9640a0=_0x421733;var _0x1bf708,_0x573b74;const _0x332ed4=this[_0x9640a0(0x254)][_0x9640a0(0x39e)](sr),_0x154136=this['_configService']['getConfig'](Q);return(_0x573b74=(_0x1bf708=_0x154136==null?void 0x0:_0x154136['authzUrl'])!=null?_0x1bf708:_0x332ed4)!=null?_0x573b74:Kc;}async[_0x421733(0x1ef)](_0x264ee7){const _0x548226=_0x421733,_0x49ecb8=this[_0x548226(0x3fd)]()+_0x548226(0x2b4);return{'list':[{'title':_0x548226(0x53c),'mentions':(await this['_HTTPService'][_0x548226(0x37c)](_0x49ecb8,{'params':{'objectID':_0x264ee7[_0x548226(0x194)],'unitID':_0x264ee7['unitId']}}))[_0x548226(0x23d)]['collaborators'][_0x548226(0x203)](_0x54972b=>({'objectId':_0x54972b['id'],'name':_0x54972b[_0x548226(0x597)][_0x548226(0x37a)],'metadata':{'icon':_0x54972b[_0x548226(0x597)][_0x548226(0x35e)]},'label':_0x54972b[_0x548226(0x597)]['name'],'objectType':_0x1c7d10['PERSON']})),'metadata':{},'type':_0x1c7d10[_0x548226(0x51a)]}]};}};ms=Yc([Ii(0x0,_0x231990(_0x2cfa70)),Ii(0x1,_0x231990(_0xee3f76))],ms);var qc=Object['defineProperty'],zc=Object['getOwnPropertyDescriptor'],Xc=(_0x22df05,_0x1de6a3,_0x3200b3,_0x29c8aa)=>{const _0x170725=_0x421733;for(var _0x377811=_0x29c8aa>0x1?void 0x0:_0x29c8aa?zc(_0x1de6a3,_0x3200b3):_0x1de6a3,_0x522308=_0x22df05[_0x170725(0x4b1)]-0x1,_0xc1e44;_0x522308>=0x0;_0x522308--)(_0xc1e44=_0x22df05[_0x522308])&&(_0x377811=(_0x29c8aa?_0xc1e44(_0x1de6a3,_0x3200b3,_0x377811):_0xc1e44(_0x377811))||_0x377811);return _0x29c8aa&&_0x377811&&qc(_0x1de6a3,_0x3200b3,_0x377811),_0x377811;},Qe=(_0x16d2f0,_0x54f8b7)=>(_0x194a23,_0x585877)=>_0x54f8b7(_0x194a23,_0x585877,_0x16d2f0);let $t=class extends _0x33a3aa{constructor(_0x523ab8,_0x1a21e7,_0x569222,_0x352a33,_0x1ac6d4){const _0x17b827=_0x421733;super(),this[_0x17b827(0x30b)]=_0x523ab8,this[_0x17b827(0x49a)]=_0x1a21e7,this[_0x17b827(0x262)]=_0x569222,this[_0x17b827(0x2fc)]=_0x352a33,this[_0x17b827(0x41a)]=_0x1ac6d4,this[_0x17b827(0x367)](),this[_0x17b827(0x2ce)]();}[_0x421733(0x2ce)](){const _0x23735f=_0x421733,_0x51221f=async _0x58c14e=>{const _0x9b2c7c=_0x9980;(await this[_0x9b2c7c(0x2fc)][_0x9b2c7c(0x1ed)](_0x58c14e))[_0x9b2c7c(0x2dd)][_0x9b2c7c(0x552)](_0x1de59c(_0x3de97f=>_0x3de97f[_0x9b2c7c(0x41e)]===_0xdb349a[_0x9b2c7c(0x22a)]),_0x5844ee(this['dispose$']))[_0x9b2c7c(0x4fc)](_0x49fa30=>{const _0x4e3aa0=_0x9b2c7c,_0x7be9b9=_0x49fa30,{reason:_0x262254}=_0x7be9b9[_0x4e3aa0(0x263)];this[_0x4e3aa0(0x30b)][_0x4e3aa0(0x37c)](_0x2cbd8b)[_0x4e3aa0(0x34d)]({'type':_0x1a283f[_0x4e3aa0(0x346)],'content':this[_0x4e3aa0(0x41a)]['t'](_0x4e3aa0(0x2f9))+'('+_0x262254+')'}),this[_0x4e3aa0(0x262)][_0x4e3aa0(0x3fe)](new _0x31b58a(_0x58c14e)['id'],!0x1),this[_0x4e3aa0(0x2fc)][_0x4e3aa0(0x2f6)](_0x58c14e);});};_0x3f6cf6(this[_0x23735f(0x49a)][_0x23735f(0x438)](_0x24d9a0['UNIVER_SHEET']),this[_0x23735f(0x49a)][_0x23735f(0x438)](_0x24d9a0[_0x23735f(0x42a)]))[_0x23735f(0x552)](_0x1a5739(_0x25c1b5=>_0x25c1b5[_0x23735f(0x47f)]()),_0x1de59c(_0x2f31ff=>!_0x3014e6(_0x2f31ff)),_0x5844ee(this[_0x23735f(0x4eb)]))[_0x23735f(0x4fc)](_0x1ace13=>{_0x51221f(_0x1ace13);});}[_0x421733(0x367)](){const _0x370fbf=_0x421733,_0x31880c=async _0x58548e=>{const _0x525c5d=_0x9980;(await this['_collaborationSessionService']['requireSession'](_0x58548e))[_0x525c5d(0x2dd)]['pipe'](_0x1de59c(_0x3d7a95=>_0x3d7a95['eventID']===_0xdb349a[_0x525c5d(0x586)]),_0x5844ee(this[_0x525c5d(0x4eb)]))[_0x525c5d(0x4fc)](_0x50e302=>{const _0x523f8c=_0x525c5d,_0x204fe8=_0x50e302,{objectId:_0x21a8f3}=_0x204fe8[_0x523f8c(0x263)],_0x65935b=this[_0x523f8c(0x30b)][_0x523f8c(0x37c)](_0x4e29e3);_0x21a8f3===_0x58548e?_0x65935b['initWorkbookPermissionChange'](_0x58548e):_0x65935b[_0x523f8c(0x383)](_0x58548e,_0x21a8f3);});};_0x3f6cf6(this[_0x370fbf(0x49a)]['getTypeOfUnitAdded$'](_0x24d9a0[_0x370fbf(0x219)]),this[_0x370fbf(0x49a)][_0x370fbf(0x438)](_0x24d9a0[_0x370fbf(0x42a)]))[_0x370fbf(0x552)](_0x1a5739(_0x1b29ad=>_0x1b29ad[_0x370fbf(0x47f)]()),_0x1de59c(_0x43f4e2=>!_0x3014e6(_0x43f4e2)),_0x5844ee(this[_0x370fbf(0x4eb)]))['subscribe'](_0x3948cd=>{_0x31880c(_0x3948cd);});}};$t=Xc([Qe(0x0,_0x231990(_0x1d3c8c)),Qe(0x1,_0x186a82),Qe(0x2,_0x286710),Qe(0x3,_0x231990(Me)),Qe(0x4,_0x231990(_0x3097b7))],$t);var Jc=Object[_0x421733(0x1c6)],Zc=Object[_0x421733(0x2e2)],Qc=(_0x24eb2f,_0x3ea1cc,_0x10c8ca,_0x53d074)=>{const _0x26e914=_0x421733;for(var _0x2ec9e8=_0x53d074>0x1?void 0x0:_0x53d074?Zc(_0x3ea1cc,_0x10c8ca):_0x3ea1cc,_0x2610a6=_0x24eb2f[_0x26e914(0x4b1)]-0x1,_0x4953a4;_0x2610a6>=0x0;_0x2610a6--)(_0x4953a4=_0x24eb2f[_0x2610a6])&&(_0x2ec9e8=(_0x53d074?_0x4953a4(_0x3ea1cc,_0x10c8ca,_0x2ec9e8):_0x4953a4(_0x2ec9e8))||_0x2ec9e8);return _0x53d074&&_0x2ec9e8&&Jc(_0x3ea1cc,_0x10c8ca,_0x2ec9e8),_0x2ec9e8;},Ci=(_0x407df5,_0x3a8af9)=>(_0x131173,_0x3da0e9)=>_0x3a8af9(_0x131173,_0x3da0e9,_0x407df5);let gs=class{constructor(_0x52247c,_0x14f16c){const _0x4b4847=_0x421733;this[_0x4b4847(0x254)]=_0x52247c,this['_httpService']=_0x14f16c;}async[_0x421733(0x25e)](_0x413cf0,_0x41faf1){const _0x842aae=_0x421733;var _0x5b9b82;const {unitID:_0x12c88e,type:_0x57620c,revision:_0x521e74=0x0}=_0x41faf1,_0x7f211=this[_0x842aae(0x208)]()+'/'+_0x57620c+_0x842aae(0x4a8)+_0x12c88e+_0x842aae(0x1a6)+_0x521e74,_0x1bb6d3=(await this[_0x842aae(0x379)][_0x842aae(0x37c)](_0x7f211))['body'],_0x33977c=(_0x5b9b82=_0x1bb6d3[_0x842aae(0x4f9)])==null?void 0x0:_0x5b9b82[_0x842aae(0x3f8)];if(_0x33977c){const _0x25d731=_0x33977c==null?void 0x0:_0x33977c[_0x842aae(0x1e9)],_0x1c3239=_0x41d831[_0x842aae(0x192)](_0x170276(_0x25d731));_0x33977c[_0x842aae(0x1e9)]=_0x1c3239,Object[_0x842aae(0x220)](_0x33977c['sheets'])[_0x842aae(0x2d2)](([,_0x13e69e])=>{const _0x445a3c=_0x842aae,_0x4e0d2b=_0x13e69e['originalMeta'],_0x37d4ea=_0x41d831[_0x445a3c(0x192)](_0x170276(_0x4e0d2b));_0x13e69e[_0x445a3c(0x1e9)]=_0x37d4ea;});}return _0x1bb6d3;}async[_0x421733(0x517)](_0x485ed5,_0x50f9fe){const _0x2432e7=_0x421733,{unitID:_0x3704ec,type:_0x3e41f0,blockID:_0x2f2fcd}=_0x50f9fe,_0x210172=this[_0x2432e7(0x1da)]()+'/'+_0x3e41f0+_0x2432e7(0x4a8)+_0x3704ec+'/block/'+_0x2f2fcd;return(await this[_0x2432e7(0x379)][_0x2432e7(0x37c)](_0x210172))[_0x2432e7(0x23d)];}async[_0x421733(0x532)](_0x4bd937,_0x10680f){const _0x4c4157=_0x421733,{unitID:_0x2f2764,type:_0x54204f,blockID:_0x5f44d9}=_0x10680f,_0x567775=this[_0x4c4157(0x1da)]()+'/block/'+_0x54204f+'/unit/'+_0x2f2764+_0x4c4157(0x51b)+_0x5f44d9;return(await this[_0x4c4157(0x379)][_0x4c4157(0x37c)](_0x567775))[_0x4c4157(0x23d)];}async[_0x421733(0x1d9)](_0x12448b,_0x127d26){const _0x383266=_0x421733,{unitID:_0x28c36f,type:_0x37b37f,from:_0x1116e8,to:_0x5df5d6}=_0x127d26,_0x3d6f88=this[_0x383266(0x1da)]()+'/'+_0x37b37f+_0x383266(0x4a8)+_0x28c36f+_0x383266(0x2c6)+_0x1116e8+_0x383266(0x4f1)+_0x5df5d6;return(await this[_0x383266(0x379)][_0x383266(0x37c)](_0x3d6f88))['body'];}[_0x421733(0x208)](){const _0x5020d7=_0x421733;var _0x2c6c94;return(_0x2c6c94=this[_0x5020d7(0x254)][_0x5020d7(0x39e)](bn))!=null?_0x2c6c94:this['_getAPIPrefix']();}[_0x421733(0x1da)](){const _0x80763d=_0x421733;var _0x3e614f,_0x4dd124;const _0x1c4049=this[_0x80763d(0x254)][_0x80763d(0x39e)](Cn),_0x175a34=this[_0x80763d(0x254)][_0x80763d(0x39e)](Q);return(_0x4dd124=(_0x3e614f=_0x175a34==null?void 0x0:_0x175a34[_0x80763d(0x4ac)])!=null?_0x3e614f:_0x1c4049)!=null?_0x4dd124:En;}async[_0x421733(0x397)](_0x111014,_0x36d631){const _0x2f37f5=_0x421733,_0x2a3a43=_0x2f37f5(0x4cf)+_0x36d631[_0x2f37f5(0x4c2)]+_0x2f37f5(0x4a8)+_0x36d631[_0x2f37f5(0x4f8)]+_0x2f37f5(0x3e1);return(await this['_httpService'][_0x2f37f5(0x37c)](_0x2a3a43,{'params':{'resourceId':JSON[_0x2f37f5(0x2b7)](_0x36d631['resourceIDs'])}}))[_0x2f37f5(0x23d)];}['saveSnapshot'](){const _0x47fb18=_0x421733;throw new Error(_0x47fb18(0x29b));}[_0x421733(0x226)](){const _0x11c245=_0x421733;throw new Error(_0x11c245(0x29b));}[_0x421733(0x296)](){const _0x41f5c0=_0x421733;throw new Error(_0x41f5c0(0x29b));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x421733(0x22d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};gs=Qc([Ci(0x0,_0x2cfa70),Ci(0x1,_0x231990(_0xee3f76))],gs);var eh=Object[_0x421733(0x1c6)],th=Object[_0x421733(0x2e2)],sh=(_0x2874b1,_0x4e0bd8,_0x5f018b,_0x19ffc1)=>{const _0x2d4198=_0x421733;for(var _0x45c80d=_0x19ffc1>0x1?void 0x0:_0x19ffc1?th(_0x4e0bd8,_0x5f018b):_0x4e0bd8,_0x49591b=_0x2874b1[_0x2d4198(0x4b1)]-0x1,_0x2a9df6;_0x49591b>=0x0;_0x49591b--)(_0x2a9df6=_0x2874b1[_0x49591b])&&(_0x45c80d=(_0x19ffc1?_0x2a9df6(_0x4e0bd8,_0x5f018b,_0x45c80d):_0x2a9df6(_0x45c80d))||_0x45c80d);return _0x19ffc1&&_0x45c80d&&eh(_0x4e0bd8,_0x5f018b,_0x45c80d),_0x45c80d;},et=(_0x3aa4ca,_0x391d7f)=>(_0x9d8ae7,_0x1b8a82)=>_0x391d7f(_0x9d8ae7,_0x1b8a82,_0x3aa4ca);let Ss=class extends _0x4d7d9b{constructor(_0x45fe93,_0x13ddf4,_0x51c11a,_0x1cbb35,_0x12f024){const _0x5abdd1=_0x421733;super(_0x45fe93,_0x13ddf4,_0x51c11a),this[_0x5abdd1(0x579)]=_0x1cbb35,this[_0x5abdd1(0x3b4)]=_0x12f024;}['transformUndoRedo'](_0x257bd1,_0x19811c){const _0x292e0f=_0x421733,_0x5b3bd4=this[_0x292e0f(0x48b)](_0x257bd1);if(_0x5b3bd4)try{const _0x175ba8=this[_0x292e0f(0x3e3)](_0x5b3bd4,_0x19811c);this['_substituteUndoStack'](_0x257bd1,_0x175ba8);}catch(_0x45da52){this[_0x292e0f(0x3b4)][_0x292e0f(0x3ff)](_0x292e0f(0x466),_0x45da52),this[_0x292e0f(0x18b)](_0x257bd1);}const _0x46d80b=this[_0x292e0f(0x36e)](_0x257bd1);if(_0x46d80b)try{const _0x4adea7=this['_transformStack'](_0x46d80b,_0x19811c);this[_0x292e0f(0x2ae)](_0x257bd1,_0x4adea7);}catch(_0x3d7c31){this['_logService']['error'](_0x3d7c31),this[_0x292e0f(0x1e7)](_0x257bd1);}}[_0x421733(0x18b)](_0x15acd5){const _0x146e4b=_0x421733,_0x781e32=this['_getUndoStack'](_0x15acd5);_0x781e32&&(_0x781e32[_0x146e4b(0x4b1)]=0x0,this[_0x146e4b(0x463)]());}[_0x421733(0x1e7)](_0x5ddec1){const _0x1567be=_0x421733,_0x34a09f=this[_0x1567be(0x36e)](_0x5ddec1);_0x34a09f&&(_0x34a09f[_0x1567be(0x4b1)]=0x0,this[_0x1567be(0x463)]());}['_substituteUndoStack'](_0xcd81f4,_0x3b7955){const _0x2428a1=_0x421733;this['_undoStacks'][_0x2428a1(0x228)](_0xcd81f4,_0x3b7955),this[_0x2428a1(0x463)]();}[_0x421733(0x2ae)](_0x2fbbc5,_0x535495){const _0x37da05=_0x421733;this[_0x37da05(0x377)][_0x37da05(0x228)](_0x2fbbc5,_0x535495),this[_0x37da05(0x463)]();}[_0x421733(0x3e3)](_0x1f35b8,_0x1e09f9){const _0x20295c=_0x421733,_0x3da52e=[];let _0x5b92d1=_0x1e09f9,_0x385859=_0x1e09f9;for(let _0x58a565=_0x1f35b8[_0x20295c(0x4b1)]-0x1;_0x58a565>=0x0;_0x58a565--){const {unitID:_0x29e45c,undoMutations:_0x32a4f3,redoMutations:_0x39cf9e}=_0x1f35b8[_0x58a565],_0xaece99=this[_0x20295c(0x579)][_0x20295c(0x45f)](_0x5b92d1,_0x32a4f3),_0xed2379=this[_0x20295c(0x579)][_0x20295c(0x45f)](_0x385859,_0x39cf9e);if(_0x524e13(_0xaece99)||_0x524e13(_0xed2379)){this[_0x20295c(0x3b4)]['error'](_0x20295c(0x466),'transformStack\x20failed!',_0xaece99,_0xed2379);break;}_0x5b92d1=_0xaece99[_0x20295c(0x16d)],_0x385859=_0xed2379[_0x20295c(0x16d)],_0x3da52e['push']({'unitID':_0x29e45c,'undoMutations':_0xaece99[_0x20295c(0x4e7)],'redoMutations':_0xed2379[_0x20295c(0x4e7)]});}return _0x3da52e[_0x20295c(0x4e8)]();}};Ss=sh([et(0x0,_0x186a82),et(0x1,_0x5af619),et(0x2,_0x5acaaa),et(0x3,_0x2b2256),et(0x4,_0x257353)],Ss);class ih extends _0x33a3aa{constructor(){const _0x158891=_0x421733;super(),g(this,'urlChange$'),this[_0x158891(0x30f)]=_0x2e9bd0(window,'popstate')['pipe'](_0x2c50c2(this[_0x158891(0x4eb)]),_0x2d3cb2(0x1),_0x188d89(void 0x0));}[_0x421733(0x472)](_0x26e4dd,_0xbb1580,_0x388202=!0x1){const _0x117d24=_0x421733,_0x294d66=new URL(window[_0x117d24(0x4b8)]['href']);_0x294d66[_0x117d24(0x546)]['set'](_0x26e4dd,_0xbb1580),_0x388202?window['history'][_0x117d24(0x2a6)]('','',_0x294d66[_0x117d24(0x353)]()):window[_0x117d24(0x21f)][_0x117d24(0x48c)]('','',_0x294d66[_0x117d24(0x353)]());}[_0x421733(0x524)](_0x271385,_0x3703d6=!0x1){const _0x4b36cd=_0x421733,_0x3eb37a=new URL(window[_0x4b36cd(0x4b8)]['href']);_0x3eb37a[_0x4b36cd(0x546)][_0x4b36cd(0x2d8)](_0x271385),_0x3703d6?window[_0x4b36cd(0x21f)][_0x4b36cd(0x2a6)]('','',_0x3eb37a[_0x4b36cd(0x353)]()):window[_0x4b36cd(0x21f)][_0x4b36cd(0x48c)]('','',_0x3eb37a[_0x4b36cd(0x353)]());}[_0x421733(0x2e9)](_0x54d442){const _0x1e3f7b=_0x421733;var _0x1203c2;return(_0x1203c2=new URL(window[_0x1e3f7b(0x4b8)][_0x1e3f7b(0x2d1)])['searchParams']['get'](_0x54d442))!=null?_0x1203c2:void 0x0;}}var or=Object['defineProperty'],rh=Object[_0x421733(0x2e2)],nh=(_0x2db55f,_0x212902,_0x119cce)=>_0x212902 in _0x2db55f?or(_0x2db55f,_0x212902,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x119cce}):_0x2db55f[_0x212902]=_0x119cce,oh=(_0x12e302,_0x2777be,_0xbcd5a7,_0x2eab57)=>{const _0x4a6a70=_0x421733;for(var _0x9f9ce5=_0x2eab57>0x1?void 0x0:_0x2eab57?rh(_0x2777be,_0xbcd5a7):_0x2777be,_0x46497a=_0x12e302[_0x4a6a70(0x4b1)]-0x1,_0xcbc01d;_0x46497a>=0x0;_0x46497a--)(_0xcbc01d=_0x12e302[_0x46497a])&&(_0x9f9ce5=(_0x2eab57?_0xcbc01d(_0x2777be,_0xbcd5a7,_0x9f9ce5):_0xcbc01d(_0x9f9ce5))||_0x9f9ce5);return _0x2eab57&&_0x9f9ce5&&or(_0x2777be,_0xbcd5a7,_0x9f9ce5),_0x9f9ce5;},lt=(_0x158934,_0x56530c)=>(_0x5e550a,_0x56d818)=>_0x56530c(_0x5e550a,_0x56d818,_0x158934),ah=(_0x577fa3,_0xd805a6,_0x2a926b)=>nh(_0x577fa3,_0xd805a6+'',_0x2a926b);const ch=_0x421733(0x538);let Is=class extends _0x2887ef{constructor(_0x3fe16f=jn,_0x1c3441,_0x1dc646,_0x441711,_0x2d67b2){const _0x21f4a0=_0x421733;super(),this[_0x21f4a0(0x457)]=_0x3fe16f,this[_0x21f4a0(0x3b4)]=_0x1c3441,this[_0x21f4a0(0x370)]=_0x1dc646,this[_0x21f4a0(0x30b)]=_0x441711,this[_0x21f4a0(0x254)]=_0x2d67b2;const {..._0x160fa8}=this[_0x21f4a0(0x457)];this[_0x21f4a0(0x254)][_0x21f4a0(0x3a4)](Q,_0x160fa8);}[_0x421733(0x24e)](){const _0x1a90dd=_0x421733;this[_0x1a90dd(0x3e6)](),this['_initDependencies']();}['onReady'](){const _0x1f6f95=_0x421733;_0x52d868(this[_0x1f6f95(0x30b)],[[Mt],[Ut]]);}[_0x421733(0x16e)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x3dd014=_0x421733;var _0x3c8140,_0x3e40af,_0x5a8643,_0x2f1efd;this['_injector'][_0x3dd014(0x247)](_0x306efe)&&this[_0x3dd014(0x3b4)][_0x3dd014(0x3ff)](_0x3dd014(0x492),_0x3dd014(0x570));const _0x773ed6=[[_0x306efe,{'useClass':Ss}],[Me],[Us],[tr,{'useClass':ih}],[Ae],[z],[_0x1034eb],[yt],[Dt],[Ot],[wt],[Ds],[xt],[Lt],[Gi],[$t],[Vi,{'useClass':(_0x3e40af=(_0x3c8140=this[_0x3dd014(0x457)])==null?void 0x0:_0x3c8140[_0x3dd014(0x48e)])!=null?_0x3e40af:as}],[_0x48d837,{'useClass':gs}],[_0x469926,{'useClass':vs}],[_0x2982a0,{'useClass':ps}],[_0x215c5d,{'useClass':ms}],[it],[At],[Nt],[Mt],[Fe],[Ut]];(_0x5a8643=this[_0x3dd014(0x457)])!=null&&_0x5a8643[_0x3dd014(0x547)]&&_0x773ed6['push']([Ht,{'useClass':Io}]),_0x42bfca(this[_0x3dd014(0x30b)],_0x59e272(_0x773ed6,(_0x2f1efd=this[_0x3dd014(0x457)])==null?void 0x0:_0x2f1efd[_0x3dd014(0x1c7)]));}['_registerRenderDependencies'](){const _0x123bd8=_0x421733;this[_0x123bd8(0x40e)](this[_0x123bd8(0x370)][_0x123bd8(0x55c)](_0x24d9a0[_0x123bd8(0x42a)],[ds])),this[_0x123bd8(0x40e)](this[_0x123bd8(0x370)][_0x123bd8(0x55c)](_0x24d9a0[_0x123bd8(0x219)],[fs]));}[_0x421733(0x2ca)](){const _0x3e52d9=_0x421733;var _0x2d9d2a,_0x3eca0a;this[_0x3e52d9(0x30b)][_0x3e52d9(0x37c)](_0xee3f76)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2fa129({'maxParallel':0x6})}),(_0x2d9d2a=this['_config'])!=null&&_0x2d9d2a[_0x3e52d9(0x500)]||this['_injector'][_0x3e52d9(0x37c)](z)[_0x3e52d9(0x333)](),(_0x3eca0a=this[_0x3e52d9(0x457)])!=null&&_0x3eca0a[_0x3e52d9(0x182)]&&_0x52d868(this[_0x3e52d9(0x30b)],[[xt]]),_0x52d868(this[_0x3e52d9(0x30b)],[[Lt],[Fe],[At],[it],[Nt],[$t]]);}};ah(Is,_0x421733(0x1c2),ch),Is=oh([_0x4cb61a(_0x2dc4f0,_0xbcad3e),lt(0x1,_0x257353),lt(0x2,_0x5d57fe),lt(0x3,_0x231990(_0x1d3c8c)),lt(0x4,_0x2cfa70)],Is);export{sr as AUTHZ_URL_KEY,vs as AuthzIoHttpService,Q as COLLAB_CLIENT_CONFIG_KEY,xn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,Pt as CollaborationEntity,cs as CollaborationSession,Me as CollaborationSessionService,as as CollaborationSocketService,J as CollaborationStatus,Ma as CollaborationStatusDisplay,Gi as CommentService,At as DataLoaderController,Nt as DesktopCollaborationStatusDisplayController,hs as DocCollaborationEntity,wn as HEARTBEAT_INTERVAL_KEY,Bi as HEARTBEAT_TIMEOUT_KEY,Vi as ICollaborationSocketService,tr as IURLService,ps as ImageIoService,An as LOCAL_CACHE_INTERVAL_KEY,$n as LOGIN_URL_KEY,z as LocalCacheService,Ae as MemberService,ms as MentionIoHttpService,Un as RETRY_CONNECTING_MAX_COUNT_KEY,yh as SEND_CHANGESET_TIMEOUT_KEY,Cn as SNAPSHOT_SERVER_URL_KEY,bn as SNAPSHOT_URL_KEY,fe as SessionStatus,da as SheetCollabCursorShape,ls as SheetCollaborationEntity,gs as SnapshotServerOverHTTPService,Is as UniverCollaborationClientPlugin,ih as WebURLService,Bn as deserializeToCombResponse,kn as serializeCombRequest};